function isProfilePage(_0x2c14cf){return/\/in\//['test'](_0x2c14cf);}function isCompanyPage(_0x3c77da){return/\/company\//['test'](_0x3c77da);}chrome['runtime']['onMessage']['addListener']((_0x1705d0,_0x460094,_0x2ceaa8)=>{url=document['URL'];if(_0x1705d0['message']==='html_linkedIn'){const _0x3121a3=document['documentElement']['innerHTML']['toString']();isProfilePage(url)&&_0x2ceaa8({'html':_0x3121a3,'page':'profile'}),isCompanyPage(url)&&_0x2ceaa8({'html':_0x3121a3,'page':'company'});}}),chrome['runtime']['onMessage']['addListener'](_0x1371bd=>{_0x1371bd['action']==='startBatchParsing'&&createLoadingScreen(_0x1371bd['progress']),_0x1371bd['action']==='finishBatchParsing'&&removeLoadingScreen(_0x1371bd['listName']);});const createLoadingScreen=_0x4b71f4=>{const _0x2ad01f=document['createElement']('div');_0x2ad01f['id']='loading-screen',Object['assign'](_0x2ad01f['style'],{'position':'fixed','top':'0','left':'0','width':'100%','height':'100%','display':'flex','flexDirection':'column','justifyContent':'center','alignItems':'center','background':'rgba(255,\x20255,\x20255,\x200.9)','zIndex':'10000'});const _0x2749a7=document['createElement']('h2');_0x2749a7['id']='magic-text',_0x2749a7['textContent']='We\x20are\x20doing\x20our\x20magic,\x20please\x20wait...',Object['assign'](_0x2749a7['style'],{'marginBottom':'20px','fontSize':'20px','color':'#555','textAlign':'center'});const _0x2c0b50=document['createElement']('div');_0x2c0b50['id']='loader',Object['assign'](_0x2c0b50['style'],{'width':'50px','height':'50px','border':'5px\x20solid\x20#ccc','borderTopColor':'#333','borderRadius':'50%','animation':'spin\x201s\x20linear\x20infinite','marginBottom':'20px'});const _0x28d562=document['createElement']('h1');_0x28d562['id']='loading-progress',_0x28d562['textContent']=_0x4b71f4+'\x20profiles\x20parsed',Object['assign'](_0x28d562['style'],{'margin':'0','fontSize':'24px','color':'#333','textAlign':'center'});const _0x89385f=document['createElement']('style');_0x89385f['textContent']='\x0a\x20\x20\x20\x20@keyframes\x20spin\x20{\x0a\x20\x20\x20\x20\x20\x20to\x20{\x20transform:\x20rotate(360deg);\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20',document['head']['appendChild'](_0x89385f),_0x2ad01f['appendChild'](_0x2749a7),_0x2ad01f['appendChild'](_0x2c0b50),_0x2ad01f['appendChild'](_0x28d562),document['body']['appendChild'](_0x2ad01f);},removeLoadingScreen=_0x201581=>{const _0x4a5ba6=document['getElementById']('loading-screen'),_0x3bd4c5=document['getElementById']('loading-progress'),_0x213905=document['getElementById']('loader'),_0x21d985=document['getElementById']('magic-text');if(_0x4a5ba6){if(_0x3bd4c5)_0x3bd4c5['remove']();if(_0x21d985)_0x21d985['remove']();if(_0x213905)_0x213905['remove']();const _0x3e5549=document['createElement']('p');_0x3e5549['innerHTML']='Parsing\x20of\x20list\x20'+_0x201581+'\x20finished.\x20✅\x20<br>\x20If\x20you\x20want\x20to\x20proceed\x20with\x20parsing,\x20please\x20refresh\x20the\x20page.<br>\x20If\x20you\x20want\x20to\x20check\x20parsing\x20results,\x20please\x20navigate\x20to\x20LeadLeans.',Object['assign'](_0x3e5549['style'],{'fontSize':'20px','color':'#333','textAlign':'center','maxWidth':'80%','margin':'20px'}),_0x4a5ba6['appendChild'](_0x3e5549);}};