const r="settings",s={onboardingComplete:!1,interceptEthLimo:!0,interceptW3Eth:!0};async function o(){const t=(await chrome.storage.local.get(r))[r]??{};return t.rpcUrl==null&&Array.isArray(t.rpcUrls)&&t.rpcUrls[0]&&(t.rpcUrl=t.rpcUrls[0]),delete t.rpcUrls,{...s,...t}}async function a(e){const n={...await o(),...e};return await chrome.storage.local.set({[r]:n}),n}function c(e){chrome.storage.onChanged.addListener((t,n)=>{n!=="local"||!t[r]||e({...s,...t[r].newValue??{}})})}export{o as g,c as o,a as s};
//# sourceMappingURL=chunk-DQIhPnbi.js.map
