import{An as M,Fa as er,Ja as g,Mr as S,ea as ae,pi as Wn,ro as he}from"./chunk-b0nJCs5_.js";var c=class t{authHttp=g(Wn);restExtractor=g(er);static BASE_INSTANCE_HOMEPAGE_URL=ae.apiUrl+`/api/v1/custom-pages/homepage/instance`;getInstanceHomepage(){return this.authHttp.get(t.BASE_INSTANCE_HOMEPAGE_URL).pipe(he(r=>r.status===404?M({content:``}):this.restExtractor.handleError(r)))}updateInstanceHomepage(r){return this.authHttp.put(t.BASE_INSTANCE_HOMEPAGE_URL,{content:r}).pipe(he(e=>this.restExtractor.handleError(e)))}static ɵfac=function(e){return new(e||t)};static ɵprov=S({token:t,factory:t.ɵfac})};export{c as t};
//# debugId=795d4e17-7e26-5366-a2ba-70b9f666c31f
//# sourceMappingURL=chunk-BHO4mzYw.js.map