let e,t,n,l=!1,s=!1,o=!1,i=!1,r=null,c=!1;const a="undefined"!=typeof window?window:{},f=a.document||{head:{}},u={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},d=e=>Promise.resolve(e),$=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),p=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=h(e,n),i=y(t,s),r=w(n);u.ael(o,l,i,r),(t.o=t.o||[]).push((()=>u.rel(o,l,i,r)))}))},y=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){me(e)}},h=(e,t)=>4&t?f:8&t?a:16&t?f.body:e,w=e=>0!=(2&e),m="http://www.w3.org/1999/xlink",b=new WeakMap,g=(e,t)=>"sc-"+(t&&32&e.t?e.$+"-"+t:e.$),v=e=>ke.push(e),k=e=>pe(e).p,j={},S=e=>"object"==(e=typeof e)||"function"===e,O=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,r=!1,c=[];const a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!S(l))&&(l+=""),i&&r?c[c.length-1].h+=l:c.push(i?C(null,l):l),r=i)};if(a(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,x);const f=C(e,null);return f.m=t,c.length>0&&(f.g=c),f.v=s,f.k=o,f},C=(e,t)=>({t:0,j:e,h:t,S:null,g:null,m:null,v:null,k:null}),M={},x={forEach:(e,t)=>e.map(R).forEach(t),map:(e,t)=>e.map(R).map(t).map(T)},R=e=>({vattrs:e.m,vchildren:e.g,vkey:e.v,vname:e.k,vtag:e.j,vtext:e.h}),T=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),O(e.vtag,t,...e.vchildren||[])}const t=C(e.vtag,e.vtext);return t.m=e.vattrs,t.g=e.vchildren,t.v=e.vkey,t.k=e.vname,t},L=(e,t,n,l,s,o)=>{if(n!==l){let i=we(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,s=E(n),o=E(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=S(l);if((i||c&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(m,t):e.removeAttribute(t)):(!i||4&o||s)&&!c&&(l=!0===l?"":l,a?e.setAttributeNS(m,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):we(a,r)?r.slice(2):r[2]+t.slice(3),n&&u.rel(e,t,n,!1),l&&u.ael(e,t,l,!1)}},P=/\s/,E=e=>e?e.split(P):[],U=(e,t,n,l)=>{const s=11===t.S.nodeType&&t.S.host?t.S.host:t.S,o=e&&e.m||j,i=t.m||j;for(l in o)l in i||L(s,l,o[l],void 0,n,t.t);for(l in i)L(s,l,o[l],i[l],n,t.t)},W=(s,r,c,a)=>{let u,d,$,p=r.g[c],y=0;if(l||(o=!0,"slot"===p.j&&(e&&a.classList.add(e+"-s"),p.t|=p.g?2:1)),null!==p.h)u=p.S=f.createTextNode(p.h);else if(1&p.t)u=p.S=f.createTextNode("");else{if(i||(i="svg"===p.j),u=p.S=f.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.j),i&&"foreignObject"===p.j&&(i=!1),U(null,p,i),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),p.g)for(y=0;y<p.g.length;++y)d=W(s,p,y,u),d&&u.appendChild(d);"svg"===p.j?i=!1:"foreignObject"===u.tagName&&(i=!0)}return u["s-hn"]=n,3&p.t&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=p.k||"",$=s&&s.g&&s.g[c],$&&$.j===p.j&&s.S&&D(s.S,!1)),u},D=(e,t)=>{u.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const s=l[e];s["s-hn"]!==n&&s["s-ol"]&&(N(s).insertBefore(s,H(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),t&&D(s,t)}u.t&=-2},F=(e,t,l,s,o,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);o<=i;++o)s[o]&&(r=W(null,l,o,e),r&&(s[o].S=r,c.insertBefore(r,H(t))))},A=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.S,I(l),s=!0,o["s-ol"]?o["s-ol"].remove():D(o,!0),o.remove())},B=(e,t)=>e.j===t.j&&("slot"===e.j?e.k===t.k:e.v===t.v),H=e=>e&&e["s-ol"]||e,N=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,q=(e,t)=>{const n=t.S=e.S,l=e.g,s=t.g,o=t.j,r=t.h;let c;null===r?(i="svg"===o||"foreignObject"!==o&&i,"slot"===o||U(e,t,i),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,r=0,c=0,a=0,f=t.length-1,u=t[0],d=t[f],$=l.length-1,p=l[0],y=l[$];for(;i<=f&&r<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++r];else if(null==y)y=l[--$];else if(B(u,p))q(u,p),u=t[++i],p=l[++r];else if(B(d,y))q(d,y),d=t[--f],y=l[--$];else if(B(u,y))"slot"!==u.j&&"slot"!==y.j||D(u.S.parentNode,!1),q(u,y),e.insertBefore(u.S,d.S.nextSibling),u=t[++i],y=l[--$];else if(B(d,p))"slot"!==u.j&&"slot"!==y.j||D(d.S.parentNode,!1),q(d,p),e.insertBefore(d.S,u.S),d=t[--f],p=l[++r];else{for(c=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].v&&t[a].v===p.v){c=a;break}c>=0?(o=t[c],o.j!==p.j?s=W(t&&t[r],n,c,e):(q(o,p),t[c]=void 0,s=o.S),p=l[++r]):(s=W(t&&t[r],n,r,e),p=l[++r]),s&&N(u.S).insertBefore(s,H(u.S))}i>f?F(e,null==l[$+1]?null:l[$+1].S,n,l,r,$):r>$&&A(t,i,f)})(n,l,t,s):null!==s?(null!==e.h&&(n.textContent=""),F(n,null,t,s,0,s.length-1)):null!==l&&A(l,0,l.length-1),i&&"svg"===o&&(i=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:e.h!==r&&(n.data=r)},V=e=>{let t,n,l,s,o,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(o=t["s-sn"],t.hidden=!1,s=0;s<l;s++)if(i=r[s].nodeType,r[s]["s-hn"]!==t["s-hn"]||""!==o){if(1===i&&o===r[s].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[s].textContent.trim()){t.hidden=!0;break}V(t)}},_=[],z=e=>{let t,n,l,o,i,r,c=0,a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,o=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(G(n,o)?(i=_.find((e=>e.O===n)),s=!0,n["s-sn"]=n["s-sn"]||o,i?i.C=t:_.push({C:t,O:n}),n["s-sr"]&&_.map((e=>{G(e.O,n["s-sn"])&&(i=_.find((e=>e.O===n)),i&&!e.C&&(e.C=i.C))}))):_.some((e=>e.O===n))||_.push({O:n}));1===t.nodeType&&z(t)}},G=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,I=e=>{e.m&&e.m.ref&&e.m.ref(null),e.g&&e.g.map(I)},J=e=>pe(e).M,K=(e,t,n)=>{const l=J(e);return{emit:e=>Q(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},Q=(e,t,n)=>{const l=u.ce(t,n);return e.dispatchEvent(l),l},X=(e,t)=>{t&&!e.R&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.R=t)))},Y=(e,t)=>{if(e.t|=16,!(4&e.t))return X(e,e.T),Te((()=>Z(e,t)));e.t|=512},Z=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>ie(n,e,t))),e.u=null),l=ie(n,"componentWillLoad")),l=re(l,(()=>ie(n,"componentWillRender"))),re(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.M,s=l["s-rc"];n&&(e=>{const t=e.L,n=e.M,l=t.t,s=((e,t,n)=>{let l=g(t,n),s=ve.get(l);if(e=11===e.nodeType?e:f,s)if("string"==typeof s){let t,n=b.get(e=e.head||e);n||b.set(e,n=new Set),n.has(l)||(t=f.createElement("style"),t.innerHTML=s,e.insertBefore(t,e.querySelector("link")),n&&n.add(l))}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.p);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},te=(i,c)=>{try{r=c,c=c.render&&c.render(),i.t&=-17,i.t|=2,((i,r)=>{const c=i.M,a=i.L,d=i.P||C(null,null),$=(e=>e&&e.j===M)(r)?r:O(null,null,r);if(n=c.tagName,a.U&&($.m=$.m||{},a.U.map((([e,t])=>$.m[t]=c[e]))),$.j=null,$.t|=4,i.P=$,$.S=d.S=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],l=0!=(1&a.t),s=!1,q(d,$),u.t|=1,o){let e,t,n,l,s,o;z($.S);let i=0;for(;i<_.length;i++)e=_[i],t=e.O,t["s-ol"]||(n=f.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<_.length;i++)if(e=_[i],t=e.O,e.C){for(l=e.C.parentNode,s=e.C.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}s&&V($.S),u.t&=-2,_.length=0})(i,c)}catch(e){me(e,i.M)}return r=null,null},ne=()=>r,le=e=>{const t=e.M,n=e.i,l=e.T;64&e.t?ie(n,"componentDidUpdate"):(e.t|=64,ce(t),ie(n,"componentDidLoad"),e.W(t),l||oe()),e.D(t),e.R&&(e.R(),e.R=void 0),512&e.t&&xe((()=>Y(e,!1))),e.t&=-517},se=e=>{{const t=pe(e),n=t.M.isConnected;return n&&2==(18&t.t)&&Y(t,!1),n}},oe=()=>{ce(f.documentElement),xe((()=>Q(a,"appload",{detail:{namespace:"app"}})))},ie=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){me(e)}},re=(e,t)=>e&&e.then?e.then(t):t(),ce=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{if(t.F){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.F),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>pe(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=pe(e),o=s.M,i=s.B.get(t),r=s.t,c=s.i;if(n=((e,t)=>null==e||S(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),!(8&r&&void 0!==i||n===i)&&(s.B.set(t,n),c)){if(l.A&&128&r){const e=l.A[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){me(e,o)}}))}2==(18&r)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=pe(this);return n.H.then((()=>n.i[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){u.jmp((()=>{const t=n.get(e);this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.U.push([e,s]),s}))}}return e},fe=e=>{ie(e,"connectedCallback")},ue=(e,t={})=>{const n=[],l=t.exclude||[],s=a.customElements,o=f.head,i=o.querySelector("meta[charset]"),r=f.createElement("style"),c=[];let d,y=!0;Object.assign(u,t),u.l=new URL(t.resourcesUrl||"./",f.baseURI).href,e.map((e=>e[1].map((t=>{const o={t:t[0],$:t[1],F:t[2],N:t[3]};o.F=t[2],o.N=t[3],o.U=[],o.A={};const i=o.$,r=class extends HTMLElement{constructor(e){super(e),he(e=this,o),1&o.t&&e.attachShadow({mode:"open",delegatesFocus:!!(16&o.t)})}connectedCallback(){d&&(clearTimeout(d),d=null),y?c.push(this):u.jmp((()=>(e=>{if(0==(1&u.t)){const t=pe(e),n=t.L,l=()=>{};if(1&t.t)p(e,t,n.N),fe(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=f.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.T=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=ge(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,ae(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){me(e)}t.t&=-9,t.t|=128,e(),fe(t.i)}if(s.style){let l=s.style;"string"!=typeof l&&(l=l[t.p=(e=>ke.map((t=>t(e))).find((e=>!!e)))(e)]);const o=g(n,t.p);if(!ve.has(o)){const e=()=>{};((e,t,n)=>{let l=ve.get(e);$&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,ve.set(e,l)})(o,l,!!(1&n.t)),e()}}}const o=t.T,i=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(e,t,n)}l()}})(this)))}disconnectedCallback(){u.jmp((()=>(()=>{if(0==(1&u.t)){const e=pe(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),ie(t,"disconnectedCallback")}})()))}componentOnReady(){return pe(this).q}};o.V=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,ae(r,o,1)))})))),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,i?i.nextSibling:o.firstChild),y=!1,c.length?c.map((e=>e.connectedCallback())):u.jmp((()=>d=setTimeout(oe,30)))},de=e=>{const t=new URL(e,u.l);return t.origin!==a.location.origin?t.href:t.pathname},$e=new WeakMap,pe=e=>$e.get(e),ye=(e,t)=>$e.set(t.i=e,t),he=(e,t)=>{const n={t:0,M:e,L:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],p(e,n,t.N),$e.set(e,n)},we=(e,t)=>t in e,me=(e,t)=>(0,console.error)(e,t),be=new Map,ge=e=>{const t=e.$.replace(/-/g,"_"),n=e.V,l=be.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(be.set(n,e),e[t])),me)},ve=new Map,ke=[],je=[],Se=[],Oe=(e,t)=>n=>{e.push(n),c||(c=!0,t&&4&u.t?xe(Me):u.raf(Me))},Ce=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){me(e)}e.length=0},Me=()=>{Ce(je),Ce(Se),(c=je.length>0)&&u.raf(Me)},xe=e=>d().then(e),Re=Oe(je,!1),Te=Oe(Se,!0),Le={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1};export{Le as B,M as H,ne as a,ue as b,J as c,K as d,Re as e,se as f,k as g,O as h,de as i,d as p,ye as r,v as s,Te as w}