@qwik.dev/core 2.0.0-beta.24 → 2.0.0-beta.25

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/core.min.mjs CHANGED
@@ -1 +1 @@
1
- function t(t){let n="";const e=t.length;let i=0,s=i;for(;i<e;i++){const e=t.charCodeAt(i);if(60===e)n+=t.substring(s,i)+"&lt;";else if(62===e)n+=t.substring(s,i)+"&gt;";else if(38===e)n+=t.substring(s,i)+"&amp;";else if(34===e)n+=t.substring(s,i)+"&quot;";else{if(39!==e)continue;n+=t.substring(s,i)+"&#39;"}s=i+1}return 0===s?t:n+t.substring(s)}function n(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 e(t,n=De){let e,i=!1;try{e=t(),i=!0}catch(t){e=t}if(!Ie(e))return i?e:n(e);let s=Ee;const r=async e=>{for(;Ie(e);)try{return await e,await t()}catch(t){if(!Ie(t)){e=t;break}if(! --s){e=Error("Exceeded max retry count in retryOnPromise");break}e=t}return n(e)};return i?e.catch(r):r(e)}function i(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 i=t.slice(e,-1);return"DOMContentLoaded"===i?n+"-d-o-m-content-loaded":((t,n)=>n+Ve(t))("-"===i.charAt(0)?i.slice(1):i.toLowerCase(),n)}}return null}function s(t,n,e){if((t=>"class"===t)(t)){const t=Qe(n);n=e?e+(t.length?" "+t:t):t}else"style"===t?n=(t=>{if(null==t)return"";if("object"==typeof t){if(Vn(t))throw Qn(0,[t,"style"]);{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const i=t[e];null!=i&&"function"!=typeof i&&(e.startsWith("--")?n.push(e+":"+i):n.push(Je(e)+":"+He(e,i)))}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 r(t,n,e,i=!1){const s=t.ownerDocument.createElementNS(e,n);for(const n of t.attributes)n.name!==_e&&s.setAttribute(n.name,n.value);if(i)for(const n of t.childNodes){const t=n.nodeType;3===t?s.appendChild(n.cloneNode()):1===t&&s.appendChild(r(n,n.localName,e,i))}return s}function o(t,n){const e=!t||!(!Zr(t)||(i=t,1536&i.flags));var i;const s=!e&&mi(Zr(t));let r=me,o=0;const l="string"==typeof n||qr(n);return l&&(t=>"string"==typeof t?wi(t):!!qr(t)&&(wi(Zr(t))||!!(512&t.flags)))(n)?(r=we,o=512):l&&(t=>"string"==typeof t?bi(t):!!qr(t)&&(bi(Zr(t))||!!(1024&t.flags)))(n)?(r=be,o=1024):!t||s||e||(r=512&t.flags?we:1024&t.flags?be:me,o=1536&t.flags),vi.elementNamespace=r,vi.elementNamespaceFlag=o,vi}function l(t,n){const e=d(n).priority;let i=ji.length;for(let t=0;t<ji.length;t++)if(e<d(ji[t]).priority){i=t;break}ji.splice(i,0,n),t.o++,t.l||=new Promise(n=>t.u=n)}function c(){for(let t=0;t<ji.length;t++){const n=ji[t];let e=!1;for(let t=0;t<Ci.length;t++)if(Po(n,Ci[t])){e=!0;break}if(!e)return n}return null}function u(t,n){Ci.push(t),a(t,n,!0),n.o++}function f(t,n){const e=Ci.indexOf(t);if(-1!==e){const t=Ci.length-1;e!==t&&(Ci[e]=Ci[t]),Ci.pop(),n.o--}l(n,t)}function a(t,n,e){e||(t.flags&=-257);const i=ji.indexOf(t);-1!==i&&(ji.splice(i,1),n.o--)}function h(t,n,e){n.position=e,e&&Nt(e)&&((t,n,e)=>{a(e,t);const i=d(e);if(i===n)return;const s=i.afterFlushTasks;if(s&&s.length>0){const t=n.afterFlushTasks;t?t.push(...s):n.afterFlushTasks=s}const r=i.extraPromises;if(r&&r.length>0){const t=n.extraPromises;t?t.push(...r):n.extraPromises=r}const o=i.journal;if(o&&o.length>0){const t=n.journal;t?t.push(...o):n.journal=o}})(t,n,e)}function d(t){return Pi.get(t)??null}function p(t){return new Proxy({},new Vi(t))}function $(t,n,e){t[gi]||(t[gi]=new Map);const i=t[gi];let s=i.get(n);return s||(s=new Xi(t,n),i.set(n,s)),e&&(s.data=e),s}function y(t,n){xr(n)&&qr(n)&&io(n);const e=n[gi];if(e){for(const[,n]of e)m(t,n);e.clear()}}function m(t,n){const e=n.backRef;if(e){for(const i of e)if(i instanceof ss)b(i,n);else if(i instanceof Ni)w(t,i,n);else if(Yi(i))v(i[Fi],n);else if(t.h.has(i)){const e=t.h.get(i);v(lc(e),n)}e.clear()}}function w(t,n,e){const i=n.p;i&&i.has(e)&&i.delete(e),n instanceof vs&&!i?.size&&(n.$=void 0,y(t,n))}function b(t,n){const e=t.p;e&&e.has(n)&&e.delete(n);const i=t.m;i&&i.has(n)&&i.delete(n);const s=t.k;s&&s.has(n)&&s.delete(n),t.q()}function v(t,n){const e=t?.p;if(e)for(const[t,i]of e.entries())i.has(n)&&(i.delete(n),0===i.size&&e.delete(t))}function g(t,n){Ss(this,n),Ac[0].value="number"===n.type?n.valueAsNumber:n.value}function S(t,n){Ss(this,n),Ac[0].value=n.checked}function k(t,n){if(Ss(this,n),Ac)for(const t of Ac)t instanceof ss&&64&t.R&&t.j()}function x(t,n,...e){const i={children:arguments.length>2?e.flat(100):null};let s=null;for(const t in n)"key"==t?s=n[t]:i[t]=n[t];return As(t,n,null,i.children,0,s)}function q(t,n){const e=j(t);let i=t;const s="q-e:qvisible";return Fe(e,t=>{const e=!t;let r=null;for(const o in n)if(Object.prototype.hasOwnProperty.call(n,o)){let l=t,c=o;if(e){if(o!==s&&!o.startsWith("q-d:")&&!o.startsWith("q-w:"))continue;if(!r){const[t,n]=C(i);i=n,r=t}l=r}l&&("script"===l.type&&o===s&&(c="q-d:qinit"),R(l,c,n[o]))}return i})}function R(t,n,e){const i=t.constProps||={},s=i[n];null==s?i[n]=e:Array.isArray(s)?s.push(...e):i[n]=[s,...e],t.varProps[n]&&(Array.isArray(s)?s.push(...i[n]):t.varProps[n]=[s,...e],i[n]=void 0)}function j(t){const n=[t];for(;n.length;){const t=n.shift();if(qs(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(Vn(t))n.push(...t);else{if(Ie(t))return Fe(t,t=>j(t));if(Kl(t))return j(t.untrackedValue)}}return null}function C(t){if(qs(t)){const n=P();return t.type===Fs||Hc(t.type)?(null==t.children?t.children=n:Vn(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,Ps(Fs,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n||null==n){const n=P();return[n,Ps(Fs,null,null,[t,n],0,null)]}var n;if(Vn(t)&&t.length>0){const[n,e]=C(t[0]);return[n,t]}return[null,t]}function P(){return new ks("script",null,{hidden:""},null,null)}function A(t,n,e,i){if(null!=e){if(i){const i=(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(i)return void((t,n,e,i)=>{Ys||(Ys=t.setAttributeNS),Ys.call(t,n,e,i)})(t,i,n,e)}s=t,Hs||(Hs=s.setAttribute),Hs.call(s,n,e)}var s}function O(t){return!t.startsWith("q:")&&!t.startsWith(Ce)}function _(t,n,i,s=Uo(n,i)){const r=s.O,o=s.$;Er(r,o);let l=t;if(64&o.flags){let e;128&o.flags||(e=!0,o.flags|=128);const s=e?r._:null,c=Or(o,Re,s);if(null!==c)l=()=>t(n,i,c);else{const e=Or(o,je,s);null!==e&&(l=()=>t(n,i,...e))}}return e(()=>{if(!(32&o.flags))return Ht(s,l,[n,i])},t=>r.handleError(t,o))}function N(t,n){const e=Uo(t,n);return"string"==typeof this&&Oc(_c(e.O,this)),_(Ac[0],t,n,e)}function M(t){return t?t.nextSibling:null}function E(t,n,e,i,s,r){import.meta.env.TEST&&s&&_r(n,Me,s),_r(n,e,r),Tt(t,rr(n.node,e,i,s,!!(512&n.flags)))}function I(t,n,e){if(t.vParent=e,t.vNewNode=null,t.vCurrent=eo(e),W(t,n,!0),!(32&t.vParent.flags))for(;t.stack.length;){for(;t.jsxIdx<t.jsxCount;){if("string"==typeof t.jsxValue)lt(t,t.jsxValue);else if("number"==typeof t.jsxValue)lt(t,t.jsxValue+"");else if(t.jsxValue&&"object"==typeof t.jsxValue)if(qs(t.jsxValue)){const n=t.jsxValue.type;"string"==typeof n?(G(t),Z(t,t.jsxValue,n),t.jsxValue.constProps&&lr.call(t.jsxValue.constProps,Ne)||lr.call(t.jsxValue.varProps,Ne)?H(t,!1):D(t,t.jsxValue.children,!0)):"function"==typeof n&&(n===Fs?(G(t),it(t,"F",t.jsxValue.key),D(t,t.jsxValue.children,!0)):n===Ws?(G(t),z(t)||D(t,t.jsxValue.children,!0)):n===ft?(V(t),D(t,t.jsxValue.children,!0,!1)):n===zs||n===Vs?Y(t):(G(t),st(t,n)))}else if(Array.isArray(t.jsxValue))D(t,t.jsxValue,!1);else if(Kl(t.jsxValue)){it(t,"S",null);const n=t.jsxValue instanceof vs?t.jsxValue.N():t.jsxValue,e=t.vCurrent?.[gi]?.get(".")?.backRef;let i=e?.has(n);if(e&&n instanceof vs&&(i=mt(e,n)),!i){const e=t.vNewNode||t.vCurrent;D(t,T(t,()=>Qo(n,e,".",t.container)),!0)}}else Ie(t.jsxValue)&&(it(t,"A",null),t.asyncQueue.push(t.jsxValue,t.vNewNode||t.vCurrent));else t.jsxValue===Us||lt(t,"");F(t)}Y(t),B(t),L(t)}}function T(t,n){try{return n()}catch(i){if(Ie(i)){const s=i.then(()=>e(n));return t.asyncQueue.push(s,t.vNewNode||t.vCurrent),null}throw i}}function F(t){if(t.shouldAdvance){if(t.jsxIdx++,t.jsxIdx<t.jsxCount)t.jsxValue=t.jsxChildren[t.jsxIdx];else if(t.stack.length>0&&!1===t.stack[t.stack.length-1])return L(t);null!==t.vNewNode?t.vNewNode=null:t.vCurrent=M(t.vCurrent)}else t.shouldAdvance=!0}function D(t,n,e,i=!0){if(i&&(null==n||e&&Vn(n)&&0===n.length))H(t);else{if(W(t,n,e),e){const n=t.isCreationMode||!!t.vNewNode||!eo(t.vCurrent);t.isCreationMode=n,t.vSideBuffer=null,t.vSiblings=null,t.vSiblingsArray=null,t.vParent=t.vNewNode||t.vCurrent,t.vCurrent=eo(t.vParent),t.vNewNode=null}t.shouldAdvance=!1}}function L(t){t.stack.pop()&&(t.isCreationMode=t.stack.pop(),t.vSideBuffer=t.stack.pop(),t.vSiblings=t.stack.pop(),t.vSiblingsArray=t.stack.pop(),t.vNewNode=t.stack.pop(),t.vCurrent=t.stack.pop(),t.vParent=t.stack.pop()),t.jsxValue=t.stack.pop(),t.jsxCount=t.stack.pop(),t.jsxIdx=t.stack.pop(),t.jsxChildren=t.stack.pop(),F(t)}function W(t,n,e){t.stack.push(t.jsxChildren,t.jsxIdx,t.jsxCount,t.jsxValue),e&&t.stack.push(t.vParent,t.vCurrent,t.vNewNode,t.vSiblingsArray,t.vSiblings,t.vSideBuffer,t.isCreationMode),t.stack.push(e),Array.isArray(n)?(t.jsxIdx=0,t.jsxCount=n.length,t.jsxChildren=n,t.jsxValue=t.jsxCount>0?n[0]:null):void 0===n?(t.jsxIdx=0,t.jsxValue=null,t.jsxChildren=null,t.jsxCount=0):(t.jsxIdx=0,t.jsxValue=n,t.jsxChildren=null,t.jsxCount=1)}function U(t){return t.vNewNode?t.vCurrent:M(t.vCurrent)}function V(t){const n=t.jsxValue.key;t.vCurrent=Or(t.vParent,n,n=>Fr(t.container.rootVNode,n)),t.vCurrent=t.vCurrent&&32&t.vCurrent.flags?null:t.vCurrent,null==t.vCurrent&&(t.vNewNode=kr(),_r(t.vNewNode,te,n),t.vNewNode.slotParent=t.vParent,_r(t.vParent,n,t.vNewNode))}function z(t){const n=To(t.vParent),e=((t,n)=>{const e=t.jsxValue,i=e.constProps;if(i&&"object"==typeof i&&lr.call(i,"name")){const e=i.name;if(n&&e instanceof vs)return Qo(e,n,":",t.container)}return Qi(e,"name")||""})(t,n),i=n?Or(n,e,null):null;if(null==i)return t.vNewNode=kr(),_r(t.vNewNode,te,e),n&&_r(n,e,t.vNewNode),Hr(t.journal,t.vParent,t.vNewNode,t.vCurrent&&U(t)),!1;if(i===t.vCurrent);else{const s=i.parent;t.vNewNode=i,_r(t.vNewNode,te,e),n&&_r(n,e,t.vNewNode),Hr(t.journal,t.vParent,t.vNewNode,t.vCurrent&&U(t)),s&&qr(s)&&!s.firstChild&&Zr(s)===ye&&Xr(t.journal,s.parent,s,!0)}return!0}function B(t){if(t.vSideBuffer){for(const n of t.vSideBuffer.values())32&n.flags||(dt(t.container,t.journal,n,t.cursor),Xr(t.journal,t.vParent,n,!0));t.vSideBuffer.clear(),t.vSideBuffer=null}t.vCurrent=null}function Q(t){for(;t.asyncQueue.length;){const n=t.asyncQueue.shift(),e=t.asyncQueue.shift();if(Ie(n))return n.then(n=>(I(t,n,e),Q(t))).catch(n=>(t.container.handleError(n,e),Q(t)));I(t,n,e)}if(t.asyncAttributePromises.length){const n=t.asyncAttributePromises.splice(0);return Promise.all(n).then(()=>Q(t))}}function J(t){t.journal=null,t.cursor=null}function H(t,n=!0){const e=t.vCurrent&&eo(t.vCurrent);if(null!==e){let i=e;for(;i;)dt(t.container,t.journal,i,t.cursor),i=i.nextSibling;Kr(t.journal,t.vCurrent,e,n)}}function Y(t){if(null!==t.vCurrent)for(;t.vCurrent;){const n=t.vCurrent;t.vCurrent=M(t.vCurrent),t.vParent===n.parent&&(dt(t.container,t.journal,n,t.cursor),Xr(t.journal,t.vParent,n,!0))}}function G(t){if(null!==t.vCurrent&&Cr(t.vCurrent)){const n=t.vCurrent;t.vCurrent=M(t.vCurrent),Xr(t.journal,t.vParent,n,!0)}}function X(n,i,r,l){const c=((t,n)=>{const e=o(Gr(t.vParent,!0),n),i=import.meta.env.TEST?t.container.document:document,s=0===e.elementNamespaceFlag?i.createElement(n):i.createElementNS(e.elementNamespace,n);return t.vNewNode=vr(s,n),t.vNewNode.flags|=e.elementNamespaceFlag,s})(n,r),{constProps:u}=i;if(u)for(const i in u){let o=u[i];if(Ue(i))K(i,o,c,n.vNewNode,n);else{if("ref"===i){if(Kl(o)){o.value=c;continue}if("function"==typeof o){o(c);continue}if(null==o)continue;throw Qn(15,[l])}if(Kl(o)){const t=n.vNewNode,s=o;o=e(()=>Qo(s,t,i,n.container,n.subscriptionData.const))}if(Ie(o)){const t=n.vNewNode,e=o.then(e=>A(c,i,s(i,e,n.scopedStyleIdPrefix),!!(512&t.flags)));n.asyncAttributePromises.push(e);continue}if(i!==Ne)if("textarea"!==r||"value"!==i)A(c,i,s(i,o,n.scopedStyleIdPrefix),!!(512&n.vNewNode.flags));else{if(o&&"string"!=typeof o)continue;c.value=t(o||"")}else o&&(c.innerHTML=o+"",c.setAttribute(pe,"html"))}}const f=i.key;f&&(n.vNewNode.key=f),n.scopedStyleIdPrefix&&(lr.call(i.varProps,"class")||i.constProps&&lr.call(i.constProps,"class")||c.setAttribute("class",n.scopedStyleIdPrefix)),Vr(n.journal,n.vParent,n.vNewNode,n.vCurrent)}function K(t,n,e,i,s){const r=t.slice(2);if(Array.isArray(n)){const t=n,i=[];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&&i.push(_.bind(null,n))}else e&&i.push(_.bind(null,e))}i.length>0&&((e._qDispatch||={})[r]=i)}else n&&((e._qDispatch||={})[r]=[_.bind(null,n)]);"e"!==t.charAt(2)&&Nr(s.journal,i,t,""),((t,n)=>{const e=import.meta.env.TEST?t.container.document.defaultView:window;e&&(e._qwikEv||=[]).push(n)})(s,r)}function Z(t,n,e){if(t.isCreationMode)X(t,n,e,null);else{const i=t.vCurrent&&qr(t.vCurrent),s=i&&e===Zr(t.vCurrent),r=n.key;s&&r===(i&&t.vCurrent.key)?nt(t,e,r):et(t,e,r,tt(e,r),t.vParent)&&X(t,n,e,null)}const i=n.varProps;i&&((t,n,e,i)=>{t.isCreationMode||Er(t.container,n);const s=n.props;for(const r in e){const o=e[r];if(s&&lr.call(s,r)){const e=s[r];if(o!==e){if(o instanceof vs&&e instanceof vs&&yt(o,e))continue;ur(t,n,r,o,i)}}else null!=o&&ur(t,n,r,o,i)}if(s)for(const r in s)lr.call(e,r)||":"===r.charAt(0)||Ue(r)||ur(t,n,r,null,i)})(t,t.vNewNode||t.vCurrent,i,null)}function tt(t,n){return null==n?null:t?t+":"+n:n}function nt(t,n,e){const i=tt(n,e);return!(!i||!t.vSideBuffer?.has(i)||(t.vSideBuffer.delete(i),0))}function et(t,n,e,i,s,r){if(t.vNewNode=((t,n,e)=>{let i=null;if(null===t.vSiblings){const s=t.vCurrent;if(s){const i=qr(s)?Zr(s):null;if((ct(s)||ut(s,t.container._))===e&&i===n)return s}t.vSiblings=new Map,t.vSiblingsArray=[];let r=t.vCurrent;for(;r;){const s=qr(r)?Zr(r):null,o=ct(r)||ut(r,t.container._);null===i&&o==e&&s==n?i=r:null===o?t.vSiblingsArray.push(s,r):t.vSiblings.set(tt(s,o),r),r=r.nextSibling}}else if(null===e){for(let e=0;e<t.vSiblingsArray.length;e+=2)if(t.vSiblingsArray[e]===n){i=t.vSiblingsArray[e+1],t.vSiblingsArray.splice(e,2);break}}else{const s=tt(n,e),r=t.vSiblings.get(s);r&&(i=r,t.vSiblings.delete(s))}return((t,n)=>{if(!n){if(t.vCurrent){const n=qr(t.vCurrent)?Zr(t.vCurrent):null,e=ct(t.vCurrent)||ut(t.vCurrent,t.container._);if(null!=e){const i=tt(n,e);t.vSideBuffer||=new Map,t.vSideBuffer.set(i,t.vCurrent),t.vSiblings?.delete(i)}}return}let e=t.vCurrent;for(;e&&e!==n;){const n=qr(e)?Zr(e):null,i=ct(e)||ut(e,t.container._);if(null!=i){const s=tt(n,i);t.vSideBuffer||=new Map,t.vSideBuffer.set(s,e),t.vSiblings?.delete(s)}e=e.nextSibling}})(t,i),i})(t,n,e),t.vNewNode)return i||Hr(t.journal,s,t.vNewNode,t.vCurrent),t.vCurrent=t.vNewNode,t.vNewNode=null,!1;if(null!=i){const n=t.vSideBuffer?.get(i)||null;if(n){if(t.vSideBuffer.delete(i),r&&t.vCurrent){const n=ct(t.vCurrent)||ut(t.vCurrent,t.container._);if(null!=n){const e=tt(qr(t.vCurrent)?Zr(t.vCurrent):null,n);null!=e&&(t.vSideBuffer||=new Map,t.vSideBuffer.set(e,t.vCurrent))}}return n!==t.vCurrent&&Hr(t.journal,s,n,t.vCurrent),t.vCurrent=n,t.vNewNode=null,!1}}return!0}function it(t,n,e){const i="F"===n,s=ct(t.vCurrent);if(!t.vCurrent||!Pr(t.vCurrent)||s!==e||i&&!e)return null===e||t.isCreationMode?(zr(t.journal,t.vParent,t.vNewNode=kr(),t.vCurrent&&U(t)),void(t.vNewNode.key=e)):void(et(t,null,e,tt(null,e),t.vParent,!0)&&(zr(t.journal,t.vParent,t.vNewNode=kr(),t.vCurrent&&U(t)),t.vNewNode.key=e));nt(t,null,s)}function st(t,n){const e=n[Jc];let i=t.vNewNode||t.vCurrent;const s=t.jsxValue;if(e){const n=s.props;let r=!1;const[o]=e,l=o.M,c=ut(i,t.container._),u=s.key||l;if(u===(ct(i)||c)?l===c&&s.key?nt(t,null,u):(rt(t,i,o,n),i=t.vNewNode,r=!0):(et(t,null,u,u,t.vParent)&&(rt(t,i,o,n),r=!0),i=t.vNewNode||t.vCurrent),i){const e=Or(i,ke,t.container._);r||(r||=((t,n,e,i)=>{let s=!1;if(e){const t=at(n[Ei],e[Ei],e[Fi],i,!1);s||=t;const r=at(n[Ii],e[Ii],e[Fi],i,!0);s||=r,e[Ti]=n[Ti]}else n&&(_r(t,ke,n),e=n);return s})(i,n,e,t.container)),r&&(_r(i,Kn,o),i.flags&=-33,It(t.container,i,4,t.cursor))}((t,n,e)=>{const i=Array.isArray(n)?n:[n],s=t=>new ks(ft,null,null,[],t),r=[];if(e){const t=e.props;if(t)for(const n in t)O(n)&&Fn(r,n,s(n),0)}if(0!==r.length||null!=n){for(let t=0;t<i.length;t++){const n=i[t],e=(qs(n)&&Qi(n,te)||"")+"",o=Tn(r,e,0);let l;o>=0?l=r[o+1]:r.splice(~o,0,e,l=s(e)),!1===n||l.children.push(n)}for(let t=r.length-2;t>=0;t-=2)r.splice(t,1);D(t,r,!0)}})(t,s.children,i)}else{const e=s.key,r=e===ct(i),o=ut(i,t.container._);if(i&&null!=o||null==e?(ot(t),i=t.vNewNode):r?nt(t,null,e):(et(t,null,e,e,t.vParent)&&ot(t),i=t.vNewNode||t.vCurrent),i){let e=i;for(;e&&(!Pr(e)||null===Or(e,Kn,null));)e=e.parent||To(e);const r=Ls(t.container,i,e||t.container.rootVNode,n,s.props);t.asyncQueue.push(r,i)}}}function rt(t,n,e,i){n&&y(t.container,n),zr(t.journal,t.vParent,t.vNewNode=kr(),t.vCurrent&&U(t));const s=t.jsxValue;_r(t.vNewNode,Kn,e),_r(t.vNewNode,ke,i),t.vNewNode.key=s.key}function ot(t){zr(t.journal,t.vParent,t.vNewNode=kr(),t.vCurrent&&U(t));const n=t.jsxValue;_r(t.vNewNode,ke,n.props),n.key&&(t.vNewNode.key=n.key)}function lt(t,n){if(null!==t.vCurrent&&3===Eo(t.vCurrent))return n!==to(t.vCurrent)?void no(t.journal,t.vCurrent,n):void 0;Vr(t.journal,t.vParent,t.vNewNode=Sr((import.meta.env.TEST?t.container.document:document).createTextNode(n),n),t.vCurrent)}function ct(t){return null==t||Cr(t)?null:t.key}function ut(t,n){if(null==t||Cr(t))return null;const e=Or(t,Kn,n);return e?e.M:null}function ft(){}function at(t,n,e,i,s=!0){if(ht(t)&&ht(n))return!1;e.O=i;let r=!1;if(t)for(const i in t)if("children"!==i&&i!==le&&(!n||t[i]!==n[i])){if(!s)return!0;n&&(n[i]=t[i]),Bi(e,i)||(r=!0)}if(n)for(const i in n)"children"===i||i===le||t&&lr.call(t,i)||!s||(delete n[i],Bi(e,i)||(r=!0));return r}function ht(t){return!t||li(t)}function dt(t,n,e,i=null){let s=e;if(Cr(e))return void $t(s);let r=null;for(;;){const o=s.flags;if(3&o){if(y(t,s),$t(s),2&o&&null!==Or(s,Kn,null)){const e=t.getHostProp(s,xe);if(e)for(let n=0;n<e.length;n++){const r=e[n];if(Un(r)){const n=Gl(r);if(n&&1&r.R){r.R|=16,It(t,s,64,i);continue}(r instanceof Ni||hc(r))&&y(t,r),(n||r instanceof ss)&&or(r)}}const r=s.props;if(r)for(const e of Object.keys(r))if(O(e)){const s=r[e];if(s){r[e]=null;const o="string"==typeof s?Fr(t.rootVNode,s):s;let l=eo(o);for(;l;)dt(t,n,l,i),l=l.nextSibling;pt(n,o)}}}if(Ar(s)){if(s===e){const t=eo(s);if(t)return void Lt(t,()=>{})}}else{const t=eo(s);if(t){s=t;continue}}}else 4&o&&$t(s);if(s===e)return;const l=s.nextSibling;if(l)s=l;else{for(r=s.parent;r;){if(r===e)return;const t=r.nextSibling;if(t){s=t;break}r=r.parent}if(null==r)return}}}function pt(t,n){const e=n.parent;e&&1&e.flags&&Zr(e)===ye&&Xr(t,e,n,!0)}function $t(t){t.flags|=32}function yt(t,n){return t===n||n.T===t.T&&((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.D,t.D)}function mt(t,n){if(!(n instanceof vs))return!1;for(const e of t)if(e instanceof vs&&yt(e,n))return!0;return!1}function wt(t,n,e){t.dirty&=-2;const i=n.getHostProp(t,xe);if(!i||0===i.length)return;let s;for(const r of i)if(r instanceof Yl){const i=r;if(!(4&i.R))continue;if(1&i.R)(e.afterFlushTasks||=[]).push(i);else{const r=!!(8&i.R),o=Hl(i,n,t);Ie(o)&&(r?s=s?s.then(()=>o):o:(e.extraPromises||=[]).push(o))}}return s}function bt(t,n,e,i){t.dirty&=-3;const s=t;let r=(t=>{const n=t.props;return n?.[Oi]})(t);if(r)return Kl(r)&&(r=r.value),cr(n,e,r,s,i,null)}function vt(t,n,i,s){t.dirty&=-5;const r=t,o=n.getHostProp(r,Kn);if(!o)return;const l=n.getHostProp(r,ke)||null,c=Te(()=>Ls(n,r,r,o,l),t=>{const o=n.getHostProp(r,re);return e(()=>cr(n,i,t,r,s,We(o)))},t=>{n.handleError(t,r)});return Ie(c)?c:void 0}function gt(t,n,e,i,s,r=null){n.push(rr(t.node,e,i,r,!!(512&t.flags))),s||(t.props&&null==i?delete t.props[e]:(t.props||={})[e]=i)}function St(t,n){if(t.dirty&=-9,!(1&t.flags))return;const e=(t=>(t.props||={})[Ai]??null)(t);if(!e||0===e.size)return;const i=t;for(const[t,s]of e.entries()){let e=s.value;Kl(e)&&(e=e.value),gt(i,n,t,e,s.isConst,s.scopedStyleIdPrefix)}(t=>{delete(t.props||={})[Ai]})(t)}function kt(t,n){t.dirty&=-65;const e=n.getHostProp(t,xe);if(e&&0!==e.length)for(const t of e)t instanceof Yl&&16&t.R&&(t.R&=-17,or(t))}function xt(t,n){t.dirty&=-17;const i=n.getHostProp(t,_i);if(!i)return;const s=i.p,r=Gt();return r.O=n,Fe(e(()=>Jt.call(i,r,i.j)),()=>{if(2&i.R)return i.R&=-3,ec(n,i,s)})}function qt(){mr||(mr=!0,pr())}function Rt(){mr||(mr=!0,yr())}function jt(t={timeBudget:1e3/60}){mr=!1;let n=null;for(;n=c();)Ct(n,t)}function Ct(t,n){const{timeBudget:e}=n,i=import.meta.env.TEST?$i():On,s=performance.now(),r=d(t);if(r.promise)return;const o=r.container;if(!t.dirty)return void Pt(o,t,r,i);const l=r.journal||=[];let c=null;for(;c=r.position;){if(r.promise)return;if(!(127&c.dirty)){h(o,r,_t(c,t));continue}if(32&c.flags){if(64&c.dirty)kt(c,o);else if(32&c.dirty){const n=Ot(o,r,c,t);if(null!==n){c=n;continue}}c.dirty&=-128,h(o,r,_t(c,t));continue}let n;try{if(1&c.dirty)n=wt(c,o,r);else if(2&c.dirty)n=bt(c,o,l,t);else if(4&c.dirty)n=vt(c,o,l,t);else if(8&c.dirty)St(c,l);else if(16&c.dirty)n=xt(c,o);else if(32&c.dirty){const n=Ot(o,r,c,t);if(null!==n){c=n;continue}}}catch(t){o.handleError(t,c)}if(n&&Ie(n)){r.promise=n,u(t,o);const e=c;return void n.catch(t=>{o.handleError(t,e)}).finally(()=>{r.promise=null,f(t,o),qt()})}if(!i&&!import.meta.env.TEST&&performance.now()-s>=e)return void Rt()}Pt(o,t,r,i)}function Pt(t,n,e,i){if(!(127&n.dirty)){if(a(n,t),i||((t,n)=>{const e=d(t),i=e.journal;i&&i.length>0&&((t=>{let n=null,e=null,i=null;const r=new Set,o=()=>{if(i){if(1===i.length)ar(n,i[0],e);else{const t=(n.ownerDocument||n).createDocumentFragment();for(let n=0;n<i.length;n++)t.appendChild(i[n]);ar(n,t,e)}i=null,n=null,e=null,r.clear()}};for(let l=0;l<t.length;l++){const c=t[l];if(c instanceof tr){if(n===c.parent&&e===c.beforeTarget){i||(i=[]),i.push(c.target),r.add(c.target);continue}if(!i){n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}if(n===c.parent){o(),n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}if(r.has(c.target)||e&&c.target===e||n&&c.target===n){o(),n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}ar(c.parent,c.target,c.beforeTarget)}else if(c instanceof Xs)(r.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.remove();else{if(c instanceof Ks){(r.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.textContent="";continue}if(c instanceof Zs)c.target.nodeValue=c.text;else if(c instanceof nr){const t=c.target,e=c.attrName,i=c.attrValue,r=null!=i?s(e,i,c.scopedStyleIdPrefix):null,l=null==r||!1===r;hr(t,e)?t[e]=dr(r):e===Ne?(n===t&&o(),t.innerHTML=r,t.setAttribute(pe,"html")):l?t.removeAttribute(e):"value"===e&&e in t?t.value=r:A(t,e,r,c.isSvg)}}}o()})(i),e.journal=null),((t,n)=>{const e=n.afterFlushTasks;if(!e||0===e.length)return void(n.afterFlushTasks=null);let i;for(const n of e){const e=Hl(n,t,n.L);Ie(e)&&(i=i?i.then(()=>e):e)}i&&(n.extraPromises||=[]).push(i),n.afterFlushTasks=null})(n,e)})(n,t),e.extraPromises)return void Promise.all(e.extraPromises).then(()=>{At(t)});At(t)}}function At(t){t.W()}function Ot(t,n,e,i){const s=e.dirtyChildren;if(!s||0===s.length)return e.dirty&=-33,null;((t,n)=>{let e=0;for(let i=0;i<t.length;i++){const s=t[i];if(s.parent===n){if(e!==i){const n=t[e];t[e]=s,t[i]=n}e++}}})(s,e),e.nextDirtyChildIndex=0;const r=_t(s[0],i);return h(t,n,r),r}function _t(t,n){if(t===n)return 127&n.dirty?n:null;let e=null;if(t.parent&&32&t.parent.dirty?e=t.parent:t.slotParent&&32&t.slotParent.dirty&&(e=t.slotParent),!e)return 127&n.dirty?n:null;const i=e.dirtyChildren;let s=e.nextDirtyChildIndex;const r=i.length;let o=r;for(;o-- >0;){const t=i[s];if(127&t.dirty)return e.nextDirtyChildIndex=(s+1)%r,t;s++,s===r&&(s=0)}return e.dirty&=-33,e.dirtyChildren=null,e.nextDirtyChildIndex=0,_t(e,n)}function Nt(t){return!!(256&t.flags)}function Mt(t,n){if(!(1&n.flags))return 8&n.dirty&&((t,n)=>{n.dirty&=-9;const e=n.getProp(Ai);if(e&&0!==e.size)for(const[i,r]of e.entries()){let e=r.value;Kl(e)&&(e=e.value);const o=s(i,e,r.scopedStyleIdPrefix);t.addBackpatchEntry(n.id,i,o)}})(t,n),16&n.dirty&&xt(n,t),127&n.dirty&&En(`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&=-128);let e=null;if(1&n.dirty){const i=((t,n)=>{n.dirty&=-2;const e=n.getProp(xe);if(!e||0===e.length)return null;let i=null;for(const s of e)if(s instanceof Yl){const e=s;if(!(4&e.R))continue;const r=Hl(e,t,n);i=i?i.then(()=>r):r}return i})(t,n);Ie(i)&&(e=i)}return n.dirty&=-124,e||void 0}function Et(t){for(let n=0;n<wr.length;n++){const e=wr[n],i=wr[n+1]||t;i.dirty|=32,i.dirtyChildren||=[],i.dirtyChildren.push(e)}}function It(t,n,e,i=null){const s=n.dirty;if(n.dirty|=e,import.meta.env.TEST?$i():On){const e=Mt(t,n);return void(Ie(e)&&(t.l=t.l?t.l.then(()=>e):e))}const r=127&e;if((r?127&s:s)||n===i)return;const o=n.parent||n.slotParent;if(i&&r&&o&&!o.dirty)((t,n)=>{wr.push(t);let e=t.parent||t.slotParent;for(;e;){const i=127&e.dirty,s=Nt(e);if(e===n||i){if(Et(e),s){const n=d(e);n.position!==e&&(n.position=t)}return void(wr.length=0)}if(s){const n=d(e);n.position!==e&&(n.position=t)}wr.push(e),e=e.parent||e.slotParent}wr.length=0,(()=>{throw In(!1,"Cursor root not found in current path!")})()})(n,i);else if(o&&127&o.dirty){if(r&&(o.dirty|=32),o.dirtyChildren||=[],o.dirtyChildren.push(n),r&&n.dirtyChildren){const t=(t=>{for(;t;){if(Nt(t))return t;t=t.parent||t.slotParent}return null})(n);if(t){const e=d(t);let i=e.position;if(i)for(;i!==t;)if(i=i.parent||i.slotParent,i===n){e.position=n;break}}}}else Nt(n)||(t=>{wr.push(t);let n=t.parent||t.slotParent;for(;n;){if(Nt(n))return Et(n),wr.length=0,!0;wr.push(n),n=n.parent||n.slotParent}return wr.length=0,!1})(n)||((t,n)=>{Pi.set(n,{afterFlushTasks:null,extraPromises:null,journal:null,container:t,position:n,priority:0,promise:null});const e=n;e.flags|=256,l(t,e),qt()})(t,n)}function Tt(t,n){t.push(n)}function Ft(t,n,e,i){const s=t.value,r=n.slice(2),o=s.split("|").map(t=>{const n=Zt(t);return n.O=e,n});(i._qDispatch||={})[r]=o}function Dt(t,n,e){let i=eo(n);for(;i;)Cr(i)?(Tr(t,i),e(i,n)):qr(i)?e(i,n):Dt(t,i,e),i=i.nextSibling}function Lt(t,n){let e=t;if(Cr(t))return;let i=null;for(;;){if(n?.(e,i))return;const s=eo(e);if(s){e=s;continue}if(e===t)return;const r=e.nextSibling;if(r)e=r;else{for(i=e.parent;i;){if(i===t)return;const n=i.nextSibling;if(n){e=n;break}i=i.parent}if(null==i)return}}}function Wt(t,n,e,i){for(;t;){if(t.nodeValue?.startsWith(n))return e.call(t)||null;let s=i.call(t);s||(s=e.call(t)),s||(s=$o(t),s&&(s=e.call(s))),t=s}return null}function Ut(t,n,e){t[gi]?((t,n)=>{for(const[e,i]of n)t.set(e,i)})(t[gi],e._(n)):Object.defineProperty(t,gi,{get(){const i=e._(n);return t[gi]=i,i},set(n){Object.defineProperty(t,gi,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}function Vt(t=20,n="",e=!1,i=!1,s=!0,r=null){if(this&&!r)try{r=(()=>{let t=this;for(;t;){if(qr(t)){const n=pn(t.node);return n?dn(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(Cr(o))l.push(yn(to(o)));else if(Pr(o)){const e=["["+(o.flags>>>11)+"]"];o.dirty&&e.push(" dirty:"+o.dirty),r&&Co(r,o).forEach(t=>{if(t!==Yn&&t!==Me){const n=Or(o,t,null);e.push(" "+t+"="+yn(n))}});const i=(s?"":"")+(Gn[Or(o,Yn,null)||"V"]||Gn.V)+(s?"":"");l.push("<"+i+e.join("")+">");const c=eo(o);c&&l.push(" "+Vt.call(c,t-1,n+" ",!0,!0,s)),l.push("</"+i+">")}else if(qr(o)){const i=Zr(o),c=[];Nt(o)&&c.push(" cursor"),o.dirty&&c.push(" dirty:"+o.dirty),o.dirtyChildren&&c.push(` dirtyChildren[${o.dirtyChildren.length}]`);const u=r?Co(r,o):[];for(const t of u){const n=Or(o,t,null);c.push(" "+t+"="+yn(n))}const f=Oo(o);if(f){const t=ko(f).qVNodeData?.get(f);t&&c.push(" q:vnodeData="+yn(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?"="+yn(n.value):""))}if(l.push("<"+i+c.join("")+">"),jr(o)||e){const e=eo(o);e&&l.push(" "+Vt.call(e,t-1,n+" ",!0,!0,s))}else l.push(" \x3c!-- not materialized --!>");l.push("</"+i+">")}o=i&&o.nextSibling||null}while(o);return l.join("\n"+n)}function zt(t){return!qo(t)||xo(t)}function Bt(t){if(void 0===Fo){const n=Lo();if(n&&n.U)return n.U;if(void 0!==t)return t;throw Error("Reading `locale` outside of context.")}return Fo}function Qt(t,n){const e=Fo;try{return Fo=t,n()}finally{Fo=e}}function Jt(t,n,...e){return Ht.call(this,t,n,e)}function Ht(t,n,e){const i=Do;try{return Do=t,n.apply(this,e)}finally{Do=i}}function Yt(t,n,e){const i={$:n,B:ve,J:void 0,U:t,O:e,H:void 0};return Mn(i),i}function Gt(t,n,e){const i={$:n,B:e,J:void 0,U:t||(e&&Un(e)&&"locale"in e?e.locale:void 0),O:void 0};return Mn(i),i}function Xt(t,n,e){let i=n.Y,s=n.G;const r=pi();if(r){const t=r.chunkForSymbol(i,s);t&&(s=t[1],i=t[0])}var o;if(Hn(o=n)&&o.Y==Jn)s="",i=t.X(null,0,n.resolved)+"";else{if(s||(s=t.K(n.M)),!s)throw Qn(14,[n.Y]);s.startsWith("./")&&(s=s.slice(2))}const l=n.getCaptured();let c=null;if(l&&l.length>0&&(c=l.map(n=>""+t.Z(n)).join(" ")),e)return[s,i,c];let u=`${s}#${i}`;return c&&(u+="#"+c),u}function Kt(t,n,e){return Ec(t,n,null,null,e)}function Zt(t){const[n,e,i]=t.split("#");return Kt(n,e,i||null)}function tn(t,n){return n?t.rootVNode?Fr(t.rootVNode,n):void 0:t.element?.ownerDocument}function nn(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function en(t,n){return n.tt&&"{"===n.tt[0]&&(n.tt=`(${n.tt})`),[t.X(n.tt,n.D.length,n.T),n.D]}function sn(t){let n;if(t)for(const[e,i]of t)i.backRef&&(n||=new Map,n.set(e,i));return n}function rn(t){return Object.prototype.hasOwnProperty.call(t,le)?t[le]:void 0}function on(t,n,e){return()=>{t.currentStyleScoped=n,t.parentComponentFrame=e}}async function ln(t,n,i){const s=[n],r=t=>s.push(t);await(async()=>{for(;s.length;){const n=s.pop();if(n===Pl){const t=s.pop();await e(()=>s.push(t()));continue}"function"!=typeof n?cn(t,r,n,i):n===Promise?s.push(await s.pop()):await n.apply(t)}})()}function cn(t,n,e,i){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(Kl(e)){((t,n)=>{const e=n instanceof vs?n.N():n;e instanceof ss&&e.nt>0&&(t.Z(e),t.et.add(e))})(t.serializationCtx,e),t.openFragment(Ui);const i=t.getOrCreateLastNode(),s=e instanceof vs?e.N():e;n(t.closeFragment),n(()=>Qo(s,i,".",t)),n(Pl)}else if(Ie(e))t.openFragment(Ui),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 ln(t,n,{currentStyleScoped:i.currentStyleScoped,parentComponentFrame:i.parentComponentFrame}),t.streamHandler.flush()});else{const s=e,r=s.type;if("string"==typeof r){((t,n)=>{null==Qi(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")})(s,i.currentStyleScoped);const e=t.openElement(r,s.key,s.varProps,s.constProps,i.currentStyleScoped,null);e&&t.htmlNode(e),n(t.closeElement),"head"===r?(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),n(t.additionalHeadNodes)):"body"===r?n(t.additionalBodyNodes):t.isHtml||t._didAddQwikLoader||(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),t._didAddQwikLoader=!0);const o=s.children;null!=o&&n(o)}else if(Bn(r))if(r===Fs){t.openFragment(null!=s.key?{[Se]:s.key}:{}),n(t.closeFragment);const e=s.children;null!=e&&n(e)}else if(r===Ws){const e=i.parentComponentFrame;if(e){const r={};r["q:sparent"]=e.componentNode.id||"",t.openProjection(r);const o=e.componentNode,l=t.getOrCreateLastNode(),c=((t,n,e)=>{const i=n.constProps;if(i&&"object"==typeof i&&"name"in i){const n=i.name;if(n instanceof vs)return Qo(n,t,":",e)}return Qi(n,"name")||ge})(o,s,t);r[te]=c,n(on(i,i.currentStyleScoped,i.parentComponentFrame)),n(t.closeProjection);const u=s.children||null,f=e.consumeChildrenForSlot(l,c)||u;u&&f!==u&&t.addUnclaimedProjection(e,ge,u),n(f),n(on(i,e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(Ui),t.closeFragment()}else if(r===zs)t.commentNode(Qi(s,"data")||"");else if(r===Qs){t.streamHandler.flush();const e=s.children;let r;r=Bn(e)?e({async write(n){await ln(t,n,{currentStyleScoped:i.currentStyleScoped,parentComponentFrame:i.parentComponentFrame}),t.streamHandler.flush()}}):e,n(r),Ie(r)&&n(Promise)}else if(r===Vs)t.htmlNode(Qi(s,"data"));else if(r===Bs)t.streamHandler.streamBlockStart(),n(()=>t.streamHandler.streamBlockEnd()),n(s.children);else if(Hc(r)){t.openComponent({});const e=t.getOrCreateLastNode(),o=t.getParentComponentFrame();o.distributeChildrenIntoSlots(s.children,i.currentStyleScoped,i.parentComponentFrame);const l=((t,n,e)=>{const i=t.getOrCreateLastNode(),[s]=e[Jc],r=n.props;return r&&r.children&&delete r.children,i.setProp(Kn,s),i.setProp(ke,r),null!==n.key&&i.setProp(Se,n.key),Ls(t,i,i,s,r)})(t,s,r);if(n(on(i,i.currentStyleScoped,i.parentComponentFrame)),n(t.closeComponent),Ie(l))n(async()=>{const t=await l,s=We(e.getProp(re));n(t),n(on(i,s,o))});else{n(l);const t=We(e.getProp(re));n(on(i,t,o))}}else{t.openFragment({[Se]:s.key}),n(t.closeFragment);const e=t.getParentComponentFrame(),i=((t,n,e,i)=>{const s=t.getOrCreateLastNode();return Ls(t,s,n,e,i.props)})(t,e&&e.componentNode,r,s);n(i),Ie(i)&&n(Promise)}}}function un(t,n,e,i){let s=null;const r=e,o=t=>{s=(null==s?"":s+"|")+t},l=n=>(n.Y.startsWith("_")||!n.it?.length&&!i||(n=Ec(null,"_run",N,null,[n])),Xt(t,n));if(Array.isArray(r))for(let e=0;e<r.length;e++){const s=r[e];if(Hn(s))o(l(s)),fn(t,n,s);else if(null!=s){const e=un(t,n,s,i);e&&o(e)}}else Hn(r)&&(s=l(r),fn(t,n,r));return s}function fn(t,n,e){const i=[(s=n).charAt(2),s.substring(4)];var s;if(i){const[n,s]=i,r=((t,n)=>t+":"+n)(n,s);t.st.add(r),t.rt.add(e)}}function an(t,n,e){if(0===n)return e;const i=ul(t,n,e);return Fl(n)&&Il(t,i,n,e),i}function hn(t){const n=pn(t);if(!n)throw Qn(24);return dn(n)}function dn(t){const n=t;return n.qContainer||=new Ql(n)}function pn(t){return t.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}function $n(t,n){const e=hn(n);"string"==typeof this&&Oc(_c(e,this));const i=Ac[0];i.R|=4,It(e,i.L,1)}function yn(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(Gl(t))return`Task(${yn(t.ot)})`;if(Hn(t))return`Qrl(${t.Y})`;if("object"==typeof t||"function"==typeof t){if(rc.includes(t))return"*";try{if(rc.push(t),Array.isArray(t))return xr(t)?"("+(Or(t,Yn,null)||"vnode")+")":t.map(yn);if(Kl(t))return t instanceof vs?"WrappedSignal":t instanceof es?"ComputedSignal":"Signal";if(hc(t))return"Store";if(qs(t))return oc(t);if(xr(t))return"("+(Or(t,Yn,null)||"vnode")+")"}finally{rc.pop()}}}catch(t){return console.error("ERROR in qwikDebugToString",t),"*error*"}return t}function mn(t,n,e){return new Proxy(n,new pc(e,t||null))}function wn(t,n,e,i){const s=e.p||=new Map;let r=s.get(n);r||(r=new Set,s.set(n,r)),Zl(r,i),tc(i,t),(import.meta.env.TEST?!Bl(e.O):On)&&nc(i,e.O)}function bn(t,n,e,i){e[t]=n;const s=vn(e,t,i.p);s&&ec(i.O,i,s)}function vn(t,n,e){let i;if(e)if(Array.isArray(t))for(const t of e.values()){i||=new Set;for(const n of t)i.add(n)}else i=e.get(n);const s=e?.get(ts);if(s){i||=new Set;for(const t of s)i.add(t)}return i}function gn(t,n){const e=(t,n)=>1===t&&"string"==typeof n,i=t=>14===t,s=n=>{const e=t[n+1].split(" ");let i=t,s=1,r=0,o=0,l=null;for(let n=0;n<e.length;n++)if(l=i,r=2*parseInt(e[n],10),o=r+1,s=i[r],i=i[o],1===s){const n=2*i;s=t[n],i=t[n+1]}l&&(l[r]=1,l[o]=n/2),t[n]=s,t[n+1]=i};for(let r=0;r<t.length;r+=2)e(t[r],t[r+1])?s(r):i(t[r])&&(n.lt=t[r+1])}async function Sn(t){const n=jl(null,null,()=>"",()=>{},new WeakMap);return n.Z(t),await n.ct(),""+n.ut}function kn(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={_:t=>xn(t,n),getSyncFn:()=>()=>{},h:new WeakMap,element:null,lt:null};return gn(t,e),n=Wl(e,t),e.ft=n,e})(n);return an(e,n[0],n[1])}function xn(t,n){return"string"==typeof t?n[t=parseInt(t,10)]:n[t]}function qn(t,n,e){const i=(...s)=>t.resolved?e&&!1===e()?void 0:Ht.call(this,n,t.resolved,s):t.resolve().then(t=>{if(!Bn(t))throw Qn(5);return i(...s)});return i}function Rn(){return this.Y}function jn(){return this.M}function Cn(){return Nc(this),this.it}function Pn(t,n){const e=Lo();return e?.O?.ht[t]??n}import{p as An}from"@qwik.dev/core/preloader";const On=!1,_n=!0,Nn=!1,Mn=()=>{},En=()=>{},In=(t,n,...e)=>{const i=n instanceof Error?n:Error(n);return console.error("%cQWIK ERROR","",i.message,...e,i.stack),t&&setTimeout(()=>{throw i},0),i},Tn=(t,n,e)=>{let i=e>>1,s=t.length-2>>1;for(;i<=s;){const e=i+(s-i>>1),r=t[e<<1];if(r===n)return e<<1;r<n?i=e+1:s=e-1}return~(i<<1)},Fn=(t,n,e,i,s=!1)=>{const r=Tn(t,n,i);r>=0?null!=e||s?t[r+1]=e:t.splice(r,2):(null!=e||s)&&t.splice(-1^r,0,n,e)},Dn=(t,n,e)=>{const i=Tn(t,n,e);return i>=0?t[i+1]:null},Ln=(t,n,e)=>Tn(t,n,e)>=0,Wn=t=>{const n=Object.getPrototypeOf(t);return n===Object.prototype||n===Array.prototype||null===n},Un=t=>"object"==typeof t&&null!==t,Vn=t=>Array.isArray(t),zn=t=>"string"==typeof t,Bn=t=>"function"==typeof t,Qn=(t,n=[])=>{const e=((t,...n)=>`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)=>In(false,t,...n))(e,...n)},Jn="<sync>",Hn=t=>"function"==typeof t&&"function"==typeof t.getSymbol,Yn="q:type",Gn={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},Xn=124,Kn="q:renderFn",Zn="⚡️",te="q:slot",ne="q:s",ee="q:style",ie="style[q\\:style]",se=ie+",style[q\\:sstyle]",re="q:sstyle",oe="q:ctx",le="q:brefs",ce=(t,n)=>t["qFuncs_"+n]||[],ue="q:base",fe="q:container-island",ae="/"+fe,he="q:ignore",de="/"+he,pe="q:container",$e="/"+pe,ye="q:template",me="http://www.w3.org/1999/xhtml",we="http://www.w3.org/2000/svg",be="http://www.w3.org/1998/Math/MathML",ve="qRender",ge="",Se="q:key",ke="q:props",xe="q:seq",qe="q:seqIdx",Re="q:p",je="q:ps",Ce=":",Pe=":on",Ae=":onIdx",Oe=":onFlags",_e=":",Ne="dangerouslySetInnerHTML",Me="__scopedStyleIdPrefix__",Ee=100,Ie=t=>!!t&&"object"==typeof t&&"function"==typeof t.then,Te=(t,n,e)=>{try{const i=t();return Ie(i)?i.then(n,e):n(i)}catch(t){return e(t)}},Fe=(t,n)=>Ie(t)?t.then(n):n(t),De=t=>{throw t},Le=t=>Zn+t,We=t=>{if(t){let n=0;do{t=t.substring(0,n)+Le(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},Ue=t=>113===t.charCodeAt(0)&&45===t.charCodeAt(1)&&58===t.charCodeAt(3),Ve=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),ze=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"]),Be=(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)},Qe=t=>{if(!t)return"";if(zn(t))return t.trim();const n=[];if(Vn(t))for(const e of t){const t=Qe(e);t&&n.push(t)}else for(const[e,i]of Object.entries(t))i&&n.push(e.trim());return n.join(" ")},Je=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),He=(t,n)=>"number"!=typeof n||0===n||ze.has(t)?n:n+"px",Ye=document,Ge=Ye.createElement("link").relList.supports("modulepreload")?"modulePreload":"preload",Xe=/\.[mc]?js$/,Ke=t=>{let n=Ze.get(t);if(!n){let e;n=((t,n)=>({dt:t,ft:Xe.test(t)?0:3,$t:n,yt:1,wt:Date.now(),bt:0,vt:0}))(t,e),Ze.set(t,n)}return n},Ze=new Map;let ti=0;const ni=[],ei=()=>{if(ni.length)for(;ni.length;){const t=ni[0];if(!(1-t.yt>=.99||ti<5))break;ni.shift(),ii(t)}},ii=t=>{if(t.ft>=2)return;ti++;const n=Date.now();t.bt=n-t.wt,t.ft=2;const e=Ye.createElement("link");e.href=""+new URL("undefined"+t.dt,Ye.baseURI),e.rel=Ge,e.as="script",e.onload=e.onerror=()=>{ti--;const i=Date.now();t.vt=i-n,t.ft=4,e.remove(),ei()},Ye.head.appendChild(e)},si=(t,n,e)=>{if(e?.has(t))return;const i=t.yt;if(t.yt=n,!(i-t.yt<.01)&&t.$t){e||=new Set,e.add(t);const n=1-t.yt;for(const i of t.$t){const t=Ke(i.dt);if(0===t.yt)continue;let s;if(1===n||n>=.99&&oi<100)oi++,s=Math.min(.01,1-i.gt);else{const e=(1-i.gt*n)/i.St;s=Math.max(.02,t.yt*e),i.St=e}si(t,s,e)}}},ri=(t,n)=>{const e=Ke(t);e&&e.yt>n&&si(e,n)};let oi;document.addEventListener("qsymbol",t=>{const{symbol:n,href:e}=t.detail;e&&(t=>{if(!t?.length)return;oi=0;let n=0;if(Array.isArray(t))for(let e=t.length-1;e>=0;e--){const i=t[e];"number"==typeof i?n=1-i/10:ri(i,n)}else ri(t,n);ei()})(n.slice(n.lastIndexOf("_")+1))});const li=t=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n))return!1;return!0},ci=",",ui="2.0.0-beta.24-dev+314726b",fi=()=>({isServer:On,importSymbol(t,n,e){if(!n)throw Qn(14,[e]);if(!t)throw Qn(13,[n,e]);const i=""+ai(t.ownerDocument,t,n),s=new URL(i);return s.hash="",import(s.href).then(t=>t[e])},raf:t=>new Promise(n=>{requestAnimationFrame(()=>{n(t())})}),chunkForSymbol:(t,n)=>[t,n??"_"]}),ai=(t,n,e)=>{const i=t.baseURI,s=new URL(n.getAttribute(ue)??i,i);return new URL(e,s)};let hi=/*#__PURE__ */fi();const di=t=>hi=t,pi=()=>hi,$i=()=>!1,yi=t=>1===t.nodeType,mi=t=>"foreignObject"===t,wi=t=>"svg"===t||mi(t),bi=t=>"math"===t,vi={elementNamespace:me,elementNamespaceFlag:0},gi=Symbol();class Si{[gi]=void 0}class ki{flags;parent;previousSibling;nextSibling;props;[gi]=void 0;slotParent=null;dirty=0;dirtyChildren=null;nextDirtyChildIndex=0;constructor(t,n,e,i,s){this.flags=t,this.parent=n,this.previousSibling=e,this.nextSibling=i,this.props=s}toString(){return Object.prototype.toString.call(this)}}class xi extends ki{key;firstChild;lastChild;constructor(t,n,e,i,s,r,o,l){super(n,e,i,s,r),this.key=t,this.firstChild=o,this.lastChild=l}}class qi extends xi{node;elementName;constructor(t,n,e,i,s,r,o,l,c,u){super(t,n,e,i,s,r,o,l),this.node=c,this.elementName=u}}class Ri extends ki{node;text;constructor(t,n,e,i,s,r,o){super(t,n,e,i,s),this.node=r,this.text=o}}const ji=[],Ci=[],Pi=new WeakMap,Ai=":nodeProps",Oi=":nodeDiff",_i=":signal";class Ni{kt;p=void 0;O=null;xt=null;constructor(t,n){this.O=t||Lo()?.O||null,this.kt=n}trigger(){ec(this.O,this,this.p)}force(){ec(this.O,this,this.p)}get untrackedValue(){return this.kt}set untrackedValue(t){this.kt=t}get value(){const t=this.untrackedValue,n=Lo();if(!n)return t;null===this.O&&(this.O=n.O);const e=n.J;return e&&(Zl(this.p||=new Set,e),tc(e,this),(import.meta.env.TEST?!Bl(this.O):On)&&nc(e,this.O)),t}set value(t){t!==this.kt&&(this.kt=t,ec(this.O,this,this.p))}valueOf(){}toString(){return this.constructor.name}toJSON(){return{value:this.kt}}}const Mi=(t,n,e)=>{const i=Lo();if(i&&(t.O||=i.O||null)){const e=i.J;e&&(Zl(t[n]||=new Set,e),tc(e,t),nc(e,t.O))}return t[e]},Ei=Symbol(),Ii=Symbol(),Ti=Symbol(),Fi=Symbol(),Di=Symbol(),Li=Symbol(),Wi=[],Ui={};Object.freeze(Wi),Object.freeze(Ui);class Vi{owner;p=void 0;O=null;constructor(t){this.owner=t}get(t,n){if(n===Ei)return this.owner.constProps;if(n===Ii)return this.owner.varProps;if(n===Ti)return this.owner;if(n===Fi)return this;let e;if("children"===n)e=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=i(n);t&&(n=t)}e=Qi(this.owner,n),n in this.owner.varProps&&zi(this,n)}return e instanceof vs&&4&e.R?e.value:e}set(t,n,e){if(n===Ti)this.owner=e;else if("children"===n)this.owner.children=e;else if(n===Ei)this.owner.constProps=e;else if(n===Ii)this.owner.varProps=e;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=i(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===Ui?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==e&&(this.owner.varProps[n]=e,Bi(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&Bi(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===Ei||n===Ii)return!0;const e=n in this.owner.varProps;if("string"==typeof n&&(e&&zi(this,n),"string"==typeof this.owner.type)){const t=i(n);t&&(n=t)}return e||!!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 zi=(t,n)=>{const e=Lo();e&&null===t.O&&e.O&&(t.O=e.O);const i=e?.J;i&&wn(t.owner._proxy,n,t,i)},Bi=(t,n)=>{const e=((t,n)=>t?.get(n))(t.p,n);return e&&ec(t.O,t,e),!!e},Qi=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],Ji=t=>t?Ii in t?"children"in t?{...t[Ii],children:t.children}:t[Ii]:t:null,Hi=t=>t&&Ei in t?t[Ei]:null,Yi=t=>t&&Ii in t,Gi=Symbol();class Xi{consumer;property;backRef;data;constructor(t,n,e=null,i=null){this.consumer=t,this.property=n,this.backRef=e,this.data=i}}const Ki=Symbol(),Zi=Symbol(),ts=Symbol(),ns=(t,n)=>(e,i)=>{const s=Gt();return s.J=$(t,":"),s.O=n||void 0,Jt(s,()=>{if(Bn(e))return e();if(i)return e[i];if(Kl(e))return e.value;if(Un(e)&&hc(e))return wn(cc(e),ts,lc(e),s.J),e;throw Qn(2)})};class es extends Ni{qt;R;[gi]=void 0;constructor(t,n,e=17){super(t||n.O,Gi),this.qt=n,this.R=e}invalidate(){this.R|=1;const t=Gt();t.O=this.O||void 0;const n=e(Ht.bind(this,t,this.j));n&&n.catch(t=>{this.O?this.O.handleError(t,null):console.error("Error during computation",t)})}get untrackedValue(){return this.j(),this.kt}set untrackedValue(t){this.kt=t}j(){if(!(1&this.R))return;const t=this.qt;Xl(t);const n=Lo(),e=n?.J;if(n){const t=$(this,".");m(this.O,t),n.J=t}try{const e=t.getFn(n)();if(Ie(e))throw Qn(29,[t.dev?t.dev.file:"",t.M]);this.R&=-2,super.value=e}finally{n&&(n.J=e)}}}class is{Rt;jt=null;Ct=!1;Pt=!0;At;Ot;_t;constructor(t){this.Rt=t}get track(){return this.At||=ns(this.Rt,this.Rt.O)}get abortSignal(){return(this._t||=new AbortController).signal}cache(){console.error("useResource cache() method does not do anything. Use `useAsync$` instead of `useResource$`, use the `interval` option for polling behavior.")}get previous(){const t=this.Rt.kt;if(t!==Gi)return t}cleanup(t){"function"==typeof t&&(this.Ot||=[]).push(t)}}class ss extends es{Nt=!1;Mt=void 0;m=void 0;k=void 0;Et=null;It=[];Tt=1;nt=0;Ft;[gi]=void 0;constructor(t,n,e=17,i){super(t,n,e);const s=i?.interval,r=i?.concurrency??1,o=i?.initial,l=i?.timeout,c=i?.eagerCleanup,u=i?.clientOnly;if(void 0!==o){const t="function"==typeof o?o():o;this.kt=t}this.Tt=r,l&&(this.Ft=l),c&&(this.R|=32),u&&(this.R|=64),s&&(this.interval=s)}get untrackedValue(){if(this.j(),this.Et?.jt){if(this.kt===Gi||!import.meta.env.TEST&&On)throw this.Et?.jt;return this.kt}if(this.Mt)throw this.Mt;if(!import.meta.env.TEST&&On&&64&this.R&&this.kt===Gi)throw Error("During SSR, cannot read .value from clientOnly async signal without an initial value. Use .loading or provide an initial value.");return this.kt}set untrackedValue(t){this.kt=t}get loading(){return Mi(this,"$loadingEffects$","untrackedLoading")}set untrackedLoading(t){t!==this.Nt&&(this.Nt=t,ec(this.O,this,this.m))}get untrackedLoading(){if(this.j(),!import.meta.env.TEST&&On&&this.Et?.jt)throw this.Et?.jt;return this.Nt}get error(){return Mi(this,"$errorEffects$","untrackedError")}set untrackedError(t){t!==this.Mt&&(this.Mt=t,ec(this.O,this,this.k))}get untrackedError(){return this.Mt}get interval(){return this.nt}set interval(t){this.Dt(),this.nt=t,this.nt>0&&this.p?.size&&this.Lt()}async invalidate(){this.R|=1,this.Dt(),(this.p?.size||this.m?.size||this.k?.size)&&(await!0,this.j())}abort(t){this.Et&&this.Wt(this.Et,t)}q(){32&this.R&&!this.Ut()&&(import.meta,setTimeout(()=>{this.Ut()||this.abort()}))}async promise(){for(this.j();this.Et?.jt;)await(this.Et?.jt)}j(){if(!(1&this.R))return;if(!import.meta.env.TEST&&On&&64&this.R)return this.Nt=!0,void this.O?.serializationCtx.et.add(this);if(this.Dt(),this.Et&&this.Wt(this.Et),this.It.length>=(0===this.Tt?1/0:this.Tt))return;this.R&=-2;const t=new is(this);this.Et=t,this.It.push(t),t.jt=this.Vt(t)}async Vt(t){const n=()=>t===this.Et;this.untrackedLoading=!0;const i=this.qt.resolved||await this.qt.resolve();try{this.Ft&&(this.zt=setTimeout(()=>{t._t?.abort();const e=Error("timeout");n()&&(this.untrackedError=e,t.Pt=!1)},this.Ft));const s=await e(i.bind(null,t));if(t.jt=null,t.Pt){const n=this.It.indexOf(t);if(-1!==n)for(let t=0;t<n;t++)this.It[t].Pt=!1;this.untrackedError=void 0,this.value=s}}catch(e){t.jt=null,n()&&(this.untrackedError=e)}n()&&(clearTimeout(this.zt),1&this.R?this.j():(this.untrackedLoading=!1,this.Lt()))}async Bt(){this.Dt(),clearTimeout(this.zt),this.Et&&await this.Wt(this.Et),await Promise.all(this.It.map(t=>t.jt))}Dt(){void 0!==this.Qt&&(clearTimeout(this.Qt),this.Qt=void 0)}Lt(){import.meta,this.nt>0&&(this.Dt(),this.Qt=setTimeout(this.invalidate.bind(this),this.nt),this.Qt?.unref?.())}Ut(){return!!(this.p?.size||this.m?.size||this.k?.size)}async Wt(t,n){if(t.Ct)return t.jt;t.Ct=!0,t._t?.abort(n),t.jt=Promise.resolve(t.jt).then(()=>t.jt=this.Jt(t))}async Jt(t){const n=t.Ot;if(n?.length){const t=t=>{const n=this.O?.handleError;n?n(t,null):console.error("Error in async signal cleanup",t)};await Promise.all(n.map(n=>{try{const e=n();if(Ie(e))return e.catch(t)}catch(n){t(n)}})),n.length=0}const e=this.It,i=e.indexOf(t);-1!==i&&e.splice(i,1),this.j()}}const rs=t=>(n,...e)=>t.call(null,Uc(n),...e);class os extends es{constructor(t,n){super(t,n,17)}Ht=!1;j(){if(!(1&this.R))return;Xl(this.qt),this.R&=-2;let t=this.qt.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,i=t.update,s=this.kt===Gi?e:this.kt,r=Bo(()=>this.Ht?i?.(s)||s:n(s),this,".",this.O);this.Ht=!0,(this.Ht&&"undefined"!==r||r!==this.kt)&&(this.kt=r,ec(this.O,this,this.p))}}const ls=(t,n)=>new es(n?.container||null,t,sc(n?.serializationStrategy||"always")),cs=(t,n)=>new ss(n?.container||null,t,sc(n?.serializationStrategy||"always"),n),us=t=>new os(null,t),fs=t=>new Ni(null,t),as=/*#__PURE__*/rs(ls),hs=/*#__PURE__*/rs(cs),ds=rs(us),ps=t=>t.value,$s=(t,n)=>t[n],ys=t=>1===t.length?Kl(t[0])?t[0].xt||=new vs(null,ps,t,null):hc(t[0])?new vs(null,ps,t,null):t[0].value:new vs(null,$s,t,null),ms=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!Un(n))return n[e];if(Kl(n))return n instanceof vs&&4&n.R?n:ys(t);if(Yi(n)){const i=n[Ei],s=n[Ii];if(i&&Object.prototype.hasOwnProperty.call(i,e))return i[e];if(Object.prototype.hasOwnProperty.call(s,e))return ws(s[e],t)}else{const i=cc(n);if(i)return ws(i[e],t)}return n[e]},ws=(t,n)=>Kl(t)?t:ys(n),bs=(t,n)=>{const e=ms(t,n);return e===Di?t[n]:e};class vs extends Ni{D;T;tt;R;$=void 0;[gi]=void 0;constructor(t,n,e,i,s=5){super(t,Gi),this.D=e,this.T=n,this.tt=i,this.R=s}invalidate(){this.R|=1;try{this.j()}catch(t){this.O&&this.$&&(this.O.setHostProp(this.$,_i,this),It(this.O,this.$,16))}2&this.R&&(this.R&=-3,ec(this.O,this,this.p))}get untrackedValue(){return this.j(),this.kt}j(){if(!(1&this.R))return;const t=Bo(()=>this.T(...this.D),this,".",this.O);this.R&=-3,t!==this.kt&&(this.R|=2,this.kt=t)}N(){return this.T===ps&&Kl(this.D[0])?this.D[0]:this}set value(t){throw Qn(31)}get value(){return super.value}}class gs{data;constructor(t){this.data=t}}const Ss=(t,n)=>{if("string"==typeof t){const e=hn(n);Oc(_c(e,t))}return null};class ks{type;children;toSort;key;varProps;constProps;dev;_proxy=null;constructor(t,n,e,i,s,r,o){this.type=t,this.children=i,this.toSort=!!r,this.key=null==s?null:"string"==typeof s?s:""+s,this.varProps=!n||li(n)?Ui:n,this.constProps=!e||li(e)?null:e,Mn()}get props(){return this._proxy||=p(this)}}const xs=(t,n,e)=>{let i=t[n];if(!i)return t[n]=e,!0;Array.isArray(i)?i.push(e):i=t[n]=[i,e]},qs=t=>t instanceof ks,Rs="bind:value",js="bind:checked",Cs=Object.prototype.hasOwnProperty,Ps=(t,n,e,i,s,r,o)=>new ks(t,n,e,i,r,!1,o),As=(t,n,e,s,r,o,l)=>{let c=!1,u=!1,f=!1,a=null,h=null;if("string"==typeof t){if(e){const t=new Set;for(const n in e){const s=i(n);s&&(u||(e={...e},u=!0),Cs.call(e,s)&&!t.has(s)||(e[s]=e[n]),delete e[n]),t.add(n)}}if(n){const t=new Set;for(const e in n){const s=i(e);s?(f||(n={...n},f=!0),Cs.call(n,s)&&!t.has(s)||(n[s]=n[e]),delete n[e],c=!0):e===js?h=n[e]:e===Rs&&(a=n[e]),t.add(e)}if(h||a)if(f||(n={...n},f=!0),h){delete n[js],n.checked=h;const t=Ec(null,"_chk",S,null,[h]);if(e&&Cs.call(e,"q-e:input")){u||(e={...e},u=!0);const t=e["q-e:input"];delete e["q-e:input"],c=xs(n,"q-e:input",t)||c}c=xs(n,"q-e:input",t)||c}else if(a){delete n[Rs],n.value=a;const t=Ec(null,"_val",g,null,[a]);if(e&&Cs.call(e,"q-e:input")){u||(e={...e},u=!0);const t=e["q-e:input"];delete e["q-e:input"],c=xs(n,"q-e:input",t)||c}c=xs(n,"q-e:input",t)||c}}n&&Cs.call(n,"className")&&(f||(n={...n},f=!0),n.class=n.className,n.className=void 0,c=!0),e&&Cs.call(e,"className")&&(u||(e={...e},u=!0),e.class=e.className,e.className=void 0)}if(n)for(const t in n)"children"===t?(f||(n={...n},f=!0),s||=n.children,delete n.children):"key"===t?(f||(n={...n},f=!0),o||=n.key,delete n.key):(e&&t in e||null===n[t])&&(f||(n={...n},f=!0),delete n[t]);return new ks(t,n,e,s,o,c||!0,l)},Os=(t,n,e,i)=>Es(t,n,i),_s=(t,n,e,i,s)=>Es(t,{...e,...n},s),Ns=(t,n,e,i,s,r)=>Es(t,{...e,...n,children:i},r),Ms=t=>t.children,Es=(t,n,e,i,s)=>As(t,n,null,null,0,e,s),Is=Es,Ts=Es,Fs=t=>t.children,Ds=(t,n)=>new ks(Ms,null,null,t.children,n),Ls=(t,n,e,i,s)=>{const r=Yt(t.U,e||n,t);let o;e&&(r.J=$(e,":"),r.O=t),t.ensureProjectionResolved(n);let l=!1;if(null===i&&(i=t.getHostProp(n,Kn)),Hn(i))"children"in(s=s||t.getHostProp(n,ke)||Ui)&&delete s.children,o=i.getFn(r);else if(Hc(i)){const t=i;o=()=>Ht(r,t,[s||Ui,null,0])}else{l=!0;const t=i;o=()=>Ht(r,t,[s||Ui])}const c=!import.meta.env.TEST&&On,u=(e=0)=>Te(()=>(l||(t.setHostProp(n,qe,null),t.setHostProp(n,Ae,null)),e>0&&xr(n)&&y(t,n),Fe(o(s),t=>Fe(r.H,()=>t))),i=>{if(c&&!l&&4&n.dirty&&(n.dirty&=-5,e<Ee))return u(e+1);const s=t.getHostProp(n,Pe);return s?q(i,s):i},t=>{if(Ie(t)&&e<Ee)return t.then(()=>u(++e));if(e>=Ee)throw Error("Max retry count of component execution reached");throw t});return u()},Ws=t=>Ps(Ms,null,{[ne]:""},t.children,0,t.name??""),Us=Symbol(),Vs=()=>null,zs=()=>null,Bs=t=>t.children,Qs=(t,n)=>Es(Ds,{children:Es(Js,t)},n),Js=()=>null;let Hs=null,Ys=null;const Gs=(t,n=[],e={})=>{let i=null;const s=t[Ei];if(s)for(const t in s)n.includes(t)||(i||={},i[t]=s[t]);const r=e,o=t[Ii];for(const t in o)n.includes(t)||(r[t]=o[t]);return p(new ks(null,r,i,null,null))};class Xs{target;constructor(t){this.target=t}}class Ks{target;constructor(t){this.target=t}}class Zs{target;text;constructor(t,n){this.target=t,this.text=n}}class tr{target;parent;beforeTarget;constructor(t,n,e){this.target=t,this.parent=n,this.beforeTarget=e}}class nr{target;attrName;attrValue;scopedStyleIdPrefix;isSvg;constructor(t,n,e,i,s){this.target=t,this.attrName=n,this.attrValue=e,this.scopedStyleIdPrefix=i,this.isSvg=s}}const er=t=>new Xs(t),ir=(t,n)=>new Zs(t,n),sr=(t,n,e)=>new tr(t,n,e),rr=(t,n,e,i=null,s=!1)=>new nr(t,n,e,i,s),or=t=>{if(t.Bt){try{t.Bt()}catch(t){In(!1,t)}t.Bt=null}},lr=Object.prototype.hasOwnProperty,cr=(t,n,e,i,s,r)=>{const o={container:t,journal:n,cursor:s,scopedStyleIdPrefix:r,stack:[],asyncQueue:[],asyncAttributePromises:[],vParent:null,vCurrent:null,vNewNode:null,vSiblings:null,vSiblingsArray:null,vSideBuffer:null,jsxChildren:null,jsxValue:null,jsxIdx:0,jsxCount:0,shouldAdvance:!0,isCreationMode:!1,subscriptionData:{const:new gs({Yt:r,Gt:!0}),var:new gs({Yt:r,Gt:!1})}};I(o,e,i);const l=Q(o);if(Ie(l))return l.finally(()=>{J(o)});J(o)},ur=(t,n,i,s,r)=>{if(Ue(i))return void K(i,s,n.node,n,t);if(i===Re||i===je)return _r(n,i,s),void(n.flags|=192);const o=s;if("ref"===i){const t=n.node;if(Kl(s))return void(s.value=t);if("function"==typeof s)return void s(t);throw Qn(15,[r])}const l=n[gi]?.get(i);if(Kl(s)){const r=s instanceof vs?s.N():s;if(l?.backRef?.has(r))return;l&&m(t.container,l);const o=n;s=e(()=>Qo(r,o,i,t.container,t.subscriptionData.var))}else l&&m(t.container,l);if(Ie(s)){const e=n,r=s.then(n=>{E(t.journal,e,i,n,t.scopedStyleIdPrefix,o)});return void t.asyncAttributePromises.push(r)}E(t.journal,n,i,s,t.scopedStyleIdPrefix,o)};let fr=null;const ar=(t,n,e)=>{fr||(fr=t.insertBefore),fr.call(t,n,e)},hr=(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,dr=t=>"false"!==t&&!!t,pr=($r=jt,()=>queueMicrotask($r));var $r;const yr=(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})(jt);let mr=!1;const wr=[],br=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},vr=(t,n,e=null)=>{const i=new qi(e,-2039,null,null,null,null,null,null,t,n);return t.vNode=i,i},gr=t=>{const n=new qi(null,-2047,null,null,null,null,void 0,void 0,t,void 0);return t.vNode=n,n},Sr=(t,n)=>new Ri(-2036,null,null,null,null,t,n),kr=()=>new xi(null,-2046,null,null,null,null,null,null),xr=t=>t instanceof ki,qr=t=>!(1&~t.flags),Rr=t=>!!(5&t.flags),jr=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,Cr=t=>!(4&~t.flags),Pr=t=>!(2&~t.flags),Ar=t=>!(2&~t.flags)&&null!==Or(t,te,null),Or=(t,n,e)=>{if(qr(t)||Pr(t)){const i=t.props?.[n]??null;if("string"==typeof i&&e){const s=e(i);return t.props[n]=s,s}return i}return null},_r=(t,n,e)=>{null==e&&t.props?delete t.props[n]:(t.props||={},t.props[n]=e)},Nr=(t,n,e,i,s=null)=>{qr(n)&&(import.meta.env.TEST&&s&&_r(n,Me,s),_r(n,e,i),Tt(t,rr(n.node,e,i,s,!!(512&n.flags))))},Mr=t=>{if(t.key)return;const n=lo(t.node,_e);n&&(t.key=n)},Er=(t,n)=>{if(1==(15&n.flags)){const e=n;e.flags^=8;const i=e.node,s=i.attributes;let r=!1;for(let n=0;n<s.length;n++){const o=s[n],l=o.name;if(Ue(l))Ft(o,l,t,i);else if(r);else if(l!==_e&&l)if(l.startsWith(pe)){const t=o.value;"html"===t?_r(e,"dangerouslySetInnerHTML",i.innerHTML):"text"===t&&"value"in i&&_r(e,"value",i.value)}else _r(e,l,o.value);else{const t=o.value;t&&(e.key=t),r=!0}}null===Or(e,Re,null)&&null===Or(e,je,null)||(n.flags|=64)}},Ir=(t,n,e)=>{let i=t;for(;e&&i&&Pr(i);){const t=n?i.firstChild:i.lastChild;if(!t)break;if(5&t.flags)return t;i=t}for(;i;){let t=n?i.nextSibling:i.previousSibling;if(t&&5&t.flags)return t;if(!t){let e=i.parent;if(e&&!Pr(e))return null;for(;e&&!(t=n?e.nextSibling:e.previousSibling);)if(e=e.parent,e&&!Pr(e))return null;if(!t)return null;if(Cr(t)&&e&&qr(e))return null}for(;t;){if(i=t,5&i.flags&&Oo(i))return i;t=n?i.firstChild:i.lastChild}}return null},Tr=(t,n)=>{const e=n;if(!(8&e.flags)){const i=Yr(n,!0),s=e.node,r=ko(i);let o=Ir(n,!1,!0);const l=Ir(n,!0,!0),c=s||(l&&qr(l)?l.node:l?.node)||null;let u=c;for(;o&&Cr(o);){if(!(8&o.flags)){const n=r.createTextNode(o.text);Tt(t,sr(n,i,u)),u=n,o.node=n,o.flags|=8}o=Ir(o,!1,!0)}for(o=n;o&&Cr(o);){const n=Ir(o,!0,!0),e=!n||!Cr(n);if(!(8&o.flags)){if(e&&s)Tt(t,ir(s,o.text));else{const n=r.createTextNode(o.text);Tt(t,sr(n,i,c)),o.node=n}o.flags|=8}o=n}}},Fr=(t,n)=>{let e=t;const i=t.node,{qVNodeRefs:s}=i;let r,o=-1;if("string"==typeof n)o=parseInt(n),r=s.get(o);else{r=n;const t=r.vNode;if(t)return t}if(xr(r))e=r;else{let t=r;const n=[r];for(;t&&t!==i&&!t.vNode;)t=t.parentElement,n.push(t);t.vNode&&(e=t.vNode);for(let t=n.length-2;t>=0;t--)e=Wr(e,n[t]);-1!=o&&(r.vNode=e,s.set(o,e))}if("string"==typeof n){const t=n.length;let i=Ur(n,t),s=0;for(;i<t;){const t=n.charCodeAt(i);s*=26,t>=97?s+=t-97:(s+=t-65,e=Dr(e,s),s=0),i++}}return e},Dr=(t,n)=>{let e=eo(t);for(;e.flags>>>11!==n;)e=e.nextSibling;return e},Lr=[],Wr=(t,n)=>{let e=eo(t);for(;e&&(!(e instanceof qi)||e.node!==n);)if(Pr(e)){const t=e.nextSibling,n=eo(e);n?(t&&Lr.push(t),e=n):e=t||(Lr.length?Lr.pop():null)}else{const t=e.nextSibling;e=t||t||Lr.pop()}for(;Lr.length;)Lr.pop();return e},Ur=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},Vr=(t,n,e,i)=>{const s=qr(n);s&&io(n);const r=e.parent;if(e===i){if(r)return;i=null}Jr(t,r,n,e);const o=e.node,l=32&n.flags,c=s?n.node:Yr(n,!1);c&&!l&&Tt(t,sr(o,c,Br(t,n,i)?.node??null)),Qr(n,e,i),l&&(e.flags|=32)},zr=(t,n,e,i)=>{const s=qr(n);s&&io(n);const l=e.parent;if(e===i){if(l)return;i=null}Jr(t,l,n,e);const c=32&n.flags,u=s?n:Gr(n,!1),f=u?.node,a=Br(t,n,i),h=a?.node??null;if(Ar(e)&&u&&1536&u.flags){const s=Gr(n,!1),l=Br(t,n,i)?.node??null,{elementNamespace:c,elementNamespaceFlag:u}=o(s,e);Dt(t,e,n=>{if(Cr(n))Tt(t,sr(n.node,f,l));else{if((1536&n.flags)!==u){const t=((t,n,e,i)=>{let s=t,l=null,c=null,u=null;for(;s;){let f=null,a=null;if(qr(s)){f=s.node;const t=Zr(s),l=s.parent,h=null==c?n:l&&Gr(l,!0);if(h){const t=o(h,Zr(s));e=t.elementNamespace,i=t.elementNamespaceFlag}const d=eo(s);if(a=r(f,t,e,!d),f.remove(),null==c&&(c=a),u&&u.appendChild(a),s.node=a,s.flags&=-1537,s.flags|=i,d){s=d,u=a;continue}if(ro(f)){const t=dn(f);if(t){const n=eo(t.rootVNode);if(n){s=n,u=a;continue}}}}if(s===t)return c;const h=s.nextSibling;if(h)s=h;else{for(l=s.parent;l;){if(l===t)return c;const n=l.nextSibling;if(n)return s=n,c;l=l.parent}if(null==l)return c}}return c})(n,s,c,u);t&&(n.node=t)}Tt(t,sr(n.node,f,l))}})}else f&&!c&&Dt(t,e,n=>{Tt(t,sr(n.node,f,h))});Qr(n,e,i),c&&(e.flags|=32)},Br=(t,n,e)=>{let i=null;return null==e?Pr(n)&&(i=Ir(n,!0,!1)):i=Pr(e)?Ir(e,!0,!0):e,i&&((t,n)=>{Cr(n)&&Tr(t,n)})(t,i),i},Qr=(t,n,e)=>{const i=e?e.previousSibling:t.lastChild;e?e.previousSibling=n:t.lastChild=n,i?i.nextSibling=n:t.firstChild=n,n.previousSibling=i,n.nextSibling=e,n.parent=t},Jr=(t,n,e,i)=>{n&&(i.previousSibling||i.nextSibling||n!==e)&&Xr(t,n,i,!1)},Hr=(t,n,e,i)=>{Rr(e)?Vr(t,n,e,i):zr(t,n,e,i)},Yr=(t,n)=>(t=Gr(t,n))&&t.node,Gr=(t,n)=>{for(;t&&!qr(t);)t=t.parent||(n?t.slotParent:null);return t},Xr=(t,n,e,i)=>{if(Cr(e)&&Tr(t,e),i){if(null!==Or(n,Ne,null))return;Rr(e)?Tt(t,er(e.node)):Dt(t,e,n=>{Tt(t,er(n.node))})}const s=e.previousSibling,r=e.nextSibling;s?s.nextSibling=r:n.firstChild=r,r?r.previousSibling=s:n.lastChild=s,e.previousSibling=null,e.nextSibling=null},Kr=(t,n,e,i=!0)=>{Yr(n,!0)&&i&&(Rr(n)?Tt(t,new Ks(n.node)):Dt(t,n,n=>{Tt(t,er(n.node))}));const s=e.previousSibling;s?s.nextSibling=null:n.firstChild=null,n.lastChild=s},Zr=t=>{const n=t;let e=n.elementName;if(void 0===e){const t=n.node,i=go(t).toLowerCase();e=n.elementName=i,n.flags|=(t=>{switch(bo(t)){case we:return 512;case be:return 1024;default:return 0}})(t)}return e},to=t=>{let n=t.text;return void 0===n&&(n=t.text=t.node.nodeValue),n},no=(t,n,e)=>{Tr(t,n),n.text=e,Tt(t,ir(n.node,e))},eo=t=>{if(Cr(t))return null;let n=t.firstChild;return void 0===n&&(n=io(t)),n},io=t=>{const e=t;let i=e.firstChild;return void 0===i&&(i=e.parent&&ro(e.node)?e.firstChild=e.lastChild=null:(t=>{const e=t.node,i=mo(e),s=ko(e)?.qVNodeData?.get(e);return((t,e,i,s)=>{if(Mr(t),s){if(s.charCodeAt(0)===Xn&&s.charCodeAt(1)===Xn){const n=(t=>{const n=t.indexOf("||",2);return{elementVNodeData:t.substring(2,n),virtualVNodeData:t.substring(n+2)}})(s);s=n.virtualVNodeData;const e=Ro(t,i,n.elementVNodeData);if(!s)return e}return((t,e,i,s)=>{let r=0,o=null,l=null,c=null;const u=n=>{n.flags=2047&n.flags|r<<11,r++,l&&(l.nextSibling=n),n.previousSibling=l,n.parent=t,o||(t.firstChild=o=n),l=n};let f=0,a=null,h=null;const d=t=>{const n=Io(t);return!n||n&&zt(t)};let p=null;if(jo(e,($,y,m,w,b)=>{if(_o($())){for(;d(s);)if(!(s=ho(s)))throw Qn(27,[e,$(),b]);a=null,c=null;let t=0;for(;_o($());)t*=10,t+=m()-48;for(;t--;){const t=gr(s);Mr(t),u(t),s=ho(s)}}else if(59===$())_r(t,re,y());else if(60===$())(p||=[]).push(t),_r(t,Kn,y());else if(61===$()){h||(h=hn(i));const n=y();h.Xt(parseInt(n),t)}else if(62===$())_r(t,ke,y());else if(64===$()){let e;w(b+1)===Xn?(m(),e=decodeURI(n(y())),m()):e=y(),t.key=e}else if(91===$())_r(t,xe,y());else if(94===$())_r(t,qe,y());else if(96===$())h||(h=hn(i)),Ut(t,y(),h);else if(63===$())h||(h=hn(i)),t.slotParent=Fr(h.rootVNode,y());else if(93===$())_r(t,oe,y());else if(123===$())m(),u(kr()),Mo.push(t,o,l,c,r),r=0,t=l,o=l=null;else if($()===Xn){const e=n(y()),i=n(y());_r(t,e,i)}else if(125===$())m(),t.lastChild=l,r=Mo.pop(),c=Mo.pop(),l=Mo.pop(),o=Mo.pop(),t=Mo.pop();else if(126===$()){const e=n(y());_r(t,te,e)}else{for(;Io(s)&&zt(s);)s=ho(s);const t=s&&3===uo(s)?s:null;null===a&&(a=t?t.nodeValue:null,f=0);let n=0;for(;No($());)n+=m()-97,n*=26;n+=m()-65;const e=null===a?"":a.substring(f,f+n);u(c=((t,n,e)=>new Ri(-2044,null,t,null,null,n,e))(c,t,e)),f+=n}}),p){h||(h=hn(i));for(let t=0;t<p.length;t++)h.ensureProjectionResolved(p[t]);p=null}return t.lastChild=l,o})(t,s,e,i)}return Ro(t,i)})(t,e,i,s)})(e)),i};let so=null;const ro=t=>(so||(so=t.hasAttribute),so.call(t,pe));let oo=null;const lo=(t,n)=>(oo||(oo=t.getAttribute),oo.call(t,n));let co=null;const uo=t=>(co||(co=br(t,"nodeType")),co.call(t)),fo=t=>{const n=uo(t);return 3===n||1===n};let ao=null;const ho=t=>{for(ao||(ao=br(t,"nextSibling")),yo||(yo=br(t,"firstChild"));t;)if(null!==(t=ao.call(t))){const n=uo(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(he))return Wt(t,fe,ao,yo);if(t.nodeValue?.startsWith(ae))return Wt(t,de,ao,yo);if(n?.startsWith(pe))for(;t&&(t=ao.call(t))&&(8!==uo(t)||!t.nodeValue?.startsWith($e)););}}return t};let po=null;const $o=t=>(po||(po=br(t,"parentNode")),po.call(t));let yo=null;const mo=t=>{for(yo||(yo=br(t,"firstChild")),t=t&&yo.call(t);t&&!fo(t);)t=ho(t);return t};let wo=null;const bo=t=>(wo||(wo=br(t,"namespaceURI")),wo.call(t));let vo=null;const go=t=>(vo||(vo=br(t,"nodeName")),vo.call(t));let So=null;const ko=t=>(So||(So=br(t,"ownerDocument")),So.call(t)),xo=t=>"STYLE"===t.nodeName&&(t.hasAttribute(re)||t.hasAttribute(ee)),qo=t=>t.hasAttribute(_e),Ro=(t,n,e)=>{let i=null;const s=()=>{for(;Io(r)&&zt(r);)r=ho(r)};let r=n;s();let o=null;for(;r;){const n=uo(r);let e=null;3===n?e=Sr(r,r.textContent??void 0):1===n&&(e=gr(r),Mr(e)),e&&(e.parent=t,o&&(o.nextSibling=e),e.previousSibling=o,o=e),i||(t.firstChild=i=o),r=ho(r),s()}if(t.lastChild=o||null,t.firstChild=i,e){let n=null;jo(e,(e,i)=>{if(61===e()){n||(n=hn(t.node));const e=i();n.Xt(parseInt(e),t)}else 96===e()?(n||(n=hn(t.node)),Ut(t,i(),n)):i()})}return i},jo=(t,n)=>{let e=0,i=0,s=0;const r=n=>n<t.length?t.charCodeAt(n):0,o=()=>0!==s?s:s=r(e),l=()=>(i=o(),s=0,e++,i),c=()=>{l();const n=e;for(;o()<=58&&0!==s||92===s||95===s||s>=65&&s<=90||s>=97&&s<=122;)l();return t.substring(n,e)};for(;0!==o();)n(o,c,l,r,e)},Co=(t,n)=>{if(3&n.flags){Er(t,n);const e=[],i=n.props;if(i)for(const t in i)t.startsWith(_e)||e.push(t);return e}return[]},Po=(t,n)=>{let e=Ao(t);for(;e;){if(e===n)return!0;e=Ao(e)}return!1},Ao=t=>t.parent||t.slotParent,Oo=t=>null===t||Pr(t)?null:t.node,_o=t=>48<=t&&t<=57,No=t=>97<=t&&t<=122,Mo=[],Eo=t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw Qn(26,[n])},Io=t=>t&&"object"==typeof t&&1===uo(t),To=t=>{let n=1;for(;n--;){for(;t&&(!Pr(t)||null===Or(t,Kn,null));){const e=t.slotParent,i=Pr(t)&&e;i&&n++,t=i||t.parent}n>0&&(t=t.parent)}return t};let Fo,Do;const Lo=()=>Do,Wo=()=>{const t=Lo();if(!t||t.B!==ve)throw Qn(10);return t},Uo=(t,n)=>{const e=hn(n),i=Fr(e.rootVNode,n),s=e.U;s&&(t=>{Fo=t})(s);const r=Gt(s,i,t);return r.O=e,r},Vo=(t,...n)=>{if("function"==typeof t){if(!Do)return t(...n);{const e=Do.J;try{return Do.J=void 0,t(...n)}finally{Do.J=e}}}return Kl(t)?t.untrackedValue:ac(t)},zo=/*#__PURE__*/Yt(void 0,void 0,void 0),Bo=(t,n,e,i,s)=>{const r=zo.J,o=zo.O;try{return zo.J=$(n,e,s),zo.O=i,Ht(zo,t)}finally{zo.J=r,zo.O=o}},Qo=(t,n,e,i,s)=>(t instanceof vs&&t.$!==n&&n&&(t.$=n),Bo(()=>t.value,n,e,i,s)),Jo=()=>Lo()?.$,Ho=()=>{const t=Lo();if(t)return t.B},Yo=()=>{const t=Lo();if(t)return t.O},Go=t=>t,Xo=t=>t.l||Promise.resolve(),Ko=()=>{const t=Wo(),n=t.$;let e=t.O.getHostProp(n,xe);null===e&&(e=[],t.O.setHostProp(n,xe,e));let i=t.O.getHostProp(n,qe);for(null===i&&(i=0),t.O.setHostProp(n,qe,i+1);e.length<=i;)e.push(void 0);return{val:e[i],set:t=>e[i]=t,i,iCtx:t}},Zo=t=>/*#__PURE__*/Object.freeze({id:Ve(t)}),tl=(t,n)=>{const{val:e,set:i,iCtx:s}=Ko();void 0===e&&(s.O.setContext(s.$,t,n),i(1))},nl=(t,n)=>{const{val:e,set:i,iCtx:s}=Ko();if(void 0!==e)return e;const r=s.O.resolveContext(s.$,t);if("function"==typeof n)return i(Jt(void 0,n,r));if(void 0!==r)return i(r);if(void 0!==n)return i(n);throw Qn(8,[t.id])},el=t=>{const n=(()=>{const t=Lo();if(!t)throw Qn(9);return t})(),e=n.$;if(e)return n.O?.resolveContext(e,t)},il=/*#__PURE__*/Zo("qk-error"),sl=[void 0,null,!0,!1,"",Wi,Ui,Gi,ts,Li,Ws,Fs,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],rl=["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"],ol=["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"],ll=new WeakMap,cl=new Map,ul=(t,n,e)=>{switch(n){case 0:case 14:return e;case 1:return t._(e);case 2:if(!t.lt)return Li;const i=t.lt[e];return-1===i||void 0===i?Li:t._(i);case 3:return sl[e];case 4:return Array(e.length/2);case 5:return{};case 9:{let n;if("string"==typeof e){const[i,s,r]=e.split("#");n=Kt(t._(i),t._(s),r||null)}else n=Kt("",e+"",null);return n.O=t,n}case 20:return new Yl(-1,-1,null,null,null,null);case 6:return new URL(e);case 7:return new Date(e);case 8:const s=e.lastIndexOf("/");return RegExp(e.slice(1,s),e.slice(s+1));case 15:return Error();case 21:return Qc(null);case 22:return new Ni(t,0);case 23:return new vs(t,null,null,null);case 24:return new es(t,null);case 25:return new ss(t,null,void 0,{interval:0});case 26:return new os(t,null);case 27:{const n=e,i=n[0],s=n[1],r=ul(t,i,s),o=dc(r,0,t);return Fl(i)&&cl.set(r,{t:i,v:s}),n[0]=0,n[1]=r,o}case 13:return new URLSearchParams(e);case 28:return new FormData;case 29:return new ks(null,null,null,null,null);case 12:return BigInt(e);case 17:return new Set;case 18:return new Map;case 16:let r,o;const l=new Promise((t,n)=>{r=t,o=n});return ll.set(l,[r,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 p(null);case 10:return tn(t,e);case 11:const f=tn(t,e);if(xr(f))return io(f),Oo(f);throw Qn(17,[typeof f]);case 31:return new gs({});case 32:return new Xi(null,null,null,null);default:throw Qn(18,[n])}},fl=(t,n,e)=>{let i=null,s=null;if(Bn(t))s=t;else{if(!zn(t))throw Qn(7,[t]);i=t}return Ec(i,n,null,s,e)},al=(t,n,e)=>Ec(null,n,t,null,e),hl=(t,n)=>Ec(null,t,null,null,n),dl=(t,n,e)=>{const i=hl(t,e);return i.dev=n,i},pl=(t,n,e,i)=>{const s=fl(t,n,i);return s.dev=e,s},$l=(t,n,e,i)=>{const s=al(t,n,i);return s.dev=e,s},yl=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t),ml=(t,n,e)=>new vs(null,t,n,e||null);class wl{Kt;rootIdx=0;forwardRefs=[];forwardRefsId=0;promises=new Set;s11nWeakRefs=new Map;parent;qrlMap=new Map;ut;constructor(t){this.Kt=t,this.ut=t.ut}async serialize(){await this.outputRoots()}outputArray(t,n,e){this.ut.write("[");let i,s=!1;if(n)i=t.length;else{for(i=t.length-1;i>=0&&void 0===t[i];)i--;i++}for(let n=0;n<i;n++)s?this.ut.write(ci):s=!0,e(t[n],n);this.ut.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.ut.write(t+ci+n);else if("string"==typeof n){const e=this.stringNeedsJsonEscape$(n)?JSON.stringify(n):'"'+n+'"';this.ut.write(t+ci);let i=-1,s=0;for(;-1!==(i=e.indexOf("</",s));)this.ut.write(e.slice(s,i)),this.ut.write("<\\/"),s=i+2;this.ut.write(0===s?e:e.slice(s))}else this.ut.write(t+ci),this.outputArray(n,!!e,(t,n)=>{this.writeValue(t,n)})}getSeenRefOrOutput(t,n,e){let i=this.Kt.getSeenRef(t);const s=!e&&this.s11nWeakRefs.get(t);if(!i){if(e)return!0;if("number"!=typeof s)return this.Kt.Zt(t,this.parent,n);i=this.Kt.Z(t,!0)}i.tn&&(this.parent?this.Kt.nn(i):(this.Kt.nn(i,n),t=this.Kt.en[n])),"number"==typeof s&&(this.forwardRefs[s]=i.sn,this.s11nWeakRefs.delete(t));const r=t instanceof ql?t.rn:i.sn;if(!this.parent&&r===n)return i;this.output(1,r)}writeValue(t,n){if(Rc(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===Gi?this.output(3,7):t===ts?this.output(3,8):t===Li&&this.output(3,9);break;case"function":if(t===Ws)this.output(3,10);else if(t===Fs)this.output(3,11);else if(Hn(t)){if(this.getSeenRefOrOutput(t,n)){const[n,e,i]=Xt(this.Kt,t,!0);let s;if(""!==n){s=`${this.Kt.Z(n)}#${this.Kt.Z(e)}${i?"#"+i:""}`;const r=this.qrlMap.get(s);if(r){const t=this.Kt.Z(r);return void this.output(1,t)}this.qrlMap.set(s,t)}else s=+e;this.output(9,s)}}else{if(!Hc(t))throw Qn(34,[""+t]);{const[n]=t[Jc];this.Kt.ln.add(n.Y),this.output(21,[n])}}break;case"object":if(t===Wi)this.output(3,5);else if(t===Ui)this.output(3,6);else if(null===t)this.output(3,1);else if(t instanceof ql)this.output(1,t.rn);else{const e=this.getSeenRefOrOutput(t,n);if(e){const n=this.parent;this.parent=e,this.writeObjectValue(t),this.parent=n}}break;default:throw Qn(20,[typeof t])}}writeObjectValue(t){if(Yi(t)){const n=t[Ti];this.output(30,[kl(n),n.varProps,n.constProps,t[Fi].p])}else if(t instanceof gs)this.output(31,[t.data.Yt,t.data.Gt]);else if(t instanceof Xi)this.output(32,[t.consumer,t.property,t.backRef,t.data]);else if(hc(t)){const n=lc(t),e=cc(t),i=n.R,s=n.p,r=[];for(const t in e){const n=this.Kt.h.get(e[t]);n&&r.push(n)}const o=[e,i,s,...r];for(;void 0===o[o.length-1];)o.pop();this.output(27,o)}else if(ic(t)){const n=t[Pc](t);if(Ie(n)){const t=this.resolvePromise(n,(t,n)=>new bl(26,t,n,void 0,void 0));this.output(2,t)}else{const t=this.parent.sn;this.parent=this.parent.tn,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 i=t[e];Rc(i)||n.push(e,i)}this.output(5,n.length?n:0)}else if(this.Kt.cn(t))t.un.vnodeData[0]|=16,this.output(11,t.un.id);else if(t instanceof Ni){if(t instanceof os){const n=((t,n)=>n===Gi?n:Fe(t.qt.resolved||t.qt.resolve(),t=>{let e;return"function"==typeof t&&(t=t()),t.serialize?e=t.serialize(n):"object"==typeof n&&Pc in n&&(e=n[Pc](n)),void 0===e&&(e=Gi),e}))(t,t.kt);if(Ie(n)){const e=this.resolvePromise(n,(n,e)=>new bl(26,n,e,t.p,t.qt));this.output(2,e)}else this.output(26,[t.qt,sn(t[gi]),t.p,n]);return}if(t instanceof vs)this.output(23,[...en(this.Kt,t),sn(t[gi]),t.R,t.$,...t.p||[]]);else if(t instanceof es){let n=t.kt;const e=16&t.R,i=8&t.R,s=1&t.R,r=Rc(t.kt),o=t instanceof ss,l=o&&t.nt>0?t.nt:void 0,c=o&&1!==t.Tt?t.Tt:void 0,u=o&&0!==t.Ft?t.Ft:void 0,f=o&&-25&t.R||void 0;s||r?n=Gi:e?n=t.kt:i&&(n=Gi);const a=[t.qt,sn(t[gi]),t.p];o&&(a.push(t.m,t.k,t.Mt),a.push(f||void 0));let h=!1;n===Gi&&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.kt,e=void 0===n,i=[n];t.p&&i.push(...t.p),this.output(22,i,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.Kt.fn(t)){const n=this.Kt.Z(t);this.Kt.an(t,"q:id",n+""),this.output(10,t.id);const e=t.vnodeData;if(e&&(vl(e,t=>this.Kt.Z(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(gl(e)){const t=rn(e);t&&this.Kt.Z(t)}}n[0]|=16}}}}else if("undefined"!=typeof FormData&&t instanceof FormData){const n=[];for(const[e,i]of t.entries())"string"==typeof i&&n.push(e,i);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,i]of t.entries())n.push(e,i);this.output(18,n)}else if(qs(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 Yl){const n=[t.ot,t.R,t.sn,t.L,t[gi],t.ft];for(;void 0===n[n.length-1];)n.pop();this.output(20,n)}else if(Ie(t)){const n=this.resolvePromise(t,(t,n)=>new bl(16,t,n));this.output(2,n)}else if(t instanceof bl)if(26===t.hn)if(t.ot)this.output(26,[t.ot,t.p,t.dn]);else{if(!t.pn)throw console.error(t.dn),Qn(33);{const n=this.parent.sn;this.parent=this.parent.tn,this.writeValue(t.dn,n)}}else this.output(16,[t.pn,t.dn]);else if(t instanceof Uint8Array){let n="";const e=t.length;for(let i=0;i<e;i++)n+=String.fromCharCode(t[i]);const i=btoa(n).replace(/=+$/,"");this.output(19,i)}else if(t instanceof Sl){const n=t.$n;if(this.getSeenRefOrOutput(n,this.parent.sn,!0)){let t=this.s11nWeakRefs.get(n);void 0===t&&(t=this.forwardRefsId++,this.s11nWeakRefs.set(n,t),this.forwardRefs[t]=-1),this.output(2,t)}}else{if(!xr(t))throw Qn(20,[typeof t]);this.output(3,0)}}resolvePromise(t,n){const e=this.forwardRefsId++;return t.then(i=>{this.promises.delete(t),this.forwardRefs[e]=this.Kt.Z(n(!0,i))}).catch(i=>{this.promises.delete(t),this.forwardRefs[e]=this.Kt.Z(n(!1,i))}),this.promises.add(t),e}async outputRoots(){this.ut.write("[");const{en:t}=this.Kt;for(;this.rootIdx<t.length||this.promises.size;){0!==this.rootIdx&&this.ut.write(ci);let n=!1;for(;this.rootIdx<t.length;this.rootIdx++)n?this.ut.write(ci):n=!0,this.writeValue(t[this.rootIdx],this.rootIdx);if(this.promises.size)try{await Promise.race(this.promises)}catch{}}if(this.forwardRefs.length){let t=this.forwardRefs.length-1;for(;t>=0&&-1===this.forwardRefs[t];)t--;if(t>=0){this.ut.write(ci),this.ut.write(14+ci);const n=t===this.forwardRefs.length-1?this.forwardRefs:this.forwardRefs.slice(0,t+1);this.outputArray(n,!0,t=>{this.ut.write(t+"")})}}this.ut.write("]")}}class bl{hn;pn;dn;p;ot;constructor(t,n,e,i,s){this.hn=t,this.pn=n,this.dn=e,this.p=i,this.ot=s}}const vl=(t,n)=>{const e=t.length;for(let i=0;i<e;i++){const e=t[i];if(gl(e))for(const t in e){const i=e[t];null==i||"string"==typeof i||t===ke&&li(i)||n(i)}}},gl=t=>"object"==typeof t&&null!==t&&!li(t);class Sl{$n;constructor(t){this.$n=t}}const kl=t=>new Sl(t);let xl=()=>!1;class ql{rn;constructor(t){this.rn=t}}class Rl{NodeConstructor;DomRefConstructor;K;an;h;ut;yn=new Map;mn=new Map;wn=[];en=[];et=new Set;rt=new Set;st=new Set;ln=new Set;bn;constructor(t,n,e,i,s,r){this.NodeConstructor=t,this.DomRefConstructor=n,this.K=e,this.an=i,this.h=s,this.ut=r,this.bn=new wl(this)}async ct(){return await this.bn.serialize()}getSeenRef(t){return this.yn.get(t)}Zt(t,n,e){const i={sn:e,tn:n};return this.yn.set(t,i),i}vn(t){const n=[];for(;t.tn;)n.unshift(t.sn),t=t.tn;return n.unshift(t.sn),n.join(" ")}nn(t,n){const e=this.vn(t);void 0===n&&(n=this.en.length),this.en[n]=new ql(e),t.tn=null,t.sn=n}Z(t,n=!1){let e,i=this.yn.get(t);return i?(i.tn&&this.nn(i),e=i.sn):(e=this.en.length,i={sn:e},this.yn.set(t,i),this.en.push(t)),n?i:e}fn(t){return!!this.NodeConstructor&&t instanceof this.NodeConstructor}cn(t){return!!this.DomRefConstructor&&t instanceof this.DomRefConstructor}gn(t){const n=this.yn.get(t);return n&&(n.tn?void 0:n.sn)}X(t,n,e){const i=null==t;i&&(t=e.serialized||""+e);let s=this.mn.get(t);if(void 0===s)if(s=this.wn.length,this.mn.set(t,s),i)this.wn.push(t);else{let e="(";for(let t=0;t<n;t++)e+=(0==t?"p":",p")+t;this.wn.push(e+=")=>"+t)}return s}}const jl=(t,n,e,i,s,r)=>{if(!r){const t=[];r={write:n=>t.push(n),toString:()=>t.join("")}}return xl=n?t=>t instanceof n:()=>!1,new Rl(t,n,e,i,s,r)};class Cl{Sn;h;U;_;ht;kn=0;xn=null;qn=null;l=null;u=null;o=0;constructor(t,n){this.ht=t,this.U=n,this.Sn=ui,this.h=new WeakMap,this._=()=>{throw Error("Not implemented")}}trackSignalValue(t,n,e,i){return Qo(t,n,e,this,i)}serializationCtxFactory(t,n,e,i){return jl(t,n,e,this.setHostProp.bind(this),this.h,i)}W(){0===this.o&&(this.u?.(),this.l=null)}}class Pl{}const Al=()=>Ac,Ol=async t=>{const[n,e]=Ac,i=await n(t);return i&&"object"==typeof i?e.r?Object.assign(e.r,i):e.r=mn(n.O,i,1):e.r=i,{r:e.r}},_l=(t,n)=>{const{val:e,set:i,iCtx:s}=Ko();if(e)return e;const r=Ec(null,"_rsc",Ol,null,[t,{}]);t.O=s.O;const o=cs(r,{timeout:n?.timeout,container:s.O,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 i(l),l},Nl=({value:t,onResolved:n,onPending:e,onRejected:i})=>{if(Ie(t))return t.then(n,i);const s=Ml(t),r=s?t.signal:t;if(e&&r.loading)return e();if(i&&r.error)return i(r.error);const o=s?r.value?.r:r.value;return Ie(o)?o.then(n,i):n(o)},Ml=t=>t&&"resource"===t.__brand;let El=Promise.resolve();const Il=(t,n,e,i)=>{if(0!==e)switch(4!==e&&Array.isArray(i)&&(i=Tl(t,i)),e){case 4:Tl(t,i,n);break;case 5:if(0===i)break;for(let t=0;t<i.length;t+=2)n[i[t]]=i[t+1];break;case 20:const s=n,r=i;s.ot=r[0],s.R=r[1],s.sn=r[2],s.L=r[3],s[gi]=r[4],s.ft=r[5];break;case 21:n[Jc][0]=i[0];break;case 27:{const e=ac(n),s=cl.get(e);s&&(cl.delete(e),Il(t,e,s.t,s.v));const[,r,o]=i,l=lc(n);l.R=r,l.p=o;break}case 22:{const t=n,e=i;t.kt=e[0],t.p=new Set(e.slice(1));break}case 23:{const e=n,s=i;e.T=t.getSyncFn(s[0]),e.D=s[1],e[gi]=s[2],e.kt=Gi,e.R=s[3],e.R|=1,e.$=s[4],e.p=new Set(s.slice(5)),(t=>{if(null!==t.$&&xr(t.$)){const n=t.$,e=t.p;let i=!1;if(e)for(const s of e){const e=s.property;if(zn(e)){const s=Or(n,e,null);if(null!==s){t.kt=s,i=!0;break}}}if(!i){const e=eo(n);e&&n.firstChild===n.lastChild&&Cr(e)&&(t.kt=to(e))}}})(e);break}case 25:{const t=n,e=i;t.qt=e[0],t[gi]=e[1],t.p=new Set(e[2]),t.m=new Set(e[3]),t.k=new Set(e[4]),t.Mt=e[5],t.R=e[6]??0,64&t.R&&(t.Nt=!0),e.length>7&&(t.kt=e[7]),t.kt===Gi&&(t.R|=1),t.interval=e[8]??0,t.Tt=e[9]??1,t.Ft=e[10]??0;break}case 26:case 24:{const s=n,r=i;s.qt=r[0];const o=s.qt.resolve(t).catch(()=>{});El=El.finally(()=>o),s[gi]=r[1],r[2]&&(s.p=new Set(r[2])),r.length>3&&(s.kt=r[3]),26!==e&&s.kt!==Gi&&(s.R&=-2);break}case 15:{const t=i;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=i;for(let n=0;n<e.length;n++)t.append(e[n++],e[n]);break}case 29:{const t=n,[e,s,r,o,l,c]=i;t.type=e,t.key=s,t.varProps=r,t.constProps=o||null,t.children=l,t.toSort=!!c;break}case 17:{const t=n,e=i;for(let n=0;n<e.length;n++)t.add(e[n]);break}case 18:{const t=n,e=i;for(let n=0;n<e.length;n++)t.set(e[n++],e[n]);break}case 16:{const t=n,[e,s]=i,[r,o]=ll.get(t);e?r(s):o(s);break}case 19:const o=n,l=atob(i);let c=0;for(const t of l)o[c++]=t.charCodeAt(0);break;case 30:const u=n,f=i;let a=f[0];a===Li&&(a=new ks(Fs,f[1],f[2],null,null),a._proxy=u),u[Ti]=a,u[Fi].p=f[3];break;case 31:{const t=n;t.data.Yt=i[0],t.data.Gt=i[1];break}case 32:{const t=n,e=i;t.consumer=e[0],t.property=e[1],t.backRef=e[2],t.data=e[3];break}default:throw Qn(16,[e])}},Tl=(t,n,e=Array(n.length/2))=>{for(let i=0;i<n.length;i+=2)e[i/2]=an(t,n[i],n[i+1]);return e},Fl=t=>t>=15||4===t||5===t,Dl=new WeakMap,Ll=Symbol(),Wl=(t,n)=>{if(!Array.isArray(n)||xr(n)||Un(e=n)&&Ll in e)return n;var e;let i=Dl.get(n);if(!i){const e=Array(n.length/2).fill(void 0);i=new Proxy(e,new Ul(t,n)),Dl.set(n,i)}return i};class Ul{O;Rn;jn;constructor(t,n){this.O=t,this.Rn=n,this.jn=this.Rn.length/2}get(t,n,e){if(n===Ll)return t;const i="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(i)||i<0||i>=this.jn)return Reflect.get(t,n,e);const s=2*i,r=this.Rn[s],o=this.Rn[s+1];if(0===r)return o;const l=this.O,c=ul(l,r,o);return Reflect.set(t,n,c),this.Rn[s]=0,this.Rn[s+1]=c,Fl(r)&&Il(l,c,r,o),c}has(t,n){return n===Ll||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,i){if(n===Ll)return!1;const s=Reflect.set(t,n,e,i),r="number"==typeof n?n:parseInt(n,10);if(Number.isNaN(r)||r<0||r>=this.Rn.length/2)return s;const o=2*r;return this.Rn[o]=0,this.Rn[o+1]=e,!0}}const Vl=t=>33<=t&&t<=46,zl=(t,n,e)=>{let i=0;for(;n<e;){const e=t.charCodeAt(n);if(92===e)n+=2;else{if(0===i&&Vl(e))break;123===e?i++:125===e&&i--,n++}}return n},Bl=t=>t instanceof Ql;class Ql extends Cl{element;qContainer;qManifestHash;rootVNode;document;Cn;h=new WeakMap;Pn;xn;lt=null;vNodeLocate=t=>Fr(this.rootVNode,t);An;On=null;constructor(t){if(super({},t.getAttribute("q:locale")),this.qContainer=t.getAttribute(pe),!this.qContainer)throw Qn(25);this.document=t.ownerDocument,this.element=t,this.qn=t.getAttribute(ue),this.xn=t.getAttribute("q:instance"),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=gr(this.element),this.Cn=[],this.An=[];const n=this.element.ownerDocument;n.qVNodeData||function(t){const n="q:container",e="/"+n,i="q:ignore",s="/"+i,r="q:container-island",o="/"+r,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(r))return 65;if(l.startsWith(i))return 16;if(l.startsWith(n))return 9;if(l.startsWith(o))return 64;if(l.startsWith(s))return 32;if(l.startsWith(e))return 8}return 0},p=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},$=(n,e,i,s,r,o)=>{const c=r.length;let u=0,f=-1,a=0,h=0,y=0,m=-1,w=null;const b=()=>{let t=0;for(;Vl(y=r.charCodeAt(a))&&(t+=1<<y-33,a++,!(a>=c)););return t};do{if(i===s)return;w=null;const v=i==e?2:d(i);if(3===v){const t=i;let e=i;for(;e&&!(w=p(e));)e=e.parentNode;$(n,t,i,w,t.qVnodeData||"",t.qVNodeRefs)}else if(16===v){let t=i;do{if(t=n.nextNode(),!t)throw Error(`Island inside \x3c!--${i?.nodeValue}--\x3e not found!`)}while(65!==d(t));w=null}else if(64===v){w=i;do{if(w=n.nextNode(),!w)throw Error("Ignore block not closed!")}while(32!==d(w));w=null}else if(9===v){w=i;do{if(w=p(w),!w)throw Error(`\x3c!--${i?.nodeValue}--\x3e not closed!`)}while(8!==d(w));$(n,i,i,w,"",null)}else if(6===v){w=p(i);const n=i,e=n?.shadowRoot;e&&$(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?r.charCodeAt(h):33),h=zl(r,a,c)):f=Number.MAX_SAFE_INTEGER),u===f){m===u&&o.set(u,i);const t=r.substring(a,h);l.set(i,t)}u++}}while(i=w||n.nextNode())},y=t.createTreeWalker(t,129);$(y,null,y.firstChild(),null,"",null)}(n),this.Pn=ce(n,this.xn)||Wi,this._n(),t.setAttribute(pe,"resumed"),t.qContainer=this;const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.Cn=JSON.parse(e[e.length-1].textContent),gn(this.Cn,this),this.An=Wl(this,this.Cn)),this.Nn(),t.isConnected&&t.dispatchEvent(new CustomEvent("qresume",{bubbles:!0}))}Nn(){const t=this.element.ownerDocument,n=t.head,e=t.body.querySelectorAll(se),i=e.length;if(i){const s=t.createDocumentFragment();for(let t=0;t<i;t++)s.appendChild(e[t]);n.appendChild(s)}}Xt(t,n){this.An[t]=n}parseQRL(t){const n=Zt(t);return n.O=this,n}handleError(t,n){const e=n&&this.resolveContext(n,il);if(!e)throw t;e.error=t}setContext(t,n,e){let i=this.getHostProp(t,oe);null==i&&this.setHostProp(t,oe,i=[]),Fn(i,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,oe);if(null!=e&&Ln(e,n.id,0))return Dn(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(Pr(n)){if(null!==Or(n,Kn,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){_r(t,n,e)}getHostProp(t,n){const e=t;let i=null;switch(n){case xe:case ke:case Kn:case oe:case le:i=this._;break;case qe:case Ae:i=parseInt}return Or(e,n,i)}ensureProjectionResolved(t){if(!(16&t.flags)){t.flags|=16;const n=t.props;if(n)for(const t of Object.keys(n))if(O(t)){const e=n[t];if("string"==typeof e){const i=this.vNodeLocate(e);n[t]=i}}}}_=t=>xn(t,this.An);getSyncFn(t){return this.Pn[t]}Mn(t,n,e,i){if(i){const t=this.getHostProp(e,re),i=new Set((t=>t?.split(" ")??null)(t));i.add(n),this.setHostProp(e,re,(t=>Array.from(t).join(" "))(i))}if(null==this.On&&(this.On=new Set,this.element.querySelectorAll(ie).forEach(t=>{this.On.add(t.getAttribute(ee))})),!this.On.has(n)){this.On.add(n);const e=this.document.createElement("style");e.setAttribute(ee,n),e.textContent=t,this.document.head.appendChild(e)}}_n(){const t={},n=this.element.attributes;if(n)for(let e=0;e<n.length;e++){const i=n[e];i.name!==_e&&(t[i.name]=i.value)}this.ht={containerAttributes:t}}}const Jl=(t,n)=>{const{val:e,set:i,iCtx:s,i:r}=Ko();if(e)return;i(1);const o=new Yl(6|(!1===n?.deferUpdates?0:8),r,s.$,t,void 0,null);i(o);const l=s.O,{H:c}=s,u=Fe(c,()=>Hl(o,l,s.$));Ie(u)&&(s.H=u)},Hl=(t,n,e)=>{t.R&=-5,or(t);const i=Gt(n.U,e,"qTask");i.O=n;const s=t.ot.getFn(i,()=>y(n,t)),r=ns(t,n),[o]=((t,n)=>{let e=null;return[i=>{"function"==typeof i&&(e||(e=[],t.Bt=()=>{t.Bt=null;for(const t of e)try{t()}catch(t){n(t)}}),e.push(i))},e??[]]})(t,t=>n.handleError(t,e)),l={track:r,cleanup:o};return Te(()=>s(l),o,i=>{if(Ie(i))return i.then(()=>Hl(t,n,e));n.handleError(i,e)})};class Yl extends Si{R;sn;L;ot;ft;Bt;constructor(t,n,e,i,s,r){super(),this.R=t,this.sn=n,this.L=e,this.ot=i,this.ft=s,this.Bt=r}}const Gl=t=>t instanceof Yl,Xl=t=>{if(!t.resolved)throw t.resolve()},Kl=t=>t instanceof Ni,Zl=(t,n)=>{t.add(n)},tc=(t,n)=>{(t.backRef||=new Set).add(n)},nc=(t,n)=>{if(n?.serializationCtx){const e=t.consumer,i=t.property;let s=null;Gl(e)?s=e.ot:e instanceof es?s=e.qt:":"===i&&(s=n.getHostProp(e,Kn)),s&&n.serializationCtx.rt.add(s)}},ec=(t,n,e)=>{const i=(import.meta,!0);if(e){const s=e=>{const s=e.consumer,r=e.property;if(Gl(s))s.R|=4,It(t,s.L,1);else if(s instanceof Ni)s.invalidate();else if(":"===r)It(t,s,4);else if("."===r)i&&(o=s,l=n,(o.props||={})[Oi]=l,It(t,s,2));else{const o=e.data;if(o instanceof gs){const e=o.data,l={isConst:e.Gt,scopedStyleIdPrefix:e.Yt,value:n};if(i)((t,n,e)=>{const i=t.props||={};let s=i[Ai];s||(s=new Map,i[Ai]=s),s.set(n,e)})(s,r,l);else{const t=s;let n=t.getProp(Ai);n||(n=new Map,t.setProp(Ai,n)),n.set(r,l)}It(t,s,8)}}var o,l},r=Array.from(e);for(const t of r)s(t)}},ic=t=>Un(t)&&"function"==typeof t[Pc],sc=t=>{let n=1;switch(t){case"never":n|=8;break;case"always":n|=16}return n},rc=[],oc=t=>{if(qs(t)){if("function"==typeof t.type){const n=t.type[Jc];if(n){const[t]=n;return"Component("+t.Y+")"}return"Function("+t.type.name+")"}let n="<"+t.type;if(t.props){for(const[e,i]of Object.entries(t.props))n+=" "+e+"="+yn(i);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=oc(t)}):n+=oc(e),n+="</"+t.type+">"):n+="/>"}return n}return t+""},lc=t=>t[Zi],cc=t=>t?.[Ki]||null,uc=(t,n)=>{const e=lc(t);e&&e.force(n)},fc=(t,n)=>{const e=lc(t);return!!e&&(e.p?.get(n)?.size??0)>0},ac=t=>cc(t)||t,hc=t=>Ki in t,dc=(t,n,e)=>{if(Wn(t)&&e){let i=e.h.get(t);return i||(i=mn(e,t,n),e.h.set(t,i)),i}return t};class pc{R;O;p=void 0;constructor(t,n){this.R=t,this.O=n}toString(){return"[Store]"}force(t){const n=cc(this);ec(this.O,this,vn(n,t,this.p))}get(t,n){if("symbol"==typeof n)return n===Ki?t:n===Zi?this:t[n];const e=Lo(),i=t[n];if(e){if(null===this.O){if(!e.O)return i;this.O=e.O}const s=e.J;s&&wn(t,Array.isArray(t)?ts:n,this,s)}return"toString"===n&&i===Object.prototype.toString?this.toString:1&this.R&&Un(i)&&!Object.isFrozen(i)&&!hc(i)&&!Object.isFrozen(t)?dc(i,this.R,this.O):i}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const i=1&this.R?ac(e):e;return n in t?i!==t[n]&&bn(n,i,t,this):bn(n,i,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Array.isArray(t)||ec(this.O,this,vn(t,n,this.p)),!0)}has(t,n){if(n===Ki)return!0;if("string"==typeof n){const e=Lo();if(e){const i=e.J;i&&wn(t,Array.isArray(t)?ts:n,this,i)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=Lo(),e=n?.J;return e&&wn(t,ts,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 $c=(t,n)=>t[n],yc=(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(hc(t)&&(t=cc(t)),e==Object.prototype){for(const e in t)if(!yc(Vo($c,t,e),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!yc(t[e],n))return!1;return!0}if(Gl(t))return!0;if(Yi(t))return!0;if(Ie(t))return!0;if(qs(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 gs)return!0;if(xl?.(t))return!0}else if("function"==typeof t){if(Hn(t)||Hc(t)||t===Ws||t===Fs)return!0}else if(t===Li||t===Gi||t===ts)return!0;return!1},mc=(t,n)=>{let e=xr(t)?Vt.call(t,1,"",!0).replaceAll(/\n.*/gm,""):"function"==typeof t?t+"":(t=>{const n=new WeakSet;return JSON.stringify(t,(t,e)=>{if(Un(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 wc=!1;const bc=(t,n=!1,e="",i=20)=>{const s=n?"":"",r=n?"":"",o=""===e,l=[];for(let o=0;o<t.length;o++){if(i&&o>2*i){l.push("...");break}const c=t[o];let u=t[++o];if(0===c){"number"!=typeof u&&"string"!=typeof u&&(wc=!0);const t=`{${Un(u)?u.constructor.name:typeof u}}`;l.push(`${s}${t}${r} ${mc(u,e+" ")}`)}else 3===c?u=gc(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${bc(u,n,e+" ")}\n${e}]`:"[]"),l.push(`${s}${vc(c)}${r} ${u}`)}const c=l.map((t,n)=>`${e}${o?n+" ":""}${t}`).join("\n");if(o){const n=wc?"":`(${JSON.stringify(t).length} chars)`;return wc=!1,`\n${c}\n${n}`}return c},vc=t=>ol[t]||`Unknown(${t})`,gc=t=>rl[t]||`Unknown(${t})`,Sc=(t,n)=>Vo(kc,t,new WeakSet,"_",n),kc=(t,n,e,i)=>{const s=ac(t);if(null==s)return t;if(qc(s)){if("object"==typeof s){if(n.has(s))return t;n.add(s)}if(Kl(s))return t;if(yc(s))return t;const r=typeof s;if("object"===r){if(Ie(s))return t;if((t=>t&&"number"==typeof t.nodeType)(s))return t;if(Vn(s)){let i=0;return s.forEach((t,r)=>{if(r!==i)throw Qn(3,[s]);kc(t,n,e+"["+r+"]"),i=r+1}),t}if(s.__brand)return t;if(Wn(s)){for(const[t,i]of Object.entries(s))kc(i,n,e+"."+t);return t}}let o;if(o=i||"Value cannot be serialized","_"!==e&&(o+=` in ${e},`),"object"===r)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"===r){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 Qn(3,[o])}return t},xc=/*#__PURE__*/new WeakSet,qc=t=>!Un(t)&&!Bn(t)||!xc.has(t)&&!(Cc in t),Rc=t=>!!t&&(Un(t)||"function"==typeof t)&&(xc.has(t)||Cc in t),jc=t=>((Un(t)&&null!==t||"function"==typeof t)&&xc.add(t),t),Cc=Symbol(),Pc=Symbol();let Ac=null;const Oc=t=>{Ac=t},_c=(t,n)=>{const e=[];for(const i of n.split(" "))e.push(t._(i));return e},Nc=t=>{if(Ac=t.it,"string"==typeof Ac){if(!t.O)throw Qn(13);const n=El;if(Ac=t.it=_c(t.O,Ac),El!==n)return El}},Mc=(t,n)=>"function"==typeof n&&t.it?function(...e){return Nc(t),n.apply(this,e)}:n,Ec=(t,n,e,i,s)=>{const r=async function(...t){if(r.resolved)return r.resolved.apply(this,t);const n=Lo();return await r.resolve(n?.O),Ht.call(this,n,r.resolved,t)};i&&n in i&&(e=i[n]);const o=null!=e?async()=>e:((t,n)=>{let e;return async i=>{if(null!=e)return e;if(i)t.O=i;else if(!t.O){const n=Lo();n?.O&&(t.O=n.O)}if(""===t.G){const n=t.O.xn,i=t.O.element?.ownerDocument||document,s=ce(i,n);return t.resolved=e=s[+t.Y]}t.G&&An(t.G,1);const s=Dc(),r=t.Y,o=n?n().then(t=>t[r]):pi().importSymbol(t.O?.element,t.G,r);if(e=Fe(o,i=>(n&&(n[r]=i),e=t.resolved=Mc(t,i))),Ie(e)){const t=Lo();e.then(()=>Tc(r,t?.$ instanceof qi?t?.$.node:void 0,s),t=>{console.error(`qrl ${r} failed to load`,t),e=null})}return t.O&&await Nc(t),e}})(r,i),l=(t=>{const n=t.lastIndexOf("_");return n>-1?t.slice(n+1):t})(n);return Object.assign(r,{getSymbol:Rn,getHash:jn,getCaptured:Cn,getFn:function(t,n){return qn.call(this,r,t,n)},resolve:o,resolved:void 0,G:t,Y:n,M:l,it:s,O:null}),null!=e&&(e=Fe(Nc(r),()=>Fe(e,t=>e=r.resolved=Mc(r,t)))),t&&An(t,.8),r},Ic=/*#__PURE__*/new Set,Tc=(t,n,e)=>{Ic.has(t)||(Ic.add(t),Fc("qsymbol",{symbol:t,element:n,reqTime:e}))},Fc=(t,n)=>{"object"==typeof document&&document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},Dc=()=>"object"==typeof performance?performance.now():0;let Lc=0;const Wc=t=>Ec(null,"s"+Lc++,t,null,null),Uc=Wc,Vc=t=>t,zc=t=>Ec("",Jn,t,null,null),Bc=(t,n)=>(void 0===n&&(n=""+t),t.serialized=n,Ec("",Jn,t,null,null)),Qc=t=>{function n(n,e){const i=t.M.slice(0,4)+":"+(e||""),s=()=>{};return s[Jc]=[t],As(s,n,null,n.children,0,i)}return n[Jc]=[t],n},Jc=Symbol(),Hc=t=>"function"==typeof t&&void 0!==t[Jc],Yc=t=>Qc(Uc(t)),Gc=rs(Vc),Xc=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!yi(n);)n=n.nextSibling;t=n}t.setAttribute(pe,"resumed");const i=hn(t);i.ht=e.serverData||{};const s=i.rootVNode;return _r(s,Oi,n),It(i,s,2),await i.l,{cleanup:()=>{dt(i,[],i.rootVNode)}}},Kc=(t,n)=>{const{val:e,set:i,iCtx:s}=Ko();if(null!=e)return e;const r=Bn(t)?Jt(void 0,t):t;if(!1===n?.reactive)return i(r),r;{const t=s.O,e=dc(r,n?.deep??1?1:0,t);return i(e),e}},Zc=()=>{const{val:t,set:n,iCtx:e}=Ko();if(null!=t)return t;const i=e.O.qn||"",s=i?Be(i).substring(0,3):"",r=e.O.getHostProp(e.$,Kn);let o=`${s}${r?.getHash().substring(0,3)||""}${(e.O.kn++).toString(36)||""}`,l=o.charCodeAt(0);return l>=48&&l<=57&&(l+=17,o=String.fromCharCode(l)+o.substring(1)),n(o)},tu=/*#__PURE__*/new Map,nu=(t,n)=>{let e=tu.get(n);return e||tu.set(n,e=eu(t,n)),e},eu=(t,n)=>{function e(n){l.push(t.substring(f,n)),f=n}function i(t){a===uu||r()||(e(t),l.push(".",Zn,n))}function s(n){let e=0;if(t.charCodeAt(u)===Ru)for(let n=1;n<10;n++)if(t.charCodeAt(u+n)===Ru){e=n+1;break}t:for(let i=3;i<n.length;i++){const s=n[i];for(let n=0;n<s.length;n++)if((t.charCodeAt(u+n+e)|Iu)!==s.charCodeAt(n))continue t;return u+=s.length+e,!0}return!1}function r(){return-1!==c.indexOf(uu)||-1!==c.indexOf(au)}const o=t.length,l=[],c=[];let u=0,f=u,a=lu,h=0;for(;u<o;){const n=u;let o=t.charCodeAt(u++);o===Mu&&(u++,o=Ou);const l=Uu[a];for(let d=0;d<l.length;d++){const p=l[d],[$,y,m]=p;if(($===h||$===yu||$===mu&&iu(h)||$===bu&&ou(h))&&(y===o||y===yu||y===mu&&iu(o)||y===wu&&!iu(o)&&o!==ju||y===bu&&ou(o))&&(3==p.length||s(p))){if(p.length>3&&(o=t.charCodeAt(u-1)),m===pu||m==$u){m===$u&&(a!==cu||r()?su(o)||i(u-(y==wu?1:y==qu?2:0)):(su(o)?e(u-2):i(u-2),f++)),y===wu&&(u--,o=h);do{a=c.pop()||lu,a===uu&&(e(u-1),f++)}while(ru(a))}else c.push(a),a===uu&&m===lu?(e(u-8),f=u):m===fu&&i(n),a=m;break}}h=o}return e(u),l.join("")},iu=t=>t>=Cu&&t<=Pu||t>=Ou&&t<=_u||t>=Tu&&t<=Fu||t>=128||t===Eu||t===Ru,su=t=>t===Au||t===ju||t===Nu||t===xu||iu(t),ru=t=>t===hu||t===au||t===du||t===uu,ou=t=>t===ku||t===vu||t===gu||t===Su,lu=0,cu=2,uu=5,fu=6,au=10,hu=11,du=12,pu=17,$u=18,yu=0,mu=1,wu=2,bu=3,vu=9,gu=10,Su=13,ku=32,xu=35,qu=41,Ru=45,ju=46,Cu=48,Pu=57,Au=58,Ou=65,_u=90,Nu=91,Mu=92,Eu=95,Iu=32,Tu=97,Fu=122,Du=123,Lu=125,Wu=/*@__PURE__*/(()=>[[yu,39,14],[yu,34,15],[yu,47,16,"*"]])(),Uu=/*@__PURE__*/(()=>[[[yu,42,cu],[yu,Nu,7],[yu,Au,fu,":","before","after","first-letter","first-line"],[yu,Au,uu,"global"],[yu,Au,3,"has","host-context","not","where","is","matches","any"],[yu,Au,4],[yu,mu,1],[yu,ju,1],[yu,xu,1],[yu,64,au,"keyframe"],[yu,64,hu,"media","supports","container"],[yu,64,du],[yu,Du,13],[47,42,16],[yu,59,pu],[yu,Lu,pu],[yu,qu,pu],...Wu],[[yu,wu,$u]],[[yu,wu,$u]],[[yu,40,lu],[yu,wu,$u]],[[yu,40,8],[yu,wu,$u]],[[yu,40,lu],[yu,wu,pu]],[[yu,wu,pu]],[[yu,93,$u],[yu,39,14],[yu,34,15]],[[yu,qu,pu],...Wu],[[yu,Lu,pu],...Wu],[[yu,Lu,pu],[bu,mu,1],[yu,Au,uu,"global"],[yu,Du,13],...Wu],[[yu,Du,lu],[yu,59,pu],...Wu],[[yu,59,pu],[yu,Du,9],...Wu],[[yu,Lu,pu],[yu,Du,13],[yu,40,8],...Wu],[[yu,39,pu]],[[yu,34,pu]],[[42,47,pu]]])(),Vu=t=>({styleId:Ju(t,t=>t,!1)}),zu=/*#__PURE__*/rs(Vu),Bu=t=>({scopeId:Zn+Ju(t,nu,!0)}),Qu=/*#__PURE__*/rs(Bu),Ju=(t,n,e)=>{const{val:i,set:s,iCtx:r,i:o}=Ko();if(i)return i;const l=(c=o,`${Be(t.M)}-${c}`);var c;const u=r.$;if(s(l),!t.resolved)throw t.resolve().then(t=>r.O.Mn(n(t,l),l,u,e));return r.O.Mn(n(t.resolved,l),l,u,e),l},Hu=(t,n)=>{Xu("q-e:",t,n)},Yu=(t,n)=>{Xu("q-d:",t,n)},Gu=(t,n)=>{Xu("q-w:",t,n)},Xu=(t,n,e)=>{const{isAdded:i,addEvent:s}=Ku();if(!i&&e)if(Array.isArray(n))for(const i of n)s(t+Ve(i),e);else s(t+Ve(n),e)},Ku=()=>{const t=Wo(),n=t.$;let e=t.O.getHostProp(n,Pe);null===e&&(e={},t.O.setHostProp(n,Pe,e));let i=t.O.getHostProp(n,Ae);null===i&&(i=0),t.O.setHostProp(n,Ae,i+1);let s=t.O.getHostProp(n,Oe);for(null===s&&(s=[],t.O.setHostProp(n,Oe,s));s.length<=i;)s.push(!1);return{isAdded:s[i],addEvent:(t,n)=>{s[i]=!0;let r=e[t];r||(e[t]=r=[]),r.push(n)}}},Zu=t=>{const n=Bn(t)&&!Hc(t)?Jt(void 0,t):t;return fs(n)},tf=t=>nf(Zu,t),nf=(t,...n)=>{const{val:e,set:i}=Ko();return null!=e?e:i(t=Bn(t)&&!Hc(t)?Vo(t,...n):t)},ef=(t,n)=>(t.resolve(),ls(t,n)),sf=(t,n)=>nf(ef,t,n),rf=rs(sf),of=t=>(t.resolve(),us(t)),lf=t=>nf(of,t),cf=rs(lf),uf=(t,n)=>{const{val:e,set:i,i:s,iCtx:r}=Ko(),o=n?.strategy??"intersection-observer";if(e)return void(32&e.R||(e.R|=32,ff(e,o)));let l;l=5,t.resolve(),It(r.O,r.$,1);const c=new Yl(5,s,r.$,t,void 0,null);i(c),ff(c,o)},ff=(t,n)=>{"intersection-observer"===n?Hu("qvisible",af(t)):"document-ready"===n?Yu("qinit",af(t)):"document-idle"===n&&Yu("qidle",af(t))},af=t=>Ec(null,"_task",$n,null,[t]),hf=rs(_l),df=/*#__PURE__*/rs(Jl),pf=/*#__PURE__*/rs(uf),$f=(t,n)=>(t.resolve(),cs(t,n)),yf=(t,n)=>nf($f,t,n),mf=rs(yf),wf=()=>{const t=Kc({error:void 0});return tl(il,t),t},bf=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 i=vf.replace('"_URL_"',JSON.stringify(e.path.split("/").pop()));return i=i.replaceAll(/\s\s+/gm,""),Ps("script",null,{dangerouslySetInnerHTML:"("+i+")(navigator.serviceWorker);",nonce:e.nonce},null,0,"prefetch-service-worker")},vf=/*#__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)}),gf=()=>null;globalThis.__qwik&&Qn(30,[globalThis.__qwik,ui]),globalThis.__qwik=ui,import.meta.hot&&import.meta.hot.dispose(()=>{globalThis.__qwik=void 0});export{Wc as $,Fs as Fragment,Cc as NoSerializeSymbol,gf as PrefetchGraph,bf as PrefetchServiceWorker,Ds as RenderOnce,Nl as Resource,zs as SSRComment,Vs as SSRRaw,Qs as SSRStream,Bs as SSRStreamBlock,Pc as SerializerSymbol,Us as SkipRender,Ws as Slot,Ei as _CONST_PROPS,Ql as _DomContainer,gi as _EFFECT_BACK_REF,Wi as _EMPTY_ARRAY,Ui as _EMPTY_OBJ,Di as _IMMUTABLE,Cl as _SharedContainer,gs as _SubscriptionData,Li as _UNINITIALIZED,Ii as _VAR_PROPS,Ac as _captures,S as _chk,Ec as _createQRL,kn as _deserialize,bc as _dumpState,Mt as _executeSsrChores,ml as _fnSignal,Hi as _getConstProps,Yo as _getContextContainer,Ho as _getContextEvent,Jo as _getContextHostElement,hn as _getDomContainer,pn as _getQContainerElement,Ji as _getVarProps,fc as _hasStoreEffects,qs as _isJSXNode,hc as _isStore,nn as _isStringifiable,Gl as _isTask,Go as _jsxBranch,Os as _jsxC,Ns as _jsxQ,_s as _jsxS,Ps as _jsxSorted,As as _jsxSplit,Tn as _mapApp_findIndx,Dn as _mapArray_get,Fn as _mapArray_set,hl as _noopQrl,dl as _noopQrlDEV,gn as _preprocessState,Bc as _qrlSync,Xt as _qrlToString,yl as _regSymbol,k as _res,el as _resolveContextWithoutSequentialScope,Gs as _restProps,Ol as _rsc,N as _run,Sn as _serialize,un as _setEvent,$n as _task,g as _val,Sc as _verifySerializable,Er as _vnode_ensureElementInflated,Co as _vnode_getAttrKeys,eo as _vnode_getFirstChild,jr as _vnode_isMaterialized,Cr as _vnode_isTextVNode,Pr as _vnode_isVirtualVNode,Vt as _vnode_toString,Xo as _waitUntilRendered,ln as _walkJSX,ms as _wrapProp,bs as _wrapSignal,Yc as component$,Qc as componentQrl,hs as createAsync$,cs as createAsyncQrl,as as createComputed$,ls as createComputedQrl,Zo as createContextId,x as createElement,ds as createSerializer$,us as createSerializerQrl,fs as createSignal,Gc as event$,Vc as eventQrl,uc as forceStoreEffects,hn as getDomContainer,Bt as getLocale,pi as getPlatform,x as h,rs as implicit$FirstArg,al as inlinedQrl,$l as inlinedQrlDEV,_n as isBrowser,Nn as isDev,On as isServer,Kl as isSignal,Es as jsx,Is as jsxDEV,Ts as jsxs,jc as noSerialize,fl as qrl,pl as qrlDEV,Xc as render,di as setPlatform,zc as sync$,Vo as untrack,ac as unwrapStore,mf as useAsync$,yf as useAsyncQrl,rf as useComputed$,sf as useComputedQrl,nf as useConstant,nl as useContext,tl as useContextProvider,wf as useErrorBoundary,Zc as useId,Al as useLexicalScope,Hu as useOn,Yu as useOnDocument,Gu as useOnWindow,hf as useResource$,_l as useResourceQrl,cf as useSerializer$,lf as useSerializerQrl,Pn as useServerData,tf as useSignal,Kc as useStore,zu as useStyles$,Vu as useStylesQrl,Qu as useStylesScoped$,Bu as useStylesScopedQrl,df as useTask$,Jl as useTaskQrl,pf as useVisibleTask$,uf as useVisibleTaskQrl,ui as version,Qt as withLocale};
1
+ function t(t){let n="";const e=t.length;let i=0,s=i;for(;i<e;i++){const e=t.charCodeAt(i);if(60===e)n+=t.substring(s,i)+"&lt;";else if(62===e)n+=t.substring(s,i)+"&gt;";else if(38===e)n+=t.substring(s,i)+"&amp;";else if(34===e)n+=t.substring(s,i)+"&quot;";else{if(39!==e)continue;n+=t.substring(s,i)+"&#39;"}s=i+1}return 0===s?t:n+t.substring(s)}function n(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 e(t,n=Le){let e,i=!1;try{e=t(),i=!0}catch(t){e=t}if(!Te(e))return i?e:n(e);let s=Ie;const r=async e=>{for(;Te(e);)try{return await e,await t()}catch(t){if(!Te(t)){e=t;break}if(! --s){e=Error("Exceeded max retry count in retryOnPromise");break}e=t}return n(e)};return i?e.catch(r):r(e)}function i(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 i=t.slice(e,-1);return"DOMContentLoaded"===i?n+"-d-o-m-content-loaded":((t,n)=>n+ze(t))("-"===i.charAt(0)?i.slice(1):i.toLowerCase(),n)}}return null}function s(t,n,e){if((t=>"class"===t)(t)){const t=Je(n);n=e?e+(t.length?" "+t:t):t}else"style"===t?n=(t=>{if(null==t)return"";if("object"==typeof t){if(zn(t))throw Jn(0,[t,"style"]);{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const i=t[e];null!=i&&"function"!=typeof i&&(e.startsWith("--")?n.push(e+":"+i):n.push(He(e)+":"+Ye(e,i)))}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 r(t,n,e,i=!1){const s=t.ownerDocument.createElementNS(e,n);for(const n of t.attributes)n.name!==Ne&&s.setAttribute(n.name,n.value);if(i)for(const n of t.childNodes){const t=n.nodeType;3===t?s.appendChild(n.cloneNode()):1===t&&s.appendChild(r(n,n.localName,e,i))}return s}function o(t,n){const e=!t||!(!to(t)||(i=t,1536&i.flags));var i;const s=!e&&wi(to(t));let r=we,o=0;const l="string"==typeof n||Rr(n);return l&&(t=>"string"==typeof t?bi(t):!!Rr(t)&&(bi(to(t))||!!(512&t.flags)))(n)?(r=be,o=512):l&&(t=>"string"==typeof t?vi(t):!!Rr(t)&&(vi(to(t))||!!(1024&t.flags)))(n)?(r=ve,o=1024):!t||s||e||(r=512&t.flags?be:1024&t.flags?ve:we,o=1536&t.flags),gi.elementNamespace=r,gi.elementNamespaceFlag=o,gi}function l(t,n){const e=d(n).priority;let i=Ci.length;for(let t=0;t<Ci.length;t++)if(e<d(Ci[t]).priority){i=t;break}Ci.splice(i,0,n),t.o++,t.l||=new Promise(n=>t.u=n)}function c(){for(let t=0;t<Ci.length;t++){const n=Ci[t];let e=!1;for(let t=0;t<Pi.length;t++)if(Ao(n,Pi[t])){e=!0;break}if(!e)return n}return null}function u(t,n){Pi.push(t),a(t,n,!0),n.o++}function f(t,n){const e=Pi.indexOf(t);if(-1!==e){const t=Pi.length-1;e!==t&&(Pi[e]=Pi[t]),Pi.pop(),n.o--}l(n,t)}function a(t,n,e){e||(t.flags&=-257);const i=Ci.indexOf(t);-1!==i&&(Ci.splice(i,1),n.o--)}function h(t,n,e){n.position=e,e&&Nt(e)&&((t,n,e)=>{a(e,t);const i=d(e);if(i===n)return;const s=i.afterFlushTasks;if(s&&s.length>0){const t=n.afterFlushTasks;t?t.push(...s):n.afterFlushTasks=s}const r=i.extraPromises;if(r&&r.length>0){const t=n.extraPromises;t?t.push(...r):n.extraPromises=r}const o=i.journal;if(o&&o.length>0){const t=n.journal;t?t.push(...o):n.journal=o}})(t,n,e)}function d(t){return Ai.get(t)??null}function p(t){return new Proxy({},new zi(t))}function $(t,n,e){t[Si]||(t[Si]=new Map);const i=t[Si];let s=i.get(n);return s||(s=new Ki(t,n),i.set(n,s)),e&&(s.data=e),s}function y(t,n){qr(n)&&Rr(n)&&so(n);const e=n[Si];if(e){for(const[,n]of e)m(t,n);e.clear()}}function m(t,n){const e=n.backRef;if(e){for(const i of e)if(i instanceof rs)b(i,n);else if(i instanceof Mi)w(t,i,n);else if(Gi(i))v(i[Di],n);else if(t.h.has(i)){const e=t.h.get(i);v(cc(e),n)}e.clear()}}function w(t,n,e){const i=n.p;i&&i.has(e)&&i.delete(e),n instanceof gs&&!i?.size&&(n.$=void 0,y(t,n))}function b(t,n){const e=t.p;e&&e.has(n)&&e.delete(n);const i=t.m;i&&i.has(n)&&i.delete(n);const s=t.k;s&&s.has(n)&&s.delete(n),t.q()}function v(t,n){const e=t?.p;if(e)for(const[t,i]of e.entries())i.has(n)&&(i.delete(n),0===i.size&&e.delete(t))}function g(t,n){ks(this,n),Oc[0].value="number"===n.type?n.valueAsNumber:n.value}function S(t,n){ks(this,n),Oc[0].value=n.checked}function k(t,n){if(ks(this,n),Oc)for(const t of Oc)t instanceof rs&&64&t.R&&t.j()}function x(t,n,...e){const i={children:arguments.length>2?e.flat(100):null};let s=null;for(const t in n)"key"==t?s=n[t]:i[t]=n[t];return Os(t,n,null,i.children,0,s)}function q(t,n){const e=j(t);let i=t;const s="q-e:qvisible";return De(e,t=>{const e=!t;let r=null;for(const o in n)if(Object.prototype.hasOwnProperty.call(n,o)){let l=t,c=o;if(e){if(o!==s&&!o.startsWith("q-d:")&&!o.startsWith("q-w:"))continue;if(!r){const[t,n]=C(i);i=n,r=t}l=r}l&&("script"===l.type&&o===s&&(c="q-d:qinit"),R(l,c,n[o]))}return i})}function R(t,n,e){const i=t.constProps||={},s=i[n];null==s?i[n]=e:Array.isArray(s)?s.push(...e):i[n]=[s,...e],t.varProps[n]&&(Array.isArray(s)?s.push(...i[n]):t.varProps[n]=[s,...e],i[n]=void 0)}function j(t){const n=[t];for(;n.length;){const t=n.shift();if(Rs(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(zn(t))n.push(...t);else{if(Te(t))return De(t,t=>j(t));if(Zl(t))return j(t.untrackedValue)}}return null}function C(t){if(Rs(t)){const n=P();return t.type===Ds||Yc(t.type)?(null==t.children?t.children=n:zn(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,As(Ds,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n||null==n){const n=P();return[n,As(Ds,null,null,[t,n],0,null)]}var n;if(zn(t)&&t.length>0){const[n,e]=C(t[0]);return[n,t]}return[null,t]}function P(){return new xs("script",null,{hidden:""},null,null)}function A(t,n,e,i){if(null!=e){if(i){const i=(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(i)return void((t,n,e,i)=>{Gs||(Gs=t.setAttributeNS),Gs.call(t,n,e,i)})(t,i,n,e)}s=t,Ys||(Ys=s.setAttribute),Ys.call(s,n,e)}var s}function O(t){return!t.startsWith("q:")&&!t.startsWith(Pe)}function _(t,n,i,s=Vo(n,i)){const r=s.O,o=s.$;Ir(r,o);let l=t;if(64&o.flags){let e;128&o.flags||(e=!0,o.flags|=128);const s=e?r._:null,c=_r(o,je,s);if(null!==c)l=()=>t(n,i,c);else{const e=_r(o,Ce,s);null!==e&&(l=()=>t(n,i,...e))}}return e(()=>{if(!(32&o.flags))return Ht(s,l,[n,i])},t=>r.handleError(t,o))}function N(t,n){if(!n.isConnected)return;const e=Vo(t,n);return"string"==typeof this&&_c(Nc(e.O,this)),_(Oc[0],t,n,e)}function M(t){return t?t.nextSibling:null}function E(t,n,e,i,s,r){import.meta.env.TEST&&s&&Nr(n,Ee,s),Nr(n,e,r),Tt(t,or(n.node,e,i,s,!!(512&n.flags)))}function I(t,n,e){if(t.vParent=e,t.vNewNode=null,t.vCurrent=io(e),W(t,n,!0),!(32&t.vParent.flags))for(;t.stack.length;){for(;t.jsxIdx<t.jsxCount;){if("string"==typeof t.jsxValue)lt(t,t.jsxValue);else if("number"==typeof t.jsxValue)lt(t,t.jsxValue+"");else if(t.jsxValue&&"object"==typeof t.jsxValue)if(Rs(t.jsxValue)){const n=t.jsxValue.type;"string"==typeof n?(G(t),Z(t,t.jsxValue,n),t.jsxValue.constProps&&cr.call(t.jsxValue.constProps,Me)||cr.call(t.jsxValue.varProps,Me)?H(t,!1):D(t,t.jsxValue.children,!0)):"function"==typeof n&&(n===Ds?(G(t),it(t,"F",t.jsxValue.key),D(t,t.jsxValue.children,!0)):n===Us?(G(t),z(t)||D(t,t.jsxValue.children,!0)):n===ft?(V(t),D(t,t.jsxValue.children,!0,!1)):n===Bs||n===zs?Y(t):(G(t),st(t,n)))}else if(Array.isArray(t.jsxValue))D(t,t.jsxValue,!1);else if(Zl(t.jsxValue)){it(t,"S",null);const n=t.jsxValue instanceof gs?t.jsxValue.N():t.jsxValue,e=t.vCurrent?.[Si]?.get(".")?.backRef;let i=e?.has(n);if(e&&n instanceof gs&&(i=mt(e,n)),!i){const e=t.vNewNode||t.vCurrent;D(t,T(t,()=>Jo(n,e,".",t.container)),!0)}}else Te(t.jsxValue)&&(it(t,"A",null),t.asyncQueue.push(t.jsxValue,t.vNewNode||t.vCurrent));else t.jsxValue===Vs||lt(t,"");F(t)}Y(t),B(t),L(t)}}function T(t,n){try{return n()}catch(i){if(Te(i)){const s=i.then(()=>e(n));return t.asyncQueue.push(s,t.vNewNode||t.vCurrent),null}throw i}}function F(t){if(t.shouldAdvance){if(t.jsxIdx++,t.jsxIdx<t.jsxCount)t.jsxValue=t.jsxChildren[t.jsxIdx];else if(t.stack.length>0&&!1===t.stack[t.stack.length-1])return L(t);null!==t.vNewNode?t.vNewNode=null:t.vCurrent=M(t.vCurrent)}else t.shouldAdvance=!0}function D(t,n,e,i=!0){if(i&&(null==n||e&&zn(n)&&0===n.length))H(t);else{if(W(t,n,e),e){const n=t.isCreationMode||!!t.vNewNode||!io(t.vCurrent);t.isCreationMode=n,t.vSideBuffer=null,t.vSiblings=null,t.vSiblingsArray=null,t.vParent=t.vNewNode||t.vCurrent,t.vCurrent=io(t.vParent),t.vNewNode=null}t.shouldAdvance=!1}}function L(t){t.stack.pop()&&(t.isCreationMode=t.stack.pop(),t.vSideBuffer=t.stack.pop(),t.vSiblings=t.stack.pop(),t.vSiblingsArray=t.stack.pop(),t.vNewNode=t.stack.pop(),t.vCurrent=t.stack.pop(),t.vParent=t.stack.pop()),t.jsxValue=t.stack.pop(),t.jsxCount=t.stack.pop(),t.jsxIdx=t.stack.pop(),t.jsxChildren=t.stack.pop(),F(t)}function W(t,n,e){t.stack.push(t.jsxChildren,t.jsxIdx,t.jsxCount,t.jsxValue),e&&t.stack.push(t.vParent,t.vCurrent,t.vNewNode,t.vSiblingsArray,t.vSiblings,t.vSideBuffer,t.isCreationMode),t.stack.push(e),Array.isArray(n)?(t.jsxIdx=0,t.jsxCount=n.length,t.jsxChildren=n,t.jsxValue=t.jsxCount>0?n[0]:null):void 0===n?(t.jsxIdx=0,t.jsxValue=null,t.jsxChildren=null,t.jsxCount=0):(t.jsxIdx=0,t.jsxValue=n,t.jsxChildren=null,t.jsxCount=1)}function U(t){return t.vNewNode?t.vCurrent:M(t.vCurrent)}function V(t){const n=t.jsxValue.key;t.vCurrent=_r(t.vParent,n,n=>Dr(t.container.rootVNode,n)),t.vCurrent=t.vCurrent&&32&t.vCurrent.flags?null:t.vCurrent,null==t.vCurrent&&(t.vNewNode=xr(),Nr(t.vNewNode,ne,n),t.vNewNode.slotParent=t.vParent,Nr(t.vParent,n,t.vNewNode))}function z(t){const n=Fo(t.vParent),e=((t,n)=>{const e=t.jsxValue,i=e.constProps;if(i&&"object"==typeof i&&cr.call(i,"name")){const e=i.name;if(n&&e instanceof gs)return Jo(e,n,":",t.container)}return Ji(e,"name")||""})(t,n),i=n?_r(n,e,null):null;if(null==i)return t.vNewNode=xr(),Nr(t.vNewNode,ne,e),n&&Nr(n,e,t.vNewNode),Yr(t.journal,t.vParent,t.vNewNode,t.vCurrent&&U(t)),!1;if(i===t.vCurrent);else{const s=i.parent;t.vNewNode=i,Nr(t.vNewNode,ne,e),n&&Nr(n,e,t.vNewNode),Yr(t.journal,t.vParent,t.vNewNode,t.vCurrent&&U(t)),s&&Rr(s)&&!s.firstChild&&to(s)===me&&Kr(t.journal,s.parent,s,!0)}return!0}function B(t){if(t.vSideBuffer){for(const n of t.vSideBuffer.values())32&n.flags||(dt(t.container,t.journal,n,t.cursor),Kr(t.journal,t.vParent,n,!0));t.vSideBuffer.clear(),t.vSideBuffer=null}t.vCurrent=null}function Q(t){for(;t.asyncQueue.length;){const n=t.asyncQueue.shift(),e=t.asyncQueue.shift();if(Te(n))return n.then(n=>(I(t,n,e),Q(t))).catch(n=>(t.container.handleError(n,e),Q(t)));I(t,n,e)}if(t.asyncAttributePromises.length){const n=t.asyncAttributePromises.splice(0);return Promise.all(n).then(()=>Q(t))}}function J(t){t.journal=null,t.cursor=null}function H(t,n=!0){const e=t.vCurrent&&io(t.vCurrent);if(null!==e){let i=e;for(;i;)dt(t.container,t.journal,i,t.cursor),i=i.nextSibling;Zr(t.journal,t.vCurrent,e,n)}}function Y(t){if(null!==t.vCurrent)for(;t.vCurrent;){const n=t.vCurrent;t.vCurrent=M(t.vCurrent),t.vParent===n.parent&&(dt(t.container,t.journal,n,t.cursor),Kr(t.journal,t.vParent,n,!0))}}function G(t){if(null!==t.vCurrent&&Pr(t.vCurrent)){const n=t.vCurrent;t.vCurrent=M(t.vCurrent),Kr(t.journal,t.vParent,n,!0)}}function X(n,i,r,l){const c=((t,n)=>{const e=o(Xr(t.vParent,!0),n),i=import.meta.env.TEST?t.container.document:document,s=0===e.elementNamespaceFlag?i.createElement(n):i.createElementNS(e.elementNamespace,n);return t.vNewNode=gr(s,n),t.vNewNode.flags|=e.elementNamespaceFlag,s})(n,r),{constProps:u}=i;if(u)for(const i in u){let o=u[i];if(Ve(i))K(i,o,c,n.vNewNode,n);else{if("ref"===i){if(Zl(o)){o.value=c;continue}if("function"==typeof o){o(c);continue}if(null==o)continue;throw Jn(15,[l])}if(Zl(o)){const t=n.vNewNode,s=o;o=e(()=>Jo(s,t,i,n.container,n.subscriptionData.const))}if(Te(o)){const t=n.vNewNode,e=o.then(e=>A(c,i,s(i,e,n.scopedStyleIdPrefix),!!(512&t.flags)));n.asyncAttributePromises.push(e);continue}if(i!==Me)if("textarea"!==r||"value"!==i)A(c,i,s(i,o,n.scopedStyleIdPrefix),!!(512&n.vNewNode.flags));else{if(o&&"string"!=typeof o)continue;c.value=t(o||"")}else o&&(c.innerHTML=o+"",c.setAttribute($e,"html"))}}const f=i.key;f&&(n.vNewNode.key=f),n.scopedStyleIdPrefix&&(cr.call(i.varProps,"class")||i.constProps&&cr.call(i.constProps,"class")||c.setAttribute("class",n.scopedStyleIdPrefix)),zr(n.journal,n.vParent,n.vNewNode,n.vCurrent)}function K(t,n,e,i,s){const r=t.slice(2);if(Array.isArray(n)){const t=n,i=[];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&&i.push(_.bind(null,n))}else e&&i.push(_.bind(null,e))}i.length>0&&((e._qDispatch||={})[r]=i)}else n&&((e._qDispatch||={})[r]=[_.bind(null,n)]);"e"!==t.charAt(2)&&Mr(s.journal,i,t,""),((t,n)=>{const e=import.meta.env.TEST?t.container.document.defaultView:window;e&&(e._qwikEv||=[]).push(n)})(s,r)}function Z(t,n,e){if(t.isCreationMode)X(t,n,e,null);else{const i=t.vCurrent&&Rr(t.vCurrent),s=i&&e===to(t.vCurrent),r=n.key;s&&r===(i&&t.vCurrent.key)?nt(t,e,r):et(t,e,r,tt(e,r),t.vParent)&&X(t,n,e,null)}const i=n.varProps;i&&((t,n,e,i)=>{t.isCreationMode||Ir(t.container,n);const s=n.props;for(const r in e){const o=e[r];if(s&&cr.call(s,r)){const e=s[r];if(o!==e){if(o instanceof gs&&e instanceof gs&&yt(o,e))continue;fr(t,n,r,o,i)}}else null!=o&&fr(t,n,r,o,i)}if(s)for(const r in s)cr.call(e,r)||":"===r.charAt(0)||Ve(r)||fr(t,n,r,null,i)})(t,t.vNewNode||t.vCurrent,i,null)}function tt(t,n){return null==n?null:t?t+":"+n:n}function nt(t,n,e){const i=tt(n,e);return!(!i||!t.vSideBuffer?.has(i)||(t.vSideBuffer.delete(i),0))}function et(t,n,e,i,s,r){if(t.vNewNode=((t,n,e)=>{let i=null;if(null===t.vSiblings){const s=t.vCurrent;if(s){const i=Rr(s)?to(s):null;if((ct(s)||ut(s,t.container._))===e&&i===n)return s}t.vSiblings=new Map,t.vSiblingsArray=[];let r=t.vCurrent;for(;r;){const s=Rr(r)?to(r):null,o=ct(r)||ut(r,t.container._);null===i&&o==e&&s==n?i=r:null===o?t.vSiblingsArray.push(s,r):t.vSiblings.set(tt(s,o),r),r=r.nextSibling}}else if(null===e){for(let e=0;e<t.vSiblingsArray.length;e+=2)if(t.vSiblingsArray[e]===n){i=t.vSiblingsArray[e+1],t.vSiblingsArray.splice(e,2);break}}else{const s=tt(n,e),r=t.vSiblings.get(s);r&&(i=r,t.vSiblings.delete(s))}return((t,n)=>{if(!n){if(t.vCurrent){const n=Rr(t.vCurrent)?to(t.vCurrent):null,e=ct(t.vCurrent)||ut(t.vCurrent,t.container._);if(null!=e){const i=tt(n,e);t.vSideBuffer||=new Map,t.vSideBuffer.set(i,t.vCurrent),t.vSiblings?.delete(i)}}return}let e=t.vCurrent;for(;e&&e!==n;){const n=Rr(e)?to(e):null,i=ct(e)||ut(e,t.container._);if(null!=i){const s=tt(n,i);t.vSideBuffer||=new Map,t.vSideBuffer.set(s,e),t.vSiblings?.delete(s)}e=e.nextSibling}})(t,i),i})(t,n,e),t.vNewNode)return i||Yr(t.journal,s,t.vNewNode,t.vCurrent),t.vCurrent=t.vNewNode,t.vNewNode=null,!1;if(null!=i){const n=t.vSideBuffer?.get(i)||null;if(n){if(t.vSideBuffer.delete(i),r&&t.vCurrent){const n=ct(t.vCurrent)||ut(t.vCurrent,t.container._);if(null!=n){const e=tt(Rr(t.vCurrent)?to(t.vCurrent):null,n);null!=e&&(t.vSideBuffer||=new Map,t.vSideBuffer.set(e,t.vCurrent))}}return n!==t.vCurrent&&Yr(t.journal,s,n,t.vCurrent),t.vCurrent=n,t.vNewNode=null,!1}}return!0}function it(t,n,e){const i="F"===n,s=ct(t.vCurrent);if(!t.vCurrent||!Ar(t.vCurrent)||s!==e||i&&!e)return null===e||t.isCreationMode?(Br(t.journal,t.vParent,t.vNewNode=xr(),t.vCurrent&&U(t)),void(t.vNewNode.key=e)):void(et(t,null,e,tt(null,e),t.vParent,!0)&&(Br(t.journal,t.vParent,t.vNewNode=xr(),t.vCurrent&&U(t)),t.vNewNode.key=e));nt(t,null,s)}function st(t,n){const e=n[Hc];let i=t.vNewNode||t.vCurrent;const s=t.jsxValue;if(e){const n=s.props;let r=!1;const[o]=e,l=o.M,c=ut(i,t.container._),u=s.key||l;if(u===(ct(i)||c)?l===c&&s.key?nt(t,null,u):(rt(t,i,o,n),i=t.vNewNode,r=!0):(et(t,null,u,u,t.vParent)&&(rt(t,i,o,n),r=!0),i=t.vNewNode||t.vCurrent),i){const e=_r(i,xe,t.container._);r||(r||=((t,n,e,i)=>{let s=!1;if(e){const t=at(n[Ii],e[Ii],e[Di],i,!1);s||=t;const r=at(n[Ti],e[Ti],e[Di],i,!0);s||=r,e[Fi]=n[Fi]}else n&&(Nr(t,xe,n),e=n);return s})(i,n,e,t.container)),r&&(Nr(i,Zn,o),i.flags&=-33,It(t.container,i,4,t.cursor))}((t,n,e)=>{const i=Array.isArray(n)?n:[n],s=t=>new xs(ft,null,null,[],t),r=[];if(e){const t=e.props;if(t)for(const n in t)O(n)&&Dn(r,n,s(n),0)}if(0!==r.length||null!=n){for(let t=0;t<i.length;t++){const n=i[t],e=(Rs(n)&&Ji(n,ne)||"")+"",o=Fn(r,e,0);let l;o>=0?l=r[o+1]:r.splice(~o,0,e,l=s(e)),!1===n||l.children.push(n)}for(let t=r.length-2;t>=0;t-=2)r.splice(t,1);D(t,r,!0)}})(t,s.children,i)}else{const e=s.key,r=e===ct(i),o=ut(i,t.container._);if(i&&null!=o||null==e?(ot(t),i=t.vNewNode):r?nt(t,null,e):(et(t,null,e,e,t.vParent)&&ot(t),i=t.vNewNode||t.vCurrent),i){let e=i;for(;e&&(!Ar(e)||null===_r(e,Zn,null));)e=e.parent||Fo(e);const r=Ws(t.container,i,e||t.container.rootVNode,n,s.props);t.asyncQueue.push(r,i)}}}function rt(t,n,e,i){n&&y(t.container,n),Br(t.journal,t.vParent,t.vNewNode=xr(),t.vCurrent&&U(t));const s=t.jsxValue;Nr(t.vNewNode,Zn,e),Nr(t.vNewNode,xe,i),t.vNewNode.key=s.key}function ot(t){Br(t.journal,t.vParent,t.vNewNode=xr(),t.vCurrent&&U(t));const n=t.jsxValue;Nr(t.vNewNode,xe,n.props),n.key&&(t.vNewNode.key=n.key)}function lt(t,n){if(null!==t.vCurrent&&3===Io(t.vCurrent))return n!==no(t.vCurrent)?void eo(t.journal,t.vCurrent,n):void 0;zr(t.journal,t.vParent,t.vNewNode=kr((import.meta.env.TEST?t.container.document:document).createTextNode(n),n),t.vCurrent)}function ct(t){return null==t||Pr(t)?null:t.key}function ut(t,n){if(null==t||Pr(t))return null;const e=_r(t,Zn,n);return e?e.M:null}function ft(){}function at(t,n,e,i,s=!0){if(ht(t)&&ht(n))return!1;e.O=i;let r=!1;if(t)for(const i in t)if("children"!==i&&i!==ce&&(!n||t[i]!==n[i])){if(!s)return!0;n&&(n[i]=t[i]),Qi(e,i)||(r=!0)}if(n)for(const i in n)"children"===i||i===ce||t&&cr.call(t,i)||!s||(delete n[i],Qi(e,i)||(r=!0));return r}function ht(t){return!t||ci(t)}function dt(t,n,e,i=null){let s=e;if(Pr(e))return void $t(s);let r=null;for(;;){const o=s.flags;if(3&o){if(y(t,s),$t(s),2&o&&null!==_r(s,Zn,null)){const e=t.getHostProp(s,qe);if(e)for(let n=0;n<e.length;n++){const r=e[n];if(Vn(r)){const n=Xl(r);if(n&&1&r.R){r.R|=16,It(t,s,64,i);continue}(r instanceof Mi||dc(r))&&y(t,r),(n||r instanceof rs)&&lr(r)}}const r=s.props;if(r)for(const e of Object.keys(r))if(O(e)){const s=r[e];if(s){r[e]=null;const o="string"==typeof s?Dr(t.rootVNode,s):s;let l=io(o);for(;l;)dt(t,n,l,i),l=l.nextSibling;pt(n,o)}}}if(Or(s)){if(s===e){const t=io(s);if(t)return void Lt(t,()=>{})}}else{const t=io(s);if(t){s=t;continue}}}else 4&o&&$t(s);if(s===e)return;const l=s.nextSibling;if(l)s=l;else{for(r=s.parent;r;){if(r===e)return;const t=r.nextSibling;if(t){s=t;break}r=r.parent}if(null==r)return}}}function pt(t,n){const e=n.parent;e&&1&e.flags&&to(e)===me&&Kr(t,e,n,!0)}function $t(t){t.flags|=32}function yt(t,n){return t===n||n.T===t.T&&((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.D,t.D)}function mt(t,n){if(!(n instanceof gs))return!1;for(const e of t)if(e instanceof gs&&yt(e,n))return!0;return!1}function wt(t,n,e){t.dirty&=-2;const i=n.getHostProp(t,qe);if(!i||0===i.length)return;let s;for(const r of i)if(r instanceof Gl){const i=r;if(!(4&i.R))continue;if(1&i.R)(e.afterFlushTasks||=[]).push(i);else{const r=!!(8&i.R),o=Yl(i,n,t);Te(o)&&(r?s=s?s.then(()=>o):o:(e.extraPromises||=[]).push(o))}}return s}function bt(t,n,e,i){t.dirty&=-3;const s=t;let r=(t=>{const n=t.props;return n?.[_i]})(t);if(r)return Zl(r)&&(r=r.value),ur(n,e,r,s,i,null)}function vt(t,n,i,s){t.dirty&=-5;const r=t,o=n.getHostProp(r,Zn);if(!o)return;const l=n.getHostProp(r,xe)||null,c=Fe(()=>Ws(n,r,r,o,l),t=>{const o=n.getHostProp(r,oe);return e(()=>ur(n,i,t,r,s,Ue(o)))},t=>{n.handleError(t,r)});return Te(c)?c:void 0}function gt(t,n,e,i,s,r=null){n.push(or(t.node,e,i,r,!!(512&t.flags))),s||(t.props&&null==i?delete t.props[e]:(t.props||={})[e]=i)}function St(t,n){if(t.dirty&=-9,!(1&t.flags))return;const e=(t=>(t.props||={})[Oi]??null)(t);if(!e||0===e.size)return;const i=t;for(const[t,s]of e.entries()){let e=s.value;Zl(e)&&(e=e.value),gt(i,n,t,e,s.isConst,s.scopedStyleIdPrefix)}(t=>{delete(t.props||={})[Oi]})(t)}function kt(t,n){t.dirty&=-65;const e=n.getHostProp(t,qe);if(e&&0!==e.length)for(const t of e)t instanceof Gl&&16&t.R&&(t.R&=-17,lr(t))}function xt(t,n){t.dirty&=-17;const i=n.getHostProp(t,Ni);if(!i)return;const s=i.p,r=Gt();return r.O=n,De(e(()=>Jt.call(i,r,i.j)),()=>{if(2&i.R)return i.R&=-3,ic(n,i,s)})}function qt(){wr||(wr=!0,$r())}function Rt(){wr||(wr=!0,mr())}function jt(t={timeBudget:1e3/60}){wr=!1;let n=null;for(;n=c();)Ct(n,t)}function Ct(t,n){const{timeBudget:e}=n,i=import.meta.env.TEST?yi():_n,s=performance.now(),r=d(t);if(r.promise)return;const o=r.container;if(!t.dirty)return void Pt(o,t,r,i);const l=r.journal||=[];let c=null;for(;c=r.position;){if(r.promise)return;if(!(127&c.dirty)){h(o,r,_t(c,t));continue}if(32&c.flags){if(64&c.dirty)kt(c,o);else if(32&c.dirty){const n=Ot(o,r,c,t);if(null!==n){c=n;continue}}c.dirty&=-128,h(o,r,_t(c,t));continue}let n;try{if(1&c.dirty)n=wt(c,o,r);else if(2&c.dirty)n=bt(c,o,l,t);else if(4&c.dirty)n=vt(c,o,l,t);else if(8&c.dirty)St(c,l);else if(16&c.dirty)n=xt(c,o);else if(32&c.dirty){const n=Ot(o,r,c,t);if(null!==n){c=n;continue}}}catch(t){o.handleError(t,c)}if(n&&Te(n)){r.promise=n,u(t,o);const e=c;return void n.catch(t=>{o.handleError(t,e)}).finally(()=>{r.promise=null,f(t,o),qt()})}if(!i&&!import.meta.env.TEST&&performance.now()-s>=e)return void Rt()}Pt(o,t,r,i)}function Pt(t,n,e,i){if(!(127&n.dirty)){if(a(n,t),i||((t,n)=>{const e=d(t),i=e.journal;i&&i.length>0&&((t=>{let n=null,e=null,i=null;const r=new Set,o=()=>{if(i){if(1===i.length)hr(n,i[0],e);else{const t=(n.ownerDocument||n).createDocumentFragment();for(let n=0;n<i.length;n++)t.appendChild(i[n]);hr(n,t,e)}i=null,n=null,e=null,r.clear()}};for(let l=0;l<t.length;l++){const c=t[l];if(c instanceof nr){if(n===c.parent&&e===c.beforeTarget){i||(i=[]),i.push(c.target),r.add(c.target);continue}if(!i){n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}if(n===c.parent){o(),n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}if(r.has(c.target)||e&&c.target===e||n&&c.target===n){o(),n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}hr(c.parent,c.target,c.beforeTarget)}else if(c instanceof Ks)(r.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.remove();else{if(c instanceof Zs){(r.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.textContent="";continue}if(c instanceof tr)c.target.nodeValue=c.text;else if(c instanceof er){const t=c.target,e=c.attrName,i=c.attrValue,r=null!=i?s(e,i,c.scopedStyleIdPrefix):null,l=null==r||!1===r;dr(t,e)?t[e]=pr(r):e===Me?(n===t&&o(),t.innerHTML=r,t.setAttribute($e,"html")):l?t.removeAttribute(e):"value"===e&&e in t?t.value=r:A(t,e,r,c.isSvg)}}}o()})(i),e.journal=null),((t,n)=>{const e=n.afterFlushTasks;if(!e||0===e.length)return void(n.afterFlushTasks=null);let i;for(const n of e){const e=Yl(n,t,n.L);Te(e)&&(i=i?i.then(()=>e):e)}i&&(n.extraPromises||=[]).push(i),n.afterFlushTasks=null})(n,e)})(n,t),e.extraPromises)return void Promise.all(e.extraPromises).then(()=>{At(t)});At(t)}}function At(t){t.W()}function Ot(t,n,e,i){const s=e.dirtyChildren;if(!s||0===s.length)return e.dirty&=-33,null;((t,n)=>{let e=0;for(let i=0;i<t.length;i++){const s=t[i];if(s.parent===n){if(e!==i){const n=t[e];t[e]=s,t[i]=n}e++}}})(s,e),e.nextDirtyChildIndex=0;const r=_t(s[0],i);return h(t,n,r),r}function _t(t,n){if(t===n)return 127&n.dirty?n:null;let e=null;if(t.parent&&32&t.parent.dirty?e=t.parent:t.slotParent&&32&t.slotParent.dirty&&(e=t.slotParent),!e)return 127&n.dirty?n:null;const i=e.dirtyChildren;let s=e.nextDirtyChildIndex;const r=i.length;let o=r;for(;o-- >0;){const t=i[s];if(127&t.dirty)return e.nextDirtyChildIndex=(s+1)%r,t;s++,s===r&&(s=0)}return e.dirty&=-33,e.dirtyChildren=null,e.nextDirtyChildIndex=0,_t(e,n)}function Nt(t){return!!(256&t.flags)}function Mt(t,n){if(!(1&n.flags))return 8&n.dirty&&((t,n)=>{n.dirty&=-9;const e=n.getProp(Oi);if(e&&0!==e.size)for(const[i,r]of e.entries()){let e=r.value;Zl(e)&&(e=e.value);const o=s(i,e,r.scopedStyleIdPrefix);t.addBackpatchEntry(n.id,i,o)}})(t,n),16&n.dirty&&xt(n,t),127&n.dirty&&In(`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&=-128);let e=null;if(1&n.dirty){const i=((t,n)=>{n.dirty&=-2;const e=n.getProp(qe);if(!e||0===e.length)return null;let i=null;for(const s of e)if(s instanceof Gl){const e=s;if(!(4&e.R))continue;const r=Yl(e,t,n);i=i?i.then(()=>r):r}return i})(t,n);Te(i)&&(e=i)}return n.dirty&=-124,e||void 0}function Et(t){for(let n=0;n<br.length;n++){const e=br[n],i=br[n+1]||t;i.dirty|=32,i.dirtyChildren||=[],i.dirtyChildren.push(e)}}function It(t,n,e,i=null){const s=n.dirty;if(n.dirty|=e,import.meta.env.TEST?yi():_n){const e=Mt(t,n);return void(Te(e)&&(t.l=t.l?t.l.then(()=>e):e))}const r=127&e;if((r?127&s:s)||n===i)return;const o=n.parent||n.slotParent;if(i&&r&&o&&!o.dirty)((t,n)=>{br.push(t);let e=t.parent||t.slotParent;for(;e;){const i=127&e.dirty,s=Nt(e);if(e===n||i){if(Et(e),s){const n=d(e);n.position!==e&&(n.position=t)}return void(br.length=0)}if(s){const n=d(e);n.position!==e&&(n.position=t)}br.push(e),e=e.parent||e.slotParent}br.length=0,(()=>{throw Tn(!1,"Cursor root not found in current path!")})()})(n,i);else if(o&&127&o.dirty){if(r&&(o.dirty|=32),o.dirtyChildren||=[],o.dirtyChildren.push(n),r&&n.dirtyChildren){const t=(t=>{for(;t;){if(Nt(t))return t;t=t.parent||t.slotParent}return null})(n);if(t){const e=d(t);let i=e.position;if(i)for(;i!==t;)if(i=i.parent||i.slotParent,i===n){e.position=n;break}}}}else Nt(n)||(t=>{br.push(t);let n=t.parent||t.slotParent;for(;n;){if(Nt(n))return Et(n),br.length=0,!0;br.push(n),n=n.parent||n.slotParent}return br.length=0,!1})(n)||((t,n)=>{Ai.set(n,{afterFlushTasks:null,extraPromises:null,journal:null,container:t,position:n,priority:0,promise:null});const e=n;e.flags|=256,l(t,e),qt()})(t,n)}function Tt(t,n){t.push(n)}function Ft(t,n,e,i){const s=t.value,r=n.slice(2),o=s.split("|").map(t=>{const n=Zt(t);return n.O=e,n});(i._qDispatch||={})[r]=o}function Dt(t,n,e){let i=io(n);for(;i;)Pr(i)?(Fr(t,i),e(i,n)):Rr(i)?e(i,n):Dt(t,i,e),i=i.nextSibling}function Lt(t,n){let e=t;if(Pr(t))return;let i=null;for(;;){if(n?.(e,i))return;const s=io(e);if(s){e=s;continue}if(e===t)return;const r=e.nextSibling;if(r)e=r;else{for(i=e.parent;i;){if(i===t)return;const n=i.nextSibling;if(n){e=n;break}i=i.parent}if(null==i)return}}}function Wt(t,n,e,i){for(;t;){if(t.nodeValue?.startsWith(n))return e.call(t)||null;let s=i.call(t);s||(s=e.call(t)),s||(s=yo(t),s&&(s=e.call(s))),t=s}return null}function Ut(t,n,e){t[Si]?((t,n)=>{for(const[e,i]of n)t.set(e,i)})(t[Si],e._(n)):Object.defineProperty(t,Si,{get(){const i=e._(n);return t[Si]=i,i},set(n){Object.defineProperty(t,Si,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}function Vt(t=20,n="",e=!1,i=!1,s=!0,r=null){if(this&&!r)try{r=(()=>{let t=this;for(;t;){if(Rr(t)){const n=$n(t.node);return n?pn(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(Pr(o))l.push(mn(no(o)));else if(Ar(o)){const e=["["+(o.flags>>>11)+"]"];o.dirty&&e.push(" dirty:"+o.dirty),r&&Po(r,o).forEach(t=>{if(t!==Gn&&t!==Ee){const n=_r(o,t,null);e.push(" "+t+"="+mn(n))}});const i=(s?"":"")+(Xn[_r(o,Gn,null)||"V"]||Xn.V)+(s?"":"");l.push("<"+i+e.join("")+">");const c=io(o);c&&l.push(" "+Vt.call(c,t-1,n+" ",!0,!0,s)),l.push("</"+i+">")}else if(Rr(o)){const i=to(o),c=[];Nt(o)&&c.push(" cursor"),o.dirty&&c.push(" dirty:"+o.dirty),o.dirtyChildren&&c.push(` dirtyChildren[${o.dirtyChildren.length}]`);const u=r?Po(r,o):[];for(const t of u){const n=_r(o,t,null);c.push(" "+t+"="+mn(n))}const f=_o(o);if(f){const t=xo(f).qVNodeData?.get(f);t&&c.push(" q:vnodeData="+mn(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?"="+mn(n.value):""))}if(l.push("<"+i+c.join("")+">"),Cr(o)||e){const e=io(o);e&&l.push(" "+Vt.call(e,t-1,n+" ",!0,!0,s))}else l.push(" \x3c!-- not materialized --!>");l.push("</"+i+">")}o=i&&o.nextSibling||null}while(o);return l.join("\n"+n)}function zt(t){return!Ro(t)||qo(t)}function Bt(t){if(void 0===Do){const n=Wo();if(n&&n.U)return n.U;if(void 0!==t)return t;throw Error("Reading `locale` outside of context.")}return Do}function Qt(t,n){const e=Do;try{return Do=t,n()}finally{Do=e}}function Jt(t,n,...e){return Ht.call(this,t,n,e)}function Ht(t,n,e){const i=Lo;try{return Lo=t,n.apply(this,e)}finally{Lo=i}}function Yt(t,n,e){const i={$:n,B:ge,J:void 0,U:t,O:e,H:void 0};return En(i),i}function Gt(t,n,e){const i={$:n,B:e,J:void 0,U:t||(e&&Vn(e)&&"locale"in e?e.locale:void 0),O:void 0};return En(i),i}function Xt(t,n,e){let i=n.Y,s=n.G;const r=$i();if(r){const t=r.chunkForSymbol(i,s);t&&(s=t[1],i=t[0])}var o;if(Yn(o=n)&&o.Y==Hn)s="",i=t.X(null,0,n.resolved)+"";else{if(s||(s=t.K(n.M)),!s)throw Jn(14,[n.Y]);s.startsWith("./")&&(s=s.slice(2))}const l=n.getCaptured();let c=null;if(l&&l.length>0&&(c=l.map(n=>""+t.Z(n)).join(" ")),e)return[s,i,c];let u=`${s}#${i}`;return c&&(u+="#"+c),u}function Kt(t,n,e){return Ic(t,n,null,null,e)}function Zt(t){const[n,e,i]=t.split("#");return Kt(n,e,i||null)}function tn(t,n){return n?t.rootVNode?Dr(t.rootVNode,n):void 0:t.element?.ownerDocument}function nn(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function en(t,n){return n.tt&&"{"===n.tt[0]&&(n.tt=`(${n.tt})`),[t.X(n.tt,n.D.length,n.T),n.D]}function sn(t){return Object.prototype.hasOwnProperty.call(t,ce)?t[ce]:void 0}function rn(t,n,e){return()=>{t.currentStyleScoped=n,t.parentComponentFrame=e}}async function on(t,n,i){const s=[n],r=t=>s.push(t);await(async()=>{for(;s.length;){const n=s.pop();if(n===Al){const t=s.pop();await e(()=>s.push(t()));continue}"function"!=typeof n?ln(t,r,n,i):n===Promise?s.push(await s.pop()):await n.apply(t)}})()}function ln(t,n,e,i){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(Zl(e)){((t,n)=>{const e=n instanceof gs?n.N():n;e instanceof rs&&e.nt>0&&(t.Z(e),t.et.add(e))})(t.serializationCtx,e),t.openFragment(Vi);const i=t.getOrCreateLastNode(),s=e instanceof gs?e.N():e;n(t.closeFragment),n(()=>Jo(s,i,".",t)),n(Al)}else if(Te(e))t.openFragment(Vi),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 on(t,n,{currentStyleScoped:i.currentStyleScoped,parentComponentFrame:i.parentComponentFrame}),t.streamHandler.flush()});else{const s=e,r=s.type;if("string"==typeof r){((t,n)=>{null==Ji(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")})(s,i.currentStyleScoped);const e=t.openElement(r,s.key,s.varProps,s.constProps,i.currentStyleScoped,null);e&&t.htmlNode(e),n(t.closeElement),"head"===r?(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),n(t.additionalHeadNodes)):"body"===r?n(t.additionalBodyNodes):t.isHtml||t._didAddQwikLoader||(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),t._didAddQwikLoader=!0);const o=s.children;null!=o&&n(o)}else if(Qn(r))if(r===Ds){t.openFragment(null!=s.key?{[ke]:s.key}:{}),n(t.closeFragment);const e=s.children;null!=e&&n(e)}else if(r===Us){const e=i.parentComponentFrame;if(e){const r={};r["q:sparent"]=e.componentNode.id||"",t.openProjection(r);const o=e.componentNode,l=t.getOrCreateLastNode(),c=((t,n,e)=>{const i=n.constProps;if(i&&"object"==typeof i&&"name"in i){const n=i.name;if(n instanceof gs)return Jo(n,t,":",e)}return Ji(n,"name")||Se})(o,s,t);r[ne]=c,n(rn(i,i.currentStyleScoped,i.parentComponentFrame)),n(t.closeProjection);const u=s.children||null,f=e.consumeChildrenForSlot(l,c)||u;u&&f!==u&&t.addUnclaimedProjection(e,Se,u),n(f),n(rn(i,e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(Vi),t.closeFragment()}else if(r===Bs)t.commentNode(Ji(s,"data")||"");else if(r===Js){t.streamHandler.flush();const e=s.children;let r;r=Qn(e)?e({async write(n){await on(t,n,{currentStyleScoped:i.currentStyleScoped,parentComponentFrame:i.parentComponentFrame}),t.streamHandler.flush()}}):e,n(r),Te(r)&&n(Promise)}else if(r===zs)t.htmlNode(Ji(s,"data"));else if(r===Qs)t.streamHandler.streamBlockStart(),n(()=>t.streamHandler.streamBlockEnd()),n(s.children);else if(Yc(r)){t.openComponent({});const e=t.getOrCreateLastNode(),o=t.getParentComponentFrame();o.distributeChildrenIntoSlots(s.children,i.currentStyleScoped,i.parentComponentFrame);const l=((t,n,e)=>{const i=t.getOrCreateLastNode(),[s]=e[Hc],r=n.props;return r&&r.children&&delete r.children,i.setProp(Zn,s),i.setProp(xe,r),null!==n.key&&i.setProp(ke,n.key),Ws(t,i,i,s,r)})(t,s,r);if(n(rn(i,i.currentStyleScoped,i.parentComponentFrame)),n(t.closeComponent),Te(l))n(async()=>{const t=await l,s=Ue(e.getProp(oe));n(t),n(rn(i,s,o))});else{n(l);const t=Ue(e.getProp(oe));n(rn(i,t,o))}}else{t.openFragment({[ke]:s.key}),n(t.closeFragment);const e=t.getParentComponentFrame(),i=((t,n,e,i)=>{const s=t.getOrCreateLastNode();return Ws(t,s,n,e,i.props)})(t,e&&e.componentNode,r,s);n(i),Te(i)&&n(Promise)}}}function cn(t,n,e,i){let s=null;const r=e,o=t=>{s=(null==s?"":s+"|")+t},l=n=>(n.Y.startsWith("_")||!n.it?.length&&!i||(n=Ic(null,"_run",N,null,[n])),Xt(t,n));if(Array.isArray(r))for(let e=0;e<r.length;e++){const s=r[e];if(Yn(s))o(l(s)),un(t,n,s);else if(null!=s){const e=cn(t,n,s,i);e&&o(e)}}else Yn(r)&&(s=l(r),un(t,n,r));return s}function un(t,n,e){const i=[(s=n).charAt(2),s.substring(4)];var s;if(i){const[n,s]=i,r=((t,n)=>t+":"+n)(n,s);t.st.add(r),t.rt.add(e)}}function fn(t,n,e){if(0===n)return e;const i=fl(t,n,e);return Dl(n)&&Tl(t,i,n,e),i}function an(t,n){if(t)for(const e of t)e.backRef||=new Set,e.backRef.add(n)}function hn(t,n){if(t)for(const[,e]of t)an(e,n)}function dn(t){const n=$n(t);if(!n)throw Jn(24);return pn(n)}function pn(t){const n=t;return n.qContainer||=new Jl(n)}function $n(t){return t.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}function yn(t,n){const e=dn(n);"string"==typeof this&&_c(Nc(e,this));const i=Oc[0];i.R|=4,It(e,i.L,1)}function mn(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(Xl(t))return`Task(${mn(t.ot)})`;if(Yn(t))return`Qrl(${t.Y})`;if("object"==typeof t||"function"==typeof t){if(oc.includes(t))return"*";try{if(oc.push(t),Array.isArray(t))return qr(t)?"("+(_r(t,Gn,null)||"vnode")+")":t.map(mn);if(Zl(t))return t instanceof gs?"WrappedSignal":t instanceof is?"ComputedSignal":"Signal";if(dc(t))return"Store";if(Rs(t))return lc(t);if(qr(t))return"("+(_r(t,Gn,null)||"vnode")+")"}finally{oc.pop()}}}catch(t){return console.error("ERROR in qwikDebugToString",t),"*error*"}return t}function wn(t,n,e){return new Proxy(n,new $c(e,t||null))}function bn(t,n,e,i){const s=e.p||=new Map;let r=s.get(n);r||(r=new Set,s.set(n,r)),tc(r,i),nc(i,t),(import.meta.env.TEST?!Ql(e.O):_n)&&ec(i,e.O)}function vn(t,n,e,i){e[t]=n;const s=gn(e,t,i.p);s&&ic(i.O,i,s)}function gn(t,n,e){let i;if(e)if(Array.isArray(t))for(const t of e.values()){i||=new Set;for(const n of t)i.add(n)}else i=e.get(n);const s=e?.get(ns);if(s){i||=new Set;for(const t of s)i.add(t)}return i}function Sn(t,n){const e=(t,n)=>1===t&&"string"==typeof n,i=t=>14===t,s=n=>{const e=t[n+1].split(" ");let i=t,s=1,r=0,o=0,l=null;for(let n=0;n<e.length;n++)if(l=i,r=2*parseInt(e[n],10),o=r+1,s=i[r],i=i[o],1===s){const n=2*i;s=t[n],i=t[n+1]}l&&(l[r]=1,l[o]=n/2),t[n]=s,t[n+1]=i};for(let r=0;r<t.length;r+=2)e(t[r],t[r+1])?s(r):i(t[r])&&(n.lt=t[r+1])}async function kn(t){const n=Cl(null,null,()=>"",()=>{},new WeakMap);return n.Z(t),await n.ct(),""+n.ut}function xn(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={_:t=>qn(t,n),getSyncFn:()=>()=>{},h:new WeakMap,element:null,lt:null};return Sn(t,e),n=Ul(e,t),e.ft=n,e})(n);return fn(e,n[0],n[1])}function qn(t,n){return"string"==typeof t?n[t=parseInt(t,10)]:n[t]}function Rn(t,n,e){const i=(...s)=>t.resolved?e&&!1===e()?void 0:Ht.call(this,n,t.resolved,s):t.resolve().then(t=>{if(!Qn(t))throw Jn(5);return i(...s)});return i}function jn(){return this.Y}function Cn(){return this.M}function Pn(){return Mc(this),this.it}function An(t,n){const e=Wo();return e?.O?.ht[t]??n}import{p as On}from"@qwik.dev/core/preloader";const _n=!1,Nn=!0,Mn=!1,En=()=>{},In=()=>{},Tn=(t,n,...e)=>{const i=n instanceof Error?n:Error(n);return console.error("%cQWIK ERROR","",i.message,...e,i.stack),t&&setTimeout(()=>{throw i},0),i},Fn=(t,n,e)=>{let i=e>>1,s=t.length-2>>1;for(;i<=s;){const e=i+(s-i>>1),r=t[e<<1];if(r===n)return e<<1;r<n?i=e+1:s=e-1}return~(i<<1)},Dn=(t,n,e,i,s=!1)=>{const r=Fn(t,n,i);r>=0?null!=e||s?t[r+1]=e:t.splice(r,2):(null!=e||s)&&t.splice(-1^r,0,n,e)},Ln=(t,n,e)=>{const i=Fn(t,n,e);return i>=0?t[i+1]:null},Wn=(t,n,e)=>Fn(t,n,e)>=0,Un=t=>{const n=Object.getPrototypeOf(t);return n===Object.prototype||n===Array.prototype||null===n},Vn=t=>"object"==typeof t&&null!==t,zn=t=>Array.isArray(t),Bn=t=>"string"==typeof t,Qn=t=>"function"==typeof t,Jn=(t,n=[])=>{const e=((t,...n)=>`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)=>Tn(false,t,...n))(e,...n)},Hn="<sync>",Yn=t=>"function"==typeof t&&"function"==typeof t.getSymbol,Gn="q:type",Xn={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},Kn=124,Zn="q:renderFn",te="⚡️",ne="q:slot",ee="q:s",ie="q:style",se="style[q\\:style]",re=se+",style[q\\:sstyle]",oe="q:sstyle",le="q:ctx",ce="q:brefs",ue=(t,n)=>t["qFuncs_"+n]||[],fe="q:base",ae="q:container-island",he="/"+ae,de="q:ignore",pe="/"+de,$e="q:container",ye="/"+$e,me="q:template",we="http://www.w3.org/1999/xhtml",be="http://www.w3.org/2000/svg",ve="http://www.w3.org/1998/Math/MathML",ge="qRender",Se="",ke="q:key",xe="q:props",qe="q:seq",Re="q:seqIdx",je="q:p",Ce="q:ps",Pe=":",Ae=":on",Oe=":onIdx",_e=":onFlags",Ne=":",Me="dangerouslySetInnerHTML",Ee="__scopedStyleIdPrefix__",Ie=100,Te=t=>!!t&&"object"==typeof t&&"function"==typeof t.then,Fe=(t,n,e)=>{try{const i=t();return Te(i)?i.then(n,e):n(i)}catch(t){return e(t)}},De=(t,n)=>Te(t)?t.then(n):n(t),Le=t=>{throw t},We=t=>te+t,Ue=t=>{if(t){let n=0;do{t=t.substring(0,n)+We(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},Ve=t=>113===t.charCodeAt(0)&&45===t.charCodeAt(1)&&58===t.charCodeAt(3),ze=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),Be=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"]),Qe=(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)},Je=t=>{if(!t)return"";if(Bn(t))return t.trim();const n=[];if(zn(t))for(const e of t){const t=Je(e);t&&n.push(t)}else for(const[e,i]of Object.entries(t))i&&n.push(e.trim());return n.join(" ")},He=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),Ye=(t,n)=>"number"!=typeof n||0===n||Be.has(t)?n:n+"px",Ge=document,Xe=Ge.createElement("link").relList.supports("modulepreload")?"modulePreload":"preload",Ke=/\.[mc]?js$/,Ze=t=>{let n=ti.get(t);if(!n){let e;n=((t,n)=>({dt:t,ft:Ke.test(t)?0:3,$t:n,yt:1,wt:Date.now(),bt:0,vt:0}))(t,e),ti.set(t,n)}return n},ti=new Map;let ni=0;const ei=[],ii=()=>{if(ei.length)for(;ei.length;){const t=ei[0];if(!(1-t.yt>=.99||ni<5))break;ei.shift(),si(t)}},si=t=>{if(t.ft>=2)return;ni++;const n=Date.now();t.bt=n-t.wt,t.ft=2;const e=Ge.createElement("link");e.href=""+new URL("undefined"+t.dt,Ge.baseURI),e.rel=Xe,e.as="script",e.onload=e.onerror=()=>{ni--;const i=Date.now();t.vt=i-n,t.ft=4,e.remove(),ii()},Ge.head.appendChild(e)},ri=(t,n,e)=>{if(e?.has(t))return;const i=t.yt;if(t.yt=n,!(i-t.yt<.01)&&t.$t){e||=new Set,e.add(t);const n=1-t.yt;for(const i of t.$t){const t=Ze(i.dt);if(0===t.yt)continue;let s;if(1===n||n>=.99&&li<100)li++,s=Math.min(.01,1-i.gt);else{const e=(1-i.gt*n)/i.St;s=Math.max(.02,t.yt*e),i.St=e}ri(t,s,e)}}},oi=(t,n)=>{const e=Ze(t);e&&e.yt>n&&ri(e,n)};let li;document.addEventListener("qsymbol",t=>{const{symbol:n,href:e}=t.detail;e&&(t=>{if(!t?.length)return;li=0;let n=0;if(Array.isArray(t))for(let e=t.length-1;e>=0;e--){const i=t[e];"number"==typeof i?n=1-i/10:oi(i,n)}else oi(t,n);ii()})(n.slice(n.lastIndexOf("_")+1))});const ci=t=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n))return!1;return!0},ui=",",fi="2.0.0-beta.25-dev+2677279",ai=()=>({isServer:_n,importSymbol(t,n,e){if(!n)throw Jn(14,[e]);if(!t)throw Jn(13,[n,e]);const i=""+hi(t.ownerDocument,t,n),s=new URL(i);return s.hash="",import(s.href).then(t=>t[e])},raf:t=>new Promise(n=>{requestAnimationFrame(()=>{n(t())})}),chunkForSymbol:(t,n)=>[t,n??"_"]}),hi=(t,n,e)=>{const i=t.baseURI,s=new URL(n.getAttribute(fe)??i,i);return new URL(e,s)};let di=/*#__PURE__ */ai();const pi=t=>di=t,$i=()=>di,yi=()=>!1,mi=t=>1===t.nodeType,wi=t=>"foreignObject"===t,bi=t=>"svg"===t||wi(t),vi=t=>"math"===t,gi={elementNamespace:we,elementNamespaceFlag:0},Si=Symbol();class ki{[Si]=void 0}class xi{flags;parent;previousSibling;nextSibling;props;[Si]=void 0;slotParent=null;dirty=0;dirtyChildren=null;nextDirtyChildIndex=0;constructor(t,n,e,i,s){this.flags=t,this.parent=n,this.previousSibling=e,this.nextSibling=i,this.props=s}toString(){return Object.prototype.toString.call(this)}}class qi extends xi{key;firstChild;lastChild;constructor(t,n,e,i,s,r,o,l){super(n,e,i,s,r),this.key=t,this.firstChild=o,this.lastChild=l}}class Ri extends qi{node;elementName;constructor(t,n,e,i,s,r,o,l,c,u){super(t,n,e,i,s,r,o,l),this.node=c,this.elementName=u}}class ji extends xi{node;text;constructor(t,n,e,i,s,r,o){super(t,n,e,i,s),this.node=r,this.text=o}}const Ci=[],Pi=[],Ai=new WeakMap,Oi=":nodeProps",_i=":nodeDiff",Ni=":signal";class Mi{kt;p=void 0;O=null;xt=null;constructor(t,n){this.O=t||Wo()?.O||null,this.kt=n}trigger(){ic(this.O,this,this.p)}force(){ic(this.O,this,this.p)}get untrackedValue(){return this.kt}set untrackedValue(t){this.kt=t}get value(){const t=this.untrackedValue,n=Wo();if(!n)return t;null===this.O&&(this.O=n.O);const e=n.J;return e&&(tc(this.p||=new Set,e),nc(e,this),(import.meta.env.TEST?!Ql(this.O):_n)&&ec(e,this.O)),t}set value(t){t!==this.kt&&(this.kt=t,ic(this.O,this,this.p))}valueOf(){}toString(){return this.constructor.name}toJSON(){return{value:this.kt}}}const Ei=(t,n,e)=>{const i=Wo();if(i&&(t.O||=i.O||null)){const e=i.J;e&&(tc(t[n]||=new Set,e),nc(e,t),ec(e,t.O))}return t[e]},Ii=Symbol(),Ti=Symbol(),Fi=Symbol(),Di=Symbol(),Li=Symbol(),Wi=Symbol(),Ui=[],Vi={};Object.freeze(Ui),Object.freeze(Vi);class zi{owner;p=void 0;O=null;constructor(t){this.owner=t}get(t,n){if(n===Ii)return this.owner.constProps;if(n===Ti)return this.owner.varProps;if(n===Fi)return this.owner;if(n===Di)return this;let e;if("children"===n)e=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=i(n);t&&(n=t)}e=Ji(this.owner,n),n in this.owner.varProps&&Bi(this,n)}return e instanceof gs&&4&e.R?e.value:e}set(t,n,e){if(n===Fi)this.owner=e;else if("children"===n)this.owner.children=e;else if(n===Ii)this.owner.constProps=e;else if(n===Ti)this.owner.varProps=e;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=i(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===Vi?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==e&&(this.owner.varProps[n]=e,Qi(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&Qi(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===Ii||n===Ti)return!0;const e=n in this.owner.varProps;if("string"==typeof n&&(e&&Bi(this,n),"string"==typeof this.owner.type)){const t=i(n);t&&(n=t)}return e||!!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 Bi=(t,n)=>{const e=Wo();e&&null===t.O&&e.O&&(t.O=e.O);const i=e?.J;i&&bn(t.owner._proxy,n,t,i)},Qi=(t,n)=>{const e=((t,n)=>t?.get(n))(t.p,n);return e&&ic(t.O,t,e),!!e},Ji=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],Hi=t=>t?Ti in t?"children"in t?{...t[Ti],children:t.children}:t[Ti]:t:null,Yi=t=>t&&Ii in t?t[Ii]:null,Gi=t=>t&&Ti in t,Xi=Symbol();class Ki{consumer;property;backRef;data;constructor(t,n,e=null,i=null){this.consumer=t,this.property=n,this.backRef=e,this.data=i}}const Zi=Symbol(),ts=Symbol(),ns=Symbol(),es=(t,n)=>(e,i)=>{const s=Gt();return s.J=$(t,":"),s.O=n||void 0,Jt(s,()=>{if(Qn(e))return e();if(i)return e[i];if(Zl(e))return e.value;if(Vn(e)&&dc(e))return bn(uc(e),ns,cc(e),s.J),e;throw Jn(2)})};class is extends Mi{qt;R;[Si]=void 0;constructor(t,n,e=17){super(t||n.O,Xi),this.qt=n,this.R=e}invalidate(){this.R|=1;const t=Gt();t.O=this.O||void 0;const n=e(Ht.bind(this,t,this.j));n&&n.catch(t=>{this.O?this.O.handleError(t,null):console.error("Error during computation",t)})}get untrackedValue(){return this.j(),this.kt}set untrackedValue(t){this.kt=t}j(){if(!(1&this.R))return;const t=this.qt;Kl(t);const n=Wo(),e=n?.J;if(n){const t=$(this,".");m(this.O,t),n.J=t}try{const e=t.getFn(n)();if(Te(e))throw Jn(29,[t.dev?t.dev.file:"",t.M]);this.R&=-2,super.value=e}finally{n&&(n.J=e)}}}class ss{Rt;jt=null;Ct=!1;Pt=!0;At;Ot;_t;constructor(t){this.Rt=t}get track(){return this.At||=es(this.Rt,this.Rt.O)}get abortSignal(){return(this._t||=new AbortController).signal}cache(){console.error("useResource cache() method does not do anything. Use `useAsync$` instead of `useResource$`, use the `interval` option for polling behavior.")}get previous(){const t=this.Rt.kt;if(t!==Xi)return t}cleanup(t){"function"==typeof t&&(this.Ot||=[]).push(t)}}class rs extends is{Nt=!1;Mt=void 0;m=void 0;k=void 0;Et=null;It=[];Tt=1;nt=0;Ft;[Si]=void 0;constructor(t,n,e=17,i){super(t,n,e);const s=i?.interval,r=i?.concurrency??1,o=i?.initial,l=i?.timeout,c=i?.eagerCleanup,u=i?.clientOnly;if(void 0!==o){const t="function"==typeof o?o():o;this.kt=t}this.Tt=r,l&&(this.Ft=l),c&&(this.R|=32),u&&(this.R|=64),s&&(this.interval=s)}get untrackedValue(){if(this.j(),this.Et?.jt){if(this.kt===Xi||!import.meta.env.TEST&&_n)throw this.Et?.jt;return this.kt}if(this.Mt)throw this.Mt;if(!import.meta.env.TEST&&_n&&64&this.R&&this.kt===Xi)throw Error("During SSR, cannot read .value from clientOnly async signal without an initial value. Use .loading or provide an initial value.");return this.kt}set untrackedValue(t){this.kt=t}get loading(){return Ei(this,"$loadingEffects$","untrackedLoading")}set untrackedLoading(t){t!==this.Nt&&(this.Nt=t,ic(this.O,this,this.m))}get untrackedLoading(){if(this.j(),!import.meta.env.TEST&&_n&&this.Et?.jt)throw this.Et?.jt;return this.Nt}get error(){return Ei(this,"$errorEffects$","untrackedError")}set untrackedError(t){t!==this.Mt&&(this.Mt=t,ic(this.O,this,this.k))}get untrackedError(){return this.Mt}get interval(){return this.nt}set interval(t){this.Dt(),this.nt=t,this.nt>0&&this.p?.size&&this.Lt()}async invalidate(){this.R|=1,this.Dt(),(this.p?.size||this.m?.size||this.k?.size)&&(await!0,this.j())}abort(t){this.Et&&this.Wt(this.Et,t)}q(){32&this.R&&!this.Ut()&&(import.meta,setTimeout(()=>{this.Ut()||this.abort()}))}async promise(){for(this.j();this.Et?.jt;)await(this.Et?.jt)}j(){if(!(1&this.R))return;if(!import.meta.env.TEST&&_n&&64&this.R)return this.Nt=!0,void this.O?.serializationCtx.et.add(this);if(this.Dt(),this.Et&&this.Wt(this.Et),this.It.length>=(0===this.Tt?1/0:this.Tt))return;this.R&=-2;const t=new ss(this);this.Et=t,this.It.push(t),t.jt=this.Vt(t)}async Vt(t){const n=()=>t===this.Et;this.untrackedLoading=!0;const i=this.qt.resolved||await this.qt.resolve();try{this.Ft&&(this.zt=setTimeout(()=>{t._t?.abort();const e=Error("timeout");n()&&(this.untrackedError=e,t.Pt=!1)},this.Ft));const s=await e(i.bind(null,t));if(t.jt=null,t.Pt){const n=this.It.indexOf(t);if(-1!==n)for(let t=0;t<n;t++)this.It[t].Pt=!1;this.untrackedError=void 0,this.value=s}}catch(e){t.jt=null,n()&&(this.untrackedError=e)}n()&&(clearTimeout(this.zt),1&this.R?this.j():(this.untrackedLoading=!1,this.Lt()))}async Bt(){this.Dt(),clearTimeout(this.zt),this.Et&&await this.Wt(this.Et),await Promise.all(this.It.map(t=>t.jt))}Dt(){void 0!==this.Qt&&(clearTimeout(this.Qt),this.Qt=void 0)}Lt(){import.meta,this.nt>0&&(this.Dt(),this.Qt=setTimeout(this.invalidate.bind(this),this.nt),this.Qt?.unref?.())}Ut(){return!!(this.p?.size||this.m?.size||this.k?.size)}async Wt(t,n){if(t.Ct)return t.jt;t.Ct=!0,t._t?.abort(n),t.jt=Promise.resolve(t.jt).then(()=>t.jt=this.Jt(t))}async Jt(t){const n=t.Ot;if(n?.length){const t=t=>{const n=this.O?.handleError;n?n(t,null):console.error("Error in async signal cleanup",t)};await Promise.all(n.map(n=>{try{const e=n();if(Te(e))return e.catch(t)}catch(n){t(n)}})),n.length=0}const e=this.It,i=e.indexOf(t);-1!==i&&e.splice(i,1),this.j()}}const os=t=>(n,...e)=>t.call(null,Vc(n),...e);class ls extends is{constructor(t,n){super(t,n,17)}Ht=!1;j(){if(!(1&this.R))return;Kl(this.qt),this.R&=-2;let t=this.qt.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,i=t.update,s=this.kt===Xi?e:this.kt,r=Qo(()=>this.Ht?i?.(s)||s:n(s),this,".",this.O);this.Ht=!0,(this.Ht&&"undefined"!==r||r!==this.kt)&&(this.kt=r,ic(this.O,this,this.p))}}const cs=(t,n)=>new is(n?.container||null,t,rc(n?.serializationStrategy||"always")),us=(t,n)=>new rs(n?.container||null,t,rc(n?.serializationStrategy||"always"),n),fs=t=>new ls(null,t),as=t=>new Mi(null,t),hs=/*#__PURE__*/os(cs),ds=/*#__PURE__*/os(us),ps=os(fs),$s=t=>t.value,ys=(t,n)=>t[n],ms=t=>1===t.length?Zl(t[0])?t[0].xt||=new gs(null,$s,t,null):dc(t[0])?new gs(null,$s,t,null):t[0].value:new gs(null,ys,t,null),ws=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!Vn(n))return n[e];if(Zl(n))return n instanceof gs&&4&n.R?n:ms(t);if(Gi(n)){const i=n[Ii],s=n[Ti];if(i&&Object.prototype.hasOwnProperty.call(i,e))return i[e];if(Object.prototype.hasOwnProperty.call(s,e))return bs(s[e],t)}else{const i=uc(n);if(i)return bs(i[e],t)}return n[e]},bs=(t,n)=>Zl(t)?t:ms(n),vs=(t,n)=>{const e=ws(t,n);return e===Li?t[n]:e};class gs extends Mi{D;T;tt;R;$=void 0;[Si]=void 0;constructor(t,n,e,i,s=5){super(t,Xi),this.D=e,this.T=n,this.tt=i,this.R=s}invalidate(){this.R|=1;try{this.j()}catch(t){this.O&&this.$&&(this.O.setHostProp(this.$,Ni,this),It(this.O,this.$,16))}2&this.R&&(this.R&=-3,ic(this.O,this,this.p))}get untrackedValue(){return this.j(),this.kt}j(){if(!(1&this.R))return;const t=Qo(()=>this.T(...this.D),this,".",this.O);this.R&=-3,t!==this.kt&&(this.R|=2,this.kt=t)}N(){return this.T===$s&&Zl(this.D[0])?this.D[0]:this}set value(t){throw Jn(31)}get value(){return super.value}}class Ss{data;constructor(t){this.data=t}}const ks=(t,n)=>{if("string"==typeof t){const e=dn(n);_c(Nc(e,t))}return null};class xs{type;children;toSort;key;varProps;constProps;dev;_proxy=null;constructor(t,n,e,i,s,r,o){this.type=t,this.children=i,this.toSort=!!r,this.key=null==s?null:"string"==typeof s?s:""+s,this.varProps=!n||ci(n)?Vi:n,this.constProps=!e||ci(e)?null:e,En()}get props(){return this._proxy||=p(this)}}const qs=(t,n,e)=>{let i=t[n];if(!i)return t[n]=e,!0;Array.isArray(i)?i.push(e):i=t[n]=[i,e]},Rs=t=>t instanceof xs,js="bind:value",Cs="bind:checked",Ps=Object.prototype.hasOwnProperty,As=(t,n,e,i,s,r,o)=>new xs(t,n,e,i,r,!1,o),Os=(t,n,e,s,r,o,l)=>{let c=!1,u=!1,f=!1,a=null,h=null;if("string"==typeof t){if(e){const t=new Set;for(const n in e){const s=i(n);s?(u||(e={...e},u=!0),Ps.call(e,s)&&!t.has(s)||(e[s]=e[n]),delete e[n]):n===Cs?h=e[n]:n===js&&(a=e[n]),t.add(n)}}if(n){const t=new Set;for(const e in n){const s=i(e);s?(f||(n={...n},f=!0),Ps.call(n,s)&&!t.has(s)||(n[s]=n[e]),delete n[e],c=!0):e===Cs?h=n[e]:e===js&&(a=n[e]),t.add(e)}}if(h||a)if(f||(n={...n},f=!0),n||={},h){n&&Ps.call(n,Cs)&&delete n[Cs],e&&Ps.call(e,Cs)&&(u||(e={...e},u=!0),delete e[Cs]),n.checked=h;const t=Ic(null,"_chk",S,null,[h]);if(e&&Ps.call(e,"q-e:input")){u||(e={...e},u=!0);const t=e["q-e:input"];delete e["q-e:input"],c=qs(n,"q-e:input",t)||c}c=qs(n,"q-e:input",t)||c}else if(a){n&&Ps.call(n,js)&&delete n[js],e&&Ps.call(e,js)&&(u||(e={...e},u=!0),delete e[js]),n.value=a;const t=Ic(null,"_val",g,null,[a]);if(e&&Ps.call(e,"q-e:input")){u||(e={...e},u=!0);const t=e["q-e:input"];delete e["q-e:input"],c=qs(n,"q-e:input",t)||c}c=qs(n,"q-e:input",t)||c}n&&Ps.call(n,"className")&&(f||(n={...n},f=!0),n.class=n.className,n.className=void 0,c=!0),e&&Ps.call(e,"className")&&(u||(e={...e},u=!0),e.class=e.className,e.className=void 0)}if(n)for(const t in n)"children"===t?(f||(n={...n},f=!0),s||=n.children,delete n.children):"key"===t?(f||(n={...n},f=!0),o||=n.key,delete n.key):(e&&t in e||null===n[t])&&(f||(n={...n},f=!0),delete n[t]);return new xs(t,n,e,s,o,c||!0,l)},_s=(t,n,e,i)=>Is(t,n,i),Ns=(t,n,e,i,s)=>Is(t,{...e,...n},s),Ms=(t,n,e,i,s,r)=>Is(t,{...e,...n,children:i},r),Es=t=>t.children,Is=(t,n,e,i,s)=>Os(t,n,null,null,0,e,s),Ts=Is,Fs=Is,Ds=t=>t.children,Ls=(t,n)=>new xs(Es,null,null,t.children,n),Ws=(t,n,e,i,s)=>{const r=Yt(t.U,e||n,t);let o;e&&(r.J=$(e,":"),r.O=t),t.ensureProjectionResolved(n);let l=!1;if(null===i&&(i=t.getHostProp(n,Zn)),Yn(i))"children"in(s=s||t.getHostProp(n,xe)||Vi)&&delete s.children,o=i.getFn(r);else if(Yc(i)){const t=i;o=()=>Ht(r,t,[s||Vi,null,0])}else{l=!0;const t=i;o=()=>Ht(r,t,[s||Vi])}const c=!import.meta.env.TEST&&_n,u=(e=0)=>Fe(()=>(l||(t.setHostProp(n,Re,null),t.setHostProp(n,Oe,null)),e>0&&qr(n)&&y(t,n),De(o(s),t=>De(r.H,()=>t))),i=>{if(c&&!l&&4&n.dirty&&(n.dirty&=-5,e<Ie))return u(e+1);const s=t.getHostProp(n,Ae);return s?q(i,s):i},t=>{if(Te(t)&&e<Ie)return t.then(()=>u(++e));if(e>=Ie)throw Error("Max retry count of component execution reached");throw t});return u()},Us=t=>As(Es,null,{[ee]:""},t.children,0,t.name??""),Vs=Symbol(),zs=()=>null,Bs=()=>null,Qs=t=>t.children,Js=(t,n)=>Is(Ls,{children:Is(Hs,t)},n),Hs=()=>null;let Ys=null,Gs=null;const Xs=(t,n=[],e={})=>{let i=null;const s=t[Ii];if(s)for(const t in s)n.includes(t)||(i||={},i[t]=s[t]);const r=e,o=t[Ti];for(const t in o)n.includes(t)||(r[t]=o[t]);return p(new xs(null,r,i,null,null))};class Ks{target;constructor(t){this.target=t}}class Zs{target;constructor(t){this.target=t}}class tr{target;text;constructor(t,n){this.target=t,this.text=n}}class nr{target;parent;beforeTarget;constructor(t,n,e){this.target=t,this.parent=n,this.beforeTarget=e}}class er{target;attrName;attrValue;scopedStyleIdPrefix;isSvg;constructor(t,n,e,i,s){this.target=t,this.attrName=n,this.attrValue=e,this.scopedStyleIdPrefix=i,this.isSvg=s}}const ir=t=>new Ks(t),sr=(t,n)=>new tr(t,n),rr=(t,n,e)=>new nr(t,n,e),or=(t,n,e,i=null,s=!1)=>new er(t,n,e,i,s),lr=t=>{if(t.Bt){try{t.Bt()}catch(t){Tn(!1,t)}t.Bt=null}},cr=Object.prototype.hasOwnProperty,ur=(t,n,e,i,s,r)=>{const o={container:t,journal:n,cursor:s,scopedStyleIdPrefix:r,stack:[],asyncQueue:[],asyncAttributePromises:[],vParent:null,vCurrent:null,vNewNode:null,vSiblings:null,vSiblingsArray:null,vSideBuffer:null,jsxChildren:null,jsxValue:null,jsxIdx:0,jsxCount:0,shouldAdvance:!0,isCreationMode:!1,subscriptionData:{const:new Ss({Yt:r,Gt:!0}),var:new Ss({Yt:r,Gt:!1})}};I(o,e,i);const l=Q(o);if(Te(l))return l.finally(()=>{J(o)});J(o)},fr=(t,n,i,s,r)=>{if(Ve(i))return void K(i,s,n.node,n,t);if(i===je||i===Ce)return Nr(n,i,s),void(n.flags|=192);const o=s;if("ref"===i){const t=n.node;if(Zl(s))return void(s.value=t);if("function"==typeof s)return void s(t);throw Jn(15,[r])}const l=n[Si]?.get(i);if(Zl(s)){const r=s instanceof gs?s.N():s;if(l?.backRef?.has(r))return;l&&m(t.container,l);const o=n;s=e(()=>Jo(r,o,i,t.container,t.subscriptionData.var))}else l&&m(t.container,l);if(Te(s)){const e=n,r=s.then(n=>{E(t.journal,e,i,n,t.scopedStyleIdPrefix,o)});return void t.asyncAttributePromises.push(r)}E(t.journal,n,i,s,t.scopedStyleIdPrefix,o)};let ar=null;const hr=(t,n,e)=>{ar||(ar=t.insertBefore),ar.call(t,n,e)},dr=(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,pr=t=>"false"!==t&&!!t,$r=(yr=jt,()=>queueMicrotask(yr));var yr;const mr=(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})(jt);let wr=!1;const br=[],vr=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},gr=(t,n,e=null)=>{const i=new Ri(e,-2039,null,null,null,null,null,null,t,n);return t.vNode=i,i},Sr=t=>{const n=new Ri(null,-2047,null,null,null,null,void 0,void 0,t,void 0);return t.vNode=n,n},kr=(t,n)=>new ji(-2036,null,null,null,null,t,n),xr=()=>new qi(null,-2046,null,null,null,null,null,null),qr=t=>t instanceof xi,Rr=t=>!(1&~t.flags),jr=t=>!!(5&t.flags),Cr=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,Pr=t=>!(4&~t.flags),Ar=t=>!(2&~t.flags),Or=t=>!(2&~t.flags)&&null!==_r(t,ne,null),_r=(t,n,e)=>{if(Rr(t)||Ar(t)){const i=t.props?.[n]??null;if("string"==typeof i&&e){const s=e(i);return t.props[n]=s,s}return i}return null},Nr=(t,n,e)=>{null==e&&t.props?delete t.props[n]:(t.props||={},t.props[n]=e)},Mr=(t,n,e,i,s=null)=>{Rr(n)&&(import.meta.env.TEST&&s&&Nr(n,Ee,s),Nr(n,e,i),Tt(t,or(n.node,e,i,s,!!(512&n.flags))))},Er=t=>{if(t.key)return;const n=co(t.node,Ne);n&&(t.key=n)},Ir=(t,n)=>{if(1==(15&n.flags)){const e=n;e.flags^=8;const i=e.node,s=i.attributes;let r=!1;for(let n=0;n<s.length;n++){const o=s[n],l=o.name;if(Ve(l))Ft(o,l,t,i);else if(r);else if(l!==Ne&&l)if(l.startsWith($e)){const t=o.value;"html"===t?Nr(e,"dangerouslySetInnerHTML",i.innerHTML):"text"===t&&"value"in i&&Nr(e,"value",i.value)}else Nr(e,l,o.value);else{const t=o.value;t&&(e.key=t),r=!0}}null===_r(e,je,null)&&null===_r(e,Ce,null)||(n.flags|=64)}},Tr=(t,n,e)=>{let i=t;for(;e&&i&&Ar(i);){const t=n?i.firstChild:i.lastChild;if(!t)break;if(5&t.flags)return t;i=t}for(;i;){let t=n?i.nextSibling:i.previousSibling;if(t&&5&t.flags)return t;if(!t){let e=i.parent;if(e&&!Ar(e))return null;for(;e&&!(t=n?e.nextSibling:e.previousSibling);)if(e=e.parent,e&&!Ar(e))return null;if(!t)return null;if(Pr(t)&&e&&Rr(e))return null}for(;t;){if(i=t,5&i.flags&&_o(i))return i;t=n?i.firstChild:i.lastChild}}return null},Fr=(t,n)=>{const e=n;if(!(8&e.flags)){const i=Gr(n,!0),s=e.node,r=xo(i);let o=Tr(n,!1,!0);const l=Tr(n,!0,!0),c=s||(l&&Rr(l)?l.node:l?.node)||null;let u=c;for(;o&&Pr(o);){if(!(8&o.flags)){const n=r.createTextNode(o.text);Tt(t,rr(n,i,u)),u=n,o.node=n,o.flags|=8}o=Tr(o,!1,!0)}for(o=n;o&&Pr(o);){const n=Tr(o,!0,!0),e=!n||!Pr(n);if(!(8&o.flags)){if(e&&s)Tt(t,sr(s,o.text));else{const n=r.createTextNode(o.text);Tt(t,rr(n,i,c)),o.node=n}o.flags|=8}o=n}}},Dr=(t,n)=>{let e=t;const i=t.node,{qVNodeRefs:s}=i;let r,o=-1;if("string"==typeof n)o=parseInt(n),r=s.get(o);else{r=n;const t=r.vNode;if(t)return t}if(qr(r))e=r;else{let t=r;const n=[r];for(;t&&t!==i&&!t.vNode;)t=t.parentElement,n.push(t);t.vNode&&(e=t.vNode);for(let t=n.length-2;t>=0;t--)e=Ur(e,n[t]);-1!=o&&(r.vNode=e,s.set(o,e))}if("string"==typeof n){const t=n.length;let i=Vr(n,t),s=0;for(;i<t;){const t=n.charCodeAt(i);s*=26,t>=97?s+=t-97:(s+=t-65,e=Lr(e,s),s=0),i++}}return e},Lr=(t,n)=>{let e=io(t);for(;e.flags>>>11!==n;)e=e.nextSibling;return e},Wr=[],Ur=(t,n)=>{let e=io(t);for(;e&&(!(e instanceof Ri)||e.node!==n);)if(Ar(e)){const t=e.nextSibling,n=io(e);n?(t&&Wr.push(t),e=n):e=t||(Wr.length?Wr.pop():null)}else{const t=e.nextSibling;e=t||t||Wr.pop()}for(;Wr.length;)Wr.pop();return e},Vr=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},zr=(t,n,e,i)=>{const s=Rr(n);s&&so(n);const r=e.parent;if(e===i){if(r)return;i=null}Hr(t,r,n,e);const o=e.node,l=32&n.flags,c=s?n.node:Gr(n,!1);c&&!l&&Tt(t,rr(o,c,Qr(t,n,i)?.node??null)),Jr(n,e,i),l&&(e.flags|=32)},Br=(t,n,e,i)=>{const s=Rr(n);s&&so(n);const l=e.parent;if(e===i){if(l)return;i=null}Hr(t,l,n,e);const c=32&n.flags,u=s?n:Xr(n,!1),f=u?.node,a=Qr(t,n,i),h=a?.node??null;if(Or(e)&&u&&1536&u.flags){const s=Xr(n,!1),l=Qr(t,n,i)?.node??null,{elementNamespace:c,elementNamespaceFlag:u}=o(s,e);Dt(t,e,n=>{if(Pr(n))Tt(t,rr(n.node,f,l));else{if((1536&n.flags)!==u){const t=((t,n,e,i)=>{let s=t,l=null,c=null,u=null;for(;s;){let f=null,a=null;if(Rr(s)){f=s.node;const t=to(s),l=s.parent,h=null==c?n:l&&Xr(l,!0);if(h){const t=o(h,to(s));e=t.elementNamespace,i=t.elementNamespaceFlag}const d=io(s);if(a=r(f,t,e,!d),f.remove(),null==c&&(c=a),u&&u.appendChild(a),s.node=a,s.flags&=-1537,s.flags|=i,d){s=d,u=a;continue}if(oo(f)){const t=pn(f);if(t){const n=io(t.rootVNode);if(n){s=n,u=a;continue}}}}if(s===t)return c;const h=s.nextSibling;if(h)s=h;else{for(l=s.parent;l;){if(l===t)return c;const n=l.nextSibling;if(n)return s=n,c;l=l.parent}if(null==l)return c}}return c})(n,s,c,u);t&&(n.node=t)}Tt(t,rr(n.node,f,l))}})}else f&&!c&&Dt(t,e,n=>{Tt(t,rr(n.node,f,h))});Jr(n,e,i),c&&(e.flags|=32)},Qr=(t,n,e)=>{let i=null;return null==e?Ar(n)&&(i=Tr(n,!0,!1)):i=Ar(e)?Tr(e,!0,!0):e,i&&((t,n)=>{Pr(n)&&Fr(t,n)})(t,i),i},Jr=(t,n,e)=>{const i=e?e.previousSibling:t.lastChild;e?e.previousSibling=n:t.lastChild=n,i?i.nextSibling=n:t.firstChild=n,n.previousSibling=i,n.nextSibling=e,n.parent=t},Hr=(t,n,e,i)=>{n&&(i.previousSibling||i.nextSibling||n!==e)&&Kr(t,n,i,!1)},Yr=(t,n,e,i)=>{jr(e)?zr(t,n,e,i):Br(t,n,e,i)},Gr=(t,n)=>(t=Xr(t,n))&&t.node,Xr=(t,n)=>{for(;t&&!Rr(t);)t=t.parent||(n?t.slotParent:null);return t},Kr=(t,n,e,i)=>{if(Pr(e)&&Fr(t,e),i){if(null!==_r(n,Me,null))return;jr(e)?Tt(t,ir(e.node)):Dt(t,e,n=>{Tt(t,ir(n.node))})}const s=e.previousSibling,r=e.nextSibling;s?s.nextSibling=r:n.firstChild=r,r?r.previousSibling=s:n.lastChild=s,e.previousSibling=null,e.nextSibling=null},Zr=(t,n,e,i=!0)=>{Gr(n,!0)&&i&&(jr(n)?Tt(t,new Zs(n.node)):Dt(t,n,n=>{Tt(t,ir(n.node))}));const s=e.previousSibling;s?s.nextSibling=null:n.firstChild=null,n.lastChild=s},to=t=>{const n=t;let e=n.elementName;if(void 0===e){const t=n.node,i=So(t).toLowerCase();e=n.elementName=i,n.flags|=(t=>{switch(vo(t)){case be:return 512;case ve:return 1024;default:return 0}})(t)}return e},no=t=>{let n=t.text;return void 0===n&&(n=t.text=t.node.nodeValue),n},eo=(t,n,e)=>{Fr(t,n),n.text=e,Tt(t,sr(n.node,e))},io=t=>{if(Pr(t))return null;let n=t.firstChild;return void 0===n&&(n=so(t)),n},so=t=>{const e=t;let i=e.firstChild;return void 0===i&&(i=e.parent&&oo(e.node)?e.firstChild=e.lastChild=null:(t=>{const e=t.node,i=wo(e),s=xo(e)?.qVNodeData?.get(e);return((t,e,i,s)=>{if(Er(t),s){if(s.charCodeAt(0)===Kn&&s.charCodeAt(1)===Kn){const n=(t=>{const n=t.indexOf("||",2);return{elementVNodeData:t.substring(2,n),virtualVNodeData:t.substring(n+2)}})(s);s=n.virtualVNodeData;const e=jo(t,i,n.elementVNodeData);if(!s)return e}return((t,e,i,s)=>{let r=0,o=null,l=null,c=null;const u=n=>{n.flags=2047&n.flags|r<<11,r++,l&&(l.nextSibling=n),n.previousSibling=l,n.parent=t,o||(t.firstChild=o=n),l=n};let f=0,a=null,h=null;const d=t=>{const n=To(t);return!n||n&&zt(t)};let p=null;if(Co(e,($,y,m,w,b)=>{if(No($())){for(;d(s);)if(!(s=po(s)))throw Jn(27,[e,$(),b]);a=null,c=null;let t=0;for(;No($());)t*=10,t+=m()-48;for(;t--;){const n=Sr(s);for(Er(n),u(n),s=po(s);To(s)&&zt(s);)if(!(s=po(s))&&t>0)throw Jn(27,[e,$(),b])}}else if(59===$())Nr(t,oe,y());else if(60===$())(p||=[]).push(t),Nr(t,Zn,y());else if(61===$()){h||(h=dn(i));const n=y();h.Xt(parseInt(n),t)}else if(62===$())Nr(t,xe,y());else if(64===$()){let e;w(b+1)===Kn?(m(),e=decodeURI(n(y())),m()):e=y(),t.key=e}else if(91===$())Nr(t,qe,y());else if(94===$())Nr(t,Re,y());else if(96===$())h||(h=dn(i)),Ut(t,y(),h);else if(63===$())h||(h=dn(i)),t.slotParent=Dr(h.rootVNode,y());else if(93===$())Nr(t,le,y());else if(123===$())m(),u(xr()),Eo.push(t,o,l,c,r),r=0,t=l,o=l=null;else if($()===Kn){const e=n(y()),i=n(y());Nr(t,e,i)}else if(125===$())m(),t.lastChild=l,r=Eo.pop(),c=Eo.pop(),l=Eo.pop(),o=Eo.pop(),t=Eo.pop();else if(126===$()){const e=n(y());Nr(t,ne,e)}else{for(;To(s)&&zt(s);)s=po(s);const t=s&&3===fo(s)?s:null;null===a&&(a=t?t.nodeValue:null,f=0);let n=0;for(;Mo($());)n+=m()-97,n*=26;n+=m()-65;const e=null===a?"":a.substring(f,f+n);u(c=((t,n,e)=>new ji(-2044,null,t,null,null,n,e))(c,t,e)),f+=n}}),p){h||(h=dn(i));for(let t=0;t<p.length;t++)h.ensureProjectionResolved(p[t]);p=null}return t.lastChild=l,o})(t,s,e,i)}return jo(t,i)})(t,e,i,s)})(e)),i};let ro=null;const oo=t=>(ro||(ro=t.hasAttribute),ro.call(t,$e));let lo=null;const co=(t,n)=>(lo||(lo=t.getAttribute),lo.call(t,n));let uo=null;const fo=t=>(uo||(uo=vr(t,"nodeType")),uo.call(t)),ao=t=>{const n=fo(t);return 3===n||1===n};let ho=null;const po=t=>{for(ho||(ho=vr(t,"nextSibling")),mo||(mo=vr(t,"firstChild"));t;)if(null!==(t=ho.call(t))){const n=fo(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(de))return Wt(t,ae,ho,mo);if(t.nodeValue?.startsWith(he))return Wt(t,pe,ho,mo);if(n?.startsWith($e))for(;t&&(t=ho.call(t))&&(8!==fo(t)||!t.nodeValue?.startsWith(ye)););}}return t};let $o=null;const yo=t=>($o||($o=vr(t,"parentNode")),$o.call(t));let mo=null;const wo=t=>{for(mo||(mo=vr(t,"firstChild")),t=t&&mo.call(t);t&&!ao(t);)t=po(t);return t};let bo=null;const vo=t=>(bo||(bo=vr(t,"namespaceURI")),bo.call(t));let go=null;const So=t=>(go||(go=vr(t,"nodeName")),go.call(t));let ko=null;const xo=t=>(ko||(ko=vr(t,"ownerDocument")),ko.call(t)),qo=t=>"STYLE"===t.nodeName&&(t.hasAttribute(oe)||t.hasAttribute(ie)),Ro=t=>t.hasAttribute(Ne),jo=(t,n,e)=>{let i=null;const s=()=>{for(;To(r)&&zt(r);)r=po(r)};let r=n;s();let o=null;for(;r;){const n=fo(r);let e=null;3===n?e=kr(r,r.textContent??void 0):1===n&&(e=Sr(r),Er(e)),e&&(e.parent=t,o&&(o.nextSibling=e),e.previousSibling=o,o=e),i||(t.firstChild=i=o),r=po(r),s()}if(t.lastChild=o||null,t.firstChild=i,e){let n=null;Co(e,(e,i)=>{if(61===e()){n||(n=dn(t.node));const e=i();n.Xt(parseInt(e),t)}else 96===e()?(n||(n=dn(t.node)),Ut(t,i(),n)):i()})}return i},Co=(t,n)=>{let e=0,i=0,s=0;const r=n=>n<t.length?t.charCodeAt(n):0,o=()=>0!==s?s:s=r(e),l=()=>(i=o(),s=0,e++,i),c=()=>{l();const n=e;for(;o()<=58&&0!==s||92===s||95===s||s>=65&&s<=90||s>=97&&s<=122;)l();return t.substring(n,e)};for(;0!==o();)n(o,c,l,r,e)},Po=(t,n)=>{if(3&n.flags){Ir(t,n);const e=[],i=n.props;if(i)for(const t in i)t.startsWith(Ne)||e.push(t);return e}return[]},Ao=(t,n)=>{let e=Oo(t);for(;e;){if(e===n)return!0;e=Oo(e)}return!1},Oo=t=>t.parent||t.slotParent,_o=t=>null===t||Ar(t)?null:t.node,No=t=>48<=t&&t<=57,Mo=t=>97<=t&&t<=122,Eo=[],Io=t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw Jn(26,[n])},To=t=>t&&"object"==typeof t&&1===fo(t),Fo=t=>{let n=1;for(;n--;){for(;t&&(!Ar(t)||null===_r(t,Zn,null));){const e=t.slotParent,i=Ar(t)&&e;i&&n++,t=i||t.parent}n>0&&(t=t.parent)}return t};let Do,Lo;const Wo=()=>Lo,Uo=()=>{const t=Wo();if(!t||t.B!==ge)throw Jn(10);return t},Vo=(t,n)=>{const e=dn(n),i=Dr(e.rootVNode,n),s=e.U;s&&(t=>{Do=t})(s);const r=Gt(s,i,t);return r.O=e,r},zo=(t,...n)=>{if("function"==typeof t){if(!Lo)return t(...n);{const e=Lo.J;try{return Lo.J=void 0,t(...n)}finally{Lo.J=e}}}return Zl(t)?t.untrackedValue:hc(t)},Bo=/*#__PURE__*/Yt(void 0,void 0,void 0),Qo=(t,n,e,i,s)=>{const r=Bo.J,o=Bo.O;try{return Bo.J=$(n,e,s),Bo.O=i,Ht(Bo,t)}finally{Bo.J=r,Bo.O=o}},Jo=(t,n,e,i,s)=>(t instanceof gs&&t.$!==n&&n&&(t.$=n),Qo(()=>t.value,n,e,i,s)),Ho=()=>Wo()?.$,Yo=()=>{const t=Wo();if(t)return t.B},Go=()=>{const t=Wo();if(t)return t.O},Xo=t=>t,Ko=t=>t.l||Promise.resolve(),Zo=()=>{const t=Uo(),n=t.$;let e=t.O.getHostProp(n,qe);null===e&&(e=[],t.O.setHostProp(n,qe,e));let i=t.O.getHostProp(n,Re);for(null===i&&(i=0),t.O.setHostProp(n,Re,i+1);e.length<=i;)e.push(void 0);return{val:e[i],set:t=>e[i]=t,i,iCtx:t}},tl=t=>/*#__PURE__*/Object.freeze({id:ze(t)}),nl=(t,n)=>{const{val:e,set:i,iCtx:s}=Zo();void 0===e&&(s.O.setContext(s.$,t,n),i(1))},el=(t,n)=>{const{val:e,set:i,iCtx:s}=Zo();if(void 0!==e)return e;const r=s.O.resolveContext(s.$,t);if("function"==typeof n)return i(Jt(void 0,n,r));if(void 0!==r)return i(r);if(void 0!==n)return i(n);throw Jn(8,[t.id])},il=t=>{const n=(()=>{const t=Wo();if(!t)throw Jn(9);return t})(),e=n.$;if(e)return n.O?.resolveContext(e,t)},sl=/*#__PURE__*/tl("qk-error"),rl=[void 0,null,!0,!1,"",Ui,Vi,Xi,ns,Wi,Us,Ds,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],ol=["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"],ll=["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"],cl=new WeakMap,ul=new Map,fl=(t,n,e)=>{switch(n){case 0:case 14:return e;case 1:return t._(e);case 2:if(!t.lt)return Wi;const i=t.lt[e];return-1===i||void 0===i?Wi:t._(i);case 3:return rl[e];case 4:return Array(e.length/2);case 5:return{};case 9:{let n;if("string"==typeof e){const[i,s,r]=e.split("#");n=Kt(t._(i),t._(s),r||null)}else n=Kt("",e+"",null);return n.O=t,n}case 20:return new Gl(-1,-1,null,null,null,null);case 6:return new URL(e);case 7:return new Date(e);case 8:const s=e.lastIndexOf("/");return RegExp(e.slice(1,s),e.slice(s+1));case 15:return Error();case 21:return Jc(null);case 22:return new Mi(t,0);case 23:return new gs(t,null,null,null);case 24:return new is(t,null);case 25:return new rs(t,null,void 0,{interval:0});case 26:return new ls(t,null);case 27:{const n=e,i=n[0],s=n[1],r=fl(t,i,s),o=pc(r,0,t);return Dl(i)&&ul.set(r,{t:i,v:s}),n[0]=0,n[1]=r,o}case 13:return new URLSearchParams(e);case 28:return new FormData;case 29:return new xs(null,null,null,null,null);case 12:return BigInt(e);case 17:return new Set;case 18:return new Map;case 16:let r,o;const l=new Promise((t,n)=>{r=t,o=n});return cl.set(l,[r,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 p(null);case 10:return tn(t,e);case 11:const f=tn(t,e);if(qr(f))return so(f),_o(f);throw Jn(17,[typeof f]);case 31:return new Ss({});case 32:return new Ki(null,null,null,null);default:throw Jn(18,[n])}},al=(t,n,e)=>{let i=null,s=null;if(Qn(t))s=t;else{if(!Bn(t))throw Jn(7,[t]);i=t}return Ic(i,n,null,s,e)},hl=(t,n,e)=>Ic(null,n,t,null,e),dl=(t,n)=>Ic(null,t,null,null,n),pl=(t,n,e)=>{const i=dl(t,e);return i.dev=n,i},$l=(t,n,e,i)=>{const s=al(t,n,i);return s.dev=e,s},yl=(t,n,e,i)=>{const s=hl(t,n,i);return s.dev=e,s},ml=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t),wl=(t,n,e)=>new gs(null,t,n,e||null);class bl{Kt;rootIdx=0;forwardRefs=[];forwardRefsId=0;promises=new Set;s11nWeakRefs=new Map;parent;qrlMap=new Map;ut;constructor(t){this.Kt=t,this.ut=t.ut}async serialize(){await this.outputRoots()}outputArray(t,n,e){this.ut.write("[");let i,s=!1;if(n)i=t.length;else{for(i=t.length-1;i>=0&&void 0===t[i];)i--;i++}for(let n=0;n<i;n++)s?this.ut.write(ui):s=!0,e(t[n],n);this.ut.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.ut.write(t+ui+n);else if("string"==typeof n){const e=this.stringNeedsJsonEscape$(n)?JSON.stringify(n):'"'+n+'"';this.ut.write(t+ui);let i=-1,s=0;for(;-1!==(i=e.indexOf("</",s));)this.ut.write(e.slice(s,i)),this.ut.write("<\\/"),s=i+2;this.ut.write(0===s?e:e.slice(s))}else this.ut.write(t+ui),this.outputArray(n,!!e,(t,n)=>{this.writeValue(t,n)})}getSeenRefOrOutput(t,n,e){let i=this.Kt.getSeenRef(t);const s=!e&&this.s11nWeakRefs.get(t);if(!i){if(e)return!0;if("number"!=typeof s)return this.Kt.Zt(t,this.parent,n);i=this.Kt.Z(t,!0)}i.tn&&(this.parent?this.Kt.nn(i):(this.Kt.nn(i,n),t=this.Kt.en[n])),"number"==typeof s&&(this.forwardRefs[s]=i.sn,this.s11nWeakRefs.delete(t));const r=t instanceof Rl?t.rn:i.sn;if(!this.parent&&r===n)return i;this.output(1,r)}writeValue(t,n){if(jc(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===ns?this.output(3,8):t===Wi&&this.output(3,9);break;case"function":if(t===Us)this.output(3,10);else if(t===Ds)this.output(3,11);else if(Yn(t)){if(this.getSeenRefOrOutput(t,n)){const[n,e,i]=Xt(this.Kt,t,!0);let s;if(""!==n){s=`${this.Kt.Z(n)}#${this.Kt.Z(e)}${i?"#"+i:""}`;const r=this.qrlMap.get(s);if(r){const t=this.Kt.Z(r);return void this.output(1,t)}this.qrlMap.set(s,t)}else s=+e;this.output(9,s)}}else{if(!Yc(t))throw Jn(34,[""+t]);{const[n]=t[Hc];this.Kt.ln.add(n.Y),this.output(21,[n])}}break;case"object":if(t===Ui)this.output(3,5);else if(t===Vi)this.output(3,6);else if(null===t)this.output(3,1);else if(t instanceof Rl)this.output(1,t.rn);else{const e=this.getSeenRefOrOutput(t,n);if(e){const n=this.parent;this.parent=e,this.writeObjectValue(t),this.parent=n}}break;default:throw Jn(20,[typeof t])}}writeObjectValue(t){if(Gi(t)){const n=t[Fi];this.output(30,[xl(n),n.varProps,n.constProps,t[Di].p])}else if(t instanceof Ss)this.output(31,[t.data.Yt,t.data.Gt]);else if(t instanceof Ki)this.output(32,[t.consumer,t.property,t.data]);else if(dc(t)){const n=cc(t),e=uc(t),i=n.R,s=n.p,r=[];for(const t in e){const n=this.Kt.h.get(e[t]);n&&r.push(n)}const o=[e,i,s,...r];for(;void 0===o[o.length-1];)o.pop();this.output(27,o)}else if(sc(t)){const n=t[Ac](t);if(Te(n)){const t=this.resolvePromise(n,(t,n)=>new vl(26,t,n,void 0,void 0));this.output(2,t)}else{const t=this.parent.sn;this.parent=this.parent.tn,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 i=t[e];jc(i)||n.push(e,i)}this.output(5,n.length?n:0)}else if(this.Kt.cn(t))t.un.vnodeData[0]|=16,this.output(11,t.un.id);else if(t instanceof Mi){if(t instanceof ls){const n=((t,n)=>n===Xi?n:De(t.qt.resolved||t.qt.resolve(),t=>{let e;return"function"==typeof t&&(t=t()),t.serialize?e=t.serialize(n):"object"==typeof n&&Ac in n&&(e=n[Ac](n)),void 0===e&&(e=Xi),e}))(t,t.kt);if(Te(n)){const e=this.resolvePromise(n,(n,e)=>new vl(26,n,e,t.p,t.qt));this.output(2,e)}else this.output(26,[t.qt,t.p,n]);return}if(t instanceof gs)this.output(23,[...en(this.Kt,t),t.R,t.$,...t.p||[]]);else if(t instanceof is){let n=t.kt;const e=16&t.R,i=8&t.R,s=1&t.R,r=jc(t.kt),o=t instanceof rs,l=o&&t.nt>0?t.nt:void 0,c=o&&1!==t.Tt?t.Tt:void 0,u=o&&0!==t.Ft?t.Ft:void 0,f=o&&-25&t.R||void 0;s||r?n=Xi:e?n=t.kt:i&&(n=Xi);const a=[t.qt,t.p];o&&(a.push(t.m,t.k,t.Mt),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.kt,e=void 0===n,i=[n];t.p&&i.push(...t.p),this.output(22,i,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.Kt.fn(t)){const n=this.Kt.Z(t);this.Kt.an(t,"q:id",n+""),this.output(10,t.id);const e=t.vnodeData;if(e&&(gl(e,t=>this.Kt.Z(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(Sl(e)){const t=sn(e);t&&this.Kt.Z(t)}}n[0]|=16}}}}else if("undefined"!=typeof FormData&&t instanceof FormData){const n=[];for(const[e,i]of t.entries())"string"==typeof i&&n.push(e,i);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,i]of t.entries())n.push(e,i);this.output(18,n)}else if(Rs(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 Gl){const n=[t.ot,t.R,t.sn,t.L,t.ft];for(;void 0===n[n.length-1];)n.pop();this.output(20,n)}else if(Te(t)){const n=this.resolvePromise(t,(t,n)=>new vl(16,t,n));this.output(2,n)}else if(t instanceof vl)if(26===t.hn)if(t.ot)this.output(26,[t.ot,t.p,t.dn]);else{if(!t.pn)throw console.error(t.dn),Jn(33);{const n=this.parent.sn;this.parent=this.parent.tn,this.writeValue(t.dn,n)}}else this.output(16,[t.pn,t.dn]);else if(t instanceof Uint8Array){let n="";const e=t.length;for(let i=0;i<e;i++)n+=String.fromCharCode(t[i]);const i=btoa(n).replace(/=+$/,"");this.output(19,i)}else if(t instanceof kl){const n=t.$n;if(this.getSeenRefOrOutput(n,this.parent.sn,!0)){let t=this.s11nWeakRefs.get(n);void 0===t&&(t=this.forwardRefsId++,this.s11nWeakRefs.set(n,t),this.forwardRefs[t]=-1),this.output(2,t)}}else{if(!qr(t))throw Jn(20,[typeof t]);this.output(3,0)}}resolvePromise(t,n){const e=this.forwardRefsId++;return t.then(i=>{this.promises.delete(t),this.forwardRefs[e]=this.Kt.Z(n(!0,i))}).catch(i=>{this.promises.delete(t),this.forwardRefs[e]=this.Kt.Z(n(!1,i))}),this.promises.add(t),e}async outputRoots(){this.ut.write("[");const{en:t}=this.Kt;for(;this.rootIdx<t.length||this.promises.size;){0!==this.rootIdx&&this.ut.write(ui);let n=!1;for(;this.rootIdx<t.length;this.rootIdx++)n?this.ut.write(ui):n=!0,this.writeValue(t[this.rootIdx],this.rootIdx);if(this.promises.size)try{await Promise.race(this.promises)}catch{}}if(this.forwardRefs.length){let t=this.forwardRefs.length-1;for(;t>=0&&-1===this.forwardRefs[t];)t--;if(t>=0){this.ut.write(ui),this.ut.write(14+ui);const n=t===this.forwardRefs.length-1?this.forwardRefs:this.forwardRefs.slice(0,t+1);this.outputArray(n,!0,t=>{this.ut.write(t+"")})}}this.ut.write("]")}}class vl{hn;pn;dn;p;ot;constructor(t,n,e,i,s){this.hn=t,this.pn=n,this.dn=e,this.p=i,this.ot=s}}const gl=(t,n)=>{const e=t.length;for(let i=0;i<e;i++){const e=t[i];if(Sl(e))for(const t in e){const i=e[t];null==i||"string"==typeof i||t===xe&&ci(i)||n(i)}}},Sl=t=>"object"==typeof t&&null!==t&&!ci(t);class kl{$n;constructor(t){this.$n=t}}const xl=t=>new kl(t);let ql=()=>!1;class Rl{rn;constructor(t){this.rn=t}}class jl{NodeConstructor;DomRefConstructor;K;an;h;ut;yn=new Map;mn=new Map;wn=[];en=[];et=new Set;rt=new Set;st=new Set;ln=new Set;bn;constructor(t,n,e,i,s,r){this.NodeConstructor=t,this.DomRefConstructor=n,this.K=e,this.an=i,this.h=s,this.ut=r,this.bn=new bl(this)}async ct(){return await this.bn.serialize()}getSeenRef(t){return this.yn.get(t)}Zt(t,n,e){const i={sn:e,tn:n};return this.yn.set(t,i),i}vn(t){const n=[];for(;t.tn;)n.unshift(t.sn),t=t.tn;return n.unshift(t.sn),n.join(" ")}nn(t,n){const e=this.vn(t);void 0===n&&(n=this.en.length),this.en[n]=new Rl(e),t.tn=null,t.sn=n}Z(t,n=!1){let e,i=this.yn.get(t);return i?(i.tn&&this.nn(i),e=i.sn):(e=this.en.length,i={sn:e},this.yn.set(t,i),this.en.push(t)),n?i:e}fn(t){return!!this.NodeConstructor&&t instanceof this.NodeConstructor}cn(t){return!!this.DomRefConstructor&&t instanceof this.DomRefConstructor}gn(t){const n=this.yn.get(t);return n&&(n.tn?void 0:n.sn)}X(t,n,e){const i=null==t;i&&(t=e.serialized||""+e);let s=this.mn.get(t);if(void 0===s)if(s=this.wn.length,this.mn.set(t,s),i)this.wn.push(t);else{let e="(";for(let t=0;t<n;t++)e+=(0==t?"p":",p")+t;this.wn.push(e+=")=>"+t)}return s}}const Cl=(t,n,e,i,s,r)=>{if(!r){const t=[];r={write:n=>t.push(n),toString:()=>t.join("")}}return ql=n?t=>t instanceof n:()=>!1,new jl(t,n,e,i,s,r)};class Pl{Sn;h;U;_;ht;kn=0;xn=null;qn=null;l=null;u=null;o=0;constructor(t,n){this.ht=t,this.U=n,this.Sn=fi,this.h=new WeakMap,this._=()=>{throw Error("Not implemented")}}trackSignalValue(t,n,e,i){return Jo(t,n,e,this,i)}serializationCtxFactory(t,n,e,i){return Cl(t,n,e,this.setHostProp.bind(this),this.h,i)}W(){0===this.o&&(this.u?.(),this.l=null)}}class Al{}const Ol=()=>Oc,_l=async t=>{const[n,e]=Oc,i=await n(t);return i&&"object"==typeof i?e.r?Object.assign(e.r,i):e.r=wn(n.O,i,1):e.r=i,{r:e.r}},Nl=(t,n)=>{const{val:e,set:i,iCtx:s}=Zo();if(e)return e;const r=Ic(null,"_rsc",_l,null,[t,{}]);t.O=s.O;const o=us(r,{timeout:n?.timeout,container:s.O,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 i(l),l},Ml=({value:t,onResolved:n,onPending:e,onRejected:i})=>{if(Te(t))return t.then(n,i);const s=El(t),r=s?t.signal:t;if(e&&r.loading)return e();if(i&&r.error)return i(r.error);const o=s?r.value?.r:r.value;return Te(o)?o.then(n,i):n(o)},El=t=>t&&"resource"===t.__brand;let Il=Promise.resolve();const Tl=(t,n,e,i)=>{if(0!==e)switch(4!==e&&Array.isArray(i)&&(i=Fl(t,i)),e){case 4:Fl(t,i,n);break;case 5:if(0===i)break;for(let t=0;t<i.length;t+=2)n[i[t]]=i[t+1];break;case 20:const s=n,r=i;s.ot=r[0],s.R=r[1],s.sn=r[2],s.L=r[3],s.ft=r[4];break;case 21:n[Hc][0]=i[0];break;case 27:{const e=hc(n),s=ul.get(e);s&&(ul.delete(e),Tl(t,e,s.t,s.v));const[,r,o]=i,l=cc(n);l.R=r,l.p=o,hn(l.p,e);break}case 22:{const t=n,e=i;t.kt=e[0],t.p=new Set(e.slice(1)),an(t.p,t);break}case 23:{const e=n,s=i;e.T=t.getSyncFn(s[0]),e.D=s[1],e.kt=Xi,e.R=s[2],e.R|=1,e.$=s[3],e.p=new Set(s.slice(4)),(t=>{if(null!==t.$&&qr(t.$)){const n=t.$,e=t.p;let i=!1;if(e)for(const s of e){const e=s.property;if(Bn(e)){const s=_r(n,e,null);if(null!==s){t.kt=s,i=!0;break}}}if(!i){const e=io(n);e&&n.firstChild===n.lastChild&&Pr(e)&&(t.kt=no(e))}}})(e),an(e.p,e);break}case 25:{const t=n,e=i;t.qt=e[0],t.p=new Set(e[1]),t.m=new Set(e[2]),t.k=new Set(e[3]),t.Mt=e[4],t.R=e[5]??0,64&t.R&&(t.Nt=!0),e.length>6&&(t.kt=e[6]),t.kt===Xi&&(t.R|=1),t.interval=e[7]??0,t.Tt=e[8]??1,t.Ft=e[9]??0,an(t.p,t),an(t.m,t),an(t.k,t);break}case 26:case 24:{const s=n,r=i;s.qt=r[0];const o=s.qt.resolve(t).catch(()=>{});Il=Il.finally(()=>o),r[1]&&(s.p=new Set(r[1])),r.length>2&&(s.kt=r[2]),26!==e&&s.kt!==Xi&&(s.R&=-2),an(s.p,s);break}case 15:{const t=i;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=i;for(let n=0;n<e.length;n++)t.append(e[n++],e[n]);break}case 29:{const t=n,[e,s,r,o,l,c]=i;t.type=e,t.key=s,t.varProps=r,t.constProps=o||null,t.children=l,t.toSort=!!c;break}case 17:{const t=n,e=i;for(let n=0;n<e.length;n++)t.add(e[n]);break}case 18:{const t=n,e=i;for(let n=0;n<e.length;n++)t.set(e[n++],e[n]);break}case 16:{const t=n,[e,s]=i,[r,o]=cl.get(t);e?r(s):o(s);break}case 19:const o=n,l=atob(i);let c=0;for(const t of l)o[c++]=t.charCodeAt(0);break;case 30:const u=n,f=i;let a=f[0];a===Wi&&(a=new xs(Ds,f[1],f[2],null,null),a._proxy=u),u[Fi]=a;const h=u[Di];h.p=f[3],hn(h.p,u);break;case 31:{const t=n;t.data.Yt=i[0],t.data.Gt=i[1];break}case 32:{const t=n,e=i;t.consumer=e[0],t.property=e[1],t.data=e[2],(t=>{const n=t.consumer;!import.meta.env.TEST&&_n&&!n||(n[Si]||=new Map,n[Si].set(t.property,t))})(t);break}default:throw Jn(16,[e])}},Fl=(t,n,e=Array(n.length/2))=>{for(let i=0;i<n.length;i+=2)e[i/2]=fn(t,n[i],n[i+1]);return e},Dl=t=>t>=15||4===t||5===t,Ll=new WeakMap,Wl=Symbol(),Ul=(t,n)=>{if(!Array.isArray(n)||qr(n)||Vn(e=n)&&Wl in e)return n;var e;let i=Ll.get(n);if(!i){const e=Array(n.length/2).fill(void 0);i=new Proxy(e,new Vl(t,n)),Ll.set(n,i)}return i};class Vl{O;Rn;jn;constructor(t,n){this.O=t,this.Rn=n,this.jn=this.Rn.length/2}get(t,n,e){if(n===Wl)return t;const i="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(i)||i<0||i>=this.jn)return Reflect.get(t,n,e);const s=2*i,r=this.Rn[s],o=this.Rn[s+1];if(0===r)return o;const l=this.O,c=fl(l,r,o);return Reflect.set(t,n,c),this.Rn[s]=0,this.Rn[s+1]=c,Dl(r)&&Tl(l,c,r,o),c}has(t,n){return n===Wl||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,i){if(n===Wl)return!1;const s=Reflect.set(t,n,e,i),r="number"==typeof n?n:parseInt(n,10);if(Number.isNaN(r)||r<0||r>=this.Rn.length/2)return s;const o=2*r;return this.Rn[o]=0,this.Rn[o+1]=e,!0}}const zl=t=>33<=t&&t<=46,Bl=(t,n,e)=>{let i=0;for(;n<e;){const e=t.charCodeAt(n);if(92===e)n+=2;else{if(0===i&&zl(e))break;123===e?i++:125===e&&i--,n++}}return n},Ql=t=>t instanceof Jl;class Jl extends Pl{element;qContainer;qManifestHash;rootVNode;document;Cn;h=new WeakMap;Pn;xn;lt=null;vNodeLocate=t=>Dr(this.rootVNode,t);An;On=null;constructor(t){if(super({},t.getAttribute("q:locale")),this.qContainer=t.getAttribute($e),!this.qContainer)throw Jn(25);this.document=t.ownerDocument,this.element=t,this.qn=t.getAttribute(fe),this.xn=t.getAttribute("q:instance"),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=Sr(this.element),this.Cn=[],this.An=[];const n=this.element.ownerDocument;n.qVNodeData||function(t){const n="q:container",e="/"+n,i="q:ignore",s="/"+i,r="q:container-island",o="/"+r,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(r))return 65;if(l.startsWith(i))return 16;if(l.startsWith(n))return 9;if(l.startsWith(o))return 64;if(l.startsWith(s))return 32;if(l.startsWith(e))return 8}return 0},p=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},$=(n,e,i,s,r,o)=>{const c=r.length;let u=0,f=-1,a=0,h=0,y=0,m=-1,w=null;const b=()=>{let t=0;for(;zl(y=r.charCodeAt(a))&&(t+=1<<y-33,a++,!(a>=c)););return t};do{if(i===s)return;w=null;const v=i==e?2:d(i);if(3===v){const t=i;let e=i;for(;e&&!(w=p(e));)e=e.parentNode;$(n,t,i,w,t.qVnodeData||"",t.qVNodeRefs)}else if(16===v){let t=i;do{if(t=n.nextNode(),!t)throw Error(`Island inside \x3c!--${i?.nodeValue}--\x3e not found!`)}while(65!==d(t));w=null}else if(64===v){w=i;do{if(w=n.nextNode(),!w)throw Error("Ignore block not closed!")}while(32!==d(w));w=null}else if(9===v){w=i;do{if(w=p(w),!w)throw Error(`\x3c!--${i?.nodeValue}--\x3e not closed!`)}while(8!==d(w));$(n,i,i,w,"",null)}else if(6===v){w=p(i);const n=i,e=n?.shadowRoot;e&&$(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?r.charCodeAt(h):33),h=Bl(r,a,c)):f=Number.MAX_SAFE_INTEGER),u===f){m===u&&o.set(u,i);const t=r.substring(a,h);l.set(i,t)}u++}}while(i=w||n.nextNode())},y=t.createTreeWalker(t,129);$(y,null,y.firstChild(),null,"",null)}(n),this.Pn=ue(n,this.xn)||Ui,this._n(),t.setAttribute($e,"resumed"),t.qContainer=this;const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.Cn=JSON.parse(e[e.length-1].textContent),Sn(this.Cn,this),this.An=Ul(this,this.Cn)),this.Nn(),t.isConnected&&t.dispatchEvent(new CustomEvent("qresume",{bubbles:!0}))}Nn(){const t=this.element.ownerDocument,n=t.head,e=t.body.querySelectorAll(re),i=e.length;if(i){const s=t.createDocumentFragment();for(let t=0;t<i;t++)s.appendChild(e[t]);n.appendChild(s)}}Xt(t,n){this.An[t]=n}parseQRL(t){const n=Zt(t);return n.O=this,n}handleError(t,n){const e=n&&this.resolveContext(n,sl);if(!e)throw t;e.error=t}setContext(t,n,e){let i=this.getHostProp(t,le);null==i&&this.setHostProp(t,le,i=[]),Dn(i,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,le);if(null!=e&&Wn(e,n.id,0))return Ln(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(Ar(n)){if(null!==_r(n,Zn,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){Nr(t,n,e)}getHostProp(t,n){const e=t;let i=null;switch(n){case qe:case xe:case Zn:case le:case ce:i=this._;break;case Re:case Oe:i=parseInt}return _r(e,n,i)}ensureProjectionResolved(t){if(!(16&t.flags)){t.flags|=16;const n=t.props;if(n)for(const t of Object.keys(n))if(O(t)){const e=n[t];if("string"==typeof e){const i=this.vNodeLocate(e);n[t]=i}}}}_=t=>qn(t,this.An);getSyncFn(t){return this.Pn[t]}Mn(t,n,e,i){if(i){const t=this.getHostProp(e,oe),i=new Set((t=>t?.split(" ")??null)(t));i.add(n),this.setHostProp(e,oe,(t=>Array.from(t).join(" "))(i))}if(null==this.On&&(this.On=new Set,this.element.querySelectorAll(se).forEach(t=>{this.On.add(t.getAttribute(ie))})),!this.On.has(n)){this.On.add(n);const e=this.document.createElement("style");e.setAttribute(ie,n),e.textContent=t,this.document.head.appendChild(e)}}_n(){const t={},n=this.element.attributes;if(n)for(let e=0;e<n.length;e++){const i=n[e];i.name!==Ne&&(t[i.name]=i.value)}this.ht={containerAttributes:t}}}const Hl=(t,n)=>{const{val:e,set:i,iCtx:s,i:r}=Zo();if(e)return;i(1);const o=new Gl(6|(!1===n?.deferUpdates?0:8),r,s.$,t,void 0,null);i(o);const l=s.O,{H:c}=s,u=De(c,()=>Yl(o,l,s.$));Te(u)&&(s.H=u)},Yl=(t,n,e)=>{t.R&=-5,lr(t);const i=Gt(n.U,e,"qTask");i.O=n;const s=t.ot.getFn(i,()=>y(n,t)),r=es(t,n),[o]=((t,n)=>{let e=null;return[i=>{"function"==typeof i&&(e||(e=[],t.Bt=()=>{t.Bt=null;for(const t of e)try{t()}catch(t){n(t)}}),e.push(i))},e??[]]})(t,t=>n.handleError(t,e)),l={track:r,cleanup:o};return Fe(()=>s(l),o,i=>{if(Te(i))return i.then(()=>Yl(t,n,e));n.handleError(i,e)})};class Gl extends ki{R;sn;L;ot;ft;Bt;constructor(t,n,e,i,s,r){super(),this.R=t,this.sn=n,this.L=e,this.ot=i,this.ft=s,this.Bt=r}}const Xl=t=>t instanceof Gl,Kl=t=>{if(!t.resolved)throw t.resolve()},Zl=t=>t instanceof Mi,tc=(t,n)=>{t.add(n)},nc=(t,n)=>{(t.backRef||=new Set).add(n)},ec=(t,n)=>{if(n?.serializationCtx){const e=t.consumer,i=t.property;let s=null;Xl(e)?s=e.ot:e instanceof is?s=e.qt:":"===i&&(s=n.getHostProp(e,Zn)),s&&n.serializationCtx.rt.add(s)}},ic=(t,n,e)=>{const i=(import.meta,!0);if(e){const s=e=>{const s=e.consumer,r=e.property;if(Xl(s))s.R|=4,It(t,s.L,1);else if(s instanceof Mi)s.invalidate();else if(":"===r)It(t,s,4);else if("."===r)i&&(o=s,l=n,(o.props||={})[_i]=l,It(t,s,2));else{const o=e.data;if(o instanceof Ss){const e=o.data,l={isConst:e.Gt,scopedStyleIdPrefix:e.Yt,value:n};if(i)((t,n,e)=>{const i=t.props||={};let s=i[Oi];s||(s=new Map,i[Oi]=s),s.set(n,e)})(s,r,l);else{const t=s;let n=t.getProp(Oi);n||(n=new Map,t.setProp(Oi,n)),n.set(r,l)}It(t,s,8)}}var o,l},r=Array.from(e);for(const t of r)s(t)}},sc=t=>Vn(t)&&"function"==typeof t[Ac],rc=t=>{let n=1;switch(t){case"never":n|=8;break;case"always":n|=16}return n},oc=[],lc=t=>{if(Rs(t)){if("function"==typeof t.type){const n=t.type[Hc];if(n){const[t]=n;return"Component("+t.Y+")"}return"Function("+t.type.name+")"}let n="<"+t.type;if(t.props){for(const[e,i]of Object.entries(t.props))n+=" "+e+"="+mn(i);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=lc(t)}):n+=lc(e),n+="</"+t.type+">"):n+="/>"}return n}return t+""},cc=t=>t[ts],uc=t=>t?.[Zi]||null,fc=(t,n)=>{const e=cc(t);e&&e.force(n)},ac=(t,n)=>{const e=cc(t);return!!e&&(e.p?.get(n)?.size??0)>0},hc=t=>uc(t)||t,dc=t=>Zi in t,pc=(t,n,e)=>{if(Un(t)&&e){let i=e.h.get(t);return i||(i=wn(e,t,n),e.h.set(t,i)),i}return t};class $c{R;O;p=void 0;constructor(t,n){this.R=t,this.O=n}toString(){return"[Store]"}force(t){const n=uc(this);ic(this.O,this,gn(n,t,this.p))}get(t,n){if("symbol"==typeof n)return n===Zi?t:n===ts?this:t[n];const e=Wo(),i=t[n];if(e){if(null===this.O){if(!e.O)return i;this.O=e.O}const s=e.J;s&&bn(t,Array.isArray(t)?ns:n,this,s)}return"toString"===n&&i===Object.prototype.toString?this.toString:1&this.R&&Vn(i)&&!Object.isFrozen(i)&&!dc(i)&&!Object.isFrozen(t)?pc(i,this.R,this.O):i}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const i=1&this.R?hc(e):e;return n in t?i!==t[n]&&vn(n,i,t,this):vn(n,i,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Array.isArray(t)||ic(this.O,this,gn(t,n,this.p)),!0)}has(t,n){if(n===Zi)return!0;if("string"==typeof n){const e=Wo();if(e){const i=e.J;i&&bn(t,Array.isArray(t)?ns:n,this,i)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=Wo(),e=n?.J;return e&&bn(t,ns,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 yc=(t,n)=>t[n],mc=(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(dc(t)&&(t=uc(t)),e==Object.prototype){for(const e in t)if(!mc(zo(yc,t,e),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!mc(t[e],n))return!1;return!0}if(Xl(t))return!0;if(Gi(t))return!0;if(Te(t))return!0;if(Rs(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 Ss)return!0;if(ql?.(t))return!0}else if("function"==typeof t){if(Yn(t)||Yc(t)||t===Us||t===Ds)return!0}else if(t===Wi||t===Xi||t===ns)return!0;return!1},wc=(t,n)=>{let e=qr(t)?Vt.call(t,1,"",!0).replaceAll(/\n.*/gm,""):"function"==typeof t?t+"":(t=>{const n=new WeakSet;return JSON.stringify(t,(t,e)=>{if(Vn(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 bc=!1;const vc=(t,n=!1,e="",i=20)=>{const s=n?"":"",r=n?"":"",o=""===e,l=[];for(let o=0;o<t.length;o++){if(i&&o>2*i){l.push("...");break}const c=t[o];let u=t[++o];if(0===c){"number"!=typeof u&&"string"!=typeof u&&(bc=!0);const t=`{${Vn(u)?u.constructor.name:typeof u}}`;l.push(`${s}${t}${r} ${wc(u,e+" ")}`)}else 3===c?u=Sc(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${vc(u,n,e+" ")}\n${e}]`:"[]"),l.push(`${s}${gc(c)}${r} ${u}`)}const c=l.map((t,n)=>`${e}${o?n+" ":""}${t}`).join("\n");if(o){const n=bc?"":`(${JSON.stringify(t).length} chars)`;return bc=!1,`\n${c}\n${n}`}return c},gc=t=>ll[t]||`Unknown(${t})`,Sc=t=>ol[t]||`Unknown(${t})`,kc=(t,n)=>zo(xc,t,new WeakSet,"_",n),xc=(t,n,e,i)=>{const s=hc(t);if(null==s)return t;if(Rc(s)){if("object"==typeof s){if(n.has(s))return t;n.add(s)}if(Zl(s))return t;if(mc(s))return t;const r=typeof s;if("object"===r){if(Te(s))return t;if((t=>t&&"number"==typeof t.nodeType)(s))return t;if(zn(s)){let i=0;return s.forEach((t,r)=>{if(r!==i)throw Jn(3,[s]);xc(t,n,e+"["+r+"]"),i=r+1}),t}if(s.__brand)return t;if(Un(s)){for(const[t,i]of Object.entries(s))xc(i,n,e+"."+t);return t}}let o;if(o=i||"Value cannot be serialized","_"!==e&&(o+=` in ${e},`),"object"===r)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"===r){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 Jn(3,[o])}return t},qc=/*#__PURE__*/new WeakSet,Rc=t=>!Vn(t)&&!Qn(t)||!qc.has(t)&&!(Pc in t),jc=t=>!!t&&(Vn(t)||"function"==typeof t)&&(qc.has(t)||Pc in t),Cc=t=>((Vn(t)&&null!==t||"function"==typeof t)&&qc.add(t),t),Pc=Symbol(),Ac=Symbol();let Oc=null;const _c=t=>{Oc=t},Nc=(t,n)=>{const e=[];for(const i of n.split(" "))e.push(t._(i));return e},Mc=t=>{if(Oc=t.it,"string"==typeof Oc){if(!t.O)throw Jn(13);const n=Il;if(Oc=t.it=Nc(t.O,Oc),Il!==n)return Il}},Ec=(t,n)=>"function"==typeof n&&t.it?function(...e){return Mc(t),n.apply(this,e)}:n,Ic=(t,n,e,i,s)=>{const r=async function(...t){if(r.resolved)return r.resolved.apply(this,t);const n=Wo();return await r.resolve(n?.O),Ht.call(this,n,r.resolved,t)};i&&n in i&&(e=i[n]);const o=null!=e?async()=>e:((t,n)=>{let e;return async i=>{if(null!=e)return e;if(i)t.O=i;else if(!t.O){const n=Wo();n?.O&&(t.O=n.O)}if(""===t.G){const n=t.O.xn,i=t.O.element?.ownerDocument||document,s=ue(i,n);return t.resolved=e=s[+t.Y]}t.G&&On(t.G,1);const s=Lc(),r=t.Y,o=n?n().then(t=>t[r]):$i().importSymbol(t.O?.element,t.G,r);if(e=De(o,i=>(n&&(n[r]=i),e=t.resolved=Ec(t,i))),Te(e)){const t=Wo();e.then(()=>Fc(r,t?.$ instanceof Ri?t?.$.node:void 0,s),t=>{console.error(`qrl ${r} failed to load`,t),e=null})}return t.O&&await Mc(t),e}})(r,i),l=(t=>{const n=t.lastIndexOf("_");return n>-1?t.slice(n+1):t})(n);return Object.assign(r,{getSymbol:jn,getHash:Cn,getCaptured:Pn,getFn:function(t,n){return Rn.call(this,r,t,n)},resolve:o,resolved:void 0,G:t,Y:n,M:l,it:s,O:null}),null!=e&&(e=De(Mc(r),()=>De(e,t=>e=r.resolved=Ec(r,t)))),t&&On(t,.8),r},Tc=/*#__PURE__*/new Set,Fc=(t,n,e)=>{Tc.has(t)||(Tc.add(t),Dc("qsymbol",{symbol:t,element:n,reqTime:e}))},Dc=(t,n)=>{"object"==typeof document&&document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},Lc=()=>"object"==typeof performance?performance.now():0;let Wc=0;const Uc=t=>Ic(null,"s"+Wc++,t,null,null),Vc=Uc,zc=t=>t,Bc=t=>Ic("",Hn,t,null,null),Qc=(t,n)=>(void 0===n&&(n=""+t),t.serialized=n,Ic("",Hn,t,null,null)),Jc=t=>{function n(n,e){const i=t.M.slice(0,4)+":"+(e||""),s=()=>{};return s[Hc]=[t],Os(s,n,null,n.children,0,i)}return n[Hc]=[t],n},Hc=Symbol(),Yc=t=>"function"==typeof t&&void 0!==t[Hc],Gc=t=>Jc(Vc(t)),Xc=os(zc),Kc=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!mi(n);)n=n.nextSibling;t=n}t.setAttribute($e,"resumed");const i=dn(t);i.ht=e.serverData||{};const s=i.rootVNode;return Nr(s,_i,n),It(i,s,2),await i.l,{cleanup:()=>{dt(i,[],i.rootVNode)}}},Zc=(t,n)=>{const{val:e,set:i,iCtx:s}=Zo();if(null!=e)return e;const r=Qn(t)?Jt(void 0,t):t;if(!1===n?.reactive)return i(r),r;{const t=s.O,e=pc(r,n?.deep??1?1:0,t);return i(e),e}},tu=()=>{const{val:t,set:n,iCtx:e}=Zo();if(null!=t)return t;const i=e.O.qn||"",s=i?Qe(i).substring(0,3):"",r=e.O.getHostProp(e.$,Zn);let o=`${s}${r?.getHash().substring(0,3)||""}${(e.O.kn++).toString(36)||""}`,l=o.charCodeAt(0);return l>=48&&l<=57&&(l+=17,o=String.fromCharCode(l)+o.substring(1)),n(o)},nu=/*#__PURE__*/new Map,eu=(t,n)=>{let e=nu.get(n);return e||nu.set(n,e=iu(t,n)),e},iu=(t,n)=>{function e(n){l.push(t.substring(f,n)),f=n}function i(t){a===fu||r()||(e(t),l.push(".",te,n))}function s(n){let e=0;if(t.charCodeAt(u)===ju)for(let n=1;n<10;n++)if(t.charCodeAt(u+n)===ju){e=n+1;break}t:for(let i=3;i<n.length;i++){const s=n[i];for(let n=0;n<s.length;n++)if((t.charCodeAt(u+n+e)|Tu)!==s.charCodeAt(n))continue t;return u+=s.length+e,!0}return!1}function r(){return-1!==c.indexOf(fu)||-1!==c.indexOf(hu)}const o=t.length,l=[],c=[];let u=0,f=u,a=cu,h=0;for(;u<o;){const n=u;let o=t.charCodeAt(u++);o===Eu&&(u++,o=_u);const l=Vu[a];for(let d=0;d<l.length;d++){const p=l[d],[$,y,m]=p;if(($===h||$===mu||$===wu&&su(h)||$===vu&&lu(h))&&(y===o||y===mu||y===wu&&su(o)||y===bu&&!su(o)&&o!==Cu||y===vu&&lu(o))&&(3==p.length||s(p))){if(p.length>3&&(o=t.charCodeAt(u-1)),m===$u||m==yu){m===yu&&(a!==uu||r()?ru(o)||i(u-(y==bu?1:y==Ru?2:0)):(ru(o)?e(u-2):i(u-2),f++)),y===bu&&(u--,o=h);do{a=c.pop()||cu,a===fu&&(e(u-1),f++)}while(ou(a))}else c.push(a),a===fu&&m===cu?(e(u-8),f=u):m===au&&i(n),a=m;break}}h=o}return e(u),l.join("")},su=t=>t>=Pu&&t<=Au||t>=_u&&t<=Nu||t>=Fu&&t<=Du||t>=128||t===Iu||t===ju,ru=t=>t===Ou||t===Cu||t===Mu||t===qu||su(t),ou=t=>t===du||t===hu||t===pu||t===fu,lu=t=>t===xu||t===gu||t===Su||t===ku,cu=0,uu=2,fu=5,au=6,hu=10,du=11,pu=12,$u=17,yu=18,mu=0,wu=1,bu=2,vu=3,gu=9,Su=10,ku=13,xu=32,qu=35,Ru=41,ju=45,Cu=46,Pu=48,Au=57,Ou=58,_u=65,Nu=90,Mu=91,Eu=92,Iu=95,Tu=32,Fu=97,Du=122,Lu=123,Wu=125,Uu=/*@__PURE__*/(()=>[[mu,39,14],[mu,34,15],[mu,47,16,"*"]])(),Vu=/*@__PURE__*/(()=>[[[mu,42,uu],[mu,Mu,7],[mu,Ou,au,":","before","after","first-letter","first-line"],[mu,Ou,fu,"global"],[mu,Ou,3,"has","host-context","not","where","is","matches","any"],[mu,Ou,4],[mu,wu,1],[mu,Cu,1],[mu,qu,1],[mu,64,hu,"keyframe"],[mu,64,du,"media","supports","container"],[mu,64,pu],[mu,Lu,13],[47,42,16],[mu,59,$u],[mu,Wu,$u],[mu,Ru,$u],...Uu],[[mu,bu,yu]],[[mu,bu,yu]],[[mu,40,cu],[mu,bu,yu]],[[mu,40,8],[mu,bu,yu]],[[mu,40,cu],[mu,bu,$u]],[[mu,bu,$u]],[[mu,93,yu],[mu,39,14],[mu,34,15]],[[mu,Ru,$u],...Uu],[[mu,Wu,$u],...Uu],[[mu,Wu,$u],[vu,wu,1],[mu,Ou,fu,"global"],[mu,Lu,13],...Uu],[[mu,Lu,cu],[mu,59,$u],...Uu],[[mu,59,$u],[mu,Lu,9],...Uu],[[mu,Wu,$u],[mu,Lu,13],[mu,40,8],...Uu],[[mu,39,$u]],[[mu,34,$u]],[[42,47,$u]]])(),zu=t=>({styleId:Hu(t,t=>t,!1)}),Bu=/*#__PURE__*/os(zu),Qu=t=>({scopeId:te+Hu(t,eu,!0)}),Ju=/*#__PURE__*/os(Qu),Hu=(t,n,e)=>{const{val:i,set:s,iCtx:r,i:o}=Zo();if(i)return i;const l=(c=o,`${Qe(t.M)}-${c}`);var c;const u=r.$;if(s(l),!t.resolved)throw t.resolve().then(t=>r.O.Mn(n(t,l),l,u,e));return r.O.Mn(n(t.resolved,l),l,u,e),l},Yu=(t,n)=>{Ku("q-e:",t,n)},Gu=(t,n)=>{Ku("q-d:",t,n)},Xu=(t,n)=>{Ku("q-w:",t,n)},Ku=(t,n,e)=>{const{isAdded:i,addEvent:s}=Zu();if(!i&&e)if(Array.isArray(n))for(const i of n)s(t+ze(i),e);else s(t+ze(n),e)},Zu=()=>{const t=Uo(),n=t.$;let e=t.O.getHostProp(n,Ae);null===e&&(e={},t.O.setHostProp(n,Ae,e));let i=t.O.getHostProp(n,Oe);null===i&&(i=0),t.O.setHostProp(n,Oe,i+1);let s=t.O.getHostProp(n,_e);for(null===s&&(s=[],t.O.setHostProp(n,_e,s));s.length<=i;)s.push(!1);return{isAdded:s[i],addEvent:(t,n)=>{s[i]=!0;let r=e[t];r||(e[t]=r=[]),r.push(n)}}},tf=t=>{const n=Qn(t)&&!Yc(t)?Jt(void 0,t):t;return as(n)},nf=t=>ef(tf,t),ef=(t,...n)=>{const{val:e,set:i}=Zo();return null!=e?e:i(t=Qn(t)&&!Yc(t)?zo(t,...n):t)},sf=(t,n)=>(t.resolve(),cs(t,n)),rf=(t,n)=>ef(sf,t,n),of=os(rf),lf=t=>(t.resolve(),fs(t)),cf=t=>ef(lf,t),uf=os(cf),ff=(t,n)=>{const{val:e,set:i,i:s,iCtx:r}=Zo(),o=n?.strategy??"intersection-observer";if(e)return void(32&e.R||(e.R|=32,af(e,o)));let l;l=5,t.resolve(),It(r.O,r.$,1);const c=new Gl(5,s,r.$,t,void 0,null);i(c),af(c,o)},af=(t,n)=>{"intersection-observer"===n?Yu("qvisible",hf(t)):"document-ready"===n?Gu("qinit",hf(t)):"document-idle"===n&&Gu("qidle",hf(t))},hf=t=>Ic(null,"_task",yn,null,[t]),df=os(Nl),pf=/*#__PURE__*/os(Hl),$f=/*#__PURE__*/os(ff),yf=(t,n)=>(t.resolve(),us(t,n)),mf=(t,n)=>ef(yf,t,n),wf=os(mf),bf=()=>{const t=Zc({error:void 0});return nl(sl,t),t},vf=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 i=gf.replace('"_URL_"',JSON.stringify(e.path.split("/").pop()));return i=i.replaceAll(/\s\s+/gm,""),As("script",null,{dangerouslySetInnerHTML:"("+i+")(navigator.serviceWorker);",nonce:e.nonce},null,0,"prefetch-service-worker")},gf=/*#__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)}),Sf=()=>null;globalThis.__qwik&&Jn(30,[globalThis.__qwik,fi]),globalThis.__qwik=fi,import.meta.hot&&import.meta.hot.dispose(()=>{globalThis.__qwik=void 0});export{Uc as $,Ds as Fragment,Pc as NoSerializeSymbol,Sf as PrefetchGraph,vf as PrefetchServiceWorker,Ls as RenderOnce,Ml as Resource,Bs as SSRComment,zs as SSRRaw,Js as SSRStream,Qs as SSRStreamBlock,Ac as SerializerSymbol,Vs as SkipRender,Us as Slot,Ii as _CONST_PROPS,Jl as _DomContainer,Si as _EFFECT_BACK_REF,Ui as _EMPTY_ARRAY,Vi as _EMPTY_OBJ,Li as _IMMUTABLE,Pl as _SharedContainer,Ss as _SubscriptionData,Wi as _UNINITIALIZED,Ti as _VAR_PROPS,Oc as _captures,S as _chk,Ic as _createQRL,xn as _deserialize,vc as _dumpState,Mt as _executeSsrChores,wl as _fnSignal,Yi as _getConstProps,Go as _getContextContainer,Yo as _getContextEvent,Ho as _getContextHostElement,dn as _getDomContainer,$n as _getQContainerElement,Hi as _getVarProps,ac as _hasStoreEffects,Rs as _isJSXNode,dc as _isStore,nn as _isStringifiable,Xl as _isTask,Xo as _jsxBranch,_s as _jsxC,Ms as _jsxQ,Ns as _jsxS,As as _jsxSorted,Os as _jsxSplit,Fn as _mapApp_findIndx,Ln as _mapArray_get,Dn as _mapArray_set,dl as _noopQrl,pl as _noopQrlDEV,Sn as _preprocessState,Qc as _qrlSync,Xt as _qrlToString,ml as _regSymbol,k as _res,il as _resolveContextWithoutSequentialScope,Xs as _restProps,_l as _rsc,N as _run,kn as _serialize,cn as _setEvent,yn as _task,g as _val,kc as _verifySerializable,Ir as _vnode_ensureElementInflated,Po as _vnode_getAttrKeys,io as _vnode_getFirstChild,Cr as _vnode_isMaterialized,Pr as _vnode_isTextVNode,Ar as _vnode_isVirtualVNode,Vt as _vnode_toString,Ko as _waitUntilRendered,on as _walkJSX,ws as _wrapProp,vs as _wrapSignal,Gc as component$,Jc as componentQrl,ds as createAsync$,us as createAsyncQrl,hs as createComputed$,cs as createComputedQrl,tl as createContextId,x as createElement,ps as createSerializer$,fs as createSerializerQrl,as as createSignal,Xc as event$,zc as eventQrl,fc as forceStoreEffects,dn as getDomContainer,Bt as getLocale,$i as getPlatform,x as h,os as implicit$FirstArg,hl as inlinedQrl,yl as inlinedQrlDEV,Nn as isBrowser,Mn as isDev,_n as isServer,Zl as isSignal,Is as jsx,Ts as jsxDEV,Fs as jsxs,Cc as noSerialize,al as qrl,$l as qrlDEV,Kc as render,pi as setPlatform,Bc as sync$,zo as untrack,hc as unwrapStore,wf as useAsync$,mf as useAsyncQrl,of as useComputed$,rf as useComputedQrl,ef as useConstant,el as useContext,nl as useContextProvider,bf as useErrorBoundary,tu as useId,Ol as useLexicalScope,Yu as useOn,Gu as useOnDocument,Xu as useOnWindow,df as useResource$,Nl as useResourceQrl,uf as useSerializer$,cf as useSerializerQrl,An as useServerData,nf as useSignal,Zc as useStore,Bu as useStyles$,zu as useStylesQrl,Ju as useStylesScoped$,Qu as useStylesScopedQrl,pf as useTask$,Hl as useTaskQrl,$f as useVisibleTask$,ff as useVisibleTaskQrl,fi as version,Qt as withLocale};