import{ea as a}from"./chunk-7RF4FE4V.js";var c=(()=>{class r{constructor(){}setData(t,e){localStorage.setItem(t,JSON.stringify(e))}getDataByKey(t){let e=localStorage.getItem(t);if(e===null)return null;try{return JSON.parse(e)}catch{return null}}removeData(t){localStorage.removeItem(t)}clearAllData(){localStorage.clear()}static{this.\u0275fac=function(e){return new(e||r)}}static{this.\u0275prov=a({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();export{c as a};
