1import{a as m}from"./chunk-FGJLLKEU.js";import{e as o,f as n,fb as l,p as s,u as c,x as i}from"./chunk-THNC5SFJ.js";import{h as a}from"./chunk-LNJ3S2LQ.js";var y=(()=>{let r=class r{constructor(){this.authService=i(m),this.router=i(l)}canActivate(){return this.authService.authorizationChange().pipe(s(e=>e!=null&&e.loggedIn?o(!0):(console.log("redirect to login"),o(this.router.createUrlTree(["/login"],{queryParams:{redirectUrl:location.pathname},queryParamsHandling:"merge"})))))}assertLoggedIn(){return a(this,null,function*(){let e=yield n(this.canActivate());e!==!0&&(yield this.router.navigateByUrl(e))})}};r.\u0275fac=function(f){return new(f||r)},r.\u0275prov=c({token:r,factory:r.\u0275fac,providedIn:"root"});let t=r;return t})();export{y as a};
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.