import{a as h}from"./chunk-FOSWRQ2K.js";import{ga as s,ma as l}from"./chunk-I3FGJX2C.js";import{a as o}from"./chunk-B7YGBANW.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-7WRUISIS.js.map
