import{B as a,Y as i,aa as n,bd as c,j as p,uh as s,vg as E}from"./chunk-K5TQVRW4.js";import{i as o}from"./chunk-RYEVWIKN.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:3ab8a6a12ff574644ebf46057f36e5643b4288edb94e57af377eaee98d8b77d4*/
//# sourceMappingURL=chunk-GATGNQTA.js.map
