1 Star 0 Fork 0

哇哈哈/KR

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_token.js 40.10 KB
一键复制 编辑 原始数据 按行查看 历史
KingRan 提交于 2023-09-29 12:29 . 更新
/*
变量:
JD_PROXY_OPEN // 代理启用变量,默认不开启(true/false)
JD_PROXY_TUNNRL // 代理池代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool),格式为:http://ip:port
JD_PROXY_URL // API代理地址变量,默认不开启,仅支持 数据格式:txt;提取数量:每次一个,格式为:http://api.xxx.xxx
JD_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改
JD_TOKEN_BLACKLIST // 黑名单 用&隔开 pin值
JD_TOKEN_RETRY // 重试次数 仅针对403重试 默认 3次
根据自行需要设定,脚本定时每25分钟自动执行一次
cron:5/25 * * * *
============Quantumultx===============
[task_local]
#代理缓存Token
0/25 * * * * jd_token.js, tag=代理缓存Token, enabled=true
*/
const $ = new Env('代理缓存Token');
var version_='jsjiami.com.v7';const l1Il1iI1=Ill1IIll;(function(l1i11,II1IiilI,l11iilli,Ii1iiI11,iiIi1lil,li1lI11I,Il111Ii){return l1i11=l1i11>>0x9,li1lI11I='hs',Il111Ii='hs',function(l1IiIi1l,l1lIIIli,Il1Iil1l,I11lI1ll,iliIIliI){const iIiillI=Ill1IIll;I11lI1ll='tfi',li1lI11I=I11lI1ll+li1lI11I,iliIIliI='up',Il111Ii+=iliIIliI,li1lI11I=Il1Iil1l(li1lI11I),Il111Ii=Il1Iil1l(Il111Ii),Il1Iil1l=0x0;const li1llii=l1IiIi1l();while(!![]&&--Ii1iiI11+l1lIIIli){try{I11lI1ll=-parseInt(iIiillI(0x215,'Pmx]'))/0x1*(-parseInt(iIiillI(0x198,'lzrI'))/0x2)+-parseInt(iIiillI(0x28b,'T94X'))/0x3+parseInt(iIiillI(0x28e,'Iod('))/0x4*(parseInt(iIiillI(0x2a1,'Z8$C'))/0x5)+-parseInt(iIiillI(0x19f,'Uwz*'))/0x6*(-parseInt(iIiillI(0x1bd,'KFPl'))/0x7)+-parseInt(iIiillI(0x2b8,'hfs&'))/0x8*(parseInt(iIiillI(0x27c,'lzrI'))/0x9)+-parseInt(iIiillI(0x1ca,'Pmx]'))/0xa+-parseInt(iIiillI(0x1ea,'ux(5'))/0xb*(-parseInt(iIiillI(0x1ee,'T94X'))/0xc);}catch(il1ilili){I11lI1ll=Il1Iil1l;}finally{iliIIliI=li1llii[li1lI11I]();if(l1i11<=Ii1iiI11)Il1Iil1l?iiIi1lil?I11lI1ll=iliIIliI:iiIi1lil=iliIIliI:Il1Iil1l=iliIIliI;else{if(Il1Iil1l==iiIi1lil['replace'](/[dEhJnDBeVyxPwNQWXtUHY=]/g,'')){if(I11lI1ll===l1lIIIli){li1llii['un'+li1lI11I](iliIIliI);break;}li1llii[Il111Ii](iliIIliI);}}}}}(l11iilli,II1IiilI,function(lII1111i,lI1liliI,l1liIl1,I1lilll,iIIIiIIi,IlllIIi,iliI1i11){return lI1liliI='\x73\x70\x6c\x69\x74',lII1111i=arguments[0x0],lII1111i=lII1111i[lI1liliI](''),l1liIl1=`\x72\x65\x76\x65\x72\x73\x65`,lII1111i=lII1111i[l1liIl1]('\x76'),I1lilll=`\x6a\x6f\x69\x6e`,(0x1406a0,lII1111i[I1lilll](''));});}(0x19200,0x52538,IiI1lil1,0xcb),IiI1lil1)&&(version_=IiI1lil1);const Il1i1I1I=$[l1Il1iI1(0x1f7,'hfs&')]()?require('./jdCookie.js'):'',liII1iIl=$[l1Il1iI1(0x182,'P!)Y')]()?require(l1Il1iI1(0x1b7,'y]TY')):'',iiliill=require(l1Il1iI1(0x24f,'LYFd')),l1IillIi=require(l1Il1iI1(0x2ae,'AzLq')),lIilIi11=require('./function/krgetSign'),llIiiIiI=require(l1Il1iI1(0x1f8,'UwiF')),Iil=process[l1Il1iI1(0x212,'hfs&')][l1Il1iI1(0x297,'Ep@%')]||'25';let lIlII11i=parseInt(Iil)*0x3c*0x3e8;const l1II11Il=new l1IillIi(lIlII11i,__dirname+'/function/cache/token.json'),lIlI1Ill=[l1Il1iI1(0x181,'Iod('),l1Il1iI1(0x22e,'3II&')],llIIliIl=lIlI1Ill[IiII1lIi(0x0,lIlI1Ill[l1Il1iI1(0x18c,'T94X')])],iIiIliIl=llIIliIl,l11ilIl1=process[l1Il1iI1(0x207,'dEC9')]['JD_SIGN_KRAPI']||'';let iiIiIi=l1Il1iI1(0x1c6,'P!)Y');const l1Iilil1=process['env'][l1Il1iI1(0x252,'KFPl')]==='true',i1l1iIiI=process[l1Il1iI1(0x219,'DnOa')]['JD_PROXY_TUNNRL'],iiII1l=process[l1Il1iI1(0x233,'y&9j')]['JD_PROXY_URL'],lII1i1iI=process[l1Il1iI1(0x24c,'U]!B')][l1Il1iI1(0x2af,'UwiF')]||l1Il1iI1(0x223,'$POu'),l1llIlII=process['env'][l1Il1iI1(0x279,'@)%l')]||'3';let l1iiIlIi='',l1IIIlII=0x0;const illliI=llIiiIiI[l1Il1iI1(0x25f,'sz)G')](l11ilIl1);$[l1Il1iI1(0x229,'3II&')]=illliI?.['hostname'];let iIl11l1I=![];if(l1Iilil1){iIl11l1I=!![],require(l1Il1iI1(0x1f9,'y&9j'));if(iiII1l){console[l1Il1iI1(0x28c,'Z8$C')](l1Il1iI1(0x1dc,'LYFd')),console[l1Il1iI1(0x1d5,'@)%l')]('☑️\x20代理地址为:'+iiII1l+'\x0a');let IIiIiiiI=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global['GLOBAL_AGENT'][l1Il1iI1(0x245,'3FfY')]=IIiIiiiI['exec'](iiII1l)[0x0]+','+($[l1Il1iI1(0x1f5,')wvW')]||l1Il1iI1(0x278,'Z8$C'))+','+lII1i1iI;}else{if(i1l1iIiI)global[l1Il1iI1(0x1cf,'y]TY')][l1Il1iI1(0x224,'xPEP')]=i1l1iIiI,global[l1Il1iI1(0x221,'3II&')][l1Il1iI1(0x245,'3FfY')]=($[l1Il1iI1(0x238,'U]!B')]||l1Il1iI1(0x1b5,'Pmx]'))+','+lII1i1iI,console['log'](l1Il1iI1(0x22a,'hfs&')),console['log'](l1Il1iI1(0x22d,'6*Q!')+global[l1Il1iI1(0x270,'lzrI')][l1Il1iI1(0x26b,'aRqC')]+'\x0a');else{const i1lIlIi1=l1Il1iI1(0x1f1,'3II&')[l1Il1iI1(0x1bc,'lzrI')]('|');let I111l1iI=0x0;while(!![]){switch(i1lIlIi1[I111l1iI++]){case'0':return;case'1':console[l1Il1iI1(0x29f,'U]!B')](l1Il1iI1(0x1c5,'h3iU'));continue;case'2':console['log']('⚠️\x20当前检测到已开启代理,但未填写代理地址变量');continue;case'3':console[l1Il1iI1(0x2ad,'xPEP')]('\x20请知晓代理地址仅支持代理池模式(auto-proxy-pool)\x0a');continue;case'4':console[l1Il1iI1(0x1ff,'Qt)X')]('\x20API地址变量:export\x20JD_PROXY_URL=\x27http://api.xxx.xxx\x27\x0a');continue;}break;}}}}else{console[l1Il1iI1(0x20b,'aRqC')]('\x20检测当前模式未开启代理,即将退出'),console[l1Il1iI1(0x259,'rYHs')]('\x20开启代理变量:export\x20JD_PROXY_OPEN=\x27true\x27\x20\x0a');return;}console[l1Il1iI1(0x1a9,'A60c')](l1Il1iI1(0x23d,'J$r4')+Iil+'\x20分钟\x0a');let i1IlIill=[],iIllIi='';if($[l1Il1iI1(0x20a,'iN8w')]()){Object['keys'](Il1i1I1I)['forEach'](i1lI1I1I=>{const Ii111i1=l1Il1iI1;i1IlIill[Ii111i1(0x208,'A60c')](Il1i1I1I[i1lI1I1I]);});if(process[l1Il1iI1(0x1ad,'Uwz*')]['JD_DEBUG']&&process[l1Il1iI1(0x200,'2e2Z')]['JD_DEBUG']==='false')console[l1Il1iI1(0x27d,'Pmx]')]=()=>{};}else i1IlIill=[$[l1Il1iI1(0x282,'kys@')](l1Il1iI1(0x260,'y]TY')),$[l1Il1iI1(0x2a9,'Pmx]')]('CookieJD2'),...jsonParse($['getdata'](l1Il1iI1(0x1c7,'6*Q!'))||'[]')[l1Il1iI1(0x21a,'ux(5')](lIlIlil1=>lIlIlil1['cookie'])][l1Il1iI1(0x202,'DnOa')](IIllIl1I=>!!IIllIl1I);allMessage='',message='';let I1ili1iI='';$[l1Il1iI1(0x22b,'Ndlz')]=process[l1Il1iI1(0x2bd,'DsE^')][l1Il1iI1(0x1a3,'h3iU')]||I1ili1iI,l1I111lI(),!(async()=>{const IilIlIII=l1Il1iI1,i1llli1i={'WmisX':function(l1IiI11){return l1IiI11();},'dGUaM':IilIlIII(0x28a,'Ep@%'),'GQkpm':IilIlIII(0x258,'Ep@%'),'GzgfC':'\x20API地址变量:export\x20JD_PROXY_URL=\x27http://api.xxx.xxx\x27\x0a','AMYJM':IilIlIII(0x17f,'Jr]D'),'QKZiG':IilIlIII(0x294,'xPEP'),'PROTy':function(l1iIiIl1,IIiIi1I1){return l1iIiIl1<IIiIi1I1;},'HjeWf':function(liIillIi,i11I111I){return liIillIi===i11I111I;},'mRyeW':function(I1IlIilI,l1l1llIi){return I1IlIilI(l1l1llIi);},'qgCQi':function(iiI1l1Il,i1illi1i){return iiI1l1Il+i1illi1i;},'JUzHJ':'HQJIS','Kteht':function(iil11lIi,IlilIII1){return iil11lIi===IlilIII1;},'cmhFm':'SVIJI','uAYZS':'rMWfI','IRCGY':function(i11ii1i1,i11ilIl){return i11ii1i1==i11ilIl;},'zaxdL':function(IIi1iil1,llll1Iil){return IIi1iil1%llll1Iil;},'YJooK':function(llliIIiI,IiliIII){return llliIIiI+IiliIII;},'pfNYQ':'隧道代理不显示IP'};if(!i1IlIill[0x0]){$['msg']($[IilIlIII(0x231,'2e2Z')],IilIlIII(0x17f,'Jr]D'),i1llli1i[IilIlIII(0x197,'P!)Y')],{'open-url':IilIlIII(0x1c9,'h3iU')});return;}for(let ll1l1Ili=0x0;i1llli1i[IilIlIII(0x284,'xPEP')](ll1l1Ili,i1IlIill[IilIlIII(0x1f6,'LYFd')]);ll1l1Ili++){if(i1llli1i['HjeWf'](IilIlIII(0x25a,'Pmx]'),IilIlIII(0x20e,'LYFd')))try{let IllllllI=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,l1I1ii11=IllllllI[IilIlIII(0x2a0,'PfIl')](Iii11iI['body']);i1I1lli=l1I1ii11[0x0],IIIi1Iii[IilIlIII(0x205,'h3iU')][IilIlIII(0x247,'y&9j')]=IilIlIII(0x1f3,'^H)4')+l1iiI1;}catch(iiiIllli){}finally{i1llli1i[IilIlIII(0x29c,'Ep@%')](li1lII1);}else{iIllIi=i1IlIill[ll1l1Ili];if(iIllIi){$[IilIlIII(0x1b9,'dEC9')]=i1llli1i[IilIlIII(0x183,'8o0f')](decodeURIComponent,iIllIi[IilIlIII(0x192,'xPEP')](/pt_pin=([^; ]+)(?=;?)/)&&iIllIi[IilIlIII(0x295,'y]TY')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$['index']=i1llli1i[IilIlIII(0x275,'dEC9')](ll1l1Ili,0x1),message='',$[IilIlIII(0x257,'xPEP')]=0x0,$['hotFlag']=![],$[IilIlIII(0x19c,'$POu')]='',console[IilIlIII(0x199,'6*Q!')]('\x0a\x0a******开始【京东账号'+$[IilIlIII(0x248,'J$r4')]+''+($[IilIlIII(0x1e8,'DsE^')]||$[IilIlIII(0x191,')wvW')])+IilIlIII(0x1e6,'y&9j'));if(l1Iilil1){if(IilIlIII(0x2a4,'Ep@%')!==i1llli1i['JUzHJ']){if(iiII1l){if(i1llli1i[IilIlIII(0x230,'DsE^')](i1llli1i['cmhFm'],i1llli1i['uAYZS']))lll1l11[IilIlIII(0x1ff,'Qt)X')](IilIlIII(0x217,'kys@'));else{if(i1llli1i['IRCGY'](i1llli1i[IilIlIII(0x1b6,'KFPl')](l1IIIlII,0x14),0x0)){if(IilIlIII(0x1be,'PfIl')!==IilIlIII(0x25e,'3II&')){llIlIlIi['log'](i1llli1i[IilIlIII(0x1af,'aRqC')]),IIlilI[IilIlIII(0x20f,'T3@v')](IilIlIII(0x189,'kys@')),I1llilll[IilIlIII(0x21f,'kys@')](i1llli1i[IilIlIII(0x2a8,'LYFd')]),llII1l1I[IilIlIII(0x259,'rYHs')](i1llli1i[IilIlIII(0x1cd,'Qt)X')]);return;}else await i1llli1i[IilIlIII(0x2a5,'ux(5')](IlI1Il),global[IilIlIII(0x1d3,'xPEP')][IilIlIII(0x20d,'s^Kn')]=i1llli1i[IilIlIII(0x1f0,')wvW')]('http://',l1iiIlIi);}console[IilIlIII(0x1a9,'A60c')](i1llli1i[IilIlIII(0x261,'3FfY')](IilIlIII(0x26d,'dEC9'),l1iiIlIi)||i1llli1i[IilIlIII(0x2b3,'xPEP')]),l1IIIlII++;}}}else{lI111I1i['msg'](Ilil1li1['name'],i1llli1i['AMYJM'],'https://bean.m.jd.com/',{'open-url':IilIlIII(0x294,'xPEP')});return;}}await IiiiI111();}}}})()['catch'](i1l1I=>$[l1Il1iI1(0x269,'$POu')](i1l1I))['finally'](()=>$[l1Il1iI1(0x271,'h$IH')]());async function IiiiI111(){const iI1lIII=l1Il1iI1,lll1l1lI={'JjEUS':function(Illl1lI,li1lIiII){return Illl1lI===li1lIiII;},'FCMZd':iI1lIII(0x290,'3II&'),'DgvRw':function(I1liiiI,l1lIilii,ill1iI1l){return I1liiiI(l1lIilii,ill1iI1l);},'USVBP':function(ii11iill,iI1l1iii){return ii11iill!==iI1l1iii;},'GWMnG':iI1lIII(0x184,'y&9j'),'AYMhc':iI1lIII(0x1d7,'l^Eu'),'KDHKg':function(i11ii1l1,II1lilll){return i11ii1l1==II1lilll;},'NYwKE':function(IliIIi1l,iIilIil){return IliIIi1l==iIilIil;},'BMxQC':iI1lIII(0x21d,'s^Kn'),'VeybZ':function(ii1l1l11){return ii1l1l11();},'gukWi':function(Iilii1ii,IliI1iil){return Iilii1ii+IliI1iil;},'xUFsN':iI1lIII(0x2bc,'Uwz*'),'hHVTC':function(IIIlI1I1,iiiilli1){return IIIlI1I1==iiiilli1;},'feQHN':function(lI111ii,Ili1llii){return lI111ii+Ili1llii;},'yhcWi':iI1lIII(0x1e2,'KFPl'),'AcfTY':'ifvxQ','aVERh':function(I11l11ii,l1i1i11i){return I11l11ii+l1i1i11i;}};try{let iIII1III='';$[iI1lIII(0x27a,'aRqC')]=![],$[iI1lIII(0x24b,'T3@v')]=![],$[iI1lIII(0x276,'Z8$C')]=![],$['token403num']=0x0,iIII1III=await lll1l1lI[iI1lIII(0x196,'Pmx]')](IiI1lilI,iIllIi,iiIiIi);if(!iIII1III&&!$[iI1lIII(0x262,'dEC9')]&&l1Iilil1)for(let iilIi1il=0x0;iilIi1il<0xc;iilIi1il++){if(lll1l1lI[iI1lIII(0x18e,'dEC9')]('LBNLU',lll1l1lI['GWMnG'])){if(iiII1l){if(lll1l1lI['AYMhc']===iI1lIII(0x1ae,'J$r4'))l1llllI['flag']=!![];else{if(lll1l1lI[iI1lIII(0x2b1,'sz)G')](iilIi1il,0x4)||lll1l1lI[iI1lIII(0x26c,'sz)G')](iilIi1il,0x8)||lll1l1lI['KDHKg'](iilIi1il,0xc)||$[iI1lIII(0x2a2,'aRqC')]){if(lll1l1lI[iI1lIII(0x1b1,'Gyhe')]('WPbfF',lll1l1lI[iI1lIII(0x1fa,'h3iU')]))i1I11Ill['flag']=!![];else{console['log']('🤬\x20重试好像不能解决,那就换个新的IP吧!'),await lll1l1lI['VeybZ'](IlI1Il),global[iI1lIII(0x267,'dEC9')]['HTTP_PROXY']=lll1l1lI['gukWi'](lll1l1lI[iI1lIII(0x1c4,'A60c')],l1iiIlIi),l1IIIlII=0x0,$[iI1lIII(0x1ba,'xPEP')]++;if(lll1l1lI[iI1lIII(0x263,'l^Eu')]($[iI1lIII(0x23c,'h3iU')],l1llIlII))break;}}console[iI1lIII(0x292,'Gyhe')](lll1l1lI['feQHN']('📶\x20',l1iiIlIi)||lll1l1lI['yhcWi']),console['log'](iI1lIII(0x286,'rYHs')+(iilIi1il+0x1)+iI1lIII(0x272,'aRqC')),iIII1III=await lll1l1lI[iI1lIII(0x1cb,'lzrI')](IiI1lilI,iIllIi,iiIiIi);if(iIII1III){if(lll1l1lI[iI1lIII(0x2aa,'Uwz*')](iI1lIII(0x1e0,'PfIl'),lll1l1lI[iI1lIII(0x1da,'PfIl')]))$[iI1lIII(0x27a,'aRqC')]=!![];else{iIl1lIli['keys'](lIIIi1)[iI1lIII(0x1a4,'aRqC')](IlIIiIII=>{const IiIIIiIi=iI1lIII;IIilIiIl[IiIIIiIi(0x1d2,'hfs&')](l1Il1Ii[IlIIiIII]);});if(iiiIl1l1[iI1lIII(0x1db,'AzLq')][iI1lIII(0x255,'lzrI')]&&lll1l1lI[iI1lIII(0x188,'^H)4')](liIIIil1['env'][iI1lIII(0x1ce,'LYFd')],lll1l1lI[iI1lIII(0x1b3,'y]TY')]))IllII1[iI1lIII(0x1cc,')wvW')]=()=>{};}}l1IIIlII++;}}else{if(i1l1iIiI){console[iI1lIII(0x228,'Iod(')]('😭\x20Token没有成功获取,第\x20'+lll1l1lI[iI1lIII(0x26e,'bYXa')](iilIi1il,0x1)+iI1lIII(0x1e4,'Ndlz')),iIII1III=await IiI1lilI(iIllIi,iiIiIi);iIII1III&&($[iI1lIII(0x28f,'Ndlz')]=!![]);$[iI1lIII(0x23b,'rYHs')]++;if($[iI1lIII(0x2ac,'Gyhe')]==l1llIlII)break;}}if($[iI1lIII(0x280,'bYXa')])break;}else iii11iI1[iI1lIII(0x259,'rYHs')]('🚫\x20getToken\x20API请求失败\x20➜\x20Response\x20code\x20'+(illI1li[iI1lIII(0x1dd,'Gyhe')][iI1lIII(0x285,'$POu')]||'')+'\x20('+(l1lll11['response'][iI1lIII(0x1d0,'^H)4')]||'')+')'),lI1Il11l[iI1lIII(0x1fc,'T3@v')][iI1lIII(0x1fd,'2e2Z')]==0x193&&(i111l1I1['token403']=!![]);}}catch(IIliil){console[iI1lIII(0x213,'Jr]D')](IIliil);}}function l1IlIIll(iIlllli='',Iiiill11){const iiiIIIlI=l1Il1iI1,liiIii1={'BQlSJ':function(liil11il,l11IlIII){return liil11il>l11IlIII;}};let lIiIiili=Iiiill11[iiiIIIlI(0x1d8,'lzrI')](iIlllli);if(lIiIiili&&liiIii1[iiiIIIlI(0x1fe,'@)%l')](lIiIiili['length'],0x0))return lIiIiili[0x0][iiiIIIlI(0x2b5,'![B0')]();return'';}function lilIIlil(ii1iii1i,IlliiIi1){const Ill1ilil=l1Il1iI1,lIIi1lii={'QJaXH':function(Il1i1lI1,IlliII1){return Il1i1lI1>=IlliII1;},'YJuNC':function(ilIliIil,ii11i){return ilIliIil<=ii11i;}};let IIl1III1=new Date()[Ill1ilil(0x1c8,'DnOa')]();if(lIIi1lii['QJaXH'](IIl1III1,0x0)&&lIIi1lii['YJuNC'](IIl1III1,0x17))return ii1iii1i;return ii1iii1i+'_'+IlliiIi1;}function IiII1lIi(IlIl1ll1,II1Iiiil){const i1I1=l1Il1iI1,I1lIIil={'lRWky':function(IilI1ill,Ii1IIi1I){return IilI1ill+Ii1IIi1I;}};return I1lIIil[i1I1(0x204,'y]TY')](Math[i1I1(0x27e,'hfs&')](Math['random']()*(II1Iiiil-IlIl1ll1)),IlIl1ll1);}function Ill1IIll(_0x7fe0e6,_0x2c6e89){const _0x2ca99c=IiI1lil1();return Ill1IIll=function(_0x251312,_0x1ff062){_0x251312=_0x251312-0x17e;let _0x44e93a=_0x2ca99c[_0x251312];if(Ill1IIll['mlOFio']===undefined){var _0x22fb82=function(_0x5d200d){const _0x545e2f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4f5551='',_0x34bd61='';for(let _0x338b38=0x0,_0x5e00db,_0x21a246,_0x7248=0x0;_0x21a246=_0x5d200d['charAt'](_0x7248++);~_0x21a246&&(_0x5e00db=_0x338b38%0x4?_0x5e00db*0x40+_0x21a246:_0x21a246,_0x338b38++%0x4)?_0x4f5551+=String['fromCharCode'](0xff&_0x5e00db>>(-0x2*_0x338b38&0x6)):0x0){_0x21a246=_0x545e2f['indexOf'](_0x21a246);}for(let _0x20a620=0x0,_0x1f263c=_0x4f5551['length'];_0x20a620<_0x1f263c;_0x20a620++){_0x34bd61+='%'+('00'+_0x4f5551['charCodeAt'](_0x20a620)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x34bd61);};const _0x314c14=function(_0x21912e,_0x2186f7){let _0x54b636=[],_0x520591=0x0,_0x28bb6c,_0x85ca8e='';_0x21912e=_0x22fb82(_0x21912e);let _0x1ec3c9;for(_0x1ec3c9=0x0;_0x1ec3c9<0x100;_0x1ec3c9++){_0x54b636[_0x1ec3c9]=_0x1ec3c9;}for(_0x1ec3c9=0x0;_0x1ec3c9<0x100;_0x1ec3c9++){_0x520591=(_0x520591+_0x54b636[_0x1ec3c9]+_0x2186f7['charCodeAt'](_0x1ec3c9%_0x2186f7['length']))%0x100,_0x28bb6c=_0x54b636[_0x1ec3c9],_0x54b636[_0x1ec3c9]=_0x54b636[_0x520591],_0x54b636[_0x520591]=_0x28bb6c;}_0x1ec3c9=0x0,_0x520591=0x0;for(let _0x195a54=0x0;_0x195a54<_0x21912e['length'];_0x195a54++){_0x1ec3c9=(_0x1ec3c9+0x1)%0x100,_0x520591=(_0x520591+_0x54b636[_0x1ec3c9])%0x100,_0x28bb6c=_0x54b636[_0x1ec3c9],_0x54b636[_0x1ec3c9]=_0x54b636[_0x520591],_0x54b636[_0x520591]=_0x28bb6c,_0x85ca8e+=String['fromCharCode'](_0x21912e['charCodeAt'](_0x195a54)^_0x54b636[(_0x54b636[_0x1ec3c9]+_0x54b636[_0x520591])%0x100]);}return _0x85ca8e;};Ill1IIll['tmRxuY']=_0x314c14,_0x7fe0e6=arguments,Ill1IIll['mlOFio']=!![];}const _0x5bf7a9=_0x2ca99c[0x0],_0x310364=_0x251312+_0x5bf7a9,_0x2e7eb1=_0x7fe0e6[_0x310364];return!_0x2e7eb1?(Ill1IIll['MmhDqd']===undefined&&(Ill1IIll['MmhDqd']=!![]),_0x44e93a=Ill1IIll['tmRxuY'](_0x44e93a,_0x1ff062),_0x7fe0e6[_0x310364]=_0x44e93a):_0x44e93a=_0x2e7eb1,_0x44e93a;},Ill1IIll(_0x7fe0e6,_0x2c6e89);}async function IiI1lilI(III1iIii,iil1liII){const li1li1i=l1Il1iI1,l1lIiiii={'DPmej':function(Illiiii1,l1i1Ill){return Illiiii1===l1i1Ill;},'OciCU':'xNCvE','kEIYL':function(ilI1i1i1,iiliII1i){return ilI1i1i1>=iiliII1i;},'lJukC':function(I1I1IilI,iillI1I){return I1I1IilI>iillI1I;},'JwtVZ':'\x20检测当前模式未开启代理,即将退出','dkJbL':li1li1i(0x1f2,'ux(5'),'eeUGz':li1li1i(0x19d,'Ndlz'),'EfdjL':function(ilIiIilI,I1IIIlIi){return ilIiIilI===I1IIIlIi;},'HmZzW':li1li1i(0x226,'Z8$C'),'VFopX':function(i1ll1Ili,Il1I1Ili){return i1ll1Ili==Il1I1Ili;},'NQHDJ':function(I1i1iI11,lll1III1){return I1i1iI11!==lll1III1;},'RqEJA':'VYkks','NYHkP':function(li1III11,l1i11IlI){return li1III11||l1i11IlI;},'smKQW':function(ilI1llil,i1ilII1I){return ilI1llil*i1ilII1I;},'gojcv':function(IlII1iIl,i1i1llIl){return IlII1iIl-i1i1llIl;},'aURRO':function(llIlill1,Iil1li,li1IlI){return llIlill1(Iil1li,li1IlI);},'zBaJc':function(ilII1li1,llIIiill,I1l1iI1){return ilII1li1(llIIiill,I1l1iI1);},'XoKTN':li1li1i(0x21e,'![B0'),'dLocn':li1li1i(0x1d1,'y&9j'),'eClsw':'wHXRh','bzMHY':li1li1i(0x2ab,'3II&'),'yalQZ':li1li1i(0x1e1,'ux(5'),'BxIAT':'application/x-www-form-urlencoded','jbTEl':li1li1i(0x22f,'Pmx]'),'pNueK':li1li1i(0x274,'l^Eu'),'rhzwK':li1li1i(0x246,'h$IH'),'yJkKj':li1li1i(0x1bb,'6*Q!'),'tQMPU':function(lIIlIiIi,liIi1111){return lIIlIiIi!==liIi1111;},'lpMUk':li1li1i(0x1aa,'AzLq'),'sutnn':li1li1i(0x27b,'Ep@%'),'gdyFi':'zxFHJ'};async function I1lliiii(IlIiIIl){const Ii1IiiIi=li1li1i;if(l1lIiiii[Ii1IiiIi(0x1ef,'T3@v')](l1lIiiii[Ii1IiiIi(0x1df,'^H)4')],l1lIiiii[Ii1IiiIi(0x268,'AzLq')]))return new Promise(Ii1111l=>setTimeout(Ii1111l,IlIiIIl));else lIIIlil['push'](IilIIl1l[i1II1i1I]);}let I1ll1l1i=l1lIiiii['aURRO'](l1IlIIll,III1iIii,/(?<=pt_pin=)([^;]+)/);if(I1ll1l1i){let lIill1I=l1lIiiii['zBaJc'](lilIIlil,I1ll1l1i,iil1liII);token='';if(l1lIiiii['EfdjL'](token,'')){if(li1li1i(0x23e,'PfIl')!==l1lIiiii[li1li1i(0x1a7,'A60c')]){let IlIIll1=new iIll1IlI()[li1li1i(0x1e7,'aRqC')]();if(l1lIiiii[li1li1i(0x1d9,'Qt)X')](IlIIll1,0x0)&&IlIIll1<=0x17)return ilIlIli;return i1liI1I1+'_'+llIlI1ll;}else{let iI1ii1ii=await lIilIi11(l1lIiiii[li1li1i(0x1b0,'A60c')],{'url':iil1liII,'id':''});if(iI1ii1ii){if(l1lIiiii[li1li1i(0x235,'Z8$C')]==='URZhb')I1IiIilI=llil1I11[li1li1i(0x2be,'3FfY')];else try{l11ilIl1?l1lIiiii[li1li1i(0x264,'8o0f')]!==li1li1i(0x2bb,'kys@')?body=iI1ii1ii[li1li1i(0x2a3,'Jr]D')][li1li1i(0x1de,'Qt)X')]:(iiliIiiI=!![],Illl1ili[li1li1i(0x19a,'kys@')](Il1l1III,-0x1,IIiill1l[I1Il1il])):body=iI1ii1ii[li1li1i(0x1ec,'xPEP')];const Il111Iil=await iiliill[li1li1i(0x190,'DnOa')](li1li1i(0x1c3,'J$r4'),{'headers':{'Host':l1lIiiii[li1li1i(0x1c0,'y]TY')],'Content-Type':l1lIiiii[li1li1i(0x254,'PfIl')],'Cookie':III1iIii,'User-Agent':l1lIiiii[li1li1i(0x239,'ux(5')],'Accept-Language':l1lIiiii[li1li1i(0x2b6,'h3iU')],'Accept-Encoding':l1lIiiii[li1li1i(0x18d,'Qt)X')]},'body':body,'timeout':0x7530})['catch'](async IliIli1l=>{const lI1iIlli=li1li1i;if(l1lIiiii['eeUGz']!==l1lIiiii[lI1iIlli(0x185,'hfs&')])liIiIl1i();else{if(IliIli1l[lI1iIlli(0x237,'sz)G')]){if(l1lIiiii[lI1iIlli(0x1b2,'P!)Y')](l1lIiiii[lI1iIlli(0x244,'xPEP')],l1lIiiii[lI1iIlli(0x265,'Iod(')]))console[lI1iIlli(0x20b,'aRqC')]('🚫\x20getToken\x20API请求失败\x20➜\x20Response\x20code\x20'+(IliIli1l[lI1iIlli(0x201,'Ndlz')][lI1iIlli(0x1a2,'l^Eu')]||'')+'\x20('+(IliIli1l[lI1iIlli(0x29b,'y&9j')]['statusMessage']||'')+')'),l1lIiiii[lI1iIlli(0x232,'sz)G')](IliIli1l['response']['statusCode'],0x193)&&($[lI1iIlli(0x1e5,'i**v')]=!![]);else{let iI1IiliI=IIl1I1[lI1iIlli(0x25c,'3FfY')](lliII1II);if(iI1IiliI&&l1lIiiii[lI1iIlli(0x18b,'3II&')](iI1IiliI[lI1iIlli(0x1e3,'T3@v')],0x0))return iI1IiliI[0x0][lI1iIlli(0x195,'^H)4')]();return'';}}else{if(IliIli1l[lI1iIlli(0x1d4,'P!)Y')][lI1iIlli(0x1ed,'h3iU')]){if(l1lIiiii[lI1iIlli(0x222,'s^Kn')](l1lIiiii[lI1iIlli(0x24e,'iN8w')],l1lIiiii[lI1iIlli(0x2ba,'U]!B')])){ii11iIiI['log'](l1lIiiii[lI1iIlli(0x24a,'Iod(')]),I1Illili[lI1iIlli(0x28d,'y&9j')](l1lIiiii['dkJbL']);return;}else console[lI1iIlli(0x21c,'y]TY')](lI1iIlli(0x287,'iN8w')+(IliIli1l[lI1iIlli(0x253,'Ep@%')][lI1iIlli(0x26f,'AzLq')]||'')+'\x0a');}else console[lI1iIlli(0x2b4,'3II&')]('🚫\x20getToken\x20API请求失败\x0a'+l1lIiiii['NYHkP'](IliIli1l,'')+'\x0a');}}});if(Il111Iil&&l1lIiiii[li1li1i(0x2b9,'l^Eu')](typeof Il111Iil,l1lIiiii['yJkKj'])){if(Il111Iil['body']){if(l1lIiiii[li1li1i(0x288,'8o0f')](li1li1i(0x209,'Uwz*'),l1lIiiii['lpMUk'])){let iII1lIiI=JSON[li1li1i(0x1bf,'![B0')](Il111Iil[li1li1i(0x1a8,'ux(5')]);if(l1lIiiii[li1li1i(0x243,'s^Kn')](iII1lIiI[li1li1i(0x19e,'kys@')],'0'))l1lIiiii['NQHDJ'](l1lIiiii[li1li1i(0x24d,'Jr]D')],li1li1i(0x249,'AzLq'))?(token=iII1lIiI['token'],console[li1li1i(0x211,'hfs&')](li1li1i(0x1a6,'Ep@%')+token),l1II11Il['put'](lIill1I,token,lIlII11i)):lI1i1iI1[li1li1i(0x1a5,'![B0')](li1li1i(0x256,'ux(5'));else l1lIiiii[li1li1i(0x21b,'KFPl')](iII1lIiI[li1li1i(0x236,'hfs&')],'3')&&l1lIiiii[li1li1i(0x293,'rYHs')](iII1lIiI['errcode'],0x108)?(console['log']('🚫\x20getToken\x20API请求失败\x20➜\x20账号无效'),$[li1li1i(0x193,'rYHs')]=!![]):l1lIiiii[li1li1i(0x2b7,'LYFd')](li1li1i(0x214,'rYHs'),l1lIiiii[li1li1i(0x281,'kys@')])?console['log']('🚫\x20getToken\x20API接口返回异常\x20➜\x20'+JSON[li1li1i(0x25b,'y]TY')](iII1lIiI)):Ill1111I[li1li1i(0x1f4,'s^Kn')](llIIiI);}else return IIiIilIl[li1li1i(0x20c,'h3iU')](l1lIiiii[li1li1i(0x1eb,'Z8$C')](liii1iIl[li1li1i(0x210,'h3iU')](),l1lIiiii[li1li1i(0x186,'![B0')](l1iiiiI,iII1iiI1)))+iIIIiiI1;}else console[li1li1i(0x20b,'aRqC')]('🚫\x20getToken\x20API请求失败\x20➜\x20接口返回为空');}}catch(iIilII11){console[li1li1i(0x27d,'Pmx]')]('🚫\x20getToken\x20API在处理请求时遇到了错误');}}else console[li1li1i(0x240,'i**v')](li1li1i(0x29a,'l^Eu'));}}else console['log'](li1li1i(0x218,'3FfY'));}return token;}function IiI1lil1(){const iI11iII1=(function(){return[...[version_,'EBxjhPsUjHihaydmnwiN.JQVcEoDHXmEYt.Wv7eP==','WOv0lrv6W7SuW4pdLW','W67cJ0xcIa','W7pcOSooWO/dPwO3W5FcK8oV','W5nrnIZdOW','vSknWRePkgRcOSkh','WRvVmbD9W7K3W6e','W7RcKgpcUGe','gCoKs8o6WPlcPmo1','W77dPmk1mbK','umozsgql','BvbXy8kd','bCoaFSoHWOW','mmohAmoxWRtcGCoeWP0clZxcLq','W5r4trtcKa','WOmZWOOnW6tdIW','omkpWPDuW54xEa','f8kXz8kaEJ1VdSkeWPe','Amk1WRqrca','8kkHVqC','hSk2W4G5WQm','W7L0qc4','WPagW5RcVI4dqmk1sgtcUCkw','mKlcO1K','F+AVHoMhVUISHq','W4LYWRxcGWNcHq','W6ZdHmooldTRbCoaWPFcQ8oiWPHaWOC','bSoSzmoeWPW','WRqrW6JcGCoEcWL7','WOGYW5FcPCoZ','W7fhWRhdISkbcqfMvM3dPG','B3yiW4BdKmouAaldPL1HW4hdNI0','oCkjuSk3','WR5gydpcPG','W6z6WQddJWikAmkWFvS','WPbQWOa','W4xdLSkNvSoG','rCkcpHLeBq','gCkmW6Wm','AZpcImkdyG','AZlcHCkHASoFha','WOeQWRqKmMO','wCo2bZpdQG','WPWOWOW8W6pdIL9bW4tcLW','8k+6PgBdJmooqCk2W7tMSQpMNA3MIlFLI7NOJ4BLJzRVVltNRB41','8lIiIhTzv1jTz8kPA27dT8oPfaZORk3MSkBLPy3OTRtdMa','rSoYshWh','gSkNWOTKWPZcJ8kf','4PMn77ILm+w8OEwkJEAJTUA0HEwkSUw3GEw8VEwqI+s4TEErUE+8HUs9GoAEI+wHVUwhMUs7MUErHowFVEwFN+wmIUMeMW','WRFcUh1aW6/dKMfRF8owx8osva','WQWrW6q','tCotfG','faKElCoSW7JcP3LPE8kZ','rCkhmWO','W55IfXldOq','b2FdRJNdJGRcISoo','W5VcJmoa','b8oViSoYW60','yCoqpbFdOfijWOWNW7NcUSk8y8o+vdCLn8kPnmkGW7W','WPTHkX98','W7ddGI9DwG','WQDUtdhcGxugW4DSDgRcGJPyumoGwq','WOPYomknDW','j8oFfCojW6m','8lQ4H8odaZ9XiSkcWR/cGmkDW4K8W6BcHEITPEAWRUMvN+ISM8kO4PY6hoEUP+wsG+ImU+wmHowNJoI1La','u8ozaSklW4dcPHi8','WRPhEGhcMa','WQabBSklW7K','W5npCaFcMSo5W5GfdSkK','xSkmlG','W77dPMGe','W7vhWRBcK8oGrK0jhq','k8kkwmk1s1KnCG','gCkvWRmG','WOf7sGhcMq','WPLbFCkYW5G','WQRcQd1tW4lcPW1pW6xcRSk2W5BcTq','WPWzESkeW5O','gmk7WOHaW5i','WPTGWPpcK8o6aSkn','WPL8c8kGuW','W5v5pXhdGa','W4pcJmomW7ldSgmkymosWRWe','zCollW','WRu0qIlcQ8okW74JoCktW5WQiCozW7RcPmkQyCkBWOf4WR4','W7iWB8k6W5tcTCoRhc1qBq','WR9nfCoQW5S','BCkOWOSrkG','nwRcIvJcUG','ECocbJ7dGG','W5rSha','WQhdVKHI','neBdTdFdRa','gSkmWODAW7m','WPlcGSo+cCkQoCktWRzIEmon','W5pdISkhdHy','ymksdbNcNW','tXNcNCk8CG','WRTIoSkfoMNdRa','W4b5WQ0','W6NcMetcKG','ytnZWRerydaPuW','44gT5OYK56E944gq6k6A5ysM6i+P5y2kESo5kmkcW5ZdUSoj55MI5OY55l+155ACWQZcOW06WR8n55I95lM45lIR566w5yMD6iYs5y2Z','a8otFgdcS8kiW7rdexG','tuLFACoUWP3dRhvJESoFgSkpAcCRWPOzW5Xzx1ldI8ooWOWvlMNdQq','WOyAwmkcW4OP','x8oXFeKf'],...(function(){return[...['zCoqkCkoW4u','W4BdN8kDFSoO','WRldO0TSWP4','BSorbSoKhsDzlmkMWQbg','AdzzWO8R','4PQSD+ISHUECOoAzMos5IoErU+wCIEwFKUs6RUAxTUAoS+s5PEEqQEAXHUAQJ+w9GSkBBmotW5aloCojWOhdTIlcL2xdU2/cJCo8W5ldHG','dIhdM8ot','W5rjdGRdHW','W6RdQYmtWQVcGG','WOCTWQioW6a','iSoyCCoxWQu','gmkPFmkszcfIamkBWO1kW4i','WRJcIG/dQG','mt3dL8opWRrEWQxcQW','zmofpatdUW','lmoMkSo3W4zdWR0','W5OyuCkxW7dcHSospry','vI51WRC','WRHIWPhcPCoS','WR4ItmkeW6K','W6zYWQldIc4NtSkfy1m','W7ZcOSoh','FYFcNCkSAmoo','WRWeW4/cUs4','WOe1WO4JW5JdMhfl','uCkQirLO','BZJcLCkG','W6SIEmommaFcGSoikYnO','W5ldHMaVWQm','eN3dUsddGa','W6xdMmkcec92nCkcWRdcGa','dKZdNGBdQctcHCoeiLxdRh0gW6lcSdSczG','oCkkqCkvra5v','WRNdO0y','8ysiPdpMNz7LN7dNVkxLRjBdLLXwqCk45OMV5yQvpmkR','WOvbeSo1W5q','WQXdCmk4','WRfbpG','W5zXCbdcNq','W4tdN8k8','t8kenq','WRz4oa','WQapWP4cgq','o8kIzSkXAa','WRLInSocW7q','W6lcSmoXW5xdJG','WQOpCSkhW6i','WRbdeIzW','W7hdQmkpyCo6','W408W5xdMCkQqmouomkGzSke','b8kJWODKWRe','W5GVlbL6W7GZW4RdMSoAFCkB','W6ZcKLtcJWNdG8kI','iSo4qSoNWRVcRmo2WRK','FColiWldVvWwWPaRW6NcTG','W7/cR8okWPZdO2W','WQq6W7NcLrS','tmoWW4LYWPlcTCkUW5JdUa','W7ddJeaQWPu','WQxdRvn8WO0','WO9HmY1o','tSodW740nd8lW5b7','qCkPWROxnq','WPOUWQW9iJvldarXWOtcVhJdG8ofWR3cPgu7BtfilG0spqqGWOrHlbVdVCoJW7hcJSoFW4eCwCkXWOJdItNdRqBdKqnpWOBcLCoBASoVWPeRWPpdSmoI','WQv7h8osW5q','4PUKkos5OUErLoAZH+woT+MeJ+++KbHVW5btn8oDW5W4fw3dO3BdRmkKW7TdemoTm8oBuwObWPxdGLZdQr0oW7VdUsn5b17dV1TUrW','WOCDySkDW512aryTW6pcSwasWPNdRsRcUwdcOg7cU0pcKeK5W4baWRFcVxpcGW','W5pcOSopWPldQx0WW4JcPq','WQ/cGaJdLSkzWQaDW4W','lhZdTsldLfxdR8kLh3ldGvjRW4tdKHG1hmoqs8ooW5m','W403W5/dGCkPtSoCzCoqd8oNp8of','WPmTW6pcRHG','cchdLq','WRi/WR8FW6G','fCkUWRX0W7OHthq','WRfmed5vW5aIW6tdQCo2vCk2','usH9WQ4nDJCieSklg3BcSq','smopb8k0W43cRHqQW4ZcSmkVW71u','W5pdJ8k7uq','tSoObYxdKIr5W6icW5NcLCkg','WP0mzCkDW4eIxvW','sv0W','WPXknbDU','W7ddNCkBhdm','WRiYW7dcNW','WP4aWPeGW6C','W5RdVwSZWQS','W751uG','4PMo77ULW4nXW68Q5zYP5z2Z5lUj55o95Bw05B6B5zcY77Yl','W4xcHSouW6FdStLjnG','WPyQWRypW47cRrXXhmoZ','Bt91WPKT','W7ldUhSFWQm','WQ9CFCoVW61VWPujg1JcKCoG','6zUA6ykr5lIC55cg5lUW5PUf56EEW5BdNa','W7hcSGtcTIDZ','a+AVIUMgN+IUUa','W7fnwGKZF8oSpG','c8kww8orWOxdOKTZWOxdMW','omkar8kysHHpmG','W4T+WRJcJZpcJcbP','fCkQW6yaWRe','W78EiSo5WRDWW4Cdq2JcT8oLla','WRmtW4JcTCoN','A8ollb4','jMFdPsS','WRtcUHC7WO7cHIbw','W5NcHWFcTdK'],...(function(){return['pqtdNCosWRe','WOP/sb3cTthdQZzq','4PMUdow8LowtRUs5O+ErH+wmP+MgOU+8R17cHSo9fWlcHa7dJCoOFmoaWOD6DhLHWRpdUapcUSo2eSoinwBcN8otmwK','sIHOWQPckLu','zeFdLW','dchdGCojWPrEWQxcQW','m8kpWO1xW4Sl','W4RdICkgvSo2eG','WPzBvSkbW7xcICopjW1Mg8kiWR/dJxVdUmkSqqa','rSoqhSkzW47cPeW4W4JcTmk1W6yjWONdHWuTW5BcUZpcLmoa','bKxdUqpdPa','W7NdNuRcRSooWPSDW6BdVmkNFG','W6/cSHNcOtX1pxi','BXVcR8kGcHVcO8kyWOpcVW','z2m7W4hdLq','WPKQWR8','EqhcUa','uCkoir1oCuRdLG','WQ7cJbddQSktWQC','W4lcUmoLWQNdKW','WPPscbDT','a0tdJHddPIpcN8oloLldRMG','mcZdImo3WPa','eSoLuq','WQ1BkSoj','WQv7fmknra','W7tdKbvrvKm','m8kkva','iMtdRJ3dLq','qhZdPmkKWRSSe8kIdCoB','kCk+WPv3W5m','W7hcUa0','nMNdRZBdIai','W4/dLCkV','W4BdLmk+','eCkBWQa','omoXamoqW6S','W48YW57cGSocj8k5wSoW','tmogW7eZaIauW5TT','8jYsOCor5Bs36k+W5y295P2r5zYj576b5AYZWO3dNCoTsKJcPa','8l2GGqdLTjNORPpLJAhMN6/LNlxNVBdLRQWGWPpdUKXpFW','WQ3cIWO','WQnnza','oCksWPjLWPC','WPPVoa','x3JdKSksWQi','WOhdV2bmWRS','ydJcLG','W6znxGC0lG','W79pncpdHqhcGaSNWQKfW7e','rNNdUmkWWQ4','W55UW5PMWQBcLYWaWPhdNGKmimonW4CEowG0ECk+','qCoWhdFdJdH0W6WDW4u','WPjooCkgtq','WPK9W7dcImof','jfVdUmoTtYNcOCktWOtcVmof','svjm','W5bScbxdQIZcSI8','4PQY77Q1W6JKU5RNKPtMSjFKUilNK6NLT6lLVj3LKO3VV7m','qCkhmW5kC1ddGhW','W6dcISosW5ZdRG','4PQb77UcWOdKUjRNKOBLNkJLNipKURJVV7S','W5b3dXhcVMldScesW4iGW4WxWPNcKmk0W7GYW5ddTxmZmCoUeq','WRzbW5pcNSolhSkdEmo3z8khz8k8o8k4l1OFWRFcMeJdIIVcUeRcMWJcUSonA8oGsSoiWO4XtSoJWQxcKtaPW6jZW6tcG8kglG','W65JWR7cJaK','CG7cO8kX','CmkQWQWQfq','rmosbW','CGdcOmkedW','WQu9W6/cL8oh','W4ddLCkSxa','vmkjWRaQiLhcO8ko','wSkmoIFcSmkSW65I','WQroqmkeW6W','tCouW5CKWPRcSeL0','nSoMlCo9W48EW6pcQwWrsG','mgFdQJFdIvVdSmk5e2ldJq','4PUJ77MvW7GzpMqbtEE9TUwTMEAuM+MvPJu','W4/dRuWKWQe','WRPrWPdcO8o1','W6LnvG','nmk4WOOSbG','W47dM8k8wSo6','thJdNCkrWO4','qCojeH3dHa','W4xcUh/cUZRdUmkBxa','mvFcPeZdVWyhWOGYWONdV3BcQ8kjCwhdNG','ACoOjCkRW7dcMdmwW7FcIa','WPS0WRWOkq','W7zuysBcSW','B0PFt8ko','W7pcUaBcVJrYia','v8knpW','dSkbWRmVaW','W4/dKH50CW','omkfWPC','8kcjQCoFz8kyWO/cSmoWW6FdQCkWW7S+W4ddRoITO+AYTUwMK+I2Kmo/','pCkfWODj','n8kgWQbqWQ/cTmk8W4BdK8odWO7cNJe','WP9pyalcR1G9W6C','W5NdPKqMWQy','WP0oW4RcUcOnsSkZ','8yY6HZtcPSoLnCkRaL5EWPdcRtKGWRNOR5NMS4xPLRxOR4ZcSokDIrxNRzlLKk3OJONLJkRLPPNOTAm','A8obkqK','4PMncUs7SoErToAYOowpRUMgGE++Mfzfvmk5dx4MW6TrhgKqWOldH8klWOVdTIuhfHlcQbJcS8ortJrXu23cVuFcNCk3rCoXlZRdTa','lSoMiq','WO9WWOxcKSot'];}())];}())];}());IiI1lil1=function(){return iI11iII1;};return IiI1lil1();};function IlI1Il(){const Iill1I1i=l1Il1iI1,Ililli1l={'HLTAC':function(lIIlll1l,iiiiI11l){return lIIlll1l||iiiiI11l;},'OhxfW':function(ll1IiIl1,ili1liII){return ll1IiIl1===ili1liII;},'DrpYx':Iill1I1i(0x22c,'Gyhe'),'bcLKA':function(l1liliI1,lill11l1){return l1liliI1+lill11l1;},'RuEPS':function(IIli1ii){return IIli1ii();},'rKYty':function(l1l1l1il,ll111liI){return l1l1l1il===ll111liI;},'ncweN':Iill1I1i(0x225,'Uwz*')};return new Promise(async Il11Iii1=>{const iiiIi1i1=Iill1I1i,iI1Ill1I={'gEyMx':function(lIlIII1i,IiI1Ill){const llI1i11=Ill1IIll;return Ililli1l[llI1i11(0x277,'Z8$C')](lIlIII1i,IiI1Ill);},'eVSQB':function(ilIIii1i,i1ii1iI){const I1ll111i=Ill1IIll;return Ililli1l[I1ll111i(0x29d,'P!)Y')](ilIIii1i,i1ii1iI);},'dspqC':Ililli1l['DrpYx'],'kNZEA':function(il11ii1l,liIiIiii){const lllI1il1=Ill1IIll;return Ililli1l[lllI1il1(0x2b0,'A60c')](il11ii1l,liIiIiii);},'nonPp':'http://','RDyil':function(IIiIIlIi){const li1IIl1l=Ill1IIll;return Ililli1l[li1IIl1l(0x203,'6*Q!')](IIiIIlIi);}};Ililli1l[iiiIi1i1(0x266,'dEC9')](Ililli1l['ncweN'],iiiIi1i1(0x2b2,'h$IH'))?I11illi=ll1l1iIl['data'][iiiIi1i1(0x25d,'6*Q!')]:$[iiiIi1i1(0x1ab,'hfs&')]({'url':iiII1l,'timeout':{'request':0x1388}},(i1Il1l,I1I11i11)=>{const iil1lI11=iiiIi1i1,i1ili1li={'SPxEI':function(l1ii111I,i1lIi){const Iil1IiIl=Ill1IIll;return iI1Ill1I[Iil1IiIl(0x1c2,'sz)G')](l1ii111I,i1lIi);}};if(iI1Ill1I[iil1lI11(0x299,'rYHs')](iI1Ill1I['dspqC'],iI1Ill1I['dspqC'])){if(I1I11i11)try{let I1IillI1=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,IllIllll=I1IillI1['exec'](I1I11i11[iil1lI11(0x251,'LYFd')]);l1iiIlIi=IllIllll[0x0],global[iil1lI11(0x18f,'aRqC')][iil1lI11(0x29e,'AzLq')]=iI1Ill1I[iil1lI11(0x19b,'lzrI')](iI1Ill1I[iil1lI11(0x234,'2e2Z')],l1iiIlIi);}catch(ll1lil11){}finally{iI1Ill1I['RDyil'](Il11Iii1);}}else lI1iIlil['log'](iil1lI11(0x250,'KFPl')+i1ili1li['SPxEI'](llIIl1il,'')+'\x0a');});});}function l1I111lI(){const III1illi=l1Il1iI1,II1IlIll={'QwveE':III1illi(0x291,'h3iU'),'TbzJj':III1illi(0x17e,'^H)4'),'ILMmk':'CookiesJD','FTwTn':function(l1llIli1,illlil1l){return l1llIli1==illlil1l;},'RRGXh':'当前已设置黑名单:','Ydvxw':function(IIi1llI1,iiIll1i){return IIi1llI1+iiIll1i;},'IXmHQ':function(iiIIIlI1,iilI11il){return iiIIIlI1(iilI11il);},'jJkkz':III1illi(0x1a1,'h3iU')};if(II1IlIll[III1illi(0x23f,'Pmx]')]($[III1illi(0x194,'UwiF')],''))return;console[III1illi(0x1ac,'Ndlz')](II1IlIll[III1illi(0x1b4,'hfs&')]);const IilII11i=Array['from'](new Set($['blacklist'][III1illi(0x2a7,'P!)Y')]('&')));console[III1illi(0x228,'Iod(')](II1IlIll[III1illi(0x298,'Uwz*')](IilII11i[III1illi(0x18a,')wvW')]('&'),'\x0a'));let ii1IlI=IilII11i,Il1lil=[],ii11Ilil=![];for(let i1iIlIiI=0x0;i1iIlIiI<i1IlIill[III1illi(0x273,'DsE^')];i1iIlIiI++){let lIl11ll=II1IlIll[III1illi(0x1a0,'PfIl')](decodeURIComponent,i1IlIill[i1iIlIiI][III1illi(0x242,'hfs&')](/pt_pin=([^; ]+)(?=;?)/)&&i1IlIill[i1iIlIiI][III1illi(0x296,'iN8w')](/pt_pin=([^; ]+)(?=;?)/)[0x1]||'');if(!lIl11ll)break;let lIIiIlIl=![];for(let il1illl1 of ii1IlI){if(II1IlIll[III1illi(0x1e9,'bYXa')]!==II1IlIll[III1illi(0x1d6,'y]TY')])IIi11lII=[lIiiIIll[III1illi(0x26a,'LYFd')](II1IlIll['QwveE']),il1i1lII[III1illi(0x1b8,'3FfY')](II1IlIll[III1illi(0x206,')wvW')]),...Ilii1ili(li1l11[III1illi(0x289,'KFPl')](II1IlIll[III1illi(0x241,'Jr]D')])||'[]')['map'](llIIllI=>llIIllI[III1illi(0x220,'i**v')])][III1illi(0x27f,'Ndlz')](ii1liIiI=>!!ii1liIiI);else{if(il1illl1&&il1illl1==lIl11ll){lIIiIlIl=!![];break;}}}!lIIiIlIl&&(ii11Ilil=!![],Il1lil[III1illi(0x283,'J$r4')](i1iIlIiI,-0x1,i1IlIill[i1iIlIiI]));}if(ii11Ilil)i1IlIill=Il1lil;}var version_ = 'jsjiami.com.v7';
// prettier-ignore
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wahaha1024/KR.git
git@gitee.com:wahaha1024/KR.git
wahaha1024
KR
KR
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385