1import{s as r}from"./BNpnud_F.js";import{b2 as u,u as d,k as c,E as f,ab as s,b3 as g}from"./DDDL0Jn_.js";import{u as m}from"./DR1qn2I-.js";import"./FXZaW1gO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"8d1006f63956406f81992318d8812f4374ba5f92"};var i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="f44a9c8e-d44f-496d-91a4-7bd4d6f6d92a",e._sentryDebugIdIdentifier="sentry-dbid-f44a9c8e-d44f-496d-91a4-7bd4d6f6d92a")}catch{}})();const I=u(e=>{const i=d();if(m().close(),e&&e.meta&&e.meta.public===!0)return;let n=e.name||e.path.split("/").filter(Boolean).pop()||"home";if(n=n==="index"?"home":n,!e?.path?.includes("/admin/")){const{$analytics:t}=c();t?.track?.(f.page_view,{page_path:e.path,page_title:n,page_location:`${window.location.origin}${e.path}`})}if(e&&e.query&&e.query.redirect==="true"&&!i.loggedIn&&!o(e.path))return localStorage.prevUrl=e.fullPath,localStorage.unlinkWallet=e.fullPath,a(e);if(!i.loggedIn&&!o(e.path))return a(e);if(e&&e.query&&e.query.redirect==="true"&&!i.loggedIn&&r(e.path,"/email-action-handler"))return localStorage.prevUrl=e.fullPath,localStorage.unlinkWallet=e.fullPath,s("/auth/login");if(e&&e.query&&!i.loggedIn&&r(e.path,"/login"))return a(e)});function a(e){const i=g().firebase.projectId,l=i==="os-sandbox-nuevo-leon"||i==="os-gobierno-de-nuevo-leon",n=y(e.path);return n===!0&&l===!0?s("/auth/login-funcionarios"):n===!0&&l===!1?s("/auth/login"):s("/")}function o(e){return!!(e==="/"||r(e,"/login")||r(e,"/auth/login")||r(e,"/auth/login-funcionarios")||r(e,"/auth/register")||r(e,"/auth/resetPassword")||r(e,"/auth/linkWallet")||r(e,"/auth/messageSSO")||r(e,"/contact")||r(e,"/privacy")||r(e,"/register")||r(e,"/password-reset")||r(e,"/email-action-handler")||r(e,"/reset-password")||r(e,"/server-error")||r(e,"/autenticar-error")||r(e,"/what-is")||r(e,"/faq")||r(e,"/digital-citizen")||r(e,"/digital-citizen-levels")||r(e,"/terms-of-service")||r(e,"/notice-of-privacy")||r(e,"/citizen/certificates/digital-identity/")||r(e,"/citizen/certificates/form-certs/")||r(e,"/finalDocument/")||r(e,"/modules")||r(e,"/home")||r(e,"/digital-services")||r(e,"/mercadopago")||r(e,"/persona-moral")||r(e,"/playlist")||r(e,"/verificador")||r(e,"/user-guide")||r(e,"/user-guide-functionary")||r(e,"/inspectores")||r(e,"/inspecciones")||r(e,"/regulaciones"))}function y(e){return!!r(e,"/admin")}export{I 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.