1import{UserCacheManager as c}from"./UserCacheManager.DGF2RrpP.js";import"./dayjs.gtnaJZnM.js";import"./utc.D8ANpP3u.js";import"./_commonjsHelpers.D6-XlEtG.js";import"./relativeTime.D_y5ur43.js";import"./expiry.Dnak9uun.js";import"./IndexedDBManager.aNAd28ay.js";const h="X-KCL-Session";class p{constructor(t){this.tokenStorage=t}async fetch(t,o={}){const r=await this.tokenStorage.getToken(),a=new Headers(o.headers);r&&a.set("Authorization",`Bearer ${r}`);const s=await fetch(t,{credentials:"omit",...o,headers:a}),i=s.headers.get(h);return i&&await this.tokenStorage.setToken(i),s}}let e=null;function d(){if(!e){const n=c.getInstance();e=new p(n)}return e}export{p as AuthenticatedHttpClient,d as getHttpClient};
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.