diff --git a/_build/assets/client-0296dc1b.js b/_build/assets/client-0296dc1b.js new file mode 100644 index 0000000..bbeeddc --- /dev/null +++ b/_build/assets/client-0296dc1b.js @@ -0,0 +1 @@ +import{_ as K,p as he,H as me}from"./HttpStatusCode-dd849264.js";import{M as ge}from"./index-e5f2924e.js";import{r as pe,c as R,g as ye,a as Y,b as T,d as we,u as Z,e as X,f as ve,o as ee,s as be,i as Ee,h as v,j as Re,S as te,k as Pe,l as ne,m as Ae,n as q,p as M,q as U,t as Se,w as F,x as N,y as _e,z as Le,E as $e,A as xe}from"./web-359a0177.js";const j="Invariant Violation",{setPrototypeOf:Te=function(e,t){return e.__proto__=t,e}}=Object;class W extends Error{framesToPop=1;name=j;constructor(t=j){super(typeof t=="number"?`${j}: ${t} (see https://github.com/apollographql/invariant-packages)`:t),Te(this,W.prototype)}}function z(e,t){if(!e)throw new W(t)}const Ce=/^[A-Za-z]:\//;function Ie(e=""){return e&&e.replace(/\\/g,"/").replace(Ce,t=>t.toUpperCase())}const Oe=/^[/\\]{2}/,ke=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Be=/^[A-Za-z]:$/,qe=function(e){if(e.length===0)return".";e=Ie(e);const t=e.match(Oe),n=G(e),r=e[e.length-1]==="/";return e=Ue(e,!n),e.length===0?n?"/":r?"./":".":(r&&(e+="/"),Be.test(e)&&(e+="/"),t?n?`//${e}`:`//./${e}`:n&&!G(e)?`/${e}`:e)},Me=function(...e){if(e.length===0)return".";let t;for(const n of e)n&&n.length>0&&(t===void 0?t=n:t+=`/${n}`);return t===void 0?".":qe(t.replace(/\/\/+/g,"/"))};function Ue(e,t){let n="",r=0,s=-1,o=0,a=null;for(let i=0;i<=e.length;++i){if(i2){const c=n.lastIndexOf("/");c===-1?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),s=i,o=0;continue}else if(n.length>0){n="",r=0,s=i,o=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,i)}`:n=e.slice(s+1,i),r=i-s-1;s=i,o=0}else a==="."&&o!==-1?++o:o=-1}return n}const G=function(e){return ke.test(e)};function Fe(e){return`virtual:${e}`}function je(e){return e.handler?.endsWith(".html")?e.handler:`#vinxi/handler/${e.name}`}const ze=new Proxy({},{get(e,t){return z(typeof t=="string","Bundler name should be a string"),{handler:Fe(je({name:t})),chunks:new Proxy({},{get(n,r){z(typeof r=="string","Chunk expected");let s=Me("/_build",r+".js");return{import(){return K(()=>import(s),[])},output:{path:s}}}}),inputs:new Proxy({},{get(n,r){z(typeof r=="string","Input must be string");let s=window.manifest[r].output;return{async import(){return K(()=>import(s),[])},async assets(){return window.manifest[r].assets},output:{path:s}}}})}}});globalThis.MANIFEST=ze;function De(){let e=new Set;function t(s){return e.add(s),()=>e.delete(s)}let n=!1;function r(s,o){if(n)return!(n=!1);const a={to:s,options:o,defaultPrevented:!1,preventDefault:()=>a.defaultPrevented=!0};for(const i of e)i.listener({...a,from:i.location,retry:c=>{c&&(n=!0),i.navigate(s,{...o,resolve:!1})}});return!a.defaultPrevented}return{subscribe:t,confirm:r}}const Ne=/^(?:[a-z0-9]+:)?\/\//i,We=/^\/+|(\/)\/+$/g;function C(e,t=!1){const n=e.replace(We,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function O(e,t,n){if(Ne.test(t))return;const r=C(e),s=n&&C(n);let o="";return!s||t.startsWith("/")?o=r:s.toLowerCase().indexOf(r.toLowerCase())!==0?o=r+s:o=s,(o||"/")+C(t,!o)}function Ve(e,t){return C(e).replace(/\/*(\*.*)?$/g,"")+C(t)}function re(e){const t={};return e.searchParams.forEach((n,r)=>{t[r]=n}),t}function He(e,t,n){const[r,s]=e.split("/*",2),o=r.split("/").filter(Boolean),a=o.length;return i=>{const c=i.split("/").filter(Boolean),f=c.length-a;if(f<0||f>0&&s===void 0&&!t)return null;const h={path:a?"":"/",params:{}},d=y=>n===void 0?void 0:n[y];for(let y=0;yr.localeCompare(e,void 0,{sensitivity:"base"})===0;return t===void 0?!0:typeof t=="string"?n(t):typeof t=="function"?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp?t.test(e):!1}function Ke(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce((s,o)=>s+(o.startsWith(":")?2:3),r.length-(n===void 0?0:1))}function se(e){const t=new Map,n=ye();return new Proxy({},{get(r,s){return t.has(s)||pe(n,()=>t.set(s,R(()=>e()[s]))),t.get(s)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())}})}function oe(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length);const s=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)s.push(n+=t[1]),r=r.slice(t[0].length);return oe(r).reduce((o,a)=>[...o,...s.map(i=>i+a)],[])}const Ze=100,Xe=Y(),V=Y();function Ge(e,t=""){const{component:n,load:r,children:s,metadata:o}=e,a=!s||Array.isArray(s)&&!s.length,i={key:e,component:n,load:r,metadata:o};return ae(e.path).reduce((c,f)=>{for(const h of oe(f)){const d=Ve(t,h),y=a?d:d.split("/*",1)[0];c.push({...i,originalPath:h,pattern:y,matcher:He(y,!a,e.matchFilters)})}return c},[])}function Je(e,t=0){return{routes:e,score:Ke(e[e.length-1])*1e4-t,matcher(n){const r=[];for(let s=e.length-1;s>=0;s--){const o=e[s],a=o.matcher(n);if(!a)return null;r.unshift({...a,route:o})}return r}}}function ae(e){return Array.isArray(e)?e:[e]}function ie(e,t="",n=[],r=[]){const s=ae(e);for(let o=0,a=s.length;oa.score-o.score)}function ce(e,t){for(let n=0,r=e.length;n{const f=e();try{return new URL(f,n)}catch{return console.error(`Invalid path ${f}`),c}},n,{equals:(c,f)=>c.href===f.href}),s=R(()=>r().pathname),o=R(()=>r().search,!0),a=R(()=>r().hash),i=()=>"";return{get pathname(){return s()},get search(){return o()},get hash(){return a()},get state(){return t()},get key(){return i()},query:se(ee(o,()=>re(r())))}}let S;function Ye(e,t,n={}){const{signal:[r,s],utils:o={}}=e,a=o.parsePath||(m=>m),i=o.renderPath||(m=>m),c=o.beforeLeave||De(),f=O("",n.base||"");if(f===void 0)throw new Error(`${f} is not a valid base path`);f&&!r().value&&s({value:f,replace:!0,scroll:!1});const[h,d]=T(!1),y=async m=>{d(!0);try{await be(m)}finally{d(!1)}},[b,l]=T(r().value),[u,g]=T(r().state),p=Qe(b,u),P=[],E=T([]),_={pattern:f,params:{},path:()=>f,outlet:()=>null,resolvePath(m){return O(f,m)}};return we(()=>{const{value:m,state:w}=r();Z(()=>{m!==b()&&y(()=>{S="native",l(m),g(w),X(),E[1]([])}).then(()=>{S=void 0})})}),{base:_,location:p,isRouting:h,renderPath:i,parsePath:a,navigatorFactory:le,beforeLeave:c,preloadRoute:fe,submissions:E};function I(m,w,A){Z(()=>{if(typeof w=="number"){w&&(o.go?c.confirm(w,A)&&o.go(w):console.warn("Router integration does not support relative routing"));return}const{replace:k,resolve:B,scroll:L,state:$}={replace:!1,resolve:!0,scroll:!0,...A},x=B?m.resolvePath(w):O("",w);if(x===void 0)throw new Error(`Path '${w}' is not a routable path`);if(P.length>=Ze)throw new Error("Too many redirects");const H=b();if((x!==H||$!==u())&&!Ee){if(c.confirm(x,A)){const de=P.push({value:H,replace:k,scroll:L,state:u()});y(()=>{S="navigate",l(x),g($),X(),E[1]([])}).then(()=>{P.length===de&&(S=void 0,ue({value:x,state:$}))})}}})}function le(m){return m=m||ve(V)||_,(w,A)=>I(m,w,A)}function ue(m){const w=P[0];w&&((m.value!==w.value||m.state!==w.state)&&s({...m,replace:w.replace,scroll:w.scroll}),P.length=0)}function fe(m,w){const A=ce(t(),m.pathname),k=S;S="preload";for(let B in A){const{route:L,params:$}=A[B];L.component&&L.component.preload&&L.component.preload(),w&&L.load&&L.load({params:$,location:{pathname:m.pathname,search:m.search,hash:m.hash,query:re(m),state:null,key:""},intent:"preload"})}S=k}}function et(e,t,n,r,s){const{base:o,location:a}=e,{pattern:i,component:c,load:f}=r().route,h=R(()=>r().path);c&&c.preload&&c.preload();const d=f?f({params:s,location:a,intent:S||"initial"}):void 0;return{parent:t,pattern:i,path:h,params:s,outlet:()=>c?v(c,{params:s,location:a,data:d,get children(){return n()}}):n(),resolvePath(b){return O(o.path(),b,h())}}}const tt=e=>t=>{const{base:n}=t,r=Re(()=>t.children),s=R(()=>ie(t.root?{component:t.root,children:r()}:r(),t.base||"")),o=Ye(e,s,{base:n});return e.create&&e.create(o),v(Xe.Provider,{value:o,get children(){return v(nt,{routerState:o,get branches(){return s()}})}})};function nt(e){const t=R(()=>ce(e.branches,e.routerState.location.pathname)),n=se(()=>{const a=t(),i={};for(let c=0;c{let f=i&&a.length===i.length;const h=[];for(let d=0,y=a.length;d{r[d]=u,h[d]=et(e.routerState,h[d-1]||e.routerState.base,rt(()=>o()[d+1]),()=>t()[d],n)}))}return r.splice(a.length).forEach(d=>d()),c&&f?c:(s=h[0],h)}));return v(te,{get when(){return o()&&s},keyed:!0,children:a=>v(V.Provider,{value:a,get children(){return a.outlet()}})})}const rt=e=>()=>v(te,{get when(){return e()},keyed:!0,children:t=>v(V.Provider,{value:t,get children(){return t.outlet()}})});function st([e,t],n,r){return[n?()=>n(e()):e,r?s=>t(r(s)):t]}function ot(e){if(e==="#")return null;try{return document.querySelector(e)}catch{return null}}function at(e){let t=!1;const n=s=>typeof s=="string"?{value:s}:s,r=st(T(n(e.get()),{equals:(s,o)=>s.value===o.value}),void 0,s=>(!t&&e.set(s),s));return e.init&&ne(e.init((s=e.get())=>{t=!0,r[1](n(s)),t=!1})),tt({signal:r,create:e.create,utils:e.utils})}function it(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}function ct(e,t){const n=ot(`#${e}`);n?n.scrollIntoView():t&&window.scrollTo(0,0)}const lt=new Map;function ut(e=!0,t=!1,n="/_server"){return r=>{const s=r.base.path(),o=r.navigatorFactory(r.base);let a={};function i(l){return l.namespaceURI==="http://www.w3.org/2000/svg"}function c(l){if(l.defaultPrevented||l.button!==0||l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)return;const u=l.composedPath().find(I=>I instanceof Node&&I.nodeName.toUpperCase()==="A");if(!u||t&&!u.getAttribute("link"))return;const g=i(u),p=g?u.href.baseVal:u.href;if((g?u.target.baseVal:u.target)||!p&&!u.hasAttribute("state"))return;const E=(u.getAttribute("rel")||"").split(/\s+/);if(u.hasAttribute("download")||E&&E.includes("external"))return;const _=g?new URL(p,document.baseURI):new URL(p);if(!(_.origin!==window.location.origin||s&&_.pathname&&!_.pathname.toLowerCase().startsWith(s.toLowerCase())))return[u,_]}function f(l){const u=c(l);if(!u)return;const[g,p]=u,P=r.parsePath(p.pathname+p.search+p.hash),E=g.getAttribute("state");l.preventDefault(),o(P,{resolve:!1,replace:g.hasAttribute("replace"),scroll:!g.hasAttribute("noscroll"),state:E&&JSON.parse(E)})}function h(l){const u=c(l);if(!u)return;const[g,p]=u;a[p.pathname]||r.preloadRoute(p,g.getAttribute("preload")!=="false")}function d(l){const u=c(l);if(!u)return;const[g,p]=u;a[p.pathname]||(a[p.pathname]=setTimeout(()=>{r.preloadRoute(p,g.getAttribute("preload")!=="false"),delete a[p.pathname]},200))}function y(l){const u=c(l);if(!u)return;const[,g]=u;a[g.pathname]&&(clearTimeout(a[g.pathname]),delete a[g.pathname])}function b(l){let u=l.submitter&&l.submitter.hasAttribute("formaction")?l.submitter.formAction:l.target.action;if(!u)return;if(!u.startsWith("https://action/")){const p=new URL(u);if(u=r.parsePath(p.pathname+p.search),!u.startsWith(n))return}if(l.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const g=lt.get(u);if(g){l.preventDefault();const p=new FormData(l.target);l.submitter&&l.submitter.name&&p.append(l.submitter.name,l.submitter.value),g.call(r,p)}}Ae(["click","submit"]),document.addEventListener("click",f),e&&(document.addEventListener("mouseover",d),document.addEventListener("mouseout",y),document.addEventListener("focusin",h),document.addEventListener("touchstart",h)),document.addEventListener("submit",b),ne(()=>{document.removeEventListener("click",f),e&&(document.removeEventListener("mouseover",d),document.removeEventListener("mouseout",y),document.removeEventListener("focusin",h),document.removeEventListener("touchstart",h)),document.removeEventListener("submit",b)})}}function ft(e){return at({get:()=>({value:window.location.pathname+window.location.search+window.location.hash,state:history.state}),set({value:t,replace:n,scroll:r,state:s}){n?window.history.replaceState(s,"",t):window.history.pushState(s,"",t),ct(window.location.hash.slice(1),r)},init:t=>it(window,"popstate",()=>t()),create:ut(e.preload,e.explicitLinks,e.actionBase),utils:{go:t=>window.history.go(t)}})(e)}var dt=N("