consttt=globalThis,st=tt.ShadowRoot&&(void0===tt.ShadyCSS||tt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,it=Symbol(),et=newWeakMap;classht{constructor(t,s,i){if(this._$cssResult$=!0,i!==it)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}getstyleSheet(){lett=this.i;consts=this.t;if(st&&void0===t){consti=void0!==s&&1===s.length;i&&(t=et.get(s)),void0===t&&((this.i=t=newCSSStyleSheet).replaceSync(this.cssText),i&&et.set(s,t))}returnt}toString(){returnthis.cssText}}constot=t=>newht("string"==typeoft?t:t+"",void0,it),rt=(t,...s)=>{consti=1===t.length?t[0]:s.reduce(((s,i,e)=>s+(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.")})(i)+t[e+1]),t[0]);returnnewht(i,t,it)},nt=(t,s)=>{if(st)t.adoptedStyleSheets=s.map((t=>tinstanceofCSSStyleSheet?t:t.styleSheet));elsefor(constiofs){consts=document.createElement("style"),e=tt.litNonce;void0!==e&&s.setAttribute("nonce",e),s.textContent=i.cssText,t.appendChild(s)}},ct=st?t=>t:t=>tinstanceofCSSStyleSheet?(t=>{lets="";for(constioft.cssRules)s+=i.cssText;returnot(s)})(t):t
classextendsqs{constructor(t){if(super(t),2!==t.type)throwError("asyncAppend can only be used in child expressions")}update(t,s){returnthis.ot=t,super.update(t,s)}commitValue(t,s){0===s&&Vs(this.ot);consti=Cs(this.ot);Ps(i,t)}}),Js=t=>$s(t)?t._$litType$.h:t.strings,Ks=Rs(classextendsNs{constructor(t){super(t),this.yt=newWeakMap}render(t){return[t]}update(t,[s]){consti=Ss(this.bt)?Js(this.bt):null,e=Ss(s)?Js(s):null;if(null!==i&&(null===e||i!==e)){consts=ks(t).pop();lete=this.yt.get(i);if(void0===e){constt=document.createDocumentFragment();e=us(Gt,t),e.setConnected(!1),this.yt.set(i,e)}Ms(e,[s]),Cs(e,void0,s)}if(null!==e){if(null===i||i!==e){consts=this.yt.get(e);if(void0!==s){consti=ks(s).pop();Vs(t),Cs(t,void0,i),Ms(t,[i])}}this.bt=s}elsethis.bt=void0;returnthis.render(s)}}),Ys=(t,s,i)=>{for(constiofs)if(i[0]===t)return(0,i[1])();returni?.()},Qs=Rs(
classextendsNs{constructor(t){if(super(t),1!==t.type||"class"!==t.name||t.strings?.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((s=>t[s])).join(" ")+" "}update(t,[s]){if(void0===this.gt){this.gt=newSet,void0!==t.strings&&(this.wt=newSet(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(consttins)s[t]&&!this.wt?.has(t)&&this.gt.add(t);returnthis.render(s)}consti=t.element.classList;for(consttofthis.gt)tins||(i.remove(t),this.gt.delete(t));for(consttins){conste=!!s[t];e===this.gt.has(t)||this.wt?.has(t)||(e?(i.add(t),this.gt.add(t)):(i.remove(t),this.gt.delete(t)))}returnFt}}),Xs={},ti=Rs(classextendsNs{constructor(){super(...arguments),this._t=Xs}render(t,s){returns()}update(t,[s,i]){if(Array.isArray(s)){if(Array.isArray(this._t)&&this._t.length===s.length&&s.every(((t,s)=>t===this._t[s])))returnFt}elseif(this._t===s)returnFt;returnthis._t=Array.isArray(s)?Array.from(s):s,this.render(s,i)}}),si=t=>t??Gt
classextendsNs{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(!Es(t))throwError("`live` bindings can only contain a single expression")}render(t){returnt}update(t,[s]){if(s===Ft||s===Gt)returns;consti=t.element,e=t.name;if(3===t.type){if(s===i[e])returnFt}elseif(4===t.type){if(!!s===i.hasAttribute(e))returnFt}elseif(1===t.type&&i.getAttribute(e)===s+"")returnFt;returnMs(t),s}});
*/const hi=()=>new ci;class ci{}const li=new WeakMap,ai=Rs(class extends Bs{render(t){return Gt}update(t,[s]){const i=s!==this.ct;return i&&void 0!==this.ct&&this.St(void 0),(i||this.$t!==this.Tt)&&(this.ct=s,this.xt=t.options?.host,this.St(this.Tt=t.element)),Gt}St(t){if(this.isConnected||(t=void 0),"function"==typeof this.ct){const s=this.xt??globalThis;let i=li.get(s);void 0===i&&(i=new WeakMap,li.set(s,i)),void 0!==i.get(this.ct)&&this.ct.call(this.xt,void 0),i.set(this.ct,t),void 0!==t&&this.ct.call(this.xt,t)}else this.ct.value=t}get $t(){return"function"==typeof this.ct?li.get(this.xt??globalThis)?.get(this.ct):this.ct?.value}disconnected(){this.$t===this.Tt&&this.St(void 0)}reconnected(){this.St(this.Tt)}}),ui=(t,s,i)=>{const e=new Map;for(let n=s;n<=i;n++)e.set(t[n],n);return e},di=Rs(class extends Ns{constructor(t){if(super(t),2!==t.type)throw Error("repeat() can only be used in text expressions")}Et(t,s,i){let e;void 0===i?i=s:void 0!==s&&(e=s);const n=[],r=[];let o=0;for(const s of t)n[o]=e?e(s,o):o,r[o]=i(s,o),o++;return{values:r,keys:n}}render(t,s,i){return this.Et(t,s,i).values}update(t,[s,i,e]){const n=ks(t),{values:r,keys:o}=this.Et(s,i,e);if(!Array.isArray(n))return this.Ct=o,r;const h=this.Ct??=[],c=[];let l,a,u=0,d=n.length-1,f=0,p=r.length-1;for(;u<=d&&f<=p;)if(null===n[u])u++;else if(null===n[d])d--;else if(h[u]===o[f])c[f]=Ps(n[u],r[f]),u++,f++;else if(h[d]===o[p])c[p]=Ps(n[d],r[p]),d--,p--;else if(h[u]===o[p])c[p]=Ps(n[u],r[p]),Cs(t,c[p+1],n[u]),u++,p--;else if(h[d]===o[f])c[f]=Ps(n[d],r[f]),Cs(t,n[u],n[d]),d--,f++;else if(void 0===l&&(l=ui(o,f,p),a=ui(h,u,d)),l.has(h[u]))if(l.has(h[d])){const s=a.get(o[f]),i=void 0!==s?n[s]:null;if(null===i){const s=Cs(t,n[u]);Ps(s,r[f]),c[f]=s}else c[f]=Ps(i,r[f]),Cs(t,n[u],i),n[s]=null;f++}else Us(n[d]),d--;else Us(n[u]),u++;for(;f<=p;){const s=Cs(t,c[p+1]);Ps(s,r[f]),c[f++]=s}for(;u<=d;){const t=n[u++];null!==t&&Us(t)}return this.Ct=o,Ms(t,c),Ft}}),fi="important",pi=" !"+fi,vi=Rs(class extends Ns{constructor(t){if(super(t),1!==t.type||"style"!==t.name||t.strings?.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(((s,i)=>{const e=t[i];return null==e?s:s+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`}),"")}update(t,[s]){const{style:i}=t.element;if(void 0===this.Pt)return this.Pt=new Set(Object.keys(s)),this.render(s);for(const t of this.Pt)null==s[t]&&(this.Pt.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in s){const e=s[t];if(null!=e){this.Pt.add(t);const s="string"==typeof e&&e.endsWith(pi);t.includes("-")||s?i.setProperty(t,s?e.slice(0,-11):e,s?fi:""):i[t]=e}}return Ft}}),yi=Rs(
classextendsNs{constructor(t){if(super(t),2!==t.type)throwError("templateContent can only be used in child bindings")}render(t){returnthis.At===t?Ft:(this.At=t,document.importNode(t.content,!0))}});classmiextendsNs{constructor(t){if(super(t),this.bt=Gt,2!==t.type)throwError(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Gt||null==t)returnthis.Mt=void0,this.bt=t;if(t===Ft)returnt;if("string"!=typeoft)throwError(this.constructor.directiveName+"() called with a non-string value");if(t===this.bt)returnthis.Mt;this.bt=t;consts=[t];returns.raw=s,this.Mt={_$litType$:this.constructor.resultType,strings:s,values:[]}}}mi.directiveName="unsafeHTML",mi.resultType=1;constbi=Rs(mi);
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{BsasAsyncDirective,qsasAsyncReplaceDirective,htasCSSResult,NsasDirective,dsasLitElement,OsasPartType,$tasReactiveElement,_sasTemplateResultType,miasUnsafeHTMLDirective,$iasUntilDirective,psas_$LE,asas_$LH,ntasadoptStyles,GsasasyncAppend,FsasasyncReplace,Ksascache,Ysaschoose,QsasclassMap,VsasclearPart,hiascreateRef,rtascss,btasdefaultConverter,Rsasdirective,ksasgetCommittedValue,ctasgetCompatibleStyle,xsasgetDirectiveClass,tiasguard,bsashtml,siasifDefined,CsasinsertPart,$sasisCompiledTemplateResult,TsasisDirectiveResult,NtasisPrimitive,vsasisServer,EsasisSingleExpression,SsasisTemplateResult,iiasjoin,eiaskeyed,Aiasliteral,niaslive,riasmap,Ztasmathml,FtasnoChange,StasnotEqual,Gtasnothing,oiasrange,aiasref,UsasremovePart,usasrender,diasrepeat,PsassetChildPartValue,MsassetCommittedValue,qtasstaticHtml,JtasstaticSvg,viasstyleMap,stassupportsAdoptingStyleSheets,gsassvg,yiastemplateContent,otasunsafeCSS,biasunsafeHTML,wiasunsafeSVG,PiasunsafeStatic,Tiasuntil,xiaswhen,kiaswithStatic};