import{Bc as zn,Hs as se,Wa as g,Wt as Jn,fr as S,ro as he,sn as M}from"./chunk-B_pj7Jpm.js";var c=class t{authHttp=g(zn);restExtractor=g(Jn);static BASE_INSTANCE_HOMEPAGE_URL=se.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=7caffe07-d75d-57a2-9948-4ec83abf5ffa
//# sourceMappingURL=chunk-BA42WJ8S.js.map