module.exports=[15866,a=>{"use strict";var b=a.i(77380),c=a.i(82943);a.s(["hasSrcAppDir",0,function(){let{existsSync:a}=(0,c.nodeFsOrThrow)(),b=(0,c.nodePathOrThrow)(),d=(0,c.nodeCwdOrThrow)();return!!a(b.join(d(),"src","app"))},"suggestMiddlewareLocation",0,function(){let a=["ts","js"],d=b.isNext16OrHigher?["middleware","proxy"]:["middleware"],e=(a,c,d,e)=>`Clerk: clerkMiddleware() was not run, your ${b.middlewareFileReference} file might be misplaced. Move your ${b.middlewareFileReference} file to ./${d}${a}.${c}. Currently located at ./${e}${a}.${c}`,{existsSync:f}=(0,c.nodeFsOrThrow)(),g=(0,c.nodePathOrThrow)(),h=(0,c.nodeCwdOrThrow)(),i=g.join(h(),"src","app"),j=g.join(h(),"app"),k=(b,c,h)=>{for(let i of d)for(let d of a)if(f(g.join(b,`${i}.${d}`)))return e(i,d,c,h)};return f(i)?k(i,"src/","src/app/")||k(h(),"src/",""):f(j)?k(j,"","app/"):void 0}])}];

//# sourceMappingURL=node_modules_%40clerk_nextjs_dist_esm_server_fs_middleware-location_0ktxn7h.js.map