self.configManager={getSiteConfig:async({origin:e})=>{return e?{unlock:!1,...await(o=e,new Promise(((e,r)=>{chrome.storage.local.get([o],(r=>e(r[o])))})))||{}}:{};var o},setSiteConfig:async({origin:e,config:o})=>{if(!e)throw new Error("origin is required");var r,i;o.unlock?await(r=e,i=o,new Promise(((e,o)=>{chrome.storage.local.set({[r]:i},e)}))):await(e=>new Promise(((o,r)=>{chrome.storage.local.remove(e,o)})))(e)}};