constt=globalThis,s=t.ShadowRoot&&(void0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,i=Symbol(),e=newWeakMap;classn{constructor(t,s,e){if(this._$cssResult$=!0,e!==i)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}getstyleSheet(){lett=this.i;consti=this.t;if(s&&void0===t){consts=void0!==i&&1===i.length;s&&(t=e.get(i)),void0===t&&((this.i=t=newCSSStyleSheet).replaceSync(this.cssText),s&&e.set(i,t))}returnt}toString(){returnthis.cssText}}constr=t=>newn("string"==typeoft?t:t+"",void0,i),o=(t,...s)=>{conste=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]);returnnewn(e,t,i)},h=(i,e)=>{if(s)i.adoptedStyleSheets=e.map((t=>tinstanceofCSSStyleSheet?t:t.styleSheet));elsefor(constsofe){conste=document.createElement("style"),n=t.litNonce;void0!==n&&e.setAttribute("nonce",n),e.textContent=s.cssText,i.appendChild(e)}},c=s?t=>t:t=>tinstanceofCSSStyleSheet?(t=>{lets="";for(constioft.cssRules)s+=i.cssText;returnr(s)})(t):t
classextendsBt{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&&kt(this.ot);consti=Tt(this.ot);xt(i,t)}}),qt=t=>gt(t)?t._$litType$.h:t.strings,Ft=Ut(classextendsVt{constructor(t){super(t),this.vt=newWeakMap}render(t){return[t]}update(t,[s]){consti=bt(this.yt)?qt(this.yt):null,e=bt(s)?qt(s):null;if(null!==i&&(null===e||i!==e)){consts=Pt(t).pop();lete=this.vt.get(i);if(void0===e){constt=document.createDocumentFragment();e=at(G,t),e.setConnected(!1),this.vt.set(i,e)}Ct(e,[s]),Tt(e,void0,s)}if(null!==e){if(null===i||i!==e){consts=this.vt.get(e);if(void0!==s){consti=Pt(s).pop();kt(t),Tt(t,void0,i),Ct(t,[i])}}this.yt=s}elsethis.yt=void0;returnthis.render(s)}}),Gt=(t,s,i)=>{for(constiofs)if(i[0]===t)return(0,i[1])();returni?.()},Jt=Ut(
/**
*@license
*Copyright2018GoogleLLC
*SPDX-License-Identifier:BSD-3-Clause
*/
classextendsVt{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.bt){this.bt=newSet,void0!==t.strings&&(this.gt=newSet(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(consttins)s[t]&&!this.gt?.has(t)&&this.bt.add(t);returnthis.render(s)}consti=t.element.classList;for(consttofthis.bt)tins||(i.remove(t),this.bt.delete(t));for(consttins){conste=!!s[t];e===this.bt.has(t)||this.gt?.has(t)||(e?(i.add(t),this.bt.add(t)):(i.remove(t),this.bt.delete(t)))}returnF}}),Kt={},Yt=Ut(classextendsVt{constructor(){super(...arguments),this.wt=Kt}render(t,s){returns()}update(t,[s,i]){if(Array.isArray(s)){if(Array.isArray(this.wt)&&this.wt.length===s.length&&s.every(((t,s)=>t===this.wt[s])))returnF}elseif(this.wt===s)returnF;returnthis.wt=Array.isArray(s)?Array.from(s):s,this.render(s,i)}}),Qt=t=>t??G
classextendsVt{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(!St(t))throwError("`live` bindings can only contain a single expression")}render(t){returnt}update(t,[s]){if(s===F||s===G)returns;consti=t.element,e=t.name;if(3===t.type){if(s===i[e])returnF}elseif(4===t.type){if(!!s===i.hasAttribute(e))returnF}elseif(1===t.type&&i.getAttribute(e)===s+"")returnF;returnCt(t),s}});
*/const ns=()=>new rs;class rs{}const os=new WeakMap,hs=Ut(class extends Ht{render(t){return G}update(t,[s]){const i=s!==this.ht;return i&&void 0!==this.ht&&this._t(void 0),(i||this.St!==this.$t)&&(this.ht=s,this.Tt=t.options?.host,this._t(this.$t=t.element)),G}_t(t){if("function"==typeof this.ht){const s=this.Tt??globalThis;let i=os.get(s);void 0===i&&(i=new WeakMap,os.set(s,i)),void 0!==i.get(this.ht)&&this.ht.call(this.Tt,void 0),i.set(this.ht,t),void 0!==t&&this.ht.call(this.Tt,t)}else this.ht.value=t}get St(){return"function"==typeof this.ht?os.get(this.Tt??globalThis)?.get(this.ht):this.ht?.value}disconnected(){this.St===this.$t&&this._t(void 0)}reconnected(){this._t(this.$t)}}),cs=(t,s,i)=>{const e=new Map;for(let n=s;n<=i;n++)e.set(t[n],n);return e},ls=Ut(class extends Vt{constructor(t){if(super(t),2!==t.type)throw Error("repeat() can only be used in text expressions")}xt(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.xt(t,s,i).values}update(t,[s,i,e]){const n=Pt(t),{values:r,keys:o}=this.xt(s,i,e);if(!Array.isArray(n))return this.Et=o,r;const h=this.Et??=[],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]=xt(n[u],r[f]),u++,f++;else if(h[d]===o[p])c[p]=xt(n[d],r[p]),d--,p--;else if(h[u]===o[p])c[p]=xt(n[u],r[p]),Tt(t,c[p+1],n[u]),u++,p--;else if(h[d]===o[f])c[f]=xt(n[d],r[f]),Tt(t,n[u],n[d]),d--,f++;else if(void 0===l&&(l=cs(o,f,p),a=cs(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=Tt(t,n[u]);xt(s,r[f]),c[f]=s}else c[f]=xt(i,r[f]),Tt(t,n[u],i),n[s]=null;f++}else At(n[d]),d--;else At(n[u]),u++;for(;f<=p;){const s=Tt(t,c[p+1]);xt(s,r[f]),c[f++]=s}for(;u<=d;){const t=n[u++];null!==t&&At(t)}return this.Et=o,Ct(t,c),F}}),as="important",us=" !"+as,ds=Ut(class extends Vt{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.Ct)return this.Ct=new Set(Object.keys(s)),this.render(s);for(const t of this.Ct)null==s[t]&&(this.Ct.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in s){const e=s[t];if(null!=e){this.Ct.add(t);const s="string"==typeof e&&e.endsWith(us);t.includes("-")||s?i.setProperty(t,s?e.slice(0,-11):e,s?as:""):i[t]=e}}return F}}),fs=Ut(
/**
*@license
*Copyright2020GoogleLLC
*SPDX-License-Identifier:BSD-3-Clause
*/
classextendsVt{constructor(t){if(super(t),2!==t.type)throwError("templateContent can only be used in child bindings")}render(t){returnthis.Pt===t?F:(this.Pt=t,document.importNode(t.content,!0))}});classpsextendsVt{constructor(t){if(super(t),this.yt=G,2!==t.type)throwError(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)returnthis.At=void0,this.yt=t;if(t===F)returnt;if("string"!=typeoft)throwError(this.constructor.directiveName+"() called with a non-string value");if(t===this.yt)returnthis.At;this.yt=t;consts=[t];returns.raw=s,this.At={_$litType$:this.constructor.resultType,strings:s,values:[]}}}ps.directiveName="unsafeHTML",ps.resultType=1;constvs=Ut(ps);
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{HtasAsyncDirective,BtasAsyncReplaceDirective,nasCSSResult,VtasDirective,utasLitElement,MtasPartType,$asReactiveElement,mtasTemplateResultType,psasUnsafeHTMLDirective,wsasUntilDirective,ftas_$LE,ctas_$LH,hasadoptStyles,ZtasasyncAppend,WtasasyncReplace,Ftascache,Gtaschoose,JtasclassMap,ktasclearPart,nsascreateRef,oascss,wasdefaultConverter,Utasdirective,PtasgetCommittedValue,casgetCompatibleStyle,_tasgetDirectiveClass,Ytasguard,Zashtml,QtasifDefined,TtasinsertPart,gtasisCompiledTemplateResult,wtasisDirectiveResult,ytasisPrimitive,ptasisServer,StasisSingleExpression,btasisTemplateResult,Xtasjoin,tsaskeyed,Esasliteral,ssaslive,isasmap,FasnoChange,_asnotEqual,Gasnothing,esasrange,hsasref,AtasremovePart,atasrender,lsasrepeat,xtassetChildPartValue,CtassetCommittedValue,AsasstaticHtml,ksasstaticSvg,dsasstyleMap,sassupportsAdoptingStyleSheets,qassvg,fsastemplateContent,rasunsafeCSS,vsasunsafeHTML,msasunsafeSVG,xsasunsafeStatic,_sasuntil,Ssaswhen,PsaswithStatic};