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