forked from shufflewzc/faker2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd_OpenCard_Force.js
22 lines (15 loc) · 44.4 KB
/
jd_OpenCard_Force.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
入会开卡领取礼包(通用)
VENDER_ID // venderId或vendorId的值,多个用&、@或逗号连接,但是不要混用
OPENCARD_BEAN="" 最小入会值 (默认2)
OPENCARD_QZ="true" 填写此变量强制开卡,不填写不开启
cron:11 11 11 11 *
============Quantumultx===============
[task_local]
#入会开卡领取礼包(通用)
11 11 11 11 * jd_OpenCard_Force.js, tag=入会开卡领取礼包(通用), enabled=true
*/
const $ = new Env('入会开卡领取礼包');
var version_='jsjiami.com.v7';const i1iilI1=lII11Ii;(function(li11l1Il,lI1Ilil1,ill1llIl,iliIi1l,l1111iII,Il11ili1,I1Iilil1){return li11l1Il=li11l1Il>>0x4,Il11ili1='hs',I1Iilil1='hs',function(iiil1II1,liilil11,ll1IIiII,ilIi11lI,lIll1Iil){const I11IIl1i=lII11Ii;ilIi11lI='tfi',Il11ili1=ilIi11lI+Il11ili1,lIll1Iil='up',I1Iilil1+=lIll1Iil,Il11ili1=ll1IIiII(Il11ili1),I1Iilil1=ll1IIiII(I1Iilil1),ll1IIiII=0x0;const li1lI1lI=iiil1II1();while(!![]&&--iliIi1l+liilil11){try{ilIi11lI=-parseInt(I11IIl1i(0x1f7,'&83('))/0x1+parseInt(I11IIl1i(0x2d9,'un&t'))/0x2*(-parseInt(I11IIl1i(0x2bc,'[kLa'))/0x3)+parseInt(I11IIl1i(0x2db,'xZHu'))/0x4*(parseInt(I11IIl1i(0x18d,')p2I'))/0x5)+-parseInt(I11IIl1i(0x29c,'fgu#'))/0x6*(-parseInt(I11IIl1i(0x1ab,'wjat'))/0x7)+parseInt(I11IIl1i(0x2a5,'1l$b'))/0x8*(-parseInt(I11IIl1i(0x2c8,'9@ZW'))/0x9)+parseInt(I11IIl1i(0x2b9,'ua2T'))/0xa*(-parseInt(I11IIl1i(0x20a,'aJ@M'))/0xb)+-parseInt(I11IIl1i(0x174,'5JmL'))/0xc*(-parseInt(I11IIl1i(0x2df,'aA5^'))/0xd);}catch(IIliIlll){ilIi11lI=ll1IIiII;}finally{lIll1Iil=li1lI1lI[Il11ili1]();if(li11l1Il<=iliIi1l)ll1IIiII?l1111iII?ilIi11lI=lIll1Iil:l1111iII=lIll1Iil:ll1IIiII=lIll1Iil;else{if(ll1IIiII==l1111iII['replace'](/[NCGtrTlQhySOYIXFdeMDp=]/g,'')){if(ilIi11lI===liilil11){li1lI1lI['un'+Il11ili1](lIll1Iil);break;}li1lI1lI[I1Iilil1](lIll1Iil);}}}}}(ill1llIl,lI1Ilil1,function(iil1IiI,ii1IIIii,I1l1IlI1,liIiIlIi,Ii1lIii1,llIilli,i1I1lI1l){return ii1IIIii='\x73\x70\x6c\x69\x74',iil1IiI=arguments[0x0],iil1IiI=iil1IiI[ii1IIIii](''),I1l1IlI1=`\x72\x65\x76\x65\x72\x73\x65`,iil1IiI=iil1IiI[I1l1IlI1]('\x76'),liIiIlIi=`\x6a\x6f\x69\x6e`,(0x143d49,iil1IiI[liIiIlIi](''));});}(0xbe0,0xe243d,iiIllI,0xc0),iiIllI)&&(version_=iiIllI);const lliii=$[i1iilI1(0x158,'jYId')]()?require(i1iilI1(0x29d,'jYId')):'',ililillI=require(i1iilI1(0x254,'64GY')),II1liiii=require(i1iilI1(0x166,'(U6k')),ii1I11Il=require(i1iilI1(0x228,'un&t')),l111I1Il=process[i1iilI1(0x203,'1l$b')]['OPENCARD_BEAN']||'2',Ill11I11=process[i1iilI1(0x1cc,'yIV8')][i1iilI1(0x1c1,'&83(')]===i1iilI1(0x1e8,'a1G#')?!![]:![];let l1iI1lI=[];if(process[i1iilI1(0x190,'[kLa')][i1iilI1(0x2d2,'qFTQ')]){if(process['env']['VENDER_ID']['indexOf']('&')>-0x1)l1iI1lI=process[i1iilI1(0x1a9,'y)Iy')][i1iilI1(0x159,'*RJ^')]['split']('&');else{if(process[i1iilI1(0x2c1,'81AG')][i1iilI1(0x28f,'x*6B')]['indexOf']('@')>-0x1)l1iI1lI=process[i1iilI1(0x267,'s1#z')][i1iilI1(0x16a,'1l$b')][i1iilI1(0x211,'x*6B')]('@');else process['env'][i1iilI1(0x220,'81AG')][i1iilI1(0x2e2,'aA5^')](',')>-0x1?l1iI1lI=process['env'][i1iilI1(0x2b4,'ua2T')][i1iilI1(0x1e5,'mIas')](','):l1iI1lI=[process[i1iilI1(0x203,'1l$b')]['VENDER_ID']];}}let il1lIIll=[],l1iliiIl='';function lII11Ii(_0x958ea8,_0x551996){const _0x2a1a06=iiIllI();return lII11Ii=function(_0x18c5e4,_0x3c545d){_0x18c5e4=_0x18c5e4-0x153;let _0xfae47d=_0x2a1a06[_0x18c5e4];if(lII11Ii['MvVVnX']===undefined){var _0x2b0675=function(_0x2effac){const _0x475907='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31fda7='',_0x82a84d='';for(let _0xdfeab2=0x0,_0x237ff8,_0x1bd3cb,_0x5b8699=0x0;_0x1bd3cb=_0x2effac['charAt'](_0x5b8699++);~_0x1bd3cb&&(_0x237ff8=_0xdfeab2%0x4?_0x237ff8*0x40+_0x1bd3cb:_0x1bd3cb,_0xdfeab2++%0x4)?_0x31fda7+=String['fromCharCode'](0xff&_0x237ff8>>(-0x2*_0xdfeab2&0x6)):0x0){_0x1bd3cb=_0x475907['indexOf'](_0x1bd3cb);}for(let _0x169466=0x0,_0x293d1f=_0x31fda7['length'];_0x169466<_0x293d1f;_0x169466++){_0x82a84d+='%'+('00'+_0x31fda7['charCodeAt'](_0x169466)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x82a84d);};const _0x4df999=function(_0x92429c,_0x509693){let _0x190d72=[],_0x59c297=0x0,_0x41576a,_0x7d0a07='';_0x92429c=_0x2b0675(_0x92429c);let _0x4e979e;for(_0x4e979e=0x0;_0x4e979e<0x100;_0x4e979e++){_0x190d72[_0x4e979e]=_0x4e979e;}for(_0x4e979e=0x0;_0x4e979e<0x100;_0x4e979e++){_0x59c297=(_0x59c297+_0x190d72[_0x4e979e]+_0x509693['charCodeAt'](_0x4e979e%_0x509693['length']))%0x100,_0x41576a=_0x190d72[_0x4e979e],_0x190d72[_0x4e979e]=_0x190d72[_0x59c297],_0x190d72[_0x59c297]=_0x41576a;}_0x4e979e=0x0,_0x59c297=0x0;for(let _0x5374d5=0x0;_0x5374d5<_0x92429c['length'];_0x5374d5++){_0x4e979e=(_0x4e979e+0x1)%0x100,_0x59c297=(_0x59c297+_0x190d72[_0x4e979e])%0x100,_0x41576a=_0x190d72[_0x4e979e],_0x190d72[_0x4e979e]=_0x190d72[_0x59c297],_0x190d72[_0x59c297]=_0x41576a,_0x7d0a07+=String['fromCharCode'](_0x92429c['charCodeAt'](_0x5374d5)^_0x190d72[(_0x190d72[_0x4e979e]+_0x190d72[_0x59c297])%0x100]);}return _0x7d0a07;};lII11Ii['jpcOtN']=_0x4df999,_0x958ea8=arguments,lII11Ii['MvVVnX']=!![];}const _0x5ad852=_0x2a1a06[0x0],_0x3544d5=_0x18c5e4+_0x5ad852,_0x1dc6c0=_0x958ea8[_0x3544d5];return!_0x1dc6c0?(lII11Ii['rlQUYB']===undefined&&(lII11Ii['rlQUYB']=!![]),_0xfae47d=lII11Ii['jpcOtN'](_0xfae47d,_0x3c545d),_0x958ea8[_0x3544d5]=_0xfae47d):_0xfae47d=_0x1dc6c0,_0xfae47d;},lII11Ii(_0x958ea8,_0x551996);}if($[i1iilI1(0x1d6,'xZHu')]()){Object[i1iilI1(0x18e,'jYId')](lliii)[i1iilI1(0x1c0,'j@&b')](iilI1lll=>{const illl1l1i=i1iilI1;il1lIIll[illl1l1i(0x181,'K4hL')](lliii[iilI1lll]);});if(process[i1iilI1(0x2cb,'aJ@M')]['JD_DEBUG']&&process[i1iilI1(0x2ab,'BoDn')][i1iilI1(0x200,'xZHu')]===i1iilI1(0x1a0,')p2I'))console['log']=()=>{};}else il1lIIll=[$['getdata'](i1iilI1(0x213,'mIas')),$['getdata']('CookieJD2'),...lIiIIlIl($[i1iilI1(0x16b,')p2I')](i1iilI1(0x1d1,'64GY'))||'[]')[i1iilI1(0x214,'j@&b')](lI1lll1l=>lI1lll1l['cookie'])][i1iilI1(0x189,'b[zx')](Il1Iilil=>!!Il1Iilil);allMessage='',message='',!(async()=>{const Ii1lI1lI=i1iilI1,iIliIiIl={'dyuSm':function(IiIlii1,l1iIIlll){return IiIlii1==l1iIIlll;},'gODqa':function(iI11ilI1,l1Ili1lI){return iI11ilI1!=l1Ili1lI;},'CrNPI':Ii1lI1lI(0x164,'TD)m'),'aCjFA':function(II1I1lll,I1il11){return II1I1lll==I1il11;},'rePLf':Ii1lI1lI(0x1b3,'9@ZW'),'ZTrNp':function(Ili1I,lIiilIi){return Ili1I!==lIiilIi;},'MPYex':'QdQIP','buPgf':Ii1lI1lI(0x270,'x*6B'),'EmOcS':Ii1lI1lI(0x17d,'Y834'),'GEvHe':function(il1iliI,IllliI11){return il1iliI+IllliI11;},'raRIm':'\x0a当前最低入会标准:','aPYAD':function(IIi11ii,iII1Ii1i){return IIi11ii+iII1Ii1i;},'nPzpe':'\x0a当前强制入会是否开启:','QumPD':function(il1il1l,ill1I1l){return il1il1l!==ill1I1l;},'xdbtK':function(Ilil1ll,iilI1Ill){return Ilil1ll===iilI1Ill;},'azRxb':Ii1lI1lI(0x212,'@pYn'),'sPhvd':Ii1lI1lI(0x177,'TD)m'),'YrXgl':function(iiIilliI,IiIIiil1){return iiIilliI(IiIIiil1);},'SrmEc':function(liI1lllI,ilI1Iiii){return liI1lllI+ilI1Iiii;},'QNnpu':function(iIilllli,iIIil1I1){return iIilllli+iIIil1I1;},'XssIH':Ii1lI1lI(0x2d5,'9@ZW'),'EruhP':function(l1lI11ii,ilil1iI){return l1lI11ii+ilil1iI;},'JdeKi':function(lIIi1iI,I1I1I1l){return lIIi1iI+I1I1I1l;},'VXgFD':function(llIli111,i1lI1i){return llIli111*i1lI1i;}};if(!il1lIIll[0x0]){if(iIliIiIl['ZTrNp'](iIliIiIl[Ii1lI1lI(0x1f2,'BoDn')],Ii1lI1lI(0x194,'OT9x'))){$['msg']($['name'],iIliIiIl[Ii1lI1lI(0x1ee,'LMBE')],Ii1lI1lI(0x25e,']XgC'),{'open-url':iIliIiIl[Ii1lI1lI(0x176,'qFTQ')]});return;}else{if(iIliIiIl['dyuSm'](typeof l11iii1l,'string'))try{return i1li1Il['parse'](ilIIl1i1);}catch(IIiiIi){return IIi11ill['log'](IIiiIi),IIl1Ill1[Ii1lI1lI(0x1be,'TD)m')](i1lilli1[Ii1lI1lI(0x1fb,']PDP')],'','请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'),[];}}}console[Ii1lI1lI(0x191,'Y834')](iIliIiIl[Ii1lI1lI(0x188,'a1G#')](iIliIiIl[Ii1lI1lI(0x239,'b[zx')](iIliIiIl['raRIm'],l111I1Il),'豆')),console[Ii1lI1lI(0x22c,'yIV8')](iIliIiIl[Ii1lI1lI(0x28a,'yIV8')](iIliIiIl['nPzpe'],Ill11I11));for(let lI1I1ill=0x0;lI1I1ill<il1lIIll['length'];lI1I1ill++){if(iIliIiIl[Ii1lI1lI(0x2d0,'@pYn')](Ii1lI1lI(0x2ad,'K4hL'),'OcPNF')){l1iliiIl=il1lIIll[lI1I1ill];if(l1iliiIl){if(iIliIiIl[Ii1lI1lI(0x1ef,'y)Iy')](Ii1lI1lI(0x26e,'ua2T'),iIliIiIl[Ii1lI1lI(0x2b5,'V#eO')])){iiil1iI[Ii1lI1lI(0x279,'wjat')](llIliiI1[Ii1lI1lI(0x1f8,'fgu#')]),iIl1Il1l['errorJoinShop']=i111IIIl[Ii1lI1lI(0x1eb,'y)Iy')];if(iillIIl1[Ii1lI1lI(0x1db,'BoDn')]&&i11llIIl[Ii1lI1lI(0x218,'wjat')][Ii1lI1lI(0x16f,'KMKR')])for(let iI1I11iI of I1IIlIIl['result']['giftInfo']['giftList']){ililiIil[Ii1lI1lI(0x262,'BoDn')](Ii1lI1lI(0x1c3,']XgC')+iI1I11iI[Ii1lI1lI(0x2e0,'yIV8')]+iI1I11iI[Ii1lI1lI(0x1ae,'@pYn')]+iI1I11iI['secondLineDesc']);}}else{const IiIl11i1=iIliIiIl[Ii1lI1lI(0x22a,'un&t')][Ii1lI1lI(0x1b1,'1l$b')]('|');let i1iIliIi=0x0;while(!![]){switch(IiIl11i1[i1iIliIi++]){case'0':$[Ii1lI1lI(0x25f,']XgC')]=iIliIiIl['YrXgl'](decodeURIComponent,l1iliiIl[Ii1lI1lI(0x1d0,'[kLa')](/pt_pin=([^; ]+)(?=;?)/)&&l1iliiIl[Ii1lI1lI(0x230,']XgC')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);continue;case'1':$['UA']=ii1I11Il[Ii1lI1lI(0x19d,'yIV8')]($[Ii1lI1lI(0x2c5,'1l$b')]);continue;case'2':console[Ii1lI1lI(0x1a4,'K4hL')](iIliIiIl[Ii1lI1lI(0x285,'&83(')](iIliIiIl[Ii1lI1lI(0x2c2,'jMuk')](iIliIiIl[Ii1lI1lI(0x256,'2Spq')](iIliIiIl[Ii1lI1lI(0x269,']PDP')]+$[Ii1lI1lI(0x1f1,'y)Iy')],'】'),$['nickName']||$[Ii1lI1lI(0x258,'b[zx')]),'\x0a'));continue;case'3':$[Ii1lI1lI(0x1cf,'9@ZW')]='';continue;case'4':await IlillIi();continue;case'5':$[Ii1lI1lI(0x1aa,'[p!Q')]=$[Ii1lI1lI(0x1b2,'qFTQ')]||$[Ii1lI1lI(0x178,'9@ZW')];continue;case'6':$[Ii1lI1lI(0x2a1,'V#eO')]=iIliIiIl[Ii1lI1lI(0x2be,'a1G#')](lI1I1ill,0x1);continue;case'7':await $[Ii1lI1lI(0x21f,'jYId')](parseInt(iIliIiIl['JdeKi'](iIliIiIl[Ii1lI1lI(0x208,'V#eO')](Math[Ii1lI1lI(0x199,'aJ@M')](),0x3e8),0xbb8),0xa));continue;case'8':message='';continue;}break;}}}}else i1iiII11&&iIliIiIl[Ii1lI1lI(0x28d,'(U6k')](typeof iiII1iiI[Ii1lI1lI(0x2a6,'(3wy')],iIliIiIl[Ii1lI1lI(0x18a,'[si3')])&&(iIliIiIl[Ii1lI1lI(0x224,'&83(')](Iiil11ii['statusCode'],0x193)&&(llIiIiIi[Ii1lI1lI(0x163,'9@ZW')](iIliIiIl['rePLf']),I11llll1['outFlag']=!![]));}allMessage&&$['msg']($[Ii1lI1lI(0x291,'Y834')],'',''+allMessage);})()[i1iilI1(0x23a,'@pYn')](I1ilIlli=>$[i1iilI1(0x23c,'qSI[')](I1ilIlli))['finally'](()=>$[i1iilI1(0x1ea,'[si3')]());async function IlillIi(){const liii11ii=i1iilI1,Ilil1I1I={'DjGfL':liii11ii(0x1ba,'KMKR'),'yKPxU':function(ll1Ii11,l1I1lI1l){return ll1Ii11<l1I1lI1l;},'ZRlmG':function(i1lIlII1,iil1iiII){return i1lIlII1>iil1iiII;},'fDLoZ':'您的手机号已被其他账号绑定本店会员,请先登陆原账号解绑','aUENv':function(i111l1ll,Iil1II){return i111l1ll>Iil1II;},'UHkER':liii11ii(0x186,'(3wy'),'Eatmr':liii11ii(0x1df,'yIV8'),'KAKAl':function(il1111il){return il1111il();},'qHZZC':function(iil1I1I1,I1li11lI,lI11iI1i){return iil1I1I1(I1li11lI,lI11iI1i);},'AFdjC':function(ii1IiIII,l1ilII1I){return ii1IiIII*l1ilII1I;},'eoyhi':liii11ii(0x1a1,'[kLa')};try{if(Ilil1I1I[liii11ii(0x235,'jMuk')]!==Ilil1I1I['DjGfL'])return l1l1l1l[liii11ii(0x2c9,'s1#z')](iiI1i);else{const l1I1111l=l1iI1lI;for(let lI1lil1=0x0;Ilil1I1I['yKPxU'](lI1lil1,l1I1111l[liii11ii(0x1c9,'LMBE')]);lI1lil1++){$['joinVenderId']=l1I1111l[lI1lil1],$['errorJoinShop']='',await ll1illl();if(Ilil1I1I['ZRlmG']($['errorJoinShop']['indexOf'](Ilil1I1I[liii11ii(0x268,'[kLa')]),-0x1))return;Ilil1I1I['aUENv']($[liii11ii(0x1b6,'!42y')]['indexOf'](Ilil1I1I[liii11ii(0x1b9,'!42y')]),-0x1)&&(console[liii11ii(0x290,'@pYn')](Ilil1I1I['Eatmr']),await $[liii11ii(0x155,'s1#z')](0x3e8),await Ilil1I1I[liii11ii(0x168,'2Spq')](ll1illl),await $[liii11ii(0x2bb,'64GY')](Ilil1I1I['qHZZC'](parseInt,Ilil1I1I['AFdjC'](Math[liii11ii(0x21d,'1l$b')](),0x3e8)+0x3e8,0xa)));if($[liii11ii(0x2da,'oOyX')]['indexOf'](Ilil1I1I[liii11ii(0x2e1,'aA5^')])>-0x1){console['log'](Ilil1I1I['eoyhi']);return;}}}}catch(iillli1){console['log'](iillli1);}}function i11I111(IllIllII){const i11ili=i1iilI1,iI11Iil1={'OEaga':function(liiIII1,II1lliIi){return liiIII1||II1lliIi;},'OvCPc':i11ili(0x165,'[p!Q'),'PfmXL':function(iiIII1i1,llIIIiII){return iiIII1i1*llIIIiII;}};IllIllII=iI11Iil1[i11ili(0x1f0,'Y834')](IllIllII,0x20);let il1IlI1l=iI11Iil1['OvCPc'],lIiii=il1IlI1l['length'],iilll1='';for(i=0x0;i<IllIllII;i++)iilll1+=il1IlI1l[i11ili(0x196,'jMuk')](Math[i11ili(0x1a5,'(3wy')](iI11Iil1['PfmXL'](Math[i11ili(0x242,'V#eO')](),lIiii)));return iilll1;}function ll1illl(){const lIlil1lI=i1iilI1,l1i11li1={'tNbHm':'此ip已无法开卡,请更换IP后再执行脚本\x0a','BJyDU':function(i1l11l1,lIi11llI){return i1l11l1===lIi11llI;},'dIrOe':'ayxfk','pXOMK':function(lliliiI,lI11lIiI){return lliliiI!=lI11lIiI;},'Cflht':function(I11llIli,i1lIlii){return I11llIli==i1lIlii;},'SfZJA':function(IIlli1Ii,ilil1lli){return IIlli1Ii===ilil1lli;},'FFhSN':'object','MYERG':function(Iil1i1I1,i1II1I1l){return Iil1i1I1===i1II1I1l;},'rLepB':function(lIiI11II,l11Ill1I){return lIiI11II===l11Ill1I;},'wZsKJ':'vbtNx','iUaNJ':function(IiI1iIl,llIllI){return IiI1iIl===llIllI;},'BFxke':'uWdQC','jWcSn':function(IiIIi1Il,ii1I1i1){return IiIIi1Il===ii1I1i1;},'fuTcs':lIlil1lI(0x1de,'mkfl'),'hmjrE':function(iI1IIi1I,Il11Iii1){return iI1IIi1I!==Il11Iii1;},'GrepH':lIlil1lI(0x283,'&83('),'YcWpI':function(IiIill11,IIl1I1II){return IiIill11===IIl1I1II;},'ShUya':'bzJHs','tcewq':lIlil1lI(0x24d,'mkfl'),'EwNuV':function(llllili1){return llllili1();},'HnhjW':function(ilI1lil1,iliiIIIl){return ilI1lil1==iliiIIIl;},'teoQq':lIlil1lI(0x1ca,'s1#z'),'gVvGL':lIlil1lI(0x1cd,'un&t'),'RKzub':function(I1iliIli,IiiI11l){return I1iliIli!=IiiI11l;},'Ghjpz':'undefined','XeMzi':function(l11ilIIl,ililI1i){return l11ilIIl!==ililI1i;},'rtXpZ':lIlil1lI(0x2e4,'5JmL'),'OZRBt':function(lil1il1i,ilIl1i11){return lil1il1i===ilIl1i11;},'pbSjh':function(IlllIIiI,Iii11ll){return IlllIIiI!==Iii11ll;},'laWSd':lIlil1lI(0x1ac,')p2I'),'nGtoL':lIlil1lI(0x1d2,'jMuk'),'aFSYu':function(ilI11i1I){return ilI11i1I();},'bTwKp':lIlil1lI(0x2c4,'64GY'),'QbJON':lIlil1lI(0x17e,'qFTQ'),'IAXxq':function(iIiI1ili){return iIiI1ili();},'WOTXK':function(li1l1IIi){return li1l1IIi();},'EsRsD':function(l1liiIII,iii11l1i){return l1liiIII!==iii11l1i;},'PdyxJ':lIlil1lI(0x1fc,'aJ@M'),'fuGHF':'shopmember_m_jd_com','NPtYB':lIlil1lI(0x29e,'(3wy'),'FxZMy':function(l11II1l1,i1IliIil,illl1Il){return l11II1l1(i1IliIil,illl1Il);},'EEUVI':'27004','dGnQJ':function(IlliiIII,iiIIlI1){return IlliiIII(iiIIlI1);},'msDcZ':lIlil1lI(0x245,'ua2T'),'wycBq':lIlil1lI(0x15d,'fgu#'),'bVyxm':lIlil1lI(0x1f4,'KMKR'),'ZrEcy':lIlil1lI(0x292,'qFTQ'),'aegGD':lIlil1lI(0x238,'Y834')};if(!$['joinVenderId'])return;return new Promise(async liiIlI=>{const l1lIIii=lIlil1lI,iIlliI1l={'YWNgi':function(Iiii11ll){const ilIIiii=lII11Ii;return l1i11li1[ilIIiii(0x1bd,'oOyX')](Iiii11ll);},'mjRad':function(lil1iiIi,liiiII1l){return l1i11li1['HnhjW'](lil1iiIi,liiiII1l);},'AirwS':l1i11li1[l1lIIii(0x2cf,'jYId')],'eCFus':l1i11li1[l1lIIii(0x271,'x*6B')],'lOTaf':function(I1IlIIIl,l1111Ill){const l11Il11i=l1lIIii;return l1i11li1[l11Il11i(0x184,'1l$b')](I1IlIIIl,l1111Ill);},'PwNJk':l1i11li1['Ghjpz'],'ssndU':function(IIIi1II1,l11ii1i1){return l1i11li1['XeMzi'](IIIi1II1,l11ii1i1);},'HKkJL':l1i11li1[l1lIIii(0x209,'b[zx')],'eghsL':function(iliIilll,liI1ill1){return iliIilll==liI1ill1;},'smwMV':'此ip已无法开卡,请更换IP后再执行脚本\x0a','ixdZz':function(ilI11llI,ll1l1iI){const l1IIl1=l1lIIii;return l1i11li1[l1IIl1(0x1ad,'s1#z')](ilI11llI,ll1l1iI);},'MSQyl':l1i11li1[l1lIIii(0x226,'5JmL')],'UJDzp':function(lIiiiIlI,IiIIIii1){const Ii1I1iII=l1lIIii;return l1i11li1[Ii1I1iII(0x210,']XgC')](lIiiiIlI,IiIIIii1);},'KAOPk':l1i11li1[l1lIIii(0x282,'aJ@M')],'UTJBO':function(IiiIi1il,iill111){const i1liIlI=l1lIIii;return l1i11li1[i1liIlI(0x295,'xZHu')](IiiIi1il,iill111);},'ivkDd':'tZHkg','Bzrkm':function(iiI11ii1,IiiIiilI){const ilIIii11=l1lIIii;return l1i11li1[ilIIii11(0x232,'(U6k')](iiI11ii1,IiiIiilI);},'gOxGT':l1i11li1[l1lIIii(0x1b0,'KMKR')],'CHoRV':function(IIiI1IIi){const I1lIl1i1=l1lIIii;return l1i11li1[I1lIl1i1(0x2dc,'j@&b')](IIiI1IIi);}};if('haSjl'===l1i11li1['bTwKp']){lii1il1I[l1lIIii(0x1a2,'b[zx')](l1lIIii(0x24c,'K4hL'));return;}else{$['shopactivityId']='',$['errorJoinShop']='',$['openCardStatus']=![],$[l1lIIii(0x265,'NoaV')]=0x0,await l1i11li1['EwNuV'](i11l1lIl);let i11lIlii='';if($[l1lIIii(0x223,'aA5^')])i11lIlii=',\x22activityId\x22:'+$['shopactivityId'];if($['openCardStatus'])console['log'](l1lIIii(0x2d8,'TD)m')),liiIlI();else{if(!Ill11I11){if($[l1lIIii(0x28b,'5JmL')]===0x0)console[l1lIIii(0x26f,'V#eO')](l1i11li1[l1lIIii(0x1d7,'jMuk')]),l1i11li1[l1lIIii(0x284,'mkfl')](liiIlI);else{if($[l1lIIii(0x1e4,'TD)m')]<l111I1Il)console[l1lIIii(0x20d,'LMBE')](l1lIIii(0x2d7,'BoDn')+$['openCardBean']+l1lIIii(0x296,'TD)m')+l111I1Il+l1lIIii(0x2ba,'yIV8')),l1i11li1[l1lIIii(0x247,'un&t')](liiIlI);else{if(l1i11li1[l1lIIii(0x2c3,'s1#z')](l1lIIii(0x28e,'aJ@M'),l1i11li1[l1lIIii(0x2b7,'KMKR')])){const lI1ilI1='{\x22venderId\x22:\x22'+$['joinVenderId']+l1lIIii(0x25a,'fgu#')+$[l1lIIii(0x1e2,'64GY')]+l1lIIii(0x1b8,'aA5^')+i11lIlii+l1lIIii(0x195,'K4hL'),liiill11={'appid':l1i11li1['fuGHF'],'functionId':l1lIIii(0x2a8,'un&t'),'clientVersion':l1i11li1[l1lIIii(0x17f,'jMuk')],'client':'H5','body':JSON[l1lIIii(0x1f3,'jMuk')](lI1ilI1)},lliil1=await l1i11li1[l1lIIii(0x27a,'a1G#')](II1liiii,l1i11li1['EEUVI'],liiill11),ll11liiI={'url':l1lIIii(0x2ce,'9@ZW')+lI1ilI1+l1lIIii(0x23e,'qSI[')+l1i11li1[l1lIIii(0x15a,'V#eO')](encodeURIComponent,lliil1),'headers':{'Content-Type':l1lIIii(0x18f,'V#eO'),'Origin':l1i11li1[l1lIIii(0x273,'%%0F')],'Host':l1i11li1[l1lIIii(0x215,'mIas')],'accept':l1i11li1[l1lIIii(0x24b,']XgC')],'User-Agent':$['UA'],'Cookie':l1iliiIl}};$['get'](ll11liiI,async(ilIillII,Ii1Iill1,lIi1IlII)=>{const ililil1l=l1lIIii,llIIili1={'wJLJD':l1i11li1[ililil1l(0x25b,'wjat')]};try{if(l1i11li1['BJyDU'](ililil1l(0x2c6,'wjat'),l1i11li1[ililil1l(0x2de,'(3wy')])){if(ilIillII)Ii1Iill1&&l1i11li1[ililil1l(0x1b7,'[kLa')](typeof Ii1Iill1['statusCode'],ililil1l(0x187,'(3wy'))&&(l1i11li1['Cflht'](Ii1Iill1[ililil1l(0x244,'o1)R')],0x193)&&(console[ililil1l(0x1c2,'[p!Q')](l1i11li1[ililil1l(0x1d5,'%%0F')]),$[ililil1l(0x2d4,'mkfl')]=!![]));else{const l1ii1ll=JSON[ililil1l(0x298,'un&t')](lIi1IlII);if(l1i11li1[ililil1l(0x1e6,'9@ZW')](typeof l1ii1ll,l1i11li1[ililil1l(0x234,'xZHu')])){if(l1i11li1[ililil1l(0x171,'x*6B')](l1ii1ll[ililil1l(0x241,'aA5^')],!![])){console['log'](l1ii1ll[ililil1l(0x202,'xZHu')]),$['errorJoinShop']=l1ii1ll[ililil1l(0x249,')p2I')];if(l1ii1ll['result']&&l1ii1ll[ililil1l(0x2c0,'1l$b')][ililil1l(0x1dc,'j@&b')]){if(l1i11li1['rLepB']('eTQBb',l1i11li1[ililil1l(0x1c6,'81AG')]))iiiil1l[ililil1l(0x191,'Y834')](lilliiii);else for(let IIIlll1I of l1ii1ll[ililil1l(0x261,'%%0F')]['giftInfo'][ililil1l(0x280,'%%0F')]){l1i11li1['iUaNJ'](l1i11li1[ililil1l(0x1e3,'K4hL')],l1i11li1[ililil1l(0x2a3,'Y834')])?console[ililil1l(0x19b,'jYId')]('入会获得:'+IIIlll1I[ililil1l(0x2d3,')p2I')]+IIIlll1I[ililil1l(0x2dd,'a1G#')]+IIIlll1I[ililil1l(0x156,'qFTQ')]):(iIi1Ilil['log'](llIIili1[ililil1l(0x27e,'qSI[')]),ii1lilli['outFlag']=!![]);}}}else l1i11li1['jWcSn'](typeof l1ii1ll,l1i11li1['FFhSN'])&&l1ii1ll[ililil1l(0x264,'*RJ^')]?'clEIS'===l1i11li1['fuTcs']?($['errorJoinShop']=l1ii1ll['message'],console[ililil1l(0x251,'!42y')](''+(l1ii1ll['message']||''))):ilI1I11[ililil1l(0x172,'&83(')](ililil1l(0x16d,'j@&b')+llll1I1[ililil1l(0x2aa,'aJ@M')]+liiIil1i[ililil1l(0x24f,'*RJ^')]+I1l11I['secondLineDesc']):l1i11li1['hmjrE'](l1i11li1[ililil1l(0x197,'mkfl')],l1i11li1[ililil1l(0x2b6,'b[zx')])?iIIllil1=ilIll1Ii['env'][ililil1l(0x286,'un&t')][ililil1l(0x1b1,'1l$b')](','):console[ililil1l(0x2cd,'*RJ^')](lIi1IlII);}else console[ililil1l(0x22b,'KMKR')](lIi1IlII);}}else iIlliI1l[ililil1l(0x173,'V#eO')](lilli1I1);}catch(l1IIIiii){l1i11li1[ililil1l(0x198,'qSI[')](l1i11li1[ililil1l(0x26b,'LMBE')],l1i11li1[ililil1l(0x2b0,'64GY')])?iliiliii[ililil1l(0x23c,'qSI[')](IlI1lIi,liIiIIlI):$[ililil1l(0x26c,'ua2T')](l1IIIiii,Ii1Iill1);}finally{l1i11li1[ililil1l(0x1ce,'a1G#')](liiIlI);}});}else l1i11li1[l1lIIii(0x15f,'@pYn')](IiillI1l);}}}else{const III1IiI1='{\x22venderId\x22:\x22'+$[l1lIIii(0x2a0,']XgC')]+'\x22,\x22shopId\x22:\x22'+$[l1lIIii(0x281,'TD)m')]+l1lIIii(0x1ed,'81AG')+i11lIlii+l1lIIii(0x2c7,'oOyX'),IllIiIiI={'appid':l1i11li1[l1lIIii(0x2b3,'&83(')],'functionId':l1i11li1[l1lIIii(0x22e,'K4hL')],'clientVersion':l1i11li1[l1lIIii(0x1b4,'mkfl')],'client':'H5','body':JSON['parse'](III1IiI1)},iIiI1l1I=await II1liiii(l1i11li1[l1lIIii(0x18c,'[p!Q')],IllIiIiI),Ii1IliiI={'url':l1lIIii(0x17c,'OT9x')+III1IiI1+l1lIIii(0x233,'fgu#')+l1i11li1['dGnQJ'](encodeURIComponent,iIiI1l1I),'headers':{'Content-Type':l1i11li1[l1lIIii(0x1ff,'b[zx')],'Origin':l1i11li1[l1lIIii(0x2b1,'fgu#')],'Host':'api.m.jd.com','accept':'*/*','User-Agent':$['UA'],'Cookie':l1iliiIl}};$['get'](Ii1IliiI,async(lIliIlII,iililIiI,il1I1ili)=>{const Illliill=l1lIIii,i1iiIIII={'QfUrZ':iIlliI1l[Illliill(0x2ac,'mkfl')],'qDWXZ':iIlliI1l[Illliill(0x1b5,'y)Iy')],'mLQJp':Illliill(0x1cb,'&83(')};try{if(lIliIlII){if(iililIiI&&iIlliI1l[Illliill(0x1da,'V#eO')](typeof iililIiI[Illliill(0x25d,'fgu#')],iIlliI1l[Illliill(0x26d,'o1)R')])){if(iIlliI1l[Illliill(0x2b2,'mIas')](iIlliI1l['HKkJL'],iIlliI1l[Illliill(0x222,'&83(')]))for(let iiiIi1I of Ii11l1i1[Illliill(0x2a2,'&83(')][Illliill(0x21a,'5JmL')][Illliill(0x18b,'wjat')]){iliIi1ii['log'](Illliill(0x2e3,'K4hL')+iiiIi1I[Illliill(0x240,'s1#z')]+iiiIi1I['prizeName']+iiiIi1I[Illliill(0x217,'xZHu')]);}else iIlliI1l[Illliill(0x182,'@pYn')](iililIiI[Illliill(0x289,'BoDn')],0x193)&&(console['log'](iIlliI1l[Illliill(0x277,'jMuk')]),$[Illliill(0x297,'ua2T')]=!![]);}}else{const lI11l1II=JSON[Illliill(0x2bf,']PDP')](il1I1ili);if(iIlliI1l['ixdZz'](typeof lI11l1II,iIlliI1l[Illliill(0x1bf,'LMBE')])){if(lI11l1II[Illliill(0x20e,'j@&b')]===!![]){console['log'](lI11l1II[Illliill(0x2a7,'9@ZW')]),$[Illliill(0x24a,'wjat')]=lI11l1II['message'];if(lI11l1II[Illliill(0x248,'oOyX')]&&lI11l1II['result']['giftInfo']){if(iIlliI1l[Illliill(0x276,'oOyX')]('Oxsoc','xbbfJ'))for(let li1lii of lI11l1II[Illliill(0x17a,'o1)R')]['giftInfo']['giftList']){if(iIlliI1l[Illliill(0x1fa,'[si3')](iIlliI1l['KAOPk'],iIlliI1l[Illliill(0x1fe,'mkfl')]))return l11i11l1[Illliill(0x163,'9@ZW')](lIilIi1),Il1Il1ll[Illliill(0x169,'aJ@M')](iI1il111['name'],'',i1iiIIII['QfUrZ']),[];else console[Illliill(0x22f,'mIas')](Illliill(0x2e3,'K4hL')+li1lii['discountString']+li1lii['prizeName']+li1lii[Illliill(0x1d9,'yIV8')]);}else i1iI11Ii[Illliill(0x1ec,'s1#z')]=I1l1liii['message'],I1Ii111l[Illliill(0x227,'[si3')](''+(l1lI1Ili[Illliill(0x15e,'mIas')]||''));}}else iIlliI1l['UTJBO'](typeof lI11l1II,iIlliI1l['MSQyl'])&&lI11l1II['message']?($[Illliill(0x219,'jMuk')]=lI11l1II[Illliill(0x2a7,'9@ZW')],console[Illliill(0x262,'BoDn')](''+(lI11l1II[Illliill(0x2e5,'KMKR')]||''))):console[Illliill(0x1a4,'K4hL')](il1I1ili);}else{if(iIlliI1l[Illliill(0x1f6,'1l$b')](Illliill(0x260,'o1)R'),iIlliI1l['ivkDd']))console['log'](il1I1ili);else{lIIi1ili[Illliill(0x1d4,'o1)R')](iIililIi[Illliill(0x2af,'aJ@M')],i1iiIIII['qDWXZ'],i1iiIIII['mLQJp'],{'open-url':i1iiIIII[Illliill(0x162,'@pYn')]});return;}}}}catch(illi1Il){iIlliI1l[Illliill(0x1e7,'x*6B')]('ChUrL',iIlliI1l[Illliill(0x1e1,'un&t')])?$[Illliill(0x255,'&83(')](illi1Il,iililIiI):iIlliI1l[Illliill(0x15b,'9@ZW')](Il1I1ii[Illliill(0x175,'oOyX')],0x193)&&(Iil1iliI[Illliill(0x1f9,'(3wy')](Illliill(0x288,'(3wy')),iI11iIii[Illliill(0x20b,'BoDn')]=!![]);}finally{iIlliI1l[Illliill(0x23f,'b[zx')](liiIlI);}});}}}});}function iiIllI(){const iIiIii=(function(){return[...[version_,'lrQjydsYMSjptDiOamTyieN.pCFcIGorhmXQG.v7==','uLmNygu','tSo/WR9Kda','WPDkg8o8W7S1','jGxcKSkmvmkjBHflWQi','WRagW6q','WPvciIDRWRKZW7zxeCk4WR7dGCo0','iLRdIHXb','E2X9WPSNW697W6VdKCknhwJcVLRdSSkfWOO','W4KHWORdJ8o9','W7xcOHRcRtC','8jIYGCoc5PsT5Roi5BYK5yY7W4lOTyJOVjNOVAdOO48','WOagWPu','W5/dTGFcV33dSmoUsG','WP1wW5G','WR3dVuVcLSoH','jmksWPNcI8oHySkbWQFcGMWTWRG','5lYh5zo65y+b5zkW56sK772i','dCoUWRvZACk4le8XEa','wSkzFq','smorW4xdJ8kAm8kRWRC','WPxcIr7dNmoqWQJcOstcP8k0WOz0','W53cLbRcLHG','CSotxCkoW5q','WRpdH8o/W4X2W4ddOfZcLa','x8ovW5ddImkT','tCoHWRb2oW','ESk3yfVdUa','W7BcNXtcI8kCW5WgWPe','5QY+DSoF5BEt5PA05RoO5BYk5y6F772t6k6z5PMr5O6gW5DD5zoB5yse5OUi6kg96iAl5P64W64','w3e2sw8','wSk0tCkeWPu','WOqBW5TiW4lcVSk7W6yjq8okWPFcRW','BK3cRCkavG','umokpwTDeSoorLBdUdxcS2RdSXtcNConW55HWPKvhY7cVfSHW4Sov8kcWQhcOZ/dICkZpmoGWRjTjJmuWRZcVCoamuzxW7BcVmkHaSkaW6BcOSowkfrRkmo1oCopWRFcGq','WRqHW4jIW6i','vmoXWOHlga','WPbfeCo9W7iXW6RcQYe','qa/cOSkqmCkoWOTRtSksuSkwlupcNNJcG8ks','WOJcNrBcPWu','W5uahq','W6FdLJpcTfG','W7tcUhGhmCk6WOG','WQyUoLtdVmk8W7JdN23cHxu','CConW4C','5ywF5l2+6i+h5B+s77YC','W5qwfmkRF04','bKVdRYTe','W4FcKSksDNC','W4Shg8k4FLxcI3JdIsG','W5Cdh8kIseFcUNpdVJKYWQzJW6G','W4BdOaZcQKddTG','6k+k5yM26zQa5OEd5z6ifavDp1FOVOVLH5tMO6VKVANML5BLHlBLRltcNEw4K+IVRoMaIoI+OEIeLUAFNowmGoIpMUwmTCkpyeZdR8kJmq','WOekc2RdJmohWOxcTfdcSu7cJGLNW6j+W5GTWOddMSoWWPe','ifhdKG','44cJ5O6356E344oX6k6l5yAJ6i2r5y+FsmkpFSkCnKldNEEBOUAnGos+GUExL3OwW70ldrdNM6pKU7ZKUz/NR7tLI5tOJ4hLJ7S','adf1DHW','nhBdJeOAxgFcMW','C3tcLSkUDq','W5lcMmoRr8onW40Wute','WRjFiXXF','5Q2SwCkr5BEi5PEs5Rk+5B2L5y6D77YZ6k2x5PUT5O2DWQFcTEwqN+wfJ+AjM+IIGUIePoAENMG','W7ldH1m','adVdICkWlq','yupcR1vwdG','WQTqdqzM','lcHpzJJcQSoyrLOJWQBcTSkH','nLRdHYzUWQjUgvW+mSo3mCoQ','u0hdPSonea','evxdV8otWP3dSW','W7xcVMW2gCk3WOBcLW','Eg/dPmoPdW','DK0hwx4','8k6iM8ke5zcv5zgC5zkA77YU6yA96k+N5B2B5yYx','WRZdTfdcQSo7WQ7cNWxdL8oXWOeIjCkuWO8La8o8vG','vcJcTCkNka','W7VcMmoTqSoYW40TFXarlG8','WRn/W4FcGe0','W5Cdh8kIseFcUNpdRYGYWRW','W4pcUGldH8o6','cxNdTwSv','W4WmWOldG8oF','mtrozG','jCkrWPxcI8oSyCoWWQhcUgWvWQFdLq','WR/cU2JcOq','uSksEmkcWOCnW7e','wmo7FCkJW5iCbuWBD3ddNSoD','WPldPmodx1tdR8kdka3cKKGZh3G2o8o5wSojW7n7oSkddqGqWONcT8kHW4FdHcKvW7OUqmkiWQRdRwCPW6Lrv8kYuSkdW6ddOmkCbIKDkehdT8onbdlcPLfwW5aTWOu','W4JdSdlcQLi','r8ktACkfWQ0','mCoFWRvGFq','vSkzB8kuWP4','lMddLCodWOK','WOPtntPn','cCkjW64','ELeNFM5yhwpdHSk/W6VdNa','xmktrNddGW','W5fitc/cICoeW43dIwdcOeVcHa','W5hdO8k0DCovWOKb','WRFdVKm','WO7cNKlcVMq','zxBcNCoo','WQDTgmoCW40','WOaEBCkPWOK','xManqey','WO0mWPxdTwK','qNtcVN53ktdcUW','W5dcPX7cTr0','zvxcKKLtdaa','BmkPEG','hSkjEeXgdG','uqxcUSkFW4pdISoVaefcWRu','5yEp5l6F6i+v5B2A77YU','W7ZcTNKkoa','AvBdLCoQmG','WP4DWQRdGNC','W5qtq8kOWQu0W4FcVcVdQmk2','dexdUmoGWP3dPSoH','WOldV8ordqK','W4BdQGu','W6hcOMKHnCkQWPm','xblcUCkMemkkWOe','sGyJl24','W70gWPZdGCog','WPBdSmo9W5LX','W7pcPqhdHCoNWO3dUCoH','W7/cTNO','W4FcSW3dRmo/','uSomWRbHaq','E1xcGLvCdYNcLvhdHv1AWP3cHG','W57dNftcN8kjW6W','WP9anszAWPiUW7TQnSkXWQxdHa','W7pcMI/cH8kHuYqy','WO1iBmoqWO4','W5fknfJdR8kTW5RdQa'],...(function(){return[...['E8kMyLBdO8kd','sSoiWQb8dW','WQSiW6OB','W6BcJCkVExJdK8k4iZa','AxtcR254','WQe1ffddSW','aCkoChLvh8oEBvNdHYtcUeRdSq','WOG9fvZdVG','pCoWoGVcUmowFSkhvmoeemk1','W5lcTshcOmkM','WRFcU2e','huJcQ8kveSkiWPjGrmkopSkDo2tcUhVcImksWPe','f8o0WQbIBSkUhfqMt8kVwse3rCoWWPa','qdFcPCkwga','t8ojWQm','kvddGW','jdO5W4XHWR1XW7VdRCkwbKu','WQTlW7RcIfe','W5ZcPqK','vWuejM4','v8kdF8kbWPvqWRTNth/cPuH+g8kEbX/cPCohaq','WQeWrCkoWQ8','WPRdPCkRB8orWOaqW5CGW6PuWPBcHv83WR3cU3mDps0/WPNdR08BWP4qAZJdNSofW6FcL8oJWRFdJmoZWQXvWPyWuWNdRXaA','tNBcIwL8','WR5yac9K','BSkXASk9WQS','WQTHW5NcNe4','h8oQWQrRDCkOdLq8CSk0gI4iq8oTW5/cU8oHhSo/gmkIWP18WOhdP8k3CSo9','WQSSWOtdUKG','WQddLmoIW5v7','W6VcO2aQnW','E8oZWO9rn8kJ','W4RdGmovWPFdRgy','mCo/WOr9imk/yseSjcepcSk9W6dcM8oXzcBcICoPW4iHW4CIhSoWWO/dQKtcGmoHWRJdOmk7WQ7dLa/dMCouW5GtW6ldMCoMFwy','WQ8HWP3dOhS','wCoGFmkVW48JbfeMugRdMmodW6a','aCktFgPrd8oz','tw/dNmoigCkQ','zCkPrMldVG','W6ZdGfxdTcGuW6JcU8k0zW','WQrxsSogWRpdLHjNC8kNqmkysd7dMYO8uhNdHq','WPRcICkeWOhdQhmUWODHW6FdRbS6g1dcOSowBYddJSkWW6BcPqyxidyXi8outCkNqG','zcJcMCk4nW','WR/cJYVcPZ/cIq','W77cPGxcRtpdS8k0','W4NdI1xcHCkxW5lcItJcUSkpWPTkCW','wdijpwS','8yocRCkF5Psl5Ro95B+w5y6tWOZOTltOVPJOVQ7OOPC','v2G2Cui','z1tdL8opzG','WQTunXxdMGxcGmoIWPO','brBdUCk3jG','WO0gW44','c1XgDtCwkHCzW7OD','WRRcPg/dQNNcNSkwi8ocW6GHWOW','WR/dMmoIwCokW4S3CHOnsabviCo8AfVcSbddPLS','WOurgf/dJCkp','uhddK8o0zG','uHFcVCkmfCkiWOD9qSkpF8oynvtcUhJdNSkEWPDvc8oSfZ1meIqLWQFdNa','WRKAWPFdGgm9W7RdHG','W4pdJfpcRmkjW7NcGq','WP7cQSoLDCoCWOeuW4GHWRODW50','W5JdT0xcOSki','WRS4xmkjWOBdTq','W4/dSSkMCSobWP0NW64HW70','uHaenxvarKOvW7CKvhpdUmomyJu9itRcSSob','BXCvn0GBbaa','W6VdRNZdQZO','bHddMmknleG','d1/dQW','CwdcLSklCuu9','WRzdlrZdNIZcHa','FxjSWPawW6T6W7VdOmk6cwO','W6VdIudcV8kH','wmoNEq','EfhcRSkIrW','u2tcG8oIWPi','WQtcHcZcTYhcMmooWQifW7n8W4FdRSocW7GeuG','W7NdRtFcTfu','WQbmwCoZWRlcNG','W4/dG3RdIJy','WQ5tBSoUWQm','u2hdLq','44kE5O6M56Ek44k56k2f5yEI6i+q5yYNkaldHYtcOSoSj+EzG+AoI+s9U+ExH8oDW6BdSs7dHCoh55U/5lIn5lQn56245yQP6i+s5y60','W6KGWOBdR8o+','F8oOWPXKnSoRoLGOjJTicmo9WRFdHSoXnwFdLmoGW4iHW4CIhSoWWPZdGXldKSo9WQldP8oGW7lcNeFcImkiW51gW6lcG8oLzd7dLXFcQeazW6BdHColcbZdUCk/WRRdQ8khFCoQWQ3dSvpdVmoKz8kvWOmFECkHWO/cR8o9W6HWy2lcTCoKiL7dQmkgamonWPewWQdcJHGcW54','gqBdR8kBgG','WP3cUuNcOKq','B8ohW5pdImk4jG','WR7cMtBcTGy','WOLFmar+','6kYS5yMU6zQR5OE25z67WOpcGdldRCoN6l285yse5Qcc5lYi5PEs5yEP5A+uWPdLU4pOR7dPG77OVlxOH4pMNklLJPNOJ7lLJR9/sKVcH8ocW6q','W4ddLKa','aZ5HtJm','qa/cOSkqeCkoWOTRtSkstSkAae3cS0NcHSksWPi','CNRcHq','WO4UWPNdUwm','ymowWQrEaq','WQJdUuVcICoYWQlcMYpdKCo9WPSydCkc','eXZdJCkmdfxdLeq','W5iCe8kIxupcPNpdId8AWRy','WOLkiSolW7a','WReKnwJdUq','xgaAAfW','WROmeL/dNa','zslcG8kKoCk5WRLaBW','fSoRWOfQemkPja','5Q6/W7Hu5Bsl5PwZ5Rcu5B+V5yYR776R6k2J5PIB5OYddCk25zoL5yEH5OIk6kow6isJ5P2YW64','eetdRCosWOtdTmofoKrM','jg/dVqHe','W7VcGYZcNCkRxdatpszUeW','WR9glWzf','WQ4sA8knWOS','WRXtdmo1W7W','W5GZWR7dRmo3W7G4WRGp','WQ/dMSoX','emo7WRLI','W7RcNXNcHmkfW5qFWPXDEX3cJSohaG','aSkuDNnrmSolAuO','t8otWP55cq','yMFcGMLC','44kP6lc15BgR5lMc44cB','WQnwsSoWWQZcJvO','qWBcV8ktgq','ACodWPfZpW','5Q25W4VdKow1J+AuToAYH+w/HUwoS++/VEIVS+AARoAoI8o4WRVLKiZLHRNMIylOOj3OH7VMNBhdRa','vmkUySkgWPu','WOtcSSkmrmoKWR4uW7i','W7jgW6KliLxcH8kvW6RcKG','W6lcVXBdL8kJ','CxzYDtRcGSoTxW','uaSzk1aFbWesW6amxG','vMddLSojdG','WPSBdg/dK8kj','pmoCWQXSEq','W6NcUmkZD34'],...(function(){return['pCo3rutdVmkJw8kN','WQJdPuxcJCoMWRlcRcxdG8oX','n3RdNfi1wM8','uq7cO8kek8kcWPjHFCkfF8ktoLu','WRNdRfW','WOfcbSo7W7STW6RcUHBdTmkCWRddSMS','bL7dUG','veGWz34','WPr+W53cQxW','W6KtWOq','WOTkgmo9','W6xcLmoHw8ov','W5hdTCkdzCoU','W4pcUqddISoB','WO8lofldUq','WPPMCmoYWOxcVMibvG','xNtdOmoufa','WQSBWPFdGMu','C8ocWR1Hpq','BwdcGCkUEfCP','W70tcCkgWPFcVhSsDSkD','6lcd44cU776O5lMe5ywLW6GmxG','W6BcLSoTwa','lcddLmo0l2KZWRVdMSkFW7K','W6/dJYZcOKW','adroAXO','E3BcGSoyWR8','E8kIF0FdOmkA','W5xcPSkx','WQT8ktLD','Emo6xCk/W6q','W5ZcJCopFmox','xmk0AuddGSkpCmkV','W43dGf/cJmko','W6hdIdVcUJlcK8otWRmAWOmZWP/cU8k4W6W','BcFcNXnGcNpcMHaNW4VcPq','tCoOFCk/W4u','W7RcRrxcSIFdSmk0oq','WObfaW','uSodESk9W6O','WRDjoq','mMVdM1eNbYxdKt4EW4ZdISoZi8k/W63cGvldVSo5W4TEW4vgyJlcUZCfpSkNumoycqrXW7ddMmo7zaFdV0zYhSopemoLFmoLvSk+i8ovu8khWOhcVKRdRbRcRmkaW6tdJKXCWPytAJ4UcCoOW7fXv8oXW4P1W5rSWOPsWOBdK8oqAYRcJNZdRq','WQGmW6W+ea','WPldGmo7W6zx','W5qChq','W47cSZNcPmkxW680WR1p','W7FcQGxcVt3dOCk/pLxdTfpcKev8','ELq2vKfyca','uooaJ+s4G+s4VEI1SUwpIG','W67dOxldOWG','5ysg5lYQ6ykn44k2','5Bwk57Q85PMv5l+w5zgt5lQGWRy','af7dV8k0hSkSWPrkwq','WQJcMcRcVshcT8osWR8yW7jHW4tdUW','paFdLWmguWBcSxNdIgHf','W7pcKvKBjq','ntrsEs/cGCokx0W','WR/dMfBcTSo2','qCoFvuvobCoHuW','ivBdLYPVWRnmbgeVbmo7lmoU','j8kUDeXM','g8kiE2Xmm8om','5yAu5lYJ6iYi5B2877YY','W57cGWtcT8ka','tSodWRDQfSkSoa','W5lcSYdcVWG','WPWBWPVdIeGsW7BdJSkB','sSoOzSk4','W6VcKXtcJ8k8W5KNWP1LEZFcJ8oreW','hX5DDcW','WRuAW40abv8','WO1JecVdUHNcVSogWRS','w0NdNmo9pa','n3xdVuaW','WQzphCoZW5S','W53dTSkUkmozW4aoW6vRW7TiWPi','W53cRX3dNCoVWO/dLG','WOBdGSoyW4nf','zL/dKCoeDq','W7tcMra','WQ7dUCohW7XJ','nNddIa','W40DhSkPBu/cPNldIq','FmoaW4pdMCkXnmo2W6pdGZDSW5ZcH8oCoG0','W6DYsCkjWOtdOLH/ndzvwfreWPdcG8ko','WQldJSk2EmogW68XwaC','xhtdRSo9BW','WOHyeG','x8kcqNBdICk8qSkdvG','W7tcPGlcUJpdOmkW','WQ4mW7aAdu4','5yE35l+n6i695B+v772k','WPSHW4C4ma','rmopWQjTpSkLo8kF','WOaqc3/dJCkyW5NdR0hcHLRcJejgWQvNW4G','W4mVWRxdUSo1','WOurga','zLNdVmolhW','WQZdGhZdHCoqdNqenITcm8ky','WR7cNJNcPIBcJSo+WRKsW4q','W53cMZJcG8kb','WOGptmkWm1RdU2VcMdfHWQ4NW6CDkgW','d2ZdILmAxgFcMW','WRWCxCkAWQC','W63dKuFdTtet','W5NcPSkcuuJdPCkcgq','W5ddKCosWPldSYHVW4zLW7VcPW9JbqZdQSoAFc7dMSokW7xcMGCDpMaLnSoftmkRuheor8kmg8oKW43cRxhdS8kxACkhEL/cJSk/nSo7W41krSkXlbyxWP8SnCoUlmkLW6TrpCkmCJGQW7HIfhC2W6ruW53dTmo2WOHbW5OKWPdcKuaVCZi','fSoUWQb3B8oXqa83Emk7w2OwaSoPWOddTSoQemoGra','5P296kYu6k6s5BM35yA35l6N5Rok5P+96yck6lgy772/5lUN5yEh5l2Q','WRrImXbQ','W7hcMapcHCkGW5GyWOb4taBcHSohpeCcfq','WOfmW4ZcGW','WQBdKSo+W4vF','xWJcQG','w8kmDKFdRG','W4ldI8oGWOddRa','5REG5yI55Aso54ks54Qv77+n6kYy56Mh5zkP5ysz6kY6','WQ7dV0dcNmo1WQJcGs/dGW','aGnnsY8','WOOaWP7dHKGU','WPJcPKJcLf0','W4VdKehcNSkPW7hcLsu','wmoNW7xdQ8kD','WQBcJJpcRtxdTSkO','WRCmW7OC','xN7dGSoah8kKW64AW4tcNbhcMmkGbtWJaCkWWOBcLK7dR8kjW4dcLLOyfthcOG','E3VcLa','eSo1WRm','W4dcUSkir1JdJ8kgbXe','e8kfA2bcfCoEFwBdIG','W6VdLSo3WRldIW','W50BW5ZcG0NcUmkCW4xcQ31eW697W6xcGG','WPLAjJTPWQW'];}())];}())];}());iiIllI=function(){return iIiIii;};return iiIllI();};function i11l1lIl(){const I1ii1l1i=i1iilI1,l1IIiIII={'znFbl':I1ii1l1i(0x19f,'x*6B'),'nasHh':'SvItz','AnffP':'undefined','ApVaZ':function(Ili1liIl,il1Ii111){return Ili1liIl==il1Ii111;},'GfTbT':function(i1iliII1,iiIIII1i){return i1iliII1!==iiIIII1i;},'ZXfwf':I1ii1l1i(0x274,'[si3'),'YpRJC':I1ii1l1i(0x29a,'[p!Q'),'qjtxv':function(i1lI1iIl,iIlii1){return i1lI1iIl===iIlii1;},'EthOm':'object','yRMuA':function(i1I1iIIl,Ili1Ii1I){return i1I1iIIl===Ili1Ii1I;},'AkRfN':I1ii1l1i(0x299,'KMKR'),'ytjhg':I1ii1l1i(0x29b,'y)Iy'),'ptHBq':function(IiI1I1Il,llI1lll1){return IiI1I1Il<llI1lll1;},'CdhkO':function(Ii1ilIIl,li1iI1){return Ii1ilIIl(li1iI1);},'qUFcU':function(liiilllI,ilIi1III){return liiilllI===ilIi1III;},'qcROf':I1ii1l1i(0x1c5,'yIV8'),'aDNTJ':I1ii1l1i(0x243,'1l$b'),'uArfM':I1ii1l1i(0x27b,'un&t'),'xTiXe':I1ii1l1i(0x1e0,'(3wy'),'QFaLM':'9.2.0','bGkKN':function(ilII1Il,lIilI1i1,liiIill){return ilII1Il(lIilI1i1,liiIill);},'oJuqJ':I1ii1l1i(0x20c,'81AG'),'Bwpuy':I1ii1l1i(0x257,'un&t'),'GpgUD':I1ii1l1i(0x231,'y)Iy'),'GHDWQ':I1ii1l1i(0x2a9,')p2I')};return new Promise(async l11liII1=>{const ililII1l=I1ii1l1i,IlI1iilI={'ICBUc':ililII1l(0x1d3,'xZHu'),'XOvmL':function(iillI1ll,l1liii1i){return iillI1ll==l1liii1i;}};if(l1IIiIII['GfTbT'](ililII1l(0x2bd,'LMBE'),l1IIiIII[ililII1l(0x221,'xZHu')])){let l1l1iilI='{\x22venderId\x22:\x22'+$['joinVenderId']+ililII1l(0x246,'OT9x');const ii11ill1={'appid':l1IIiIII[ililII1l(0x179,'(U6k')],'functionId':l1IIiIII['xTiXe'],'clientVersion':l1IIiIII[ililII1l(0x236,'y)Iy')],'client':'H5','body':JSON['parse'](l1l1iilI)},IIii1lll=await l1IIiIII[ililII1l(0x27d,'b[zx')](II1liiii,l1IIiIII[ililII1l(0x2cc,'s1#z')],ii11ill1),IIIIIiI1={'url':ililII1l(0x272,'qSI[')+l1l1iilI+'&clientVersion=9.2.0&client=H5&uuid=88888&h5st='+l1IIiIII[ililII1l(0x201,')p2I')](encodeURIComponent,IIii1lll),'headers':{'Content-Type':l1IIiIII[ililII1l(0x1af,'[p!Q')],'Origin':l1IIiIII[ililII1l(0x266,'wjat')],'Host':ililII1l(0x253,'[si3'),'accept':l1IIiIII[ililII1l(0x16e,'jYId')],'User-Agent':$['UA'],'Cookie':l1iliiIl}};$[ililII1l(0x2ae,'x*6B')](IIIIIiI1,async(l1lll111,Iiiiii,ii11iiI)=>{const liiliili=ililII1l;try{if(l1IIiIII[liiliili(0x185,'OT9x')]===l1IIiIII[liiliili(0x207,'j@&b')])I1IlI1i[liiliili(0x183,'un&t')](IlI1iilI[liiliili(0x1fd,'(U6k')]),IillIi1I[liiliili(0x263,'[kLa')]=!![];else{if(l1lll111)Iiiiii&&typeof Iiiiii['statusCode']!=l1IIiIII['AnffP']&&(l1IIiIII[liiliili(0x153,')p2I')](Iiiiii['statusCode'],0x193)&&(l1IIiIII['GfTbT'](l1IIiIII[liiliili(0x237,'K4hL')],l1IIiIII[liiliili(0x157,'a1G#')])?Iii1llII&&typeof i1ilIiil[liiliili(0x1a8,'Y834')]!=liiliili(0x1bb,'aJ@M')&&(IlI1iilI[liiliili(0x294,'qSI[')](li1lIlI[liiliili(0x1c7,'TD)m')],0x193)&&(li1111lI[liiliili(0x227,'[si3')](IlI1iilI['ICBUc']),l1llIi1l[liiliili(0x20f,'un&t')]=!![])):(console['log'](l1IIiIII[liiliili(0x2a4,'81AG')]),$[liiliili(0x259,'wjat')]=!![])));else{const iiI1I11=JSON['parse'](ii11iiI);if(l1IIiIII[liiliili(0x160,'2Spq')](typeof iiI1I11,l1IIiIII[liiliili(0x28c,'jMuk')])){if(iiI1I11[liiliili(0x2b8,'[kLa')]===!![]){l1IIiIII[liiliili(0x216,'KMKR')]($[liiliili(0x21e,'KMKR')],0x1)&&console[liiliili(0x2d1,'TD)m')](liiliili(0x1a7,'[p!Q')+(iiI1I11[liiliili(0x275,'[p!Q')][liiliili(0x1bc,'un&t')]['venderCardName']||'未知')+'\x0a');$[liiliili(0x27f,'(3wy')]=iiI1I11[liiliili(0x16c,'jYId')][liiliili(0x26a,'oOyX')]&&iiI1I11[liiliili(0x16c,'jYId')][liiliili(0x19e,'NoaV')][0x0]&&iiI1I11['result']['interestsRuleList'][0x0]['interestsInfo']&&iiI1I11['result'][liiliili(0x170,'&83(')][0x0][liiliili(0x1d8,'a1G#')][liiliili(0x193,'aA5^')]||'',$[liiliili(0x19c,'jMuk')]=iiI1I11[liiliili(0x23d,'OT9x')][liiliili(0x1a3,'LMBE')][liiliili(0x1c8,'TD)m')];if(iiI1I11[liiliili(0x25c,'(U6k')][liiliili(0x180,'qFTQ')]&&iiI1I11[liiliili(0x23d,'OT9x')][liiliili(0x229,'Y834')]['length']){if(l1IIiIII['yRMuA'](l1IIiIII[liiliili(0x21b,'ua2T')],l1IIiIII[liiliili(0x23b,'j@&b')]))iI11IlII();else for(let Ii1illii=0x0;l1IIiIII['ptHBq'](Ii1illii,iiI1I11['result']['interestsRuleList'][liiliili(0x1c4,'TD)m')]);Ii1illii++){const Iii1iI1i=iiI1I11['result']['interestsRuleList'][Ii1illii];if(Iii1iI1i['prizeName']){if(Iii1iI1i[liiliili(0x293,'aA5^')][liiliili(0x2ca,')p2I')]('京豆')||Iii1iI1i[liiliili(0x192,'81AG')][liiliili(0x17b,'81AG')]('红包'))$[liiliili(0x1f5,'mkfl')]=l1IIiIII[liiliili(0x15c,'aJ@M')](parseInt,Iii1iI1i['discountString']);break;}}}}}else l1IIiIII[liiliili(0x2d6,'o1)R')](l1IIiIII['qcROf'],l1IIiIII[liiliili(0x250,'%%0F')])?console[liiliili(0x161,'qFTQ')](ii11iiI):ii1I1ill['logErr'](ili1111I,l1iIl1I1);}}}catch(lI1i1lli){$[liiliili(0x204,'aA5^')](lI1i1lli,Iiiiii);}finally{l11liII1();}});}else II1liIiI['msg'](iIiI1liI['name'],'',''+I1IiIiii);});}function lIiIIlIl(IlllIlll){const lI1IIli1=i1iilI1,II1l1l1i={'FSxlF':function(IlIilil1,II1iliII){return IlIilil1==II1iliII;},'hIYOg':function(Iili11il,I1ililII){return Iili11il!==I1ililII;},'GaVEy':'JOMlm','ZynHT':lI1IIli1(0x278,'(3wy')};if(II1l1l1i['FSxlF'](typeof IlllIlll,'string'))try{if(II1l1l1i['hIYOg'](II1l1l1i[lI1IIli1(0x1dd,'V#eO')],II1l1l1i['GaVEy']))lliilI1i[lI1IIli1(0x27c,'[kLa')](lI1IIli1(0x206,'LMBE')+IIIl1ili['discountString']+I1illlI1[lI1IIli1(0x154,'b[zx')]+l1i1ilIi['secondLineDesc']);else return JSON[lI1IIli1(0x24e,'2Spq')](IlllIlll);}catch(llIIll1){return console['log'](llIIll1),$['msg']($['name'],'',II1l1l1i['ZynHT']),[];}}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)}