import { h } from "./chunk-PT62335L.js"; // node_modules/@arcgis/core/core/ItemCache.js var e = class { constructor(e2, s) { this._storage = new h(), this._storage.maxSize = e2, s && this._storage.registerRemoveFunc("", s); } put(t, e2) { this._storage.put(t, e2, 1, 1); } pop(t) { return this._storage.pop(t); } get(t) { return this._storage.get(t); } clear() { this._storage.clearAll(); } destroy() { this._storage.destroy(); } }; export { e }; //# sourceMappingURL=chunk-OKUFE7TO.js.map