/*! * (C) Ionic http://ionicframework.com - MIT License */ let t,n,e,l=!1,o=!1,s=!1,i=!1,r=!1;const c={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},f=t=>{const n=new URL(t,Yt.t);return n.origin!==Kt.location.origin?n.href:n.pathname},u="s-id",a="sty-id",d="c-id",$="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",v={},y=t=>"object"==(t=typeof t)||"function"===t;function p(t){var n,e,l;return null!==(l=null===(e=null===(n=t.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const b=(t,n,...e)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=n=>{for(let e=0;et[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,w);const u=m(t,null);return u.o=n,c.length>0&&(u.i=c),u.u=o,u.$=s,u},m=(t,n)=>({h:0,v:t,l:n,p:null,i:null,o:null,u:null,$:null}),g={},w={forEach:(t,n)=>t.map(j).forEach(n),map:(t,n)=>t.map(j).map(n).map(k)},j=t=>({vattrs:t.o,vchildren:t.i,vkey:t.u,vname:t.$,vtag:t.v,vtext:t.l}),k=t=>{if("function"==typeof t.vtag){const n=Object.assign({},t.vattrs);return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),b(t.vtag,n,...t.vchildren||[])}const n=m(t.vtag,t.vtext);return n.o=t.vattrs,n.i=t.vchildren,n.u=t.vkey,n.$=t.vname,n},O=(t,n,e,l,o,s,i)=>{let r,c,f,u;if(1===s.nodeType){for(r=s.getAttribute(d),r&&(c=r.split("."),c[0]!==i&&"0"!==c[0]||(f={h:0,m:c[0],j:c[1],k:c[2],O:c[3],v:s.tagName.toLowerCase(),p:s,o:null,i:null,u:null,$:null,l:null},n.push(f),s.removeAttribute(d),t.i||(t.i=[]),t.i[f.O]=f,t=f,l&&"0"===f.k&&(l[f.O]=f.p))),u=s.childNodes.length-1;u>=0;u--)O(t,n,e,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)O(t,n,e,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)c=s.nodeValue.split("."),c[1]!==i&&"0"!==c[1]||(r=c[0],f={h:0,m:c[1],j:c[2],k:c[3],O:c[4],p:s,o:null,i:null,u:null,$:null,v:null,l:null},"t"===r?(f.p=s.nextSibling,f.p&&3===f.p.nodeType&&(f.l=f.p.textContent,n.push(f),s.remove(),t.i||(t.i=[]),t.i[f.O]=f,l&&"0"===f.k&&(l[f.O]=f.p))):f.m===i&&("s"===r?(f.v="slot",s["s-sn"]=c[5]?f.$=c[5]:"",s["s-sr"]=!0,l&&(f.p=Qt.createElement(f.v),f.$&&f.p.setAttribute("name",f.$),s.parentNode.insertBefore(f.p,s),s.remove(),"0"===f.k&&(l[f.O]=f.p)),e.push(f),t.i||(t.i=[]),t.i[f.O]=f):"r"===r&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.v){const n=m(null,s.textContent);n.p=s,n.O="0",t.i=[n]}},x=(t,n)=>{if(1===t.nodeType){let e=0;for(;eJt.push(t),C=t=>_t(t).S,M=t=>_t(t).$hostElement$,R=(t,n,e)=>{const l=M(t);return{emit:t=>A(l,n,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:t})}},A=(t,n,e)=>{const l=Yt.ce(n,e);return t.dispatchEvent(l),l},E=new WeakMap,N=(t,n,e)=>{let l=Gt.get(t);en&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,Gt.set(t,l)},P=(t,n,e)=>{var l;const o=T(n,e),s=Gt.get(o);if(t=11===t.nodeType?t:Qt,s)if("string"==typeof s){let e,i=E.get(t=t.head||t);if(i||E.set(t,i=new Set),!i.has(o)){if(t.host&&(e=t.querySelector(`[${a}="${o}"]`)))e.innerHTML=s;else{e=Qt.createElement("style"),e.innerHTML=s;const n=null!==(l=Yt.C)&&void 0!==l?l:p(Qt);null!=n&&e.setAttribute("nonce",n),t.insertBefore(e,t.querySelector("link"))}4&n.h&&(e.innerHTML+=$),i&&i.add(o)}}else t.adoptedStyleSheets.includes(s)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,s]);return o},T=(t,n)=>"sc-"+(n&&32&t.h?t.M+"-"+n:t.M),L=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),D=(t,n,e,l,o,s)=>{if(e!==l){let i=qt(t,n),r=n.toLowerCase();if("class"===n){const n=t.classList,o=U(e),s=U(l);n.remove(...o.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===n){for(const n in e)l&&null!=l[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in l)e&&l[n]===e[n]||(n.includes("-")?t.style.setProperty(n,l[n]):t.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&l(t);else if(i||"o"!==n[0]||"n"!==n[1]){const c=y(l);if((i||c&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[n]=l;else{const o=null==l?"":l;"list"===n?i=!1:null!=e&&t[n]==o||(t[n]=o)}}catch(t){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(n=r,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(n)||(f?t.removeAttributeNS(h,n):t.removeAttribute(n)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,f?t.setAttributeNS(h,n,l):t.setAttribute(n,l))}else if(n="-"===n[2]?n.slice(3):qt(Kt,r)?r.slice(2):r[2]+n.slice(3),e||l){const o=n.endsWith(W);n=n.replace(_,""),e&&Yt.rel(t,n,e,o),l&&Yt.ael(t,n,l,o)}}},I=/\s/,U=t=>t?t.split(I):[],W="Capture",_=RegExp(W+"$"),F=(t,n,e,l)=>{const o=11===n.p.nodeType&&n.p.host?n.p.host:n.p,s=t&&t.o||v,i=n.o||v;for(l in s)l in i||D(o,l,s[l],void 0,e,n.h);for(l in i)D(o,l,s[l],i[l],e,n.h)},B=(o,r,c,f)=>{var u;const a=r.i[c];let d,$,h,v=0;if(l||(s=!0,"slot"===a.v&&(t&&f.classList.add(t+"-s"),a.h|=a.i?2:1)),null!==a.l)d=a.p=Qt.createTextNode(a.l);else if(1&a.h)d=a.p=Qt.createTextNode("");else{if(i||(i="svg"===a.v),d=a.p=Qt.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.h?"slot-fb":a.v),i&&"foreignObject"===a.v&&(i=!1),F(null,a,i),null!=t&&d["s-si"]!==t&&d.classList.add(d["s-si"]=t),a.i)for(v=0;v{Yt.h|=1;const n=t.closest(e.toLowerCase());if(null!=n){const e=Array.from(n.childNodes).find((t=>t["s-cr"])),l=Array.from(t.childNodes);for(const t of e?l.reverse():l)null!=t["s-sh"]&&(n.insertBefore(t,null!=e?e:null),t["s-sh"]=void 0,s=!0)}Yt.h&=-2},H=(t,n)=>{Yt.h|=1;const l=Array.from(t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===e&&l.push(n)}for(let t=l.length-1;t>=0;t--){const o=l[t];o["s-hn"]!==e&&o["s-ol"]&&(K(o).insertBefore(o,J(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,s=!0),n&&H(o,n)}Yt.h&=-2},V=(t,n,l,o,s,i)=>{let r,c=t["s-cr"]&&t["s-cr"].parentNode||t;for(c.shadowRoot&&c.tagName===e&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=B(null,l,s,t),r&&(o[s].p=r,c.insertBefore(r,J(n))))},z=(t,n,e)=>{for(let l=n;l<=e;++l){const n=t[l];if(n){const t=n.p;nt(n),t&&(o=!0,t["s-ol"]?t["s-ol"].remove():H(t,!0),t.remove())}}},G=(t,n,e=!1)=>t.v===n.v&&("slot"===t.v?t.$===n.$:!!e||t.u===n.u),J=t=>t&&t["s-ol"]||t,K=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,Q=(t,n,e=!1)=>{const o=n.p=t.p,s=t.i,r=n.i,c=n.v,f=n.l;let u;null===f?(i="svg"===c||"foreignObject"!==c&&i,"slot"!==c||l?F(t,n,i):t.$!==n.$&&(n.p["s-sn"]=n.$||"",q(n.p.parentElement)),null!==s&&null!==r?((t,n,e,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=n.length-1,d=n[0],$=n[a],h=l.length-1,v=l[0],y=l[h];for(;r<=a&&c<=h;)if(null==d)d=n[++r];else if(null==$)$=n[--a];else if(null==v)v=l[++c];else if(null==y)y=l[--h];else if(G(d,v,o))Q(d,v,o),d=n[++r],v=l[++c];else if(G($,y,o))Q($,y,o),$=n[--a],y=l[--h];else if(G(d,y,o))"slot"!==d.v&&"slot"!==y.v||H(d.p.parentNode,!1),Q(d,y,o),t.insertBefore(d.p,$.p.nextSibling),d=n[++r],y=l[--h];else if(G($,v,o))"slot"!==d.v&&"slot"!==y.v||H($.p.parentNode,!1),Q($,v,o),t.insertBefore($.p,d.p),$=n[--a],v=l[++c];else{for(f=-1,u=r;u<=a;++u)if(n[u]&&null!==n[u].u&&n[u].u===v.u){f=u;break}f>=0?(i=n[f],i.v!==v.v?s=B(n&&n[c],e,f,t):(Q(i,v,o),n[f]=void 0,s=i.p),v=l[++c]):(s=B(n&&n[c],e,c,t),v=l[++c]),s&&K(d.p).insertBefore(s,J(d.p))}r>a?V(t,null==l[h+1]?null:l[h+1].p,e,l,c,h):c>h&&z(n,r,a)})(o,s,n,r,e):null!==r?(null!==t.l&&(o.textContent=""),V(o,null,n,r,0,r.length-1)):null!==s&&z(s,0,s.length-1),i&&"svg"===c&&(i=!1)):(u=o["s-cr"])?u.parentNode.textContent=f:t.l!==f&&(o.data=f)},X=t=>{const n=t.childNodes;for(const t of n)if(1===t.nodeType){if(t["s-sr"]){const e=t["s-sn"];t.hidden=!1;for(const l of n)if(l!==t)if(l["s-hn"]!==t["s-hn"]||""!==e){if(1===l.nodeType&&(e===l.getAttribute("slot")||e===l["s-sn"])){t.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){t.hidden=!0;break}}X(t)}},Y=[],Z=t=>{let n,e,l;for(const s of t.childNodes){if(s["s-sr"]&&(n=s["s-cr"])&&n.parentNode){e=n.parentNode.childNodes;const t=s["s-sn"];for(l=e.length-1;l>=0;l--)if(n=e[l],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===s["s-hn"]||n["s-sh"]&&n["s-sh"]===s["s-hn"]))if(tt(n,t)){let e=Y.find((t=>t.R===n));o=!0,n["s-sn"]=n["s-sn"]||t,e?(e.R["s-sh"]=s["s-hn"],e.A=s):(n["s-sh"]=s["s-hn"],Y.push({A:s,R:n})),n["s-sr"]&&Y.map((t=>{tt(t.R,n["s-sn"])&&(e=Y.find((t=>t.R===n)),e&&!t.A&&(t.A=e.A))}))}else Y.some((t=>t.R===n))||Y.push({R:n})}1===s.nodeType&&Z(s)}},tt=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,nt=t=>{t.o&&t.o.ref&&t.o.ref(null),t.i&&t.i.map(nt)},et=(t,n)=>{n&&!t.N&&n["s-p"]&&n["s-p"].push(new Promise((n=>t.N=n)))},lt=(t,n)=>{if(t.h|=16,!(4&t.h))return et(t,t.P),an((()=>ot(t,n)));t.h|=512},ot=(t,n)=>{const e=t.T;let l;return n&&(t.h|=256,t.L&&(t.L.map((([t,n])=>dt(e,t,n))),t.L=void 0),l=dt(e,"componentWillLoad")),l=st(l,(()=>dt(e,"componentWillRender"))),st(l,(()=>rt(t,e,n)))},st=(t,n)=>it(t)?t.then(n):n(),it=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,rt=async(t,n,e)=>{var l;const o=t.$hostElement$,s=o["s-rc"];e&&(t=>{const n=t.D,e=t.$hostElement$,l=n.h,o=P(e.shadowRoot?e.shadowRoot:e.getRootNode(),n,t.S);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"),2&l&&e.classList.add(o+"-s"))})(t);ct(t,n,o,e),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>ft(t);0===n.length?e():(Promise.all(n).then(e),t.h|=4,n.length=0)}},ct=(i,r,c,f)=>{try{r=r.render&&r.render(),i.h&=-17,i.h|=2,((i,r,c=!1)=>{var f,u,a,d,$;const h=i.$hostElement$,v=i.D,y=i.I||m(null,null),p=(t=>t&&t.v===g)(r)?r:b(null,null,r);if(e=h.tagName,v.U&&(p.o=p.o||{},v.U.map((([t,n])=>p.o[n]=h[t]))),c&&p.o)for(const t of Object.keys(p.o))h.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.o[t]=h[t]);if(p.v=null,p.h|=4,i.I=p,p.p=y.p=h.shadowRoot||h,t=h["s-sc"],l=!!(1&v.h),n=h["s-cr"],o=!1,Q(y,p,c),Yt.h|=1,s){Z(p.p);for(const t of Y){const n=t.R;if(!n["s-ol"]){const t=Qt.createTextNode("");t["s-nr"]=n,n.parentNode.insertBefore(n["s-ol"]=t,n)}}for(const t of Y){const n=t.R,e=t.A;if(e){const t=e.parentNode;let l=e.nextSibling;if(l&&1===l.nodeType){let e=null===(f=n["s-ol"])||void 0===f?void 0:f.previousSibling;for(;e;){let o=null!==(u=e["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===n["s-sn"]&&t===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}e=e.previousSibling}}(!l&&t!==n.parentNode||n.nextSibling!==l)&&n!==l&&(t.insertBefore(n,l),1===n.nodeType&&(n.hidden=null!==(a=n["s-ih"])&&void 0!==a&&a)),n&&"function"==typeof e["s-rf"]&&e["s-rf"](n)}else 1===n.nodeType&&(c&&(n["s-ih"]=null!==(d=n.hidden)&&void 0!==d&&d),n.hidden=!0)}}if(o&&X(p.p),Yt.h&=-2,Y.length=0,2&v.h)for(const t of p.p.childNodes)t["s-hn"]===e||t["s-sh"]||(c&&null==t["s-ih"]&&(t["s-ih"]=null!==($=t.hidden)&&void 0!==$&&$),t.hidden=!0);n=void 0})(i,r,f)}catch(t){Ht(t,i.$hostElement$)}return null},ft=t=>{const n=t.$hostElement$,e=t.T,l=t.P;dt(e,"componentDidRender"),64&t.h?dt(e,"componentDidUpdate"):(t.h|=64,$t(n),dt(e,"componentDidLoad"),t.W(n),l||at()),t._(n),t.N&&(t.N(),t.N=void 0),512&t.h&&fn((()=>lt(t,!1))),t.h&=-517},ut=t=>{{const n=_t(t),e=n.$hostElement$.isConnected;return e&&2==(18&n.h)&<(n,!1),e}},at=()=>{$t(Qt.documentElement),fn((()=>A(Kt,"appload",{detail:{namespace:"ionic"}})))},dt=(t,n,e)=>{if(t&&t[n])try{return t[n](e)}catch(t){Ht(t)}},$t=t=>t.classList.add("hydrated"),ht=(t,n,e)=>{var l;const o=t.prototype;if(n.F){t.watchers&&(n.B=t.watchers);const s=Object.entries(n.F);if(s.map((([t,[l]])=>{31&l||2&e&&32&l?Object.defineProperty(o,t,{get(){return((t,n)=>_t(this).q.get(n))(0,t)},set(e){((t,n,e,l)=>{const o=_t(t),s=o.$hostElement$,i=o.q.get(n),r=o.h,c=o.T;if(e=((t,n)=>null==t||y(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?parseFloat(t):1&n?t+"":t)(e,l.F[n][0]),(!(8&r)||void 0===i)&&e!==i&&(!Number.isNaN(i)||!Number.isNaN(e))&&(o.q.set(n,e),c)){if(l.B&&128&r){const t=l.B[n];t&&t.map((t=>{try{c[t](e,i,n)}catch(t){Ht(t,s)}}))}2==(18&r)&<(o,!1)}})(this,t,e,n)},configurable:!0,enumerable:!0}):1&e&&64&l&&Object.defineProperty(o,t,{value(...n){var e;const l=_t(this);return null===(e=null==l?void 0:l.H)||void 0===e?void 0:e.then((()=>{var e;return null===(e=l.T)||void 0===e?void 0:e[t](...n)}))}})})),1&e){const e=new Map;o.attributeChangedCallback=function(t,l,s){Yt.jmp((()=>{var i;const r=e.get(t);if(this.hasOwnProperty(r))s=this[r],delete this[r];else{if(o.hasOwnProperty(r)&&"number"==typeof this[r]&&this[r]==s)return;if(null==r){const e=_t(this),o=null==e?void 0:e.h;if(o&&!(8&o)&&128&o&&s!==l){const o=e.T,r=null===(i=n.B)||void 0===i?void 0:i[t];null==r||r.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,t)}))}return}}this[r]=(null!==s||"boolean"!=typeof this[r])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.B)&&void 0!==l?l:{}),...s.filter((([t,n])=>15&n[0])).map((([t,l])=>{var o;const s=l[1]||t;return e.set(s,t),512&l[0]&&(null===(o=n.U)||void 0===o||o.push([t,s])),s}))]))}}return t},vt=t=>{dt(t,"connectedCallback")},yt=t=>{if(!(1&Yt.h)){const n=_t(t),e=n.D,l=()=>{};if(1&n.h)Tt(t,n,e.V),(null==n?void 0:n.T)?vt(n.T):(null==n?void 0:n.G)&&n.G.then((()=>vt(n.T)));else{let l;if(n.h|=1,l=t.getAttribute(u),l){if(1&e.h){const n=P(t.shadowRoot,e,t.getAttribute("s-mode"));t.classList.remove(n+"-h",n+"-s")}((t,n,e,l)=>{const o=t.shadowRoot,s=[],i=o?[]:null,r=l.I=m(n,null);Yt.J||x(Qt.body,Yt.J=new Map),t[u]=e,t.removeAttribute(u),O(r,s,[],i,t,t,e),s.map((t=>{const e=t.m+"."+t.j,l=Yt.J.get(e),s=t.p;l&&tn&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=n,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Yt.J.delete(e)})),o&&i.map((t=>{t&&o.appendChild(t)}))})(t,e.M,l,n)}l||12&e.h&&pt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){et(n,n.P=e);break}}e.F&&Object.entries(e.F).map((([n,[e]])=>{if(31&e&&t.hasOwnProperty(n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let l;if(!(32&n.h)){if(n.h|=32,e.K){if(l=zt(e),l.then){const t=()=>{};l=await l,t()}l.isProxied||(e.B=l.watchers,ht(l,e,2),l.isProxied=!0);const t=()=>{};n.h|=8;try{new l(n)}catch(t){Ht(t)}n.h&=-9,n.h|=128,t(),vt(n.T)}else l=t.constructor,customElements.whenDefined(e.M).then((()=>n.h|=128));if(l.style){let o=l.style;"string"!=typeof o&&(o=o[n.S=(t=>Jt.map((n=>n(t))).find((t=>!!t)))(t)]);const s=T(e,n.S);if(!Gt.has(s)){const t=()=>{};N(s,o,!!(1&e.h)),t()}}}const o=n.P,s=()=>lt(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(t,n,e)}l()}},pt=t=>{const n=t["s-cr"]=Qt.createComment("");n["s-cn"]=!0,t.insertBefore(n,t.firstChild)},bt=t=>{dt(t,"disconnectedCallback")},mt=t=>{const n=t.cloneNode;t.cloneNode=function(t){const e=this,l=e.shadowRoot&&tn,o=n.call(e,!!l&&t);if(!l&&t){let t,n,l=0;const s=["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"];for(;l!e.childNodes[l][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),n&&o.appendChild(e.childNodes[l].cloneNode(!0))}return o}},gt=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const n=t["s-sn"]=At(t),e=Et(this.childNodes,n);if(e){const l=Nt(e,n),o=l[l.length-1],s=o.parentNode.insertBefore(t,o.nextSibling);return X(this),s}return this.__appendChild(t)}},wt=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){if(t&&void 0!==t["s-sn"]){const n=Et(this.childNodes,t["s-sn"]);if(n){const e=Nt(n,t["s-sn"]).find((n=>n===t));if(e)return e.remove(),void X(this)}}return this.__removeChild(t)}},jt=t=>{const n=t.prepend;t.prepend=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const e=t["s-sn"]=At(t),l=Et(this.childNodes,e);if(l){const n=document.createTextNode("");n["s-nr"]=t,l["s-cr"].parentNode.__appendChild(n),t["s-ol"]=n;const o=Nt(l,e)[0];return o.parentNode.insertBefore(t,o.nextSibling)}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),n.call(this,t)}))}},kt=t=>{t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},Ot=t=>{const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const l=this.ownerDocument.createElement("_");let o;if(l.innerHTML=e,"afterbegin"===t)for(;o=l.firstChild;)this.prepend(o);else if("beforeend"===t)for(;o=l.firstChild;)this.append(o)}},xt=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},St=t=>{const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},Ct=t=>{const n=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(t,"__textContent",n),Object.defineProperty(t,"textContent",{get(){return" "+Rt(this.childNodes).map((t=>{var n,e;const l=[];let o=t.nextSibling;for(;o&&o["s-sn"]===t["s-sn"];)3!==o.nodeType&&1!==o.nodeType||l.push(null!==(e=null===(n=o.textContent)||void 0===n?void 0:n.trim())&&void 0!==e?e:""),o=o.nextSibling;return l.filter((t=>""!==t)).join(" ")})).filter((t=>""!==t)).join(" ")+" "},set(t){Rt(this.childNodes).forEach((n=>{let e=n.nextSibling;for(;e&&e["s-sn"]===n["s-sn"];){const t=e;e=e.nextSibling,t.remove()}if(""===n["s-sn"]){const e=this.ownerDocument.createTextNode(t);e["s-sn"]="",n.parentElement.insertBefore(e,n.nextSibling)}else n.remove()}))}})},Mt=(t,n)=>{class e extends Array{item(t){return this[t]}}if(8&n.h){const n=t.__lookupGetter__("childNodes");Object.defineProperty(t,"children",{get(){return this.childNodes.map((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get:()=>t.children.length}),Object.defineProperty(t,"childNodes",{get(){const t=n.call(this);if(!(1&Yt.h)&&2&_t(this).h){const n=new e;for(let e=0;e{const n=[];for(const e of Array.from(t))e["s-sr"]&&n.push(e),n.push(...Rt(e.childNodes));return n},At=t=>t["s-sn"]||1===t.nodeType&&t.getAttribute("slot")||"",Et=(t,n)=>{let e,l=0;for(;l{const e=[t];for(;(t=t.nextSibling)&&t["s-sn"]===n;)e.push(t);return e},Pt=(t,n={})=>{var e;const l=[],o=n.exclude||[],s=Kt.customElements,i=Qt.head,r=i.querySelector("meta[charset]"),c=Qt.createElement("style"),f=[],u=Qt.querySelectorAll(`[${a}]`);let d,h=!0,v=0;for(Object.assign(Yt,n),Yt.t=new URL(n.resourcesUrl||"./",Qt.baseURI).href,Yt.h|=2;v{t[1].map((n=>{var e;const i={h:n[0],M:n[1],F:n[2],V:n[3]};4&i.h&&(y=!0),i.F=n[2],i.V=n[3],i.U=[],i.B=null!==(e=n[4])&&void 0!==e?e:{};const r=i.M,c=class extends HTMLElement{constructor(t){super(t),Bt(t=this,i),1&i.h&&t.attachShadow({mode:"open",delegatesFocus:!!(16&i.h)})}connectedCallback(){d&&(clearTimeout(d),d=null),h?f.push(this):Yt.jmp((()=>yt(this)))}disconnectedCallback(){Yt.jmp((()=>(async()=>{if(!(1&Yt.h)){const t=_t(this);t.X&&(t.X.map((t=>t())),t.X=void 0),(null==t?void 0:t.T)?bt(t.T):(null==t?void 0:t.G)&&t.G.then((()=>bt(t.T)))}})()))}componentOnReady(){return _t(this).G}};2&i.h&&((t,n)=>{mt(t),gt(t),kt(t),jt(t),St(t),Ot(t),xt(t),Ct(t),Mt(t,n),wt(t)})(c.prototype,i),i.K=t[0],o.includes(r)||s.get(r)||(l.push(r),s.define(r,ht(c,i,1)))}))})),l.length>0&&(y&&(c.textContent+=$),c.textContent+=l+"{visibility:hidden}.hydrated{visibility:inherit}",c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!==(e=Yt.C)&&void 0!==e?e:p(Qt);null!=t&&c.setAttribute("nonce",t),i.insertBefore(c,r?r.nextSibling:i.firstChild)}h=!1,f.length?f.map((t=>t.connectedCallback())):Yt.jmp((()=>d=setTimeout(at,30)))},Tt=(t,n,e)=>{e&&e.map((([e,l,o])=>{const s=Dt(t,e),i=Lt(n,o),r=It(e);Yt.ael(s,l,i,r),(n.X=n.X||[]).push((()=>Yt.rel(s,l,i,r)))}))},Lt=(t,n)=>e=>{try{256&t.h?t.T[n](e):(t.L=t.L||[]).push([n,e])}catch(t){Ht(t)}},Dt=(t,n)=>4&n?Qt:8&n?Kt:16&n?Qt.body:t,It=t=>({passive:!!(1&t),capture:!!(2&t)}),Ut=t=>Yt.C=t,Wt=new WeakMap,_t=t=>Wt.get(t),Ft=(t,n)=>Wt.set(n.T=t,n),Bt=(t,n)=>{const e={h:0,$hostElement$:t,D:n,q:new Map};return e.H=new Promise((t=>e._=t)),e.G=new Promise((t=>e.W=t)),t["s-p"]=[],t["s-rc"]=[],Tt(t,e,n.V),Wt.set(t,e)},qt=(t,n)=>n in t,Ht=(t,n)=>(0,console.error)(t,n),Vt=new Map,zt=t=>{const n=t.M.replace(/-/g,"_"),e=t.K,l=Vt.get(e);return l?l[n]:import(`./${e}.entry.js`).then((t=>(Vt.set(e,t),t[n])),Ht) /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Gt=new Map,Jt=[],Kt="undefined"!=typeof window?window:{},Qt=Kt.document||{head:{}},Xt=Kt.HTMLElement||class{},Yt={h:0,t:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,l)=>t.addEventListener(n,e,l),rel:(t,n,e,l)=>t.removeEventListener(n,e,l),ce:(t,n)=>new CustomEvent(t,n)},Zt=t=>{Object.assign(Yt,t)},tn=!0,nn=t=>Promise.resolve(t),en=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),ln=[],on=[],sn=(t,n)=>e=>{t.push(e),r||(r=!0,n&&4&Yt.h?fn(cn):Yt.raf(cn))},rn=t=>{for(let n=0;n{rn(ln),rn(on),(r=ln.length>0)&&Yt.raf(cn)},fn=t=>nn().then(t),un=sn(ln,!1),an=sn(on,!0);export{c as B,Xt as H,Zt as a,Pt as b,S as c,R as d,un as e,g as f,C as g,b as h,M as i,ut as j,f as k,nn as p,Ft as r,Ut as s,an as w}