import{az as a,aA as i,s as n}from"./DpdQcRr7.js";import{u}from"./D7eJvyae.js";import"./BcpEzrWT.js";import"./DuJ0NDcC.js";import"./D1zzHZdQ.js";const g=a(async(r,c)=>{let e,t;const o=u();if(!o.isLoggedIn&&!([e,t]=i(()=>o.fetchUser()),e=await e,t(),e).success){const s=r.fullPath;return n(`/login?redirect=${encodeURIComponent(s)}`)}});export{g as default};
