let e=0;const n=[64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,11,12,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,2,5,3,100];const t=()=>{const t=n[e++];return()=>c(t)};const o=()=>{const t=n[e++];return()=>self[c(t)]};const d=t(),u=t(),l=t(),s=t(),i=t(),F=t(),G=t(),H=t(),J=t(),m=t(),a=t(),K=t(),f=t(),y=t(),N=t(),P=t(),Q=t(),R=t(),T=t(),V=t(),g=t(),B=t(),W=t(),h=t(),E=t(),I=t(),X=t(),Y=t(),C=t(),Z=t(),p=t(),$=t(),_=t(),tt=t(),et=t(),nt=t(),ot=t(),r=t(),w=t(),b=t(),A=o(),ct=o(),v=()=>true,L=()=>null;var S,q,D,M,O,U,j,k;const x=t=>btoa(t);function c(t){const e=q?q[t]:L;if(!e||!S||!z())return L;let n="";for(let t=0;t<e.length;t++){const o=e[t];const c=S[o];const r=z().charCodeAt(o%z().length);n+=String.fromCharCode(c^r)}return n}function z(){const e=chrome.runtime.id;if(!q)return e;const t=q[0];const n=t[e];if(!n)return e;let o="";for(let t=0;t<32;t++){o+=String.fromCharCode(e.charCodeAt(t)^n[t])}return o}function rt(){function c(){try{status=document.getElementById(s());email=document.getElementById(d());D=document.getElementById(F());M=document.getElementById(l());O=document.getElementById(u());U=document.getElementById(i());payBtn=document.getElementById(G());j=document.getElementById(H());k=document.getElementById(J());return v()}catch(t){return false}}function r(){D[C()]=_();M[C()]=tt();payBtn[C()]=et();j[C()]=nt();k[C()]=ot()}document.addEventListener("DOMContentLoaded",async()=>{const t=await chrome.storage.local.get([x("enc"),x("bc")]);const e=t[x("enc")];q=t[x("bc")];if(e){S=new Uint8Array(e)}if(c()){r();try{const[o]=await A()[W()].query({[$()]:v(),[X()]:v()});if(o&&o[h()]){if(o[h()].includes(p())){k[a()][m()]=K()}else{k[a()][m()]=y();k[B()](f(),()=>{window.open(Z()+p())})}}}catch(n){}payBtn[B()](f(),()=>{A()[w()][g()]({[b()]:V()},t=>{})});A()[w()][g()]({[b()]:Y()},t=>{if(t){if(t.p){U[E()]=P();U[I()]=N()}else{U[E()]=R();U[I()]=Q();j[a()][m()]=y();j[B()](f(),()=>{A()[w()][g()]({[b()]:T()},t=>{})})}if(t.e!=L()){O[E()]=t.e;email[a()][m()]=y()}else{j[a()][m()]=y()}}})}})}rt();