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