{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Yt(s)}),i={node:await gt(),loader:gt,universal:null,server:null,data:null};return yt({url:n,params:a,branch:[o,i],status:t,error:e,route:null})}catch(o){if(o instanceof Dt)return xe(new URL(o.location,location.href),{},0);throw o}}async function pn(t){const e=t.href;if(dt.has(e))return dt.get(e);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(t),fetch:async(s,o)=>ln(s,o,t).promise})??t;if(typeof a=="string"){const s=new URL(t);b.hash?s.hash=a:s.pathname=a,a=s}return a})();dt.set(e,r),n=await r}catch{dt.delete(e);return}return n}async function Rt(t,e){if(t&&!St(t,U,b.hash)){const n=await pn(t);if(!n)return;const r=gn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:bt(t),invalidating:e,route:a,params:je(s),url:t}}}}function gn(t){return $e(b.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(U.length))||"/"}function bt(t){return(b.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Ae({url:t,type:e,intent:n,delta:r,event:a}){let s=!1;const o=Ht(m,n,t,e);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return Z||ye.forEach(c=>c(i)),s?null:o}async function G({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=ne,block:d=ne,event:u}){var B;const y=V;V=c;const f=await Rt(e,!1),h=t==="enter"?Ht(m,f,e,t):Ae({url:e,type:t,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),V===c&&(V=y);return}const _=E,g=L;l(),Z=!0,wt&&h.navigation.type!=="enter"&&N.navigating.set(J.current=h.navigation);let p=f&&await Ue(f);if(!p){if(St(e,U,b.hash))return await Q(e,s);p=await Te(e,{id:null},await tt(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(f==null?void 0:f.url)||e,V!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await G({type:t,url:new URL(p.location,e),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await zt({status:500,error:await tt(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else p.props.page.status>=400&&await N.updated.check()&&(await ve(),await Q(e,s));if(sn(),Mt(_),Se(g),p.props.page.url.pathname!==e.pathname&&(e.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const S=s?0:1,K={[F]:E+=S,[H]:L+=S,[pe]:o};(s?history.replaceState:history.pushState).call(history,K,"",e),s||rn(E,L)}const k=f&&(v==null?void 0:v.id)===f.id?v.fork:null;v=null,p.props.page.state=o;let x;if(wt){const S=(await Promise.all(Array.from(on,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(S.length>0){let j=function(){S.forEach(xt=>{z.delete(xt)})};S.push(j),S.forEach(xt=>{z.add(xt)})}m=p.state,p.props.page&&(p.props.page.url=e);const K=k&&await k;K?x=K.commit():(Ee.$set(p.props),nn(p.props.page),x=(B=Pe)==null?void 0:B()),ke=!0}else await Le(p,Pt,!1);const{activeElement:$}=document;await x,await ht(),await ht();let P=n?n.scroll:a?Et():null;if(ae){const S=e.hash&&document.getElementById(Ie(e));if(P)scrollTo(P.x,P.y);else if(S){S.scrollIntoView();const{top:K,left:j}=S.getBoundingClientRect();P={x:pageXOffset+j,y:pageYOffset+K}}else scrollTo(0,0)}const ut=document.activeElement!==$&&document.activeElement!==document.body;!r&&!ut&&bn(e,P),ae=!0,p.props.page&&Object.assign(R,p.props.page),Z=!1,t==="popstate"&&Re(L),h.fulfil(void 0),z.forEach(S=>S(h.navigation)),N.navigating.set(J.current=null)}async function Te(t,e,n,r,a){return t.origin===kt&&t.pathname===location.pathname&&!be?await zt({status:r,error:n,url:t,route:e}):await Q(t,a)}function mn(){let t,e,n;C.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(t),t=setTimeout(()=>{s(c,D.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],D.tap)}C.addEventListener("mousedown",r),C.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(Tt(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=me(i,C),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:y,download:f}=It(l,U,b.hash);if(y||f)return;const h=pt(l),_=u&&bt(m.url)===bt(u);if(!(h.reload||_))if(c<=h.preload_data){e=l,n=D.tap;const g=await Rt(u,!1);if(!g)return;cn(g)}else c<=h.preload_code&&(e=l,n=c,Tt(u))}function o(){a.disconnect();for(const i of C.querySelectorAll("a")){const{url:c,external:l,download:d}=It(i,U,b.hash);if(l||d)continue;const u=pt(i);u.reload||(u.preload_code===D.viewport&&a.observe(i),u.preload_code===D.eager&&Tt(c))}}z.add(o),o()}function tt(t,e){if(t instanceof Nt)return t.body;const n=Kt(t),r=tn(t);return b.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function On(t,e={}){return t=new URL(Bt(t)),t.origin!==kt?Promise.reject(new Error("goto: invalid URL")):xe(t,e,0)}function _n(t){if(typeof t=="function")mt.push(t);else{const{href:e}=new URL(t,location.href);mt.push(n=>n.href===e)}}function wn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(oe(),!Z){const a=Ht(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};ye.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&oe()}),(e=navigator.connection)!=null&&e.saveData||mn(),C.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=me(n.composedPath()[0],C);if(!r)return;const{url:a,external:s,target:o,download:i}=It(r,U,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=pt(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),y=d===Lt(location);if(s||c.reload&&(!y||!u)){Ae({url:a,type:"link",event:n})?Z=!0:n.preventDefault();return}if(u!==void 0&&y){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(W=!0,Mt(E),t(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await G({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),C.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(St(i,U,!1))return;const c=n.target,l=pt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),G({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!$t){if((r=n.state)!=null&&r[F]){const a=n.state[F];if(V={},a===E)return;const s=q[a],o=n.state[pe]??{},i=new URL(n.state[Je]??location.href),c=n.state[H],l=m.url?Lt(location)===Lt(m.url):!1;if(c===L&&(ke||l)){o!==R.state&&(R.state=o),t(i),q[E]=Et(),s&&scrollTo(s.x,s.y),E=a;return}const u=a-E;await G({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{E=a,L=c},block:()=>{history.go(-u)},nav_token:V,event:n})}else if(!W){const a=new URL(location.href);t(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[F]:++E,[H]:L},"",location.href))});for(const n of document.querySelectorAll("link"))an.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&N.navigating.set(J.current=null)});function t(n){m.url=R.url=n,N.page.set(Jt(R)),N.page.notify()}}async function vn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){be=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await Rt(l,!1)||{}),d=Ft.find(({id:f})=>f===s.id);let u,y=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=yn(p.uses)),Wt({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const k={};for(let x=0;x{const i=history.state;$t=!0,location.replace(`#${r}`),b.hash&&location.replace(t.hash),history.replaceState(i,"",t.hash),scrollTo(s,o),$t=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:r,complete:o},fulfil:a,reject:s}}function Jt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function kn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function Ie(t){let e;if(b.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{In as a,On as g,Ln as l,R as p,N as s};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/DZNd3jEa.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/DZNd3jEa.js
deleted file mode 100644
index 1d73be3..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/DZNd3jEa.js
+++ /dev/null
@@ -1,2 +0,0 @@
-var Ie=Object.defineProperty;var ce=t=>{throw TypeError(t)};var Me=(t,e,s)=>e in t?Ie(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var ee=(t,e,s)=>Me(t,typeof e!="symbol"?e+"":e,s),te=(t,e,s)=>e.has(t)||ce("Cannot "+s);var r=(t,e,s)=>(te(t,e,"read from private field"),s?s.call(t):e.get(t)),h=(t,e,s)=>e.has(t)?ce("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),a=(t,e,s,i)=>(te(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),p=(t,e,s)=>(te(t,e,"access private method"),s);import{ae as ke,g as be,af as we,Y as Ce,l as Le,ag as pe,Z as Ne,I as v,H as E,a5 as L,L as Pe,M as Re,V as de,P as Ye,G as I,ah as j,E as se,F as q,ai as Be,aj as Q,ak as B,al as ge,am as He,an as ne,i as Se,J as Ve,ao as ve,ap as xe,aq as me,ar as qe,as as Ue,D as re,R as U,y as We,Q as Ge,at as ye,au as je,N as Je,av as $e,aw as ze,ax as Ke,d as Qe,U as ie,ay as Xe,az as Ze,aA as et,aB as tt,aC as st,aD as ae,aE as rt,W as nt,aF as oe,S as J,aG as it,aH as at,aI as ot,aJ as ft,p as lt,aK as ht,aL as ut,a as dt}from"./CqqhLxdp.js";function _t(t){let e=0,s=we(0),i;return()=>{ke()&&(be(s),Ce(()=>(e===0&&(i=Le(()=>t(()=>pe(s)))),e+=1,()=>{Ne(()=>{e-=1,e===0&&(i==null||i(),i=void 0,pe(s))})})))}}var ct=Je|$e|ze;function pt(t,e,s){new gt(t,e,s)}var g,W,T,M,b,y,_,w,S,D,k,A,C,H,V,F,X,l,Ae,De,fe,z,K,le;class gt{constructor(e,s,i){h(this,l);ee(this,"parent");ee(this,"is_pending",!1);h(this,g);h(this,W,E?v:null);h(this,T);h(this,M);h(this,b);h(this,y,null);h(this,_,null);h(this,w,null);h(this,S,null);h(this,D,null);h(this,k,0);h(this,A,0);h(this,C,!1);h(this,H,new Set);h(this,V,new Set);h(this,F,null);h(this,X,_t(()=>(a(this,F,we(r(this,k))),()=>{a(this,F,null)})));a(this,g,e),a(this,T,s),a(this,M,i),this.parent=L.b,this.is_pending=!!r(this,T).pending,a(this,b,Pe(()=>{if(L.b=this,E){const n=r(this,W);Re(),n.nodeType===de&&n.data===Ye?p(this,l,De).call(this):(p(this,l,Ae).call(this),r(this,A)===0&&(this.is_pending=!1))}else{var o=p(this,l,fe).call(this);try{a(this,y,I(()=>i(o)))}catch(n){this.error(n)}r(this,A)>0?p(this,l,K).call(this):this.is_pending=!1}return()=>{var n;(n=r(this,D))==null||n.remove()}},ct)),E&&a(this,g,v)}defer_effect(e){Be(e,r(this,H),r(this,V))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!r(this,T).pending}update_pending_count(e){p(this,l,le).call(this,e),a(this,k,r(this,k)+e),r(this,F)&&Ue(r(this,F),r(this,k))}get_effect_pending(){return r(this,X).call(this),be(r(this,F))}error(e){var s=r(this,T).onerror;let i=r(this,T).failed;if(r(this,C)||!s&&!i)throw e;r(this,y)&&(re(r(this,y)),a(this,y,null)),r(this,_)&&(re(r(this,_)),a(this,_,null)),r(this,w)&&(re(r(this,w)),a(this,w,null)),E&&(U(r(this,W)),We(),U(Ge()));var o=!1,n=!1;const f=()=>{if(o){Ke();return}o=!0,n&&je(),j.ensure(),a(this,k,0),r(this,w)!==null&&se(r(this,w),()=>{a(this,w,null)}),this.is_pending=this.has_pending_snippet(),a(this,y,p(this,l,z).call(this,()=>(a(this,C,!1),I(()=>r(this,M).call(this,r(this,g)))))),r(this,A)>0?p(this,l,K).call(this):this.is_pending=!1};var m=ne;try{B(null),n=!0,s==null||s(e,f),n=!1}catch(c){ye(c,r(this,b)&&r(this,b).parent)}finally{B(m)}i&&Ne(()=>{a(this,w,p(this,l,z).call(this,()=>{j.ensure(),a(this,C,!0);try{return I(()=>{i(r(this,g),()=>e,()=>f)})}catch(c){return ye(c,r(this,b).parent),null}finally{a(this,C,!1)}}))})}}g=new WeakMap,W=new WeakMap,T=new WeakMap,M=new WeakMap,b=new WeakMap,y=new WeakMap,_=new WeakMap,w=new WeakMap,S=new WeakMap,D=new WeakMap,k=new WeakMap,A=new WeakMap,C=new WeakMap,H=new WeakMap,V=new WeakMap,F=new WeakMap,X=new WeakMap,l=new WeakSet,Ae=function(){try{a(this,y,I(()=>r(this,M).call(this,r(this,g))))}catch(e){this.error(e)}},De=function(){const e=r(this,T).pending;e&&(a(this,_,I(()=>e(r(this,g)))),j.enqueue(()=>{var s=p(this,l,fe).call(this);a(this,y,p(this,l,z).call(this,()=>(j.ensure(),I(()=>r(this,M).call(this,s))))),r(this,A)>0?p(this,l,K).call(this):(se(r(this,_),()=>{a(this,_,null)}),this.is_pending=!1)}))},fe=function(){var e=r(this,g);return this.is_pending&&(a(this,D,q()),r(this,g).before(r(this,D)),e=r(this,D)),e},z=function(e){var s=L,i=ne,o=Se;Q(r(this,b)),B(r(this,b)),ge(r(this,b).ctx);try{return e()}catch(n){return He(n),null}finally{Q(s),B(i),ge(o)}},K=function(){const e=r(this,T).pending;r(this,y)!==null&&(a(this,S,document.createDocumentFragment()),r(this,S).append(r(this,D)),Ve(r(this,y),r(this,S))),r(this,_)===null&&a(this,_,I(()=>e(r(this,g))))},le=function(e){var s;if(!this.has_pending_snippet()){this.parent&&p(s=this.parent,l,le).call(s,e);return}if(a(this,A,r(this,A)+e),r(this,A)===0){this.is_pending=!1;for(const i of r(this,H))ve(i,xe),me(i);for(const i of r(this,V))ve(i,qe),me(i);r(this,H).clear(),r(this,V).clear(),r(this,_)&&se(r(this,_),()=>{a(this,_,null)}),r(this,S)&&(r(this,g).before(r(this,S)),a(this,S,null))}};const vt=["touchstart","touchmove"];function mt(t){return vt.includes(t)}const Fe=new Set,he=new Set;function Nt(t){for(var e=0;e{throw G});throw u}}finally{t.__root=e,delete t.currentTarget,B(Z),Q(N)}}}function yt(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("",""),e.content}function O(t,e){var s=L;s.nodes===null&&(s.nodes={start:t,end:e,a:null,t:null})}function Rt(t,e){var s=(e&Ze)!==0,i=(e&et)!==0,o,n=!t.startsWith("");return()=>{if(E)return O(v,null),v;o===void 0&&(o=yt(n?t:""+t),s||(o=ie(o)));var f=i||Xe?document.importNode(o,!0):o.cloneNode(!0);if(s){var m=ie(f),c=f.lastChild;O(m,c)}else O(f,f);return f}}function St(t=""){if(!E){var e=q(t+"");return O(e,e),e}var s=v;return s.nodeType!==st&&(s.before(s=q()),U(s)),O(s,s),s}function At(){if(E)return O(v,null),v;var t=document.createDocumentFragment(),e=document.createComment(""),s=q();return t.append(e,s),O(e,s),t}function Dt(t,e){if(E){var s=L;(!(s.f&tt)||s.nodes.end===null)&&(s.nodes.end=v),Re();return}t!==null&&t.before(e)}function Ft(t,e){var s=e==null?"":typeof e=="object"?e+"":e;s!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=s,t.nodeValue=s+"")}function Et(t,e){return Oe(t,e)}function Ot(t,e){ae(),e.intro=e.intro??!1;const s=e.target,i=E,o=v;try{for(var n=ie(s);n&&(n.nodeType!==de||n.data!==rt);)n=nt(n);if(!n)throw oe;J(!0),U(n);const f=Oe(t,{...e,anchor:n});return J(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
-`).some(m=>m.startsWith("https://svelte.dev/e/")))throw f;return f!==oe&&console.warn("Failed to hydrate: ",f),e.recover===!1&&it(),ae(),at(s),J(!1),Et(t,e)}finally{J(i),U(o)}}const Y=new Map;function Oe(t,{target:e,anchor:s,props:i={},events:o,context:n,intro:f=!0}){ae();var m=new Set,c=N=>{for(var u=0;u{var N=s??e.appendChild(q());return pt(N,{pending:()=>{}},u=>{if(n){lt({});var d=Se;d.c=n}if(o&&(i.$$events=o),E&&O(u,null),P=t(u,i)||{},E&&(L.nodes.end=v,v===null||v.nodeType!==de||v.data!==ht))throw ut(),oe;n&&dt()}),()=>{var R;for(var u of m){e.removeEventListener(u,$);var d=Y.get(u);--d===0?(document.removeEventListener(u,$),Y.delete(u)):Y.set(u,d)}he.delete(c),N!==s&&((R=N.parentNode)==null||R.removeChild(N))}});return ue.set(P,Z),P}let ue=new WeakMap;function It(t,e){const s=ue.get(t);return s?(ue.delete(t),s(e)):Promise.resolve()}const Tt="5";var Te;typeof window<"u"&&((Te=window.__svelte??(window.__svelte={})).v??(Te.v=new Set)).add(Tt);export{Dt as a,At as c,Nt as d,Rt as f,Ot as h,Et as m,Ft as s,St as t,It as u};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/fsu08h6h.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/fsu08h6h.js
deleted file mode 100644
index 19a7a7b..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/fsu08h6h.js
+++ /dev/null
@@ -1 +0,0 @@
-var S=Object.defineProperty;var y=a=>{throw TypeError(a)};var D=(a,e,t)=>e in a?S(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var A=(a,e,t)=>D(a,typeof e!="symbol"?e+"":e,t),E=(a,e,t)=>e.has(a)||y("Cannot "+t);var s=(a,e,t)=>(E(a,e,"read from private field"),t?t.call(a):e.get(a)),u=(a,e,t)=>e.has(a)?y("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(a):e.set(a,t),T=(a,e,t,i)=>(E(a,e,"write to private field"),i?i.call(a,t):e.set(a,t),t);import{B as w,C as N,D as k,E as x,F,G as M,H as g,I as B,J as C,K as H,L as I,M as L,N as O,O as P,P as G,Q as J,R as K,S as R}from"./CqqhLxdp.js";var d,l,c,_,v,m,b;class Q{constructor(e,t=!0){A(this,"anchor");u(this,d,new Map);u(this,l,new Map);u(this,c,new Map);u(this,_,new Set);u(this,v,!0);u(this,m,()=>{var e=w;if(s(this,d).has(e)){var t=s(this,d).get(e),i=s(this,l).get(t);if(i)N(i),s(this,_).delete(t);else{var n=s(this,c).get(t);n&&(s(this,l).set(t,n.effect),s(this,c).delete(t),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),i=n.effect)}for(const[f,r]of s(this,d)){if(s(this,d).delete(f),f===e)break;const h=s(this,c).get(r);h&&(k(h.effect),s(this,c).delete(r))}for(const[f,r]of s(this,l)){if(f===t||s(this,_).has(f))continue;const h=()=>{if(Array.from(s(this,d).values()).includes(f)){var p=document.createDocumentFragment();C(r,p),p.append(F()),s(this,c).set(f,{effect:r,fragment:p})}else k(r);s(this,_).delete(f),s(this,l).delete(f)};s(this,v)||!i?(s(this,_).add(f),x(r,h,!1)):h()}}});u(this,b,e=>{s(this,d).delete(e);const t=Array.from(s(this,d).values());for(const[i,n]of s(this,c))t.includes(i)||(k(n.effect),s(this,c).delete(i))});this.anchor=e,T(this,v,t)}ensure(e,t){var i=w,n=H();if(t&&!s(this,l).has(e)&&!s(this,c).has(e))if(n){var f=document.createDocumentFragment(),r=F();f.append(r),s(this,c).set(e,{effect:M(()=>t(r)),fragment:f})}else s(this,l).set(e,M(()=>t(this.anchor)));if(s(this,d).set(i,e),n){for(const[h,o]of s(this,l))h===e?i.skipped_effects.delete(o):i.skipped_effects.add(o);for(const[h,o]of s(this,c))h===e?i.skipped_effects.delete(o.effect):i.skipped_effects.add(o.effect);i.oncommit(s(this,m)),i.ondiscard(s(this,b))}else g&&(this.anchor=B),s(this,m).call(this)}}d=new WeakMap,l=new WeakMap,c=new WeakMap,_=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;function q(a,e,t=!1){g&&L();var i=new Q(a),n=t?O:0;function f(r,h){if(g){const p=P(a)===G;if(r===p){var o=J();K(o),i.anchor=o,R(!1),i.ensure(r,h),R(!0);return}}i.ensure(r,h)}I(()=>{var r=!1;e((h,o=!0)=>{r=!0,f(o,h)}),r||f(!1,null)},n)}export{Q as B,q as i};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/hV77cT_P.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/hV77cT_P.js
deleted file mode 100644
index ef1f2b7..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/chunks/hV77cT_P.js
+++ /dev/null
@@ -1 +0,0 @@
-import{s as c,g as l}from"./Bgo_ZO3W.js";import{b as o,d as b,n as a,m as d,g as p,e as g}from"./CqqhLxdp.js";let s=!1,i=Symbol();function m(e,u,r){const n=r[u]??(r[u]={store:null,source:d(void 0),unsubscribe:a});if(n.store!==e&&!(i in r))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=a;else{var t=!0;n.unsubscribe=c(e,f=>{t?n.source.v=f:g(n.source,f)}),t=!1}return e&&i in r?l(e):p(n.source)}function y(){const e={};function u(){o(()=>{for(var r in e)e[r].unsubscribe();b(e,i,{enumerable:!1,value:!0})})}return[e,u]}function N(e){var u=s;try{return s=!1,[e(),s]}finally{s=u}}export{m as a,N as c,y as s};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/entry/app.B9iOASPK.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/entry/app.B9iOASPK.js
deleted file mode 100644
index 98b50ce..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/entry/app.B9iOASPK.js
+++ /dev/null
@@ -1,2 +0,0 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.C7lVdKJN.js","../chunks/DZNd3jEa.js","../chunks/CqqhLxdp.js","../chunks/BtkHyJOA.js","../chunks/fsu08h6h.js","../chunks/BRRLaaPq.js","../assets/0.r7T8fV5B.css","../nodes/1.DhhPkK36.js","../chunks/974AMC2H.js","../chunks/CuIyQV9Z.js","../chunks/Bgo_ZO3W.js","../nodes/2.MK_aCw-P.js","../nodes/3.DVfrbbic.js","../chunks/hV77cT_P.js"])))=>i.map(i=>d[i]);
-var F=t=>{throw TypeError(t)};var Z=(t,e,r)=>e.has(t)||F("Cannot "+r);var h=(t,e,r)=>(Z(t,e,"read from private field"),r?r.call(t):e.get(t)),B=(t,e,r)=>e.has(t)?F("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),D=(t,e,r,i)=>(Z(t,e,"write to private field"),i?i.call(t,r):e.set(t,r),r);import{H as ee,M as te,L as re,N as ae,X as se,Y as ne,l as H,Z as ie,_ as W,$ as oe,a0 as ce,a1 as ue,g as P,w as fe,a2 as le,a3 as de,e as L,a4 as _e,a5 as me,a6 as he,a7 as ve,A as ge,a8 as Ee,a9 as Pe,aa as ye,ab as X,ac as be,d as Re,m as Se,p as Oe,j as we,k as Ae,h as j,ad as Le,f as T,s as Ie,a as Te,c as xe,r as ke,u as C,t as Be}from"../chunks/CqqhLxdp.js";import{h as De,m as je,u as Ce,f as J,a as w,c as N,t as Ne,s as Ue}from"../chunks/DZNd3jEa.js";import{o as Ye}from"../chunks/BtkHyJOA.js";import{B as qe,i as U}from"../chunks/fsu08h6h.js";import{c as Me}from"../chunks/hV77cT_P.js";function Y(t,e,r){ee&&te();var i=new qe(t);re(()=>{var n=e()??null;i.ensure(n,n&&(o=>r(o,n)))},ae)}function z(t,e){return t===e||(t==null?void 0:t[W])===e}function q(t={},e,r,i){return se(()=>{var n,o;return ne(()=>{n=o,o=[],H(()=>{t!==r(...o)&&(e(t,...o),n&&z(r(...n),t)&&e(null,...n))})}),()=>{ie(()=>{o&&z(r(...o),t)&&e(null,...o)})}}),t}function M(t,e,r,i){var b;var n=!ge||(r&Ee)!==0,o=(r&ve)!==0,s=(r&ye)!==0,a=i,l=!0,d=()=>(l&&(l=!1,a=s?H(i):i),a),_;if(o){var A=W in t||X in t;_=((b=oe(t,e))==null?void 0:b.set)??(A&&e in t?c=>t[e]=c:void 0)}var S,v=!1;o?[S,v]=Me(()=>t[e]):S=t[e],S===void 0&&i!==void 0&&(S=d(),_&&(n&&ce(),_(S)));var m;if(n?m=()=>{var c=t[e];return c===void 0?d():(l=!0,c)}:m=()=>{var c=t[e];return c!==void 0&&(a=void 0),c===void 0?a:c},n&&!(r&ue))return m;if(_){var u=t.$$legacy;return function(c,f){return arguments.length>0?((!n||!f||u||v)&&_(f?m():c),c):m()}}var y=!1,g=(r&Pe?fe:le)(()=>(y=!1,m()));o&&P(g);var O=me;return function(c,f){if(arguments.length>0){const k=f?P(g):n&&o?de(c):c;return L(g,k),y=!0,a!==void 0&&(a=k),c}return _e&&y||O.f&he?g.v:P(g)}}function Ve(t){return class extends Fe{constructor(e){super({component:t,...e})}}}var R,E;class Fe{constructor(e){B(this,R);B(this,E);var o;var r=new Map,i=(s,a)=>{var l=Se(a,!1,!1);return r.set(s,l),l};const n=new Proxy({...e.props||{},$$events:{}},{get(s,a){return P(r.get(a)??i(a,Reflect.get(s,a)))},has(s,a){return a===X?!0:(P(r.get(a)??i(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return L(r.get(a)??i(a,l),l),Reflect.set(s,a,l)}});D(this,E,(e.hydrate?De:je)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((o=e==null?void 0:e.props)!=null&&o.$$host)||e.sync===!1)&&be(),D(this,R,n.$$events);for(const s of Object.keys(h(this,E)))s==="$set"||s==="$destroy"||s==="$on"||Re(this,s,{get(){return h(this,E)[s]},set(a){h(this,E)[s]=a},enumerable:!0});h(this,E).$set=s=>{Object.assign(n,s)},h(this,E).$destroy=()=>{Ce(h(this,E))}}$set(e){h(this,E).$set(e)}$on(e,r){h(this,R)[e]=h(this,R)[e]||[];const i=(...n)=>r.call(this,...n);return h(this,R)[e].push(i),()=>{h(this,R)[e]=h(this,R)[e].filter(n=>n!==i)}}$destroy(){h(this,E).$destroy()}}R=new WeakMap,E=new WeakMap;const Ze="modulepreload",ze=function(t,e){return new URL(t,e).href},G={},x=function(e,r,i){let n=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));n=Promise.allSettled(r.map(d=>{if(d=ze(d,i),d in G)return;G[d]=!0;const _=d.endsWith(".css"),A=_?'[rel="stylesheet"]':"";if(!!i)for(let m=s.length-1;m>=0;m--){const u=s[m];if(u.href===d&&(!_||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${A}`))return;const v=document.createElement("link");if(v.rel=_?"stylesheet":Ze,_||(v.as="script"),v.crossOrigin="",v.href=d,l&&v.setAttribute("nonce",l),document.head.appendChild(v),_)return new Promise((m,u)=>{v.addEventListener("load",m),v.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return n.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return e().catch(o)})},tt={};var Ge=J(''),He=J(" ",1);function We(t,e){Oe(e,!0);let r=M(e,"components",23,()=>[]),i=M(e,"data_0",3,null),n=M(e,"data_1",3,null);we(()=>e.stores.page.set(e.page)),Ae(()=>{e.stores,e.page,e.constructors,r(),e.form,i(),n(),e.stores.page.notify()});let o=j(!1),s=j(!1),a=j(null);Ye(()=>{const u=e.stores.page.subscribe(()=>{P(o)&&(L(s,!0),Le().then(()=>{L(a,document.title||"untitled page",!0)}))});return L(o,!0),u});const l=C(()=>e.constructors[1]);var d=He(),_=T(d);{var A=u=>{const y=C(()=>e.constructors[0]);var g=N(),O=T(g);Y(O,()=>P(y),(b,c)=>{q(c(b,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(f,k)=>{var V=N(),Q=T(V);Y(Q,()=>P(l),(p,$)=>{q($(p,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),I=>r()[1]=I,()=>{var I;return(I=r())==null?void 0:I[1]})}),w(f,V)},$$slots:{default:!0}}),f=>r()[0]=f,()=>{var f;return(f=r())==null?void 0:f[0]})}),w(u,g)},S=u=>{const y=C(()=>e.constructors[0]);var g=N(),O=T(g);Y(O,()=>P(y),(b,c)=>{q(c(b,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),f=>r()[0]=f,()=>{var f;return(f=r())==null?void 0:f[0]})}),w(u,g)};U(_,u=>{e.constructors[1]?u(A):u(S,!1)})}var v=Ie(_,2);{var m=u=>{var y=Ge(),g=xe(y);{var O=b=>{var c=Ne();Be(()=>Ue(c,P(a))),w(b,c)};U(g,b=>{P(s)&&b(O)})}ke(y),w(u,y)};U(v,u=>{P(o)&&u(m)})}w(t,d),Te()}const rt=Ve(We),at=[()=>x(()=>import("../nodes/0.C7lVdKJN.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),()=>x(()=>import("../nodes/1.DhhPkK36.js"),__vite__mapDeps([7,1,2,8,9,10,3]),import.meta.url),()=>x(()=>import("../nodes/2.MK_aCw-P.js"),__vite__mapDeps([11,1,2,8,4,5]),import.meta.url),()=>x(()=>import("../nodes/3.DVfrbbic.js"),__vite__mapDeps([12,1,2,3,4,13,10,9,5]),import.meta.url)],st=[],nt={"/":[2],"/callback":[3]},K={handleError:({error:t})=>{console.error(t)},reroute:()=>{},transport:{}},Xe=Object.fromEntries(Object.entries(K.transport).map(([t,e])=>[t,e.decode])),it=Object.fromEntries(Object.entries(K.transport).map(([t,e])=>[t,e.encode])),ot=!1,ct=(t,e)=>Xe[t](e);export{ct as decode,Xe as decoders,nt as dictionary,it as encoders,ot as hash,K as hooks,tt as matchers,at as nodes,rt as root,st as server_loads};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/entry/start.JQZ0kVpy.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/entry/start.JQZ0kVpy.js
deleted file mode 100644
index b8d4625..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/entry/start.JQZ0kVpy.js
+++ /dev/null
@@ -1 +0,0 @@
-import{l as o,a as r}from"../chunks/CuIyQV9Z.js";export{o as load_css,r as start};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.C7lVdKJN.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.C7lVdKJN.js
deleted file mode 100644
index d077919..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.C7lVdKJN.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as F,f as c,a as d,s as M}from"../chunks/DZNd3jEa.js";import{o as A}from"../chunks/BtkHyJOA.js";import{L as q,N as C,F as L,T as w,H as p,U as H,V as R,W as g,S as b,R as T,I as B,p as D,a as O,c as l,s as u,r as v,f as S,t as W}from"../chunks/CqqhLxdp.js";import{B as I,i as P}from"../chunks/fsu08h6h.js";import{a as f}from"../chunks/BRRLaaPq.js";function U(i,o,...t){var r=new I(i);q(()=>{const e=o()??null;r.ensure(e,e&&(a=>e(a,...t)))},C)}function V(i,o){let t=null,r=p;var e;if(p){t=B;for(var a=H(document.head);a!==null&&(a.nodeType!==R||a.data!==i);)a=g(a);if(a===null)b(!1);else{var h=g(a);a.remove(),T(h)}}p||(e=document.head.appendChild(L()));try{q(()=>o(e),w)}finally{r&&(b(!0),T(t))}}var j=c(''),z=c(' ',1),G=c(''),J=c('
');function $(i,o){D(o,!0),A(()=>{f.hydrate()});var t=J();V("12qhfyh",s=>{var n=j();d(s,n)});var r=l(t),e=l(r),a=u(l(e),2);{var h=s=>{var n=z(),m=S(n),k=l(m);v(m);var x=u(m,2);x.__click=()=>f.logout(),W(()=>{var y;return M(k,`Welcome, ${((y=f.user)==null?void 0:y.displayName)??""}`)}),d(s,n)},E=s=>{var n=G();n.__click=()=>f.redirectToLogin(),d(s,n)};P(a,s=>{f.isAuthenticated?s(h):s(E,!1)})}v(e),v(r);var _=u(r,2),N=l(_);U(N,()=>o.children),v(_),v(t),d(i,t),O()}F(["click"]);export{$ as component};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/1.DhhPkK36.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/1.DhhPkK36.js
deleted file mode 100644
index 03a5861..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/1.DhhPkK36.js
+++ /dev/null
@@ -1 +0,0 @@
-import{f as h,a as g,s as e}from"../chunks/DZNd3jEa.js";import{i as l}from"../chunks/974AMC2H.js";import{p as v,f as d,t as _,a as x,c as o,r as p,s as $}from"../chunks/CqqhLxdp.js";import{s as k,p as m}from"../chunks/CuIyQV9Z.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const f=b;var E=h("
",1);function z(i,c){v(c,!1),l();var t=E(),r=d(t),n=o(r,!0);p(r);var s=$(r,2),u=o(s,!0);p(s),_(()=>{var a;e(n,f.status),e(u,(a=f.error)==null?void 0:a.message)}),g(i,t),x()}export{z as component};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.MK_aCw-P.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.MK_aCw-P.js
deleted file mode 100644
index f0106d8..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.MK_aCw-P.js
+++ /dev/null
@@ -1 +0,0 @@
-import{d as E,f as m,a as o,c as N,s as _}from"../chunks/DZNd3jEa.js";import{i as P}from"../chunks/974AMC2H.js";import{p as S,s as n,f as p,a as W,c as g,r as d,t as j}from"../chunks/CqqhLxdp.js";import{i as u}from"../chunks/fsu08h6h.js";import{a as i}from"../chunks/BRRLaaPq.js";var q=m("
Loading...
"),z=m("
",1),B=m("
Please log in to continue.
",1),C=m("
Mode Template
",1);function J(h,b){S(b,!1),P();var f=C(),x=n(p(f),2);{var k=a=>{var s=q();o(a,s)},L=a=>{var s=N(),M=p(s);{var T=t=>{var r=z(),e=p(r),y=g(e);d(e);var l=n(e,2),A=g(l);d(l),j(()=>{var v,c;_(y,`Welcome, ${((v=i.user)==null?void 0:v.displayName)??""}!`),_(A,`Email: ${((c=i.user)==null?void 0:c.email)??""}`)}),o(t,r)},w=t=>{var r=B(),e=n(p(r),2);e.__click=()=>i.redirectToLogin(),o(t,r)};u(M,t=>{i.isAuthenticated?t(T):t(w,!1)},!0)}o(a,s)};u(x,a=>{i.loading?a(k):a(L,!1)})}o(h,f),W()}E(["click"]);export{J as component};
diff --git a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.DVfrbbic.js b/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.DVfrbbic.js
deleted file mode 100644
index 86e2f55..0000000
--- a/ModeTemplate/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.DVfrbbic.js
+++ /dev/null
@@ -1 +0,0 @@
-import{f as p,a as n,s as y}from"../chunks/DZNd3jEa.js";import{o as $}from"../chunks/BtkHyJOA.js";import{p as k,s as x,f as g,a as M,e as l,h as N,g as u,c as P,r as w,y as A,t as I}from"../chunks/CqqhLxdp.js";import{i as R}from"../chunks/fsu08h6h.js";import{s as S,a as T}from"../chunks/hV77cT_P.js";import{s as j,g as q}from"../chunks/CuIyQV9Z.js";import{a as z}from"../chunks/BRRLaaPq.js";const B=()=>{const e=j;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},C={subscribe(e){return B().page.subscribe(e)}};var D=p('