const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DRy3hSaJ.js","../chunks/3MMtouT7.js","../chunks/Ce0VRwE1.js","../chunks/BTu-2gkj.js","../assets/ColorPicker.Hf6zQzuB.css","../chunks/Bkcn25gz.js","../chunks/D347PuJK.js","../chunks/Bn-6X1BO.js","../chunks/CG453M9q.js","../chunks/CSjf4fBs.js","../assets/0.B5tfAY8Y.css","../nodes/1.BL16K8Rb.js","../chunks/DFPEaIHz.js","../assets/1.B_AnTlN1.css","../nodes/2.iOKTlmTJ.js","../chunks/CRXYOhph.js","../chunks/Dqgg-a0I.js","../chunks/gQJcRhou.js","../chunks/BCwT4WOg.js","../chunks/BLszSzTT.js","../chunks/B-XSrufh.js","../chunks/DQM017d5.js","../chunks/pRcLbE0d.js","../chunks/CMQw-Fc-.js","../assets/2.DjiwkLqE.css","../nodes/3.GuF9Fr8V.js","../assets/3.DHxQoulp.css","../nodes/4.BcK1571T.js","../chunks/DzuS5Nbr.js","../assets/4.D4EDSN4H.css","../nodes/5.DRvLQ5NR.js","../assets/5.C5qz-NeI.css","../nodes/6.DSC53pZZ.js","../chunks/CBvZimn-.js","../assets/6.DzV0p3l-.css","../nodes/7.C8lL01pY.js","../chunks/BsNWiLas.js","../assets/ChatView.Bnlg-oAF.css","../assets/7.CEbRAOOf.css","../nodes/8.Dn1iVaxc.js","../assets/8.BhoBXADL.css","../nodes/9.D3nURtQJ.js","../chunks/PPVm8Dsz.js","../assets/9.v5KA95xm.css"])))=>i.map(i=>d[i]);
import{_}from"../chunks/PPVm8Dsz.js";import{h as V,Q as z,f as G,R as H,S as Q,T as U,l as W,k,U as X,m as J,b,V as K,g as u,W as Z,X as $,Y as tt,p as et,D as rt,F as at,q as st,P as ot,z as R,d as nt,v as it,s as O,c as ct,r as _t,t as ut,w as p}from"../chunks/Ce0VRwE1.js";import{B as mt,k as dt,m as lt,u as ft,p as T,i as A,a as v,j as D,f as j,g as x,t as ht,s as vt}from"../chunks/3MMtouT7.js";function I(s,t,a){var n;V&&(n=J,z());var o=new mt(s);G(()=>{var e=t()??null;if(V){var r=Q(n),c=r===X,P=e!==null;if(c!==P){var g=U();W(g),o.anchor=g,k(!1),o.ensure(e,e&&(f=>a(f,e))),k(!0);return}}o.ensure(e,e&&(f=>a(f,e)))},H)}function gt(s){return class extends Et{constructor(t){super({component:s,...t})}}}class Et{#e;#t;constructor(t){var a=new Map,n=(e,r)=>{var c=tt(r,!1,!1);return a.set(e,c),c};const o=new Proxy({...t.props||{},$$events:{}},{get(e,r){return u(a.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===K?!0:(u(a.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,c){return b(a.get(r)??n(r,c),c),Reflect.set(e,r,c)}});this.#t=(t.hydrate?dt:lt)(t.component,{target:t.target,anchor:t.anchor,props:o,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Z(),this.#e=o.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||$(this,e,{get(){return this.#t[e]},set(r){this.#t[e]=r},enumerable:!0});this.#t.$set=e=>{Object.assign(o,e)},this.#t.$destroy=()=>{ft(this.#t)}}$set(t){this.#t.$set(t)}$on(t,a){this.#e[t]=this.#e[t]||[];const n=(...o)=>a.call(this,...o);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(o=>o!==n)}}$destroy(){this.#t.$destroy()}}const Dt={};var yt=j('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Rt=j("<!> <!>",1);function bt(s,t){et(t,!0);let a=T(t,"components",23,()=>[]),n=T(t,"data_0",3,null),o=T(t,"data_1",3,null);rt(()=>t.stores.page.set(t.page)),at(()=>{t.stores,t.page,t.constructors,a(),t.form,n(),o(),t.stores.page.notify()});let e=O(!1),r=O(!1),c=O(null);st(()=>{const i=t.stores.page.subscribe(()=>{u(e)&&(b(r,!0),ot().then(()=>{b(c,document.title||"untitled page",!0)}))});return b(e,!0),i});const P=p(()=>t.constructors[1]);var g=Rt(),f=R(g);{var S=i=>{const m=p(()=>t.constructors[0]);var d=D(),E=R(d);I(E,()=>u(m),(l,h)=>{x(h(l,{get data(){return n()},get form(){return t.form},get params(){return t.page.params},children:(y,Ot)=>{var L=D(),N=R(L);I(N,()=>u(P),(Y,B)=>{x(B(Y,{get data(){return o()},get form(){return t.form},get params(){return t.page.params}}),q=>a()[1]=q,()=>a()?.[1])}),v(y,L)},$$slots:{default:!0}}),y=>a()[0]=y,()=>a()?.[0])}),v(i,d)},C=i=>{const m=p(()=>t.constructors[0]);var d=D(),E=R(d);I(E,()=>u(m),(l,h)=>{x(h(l,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),y=>a()[0]=y,()=>a()?.[0])}),v(i,d)};A(f,i=>{t.constructors[1]?i(S):i(C,-1)})}var F=nt(f,2);{var M=i=>{var m=yt(),d=ct(m);{var E=l=>{var h=ht();ut(()=>vt(h,u(c))),v(l,h)};A(d,l=>{u(r)&&l(E)})}_t(m),v(i,m)};A(F,i=>{u(e)&&i(M)})}v(s,g),it()}const xt=gt(bt),It=[()=>_(()=>import("../nodes/0.DRy3hSaJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url),()=>_(()=>import("../nodes/1.BL16K8Rb.js"),__vite__mapDeps([11,1,2,12,5,6,3,4,13]),import.meta.url),()=>_(()=>import("../nodes/2.iOKTlmTJ.js"),__vite__mapDeps([14,1,2,3,4,12,5,7,15,8,16,17,18,19,20,21,22,23,24]),import.meta.url),()=>_(()=>import("../nodes/3.GuF9Fr8V.js"),__vite__mapDeps([25,1,2,12,5,3,4,17,18,19,20,21,22,26]),import.meta.url),()=>_(()=>import("../nodes/4.BcK1571T.js"),__vite__mapDeps([27,1,2,3,4,12,28,17,18,22,29]),import.meta.url),()=>_(()=>import("../nodes/5.DRvLQ5NR.js"),__vite__mapDeps([30,1,2,3,4,21,17,18,22,31]),import.meta.url),()=>_(()=>import("../nodes/6.DSC53pZZ.js"),__vite__mapDeps([32,1,2,3,4,12,5,33,28,7,15,16,17,18,19,23,34]),import.meta.url),()=>_(()=>import("../nodes/7.C8lL01pY.js"),__vite__mapDeps([35,1,2,12,3,4,33,5,16,18,36,20,37,38]),import.meta.url),()=>_(()=>import("../nodes/8.Dn1iVaxc.js"),__vite__mapDeps([39,1,2,3,4,12,5,15,8,9,16,17,18,23,40]),import.meta.url),()=>_(()=>import("../nodes/9.D3nURtQJ.js"),__vite__mapDeps([41,42,1,2,12,3,4,5,6,28,36,18,20,37,23,43]),import.meta.url)],Lt=[0],Vt={"/":[-3],"/activity":[-4],"/config":[-5],"/neurolink":[-6],"/project":[6],"/session/[id]":[7],"/terminals":[8],"/terminals/[id]":[9]},w={handleError:(({error:s})=>{console.error(s)}),reroute:(()=>{}),transport:{}},Pt=Object.fromEntries(Object.entries(w.transport).map(([s,t])=>[s,t.decode])),kt=Object.fromEntries(Object.entries(w.transport).map(([s,t])=>[s,t.encode])),jt=!1,wt=(s,t)=>Pt[s](t);export{wt as decode,Pt as decoders,Vt as dictionary,kt as encoders,jt as hash,w as hooks,Dt as matchers,It as nodes,xt as root,Lt as server_loads};
