PageSourceSearch

https://axenda.io/assets/index-7vyg2ClZ.js

js axenda.io collected 2026-09-24 14:22:51 UTC 95,994 bytes, 4 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_locale-cKEgbKdq.js","assets/matchContext-DZDDCaAo.js","assets/_locale-CK0rncmD.js","assets/preload-helper-m0Hx_YcF.js","assets/footer-KRKv1vGI.js","assets/ui-j4v7hRSl.js","assets/team-EQo3QZ4s.js","assets/apps-Dz-dBVLE.js","assets/404-DMCcXt3W.js","assets/401-BGyrm4Qe.js"])))=>i.map(i=>d[i]);
2import{$ as e,A as t,B as n,C as r,Ct as i,D as a,E as o,Et as s,G as c,I as l,J as u,K as d,L as f,M as p,N as m,O as h,P as g,R as _,S as v,T as y,Tt as b,U as x,V as S,W as C,X as w,Y as E,Z as ee,_ as D,_t as te,a as ne,at as re,b as ie,bt as ae,c as oe,ct as O,d as se,dt as ce,et as le,f as ue,ft as k,gt as de,h as fe,ht as pe,i as A,it as j,j as me,k as he,l as ge,lt as _e,m as ve,mt as ye,n as M,o as be,ot as xe,pt as Se,q as Ce,r as we,rt as N,s as Te,st as Ee,t as De,tt as Oe,ut as ke,v as Ae,vt as je,w as Me,wt as Ne,x as Pe,xt as Fe,y as Ie,yt as Le,z as Re}from"./matchContext-DZDDCaAo.js";import{a as ze,c as Be,d as Ve,f as He,i as Ue,l as P,n as We,r as Ge,s as Ke,t as F,u as qe}from"./preload-helper-m0Hx_YcF.js";function Je(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function I(e){return e?.isNotFound===!0}function Ye(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function Xe(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function Ze(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=Xe(r):Array.isArray(t)?t.push(Xe(r)):n[e]=[t,Xe(r)]}return n}var Qe=et(JSON.parse),$e=tt(JSON.stringify,JSON.parse);function et(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=Ze(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function tt(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=Ye(e,r);return t?`?${t}`:``}}var nt=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},rt=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),it=(e,t)=>!(!e.preload||e.router.stores.matchStores.has(t)),at=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);
2i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},ot=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},L=(e,t,n)=>{if(A(n)||I(n))throw A(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:A(n)?`redirected`:I(n)?`notFound`:r.status===`pending`?`success`:r.status,context:at(e,t.index),isFetching:!1,error:n})),I(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),A(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},st=(e,t)=>{let n=e.router.getMatch(t);return!(n&&!n._nonReactive.dehydrated)},ct=(e,t,n)=>{let r=at(e,n);e.updateMatch(t,e=>({...e,context:r}))},lt=(e,t,n)=>{let{id:r,routeId:i}=e.matches[t],a=e.router.looseRoutesById[i];if(n instanceof Promise)throw n;e.firstBadMatchIndex??=t,L(e,e.router.getMatch(r),n);try{a.options.onError?.(n)}catch(t){n=t,L(e,e.router.getMatch(r),n)}e.updateMatch(r,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!A(n)&&!I(n)&&(e.serialError??=n)},ut=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!it(e,t)&&(n.options.loader||n.options.beforeLoad||xt(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{nt(e)},i);r._nonReactive.pendingTimeout=t}},dt=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;ut(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&L(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},ft=(e,t,n,r)=>{let i=e.router.getMatch(t),a=i._nonReactive.loadPromise;i._nonReactive.loadPromise=h(()=>{a?.resolve(),a=void 0});let{paramsError:o,searchError:s}=i;o&&lt(e,n,o),s&&lt(e,n,s),ut(e,t,r,i);let c=new AbortController,u=!1,d=()=>{u||(u=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:c})))},f=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{d(),f()});return}i._nonReactive.beforeLoadPromise=h();let p={...at(e,n,!1),...i.__routeContext},{search:m,params:g,cause:_}=i,v=it(e,t),y={search:m,abortController:c,params:g,preload:v,context:p,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:v?`preload`:_,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},b=r=>{if(r===void 0){e.router.batch(()=>{d(),f()});return}(A(r)||I(r))&&(d(),lt(e,n,r)),e.router.batch(()=>{d(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),f()})},x;try{if(x=r.options.beforeLoad(y),l(x))return d(),x.catch(t=>{lt(e,n,t)}).then(b)}catch(t){d(),lt(e,n,t)}b(x)},pt=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>ft(e,n,t,i),s=()=>{if(st(e,n))return;let t=dt(e,n,i);return l(t)?t.then(o):o()};return a()},mt=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},ht=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=at(e,r),d=it(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},gt=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{bt(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,c=s?.(ht(e,t,n,r,i)),u=!!s&&l(c);if((u||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=u?await c:c;L(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let d=a._nonReactive.minPendingPromise;d&&await d,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:at(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>
2({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:at(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,I(t)&&await i.options.notFoundComponent?.preload?.(),L(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,L(e,e.router.getMatch(n),t)}!A(o)&&!I(o)&&await bt(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:at(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),L(e,r,t)}},_t=async(e,t,n)=>{async function r(r,a,c,l,d){let f=Date.now()-a.updatedAt,p=r?d.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:d.options.staleTime??e.router.options.defaultStaleTime??0,m=d.options.shouldReload,h=typeof m==`function`?m(ht(e,t,i,n,d)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||c!==void 0&&c!==l.id);o=g===`success`&&(_||(h??v)),r&&d.options.preload===!1||(o&&!e.sync&&u?(s=!0,(async()=>{try{await gt(e,t,i,n,d);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){A(t)&&await e.router.navigate(t.options)}})()):g!==`success`||o?await gt(e,t,i,n,d):ct(e,i,n))}let{id:i,routeId:a}=e.matches[n],o=!1,s=!1,c=e.router.looseRoutesById[a],l=c.options.loader,u=((typeof l==`function`?void 0:l?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(st(e,i)){if(!e.router.getMatch(i))return e.matches[n];ct(e,i,n)}else{let t=e.router.getMatch(i),o=e.router.stores.matchesId.get()[n],s=(o&&e.router.stores.matchStores.get(o)||null)?.routeId===a?o:e.router.stores.matches.get().find(e=>e.routeId===a)?.id,l=it(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&u)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&L(e,n,a),n.status===`pending`&&await r(l,t,s,n,c)}else{let n=l&&!e.router.stores.matchStores.has(i),a=e.router.getMatch(i);a._nonReactive.loaderPromise=h(),n!==a.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(l,t,s,a,c)}}let d=e.router.getMatch(i);s||(d._nonReactive.loaderPromise?.resolve(),d._nonReactive.loadPromise?.resolve(),d._nonReactive.loadPromise=void 0),clearTimeout(d._nonReactive.pendingTimeout),d._nonReactive.pendingTimeout=void 0,s||(d._nonReactive.loaderPromise=void 0),d._nonReactive.dehydrated=void 0;let f=s?d.isFetching:!1;return f!==d.isFetching||d.invalid!==!1?(e.updateMatch(i,e=>({...e,isFetching:f,invalid:!1})),e.router.getMatch(i)):d};async function vt(e){let t=e,n=[];rt(t.router)&&nt(t);let r;for(let e=0;e<t.matches.length;e++){try{let n=pt(t,e);l(n)&&await n}catch(e){if(A(e))throw e;if(I(e))r=e;else if(!t.preload)throw e;break}if(t.serialError||t.firstBadMatchIndex!=null)break}let i=t.firstBadMatchIndex??t.matches.length,a=r&&!t.preload?ot(t,r):void 0,o=r&&t.preload?0:a===void 0?i:Math.min(a+1,i),s,c;for(let e=0;e<o;e++)n.push(_t(t,n,e));try{await Promise.all(n)}catch{let e=await Promise.allSettled(n);for(let t of e){if(t.status!==`rejected`)continue;let e=t.reason;if(A(e))throw e;I(e)?s??=e:c??=e}if(c!==void 0)throw c}let u=s??(r&&!t.preload?r:void 0),d=t.firstBadMatchIndex===void 0?t.matches.length-1:t.firstBadMatchIndex;if(!u&&r&&t.preload)return t.matches;if(u){let e=ot(t,u);e===void 0&&y();let n=t.matches[e],r=t.router.looseRoutesById[n.routeId],i=t.router.options?.defaultNotFoundComponent;!r.options.notFoundComponent&&i&&(r.options.notFoundComponent=i),u.routeId=n.routeId;let a=n.routeId===t.router.routeTree.id;t.updateMatch(n.id,e=>({...e,...a?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:u},isFetching:!1})),d=e,await bt(r,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await bt(e,[`errorComponent`])}for(let e=0;e<=d;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];try{let e=mt(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let f=nt(t);if(l(f)&&await f,u)throw u;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function yt(e,t){let n=t.map(t=>
2e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function bt(e,t=St){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===St?(()=>{if(e._componentsPromise===void 0){let t=yt(e,St);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():yt(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function xt(e){for(let t of St)if(e.options[t]?.preload)return!0;return!1}var St=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`];function Ct(e){return{input:({url:t})=>{for(let n of e)t=Tt(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=Et(e[n],t);return t}}}function wt(e){let t=fe(e.basepath),n=`/${t}`,r=e.caseSensitive?n:n.toLowerCase(),i=`${r}/`;return{input:({url:t})=>{let a=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return a===r?t.pathname=`/`:a.startsWith(i)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=ue([`/`,t,e.pathname]),e)}}function Tt(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Et(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Dt(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i,init:a}=t,o=new Map,s=new Map,c=new Map,l=n(e.status),u=n(e.loadedAt),d=n(e.isLoading),f=n(e.isTransitioning),p=n(e.location),m=n(e.resolvedLocation),h=n(e.statusCode),g=n(e.redirect),_=n([]),v=n([]),y=n([]),b=r(()=>Ot(o,_.get())),x=r(()=>Ot(s,v.get())),S=r(()=>Ot(c,y.get())),C=r(()=>_.get()[0]),w=r(()=>_.get().some(e=>o.get(e)?.get().status===`pending`)),E=r(()=>({locationHref:p.get().href,resolvedLocationHref:m.get()?.href,status:l.get()})),ee=r(()=>({status:l.get(),loadedAt:u.get(),isLoading:d.get(),isTransitioning:f.get(),matches:b.get(),location:p.get(),resolvedLocation:m.get(),statusCode:h.get(),redirect:g.get()})),D=Me(64);function te(e){let t=D.get(e);return t||(t=r(()=>{let t=_.get();for(let n of t){let t=o.get(n);if(t&&t.routeId===e)return t.get()}}),D.set(e,t)),t}let ne={status:l,loadedAt:u,isLoading:d,isTransitioning:f,location:p,resolvedLocation:m,statusCode:h,redirect:g,matchesId:_,pendingIds:v,cachedIds:y,matches:b,pendingMatches:x,cachedMatches:S,firstId:C,hasPending:w,matchRouteDeps:E,matchStores:o,pendingMatchStores:s,cachedMatchStores:c,__store:ee,getRouteMatchStore:te,setMatches:re,setPending:ie,setCached:ae};re(e.matches),a?.(ne);function re(e){kt(e,o,_,n,i)}function ie(e){kt(e,s,v,n,i)}function ae(e){kt(e,c,y,n,i)}return ne}function Ot(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function kt(e,t,n,r,i){let o=e.map(e=>e.id),s=new Set(o);i(()=>{for(let e of t.keys())s.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}a(n.get(),o)||n.set(o)})}var R=`__TSR_index`,At=`popstate`,jt=`beforeunload`;function Mt(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=It(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[R];i=Nt(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[R];i=Nt(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[R]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function Nt(e,t){t||={};let n=Lt();return{...t,key:n,__TSR_key:n,[R]:e}}function Pt(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>It(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=Lt();t.history.replaceState({[R]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(C._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),C._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=It(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),C.notify({type:e})},x=async()=>
2{if(f){f=!1;return}let e=c(),n=e.state[R]-l.state[R],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),C.notify(u);return}}}l=c(),C.notify(u)},S=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},C=Mt({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(jt,S,{capture:!0}),t.removeEventListener(At,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener(jt,S,{capture:!0}),t.addEventListener(At,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return C._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return C._ignoreSubscribers||b(`REPLACE`),n},C}function Ft(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function It(e,t){let n=Ft(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=Lt();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[R]:0,key:a,__TSR_key:a}}}function Lt(){return(Math.random()+1).toString(36).substring(7)}function Rt(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var zt=new WeakMap,Bt=class{constructor(e,n){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.routeBranchCache=new WeakMap,this.startTransition=e=>e(),this.update=e=>{let t=this.options,n=this.basepath??t?.basepath??`/`,r=this.basepath===void 0,i=t?.rewrite;if(this.options={...t,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=ge(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.history=this.options.history?this.options.history:Pt()),this.origin=this.options.origin,this.origin||=window?.origin&&window.origin!==`null`?window.origin:`http://localhost`,this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;this.resolvePathCache=Me(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=Dt(Ut(this.latestLocation),e),un(this)}let a=!1,o=this.options.basepath??`/`,s=this.options.rewrite;if(r||n!==o||i!==s){this.basepath=o;let e=[],t=fe(o);t&&t!==`/`&&e.push(wt({basepath:o})),s&&e.push(s),this.rewrite=e.length===0?void 0:e.length===1?e[0]:Ct(e),this.history&&this.updateLatestLocation(),a=!0}a&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<`u`&&`CSS`in window&&typeof window.CSS?.supports==`function`&&(this.isViewTransitionTypesSupported=window.CSS.supports(`selector(:active-view-transition-type(a))`))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=r(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&v(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>
2{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i,state:a})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:he(e).path,external:!1,searchStr:o,search:_(t?.search,i),hash:he(r.slice(1)).path,state:Re(t?.state,a)}}let o=new URL(i,this.origin),s=Tt(this.rewrite,o),c=this.options.parseSearch(s.search),l=this.options.stringifySearch(c);return s.search=l,{href:s.href.replace(s.origin,``),publicHref:i,pathname:he(s.pathname).path,external:!!this.rewrite&&s.origin!==this.origin,searchStr:l,search:_(t?.search,c),hash:he(s.hash.slice(1)).path,state:Re(t?.state,a)}},r=n(e),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>ve({base:e,to:t.includes(`//`)?oe(t):t,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>Gt({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{if(this.stores.pendingMatchStores.has(e))return;let t=this.stores.matchStores.get(e)?.get();t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,r=this.matchRoutesLightweight(n);t.from;let i=t.unsafeRelative===`path`?n.pathname:t.from??r.fullPath,a=t.to?`${t.to}`:void 0,o=r.search,s=Object.assign(Object.create(null),r.params),c=a?.charCodeAt(0)===47?`/`:this.resolvePathWithBase(i,`.`),l=a?this.resolvePathWithBase(c,a):c,u=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?s:Object.assign(s,p(t.params,s)),d=this.routesByPath[D(l)],f;if(d)f=this.getRouteBranch(d);else if(l.includes(`$`))f=[];else{let e=this.getMatchedRoutes(l);f=e.matchedRoutes,this.options.notFoundRoute&&(!e.foundRoute||e.foundRoute.path!==`/`&&e.routeParams[`**`])&&(f=[...f,this.options.notFoundRoute])}if(f.length&&m(u))for(let e of f){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(u,t(u))}catch{}}let h=e.leaveParams?l:he(se({path:l,params:u,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,g=o;if(e._includeValidateSearch&&this.options.search?.strict){let e={};f.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,Wt(t.options.validateSearch,{...e,...g}))}catch{}}),g=e}g=Kt({search:g,dest:t,destRoutes:f,_includeValidateSearch:e._includeValidateSearch}),g=_(o,g);let v=this.options.stringifySearch(g),y=t.hash===!0?n.hash:t.hash?p(t.hash,n.hash):void 0,b=y?`#${y}`:``,x=t.state===!0?n.state:t.state?p(t.state,n.state):{};x=Re(n.state,x);let S=`${h}${v}${b}`,C,w,E=!1;if(this.rewrite){let e=new URL(S,this.origin),t=Et(this.rewrite,e);C=e.href.replace(e.origin,``),t.origin===this.origin?w=t.pathname+t.search+t.hash:(w=t.href,E=!0)}else C=me(S),w=C;return{publicHref:w,href:C,pathname:h,search:g,searchStr:v,state:x,hash:y??``,external:E,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let i=t(n),a=r?t(r):void 0;if(!a){let n=Object.create(null);if(this.options.routeMasks){let o=Ie(i.pathname,this.processedTree);if(o){Object.assign(n,o.rawParams);let{from:i,params:s,...c}=o.route,l=s===!1||s===null?Object.create(null):(s??!0)===!0?n:Object.assign(n,p(s,n));r={from:e.from,...c,params:l},a=t(r)}}}return a&&(i.maskedLocation=a),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:n,...r})=>{let i,a=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];
2e.forEach(e=>{r.state[e]=this.latestLocation.state[e]});let n=t(r.state,this.latestLocation.state);return e.forEach(e=>{delete r.state[e]}),n},o=D(this.latestLocation.href)===D(r.href),s=this.commitLocationPromise;if(this.commitLocationPromise=h(()=>{s?.resolve(),s=void 0}),o&&a())this.load();else{let{maskedLocation:t,hashScrollIntoView:a,...o}=r;t&&(o={...t,state:{...t.state,__tempKey:void 0,__tempLocation:{...o,search:o.searchStr,state:{...o.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(o.unmaskOnReload??this.options.unmaskOnReload??!1)&&(o.state.__tempKey=this.tempLocationKey)),o.state.__hashScrollIntoViewOptions=a??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,i=r.replace?`REPLACE`:`PUSH`,this.history[i===`REPLACE`?`replace`:`push`](o.publicHref,o.state,{ignoreBlocker:n})}return this.resetNextScroll=r.resetScroll??!0,this.history.subscribers.size||this.load(i?{action:{type:i}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=It(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=Tt(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(g(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.set(`pending`),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(e),this.stores.setCached(t)})},this.load=async e=>{let t=e?.action?.type,n,r,i,a=this.stores.resolvedLocation.get()??this.stores.location.get();for(i=new Promise(o=>{this.startTransition(async()=>{try{this.beforeLoad(),t?zt.set(this.latestLocation,t):zt.delete(this.latestLocation);let n=this.latestLocation,r=Rt(n,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...r}),this.emit({type:`onBeforeLoad`,...r}),await vt({router:this,sync:e?.sync,forceStaleReload:a.href===n.href,matches:this.stores.pendingMatches.get(),location:n,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatches.get(),a=i.length,o=this.stores.matches.get();e=a?o.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStores.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.matchStores.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),a&&(this.stores.setMatches(i),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){A(e)?(n=e,this.navigate({...n.options,replace:!0,ignoreBlocker:!0})):I(e)&&(r=e);let t=n?n.status:r?404:this.stores.matches.get().some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.set(t),this.stores.redirect.set(n)})}this.latestLoadPromise===i&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),o()})}),this.latestLoadPromise=i,await i;this.latestLoadPromise&&i!==this.latestLoadPromise;)await this.latestLoadPromise;let o;this.hasNotFoundMatch()?o=404:this.stores.matches.get().some(e=>e.status===`error`)&&(o=500),o!==void 0&&this.stores.statusCode.set(o)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(Rt(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>
2{let n=this.stores.pendingMatchStores.get(e);if(n){n.set(t);return}let r=this.stores.matchStores.get(e);if(r){r.set(t);return}let i=this.stores.cachedMatchStores.get(e);if(i){let n=t(i.get());n.status===`redirected`?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>this.stores.cachedMatchStores.get(e)?.get()??this.stores.pendingMatchStores.get(e)?.get()??this.stores.matchStores.get(e)?.get(),this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pendingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&g(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCached([]):this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??3e5;return t.status===`error`||e-t.updatedAt>=r}})},this.loadRouteChunk=bt,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatches.get();this.stores.setCached([...e,...a])}try{return n=await vt({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(A(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});I(e)||console.error(e);return}},this.matchRoute=(e,n)=>{let r={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},i=this.buildLocation(r);if(n?.pending&&this.stores.status.get()!==`pending`)return!1;let a=(n?.pending===void 0?!this.stores.isLoading.get():n.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),o=Pe(i.pathname,n?.caseSensitive??!1,n?.fuzzy??!1,a.pathname,this.processedTree);return!o||e.params&&!t(o.rawParams,e.params,{partial:!0})?!1:n?.includeSearch??!0?t(a.search,i.search,{partial:!0})?o.rawParams:!1:o.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=n,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??$e,parseSearch:e.parseSearch??Qe,protocolAllowlist:e.protocolAllowlist??o}),typeof document<`u`&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=Ae(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParam
2s:i}=n,{matchedRoutes:a}=n,o=!1;(r?r.path!==`/`&&i[`**`]:D(e.pathname))&&(this.options.notFoundRoute?a=[...a,this.options.notFoundRoute]:o=!0);let s=o?Jt(this.options.notFoundMode,a):void 0,c=Array(a.length),l=new Map;for(let e of this.stores.matchStores.values())e.routeId&&l.set(e.routeId,e.get());for(let n=0;n<a.length;n++){let r=a[n],o=c[n-1],u,d,f;{let n=o?.search??e.search,i=o?._strictSearch??void 0;try{let e=Wt(r.options.validateSearch,{...n})??void 0;u={...n,...e},d={...i,...e},f=void 0}catch(e){let r=e;if(e instanceof Vt||(r=new Vt(e.message,{cause:e})),t?.throwOnError)throw r;u=n,d={},f=r}}let p=r.options.loaderDeps?.({search:u})??``,m=p?JSON.stringify(p):``,{interpolatedPath:g,usedParams:v}=se({path:r.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),y=r.id+g+m,b=this.getMatch(y),x=l.get(r.id),S=b?._strictParams??v,C;if(!b)try{Yt(r,S)}catch(e){if(C=I(e)||A(e)?e:new Ht(e.message,{cause:e}),t?.throwOnError)throw C}Object.assign(i,S);let w=x?`stay`:`enter`,E;if(b)E={...b,cause:w,params:x?.params??i,_strictParams:S,search:_(x?x.search:b.search,u),_strictSearch:d};else{let e=r.options.loader||r.options.beforeLoad||r.lazyFn||xt(r)?`pending`:`success`;E={id:y,ssr:r.options.ssr,index:n,routeId:r.id,params:x?.params??i,_strictParams:S,pathname:g,updatedAt:Date.now(),search:x?_(x.search,u):u,_strictSearch:d,searchError:void 0,status:e,isFetching:!1,error:void 0,paramsError:C,__routeContext:void 0,_nonReactive:{loadPromise:h()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:w,loaderDeps:x?Re(x.loaderDeps,p):p,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:r.options.staticData||{},fullPath:r.fullPath}}t?.preload||(E.globalNotFound=s===r.id),E.searchError=f;let ee=this.getParentContext(o);E.context={...ee,...E.__routeContext,...E.__beforeLoadContext},c[n]=E}for(let t=0;t<c.length;t++){let n=c[t],r=this.looseRoutesById[n.routeId],a=this.getMatch(n.id),o=l.get(n.routeId);if(n.params=o?_(o.params,i):i,!a){let i=c[t-1],a=this.getParentContext(i);if(r.options.context){let t={deps:n.loaderDeps,params:n.params,context:a??{},location:e,navigate:t=>this.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:c,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return c}matchRoutesLightweight(e){let{matchedRoutes:t,routeParams:n}=this.getMatchedRoutes(e.pathname),r=f(t),i={...e.search};for(let e of t)try{Object.assign(i,Wt(e.options.validateSearch,i))}catch{}let a=f(this.stores.matchesId.get()),o=a&&this.stores.matchStores.get(a)?.get(),s=o&&o.routeId===r.id&&o.pathname===e.pathname,c;if(s)c=o.params;else{let e=Object.assign(Object.create(null),n);for(let n of t)try{Yt(n,e)}catch{}c=e}return{matchedRoutes:t,fullPath:r.fullPath,search:i,params:c}}},Vt=class extends Error{},Ht=class extends Error{};function Ut(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Wt(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new Vt(`Async validation not supported`);if(n.issues)throw new Vt(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function Gt({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=D(e),a,o=ie(i,n,!0);return o&&(a=o.route,Object.assign(r,o.rawParams)),{matchedRoutes:o?.branch||[t.__root__],routeParams:r,foundRoute:a}}function Kt({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return qt(n)(e,t,r??!1)}function qt(e){let t={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let n of e)`search`in n.options?n.options.search?.middlewares&&t.middlewares.push(...n.options.search.middlewares):(n.options.preSearchFilters||n.options.postSearchFilters)&&t.middlewares.push(({search:e,next:t})=>{let r=e;
2`preSearchFilters`in n.options&&n.options.preSearchFilters&&(r=n.options.preSearchFilters.reduce((e,t)=>t(e),e));let i=t(r);return`postSearchFilters`in n.options&&n.options.postSearchFilters?n.options.postSearchFilters.reduce((e,t)=>t(e),i):i}),n.options.validateSearch&&t.middlewares.push(({search:e,next:r})=>{let i=r(e);if(!t._includeValidateSearch)return i;try{return{...i,...Wt(n.options.validateSearch,i)??void 0}}catch{return i}});t.middlewares.push(({search:e})=>{let n=t.dest;return n.search?n.search===!0?e:p(n.search,e):{}});let n=(e,t,r)=>{if(e>=r.length)return t;let i=r[e];return i({search:t,next:t=>n(e+1,t,r)})};return function(e,r,i){return t.dest=r,t._includeValidateSearch=i,n(0,e,t.middlewares)}}function Jt(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return Te}function Yt(e,t){let n=e.options.params?.parse??e.options.parseParams;if(n){let e=n(t);if(e===!1)throw Error(`Route params.parse returned false for a matched route`);Object.assign(t,e)}}function Xt(){try{return sessionStorage}catch{return}}var Zt=`tsr-scroll-restoration-v1_3`,Qt=Xt();function $t(){try{return JSON.parse(Qt?.getItem(`tsr-scroll-restoration-v1_3`)||`{}`)}catch{return{}}}function en(){try{Qt?.setItem(Zt,JSON.stringify(tn))}catch{}}var tn=$t(),nn=`data-scroll-restoration-id`,rn=e=>e.state.__TSR_key||e.href;function an(e){let t=e.getAttribute(nn);if(t)return`[${nn}="${t}"]`;let n=``,r=e,i;for(;i=r.parentNode;){let e=1,t=r;for(;t=t.previousElementSibling;)e++;let a=`${r.localName}:nth-child(${e})`;n=n?`${a} > ${n}`:a,r=i}return n}var on=!1,sn=`window`;function cn(e){try{return typeof e==`function`?e():document.querySelector(e)}catch{}}function ln(e){let t=[];for(let n of e){if(n===sn)continue;let e=cn(n);e&&t.push(e)}return t}function un(e,t){if((t??e.options.scrollRestoration)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup)return;e.isScrollRestorationSetup=!0,on=!1;let n=e.options.getScrollRestorationKey||rn,r=new Map,i=(e,t,n)=>{let i=r.get(e)||{};i.scrollX=t,i.scrollY=n,r.set(e,i)};history.scrollRestoration=`manual`;let a=t=>{if(!on&&e.isScrollRestoring){if(t.target===document)i(sn,scrollX,scrollY);else{let e=t.target;i(e,e.scrollLeft,e.scrollTop)}}},o=t=>{if(!e.isScrollRestoring)return;let n=tn[t]||={};for(let[e,t]of r)e===sn?n[sn]=t:e.isConnected&&(n[an(e)]=t)};document.addEventListener(`scroll`,a,!0),e.subscribe(`onBeforeLoad`,e=>{e.fromLocation&&o(n(e.fromLocation)),r.clear()}),addEventListener(`pagehide`,()=>{o(n(e.stores.resolvedLocation.get()??e.stores.location.get())),en()}),e.subscribe(`onRendered`,t=>{let i=e.options.scrollRestorationBehavior,a=e.options.scrollToTopSelectors,o=e.resetNextScroll,s;if(r.clear(),o||(e.resetNextScroll=!0),typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))return;let c=n(t.toLocation),l=t.fromLocation&&n(t.fromLocation);if(e.isScrollRestoring&&l&&l!==c){let e=tn[l];if(e){let t=tn[c];for(let n in e){if(n===sn){if(o)continue}else{let e=cn(n);if(!e||o&&a&&(s??=ln(a),s.includes(e)))continue}t||=tn[c]={},t[n]??=e[n]}}}on=!0;try{let n=t.toLocation.hash,r=t.toLocation.state.__hashScrollIntoViewOptions??!0,l=!1;if(o){let o=zt.get(t.toLocation),u=n&&r&&(o===`PUSH`||o===`REPLACE`),d=e.isScrollRestoring?tn[c]:void 0;if(d)for(let e in d){let{scrollX:t,scrollY:n}=d[e];if(e===sn){if(u)continue;scrollTo({top:n,left:t,behavior:i}),l=!0}else{let r=cn(e);r&&(r.scrollLeft=t,r.scrollTop=n)}}if(!l&&!n){let e={top:0,left:0,behavior:i};if(scrollTo(e),a){s??=ln(a);for(let t of s)t.scrollTo(e)}}}!l&&n&&r&&document.getElementById(n)?.scrollIntoView(r)}finally{on=!1}})}var dn=(e=>(e[e.AggregateError=1]=`AggregateError`,e[e.ArrowFunction=2]=`ArrowFunction`,e[e.ErrorPrototypeStack=4]=`ErrorPrototypeStack`,e[e.ObjectAssign=8]=`ObjectAssign`,e[e.BigIntTypedArray=16]=`BigIntTypedArray`,e[e.RegExp=32]=`RegExp`,e))(dn||{}),z=Symbol.asyncIterator,fn=Symbol.hasInstance,pn=Symbol.isConcatSpreadable,B=Symbol.iterator,mn=Symbol.match,hn=Symbol.matchAll,gn=Symbol.replace,_n=Symbol.search,vn=Symbol.species,yn=Symbol.split,bn=Symbol.toPrimitive,xn=Symbol.toStringTag,Sn=Symbol.unscopables,Cn={[z]:0,[fn]:1,[pn]:2,[B]:3,[mn]:4,[hn]:5,[gn]:6,[_n]:7,[vn]:8,[yn]:9,[bn]:10,[xn]:11,[Sn]:12},wn={0:z,1:fn,2:pn,3:B,4:mn,5:hn,6:gn,7:_n,8:vn,9:yn,10:bn,11:xn,12:Sn},V=void 0,Tn={2:!0,3:!1,1:V,0:null,4:-0,5:1/0,6:-1/0,7:NaN},En={0:`Error`,1:`EvalError`,2:`RangeError`,3:`ReferenceError`,4:`SyntaxError`,5:`TypeError`,6:`URIError`},Dn={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function H(e,t,n,r,i,a,o,s,c,l,u,d){return{t:e,i:t,s:n,c:r,m:i,p:a,e:o,a:s,f:c,b:l,o:u,l:d}}function U(e){return H(2,V,e,V,V,V,V,V,V,V,V,V)}var On=U(2),kn=U(3),An=U(1),jn=U(0),Mn=U(4),Nn=U(5),Pn=U(6),Fn=U(7);function In(e){switch(e){case`"`:return`\\"`;case`\\`:return`\\\\`;case`
3`:return`\\n`;case`\r`:return`\\r`;case`\b`:return`\\b`;case`	`:return`\\t`;case`\f`:return`\\f`;case`<`:return`\\x3C`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return V}}function W(e){let t=``,n=0,r;for(let i=0,a=e.length;i<a;i++)r=In(e[i]),r&&(t+=e.slice(n,i)+r,n=i+1);return n===0?t=e:t+=e.slice(n),t}function Ln(e){switch(e){case`\\\\`:return`\\`;case`\\"`:return`"`;case`\\n`:return`
4`;case`\\r`:return`\r`;case`\\b`:return`\b`;case`\\t`:return`	`;case`\\f`:return`\f`;case`\\x3C`:return`<`;case`\\u2028`:return`\u2028`;case`\\u2029`:return`\u2029`;default:return e}}function G(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,Ln)}var Rn=`__SEROVAL_REFS__`,zn=new Map,Bn=new Map;function Vn(e){return zn.has(e)}function Hn(e){return Bn.has(e)}function Un(e){if(Vn(e))return zn.get(e);throw new Ar(e)}function Wn(e){if(Hn(e))return Bn.get(e);throw new jr(e)}typeof globalThis<`u`?Object.defineProperty(globalThis,Rn,{value:Bn,configurable:!0,writable:!1,enumerable:!1}):typeof window<`u`?Object.defineProperty(window,Rn,{value:Bn,configurable:!0,writable:!1,enumerable:!1}):typeof self<`u`?Object.defineProperty(self,Rn,{value:Bn,configurable:!0,writable:!1,enumerable:!1}):typeof global<`u`&&Object.defineProperty(global,Rn,{value:Bn,configurable:!0,writable:!1,enumerable:!1});function Gn(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function Kn(e){let t=En[Gn(e)];return e.name===t?e.constructor.name===t?{}:{name:e.constructor.name}:{name:e.name}}function qn(e,t){let n=Kn(e),r=Object.getOwnPropertyNames(e);for(let i=0,a=r.length,o;i<a;i++)o=r[i],o!==`name`&&o!==`message`&&(o===`stack`?t&4&&(n||={},n[o]=e[o]):(n||={},n[o]=e[o]));return n}function Jn(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:+!Object.isExtensible(e)}function Yn(e){switch(e){case 1/0:return Nn;case-1/0:return Pn}return e===e?Object.is(e,-0)?Mn:H(0,V,e,V,V,V,V,V,V,V,V,V):Fn}function Xn(e){return H(1,V,W(e),V,V,V,V,V,V,V,V,V)}function Zn(e){return H(3,V,``+e,V,V,V,V,V,V,V,V,V)}function Qn(e){return H(4,e,V,V,V,V,V,V,V,V,V,V)}function $n(e,t){let n=t.valueOf();return H(5,e,n===n?t.toISOString():``,V,V,V,V,V,V,V,V,V)}function er(e,t){return H(6,e,V,W(t.source),t.flags,V,V,V,V,V,V,V)}function tr(e,t){return H(17,e,Cn[t],V,V,V,V,V,V,V,V,V)}function nr(e,t){return H(18,e,W(Un(t)),V,V,V,V,V,V,V,V,V)}function rr(e,t,n){return H(25,e,n,W(t),V,V,V,V,V,V,V,V)}function ir(e,t,n){return H(9,e,V,V,V,V,V,n,V,V,Jn(t),V)}function ar(e,t){return H(21,e,V,V,V,V,V,V,t,V,V,V)}function or(e,t,n){return H(15,e,V,t.constructor.name,V,V,V,V,n,t.byteOffset,V,t.length)}function sr(e,t,n){return H(16,e,V,t.constructor.name,V,V,V,V,n,t.byteOffset,V,t.byteLength)}function cr(e,t,n){return H(20,e,V,V,V,V,V,V,n,t.byteOffset,V,t.byteLength)}function lr(e,t,n){return H(13,e,Gn(t),V,W(t.message),n,V,V,V,V,V,V)}function ur(e,t,n){return H(14,e,Gn(t),V,W(t.message),n,V,V,V,V,V,V)}function dr(e,t){return H(7,e,V,V,V,V,V,t,V,V,V,V)}function fr(e,t){return H(28,V,V,V,V,V,V,[e,t],V,V,V,V)}function pr(e,t){return H(30,V,V,V,V,V,V,[e,t],V,V,V,V)}function mr(e,t,n){return H(31,e,V,V,V,V,V,n,t,V,V,V)}function hr(e,t){return H(32,e,V,V,V,V,V,V,t,V,V,V)}function gr(e,t){return H(33,e,V,V,V,V,V,V,t,V,V,V)}function _r(e,t){return H(34,e,V,V,V,V,V,V,t,V,V,V)}function vr(e,t,n,r){return H(35,e,n,V,V,V,V,t,V,V,V,r)}var{toString:yr}
4=Object.prototype,br={parsing:1,serialization:2,deserialization:3};function xr(e){return`Seroval Error (step: ${br[e]})`}var Sr=(e,t)=>xr(e),Cr=class extends Error{constructor(e,t){super(Sr(e,t)),this.cause=t}},wr=class extends Cr{constructor(e){super(`parsing`,e)}},Tr=class extends Cr{constructor(e){super(`deserialization`,e)}};function K(e){return`Seroval Error (specific: ${e})`}var Er=class extends Error{constructor(e){super(K(1)),this.value=e}},Dr=class extends Error{constructor(e){super(K(2))}},Or=class extends Error{constructor(e){super(K(3))}},kr=class extends Error{constructor(e){super(K(4))}},Ar=class extends Error{constructor(e){super(K(5)),this.value=e}},jr=class extends Error{constructor(e){super(K(6))}},Mr=class extends Error{constructor(e){super(K(7))}},q=class extends Error{constructor(e){super(K(8))}},Nr=class extends Error{constructor(e){super(K(9))}},Pr=class{constructor(e,t){this.value=e,this.replacement=t}},Fr=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e};Fr.toString(),((e,t)=>{e.s(t),e.p.s=1,e.p.v=t}).toString(),((e,t)=>{e.f(t),e.p.s=2,e.p.v=t}).toString();var Ir=()=>{let e=[],t=[],n=!0,r=!1,i=0,a=(e,n,r)=>{for(r=0;r<i;r++)t[r]&&t[r][n](e)},o=(t,i,a,o)=>{for(i=0,a=e.length;i<a;i++)o=e[i],!n&&i===a-1?t[r?`return`:`throw`](o):t.next(o)},s=(e,r)=>(n&&(r=i++,t[r]=e),o(e),()=>{n&&(t[r]=t[i],t[i--]=void 0)});return{__SEROVAL_STREAM__:!0,on:e=>s(e),next:t=>{n&&(e.push(t),a(t,`next`))},throw:i=>{n&&(e.push(i),a(i,`throw`),n=!1,r=!1,t.length=0)},return:i=>{n&&(e.push(i),a(i,`return`),n=!1,r=!0,t.length=0)}}};Ir.toString();var Lr=e=>t=>()=>{let n=0,r={[e]:()=>r,next:()=>{if(n>t.d)return{done:!0,value:void 0};let e=n++,r=t.v[e];if(e===t.t)throw r;return{done:e===t.d,value:r}}};return r};Lr.toString();var Rr=(e,t)=>n=>()=>{let r=0,i=-1,a=!1,o=[],s=[],c=(e=0,t=s.length)=>{for(;e<t;e++)s[e].s({done:!0,value:void 0})};n.on({next:e=>{let t=s.shift();t&&t.s({done:!1,value:e}),o.push(e)},throw:e=>{let t=s.shift();t&&t.f(e),c(),i=o.length,a=!0,o.push(e)},return:e=>{let t=s.shift();t&&t.s({done:!0,value:e}),c(),i=o.length,o.push(e)}});let l={[e]:()=>l,next:()=>{if(i===-1){let e=r++;if(e>=o.length){let e=t();return s.push(e),e.p}return{done:!1,value:o[e]}}if(r>i)return{done:!0,value:void 0};let e=r++,n=o[e];if(e!==i)return{done:!1,value:n};if(a)throw n;return{done:!0,value:n}}};return l};Rr.toString();var zr=e=>{let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer};zr.toString();function Br(e){return`__SEROVAL_SEQUENCE__`in e}function Vr(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function Hr(e){let t=[],n=-1,r=-1,i=e[B]();for(;;)try{let e=i.next();if(t.push(e.value),e.done){r=t.length-1;break}}catch(e){n=t.length,t.push(e)}return Vr(t,n,r)}var Ur=Lr(B);function Wr(e){return Ur(e)}var Gr={},Kr={},qr={0:{},1:{},2:{},3:{},4:{},5:{}};function Jr(e){return`__SEROVAL_STREAM__`in e}function Yr(){return Ir()}function Xr(e){let t=Yr(),n=e[z]();async function r(){try{let e=await n.next();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var Zr=Rr(z,Fr);function Qr(e){return Zr(e)}async function $r(e){try{return[1,await e]}catch(e){return[0,e]}}function ei(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:63^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function ti(e,t){e.marked.add(t)}function ni(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function ri(e,t){let n=e.refs.get(t);return n==null?{type:0,value:ni(e,t)}:(ti(e,n),{type:1,value:Qn(n)})}function ii(e,t){let n=ri(e,t);return n.type===1?n:Vn(t)?{type:2,value:nr(n.value,t)}:n}function ai(e,t){let n=ii(e,t);if(n.type!==0)return n.value;if(t in Cn)return tr(n.value,t);throw new Er(t)}function oi(e,t){let n=ri(e,qr[t]);return n.type===1?n.value:H(26,n.value,t,V,V,V,V,V,V,V,V,V)}function si(e){let t=ri(e,Gr);return t.type===1?t.value:H(27,t.value,V,V,V,V,V,V,ai(e,B),V,V,V)}function ci(e){let t=ri(e,Kr);return t.type===1?t.value:H(29,t.value,V,V,V,V,V,[oi(e,1),ai(e,z)],V,V,V,V)}function li(e,t,n,r){return H(n?11:10,e,V,V,V,r,V,V,V,V,Jn(t),V)}function ui(e,t,n,r){return H(8,t,V,V,V,V,{k:n,v:r},V,oi(e,0),V,V,V)}function di(e,t,n){let r=new Uint8Array(n),i=``;for(let e=0,t=r.length;e<t;e++)i+=String.fromCharCode(r[e]);return H(19,t,W(btoa(i)),V,V,V,V,V,oi(e,5),V,V,V)}function fi(e,t){return{base:ei(e,t),child:void 0}}var pi=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return J(this._p,this.depth,e)}};
4async function mi(e,t,n){let r=[];for(let i=0,a=n.length;i<a;i++)i in n?r[i]=await J(e,t,n[i]):r[i]=0;return r}async function hi(e,t,n,r){return ir(n,r,await mi(e,t,r))}async function gi(e,t,n){let r=Object.entries(n),i=[],a=[];for(let n=0,o=r.length;n<o;n++)i.push(W(r[n][0])),a.push(await J(e,t,r[n][1]));return B in n&&(i.push(ai(e.base,B)),a.push(fr(si(e.base),await J(e,t,Hr(n))))),z in n&&(i.push(ai(e.base,z)),a.push(pr(ci(e.base),await J(e,t,Xr(n))))),xn in n&&(i.push(ai(e.base,xn)),a.push(Xn(n[xn]))),pn in n&&(i.push(ai(e.base,pn)),a.push(n[pn]?On:kn)),{k:i,v:a}}async function _i(e,t,n,r,i){return li(n,r,i,await gi(e,t,r))}async function vi(e,t,n,r){return ar(n,await J(e,t,r.valueOf()))}async function yi(e,t,n,r){return or(n,r,await J(e,t,r.buffer))}async function bi(e,t,n,r){return sr(n,r,await J(e,t,r.buffer))}async function xi(e,t,n,r){return cr(n,r,await J(e,t,r.buffer))}async function Si(e,t,n,r){let i=qn(r,e.base.features);return lr(n,r,i?await gi(e,t,i):V)}async function Ci(e,t,n,r){let i=qn(r,e.base.features);return ur(n,r,i?await gi(e,t,i):V)}async function wi(e,t,n,r){let i=[],a=[];for(let[n,o]of r.entries())i.push(await J(e,t,n)),a.push(await J(e,t,o));return ui(e.base,n,i,a)}async function Ti(e,t,n,r){let i=[];for(let n of r.keys())i.push(await J(e,t,n));return dr(n,i)}async function Ei(e,t,n,r){let i=e.base.plugins;if(i)for(let a=0,o=i.length;a<o;a++){let o=i[a];if(o.parse.async&&o.test(r))return rr(n,o.tag,await o.parse.async(r,new pi(e,t),{id:n}))}return V}async function Di(e,t,n,r){let[i,a]=await $r(r);return H(12,n,i,V,V,V,V,V,await J(e,t,a),V,V,V)}function Oi(e,t,n,r,i){let a=[],o=n.on({next:n=>{ti(this.base,t),J(this,e,n).then(e=>{a.push(hr(t,e))},e=>{i(e),o()})},throw:n=>{ti(this.base,t),J(this,e,n).then(e=>{a.push(gr(t,e)),r(a),o()},e=>{i(e),o()})},return:n=>{ti(this.base,t),J(this,e,n).then(e=>{a.push(_r(t,e)),r(a),o()},e=>{i(e),o()})}})}async function ki(e,t,n,r){return mr(n,oi(e.base,4),await new Promise(Oi.bind(e,t,n,r)))}async function Ai(e,t,n,r){let i=[];for(let n=0,a=r.v.length;n<a;n++)i[n]=await J(e,t,r.v[n]);return vr(n,i,r.t,r.d)}async function ji(e,t,n,r){if(Array.isArray(r))return hi(e,t,n,r);if(Jr(r))return ki(e,t,n,r);if(Br(r))return Ai(e,t,n,r);let i=r.constructor;if(i===Pr)return J(e,t,r.replacement);let a=await Ei(e,t,n,r);if(a)return a;switch(i){case Object:return _i(e,t,n,r,!1);case V:return _i(e,t,n,r,!0);case Date:return $n(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Si(e,t,n,r);case Number:case Boolean:case String:case BigInt:return vi(e,t,n,r);case ArrayBuffer:return di(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return yi(e,t,n,r);case DataView:return xi(e,t,n,r);case Map:return wi(e,t,n,r);case Set:return Ti(e,t,n,r)}if(i===Promise||r instanceof Promise)return Di(e,t,n,r);let o=e.base.features;if(o&32&&i===RegExp)return er(n,r);if(o&16)switch(i){case BigInt64Array:case BigUint64Array:return bi(e,t,n,r)}if(o&1&&typeof AggregateError<`u`&&(i===AggregateError||r instanceof AggregateError))return Ci(e,t,n,r);if(r instanceof Error)return Si(e,t,n,r);if(B in r||z in r)return _i(e,t,n,r,!!i);throw new Er(r)}async function Mi(e,t,n){let r=ii(e.base,n);if(r.type!==0)return r.value;let i=await Ei(e,t,r.value,n);if(i)return i;throw new Er(n)}async function J(e,t,n){switch(typeof n){case`boolean`:return n?On:kn;case`undefined`:return An;case`string`:return Xn(n);case`number`:return Yn(n);case`bigint`:return Zn(n);case`object`:if(n){let r=ii(e.base,n);return r.type===0?await ji(e,t+1,r.value,n):r.value}return jn;case`symbol`:return ai(e.base,n);case`function`:return Mi(e,t,n);default:throw new Er(n)}}async function Ni(e,t){try{return await J(e,0,t)}catch(e){throw e instanceof wr?e:new wr(e)}}var Pi=(e=>(e[e.Vanilla=1]=`Vanilla`,e[e.Cross=2]=`Cross`,e))(Pi||{});function Y(e){return e}function Fi(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&Fi(e,r.extends))}}function Ii(e){if(e){let t=new Set;return Fi(t,e),[...t]}}function Li(e){switch(e){case`Int8Array`:return Int8Array;case`Int16Array`:return Int16Array;case`Int32Array`:return Int32Array;case`Uint8Array`:return Uint8Array;case`Uint16Array`:return Uint16Array;case`Uint32Array`:return Uint32Array;case`Uint8ClampedArray`:return Uint8ClampedArray;case`Float32Array`:return Float32Array;case`Float64Array`:return Float64Array;case`BigInt64Array`:return BigInt64Array;case`BigUint64Array`:return BigUint64Array;default:throw new Mr(e)}}var Ri=1e6,zi=1e4,Bi=2e4;function Vi(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var Hi=1e3;function Ui(e,t){let n=t.refs||new Map;return`types`in n||Object.assign(n,{types:new Map}),{mode:e,plugins:t.plugins,refs:n,features:t.features??63^(t.disabledFeatures||0),depthLimit:t.depthLimit||Hi}}
4function Wi(e){return{mode:2,base:Ui(2,e),child:V}}var Gi=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return Z(this._p,this.depth,e)}};function Ki(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new q({t:4,i:t});if(e.refs.has(t))throw Error(`Conflicted ref id: `+t)}function qi(e,t,n){return Ki(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function Ji(e,t,n){return Ki(e.base,t),e.base.refs.set(t,n),n}function X(e,t,n){return e.mode===1?qi(e,t,n):Ji(e,t,n)}function Yi(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new q(e)}function Xi(e,t){return X(e,t.i,Wn(G(t.s)))}function Zi(e,t,n){let r=n.a,i=r.length,a=X(e,n.i,Array(i));for(let n=0,o;n<i;n++)o=r[n],o&&(a[n]=Z(e,t,o));return Vi(a,n.o),a}function Qi(e){switch(e){case`constructor`:case`__proto__`:case`prototype`:case`__defineGetter__`:case`__defineSetter__`:case`__lookupGetter__`:case`__lookupSetter__`:return!1;default:return!0}}function $i(e){switch(e){case z:case pn:case xn:case B:return!0;default:return!1}}function ea(e,t,n){Qi(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function ta(e,t,n,r,i){if(typeof r==`string`)ea(n,G(r),Z(e,t,i));else{let a=Z(e,t,r);switch(typeof a){case`string`:ea(n,a,Z(e,t,i));break;case`symbol`:$i(a)&&(n[a]=Z(e,t,i));break;default:throw new q(r)}}}function na(e,t,n){e.base.refs.types.set(t,n)}function ra(e,t,n,r){if(e.base.refs.types.get(n)!==r)throw new q(t)}function ia(e,t,n,r){let i=n.k;if(i.length>0)for(let a=0,o=n.v,s=i.length;a<s;a++)ta(e,t,r,i[a],o[a]);return r}function aa(e,t,n){let r=X(e,n.i,n.t===10?{}:Object.create(null));return ia(e,t,n.p,r),Vi(r,n.o),r}function oa(e,t){return X(e,t.i,new Date(t.s))}function sa(e,t){if(e.base.features&32){let n=G(t.c);if(n.length>Bi)throw new q(t);return X(e,t.i,new RegExp(n,t.m))}throw new Dr(t)}function ca(e,t,n){let r=X(e,n.i,new Set);for(let i=0,a=n.a,o=a.length;i<o;i++)r.add(Z(e,t,a[i]));return r}function la(e,t,n){let r=X(e,n.i,new Map);for(let i=0,a=n.e.k,o=n.e.v,s=a.length;i<s;i++)r.set(Z(e,t,a[i]),Z(e,t,o[i]));return r}function ua(e,t){if(t.s.length>Ri)throw new q(t);return X(e,t.i,zr(G(t.s)))}function da(e,t,n){let r=Li(n.c),i=Z(e,t,n.f),a=n.b??0;if(a<0||a>i.byteLength)throw new q(n);return X(e,n.i,new r(i,a,n.l))}function fa(e,t,n){let r=Z(e,t,n.f),i=n.b??0;if(i<0||i>r.byteLength)throw new q(n);return X(e,n.i,new DataView(r,i,n.l))}function pa(e,t,n,r){if(n.p){let i=ia(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(i))}return r}function ma(e,t,n){return pa(e,t,n,X(e,n.i,AggregateError([],G(n.m))))}function ha(e,t,n){let r=Yi(n,Dn,n.s);return pa(e,t,n,X(e,n.i,new r(G(n.m))))}function ga(e,t,n){let r=Fr(),i=X(e,n.i,r.p),a=Z(e,t,n.f);return n.s?r.s(a):r.f(a),i}function _a(e,t,n){return X(e,n.i,Object(Z(e,t,n.f)))}function va(e,t,n){let r=e.base.plugins;if(r){let i=G(n.c);for(let a=0,o=r.length;a<o;a++){let o=r[a];if(o.tag===i)return X(e,n.i,o.deserialize(n.s,new Gi(e,t),{id:n.i}))}}throw new Or(n.c)}function ya(e,t){let n=X(e,t.i,X(e,t.s,Fr()).p);return na(e,t.s,22),n}function ba(e,t,n){let r=e.base.refs.get(n.i);if(r)return ra(e,n,n.i,22),r.s(Z(e,t,n.a[1])),V;throw new kr(`Promise`)}function xa(e,t,n){let r=e.base.refs.get(n.i);if(r)return ra(e,n,n.i,22),r.f(Z(e,t,n.a[1])),V;throw new kr(`Promise`)}function Sa(e,t,n){return Z(e,t,n.a[0]),Wr(Z(e,t,n.a[1]))}function Ca(e,t,n){return Z(e,t,n.a[0]),Qr(Z(e,t,n.a[1]))}function wa(e,t,n){let r=X(e,n.i,Yr());na(e,n.i,31);let i=n.a,a=i.length;if(a)for(let n=0;n<a;n++)Z(e,t,i[n]);return r}function Ta(e,t,n){let r=e.base.refs.get(n.i);if(r)return ra(e,n,n.i,31),r.next(Z(e,t,n.f)),V;throw new kr(`Stream`)}function Ea(e,t,n){let r=e.base.refs.get(n.i);if(r)return ra(e,n,n.i,31),r.throw(Z(e,t,n.f)),V;throw new kr(`Stream`)}function Da(e,t,n){let r=e.base.refs.get(n.i);if(r)return ra(e,n,n.i,31),r.return(Z(e,t,n.f)),V;throw new kr(`Stream`)}function Oa(e,t,n){return Z(e,t,n.f),V}function ka(e,t,n){return Z(e,t,n.a[1]),V}function Aa(e,t,n){let r=X(e,n.i,Vr([],n.s,n.l));for(let i=0,a=n.a.length;i<a;i++)r.v[i]=Z(e,t,n.a[i]);return r}function Z(e,t,n){if(t>e.base.depthLimit)throw new Nr(e.base.depthLimit);switch(t+=1,n.t){case 2:return Yi(n,Tn,n.s);case 0:return Number(n.s);case 1:return G(String(n.s));case 3:if(String(n.s).length>zi)throw new q(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return Xi(e,n);case 9:return Zi(e,t,n);
4case 10:case 11:return aa(e,t,n);case 5:return oa(e,n);case 6:return sa(e,n);case 7:return ca(e,t,n);case 8:return la(e,t,n);case 19:return ua(e,n);case 16:case 15:return da(e,t,n);case 20:return fa(e,t,n);case 14:return ma(e,t,n);case 13:return ha(e,t,n);case 12:return ga(e,t,n);case 17:return Yi(n,wn,n.s);case 21:return _a(e,t,n);case 25:return va(e,t,n);case 22:return ya(e,n);case 23:return ba(e,t,n);case 24:return xa(e,t,n);case 28:return Sa(e,t,n);case 30:return Ca(e,t,n);case 31:return wa(e,t,n);case 32:return Ta(e,t,n);case 33:return Ea(e,t,n);case 34:return Da(e,t,n);case 27:return Oa(e,t,n);case 29:return ka(e,t,n);case 35:return Aa(e,t,n);default:throw new Dr(n)}}function ja(e,t){try{return Z(e,0,t)}catch(e){throw new Tr(e)}}var Ma=(()=>T).toString();/=>/.test(Ma);function Na(e,t){return ja(Wi({plugins:Ii(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function Pa(e,t={}){let n=fi(1,{plugins:Ii(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await Ni(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function Fa(e){return e}function Ia(e){return Y({tag:`$TSR/t/`+e.key,test:e.test,parse:{sync(t,n,r){return{v:n.parse(e.toSerializable(t))}},async async(t,n,r){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,r){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,r){return e.fromSerializable(n.deserialize(t.v))}})}var La=class{constructor(e,t){this.stream=e,this.hint=t?.hint??`binary`}},Ra=globalThis.Buffer,za=!!Ra&&typeof Ra.from==`function`;function Ba(e){if(e.length===0)return``;if(za)return Ra.from(e).toString(`base64`);let t=32768,n=[];for(let r=0;r<e.length;r+=t){let i=e.subarray(r,r+t);n.push(String.fromCharCode.apply(null,i))}return btoa(n.join(``))}function Va(e){if(e.length===0)return new Uint8Array;
4if(za){let t=Ra.from(e,`base64`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var Ha=Object.create(null),Ua=Object.create(null),Wa=e=>new ReadableStream({start(t){e.on({next(e){try{t.enqueue(Va(e))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),Ga=new TextEncoder,Ka=e=>new ReadableStream({start(t){e.on({next(e){try{typeof e==`string`?t.enqueue(Ga.encode(e)):t.enqueue(Va(e.$b64))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),qa=`(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))`,Ja=`(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})`;function Ya(e){let t=Yr(),n=e.getReader();return(async()=>{try{for(;;){let{done:e,value:r}=await n.read();if(e){t.return(void 0);break}t.next(Ba(r))}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}function Xa(e){let t=Yr(),n=e.getReader(),r=new TextDecoder(`utf-8`,{fatal:!0});return(async()=>{try{for(;;){let{done:e,value:i}=await n.read();if(e){try{let e=r.decode();e.length>0&&t.next(e)}catch{}t.return(void 0);break}try{let e=r.decode(i,{stream:!0});e.length>0&&t.next(e)}catch{t.next({$b64:Ba(i)})}}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}var Za=Y({tag:`tss/RawStream`,extends:[Y({tag:`tss/RawStreamFactory`,test(e){return e===Ha},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return qa},deserialize(e,t,n){return Ha}}),Y({tag:`tss/RawStreamFactoryText`,test(e){return e===Ua},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return Ja},deserialize(e,t,n){return Ua}})],test(e){return e instanceof La},parse:{sync(e,t,n){let r=e.hint===`text`?Ua:Ha;return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(Yr())}},async async(e,t,n){let r=e.hint===`text`?Ua:Ha,i=e.hint===`text`?Xa(e.stream):Ya(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(r),stream:await t.parse(i)}},stream(e,t,n){let r=e.hint===`text`?Ua:Ha,i=e.hint===`text`?Xa(e.stream):Ya(e.stream);return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(i)}}},serialize(e,t,n){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t,n){let r=t.deserialize(e.stream);return t.deserialize(e.hint)===`text`?Ka(r):Wa(r)}});function Qa(e){return Y({tag:`tss/RawStream`,test:()=>!1,parse:{},serialize(){throw Error(`RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.`)},deserialize(t,n,r){return e(typeof n?.deserialize==`function`?n.deserialize(t.streamId):t.streamId)}})}var $a=Y({tag:`$TSR/Error`,test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return`new Error(`+t.serialize(e.message)+`)`},deserialize(e,t){return Error(t.deserialize(e.message))}}),Q={},eo=e=>new ReadableStream({start:t=>{e.on({next:e=>{try{t.enqueue(e)}catch{}},throw:e=>{t.error(e)},return:()=>{try{t.close()}catch{}}})}}),to=Y({tag:`seroval-plugins/web/ReadableStreamFactory`,test(e){return e===Q},parse:{sync(){return Q},async async(){return await Promise.resolve(Q)},stream(){return Q}},serialize(){return eo.toString()},deserialize(){return Q}});function no(e){let t=Yr(),n=e.getReader();async function r(){try{let e=await n.read();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var ro=[$a,Za,Y({tag:`seroval/plugins/web/ReadableStream`,extends:[to],test(e){return typeof ReadableStream>`u`?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(Q),stream:t.parse(Yr())}},async async(e,t){return{factory:await t.parse(Q),stream:await t.parse(no(e))}},stream(e,t){return{factory:t.parse(Q),stream:t.parse(no(e))}}},serialize(e,t){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t){return eo(t.deserialize(e.stream))}})],io=le(`<div style=padding:.5rem;max-width:100%><div style=display:flex;align-items:center;gap:.5rem><strong style=font-size:1rem>Something went wrong!</strong><button style="appearance:none;font-size:.6em;border:1px solid currentColor;padding:.1rem .2rem;font-weight:bold;border-radius:.25rem"></button></div><div style=height:.25rem></div><!$><!/>`),ao=le(`<div><pre style="font-size:.7em;border:1px solid red;border-radius:.25rem;padding:.3rem;color:red;overflow:auto">`),oo=le(`<code>`);function so(e){return O(Oe,{fallback:(t,r)=>(e.onCatch?.(t),ce(Le([e.getResetKey],()=>r(),{defer:!0})),O(n,{get component(){return e.errorComponent??co},error:t,reset:r})),get children(){return e.children}})}function co({error:e}){let[t,n]=de(!1);return(()=>{var r=C(io),i=r.firstChild,a=i.firstChild.nextSibling,o=i.nextSibling.nextSibling,[s,l]=c(o.nextSibling);return a.$$click=()=>n(e=>
4!e),u(a,()=>t()?`Hide Error`:`Show Error`),u(r,(()=>{var n=E(()=>!!t());return()=>n()?(()=>{var t=C(ao),n=t.firstChild;return u(n,(()=>{var t=E(()=>!!e.message);return()=>t()?(()=>{var t=C(oo);return u(t,()=>e.message),t})():null})()),t})():null})(),s,l),w(),r})()}x([`click`]);function lo(){let e=M(),t={router:e,mounted:!1},n=k(()=>e.stores.isLoading.get()),[r,a]=s(),o=k(()=>e.stores.hasPending.get()),c=k(()=>n()||r()||o()),l=k(()=>n()||o());return e.startTransition=e=>{i(()=>{a(e)})},Fe(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});D(e.latestLocation.publicHref)!==D(n.publicHref)&&e.commitLocation({...n,replace:!0}),ae(()=>{t()})}),Se(()=>{Ne(()=>{typeof window<`u`&&e.ssr||t.router===e&&t.mounted||(t={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())})}),Se((t=!1)=>{let r=n();return t&&!r&&e.emit({type:`onLoad`,...Rt(e.stores.location.get(),e.stores.resolvedLocation.get())}),r}),_e((t=!1)=>{let n=l();return t&&!n&&e.emit({type:`onBeforeRouteMount`,...Rt(e.stores.location.get(),e.stores.resolvedLocation.get())}),n}),Se((t=!1)=>{let n=c();if(t&&!n){let t=Rt(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),Ee(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())})}return n}),null}function uo(e){return E(()=>e.children)}var fo=le(`<p>Not Found`);function po(e){if(I(e))return e;if(I(e?.cause))return e.cause}function mo(e){let t=M(),n=k(()=>t.stores.location.get().pathname),r=k(()=>t.stores.status.get());return O(so,{getResetKey:()=>`not-found-${n()}-${r()}`,onCatch:t=>{let n=po(t);if(n)e.onCatch?.(n);else throw t},errorComponent:({error:t})=>{let n=po(t);if(n)return e.fallback?.(n);throw t},get children(){return e.children}})}function ho(){return C(fo)}function go(e,t,n){return t.options.notFoundComponent?O(t.options.notFoundComponent,n):e.options.defaultNotFoundComponent?O(e.options.defaultNotFoundComponent,n):O(ho,{})}function _o(e){return null}function vo({children:e}){return M(),null}function yo(){let e=_o(M());return e?O(vo,{children:e}):null}var bo=e=>{let t=M(),r=k(()=>{let n=e.matchId;if(n)return t.stores.matchStores.get(n)?.get()}),i=k(()=>{let e=r();if(!e)return null;let n=e.routeId,i=t.routesById[n]?.parentRoute?.id;return{matchId:e.id,routeId:n,ssr:e.ssr,_displayPending:e._displayPending,parentRouteId:i}}),a={matchId:()=>i()?.matchId,routeId:()=>i()?.routeId,match:r,hasPending:k(()=>{let e=i()?.routeId;return e?!!t.stores.pendingRouteIds.get()[e]:!1})};return O(j,{get when(){return i()},children:e=>{let r=()=>t.routesById[e().routeId],i=()=>r().options.pendingComponent??t.options.defaultPendingComponent,o=()=>r().options.errorComponent??t.options.defaultErrorComponent,s=()=>r().options.onCatch??t.options.defaultOnCatch,c=()=>r().isRoot?r().options.notFoundComponent??t.options.notFoundRoute?.options.component:r().options.notFoundComponent,l=e().ssr===!1||e().ssr===`data-only`,u=e().ssr===`data-only`,d=()=>re,f=()=>o()?so:uo,p=()=>c()?mo:uo,m=r().isRoot?r().options.shellComponent??uo:uo;return O(m,{get children(){return[O(De.Provider,{value:a,get children(){return O(n,{get component(){return d()},get fallback(){return u?void 0:O(n,{get component(){return i()}})},get children(){return O(n,{get component(){return f()},getResetKey:()=>t.stores.loadedAt.get(),get errorComponent(){return o()||co},onCatch:t=>{let n=po(t);if(n)throw n.routeId??=e().routeId,n;s()?.(t)},get children(){return O(n,{get component(){return p()},fallback:t=>{let i=po(t)??t;if(i.routeId??=e().routeId,!c()||i.routeId&&i.routeId!==e().routeId||!i.routeId&&
4!r().isRoot)throw i;return O(n,je({get component(){return c()}},i))},get children(){return O(xe,{get children(){return[O(N,{when:l,get children(){return O(j,{get when(){return!0},get fallback(){return O(n,{get component(){return i()}})},get children(){return O(So,{})}})}}),O(N,{when:!l,get children(){return O(So,{})}})]}})}})}})}})}}),E(()=>E(()=>e().parentRouteId===`__root__`)()?[O(xo,{}),E(()=>E(()=>!!(t.options.scrollRestoration&&0))()?O(yo,{}):null)]:null)]}})}})};function xo(){let e=M(),t=k(()=>e.stores.resolvedLocation.get()?.state.__TSR_key);return ce(Le([t],()=>{e.emit({type:`onRendered`,...Rt(e.stores.location.get(),e.stores.resolvedLocation.get())})})),null}var So=()=>{let e=M(),t=b(De).match,r=k(()=>{let n=t();if(!n)return null;let r=n.routeId,i=(e.routesById[r].options.remountDeps??e.options.defaultRemountDeps)?.({routeId:r,loaderDeps:n.loaderDeps,params:n._strictParams,search:n._strictSearch});return{key:i?JSON.stringify(i):void 0,routeId:r,match:{id:n.id,status:n.status,error:n.error,_forcePending:n._forcePending??!1,_displayPending:n._displayPending??!1}}});return O(j,{get when(){return r()},children:t=>{let r=()=>e.routesById[t().routeId],i=()=>t().match,a=()=>t().key??t().match.id,o=()=>{let t=r().options.component??e.options.defaultComponent;return O(t||Co,{})},s=(t,n)=>e.getMatch(t)?._nonReactive.loadPromise??n?._nonReactive.loadPromise,c=()=>O(j,{get when(){return a()},keyed:!0,children:e=>o()});return O(xe,{get children(){return[O(N,{get when(){return i()._displayPending},children:t=>{let[n]=ye(()=>e.getMatch(i().id)?._nonReactive.displayPendingPromise);return E(n)}}),O(N,{get when(){return i()._forcePending},children:t=>{let[n]=ye(()=>e.getMatch(i().id)?._nonReactive.minPendingPromise);return E(n)}}),O(N,{get when(){return i().status===`pending`},children:t=>{let a=r().options.pendingMinMs??e.options.defaultPendingMinMs;if(a){let t=e.getMatch(i().id);if(t&&!t._nonReactive.minPendingPromise){let e=h();t._nonReactive.minPendingPromise=e,setTimeout(()=>{e.resolve(),t._nonReactive.minPendingPromise=void 0},a)}}let[o]=ye(async()=>(await new Promise(e=>setTimeout(e,0)),e.getMatch(i().id)?._nonReactive.loadPromise)),s=r().options.pendingComponent??e.options.defaultPendingComponent;return[s&&a>0?O(n,{component:s}):null,E(o)]}}),O(N,{get when(){return i().status===`notFound`},children:n=>(I(i().error)||y(),O(j,{get when(){return t().routeId},keyed:!0,children:t=>go(e,r(),i().error)}))}),O(N,{get when(){return i().status===`redirected`},children:t=>{let n=i().id,r=e.getMatch(n);A(i().error)||y();let[a]=ye(async()=>(await new Promise(e=>setTimeout(e,0)),s(n,r)));return E(a)}}),O(N,{get when(){return i().status===`error`},children:e=>{throw i().error}}),O(N,{get when(){return i().status===`success`},get children(){return c()}})]}})}})},Co=()=>{let e=M(),t=b(De),r=t.match,i=t.routeId,a=k(()=>i()?e.routesById[i()]:void 0),o=k(()=>r()?.globalNotFound??!1),s=k(()=>{let t=i();return t?e.stores.childMatchIdByRouteId.get()[t]:void 0}),c=k(()=>{let t=s();if(t)return e.stores.matchStores.get(t)?.get().status}),l=()=>c()!==`redirected`&&o(),u=k(()=>
4{if(l())return;let t=s();if(t)return e.stores.matchStores.get(t)?.routeId??t});return O(j,{get when(){return u()},keyed:!0,get fallback(){return O(j,{get when(){return E(()=>!!l())()&&a()},children:t=>go(e,t(),void 0)})},children:t=>O(j,{get when(){return i()===Te},get fallback(){return O(bo,{get matchId(){return s()}})},get children(){return O(re,{get fallback(){return O(n,{get component(){return e.options.defaultPendingComponent}})},get children(){return O(bo,{get matchId(){return s()}})}})}})})};function wo(){let e=M(),t=typeof document<`u`&&e.ssr?uo:re,n=e.routesById[Te].options.pendingComponent??e.options.defaultPendingComponent,r=e.options.InnerWrap||uo;return O(r,{get children(){return O(t,{get fallback(){return n?O(n,{}):null},get children(){return[O(lo,{}),O(To,{})]}})}})}function To(){let e=M(),t=()=>e.stores.firstId.get(),n=()=>t()?Te:void 0,r=()=>n()?e.stores.getRouteMatchStore(Te).get():void 0,i=()=>n()?!!e.stores.pendingRouteIds.get()[Te]:!1,a=()=>e.stores.loadedAt.get(),o={matchId:t,routeId:n,match:r,hasPending:i},s=()=>O(j,{get when(){return t()},get children(){return O(bo,{get matchId(){return t()}})}});return O(De.Provider,{value:o,get children(){return E(()=>!!e.options.disableGlobalCatchBoundary)()?s():O(so,{getResetKey:()=>a(),errorComponent:co,get onCatch(){},get children(){return s()}})}})}function Eo(e,t){e.childMatchIdByRouteId=t(()=>{let t=e.matchesId.get(),n={};for(let r=0;r<t.length-1;r++){let i=e.matchStores.get(t[r]);i?.routeId&&(n[i.routeId]=t[r+1])}return n}),e.pendingRouteIds=t(()=>{let t=e.pendingIds.get(),n={};for(let r of t){let t=e.pendingMatchStores.get(r);t?.routeId&&(n[t.routeId]=!0)}return n})}function Do(e){let[t,n]=de(e);return{get:t,set:n}}var Oo=null;typeof globalThis<`u`&&`FinalizationRegistry`in globalThis&&(Oo=new FinalizationRegistry(e=>e()));function ko(e){let t,n={get:pe(n=>(t=n,k(e)))};return Oo?.register(n,t),n}var Ao=e=>({createMutableStore:Do,createReadonlyStore:ko,batch:Ee,init:e=>Eo(e,ko)}),jo=e=>new Mo(e),Mo=class extends Bt{constructor(e){super(e,Ao)}};function No({router:e,children:t,...n}
4){e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=e.options.Wrap||uo;return O(r,{get children(){return O(we.Provider,{value:e,get children(){return t()}})}})}function Po({router:e,...t}){return O(No,je({router:e},t,{children:()=>O(wo,{})}))}function Fo(e){let t=M({warn:e?.router===void 0}),n=e?.router||t;if(!e?.select)return()=>n.stores.__store.get();let r=e.select;return k(e=>{let t=r(n.stores.__store.get());return e===void 0?t:Re(e,t)})}var Io=ke(),Lo=(e,t,n)=>(Ro({tag:e,props:t,setting:n,id:te(),get name(){return t.name||t.property}}),null);function Ro(e){let t=b(Io);if(!t)throw Error(`<MetaProvider /> should be in the tree`);Se(()=>{let n=t.addTag(e);ae(()=>t.removeTag(e,n))})}var zo=e=>Lo(`title`,e,{escape:!0,close:!0}),Bo=e=>Lo(`style`,e,{close:!0}),Vo=e=>Lo(`meta`,e),Ho=e=>Lo(`link`,e),Uo=le(`<script>`);function Wo(e){let{tag:t,attrs:n,children:r}=e;switch(t){case`title`:return O(zo,je(n,{children:r}));case`meta`:return O(Vo,n);case`link`:return O(Ho,n);case`style`:return e.inlineCss,O(Bo,je(n,{children:r}));case`script`:return O(Go,{attrs:n,children:r});default:return null}}function Go({attrs:t,children:n}){M();let r=typeof t?.type==`string`&&t.type!==``&&t.type!==`text/javascript`&&t.type!==`module`;return Fe(()=>{if(!r){if(t?.src){let e=(()=>{try{let e=document.baseURI||window.location.href;return new URL(t.src,e).href}catch{return t.src}})();if(Array.from(document.querySelectorAll(`script[src]`)).find(t=>t.src===e))return;let n=document.createElement(`script`);for(let[e,r]of Object.entries(t))r!==void 0&&r!==!1&&n.setAttribute(e,typeof r==`boolean`?``:String(r));document.head.appendChild(n),ae(()=>{n.parentNode&&n.parentNode.removeChild(n)})}if(typeof n==`string`){let e=typeof t?.type==`string`?t.type:`text/javascript`,r=typeof t?.nonce==`string`?t.nonce:void 0;if(Array.from(document.querySelectorAll(`script:not([src])`)).find(t=>{if(!(t instanceof HTMLScriptElement))return!1;let i=t.getAttribute(`type`)??`text/javascript`,a=t.getAttribute(`nonce`)??void 0;return t.textContent===n&&i===e&&a===r}))return;let i=document.createElement(`script`);if(i.textContent=n,t)for(let[e,n]of Object.entries(t))n!==void 0&&n!==!1&&i.setAttribute(e,typeof n==`boolean`?``:String(n));document.head.appendChild(i),ae(()=>{i.parentNode&&i.parentNode.removeChild(i)})}}}),r&&typeof n==`string`?(()=>{var r=C(Uo);return e(r,je(t,{innerHTML:n}),!1,!1),w(),r})():null}var Ko=()=>{let e=M(),t=e.options.ssr?.nonce,n=n=>{let r=[],i=e.ssr?.manifest;if(!i)return[];for(let e of n){let n=i.routes[e.routeId]?.scripts;if(n)for(let e of n)r.push({tag:`script`,attrs:{...e.attrs,nonce:t},children:e.children})}return r},r=e=>e.map(e=>e.scripts).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`script`,attrs:{...n,nonce:t},children:e})),i=k(()=>e.stores.matches.get()),a=k(()=>n(i()));return qo(e,k(()=>r(i()))(),a())};function qo(e,t,n){let r=[...t,...n];return E(()=>r.map(e=>O(Wo,e)))}function Jo(e){return O(Po,{get router(){return e.router}})}var Yo=`__TSS_CONTEXT`,Xo=Symbol.for(`TSS_SERVER_FUNCTION`),Zo=`application/x-tss-framed`,$={JSON:0,CHUNK:1,END:2,ERROR:3};`${Zo}`;var Qo=/;\s*v=(\d+)/;function $o(e){let t=e.match(Qo);return t?parseInt(t[1],10):void 0}function es(e){let t=$o(e);if(t!==void 0&&t!==1)throw Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var ts=()=>window.__TSS_START_OPTIONS__;function ns(){return[...(ts()?.serializationAdapters)?.map(Ia)??[],...ro]}var rs=new TextDecoder,is=new Uint8Array,as=16777216,os=33554432,ss=1024,cs=1e5;function ls(e){let t=new Map,n=new Map,r=new Set,i=!1,a=null,o=0,s,c=new ReadableStream({start(e){s=e},cancel(){i=!0;try{a?.cancel()}catch{}t.forEach(e=>{try{e.error(Error(`Framed response cancelled`))}catch{}}),t.clear(),n.clear(),r.clear()}});function l(e){let i=n.get(e);if(i)return i;if(r.has(e))return new ReadableStream({start(e){e.close()}});if(n.size>=ss)throw Error(`Too many raw streams in framed response (max ${ss})`);let a=new ReadableStream({start(n){t.set(e,n)},cancel(){r.add(e),t.delete(e),n.delete(e)}});return n.set(e,a),a}function u(e){return l(e),t.get(e)}return(async()=>{let n=e.getReader();a=n;let c=[],l=0;function d(){if(l<9)return null;let e=c[0];if(e.length>=9)return{type:e[0],streamId:(e[1]<<24|e[2]<<16|e[3]<<8|e[4])>>>0,length:(e[5]<<24|e[6]<<16|e[7]<<8|e[8])>>>0};let t=new Uint8Array(9),n=0,r=9;for(let e=0;e<c.length&&r>0;e++){let i=c[e],a=Math.min(i.length,r);t.set(i.subarray(0,a),n),n+=a,r-=a}return{type:t[0],streamId:(t[1]<<24|t[2]<<16|t[3]<<8|t[4])>>>0,length:(t[5]<<24|t[6]<<16|t[7]<<8|t[8])>>>0}}function f(e){if(e===0)return is;let t=new Uint8Array(e),n=0,r=e;for(;r>0&&c.length>0;){let e=c[0];if(!e)break;let i=Math.min(e.length,r);t.set(e.subarray(0,i),n),n+=i,r-=i,i===e.length?c.shift():c[0]=e.subarray(i)}return l-=e,t}try{for(;;){let{done:e,value:a}=await n.read();if(i||e)break;
4if(a){if(l+a.length>os)throw Error(`Framed response buffer exceeded ${os} bytes`);for(c.push(a),l+=a.length;;){let e=d();if(!e)break;let{type:n,streamId:i,length:a}=e;if(n!==$.JSON&&n!==$.CHUNK&&n!==$.END&&n!==$.ERROR)throw Error(`Unknown frame type: ${n}`);if(n===$.JSON){if(i!==0)throw Error(`Invalid JSON frame streamId (expected 0)`)}else if(i===0)throw Error(`Invalid raw frame streamId (expected non-zero)`);if(a>as)throw Error(`Frame payload too large: ${a} bytes (max ${as})`);let c=9+a;if(l<c)break;if(++o>cs)throw Error(`Too many frames in framed response (max ${cs})`);f(9);let p=f(a);switch(n){case $.JSON:try{s.enqueue(rs.decode(p))}catch{}break;case $.CHUNK:{let e=u(i);e&&e.enqueue(p);break}case $.END:{let e=u(i);if(r.add(i),e){try{e.close()}catch{}t.delete(i)}break}case $.ERROR:{let e=u(i);if(r.add(i),e){let n=rs.decode(p);e.error(Error(n)),t.delete(i)}break}}}}}if(l!==0)throw Error(`Incomplete frame at end of framed response`);try{s.close()}catch{}t.forEach(e=>{try{e.close()}catch{}}),t.clear()}catch(e){try{s.error(e)}catch{}t.forEach(t=>{try{t.error(e)}catch{}}),t.clear()}finally{try{n.releaseLock()}catch{}a=null}})(),{getOrCreateStream:l,jsonChunks:c}}var us=null;async function ds(e){e.length>0&&await Promise.allSettled(e)}var fs=Object.prototype.hasOwnProperty;function ps(e){for(let t in e)if(fs.call(e,t))return!0;return!1}async function ms(e,t,n){us||=ns();let r=t[0],i=r.fetch??n,a=r.data instanceof FormData?`formData`:`payload`,o=r.headers?new Headers(r.headers):new Headers;if(o.set(`x-tsr-serverFn`,`true`),a===`payload`&&o.set(`accept`,`${Zo}, application/x-ndjson, application/json`),r.method===`GET`){if(a===`formData`)throw Error(`FormData is not supported with GET requests`);let t=await hs(r);if(t!==void 0){let n=Ye({payload:t});e.includes(`?`)?e+=`&${n}`:e+=`?${n}`}}let s;if(r.method===`POST`){let e=await _s(r);e?.contentType&&o.set(`content-type`,e.contentType),s=e?.body}return await vs(async()=>i(e,{method:r.method,headers:o,signal:r.signal,body:s}))}async function hs(e){let t=!1,n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&ps(e.context)&&(t=!0,n.context=e.context),t)return gs(n)}async function gs(e){return JSON.stringify(await Promise.resolve(Pa(e,{plugins:us})))}async function _s(e){if(e.data instanceof FormData){let t;return e.context&&ps(e.context)&&(t=await gs(e.context)),t!==void 0&&e.data.set(Yo,t),{body:e.data}}let t=await hs(e);if(t)return{body:t,contentType:`application/json`}}async function vs(e){let t;try{t=await e()}catch(e){if(e instanceof Response)t=e;else throw console.log(e),e}if(t.headers.get(`x-tss-raw`)===`true`)return t;let n=t.headers.get(`content-type`);if(n||y(),t.headers.get(`x-tss-serialized`)){let e;if(n.includes(`application/x-tss-framed`)){if(es(n),!t.body)throw Error(`No response body for framed response`);
4let{getOrCreateStream:r,jsonChunks:i}=ls(t.body),a=[Qa(r),...us||[]],o=new Map;e=await ys({jsonStream:i,onMessage:e=>Na(e,{refs:o,plugins:a}),onError(e,t){console.error(e,t)}})}else if(n.includes(`application/json`)){let n=await t.json(),r=[];try{e=Na(n,{plugins:us})}finally{}await ds(r)}if(e||y(),e instanceof Error)throw e;return e}if(n.includes(`application/json`)){let e=await t.json(),n=ne(e);if(n)throw n;if(I(e))throw e;return e}if(!t.ok)throw Error(await t.text());return t}async function ys({jsonStream:e,onMessage:t,onError:n}){let r=e.getReader(),{value:i,done:a}=await r.read();if(a||!i)throw Error(`Stream ended before first object`);let o=JSON.parse(i),s=!1,c=(async()=>{try{for(;;){let{value:e,done:i}=await r.read();if(i)break;if(e)try{let n=[];try{t(JSON.parse(e))}finally{}await ds(n)}catch(t){n?.(`Invalid JSON: ${e}`,t)}}}catch(e){s||n?.(`Stream processing error:`,e)}})(),l,u=[];try{l=t(o)}catch(e){throw s=!0,r.cancel().catch(()=>{}),e}return await ds(u),Promise.resolve(l).catch(()=>{s=!0,r.cancel().catch(()=>{})}),c.finally(()=>{try{r.releaseLock()}catch{}}),l}function bs(e){let t=`/_serverFn/`+e;return Object.assign((...e)=>{let n=ts()?.serverFns?.fetch;return ms(t,e,n??fetch)},{url:t,serverFnMeta:{id:e},[Xo]:!0})}var xs=Fa({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!(Xo in e)?!1:!!e[Xo],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>bs(e)});function Ss(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`)}function Cs(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function ws(e){window.$_TSR||y();let t=e.options.serializationAdapters;if(t?.length){let e=new Map;t.forEach(t=>{e.set(t.key,t.fromSerializable)}),window.$_TSR.t=e,window.$_TSR.buffer.forEach(e=>e())}window.$_TSR.initialized=!0,window.$_TSR.router||y();let n=window.$_TSR.router;n.matches.forEach(e=>{e.i=Ss(e.i)}),n.lastMatchId&&=Ss(n.lastMatchId);let{manifest:r,dehydratedData:i,lastMatchId:a}=n;e.ssr={manifest:r};let o=document.querySelector(`meta[property="csp-nonce"]`)?.content;e.options.ssr={nonce:o},await e.options.hydrate?.(i);let s=e.matchRoutes(e.stores.location.get()),c=Promise.all(s.map(t=>e.loadRouteChunk(e.looseRoutesById[t.routeId])));function l(t){let n=e.looseRoutesById[t.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(n){let r=h();t._nonReactive.minPendingPromise=r,t._forcePending=!0,setTimeout(()=>{r.resolve(),e.updateMatch(t.id,e=>(e._nonReactive.minPendingPromise=void 0,{...e,_forcePending:void 0}))},n)}}function u(t){let n=e.looseRoutesById[t.routeId];n&&(n.options.ssr=t.ssr)}let d;s.forEach(e=>{let t=n.matches.find(t=>t.i===e.id);if(!t){e._nonReactive.dehydrated=!1,e.ssr=!1,u(e);return}Cs(e,t),u(e),e._nonReactive.dehydrated=e.ssr!==!1,(e.ssr===`data-only`||e.ssr===!1)&&d===void 0&&(d=e.index,l(e))}),e.stores.setMatches(s);let f=e.stores.matches.get(),p=e.stores.location.get();await Promise.all(f.map(async t=>{try{let n=e.looseRoutesById[t.routeId],r=f[t.index-1]?.context??e.options.context;if(n.options.context){let i={deps:t.loaderDeps,params:t.params,context:r??{},location:p,navigate:t=>e.navigate({...t,_fromLocation:p}),buildLocation:e.buildLocation,cause:t.cause,abortController:t.abortController,preload:!1,matches:s,routeId:n.id};t.__routeContext=n.options.context(i)??void 0}t.context={...r,...t.__routeContext,...t.__beforeLoadContext};let i={ssr:e.options.ssr,matches:f,match:t,params:t.params,loaderData:t.loaderData},a=await n.options.head?.(i),o=await n.options.scripts?.(i);t.meta=a?.meta,t.links=a?.links,t.headScripts=a?.scripts,t.styles=a?.styles,t.scripts=o}catch(e){if(I(e))t.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${t.routeId}`,e);else throw t.error=e,console.error(`Error during hydration for route ${t.routeId}:`,e),e}}));let m=s[s.length-1].id!==a;if(!s.some(e=>e.ssr===!1)&&!m)return s.forEach(e=>{e._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),c;let g=Promise.resolve().then(()=>e.load()).catch(e=>{console.error(`Error during router hydration:`,e)});if(m){let t=s[1];t||y(),l(t),t._displayPending=!0,t._nonReactive.displayPendingPromise=g,g.then(()=>{e.batch(()=>
4{e.stores.status.get()===`pending`&&(e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(t.id,e=>({...e,_displayPending:void 0,displayPendingPromise:void 0}))})})}return c}var Ts=He({head:()=>({meta:[Ue(ze())],links:[{rel:`shortcut icon`,href:`/images/favicon.png`,type:`image/x-icon`},{rel:`apple-touch-icon`,href:`/images/webclip.png`}]}),component:Os}),Es=()=>null;function Ds(){let e=Fo();return()=>{let t=e().matches;for(let e=t.length-1;e>=0;e--){let n=t[e]?.context;if(n?.lang&&n?.dir)return{lang:n.lang,dir:n.dir}}return{lang:`en`,dir:`ltr`}}}function Os(){let e=Ds(),t=Fo();return ce(()=>{let e=Be(t().location.pathname);if(!e)return;let n=Ke(e.page,e.locale);We(Ge({title:n.title,description:n.description,locale:e.locale,path:P(e.page,e.locale),alternates:{en:P(e.page,`en`),ar:P(e.page,`ar`)}}))}),(()=>{var t=C(),n=d(t.firstChild,`body`),r=n.firstChild,[i,a]=c(r.nextSibling),o=i.nextSibling,[s,l]=c(o.nextSibling),f=s.nextSibling,[p,m]=c(f.nextSibling);return O(S,{}),u(n,O(re,{get children(){return O(Co,{})}}),i,a),u(n,O(re,{get children(){return O(Es,{position:`bottom-right`})}}),s,l),u(n,O(Ko,{}),p,m),Se(n=>{var r=e().lang,i=e().dir;return r!==n.e&&ee(t,`lang`,n.e=r),i!==n.t&&ee(t,`dir`,n.t=i),n},{e:void 0,t:void 0}),t})()}var ks=[`en`,`ar`];function As(e){return ks.includes(e)}function js(e){return e===`ar`?`rtl`:`ltr`}function Ms(e){return e===`ar`?`ar`:`en`}var Ns=Ve(`/$locale`)({beforeLoad({params:e}){if(!As(e.locale))throw Je();let t=e.locale;return{locale:t,dir:js(t),lang:Ms(t)}},component:qe(()=>F(()=>import(`./_locale-cKEgbKdq.js`),__vite__mapDeps([0,1])),`component`)}),Ps=Ve(`/`)({beforeLoad(){throw be({to:`/$locale`,params:{locale:`en`},statusCode:308})},component:qe(()=>F(()=>import(`./routes-DJ7LAi8J.js`),[]),`component`)}),Fs=Ve(`/$locale/`)({head({params:e}){let t=e.locale,n=Ke(`index`,t),r=Ge({title:n.title,description:n.description,locale:t,path:P(`index`,t),alternates:{en:P(`index`,`en`),ar:P(`index`,`ar`)}});return{meta:r.meta,links:r.links}},component:qe(()=>F(()=>import(`./_locale-CK0rncmD.js`),__vite__mapDeps([2,1,3,4,5])),`component`)}),Is=Ve(`/$locale/team`)({head({params:e}){let t=e.locale,n=Ke(`team`,t),r=Ge({title:n.title,description:n.description,locale:t,path:P(`team`,t),alternates:{en:P(`team`,`en`),ar:P(`team`,`ar`)}});return{meta:r.meta,links:r.links}},component:qe(()=>F(()=>import(`./team-EQo3QZ4s.js`),__vite__mapDeps([6,1,3,4,5])),`component`)}),Ls=Ve(`/$locale/apps`)({head({params:e}){let t=e.locale,n=Ke(`apps`,t),r=Ge({title:n.title,description:n.description,locale:t,path:P(`apps`,t),alternates:{en:P(`apps`,`en`),ar:P(`apps`,`ar`)}});return{meta:r.meta,links:r.links}},component:qe(()=>F(()=>import(`./apps-Dz-dBVLE.js`),__vite__mapDeps([7,1,3,4,5])),`component`)}),Rs=Ve(`/$locale/404`)({head({params:e}){let t=e.locale,n=Ke(`notFound`,t),r=Ge({title:n.title,description:n.description,locale:t,path:P(`notFound`,t),alternates:{en:P(`notFound`,`en`),ar:P(`notFound`,`ar`)}});return{meta:r.meta,links:r.links}},component:qe(()=>F(()=>import(`./404-DMCcXt3W.js`),__vite__mapDeps([8,1,3,4])),`component`)}),zs=Ve(`/$locale/401`)({head({params:e}){let t=e.locale,n=Ke(`unauthorized`,t),r=Ge({title:n.title,description:n.description,locale:t,path:P(`unauthorized`,t),alternates:{en:P(`unauthorized`,`en`),ar:P(`unauthorized`,`ar`)}});return{meta:r.meta,links:r.links}},component:qe(()=>F(()=>import(`./401-BGyrm4Qe.js`),__vite__mapDeps([9,1,3])),`component`)}),Bs=Ns.update({id:`/$locale`,path:`/$locale`,getParentRoute:()=>Ts}),Vs=Ps.update({id:`/`,path:`/`,getParentRoute:()=>Ts}),Hs=Fs.update({id:`/`,path:`/`,getParentRoute:()=>Bs}),Us=Is.update({id:`/team`,path:`/team`,getParentRoute:()=>Bs}),Ws=Ls.update({id:`/apps`,path:`/apps`,getParentRoute:()=>Bs}),Gs=Rs.update({id:`/404`,path:`/404`,getParentRoute:()=>Bs}),Ks={Locale401Route:zs.update({id:`/401`,path:`/401`,getParentRoute:()=>Bs}),Locale404Route:Gs,LocaleAppsRoute:Ws,LocaleTeamRoute:Us,LocaleIndexRoute:Hs},qs={IndexRoute:Vs,LocaleRoute:Bs._addFileChildren(Ks)},Js=Ts._addFileChildren(qs);function Ys(){return jo({routeTree:Js,scrollRestoration:!0,defaultPreload:`intent`,defaultPreloadDelay:50})}async function Xs(){let e=await Ys(),t=[];return window.__TSS_START_OPTIONS__={serializationAdapters:t}
4,t.push(xs),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.stores.matchesId.get().length||await ws(e),e}var Zs=Xs;async function Qs(){let e=await Zs();return window.$_TSR?.h(),e}var $s=`G-JV223G4GBN`;function ec(){return typeof window>`u`?!1:window.location.hostname===`axenda.io`||window.location.hostname.endsWith(`.axenda.io`)}function tc(){if(typeof window>`u`)return!1;let{hostname:e,protocol:t}=window.location;return t===`https:`&&e!==`localhost`&&e!==`127.0.0.1`&&e!==`::1`&&e!==`[::1]`}function nc(){if(!ec())return;let e=document.createElement(`script`);e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${$s}`,document.head.append(e);let t=window;t.dataLayer=t.dataLayer||[];function n(...e){t.dataLayer.push(e)}n(`js`,new Date),n(`config`,$s,{anonymize_ip:!1})}function rc(){tc()&&F(async()=>{let{inject:e}=await import(`./dist-C_5Mycpk.js`);return{inject:e}},[]).then(({inject:e})=>e({framework:`solid`})).catch(()=>{})}Qs().then(e=>{Ce(()=>O(Jo,{router:e}),document),nc(),rc()});export{Fs as a,Is as i,Rs as n,Co as o,Ls as r,zs as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.