import{C as a,Yc as c,Z as i,ba as n,hg as s,j as p,mf as E}from"./chunk-7W5IJG57.js";import{i as o}from"./chunk-RB5FWREQ.js";var t=class t{authHttp=n(c);restExtractor=n(s);getInstanceHomepage(){return this.authHttp.get(t.BASE_INSTANCE_HOMEPAGE_URL).pipe(a(r=>r.status===404?p({content:""}):this.restExtractor.handleError(r)))}updateInstanceHomepage(r){return this.authHttp.put(t.BASE_INSTANCE_HOMEPAGE_URL,{content:r}).pipe(a(e=>this.restExtractor.handleError(e)))}};o(t,"BASE_INSTANCE_HOMEPAGE_URL",E.apiUrl+"/api/v1/custom-pages/homepage/instance"),o(t,"\u0275fac",function(e){return new(e||t)}),o(t,"\u0275prov",i({token:t,factory:t.\u0275fac}));var m=t;export{m as a};
/**i18n:3558f4fa3a6acf6a8a484a0589828971efacd00f9f89386e64ec00a5fc269cc5*/
//# sourceMappingURL=chunk-YWPYRF2Y.js.map
