export class MapsRegister {
  constructor() {
    this._maps_by_id = /* @__PURE__ */ new Map();
  }
  static instance() {
    return this._instance = this._instance || new MapsRegister();
  }
  registerMap(id, map) {
    this._maps_by_id.set(id, map);
  }
  deregisterMap(id) {
    this._maps_by_id.delete(id);
  }
}
