faker3/jd_xy_draw.js
2024-06-28 15:38:28 +08:00

11 lines
44 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
京东校园抽风了
cron "31 12 * * *" script-path=jd_XinFarm_draw.js, tag=京东校园抽风了
*/
const $ = new Env('京东校园抽奖');
var il='jsjiami.com.v7';const l1iIlI=iii1II;(function(l1i1Il,ill1I1,l1i1II,ili111,Ii1I11,IllIli,ii1Ii){return l1i1Il=l1i1Il>>0x6,IllIli='hs',ii1Ii='hs',function(ii1Il,l1iII,iI1Ill,lilI1,IIIi1){const ii1il=iii1II;lilI1='tfi',IllIli=lilI1+IllIli,IIIi1='up',ii1Ii+=IIIi1,IllIli=iI1Ill(IllIli),ii1Ii=iI1Ill(ii1Ii),iI1Ill=0x0;const i1llli=ii1Il();while(!![]&&--ili111+l1iII){try{lilI1=-parseInt(ii1il(0x16e,'V2tl'))/0x1*(parseInt(ii1il(0x18e,'J[^Z'))/0x2)+-parseInt(ii1il(0x246,'Jl2S'))/0x3*(parseInt(ii1il(0x2f1,'kTRC'))/0x4)+parseInt(ii1il(0x1fb,'WHf1'))/0x5*(parseInt(ii1il(0x1d2,'eoA7'))/0x6)+parseInt(ii1il(0x217,'j^v]'))/0x7+parseInt(ii1il(0x286,'7JhL'))/0x8+parseInt(ii1il(0x1ee,'ronH'))/0x9+-parseInt(ii1il(0x2b7,'c6eh'))/0xa*(parseInt(ii1il(0x242,'j$0p'))/0xb);}catch(i1llll){lilI1=iI1Ill;}finally{IIIi1=i1llli[IllIli]();if(l1i1Il<=ili111)iI1Ill?Ii1I11?lilI1=IIIi1:Ii1I11=IIIi1:iI1Ill=IIIi1;else{if(iI1Ill==Ii1I11['replace'](/[kgCtrxBUpRIDVLPGKnJQ=]/g,'')){if(lilI1===l1iII){i1llli['un'+IllIli](IIIi1);break;}i1llli[ii1Ii](IIIi1);}}}}}(l1i1II,ill1I1,function(iI1Ili,llIIiI,iI1111,IIIl1,ii1ii,Iii1,I1I1lI){return llIIiI='\x73\x70\x6c\x69\x74',iI1Ili=arguments[0x0],iI1Ili=iI1Ili[llIIiI](''),iI1111=`\x72\x65\x76\x65\x72\x73\x65`,iI1Ili=iI1Ili[iI1111]('\x76'),IIIl1=`\x6a\x6f\x69\x6e`,(0x1593a3,iI1Ili[IIIl1](''));});}(0x2f40,0xed265,Iii11l,0xbf),Iii11l)&&(il=0xf86);const notify=$[l1iIlI(0x18b,'U9J@')]()?require(l1iIlI(0x19e,'xgpx')):'',jdCookieNode=$[l1iIlI(0x2cb,'kuxe')]()?require(l1iIlI(0x1bf,'&6hk')):'',common=require(l1iIlI(0x1a8,'a!kU')),{H5st}=require(l1iIlI(0x29e,'$4CB'));let linkId='57oKWatvA44VhAqozRR2pA',cookiesArr=[],cookie='',message;if($[l1iIlI(0x16d,'xgpx')]()){Object[l1iIlI(0x2f3,'WHf1')](jdCookieNode)[l1iIlI(0x1fd,'Jl2S')](i1i11l=>{const iI111I=l1iIlI;cookiesArr[iI111I(0x21f,'vvY(')](jdCookieNode[i1i11l]);});if(process[l1iIlI(0x22f,'9svi')]['JD_DEBUG']&&process[l1iIlI(0x232,'j^v]')][l1iIlI(0x255,'V2tl')]===l1iIlI(0x202,'ronH'))console[l1iIlI(0x204,'pcVs')]=()=>{};}else cookiesArr=[$['getdata'](l1iIlI(0x2bf,'pcVs')),$[l1iIlI(0x1db,'P!$4')]('CookieJD2'),...jsonParse($[l1iIlI(0x2e9,'Di%x')](l1iIlI(0x1e8,'[O9L'))||'[]')[l1iIlI(0x15c,'V2ZB')](i1i11i=>i1i11i[l1iIlI(0x2b8,'@PJ!')])]['filter'](II11l1=>!!II11l1);!(async()=>{const IIIlI1=l1iIlI,Iil1lI={'QPISi':function(IiiliI,iii1iI){return IiiliI+iii1iI;},'zXBXP':function(llIll,il1iII){return llIll===il1iII;},'EHqbn':function(iilli){return iilli();},'Wmduy':IIIlI1(0x18a,'FJ*5'),'dYafd':IIIlI1(0x2db,'[O9L'),'RBqyD':function(IlllIl,II11lI){return IlllIl<II11lI;},'ZzCly':'sNsZO','opWPt':IIIlI1(0x2c4,']eF^'),'GZQKE':function(lI1IIi,I1l11I){return lI1IIi+I1l11I;},'xVnhS':IIIlI1(0x29c,'%72]'),'tjyEc':IIIlI1(0x16a,'%C$l'),'AcTVT':function(Ilil1l){return Ilil1l();},'EVyRt':function(iIIiii,iilll){return iIIiii*iilll;}};if(!cookiesArr[0x0]){if(Iil1lI['zXBXP'](Iil1lI[IIIlI1(0x256,'u4yy')],'kTQYv'))I11iI1[IIIlI1(0x292,'I]Oh')](Iil1lI['QPISi']('',l1lIil['stringify'](IiiIli)));else{$['msg']($[IIIlI1(0x299,'!tKq')],'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取',Iil1lI[IIIlI1(0x2a2,'ronH')],{'open-url':Iil1lI[IIIlI1(0x167,'w&bH')]});return;}}for(let IlllIi=0x0;Iil1lI[IIIlI1(0x25c,'J[^Z')](IlllIi,cookiesArr[IIIlI1(0x257,'j^v]')]);IlllIi++){if(Iil1lI['zXBXP'](Iil1lI[IIIlI1(0x1ef,'xgpx')],Iil1lI[IIIlI1(0x2d8,'xgpx')])){IiilI1['keys'](IIII1l)[IIIlI1(0x1bd,'kTRC')](i1l1Ii=>{const i1lIiI=IIIlI1;IlI11[i1lIiI(0x2ec,'R[45')](iIIIIl[i1l1Ii]);});if(IlI1I[IIIlI1(0x187,'V2ZB')]['JD_DEBUG']&&Iil1lI['zXBXP'](II11Ii[IIIlI1(0x28f,'pdph')]['JD_DEBUG'],'false'))II11Il[IIIlI1(0x1f1,'J[^Z')]=()=>{};}else{if(cookiesArr[IlllIi]){cookie=cookiesArr[IlllIi],$[IIIlI1(0x1bc,'xX2z')]=decodeURIComponent(cookie[IIIlI1(0x2ed,'P!$4')](/pt_pin=([^; ]+)(?=;?)/)&&cookie[IIIlI1(0x2e8,'a!kU')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$['index']=Iil1lI[IIIlI1(0x2ae,'kuxe')](IlllIi,0x1),$[IIIlI1(0x2bc,'lnv9')]=!![],$['nickName']='',message='',console[IIIlI1(0x2b2,'7JhL')](IIIlI1(0x181,'U9J@')+$[IIIlI1(0x1c1,'kTRC')]+'】'+($[IIIlI1(0x2ce,'Di%x')]||$['UserName'])+IIIlI1(0x25b,'eoA7'));if(!$['isLogin']){if(Iil1lI[IIIlI1(0x166,'lnv9')]===IIIlI1(0x15a,'eoA7')){$[IIIlI1(0x218,'xX2z')]($[IIIlI1(0x2e5,'vvY(')],IIIlI1(0x289,'j0$C'),'京东账号'+$[IIIlI1(0x27c,'@PJ!')]+'\x20'+($[IIIlI1(0x161,'!tKq')]||$[IIIlI1(0x157,'kuxe')])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':Iil1lI[IIIlI1(0x2d9,'nLuc')]});$[IIIlI1(0x2a9,'ronH')]()&&await notify[IIIlI1(0x1cd,'p1u[')]($[IIIlI1(0x22e,'lnv9')]+IIIlI1(0x1d6,'c6eh')+$[IIIlI1(0x1e5,'J[^Z')],'京东账号'+$[IIIlI1(0x23b,'[3f4')]+'\x20'+$['UserName']+'\x0a请重新登录获取cookie');continue;}else Iil1lI[IIIlI1(0x1c9,'t[78')](IillIl);}$['jda']=Iil1lI['tjyEc']+_jda(IIIlI1(0x278,'vvY(')),$['UA']=common[IIIlI1(0x2a6,'&6hk')]($['UserName']),await Iil1lI[IIIlI1(0x1de,'V2tl')](Main),await $[IIIlI1(0x1f0,'kuxe')](parseInt(Iil1lI[IIIlI1(0x1ad,'pcVs')](Math['random'](),0x3e8)+0x7d0,0xa));}}}})()['catch'](I1iIIl=>{const IiiIl=l1iIlI;$[IiiIl(0x2b2,'7JhL')]('','❌\x20'+$['name']+IiiIl(0x231,'7JhL')+I1iIIl+'!','');})[l1iIlI(0x179,'p1u[')](()=>{const ii1l1l=l1iIlI;$[ii1l1l(0x21c,'P!$4')]();});function iii1II(_0xa5bafd,_0x59ddb5){const _0x163bb0=Iii11l();return iii1II=function(_0x1207c3,_0xc554a){_0x1207c3=_0x1207c3-0x154;let _0x6e84aa=_0x163bb0[_0x1207c3];if(iii1II['tnbniX']===undefined){var _0xbb6d9c=function(_0x3f5583){const _0x248c63='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3f1c3b='',_0x5a8eb6='';for(let _0x35130c=0x0,_0x448614,_0x1058f6,_0x2ae6c2=0x0;_0x1058f6=_0x3f5583['charAt'](_0x2ae6c2++);~_0x1058f6&&(_0x448614=_0x35130c%0x4?_0x448614*0x40+_0x1058f6:_0x1058f6,_0x35130c++%0x4)?_0x3f1c3b+=String['fromCharCode'](0xff&_0x448614>>(-0x2*_0x35130c&0x6)):0x0){_0x1058f6=_0x248c63['indexOf'](_0x1058f6);}for(let _0x53959d=0x0,_0x3f6764=_0x3f1c3b['length'];_0x53959d<_0x3f6764;_0x53959d++){_0x5a8eb6+='%'+('00'+_0x3f1c3b['charCodeAt'](_0x53959d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5a8eb6);};const _0x2c14ab=function(_0x31f181,_0x12134a){let _0x4fb603=[],_0x120240=0x0,_0x39552f,_0x39703b='';_0x31f181=_0xbb6d9c(_0x31f181);let _0x5d1d76;for(_0x5d1d76=0x0;_0x5d1d76<0x100;_0x5d1d76++){_0x4fb603[_0x5d1d76]=_0x5d1d76;}for(_0x5d1d76=0x0;_0x5d1d76<0x100;_0x5d1d76++){_0x120240=(_0x120240+_0x4fb603[_0x5d1d76]+_0x12134a['charCodeAt'](_0x5d1d76%_0x12134a['length']))%0x100,_0x39552f=_0x4fb603[_0x5d1d76],_0x4fb603[_0x5d1d76]=_0x4fb603[_0x120240],_0x4fb603[_0x120240]=_0x39552f;}_0x5d1d76=0x0,_0x120240=0x0;for(let _0xef6196=0x0;_0xef6196<_0x31f181['length'];_0xef6196++){_0x5d1d76=(_0x5d1d76+0x1)%0x100,_0x120240=(_0x120240+_0x4fb603[_0x5d1d76])%0x100,_0x39552f=_0x4fb603[_0x5d1d76],_0x4fb603[_0x5d1d76]=_0x4fb603[_0x120240],_0x4fb603[_0x120240]=_0x39552f,_0x39703b+=String['fromCharCode'](_0x31f181['charCodeAt'](_0xef6196)^_0x4fb603[(_0x4fb603[_0x5d1d76]+_0x4fb603[_0x120240])%0x100]);}return _0x39703b;};iii1II['eubOeM']=_0x2c14ab,_0xa5bafd=arguments,iii1II['tnbniX']=!![];}const _0x4dbfc0=_0x163bb0[0x0],_0x2eed15=_0x1207c3+_0x4dbfc0,_0x484409=_0xa5bafd[_0x2eed15];return!_0x484409?(iii1II['Jxgbvq']===undefined&&(iii1II['Jxgbvq']=!![]),_0x6e84aa=iii1II['eubOeM'](_0x6e84aa,_0xc554a),_0xa5bafd[_0x2eed15]=_0x6e84aa):_0x6e84aa=_0x484409,_0x6e84aa;},iii1II(_0xa5bafd,_0x59ddb5);}async function Main(){const l1lli1=l1iIlI,lI1IIl={'cRGqC':function(i1ilI){return i1ilI();},'xRhkW':function(iii1lI,i1ilI1,Iiilii){return iii1lI(i1ilI1,Iiilii);},'LlSqh':function(Iil1li,Iiilil){return Iil1li+Iiilil;},'tnlsB':function(Iil1ll,iillI){return Iil1ll*iillI;},'raafY':function(lI1III,IIliIi,IllIiI){return lI1III(IIliIi,IllIiI);},'bhTjd':function(i1il1,I1l111){return i1il1*I1l111;},'xRuEb':function(IIii1l,I1iIII){return IIii1l<I1iIII;},'uxBFg':function(liiI11,ililI1){return liiI11===ililI1;},'pkjyF':l1lli1(0x183,'c6eh'),'rkztf':function(IIii1i,i1ili){return IIii1i+i1ili;},'cgzwU':function(Iiill1,I1iII1){return Iiill1*I1iII1;}};$[l1lli1(0x174,'j0$C')]=![],$[l1lli1(0x1f3,'!XLY')]=![],await lI1IIl[l1lli1(0x20b,')ihI')](wheelsHome),await $['wait'](lI1IIl['xRhkW'](parseInt,lI1IIl['LlSqh'](lI1IIl[l1lli1(0x27e,'t[78')](Math['random'](),0x3e8),0x3e8),0xa));if($['nowcontinue']){console[l1lli1(0x19a,'Mb(9')](l1lli1(0x17b,'7JhL')+$[l1lli1(0x1c8,'ronH')]+l1lli1(0x269,'[3f4')),await lI1IIl[l1lli1(0x2ba,'%72]')](apTaskList),await $[l1lli1(0x171,']eF^')](lI1IIl[l1lli1(0x2b6,'vvY(')](parseInt,lI1IIl['LlSqh'](lI1IIl[l1lli1(0x175,'P!$4')](Math[l1lli1(0x28e,'p1u[')](),0x3e8),0x7d0),0xa));for(let lilII1=0x0;lI1IIl['xRuEb'](lilII1,$[l1lli1(0x1bb,'K%To')]);lilII1++){lI1IIl[l1lli1(0x28b,'@PJ!')](lI1IIl[l1lli1(0x2c3,'lnv9')],lI1IIl[l1lli1(0x180,']eF^')])?(await lI1IIl[l1lli1(0x17d,'P!$4')](wheelsLottery),await $['wait'](lI1IIl['xRhkW'](parseInt,lI1IIl['rkztf'](lI1IIl[l1lli1(0x25a,'p1u[')](Math['random'](),0x3e8),0x7d0),0xa))):IiiIii[l1lli1(0x2e2,'w&bH')](IIlll);}}}function safeGet(iii1l1){const IiiIi=l1iIlI,IIliIl={'pPvTr':function(II11ll,liiI1I){return II11ll===liiI1I;},'YuQBW':'SUhHJ','hCOoB':function(ililII,lI1II1){return ililII==lI1II1;},'LYOxN':function(i1ilII,iIIii1){return i1ilII!==iIIii1;},'yMHhL':IiiIi(0x287,'Di%x'),'LaIYn':IiiIi(0x1b1,'%C$l')};try{if(IIliIl[IiiIi(0x1e0,'j0$C')](IiiIi(0x199,'I]Oh'),IIliIl[IiiIi(0x20e,'P!$4')]))lliil1[IiiIi(0x292,'I]Oh')]('进入首页失败,'+(IIllI?.[IiiIi(0x1f2,'kuxe')]||''));else{if(IIliIl[IiiIi(0x173,'[3f4')](typeof JSON[IiiIi(0x227,'9svi')](iii1l1),IiiIi(0x154,'j0$C'))){if(IIliIl[IiiIi(0x271,'V2tl')](IIliIl[IiiIi(0x2b9,'V2tl')],IIliIl[IiiIi(0x1a9,'vvY(')]))return!![];else IiilIl['log']('','❌\x20'+iii1Ii[IiiIi(0x2c2,'kuxe')]+IiiIi(0x186,'K%To')+iii1Il+'!','');}}}catch(Ii1ilI){return console[IiiIi(0x262,'XjOp')](Ii1ilI),console['log'](IiiIi(0x2a0,'a!kU')),![];}}function jsonParse(II11i1){const ii1l1i=l1iIlI,iliIil={'RcPGy':function(iliIii,lill1i){return iliIii==lill1i;},'gNpqx':ii1l1i(0x1ed,'!XLY')};if(iliIil['RcPGy'](typeof II11i1,ii1l1i(0x1c6,'V2tl')))try{return JSON[ii1l1i(0x16c,'I]Oh')](II11i1);}catch(il1li){return console['log'](il1li),$[ii1l1i(0x1d1,'V2ZB')]($[ii1l1i(0x170,'[O9L')],'',iliIil[ii1l1i(0x28d,'vvY(')]),[];}}async function wheelsHome(){const l1iIl1=l1iIlI,iIIill={'GHooy':l1iIl1(0x277,'w&bH'),'HEgLA':'ViIhw','SqoVs':l1iIl1(0x23d,'kuxe'),'YjBqD':l1iIl1(0x1f6,'p1u['),'jKKCw':function(iilii,Ill11i){return iilii==Ill11i;},'mlDxo':function(iilil,Ill11l){return iilil!==Ill11l;},'wHTvA':'IMviy','cjnAK':function(il1ll){return il1ll();},'nbfHn':'c06b7','KqoWy':l1iIl1(0x18c,'w&bH'),'lyaGp':l1iIl1(0x281,'[3f4'),'idoju':'4.4','XhwXD':l1iIl1(0x1d4,'u4yy'),'PoUpx':l1iIl1(0x27b,'pdph'),'yMyCS':l1iIl1(0x162,'I]Oh'),'VbosE':l1iIl1(0x1a0,'p1u['),'TZQAV':function(i1ilIi,lill1l){return i1ilIi*lill1l;}};return new Promise(async l1l1i1=>{const ii1iI=l1iIl1,i1iiI={'appId':iIIill[ii1iI(0x1d9,'e)WN')],'functionId':ii1iI(0x1e4,'I]Oh'),'appid':'activities_platform','clientVersion':iIIill['KqoWy'],'client':iIIill['lyaGp'],'body':{'linkId':linkId},'version':iIIill[ii1iI(0x2c1,'[3f4')],'ua':$['UA'],'t':!![]},i1ilIl=await H5st[ii1iI(0x1b6,'!XLY')](i1iiI);let llI11I={'url':ii1iI(0x158,'wOWK'),'body':i1ilIl[ii1iI(0x1cc,'vvY(')],'headers':{'origin':iIIill[ii1iI(0x263,'j$0p')],'Referer':iIIill[ii1iI(0x266,'WHf1')],'User-Agent':$['UA'],'Cookie':cookie,'content-type':iIIill['yMyCS'],'accept':iIIill[ii1iI(0x2c8,'[O9L')]},'timeout':iIIill['TZQAV'](0x14,0x3e8)};$[ii1iI(0x2f0,'kuxe')](llI11I,async(Il1i11,iii1li,Iil1i1)=>{const IIIil=ii1iI;if(iIIill[IIIil(0x21b,'K%To')]!==iIIill[IIIil(0x290,'K%To')])try{if(Il1i11)iIIill['SqoVs']!==iIIill[IIIil(0x19f,'t[78')]?IliI1i():console[IIIil(0x22d,'PZRc')](''+JSON[IIIil(0x159,'[O9L')](Il1i11));else{if(iIIill['YjBqD']===IIIil(0x2dc,'XjOp')){Iil1i1=JSON['parse'](Iil1i1);if(iIIill[IIIil(0x213,'I]Oh')](Iil1i1[IIIil(0x234,'!XLY')],0x0))iIIill['mlDxo'](iIIill['wHTvA'],IIIil(0x1df,'R[45'))?i11I1l['logErr'](lil,IllI1l):($[IIIil(0x1be,'J[^Z')]=!![],$[IIIil(0x1da,'&6hk')]=Iil1i1?.[IIIil(0x216,'I]Oh')]?.[IIIil(0x2d3,']eF^')]);else Iil1i1[IIIil(0x2c5,'xgpx')]==0x192?console[IIIil(0x2a3,'t[78')]('进入首页失败,'+(Iil1i1?.[IIIil(0x1c4,'w&bH')]||'')):console[IIIil(0x15e,'lnv9')](IIIil(0x1cb,'ronH')+(Iil1i1?.['errMsg']||''));}else IiI1[IIIil(0x2c6,'w&bH')]++,liI['log'](IIIil(0x2dd,'e)WN')+illIli[IIIil(0x2d4,'pcVs')]);}}catch(iii1ll){$['logErr'](iii1ll,iii1li);}finally{iIIill['cjnAK'](l1l1i1);}else IiilI[IIIil(0x1b8,'$4CB')](IIIil(0x253,']eF^')+(ii1I11?.[IIIil(0x2f7,'R[45')]||''));});});}function Iii11l(){const l1llil=(function(){return[...[il,'pjDtrsILjVipKBaGGmPJi.Ucomp.RQvg7UnxCkpQ==','CSkMW78','jqZLP7VOTjmZW6dLJjNLMlFdHra','CComW6q','W7/dL8o5WRFcVCk1bSk/WR4','WP/dGXdcMG','W4L/DCoA','WRFdNSovW7SUW7X5W53dU8omsqBdQmkzW50VW7VcG3JdLW','WONdG8k/yWq','d8ogW6VdRW','csdcG8oOW4zX','W6JdMSohwCo6pJ7cV8oDtfq','W50AjNhcPG','W5tdRYSGW60','W67dL8oHW5VdMG','5lMe5lIn5P2w5yQi5zUL6kYv6zAW5PwU5O2a5lUe56U877+s6k+/5Qkf5PYD6iA46lUE6k2e5Aww572E57UR5Ooz5yw/','5OUj5AwL5AAy6lsqyW','6i2M5B+35RoE5RQxFa','5Q6S5P2e5lY6','wCkxWQNcUmk2WOVdImkPWPRdSG4','E0NcULPZWQpdOW','W4eRWQ3cOa','WQFdKSozW7mLWR4UWORdR8oBrqRdTCktW5WZW7hcMNFcGJLnih5pW5ukW6Kqsa','gCkBwvlcRMPW','W4FdJ8oIWPxcLW','yu/dG1hdIa','WORdUGldOMz4zCo9W7G','pCk+W5JcKG','6i+P5B2g5lIq6lkXya','W43cN1tdPG','WOVdSSoEW5ON','heFdNuu8WO1Kc2/cGCo9W7fxW7mzA8kFW5u6WQ5HWQbLW7P1p8oLW7KaW5KYrHhcJaddRCoXub/cUCoKW6u1WQ/dI8oJF8kVfCohF2FdPrLrjSk+W4/dLSo6bvBdISk4W4D5W5NdVCk7aSkpW5HIhmkDhKHTW4jKW7VdUu/dJq','W6ZdUmkZW65sW7C','WR9UDmo/oCoE','xSk9zvBcIKztma','W4KLWQ3cTColwCoWW7pdSKBdStmjFq','5A2g5OI95lIf5yI25AAl6lsjba','W5T2kCoQda','FuJdJvRdRdhdUwu','WQ/dUSkYWRRcRa','EmohW7ZcHSk6Cq','WQZdICojW6y','WPXFuSo4hG','WRihWPaubq','WOpdLaRcRrNdOmokgSovWQW','W7pdGWSQW7a','W67dGCoesSoMAMxdUCossvJcPJzMWQNcVJaUgI0','WR0pWO0','hf9lyW3dKSo9bXGT','W4FcN03dOG','WOHoWQBdTW','W5v/yq','m8opW6JdLSol','W6LBsCoDoSoSdG','WOddJSk+tWlcQq','ac4Do8ku','afldML4BW54/sgy','WOveCc3dQsldM8kBWQJdSdhdOqjY','WPtMRzxMI7/LPylMN6tKViG','EmonW6BcLCkRA8kgxSojW5ZcGSoammk+','CCkMW5lcQmkU','WRPmWOZdTSoxxW','W4tdHYKCW4i','WQ3cQ8oVWRWrWRu','eIDMuaZcSGaqWQNdGW','W6WDvmozhHdcOmojdmo9WRddNmk2W5/cHSkeW4FdS3K','E1xdNwBdPW','WRhcOCkkW6iVW7BdPG','tsNdMSo3WO8','cZviW5CTBd3dLN5wd8kwla','q23dOxxdRrZdUeSzWR/cJa','W6P/t8o9WPK','WQldPqhdLvm','ruVdKu03W48ZxhVdGmk4WRmgW7KyD8kvW4W1W7T3WR1QWQXNi8kZW6ixW4XLavBdMqVcJ8o6wZ7cG8ojW5yhW47cN8k7FCkFn8oND1ZcPvmYvSokWPhdNCoRgrpcLmoJWPHEW4a','mSoqW6VdM8ob','WPfSBmo0pG','W67dGCoesSoMAMxdUCoFvKxdVd46WRRcVMWSaM1EtGj6a8otz2rBndr9WPpdQSkVkSkAW4WbWQ54octcRY/dQSkvfCoDz8kmW5vdW5DFcSkPW5eXWRexxbxdRNtdKmkWWOqEW73dISkqa8ovWRhcGZHxW4zSCCoEtCoE','n8k/W5JcKJq','msi8iSkAW5KWWP7dNGWGWOddKCoDctr0qmoL','xNG5eYG','W7PAW5JdSGC','WR/dRN0bW6m','W50Bmq','5A+t5OUH5lUe5yUEeUAlS+wMKoATS+AvIU+/LW','aLviDHRdHmoqpqaPESo4CmkC','WPddNrRdNha','kSoNWQW','prRdVGiQW7tcVSk0WPzehbxcLW','d0OIf8ow','WPhdNwJdVXzeWRzJu8kfoKpcMWq','44o45O+b56wH44c4W67dHtf1r8kB5Bw05AEV5Pwa','WOi2WO8QeW','k8kPW77cSsS','j8oRwvZdQSkGW6rA','e33dMuq3','WQmbWOqhp8k/','W6pdM8og','WPjzyCo+cW','W70FuSoddq','WRFdSfK','WR04WOChkq','WORdMWlcQmk/','F8oeFmkw','vCoLqCkBWRy','hcRcMmoFkq','W6SruCkdnSkY','WRJcPCktW48','W7XBW7BdOYO','WPZdNKCRW6u','WO7dTg3dIcO','W7VdGvFcMInex8khW5vfuZ4I','WRdcImo/WOFcU8knfmoJWOFdR8kRdCkHf8kbdG','W4qvmgFcUW','5lQW5lQ35PYv5yMs5zQS6k+G6zEV5Ps55O6q5lMk56Qh77+L6k2g5Qcx5PYq6iAN6lQ06k615As8576J57IT5OgA5yEX','W5qPWQhcJCoT','WRNcK8o8WRSy','rNKY','sxKXbq','W75vBCoAWOy','ECkSW7BcISkT','zmkSk8obW7e2xCkmF2/dImoDWRK3l8oNdMZcJItdJwddGc8yWOiNW7JcMSkgz8oYWPe','W7BcTLOuBW','WRtcUCotWRiyWQm','W5egmfNcRxu','fwuekSoj','WRJdSfOu','WP5FWR/dR8k5bCkgW7JcJwFcRmkMW7BdHvFcQmocw0jLWO9BWOJdIeXyW5fsymkzW5FdM8oq','W4/dISowW6FdIa','WR3dQY7dJ2a','nSkLW4JcHZ8QWQxcM8k+W5OPzJS0W50fiemUemoCEdRcU8kYzmk2W4bQW5e','W5pcVwG','zupcRq','WPpdJSkIua','W4BcN1DJWOz3hwldHeFcPZddNa','rSkZCq','bLldIfmw','W5VcKmoIfa3cMq0UEvO','pCk+W5pcNcv1','tKhdMNBdPq','WP7dOfVdUJa'],...(function(){return[...['WQNdHmkVWRFcOq','WP3dMIS9W5GUsW','W77cLgJdN3G','W50JAXhcTmkCAe9yWRpdKCk4wW','pdTuW5CxzGldOa','WR3cMXZdJgeg','W50qlx7cQW','W6BdSCoQW4K','WOtdGG0RW7K','WQDQWPhdTCo1','W7fJo8oe','WPBdPX/dRgzeFCotW7xcV1JdJ8kGWPS','jCoZFh/dRa','cCktuaX7','ESkOW6ZcVG','WQ/dVK0AW5FcSLddQtdcMJJcTwS','W6hdO8ojW4pdQCoh','euhdM3G8W5a','WRRcQ8kz','oxSIe8oPg13cSa','BCo9wSkwWP0','WO1oWQhdP8k/cW','W4Gzs8oXaG','W6/dRCoPsmo/','WQzcWORdO8oFxLfNFvVdM8oiWPiD','eZTpW4GBCthdP3vsnmkhjCkd','heFdNuu8WO1Kc2/cGCo9W7fxW7mzA8kFW5u6WQ5HWQbLW7P1p8oLW7KaW5K','bYVcTmoQaW','hvVdJ2ej','W718cmoXgq','W4etWRJcP8ok','aL8epSoD','n8kfsW9nDmoPFvJcQmk1W6FcUmkLW7ucbdO8nguEW6f1kmkClmogW7VcNCkhveVcIGiSW4RdOCk1DxStlq','W5vbumoQWOS','5A2Z5OI/5lI05yIIW7ZMI5VLPRhMRQ3MLPtVVji','WQtcPCkqW451W6G','WOr+pgZdV8oy','tNCHaq','WPDwD8oviW','WPBdPWW','EaldRmowWPXL','WRJdRcRdKMy','gLldHfa','EmoOBSkEWRe','w2pdTq','CCokBmkqWQW','mhC1hmogdLe','oSkWW4JcLG','W5BcVgWIBuyDrq','DCkPkmof','W6mcv8kTlq','s8kkW4hcL8kC','WOXWl0G','W7JdV8o0W5G','WR7cNWldJNyhk8k8W5nLyYiA','W6ZdP8oDW4FdMq','oYqXoa','W6pdH8ocD8oMnW','WQTuhhJdHW','WO3dGhxdSrz4WQ5nxG','ymkUkCoGW6SY','WODZmuZdRSoE','ESkAwLJcMa','WPZdT8o+W5O7','W53dO8oIW57dG8odwdK','W5FcPNS+AXHxguJcMmkBaXqfqSkcrvGvCa','lmkftrzqkCkVnem','W5RcUfhdHgO','W67dQmoKWPZcGq','pSoLEG','6l2x5yEm6AAK6Akk5Aw+6lsspW','WPJdHGa','adhcGSoMka','5A+B5OIc5lQ65yUz5AAw6lwFha','WRJcRCkDW4fuW6tdV8k7','WRRdR04DW63cVKtdRZRcKapdQh8xW5SSWPDHW4RcOZvlrLJdSsmvW7pdIcdcHNxcTa','W7VdLCo4WR7cOCkg','W7OcumkLaCk6WQ5HW4K0jG','W6FcGKifya','WOZdVWK6W6W','WP7dKqRdVMC','WOtdHHqM','WQldG8kyWRxcJa','WOlcU8ktWPPPnG','p8oSAbZdUSkwW6vnW47dPa','WQVdVKWcW6e','W7T/eCoocqK','adxcOYFcMHtdHhysWQ3cMa','r8koW6VcLmk4','mCkquHO','WR1mWPFdOW','WQpdNGBdR0u','W5W3dxVcNa','WPXPm0BdUq','W6WlD8kKiq','W6ZcVgW9ya','5y+c5ycBW5e','W7ldImo+WOFcT8kthSkpWR3dQ8kNc8kOfW','WRCjWOqcpmk+WOy','WR/dHmouW7aK','5B2A5yMH5P+dfG','W7pcHLJdVLW','W60Xzmk/bG','o8kqsX4','W51XCSop','WRPgWPtdRSo8','WODucSkAqLpdVUw+OowMOUocNUs5G+s6SoI3VownIq','WQDEWPK','WQJdHSkOvZ4','W4HbW6VdRZfu','W54NoKpdTmoljLC','W7y85As36lAxA8kz5y+c5zUjEYa','nSoQFa','W7RdUSoHW4ddLW','ymodW6hcISkiCmkrDmosW5xcICoh','DYxdGSovWPe','W6qnBSoFdbW','W4VcUKxcQY0h','cSk9W6/cTGu','WPpcUs0bW5ZcHSkpea','WQD/WOldImkO','W7ZcK3BdHfe','W4mqogBcJW','gqKCkCkD','smk7W5xcQmkl','5Q6Z5PY25l2f','W7VcQ0eACq','e8oVW7tdL8of','WRFdQmoKW4ic','WPNcQ8o6WPa2','WRRdJgODW7m','fs7cLG','WORcRmkBWOrI','WRlcQmo3WRGFWRi','hSoprvRdSW','WRWJlmoeaWHUW7j+xCoMW6W','EwC6nHK','WRaqWPOpoCkXWP7cRmkjhxdcHeJcSSo9CHFdTmkSnSoeWRb8yfhdQWqJomkwWQPOkW','FCkMW7ZcUG','WRBdOH4QW7K','qSkepSoMW5a'],...(function(){return['tSkKlmoNW5O','W6RdMSox','WQ7dG8k2xtS','WRubWP4c','mSkeBCkhWQ0ZCMBcRbxcN8kmW53cPmkQj3TivmkFWPZdScO','ofldOgWH','WQ9FWOZdMSojsW','cSoxW4VdR8o8WOZdGSkgWOpdIq','WPVcRSoYWRyD','oGjcW64k','dw5eCtC','mIv+kmou','W6RdMSoetSoWiJpcLCoBwf/dQZ47','WRdcQSklWPPc','WR7cSmkkW5PPWR/cVCoXW7rbW6OJW6ldGtDLm8kiehK','WQpdG8odW6qIW6W','WPnaWRVdT8k1fmkEW4/cJgNcRmoQW6VcMW','W5GBjq','WPVdIqdcT8o+W4dcPG','W73cIuJdS2K','W7ldImoT','W47dU33cQbXYta','5PYF6k2Q5lQq5yI55AsY6lstka','WRzZCSogl8oljgOPyuvHW67dIa','WPRdLCoiW7eyW6vSW4a','W6RdHKdcUI5uEW','W4/dRG0WW5VcV8kwfmoBW57cJW','mmoMW7lcU8kVWQZdKCodsSka','WRLle0BdIa','W6xdH1BcMJC','WOXBWR3dQSk+aCkoW6RcNq','nmkIW4xcGdW','WP/dUHNdLxbr','WORdPHlcH8kb','rhJdOhFdHXq','W47dKSoYW5ZdMa','WRhcPCoPWQKzWRqZv181nmkUrmow','B14KaGq','zupcVKj3WRldV8kuWPDrbrtcKmkE','6lYg5yAV6Asl6AkO5Awn6lEJzG','bfldM1qIW4q','WQifWOqhhSk9WOVcSCkgcW','xqtdR8ojWPbYAuu+','p8oRBq','W7vPk8oPwb9u','pSo3Bq','WP/dIehdRuRcQ8kyEq','W5fJmmokbaLQW5K','WPddO8kIWR/cPSktW73cSYCclgVcOSkVuXzXnmoxW7/dNSoxWOKDtKBdG2awua','W6ddHLu','WOddJSk+tWlcQEw2REwLSEAvUdVcMSod','ASkOW6VcTmk4WQRdISoerG','oJpcVmo1jCoupmkZCG','WPfnWQNdI8k+','CSkMW6ZcQ8kjWRhdH8oRs8keWQi/eJC','W6Kgv8kQjmkHWPS','lsBcUSo9','WONdK2/dOcDpWR9f','DM/dHKJdVq','tmkrlCoeW6e','WPHblx3dVW','W5hcVxGTD0Wmx0FcNCkx','rSk0DaNcVgbmjspdKG','W6qruW','WQZdT1SuW6JcRM3dTd7cMG','W7tdSH8HW7RcSmkpga','W4PwW63dHInhW5m','s14doqi','hmkEubrxk8k1gh4','WPtdUmkIWRVcSmoBWQVdNYmmnNZcOSkU','WPhdNxS','matcUSobW7i','W7OQr8knlW','6kYl5yMt6zU75OEW5z+JW7hcVCoMW7JdRUI/GEweR+AHKos8TUAvHowgUowTNh7LUjhORPZPG6ZOVylOHApMNRlLJ4tOJ4lLJQ3cTsH7Dmk5FW','W6ZdUSkVW6rlW7z6lg48h8kcCmoI','W4H2hmonfa','W7/dSCoUW5G','W43dRH0','W63dOSo1W6hdVSof','WPldGWpcNmkKW53cPSo3W5ZdQdC','W7BdH8ozqmoWhIVcU8ow','WPFdGmkItZ/cTs8L','WR0XWRWNfW','WPTzguddQq','W6RdHSo5WPJcHSkie8kGWRa','WRtcMahdJh0cDCkjW7Hgra4','W4mOAmojda','Ahb7EmoEWOuIWPBdOGGnWRi','W5mrnLZdQ2hcNW','tmkZzhJcV1Xl','WQiwWQavmq','5Q2k5P6D5l6f','5A+C5OMr5lQZ5yUQ5AED6lAvAa','6kY45yMz6zII5OAm5z2+W4zUW53dICoh6l6I5ysB5Qow5lYp5PAC5yEs5AY6W7hLU7RORihPGy3OV6/OHy3MNBZLJP7OJiBLJ7ldQrbkWP5PAG','WRVcQ8oXWQ4z','5A2A5OUu5lIf5yIlnUAiUowNHoAVV+AxPE+8QW','eZTC','W7ahWPZcH8ou','rwhdVNNdUG','WPJcImkgW6zB','W4PCeSoQfq','WOxcNmknWPXe','caGBoSkp','dwH7CZW','W6/cML8CyG','i0ddHhCI','W5CwCSkmeG','WRpcTSkmW6DPW6i','emoCrwRdNq','umkXdCoUW7O','6l2v5ysg6AA16Ak75Aw06lEWW5y','WRhdLhuYW7m','fZdcM8ofW5i','wW5zzKG','WR/dVKOq','iCkqWQldMCo3l8ojtmoxW7dcU8ofbG','WQldLCok','FWBdJ8osWPi','WQPMneJdRa','WP1uACoDmW','W6OmtCkR','WPldNr7cS8kY','p8oRFLZdVCk7W7n+W4pdQ3RcQSobrG','beBdML0','eSoEru3dRq','5AYE5OIC5lQK5yIa5AwC6lwjda','5OUc5Asc5Ask6lAzuG','W4PKDmohWQieW5yIpG','WQGRWPamfW','W5GBjvhcRga','jca7imk/W5GRWOddRXylWPZdMa','W51sW6VdKsC','6k2X5yMk6zI/5Os15z69eIxcRSo5sUI+OUwhREAGNEs+PUAxUUwfN+wUP0FLUO/OR67PGkROV6ZOHA/MNBJLJ5lOJidLJP9KwZzWk8kF','WPtdUmkXWORcP8oB','WQBcPCkmW5L/','W53cN1pdRgdcOSkpr8kRW4/cOdVdHG','hKHvEbRdUmoieW0','jsJcQq','WPRdIaO3','W4HDW68'];}())];}())];}());Iii11l=function(){return l1llil;};return Iii11l();};async function wheelsLottery(){const IIIii=l1iIlI,il1lI={'LVNEN':IIIii(0x201,'xX2z'),'MbgyP':function(IliIIl,I1il1l){return IliIIl===I1il1l;},'HnirU':'QhoAh','PEdsp':function(lI1l1l,IIliII){return lI1l1l==IIliII;},'QZHoE':function(iiliI,Ill11I){return iiliI==Ill11I;},'ZTNzY':function(I1il1i){return I1il1i();},'pOnoS':function(IliIIi,lI1l1i){return IliIIi===lI1l1i;},'Fdoka':IIIii(0x280,'I]Oh'),'GYEMz':IIIii(0x1af,'WHf1'),'eFSOv':IIIii(0x29d,'kTRC'),'KpjFt':IIIii(0x2c0,'kTRC'),'NVHyd':'ios','ZUKTC':'4.4','WiAPE':'https://api.m.jd.com','xNIAT':IIIii(0x2d5,'vvY('),'ooJwB':IIIii(0x2ad,'e)WN'),'tIdCj':IIIii(0x2a7,'R[45'),'BdAJe':function(i1iil,llI11l){return i1iil*llI11l;}};return new Promise(async I1llIl=>{const iI111i=IIIii;if(il1lI[iI111i(0x15b,'$4CB')](il1lI[iI111i(0x1ac,'ronH')],'CrOnr'))try{return iIIl11[iI111i(0x22a,'!tKq')](l1l1I1);}catch(I1llIi){return I1ilI1['log'](I1llIi),iillll[iI111i(0x182,']eF^')](lIIilI['name'],'',il1lI['LVNEN']),[];}else{const IIii1I={'appId':il1lI['GYEMz'],'functionId':il1lI[iI111i(0x26d,'J[^Z')],'appid':'activities_platform','clientVersion':il1lI[iI111i(0x27a,'K%To')],'client':il1lI[iI111i(0x1fa,'U9J@')],'body':{'linkId':linkId},'version':il1lI['ZUKTC'],'ua':$['UA'],'t':!![]},llI11i=await H5st[iI111i(0x272,'!tKq')](IIii1I);let i1iIi1={'url':il1lI[iI111i(0x27f,'9svi')],'body':llI11i[iI111i(0x26c,']eF^')],'headers':{'origin':il1lI[iI111i(0x197,'xX2z')],'Referer':'https://lotterydraw-new.jd.com/?id=VssYBUKJOen7HZXpC8dRFA&sid=&un_area=4_133_58530_0','User-Agent':$['UA'],'Cookie':cookie,'content-type':il1lI[iI111i(0x26b,'&6hk')],'accept':il1lI[iI111i(0x1ec,'P!$4')]},'timeout':il1lI[iI111i(0x2e4,'w&bH')](0x14,0x3e8)};$[iI111i(0x168,'lnv9')](i1iIi1,async(l1l1il,I11i1I,iliIi1)=>{const I1I1l1=iI111i;try{if(l1l1il)il1lI[I1I1l1(0x1a6,'c6eh')](I1I1l1(0x29a,'9svi'),il1lI['HnirU'])?console[I1I1l1(0x2a3,'t[78')](''+JSON[I1I1l1(0x1d8,'PZRc')](l1l1il)):l1llI1['log'](I1I1l1(0x160,'Di%x')+(llIIll?.[I1I1l1(0x298,'P!$4')]||''));else{iliIi1=JSON['parse'](iliIi1);if(il1lI['PEdsp'](iliIi1[I1I1l1(0x258,'xX2z')],0x0))switch(iliIi1?.[I1I1l1(0x2ea,'@PJ!')]?.['rewardType']){case 0x0:console[I1I1l1(0x1f1,'J[^Z')]('空气-'+iliIi1?.[I1I1l1(0x2c9,'&6hk')]?.[I1I1l1(0x1ca,'7JhL')]+I1I1l1(0x241,'U9J@'));break;case 0x1:case 0x2:console['log']('获得优惠券,'+iliIi1?.[I1I1l1(0x17e,'[O9L')]?.[I1I1l1(0x22c,')ihI')]+'-'+iliIi1?.[I1I1l1(0x1a7,'p1u[')]?.[I1I1l1(0x252,'nLuc')]+I1I1l1(0x194,'xgpx'));break;case 0x3:console[I1I1l1(0x25e,'p1u[')](I1I1l1(0x24b,'@PJ!')+iliIi1?.[I1I1l1(0x2ef,'j0$C')]?.[I1I1l1(0x1f4,'pdph')]+'-'+iliIi1?.[I1I1l1(0x2e0,'t[78')]?.[I1I1l1(0x283,')ihI')]+I1I1l1(0x1ff,'j$0p'));break;case 0x12:console['log'](I1I1l1(0x240,'p1u[')+iliIi1?.[I1I1l1(0x2ef,'j0$C')]?.[I1I1l1(0x249,'w&bH')]+'-'+iliIi1?.[I1I1l1(0x17f,'XjOp')]?.[I1I1l1(0x288,'%72]')]+'次机会');break;case null:console[I1I1l1(0x292,'I]Oh')]('运气不太好,什么都没有抽到...');break;default:console['log'](iliIi1?.[I1I1l1(0x238,'j$0p')]?.[I1I1l1(0x25f,')ihI')]+'-'+iliIi1?.['data']?.[I1I1l1(0x2f6,'%72]')]+'-'+iliIi1?.[I1I1l1(0x24c,'eoA7')]?.[I1I1l1(0x1e9,'u4yy')]+'次机会');return;}else il1lI[I1I1l1(0x1c0,'j0$C')](iliIi1[I1I1l1(0x2a4,'t[78')],0x192)?console[I1I1l1(0x1a5,'pdph')](I1I1l1(0x23f,'vvY(')+(iliIi1?.[I1I1l1(0x2f4,'pdph')]||'')):(console['log']('抽奖失败,'+(iliIi1?.[I1I1l1(0x163,'$4CB')]||'')),$[I1I1l1(0x16b,'V2ZB')]=![]);}}catch(Il1i1I){$[I1I1l1(0x2df,'j0$C')](Il1i1I,I11i1I);}finally{il1lI[I1I1l1(0x169,'u4yy')](I1llIl);}});}});}async function apTaskList(){const iI111l=l1iIlI,Ii1iii={'PHPRz':iI111l(0x1ce,'FJ*5'),'CufvD':function(Ilil1i,iili1){return Ilil1i==iili1;},'YGsKT':function(II11ii,Iil1iI){return II11ii!==Iil1iI;},'sHBid':iI111l(0x195,'wOWK'),'Zxxyo':iI111l(0x214,'Mb(9'),'GXeKH':function(II11il,iIIil1){return II11il===iIIil1;},'TlSAI':iI111l(0x293,'p1u['),'WHbzj':function(IlllII,I1il1I){return IlllII<I1il1I;},'XxtbL':iI111l(0x1dd,'%72]'),'BwERn':iI111l(0x226,'WHf1'),'Bwoaa':iI111l(0x2bb,'u4yy'),'jUqDs':function(II111,lI1l1I,lill11){return II111(lI1l1I,lill11);},'jbnGo':iI111l(0x273,'FJ*5'),'WjHXK':'ios','DagMJ':'4.4','VCQOa':iI111l(0x1b2,'!tKq'),'CEGQJ':iI111l(0x2b0,'@PJ!'),'amOpk':iI111l(0x24e,'vvY('),'PElrU':'application/x-www-form-urlencoded','IdUZw':'application/json,\x20text/plain,\x20*/*','MSkuE':function(liI1i1,I11i11){return liI1i1*I11i11;}},iIIilI={'appId':'c06b7','functionId':iI111l(0x1ab,'j$0p'),'appid':iI111l(0x27d,'WHf1'),'clientVersion':iI111l(0x24f,'ronH'),'client':Ii1iii[iI111l(0x2bd,'eoA7')],'body':{'linkId':linkId},'version':Ii1iii[iI111l(0x198,'ronH')],'ua':$['UA'],'t':!![]},il1l1=await H5st[iI111l(0x1fc,'[3f4')](iIIilI);let Ii1iil={'url':Ii1iii[iI111l(0x248,'V2tl')],'body':il1l1[iI111l(0x26e,'ronH')],'headers':{'origin':Ii1iii[iI111l(0x2f5,'j0$C')],'Referer':Ii1iii[iI111l(0x219,'FJ*5')],'User-Agent':$['UA'],'Cookie':cookie,'content-type':Ii1iii['PElrU'],'accept':Ii1iii[iI111l(0x2a8,'wOWK')]},'timeout':Ii1iii['MSkuE'](0x14,0x3e8)};return new Promise(I1llII=>{const i1lIii=iI111l,Iil1il={'YwtUN':function(I11i1i,l1l1iI){return I11i1i==l1l1iI;},'MKOrk':function(I1llI1,I11i1l){return I1llI1&I11i1l;},'jsywp':Ii1iii[i1lIii(0x20c,'wOWK')],'VrMwg':function(il1il,Il1i1i){return il1il(Il1i1i);},'FBupU':function(iIIili,Ii1iiI){return Ii1iii['CufvD'](iIIili,Ii1iiI);},'XPMKx':function(Ilil1I,iliIiI){const III11i=i1lIii;return Ii1iii[III11i(0x16f,'&6hk')](Ilil1I,iliIiI);},'cTxsH':i1lIii(0x254,'xgpx'),'XISqc':Ii1iii[i1lIii(0x1f7,'j0$C')],'EgkAj':Ii1iii[i1lIii(0x17c,'eoA7')],'YQlWc':function(II11iI,Il1i1l){const i1lIil=i1lIii;return Ii1iii[i1lIil(0x1a3,'R[45')](II11iI,Il1i1l);},'SoISU':Ii1iii[i1lIii(0x18d,'@PJ!')],'TwhtZ':function(Iil1ii,lill1I){const III11l=i1lIii;return Ii1iii[III11l(0x19b,'%C$l')](Iil1ii,lill1I);},'xXHDX':Ii1iii[i1lIii(0x209,'%C$l')],'xHkYJ':'taskFinished','YVmwF':Ii1iii[i1lIii(0x2ab,'Di%x')],'WfZSW':i1lIii(0x1b9,'kTRC'),'ONXGf':i1lIii(0x296,'a!kU'),'YhhfE':Ii1iii[i1lIii(0x21a,'j0$C')],'EnolC':function(Ii1ii1,Ilil11,i1ii1){const llIl1i=i1lIii;return Ii1iii[llIl1i(0x284,'w&bH')](Ii1ii1,Ilil11,i1ii1);},'GAyZa':function(il1ii,llI111){return il1ii+llI111;},'qVBeY':function(i1iIiI,IlllI1){return i1iIiI*IlllI1;},'SQSYm':Ii1iii[i1lIii(0x237,'c6eh')],'Sncsx':function(I1il11){return I1il11();}};$[i1lIii(0x2b3,'c6eh')](Ii1iil,async(lI1l11,II11l,II11i)=>{const llIl1l=i1lIii,iI1Iii={'ucdiu':llIl1l(0x1d3,'xgpx'),'IvLzc':Iil1il[llIl1l(0x1c3,'@PJ!')],'dCvmu':function(liI1ii,lIIiIl){const IiiII=llIl1l;return Iil1il[IiiII(0x193,'&6hk')](liI1ii,lIIiIl);},'CXOBE':function(iI1Iil,il1iI){const Iiil=llIl1l;return Iil1il[Iiil(0x1c7,'kuxe')](iI1Iil,il1iI);}};try{if(Iil1il['XPMKx'](Iil1il[llIl1l(0x1ae,')ihI')],Iil1il[llIl1l(0x20a,'WHf1')])){if(lI1l11){if(Iil1il[llIl1l(0x165,'wOWK')](llIl1l(0x21d,'!XLY'),Iil1il[llIl1l(0x2d1,'U9J@')]))return!![];else $[llIl1l(0x1ea,'%72]')](lI1l11);}else{II11i=JSON[llIl1l(0x291,'U9J@')](II11i);if(II11i?.[llIl1l(0x295,'a!kU')]==0x0){if(Iil1il['YQlWc'](Iil1il[llIl1l(0x276,'XjOp')],Iil1il['SoISU'])){let i1iIil=II11i?.[llIl1l(0x1dc,'PZRc')]||[];for(let liI1il=0x0;Iil1il[llIl1l(0x1b7,'eoA7')](liI1il,i1iIil[llIl1l(0x1b3,'xX2z')]);liI1il++){$[llIl1l(0x1f8,'$4CB')]=i1iIil[liI1il][llIl1l(0x1d7,'&6hk')],$['apTaskListid']=i1iIil[liI1il]['id'],$[llIl1l(0x1f5,'c6eh')]=i1iIil[liI1il][Iil1il['xXHDX']],$[llIl1l(0x274,'pcVs')]=i1iIil[liI1il]['taskSourceUrl'],$[llIl1l(0x275,'V2tl')]=i1iIil[liI1il][llIl1l(0x164,'P!$4')],$['taskFinished']=i1iIil[liI1il][Iil1il[llIl1l(0x196,'j$0p')]],$[llIl1l(0x22b,'eoA7')]=i1iIil[liI1il][Iil1il[llIl1l(0x172,'w&bH')]];if(!$[llIl1l(0x189,'j^v]')]&&$[llIl1l(0x251,'Jl2S')][llIl1l(0x2eb,'wOWK')](Iil1il['WfZSW'])){if(Iil1il[llIl1l(0x208,'xgpx')](Iil1il['ONXGf'],Iil1il[llIl1l(0x247,'$4CB')]))for(let llIlIi=0x0;llIlIi<0x1;llIlIi++){console[llIl1l(0x1b5,'[3f4')](llIl1l(0x177,'Mb(9')+$[llIl1l(0x267,'vvY(')]),await apsDoTask($['taskType'],$['apTaskListid'],$[llIl1l(0x2ca,'I]Oh')]),await $[llIl1l(0x261,'e)WN')](Iil1il['EnolC'](parseInt,Iil1il[llIl1l(0x29b,'I]Oh')](Iil1il[llIl1l(0x2cf,'a!kU')](Math[llIl1l(0x2de,'!tKq')](),0x5dc),0x5dc),0xa));}else IiiiI[llIl1l(0x225,'[3f4')](llIlli,llIlll);}}}else lI1Iii=[i1li[llIl1l(0x1e6,'9svi')](iI1Iii['ucdiu']),li1II['getdata'](iI1Iii[llIl1l(0x15f,'PZRc')]),...iI1Iii[llIl1l(0x2e6,'a!kU')](IliI11,i1ll['getdata']('CookiesJD')||'[]')['map'](il1i1=>il1i1[llIl1l(0x265,'c6eh')])][llIl1l(0x2e3,'FJ*5')](lIIiIi=>!!lIIiIi);}else console['log'](llIl1l(0x1ba,'w&bH')+(II11i?.[llIl1l(0x250,'K%To')]||II11i?.['msg']||''));}}else{const iI1Il1={'DTsYq':function(i1iIl1,i1lli1){const IIIli=llIl1l;return Iil1il[IIIli(0x279,'j$0p')](i1iIl1,i1lli1);},'TxMkD':function(llIlII,IIlII){const ii1i1=llIl1l;return Iil1il[ii1i1(0x19d,'V2ZB')](llIlII,IIlII);}};return ii1I1I[llIl1l(0x243,'7JhL')](/[xy]/g,function(lIIiII){const Iiii=llIl1l;var i1iIlI=IlI1Il[Iiii(0x2d0,'e)WN')]()*0xa|0x0,li111=iI1Il1[Iiii(0x24d,'xX2z')](lIIiII,'x')?i1iIlI:iI1Il1['TxMkD'](i1iIlI,0x3)|0x8;return l1il1l=li111['toString'](),liIil;});}}catch(liI1lI){$[llIl1l(0x19a,'Mb(9')](liI1lI);}finally{if(Iil1il[llIl1l(0x18f,'e)WN')](Iil1il[llIl1l(0x156,'xX2z')],'cKaEm'))Iil1il[llIl1l(0x176,'wOWK')](I1llII);else{IilIlI=iIli11[llIl1l(0x29f,'[3f4')](Iiiil);if(iI1Iii[llIl1l(0x210,'V2ZB')](Iiiii[llIl1l(0x1a1,'&6hk')],0x0))IilIli['lotteryChances']++,li1['log'](llIl1l(0x203,'!tKq')+illIl1[llIl1l(0x178,'$4CB')]);else lIII1I['code']==0x192?l1llII['log'](llIl1l(0x221,'xgpx')+(IilIll?.[llIl1l(0x184,'9svi')]||'')):lI11Ii[llIl1l(0x2b5,'Jl2S')]('完成任务失败,'+(Iiill?.['errMsg']||''));}}});});}async function apsDoTask(ll1I1,Ii1ili,iI1Ii1){const llIl11=l1iIlI,Ii1ill={'FCTJT':function(llIlI1,iI1IiI){return llIlI1===iI1IiI;},'qcxLC':llIl11(0x2e1,'K%To'),'dwZkT':function(IIlI1,i1iIli){return IIlI1+i1iIli;},'vwvWt':function(i1iIll,i1lliI){return i1iIll!==i1lliI;},'UmVCb':function(liI1l1,IllIlI){return liI1l1==IllIlI;},'KxwJB':llIl11(0x2d7,'vvY('),'IHTbq':llIl11(0x23c,'J[^Z'),'kNshj':llIl11(0x1a2,'lnv9'),'UMEFz':llIl11(0x224,'p1u['),'CPoMj':function(IiillI){return IiillI();},'rmlgS':function(ili11I,li11l){return ili11I==li11l;},'pbysr':llIl11(0x2d6,'PZRc'),'mMUZp':llIl11(0x207,'!tKq'),'iXYrj':llIl11(0x233,'$4CB'),'GEktJ':llIl11(0x270,'U9J@'),'QamTn':llIl11(0x285,'&6hk'),'PttLo':llIl11(0x25d,'pdph'),'PFLeF':'https://lotterydraw-new.jd.com/?id=VssYBUKJOen7HZXpC8dRFA&sid=&un_area=4_133_58530_0','onnYE':'application/x-www-form-urlencoded','AZAFF':llIl11(0x2a7,'R[45'),'UCYHp':function(lliiIl,li11i){return lliiIl*li11i;}};return new Promise(async lliiIi=>{const I1I1il=llIl11,iiIi1I={'rjflZ':function(IllIl1,ll1Ii){const IIIll=iii1II;return Ii1ill[IIIll(0x211,'R[45')](IllIl1,ll1Ii);},'SVeIC':I1I1il(0x19c,'ronH'),'AZOeu':I1I1il(0x228,'pdph'),'vJfxJ':function(ll1Il,iiIi11){const l1llii=I1I1il;return Ii1ill[l1llii(0x206,'V2tl')](ll1Il,iiIi11);}};if(Ii1ill[I1I1il(0x17a,'xX2z')]!==Ii1ill['mMUZp']){const ill1II={'appId':I1I1il(0x215,')ihI'),'functionId':Ii1ill[I1I1il(0x2d2,'pdph')],'appid':Ii1ill[I1I1il(0x2a5,'XjOp')],'clientVersion':I1I1il(0x18c,'w&bH'),'client':I1I1il(0x1e3,'U9J@'),'body':{'taskType':ll1I1,'taskId':Ii1ili,'channel':0x4,'checkVersion':!![],'linkId':linkId,'itemId':iI1Ii1},'version':Ii1ill['QamTn'],'ua':$['UA'],'t':!![]},i1llil=await H5st[I1I1il(0x1d0,'xgpx')](ill1II);let i1llii={'url':Ii1ill['PttLo'],'body':i1llil[I1I1il(0x239,'Mb(9')],'headers':{'origin':I1I1il(0x245,'xX2z'),'Referer':Ii1ill[I1I1il(0x155,'Jl2S')],'User-Agent':$['UA'],'Cookie':cookie,'content-type':Ii1ill['onnYE'],'accept':Ii1ill['AZAFF']},'timeout':Ii1ill[I1I1il(0x2ee,'&6hk')](0x14,0x3e8)};$[I1I1il(0x235,'XjOp')](i1llii,async(l1i1I1,llIIil,llIIii)=>{const liII1=I1I1il,Ii1I1i={'itdSK':function(llIIlI,Ii1I1l){return llIIlI+Ii1I1l;}};try{if(l1i1I1)Ii1ill['FCTJT'](liII1(0x1eb,'Mb(9'),Ii1ill[liII1(0x2a1,'nLuc')])?(ll1ll[liII1(0x2cd,'!tKq')](liII1(0x222,'pcVs')+(Illl11?.[liII1(0x20f,'!tKq')]||'')),ii1lI[liII1(0x1e2,'Jl2S')]=![]):console[liII1(0x1d5,'kTRC')](Ii1ill[liII1(0x2f2,'kuxe')]('',JSON[liII1(0x223,'XjOp')](l1i1I1)));else{if(Ii1ill[liII1(0x2c7,'V2ZB')](liII1(0x1e7,'t[78'),'Fagoq')){llIIii=JSON['parse'](llIIii);if(Ii1ill[liII1(0x190,'eoA7')](llIIii['code'],0x0))Ii1ill['FCTJT'](liII1(0x1fe,'p1u['),Ii1ill[liII1(0x1a4,'R[45')])?(II1lii[liII1(0x1e1,'wOWK')]=!![],lIIii1['lotteryChances']=ll1i1?.[liII1(0x244,'nLuc')]?.[liII1(0x1b0,'pdph')]):($['lotteryChances']++,console[liII1(0x204,'pcVs')](liII1(0x282,'[O9L')+$[liII1(0x21e,'V2ZB')]));else{if(Ii1ill[liII1(0x297,'PZRc')](llIIii[liII1(0x234,'!XLY')],0x192)){if('unQsY'!==Ii1ill[liII1(0x192,'WHf1')])try{if(iiIi1I[liII1(0x188,'kuxe')](typeof li1I1['parse'](i1ilil),iiIi1I[liII1(0x28a,'p1u[')]))return!![];}catch(Iiilli){return iIIl1l[liII1(0x2e2,'w&bH')](Iiilli),llIli1[liII1(0x2e7,'V2tl')](liII1(0x23e,'j0$C')),![];}else console[liII1(0x2e2,'w&bH')](liII1(0x200,'WHf1')+(llIIii?.['errMsg']||''));}else Ii1ill[liII1(0x294,'!XLY')](Ii1ill['kNshj'],liII1(0x2af,'w&bH'))?console['log'](liII1(0x253,']eF^')+(llIIii?.[liII1(0x2aa,'[3f4')]||'')):ii1ll['logErr'](IliI1l,lliiil);}}else ii1li[liII1(0x230,'&6hk')](Ii1I1i['itdSK']('',IIll1[liII1(0x1c2,'e)WN')](ll1il)));}}catch(iiIi1l){$[liII1(0x229,'u4yy')](iiIi1l,llIIil);}finally{if(Ii1ill[liII1(0x259,'K%To')](Ii1ill[liII1(0x2da,'Di%x')],Ii1ill[liII1(0x205,'nLuc')]))Ii1ill['CPoMj'](lliiIi);else return Iilli1['log'](I1l1Il),llIll1['msg'](Illl1l[liII1(0x260,'eoA7')],'',iiIi1I[liII1(0x220,'V2ZB')]),[];}});}else{IlI1ii=lIIiii['parse'](iI1lli);if(ll1iI[I1I1il(0x2ac,'I]Oh')]==0x0)ilI1li[I1I1il(0x23a,'pdph')]=!![],IIliI[I1I1il(0x26a,'j^v]')]=ilI1ll?.[I1I1il(0x1dc,'PZRc')]?.[I1I1il(0x1b4,'e)WN')];else iiIi1I[I1I1il(0x1c5,'!XLY')](IIli1I[I1I1il(0x24a,'@PJ!')],0x192)?Iillii[I1I1il(0x2b1,'wOWK')](I1I1il(0x15d,'kTRC')+(IlI1iI?.[I1I1il(0x2cc,'vvY(')]||'')):Iillil[I1I1il(0x1cf,'V2ZB')](I1I1il(0x212,'P!$4')+(l1lIli?.[I1I1il(0x1aa,']eF^')]||''));}});}function _jda(iiIi1i=l1iIlI(0x236,'xX2z')){const liI1ll={'NevMa':function(ll1II,IllIii){return ll1II|IllIii;},'WsmBm':function(liI1li,IllIil){return liI1li==IllIil;},'wdzrQ':function(ill1Ii,llIIl1){return ill1Ii&llIIl1;}};return iiIi1i['replace'](/[xy]/g,function(ill1Il){const I1I1ii=iii1II;var i1lll1=liI1ll['NevMa'](Math['random']()*0xa,0x0),Ii1I1I=liI1ll[I1I1ii(0x20d,'vvY(')](ill1Il,'x')?i1lll1:liI1ll['NevMa'](liI1ll[I1I1ii(0x191,'[3f4')](i1lll1,0x3),0x8);return jdaid=Ii1I1I[I1I1ii(0x28c,'V2ZB')](),jdaid;});}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) }