1import{i as l,n as p}from"./chunk-IXFPINUV.js";import{E as s,T as o,Z as i,da as a,ia as h,k as t,p as n}from"./chunk-VKSHKACQ.js";var f=class r{constructor(){this.httpClient=h(l);this.api=`${p.API_URL}login/v2/refresh-token`;this.refreshTokenInProgress=null}refreshToken(){return this.refreshTokenInProgress?this.refreshTokenInProgress:(this.refreshTokenInProgress=this.httpClient.post(this.api,{},{withCredentials:!0}).pipe(n(e=>(localStorage.setItem("token",e.token),e)),i({next:()=>{this.refreshTokenInProgress=null},error:()=>{this.refreshTokenInProgress=null}}),s(e=>(this.refreshTokenInProgress=null,t(()=>e))),o(1)),this.refreshTokenInProgress)}static{this.\u0275fac=function(g){return new(g||r)}}static{this.\u0275prov=a({token:r,factory:r.\u0275fac,providedIn:"root"})}};export{f as a};
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.