PageSourceSearch

https://vi.be/platform/chunk-GTYO5L3S.js

js vi.be collected 2026-10-01 10:40:20 UTC 2,121 bytes, 3 lines download raw bytes

1import{d as u}from"./chunk-VHASJZ3A.js";import{a as m,c as n}from"./chunk-SIKV2SR4.js";import{a as o}from"./chunk-63GPT4DW.js";import{L as s,Q as p,Qc as h,T as i}from"./chunk-N74ZWEBC.js";var y=(()=>{class a{constructor(e,r,t){this.entityListHelper=e,this.cacheService=r,this.http=t}getCarousels(e){return this.entityListHelper.get("/carousels",0,0,{type:e})}getCarouselsAdmin(e){return this.entityListHelper.get("/carousels/admin",0,0,{type:e})}getLocalPortalCarousels(e){return this.cacheService.get(`/carousels/localportal/${e}`,n({offset:0,limit:0}))}getLocalPortalCarouselsAdmin(e){return this.cacheService.get(`/carousels/localportal/${e}/admin`,n({offset:0,limit:0}))}createCarouselItem(e,r,t){let c=new FormData;return c.append("request",JSON.stringify(e)),r&&c.append("image",r),this.http.put(`${o.config.backendUrl}/carousels`,c,{reportProgress:!0,observe:"events"}).pipe(s(()=>{this.cacheService.clear("/carousels"),this.cacheService.clear("/carousels/admin"),t&&(this.cacheService.clear(`/carousels/localportal/${t}`),this.cacheService.clear(`/carousels/localportal/${t}/admin`))}))}updateCarouselItem(e,r,t,c){let l=new FormData;return l.append("request",JSON.stringify(r)),t&&l.append("image",t),this.http.post(`${o.config.backendUrl}/carousels/${e}`,l,{reportProgress:!0,observe:"events"}).pipe(s(()=>{this.cacheService.clear("/carousels"),this.cacheService.clear("/carousels/admin"),c&&(this.cacheService.clear(`/carousels/localportal/${c}`),this.cacheService.clear(`/carousels/localportal/${c}/admin`))}))}deleteCarouselItem(e,r){return this.http.delete(`${o.config.backendUrl}/carousels/${e}`).pipe(s(()=>{this.cacheService.clear("/carousels"),this.cacheService.clear("/carousels/admin"),r&&(this.cacheService.clear(`/carousels/localportal/${r}`),this.cacheService.clear(`/carousels/localportal/${r}/admin`))}))}static{this.\u0275fac=function(r){return new(r||a)(i(u),i(m),i(h))}}static{this.\u0275prov=p({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{y as a};
2/**i18n:5a3ffb5ae51252a8c4d0639ab71d71b63fe3c51b99ec34bb95bd2ce88f51ff30*/
3//# sourceMappingURL=chunk-GTYO5L3S.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.