import{ap as u,x as o,p as t}from"./entry.CvzFKrWr.js";import"./vue-pic.1yvOmXPY.js";const i=u((r,a)=>{const{$user:e}=t();switch(r.name){case"for-you-login":case"for-you-sign-up-index":if(e&&e.value)return o("/for-you/mytheatreland");break;case"for-you-mytheatreland-index":if(e&&!e.value&&a.path!=="/for-you/login")return o("/for-you/login");break;case"for-you-mytheatreland-index-communications":if(e&&!e.value&&a.path!=="/for-you/login")return o("/for-you/login");break;case"for-you-sign-up-index-your-interests":if(e&&!e.value)return o("/for-you/sign-up");if(e&&e.value&&e.value.signup_complete)return o("/for-you/mytheatreland/communications");break;case"for-you-password-reset-token":case"for-you-password-reset":if(!r.params.token||!r.query.email)return o("/for-you/login?passwordReset=true")}});export{i as default};