chrome['storage']['local']['get']({'amazonLinksStatus':[]},async _0x4496fe=>{const _0x3ac69e=_0x4496fe['amazonLinksStatus'];console['log']('amazonLinksStatus',_0x3ac69e);const _0x3e0ee4=document['querySelector']('#table-body');for(let _0x4eb55b=0x0;_0x4eb55b<_0x3ac69e['length'];_0x4eb55b++){const _0x217456=_0x3ac69e[_0x4eb55b],_0x5af2f0=_0x3e0ee4['insertRow'](),_0xc62c4a=_0x5af2f0['insertCell'](),_0x374173=_0x5af2f0['insertCell'](),_0x47fb07=_0x5af2f0['insertCell'](),_0x2450a5=_0x5af2f0['insertCell'](),_0x1605e3=_0x5af2f0['insertCell']();_0xc62c4a['textContent']=_0x4eb55b+0x1,_0x374173['textContent']='';if(_0x217456['url']){const _0xfbe326=document['createElement']('a');_0xfbe326['href']=_0x217456['url'],_0xfbe326['textContent']=_0x217456['url'],_0xfbe326['target']='_blank',_0xfbe326['rel']='noopener\x20noreferrer',_0x374173['appendChild'](_0xfbe326);}_0x47fb07['textContent']=_0x217456['status'],'itemFailed'===_0x217456['status']?_0x47fb07['style']['color']='red':'itemListed'===_0x217456['status']&&(_0x47fb07['style']['color']='green'),_0x2450a5['textContent']=_0x217456['message'],_0x1605e3['textContent']='';if(_0x217456['ebayItemLink']){const _0x250442=document['createElement']('a');_0x250442['href']=_0x217456['ebayItemLink'],_0x250442['textContent']=_0x217456['ebayItemLink'],_0x250442['target']='_blank',_0x250442['rel']='noopener\x20noreferrer',_0x1605e3['appendChild'](_0x250442);}}}),document['querySelector']('#clear')['addEventListener']('click',()=>{chrome['storage']['local']['set']({'amazonLinksStatus':[]},()=>{console['log']('amazonLinksStatus\x20cleared'),window['location']['reload']();});});



