import{a as h}from"./chunk-YIGUHH4B.js";import{fa as s,la as l}from"./chunk-PVUKHE45.js";import{a as o}from"./chunk-MZPAXKJS.js";var b=(()=>{let e=class e{constructor(){this._localStorageService=l(h)}load(t,r){let i=this._localStorageService.get(t);return i?this._isPlainObject(r)&&this._isPlainObject(i)?o(o({},r),i):i:r}save(t,r){this._localStorageService.set(t,r)}patch(t,r,i){let a=this.load(t,i),n=this._isPlainObject(a)?o(o({},a),r):r;return this.save(t,n),n}clear(t){this._localStorageService.remove(t)}_isPlainObject(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=s({token:e,factory:e.\u0275fac,providedIn:"root"});let c=e;return c})();export{b as a};
//# sourceMappingURL=chunk-IEC7RDL2.js.map
