import{ga as i}from"./chunk-RB4ISITT.js";import{$ as a,Y as n,e as o,ia as c}from"./chunk-2SSKXWW5.js";var h=(()=>{class e extends i{constructor(s){super(s,"Account/ChangePassword"),this.injector=s,this.newResponse=new o(1)}changePassword(s,t){let p={currentPassword:s,newPassword:t};return super.post(p).subscribe(r=>{this.newResponse.next(r),r.hasErrors},r=>{console.log("Error loading data: ",r)}),this.newResponse.asObservable()}static{this.\u0275fac=function(t){return new(t||e)(a(c))}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{h as a};