@supersoniks/concorde 1.1.36 → 1.1.38

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.
@@ -87,12 +87,12 @@ const st=t=>e=>{return"function"==typeof e?(r=t,s=e,window.customElements.define
87
87
  * @license
88
88
  * Copyright 2018 Google LLC
89
89
  * SPDX-License-Identifier: BSD-3-Clause
90
- */,Te=Zt(class extends Yt{constructor(t){var e;if(super(t),t.type!==Kt||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ct){this.ct=new Set;for(const t in e)this.ct.add(t);return this.render(e)}this.ct.forEach((t=>{null==e[t]&&(this.ct.delete(t),t.includes("-")?r.removeProperty(t):r[t]="")}));for(const s in e){const t=e[s];null!=t&&(this.ct.add(s),s.includes("-")?r.setProperty(s,t):r[s]=t)}return M}}),Re=n`.custom-scroll{overflow:auto!important}.custom-scroll::-webkit-scrollbar{width:.5rem;height:.5rem;border:solid .15rem transparent;border-radius:var(--sc-rounded);background:0 0}.custom-scroll::-webkit-scrollbar-thumb{box-shadow:inset 0 0 2rem 2rem var(--sc-scrollbar-bg);border-radius:var(--sc-rounded);border:solid .15rem transparent}`;var Ve=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,Be=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Ue(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Ve(e,r,i),i};const qe={warning:"warning-circled-outline",success:"check-circled-outline",error:"warning-circled-outline",info:"info-empty"};let He=class extends et{constructor(){super(...arguments),this.title="",this.id="",this.text="",this.status="",this.ghost=!1,this.preserve=!1,this.dismissForever=!1,this.maxHeight="10rem",this.visible=!0}render(){if(this.dismissForever){const t=localStorage.getItem("sonic-toast-dismissed")||"{}";if(JSON.parse(t)[this.id])return N}return this.visible?L`<div class="sonic-toast ${this.status} ${this.ghost?"ghost":""}"><button aria-label="Close" class="sonic-toast-close" @click="${()=>this.hide()}"><sonic-icon name="cancel" size="lg"></sonic-icon></button><div class="sonic-toast-content custom-scroll" style="max-height:${this.maxHeight}">${this.status&&L`<sonic-icon name="${qe[this.status]}" class="sonic-toast-icon" size="2xl"></sonic-icon>`}<div class="sonic-toast-text">${this.title?L`<div class="sonic-toast-title">${this.title}</div>`:""} ${this.text?$e(this.text):""}<slot></slot></div>${this.preserve?"":this.autoHide()}</div></div>`:N}hide(){if(this.closest("sonic-toast")||(this.visible=!1),this.dismissForever){const t=localStorage.getItem("sonic-toast-dismissed")||"{}",e=JSON.parse(t);e[this.id]=!0,localStorage.setItem("sonic-toast-dismissed",JSON.stringify(e))}this.dispatchEvent(new CustomEvent("hide",{bubbles:!0}))}show(){this.visible=!0}autoHide(){setTimeout((()=>{this.hide()}),4200)}};He.styles=[Re,n`*{box-sizing:border-box}:host{display:block;pointer-events:auto;position:relative;--sc-toast-status-color:transparent;--sc-toast-color:var(--sc-base-content);--sc-toast-bg:var(--sc-base);--sc-toast-rounded:var(--sc-rounded-md);--sc-toast-shadow:var(--sc-shadow-lg)}.fixed-area{position:fixed;bottom:1.25rem;right:1.25rem;z-index:999;display:flex;flex-direction:column-reverse}.sonic-toast{position:relative;pointer-events:auto;overflow:hidden;line-height:1.25;color:var(--sc-toast-color);box-shadow:var(--sc-toast-shadow);border-radius:var(--sc-toast-rounded);background:var(--sc-toast-bg)}.sonic-toast-content{padding:1em 2.5rem 1em 1em;display:flex;gap:.5rem;overflow:auto;position:relative}.sonic-toast-text{align-self:center;margin-top:auto;margin-bottom:auto;max-width:70ch;line-height:1.2}.sonic-toast-text a,::slotted(a:not(.btn)){color:inherit!important;text-decoration:underline!important;text-underline-offset:.15rem}.sonic-toast-text :is(p, ul, ol, hr, h1, h2, h3, h4, h5, h6),::slotted(:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6)){margin:0 0 .3em!important}.sonic-toast-text li,::slotted(li){margin-bottom:.15em!important}.sonic-toast-text>:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6):last-child,::slotted(:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6):last-child){margin-bottom:0!important}.sonic-toast-close{all:unset;position:absolute;z-index:4;pointer-events:initial;right:.5em;top:.5em;width:1.5rem;height:1.5rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;text-align:center;opacity:.5;background:rgba(0,0,0,0)}.sonic-toast-close:focus,.sonic-toast-close:hover{opacity:1;background:rgba(0,0,0,.075)}.sonic-toast-close svg{width:1rem;height:1rem;object-fit:contain;object-position:center center}.sonic-toast-title{font-weight:700;font-size:1.15rem;margin:.15em 0 .25em;line-height:1.2}.success{--sc-toast-status-color:var(--sc-success);--sc-toast-title-color:var(--sc-toast-status-color)}.error{--sc-toast-status-color:var(--sc-danger);--sc-toast-title-color:var(--sc-toast-status-color)}.warning{--sc-toast-status-color:var(--sc-warning);--sc-toast-title-color:var(--sc-toast-status-color)}.info{--sc-toast-status-color:var(--sc-info);--sc-toast-title-color:var(--sc-toast-status-color)}.error,.info,.success,.warning{border-top:3px solid var(--sc-toast-status-color,currentColor)}.sonic-toast:before{content:"";display:block;position:absolute;left:0;top:0;right:0;bottom:0;opacity:.05;pointer-events:none;transition:.2s;border-radius:var(--sc-toast-rounded);background-color:var(--sc-toast-status-color)}.sonic-toast:hover:before{opacity:.025}.error .sonic-toast-icon,.info .sonic-toast-icon,.success .sonic-toast-icon,.warning .sonic-toast-icon{color:var(--sc-toast-status-color,currentColor)}.sonic-toast-icon{position:sticky;top:0}.ghost{opacity:.85;pointer-events:none}`],Be([it({type:String})],He.prototype,"title",2),Be([it({type:String})],He.prototype,"id",2),Be([it({type:String})],He.prototype,"text",2),Be([it({type:String})],He.prototype,"status",2),Be([it({type:Boolean})],He.prototype,"ghost",2),Be([it({type:Boolean})],He.prototype,"preserve",2),Be([it({type:Boolean})],He.prototype,"dismissForever",2),Be([it({type:String})],He.prototype,"maxHeight",2),Be([nt()],He.prototype,"visible",2),He=Be([st("sonic-toast-item")],He);var Ke=Object.defineProperty,We=Object.getOwnPropertyDescriptor,Ze=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?We(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Ke(e,r,i),i};let Ye=class extends et{constructor(){super(...arguments),this.toasts=[]}createRenderRoot(){return this}render(){const t=!(window.parent==window);let e={pointerEvents:"none",gap:"1rem",display:"flex",margin:"1rem"};return t||(e=__spreadProps(__spreadValues({},e),{margin:"0",width:"calc(100% - 2.5rem)",position:"fixed",bottom:"1.25rem",right:"1.25rem",zIndex:"999",maxWidth:"64ch",flexDirection:"column-reverse"})),this.toasts?L`<div aria-live="polite" style="${Te(e)}">${se(this.toasts,(t=>t.id),(e=>L`<sonic-toast-item maxHeight="${t?"none":"10rem"}" status="${Ie(e.status)}" title="${Ie(e.title)}" ?ghost="${e.ghost}" ?dismissForever="${e.dismissForever}" ?preserve="${e.preserve}" id="${Ie(e.id)}" @hide="${()=>this.removeItem(e)}" ${Ae({keyframeOptions:{duration:250,easing:"cubic-bezier(0.250, 0.250, 0.420, 1.225)"},in:[{transform:"translateY(0) scale(1.25)",boxShadow:"0 0 0 rgba(0,0,0,0)",opacity:0}],out:[{transform:"scale(.90) ",opacity:0,duration:3e3,easing:"ease-in-out"}],stabilizeOut:!0})}>${e.text?$e(e.text):""}</sonic-toast-item>`))}</div>`:N}static removeAll(){let t=document.querySelector("sonic-toast");t&&(t.toasts=t.toasts.filter((t=>t.ghost)))}static add(t){var e;if(!document.querySelector("sonic-toast")){let t=document.createElement("sonic-toast");(document.querySelector("sonic-theme")||document.body).prepend(t)}let r=document.querySelector("sonic-toast");const s=null!=(e=t.id)?e:(new Date).valueOf(),o=new RegExp("</a>|</button>").test(t.text),i={id:s,text:t.text,title:t.title,status:t.status,preserve:!!o||t.preserve,ghost:t.ghost,dismissForever:t.dismissForever};if(t.dismissForever&&t.id){const e=localStorage.getItem("sonic-toast-dismissed")||"{}";if(JSON.parse(e)[t.id])return null}if(r.toasts.length>0){let t=__spreadValues({},i),e=__spreadValues({},r.toasts[r.toasts.length-1]);if(t.id=e.id=0,!i.preserve&&vt.shallowEqual(t,e))return null}return r.toasts=[...r.toasts,i],i}removeItem(t){this.toasts=this.toasts.filter((e=>e!=t))}};if(Ze([it({type:Array})],Ye.prototype,"toasts",2),Ye=Ze([st("sonic-toast")],Ye),"undefined"!=typeof window){window.SonicToast=Ye}const Qe=class{static listen(){var t;if(!Qe.listening)return;let e=null==(t=document.location)?void 0:t.href.replace(document.location.origin,"");Qe.prevURL&&Qe.prevURL!=e&&(Qe.prevURL=e,Qe.listeners.forEach((t=>{t.location=e}))),window.requestAnimationFrame(Qe.listen)}static offChange(t){let e=Qe.listeners.indexOf(t);-1!=e&&(Qe.listeners.splice(e,1),0==Qe.listeners.length&&(Qe.listening=!1))}static onChange(t){Qe.listening||(Qe.listening=!0,Qe.listen()),Qe.listeners.push(t)}static changeFromComponent(t){if(null!==t.goBack){const e=document.location.origin;let r=t.goBack||e;if(0==document.referrer.indexOf("http")&&new URL(document.referrer).origin==e||r==document.location.href)history.back();else{let t=history.state||{};t.concorde=t.concorde||{},t.concorde.hasDoneHistoryBack=!0,history.pushState(t,document.title),history.back(),document.location.replace(r)}return}let e=t.getAttribute("to");if(e||(e=t.href),!e)return;if(0==e.indexOf("#"))return void(document.location.hash=e.substring(1));let r=new URL(e,document.location.href),s=r.pathname.split("/"),o=[],i="";for(let n of s)n!=i&&o.push(n),i=n;e="/"+o.join("/")+r.search+(r.hash?+r.hash:""),t.hasAttribute("pushState")?history.pushState(null,"",e):t.hasAttribute("replaceState")?history.replaceState(null,"",e):document.location.href=e}static updateComponentActiveState(t){if("disabled"!=t.autoActive&&t.href&&0!=t.href.indexOf("http")){let e=new URL(t.href,document.location.href),r=new URL(t.location,document.location.origin),s=!1;s="strict"==t.autoActive?e.pathname==r.pathname&&e.hash==r.hash&&e.search==r.search:0==r.href.indexOf(e.href),s?t.setAttribute("active","true"):t.removeAttribute("active")}}};let Ge=Qe;Ge.listeners=[],Ge.listening=!1,Ge.prevURL=null==(t=document.location)?void 0:t.href.replace(document.location.origin,"");var Je=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,tr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Xe(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Je(e,r,i),i};const er=new Map,rr=t=>{class e extends t{constructor(...t){super(),this.touched=!1,this.error=!1,this.autofocus=!1,this.required=!1,this.forceAutoFill=!1,this.disabled=null,this.onValueAssign=null,this.onFormValueAssign=null,this.onFormDataInValidate=null,this.formDataProvider="",this._name="",this._value="",this.onValueAssign=t=>{this.setValueFromPublisher(t)},this.onFormValueAssign=t=>{this.setFormValueFromPublisher(t)},this.onFormDataInValidate=()=>{this.getFormPublisher().isFormValid.get()&&this.validateFormElement()}}get name(){return this._name}set name(t){this.hasAttribute("name")&&!this.forceAutoFill&&(t=this.getAttribute("name")),this._name=t,this.requestUpdate()}validateFormElement(){}updateDataValue(){if(this._name){let t=this.getFormPublisher();t&&(t[this._name]=this.getValueForFormPublisher(),this.setFormValueFromPublisher(t[this.name].get()))}}getFormPublisher(){return this.formDataProvider||(this.formDataProvider=this.getAncestorAttributeValue("formDataProvider")),this.formDataProvider?gt.get(this.formDataProvider):this.publisher}getValueForFormPublisher(){return this.value}setValueFromPublisher(t){this.value=t}setFormValueFromPublisher(t){this.value=t}get value(){return this._value}set value(t){vt.isObject(t)&&t.hasOwnProperty("__value")&&null==t.value||null!=t&&this._value!=t&&(this._value=t,this.updateDataValue(),this.requestUpdate())}initPublisher(){this._name&&this.publisher&&this.publisher[this._name].offAssign(this.onValueAssign);let t=this.getFormPublisher();this._name&&t&&t[this._name].offAssign(this.onFormValueAssign),super.initPublisher(),this.name||(this._name=this.getAttribute("name")),this.value||(this._value=this.getAttribute("value")),this.updateDataValue(),this.publisher&&this._name&&this.publisher[this._name].onAssign(this.onValueAssign),t=this.getFormPublisher(),this._name&&t&&(t[this._name].onAssign(this.onFormValueAssign),t.onInvalidate(this.onFormDataInValidate))}handleBlur(){this.touched=!0}handleChange(t){this.value=t.target.value;const e=new Event("change");this.dispatchEvent(e)}addKeyboardNavigation(){let t=this.getAncestorAttributeValue("data-keyboard-nav");if(!t)return;let e=t.split(" "),r=e[0];if(!r)return;for(let o of e){er.has(o)||er.set(o,[]);let t=er.get(o);-1==t.indexOf(this)&&t.push(this)}let s=er.get(r);this.addEventListener("keydown",(t=>{if(!["ArrowDown","ArrowUp"].includes(t.key))return;let e="input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])",r=s.filter((t=>{let r=t.shadowRoot.querySelector(e);if(!r)return!1;let s=window.getComputedStyle(r);return"none"!==s.display&&""!==s.display&&"none"!=s.pointerEvents&&"hidden"!==s.visibility&&r.getBoundingClientRect().width>0})),o=null;if("ArrowDown"==t.key){let t=r.indexOf(this);o=t==r.length-1?r[0]:r[t+1]}else if("ArrowUp"==t.key){let t=r.indexOf(this);o=0==t?r[r.length-1]:r[t-1]}let i=o.shadowRoot.querySelector(e);i&&(i.focus(),t.preventDefault())}))}connectedCallback(){super.connectedCallback(),this.addKeyboardNavigation()}disconnectedCallback(){super.disconnectedCallback(),this._name&&this.publisher&&this.publisher[this._name].offAssign(this.onValueAssign);let t=this.getFormPublisher();this._name&&t&&(t[this._name].offAssign(this.onFormValueAssign),t.offInvalidate(this.onFormDataInValidate))}}return tr([it({type:Boolean,reflect:!0})],e.prototype,"touched",2),tr([it({type:Boolean})],e.prototype,"error",2),tr([it({type:Boolean})],e.prototype,"autofocus",2),tr([it({type:Boolean})],e.prototype,"required",2),tr([it()],e.prototype,"forceAutoFill",2),tr([it({type:Boolean})],e.prototype,"disabled",2),tr([it()],e.prototype,"name",1),tr([it()],e.prototype,"value",1),e};var sr=Object.defineProperty,or=Object.getOwnPropertyDescriptor,ir=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?or(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&sr(e,r,i),i};const nr=t=>{class e extends t{constructor(){super(...arguments),this._value="",this.forceAutoFill=!1,this.unique=null,this.radio=null,this._checked=null}get value(){return this._value}set value(t){console.log(t),this.hasAttribute("value")&&!this.forceAutoFill&&(t=this.getAttribute("value")),this._value!=t&&(this._value=t,this.updateDataValue(),this.requestUpdate())}get checked(){return this._checked}set checked(t){this.setCheckedValue(t)}validateFormElement(){var t;const e=null==(t=this.shadowRoot)?void 0:t.querySelector("input");if(!e||e.checkValidity())return;let r=this.getFormPublisher()[this.name].get();(this.unique||this.radio)&&null!==r&&r.toString().length>0||(this.getFormPublisher().isFormValid=!1,e.reportValidity())}setCheckedValue(t){this._checked!=t&&(this._checked=t,this.updateDataValue(),this.requestUpdate(),!this.publisher||this.radio||this.unique||(this.publisher.checked=this._checked))}handleChange(){this.checked=!this.checked||(!!this.radio||null);const t=new Event("change");this.dispatchEvent(t)}getValueForFormPublisher(){let t=this.getFormPublisher()[this.name].get();if(this.radio)return this.checked&&null!=this.value?this.value:t;if(this.unique)return this.checked&&null!=this.value?this.value:null;Array.isArray(t)||(t=[]),t=t.slice(0);let e=t.indexOf(this.value);return!0===this.checked&&-1===e&&t.push(this.value),null===this.checked&&-1!==e&&t.splice(e,1),t}setFormValueFromPublisher(t){this.unique||this.radio?this.checked=this.value==t||null:(Array.isArray(t)||(t=[]),this.checked=-1!==t.indexOf(this.value)||null)}initPublisher(){super.initPublisher(),this.hasAttribute("checked")&&(this.publisher&&!1===this.publisher.get().checked||(this.checked=!0))}}return ir([it()],e.prototype,"value",1),ir([it()],e.prototype,"forceAutoFill",2),ir([it({type:Boolean})],e.prototype,"unique",2),ir([it({type:Boolean})],e.prototype,"radio",2),ir([it()],e.prototype,"checked",1),e},ar=n`:host{--sc-fs:1rem;font-size:var(--sc-fs)}:host([size="2xs"]){--sc-fs:0.68rem}:host([size=xs]){--sc-fs:0.75rem}:host([size=sm]){--sc-fs:0.875rem}:host([size=lg]){--sc-fs:1.125rem}:host([size=xl]){--sc-fs:1.25rem}:host([size="2xl"]){--sc-fs:1.5rem}`;var lr=Object.defineProperty,cr=Object.getOwnPropertyDescriptor,hr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?cr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&lr(e,r,i),i};const dr="sonic-button";let pr=class extends(nr(rr(Et(et)))){constructor(){super(...arguments),this.type="default",this.variant="default",this.shape="default",this.direction="row",this.alignItems="center",this.justify="center",this.minWidth="0",this.icon=!1,this.autoActive="partial",this.loading=!1,this.hasPrefix=!1,this.hasSuffix=!1,this._href="",this.goBack=null,this.pushState=!1,this.active=!1,this._location=""}set href(t){this._href=t,this.href&&0!=this.href.indexOf("http")?(Ge.onChange(this),this.location=document.location.href.replace(document.location.origin,"")):Ge.offChange(this),this.requestUpdate()}get href(){return this._href}handleNavigation(t){t.preventDefault(),Ge.changeFromComponent(this)}handleChange(t){super.handleChange(t),(this.pushState||null!==this.goBack)&&(t.preventDefault(),t.stopPropagation(),Ge.changeFromComponent(this))}connectedCallback(){super.connectedCallback()}setCheckedValue(t){if(this.name){if(t==this._checked)return;super.setCheckedValue(t),this._checked?this.setAttribute("active","true"):this.removeAttribute("active")}}disconnectedCallback(){Ge.offChange(this),super.disconnectedCallback()}get location(){return this._location}set location(t){this._location=t,Ge.updateComponentActiveState(this)}render(){const t={flexDirection:this.direction,alignItems:this.alignItems,justifyContent:this.justify,textAlign:this.align,minWidth:this.minWidth},e=L`<button part="button" class="${this.hasPrefix||this.hasSuffix?"has-prefix-or-suffix":""}" style="${Te(t)}" @click="${this.handleChange}"><slot @slotchange="${this.onSlotChange}" part="prefix" name="prefix"></slot><slot part="main" class="main-slot"></slot><slot @slotchange="${this.onSlotChange}" part="suffix" name="suffix"></slot>${1==this.loading?L`<sonic-icon name="loader" class="loader"></sonic-icon>`:""}</button>`;return this.href?L`<a href="${this.href}" target="${Ie(this.target)}" @click="${this.pushState||null!==this.goBack?this.handleNavigation:null}">${e}</a>`:L`${e}`}onSlotChange(){var t,e;this.hasPrefix=!!(null==(t=this.prefixes)?void 0:t.length),this.hasSuffix=!!(null==(e=this.suffixes)?void 0:e.length)}};pr.styles=[ar,n`*{box-sizing:border-box}:host{--sc-btn-gap:0.35em;--sc-btn-py:0.25em;--sc-btn-px:1.1em;--sc-btn-fs:var(--sc-fs, 1rem);--sc-btn-fw:var(--sc-btn-font-weight);--sc-btn-ff:var(--sc-btn-font-family);--sc-btn-height:var(--sc-form-height);--sc-btn-color:var(--sc-base-content);--sc-btn-bg:var(--sc-base-100);--sc-btn-border-style:solid;--sc-btn-border-with:var(--sc-form-border-width);--sc-btn-border-color:transparent;--sc-btn-outline-bg-hover:var(--sc-base-100);--sc-btn-ghost-bg-hover:var(--sc-base-100);--sc-btn-active-color:var(--sc-base);--sc-btn-hover-filter:brightness(0.98);--sc-btn-active-filter:brightness(0.97);--sc-btn-active-bg:var(--sc-base-content);--sc-item-rounded-tr:var(--sc-btn-rounded);--sc-item-rounded-tl:var(--sc-btn-rounded);--sc-item-rounded-bl:var(--sc-btn-rounded);--sc-item-rounded-br:var(--sc-btn-rounded);display:inline-flex;vertical-align:middle;box-sizing:border-box}:host a{display:contents;color:unset}:host button{display:flex;flex:1;box-sizing:border-box;align-items:center;justify-content:center;font-family:var(--sc-btn-ff);font-weight:var(--sc-btn-fw);font-size:var(--sc-btn-fs);cursor:pointer;text-align:center;line-height:1.1;border-radius:var(--sc-item-rounded-tl) var(--sc-item-rounded-tr) var(--sc-item-rounded-br) var(--sc-item-rounded-bl);background:var(--sc-btn-bg);color:var(--sc-btn-color);padding-top:var(--sc-btn-py);padding-bottom:var(--sc-btn-py);padding-left:var(--sc-btn-px);padding-right:var(--sc-btn-px);border:var(--sc-btn-border-with) var(--sc-btn-border-style) var(--sc-btn-border-color);min-height:var(--sc-btn-height)}:host button.has-prefix-or-suffix{gap:var(--sc-btn-gap)}:host button:focus,:host button:hover{filter:var(--sc-btn-hover-filter)}:host button:active{filter:var(--sc-btn-active-filter)}:host([type=default]) button{--sc-btn-color:var(--sc-base-content);--sc-btn-bg:var(--sc-base-100)}:host([type=primary]) button{--sc-btn-color:var(--sc-primary-content);--sc-btn-bg:var(--sc-primary)}:host([type=warning]) button{--sc-btn-color:var(--sc-warning-content);--sc-btn-bg:var(--sc-warning)}:host([type=danger]) button{--sc-btn-color:var(--sc-danger-content);--sc-btn-bg:var(--sc-danger)}:host([type=info]) button{--sc-btn-color:var(--sc-info-content);--sc-btn-bg:var(--sc-info)}:host([type=success]) button{--sc-btn-color:var(--sc-success-content);--sc-btn-bg:var(--sc-success)}:host([type=neutral]) button{--sc-btn-color:var(--sc-base);--sc-btn-bg:var(--sc-base-600)}:host([variant=unstyled]),:host([variant=unstyled]) button{all:unset;display:contents;transition:.1s;cursor:pointer;--sc-btn-height:auto;--sc-btn-width:auto}:host(:not([disabled])) button:focus{box-shadow:0 0 0 .18rem var(--sc-base-300);border-color:var(--sc-base-300)!important;outline:0}:host([variant=ghost][type]) button{color:var(--sc-btn-bg);background:0 0}:host([variant=ghost][type=default]) button{color:var(--sc-btn-color);background:0 0}:host([variant=ghost]) button:hover{background:var(--sc-btn-ghost-bg-hover);filter:none}:host([active][variant=ghost]) button{background:var(--sc-btn-ghost-bg-hover);filter:none}:host([active][variant=ghost]) button:hover{filter:var(--sc-btn-hover-filter)}:host([variant=outline][type]) button{border-color:var(--sc-btn-bg);color:var(--sc-btn-bg);background:0 0}:host([variant=outline][type=default]) button{border-color:var(--sc-base-400);color:var(--sc-base-500);background:0 0}:host([variant=outline]) button:hover{background:var(--sc-btn-outline-bg-hover)}:host([variant=link]:not([size])){vertical-align:baseline;margin-left:.25em;margin-right:.25em}:host([variant=link]:not([size])){font-size:inherit}:host([variant=link]) button{text-decoration:underline;padding:0;background:0 0;border:none;font-size:inherit;min-height:0;color:inherit}:host([variant=link][type]) button{color:var(--sc-btn-bg)}:host([variant=link][type=default]) button{color:inherit}:host([variant=link]) button:focus,:host([variant=link]) button:hover{text-decoration:none}:host([shape=circle]) button{border-radius:50%}:host([shape=circle]) button,:host([shape=square]) button{width:var(--sc-btn-height);height:var(--sc-btn-height);overflow:hidden;padding:0;align-items:center;justify-content:0;text-align:center!important}:host([shape=block]),:host([shape=block]) button{width:100%}:host([disabled]){opacity:.3;pointer-events:none;user-select:none}:host([active]:not([variant=ghost])) button{background:var(--sc-btn-active-bg);color:var(--sc-btn-active-color);border-color:var(--sc-btn-active-bg)}:host([textAlign=left]) button{text-align:left}:host([textAlign=right]) button{text-align:right}.main-slot{flex-grow:1;display:block}:host([minWidth]) .main-slot{flex-grow:0}slot[name=prefix],slot[name=suffix]{flex-shrink:0}::slotted(sonic-icon){min-width:1.28em;text-align:center}:host([icon]) ::slotted(sonic-icon){font-size:1.35em}sonic-tooltip{display:contents}:host(:not([active])) ::slotted([swap=on]){display:none}:host([active]) ::slotted([swap=off]){display:none}:host([loading]){pointer-events:none;position:relative}:host([loading]) slot{opacity:0!important;pointer-events:none}:host([loading]) .loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;line-height:0;height:var(--sc-btn-ff);width:var(--sc-btn-ff);animation:rotation 2s infinite linear}@keyframes rotation{from{transform-origin:50% 50%;transform:translate(-50%,-50%) rotate(0)}to{transform-origin:50% 50%;transform:translate(-50%,-50%) rotate(359deg)}}`],hr([it({type:String,reflect:!0})],pr.prototype,"type",2),hr([it({type:String,reflect:!0})],pr.prototype,"variant",2),hr([it({type:String,reflect:!0})],pr.prototype,"size",2),hr([it({type:String,reflect:!0})],pr.prototype,"shape",2),hr([it({type:String})],pr.prototype,"direction",2),hr([it({type:String,reflect:!0})],pr.prototype,"alignItems",2),hr([it({type:String})],pr.prototype,"justify",2),hr([it({type:String,reflect:!0})],pr.prototype,"align",2),hr([it({type:String})],pr.prototype,"minWidth",2),hr([it({type:Boolean,reflect:!0})],pr.prototype,"icon",2),hr([it({type:String})],pr.prototype,"autoActive",2),hr([it({type:Boolean,reflect:!0})],pr.prototype,"loading",2),hr([nt()],pr.prototype,"hasPrefix",2),hr([nt()],pr.prototype,"hasSuffix",2),hr([dt({flatten:!0,slot:"prefix"})],pr.prototype,"prefixes",2),hr([dt({flatten:!0,slot:"suffix"})],pr.prototype,"suffixes",2),hr([it({type:String})],pr.prototype,"target",2),hr([it({type:String})],pr.prototype,"href",1),hr([it({type:String})],pr.prototype,"goBack",2),hr([it({type:Boolean})],pr.prototype,"pushState",2),hr([it({type:Boolean,reflect:!0})],pr.prototype,"active",2),pr=hr([st(dr)],pr);try{customElements.define(dr,pr)}catch(Va){}class ur{static areEqual(t,e){return t.length===e.length&&t.every(((t,r)=>t===e[r]))}static from2d(t){return{to1D:()=>{let e=[];return t.forEach((t=>e=e.concat(t))),this.from(e)}}}static from(t){return{get:()=>t||[],everyItem:()=>({has:()=>({same:()=>({value:()=>({forKey:e=>{if(t.length<1)return!0;let r=(t[0]||{})[e];return t.every((t=>(t||{})[e]==r))}})})}),value:()=>({forKey:e=>ur.from(t.map((t=>t[e])))}),copy:()=>({fromKey:e=>({toKey:r=>{t.forEach((t=>{t[r]=Array.isArray(t[e])?[...t[e]]:"object"==typeof t[e]&&null!=t[e]?__spreadValues({},t[e]):t[e]}))}})})}),map:e=>ur.from(t.map(e)),filter:e=>ur.from(t.filter(e)),find:e=>t.find(e),some:e=>t.some(e),every:e=>t.every(e),group:()=>({byKey:e=>{let r=[],s=new Map;for(let o of t){let t=o[e];if(!s.has(t)){let o=r.length;s.set(t,o);let i={items:[]};i[e]=t,r.push(i)}r[s.get(t)].items.push(o)}return ur.from(r)}}),without:()=>({duplicates:()=>({forKey:e=>{let r=[...new Set(t.map((t=>t[e])))];return ur.from(r.map((r=>t.find((t=>t[e]==r)))))}}),itemsIn:e=>({havingSameValue:()=>({forKey:r=>ur.from(t.filter((t=>{return e.every((s=t,o=r,t=>s[o]!=t[o]));var s,o})))})})})}}}const mr=ur,gr=kt,br=xt,fr=ft,vr=Ge,yr=vt,wr=bt,xr=gt,_r=wt;let kr=window;kr["concorde-utils"]=kr["concorde-utils"]||{},kr["concorde-utils"]={Arrays:mr,DataBindObserver:gr,Format:br,HTML:fr,LocationHandler:vr,Objects:yr,PublisherProxy:wr,PublisherManager:xr,api:_r};var Ar=Object.defineProperty,Pr=Object.getOwnPropertyDescriptor;const $r=t=>{class e extends t{constructor(...t){super(),this.api=null,this.key="",this.isFirstLoad=!0,this.isLoading=!1,this.iObserver=null,this.isDefaultLoaderEnabled=!0,this.isFetchEnabled=!0,this._endPoint="",this.dataProvider=""}set endPoint(t){this._endPoint=t,this.isConnected&&this._fetchData()}get endPoint(){return this._endPoint}async _fetchData(){if(!this.isFetchEnabled)return;if(this.api=new wt(this.getApiConfiguration()),!this.api)return;let t;this.dispatchEvent(new CustomEvent("loading",{detail:this})),this.isLoading=!0,this.requestUpdate();let e=this.isDefaultLoaderEnabled&&!this.hasAttribute("noLoader");e&&Ht.show();let r=xr.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();if(t=await this.api.get(this.endPoint||this.dataProvider||"",r),!t)return Ye.add({text:"Network Error",status:"error"}),this.isLoading=!1,void(e&&Ht.hide());if(e&&Ht.hide(),this.key){let e=t._sonic_http_response_;t=vt.traverse(t,this.key.split("."),!1),t&&vt.isObject(t)&&(t._sonic_http_response_=e)}this.props=t,this.dispatchEvent(new CustomEvent("load",{detail:this})),this.isFirstLoad=!1,this.isLoading=!1}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this.publisher)||t.offInvalidate(this.onInvalidate),this.isFirstLoad=!1}connectedCallback(){var t;if(this.noShadowDom="",!this.isFetchEnabled)return void super.connectedCallback();super.connectedCallback(),this.key=this.getAncestorAttributeValue("key"),this.props&&this.publisher.set(this.props),this.onInvalidate=()=>this._fetchData(),null==(t=this.publisher)||t.onInvalidate(this.onInvalidate);null===this.getAncestorAttributeValue("lazyload")&&this._fetchData()}firstUpdated(){if(null===this.getAncestorAttributeValue("lazyload"))return;let t={root:null,rootMargin:Math.max(window.innerWidth,window.innerHeight)+"px"};this.iObserver=new IntersectionObserver((t=>this.onIntersection(t)),t);let e=this,r=e.shadowRoot?e.shadowRoot.children[0]:e.children[0];r&&"slot"==r.nodeName.toLocaleLowerCase()&&(r=r.children[0]),r&&"template"!=r.nodeName.toLocaleLowerCase()||(r=document.createElement("span"),e.appendChild(r)),r?this.iObserver.observe(r):this.isFirstLoad&&this._fetchData()}onIntersection(t){for(const e of t)e.isIntersecting&&this.isFirstLoad&&this._fetchData()}}return((t,e,r,s)=>{for(var o,i=s>1?void 0:s?Pr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);s&&i&&Ar(e,r,i)})([it({type:String})],e.prototype,"endPoint",1),e};var Cr=Object.defineProperty,Sr=Object.getOwnPropertyDescriptor;const Or="sonic-fetch";let Er=class extends($r(Et(et))){render(){return L`<slot></slot>`}};Er.styles=[n`:host{display:contents}`],Er=((t,e,r,s)=>{for(var o,i=s>1?void 0:s?Sr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Cr(e,r,i),i})([st(Or)],Er);try{customElements.define(Or,Er)}catch(Va){}var jr=Object.defineProperty,zr=Object.getOwnPropertyDescriptor,Dr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?zr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&jr(e,r,i),i};const Lr="sonic-if";let Mr=class extends et{constructor(){super(...arguments),this.condition=!1}render(){return this.condition?L`<slot></slot>`:N}};Mr.styles=n`:host{display:contents}`,Dr([it({type:Boolean})],Mr.prototype,"condition",2),Mr=Dr([st(Lr)],Mr);try{customElements.define(Lr,Mr)}catch(Va){}
90
+ */,Te=Zt(class extends Yt{constructor(t){var e;if(super(t),t.type!==Kt||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ct){this.ct=new Set;for(const t in e)this.ct.add(t);return this.render(e)}this.ct.forEach((t=>{null==e[t]&&(this.ct.delete(t),t.includes("-")?r.removeProperty(t):r[t]="")}));for(const s in e){const t=e[s];null!=t&&(this.ct.add(s),s.includes("-")?r.setProperty(s,t):r[s]=t)}return M}}),Re=n`.custom-scroll{overflow:auto!important}.custom-scroll::-webkit-scrollbar{width:.5rem;height:.5rem;border:solid .15rem transparent;border-radius:var(--sc-rounded);background:0 0}.custom-scroll::-webkit-scrollbar-thumb{box-shadow:inset 0 0 2rem 2rem var(--sc-scrollbar-bg);border-radius:var(--sc-rounded);border:solid .15rem transparent}`;var Ve=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,Be=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Ue(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Ve(e,r,i),i};const qe={warning:"warning-circled-outline",success:"check-circled-outline",error:"warning-circled-outline",info:"info-empty"};let He=class extends et{constructor(){super(...arguments),this.title="",this.id="",this.text="",this.status="",this.ghost=!1,this.preserve=!1,this.dismissForever=!1,this.maxHeight="10rem",this.visible=!0}render(){if(this.dismissForever){const t=localStorage.getItem("sonic-toast-dismissed")||"{}";if(JSON.parse(t)[this.id])return N}return this.visible?L`<div class="sonic-toast ${this.status} ${this.ghost?"ghost":""}"><button aria-label="Close" class="sonic-toast-close" @click="${()=>this.hide()}"><sonic-icon name="cancel" size="lg"></sonic-icon></button><div class="sonic-toast-content custom-scroll" style="max-height:${this.maxHeight}">${this.status&&L`<sonic-icon name="${qe[this.status]}" class="sonic-toast-icon" size="2xl"></sonic-icon>`}<div class="sonic-toast-text">${this.title?L`<div class="sonic-toast-title">${this.title}</div>`:""} ${this.text?$e(this.text):""}<slot></slot></div>${this.preserve?"":this.autoHide()}</div></div>`:N}hide(){if(this.closest("sonic-toast")||(this.visible=!1),this.dismissForever){const t=localStorage.getItem("sonic-toast-dismissed")||"{}",e=JSON.parse(t);e[this.id]=!0,localStorage.setItem("sonic-toast-dismissed",JSON.stringify(e))}this.dispatchEvent(new CustomEvent("hide",{bubbles:!0}))}show(){this.visible=!0}autoHide(){setTimeout((()=>{this.hide()}),4200)}};He.styles=[Re,n`*{box-sizing:border-box}:host{display:block;pointer-events:auto;position:relative;--sc-toast-status-color:transparent;--sc-toast-color:var(--sc-base-content);--sc-toast-bg:var(--sc-base);--sc-toast-rounded:var(--sc-rounded-md);--sc-toast-shadow:var(--sc-shadow-lg)}.fixed-area{position:fixed;bottom:1.25rem;right:1.25rem;z-index:999;display:flex;flex-direction:column-reverse}.sonic-toast{position:relative;pointer-events:auto;overflow:hidden;line-height:1.25;color:var(--sc-toast-color);box-shadow:var(--sc-toast-shadow);border-radius:var(--sc-toast-rounded);background:var(--sc-toast-bg)}.sonic-toast-content{padding:1em 2.5rem 1em 1em;display:flex;gap:.5rem;overflow:auto;position:relative}.sonic-toast-text{align-self:center;margin-top:auto;margin-bottom:auto;max-width:70ch;line-height:1.2}.sonic-toast-text a,::slotted(a:not(.btn)){color:inherit!important;text-decoration:underline!important;text-underline-offset:.15rem}.sonic-toast-text :is(p, ul, ol, hr, h1, h2, h3, h4, h5, h6),::slotted(:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6)){margin:0 0 .3em!important}.sonic-toast-text li,::slotted(li){margin-bottom:.15em!important}.sonic-toast-text>:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6):last-child,::slotted(:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6):last-child){margin-bottom:0!important}.sonic-toast-close{all:unset;position:absolute;z-index:4;pointer-events:initial;right:.5em;top:.5em;width:1.5rem;height:1.5rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;text-align:center;opacity:.5;background:rgba(0,0,0,0)}.sonic-toast-close:focus,.sonic-toast-close:hover{opacity:1;background:rgba(0,0,0,.075)}.sonic-toast-close svg{width:1rem;height:1rem;object-fit:contain;object-position:center center}.sonic-toast-title{font-weight:700;font-size:1.15rem;margin:.15em 0 .25em;line-height:1.2}.success{--sc-toast-status-color:var(--sc-success);--sc-toast-title-color:var(--sc-toast-status-color)}.error{--sc-toast-status-color:var(--sc-danger);--sc-toast-title-color:var(--sc-toast-status-color)}.warning{--sc-toast-status-color:var(--sc-warning);--sc-toast-title-color:var(--sc-toast-status-color)}.info{--sc-toast-status-color:var(--sc-info);--sc-toast-title-color:var(--sc-toast-status-color)}.error,.info,.success,.warning{border-top:3px solid var(--sc-toast-status-color,currentColor)}.sonic-toast:before{content:"";display:block;position:absolute;left:0;top:0;right:0;bottom:0;opacity:.05;pointer-events:none;transition:.2s;border-radius:var(--sc-toast-rounded);background-color:var(--sc-toast-status-color)}.sonic-toast:hover:before{opacity:.025}.error .sonic-toast-icon,.info .sonic-toast-icon,.success .sonic-toast-icon,.warning .sonic-toast-icon{color:var(--sc-toast-status-color,currentColor)}.sonic-toast-icon{position:sticky;top:0}.ghost{opacity:.85;pointer-events:none}`],Be([it({type:String})],He.prototype,"title",2),Be([it({type:String})],He.prototype,"id",2),Be([it({type:String})],He.prototype,"text",2),Be([it({type:String})],He.prototype,"status",2),Be([it({type:Boolean})],He.prototype,"ghost",2),Be([it({type:Boolean})],He.prototype,"preserve",2),Be([it({type:Boolean})],He.prototype,"dismissForever",2),Be([it({type:String})],He.prototype,"maxHeight",2),Be([nt()],He.prototype,"visible",2),He=Be([st("sonic-toast-item")],He);var Ke=Object.defineProperty,We=Object.getOwnPropertyDescriptor,Ze=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?We(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Ke(e,r,i),i};let Ye=class extends et{constructor(){super(...arguments),this.toasts=[]}createRenderRoot(){return this}render(){const t=!(window.parent==window);let e={pointerEvents:"none",gap:"1rem",display:"flex",margin:"1rem"};return t||(e=__spreadProps(__spreadValues({},e),{margin:"0",width:"calc(100% - 2.5rem)",position:"fixed",bottom:"1.25rem",right:"1.25rem",zIndex:"999",maxWidth:"64ch",flexDirection:"column-reverse"})),this.toasts?L`<div aria-live="polite" style="${Te(e)}">${se(this.toasts,(t=>t.id),(e=>L`<sonic-toast-item maxHeight="${t?"none":"10rem"}" status="${Ie(e.status)}" title="${Ie(e.title)}" ?ghost="${e.ghost}" ?dismissForever="${e.dismissForever}" ?preserve="${e.preserve}" id="${Ie(e.id)}" @hide="${()=>this.removeItem(e)}" ${Ae({keyframeOptions:{duration:250,easing:"cubic-bezier(0.250, 0.250, 0.420, 1.225)"},in:[{transform:"translateY(0) scale(1.25)",boxShadow:"0 0 0 rgba(0,0,0,0)",opacity:0}],out:[{transform:"scale(.90) ",opacity:0,duration:3e3,easing:"ease-in-out"}],stabilizeOut:!0})}>${e.text?$e(e.text):""}</sonic-toast-item>`))}</div>`:N}static removeAll(){let t=document.querySelector("sonic-toast");t&&(t.toasts=t.toasts.filter((t=>t.ghost)))}static add(t){var e;if(!document.querySelector("sonic-toast")){let t=document.createElement("sonic-toast");(document.querySelector("sonic-theme")||document.body).prepend(t)}let r=document.querySelector("sonic-toast");const s=null!=(e=t.id)?e:(new Date).valueOf(),o=new RegExp("</a>|</button>").test(t.text),i={id:s,text:t.text,title:t.title,status:t.status,preserve:!!o||t.preserve,ghost:t.ghost,dismissForever:t.dismissForever};if(t.dismissForever&&t.id){const e=localStorage.getItem("sonic-toast-dismissed")||"{}";if(JSON.parse(e)[t.id])return null}if(r.toasts.length>0){let t=__spreadValues({},i),e=__spreadValues({},r.toasts[r.toasts.length-1]);if(t.id=e.id=0,!i.preserve&&vt.shallowEqual(t,e))return null}return r.toasts=[...r.toasts,i],i}removeItem(t){this.toasts=this.toasts.filter((e=>e!=t))}};if(Ze([it({type:Array})],Ye.prototype,"toasts",2),Ye=Ze([st("sonic-toast")],Ye),"undefined"!=typeof window){window.SonicToast=Ye}const Qe=class{static listen(){var t;if(!Qe.listening)return;let e=null==(t=document.location)?void 0:t.href.replace(document.location.origin,"");Qe.prevURL&&Qe.prevURL!=e&&(Qe.prevURL=e,Qe.listeners.forEach((t=>{t.location=e}))),window.requestAnimationFrame(Qe.listen)}static offChange(t){let e=Qe.listeners.indexOf(t);-1!=e&&(Qe.listeners.splice(e,1),0==Qe.listeners.length&&(Qe.listening=!1))}static onChange(t){Qe.listening||(Qe.listening=!0,Qe.listen()),Qe.listeners.push(t)}static changeFromComponent(t){if(null!==t.goBack){const e=document.location.origin;let r=t.goBack||e;if(0==document.referrer.indexOf("http")&&new URL(document.referrer).origin==e||r==document.location.href)history.back();else{let t=history.state||{};t.concorde=t.concorde||{},t.concorde.hasDoneHistoryBack=!0,history.pushState(t,document.title),history.back(),document.location.replace(r)}return}let e=t.getAttribute("to");if(e||(e=t.href),!e)return;if(0==e.indexOf("#"))return void(document.location.hash=e.substring(1));let r=new URL(e,document.location.href),s=r.pathname.split("/"),o=[],i="";for(let n of s)n!=i&&o.push(n),i=n;e="/"+o.join("/")+r.search+(r.hash?+r.hash:""),t.hasAttribute("pushState")?history.pushState(null,"",e):t.hasAttribute("replaceState")?history.replaceState(null,"",e):document.location.href=e}static updateComponentActiveState(t){if("disabled"!=t.autoActive&&t.href&&0!=t.href.indexOf("http")){let e=new URL(t.href,document.location.href),r=new URL(t.location,document.location.origin),s=!1;s="strict"==t.autoActive?e.pathname==r.pathname&&e.hash==r.hash&&e.search==r.search:0==r.href.indexOf(e.href),s?t.setAttribute("active","true"):t.removeAttribute("active")}}};let Ge=Qe;Ge.listeners=[],Ge.listening=!1,Ge.prevURL=null==(t=document.location)?void 0:t.href.replace(document.location.origin,"");var Je=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,tr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Xe(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Je(e,r,i),i};const er=new Map,rr=t=>{class e extends t{constructor(...t){super(),this.touched=!1,this.error=!1,this.autofocus=!1,this.required=!1,this.forceAutoFill=!1,this.disabled=null,this.onValueAssign=null,this.onFormValueAssign=null,this.onFormDataInValidate=null,this.formDataProvider="",this._name="",this._value="",this.onValueAssign=t=>{this.setValueFromPublisher(t)},this.onFormValueAssign=t=>{this.setFormValueFromPublisher(t)},this.onFormDataInValidate=()=>{this.getFormPublisher().isFormValid.get()&&this.validateFormElement()}}get name(){return this._name}set name(t){this.hasAttribute("name")&&!this.forceAutoFill&&(t=this.getAttribute("name")),this._name=t,this.requestUpdate()}validateFormElement(){}updateDataValue(){if(this._name){let t=this.getFormPublisher();t&&(t[this._name]=this.getValueForFormPublisher(),this.setFormValueFromPublisher(t[this.name].get()))}}getFormPublisher(){return this.formDataProvider||(this.formDataProvider=this.getAncestorAttributeValue("formDataProvider")),this.formDataProvider?gt.get(this.formDataProvider):this.publisher}getValueForFormPublisher(){return this.value}setValueFromPublisher(t){this.value=t}setFormValueFromPublisher(t){this.value=t}get value(){return this._value}set value(t){vt.isObject(t)&&t.hasOwnProperty("__value")&&null==t.value||null!=t&&this._value!=t&&(this._value=t,this.updateDataValue(),this.requestUpdate())}initPublisher(){this._name&&this.publisher&&this.publisher[this._name].offAssign(this.onValueAssign);let t=this.getFormPublisher();this._name&&t&&t[this._name].offAssign(this.onFormValueAssign),super.initPublisher(),this.name||(this._name=this.getAttribute("name")),this.value||(this._value=this.getAttribute("value")),this.updateDataValue(),this.publisher&&this._name&&this.publisher[this._name].onAssign(this.onValueAssign),t=this.getFormPublisher(),this._name&&t&&(t[this._name].onAssign(this.onFormValueAssign),t.onInvalidate(this.onFormDataInValidate))}handleBlur(){this.touched=!0}handleChange(t){this.value=t.target.value;const e=new Event("change");this.dispatchEvent(e)}addKeyboardNavigation(){let t=this.getAncestorAttributeValue("data-keyboard-nav");if(!t)return;let e=t.split(" "),r=e[0];if(!r)return;for(let o of e){er.has(o)||er.set(o,[]);let t=er.get(o);-1==t.indexOf(this)&&t.push(this)}let s=er.get(r);this.addEventListener("keydown",(t=>{if(!["ArrowDown","ArrowUp"].includes(t.key))return;let e="input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])",r=s.filter((t=>{let r=t.shadowRoot.querySelector(e);if(!r)return!1;let s=window.getComputedStyle(r);return"none"!==s.display&&""!==s.display&&"none"!=s.pointerEvents&&"hidden"!==s.visibility&&r.getBoundingClientRect().width>0})),o=null;if("ArrowDown"==t.key){let t=r.indexOf(this);o=t==r.length-1?r[0]:r[t+1]}else if("ArrowUp"==t.key){let t=r.indexOf(this);o=0==t?r[r.length-1]:r[t-1]}let i=o.shadowRoot.querySelector(e);i&&(i.focus(),t.preventDefault())}))}connectedCallback(){super.connectedCallback(),this.addKeyboardNavigation()}disconnectedCallback(){super.disconnectedCallback(),this._name&&this.publisher&&this.publisher[this._name].offAssign(this.onValueAssign);let t=this.getFormPublisher();this._name&&t&&(t[this._name].offAssign(this.onFormValueAssign),t.offInvalidate(this.onFormDataInValidate))}}return tr([it({type:Boolean,reflect:!0})],e.prototype,"touched",2),tr([it({type:Boolean})],e.prototype,"error",2),tr([it({type:Boolean})],e.prototype,"autofocus",2),tr([it({type:Boolean})],e.prototype,"required",2),tr([it()],e.prototype,"forceAutoFill",2),tr([it({type:Boolean})],e.prototype,"disabled",2),tr([it()],e.prototype,"name",1),tr([it()],e.prototype,"value",1),e};var sr=Object.defineProperty,or=Object.getOwnPropertyDescriptor,ir=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?or(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&sr(e,r,i),i};const nr=t=>{class e extends t{constructor(){super(...arguments),this._value="",this.forceAutoFill=!1,this.unique=null,this.radio=null,this._checked=null}get value(){return this._value}set value(t){this.hasAttribute("value")&&!this.forceAutoFill&&(t=this.getAttribute("value")),this._value!=t&&(this._value=t,this.updateDataValue(),this.requestUpdate())}get checked(){return this._checked}set checked(t){this.setCheckedValue(t)}validateFormElement(){var t;const e=null==(t=this.shadowRoot)?void 0:t.querySelector("input");if(!e||e.checkValidity())return;let r=this.getFormPublisher()[this.name].get();(this.unique||this.radio)&&null!==r&&r.toString().length>0||(this.getFormPublisher().isFormValid=!1,e.reportValidity())}setCheckedValue(t){this._checked!=t&&(this._checked=t,this.updateDataValue(),this.requestUpdate())}handleChange(){this.checked=!this.checked||(!!this.radio||null);const t=new Event("change");this.dispatchEvent(t)}getValueForFormPublisher(){let t=this.getFormPublisher()[this.name].get();if(this.radio)return this.checked&&null!=this.value?this.value:t;if(this.unique)return this.checked&&null!=this.value?this.value:null;Array.isArray(t)||(t=[]),t=t.slice(0);let e=t.indexOf(this.value);return!0===this.checked&&-1===e&&t.push(this.value),null===this.checked&&-1!==e&&t.splice(e,1),t}setFormValueFromPublisher(t){this.unique||this.radio?this.checked=this.value==t||null:(Array.isArray(t)||(t=[]),this.checked=-1!==t.indexOf(this.value)||null)}initPublisher(){super.initPublisher(),this.hasAttribute("checked")&&(this.publisher&&!1===this.publisher.get().checked||(this.checked=!0))}}return ir([it()],e.prototype,"value",1),ir([it()],e.prototype,"forceAutoFill",2),ir([it({type:Boolean})],e.prototype,"unique",2),ir([it({type:Boolean})],e.prototype,"radio",2),ir([it()],e.prototype,"checked",1),e},ar=n`:host{--sc-fs:1rem;font-size:var(--sc-fs)}:host([size="2xs"]){--sc-fs:0.68rem}:host([size=xs]){--sc-fs:0.75rem}:host([size=sm]){--sc-fs:0.875rem}:host([size=lg]){--sc-fs:1.125rem}:host([size=xl]){--sc-fs:1.25rem}:host([size="2xl"]){--sc-fs:1.5rem}`;var lr=Object.defineProperty,cr=Object.getOwnPropertyDescriptor,hr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?cr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&lr(e,r,i),i};const dr="sonic-button";let pr=class extends(nr(rr(Et(et)))){constructor(){super(...arguments),this.type="default",this.variant="default",this.shape="default",this.direction="row",this.alignItems="center",this.justify="center",this.minWidth="0",this.icon=!1,this.autoActive="partial",this.loading=!1,this.hasPrefix=!1,this.hasSuffix=!1,this._href="",this.goBack=null,this.pushState=!1,this.active=!1,this._location=""}set href(t){this._href=t,this.href&&0!=this.href.indexOf("http")?(Ge.onChange(this),this.location=document.location.href.replace(document.location.origin,"")):Ge.offChange(this),this.requestUpdate()}get href(){return this._href}handleNavigation(t){t.preventDefault(),Ge.changeFromComponent(this)}handleChange(t){super.handleChange(t),(this.pushState||null!==this.goBack)&&(t.preventDefault(),t.stopPropagation(),Ge.changeFromComponent(this))}connectedCallback(){super.connectedCallback()}setCheckedValue(t){if(this.name){if(t==this._checked)return;super.setCheckedValue(t),this._checked?this.setAttribute("active","true"):this.removeAttribute("active")}}disconnectedCallback(){Ge.offChange(this),super.disconnectedCallback()}get location(){return this._location}set location(t){this._location=t,Ge.updateComponentActiveState(this)}render(){const t={flexDirection:this.direction,alignItems:this.alignItems,justifyContent:this.justify,textAlign:this.align,minWidth:this.minWidth},e=L`<button part="button" class="${this.hasPrefix||this.hasSuffix?"has-prefix-or-suffix":""}" style="${Te(t)}" @click="${this.handleChange}"><slot @slotchange="${this.onSlotChange}" part="prefix" name="prefix"></slot><slot part="main" class="main-slot"></slot><slot @slotchange="${this.onSlotChange}" part="suffix" name="suffix"></slot>${1==this.loading?L`<sonic-icon name="loader" class="loader"></sonic-icon>`:""}</button>`;return this.href?L`<a href="${this.href}" target="${Ie(this.target)}" @click="${this.pushState||null!==this.goBack?this.handleNavigation:null}">${e}</a>`:L`${e}`}onSlotChange(){var t,e;this.hasPrefix=!!(null==(t=this.prefixes)?void 0:t.length),this.hasSuffix=!!(null==(e=this.suffixes)?void 0:e.length)}};pr.styles=[ar,n`*{box-sizing:border-box}:host{--sc-btn-gap:0.35em;--sc-btn-py:0.25em;--sc-btn-px:1.1em;--sc-btn-fs:var(--sc-fs, 1rem);--sc-btn-fw:var(--sc-btn-font-weight);--sc-btn-ff:var(--sc-btn-font-family);--sc-btn-height:var(--sc-form-height);--sc-btn-color:var(--sc-base-content);--sc-btn-bg:var(--sc-base-100);--sc-btn-border-style:solid;--sc-btn-border-with:var(--sc-form-border-width);--sc-btn-border-color:transparent;--sc-btn-outline-bg-hover:var(--sc-base-100);--sc-btn-ghost-bg-hover:var(--sc-base-100);--sc-btn-active-color:var(--sc-base);--sc-btn-hover-filter:brightness(0.98);--sc-btn-active-filter:brightness(0.97);--sc-btn-active-bg:var(--sc-base-content);--sc-item-rounded-tr:var(--sc-btn-rounded);--sc-item-rounded-tl:var(--sc-btn-rounded);--sc-item-rounded-bl:var(--sc-btn-rounded);--sc-item-rounded-br:var(--sc-btn-rounded);display:inline-flex;vertical-align:middle;box-sizing:border-box}:host a{display:contents;color:unset}:host button{display:flex;flex:1;box-sizing:border-box;align-items:center;justify-content:center;font-family:var(--sc-btn-ff);font-weight:var(--sc-btn-fw);font-size:var(--sc-btn-fs);cursor:pointer;text-align:center;line-height:1.1;border-radius:var(--sc-item-rounded-tl) var(--sc-item-rounded-tr) var(--sc-item-rounded-br) var(--sc-item-rounded-bl);background:var(--sc-btn-bg);color:var(--sc-btn-color);padding-top:var(--sc-btn-py);padding-bottom:var(--sc-btn-py);padding-left:var(--sc-btn-px);padding-right:var(--sc-btn-px);border:var(--sc-btn-border-with) var(--sc-btn-border-style) var(--sc-btn-border-color);min-height:var(--sc-btn-height)}:host button.has-prefix-or-suffix{gap:var(--sc-btn-gap)}:host button:focus,:host button:hover{filter:var(--sc-btn-hover-filter)}:host button:active{filter:var(--sc-btn-active-filter)}:host([type=default]) button{--sc-btn-color:var(--sc-base-content);--sc-btn-bg:var(--sc-base-100)}:host([type=primary]) button{--sc-btn-color:var(--sc-primary-content);--sc-btn-bg:var(--sc-primary)}:host([type=warning]) button{--sc-btn-color:var(--sc-warning-content);--sc-btn-bg:var(--sc-warning)}:host([type=danger]) button{--sc-btn-color:var(--sc-danger-content);--sc-btn-bg:var(--sc-danger)}:host([type=info]) button{--sc-btn-color:var(--sc-info-content);--sc-btn-bg:var(--sc-info)}:host([type=success]) button{--sc-btn-color:var(--sc-success-content);--sc-btn-bg:var(--sc-success)}:host([type=neutral]) button{--sc-btn-color:var(--sc-base);--sc-btn-bg:var(--sc-base-600)}:host([variant=unstyled]),:host([variant=unstyled]) button{all:unset;display:contents;transition:.1s;cursor:pointer;--sc-btn-height:auto;--sc-btn-width:auto}:host(:not([disabled])) button:focus{box-shadow:0 0 0 .18rem var(--sc-base-300);border-color:var(--sc-base-300)!important;outline:0}:host([variant=ghost][type]) button{color:var(--sc-btn-bg);background:0 0}:host([variant=ghost][type=default]) button{color:var(--sc-btn-color);background:0 0}:host([variant=ghost]) button:hover{background:var(--sc-btn-ghost-bg-hover);filter:none}:host([active][variant=ghost]) button{background:var(--sc-btn-ghost-bg-hover);filter:none}:host([active][variant=ghost]) button:hover{filter:var(--sc-btn-hover-filter)}:host([variant=outline][type]) button{border-color:var(--sc-btn-bg);color:var(--sc-btn-bg);background:0 0}:host([variant=outline][type=default]) button{border-color:var(--sc-base-400);color:var(--sc-base-500);background:0 0}:host([variant=outline]) button:hover{background:var(--sc-btn-outline-bg-hover)}:host([variant=link]:not([size])){vertical-align:baseline;margin-left:.25em;margin-right:.25em}:host([variant=link]:not([size])){font-size:inherit}:host([variant=link]) button{text-decoration:underline;padding:0;background:0 0;border:none;font-size:inherit;min-height:0;color:inherit}:host([variant=link][type]) button{color:var(--sc-btn-bg)}:host([variant=link][type=default]) button{color:inherit}:host([variant=link]) button:focus,:host([variant=link]) button:hover{text-decoration:none}:host([shape=circle]) button{border-radius:50%}:host([shape=circle]) button,:host([shape=square]) button{width:var(--sc-btn-height);height:var(--sc-btn-height);overflow:hidden;padding:0;align-items:center;justify-content:0;text-align:center!important}:host([shape=block]),:host([shape=block]) button{width:100%}:host([disabled]){opacity:.3;pointer-events:none;user-select:none}:host([active]:not([variant=ghost])) button{background:var(--sc-btn-active-bg);color:var(--sc-btn-active-color);border-color:var(--sc-btn-active-bg)}:host([textAlign=left]) button{text-align:left}:host([textAlign=right]) button{text-align:right}.main-slot{flex-grow:1;display:block}:host([minWidth]) .main-slot{flex-grow:0}slot[name=prefix],slot[name=suffix]{flex-shrink:0}::slotted(sonic-icon){min-width:1.28em;text-align:center}:host([icon]) ::slotted(sonic-icon){font-size:1.35em}sonic-tooltip{display:contents}:host(:not([active])) ::slotted([swap=on]){display:none}:host([active]) ::slotted([swap=off]){display:none}:host([loading]){pointer-events:none;position:relative}:host([loading]) slot{opacity:0!important;pointer-events:none}:host([loading]) .loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;line-height:0;height:var(--sc-btn-ff);width:var(--sc-btn-ff);animation:rotation 2s infinite linear}@keyframes rotation{from{transform-origin:50% 50%;transform:translate(-50%,-50%) rotate(0)}to{transform-origin:50% 50%;transform:translate(-50%,-50%) rotate(359deg)}}`],hr([it({type:String,reflect:!0})],pr.prototype,"type",2),hr([it({type:String,reflect:!0})],pr.prototype,"variant",2),hr([it({type:String,reflect:!0})],pr.prototype,"size",2),hr([it({type:String,reflect:!0})],pr.prototype,"shape",2),hr([it({type:String})],pr.prototype,"direction",2),hr([it({type:String,reflect:!0})],pr.prototype,"alignItems",2),hr([it({type:String})],pr.prototype,"justify",2),hr([it({type:String,reflect:!0})],pr.prototype,"align",2),hr([it({type:String})],pr.prototype,"minWidth",2),hr([it({type:Boolean,reflect:!0})],pr.prototype,"icon",2),hr([it({type:String})],pr.prototype,"autoActive",2),hr([it({type:Boolean,reflect:!0})],pr.prototype,"loading",2),hr([nt()],pr.prototype,"hasPrefix",2),hr([nt()],pr.prototype,"hasSuffix",2),hr([dt({flatten:!0,slot:"prefix"})],pr.prototype,"prefixes",2),hr([dt({flatten:!0,slot:"suffix"})],pr.prototype,"suffixes",2),hr([it({type:String})],pr.prototype,"target",2),hr([it({type:String})],pr.prototype,"href",1),hr([it({type:String})],pr.prototype,"goBack",2),hr([it({type:Boolean})],pr.prototype,"pushState",2),hr([it({type:Boolean,reflect:!0})],pr.prototype,"active",2),pr=hr([st(dr)],pr);try{customElements.define(dr,pr)}catch(Va){}class ur{static areEqual(t,e){return t.length===e.length&&t.every(((t,r)=>t===e[r]))}static from2d(t){return{to1D:()=>{let e=[];return t.forEach((t=>e=e.concat(t))),this.from(e)}}}static from(t){return{get:()=>t||[],everyItem:()=>({has:()=>({same:()=>({value:()=>({forKey:e=>{if(t.length<1)return!0;let r=(t[0]||{})[e];return t.every((t=>(t||{})[e]==r))}})})}),value:()=>({forKey:e=>ur.from(t.map((t=>t[e])))}),copy:()=>({fromKey:e=>({toKey:r=>{t.forEach((t=>{t[r]=Array.isArray(t[e])?[...t[e]]:"object"==typeof t[e]&&null!=t[e]?__spreadValues({},t[e]):t[e]}))}})})}),map:e=>ur.from(t.map(e)),filter:e=>ur.from(t.filter(e)),find:e=>t.find(e),some:e=>t.some(e),every:e=>t.every(e),group:()=>({byKey:e=>{let r=[],s=new Map;for(let o of t){let t=o[e];if(!s.has(t)){let o=r.length;s.set(t,o);let i={items:[]};i[e]=t,r.push(i)}r[s.get(t)].items.push(o)}return ur.from(r)}}),without:()=>({duplicates:()=>({forKey:e=>{let r=[...new Set(t.map((t=>t[e])))];return ur.from(r.map((r=>t.find((t=>t[e]==r)))))}}),itemsIn:e=>({havingSameValue:()=>({forKey:r=>ur.from(t.filter((t=>{return e.every((s=t,o=r,t=>s[o]!=t[o]));var s,o})))})})})}}}const mr=ur,gr=kt,br=xt,fr=ft,vr=Ge,yr=vt,wr=bt,xr=gt,_r=wt;let kr=window;kr["concorde-utils"]=kr["concorde-utils"]||{},kr["concorde-utils"]={Arrays:mr,DataBindObserver:gr,Format:br,HTML:fr,LocationHandler:vr,Objects:yr,PublisherProxy:wr,PublisherManager:xr,api:_r};var Ar=Object.defineProperty,Pr=Object.getOwnPropertyDescriptor;const $r=t=>{class e extends t{constructor(...t){super(),this.api=null,this.key="",this.isFirstLoad=!0,this.isLoading=!1,this.iObserver=null,this.isDefaultLoaderEnabled=!0,this.isFetchEnabled=!0,this._endPoint="",this.dataProvider=""}set endPoint(t){this._endPoint=t,this.isConnected&&this._fetchData()}get endPoint(){return this._endPoint}async _fetchData(){if(!this.isFetchEnabled)return;if(this.api=new wt(this.getApiConfiguration()),!this.api)return;let t;this.dispatchEvent(new CustomEvent("loading",{detail:this})),this.isLoading=!0,this.requestUpdate();let e=this.isDefaultLoaderEnabled&&!this.hasAttribute("noLoader");e&&Ht.show();let r=xr.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();if(t=await this.api.get(this.endPoint||this.dataProvider||"",r),!t)return Ye.add({text:"Network Error",status:"error"}),this.isLoading=!1,void(e&&Ht.hide());if(e&&Ht.hide(),this.key){let e=t._sonic_http_response_;t=vt.traverse(t,this.key.split("."),!1),t&&vt.isObject(t)&&(t._sonic_http_response_=e)}this.props=t,this.dispatchEvent(new CustomEvent("load",{detail:this})),this.isFirstLoad=!1,this.isLoading=!1}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this.publisher)||t.offInvalidate(this.onInvalidate),this.isFirstLoad=!1}connectedCallback(){var t;if(this.noShadowDom="",!this.isFetchEnabled)return void super.connectedCallback();super.connectedCallback(),this.key=this.getAncestorAttributeValue("key"),this.props&&this.publisher.set(this.props),this.onInvalidate=()=>this._fetchData(),null==(t=this.publisher)||t.onInvalidate(this.onInvalidate);null===this.getAncestorAttributeValue("lazyload")&&this._fetchData()}firstUpdated(){if(null===this.getAncestorAttributeValue("lazyload"))return;let t={root:null,rootMargin:Math.max(window.innerWidth,window.innerHeight)+"px"};this.iObserver=new IntersectionObserver((t=>this.onIntersection(t)),t);let e=this,r=e.shadowRoot?e.shadowRoot.children[0]:e.children[0];r&&"slot"==r.nodeName.toLocaleLowerCase()&&(r=r.children[0]),r&&"template"!=r.nodeName.toLocaleLowerCase()||(r=document.createElement("span"),e.appendChild(r)),r?this.iObserver.observe(r):this.isFirstLoad&&this._fetchData()}onIntersection(t){for(const e of t)e.isIntersecting&&this.isFirstLoad&&this._fetchData()}}return((t,e,r,s)=>{for(var o,i=s>1?void 0:s?Pr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);s&&i&&Ar(e,r,i)})([it({type:String})],e.prototype,"endPoint",1),e};var Cr=Object.defineProperty,Sr=Object.getOwnPropertyDescriptor;const Or="sonic-fetch";let Er=class extends($r(Et(et))){render(){return L`<slot></slot>`}};Er.styles=[n`:host{display:contents}`],Er=((t,e,r,s)=>{for(var o,i=s>1?void 0:s?Sr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Cr(e,r,i),i})([st(Or)],Er);try{customElements.define(Or,Er)}catch(Va){}var jr=Object.defineProperty,zr=Object.getOwnPropertyDescriptor,Dr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?zr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&jr(e,r,i),i};const Lr="sonic-if";let Mr=class extends et{constructor(){super(...arguments),this.condition=!1}render(){return this.condition?L`<slot></slot>`:N}};Mr.styles=n`:host{display:contents}`,Dr([it({type:Boolean})],Mr.prototype,"condition",2),Mr=Dr([st(Lr)],Mr);try{customElements.define(Lr,Mr)}catch(Va){}
91
91
  /**
92
92
  * @license
93
93
  * Copyright 2020 Google LLC
94
94
  * SPDX-License-Identifier: BSD-3-Clause
95
- */const Nr=Zt(class extends Yt{constructor(t){if(super(t),t.type!==Wt)throw Error("templateContent can only be used in child bindings")}render(t){return this.vt===t?M:(this.vt=t,document.importNode(t.content,!0))}});var Fr=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor;const Tr="sonic-subscriber";let Rr=class extends(Et(et)){constructor(){super(...arguments),this.noAutofill=!0}connectedCallback(){this.noShadowDom="",super.connectedCallback()}updated(t){super.updated(t),0==this.children.length?this.style.display="none":this.style.display="contents"}render(){return L`<slot></slot>`}};Rr=((t,e,r,s)=>{for(var o,i=s>1?void 0:s?Ir(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Fr(e,r,i),i})([st(Tr)],Rr);try{customElements.define(Tr,Rr)}catch(Va){}var Vr=Object.defineProperty,Ur=Object.getOwnPropertyDescriptor,Br=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Ur(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Vr(e,r,i),i};const qr="sonic-list";let Hr=class extends($r(Et(Lt(et)))){constructor(){super(...arguments),this.itemPropertyMap=null,this.templateKey="template",this.idKey="id"}connectedCallback(){this.noShadowDom="",this.defferedDebug=this.hasAttribute("debug")||null,this.isDefaultLoaderEnabled=!1,this.isFetchEnabled=this.hasAttribute("fetch"),this.isFetchEnabled&&(this.isLoading=!0),super.connectedCallback()}renderLoadingState(){return this.templateParts.skeleton?Nr(this.templateParts.skeleton):L`<sonic-loader mode="inline"></sonic-loader>`}renderNoResultState(){return L`<div class="sonic-no-result-container"><sonic-icon name="emoji-puzzled" size="lg"></sonic-icon><span class="sonic-no-result-text">${this.props}</span></div>`}formatProps(){let t=this.props,e=t._sonic_http_response_,r=this.hasAttribute("extractValues");return Array.isArray(t)||(t=r?Object.entries(t).map((([t,e])=>({key:t,value:e}))):!e||e.ok?[t]:[]),t._sonic_http_response_=e,t}render(){if(this.isLoading&&!Array.isArray(this.props))return this.renderLoadingState();if("string"==typeof this.props)return this.renderNoResultState();if(!vt.isObject(this.props))return L`<div></div>`;let t=this.formatProps();if(0==t.length&&this.templateParts["no-item"])return Nr(this.templateParts["no-item"]);let e=this.templateList.length,r=-1,s=this.hasAttribute("extractValues");return L`${se(t,((t,e)=>t[this.idKey]||e),((t,o)=>{let i=t[this.templateKey],n=i&&this.templateParts[i],a=s?t.key:o;if("_sonic_http_response_"==a)return N;let l=this.publisher[a];return l._key_=a+"",r++,n&&(r=-1),t&&L`<sonic-subscriber debug="${Ie(this.defferedDebug)}" .bindPublisher="${function(){return l}}" .propertyMap="${Ie(this.itemPropertyMap)}" dataProvider="${this.dataProvider}/list-item/${o}">${Nr(n?this.templateParts[i]:this.templateList[r%e])}</sonic-subscriber>`}))}`}};Hr.styles=[n`.sonic-no-result-container{color:var(--sc-base-400);font-size:1.65rem}sonic-icon{margin-right:.25em}span{vertical-align:middle}`],Br([it({type:Object})],Hr.prototype,"itemPropertyMap",2),Br([it({type:String})],Hr.prototype,"templateKey",2),Br([it({type:String})],Hr.prototype,"idKey",2),Hr=Br([st(qr)],Hr);try{customElements.define(qr,Hr)}catch(Va){}var Kr=Object.defineProperty,Wr=Object.getOwnPropertyDescriptor,Zr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Wr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Kr(e,r,i),i};const Yr="sonic-queue";let Qr=class extends(Et(et)){constructor(){super(...arguments),this.templates=null,this.lastRequestTime=0,this.key="",this.itemPropertyMap=null,this.targetRequestDuration=500,this.limit=5,this.offset=0,this.filteredFields="",this._displayContents=!1,this.filterPublisher=null,this.filterTimeoutId=void 0,this.dataProviderExpression="",this.idKey="id",this.currentScrollPosition=void 0,this.listDataProviders=[]}set displayContents(t){this._displayContents=t}get displayContents(){return this._displayContents}connectedCallback(){this.noShadowDom="",this.defferedDebug=this.hasAttribute("debug")||null,this.dataProvider||(this.dataProvider="sonic-queue-"+Qr.instanceCounter++),this.configFilter(),super.connectedCallback(),this.key=this.getAttribute("key"),this.templates||(this.templates=Array.from(this.querySelectorAll("template"))),this.lastRequestTime=(new Date).getTime(),this.next()}configFilter(){var t;let e=this.getAncestorAttributeValue("dataFilterProvider");e&&(this.filterPublisher=gt.getInstance().get(e),null==(t=this.filterPublisher)||t.onInternalMutation((()=>{var t;0!=Object.keys(null==(t=this.filterPublisher)?void 0:t.get()).length&&this.updateFilteredContent()})))}updateFilteredContent(){for(let t of this.listDataProviders)gt.delete(t);this.listDataProviders=[],clearTimeout(this.filterTimeoutId),this.filterTimeoutId=setTimeout((()=>{this.props=null,this.next()}),250)}resetDuration(){this.lastRequestTime=(new Date).getTime()}next(t){var e,r;let s=this.offset;const o=(new Date).getTime()-this.lastRequestTime;if(t&&(!t.detail.isFirstLoad||!t.detail.props.length||-1==this.dataProviderExpression.indexOf("$offset")))return;if(Array.isArray(this.props)){const t=this.props,e=t[t.length-1];s=parseInt(e.offset.toString())+parseInt(e.limit.toString())}else this.props=[];o>0&&t&&(this.limit=Math.round(this.limit/o*this.targetRequestDuration)),this.limit<1&&(this.limit=1),this.limit>15&&(this.limit=15);let i=this.dataProviderExpression.replace("$offset",s+"").replace("$limit",this.limit+""),n=i.split("?"),a=n.shift(),l=new URLSearchParams(n.join("?")),c=null==(e=this.filterPublisher)?void 0:e.get(),h=this.filteredFields.split(" ");for(let d in c)this.filteredFields&&!h.includes(d)||l.set(d,c[d]);i=a+"?"+l.toString(),this.listDataProviders.push(i),this.currentScrollPosition=null==(r=document.scrollingElement)?void 0:r.scrollTop,this.props=[...this.props,{id:l.toString()+"/"+this.props.length,dataProvider:i,offset:s,limit:this.limit}],this.lastRequestTime=(new Date).getTime()}render(){let t=this.displayContents?"contents":"inline";return this.style.display=t,this.currentScrollPosition&&window.requestAnimationFrame((()=>{document.scrollingElement&&(document.scrollingElement.scrollTop=this.currentScrollPosition),this.currentScrollPosition=void 0})),Array.isArray(this.props)?L`${se(this.props,(t=>t.id),((e,r)=>{var s;let o=0==r?this.templates:null==(s=this.templates)?void 0:s.filter((t=>"no-item"!=t.getAttribute("data-value")));return L`<sonic-list fetch style="${t}" .itemPropertyMap="${this.itemPropertyMap}" debug="${Ie(this.defferedDebug)}" @load="${this.next}" key="${this.key}" @loading="${this.resetDuration}" dataProvider="${e.dataProvider}" idKey="${this.idKey}" .templates="${o}"></sonic-list>`}))}`:N}};Qr.instanceCounter=0,Zr([it({type:Array})],Qr.prototype,"templates",2),Zr([it({type:Object})],Qr.prototype,"itemPropertyMap",2),Zr([it()],Qr.prototype,"targetRequestDuration",2),Zr([it()],Qr.prototype,"limit",2),Zr([it()],Qr.prototype,"offset",2),Zr([it()],Qr.prototype,"filteredFields",2),Zr([it()],Qr.prototype,"displayContents",1),Zr([it({type:String})],Qr.prototype,"dataProviderExpression",2),Zr([it({type:String})],Qr.prototype,"idKey",2),Qr=Zr([st(Yr)],Qr);try{customElements.define(Yr,Qr)}catch(Va){}var Gr=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,Xr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Jr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Gr(e,r,i),i};const ts="sonic-submit";let es=class extends(Et(et)){constructor(){super(...arguments),this.submitResultKey=null,this.disabled=!1,this.endPoint=null,this.api=null}connectedCallback(){this.hasAttribute("onClick")&&this.addEventListener("click",(()=>this.submit())),this.hasAttribute("onEnterKey")&&this.addEventListener("keydown",(t=>{"Enter"===t.key&&this.submit()})),super.connectedCallback(),this.api=new wt(this.getApiConfiguration())}async submit(){var t,e,r;const s=gt.getInstance().get(this.getAncestorAttributeValue("formDataProvider"));if(s.isFormValid=!0,s.invalidate(),!s.isFormValid.get())return;this.publisher&&(this.publisher.disabled=!0),s.isFormValid;let o=(null==(t=this.getAttribute("method"))?void 0:t.toLocaleLowerCase())||"post",i=this.hasAttribute("sendAsFormData"),n=s.get();delete n.isFormValid;const a=gt.getInstance().get(this.getAncestorAttributeValue("headersDataProvider"));let l=a.get(),c=null,h=this.getAncestorAttributeValue("dataProvider"),d=this.endPoint||h;Ht.show();let p=async()=>{var t,e,r,s,a;if(i)c=await(null==(t=this.api)?void 0:t.submitFormData(d,n,l));else switch(o){case"put":c=await(null==(e=this.api)?void 0:e.put(d,n,l));break;case"delete":c=await(null==(r=this.api)?void 0:r.delete(d,n,l));break;case"get":c=await(null==(s=this.api)?void 0:s.get(d,l));break;default:c=await(null==(a=this.api)?void 0:a.post(d,n,l))}Ht.hide(),c||(c={messages:[{content:"Network Error",status:"error"}]});let h=this.getAncestorAttributeValue("clearedDataOnSuccess");h&&h.split(" ").forEach((t=>gt.get(t).set({}))),this.submitResultKey&&(c=vt.traverse(c,this.submitResultKey.split("."),!0)),gt.getInstance().get(this.getAncestorAttributeValue("submitResultDataProvider")).set(c),this.publisher&&(this.publisher.disabled=!1)},u=a.needsCaptchaValidation.get()?a:s.needsCaptchaValidation.get()?s:null;u?(u.captchaMethod=o,u.captchaAction=null!=(r=null!=(e=null==h?void 0:h.split("?")[0])?e:this.getAncestorAttributeValue("formDataProvider"))?r:"submit",u.captchaToken="request_token",u.captchaToken.onAssign((t=>{"request_token"!=t&&p()}))):p()}render(){return L`<div ?data-disabled="${this.disabled}"><slot></slot></div>`}};es.styles=n`[data-disabled]{opacity:.3;pointer-events:none;user-select:none}`,Xr([it({type:String})],es.prototype,"submitResultKey",2),Xr([it({type:Boolean})],es.prototype,"disabled",2),Xr([it({type:String})],es.prototype,"endPoint",2),es=Xr([st(ts)],es);try{customElements.define(ts,es)}catch(Va){}var rs,ss,os,is,ns="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},as={exports:{}};rs=as,is=[].slice,ss=ns,os=function(){var t,e,r,s,o,i,n,a,l,c,h,d,p,u,m;return l=function(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},n=function(t,e){var r,s,o;for(o=[],r=-1,s=t.length;++r<s;)o=o.concat(e(t[r]));return o},u=function(t,e){var r,s,o;for(o="",r=-1,s=t.length;++r<s;)o+=e(t[r]);return o},p=function(t){return new RegExp(t.toString()+"|").exec("").length-1},h=function(t,e){var r,s,o,i,n;for(i={},r=-1,o=t.length;++r<o;)s=t[r],null!=(n=e[r])&&(null!=i[s]?(Array.isArray(i[s])||(i[s]=[i[s]]),i[s].push(n)):i[s]=n);return i},(t={}).Result=function(t,e){this.value=t,this.rest=e},t.Tagged=function(t,e){this.tag=t,this.value=e},t.tag=function(e,r){return function(s){var o,i;if(null!=(o=r(s)))return i=new t.Tagged(e,o.value),new t.Result(i,o.rest)}},t.regex=function(e){return function(r){var s,o;if(null!=(s=e.exec(r)))return o=s[0],new t.Result(o,r.slice(o.length))}},t.sequence=function(){var e;return e=1<=arguments.length?is.call(arguments,0):[],function(r){var s,o,i,n,a;for(s=-1,o=e.length,a=[],i=r;++s<o;){if(null==(n=(0,e[s])(i)))return;a.push(n.value),i=n.rest}return new t.Result(a,i)}},t.pick=function(){var e,r;return e=arguments[0],r=2<=arguments.length?is.call(arguments,1):[],function(s){var o,i;if(null!=(i=t.sequence.apply(t,r)(s)))return o=i.value,i.value=o[e],i}},t.string=function(e){var r;return r=e.length,function(s){if(s.slice(0,r)===e)return new t.Result(e,s.slice(r))}},t.lazy=function(t){var e;return e=null,function(r){return null==e&&(e=t()),e(r)}},t.baseMany=function(e,r,s,o,i){var n,a,l;for(a=i,l=s?"":[];(null==r||null==r(a))&&null!=(n=e(a));)s?l+=n.value:l.push(n.value),a=n.rest;if(!o||0!==l.length)return new t.Result(l,a)},t.many1=function(e){return function(r){return t.baseMany(e,null,!1,!0,r)}},t.concatMany1Till=function(e,r){return function(s){return t.baseMany(e,r,!0,!0,s)}},t.firstChoice=function(){var t;return t=1<=arguments.length?is.call(arguments,0):[],function(e){var r,s,o;for(r=-1,s=t.length;++r<s;)if(null!=(o=(0,t[r])(e)))return o}},d=function(e){var r;return(r={}).wildcard=t.tag("wildcard",t.string(e.wildcardChar)),r.optional=t.tag("optional",t.pick(1,t.string(e.optionalSegmentStartChar),t.lazy((function(){return r.pattern})),t.string(e.optionalSegmentEndChar))),r.name=t.regex(new RegExp("^["+e.segmentNameCharset+"]+")),r.named=t.tag("named",t.pick(1,t.string(e.segmentNameStartChar),t.lazy((function(){return r.name})))),r.escapedChar=t.pick(1,t.string(e.escapeChar),t.regex(/^./)),r.static=t.tag("static",t.concatMany1Till(t.firstChoice(t.lazy((function(){return r.escapedChar})),t.regex(/^./)),t.firstChoice(t.string(e.segmentNameStartChar),t.string(e.optionalSegmentStartChar),t.string(e.optionalSegmentEndChar),r.wildcard))),r.token=t.lazy((function(){return t.firstChoice(r.wildcard,r.optional,r.named,r.static)})),r.pattern=t.many1(t.lazy((function(){return r.token}))),r},a={escapeChar:"\\",segmentNameStartChar:":",segmentValueCharset:"a-zA-Z0-9-_~ %",segmentNameCharset:"a-zA-Z0-9",optionalSegmentStartChar:"(",optionalSegmentEndChar:")",wildcardChar:"*"},i=function(t,e){if(Array.isArray(t))return u(t,(function(t){return i(t,e)}));switch(t.tag){case"wildcard":return"(.*?)";case"named":return"(["+e+"]+)";case"static":return l(t.value);case"optional":return"(?:"+i(t.value,e)+")?"}},o=function(t,e){return null==e&&(e=a.segmentValueCharset),"^"+i(t,e)+"$"},s=function(t){if(Array.isArray(t))return n(t,s);switch(t.tag){case"wildcard":return["_"];case"named":return[t.value];case"static":return[];case"optional":return s(t.value)}},c=function(t,e,r,s){var o,i,n;if(null==s&&(s=!1),null!=(n=t[e])){if(!((o=r[e]||0)>(Array.isArray(n)?n.length-1:0)))return i=Array.isArray(n)?n[o]:n,s&&(r[e]=o+1),i;if(s)throw new Error("too few values provided for key `"+e+"`")}else if(s)throw new Error("no values provided for key `"+e+"`")},r=function(t,e,s){var o,i;if(Array.isArray(t)){for(o=-1,i=t.length;++o<i;)if(r(t[o],e,s))return!0;return!1}switch(t.tag){case"wildcard":return null!=c(e,"_",s,!1);case"named":return null!=c(e,t.value,s,!1);case"static":return!1;case"optional":return r(t.value,e,s)}},m=function(t,e,s){if(Array.isArray(t))return u(t,(function(t){return m(t,e,s)}));switch(t.tag){case"wildcard":return c(e,"_",s,!0);case"named":return c(e,t.value,s,!0);case"static":return t.value;case"optional":return r(t.value,e,s)?m(t.value,e,s):""}},(e=function(t,r){var i,n,l;if(t instanceof e)return this.isRegex=t.isRegex,this.regex=t.regex,this.ast=t.ast,void(this.names=t.names);if(this.isRegex=t instanceof RegExp,"string"!=typeof t&&!this.isRegex)throw new TypeError("argument must be a regex or a string");if(this.isRegex){if(this.regex=t,null!=r){if(!Array.isArray(r))throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");if(i=p(this.regex),r.length!==i)throw new Error("regex contains "+i+" groups but array of group names contains "+r.length);this.names=r}}else{if(""===t)throw new Error("argument must not be the empty string");if(t.replace(/\s+/g,"")!==t)throw new Error("argument must not contain whitespace");if(n={escapeChar:(null!=r?r.escapeChar:void 0)||a.escapeChar,segmentNameStartChar:(null!=r?r.segmentNameStartChar:void 0)||a.segmentNameStartChar,segmentNameCharset:(null!=r?r.segmentNameCharset:void 0)||a.segmentNameCharset,segmentValueCharset:(null!=r?r.segmentValueCharset:void 0)||a.segmentValueCharset,optionalSegmentStartChar:(null!=r?r.optionalSegmentStartChar:void 0)||a.optionalSegmentStartChar,optionalSegmentEndChar:(null!=r?r.optionalSegmentEndChar:void 0)||a.optionalSegmentEndChar,wildcardChar:(null!=r?r.wildcardChar:void 0)||a.wildcardChar},null==(l=d(n).pattern(t)))throw new Error("couldn't parse pattern");if(""!==l.rest)throw new Error("could only partially parse pattern");this.ast=l.value,this.regex=new RegExp(o(this.ast,n.segmentValueCharset)),this.names=s(this.ast)}}).prototype.match=function(t){var e,r;return null==(r=this.regex.exec(t))?null:(e=r.slice(1),this.names?h(this.names,e):e)},e.prototype.stringify=function(t){if(null==t&&(t={}),this.isRegex)throw new Error("can't stringify patterns generated from a regex");if(t!==Object(t))throw new Error("argument must be an object or undefined");return m(this.ast,t,{})},e.escapeForRegex=l,e.concatMap=n,e.stringConcatMap=u,e.regexGroupCount=p,e.keysAndValuesToObject=h,e.P=t,e.newParser=d,e.defaultOptions=a,e.astNodeToRegexString=o,e.astNodeToNames=s,e.getParam=c,e.astNodeContainsSegmentsForProvidedParams=r,e.stringify=m,e},null!==as.exports?rs.exports=os():ss.UrlPattern=os();var ls=as.exports,cs=Object.defineProperty,hs=Object.getOwnPropertyDescriptor,ds=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?hs(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&cs(e,r,i),i};const ps="sonic-router";let us=class extends(Et(Lt(et))){constructor(){super(...arguments),this.templateValueAttribute="data-route",this._location=document.location.href.replace(document.location.origin,"")}connectedCallback(){this.noShadowDom="",Ge.onChange(this),super.connectedCallback()}disconnectedCallback(){Ge.offChange(this),super.disconnectedCallback()}set location(t){this._location=t,this.requestUpdate()}get location(){return this._location}render(){let t=[];for(let e of this.templatePartsList){let r=e.getAttribute(this.templateValueAttribute),s=new RegExp(r),o=new ls(r);s.test(this.location)?t.push(e):o.match(this.location)&&(e.setAttribute("mode","patternMatching"),t.push(e))}return L`${se(t,((t,e)=>e+(new Date).getTime()),(t=>{var e;if(t.title&&(document.title=t.title),t.hasAttribute("dataProviderExpression")){let r="",s=t.getAttribute("dataProviderExpression");if("patternMatching"==t.getAttribute("mode")){const e=new ls(t.getAttribute(this.templateValueAttribute));r=new ls(s).stringify(e.match(this.location))}else{const o=new RegExp(t.getAttribute(this.templateValueAttribute));let i=(this.location+"").match(o);i&&(r=null==(e=i.shift())?void 0:e.replace(o,s))}return L`<div style="display:contents" dataProvider="${r}">${Nr(t)}</div>`}return Nr(t)}))}`}};ds([it()],us.prototype,"location",1),us=ds([st(ps)],us);try{customElements.define(ps,us)}catch(Va){}var ms=Object.defineProperty,gs=Object.getOwnPropertyDescriptor;const bs="sonic-redirect";let fs=class extends(Et(et)){constructor(){super(...arguments),this.udpateCallBack=()=>{}}connectedCallback(){this.noShadowDom="",this.style.display="none",super.connectedCallback(),this.udpateCallBack=()=>this.update(),this.publisher&&this.publisher.onInternalMutation(this.udpateCallBack)}disconnectedCallback(){this.publisher&&this.publisher.offInternalMutation(this.udpateCallBack),super.disconnectedCallback()}update(){if(!this.props)return;let t=this.getAttribute("onData").split("."),e=vt.traverse(this.props,t);!e||vt.isObject(e)&&e||Ge.changeFromComponent(this)}};fs=((t,e,r,s)=>{for(var o,i=s>1?void 0:s?gs(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&ms(e,r,i),i})([st(bs)],fs);try{customElements.define(bs,fs)}catch(Va){}var vs=Object.defineProperty,ys=Object.getOwnPropertyDescriptor,ws=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?ys(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&vs(e,r,i),i};const xs="sonic-states";let _s=class extends(Et(Lt(et))){constructor(){super(...arguments),this.state="",this.inverted=!1,this.statePath="",this.onAssign=null}connectedCallback(){if(super.connectedCallback(),this.hasAttribute("data-path")&&(this.statePath=this.getAttribute("data-path")),this.statePath){this.statePublisher=this.publisher;let t=this.statePath.split(".");for(let e of t)this.statePublisher=this.statePublisher[e];this.onAssign=t=>{this.state=t,this.requestUpdate()},this.statePublisher.onAssign(this.onAssign)}}disconnectedCallback(){this.statePath&&this.statePublisher.offAssign(this.onAssign),super.disconnectedCallback()}render(){let t=[],e=this.state;(!Array.isArray(e)&&vt.isObject(e)||void 0===e)&&(e="");for(let r of this.templatePartsList){let s=r.getAttribute(this.templateValueAttribute),o=e;if(this.inverted&&(o=s,s=e),""==s&&(s=this.inverted?".*?":"^$"),new RegExp(s).test(o))t.push(r),r.removeAttribute("mode");else{let e=new ls(s);e.names.length>0&&e.match(o)&&(r.setAttribute("mode","patternMatching"),t.push(r))}}return L`${se(t,((t,e)=>e+(new Date).getTime()),(t=>{var r;if(t.title&&(document.title=t.title),t.hasAttribute("dataProviderExpression")){let s=t.getAttribute("dataProviderExpression"),o="",i=e,n=t.getAttribute(this.templateValueAttribute);if(this.inverted&&(i=n,n=e),""==n&&(n=this.inverted?"*":"^$"),"patternMatching"==t.getAttribute("mode")){const t=new ls(n);o=new ls(s).stringify(t.match(i))}else{const t=new RegExp(n);let e=(i+"").match(t);e&&(o=null==(r=e.shift())?void 0:r.replace(t,s))}return L`<div style="display:contents" dataProvider="${o}">${Nr(t)}</div>`}return Nr(t)}))}`}};ws([it()],_s.prototype,"state",2),ws([it({type:Boolean,reflect:!0})],_s.prototype,"inverted",2),_s=ws([st(xs)],_s);try{customElements.define(xs,_s)}catch(Va){}var ks=Object.defineProperty,As=Object.getOwnPropertyDescriptor;let Ps=class extends et{createRenderRoot(){return this}render(){return L`<slot></slot>`}};Ps=((t,e,r,s)=>{for(var o,i=s>1?void 0:s?As(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&ks(e,r,i),i})([st("sonic-scope")],Ps);var $s=Object.defineProperty,Cs=Object.getOwnPropertyDescriptor,Ss=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Cs(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&$s(e,r,i),i};let Os=class extends(Et(et)){constructor(){super(...arguments),this.text="Example"}render(){return L`${this.text}`}};Ss([it()],Os.prototype,"text",2),Os=Ss([st("sonic-example")],Os);var Es=Object.defineProperty,js=Object.getOwnPropertyDescriptor,zs=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?js(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Es(e,r,i),i};const Ds=t=>{class e extends t{constructor(...t){super(),this.forceAutoFill=!1,this._type="text"}validateFormElement(){var t;const e=null==(t=this.shadowRoot)?void 0:t.querySelector("input");e&&!e.checkValidity()&&(this.getFormPublisher().isFormValid=!1,e.reportValidity())}set type(t){this.hasAttribute("type")&&!this.forceAutoFill&&(t=this.getAttribute("type")),this._type=t,this.requestUpdate()}get type(){return this._type}get description(){return this._description}set description(t){this.hasAttribute("description")&&!this.forceAutoFill&&(t=this.getAttribute("description")),this._description=t,this.requestUpdate()}get label(){return this._label}set label(t){this.hasAttribute("label")&&!this.forceAutoFill&&(t=this.getAttribute("label")),this._label=t,this.requestUpdate()}}return zs([it()],e.prototype,"forceAutoFill",2),zs([it({type:String})],e.prototype,"type",1),zs([it()],e.prototype,"description",1),zs([it()],e.prototype,"label",1),zs([it({type:Number})],e.prototype,"tabindex",2),zs([it({type:String})],e.prototype,"autocomplete",2),e},Ls=$r,Ms=nr,Ns=rr,Fs=Ds,Is=Et,Ts=Lt;let Rs=window;Rs["concorde-mixins"]=Rs["concorde-mixins"]||{},Rs["concorde-mixins"]={Fetcher:Ls,FormCheckable:Ms,FormElement:Ns,FormInput:Fs,Subscriber:Is,TemplatesContainer:Ts};var Vs=Object.defineProperty,Us=Object.getOwnPropertyDescriptor,Bs=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Us(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Vs(e,r,i),i};let qs=class extends(Ls(Is(et))){connectedCallback(){this.noShadowDom="",this.isFetchEnabled=this.hasAttribute("fetch"),super.connectedCallback()}get props(){return super.props}async loadJS(t){return new Promise((async e=>{let r=document.createElement("script");r.src=t,r.onload=()=>e(!0),r.onerror=()=>e(!0),document.head.appendChild(r)}))}async loadCSS(t){return new Promise((async e=>{var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=t,r.onload=()=>e(!0),r.onerror=()=>e(!0),document.head.appendChild(r)}))}set props(t){super.props=t,this.updateContents()}async updateContents(){for(;[...this.children].filter((t=>"SLOT"!=t.nodeName)).length>0;)this.removeChild(this.children[0]);if(!this.props)return;try{if(this.props.js)for(const t of this.props.js)this.loadJS(t);if(this.props.css)for(const t of this.props.css)this.loadCSS(t)}catch(Va){}let t=this.props.nodes;if(t)for(let e of t)this.appendChild(this.parseChild(e))}parseChild(t){let e,r=t.type||"div";if(t.markup)return e=document.createElement("div"),e.style.display="contents",e.innerHTML=t.markup,e;e=t.library&&this.props.library?this.parseChild(this.props.library[t.library]||{type:"div"}):document.createElement(r);let s=t.attributes;for(let o in s)e.setAttribute(o,s[o]);if(t.innerHTML&&(e.innerHTML=t.innerHTML),t.nodes){let r=t.nodes;for(let t of r)e.shadowRoot?e.shadowRoot.appendChild(this.parseChild(t)):e.appendChild(this.parseChild(t))}if(t.prefix||t.suffix){const r=document.createElement("div");return r.innerHTML=(t.prefix||"")+e.outerHTML+(t.suffix||""),r.style.display="contents",r}return e}};Bs([it()],qs.prototype,"props",1),qs=Bs([st("sonic-sdui")],qs);const Hs=n`:host{--sc-font-family-base:"Inter var",-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--sc-font-weight-base:400;--sc-font-style-base:normal;--sc-headings-font-family:var(--sc-font-family-base);--sc-headings-font-style:var(--sc-font-style-base);--sc-headings-line-height:1.1;--sc-headings-font-weight:700;--sc-headings-text-transform:none;--sc-btn-font-weight:var(--sc-font-weight-base);--sc-btn-font-family:var(--sc-font-family-base);--sc-btn-font-style:var(--sc-font-style-base);--sc-rounded-sm:calc(var(--sc-rounded) * 0.5);--sc-rounded:0.375rem;--sc-rounded-md:calc(var(--sc-rounded) * 1.8);--sc-rounded-lg:calc(var(--sc-rounded) * 3.5);--sc-rounded-xl:calc(var(--sc-rounded) * 7);--sc-rounded-size-intensity:calc((1em - 1rem) * .4);--sc-btn-rounded-intensity:1.4;--sc-btn-font-weight:500;--sc-btn-rounded:calc((var(--sc-rounded) + var(--sc-rounded-size-intensity)) * var(--sc-btn-rounded-intensity) );--sc-placeholder-bg:rgba(17, 24, 39, 0.05);--sc-shadow-sm:0 1px 3px 0 rgb(0 0 0 / 0.1),0 1px 2px -1px rgb(0 0 0 / 0.1);--sc-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1),0 2px 4px -2px rgb(0 0 0 / 0.1);--sc-shadow-lg:0 10px 15px -3px rgb(0 0 0 / 0.1),0 4px 6px -4px rgb(0 0 0 / 0.1);--sc-shadow-xl:0 20px 25px -5px rgb(0 0 0 / 0.1),0 8px 10px -6px rgb(0 0 0 / 0.1);--sc-shadow-2xl:0 25px 50px -12px rgb(0 0 0 / 0.25);--sc-border-width:max(1px, 0.12rem);--sc-form-height:2.5em;--sc-form-border-width:var(--sc-border-width);--sc-input-bg:var(--sc-base-100);--sc-input-border-color:var(--sc-input-bg);--sc-input-rounded-intensity:1.4;--sc-input-rounded:calc((var(--sc-rounded) + var(--sc-rounded-size-intensity)) * var(--sc-input-rounded-intensity) );--sc-label-font-weight:500;--sc-contrast-content:#fff;--sc-contrast:#11151f;--sc-scrollbar-bg:var(--sc-base-400);--sc-body-bg:var(--sc-base)}`,Ks=n`:host{--sc-primary:var(--sc-base-800);--sc-info:#2563eb;--sc-danger:#f43f5e;--sc-warning:#f97316;--sc-success:#14b8a6;--sc-primary-content:var(--sc-base);--sc-info-content:var(--sc-base);--sc-danger-content:var(--sc-base);--sc-warning-content:var(--sc-base);--sc-success-content:var(--sc-base);--sc-base:#fff;--sc-base-50:#f8fafc;--sc-base-100:#f1f5f9;--sc-base-200:#e2e8f0;--sc-base-300:#cbd5e1;--sc-base-400:#94a3b8;--sc-base-500:#64748b;--sc-base-600:#475569;--sc-base-700:#334155;--sc-base-800:#1e293b;--sc-base-900:#0f172a;--sc-base-content:var(--sc-base-700);--sc-input-bg:var(--sc-base-100);--sc-input-color:var(--sc-base-content)}`,Ws=n``,Zs=n`:host([theme=dark]){${Ws}}@media (prefers-color-scheme:dark){:host([theme=auto]){${Ws}}}`;var Ys=n`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~="not-prose"] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~="not-prose"] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(thead th strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(ol):not(:where([class~="not-prose"] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type="A"]):not(:where([class~="not-prose"] *)){list-style-type:upper-alpha}.prose :where(ol[type="a"]):not(:where([class~="not-prose"] *)){list-style-type:lower-alpha}.prose :where(ol[type="A" s]):not(:where([class~="not-prose"] *)){list-style-type:upper-alpha}.prose :where(ol[type="a" s]):not(:where([class~="not-prose"] *)){list-style-type:lower-alpha}.prose :where(ol[type="I"]):not(:where([class~="not-prose"] *)){list-style-type:upper-roman}.prose :where(ol[type="i"]):not(:where([class~="not-prose"] *)){list-style-type:lower-roman}.prose :where(ol[type="I" s]):not(:where([class~="not-prose"] *)){list-style-type:upper-roman}.prose :where(ol[type="i" s]):not(:where([class~="not-prose"] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~="not-prose"] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~="not-prose"] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol > li):not(:where([class~="not-prose"] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul > li):not(:where([class~="not-prose"] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~="not-prose"] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~="not-prose"] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\\201c""\\201d""\\2018""\\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"] *)):after{content:close-quote}.prose :where(h1):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~="not-prose"] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~="not-prose"] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~="not-prose"] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~="not-prose"] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~="not-prose"] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~="not-prose"] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~="not-prose"] *)):before{content:"\`"}.prose :where(code):not(:where([class~="not-prose"] *)):after{content:"\`"}.prose :where(a code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(h1 code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(h2 code):not(:where([class~="not-prose"] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~="not-prose"] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(blockquote code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(thead th code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(pre):not(:where([class~="not-prose"] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~="not-prose"] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~="not-prose"] *)):before{content:none}.prose :where(pre code):not(:where([class~="not-prose"] *)):after{content:none}.prose :where(table):not(:where([class~="not-prose"] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~="not-prose"] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~="not-prose"] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~="not-prose"] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~="not-prose"] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~="not-prose"] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~="not-prose"] *)){vertical-align:top}.prose{--tw-prose-body: var(--sc-base-content);--tw-prose-headings: var(--sc-base-900);--tw-prose-lead: var(--sc-base-600);--tw-prose-links: var(--sc-base-900);--tw-prose-bold: var(--sc-base-900);--tw-prose-counters: var(--sc-base-500);--tw-prose-bullets: var(--sc-base-300);--tw-prose-hr: var(--sc-base-200);--tw-prose-quotes: var(--sc-base-900);--tw-prose-quote-borders: var(--sc-base-200);--tw-prose-captions: var(--sc-base-500);--tw-prose-code: var(--sc-base-900);--tw-prose-pre-code: var(--sc-base-200);--tw-prose-pre-bg: var(--sc-base-800);--tw-prose-th-borders: var(--sc-base-300);--tw-prose-td-borders: var(--sc-base-200);--tw-prose-invert-body: var(--sc-base-300);--tw-prose-invert-headings: var(--sc-base);--tw-prose-invert-lead: var(--sc-base-400);--tw-prose-invert-links: var(--sc-base);--tw-prose-invert-bold: var(--sc-base);--tw-prose-invert-counters: var(--sc-base-400);--tw-prose-invert-bullets: var(--sc-base-600);--tw-prose-invert-hr: var(--sc-base-700);--tw-prose-invert-quotes: var(--sc-base-100);--tw-prose-invert-quote-borders: var(--sc-base-700);--tw-prose-invert-captions: var(--sc-base-400);--tw-prose-invert-code: var(--sc-base);--tw-prose-invert-pre-code: var(--sc-base-300);--tw-prose-invert-pre-bg: var(--sc-base-900);--tw-prose-invert-th-borders: var(--sc-base-600);--tw-prose-invert-td-borders: var(--sc-base-700);font-size:1rem;line-height:1.75}.prose :where(p):not(:where([class~="not-prose"] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(video):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~="not-prose"] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.375em}.prose :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.375em}.prose :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~="lead"]):not(:where([class~="not-prose"] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~="not-prose"] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~="not-prose"] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~="not-prose"] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~="not-prose"] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(video):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(code):not(:where([class~="not-prose"] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~="not-prose"] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~="not-prose"] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~="not-prose"] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.4285714em}.prose-sm :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.4285714em}.prose-sm :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.1428571em}.prose-sm :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.1428571em}.prose-sm :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(hr):not(:where([class~="not-prose"] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(table):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~="not-prose"] *)){padding-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose-sm :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-base :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose-base :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose-base :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose-base :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose-base :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose-base :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-base :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-lg :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-lg :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-lg :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-lg :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-xl :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8em;margin-bottom:.8em}.prose-xl :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.2em}.prose-xl :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.2em}.prose-xl :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.2em}.prose-xl :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.2em}.prose-xl :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-xl :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-2xl :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8333333em;margin-bottom:.8333333em}.prose-2xl :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-2xl :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-2xl :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-2xl :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-2xl :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-2xl :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-tight :where(p,ul,ol,pre):not(:where([class~="not-prose"] *)){line-height:1.25;margin:0 0 .5em}.prose-tight :where(li):not(:where([class~="not-prose"] *)){margin-bottom:.5em}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.top-0{top:0px}.left-0{left:0px}.right-1{right:.25rem}.bottom-1{bottom:.25rem}.bottom-4{bottom:1rem}.left-4{left:1rem}.right-4{right:1rem}.top-\\[-1px\\]{top:-1px}.right-5{right:1.25rem}.top-1\\/2{top:50%}.bottom-0{bottom:0px}.-right-1{right:-.25rem}.-bottom-1{bottom:-.25rem}.z-10{z-index:10}.z-20{z-index:20}.z-0{z-index:0}.col-span-full{grid-column:1 / -1}.col-span-3{grid-column:span 3 / span 3}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.my-8{margin-top:2rem;margin-bottom:2rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-auto{margin-top:auto;margin-bottom:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-\\[-3vw\\]{margin-left:-3vw;margin-right:-3vw}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-4{margin-bottom:1rem}.mt-5{margin-top:1.25rem}.mb-1{margin-bottom:.25rem}.mb-6{margin-bottom:1.5rem}.mr-4{margin-right:1rem}.mb-2{margin-bottom:.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mb-5{margin-bottom:1.25rem}.mt-8{margin-top:2rem}.mr-3{margin-right:.75rem}.mt-\\[\\.15em\\]{margin-top:.15em}.mb-10{margin-bottom:2.5rem}.mb-7{margin-bottom:1.75rem}.mb-12{margin-bottom:3rem}.mb-3{margin-bottom:.75rem}.mt-2{margin-top:.5rem}.ml-\\[\\.10em\\]{margin-left:.1em}.ml-3{margin-left:.75rem}.mt-4{margin-top:1rem}.mt-1{margin-top:.25rem}.mr-2{margin-right:.5rem}.mt-3{margin-top:.75rem}.ml-auto{margin-left:auto}.mb-\\[2em\\]{margin-bottom:2em}.mr-1{margin-right:.25rem}.mb-20{margin-bottom:5rem}.ml-2{margin-left:.5rem}.mr-\\[\\.25em\\]{margin-right:.25em}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-20{height:5rem}.h-2{height:.5rem}.h-5{height:1.25rem}.h-1\\/2{height:50%}.h-96{height:24rem}.max-h-\\[10rem\\]{max-height:10rem}.w-full{width:100%}.w-72{width:18rem}.w-12{width:3rem}.w-20{width:5rem}.w-2{width:.5rem}.w-5{width:1.25rem}.w-10\\/12{width:83.333333%}.w-24{width:6rem}.w-\\[1\\.2em\\]{width:1.2em}.min-w-full{min-width:100%}.min-w-max{min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content}.min-w-\\[11rem\\]{min-width:11rem}.min-w-\\[5rem\\]{min-width:5rem}.max-w-lg{max-width:32rem}.max-w-xs{max-width:20rem}.max-w-\\[80ch\\]{max-width:80ch}.max-w-\\[32rem\\]{max-width:32rem}.max-w-\\[20rem\\]{max-width:20rem}.max-w-none{max-width:none}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-\\[minmax\\(0\\,1fr\\)\\,minmax\\(0\\,4fr\\)\\]{grid-template-columns:minmax(0,1fr) minmax(0,4fr)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\\[1fr\\,_2fr\\]{grid-template-columns:1fr 2fr}.grid-cols-\\[minmax\\(0\\,_3fr\\)_minmax\\(0\\,_2fr\\)\\]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\\[minmax\\(6rem\\,_min\\(20\\%\\,_10rem\\)\\)\\,_1fr\\]{grid-template-columns:minmax(6rem,min(20%,10rem)) 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-around{justify-content:space-around}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.gap-3{gap:.75rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-10{gap:2.5rem}.gap-1{gap:.25rem}.gap-6{gap:1.5rem}.gap-\\[1\\.5em\\]{gap:1.5em}.gap-\\[\\.2rem_\\.7rem\\]{gap:.2rem .7rem}.gap-\\[\\.25em\\]{gap:.25em}.gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.gap-x-\\[\\.75em\\]{-moz-column-gap:.75em;column-gap:.75em}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:var(--sc-rounded-lg)}.rounded-md{border-radius:var(--sc-rounded-md)}.rounded{border-radius:var(--sc-rounded)}.rounded-full{border-radius:9999px}.rounded-t-md{border-top-left-radius:var(--sc-rounded-md);border-top-right-radius:var(--sc-rounded-md)}.border{border-width:var(--sc-border-width)}.border-b-\\[1px\\]{border-bottom-width:1px}.border-solid{border-style:solid}.border-dotted{border-style:dotted}.border-success{border-color:var(--sc-success)}.border-t-neutral-200{border-top-color:var(--sc-base-200)}.border-b-neutral-100{border-bottom-color:var(--sc-base-100)}.border-b-neutral-300{border-bottom-color:var(--sc-base-300)}.bg-danger{background-color:var(--sc-danger)}.bg-neutral-0{background-color:var(--sc-base)}.bg-neutral-200{background-color:var(--sc-base-200)}.bg-contrast{background-color:var(--sc-contrast)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-\\[rgba\\(0\\,0\\,10\\,\\.2\\)\\]{--tw-gradient-from: rgba(0,0,10,.2);--tw-gradient-to: rgb(0 0 10 / 0);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.object-contain{-o-object-fit:contain;object-fit:contain}.p-7{padding:1.75rem}.p-4{padding:1rem}.p-3{padding:.75rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-\\[3vw\\]{padding-left:3vw;padding-right:3vw}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.pt-20{padding-top:5rem}.pr-3{padding-right:.75rem}.pt-\\[\\.06em\\]{padding-top:.06em}.text-center{text-align:center}.font-headings{font-family:var(--sc-headings-font-family)}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-black{font-weight:900}.font-medium{font-weight:500}.font-extrabold{font-weight:800}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.leading-tight{line-height:1.25}.text-neutral-0{color:var(--sc-base)}.text-neutral-300{color:var(--sc-base-300)}.text-primary{color:var(--sc-primary)}.text-neutral-500{color:var(--sc-base-500)}.text-contrast-content{color:var(--sc-contrast-content)}.text-neutral-400{color:var(--sc-base-400)}.text-info{color:var(--sc-info)}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.opacity-60{opacity:.6}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_0_2rem_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 0 0 2rem rgba(0,0,0,.2);--tw-shadow-colored: 0 0 2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-danger{--tw-shadow-color: var(--sc-danger);--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[display\\:none\\]{display:none}.hover\\:text-neutral-400:hover{color:var(--sc-base-400)}.group:hover .group-hover\\:underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.prose-img\\:rounded-lg :is(:where(img):not(:where([class~="not-prose"] *))){border-radius:var(--sc-rounded-lg)}@media (min-width: 640px){.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){.md\\:block{display:block}.md\\:hidden{display:none}.md\\:grid-cols-\\[minmax\\(0\\,2fr\\)\\,minmax\\(0\\,5fr\\)\\]{grid-template-columns:minmax(0,2fr) minmax(0,5fr)}.md\\:py-4{padding-top:1rem;padding-bottom:1rem}.md\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\\:prose-lg{font-size:1.125rem;line-height:1.7777778}.lg\\:prose-lg :where(p):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.lg\\:prose-lg :where([class~="lead"]):not(:where([class~="not-prose"] *)){font-size:1.2222222em;line-height:1.4545455;margin-top:1.0909091em;margin-bottom:1.0909091em}.lg\\:prose-lg :where(blockquote):not(:where([class~="not-prose"] *)){margin-top:1.6666667em;margin-bottom:1.6666667em;padding-left:1em}.lg\\:prose-lg :where(h1):not(:where([class~="not-prose"] *)){font-size:2.6666667em;margin-top:0;margin-bottom:.8333333em;line-height:1}.lg\\:prose-lg :where(h2):not(:where([class~="not-prose"] *)){font-size:1.6666667em;margin-top:1.8666667em;margin-bottom:1.0666667em;line-height:1.3333333}.lg\\:prose-lg :where(h3):not(:where([class~="not-prose"] *)){font-size:1.3333333em;margin-top:1.6666667em;margin-bottom:.6666667em;line-height:1.5}.lg\\:prose-lg :where(h4):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:.4444444em;line-height:1.5555556}.lg\\:prose-lg :where(img):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(video):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(figure):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.lg\\:prose-lg :where(figcaption):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.5;margin-top:1em}.lg\\:prose-lg :where(code):not(:where([class~="not-prose"] *)){font-size:.8888889em}.lg\\:prose-lg :where(h2 code):not(:where([class~="not-prose"] *)){font-size:.8666667em}.lg\\:prose-lg :where(h3 code):not(:where([class~="not-prose"] *)){font-size:.875em}.lg\\:prose-lg :where(pre):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.75;margin-top:2em;margin-bottom:2em;border-radius:.375rem;padding:1em 1.5em}.lg\\:prose-lg :where(ol):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.lg\\:prose-lg :where(ul):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.lg\\:prose-lg :where(li):not(:where([class~="not-prose"] *)){margin-top:.6666667em;margin-bottom:.6666667em}.lg\\:prose-lg :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.4444444em}.lg\\:prose-lg :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.4444444em}.lg\\:prose-lg :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.lg\\:prose-lg :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.lg\\:prose-lg :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.lg\\:prose-lg :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.lg\\:prose-lg :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.lg\\:prose-lg :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.lg\\:prose-lg :where(hr):not(:where([class~="not-prose"] *)){margin-top:3.1111111em;margin-bottom:3.1111111em}.lg\\:prose-lg :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(table):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.5}.lg\\:prose-lg :where(thead th):not(:where([class~="not-prose"] *)){padding-right:.75em;padding-bottom:.75em;padding-left:.75em}.lg\\:prose-lg :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.lg\\:prose-lg :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.lg\\:prose-lg :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.75em}.lg\\:prose-lg :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.lg\\:prose-lg :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.lg\\:prose-lg :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:text-base{font-size:1rem;line-height:1.5rem}.lg\\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1280px){.xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.xl\\:text-lg{font-size:1.125rem;line-height:1.75rem}.xl\\:text-2xl{font-size:1.5rem;line-height:2rem}}
95
+ */const Nr=Zt(class extends Yt{constructor(t){if(super(t),t.type!==Wt)throw Error("templateContent can only be used in child bindings")}render(t){return this.vt===t?M:(this.vt=t,document.importNode(t.content,!0))}});var Fr=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor;const Tr="sonic-subscriber";let Rr=class extends(Et(et)){constructor(){super(...arguments),this.noAutofill=!0}connectedCallback(){this.noShadowDom="",super.connectedCallback()}updated(t){super.updated(t),0==this.children.length?this.style.display="none":this.style.display="contents"}render(){return L`<slot></slot>`}};Rr=((t,e,r,s)=>{for(var o,i=s>1?void 0:s?Ir(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Fr(e,r,i),i})([st(Tr)],Rr);try{customElements.define(Tr,Rr)}catch(Va){}var Vr=Object.defineProperty,Ur=Object.getOwnPropertyDescriptor,Br=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Ur(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Vr(e,r,i),i};const qr="sonic-list";let Hr=class extends($r(Et(Lt(et)))){constructor(){super(...arguments),this.itemPropertyMap=null,this.templateKey="template",this.idKey="id"}connectedCallback(){this.noShadowDom="",this.defferedDebug=this.hasAttribute("debug")||null,this.isDefaultLoaderEnabled=!1,this.isFetchEnabled=this.hasAttribute("fetch"),this.isFetchEnabled&&(this.isLoading=!0),super.connectedCallback()}renderLoadingState(){return this.templateParts.skeleton?Nr(this.templateParts.skeleton):L`<sonic-loader mode="inline"></sonic-loader>`}renderNoResultState(){return L`<div class="sonic-no-result-container"><sonic-icon name="emoji-puzzled" size="lg"></sonic-icon><span class="sonic-no-result-text">${this.props}</span></div>`}formatProps(){let t=this.props,e=t._sonic_http_response_,r=this.hasAttribute("extractValues");return Array.isArray(t)||(t=r?Object.entries(t).map((([t,e])=>({key:t,value:e}))):!e||e.ok?[t]:[]),t._sonic_http_response_=e,t}render(){if(this.isLoading&&!Array.isArray(this.props))return this.renderLoadingState();if("string"==typeof this.props)return this.renderNoResultState();if(!vt.isObject(this.props))return L`<div></div>`;let t=this.formatProps();if(0==t.length&&this.templateParts["no-item"])return Nr(this.templateParts["no-item"]);let e=this.templateList.length,r=-1,s=this.hasAttribute("extractValues");return L`${se(t,((t,e)=>t[this.idKey]||e),((t,o)=>{let i=t[this.templateKey],n=i&&this.templateParts[i],a=s?t.key:o;if("_sonic_http_response_"==a)return N;let l=this.publisher[a];return l._key_=a+"",r++,n&&(r=-1),t&&L`<sonic-subscriber debug="${Ie(this.defferedDebug)}" .bindPublisher="${function(){return l}}" .propertyMap="${Ie(this.itemPropertyMap)}" dataProvider="${this.dataProvider}/list-item/${o}">${Nr(n?this.templateParts[i]:this.templateList[r%e])}</sonic-subscriber>`}))}`}};Hr.styles=[n`.sonic-no-result-container{color:var(--sc-base-400);font-size:1.65rem}sonic-icon{margin-right:.25em}span{vertical-align:middle}`],Br([it({type:Object})],Hr.prototype,"itemPropertyMap",2),Br([it({type:String})],Hr.prototype,"templateKey",2),Br([it({type:String})],Hr.prototype,"idKey",2),Hr=Br([st(qr)],Hr);try{customElements.define(qr,Hr)}catch(Va){}var Kr=Object.defineProperty,Wr=Object.getOwnPropertyDescriptor,Zr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Wr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Kr(e,r,i),i};const Yr="sonic-queue";let Qr=class extends(Et(et)){constructor(){super(...arguments),this.templates=null,this.lastRequestTime=0,this.key="",this.itemPropertyMap=null,this.targetRequestDuration=500,this.limit=5,this.offset=0,this.filteredFields="",this._displayContents=!1,this.filterPublisher=null,this.filterTimeoutId=void 0,this.dataProviderExpression="",this.idKey="id",this.currentScrollPosition=void 0,this.listDataProviders=[]}set displayContents(t){this._displayContents=t,t?this.style.display="contents":this.style.removeProperty("display"),this.requestUpdate()}get displayContents(){return this._displayContents}connectedCallback(){this.noShadowDom="",this.defferedDebug=this.hasAttribute("debug")||null,this.dataProvider||(this.dataProvider="sonic-queue-"+Qr.instanceCounter++),this.configFilter(),super.connectedCallback(),this.key=this.getAttribute("key"),this.templates||(this.templates=Array.from(this.querySelectorAll("template"))),this.lastRequestTime=(new Date).getTime(),this.next()}configFilter(){var t;let e=this.getAncestorAttributeValue("dataFilterProvider");e&&(this.filterPublisher=gt.getInstance().get(e),null==(t=this.filterPublisher)||t.onInternalMutation((()=>{var t;0!=Object.keys(null==(t=this.filterPublisher)?void 0:t.get()).length&&this.updateFilteredContent()})))}updateFilteredContent(){for(let t of this.listDataProviders)gt.delete(t);this.listDataProviders=[],clearTimeout(this.filterTimeoutId),this.filterTimeoutId=setTimeout((()=>{this.props=null,this.next()}),250)}resetDuration(){this.lastRequestTime=(new Date).getTime()}next(t){var e,r;let s=this.offset;const o=(new Date).getTime()-this.lastRequestTime;if(t&&(!t.detail.isFirstLoad||!t.detail.props.length||-1==this.dataProviderExpression.indexOf("$offset")))return;if(Array.isArray(this.props)){const t=this.props,e=t[t.length-1];s=parseInt(e.offset.toString())+parseInt(e.limit.toString())}else this.props=[];o>0&&t&&(this.limit=Math.round(this.limit/o*this.targetRequestDuration)),this.limit<1&&(this.limit=1),this.limit>15&&(this.limit=15);let i=this.dataProviderExpression.replace("$offset",s+"").replace("$limit",this.limit+""),n=i.split("?"),a=n.shift(),l=new URLSearchParams(n.join("?")),c=null==(e=this.filterPublisher)?void 0:e.get(),h=this.filteredFields.split(" ");for(let d in c)this.filteredFields&&!h.includes(d)||l.set(d,c[d]);i=a+"?"+l.toString(),this.listDataProviders.push(i),this.currentScrollPosition=null==(r=document.scrollingElement)?void 0:r.scrollTop,this.props=[...this.props,{id:l.toString()+"/"+this.props.length,dataProvider:i,offset:s,limit:this.limit}],this.lastRequestTime=(new Date).getTime()}render(){let t=this.displayContents?"contents":"inline";return this.style.display=t,this.currentScrollPosition&&window.requestAnimationFrame((()=>{document.scrollingElement&&(document.scrollingElement.scrollTop=this.currentScrollPosition),this.currentScrollPosition=void 0})),Array.isArray(this.props)?L`${se(this.props,(t=>t.id),((e,r)=>{var s;let o=0==r?this.templates:null==(s=this.templates)?void 0:s.filter((t=>"no-item"!=t.getAttribute("data-value")));return L`<sonic-list fetch style="${t}" .itemPropertyMap="${this.itemPropertyMap}" debug="${Ie(this.defferedDebug)}" @load="${this.next}" key="${this.key}" @loading="${this.resetDuration}" dataProvider="${e.dataProvider}" idKey="${this.idKey}" .templates="${o}"></sonic-list>`}))}`:N}};Qr.instanceCounter=0,Zr([it({type:Array})],Qr.prototype,"templates",2),Zr([it({type:Object})],Qr.prototype,"itemPropertyMap",2),Zr([it()],Qr.prototype,"targetRequestDuration",2),Zr([it()],Qr.prototype,"limit",2),Zr([it()],Qr.prototype,"offset",2),Zr([it()],Qr.prototype,"filteredFields",2),Zr([it()],Qr.prototype,"displayContents",1),Zr([it({type:String})],Qr.prototype,"dataProviderExpression",2),Zr([it({type:String})],Qr.prototype,"idKey",2),Qr=Zr([st(Yr)],Qr);try{customElements.define(Yr,Qr)}catch(Va){}var Gr=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,Xr=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Jr(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Gr(e,r,i),i};const ts="sonic-submit";let es=class extends(Et(et)){constructor(){super(...arguments),this.submitResultKey=null,this.disabled=!1,this.endPoint=null,this.api=null}connectedCallback(){this.hasAttribute("onClick")&&this.addEventListener("click",(()=>this.submit())),this.hasAttribute("onEnterKey")&&this.addEventListener("keydown",(t=>{"Enter"===t.key&&this.submit()})),super.connectedCallback(),this.api=new wt(this.getApiConfiguration())}async submit(){var t,e,r;const s=gt.getInstance().get(this.getAncestorAttributeValue("formDataProvider"));if(s.isFormValid=!0,s.invalidate(),!s.isFormValid.get())return;this.publisher&&(this.publisher.disabled=!0),s.isFormValid;let o=(null==(t=this.getAttribute("method"))?void 0:t.toLocaleLowerCase())||"post",i=this.hasAttribute("sendAsFormData"),n=s.get();delete n.isFormValid;const a=gt.getInstance().get(this.getAncestorAttributeValue("headersDataProvider"));let l=a.get(),c=null,h=this.getAncestorAttributeValue("dataProvider"),d=this.endPoint||h;Ht.show();let p=async()=>{var t,e,r,s,a;if(i)c=await(null==(t=this.api)?void 0:t.submitFormData(d,n,l));else switch(o){case"put":c=await(null==(e=this.api)?void 0:e.put(d,n,l));break;case"delete":c=await(null==(r=this.api)?void 0:r.delete(d,n,l));break;case"get":c=await(null==(s=this.api)?void 0:s.get(d,l));break;default:c=await(null==(a=this.api)?void 0:a.post(d,n,l))}Ht.hide(),c||(c={messages:[{content:"Network Error",status:"error"}]});let h=this.getAncestorAttributeValue("clearedDataOnSuccess");h&&h.split(" ").forEach((t=>gt.get(t).set({}))),this.submitResultKey&&(c=vt.traverse(c,this.submitResultKey.split("."),!0)),gt.getInstance().get(this.getAncestorAttributeValue("submitResultDataProvider")).set(c),this.publisher&&(this.publisher.disabled=!1)},u=a.needsCaptchaValidation.get()?a:s.needsCaptchaValidation.get()?s:null;if(u){u.captchaMethod=o,u.captchaAction=null!=(r=null!=(e=null==h?void 0:h.split("?")[0])?e:this.getAncestorAttributeValue("formDataProvider"))?r:"submit",u.captchaToken="request_token";let t=e=>{"request_token"!=e&&(p(),u.captchaToken.offAssign(t))};u.captchaToken.onAssign(t)}else p()}render(){return L`<div ?data-disabled="${this.disabled}"><slot></slot></div>`}};es.styles=n`[data-disabled]{opacity:.3;pointer-events:none;user-select:none}`,Xr([it({type:String})],es.prototype,"submitResultKey",2),Xr([it({type:Boolean})],es.prototype,"disabled",2),Xr([it({type:String})],es.prototype,"endPoint",2),es=Xr([st(ts)],es);try{customElements.define(ts,es)}catch(Va){}var rs,ss,os,is,ns="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},as={exports:{}};rs=as,is=[].slice,ss=ns,os=function(){var t,e,r,s,o,i,n,a,l,c,h,d,p,u,m;return l=function(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},n=function(t,e){var r,s,o;for(o=[],r=-1,s=t.length;++r<s;)o=o.concat(e(t[r]));return o},u=function(t,e){var r,s,o;for(o="",r=-1,s=t.length;++r<s;)o+=e(t[r]);return o},p=function(t){return new RegExp(t.toString()+"|").exec("").length-1},h=function(t,e){var r,s,o,i,n;for(i={},r=-1,o=t.length;++r<o;)s=t[r],null!=(n=e[r])&&(null!=i[s]?(Array.isArray(i[s])||(i[s]=[i[s]]),i[s].push(n)):i[s]=n);return i},(t={}).Result=function(t,e){this.value=t,this.rest=e},t.Tagged=function(t,e){this.tag=t,this.value=e},t.tag=function(e,r){return function(s){var o,i;if(null!=(o=r(s)))return i=new t.Tagged(e,o.value),new t.Result(i,o.rest)}},t.regex=function(e){return function(r){var s,o;if(null!=(s=e.exec(r)))return o=s[0],new t.Result(o,r.slice(o.length))}},t.sequence=function(){var e;return e=1<=arguments.length?is.call(arguments,0):[],function(r){var s,o,i,n,a;for(s=-1,o=e.length,a=[],i=r;++s<o;){if(null==(n=(0,e[s])(i)))return;a.push(n.value),i=n.rest}return new t.Result(a,i)}},t.pick=function(){var e,r;return e=arguments[0],r=2<=arguments.length?is.call(arguments,1):[],function(s){var o,i;if(null!=(i=t.sequence.apply(t,r)(s)))return o=i.value,i.value=o[e],i}},t.string=function(e){var r;return r=e.length,function(s){if(s.slice(0,r)===e)return new t.Result(e,s.slice(r))}},t.lazy=function(t){var e;return e=null,function(r){return null==e&&(e=t()),e(r)}},t.baseMany=function(e,r,s,o,i){var n,a,l;for(a=i,l=s?"":[];(null==r||null==r(a))&&null!=(n=e(a));)s?l+=n.value:l.push(n.value),a=n.rest;if(!o||0!==l.length)return new t.Result(l,a)},t.many1=function(e){return function(r){return t.baseMany(e,null,!1,!0,r)}},t.concatMany1Till=function(e,r){return function(s){return t.baseMany(e,r,!0,!0,s)}},t.firstChoice=function(){var t;return t=1<=arguments.length?is.call(arguments,0):[],function(e){var r,s,o;for(r=-1,s=t.length;++r<s;)if(null!=(o=(0,t[r])(e)))return o}},d=function(e){var r;return(r={}).wildcard=t.tag("wildcard",t.string(e.wildcardChar)),r.optional=t.tag("optional",t.pick(1,t.string(e.optionalSegmentStartChar),t.lazy((function(){return r.pattern})),t.string(e.optionalSegmentEndChar))),r.name=t.regex(new RegExp("^["+e.segmentNameCharset+"]+")),r.named=t.tag("named",t.pick(1,t.string(e.segmentNameStartChar),t.lazy((function(){return r.name})))),r.escapedChar=t.pick(1,t.string(e.escapeChar),t.regex(/^./)),r.static=t.tag("static",t.concatMany1Till(t.firstChoice(t.lazy((function(){return r.escapedChar})),t.regex(/^./)),t.firstChoice(t.string(e.segmentNameStartChar),t.string(e.optionalSegmentStartChar),t.string(e.optionalSegmentEndChar),r.wildcard))),r.token=t.lazy((function(){return t.firstChoice(r.wildcard,r.optional,r.named,r.static)})),r.pattern=t.many1(t.lazy((function(){return r.token}))),r},a={escapeChar:"\\",segmentNameStartChar:":",segmentValueCharset:"a-zA-Z0-9-_~ %",segmentNameCharset:"a-zA-Z0-9",optionalSegmentStartChar:"(",optionalSegmentEndChar:")",wildcardChar:"*"},i=function(t,e){if(Array.isArray(t))return u(t,(function(t){return i(t,e)}));switch(t.tag){case"wildcard":return"(.*?)";case"named":return"(["+e+"]+)";case"static":return l(t.value);case"optional":return"(?:"+i(t.value,e)+")?"}},o=function(t,e){return null==e&&(e=a.segmentValueCharset),"^"+i(t,e)+"$"},s=function(t){if(Array.isArray(t))return n(t,s);switch(t.tag){case"wildcard":return["_"];case"named":return[t.value];case"static":return[];case"optional":return s(t.value)}},c=function(t,e,r,s){var o,i,n;if(null==s&&(s=!1),null!=(n=t[e])){if(!((o=r[e]||0)>(Array.isArray(n)?n.length-1:0)))return i=Array.isArray(n)?n[o]:n,s&&(r[e]=o+1),i;if(s)throw new Error("too few values provided for key `"+e+"`")}else if(s)throw new Error("no values provided for key `"+e+"`")},r=function(t,e,s){var o,i;if(Array.isArray(t)){for(o=-1,i=t.length;++o<i;)if(r(t[o],e,s))return!0;return!1}switch(t.tag){case"wildcard":return null!=c(e,"_",s,!1);case"named":return null!=c(e,t.value,s,!1);case"static":return!1;case"optional":return r(t.value,e,s)}},m=function(t,e,s){if(Array.isArray(t))return u(t,(function(t){return m(t,e,s)}));switch(t.tag){case"wildcard":return c(e,"_",s,!0);case"named":return c(e,t.value,s,!0);case"static":return t.value;case"optional":return r(t.value,e,s)?m(t.value,e,s):""}},(e=function(t,r){var i,n,l;if(t instanceof e)return this.isRegex=t.isRegex,this.regex=t.regex,this.ast=t.ast,void(this.names=t.names);if(this.isRegex=t instanceof RegExp,"string"!=typeof t&&!this.isRegex)throw new TypeError("argument must be a regex or a string");if(this.isRegex){if(this.regex=t,null!=r){if(!Array.isArray(r))throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");if(i=p(this.regex),r.length!==i)throw new Error("regex contains "+i+" groups but array of group names contains "+r.length);this.names=r}}else{if(""===t)throw new Error("argument must not be the empty string");if(t.replace(/\s+/g,"")!==t)throw new Error("argument must not contain whitespace");if(n={escapeChar:(null!=r?r.escapeChar:void 0)||a.escapeChar,segmentNameStartChar:(null!=r?r.segmentNameStartChar:void 0)||a.segmentNameStartChar,segmentNameCharset:(null!=r?r.segmentNameCharset:void 0)||a.segmentNameCharset,segmentValueCharset:(null!=r?r.segmentValueCharset:void 0)||a.segmentValueCharset,optionalSegmentStartChar:(null!=r?r.optionalSegmentStartChar:void 0)||a.optionalSegmentStartChar,optionalSegmentEndChar:(null!=r?r.optionalSegmentEndChar:void 0)||a.optionalSegmentEndChar,wildcardChar:(null!=r?r.wildcardChar:void 0)||a.wildcardChar},null==(l=d(n).pattern(t)))throw new Error("couldn't parse pattern");if(""!==l.rest)throw new Error("could only partially parse pattern");this.ast=l.value,this.regex=new RegExp(o(this.ast,n.segmentValueCharset)),this.names=s(this.ast)}}).prototype.match=function(t){var e,r;return null==(r=this.regex.exec(t))?null:(e=r.slice(1),this.names?h(this.names,e):e)},e.prototype.stringify=function(t){if(null==t&&(t={}),this.isRegex)throw new Error("can't stringify patterns generated from a regex");if(t!==Object(t))throw new Error("argument must be an object or undefined");return m(this.ast,t,{})},e.escapeForRegex=l,e.concatMap=n,e.stringConcatMap=u,e.regexGroupCount=p,e.keysAndValuesToObject=h,e.P=t,e.newParser=d,e.defaultOptions=a,e.astNodeToRegexString=o,e.astNodeToNames=s,e.getParam=c,e.astNodeContainsSegmentsForProvidedParams=r,e.stringify=m,e},null!==as.exports?rs.exports=os():ss.UrlPattern=os();var ls=as.exports,cs=Object.defineProperty,hs=Object.getOwnPropertyDescriptor,ds=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?hs(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&cs(e,r,i),i};const ps="sonic-router";let us=class extends(Et(Lt(et))){constructor(){super(...arguments),this.templateValueAttribute="data-route",this._location=document.location.href.replace(document.location.origin,"")}connectedCallback(){this.noShadowDom="",Ge.onChange(this),super.connectedCallback()}disconnectedCallback(){Ge.offChange(this),super.disconnectedCallback()}set location(t){this._location=t,this.requestUpdate()}get location(){return this._location}render(){let t=[];for(let e of this.templatePartsList){let r=e.getAttribute(this.templateValueAttribute),s=new RegExp(r),o=new ls(r);s.test(this.location)?t.push(e):o.match(this.location)&&(e.setAttribute("mode","patternMatching"),t.push(e))}return L`${se(t,((t,e)=>e+(new Date).getTime()),(t=>{var e;if(t.title&&(document.title=t.title),t.hasAttribute("dataProviderExpression")){let r="",s=t.getAttribute("dataProviderExpression");if("patternMatching"==t.getAttribute("mode")){const e=new ls(t.getAttribute(this.templateValueAttribute));r=new ls(s).stringify(e.match(this.location))}else{const o=new RegExp(t.getAttribute(this.templateValueAttribute));let i=(this.location+"").match(o);i&&(r=null==(e=i.shift())?void 0:e.replace(o,s))}return L`<div style="display:contents" dataProvider="${r}">${Nr(t)}</div>`}return Nr(t)}))}`}};ds([it()],us.prototype,"location",1),us=ds([st(ps)],us);try{customElements.define(ps,us)}catch(Va){}var ms=Object.defineProperty,gs=Object.getOwnPropertyDescriptor;const bs="sonic-redirect";let fs=class extends(Et(et)){constructor(){super(...arguments),this.udpateCallBack=()=>{}}connectedCallback(){this.noShadowDom="",this.style.display="none",super.connectedCallback(),this.udpateCallBack=()=>this.update(),this.publisher&&this.publisher.onInternalMutation(this.udpateCallBack)}disconnectedCallback(){this.publisher&&this.publisher.offInternalMutation(this.udpateCallBack),super.disconnectedCallback()}update(){if(!this.props)return;let t=this.getAttribute("onData").split("."),e=vt.traverse(this.props,t);!e||vt.isObject(e)&&e||Ge.changeFromComponent(this)}};fs=((t,e,r,s)=>{for(var o,i=s>1?void 0:s?gs(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&ms(e,r,i),i})([st(bs)],fs);try{customElements.define(bs,fs)}catch(Va){}var vs=Object.defineProperty,ys=Object.getOwnPropertyDescriptor,ws=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?ys(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&vs(e,r,i),i};const xs="sonic-states";let _s=class extends(Et(Lt(et))){constructor(){super(...arguments),this.state="",this.inverted=!1,this.statePath="",this.onAssign=null}connectedCallback(){if(super.connectedCallback(),this.hasAttribute("data-path")&&(this.statePath=this.getAttribute("data-path")),this.statePath){this.statePublisher=this.publisher;let t=this.statePath.split(".");for(let e of t)this.statePublisher=this.statePublisher[e];this.onAssign=t=>{this.state=t,this.requestUpdate()},this.statePublisher.onAssign(this.onAssign)}}disconnectedCallback(){this.statePath&&this.statePublisher.offAssign(this.onAssign),super.disconnectedCallback()}render(){let t=[],e=this.state;(!Array.isArray(e)&&vt.isObject(e)||void 0===e)&&(e="");for(let r of this.templatePartsList){let s=r.getAttribute(this.templateValueAttribute),o=e;if(this.inverted&&(o=s,s=e),""==s&&(s=this.inverted?".*?":"^$"),new RegExp(s).test(o))t.push(r),r.removeAttribute("mode");else{let e=new ls(s);e.names.length>0&&e.match(o)&&(r.setAttribute("mode","patternMatching"),t.push(r))}}return L`${se(t,((t,e)=>e+(new Date).getTime()),(t=>{var r;if(t.title&&(document.title=t.title),t.hasAttribute("dataProviderExpression")){let s=t.getAttribute("dataProviderExpression"),o="",i=e,n=t.getAttribute(this.templateValueAttribute);if(this.inverted&&(i=n,n=e),""==n&&(n=this.inverted?"*":"^$"),"patternMatching"==t.getAttribute("mode")){const t=new ls(n);o=new ls(s).stringify(t.match(i))}else{const t=new RegExp(n);let e=(i+"").match(t);e&&(o=null==(r=e.shift())?void 0:r.replace(t,s))}return L`<div style="display:contents" dataProvider="${o}">${Nr(t)}</div>`}return Nr(t)}))}`}};ws([it()],_s.prototype,"state",2),ws([it({type:Boolean,reflect:!0})],_s.prototype,"inverted",2),_s=ws([st(xs)],_s);try{customElements.define(xs,_s)}catch(Va){}var ks=Object.defineProperty,As=Object.getOwnPropertyDescriptor;let Ps=class extends et{createRenderRoot(){return this}render(){return L`<slot></slot>`}};Ps=((t,e,r,s)=>{for(var o,i=s>1?void 0:s?As(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&ks(e,r,i),i})([st("sonic-scope")],Ps);var $s=Object.defineProperty,Cs=Object.getOwnPropertyDescriptor,Ss=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Cs(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&$s(e,r,i),i};let Os=class extends(Et(et)){constructor(){super(...arguments),this.text="Example"}render(){return L`${this.text}`}};Ss([it()],Os.prototype,"text",2),Os=Ss([st("sonic-example")],Os);var Es=Object.defineProperty,js=Object.getOwnPropertyDescriptor,zs=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?js(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Es(e,r,i),i};const Ds=t=>{class e extends t{constructor(...t){super(),this.forceAutoFill=!1,this._type="text"}validateFormElement(){var t;const e=null==(t=this.shadowRoot)?void 0:t.querySelector("input");e&&!e.checkValidity()&&(this.getFormPublisher().isFormValid=!1,e.reportValidity())}set type(t){this.hasAttribute("type")&&!this.forceAutoFill&&(t=this.getAttribute("type")),this._type=t,this.requestUpdate()}get type(){return this._type}get description(){return this._description}set description(t){this.hasAttribute("description")&&!this.forceAutoFill&&(t=this.getAttribute("description")),this._description=t,this.requestUpdate()}get label(){return this._label}set label(t){this.hasAttribute("label")&&!this.forceAutoFill&&(t=this.getAttribute("label")),this._label=t,this.requestUpdate()}}return zs([it()],e.prototype,"forceAutoFill",2),zs([it({type:String})],e.prototype,"type",1),zs([it()],e.prototype,"description",1),zs([it()],e.prototype,"label",1),zs([it({type:Number})],e.prototype,"tabindex",2),zs([it({type:String})],e.prototype,"autocomplete",2),e},Ls=$r,Ms=nr,Ns=rr,Fs=Ds,Is=Et,Ts=Lt;let Rs=window;Rs["concorde-mixins"]=Rs["concorde-mixins"]||{},Rs["concorde-mixins"]={Fetcher:Ls,FormCheckable:Ms,FormElement:Ns,FormInput:Fs,Subscriber:Is,TemplatesContainer:Ts};var Vs=Object.defineProperty,Us=Object.getOwnPropertyDescriptor,Bs=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Us(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Vs(e,r,i),i};let qs=class extends(Ls(Is(et))){connectedCallback(){this.noShadowDom="",this.isFetchEnabled=this.hasAttribute("fetch"),super.connectedCallback()}get props(){return super.props}async loadJS(t){return new Promise((async e=>{let r=document.createElement("script");r.src=t,r.onload=()=>e(!0),r.onerror=()=>e(!0),document.head.appendChild(r)}))}async loadCSS(t){return new Promise((async e=>{var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=t,r.onload=()=>e(!0),r.onerror=()=>e(!0),document.head.appendChild(r)}))}set props(t){super.props=t,this.updateContents()}async updateContents(){for(;[...this.children].filter((t=>"SLOT"!=t.nodeName)).length>0;)this.removeChild(this.children[0]);if(!this.props)return;try{if(this.props.js)for(const t of this.props.js)this.loadJS(t);if(this.props.css)for(const t of this.props.css)this.loadCSS(t)}catch(Va){}let t=this.props.nodes;if(t)for(let e of t)this.appendChild(this.parseChild(e))}parseChild(t){let e,r=t.type||"div";if(t.markup)return e=document.createElement("div"),e.style.display="contents",e.innerHTML=t.markup,e;e=t.library&&this.props.library?this.parseChild(this.props.library[t.library]||{type:"div"}):document.createElement(r);let s=t.attributes;for(let o in s){let t=s[o];yr.isObject(t)&&(t=JSON.stringify(t)),e.setAttribute(o,t)}if(t.innerHTML&&(e.innerHTML=t.innerHTML),t.nodes){let r=t.nodes;for(let t of r)e.shadowRoot?e.shadowRoot.appendChild(this.parseChild(t)):e.appendChild(this.parseChild(t))}if(t.prefix||t.suffix){const r=document.createElement("div");return r.innerHTML=(t.prefix||"")+e.outerHTML+(t.suffix||""),r.style.display="contents",r}return e}};Bs([it()],qs.prototype,"props",1),qs=Bs([st("sonic-sdui")],qs);const Hs=n`:host{--sc-font-family-base:"Inter var",-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--sc-font-weight-base:400;--sc-font-style-base:normal;--sc-headings-font-family:var(--sc-font-family-base);--sc-headings-font-style:var(--sc-font-style-base);--sc-headings-line-height:1.1;--sc-headings-font-weight:700;--sc-headings-text-transform:none;--sc-btn-font-weight:var(--sc-font-weight-base);--sc-btn-font-family:var(--sc-font-family-base);--sc-btn-font-style:var(--sc-font-style-base);--sc-rounded-sm:calc(var(--sc-rounded) * 0.5);--sc-rounded:0.375rem;--sc-rounded-md:calc(var(--sc-rounded) * 1.8);--sc-rounded-lg:calc(var(--sc-rounded) * 3.5);--sc-rounded-xl:calc(var(--sc-rounded) * 7);--sc-rounded-size-intensity:calc((1em - 1rem) * .4);--sc-btn-rounded-intensity:1.4;--sc-btn-font-weight:500;--sc-btn-rounded:calc((var(--sc-rounded) + var(--sc-rounded-size-intensity)) * var(--sc-btn-rounded-intensity) );--sc-placeholder-bg:rgba(17, 24, 39, 0.05);--sc-shadow-sm:0 1px 3px 0 rgb(0 0 0 / 0.1),0 1px 2px -1px rgb(0 0 0 / 0.1);--sc-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1),0 2px 4px -2px rgb(0 0 0 / 0.1);--sc-shadow-lg:0 10px 15px -3px rgb(0 0 0 / 0.1),0 4px 6px -4px rgb(0 0 0 / 0.1);--sc-shadow-xl:0 20px 25px -5px rgb(0 0 0 / 0.1),0 8px 10px -6px rgb(0 0 0 / 0.1);--sc-shadow-2xl:0 25px 50px -12px rgb(0 0 0 / 0.25);--sc-border-width:max(1px, 0.12rem);--sc-form-height:2.5em;--sc-form-border-width:var(--sc-border-width);--sc-input-bg:var(--sc-base-100);--sc-input-border-color:var(--sc-input-bg);--sc-input-rounded-intensity:1.4;--sc-input-rounded:calc((var(--sc-rounded) + var(--sc-rounded-size-intensity)) * var(--sc-input-rounded-intensity) );--sc-label-font-weight:500;--sc-contrast-content:#fff;--sc-contrast:#11151f;--sc-scrollbar-bg:var(--sc-base-400);--sc-body-bg:var(--sc-base)}`,Ks=n`:host{--sc-primary:var(--sc-base-800);--sc-info:#2563eb;--sc-danger:#f43f5e;--sc-warning:#f97316;--sc-success:#14b8a6;--sc-primary-content:var(--sc-base);--sc-info-content:var(--sc-base);--sc-danger-content:var(--sc-base);--sc-warning-content:var(--sc-base);--sc-success-content:var(--sc-base);--sc-base:#fff;--sc-base-50:#f8fafc;--sc-base-100:#f1f5f9;--sc-base-200:#e2e8f0;--sc-base-300:#cbd5e1;--sc-base-400:#94a3b8;--sc-base-500:#64748b;--sc-base-600:#475569;--sc-base-700:#334155;--sc-base-800:#1e293b;--sc-base-900:#0f172a;--sc-base-content:var(--sc-base-700);--sc-input-bg:var(--sc-base-100);--sc-input-color:var(--sc-base-content)}`,Ws=n``,Zs=n`:host([theme=dark]){${Ws}}@media (prefers-color-scheme:dark){:host([theme=auto]){${Ws}}}`;var Ys=n`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~="not-prose"] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~="not-prose"] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(thead th strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(ol):not(:where([class~="not-prose"] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type="A"]):not(:where([class~="not-prose"] *)){list-style-type:upper-alpha}.prose :where(ol[type="a"]):not(:where([class~="not-prose"] *)){list-style-type:lower-alpha}.prose :where(ol[type="A" s]):not(:where([class~="not-prose"] *)){list-style-type:upper-alpha}.prose :where(ol[type="a" s]):not(:where([class~="not-prose"] *)){list-style-type:lower-alpha}.prose :where(ol[type="I"]):not(:where([class~="not-prose"] *)){list-style-type:upper-roman}.prose :where(ol[type="i"]):not(:where([class~="not-prose"] *)){list-style-type:lower-roman}.prose :where(ol[type="I" s]):not(:where([class~="not-prose"] *)){list-style-type:upper-roman}.prose :where(ol[type="i" s]):not(:where([class~="not-prose"] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~="not-prose"] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~="not-prose"] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol > li):not(:where([class~="not-prose"] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul > li):not(:where([class~="not-prose"] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~="not-prose"] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~="not-prose"] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\\201c""\\201d""\\2018""\\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"] *)):after{content:close-quote}.prose :where(h1):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~="not-prose"] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~="not-prose"] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~="not-prose"] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~="not-prose"] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~="not-prose"] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~="not-prose"] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~="not-prose"] *)):before{content:"\`"}.prose :where(code):not(:where([class~="not-prose"] *)):after{content:"\`"}.prose :where(a code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(h1 code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(h2 code):not(:where([class~="not-prose"] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~="not-prose"] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(blockquote code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(thead th code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(pre):not(:where([class~="not-prose"] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~="not-prose"] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~="not-prose"] *)):before{content:none}.prose :where(pre code):not(:where([class~="not-prose"] *)):after{content:none}.prose :where(table):not(:where([class~="not-prose"] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~="not-prose"] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~="not-prose"] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~="not-prose"] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~="not-prose"] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~="not-prose"] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~="not-prose"] *)){vertical-align:top}.prose{--tw-prose-body: var(--sc-base-content);--tw-prose-headings: var(--sc-base-900);--tw-prose-lead: var(--sc-base-600);--tw-prose-links: var(--sc-base-900);--tw-prose-bold: var(--sc-base-900);--tw-prose-counters: var(--sc-base-500);--tw-prose-bullets: var(--sc-base-300);--tw-prose-hr: var(--sc-base-200);--tw-prose-quotes: var(--sc-base-900);--tw-prose-quote-borders: var(--sc-base-200);--tw-prose-captions: var(--sc-base-500);--tw-prose-code: var(--sc-base-900);--tw-prose-pre-code: var(--sc-base-200);--tw-prose-pre-bg: var(--sc-base-800);--tw-prose-th-borders: var(--sc-base-300);--tw-prose-td-borders: var(--sc-base-200);--tw-prose-invert-body: var(--sc-base-300);--tw-prose-invert-headings: var(--sc-base);--tw-prose-invert-lead: var(--sc-base-400);--tw-prose-invert-links: var(--sc-base);--tw-prose-invert-bold: var(--sc-base);--tw-prose-invert-counters: var(--sc-base-400);--tw-prose-invert-bullets: var(--sc-base-600);--tw-prose-invert-hr: var(--sc-base-700);--tw-prose-invert-quotes: var(--sc-base-100);--tw-prose-invert-quote-borders: var(--sc-base-700);--tw-prose-invert-captions: var(--sc-base-400);--tw-prose-invert-code: var(--sc-base);--tw-prose-invert-pre-code: var(--sc-base-300);--tw-prose-invert-pre-bg: var(--sc-base-900);--tw-prose-invert-th-borders: var(--sc-base-600);--tw-prose-invert-td-borders: var(--sc-base-700);font-size:1rem;line-height:1.75}.prose :where(p):not(:where([class~="not-prose"] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(video):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~="not-prose"] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.375em}.prose :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.375em}.prose :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~="lead"]):not(:where([class~="not-prose"] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~="not-prose"] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~="not-prose"] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~="not-prose"] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~="not-prose"] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(video):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(code):not(:where([class~="not-prose"] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~="not-prose"] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~="not-prose"] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~="not-prose"] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.4285714em}.prose-sm :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.4285714em}.prose-sm :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.1428571em}.prose-sm :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.1428571em}.prose-sm :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(hr):not(:where([class~="not-prose"] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(table):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~="not-prose"] *)){padding-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose-sm :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-base :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose-base :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose-base :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose-base :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose-base :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose-base :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-base :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-lg :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-lg :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-lg :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-lg :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-xl :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8em;margin-bottom:.8em}.prose-xl :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.2em}.prose-xl :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.2em}.prose-xl :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.2em}.prose-xl :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.2em}.prose-xl :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-xl :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-2xl :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8333333em;margin-bottom:.8333333em}.prose-2xl :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-2xl :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-2xl :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-2xl :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-2xl :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-2xl :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-tight :where(p,ul,ol,pre):not(:where([class~="not-prose"] *)){line-height:1.25;margin:0 0 .5em}.prose-tight :where(li):not(:where([class~="not-prose"] *)){margin-bottom:.5em}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.top-0{top:0px}.left-0{left:0px}.right-1{right:.25rem}.bottom-1{bottom:.25rem}.bottom-4{bottom:1rem}.left-4{left:1rem}.right-4{right:1rem}.top-\\[-1px\\]{top:-1px}.right-5{right:1.25rem}.top-1\\/2{top:50%}.bottom-0{bottom:0px}.-right-1{right:-.25rem}.-bottom-1{bottom:-.25rem}.z-10{z-index:10}.z-20{z-index:20}.z-0{z-index:0}.col-span-full{grid-column:1 / -1}.col-span-3{grid-column:span 3 / span 3}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.my-8{margin-top:2rem;margin-bottom:2rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-auto{margin-top:auto;margin-bottom:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-\\[-3vw\\]{margin-left:-3vw;margin-right:-3vw}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-4{margin-bottom:1rem}.mt-5{margin-top:1.25rem}.mb-1{margin-bottom:.25rem}.mb-6{margin-bottom:1.5rem}.mr-4{margin-right:1rem}.mb-2{margin-bottom:.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mb-5{margin-bottom:1.25rem}.mt-8{margin-top:2rem}.mr-3{margin-right:.75rem}.mt-\\[\\.15em\\]{margin-top:.15em}.mb-10{margin-bottom:2.5rem}.mb-7{margin-bottom:1.75rem}.mb-12{margin-bottom:3rem}.mb-3{margin-bottom:.75rem}.mt-2{margin-top:.5rem}.ml-\\[\\.10em\\]{margin-left:.1em}.ml-3{margin-left:.75rem}.mt-4{margin-top:1rem}.mt-1{margin-top:.25rem}.mr-2{margin-right:.5rem}.mt-3{margin-top:.75rem}.ml-auto{margin-left:auto}.mb-\\[2em\\]{margin-bottom:2em}.mr-1{margin-right:.25rem}.mb-20{margin-bottom:5rem}.ml-2{margin-left:.5rem}.mr-\\[\\.25em\\]{margin-right:.25em}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-20{height:5rem}.h-2{height:.5rem}.h-5{height:1.25rem}.h-1\\/2{height:50%}.h-96{height:24rem}.max-h-\\[10rem\\]{max-height:10rem}.w-full{width:100%}.w-72{width:18rem}.w-12{width:3rem}.w-20{width:5rem}.w-2{width:.5rem}.w-5{width:1.25rem}.w-10\\/12{width:83.333333%}.w-24{width:6rem}.w-\\[1\\.2em\\]{width:1.2em}.min-w-full{min-width:100%}.min-w-max{min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content}.min-w-\\[11rem\\]{min-width:11rem}.min-w-\\[5rem\\]{min-width:5rem}.max-w-lg{max-width:32rem}.max-w-xs{max-width:20rem}.max-w-\\[80ch\\]{max-width:80ch}.max-w-\\[32rem\\]{max-width:32rem}.max-w-\\[20rem\\]{max-width:20rem}.max-w-none{max-width:none}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-\\[minmax\\(0\\,1fr\\)\\,minmax\\(0\\,4fr\\)\\]{grid-template-columns:minmax(0,1fr) minmax(0,4fr)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\\[1fr\\,_2fr\\]{grid-template-columns:1fr 2fr}.grid-cols-\\[minmax\\(0\\,_3fr\\)_minmax\\(0\\,_2fr\\)\\]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\\[minmax\\(6rem\\,_min\\(20\\%\\,_10rem\\)\\)\\,_1fr\\]{grid-template-columns:minmax(6rem,min(20%,10rem)) 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-around{justify-content:space-around}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.gap-3{gap:.75rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-10{gap:2.5rem}.gap-1{gap:.25rem}.gap-6{gap:1.5rem}.gap-\\[1\\.5em\\]{gap:1.5em}.gap-\\[\\.2rem_\\.7rem\\]{gap:.2rem .7rem}.gap-\\[\\.25em\\]{gap:.25em}.gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.gap-x-\\[\\.75em\\]{-moz-column-gap:.75em;column-gap:.75em}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:var(--sc-rounded-lg)}.rounded-md{border-radius:var(--sc-rounded-md)}.rounded{border-radius:var(--sc-rounded)}.rounded-full{border-radius:9999px}.rounded-t-md{border-top-left-radius:var(--sc-rounded-md);border-top-right-radius:var(--sc-rounded-md)}.border{border-width:var(--sc-border-width)}.border-b-\\[1px\\]{border-bottom-width:1px}.border-solid{border-style:solid}.border-dotted{border-style:dotted}.border-success{border-color:var(--sc-success)}.border-t-neutral-200{border-top-color:var(--sc-base-200)}.border-b-neutral-100{border-bottom-color:var(--sc-base-100)}.border-b-neutral-300{border-bottom-color:var(--sc-base-300)}.bg-danger{background-color:var(--sc-danger)}.bg-neutral-0{background-color:var(--sc-base)}.bg-neutral-200{background-color:var(--sc-base-200)}.bg-contrast{background-color:var(--sc-contrast)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-\\[rgba\\(0\\,0\\,10\\,\\.2\\)\\]{--tw-gradient-from: rgba(0,0,10,.2);--tw-gradient-to: rgb(0 0 10 / 0);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.object-contain{-o-object-fit:contain;object-fit:contain}.p-7{padding:1.75rem}.p-4{padding:1rem}.p-3{padding:.75rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-\\[3vw\\]{padding-left:3vw;padding-right:3vw}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.pt-20{padding-top:5rem}.pr-3{padding-right:.75rem}.pt-\\[\\.06em\\]{padding-top:.06em}.text-center{text-align:center}.font-headings{font-family:var(--sc-headings-font-family)}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-black{font-weight:900}.font-medium{font-weight:500}.font-extrabold{font-weight:800}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.leading-tight{line-height:1.25}.text-neutral-0{color:var(--sc-base)}.text-neutral-300{color:var(--sc-base-300)}.text-primary{color:var(--sc-primary)}.text-neutral-500{color:var(--sc-base-500)}.text-contrast-content{color:var(--sc-contrast-content)}.text-neutral-400{color:var(--sc-base-400)}.text-info{color:var(--sc-info)}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.opacity-60{opacity:.6}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_0_2rem_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 0 0 2rem rgba(0,0,0,.2);--tw-shadow-colored: 0 0 2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-danger{--tw-shadow-color: var(--sc-danger);--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[display\\:none\\]{display:none}.hover\\:text-neutral-400:hover{color:var(--sc-base-400)}.group:hover .group-hover\\:underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.prose-img\\:rounded-lg :is(:where(img):not(:where([class~="not-prose"] *))){border-radius:var(--sc-rounded-lg)}@media (min-width: 640px){.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){.md\\:block{display:block}.md\\:hidden{display:none}.md\\:grid-cols-\\[minmax\\(0\\,2fr\\)\\,minmax\\(0\\,5fr\\)\\]{grid-template-columns:minmax(0,2fr) minmax(0,5fr)}.md\\:py-4{padding-top:1rem;padding-bottom:1rem}.md\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\\:prose-lg{font-size:1.125rem;line-height:1.7777778}.lg\\:prose-lg :where(p):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.lg\\:prose-lg :where([class~="lead"]):not(:where([class~="not-prose"] *)){font-size:1.2222222em;line-height:1.4545455;margin-top:1.0909091em;margin-bottom:1.0909091em}.lg\\:prose-lg :where(blockquote):not(:where([class~="not-prose"] *)){margin-top:1.6666667em;margin-bottom:1.6666667em;padding-left:1em}.lg\\:prose-lg :where(h1):not(:where([class~="not-prose"] *)){font-size:2.6666667em;margin-top:0;margin-bottom:.8333333em;line-height:1}.lg\\:prose-lg :where(h2):not(:where([class~="not-prose"] *)){font-size:1.6666667em;margin-top:1.8666667em;margin-bottom:1.0666667em;line-height:1.3333333}.lg\\:prose-lg :where(h3):not(:where([class~="not-prose"] *)){font-size:1.3333333em;margin-top:1.6666667em;margin-bottom:.6666667em;line-height:1.5}.lg\\:prose-lg :where(h4):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:.4444444em;line-height:1.5555556}.lg\\:prose-lg :where(img):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(video):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(figure):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.lg\\:prose-lg :where(figcaption):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.5;margin-top:1em}.lg\\:prose-lg :where(code):not(:where([class~="not-prose"] *)){font-size:.8888889em}.lg\\:prose-lg :where(h2 code):not(:where([class~="not-prose"] *)){font-size:.8666667em}.lg\\:prose-lg :where(h3 code):not(:where([class~="not-prose"] *)){font-size:.875em}.lg\\:prose-lg :where(pre):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.75;margin-top:2em;margin-bottom:2em;border-radius:.375rem;padding:1em 1.5em}.lg\\:prose-lg :where(ol):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.lg\\:prose-lg :where(ul):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.lg\\:prose-lg :where(li):not(:where([class~="not-prose"] *)){margin-top:.6666667em;margin-bottom:.6666667em}.lg\\:prose-lg :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.4444444em}.lg\\:prose-lg :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.4444444em}.lg\\:prose-lg :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.lg\\:prose-lg :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.lg\\:prose-lg :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.lg\\:prose-lg :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.lg\\:prose-lg :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.lg\\:prose-lg :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.lg\\:prose-lg :where(hr):not(:where([class~="not-prose"] *)){margin-top:3.1111111em;margin-bottom:3.1111111em}.lg\\:prose-lg :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(table):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.5}.lg\\:prose-lg :where(thead th):not(:where([class~="not-prose"] *)){padding-right:.75em;padding-bottom:.75em;padding-left:.75em}.lg\\:prose-lg :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.lg\\:prose-lg :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.lg\\:prose-lg :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.75em}.lg\\:prose-lg :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.lg\\:prose-lg :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.lg\\:prose-lg :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:text-base{font-size:1rem;line-height:1.5rem}.lg\\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1280px){.xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.xl\\:text-lg{font-size:1.125rem;line-height:1.75rem}.xl\\:text-2xl{font-size:1.5rem;line-height:2rem}}
96
96
  `,Qs=Object.defineProperty,Gs=Object.getOwnPropertyDescriptor,Js=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?Gs(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&Qs(e,r,i),i};n`${i(Ys)}`;let Xs=class extends et{constructor(){super(...arguments),this.theme="light",this.background=!1,this.color=!1,this.font=!1,this.contrastDarkMode=!1}connectedCallback(){super.connectedCallback(),window.addEventListener("message",(t=>this.receiveMessage(t)),!1),this.postCSSVars()}updated(){this.contrastBg()}postCSSVars(){const t=document.styleSheets,e=t.length;let r=[];for(let s=0;s<e;s++){let e=t[s];e.href&&(e.href.includes("googleapis")||e.href.includes("typekit.net"))&&r.push(e.href)}document.querySelectorAll("iframe").forEach((t=>{var e;return null==(e=t.contentWindow)?void 0:e.postMessage({type:"SonicTheme",variables:this.getCssVariables(),fonts:r},"*")}))}receiveMessage(t){let e=t.data;e.type&&"GetSonicTheme"==e.type&&this.postCSSVars()}getCssVariables(){let t=[],e=[...Xs.styles.map((t=>t.styleSheet)),...Array.from(document.styleSheets)];for(let o of e)try{let e=null==o?void 0:o.cssRules;for(let r of e)if(r.style)for(let e of r.style)t.includes(e)||0!==e.indexOf("--sc")||t.push(e)}catch(Va){}let r=window.getComputedStyle(this),s={};return t.forEach((t=>s[t]=r.getPropertyValue(t))),s}contrast(t,e){let r=parseInt(t.replace("#",""),16),s=Math.round(2.55*e),o=(r>>16)+s,i=(r>>8&255)+s,n=(255&r)+s;return"#"+(16777216+65536*(o<255?o<1?0:o:255)+256*(i<255?i<1?0:i:255)+(n<255?n<1?0:n:255)).toString(16).slice(1)}contrastBg(){if("dark"===this.theme&&this.contrastDarkMode&&this.background){let t=window.getComputedStyle(this).getPropertyValue("--sc-base");this.style.setProperty("--sc-body-bg",this.contrast(t,-2.5))}}render(){return L`<slot></slot>`}};Xs.styles=[Ks,Zs,Hs,n`:host([background]){display:block!important;background:var(--sc-body-bg)!important;min-height:100vh}:host([contrastDarkMode]){transition:background-color 2.5s ease}:host([color]){color:var(--sc-base-content)}:host([font]){font-family:var(--sc-font-family-base);font-weight:var(--sc-font-weight-base);font-style:var(--sc-font-style-base)}`],Js([it({type:String,reflect:!0})],Xs.prototype,"theme",2),Js([it({type:Boolean,reflect:!0})],Xs.prototype,"background",2),Js([it({type:Boolean,reflect:!0})],Xs.prototype,"color",2),Js([it({type:Boolean,reflect:!0})],Xs.prototype,"font",2),Js([it({type:Boolean,reflect:!0})],Xs.prototype,"contrastDarkMode",2),Xs=Js([st("sonic-theme")],Xs);var to=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,ro=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?eo(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&to(e,r,i),i};const so="sonic-badge";let oo=class extends et{constructor(){super(...arguments),this.type="default",this.variant="default"}render(){return L`<slot name="prefix"></slot><slot></slot><slot name="suffix"></slot>`}};oo.styles=[n`:host{--sc-badge-gap:0.3em;--sc-badge-py:0.16em;--sc-badge-px:0.66em;--sc-badge-fs:1rem;--sc-badge-color:var(--sc-base-content, #1f2937);--sc-badge-bg:var(--sc-base-200, #e5e7eb);--sc-badge-border-with:var(--sc-form-border-width, 0.1rem);--sc-badge-border-color:transparent;--sc-badge-border:var(--sc-badge-border-with) solid var(--sc-badge-border-color);--sc-badge-rounded:calc(var(--sc-rounded) * 1000);--sc-badge-line-height:1.15;--sc-badge-fw:var(--sc-font-weight-base);display:inline-flex;align-items:center;box-sizing:border-box;line-height:var(--sc-badge-line-height);border-radius:var(--sc-badge-rounded);background:var(--sc-badge-bg);color:var(--sc-badge-color);font-family:var(--sc-badge-ff,var(--sc-font-family-base,inherit));font-weight:var(--sc-badge-fw);padding-top:var(--sc-badge-py);padding-bottom:var(--sc-badge-py);padding-left:var(--sc-badge-px);padding-right:var(--sc-badge-px);min-height:calc(var(--sc-badge-px) * 2);border:var(--sc-badge-border)}:host([type=primary]){--sc-badge-color:var(--sc-primary-content);--sc-badge-bg:var(--sc-primary)}:host([type=warning]){--sc-badge-color:var(--sc-warning-content);--sc-badge-bg:var(--sc-warning)}:host([type=danger]){--sc-badge-color:var(--sc-danger-content);--sc-badge-bg:var(--sc-danger)}:host([type=info]){--sc-badge-color:var(--sc-info-content);--sc-badge-bg:var(--sc-info)}:host([type=success]){--sc-badge-color:var(--sc-success-content);--sc-badge-bg:var(--sc-success)}:host([type=neutral]){--sc-badge-color:var(--sc-base);--sc-badge-bg:var(--sc-base-content)}:host{font-size:var(--sc-badge-fs);gap:var(--sc-badge-gap)}:host([size="2xs"]){--sc-badge-fs:0.58rem;--sc-badge-gap:0.3em}:host([size=xs]){--sc-badge-fs:0.68rem;--sc-badge-gap:0.35em}:host([size=sm]){--sc-badge-fs:0.85rem;--sc-badge-gap:0.35em}:host([size=lg]){--sc-badge-line-height:1.2;--sc-badge-fs:1.25rem;--sc-badge-gap:0.5em}:host([size=xl]){--sc-badge-line-height:1.2;--sc-badge-fs:1.5rem;--sc-badge-gap:0.5em}:host([variant=outline][type]){border-width:var(--sc-badge-border-with)!important;border-color:var(--sc-badge-bg);color:var(--sc-badge-bg);background:0 0}:host([variant=outline][type=default]){border-color:var(--sc-base-400);color:var(--sc-base-500);background:0 0}:host([variant=ghost][type]){color:var(--sc-badge-bg);background:0 0;padding:0}:host([variant=ghost][type=default]){color:var(--sc-badge-color);background:0 0}`],ro([it({type:String,reflect:!0})],oo.prototype,"type",2),ro([it({type:String,reflect:!0})],oo.prototype,"variant",2),ro([it({type:String,reflect:!0})],oo.prototype,"size",2),oo=ro([st(so)],oo);try{customElements.define(so,oo)}catch(Va){}var io=Object.defineProperty,no=Object.getOwnPropertyDescriptor,ao=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?no(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&io(e,r,i),i};const lo="sonic-link";let co=class extends et{constructor(){super(...arguments),this.href="",this._location="",this.autoActive="partial",this._target=null,this.pushState=null}get location(){return this._location}set location(t){this._location=t,Ge.updateComponentActiveState(this)}connectedCallback(){this.href&&0!=this.href.indexOf("http")&&(Ge.onChange(this),this.location=document.location.href.replace(document.location.origin,"")),super.connectedCallback()}disconnectedCallback(){Ge.offChange(this),super.disconnectedCallback()}set target(t){this._target=t,class{static fixBlankLink(t){const e="undefined"==typeof require?null:require("electron");"_blank"==t.target&&t.addEventListener("click",(()=>{null==e||e.shell.openExternal(t.href)}))}}.fixBlankLink(this),this.requestUpdate()}get target(){return this._target}handlePushState(t){t.preventDefault(),Ge.changeFromComponent(this)}render(){return this.href?L`<a href="${this.href}" target="${Ie(this.target)}" @click="${this.pushState?this.handlePushState:null}"><slot></slot></a>`:L`<slot></slot>`}};co.styles=[n`a{color:inherit;text-decoration:none;display:contents}`],ao([it({type:String})],co.prototype,"href",2),ao([it({type:String})],co.prototype,"autoActive",2),ao([it({type:String})],co.prototype,"target",1),ao([it({type:Boolean})],co.prototype,"pushState",2),co=ao([st(lo)],co);try{customElements.define(lo,co)}catch(Va){}var ho=Object.defineProperty,po=Object.getOwnPropertyDescriptor,uo=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?po(e,r):e,n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&ho(e,r,i),i};const mo="sonic-progress";let go=class extends et{constructor(){super(...arguments),this.max=100,this.invert=!1,this.type="default",this.size="md"}render(){return L`<progress value="${Ie(this.value)}" max="${this.max}"></progress><div class="slot-container"><slot></slot><slot name="remaining"></slot></div>`}};go.styles=[ar,n`:host{--sc-progress-bg:var(--sc-input-bg, var(--sc-base-100, #f5f5f5));--sc-progress-color:var(--sc-base-content, #1f2937);--sc-progress-height:.6em;--sc-progress-fs:var(--sc-fs, 1rem);--sc-progress-fw:500;--sc-progress-rounded:var(--sc-rounded-lg);display:block;line-height:1.2;font-weight:var(--sc-progress-fw);font-size:var(--sc-progress-fs);color:var(--sc-progress-color)}progress{position:relative;width:100%;-webkit-appearance:none;appearance:none;overflow:hidden;border:none;height:var(--sc-progress-height);border-radius:var(--sc-progress-rounded);background-color:var(--sc-progress-bg);color:var(--sc-progress-color)}progress::-moz-progress-bar{background-color:var(--sc-progress-color);border-radius:var(--sc-progress-rounded)}progress:not([value])::-moz-progress-bar{background-color:var(--sc-progress-bg)}progress::-webkit-progress-bar{background-color:var(--sc-progress-bg)}progress::-webkit-progress-value{background-color:var(--sc-progress-color);border-radius:var(--sc-progress-rounded)}progress:indeterminate:after{background-color:var(--sc-progress-color);content:"";position:absolute;top:0;bottom:0;left:-40%;width:33.333333%;border-radius:var(--sc-progress-rounded);animation:progress-loading 3s infinite ease-in-out}@keyframes progress-loading{50%{left:107%}}:host([type=warning]){--sc-progress-color:var(--sc-warning)}:host([type=danger]){--sc-progress-color:var(--sc-danger)}:host([type=info]){--sc-progress-color:var(--sc-info)}:host([type=success]){--sc-progress-color:var(--sc-success)}:host([invert]){--sc-progress-bg:var(--sc-base-700)}:host([type=default][invert]){--sc-progress-color:var(--sc-base)}slot[name=remaining]{font-weight:var(--sc-font-weight-base);color:var(--sc-base-400);font-size:.85em;margin-top:.5em}.slot-container{display:flex;justify-content:space-between;gap:.5em;margin-top:.15em}`],uo([it({type:Number})],go.prototype,"value",2),uo([it({type:Number})],go.prototype,"max",2),uo([it({type:Boolean})],go.prototype,"invert",2),uo([it({type:String,reflect:!0})],go.prototype,"type",2),uo([it({type:String,reflect:!0})],go.prototype,"size",2),go=uo([st(mo)],go);try{customElements.define(mo,go)}catch(Va){}const bo=n`*{box-sizing:border-box}:host{--sc-input-height:var(--sc-form-height);--sc-input-border-width:var(--sc-form-border-width);--sc-input-color:var(--sc-base-content);--sc-item-rounded-tr:var(--sc-input-rounded);--sc-item-rounded-tl:var(--sc-input-rounded);--sc-item-rounded-bl:var(--sc-input-rounded);--sc-item-rounded-br:var(--sc-input-rounded);--sc-input-fs:var(--sc-fs, 1rem);--sc-input-ff:inherit;--sc-input-py:0.6em;--sc-input-px:1.15em;--sc-input-prefix-color:var(--sc-input-color);--sc-input-prefix-bg:var(--sc-input-bg);--sc-input-prefix-border-color:var(--sc-input-border-color);--sc-input-suffix-color:var(--sc-input-color);--sc-input-suffix-bg:var(--sc-input-bg);--sc-input-suffix-border-color:var(--sc-input-border-color);--sc-label-fs:var(--sc-fs, 1rem);--sc-label-fw:var(--sc-label-font-weight)}.form-element{display:block;flex-grow:1;width:100%;line-height:1.1;color:var(--sc-input-color);border-radius:var(--sc-item-rounded-tl) var(--sc-item-rounded-tr) var(--sc-item-rounded-br) var(--sc-item-rounded-bl);font-family:var(--sc-input-ff);background-color:var(--sc-input-bg,var(--sc-base,#fff));border:var(--sc-input-border-width) solid var(--sc-input-border-color,var(--sc-base-300,#aaa));width:100%;font-size:var(--sc-input-fs);padding-top:var(--sc-input-py);padding-bottom:var(--sc-input-py);padding-left:var(--sc-input-px);padding-right:var(--sc-input-px);min-height:var(--sc-input-height)}label{font-size:var(--sc-label-fs);font-weight:var(--sc-label-fw);line-height:1.2}.form-control{display:flex;width:100%}:host(:not([inlineContent])) .has-prefix slot[name=prefix],:host(:not([inlineContent])) .has-suffix slot[name=suffix]{min-width:var(--sc-input-height);box-sizing:border-box;display:flex;align-items:center;justify-content:center;line-height:1.1;flex-shrink:0;padding-left:calc(-1 * var(--sc-input-px));padding-right:calc(-1 * var(--sc-input-px))}:host(:not([inlineContent])) slot[name=prefix]{border-radius:var(--sc-item-rounded-tl) 0 0 var(--sc-item-rounded-bl);background-color:var(--sc-input-prefix-bg);color:var(--sc-input-prefix-color);border:var(--sc-input-border-width) solid var(--sc-input-prefix-border-color);margin-right:calc(-1 * var(--sc-input-border-width))}:host(:not([inlineContent])) slot[name=suffix]{border-radius:0 var(--sc-item-rounded-tr) var(--sc-item-rounded-br) 0;background-color:var(--sc-input-suffix-bg);color:var(--sc-input-suffix-color);border:var(--sc-input-border-width) solid var(--sc-input-suffix-border-color);margin-left:calc(-1 * var(--sc-input-border-width))}:host(:not([inlineContent])) .has-prefix .form-element{border-top-left-radius:0;border-bottom-left-radius:0}:host(:not([inlineContent])) .has-suffix .form-element{border-top-right-radius:0;border-bottom-right-radius:0}:host([inlineContent]){--sc-input-py:0}:host([inlineContent]) .form-element{display:flex;flex-wrap:wrap;align-items:center;gap:.35em;min-height:var(--sc-form-height)}:host([disabled]) .form-element-container{cursor:not-allowed}:host([variant=ghost]) .form-element{--sc-input-bg:transparent}:host([disabled]) .form-element{pointer-events:none;background-color:var(--sc-base-100);border-color:transparent;color:var(--sc-base-400)}::placeholder{color:inherit;opacity:.45}:focus::placeholder{opacity:0}.form-element:focus,.form-element:focus-visible,:host(:not([disabled])) .form-element:hover{filter:brightness(.97);outline:0}.form-label{margin-bottom:.22em;display:block}.form-description{color:var(--sc-base-400);font-size:.85em;margin-top:.2em;display:block}.form-element .form-element,.form-element>slot{all:unset!important}.hidden{display:none}.contents{display:contents}:host([error]){--sc-input-border-color:var(--sc-danger)}:host input:visited{display:none}:host([touched][required]) :not(:focus):invalid{--sc-input-border-color:var(--sc-danger);--sc-input-color:var(--sc-danger)}:host([touched][required]) :not(:focus):invalid+.select-chevron{--sc-input-color:var(--sc-danger)}:host([touched][required]) :not([value=""]):not(:focus):valid{--sc-input-border-color:var(--sc-success);--sc-input-color:var(--sc-success)}:host([touched][required]) :not(:focus):valid+.select-chevron{--sc-input-color:var(--sc-success)}:host([type=color]) .form-element{padding:0;border:0;min-width:var(--sc-input-height)}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:var(--sc-item-rounded-tl) var(--sc-item-rounded-tr) var(--sc-item-rounded-br) var(--sc-item-rounded-bl)}:host([type=image]) .form-element{padding:0;border:none}input[type=reset],input[type=submit]{cursor:pointer}input[type=search]::-webkit-search-cancel-button{appearance:none;cursor:pointer;height:.65em;width:.65em;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE2LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjEyMy4wNXB4IiBoZWlnaHQ9IjEyMy4wNXB4IiB2aWV3Qm94PSIwIDAgMTIzLjA1IDEyMy4wNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTIzLjA1IDEyMy4wNTsiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBhdGggZD0iTTEyMS4zMjUsMTAuOTI1bC04LjUtOC4zOTljLTIuMy0yLjMtNi4xLTIuMy04LjUsMGwtNDIuNCw0Mi4zOTlMMTguNzI2LDEuNzI2Yy0yLjMwMS0yLjMwMS02LjEwMS0yLjMwMS04LjUsMGwtOC41LDguNQ0KCQljLTIuMzAxLDIuMy0yLjMwMSw2LjEsMCw4LjVsNDMuMSw0My4xbC00Mi4zLDQyLjVjLTIuMywyLjMtMi4zLDYuMSwwLDguNWw4LjUsOC41YzIuMywyLjMsNi4xLDIuMyw4LjUsMGw0Mi4zOTktNDIuNGw0Mi40LDQyLjQNCgkJYzIuMywyLjMsNi4xLDIuMyw4LjUsMGw4LjUtOC41YzIuMy0yLjMsMi4zLTYuMSwwLTguNWwtNDIuNS00Mi40bDQyLjQtNDIuMzk5QzEyMy42MjUsMTcuMTI1LDEyMy42MjUsMTMuMzI1LDEyMS4zMjUsMTAuOTI1eiIvPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPC9zdmc+DQo=);background-size:contain;background-repeat:no-repeat}`
97
97
  /**
98
98
  * @license
@@ -3152,7 +3152,6 @@ const Form$1 = (superClass) => {
3152
3152
  return this._value;
3153
3153
  }
3154
3154
  set value(value) {
3155
- console.log(value);
3156
3155
  if (this.hasAttribute("value") && !this.forceAutoFill)
3157
3156
  value = this.getAttribute("value");
3158
3157
  if (this._value == value)
@@ -3185,9 +3184,6 @@ const Form$1 = (superClass) => {
3185
3184
  this._checked = checked;
3186
3185
  this.updateDataValue();
3187
3186
  this.requestUpdate();
3188
- if (this.publisher && !this.radio && !this.unique) {
3189
- this.publisher.checked = this._checked;
3190
- }
3191
3187
  }
3192
3188
  handleChange() {
3193
3189
  this.checked = this.checked ? !this.radio ? null : true : true;
@@ -3946,6 +3942,11 @@ let Queue = class extends Subscriber$1(s$2) {
3946
3942
  }
3947
3943
  set displayContents(value) {
3948
3944
  this._displayContents = value;
3945
+ if (value)
3946
+ this.style.display = "contents";
3947
+ else
3948
+ this.style.removeProperty("display");
3949
+ this.requestUpdate();
3949
3950
  }
3950
3951
  get displayContents() {
3951
3952
  return this._displayContents;
@@ -4184,10 +4185,13 @@ let Submit = class extends Subscriber$1(s$2) {
4184
4185
  captchaPublisher.captchaMethod = method;
4185
4186
  captchaPublisher.captchaAction = (_c = (_b = dataProvider == null ? void 0 : dataProvider.split("?")[0]) != null ? _b : this.getAncestorAttributeValue("formDataProvider")) != null ? _c : "submit";
4186
4187
  captchaPublisher.captchaToken = "request_token";
4187
- captchaPublisher.captchaToken.onAssign((token) => {
4188
- if (token != "request_token")
4188
+ let captchaAssign = (token) => {
4189
+ if (token != "request_token") {
4189
4190
  sendData();
4190
- });
4191
+ captchaPublisher.captchaToken.offAssign(captchaAssign);
4192
+ }
4193
+ };
4194
+ captchaPublisher.captchaToken.onAssign(captchaAssign);
4191
4195
  } else {
4192
4196
  sendData();
4193
4197
  }
@@ -5125,7 +5129,11 @@ let SonicComponent = class extends Fetcher(Subscriber(s$2)) {
5125
5129
  element = document.createElement(type);
5126
5130
  let attributes = props.attributes;
5127
5131
  for (let k2 in attributes) {
5128
- element.setAttribute(k2, attributes[k2]);
5132
+ let attr = attributes[k2];
5133
+ if (Objects.isObject(attr)) {
5134
+ attr = JSON.stringify(attr);
5135
+ }
5136
+ element.setAttribute(k2, attr);
5129
5137
  }
5130
5138
  if (props.innerHTML) {
5131
5139
  element.innerHTML = props.innerHTML;
@@ -55,6 +55,11 @@ let Queue = Queue_1 = class Queue extends Subscriber(LitElement) {
55
55
  }
56
56
  set displayContents(value) {
57
57
  this._displayContents = value;
58
+ if (value)
59
+ this.style.display = "contents";
60
+ else
61
+ this.style.removeProperty("display");
62
+ this.requestUpdate();
58
63
  }
59
64
  get displayContents() {
60
65
  return this._displayContents;
@@ -16,6 +16,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
16
16
  import { LitElement } from "lit";
17
17
  import { customElement, property } from "lit/decorators.js";
18
18
  import { Fetcher, Subscriber } from "@supersoniks/concorde/mixins";
19
+ import { Objects } from "@supersoniks/concorde/utils";
19
20
  const tagName = "sonic-sdui"; // For Astro.build
20
21
  let SonicComponent = class SonicComponent extends Fetcher(Subscriber(LitElement)) {
21
22
  connectedCallback() {
@@ -98,7 +99,11 @@ let SonicComponent = class SonicComponent extends Fetcher(Subscriber(LitElement)
98
99
  element = document.createElement(type);
99
100
  let attributes = props.attributes;
100
101
  for (let k in attributes) {
101
- element.setAttribute(k, attributes[k]);
102
+ let attr = attributes[k];
103
+ if (Objects.isObject(attr)) {
104
+ attr = JSON.stringify(attr);
105
+ }
106
+ element.setAttribute(k, attr);
102
107
  }
103
108
  if (props.innerHTML) {
104
109
  element.innerHTML = props.innerHTML;
@@ -126,10 +126,15 @@ let Submit = class Submit extends Subscriber(LitElement) {
126
126
  captchaPublisher.captchaMethod = method;
127
127
  captchaPublisher.captchaAction = (_c = (_b = dataProvider === null || dataProvider === void 0 ? void 0 : dataProvider.split("?")[0]) !== null && _b !== void 0 ? _b : this.getAncestorAttributeValue("formDataProvider")) !== null && _c !== void 0 ? _c : "submit";
128
128
  captchaPublisher.captchaToken = "request_token";
129
- captchaPublisher.captchaToken.onAssign((token) => {
130
- if (token != "request_token")
129
+ let captchaAssign = (token) => {
130
+ if (token != "request_token") {
131
131
  sendData();
132
- });
132
+ // Après l'envoie des données, on supprime ce onAssign.
133
+ // Sinon les handler se cumuleraient après plusieurs submit consécutifs.
134
+ captchaPublisher.captchaToken.offAssign(captchaAssign);
135
+ }
136
+ };
137
+ captchaPublisher.captchaToken.onAssign(captchaAssign);
133
138
  }
134
139
  else {
135
140
  sendData();
@@ -64,7 +64,9 @@ declare const Form: <T extends Constructor<FormElementInterface>>(superClass: T)
64
64
  removeAttribute(name: string): void;
65
65
  getApiConfiguration(): import("../utils/api").APIConfiguration;
66
66
  connectedCallback(): void;
67
- requestUpdate(): void;
67
+ requestUpdate(): void; /**
68
+ Active le mode radio
69
+ */
68
70
  getAttribute(name: string): string;
69
71
  hasAttribute(attributeName: String): boolean;
70
72
  disconnectedCallback(): void;
@@ -39,7 +39,6 @@ const Form = (superClass) => {
39
39
  return this._value;
40
40
  }
41
41
  set value(value) {
42
- console.log(value);
43
42
  if (this.hasAttribute("value") && !this.forceAutoFill)
44
43
  value = this.getAttribute("value");
45
44
  if (this._value == value)
@@ -72,9 +71,11 @@ const Form = (superClass) => {
72
71
  this._checked = checked;
73
72
  this.updateDataValue();
74
73
  this.requestUpdate();
75
- if (this.publisher && !this.radio && !this.unique) {
76
- this.publisher.checked = this._checked;
77
- }
74
+ // Désactivation du checked sur le publisher
75
+ // Pas sur de l'utilité mais provoque un bug
76
+ // if (this.publisher && !this.radio && !this.unique) {
77
+ // this.publisher.checked = this._checked;
78
+ // }
78
79
  }
79
80
  handleChange() {
80
81
  this.checked = this.checked ? (!this.radio ? null : true) : true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supersoniks/concorde",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
4
4
  "customElements": "custom-elements.json",
5
5
  "license": "MIT",
6
6
  "publishConfig": {