var psEarly=(function(){'use strict';const _0x1c33a7={'matches':['*://'+'pure.app'+'/*','*://'+('pure-app.r'+'u')+'/*'],'runAt':'document_s'+'tart','world':'ISOLATED','main'(){const _0x124707={};_0x124707['type']='INI_PS',chrome['runtime']['sendMessag'+'e'](_0x124707);}},_0x54b9e5=globalThis['browser']?.['runtime']?.['id']?globalThis['browser']:globalThis['chrome'],_0x265468=(..._0x516ec7)=>{console['debug'];};class _0x161f7b extends Event{constructor(_0x22b420,_0x5bb152){super(_0x161f7b['EVENT_NAME'],{}),this['newUrl']=_0x22b420,this['oldUrl']=_0x5bb152;}static ['EVENT_NAME']=_0x9ee1b3('wxt:locati'+'onchange');}function _0x9ee1b3(_0x41d451){return _0x54b9e5?.['runtime']?.['id']+':ps-early:'+_0x41d451;}class _0x364cd5{constructor(_0x255cda,_0x46d87f){const _0x3becf8={};_0x3becf8['ignoreFirs'+'tEvent']=!(0x1c23+-0xfd5+-0xc4e),(this['contentScr'+'iptName']=_0x255cda,this['options']=_0x46d87f,this['abortContr'+'oller']=new AbortController(),this['isTopFrame']?(this['listenForN'+'ewerScript'+'s'](_0x3becf8),this['stopOldScr'+'ipts']()):this['listenForN'+'ewerScript'+'s']());}static ['SCRIPT_STA'+'RTED_MESSA'+'GE_TYPE']=_0x9ee1b3('wxt:conten'+'t-script-s'+'tarted');['isTopFrame']=window['self']===window['top'];['abortContr'+'oller'];['locationWa'+'tcher']=function t(e){let n,i;return{'run'(){null==n&&(i=new URL(location['href']),n=e['setInterva'+'l'](()=>{let t=new URL(location['href']);t['href']!==i['href']&&(window['dispatchEv'+'ent'](new _0x161f7b(t,i)),i=t);},0x233a+0x1564+-0x34b6));}};}(this);['receivedMe'+'ssageIds']=new Set();get['signal'](){return this['abortContr'+'oller']['signal'];}['abort'](_0x52c10c){return this['abortContr'+'oller']['abort'](_0x52c10c);}get['isInvalid'](){return null==_0x54b9e5['runtime']['id']&&this['notifyInva'+'lidated'](),this['signal']['aborted'];}get['isValid'](){return!this['isInvalid'];}['onInvalida'+'ted'](_0x1573fc){return this['signal']['addEventLi'+'stener']('abort',_0x1573fc),()=>this['signal']['removeEven'+'tListener']('abort',_0x1573fc);}['block'](){return new Promise(()=>{});}['setInterva'+'l'](_0x1103ac,_0x14eecd){const _0x5cc0df=setInterval(()=>{this['isValid']&&_0x1103ac();},_0x14eecd);return this['onInvalida'+'ted'](()=>clearInterval(_0x5cc0df)),_0x5cc0df;}['setTimeout'](_0x36a62f,_0x4f6470){const _0x1c8848=setTimeout(()=>{this['isValid']&&_0x36a62f();},_0x4f6470);return this['onInvalida'+'ted'](()=>clearTimeout(_0x1c8848)),_0x1c8848;}['requestAni'+'mationFram'+'e'](_0x579c95){const _0x444480=requestAnimationFrame((..._0x1f96c2)=>{this['isValid']&&_0x579c95(..._0x1f96c2);});return this['onInvalida'+'ted'](()=>cancelAnimationFrame(_0x444480)),_0x444480;}['requestIdl'+'eCallback'](_0x2f3115,_0x268227){const _0x3429bd=requestIdleCallback((..._0x25c6eb)=>{this['signal']['aborted']||_0x2f3115(..._0x25c6eb);},_0x268227);return this['onInvalida'+'ted'](()=>cancelIdleCallback(_0x3429bd)),_0x3429bd;}['addEventLi'+'stener'](_0x1ea35e,_0x39480e,_0x5d8dd0,_0x3d5ce0){'wxt:locati'+'onchange'===_0x39480e&&this['isValid']&&this['locationWa'+'tcher']['run'](),_0x1ea35e['addEventLi'+'stener']?.(_0x39480e['startsWith']('wxt:')?_0x9ee1b3(_0x39480e):_0x39480e,_0x5d8dd0,{..._0x3d5ce0,'signal':this['signal']});}['notifyInva'+'lidated'](){this['abort']('Content\x20sc'+'ript\x20conte'+'xt\x20invalid'+'ated'),_0x265468('Content\x20sc'+'ript\x20\x22'+this['contentScr'+'iptName']+('\x22\x20context\x20'+'invalidate'+'d'));}['stopOldScr'+'ipts'](){window['postMessag'+'e']({'type':_0x364cd5['SCRIPT_STA'+'RTED_MESSA'+'GE_TYPE'],'contentScriptName':this['contentScr'+'iptName'],'messageId':Math['random']()['toString'](0x7*0x3+-0x295*0x6+0xf8d)['slice'](-0x4d*0x6b+0x305*0xc+-0x40b)},'*');}['verifyScri'+'ptStartedE'+'vent'](_0x5c56dc){const _0x36b9c4=_0x5c56dc['data']?.['type']===_0x364cd5['SCRIPT_STA'+'RTED_MESSA'+'GE_TYPE'],_0x2bf714=_0x5c56dc['data']?.['contentScr'+'iptName']===this['contentScr'+'iptName'],_0x396cb2=!this['receivedMe'+'ssageIds']['has'](_0x5c56dc['data']?.['messageId']);return _0x36b9c4&&_0x2bf714&&_0x396cb2;}['listenForN'+'ewerScript'+'s'](_0x431736){let _0x8c51c1=!(-0x136d*0x1+-0x31b+0x1688);const _0x4b536b=_0x482dbf=>{if(this['verifyScri'+'ptStartedE'+'vent'](_0x482dbf)){this['receivedMe'+'ssageIds']['add'](_0x482dbf['data']['messageId']);const _0x117289=_0x8c51c1;if(_0x8c51c1=!(0x13b2*0x1+0x37d*0x9+0x2*-0x198b),_0x117289&&_0x431736?.['ignoreFirs'+'tEvent'])return;this['notifyInva'+'lidated']();}};addEventListener('message',_0x4b536b),this['onInvalida'+'ted'](()=>removeEventListener('message',_0x4b536b));}}const _0x1def96=(..._0x3dac87)=>{console['error'];};return((async()=>{try{const {main:_0x5706fe,..._0xc85d3f}=_0x1c33a7,_0x2cf45f=new _0x364cd5('ps-early',_0xc85d3f);return await _0x5706fe(_0x2cf45f);}catch(_0x5a8f23){throw _0x1def96('The\x20conten'+'t\x20script\x20\x22'+'ps-early\x22\x20'+'crashed\x20on'+'\x20startup!',_0x5a8f23),_0x5a8f23;}})());}());psEarly;