/*
PRO抽奖机抽奖

jd_pro_lottery_id // 活动ID


cron:1 1 1 1 * jd_pro_lottery.js

*/

const $ = new Env('PRO抽奖机抽奖');
var iｉl='jsjiami.com.v7';const lI1III=iii1II;function iii1II(_0x236bf2,_0x2117aa){const _0x1b6e29=Iii11l();return iii1II=function(_0x4cfb30,_0x22e285){_0x4cfb30=_0x4cfb30-0xa1;let _0x32c00c=_0x1b6e29[_0x4cfb30];if(iii1II['QBaPOg']===undefined){var _0xafa02a=function(_0x5cb28e){const _0x5b8579='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d05bd='',_0x41fde2='';for(let _0x2c8787=0x0,_0x3ddc9e,_0x134fa0,_0x4b8a64=0x0;_0x134fa0=_0x5cb28e['charAt'](_0x4b8a64++);~_0x134fa0&&(_0x3ddc9e=_0x2c8787%0x4?_0x3ddc9e*0x40+_0x134fa0:_0x134fa0,_0x2c8787++%0x4)?_0x1d05bd+=String['fromCharCode'](0xff&_0x3ddc9e>>(-0x2*_0x2c8787&0x6)):0x0){_0x134fa0=_0x5b8579['indexOf'](_0x134fa0);}for(let _0x316441=0x0,_0x1e38c5=_0x1d05bd['length'];_0x316441<_0x1e38c5;_0x316441++){_0x41fde2+='%'+('00'+_0x1d05bd['charCodeAt'](_0x316441)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41fde2);};const _0x575521=function(_0x5d179c,_0xc8419d){let _0x26f8dd=[],_0x350951=0x0,_0x54288c,_0x5ea6a3='';_0x5d179c=_0xafa02a(_0x5d179c);let _0x4d152e;for(_0x4d152e=0x0;_0x4d152e<0x100;_0x4d152e++){_0x26f8dd[_0x4d152e]=_0x4d152e;}for(_0x4d152e=0x0;_0x4d152e<0x100;_0x4d152e++){_0x350951=(_0x350951+_0x26f8dd[_0x4d152e]+_0xc8419d['charCodeAt'](_0x4d152e%_0xc8419d['length']))%0x100,_0x54288c=_0x26f8dd[_0x4d152e],_0x26f8dd[_0x4d152e]=_0x26f8dd[_0x350951],_0x26f8dd[_0x350951]=_0x54288c;}_0x4d152e=0x0,_0x350951=0x0;for(let _0x188257=0x0;_0x188257<_0x5d179c['length'];_0x188257++){_0x4d152e=(_0x4d152e+0x1)%0x100,_0x350951=(_0x350951+_0x26f8dd[_0x4d152e])%0x100,_0x54288c=_0x26f8dd[_0x4d152e],_0x26f8dd[_0x4d152e]=_0x26f8dd[_0x350951],_0x26f8dd[_0x350951]=_0x54288c,_0x5ea6a3+=String['fromCharCode'](_0x5d179c['charCodeAt'](_0x188257)^_0x26f8dd[(_0x26f8dd[_0x4d152e]+_0x26f8dd[_0x350951])%0x100]);}return _0x5ea6a3;};iii1II['hZkavl']=_0x575521,_0x236bf2=arguments,iii1II['QBaPOg']=!![];}const _0x34e99f=_0x1b6e29[0x0],_0x252dcc=_0x4cfb30+_0x34e99f,_0x2e2193=_0x236bf2[_0x252dcc];return!_0x2e2193?(iii1II['AHvjeq']===undefined&&(iii1II['AHvjeq']=!![]),_0x32c00c=iii1II['hZkavl'](_0x32c00c,_0x22e285),_0x236bf2[_0x252dcc]=_0x32c00c):_0x32c00c=_0x2e2193,_0x32c00c;},iii1II(_0x236bf2,_0x2117aa);}(function(IlllIl,II11lI,lI1IIi,I1l11I,Ilil1l,iIIiii,iilll){return IlllIl=IlllIl>>0x1,iIIiii='hs',iilll='hs',function(il1iI1,IlllIi,iIIiil,i1l1Ii,I1iIIi){const iillI=iii1II;i1l1Ii='tfi',iIIiii=i1l1Ii+iIIiii,I1iIIi='up',iilll+=I1iIIi,iIIiii=iIIiil(iIIiii),iilll=iIIiil(iilll),iIIiil=0x0;const I1iIIl=il1iI1();while(!![]&&--I1l11I+IlllIi){try{i1l1Ii=-parseInt(iillI(0x161,'Xqgt'))/0x1+parseInt(iillI(0x194,'cGAq'))/0x2*(parseInt(iillI(0x164,'G8il'))/0x3)+parseInt(iillI(0xe8,'aC2I'))/0x4+-parseInt(iillI(0x21e,'iXa5'))/0x5+-parseInt(iillI(0x1fa,'nSQN'))/0x6+parseInt(iillI(0x121,'5YdT'))/0x7+-parseInt(iillI(0xe0,'&&[Y'))/0x8*(parseInt(iillI(0x1e8,'Jd2q'))/0x9);}catch(lI1IIl){i1l1Ii=iIIiil;}finally{I1iIIi=I1iIIl[iIIiii]();if(IlllIl<=I1l11I)iIIiil?Ilil1l?i1l1Ii=I1iIIi:Ilil1l=I1iIIi:iIIiil=I1iIIi;else{if(iIIiil==Ilil1l['replace'](/[EHltfXKNWrghSndwyQUeL=]/g,'')){if(i1l1Ii===IlllIi){I1iIIl['un'+iIIiii](I1iIIi);break;}I1iIIl[iilll](I1iIIi);}}}}}(lI1IIi,II11lI,function(i1ilI,iii1lI,i1ilI1,Iiilii,Iil1li,Iiilil,Iil1ll){return iii1lI='\x73\x70\x6c\x69\x74',i1ilI=arguments[0x0],i1ilI=i1ilI[iii1lI](''),i1ilI1=`\x72\x65\x76\x65\x72\x73\x65`,i1ilI=i1ilI[i1ilI1]('\x76'),Iiilii=`\x6a\x6f\x69\x6e`,(0x1639fb,i1ilI[Iiilii](''));});}(0x184,0x638ee,Iii11l,0xc4),Iii11l)&&(iｉl=`\x8d6`);const jdCookie=require(lI1III(0x17e,'M7es')),notify=require(lI1III(0x115,'CV(F')),common=require(lI1III(0xab,'10nd')),{H5st}=require('./utils/Rebels_H'),isNotify=![];let cookie='';console[lI1III(0xde,']XyV')](''),console[lI1III(0xc6,'YwQL')](lI1III(0x1f1,'@6mK')+$[lI1III(0x1ee,'R7Ux')]+'变量说明=========='),console[lI1III(0xde,']XyV')](lI1III(0x20b,'jUUh')),console[lI1III(0x1ae,'yowI')](lI1III(0x204,'nSQN')+$[lI1III(0xc2,'c1!B')]+lI1III(0x10b,'R7Ux')),console[lI1III(0x1d0,'kBsI')]('');const configCode=process[lI1III(0x1b5,'1b12')]['jd_pro_lottery_id']||'',joinMember=process['env'][lI1III(0x14f,'#o3N')]===lI1III(0xcd,'31me'),cookiesArr=Object[lI1III(0x1e4,'iXa5')](jdCookie)['map'](lllil=>jdCookie[lllil])[lI1III(0x143,'kBsI')](iI11Il=>iI11Il);!cookiesArr[0x0]&&($[lI1III(0x1ea,'&&[Y')]($['name'],lI1III(0x131,'10nd')),process[lI1III(0x1aa,'$dbY')](0x1));!(async()=>{const IIliIi=lI1III,iIII1i={'aFHmT':function(iil1i1,il1i11){return iil1i1<il1i11;},'HWnlq':function(IlIll1,IlIII){return IlIll1*IlIII;},'xfBWc':function(ilil1l,illlIi){return ilil1l===illlIi;},'ykteM':IIliIi(0xc9,'(RZs'),'PtOKo':IIliIi(0xe3,'kBsI'),'nVRPt':function(I1lIii,IiI1I){return I1lIii<IiI1I;},'mjwqU':function(illlIl,i11ill){return illlIl(i11ill);},'cCJkQ':'pt_pin','MxFeG':IIliIi(0x14b,'HTmT'),'CjCRH':function(IIIIIi,IIIIIl,I1lIil){return IIIIIi(IIIIIl,I1lIil);},'mqnNF':IIliIi(0x207,'cGAq'),'gLQqZ':function(IIIl1i){return IIIl1i();},'YqkZO':IIliIi(0xfc,'nSQN')};if(!configCode){if(iIII1i['xfBWc'](IIliIi(0x1cc,'Jd2q'),iIII1i['ykteM'])){console[IIliIi(0x209,'B5Mu')](iIII1i[IIliIi(0x18f,'bTf9')]);return;}else lIIii1[IIliIi(0x21d,'c1!B')](ll1i1),IIli1i&&(lili1[IIliIi(0xc3,'CV(F')]=!![],ll1l1[IIliIi(0x130,'1b12')]&&IiiIi1[IIliIi(0xa8,'YwQL')]['fix'](l1ii1));}notify[IIliIi(0xcc,'c1!B')]({'title':$[IIliIi(0xac,'^rmz')]});for(let IIIl1l=0x0;iIII1i[IIliIi(0x213,'DXXg')](IIIl1l,cookiesArr['length']);IIIl1l++){$[IIliIi(0x1af,'kBsI')]=IIIl1l+0x1,cookie=cookiesArr[IIIl1l],common['setCookie'](cookie),$['UserName']=iIII1i[IIliIi(0x1e6,'qF3^')](decodeURIComponent,common[IIliIi(0xfb,'QEYG')](cookie,iIII1i[IIliIi(0x116,'#CnZ')])),$[IIliIi(0x1e5,'kBsI')]=notify[IIliIi(0xa6,'(RZs')]($[IIliIi(0x141,'G8il')],$[IIliIi(0xb1,'cGAq')]),$['nickName']='',$['fp']=randomString(0x20,iIII1i['MxFeG']),$[IIliIi(0x201,']XyV')]=iIII1i[IIliIi(0x100,'5YdT')](randomString,0x5a,iIII1i[IIliIi(0x187,'5YdT')])['toUpperCase'](),console[IIliIi(0xc0,'Xqgt')](IIliIi(0x1de,'c1!B')+$[IIliIi(0x141,'G8il')]+'】'+($[IIliIi(0x1d2,'QEYG')]||$[IIliIi(0x1da,'7v@8')])+IIliIi(0x191,'1y^3')),$['UA']=common[IIliIi(0x1c1,'cGAq')]($['UserName']),await iIII1i[IIliIi(0x1ed,'1b12')](Main),common[IIliIi(0xe7,'&&[Y')]();if($['runEnd'])break;await $['wait'](0x7d0);}if(isNotify&&notify[IIliIi(0x1a8,'7v@8')]()){if(iIII1i[IIliIi(0xf3,'U6h3')]!==iIII1i[IIliIi(0x12e,'jUUh')]){let i11ili='';for(let iil1l1=0x0;iIII1i[IIliIi(0x217,'A(3M')](iil1l1,IiiiI);iil1l1++){i11ili+=lIIili[IiiIil['floor'](iIII1i[IIliIi(0x171,'$BcC')](IiiIii[IIliIi(0x19a,'R7Ux')](),IIlll[IIliIi(0x193,'M7es')]))];}return i11ili;}else await notify[IIliIi(0x104,'Z%I]')]();}})()['catch'](lllli=>$[lI1III(0x199,'qF3^')](lllli))[lI1III(0x124,'s^K&')](()=>$['done']());async function Main(){const IllIiI=lI1III,iiili1={'MYgLp':IllIiI(0x1dc,'nSQN'),'YQEjl':IllIiI(0x17d,'Vaeh'),'lMcLa':function(lllill,ill11l){return lllill(ill11l);},'UmTzK':'lotteryDrawGet','xPSLS':function(I1lIiI,lllili){return I1lIiI===lllili;},'ioRSz':'yyyy-MM-dd\x20HH:mm','gNbFu':function(IliiiI,Ill11){return IliiiI<Ill11;},'iiAef':function(liiIII,li1i11){return liiIII===li1i11;},'ELRzD':'谢谢参与','WLXee':function(iI11I1,il1i1l){return iI11I1!==il1i1l;},'fZgMJ':IllIiI(0x140,'A(3M'),'PvxoZ':function(IlIlll,IIIl1I){return IlIlll!=IIIl1I;},'RlolL':function(iil1ii,IlIlli){return iil1ii-IlIlli;},'AUOeK':function(il1i1i,lil111){return il1i1i!==lil111;},'jZMxw':IllIiI(0x1c2,'(RZs'),'CZBBZ':'OGFgp','yiiVf':function(i11ilI,ii1ii1){return i11ilI===ii1ii1;},'VBrDd':function(llllI,lllil1){return llllI!==lllil1;},'vKhtX':IllIiI(0x21b,'$dbY'),'XBeXG':function(iil1il,ilil1I){return iil1il<ilil1I;},'fDuqx':function(i11il1,ii1iiI){return i11il1===ii1iiI;},'svEGO':IllIiI(0x107,'31me'),'ElOKF':'vgbXq','aIUGs':function(lllilI){return lllilI();}},ill11i=await common[IllIiI(0x202,'Jd2q')](cookie);if(!ill11i&&typeof ill11i===iiili1[IllIiI(0x1b8,'DXXg')]){console[IllIiI(0x137,'13BR')]('账号无效');return;}try{$[IllIiI(0x105,'^rmz')]=![],$[IllIiI(0x111,'QEYG')]='',await iiili1[IllIiI(0x103,'M7es')](sendRequest,iiili1['UmTzK']);if($[IllIiI(0x13b,'CV(F')])return;if(iiili1[IllIiI(0x1ca,'N7yr')]($[IllIiI(0x1c4,'U6h3')],0x1)){const illlI1=$['time'](iiili1[IllIiI(0xf8,'bTf9')],$[IllIiI(0x1f6,'10nd')]),IIIl11=$[IllIiI(0x129,'R7Ux')](iiili1[IllIiI(0x156,'Z%I]')],$[IllIiI(0x16e,'7v@8')]);let I1lIi1='';for(let lil11I=0x0;iiili1[IllIiI(0x181,'Z%I]')](lil11I,$[IllIiI(0x196,'N7yr')]['length']);lil11I++){const Iliii1=$[IllIiI(0xbc,'U6h3')][lil11I],iIiIi=Iliii1[IllIiI(0xf6,'WZ)t')],iil1ll=Iliii1[IllIiI(0x17c,'jUUh')];if(iiili1[IllIiI(0x1fb,'t[W!')]($[IllIiI(0xf9,'WZ)t')],0x0)){I1lIi1+=iiili1[IllIiI(0x123,'R7Ux')];break;}else iiili1['WLXee'](iiili1['fZgMJ'],IllIiI(0x155,'@6mK'))?llIli1+='\x20\x20'+iliIII?.[IllIiI(0x169,'iXa5')]+'\x20'+iIIl1i?.[IllIiI(0xbd,'@6mK')]+'|'+I1lllI?.[IllIiI(0xed,'$BcC')]+'\x0a':iiili1['PvxoZ'](lil11I,iiili1[IllIiI(0xdb,'bTf9')]($[IllIiI(0x10d,'&&[Y')][IllIiI(0x10f,'13BR')],0x1))?iiili1[IllIiI(0xa9,'qF3^')](iiili1[IllIiI(0xfe,'Lpfy')],iiili1[IllIiI(0x12a,'&&[Y')])?I1lIi1+=''+iIiIi+(iiili1['yiiVf'](iil1ll,0x3)?'[实物]':'')+'，':(lilIl1['msg'](i1l1ii[IllIiI(0x133,'iXa5')],iiili1['MYgLp']),i1l1['exit'](0x1)):iiili1[IllIiI(0x126,'qF3^')](iiili1[IllIiI(0x101,'iXa5')],iiili1['vKhtX'])?lilIll['log']('❓'+l1i111+'\x20'+iliII1['stringify'](II11I1)):I1lIi1+=''+iIiIi+(iiili1[IllIiI(0xb8,'kBsI')](iil1ll,0x3)?IllIiI(0x1d7,'MVRc'):'');}console[IllIiI(0x110,'7v@8')](($[IllIiI(0x180,'bTf9')]&&IllIiI(0x151,'Z%I]')+$[IllIiI(0x176,'10nd')]+'\x0a')+IllIiI(0x19e,'B5Mu')+configCode+IllIiI(0x1cf,'31me')+illlI1+'\x0a结束时间：'+IIIl11+'\x0a活动奖品：'+I1lIi1);const liiIIi=Date[IllIiI(0x114,'Z%I]')]();if($['beginTime']&&iiili1[IllIiI(0x1bb,'5YdT')](liiIIi,$[IllIiI(0xb0,'5YdT')])){console[IllIiI(0x1ec,'M7es')]('活动将在\x20'+illlI1+IllIiI(0xf4,'Vaeh')),$[IllIiI(0xb7,'iXa5')]=!![];return;}if($[IllIiI(0x1ba,'5YdT')]&&liiIIi>$['endTime']){if(iiili1[IllIiI(0xee,'$BcC')](iiili1[IllIiI(0x1be,'yowI')],iiili1[IllIiI(0x13d,'1y^3')])){const iiilii=IllIiI(0x1e0,'^rmz')[IllIiI(0x1e7,'U6h3')]('|');let li1i1i=0x0;while(!![]){switch(iiilii[li1i1i++]){case'0':I1lll1[IllIiI(0x1b7,'s^K&')]=i1IIi?.['data'];continue;case'1':Ii1iII['activityName']=l1i11I['lotteryDrawGet']?.[IllIiI(0x20d,'Xqgt')]?.['activityName'];continue;case'2':II11II[IllIiI(0x1b2,'aE7!')]=Ii1iI1[IllIiI(0x1b3,'jUUh')]?.['rewardList']||[];continue;case'3':IIII1I['beginTime']=Iii111[IllIiI(0x212,'13BR')]?.['activityBaseInfo']?.[IllIiI(0x1a5,'yowI')];continue;case'4':l1l1II[IllIiI(0xdf,'$dbY')]=Iil1I1[IllIiI(0xc5,'DXXg')]?.[IllIiI(0x1f0,'A(3M')]?.[IllIiI(0x144,'CV(F')];continue;}break;}}else{console[IllIiI(0x110,'7v@8')](IllIiI(0xe4,'G8il')+IIIl11+IllIiI(0x10a,'QEYG')),$['runEnd']=!![];return;}}}let ilil11='';for(let IlIli1 of $[IllIiI(0x1c3,'Vaeh')]?.['taskConfig']||[]){ilil11+='\x20\x20'+IlIli1?.[IllIiI(0x14d,'WZ)t')]+'\x20'+IlIli1?.[IllIiI(0x21a,'aE7!')]+'|'+IlIli1?.[IllIiI(0xc4,']XyV')]+'\x0a';}console['log']('任务明细：\x0a'+ilil11),await iiili1[IllIiI(0x139,'(RZs')](doTask),await $[IllIiI(0x142,'Lpfy')](0x3e8),await lotteryDrawJoin(),await $['wait'](0x3e8);}catch(illIiI){console[IllIiI(0x1a0,'HTmT')]('❌\x20脚本运行遇到了错误\x0a'+illIiI);}}async function doTask(){const i1il1=lI1III,lI1lli={'fZRUY':function(Ill1l,llI1Il){return Ill1l==llI1Il;},'awstI':function(ii1iii,i11iil){return ii1iii(i11iil);},'Tqnlg':i1il1(0xff,'MVRc'),'eQkjV':function(Ill1i,ii1iil){return Ill1i(ii1iil);},'FuVHt':function(lllI1l,i11iii){return lllI1l(i11iii);},'qTfuJ':i1il1(0x218,'YwQL')};$['cannot_open_list']=[];for(let llI1Ii of($['lotteryDrawGet']?.[i1il1(0xb3,'t[W!')]||[])[i1il1(0x146,'QEYG')](lllI1i=>lllI1i[i1il1(0x1d5,'jUUh')]===![])){for(let li1i1l of llI1Ii[i1il1(0x15d,'$dbY')]){if(lI1lli['fZRUY'](llI1Ii[i1il1(0x13a,'^rmz')],0xf)&&llI1Ii?.[i1il1(0x14c,'Lpfy')]?.['itemName']!=li1i1l[i1il1(0x168,'yowI')])continue;switch(li1i1l?.[i1il1(0x1fe,'CV(F')]){case 0x0:$[i1il1(0xa2,'aE7!')]=llI1Ii?.['taskType'],$[i1il1(0x173,'yowI')]=li1i1l?.['itemId'],$['taskName']=llI1Ii?.['taskName'],await lI1lli['awstI'](sendRequest,lI1lli[i1il1(0x1b9,'(RZs')]),await $[i1il1(0xe6,'B5Mu')](0x3e8),await lI1lli[i1il1(0x1f4,'^rmz')](sendRequest,i1il1(0x1d3,'Jd2q')),await $[i1il1(0x166,'aC2I')](0x3e8);break;case 0x1:$[i1il1(0x211,'1y^3')]=llI1Ii?.[i1il1(0xa7,'qF3^')],$[i1il1(0x190,'iXa5')]=li1i1l?.[i1il1(0x1dd,'Lpfy')],$[i1il1(0xf5,'DXXg')]=llI1Ii?.[i1il1(0x11e,'U6h3')],await lI1lli['FuVHt'](sendRequest,lI1lli[i1il1(0xc8,'Dk&G')]),await $['wait'](0x3e8);break;}if($['pro_hot'])break;}if($['pro_hot'])break;}}async function lotteryDrawJoin(){const I1l111=lI1III,II1i1={'gQeJL':I1l111(0x11b,'1b12'),'Zxlpy':'被外星人抓走','IuJNl':'奖励已抢光','mLEYp':function(iIiII,iil1lI){return iIiII(iil1lI);},'Ljelk':I1l111(0xdd,'$dbY'),'uTZNg':function(iiiliI,li1i1I){return iiiliI>li1i1I;},'WDOTG':function(illIii,ii1il1){return illIii!==ii1il1;},'cDsse':I1l111(0x1c0,'[vsf')};$['lotteryDrawGet']='',await II1i1[I1l111(0x1bf,'Jd2q')](sendRequest,II1i1[I1l111(0x185,'cGAq')]);let lI1lll=$[I1l111(0xdd,'$dbY')]?.[I1l111(0x11a,'t[W!')]||0x0;console[I1l111(0x1ae,'yowI')]('有'+lI1lll+I1l111(0xa5,'aC2I'));while(II1i1[I1l111(0x148,'&&[Y')](lI1lll--,0x0)&&!$['pro_hot']){II1i1[I1l111(0xd0,'M7es')](II1i1['cDsse'],'zehGb')?((I1lliI['errorMessage'][I1l111(0x1f7,'U6h3')](II1i1[I1l111(0x170,'M7es')])||llIllI[I1l111(0x203,'#CnZ')][I1l111(0x165,'cGAq')](II1i1[I1l111(0x1a2,'G8il')])||I1ilI1[I1l111(0x1d6,'c1!B')][I1l111(0x1ab,'Vaeh')](II1i1['IuJNl']))&&(IiiIl1[I1l111(0x11c,'M7es')]=!![]),lIIilI['log']('完成'+II1li1[I1l111(0x13c,'10nd')]+'任务失败:\x20'+l1lIlI[I1l111(0x1a3,'qF3^')])):(await II1i1[I1l111(0x20c,'G8il')](sendRequest,I1l111(0x127,'7v@8')),await $[I1l111(0x219,'DXXg')](0x7d0));}}function Iii11l(){const ililI1=(function(){return[...[iｉl,'tthQjsKjyiaUnmi.XcWdUoHmrlE.LeXvw7ghNfrS==','WQGBWP/cRmki','WO7dOfKUd19z','44k35OYG56AB44cM6k6Z5ys/6i+u5y+/vqXQWPxcQmkL','WPS8W4xdOmkVbCo8yW','W5pdVSo/fW','WOmYW4ldV8kefSoOqMfqq8k6vCof','WQFcQmkhmmkL','8lErLCkF56MO5Rg6','WR7dHrW','j8oUvI1LeSoL','WQVcImkPCmkX','W6KuqgDNecJcVG','W6mPfaxdTmky','W5pcKCosxaOwdKW','W7ldJH/dQ8oH','WQRORQ3MSypLK6xLURVdQW','W5JdSCo2jG3cISoo','cmoMutWB','w8o/W7/cRCkq','kSoyjrO','W4yElCkOpCo1','W7qYhHtdS8krW7i','WPizWQ9dW6rgWP7dPCo5W5K','WQVcHSkjdmkzW6u','iSoUrqW+nCo4W5rn','WRGcFJhcHa','W5lcLmoVDIm','WPK3ie0M','o8kIAJS5WRVdPqJdImkqm8okDCoqdCkz','kCoypWxcNSkPxIq','WRuFxZRcIYjlgG','WQlcSYxdQcu','W6ZdIhTxxdpcHCkzrIXeuej9W4ZdSSoaW7yeW5BcIWnJ','WOSNauiS','5REF5yMJ5zgc56Eo772Xfa','pN3dGIXhWRbVxarlW7zR','WQ/dUqCFWPVdTt0nwSoxWPpdPSoVW74dW6j4','k8okxSoGbq','W7WqW4KTWQe','WO3cPb1Teq','pgRdHa9uWOLVxanRW6f+W63cMJCinSk+xa','WQ/cRmkrpK8','4P+RW5dMNOVOG4RMRkFNOjNLPAFNKk82','W6RdG1btsY7cO8kXwZLhCLvW','amoemSkT','WPFcGYddTHNdKSoj','hSogsSoLoSo0aMyVlxpdQW','8kEjNdq','mCowobRcSSkVqG3cTmozqSksq3q','fCoJWOe','Ad/cH3ydW45TxWfpW5bl','WPCOtJZcOq','WQq4rXpcLIpcHSkz','c8kLWQNdVCoCW7ddLKSjhIS','WQvnECkcwCoenWG','EMxdRd4','fCofBcmf','uSoivCoPbSkVaCko','W4NdVSoHgsRcHSognq','WRCMav0n','W6dcHeSAtSkwWQ5truaQDGBcRZ3cKSkPoSkg','oCkwWP8tW60DoJn4W4DkW7mh','bmkfzSkfW5m','WQBdUbC/WPFdQIe','bCkwymkl','oIldMSoFW5u','WOddQ3ddISkN','5lMp5yUC5OQQ5yUR','uSoivCoPaCkQ','omolpGhcPCkqxJRcTCozuSkW','WQFcU8kjvmks','W4BcK8ovxJiEf1byaMJcMW','WO3cRCkPvmk0','l27dGYH7WPXNsG','jCkYW6K','WQjYsW','W7ldJvDmyd3cT8kq','W5ShW5pdSCoWbCoOW5pcNtC','WOitWRDoW7ndWQq','C1ZdLCoXW5RcLmo/eqrt','WO3dMrajWPu','amkuymkdW5C9W5FdU8ohwGCA','WOpcHs14hG','W6ZdOSoIqCk0','WQ3cJSktsJW','W4pdUSoduSkXWRaCuuKlW44ea8kJvCkYs8oRWP9dW5ddGCkNiuG','WObjF8kcrW','W5K6dmkAlq','WOiSW5JdHCkN','W4ZdMJe','W4hcMCoz','8yI2OE+7MCoz5l+N5OoP5yIl','5REC5yMz5lMc5A+X5z2z5zgIW4m','WOmYW5e','W4ewW5ddOmoXw8ktWOxcNsavl0pdJ8kZbaBdLJj3','W6VcJLG','mCkdw8kHW44','W5tdQ8o3hY3cGW','WP3cIhRcISknmha','cSklbSk2F8o7vmkPAt3cJmkkEa','mrBdKCoYW63cKW','W7GvA8k9vCoTfa8','W7eAva','WR/cNmkSn1FcPSk1ECknWRS','WOBcUCkVAJyz','W5hdSmo1','WRiFWRhcVmknEW','W5ldLdJdLGPr','x8oDrmoL','W7tcRMW3Fq','W47dVmoftCkWW4DwdvSAW4bp','5Rwz5yMFW7tdI++8GG','5Asn5yQ+5Bwc5OUH5yw8','z8o8pW','tmomW7PeWQG','AmoPW7FcUmkr','WRScWQtcLSknrfz2eCklamk/','ASodW5ToWQHgFavcW6bQW6mpufxdGq','wCozv8oTjSkAbCkgsq','5AAX5yMa5Aw+6lAms8kD','W5xdKrJdSWi','WQtdSWCMWPVdTdCOt8ot','W4mwomk3ka','d8oFumo6','WOKsWRToW6ngWQ/dRW','W6pdNLzixbhcV8kgwJLxua','WQG4qcVcIIRcHG'],...(function(){return[...['v8otvW','W4KzjCk5ia','fmoenmkTzg4','CGhdImoxW78','W7xcHeG3xCkgWODjqNu','W4unW5ddPmoNe8ofW67cNZmnrKVcLq','W5irW5uBWPG','WOBdQ1W','5RAB5yMv5AAv54g554MO','WOVcNJVdNrtdJ8oeWRLqqCojW6XrWPS','W7NcRmo6Eai','WP7cSmksw8kL','WOOZW5ldN8kicCo0','WRCFW5pdK8kM','aMNdQdnX','WR/cMmk1mKRcRW','smokDCodbW','cCoPa8kvEq','W48mW6/dN8o2','WQTgDmk7Bq','WRlcJmkFxCkV','WOWtWQXwW7nqWRpdMmo7W51qu3uB','emoIWOjVrq','a8okWODMwa','WQqsBHdcGa','cCoanCk/AhRdMa','WOKZWO7cGmkv','wJmSWQfO','WRxcQCkigNy','5AAY5yM65Aw+6lsBurC','nmoGiCkFuq','WPrNACoqWRFcUKpdVW','W4uiW7xdUCo5uq','W7FLViNLP4hMLyRPLlBVV4q','W4WyjG','W5JdRCoGhrBcQSooi8oxuwpcLW','WQpcHSkge8kYW7BdVxO','cmokmSk4Bg/dHmo1W49UdSodW4TBbSoTrHddV1y','W6u4ic/dNW','W4edW5FdLSoRd8ovW5NcHq','yWFdJSklWR8JzSomt8kaWR7cVW','WQ/LRyBNIQHt','W5xcLCowvJytluH7bG','mgRdLtmyWPXMrGfp','WPBdPryzWRddPIKS','mCowkW','44cB5O2W56Av44c26kYP5ywN6i6/5y6Qq8oUDSoTl1S','nmonkqpcNSk5','df/cLSooW6DekEw+V+wNT+odSEs5TEs7HUI0P+woQG','4PY1WQZMN4ZNN6/OR4RMSAtdSq','WQ0jahahfwNcP0a','r1hdLs9d','W5BdGstdICorCW7dM8knW6zcnYfsW6Dq','WRJcPmknqSkNW5Lr','W5BdUSoRaq','W40smSkVoCoGrq','WRmAWQhcImkQ','cSo8WOPJsq','uCksFSo7EfFdUSohW41N','W5GvW4hdOSo2gmojW4pcGIiBCKRcH8k+celdNJfGWQnRW6lcJKdcLa','WQaLqW','W70ZdJtdV8koW64Jg8kQtCoXWQWMW6edW5u','mrZdMa','WOtdIxSSna','W47dLdVdLW','nCodWRn4ta','iCoOvGWMcmoLW4bQkCk5W69gW4hdMCo5','WOLaWODjW5CAW6z+d2y','W5tdLcxdMsTDzSkl','E8oHn1DLW6hcPW','W7GKwgzL','t8oDq8oVhmk3hmko','W4xcLCogxIOJcKrZ','emoIWOvMselcTc4','W7BdOZtdNWe','DtNdM8kgWP8','oSkxWPKvW6KAmd5fW5jTW5W1','uxtcJHRdNq','W6ldLNrkDW','dCoQfq','W6m5ctxdTSki','WQNcJSkrgq','WQGLvc/cLq','W47dP8ot','a8oamSkazNRdLmoFW657gmoWW5TC','WPGekKSTcazpetFdUSoa','nSkDWPiAW6msnue9WRW','WQJcI8kPovFcJ8kCy8knWQ7cQ8o1','8yYDSmo75Oc75zA56i215B2U5A6o54Qx77+v','WO1HwCkQACoMftnVWRbGsGtdMHJcUSo+WQxdRWzHvmkjnJeU','WQrbatKhpYNcKXHYdq','dSkyW5O','BNNcPYVdRG','W4mgW7VdOmoWdSoJW4BcGIyozfZcMmkgcuZcLxi1W7VMTlpLIlZcPwO','x8oDW57cKCky','oMZdHcPdWPr+vJvlW6jRW7lcKsmu','tIOvWQ5K','W5pcImoCCqTdlW','dSoxoI/cTG','W4pdGYpdI8oZyWRdHW','WR7dHq9XpuhdTCkKxIO4W7JcPXG','W47cQ8oTqHO','WQlcUYnBmG','W5FdVx8mxatdVXhdSuJcQuL5','dSoXpqZcKq','iConAGGe','zsK0WRL3hSoAWRZcG23cHNFcTddcQ8kIWPuvmSkA','W5FcNmowzG','W6hcIfe/xmkkWOHprg8U','c8osDCoAnW','WOdXGikj','AHRdMW','WO7cQCkIqfpdLmkEcCorv0JcTgy','cKpdLIzs','WR3cJSkxgCkrW6q','WPJdKL3dGCkh','W7pcGeW9E8kBWRTf','WOxdQuuYha','5AEH5yIt5OMa5yI/','5QYS5OQ55AEt5P2W5lY8','WQNcS8kzvSk2W48','WQOrWQxcKSkRCenG','zcmZWR5Zc8og','WP8LWPNcNmk0','WQe5qW','WONdN8ouqY0BeazebMFcM8kTWRnKputcJvC1e8keWPi','W7muxMK','AwxdSsS','W64aug9wgIS'],...(function(){return['WP7cUCkpfCkZW4b0cfGt','WO04W5hdOSkpmmo4A3y','WPLqF8kCySobpX4','W7S4gsJdTCkjW70ocmkLxCoQWQTh','thZcVbtdUmk6d8o8uSkk','WPNdP0SnbG','i8oxtSo9ea','W7BcVmohuIm','W4/dQSo8nWRcGW','W5GNeSkqcW','WO0EWQdcUmkE','WQaZvWZcGIdcHG','W43cKSo+ErG','c8oPWPfRt0lcNtriDG','W5iuW5qDWPLpWPGSrZxcTW','cmokiq','W4ShW4pdUCoSnCovW4FcIa','n2ddLW','W7u0feVcGG','AbtdKCkb','W74PdGBdTSkDW7a','W4ldUSost8kbW6vgefW','W4ZcKSolzGTcjqpcMSoekmo8WOFcJq','zsKN','WQ5BaG','W7Soz11L','WPRcHmkBzmkA','W7eAr3HwgYhcNWb6mSobEYe','BSosW51iWQXSzXHL','zrRdKSkcWQqj','WOL7F8oz','W5RdUSoMpGxcK8ooi8oqCxtcGMmkWRuLpSkhza','lmoKvHe1e8oOW71AkCk9W41QW5VdRCoZnmkZfmkK','cJFdSmobW54','5lMB5yMC5AAo6ls3vba','W5BdGstdICorCW7dM8kbW6zCnW','WPtcHcZdIHtdJSoo','AqddImkIWQepza','WPbSECopWQpcUum','WQldTqCcWOJdRJaWzSoxWONdHW','g8kFwmkeW7y','WQ0rsW','WRK3vXtcRsBcJSkp','WPrbmmkpiCokzSoS','m8kBE8kgW60','W5KgW7pdRmoXumolW4RdJWqht1LHWQZdSry','bSoitCo6fSoYhK8rjxFdMepdNq','W4FdOCoq','d8ojxCoAgSoTaG','W7XKeuNcTGZcPmkBWOpcVW','gmo8WPzMvexcScLsBCoUWP4xWQfEWPOZvCosWRDYW7BcHXm6W5XeEsBcKmkjnCoo','W5dcJ8oqtqzFka','4PIav+IUTUwgLowVGUs7JUw/PEIKMEEBH+EnSUwGRUwoI+MgTEwrHowfT+I+KEIIHUIgV+ACNa','5Rsj5yI55BwP5lMgW4G','W7NcJConrYu','fCkwW5tdUW','WRG4vXRcLWtcJmkfWQtcH3S','pZ3cSxKFys3dVh5bW5BcI3S','ubhdLmkWWPG','bSocv8oPb8oO','W47cMmonFsW','5AwF5yU35OMq5yMs','WQhdIhVdI8kvv8k6W79Z','WQ7dUgVdL8kU','WPXQFSovWRtcT1ldTsaxWOfsxg0+kq','W60vlCkLfW','WQOZudFdLJtcLW','qCoLW6NcOCkgW4hdJMuA','imo9WO1qCG','W4dLVBZLPjpVVk7MM4ZNGPVLHyFMN7NLKQ7dGG','W5tcNmomEsbrmsi','WRmBwZdcTYDOhHtcJq','W6ldVSoauCkH','cmkyrSk5W5S','WRemrsVcObDFdXW','z8oyW6NcNSkM','WQRcISkro8ktW7JdU3BdGJ7cTw1aWRy','w8ovW4PIWQy','WOWtWQXwW7nqWRpdMmo7W51qu3uBWPPbWPeyW7XM','n8oJarBcOa','WPJcT8k1EJWgW6HcWPtdOb1gf3DnrLi','WQW3W7xdMCkP','W4VdLmo6bJW','WPtORORMS7JLPyxOT48h4P2hy+AxKUwsLUw5L+AuIUAoIW','mt7dNmozW7G','WPtcVJXw','W60hxfnBbIW','WQbmFq','WOTOx8oYWQq','bCksW4NdHY3dMCoS','W7Ghqwnbjd3cQaf6iSoJ','W63NUlZMNRRVVBtKU7FMRRBMLBNNGQBMN4lLKy/cQG','5O2W56Ap57Qf5P+Twae2W5mbjJZdLqSR','W63dQIldMCok','WR8ZuX7cKspcR8kdWRZcMG','xSooqSoRoSkdcCkyxW/cN8k1','WR7dJXvIlfS','WQ/dUrq','WQhcGmkrdmkzW6xdQvVdLqNcO0zqWQC','W6KSosVdOW','77Yf5PYU552G5AsC5zoN57cP5z6q','WORcPdG','WR9ZdZtdS8kqW6rio8kUwmoqWQ8bW58dW5VcISoWFIOYWRnsAXmC','WP41eK8o','W4amW4FdVmo3bCozW5K','WP3cTSkIyIWqW7r1','pIRcTa','w3xcRHhdMmkWlCo/xCkz','5REy5yIT5Asa54c254MO','lqhdKmokW7hcLmoK','W5VdJtC','dCoTWPvHC0FcVdG','WQtdK3K','W5GsW50','W51RWOBcV8osvSkJswT3z8kiCq','n2RdNIrbWPu','W6xdUqtdIce','WOhcMchdIb3dKCoe','W4xcLmoB','WOGYWQtcVCkB','WQ/dUqCFWPVdTt0nwSoxWPpdQmoVW4mm','WPBdQ08Lb0Ti','W5tdNdVdLW','WO4mzJ3cUq','W6qYW6KG','WRu7W7/dO8kg','WPtdPemP','W7atW4/dISon'];}())];}())];}());Iii11l=function(){return ililI1;};return Iii11l();};async function handleResponse(illIil,Ill1I){const IIii1l=lI1III,i11iiI={'udNAg':function(lIli11,lllI1I){return lIli11===lllI1I;},'kUNvc':IIii1l(0xca,'^rmz'),'qDldB':function(lillI1,IlIlii){return lillI1==IlIlii;},'YVRDe':'0|2|3|1|4','tdZoE':function(i1l1i1,liil11){return i1l1i1==liil11;},'zFale':IIii1l(0x128,'1b12'),'caOMO':function(iiillI,l1l111){return iiillI===l1l111;},'XGOyB':IIii1l(0x19c,'aE7!'),'FpleY':IIii1l(0xfa,'G8il'),'caykp':IIii1l(0x1eb,'CV(F'),'YfXpD':function(l1iIII,llI1I1){return l1iIII==llI1I1;},'PnCgQ':'xUvXW','LOUrq':IIii1l(0x1b6,'DXXg'),'SnvAa':'被外星人抓走','moAkv':IIii1l(0x19f,'Xqgt'),'dAxiy':'lotteryDrawJoin','sLgbR':function(IlIlil,lIli1I){return IlIlil==lIli1I;},'UNNFU':IIii1l(0x18a,'qF3^'),'iDJoc':function(II1il,lllI11){return II1il===lllI11;},'Ipwsc':IIii1l(0x10c,'1y^3')};try{switch(illIil){case i11iiI['kUNvc']:if(Ill1I['data']&&i11iiI['qDldB'](Ill1I['success'],!![])){const I1lIll=i11iiI[IIii1l(0x183,'MVRc')]['split']('|');let I1lIli=0x0;while(!![]){switch(I1lIll[I1lIli++]){case'0':$['lotteryDrawGet']=Ill1I?.[IIii1l(0x1ff,'QEYG')];continue;case'1':$[IIii1l(0xd2,'1y^3')]=$[IIii1l(0x15f,'Lpfy')]?.[IIii1l(0x1a4,'nSQN')]?.[IIii1l(0xd6,'7v@8')];continue;case'2':$[IIii1l(0x147,'A(3M')]=$[IIii1l(0x15a,'#o3N')]?.[IIii1l(0xef,'31me')]?.[IIii1l(0xbf,'jUUh')];continue;case'3':$[IIii1l(0x1ad,'&&[Y')]=$['lotteryDrawGet']?.[IIii1l(0x1e2,'1y^3')]?.[IIii1l(0x13f,'iXa5')];continue;case'4':$[IIii1l(0x1b2,'aE7!')]=$['lotteryDrawGet']?.['rewardList']||[];continue;}break;}}else i11iiI[IIii1l(0x1d4,'CV(F')](Ill1I[IIii1l(0xcb,'nSQN')],i11iiI[IIii1l(0x1c5,'U6h3')])?i11iiI['caOMO'](i11iiI['XGOyB'],i11iiI[IIii1l(0x214,'Z%I]')])?l1lIl1[IIii1l(0xbe,'Jd2q')]('领取'+IiiIlI[IIii1l(0x132,'5YdT')]+IIii1l(0xec,'YwQL')):($['runEnd']=!![],console[IIii1l(0x18e,'aE7!')](IIii1l(0x18b,'s^K&'))):console[IIii1l(0x195,'^rmz')]('❓'+illIil+'\x20'+JSON[IIii1l(0xf2,'G8il')](Ill1I));break;case i11iiI[IIii1l(0x1a9,'kBsI')]:i11iiI[IIii1l(0x1bc,'Xqgt')](Ill1I[IIii1l(0xae,'^rmz')],!![])?i11iiI[IIii1l(0x1a7,'R7Ux')](IIii1l(0x17f,'7v@8'),i11iiI[IIii1l(0xa1,'$BcC')])?ll1iI['pro_hot']=!![]:console[IIii1l(0xd8,'WZ)t')]('完成'+$['taskName']+IIii1l(0x172,'@6mK')):((Ill1I[IIii1l(0x109,'^rmz')][IIii1l(0x1cd,'31me')](i11iiI[IIii1l(0x1ef,'U6h3')])||Ill1I[IIii1l(0x174,'Lpfy')]['includes'](i11iiI[IIii1l(0xb9,'qF3^')])||Ill1I[IIii1l(0x205,'N7yr')][IIii1l(0x163,'&&[Y')](i11iiI[IIii1l(0xbb,'DXXg')]))&&($[IIii1l(0xe2,'DXXg')]=!![]),console[IIii1l(0xaa,'&&[Y')]('完成'+$[IIii1l(0xd9,'&&[Y')]+IIii1l(0xd1,'DXXg')+Ill1I[IIii1l(0x203,'#CnZ')]));break;case IIii1l(0xfd,'Vaeh'):Ill1I[IIii1l(0xd3,'s^K&')]==!![]?console[IIii1l(0x106,'cGAq')]('领取'+$[IIii1l(0x1f2,'R7Ux')]+IIii1l(0xa4,'1y^3')):IIii1l(0x20a,'t[W!')===IIii1l(0xe9,'c1!B')?(Ill1I[IIii1l(0x152,'Xqgt')][IIii1l(0x117,'jUUh')]('被外星人抓走')&&($['pro_hot']=!![]),console[IIii1l(0x11f,'$BcC')]('领取'+$[IIii1l(0x178,'Xqgt')]+IIii1l(0x1a6,'s^K&')+Ill1I['errorMessage'])):I1iIii+=''+IllII1+(i11iiI[IIii1l(0x149,'10nd')](I1iIil,0x3)?'[实物]':'')+'，';break;case i11iiI[IIii1l(0x14a,'#CnZ')]:if(i11iiI[IIii1l(0x1f9,'c1!B')](Ill1I[IIii1l(0x20f,'DXXg')],!![])){let ii1ilI=Ill1I?.[IIii1l(0x16f,'bTf9')]?.[IIii1l(0x145,'Vaeh')],lI1ll1=Ill1I?.[IIii1l(0x19b,'yowI')]?.[IIii1l(0x1d8,'10nd')];switch(ii1ilI){case 0x0:console['log'](IIii1l(0x136,'DXXg'));break;case 0x1:console[IIii1l(0x198,'iXa5')]('🎉\x20'+lI1ll1+IIii1l(0x21c,'DXXg'));break;case 0x2:console[IIii1l(0x160,'U6h3')](i11iiI[IIii1l(0x167,'A(3M')]);break;case 0x3:console['log'](IIii1l(0x206,'N7yr')+lI1ll1);break;default:console[IIii1l(0x110,'7v@8')](lI1ll1+IIii1l(0x113,'aC2I')+ii1ilI+'）');break;}}else Ill1I[IIii1l(0x1d1,'iXa5')][IIii1l(0x163,'&&[Y')](i11iiI[IIii1l(0x210,'Lpfy')])&&($['pro_hot']=!![]),console[IIii1l(0x18c,'5YdT')]('领取'+$['taskName']+'奖励失败:\x20'+Ill1I['errorMessage']);break;}}catch(iIiI1){i11iiI[IIii1l(0x1c6,'&&[Y')](i11iiI[IIii1l(0xb5,'$dbY')],i11iiI[IIii1l(0xf7,']XyV')])?console[IIii1l(0x137,'13BR')](IIii1l(0x159,'10nd')+illIil+IIii1l(0x13e,'Dk&G')+(iIiI1[IIii1l(0x1c7,'Jd2q')]||iIiI1)):(IiiIll[IIii1l(0x10e,'yowI')][IIii1l(0x1ab,'Vaeh')]('被外星人抓走')&&(lIIiii[IIii1l(0x15c,'s^K&')]=!![]),IlI1il[IIii1l(0x1db,'Lpfy')]('领取'+IilliI[IIii1l(0x17b,'#o3N')]+'奖励失败:\x20'+IlI1ii['errorMessage']));}}async function sendRequest(i11ii1){const I1iIII=lI1III,IlIliI={'mzucP':'[实物]','Amgnv':function(illIi1,ii1ili){return illIi1*ii1ili;},'JPYyR':'被外星人抓走','zbaPh':I1iIII(0x12b,'@6mK'),'TFstu':I1iIII(0xc1,'&&[Y'),'GlUcv':I1iIII(0xb2,'CV(F'),'QLfeg':I1iIII(0x1fd,'Jd2q'),'VwePp':I1iIII(0xdc,'[vsf'),'WCXyj':I1iIII(0xcf,'A(3M'),'gcNkW':I1iIII(0x1b1,'c1!B'),'jxmrO':I1iIII(0x119,'aC2I'),'MblyO':I1iIII(0x127,'7v@8'),'qydHs':I1iIII(0xe1,'U6h3'),'EBjAT':'gzip,\x20deflate,\x20br','CHHiJ':'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6','dzPmY':I1iIII(0x1d9,'Xqgt'),'YdDbI':'application/x-www-form-urlencoded','xpCky':'https://pro.m.jd.com','loilJ':function(liil1i,lI1lil){return liil1i===lI1lil;},'SHqbF':'jogXB','yMMFu':'Content-Type','Sullz':function(i1l1iI,liil1l){return i1l1iI<liil1l;},'ZfIhg':'AgqoZ','jGbHY':function(lI1lii,Iiili1){return lI1lii===Iiili1;},'zhLnW':I1iIII(0xe5,'DXXg'),'ZnZiD':function(Iil1l1,i1i11I,il1iIl){return Iil1l1(i1i11I,il1iIl);},'espPv':function(iii1ii,il1iIi){return iii1ii>=il1iIi;},'vQYfs':function(iii1il,II11li){return iii1il!==II11li;},'bUJhj':'vkIUw'};if($['runEnd'])return;let l1iII1='',iiill1='',lIli1i=IlIliI[I1iIII(0xb4,'1b12')],IIIII1=null,I1lIlI={};switch(i11ii1){case I1iIII(0x134,'5YdT'):lIli1i=I1iIII(0x179,'B5Mu'),I1lIlI={'appId':IlIliI['TFstu'],'functionId':'lotteryDrawGet','appid':IlIliI[I1iIII(0x177,'(RZs')],'clientVersion':common[I1iIII(0xce,'iXa5')](),'client':IlIliI[I1iIII(0x21f,'Xqgt')],'body':{'configCode':configCode},'version':I1iIII(0xc7,'^rmz'),'t':!![]},IIIII1=await H5st[I1iIII(0x138,'A(3M')](I1lIlI),l1iII1='https://api.m.jd.com/api?'+IIIII1[I1iIII(0x1ce,'[vsf')];break;case IlIliI['VwePp']:I1lIlI={'appId':'7a2b4','functionId':I1iIII(0x153,'7v@8'),'appid':IlIliI[I1iIII(0x182,']XyV')],'clientVersion':common[I1iIII(0x157,'Xqgt')](),'client':IlIliI[I1iIII(0xb6,'10nd')],'body':{'taskType':$['taskType'],'configCode':configCode,'itemId':$['itemId'],'babelChannel':'ttt32'},'version':'3.1','t':!![]},IIIII1=await H5st[I1iIII(0xf1,'&&[Y')](I1lIlI),l1iII1='https://api.m.jd.com/api?',iiill1=''+IIIII1[I1iIII(0x1b0,'Jd2q')];break;case IlIliI[I1iIII(0x1c8,'qF3^')]:I1lIlI={'appId':'68877','functionId':IlIliI['WCXyj'],'appid':IlIliI[I1iIII(0x1a1,'nSQN')],'clientVersion':common[I1iIII(0x16b,'aE7!')](),'client':'iOS','body':{'taskType':$[I1iIII(0x1f5,'yowI')],'configCode':configCode,'itemId':$['itemId'],'babelChannel':IlIliI['gcNkW']},'version':IlIliI['jxmrO'],'t':!![]},IIIII1=await H5st['getH5st'](I1lIlI),l1iII1='https://api.m.jd.com/api?',iiill1=''+IIIII1['params'];break;case'lotteryDrawJoin':lIli1i='GET',I1lIlI={'appId':'56f82','functionId':IlIliI[I1iIII(0xf0,'kBsI')],'appid':IlIliI[I1iIII(0x20e,'YwQL')],'clientVersion':common['getLatestAppVersion'](),'client':IlIliI['QLfeg'],'body':{'configCode':configCode,'fp':$['fp'],'eid':$[I1iIII(0x125,'DXXg')]},'version':I1iIII(0x17a,'CV(F'),'t':!![]},IIIII1=await H5st[I1iIII(0x108,'B5Mu')](I1lIlI),l1iII1=I1iIII(0x184,']XyV')+IIIII1[I1iIII(0x220,'QEYG')];break;default:console[I1iIII(0x11d,'1y^3')](I1iIII(0x1df,'U6h3')+i11ii1);return;}const ii1ill={'url':l1iII1,'method':lIli1i,'headers':{'Accept':IlIliI['qydHs'],'Accept-Encoding':IlIliI[I1iIII(0x14e,'s^K&')],'Accept-Language':IlIliI['CHHiJ'],'Connection':IlIliI[I1iIII(0x1fc,'#o3N')],'Content-Type':IlIliI['YdDbI'],'Cookie':cookie,'Origin':IlIliI[I1iIII(0x112,'CV(F')],'Referer':I1iIII(0x18d,'jUUh'),'User-Agent':$['UA']},'body':iiill1,'timeout':0x7530};if(IlIliI['loilJ'](lIli1i,'GET')){if(I1iIII(0x1e1,'aC2I')===IlIliI[I1iIII(0x216,'Lpfy')]){i1ili1[I1iIII(0x188,'R7Ux')]('账号无效');return;}else delete ii1ill['body'],delete ii1ill['headers'][IlIliI[I1iIII(0x186,'kBsI')]];}const II1iI=0x1;let llI1II=0x0,lIli1l=null,lillIi=![];while(IlIliI[I1iIII(0x1c9,'YwQL')](llI1II,II1iI)){llI1II>0x0&&await $[I1iIII(0x12d,'1b12')](0x3e8);const iIIiiI=await common[I1iIII(0x1e3,'(RZs')](ii1ill);if(!iIIiiI[I1iIII(0xd3,'s^K&')]){if(IlIliI[I1iIII(0x12c,'5YdT')]===IlIliI['ZfIhg']){lIli1l=I1iIII(0x15e,'bTf9')+i11ii1+'\x20请求失败\x20➜\x20'+iIIiiI[I1iIII(0x16d,'bTf9')],llI1II++;continue;}else IiilIi+=''+IiilIl+(iii1Ii===0x3?IlIliI[I1iIII(0x175,'(RZs')]:'');}if(!iIIiiI[I1iIII(0x15b,'Jd2q')]){if(IlIliI[I1iIII(0x135,'QEYG')](IlIliI[I1iIII(0xd7,'bTf9')],'YprUK')){lIli1l='🚫\x20'+i11ii1+I1iIII(0x102,'@6mK'),llI1II++;continue;}else I11iIi+=I1ilII[I11iIl[I1iIII(0x1b4,'@6mK')](IlIliI[I1iIII(0x154,'$dbY')](l1l11l[I1iIII(0x197,'MVRc')](),IilIil[I1iIII(0x122,'Xqgt')]))];}await IlIliI['ZnZiD'](handleResponse,i11ii1,iIIiiI[I1iIII(0xad,'aC2I')]),lillIi=![];break;}IlIliI[I1iIII(0x200,'&&[Y')](llI1II,II1iI)&&(console['log'](lIli1l),lillIi&&($[I1iIII(0xd4,'c1!B')]=!![],$[I1iIII(0xba,'&&[Y')]&&(IlIliI[I1iIII(0x150,'#CnZ')](IlIliI[I1iIII(0x158,'N7yr')],I1iIII(0x12f,'qF3^'))?(lIIiil[I1iIII(0x1ac,'#o3N')][I1iIII(0x118,'MVRc')](IlIliI[I1iIII(0x16a,'#CnZ')])&&(iillli[I1iIII(0x1f3,'HTmT')]=!![]),I11iI1[I1iIII(0x120,'@6mK')]('领取'+l1lIil[I1iIII(0x169,'iXa5')]+I1iIII(0x1cb,'Z%I]')+IiiIli[I1iIII(0x19d,']XyV')])):$[I1iIII(0xd5,'31me')][I1iIII(0x189,'10nd')](lIli1l))));}function randomString(ililIl,liiI1l=lI1III(0x1e9,'jUUh')){const liiI11=lI1III,i1l1II={'eqFQm':function(I1l11l,lilIIi){return I1l11l===lilIIi;},'VVbmd':'[实物]','DMqBK':'ihlJh'};let i1ill='';for(let i1l1Il=0x0;i1l1Il<ililIl;i1l1Il++){liiI11(0xeb,'10nd')===i1l1II['DMqBK']?i1ill+=liiI1l[Math[liiI11(0xa3,'1b12')](Math[liiI11(0x1bd,'N7yr')]()*liiI1l[liiI11(0x122,'Xqgt')])]:iIIIIi!=iii1I1['rewardList'][liiI11(0xea,'$dbY')]-0x1?IiilII+=''+IliI1I+(i1l1II['eqFQm'](lI1Iii,0x3)?i1l1II[liiI11(0x162,'WZ)t')]:'')+'，':i1li+=''+li1II+(IliI11===0x3?i1l1II[liiI11(0x1f8,'R7Ux')]:'');}return i1ill;}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) }
