constt=window,i=t.ShadowRoot&&(void0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,s=Symbol(),e=newWeakMap;classn{constructor(t,i,e){if(this._$cssResult$=!0,e!==s)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=i}getstyleSheet(){lett=this.i;consts=this.t;if(i&&void0===t){consti=void0!==s&&1===s.length;i&&(t=e.get(s)),void0===t&&((this.i=t=newCSSStyleSheet).replaceSync(this.cssText),i&&e.set(s,t))}returnt}toString(){returnthis.cssText}}consto=t=>newn("string"==typeoft?t:t+"",void0,s),r=(t,...i)=>{conste=1===t.length?t[0]:i.reduce(((i,s,e)=>i+(t=>{if(!0===t._$cssResult$)returnt.cssText;if("number"==typeoft)returnt;throwError("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[e+1]),t[0]);returnnewn(e,t,s)},l=(s,e)=>{i?s.adoptedStyleSheets=e.map((t=>tinstanceofCSSStyleSheet?t:t.styleSheet)):e.forEach((i=>{conste=document.createElement("style"),n=t.litNonce;void0!==n&&e.setAttribute("nonce",n),e.textContent=i.cssText,s.appendChild(e)}))},h=i?t=>t:t=>tinstanceofCSSStyleSheet?(t=>{leti="";for(constsoft.cssRules)i+=s.cssText;returno(i)})(t):t
classextendsIt{constructor(t){if(super(t),2!==t.type)throwError("asyncAppend can only be used in child expressions")}update(t,i){returnthis.st=t,super.update(t,i)}commitValue(t,i){0===i&&At(this.st);consts=$t(this.st);St(s,t)}}),Wt=Mt(
classextendsPt{constructor(t){vari;if(super(t),1!==t.type||"class"!==t.name||(null===(i=t.strings)||void0===i?void0:i.length)>2)throwError("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((i=>t[i])).join(" ")+" "}update(t,[i]){vars,e;if(void0===this.ft){this.ft=newSet,void0!==t.strings&&(this.yt=newSet(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(consttini)i[t]&&!(null===(s=this.yt)||void0===s?void0:s.has(t))&&this.ft.add(t);returnthis.render(i)}constn=t.element.classList;this.ft.forEach((t=>{tini||(n.remove(t),this.ft.delete(t))}));for(consttini){consts=!!i[t];s===this.ft.has(t)||(null===(e=this.yt)||void0===e?void0:e.has(t))||(s?(n.add(t),this.ft.add(t)):(n.remove(t),this.ft.delete(t)))}returnD}}),Ft={},Gt=Mt(classextendsPt{constructor(){super(...arguments),this.bt=Ft}render(t,i){returni()}update(t,[i,s]){if(Array.isArray(i)){if(Array.isArray(this.bt)&&this.bt.length===i.length&&i.every(((t,i)=>t===this.bt[i])))returnD}elseif(this.bt===i)returnD;returnthis.bt=Array.isArray(i)?Array.from(i):i,this.render(i,s)}}),Jt=t=>null!=t?t:W
classextendsPt{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throwError("The `live` directive is not allowed on child or event bindings");if(!wt(t))throwError("`live` bindings can only contain a single expression")}render(t){returnt}update(t,[i]){if(i===D||i===W)returni;consts=t.element,e=t.name;if(3===t.type){if(i===s[e])returnD}elseif(4===t.type){if(!!i===s.hasAttribute(e))returnD}elseif(1===t.type&&s.getAttribute(e)===i+"")returnD;returnxt(t),i}});
*/const ii=()=>new si;class si{}const ei=new WeakMap,ni=Mt(class extends jt{render(t){return W}update(t,[i]){var s;const e=i!==this.ot;return e&&void 0!==this.ot&&this.gt(void 0),(e||this.wt!==this._t)&&(this.ot=i,this.$t=null===(s=t.options)||void 0===s?void 0:s.host,this.gt(this._t=t.element)),W}gt(t){var i;if("function"==typeof this.ot){const s=null!==(i=this.$t)&&void 0!==i?i:globalThis;let e=ei.get(s);void 0===e&&(e=new WeakMap,ei.set(s,e)),void 0!==e.get(this.ot)&&this.ot.call(this.$t,void 0),e.set(this.ot,t),void 0!==t&&this.ot.call(this.$t,t)}else this.ot.value=t}get wt(){var t,i,s;return"function"==typeof this.ot?null===(i=ei.get(null!==(t=this.$t)&&void 0!==t?t:globalThis))||void 0===i?void 0:i.get(this.ot):null===(s=this.ot)||void 0===s?void 0:s.value}disconnected(){this.wt===this._t&&this.gt(void 0)}reconnected(){this.gt(this._t)}}),oi=(t,i,s)=>{const e=new Map;for(let n=i;n<=s;n++)e.set(t[n],n);return e},ri=Mt(class extends Pt{constructor(t){if(super(t),2!==t.type)throw Error("repeat() can only be used in text expressions")}St(t,i,s){let e;void 0===s?s=i:void 0!==i&&(e=i);const n=[],o=[];let r=0;for(const i of t)n[r]=e?e(i,r):r,o[r]=s(i,r),r++;return{values:o,keys:n}}render(t,i,s){return this.St(t,i,s).values}update(t,[i,s,e]){var n;const o=Et(t),{values:r,keys:l}=this.St(i,s,e);if(!Array.isArray(o))return this.Tt=l,r;const h=null!==(n=this.Tt)&&void 0!==n?n:this.Tt=[],u=[];let c,a,d=0,v=o.length-1,f=0,p=r.length-1;for(;d<=v&&f<=p;)if(null===o[d])d++;else if(null===o[v])v--;else if(h[d]===l[f])u[f]=St(o[d],r[f]),d++,f++;else if(h[v]===l[p])u[p]=St(o[v],r[p]),v--,p--;else if(h[d]===l[p])u[p]=St(o[d],r[p]),$t(t,u[p+1],o[d]),d++,p--;else if(h[v]===l[f])u[f]=St(o[v],r[f]),$t(t,o[d],o[v]),v--,f++;else if(void 0===c&&(c=oi(l,f,p),a=oi(h,d,v)),c.has(h[d]))if(c.has(h[v])){const i=a.get(l[f]),s=void 0!==i?o[i]:null;if(null===s){const i=$t(t,o[d]);St(i,r[f]),u[f]=i}else u[f]=St(s,r[f]),$t(t,o[d],s),o[i]=null;f++}else Ct(o[v]),v--;else Ct(o[d]),d++;for(;f<=p;){const i=$t(t,u[p+1]);St(i,r[f]),u[f++]=i}for(;d<=v;){const t=o[d++];null!==t&&Ct(t)}return this.Tt=l,xt(t,u),D}}),li="important",hi=" !"+li,ui=Mt(class extends Pt{constructor(t){var i;if(super(t),1!==t.type||"style"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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(((i,s)=>{const e=t[s];return null==e?i:i+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`}),"")}update(t,[i]){const{style:s}=t.element;if(void 0===this.xt){this.xt=new Set;for(const t in i)this.xt.add(t);return this.render(i)}this.xt.forEach((t=>{null==i[t]&&(this.xt.delete(t),t.includes("-")?s.removeProperty(t):s[t]="")}));for(const t in i){const e=i[t];if(null!=e){this.xt.add(t);const i="string"==typeof e&&e.endsWith(hi);t.includes("-")||i?s.setProperty(t,i?e.slice(0,-11):e,i?li:""):s[t]=e}}return D}}),ci=Mt(
/**
*@license
*Copyright2020GoogleLLC
*SPDX-License-Identifier:BSD-3-Clause
*/
classextendsPt{constructor(t){if(super(t),2!==t.type)throwError("templateContent can only be used in child bindings")}render(t){returnthis.Et===t?D:(this.Et=t,document.importNode(t.content,!0))}});classaiextendsPt{constructor(t){if(super(t),this.vt=W,2!==t.type)throwError(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)returnthis.Ct=void0,this.vt=t;if(t===D)returnt;if("string"!=typeoft)throwError(this.constructor.directiveName+"() called with a non-string value");if(t===this.vt)returnthis.Ct;this.vt=t;consti=[t];returni.raw=i,this.Ct={_$litType$:this.constructor.resultType,strings:i,values:[]}}}ai.directiveName="unsafeHTML",ai.resultType=1;constdi=Mt(ai);
window.litDisableBundleWarning||console.warn("Lit has been loaded from a bundle that combines all core features into a single file. To reduce transfer size and parsing cost, consider using the `lit` npm package directly in your project.");export{jtasAsyncDirective,ItasAsyncReplaceDirective,nasCSSResult,PtasDirective,ctasLitElement,ktasPartType,masReactiveElement,ytasTemplateResultType,aiasUnsafeHTMLDirective,biasUntilDirective,utasUpdatingElement,dtas_$LE,ntas_$LH,lasadoptStyles,DtasasyncAppend,BtasasyncReplace,Wtascache,Ztaschoose,qtasclassMap,AtasclearPart,iiascreateRef,rascss,fasdefaultConverter,Mtasdirective,EtasgetCommittedValue,hasgetCompatibleStyle,gtasgetDirectiveClass,Gtasguard,Iashtml,JtasifDefined,$tasinsertPart,mtasisDirectiveResult,ptasisPrimitive,vtasisServer,wtasisSingleExpression,btasisTemplateResult,Ktasjoin,Ytaskeyed,Siasliteral,Qtaslive,Xtasmap,DasnoChange,pasnotEqual,Wasnothing,tiasrange,niasref,CtasremovePart,rtasrender,riasrepeat,StassetChildPartValue,xtassetCommittedValue,EiasstaticHtml,CiasstaticSvg,uiasstyleMap,iassupportsAdoptingStyleSheets,Bassvg,ciastemplateContent,oasunsafeCSS,diasunsafeHTML,fiasunsafeSVG,$iasunsafeStatic,miasuntil,giaswhen,xiaswithStatic};