{"version":3,"file":"angular-cache.min.js","sources":["angular-cache.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_1__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","bubbleUp","heap","weightFunc","n","element","weight","parentN","Math","floor","_parent","_interopRequire","obj","__esModule","_classCallCheck","instance","Constructor","TypeError","angular","_keys","collection","keys","key","undefined","hasOwnProperty","push","_isPromiseLike","v","then","_stringifyNumber","number","isNumber","toString","_keySet","keySet","bubbleDown","length","node","nodeWeight","child2N","child1N","swap","child1","child1Weight","child2","child2Weight","BinaryHeap","compareFunc","_this","x","y","Error","peek","pop","front","end","remove","i","removed","removeAll","size","BinaryHeapProvider","$get","CacheFactoryProvider","defaults","capacity","Number","MAX_VALUE","maxAge","deleteOnExpire","onExpire","cacheFlushInterval","recycleFreq","storageMode","storageImpl","disabled","storagePrefix","storeOnResolve","storeOnReject","$q","CacheFactory","cacheId","options","createCache","caches","isString","$$data","$$promises","$$storage","$$expiresHeap","expires","equals","$$lruHeap","accessed","cache","$$id","destroy","clearInterval","$$cacheFlushIntervalId","$$recycleFreqId","removeItem","$$prefix","disable","$$disabled","enable","get","_this2","isArray","_ret","values","forEach","value","isObject","isFunction","item","itemJson","getItem","fromJson","now","Date","getTime","$$deleteOnExpire","$$onExpire","setItem","JSON","stringify","info","created","isExpired","$$maxAge","$$capacity","$$cacheFlushInterval","$$recycleFreq","$$storageMode","keysJson","kSet","put","$$storeOnResolve","$$storeOnReject","getHandler","store","isError","status","data","headers","statusText","reject","exists","index","indexOf","splice","removeExpired","expired","expiredItem","setCacheFlushInterval","self","setInterval","setCapacity","setDeleteOnExpire","setRecycleFreq","setMaxAge","setOnExpire","setOptions","cacheOptions","strict","$$storagePrefix","setStorageMode","shouldReInsert","items","localStorage","e","sessionStorage","touch","val","k","extend","destroyAll","clearAll","removeExpiredFromAll","enableAll","disableAll","touchAll","provider"],"mappings":";;;;;;;;;;CASA,SAA2CA,EAAMC,GAC1B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