@qwik.dev/core 2.0.0-beta.3 → 2.0.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backpatch/index.d.ts +2 -0
- package/dist/backpatch/index.mjs +5 -0
- package/dist/backpatch/package.json +8 -0
- package/dist/backpatch-executor.debug.js +39 -0
- package/dist/backpatch-executor.js +1 -0
- package/dist/build/package.json +1 -1
- package/dist/cli.mjs +12916 -0
- package/dist/core-internal.d.ts +1077 -707
- package/dist/core.min.mjs +2 -1
- package/dist/core.mjs +11616 -8673
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.mjs +8266 -5225
- package/dist/insights/index.qwik.mjs +80 -57
- package/dist/loader/index.mjs +2 -2
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.d.ts +47 -278
- package/dist/optimizer.mjs +2403 -3791
- package/dist/preloader.mjs +5 -8
- package/dist/qwikloader.debug.js +156 -131
- package/dist/qwikloader.js +1 -1
- package/dist/server.d.ts +51 -203
- package/dist/server.mjs +1418 -1088
- package/dist/server.prod.mjs +3264 -0
- package/dist/starters/adapters/aws-lambda/adapters/aws-lambda/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/aws-lambda/package.json +3 -2
- package/dist/starters/adapters/aws-lambda/src/entry_aws-lambda.tsx +2 -6
- package/dist/starters/adapters/azure-swa/adapters/azure-swa/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/azure-swa/package.json +3 -2
- package/dist/starters/adapters/azure-swa/src/entry.azure-swa.tsx +2 -3
- package/dist/starters/adapters/bun/adapters/bun/{vite.config.mts → vite.config.ts} +3 -3
- package/dist/starters/adapters/bun/package.json +3 -2
- package/dist/starters/adapters/bun/src/entry.bun.ts +0 -2
- package/dist/starters/adapters/cloud-run/adapters/cloud-run/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/cloud-run/package.json +3 -2
- package/dist/starters/adapters/cloud-run/src/entry.cloud-run.tsx +1 -3
- package/dist/starters/adapters/cloudflare-pages/adapters/cloudflare-pages/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/cloudflare-pages/package.json +3 -2
- package/dist/starters/adapters/cloudflare-pages/src/entry.cloudflare-pages.tsx +2 -3
- package/dist/starters/adapters/cloudflare-workers/README.md +52 -0
- package/dist/starters/adapters/cloudflare-workers/adapters/cloudflare-workers/vite.config.ts +15 -0
- package/dist/starters/adapters/cloudflare-workers/gitignore +3 -0
- package/dist/starters/adapters/cloudflare-workers/package.json +31 -0
- package/dist/starters/adapters/cloudflare-workers/public/.assetsignore +4 -0
- package/dist/starters/adapters/cloudflare-workers/public/_headers +11 -0
- package/dist/starters/adapters/cloudflare-workers/public/_redirects +1 -0
- package/dist/starters/adapters/cloudflare-workers/src/entry.cloudflare-pages.tsx +23 -0
- package/dist/starters/adapters/cloudflare-workers/worker-configuration.d.ts +5 -0
- package/dist/starters/adapters/cloudflare-workers/wrangler.jsonc +41 -0
- package/dist/starters/adapters/deno/adapters/deno/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/deno/package.json +3 -2
- package/dist/starters/adapters/deno/src/entry.deno.ts +0 -2
- package/dist/starters/adapters/express/adapters/express/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/express/package.json +4 -3
- package/dist/starters/adapters/express/src/entry.express.tsx +1 -3
- package/dist/starters/adapters/fastify/adapters/fastify/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/fastify/package.json +4 -3
- package/dist/starters/adapters/fastify/src/entry.fastify.tsx +1 -1
- package/dist/starters/adapters/fastify/src/plugins/fastify-qwik.ts +1 -2
- package/dist/starters/adapters/firebase/adapters/firebase/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/firebase/package.json +3 -2
- package/dist/starters/adapters/firebase/src/entry-firebase.tsx +2 -3
- package/dist/starters/adapters/netlify-edge/adapters/netlify-edge/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/netlify-edge/package.json +5 -4
- package/dist/starters/adapters/netlify-edge/src/entry.netlify-edge.tsx +2 -3
- package/dist/starters/adapters/node-server/adapters/node-server/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/node-server/package.json +3 -2
- package/dist/starters/adapters/node-server/src/entry.node-server.tsx +0 -2
- package/dist/starters/adapters/{static/adapters/static/vite.config.mts → ssg/adapters/ssg/vite.config.ts} +3 -3
- package/dist/starters/adapters/ssg/package.json +20 -0
- package/dist/starters/adapters/vercel-edge/README.md +2 -2
- package/dist/starters/adapters/vercel-edge/adapters/vercel-edge/{vite.config.mts → vite.config.ts} +2 -2
- package/dist/starters/adapters/vercel-edge/package.json +3 -2
- package/dist/starters/adapters/vercel-edge/src/entry.vercel-edge.tsx +2 -3
- package/dist/starters/adapters/vercel-edge/vercel.json +1 -1
- package/dist/starters/features/auth/package.json +1 -1
- package/dist/starters/features/compiled-i18n/package.json +37 -0
- package/dist/starters/features/compiled-i18n/src/components/locale-selector/locale-selector.tsx +30 -0
- package/dist/starters/features/compiled-i18n/src/entry.ssr.tsx +31 -0
- package/dist/starters/features/compiled-i18n/src/routes/plugin@compiled-i18n.ts +28 -0
- package/dist/starters/features/csr/index.html +27 -0
- package/dist/starters/features/csr/package.json +29 -0
- package/dist/starters/features/csr/src/root.tsx +15 -0
- package/dist/starters/features/csr/vite.config.ts +13 -0
- package/dist/starters/features/cypress/src/actions/example.action.ts +5 -0
- package/dist/starters/features/cypress/src/components/example/example.cy.tsx +50 -8
- package/dist/starters/features/cypress/src/components/example/example.tsx +13 -3
- package/dist/starters/features/cypress/src/loaders/example.loader.ts +5 -0
- package/dist/starters/features/pandacss/package.json +1 -1
- package/dist/starters/features/postcss/postcss.config.js +1 -1
- package/dist/starters/features/storybook/.storybook/tsconfig.json +0 -1
- package/dist/starters/features/styled-vanilla-extract/package.json +2 -1
- package/dist/starters/features/tailwind/package.json +2 -2
- package/dist/starters/features/tailwind/prettier.config.js +10 -0
- package/dist/starters/features/tailwind-v3/package.json +1 -1
- package/dist/starters/features/tailwind-v3/prettier.config.js +10 -0
- package/dist/testing/index.d.ts +925 -6
- package/dist/testing/index.mjs +15796 -11480
- package/dist/testing/package.json +1 -1
- package/handlers.mjs +1 -1
- package/package.json +34 -56
- package/public.d.ts +5 -1
- package/{qwik-cli.cjs → qwik-cli.mjs} +1 -1
- package/server.d.ts +2 -0
- package/bindings/qwik.darwin-arm64.node +0 -0
- package/bindings/qwik.darwin-x64.node +0 -0
- package/bindings/qwik.linux-x64-gnu.node +0 -0
- package/bindings/qwik.wasm.cjs +0 -471
- package/bindings/qwik.wasm.mjs +0 -464
- package/bindings/qwik.win32-x64-msvc.node +0 -0
- package/bindings/qwik_wasm_bg.wasm +0 -0
- package/dist/build/index.cjs +0 -35
- package/dist/build/index.cjs.map +0 -7
- package/dist/build/index.dev.cjs +0 -37
- package/dist/build/index.dev.cjs.map +0 -7
- package/dist/build/index.prod.cjs +0 -37
- package/dist/build/index.prod.cjs.map +0 -7
- package/dist/cli.cjs +0 -5545
- package/dist/core.cjs +0 -11800
- package/dist/core.cjs.map +0 -1
- package/dist/core.prod.cjs +0 -5661
- package/dist/insights/index.qwik.cjs +0 -1
- package/dist/insights/vite/index.cjs +0 -1
- package/dist/loader/index.cjs +0 -4
- package/dist/optimizer.cjs +0 -4020
- package/dist/preloader.cjs +0 -269
- package/dist/server.cjs +0 -3037
- package/dist/starters/adapters/static/package.json +0 -19
- package/dist/starters/features/localize/package.json +0 -37
- package/dist/starters/features/localize/src/entry.ssr.tsx +0 -30
- package/dist/starters/features/localize/src/locales/message.en.json +0 -8
- package/dist/starters/features/localize/src/locales/message.it.json +0 -8
- package/dist/starters/features/localize/src/routes/[locale]/i18n-utils.ts +0 -94
- package/dist/starters/features/localize/src/routes/[locale]/index.tsx +0 -52
- package/dist/starters/features/localize/src/routes/[locale]/layout.tsx +0 -12
- package/dist/starters/features/playwright/playwright-report/index.html +0 -22026
- package/dist/starters/features/tailwind/.prettierrc.js +0 -3
- package/dist/testing/index.cjs +0 -33331
- /package/dist/starters/adapters/{static → ssg}/README.md +0 -0
package/dist/core.min.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{p as t}from"@qwik.dev/core/preloader";const n=!1,e=!0,r=!1,o=(t,n,...e)=>{const r=n instanceof Error?n:new Error(n);return console.error("%cQWIK ERROR","",r.message,...e,r.stack),t&&setTimeout(()=>{throw r},0),r},s=(t,n=[])=>{const e=(t=>`Code(Q${t}) https://github.com/QwikDev/qwik/blob/main/packages/qwik/src/core/error/error.ts#L${8+t}`)(t,...n);return((t,...n)=>o(false,t,...n))(e,...n)},l="<sync>",i=t=>"function"==typeof t&&"function"==typeof t.getSymbol,u="q:renderFn",c="⚡️",f="q:slot",a="q:sparent",h="q:s",d="q:style",$="style[q\\:style]",p=$+",style[q\\:sstyle]",y="q:sstyle",w="q:ctx",b="q:brefs",m=(t,n)=>t["qFuncs_"+n]||[],g="q:base",v="q:instance",S="q:container-island",k="/"+S,x="q:ignore",R="/"+x,j="q:container",q="/"+j,A="http://www.w3.org/1999/xhtml",P="http://www.w3.org/2000/svg",O="http://www.w3.org/1998/Math/MathML",N="qRender",I="q:key",C="q:props",E="q:seq",M="q:seqIdx",_=":on",F=":onIdx",L=":onFlags",T="qkssr-f",W=":",U="dangerouslySetInnerHTML",D=()=>({isServer:n,importSymbol(t,n,e){if(!n)throw s(14,[e]);if(!t)throw s(13,[n,e]);const r=V(t.ownerDocument,t,n).toString(),o=new URL(r);return o.hash="",import(o.href).then(t=>t[e])},raf:t=>new Promise(n=>{requestAnimationFrame(()=>{n(t())})}),nextTick:t=>new Promise(n=>{setTimeout(()=>{n(t())})}),chunkForSymbol:(t,n)=>[t,n??"_"]}),V=(t,n,e)=>{const r=t.baseURI,o=new URL(n.getAttribute(g)??r,r);return new URL(e,o)};let z=/*#__PURE__ */D();const Q=t=>z=t,B=()=>z,H=t=>t&&"number"==typeof t.nodeType,J=t=>1===t.nodeType,G=t=>!!t&&"object"==typeof t&&"function"==typeof t.then,Y=(t,n,e)=>{try{const r=t();return G(r)?r.then(n,e):n(r)}catch(t){return e(t)}},X=(t,n)=>G(t)?t.then(n,K):n(t),K=t=>{(t=>{throw o(!1,t,...[])})(t)},Z=t=>new Promise(n=>{setTimeout(n,t)});function tt(t,n=0){const e=e=>{if(G(e)&&n<100)return e.then(tt.bind(null,t,n++));throw e};try{const n=t();return G(n)?n.catch(t=>e(t)):n}catch(t){return e(t)}}const nt=t=>{const n=Object.getPrototypeOf(t);return n===Object.prototype||n===Array.prototype||null===n},et=t=>!!t&&"object"==typeof t,rt=t=>Array.isArray(t),ot=t=>"string"==typeof t,st=t=>"function"==typeof t;function lt(){}function it(){}let ut;function ct(t){if(void 0===ut){const n=vt();if(n&&n.t)return n.t;if(void 0!==t)return t;throw new Error("Reading `locale` outside of context.")}return ut}function ft(t,n){const e=ut;try{return ut=t,n()}finally{ut=e}}const at=Symbol("invalid"),ht=Symbol("backRef"),dt=Symbol("store.target"),$t=Symbol("store.handler"),pt=Symbol("store.all");class yt{o;l=null;u=null;constructor(t,n){this.u=t,this.o=n}get untrackedValue(){return this.o}set untrackedValue(t){this.o=t}get value(){return wt(this,()=>this.l||=new Set,()=>this.untrackedValue)}set value(t){t!==this.o&&(this.o=t,Qr(this.u,this,this.l))}valueOf(){}toString(){return this.constructor.name}toJSON(){return{value:this.o}}}const wt=(t,n,e)=>{const r=vt();if(r){if(null===t.u){if(!r.u)return e();t.u=r.u}const o=r.h;o&&((t,n,e)=>{Dr(e,n),Vr(n,t),zr(n,t.u)})(t,o,n())}return e()};class bt extends yt{$;p;m;v;k=null;R=!1;[ht]=null;constructor(t,n,e,r,o=3){super(t,at),this.$=e,this.p=n,this.m=r,this.v=o}j(){this.v|=1,this.R=!1,this.u?.q(7,this.k,this,this.l)}force(){this.v|=1,this.R=!1,Qr(this.u,this,this.l)}get untrackedValue(){const t=this.O();return t&&(this.R=t),this.o}O(){if(!(1&this.v))return!1;const t=Nt(()=>this.p(...this.$),this,".",this.u),n=t!==this.o;return n&&(this.o=t),n}set value(t){throw s(31)}get value(){return super.value}}function mt(t,n,e){t[ht]||(t[ht]=new Map);const r=t[ht];let o=r.get(n);return o||(o=[t,n],r.set(n,o)),e&&(o[3]=e),o}let gt;const vt=()=>{if(!gt){const t="undefined"!=typeof document&&document&&document.__q_context__;if(!t)return;return rt(t)?document.__q_context__=qt(t):t}return gt},St=()=>{const t=vt();if(!t)throw s(9);return t},kt=()=>{const t=vt();if(!t||t.N!==N)throw s(10);return t};function xt(t){if(null==t)return t;const n=St();return function(...e){return jt.call(this,n,t,e)}}function Rt(t,n,...e){return jt.call(this,t,n,e)}function jt(t,n,e){const r=gt;let o;try{gt=t,o=n.apply(this,e)}finally{gt=r}return o}const qt=([t,n,e])=>{const r=Mr(t),o=po(r.rootVNode,t),s=r.t;return s&&function(t){ut=t}(s),At(s,o,t,n,e)},At=(t,n,e,r,o)=>({M:o,_:0,k:n,L:e,N:r,T:void 0,h:void 0,t:t||("object"==typeof r&&r&&"locale"in r?r.locale:void 0),u:void 0}),Pt=t=>Rt(void 0,t),Ot=/*#__PURE__*/At(void 0,void 0,void 0,N),Nt=(t,n,e,r,o)=>{const s=Ot.h,l=Ot.u;try{return Ot.h=mt(n,e,o),Ot.u=r,Rt(Ot,t)}finally{Ot.h=s,Ot.u=l}},It=(t,n,e,r,o)=>(t instanceof bt&&t.k!==n&&n&&(t.k=n),Nt(()=>t.value,n,e,r,o)),Ct=()=>{const t=vt();if(t){const n=t.k;let e=null;return null!=n&&(Zr(n)?to(n)&&(e=cs(n)):e=n),e??t.T?.W(void 0)}},Et=()=>{const t=vt();if(t)return t.N},Mt=t=>t,_t=t=>{const n=Fr(t);if(!n)return Promise.resolve();const e=n.qContainer;return e?.renderDone??Promise.resolve()},Ft=()=>{const t=kt(),n=t.k;let e=t.u.getHostProp(n,E);null===e&&(e=[],t.u.setHostProp(n,E,e));let r=t.u.getHostProp(n,M);for(null===r&&(r=0),t.u.setHostProp(n,M,r+1);e.length<=r;)e.push(void 0);return{val:e[r],set:t=>e[r]=t,i:r,iCtx:t}},Lt="$",Tt="DOMContentLoaded",Wt=t=>(t.startsWith("on")||t.startsWith("window:on")||t.startsWith("document:on"))&&t.endsWith(Lt),Ut=t=>t.startsWith("on:")||t.startsWith("on-window:")||t.startsWith("on-document:");function Dt(t){if(t.endsWith(Lt)){const[n,e]=zt(t);if(-1!==e){const e=Vt(t);return n+Jt(e)}}return null}function Vt(t){if(t.endsWith(Lt)){const[,n]=zt(t);if(-1!=n)return function(t,n=0){let e=n;const r=Qt(t.charCodeAt(n));r&&e++;let o="";const s=t.substring(e,t.length-1);return s===Tt?Tt:(o+=r?s:s.toLowerCase(),o)}(t,n)}return null}function zt(t){let n=null,e=-1;return t.startsWith("on")?(n="on:",e=2):t.startsWith("window:on")?(n="on-window:",e=9):t.startsWith("document:on")&&(n="on-document:",e=11),[n,e]}const Qt=t=>45===t,Bt=t=>{const n=t.indexOf(":");return-1!==n?t.substring(0,n):""};function Ht(t){return t.startsWith("preventdefault:")}const Jt=t=>t.replace(/([A-Z-])/g,"-$1").toLowerCase(),Gt=t=>(/^[\w/.-]+$/.test(t),/*#__PURE__*/Object.freeze({id:Jt(t)})),Yt=(t,n)=>{const{val:e,set:r,iCtx:o}=Ft();void 0===e&&(o.u.setContext(o.k,t,n),r(1))},Xt=(t,n)=>{const{val:e,set:r,iCtx:o}=Ft();if(void 0!==e)return e;const l=o.u.resolveContext(o.k,t);if("function"==typeof n)return r(Rt(void 0,n,l));if(void 0!==l)return r(l);if(void 0!==n)return r(n);throw s(8,[t.id])},Kt=/*#__PURE__*/Gt("qk-error"),Zt="2.0.0-beta.3-dev+aa098fc",tn=[],nn={};Object.freeze(tn),Object.freeze(nn);const en=(t,n,e=tn)=>{let r=null,o=null;if(st(t))o=t;else{if(!ot(t))throw s(7,[t]);r=t}return fl(r,n,null,o,null,e)},rn=(t,n,e=tn)=>fl(null,n,t,null,null,e),on=(t,n=tn)=>fl(null,t,null,null,null,n),sn=(t,n,e=tn)=>{const r=on(t,e);return r.dev=n,r},ln=(t,n,e,r=tn)=>{const o=en(t,n,r);return o.dev=e,o},un=(t,n,e,r=tn)=>{const o=rn(t,n,r);return o.dev=e,o},cn=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t),fn=()=>{const t=St();let n=t.T;return n||(n=Mr(Fr(t.L)).parseQRL(decodeURIComponent(String(t.M)))),n.U},an=(...t)=>{const[n]=fn(),e=St(),r=e.k;if(!r)return;const o=Mr(e.L).q;if(!o)throw s(1);return o(2,r,n,t)},hn=Symbol("CONST"),dn=Symbol("VAR"),$n=Symbol("IMMUTABLE"),pn=t=>function(n,...e){return t.call(null,wl(n),...e)};class yn extends yt{D;v;R=!1;[ht]=null;constructor(t,n,e=1){super(t,at),this.D=n,this.v=e}j(){this.v|=1,this.R=!1,this.u?.q(7,null,this,this.l)}force(){this.R=!0,this.u?.q(7,null,this,this.l)}get untrackedValue(){const t=this.O();return t&&(this.R=t),this.o}O(){if(!(1&this.v))return!1;const t=this.D;Wr(t);const n=vt(),e=n?.h;n&&(n.h=mt(this,"."));try{const e=t.getFn(n)();if(G(e))throw s(29,[t.dev?t.dev.file:"",t.B]);this.v&=-2;const r=e!==this.o;return r&&(this.o=e),r}finally{n&&(n.h=e)}}set value(t){throw s(30)}get value(){return super.value}}class wn extends yn{constructor(t,n){super(t,n)}H=!1;O(){if(!(1&this.v))return!1;Wr(this.D);let t=this.D.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,r=t.update,o=this.o===at?e:this.o,s=Nt(()=>this.H?r?.(o):n(o),this,".",this.u),l=this.H&&"undefined"!==s||s!==this.o;return this.v&=-2,this.H=!0,l&&(this.o=s),l}}const bn=t=>t[$t],mn=t=>t?.[dt]||null,gn=t=>mn(t)||t,vn=t=>dt in t;function Sn(t,n,e){return new Proxy(n,new xn(e,t||null))}const kn=(t,n,e)=>{if(nt(t)&&e){let r=e.J.get(t);return r||(r=Sn(e,t,n),e.J.set(t,r)),r}return t};class xn{v;u;l=null;constructor(t,n){this.v=t,this.u=n}toString(){return"[Store]"}get(t,n){if("symbol"==typeof n)return n===dt?t:n===$t?this:t[n];const e=vt(),r=t[n];if(e){if(null===this.u){if(!e.u)return r;this.u=e.u}const o=e.h;o&&Rn(t,Array.isArray(t)?pt:n,this,o)}return"toString"===n&&r===Object.prototype.toString?this.toString:1&this.v&&"object"==typeof r&&null!==r&&!Object.isFrozen(r)&&!vn(r)&&!Object.isFrozen(t)?kn(r,this.v,this.u):r}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const r=1&this.v?gn(e):e;return n in t?r!==t[n]&&jn(n,r,t,this):jn(n,r,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Qr(this.u,this,qn(t,n,this.l)),!0)}has(t,n){if(n===dt)return!0;if("string"==typeof n){const e=vt();if(e){const r=e.h;r&&Rn(t,Array.isArray(t)?pt:n,this,r)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=vt(),e=n?.h;return e&&Rn(t,pt,this,e),Reflect.ownKeys(t)}getOwnPropertyDescriptor(t,n){const e=Reflect.getOwnPropertyDescriptor(t,n);return Array.isArray(t)||"symbol"==typeof n||e&&!e.configurable?e:{enumerable:!0,configurable:!0}}}function Rn(t,n,e,r){const o=e.l||=new Map;let s=o.get(n);s||(s=new Set,o.set(n,s)),Dr(s,r),Vr(r,t),zr(r,e.u)}function jn(t,n,e,r){e[t]=n,Qr(r.u,r,qn(e,t,r.l))}function qn(t,n,e){let r;if(e)if(Array.isArray(t))for(const t of e.values()){r||=new Set;for(const n of t)r.add(n)}else r=e.get(n);const o=e?.get(pt);if(o){r||=new Set;for(const t of o)r.add(t)}return r||null}const An=(t,n)=>(e,r)=>{const o=At();return o.h=mt(t,":"),o.u=n||void 0,Rt(o,()=>{if(st(e))return e();if(r)return e[r];if(Ur(e))return e.value;if(et(e)&&vn(e))return Rn(mn(e),pt,bn(e),o.h),e;throw s(2)})},Pn=(t,n)=>{let e=null;return[r=>{"function"==typeof r&&(e||(e=[],t.G=sl(()=>{t.G=null,e.forEach(t=>{try{t()}catch(t){n(t)}})})),e.push(r))},e??[]]};class On extends yn{Y=!1;X=null;K=null;Z=null;G;tt=null;[ht]=null;constructor(t,n,e=1){super(t,n,e)}get loading(){return wt(this,()=>this.K||=new Set,()=>this.untrackedLoading)}set untrackedLoading(t){t!==this.Y&&(this.Y=t,this.u?.q(7,null,this,this.K))}get untrackedLoading(){return this.Y}get error(){return wt(this,()=>this.Z||=new Set,()=>this.untrackedError)}set untrackedError(t){t!==this.X&&(this.X=t,this.u?.q(7,null,this,this.Z))}get untrackedError(){return this.X}O(){if(!(1&this.v))return!1;const t=this.D;Wr(t);const[n]=Pn(this,t=>this.u?.handleError(t,null)),e=this.tt??t.getFn()({track:An(this,this.u),cleanup:n});if(G(e))throw this.untrackedLoading=!0,this.untrackedError=null,e.then(t=>{this.tt=t,this.untrackedLoading=!1,this.untrackedError=null}).catch(t=>{this.untrackedLoading=!1,this.untrackedError=t});this.tt=null,this.v&=-2;const r=e!==this.o;return r&&(this.o=e),r}}const Nn=t=>(Wr(t),new yn(null,t)),In=t=>(Wr(t),new wn(null,t)),Cn=t=>new yt(null,t),En=/*#__PURE__*/pn(Nn),Mn=pn(In),_n=t=>t.value,Fn=(t,n)=>t[n],Ln=t=>new bt(null,1===t.length?_n:Fn,t,null),Tn=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!et(n))return n[e];if(Ur(n))return n instanceof bt&&2&n.flags?n:Ln(t);if(Qe(n)){const t=n[hn];if(t&&e in t)return t[e]}else{const r=mn(n);if(r){const n=r[e];return Ur(n)?n:Ln(t)}}return n[e]},Wn=(t,n)=>{const e=mn(t)[n];return Ur(e)?e:new bt(null,Fn,[t,n],null,1)},Un=(t,n)=>{const e=Tn(t,n);return e===$n?t[n]:e};class Dn{data;constructor(t){this.data=t}}function Vn(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}const zn=(t,n,e)=>new bt(null,t,n,e||null);function Qn(t){return!t.startsWith("q:")&&!t.startsWith(":")}const Bn=(t,n,e={})=>{let r=null;const o=t[hn];if(o)for(const t in o)n.includes(t)||(r||={},r[t]=o[t]);const s=e,l=t[dn];for(const t in l)n.includes(t)||(s[t]=l[t]);return Ke(s,r)},Hn=t=>Fe(He,null,{[h]:""},t.children,0,t.name??""),Jn=Symbol("skip render"),Gn=()=>null,Yn=()=>null,Xn=t=>[De(Yn,{data:"qkssr-pu"}),t.children,De(Yn,{data:"qkssr-po"})],Kn=(t,n)=>De(Je,{children:De(Zn,t)},n),Zn=()=>null,te="q:type",ne={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},ee=t=>c+t;function re(t){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&oe(n))return!0;return!1}function oe(t){return"class"===t||"className"===t}const se=t=>{if(t){let n=0;do{t=t.substring(0,n)+ee(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},le=new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexShrink","gridArea","gridRow","gridRowEnd","gridRowStart","gridColumn","gridColumnEnd","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","MozAnimationIterationCount","MozBoxFlex","msFlex","msFlexPositive","WebkitAnimationIterationCount","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitColumnCount","WebkitColumns","WebkitFlex","WebkitFlexGrow","WebkitFlexShrink","WebkitLineClamp"]),ie=(t,n=0)=>{for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return Number(Math.abs(n)).toString(36)},ue=t=>{if(!t)return"";if(ot(t))return t.trim();const n=[];if(rt(t))for(const e of t){const t=ue(e);t&&n.push(t)}else for(const[e,r]of Object.entries(t))r&&n.push(e.trim());return n.join(" ")},ce=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase();function fe(t,n,e){if(oe(t)){const t=ue(n);n=e?e+(t.length?" "+t:t):t}else"style"===t?n=(t=>{if(null==t)return"";if("object"==typeof t){if(rt(t))throw s(0,[t,"style"]);{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const r=t[e];null!=r&&"function"!=typeof r&&(e.startsWith("--")?n.push(e+":"+r):n.push(ce(e)+":"+ae(e,r)))}return n.join(";")}}return String(t)})(n):function(t){return t.startsWith("aria-")||["spellcheck","draggable","contenteditable"].includes(t)}(t)||"number"==typeof n?n=(t=>null!=t?String(t):null)(n):!1===n||null==n?n=null:!0===n&&Ht(t)&&(n="");return n}const ae=(t,n)=>"number"!=typeof n||0===n||le.has(t)?n:n+"px";class he{[ht]=null}function de(t,n){Zr(n)&&to(n)&&Io(n);const e=n[ht];if(e)for(const[,n]of e){const e=n[2];if(!e)return;for(const r of e)if(r instanceof yt)$e(t,r,n);else if(r instanceof On)pe(r,n);else if(t.J.has(r)){const e=t.J.get(r);ye(bn(e),n)}}}function $e(t,n,e){const r=n.l;r&&r.delete(e),n instanceof bt&&(n.k=null,de(t,n))}function pe(t,n){const e=t.l;e&&e.delete(n);const r=t.K;r&&r.delete(n)}function ye(t,n){const e=t?.l;if(e)for(const t of e.values())t.delete(n)}const we=(t,n,e,r,o)=>{const s=At(t.t,e||void 0,void 0,N);let l;e&&(s.h=mt(e,":"),s.u=t),t.ensureProjectionResolved(n);let c=!1;if(null===r&&(r=t.getHostProp(n,u)),i(r))(o=o||t.getHostProp(n,C)||nn).children&&delete o.children,l=r.getFn(s);else if(kl(r)){const t=r;l=()=>jt(s,t,[o||nn,null,0])}else{c=!0;const t=r;l=()=>jt(s,t,[o||nn])}const f=(e=0)=>Y(()=>(c||(t.setHostProp(n,M,null),t.setHostProp(n,F,null)),Zr(n)&&de(t,n),l(o)),e=>{const r=t.getHostProp(n,_);return r?function(t,n){const e=me(t);let r=t;return X(e,t=>{let e=!1;t||(e=!0);for(const o in n)if(Object.prototype.hasOwnProperty.call(n,o))if(e){if("onQvisible$"===o){const[t,e]=ge(r);r=e,t&&be(t,"document:onQinit$",n[o])}else if(o.startsWith("document:")||o.startsWith("window:")){const[t,e]=ge(r);r=e,t&&be(t,o,n[o])}}else t&&be(t,o,n[o]);return r})}(e,r):e},t=>{if(G(t)&&e<100)return t.then(()=>f(e++));throw t});return f()};function be(t,n,e){let r=t.props;r===nn&&(r=t.props={});let o=r[n];void 0===o?o=[]:Array.isArray(o)||(o=[o]),o.push(...e),r[n]=o}function me(t){const n=[t];for(;n.length;){const t=n.shift();if(Ge(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(Array.isArray(t))n.push(...t);else{if(G(t))return X(t,t=>me(t));if(Ur(t))return me(Pt(()=>t.value))}}return null}function ge(t){if(Ge(t)){const n=new Be("script",{},{type:"placeholder",hidden:""},null,3);return t.type===Hn?[n,Fe(Ye,null,null,[t,n],0,null)]:(null==t.children?t.children=n:Array.isArray(t.children)?t.children.push(n):t.children=[t.children,n],[n,t])}if(Array.isArray(t)&&t.length){const[n,e]=ge(t[0]);return[n,t]}return[null,null]}class ve{nt;et;constructor(t,n){this.nt=t,this.et=n}}class Se{}async function ke(t,n,e){const r=[n],o=t=>r.push(t);await(async()=>{for(;r.length;){const n=r.pop();if(n instanceof ve)e.currentStyleScoped=n.nt,e.parentComponentFrame=n.et;else{if(n===Se){const t=r.pop();await tt(()=>r.push(t()));continue}if("function"!=typeof n)xe(t,o,n,{styleScoped:e.currentStyleScoped,parentComponentFrame:e.parentComponentFrame});else{if(n===Promise){r.push(await r.pop());continue}await n.apply(t)}}}})()}function xe(t,n,e,r){if(null==e)t.textNode("");else if("boolean"==typeof e)t.textNode("");else if("number"==typeof e)t.textNode(String(e));else if("string"==typeof e)t.textNode(e);else if("object"==typeof e)if(Array.isArray(e))for(let t=e.length-1;t>=0;t--)n(e[t]);else if(Ur(e)){t.openFragment(tn);const r=t.getOrCreateLastNode();n(t.closeFragment),n(()=>It(e,r,".",t)),n(Se)}else if(G(e))t.openFragment(tn),n(t.closeFragment),n(e),n(Promise),n(()=>t.commentNode(T));else if(function(t){return!!t[Symbol.asyncIterator]}(e))n(async()=>{for await(const n of e)await ke(t,n,{currentStyleScoped:r.styleScoped,parentComponentFrame:r.parentComponentFrame}),t.commentNode(T)});else{const o=e,s=o.type;if("string"==typeof s){!function(t,n){null==tr(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")}(o,r.styleScoped);let e=null;const l=t.openElement(s,Re(o.varProps,o.constProps,t.serializationCtx,!0,r.styleScoped,o.key),Re(o.constProps,o.varProps,t.serializationCtx,!1,r.styleScoped),e);l&&t.htmlNode(l),n(t.closeElement),"head"===s?(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),n(t.additionalHeadNodes)):"body"===s?n(t.additionalBodyNodes):t.isHtml||t._didAddQwikLoader||(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),t._didAddQwikLoader=!0);const i=o.children;null!=i&&n(i)}else if(st(s))if(s===Ye){t.openFragment(null!=o.key?[I,o.key]:tn),n(t.closeFragment);const e=o.children;null!=e&&n(e)}else if(s===Hn){const e=r.parentComponentFrame||t.unclaimedProjectionComponentFrameQueue.shift();if(e){const s=[];s.push(a,e.componentNode.id||""),t.openProjection(s);const l=e.componentNode,i=t.getOrCreateLastNode(),u=function(t,n,e){const r=n.constProps;if(r&&"object"==typeof r&&"name"in r){const n=r.name;if(n instanceof bt)return It(n,t,":",e)}return tr(n,"name")||""}(l,o,t);s.push(f,u),n(new ve(r.styleScoped,r.parentComponentFrame)),n(t.closeProjection);const c=o.children||null,h=e.consumeChildrenForSlot(i,u)||c;c&&h!==c&&t.addUnclaimedProjection(e,"",c),n(h),n(new ve(e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(tn),t.closeFragment()}else if(s===Yn)t.commentNode(tr(o,"data")||"");else if(s===Kn){t.commentNode(T);const e=o.children;let s;s=st(e)?e({async write(n){await ke(t,n,{currentStyleScoped:r.styleScoped,parentComponentFrame:r.parentComponentFrame}),t.commentNode(T)}}):e,n(s),G(s)&&n(Promise)}else if(s===Gn)t.htmlNode(tr(o,"data"));else if(kl(s)){t.openComponent([]);const e=t.getOrCreateLastNode(),l=t.getParentComponentFrame();l.distributeChildrenIntoSlots(o.children,r.styleScoped,r.parentComponentFrame);const i=((t,n,e)=>{const r=t.getOrCreateLastNode(),[o]=e[Sl],s=n.props;s&&s.children&&delete s.children;const l=t.q;return r.setProp(u,o),r.setProp(C,s),null!==n.key&&r.setProp(I,n.key),l(6,r,o,s)})(t,o,s),c=se(e.getProp(y));n(new ve(r.styleScoped,r.parentComponentFrame)),n(t.closeComponent),n(i),G(i)&&n(Promise),n(new ve(c,l))}else{t.openFragment([I,o.key]),n(t.closeFragment);const e=t.getComponentFrame(0),r=((t,n,e,r)=>{const o=t.getOrCreateLastNode();return we(t,o,n,e,r.props)})(t,e&&e.componentNode,s,o);n(r),G(r)&&n(Promise)}}}function Re(t,n,e,r,o,s){if(null==t)return null;const l=[];for(const s in t){let i=t[s];if(Wt(s)){if(n){const t=qe(n,s);if(t){if(!r)continue;i=je(i,t)}}const t=Ae(e,s,i);t&&l.push(Dt(s),t);continue}Ur(i)?oe(s)?l.push(s,[i,o]):l.push(s,i):(Ht(s)&&Oe(e,s),i=fe(s,i,o),l.push(s,i))}return null!=s&&l.push(I,s),l}function je(t,n){let e=t;return Array.isArray(t)&&Array.isArray(n)?e=t.concat(n):Array.isArray(e)?e.push(n):Array.isArray(n)?(e=n,e.push(t)):e=[t,n],e}function qe(t,n){const e=n.toLowerCase();for(const n in t)if(n.toLowerCase()===e)return t[n];return null}function Ae(t,n,e){let r=null;const o=e,s=t=>{r=(null==r?"":r+"\n")+t},l=n=>(n.rt.startsWith("_")||!n.U&&!n.ot||(n=fl(null,"_run",an,null,null,[n])),Fs(t,n));if(Array.isArray(o))for(let e=0;e<=o.length;e++){const r=o[e];if(i(r))s(l(r)),Pe(t,n,r);else if(null!=r){const e=Ae(t,n,r);e&&s(e)}}else i(o)&&(r=l(o),Pe(t,n,o));return r}function Pe(t,n,e){const r=Vt(n);r&&(t.st.add(r),t.lt.add(e))}function Oe(t,n){const e=n.substring(15);e&&t.st.add(e)}const Ne=t=>{const{val:n,set:e,iCtx:r,i:o}=Ft();if(n)return;e(1);const s=new Ee(10,o,r.k,t,void 0,null);e(s);const l=r.u.q(3,s);G(l)&&l.catch(()=>{})},Ie=(t,n,e)=>{t.v&=-9,Ce(t);const r=At(n.t,e,void 0,"qTask");r.u=n;const o=t.T.getFn(r,()=>de(n,t)),s=An(t,n),[l]=Pn(t,t=>n.handleError(t,e)),i={track:s,cleanup:l};return Y(()=>o(i),l,r=>{if(G(r))return r.then(()=>Ie(t,n,e));throw r})},Ce=t=>{const n=t.G;if(n){t.G=null;try{n()}catch(t){o(!1,t)}}};class Ee extends he{v;it;ut;T;ct;G;constructor(t,n,e,r,o,s){super(),this.v=t,this.it=n,this.ut=e,this.T=r,this.ct=o,this.G=s}}const Me=t=>t instanceof Ee,_e=(t,n)=>{const[e]=fn(),r=1&e.v?32:3;Mr(n).q(r,e)},Fe=(t,n,e,r,o,s)=>{const l=null==s?null:String(s);return new Be(t,n||{},e||null,r,o,l)},Le=(t,n,e,r,o,s,l)=>{let i;return i=n?Object.fromEntries(Pt(()=>Object.entries(n)).filter(t=>{const n=t[0];return"children"===n?(r??=t[1],!1):"key"===n?(s=t[1],!1):!e||!(n in e)||/^on[A-Z].*\$$/.test(n)}).sort(([t],[n])=>t<n?-1:1)):"string"==typeof t?nn:{},e&&"children"in e&&(r=e.children,e.children=void 0),Fe(t,i,e,r,o,s,l)},Te=(t,n,e,r)=>De(t,n,r),We=(t,n,e,r,o)=>De(t,{...e,...n},o),Ue=(t,n,e,r,o,s)=>De(t,{...e,...n,children:r},s),De=(t,n,e)=>Le(t,n,null,null,0,e||null),Ve=(t,n)=>{n||(n=[]);for(const e of t)rt(e)?Ve(e,n):n.push(e);return n};function ze(t,n,...e){const r={children:arguments.length>2?Ve(e):null};let o=null;for(const t in n)"key"==t?o=n[t]:r[t]=n[t];return"string"==typeof t&&!o&&"dangerouslySetInnerHTML"in r&&(o="innerhtml"),Le(t,n,null,r.children,0,o)}const Qe=t=>t&&void 0!==t[dn];class Be{type;varProps;constProps;children;flags;key;dev;constructor(t,n,e,r,o,s=null){this.type=t,this.varProps=n,this.constProps=e,this.children=r,this.flags=o,this.key=s}_proxy=null;get props(){return this._proxy||(this._proxy=Ke(this.varProps,this.constProps,this.children)),this._proxy}}const He=t=>t.children,Je=(t,n)=>new Be(He,nn,null,t.children,2,n),Ge=t=>t instanceof Be,Ye=t=>t.children,Xe=(t,n,e,r,o)=>{const s=null==e?null:String(e),l=Pt(()=>{const e=n.children;return"string"==typeof t&&delete n.children,e});ot(t)&&"className"in n&&(n.class=n.className,delete n.className);const i=new Be(t,n,null,l,0,s);return i.dev={stack:(new Error).stack,...o},i};function Ke(t,n,e){return new Proxy({},new Ze(t,n,e))}class Ze{ft;ht;dt;constructor(t,n,e){this.ft=t,this.ht=n,this.dt=e}get(t,n){if(n===hn)return this.ht;if(n===dn)return this.ft;if(null!=this.dt&&"children"===n)return this.dt;const e=this.ht&&n in this.ht?this.ht[n]:this.ft[n];return e instanceof bt&&2&e.v?e.value:e}set(t,n,e){return n===hn?(this.ht=e,!0):n===dn?(this.ft=e,!0):(this.ht&&n in this.ht?this.ht[n]=e:this.ft[n]=e,!0)}deleteProperty(t,n){if("string"!=typeof n)return!1;let e=delete this.ft[n];return this.ht&&(e=delete this.ht[n]||e),null!=this.dt&&"children"===n&&(this.dt=null),e}has(t,n){return"children"===n&&null!=this.dt||n===hn||n===dn||n in this.ft||!!this.ht&&n in this.ht}getOwnPropertyDescriptor(t,n){return{configurable:!0,enumerable:!0,value:"children"===n&&null!=this.dt?this.dt:this.ht&&n in this.ht?this.ht[n]:this.ft[n]}}ownKeys(){const t=Object.keys(this.ft);if(null!=this.dt&&-1===t.indexOf("children")&&t.push("children"),this.ht)for(const n in this.ht)-1===t.indexOf(n)&&t.push(n);return t}}const tr=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],nr=(t,n,e)=>{let r=e>>1,o=t.length-2>>1;for(;r<=o;){const e=r+(o-r>>1),s=t[e<<1];if(s===n)return e<<1;s<n?r=e+1:o=e-1}return~(r<<1)},er=(t,n,e,r)=>{const o=nr(t,n,r);o>=0?null==e?t.splice(o,2):t[o+1]=e:null!=e&&t.splice(-1^o,0,n,e)},rr=(t,n,e)=>{const r=nr(t,n,e);return r>=0?t[r+1]:null},or=t=>"foreignObject"===t;function sr(t,n,e){const r=t.ownerDocument.createElementNS(e,n),o=t.attributes;for(const t of o){const n=t.name;n&&n!==W&&r.setAttribute(n,t.value)}return r}function lr(t,n,e,r){io(t);let o=t,s=null,l=null,i=null;for(;o;){let u=null,c=null;if(to(o)){u=o[6];const t=Ao(o),s=us(o),f=null==l?n:s&&Ro(s);if(f){const t=ir(f,Ao(o));e=t.elementNamespace,r=t.elementNamespaceFlag}c=sr(u,t,e),u.remove(),null==l&&(l=c),i&&i.appendChild(c);const a=No(o);if(o[6]=c,o[0]&=-193,o[0]|=r,a){o=a,i=c;continue}if(Eo(u)){const t=_r(u);if(t){const n=No(t.rootVNode);if(n){o=n,i=c;continue}}}}if(o===t)return l;const f=ts(o);if(f)o=f;else{for(s=us(o);s;){if(s===t)return l;const n=ts(s);if(n)return o=n,l;s=us(s)}if(null==s)return l}}return l}function ir(t,n){const e=!t||!(!Ao(t)||(r=t,192&r[0]));var r;const o=!e&&or(Ao(t));let s=A,l=0;const i="string"==typeof n||to(n);return i&&function(t){return"string"==typeof t?"svg"===(n=t)||or(n):!!(64&t[0]);var n}(n)?(s=P,l=64):i&&function(t){return"string"==typeof t?"math"===t:!!(128&t[0])}(n)?(s=O,l=128):!t||o||e||(s=64&t[0]?P:128&t[0]?O:A,l=192&t[0]),{elementNamespace:s,elementNamespaceFlag:l}}function ur(t){let n="";const e=t.length;let r=0,o=r;for(;r<e;r++){const e=t.charCodeAt(r);if(60===e)n+=t.substring(o,r)+"<";else if(62===e)n+=t.substring(o,r)+">";else if(38===e)n+=t.substring(o,r)+"&";else if(34===e)n+=t.substring(o,r)+""";else{if(39!==e)continue;n+=t.substring(o,r)+"'"}o=r+1}return 0===o?t:n+t.substring(o)}const cr=(t,n,e,r)=>{let o=t.$t;const l=[],i=[];let c=null,h=null,d=null,$=null,p=null,y=null,w=null,m=0,g=0,v=!0;return S(n,e),function t(){for(;i.length;){const n=i.shift(),e=i.shift();if(G(n))return n.then(n=>(S(n,e),t()));S(n,e)}}();function S(n,e){for(Zr(n),Zr(e),c=e,d=null,h=No(e),P(n,!0);l.length;){for(;m<g;){if(it(),"string"==typeof w)Q(w);else if("number"==typeof w)Q(String(w));else if(w&&"object"==typeof w){if(Array.isArray(w))q(w,!1);else if(Ur(w))h&&de(t,h),W("S",null),q(It(w,d||h,".",t),!0);else if(G(w))W("A",null),i.push(w,d||h);else if(Ge(w)){const t=w.type;"string"==typeof t?(_(),F(w,t),q(w.children,!0)):"function"==typeof t&&(t===Ye?(_(),W("F",w.key),q(w.children,!0)):t===Hn?(_(),E()||q(w.children,!0)):t===hr?(N(),q(w.children,!0)):t===Yn||t===Gn?M():(_(),D(t)))}}else w===Jn?o=[]:Q("");k()}M(),A()}}function k(){if(v){if(m++,m<g)w=y[m];else if(!1===l[l.length-1])return A();null!==d?d=null:R()}else v=!0}function x(){return h?ts(h):null}function R(){h=x()}function q(n,e){null!=n?(P(n,e),e&&($=null,p=null,c=d||h,h=No(c),d=null),v=!1):function(){const n=h&&No(h);if(null!==n){let e=n;for(;e;)pr(t,e),e=ts(e);qo(o,h,n)}}()}function A(){l.pop()&&($=l.pop(),p=l.pop(),d=l.pop(),h=l.pop(),c=l.pop()),w=l.pop(),g=l.pop(),m=l.pop(),y=l.pop(),k()}function P(t,n){l.push(y,m,g,w),n&&l.push(c,h,d,p,$),l.push(n),Array.isArray(t)?(m=0,g=t.length,y=t,w=g>0?t[0]:null):void 0===t?(m=0,w=null,y=null,g=0):(m=0,w=t,y=null,g=1)}function O(){return d?h:x()}function N(){const n=w.key;h=ss(c,n,n=>po(t.rootVNode,n)),h=h&&32&h[0]?null:h,null==h&&(d=Kr(),ls(d,f,n),ls(d,a,c),ls(c,n,d))}function E(){const n=ys(c,t.rootVNode),e=function(n){const e=w,r=e.constProps;if(r&&"object"==typeof r&&"name"in r){const e=r.name;if(n&&e instanceof bt)return It(e,n,":",t)}return tr(e,"name")||""}(n),r=n?ss(n,e,null):null;return null==r?(ko(o,c,d=Kr(),h&&O()),ls(d,f,e),n&&ls(n,e,d),!1):(r===h||(ko(o,c,d=r,h&&O()),ls(d,f,e),n&&ls(n,e,d)),!0)}function M(){if(null!==h)for(;h;){const n=h;R(),c===us(n)&&(pr(t,n),jo(o,c,n,!0))}}function _(){for(;null!==h&&eo(h);){pr(t,h);const n=h;R(),jo(o,c,n,!0)}}function F(n,e){const l=h&&to(h)&&e===Ao(h),i=n.key;let u=!1;const f=function(t){if(!t)return null;const n=t.fileName?.replace(/\\/g,"/");return n?`${n}:${t.lineNumber}:${t.columnNumber}`:null}(n.dev);l&&i===fr(h)||(d=T(e,i),null===d?u=function(n,e){const l=function(n){const e=Ro(c),{elementNamespace:r,elementNamespaceFlag:o}=ir(e,n),s=t.document.createElementNS(r,n);return d=Gr(s,n),d[0]|=o,s}(e),{constProps:i}=n;let u=!1;if(i)for(const n in i){let c=i[n];if(Wt(n)){const t=Vt(n),e=Bt(n);if(t&&(ls(d,br+":"+e+":"+t,c),L(t)),e){const t=Dt(n);t&&rs(o,d,t,"")}u=!0;continue}if("ref"===n){if(Ur(c)){c.value=l;continue}if("function"==typeof c){c(l);continue}if(null==c)continue;throw s(15,[undefined])}if(Ur(c)){const e=new Dn({yt:r,wt:!0});c=It(c,d,n,t,e)}if(n!==U)if("textarea"!==e||"value"!==n)c=fe(n,c,r),null!=c&&l.setAttribute(n,String(c));else{if(c&&"string"!=typeof c)continue;l.value=ur(c||"")}else l.innerHTML=c,l.setAttribute(j,"html")}const f=n.key;return f&&(l.setAttribute(I,f),ls(d,I,f)),!(re(n.varProps)||n.constProps&&re(n.constProps))&&r&&l.setAttribute("class",r),ko(o,c,d,h),u}(n,e):(ko(o,c,d,h),h=d,d=null));const a=[],$=n.varProps;for(const t in $){const n=$[t];null!=n&&er(a,t,n,0)}null!==i&&er(a,I,i,0);const p=d||h,y=p[6];y.vNode=new WeakRef(p),u=function(n,e,l){co(n);const i=is(n);let u=0;const c=e.length;let f=0,a=i.length,h=u<c?e[u++]:null,d=f<a?i[f++]:null,$=!1;const p=(e,u)=>{if(e.startsWith(":"))ls(n,e,u);else{if("ref"===e){const t=cs(n);if(Ur(u))return void(u.value=t);if("function"==typeof u)return void u(t);throw s(15,[l])}if(Ur(u)){const o=new Dn({yt:r,wt:!1});u=It(u,n,e,t,o)}rs(o,n,e,null!==u?fe(e,u,r):null),null===u&&(a=i.length)}},y=(t,n)=>{const e=Vt(t),r=Bt(t);if(e&&(p(":"+r+":"+e,n),L(e)),r){const n=Dt(t);n&&p(n,"")}};for(;null!==h||null!==d;)if(d?.startsWith(br)||d?.startsWith("q:"))f++,d=f<a?i[f++]:null;else if(null==h)d&&Ut(d)?f++:(p(d,null),f--),d=f<a?i[f++]:null;else if(null==d)Wt(h)?($=!0,y(h,e[u])):p(h,e[u]),u++,h=u<c?e[u++]:null,f++,d=f<a?i[f++]:null;else if(h==d){const t=e[u++];t!==i[f++]&&p(d,t),h=u<c?e[u++]:null,d=f<a?i[f++]:null}else h<d?(Wt(h)?($=!0,y(h,e[u])):p(h,e[u]),u++,h=u<c?e[u++]:null,f++,a=i.length,d=f<a?i[f++]:null):(Ut(d)?($=!0,f++):(p(d,null),f--),d=f<a?i[f++]:null);return $}(p,a,f)||u,u&&(y.qDispatchEvent||(y.qDispatchEvent=(n,e)=>{const r=n.type,o=":"+e.substring(1)+":"+r,s=[ss(p,o,null),ss(p,br+o,null)];let l=!1;return s.flat(2).forEach(e=>{if(e){const r=t.q(2,p,e,[n,y]);l=l||!0===r}}),l}))}function L(n){const e=t.document.defaultView;e&&(e.qwikevents||=[]).push(n)}function T(n,e){let r=null;if(null===$){$=new Map,p=[];let o=h;for(;o;){const s=to(o)?Ao(o):null,l=fr(o)||ar(o,t.bt);null===r&&l==e&&s==n?r=o:null===l?p.push(s,o):$.set(s+":"+l,o),o=ts(o)}}else if(null===e){for(let t=0;t<p.length;t+=2)if(p[t]===n){r=p[t+1],p.splice(t,2);break}}else{const t=$.get(n+":"+e);t&&(r=t,$.delete(n+":"+e))}return r}function W(t,n){const e="F"===t;h&&ro(h)&&fr(h)===n&&(!e||n)||(null===n||(d=T(null,n),null==d)?(ko(o,c,d=Kr(),h&&O()),ls(d,I,n)):ko(o,c,d,h&&O()))}function D(n){const e=n[Sl];let r=d||h;const s=w;if(e){const n=s.props;let l=!1;const[i]=e,a=i.B,$=ar(r,t.bt),p=s.key||a;if(p===(fr(r)||$)?a===$&&s.key||(V(r,i,n),r=d,l=!0):(d=T(null,p),d?ko(o,c,d,h):(V(r,i,n),l=!0),r=d),r){let e=ss(r,C,t.bt);const o=function(t,n){const e=dr(t),r=dr(n);if(e&&r)return!1;if(e||r)return!0;let o=$r(Object.keys(t),["children",b]),s=$r(Object.keys(n),["children",b]);if(o.length!==s.length)return!0;o=o.sort(),s=s.sort();for(let e=0;e<o.length;e++){const r=o[e],l=s[e];if(r!==l||t[r]!==n[l])return!0}return!1}(n,e);l=l||o,l&&(o&&(e?(e[hn]=n[hn],e[dn]=n[dn]):n&&(ls(r,C,n),e=n)),ls(r,u,i),r[0]&=-33,t.q(6,r,i,e))}!function(t,n){const e=Array.isArray(t)?t:[t],r=t=>new Be(hr,nn,null,[],0,t),o=[];if(n){const t=is(n);for(let n=0;n<t.length;n+=2){const e=t[n];if(Qn(e)){const t=e;o.push(t),o.push(r(t))}}}if(0!==o.length||null!=t){for(let t=0;t<e.length;t++){const n=e[t],s=String(Ge(n)&&tr(n,f)||""),l=nr(o,s,0);let i;l>=0?i=o[l+1]:o.splice(~l,0,s,i=r(s)),!1===n||i.children.push(n)}for(let t=o.length-2;t>=0;t-=2)o.splice(t,1);q(o,!0)}}(s.children,r)}else{const e=s.key,l=e===fr(r),f=ar(r,t.bt);if(l?null!=f&&(z(),r=d):(d=T(null,e),d?ko(o,c,d,h):z(),r=d),r){let e=r;for(;e&&(!ro(e)||null===ss(e,u,null));)e=us(e);const o=we(t,r,e||t.rootVNode,n,s.props);i.push(o,r)}}}function V(n,e,r){n&&de(t,n),ko(o,c,d=Kr(),h&&O());const s=w;t.setHostProp(d,u,e),t.setHostProp(d,C,r),t.setHostProp(d,I,s.key)}function z(){ko(o,c,d=Kr(),h&&O());const t=w;ls(d,C,t.props),t.key&&ls(d,I,t.key)}function Q(n){if(null!==h&&3===$s(h))return n!==Po(h)?void Oo(o,h,n):void 0;ko(o,c,d=Xr(t.document.createTextNode(n),n),h)}};function fr(t){return null==t?null:ss(t,I,null)}function ar(t,n){if(null==t)return null;const e=ss(t,u,n);return e?e.B:null}function hr(){}function dr(t){return!t||0===Object.keys(t).length}function $r(t,n){for(let e=n.length-1;e>=0;e--){const r=t.indexOf(n[e]);-1!==r&&t.splice(r,1)}return t}function pr(t,n){let e=n;if(eo(n))return void wr(e);let r=null;for(;;){const o=e[0];if(3&o){if(de(t,e),wr(e),2&o){const n=t.getHostProp(e,E);if(n)for(let e=0;e<n.length;e++){const r=n[e];if(Me(r)){const n=r;de(t,n),1&n.v?t.q(48,n):Ce(n)}}}if(2&o&&null!==ss(e,u,null)){const n=is(e);for(let e=0;e<n.length;e+=2)if(Qn(n[e])){const r=n[e+1];if(r){n[e+1]=null;const o="string"==typeof r?po(t.rootVNode,r):r;let s=No(o);for(;s;)pr(t,s),s=ts(s);yr(t.$t,o)}}}if(oo(e)){if(e===n){const t=No(e);if(t)return void fo(t)}}else{const t=No(e);if(t){e=t;continue}}}else 4&o&&wr(e);if(e===n)return;const s=ts(e);if(s)e=s;else{for(r=us(e);r;){if(r===n)return;const t=ts(r);if(t){e=t;break}r=us(r)}if(null==r)return}}}function yr(t,n){const e=us(n);e&&1&e[0]&&"q:template"===Ao(e)&&jo(t,e,n,!0)}function wr(t){t[0]|=32}const br=":",mr=(t,n)=>{const{val:e,set:r,i:o,iCtx:s}=Ft();if(null!=e)return e;const l=s.u,i=vr(l,n),u=new Ee(12,o,s.k,t,i,null);return l.q(3,u),r(i),i},gr=t=>Fe(Ye,null,null,function(t){const n=t.value;if(Sr(n)){{const e=n._state;if("pending"===e&&t.onPending)return Promise.resolve().then(xt(t.onPending));if("rejected"===e&&t.onRejected)return Promise.resolve(n._error).then(xt(t.onRejected));{const e=Pt(()=>n._resolved);if(void 0!==e)return Promise.resolve(e).then(xt(t.onResolved))}}const e=n.value;return e?e.then(xt(t.onResolved),xt(t.onRejected)):Promise.resolve(void 0)}return G(n)?n.then(xt(t.onResolved),xt(t.onRejected)):Ur(n)?Promise.resolve(n.value).then(xt(t.onResolved),xt(t.onRejected)):Promise.resolve(n).then(xt(t.onResolved),xt(t.onRejected))}(t),0,null),vr=(t,n,e)=>{const r=(t=>({__brand:"resource",value:void 0,loading:!0,_resolved:void 0,_error:void 0,_state:"pending",_timeout:t?.timeout??-1,_cache:0}))(n);return r.value=e,Sn(t,r,1)},Sr=t=>et(t)&&"resource"===(mn(t)||t).__brand,kr=(t,n,e)=>{t.v&=-9,Ce(t);const r=At(n.t,e,void 0,"qResource");r.u=n;const o=t.T.getFn(r,()=>de(n,t)),s=t.ct,l=An(t,n),[i,u]=Pn(t,t=>n.handleError(t,e)),c=gn(s),f={track:l,cleanup:i,cache(t){let n=0;n="immutable"===t?1/0:t,s._cache=n},previous:c._resolved};let a,h,d=!1;const $=(t,n)=>!d&&(d=!0,t?(d=!0,s.loading=!1,s._state="resolved",s._resolved=n,s._error=void 0,a(n)):(d=!0,s.loading=!1,s._state="rejected",s._error=n,h(n)),!0);u.push(()=>{if(!0===Pt(()=>s.loading)){const t=Pt(()=>s._resolved);$(!0,t)}}),Rt(r,()=>{s._state="pending",s.loading=!0,(s.value=new Promise((t,n)=>{a=t,h=n})).catch(xr)});const p=Y(()=>Promise.resolve(o(f)),t=>{$(!0,t)},r=>{if(G(r))return r.then(()=>kr(t,n,e));$(!1,r)}),y=c._timeout;return y>0?Promise.race([p,Z(y).then(()=>{$(!1,new Error("timeout"))&&Ce(t)})]):p},xr=()=>{},Rr=[],jr=[],qr=[],Ar=[],Pr=t=>t.gt||=new Promise(n=>{t.vt=n}),Or=(t,n,e)=>{const r=[],o=[];let s=null,l=!1;return function e(o,s=null,i=null,c=null){const a=!Lr(t),h=255!==o&&!(a&&6===o)&&2!==o,d=3===o||32===o||48===o;if(a&&(16===o||4===o||5===o||1===o||7===o))return;d&&(s.v|=8);let $={St:o,kt:d?s.it:"string"==typeof i?i:0,xt:d?s.ut:s,Rt:i,jt:d?s:c,vt:null,gt:null,qt:null,At:!1};return $=function(t,n,e){const r=function(t,n,e){let r=0,o=t.length;for(;r<o;){const s=r+(o-r>>1),l=f(n,t[s],e);if(l<0)o=s;else{if(!(l>0))return s;r=s+1}}return~r}(t,n,e);if(r<0)return t.splice(~r,0,n),n;const o=t[r];return o.jt!==n.jt&&(o.jt=n.jt),o.At&&(o.At=!1),o}(r,$,t.rootVNode||null),!l&&h&&(l=!0,e(16),n()?.catch?.(()=>{})),h?Pr($):u($,a)};function u(n,e){let o=5e3;for(;r.length;){if(o--<0)throw new Error("drainUpTo: max retries reached");if(s)return Pr(s).then(()=>u(n,e)).catch(n=>{t.handleError(n,s?.xt)});const l=r[0];if(l.At){if(r.shift(),l===n)break}else Ir(l)&&48!==l.St?r.shift():c(l,e)}return n.qt}function c(n,r){const i=n.xt;s=n;let u=null;try{switch(n.St){case 255:r&&(l=!1);break;case 16:u=e(),l=!1;break;case 6:u=Y(()=>we(t,i,i,n.Rt,n.jt),n=>{if(r)return n;{const e=t.getHostProp(i,y);return tt(()=>cr(t,n,i,se(e)))}},n=>t.handleError(n,i));break;case 2:{const e=n.Rt.getFn(),r=tt(()=>e(...n.jt));if(G(r)){const e=r.finally(()=>{o.splice(o.indexOf(e),1)}).catch(e=>{t.handleError(e,n.xt)});return o.push(e),n.qt=e,n.vt?.(e),s=null,void(n.At=!0)}u=null}break;case 3:case 32:{const e=n.jt;if(4&e.v){const n=kr(e,t,i);u=r?n:null}else u=Ie(e,t,i)}break;case 48:Ce(n.jt);break;case 4:{const e=n.Rt;let r=n.jt;Ur(r)&&(r=r.value),u=tt(()=>cr(t,r,e,null))}break;case 5:{const e=n.xt,r=n.jt;let o=r.Pt;Ur(o)&&(o=o.value);const s=r.wt,l=t.$t,i=n.kt,u=fe(i,o,r.yt);s?l.push(2,e[6],i,u):rs(l,e,i,u)}break;case 1:{const t=n.Rt;u=t.resolved?null:t.resolve()}break;case 7:{const e=n.Rt,r=n.jt,o=At();if(o.u=t,e instanceof yn||e instanceof bt){const n=e.R;if(e.R=!1,!r?.size)break;u=X(tt(()=>Rt.call(e,o,e.O)),o=>{if(o||n)return tt(()=>Qr(t,e,r))})}else u=tt(()=>Qr(t,e,r))}}}catch(t){u=Promise.reject(t)}const c=(e,r)=>{s=null,n.At=!0,r?t.handleError(r,i):(n.qt=e,n.vt?.(e))};G(u)?(n.gt=u.then(c,t=>c(void 0,t)),n.vt?.(n.gt),n.vt=void 0):c(u)}function f(t,n,e){const r=(240&t.St)-(240&n.St);if(0!==r)return r;const o=t.xt,l=n.xt;if(o!==l&&null!==o&&null!==l)if(Zr(o)&&Zr(l)){const t=((t,n,e)=>{if(t===n)return 0;let r=-1,o=-1;for(;t;)t=(Rr[++r]=t)[1]||e&&ss(t,a,t=>po(e,t));for(;n;)n=(jr[++o]=n)[1]||e&&ss(n,a,t=>po(e,t));for(;r>=0&&o>=0;){if((t=Rr[r])!==(n=jr[o])){let r=n;do{if(r=ts(r),r===t)return 1}while(r);r=n;do{if(r=ns(r),r===t)return-1}while(r);return e&&ss(n,a,t=>po(e,t))?-1:1}r--,o--}return r<o?-1:1})(o,l,e);if(0!==t)return t}else{Zr(o),Zr(l),o.toString();const t=((t,n)=>{if(t===n)return 0;let e=-1,r=-1;for(;t;)t=(qr[++e]=t).parentSsrNode;for(;n;)n=(Ar[++r]=n).parentSsrNode;for(;e>=0&&r>=0;){if((t=qr[e])!==(n=Ar[r]))return 1;e--,r--}return e<r?-1:1})(o,l);if(0!==t)return t}const u=(15&t.St)-(15&n.St);if(0!==u)return u;const c=Nr(t.kt)-Nr(n.kt);return 0!==c?c:t.Rt!==n.Rt?i(t.Rt)&&i(n.Rt)&&t.Rt.B===n.Rt.B?0:1:n===s?1:0}},Nr=t=>"number"==typeof t?t:-1;function Ir(t){return!!(t.xt&&Zr(t.xt)&&32&t.xt[0])}class Cr{Ot;q;J;t;bt;Nt;It=0;Ct=null;Et=null;constructor(t,n,e,r){this.Nt=e,this.t=r,this.Ot=Zt,this.J=new WeakMap,this.bt=()=>{throw Error("Not implemented")},this.q=Or(this,t,n)}trackSignalValue(t,n,e,r){return It(t,n,e,this,r)}serializationCtxFactory(t,n,e,r){return Ns(t,n,e,this.getHostProp.bind(this),this.setHostProp.bind(this),this.J,r)}}const Er=124;function Mr(t){const n=Fr(t);if(!n)throw s(24);return _r(n)}function _r(t){let n=t.qContainer;return n||(n=new Tr(t)),n}function Fr(t){return(Array.isArray(t)?xo(t):t).closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}const Lr=t=>t instanceof Tr;class Tr extends Cr{element;qContainer;qManifestHash;rootVNode;document;$t;renderDone=null;Mt;J=new WeakMap;_t;Ct;Ft=null;Lt=null;vNodeLocate=t=>po(this.rootVNode,t);Tt;Wt=null;Ut=0;constructor(t){if(super(()=>this.scheduleRender(),()=>So(this.$t),{},t.getAttribute("q:locale")),this.qContainer=t.getAttribute(j),!this.qContainer)throw s(25);this.$t=[3,t.ownerDocument],this.document=t.ownerDocument,this.element=t,this.Et=t.getAttribute(g),this.Ct=t.getAttribute(v),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=Yr(this.element),this.Mt=[],this.Tt=[];const n=this.element.ownerDocument;n.qVNodeData||function(t){const n="q:container",e="/"+n,r="q:ignore",o="/"+r,s="q:container-island",l="/"+s,i=t.qVNodeData||(t.qVNodeData=new WeakMap),u=t.body,c=u.getAttribute,f=u.hasAttribute,a=((t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}})(u,"nodeType"),h=t=>{Array.from(t.querySelectorAll('script[type="qwik/vnode"]')).forEach(t=>{t.setAttribute("type","x-qwik/vnode");const n=t.closest("[q\\:container]");n.qVnodeData=t.textContent,n.qVNodeRefs=new Map}),t.querySelectorAll("[q\\:shadowroot]").forEach(t=>{const n=t.shadowRoot;n&&h(n)})};h(t);const d=t=>{const i=a.call(t);if(1===i)return null===c.call(t,n)?f.call(t,"q:shadowroot")?6:f.call(t,":")?2:0:3;if(8===i){const i=t.nodeValue||"";if(i.startsWith(s))return 65;if(i.startsWith(r))return 16;if(i.startsWith(n))return 5;if(i.startsWith(l))return 128;if(i.startsWith(o))return 32;if(i.startsWith(e))return 8}return 0},$=t=>33<=t&&t<=46,p=(t,n,e)=>{let r=0;for(;n<e;){const e=t.charCodeAt(n);if(0===r&&$(e))break;123===e?r++:125===e&&r--,n++}return n},y=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},w=t=>{for(;t&&(t=t.firstChild)&&0===d(t););return t},b=(n,e,r,o,s,l)=>{const u=s.length;let c=0,f=-1,a=0,h=0,m=0,g=-1,v=null;const S=()=>{let t=0;for(;$(m=s.charCodeAt(a))&&(t+=1<<m-33,a++,!(a>=u)););return t};do{if(r===o)return;v=null;const $=r==e?2:d(r);if(3===$){const t=r;let e=r;for(;e&&!(v=y(e));)e=e.parentNode;b(n,t,r,v,t.qVnodeData||"",t.qVNodeRefs)}else if(16===$){let t=r;do{if(t=n.nextNode(),!t)throw new Error(`Island inside \x3c!--${r?.nodeValue}--\x3e not found!`)}while(65!==d(t));v=null}else if(128===$){v=r;do{if(v=n.nextNode(),!v)throw new Error("Ignore block not closed!")}while(32!==d(v));v=null}else if(5===$){v=r;do{if(v=y(v),!v)throw new Error(`\x3c!--${r?.nodeValue}--\x3e not closed!`)}while(8!==d(v));b(n,r,r,v,"",null)}else if(6===$){v=y(r);const n=r,e=n?.shadowRoot;e&&b(t.createTreeWalker(e,129),null,w(e),null,"",null)}if(!(2&~$)){if(f<c&&(-1===f&&(f=0),a=h,a<u?(f+=S(),126===m&&(g=f,a++,m=a<u?s.charCodeAt(h):33),h=p(s,a,u)):f=Number.MAX_SAFE_INTEGER),c===f){g===c&&l.set(c,r);const t=s.substring(a,h);i.set(r,t)}c++}}while(r=v||n.nextNode())},m=t.createTreeWalker(t,129);b(m,null,m.firstChild(),null,"",null)}(n),this._t=m(n,this.Ct)||tn,this.Dt(),t.setAttribute(j,"resumed"),t.qContainer=this;const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.Mt=JSON.parse(e[e.length-1].textContent),Vs(this.Mt,this),this.Tt=gs(this,this.Mt),this.Vt())}zt(t,n){this.Tt[t]=n}parseQRL(t){return Ps(this,As(t))}handleError(t,n){const e=n&&this.resolveContext(n,Kt);if(!e)throw t;e.error=t}setContext(t,n,e){let r=this.getHostProp(t,w);r||this.setHostProp(t,w,r=[]),er(r,n.id,e,0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,w);if(e){const t=rr(e,n.id,0);if(t)return t}t=this.getParentHost(t)}}getParentHost(t){let n=us(t);for(;n;)if(ro(n)){if(null!==ss(n,u,null))return n;n=us(n)||ss(n,a,this.vNodeLocate)}else n=us(n);return null}setHostProp(t,n,e){ls(t,n,e)}getHostProp(t,n){const e=t;let r=null;switch(n){case E:case C:case u:case w:case b:r=this.bt;break;case M:case F:r=parseInt}return ss(e,n,r)}scheduleRender(){return this.Ut++,this.renderDone||=B().nextTick(()=>this.processChores()),this.renderDone.finally(()=>dl("qrender",{instanceHash:this.Ct,renderCount:this.Ut}))}processChores(){let t=this.Ut;const n=this.q(255);if(G(n))return n.then(async()=>{for(;t!==this.Ut;)t=this.Ut,await this.q(255);this.renderDone=null});t===this.Ut?this.renderDone=null:this.processChores()}ensureProjectionResolved(t){if(!(16&t[0])){t[0]|=16;const n=is(t);for(let t=0;t<n.length;t+=2)if(Qn(n[t])){const e=n[t+1];"string"==typeof e&&(n[t+1]=this.vNodeLocate(e))}}}bt=t=>Us(t,this.Tt);getSyncFn(t){return this._t[t]}Qt(t,n,e,r){if(r){const t=this.getHostProp(e,y),r=new Set(function(t){return t?.split(" ")??null}(t));r.add(n),this.setHostProp(e,y,function(t){return Array.from(t).join(" ")}(r))}if(null==this.Wt&&(this.Wt=new Set,this.element.querySelectorAll($).forEach(t=>{this.Wt.add(t.getAttribute(d))})),!this.Wt.has(n)){this.Wt.add(n);const e=this.document.createElement("style");e.setAttribute(d,n),e.textContent=t,this.$t.push(5,this.document.head,null,e)}}Dt(){const t={},n=this.element.attributes;if(n)for(let e=0;e<n.length;e++){const r=n[e];r.name!==W&&(t[r.name]=r.value)}this.Nt={containerAttributes:t}}Vt(){if(this.Lt){for(const t of this.Lt)this.q(1,null,this.bt(t));this.Lt=null}}}const Wr=t=>{if(!t.resolved)throw t.resolve()},Ur=t=>t instanceof yt,Dr=(t,n)=>{t.add(n)},Vr=(t,n)=>{t[2]||=new Set,t[2].add(n)},zr=(t,n)=>{if(n&&!Lr(n)){const e=t[0],r=t[1];let o=null;Me(e)?o=e.T:e instanceof yn?o=e.D:":"===r&&(o=n.getHostProp(e,u)),o&&n.serializationCtx.lt.add(o)}},Qr=(t,n,e)=>{const r=Lr(t);if(e){const o=e=>{const o=e[0],s=e[1];if(Me(o)){o.v|=8;let n=3;1&o.v&&(n=32),t.q(n,o)}else if(o instanceof yt)o instanceof yn&&(o.D.resolved||t.q(1,null,o.D)),o.j();else if(":"===s){const n=o,e=t.getHostProp(n,u),r=t.getHostProp(n,C);t.q(6,n,e,r)}else if(r)if("."===s)t.q(4,o,o,n);else{const r=e[3];if(r instanceof Dn){const e={...r.data,Pt:n};t.q(5,o,s,e)}}};for(const t of e)o(t)}},Br=[];function Hr(t){if(null===t)return"null";if(void 0===t)return"undefined";if("string"==typeof t)return'"'+t+'"';if("number"==typeof t||"boolean"==typeof t)return String(t);if(Me(t))return`Task(${Hr(t.T)})`;if(i(t))return`Qrl(${t.rt})`;if("object"==typeof t||"function"==typeof t){if(Br.includes(t))return"*";try{if(Br.push(t),Array.isArray(t))return Zr(t)?"("+ss(t,te,null)+")":t.map(Hr);if(Ur(t))return t instanceof bt?"WrappedSignal":t instanceof yn?"ComputedSignal":"Signal";if(vn(t))return"Store";if(Ge(t))return Jr(t)}finally{Br.pop()}}return t}const Jr=t=>{if(Ge(t)){let n="<"+t.type;if(t.props){for(const[e,r]of Object.entries(t.props))n+=" "+e+"="+Hr(r);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=Jr(t)}):n+=Jr(e),n+="</"+t.type+">"):n+="/>"}return n}return String(t)},Gr=(t,n)=>{_o(t);const e=ws.createElement(-247,null,null,null,null,null,t,n);return to(e),eo(e),ro(e),t.vNode=new WeakRef(e),e},Yr=t=>{_o(t);const n=ws.createElement(-255,null,null,null,void 0,void 0,t,void 0);return to(n),eo(n),ro(n),t.vNode=new WeakRef(n),n},Xr=(t,n)=>{const e=ws.createText(-244,null,null,null,t,n);return _o(t),to(e),eo(e),ro(e),e},Kr=()=>{const t=ws.createVirtual(-254,null,null,null,null,null);return to(t),eo(t),ro(t),t},Zr=t=>t instanceof ws,to=t=>!(1&~t[0]),no=t=>!(1&~t[0])&&void 0!==t[4]&&void 0!==t[5],eo=t=>!(4&~t[0]),ro=t=>!(2&~t[0]),oo=t=>!(2&~t[0])&&null!==ss(t,f,null),so=t=>(eo(t),uo(t),t),lo=t=>{uo(t)},io=t=>(to(t),uo(t),t),uo=t=>{if(t)switch(7&t[0]){case 1:return"Element";case 2:return"Virtual";case 4:return"Text"}return"<unknown>"},co=t=>{if(1==(15&t[0])){const n=t;n[0]^=8;const e=n[6],r=e.attributes,o=is(n);for(let t=0;t<r.length;t++){const n=r[t],s=n.name;if(s===W||!s)break;s.startsWith(j)?"html"===n.value?er(o,U,e.innerHTML,0):"text"===n.value&&"value"in e&&er(o,"value",e.value,0):s.startsWith("on:")||er(o,s,n.value,0)}}};function fo(t){let n=t;if(eo(t))return;let e=null;for(;;){const r=No(n);if(r){n=r;continue}if(n===t)return;const o=ts(n);if(o)n=o;else{for(e=us(n);e;){if(e===t)return;const r=ts(e);if(r){n=r;break}e=us(e)}if(null==e)return}}}function ao(t,n,e=!1,r=[]){if((t=>!!(5&t[0]))(n))return eo(n)&&$o(t,n),r.push(e?n:cs(n)),r;let o=No(n);for(;o;)to(o)?r.push(e?o:cs(o)):eo(o)?($o(t,o),r.push(e?o:cs(o))):ao(t,o,!!e,r),o=ts(o);return r}const ho=(t,n,e)=>{const r=n?4:5,o=n?3:2;let s=t;for(;e&&s&&ro(s);){const t=s[r];if(!t)break;if(5&t[0])return t;s=t}for(;s;){let t=s[o];if(t&&5&t[0])return t;if(!t){let n=s[1];if(n&&!ro(n))return null;for(;n&&!(t=n[o]);)if(n=n[1],n&&!ro(n))return null;if(!t)return null;if(eo(t)&&n&&to(n))return null}for(;t;){if(s=t,5&s[0]&&cs(s))return s;t=s[r]}}return null},$o=(t,n)=>{const e=so(n);if(!(8&e[0])){const r=xo(n),o=e[4],s=r.ownerDocument;let l=ho(n,!1,!0);const i=o||ho(n,!0,!0)?.[6]||null;let u=i;for(;l&&eo(l);){if(!(8&l[0])){const n=s.createTextNode(l[5]);t.push(5,r,u,n),u=n,l[4]=n,l[0]|=8}l=ho(l,!1,!0)}for(l=n;l&&eo(l);){const n=ho(l,!0,!0),e=!n||!eo(n);if(!(8&l[0])){if(e&&o)t.push(1,o,l[5]);else{const n=s.createTextNode(l[5]);t.push(5,r,i,n),l[4]=n}l[0]|=8}l=n}}},po=(t,n)=>{io(t);let e=t;const r=t[6],{qVNodeRefs:o}=r;let s,l=-1;if("string"==typeof n)l=parseInt(n),s=o.get(l);else{s=n;const t=s.vNode?.deref();if(t)return t}if(Zr(s))e=s;else{r.contains(s);let t=s;const n=[s];for(;t&&t!==r;)t=t.parentElement,n.push(t);for(let t=n.length-2;t>=0;t--)e=bo(e,n[t]);-1!=l&&o.set(l,e)}if("string"==typeof n){const t=n.length;let r=mo(n,t),o=0;for(;r<t;){const t=n.charCodeAt(r);o*=26,t>=97?o+=t-97:(o+=t-65,e=yo(e,o),o=0),r++}}return e},yo=(t,n)=>{let e=No(t);for(;e[0]>>>8!==n;)e=ts(e),lt();return e},wo=[],bo=(t,n)=>{io(t);let e=No(t);for(;e&&e[6]!==n;){if(ro(e)){const t=ts(e),n=No(e);n?(t&&wo.push(t),e=n):e=t||(wo.length?wo.pop():null)}else{const t=ts(e);e=t||t||wo.pop()}lt()}for(;wo.length;)wo.pop();return io(e),e},mo=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},go=t=>"false"!==t&&Boolean(t),vo=(t,n)=>("allowfullscreen"==n||"async"==n||"autofocus"==n||"autoplay"==n||"checked"==n||"controls"==n||"default"==n||"defer"==n||"disabled"==n||"formnovalidate"==n||"inert"==n||"ismap"==n||"itemscope"==n||"loop"==n||"multiple"==n||"muted"==n||"nomodule"==n||"novalidate"==n||"open"==n||"playsinline"==n||"readonly"==n||"required"==n||"reversed"==n||"selected"==n)&&n in t,So=t=>{let n=0;const e=t.length;for(;n<e;)switch(t[n++]){case 1:t[n++].nodeValue=t[n++];break;case 2:const r=t[n++];let o=t[n++];"className"===o&&(o="class");const s=t[n++];vo(r,o)?r[o]=go(s):"value"===o&&o in r?r.value=String(s):o===U?(r.innerHTML=s,r.setAttribute(j,"html")):null==s||!1===s?r.removeAttribute(o):r.setAttribute(o,String(s));break;case 3:const l=t[n++],i=l.head,u=l.querySelectorAll(p);for(let t=0;t<u.length;t++)i.appendChild(u[t]);break;case 4:const c=t[n++];let f;for(;n<e&&"number"!=typeof(f=t[n]);)c.removeChild(f),n++;break;case 5:const a=t[n++],h=t[n++];let d;for(;n<e&&"number"!=typeof(d=t[n]);)a.insertBefore(d,h),n++}t.length=0},ko=(t,n,e,r)=>{lo(n),to(n)&&Io(n);const o=e[1];if(e===r){if(o)return;r=null}const s=Ro(n),l=s&&s[6];let i=null;s&&(i=function(t,n,e){const{elementNamespace:r,elementNamespaceFlag:o}=ir(n,e);let s=[];if(r===A)s=ao(t,e);else{const l=ao(t,e,!0);for(let t=0;t<l.length;t++){const e=l[t];if(eo(e)){s.push(e[4]);continue}if((192&e[0])==(192&n[0])){s.push(e[6]);continue}const i=lr(e,n,r,o);i&&s.push(i)}}return s}(t,s,e)),o&&(e[2]||e[3]||o!==n)&&jo(t,o,e,!1);let u=null;null==r?ro(n)&&(u=ho(n,!0,!1)):u=ro(r)?ho(r,!0,!0):r,u&&((t,n)=>{eo(n)&&$o(t,n)})(t,u),i&&i.length&&t.push(5,l,cs(u),...i);const c=r,f=c?c[2]:n[5];c?c[2]=e:n[5]=e,f?f[3]=e:n[4]=e,e[2]=f,e[3]=c,e[1]=n},xo=t=>(t=Ro(t))&&t[6],Ro=t=>{for(;t&&!to(t);)t=t[1];return t},jo=(t,n,e,r)=>{if(us(e),eo(e)&&$o(t,e),r){const r=xo(n);if(os(n,U))return;const o=ao(t,e);r&&o.length&&t.push(4,r,...o)}const o=e[2],s=e[3];o?o[3]=s:n[4]=s,s?s[2]=o:n[5]=o,e[2]=null,e[3]=null},qo=(t,n,e)=>{const r=xo(n),o=ao(t,e);r&&o.length&&t.push(4,r,...o);const s=e[2];s?s[3]=null:n[4]=null,n[5]=s},Ao=t=>{const n=io(t);let e=n[7];if(void 0===e){const t=n[6],r=Jo(t).toLowerCase();e=n[7]=r,n[0]|=(t=>{switch(Bo(t)){case P:return 64;case O:return 128;default:return 0}})(t)}return e},Po=t=>{const n=so(t);let e=n[5];return void 0===e&&(e=n[5]=n[4].nodeValue),e},Oo=(t,n,e)=>{$o(t,n),t.push(1,n[4],n[5]=e)},No=t=>{if(eo(t))return null;let n=t[4];return void 0===n&&(n=Io(t)),n},Io=t=>{const n=io(t);let e=n[4];return void 0===e&&(e=n[1]&&Eo(n[6])?n[4]=n[5]=null:(t=>{const n=t[6],e=zo(n),r=n.ownerDocument?.qVNodeData?.get(n);return((t,n,e,r)=>{if(r){if(r.charCodeAt(0)===Er){const n=1;let o=1;for(;r.charCodeAt(o)!==Er;)o++;const s=r.substring(n,o);r=r.substring(o+1);const l=Xo(t,e,s);if(!r)return l}return function(t,n,e,r){let o=0,l=null,i=null,c=null;const h=n=>{n[0]=255&n[0]|o<<8,o++,i&&(i[3]=n),n[2]=i,n[1]=t,l||(t[4]=l=n),i=n};let d=0,$=null,p=null;return Zo(n,(b,m,g,v,S)=>{if(as(b())){for(;!ps(r)||Yo(r);)if(!(r=To(r)))throw s(27,[n,b(),S]);$=null,c=null;let t=0;for(;as(b());)t*=10,t+=g()-48;for(;t--;)h(Yr(r)),r=To(r)}else if(59===b())rs(null,t,y,m());else if(60===b())rs(null,t,u,m());else if(61===b()){p||(p=Mr(e));const n=m();p.zt(parseInt(n),t)}else if(62===b())rs(null,t,C,m());else if(64===b()){let n;v(S+1)===Er?(g(),n=decodeURI(m()),g()):n=m(),rs(null,t,I,n)}else if(91===b())rs(null,t,E,m());else if(94===b())rs(null,t,M,m());else if(96===b())p||(p=Mr(e)),Ko(t,m(),p);else if(63===b())ls(t,a,m());else if(93===b())rs(null,t,w,m());else if(123===b())g(),h(Kr()),ds.push(t,l,i,c,o),o=0,t=i,l=i=null;else if(b()===Er){const n=m(),e=m();rs(null,t,n,e)}else if(125===b())g(),t[5]=i,o=ds.pop(),c=ds.pop(),i=ds.pop(),l=ds.pop(),t=ds.pop();else if(126===b())rs(null,t,f,m());else{for(;Yo(r);)r=To(r);const t=r&&3===_o(r)?r:null;null===$&&($=t?t.nodeValue:null,d=0);let n=0;for(;hs(b());)n+=g()-97,n*=26;n+=g()-65;const e=null===$?"":$.substring(d,d+n);h(c=((t,n,e)=>{n&&_o(n);const r=ws.createText(-252,null,t,null,n,e);return to(r),eo(r),ro(r),r})(c,t,e)),d+=n}}),t[5]=i,l}(t,r,n,e)}return Xo(t,e)})(t,n,e,r)})(n)),e};let Co=null;const Eo=t=>(Co||(Co=t.hasAttribute),Co.call(t,j));let Mo=null;const _o=t=>(Mo||(Mo=Go(t,"nodeType")),Mo.call(t)),Fo=t=>{const n=_o(t);return 3===n||1===n};let Lo=null;const To=t=>{for(Lo||(Lo=Go(t,"nextSibling")),Vo||(Vo=Go(t,"firstChild"));t;)if(null!==(t=Lo.call(t))){const n=_o(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(x))return Wo(t,S,Lo,Vo);if(t.nodeValue?.startsWith(k))return Wo(t,R,Lo,Vo);if(n?.startsWith(j))for(;t&&(t=Lo.call(t))&&(8!==_o(t)||!t.nodeValue?.startsWith(q)););}}return t};function Wo(t,n,e,r){for(;t;){if(t.nodeValue?.startsWith(n))return e.call(t)||null;let o=r.call(t);o||(o=e.call(t)),o||(o=Do(t),o&&(o=e.call(o))),t=o}return null}let Uo=null;const Do=t=>(Uo||(Uo=Go(t,"parentNode")),Uo.call(t));let Vo=null;const zo=t=>{for(Vo||(Vo=Go(t,"firstChild")),t=t&&Vo.call(t);t&&!Fo(t);)t=To(t);return t};let Qo=null;const Bo=t=>(Qo||(Qo=Go(t,"namespaceURI")),Qo.call(t));let Ho=null;const Jo=t=>(Ho||(Ho=Go(t,"nodeName")),Ho.call(t)),Go=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},Yo=t=>ps(t)&&"STYLE"===t.nodeName&&(t.hasAttribute(y)||t.hasAttribute(d)),Xo=(t,n,e)=>{let r=null;const o=()=>{for(;Yo(s);)s=To(s)};let s=n;o();let l=null;for(;s;){const n=_o(s);let e=null;3===n?e=Xr(s,s.textContent??void 0):1===n&&(e=Yr(s)),e&&(e[1]=t,l&&(l[3]=e),e[2]=l,l=e),r||(t[4]=r=l),s=To(s),o()}if(t[5]=l||null,t[4]=r,e){let n=null;Zo(e,(e,r)=>{if(61===e()){n||(n=Mr(t[6]));const e=r();n.zt(parseInt(e),t)}else 96===e()?(n||(n=Mr(t[6])),Ko(t,r(),n)):r()})}return r};function Ko(t,n,e){const r=e.bt(n);t[ht]?((t,n)=>{for(const[e,r]of n)t.set(e,r)})(t[ht],r):Object.defineProperty(t,ht,{value:r})}const Zo=(t,n)=>{let e=0,r=0,o=0;const s=n=>n<t.length?t.charCodeAt(n):0,l=()=>0!==o?o:o=s(e),i=()=>(r=l(),o=0,e++,r),u=()=>{i();const n=e;for(;l()<=58&&0!==o||95===o||o>=65&&o<=90||o>=97&&o<=122;)i();return t.substring(n,e)};for(;0!==l();)n(l,u,i,s,e)},ts=t=>t[3],ns=t=>t[2],es=t=>{if(3&t[0]){co(t);const n=[],e=is(t);for(let t=0;t<e.length;t+=2){const r=e[t];r.startsWith(W)||n.push(r)}return n}return[]},rs=(t,n,e,r)=>{const o=n[0];if(3&o){co(n);const s=is(n),l=nr(s,e,0);l>=0?(s[l+1]!=r&&1&o&&t&&t.push(2,n[6],e,r),null==r?s.splice(l,2):s[l+1]=r):null!=r&&(s.splice(-1^l,0,e,r),1&o)&&t&&t.push(2,n[6],e,r)}},os=(t,n)=>{if(3&t[0]){co(t);const e=is(t);return rr(e,n,0)}return null},ss=(t,n,e)=>{const r=t[0];if(3&r){1&r&&co(t);const o=is(t),s=nr(o,n,0);if(s>=0){let t=o[s+1];return"string"==typeof t&&e&&(o[s+1]=t=e(t)),t}}return null},ls=(t,n,e)=>{lo(t);const r=is(t),o=nr(r,n,0);o>=0?r[o+1]=e:null!=e&&r.splice(-1^o,0,n,e)},is=t=>t[(t=>{const n=7&t[0];if(1===n)return 8;if(2===n)return 6;throw s(26,[n])})(t)],us=t=>t[1]||null,cs=t=>null===t||ro(t)?null:to(t)?t[6]:(eo(t),t[4]);function fs(t=20,n="",e=!1,r=!1,o=!0){let s=this;if(0===t)return"...";if(null===s)return"null";if(void 0===s)return"undefined";const l=[];do{if(eo(s))l.push(Hr(Po(s)));else if(ro(s)){const e=["["+String(s[0]>>>8)+"]"];es(s).forEach(t=>{if(t!==te){const n=os(s,t);e.push(" "+t+"="+Hr(n))}});const r=(o?"[34m":"")+(ne[os(s,te)||"V"]||ne.V)+(o?"[0m":"");l.push("<"+r+e.join("")+">");const i=No(s);i&&l.push(" "+fs.call(i,t-1,n+" ",!0,!0,o)),l.push("</"+r+">")}else if(to(s)){const r=Ao(s),i=[],u=es(s);u.forEach(t=>{const n=os(s,t);i.push(" "+t+"="+Hr(n))});const c=cs(s);if(c){const t=c.ownerDocument.qVNodeData?.get(c);t&&i.push(" q:vnodeData="+Hr(t))}const f=c.attributes;for(let t=0;t<f.length;t++){const n=f[t];-1===u.indexOf(n.name)&&i.push(" "+n.name+(n.value?"="+Hr(n.value):""))}if(l.push("<"+r+i.join("")+">"),no(s)||e){const e=No(s);e&&l.push(" "+fs.call(e,t-1,n+" ",!0,!0,o))}else l.push(" \x3c!-- not materialized --!>");l.push("</"+r+">")}s=r&&ts(s)||null}while(s);return l.join("\n"+n)}const as=t=>48<=t&&t<=57,hs=t=>97<=t&&t<=122,ds=[],$s=t=>{const n=t[0];if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw s(26,[n])},ps=t=>t&&"object"==typeof t&&1===_o(t),ys=(t,n)=>{let e=1;for(;e--;){for(;t&&(!ro(t)||null===ss(t,u,null));){const r=ss(t,a,t=>po(n,t)),o=ro(t)&&r;o&&e++,t=o||us(t)}e>0&&(t=us(t))}return t},ws=class t extends Array{static createElement(n,e,r,o,s,l,i,u){return new t(n,e,r,o,s,l,i,u,[])}static createText(n,e,r,o,s,l){return new t(n,e,r,o,s,l)}static createVirtual(n,e,r,o,s,l){return new t(n,e,r,o,s,l,[])}constructor(t,n,e,r,...o){super(t,n,e,r,...o)}},bs=new WeakMap,ms=Symbol("UNWRAP"),gs=(t,n)=>{if(!Array.isArray(n)||Zr(n)||"object"==typeof(e=n)&&null!==e&&ms in e)return n;var e;let r=bs.get(n);if(!r){const e=Array(n.length/2).fill(void 0);r=new Proxy(e,new vs(t,n)),bs.set(n,r)}return r};class vs{u;Bt;Ht;constructor(t,n){this.u=t,this.Bt=n,this.Ht=this.Bt.length/2}get(t,n,e){if(n===ms)return t;const r="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(r)||r<0||r>=this.Ht)return Reflect.get(t,n,e);const o=2*r,s=this.Bt[o],l=this.Bt[o+1];if(void 0===s)return l;const i=this.u;let u=js(i,s,l);return s>=14&&(u=ks(i,u,s,l)),Reflect.set(t,n,u),this.Bt[o]=void 0,this.Bt[o+1]=u,u}has(t,n){return n===ms||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,r){if(n===ms)return!1;const o=Reflect.set(t,n,e,r),s="number"==typeof n?n:parseInt(n,10);if(Number.isNaN(s)||s<0||s>=this.Bt.length/2)return o;const l=2*s;return this.Bt[l]=void 0,this.Bt[l+1]=e,!0}}const Ss=new WeakMap,ks=(t,n,e,r)=>{if(void 0===e)return n;switch(15!==e&&Array.isArray(r)&&(r=((t,n)=>{const e=Array(n.length/2);for(let r=0;r<n.length;r+=2)e[r/2]=Ws(t,n[r],n[r+1]);return e})(t,r)),e){case 15:for(let e=0;e<r.length;e+=4){const o=Ws(t,r[e],r[e+1]),s=r[e+2],l=r[e+3];0===s||s>=14?Object.defineProperty(n,o,{get(){const e=Ws(t,s,l);return n[o]=e,e},set(t){Object.defineProperty(n,o,{value:t,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0}):n[o]=Ws(t,s,l)}break;case 20:case 21:Ps(t,n);break;case 22:const o=n,l=r;o.T=Ps(t,l[0]),o.v=l[1],o.it=l[2],o.ut=l[3],o[ht]=l[4],o.ct=l[5];break;case 23:const[i,u,c]=r,f=n;i?(f.value=Promise.resolve(u),f._resolved=u,f._state="resolved"):(f.value=Promise.reject(u),f._error=u,f._state="rejected"),bn(n).l=c;break;case 24:n[Sl][0]=r[0];break;case 30:case 31:{const[e,o,s]=r,l=kn(e,o,t);bn(l).l=s,n=l;break}case 25:{const t=n,e=r;t.o=e[0],t.l=new Set(e.slice(1));break}case 26:{const e=n,o=r;e.p=t.getSyncFn(o[0]),e.$=o[1],e[ht]=o[2],e.o=at,e.v=o[3],e.v|=1,e.k=o[4],e.l=new Set(o.slice(5));break}case 28:{const t=n,e=r;t.D=e[0],t.l=new Set(e[1]),t.K=new Set(e[2]),t.Z=new Set(e[3]),t.Y=e[4],t.X=e[5],e.length>6?t.o=e[6]:t.v|=1;break}case 29:case 27:{const o=n,s=r;o.D=s[0],o.l=new Set(s[1]),s.length>2?(o.o=s[2],29===e&&(o.v|=1)):(o.v|=1,o.D.resolve(),t.q?.(1,null,o.D));break}case 14:{const t=r;n.message=t[0];for(let e=1;e<t.length;e+=2)n[t[e]]=t[e+1];break}case 32:{const t=n,e=r;for(let n=0;n<e.length;n++)t.append(e[n++],e[n]);break}case 33:{const t=n,[e,o,s,l,i,u]=r;t.type=e,t.varProps=o,t.constProps=s,t.children=l,t.flags=i,t.key=u;break}case 17:{const t=n,e=r;for(let n=0;n<e.length;n++)t.add(e[n]);break}case 18:{const t=n,e=r;for(let n=0;n<e.length;n++)t.set(e[n++],e[n]);break}case 16:{const t=n,[e,o]=r,[s,l]=Ss.get(t);e?s(o):l(o);break}case 19:const a=n,h=atob(r);let d=0;for(const t of h)a[d++]=t.charCodeAt(0);break;case 34:const $=n;$[dn]=0===r?{}:r[0],$[hn]=r[1];break;case 35:{const t=n;t.data.yt=r[0],t.data.wt=r[1];break}default:throw s(16,[e])}return n},xs=[void 0,null,!0,!1,"",tn,nn,at,pt,Hn,Ye,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],Rs=["undefined","null","true","false","''","EMPTY_ARRAY","EMPTY_OBJ","NEEDS_COMPUTATION","STORE_ALL_PROPS","Slot","Fragment","NaN","Infinity","-Infinity","MAX_SAFE_INTEGER","MAX_SAFE_INTEGER-1","MIN_SAFE_INTEGER"],js=(t,n,e)=>{if(void 0===e)return n;switch(n){case 0:return t.bt(e);case 1:if(!t.Ft)throw s(18,["forward ref"]);return t.bt(t.Ft[e]);case 2:case 4:case 5:return e;case 3:return xs[e];case 6:return gs(t,e);case 15:return{};case 20:case 21:return As("number"==typeof e?t.bt(e):e);case 22:return new Ee(-1,-1,null,null,null,null);case 23:{const n=vr(t,void 0,void 0);return n.loading=!1,n}case 7:return new URL(e);case 8:return new Date(e);case 9:const r=e.lastIndexOf("/");return new RegExp(e.slice(1,r),e.slice(r+1));case 14:return new Error;case 24:return vl(null);case 25:return new yt(t,0);case 26:return new bt(t,null,null,null);case 27:return new yn(t,null);case 28:return new On(t,null);case 29:return new wn(t,null);case 30:case 31:return null;case 13:return new URLSearchParams(e);case 32:return new FormData;case 33:return new Be(null,null,null,null,-1,null);case 12:return BigInt(e);case 17:return new Set;case 18:return new Map;case 16:let o,l;const i=new Promise((t,n)=>{o=t,l=n});return Ss.set(i,[o,l]),i.catch(()=>{}),i;case 19:const u=e.length,c=3&u;return new Uint8Array(3*(u>>>2)+(c?c-1:0));case 34:return Ke(null,null);case 10:return qs(t,e);case 11:const f=qs(t,e);if(Zr(f))return cs(f);throw s(17,[typeof f]);case 35:return new Dn({});default:throw s(18,[n])}};function qs(t,n){return n?t.rootVNode?po(t.rootVNode,n):void 0:t.element?.ownerDocument}function As(t){const n=t.indexOf("#"),e=t.indexOf("[",n),r=t.indexOf("]",e),o=t.slice(0,n>-1?n:e),s=e>-1?t.slice(n+1,e):t.slice(n+1),l=e>-1&&r>-1?t.slice(e+1,r).split(" ").filter(t=>t.length).map(t=>parseInt(t,10)):null;let i=null;return o===Bs&&(i=globalThis.__qrl_back_channel__.get(s)),fl(o,s,i,null,l,null)}function Ps(t,n){const e=n.ot;return n.U=e?e.map(n=>t.bt(n)):null,t.element&&n.W(t.element),n}let Os=()=>!1;const Ns=(t,n,e,r,o,l,u)=>{if(!u){const t=[];u={write:n=>t.push(n),toString:()=>t.join("")}}const c=new Map,f=new Map,a=new Map,h=[],d=[],$=t=>{const n=f.get(t);if(n)return n;const e=c.get(t);if(!e)throw s(19,[t]);const r=[];let o=e;for(;o&&o.it>=0&&(r.unshift(o.it),"object"==typeof o.Jt&&null!==o.Jt);)o=c.get(o.Jt);const l=r.length>1?r.join(" "):r.length?r[0]:e.it;return f.set(t,l),l},p=t?n=>n instanceof t:()=>!1;return Os=n?t=>t instanceof n:()=>!1,{async Gt(){return await async function(t){const{Yt:n,Xt:e,Kt:r,J:o,Zt:l,tn:u,nn:c}=t;let f=0;const a=[];let h=0;const d=new Set,$=new Set;let p=null;const y=(t,e)=>{n.write("[");let r=!1;for(let o=0;o<t.length;o++)r?n.write(","):r=!0,e(t[o],o);n.write("]")},w=(e,r)=>{if(n.write(`${e},`),"number"==typeof r)n.write(r.toString());else if("string"==typeof r){const t=JSON.stringify(r);let e=-1,o=0;for(;-1!==(e=t.indexOf("</",o));)n.write(t.slice(o,e)),n.write("<\\/"),o=e+2;n.write(0===o?t:t.slice(o))}else f++,y(r,(n,e)=>{!function(t,n,e,r){const{nn:o,en:s,Zt:l}=t;(function(t){return"object"==typeof t&&null!==t||"string"==typeof t&&t.length>1}(n)||zs(n))&&(void 0===o(n)?s(n,e,r):l(n,e))}(t,n,p,e),v(n)}),f--},m=n=>{$.add(n),t.Zt(n,null)},g=(t,n=0)=>{const e=c(t),r=u.get(t);return n===f&&e&&null!==e.Jt&&r?(w(0,r),!0):!!(f>n&&e&&-1!==e.rn)&&(w(0,e.rn),!0)},v=n=>{if(ol(n))w(3,0);else if("bigint"==typeof n)w(12,n.toString());else if("boolean"==typeof n)w(3,n?2:3);else if("function"==typeof n)if(n===Hn)w(3,9);else if(n===Ye)w(3,10);else if(i(n)){if(!g(n)){const e=Fs(t,n),r=$.has(n)?21:20;if(0===f)w(r,e);else{const n=t.Zt(e);w(r,n)}}}else{if(!kl(n))throw s(34,[n.toString()]);{const[e]=n[Sl];t.sn.add(e.rt),w(24,[e])}}else if("number"==typeof n)Number.isNaN(n)?w(3,11):Number.isFinite(n)?n===Number.MAX_SAFE_INTEGER?w(3,14):n===Number.MAX_SAFE_INTEGER-1?w(3,15):n===Number.MIN_SAFE_INTEGER?w(3,16):w(4,n):w(3,n<0?13:12);else if("object"==typeof n)if(n===tn)w(3,5);else if(n===nn)w(3,6);else if(null===n)w(3,1);else{f++;const t=p;p=n,S(n),p=t,f--}else if("string"==typeof n)0===n.length?w(3,4):g(n)||w(5,n);else if(void 0===n)w(3,0);else if(n===at)w(3,7);else{if(n!==pt)throw s(20,[typeof n]);w(3,8)}},S=n=>{var i;if(!g(n,1))if(Qe(n)){const t=n[dn],e=n[hn],r=e?[t,e]:Object.keys(t).length?[t]:0;w(34,r)}else if(n instanceof Dn)w(35,[n.data.yt,n.data.wt]);else if(vn(n))if(function(t){return"__brand"in t&&"resource"===t.__brand}(n)){t.ln.add(n);const e=k(n.value,l,(t,e)=>new Es(23,t,e,bn(n).l));w(1,e)}else{const e=bn(n),r=mn(n),s=e.v,l=e.l,i=[];for(const n in r){const e=r[n];if(o.has(e)){const n=o.get(e);i.push(n),t.Zt(n)}}const u=[r,s,l,...i];for(;null==u[u.length-1];)u.pop();w(Array.isArray(r)?31:30,u)}else if("object"==typeof(i=n)&&null!==i&&"function"==typeof i[ul]){const t=n[ul](n);if(G(t)){const n=k(t,l,(t,n)=>new Es(29,t,n,null,null));w(1,n)}else f--,v(t),f++}else if(function(t){const n=Object.getPrototypeOf(t);return null==n||n===Object.prototype||n===Array.prototype}(n))if(Array.isArray(n))w(6,n);else{const t=[];for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&!ol(n[e])&&t.push(e,n[e]);w(15,t)}else if(r(n))n.un.vnodeData[0]|=16,w(11,n.un.id);else if(n instanceof yt){if(n instanceof wn){m(n.D);const t=k(function(t,n){return new Promise(e=>{t.D.resolve().then(t=>{let r;t.serialize?r=t.serialize(n):ul in n&&(r=n[ul](n)),void 0===r&&(r=at),e(r)})})}(n,n.o),l,(t,e)=>new Es(29,t,e,n.l,n.D));return void w(1,t)}const e=n instanceof yn&&(1&n.v||ol(n.o))?at:n.o;if(n instanceof bt)w(26,[..._s(t,n),Ms(n[ht]),n.v,n.k,...n.l||[]]);else if(n instanceof On){m(n.D);const t=[n.D,n.l,n.K,n.Z,n.Y,n.X];e!==at&&t.push(e),w(28,t)}else if(n instanceof yn){m(n.D);const t=[n.D,n.l];e!==at&&t.push(e),w(27,t)}else w(25,[e,...n.l||[]])}else if(n instanceof URL)w(7,n.href);else if(n instanceof Date)w(8,Number.isNaN(n.valueOf())?"":n.valueOf());else if(n instanceof RegExp)w(9,n.toString());else if(n instanceof Error){const t=[n.message];t.push(...Object.entries(n).flat()),t.push("stack",n.stack),w(14,t)}else if(e(n)){const e=l(n);t.cn(n,"q:id",String(e)),w(10,n.id);const r=n.vnodeData;if(r&&(Cs(r,t=>l(t)),r[0]|=16),n.children)for(const t of n.children){const n=t.vnodeData;if(n){for(const t of n)if(Is(t)){const n=t.findIndex(t=>t===b);-1!==n&&l(t[n+1])}n[0]|=16}}}else if("undefined"!=typeof FormData&&n instanceof FormData){const t=[];n.forEach((n,e)=>{t.push(e,"string"==typeof n?n:n.name)}),w(32,t)}else if(n instanceof URLSearchParams)w(13,n.toString());else if(n instanceof Set)w(17,[...n.values()]);else if(n instanceof Map){const t=[];for(const[e,r]of n.entries())t.push(e,r);w(18,t)}else if(Ge(n))w(33,[n.type,n.varProps,n.constProps,n.children,n.flags,n.key]);else if(n instanceof Ee){const t=[n.T,n.v,n.it,n.ut,n[ht],n.ct];for(;null==t[t.length-1];)t.pop();w(22,t)}else if(G(n)){const t=k(n,l,(t,n)=>new Es(16,t,n));w(1,t)}else if(n instanceof Es)if(23===n.St)w(23,[n.fn,n.Pt,n.l]);else if(29===n.St)if(n.T)w(29,[n.T,n.l,n.Pt]);else{if(!n.fn)throw console.error(n.Pt),s(33);v(n.Pt)}else w(16,[n.fn,n.Pt]);else if(n instanceof Uint8Array){let t="";for(const e of n)t+=String.fromCharCode(e);const e=btoa(t).replace(/=+$/,"");w(19,e)}else{if(!Zr(n))throw s(20,[typeof n]);w(3,0)}};function k(t,n,e){const r=h++;return t.then(o=>{d.delete(t),a[r]=n(e(!0,o))}).catch(o=>{d.delete(t),a[r]=n(e(!1,o))}),d.add(t),r}await(async()=>{n.write("[");let e=0,r=t.an.length;for(;e<r||d.size;){0!==e&&n.write(",");let o=!1;for(let s=e;s<r;s++)o?n.write(","):o=!0,v(t.an[s]);if(d.size)try{await Promise.race(d)}catch{}e=r,r=t.an.length}a.length&&(n.write(","),n.write("2,"),y(a,t=>{n.write(String(t))})),n.write("]")})()}(this)},Xt:p,Kt:Os,hn:e,nn:t=>c.get(t),an:d,en:(t,n,e)=>c.set(t,{Jt:n,it:e,rn:-1}),dn:t=>{const n=c.get(t);return null===n?.Jt?n.it:void 0},Zt:(t,n=null)=>{let e=c.get(t);if(e)-1===e.rn&&(e.rn=d.length,d.push(t));else{const r=d.length;e={Jt:n,it:r,rn:r},c.set(t,e),d.push(t)}return $(t),e.rn},$n:$,pn:h,yn:(t,n,e)=>{const r=null==t;r&&(t=e.serialized||e.toString());let o=a.get(t);if(void 0===o)if(o=h.length,a.set(t,o),r)h.push(t);else{let e="(";for(let t=0;t<n;t++)e+=(0==t?"p":",p")+t;h.push(e+=")=>"+t)}return o},Yt:u,lt:new Set,st:new Set,ln:new Set,sn:new Set,J:l,wn:r,cn:o,tn:f}},Is=t=>Array.isArray(t)&&t.length>0,Cs=(t,n)=>{for(const e of t)if(Is(e))for(let t=1;t<e.length;t+=2){const r=e[t];"string"==typeof r||e[t-1]===C&&0===Object.keys(r).length||n(r)}};class Es{St;fn;Pt;l;T;constructor(t,n,e,r=null,o=null){this.St=t,this.fn=n,this.Pt=e,this.l=r,this.T=o}}function Ms(t){let n=null;if(t)for(const[e,r]of t)r[2]&&(n||=new Map,n.set(e,r));return n}function _s(t,n){return n.m&&"{"===n.m[0]&&(n.m=`(${n.m})`),[t.yn(n.m,n.$.length,n.p),n.$]}function Fs(t,n){let e=n.rt,r=n.bn;const o=B();if(o){const t=o.chunkForSymbol(e,r,n.dev?.file);t&&(r=t[1],e=t[0])}const u=(t=>i(t)&&t.rt==l)(n);if(u)r="",e=String(t.yn(null,0,n.resolved));else{r||(r=t.hn(n.B));{let t=globalThis.__qrl_back_channel__;t||(t=globalThis.__qrl_back_channel__=new Map),t.set(n.rt,n._devOnlySymbolRef),r||(r=Bs)}if(!r)throw s(14,[n.rt]);r.startsWith("./")&&(r=r.slice(2))}let c=`${r}#${e}`;if(Array.isArray(n.U)&&n.U.length>0){let e="";for(let r=0;r<n.U.length;r++)r>0&&(e+=" "),e+=t.Zt(n.U[r]);c+=`[${e}]`}else n.ot&&n.ot.length>0&&(c+=`[${n.ot.join(" ")}]`);return c}async function Ls(t){const n=Ns(null,null,()=>"",()=>"",()=>{},new WeakMap);for(const e of t)n.Zt(e);return await n.Gt(),n.Yt.toString()}function Ts(t,n){if(null==t)return[];const e=JSON.parse(t);if(!Array.isArray(e))return[];let r;r=H(n)&&J(n)?Ds(e,n):Ds(e);const o=[];for(let t=0;t<e.length;t+=2)o[t/2]=Ws(r,e[t],e[t+1]);return o}function Ws(t,n,e){if(void 0===n)return e;let r=js(t,n,e);return n>=14&&(r=ks(t,r,n,e)),r}function Us(t,n){return"string"==typeof t&&(t=parseInt(t,10)),n[t]}function Ds(t,n){let e;const r={bt:t=>Us(t,e),getSyncFn:()=>()=>{},J:new WeakMap,element:null,Ft:null,Lt:null,q:null};return Vs(t,r),e=gs(r,t),r.ct=e,n&&(r.element=n),r}function Vs(t,n){const e=(t,n)=>0===t&&"string"==typeof n,r=t=>2===t,o=t=>21===t,s=n=>{const e=t[n+1].split(" ");let r=t,o=0,s=0,l=0,i=null;for(let n=0;n<e.length;n++)if(i=r,s=2*parseInt(e[n],10),l=s+1,o=r[s],r=r[l],0===o){const n=2*r;o=t[n],r=t[n+1]}i&&(i[s]=0,i[l]=n/2),t[n]=o,t[n+1]=r};for(let l=0;l<t.length;l+=2)e(t[l],t[l+1])?s(l):r(t[l])?n.Ft=t[l+1]:o(t[l])&&(n.Lt||=[],n.Lt.push(l/2))}const zs=t=>"object"==typeof t&&null!==t&&(t instanceof yt||t instanceof Ee||Ge(t))||i(t),Qs=(t,n=new WeakSet)=>{if(null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return!0;if("object"==typeof t){if(n.has(t))return!0;n.add(t);const e=Object.getPrototypeOf(t);if(vn(t)&&(t=mn(t)),e==Object.prototype){for(const e in t)if(!Qs(Pt(()=>t[e]),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!Qs(t[e],n))return!1;return!0}if(Me(t))return!0;if(Qe(t))return!0;if(G(t))return!0;if(Ge(t))return!0;if(t instanceof Error)return!0;if(t instanceof URL)return!0;if(t instanceof Date)return!0;if(t instanceof RegExp)return!0;if(t instanceof URLSearchParams)return!0;if(t instanceof FormData)return!0;if(t instanceof Set)return!0;if(t instanceof Map)return!0;if(t instanceof Uint8Array)return!0;if(Os?.(t))return!0}else if("function"==typeof t&&(i(t)||kl(t)))return!0;return!1},Bs="mock-chunk",Hs=["RootRef","ForwardRef","ForwardRefs","Constant","Number","String","Array","URL","Date","Regex","VNode","RefVNode","BigInt","URLSearchParams","Error","Object","Promise","Set","Map","Uint8Array","QRL","PreloadQRL","Task","Resource","Component","Signal","WrappedSignal","ComputedSignal","AsyncComputedSignal","SerializerSignal","Store","StoreArray","FormData","JSXNode","PropsProxy","EffectData"],Js=(t,n)=>{let e=Zr(t)?fs.call(t,1,"",!0).replaceAll(/\n.*/gm,""):"function"==typeof t?String(t):(t=>{const n=new WeakSet;return JSON.stringify(t,(t,e)=>{if("object"==typeof e&&null!==e){if(n.has(e))return`[Circular ${e.constructor.name}]`;n.add(e)}return e},2)})(t);return e.length>500&&(e=e.slice(0,500)+'"...'),e=e.replace(/\n/g,"\n"+n),e.includes("\n")?e=`\n${n}${e}`:e};let Gs=!1;const Ys=(t,n=!1,e="",r=20)=>{const o=n?"[31m":"",s=n?"[0m":"",l=""===e,i=[];for(let l=0;l<t.length;l++){if(r&&l>2*r){i.push("...");break}const u=t[l];let c=t[++l];void 0===u?(Gs=!0,i.push(`${o}[raw${"object"==typeof c&&c?` ${c.constructor.name}`:""}]${s} ${Js(c,`${e} `)}`)):(3===u?c=Ks(c):"string"==typeof c?(c=JSON.stringify(c),c.length>120&&(c=c.slice(0,120)+'"...')):2===u?c=`[\n${e} ${c.join(`\n${e} `)}\n${e}]`:Array.isArray(c)&&(c=c.length?`[\n${Ys(c,n,`${e} `)}\n${e}]`:"[]"),i.push(`${o}${Xs(u)}${s} ${c}`))}const u=i.map((t,n)=>`${e}${l?`${n} `:""}${t}`).join("\n");if(l){const n=Gs?"":`(${JSON.stringify(t).length} chars)`;return Gs=!1,`\n${u}\n${n}`}return u},Xs=t=>Hs[t]||`Unknown(${t})`,Ks=t=>Rs[t]||`Unknown(${t})`,Zs=(t,n)=>{const e=new WeakSet;return tl(t,e,"_",n)},tl=(t,n,e,r)=>{const o=gn(t);if(null==o)return t;if(rl(o)){if("object"==typeof o){if(n.has(o))return t;n.add(o)}if(Ur(o))return t;if(Qs(o))return t;const l=typeof o;switch(l){case"object":if(G(o))return t;if(H(o))return t;if(rt(o)){let r=0;return o.forEach((t,l)=>{if(l!==r)throw s(3,[o]);tl(t,n,e+"["+l+"]"),r=l+1}),t}if(nt(o)){for(const[t,r]of Object.entries(o))tl(r,n,e+"."+t);return t}break;case"boolean":case"string":case"number":return t}let i;if(i=r||"Value cannot be serialized","_"!==e&&(i+=` in ${e},`),"object"===l)i+=` because it's an instance of "${t?.constructor.name}". You might need to use 'noSerialize()' or use an object literal instead. Check out https://qwik.dev/docs/advanced/dollar/`;else if("function"===l){const n=t.name;i+=` because it's a function named "${n}". You might need to convert it to a QRL using $(fn):\n\nconst ${n} = $(${String(t)});\n\nPlease check out https://qwik.dev/docs/advanced/qrl/ for more information.`}throw s(3,[i])}return t},nl=/*#__PURE__*/new WeakSet,el=/*#__PURE__*/new WeakSet,rl=t=>!et(t)&&!st(t)||!nl.has(t),ol=t=>t&&("object"==typeof t||"function"==typeof t)&&(il in t||nl.has(t)),sl=t=>(("object"==typeof t&&null!==t||"function"==typeof t)&&nl.add(t),t),ll=t=>(el.add(t),t),il=Symbol("noSerialize"),ul=Symbol("serialize"),cl=Symbol("resolved"),fl=(n,e,r,o,l,i)=>{let u;const c=async function(...t){const n=a.call(this,vt());return await n(...t)},f=t=>(u||(u=t),u);function a(t,n){const e=(...o)=>{if(!c.resolved)return tt(()=>c.resolve()).then(t=>{if(!st(t))throw s(5);return e(...o)});if(n&&!1===n())return;const l=$(t),i=l.T,u=l.N;l.T=c,l.N||=this;try{return Rt.call(this,l,r,...o)}finally{l.T=i,l.N=u}};return e}const h=t=>"function"!=typeof t||!l?.length&&!i?.length?t:function(...n){let e=vt();if(e){if(e.T?.rt===c.rt)return t.apply(this,n);const r=e.T;e.T=c;try{return t.apply(this,n)}finally{e.T=r}}return e=At(),e.T=c,e.N=this,Rt.call(this,e,t,...n)};o&&cl in o&&(r=o[cl]);const d=r?async()=>r:async s=>{if(null!==r)return r;if(s&&f(s),""===n){const t=u.getAttribute(v),n=m(u.ownerDocument,t);return c.resolved=r=n[Number(e)]}n&&t(n,1);const l=$l(),i=vt();if(null!==o)r=o().then(t=>{const n=h(r=t[e]);return o[cl]=n,c.resolved=n,n});else{const t=B().importSymbol(u,n,e);r=X(t,t=>c.resolved=h(r=t))}return G(r)&&r.then(()=>hl(e,i?.L,l),t=>{console.error(`qrl ${e} failed to load`,t),r=null}),r},$=t=>null==t?At():rt(t)?qt(t):t,p=(t=>{const n=t.lastIndexOf("_");return n>-1?t.slice(n+1):t})(e);return Object.assign(c,{getSymbol:()=>e,getHash:()=>p,getCaptured:()=>i,resolve:d,W:f,bn:n,rt:e,B:p,getFn:a,ot:l,U:i,dev:null,resolved:void 0}),r&&(r=X(r,t=>c.resolved=h(r=t))),e&&t(e,.8),c},al=/*#__PURE__*/new Set,hl=(t,n,e)=>{al.has(t)||(al.add(t),dl("qsymbol",{symbol:t,element:n,reqTime:e}))},dl=(t,n)=>{"object"==typeof document&&document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},$l=()=>"object"==typeof performance?performance.now():0;let pl=0;const yl=t=>fl(null,"s"+pl++,t,null,null,null),wl=yl,bl=t=>t,ml=t=>fl("",l,t,null,null,null),gl=function(t,n){return void 0===n&&(n=t.toString()),t.serialized=n,fl("",l,t,null,null,null)},vl=t=>{function n(n,e,r=0){const o=t.B.slice(0,4)+":"+(e||""),s=()=>{};return s[Sl]=[t],Le(s,n,null,n.children,r,o)}return n[Sl]=[t],n},Sl=Symbol("serializable-data"),kl=t=>"function"==typeof t&&void 0!==t[Sl],xl=t=>vl(wl(t)),Rl=pn(bl),jl=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!J(n);)n=n.nextSibling;t=n}t.setAttribute(j,"resumed");const r=Mr(t);r.Nt=e.serverData||{};const o=r.rootVNode;return r.q(4,o,o,n),await r.q(255),{cleanup:()=>{pr(r,r.rootVNode)}}},ql=(t,n)=>{const{val:e,set:r,iCtx:o}=Ft();if(null!=e)return e;const s=st(t)?Rt(void 0,t):t;if(!1===n?.reactive)return r(s),s;{const t=o.u,e=kn(s,n?.deep??1?1:0,t);return r(e),e}},Al=()=>{const{val:t,set:n,iCtx:e}=Ft();if(null!=t)return t;const r=e.u.Et||"",o=r?ie(r).substring(0,3):"",s=e.u.getHostProp(e.k,u);let l=`${o}${s?.getHash().substring(0,3)||""}${(e.u.It++).toString(36)||""}`,i=l.charCodeAt(0);return i>=48&&i<=57&&(i+=17,l=String.fromCharCode(i)+l.substring(1)),n(l)};function Pl(t,n){const e=vt();return e?.u?.Nt[t]??n}const Ol=/*#__PURE__*/new Map,Nl=(t,n)=>{let e=Ol.get(n);return e||Ol.set(n,e=Il(t,n)),e},Il=(t,n)=>{const e=t.length,r=[],o=[];let s=0,l=s,i=Fl,u=0;for(;s<e;){const n=s;let e=t.charCodeAt(s++);e===fi&&(s++,e=ii);const r=bi[i];for(let c=0;c<r.length;c++){const $=r[c],[p,y,w]=$;if((p===u||p===Bl||p===Hl&&Cl(u)||p===Gl&&_l(u))&&(y===e||y===Bl||y===Hl&&Cl(e)||y===Jl&&!Cl(e)&&e!==ri||y===Gl&&_l(e))&&(3==$.length||h($))){if($.length>3&&(e=t.charCodeAt(s-1)),w===zl||w==Ql){w===Ql&&(i!==Ll||d()?El(e)||a(s-(y==Jl?1:y==ni?2:0)):(El(e)?f(s-2):a(s-2),l++)),y===Jl&&(s--,e=u);do{i=o.pop()||Fl,i===Tl&&(f(s-1),l++)}while(Ml(i))}else o.push(i),i===Tl&&w===Fl?(f(s-8),l=s):w===Wl&&a(n),i=w;break}}u=e}return f(s),r.join("");function f(n){r.push(t.substring(l,n)),l=n}function a(t){i===Tl||d()||(f(t),r.push(".",c,n))}function h(n){let e=0;if(t.charCodeAt(s)===ei)for(let n=1;n<10;n++)if(t.charCodeAt(s+n)===ei){e=n+1;break}t:for(let r=3;r<n.length;r++){const o=n[r];for(let n=0;n<o.length;n++)if((t.charCodeAt(s+n+e)|hi)!==o.charCodeAt(n))continue t;return s+=o.length+e,!0}return!1}function d(){return-1!==o.indexOf(Tl)||-1!==o.indexOf(Ul)}},Cl=t=>t>=oi&&t<=si||t>=ii&&t<=ui||t>=di&&t<=$i||t>=128||t===ai||t===ei,El=t=>t===li||t===ri||t===ci||t===ti||Cl(t),Ml=t=>t===Dl||t===Ul||t===Vl||t===Tl,_l=t=>t===Zl||t===Yl||t===Xl||t===Kl,Fl=0,Ll=2,Tl=5,Wl=6,Ul=10,Dl=11,Vl=12,zl=17,Ql=18,Bl=0,Hl=1,Jl=2,Gl=3,Yl=9,Xl=10,Kl=13,Zl=32,ti=35,ni=41,ei=45,ri=46,oi=48,si=57,li=58,ii=65,ui=90,ci=91,fi=92,ai=95,hi=32,di=97,$i=122,pi=123,yi=125,wi=[[Bl,39,14],[Bl,34,15],[Bl,47,16,"*"]],bi=[[[Bl,42,Ll],[Bl,ci,7],[Bl,li,Wl,":","before","after","first-letter","first-line"],[Bl,li,Tl,"global"],[Bl,li,3,"has","host-context","not","where","is","matches","any"],[Bl,li,4],[Bl,Hl,1],[Bl,ri,1],[Bl,ti,1],[Bl,64,Ul,"keyframe"],[Bl,64,Dl,"media","supports","container"],[Bl,64,Vl],[Bl,pi,13],[47,42,16],[Bl,59,zl],[Bl,yi,zl],[Bl,ni,zl],...wi],[[Bl,Jl,Ql]],[[Bl,Jl,Ql]],[[Bl,40,Fl],[Bl,Jl,Ql]],[[Bl,40,8],[Bl,Jl,Ql]],[[Bl,40,Fl],[Bl,Jl,zl]],[[Bl,Jl,zl]],[[Bl,93,Ql],[Bl,39,14],[Bl,34,15]],[[Bl,ni,zl],...wi],[[Bl,yi,zl],...wi],[[Bl,yi,zl],[Gl,Hl,1],[Bl,li,Tl,"global"],[Bl,pi,13],...wi],[[Bl,pi,Fl],[Bl,59,zl],...wi],[[Bl,59,zl],[Bl,pi,9],...wi],[[Bl,yi,zl],[Bl,pi,13],[Bl,40,8],...wi],[[Bl,39,zl]],[[Bl,34,zl]],[[42,47,zl]]],mi=t=>({styleId:ki(t,t=>t,!1)}),gi=/*#__PURE__*/pn(mi),vi=t=>({scopeId:c+ki(t,Nl,!0)}),Si=/*#__PURE__*/pn(vi),ki=(t,n,e)=>{const{val:r,set:o,iCtx:s,i:l}=Ft();if(r)return r;const i=(u=l,`${ie(t.B)}-${u}`);var u;const c=s.k;if(o(i),!t.resolved)throw t.resolve().then(t=>s.u.Qt(n(t,i),i,c,e));return s.u.Qt(n(t.resolved,i),i,c,e),i},xi=(t,n)=>{Ai(qi(t,"on"),n)},Ri=(t,n)=>{Ai(qi(t,"document:on"),n)},ji=(t,n)=>{Ai(qi(t,"window:on"),n)},qi=(t,n)=>{const e=t=>{let e=n;return t===Tt&&(e+="-"),function(t,n){return n+(t=t.charAt(0).toUpperCase()+t.substring(1))+Lt}(t,e)};return Array.isArray(t)?t.map(e):e(t)},Ai=(t,n)=>{const{isAdded:e,addEvent:r}=Pi();e||n&&(Array.isArray(t)?t.forEach(t=>r(t,n)):r(t,n))},Pi=()=>{const t=kt(),n=t.k;let e=t.u.getHostProp(n,_);null===e&&(e={},t.u.setHostProp(n,_,e));let r=t.u.getHostProp(n,F);null===r&&(r=0),t.u.setHostProp(n,F,r+1);let o=t.u.getHostProp(n,L);for(null===o&&(o=[],t.u.setHostProp(n,L,o));o.length<=r;)o.push(!1);return{isAdded:o[r],addEvent:(t,n)=>{o[r]=!0;let s=e[t];s||(e[t]=s=[]),s.push(n)}}},Oi=t=>Ni(()=>{const n=st(t)&&!kl(t)?Rt(void 0,t):t;return Cn(n)}),Ni=t=>{const{val:n,set:e}=Ft();return null!=n?n:e(t=st(t)&&!kl(t)?t():t)},Ii=(t,n)=>{const{val:e,set:r}=Ft();if(e)return e;const o=new n(null,t);return r(o),Wr(t),o},Ci=t=>Ii(t,yn),Ei=pn(Ci),Mi=t=>Ii(t,wn),_i=pn(Mi),Fi=(t,n)=>{const{val:e,set:r,i:o,iCtx:s}=Ft(),l=n?.strategy??"intersection-observer";if(e)return;const i=new Ee(1,o,s.k,t,void 0,null);r(i),Li(i,l),t.resolve(s.L),s.u.q(32,i)},Li=(t,n)=>{"intersection-observer"===n?xi("qvisible",Ti(t)):"document-ready"===n?Ri("qinit",Ti(t)):"document-idle"===n&&Ri("qidle",Ti(t))},Ti=t=>fl(null,"_task",_e,null,null,[t]),Wi=(t,n)=>mr(wl(t),n),Ui=/*#__PURE__*/pn(Ne),Di=/*#__PURE__*/pn(Fi),Vi=t=>Ii(t,On),zi=pn(Vi),Qi=()=>{const t=ql({error:void 0});return Yt(Kt,t),t},Bi=t=>{import.meta;const n=import.meta.env.BASE_URL||"/",e={path:"qwik-prefetch-service-worker.js",...t};e.path=t?.path?.startsWith?.("/")?t.path:n+e.path;let r=Hi.replace("'_URL_'",JSON.stringify(e.path));r=r.replaceAll(/\s\s+/gm,"");const o={dangerouslySetInnerHTML:["("+r+")(",["navigator.serviceWorker"].join(","),");"].join(""),nonce:e.nonce};return Fe("script",null,o,null,0,"prefetch-service-worker")},Hi=/*#__PURE__*/(t=>{"getRegistrations"in t&&t.getRegistrations().then(t=>{t.forEach(t=>{t.active&&t.active.scriptURL.endsWith("_URL_")&&t.unregister().catch(console.error)})})}).toString(),Ji=()=>null;export{yl as $,Ye as Fragment,il as NoSerializeSymbol,Ji as PrefetchGraph,Bi as PrefetchServiceWorker,Je as RenderOnce,gr as Resource,Yn as SSRComment,Gn as SSRRaw,Kn as SSRStream,Xn as SSRStreamBlock,ul as SerializerSymbol,Jn as SkipRender,Hn as Slot,hn as _CONST_PROPS,Tr as _DomContainer,ht as _EFFECT_BACK_REF,tn as _EMPTY_ARRAY,$n as _IMMUTABLE,Cr as _SharedContainer,Dn as _SubscriptionData,dn as _VAR_PROPS,Ts as _deserialize,Ys as _dumpState,zn as _fnSignal,Ct as _getContextElement,Et as _getContextEvent,Mr as _getDomContainer,Fr as _getQContainerElement,Ge as _isJSXNode,Vn as _isStringifiable,Mt as _jsxBranch,Te as _jsxC,Ue as _jsxQ,We as _jsxS,Fe as _jsxSorted,Le as _jsxSplit,on as _noopQrl,sn as _noopQrlDEV,Vs as _preprocessState,gl as _qrlSync,cn as _regSymbol,Bn as _restProps,an as _run,Ls as _serialize,_e as _task,Zs as _verifySerializable,fs as _vnode_toString,_t as _waitUntilRendered,ke as _walkJSX,ll as _weakSerialize,Tn as _wrapProp,Un as _wrapSignal,Wn as _wrapStore,xl as component$,vl as componentQrl,En as createComputed$,Nn as createComputedQrl,Gt as createContextId,ze as createElement,Mn as createSerializer$,In as createSerializerQrl,Cn as createSignal,Rl as event$,bl as eventQrl,Mr as getDomContainer,ct as getLocale,B as getPlatform,ze as h,pn as implicit$FirstArg,rn as inlinedQrl,un as inlinedQrlDEV,e as isBrowser,r as isDev,n as isServer,Ur as isSignal,De as jsx,Xe as jsxDEV,De as jsxs,sl as noSerialize,en as qrl,ln as qrlDEV,jl as render,Q as setPlatform,ml as sync$,Pt as untrack,gn as unwrapStore,zi as useAsyncComputed$,Vi as useAsyncComputedQrl,Ei as useComputed$,Ci as useComputedQrl,Ni as useConstant,Xt as useContext,Yt as useContextProvider,Qi as useErrorBoundary,Al as useId,fn as useLexicalScope,xi as useOn,Ri as useOnDocument,ji as useOnWindow,Wi as useResource$,mr as useResourceQrl,_i as useSerializer$,Mi as useSerializerQrl,Pl as useServerData,Oi as useSignal,ql as useStore,gi as useStyles$,mi as useStylesQrl,Si as useStylesScoped$,vi as useStylesScopedQrl,Ui as useTask$,Ne as useTaskQrl,Di as useVisibleTask$,Fi as useVisibleTaskQrl,Zt as version,ft as withLocale};
|
|
1
|
+
function t(t){let n="";for(let e=0;e<t.length;e++)"\\"===t.charAt(e)&&e+1<t.length?(n+=t.charAt(e+1),e++):n+=t.charAt(e);return n}function n(t,n=dr){let e,r=!1;try{e=t(),r=!0}catch(t){e=t}if(!fr(e))return r?e:n(e);let i=ur;const s=async e=>{for(;fr(e);)try{return await e,await t()}catch(t){if(!fr(t)){e=t;break}if(! --i){e=Error("Exceeded max retry count in retryOnPromise");break}e=t}return n(e)};return r?e.catch(s):s(e)}function e(t){if(t.endsWith("$")){const[n,e]=(t=>{let n,e=-1;return t.startsWith("on")?(n="q-e:",e=2):t.startsWith("window:on")?(n="q-w:",e=9):t.startsWith("document:on")&&(n="q-d:",e=11),[n,e]})(t);if(-1!==e){const r=t.slice(e,-1);return"DOMContentLoaded"===r?n+"-d-o-m-content-loaded":((t,n)=>n+mr(t))("-"===r.charAt(0)?r.slice(1):r.toLowerCase(),n)}}return null}function r(t,n,e){if((t=>"class"===t)(t)){const t=vr(n);n=e?e+(t.length?" "+t:t):t}else"style"===t?n=(t=>{if(null==t)return"";if("object"==typeof t){if(ye(t))throw be(0,[t,"style"]);{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const r=t[e];null!=r&&"function"!=typeof r&&(e.startsWith("--")?n.push(e+":"+r):n.push(gr(e)+":"+Sr(e,r)))}return n.join(";")}}return t+""})(n):(t=>t.startsWith("aria-")||["spellcheck","draggable","contenteditable"].includes(t))(t)||"number"==typeof n?n=(t=>null!=t?t+"":null)(n):!1===n||null==n?n=null:!0===n&&(t=>t.startsWith("preventdefault:"))(t)&&(n="");return n}function i(t,n,e,r=!1){const s=t.ownerDocument.createElementNS(e,n);for(const n of t.attributes)n.name!==or&&s.setAttribute(n.name,n.value);if(r)for(const n of t.childNodes){const t=n.nodeType;3===t?s.appendChild(n.cloneNode()):1===t&&s.appendChild(i(n,n.localName,e,r))}return s}function s(t,n){const e=!t||!(!Io(t)||(r=t,1536&r.flags));var r;const i=!e&&Vr(Io(t));let s=Ve,o=0;const l="string"==typeof n||ro(n);return l&&(t=>"string"==typeof t?Jr(t):!!ro(t)&&(Jr(Io(t))||!!(512&t.flags)))(n)?(s=Je,o=512):l&&(t=>"string"==typeof t?Br(t):!!ro(t)&&(Br(Io(t))||!!(1024&t.flags)))(n)?(s=Be,o=1024):!t||i||e||(s=512&t.flags?Je:1024&t.flags?Be:Ve,o=1536&t.flags),Hr.elementNamespace=s,Hr.elementNamespaceFlag=o,Hr}function o(t,n){const e=h(n).priority;let r=ni.length;for(let t=0;t<ni.length;t++)if(e<h(ni[t]).priority){r=t;break}ni.splice(r,0,n),t.o++,t.l||=new Promise(n=>t.u=n)}function l(){for(let t=0;t<ni.length;t++){const n=ni[t];let e=!1;for(let t=0;t<ei.length;t++)if(rl(n,ei[t])){e=!0;break}if(!e)return n}return null}function c(t,n){ei.push(t),f(t,n,!0),n.o++}function u(t,n){const e=ei.indexOf(t);if(-1!==e){const t=ei.length-1;e!==t&&(ei[e]=ei[t]),ei.pop(),n.o--}o(n,t)}function f(t,n,e){e||(t.flags&=-257);const r=ni.indexOf(t);-1!==r&&(ni.splice(r,1),n.o--)}function a(t,n,e){n.position=e,e&&Xt(e)&&((t,n,e)=>{f(e,t);const r=h(e);if(r===n)return;const i=r.afterFlushTasks;if(i&&i.length>0){const t=n.afterFlushTasks;t?t.push(...i):n.afterFlushTasks=i}const s=r.extraPromises;if(s&&s.length>0){const t=n.extraPromises;t?t.push(...s):n.extraPromises=s}const o=r.journal;if(o&&o.length>0){const t=n.journal;t?t.push(...o):n.journal=o}})(t,n,e)}function h(t){return ri.get(t)??null}function d(t){return new Proxy({},new yi(t))}function $(t,n,e){t[Yr]||(t[Yr]=new Map);const r=t[Yr];let i=r.get(n);return i||(i=new qi(t,n),r.set(n,i)),e&&(i.data=e),i}function p(t,n){eo(n)&&ro(n)&&zo(n);const e=n[Yr];if(e){for(const[,n]of e)y(t,n);e.clear()}}function y(t,n){const e=n.backRef;if(e){for(const r of e)if(r instanceof Ai)w(r,n);else if(r instanceof li)m(t,r,n);else if(ki(r))b(r[ai],n);else if(t.h.has(r)){const e=t.h.get(r);b(Vc(e),n)}e.clear()}}function m(t,n,e){const r=n.$;r&&r.has(e)&&r.delete(e),n instanceof Hi&&!r?.size&&(n.p=void 0,p(t,n))}function w(t,n){const e=t.$;e&&e.has(n)&&e.delete(n);const r=t.m;r&&r.has(n)&&r.delete(n);const i=t.k;i&&i.has(n)&&i.delete(n),t.q()}function b(t,n){const e=t?.$;if(e)for(const[t,r]of e.entries())r.has(n)&&(r.delete(n),0===r.size&&e.delete(t))}function v(t,n){Xi(this,n),gu[0].value="number"===n.type?n.valueAsNumber:n.value}function g(t,n){Xi(this,n),gu[0].value=n.checked}function S(t,n){if(Xi(this,n),gu)for(const t of gu)t instanceof Ai&&64&t.R&&t.j()}function k(t,n,...e){const r={children:arguments.length>2?e.flat(100):null};let i=null;for(const t in n)"key"==t?i=n[t]:r[t]=n[t];return ss(t,n,null,r.children,0,i)}function x(t,n){const e=R(t);let r=t;const i="q-e:qvisible";return hr(e,t=>{const e=!t;let s=null;for(const o in n)if(Object.prototype.hasOwnProperty.call(n,o)){let l=t,c=o;if(e){if(o!==i&&!o.startsWith("q-d:")&&!o.startsWith("q-w:"))continue;if(!s){const[t,n]=E(r);r=n,s=t}l=s}l&&("script"===l.type&&o===i&&(c="q-d:qinit"),q(l,c,n[o]))}return r})}function q(t,n,e){const r=t.constProps||={},i=r[n];null==i?r[n]=e:Array.isArray(i)?i.push(...e):r[n]=[i,...e],t.varProps[n]&&(Array.isArray(i)?i.push(...r[n]):t.varProps[n]=[i,...e],r[n]=void 0)}function R(t){const n=[t];for(;n.length;){const t=n.shift();if(ts(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(ye(t))n.push(...t);else{if(fr(t))return hr(t,t=>R(t));if(Mc(t))return R(t.untrackedValue)}}return null}function E(t){if(ts(t)){const n=C();return t.type===ds||Du(t.type)?(null==t.children?t.children=n:ye(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,is(ds,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n||null==n){const n=C();return[n,is(ds,null,null,[t,n],0,null)]}var n;if(ye(t)&&t.length>0){const[n,e]=E(t[0]);return[n,t]}return[null,t]}function C(){return new Ki("script",null,{hidden:""},null,0,null)}function j(t,n,e,r){if(null!=e){if(r){const r=(t=>{switch(t){case"xlink:href":case"xlink:actuate":case"xlink:arcrole":case"xlink:role":case"xlink:show":case"xlink:title":case"xlink:type":return"http://www.w3.org/1999/xlink";case"xml:base":case"xml:lang":case"xml:space":return"http://www.w3.org/XML/1998/namespace";default:return null}})(n);if(r)return void((t,n,e,r)=>{xs||(xs=t.setAttributeNS),xs.call(t,n,e,r)})(t,r,n,e)}i=t,ks||(ks=i.setAttribute),ks.call(i,n,e)}var i}function _(t){return!t.startsWith("q:")&&!t.startsWith(er)}function O(t,e,r,i){if(!r.isConnected)return;i||(i=yl(e,r));const s=i._,o=i.p;$o(s,o);let l=t;if(64&o.flags){let n;128&o.flags||(n=!0,o.flags|=128);const i=n?s.O:null,c=uo(o,tr,i);if(null!==c)l=()=>t(e,r,c);else{const n=uo(o,nr,i);null!==n&&(l=()=>t(e,r,...n))}}return n(()=>{if(!(32&o.flags))return hn(i,l,[e,r])},t=>s.handleError(t,o))}function A(t,n){if(!n.isConnected)return;const e=yl(t,n);return"string"==typeof this&&Su(ku(e._,this)),O(gu[0],t,n,e)}function P(t){return t.N===t.M?t.T:null}function N(t){return t.L||P(t)}function I(t,n){const e=(t=>t?t.nextSibling:null)(n);return e===P(t)?null:e}function M(t,n,e,r,i,s){import.meta.env.TEST&&i&&fo(n,cr,i),fo(n,e,s),tn(t,Is(n.node,e,r,i,!!(512&n.flags)))}function T(t,n,e,r){return{_:t,D:n,U:e,W:r,J:[],B:[],H:[],N:null,L:null,Y:null,T:null,M:null,X:null,G:null,K:null,Z:null,tt:null,nt:0,et:0,rt:!0,it:!1,st:{ot:new Yi({W:r,lt:!0}),ct:new Yi({W:r,lt:!1})}}}function F(t,n,e,r,i){const s=t??T(n,e,r,i);return((t,n,e,r,i)=>{t._=n,t.D=e,t.U=r,t.W=i,t.st.ot.data.W=i,t.st.ct.data.W=i,t.B.length=0,t.H.length=0})(s,n,e,r,i),s}function z(t,n,e,r=Fo(e),i=null,s=!1){L(t,n,e,r,i,s);const o=X(t);if(fr(o))return o.finally(()=>{G(t)});G(t)}function L(t,n,e,r=Fo(e),i=null,s=!1){const o=t.it;t.it=s||o,t.N=e,t.Y=null,t.L=r,t.T=i,t.M=e,V(t,n,!0);try{if(32&t.N.flags)return;for(;t.J.length;){for(;t.nt<t.et;){if("string"==typeof t.tt)yt(t,t.tt);else if("number"==typeof t.tt)yt(t,t.tt+"");else if(t.tt&&"object"==typeof t.tt)if(ts(t.tt)){const n=t.tt.type;"string"==typeof n?(tt(t),ct(t,t.tt,n),t.tt.constProps&&Ts.call(t.tt.constProps,lr)||Ts.call(t.tt.varProps,lr)?t.Y||K(t,!1):W(t,t.tt.children,!0)):"function"==typeof n&&(n===ds?(tt(t),ht(t,"F",t.tt.key),W(t,t.tt.children,!0)):n===ys?(tt(t),H(t)||W(t,t.tt.children,!0)):n===bt?(B(t),W(t,t.tt.children,!0,!1)):n===bs||n===ws?Z(t):(tt(t),dt(t,n)))}else if(Array.isArray(t.tt))W(t,t.tt,!1);else if(Mc(t.tt)){ht(t,"S",null);const n=t.tt instanceof Hi?t.tt.ut():t.tt,e=t.L?.[Yr]?.get(".")?.backRef;let r=e?.has(n);if(e&&n instanceof Hi&&(r=Rt(e,n)),!r){const e=t.Y||t.L;W(t,D(t,()=>vl(n,e,".",t._)),!0)}}else fr(t.tt)&&(ht(t,"A",null),t.B.push(t.tt,t.Y||t.L));else t.tt===ms||yt(t,"");U(t)}Z(t),Y(t),Q(t)}}finally{t.it=o}}function D(t,e){try{return e()}catch(r){if(fr(r)){const i=r.then(()=>n(e));return t.B.push(i,t.Y||t.L),null}throw r}}function U(t){if(t.rt){if(t.nt++,t.nt<t.et)t.tt=t.Z[t.nt];else if(t.J.length>0&&!1===t.J[t.J.length-1])return Q(t);null!==t.Y?t.Y=null:t.L=I(t,t.L)}else t.rt=!0}function W(t,n,e,r=!0){if(r&&(null==n||e&&ye(n)&&0===n.length))K(t);else{if(V(t,n,e),e){const n=t.it||!!t.Y||!Fo(t.L);t.it=n,t.K=null,t.X=null,t.G=null,t.N=t.Y||t.L,t.L=Fo(t.N),t.Y=null}t.rt=!1}}function Q(t){t.J.pop()&&(t.it=t.J.pop(),t.K=t.J.pop(),t.X=t.J.pop(),t.G=t.J.pop(),t.Y=t.J.pop(),t.L=t.J.pop(),t.N=t.J.pop()),t.tt=t.J.pop(),t.et=t.J.pop(),t.nt=t.J.pop(),t.Z=t.J.pop(),U(t)}function V(t,n,e){t.J.push(t.Z,t.nt,t.et,t.tt),e&&t.J.push(t.N,t.L,t.Y,t.G,t.X,t.K,t.it),t.J.push(e),Array.isArray(n)?(t.nt=0,t.et=n.length,t.Z=n,t.tt=t.et>0?n[0]:null):void 0===n?(t.nt=0,t.tt=null,t.Z=null,t.et=0):(t.nt=0,t.tt=n,t.Z=null,t.et=1)}function J(t){return t.Y?N(t):I(t,t.L)||P(t)}function B(t){const n=t.tt.key;t.L=uo(t.N,n,n=>wo(t._.rootVNode,n)),t.L=t.L&&32&t.L.flags?null:t.L,null==t.L&&(t.Y=no(),fo(t.Y,Ce,n),t.Y.slotParent=t.N,fo(t.N,n,t.Y))}function H(t){const n=al(t.N),e=((t,n)=>{const e=t.tt,r=e.constProps;if(r&&"object"==typeof r&&Ts.call(r,"name")){const e=r.name;if(n&&e instanceof Hi)return vl(e,n,":",t._)}return bi(e,"name")||""})(t,n),r=n?uo(n,e,null):null;if(null==r)return t.Y=no(),fo(t.Y,Ce,e),n&&fo(n,e,t.Y),_o(t.D,t.N,t.Y,J(t)),!1;if(r===t.L);else{const i=r.parent;t.Y=r,fo(t.Y,Ce,e),n&&fo(n,e,t.Y),jo(t.D,t.Y),_o(t.D,t.N,t.Y,J(t)),i&&ro(i)&&!i.firstChild&&Io(i)===Qe&&Po(t.D,i.parent,i,!0)}return!0}function Y(t){if(t.K){for(const n of t.K.values())32&n.flags||(St(t._,t.D,n,t.U),Po(t.D,t.N,n,!0));t.K.clear(),t.K=null}t.L=null}function X(t){for(;t.B.length;){const n=t.B.shift(),e=t.B.shift();if(fr(n))return n.then(n=>(L(t,n,e),X(t))).catch(n=>(t._.handleError(n,e),X(t)));L(t,n,e)}if(t.H.length){const n=t.H.splice(0);return Promise.all(n).then(()=>X(t))}}function G(t){t.D=null,t.U=null}function K(t,n=!0){const e=t.L&&Fo(t.L);if(null!==e){let r=e;for(;r;)St(t._,t.D,r,t.U),r=r.nextSibling;No(t.D,t.L,e,n)}}function Z(t){const n=P(t);if(null!==t.L&&t.L!==n)for(;t.L&&t.L!==n;){const n=t.L;t.L=I(t,t.L),t.N===n.parent&&(St(t._,t.D,n,t.U),Po(t.D,t.N,n,!0))}}function tt(t){if(null!==t.L&&oo(t.L)){const n=t.L;t.L=I(t,t.L),Po(t.D,t.N,n,!0)}}function nt(t,n,e){if(Mc(t))return t.value=n,!0;if("function"==typeof t)return t(n),!0;if(null==t)return!0;throw be(15,[e])}function et(t,e,r,i,s){return n(()=>vl(i,e,r,t,s))}function rt(t,n,e,i,s){const o=t.W,l=i.then(t=>j(n,e,r(e,t,o),s));t.H.push(l)}function it(t,n){n&&(t.innerHTML=n+"",t.setAttribute(Ue,"html"))}function st(t,n){return n&&"string"!=typeof n||(t.value=(t=>{let n="";const e=t.length;let r=0,i=r;for(;r<e;r++){const e=t.charCodeAt(r);if(60===e)n+=t.substring(i,r)+"<";else if(62===e)n+=t.substring(i,r)+">";else if(38===e)n+=t.substring(i,r)+"&";else if(34===e)n+=t.substring(i,r)+""";else{if(39!==e)continue;n+=t.substring(i,r)+"'"}i=r+1}return 0===i?t:n+t.substring(i)})(n||"")),!0}function ot(t,n,e,i){const o=((t,n)=>{const e=s(Ao(t.N,!0),n),r=import.meta.env.TEST?t._.document:document,i=0===e.elementNamespaceFlag?r.createElement(n):r.createElementNS(e.elementNamespace,n);return t.Y=Ks(i,n),t.Y.flags|=e.elementNamespaceFlag,i})(t,e),l=t.Y,c=!!(512&l.flags),{constProps:u}=n;if(u)for(const n in u){let s=u[n];yr(n)?lt(n,s,o,l,t):"ref"===n&&nt(s,o,i)||(Mc(s)&&(s=et(t._,t.Y,n,s,t.st.ot)),fr(s)?rt(t,o,n,s,c):n!==lr?"textarea"===e&&"value"===n&&st(o,s)||j(o,n,r(n,s,t.W),c):it(o,s))}const f=n.key;f&&(t.Y.key=f),t.W&&(Ts.call(n.varProps,"class")||n.constProps&&Ts.call(n.constProps,"class")||o.setAttribute("class",t.W)),xo(t.D,t.N,t.Y,N(t))}function lt(t,n,e,r,i){const s=t.slice(2);if(Array.isArray(n)){const t=n,r=[];for(let n=0;n<t.length;n++){const e=t[n];if(Array.isArray(e))for(let t=0;t<e.length;t++){const n=e[t];n&&r.push(O.bind(null,n))}else e&&r.push(O.bind(null,e))}r.length>0&&((e._qDispatch||={})[s]=1===r.length?r[0]:r)}else n&&((e._qDispatch||={})[s]=O.bind(null,n));"e"!==t.charAt(2)&&ao(i.D,r,t,""),((t,n)=>{const e=import.meta.env.TEST?t._.document.defaultView:window;e&&(e._qwikEv||=[]).push(n)})(i,s)}function ct(t,n,e){if(t.it)ot(t,n,e,null);else{const r=t.L&&ro(t.L),i=r&&e===Io(t.L),s=n.key;i&&s===(r&&t.L.key)?ft(t,e,s):at(t,e,s,ut(e,s),t.N)&&ot(t,n,e,null)}const r=n.varProps;r&&((t,n,e,r)=>{t.it||$o(t._,n);const i=n.props;for(const s in e){const o=e[s];if(i&&Ts.call(i,s)){const e=i[s];if(o!==e){if(o instanceof Hi&&e instanceof Hi&&qt(o,e))continue;Ls(t,n,s,o,r)}}else null!=o&&Ls(t,n,s,o,r)}if(i)for(const s in i)Ts.call(e,s)||":"===s.charAt(0)||yr(s)||Ls(t,n,s,null,r)})(t,t.Y||t.L,r,null)}function ut(t,n){return null==n?null:t?t+":"+n:n}function ft(t,n,e){const r=ut(n,e);return!(!r||!t.K?.has(r)||(t.K.delete(r),0))}function at(t,n,e,r,i,s){if(t.Y=((t,n,e)=>{let r=null;if(null===t.X){const i=t.L;if(i){const r=ro(i)?Io(i):null;if((mt(i)||wt(i,t._.O))===e&&r===n)return i}t.X=new Map,t.G=[];const s=P(t);let o=t.L;for(;o&&o!==s;){const i=ro(o)?Io(o):null,s=mt(o)||wt(o,t._.O);null===r&&s==e&&i==n?r=o:null===s?t.G.push(i,o):t.X.set(ut(i,s),o),o=o.nextSibling}}else if(null===e){for(let e=0;e<t.G.length;e+=2)if(t.G[e]===n){r=t.G[e+1],t.G.splice(e,2);break}}else{const i=ut(n,e),s=t.X.get(i);s&&(r=s,t.X.delete(i))}return((t,n)=>{if(!n){if(t.L){const n=ro(t.L)?Io(t.L):null,e=mt(t.L)||wt(t.L,t._.O);if(null!=e){const r=ut(n,e);t.K||=new Map,t.K.set(r,t.L),t.X?.delete(r)}}return}const e=P(t);let r=t.L;for(;r&&r!==n&&r!==e;){const n=ro(r)?Io(r):null,e=mt(r)||wt(r,t._.O);if(null!=e){const i=ut(n,e);t.K||=new Map,t.K.set(i,r),t.X?.delete(i)}r=r.nextSibling}})(t,r),r})(t,n,e),t.Y)return r||_o(t.D,i,t.Y,N(t)),t.L=t.Y,t.Y=null,!1;if(null!=r){const n=t.K?.get(r)||null;if(n){if(t.K.delete(r),s&&t.L){const n=mt(t.L)||wt(t.L,t._.O);if(null!=n){const e=ut(ro(t.L)?Io(t.L):null,n);null!=e&&(t.K||=new Map,t.K.set(e,t.L))}}return n!==t.L&&_o(t.D,i,n,N(t)),t.L=n,t.Y=null,!1}}return!0}function ht(t,n,e){const r="F"===n,i=mt(t.L);if(!t.L||!lo(t.L)||i!==e||r&&!e)return null===e||t.it?(qo(t.D,t.N,t.Y=no(),J(t)),void(t.Y.key=e)):void(at(t,null,e,ut(null,e),t.N,!0)&&(qo(t.D,t.N,t.Y=no(),J(t)),t.Y.key=e));ft(t,null,i)}function dt(t,n){const e=n[Lu];let r=t.Y||t.L;const i=t.tt;if(e){const n=i.props;let s=!1;const[o]=e,l=o.ft,c=wt(r,t._.O),u=i.key||l;if(u===(mt(r)||c)?l===c?ft(t,null,u):($t(t,r,o,n),r=t.Y,s=!0):(at(t,null,u,u,t.N)&&($t(t,r,o,n),s=!0),r=t.Y||t.L),r){const e=uo(r,Ge,t._.O);if(!s){const l=((t,n,e,r)=>{let i=!1;if(e){const t=vt(n[ci],e[ci],e[ai],r,!1);i||=t;const s=vt(n[ui],e[ui],e[ai],r,!0);i||=s,e[fi]=n[fi]}else n&&(fo(t,Ge,n),e=n);return i})(r,n,e,t._);l&&null==i.key&&($t(t,r,o,n),r=t.Y,s=!0),s||=l}s&&(fo(r,qe,o),r.flags&=-33,Zt(t._,r,4,t.U))}((t,n,e)=>{const r=Array.isArray(n)?n:[n],i=t=>new Ki(bt,null,null,[],0,t),s=[];if(e){const t=e.props;if(t)for(const n in t)_(n)&&ae(s,n,i(n),0)}if(0!==s.length||null!=n){for(let t=0;t<r.length;t++){const n=r[t],e=(ts(n)&&bi(n,Ce)||"")+"",o=fe(s,e,0);let l;o>=0?l=s[o+1]:s.splice(~o,0,e,l=i(e)),!1===n||l.children.push(n)}for(let t=s.length-2;t>=0;t-=2)s.splice(t,1);W(t,s,!0)}})(t,i.children,r)}else{const e=i.key,s=e===mt(r),o=wt(r,t._.O);if(r&&null!=o||!r?(pt(t),r=t.Y):s?ft(t,null,e):(at(t,null,e,e,t.N)&&pt(t),r=t.Y||t.L),r){let e=r;for(;e&&(!lo(e)||null===uo(e,qe,null));)e=e.parent||al(e);const s=ps(t._,r,e||t._.rootVNode,n,i.props);t.B.push(s,r)}}}function $t(t,n,e,r){n&&p(t._,n),qo(t.D,t.N,t.Y=no(),J(t));const i=t.tt;fo(t.Y,qe,e),fo(t.Y,Ge,r),t.Y.key=i.key}function pt(t){qo(t.D,t.N,t.Y=no(),J(t));const n=t.tt;fo(t.Y,Ge,n.props),n.key&&(t.Y.key=n.key)}function yt(t,n){if(null!==t.L&&3===ul(t.L))return n!==Mo(t.L)?void To(t.D,t.L,n):void 0;xo(t.D,t.N,t.Y=to((import.meta.env.TEST?t._.document:document).createTextNode(n),n),N(t))}function mt(t){return null==t||oo(t)?null:t.key}function wt(t,n){if(null==t||oo(t))return null;const e=uo(t,qe,n);return e?e.ft:null}function bt(){}function vt(t,n,e,r,i=!0){if(gt(t)&>(n))return!1;e._=r;let s=!1;if(t)for(const r in t)if("children"!==r&&r!==Ie&&(!n||t[r]!==n[r])){if(!i)return!0;n&&(n[r]=t[r]),wi(e,r)||(s=!0)}if(n)for(const r in n)"children"===r||r===Ie||t&&Ts.call(t,r)||!i||(delete n[r],wi(e,r)||(s=!0));return s}function gt(t){return!t||Ir(t)}function St(t,n,e,r=null){let i=e;if(oo(e))return void xt(i);let s=null;for(;;){const o=i.flags;if(3&o){if(p(t,i),xt(i),2&o&&null!==uo(i,qe,null)){const e=t.getHostProp(i,Ke);if(e)for(let n=0;n<e.length;n++){const s=e[n];if(pe(s)){const n=Nc(s);if(n&&1&s.R){s.R|=16,Zt(t,i,64,r);continue}(s instanceof li||Xc(s))&&p(t,s),(n||s instanceof Ai)&&Ms(s)}}const s=i.props;if(s)for(const e of Object.keys(s))if(_(e)){const i=s[e];if(i){s[e]=null;const o="string"==typeof i?wo(t.rootVNode,i):i;let l=Fo(o);for(;l;)St(t,n,l,r),l=l.nextSibling;kt(n,o)}}}if(co(i)){if(i===e){const t=Fo(i);if(t)return void rn(t,()=>{})}}else{const t=Fo(i);if(t){i=t;continue}}}else 4&o&&xt(i);if(i===e)return;const l=i.nextSibling;if(l)i=l;else{for(s=i.parent;s;){if(s===e)return;const t=s.nextSibling;if(t){i=t;break}s=s.parent}if(null==s)return}}}function kt(t,n){const e=n.parent;e&&1&e.flags&&Io(e)===Qe&&Po(t,e,n,!0)}function xt(t){t.flags|=32}function qt(t,n){return t===n||n.ht===t.ht&&((t,n)=>{if(t===n)return!0;if(!t||!n||t.length!==n.length)return!1;for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0})(n.dt,t.dt)}function Rt(t,n){if(!(n instanceof Hi))return!1;for(const e of t)if(e instanceof Hi&&qt(e,n))return!0;return!1}function Et(t,n,e,r){const i=r(t,n);return i.key=e,i}function Ct(t,n,e,r,i,s){const o=Array(s-i+1);for(let l=i;l<=s;l++){const s=n[l]??(n[l]=e(t[l],l));o[l-i]=Et(t[l],l,s,r)}return o}function jt(t,n,e){let r=n?n.previousSibling:t.lastChild;for(let t=1;t<e&&r;t++)r=r.previousSibling;return r}function _t(t,n,e,r,i,s,o){const l=t,c=i.length,u=Fo(e),f=T(l,n,r,null),a=Array(c);if(null===u)return c>0?zs(l,n,Ct(i,a,s,o,0,c-1),e,null,null,r,null,!0,f):void 0;if(0===c)return void No(n,e,u,!0);let h=0,d=c-1,$=u;for(;$&&h<=d&&$.key===(a[h]??=s(i[h],h));)$=$.nextSibling,h++;if(null===$){if(h>d)return;return zs(l,n,Ct(i,a,s,o,h,d),e,null,null,r,null,!0,f)}if(h>d)return void No(n,e,$,!0);const p=$.previousSibling;let y=e.lastChild;for(;y!==p&&d>=h&&y.key===(a[d]??=s(i[d],d));)y=y.previousSibling,d--;const m=y?y.nextSibling:$;if(h>d){let t=$;for(;t&&t!==m;){const r=t.nextSibling;Po(n,e,t,!0),t=r}return}if(y===p){const t=m;return zs(l,n,Ct(i,a,s,o,h,d),e,t,t,r,null,!0,f)}for(let t=h;t<=d;t++)a[t]??=s(i[t],t);const w=d-h+1,b=new Map;for(let t=h;t<=d;t++)b.set(a[t],t-h);const v=((t,n=null)=>{const e=[];let r=t;for(;r&&(e.push(r),r!==n);)r=r.nextSibling;return e})($,y),g=[],S=new Map;for(let t=0;t<v.length;t++){const r=v[t],i=r.key;b.has(i)?(S.set(i,g.length),g.push(r)):Po(n,e,r,!0)}const k=new Int32Array(w);k.fill(-1);const x=[],q=[];for(let t=0;t<w;t++){const n=S.get(a[h+t]);void 0!==n&&(k[t]=n,q.push(t),x.push(n))}const R=new Uint8Array(w),E=(t=>{const n=t.length;if(0===n)return[];const e=[],r=Array(n).fill(-1);for(let i=0;i<n;i++){const n=t[i];let s=0,o=e.length;for(;s<o;){const r=s+o>>1;t[e[r]]<n?s=r+1:o=r}s>0&&(r[i]=e[s-1]),s===e.length?e.push(i):e[s]=i}const i=[];let s=e[e.length-1];for(;-1!==s;)i.push(s),s=r[s];return i.reverse(),i})(x);for(let t=0;t<E.length;t++)R[q[E[t]]]=1;let C=d,j=m;const _=()=>{for(;C>=h;){const t=C-h;if(1===R[t]){j=g[k[t]],C--;continue}const s=k[t];if(-1!==s){const t=g[s];(null===j?e.lastChild===t:t.nextSibling===j)||_o(n,e,t,j),j=t,C--;continue}let c=C;for(;c>h;){const t=c-1-h;if(1===R[t]||-1!==k[t])break;c--}const u=C-c+1,d=zs(l,n,Ct(i,a,null,o,c,C),e,j,j,r,null,!0,f);return hr(d,()=>{const t=jt(e,j,u);return j=t,C=c-1,_()})}};return _()}function Ot(t,n,e){t.dirty&=-2;const r=n.getHostProp(t,Ke);if(!r||0===r.length)return;let i;for(const s of r)if(s instanceof Pc){const r=s;if(!(4&r.R))continue;if(1&r.R)(e.afterFlushTasks||=[]).push(r);else{const s=!!(8&r.R),o=Ac(r,n,t);fr(o)&&(s?i=i?i.then(()=>o):o:(e.extraPromises||=[]).push(o))}}return i}function At(t,n){(t.props||={})[si]=n}function Pt(t,n,e,r){t.dirty&=-3;const i=t;let s=(t=>{const n=t.props;return n?.[si]})(t);if(s)return At(t,null),Mc(s)&&(s=s.value),Fs(n,e,s,i,r,null)}function Nt(t,e,r,i){t.dirty&=-5;const s=t,o=e.getHostProp(s,qe);if(!o)return;const l=e.getHostProp(s,Ge)||null,c=ar(()=>ps(e,s,s,o,l),t=>{const o=e.getHostProp(s,Pe);return n(()=>Fs(e,r,t,s,i,pr(o)))},t=>{e.handleError(t,s)});return fr(c)?c:void 0}function It(t,n,e,r,i,s=null){n.push(Is(t.node,e,r,s,!!(512&t.flags))),i||(t.props&&null==r?delete t.props[e]:(t.props||={})[e]=r)}function Mt(t,n){if(t.dirty&=-9,!(1&t.flags))return;const e=(t=>(t.props||={})[ii]??null)(t);if(!e||0===e.size)return;const r=t;for(const[t,i]of e.entries()){let e=i.value;Mc(e)&&(e=e.value),It(r,n,t,e,i.isConst,i.scopedStyleIdPrefix)}(t=>{delete(t.props||={})[ii]})(t)}function Tt(t,n){t.dirty&=-65;const e=n.getHostProp(t,Ke);if(e&&0!==e.length)for(const t of e)t instanceof Pc&&16&t.R&&(t.R&=-17,Ms(t))}function Ft(t,e){t.dirty&=-17;const r=e.getHostProp(t,oi);if(!r)return;const i=r.$,s=$n();return s._=e,hr(n(()=>an.call(r,s,r.j)),()=>{if(2&r.R)return r.R&=-3,Lc(e,r,i)})}function zt(t,n,e,r){t.dirty&=-129;const i=t,s=n.getHostProp(i,Ge)||null;if(!s)return;let o=vi(s,"items");Mc(o)&&(o=ml(o));const l=vi(s,"key$"),c=vi(s,"item$"),u=l.resolved,f=c.resolved;return void 0!==u&&void 0!==f?_t(n,e,i,r,o,u,f):hr(l.resolve(),t=>hr(c.resolve(),s=>_t(n,e,i,r,o,t,s)))}function Lt(t){let n=null,e=null,i=null;const s=new Set,o=()=>{if(i){if(1===i.length)Us(n,i[0],e);else{const t=(n.ownerDocument||n).createDocumentFragment();for(let n=0;n<i.length;n++)t.appendChild(i[n]);Us(n,t,e)}i=null,n=null,e=null,s.clear()}};for(let l=0;l<t.length;l++){const c=t[l];if(c instanceof js){if(n===c.parent&&e===c.beforeTarget){i||(i=[]),i.push(c.target),s.add(c.target);continue}if(!i){n=c.parent,e=c.beforeTarget,i=[c.target],s.add(c.target);continue}if(n===c.parent){o(),n=c.parent,e=c.beforeTarget,i=[c.target],s.add(c.target);continue}if(s.has(c.target)||e&&c.target===e||n&&c.target===n){o(),n=c.parent,e=c.beforeTarget,i=[c.target],s.add(c.target);continue}Us(c.parent,c.target,c.beforeTarget)}else if(c instanceof Rs)(s.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.remove();else{if(c instanceof Es){(s.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.textContent="";continue}if(c instanceof Cs)c.target.nodeValue=c.text;else if(c instanceof _s){const t=c.target,e=c.attrName,i=c.attrValue,s=null!=i?r(e,i,c.scopedStyleIdPrefix):null,l=null==s||!1===s;Ws(t,e)?t[e]=Qs(s):e===lr?(n===t&&o(),t.innerHTML=s,t.setAttribute(Ue,"html")):l?t.removeAttribute(e):"value"===e&&e in t?t.value=s:j(t,e,s,c.isSvg)}}}o()}function Dt(){Hs||(Hs=!0,Vs())}function Ut(){Hs||(Hs=!0,Bs())}function Wt(t={timeBudget:1e3/60}){Hs=!1;let n=null;for(;n=l();)Qt(n,t)}function Qt(t,n){const{timeBudget:e}=n,r=import.meta.env.TEST?Wr():Xn,i=performance.now(),s=h(t);if(s.promise)return;const o=s.container;if(!t.dirty)return void Vt(o,t,s,r);const l=s.journal||=[];let f=null;for(;f=s.position;){if(s.promise)return;if(!(255&f.dirty)){a(o,s,Ht(f,t));continue}if(32&f.flags){if(64&f.dirty)Tt(f,o);else if(32&f.dirty){const n=Bt(o,s,f,t);if(null!==n){f=n;continue}}f.dirty&=-256,a(o,s,Ht(f,t));continue}let n;try{if(1&f.dirty)n=Ot(f,o,s);else if(2&f.dirty)n=Pt(f,o,l,t);else if(4&f.dirty)n=Nt(f,o,l,t);else if(128&f.dirty)n=zt(f,o,l,t);else if(8&f.dirty)Mt(f,l);else if(16&f.dirty)n=Ft(f,o);else if(32&f.dirty){const n=Bt(o,s,f,t);if(null!==n){f=n;continue}}}catch(t){o.handleError(t,f)}if(n&&fr(n)){s.promise=n,c(t,o);const e=f;return void n.catch(t=>{o.handleError(t,e)}).finally(()=>{s.promise=null,u(t,o),Dt()})}if(performance.now()-i>=e)return void Ut()}Vt(o,t,s,r)}function Vt(t,n,e,r){if(!(255&n.dirty)){if(f(n,t),r||((t,n)=>{const e=h(t),r=e.journal;r&&r.length>0&&(Lt(r),e.journal=null),((t,n)=>{const e=n.afterFlushTasks;if(!e||0===e.length)return void(n.afterFlushTasks=null);let r;for(const n of e){const e=Ac(n,t,n.$t);fr(e)&&(r=r?r.then(()=>e):e)}r&&(n.extraPromises||=[]).push(r),n.afterFlushTasks=null})(n,e)})(n,t),e.extraPromises)return void Promise.all(e.extraPromises).then(()=>{Jt(t)});Jt(t)}}function Jt(t){t.yt()}function Bt(t,n,e,r){const i=e.dirtyChildren;if(!i||0===i.length)return e.dirty&=-33,null;((t,n)=>{let e=0;for(let r=0;r<t.length;r++){const i=t[r];if(i.parent===n){if(e!==r){const n=t[e];t[e]=i,t[r]=n}e++}}})(i,e),e.nextDirtyChildIndex=0;const s=Ht(i[0],r);return a(t,n,s),s}function Ht(t,n){if(t===n)return 255&n.dirty?n:null;let e=null;if(t.slotParent&&32&t.slotParent.dirty?e=t.slotParent:t.parent&&32&t.parent.dirty&&(e=t.parent),!e)return 255&n.dirty?n:null;const r=e.dirtyChildren;let i=e.nextDirtyChildIndex;const s=r.length;let o=s;for(;o-- >0;){const t=r[i];if(255&t.dirty)return e.nextDirtyChildIndex=(i+1)%s,t;i++,i===s&&(i=0)}return e.dirty&=-33,e.dirtyChildren=null,e.nextDirtyChildIndex=0,Ht(e,n)}function Yt(t,n,e){ri.set(n,{afterFlushTasks:null,extraPromises:null,journal:null,container:t,position:n,priority:e,promise:null});const r=n;return r.flags|=256,o(t,r),Dt(),r}function Xt(t){return!!(256&t.flags)}function Gt(t,n){if(!(1&n.flags))return 8&n.dirty&&((t,n)=>{n.dirty&=-9;const e=n.getProp(ii);if(e&&0!==e.size)for(const[i,s]of e.entries()){let e=s.value;Mc(e)&&(e=e.value);const o=r(i,e,s.scopedStyleIdPrefix);t.addBackpatchEntry(n.id,i,o)}})(t,n),16&n.dirty&&Ft(n,t),255&n.dirty&&ce(`A chore was scheduled on a host element that has already been streamed to the client.\n This can lead to inconsistencies between Server-Side Rendering (SSR) and Client-Side Rendering (CSR).\n \n Problematic chore:\n - Host: ${""+n}\n - Nearest element location: ${n.currentFile}\n \n This is often caused by modifying a signal in an already rendered component during SSR.`),void(n.dirty&=-256);let e=null;if(1&n.dirty){const r=((t,n)=>{n.dirty&=-2;const e=n.getProp(Ke);if(!e||0===e.length)return null;let r=null;for(const i of e)if(i instanceof Pc){const e=i;if(!(4&e.R))continue;const s=Ac(e,t,n);r=r?r.then(()=>s):s}return r})(t,n);fr(r)&&(e=r)}if(128&n.dirty){const r=(async(t,n)=>{n.dirty&=-129;const e=t.getHostProp(n,Ge)||null;if(!e)return;let r=vi(e,"items");Mc(r)&&(r=ml(r));const i=await vi(e,"key$").resolve(),s=await vi(e,"item$").resolve(),o=[];for(let t=0;t<r.length;t++){const n=r[t],e=s(n,t),l=i(n,t);e.key=l,o.push(e)}await t.renderJSX(o,{currentStyleScoped:null,parentComponentFrame:t.getComponentFrame(0)})})(t,n);e=e?e.then(()=>r):r}return n.dirty&=-252,e||void 0}function Kt(t){for(let n=0;n<Ys.length;n++){const e=Ys[n],r=Ys[n+1]||t;r.dirty|=32,r.dirtyChildren||=[],r.dirtyChildren.includes(e)||r.dirtyChildren.push(e)}}function Zt(t,n,e,r=null){const i=n.dirty;if(n.dirty|=e,import.meta.env.TEST?Wr():Xn){const e=Gt(t,n);return void(fr(e)&&(t.l=t.l?t.l.then(()=>e):e))}const s=255&e;if((s?255&i:i)||n===r)return;const o=n.slotParent||n.parent;if(r&&s&&o&&!o.dirty)((t,n)=>{Ys.push(t);let e=t.slotParent||t.parent;for(;e;){const r=255&e.dirty,i=Xt(e);if(e===n||r){if(Kt(e),i){const n=h(e);n.position!==e&&(n.position=t)}return void(Ys.length=0)}if(i){const n=h(e);n.position!==e&&(n.position=t)}Ys.push(e),e=e.slotParent||e.parent}Ys.length=0,(()=>{throw ue(!1,"Cursor root not found in current path!")})()})(n,r);else if(o&&255&o.dirty){if(s&&(o.dirty|=32),o.dirtyChildren||=[],o.dirtyChildren.includes(n)||o.dirtyChildren.push(n),s&&n.dirtyChildren){const t=(t=>{for(;t;){if(Xt(t))return t;t=t.parent||t.slotParent}return null})(n);if(t){const e=h(t);let r=e.position;if(r)for(;r!==t;)if(r=r.slotParent||r.parent,r===n){e.position=n;break}}}}else Xt(n)||(t=>{Ys.push(t);let n=t.slotParent||t.parent;for(;n;){if(Xt(n))return Kt(n),Ys.length=0,!0;Ys.push(n),n=n.slotParent||n.parent}return Ys.length=0,!1})(n)||Yt(t,n,0)}function tn(t,n){t.push(n)}function nn(t,n,e,r){const i=t.value,s=n.slice(2),o=i.split("|"),l=[];for(let t=0;t<o.length;t++){const n=po(mn(o[t],e));l.push(O.bind(null,n))}(r._qDispatch||={})[s]=1===l.length?l[0]:l}function en(t,n,e){let r=Fo(n);for(;r;)oo(r)?(mo(t,r),e(r,n)):ro(r)?e(r,n):en(t,r,e),r=r.nextSibling}function rn(t,n){let e=t;if(oo(t))return void n?.(t,null);let r=null;for(;;){if(n?.(e,r))return;const i=Fo(e);if(i){e=i;continue}if(e===t)return;const s=e.nextSibling;if(s)e=s;else{for(r=e.parent;r;){if(r===t)return;const n=r.nextSibling;if(n){e=n;break}r=r.parent}if(null==r)return}}}function sn(t,n,e,r){const i="string"==typeof n,s=n.length;for(;t;){const o=t.nodeValue;let l;if(i)l=o?.startsWith(n);else for(let t=0;t<s;t++)if(o?.startsWith(n[t])){l=!0;break}if(l)return e.call(t)||null;let c=r.call(t);for(c||(c=e.call(t));!c&&(c=Ho(t),c);)t=c,c=e.call(c);t=c}return null}function on(t,n,e){t[Yr]?((t,n)=>{for(const[e,r]of n)t.set(e,r)})(t[Yr],e.O(n)):Object.defineProperty(t,Yr,{get(){const r=e.O(n);return t[Yr]=r,r},set(n){Object.defineProperty(t,Yr,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}function ln(t=20,n="",e=!1,r=!1,i=!0,s=null){if(this&&!s)try{s=(()=>{let t=this;for(;t;){if(ro(t)){const n=Tn(t.node);return n?Mn(n):null}t=t.parent}return null})()}catch{}let o=this;if(0===t)return"...";if(null===o)return"null";if(void 0===o)return"undefined";const l=[];do{if(oo(o))l.push(zn(Mo(o)));else if(lo(o)){const e=["["+(o.flags>>>12)+"]"];o.dirty&&e.push(" dirty:"+o.dirty),s&&el(s,o).forEach(t=>{if(t!==Se&&t!==cr){const n=uo(o,t,null);e.push(" "+t+"="+zn(n))}});const r=(i?"[34m":"")+(ke[uo(o,Se,null)||"V"]||ke.V)+(i?"[0m":"");l.push("<"+r+e.join("")+">");const c=Fo(o);c&&l.push(" "+ln.call(c,t-1,n+" ",!0,!0,i)),l.push("</"+r+">")}else if(ro(o)){const r=Io(o),c=[];Xt(o)&&c.push(" cursor"),o.dirty&&c.push(" dirty:"+o.dirty),o.dirtyChildren&&c.push(` dirtyChildren[${o.dirtyChildren.length}]`);const u=s?el(s,o):[];for(const t of u){const n=uo(o,t,null);c.push(" "+t+"="+zn(n))}const f=sl(o);if(f){const t=Zo(f).qVNodeData?.get(f);t&&c.push(" q:vnodeData="+zn(t))}const a=f.attributes;for(let t=0;t<a.length;t++){const n=a[t];-1===u.indexOf(n.name)&&c.push(" "+n.name+(n.value?"="+zn(n.value):""))}if(l.push("<"+r+c.join("")+">"),so(o)||e){const e=Fo(o);e&&l.push(" "+ln.call(e,t-1,n+" ",!0,!0,i))}else l.push(" \x3c!-- not materialized --!>");l.push("</"+r+">")}o=r&&o.nextSibling||null}while(o);return l.join("\n"+n)}function cn(t){return!t.hasAttribute(or)||"STYLE"===t.nodeName&&(t.hasAttribute(Pe)||t.hasAttribute(_e))}function un(t){if(void 0===hl){const n=$l();if(n&&n.wt)return n.wt;if(void 0!==t)return t;throw Error("Reading `locale` outside of context.")}return hl}function fn(t,n){const e=hl;try{return hl=t,n()}finally{hl=e}}function an(t,n,...e){return hn.call(this,t,n,e)}function hn(t,n,e){const r=dl;try{return dl=t,n.apply(this,e)}finally{dl=r}}function dn(t,n,e){const r={p:n,bt:He,vt:void 0,wt:t,_:e,gt:void 0};return ie(r),r}function $n(t,n,e){const r={p:n,bt:e,vt:void 0,wt:t||(e&&pe(e)&&"locale"in e?e.locale:void 0),_:void 0};return ie(r),r}function pn(t,n,e){let r=n.St,i=n.kt;const s=Ur();if(s){const t=s.chunkForSymbol(r,i);t&&(i=t[1],r=t[0])}var o;if(ge(o=n)&&o.St==ve)i="",r=t.xt(null,0,n.resolved)+"";else{if(i||(i=t.qt(n.ft)),!i)throw be(14,[n.St]);i.startsWith("./")&&(i=i.slice(2))}const l=n.getCaptured();let c=null;if(l&&l.length>0&&(c=l.map(n=>""+t.Rt(n)).join(" ")),e)return[i,r,c];let u=`${i}#${r}`;return c&&(u+="#"+c),u}function yn(t,n,e,r){return Eu(t,n,null,null,e,r)}function mn(t,n){const[e,r,i]=t.split("#");return yn(e,r,i||null,n)}function wn(t,n){return n?t.rootVNode?wo(t.rootVNode,n):void 0:t.element?.ownerDocument}function bn(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function vn(t,n){return n.Et&&"{"===n.Et[0]&&(n.Et=`(${n.Et})`),[t.xt(n.Et,n.dt.length,n.ht),n.dt]}function gn(t){return Object.prototype.hasOwnProperty.call(t,Ie)?t[Ie]:void 0}function Sn(t,n,e){return()=>{t.currentStyleScoped=n,t.parentComponentFrame=e}}async function kn(t,e,r){const i=[e],s=t=>i.push(t);await(async()=>{for(;i.length;){const e=i.pop();if(e===ic){const t=i.pop();await n(()=>i.push(t()));continue}"function"!=typeof e?xn(t,s,e,r):e===Promise?i.push(await i.pop()):await e.apply(t)}})()}function xn(t,n,e,r){if(null==e)t.textNode("");else if("boolean"==typeof e)t.textNode("");else if("number"==typeof e)t.textNode(e+"");else if("string"==typeof e)t.textNode(e);else if("object"==typeof e)if(Array.isArray(e))for(let t=e.length-1;t>=0;t--)n(e[t]);else if(Mc(e)){((t,n)=>{const e=n instanceof Hi?n.ut():n;e instanceof Ai&&e.Ct>0&&(t.Rt(e),t.jt.add(e))})(t.serializationCtx,e),t.openFragment(pi);const r=t.getOrCreateLastNode(),i=e instanceof Hi?e.ut():e;n(t.closeFragment),n(()=>vl(i,r,".",t)),n(ic)}else if(fr(e))t.openFragment(pi),n(t.closeFragment),n(e),n(Promise),n(()=>t.streamHandler.flush());else if((t=>!!t[Symbol.asyncIterator])(e))n(async()=>{for await(const n of e)await kn(t,n,{currentStyleScoped:r.currentStyleScoped,parentComponentFrame:r.parentComponentFrame}),t.streamHandler.flush()});else{const i=e,s=i.type;if("string"==typeof s){((t,n)=>{null==bi(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")})(i,r.currentStyleScoped);const e=t.openElement(s,i.key,i.varProps,i.constProps,r.currentStyleScoped,null,!!(4&i.flags));e&&t.htmlNode(e),n(t.closeElement),"head"===s?(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),n(t.additionalHeadNodes)):"body"===s?n(t.additionalBodyNodes):t.isHtml||t._didAddQwikLoader||(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),t._didAddQwikLoader=!0);const o=i.children;null!=o&&n(o)}else if(we(s))if(s===ds){t.openFragment(null!=i.key?{[Xe]:i.key}:{}),n(t.closeFragment);const e=i.children;null!=e&&n(e)}else if(s===ys){const e=r.parentComponentFrame;if(e){const s={};s["q:sparent"]=e.componentNode.id||"",t.openProjection(s);const o=e.componentNode,l=t.getOrCreateLastNode(),c=((t,n,e)=>{const r=n.constProps;if(r&&"object"==typeof r&&"name"in r){const n=r.name;if(n instanceof Hi)return vl(n,t,":",e)}return bi(n,"name")||Ye})(o,i,t);s[Ce]=c,n(Sn(r,r.currentStyleScoped,r.parentComponentFrame)),n(t.closeProjection);const u=i.children||null,f=e.consumeChildrenForSlot(l,c)||u;u&&f!==u&&t.addUnclaimedProjection(e,Ye,u),n(f),n(Sn(r,e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(pi),t.closeFragment()}else if(s===bs)t.commentNode(bi(i,"data")||"");else if(s===gs){t.streamHandler.flush();const e=i.children;let s;s=we(e)?e({async write(n){await kn(t,n,{currentStyleScoped:r.currentStyleScoped,parentComponentFrame:r.parentComponentFrame}),t.streamHandler.flush()}}):e,n(s),fr(s)&&n(Promise)}else if(s===ws)t.htmlNode(bi(i,"data"));else if(s===vs)t.streamHandler.streamBlockStart(),n(()=>t.streamHandler.streamBlockEnd()),n(i.children);else if(Du(s)){t.openComponent({});const e=t.getOrCreateLastNode(),o=t.getParentComponentFrame();o.distributeChildrenIntoSlots(i.children,r.currentStyleScoped,r.parentComponentFrame);const l=((t,n,e)=>{const r=t.getOrCreateLastNode(),[i]=e[Lu],s=n.props;return s&&s.children&&delete s.children,r.setProp(qe,i),r.setProp(Ge,s),null!==n.key&&r.setProp(Xe,n.key),ps(t,r,r,i,s)})(t,i,s);if(n(Sn(r,r.currentStyleScoped,r.parentComponentFrame)),n(t.closeComponent),fr(l))n(async()=>{const t=await l,i=pr(e.getProp(Pe));n(t),n(Sn(r,i,o))});else{n(l);const t=pr(e.getProp(Pe));n(Sn(r,t,o))}}else{t.openFragment({[Xe]:i.key}),n(t.closeFragment);const e=t.getParentComponentFrame(),r=((t,n,e,r)=>{const i=t.getOrCreateLastNode();return ps(t,i,n,e,r.props)})(t,e&&e.componentNode,s,i);n(r),fr(r)&&n(Promise)}}}function qn(t,n,e,r){let i=null;const s=e,o=t=>{i=(null==i?"":i+"|")+t},l=n=>(n.St.startsWith("_")||!n._t?.length&&!r||(n=Eu(null,"_run",A,null,[n])),pn(t,n));if(Array.isArray(s))for(let e=0;e<s.length;e++){const i=s[e];if(ge(i))o(l(i)),Rn(t,n,i);else if(null!=i){const e=qn(t,n,i,r);e&&o(e)}}else ge(s)&&(i=l(s),Rn(t,n,s));return i}function Rn(t,n,e){const r=[(i=n).charAt(2),i.substring(4)];var i;if(r){const[n,i]=r,s=((t,n)=>t+":"+n)(n,i);t.Ot.add(s),t.At.add(e)}}function En(t){$l()&&(yc||=Ll(pc,"_hmr"),ac((t=>"qHmr"+t.replace(/[^a-zA-Z0-9_]/g,"_"))(t),yc))}function Cn(t,n,e,r,i){const s=no();return fo(s,Ce,i),s.parent=n,fo(n,i,s),fo(s,qe,e),fo(s,Ge,r),s.dirty=4,Yt(t,s,1),s}function jn(t,n){fo(t,Re,n),t.flags|=2048}function _n(t,n,e){fo(n,Ge,e),Zt(t,n,4)}function On(t,n,e,r){fo(n,r,null);const i=[];if(St(t,i,e),ko(i),2048&e.flags){const t=uo(e,Re,null);t&&t.replaceChildren(),fo(e,Re,null),e.flags&=-2049}}function An(t,n,e){if(0===n)return e;const r=Fl(t,n,e);return Sc(n)&&vc(t,r,n,e),r}function Pn(t,n){if(t)for(const e of t)e.backRef||=new Set,e.backRef.add(n)}function Nn(t,n){if(t)for(const[,e]of t)Pn(e,n)}function In(t){const n=Tn(t);if(!n)throw be(24);return Mn(n)}function Mn(t){const n=t;return n.qContainer||=new _c(n)}function Tn(t){return t.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}function Fn(t,n){const e=In(n);"string"==typeof this&&Su(ku(e,this));const r=gu[0];r.R|=4,Zt(e,r.$t,1)}function zn(t){try{if(null===t)return"null";if(void 0===t)return"undefined";if("string"==typeof t)return'"'+t+'"';if("number"==typeof t||"boolean"==typeof t)return t+"";if(Nc(t))return`Task(${zn(t.Pt)})`;if(ge(t))return`Qrl(${t.St})`;if("object"==typeof t||"function"==typeof t){if(Wc.includes(t))return"*";try{if(Wc.push(t),Array.isArray(t))return eo(t)?"("+(uo(t,Se,null)||"vnode")+")":t.map(zn);if(Mc(t))return t instanceof Hi?"WrappedSignal":t instanceof _i?"ComputedSignal":"Signal";if(Xc(t))return"Store";if(ts(t))return Qc(t);if(eo(t))return"("+(uo(t,Se,null)||"vnode")+")"}finally{Wc.pop()}}}catch(t){return console.error("ERROR in qwikDebugToString",t),"*error*"}return t}function Ln(t,n,e){return new Proxy(n,new Kc(e,t||null))}function Dn(t,n,e,r){const i=e.$||=new Map;let s=i.get(n);s||(s=new Set,i.set(n,s)),Tc(s,r),Fc(r,t),(import.meta.env.TEST?!jc(e._):Xn)&&zc(r,e._)}function Un(t,n,e,r){e[t]=n;const i=Wn(e,t,r.$);i&&Lc(r._,r,i)}function Wn(t,n,e){let r;if(e)if(Array.isArray(t))for(const t of e.values()){r||=new Set;for(const n of t)r.add(n)}else r=e.get(n);const i=e?.get(Ci);if(i){r||=new Set;for(const t of i)r.add(t)}return r}function Qn(t,n){const e=(t,n)=>1===t&&"string"==typeof n,r=t=>14===t,i=n=>{const e=t[n+1].split(" ");let r=t,i=1,s=0,o=0,l=null;for(let n=0;n<e.length;n++)if(l=r,s=2*parseInt(e[n],10),o=s+1,i=r[s],r=r[o],1===i){const n=2*r;i=t[n],r=t[n+1]}l&&(l[s]=1,l[o]=n/2),t[n]=i,t[n+1]=r};for(let s=0;s<t.length;s+=2)e(t[s],t[s+1])?i(s):r(t[s])&&(n.Nt=t[s+1])}async function Vn(t){const n=ec(null,null,()=>"",()=>{},new WeakMap);return n.Rt(t),await n.It(),""+n.Mt}function Jn(t){if(null==t)throw Error("No state data to deserialize");const n=JSON.parse(t);if(!Array.isArray(n)||n.length<2||"number"!=typeof n[0])throw Error("Invalid state data");const e=(t=>{let n;const e={O:t=>Bn(t,n),getSyncFn:()=>()=>{},h:new WeakMap,element:null,Nt:null};return Qn(t,e),n=qc(e,t),e.Tt=n,e})(n);return An(e,n[0],n[1])}function Bn(t,n){return"string"==typeof t?n[t=parseInt(t,10)]:n[t]}function Hn(t,n){const e=$l();return e?._?.Ft[t]??n}import{p as Yn}from"@qwik.dev/core/preloader";const Xn=!1,Gn=!0,Kn=!1,Zn=globalThis,te=!1!==Zn.qDev,ne=!1!==Zn.qDynamicPlatform,ee=!0===Zn.qTest,re=!0===Zn.qRuntimeQrl,ie=t=>{te&&Object.seal(t)},se=te?"background: #564CE0; color: white; padding: 2px 3px; border-radius: 2px; font-size: 0.8em;":"",oe=/*#__PURE__*/new Set,le=(t,...n)=>{if(te){const e="warn"+t;oe.has(e)||(oe.add(e),ce(t,...n))}},ce=(t,...n)=>{te&&console.warn("%cQWIK WARN",se,t,...n)},ue=(t,n,...e)=>{const r=n instanceof Error?n:Error(n);return!ee&&console.error("%cQWIK ERROR",se,r.message,...e,r.stack),t&&!ee&&setTimeout(()=>{throw r},0),r},fe=(t,n,e)=>{let r=e>>1,i=t.length-2>>1;for(;r<=i;){const e=r+(i-r>>1),s=t[e<<1];if(s===n)return e<<1;s<n?r=e+1:i=e-1}return~(r<<1)},ae=(t,n,e,r,i=!1)=>{const s=fe(t,n,r);s>=0?null!=e||i?t[s+1]=e:t.splice(s,2):(null!=e||i)&&t.splice(-1^s,0,n,e)},he=(t,n,e)=>{const r=fe(t,n,e);return r>=0?t[r+1]:null},de=(t,n,e)=>fe(t,n,e)>=0,$e=t=>{const n=Object.getPrototypeOf(t);return n===Object.prototype||n===Array.prototype||null===n},pe=t=>"object"==typeof t&&null!==t,ye=t=>Array.isArray(t),me=t=>"string"==typeof t,we=t=>"function"==typeof t,be=(t,n=[])=>{const e=((t,...n)=>{if(te){let e=["Error while serializing class or style attributes","Scheduler not found","track() received object, without prop to track","Only primitive and object literals can be serialized. {{0}}","You can render over a existing q:container. Skipping render().","QRL is not a function","Dynamic import {{0}} not found","Unknown type argument","Actual value for useContext({{0}}) can not be found, make sure some ancestor component has set a value using useContextProvider(). In the browser make sure that the context was used during SSR so its state was serialized.","Invoking 'use*()' method outside of invocation context.","Calling a 'use*()' method outside 'component$(() => { HERE })' is not allowed. 'use*()' methods provide hooks to the 'component$' state and lifecycle, ie 'use' hooks can only be called synchronously within the 'component$' function or another 'use' method.\nSee https://qwik.dev/docs/core/tasks/#use-method-rules",'The provided Context reference "{{0}}" is not a valid context created by createContextId()',"SsrError(tag): {{0}}","QRLs can not be resolved because it does not have an attached container. This means that the QRL does not know where it belongs inside the DOM, so it cant dynamically import() from a relative path.","QRLs can not be dynamically resolved, because it does not have a chunk path","{{0}}\nThe JSX ref attribute must be a Signal","Serialization Error: Deserialization of data type {{0}} is not implemented","Serialization Error: Expected vnode for ref prop, but got {{0}}","Serialization Error: Cannot allocate data type {{0}}","Serialization Error: Missing root id for {{0}}","Serialization Error: Serialization of data type {{0}} is not implemented","Serialization Error: Unvisited {{0}}","Serialization Error: Missing QRL chunk for {{0}}","{{0}}\nThe value of the textarea must be a string found {{1}}","Unable to find q:container","Element must have 'q:container' attribute.","Unknown vnode type {{0}}.","Materialize error: missing element: {{0}} {{1}} {{2}}","Cannot coerce a Signal, use `.value` instead","useComputed$ QRL {{0}} {{1}} cannot return a Promise",'===\nQwik version {{0}} already imported while importing {{1}}.\nThis can lead to issues due to duplicated shared structures.\nVerify that the Qwik libraries you\'re using are in "resolve.noExternal[]" and in "optimizeDeps.exclude".\n===\n',"WrappedSignal is read-only","Attribute value is unsafe for SSR {{0}}","SerializerSymbol function returned rejected promise","Serialization Error: Cannot serialize function: {{0}}"][t]??"";return n.length&&(e=e.replaceAll(/{{(\d+)}}/g,(t,e)=>{let r=n[e];return r&&pe(r)&&r.constructor===Object&&(r=JSON.stringify(r).slice(0,50)),r})),`Code(Q${t}): ${e}`}return`Code(Q${t}) https://github.com/QwikDev/qwik/blob/build/v2/packages/qwik/src/core/shared/error/error.ts#${n.join()}L${9+t}`})(t,...n);return((t,...n)=>ue(te,t,...n))(e,...n)},ve="<sync>",ge=t=>"function"==typeof t&&"function"==typeof t.getSymbol,Se="q:type",ke={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},xe=124,qe="q:renderFn",Re="q:targetEl",Ee="⚡️",Ce="q:slot",je="q:s",_e="q:style",Oe="style[q\\:style]",Ae=Oe+",style[q\\:sstyle]",Pe="q:sstyle",Ne="q:ctx",Ie="q:brefs",Me=(t,n)=>t["qFuncs_"+n]||[],Te="q:base",Fe="q:container-island",ze="/"+Fe,Le="q:ignore",De="/"+Le,Ue="q:container",We="/"+Ue,Qe="q:template",Ve="http://www.w3.org/1999/xhtml",Je="http://www.w3.org/2000/svg",Be="http://www.w3.org/1998/Math/MathML",He="qRender",Ye="",Xe="q:key",Ge="q:props",Ke="q:seq",Ze="q:seqIdx",tr="q:p",nr="q:ps",er=":",rr=":on",ir=":onIdx",sr=":onFlags",or=":",lr="dangerouslySetInnerHTML",cr="__scopedStyleIdPrefix__",ur=100,fr=t=>!!t&&"object"==typeof t&&"function"==typeof t.then,ar=(t,n,e)=>{try{const r=t();return fr(r)?r.then(n,e):n(r)}catch(t){return e(t)}},hr=(t,n)=>fr(t)?t.then(n):n(t),dr=t=>{throw t},$r=t=>Ee+t,pr=t=>{if(t){let n=0;do{t=t.substring(0,n)+$r(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},yr=t=>113===t.charCodeAt(0)&&45===t.charCodeAt(1)&&58===t.charCodeAt(3),mr=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),wr=new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexShrink","gridArea","gridRow","gridRowEnd","gridRowStart","gridColumn","gridColumnEnd","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","MozAnimationIterationCount","MozBoxFlex","msFlex","msFlexPositive","WebkitAnimationIterationCount","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitColumnCount","WebkitColumns","WebkitFlex","WebkitFlexGrow","WebkitFlexShrink","WebkitLineClamp"]),br=(t,n=0)=>{for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return(+Math.abs(n)).toString(36)},vr=t=>{if(!t)return"";if(me(t))return t.trim();const n=[];if(ye(t))for(const e of t){const t=vr(e);t&&n.push(t)}else for(const[e,r]of Object.entries(t))r&&n.push(e.trim());return n.join(" ")},gr=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),Sr=(t,n)=>"number"!=typeof n||0===n||wr.has(t)?n:n+"px",kr=document,xr=kr.createElement("link").relList.supports("modulepreload")?"modulePreload":"preload",qr=/\.[mc]?js$/,Rr=t=>{let n=Er.get(t);if(!n){let e;n=((t,n)=>({zt:t,Tt:qr.test(t)?0:3,Lt:n,Dt:1,Ut:Date.now(),Wt:0,Qt:0}))(t,e),Er.set(t,n)}return n},Er=new Map;let Cr=0;const jr=[],_r=()=>{if(jr.length)for(;jr.length;){const t=jr[0];if(!(1-t.Dt>=.99||Cr<5))break;jr.shift(),Or(t)}},Or=t=>{if(t.Tt>=2)return;Cr++;const n=Date.now();t.Wt=n-t.Ut,t.Tt=2;const e=kr.createElement("link");e.href=""+new URL("undefined"+t.zt,kr.baseURI),e.rel=xr,e.as="script",e.onload=e.onerror=()=>{Cr--;const r=Date.now();t.Qt=r-n,t.Tt=4,e.remove(),_r()},kr.head.appendChild(e)},Ar=(t,n,e)=>{if(e?.has(t))return;const r=t.Dt;if(t.Dt=n,!(r-t.Dt<.01)&&t.Lt){e||=new Set,e.add(t);const n=1-t.Dt;for(const r of t.Lt){const t=Rr(r.zt);if(0===t.Dt)continue;let i;if(1===n||n>=.99&&Nr<100)Nr++,i=Math.min(.01,1-r.Vt);else{const e=(1-r.Vt*n)/r.Jt;i=Math.max(.02,t.Dt*e),r.Jt=e}Ar(t,i,e)}}},Pr=(t,n)=>{const e=Rr(t);e&&e.Dt>n&&Ar(e,n)};let Nr;document.addEventListener("qsymbol",t=>{const{symbol:n,href:e}=t.detail;e&&(t=>{if(!t?.length)return;Nr=0;let n=0;if(Array.isArray(t))for(let e=t.length-1;e>=0;e--){const r=t[e];"number"==typeof r?n=1-r/10:Pr(r,n)}else Pr(t,n);_r()})(n.slice(n.lastIndexOf("_")+1))});const Ir=t=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n))return!1;return!0},Mr=",",Tr="2.0.0-beta.30-dev+5421ed4",Fr=()=>({isServer:Xn,importSymbol(t,n,e){if(!n)throw be(14,[e]);if(!t)throw be(13,[n,e]);const r=""+zr(t.ownerDocument,t,n),i=new URL(r);return i.hash="",import(i.href).then(t=>t[e])},raf:t=>new Promise(n=>{requestAnimationFrame(()=>{n(t())})}),chunkForSymbol:(t,n)=>[t,n??"_"]}),zr=(t,n,e)=>{const r=t.baseURI,i=new URL(n.getAttribute(Te)??r,r);return new URL(e,i)};let Lr=/*#__PURE__ */Fr();const Dr=t=>Lr=t,Ur=()=>Lr,Wr=()=>!!ne&&Lr.isServer,Qr=t=>1===t.nodeType,Vr=t=>"foreignObject"===t,Jr=t=>"svg"===t||Vr(t),Br=t=>"math"===t,Hr={elementNamespace:Ve,elementNamespaceFlag:0},Yr=Symbol();class Xr{[Yr]=void 0}class Gr{flags;parent;previousSibling;nextSibling;props;[Yr]=void 0;slotParent=null;dirty=0;dirtyChildren=null;nextDirtyChildIndex=0;constructor(t,n,e,r,i){this.flags=t,this.parent=n,this.previousSibling=e,this.nextSibling=r,this.props=i}toString(){return Object.prototype.toString.call(this)}}class Kr extends Gr{key;firstChild;lastChild;constructor(t,n,e,r,i,s,o,l){super(n,e,r,i,s),this.key=t,this.firstChild=o,this.lastChild=l}}class Zr extends Kr{node;elementName;constructor(t,n,e,r,i,s,o,l,c,u){super(t,n,e,r,i,s,o,l),this.node=c,this.elementName=u}}class ti extends Gr{node;text;constructor(t,n,e,r,i,s,o){super(t,n,e,r,i),this.node=s,this.text=o}}const ni=[],ei=[],ri=new WeakMap,ii=":nodeProps",si=":nodeDiff",oi=":signal";class li{Bt;$=void 0;_=null;Ht=null;constructor(t,n){this._=t||$l()?._||null,this.Bt=n}trigger(){Lc(this._,this,this.$)}force(){Lc(this._,this,this.$)}get untrackedValue(){return this.Bt}set untrackedValue(t){this.Bt=t}get value(){const t=this.untrackedValue,n=$l();if(!n)return t;null===this._&&(this._=n._);const e=n.vt;return e&&(Tc(this.$||=new Set,e),Fc(e,this),(import.meta.env.TEST?!jc(this._):Xn)&&zc(e,this._)),t}set value(t){t!==this.Bt&&(this.Bt=t,Lc(this._,this,this.$))}valueOf(){if(te)throw be(28)}toString(){return this.constructor.name}toJSON(){return{value:this.Bt}}}const ci=Symbol(),ui=Symbol(),fi=Symbol(),ai=Symbol(),hi=Symbol(),di=Symbol(),$i=[],pi={};Object.freeze($i),Object.freeze(pi);class yi{owner;$=void 0;_=null;constructor(t){this.owner=t}get(t,n){if(n===ci)return this.owner.constProps;if(n===ui)return this.owner.varProps;if(n===fi)return this.owner;if(n===ai)return this;let r;if("children"===n)r=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=e(n);t&&(n=t)}r=bi(this.owner,n),n in this.owner.varProps&&mi(this,n)}return r instanceof Hi&&4&r.R?r.value:r}set(t,n,r){if(n===fi)this.owner=r;else if("children"===n)this.owner.children=r;else if(n===ci)this.owner.constProps=r;else if(n===ui)this.owner.varProps=r;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=e(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===pi?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==r&&(this.owner.varProps[n]=r,wi(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&wi(this,n),this.owner.constProps&&(e=delete this.owner.constProps[n]||e),null!=this.owner.children&&"children"===n&&(this.owner.children=null,e=!0),e}has(t,n){if("children"===n)return null!=this.owner.children;if(n===ci||n===ui)return!0;const r=n in this.owner.varProps;if("string"==typeof n&&(r&&mi(this,n),"string"==typeof this.owner.type)){const t=e(n);t&&(n=t)}return r||!!this.owner.constProps&&n in this.owner.constProps}getOwnPropertyDescriptor(t,n){return{configurable:!0,enumerable:!0,value:"children"===n?this.owner.children:this.owner.constProps&&n in this.owner.constProps?this.owner.constProps[n]:this.owner.varProps[n]}}ownKeys(){const t=Object.keys(this.owner.varProps);if(null!=this.owner.children&&t.push("children"),this.owner.constProps)for(const n in this.owner.constProps)-1===t.indexOf(n)&&t.push(n);return t}}const mi=(t,n)=>{const e=$l();e&&null===t._&&e._&&(t._=e._);const r=e?.vt;r&&Dn(t.owner._proxy,n,t,r)},wi=(t,n)=>{const e=((t,n)=>t?.get(n))(t.$,n);return e&&Lc(t._,t,e),!!e},bi=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],vi=(t,n)=>gi(t)?.[n]||Si(t)?.[n]||null,gi=t=>t?ui in t?"children"in t?{...t[ui],children:t.children}:t[ui]:t:null,Si=t=>t&&ci in t?t[ci]:null,ki=t=>t&&ui in t,xi=Symbol();class qi{consumer;property;backRef;data;constructor(t,n,e=null,r=null){this.consumer=t,this.property=n,this.backRef=e,this.data=r}}const Ri=Symbol(),Ei=Symbol(),Ci=Symbol(),ji=(t,n)=>(e,r)=>{const i=$n();return i.vt=$(t,":"),i._=n||void 0,an(i,()=>{if(we(e))return e();if(r)return e[r];if(Mc(e))return e.value;if(pe(e)&&Xc(e))return Dn(Jc(e),Ci,Vc(e),i.vt),e;throw be(2)})};class _i extends li{Yt;R;[Yr]=void 0;constructor(t,n,e=17){super(t||$l()?._,xi),this.Yt=n,this.R=e}invalidate(){this.R|=1;const t=$n();t._=this._||void 0;const e=n(hn.bind(this,t,this.j));e&&e.catch(t=>{this._?this._.handleError(t,null):console.error("Error during computation",t)})}get untrackedValue(){return this.j(),this.Bt}set untrackedValue(t){this.Bt=t}j(){if(!(1&this.R))return;const t=this.Yt;Ic(t);const n=$l(),e=n?.vt;if(n){const t=$(this,".");y(this._,t),n.vt=t}try{const e=t.getFn(n)();if(fr(e))throw be(29,[t.dev?t.dev.file:"",t.ft]);this.R&=-2,super.value=e}finally{n&&(n.vt=e)}}}class Oi{Xt;Gt=null;Kt=!1;Zt=!0;tn;nn;en;constructor(t){this.Xt=t}get track(){return this.tn||=ji(this.Xt,this.Xt._)}get abortSignal(){return(this.en||=new AbortController).signal}cache(){}get previous(){const t=this.Xt.Bt;if(t!==xi)return t}cleanup(t){"function"==typeof t&&(this.nn||=[]).push(t)}}class Ai extends _i{rn=!1;sn=void 0;m=void 0;k=void 0;ln=null;cn=[];un=1;Ct=0;fn;[Yr]=void 0;constructor(t,n,e=17,r){super(t,n,e);const i=r?.interval,s=r?.concurrency??1,o=r?.initial,l=r?.timeout,c=r?.eagerCleanup,u=r?.clientOnly;if(void 0!==o){const t="function"==typeof o?o():o;this.Bt=t}this.un=s,l&&(this.fn=l),c&&(this.R|=32),u&&(this.R|=64),i&&(this.interval=i)}get untrackedValue(){if(this.j(),this.ln?.Gt){if(this.Bt===xi||(import.meta.env.TEST?Wr():Xn))throw this.ln?.Gt;return this.Bt}if(this.sn)throw this.sn;if((import.meta.env.TEST?Wr():Xn)&&64&this.R&&this.Bt===xi)throw Error("Cannot read .value from clientOnly");return this.Bt}set untrackedValue(t){this.Bt=t}get loading(){const t=this.untrackedLoading,n=$l();if(n&&(this._||=n._||null)){const t=n.vt;t&&(Tc(this.m||=new Set,t),Fc(t,this),zc(t,this._))}return t}set untrackedLoading(t){t!==this.rn&&(this.rn=t,Lc(this._,this,this.m))}get untrackedLoading(){if(this.j(),(import.meta.env.TEST?Wr():Xn)&&this.ln?.Gt)throw this.ln?.Gt;return this.rn}get error(){const t=this.untrackedError,n=$l();if(n&&(this._||=n._||null)){const t=n.vt;t&&(Tc(this.k||=new Set,t),Fc(t,this),zc(t,this._))}return t}set untrackedError(t){t!==this.sn&&(this.sn=t,Lc(this._,this,this.k))}get untrackedError(){return this.sn}get interval(){return this.Ct}set interval(t){this.an(),this.Ct=t,this.Ct>0&&this.$?.size&&this.hn()}async invalidate(){this.R|=1,this.an(),(this.$?.size||this.m?.size||this.k?.size)&&(await!0,this.j())}abort(t){this.ln&&this.dn(this.ln,t)}q(){32&this.R&&!this.$n()&&(import.meta.env.TEST?!Wr():Gn)&&setTimeout(()=>{this.$n()||this.abort()})}async promise(){for(this.j();this.ln?.Gt;)await(this.ln?.Gt)}j(){if(!(1&this.R))return;if((import.meta.env.TEST?Wr():Xn)&&64&this.R)return this.rn=!0,void this._?.serializationCtx.jt.add(this);if(this.an(),this.ln&&this.dn(this.ln),this.cn.length>=(0===this.un?1/0:this.un))return;this.R&=-2;const t=new Oi(this);this.ln=t,this.cn.push(t),t.Gt=this.pn(t)}async pn(t){const e=()=>t===this.ln;this.untrackedLoading=!0;const r=this.Yt.resolved||await this.Yt.resolve();try{this.fn&&(this.yn=setTimeout(()=>{t.en?.abort();const n=Error("timeout");e()&&(this.untrackedError=n,t.Zt=!1)},this.fn));const i=await n(r.bind(null,t));if(t.Gt=null,t.Zt){const n=this.cn.indexOf(t);if(-1!==n)for(let t=0;t<n;t++)this.cn[t].Zt=!1;this.untrackedError=void 0,this.value=i}}catch(n){t.Gt=null,e()&&(this.untrackedError=n)}e()&&(clearTimeout(this.yn),1&this.R?this.j():(this.untrackedLoading=!1,this.hn()))}async mn(){this.an(),clearTimeout(this.yn),this.ln&&await this.dn(this.ln),await Promise.all(this.cn.map(t=>t.Gt))}an(){void 0!==this.wn&&(clearTimeout(this.wn),this.wn=void 0)}hn(){(import.meta.env.TEST?!Wr():Gn)&&this.Ct>0&&(this.an(),this.wn=setTimeout(this.invalidate.bind(this),this.Ct),this.wn?.unref?.())}$n(){return!!(this.$?.size||this.m?.size||this.k?.size)}async dn(t,n){if(t.Kt)return t.Gt;t.Kt=!0,t.en?.abort(n),t.Gt=Promise.resolve(t.Gt).then(()=>t.Gt=this.bn(t))}async bn(t){const n=t.nn;if(n?.length){const t=t=>{const n=this._?.handleError;n?n(t,null):console.error("Error in async signal cleanup",t)};await Promise.all(n.map(n=>{try{const e=n();if(fr(e))return e.catch(t)}catch(n){t(n)}})),n.length=0}const e=this.cn,r=e.indexOf(t);-1!==r&&e.splice(r,1),this.j()}}const Pi=t=>(n,...e)=>t.call(null,Iu(n),...e);class Ni extends _i{constructor(t,n){super(t,n,17)}vn=!1;j(){if(!(1&this.R))return;Ic(this.Yt);const t=ml(this.Yt.resolved),{deserialize:n,initial:e}=t,r=t.update,i=this.Bt===xi?e:this.Bt,s=bl(()=>this.vn?r?.(i)||i:n(i),this,".",this._);this.vn=!0,this.R&=-2,(this.vn&&"undefined"!==s||s!==this.Bt)&&(this.Bt=s,Lc(this._,this,this.$))}}const Ii=(t,n)=>new _i(n?.container||null,t,Uc(n?.serializationStrategy||"always")),Mi=(t,n)=>new Ai(n?.container||null,t,Uc(n?.serializationStrategy||"always"),n),Ti=t=>new Ni(null,t),Fi=t=>new li(null,t),zi=/*#__PURE__*/Pi(Ii),Li=/*#__PURE__*/Pi(Mi),Di=Pi(Ti),Ui=t=>t.value,Wi=(t,n)=>t[n],Qi=t=>1===t.length?Mc(t[0])?t[0].Ht||=new Hi(null,Ui,t,null):Xc(t[0])?new Hi(null,Ui,t,null):t[0].value:new Hi(null,Wi,t,null),Vi=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!pe(n))return n[e];if(Mc(n))return n instanceof Hi&&4&n.R?n:Qi(t);if(ki(n)){const r=n[ci],i=n[ui];if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];if(Object.prototype.hasOwnProperty.call(i,e))return Ji(i[e],t)}else{const r=Jc(n);if(r)return Ji(r[e],t)}return n[e]},Ji=(t,n)=>Mc(t)?t:Qi(n),Bi=(t,n)=>{const e=Vi(t,n);return e===hi?t[n]:e};class Hi extends li{dt;ht;Et;R;p=void 0;[Yr]=void 0;constructor(t,n,e,r,i=5){super(t,xi),this.dt=e,this.ht=n,this.Et=r,this.R=i}invalidate(){this.R|=1;try{this.j()}catch(t){this._&&this.p&&(this._.setHostProp(this.p,oi,this),Zt(this._,this.p,16))}2&this.R&&(this.R&=-3,Lc(this._,this,this.$))}get untrackedValue(){return this.j(),this.Bt}j(){if(!(1&this.R))return;const t=bl(()=>this.ht(...this.dt),this,".",this._);this.R&=-3,t!==this.Bt&&(this.R|=2,this.Bt=t)}ut(){return this.ht===Ui&&Mc(this.dt[0])?this.dt[0]:this}set value(t){throw be(31)}get value(){return super.value}}class Yi{data;constructor(t){this.data=t}}const Xi=(t,n)=>{if("string"==typeof t){const e=In(n);Su(ku(e,t))}return null},Gi=Object.prototype.hasOwnProperty;class Ki{type;children;flags;toSort;key;varProps;constProps;dev;_proxy=null;constructor(t,n,e,r,i,s,o,l){this.type=t,this.children=r,this.flags=i,this.toSort=!!o,this.key=null==s?null:"string"==typeof s?s:""+s,this.varProps=!n||Ir(n)?pi:n,this.constProps=!e||Ir(e)?null:e,te&&l&&(this.dev={...l,stack:Error().stack?.split("\n").slice(2).join("\n")}),ie(this)}get props(){return this._proxy||=d(this)}}const Zi=(t,n,e)=>{let r=t[n];if(!r)return t[n]=e,!0;Array.isArray(r)?r.push(e):r=t[n]=[r,e]},ts=t=>te?t instanceof Ki||!!(pe(t)&&Gi.call(t,"key")&&Gi.call(t,"props")&&Gi.call(t,"type"))&&!ki(t)&&(ce('Duplicate implementations of "JSXNode" found'),!0):t instanceof Ki,ns="bind:value",es="bind:checked",rs=Object.prototype.hasOwnProperty,is=(t,n,e,r,i,s,o)=>new Ki(t,n,e,r,i,s,!1,o),ss=(t,n,r,i,s,o,l)=>{let c=!1,u=!1,f=!1,a=null,h=null;if("string"==typeof t){if(r){const t=new Set;for(const n in r){const i=e(n);i?(u||(r={...r},u=!0),rs.call(r,i)&&!t.has(i)||(r[i]=r[n]),delete r[n]):n===es?h=r[n]:n===ns&&(a=r[n]),t.add(n)}}if(n){const t=new Set;for(const r in n){const i=e(r);i?(f||(n={...n},f=!0),rs.call(n,i)&&!t.has(i)||(n[i]=n[r]),delete n[r],c=!0):r===es?h=n[r]:r===ns&&(a=n[r]),t.add(r)}}if(h||a)if(f||(n={...n},f=!0),n||={},h){n&&rs.call(n,es)&&delete n[es],r&&rs.call(r,es)&&(u||(r={...r},u=!0),delete r[es]),n.checked=h;const t=Eu(null,"_chk",g,null,[h]);if(r&&rs.call(r,"q-e:input")){u||(r={...r},u=!0);const t=r["q-e:input"];delete r["q-e:input"],c=Zi(n,"q-e:input",t)||c}c=Zi(n,"q-e:input",t)||c}else if(a){n&&rs.call(n,ns)&&delete n[ns],r&&rs.call(r,ns)&&(u||(r={...r},u=!0),delete r[ns]),n.value=a;const t=Eu(null,"_val",v,null,[a]);if(r&&rs.call(r,"q-e:input")){u||(r={...r},u=!0);const t=r["q-e:input"];delete r["q-e:input"],c=Zi(n,"q-e:input",t)||c}c=Zi(n,"q-e:input",t)||c}n&&rs.call(n,"className")&&(f||(n={...n},f=!0),n.class=n.className,n.className=void 0,c=!0,te&&le(`jsx${l?` ${l.fileName}${l?.lineNumber?":"+l.lineNumber:""}`:""}: \`className\` is deprecated. Use \`class\` instead.`)),r&&rs.call(r,"className")&&(u||(r={...r},u=!0),r.class=r.className,r.className=void 0,te&&le(`jsx${l?` ${l.fileName}${l?.lineNumber?":"+l.lineNumber:""}`:""}: \`className\` is deprecated. Use \`class\` instead.`))}if(n)for(const t in n)"children"===t?(f||(n={...n},f=!0),i||=n.children,delete n.children):"key"===t?(f||(n={...n},f=!0),o||=n.key,delete n.key):(r&&t in r||null===n[t])&&(f||(n={...n},f=!0),delete n[t]);return new Ki(t,n,r,i,s,o,c||!0,l)},os=(t,n,e,r)=>fs(t,n,r),ls=(t,n,e,r,i)=>fs(t,{...e,...n},i),cs=(t,n,e,r,i,s)=>fs(t,{...e,...n,children:r},s),us=t=>t.children,fs=(t,n,e,r,i)=>ss(t,n,null,null,0,e,i),as=fs,hs=fs,ds=t=>t.children,$s=(t,n)=>new Ki(us,null,null,t.children,0,n),ps=(t,n,e,r,i)=>{const s=dn(t.wt,e||n,t);let o;e&&(s.vt=$(e,":"),s._=t),t.ensureProjectionResolved(n);let l=!1;if(null===r&&(r=t.getHostProp(n,qe)),ge(r))"children"in(i=i||t.getHostProp(n,Ge)||pi)&&delete i.children,o=r.getFn(s);else if(Du(r)){const t=r;o=()=>hn(s,t,[i||pi,null,0])}else{l=!0;const t=r;o=()=>hn(s,t,[i||pi])}const c=import.meta.env.TEST?Wr():Xn,u=(e=0)=>ar(()=>(l||(t.setHostProp(n,Ze,null),t.setHostProp(n,ir,null)),e>0&&eo(n)&&p(t,n),hr(o(i),t=>hr(s.gt,()=>t))),r=>{if(c&&!l&&4&n.dirty&&(n.dirty&=-5,e<ur))return u(e+1);const i=t.getHostProp(n,rr);return i?x(r,i):r},t=>{if(fr(t)&&e<ur)return t.then(()=>u(++e));if(e>=ur)throw Error("Max retry count of component execution reached");throw t});return u()},ys=t=>is(us,null,{[je]:""},t.children,0,t.name??""),ms=Symbol(),ws=()=>null,bs=()=>null,vs=t=>t.children,gs=(t,n)=>fs($s,{children:fs(Ss,t)},n),Ss=()=>null;let ks=null,xs=null;const qs=(t,n=[],e={})=>{let r=null;const i=t[ci];if(i)for(const t in i)n.includes(t)||(r||={},r[t]=i[t]);const s=e,o=t[ui];for(const t in o)n.includes(t)||(s[t]=o[t]);return d(new Ki(null,s,r,null,0,null))};class Rs{target;constructor(t){this.target=t}}class Es{target;constructor(t){this.target=t}}class Cs{target;text;constructor(t,n){this.target=t,this.text=n}}class js{target;parent;beforeTarget;constructor(t,n,e){this.target=t,this.parent=n,this.beforeTarget=e}}class _s{target;attrName;attrValue;scopedStyleIdPrefix;isSvg;constructor(t,n,e,r,i){this.target=t,this.attrName=n,this.attrValue=e,this.scopedStyleIdPrefix=r,this.isSvg=i}}const Os=t=>new Rs(t),As=t=>new Es(t),Ps=(t,n)=>new Cs(t,n),Ns=(t,n,e)=>new js(t,n,e),Is=(t,n,e,r=null,i=!1)=>new _s(t,n,e,r,i),Ms=t=>{if(t.mn){try{t.mn()}catch(t){ue(!1,t)}t.mn=null}},Ts=Object.prototype.hasOwnProperty,Fs=(t,n,e,r,i,s,o)=>z(F(o,t,n,i,s),e,r),zs=(t,n,e,r,i,s,o,l,c=!1,u)=>z(F(u,t,n,o,l),e,r,i,s,c),Ls=(t,n,e,r,i)=>{if(yr(e))return void lt(e,r,n.node,n,t);if(e===tr||e===nr)return fo(n,e,r),void(n.flags|=192);const s=r;if("ref"===e&&nt(r,n.node,i))return;const o=n[Yr]?.get(e);if(Mc(r)){const i=r instanceof Hi?r.ut():r;if(o?.backRef?.has(i))return;o&&y(t._,o),r=et(t._,n,e,i,t.st.ct)}else o&&y(t._,o);if(fr(r)){const i=n,o=r.then(n=>{M(t.D,i,e,n,t.W,s)});return void t.H.push(o)}M(t.D,n,e,r,t.W,s)};let Ds=null;const Us=(t,n,e)=>{Ds||(Ds=t.insertBefore),Ds.call(t,n,e)},Ws=(t,n)=>("allowfullscreen"==n||"async"==n||"autofocus"==n||"autoplay"==n||"checked"==n||"controls"==n||"default"==n||"defer"==n||"disabled"==n||"formnovalidate"==n||"inert"==n||"ismap"==n||"itemscope"==n||"loop"==n||"multiple"==n||"muted"==n||"nomodule"==n||"novalidate"==n||"open"==n||"playsinline"==n||"readonly"==n||"required"==n||"reversed"==n||"selected"==n)&&n in t,Qs=t=>"false"!==t&&!!t,Vs=(Js=Wt,()=>queueMicrotask(Js));var Js;const Bs=(t=>{let n;if("undefined"!=typeof MessageChannel){const e=new MessageChannel;e.port1.onmessage=()=>t(),n=()=>e.port2.postMessage(null)}else n=()=>setTimeout(t);return n})(Wt);let Hs=!1;const Ys=[],Xs=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},Gs=t=>{let n=null;return e=>(n||(n=Xs(e,t)),n.call(e))},Ks=(t,n,e=null)=>{const r=new Zr(e,-4087,null,null,null,null,null,null,t,n);return t.vNode=r,r},Zs=t=>{const n=new Zr(null,-4095,null,null,null,null,void 0,void 0,t,void 0);return t.vNode=n,n},to=(t,n)=>new ti(-4084,null,null,null,null,t,n),no=()=>new Kr(null,-4094,null,null,null,null,null,null),eo=t=>t instanceof Gr,ro=t=>!(1&~t.flags),io=t=>!!(5&t.flags),so=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,oo=t=>!(4&~t.flags),lo=t=>!(2&~t.flags),co=t=>!(2&~t.flags)&&null!==uo(t,Ce,null),uo=(t,n,e)=>{if(ro(t)||lo(t)){const r=t.props?.[n]??null;if("string"==typeof r&&e){const i=e(r);return t.props[n]=i,i}return r}return null},fo=(t,n,e)=>{null==e&&t.props?delete t.props[n]:(t.props||={},t.props[n]=e)},ao=(t,n,e,r,i=null)=>{ro(n)&&(import.meta.env.TEST&&i&&fo(n,cr,i),fo(n,e,r),tn(t,Is(n.node,e,r,i,!!(512&n.flags))))},ho=t=>{if(t.key)return;const n=Wo(t.node,or);n&&(t.key=n)},$o=(t,n)=>{if(1==(15&n.flags)){const e=n;e.flags^=8;const r=e.node,i=r.attributes;let s=!1;for(let n=0;n<i.length;n++){const o=i[n],l=o.name;if(yr(l))nn(o,l,t,r);else if(s);else if(l!==or&&l)if(l.startsWith(Ue)){const t=o.value;"html"===t?fo(e,"dangerouslySetInnerHTML",r.innerHTML):"text"===t&&"value"in r&&fo(e,"value",r.value)}else fo(e,l,o.value);else{const t=o.value;t&&(e.key=t),s=!0}}null===uo(e,tr,null)&&null===uo(e,nr,null)||(n.flags|=64)}},po=t=>{if("_run"===t.St){const n=t.getCaptured()?.[0];if(ge(n))return n}return t},yo=(t,n,e)=>{let r=t;for(;e&&r&&lo(r);){const t=n?r.firstChild:r.lastChild;if(!t)break;if(5&t.flags)return t;r=t}for(;r;){let t=n?r.nextSibling:r.previousSibling;if(t&&5&t.flags)return t;if(!t){let e=r.parent;if(e&&!lo(e))return null;for(;e&&!(t=n?e.nextSibling:e.previousSibling);)if(e=e.parent,e&&!lo(e))return null;if(!t)return null;if(oo(t)&&e&&ro(e))return null}for(;t;){if(r=t,5&r.flags&&sl(r))return r;t=n?r.firstChild:r.lastChild}}return null},mo=(t,n)=>{const e=n;if(!(8&e.flags)){const r=Oo(n,!0),i=e.node,s=Zo(r);let o=yo(n,!1,!0);const l=yo(n,!0,!0),c=i||(l&&ro(l)?l.node:l?.node)||null;let u=c;for(;o&&oo(o);){if(!(8&o.flags)){const n=s.createTextNode(o.text);tn(t,Ns(n,r,u)),u=n,o.node=n,o.flags|=8}o=yo(o,!1,!0)}for(o=n;o&&oo(o);){const n=yo(o,!0,!0),e=!n||!oo(n);if(!(8&o.flags)){if(e&&i)tn(t,Ps(i,o.text));else{const n=s.createTextNode(o.text);tn(t,Ns(n,r,c)),o.node=n}o.flags|=8}o=n}}},wo=(t,n)=>{let e=t;const r=t.node,{qVNodeRefs:i}=r;let s,o=-1;if("string"==typeof n)o=parseInt(n),s=i.get(o);else{s=n;const t=s.vNode;if(t)return t}if(eo(s))e=s;else{let t=s;const n=[s];for(;t&&t!==r&&!t.vNode;)t=t.parentElement,n.push(t);t.vNode&&(e=t.vNode);for(let t=n.length-2;t>=0;t--)e=go(e,n[t]);-1!=o&&(s.vNode=e,i.set(o,e))}if("string"==typeof n){const t=n.length;let r=So(n,t),i=0;for(;r<t;){const t=n.charCodeAt(r);i*=26,t>=97?i+=t-97:(i+=t-65,e=bo(e,i),i=0),r++}}return e},bo=(t,n)=>{let e=Fo(t);for(;e.flags>>>12!==n;)e=e.nextSibling;return e},vo=[],go=(t,n)=>{let e=Fo(t);for(;e&&(!(e instanceof Zr)||e.node!==n);)if(lo(e)){const t=e.nextSibling,n=Fo(e);n?(t&&vo.push(t),e=n):e=t||(vo.length?vo.pop():null)}else{const t=e.nextSibling;e=t||t||vo.pop()}for(;vo.length;)vo.pop();return e},So=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},ko=Lt,xo=(t,n,e,r)=>{const i=ro(n);i&&zo(n);const s=e.parent;if(e===r){if(s)return;r=null}Co(t,s,n,e);const o=e.node,l=32&n.flags,c=i?n.node:Oo(n,!1);c&&!l&&tn(t,Ns(o,c,Ro(t,n,r)?.node??null)),Eo(n,e,r),l&&(e.flags|=32)},qo=(t,n,e,r)=>{const o=ro(n);o&&zo(n);const l=e.parent;if(e===r){if(l)return;r=null}Co(t,l,n,e);const c=32&n.flags,u=!o&&2048&n.flags?n.props?.[Re]:null,f=u?null:o?n:Ao(n,!1),a=u||f?.node,h=Ro(t,n,r),d=h?.node??null;if(co(e)&&f&&1536&f.flags){const o=Ao(n,!1),l=Ro(t,n,r)?.node??null,{elementNamespace:c,elementNamespaceFlag:u}=s(o,e);en(t,e,n=>{if(oo(n))tn(t,Ns(n.node,a,l));else{if((1536&n.flags)!==u){const t=((t,n,e,r)=>{let o=t,l=null,c=null,u=null;for(;o;){let f=null,a=null;if(ro(o)){f=o.node;const t=Io(o),l=o.parent,h=null==c?n:l&&Ao(l,!0);if(h){const t=s(h,Io(o));e=t.elementNamespace,r=t.elementNamespaceFlag}const d=Fo(o);if(a=i(f,t,e,!d),f.remove(),null==c&&(c=a),u&&u.appendChild(a),o.node=a,o.flags&=-1537,o.flags|=r,d){o=d,u=a;continue}if(Do(f)){const t=Mn(f);if(t){const n=Fo(t.rootVNode);if(n){o=n,u=a;continue}}}}if(o===t)return c;const h=o.nextSibling;if(h)o=h;else{for(l=o.parent;l;){if(l===t)return c;const n=l.nextSibling;if(n)return o=n,c;l=l.parent}if(null==l)return c}}return c})(n,o,c,u);t&&(n.node=t)}tn(t,Ns(n.node,a,l))}})}else a&&!c&&en(t,e,n=>{tn(t,Ns(n.node,a,d))});Eo(n,e,r),c&&(e.flags|=32)},Ro=(t,n,e)=>{let r=null;return null==e?lo(n)&&(r=yo(n,!0,!1)):r=lo(e)?yo(e,!0,!0):e,r&&oo(r)&&mo(t,r),r},Eo=(t,n,e)=>{const r=e?e.previousSibling:t.lastChild;e?e.previousSibling=n:t.lastChild=n,r?r.nextSibling=n:t.firstChild=n,n.previousSibling=r,n.nextSibling=e,n.parent=t},Co=(t,n,e,r)=>{n&&(r.previousSibling||r.nextSibling||n!==e)&&Po(t,n,r,!1)},jo=(t,n)=>{let e=n;for(;e&&lo(e);)e=e.lastChild;!e||!oo(e)||8&e.flags||mo(t,e)},_o=(t,n,e,r)=>{io(e)?xo(t,n,e,r):qo(t,n,e,r)},Oo=(t,n)=>{for(;t&&!ro(t);){if(2048&t.flags)return t.props?.[Re];t=t.parent||(n?t.slotParent:null)}return t?t.node:null},Ao=(t,n)=>{for(;t&&!ro(t);)t=t.parent||(n?t.slotParent:null);return t},Po=(t,n,e,r)=>{if(oo(e)&&mo(t,e),r){if(null!==uo(n,lr,null))return;io(e)?tn(t,Os(e.node)):en(t,e,n=>{tn(t,Os(n.node))})}const i=e.previousSibling,s=e.nextSibling;i?i.nextSibling=s:n.firstChild=s,s?s.previousSibling=i:n.lastChild=i,e.previousSibling=null,e.nextSibling=null},No=(t,n,e,r=!0)=>{const i=Oo(n,!0);if(i&&r)if(io(n))tn(t,As(n.node));else{const e=Ao(n,!1);e&&e.firstChild===n&&e.lastChild===n?tn(t,As(i)):en(t,n,n=>{tn(t,Os(n.node))})}const s=e.previousSibling;s?s.nextSibling=null:n.firstChild=null,n.lastChild=s},Io=t=>{const n=t;let e=n.elementName;if(void 0===e){const t=n.node,r=Ko(t).toLowerCase();e=n.elementName=r,n.flags|=(t=>{switch(Go(t)){case Je:return 512;case Be:return 1024;default:return 0}})(t)}return e},Mo=t=>{let n=t.text;return void 0===n&&(n=t.text=t.node.nodeValue),n},To=(t,n,e)=>{mo(t,n),n.text=e,tn(t,Ps(n.node,e))},Fo=t=>{if(oo(t))return null;let n=t.firstChild;return void 0===n&&(n=zo(t)),n},zo=n=>{const e=n;let r=e.firstChild;return void 0===r&&(r=e.parent&&Do(e.node)?e.firstChild=e.lastChild=null:(n=>{const e=n.node,r=Xo(e),i=Zo(e)?.qVNodeData?.get(e);return((n,e,r,i)=>{if(ho(n),i){if(i.charCodeAt(0)===xe&&i.charCodeAt(1)===xe){const t=(t=>{const n=t.indexOf("||",2);return{elementVNodeData:t.substring(2,n),virtualVNodeData:t.substring(n+2)}})(i);i=t.virtualVNodeData;const e=tl(n,r,t.elementVNodeData);if(!i)return e}return((n,e,r,i)=>{let s=0,o=null,l=null,c=null;const u=t=>{t.flags=4095&t.flags|s<<12,s++,l&&(l.nextSibling=t),t.previousSibling=l,t.parent=n,o||(n.firstChild=o=t),l=t};let f=0,a=null,h=null;const d=t=>{const n=fl(t);return!n||n&&cn(t)};let $=null;if(nl(e,(p,y,m,w,b)=>{if(ol(p())){for(;d(i);)if(!(i=Bo(i)))throw be(27,[e,p(),b]);a=null,c=null;let t=0;for(;ol(p());)t*=10,t+=m()-48;for(;t--;){const n=Zs(i);for(ho(n),u(n),i=Bo(i);fl(i)&&cn(i);)if(!(i=Bo(i))&&t>0)throw be(27,[e,p(),b])}}else if(59===p())fo(n,Pe,y());else if(60===p())($||=[]).push(n),fo(n,qe,y());else if(61===p()){h||(h=In(r));const t=y();h.gn(parseInt(t),n)}else if(62===p())fo(n,Ge,y());else if(64===p()){let e;w(b+1)===xe?(m(),e=decodeURI(t(y())),m()):e=y(),n.key=e}else if(91===p())fo(n,Ke,y());else if(94===p())fo(n,Ze,y());else if(96===p())h||(h=In(r)),on(n,y(),h);else if(63===p())h||(h=In(r)),n.slotParent=wo(h.rootVNode,y());else if(93===p())fo(n,Ne,y());else if(123===p())m(),u(no()),cl.push(n,o,l,c,s),s=0,n=l,o=l=null;else if(p()===xe){const e=t(y()),r=t(y());fo(n,e,r)}else if(125===p())m(),n.lastChild=l,s=cl.pop(),c=cl.pop(),l=cl.pop(),o=cl.pop(),n=cl.pop();else if(126===p()){const e=t(y());fo(n,Ce,e)}else{for(;fl(i)&&cn(i);)i=Bo(i);const t=i&&3===Qo(i)?i:null;null===a&&(a=t?t.nodeValue:null,f=0);let n=0;for(;ll(p());)n+=m()-97,n*=26;n+=m()-65;const e=null===a?"":a.substring(f,f+n);u(c=((t,n,e)=>new ti(-4092,null,t,null,null,n,e))(c,t,e)),f+=n}}),$){h||(h=In(r));for(let t=0;t<$.length;t++)h.ensureProjectionResolved($[t]);$=null}return n.lastChild=l,o})(n,i,e,r)}return tl(n,r)})(n,e,r,i)})(e)),r};let Lo=null;const Do=t=>(Lo||(Lo=t.hasAttribute),Lo.call(t,Ue));let Uo=null;const Wo=(t,n)=>(Uo||(Uo=t.getAttribute),Uo.call(t,n)),Qo=Gs("nodeType"),Vo=t=>{const n=Qo(t);return 3===n||1===n};let Jo=null;const Bo=t=>{for(Jo||(Jo=Xs(t,"nextSibling")),Yo||(Yo=Xs(t,"firstChild"));t;)if(null!==(t=Jo.call(t))){const n=Qo(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(Le))return sn(t,Fe,Jo,Yo);if(t.nodeValue?.startsWith(ze))return sn(t,[Fe,De],Jo,Yo);if(n?.startsWith(Ue))for(;t&&(t=Jo.call(t))&&(8!==Qo(t)||!t.nodeValue?.startsWith(We)););}}return t},Ho=Gs("parentNode");let Yo=null;const Xo=t=>{if(Yo||(Yo=Xs(t,"firstChild")),(t=t&&Yo.call(t))&&8===Qo(t)&&t.nodeValue?.startsWith(Le))return Jo||(Jo=Xs(t,"nextSibling")),sn(t,Fe,Jo,Yo);for(;t&&!Vo(t);)t=Bo(t);return t},Go=Gs("namespaceURI"),Ko=Gs("nodeName"),Zo=Gs("ownerDocument"),tl=(t,n,e)=>{let r=null;const i=()=>{for(;fl(s)&&cn(s);)s=Bo(s)};let s=n;i();let o=null;for(;s;){const n=Qo(s);let e=null;3===n?e=to(s,s.textContent??void 0):1===n&&(e=Zs(s),ho(e)),e&&(e.parent=t,o&&(o.nextSibling=e),e.previousSibling=o,o=e),r||(t.firstChild=r=o),s=Bo(s),i()}if(t.lastChild=o||null,t.firstChild=r,e){let n=null;nl(e,(e,r)=>{if(61===e()){n||(n=In(t.node));const e=r();n.gn(parseInt(e),t)}else 96===e()?(n||(n=In(t.node)),on(t,r(),n)):r()})}return r},nl=(t,n)=>{let e=0,r=0,i=0;const s=n=>n<t.length?t.charCodeAt(n):0,o=()=>0!==i?i:i=s(e),l=()=>(r=o(),i=0,e++,r),c=()=>{l();const n=e;for(;o()<=58&&0!==i||92===i||95===i||i>=65&&i<=90||i>=97&&i<=122;)l();return t.substring(n,e)};for(;0!==o();)n(o,c,l,s,e)},el=(t,n)=>{if(3&n.flags){$o(t,n);const e=[],r=n.props;if(r)for(const t in r)t.startsWith(or)||e.push(t);return e}return[]},rl=(t,n)=>{let e=il(t);for(;e;){if(e===n)return!0;e=il(e)}return!1},il=t=>t.parent||t.slotParent,sl=t=>null===t||lo(t)?null:t.node,ol=t=>48<=t&&t<=57,ll=t=>97<=t&&t<=122,cl=[],ul=t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw be(26,[n])},fl=t=>t&&"object"==typeof t&&1===Qo(t),al=t=>{let n=1;for(;n--;){for(;t&&(!lo(t)||null===uo(t,qe,null));){const e=t.slotParent,r=lo(t)&&e;r&&n++,t=r||t.parent}n>0&&(t=t.parent)}return t};let hl,dl;const $l=()=>dl,pl=()=>{const t=$l();if(!t||t.bt!==He)throw be(10);return t},yl=(t,n)=>{const e=In(n),r=wo(e.rootVNode,n),i=e.wt;i&&(t=>{hl=t})(i);const s=$n(i,r,t);return s._=e,s},ml=(t,...n)=>{if("function"==typeof t){if(!dl)return t(...n);{const e=dl.vt;try{return dl.vt=void 0,t(...n)}finally{dl.vt=e}}}return Mc(t)?t.untrackedValue:Yc(t)},wl=/*#__PURE__*/dn(void 0,void 0,void 0),bl=(t,n,e,r,i)=>{const s=wl.vt,o=wl._;try{return wl.vt=$(n,e,i),wl._=r,hn(wl,t)}finally{wl.vt=s,wl._=o}},vl=(t,n,e,r,i)=>(t instanceof Hi&&t.p!==n&&n&&(t.p=n),bl(()=>t.value,n,e,r,i)),gl=()=>$l()?.p,Sl=()=>{const t=$l();if(t)return t.bt},kl=()=>{const t=$l();if(t)return t._},xl=t=>t,ql=t=>t.l||Promise.resolve(),Rl=()=>{const t=pl(),n=t.p;let e=t._.getHostProp(n,Ke);null===e&&(e=[],t._.setHostProp(n,Ke,e));let r=t._.getHostProp(n,Ze);for(null===r&&(r=0),t._.setHostProp(n,Ze,r+1);e.length<=r;)e.push(void 0);return{val:e[r],set:t=>(te&&ou(t),e[r]=t),i:r,iCtx:t}},El=t=>/*#__PURE__*/Object.freeze({id:mr(t)}),Cl=(t,n)=>{const{val:e,set:r,iCtx:i}=Rl();void 0===e&&(te&&_l(t),te&&ou(n),i._.setContext(i.p,t,n),r(1))},jl=(t,n)=>{const{val:e,set:r,iCtx:i}=Rl();if(void 0!==e)return e;te&&_l(t);const s=i._.resolveContext(i.p,t);if("function"==typeof n)return r(an(void 0,n,s));if(void 0!==s)return r(s);if(void 0!==n)return r(n);throw be(8,[t.id])},_l=t=>{if(!pe(t)||"string"!=typeof t.id||0===t.id.length)throw be(11,[t])},Ol=t=>{const n=(()=>{const t=$l();if(!t)throw be(9);return t})(),e=n.p;if(e)return n._?.resolveContext(e,t)},Al=/*#__PURE__*/El("qk-error"),Pl=[void 0,null,!0,!1,"",$i,pi,xi,Ci,di,ys,ds,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],Nl=["undefined","null","true","false","''","EMPTY_ARRAY","EMPTY_OBJ","NEEDS_COMPUTATION","STORE_ALL_PROPS","_UNINITIALIZED","Slot","Fragment","NaN","Infinity","-Infinity","MAX_SAFE_INTEGER","MAX_SAFE_INTEGER-1","MIN_SAFE_INTEGER"],Il=["Plain","RootRef","ForwardRef","Constant","Array","Object","URL","Date","Regex","QRL","VNode","RefVNode","BigInt","URLSearchParams","ForwardRefs","Error","Promise","Set","Map","Uint8Array","Task","Component","Signal","WrappedSignal","ComputedSignal","AsyncSignal","SerializerSignal","Store","FormData","JSXNode","PropsProxy","SubscriptionData","EffectSubscription"],Ml=new WeakMap,Tl=new Map,Fl=(t,n,e)=>{switch(n){case 0:case 14:return e;case 1:return t.O(e);case 2:if(!t.Nt)return di;const r=t.Nt[e];return-1===r||void 0===r?di:t.O(r);case 3:return Pl[e];case 4:return Array(e.length/2);case 5:return{};case 9:{let n;if("string"==typeof e){const[r,i,s]=e.split("#");n=yn(t.O(r),t.O(i),s||null,t)}else n=yn("",e+"",null,t);return n}case 20:return new Pc(-1,-1,null,null,null,null);case 6:return new URL(e);case 7:return new Date(e);case 8:const i=e.lastIndexOf("/");return RegExp(e.slice(1,i),e.slice(i+1));case 15:return Error();case 21:return zu(null);case 22:return new li(t,0);case 23:return new Hi(t,null,null,null);case 24:return new _i(t,null);case 25:return new Ai(t,null,void 0,{interval:0});case 26:return new Ni(t,null);case 27:{const n=e,r=n[0],i=n[1],s=Fl(t,r,i),o=Gc(s,0,t);return Sc(r)&&Tl.set(s,{t:r,v:i}),n[0]=0,n[1]=s,o}case 13:return new URLSearchParams(e);case 28:return new FormData;case 29:return new Ki(null,null,null,null,0,null);case 12:return BigInt(e);case 17:return new Set;case 18:return new Map;case 16:let s,o;const l=new Promise((t,n)=>{s=t,o=n});return Ml.set(l,[s,o]),l.catch(()=>{}),l;case 19:const c=e.length,u=3&c;return new Uint8Array(3*(c>>>2)+(u?u-1:0));case 30:return d(null);case 10:return wn(t,e);case 11:const f=wn(t,e);if(eo(f))return zo(f),sl(f);throw be(17,[typeof f]);case 31:return new Yi({});case 32:return new qi(null,null,null,null);default:throw be(18,[n])}},zl=(t,n,e)=>{let r=null,i=null;if(we(t))i=t;else{if(!me(t))throw be(7,[t]);r=t}return Eu(r,n,null,i,e)},Ll=(t,n,e)=>Eu(null,n,t,null,e),Dl=(t,n)=>Eu(null,t,null,null,n),Ul=(t,n,e)=>{const r=Dl(t,e);return r.Sn.dev=n,r},Wl=(t,n,e,r)=>{const i=zl(t,n,r);return i.Sn.dev=e,i},Ql=(t,n,e,r)=>{const i=Ll(t,n,r);return i.Sn.dev=e,i},Vl=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t),Jl=(t,n,e)=>new Hi(null,t,n,e||null);class Bl{kn;xn=0;Nt=[];qn=0;Rn=new Set;En=new Map;Cn;jn=new Map;Mt;constructor(t){this.kn=t,this.Mt=t.Mt}async serialize(){await this.outputRoots()}outputArray(t,n,e){this.Mt.write("[");let r,i=!1;if(n)r=t.length;else{for(r=t.length-1;r>=0&&void 0===t[r];)r--;r++}for(let n=0;n<r;n++)i?this.Mt.write(Mr):i=!0,e(t[n],n);this.Mt.write("]")}stringNeedsJsonEscape$(t){for(let n=0;n<t.length;n++){const e=t.charCodeAt(n);if(e<32||34===e||92===e)return!0}return!1}output(t,n,e){if("number"==typeof n)this.Mt.write(t+Mr+n);else if("string"==typeof n){const e=this.stringNeedsJsonEscape$(n)?JSON.stringify(n):'"'+n+'"';this.Mt.write(t+Mr);let r=-1,i=0;for(;-1!==(r=e.indexOf("</",i));)this.Mt.write(e.slice(i,r)),this.Mt.write("<\\/"),i=r+2;this.Mt.write(0===i?e:e.slice(i))}else this.Mt.write(t+Mr),this.outputArray(n,!!e,(t,n)=>{this.writeValue(t,n)})}getSeenRefOrOutput(t,n,e){let r=this.kn.getSeenRef(t);const i=!e&&this.En.get(t);if(!r){if(e)return!0;if("number"!=typeof i)return this.kn._n(t,this.Cn,n);r=this.kn.Rt(t,!0)}r.Cn&&(this.Cn?this.kn.On(r):(this.kn.On(r,n),t=this.kn.An[n])),"number"==typeof i&&(this.Nt[i]=r.Pn,this.En.delete(t));const s=t instanceof tc?t.Nn:r.Pn;if(!this.Cn&&s===n)return r;this.output(1,s)}writeValue(t,n){if(fu(t))this.output(3,0);else switch(typeof t){case"undefined":this.output(3,0);break;case"boolean":this.output(3,t?2:3);break;case"number":Number.isNaN(t)?this.output(3,12):Number.isFinite(t)?t===Number.MAX_SAFE_INTEGER?this.output(3,15):t===Number.MAX_SAFE_INTEGER-1?this.output(3,16):t===Number.MIN_SAFE_INTEGER?this.output(3,17):this.output(0,t):this.output(3,t<0?14:13);break;case"string":0===t.length?this.output(3,4):(t.length<4||this.getSeenRefOrOutput(t,n))&&this.output(0,t);break;case"bigint":(t<1e4&&t>-1e3||this.getSeenRefOrOutput(t,n))&&this.output(12,""+t);break;case"symbol":t===xi?this.output(3,7):t===Ci?this.output(3,8):t===di&&this.output(3,9);break;case"function":if(t===ys)this.output(3,10);else if(t===ds)this.output(3,11);else if(ge(t)){if(this.getSeenRefOrOutput(t,n)){const[n,e,r]=pn(this.kn,t,!0);let i;if(""!==n){i=`${this.kn.Rt(n)}#${this.kn.Rt(e)}${r?"#"+r:""}`;const s=this.jn.get(i);if(s){const t=this.kn.Rt(s);return void this.output(1,t)}this.jn.set(i,t)}else i=+e;this.output(9,i)}}else{if(!Du(t))throw be(34,[""+t]);{const[n]=t[Lu];this.kn.In.add(n.St),this.output(21,[n])}}break;case"object":if(t===$i)this.output(3,5);else if(t===pi)this.output(3,6);else if(null===t)this.output(3,1);else if(t instanceof tc)this.output(1,t.Nn);else{const e=this.getSeenRefOrOutput(t,n);if(e){const n=this.Cn;this.Cn=e,this.writeObjectValue(t),this.Cn=n}}break;default:throw be(20,[typeof t])}}writeObjectValue(t){if(ki(t)){const n=t[fi];this.output(30,[Kl(n),n.varProps,n.constProps,t[ai].$])}else if(t instanceof Yi)this.output(31,[t.data.W,t.data.lt]);else if(t instanceof qi)this.output(32,[t.consumer,t.property,t.data]);else if(Xc(t)){const n=Vc(t),e=Jc(t),r=n.R,i=n.$,s=[];for(const t in e){const n=this.kn.h.get(e[t]);n&&s.push(n)}const o=[e,r,i,...s];for(;void 0===o[o.length-1];)o.pop();this.output(27,o)}else if(Dc(t)){const n=t[du](t);if(fr(n)){const t=this.resolvePromise(n,(t,n)=>new Hl(26,t,n,void 0,void 0));this.output(2,t)}else{const t=this.Cn.Pn;this.Cn=this.Cn.Cn,this.writeValue(n,t)}}else if((t=>{const n=Object.getPrototypeOf(t);return null==n||n===Object.prototype||n===Array.prototype})(t))if(Array.isArray(t))this.output(4,t);else{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const r=t[e];fu(r)||n.push(e,r)}this.output(5,n.length?n:0)}else if(this.kn.Mn(t))t.Tn.vnodeData[0]|=16,this.output(11,t.Tn.id);else if(t instanceof li){if(t instanceof Ni){const n=((t,n)=>n===xi?n:hr(t.Yt.resolved||t.Yt.resolve(),t=>{let e;return"function"==typeof t&&(t=t()),t.serialize?e=t.serialize(n):"object"==typeof n&&du in n&&(e=n[du](n)),void 0===e&&(e=xi),e}))(t,t.Bt);if(fr(n)){const e=this.resolvePromise(n,(n,e)=>new Hl(26,n,e,t.$,t.Yt));this.output(2,e)}else this.output(26,[t.Yt,t.$,n]);return}if(t instanceof Hi)this.output(23,[...vn(this.kn,t),t.R,t.p,...t.$||[]]);else if(t instanceof _i){let n=t.Bt;const e=16&t.R,r=8&t.R,i=1&t.R,s=fu(t.Bt),o=t instanceof Ai,l=o&&t.Ct>0?t.Ct:void 0,c=o&&1!==t.un?t.un:void 0,u=o&&0!==t.fn?t.fn:void 0,f=o&&-25&t.R||void 0;i||s?n=xi:e?n=t.Bt:r&&(n=xi);const a=[t.Yt,t.$];o&&(a.push(t.m,t.k,t.sn),a.push(f||void 0));let h=!1;n===xi&&void 0===l&&void 0===c&&void 0===u||(a.push(n),void 0===n&&(h=!0)),o&&(a.push(l),a.push(c),a.push(u)),this.output(o?25:24,a,h)}else{const n=t.Bt,e=void 0===n,r=[n];t.$&&r.push(...t.$),this.output(22,r,e)}}else if(t instanceof URL)this.output(6,t.href);else if(t instanceof Date)this.output(7,Number.isNaN(t.valueOf())?"":t.valueOf());else if(t instanceof RegExp)this.output(8,""+t);else if(t instanceof Error){const n=[t.message];n.push(...Object.entries(t).flat()),this.output(15,n)}else if(this.kn.Fn(t)){const n=this.kn.Rt(t);this.kn.zn(t,"q:id",n+""),this.output(10,t.id);const e=t.vnodeData;if(e&&(Yl(e,t=>this.kn.Rt(t)),e[0]|=16),t.children){const n=t.children.length;for(let e=0;e<n;e++){const n=t.children[e].vnodeData;if(n){for(let t=0;t<n.length;t++){const e=n[t];if(Xl(e)){const t=gn(e);t&&this.kn.Rt(t)}}n[0]|=16}}}}else if("undefined"!=typeof FormData&&t instanceof FormData){const n=[];for(const[e,r]of t.entries())"string"==typeof r&&n.push(e,r);this.output(28,n)}else if(t instanceof URLSearchParams)this.output(13,""+t);else if(t instanceof Set)this.output(17,[...t.values()]);else if(t instanceof Map){const n=[];for(const[e,r]of t.entries())n.push(e,r);this.output(18,n)}else if(ts(t)){const n=[t.type,t.key,t.varProps,t.constProps,t.children,t.toSort||void 0];for(;void 0===n[n.length-1];)n.pop();this.output(29,n)}else if(t instanceof Pc){const n=[t.Pt,t.R,t.Pn,t.$t,t.Tt];for(;void 0===n[n.length-1];)n.pop();this.output(20,n)}else if(fr(t)){const n=this.resolvePromise(t,(t,n)=>new Hl(16,t,n));this.output(2,n)}else if(t instanceof Hl)if(26===t.Ln)if(t.Pt)this.output(26,[t.Pt,t.$,t.Dn]);else{if(!t.Un)throw console.error(t.Dn),be(33);{const n=this.Cn.Pn;this.Cn=this.Cn.Cn,this.writeValue(t.Dn,n)}}else this.output(16,[t.Un,t.Dn]);else if(t instanceof Uint8Array){let n="";const e=t.length;for(let r=0;r<e;r++)n+=String.fromCharCode(t[r]);const r=btoa(n).replace(/=+$/,"");this.output(19,r)}else if(t instanceof Gl){const n=t.Wn;if(this.getSeenRefOrOutput(n,this.Cn.Pn,!0)){let t=this.En.get(n);void 0===t&&(t=this.qn++,this.En.set(n,t),this.Nt[t]=-1),this.output(2,t)}}else{if(!eo(t))throw be(20,[typeof t]);this.output(3,0)}}resolvePromise(t,n){const e=this.qn++;return t.then(r=>{this.Rn.delete(t),this.Nt[e]=this.kn.Rt(n(!0,r))}).catch(r=>{this.Rn.delete(t),this.Nt[e]=this.kn.Rt(n(!1,r))}),this.Rn.add(t),e}async outputRoots(){this.Mt.write("[");const{An:t}=this.kn;for(;this.xn<t.length||this.Rn.size;){0!==this.xn&&this.Mt.write(Mr);let n=!1;for(;this.xn<t.length;this.xn++)n?this.Mt.write(Mr):n=!0,this.writeValue(t[this.xn],this.xn);if(this.Rn.size)try{await Promise.race(this.Rn)}catch{}}if(this.Nt.length){let t=this.Nt.length-1;for(;t>=0&&-1===this.Nt[t];)t--;if(t>=0){this.Mt.write(Mr),this.Mt.write(14+Mr);const n=t===this.Nt.length-1?this.Nt:this.Nt.slice(0,t+1);this.outputArray(n,!0,t=>{this.Mt.write(t+"")})}}this.Mt.write("]")}}class Hl{Ln;Un;Dn;$;Pt;constructor(t,n,e,r,i){this.Ln=t,this.Un=n,this.Dn=e,this.$=r,this.Pt=i}}const Yl=(t,n)=>{const e=t.length;for(let r=0;r<e;r++){const e=t[r];if(Xl(e))for(const t in e){const r=e[t];null==r||"string"==typeof r||t===Ge&&Ir(r)||n(r)}}},Xl=t=>"object"==typeof t&&null!==t&&!Ir(t);class Gl{Wn;constructor(t){this.Wn=t}}const Kl=t=>new Gl(t);let Zl=()=>!1;class tc{Nn;constructor(t){this.Nn=t}}class nc{NodeConstructor;DomRefConstructor;qt;zn;h;Mt;Qn=new Map;Vn=new Map;Jn=[];An=[];jt=new Set;At=new Set;Ot=new Set;In=new Set;Bn;constructor(t,n,e,r,i,s){this.NodeConstructor=t,this.DomRefConstructor=n,this.qt=e,this.zn=r,this.h=i,this.Mt=s,this.Bn=new Bl(this)}async It(){return await this.Bn.serialize()}getSeenRef(t){return this.Qn.get(t)}_n(t,n,e){const r={Pn:e,Cn:n};return this.Qn.set(t,r),r}Hn(t){const n=[];for(;t.Cn;)n.unshift(t.Pn),t=t.Cn;return n.unshift(t.Pn),n.join(" ")}On(t,n){const e=this.Hn(t);void 0===n&&(n=this.An.length),this.An[n]=new tc(e),t.Cn=null,t.Pn=n}Rt(t,n=!1){let e,r=this.Qn.get(t);return r?(r.Cn&&this.On(r),e=r.Pn):(e=this.An.length,r={Pn:e},this.Qn.set(t,r),this.An.push(t)),n?r:e}Fn(t){return!!this.NodeConstructor&&t instanceof this.NodeConstructor}Mn(t){return!!this.DomRefConstructor&&t instanceof this.DomRefConstructor}Yn(t){const n=this.Qn.get(t);return n&&(n.Cn?void 0:n.Pn)}xt(t,n,e){const r=null==t;r&&(t=e.serialized||""+e);let i=this.Vn.get(t);if(void 0===i)if(i=this.Jn.length,this.Vn.set(t,i),r)this.Jn.push(t);else{let e="(";for(let t=0;t<n;t++)e+=(0==t?"p":",p")+t;this.Jn.push(e+=")=>"+t)}return i}}const ec=(t,n,e,r,i,s)=>{if(!s){const t=[];s={write:n=>t.push(n),toString:()=>t.join("")}}return Zl=n?t=>t instanceof n:()=>!1,new nc(t,n,e,r,i,s)};class rc{Xn;h;wt;O;Ft;Gn=0;Kn=null;Zn=null;l=null;u=null;o=0;constructor(t,n){this.Ft=t,this.wt=n,this.Xn=Tr,this.h=new WeakMap,this.O=()=>{throw Error("Not implemented")}}trackSignalValue(t,n,e,r){return vl(t,n,e,this,r)}serializationCtxFactory(t,n,e,r){return ec(t,n,e,this.setHostProp.bind(this),this.h,r)}yt(){0===this.o&&(this.u?.(),this.l=null)}}class ic{}const sc=()=>gu,oc=async t=>{const[n,e]=gu,r=await n(t);return r&&"object"==typeof r?e.r?Object.assign(e.r,r):e.r=Ln(n._,r,1):e.r=r,{r:e.r}},lc=(t,n)=>{const{val:e,set:r,iCtx:i}=Rl();if(e)return e;const s=Eu(null,"_rsc",oc,null,[t,{}],i._),o=Mi(s,{timeout:n?.timeout,container:i._,concurrency:0});o.j();const l={__brand:"resource",signal:o,get value(){return o.promise().then(()=>o.error?Promise.reject(o.error):o.value.r)},get loading(){return o.loading}};return r(l),l},cc=({value:t,onResolved:n,onPending:e,onRejected:r})=>{if(fr(t))return t.then(n,r);const i=uc(t),s=i?t.signal:t;if(e&&s.loading)return e();if(r&&s.error)return r(s.error);const o=i?s.value?.r:s.value;return fr(o)?o.then(n,r):n(o)},uc=t=>t&&"resource"===t.__brand,fc=(t,n)=>{dc("q-e:",t,n)},ac=(t,n)=>{dc("q-d:",t,n)},hc=(t,n)=>{dc("q-w:",t,n)},dc=(t,n,e)=>{const{isAdded:r,addEvent:i}=$c();if(!r&&e)if(Array.isArray(n))for(const r of n)i(t+mr(r),e);else i(t+mr(n),e)},$c=()=>{const t=pl(),n=t.p;let e=t._.getHostProp(n,rr);null===e&&(e={},t._.setHostProp(n,rr,e));let r=t._.getHostProp(n,ir);null===r&&(r=0),t._.setHostProp(n,ir,r+1);let i=t._.getHostProp(n,sr);for(null===i&&(i=[],t._.setHostProp(n,sr,i));i.length<=r;)i.push(!1);return{isAdded:i[r],addEvent:(t,n)=>{i[r]=!0;let s=e[t];s||(e[t]=s=[]),s.push(n)}}},pc=(t,n)=>{const e=yl(t,n),r=e._;let i=e.p;if(!r||!i)return;if(!r.getHostProp(i,qe)){const t=r.getParentHost(i);if(!t)return;i=t}const s=r.getHostProp(i,qe);if(s){const t=s.Sn,n=t.kt;if(n){const e=n.split("?")[0]+"?t="+Date.now();t.kt=e,t.te=void 0,s.resolved=void 0,Zt(r,i,4)}}};let yc,mc=Promise.resolve();const wc=new Set(["constructor","prototype","toString","valueOf","toJSON","then"]),bc=(t,n)=>"string"==typeof t&&"__proto__"!==t&&("function"!=typeof n||!wc.has(t)),vc=(t,n,e,r)=>{if(0!==e)switch(4!==e&&Array.isArray(r)&&(r=gc(t,r)),e){case 4:gc(t,r,n);break;case 5:if(0===r)break;for(let t=0;t<r.length;t+=2){const e=r[t],i=r[t+1];bc(e,i)&&(n[e]=i)}break;case 20:const i=n,s=r;i.Pt=s[0],i.R=s[1],i.Pn=s[2],i.$t=s[3],i.Tt=s[4];break;case 21:n[Lu][0]=r[0];break;case 27:{const e=Yc(n),i=Tl.get(e);i&&(Tl.delete(e),vc(t,e,i.t,i.v));const[,s,o]=r,l=Vc(n);l.R=s,l.$=o,Nn(l.$,e);break}case 22:{const t=n,e=r;t.Bt=e[0],t.$=new Set(e.slice(1)),Pn(t.$,t);break}case 23:{const e=n,i=r;e.ht=t.getSyncFn(i[0]),e.dt=i[1],e.Bt=xi,e.R=i[2],e.R|=1,e.p=i[3],e.$=new Set(i.slice(4)),(t=>{if(null!==t.p&&eo(t.p)){const n=t.p,e=t.$;let r=!1;if(e)for(const i of e){const e=i.property;if(me(e)){const i=uo(n,e,null);if(null!==i){t.Bt=i,r=!0;break}}}if(!r){const e=Fo(n);e&&n.firstChild===n.lastChild&&oo(e)&&(t.Bt=Mo(e))}}})(e),Pn(e.$,e);break}case 25:{const t=n,e=r;t.Yt=e[0],t.$=new Set(e[1]),t.m=new Set(e[2]),t.k=new Set(e[3]),t.sn=e[4],t.R=e[5]??0,64&t.R&&(t.rn=!0),e.length>6&&(t.Bt=e[6]),t.Bt===xi&&(t.R|=1),t.interval=e[7]??0,t.un=e[8]??1,t.fn=e[9]??0,Pn(t.$,t),Pn(t.m,t),Pn(t.k,t);break}case 26:case 24:{const i=n,s=r;i.Yt=s[0];const o=i.Yt.resolve(t).catch(()=>{});mc=mc.finally(()=>o),s[1]&&(i.$=new Set(s[1])),s.length>2&&(i.Bt=s[2]),26!==e&&i.Bt!==xi&&(i.R&=-2),Pn(i.$,i);break}case 15:{const t=r;n.message=t[0];for(let e=1;e<t.length;e+=2)n[t[e]]=t[e+1];break}case 28:{const t=n,e=r;for(let n=0;n<e.length;n++)t.append(e[n++],e[n]);break}case 29:{const t=n,[e,i,s,o,l,c]=r;t.type=e,t.key=i,t.varProps=s,t.constProps=o||null,t.children=l,t.toSort=!!c;break}case 17:{const t=n,e=r;for(let n=0;n<e.length;n++)t.add(e[n]);break}case 18:{const t=n,e=r;for(let n=0;n<e.length;n++)t.set(e[n++],e[n]);break}case 16:{const t=n,[e,i]=r,[s,o]=Ml.get(t);e?s(i):o(i);break}case 19:const o=n,l=atob(r);let c=0;for(const t of l)o[c++]=t.charCodeAt(0);break;case 30:const u=n,f=r;let a=f[0];a===di&&(a=new Ki(ds,f[1],f[2],null,0,null),a._proxy=u),u[fi]=a;const h=u[ai];h.$=f[3],Nn(h.$,u);break;case 31:{const t=n;t.data.W=r[0],t.data.lt=r[1];break}case 32:{const t=n,e=r;t.consumer=e[0],t.property=e[1],t.data=e[2],(t=>{const n=import.meta.env.TEST?Wr():Xn,e=t.consumer;n&&!e||(e[Yr]||=new Map,e[Yr].set(t.property,t))})(t);break}default:throw be(16,[e])}},gc=(t,n,e=Array(n.length/2))=>{for(let r=0;r<n.length;r+=2)e[r/2]=An(t,n[r],n[r+1]);return e},Sc=t=>t>=15||4===t||5===t,kc=new WeakMap,xc=Symbol(),qc=(t,n)=>{if(!Array.isArray(n)||eo(n)||pe(e=n)&&xc in e)return n;var e;let r=kc.get(n);if(!r){const e=Array(n.length/2).fill(void 0);r=new Proxy(e,new Rc(t,n)),kc.set(n,r)}return r};class Rc{_;ne;ee;constructor(t,n){this._=t,this.ne=n,this.ee=this.ne.length/2}get(t,n,e){if(n===xc)return t;const r="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(r)||r<0||r>=this.ee)return Reflect.get(t,n,e);const i=2*r,s=this.ne[i],o=this.ne[i+1];if(0===s)return o;const l=this._,c=Fl(l,s,o);return Reflect.set(t,n,c),this.ne[i]=0,this.ne[i+1]=c,Sc(s)&&vc(l,c,s,o),c}has(t,n){return n===xc||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,r){if(n===xc)return!1;const i=Reflect.set(t,n,e,r),s="number"==typeof n?n:parseInt(n,10);if(Number.isNaN(s)||s<0||s>=this.ne.length/2)return i;const o=2*s;return this.ne[o]=0,this.ne[o+1]=e,!0}}const Ec=t=>33<=t&&t<=46,Cc=(t,n,e)=>{let r=0;for(;n<e;){const e=t.charCodeAt(n);if(92===e)n+=2;else{if(0===r&&Ec(e))break;123===e?r++:125===e&&r--,n++}}return n},jc=t=>t instanceof _c;class _c extends rc{element;qContainer;qManifestHash;rootVNode;document;h=new WeakMap;re;Kn;Nt=null;vNodeLocate=t=>wo(this.rootVNode,t);ie;se;oe=null;constructor(t){if(super({},t.getAttribute("q:locale")),this.qContainer=t.getAttribute(Ue),!this.qContainer)throw be(25);this.document=t.ownerDocument,this.element=t,this.Zn=t.getAttribute(Te),this.Kn=t.getAttribute("q:instance"),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=Zs(this.element),this.ie=[],this.se=[];const n=this.element.ownerDocument;n.qVNodeData||function(t){const n="q:container",e="/"+n,r="q:ignore",i="/"+r,s="q:container-island",o="/"+s,l=t.qVNodeData||(t.qVNodeData=new WeakMap),c=t.body,u=c.getAttribute,f=c.hasAttribute,a=((t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}})(c,"nodeType"),h=t=>{Array.from(t.querySelectorAll('script[type="qwik/vnode"]')).forEach(t=>{const n=t.closest("[q\\:container]");n.qVnodeData=t.textContent,n.qVNodeRefs=new Map}),t.querySelectorAll("[q\\:shadowroot]").forEach(t=>{const n=t.shadowRoot;n&&h(n)})};h(t);const d=t=>{const l=a.call(t);if(1===l)return null===u.call(t,n)?f.call(t,"q:shadowroot")?6:f.call(t,":")?2:0:3;if(8===l){const l=t.nodeValue||"";if(l.startsWith(s))return 65;if(l.startsWith(r))return 16;if(l.startsWith(n))return 9;if(l.startsWith(o))return 64;if(l.startsWith(i))return 32;if(l.startsWith(e))return 8}return 0},$=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},p=(n,e,r,i,s,o)=>{const c=s.length;let u=0,f=-1,a=0,h=0,y=0,m=-1,w=null;const b=()=>{let t=0;for(;Ec(y=s.charCodeAt(a))&&(t+=1<<y-33,a++,!(a>=c)););return t};do{if(r===i)return;w=null;const v=r==e?2:d(r);if(3===v){const t=r;let e=r;for(;e&&!(w=$(e));)e=e.parentNode;p(n,t,r,w,t.qVnodeData||"",t.qVNodeRefs)}else if(16===v){let t=r;do{if(t=n.nextNode(),!t)throw Error(`Island inside \x3c!--${r?.nodeValue}--\x3e not found!`)}while(65!==d(t));w=null}else if(64===v){let t;w=r;do{if(w=n.nextNode(),!w)throw Error("Ignore block not closed!");t=d(w)}while(32!==t&&65!==t);w=null}else if(9===v){w=r;do{if(w=$(w),!w)throw Error(`\x3c!--${r?.nodeValue}--\x3e not closed!`)}while(8!==d(w));p(n,r,r,w,"",null)}else if(6===v){w=$(r);const n=r,e=n?.shadowRoot;e&&p(t.createTreeWalker(e,129),null,e,null,"",null)}if(!(2&~v)){if(f<u&&(-1===f&&(f=0),a=h,a<c?(f+=b(),126===y&&(m=f,a++,y=a<c?s.charCodeAt(h):33),h=Cc(s,a,c)):f=Number.MAX_SAFE_INTEGER),u===f){m===u&&o.set(u,r);const t=s.substring(a,h);l.set(r,t)}u++}}while(r=w||n.nextNode())},y=t.createTreeWalker(t,129);p(y,null,y.firstChild(),null,"",null)}(n),this.re=Me(n,this.Kn)||$i,this.le(),t.setAttribute(Ue,"resumed"),t.qContainer=this,t.qDestroy=()=>this.mn();const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.ie=JSON.parse(e[e.length-1].textContent),Qn(this.ie,this),this.se=qc(this,this.ie)),this.ce(),!ee&&t.isConnected&&t.dispatchEvent(new CustomEvent("qresume",{bubbles:!0}))}mn(){this.vNodeLocate=()=>null,this.ie.length=0,this.se.length=0,this.O=()=>{};const t=this.element;t.qContainer=void 0,t.qVnodeData=void 0,t.qVNodeRefs=void 0,t.removeAttribute(Ue),t.ownerDocument.qVNodeData=void 0}ce(){const t=this.element.ownerDocument,n=t.head,e=t.body.querySelectorAll(Ae),r=e.length;if(r){const i=t.createDocumentFragment();for(let t=0;t<r;t++)i.appendChild(e[t]);n.appendChild(i)}}gn(t,n){this.se[t]=n}parseQRL(t){return mn(t,this)}handleError(t,n){if(te&&n){if("undefined"!=typeof document){const e=()=>{const e=n,r=e.parent,i=e.nextSibling,s=[],o=((t,n,e,r)=>{const i=n.createElement("errored-host");r&&r instanceof Error&&(i.props={error:r}),i.setAttribute("q:key","_error_");const s=Ks(i,"errored-host");if(io(e))_o(t,s,e,null);else{const n=[];en(t,e,t=>{n.push(t)});for(let e=0;e<n.length;e++)_o(t,s,n[e],null)}return s})(s,document,e,t),l=ro(e)&&r||e;xo(s,l,o,l===e?null:i)};this.l?this.l.then(e):e()}if(t&&t instanceof Error&&("hostElement"in t||(t.hostElement=n+"")),!(t=>!(t&&t instanceof Error&&"plugin"in t))(t))throw t}const e=n&&this.resolveContext(n,Al);if(!e)throw t;e.error=t}setContext(t,n,e){let r=this.getHostProp(t,Ne);null==r&&this.setHostProp(t,Ne,r=[]),ae(r,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,Ne);if(null!=e&&de(e,n.id,0))return he(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(lo(n)){if(null!==uo(n,qe,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){fo(t,n,e)}getHostProp(t,n){const e=t;let r=null;switch(n){case Ke:case Ge:case qe:case Ne:case Ie:r=this.O;break;case Ze:case ir:r=parseInt}return uo(e,n,r)}ensureProjectionResolved(t){if(!(16&t.flags)){t.flags|=16;const n=t.props;if(n)for(const t of Object.keys(n))if(_(t)){const e=n[t];if("string"==typeof e){const r=this.vNodeLocate(e);n[t]=r}}}}O=t=>Bn(t,this.se);getSyncFn(t){return this.re[t]}ue(t,n,e,r){if(r){const t=this.getHostProp(e,Pe),r=new Set((t=>t?.split(" ")??null)(t));r.add(n),this.setHostProp(e,Pe,(t=>Array.from(t).join(" "))(r))}if(null==this.oe&&(this.oe=new Set,this.element.querySelectorAll(Oe).forEach(t=>{this.oe.add(t.getAttribute(_e))})),!this.oe.has(n)){this.oe.add(n);const e=this.document.createElement("style");e.setAttribute(_e,n),e.textContent=t,this.document.head.appendChild(e)}}le(){const t={},n=this.element.attributes;if(n)for(let e=0;e<n.length;e++){const r=n[e];r.name!==or&&(t[r.name]=r.value)}this.Ft={containerAttributes:t}}}const Oc=(t,n)=>{const{val:e,set:r,iCtx:i,i:s}=Rl();if(e)return;r(1);const o=new Pc(6|(!1===n?.deferUpdates?0:8),s,i.p,t,void 0,null);r(o);const l=i._,{gt:c}=i,u=hr(c,()=>Ac(o,l,i.p));fr(u)&&(i.gt=u)},Ac=(t,n,e)=>{const r=t.fe;if(r)return r;t.R&=-5;const i=t=>n.handleError(t,e);let s=null;const o=hr(((t,n)=>{const e=t.ae;if(e)return e;const r=t.mn;if(r){t.mn=null;try{const e=r();if(fr(e)){const r=Promise.resolve(e).then(()=>{},t=>{n(t)}).finally(()=>{t.ae===r&&(t.ae=void 0)});return t.ae=r,r}}catch(t){n(t)}}})(t,i),()=>{const r=$n(n.wt,e,"qTask");r._=n;const o=t.Pt.getFn(r,()=>p(n,t)),l=ji(t,n),[c]=((t,n)=>{let e=null;return[r=>{"function"==typeof r&&(e||(e=[],t.mn=()=>{t.mn=null;let r=null;for(const t of e)try{const e=t();fr(e)&&(r||=[]).push(e.catch(n))}catch(t){n(t)}if(e=null,r?.length)return Promise.all(r).then(()=>{})}),e.push(r))},e??[]]})(t,i),u={track:l,cleanup:c};return ar(()=>o(u),c,r=>{if(fr(r))return r.then(()=>(t.fe===s&&(t.fe=null),Ac(t,n,e)));i(r)})});return fr(o)?(s=o.finally(()=>{t.fe===s&&(t.fe=null)}),t.fe=s,s):o};class Pc extends Xr{R;Pn;$t;Pt;Tt;mn;ae;fe=null;constructor(t,n,e,r,i,s){super(),this.R=t,this.Pn=n,this.$t=e,this.Pt=r,this.Tt=i,this.mn=s}}const Nc=t=>t instanceof Pc,Ic=t=>{if(!t.resolved)throw t.resolve()},Mc=t=>t instanceof li,Tc=(t,n)=>{t.add(n)},Fc=(t,n)=>{(t.backRef||=new Set).add(n)},zc=(t,n)=>{if(n?.serializationCtx){const e=t.consumer,r=t.property;let i=null;Nc(e)?i=e.Pt:e instanceof _i?i=e.Yt:":"===r&&(i=n.getHostProp(e,qe)),i&&n.serializationCtx.At.add(i)}},Lc=(t,n,e)=>{const r=!import.meta.env.TEST||!Wr();if(e){const i=e=>{const i=e.consumer,s=e.property;if(Nc(i))i.R|=4,Zt(t,i.$t,1);else if(i instanceof li)i.invalidate();else if(":"===s)Zt(t,i,4);else if("."===s)r&&(At(i,n),Zt(t,i,2));else{const o=e.data;if(o instanceof Yi){const e=o.data,l={isConst:e.lt,scopedStyleIdPrefix:e.W,value:n};if(r)((t,n,e)=>{const r=t.props||={};let i=r[ii];i||(i=new Map,r[ii]=i),i.set(n,e)})(i,s,l);else{const t=i;let n=t.getProp(ii);n||(n=new Map,t.setProp(ii,n)),n.set(s,l)}Zt(t,i,8)}}},s=Array.from(e);for(let t=0;t<s.length;t++)i(s[t])}},Dc=t=>pe(t)&&"function"==typeof t[du],Uc=t=>{let n=1;switch(t){case"never":n|=8;break;case"always":n|=16}return n},Wc=[],Qc=t=>{if(ts(t)){if("function"==typeof t.type){const n=t.type[Lu];if(n){const[t]=n;return"Component("+t.St+")"}return"Function("+t.type.name+")"}let n="<"+t.type;if(t.props){for(const[e,r]of Object.entries(t.props))n+=" "+e+"="+zn(r);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=Qc(t)}):n+=Qc(e),n+="</"+t.type+">"):n+="/>"}return n}return t+""},Vc=t=>t[Ei],Jc=t=>t?.[Ri]||null,Bc=(t,n)=>{const e=Vc(t);e&&e.force(n)},Hc=(t,n)=>{const e=Vc(t);return!!e&&(e.$?.get(n)?.size??0)>0},Yc=t=>Jc(t)||t,Xc=t=>Ri in t,Gc=(t,n,e)=>{if($e(t)&&e){let r=e.h.get(t);return r||(r=Ln(e,t,n),e.h.set(t,r)),r}return t};class Kc{R;_;$=void 0;constructor(t,n){this.R=t,this._=n}toString(){return"[Store]"}force(t){const n=Jc(this);Lc(this._,this,Wn(n,t,this.$))}get(t,n){if("symbol"==typeof n)return n===Ri?t:n===Ei?this:t[n];const e=$l(),r=t[n];if(e){if(null===this._){if(!e._)return r;this._=e._}const i=e.vt;i&&Dn(t,Array.isArray(t)?Ci:n,this,i)}return"toString"===n&&r===Object.prototype.toString?this.toString:1&this.R&&pe(r)&&!Object.isFrozen(r)&&!Xc(r)&&!Object.isFrozen(t)?Gc(r,this.R,this._):r}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const r=1&this.R?Yc(e):e;return n in t?r!==t[n]&&Un(n,r,t,this):Un(n,r,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Array.isArray(t)||Lc(this._,this,Wn(t,n,this.$)),!0)}has(t,n){if(n===Ri)return!0;if("string"==typeof n){const e=$l();if(e){const r=e.vt;r&&Dn(t,Array.isArray(t)?Ci:n,this,r)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=$l(),e=n?.vt;return e&&Dn(t,Ci,this,e),Reflect.ownKeys(t)}getOwnPropertyDescriptor(t,n){const e=Reflect.getOwnPropertyDescriptor(t,n);return Array.isArray(t)||"symbol"==typeof n||e&&!e.configurable?e:{enumerable:!0,configurable:!0}}}const Zc=(t,n)=>t[n],tu=(t,n=new WeakSet)=>{if(null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return!0;if("object"==typeof t){if(n.has(t))return!0;n.add(t);const e=Object.getPrototypeOf(t);if(Xc(t)&&(t=Jc(t)),e==Object.prototype){for(const e in t)if(!tu(ml(Zc,t,e),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!tu(t[e],n))return!1;return!0}if(Nc(t))return!0;if(ki(t))return!0;if(fr(t))return!0;if(ts(t))return!0;if(t instanceof Error)return!0;if(t instanceof URL)return!0;if(t instanceof Date)return!0;if(t instanceof RegExp)return!0;if(t instanceof URLSearchParams)return!0;if(t instanceof FormData)return!0;if(t instanceof Set)return!0;if(t instanceof Map)return!0;if(t instanceof Uint8Array)return!0;if(t instanceof Yi)return!0;if(Zl?.(t))return!0}else if("function"==typeof t){if(ge(t)||Du(t)||t===ys||t===ds)return!0}else if(t===di||t===xi||t===Ci)return!0;return!1},nu=(t,n)=>{let e=eo(t)?ln.call(t,1,"",!0).replaceAll(/\n.*/gm,""):"function"==typeof t?t+"":(t=>{const n=new WeakSet;return JSON.stringify(t,(t,e)=>{if(pe(e)){if(n.has(e))return`[Circular ${e.constructor.name}]`;n.add(e)}return e},2)})(t);return e.length>500&&(e=e.slice(0,500)+'"...'),e=e.replace(/\n/g,"\n"+n),e.includes("\n")?e=`\n${n}${e}`:e};let eu=!1;const ru=(t,n=!1,e="",r=20)=>{const i=n?"[31m":"",s=n?"[0m":"",o=""===e,l=[];for(let o=0;o<t.length;o++){if(r&&o>2*r){l.push("...");break}const c=t[o];let u=t[++o];if(0===c){"number"!=typeof u&&"string"!=typeof u&&(eu=!0);const t=`{${pe(u)?u.constructor.name:typeof u}}`;l.push(`${i}${t}${s} ${nu(u,e+" ")}`)}else 3===c?u=su(u):"string"==typeof u?(u=JSON.stringify(u),u.length>120&&(u=u.slice(0,120)+'"...')):14===c?u=`[\n${e} ${u.join(`\n${e} `)}\n${e}]`:Array.isArray(u)&&(u=u.length?`[\n${ru(u,n,e+" ")}\n${e}]`:"[]"),l.push(`${i}${iu(c)}${s} ${u}`)}const c=l.map((t,n)=>`${e}${o?n+" ":""}${t}`).join("\n");if(o){const n=eu?"":`(${JSON.stringify(t).length} chars)`;return eu=!1,`\n${c}\n${n}`}return c},iu=t=>Il[t]||`Unknown(${t})`,su=t=>Nl[t]||`Unknown(${t})`,ou=(t,n)=>ml(lu,t,new WeakSet,"_",n),lu=(t,n,e,r)=>{const i=Yc(t);if(null==i)return t;if(uu(i)){if("object"==typeof i){if(n.has(i))return t;n.add(i)}if(Mc(i))return t;if(tu(i))return t;const s=typeof i;if("object"===s){if(fr(i))return t;if((t=>t&&"number"==typeof t.nodeType)(i))return t;if(ye(i)){let r=0;return i.forEach((t,s)=>{if(s!==r)throw be(3,[i]);lu(t,n,e+"["+s+"]"),r=s+1}),t}if(i.__brand)return t;if($e(i)){for(const[t,r]of Object.entries(i))lu(r,n,e+"."+t);return t}}let o;if(o=r||"Value cannot be serialized","_"!==e&&(o+=` in ${e},`),"object"===s)o+=` because it's an instance of "${t?.constructor.name}". You might need to use 'noSerialize()' or use an object literal instead. Check out https://qwik.dev/docs/advanced/dollar/`;else if("function"===s){const n=t.name;o+=` because it's a function named "${n}". You might need to convert it to a QRL using $(fn):\n\nconst ${n} = $(${t+""});\n\nPlease check out https://qwik.dev/docs/advanced/qrl/ for more information.`}throw be(3,[o])}return t},cu=/*#__PURE__*/new WeakSet,uu=t=>!pe(t)&&!we(t)||!cu.has(t)&&!(hu in t),fu=t=>!!t&&(pe(t)||"function"==typeof t)&&(cu.has(t)||hu in t),au=t=>((pe(t)&&null!==t||"function"==typeof t)&&cu.add(t),t),hu=Symbol(),du=Symbol();class $u{kt;St;he;te;_;dev;constructor(t,n,e,r,i){this.kt=t,this.St=n,this.he=e,this.te=r,r&&this.de(r),!i||r||"string"!=typeof t||e||(this._=i),te&&(this.dev=null),t&&Yn(t,.8)}get ft(){return(t=>{const n=t.lastIndexOf("_")+1;return t.slice(n)})(this.St)}de(t){this.te=t,fr(t)&&t.then(t=>this.te=t,t=>{console.error(`qrl ${this.St} failed to load`,t),this.te=null})}$e(){if(null!=this.te)return this.te;if(""===this.kt){const t=this._.Kn,n=this._.element?.ownerDocument||document,e=Me(n,t);return this.te=e[+this.St]}this.kt&&Yn(this.kt,1);const t=this.St,n=this.he?this.he().then(n=>n[t]):Ur().importSymbol(this._?.element,this.kt,t);return this.de(n),this.te}}const pu=Symbol(),yu=t=>t?.[pu]??t;class mu{Sn;resolved=void 0;_t;_;constructor(t,n,e){if(this.Sn=t,n&&(this._t=n,"string"==typeof n&&(this._=e),te&&n&&"object"==typeof n))for(const t of n)ou(t,"Captured variable in the closure can not be serialized");null==t.te||"string"==typeof this._t||fr(t.te)||(this.resolved=qu(this,t.te))}}const wu=function(t,...n){const e=yu(this);if(e.resolved)return e.resolved.apply(t,n);const r=$l();return bu.call(e,r?._).then(()=>hn.call(t,r,e.resolved,n))},bu=async function(t){const n=yu(this);return hr(Ru(n,t),()=>n.resolved)},vu=Object.create(Function.prototype,{resolved:{get(){return this[pu].resolved},set(t){this[pu].resolved=t}},_t:{get(){return this[pu]._t},set(t){this[pu]._t=t}},_:{get(){return this[pu]._},set(t){this[pu]._=t}},Sn:{get(){return this[pu].Sn}},kt:{get(){return this[pu].Sn.kt}},St:{get(){return this[pu].Sn.St}},ft:{get(){return this[pu].Sn.ft}},dev:{get(){return this[pu].Sn.dev}},pe:{value:wu},w:{value:function(t){const n=yu(this);return Cu(new mu(n.Sn,t,n._t?n._:void 0))}},s:{value:function(t){const n=yu(this);n.Sn.de(t),n.resolved=qu(n,t)}},resolve:{value:bu},getSymbol:{value:function(){return yu(this).Sn.St}},getHash:{value:function(){return yu(this).Sn.ft}},getCaptured:{value:function(){const t=yu(this);return xu(t),t._t}},getFn:{value:function(t,n){const e=yu(this),r=(...i)=>e.resolved?n&&!1===n()?void 0:hn(t,e.resolved,i):bu.call(e).then(t=>{if(te&&!we(t))throw be(5);return r(...i)});return r}}});let gu=null;const Su=t=>{gu=t},ku=(t,n)=>{const e=[];for(const r of n.split(" "))e.push(t.O(r));return e},xu=t=>{gu=t._t;const n=t._;if("string"==typeof gu){if(!n)throw be(13);const e=mc;if(gu=t._t=ku(n,gu),mc!==e)return mc}},qu=(t,n)=>"function"==typeof n&&t._t?function(...e){return xu(t),n.apply(this,e)}:n,Ru=(t,n)=>{const e=t.Sn,r="string"==typeof t._t;if(r&&!t._&&(t._=n||$l()?._),t.resolved)return;const i=Au(),s=$l(),o=e.$e(),l=hr(o,n=>{t.resolved=qu(t,n)});l&&_u(e.St,s?.p instanceof Zr?s?.p.node:void 0,i);const c=r&&t._&&xu(t);return c?c.then(()=>l):l},Eu=(t,n,e,r,i,s)=>Cu(new mu(new $u(t,n,r,e,s),i,s)),Cu=t=>{const n=async function(...t){return wu.call(n,this,...t)};return n[pu]=t,Object.setPrototypeOf(n,vu),n},ju=/*#__PURE__*/new Set,_u=(t,n,e)=>{ju.has(t)||(ju.add(t),Ou("qsymbol",{symbol:t,element:n,reqTime:e}))},Ou=(t,n)=>{ee||Wr()||"object"!=typeof document||document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},Au=()=>ee||Wr()?0:"object"==typeof performance?performance.now():0;let Pu=0;const Nu=t=>{if(!re&&te)throw Error("Optimizer should replace all usages of $() with some special syntax. If you need to create a QRL manually, use inlinedQrl() instead.");return Eu(null,"s"+Pu++,t,null,null)},Iu=Nu,Mu=t=>t,Tu=t=>{if(!re&&te)throw Error("Optimizer should replace all usages of sync$() with some special syntax. If you need to create a QRL manually, use inlinedSyncQrl() instead.");return te&&(t=Function("return "+t)()),Eu("",ve,t,null,null)},Fu=(t,n)=>(void 0===n&&(n=""+t),t.serialized=n,Eu("",ve,t,null,null)),zu=t=>{function n(n,e,r=0){const i=(ee?"sX":t.ft.slice(0,4))+":"+(e||""),s=()=>{};return s[Lu]=[t],ss(s,n,null,n.children,r,i)}return n[Lu]=[t],n},Lu=Symbol(),Du=t=>"function"==typeof t&&void 0!==t[Lu],Uu=t=>zu(Iu(t)),Wu=Pi(Mu),Qu=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!Qr(n);)n=n.nextSibling;t=n}if(te&&t.hasAttribute(Ue))throw be(4,[t]);t.setAttribute(Ue,"resumed");const r=In(t);r.Ft=e.serverData||{};const i=r.rootVNode;return fo(i,si,n),Zt(r,i,2),await r.l,{cleanup:()=>{St(r,[],r.rootVNode)}}},Vu=(t,n)=>{const{val:e,set:r,iCtx:i}=Rl();if(null!=e)return e;const s=we(t)?an(void 0,t):t;if(!1===n?.reactive)return r(s),s;{const t=i._,e=Gc(s,n?.deep??1?1:0,t);return r(e),e}},Ju=()=>{const{val:t,set:n,iCtx:e}=Rl();if(null!=t)return t;const r=e._.Zn||"",i=r?br(r).substring(0,3):"",s=e._.getHostProp(e.p,qe);let o=`${i}${s?.getHash().substring(0,3)||""}${(e._.Gn++).toString(36)||""}`,l=o.charCodeAt(0);return l>=48&&l<=57&&(l+=17,o=String.fromCharCode(l)+o.substring(1)),n(o)},Bu=/*#__PURE__*/new Map,Hu=(t,n)=>{if(te)return Yu(t,n);let e=Bu.get(n);return e||Bu.set(n,e=Yu(t,n)),e},Yu=(t,n)=>{function e(n){l.push(t.substring(f,n)),f=n}function r(t){a===ef||s()||(e(t),l.push(".",Ee,n))}function i(n){let e=0;if(t.charCodeAt(u)===vf)for(let n=1;n<10;n++)if(t.charCodeAt(u+n)===vf){e=n+1;break}t:for(let r=3;r<n.length;r++){const i=n[r];for(let n=0;n<i.length;n++)if((t.charCodeAt(u+n+e)|_f)!==i.charCodeAt(n))continue t;return u+=i.length+e,!0}return!1}function s(){return-1!==c.indexOf(ef)||-1!==c.indexOf(sf)}const o=t.length,l=[],c=[];let u=0,f=u,a=tf,h=0;for(;u<o;){const n=u;let o=t.charCodeAt(u++);o===Cf&&(u++,o=qf);const l=Mf[a];for(let d=0;d<l.length;d++){const $=l[d],[p,y,m]=$;if((p===h||p===ff||p===af&&Xu(h)||p===df&&Zu(h))&&(y===o||y===ff||y===af&&Xu(o)||y===hf&&!Xu(o)&&o!==gf||y===df&&Zu(o))&&(3==$.length||i($))){if($.length>3&&(o=t.charCodeAt(u-1)),m===cf||m==uf){m===uf&&(a!==nf||s()?Gu(o)||r(u-(y==hf?1:y==bf?2:0)):(Gu(o)?e(u-2):r(u-2),f++)),y===hf&&(u--,o=h);do{a=c.pop()||tf,a===ef&&(e(u-1),f++)}while(Ku(a))}else c.push(a),a===ef&&m===tf?(e(u-8),f=u):m===rf&&r(n),a=m;break}}h=o}return e(u),l.join("")},Xu=t=>t>=Sf&&t<=kf||t>=qf&&t<=Rf||t>=Of&&t<=Af||t>=128||t===jf||t===vf,Gu=t=>t===xf||t===gf||t===Ef||t===wf||Xu(t),Ku=t=>t===of||t===sf||t===lf||t===ef,Zu=t=>t===mf||t===$f||t===pf||t===yf,tf=0,nf=2,ef=5,rf=6,sf=10,of=11,lf=12,cf=17,uf=18,ff=0,af=1,hf=2,df=3,$f=9,pf=10,yf=13,mf=32,wf=35,bf=41,vf=45,gf=46,Sf=48,kf=57,xf=58,qf=65,Rf=90,Ef=91,Cf=92,jf=95,_f=32,Of=97,Af=122,Pf=123,Nf=125,If=/*@__PURE__*/(()=>[[ff,39,14],[ff,34,15],[ff,47,16,"*"]])(),Mf=/*@__PURE__*/(()=>[[[ff,42,nf],[ff,Ef,7],[ff,xf,rf,":","before","after","first-letter","first-line"],[ff,xf,ef,"global"],[ff,xf,3,"has","host-context","not","where","is","matches","any"],[ff,xf,4],[ff,af,1],[ff,gf,1],[ff,wf,1],[ff,64,sf,"keyframe"],[ff,64,of,"media","supports","container"],[ff,64,lf],[ff,Pf,13],[47,42,16],[ff,59,cf],[ff,Nf,cf],[ff,bf,cf],...If],[[ff,hf,uf]],[[ff,hf,uf]],[[ff,40,tf],[ff,hf,uf]],[[ff,40,8],[ff,hf,uf]],[[ff,40,tf],[ff,hf,cf]],[[ff,hf,cf]],[[ff,93,uf],[ff,39,14],[ff,34,15]],[[ff,bf,cf],...If],[[ff,Nf,cf],...If],[[ff,Nf,cf],[df,af,1],[ff,xf,ef,"global"],[ff,Pf,13],...If],[[ff,Pf,tf],[ff,59,cf],...If],[[ff,59,cf],[ff,Pf,9],...If],[[ff,Nf,cf],[ff,Pf,13],[ff,40,8],...If],[[ff,39,cf]],[[ff,34,cf]],[[42,47,cf]]])(),Tf=t=>({styleId:Df(t,t=>t,!1)}),Ff=/*#__PURE__*/Pi(Tf),zf=t=>({scopeId:Ee+Df(t,Hu,!0)}),Lf=/*#__PURE__*/Pi(zf),Df=(t,n,e)=>{const{val:r,set:i,iCtx:s,i:o}=Rl();if(r)return r;const l=(c=o,`${br(t.ft)}-${c}`);var c;const u=s.p;if(i(l),!t.resolved)throw t.resolve().then(t=>s._.ue(n(t,l),l,u,e));return s._.ue(n(t.resolved,l),l,u,e),l},Uf=t=>{const n=we(t)&&!Du(t)?an(void 0,t):t;return Fi(n)},Wf=t=>Qf(Uf,t),Qf=(t,...n)=>{const{val:e,set:r}=Rl();return null!=e?e:r(t=we(t)&&!Du(t)?ml(t,...n):t)},Vf=(t,n)=>(t.resolve(),Ii(t,n)),Jf=(t,n)=>Qf(Vf,t,n),Bf=Pi(Jf),Hf=t=>(t.resolve(),Ti(t)),Yf=t=>Qf(Hf,t),Xf=Pi(Yf),Gf=(t,n)=>{const{val:e,set:r,i,iCtx:s}=Rl(),o=n?.strategy??"intersection-observer";if(e)return void(32&e.R||Wr()||(e.R|=32,Kf(e,o)));let l;Wr()?l=1:(l=5,t.resolve(),Zt(s._,s.p,1));const c=new Pc(l,i,s.p,t,void 0,null);r(c),Kf(c,o)},Kf=(t,n)=>{"intersection-observer"===n?fc("qvisible",Zf(t)):"document-ready"===n?ac("qinit",Zf(t)):"document-idle"===n&&ac("qidle",Zf(t))},Zf=t=>Eu(null,"_task",Fn,null,[t]),ta=Pi(lc),na=/*#__PURE__*/Pi(Oc),ea=/*#__PURE__*/Pi(Gf),ra=(t,n)=>(t.resolve(),Mi(t,n)),ia=(t,n)=>Qf(ra,t,n),sa=Pi(ia),oa=()=>{const t=Vu({error:void 0});return Cl(Al,t),t},la=async({track:t})=>{const n=gu[0];t(()=>n.items);const e=$l(),r=e._;Zt(r,e.p,128),(import.meta.env.TEST?Wr():Xn)&&await r.l},ca=t=>{if(!__EXPERIMENTAL__.each)throw Error('Each is experimental and must be enabled with `experimental: ["each"]` in the `qwikVite` plugin.');return Oc(/*#__PURE__*/Ll(la,"_eaT",[t])),ms},ua=/*#__PURE__*/zu(
|
|
2
|
+
/*#__PURE__*/Ll(ca,"_eaC")),fa=t=>{import.meta;const n=import.meta.env.BASE_URL||"/",e={path:"qwik-prefetch-service-worker.js",...t};e.path=t?.path?.startsWith?.("/")?t.path:n+e.path;let r=aa.replace('"_URL_"',JSON.stringify(e.path.split("/").pop()));return r=r.replaceAll(/\s\s+/gm,""),is("script",null,{dangerouslySetInnerHTML:"("+r+")(navigator.serviceWorker);",nonce:e.nonce},null,0,"prefetch-service-worker")},aa=/*#__PURE__*/""+(t=>{"getRegistrations"in t&&t.getRegistrations().then(t=>{t.forEach(t=>{t.active&&t.active.scriptURL.endsWith("_URL_")&&t.unregister().catch(console.error)})}),"caches"in window&&caches.keys().then(t=>{const n=t.find(t=>t.startsWith("QwikBundles"));n&&caches.delete(n).catch(console.error)}).catch(console.error)}),ha=()=>null;globalThis.__qwik&&be(30,[globalThis.__qwik,Tr]),globalThis.__qwik=Tr,import.meta.hot&&import.meta.hot.dispose(()=>{globalThis.__qwik=void 0});export{Nu as $,ua as Each,ds as Fragment,hu as NoSerializeSymbol,ha as PrefetchGraph,fa as PrefetchServiceWorker,$s as RenderOnce,cc as Resource,bs as SSRComment,ws as SSRRaw,gs as SSRStream,vs as SSRStreamBlock,du as SerializerSymbol,ms as SkipRender,ys as Slot,ci as _CONST_PROPS,_c as _DomContainer,Yr as _EFFECT_BACK_REF,$i as _EMPTY_ARRAY,pi as _EMPTY_OBJ,hi as _IMMUTABLE,rc as _SharedContainer,Yi as _SubscriptionData,di as _UNINITIALIZED,ui as _VAR_PROPS,Cn as _addProjection,gu as _captures,g as _chk,Eu as _createQRL,Jn as _deserialize,ru as _dumpState,ca as _eaC,la as _eaT,Gt as _executeSsrChores,Jl as _fnSignal,Si as _getConstProps,kl as _getContextContainer,Sl as _getContextEvent,gl as _getContextHostElement,In as _getDomContainer,Tn as _getQContainerElement,gi as _getVarProps,Hc as _hasStoreEffects,pc as _hmr,ts as _isJSXNode,Xc as _isStore,bn as _isStringifiable,Nc as _isTask,xl as _jsxBranch,os as _jsxC,cs as _jsxQ,ls as _jsxS,is as _jsxSorted,ss as _jsxSplit,fe as _mapApp_findIndx,he as _mapArray_get,ae as _mapArray_set,Dl as _noopQrl,Ul as _noopQrlDEV,Qn as _preprocessState,Fu as _qrlSync,pn as _qrlToString,Vl as _regSymbol,On as _removeProjection,S as _res,Ol as _resolveContextWithoutSequentialScope,qs as _restProps,oc as _rsc,A as _run,Vn as _serialize,qn as _setEvent,jn as _setProjectionTarget,Fn as _task,_n as _updateProjectionProps,En as _useHmr,v as _val,ou as _verifySerializable,$o as _vnode_ensureElementInflated,el as _vnode_getAttrKeys,Fo as _vnode_getFirstChild,so as _vnode_isMaterialized,oo as _vnode_isTextVNode,lo as _vnode_isVirtualVNode,ln as _vnode_toString,ql as _waitUntilRendered,kn as _walkJSX,Vi as _wrapProp,Bi as _wrapSignal,Uu as component$,zu as componentQrl,Li as createAsync$,Mi as createAsyncQrl,zi as createComputed$,Ii as createComputedQrl,El as createContextId,k as createElement,Di as createSerializer$,Ti as createSerializerQrl,Fi as createSignal,Wu as event$,Mu as eventQrl,Bc as forceStoreEffects,In as getDomContainer,un as getLocale,Ur as getPlatform,k as h,Pi as implicit$FirstArg,Ll as inlinedQrl,Ql as inlinedQrlDEV,Gn as isBrowser,Kn as isDev,Xn as isServer,Mc as isSignal,fs as jsx,as as jsxDEV,hs as jsxs,au as noSerialize,zl as qrl,Wl as qrlDEV,Qu as render,Dr as setPlatform,Tu as sync$,ml as untrack,Yc as unwrapStore,sa as useAsync$,ia as useAsyncQrl,Bf as useComputed$,Jf as useComputedQrl,Qf as useConstant,jl as useContext,Cl as useContextProvider,oa as useErrorBoundary,Ju as useId,sc as useLexicalScope,fc as useOn,ac as useOnDocument,hc as useOnWindow,ta as useResource$,lc as useResourceQrl,Xf as useSerializer$,Yf as useSerializerQrl,Hn as useServerData,Wf as useSignal,Vu as useStore,Ff as useStyles$,Tf as useStylesQrl,Lf as useStylesScoped$,zf as useStylesScopedQrl,na as useTask$,Oc as useTaskQrl,ea as useVisibleTask$,Gf as useVisibleTaskQrl,Tr as version,fn as withLocale};
|