import {J,ef as T,c as tS,G as vl,b2 as v,b3 as w,el as d,aa as ye,Y,bc as I,bd as K,ad as ce}from'./main-WUGO6e7n.js';var O,m=J(()=>{T();tS();vl();v();w();O=(()=>{class r{constructor(t,e,d){this.router=t,this.longOperationIndicatorService=e,this.errorService=d;}navigate(t){this.longOperationIndicatorService.showIndicator("standard"),this.router.navigateByUrl(t).then(()=>this.longOperationIndicatorService.hideIndicator("standard"),()=>{this.errorService.pushError(new d({errorType:"client",exceptionMessage:"navigation error",fatal:!1,message:`could not navigate to ${t}`})),this.longOperationIndicatorService.hideIndicator("standard");});}navigateToRoot(){this.router.navigateByUrl("/");}static{this.\u0275fac=function(e){return new(e||r)(ye(Y),ye(I),ye(K))};}static{this.\u0275prov=ce({token:r,factory:r.\u0275fac,providedIn:"root"});}}return r})();});export{O,m};