class r{instanceId;constructor(t){this.instanceId=t}cache=new Map;get(t){return this.cache.get(Array.isArray(t)?t.join("%"):t)||null}update(t,c){const e=Array.isArray(t)?t.join("%"):t,n=this.cache.get(e),a=c(n);a===null?this.cache.delete(e):this.cache.set(e,a)}}export{r as default};
