KR/jd_shopDraw.js

21 lines
36 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
店铺左侧刮刮乐
店铺抽奖 左侧
也可点击顶部【精选】后面的【活动】选项,找到抽奖活动
必须有venderId= 参数
//export jd_shopDraw_venderId="" //店铺ID多个@链接
cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#店铺左侧刮刮乐
1 1 1 1 * jd_shopDraw.js, tag=店铺刮刮乐, enabled=true
*/
const $ = new Env('店铺左侧刮刮乐');
var version_='jsjiami.com.v7';const liI1ll=iii1II;(function(ll1Ii,ll1Il,iiIi11,ill1II,i1llil,i1llii,l1i1I1){return ll1Ii=ll1Ii>>0x5,i1llii='hs',l1i1I1='hs',function(llIIil,llIIii,Ii1I1i,llIIlI,Ii1I1l){const iiIi1i=iii1II;llIIlI='tfi',i1llii=llIIlI+i1llii,Ii1I1l='up',l1i1I1+=Ii1I1l,i1llii=Ii1I1i(i1llii),l1i1I1=Ii1I1i(l1i1I1),Ii1I1i=0x0;const IIlIl=llIIil();while(!![]&&--ill1II+llIIii){try{llIIlI=parseInt(iiIi1i(0x168,')WZG'))/0x1*(parseInt(iiIi1i(0x1c7,'xC77'))/0x2)+parseInt(iiIi1i(0x12d,'ts%a'))/0x3*(-parseInt(iiIi1i(0x19c,'Qq)y'))/0x4)+-parseInt(iiIi1i(0x192,'o&R]'))/0x5+parseInt(iiIi1i(0xeb,'Qq)y'))/0x6*(-parseInt(iiIi1i(0x1ef,'vw*&'))/0x7)+-parseInt(iiIi1i(0xf1,'BGLS'))/0x8+-parseInt(iiIi1i(0x1a9,'ts%a'))/0x9+parseInt(iiIi1i(0x1d6,'r)39'))/0xa*(parseInt(iiIi1i(0x211,'LYb@'))/0xb);}catch(ili11l){llIIlI=Ii1I1i;}finally{Ii1I1l=IIlIl[i1llii]();if(ll1Ii<=ill1II)Ii1I1i?i1llil?llIIlI=Ii1I1l:i1llil=Ii1I1l:Ii1I1i=Ii1I1l;else{if(Ii1I1i==i1llil['replace'](/[weHqfEXnyJILrMVPhTxY=]/g,'')){if(llIIlI===llIIii){IIlIl['un'+i1llii](Ii1I1l);break;}IIlIl[l1i1I1](Ii1I1l);}}}}}(iiIi11,ll1Il,function(Iiilll,Iiilli,IIlIi,ili11i,iiIi1l,li11I,lliiII){return Iiilli='\x73\x70\x6c\x69\x74',Iiilll=arguments[0x0],Iiilll=Iiilll[Iiilli](''),IIlIi='\x72\x65\x76\x65\x72\x73\x65',Iiilll=Iiilll[IIlIi]('\x76'),ili11i='\x6a\x6f\x69\x6e',(0x136a46,Iiilll[ili11i](''));});}(0x1920,0x1b110,Iii11l,0xcb),Iii11l)&&(version_=Iii11l);const IiiliI=$['isNode']()?require('./sendNotify'):'',iii1iI=$[liI1ll(0x136,'Qq)y')]()?require(liI1ll(0x19a,'!MFh')):'',llIll=require(liI1ll(0xb9,'#Ih%')),il1iII=require(liI1ll(0x175,'0L#L')),iilli=require(liI1ll(0x137,'0L#L'));let IlllIl=[],II11lI='';if($[liI1ll(0x1fc,'%@V7')]()){Object[liI1ll(0x1ab,'LYb@')](iii1iI)['forEach'](I1iIIl=>{const ll1II=liI1ll;IlllIl[ll1II(0xe2,'SzUx')](iii1iI[I1iIIl]);});if(process[liI1ll(0x12c,'UuXl')][liI1ll(0x104,'R8bZ')]&&process[liI1ll(0x1e3,'x9Qa')][liI1ll(0x184,'0sW[')]===liI1ll(0x1d7,'yGaZ'))console[liI1ll(0x10c,'Q#r%')]=()=>{};}else IlllIl=[$['getdata']('CookieJD'),$[liI1ll(0x19f,'7T9R')](liI1ll(0x180,'0*OK')),...i1l1Ii($[liI1ll(0xda,'yUZd')]('CookiesJD')||'[]')['map'](lI1IIl=>lI1IIl['cookie'])][liI1ll(0x107,'5KUT')](i1ilI=>!!i1ilI);let lI1IIi=[];process[liI1ll(0x1f5,'#Ih%')][liI1ll(0x212,'5KUT')]&&process[liI1ll(0x11c,'5KUT')][liI1ll(0xe0,'yUZd')]!=''&&(lI1IIi=process[liI1ll(0x16d,'g&Aj')]['jd_shopDraw_venderId']['split']('@'));const I1l11I=process[liI1ll(0xbd,'TLhs')]['JD_SIGN_KRAPI']||'';function iii1II(_0x4c1b85,_0x16bef8){const _0x2e9335=Iii11l();return iii1II=function(_0x4801b4,_0x25da6c){_0x4801b4=_0x4801b4-0xb0;let _0x306ebf=_0x2e9335[_0x4801b4];if(iii1II['CcWACt']===undefined){var _0x2c74aa=function(_0x3676f6){const _0x212b3c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1be36a='',_0x2a37b6='';for(let _0x233250=0x0,_0xd5021a,_0x5aaf00,_0x13a86a=0x0;_0x5aaf00=_0x3676f6['charAt'](_0x13a86a++);~_0x5aaf00&&(_0xd5021a=_0x233250%0x4?_0xd5021a*0x40+_0x5aaf00:_0x5aaf00,_0x233250++%0x4)?_0x1be36a+=String['fromCharCode'](0xff&_0xd5021a>>(-0x2*_0x233250&0x6)):0x0){_0x5aaf00=_0x212b3c['indexOf'](_0x5aaf00);}for(let _0x28f711=0x0,_0x965d19=_0x1be36a['length'];_0x28f711<_0x965d19;_0x28f711++){_0x2a37b6+='%'+('00'+_0x1be36a['charCodeAt'](_0x28f711)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2a37b6);};const _0xbbbe1=function(_0x21bf5f,_0x4274e2){let _0x100a10=[],_0x3f577e=0x0,_0x1c563a,_0x239903='';_0x21bf5f=_0x2c74aa(_0x21bf5f);let _0x49c4ba;for(_0x49c4ba=0x0;_0x49c4ba<0x100;_0x49c4ba++){_0x100a10[_0x49c4ba]=_0x49c4ba;}for(_0x49c4ba=0x0;_0x49c4ba<0x100;_0x49c4ba++){_0x3f577e=(_0x3f577e+_0x100a10[_0x49c4ba]+_0x4274e2['charCodeAt'](_0x49c4ba%_0x4274e2['length']))%0x100,_0x1c563a=_0x100a10[_0x49c4ba],_0x100a10[_0x49c4ba]=_0x100a10[_0x3f577e],_0x100a10[_0x3f577e]=_0x1c563a;}_0x49c4ba=0x0,_0x3f577e=0x0;for(let _0x516e2f=0x0;_0x516e2f<_0x21bf5f['length'];_0x516e2f++){_0x49c4ba=(_0x49c4ba+0x1)%0x100,_0x3f577e=(_0x3f577e+_0x100a10[_0x49c4ba])%0x100,_0x1c563a=_0x100a10[_0x49c4ba],_0x100a10[_0x49c4ba]=_0x100a10[_0x3f577e],_0x100a10[_0x3f577e]=_0x1c563a,_0x239903+=String['fromCharCode'](_0x21bf5f['charCodeAt'](_0x516e2f)^_0x100a10[(_0x100a10[_0x49c4ba]+_0x100a10[_0x3f577e])%0x100]);}return _0x239903;};iii1II['CVIcyy']=_0xbbbe1,_0x4c1b85=arguments,iii1II['CcWACt']=!![];}const _0x229bb0=_0x2e9335[0x0],_0x2d0e45=_0x4801b4+_0x229bb0,_0x34dd8d=_0x4c1b85[_0x2d0e45];return!_0x34dd8d?(iii1II['jBcygA']===undefined&&(iii1II['jBcygA']=!![]),_0x306ebf=iii1II['CVIcyy'](_0x306ebf,_0x25da6c),_0x4c1b85[_0x2d0e45]=_0x306ebf):_0x306ebf=_0x34dd8d,_0x306ebf;},iii1II(_0x4c1b85,_0x16bef8);}let Ilil1l='';const iIIiii=liI1ll(0xc5,'uxHm');!(async()=>{const IllIii=liI1ll,iii1lI={'nnxzc':IllIii(0x1ed,')WZG'),'UoXff':function(i1ilI1,Iiilii){return i1ilI1<=Iiilii;},'afNLL':'活动id不存在','bYWus':function(Iil1li,Iiilil){return Iil1li!==Iiilil;},'PigKO':IllIii(0xb1,'UVdZ'),'oeFpT':IllIii(0x195,'&KW3'),'xNskt':IllIii(0x1e4,'SzUx'),'qkAWH':function(Iil1ll,iillI){return Iil1ll+iillI;},'vmWrA':IllIii(0x191,'7T9R'),'AvzOg':function(lI1III,IIliIi){return lI1III!==IIliIi;},'JzoeQ':IllIii(0x1ba,'Qq)y'),'DxBRA':'etjZw','xKzGC':'DjdKF','WhlAQ':function(IllIiI,i1il1){return IllIiI(i1il1);},'IPMga':function(I1l111,IIii1l){return I1l111+IIii1l;},'ndtNI':function(I1iIII,liiI11){return I1iIII+liiI11;},'soXFd':IllIii(0x1d2,'obKk'),'jFLEC':function(ililI1){return ililI1();}};if(iii1lI['UoXff'](lI1IIi[IllIii(0x1c3,'7T9R')],0x0)){$['log'](iii1lI['afNLL']);return;}if(!IlllIl[0x0]){if(iii1lI[IllIii(0xb8,'g9oe')](iii1lI[IllIii(0x216,'YszD')],'wIQqX')){$['msg']($[IllIii(0x1ad,'#Ih%')],iii1lI[IllIii(0x172,'ybIj')],iii1lI[IllIii(0x111,'0L#L')],{'open-url':iii1lI[IllIii(0xd0,'vw*&')]});return;}else lilIl['log'](iii1lI[IllIii(0xcb,'!MFh')]);}console[IllIii(0x10f,'TLhs')](iii1lI['qkAWH'](iii1lI[IllIii(0x1dc,'0L#L')],lI1IIi));for(let i1ili=0x0;i1ili<IlllIl[IllIii(0xfe,'UuXl')];i1ili++){if(iii1lI[IllIii(0xf6,'g&Aj')](iii1lI[IllIii(0x181,'BGLS')],iii1lI[IllIii(0x167,'BGLS')])){if(IlllIl[i1ili]){if(iii1lI['xKzGC']===iii1lI[IllIii(0x18a,'ybIj')]){II11lI=IlllIl[i1ili],$[IllIii(0x148,'SzUx')]=iii1lI[IllIii(0x121,'yUZd')](decodeURIComponent,II11lI[IllIii(0x20c,'#Ih%')](/pt_pin=([^; ]+)(?=;?)/)&&II11lI['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$['index']=iii1lI[IllIii(0xd7,'mJ1c')](i1ili,0x1),$['isLogin']=!![],$[IllIii(0x14b,'WGQ[')]='',message='',console[IllIii(0x10d,'5KUT')](iii1lI['IPMga'](iii1lI[IllIii(0xd2,'xC77')](iii1lI[IllIii(0xdf,'UImA')]+$['index'],'】')+($['nickName']||$['UserName']),'\x0a'));if(!$[IllIii(0x13f,'t7eF')]){$[IllIii(0xe5,'vw*&')]($[IllIii(0x1ae,'YszD')],IllIii(0x110,'UuXl'),'京东账号'+$[IllIii(0x203,'&KW3')]+'\x20'+($[IllIii(0xfb,'ts%a')]||$[IllIii(0x15a,'ts%a')])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':iii1lI[IllIii(0x117,'UImA')]});$['isNode']()&&await IiiliI[IllIii(0x1d3,'oFaU')]($['name']+IllIii(0xba,'UVdZ')+$[IllIii(0xe8,'P*pF')],IllIii(0x1cb,'oFaU')+$['index']+'\x20'+$['UserName']+IllIii(0x1fe,'UVdZ'));continue;}await iii1lI[IllIii(0x198,'YszD')](iilll);}else return IlI1Ii['parse'](i11I1I);}}else I1iIil=lI1Iil[IllIii(0x1af,'xC77')][IllIii(0x1f9,')WZG')][IllIii(0x1f6,'5KUT')]('@');}if(Ilil1l){if($[IllIii(0x16c,'Q#r%')]())await IiiliI['sendNotify'](''+$['name'],''+Ilil1l);$['msg']($['name'],'',Ilil1l);}})()[liI1ll(0x18f,'vw*&')](lilII1=>{const liI1li=liI1ll;$['log']('','❌\x20'+$['name']+liI1li(0xea,'TLhs')+lilII1+'!','');})[liI1ll(0x16f,'r)39')](()=>{$['done']();});async function iilll(){const IllIil=liI1ll,iill1={'RnfaL':function(iii1l1,IIliIl){return iii1l1<IIliIl;},'nQHCE':function(II11ll){return II11ll();},'TEjeV':function(liiI1I,ililII){return liiI1I==ililII;},'Lgayd':function(lI1II1){return lI1II1();},'VAhyx':function(i1ilII,iIIii1){return i1ilII!=iIIii1;},'NcFUe':IllIil(0x100,'yGaZ'),'kszZD':IllIil(0x19e,'UVdZ'),'hIVgD':IllIil(0x106,'Y[JK'),'EIWbo':'已经参与过活动~'};for(let IllIi1=0x0;iill1[IllIil(0x1c9,'WGQ[')](IllIi1,lI1IIi['length']);IllIi1++){console[IllIil(0x10f,'TLhs')]('开始第'+(IllIi1+0x1)+IllIil(0x16a,'0L#L')+lI1IIi[IllIi1]),$['venderId']=lI1IIi[IllIi1],await iill1['nQHCE'](il1iI1),await $[IllIil(0x159,'Y[JK')](0x1f4),iill1[IllIil(0x214,'o&R]')]($['index'],0x1)&&await iill1['Lgayd'](IlllIi),await $[IllIil(0x1fb,'yGaZ')](0x1f4),iill1[IllIil(0x18b,'5KUT')]($['isSign'],0x2)?'MqFsq'===iill1[IllIil(0x123,'ybIj')]?await iill1['nQHCE'](iIIiil):l1lIlI[IllIil(0x1ee,'SzUx')]=IiiIl1?.['body']||'':iill1[IllIil(0xee,')WZG')]!==iill1[IllIil(0x119,'R8bZ')]?console['log'](iill1[IllIil(0x1e5,'5KUT')]):lIII1I();}}async function il1iI1(){const ill1Ii=liI1ll,II11i1={'FijFG':ill1Ii(0xf9,'ghm&'),'oTtYt':function(iliIii,lill1i){return iliIii+lill1i;},'fIZov':ill1Ii(0x1dd,'Q#r%'),'pGezc':ill1Ii(0x14d,'UVdZ'),'YEPmm':ill1Ii(0x11f,'Q#r%'),'VMshp':ill1Ii(0x1a7,'mJ1c'),'jzokN':ill1Ii(0x1da,'4rrO'),'BLcBL':function(il1li,iIIill){return il1li===iIIill;},'XIZuw':function(iilii,Ill11i){return iilii==Ill11i;},'Hzhkp':ill1Ii(0x1ca,'TLhs'),'whFuq':function(iilil,Ill11l){return iilil!==Ill11l;},'wsbZN':ill1Ii(0x188,'%@V7'),'NGUfh':function(il1ll,i1ilIi){return il1ll!==i1ilIi;},'hfBen':ill1Ii(0x183,'Y[JK'),'FDYmk':ill1Ii(0x16b,'o&R]'),'pGOEt':function(lill1l,l1l1i1){return lill1l!==l1l1i1;},'hPvYg':'MzisC','BBQhl':'myUpC','TXAYI':ill1Ii(0x1f2,'t7eF'),'LaQSR':function(i1iiI){return i1iiI();},'DTDMa':function(i1ilIl,llI11I,Il1i11){return i1ilIl(llI11I,Il1i11);},'leosX':'getSignInfo','ZKoSn':'bchXq','oaGZE':ill1Ii(0xd8,']$AS'),'tDIrR':function(iii1li,Iil1i1){return iii1li===Iil1i1;},'dZkyo':ill1Ii(0x165,'xC77'),'yDIHn':ill1Ii(0xbc,'Q#r%'),'kFjMA':ill1Ii(0x147,'uxHm'),'FCfPT':ill1Ii(0x144,'WGQ['),'DsXiX':ill1Ii(0x1fa,'&KW3'),'VsPLZ':ill1Ii(0x141,'BGLS'),'HToXa':'zh-Hans-CN;q=1'};sign=await II11i1[ill1Ii(0x153,'#Ih%')](il1iII,II11i1[ill1Ii(0x1d8,'UImA')],{'vendorId':$[ill1Ii(0x152,'&KW3')]});I1l11I?II11i1[ill1Ii(0x1b9,'g9oe')]('QSEyB',II11i1[ill1Ii(0x13e,'x9Qa')])?I1iIiI['log'](II11i1[ill1Ii(0x1b6,'o&R]')]):$[ill1Ii(0x156,'Y[JK')]=sign?.[ill1Ii(0xe1,'SzUx')]?.[ill1Ii(0x14a,'UVdZ')]||'':II11i1[ill1Ii(0x1a5,'x9Qa')](II11i1[ill1Ii(0x17b,'IMFD')],ill1Ii(0x179,'mJ1c'))?$[ill1Ii(0x1c5,'IMFD')]=sign?.[ill1Ii(0xde,'IMFD')]||'':I11iIi[ill1Ii(0x20a,'vw*&')][ill1Ii(0xe9,'yGaZ')]?(l1l11i[ill1Ii(0x11e,'ybIj')]=l1iIl[ill1Ii(0x1bc,'0sW[')][ill1Ii(0x1a2,'xFm7')][ill1Ii(0xd3,'BGLS')]||'',illIll[ill1Ii(0xd1,'ghm&')](II11i1[ill1Ii(0xef,'yGaZ')](II11i1[ill1Ii(0x20d,'x9Qa')]+iIli1I[ill1Ii(0x132,']$AS')],'\x0a'))):Iiil1[ill1Ii(0x103,'ybIj')](II11i1[ill1Ii(0x189,'PKzI')]);!$[ill1Ii(0x1b2,'0sW[')]&&(II11i1[ill1Ii(0x185,'vw*&')](II11i1[ill1Ii(0xcf,'IMFD')],II11i1[ill1Ii(0x217,')WZG')])?console['log'](II11i1[ill1Ii(0x1e8,'YszD')]):iIIII1[ill1Ii(0xf4,'g9oe')]());let iliIil={'url':iIIiii+'?functionId=getSignInfo','headers':{'Host':II11i1['kFjMA'],'Content-Type':'application/x-www-form-urlencoded','Accept':II11i1[ill1Ii(0x1a1,'%@V7')],'Connection':II11i1['DsXiX'],'Cookie':II11lI,'User-Agent':II11i1[ill1Ii(0xf2,'4rrO')],'Accept-Language':II11i1[ill1Ii(0xfd,')WZG')],'Accept-Encoding':ill1Ii(0x186,'WGQ[')},'body':''+$['signStr']};return new Promise(iii1ll=>{const llIIl1=ill1Ii,IIliI1={'Kqzpp':'接口获取失败,跳过'};$[llIIl1(0x1fd,'xC77')](iliIil,(il1lI,IliIIl,I1il1l)=>{const ill1Il=llIIl1,lI1l1l={'sWVHl':II11i1[ill1Il(0x149,'t7eF')]};if(II11i1[ill1Il(0x160,'ghm&')]!==II11i1['jzokN'])try{il1lI?$['log'](il1lI):II11i1[ill1Il(0x20f,'WGQ[')](ill1Il(0x1b1,'xFm7'),ill1Il(0x12a,'#J7%'))?(I1il1l=JSON['parse'](I1il1l),II11i1['XIZuw'](typeof I1il1l,II11i1[ill1Il(0x177,'UuXl')])?II11i1[ill1Il(0x128,'Q#r%')](I1il1l[ill1Il(0x204,'#Ih%')],0x0)&&(II11i1[ill1Il(0x120,'Q#r%')](II11i1[ill1Il(0x10e,'oFaU')],'BxzcC')?II1Ii['push'](i1ii[I1iIl1]):$[ill1Il(0xfc,'#J7%')]=I1il1l['result'][ill1Il(0x1bd,'yGaZ')][ill1Il(0x1e7,'UImA')]):II11i1[ill1Il(0xc2,'#J7%')](II11i1[ill1Il(0xd6,'4rrO')],II11i1['FDYmk'])?console[ill1Il(0xb0,'4rrO')](II11i1[ill1Il(0x114,'r)39')]):lIIili['log'](IIliI1[ill1Il(0xbe,'xC77')])):Iil1II[ill1Il(0xec,')WZG')]=iIIl1I[ill1Il(0x1b7,'IMFD')][ill1Il(0x1c6,'ts%a')][ill1Il(0x17c,']$AS')];}catch(I1il1i){II11i1[ill1Il(0x1ac,'mJ1c')](II11i1[ill1Il(0x17a,')WZG')],II11i1[ill1Il(0x193,'xC77')])?$['log'](I1il1i):l1iiI[ill1Il(0x1b8,'R8bZ')](lI1l1l[ill1Il(0x14f,'TLhs')]);}finally{II11i1[ill1Il(0x118,'UVdZ')](II11i1[ill1Il(0x201,'#Ih%')],'rFycl')?l11i1I[ill1Il(0x197,'SzUx')](IiII):II11i1[ill1Il(0xcc,'r)39')](iii1ll);}else Ii1iIi['log'](iliIIl);});});}async function IlllIi(){const i1lll1=liI1ll,llI11l={'uHTzn':function(i1iii,I1llIi){return i1iii+I1llIi;},'eiSJL':'MmDhx','cwprR':function(IIii1I,llI11i){return IIii1I==llI11i;},'mntwA':'object','hnEJr':function(i1iIi1,l1l1il){return i1iIi1==l1l1il;},'EPelp':function(I11i1I,iliIi1){return I11i1I!==iliIi1;},'RzHsJ':i1lll1(0x1df,'5KUT'),'vtAXI':i1lll1(0x171,'P*pF'),'QzVNJ':i1lll1(0x187,'WGQ['),'gTGlx':function(l1l1ii,Il1i1I,Ii1iii){return l1l1ii(Il1i1I,Ii1iii);},'qnqJV':i1lll1(0x158,'5GuY'),'SlOit':i1lll1(0x1ce,'0L#L'),'qVMez':i1lll1(0x173,'ybIj'),'fDyNM':i1lll1(0x1d4,'x9Qa'),'edjyX':i1lll1(0x112,'!MFh'),'DMaMu':i1lll1(0x1c4,'oFaU'),'AsgPk':i1lll1(0x13a,'%@V7'),'OIwVs':'gzip,\x20deflate,\x20br'};sign=await llI11l[i1lll1(0x127,'obKk')](il1iII,llI11l[i1lll1(0xb7,'#J7%')],{'vendorId':$[i1lll1(0x1aa,')WZG')]});I1l11I?$[i1lll1(0x11d,')WZG')]=sign?.[i1lll1(0x1d5,'oFaU')]?.['convertUrl']||'':llI11l[i1lll1(0xb5,'r)39')]===i1lll1(0x142,']$AS')?(IIli11['log']('活动规则:'+IllIII[i1lll1(0x12b,'g&Aj')](ii1li['result'][i1lll1(0x1cc,'ybIj')])),IIll1[i1lll1(0x170,'r)39')](llI11l[i1lll1(0xc8,'!MFh')]('活动奖品:'+ll1il['stringify'](IiiIiI['result'][i1lll1(0x14c,'PKzI')]),'\x0a'))):$[i1lll1(0xb6,'g9oe')]=sign?.[i1lll1(0x129,'r)39')]||'';!$['signStr']&&console['log'](llI11l[i1lll1(0x1cf,'vw*&')]);let I1llIl={'url':iIIiii+i1lll1(0x194,'P*pF'),'headers':{'Host':llI11l[i1lll1(0x1be,')WZG')],'Content-Type':llI11l[i1lll1(0x19b,'WGQ[')],'Accept':i1lll1(0x1ea,'r)39'),'Connection':llI11l[i1lll1(0x130,'ghm&')],'Cookie':II11lI,'User-Agent':llI11l[i1lll1(0xdd,')WZG')],'Accept-Language':i1lll1(0x10b,'YszD'),'Accept-Encoding':llI11l[i1lll1(0x146,'4rrO')]},'body':''+$[i1lll1(0x210,'TLhs')]};return new Promise(il1l1=>{const l1i1Ii=i1lll1,Ii1iil={'HxhYI':function(Ilil1i,iili1){const Ii1I1I=iii1II;return llI11l[Ii1I1I(0x20b,'UuXl')](Ilil1i,iili1);},'Eevje':l1i1Ii(0x138,'o&R]')};if('kMfrm'!==llI11l[l1i1Ii(0xc9,'p287')]){i1l1I[l1i1Ii(0x208,'3asE')](l1i1Ii(0x182,'oFaU'));return;}else $[l1i1Ii(0x17f,'IMFD')](I1llIl,(Iil1iI,II11il,iIIil1)=>{const l1iI1=l1i1Ii;try{if(llI11l[l1iI1(0x1de,'x9Qa')]===llI11l[l1iI1(0xc1,'o&R]')]){if(Iil1iI)$['log'](Iil1iI);else{iIIil1=JSON[l1iI1(0x1b5,'P*pF')](iIIil1);if(llI11l[l1iI1(0x131,'%@V7')](typeof iIIil1,llI11l[l1iI1(0x196,'r)39')])){if(llI11l['hnEJr'](iIIil1[l1iI1(0x202,'yUZd')],0x0)){if(llI11l[l1iI1(0x1c0,')WZG')]('KUsxc',l1iI1(0x19d,'LYb@')))console[l1iI1(0x1a4,'xFm7')](llI11l[l1iI1(0xd9,'xFm7')](l1iI1(0x161,'t7eF'),JSON['stringify'](iIIil1[l1iI1(0x109,'xFm7')][l1iI1(0x12e,'ghm&')]))),console['log'](llI11l['uHTzn'](llI11l[l1iI1(0x18d,'mJ1c')](llI11l[l1iI1(0x1c1,'7T9R')],JSON[l1iI1(0x125,'0L#L')](iIIil1[l1iI1(0x176,'g9oe')]['awardDescription'])),'\x0a'));else try{return II1lli['parse'](ii1I1I);}catch(I1il1I){return IlI1Il[l1iI1(0xed,'g&Aj')](I1il1I),l1il1l[l1iI1(0x174,'r)39')](liIil[l1iI1(0x1b4,'r)39')],'',l1iI1(0x1a0,'ghm&')),[];}}}else l1iI1(0x1f0,'r)39')==='zSRBs'?$['log'](llI11l['vtAXI']):lilIii[l1iI1(0xdb,'Qq)y')]=i1ill1?.['data']?.['convertUrl']||'';}}else i1IIl=I1lll1[l1iI1(0xdc,'Y[JK')](i1IIi),typeof IIII1I=='object'?Ii1iil[l1iI1(0xd5,'mJ1c')](l1i11I[l1iI1(0xf8,'R8bZ')],0x0)&&(lilIli[l1iI1(0x1b0,'YszD')]=Iliili[l1iI1(0x13b,'mJ1c')][l1iI1(0x166,'TLhs')][l1iI1(0x12f,'IMFD')]):Iliill[l1iI1(0xbb,'x9Qa')](Ii1iil[l1iI1(0x169,'x9Qa')]);}catch(lill11){$[l1iI1(0x10c,'Q#r%')](lill11);}finally{il1l1();}});});}function Iii11l(){const l1i1Il=(function(){return[version_,'ejyJsqLhjwXiVIaPmeeinMT.xYcoqEmHqf.rvJ7H==','k8khWQ0','WQ0WiHtcIMy0ra','ybBdHta0','mmkCCfdcOG','cvpdRCoZW5/dGW','xrNcLmoFtG','qGhdNZ89rW','WOOhW4jgxG','W4hcTSo6WPvOW7xdHSkqWO0jrmkFf8kR','W5VdVdG','a1xdPG','W6CeW7/cMgC','aaGP','44k75O6g56wh44gdW4GBWP/cTw8y5Bs25AsY5Pwr','W6vaz1Kz','qSozW7/dMK3dLWDpW7RdPgDsWPddHCodzIpcPw/cSYOFW4ldTHL5zSo6W6JcImkDCCkE','WOaLW443w8kctmoV','fXlcI8oLWQG','WP5sFv7dHhuc','WR3dRvCgW5S','lu3cImkOWPy','W43dOKxdI1G','WO89kZFcIW','CwFcQSk4Eq','W6z9WR7dP8kmWRZdQZpcUSkvxru0','cLtdTW','WOVdJ8ovW5W4abu','f8kAWQnSWPW','5lIB5lQp6l6l5zIi5lQr56QO5PwR5O2a','W4ddUXNcO2y','W6exc8ooaW','W65ME0iYhCk1lComW57cVa7cHWtcKdNdKmkh','cCklWOXdWPW','WPGvW5VcQLe','W656zLSdg8kSo8oQ','W4C5gG','W6eYymkhW4C','W6/dMGxcO2a','ldJcV8oX','FtubWOBdRa','vqT9W5JcOmkrW6JcM8kc','W444cW','gha6WRrSlCk+xmo7WPddH2C','WRtdVLRcM8oOASo7WOWfW7FcVSkTsmoPW6fZbmoOW5G','WQtdS0i8W5FcOq','WPhdKe/cV8oR','W6xdM2ZcKdy','pSo6kSkqWPu','W5ldOvddQvW','qXdcQW','bfdcLhLOcJCtWRZcUJ8d','W4RcLfRdO0mr','WRmHCKCdh8kXnmo8W4pdUGlcMZZcNsldImkd','5lIA5lM56l2J5zQY5lQ756I75Psc5O6L','WP/dJspcJthdRuyh','W4ZdQcJcIZtdNfBdJCoZDIDYWRSoWQddUCodxL0jWQDkWO7dMqRdLspdRSk0W5P7rKjTWQddHepdV8kgFCkrcSkoW7VdIIXL','W7tdSKm4eSkg','WRBdLSkWh8k5WR8FkG','Brr7W6pcMa','WOKxW4FcTKS','WPVdV8kuaCo8jZu','WQZdSge5W5NcRmoJWR1Mzw3cGZ/dKSkqWQVcGSkBW5HamSoqWR1hbq/dG23cSmofmJPm','WPRdVK0qfL9uWQjdW4C6W5G2WRBcL8obpmkucmo0aKKci8kumtascrFdJbTieW8hmSk+jCk6FCo4jr3cKJhdPG','cmoCbSkBWRW','WRZdVmoBW6SV','bvddPG','wWhdItP8uIWQWQBcQq','W73cP8kkBWO','W4Cvax7cHa3dRv/cP8oGWP7cLa','W4DMWOaCDLC6yq','WQVdICkia8o2','W5NdPw3dIeXDWQ7dNfNdUa','qrBcR8odvCoGWQZdHa','W4DahSodBCoHW6xcO8o1WOJdRumrdmkUWPm','5OIh5AEC57Uq5PYI77YZ8jsHSSkPc+ERRUAWIXa','WPBdRCkSdW','hZayWQ4u','WOBcOXBcJfxcTe5G','W6ayW67cTG','A8otyLyhW4WbEW','WP8bWQhdTmol','oglcJ8kGWOO','e2TXWRRdPa','jmkyF2BcQCk/WP0','W6RcSSkrWRLH','W4j+W48AqSksACo0WRXwW6VdKmk/W6eloG','imkqCxW','FZTNW7mADmkaqa','W4Pyga','WQZdQCoAW5Ke','g1DuW6/dQmkRWQVdLmotW6BdLmkgWO0','W4NdM1BdH0i','W48wpZNcHW','WOpdKf3cMSoU','5REj5yIK6ksC5yM3776b','W5RcVmkzvY0','dvNdSmokW7a','W5tcSSkUig3dQIi','WPe1W6VdQmkq','hW4PWOGXWOWrW5m','WPtdGJSRbW','W4RcKSoHW7WDhsyN','WPy5W57cJ0a','5lQ35BQz6zoU5OQp5As7772M','W7moW6iAxW','W57dObhcUxpcTW','qXf5','DJHkW5tcNG','kd7cTCoPWQKAxq','iJJcVa','5lML5lMp6l6B5zQ25lIi56Q45Pwg5OYR','kmknWOXMWQ0','5O+I5yYl6i295y+a5AEi6lEo77+l6lEN6lYl','iYtcVa','WRmHCKCdh8kXnmo8W4pdUGlcMZZcNsldRSklW7Lc','yM3cVCkxCbm','W6mSftNdMW','W4G5gtC','W43dUfqIlW'].concat((function(){return['WPddTSoeW6Sm','WQldOvypW7u','b8o7emkdWPCW','5O635y6V6i+f5yYu5AAQ6lEy776o6lE86l+e','iezoESkP','WR3dR2iH','WOpdNmkXemk1WQGCcSo9','WPRdGbyCfW','5RAR5yUFW7tcPUs4PowTH+wCKG','g8kcC2RcRG','mK1gWQBdOSknW6tdLW','WPL/u0ldHq','saxcPCoyn8kHWQxdHcFdQYXAW4pdHCoolGS','rdlcQSoADG','W4tdLgBcGsC','W5zWgSolAG','p8kJWRbrWRO','oxVdQCo+W4i','5lIQ5lQl6l+K5zQt5lU456Qi5PAx5OYu','W7pdN2q3ea','W54du8kYW5G','WO5ABLpdVW','dCkSW75/WQNcG8kOESkPE8oFxgv5adxdM1mNBSoJW6pdLfBcQCoFv8kuCGKzlMBdHSk0WPRdTCkQWRBcU8kpiCkSWQhdPCk+lG','5RAC5yMZWOak77YK','WObuWObvdxqiWOCeW681ra','WOSzW7/dS8kn','W7y1oGBdRCk2xYRcNSovfCkhuSkbWONdHJ5gW4BcLYVdHCoMmSk+W7tcLCo+','44cn5O2M56s244cJ6k6v5yE26i+/5y+j5lUw5lU86lEu5yYQ5lMOW4O0W6nIW4ddSxpNMRVMJPZKVQlNLiddM8oIamkaW6BcT+EBHUs7S+s7NEESVEwiLEImT+wmOW','iZNcR8o/WOq','W756WOi','W5hcMmkBWPHk','W5dcJCkmDdm','dCkgW6xdKMFdMWLqW7RdRICxWPS','sHVcPSorqW','WPVcJvZdVueICW','WQGgW5fYzW','W7hdGfddRea','W4dcVSk9kL/dQJe','6kYI5yMI6zQH5OE95z62qCoGWO0lW6hOVz7LHQVMOBZKVA7MLQJLHOlLR5tcJEw5JoIVGEMbGUI/OEIfVoACHEwnUoInOEwoVuT7Bmk5WR/cNq','W4ddR3RcSJa','qW3dIYqdvJCIWQlcQa','DamrWQBdRW','xaVdIW','WPeqW4VcP2K','C2FcOmkuErxdJSoot2S','W6FdSLSpka','W5hcJmkwtb8','g3eWWRbMjSoDxCoTWQVdS183','WO7dG8oCW5yobI4g','WOaYW7XG','W7BdKh8icG','WRu0WOJdNa','W5xcV8k6WRG','WQW1W5G','W5lcRCkeWRrUW7u','xX3dNW4M','c2b+WOZdTmk7W4m','WOC4W6i','idBcTSoT','WRKYprVdQW','W7amW50QEG','WR/dPwiGW5ZcUW','WOSBgG','uKtcRCkGua','W5FcGNBdVM8','kCoPaCkRWOm','cMXQWPFdI8k7','W7lcK8odW4fJgW7cTq','WP7dOSolW7WM','WRSLW6XPvG','WR3dTSoxW54B','W7xcOCkbpxq','fu9+WRpdRq','W4VcVSkNkuRdTG','W7SsW7JcSGr+vSo3W7/cGa','WR7dQxy7W6pcU8oW','wsfLW68DE8klsG','W7HRWPRcR8oxAvtdMuCWhW','WOtdLSkFnCk9','FrhcQSojvW','aWuKWOmBWPy','5lI85lMR6lA75yY1','jSklWR5/WO/cGSkZBCkimCkDcsaMrxhcKHqG','W6mEW7RcRhPRsa','W7jmFf8z','WPXTv1xdRq','W6ddI0NdIMC','W6nql8oOBa','WOZJGBBKUOVKU7FOTPNLJlG','W6msW7pcPMDWtSo3W6/cNa','WRiSW4hdI0JcU8otWQeTl38r','W7qwW6NcOW','F2FcKSosWOCqCrq','W6FcM8oiW5Xp','owBcLmkWWRO','WRmWlt3cTG','W6xcLSkLwbO','sJeHW5FcN8o3W6ldQCo5W4BcK1m','W6TJq0aS','5OIk5AEf57Qm5P2k77Yn','WRy1W7VcR2K','5Rwu5yQs5AEx5zgg776G','W5qagYxcHvC','W4ZcOmoGW4fT','WQhdG8k3vCkXW6m8kSoHW5y2lW','WRyYW54','W7PHWPeEsWX4k8o4WOWrWOW9ad3dHmk/W5dcKJa7WPrfWQNdSmkdWQfQW7JcRM7cSmkoW4qvbSo3pSogAfq8aq','kNpdLSoLW5u','WR7dQxy7','phdcQmkQWOxcJW','W4lcMSkEWPvN','W7fHCW','zhJdSq','W7a3xCknW4O','WR4IlYFcPW','6lEE5y2r5P6y55Uj5BY+FG','W6f8WOiaA0iL','W5KpiGpcRJGhWOCwg8kXkq','natcICokWRy','DbO+WPVdGG','WOddISkHdCo3'].concat((function(){return['WOu+W7JcI00','W47dNM/cOqS','WR47WPm','heRdRCoUW44','WRRdTuaMW70','WPddJ8otW7ei','WPldGSoTW4edgXCMW48TydTxlYv4DCkJn8kp','DSotAujpW58KDGZcHq','W7BcM8onW5S','W6/dN1lcJqddKq','WRK0W53dRW','WRdORB3PH47MLi7NMzlLVBROJA3LJz9iW7TWCCkohG','WQO6WPldO8oB','WQqKW5jxcamTsmoqWOyNWPO','WO8nWQtdOmoJ','W5uqa8oQ','DmoyAfCA','WRG6WOhdNa','sX57W5lcPG','nCknWRLJWPxcNW','qZqeWOJdJW','peHB','WR9tf8oCWOBdTSo2xSkBWQynWRX5','WP9EAuxdU3u','W4m4obJdMq','WRy0WPhdMSoc','WRuvW7lcILm','WOddIbadiW','BtpcR8oQvW','hW4PWOGRWPyf','W5jIWRuKcKaLu8oKWRGKe10','bv7dNSo0W5ldNSo0W5/dOXTdW5FcPmo5WRZdMsL8lg0','WQ0uW7DbvG','W6iGW50jAW','W4qkdcK','W6VcT8kWWPzg','WPZdVmozW4Se','W57cGCkA','W4ldRxtdUgm','W5OkW5a','W4/cIhm','WOWwfqJcJa','htVcLmoHWRe','y2hcQCkmtXpdIa','yYidWOJdJq','CLhcMCkxBW','W7v6WOpdJmoeWOlcTxpdVCoDdLPVW5qGWRpcVmoqWQBdTSo8','W5NdPwZdLubk5BsO5AA45PwJWRqYoG','WR8ZW48','5OYs5y2W6i+O5yYa5AsM6lE377Yx6lED6lYL','cqK4','WOiQW5tdQ8kr','6k+N5yU36zMb5OET5zY0jCovW6n3DoI8OUweT+AHVUs8H+AvL+wgH+wSQmo65BUt6k6Q6yc86l+K6iAE5PYE5y2y6iYG5y+6WPSxCg3dMSk2','W6HeWQmSvq','W5mmW6qMCq','xaSNWQtdSW','W7y9W5VdTCkcE2/dLfa6h8o6WQ87sSkK','WP5pAfNdUwy','W44rhcdcMHNcQbtdQmoZWPJdL8o1W6hdL8o2W6SNW7ddJ2tcV8oXW57cJ0Swp3ZdJavvgCkb','5OUs5AwS57Ms5PYB776G8loaRmk7WRhNQidMSkdcGG','lCkznudcM8kLWPZcTsddPq7cSdFcQq','vSoHW5VdJeO','WQSRBWtcJW','WP8YW7bNFG','tCohW7FdJeC','aJBcISoBWPC','WP/dUSkSf8oC','W4WhcCowiG','WQNdMNOSW58','WPv1AvVdOW','WRNdSKK','WQC/W5RdLCkO','WR7dMXqC','uWLjW77cGq','W47dR1GunW','W5RcImk/xbC','W7FdVheAnG','jCoNj8kfWQe','rsZdUda/','W5eAe8oRm3f1','W5dcJNpdONqaua','j8kqANVcNW','WRNdLCovW6ia','WQ/dR3uS','jMZcO8kfWOy','W5WBomo8oMPKn3tdVMlcJvf4W6jtq0ZcHmo3','W7z0WPep','W6jGWPyg','WPm8nspdJslcOq','WORdQCoGW606WQ7cH8oZWO89lCk8yW','WObiFq','W7FcGSoVW7LW','W6efW5ldGmohmfVcKG','WPWGkHRdGmkJwYa','W6JcICoZW4ze','qeFLPB/OT4nzW4lLJ6JLMzX0WQK','WPldLxldJ38hC8k3','WPhdLCoHW5SmgG','sHbO','WPpdLCoiW6GV','W67cRSoqW7zE','W4iEcCoLjW','W6hcJu5jDqijWOjNWPjzWRXi','W6tcNCkTDsm','ACopW4JdKwi','DgFcOmkh','WQC6W4pdVG','zWL1W77cQq','mKLEs8kC','WOqBgtu','5BsN57Ms5y+S5lU86l2z5Rs45yINWOS','mu3cQSkZWPS','rcfHW6OADmkaqa','EZ8HWQVdVmkt','WRddSSoDW6Ok','W4CZeZxdNXW','WRpdGSk7pmow','W4ZcI8oIW5XB','WQldV8kVlmkW','6k2m5yIH6zMy5OEs5zYHW5NdMSofWOq06l+S5yAl5QgS5l205PwG5ywH5A6PW5BLURBORjtPGkFOVlZOHzxMN6lLJlhOJ63LJixcP3pdVGnQCW'];}()));}()));}());Iii11l=function(){return l1i1Il;};return Iii11l();};async function iIIiil(){const lliiI1=liI1ll,liI1i1={'KktRV':lliiI1(0x18c,'mJ1c'),'QxvJT':'抽奖结果:','PGEeP':function(I1llII,Iil1il){return I1llII+Iil1il;},'ANcRM':lliiI1(0x139,'Q#r%'),'EgPYe':lliiI1(0x11b,'#Ih%'),'aPGUm':function(I11i1i,l1l1iI){return I11i1i!=l1l1iI;},'zxnYp':lliiI1(0xbf,'g9oe'),'JgvmP':function(I1llI1,I11i1l){return I1llI1===I11i1l;},'vUbZS':'object','tanju':function(il1il,Il1i1i){return il1il==Il1i1i;},'hkSWu':'FlGxt','mvtyG':lliiI1(0xf3,'!MFh'),'QlFdh':function(iIIili,Ii1iiI){return iIIili+Ii1iiI;},'LdOko':lliiI1(0x1d0,'UVdZ'),'YVRwh':lliiI1(0xfa,'UImA'),'sQUyk':'账号未登录\x0a','bUXVf':lliiI1(0x1eb,'obKk'),'TOhko':'LxrkS','rARrr':lliiI1(0x18e,'obKk'),'Bqgxy':function(Ilil1I,iliIiI,II11iI){return Ilil1I(iliIiI,II11iI);},'wuQsM':lliiI1(0x1e6,'IMFD'),'TTBNL':lliiI1(0x122,'0L#L'),'HrsCo':lliiI1(0x17d,'#J7%'),'fOcdt':lliiI1(0x140,'IMFD'),'pmFSk':'gzip,\x20deflate,\x20br'};sign=await liI1i1['Bqgxy'](il1iII,liI1i1[lliiI1(0x1f7,'IMFD')],{'vendorId':$[lliiI1(0x13c,'0*OK')],'sourceRpc':liI1i1['TTBNL']});I1l11I?$[lliiI1(0x115,'vw*&')]=sign?.[lliiI1(0x14e,'t7eF')]?.[lliiI1(0x1a6,'g9oe')]||'':$[lliiI1(0x164,'7T9R')]=sign?.[lliiI1(0x215,'uxHm')]||'';!$[lliiI1(0x11d,')WZG')]&&console[lliiI1(0xb3,'Qq)y')](liI1i1[lliiI1(0x1f4,'%@V7')]);let I11i11={'url':iIIiii+lliiI1(0xc3,'xC77'),'headers':{'Host':lliiI1(0x1e2,'0*OK'),'Content-Type':liI1i1[lliiI1(0x1a3,'#J7%')],'Accept':'*/*','Connection':lliiI1(0x145,'xFm7'),'Cookie':II11lI,'User-Agent':lliiI1(0x190,'ybIj'),'Accept-Language':lliiI1(0xc7,'Y[JK'),'Accept-Encoding':liI1i1[lliiI1(0x116,'IMFD')]},'body':''+$[lliiI1(0x1cd,'oFaU')]};return new Promise(Il1i1l=>{const IiiI1=lliiI1,Iil1ii={'uvFOO':liI1i1[IiiI1(0x13d,'g&Aj')],'hRdnT':liI1i1[IiiI1(0x207,'#J7%')],'kbhXC':function(lill1I,Ii1ii1){const lilII=IiiI1;return liI1i1[lilII(0x16e,'g&Aj')](lill1I,Ii1ii1);},'KIsOt':liI1i1[IiiI1(0xff,'t7eF')],'TkFeL':liI1i1[IiiI1(0x1d1,'PKzI')],'FCrRe':function(Ilil11,i1ii1){const IIIiI=IiiI1;return liI1i1[IIIiI(0x10a,'LYb@')](Ilil11,i1ii1);},'cbkuf':IiiI1(0xc6,'5KUT'),'zQFBm':liI1i1[IiiI1(0xce,'yUZd')],'VbPnh':function(il1ii,llI111){return liI1i1['JgvmP'](il1ii,llI111);},'rfXwU':IiiI1(0x101,'0*OK'),'EeOxM':liI1i1['vUbZS'],'EtpBJ':function(i1iIiI,IlllI1){const iii1i1=IiiI1;return liI1i1[iii1i1(0xf0,'yUZd')](i1iIiI,IlllI1);},'MZDnG':function(I1il11,lI1l11){return I1il11!==lI1l11;},'vxKVZ':liI1i1[IiiI1(0x133,'UVdZ')],'bcqMJ':function(II11l,II11i){return II11l!==II11i;},'TDPmy':liI1i1[IiiI1(0xcd,'t7eF')],'CTapR':function(iI1Iii,liI1ii){return iI1Iii+liI1ii;},'qowZq':function(lIIiIl,iI1Iil){const IllIll=IiiI1;return liI1i1[IllIll(0x157,'YszD')](lIIiIl,iI1Iil);},'PxvNZ':liI1i1['LdOko'],'QfoFT':liI1i1[IiiI1(0x1ec,'R8bZ')],'aodZe':liI1i1[IiiI1(0x15e,'UVdZ')],'gWeek':liI1i1['bUXVf']};liI1i1[IiiI1(0x15c,')WZG')]===liI1i1['rARrr']?iIli11['log'](Iil1ii[IiiI1(0xd4,'g&Aj')]):$[IiiI1(0x151,'oFaU')](I11i11,(i1iIii,i1iIil,liI1il)=>{const i1lllI=IiiI1;try{if(i1iIii)Iil1ii[i1lllI(0x1f3,'x9Qa')]('bLqWl',Iil1ii[i1lllI(0x108,'WGQ[')])?$[i1lllI(0x197,'SzUx')](i1iIii):(lIII1i[i1lllI(0x105,'xFm7')]=l11i11[i1lllI(0x1e0,'uxHm')]['signReward']['name']||'',IilIl1[i1lllI(0x15b,'PKzI')](Iil1ii['hRdnT']+lIII1l['Prize']+'\x0a'));else{liI1il=JSON['parse'](liI1il);if(typeof liI1il==Iil1ii['EeOxM']){if(Iil1ii['EtpBJ'](liI1il[i1lllI(0x178,'UuXl')],0x0)){if(Iil1ii[i1lllI(0x1e1,'yGaZ')](Iil1ii[i1lllI(0xe6,'yGaZ')],i1lllI(0x1c8,'0*OK')))liI1il['result'][i1lllI(0x15f,'uxHm')]?Iil1ii[i1lllI(0x163,'5KUT')](Iil1ii[i1lllI(0x1d9,'R8bZ')],Iil1ii['TDPmy'])?IIlll[i1lllI(0xb0,'4rrO')](liliI):($[i1lllI(0x20e,'BGLS')]=liI1il[i1lllI(0x206,'ybIj')]['signReward'][i1lllI(0xf5,'xC77')]||'',console['log'](Iil1ii['CTapR'](Iil1ii[i1lllI(0x1ff,'#Ih%')](Iil1ii[i1lllI(0x162,'4rrO')],$[i1lllI(0x1bf,'LYb@')]),'\x0a'))):console[i1lllI(0x1b3,'LYb@')](Iil1ii[i1lllI(0x1a8,'4rrO')]);else{let il1i1=new llliI(Iil1ii[i1lllI(0xb4,'R8bZ')](Iil1ii[i1lllI(0x155,'0sW[')](Iil1ii[i1lllI(0x124,'x9Qa')],iI1li1),Iil1ii['TkFeL'])),lIIiIi=lllii1[i1lllI(0x154,'UImA')](il1i1);if(Iil1ii[i1lllI(0x213,'LYb@')](lIIiIi,null))return liIll(lIIiIi[0x2]);return'';}}else Iil1ii['PxvNZ']!==Iil1ii['QfoFT']?console[i1lllI(0x134,'WGQ[')](Iil1ii[i1lllI(0x11a,'g9oe')]):lilIi[i1lllI(0x126,'UuXl')](Iil1ii['cbkuf']);}else console['log'](Iil1ii['uvFOO']);}}catch(iI1Il1){$['log'](iI1Il1);}finally{if(Iil1ii[i1lllI(0x199,'4rrO')](Iil1ii['gWeek'],i1lllI(0xca,'LYb@')))Il1i1l();else return IllI11[i1lllI(0x1e9,'0L#L')](l1llIi),II1llI['msg'](i11I11['name'],'',Iil1ii[i1lllI(0xc0,'SzUx')]),[];}});});}function i1l1Ii(i1lli1){const llIIi1=liI1ll,llIlII={'aPZup':function(IIlII,lIIiII){return IIlII==lIIiII;},'GaBAs':llIIi1(0xc4,'vw*&'),'qSMBO':function(i1iIlI,li111){return i1iIlI===li111;},'bnbBP':'zuiLw','nXAfM':llIIi1(0x143,')WZG'),'qqQNk':llIIi1(0x102,'YszD')};if(llIlII['aPZup'](typeof i1lli1,llIlII[llIIi1(0x1bb,']$AS')]))try{if(llIlII['qSMBO'](llIlII[llIIi1(0xf7,'3asE')],llIlII['nXAfM']))i1II1[llIIi1(0xb2,'o&R]')](iIIl11);else return JSON[llIIi1(0x17e,'3asE')](i1lli1);}catch(lIIiI1){return console['log'](lIIiI1),$['msg']($['name'],'',llIlII['qqQNk']),[];}}function I1iIIi(ll1I1,Ii1ili){const iI1IlI=liI1ll,iI1Ii1={'hiaCc':function(iI1IiI,IIlI1){return iI1IiI+IIlI1;},'fVLYY':iI1IlI(0xe7,'xC77'),'mFgQJ':iI1IlI(0x15d,'g&Aj'),'kEJFZ':function(i1iIli,i1iIll){return i1iIli!=i1iIll;}};let Ii1ill=new RegExp(iI1Ii1['hiaCc'](iI1Ii1[iI1IlI(0x1f8,')WZG')](iI1Ii1[iI1IlI(0x1f1,'#J7%')],Ii1ili),iI1Ii1[iI1IlI(0x1c2,'0sW[')])),llIlI1=ll1I1[iI1IlI(0x205,'g&Aj')](Ii1ill);if(iI1Ii1['kEJFZ'](llIlI1,null))return unescape(llIlI1[0x2]);return'';}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)}