1import{a as W,d as it,f as le,n as ae}from"./chunk-VA6OWENO.js";var r,ce,y=le(()=>{"use strict";r={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,propChangeCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},ce="app"});var lt,at=le(()=>{"use strict";lt=""});var $s,Re=le(()=>{$s=it({})});function gs(e,t){for(;e;){let s=Object.getOwnPropertyDescriptor(e,t);if(s?.get)return s;e=Object.getPrototypeOf(e)}}function ws(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}function Bs(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>We(n)):We(s)}if(e.isErr){let s=e.value;return Ut(s)}throw"should never get here"}function Us(e){return typeof e!="string"||!e.startsWith(Pe)?e:Rs.fromLocalValue(JSON.parse(atob(e.slice(Pe.length))))}function js(e){if(!e||!De)return;let t=new CSSStyleSheet;return t.replaceSync(e),t}function Ps(e){var t;let s=r.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(e.$flags$&16)}):this.attachShadow({mode:"open"});G===void 0&&(G=(t=js(lt))!=null?t:null),G&&(Fe?s.adoptedStyleSheets.push(G):s.adoptedStyleSheets=[...s.adoptedStyleSheets,G])}function re(e,t,s){let n=0,o=[],i;for(;n<e.length;n++){if(i=e[n],i["s-sr"]&&(!t||i["s-hn"]===t)&&(s===void 0||Y(i)===s)&&(o.push(i),typeof s<"u"))return o;o=[...o,...re(i.childNodes,t,s)]}return o}function jt(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;let t=s=>(function(n){let o=[],i=this["s-sn"];n?.flatten&&console.error(` 2 Flattening is not supported for Stencil non-shadow slots. 3 You can use \`.childNodes\` to nested slot fallback content. 4 If you have a particular use case, please open an issue on the Stencil repo. 5 `);let d=this["s-cr"].parentElement;return(d.__childNodes?d.childNodes:ee(d.childNodes)).forEach(a=>{i===Y(a)&&o.push(a)}),s?o.filter(a=>a.nodeType===1):o}).bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function Ae(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function et(e,t){var s;if(t=t||((s=e["s-ol"])==null?void 0:s.parentElement),!t)return{slotNode:null,slotName:""};let n=e["s-sn"]=Y(e)||"",o=I(t,"childNodes");return{slotNode:re(o,t.tagName,n)[0],slotName:n}}function k(e,t){if(!globalThis.Node||!globalThis.Element)return;let s;tn.includes(e)?s=Object.getOwnPropertyDescriptor(Element.prototype,e):sn.includes(e)&&(s=Object.getOwnPropertyDescriptor(Node.prototype,e)),s||(s=Object.getOwnPropertyDescriptor(t,e)),s&&Object.defineProperty(t,"__"+e,s)}function I(e,t){if("__"+t in e){let s=e["__"+t];return typeof s!="function"?s:s.bind(e)}else return typeof e[t]!="function"?e[t]:e[t].bind(e)}function yt(e,t,s,n,o,i,d,l,a){n["s-sr"]=!0,s.$name$=e||null,s.$tag$="slot";let c=o?.$elm$?o.$elm$["s-id"]||o.$elm$.getAttribute("s-id"):"";if(r.shadowDom&&l&&m.document){let $=s.$elm$=m.document.createElement(s.$tag$);s.$name$&&s.$elm$.setAttribute("name",e),o.$elm$.shadowRoot&&c&&c!==s.$hostId$?I(o.$elm$,"insertBefore")($,I(o.$elm$,"children")[0]):I(I(n,"parentNode"),"insertBefore")($,n),St(a,t,e,n,s.$hostId$),n.remove(),s.$depth$==="0"&&(l[s.$index$]=s.$elm$)}else{let $=s.$elm$,u=c&&c!==s.$hostId$&&o.$elm$.shadowRoot;St(a,t,e,n,u?c:s.$hostId$),jt(n),u&&o.$elm$.insertBefore($,o.$elm$.children[0])}i.push(s),d.push(s),o.$children$||(o.$children$=[]),o.$children$[s.$index$]=s}function xt(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}function is(e,t,s,n){var o,i;let d;if(e&&typeof t["s-sn"]=="string"&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(d=t["s-si"]||e.parentNode["s-sc"])){let l=t["s-sn"],a=t["s-hn"];if((o=s.classList)==null||o.add(d+"-s"),n&&((i=n.classList)!=null&&i.contains(d+"-s"))){let c=(n.__childNodes||n.childNodes)[0],$=!1;for(;c;){if(c["s-sn"]!==l&&c["s-hn"]===a&&c["s-sr"]){$=!0;break}c=c.nextSibling}$||n.classList.remove(d+"-s")}}}var fs,us,ct,hs,ps,wt,Rt,Oe,Be,Pe,vs,E,ms,dt,ys,j,Ot,pe,Z,$t,Ss,ve,Bt,_s,bs,Ls,He,xs,Ds,V,ge,ft,Is,ut,Cs,m,Dr,S,X,Es,As,De,Fe,Ne,me,fe,P,ze,Nt,ht,pt,ye,Ie,Ir,Ts,Cr,ks,Ze,zt,Rs,Os,We,Ut,Ns,zs,G,ne,Hs,kr,wr,Rr,Or,Ce,ee,Ve,vt,Ee,Y,Fs,Pt,Ht,Ws,Ms,qs,Ks,Xs,Qs,Ys,Ft,Wt,Gs,Js,Zs,Vs,en,Mt,tn,sn,nn,U,rn,q,qt,Me,on,Te,ln,an,Kt,Q,cn,qe,dn,gt,$n,fn,un,Ke,Xe,mt,St,_t,hn,pn,oe,Xt,Qt,tt,vn,gn,mn,F,yn,Sn,_n,bn,ue,st,Ln,xn,Dn,In,Cn,En,An,Tn,kn,wn,Rn,On,Se,_e,Bn,Nn,Yt,Gt,zn,Un,jn,Pn,Hn,Fn,Wn,Jt,Mn,qn,Kn,Zt,Xn,Ue,Vt,Qn,Yn,Wr,Mr,Qe,Gn,Jr,nt,bt,Jn,Lt,es,Zn,Ye,he,be,z,J,Le,ke,C,xe,ts,te,ss,ns,Vn,de,se,M,B,rs,os,w,Dt,er,tr,ls,we,sr,It,nr,rr,Ct,Et,At,to,or,N,K,ir,as,Tt,$e,cs,kt,Ge,lr,ar,je,cr,no,ro,Je,dr,$r,fr,lo,ur=le(()=>{"use strict";y();y();y();y();y();y();y();y();y();at();y();y();y();y();y();y();y();y();y();y();y();y();y();y();y();y();y();y();y();y();Re();fs=Object.defineProperty,us=(e,t)=>{for(var s in t)fs(e,s,{get:t[s],enumerable:!0})},ct={isDev:!!r.isDev,isBrowser:!0,isServer:!1,isTesting:!!r.isTesting},hs="http://www.w3.org/2000/svg",ps="http://www.w3.org/1999/xhtml",wt=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(wt||{}),Rt=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(Rt||{}),Oe="type",Be="value",Pe="serialized:",vs=(e,t)=>{var s;let n=t.$cmpMeta$;Object.entries((s=n.$members$)!=null?s:{}).map(([i,[d]])=>
5{if((r.state||r.prop)&&(d&31||d&32)){let l=e[i],a=gs(Object.getPrototypeOf(e),i)||Object.getOwnPropertyDescriptor(e,i);a&&Object.defineProperty(e,i,{get(){return a.get.call(this)},set(c){a.set.call(this,c)},configurable:!0,enumerable:!0}),e[i]=t.$instanceValues$.has(i)?t.$instanceValues$.get(i):l}})};E=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ms=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map,$serializerValues$:new Map};r.isDev&&(s.$renderCount$=0),r.method&&r.lazyLoad&&(s.$onInstancePromise$=new Promise(o=>s.$onInstanceResolve$=o)),r.asyncLoading&&(s.$onReadyPromise$=new Promise(o=>s.$onReadyResolve$=o),e["s-p"]=[],e["s-rc"]=[]),r.lazyLoad&&(s.$fetchedCbList$=[]);let n=s;return e.__stencil__getHostRef=()=>n,!r.lazyLoad&&r.modernPropertyDecls&&(r.state||r.prop)&&vs(e,s),n},dt=(e,t)=>t in e,j=(e,t)=>(ys||console.error)(e,t),Ot=r.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],pe=(...e)=>console.error(...Ot,...e),Z=(...e)=>console.warn(...Ot,...e),$t=new Map,Ss=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$;if(r.isDev&&typeof o!="string"){pe(`Trying to lazily load component <${e.$tagName$}> with style mode "${t.$modeName$}", but it does not exist.`);return}else if(!o)return;let i=r.hotModuleReplacement?!1:$t.get(o);if(i)return i[n];return $s(`./${o}.entry.js${r.hotModuleReplacement&&s?"?s-hmr="+s:""}`).then(d=>(r.hotModuleReplacement||$t.set(o,d),d[n]),d=>{j(d,t.$hostElement$)})},ve=new Map,Bt=[],_s=()=>!1,bs="r",Ls="o",He="s",xs="t",Ds="c",V="s-id",ge="sty-id",ft="c-id",Is="slot-fb{display:contents}slot-fb[hidden]{display:none}",ut="http://www.w3.org/1999/xlink",Cs=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],m=typeof window<"u"?window:{},Dr=m.HTMLElement||class{},S={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},X=r.shadowDom,Es=(()=>{var e;let t=!1;try{(e=m.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),As=e=>Promise.resolve(e),De=r.constructableCSS?(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})():!1,Fe=De?!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable:!1,Ne=0,me=!1,fe=[],P=[],ze=[],Nt=(e,t)=>s=>{e.push(s),me||(me=!0,t&&S.$flags$&4?Ie(ye):S.raf(ye))},ht=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){j(s)}e.length=0},pt=(e,t)=>{let s=0,n=0;for(;s<e.length&&(n=performance.now())<t;)try{e[s++](n)}catch(o){j(o)}s===e.length?e.length=0:s!==0&&e.splice(0,s)},ye=()=>{if(r.asyncQueue&&Ne++,ht(fe),r.asyncQueue){let e=(S.$flags$&6)===2?performance.now()+14*Math.ceil(Ne*.1):1/0;pt(P,e),pt(ze,e),P.length>0&&(ze.push(...P),P.length=0),(me=fe.length+P.length+ze.length>0)?S.raf(ye):Ne=0}else ht(P),(me=fe.length>0)&&S.raf(ye)},Ie=e=>As().then(e),Ir=Nt(fe,!1),Ts=Nt(P,!0),Cr=e=>{let t=new URL(e,S.$resourcesUrl$);return t.origin!==m.location.origin?t.href:t.pathname},ks=e=>e!=null&&e!==void 0,Ze=e=>(e=typeof e,e==="object"||e==="function");zt=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Rs=class H{static fromLocalValue(t){let s=t[Oe],n=Be in t?t[Be]:void 0;switch(s){case"string":return n;case"boolean":return n;case"bigint":return BigInt(n);case"undefined":return;case"null":return null;case"number":return n==="NaN"?NaN:n==="-0"?-0:n==="Infinity"?1/0:n==="-Infinity"?-1/0:n;case"array":return n.map(c=>H.fromLocalValue(c));case"date":return new Date(n);case"map":let o=new Map;for(let[c,$]of n){let u=typeof c=="object"&&c!==null?H.fromLocalValue(c):c,f=H.fromLocalValue($);o.set(u,f)}return o;case"object":let i={};for(let[c,$]of n)i[c]=H.fromLocalValue($);return i;case"regexp":let{pattern:d,flags:l}=n;return new RegExp(d,l);case"set":let a=new Set;for(let c of n)a.add(H.fromLocalValue(c));return a;case"symbol":return Symbol(n);default:throw new Error(`Unsupported type: ${s}`)}}static fromLocalValueArray(t){return t.map(s=>H.fromLocalValue(s))}static isLocalValueObject(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(Oe))return!1;let s=t[Oe];return Object.values(W(W({},wt),Rt)).includes(s)?s!=="null"&&s!=="undefined"?t.hasOwnProperty(Be):!0:!1}},Os={};us(Os,{err:()=>Ut,map:()=>Bs,ok:()=>We,unwrap:()=>Ns,unwrapErr:()=>zs});We=e=>({isOk:!0,isErr:!1,value:e}),Ut=e=>({isOk:!1,isErr:!0,value:e});Ns=e=>{if(e.isOk)return e.value;throw e.value},zs=e=>{if(e.isErr)return e.value;throw e.value};ne=e=>t=>e(t.toLowerCase()),Hs=ne(e=>e.endsWith(".d.ts")||e.endsWith(".d.mts")||e.endsWith(".d.cts")),kr=ne(e=>!Hs(e)&&(e.endsWith(".ts")||e.endsWith(".mts")||e.endsWith(".cts"))),wr=ne(e=>e.endsWith(".tsx")||e.endsWith(".mtsx")||e.endsWith(".ctsx")),Rr=ne(e=>e.endsWith(".jsx")||e.endsWith(".mjsx")||e.endsWith(".cjsx")),Or=ne(e=>e.endsWith(".js")||e.endsWith(".mjs")||e.endsWith(".cjs")),Ce=e=>{let t=I(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&re(t,e.tagName).forEach(n=>
5{n.nodeType===1&&n.tagName==="SLOT-FB"&&(Ve(n,Y(n),!1).length?n.hidden=!0:n.hidden=!1)});let s=0;for(s=0;s<t.length;s++){let n=t[s];n.nodeType===1&&I(n,"childNodes").length&&Ce(n)}},ee=e=>{let t=[];for(let s=0;s<e.length;s++){let n=e[s]["s-nr"]||void 0;n&&n.isConnected&&t.push(n)}return t};Ve=(e,t,s=!0)=>{let n=[];(s&&e["s-sr"]||!e["s-sr"])&&n.push(e);let o=e;for(;o=o.nextSibling;)Y(o)===t&&(s||!o["s-sr"])&&n.push(o);return n},vt=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Ee=(e,t,s,n)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;let o=document.createTextNode("");if(o["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;let i=t["s-cr"].parentNode,d=s?I(i,"prepend"):I(i,"appendChild");if(r.hydrateClientSide&&typeof n<"u"){o["s-oo"]=n;let l=I(i,"childNodes"),a=[o];l.forEach(c=>{c["s-nr"]&&a.push(c)}),a.sort((c,$)=>!c["s-oo"]||c["s-oo"]<($["s-oo"]||0)?-1:!$["s-oo"]||$["s-oo"]<c["s-oo"]?1:0),a.forEach(c=>d.call(i,c))}else d.call(i,o);e["s-ol"]=o,e["s-sh"]=t["s-hn"]},Y=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;Fs=e=>{Pt(e),Ht(e),qs(e),Ms(e),Ys(e),Ks(e),Xs(e),Qs(e),Ft(e),Wt(e),Ws(e)},Pt=e=>{let t=e.cloneNode;e.cloneNode=function(s){let n=this,o=r.shadowDom?n.shadowRoot&&X:!1,i=t.call(n,o?s:!1);if(r.slot&&!o&&s){let d=0,l,a,c=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],$=this.__childNodes||this.childNodes;for(;d<$.length;d++)l=$[d]["s-nr"],a=c.every(u=>!$[d][u]),l&&(r.appendChildSlotFix&&i.__appendChild?i.__appendChild(l.cloneNode(!0)):i.appendChild(l.cloneNode(!0))),a&&i.appendChild($[d].cloneNode(!0))}return i}},Ht=e=>{e.__appendChild=e.appendChild,e.appendChild=function(t){let{slotName:s,slotNode:n}=et(t,this);if(n){Ee(t,n);let o=Ve(n,s),i=o[o.length-1],d=I(i,"parentNode"),l=I(d,"insertBefore")(t,i.nextSibling);return Ae(n),Ce(this),l}return this.__appendChild(t)}},Ws=e=>{e.__removeChild=e.removeChild,e.removeChild=function(t){if(t&&typeof t["s-sn"]<"u"){let s=this.__childNodes||this.childNodes;if(re(s,this.tagName,t["s-sn"])&&t.isConnected){t.remove(),Ce(this);return}}return this.__removeChild(t)}},Ms=e=>{e.__prepend=e.prepend,e.prepend=function(...t){t.forEach(s=>{typeof s=="string"&&(s=this.ownerDocument.createTextNode(s));let n=(s["s-sn"]=Y(s))||"",o=I(this,"childNodes"),i=re(o,this.tagName,n)[0];if(i){Ee(s,i,!0);let l=Ve(i,n)[0],a=I(l,"parentNode"),c=I(a,"insertBefore")(s,I(l,"nextSibling"));return Ae(i),c}return s.nodeType===1&&s.getAttribute("slot")&&(s.hidden=!0),e.__prepend(s)})}},qs=e=>{e.__append=e.append,e.append=function(...t){t.forEach(s=>{typeof s=="string"&&(s=this.ownerDocument.createTextNode(s)),this.appendChild(s)})}},Ks=e=>{let t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(s,n){if(s!=="afterbegin"&&s!=="beforeend")return t.call(this,s,n);let o=this.ownerDocument.createElement("_"),i;if(o.innerHTML=n,s==="afterbegin")for(;i=o.firstChild;)this.prepend(i);else if(s==="beforeend")for(;i=o.firstChild;)this.append(i)}},Xs=e=>{e.insertAdjacentText=function(t,s){this.insertAdjacentHTML(t,s)}},Qs=e=>{let t=e;t.__insertBefore||(t.__insertBefore=e.insertBefore,e.insertBefore=function(s,n){let{slotName:o,slotNode:i}=et(s,this),d=this.__childNodes?this.childNodes:ee(this.childNodes);if(i){let a=!1;if(d.forEach(c=>{if(c===n||n===null){if(a=!0,n===null||o!==n["s-sn"]){this.appendChild(s);return}if(o===n["s-sn"]){Ee(s,i);let $=I(n,"parentNode");I($,"insertBefore")(s,n),Ae(i)}return}}),a)return s}let l=n?.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(s):this.__insertBefore(s,n)})},Ys=e=>{let t=e.insertAdjacentElement;e.insertAdjacentElement=function(s,n){return s!=="afterbegin"&&s!=="beforeend"?t.call(this,s,n):s==="afterbegin"?(this.prepend(n),n):(s==="beforeend"&&this.append(n),n)}},Ft=e=>{k("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:ee(this.childNodes)).forEach(n=>t+=n.textContent||""),t},set:function(t){(this.__childNodes?this.childNodes:ee(this.childNodes)).forEac
5h(n=>{n["s-ol"]&&n["s-ol"].remove(),n.remove()}),this.insertAdjacentHTML("beforeend",t)}})},Wt=e=>{class t extends Array{item(n){return this[n]}}k("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter(s=>s.nodeType===1)}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),k("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),k("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),k("childNodes",e),Object.defineProperty(e,"childNodes",{get(){let s=new t;return s.push(...ee(this.__childNodes)),s}})},Gs=e=>{!e||e.__nextSibling!==void 0||!globalThis.Node||(Js(e),Vs(e),Mt(e),e.nodeType===Node.ELEMENT_NODE&&(Zs(e),en(e)))},Js=e=>{!e||e.__nextSibling||(k("nextSibling",e),Object.defineProperty(e,"nextSibling",{get:function(){var t;let s=(t=this["s-ol"])==null?void 0:t.parentNode.childNodes,n=s?.indexOf(this);return s&&n>-1?s[n+1]:this.__nextSibling}}))},Zs=e=>{!e||e.__nextElementSibling||(k("nextElementSibling",e),Object.defineProperty(e,"nextElementSibling",{get:function(){var t;let s=(t=this["s-ol"])==null?void 0:t.parentNode.children,n=s?.indexOf(this);return s&&n>-1?s[n+1]:this.__nextElementSibling}}))},Vs=e=>{!e||e.__previousSibling||(k("previousSibling",e),Object.defineProperty(e,"previousSibling",{get:function(){var t;let s=(t=this["s-ol"])==null?void 0:t.parentNode.childNodes,n=s?.indexOf(this);return s&&n>-1?s[n-1]:this.__previousSibling}}))},en=e=>{!e||e.__previousElementSibling||(k("previousElementSibling",e),Object.defineProperty(e,"previousElementSibling",{get:function(){var t;let s=(t=this["s-ol"])==null?void 0:t.parentNode.children,n=s?.indexOf(this);return s&&n>-1?s[n-1]:this.__previousElementSibling}}))},Mt=e=>{!e||e.__parentNode||(k("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var t;return((t=this["s-ol"])==null?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},tn=["children","nextElementSibling","previousElementSibling"],sn=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];nn=0,U=(e,t="")=>{if(r.profile&&performance.mark){let s=`st:${e}:${t}:${nn++}`;return performance.mark(s),()=>performance.measure(`[Stencil] ${e}() <${t}>`,s)}else return()=>{}},rn=(e,t)=>r.profile&&performance.mark?(performance.getEntriesByName(e,"mark").length===0&&performance.mark(e),()=>{performance.getEntriesByName(t,"measure").length===0&&performance.measure(t,e)}):()=>{},q=new WeakMap,qt=(e,t,s)=>{let n=ve.get(e);De&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,ve.set(e,n)},Me=(e,t,s)=>{var n;let o=Te(t,s),i=ve.get(o);if(!r.attachStyles||!m.document)return o;if(e=e.nodeType===11?e:m.document,i)if(typeof i=="string"){e=e.head||e;let d=q.get(e),l;if(d||q.set(e,d=new Set),!d.has(o)){if(r.hydrateClientSide&&e.host&&(l=e.querySelector(`[${ge}="${o}"]`)))l.innerHTML=i;else{l=m.document.createElement("style"),l.innerHTML=i;let a=(n=S.$nonce$)!=null?n:ws(m.document);if(a!=null&&l.setAttribute("nonce",a),(r.hydrateServerSide||r.hotModuleReplacement)&&(t.$flags$&2||t.$flags$&128)&&l.setAttribute(ge,o),!(t.$flags$&1))if(e.nodeName==="HEAD"){let c=e.querySelectorAll("link[rel=preconnect]"),$=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,$?.parentNode===e?$:null)}else if("host"in e)if(De){let c=new CSSStyleSheet;c.replaceSync(i),Fe?e.adoptedStyleSheets.unshift(c):e.adoptedStyleSheets=[c,...e.adoptedStyleSheets]}else{let c=e.querySelector("style");c?c.innerHTML=i+c.innerHTML:e.prepend(l)}else e.append(l);t.$flags$&1&&e.insertBefore(l,null)}t.$flags$&4&&(l.innerHTML+=Is),d&&d.add(o)}}else r.constructableCSS&&!e.adoptedStyleSheets.includes(i)&&(Fe?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return o},on=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,o=U("attachStyles",t.$tagName$),i=Me(r.shadowDom&&X&&s.shadowRoot?s.shadowRoot:s.getRootNode(),t,e.$modeName$);(r.shadowDom||r.scoped)&&r.cssAnnotations&&n&10&&(s["s-sc"]=i,s.classList.add(i+"-h")),o()},Te=(e,t)=>
5"sc-"+(r.mode&&t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$),ln=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),an=()=>{if(!m.document)return;let e=m.document.querySelectorAll(`[${ge}]`),t=0;for(;t<e.length;t++)qt(e[t].getAttribute(ge),ln(e[t].innerHTML),!0)},Kt=(e,t,...s)=>{let n=null,o=null,i=null,d=!1,l=!1,a=[],c=u=>{for(let f=0;f<u.length;f++)n=u[f],Array.isArray(n)?c(n):n!=null&&typeof n!="boolean"&&((d=typeof e!="function"&&!Ze(n))?n=String(n):r.isDev&&typeof e!="function"&&n.$flags$===void 0&&pe(`vNode passed as children has unexpected type. 6Make sure it's using the correct h() function. 7Empty objects can also be the cause, look for JSX comments that became objects.`),d&&l?a[a.length-1].$text$+=n:a.push(d?Q(null,n):n),l=d)};if(c(s),t&&(r.isDev&&e==="input"&&fn(t),r.vdomKey&&t.key&&(o=t.key),r.slotRelocation&&t.name&&(i=t.name),r.vdomClass)){let u=t.className||t.class;u&&(t.class=typeof u!="object"?u:Object.keys(u).filter(f=>u[f]).join(" "))}if(r.isDev&&a.some(qe)&&pe(`The <Host> must be the single root component. Make sure: 8- You are NOT using hostData() and <Host> in the same component. 9- <Host> is used once, and it's the single root component of the render() function.`),r.vdomFunctional&&typeof e=="function")return e(t===null?{}:t,a,dn);let $=Q(e,null);return $.$attrs$=t,a.length>0&&($.$children$=a),r.vdomKey&&($.$key$=o),r.slotRelocation&&($.$name$=i),$},Q=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.vdomAttribute&&(s.$attrs$=null),r.vdomKey&&(s.$key$=null),r.slotRelocation&&(s.$name$=null),s},cn={},qe=e=>e&&e.$tag$===cn,dn={forEach:(e,t)=>e.map(gt).forEach(t),map:(e,t)=>e.map(gt).map(t).map($n)},gt=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),$n=e=>{if(typeof e.vtag=="function"){let s=W({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),Kt(e.vtag,s,...e.vchildren||[])}let t=Q(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},fn=e=>{let t=Object.keys(e),s=t.indexOf("value");if(s===-1)return;let n=t.indexOf("type"),o=t.indexOf("min"),i=t.indexOf("max"),d=t.indexOf("step");(s<n||s<o||s<i||s<d)&&Z('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},un=(e,t,s,n)=>{var o,i;let d=U("hydrateClient",t),l=e.shadowRoot,a=[],c=[],$=[],u=r.shadowDom&&l?[]:null,f=Q(t,null);f.$elm$=e;let h;if(r.scoped){let _=n.$cmpMeta$;_&&_.$flags$&10&&e["s-sc"]?(h=e["s-sc"],e.classList.add(h+"-h")):e["s-sc"]&&delete e["s-sc"]}m.document&&(!S.$orgLocNodes$||!S.$orgLocNodes$.size)&&Xe(m.document.body,S.$orgLocNodes$=new Map),e[V]=s,e.removeAttribute(V),n.$vnode$=Ke(f,a,c,u,e,e,s,$);let p=0,g=a.length,v;for(p;p<g;p++){v=a[p];let _=v.$hostId$+"."+v.$nodeId$,A=S.$orgLocNodes$.get(_),x=v.$elm$;if(!l)x["s-hn"]=t.toUpperCase(),v.$tag$==="slot"&&(x["s-cr"]=e["s-cr"]);else if((o=v.$tag$)!=null&&o.toString().includes("-")&&v.$tag$!=="slot-fb"&&!v.$elm$.shadowRoot){let ie=E(v.$elm$);if(ie){let ds=Te(ie.$cmpMeta$,r.mode?v.$elm$.getAttribute("s-mode"):void 0),ot=m.document.querySelector(`style[sty-id="${ds}"]`);ot&&e.shadowRoot.append(ot.cloneNode(!0))}}v.$tag$==="slot"&&(v.$name$=v.$elm$["s-sn"]||v.$elm$.name||null,v.$children$?(v.$flags$|=2,v.$elm$.childNodes.length||v.$children$.forEach(ie=>{v.$elm$.appendChild(ie.$elm$)})):v.$flags$|=1),A&&A.isConnected&&(A.parentElement.shadowRoot&&A["s-en"]===""&&A.parentNode.insertBefore(x,A.nextSibling),A.parentNode.removeChild(A),l||(x["s-oo"]=parseInt(v.$nodeId$))),A&&!A["s-id"]&&S.$orgLocNodes$.delete(_)}let D=[],R=$.length,O=0,T,b,rt,L;for(O;O<R;O++)if(T=$[O],!(!T||!T.length))for(rt=T.length,b=0,b;b<rt;b++){if(L=T[b],D[L.hostId]||(D[L.hostId]=S.$orgLocNodes$.get(L.hostId)),!D[L.hostId])continue;let _=D[L.hostId];_.shadowRoot&&L.node.parentElement!==_&&_.appendChild(L.node),(!_.shadowRoot||!l)&&(L.slot["s-cr"]||(L.slot["s-cr"]=_["s-cr"],!L.slot["s-cr"]&&_.shadowRoot?L.slot["s-cr"]=_:L.slot["s-cr"]=(_.__childNodes||_.childNodes)[0]),Ee(L.node,L.slot,!1,L.node["s-oo"]),(i=L.node.parentElement)!=null&&i.shadowRoot&&L.node.getAttribute&&L.node.getAttribute("slot")&&L.node.removeAttribute("slot"),r.experimentalSlotFixes&&Gs(L.node))}
9if(r.scoped&&h&&c.length&&c.forEach(_=>{_.$elm$.parentElement.classList.add(h+"-s")}),r.shadowDom&&l){let _=0,A=u.length;if(A){for(_;_<A;_++){let x=u[_];x&&l.appendChild(x)}Array.from(e.childNodes).forEach(x=>{typeof x["s-en"]!="string"&&typeof x["s-sn"]!="string"&&(x.nodeType===1&&x.slot&&x.hidden?x.removeAttribute("hidden"):(x.nodeType===8&&!x.nodeValue||x.nodeType===3&&!x.wholeText.trim())&&x.parentNode.removeChild(x))})}}n.$hostElement$=e,d()},Ke=(e,t,s,n,o,i,d,l=[])=>{let a,c,$,u,f=o["s-sc"];if(i.nodeType===1){if(a=i.getAttribute(ft),a&&(c=a.split("."),c[0]===d||c[0]==="0")){$=mt({$flags$:0,$hostId$:c[0],$nodeId$:c[1],$depth$:c[2],$index$:c[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:{class:i.className||""}}),t.push($),i.removeAttribute(ft),e.$children$||(e.$children$=[]),r.scoped&&f&&c[0]===d&&(i["s-si"]=f,$.$attrs$.class+=" "+f);let p=$.$elm$.getAttribute("s-sn");typeof p=="string"&&($.$tag$==="slot-fb"&&(yt(p,c[2],$,i,e,t,s,n,l),r.scoped&&f&&i.classList.add(f)),$.$elm$["s-sn"]=p,$.$elm$.removeAttribute("s-sn")),$.$index$!==void 0&&(e.$children$[$.$index$]=$),e=$,n&&$.$depth$==="0"&&(n[$.$index$]=$.$elm$)}if(i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)Ke(e,t,s,n,o,i.shadowRoot.childNodes[u],d,l);let h=i.__childNodes||i.childNodes;for(u=h.length-1;u>=0;u--)Ke(e,t,s,n,o,h[u],d,l)}else if(i.nodeType===8){if(c=i.nodeValue.split("."),c[1]===d||c[1]==="0"){if(a=c[0],$=mt({$hostId$:c[1],$nodeId$:c[2],$depth$:c[3],$index$:c[4]||"0",$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),a===xs)$.$elm$=_t(i,3),$.$elm$&&$.$elm$.nodeType===3&&($.$text$=$.$elm$.textContent,t.push($),i.remove(),d===$.$hostId$&&(e.$children$||(e.$children$=[]),e.$children$[$.$index$]=$),n&&$.$depth$==="0"&&(n[$.$index$]=$.$elm$));else if(a===Ds)$.$elm$=_t(i,8),$.$elm$&&$.$elm$.nodeType===8&&(t.push($),i.remove());else if($.$hostId$===d)if(a===He){let h=i["s-sn"]=c[5]||"";yt(h,c[2],$,i,e,t,s,n,l)}else a===bs&&(r.shadowDom&&n?i.remove():r.slotRelocation&&(o["s-cr"]=i,i["s-cn"]=!0))}}else if(e&&e.$tag$==="style"){let h=Q(null,i.textContent);h.$elm$=i,h.$index$="0",e.$children$=[h]}else i.nodeType===3&&!i.wholeText.trim()&&!i["s-nr"]&&i.remove();return e},Xe=(e,t)=>{if(e.nodeType===1){let s=e[V]||e.getAttribute(V);s&&t.set(s,e);let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)Xe(e.shadowRoot.childNodes[n],t);let o=e.__childNodes||e.childNodes;for(n=0;n<o.length;n++)Xe(o[n],t)}else if(e.nodeType===8){let s=e.nodeValue.split(".");s[0]===Ls&&(t.set(s[1]+"."+s[2],e),e.nodeValue="",e["s-en"]=s[3])}},mt=e=>W(W({},{$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:"0",$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),e);St=(e,t,s,n,o)=>{var i,d;let l=n.nextSibling;if(e[t]=e[t]||[],!(!l||(i=l.nodeValue)!=null&&i.startsWith(He+".")))do l&&((l.getAttribute&&l.getAttribute("slot")||l["s-sn"])===s||s===""&&!l["s-sn"]&&(!l.getAttribute||!l.getAttribute("slot"))&&(l.nodeType===8||l.nodeType===3))&&(l["s-sn"]=s,e[t].push({slot:n,node:l,hostId:o})),l=l?.nextSibling;while(l&&!((d=l.nodeValue)!=null&&d.startsWith(He+".")))},_t=(e,t)=>{let s=e;do s=s.nextSibling;while(s&&(s.nodeType!==t||!s.nodeValue));return s};hn=e=>{let t=[],s=0;return e=e.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,(i,d)=>{let l=`__part-${s}__`;return t.push(d),s++,l}),e=e.replace(/(\[[^\]]*\])/g,(i,d)=>{let l=`__ph-${s}__`;return t.push(d),s++,l}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(i,d,l)=>{let a=`__ph-${s}__`;return t.push(l),s++,d+a}),placeholders:t}},pn=(e,t)=>(t=t.replace(/__part-(\d+)__/g,(s,n)=>e[+n]),t.replace(/__ph-(\d+)__/g,(s,n)=>e[+n])),oe="-shadowcsshost",Xt="-shadowcssslotted",Qt="-shadowcsscontext",tt=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",vn=new RegExp("("+oe+tt,"gim"),gn=new RegExp("("+Qt+tt,"gim"),mn=new RegExp("("+Xt+tt,"gim"),F=oe+"-no-combinator",yn=/-shadowcsshost-no-combinator([^\s]*)/,Sn=[/::shadow/g,/::content/g],_n=/__part-(\d+)__/g,bn="([>\\s~+[.,{:][\\s\\S]*)?$",ue=/-shadowcsshost/gim,st=e=>{let t=zt(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")},Ln=st("::slotted"),xn=st(":host"),Dn=st(":host-context"),In=/\/\*\s*[\s\S]*?\*\//g,Cn=e=>e.replace(In,""),En=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,An=e=>e.match(En)||[],Tn=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,kn=/([{}])/g,wn=/(^.*?[^\\])??((:+)(.*)|$)/,Rn="{",On="}",Se="%BLOCK%",_e=(e,t)=>
9{let s=Bn(e),n=0;return s.escapedString.replace(Tn,(...o)=>{let i=o[2],d="",l=o[4],a="";l&&l.startsWith("{"+Se)&&(d=s.blocks[n++],l=l.substring(Se.length+1),a="{");let $=t({selector:i,content:d});return`${o[1]}${$.selector}${o[3]}${a}${$.content}${l}`})},Bn=e=>{let t=e.split(kn),s=[],n=[],o=0,i=[];for(let l=0;l<t.length;l++){let a=t[l];a===On&&o--,o>0?i.push(a):(i.length>0&&(n.push(i.join("")),s.push(Se),i=[]),s.push(a)),a===Rn&&o++}return i.length>0&&(n.push(i.join("")),s.push(Se)),{escapedString:s.join(""),blocks:n}},Nn=e=>{let t=[];return e=e.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,(s,n)=>{let o=`__supports_${t.length}__`;return t.push(n),`@supports selector(${o})`}),e=e.replace(Dn,`$1${Qt}`).replace(xn,`$1${oe}`).replace(Ln,`$1${Xt}`),t.forEach((s,n)=>{e=e.replace(`__supports_${n}__`,s)}),e},Yt=(e,t,s)=>e.replace(t,(...n)=>{if(n[2]){let o=n[2].split(","),i=[];for(let d=0;d<o.length;d++){let l=o[d].trim();if(!l)break;i.push(s(F,l,n[3]))}return i.join(",")}else return F+n[3]}),Gt=(e,t,s)=>e+t.replace(oe,"")+s,zn=e=>Yt(e,vn,Gt),Un=(e,t,s)=>t.indexOf(oe)>-1?Gt(e,t,s):e+t+s+", "+t+" "+e+s,jn=(e,t)=>{let s="."+t+" > ",n=[];return e=e.replace(mn,(...o)=>{if(o[2]){let i=o[2].trim(),d=o[3],l=s+i+d,a="";for(let u=o[4]-1;u>=0;u--){let f=o[5][u];if(f==="}"||f===",")break;a=f+a}let c=(a+l).trim(),$=`${a.trimEnd()}${l.trim()}`.trim();if(c!==$){let u=`${$}, ${c}`;n.push({orgSelector:c,updatedSelector:u})}return l}else return F+o[3]}),{selectors:n,cssText:e}},Pn=e=>Yt(e,gn,Un),Hn=e=>Sn.reduce((t,s)=>t.replace(s," "),e),Fn=e=>{let t=/\[/g,s=/\]/g;return e=e.replace(t,"\\[").replace(s,"\\]"),new RegExp("^("+e+")"+bn,"m")},Wn=(e,t)=>!Fn(t).test(e),Jt=(e,t)=>e.replace(wn,(s,n="",o,i="",d="")=>n+t+i+d),Mn=(e,t,s)=>{if(ue.lastIndex=0,ue.test(e)){let n=`.${s}`;return e.replace(yn,(o,i)=>Jt(i,n)).replace(ue,n+" ")}return t+" "+e},qn=(e,t,s)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(p,...g)=>g[0]);let o="."+t,i=p=>{let g=p.trim();if(!g)return"";if(p.indexOf(F)>-1)g=Mn(p,t,s);else{let v=p.replace(ue,"");v.length>0&&(g=Jt(v,o))}return g},d=hn(e);e=d.content;let l="",a=0,c,$=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g,f=!(e.indexOf(F)>-1);for(;(c=$.exec(e))!==null;){let p=c[1],g=e.slice(a,c.index).trim();f=f||g.indexOf(F)>-1;let v=f?i(g):g;l+=`${v} ${p} `,a=$.lastIndex}let h=e.substring(a);return f=!h.match(_n)&&(f||h.indexOf(F)>-1),l+=f?i(h):h,pn(d.placeholders,l)},Kn=(e,t,s,n)=>e.split(",").map(o=>n&&o.indexOf("."+n)>-1?o.trim():Wn(o,t)?qn(o,t,s).trim():o.trim()).join(", "),Zt=(e,t,s,n,o)=>_e(e,i=>{let d=i.selector,l=i.content;return i.selector[0]!=="@"?d=Kn(i.selector,t,s,n):(i.selector.startsWith("@media")||i.selector.startsWith("@supports")||i.selector.startsWith("@page")||i.selector.startsWith("@document"))&&(l=Zt(i.content,t,s,n,o)),{selector:d.replace(/\s{2,}/g," ").trim(),content:l}}),Xn=(e,t,s,n,o)=>{e=Nn(e),e=zn(e),e=Pn(e);let i=jn(e,n);return e=i.cssText,e=Hn(e),t&&(e=Zt(e,t,s,n,o)),e=Ue(e,s),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:i.selectors.map(d=>({orgSelector:Ue(d.orgSelector,s),updatedSelector:Ue(d.updatedSelector,s)}))}},Ue=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),Vt=e=>{let t=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return _e(e,s=>{if(s.selector[0]==="@")return s;let n=s.selector.split(",").map(o=>{let i=[o.trim()],d;for(;(d=t.exec(o))!==null;){let l=d[1].trimEnd(),a=d[2].trim().split(/\s+/),c=d[3]||"",$=a.flatMap(f=>s.selector.includes(`[part~="${f}"]`)?[]:[`[part~="${f}"]`]).join(""),u=`${l} ${$}${c}`;$&&u!==o.trim()&&i.push(u)}return i.join(", ")});return s.selector=n.join(", "),s})},Qn=(e,t,s)=>{let n=t+"-h",o=t+"-s",i=An(e);e=Cn(e);let d=[];if(s){let a=c=>{let $=`/*!@___${d.length}___*/`,u=`/*!@${c.selector}*/`;return d.push({placeholder:$,comment:u}),c.selector=$+c.selector,c};e=_e(e,c=>c.selector[0]!=="@"?a(c):((c.selector.startsWith("@media")||c.selector.startsWith("@supports")||c.selector.startsWith("@page")||c.selector.startsWith("@document"))&&(c.content=_e(c.content,a)),c))}let l=Xn(e,t,n,o,s);return e=[l.cssText,...i].join(` 10`),s&&d.forEach(({placeholder:a,comment:c})=>{e=e.replace(a,c)}
10),l.slottedSelectors.forEach(a=>{let c=new RegExp(zt(a.orgSelector),"g");e=e.replace(c,a.updatedSelector)}),e=Vt(e),e},Yn=e=>Bt.map(t=>t(e)).find(t=>!!t),Wr=e=>Bt.push(e),Mr=e=>{var t;return(t=E(e))==null?void 0:t.$modeName$},Qe=(e,t,s)=>(r.hydrateClientSide||r.hydrateServerSide)&&typeof e=="string"&&e.startsWith(Pe)?(e=Us(e),e):e!=null&&!Ze(e)?r.propBoolean&&t&4?r.formAssociated&&s&&typeof e=="string"?e===""||!!e:e==="false"?!1:e===""||!!e:r.propNumber&&t&2?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:r.propString&&t&1?String(e):e:e,Gn=e=>{var t;return r.lazyLoad?(t=E(e))==null?void 0:t.$hostElement$:e},Jr=(e,t,s)=>{let n=Gn(e);return{emit:o=>(r.isDev&&!n.isConnected&&Z(`The "${t}" event was emitted, but the dispatcher node is no longer connected to the dom.`),nt(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:o}))}},nt=(e,t,s)=>{let n=S.ce(t,s);return e.dispatchEvent(n),n},bt=(e,t,s,n,o,i,d)=>{if(s===n)return;let l=dt(e,t),a=t.toLowerCase();if(r.vdomClass&&t==="class"){let c=e.classList,$=Lt(s),u=Lt(n);if(r.hydrateClientSide&&(e["s-si"]||e["s-sc"])&&d){let f=e["s-sc"]||e["s-si"];u.push(f),$.forEach(h=>{h.startsWith(f)&&u.push(h)}),u=[...new Set(u)].filter(h=>h),c.add(...u)}else c.remove(...$.filter(f=>f&&!u.includes(f))),c.add(...u.filter(f=>f&&!$.includes(f)))}else if(r.vdomStyle&&t==="style"){if(r.updatable)for(let c in s)(!n||n[c]==null)&&(!r.hydrateServerSide&&c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in n)(!s||n[c]!==s[c])&&(!r.hydrateServerSide&&c.includes("-")?e.style.setProperty(c,n[c]):e.style[c]=n[c])}else if(!(r.vdomKey&&t==="key")){if(r.vdomRef&&t==="ref")n&&n(e);else if(r.vdomListener&&(r.lazyLoad?!l:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):dt(m,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){let c=t.endsWith(es);t=t.replace(Zn,""),s&&S.rel(e,t,s,c),n&&S.ael(e,t,n,c)}}else if(r.vdomPropOrAttr){let c=Ze(n);if((l||c&&n!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{let u=n??"";t==="list"?l=!1:(s==null||e[t]!=u)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let $=!1;r.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,$=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(r.vdomXlink&&$?e.removeAttributeNS(ut,t):e.removeAttribute(t)):(!l||i&4||o)&&!c&&e.nodeType===1&&(n=n===!0?"":n,r.vdomXlink&&$?e.setAttributeNS(ut,t,n):e.setAttribute(t,n))}}},Jn=/\s/,Lt=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Jn)),es="Capture",Zn=new RegExp(es+"$"),Ye=(e,t,s,n)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||{},d=t.$attrs$||{};if(r.updatable)for(let l of xt(Object.keys(i)))l in d||bt(o,l,i[l],void 0,s,t.$flags$,n);for(let l of xt(Object.keys(d)))bt(o,l,i[l],d[l],s,t.$flags$,n)};J=!1,Le=!1,ke=!1,C=!1,xe=(e,t,s)=>{var n;let o=t.$children$[s],i=0,d,l,a;if(r.slotRelocation&&!J&&(ke=!0,o.$tag$==="slot"&&(o.$flags$|=o.$children$?2:1)),r.isDev&&o.$elm$&&pe(`The JSX ${o.$text$!==null?`"${o.$text$}" text`:`"${o.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),r.vdomText&&o.$text$!==null)d=o.$elm$=m.document.createTextNode(o.$text$);else if(r.slotRelocation&&o.$flags$&1)d=o.$elm$=r.isDebug||r.hydrateServerSide?er(o):m.document.createTextNode(""),r.vdomAttribute&&Ye(null,o,C);else{if(r.svg&&!C&&(C=o.$tag$==="svg"),!m.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(d=o.$elm$=r.svg?m.document.createElementNS(C?hs:ps,!J&&r.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$):m.document.createElement(!J&&r.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$),r.svg&&C&&o.$tag$==="foreignObject"&&(C=!1),r.vdomAttribute&&Ye(null,o,C),(r.scoped||r.hydrateServerSide)&&ks(he)&&d["s-si"]!==he&&d.classList.add(d["s-si"]=he),o.$children$)for(i=0;i<o.$children$.length;++i)l=xe(e,o,i),l&&d.appendChild(l);r.svg&&(o.$tag$==="svg"?C=!1:d.tagName==="foreignObject"&&(C=!0))}return d["s-hn"]=z,r.slotRelocation&&o.$flags$&3&&(d["s-sr"]=!0,d["s-cr"]=be,d["s-sn"]=o.$n
10ame$||"",d["s-rf"]=(n=o.$attrs$)==null?void 0:n.ref,jt(d),a=e&&e.$children$&&e.$children$[s],a&&a.$tag$===o.$tag$&&e.$elm$&&(r.experimentalSlotFixes?ts(e.$elm$):te(e.$elm$,!1)),(r.scoped||r.hydrateServerSide)&&is(be,d,t.$elm$,e?.$elm$)),d},ts=e=>{S.$flags$|=1;let t=e.closest(z.toLowerCase());if(t!=null){let s=Array.from(t.__childNodes||t.childNodes).find(o=>o["s-cr"]),n=Array.from(e.__childNodes||e.childNodes);for(let o of s?n.reverse():n)o["s-sh"]!=null&&(w(t,o,s??null),o["s-sh"]=void 0,ke=!0)}S.$flags$&=-2},te=(e,t)=>{S.$flags$|=1;let s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]&&r.experimentalSlotFixes){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===z&&s.push(n)}for(let n=s.length-1;n>=0;n--){let o=s[n];o["s-hn"]!==z&&o["s-ol"]&&(w(se(o).parentNode,o,se(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,ke=!0),t&&te(o,t)}S.$flags$&=-2},ss=(e,t,s,n,o,i)=>{let d=r.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e,l;for(r.shadowDom&&d.shadowRoot&&d.tagName===z&&(d=d.shadowRoot);o<=i;++o)n[o]&&(l=xe(null,s,o),l&&(n[o].$elm$=l,w(d,l,r.slotRelocation?se(t):t)))},ns=(e,t,s)=>{for(let n=t;n<=s;++n){let o=e[n];if(o){let i=o.$elm$;os(o),i&&(r.slotRelocation&&(Le=!0,i["s-ol"]?i["s-ol"].remove():te(i,!0)),i.remove())}}},Vn=(e,t,s,n,o=!1)=>{let i=0,d=0,l=0,a=0,c=t.length-1,$=t[0],u=t[c],f=n.length-1,h=n[0],p=n[f],g,v;for(;i<=c&&d<=f;)if($==null)$=t[++i];else if(u==null)u=t[--c];else if(h==null)h=n[++d];else if(p==null)p=n[--f];else if(de($,h,o))M($,h,o),$=t[++i],h=n[++d];else if(de(u,p,o))M(u,p,o),u=t[--c],p=n[--f];else if(de($,p,o))r.slotRelocation&&($.$tag$==="slot"||p.$tag$==="slot")&&te($.$elm$.parentNode,!1),M($,p,o),w(e,$.$elm$,u.$elm$.nextSibling),$=t[++i],p=n[--f];else if(de(u,h,o))r.slotRelocation&&($.$tag$==="slot"||p.$tag$==="slot")&&te(u.$elm$.parentNode,!1),M(u,h,o),w(e,u.$elm$,$.$elm$),u=t[--c],h=n[++d];else{if(l=-1,r.vdomKey){for(a=i;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===h.$key$){l=a;break}}r.vdomKey&&l>=0?(v=t[l],v.$tag$!==h.$tag$?g=xe(t&&t[d],s,l):(M(v,h,o),t[l]=void 0,g=v.$elm$),h=n[++d]):(g=xe(t&&t[d],s,d),h=n[++d]),g&&(r.slotRelocation?w(se($.$elm$).parentNode,g,se($.$elm$)):w($.$elm$.parentNode,g,$.$elm$))}i>c?ss(e,n[f+1]==null?null:n[f+1].$elm$,s,n,d,f):r.updatable&&d>f&&ns(t,i,c)},de=(e,t,s=!1)=>e.$tag$===t.$tag$?r.slotRelocation&&e.$tag$==="slot"?e.$name$===t.$name$:r.vdomKey&&!s?e.$key$===t.$key$:(s&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):!1,se=e=>e&&e["s-ol"]||e,M=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,o=e.$children$,i=t.$children$,d=t.$tag$,l=t.$text$,a;!r.vdomText||l===null?(r.svg&&(C=d==="svg"?!0:d==="foreignObject"?!1:C),(r.vdomAttribute||r.reflect)&&(r.slot&&d==="slot"&&!J&&r.experimentalSlotFixes&&e.$name$!==t.$name$&&(t.$elm$["s-sn"]=t.$name$||"",ts(t.$elm$.parentElement)),Ye(e,t,C,s)),r.updatable&&o!==null&&i!==null?Vn(n,o,t,i,s):i!==null?(r.updatable&&r.vdomText&&e.$text$!==null&&(n.textContent=""),ss(n,null,t,i,0,i.length-1)):!s&&r.updatable&&o!==null?ns(o,0,o.length-1):r.hydrateClientSide&&s&&r.updatable&&o!==null&&i===null&&(t.$children$=o),r.svg&&C&&d==="svg"&&(C=!1)):r.vdomText&&r.slotRelocation&&(a=n["s-cr"])?a.parentNode.textContent=l:r.vdomText&&e.$text$!==l&&(n.data=l)},B=[],rs=e=>{let t,s,n,o=e.__childNodes||e.childNodes;for(let i of o){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;let d=i["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"]&&(!r.experimentalSlotFixes||!t["s-sh"]||t["s-sh"]!==i["s-hn"]))if(vt(t,d)){let l=B.find(a=>a.$nodeToRelocate$===t);Le=!0,t["s-sn"]=t["s-sn"]||d,l?(l.$nodeToRelocate$["s-sh"]=i["s-hn"],l.$slotRefNode$=i):(t["s-sh"]=i["s-hn"],B.push({$slotRefNode$:i,$nodeToRelocate$:t})),t["s-sr"]&&B.map(a=>{vt(a.$nodeToRelocate$,t["s-sn"])&&(l=B.find(c=>c.$nodeToRelocate$===t),l&&!a.$slotRefNode$&&(a.$slotRefNode$=l.$slotRefNode$))})}else B.some(l=>l.$nodeToRelocate$===t)||B.push({$nodeToRelocate$:t})}i.nodeType===1&&rs(i)}},os=e=>{r.vdomRef&&(e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(os))},w=(e,t,s)=>{if(r.scoped&&typeof t["s-sn"]=="string"&&t["s-sr"]&&t["s-cr"])is(t["s-cr"],t,e,t.parentElement);else if(r.experimentalSlotFixes&&typeof t["s-sn"]=="string"){e.getRootNode().nodeType!==11&&Mt(t),e.insertBefore(t,s);let{slotNode:n}=et(t);return n&&Ae(n),t}return r.experimentalSlotFixes&&e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)};Dt=(e,t,s=!1)=>{var n,o,i,d,l;let a=e.$hostElement$,c=e.$cmpMeta$,$=e.$vnode$||Q(null,null),f=qe(t)?t:Kt(null,null,t);if(z=a.tagName,r.isDev&&Array.isArray(t)&&t.some(qe))throw new Error(`The <Host> must be the single root component. 11Looks like the render() function of "${z.toLowerCase()}" is returning an array that contains the <Host>. 12 13The render() function should look like this instead: 14 15render() {
16 // Do not return an array 17 return ( 18 <Host>{content}</Host> 19 ); 20} 21 `);if(r.reflect&&c.$attrsToReflect$&&(f.$attrs$=f.$attrs$||{},c.$attrsToReflect$.forEach(([h,p])=>{r.serializer&&e.$serializerValues$.has(h)?f.$attrs$[p]=e.$serializerValues$.get(h):f.$attrs$[p]=a[h]})),s&&f.$attrs$)for(let h of Object.keys(f.$attrs$))a.hasAttribute(h)&&!["key","ref","style","class"].includes(h)&&(f.$attrs$[h]=a[h]);if(f.$tag$=null,f.$flags$|=4,e.$vnode$=f,f.$elm$=$.$elm$=r.shadowDom&&a.shadowRoot||a,(r.scoped||r.shadowDom)&&(he=a["s-sc"]),J=X&&!!(c.$flags$&1)&&!(c.$flags$&128),r.slotRelocation&&(be=a["s-cr"],Le=!1),M($,f,s),r.slotRelocation){if(S.$flags$|=1,ke){rs(f.$elm$);for(let h of B){let p=h.$nodeToRelocate$;if(!p["s-ol"]&&m.document){let g=r.isDebug||r.hydrateServerSide?tr(p):m.document.createTextNode("");g["s-nr"]=p,w(p.parentNode,p["s-ol"]=g,p)}}for(let h of B){let p=h.$nodeToRelocate$,g=h.$slotRefNode$;if(g){let v=g.parentNode,D=g.nextSibling;if(!r.hydrateServerSide&&(!r.experimentalSlotFixes||D&&D.nodeType===1)){let T=(n=p["s-ol"])==null?void 0:n.previousSibling;for(;T;){let b=(o=T["s-nr"])!=null?o:null;if(b&&b["s-sn"]===p["s-sn"]&&v===(b.__parentNode||b.parentNode)){for(b=b.nextSibling;b===p||b?.["s-sr"];)b=b?.nextSibling;if(!b||!b["s-nr"]){D=b;break}}T=T.previousSibling}}let R=p.__parentNode||p.parentNode,O=p.__nextSibling||p.nextSibling;(!D&&v!==R||O!==D)&&p!==D&&(!r.experimentalSlotFixes&&!p["s-hn"]&&p["s-ol"]&&(p["s-hn"]=p["s-ol"].parentNode.nodeName),w(v,p,D),p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(i=p["s-ih"])!=null?i:!1)),p&&typeof g["s-rf"]=="function"&&g["s-rf"](g)}else p.nodeType===1&&(s&&(p["s-ih"]=(d=p.hidden)!=null?d:!1),p.hidden=!0)}}Le&&Ce(f.$elm$),S.$flags$&=-2,B.length=0}if(r.experimentalScopedSlotChanges&&c.$flags$&2){let h=f.$elm$.__childNodes||f.$elm$.childNodes;for(let p of h)p["s-hn"]!==z&&!p["s-sh"]&&(s&&p["s-ih"]==null&&(p["s-ih"]=(l=p.hidden)!=null?l:!1),p.hidden=!0)}be=void 0},er=e=>{var t;return(t=m.document)==null?void 0:t.createComment(`<slot${e.$name$?' name="'+e.$name$+'"':""}> (host=${z.toLowerCase()})`)},tr=e=>{var t;return(t=m.document)==null?void 0:t.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`))},ls=(e,t)=>{if(r.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]){let s=t["s-p"].push(new Promise(n=>e.$onRenderResolve$=()=>{t["s-p"].splice(s-1,1),n()}))}},we=(e,t)=>{if(r.taskQueue&&r.updatable&&(e.$flags$|=16),r.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}ls(e,e.$ancestorComponent$);let s=()=>sr(e,t);if(t){queueMicrotask(()=>{s()});return}return r.taskQueue?Ts(s):s()},sr=(e,t)=>{let s=e.$hostElement$,n=U("scheduleUpdate",e.$cmpMeta$.$tagName$),o=r.lazyLoad?e.$lazyInstance$:s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return t?(r.lazyLoad&&(r.hostListener&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([d,l])=>N(o,d,l,s)),e.$queuedListeners$=void 0)),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(d=>d(s))),K(s,"componentWillLoad"),i=N(o,"componentWillLoad",void 0,s)):(K(s,"componentWillUpdate"),i=N(o,"componentWillUpdate",void 0,s)),K(s,"componentWillRender"),i=It(i,()=>N(o,"componentWillRender",void 0,s)),n(),It(i,()=>rr(e,o,t))},It=(e,t)=>
21nr(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),nr=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",rr=(e,t,s)=>ae(null,null,function*(){var n;let o=e.$hostElement$,i=U("update",e.$cmpMeta$.$tagName$),d=o["s-rc"];r.style&&s&&on(e);let l=U("render",e.$cmpMeta$.$tagName$);if(r.isDev&&(e.$flags$|=1024),r.hydrateServerSide?yield Et(e,t,o,s):Et(e,t,o,s),r.isDev&&(e.$renderCount$=e.$renderCount$===void 0?1:e.$renderCount$+1,e.$flags$&=-1025),r.hydrateServerSide)try{as(o),s&&(e.$cmpMeta$.$flags$&1?o["s-en"]="":e.$cmpMeta$.$flags$&2&&(o["s-en"]="c"))}catch(a){j(a,o)}if(r.asyncLoading&&d&&(d.map(a=>a()),o["s-rc"]=void 0),l(),i(),r.asyncLoading){let a=(n=o["s-p"])!=null?n:[],c=()=>At(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}else At(e)}),Ct=null,Et=(e,t,s,n)=>{let o=!!r.allRenderFn,i=!!r.lazyLoad,d=!!r.taskQueue,l=!!r.updatable;try{if(Ct=t,t=(o||t.render)&&t.render(),l&&d&&(e.$flags$&=-17),(l||i)&&(e.$flags$|=2),r.hasRenderFn||r.reflect)if(r.vdomRender||r.reflect){if(r.hydrateServerSide)return Promise.resolve(t).then(a=>Dt(e,a,n));Dt(e,t,n)}else{let a=s.shadowRoot;e.$cmpMeta$.$flags$&1?a.textContent=t:s.textContent=t}}catch(a){j(a,e.$hostElement$)}return Ct=null,null},At=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=U("postUpdate",t),o=r.lazyLoad?e.$lazyInstance$:s,i=e.$ancestorComponent$;r.isDev&&(e.$flags$|=1024),N(o,"componentDidRender",void 0,s),r.isDev&&(e.$flags$&=-1025),K(s,"componentDidRender"),e.$flags$&64?(r.isDev&&(e.$flags$|=1024),N(o,"componentDidUpdate",void 0,s),r.isDev&&(e.$flags$&=-1025),K(s,"componentDidUpdate"),n()):(e.$flags$|=64,r.asyncLoading&&r.cssAnnotations&&ir(s),r.isDev&&(e.$flags$|=2048),N(o,"componentDidLoad",void 0,s),r.isDev&&(e.$flags$&=-2049),K(s,"componentDidLoad"),n(),r.asyncLoading&&(e.$onReadyResolve$(s),i||or(t))),r.method&&r.lazyLoad&&e.$onInstanceResolve$(s),r.asyncLoading&&(e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Ie(()=>we(e,!1)),e.$flags$&=-517)},to=e=>{var t;if(r.updatable&&(ct.isBrowser||ct.isTesting)){let s=E(e),n=(t=s?.$hostElement$)==null?void 0:t.isConnected;return n&&(s.$flags$&18)===2&&we(s,!1),n}return!1},or=e=>{var t;r.asyncQueue&&(S.$flags$|=2),Ie(()=>nt(m,"appload",{detail:{namespace:ce}})),r.hydrateClientSide&&(t=S.$orgLocNodes$)!=null&&t.size&&S.$orgLocNodes$.clear(),r.profile&&performance.measure&&performance.measure(`[Stencil] ${ce} initial load (by ${e})`,"st:app:start")},N=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(o){j(o,n)}},K=(e,t)=>{r.lifecycleDOMEvents&&nt(e,"stencil_"+t,{bubbles:!0,composed:!0,detail:{namespace:ce}})},ir=e=>{var t,s;return r.hydratedClass?e.classList.add((t=r.hydratedSelectorName)!=null?t:"hydrated"):r.hydratedAttribute?e.setAttribute((s=r.hydratedSelectorName)!=null?s:"hydrated",""):void 0},as=e=>{let t=e.children;if(t!=null)for(let s=0,n=t.length;s<n;s++){let o=t[s];typeof o.connectedCallback=="function"&&o.connectedCallback(),as(o)}},Tt=(e,t)=>E(e).$instanceValues$.get(t),$e=(e,t,s,n)=>{let o=E(e);if(!o)return;if(r.lazyLoad&&!o)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);if(r.serializer&&o.$serializerValues$.has(t)&&o.$serializerValues$.get(t)===s)return;let i=r.lazyLoad?o.$hostElement$:e,d=o.$instanceValues$.get(t),l=o.$flags$,a=r.lazyLoad?o.$lazyInstance$:i;s=Qe(s,n.$members$[t][0],r.formAssociated&&!!(n.$flags$&64));let c=Number.isNaN(d)&&Number.isNaN(s),$=s!==d&&!c;if((!r.lazyLoad||!(l&8)||d===void 0)&&$){if(o.$instanceValues$.set(t,s),r.serializer&&r.reflect&&n.$attrsToReflect$&&a&&n.$serializers$&&n.$serializers$[t]){let u=s;for(let f of n.$serializers$[t])u=a[f](u,t);o.$serializerValues$.set(t,u)}if(r.isDev&&(o.$flags$&1024?Z(`The state/prop "${t}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,` 22Element`,i,` 23New value`,s,` 24Old value`,d):o.$flags$&2048&&Z(`The state/prop "${t}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,` 25Element`,i,` 26New value`,s,` 27Old value`,d)),!r.lazyLoad||a){if(r.propChangeCallback&&n.$watchers$&&l&128){let u=n.$watchers$[t];u&&u.map(f=>{try{a[f](s,d,t)}catch(h){j(h,i)}})}if(r.updatable&&(l&18)===2){if(a.componentShouldUpdate&&a.componentShouldUpdate(s,d,t)===!1)return;we(o,!1)}}}},cs=(e,t,s)=>{var n,o;let i=e.prototype;if(r.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(r.formAssociated&&t.$flags$&64&&s&1&&Cs.forEach(d=>{let l=i[d];Object.defineProperty(i,d,{value(...a){var c;let $=E(this),u=r.lazyLoad?$?.$lazyInstance$:this;if(!u)(c=$?.$onReadyPromise$)==null||c.then(f=>{let h=f[d];typeof h=="function"&&h.call(f,...a)});else{let f=r.lazyLoad?u[d]:l;typeof f=="function"&&f.call(u,...a)}}})}),r.member&&t.$members$||r.propChangeCallback){r.propChangeCallback&&(e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers),e.deserializers&&!t.$deserializers$&&(t.$deserializers$=e.deserializers),e.serializers&&!t.$serializers$&&(t.$serializers$=e.serializers));let d=Object.entries((n=t.$members$)!=null?n:{});if(d.map(([l,[a]])=>{if((r.prop||r.state)&&(a&31||(!r.lazyLoad||s&2)&&a&32)){let{get:c,set:$}=Object.getOwnPropertyDescriptor(i,l)||{};c&&(t.$members$[l][0]|=2048),$&&(t.$members$[l][0]|=4096),(s&1||!c)&&Object.defineProperty(i,l,{get(){if
27(r.lazyLoad){if((t.$members$[l][0]&2048)===0)return Tt(this,l);let u=E(this),f=u?u.$lazyInstance$:i;return f?f[l]:void 0}if(!r.lazyLoad)return c?c.apply(this):Tt(this,l)},configurable:!0,enumerable:!0}),Object.defineProperty(i,l,{set(u){let f=E(this);if(f){if(r.isDev&&(s&1)===0&&(t.$members$[l][0]&4096)===0&&(f&&f.$flags$&8)===0&&(a&31)!==0&&(a&1024)===0&&Z(`@Prop() "${l}" on <${t.$tagName$}> is immutable but was modified from within the component. 28More information: https://stenciljs.com/docs/properties#prop-mutability`),$){typeof(a&32?this[l]:f.$hostElement$[l])>"u"&&f.$instanceValues$.get(l)&&(u=f.$instanceValues$.get(l)),$.apply(this,[Qe(u,a,r.formAssociated&&!!(t.$flags$&64))]),u=a&32?this[l]:f.$hostElement$[l],$e(this,l,u,t);return}if(!r.lazyLoad){$e(this,l,u,t);return}if(r.lazyLoad){if((s&1)===0||(t.$members$[l][0]&4096)===0){$e(this,l,u,t),s&1&&!f.$lazyInstance$&&f.$fetchedCbList$.push(()=>{t.$members$[l][0]&4096&&f.$lazyInstance$[l]!==f.$instanceValues$.get(l)&&(f.$lazyInstance$[l]=u)});return}let h=()=>{let p=f.$lazyInstance$[l];!f.$instanceValues$.get(l)&&p&&f.$instanceValues$.set(l,p),f.$lazyInstance$[l]=Qe(u,a,r.formAssociated&&!!(t.$flags$&64)),$e(this,l,f.$lazyInstance$[l],t)};f.$lazyInstance$?h():f.$fetchedCbList$.push(()=>{h()})}}}})}else r.lazyLoad&&r.method&&s&1&&a&64&&Object.defineProperty(i,l,{value(...c){var $;let u=E(this);return($=u?.$onInstancePromise$)==null?void 0:$.then(()=>{var f;return(f=u.$lazyInstance$)==null?void 0:f[l](...c)})}})}),r.observeAttribute&&(!r.lazyLoad||s&1)){let l=new Map;i.attributeChangedCallback=function(a,c,$){S.jmp(()=>{var u;let f=l.get(a),h=E(this);if(r.serializer&&h.$serializerValues$.has(f)&&h.$serializerValues$.get(f)===$)return;if(this.hasOwnProperty(f)&&r.lazyLoad&&($=this[f],delete this[f]),r.deserializer&&t.$deserializers$&&t.$deserializers$[f]){let g=(v,D)=>{let R=D?.[v]($,f);R!==this[f]&&(this[f]=R)};for(let v of t.$deserializers$[f])r.lazyLoad?h.$lazyInstance$?g(v,h.$lazyInstance$):h.$fetchedCbList$.push(()=>{g(v,h.$lazyInstance$)}):g(v,this);return}else{if(i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==$)return;if(f==null){let g=h?.$flags$;if(h&&g&&!(g&8)&&g&128&&$!==c){let v=r.lazyLoad?h.$hostElement$:this,D=r.lazyLoad?h.$lazyInstance$:v,R=(u=t.$watchers$)==null?void 0:u[a];R?.forEach(O=>{D[O]!=null&&D[O].call(D,$,c,a)})}return}}let p=Object.getOwnPropertyDescriptor(i,f);$=$===null&&typeof this[f]=="boolean"?!1:$,$!=this[f]&&(!p.get||p.set)&&(this[f]=$)})},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.$watchers$)!=null?o:{}),...d.filter(([a,c])=>c[0]&31).map(([a,c])=>{var $;let u=c[1]||a;return l.set(u,a),r.reflect&&c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,u])),u})]))}}return e},kt=(e,t,s,n)=>ae(null,null,function*(){let o;if((t.$flags$&32)===0){t.$flags$|=32;let l=s.$lazyBundleId$;if(r.lazyLoad&&l){let a=Ss(s,t,n);if(a&&"then"in a){let $=rn(`st:load:${s.$tagName$}:${t.$modeName$}`,`[Stencil] Load module for <${s.$tagName$}>`);o=yield a,$()}else o=a;if(!o)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.member&&!o.isProxied&&(r.propChangeCallback&&(s.$watchers$=o.watchers,s.$serializers$=o.serializers,s.$deserializers$=o.deserializers),cs(o,s,2),o.isProxied=!0);let c=U("createInstance",s.$tagName$);r.member&&(t.$flags$|=8);try{new o(t)}catch($){j($,e)}r.member&&(t.$flags$&=-9),r.propChangeCallback&&(t.$flags$|=128),c(),Ge(t.$lazyInstance$,e)}else{o=e.constructor;let a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r.style&&o&&o.style){let a;typeof o.style=="string"?a=o.style:r.mode&&typeof o.style!="string"&&(t.$modeName$=Yn(e),t.$modeName$&&(a=o.style[t.$modeName$]),r.hydrateServerSide&&t.$modeName$&&e.setAttribute("s-mode",t.$modeName$));let c=Te(s,t.$modeName$);if(!ve.has(c)){let $=U("registerStyles",s.$tagName$);r.hydrateServerSide&&r.shadowDom&&(s.$flags$&128?a=Qn(a,c,!0):_s()&&(a=Vt(a))),qt(c,a,!!(s.$flags$&1)),$()}}}let i=t.$ancestorComponent$,d=()=>we(t,!0);r.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(d):d()}),Ge=(e,t)=>{r.lazyLoad&&N(e,"connectedCallback",void 0,t)},lr=e=>{if((S.$flags$&1)===0){let t=E(e);if(!t)return;let s=t.$cmpMeta$,n=U("connectedCallback",s.$tagName$);if(r.hostListenerTargetParent&&Je(e,t,s.$listeners$,!0),t.$flags$&1)Je(e,t,s.$listeners$,!1),t?.$lazyInstance$?Ge(t.$lazyInstance$,e):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ge(t.$lazyInstance$,e));else{t.$flags$|=1;let o;if(r.hydrateClientSide&&(o=e.getAttribute(V),o)){if(r.shadowDom&&X&&s.$flags$&1){let i=r.mode?Me(e.shadowRoot,s,e.getAttribute("s-mode")):Me(e.shadowRoot,s);e.classList.remove(i+"-h",i+"-s")}else if(r.scoped&&s.$flags$&2){let i=Te(s,r.mode?e.getAttribute("s-mode"):void 0);e["s-sc"]=i}un(e,s.$tagName$,o,t)}if(r.slotRelocation&&!o&&(r.hydrateServerSide||(r.slot||r.shadowDom)&&s.$flags$&12)&&ar(e),r.asyncLoading){let i=e;for(;i=i.parentNode||i.host;)if(r.hydrateClientSide&&i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){ls(t,t.$ancestorComponent$=i);break}}r.prop&&!r.hydrateServerSide&&s.$members$&&Object.entries(s.$members$).map(([i,[d]])=>{if(d&31&&i in e&&e[i]!==Object.prototype[i]){let l=e[i];delete e[i],e[i]=l}}),r.initializeNextTick?Ie(()=>
28kt(e,t,s)):kt(e,t,s)}n()}},ar=e=>{if(!m.document)return;let t=e["s-cr"]=m.document.createComment(r.isDebug?`content-ref (host=${e.localName})`:"");t["s-cn"]=!0,w(e,t,e.firstChild)},je=(e,t)=>{r.lazyLoad&&N(e,"disconnectedCallback",void 0,t||e)},cr=e=>ae(null,null,function*(){if((S.$flags$&1)===0){let t=E(e);r.hostListener&&t?.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),r.lazyLoad?t?.$lazyInstance$?je(t.$lazyInstance$,e):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>je(t.$lazyInstance$,e)):je(e)}q.has(e)&&q.delete(e),e.shadowRoot&&q.has(e.shadowRoot)&&q.delete(e.shadowRoot)}),no=(e,t)=>{let s={$flags$:t[0],$tagName$:t[1]};r.member&&(s.$members$=t[2]),r.hostListener&&(s.$listeners$=t[3]),r.propChangeCallback&&(s.$watchers$=e.$watchers$,s.$deserializers$=e.$deserializers$,s.$serializers$=e.$serializers$),r.reflect&&(s.$attrsToReflect$=[]),r.shadowDom&&!X&&s.$flags$&1&&(s.$flags$|=8),!(s.$flags$&1)&&s.$flags$&256&&(r.experimentalSlotFixes?Fs(e.prototype):(r.slotChildNodesFix&&Wt(e.prototype),r.cloneNodeFix&&Pt(e.prototype),r.appendChildSlotFix&&Ht(e.prototype),r.scopedSlotTextContentFix&&s.$flags$&2&&Ft(e.prototype))),r.hydrateClientSide&&r.shadowDom&&an();let n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){ms(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){let i=E(this);if(!i)return;Je(this,i,s.$listeners$,!1),this.__hasHostListenerAttached=!0}lr(this),n&&n.call(this)},disconnectedCallback(){cr(this),o&&o.call(this)},__attachShadow(){if(X){if(!this.shadowRoot)Ps.call(this,s);else if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.shadowRoot=this}}),e.is=s.$tagName$,cs(e,s,3)},ro=(e,t)=>t,Je=(e,t,s,n)=>{r.hostListener&&s&&m.document&&(r.hostListenerTargetParent&&(n?s=s.filter(([o])=>o&32):s=s.filter(([o])=>!(o&32))),s.map(([o,i,d])=>{let l=r.hostListenerTarget?$r(m.document,e,o):e,a=dr(t,d),c=fr(o);S.ael(l,i,a,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>S.rel(l,i,a,c))}))},dr=(e,t)=>s=>{var n;try{r.lazyLoad?e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s]):e.$hostElement$[t](s)}catch(o){j(o,e.$hostElement$)}},$r=(e,t,s)=>r.hostListenerTargetDocument&&s&4?e:r.hostListenerTargetWindow&&s&8?m:r.hostListenerTargetBody&&s&16?e.body:r.hostListenerTargetParent&&s&32&&t.parentElement?t.parentElement:t,fr=e=>Es?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,lo=r.lazyLoad?class{}:globalThis.HTMLElement||class{}});export{ct as a,Dr as b,Ir as c,Ts as d,Cr as e,Kt as f,cn as g,Wr as h,Mr as i,Jr as j,to as k,no as l,ro as m,ur as n};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.