{
  "code": "export default class Dictionary {\r\n    constructor() {\r\n        this._items = {};\r\n        this.length = 0;\r\n    }\r\n    get container() {\r\n        return this._items;\r\n    }\r\n    has(key) {\r\n        return this._items.hasOwnProperty(key);\r\n    }\r\n    set(key, val) {\r\n        if (!this.has(key)) {\r\n            this.length++;\r\n        }\r\n        this._items[key] = val;\r\n    }\r\n    delete(key) {\r\n        let val = null;\r\n        if (this.has(key)) {\r\n            val = this._items[key];\r\n            delete this._items[key];\r\n            this.length--;\r\n        }\r\n        return val;\r\n    }\r\n    get(key) {\r\n        return this.has(key) ? this._items[key] : null;\r\n    }\r\n    values() {\r\n        let values = [];\r\n        for (let k in this._items) {\r\n            if (this.has(k)) {\r\n                values.push(this._items[k]);\r\n            }\r\n        }\r\n        return values;\r\n    }\r\n    keys() {\r\n        let keys = [];\r\n        for (let k in this._items) {\r\n            if (this.has(k)) {\r\n                keys.push(k);\r\n            }\r\n        }\r\n        return keys;\r\n    }\r\n    clear() {\r\n        this._items = {};\r\n        this.length = 0;\r\n    }\r\n}\r\n//# sourceMappingURL=Dictionary.js.map",
  "references": [],
  "map": "{\"version\":3,\"file\":\"Dictionary.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/GameUtils/Dictionary.ts\"],\"names\":[],\"mappings\":\"AAAA,MAAM,CAAC,OAAO,OAAO,UAAU;IAG3B;QACI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;IACpB,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACD,GAAG,CAAC,GAAQ;QACR,OAAO,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAC3C,CAAC;IAED,GAAG,CAAC,GAAQ,EAAE,GAAQ;QAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;YAChB,IAAI,CAAC,MAAM,EAAE,CAAC;SAC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