import e from"../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.mjs";var t=`%`,n=class{constructor(t){e(this,`instanceId`,void 0),e(this,`cache`,new Map),this.instanceId=t}get(e){return this.cache.get(Array.isArray(e)?e.join(t):e)||null}update(e,n){let r=Array.isArray(e)?e.join(t):e,i=n(this.cache.get(r));i===null?this.cache.delete(r):this.cache.set(r,i)}};export{n as default};