import{a as O,b as _}from"./chunk-E6JDVIQJ.js";import{b as C,c as L}from"./chunk-O44MLDQ6.js";import{a as v,b}from"./chunk-UFIOXD3N.js";import"./chunk-WZMPEGTK.js";import"./chunk-JZBVYXPZ.js";import"./chunk-4T2XGZFD.js";import"./chunk-QQZCALHS.js";import"./chunk-ERD45DED.js";import"./chunk-K4WD4A63.js";import{P as f,Q as N,c as S,e as g,f as u,g as P}from"./chunk-FYLDFXYJ.js";import"./chunk-EAIMSMGJ.js";import"./chunk-AIHAZUSZ.js";import"./chunk-TS62PHQY.js";import"./chunk-KADRYNDC.js";import{j as d,o as A}from"./chunk-HO2J6YLX.js";import"./chunk-IOINCEV4.js";import"./chunk-Z5RJRCWC.js";import{Gd as E,J as c,ha as h,ka as m,na as I,sa as l,x as s,xa as r}from"./chunk-JSJB5BKT.js";import{e as p}from"./chunk-SZAW6ZBW.js";var U,R=p(()=>{I();E();A();L();N();g();P();U=(()=>{class t{constructor(a,o,i,e,n){this.router=a,this.urlService=o,this.currentUserService=i,this.oauthService=e,this.baseUrlService=n}canActivate(a,o){return this.currentUserService.currentUserChanged.pipe(c(i=>!!i),h(()=>this.urlService.getDefaultUrl().pipe(m(i=>{let e=decodeURIComponent(this.oauthService.state);if(this.oauthService.state="",e){let n=new URL(this.baseUrlService.getCompletePathForRoute(e)),T=this.baseUrlService.getParamsAsObject(n.searchParams);e=e.split("?")[0],this.router.navigate([e],{queryParams:T})}else this.router.navigateByUrl(i)}),s(()=>!0))))}static{this.\u0275fac=function(o){return new(o||t)(r(d),r(C),r(f),r(S),r(u))}}static{this.\u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var H,j=p(()=>{R();_();b();H=[{path:"",loadComponent:()=>import("./chunk-TDT7IQA4.js").then(t=>t.ApplicationComponent),children:[{path:"",loadComponent:()=>import("./chunk-S2MWN5TS.js").then(t=>t.LandingPageComponent),canActivate:[U],pathMatch:"full"},{path:"connections",loadChildren:()=>import("./chunk-Z4QYL4LM.js").then(t=>t.CONNECTIONS_ROUTES),providers:[v]},{path:"dashboard",redirectTo:""},{path:"administration",loadChildren:()=>import("./chunk-UDCT77GI.js").then(t=>t.ADMINISTRATIONS_ROUTES)},{path:"pam",loadChildren:()=>import("./chunk-OTUZHDUJ.js").then(t=>t.PAM_ROUTES)},{path:"privileged-session-monitoring",loadChildren:()=>import("./chunk-HFQBY2LV.js").then(t=>t.PRIVILEGED_SESSIONS_MONITORING)},{path:"reports",loadChildren:()=>import("./chunk-4O5XWCEB.js").then(t=>t.REPORTS_ROUTES)},{path:"api-documentation",loadComponent:()=>import("./chunk-UPGZR7FC.js").then(t=>t.ApiDocumentationComponent)},{path:"tools",loadChildren:()=>import("./chunk-CJ4V5BHQ.js").then(t=>t.TOOLS_ROUTES)},{path:"system-dashboard",loadChildren:()=>import("./chunk-S2IRRERV.js").then(t=>t.SYSDASHBOARD_ROUTES)},{path:"web-client",loadChildren:()=>import("./chunk-ULLLKXDS.js").then(t=>t.WEB_CLIENT_ROUTES)},{path:"notification-preferences",loadComponent:()=>import("./chunk-UZFFQ5CK.js").then(t=>t.NotificationPreferencesDashboardComponent),canDeactivate:[O]}]}]});j();export{H as APPLICATION_ROUTES};
