"use strict";(()=>{var e={id:497,ids:[497]};e.modules={145:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},6249:(e,t)=>{function n(e,t){return t in e?e[t]:"then"in e&&"function"===typeof e.then?e.then((e=>n(e,t))):"function"===typeof e&&"default"===t?e:void 0}Object.defineProperty(t,"l",{enumerable:!0,get:function(){return n}})},7543:(e,t,n)=>{n.r(t),n.d(t,{config:()=>d,default:()=>c,routeModule:()=>s});var i={};n.r(i),n.d(i,{default:()=>u});var r=n(1802),a=n(7153),o=n(6249);const u=async function(e,t){const{action:n}=e.query;if("logout"===n)await async function(e,t){t.redirect("/")}(0,t);else t.status(404).end()};const c=(0,o.l)(i,"default"),d=(0,o.l)(i,"config"),s=new r.PagesAPIRouteModule({definition:{kind:a.x.PAGES_API,page:"/api/auth/[action]",pathname:"/api/auth/[action]",bundlePath:"",filename:""},userland:i})},7153:(e,t)=>{var n;Object.defineProperty(t,"x",{enumerable:!0,get:function(){return n}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE"}(n||(n={}))},1802:(e,t,n)=>{e.exports=n(145)}};var t=require("../../../webpack-api-runtime.js");t.C(e);var n,i=(n=7543,t(t.s=n));module.exports=i})();