{
  "version": 3,
  "sources": ["../../src/store/storage/inMemoryStorage.ts"],
  "sourcesContent": ["interface InMemoryStorageType {\n  [key: string]: string;\n}\n\nexport class InMemoryStorage {\n  private storage: InMemoryStorageType = {};\n\n  setItem(key: string, value: string) {\n    this.storage[key] = value;\n  }\n\n  getItem(key: string): string | null {\n    return this.storage.hasOwnProperty(key) ? this.storage[key] : null;\n  }\n\n  removeItem(key: string) {\n    delete this.storage[key];\n  }\n\n  clear() {\n    this.storage = {} as Storage;\n  }\n\n  get length() {\n    return Object.keys(this.storage).length;\n  }\n\n  key(index: number): string | null {\n    const keys = Object.keys(this.storage);\n    return keys[index] || null;\n  }\n}\n"],
  "mappings": "AAIO,IAAMA,EAAN,KAAsB,CAAtB,cACL,KAAQ,QAA+B,CAAC,EAExC,QAAQC,EAAaC,EAAe,CAClC,KAAK,QAAQD,CAAG,EAAIC,CACtB,CAEA,QAAQD,EAA4B,CAClC,OAAO,KAAK,QAAQ,eAAeA,CAAG,EAAI,KAAK,QAAQA,CAAG,EAAI,IAChE,CAEA,WAAWA,EAAa,CACtB,OAAO,KAAK,QAAQA,CAAG,CACzB,CAEA,OAAQ,CACN,KAAK,QAAU,CAAC,CAClB,CAEA,IAAI,QAAS,CACX,OAAO,OAAO,KAAK,KAAK,OAAO,EAAE,MACnC,CAEA,IAAIE,EAA8B,CAEhC,OADa,OAAO,KAAK,KAAK,OAAO,EACzBA,CAAK,GAAK,IACxB,CACF",
  "names": ["InMemoryStorage", "key", "value", "index"]
}
