module.exports=[193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},950640,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},110585,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},68611,a=>{"use strict";let b={src:a.i(110585).default,width:256,height:256};a.s(["default",0,b])},155355,a=>{a.v("/_next/static/media/icon.0o9sx7edqp2fk.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},508175,a=>{"use strict";let b={src:a.i(155355).default,width:32,height:32};a.s(["default",0,b])},120136,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/(dashboard)/dashboard/plan/PlanClient.jsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(dashboard)/dashboard/plan/PlanClient.jsx <module evaluation>","default")},279696,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/(dashboard)/dashboard/plan/PlanClient.jsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(dashboard)/dashboard/plan/PlanClient.jsx","default")},874599,a=>{"use strict";a.i(120136);var b=a.i(279696);a.n(b)},445938,a=>{"use strict";var b=a.i(907997),c=a.i(905246),d=a.i(23787),e=a.i(874599);async function f(){try{let a=await (0,c.cookies)(),b=a.get("auth_token")?.value;if(!b)return{isAdmin:!1,currentUser:null};let e=await (0,d.verifyToken)(b);if(!e)return{isAdmin:!1,currentUser:null};return{isAdmin:"admin"===e.role,currentUser:{id:e.userId,role:e.role}}}catch{return{isAdmin:!1,currentUser:null}}}async function g(){let{isAdmin:a,currentUser:c}=await f();return(0,b.jsx)(e.default,{isAdmin:a,currentUser:c})}a.s(["default",0,g,"dynamic",0,"force-dynamic"])},490849,a=>{a.n(a.i(445938))}];

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