import{B as a,Y as i,aa as n,bd as c,j as p,vh as s,wg as E}from"./chunk-PXFCSR5K.js";import{i as o}from"./chunk-DOSG2ZAB.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:c65a26d1e9dd8b923403d49a4dccad76e3fa3313ede414d8a3b16d3f73c99bce*/
//# sourceMappingURL=chunk-6KOHFTXC.js.map
