module.exports=[72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.ServerInsertedHtml},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},53250,a=>{"use strict";let b="http://localhost:3000";async function c(a,d={}){let e=`${b}${a}`,f=await fetch(e,{...d,headers:{"Content-Type":"application/json",...d.headers}}),g=await f.json();if(!f.ok)throw Error(g.error||"Request failed");return g}async function d(c,e={},f){let{getToken:g,removeToken:h}=await a.A(66308),i=g();if(!i)throw f&&f(),Error("Authentication required");let j=`${b}${c}`,k=await fetch(j,{...e,headers:{"Content-Type":"application/json",Authorization:`Bearer ${i}`,...e.headers}}),l=await k.json();if(401===k.status)throw h(),f&&f(),Error(l.error||"Authentication failed");if(!k.ok)throw Error(l.error||"Request failed");return l}a.s(["apiRequest",()=>c,"authenticatedRequest",()=>d])},47033,a=>{"use strict";var b=a.i(53250);function c(){return null}function d(a){}function e(){}function f(){return null!==c()}async function g(a){let c=await (0,b.apiRequest)("/auth/login",{method:"POST",body:JSON.stringify(a)});return d(c.token),c}function h(){e()}a.s(["getToken",()=>c,"isAuthenticated",()=>f,"login",()=>g,"logout",()=>h,"removeToken",()=>e,"setToken",()=>d])},66308,a=>{a.v(a=>Promise.resolve().then(()=>a(47033)))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__1ef4e102._.js.map