(()=>{var e={};e.id=783,e.ids=[783],e.modules={96330:e=>{"use strict";e.exports=require("@prisma/client")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},21745:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>x,routeModule:()=>c,serverHooks:()=>l,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>g});var s={};t.r(s),t.d(s,{GET:()=>u});var o=t(42706),a=t(28203),i=t(45994),n=t(39187),p=t(11587);async function u(){try{let e=await p.A.regiao.findMany({orderBy:{nome:"asc"}});return n.NextResponse.json(e,{status:200})}catch(e){return console.error("Erro ao buscar regi\xf5es:",e),n.NextResponse.json({error:"Erro ao buscar regi\xf5es."},{status:500})}}let c=new o.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/empregos/regioes/route",pathname:"/api/empregos/regioes",filename:"route",bundlePath:"app/api/empregos/regioes/route"},resolvedPagePath:"C:\\Users\\guilh\\Desktop\\plataforma-empregos-NextJs-Ts\\app\\api\\empregos\\regioes\\route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:d,workUnitAsyncStorage:g,serverHooks:l}=c;function x(){return(0,i.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:g})}},96487:()=>{},78335:()=>{},11587:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=new(t(96330)).PrismaClient}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[638,452],()=>t(21745));module.exports=s})();