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+"",void 0,i),o=(t,...s)=>{const e=1===t.length?t[0]:s.reduce(((s,i,e)=>s+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Valuepassedto'css'functionmustbea'css'functionresult:"+t+".Use'unsafeCSS'topassnon-literalvalues,buttakecaretoensurepagesecurity.")})(i)+t[e+1]),t[0]);return new n(e,t,i)},h=(i,e)=>{if(s)i.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const s of e){const e=document.createElement("style"),n=t.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=s.cssText,i.appendChild(e)}},c=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let s="";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.ht=t,super.update(t,s)}commitValue(t,s){0===s&&kt(this.ht);consti=Tt(this.ht);xt(i,t)}}),qt=t=>gt(t)?t._$litType$.h:t.strings,Ft=Ut(classextendsVt{constructor(t){super(t),this.yt=newWeakMap}render(t){return[t]}update(t,[s]){consti=bt(this.bt)?qt(this.bt):null,e=bt(s)?qt(s):null;if(null!==i&&(null===e||i!==e)){consts=Pt(t).pop();lete=this.yt.get(i);if(void0===e){constt=document.createDocumentFragment();e=at(G,t),e.setConnected(!1),this.yt.set(i,e)}Ct(e,[s]),Tt(e,void0,s)}if(null!==e){if(null===i||i!==e){consts=this.yt.get(e);if(void0!==s){consti=Pt(s).pop();kt(t),Tt(t,void0,i),Ct(t,[i])}}this.bt=s}elsethis.bt=void0;returnthis.render(s)}}),Gt=(t,s,i)=>{for(constiofs)if(i[0]===t)return(0,i[1])();returni?.()},Jt=Ut(
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.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)))}returnF}}),Kt={},Yt=Ut(classextendsVt{constructor(){super(...arguments),this._t=Kt}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])))returnF}elseif(this._t===s)returnF;returnthis._t=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.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)),G}St(t){if(this.isConnected||(t=void 0),"function"==typeof this.ct){const s=this.xt??globalThis;let i=os.get(s);void 0===i&&(i=new WeakMap,os.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?os.get(this.xt??globalThis)?.get(this.ct):this.ct?.value}disconnected(){this.$t===this.Tt&&this.St(void 0)}reconnected(){this.St(this.Tt)}}),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")}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=Pt(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]=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.Ct=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.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(us);t.includes("-")||s?i.setProperty(t,s?e.slice(0,-11):e,s?as:""):i[t]=e}}return F}}),fs=Ut(
classextendsVt{constructor(t){if(super(t),2!==t.type)throwError("templateContent can only be used in child bindings")}render(t){returnthis.At===t?F:(this.At=t,document.importNode(t.content,!0))}});classpsextendsVt{constructor(t){if(super(t),this.bt=G,2!==t.type)throwError(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)returnthis.kt=void0,this.bt=t;if(t===F)returnt;if("string"!=typeoft)throwError(this.constructor.directiveName+"() called with a non-string value");if(t===this.bt)returnthis.kt;this.bt=t;consts=[t];returns.raw=s,this.kt={_$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};