{"ast":null,"code":"'use strict';\n\nclass QuickLRU {\n  constructor(options = {}) {\n    if (!(options.maxSize && options.maxSize > 0)) {\n      throw new TypeError('`maxSize` must be a number greater than 0');\n    }\n    if (typeof options.maxAge === 'number' && options.maxAge === 0) {\n      throw new TypeError('`maxAge` must be a number greater than 0');\n    }\n    this.maxSize = options.maxSize;\n    this.maxAge = options.maxAge || Infinity;\n    this.onEviction = options.onEviction;\n    this.cache = new Map();\n    this.oldCache = new Map();\n    this._size = 0;\n  }\n  _emitEvictions(cache) {\n    if (typeof this.onEviction !== 'function') {\n      return;\n    }\n    for (const [key, item] of cache) {\n      this.onEviction(key, item.value);\n    }\n  }\n  _deleteIfExpired(key, item) {\n    if (typeof item.expiry === 'number' && item.expiry <= Date.now()) {\n      if (typeof this.onEviction === 'function') {\n        this.onEviction(key, item.value);\n      }\n      return this.delete(key);\n    }\n    return false;\n  }\n  _getOrDeleteIfExpired(key, item) {\n    const deleted = this._deleteIfExpired(key, item);\n    if (deleted === false) {\n      return item.value;\n    }\n  }\n  _getItemValue(key, item) {\n    return item.expiry ? this._getOrDeleteIfExpired(key, item) : item.value;\n  }\n  _peek(key, cache) {\n    const item = cache.get(key);\n    return this._getItemValue(key, item);\n  }\n  _set(key, value) {\n    this.cache.set(key, value);\n    this._size++;\n    if (this._size >= this.maxSize) {\n      this._size = 0;\n      this._emitEvictions(this.oldCache);\n      this.oldCache = this.cache;\n      this.cache = new Map();\n    }\n  }\n  _moveToRecent(key, item) {\n    this.oldCache.delete(key);\n    this._set(key, item);\n  }\n  *_entriesAscending() {\n    for (const item of this.oldCache) {\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield item;\n        }\n      }\n    }\n    for (const item of this.cache) {\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield item;\n      }\n    }\n  }\n  get(key) {\n    if (this.cache.has(key)) {\n      const item = this.cache.get(key);\n      return this._getItemValue(key, item);\n    }\n    if (this.oldCache.has(key)) {\n      const item = this.oldCache.get(key);\n      if (this._deleteIfExpired(key, item) === false) {\n        this._moveToRecent(key, item);\n        return item.value;\n      }\n    }\n  }\n  set(key, value, {\n    maxAge = this.maxAge === Infinity ? undefined : Date.now() + this.maxAge\n  } = {}) {\n    if (this.cache.has(key)) {\n      this.cache.set(key, {\n        value,\n        maxAge\n      });\n    } else {\n      this._set(key, {\n        value,\n        expiry: maxAge\n      });\n    }\n  }\n  has(key) {\n    if (this.cache.has(key)) {\n      return !this._deleteIfExpired(key, this.cache.get(key));\n    }\n    if (this.oldCache.has(key)) {\n      return !this._deleteIfExpired(key, this.oldCache.get(key));\n    }\n    return false;\n  }\n  peek(key) {\n    if (this.cache.has(key)) {\n      return this._peek(key, this.cache);\n    }\n    if (this.oldCache.has(key)) {\n      return this._peek(key, this.oldCache);\n    }\n  }\n  delete(key) {\n    const deleted = this.cache.delete(key);\n    if (deleted) {\n      this._size--;\n    }\n    return this.oldCache.delete(key) || deleted;\n  }\n  clear() {\n    this.cache.clear();\n    this.oldCache.clear();\n    this._size = 0;\n  }\n  resize(newSize) {\n    if (!(newSize && newSize > 0)) {\n      throw new TypeError('`maxSize` must be a number greater than 0');\n    }\n    const items = [...this._entriesAscending()];\n    const removeCount = items.length - newSize;\n    if (removeCount < 0) {\n      this.cache = new Map(items);\n      this.oldCache = new Map();\n      this._size = items.length;\n    } else {\n      if (removeCount > 0) {\n        this._emitEvictions(items.slice(0, removeCount));\n      }\n      this.oldCache = new Map(items.slice(removeCount));\n      this.cache = new Map();\n      this._size = 0;\n    }\n    this.maxSize = newSize;\n  }\n  *keys() {\n    for (const [key] of this) {\n      yield key;\n    }\n  }\n  *values() {\n    for (const [, value] of this) {\n      yield value;\n    }\n  }\n  *[Symbol.iterator]() {\n    for (const item of this.cache) {\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield [key, value.value];\n      }\n    }\n    for (const item of this.oldCache) {\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield [key, value.value];\n        }\n      }\n    }\n  }\n  *entriesDescending() {\n    let items = [...this.cache];\n    for (let i = items.length - 1; i >= 0; --i) {\n      const item = items[i];\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield [key, value.value];\n      }\n    }\n    items = [...this.oldCache];\n    for (let i = items.length - 1; i >= 0; --i) {\n      const item = items[i];\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield [key, value.value];\n        }\n      }\n    }\n  }\n  *entriesAscending() {\n    for (const [key, value] of this._entriesAscending()) {\n      yield [key, value.value];\n    }\n  }\n  get size() {\n    if (!this._size) {\n      return this.oldCache.size;\n    }\n    let oldCacheSize = 0;\n    for (const key of this.oldCache.keys()) {\n      if (!this.cache.has(key)) {\n        oldCacheSize++;\n      }\n    }\n    return Math.min(this._size + oldCacheSize, this.maxSize);\n  }\n}\nmodule.exports = QuickLRU;","map":{"version":3,"names":["QuickLRU","constructor","options","maxSize","TypeError","maxAge","Infinity","onEviction","cache","Map","oldCache","_size","_emitEvictions","key","item","value","_deleteIfExpired","expiry","Date","now","delete","_getOrDeleteIfExpired","deleted","_getItemValue","_peek","get","_set","set","_moveToRecent","_entriesAscending","has","undefined","peek","clear","resize","newSize","items","removeCount","length","slice","keys","values","Symbol","iterator","entriesDescending","i","entriesAscending","size","oldCacheSize","Math","min","module","exports"],"sources":["C:/Users/user/Desktop/000newport/node_modules/@alloc/quick-lru/index.js"],"sourcesContent":["'use strict';\n\nclass QuickLRU {\n\tconstructor(options = {}) {\n\t\tif (!(options.maxSize && options.maxSize > 0)) {\n\t\t\tthrow new TypeError('`maxSize` must be a number greater than 0');\n\t\t}\n\n\t\tif (typeof options.maxAge === 'number' && options.maxAge === 0) {\n\t\t\tthrow new TypeError('`maxAge` must be a number greater than 0');\n\t\t}\n\n\t\tthis.maxSize = options.maxSize;\n\t\tthis.maxAge = options.maxAge || Infinity;\n\t\tthis.onEviction = options.onEviction;\n\t\tthis.cache = new Map();\n\t\tthis.oldCache = new Map();\n\t\tthis._size = 0;\n\t}\n\n\t_emitEvictions(cache) {\n\t\tif (typeof this.onEviction !== 'function') {\n\t\t\treturn;\n\t\t}\n\n\t\tfor (const [key, item] of cache) {\n\t\t\tthis.onEviction(key, item.value);\n\t\t}\n\t}\n\n\t_deleteIfExpired(key, item) {\n\t\tif (typeof item.expiry === 'number' && item.expiry <= Date.now()) {\n\t\t\tif (typeof this.onEviction === 'function') {\n\t\t\t\tthis.onEviction(key, item.value);\n\t\t\t}\n\n\t\t\treturn this.delete(key);\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t_getOrDeleteIfExpired(key, item) {\n\t\tconst deleted = this._deleteIfExpired(key, item);\n\t\tif (deleted === false) {\n\t\t\treturn item.value;\n\t\t}\n\t}\n\n\t_getItemValue(key, item) {\n\t\treturn item.expiry ? this._getOrDeleteIfExpired(key, item) : item.value;\n\t}\n\n\t_peek(key, cache) {\n\t\tconst item = cache.get(key);\n\n\t\treturn this._getItemValue(key, item);\n\t}\n\n\t_set(key, value) {\n\t\tthis.cache.set(key, value);\n\t\tthis._size++;\n\n\t\tif (this._size >= this.maxSize) {\n\t\t\tthis._size = 0;\n\t\t\tthis._emitEvictions(this.oldCache);\n\t\t\tthis.oldCache = this.cache;\n\t\t\tthis.cache = new Map();\n\t\t}\n\t}\n\n\t_moveToRecent(key, item) {\n\t\tthis.oldCache.delete(key);\n\t\tthis._set(key, item);\n\t}\n\n\t* _entriesAscending() {\n\t\tfor (const item of this.oldCache) {\n\t\t\tconst [key, value] = item;\n\t\t\tif (!this.cache.has(key)) {\n\t\t\t\tconst deleted = this._deleteIfExpired(key, value);\n\t\t\t\tif (deleted === false) {\n\t\t\t\t\tyield item;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (const item of this.cache) {\n\t\t\tconst [key, value] = item;\n\t\t\tconst deleted = this._deleteIfExpired(key, value);\n\t\t\tif (deleted === false) {\n\t\t\t\tyield item;\n\t\t\t}\n\t\t}\n\t}\n\n\tget(key) {\n\t\tif (this.cache.has(key)) {\n\t\t\tconst item = this.cache.get(key);\n\n\t\t\treturn this._getItemValue(key, item);\n\t\t}\n\n\t\tif (this.oldCache.has(key)) {\n\t\t\tconst item = this.oldCache.get(key);\n\t\t\tif (this._deleteIfExpired(key, item) === false) {\n\t\t\t\tthis._moveToRecent(key, item);\n\t\t\t\treturn item.value;\n\t\t\t}\n\t\t}\n\t}\n\n\tset(key, value, {maxAge = this.maxAge === Infinity ? undefined : Date.now() + this.maxAge} = {}) {\n\t\tif (this.cache.has(key)) {\n\t\t\tthis.cache.set(key, {\n\t\t\t\tvalue,\n\t\t\t\tmaxAge\n\t\t\t});\n\t\t} else {\n\t\t\tthis._set(key, {value, expiry: maxAge});\n\t\t}\n\t}\n\n\thas(key) {\n\t\tif (this.cache.has(key)) {\n\t\t\treturn !this._deleteIfExpired(key, this.cache.get(key));\n\t\t}\n\n\t\tif (this.oldCache.has(key)) {\n\t\t\treturn !this._deleteIfExpired(key, this.oldCache.get(key));\n\t\t}\n\n\t\treturn false;\n\t}\n\n\tpeek(key) {\n\t\tif (this.cache.has(key)) {\n\t\t\treturn this._peek(key, this.cache);\n\t\t}\n\n\t\tif (this.oldCache.has(key)) {\n\t\t\treturn this._peek(key, this.oldCache);\n\t\t}\n\t}\n\n\tdelete(key) {\n\t\tconst deleted = this.cache.delete(key);\n\t\tif (deleted) {\n\t\t\tthis._size--;\n\t\t}\n\n\t\treturn this.oldCache.delete(key) || deleted;\n\t}\n\n\tclear() {\n\t\tthis.cache.clear();\n\t\tthis.oldCache.clear();\n\t\tthis._size = 0;\n\t}\n\t\n\tresize(newSize) {\n\t\tif (!(newSize && newSize > 0)) {\n\t\t\tthrow new TypeError('`maxSize` must be a number greater than 0');\n\t\t}\n\n\t\tconst items = [...this._entriesAscending()];\n\t\tconst removeCount = items.length - newSize;\n\t\tif (removeCount < 0) {\n\t\t\tthis.cache = new Map(items);\n\t\t\tthis.oldCache = new Map();\n\t\t\tthis._size = items.length;\n\t\t} else {\n\t\t\tif (removeCount > 0) {\n\t\t\t\tthis._emitEvictions(items.slice(0, removeCount));\n\t\t\t}\n\n\t\t\tthis.oldCache = new Map(items.slice(removeCount));\n\t\t\tthis.cache = new Map();\n\t\t\tthis._size = 0;\n\t\t}\n\n\t\tthis.maxSize = newSize;\n\t}\n\n\t* keys() {\n\t\tfor (const [key] of this) {\n\t\t\tyield key;\n\t\t}\n\t}\n\n\t* values() {\n\t\tfor (const [, value] of this) {\n\t\t\tyield value;\n\t\t}\n\t}\n\n\t* [Symbol.iterator]() {\n\t\tfor (const item of this.cache) {\n\t\t\tconst [key, value] = item;\n\t\t\tconst deleted = this._deleteIfExpired(key, value);\n\t\t\tif (deleted === false) {\n\t\t\t\tyield [key, value.value];\n\t\t\t}\n\t\t}\n\n\t\tfor (const item of this.oldCache) {\n\t\t\tconst [key, value] = item;\n\t\t\tif (!this.cache.has(key)) {\n\t\t\t\tconst deleted = this._deleteIfExpired(key, value);\n\t\t\t\tif (deleted === false) {\n\t\t\t\t\tyield [key, value.value];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t* entriesDescending() {\n\t\tlet items = [...this.cache];\n\t\tfor (let i = items.length - 1; i >= 0; --i) {\n\t\t\tconst item = items[i];\n\t\t\tconst [key, value] = item;\n\t\t\tconst deleted = this._deleteIfExpired(key, value);\n\t\t\tif (deleted === false) {\n\t\t\t\tyield [key, value.value];\n\t\t\t}\n\t\t}\n\n\t\titems = [...this.oldCache];\n\t\tfor (let i = items.length - 1; i >= 0; --i) {\n\t\t\tconst item = items[i];\n\t\t\tconst [key, value] = item;\n\t\t\tif (!this.cache.has(key)) {\n\t\t\t\tconst deleted = this._deleteIfExpired(key, value);\n\t\t\t\tif (deleted === false) {\n\t\t\t\t\tyield [key, value.value];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t* entriesAscending() {\n\t\tfor (const [key, value] of this._entriesAscending()) {\n\t\t\tyield [key, value.value];\n\t\t}\n\t}\n\n\tget size() {\n\t\tif (!this._size) {\n\t\t\treturn this.oldCache.size;\n\t\t}\n\n\t\tlet oldCacheSize = 0;\n\t\tfor (const key of this.oldCache.keys()) {\n\t\t\tif (!this.cache.has(key)) {\n\t\t\t\toldCacheSize++;\n\t\t\t}\n\t\t}\n\n\t\treturn Math.min(this._size + oldCacheSize, this.maxSize);\n\t}\n}\n\nmodule.exports = QuickLRU;\n"],"mappings":"AAAA,YAAY;;AAEZ,MAAMA,QAAQ,CAAC;EACdC,WAAWA,CAACC,OAAO,GAAG,CAAC,CAAC,EAAE;IACzB,IAAI,EAAEA,OAAO,CAACC,OAAO,IAAID,OAAO,CAACC,OAAO,GAAG,CAAC,CAAC,EAAE;MAC9C,MAAM,IAAIC,SAAS,CAAC,2CAA2C,CAAC;IACjE;IAEA,IAAI,OAAOF,OAAO,CAACG,MAAM,KAAK,QAAQ,IAAIH,OAAO,CAACG,MAAM,KAAK,CAAC,EAAE;MAC/D,MAAM,IAAID,SAAS,CAAC,0CAA0C,CAAC;IAChE;IAEA,IAAI,CAACD,OAAO,GAAGD,OAAO,CAACC,OAAO;IAC9B,IAAI,CAACE,MAAM,GAAGH,OAAO,CAACG,MAAM,IAAIC,QAAQ;IACxC,IAAI,CAACC,UAAU,GAAGL,OAAO,CAACK,UAAU;IACpC,IAAI,CAACC,KAAK,GAAG,IAAIC,GAAG,CAAC,CAAC;IACtB,IAAI,CAACC,QAAQ,GAAG,IAAID,GAAG,CAAC,CAAC;IACzB,IAAI,CAACE,KAAK,GAAG,CAAC;EACf;EAEAC,cAAcA,CAACJ,KAAK,EAAE;IACrB,IAAI,OAAO,IAAI,CAACD,UAAU,KAAK,UAAU,EAAE;MAC1C;IACD;IAEA,KAAK,MAAM,CAACM,GAAG,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