import{a,d as u}from"./chunk-YYMSKAQX.js";import{Q as s,V as c,g as o,v as n}from"./chunk-MYCZEVHT.js";var b=(()=>{let t=class t{constructor(i){this.router=i,this.currentUrl=new o("/"),this.router.events.pipe(n(r=>r instanceof a)).subscribe({next:r=>{this.currentUrl.next(r.urlAfterRedirects)}})}getCurrentUrl(){return this.currentUrl.asObservable()}};t.\u0275fac=function(r){return new(r||t)(c(u))},t.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();export{b as a};