import{a as c}from"./chunk-BF44ZR3M.js";import{a as p}from"./chunk-PDYJ5OYY.js";import{d as n,j as a}from"./chunk-GQAU5ACB.js";import{S as o,la as i,pa as s}from"./chunk-ISMRT7VU.js";var f=(()=>{class t{constructor(e){this._http=e}getLatestBirsanDesktop(e,r){return this._http.get(`/api/birsan-desktop/latest?bitness=${r}&currentVersion=${e}`)}getVersion(){let e=new n().append(p.SkipError,"skipError");return this._http.get(`${c.apiURL}/api/software`,{headers:e})}static{this.\u0275fac=function(r){return new(r||t)(s(a))}}static{this.\u0275prov=i({token:t,factory:t.\u0275fac})}}return t})();var v=(()=>{class t{constructor(e){this._birsanDesktopServiceApi=e}getLatestBirsanDesktop(e,r){return this._birsanDesktopServiceApi.getLatestBirsanDesktop(e,r).pipe(o(1))}getVersion(){return this._birsanDesktopServiceApi.getVersion().pipe(o(1))}static{this.\u0275fac=function(r){return new(r||t)(s(f))}}static{this.\u0275prov=i({token:t,factory:t.\u0275fac})}}return t})();export{f as a,v as b};
//# sourceMappingURL=chunk-H5RVZQ43.js.map
