import{l as a}from"./p-7716c8ae.js";import{g as r}from"./p-1930048e.js";async function o(o){let c=o?await r(o,null):null;try{if(o){await a.removeItem(o)}else{await a.clear()}}catch(a){console.log("Error clearing data from cache with localforage",a);try{if(o){localStorage.removeItem(o)}else{localStorage.clear()}}catch(a){console.log("Error clearing data from cache with LocalStorage",a)}}return c}export{o as c};
//# sourceMappingURL=p-79f46383.js.map