"use strict";(()=>{var e={};e.id=386,e.ids=[386],e.modules={517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},4386:(e,t,r)=>{r.r(t),r.d(t,{headerHooks:()=>d,originalPathname:()=>m,requestAsyncStorage:()=>u,routeModule:()=>i,serverHooks:()=>p,staticGenerationAsyncStorage:()=>c,staticGenerationBailout:()=>l});var a={};r.r(a),r.d(a,{POST:()=>POST}),r(8976);var o=r(884),n=r(6132),s=r(5798);async function POST(e){try{let t=await e.json(),r=String(t?.name||"").trim(),a=String(t?.email||"").trim(),o=String(t?.details||t?.message||"").trim();if(!r||!a||!o)return s.Z.json({error:"Name, email, and project details are required."},{status:400});return console.log("Contact submission:",{name:r,email:a,details:o}),s.Z.json({ok:!0})}catch(e){return s.Z.json({error:"Invalid request payload."},{status:400})}}let i=new o.AppRouteRouteModule({definition:{kind:n.x.APP_ROUTE,page:"/api/contact/route",pathname:"/api/contact",filename:"route",bundlePath:"app/api/contact/route"},resolvedPagePath:"C:\\Users\\lenovo\\Desktop\\New folder\\Arad-Company-React.js-Next.js\\app\\api\\contact\\route.ts",nextConfigOutput:"",userland:a}),{requestAsyncStorage:u,staticGenerationAsyncStorage:c,serverHooks:p,headerHooks:d,staticGenerationBailout:l}=i,m="/api/contact/route"}};var t=require("../../../webpack-runtime.js");t.C(e);var __webpack_exec__=e=>t(t.s=e),r=t.X(0,[364,798],()=>__webpack_exec__(4386));module.exports=r})();