(()=>{var e={};e.id=6338,e.ids=[6338],e.modules={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")},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")},11409:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>l,routeModule:()=>u,serverHooks:()=>d,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>c});var s={};r.r(s),r.d(s,{POST:()=>i});var o=r(42706),a=r(28203),n=r(45994);async function i(e){try{let t=await e.formData(),r=await fetch(`${process.env.API_URL}/ticket`,{method:"POST",headers:{Authorization:`Bearer ${process.env.API_KEY}`,"accept-language":"en"},body:t});if(!r.ok)return Response.json({error:r.statusText},{status:r.status});let s=await r.json();return Response.json(s,{status:r.status})}catch(e){return console.error("API Error:",e),Response.json({error:"API request failed"},{status:500})}}let u=new o.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/ticket/route",pathname:"/api/ticket",filename:"route",bundlePath:"app/api/ticket/route"},resolvedPagePath:"D:\\RMZ\\prod\\SRTA\\src\\app\\api\\ticket\\route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:p,workUnitAsyncStorage:c,serverHooks:d}=u;function l(){return(0,n.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:c})}},96487:()=>{},78335:()=>{},42706:(e,t,r)=>{"use strict";e.exports=r(44870)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[5994],()=>r(11409));module.exports=s})();