mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-15 00:09:20 +08:00
22 lines
30 KiB
JavaScript
22 lines
30 KiB
JavaScript
/*
|
||
欢乐淘金(发财挖宝)助力
|
||
|
||
入口:特价APP —— 欢乐淘金
|
||
|
||
地址:
|
||
https://bnzf.jd.com/?activityId=CmPJ1svf_qoTYXEwfOkKPg
|
||
|
||
环境变量:
|
||
JD_FCWB_ID // 指定活动ID 不指定默认 APP入口 格式:CmPJ1svf_qoTYXEwfOkKPg
|
||
JD_FCWB_InviterId // 指定助力码 非必须,不填默认助力账号一 格式:inviterId&inviterCode
|
||
JD_FCWB_NUM // 指定人数 非必须,不填默认跑全部账号
|
||
|
||
cron:1 1 1 1 *
|
||
|
||
*/
|
||
|
||
const $ = new Env('欢乐淘金(发财挖宝)助力')
|
||
var iil='jsjiami.com.v7';const ilI1li=iii1II;if(function(I1i11i,I1i11l,llIlii,llIlil,IIlil,ilI1lI,IiiIll){return I1i11i=I1i11i>>0x6,ilI1lI='hs',IiiIll='hs',function(IIlii,IlI1il,IilliI,IlI1ii,lIIiii){const I1i111=iii1II;IlI1ii='tfi',ilI1lI=IlI1ii+ilI1lI,lIIiii='up',IiiIll+=lIIiii,ilI1lI=IilliI(ilI1lI),IiiIll=IilliI(IiiIll),IilliI=0x0;const iI1lli=IIlii();while(!![]&&--llIlil+IlI1il){try{IlI1ii=-parseInt(I1i111(0x1d2,'Hd9H'))/0x1*(parseInt(I1i111(0x1de,'ZDmz'))/0x2)+parseInt(I1i111(0x160,'HYbB'))/0x3*(parseInt(I1i111(0x149,'vjJj'))/0x4)+parseInt(I1i111(0x192,'GJyN'))/0x5+-parseInt(I1i111(0x171,'7](h'))/0x6*(parseInt(I1i111(0x10e,'v87K'))/0x7)+-parseInt(I1i111(0x1d6,'*M9n'))/0x8*(-parseInt(I1i111(0x1a2,'L3H7'))/0x9)+parseInt(I1i111(0x14a,'JP3M'))/0xa+-parseInt(I1i111(0x174,'Zts('))/0xb*(-parseInt(I1i111(0x1a4,'*cfV'))/0xc);}catch(ll1iI){IlI1ii=IilliI;}finally{lIIiii=iI1lli[ilI1lI]();if(I1i11i<=llIlil)IilliI?IIlil?IlI1ii=lIIiii:IIlil=lIIiii:IilliI=lIIiii;else{if(IilliI==IIlil['replace'](/[kfIDMTugpyCRFAtErWNeLHY=]/g,'')){if(IlI1ii===IlI1il){iI1lli['un'+ilI1lI](lIIiii);break;}iI1lli[IiiIll](lIIiii);}}}}}(llIlii,I1i11l,function(iI1lll,l1lIll,I1l1II,IIli1I,I1i11I,llIliI,I1l1I1){return l1lIll='\x73\x70\x6c\x69\x74',iI1lll=arguments[0x0],iI1lll=iI1lll[l1lIll](''),I1l1II=`\x72\x65\x76\x65\x72\x73\x65`,iI1lll=iI1lll[I1l1II]('\x76'),IIli1I=`\x6a\x6f\x69\x6e`,(0x16a8d5,iI1lll[IIli1I](''));});}(0x30c0,0x8ba2e,Iii11l,0xc5),Iii11l){}const notify=require(ilI1li(0x1e4,'*cfV')),jdCookie=require('./jdCookie'),common=require(ilI1li(0x1b9,'&qoK')),{H5st}=require(ilI1li(0x177,'*cfV'));console['log'](''),console[ilI1li(0x1cc,'HFVB')](ilI1li(0x120,'GJyN')+$[ilI1li(0x1c4,'HYbB')]+'变量说明=========='),console['log']('JD_FCWB_InviterId\x20//\x20指定助力码,不填默认助力账号一'),console['log'](ilI1li(0x1d7,'OL4y')),console['log'](ilI1li(0x183,'z@z)')+$[ilI1li(0x15c,'JP3M')]+ilI1li(0x179,'idMg')),console[ilI1li(0x10d,'YD&f')]('');const isNotify=process[ilI1li(0x1b3,'3pW&')]['JD_FCWB_Notify']===ilI1li(0x13f,'f[9E'),fcwbcode=process['env'][ilI1li(0x1b5,'JP3M')]||'',fcwbnum=process['env'][ilI1li(0x1d4,'zcbz')];let link=process[ilI1li(0x195,')3cA')]['JD_FCWB_ID']||ilI1li(0x13c,'d#2#');const WAIT='1';let waitTimes=parseInt(WAIT)*0x3e8;$[ilI1li(0x146,'IZmN')]=0x0,$[ilI1li(0x142,'idMg')]=![];let cookie='';const cookiesArr=Object[ilI1li(0x158,'T3iH')](jdCookie)[ilI1li(0x190,'z@z)')](iIIII1=>jdCookie[iIIII1])[ilI1li(0x1b1,'g4Fe')](i1l1ll=>i1l1ll);!cookiesArr[0x0]&&($[ilI1li(0x10a,'&qoK')]($[ilI1li(0x1e3,'@X9Y')],'【提示】请先获取Cookie'),process['exit'](0x1));!(async()=>{const IIliI=ilI1li,I1iIiI={'BYZfj':function(li1I1,i1ilil){return li1I1+i1ilil;},'mnhlS':'❖\x20当前设置活动ID为:','Sahkp':function(lilIii,i1ill1){return lilIii+i1ill1;},'gOFjd':function(iIIl1l,llIli1){return iIIl1l(llIli1);},'paSrb':IIliI(0x194,'IZmN'),'xViZn':function(iliIII){return iliIII();}};console[IIliI(0x1d8,'L46v')](I1iIiI['BYZfj'](I1iIiI[IIliI(0x135,')3cA')],link));fcwbnum?console[IIliI(0x18d,'f[9E')](IIliI(0x188,'6]j%')+fcwbnum+']'):console[IIliI(0x1cb,'7](h')](IIliI(0x150,'ZDmz'));if(fcwbcode){let iIIl1i=fcwbcode['split']('&');$[IIliI(0x19b,'d#2#')]=iIIl1i[0x0],$[IIliI(0x180,'0M*I')]=iIIl1i[0x1],console[IIliI(0x136,'@X9Y')](IIliI(0x10b,'9f14')+$['zdinviteCode']+']');}else console['log'](IIliI(0x11a,'7](h'));notify[IIliI(0x1be,'[[H*')]({'title':$[IIliI(0x17d,'5Wag')]});for(let I1lllI=0x0;I1lllI<cookiesArr[IIliI(0x1c6,'v87K')];I1lllI++){$['index']=I1iIiI[IIliI(0x12e,'HYbB')](I1lllI,0x1),cookie=cookiesArr[I1lllI],common[IIliI(0x17f,'zcbz')](cookie),$[IIliI(0x16e,'%g$!')]=I1iIiI['gOFjd'](decodeURIComponent,common[IIliI(0x1cd,'XE2#')](cookie,I1iIiI[IIliI(0x168,'d#2#')])),$['UA']=common[IIliI(0x1e0,'zfib')]($[IIliI(0x166,'*M9n')]),$[IIliI(0x1dc,'zfib')]=notify['create']($['index'],$['UserName']),$[IIliI(0x1a9,'Gbs(')]='',console[IIliI(0x155,'vS]6')](IIliI(0x1af,'HYbB')+$[IIliI(0x11c,'L46v')]+'】'+($[IIliI(0x164,'cjeE')]||$['UserName'])+IIliI(0x1bc,'T3iH')),await I1iIiI['xViZn'](Main),common[IIliI(0x1b8,'HYbB')]();if($[IIliI(0x1ce,')3cA')]||$['runEnd'])break;await $[IIliI(0x1e9,'HFVB')](parseInt(I1iIiI['Sahkp'](waitTimes*0x1,0x3e8),0xa));}isNotify&¬ify[IIliI(0x1f5,'zfib')]()&&(notify['appendContent']('\x0a'),await notify[IIliI(0x1c7,'Zts(')]());})()[ilI1li(0x184,'IZmN')](ill111=>$[ilI1li(0x17a,'RU25')](ill111))[ilI1li(0x118,'vS]6')](()=>$[ilI1li(0x17e,'%g$!')]());async function Main(){const ilI1ll=ilI1li,Iliil1={'IIlmT':function(i1III,Ii1iIi,iliIIl){return i1III(Ii1iIi,iliIIl);},'HagSw':function(Ii1iIl,iliIIi){return Ii1iIl==iliIIi;},'MOBAE':'⏺️\x20账号[1]获取助力信息'};$[ilI1ll(0x140,'9f14')]=!![],$['hotproxy']=![];try{if(fcwbcode)await Iliil1[ilI1ll(0x187,'6]j%')](happyDigHelp,$[ilI1ll(0x180,'0M*I')],$[ilI1ll(0x13b,')3cA')]);else{if(Iliil1[ilI1ll(0x19f,')ej]')]($[ilI1ll(0x1ea,'Zts(')],0x1)){console['log'](Iliil1[ilI1ll(0x1e7,'@!W2')]),await happyDigHome();if($['runEnd'])return;}else await Iliil1['IIlmT'](happyDigHelp,$[ilI1ll(0x133,'z@z)')],$[ilI1ll(0x19a,'cjeE')]);}}catch(ill11I){console[ilI1ll(0x1f1,'vjJj')](ilI1ll(0x165,'%g$!')+ill11I);}}async function happyDigHome(){const Iillii=ilI1li,Iliiil={'SRTrK':'happyDigHome','VKTTF':function(li1Il,li1Ii,Iliiii){return li1Il(li1Ii,Iliiii);},'MpNQF':function(i1illI,i1IIl){return i1illI+i1IIl;},'kMoel':function(I1lll1,i1IIi){return I1lll1*i1IIi;},'OGJvx':function(IIII1I,Iii111){return IIII1I(Iii111);},'pxgcM':Iillii(0x10f,'f[9E'),'hlTmg':function(l1l1II,Iil1I1){return l1l1II+Iil1I1;}};$[Iillii(0x12d,'LxfO')]='',$['happyDigHelpList']='',await sendRequest(Iliiil[Iillii(0x186,'L3H7')]);if($['runEnd'])return;await $[Iillii(0x185,'L46v')](Iliiil['VKTTF'](parseInt,Iliiil[Iillii(0x172,'d#2#')](Iliiil[Iillii(0x1a7,'0M*I')](waitTimes,0x1),0x3e8),0xa)),await Iliiil[Iillii(0x15e,'v87K')](sendRequest,Iliiil[Iillii(0x1b6,'cjeE')]),await $[Iillii(0x159,'d#2#')](parseInt(Iliiil[Iillii(0x19c,'idMg')](waitTimes*0x1,0x3e8),0xa)),$['happyDigHome']?.[Iillii(0x147,'Zts(')]?($['myinviteCode']=$['happyDigHome']?.[Iillii(0x16d,'zfib')],$['markedPin']=$['happyDigHome']?.[Iillii(0x109,'7](h')],$[Iillii(0x1a5,'f[9E')]=$[Iillii(0x11b,'EU0g')]?.['personNum']||0x0,console[Iillii(0x163,'[[H*')]('⏺️\x20已有助力人数:'+$[Iillii(0x131,'[Hqh')]+Iillii(0x1c8,'S0(h')+$[Iillii(0x1aa,'EU0g')]+'&'+$[Iillii(0x1b2,'*M9n')])):(console['log'](Iillii(0x1dd,'L3H7')),$['runEnd']=!![]);}async function happyDigHelp(Ii1iII,l1i11I){const IlI1iI=ilI1li,II11II={'jwqcx':IlI1iI(0x12f,'m*S^')};$[IlI1iI(0x19d,'HYbB')]=Ii1iII,$[IlI1iI(0x123,'LxfO')]=l1i11I,await sendRequest(II11II['jwqcx']);}function iii1II(_0x13240e,_0x71b0c7){const _0x14ad68=Iii11l();return iii1II=function(_0x2a0ca3,_0x2a56b9){_0x2a0ca3=_0x2a0ca3-0x109;let _0x3f2ef2=_0x14ad68[_0x2a0ca3];if(iii1II['ffXOrw']===undefined){var _0x5807a5=function(_0x52564c){const _0x4256c8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ed92c='',_0x5bba4c='';for(let _0x2d8224=0x0,_0x1bb5d6,_0x347a88,_0x44faa7=0x0;_0x347a88=_0x52564c['charAt'](_0x44faa7++);~_0x347a88&&(_0x1bb5d6=_0x2d8224%0x4?_0x1bb5d6*0x40+_0x347a88:_0x347a88,_0x2d8224++%0x4)?_0x3ed92c+=String['fromCharCode'](0xff&_0x1bb5d6>>(-0x2*_0x2d8224&0x6)):0x0){_0x347a88=_0x4256c8['indexOf'](_0x347a88);}for(let _0xc9ceea=0x0,_0x1f5f61=_0x3ed92c['length'];_0xc9ceea<_0x1f5f61;_0xc9ceea++){_0x5bba4c+='%'+('00'+_0x3ed92c['charCodeAt'](_0xc9ceea)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5bba4c);};const _0x1cdaa2=function(_0x84a76b,_0xf3dd23){let _0x2e214d=[],_0xf81b71=0x0,_0x109ecb,_0x251f5d='';_0x84a76b=_0x5807a5(_0x84a76b);let _0x318b8a;for(_0x318b8a=0x0;_0x318b8a<0x100;_0x318b8a++){_0x2e214d[_0x318b8a]=_0x318b8a;}for(_0x318b8a=0x0;_0x318b8a<0x100;_0x318b8a++){_0xf81b71=(_0xf81b71+_0x2e214d[_0x318b8a]+_0xf3dd23['charCodeAt'](_0x318b8a%_0xf3dd23['length']))%0x100,_0x109ecb=_0x2e214d[_0x318b8a],_0x2e214d[_0x318b8a]=_0x2e214d[_0xf81b71],_0x2e214d[_0xf81b71]=_0x109ecb;}_0x318b8a=0x0,_0xf81b71=0x0;for(let _0x5c91a8=0x0;_0x5c91a8<_0x84a76b['length'];_0x5c91a8++){_0x318b8a=(_0x318b8a+0x1)%0x100,_0xf81b71=(_0xf81b71+_0x2e214d[_0x318b8a])%0x100,_0x109ecb=_0x2e214d[_0x318b8a],_0x2e214d[_0x318b8a]=_0x2e214d[_0xf81b71],_0x2e214d[_0xf81b71]=_0x109ecb,_0x251f5d+=String['fromCharCode'](_0x84a76b['charCodeAt'](_0x5c91a8)^_0x2e214d[(_0x2e214d[_0x318b8a]+_0x2e214d[_0xf81b71])%0x100]);}return _0x251f5d;};iii1II['IaXLsy']=_0x1cdaa2,_0x13240e=arguments,iii1II['ffXOrw']=!![];}const _0x281bfa=_0x14ad68[0x0],_0x3b249e=_0x2a0ca3+_0x281bfa,_0x1f3e95=_0x13240e[_0x3b249e];return!_0x1f3e95?(iii1II['yLMdQl']===undefined&&(iii1II['yLMdQl']=!![]),_0x3f2ef2=iii1II['IaXLsy'](_0x3f2ef2,_0x2a56b9),_0x13240e[_0x3b249e]=_0x3f2ef2):_0x3f2ef2=_0x1f3e95,_0x3f2ef2;},iii1II(_0x13240e,_0x71b0c7);}function Iii11l(){const lIIiiI=(function(){return[...[iil,'fugjFNsLDjkHAiapmryi.tMWcotme.ICvYpE7TNR==','WPRcHmooW57cUh7dJCkhtILM','W4rDWOP8W6mmkSocW7O/fSoM','zSktWRG','W5XXWQ97h8ooW4G','WPm1W6fXWRa','uJ08zCkDW4RcJNPKW5KZWOK','WOddGSojvM4FiHdcR8ozWQmgW7ldGtro','WQ83W44','W47dG8oszmkUWRyfhCkfWPGAW4y','tYzbWQCk','W5X1WRn7cmo/W4ZdIuJdJ8oRaG','j8kMrG','WObWf8oOpCkwW4RdPH8','W50mqa','pCkyzmkKvrCRWPqFWP3cKhS','WORdISodA2q8','WOxdJCorsKq','WP3cGMe','aXezhqSQFCkjWPXaWP50u8o1WQRcN8k1g8kPWO3cMSorWPX+W5BdGxVcRCkrbt8rW4K','gaFdSCk3W5u','W5JdG8kvWORdQ3JdIW','W6RdPKpdN8kRW4K','WPldH8oqsgeYpXlcLq','uGRcGvldJhaNsSk4khf2g8oIlxxcUH/cOXFcLSot','fqaabq','WPJdR8kitCkDs8o1WPFcN09pjW','W7NcUmkrca','aehdQ8kaW5fVgrnJimkx','8kUzII0','W7tdSCkywCoZWRpcIq','fCkOlxVdPuekqSkOhCkEW78','jSkWvq','E8kkmCkaW5S','eCo9W6mvWPNcSv4','z8kDWQ0oWOvJqHxdQq','W5CkxW','uvrFrfv8kSkqWRLGWRGmta','WQFdKvPlFghcK8oRDSoFsSku','b0S6W6Hr','W58etmk2','W5dOR6lMSkFLPQROTBFdMokCMmkZ','bCkmWPlcOHm','cLvMW5FcKa','4P6/FEAELowHMEwfP+AmLowTK+s6JEAwKEwnPEMhJE+/TUM6JUISVEweLEI+UUwjMUwjNa','WOtdJmoE','W4hdH8owwmk2WOyjcCk5WRyhW5m9uCkICmkTCSod','W5BcJCkCW5K','jSkCj8o0WP1X','eKLy','WRpdOCkwsCkbyCoOW53cG1ntmG','4P2vW4hLVz7LIOFLIORLI6xLTQ3OVy/LIAZMJ7xLRA7LIRFLIj7KUyVMLyhVVABPGzhLHitVVka','W6pdQKddOq','zGBcUgW','kfldPI/dIZCjzSk9e0rS','W4RcSSos','W7VcIq8A','W4BdK8kfWPRdR2ZdNq','W4NcRSoQWOjQ','eGaBea86','lYPXWRKSW4FcIq','4P+ApUAFJEIdIUAUGUEGNowNO+EqOYe','jr91aNFcNSkhW6C+FK3dMh/cKhOvvbZdOW','rmknyW','W5umw8k8W6tdIrVdMW','4P22FoIfLUACUEI8ToIJGUMcOowiREs6QUMwR+IUSCoM','W7bEWOyGW4bdlCod','WRpdOCkwsCkbyCoOW53cG1ntmSo9dNVdOG','yqBcGMRcNW','b8kNsSkiCq','W5nUWQP7xCkBW4hdI2BdHSoMbSkaWOhcL3BdHa','bmkjm8oXWQ0','4PY/Fow8N+wjMowjJEwiLEw0LEI+O+wiNoAoSEwVHowjHEwkS+s6SUAuPo++IUMdUUwhJU+8QW','kXr3j2lcJ8kHW7SUwG','BY8Pz8kQW6/cING','W7JcJremlZBcNG','W4mSvCkXASomWRa','FNpcJSocWRhcMSoLd8kaF8oZ','xbFcN0NcUW'],...(function(){return[...['efxdPSk0W5vOdW','mSokW6LvW5njsINdRSoDtq','W4ldG8owDq','WPedW5q','BSo0WR3cSZXfbHP7EbRdItmWzNy','WRBdS8kb','5O2I56Ai57IC5P2eWOVdOmoqgsFcPcLIWPHR','W7D2WP4rWQnP','WPtcKCksjmoGW4jza8kEWQ85W5K8','W5vmWPeZW6nrbmohWQa9','W67cQbNdMW','xJmICa','W4hcICkCW7SYW4FdLYtcQa','mmkXshO+WQVdTwNcTglcOmkd','WR7dV8oswd1sAstdGmkpgMXV','zSk4WQdcPJThefKuAGhdM3K2tvpcUWGrwsZcL29karOnr25gWOPoW4hdSmkzWQfSe8oZW6eYhmkfimoucSocW53cPSoSWRbbaamPddjjt8o1W4SNWPvUv8oVWPTFcmoPj1XOhCoCW4fHW4FcH8oWW7pdGLxdLmkhW4CN','BCoCmmo3hKnIW4XHW48','gSo5W7SgWP8','g2mMW4K','W53cT2VcScm','iSkHWRNcGw8','4PY9W4JLTkFLOOFLHQlMJQxLRjxKUBhMLRFLJiVPHA7VVidMJO7LR73KUlhMLztcHgi','jWZcGvfyW6NcKSoBycfcWRy','dSkAWQFcOuJdHq','dqlcU8kdc0VdGCovWR1huSkLuCoQAwJcPZm9','CSoNgsrXW7pcUwpcOuZcG8kWW6u','W6hcPCkd','W5BdG8oqDCk6WOeOg8k5WPy','D2OV','pCkaFq','wmkQWRWgWO4','WR/dHmk2xCogW5ZdHrxdVbFcRCoJW5m','fCo3W6G','cCoSW5avWP7cQG','WO3dJCop','4PYzz+wkGowjL+AjQUwiICocwW','wgNcHCkpxq','WPVcHmkqW5hdQG','ySkiWQSvWPm9pvpdPSoaAmkQWRhdJMldNmoRtSkRlxv2kmoR','W5yesSk8W4/dJcBdL8kQ','AWpcUhBcI2OLsCkv','W5RdNSkBDSor','DsLFWQuoW7pcOw8TWQW','W6T4WOS1WRXOWOi4FCku','W7hcImoSW5n7','WRVdTSo6tga','WOddGSojvM4FiHdcR8ozWQmg','WRBdLWFdSLhdU8ofiCkQv8o5l8ka','j8kBzhBcUa','ECoTWQNcRJrTmN8','W73cR8kwhMujetZdOq','W7ZcKfhcHWBcRG','iCkytNeK','xuyFWROqvIi','lCkhnSosWQb3wf4','u8kymSkIWRDzW6BdQ8oT','W6VdOf3dTW','W4BcVSkpbN8','bXmBpbeU','W5ZcM8o5W69+','fM0dW6zqWRZdIow8GowMGUodMEs7JEs6HoI2LownHq','W5GmACknW4G','W7b3WOTdWOqa','W4HuWOO8W7HlnmodWPCZhCoU','W4rPW7m','W6xcVSkqhxLDCgBdRCkWoXvLW4KbmcRcHaCaeuRcLmkm','W5/cRd05dqBcUCoGCmoOBmkTW7CjWR7dIvi','W4SDx8k0W6C','ACktWRSa','AsLAWQKoW5xcJw8IWQae','reJcUSk7a1pdL8kjWPTJqmkWA8o8rhhcQH88dSkvWONdIG','W6lcImouWPu','W6VcRbhdJJ4XqSk8W7/dOG','WQlcPrpcUmoYWOtcQW','W67cJmomWOr8lmo0','s8knALJcVSkG','WObEaSonjq','axeO','W6ZdRK3dSW','4P24W6NLI7tLIPdMIOZLIPPdFG'],...(function(){return['oCk+WRBcJ1u','CIzeWQK','W77cG8o0bmkFWOVcMqRdLG','W6RcJmooWPnMmq','ESkjWQWn','eEkpV++5H8oy5yU85yQJ56gh77+c','W4ZdK8kcWQhcU3JdJa','4P+cW4xMNjxNNkFORP/MSOJdNq','iY7dKq','eCkMoG','WRZdPCksESkxsSoQW5pcRMbElSoeaG','WQ7dOmoUzfi1lW','W5/dGCkO','pttdMmkWW6NcIW','ywhcQa','W6GLW6pcPCkHkWO','W6JcIbZdNfi','W7JcQmk3W74EW7/dVHlcG0uR','udeUoXCQxq','WP11WOuCW6v6dW','W6hdSSkPWQ/dJvZdUSk5srjbWQhcJXFcS+AmH+wSO+s5NEAuQ++9SUs7HowGPEM4Q+IULUI0NowgRUMdUUI1G+wmPq','ag0O','nmkiWRNcTXe','W5xMN4/NN5RLIAVLI7pNIBZMG7WtW4zn','EaNcP3hcIwyJ','lX9YpxFcJCkh','4O2077UQh+AFQoIcLEAUQEEIK+IpUEwmQUwiPUwiL+wlOUEJS++9H+MbGoweVEAiU+IGI++/MG','W5bOWOKfW4GNWPf9WRVdT1JcTa','dxi/W5frWQ3cJCoHpcJcTd5yW4pcPfJcSthdHmokWOtdMSkcW57cTmk0W6VcQ2NdLmkVoCo1','jr9Vg1C','W7/cKSo3gmkuWP/cHa','lHvM','WP/cJgSq','BSo0WR3cSZXfbHP7EbRdItmWzK3cGquuFHJcUgLzbKfs','W6ZcPHm','WRBdS8kfyCkW','W5ldPCoGBMO','W5RcMmkCW4GUWPlcK2lcR34CASkjbCk2arb+WOS','cSkOnh8','y8ksWRSaWPG','WQnfiCobka','jZxdGSkfW7tdLCk/qCkRF8oJz8o6FddcGSkFWPX1WOvqf17cQSkZccuFWQxcNmo5WP/dT1zOW4BcOa','ECkPlq','cSk8DhpcKa','lmk0WQ8','aaGtpbeU','dG4o','hbtdTCkFW7a','WPVdLSoArxiOoa','o2nNW4BcSq','jr91a3pcMCkrW7uTwG','iIddHmkEW6lcI8oab8kN','bXtcQa','4PY1aow1T+wIVoweQEAmNowVPUwlIowkKEwoLUMeV++/JUw/G+wKQowlIEwlLmolWPO','WQ3dNLrpFr/cO8oQumoRvG','dCkAzG','WRtdNSksW4D4kmoTpmkWia','W6xcQ8kuhxmJnI7dHmkLpKTeWO4yia','WQ3ORidMS4tLPzZOT5tdJokDReZMLy/LKOlLUBFML6NMJ6O','W4LOW7ekamo1WRddKq','grpcVCkMbfJdJCoaWRa','W5RdL8kUF8otWQ/cNG','rCkryW','WPxcJhiu','ESkFoe7cQG','DbxcO1xcJMq','ge9rW4tcKaJcTa','fJiyasy','4PYzyEAENowINUweNUApQowSIUwlH+wjKUwpIEMfLU+8JEw/LowNNEwlVEwiT+I3MUwmHepcM2q','vSkymmk5WQT5W5/dPColvmkoWQesF8krFG','bwWRW5Ha','cg3dS8kbW7y','W7pdHCof','ir83lsq','WRddISk7umomW5hdJvhcKNi','pdtdLCkwW6lcNmoJ','uJ08zCkDW4RcJNPKW5mYWPW','W4/dJmouFCkJWPCE','gblcOCkkbfS'];}())];}())];}());Iii11l=function(){return lIIiiI;};return Iii11l();};async function handleResponse(Ii1iI1,lilIli){const Iillil=ilI1li,Iliili={'koUpI':Iillil(0x156,'XE2#'),'oKBcb':function(Iliill,IIII11){return Iliill===IIII11;},'lbxON':function(i1illi,i1illl){return i1illi===i1illl;},'EEXcM':function(I1llil,I1llii){return I1llil<=I1llii;},'SUCjw':function(lilIll,l1i111){return lilIll===l1i111;},'ciQZb':function(iliII1,II11I1){return iliII1===II11I1;},'GgfHC':'happyDigHelpList','tfxxw':function(Iii11I,Iil1II){return Iii11I===Iil1II;}};try{switch(Ii1iI1){case Iliili['koUpI']:if(Iliili['oKBcb'](lilIli?.['code'],0x0)&&Iliili['lbxON'](lilIli?.[Iillil(0x139,'OL4y')],!![])){$['happyDigHelp']=lilIli;switch($[Iillil(0x1a1,')3cA')]?.[Iillil(0x173,'9f14')]){case![]:console[Iillil(0x1d1,'G)XX')]('❎\x20'+lilIli[Iillil(0x1ad,'vjJj')]);break;case!![]:if(fcwbcode){$[Iillil(0x1bd,'v87K')]++,console[Iillil(0x127,'Zts(')](Iillil(0x196,'HYbB')+$[Iillil(0x128,'m*S^')]+']');if(fcwbnum){if(Iliili[Iillil(0x1f4,'vS]6')](fcwbnum,$[Iillil(0x1bd,'v87K')])){console['log'](Iillil(0x16c,'%g$!')),$['FCWBEnd']=!![];return;}}}else{$['personNum']++,console[Iillil(0x18f,'S0(h')](Iillil(0x1c2,'HFVB')+$['personNum']+']');if(fcwbnum){if(fcwbnum<=$['personNum']){console[Iillil(0x1cc,'HFVB')](Iillil(0x157,'z@z)')),$[Iillil(0x1a8,'S0(h')]=!![];return;}}}break;default:{console[Iillil(0x193,'IZmN')](Iillil(0x1da,'L3H7')+$[Iillil(0x189,'^p]e')]+']'),$[Iillil(0x111,'3pW&')]=!![];break;}}}else{if(lilIli[Iillil(0x175,'LxfO')]?.['bizMsg'])console[Iillil(0x18f,'S0(h')]('>\x20'+lilIli['errMsg']);else{if(lilIli[Iillil(0x154,'Gbs(')])console['log']('>\x20'+lilIli['errMsg']);else lilIli[Iillil(0x130,'0M*I')]?console['log']('>\x20'+lilIli[Iillil(0x1c0,'L46v')]):console[Iillil(0x1ef,'*cfV')]('❓'+Ii1iI1+'\x20'+JSON[Iillil(0x112,'&qoK')](lilIli));}}break;case'happyDigHome':if(Iliili[Iillil(0x1f2,'7](h')](lilIli?.[Iillil(0x1ab,'T3iH')],0x0)&&Iliili[Iillil(0x1b0,'cjeE')](lilIli?.[Iillil(0x121,'7](h')],!![]))$[Iillil(0x143,'HFVB')]=lilIli[Iillil(0x153,'zcbz')];else{if(lilIli['data']?.[Iillil(0x13a,'T3iH')])console[Iillil(0x1e2,'zfib')]('>\x20'+lilIli['data']?.[Iillil(0x134,')3cA')]+'}');else{if(lilIli[Iillil(0x18a,'6]j%')])$[Iillil(0x1a6,'L3H7')]=!![],console[Iillil(0x1ed,'q4Hk')]('>\x20'+lilIli['errMsg']);else lilIli[Iillil(0x1cf,'idMg')]?console[Iillil(0x148,'cjeE')]('>\x20'+lilIli[Iillil(0x178,'XE2#')]):console[Iillil(0x127,'Zts(')]('❓'+Ii1iI1+'\x20'+JSON[Iillil(0x1c5,'GJyN')](lilIli));}}break;case Iliili[Iillil(0x16b,'Gbs(')]:if(Iliili[Iillil(0x1a0,')3cA')](lilIli?.[Iillil(0x1b7,'Zts(')],0x0)&&Iliili['tfxxw'](lilIli?.['success'],!![]))$[Iillil(0x167,'XE2#')]=lilIli[Iillil(0x1c1,'T3iH')];else{if(lilIli['data']?.[Iillil(0x1f0,'vjJj')])console[Iillil(0x11e,'@!W2')]('>\x20'+lilIli[Iillil(0x115,'@X9Y')]?.[Iillil(0x134,')3cA')]);else{if(lilIli[Iillil(0x117,'d#2#')])$[Iillil(0x124,'&qoK')]=!![],console[Iillil(0x151,')3cA')]('>\x20'+lilIli[Iillil(0x154,'Gbs(')]);else lilIli['msg']?console[Iillil(0x193,'IZmN')]('>\x20'+lilIli[Iillil(0x114,'[[H*')]):console['log']('❓'+Ii1iI1+'\x20'+JSON['stringify'](lilIli));}}break;}}catch(iIIl1I){console[Iillil(0x10d,'YD&f')](Iillil(0x161,'g4Fe')+Ii1iI1+'\x20请求响应\x20'+(iIIl1I[Iillil(0x15d,'OL4y')]||iIIl1I));}}async function sendRequest(I1iIli){const l1lIli=ilI1li,lI1Ill={'kMvVF':l1lIli(0x11f,'zfib'),'SPDZz':l1lIli(0x12d,'LxfO'),'RVccn':'activities_platform','kIuUi':'ios','WFGBR':l1lIli(0x176,'*M9n'),'oYrhI':l1lIli(0x12b,')3cA'),'FnePA':l1lIli(0x198,'OL4y'),'tSqpD':l1lIli(0x122,'%g$!'),'IhKgH':l1lIli(0x199,'Zts('),'Ktkku':l1lIli(0x170,'[Hqh'),'ftiUy':l1lIli(0x129,'ZDmz'),'rHQPQ':l1lIli(0x16a,'m*S^'),'pKgVw':'zh-cn','UgJEb':l1lIli(0x1bb,'5Wag'),'mscXH':l1lIli(0x137,'vjJj'),'vHmoj':l1lIli(0x1e8,'zcbz'),'EWZeF':'h5_1.0.0','TGiSb':function(l1lIlI,IiiIl1){return l1lIlI===IiiIl1;},'hAhbA':l1lIli(0x13e,'XE2#'),'tsYrl':function(lIIil1,IIli1,II1liI){return lIIil1(IIli1,II1liI);},'givai':function(IlI1i1,l1lIl1){return IlI1i1>=l1lIl1;}};if($[l1lIli(0x1d0,'7](h')])return;let lI1Ili='',IliilI=null,i1II1=null,iIIl11=l1lIli(0x144,'YD&f'),l1l1I1={},I1iIll={};switch(I1iIli){case l1lIli(0x12a,'%g$!'):I1iIll={'appId':lI1Ill[l1lIli(0x11d,'9f14')],'functionId':lI1Ill[l1lIli(0x1eb,'[Hqh')],'appid':lI1Ill['RVccn'],'clientVersion':common[l1lIli(0x162,'zfib')](),'client':lI1Ill[l1lIli(0x1ee,'YD&f')],'body':{'linkId':link},'version':lI1Ill[l1lIli(0x138,'7](h')],'ua':$['UA'],'t':!![]},l1l1I1=await H5st[l1lIli(0x1c9,'OL4y')](I1iIll),lI1Ili='https://api.m.jd.com/api',i1II1=l1l1I1[l1lIli(0x19e,'RU25')];break;case lI1Ill[l1lIli(0x116,'q4Hk')]:I1iIll={'appId':lI1Ill[l1lIli(0x1a3,'YD&f')],'functionId':l1lIli(0x11b,'EU0g'),'appid':lI1Ill[l1lIli(0x1c3,'6]j%')],'clientVersion':common[l1lIli(0x152,'LxfO')](),'client':lI1Ill[l1lIli(0x14b,'L46v')],'body':{'pageNum':0x1,'pageSize':0x32,'linkId':link},'version':l1lIli(0x12c,'RU25'),'ua':$['UA'],'t':!![]},l1l1I1=await H5st['getH5st'](I1iIll),lI1Ili=l1lIli(0x1b4,'f[9E'),i1II1=l1l1I1[l1lIli(0x18e,'LxfO')];break;case lI1Ill[l1lIli(0x1d9,'*cfV')]:I1iIll={'appId':l1lIli(0x145,'Gbs('),'functionId':lI1Ill[l1lIli(0x119,'vjJj')],'appid':lI1Ill[l1lIli(0x191,'Zts(')],'clientVersion':common[l1lIli(0x18b,'&qoK')](),'client':lI1Ill['kIuUi'],'body':{'linkId':link,'inviter':$[l1lIli(0x1db,'d#2#')],'inviteCode':$['inviteCode']},'version':lI1Ill[l1lIli(0x169,'z@z)')],'ua':$['UA'],'t':!![]},l1l1I1=await H5st['getH5st'](I1iIll),lI1Ili=lI1Ill['IhKgH'],i1II1=l1l1I1[l1lIli(0x17c,'*M9n')];break;default:console[l1lIli(0x1e5,'5Wag')](l1lIli(0x1ca,'L3H7')+I1iIli);return;}const I1lliI={'uuid':'-1','build':'-1','screen':lI1Ill[l1lIli(0x1ac,'f[9E')],'networkType':'-1','d_brand':'-1','d_model':'-1','lang':lI1Ill['ftiUy'],'osVersion':'-1','partner':'-1','cthr':'1'};IliilI&&(IliilI={...IliilI,...I1lliI});i1II1&&(i1II1={...i1II1,...I1lliI});const llIllI={'url':lI1Ili,'method':iIIl11,'headers':{'Accept':l1lIli(0x1df,'L46v'),'Accept-Encoding':lI1Ill['rHQPQ'],'Accept-Language':lI1Ill[l1lIli(0x1bf,'[Hqh')],'Connection':lI1Ill[l1lIli(0x197,'G)XX')],'Content-Type':lI1Ill[l1lIli(0x1e6,'XE2#')],'Cookie':cookie,'Host':l1lIli(0x126,'*M9n'),'Referer':l1lIli(0x1ec,'7](h')+link+l1lIli(0x182,'*cfV'),'Origin':lI1Ill['vHmoj'],'x-rp-client':lI1Ill[l1lIli(0x14e,'*cfV')],'User-Agent':$['UA']},'params':i1II1,'data':IliilI,'timeout':0x4e20};lI1Ill['TGiSb'](iIIl11,l1lIli(0x15b,'GJyN'))&&(delete llIllI['data'],delete llIllI[l1lIli(0x113,'idMg')][lI1Ill[l1lIli(0x1d3,'5Wag')]]);!i1II1&&delete llIllI[l1lIli(0x15f,'vjJj')];const I1ilI1=0x1;let iillll=0x0,lIIilI=null,II1li1=![];while(iillll<I1ilI1){iillll>0x0&&await $[l1lIli(0x13d,'vjJj')](0x3e8);const IiiIlI=await common[l1lIli(0x1e1,'GJyN')](llIllI);if(!IiiIlI[l1lIli(0x1f3,')3cA')]){lIIilI=l1lIli(0x141,'z@z)')+I1iIli+l1lIli(0x14d,'[Hqh')+IiiIlI[l1lIli(0x1ae,')ej]')],iillll++;continue;}if(!IiiIlI?.[l1lIli(0x14c,'cjeE')]){lIIilI='🚫\x20'+I1iIli+l1lIli(0x110,'GJyN'),iillll++;continue;}lI1Ill[l1lIli(0x14f,'vS]6')](handleResponse,I1iIli,IiiIlI[l1lIli(0x1ba,'v87K')]),II1li1=![];break;}lI1Ill['givai'](iillll,I1ilI1)&&(console[l1lIli(0x1d8,'L46v')](lIIilI),II1li1&&($['outFlag']=!![],$['message']&&$[l1lIli(0x16f,'JP3M')][l1lIli(0x132,'cjeE')](lIIilI)));}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) }
|