"use strict";(()=>{var e={};e.id=694,e.ids=[694],e.modules={72934:e=>{e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},6005:e=>{e.exports=require("node:crypto")},37715:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>v,patchFetch:()=>y,requestAsyncStorage:()=>m,routeModule:()=>l,serverHooks:()=>g,staticGenerationAsyncStorage:()=>x});var n={};r.r(n),r.d(n,{GET:()=>c});var a=r(49303),o=r(88716),s=r(60670),i=r(87070),u=r(70446),p=r(90455),d=r(56089);async function c(e){let t=await (0,u.Gg)(),r=(0,p.LP)(t)||(0,p.I2)(),n=e.nextUrl.searchParams,a=Number(n.get("latitude"))||t.storageLatitude||41.327546,o=Number(n.get("longitude"))||t.storageLongitude||19.818698,s=t.langCode||"al",c=Number(n.get("cityId"))||t.cityId,l=Number(n.get("businessTypeId"))||void 0,m=await (0,d.S$)({latitude:a,longitude:o,token:r,langCode:s,cityId:c,businessTypeId:l});return i.NextResponse.json({restaurants:m})}let l=new a.AppRouteRouteModule({definition:{kind:o.x.APP_ROUTE,page:"/api/nearme/route",pathname:"/api/nearme",filename:"route",bundlePath:"app/api/nearme/route"},resolvedPagePath:"/Users/ferlando/Desktop/baboon-nextjs/app/api/nearme/route.ts",nextConfigOutput:"standalone",userland:n}),{requestAsyncStorage:m,staticGenerationAsyncStorage:x,serverHooks:g}=l,v="/api/nearme/route";function y(){return(0,s.patchFetch)({serverHooks:g,staticGenerationAsyncStorage:x})}}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[8948,3314,8632,5972,5476],()=>r(37715));module.exports=n})();