1import{a8 as r,L as f,a9 as d,C as s}from"./entry.7b673d9d.js";function o(n){let u,e=n[0],a=1;for(;a<n.length;){const t=n[a],c=n[a+1];if(a+=2,(t==="optionalAccess"||t==="optionalCall")&&e==null)return;t==="access"||t==="optionalAccess"?(u=e,e=c(e)):(t==="call"||t==="optionalCall")&&(e=c((...i)=>e.call(u,...i)),u=void 0)}return e}const p=r(async(n,u)=>{let e,a;const{status:t,getSession:c}=f(),i=n.meta.auth;if([e,a]=d(()=>c()),await e,a(),o([i,"optionalAccess",l=>l.unauthenticatedOnly])===!0){if(t.value==="authenticated"){const l=i.navigateAuthenticatedTo||"/";return s(l)}return}if(o([i,"optionalAccess",l=>l.unauthenticatedOnly])!==!1&&t.value==="unauthenticated")return s("/acceder")});export{p as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.