let e,t,n,l=!1,o=!1,s=!1,r=!1,i=0,c=!1;const a="undefined"!=typeof window?window:{},f=a.CSS,u=a.document||{head:{}},p={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)},d=(()=>(u.head.attachShadow+"").indexOf("[native")>-1)(),m=e=>Promise.resolve(e),w=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),$={},h=(e,t,n,l)=>{n&&(n=n.filter(l?([e])=>16&e:([e])=>!(16&e))).map(([n,l,o])=>{const s=b(e,n),r=y(t,o),i=v(n);p.ael(s,l,r,i),(t.o=t.o||[]).push(()=>p.rel(s,l,r,i))})},y=(e,t)=>n=>{256&e.t?e.s[t](n):(e.u=e.u||[]).push([t,n])},b=(e,t)=>4&t?u:8&t?a:32&t?u.body:16&t?e.parentElement:e,v=e=>0!=(2&e),g="http://www.w3.org/1999/xlink",_=new WeakMap,j=(e,t)=>"sc-"+(t?e+"-"+t:e),k=e=>ke.push(e),R=e=>$e(e).p,U={},M=e=>"object"==(e=typeof e)||"function"===e,O=(e,t,...n)=>{let l=null,o=null,s=null,r=!1,i=!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&&((r="function"!=typeof e&&!M(l))&&(l+=""),r&&i?c[c.length-1].$+=l:c.push(r?S(null,l):l),i=r)};if(a(n),t){t.key&&(o=t.key),t.name&&(s=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,L);const f=S(e,null);return f.h=t,c.length>0&&(f.v=c),f.g=o,f._=s,f},S=(e,t)=>({t:0,j:e,$:t,k:null,v:null,h:null,g:null,_:null}),C={},L={forEach:(e,t)=>e.map(P).forEach(t),map:(e,t)=>e.map(P).map(t).map(x)},P=e=>({vattrs:e.h,vchildren:e.v,vkey:e.g,vname:e._,vtag:e.j,vtext:e.$}),x=e=>{const t=S(e.vtag,e.vtext);return t.h=e.vattrs,t.v=e.vchildren,t.g=e.vkey,t._=e.vname,t},T=(e,t,n,l,o,s)=>{if(n!==l){let i=be(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=E(n),s=E(l);t.remove(...o.filter(e=>e&&!s.includes(e))),t.add(...s.filter(e=>e&&!o.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 a=M(l);if((i||a&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(r){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?f?e.removeAttributeNS(g,t):e.removeAttribute(t):(!i||4&s||o)&&!a&&(l=!0===l?"":l,f?e.setAttributeNS(g,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):be(a,c)?c.slice(2):c[2]+t.slice(3),n&&p.rel(e,t,n,!1),l&&p.ael(e,t,l,!1)}},W=/\s/,E=e=>e?e.split(W):[],A=(e,t,n,l)=>{const o=11===t.k.nodeType&&t.k.host?t.k.host:t.k,s=e&&e.h||U,r=t.h||U;for(l in s)l in r||T(o,l,s[l],void 0,n,t.t);for(l in r)T(o,l,s[l],r[l],n,t.t)},D=(o,i,c,a)=>{let f,p,d,m=i.v[c],w=0;if(l||(s=!0,"slot"===m.j&&(e&&a.classList.add(e+"-s"),m.t|=m.v?2:1)),null!==m.$)f=m.k=u.createTextNode(m.$);else if(1&m.t)f=m.k=u.createTextNode("");else{if(r||(r="svg"===m.j),f=m.k=u.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&m.t?"slot-fb":m.j),r&&"foreignObject"===m.j&&(r=!1),A(null,m,r),null!=e&&f["s-si"]!==e&&f.classList.add(f["s-si"]=e),m.v)for(w=0;w<m.v.length;++w)p=D(o,m,w,f),p&&f.appendChild(p);"svg"===m.j?r=!1:"foreignObject"===f.tagName&&(r=!0)}return f["s-hn"]=n,3&m.t&&(f["s-sr"]=!0,f["s-cr"]=t,f["s-sn"]=m._||"",d=o&&o.v&&o.v[c],d&&d.j===m.j&&o.k&&F(o.k,!1)),f},F=(e,t)=>{p.t|=1;const l=e.childNodes;for(let o=l.length-1;o>=0;o--){const e=l[o];e["s-hn"]!==n&&e["s-ol"]&&(V(e).insertBefore(e,B(e)),e["s-ol"].remove(),e["s-ol"]=void 0,s=!0),t&&F(e,t)}p.t&=-2},q=(e,t,l,o,s,r)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=r;++s)o[s]&&(i=D(null,l,s,e),i&&(o[s].k=i,c.insertBefore(i,B(t))))},H=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.k,Q(l),o=!0,s["s-ol"]?s["s-ol"].remove():F(s,!0),s.remove())},N=(e,t)=>e.j===t.j&&("slot"===e.j?e._===t._:e.g===t.g),B=e=>e&&e["s-ol"]||e,V=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,z=(e,t)=>{const n=t.k=e.k,l=e.v,o=t.v,s=t.j,i=t.$;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||A(e,t,r),null!==l&&null!==o?((e,t,n,l)=>{let o,s,r=0,i=0,c=0,a=0,f=t.length-1,u=t[0],p=t[f],d=l.length-1,m=l[0],w=l[d];for(;r<=f&&i<=d;)if(null==u)u=t[++r];else if(null==p)p=t[--f];else if(null==m)m=l[++i];else if(null==w)w=l[--d];else if(N(u,m))z(u,m),u=t[++r],m=l[++i];else if(N(p,w))z(p,w),p=t[--f],w=l[--d];else if(N(u,w))"slot"!==u.j&&"slot"!==w.j||F(u.k.parentNode,!1),z(u,w),e.insertBefore(u.k,p.k.nextSibling),u=t[++r],w=l[--d];else if(N(p,m))"slot"!==u.j&&"slot"!==w.j||F(p.k.parentNode,!1),z(p,m),e.insertBefore(p.k,u.k),p=t[--f],m=l[++i];else{for(c=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].g&&t[a].g===m.g){c=a;break}c>=0?(s=t[c],s.j!==m.j?o=D(t&&t[i],n,c,e):(z(s,m),t[c]=void 0,o=s.k),m=l[++i]):(o=D(t&&t[i],n,i,e),m=l[++i]),o&&V(u.k).insertBefore(o,B(u.k))}r>f?q(e,null==l[d+1]?null:l[d+1].k,n,l,i,d):i>d&&H(t,r,f)})(n,l,t,o):null!==o?(null!==e.$&&(n.textContent=""),q(n,null,t,o,0,o.length-1)):null!==l&&H(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.$!==i&&(n.data=i)},G=e=>{let t,n,l,o,s,r,i=e.childNodes;for(n=0,l=i.length;n<l;n++)if(t=i[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(i[o]["s-hn"]!==t["s-hn"])if(r=i[o].nodeType,""!==s){if(1===r&&s===i[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===r||3===r&&""!==i[o].textContent.trim()){t.hidden=!0;break}G(t)}},I=[],J=e=>{let t,n,l,s,r,i,c=0,a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"]))for(l=n.parentNode.childNodes,s=t["s-sn"],i=l.length-1;i>=0;i--)n=l[i],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(r=I.find(e=>e.R===n),o=!0,n["s-sn"]=n["s-sn"]||s,r?r.U=t:I.push({U:t,R:n}),n["s-sr"]&&I.map(e=>{K(e.R,n["s-sn"])&&(r=I.find(e=>e.R===n),r&&!e.U&&(e.U=r.U))})):I.some(e=>e.R===n)||I.push({R:n}));1===t.nodeType&&J(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Q=e=>{e.h&&e.h.ref&&e.h.ref(null),e.v&&e.v.map(Q)},X=e=>$e(e).M,Y=(e,t,n)=>{const l=X(e);return{emit:e=>Z(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},Z=(e,t,n)=>{const l=new CustomEvent(t,n);return e.dispatchEvent(l),l},ee=(e,t)=>{t&&!e.O&&t["s-p"].push(new Promise(t=>e.O=t))},te=(e,t)=>{if(e.t|=16,4&e.t)return void(e.t|=512);const n=e.s,l=()=>ne(e,n,t);let o;return ee(e,e.S),t?(e.t|=256,e.u&&(e.u.map(([e,t])=>re(n,e,t)),e.u=null),o=re(n,"componentWillLoad")):o=re(n,"componentWillUpdate"),o=ie(o,()=>re(n,"componentWillRender")),ie(o,()=>xe(l))},ne=(r,i,c)=>{const a=r.M,f=a["s-rc"];c&&(e=>{const t=e.C,n=e.M,l=t.t,o=((e,t,n)=>{let l=j(t.L,n),o=je.get(l);if(e=11===e.nodeType?e:u,o||(l=j(t.L),o=je.get(l)),o)if("string"==typeof o){let t,n=_.get(e=e.head||e);n||_.set(e,n=new Set),n.has(l)||(t=u.createElement("style"),t.innerHTML=o,e.insertBefore(t,e.querySelector("link")),n&&n.add(l))}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(d&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.p);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(r),((r,i)=>{const c=r.M,a=r.C,f=r.P||S(null,null),m=(e=>e&&e.j===C)(i)?i:O(null,null,i);if(n=c.tagName,a.T&&(m.h=m.h||{},a.T.map(([e,t])=>m.h[t]=c[e])),m.j=null,m.t|=4,r.P=m,m.k=f.k=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],l=d&&0!=(1&a.t),o=!1,z(f,m),p.t|=1,s){let e,t,n,l,o,s;J(m.k);let r=0;for(;r<I.length;r++)e=I[r],t=e.R,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(r=0;r<I.length;r++)if(e=I[r],t=e.R,e.U){for(l=e.U.parentNode,o=e.U.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&G(m.k),p.t&=-2,I.length=0})(r,le(i)),r.t&=-17,r.t|=2,f&&(f.map(e=>e()),a["s-rc"]=void 0);{const e=a["s-p"],t=()=>oe(r);0===e.length?t():(Promise.all(e).then(t),r.t|=4,e.length=0)}},le=e=>{try{e=e.render&&e.render()}catch(t){ve(t)}return e},oe=e=>{const t=e.M,n=e.s,l=e.S;64&e.t?re(n,"componentDidUpdate"):(e.t|=64,ce(t),re(n,"componentDidLoad"),e.W(t),l||se()),e.A(t),e.O&&(e.O(),e.O=void 0),512&e.t&&Le(()=>te(e,!1)),e.t&=-517},se=()=>{ce(u.documentElement),p.t|=2,Le(()=>Z(a,"appload",{detail:{namespace:"resourceville"}}))},re=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(l){ve(l)}},ie=(e,t)=>e&&e.then?e.then(t):t(),ce=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{if(t.D){e.watchers&&(t.F=e.watchers);const l=Object.entries(t.D),o=e.prototype;if(l.map(([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>$e(this).q.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=$e(this),s=o.q.get(t),r=o.t,i=o.s;if(n=((e,t)=>null==e||M(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.D[t][0]),!(8&r&&void 0!==s||n===s)&&(o.q.set(t,n),i)){if(l.F&&128&r){const e=l.F[t];e&&e.map(e=>{try{i[e](n,s,t)}catch(l){ve(l)}})}2==(18&r)&&te(o,!1)}})(0,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){const n=$e(this);return n.H.then(()=>n.s[e](...t))}})}),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){p.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 o=l[1]||e;return n.set(o,e),512&l[0]&&t.T.push([e,o]),o})}}return e},fe=e=>{re(e,"connectedCallback")},ue=(e,t={})=>{const n=[],l=t.exclude||[],o=a.customElements,s=u.head,r=s.querySelector("meta[charset]"),i=u.createElement("style"),c=[];let f,m=!0;Object.assign(p,t),p.l=new URL(t.resourcesUrl||"./",u.baseURI).href,t.syncQueue&&(p.t|=4),e.map(e=>e[1].map(t=>{const s={t:t[0],L:t[1],D:t[2],N:t[3]};s.D=t[2],s.N=t[3],s.T=[],s.F={},!d&&1&s.t&&(s.t|=8);const r=s.L,i=class extends HTMLElement{constructor(e){super(e),ye(e=this,s),1&s.t&&(d?e.attachShadow({mode:"open"}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){f&&(clearTimeout(f),f=null),m?c.push(this):p.jmp(()=>(e=>{if(0==(1&p.t)){const t=$e(e),n=t.C,l=()=>{};if(h(e,t,n.N,!0),1&t.t)h(e,t,n.N,!1),fe(t.s);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ee(t,t.S=n);break}}n.D&&Object.entries(n.D).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),Le(()=>(async(e,t,n,l,o)=>{if(0==(32&t.t)){t.t|=32,null==t.p&&(t.p="string"!=typeof n.B?(e=>ke.map(t=>t(e)).find(e=>!!e))(e):"");{if((o=_e(n,t)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.F=o.watchers,ae(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(i){ve(i)}t.t&=-9,t.t|=128,e(),fe(t.s)}const l=j(n.L,t.p);if(!je.has(l)&&o.style){const e=()=>{};let s=o.style;"string"!=typeof s&&(s=s[t.p]),8&n.t&&(s=await __sc_import_resourceville("./p-f40f26f5.js").then(e=>e.scopeCss(s,l,!1))),((e,t,n)=>{let l=je.get(e);w&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,je.set(e,l)})(l,s,!!(1&n.t)),e()}}const s=t.S,r=()=>te(t,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(e,t,n))}l()}})(this))}disconnectedCallback(){p.jmp(()=>(()=>{if(0==(1&p.t)){const e=$e(this),t=e.s;e.o&&(e.o.map(e=>e()),e.o=void 0),re(t,"disconnectedCallback"),re(t,"componentDidUnload")}})())}forceUpdate(){(()=>{{const e=$e(this);e.M.isConnected&&2==(18&e.t)&&te(e,!1)}})()}componentOnReady(){return $e(this).V}};s.B=e[0],l.includes(r)||o.get(r)||(n.push(r),o.define(r,ae(i,s,1)))})),i.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",i.setAttribute("data-styles",""),s.insertBefore(i,r?r.nextSibling:s.firstChild),m=!1,c.length?c.map(e=>e.connectedCallback()):p.jmp(()=>f=setTimeout(se,30))},pe=e=>{const t=new URL(e,p.l);return t.origin!==a.location.origin?t.href:t.pathname},de=(e,t)=>{const n=()=>{let e=u.querySelector(t);return e||(e=u.createElement(t),u.body.appendChild(e)),"function"==typeof e.componentOnReady?e.componentOnReady():Promise.resolve(e)};return{create:(...e)=>n().then(t=>t.create(...e)),componentOnReady:n}},me=(e,t)=>t in $?$[t]:"window"===t?a:"document"===t?u:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?pe("."):"queue"===t?{write:xe,read:Pe,tick:{then:e=>Le(e)}}:void 0)),we=new WeakMap,$e=e=>we.get(e),he=(e,t)=>we.set(t.s=e,t),ye=(e,t)=>{const n={t:0,M:e,C:t,q:new Map};return n.H=new Promise(e=>n.A=e),n.V=new Promise(e=>n.W=e),e["s-p"]=[],e["s-rc"]=[],h(e,n,t.N,!1),we.set(e,n)},be=(e,t)=>t in e,ve=e=>console.error(e),ge=new Map,_e=(e,t)=>{const n=e.L.replace(/-/g,"_"),l="string"!=typeof e.B?e.B[t.p]:e.B,o=ge.get(l);return o?o[n]:__sc_import_resourceville(`./${l}.entry.js`).then(e=>(ge.set(l,e),e[n]),ve)},je=new Map,ke=[],Re=[],Ue=[],Me=[],Oe=(e,t)=>n=>{e.push(n),c||(c=!0,t&&4&p.t?Le(Ce):p.raf(Ce))},Se=(e,t)=>{let n=0,l=0;for(;n<e.length&&(l=performance.now())<t;)try{e[n++](l)}catch(o){ve(o)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},Ce=()=>{i++,(e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){ve(t)}e.length=0})(Re);{const e=2==(6&p.t)?performance.now()+14*Math.ceil(.1*i):1/0;Se(Ue,e),Se(Me,e),Ue.length>0&&(Me.push(...Ue),Ue.length=0),(c=Re.length+Ue.length+Me.length>0)?p.raf(Ce):i=0}},Le=e=>m().then(e),Pe=Oe(Re,!1),xe=Oe(Ue,!0),Te=()=>f&&f.supports&&f.supports("color","var(--c)")?m():__sc_import_resourceville("./p-e75178b0.js").then(()=>(p.G=a.__cssshim)?(!1).i():0),We=()=>{p.G=a.__cssshim;const e=Array.from(u.querySelectorAll("script")).find(e=>/\/resourceville(\.esm)?\.js($|\?|#)/.test(e.src)||"resourceville"===e.getAttribute("data-stencil-namespace")),t=e["data-opts"]||{};return"onbeforeload"in e&&!history.scrollRestoration?{then(){}}:(t.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,a.location.href)).href,Ee(t.resourcesUrl,e),a.customElements?m(t):__sc_import_resourceville("./p-50baaf6b.js").then(()=>t))},Ee=(e,t)=>{try{a.__sc_import_resourceville=Function("w","return import(w);//"+Math.random())}catch(n){const l=new Map;a.__sc_import_resourceville=n=>{const o=new URL(n,e).href;let s=l.get(o);if(!s){const e=u.createElement("script");e.type="module",e.crossOrigin=t.crossOrigin,e.src=URL.createObjectURL(new Blob([`import * as m from '${o}'; window.__sc_import_resourceville.m = m;`],{type:"application/javascript"})),s=new Promise(t=>{e.onload=()=>{t(a.__sc_import_resourceville.m),e.remove()}}),l.set(o,s),u.head.appendChild(e)}return s}}};export{$ as C,C as H,Te as a,ue as b,Y as c,de as d,me as e,X as f,R as g,O as h,Pe as i,pe as j,We as p,he as r,k as s,xe as w}