/* #京东版-邀好友得红包助力 入口:京东APP 签到领豆-每日红包 变量: kryhycode //指定助力码 JD_PROXY_OPEN // 代理启用变量,默认不开启(true/false) JD_PROXY_TUNNRL // 代理池代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool),格式为:http://ip:port JD_PROXY_URL // API代理地址变量,默认不开启,仅支持 数据格式:txt;提取数量:每次一个,格式为:http://api.xxx.xxx JD_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改 [task_local] #京东版-邀好友得红包助力 1 1 1 1 * jd_yhydhb_help.js, tag=京东版-邀好友得红包助力, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true*/ const $ = new Env('京东版-邀好友得红包助力'); var version_='jsjiami.com.v7';const iIll1I1=lIlili11;(function(li1li1i1,lIilIl1I,i1l1llII,iilIIIIi,I1iI1ll1,IilIilII,i1i1Iiii){return li1li1i1=li1li1i1>>0x7,IilIilII='hs',i1i1Iiii='hs',function(iIlii1l,IiiIliIi,Iiili1Il,llliil11,l1ll1i1){const Ili1Ii=lIlili11;llliil11='tfi',IilIilII=llliil11+IilIilII,l1ll1i1='up',i1i1Iiii+=l1ll1i1,IilIilII=Iiili1Il(IilIilII),i1i1Iiii=Iiili1Il(i1i1Iiii),Iiili1Il=0x0;const i1IlIIiI=iIlii1l();while(!![]&&--iilIIIIi+IiiIliIi){try{llliil11=parseInt(Ili1Ii(0x200,'eQQD'))/0x1*(parseInt(Ili1Ii(0x242,'rRT!'))/0x2)+parseInt(Ili1Ii(0x409,'A4UK'))/0x3+-parseInt(Ili1Ii(0x3aa,'BsPN'))/0x4*(parseInt(Ili1Ii(0x44e,'oBxx'))/0x5)+-parseInt(Ili1Ii(0x44a,'@#LN'))/0x6+-parseInt(Ili1Ii(0x396,'rRT!'))/0x7+-parseInt(Ili1Ii(0x399,'heK2'))/0x8+parseInt(Ili1Ii(0x361,'K$6E'))/0x9;}catch(i1l1IIiI){llliil11=Iiili1Il;}finally{l1ll1i1=i1IlIIiI[IilIilII]();if(li1li1i1<=iilIIIIi)Iiili1Il?I1iI1ll1?llliil11=l1ll1i1:I1iI1ll1=l1ll1i1:Iiili1Il=l1ll1i1;else{if(Iiili1Il==I1iI1ll1['replace'](/[IrEkBnJlTOfLCPqWQeHtp=]/g,'')){if(llliil11===IiiIliIi){i1IlIIiI['un'+IilIilII](l1ll1i1);break;}i1IlIIiI[i1i1Iiii](l1ll1i1);}}}}}(i1l1llII,lIilIl1I,function(iii1IIII,III1i1II,Illlilii,i1II1lIl,iIlIIii,iili11ll,iIIIIIll){return III1i1II='\x73\x70\x6c\x69\x74',iii1IIII=arguments[0x0],iii1IIII=iii1IIII[III1i1II](''),Illlilii=`\x72\x65\x76\x65\x72\x73\x65`,iii1IIII=iii1IIII[Illlilii]('\x76'),i1II1lIl=`\x6a\x6f\x69\x6e`,(0x144a89,iii1IIII[i1II1lIl](''));});}(0x6200,0x72c54,i1i1lIIi,0xc6),i1i1lIIi)&&(version_=iIll1I1(0x2bd,'n^(P'));function lIlili11(_0x91543c,_0x464dc2){const _0x5b4547=i1i1lIIi();return lIlili11=function(_0xf475ef,_0x58ba68){_0xf475ef=_0xf475ef-0x1d4;let _0x146591=_0x5b4547[_0xf475ef];if(lIlili11['BLySVb']===undefined){var _0x1ab82b=function(_0x24d8ba){const _0x1de72a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x462f35='',_0x19e4e8='';for(let _0x4e773a=0x0,_0x1c38a0,_0x54cbe7,_0x5b19e4=0x0;_0x54cbe7=_0x24d8ba['charAt'](_0x5b19e4++);~_0x54cbe7&&(_0x1c38a0=_0x4e773a%0x4?_0x1c38a0*0x40+_0x54cbe7:_0x54cbe7,_0x4e773a++%0x4)?_0x462f35+=String['fromCharCode'](0xff&_0x1c38a0>>(-0x2*_0x4e773a&0x6)):0x0){_0x54cbe7=_0x1de72a['indexOf'](_0x54cbe7);}for(let _0x3b6870=0x0,_0x5602ae=_0x462f35['length'];_0x3b6870<_0x5602ae;_0x3b6870++){_0x19e4e8+='%'+('00'+_0x462f35['charCodeAt'](_0x3b6870)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x19e4e8);};const _0x2c2a6f=function(_0x557018,_0x2e8822){let _0x512272=[],_0x5ad0e7=0x0,_0x4d685a,_0x2b131a='';_0x557018=_0x1ab82b(_0x557018);let _0x475c85;for(_0x475c85=0x0;_0x475c85<0x100;_0x475c85++){_0x512272[_0x475c85]=_0x475c85;}for(_0x475c85=0x0;_0x475c85<0x100;_0x475c85++){_0x5ad0e7=(_0x5ad0e7+_0x512272[_0x475c85]+_0x2e8822['charCodeAt'](_0x475c85%_0x2e8822['length']))%0x100,_0x4d685a=_0x512272[_0x475c85],_0x512272[_0x475c85]=_0x512272[_0x5ad0e7],_0x512272[_0x5ad0e7]=_0x4d685a;}_0x475c85=0x0,_0x5ad0e7=0x0;for(let _0x1eba6a=0x0;_0x1eba6a<_0x557018['length'];_0x1eba6a++){_0x475c85=(_0x475c85+0x1)%0x100,_0x5ad0e7=(_0x5ad0e7+_0x512272[_0x475c85])%0x100,_0x4d685a=_0x512272[_0x475c85],_0x512272[_0x475c85]=_0x512272[_0x5ad0e7],_0x512272[_0x5ad0e7]=_0x4d685a,_0x2b131a+=String['fromCharCode'](_0x557018['charCodeAt'](_0x1eba6a)^_0x512272[(_0x512272[_0x475c85]+_0x512272[_0x5ad0e7])%0x100]);}return _0x2b131a;};lIlili11['IVJHpB']=_0x2c2a6f,_0x91543c=arguments,lIlili11['BLySVb']=!![];}const _0x2314c8=_0x5b4547[0x0],_0x4c8b9c=_0xf475ef+_0x2314c8,_0x1a171f=_0x91543c[_0x4c8b9c];return!_0x1a171f?(lIlili11['IZldRA']===undefined&&(lIlili11['IZldRA']=!![]),_0x146591=lIlili11['IVJHpB'](_0x146591,_0x58ba68),_0x91543c[_0x4c8b9c]=_0x146591):_0x146591=_0x1a171f,_0x146591;},lIlili11(_0x91543c,_0x464dc2);}const lIliIil1=$[iIll1I1(0x233,'9XRU')]()?require('./sendNotify'):'',ll1i1I11=$[iIll1I1(0x1f1,'aD!*')]()?require(iIll1I1(0x3f3,'GVvk')):'',I1I1II1I=require(iIll1I1(0x41c,'a6Hr')),lIIIl1l1=require(iIll1I1(0x23c,'OivD'));let iIilI=[],lI1IlI1='',I11Ill1l,iiI1iili=![],ll1i11II=[],l1l1l1Ii=[],IiiIi1II,Ill1Illi={};$['krtyhot']=![];let iIIll1ll='EcuVpjGGfccY3Ic_1ni83w';const II1iiI=process[iIll1I1(0x314,'aCW#')]['JD_PROXY_OPEN']===iIll1I1(0x28f,'C))z'),ll1ilill=process[iIll1I1(0x420,'33pH')]['JD_PROXY_TUNNRL'],IiiI1I=process[iIll1I1(0x458,'fvv&')][iIll1I1(0x1f9,'fvv&')],iI1I11I=process[iIll1I1(0x420,'33pH')][iIll1I1(0x1f8,'o2IP')]||'127.0.0.1,*.baidu.com',IIII1111='2';let ilIi1III=parseInt(IIII1111)*0x3e8;ll1ilill&&(ilIi1III=0x64);let I1I1iII1='',IIi1i1Il=0x0,lll1l1l=![];if(II1iiI){lll1l1l=!![],require(iIll1I1(0x225,'P48j'));if(IiiI1I){console[iIll1I1(0x2de,'3cQh')](iIll1I1(0x443,'eqwa')),console['log'](iIll1I1(0x35b,'33pH')+IiiI1I+'\x0a');let I1iI11I=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global[iIll1I1(0x323,'aCW#')][iIll1I1(0x214,'[lE5')]=I1iI11I[iIll1I1(0x273,'K$6E')](IiiI1I)[0x0]+','+iI1I11I;}else{if(ll1ilill)global['GLOBAL_AGENT'][iIll1I1(0x278,'eqwa')]=ll1ilill,global['GLOBAL_AGENT'][iIll1I1(0x42b,'n^(P')]=''+iI1I11I,console[iIll1I1(0x2c2,'EqEH')]('☑️\x20代理池代理已开启:'),console['log'](iIll1I1(0x3ab,'@7Qi')+global[iIll1I1(0x3e2,'PK3Y')][iIll1I1(0x311,'a6Hr')]+'\x0a');else{const llIIl11I=iIll1I1(0x3bb,'n^(P')['split']('|');let i1lI1I11=0x0;while(!![]){switch(llIIl11I[i1lI1I11++]){case'0':console['log'](iIll1I1(0x377,'2wGk'));continue;case'1':console[iIll1I1(0x28b,'GVvk')](iIll1I1(0x390,'GVvk'));continue;case'2':console[iIll1I1(0x241,'9!^0')]('⚠\x20代理池变量:export\x20JD_PROXY_TUNNRL=\x27http://ip:port\x27');continue;case'3':return;case'4':console[iIll1I1(0x45b,'OivD')]('⚠\x20请知晓代理地址仅支持代理池模式(auto-proxy-pool)\x0a');continue;}break;}}}}else console['log'](iIll1I1(0x27e,'heK2')),console[iIll1I1(0x2b5,'33pH')]('⚠\x20开启代理变量:export\x20JD_PROXY_OPEN=\x27true\x27\x20\x0a');if($[iIll1I1(0x1db,'M2s7')]()){Object['keys'](ll1i1I11)[iIll1I1(0x380,'C))z')](ll1liill=>{const i1illill=iIll1I1;iIilI[i1illill(0x37b,'aCW#')](ll1i1I11[ll1liill]);});if(process['env']['JD_DEBUG']&&process[iIll1I1(0x3d1,'JVob')][iIll1I1(0x417,'wo(M')]===iIll1I1(0x40c,'0!uE'))console['log']=()=>{};}else iIilI=[$[iIll1I1(0x257,'PK3Y')](iIll1I1(0x398,'p&xn')),$['getdata'](iIll1I1(0x42d,'e)yx')),...iiIIii($[iIll1I1(0x39d,'heK2')]('CookiesJD')||'[]')[iIll1I1(0x1fa,'A4UK')](l11I1I11=>l11I1I11[iIll1I1(0x3d0,'aCW#')])][iIll1I1(0x3e8,'[lE5')](iI1i1Il=>!!iI1i1Il);!(async()=>{const liilI1l=iIll1I1,i1I1li11={'EllrK':function(lII1iI1I,IIIlilli){return lII1iI1I==IIIlilli;},'YZxgi':liilI1l(0x2ef,'U#wC'),'THGZU':'❖\x20测试连通性中...\x0a❖\x20服务状态正常...\x0a','zjNOq':function(IIllillI,il1lii,IlllI1I){return IIllillI(il1lii,IlllI1I);},'bRbfA':function(lIlIlIiI){return lIlIlIiI();},'hTTLS':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','iMXmw':liilI1l(0x32c,'o2IP'),'jOJgt':liilI1l(0x43a,'wo(M'),'uwKZw':liilI1l(0x414,'EqEH'),'SxUIv':function(ilIiIiIi,i1liilii){return ilIiIiIi(i1liilii);},'VfBqT':liilI1l(0x35c,'K$6E'),'vuFOE':liilI1l(0x3a5,'aCW#'),'XEtIw':liilI1l(0x218,'mpEw'),'weXou':liilI1l(0x2d7,'U#wC'),'eMziT':function(i1l111ii,lIi1lI,ilIllIll){return i1l111ii(lIi1lI,ilIllIll);},'fhOtt':function(lIIii1li,l1ilII1l){return lIIii1li{const lilllI1i=iIll1I1;$[lilllI1i(0x3ba,'gUFo')]('','❌\x20'+$[lilllI1i(0x32d,'GVvk')]+lilllI1i(0x3b8,'0CAv')+IilI111I+'!','');})[iIll1I1(0x397,'e)yx')](()=>{const ll1i1Ii1=iIll1I1;$[ll1i1Ii1(0x450,'1UL3')]();});async function IIIiill(){const l1lIl1iI=iIll1I1,ilII1I1i={'RgVnS':l1lIl1iI(0x388,'aCW#'),'gHbKn':l1lIl1iI(0x2e6,'fvv&'),'hAcTI':function(I1iiiI1I,iIl1lili){return I1iiiI1I(iIl1lili);},'oNqdE':'CookiesJD','OkZtD':'未获取到数据,请重新运行','GXfYN':l1lIl1iI(0x36e,'0CAv'),'IxYDm':function(ilIIlII1){return ilIIlII1();},'kaMWB':function(ii1l1iIi,l11Il1ii,lliiIli){return ii1l1iIi(l11Il1ii,lliiIli);},'LBFAp':l1lIl1iI(0x235,'3cQh'),'iEaxq':function(liIl1111,l1llili1){return liIl1111&&l1llili1;},'pFRCk':function(IiIIlllI,lIli11li){return IiIIlllI==lIli11li;},'tsVtj':function(i1l1Il1,l1lilil1){return i1l1Il1ii1llli1[l1lIl1iI(0x3c8,'vY(V')])][l1lIl1iI(0x38d,'fvv&')](lil11ii=>!!lil11ii);else{if(ilII1I1i[l1lIl1iI(0x359,'oBxx')](iI1l1l1,0x4)||iI1l1l1==0x8||$[l1lIl1iI(0x1f7,'EqEH')]){if(ilII1I1i[l1lIl1iI(0x2c3,'M2s7')]===ilII1I1i[l1lIl1iI(0x2f7,'a6Hr')]){console[l1lIl1iI(0x3d7,'MrSg')]('🤬\x20重试好像不能解决,那就换个新的IP吧!'),await ilII1I1i['zJain'](lI111III),global[l1lIl1iI(0x221,'oBxx')]['HTTP_PROXY']=ilII1I1i[l1lIl1iI(0x25f,'fx*8')](ilII1I1i['klvol'],I1I1iII1),IIi1i1Il=0x0,$[l1lIl1iI(0x1e8,'sn4L')]++;if($[l1lIl1iI(0x405,'BsPN')]==0x2)break;}else llIIiII[l1lIl1iI(0x3ca,'PK3Y')](ilII1I1i['OkZtD']);}console[l1lIl1iI(0x236,'heK2')](ilII1I1i[l1lIl1iI(0x243,'GVvk')](l1lIl1iI(0x331,'0CAv'),I1I1iII1)),await ilII1I1i[l1lIl1iI(0x3f4,'K$6E')](lli1Iii),await $['wait'](ilII1I1i[l1lIl1iI(0x2c9,'sn4L')](parseInt,ilII1I1i[l1lIl1iI(0x2b8,'BGiB')](ilIi1III*0x1,0x1f4),0xa));if($['krPrize'])break;}}}if(ilII1I1i[l1lIl1iI(0x283,'MrSg')]($['index'],0x1))for(let l11111i=0x0;ilII1I1i['tsVtj'](l11111i,0x8);l11111i++){if(ilII1I1i[l1lIl1iI(0x34f,'K$6E')](l11111i,0x4)||ilII1I1i[l1lIl1iI(0x202,'mpEw')](l11111i,0x8)||$[l1lIl1iI(0x2f3,'JVob')]){if(ilII1I1i[l1lIl1iI(0x2d9,'EqEH')](ilII1I1i['xlDpo'],ilII1I1i[l1lIl1iI(0x256,'C))z')]))I1l1l11I[l1lIl1iI(0x24f,'BsPN')](iIiII1ll,IilIIl11);else{console[l1lIl1iI(0x2de,'3cQh')](l1lIl1iI(0x2a1,'rRT!')),await ilII1I1i[l1lIl1iI(0x251,'mAav')](lI111III),global[l1lIl1iI(0x227,'sVE!')]['HTTP_PROXY']=ilII1I1i[l1lIl1iI(0x275,'@7Qi')](ilII1I1i[l1lIl1iI(0x33d,'OivD')],I1I1iII1),IIi1i1Il=0x0,$[l1lIl1iI(0x301,'BGiB')]++;if($[l1lIl1iI(0x26f,'2YAX')]==0x2)break;}}console['log'](ilII1I1i[l1lIl1iI(0x452,'vY(V')]+I1I1iII1),await ilII1I1i[l1lIl1iI(0x210,'e)yx')](I1IIi1I,krinviter),await $[l1lIl1iI(0x3b6,'FSgc')](ilII1I1i[l1lIl1iI(0x2af,'vY(V')](parseInt,ilII1I1i['YNggx'](ilIi1III,0x1)+0x1f4,0xa));if($[l1lIl1iI(0x27d,'@#LN')])break;}IIi1i1Il++;}else{if(ilII1I1i[l1lIl1iI(0x2ba,'nm$C')](II1iiI,ll1ilill)){if($['index']==0x1){console[l1lIl1iI(0x332,'M2s7')](ilII1I1i['laOdz']);for(let l1ilIiii=0x0;l1ilIiii<0x3;l1ilIiii++){if(ilII1I1i[l1lIl1iI(0x237,'@7Qi')](ilII1I1i[l1lIl1iI(0x2a9,'0!uE')],l1lIl1iI(0x40a,'heK2')))illI1il[l1lIl1iI(0x367,'@7Qi')](l1I1ilil,lilIIlll);else{await lli1Iii(),await $[l1lIl1iI(0x321,'o2IP')](ilII1I1i['omsWH'](parseInt,ilII1I1i[l1lIl1iI(0x229,'a6Hr')](ilIi1III*0x1,0x1f4),0xa));if($[l1lIl1iI(0x24d,'n^(P')])break;$[l1lIl1iI(0x24a,'o2IP')]++;if(ilII1I1i[l1lIl1iI(0x309,'GVvk')]($[l1lIl1iI(0x24a,'o2IP')],0x2))break;}}}if(ilII1I1i['MkenS']($[l1lIl1iI(0x259,'sn4L')],0x1)){if(ilII1I1i['mHpcm'](ilII1I1i[l1lIl1iI(0x271,'e)yx')],ilII1I1i[l1lIl1iI(0x43e,'1UL3')]))for(let IlII11I1=0x0;ilII1I1i[l1lIl1iI(0x30e,'vY(V')](IlII11I1,0x3);IlII11I1++){await ilII1I1i[l1lIl1iI(0x298,'MrSg')](I1IIi1I,krinviter),await $[l1lIl1iI(0x1f0,'n^(P')](ilII1I1i[l1lIl1iI(0x326,'sVE!')](parseInt,ilII1I1i[l1lIl1iI(0x325,'mpEw')](ilIi1III*0x1,0x1f4),0xa));if($['krPrize'])break;$[l1lIl1iI(0x24c,'heK2')]++;if($['token403num']==0x2)break;}else ll11i1l[l1lIl1iI(0x2b5,'33pH')](liliiii[l1lIl1iI(0x381,'K$6E')]+l1lIl1iI(0x335,'C))z')+ll11iIi1+')');}}else ilII1I1i[l1lIl1iI(0x366,'oBxx')](ilII1I1i['vXfls'],ilII1I1i[l1lIl1iI(0x21a,'0CAv')])?Il11liIi?I1II1lil=iiiiliiI['parse'](iIIIll):I1l11II1[l1lIl1iI(0x27a,'A4UK')](ilII1I1i[l1lIl1iI(0x2f0,'K$6E')]):(ilII1I1i[l1lIl1iI(0x2c0,'heK2')]($[l1lIl1iI(0x3ff,'@#LN')],0x1)&&(console['log'](ilII1I1i[l1lIl1iI(0x28c,'[lE5')]),await ilII1I1i[l1lIl1iI(0x1eb,'9XRU')](lli1Iii),await $[l1lIl1iI(0x455,'PK3Y')](parseInt(ilII1I1i[l1lIl1iI(0x318,'M2s7')](ilIi1III*0x1,0x1f4),0xa))),ilII1I1i['ZASTB']($['index'],0x1)&&(ilII1I1i[l1lIl1iI(0x1e1,'C))z')](ilII1I1i['PkfPS'],ilII1I1i[l1lIl1iI(0x411,'3cQh')])?iillII1['logErr'](liiiiIli,IillilIl):(await ilII1I1i[l1lIl1iI(0x3cd,'K$6E')](I1IIi1I,krinviter),await $[l1lIl1iI(0x3f1,'1UL3')](parseInt(ilII1I1i['WlCYp'](ilIi1III*0x1,0x1f4),0xa)))));}}else i1i11IIl['log'](lii1liI[l1lIl1iI(0x31a,'e)yx')]+'\x20请求失败\x20=>\x20'+(ll11ili[l1lIl1iI(0x371,'sVE!')]||III1iIl1));}}function l1iIliii(iii1IIIl,I11IIlli='qwertyuiopasdfghjklzxcvbnm'){const lIiilI=iIll1I1,il1ill11={'WhFMG':function(i1I11l1,llllliIl){return i1I11l1{const I1iiIi1i=llIIIi,il1I1I1I={'IFaPg':function(l1lIIIiI,Iilllil1){const iIIiilIl=lIlili11;return llii1i1I[iIIiilIl(0x440,'@7Qi')](l1lIIIiI,Iilllil1);},'VIzKM':function(i1111IlI,I1Ili1I){const lIlIIill=lIlili11;return llii1i1I[lIlIIill(0x38c,'heK2')](i1111IlI,I1Ili1I);},'AInlc':function(I1ll1iII,ii1l1Il1){return I1ll1iII*ii1l1Il1;}};if(llii1i1I[I1iiIi1i(0x23e,'aD!*')](llii1i1I['zYdRY'],llii1i1I[I1iiIi1i(0x3d8,'0!uE')]))iiIIIiIl['log'](I1iiIi1i(0x21e,'aD!*')),iiIiI1iI=!![];else{const lIIii1l={'functionId':I1iiIi1i(0x387,'P48j'),'appid':llii1i1I[I1iiIi1i(0x393,'OivD')],'clientVersion':'12.1.3','client':llii1i1I[I1iiIi1i(0x31f,'aD!*')],'body':{'linkId':iIIll1ll,'isJdApp':!![],'inviter':IIlilIl}},i11lli1l=await llii1i1I[I1iiIi1i(0x404,'mpEw')](i11li11,I1iiIi1i(0x340,'gUFo'),lIIii1l);let lII1lili={'url':I1iiIi1i(0x2a0,'eQQD')+i11lli1l,'headers':{'Referer':llii1i1I['ICENQ'],'origin':llii1i1I['aadqf'],'User-Agent':$['UA'],'Cookie':lI1IlI1,'x-rp-client':I1iiIi1i(0x238,'aD!*'),'accept':'application/json,\x20text/plain,\x20*/*','content-type':I1iiIi1i(0x365,'a6Hr')},'timeout':llii1i1I['eWJoP'](0xa,0x3e8)};$[I1iiIi1i(0x3f0,'aD!*')](lII1lili,async(Ii1II1I,IIIl1l1l,llil1I11)=>{const ll11lI1=I1iiIi1i,liIi1II={'wzqoX':function(llilil,IililIIl){return llilil+IililIIl;},'gWVLj':function(iI1iIil1,i1IIl1l1){return llii1i1I['aVCAi'](iI1iIil1,i1IIl1l1);},'mlwNK':llii1i1I['XIVdY'],'gqwNz':function(I1i1l1i,lI1Ii1Il){const ill11II1=lIlili11;return llii1i1I[ill11II1(0x43c,'heK2')](I1i1l1i,lI1Ii1Il);},'jdxVg':function(IiI1i1ll,iill1iI1){return IiI1i1ll==iill1iI1;},'DNCcQ':function(Iil1I1ii,i11IliII){const lIIllllI=lIlili11;return llii1i1I[lIIllllI(0x31e,'o2IP')](Iil1I1ii,i11IliII);},'WKmlP':ll11lI1(0x3d3,'heK2'),'KwNUR':ll11lI1(0x1e6,'BGiB'),'ibPKC':ll11lI1(0x39f,'BsPN'),'aeyQH':function(iililll1,liI1llIi){return llii1i1I['XMeAX'](iililll1,liI1llIi);}};try{if(llii1i1I[ll11lI1(0x3c5,'eQQD')](llii1i1I[ll11lI1(0x42e,'sVE!')],'CJBrI'))I1II11i[ll11lI1(0x241,'9!^0')](i11IlII1[ll11lI1(0x2e0,'mAav')]+'\x20请求失败,IP被限制(Response\x20code\x20'+iIII1+')'),l1li1Iil['token403']=!![];else{if(Ii1II1I){if(llii1i1I[ll11lI1(0x427,'a6Hr')]('neEER',llii1i1I['sZtdY'])){let Il1lIlI=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,lIIli1lI=Il1lIlI[ll11lI1(0x2df,'eqwa')](iIIl11i1[ll11lI1(0x27c,'eqwa')]);illIIli1=lIIli1lI[0x0],il1i1lIi[ll11lI1(0x386,'[lE5')][ll11lI1(0x21d,'BsPN')]=liIi1II[ll11lI1(0x457,'[lE5')](ll11lI1(0x391,'U#wC'),l11I1II);}else{if(typeof Ii1II1I===llii1i1I['AfJaT']&&Ii1II1I['includes'](llii1i1I['NAjsP']))llii1i1I['hdSOX']!==llii1i1I[ll11lI1(0x40b,'wo(M')]?I1il1Ii1[ll11lI1(0x400,'vY(V')](I11i1lil[ll11lI1(0x269,'9!^0')]+ll11lI1(0x26a,'vY(V')):console['log']($[ll11lI1(0x320,'fvv&')]+'\x20请求超时,请检查网络重试');else{if(llii1i1I[ll11lI1(0x43b,'m&G9')](llii1i1I[ll11lI1(0x25c,'1UL3')],llii1i1I[ll11lI1(0x415,'PK3Y')])){li11lIi=liIi1II[ll11lI1(0x3a1,'33pH')](IliIi1ii,0x20);let i1lli=liIi1II[ll11lI1(0x406,'1UL3')],llI11Iil=i1lli[ll11lI1(0x34b,'K$6E')],liI1lIl1='';for(let IiilIiI=0x0;IiilIiI{const iIll111=llll1i,iIi1illl={'rIhjq':function(IIIIl1I,il1illll){const iiI11I1=lIlili11;return Il1i1l1[iiI11I1(0x421,'1UL3')](IIIIl1I,il1illll);},'EKyzB':function(lII1llIl,lllil1l){const I1Iii1i1=lIlili11;return Il1i1l1[I1Iii1i1(0x437,'fvv&')](lII1llIl,lllil1l);},'SfKqq':Il1i1l1['jHggq'],'pbOtv':function(I1IIIIl,IlIili1){return I1IIIIl===IlIili1;},'ScwFr':iIll111(0x451,'U#wC'),'dZwtX':'QxmTn','odvzu':function(lill1il1,illlI11l){const ill1iii=iIll111;return Il1i1l1[ill1iii(0x349,'BGiB')](lill1il1,illlI11l);},'Yrhwo':iIll111(0x355,'OivD'),'xDVqr':function(iilllili,iIiil1l1){const i1l1Ii1=iIll111;return Il1i1l1[i1l1Ii1(0x21b,'A4UK')](iilllili,iIiil1l1);},'KoJrJ':iIll111(0x3eb,'K$6E'),'iTlWC':iIll111(0x231,'1UL3'),'YkEXT':function(iil1ilII,II1IiliI){const l1lll1l1=iIll111;return Il1i1l1[l1lll1l1(0x244,'GVvk')](iil1ilII,II1IiliI);},'NdEpi':function(lIlI,I1iiIIlI){const Ii1llIil=iIll111;return Il1i1l1[Ii1llIil(0x1dc,'nm$C')](lIlI,I1iiIIlI);},'okmbz':Il1i1l1[iIll111(0x30c,'oBxx')],'eDQEO':Il1i1l1[iIll111(0x36f,'9XRU')],'efVzw':Il1i1l1['BJzrM'],'POrpw':Il1i1l1['nTuPA'],'OZOsS':Il1i1l1['EYkQQ'],'sIZMd':function(lIIiill1){return lIIiill1();}};if(iIll111(0x2b2,'1UL3')!==iIll111(0x28e,'sVE!')){lIiI1Il1['log'](Il1i1l1[iIll111(0x2f9,'BGiB')]),lilIiII1[iIll111(0x2c5,'2wGk')](Il1i1l1['MRizp']),l111iIli[iIll111(0x240,'2YAX')](iIll111(0x348,'m&G9')),li1IiI11[iIll111(0x3c1,'[lE5')](iIll111(0x20c,'9!^0'));return;}else{const lIl11ili={'functionId':Il1i1l1['LEOsp'],'appid':iIll111(0x296,'nm$C'),'clientVersion':Il1i1l1[iIll111(0x2e4,'rRT!')],'client':Il1i1l1[iIll111(0x413,'p&xn')],'body':{'linkId':iIIll1ll,'isJdApp':!![],'inviter':$[iIll111(0x20d,'gUFo')]}},I1I1lil=await i11li11(Il1i1l1[iIll111(0x2c8,'oBxx')],lIl11ili);let I1iIIlI={'url':'https://api.m.jd.com/api?'+I1I1lil,'headers':{'Referer':Il1i1l1['CAPiG'],'origin':Il1i1l1['YXlqp'],'User-Agent':$['UA'],'Cookie':lI1IlI1,'x-rp-client':iIll111(0x248,'m&G9'),'accept':iIll111(0x2c1,'JVob'),'content-type':iIll111(0x1fe,'P48j')},'timeout':Il1i1l1[iIll111(0x40f,'1UL3')](0xa,0x3e8)};$[iIll111(0x3ef,'fx*8')](I1iIIlI,async(l1IlIiii,liIili11,IllI11)=>{const lll11li=iIll111,I1iiii1I={'kbiaD':lll11li(0x276,'nm$C'),'ahzWS':function(iI1iiI1i,ili1ll){const I1l1iIl1=lll11li;return iIi1illl[I1l1iIl1(0x33c,'a6Hr')](iI1iiI1i,ili1ll);},'xbLcW':iIi1illl[lll11li(0x2a3,'JVob')],'ZSxKC':function(iIiIiilI,Il1Iii1){const llli1il1=lll11li;return iIi1illl[llli1il1(0x1ec,'e)yx')](iIiIiilI,Il1Iii1);},'ZroSJ':lll11li(0x2c6,'PK3Y')};try{if(iIi1illl['ScwFr']!==iIi1illl[lll11li(0x3dc,'EqEH')]){if(l1IlIiii){if(iIi1illl['odvzu'](typeof l1IlIiii,iIi1illl[lll11li(0x25d,'aCW#')])&&l1IlIiii[lll11li(0x1dd,'sVE!')]('Timeout\x20awaiting\x20\x27request\x27'))console[lll11li(0x395,'@7Qi')]($[lll11li(0x2d1,'BsPN')]+lll11li(0x3bc,'OivD'));else{if(iIi1illl[lll11li(0x3a9,'aD!*')](iIi1illl['KoJrJ'],iIi1illl['iTlWC'])){const Il1lIIi1=IllI11?.[lll11li(0x29c,'mpEw')];if(Il1lIIi1){if([0x193,0x1ed][lll11li(0x354,'M2s7')](Il1lIIi1))console[lll11li(0x341,'0!uE')]($['name']+'\x20请求失败,IP被限制(Response\x20code\x20'+Il1lIIi1+')'),$['token403']=!![];else[0x190,0x194]['includes'](Il1lIIi1)?console[lll11li(0x445,'mAav')]($[lll11li(0x216,'[lE5')]+lll11li(0x327,'sVE!')+Il1lIIi1+')'):console[lll11li(0x382,'JVob')]($[lll11li(0x2ce,'2YAX')]+lll11li(0x429,'eQQD')+Il1lIIi1+')');}else console['log']($[lll11li(0x422,'rRT!')]+lll11li(0x20e,'MrSg')+(l1IlIiii[lll11li(0x453,'PK3Y')]||l1IlIiii));}else IIlilIi[lll11li(0x3d7,'MrSg')](iIi1illl[lll11li(0x3d5,'e)yx')]('',IIlil1ll[lll11li(0x375,'eQQD')](ll111iiI)));}}else{IllI11=JSON[lll11li(0x358,'0CAv')](IllI11);if(IllI11){$[lll11li(0x338,'mAav')]=!![];if(iIi1illl['YkEXT'](IllI11['code'],0x0)&&iIi1illl[lll11li(0x234,'eQQD')](IllI11[lll11li(0x2ab,'o2IP')],!![])){if(iIi1illl['NdEpi'](IllI11['data'][lll11li(0x24e,'3cQh')],0x1))iIi1illl['pbOtv'](iIi1illl['okmbz'],lll11li(0x1ef,'mAav'))?console['log'](lll11li(0x362,'BsPN')):lII1lII[lll11li(0x1e5,'e)yx')](iI1lli1I[IiIiI1Ii]);else switch(IllI11[lll11li(0x43f,'3cQh')]['helpResult']){case 0x2:console['log'](iIi1illl[lll11li(0x357,'p&xn')]);break;case 0x3:console[lll11li(0x3ca,'PK3Y')](lll11li(0x280,'K$6E'));break;case 0x6:console[lll11li(0x33a,'oBxx')](lll11li(0x2e2,'EqEH'));break;case 0x8:console[lll11li(0x1df,'FSgc')](lll11li(0x402,'[lE5'));break;default:console['log'](iIi1illl[lll11li(0x2e1,'1UL3')]);break;}}else iIi1illl[lll11li(0x261,'2wGk')]!==iIi1illl[lll11li(0x30f,'o2IP')]?(ilI1l1[lll11li(0x324,'GVvk')][lll11li(0x3b1,'9XRU')]=lI11I1I,il1Ill1I[lll11li(0x356,'0CAv')][lll11li(0x290,'2wGk')]=''+iI1i1ii1,IIiiIi1[lll11li(0x45a,'0CAv')](I1iiii1I['kbiaD']),I1ii1I1I[lll11li(0x2de,'3cQh')](I1iiii1I[lll11li(0x2f4,'aD!*')](I1iiii1I[lll11li(0x2b0,'FSgc')](I1iiii1I[lll11li(0x3c6,'U#wC')],I1Ii11Ii[lll11li(0x374,'eqwa')][lll11li(0x3c4,'33pH')]),'\x0a'))):console['log'](IllI11[lll11li(0x345,'aD!*')]);}}}else I1i11Il=IillIll[lll11li(0x420,'33pH')][lll11li(0x228,'m&G9')],IIl111l=l1ilI1l['split']('@');}catch(I1IIIlI1){if(iIi1illl['OZOsS']!==lll11li(0x32b,'p&xn'))$[lll11li(0x2cd,'sVE!')](I1IIIlI1,liIili11);else{l11i1i11[lll11li(0x1ea,'fx*8')](IiI1I11I)[lll11li(0x230,'oBxx')](liIIIIi1=>{IiliIIlI['push'](liii1Ill[liIIIIi1]);});if(Illi1I1i[lll11li(0x223,'9!^0')][lll11li(0x303,'2YAX')]&&I1iiii1I[lll11li(0x419,'a6Hr')](I1I1Il1l[lll11li(0x282,'@#LN')][lll11li(0x3cc,'PK3Y')],I1iiii1I[lll11li(0x287,'heK2')]))lIl1IlI[lll11li(0x2fb,'sVE!')]=()=>{};}}finally{iIi1illl[lll11li(0x2bb,'OivD')](illiiliI);}});}});}async function IiII1i1I(){const liIl11i1=iIll1I1,Ili1llll={'mMIlf':function(iII1l11,iilIIii){return iII1l11+iilIIii;},'dujMK':function(Iill1Iil,IIl1iI){return Iill1Iil!==IIl1iI;},'IswBO':liIl11i1(0x25e,'aD!*'),'kctRr':function(IiiII,I1I1I1I1){return IiiII==I1I1I1I1;},'YIThL':function(Ii1lIIli,illI1ii){return Ii1lIIli==illI1ii;},'sOJcV':'TRSWB','SRxgG':liIl11i1(0x1e4,'vY(V'),'XJGqJ':liIl11i1(0x211,'2YAX'),'xPEuN':function(I1lll1lI){return I1lll1lI();},'IBSNQ':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie','KegPX':liIl11i1(0x2aa,'mAav'),'uoxDI':liIl11i1(0x353,'m&G9'),'OCnfN':liIl11i1(0x3e5,'aD!*'),'iNnWH':liIl11i1(0x22e,'U#wC'),'gEDko':function(i1iiI1Il,iil111l1,lIli11l){return i1iiI1Il(iil111l1,lIli11l);},'wxSkX':liIl11i1(0x383,'JVob'),'SAkJj':liIl11i1(0x1fc,'OivD'),'yScWg':function(llIl1IlI,iillIi1i){return llIl1IlI*iillIi1i;}};return new Promise(async ill11iI=>{const IIlll1l1=liIl11i1,IliiIIii={'gtcec':Ili1llll[IIlll1l1(0x1e0,'oBxx')],'pWZEc':Ili1llll[IIlll1l1(0x2f1,'2wGk')],'hZPtn':IIlll1l1(0x40d,'9XRU')},liI1I={'functionId':Ili1llll[IIlll1l1(0x319,'sVE!')],'appid':Ili1llll[IIlll1l1(0x3b4,'9!^0')],'clientVersion':IIlll1l1(0x3cb,'K$6E'),'client':Ili1llll[IIlll1l1(0x3ec,'1UL3')],'body':{'linkId':iIIll1ll,'inviter':''}},IilIllii=await Ili1llll['gEDko'](i11li11,Ili1llll[IIlll1l1(0x23f,'aCW#')],liI1I);let Ii1i1lI1={'url':'https://api.m.jd.com/?functionId=inviteFissionHome&'+IilIllii,'headers':{'Referer':Ili1llll[IIlll1l1(0x30b,'gUFo')],'origin':IIlll1l1(0x284,'JVob'),'User-Agent':$['UA'],'Cookie':lI1IlI1},'timeout':Ili1llll[IIlll1l1(0x3e6,'[lE5')](0xa,0x3e8)};$[IIlll1l1(0x3ed,'33pH')](Ii1i1lI1,async(iIli1l1l,Iii1ll1I,I1iIiI11)=>{const IiI1iII1=IIlll1l1;if(IiI1iII1(0x32a,'mpEw')===IiI1iII1(0x444,'1UL3'))try{if(iIli1l1l)console[IiI1iII1(0x1df,'FSgc')](Ili1llll[IiI1iII1(0x26c,'vY(V')]('',JSON[IiI1iII1(0x2ae,'GVvk')](iIli1l1l)));else{I1iIiI11=JSON['parse'](I1iIiI11);if(I1iIiI11){if(Ili1llll[IiI1iII1(0x3b2,'m&G9')](Ili1llll[IiI1iII1(0x294,'rRT!')],IiI1iII1(0x41a,'BGiB')))return iliI11l1[IiI1iII1(0x2f2,'C))z')](IlIliii),lillIili['msg'](iiI1IlIl[IiI1iII1(0x27f,'@#LN')],'',IliiIIii[IiI1iII1(0x2e3,'2YAX')]),[];else{if(Ili1llll['kctRr'](I1iIiI11[IiI1iII1(0x2a2,'P48j')],0x0)&&Ili1llll[IiI1iII1(0x333,'1UL3')](I1iIiI11[IiI1iII1(0x304,'a6Hr')],!![])){if(Ili1llll[IiI1iII1(0x2a8,'fvv&')]('TRSWB',Ili1llll['sOJcV']))lIII11i1[IiI1iII1(0x2ac,'eqwa')](I11liili[IiI1iII1(0x2bf,'sVE!')]+IiI1iII1(0x22c,'a6Hr')+(ll1iI1il['message']||l1il11li));else{$[IiI1iII1(0x3e7,'sVE!')]=I1iIiI11[IiI1iII1(0x2b3,'PK3Y')][IiI1iII1(0x3f2,'a6Hr')]||0x0;let IIlIIil1=I1iIiI11[IiI1iII1(0x31c,'2YAX')][IiI1iII1(0x213,'[lE5')]||'';console[IiI1iII1(0x410,'wo(M')](IiI1iII1(0x2ff,'e)yx')+IIlIIil1+IiI1iII1(0x23b,'eqwa')+$['drawPrizeNum']);}}else Ili1llll[IiI1iII1(0x3a6,'p&xn')](I1iIiI11['code'],0x7d0)&&Ili1llll[IiI1iII1(0x38b,'aD!*')](I1iIiI11[IiI1iII1(0x255,'m&G9')],Ili1llll[IiI1iII1(0x23a,'oBxx')])?console[IiI1iII1(0x2de,'3cQh')](Ili1llll[IiI1iII1(0x22f,'A4UK')]):console[IiI1iII1(0x1df,'FSgc')](I1iIiI11[IiI1iII1(0x3db,'MrSg')]);}}}}catch(iil1iiI1){$[IiI1iII1(0x42c,'vY(V')](iil1iiI1,Iii1ll1I);}finally{Ili1llll[IiI1iII1(0x2fa,'3cQh')](ill11iI);}else l11IiiIl[IiI1iII1(0x3c1,'[lE5')](IliiIIii[IiI1iII1(0x297,'aD!*')]),iII11llI[IiI1iII1(0x36b,'9XRU')](IliiIIii['hZPtn']);});});}function l1II1IlI(I1lll1II){const llil1lIl=iIll1I1;return I1lll1II['then'](illlI1ii=>{return[null,illlI1ii];})[llil1lIl(0x207,'2YAX')](lIiiI1l1=>[lIiiI1l1]);}async function i11li11(Iiilllll,I1111II){const I111ilil=iIll1I1,l1ii1ill={'xCZHo':I111ilil(0x1d6,'33pH'),'ABaKX':I111ilil(0x1e3,'OivD')};try{let Ii1I1lIi=new I1I1II1I({'appId':Iiilllll,'appid':l1ii1ill['xCZHo'],'clientVersion':I1111II?.[I111ilil(0x2e5,'sVE!')],'client':I1111II?.[I111ilil(0x446,'aD!*')],'pin':$[I111ilil(0x447,'EqEH')],'ua':$['UA'],'version':l1ii1ill[I111ilil(0x35a,'aCW#')]});return await Ii1I1lIi[I111ilil(0x33b,'n^(P')](),body=await Ii1I1lIi['genUrlParams'](I1111II[I111ilil(0x2b4,'fvv&')],I1111II['body']),body;}catch(iIIiIiIl){}}function l1iIliii(IIiliil){const I1IllIli=iIll1I1,I1Il1lII={'DhwFw':function(Illi1lil,III1Ii1l){return Illi1lil||III1Ii1l;},'FNTFv':function(iIi11IiI,I1Il1I){return iIi11IiI*I1Il1I;}};IIiliil=I1Il1lII[I1IllIli(0x34e,'M2s7')](IIiliil,0x20);let ilI1ili1=I1IllIli(0x205,'vY(V'),IiIlillI=ilI1ili1['length'],lI1iI111='';for(let IlIlII1I=0x0;IlIlII1I{const Ii1IiiI=i1111l,llII1il={'nREpk':function(Ililil1i,lIi111l){const lII11iIl=lIlili11;return iiIIlli[lII11iIl(0x3ac,'33pH')](Ililil1i,lIi111l);},'FYDcd':iiIIlli[Ii1IiiI(0x412,'nm$C')],'tyEpm':iiIIlli['wXAiK'],'kwGZh':Ii1IiiI(0x44c,'C))z'),'DZuRn':iiIIlli[Ii1IiiI(0x2fc,'0!uE')]},ilIIi1ll={'url':''+li1Iili1,'timeout':0x2710,'headers':{'User-Agent':iiIIlli[Ii1IiiI(0x403,'U#wC')]}};$[Ii1IiiI(0x1f3,'EqEH')](ilIIi1ll,async(ill1llli,Ii1III1i,l111lill)=>{const iIIilIii=Ii1IiiI;if(iIIilIii(0x201,'e)yx')===llII1il['kwGZh']){if(llII1il[iIIilIii(0x34c,'33pH')](typeof iiillliI,llII1il['FYDcd']))try{return I1Iiii1[iIIilIii(0x26b,'FSgc')](llI1IiII);}catch(Iiiil1i1){return il1il1I[iIIilIii(0x33a,'oBxx')](Iiiil1i1),IlilIi1I[iIIilIii(0x3e9,'GVvk')](l1lli1I1['name'],'',llII1il[iIIilIii(0x337,'A4UK')]),[];}}else try{if(ill1llli){}else l111lill?l111lill=JSON[iIIilIii(0x2ea,'9XRU')](l111lill):llII1il[iIIilIii(0x3d9,'aD!*')]===llII1il[iIIilIii(0x322,'PK3Y')]?console[iIIilIii(0x3f7,'@#LN')](iIIilIii(0x39a,'aD!*')):lIi1iill[iIIilIii(0x360,'p&xn')](llil11II['errMsg']);}catch(IlI1Il){$[iIIilIii(0x33f,'0CAv')](IlI1Il,Ii1III1i),l111lill=null;}finally{li1iIli(l111lill);}});});}function il1I11iI(iilIII,i111llll){const i1liIIi1=iIll1I1,l11lillI={'tzmbl':function(Ill,iil1iii){return Ill*iil1iii;},'yYpvq':function(il1i111i,liI1Ii){return il1i111i-liI1Ii;}};return Math['floor'](l11lillI[i1liIIi1(0x334,'9XRU')](Math['random'](),l11lillI['yYpvq'](i111llll,iilIII)))+iilIII;}function lI111III(){const ili1iII1=iIll1I1,l1I11l1i={'gJDTn':'object','ykJsV':function(i11IIil1,i1iIiiiI){return i11IIil1(i1iIiiiI);},'QWEit':function(i1IIii1l,li11iIl1){return i1IIii1l===li11iIl1;},'zcZab':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','yMJyH':ili1iII1(0x462,'3cQh'),'tKxMD':'peRbS'};return new Promise(async IIlII1ii=>{const i1II1l1I=ili1iII1,IllI1Iil={'DZSYL':l1I11l1i['gJDTn'],'beYfW':function(iI1Illll,i1llli11){const I11I1IIi=lIlili11;return l1I11l1i[I11I1IIi(0x449,'P48j')](iI1Illll,i1llli11);},'aVctt':function(ll11iIl1,IliII11i){return ll11iIl1+IliII11i;},'mgUEM':function(II1ilIIi,IiiilIIl){return II1ilIIi+IiiilIIl;},'LsqcQ':'✅\x20助力成功','oNziS':function(lIilIiII,i1Il1l1){const Il1iiIlI=lIlili11;return l1I11l1i[Il1iiIlI(0x372,'P48j')](lIilIiII,i1Il1l1);},'tiNIi':'uyDbE','LMAlh':i1II1l1I(0x436,'[lE5'),'tgcCE':function(Ii11Iii){return Ii11Iii();},'lwLwS':l1I11l1i[i1II1l1I(0x2fe,'mAav')],'iBxfi':l1I11l1i['yMJyH']};if(l1I11l1i[i1II1l1I(0x3f5,'A4UK')](l1I11l1i[i1II1l1I(0x3de,'eqwa')],'peRbS'))$['get']({'url':IiiI1I,'timeout':{'request':0x1388}},(li11i1I,III1111i)=>{const IIllliII=i1II1l1I,lIlliI1I={'LRgtq':IllI1Iil['LsqcQ']};if(IllI1Iil[IIllliII(0x37a,'33pH')](IllI1Iil[IIllliII(0x330,'@7Qi')],IllI1Iil['tiNIi'])){if(III1111i)try{if(IllI1Iil['oNziS'](IllI1Iil['LMAlh'],IllI1Iil['LMAlh'])){let Il1iliIi=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,lllili1I=Il1iliIi['exec'](III1111i['body']);I1I1iII1=lllili1I[0x0],global[IIllliII(0x350,'9!^0')]['HTTP_PROXY']=IllI1Iil[IIllliII(0x42f,'JVob')]('http://',I1I1iII1);}else{let Ili1iiII=[],iiIlI1lI=llli11II[IIllliII(0x3cf,'9XRU')]||'&',IliiIll1=iilIIlIi['keys'](IlIIiI1i);if(IilIi11i[IIllliII(0x3a4,'nm$C')])IliiIll1=IliiIll1[IIllliII(0x204,'aCW#')]();for(let IlIlll1 of IliiIll1){let Iilill1I=l11lill1[IlIlll1];if(Iilill1I&&typeof Iilill1I===IllI1Iil[IIllliII(0x212,'PK3Y')])Iilill1I=lIIii1[IIllliII(0x430,'U#wC')](Iilill1I);if(Iilill1I&&iiiilill[IIllliII(0x281,'2wGk')])Iilill1I=IllI1Iil[IIllliII(0x222,'EqEH')](ii11l1l,Iilill1I);Ili1iiII[IIllliII(0x288,'BsPN')](IllI1Iil[IIllliII(0x45c,'a6Hr')](IllI1Iil[IIllliII(0x39c,'MrSg')](IlIlll1,'='),Iilill1I));}return Ili1iiII[IIllliII(0x433,'aD!*')](iiIlI1lI);}}catch(l1Il11Ii){}finally{IllI1Iil['tgcCE'](IIlII1ii);}}else liI1l1ii[IIllliII(0x3a0,'e)yx')](lIlliI1I['LRgtq']);});else{li1ilil[i1II1l1I(0x3b7,'oBxx')](Ii11lii1[i1II1l1I(0x224,'BGiB')],IllI1Iil[i1II1l1I(0x20a,'MrSg')],IllI1Iil[i1II1l1I(0x35d,'FSgc')],{'open-url':IllI1Iil[i1II1l1I(0x2ee,'BGiB')]});return;}});}function i1i1IIi1(I1lli1II){const liIii1II=iIll1I1,Il1I1lIi={'XKmwi':function(IlIlIlIi,iI11i1iI){return IlIlIlIi===iI11i1iI;},'xOfzj':'knGYL','IWyhe':function(l1IlIlii,iiliIII1){return l1IlIlii==iiliIII1;},'meGGx':liIii1II(0x3ad,'mpEw')};try{if(Il1I1lIi[liIii1II(0x260,'K$6E')](Il1I1lIi[liIii1II(0x277,'BsPN')],liIii1II(0x1e2,'mAav'))){if(Il1I1lIi[liIii1II(0x368,'vY(V')](typeof JSON['parse'](I1lli1II),Il1I1lIi[liIii1II(0x2ca,'nm$C')]))return!![];}else l1I111iI[liIii1II(0x3b5,'fvv&')](liIii1II(0x307,'GVvk'));}catch(il1l1il){return console[liIii1II(0x3e0,'a6Hr')](il1l1il),console[liIii1II(0x400,'vY(V')]('京东服务器访问数据为空,请检查自身设备网络情况'),![];}}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)}