/* 新东东农场任务 种植,任务,浇水 暂无助力 环境变量: jd_dongDongFarm_plantSkuId // 需要种植的作物ID,详见脚本打印 jd_dongDongFarm_Notify // 是否推送通知(true/false),默认不推送 代理变量: JD_Farm_PROXY_OPEN // 代理启用变量,默认不开启(true/false) JD_Farm_PROXY_TUNNRL // 代理池代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool),格式为:http://ip:port JD_Farm_PROXY_URL // API代理地址变量,默认不开启,仅支持 数据格式:txt;提取数量:每次一个,格式为:http://api.xxx.xxx JD_Farm_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改 cron:1 1 1 1 * ============Quantumultx=============== [task_local] #新东东农场任务 45 2-22/6 * * * jd_dongDongFarm_task, tag=新东东农场任务, enabled=true */ const $ = new Env('新东东农场任务') var version_='jsjiami.com.v7';const l1Ilil=IlIIliil;(function(l1IIIii,IliI11i,i1llll,Ii1I1IIl,i1liiiII,lIIil,l1liliI1){return l1IIIii=l1IIIii>>0x4,lIIil='hs',l1liliI1='hs',function(liliI1i1,I1iI111l,IiIl1lIi,ili11I1i,llIi1Iil){const iI1l1111=IlIIliil;ili11I1i='tfi',lIIil=ili11I1i+lIIil,llIi1Iil='up',l1liliI1+=llIi1Iil,lIIil=IiIl1lIi(lIIil),l1liliI1=IiIl1lIi(l1liliI1),IiIl1lIi=0x0;const ii11111i=liliI1i1();while(!![]&&--Ii1I1IIl+I1iI111l){try{ili11I1i=-parseInt(iI1l1111(0x270,'Lf$g'))/0x1*(parseInt(iI1l1111(0x4d0,'N6!A'))/0x2)+parseInt(iI1l1111(0x361,'[*5d'))/0x3+parseInt(iI1l1111(0x259,'wP#m'))/0x4+parseInt(iI1l1111(0x391,'sPY%'))/0x5+parseInt(iI1l1111(0x40e,'WJ90'))/0x6*(-parseInt(iI1l1111(0x526,'c)PL'))/0x7)+-parseInt(iI1l1111(0x379,'c)PL'))/0x8+parseInt(iI1l1111(0x226,'[*5d'))/0x9*(parseInt(iI1l1111(0x33e,'c)PL'))/0xa);}catch(II1ii1il){ili11I1i=IiIl1lIi;}finally{llIi1Iil=ii11111i[lIIil]();if(l1IIIii<=Ii1I1IIl)IiIl1lIi?i1liiiII?ili11I1i=llIi1Iil:i1liiiII=llIi1Iil:IiIl1lIi=llIi1Iil;else{if(IiIl1lIi==i1liiiII['replace'](/[ePCwrElGTkgfpdLKSbMtN=]/g,'')){if(ili11I1i===I1iI111l){ii11111i['un'+lIIil](llIi1Iil);break;}ii11111i[l1liliI1](llIi1Iil);}}}}}(i1llll,IliI11i,function(l1IIIlii,liiI1I1l,iII1Il,I1IIlilI,illIliIl,Ili11I1,lllIllI){return liiI1I1l='\x73\x70\x6c\x69\x74',l1IIIlii=arguments[0x0],l1IIIlii=l1IIIlii[liiI1I1l](''),iII1Il=`\x72\x65\x76\x65\x72\x73\x65`,l1IIIlii=l1IIIlii[iII1Il]('\x76'),I1IIlilI=`\x6a\x6f\x69\x6e`,(0x14519f,l1IIIlii[I1IIlilI](''));});}(0xc90,0x9e217,i11li1II,0xcb),i11li1II)&&(version_=l1Ilil(0x37b,'!vXI'));const ii1lI1Ii=require(l1Ilil(0x52d,'5^K8')),Il1liIil=require(l1Ilil(0x291,'$k5I')),iI1lIilI=require(l1Ilil(0x2b1,'$pQo')),IIliI1l1=require(l1Ilil(0x2e4,'$k5I')),I1lIil1=process['env'][l1Ilil(0x3d5,'XF)R')]||'',lll1=process[l1Ilil(0x2b5,'c)PL')][l1Ilil(0x530,'6gul')]===l1Ilil(0x447,'ZQy('),li1llili=l1Ilil(0x326,'xrTa'),l11l11ll={0x1:'水滴'},Iiilliil=process[l1Ilil(0x28f,'NFtO')][l1Ilil(0x2cc,'Tc[c')]===l1Ilil(0x4de,'bC6e'),l11I1i1=process[l1Ilil(0x35d,'#wz*')][l1Ilil(0x293,'$pQo')],liiIllll=process[l1Ilil(0x37f,'69F4')]['JD_Farm_PROXY_URL'],iliIili1=process[l1Ilil(0x3a9,'5DDh')]['JD_Farm_NO_PROXY']||l1Ilil(0x39c,'5DDh');let I1lli1ll='',liIIiII1=0x0,llIIlI1i=![];if(Iiilliil){llIIlI1i=!![];try{require(l1Ilil(0x488,'xrTa'));if(liiIllll){console['log']('\x0a☑️\x20API地址代理已开启:'),console[l1Ilil(0x51c,'Lf$g')](l1Ilil(0x36c,'NFtO')+liiIllll+'\x0a');let illIil=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global[l1Ilil(0x30d,'NFtO')][l1Ilil(0x474,'s*4C')]=illIil[l1Ilil(0x360,'5^K8')](liiIllll)[0x0]+','+iliIili1;}else l11I1i1?(global[l1Ilil(0x3a2,'$pQo')][l1Ilil(0x48b,'69F4')]=l11I1i1,global[l1Ilil(0x28a,'ehct')]['NO_PROXY']=''+iliIili1,console[l1Ilil(0x3de,'s*4C')](l1Ilil(0x2e0,'WJ90')),console[l1Ilil(0x51c,'Lf$g')]('☑️\x20代理地址为:'+global[l1Ilil(0x26a,'tx#M')][l1Ilil(0x33d,'ZQy(')]+'\x0a')):(console[l1Ilil(0x3f0,'N6!A')](l1Ilil(0x4ca,'xrTa')),console[l1Ilil(0x416,'Yx7y')](l1Ilil(0x4d2,'WJ90')),console[l1Ilil(0x421,'69F4')]('⚠\x20API地址变量:export\x20JD_JF_PROXY_URL=\x27http://api.xxx.xxx\x27\x0a'));}catch(Ill111ii){console[l1Ilil(0x307,'@EYq')](l1Ilil(0x27f,'Lf$g')),console['log'](l1Ilil(0x32b,'5^K8')),llIIlI1i=![];}}else console['log'](l1Ilil(0x449,'&*5r')),console[l1Ilil(0x1eb,'ehct')]('⚠\x20开启代理变量:export\x20JD_Farm_PROXY_OPEN=\x27true\x27\x20\x0a');function IlIIliil(_0x27c066,_0x2f080b){const _0x65fa4f=i11li1II();return IlIIliil=function(_0x320afe,_0x323bdd){_0x320afe=_0x320afe-0x1c2;let _0x5dfde3=_0x65fa4f[_0x320afe];if(IlIIliil['ERbaue']===undefined){var _0x5e2231=function(_0x56c1f9){const _0x5d58bb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b16a9='',_0x4ab0f6='';for(let _0x1ca69e=0x0,_0x469e03,_0x484f9e,_0x2e575b=0x0;_0x484f9e=_0x56c1f9['charAt'](_0x2e575b++);~_0x484f9e&&(_0x469e03=_0x1ca69e%0x4?_0x469e03*0x40+_0x484f9e:_0x484f9e,_0x1ca69e++%0x4)?_0x4b16a9+=String['fromCharCode'](0xff&_0x469e03>>(-0x2*_0x1ca69e&0x6)):0x0){_0x484f9e=_0x5d58bb['indexOf'](_0x484f9e);}for(let _0xeb0b9f=0x0,_0x349f81=_0x4b16a9['length'];_0xeb0b9f<_0x349f81;_0xeb0b9f++){_0x4ab0f6+='%'+('00'+_0x4b16a9['charCodeAt'](_0xeb0b9f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4ab0f6);};const _0x3b8d00=function(_0x155ad0,_0x4882a4){let _0x3dea95=[],_0x2a5563=0x0,_0x35bc5b,_0x49f3ce='';_0x155ad0=_0x5e2231(_0x155ad0);let _0x25ea28;for(_0x25ea28=0x0;_0x25ea28<0x100;_0x25ea28++){_0x3dea95[_0x25ea28]=_0x25ea28;}for(_0x25ea28=0x0;_0x25ea28<0x100;_0x25ea28++){_0x2a5563=(_0x2a5563+_0x3dea95[_0x25ea28]+_0x4882a4['charCodeAt'](_0x25ea28%_0x4882a4['length']))%0x100,_0x35bc5b=_0x3dea95[_0x25ea28],_0x3dea95[_0x25ea28]=_0x3dea95[_0x2a5563],_0x3dea95[_0x2a5563]=_0x35bc5b;}_0x25ea28=0x0,_0x2a5563=0x0;for(let _0x4a6286=0x0;_0x4a6286<_0x155ad0['length'];_0x4a6286++){_0x25ea28=(_0x25ea28+0x1)%0x100,_0x2a5563=(_0x2a5563+_0x3dea95[_0x25ea28])%0x100,_0x35bc5b=_0x3dea95[_0x25ea28],_0x3dea95[_0x25ea28]=_0x3dea95[_0x2a5563],_0x3dea95[_0x2a5563]=_0x35bc5b,_0x49f3ce+=String['fromCharCode'](_0x155ad0['charCodeAt'](_0x4a6286)^_0x3dea95[(_0x3dea95[_0x25ea28]+_0x3dea95[_0x2a5563])%0x100]);}return _0x49f3ce;};IlIIliil['aYZHND']=_0x3b8d00,_0x27c066=arguments,IlIIliil['ERbaue']=!![];}const _0x37e786=_0x65fa4f[0x0],_0x4f5344=_0x320afe+_0x37e786,_0xe97ef6=_0x27c066[_0x4f5344];return!_0xe97ef6?(IlIIliil['BingCD']===undefined&&(IlIIliil['BingCD']=!![]),_0x5dfde3=IlIIliil['aYZHND'](_0x5dfde3,_0x323bdd),_0x27c066[_0x4f5344]=_0x5dfde3):_0x5dfde3=_0xe97ef6,_0x5dfde3;},IlIIliil(_0x27c066,_0x2f080b);}let i1liii1i='';const III1lIII=Object['keys'](ii1lI1Ii)['map'](IliIiill=>ii1lI1Ii[IliIiill])[l1Ilil(0x262,'c)PL')](IlII1li=>IlII1li);!III1lIII[0x0]&&($[l1Ilil(0x3cc,'#wz*')]($[l1Ilil(0x3e1,'7^b@')],l1Ilil(0x241,'!vXI')),process[l1Ilil(0x533,'ytZG')](0x1));!(async()=>{const IIllilIl=l1Ilil,II1Iilii={'jpQpD':'>\x20任务完成','apCIF':function(iii1liii,Iiiil1l1){return iii1liii(Iiiil1l1);},'UqDrj':IIllilIl(0x4c9,'f)##'),'xRJUF':function(Iil1ll,illiIII){return Iil1ll!==illiIII;},'MpSSm':function(iliIiilI,iI11ii11){return iliIiilI===iI11ii11;},'RvWHG':IIllilIl(0x213,'!vXI'),'cNCMr':function(lI11II1,lll1iI){return lI11II1%lll1iI;},'lWFFM':function(II1111I,ll1ilIlI){return II1111I+ll1ilIlI;},'GnWfr':IIllilIl(0x2ec,'69F4'),'XCTfA':function(ll11IiIl){return ll11IiIl();},'IcTJb':'HIriM'};Il1liIil[IIllilIl(0x4e2,'QsX!')]({'title':$[IIllilIl(0x1d5,'Ag1d')]});for(let lIli1lIi=0x0;lIli1lIi\x20领取失败\x20'+iII1lil['errMsg'])):(Il1liIil['updateContent'](II1Iilii[IIllilIl(0x473,'6gul')](Il1liIil[IIllilIl(0x448,'7^b@')],'\x0a')),await Il1liIil[IIllilIl(0x429,'ZQy(')]()));})()[l1Ilil(0x21e,'QsX!')](ll11l11=>$[l1Ilil(0x3bc,'zfHD')](ll11l11))[l1Ilil(0x280,'K)GG')](()=>$[l1Ilil(0x3f6,'HaF6')]());async function liIiIIl(){const lIli1i1i=l1Ilil,i111iIi={'dWxfe':lIli1i1i(0x3b2,'l!Ab'),'TLThn':function(IlIll1ll,IllIIl1l){return IlIll1ll(IllIIl1l);},'XCPXi':'farm_home','aTsml':lIli1i1i(0x324,'6gul'),'JvpTO':'YQIHi','MIyeI':'TnXrr','PkYwb':function(lIIIlIIl,llIlI1l1){return lIIIlIIl{const lI1l1i1I=IIiIIll,liliI1iI={'ZNgnS':function(Iii1l11l,lIIliIIi){const i11IiiIi=IlIIliil;return IlIl1I11[i11IiiIi(0x2ed,'Ag1d')](Iii1l11l,lIIliIIi);}};IllI1111[lI1l1i1I(0x272,'69F4')](Ili1I1II,(lliil1il,ll11liI1,llI1IliI)=>{const iiIIIII1=lI1l1i1I;liliI1iI[iiIIIII1(0x3c8,'QsX!')](Ill1IllI,{'err':lliil1il,'res':ll11liI1,'data':llI1IliI});});});}}default:{console[IIiIIll(0x258,'xrTa')](IIIi1Ii1);break;}}}async function i1I1IiI(){const IlIi1llI=l1Ilil,IillIIl={'RWyfj':function(lllllil1,iiIIllil){return lllllil1(iiIIllil);},'HSLdr':function(lii1111i,il1lIi1){return lii1111i(il1lIi1);},'GhrDa':IlIi1llI(0x375,'ytZG'),'WfVPV':IlIi1llI(0x1d8,'%4*c'),'puzeU':IlIi1llI(0x472,'bJMa'),'rZvCy':IlIi1llI(0x481,'QsX!'),'kdjgD':IlIi1llI(0x2fa,'%4*c'),'mtbvk':function(l11Il1li,i11illIl){return l11Il1li===i11illIl;},'tQONT':'UywYm','SnfYo':function(iiI1lll,I11Il1lI){return iiI1lll(I11Il1lI);},'lpDqV':IlIi1llI(0x466,'#wz*'),'bMkPc':IlIi1llI(0x319,'N6!A'),'cmaXV':function(Ii11i111,iIll1I11){return Ii11i111!==iIll1I11;},'Qeuwt':IlIi1llI(0x431,'%4*c'),'svrVC':IlIi1llI(0x50f,'NFtO'),'WZZfK':function(l1lIl11,l1I1iIl1){return l1lIl11(l1I1iIl1);},'FlDgX':'>\x20任务失败,没有获取到任务ID','UDruO':function(I1li,lIIIll1){return I1li(lIIIll1);},'JDaqp':'farm_task_receive_award','Nsfsw':IlIi1llI(0x1e9,'Lf$g'),'AfDNF':function(lllIIIlI,ililIII){return lllIIIlI===ililIII;},'uMlOC':function(l111l1i,I1iIlIli){return l111l1i!==I1iIlIli;},'SoUJR':IlIi1llI(0x255,'ZQy(')};let lI1IlIii=![];await IillIIl[IlIi1llI(0x3df,'69F4')](lliIii,IillIIl[IlIi1llI(0x316,'xrTa')]);let l1IiI1II=$['farm_task_list']?.[IlIi1llI(0x49e,'tXrA')]||[];for(let l1iIilll of l1IiI1II){const l1liIi11=l1iIilll?.['taskStatus'];if(l1liIi11===0x3)continue;const iIiiIIl=l1iIilll?.['mainTitle'];$[IlIi1llI(0x285,'wP#m')]=l1iIilll?.[IlIi1llI(0x27e,'l!Ab')],$['taskSourceUrl']=l1iIilll?.[IlIi1llI(0x31c,'$pQo')],$[IlIi1llI(0x404,'sxI]')]=l1iIilll?.[IlIi1llI(0x239,'[*5d')],$[IlIi1llI(0x400,'QsX!')]=l1iIilll?.[IlIi1llI(0x1e1,'f]TA')];switch(l1liIi11){case 0x1:{switch($[IlIi1llI(0x273,'z4zW')]){case IillIIl['WfVPV']:case IillIIl['puzeU']:break;case IillIIl[IlIi1llI(0x407,'IS^R')]:case IillIIl[IlIi1llI(0x3ba,'HaF6')]:default:{if(IillIIl['mtbvk'](IillIIl[IlIi1llI(0x303,'NFtO')],IillIIl[IlIi1llI(0x344,'QsX!')])){if(l1iIilll['taskSourceUrl']){if('LFAYr'!=='LFAYr'){IiIIlilI['log'](IlIi1llI(0x40f,'f)##')+iiiIIiI1['stringify'](IIIIliI[IlIi1llI(0x4a6,'#wz*')]));return;}else lI1IlIii=!![],console[IlIi1llI(0x486,'f]TA')](IlIi1llI(0x44f,'Lf$g')+iIiiIIl+'\x22'),await IillIIl[IlIi1llI(0x3d4,'#wz*')](lliIii,IillIIl['lpDqV']),await $[IlIi1llI(0x3ec,'7^b@')](0xbb8);}else{lI1IlIii=!![],await IillIIl['HSLdr'](lliIii,IillIIl[IlIi1llI(0x511,'xrTa')]),await $[IlIi1llI(0x37c,'xrTa')](0xbb8);const l1liil1I=$[IlIi1llI(0x281,'z4zW')]?.['taskDetaiList']||[],illIlil1=l1liil1I[0x0];console[IlIi1llI(0x214,'9^zI')](IlIi1llI(0x1ff,'^PcG')+iIiiIIl+'\x22');if(illIlil1){if(IillIIl['cmaXV'](IillIIl[IlIi1llI(0x25e,'sxI]')],IillIIl['svrVC']))$[IlIi1llI(0x2f9,'ehct')]=illIlil1[IlIi1llI(0x4b3,'5DDh')],$[IlIi1llI(0x4cb,'%4*c')]=illIlil1[IlIi1llI(0x210,'#wz*')],await IillIIl['WZZfK'](lliIii,'farm_do_task'),await $['wait'](0xbb8);else{const iliI1ii={'UlOSM':function(IIlI1IIi,I11IIl1I){const IiII1=IlIi1llI;return IillIIl[IiII1(0x517,'7^b@')](IIlI1IIi,I11IIl1I);}};Ii1l1lIi['post'](il1lIil1,(lilli1l1,II111il1,I1lliII)=>{iliI1ii['UlOSM'](lIl1llII,{'err':lilli1l1,'res':II111il1,'data':I1lliII});});}}else console[IlIi1llI(0x34c,'bC6e')](IillIIl[IlIi1llI(0x2f5,'!vXI')]);}break;}else Il1l11II[IlIi1llI(0x3a4,'XF)R')][IlIi1llI(0x444,'ytZG')](illl111l);}}break;}case 0x2:{console[IlIi1llI(0x421,'69F4')](IlIi1llI(0x1fb,'wP#m')+iIiiIIl+IlIi1llI(0x49a,'^PcG')),await IillIIl[IlIi1llI(0x417,'wP#m')](lliIii,IillIIl[IlIi1llI(0x3d8,'#wz*')]),await $[IlIi1llI(0x3ae,'ytZG')](0xbb8);break;}default:console['log'](IlIi1llI(0x27a,'9^zI')+l1iIilll['mainTitle']+IlIi1llI(0x35a,')B5%')+l1iIilll['taskStatus']);break;}}if(lI1IlIii){await lliIii(IillIIl[IlIi1llI(0x4b0,'s*4C')]),l1IiI1II=$[IlIi1llI(0x3d9,'bC6e')]?.[IlIi1llI(0x418,'ZQy(')]||[];for(let Iii1ll1 of l1IiI1II){if(IillIIl[IlIi1llI(0x4f0,'^PcG')](IlIi1llI(0x40d,'%4*c'),IillIIl[IlIi1llI(0x284,'bJMa')]))iI1Iilli[IlIi1llI(0x321,'6gul')]=!![],lililI1l[IlIi1llI(0x436,'6gul')](iiil1iIl[IlIi1llI(0x1f1,'ehct')]+'-'+llIlIiII[IlIi1llI(0x2cf,'$k5I')]);else{const IiIlilIi=Iii1ll1['mainTitle'];$[IlIi1llI(0x26f,'tXrA')]=Iii1ll1[IlIi1llI(0x42f,')B5%')],$[IlIi1llI(0x1ca,'#ZCQ')]=Iii1ll1[IlIi1llI(0x308,'Pz!K')],$[IlIi1llI(0x205,'#wz*')]=Iii1ll1[IlIi1llI(0x1c2,'f]TA')],$[IlIi1llI(0x37d,'sPY%')]=Iii1ll1['taskInsert'];const I111Iiil=Iii1ll1[IlIi1llI(0x256,'$pQo')];IillIIl['AfDNF'](Iii1ll1['taskStatus'],0x2)&&(IillIIl['uMlOC']('KgQPd',IillIIl[IlIi1llI(0x299,'[*5d')])?(console[IlIi1llI(0x4e6,'tx#M')](IlIi1llI(0x52e,'z4zW')+IiIlilIi+IlIi1llI(0x4f3,'QsX!')),await IillIIl[IlIi1llI(0x34a,'!vXI')](lliIii,IillIIl['JDaqp']),await $[IlIi1llI(0x1d0,'[*5d')](0xbb8)):lii1IIl['log']('❓'+lIi1Illi+'\x20'+ilIIlIiI[IlIi1llI(0x4ac,'ZGU[')](liIII1Ii)));}}}console[IlIi1llI(0x4ed,'HaF6')]('');}async function Il1lIlil(){const lil111Il=l1Ilil,l1l111I1={'ZTpov':'Content-Type','nHQVY':function(iIIIIi1,I1IlIill){return iIIIIi1(I1IlIill);},'MESmD':'QsMBs','dMBCj':'farm_assist_receive_award'};$['farm_assist_init_info_hot']=!![],await l1l111I1[lil111Il(0x286,'#wz*')](lliIii,'farm_assist_init_info');if($['farm_assist_init_info_hot']){const IiI1li1=$[lil111Il(0x2d4,'#wz*')]?.['result']?.[lil111Il(0x23e,'$pQo')]||[],IlIII11i=$[lil111Il(0x518,'Lf$g')]?.[lil111Il(0x453,'ehct')]?.[lil111Il(0x43e,'l!Ab')]||[];for(let iiI1iiiI of IiI1li1){if(l1l111I1[lil111Il(0x24e,'Pz!K')]!==l1l111I1['MESmD'])delete llii1IlI[lil111Il(0x295,'XF)R')],delete llIIli1l[lil111Il(0x2b8,'^PcG')][l1l111I1['ZTpov']];else{$[lil111Il(0x4ea,'N6!A')]=iiI1iiiI?.[lil111Il(0x21f,'Ag1d')],$[lil111Il(0x445,'#wz*')]=iiI1iiiI?.[lil111Il(0x4df,'!vXI')],$[lil111Il(0x2a1,'K)GG')]=iiI1iiiI?.[lil111Il(0x4a2,'f]TA')];switch(iiI1iiiI?.[lil111Il(0x289,'K)GG')]){case 0x1:console[lil111Il(0x27c,'K)GG')](lil111Il(0x463,'9^zI')+$[lil111Il(0x2d0,'9^zI')]+lil111Il(0x26b,'7^b@'));break;case 0x2:console[lil111Il(0x3b3,'^PcG')](lil111Il(0x4f4,'%4*c')+$['assistNum']+lil111Il(0x1fc,'^PcG')+$['waterEnergy']+lil111Il(0x2ca,'K)GG')),await $[lil111Il(0x22b,'5^K8')](0x5dc),await lliIii(l1l111I1[lil111Il(0x406,'[*5d')]),await $[lil111Il(0x3f8,'tx#M')](0x5dc);break;case 0x3:console[lil111Il(0x44d,'IS^R')](lil111Il(0x304,'$k5I')+$[lil111Il(0x3fd,'wP#m')]+'人助力],奖励\x20['+$['waterEnergy']+'水滴]\x20已经领取!'),$['message']['fix'](lil111Il(0x47a,'tx#M')+$[lil111Il(0x2d0,'9^zI')]+lil111Il(0x49f,'wP#m')+$[lil111Il(0x31f,'sxI]')]+lil111Il(0x4e1,'Yx7y'));break;default:{console[lil111Il(0x300,'sPY%')](lil111Il(0x3c0,'Yx7y')+iiI1iiiI?.[lil111Il(0x3c4,'HaF6')]),$[lil111Il(0x2ef,'IS^R')]=!![];break;}}}}}}function IliiI1ii(li1illII,llI1lIIi){const i1iIIlI=l1Ilil,IIIli111={'iHBDp':function(iIiIi1l,i1l1lIl){return iIiIi1l===i1l1lIl;},'OGPnc':i1iIIlI(0x356,'sPY%'),'RHYbz':function(i1IilIli,I11IIliI){return i1IilIli===I11IIliI;},'eemTc':function(l1II11,ilI11Il){return l1II11===ilI11Il;},'BVbCj':i1iIIlI(0x2ae,'K)GG'),'xrxGQ':i1iIIlI(0x4db,'QsX!'),'ljiAW':i1iIIlI(0x4f7,'Yx7y'),'erkYd':'果树成熟了,快去收获吧~','ZtnxC':i1iIIlI(0x1cb,'7^b@'),'CexKU':function(IllIIiIl,liilIl1i){return IllIIiIl-liilIl1i;}};if(IIIli111[i1iIIlI(0x42c,'%4*c')](llI1lIIi,IIIli111[i1iIIlI(0x328,'Q$b1')])||IIIli111['RHYbz'](llI1lIIi,0x64)){if(IIIli111[i1iIIlI(0x28e,')B5%')](i1iIIlI(0x1f4,'zfHD'),'yezEJ'))Il1IIIll['farm_home']=i1ll1lII[i1iIIlI(0x23a,'6gul')];else switch(li1illII){case 0x1:return IIIli111[i1iIIlI(0x3eb,'s*4C')];case 0x2:return IIIli111['xrxGQ'];case 0x3:return IIIli111['ljiAW'];case 0x4:return i1iIIlI(0x3e5,'f]TA');case 0x5:return IIIli111['erkYd'];}}else{if(IIIli111[i1iIIlI(0x271,'HaF6')](IIIli111[i1iIIlI(0x3bf,')B5%')],'YTBBG'))lIiliiiI[i1iIIlI(0x4fb,'ZGU[')]=!![],iII11l1[i1iIIlI(0x3bb,'6gul')]&&il1lilli[i1iIIlI(0x464,'bJMa')][i1iIIlI(0x4b5,'Lf$g')](I1IllIl);else{const liiiiIil=IIIli111['CexKU'](0x64,llI1lIIi)+'%';switch(li1illII){case 0x1:return i1iIIlI(0x1f3,'@EYq')+liiiiIil;case 0x2:return i1iIIlI(0x44a,'sxI]')+liiiiIil;case 0x3:return i1iIIlI(0x334,'NFtO')+liiiiIil;case 0x4:return i1iIIlI(0x301,'sPY%')+liiiiIil;}}}}async function IIilili1(){const liIii11l=l1Ilil,Iil1iIl={'UYcDw':function(l1Ili11,Illi11li){return l1Ili11(Illi11li);},'tamqC':'global-agent/bootstrap','IBGnq':liIii11l(0x469,'5DDh'),'TFvpd':function(l1IlIl11,lli1lII1){return l1IlIl11+lli1lII1;},'jLSjh':function(IIIlil1,IlIilIIl){return IIIlil1+IlIilIIl;},'IDmav':'☑️\x20代理地址为:','CPehw':liIii11l(0x3a7,'6gul'),'ICjsD':liIii11l(0x384,'f]TA'),'svllZ':'⚠\x20代理池变量:export\x20JD_JF_PROXY_TUNNRL=\x27http://ip:port\x27','RoYSF':liIii11l(0x52b,'Ag1d'),'kroYO':function(liIlIill,lIii1i1){return liIlIill>=lIii1i1;},'dUBbw':function(iIlIliII,l1il1Ill){return iIlIliII!==l1il1Ill;},'xkpNA':liIii11l(0x322,'sPY%'),'MRsXl':'KJDBa','qewDR':liIii11l(0x37a,'@EYq'),'YnlGc':function(Iilll1l1,iill1l11){return Iilll1l1(iill1l11);},'SizbC':liIii11l(0x36b,'!vXI')};await Iil1iIl[liIii11l(0x408,'Lf$g')](lliIii,Iil1iIl[liIii11l(0x4b4,'IS^R')]),$[liIii11l(0x238,'$k5I')]=$['farm_home']?.[liIii11l(0x4cc,'Ag1d')]?.[liIii11l(0x243,'^PcG')],$['canFastWater']=$[liIii11l(0x52b,'Ag1d')]?.[liIii11l(0x1c9,'@EYq')]?.['canFastWater']||![],console[liIii11l(0x3f0,'N6!A')](liIii11l(0x247,'[*5d')+($['bottleWater']||0x0)+liIii11l(0x426,'f)##'));while($[liIii11l(0x203,'tXrA')]&&Iil1iIl[liIii11l(0x2a5,'%4*c')]($[liIii11l(0x264,'l!Ab')],0xa)){if(Iil1iIl['dUBbw']('YJHKn',Iil1iIl['xkpNA'])){if($[liIii11l(0x393,'f]TA')]&&Iil1iIl[liIii11l(0x45a,'[*5d')]($[liIii11l(0x3a5,'z4zW')],0x64)){console['log'](liIii11l(0x38d,'zfHD'));break;}else{if(Iil1iIl['dUBbw'](Iil1iIl[liIii11l(0x297,'ytZG')],Iil1iIl[liIii11l(0x4eb,'bC6e')]))await Iil1iIl['YnlGc'](lliIii,Iil1iIl[liIii11l(0x43f,'QsX!')]),await $[liIii11l(0x4f1,'ZGU[')](0xbb8);else{const iilIIIIl=I1lIIiIl[liIii11l(0x30b,'!vXI')],il1iii1=IiiIIlii['needDays'];for(let lIi11Ii=0x0;lIi11IiIIiIIliI[liI11lll(0x403,'l!Ab')]+'水滴')||[];if(l1IliIii){let illill=liI11lll(0x389,'ytZG')+IllIiIiI+'g,'+IliiI1ii(iI1illl1,0x64);if(lI1illi1[liI11lll(0x496,'bC6e')])illill+=liI11lll(0x46d,'&*5r')+lI1illi1[liI11lll(0x245,'$k5I')](',\x20');console[liI11lll(0x45d,'z4zW')](illill);}else console[liI11lll(0x34c,'bC6e')](liI11lll(0x3d2,'K)GG')+IllIiIiI+'g,'+l1IiiIli[liI11lll(0x410,'ZGU[')](IliiI1ii,iI1illl1,I11lili));IiIl11II&&($['canWatering']=![],console[liI11lll(0x371,'&*5r')](liI11lll(0x20b,'f)##')+IllIiIiI+'g,'+l1IiiIli[liI11lll(0x40b,'%4*c')](IliiI1ii,0x5,0x64)));}else{if(iIl11Il1[liI11lll(0x25a,'%4*c')])$[liI11lll(0x4bb,'wP#m')]=![],console['log'](iIl11Il1[liI11lll(0x365,'5DDh')]);else{if(iIl11Il1['data']?.[liI11lll(0x35c,'5^K8')])$[liI11lll(0x287,'K)GG')]=![],console['log'](iIl11Il1[liI11lll(0x440,'#ZCQ')]?.['bizMsg']);else{if(l1IiiIli[liI11lll(0x383,'$k5I')](l1IiiIli['OFZDI'],liI11lll(0x3b5,'zfHD')))console[liI11lll(0x1d3,'f)##')]('❓'+liI1lii+'\x20'+JSON[liI11lll(0x3fb,'Tc[c')](iIl11Il1));else{const IilIIlii=iilIiIl[iIlIll1][liI11lll(0x3b0,'QsX!')],I1I11l1i=II11Illl[illIlI1I][liI11lll(0x3ea,'NFtO')];ilIi1111[liI11lll(0x2c8,'c)PL')](IilIIlii+liI11lll(0x1d2,'Yx7y')+lilIilI+liI11lll(0x4c7,'ZGU[')+I1I11l1i+'\x0a');}}}}break;case l1IiiIli[liI11lll(0x499,')B5%')]:if(l1IiiIli[liI11lll(0x2a8,'WJ90')](iIl11Il1[liI11lll(0x261,'HaF6')],0x0)&&iIl11Il1[liI11lll(0x30c,'^PcG')]?.[liI11lll(0x224,'Pz!K')]===0x0)$[liI11lll(0x31b,'c)PL')]=iIl11Il1[liI11lll(0x251,'wP#m')]?.['result'];else{if(iIl11Il1[liI11lll(0x30c,'^PcG')]?.['bizMsg'])l1IiiIli[liI11lll(0x1e5,'#ZCQ')](l1IiiIli[liI11lll(0x283,'ehct')],l1IiiIli[liI11lll(0x387,'&*5r')])?II1ii1ii['log'](liI11lll(0x276,'QsX!')+iIiIliii+'g,'+IlliIiil(iIIlllil,lI1iIi1l)):($[liI11lll(0x386,'ytZG')]=!![],console['log'](iIl11Il1[liI11lll(0x50b,'wP#m')]+'-'+iIl11Il1['data']?.['bizMsg']));else{if(iIl11Il1['errMsg'])$[liI11lll(0x3e7,'7^b@')]=!![],console[liI11lll(0x2ce,'Pz!K')](iIl11Il1[liI11lll(0x2bd,'#wz*')]+'-'+iIl11Il1[liI11lll(0x2af,'wP#m')]);else iIl11Il1[liI11lll(0x1cc,'s*4C')]?($[liI11lll(0x310,'s*4C')]=!![],console['log'](iIl11Il1[liI11lll(0x3f5,'WJ90')]+'-'+iIl11Il1['msg'])):console['log']('❓'+liI1lii+'\x20'+JSON['stringify'](iIl11Il1));}}break;case l1IiiIli['AqjQN']:if(iIl11Il1[liI11lll(0x424,'%4*c')]===0x0&&l1IiiIli[liI11lll(0x38e,'ZQy(')](iIl11Il1[liI11lll(0x1de,'N6!A')]?.['bizCode'],0x0))$[liI11lll(0x3d1,'bJMa')]=iIl11Il1[liI11lll(0x364,'WJ90')]?.[liI11lll(0x204,'#wz*')];else{if(iIl11Il1['data']?.[liI11lll(0x40a,'Pz!K')])l1IiiIli['ysJGV'](l1IiiIli[liI11lll(0x43a,'XF)R')],l1IiiIli[liI11lll(0x51b,'WJ90')])?($[liI11lll(0x4c2,'sxI]')]=!![],console['log'](iIl11Il1[liI11lll(0x48a,'IS^R')]+'-'+iIl11Il1[liI11lll(0x47b,'[*5d')]?.['bizMsg'])):(llll1I11[liI11lll(0x516,'5^K8')]=!![],iiI1lliI[liI11lll(0x258,'xrTa')](liI11lll(0x317,'Tc[c')+lI1IIi11[liI11lll(0x38a,'$k5I')][liI11lll(0x380,'5DDh')]));else{if(iIl11Il1['errMsg'])$[liI11lll(0x278,'l!Ab')]=!![],console[liI11lll(0x2c1,'$pQo')](iIl11Il1[liI11lll(0x3e8,'l!Ab')]+'-'+iIl11Il1[liI11lll(0x290,'tx#M')]);else iIl11Il1[liI11lll(0x36d,'Lf$g')]?($[liI11lll(0x2ff,'9^zI')]=!![],console[liI11lll(0x435,'bJMa')](iIl11Il1[liI11lll(0x4bc,'$k5I')]+'-'+iIl11Il1[liI11lll(0x45f,'5DDh')])):liI11lll(0x34b,'7^b@')!==l1IiiIli[liI11lll(0x1df,'xrTa')]?(iIi1Ii11['hotproxy']=!![],ll1111II[liI11lll(0x45d,'z4zW')](I1I11IlI['code']+'-'+I1li1Ili[liI11lll(0x4b2,'#ZCQ')])):console[liI11lll(0x3ac,'5^K8')]('❓'+liI1lii+'\x20'+JSON[liI11lll(0x36e,'tXrA')](iIl11Il1));}}break;case l1IiiIli[liI11lll(0x47f,'Tc[c')]:if(iIl11Il1['code']===0x0&&l1IiiIli['ysJGV'](iIl11Il1['data']?.['bizCode'],0x0))$[liI11lll(0x4d3,'@EYq')]=iIl11Il1[liI11lll(0x275,'XF)R')];else{if(iIl11Il1['data']?.[liI11lll(0x1d6,'69F4')])$[liI11lll(0x3e7,'7^b@')]=!![],$['farm_assist_init_info_hot']=![];else{if(iIl11Il1['errMsg'])$[liI11lll(0x21b,'NFtO')]=!![],console[liI11lll(0x29c,'$k5I')](iIl11Il1[liI11lll(0x424,'%4*c')]+'-'+iIl11Il1[liI11lll(0x290,'tx#M')]);else iIl11Il1[liI11lll(0x33a,'c)PL')]?l1IiiIli[liI11lll(0x25b,'Pz!K')]!==l1IiiIli[liI11lll(0x216,'wP#m')]?($[liI11lll(0x483,'f)##')]=!![],console['log'](iIl11Il1[liI11lll(0x346,'bC6e')]+'-'+iIl11Il1[liI11lll(0x47e,'#ZCQ')])):llIIlIII['log']('❓'+IIl11Iil+'\x20'+iI1Iii11[liI11lll(0x2d6,'^PcG')](i1l1li)):l1IiiIli[liI11lll(0x2c0,'69F4')](l1IiiIli[liI11lll(0x2d5,'@EYq')],l1IiiIli[liI11lll(0x1d1,'Lf$g')])?(IlliIlIl['log'](liI11lll(0x432,'ZQy(')),IlIiiii1['log'](liI11lll(0x4e4,'Ag1d')),l1lll1lI=![]):console['log']('❓'+liI1lii+'\x20'+JSON[liI11lll(0x513,'ehct')](iIl11Il1));}}break;case l1IiiIli[liI11lll(0x395,'sxI]')]:if(l1IiiIli[liI11lll(0x39f,'z4zW')](iIl11Il1[liI11lll(0x50b,'wP#m')],0x0)&&l1IiiIli[liI11lll(0x4ec,'xrTa')](iIl11Il1['data']?.[liI11lll(0x355,'Ag1d')],0x0))console[liI11lll(0x2a6,'7^b@')](liI11lll(0x4ba,'Pz!K')+$['assistNum']+liI11lll(0x2e1,'f]TA')+(iIl11Il1['data']?.['result']?.[liI11lll(0x3d0,'bJMa')]||0x0)+'水滴');else{if(iIl11Il1[liI11lll(0x41a,'#wz*')]?.['bizMsg'])$[liI11lll(0x1c7,'bJMa')]=!![],console['log'](iIl11Il1['code']+'-'+iIl11Il1[liI11lll(0x38a,'$k5I')]?.['bizMsg']);else{if(iIl11Il1[liI11lll(0x382,'$pQo')])$['hotproxy']=!![],console[liI11lll(0x219,'tXrA')](iIl11Il1['code']+'-'+iIl11Il1['errMsg']);else iIl11Il1[liI11lll(0x4e3,'ehct')]?($[liI11lll(0x2ef,'IS^R')]=!![],console[liI11lll(0x437,'wP#m')](iIl11Il1[liI11lll(0x51a,'[*5d')]+'-'+iIl11Il1[liI11lll(0x349,'f]TA')])):l1IiiIli[liI11lll(0x229,'%4*c')](l1IiiIli['hlhpX'],l1IiiIli['hlhpX'])?console[liI11lll(0x3de,'s*4C')]('❓'+liI1lii+'\x20'+JSON['stringify'](iIl11Il1)):iI111I1['log']('领取['+lli1IIl['assistNum']+liI11lll(0x4cf,'7^b@')+(i1Ii111I[liI11lll(0x3ad,'IS^R')]?.[liI11lll(0x450,'zfHD')]?.[liI11lll(0x232,'NFtO')]||0x0)+'水滴');}}break;case l1IiiIli[liI11lll(0x392,'IS^R')]:if(l1IiiIli[liI11lll(0x298,'zfHD')](iIl11Il1[liI11lll(0x2df,'K)GG')],0x0)&&l1IiiIli[liI11lll(0x4bd,'&*5r')](iIl11Il1['data']?.[liI11lll(0x218,'6gul')],0x0))console[liI11lll(0x214,'9^zI')](l1IiiIli['NKBQY']);else{if(iIl11Il1['data']?.['bizMsg'])$['hotproxy']=!![],console[liI11lll(0x43d,'[*5d')](liI11lll(0x217,'ehct')+iIl11Il1[liI11lll(0x48e,'f]TA')]['bizMsg']);else iIl11Il1[liI11lll(0x1fe,'xrTa')]?console['log']('>\x20任务失败\x20'+iIl11Il1[liI11lll(0x345,'^PcG')]):l1IiiIli['uUrhu']===l1IiiIli[liI11lll(0x2a0,'f]TA')]?console[liI11lll(0x27c,'K)GG')](liI11lll(0x1fa,'zfHD')+liI1lii+'\x20'+JSON[liI11lll(0x329,'Ag1d')](iIl11Il1)):(ilii1Ill['hotproxy']=!![],IlIIlIlI=i11lIlil+liI11lll(0x302,'bC6e')+i1I1IIll+')');}break;case liI11lll(0x2bc,'z4zW'):if(iIl11Il1[liI11lll(0x398,'@EYq')]===0x0&&iIl11Il1[liI11lll(0x2dc,'Yx7y')]?.['bizCode']===0x0){let I1lliIll=iIl11Il1['data']?.[liI11lll(0x1ce,'c)PL')]?.[liI11lll(0x4fd,'[*5d')]?.['map'](llIiilii=>''+llIiilii[liI11lll(0x409,'z4zW')]+(l11l11ll[llIiilii[liI11lll(0x2a3,'Ag1d')]]||'[type='+awardType+']'));console[liI11lll(0x4ed,'HaF6')](liI11lll(0x3dc,'z4zW')+I1lliIll[liI11lll(0x260,'ehct')](',\x20'));}else{if(iIl11Il1[liI11lll(0x4b9,'NFtO')])$[liI11lll(0x2ef,'IS^R')]=!![],console['log'](liI11lll(0x2de,'xrTa')+iIl11Il1[liI11lll(0x419,'WJ90')]);else iIl11Il1['data']?.[liI11lll(0x4a7,'s*4C')]?console[liI11lll(0x3ac,'5^K8')](liI11lll(0x428,'zfHD')+iIl11Il1[liI11lll(0x2dc,'Yx7y')]?.[liI11lll(0x3ff,'z4zW')]):console[liI11lll(0x3a1,')B5%')](liI11lll(0x45c,'HaF6')+liI1lii+'\x20'+JSON[liI11lll(0x21d,'K)GG')](iIl11Il1));}break;case'dongDongFarmSignHome':if(l1IiiIli[liI11lll(0x4ad,'xrTa')](iIl11Il1[liI11lll(0x2ab,'N6!A')],0x0)&&iIl11Il1['data'])l1IiiIli[liI11lll(0x38c,'s*4C')](l1IiiIli['pAUlU'],l1IiiIli['pAUlU'])?(IIIIIi1I='❌\x20'+i1lilII+liI11lll(0x3a6,'xrTa')+Ill111i1['message'],lIl1IIl[liI11lll(0x514,'#wz*')](liI11lll(0x4f9,'$pQo')+IllIi+'\x20=>\x20'+l1IiiIli[liI11lll(0x4fc,'IS^R')](lIl1IIlI,l1IiiIli[liI11lll(0x1f9,'#ZCQ')](iIiiI1Il,l1IiiIli[liI11lll(0x22d,'69F4')]))),iiiIliiI&&(IlliIl1i[liI11lll(0x4ed,'HaF6')](liI11lll(0x1c4,'N6!A')),ilii1Iil[liI11lll(0x2ce,'Pz!K')](iiIlIiIi),llI1ill[liI11lll(0x307,'@EYq')](l1IiiIli[liI11lll(0x320,'xrTa')])),lliIii1++):$['dongDongFarmSignHome']=iIl11Il1[liI11lll(0x2d9,'%4*c')];else{if(iIl11Il1[liI11lll(0x2b2,'HaF6')])$[liI11lll(0x401,'sPY%')]=!![],console[liI11lll(0x234,'ytZG')](iIl11Il1[liI11lll(0x4f6,'K)GG')]);else iIl11Il1[liI11lll(0x48d,'K)GG')]?.['bizMsg']?console['log'](iIl11Il1[liI11lll(0x2d9,'%4*c')]?.[liI11lll(0x4a3,'#ZCQ')]):console[liI11lll(0x2a6,'7^b@')]('❓'+liI1lii+'\x20'+JSON[liI11lll(0x1e3,'s*4C')](iIl11Il1));}break;case l1IiiIli[liI11lll(0x3c1,'#wz*')]:if(iIl11Il1[liI11lll(0x430,'69F4')]===0x0&&iIl11Il1[liI11lll(0x309,'@EYq')])l1IiiIli[liI11lll(0x4da,'[*5d')](liI11lll(0x523,'Ag1d'),liI11lll(0x23c,'ZGU['))?lIli1Ii1[liI11lll(0x307,'@EYq')](i111i1Ii[liI11lll(0x20a,'Pz!K')]?.[liI11lll(0x37e,'sxI]')]):console['log'](liI11lll(0x38b,'NFtO')+iIl11Il1[liI11lll(0x34e,'l!Ab')]?.[liI11lll(0x505,'sxI]')]);else{if(iIl11Il1['errMsg'])$[liI11lll(0x485,'&*5r')]=!![],console['log'](liI11lll(0x333,'QsX!')+iIl11Il1[liI11lll(0x2cf,'$k5I')]);else iIl11Il1[liI11lll(0x3f3,'&*5r')]?.[liI11lll(0x454,'ytZG')]?console[liI11lll(0x318,'XF)R')](liI11lll(0x2ac,'wP#m')+iIl11Il1[liI11lll(0x1de,'N6!A')]?.[liI11lll(0x1e7,'WJ90')]):console[liI11lll(0x228,'!vXI')](liI11lll(0x333,'QsX!')+liI1lii+'\x20'+JSON[liI11lll(0x1e3,'s*4C')](iIl11Il1));}break;}}catch(ll1IiiIl){l1IiiIli[liI11lll(0x2eb,'sxI]')]===l1IiiIli['SOPbs']?(iI1l1i1i[liI11lll(0x4dd,'69F4')]=!![],l1li1I1i[liI11lll(0x29c,'$k5I')](i1il11l1['code']+'-'+i1lllIIl[liI11lll(0x1ed,'$k5I')])):console['log']('❌\x20未能正确处理\x20'+liI1lii+liI11lll(0x42e,'#wz*')+(ll1IiiIl['message']||ll1IiiIl));}}async function lliIii(liiiI1lI){const lIIlliIl=l1Ilil,IIlliii1={'xZcYg':function(i1111111){return i1111111();},'EAkvA':lIIlliIl(0x242,'9^zI'),'gJntP':function(Ii11Iil,I11iil11){return Ii11Iil||I11iil11;},'CaWvr':lIIlliIl(0x2b0,'ZQy('),'kdBfl':lIIlliIl(0x2e2,'#wz*'),'AuiPw':lIIlliIl(0x4c5,'WJ90'),'ApRdY':'signed_wh5','RwNuB':lIIlliIl(0x35b,'f)##'),'nvXvC':lIIlliIl(0x376,'^PcG'),'KqINM':lIIlliIl(0x4b6,'K)GG'),'jxnvg':lIIlliIl(0x350,'N6!A'),'TXTeh':lIIlliIl(0x32f,'Lf$g'),'GFbqm':lIIlliIl(0x4dc,'IS^R'),'glnKc':lIIlliIl(0x442,'Tc[c'),'MbPCc':lIIlliIl(0x206,'bJMa'),'OTwrS':lIIlliIl(0x375,'ytZG'),'KHCRM':lIIlliIl(0x482,'ZQy('),'VXKVn':lIIlliIl(0x358,'Pz!K'),'Xfieu':lIIlliIl(0x479,'l!Ab'),'oFkwt':'utf-8','pKmsA':lIIlliIl(0x313,'tXrA'),'DUxjQ':'farm_task_receive_award','jmSAO':lIIlliIl(0x30e,'!vXI'),'GjTdz':lIIlliIl(0x3c6,'QsX!'),'JmVRn':lIIlliIl(0x237,'xrTa'),'Ifzav':lIIlliIl(0x501,'HaF6'),'ohIIo':'65f9d','HFxOb':lIIlliIl(0x43b,'#ZCQ'),'whsqB':lIIlliIl(0x4e0,'#wz*'),'fINXP':lIIlliIl(0x50e,'!vXI'),'slxet':lIIlliIl(0x1da,'HaF6'),'dqxWG':lIIlliIl(0x39b,'sPY%'),'gHvnx':'https://h5.m.jd.com/pb/015686010/Bc9WX7MpCW7nW9QjZ5N3fFeJXMH/index.html','XcgJj':'h5_1.0.0','kYiKQ':function(Ilii1Iii,lI1Ili11){return Ilii1Iii===lI1Ili11;},'eZovw':'GET','JZChc':function(II1lIill,lii1iI1l){return II1lIill===lii1iI1l;},'lRbCE':lIIlliIl(0x1c3,'zfHD'),'zOUhO':function(IIlIIl1I,l1il1IIl){return IIlIIl1I&&l1il1IIl;},'nWbjZ':lIIlliIl(0x2ba,'@EYq'),'wPcCT':function(iiIIliil,I1iIi1i){return iiIIliil===I1iIi1i;},'GBcYU':lIIlliIl(0x38f,'HaF6'),'uEjOm':function(ll1iilI,lll1Ii){return ll1iilI+lll1Ii;},'QfUKe':lIIlliIl(0x2bb,'HaF6'),'sZBij':'📶\x20','Fiyft':function(l1Il11lI,llll11lI){return l1Il11lI>llll11lI;},'SCZEl':function(ll1i1l11,iIi11li1){return ll1i1l11===iIi11li1;},'tOBhU':'qOWns','XaFgl':function(IlII1lIi,l1IiiIil,lll11lli){return IlII1lIi(l1IiiIil,lll11lli);},'pznLL':lIIlliIl(0x2c4,'NFtO'),'qJslx':lIIlliIl(0x529,'Ag1d'),'xTJVN':function(iiliiil,lili1Ill){return iiliiil!==lili1Ill;},'nwYjH':lIIlliIl(0x2f8,'$k5I'),'mLuWk':function(ililIi,i1lii1i){return ililIi===i1lii1i;},'oAPmy':lIIlliIl(0x368,'Ag1d'),'UcfJa':'qxMNi','iqEZj':'0|4|5|3|1|2','BXYdV':function(liIll1I,l1ili1i1){return liIll1I||l1ili1i1;},'ldYOO':function(II1iI1i1,lil1ilIi,iiI1llII){return II1iI1i1(lil1ilIi,iiI1llII);},'xGnNU':function(i1ii1Il,lIi1iI11){return i1ii1Il(lIi1iI11);},'cTzDh':lIIlliIl(0x4c4,'sxI]'),'mthHq':function(lIii1lil,I11ili){return lIii1lil>=I11ili;},'WhpXY':lIIlliIl(0x23b,'Pz!K')};if($['runEnd']||$[lIIlliIl(0x225,'z4zW')])return;let llliIii='',I1iI11i='',i1iII111=IIlliii1[lIIlliIl(0x50a,'!vXI')],ii1lI1il='',liI11lI={};switch(liiiI1lI){case lIIlliIl(0x2d3,'$pQo'):liI11lI={'appId':IIlliii1[lIIlliIl(0x34d,'l!Ab')],'functionId':lIIlliIl(0x223,'ytZG'),'appid':IIlliii1['ApRdY'],'clientVersion':IIlliii1['RwNuB'],'client':IIlliii1[lIIlliIl(0x25d,'ZQy(')],'body':{'version':0x1},'version':IIlliii1[lIIlliIl(0x4cd,'tx#M')],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1[lIIlliIl(0x42a,'l!Ab')](liI11lI),llliIii=IIlliii1['jxnvg'],I1iI11i=''+ii1lI1il[lIIlliIl(0x28d,'l!Ab')];break;case IIlliii1[lIIlliIl(0x422,'tXrA')]:liI11lI={'appId':IIlliii1[lIIlliIl(0x4b8,'sxI]')],'functionId':lIIlliIl(0x52c,'s*4C'),'appid':lIIlliIl(0x396,'xrTa'),'clientVersion':IIlliii1[lIIlliIl(0x351,'#wz*')],'client':IIlliii1[lIIlliIl(0x525,'bC6e')],'body':{'version':0x1},'version':IIlliii1[lIIlliIl(0x209,'#ZCQ')],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1[lIIlliIl(0x28b,'tx#M')](liI11lI),llliIii=IIlliii1[lIIlliIl(0x489,'zfHD')],I1iI11i=''+ii1lI1il['params'];break;case IIlliii1['GFbqm']:liI11lI={'appId':lIIlliIl(0x413,'Q$b1'),'functionId':IIlliii1[lIIlliIl(0x504,'f)##')],'appid':IIlliii1['ApRdY'],'clientVersion':IIlliii1[lIIlliIl(0x211,'!vXI')],'client':IIlliii1[lIIlliIl(0x44c,'Lf$g')],'body':{'version':0x1,'uid':I1lIil1},'version':IIlliii1['KqINM'],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1[lIIlliIl(0x31a,'Tc[c')](liI11lI),llliIii=lIIlliIl(0x4ae,'f)##'),I1iI11i=''+ii1lI1il[lIIlliIl(0x3cf,'^PcG')];break;case lIIlliIl(0x443,'c)PL'):liI11lI={'appId':'28981','functionId':IIlliii1[lIIlliIl(0x4a5,'5^K8')],'appid':IIlliii1[lIIlliIl(0x20d,'[*5d')],'clientVersion':IIlliii1[lIIlliIl(0x4fa,'s*4C')],'client':'ios','body':{'version':0x1,'waterType':0x1},'version':lIIlliIl(0x2ad,'$pQo'),'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1[lIIlliIl(0x369,'ZQy(')](liI11lI),llliIii=lIIlliIl(0x235,'Tc[c'),I1iI11i=''+ii1lI1il[lIIlliIl(0x487,'!vXI')];break;case IIlliii1[lIIlliIl(0x402,'f]TA')]:liI11lI={'appId':IIlliii1[lIIlliIl(0x2a7,'ytZG')],'functionId':lIIlliIl(0x4ff,'Pz!K'),'appid':IIlliii1[lIIlliIl(0x441,'7^b@')],'clientVersion':'12.2.0','client':IIlliii1[lIIlliIl(0x36a,'7^b@')],'body':{'version':0x1,'channel':0x0},'version':IIlliii1['KqINM'],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1[lIIlliIl(0x4d7,'QsX!')](liI11lI),llliIii=IIlliii1[lIIlliIl(0x265,'tXrA')],I1iI11i=''+ii1lI1il['params'];break;case IIlliii1[lIIlliIl(0x388,'6gul')]:liI11lI={'appId':lIIlliIl(0x527,'xrTa'),'functionId':IIlliii1[lIIlliIl(0x532,'c)PL')],'appid':IIlliii1['ApRdY'],'clientVersion':IIlliii1[lIIlliIl(0x2f3,'wP#m')],'client':lIIlliIl(0x2be,'WJ90'),'body':{'version':0x1,'channel':0x0},'version':IIlliii1[lIIlliIl(0x494,'bC6e')],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1[lIIlliIl(0x2f1,'!vXI')](liI11lI),llliIii='https://api.m.jd.com/client.action',I1iI11i=''+ii1lI1il['params'];break;case IIlliii1['KHCRM']:liI11lI={'appId':IIlliii1[lIIlliIl(0x35e,'c)PL')],'functionId':lIIlliIl(0x397,'7^b@'),'appid':lIIlliIl(0x3a8,'@EYq'),'clientVersion':'12.2.0','client':IIlliii1[lIIlliIl(0x3c5,'WJ90')],'body':{'version':0x1,'taskType':$['taskType'],'taskId':$['taskId'],'channel':0x0},'version':IIlliii1[lIIlliIl(0x45b,'^PcG')],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1['getH5st'](liI11lI),llliIii=IIlliii1[lIIlliIl(0x42b,'ytZG')],I1iI11i=''+ii1lI1il['params'];break;case lIIlliIl(0x2b9,'&*5r'):liI11lI={'appId':IIlliii1[lIIlliIl(0x1f8,'IS^R')],'functionId':IIlliii1[lIIlliIl(0x41f,'tx#M')],'appid':lIIlliIl(0x323,'Yx7y'),'clientVersion':'12.2.0','client':lIIlliIl(0x212,'@EYq'),'body':{'version':0x1,'taskType':$[lIIlliIl(0x29f,'HaF6')],'taskId':$['taskId'],'taskInsert':$[lIIlliIl(0x37d,'sPY%')],'itemId':Buffer['from']($['taskSourceUrl'],IIlliii1[lIIlliIl(0x41b,'s*4C')])['toString'](IIlliii1[lIIlliIl(0x29b,'!vXI')]),'channel':0x0},'version':IIlliii1[lIIlliIl(0x4cd,'tx#M')],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1[lIIlliIl(0x33f,'HaF6')](liI11lI),llliIii=IIlliii1[lIIlliIl(0x41e,'^PcG')],I1iI11i=''+ii1lI1il[lIIlliIl(0x33c,'Pz!K')];break;case IIlliii1[lIIlliIl(0x385,'HaF6')]:liI11lI={'appId':lIIlliIl(0x51f,'[*5d'),'functionId':lIIlliIl(0x52f,'K)GG'),'appid':IIlliii1['ApRdY'],'clientVersion':IIlliii1[lIIlliIl(0x477,'f]TA')],'client':IIlliii1['nvXvC'],'body':{'version':0x1,'taskType':$[lIIlliIl(0x3aa,'wP#m')],'taskId':$[lIIlliIl(0x476,'c)PL')],'channel':0x0},'version':IIlliii1['KqINM'],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1[lIIlliIl(0x507,'WJ90')](liI11lI),llliIii=IIlliii1['jxnvg'],I1iI11i=''+ii1lI1il[lIIlliIl(0x390,')B5%')];break;case IIlliii1['jmSAO']:liI11lI={'appId':'deba1','functionId':IIlliii1[lIIlliIl(0x2c7,'9^zI')],'appid':IIlliii1[lIIlliIl(0x257,'%4*c')],'clientVersion':IIlliii1[lIIlliIl(0x26c,'^PcG')],'client':'ios','body':{'linkId':li1llili},'version':lIIlliIl(0x362,'IS^R'),'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1['getH5st'](liI11lI),llliIii=IIlliii1[lIIlliIl(0x208,'NFtO')],I1iI11i=''+ii1lI1il['params'];break;case IIlliii1['Ifzav']:liI11lI={'appId':IIlliii1[lIIlliIl(0x4c3,'IS^R')],'functionId':lIIlliIl(0x497,'^PcG'),'appid':lIIlliIl(0x20e,'[*5d'),'clientVersion':IIlliii1[lIIlliIl(0x44b,'NFtO')],'client':IIlliii1[lIIlliIl(0x1c6,'$k5I')],'body':{'linkId':li1llili},'version':IIlliii1[lIIlliIl(0x21c,'Q$b1')],'ua':$['UA'],'t':!![]},ii1lI1il=await IIliI1l1['getH5st'](liI11lI),llliIii=lIIlliIl(0x314,'WJ90'),I1iI11i=''+ii1lI1il['params'];break;default:console[lIIlliIl(0x311,'5DDh')](lIIlliIl(0x3d7,'Pz!K')+liiiI1lI);return;}I1iI11i+=lIIlliIl(0x46f,'f]TA');const l1iiI1Il={'url':llliIii,'headers':{'Accept':'application/json,\x20text/plain,\x20*/*','Accept-Encoding':IIlliii1[lIIlliIl(0x502,'5^K8')],'Accept-Language':lIIlliIl(0x1d7,'Tc[c'),'Connection':IIlliii1[lIIlliIl(0x439,'7^b@')],'Content-Type':IIlliii1[lIIlliIl(0x4b7,'HaF6')],'Cookie':i1liii1i,'Host':IIlliii1[lIIlliIl(0x30a,'wP#m')],'Referer':IIlliii1['dqxWG'],'X-Referer-Page':IIlliii1[lIIlliIl(0x52a,'tx#M')],'Origin':lIIlliIl(0x306,'c)PL'),'x-rp-client':IIlliii1[lIIlliIl(0x500,'XF)R')],'User-Agent':$['UA']},'body':I1iI11i,'timeout':0x7530};IIlliii1['kYiKQ'](i1iII111,IIlliii1[lIIlliIl(0x2fc,'XF)R')])&&(IIlliii1['JZChc']('JQAaw',IIlliii1['lRbCE'])?l1ilII1I['farm_assist_init_info']=l1Iii1[lIIlliIl(0x3c2,'ZGU[')]:(delete l1iiI1Il[lIIlliIl(0x4af,'bJMa')],delete l1iiI1Il[lIIlliIl(0x423,'NFtO')][lIIlliIl(0x266,'$k5I')]));IIlliii1['zOUhO'](Iiilliil,llIIlI1i)&&(lIIlliIl(0x427,'Lf$g')===IIlliii1[lIIlliIl(0x1dd,'bJMa')]?liiIllll&&(IIlliii1[lIIlliIl(0x3d6,'f)##')]('RMKez',IIlliii1[lIIlliIl(0x503,'l!Ab')])?(liIi1lii['hotproxy']=!![],l11lI1i1=IIlI1Il+lIIlliIl(0x50d,'IS^R')+(ii1ilIli[lIIlliIl(0x464,'bJMa')]||iIIII1I1)):($['hotproxy']&&(await IIlliii1['xZcYg'](Iliii1Il),global['GLOBAL_AGENT']['HTTP_PROXY']=IIlliii1[lIIlliIl(0x498,'NFtO')](IIlliii1[lIIlliIl(0x49d,'z4zW')],I1lli1ll),liIIiII1=0x0,$[lIIlliIl(0x2e5,'%4*c')]=![],console[lIIlliIl(0x214,'9^zI')](IIlliii1[lIIlliIl(0x509,'sxI]')](IIlliii1[lIIlliIl(0x41c,'N6!A')],I1lli1ll))),liIIiII1++)):IiliiIl1[lIIlliIl(0x3d1,'bJMa')]=lIiIiI1['data']?.[lIIlliIl(0x26e,'tx#M')]);const lIIIlIiI=0x1;let l1lII1l1=0x0,liiiIiI=null,Il1ll1=![];while(l1lII1l1\x20'+(li11ll1i[lIIlliIl(0x1cd,'l!Ab')]||li11ll1i));}l1lII1l1++;}else{const lI1I11l1=iI1lIilI['getResponseCookie'](I1llilII),iIi1iIIl=![];if(iIi1iIIl){if(IIlliii1['mLuWk'](IIlliii1['oAPmy'],IIlliii1[lIIlliIl(0x348,'#ZCQ')]))Il1liIii[lIIlliIl(0x27c,'K)GG')]('>\x20签到失败\x20'+iIl11lI1[lIIlliIl(0x1de,'N6!A')]?.['bizMsg']);else{const Il1111l1=IIlliii1[lIIlliIl(0x39a,'&*5r')]['split']('|');let i1llIIII=0x0;while(!![]){switch(Il1111l1[i1llIIII++]){case'0':console[lIIlliIl(0x342,'Tc[c')](lIIlliIl(0x268,'ytZG'));continue;case'1':console[lIIlliIl(0x3ac,'5^K8')](l1iiI1Il);continue;case'2':console[lIIlliIl(0x307,'@EYq')](lIIlliIl(0x366,'xrTa'));continue;case'3':console[lIIlliIl(0x371,'&*5r')](lIIlliIl(0x506,'@EYq')+liiiI1lI+lIIlliIl(0x459,'7^b@'));continue;case'4':console[lIIlliIl(0x34c,'bC6e')](lIIlliIl(0x2fe,'5DDh')+liiiI1lI+'\x20响应Body\x20=>\x20'+IIlliii1[lIIlliIl(0x2f0,'Ag1d')](iIiilI1,'无')+'\x0a');continue;case'5':console[lIIlliIl(0x486,'f]TA')](lIIlliIl(0x4c0,'7^b@')+liiiI1lI+lIIlliIl(0x1f6,'HaF6')+IIlliii1[lIIlliIl(0x1e8,'Tc[c')](lI1I11l1,'无')+'\x0a');continue;}break;}}}try{const i11iI1I=JSON[lIIlliIl(0x2c2,'N6!A')](iIiilI1);IIlliii1[lIIlliIl(0x47c,'ZQy(')](l1l1iil,liiiI1lI,i11iI1I);break;}catch(ii1iIIil){liiiIiI='❌\x20'+liiiI1lI+lIIlliIl(0x2a4,'69F4')+ii1iIIil['message'],console[lIIlliIl(0x2a6,'7^b@')](lIIlliIl(0x49b,'WJ90')+liiiI1lI+'\x20=>\x20'+IIlliii1[lIIlliIl(0x4f5,'f)##')](String,iIiilI1||IIlliii1[lIIlliIl(0x1ef,'7^b@')])),iIi1iIIl&&(console[lIIlliIl(0x421,'69F4')](IIlliii1[lIIlliIl(0x41d,'bC6e')]),console[lIIlliIl(0x421,'69F4')](activityCookie),console['log'](IIlliii1['CaWvr'])),l1lII1l1++;}Il1ll1=![];}}if(IIlliii1[lIIlliIl(0x468,'Lf$g')](l1lII1l1,lIIIlIiI)){if(lIIlliIl(0x1d4,'[*5d')===IIlliii1[lIIlliIl(0x29d,'ehct')]){const lil1lII=IIlliii1['EAkvA']['split']('|');let Il1IIii=0x0;while(!![]){switch(lil1lII[Il1IIii++]){case'0':iil1I1Ii[lIIlliIl(0x3f0,'N6!A')](lIIlliIl(0x4d8,'!vXI')+lIlIII1I+lIIlliIl(0x4f2,'69F4')+IIlliii1[lIIlliIl(0x4a8,'[*5d')](I1lII1iI,'无')+'\x0a');continue;case'1':llli1lli[lIIlliIl(0x435,'bJMa')](IIlliii1['CaWvr']);continue;case'2':iI1lliil[lIIlliIl(0x416,'Yx7y')](lIIlliIl(0x4c0,'7^b@')+i1iIiI11+lIIlliIl(0x372,'5DDh')+IIlliii1[lIIlliIl(0x531,'bJMa')](ll1iIiil,'无')+'\x0a');continue;case'3':ii11IilI['log'](lIIlliIl(0x48c,'tx#M')+iiIliI1+lIIlliIl(0x244,'Ag1d'));continue;case'4':liillliI[lIIlliIl(0x4e7,'ZQy(')](IIlliii1[lIIlliIl(0x4ab,'N6!A')]);continue;case'5':lI1iil[lIIlliIl(0x3b3,'^PcG')](IlIIll11);continue;}break;}}else console[lIIlliIl(0x34c,'bC6e')](liiiIiI),Il1ll1&&($['outFlag']=!![],$['message']&&$[lIIlliIl(0x522,'@EYq')]['fix'](liiiIiI));}}async function lllll1Il(i1IIIIIi,ilillIli=l1Ilil(0x3f1,'IS^R')){const II1iiiI1=l1Ilil,II1iiIl1={'pcUda':II1iiiI1(0x296,'tXrA'),'lqSLe':II1iiiI1(0x1fd,'WJ90'),'TEjyE':function(iIiI11I,ll1iiiiI){return iIiI11I===ll1iiiiI;},'afvcz':function(l1IIl11,lIIlIl1i){return l1IIl11===lIIlIl1i;},'PyCxT':II1iiiI1(0x294,'[*5d'),'lhZLw':function(I111i1i,Ili1Iiii){return I111i1i!==Ili1Iiii;},'vcMVe':II1iiiI1(0x51e,'f)##')};if(II1iiIl1[II1iiiI1(0x46b,'z4zW')](ilillIli,II1iiiI1(0x374,'N6!A')))return new Promise(async lli1I1l=>{const IIl11lIl=II1iiiI1;$[IIl11lIl(0x515,'ZQy(')](i1IIIIIi,(Iilllil,iiIIl111,iI1li1i)=>{lli1I1l({'err':Iilllil,'res':iiIIl111,'data':iI1li1i});});});else{if(II1iiIl1[II1iiiI1(0x519,'7^b@')](ilillIli,II1iiIl1[II1iiiI1(0x4d9,'XF)R')])){if(II1iiIl1['lhZLw']('YNTsX',II1iiIl1['vcMVe']))return new Promise(async i1iI11I1=>{const il1i1i11=II1iiiI1,illli11i={'WMlSB':II1iiIl1[il1i1i11(0x2b3,'69F4')],'spcxH':II1iiIl1[il1i1i11(0x367,'tXrA')]};$['get'](i1IIIIIi,(lIilIlIl,IiIl1lIl,ii1lIIi1)=>{const i1IiII11=il1i1i11;illli11i[i1IiII11(0x3ab,'sPY%')]!==illli11i[i1IiII11(0x475,'%4*c')]?i1iI11I1({'err':lIilIlIl,'res':IiIl1lIl,'data':ii1lIIi1}):(l11iIli1[i1IiII11(0x2dd,'!vXI')]=!![],illi[i1IiII11(0x1db,'sxI]')](i1IiII11(0x22a,'^PcG')+IIi1iIIl[i1IiII11(0x4a0,'f]TA')]));});});else I1ii1I1l[II1iiiI1(0x359,'ZQy(')]=i1lliIii[II1iiiI1(0x22e,'zfHD')];}else{const lIli11Ii=II1iiiI1(0x1cf,'QsX!');return{'err':lIli11Ii,'res':null,'data':null};}}}function Iliii1Il(){const iI1iiIIl=l1Ilil,iilIl1l={'RfCLa':function(iI1I11Il,iIIlIIII){return iI1I11Il===iIIlIIII;},'McCKU':iI1iiIIl(0x484,'^PcG'),'BoWqG':function(IlIli11,liiIiI11){return IlIli11+liiIiI11;},'YRvnE':iI1iiIIl(0x32e,'ZQy(')};return new Promise(async iIlIil11=>{const I1I1ilIi=iI1iiIIl,IiIl1i1i={'aAlEy':function(i1llIiIl,lIiIi1I){const l1I1lIli=IlIIliil;return iilIl1l[l1I1lIli(0x414,'@EYq')](i1llIiIl,lIiIi1I);},'ZTdxV':iilIl1l[I1I1ilIi(0x2fd,'bC6e')],'BqHDp':function(iIiIIil,II1lI1Il){const iI11i1l1=I1I1ilIi;return iilIl1l[iI11i1l1(0x415,'5DDh')](iIiIIil,II1lI1Il);},'eyQwg':iilIl1l[I1I1ilIi(0x249,'sPY%')]};$[I1I1ilIi(0x2d2,'Pz!K')]({'url':liiIllll,'timeout':{'request':0x1388}},(iilIlii1,I1l1l1I)=>{const IiliII1=I1I1ilIi;if(IiIl1i1i[IiliII1(0x434,'zfHD')]('aggJT',IiIl1i1i['ZTdxV']))iIli1i1[IiliII1(0x335,'ehct')]=![],IiiI1Ii['log'](IiliII1(0x3f2,'ZGU[')+I1lIIIIi+'g,'+l1III11I(0x5,0x64));else{if(I1l1l1I)try{let IlIll11i=/((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,iIII1i1=IlIll11i['exec'](I1l1l1I[IiliII1(0x460,'ytZG')]);I1lli1ll=iIII1i1[0x0],global[IiliII1(0x470,'QsX!')][IiliII1(0x2cb,'N6!A')]=IiIl1i1i[IiliII1(0x510,'f)##')](IiIl1i1i[IiliII1(0x492,'Yx7y')],I1lli1ll);}catch(iIiiI1i){}finally{iIlIil11();}}});});}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) }