module.exports=[63021,(a,b,c)=>{b.exports=a.x("@prisma/client-2c3a283f134fdcb6",()=>require("@prisma/client-2c3a283f134fdcb6"))},54799,(a,b,c)=>{b.exports=a.x("crypto",()=>require("crypto"))},93695,(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"))},50645,a=>{a.n(a.i(27572))},43619,a=>{a.n(a.i(79962))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},70844,a=>{a.n(a.i(92359))},45164,a=>{"use strict";a.s(["AreaForm",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AreaForm() from the server but AreaForm is 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/components/areas/AreaForm.tsx <module evaluation>","AreaForm")},65974,a=>{"use strict";a.s(["AreaForm",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AreaForm() from the server but AreaForm is 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/components/areas/AreaForm.tsx","AreaForm")},4032,a=>{"use strict";a.i(45164);var b=a.i(65974);a.n(b)},6081,a=>{"use strict";var b=a.i(7997),c=a.i(9307);a.i(70396);var d=a.i(73727),e=a.i(4032);async function f(){let a=await (0,c.auth)();return a||(0,d.redirect)("/login"),a.user?.role!=="ADMIN"&&(0,d.redirect)("/areas"),(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h1",{className:"text-2xl font-bold",children:"Add Area"}),(0,b.jsx)("p",{className:"text-muted-foreground",children:"Create a new voter area"})]}),(0,b.jsx)(e.AreaForm,{})]})}a.s(["default",()=>f])}];

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