diff --git a/404.html b/404.html
index 642e7eb..3da6719 100644
--- a/404.html
+++ b/404.html
@@ -12,7 +12,7 @@
/>
-
+
diff --git a/assets/index-BYfHqvhb.js b/assets/index-DCCErmir.js
similarity index 99%
rename from assets/index-BYfHqvhb.js
rename to assets/index-DCCErmir.js
index b2d4295..70365d8 100644
--- a/assets/index-BYfHqvhb.js
+++ b/assets/index-DCCErmir.js
@@ -195,7 +195,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var $a=h;function oL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var iL=typeof Object.is=="function"?Object.is:oL,aL=$a.useState,sL=$a.useEffect,lL=$a.useLayoutEffect,cL=$a.useDebugValue;function uL(e,t){var n=t(),r=aL({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return lL(function(){o.value=n,o.getSnapshot=t,Tf(o)&&i({inst:o})},[e,n,t]),sL(function(){return Tf(o)&&i({inst:o}),e(function(){Tf(o)&&i({inst:o})})},[e]),cL(n),n}function Tf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!iL(e,n)}catch{return!0}}function dL(e,t){return t()}var fL=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?dL:uL;kw.useSyncExternalStore=$a.useSyncExternalStore!==void 0?$a.useSyncExternalStore:fL;Cw.exports=kw;var Pw=Cw.exports;const Co=()=>{},It=Co(),da=Object,De=e=>e===It,Dn=e=>typeof e=="function",An=(e,t)=>({...e,...t}),pL=e=>Dn(e.then),Sc=new WeakMap;let hL=0;const bl=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(da(e)===e&&!r&&n!=RegExp){if(o=Sc.get(e),o)return o;if(o=++hL+"~",Sc.set(e,o),n==Array){for(o="@",i=0;i$d&&typeof window.requestAnimationFrame!=Fm,Bm=(e,t)=>{const n=Or.get(e);return[()=>!De(t)&&e.get(t)||Df,r=>{if(!De(t)){const o=e.get(t);t in bc||(bc[t]=o),n[5](t,An(o,r),o||Df)}},n[6],()=>!De(t)&&t in bc?bc[t]:!De(t)&&e.get(t)||Df]};let Xp=!0;const gL=()=>Xp,[qp,Zp]=$d&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Co,Co],yL=()=>{const e=Qp&&document.visibilityState;return De(e)||e!=="hidden"},vL=e=>(Qp&&document.addEventListener("visibilitychange",e),qp("focus",e),()=>{Qp&&document.removeEventListener("visibilitychange",e),Zp("focus",e)}),xL=e=>{const t=()=>{Xp=!0,e()},n=()=>{Xp=!1};return qp("online",t),qp("offline",n),()=>{Zp("online",t),Zp("offline",n)}},SL={isOnline:gL,isVisible:yL},bL={initFocus:vL,initReconnect:xL},wl=!Bt.useId,vi=!$d||"Deno"in window,Ew=e=>mL()?window.requestAnimationFrame(e):setTimeout(e,1),Zr=vi?h.useEffect:h.useLayoutEffect,If=typeof navigator<"u"&&navigator.connection,Vv=!vi&&If&&(["slow-2g","2g"].includes(If.effectiveType)||If.saveData),_l=e=>{if(Dn(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?bl(e):"",[e,t]};let wL=0;const Aa=()=>++wL,Mw=0,Rw=1,Tw=2,CL=3;var $r={__proto__:null,ERROR_REVALIDATE_EVENT:CL,FOCUS_EVENT:Mw,MUTATE_EVENT:Tw,RECONNECT_EVENT:Rw};async function _m(...e){const[t,n,r,o]=e,i=An({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const c=f=>typeof s=="function"?s(f):s!==!1,u=i.throwOnError;if(Dn(n)){const f=n,g=[],y=t.keys();for(const x of y)!/^\$(inf|sub)\$/.test(x)&&f(t.get(x)._k)&&g.push(x);return Promise.all(g.map(d))}return d(n);async function d(f){const[g]=_l(f);if(!g)return;const[y,x]=Bm(t,g),[C,p,m,v]=Or.get(t),S=()=>{const j=C[g];return(Dn(i.revalidate)?i.revalidate(y().data,f):i.revalidate!==!1)&&(delete m[g],delete v[g],j&&j[0])?j[0](Tw).then(()=>y().data):y().data};if(e.length<3)return S();let P=r,k;const M=Aa();p[g]=[M,0];const E=!De(l),$=y(),b=$.data,R=$._c,A=De(R)?b:R;if(E&&(l=Dn(l)?l(A,b):l,x({data:l,_c:A})),Dn(P))try{P=P(A)}catch(j){k=j}if(P&&pL(P))if(P=await P.catch(j=>{k=j}),M!==p[g][0]){if(k)throw k;return P}else k&&E&&c(k)&&(a=!0,x({data:A,_c:It}));if(a&&!k)if(Dn(a)){const j=a(P,A);x({data:j,error:It,_c:It})}else x({data:P,error:It,_c:It});if(p[g][1]=Aa(),Promise.resolve(S()).then(()=>{x({_c:It})}),k){if(u)throw k;return}return P}}const Wv=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Dw=(e,t)=>{if(!Or.has(e)){const n=An(bL,t),r={},o=_m.bind(It,e);let i=Co;const a={},s=(u,d)=>{const f=a[u]||[];return a[u]=f,f.push(d),()=>f.splice(f.indexOf(d),1)},l=(u,d,f)=>{e.set(u,d);const g=a[u];if(g)for(const y of g)y(d,f)},c=()=>{if(!Or.has(e)&&(Or.set(e,[r,{},{},{},o,l,s]),!vi)){const u=n.initFocus(setTimeout.bind(It,Wv.bind(It,r,Mw))),d=n.initReconnect(setTimeout.bind(It,Wv.bind(It,r,Rw)));i=()=>{u&&u(),d&&d(),Or.delete(e)}}};return c(),[e,o,c,i]}return[e,Or.get(e)[4]]},kL=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!De(i)&&a>i||setTimeout(r,s,o)},PL=(e,t)=>bl(e)==bl(t),[zm,Iw]=Dw(new Map),Ad=An({onLoadingSlow:Co,onSuccess:Co,onError:Co,onErrorRetry:kL,onDiscarded:Co,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Vv?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Vv?5e3:3e3,compare:PL,isPaused:()=>!1,cache:zm,mutate:Iw,fallback:{}},SL),Ow=(e,t)=>{const n=An(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=An(o,a))}return n},Jp=h.createContext({}),Vm=e=>{const{value:t}=e,n=h.useContext(Jp),r=Dn(t),o=h.useMemo(()=>r?t(n):t,[r,n,t]),i=h.useMemo(()=>r?o:Ow(n,o),[r,n,o]),a=o&&o.provider,s=h.useRef(It);a&&!s.current&&(s.current=Dw(a(i.cache||zm),o));const l=s.current;return l&&(i.cache=l[0],i.mutate=l[1]),Zr(()=>{if(l)return l[2]&&l[2](),l[3]},[]),h.createElement(Jp.Provider,An(e,{value:i}))},EL="$inf$",$w=$d&&window.__SWR_DEVTOOLS_USE__,ML=$w?window.__SWR_DEVTOOLS_USE__:[],RL=()=>{$w&&(window.__SWR_DEVTOOLS_REACT__=Bt)},Aw=e=>Dn(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Lw=()=>An(Ad,h.useContext(Jp)),DL=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=_l(t),[,,,s]=Or.get(zm);if(a.startsWith(EL))return n(...i);const l=s[a];return De(l)?n(...i):(delete s[a],l)}),r),IL=ML.concat(DL),jw=e=>function(...n){const r=Lw(),[o,i,a]=Aw(n),s=Ow(r,a);let l=e;const{use:c}=s,u=(c||[]).concat(IL);for(let d=u.length;d--;)l=u[d](l);return l(o,i||s.fetcher||null,s)},Nw=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}},OL=(e,t)=>(...n)=>{const[r,o,i]=Aw(n),a=(i.use||[]).concat(t);return e(r,o,{...i,use:a})};RL();const Uv=Bt.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Of={dedupe:!0},$L=(e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:c,refreshWhenHidden:u,refreshWhenOffline:d,keepPreviousData:f}=n,[g,y,x,C]=Or.get(r),[p,m]=_l(e),v=h.useRef(!1),S=h.useRef(!1),P=h.useRef(p),k=h.useRef(t),M=h.useRef(n),E=()=>M.current,$=()=>E().isVisible()&&E().isOnline(),[b,R,A,j]=Bm(r,p),O=h.useRef({}).current,I=De(a)?n.fallback[p]:a,T=(W,F)=>{for(const Y in O){const G=Y;if(G==="data"){if(!o(W[G],F[G])&&(!De(W[G])||!o(H,F[G])))return!1}else if(F[G]!==W[G])return!1}return!0},N=h.useMemo(()=>{const W=!p||!t?!1:De(s)?E().isPaused()||i?!1:De(l)?!0:l:s,F=fe=>{const ge=An(fe);return delete ge._k,W?{isValidating:!0,isLoading:!0,...ge}:ge},Y=b(),G=j(),te=F(Y),ue=Y===G?te:F(G);let Z=te;return[()=>{const fe=F(b());return T(fe,Z)?(Z.data=fe.data,Z.isLoading=fe.isLoading,Z.isValidating=fe.isValidating,Z.error=fe.error,Z):(Z=fe,fe)},()=>ue]},[r,p]),D=Pw.useSyncExternalStore(h.useCallback(W=>A(p,(F,Y)=>{T(Y,F)||W()}),[r,p]),N[0],N[1]),L=!v.current,z=g[p]&&g[p].length>0,V=D.data,J=De(V)?I:V,ce=D.error,se=h.useRef(J),H=f?De(V)?se.current:V:J,ae=z&&!De(ce)?!1:L&&!De(s)?s:E().isPaused()?!1:i?De(J)?!1:l:De(J)||l,ie=!!(p&&t&&L&&ae),ee=De(D.isValidating)?ie:D.isValidating,X=De(D.isLoading)?ie:D.isLoading,ne=h.useCallback(async W=>{const F=k.current;if(!p||!F||S.current||E().isPaused())return!1;let Y,G,te=!0;const ue=W||{},Z=!x[p]||!ue.dedupe,fe=()=>wl?!S.current&&p===P.current&&v.current:p===P.current,ge={isValidating:!1,isLoading:!1},Le=()=>{R(ge)},xe=()=>{const Ee=x[p];Ee&&Ee[1]===G&&delete x[p]},tt={isValidating:!0};De(b().data)&&(tt.isLoading=!0);try{if(Z&&(R(tt),n.loadingTimeout&&De(b().data)&&setTimeout(()=>{te&&fe()&&E().onLoadingSlow(p,n)},n.loadingTimeout),x[p]=[F(m),Aa()]),[Y,G]=x[p],Y=await Y,Z&&setTimeout(xe,n.dedupingInterval),!x[p]||x[p][1]!==G)return Z&&fe()&&E().onDiscarded(p),!1;ge.error=It;const Ee=y[p];if(!De(Ee)&&(G<=Ee[0]||G<=Ee[1]||Ee[1]===0))return Le(),Z&&fe()&&E().onDiscarded(p),!1;const _e=b().data;ge.data=o(_e,Y)?_e:Y,Z&&fe()&&E().onSuccess(Y,p,n)}catch(Ee){xe();const _e=E(),{shouldRetryOnError:ct}=_e;_e.isPaused()||(ge.error=Ee,Z&&fe()&&(_e.onError(Ee,p,_e),(ct===!0||Dn(ct)&&ct(Ee))&&(!E().revalidateOnFocus||!E().revalidateOnReconnect||$())&&_e.onErrorRetry(Ee,p,_e,je=>{const Oe=g[p];Oe&&Oe[0]&&Oe[0]($r.ERROR_REVALIDATE_EVENT,je)},{retryCount:(ue.retryCount||0)+1,dedupe:!0})))}return te=!1,Le(),!0},[p,r]),oe=h.useCallback((...W)=>_m(r,P.current,...W),[]);if(Zr(()=>{k.current=t,M.current=n,De(V)||(se.current=V)}),Zr(()=>{if(!p)return;const W=ne.bind(It,Of);let F=0;const G=Nw(p,g,(te,ue={})=>{if(te==$r.FOCUS_EVENT){const Z=Date.now();E().revalidateOnFocus&&Z>F&&$()&&(F=Z+E().focusThrottleInterval,W())}else if(te==$r.RECONNECT_EVENT)E().revalidateOnReconnect&&$()&&W();else{if(te==$r.MUTATE_EVENT)return ne();if(te==$r.ERROR_REVALIDATE_EVENT)return ne(ue)}});return S.current=!1,P.current=p,v.current=!0,R({_k:m}),ae&&(De(J)||vi?W():Ew(W)),()=>{S.current=!0,G()}},[p]),Zr(()=>{let W;function F(){const G=Dn(c)?c(b().data):c;G&&W!==-1&&(W=setTimeout(Y,G))}function Y(){!b().error&&(u||E().isVisible())&&(d||E().isOnline())?ne(Of).then(F):F()}return F(),()=>{W&&(clearTimeout(W),W=-1)}},[c,u,d,p]),h.useDebugValue(H),i&&De(J)&&p){if(!wl&&vi)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,M.current=n,S.current=!1;const W=C[p];if(!De(W)){const F=oe(W);Uv(F)}if(De(ce)){const F=ne(Of);De(H)||(F.status="fulfilled",F.value=!0),Uv(F)}else throw ce}return{mutate:oe,get data(){return O.data=!0,H},get error(){return O.error=!0,ce},get isValidating(){return O.isValidating=!0,ee},get isLoading(){return O.isLoading=!0,X}}},AL=da.defineProperty(Vm,"defaultValue",{value:Ad}),_r=jw($L),Ya="";console.log(Ya,"123");const LL=async e=>{const t=await fetch(Ya+e,{credentials:"include"});if(!t.ok){const n=new Error("An error occurred while fetching the data.");throw n.info=await t.json(),n.status=t.status,n}return t.json()},zr=e=>async t=>{const n=await fetch(Ya+t,{headers:{Authorization:`Token ${e}`},credentials:"include"});if(!n.ok){const r=new Error("An error occurred while fetching the data.");throw r.info=await n.json(),r.status=n.status,r}return n.json()},Fw=async(e,{arg:t})=>{const n=await fetch(Ya+e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"},credentials:"include"});if(!n.ok){const r=new Error("An error occurred while fetching the data.");throw r.info=await n.json(),r.status=n.status,r}return n.json()},Wm=e=>async(t,{arg:n})=>{const r=await fetch(Ya+t,{method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json",Authorization:`Token ${e}`},credentials:"include"});if(!r.ok){const o=new Error("An error occurred while fetching the data.");throw o.info=await r.json(),o.status=r.status,o}return r.json()},jL=e=>async(t,{arg:n})=>{const r=await fetch(Ya+t,{method:"POST",body:n,headers:{Authorization:`Token ${e}`},credentials:"include"});if(!r.ok){const o=new Error("An error occurred while fetching the data.");throw o.info=await r.json(),o.status=r.status,o}return r.json()};Bt.use;da.defineProperty(Vm,"defaultValue",{value:Ad});const Ld=()=>{const{token:e}=h.useContext(wn),{data:t,error:n,isLoading:r,mutate:o}=_r(e?"/auth/users/me":null,zr(e),{shouldRetryOnError:!1,revalidateOnFocus:!1});return{user:t,error:n,isLoading:r}};function NL(){h.useState(0);const{user:e}=Ld();return h.useContext(wn),w.jsx(Pi,{justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center",paddingX:4,paddingTop:12,children:w.jsxs(Ye,{variant:"h1",children:["Welcome, ",e.username]})})}/**
+ */var $a=h;function oL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var iL=typeof Object.is=="function"?Object.is:oL,aL=$a.useState,sL=$a.useEffect,lL=$a.useLayoutEffect,cL=$a.useDebugValue;function uL(e,t){var n=t(),r=aL({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return lL(function(){o.value=n,o.getSnapshot=t,Tf(o)&&i({inst:o})},[e,n,t]),sL(function(){return Tf(o)&&i({inst:o}),e(function(){Tf(o)&&i({inst:o})})},[e]),cL(n),n}function Tf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!iL(e,n)}catch{return!0}}function dL(e,t){return t()}var fL=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?dL:uL;kw.useSyncExternalStore=$a.useSyncExternalStore!==void 0?$a.useSyncExternalStore:fL;Cw.exports=kw;var Pw=Cw.exports;const Co=()=>{},It=Co(),da=Object,De=e=>e===It,Dn=e=>typeof e=="function",An=(e,t)=>({...e,...t}),pL=e=>Dn(e.then),Sc=new WeakMap;let hL=0;const bl=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(da(e)===e&&!r&&n!=RegExp){if(o=Sc.get(e),o)return o;if(o=++hL+"~",Sc.set(e,o),n==Array){for(o="@",i=0;i$d&&typeof window.requestAnimationFrame!=Fm,Bm=(e,t)=>{const n=Or.get(e);return[()=>!De(t)&&e.get(t)||Df,r=>{if(!De(t)){const o=e.get(t);t in bc||(bc[t]=o),n[5](t,An(o,r),o||Df)}},n[6],()=>!De(t)&&t in bc?bc[t]:!De(t)&&e.get(t)||Df]};let Xp=!0;const gL=()=>Xp,[qp,Zp]=$d&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Co,Co],yL=()=>{const e=Qp&&document.visibilityState;return De(e)||e!=="hidden"},vL=e=>(Qp&&document.addEventListener("visibilitychange",e),qp("focus",e),()=>{Qp&&document.removeEventListener("visibilitychange",e),Zp("focus",e)}),xL=e=>{const t=()=>{Xp=!0,e()},n=()=>{Xp=!1};return qp("online",t),qp("offline",n),()=>{Zp("online",t),Zp("offline",n)}},SL={isOnline:gL,isVisible:yL},bL={initFocus:vL,initReconnect:xL},wl=!Bt.useId,vi=!$d||"Deno"in window,Ew=e=>mL()?window.requestAnimationFrame(e):setTimeout(e,1),Zr=vi?h.useEffect:h.useLayoutEffect,If=typeof navigator<"u"&&navigator.connection,Vv=!vi&&If&&(["slow-2g","2g"].includes(If.effectiveType)||If.saveData),_l=e=>{if(Dn(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?bl(e):"",[e,t]};let wL=0;const Aa=()=>++wL,Mw=0,Rw=1,Tw=2,CL=3;var $r={__proto__:null,ERROR_REVALIDATE_EVENT:CL,FOCUS_EVENT:Mw,MUTATE_EVENT:Tw,RECONNECT_EVENT:Rw};async function _m(...e){const[t,n,r,o]=e,i=An({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const c=f=>typeof s=="function"?s(f):s!==!1,u=i.throwOnError;if(Dn(n)){const f=n,g=[],y=t.keys();for(const x of y)!/^\$(inf|sub)\$/.test(x)&&f(t.get(x)._k)&&g.push(x);return Promise.all(g.map(d))}return d(n);async function d(f){const[g]=_l(f);if(!g)return;const[y,x]=Bm(t,g),[C,p,m,v]=Or.get(t),S=()=>{const j=C[g];return(Dn(i.revalidate)?i.revalidate(y().data,f):i.revalidate!==!1)&&(delete m[g],delete v[g],j&&j[0])?j[0](Tw).then(()=>y().data):y().data};if(e.length<3)return S();let P=r,k;const M=Aa();p[g]=[M,0];const E=!De(l),$=y(),b=$.data,R=$._c,A=De(R)?b:R;if(E&&(l=Dn(l)?l(A,b):l,x({data:l,_c:A})),Dn(P))try{P=P(A)}catch(j){k=j}if(P&&pL(P))if(P=await P.catch(j=>{k=j}),M!==p[g][0]){if(k)throw k;return P}else k&&E&&c(k)&&(a=!0,x({data:A,_c:It}));if(a&&!k)if(Dn(a)){const j=a(P,A);x({data:j,error:It,_c:It})}else x({data:P,error:It,_c:It});if(p[g][1]=Aa(),Promise.resolve(S()).then(()=>{x({_c:It})}),k){if(u)throw k;return}return P}}const Wv=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Dw=(e,t)=>{if(!Or.has(e)){const n=An(bL,t),r={},o=_m.bind(It,e);let i=Co;const a={},s=(u,d)=>{const f=a[u]||[];return a[u]=f,f.push(d),()=>f.splice(f.indexOf(d),1)},l=(u,d,f)=>{e.set(u,d);const g=a[u];if(g)for(const y of g)y(d,f)},c=()=>{if(!Or.has(e)&&(Or.set(e,[r,{},{},{},o,l,s]),!vi)){const u=n.initFocus(setTimeout.bind(It,Wv.bind(It,r,Mw))),d=n.initReconnect(setTimeout.bind(It,Wv.bind(It,r,Rw)));i=()=>{u&&u(),d&&d(),Or.delete(e)}}};return c(),[e,o,c,i]}return[e,Or.get(e)[4]]},kL=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!De(i)&&a>i||setTimeout(r,s,o)},PL=(e,t)=>bl(e)==bl(t),[zm,Iw]=Dw(new Map),Ad=An({onLoadingSlow:Co,onSuccess:Co,onError:Co,onErrorRetry:kL,onDiscarded:Co,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Vv?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Vv?5e3:3e3,compare:PL,isPaused:()=>!1,cache:zm,mutate:Iw,fallback:{}},SL),Ow=(e,t)=>{const n=An(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=An(o,a))}return n},Jp=h.createContext({}),Vm=e=>{const{value:t}=e,n=h.useContext(Jp),r=Dn(t),o=h.useMemo(()=>r?t(n):t,[r,n,t]),i=h.useMemo(()=>r?o:Ow(n,o),[r,n,o]),a=o&&o.provider,s=h.useRef(It);a&&!s.current&&(s.current=Dw(a(i.cache||zm),o));const l=s.current;return l&&(i.cache=l[0],i.mutate=l[1]),Zr(()=>{if(l)return l[2]&&l[2](),l[3]},[]),h.createElement(Jp.Provider,An(e,{value:i}))},EL="$inf$",$w=$d&&window.__SWR_DEVTOOLS_USE__,ML=$w?window.__SWR_DEVTOOLS_USE__:[],RL=()=>{$w&&(window.__SWR_DEVTOOLS_REACT__=Bt)},Aw=e=>Dn(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Lw=()=>An(Ad,h.useContext(Jp)),DL=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=_l(t),[,,,s]=Or.get(zm);if(a.startsWith(EL))return n(...i);const l=s[a];return De(l)?n(...i):(delete s[a],l)}),r),IL=ML.concat(DL),jw=e=>function(...n){const r=Lw(),[o,i,a]=Aw(n),s=Ow(r,a);let l=e;const{use:c}=s,u=(c||[]).concat(IL);for(let d=u.length;d--;)l=u[d](l);return l(o,i||s.fetcher||null,s)},Nw=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}},OL=(e,t)=>(...n)=>{const[r,o,i]=Aw(n),a=(i.use||[]).concat(t);return e(r,o,{...i,use:a})};RL();const Uv=Bt.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Of={dedupe:!0},$L=(e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:c,refreshWhenHidden:u,refreshWhenOffline:d,keepPreviousData:f}=n,[g,y,x,C]=Or.get(r),[p,m]=_l(e),v=h.useRef(!1),S=h.useRef(!1),P=h.useRef(p),k=h.useRef(t),M=h.useRef(n),E=()=>M.current,$=()=>E().isVisible()&&E().isOnline(),[b,R,A,j]=Bm(r,p),O=h.useRef({}).current,I=De(a)?n.fallback[p]:a,T=(W,F)=>{for(const Y in O){const G=Y;if(G==="data"){if(!o(W[G],F[G])&&(!De(W[G])||!o(H,F[G])))return!1}else if(F[G]!==W[G])return!1}return!0},N=h.useMemo(()=>{const W=!p||!t?!1:De(s)?E().isPaused()||i?!1:De(l)?!0:l:s,F=fe=>{const ge=An(fe);return delete ge._k,W?{isValidating:!0,isLoading:!0,...ge}:ge},Y=b(),G=j(),te=F(Y),ue=Y===G?te:F(G);let Z=te;return[()=>{const fe=F(b());return T(fe,Z)?(Z.data=fe.data,Z.isLoading=fe.isLoading,Z.isValidating=fe.isValidating,Z.error=fe.error,Z):(Z=fe,fe)},()=>ue]},[r,p]),D=Pw.useSyncExternalStore(h.useCallback(W=>A(p,(F,Y)=>{T(Y,F)||W()}),[r,p]),N[0],N[1]),L=!v.current,z=g[p]&&g[p].length>0,V=D.data,J=De(V)?I:V,ce=D.error,se=h.useRef(J),H=f?De(V)?se.current:V:J,ae=z&&!De(ce)?!1:L&&!De(s)?s:E().isPaused()?!1:i?De(J)?!1:l:De(J)||l,ie=!!(p&&t&&L&&ae),ee=De(D.isValidating)?ie:D.isValidating,X=De(D.isLoading)?ie:D.isLoading,ne=h.useCallback(async W=>{const F=k.current;if(!p||!F||S.current||E().isPaused())return!1;let Y,G,te=!0;const ue=W||{},Z=!x[p]||!ue.dedupe,fe=()=>wl?!S.current&&p===P.current&&v.current:p===P.current,ge={isValidating:!1,isLoading:!1},Le=()=>{R(ge)},xe=()=>{const Ee=x[p];Ee&&Ee[1]===G&&delete x[p]},tt={isValidating:!0};De(b().data)&&(tt.isLoading=!0);try{if(Z&&(R(tt),n.loadingTimeout&&De(b().data)&&setTimeout(()=>{te&&fe()&&E().onLoadingSlow(p,n)},n.loadingTimeout),x[p]=[F(m),Aa()]),[Y,G]=x[p],Y=await Y,Z&&setTimeout(xe,n.dedupingInterval),!x[p]||x[p][1]!==G)return Z&&fe()&&E().onDiscarded(p),!1;ge.error=It;const Ee=y[p];if(!De(Ee)&&(G<=Ee[0]||G<=Ee[1]||Ee[1]===0))return Le(),Z&&fe()&&E().onDiscarded(p),!1;const _e=b().data;ge.data=o(_e,Y)?_e:Y,Z&&fe()&&E().onSuccess(Y,p,n)}catch(Ee){xe();const _e=E(),{shouldRetryOnError:ct}=_e;_e.isPaused()||(ge.error=Ee,Z&&fe()&&(_e.onError(Ee,p,_e),(ct===!0||Dn(ct)&&ct(Ee))&&(!E().revalidateOnFocus||!E().revalidateOnReconnect||$())&&_e.onErrorRetry(Ee,p,_e,je=>{const Oe=g[p];Oe&&Oe[0]&&Oe[0]($r.ERROR_REVALIDATE_EVENT,je)},{retryCount:(ue.retryCount||0)+1,dedupe:!0})))}return te=!1,Le(),!0},[p,r]),oe=h.useCallback((...W)=>_m(r,P.current,...W),[]);if(Zr(()=>{k.current=t,M.current=n,De(V)||(se.current=V)}),Zr(()=>{if(!p)return;const W=ne.bind(It,Of);let F=0;const G=Nw(p,g,(te,ue={})=>{if(te==$r.FOCUS_EVENT){const Z=Date.now();E().revalidateOnFocus&&Z>F&&$()&&(F=Z+E().focusThrottleInterval,W())}else if(te==$r.RECONNECT_EVENT)E().revalidateOnReconnect&&$()&&W();else{if(te==$r.MUTATE_EVENT)return ne();if(te==$r.ERROR_REVALIDATE_EVENT)return ne(ue)}});return S.current=!1,P.current=p,v.current=!0,R({_k:m}),ae&&(De(J)||vi?W():Ew(W)),()=>{S.current=!0,G()}},[p]),Zr(()=>{let W;function F(){const G=Dn(c)?c(b().data):c;G&&W!==-1&&(W=setTimeout(Y,G))}function Y(){!b().error&&(u||E().isVisible())&&(d||E().isOnline())?ne(Of).then(F):F()}return F(),()=>{W&&(clearTimeout(W),W=-1)}},[c,u,d,p]),h.useDebugValue(H),i&&De(J)&&p){if(!wl&&vi)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,M.current=n,S.current=!1;const W=C[p];if(!De(W)){const F=oe(W);Uv(F)}if(De(ce)){const F=ne(Of);De(H)||(F.status="fulfilled",F.value=!0),Uv(F)}else throw ce}return{mutate:oe,get data(){return O.data=!0,H},get error(){return O.error=!0,ce},get isValidating(){return O.isValidating=!0,ee},get isLoading(){return O.isLoading=!0,X}}},AL=da.defineProperty(Vm,"defaultValue",{value:Ad}),_r=jw($L),Ya="https://timetrekah.goodflame.ru";console.log(Ya,"1235");const LL=async e=>{const t=await fetch(Ya+e,{credentials:"include"});if(!t.ok){const n=new Error("An error occurred while fetching the data.");throw n.info=await t.json(),n.status=t.status,n}return t.json()},zr=e=>async t=>{const n=await fetch(Ya+t,{headers:{Authorization:`Token ${e}`},credentials:"include"});if(!n.ok){const r=new Error("An error occurred while fetching the data.");throw r.info=await n.json(),r.status=n.status,r}return n.json()},Fw=async(e,{arg:t})=>{const n=await fetch(Ya+e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"},credentials:"include"});if(!n.ok){const r=new Error("An error occurred while fetching the data.");throw r.info=await n.json(),r.status=n.status,r}return n.json()},Wm=e=>async(t,{arg:n})=>{const r=await fetch(Ya+t,{method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json",Authorization:`Token ${e}`},credentials:"include"});if(!r.ok){const o=new Error("An error occurred while fetching the data.");throw o.info=await r.json(),o.status=r.status,o}return r.json()},jL=e=>async(t,{arg:n})=>{const r=await fetch(Ya+t,{method:"POST",body:n,headers:{Authorization:`Token ${e}`},credentials:"include"});if(!r.ok){const o=new Error("An error occurred while fetching the data.");throw o.info=await r.json(),o.status=r.status,o}return r.json()};Bt.use;da.defineProperty(Vm,"defaultValue",{value:Ad});const Ld=()=>{const{token:e}=h.useContext(wn),{data:t,error:n,isLoading:r,mutate:o}=_r(e?"/auth/users/me":null,zr(e),{shouldRetryOnError:!1,revalidateOnFocus:!1});return{user:t,error:n,isLoading:r}};function NL(){h.useState(0);const{user:e}=Ld();return h.useContext(wn),w.jsx(Pi,{justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center",paddingX:4,paddingTop:12,children:w.jsxs(Ye,{variant:"h1",children:["Welcome, ",e.username]})})}/**
* @remix-run/router v1.20.0
*
* Copyright (c) Remix Software Inc.
diff --git a/index.html b/index.html
index 642e7eb..3da6719 100644
--- a/index.html
+++ b/index.html
@@ -12,7 +12,7 @@
/>
-
+