class c{#e=new Map;resolve(s){let e=s;for(;this.#e.has(e);){const t=(this.#e.get(e)||0)+1;this.#e.set(e,t),e=s+"-"+t}return this.#e.set(e,0),e}reset(){this.#e.clear()}}export{c as UniqueKeyResolver};
