9 lines
31 KiB
JavaScript
9 lines
31 KiB
JavaScript
/*
|
||
专属礼
|
||
|
||
6 10 * * * jd_jingBeanReceive.js
|
||
|
||
*/
|
||
var _0xodg='jsjiami.com.v6',_0xodg_=['_0xodg'],_0x1216=[_0xodg,'bmlja05hbWU=','bWF4UGFnZQ==','REJHb2s=','CioqKioqKuW8gOWni+OAkOS6rOS4nOi0puWPtw==','KioqKioqKioqCg==','44CQ5o+Q56S644CRY29va2ll5bey5aSx5pWI','5Lqs5Lic6LSm5Y+3','Cuivt+mHjeaWsOeZu+W9leiOt+WPlgpodHRwczovL2JlYW4ubS5qZC5jb20vYmVhbi9zaWduSW5kZXguYWN0aW9u','dGltZQ==','Y2F0Y2g=','LCDlpLHotKUhIOWOn+WboDog','ZmluYWxseQ==','ZG9uZQ==','SnVVU1c=','elRTZGc=','dVhNTGE=','dEVvRUI=','VVBwclU=','dWN0anU=','WVRIUnc=','bXR5cHk=','YklGUFg=','ZU5XZHY=','YXhLUVU=','Z2V0Sm95SW5mbw==','Ym9keT0lN0IlMjJmaXJzdFR5cGUlMjIlM0EtMTAwJTJDJTIycGx1Z2luX3ZlcnNpb24lMjIlM0E5MDU1OCU3RCZjbGllbnQ9YXBwbGUmY2xpZW50VmVyc2lvbj0xMS4wLjImc3Q9MTY1ODA0NTA1MjcyNSZzdj0xMDImZXA9JTdCJTIyY2lwaGVydHlwZSUyMiUzQTUlMkMlMjJjaXBoZXIlMjIlM0ElN0IlMjJzY3JlZW4lMjIlM0ElMjJDSk95RElleUROQzIlMjIlMkMlMjJ3aWZpQnNzaWQlMjIlM0ElMjJaSnV5RDJTeUNXVHdZSnEyRE5VMlpOcnVFV1RzWXpTbkN0YzRDTlZzWUp1JTNEJTIyJTJDJTIyb3NWZXJzaW9uJTIyJTNBJTIyQ0pHa0NLJTNEJTNEJTIyJTJDJTIyYXJlYSUyMiUzQSUyMkNKUHBDSlVtWHpVbkR0U3pYek95RHpLMCUyMiUyQyUyMm9wZW51ZGlkJTIyJTNBJTIyWTJZNUNRWW1DSnV6Q3pxM0N3RzJaTlZ0WXRPekN6R25aTlB2Q3pxM0QySHZDSkNuRUpIdUVLJTNEJTNEJTIyJTJDJTIydXVpZCUyMiUzQSUyMlkyWTVDUVltQ0p1ekN6cTNDd0cyWk5WdFl0T3pDekduWk5QdkN6cTNEMkh2Q0pDbkVKSHVFSyUzRCUzRCUyMiU3RCUyQyUyMnRzJTIyJTNBMTY1ODA0NTA1MjcyNSUyQyUyMmhkaWQlMjIlM0ElMjJKTTlGMXl3VVB3Zmx2TUlwWVBvazB0dDVrOWtXNEFySkVVM2xmTGh4QnF3JTNEJTIyJTJDJTIydmVyc2lvbiUyMiUzQSUyMjEuMC4zJTIyJTJDJTIyYXBwbmFtZSUyMiUzQSUyMmNvbS4zNjBidXkuamRtb2JpbGUlMjIlMkMlMjJyaWR4JTIyJTNBLTElN0QmZWY9MSZzaWduPWJmOTVmNDJmNmIzZDA2MDc2YzNmNDBkZmQ5MmI0ZTdi','blhvcXY=','U0F5c0Y=','RGdaWHc=','TE9iUnA=','Vmp0TXY=','aVBIU1I=','WVphREg=','cmdrbVc=','alRZWEs=','dHlxRVk=','dE1wdFU=','eWNMbVQ=','bk55SGM=','Rm9paW4=','cG9zdA==','dUtjeVU=','V3JqWlI=','dGhCVWg=','WEdGY0k=','IEFQSeivt+axguWksei0pe+8jOivt+ajgOafpee9kei3r+mHjeivlQ==','cGFyc2U=','TWJoVEc=','SnRUS0s=','c3RyaW5naWZ5','TXRRV2E=','SWplRFQ=','dFh5cVQ=','REZFZWU=','bU1yRXo=','dkFSZHk=','WVZaY3E=','ekJ0U00=','UmdrWlg=','bGZPR3M=','QVlDVVk=','c1VRSVE=','d2luZG93c0NvbnRlbnQ=','bG9nRXJy','cmZBQUk=','TW5wSmg=','c3lHVXQ=','ZEtwaEk=','eVRJUk8=','TldvWUQ=','Rmp3QXI=','amluZ0JlYW5SZWNlaXZl','Ym9keT0lN0IlMjJlbmNyeXB0QXNzaWdubWVudElkJTIyJTNBJTIyNmJ6Y3U4Wk5QSEZodVdaQzU1TWhMZ0pDUGlXJTIyJTJDJTIyZmlyc3RUeXBlJTIyJTNBLTEwMCUyQyUyMnBsdWdpbl92ZXJzaW9uJTIyJTNBOTA1NTglN0QmY2xpZW50PWFwcGxlJmNsaWVudFZlcnNpb249MTEuMC4yJnN0PTE2NTgwNDUwNTMwNjgmc3Y9MTExJmVwPSU3QiUyMmNpcGhlcnR5cGUlMjIlM0E1JTJDJTIyY2lwaGVyJTIyJTNBJTdCJTIyc2NyZWVuJTIyJTNBJTIyQ0pPeURJZXlETkMyJTIyJTJDJTIyd2lmaUJzc2lkJTIyJTNBJTIyWXRTNUNKUzREdEsyWUpjbUROWndEMlMyQ05PMlpXT3pFV0cwRU5VMlpOWSUzRCUyMiUyQyUyMm9zVmVyc2lvbiUyMiUzQSUyMkNKVWtDSyUzRCUzRCUyMiUyQyUyMmFyZWElMjIlM0ElMjJDdFpwQ0pZMlh6U21EektuWHpPMkRKYzMlMjIlMkMlMjJvcGVudWRpZCUyMiUzQSUyMkRXVnRZdENtRHRTNENXUzNESlV6RHpQdVp0QzFFSnExRVFad1l6UzJDdGM0Wk5HblpKR3paRyUzRCUzRCUyMiUyQyUyMnV1aWQlMjIlM0ElMjJEV1Z0WXRDbUR0UzRDV1MzREpVekR6UHVadEMxRUpxMUVRWndZelMyQ3RjNFpOR25aSkd6WkclM0QlM0QlMjIlN0QlMkMlMjJ0cyUyMiUzQTE2NTgwNDUwNTMwNjglMkMlMjJoZGlkJTIyJTNBJTIySk05RjF5d1VQd2Zsdk1JcFlQb2swdHQ1azlrVzRBckpFVTNsZkxoeEJxdyUzRCUyMiUyQyUyMnZlcnNpb24lMjIlM0ElMjIxLjAuMyUyMiUyQyUyMmFwcG5hbWUlMjIlM0ElMjJjb20uMzYwYnV5LmpkbW9iaWxlJTIyJTJDJTIycmlkeCUyMiUzQS0xJTdEJmVmPTEmc2lnbj01YTIxYTZmMjE4MDc2NWYzNDg1MTIzNTdjNjdiOGY1Yg==','TmJqdmQ=','QktNeEE=','Zmp1Qm8=','am9qS28=','aEZlWkY=','aUxZWGE=','cXdZTHY=','V29vSUw=','QkZCcGM=','TFJCTlY=','bW5pRVk=','cE5IRFI=','RHdDWXk=','YmxDb2s=','VFhVTm8=','WktiSnM=','ZndmU2Q=','ZE9HZXc=','UkFLZGw=','dUZlSUU=','Q3h0dGI=','akFpS28=','RGVxSlo=','aW5XTGw=','d3pVWkU=','Y29kZQ==','aXNTdWNjZXNz','aWFkanA=','dG9Wdkw=','c0dkQlU=','alJURk4=','bWVzc2FnZQ==','a255Z0s=','c0pqZWM=','WVRHWmQ=','T29QQWo=','YXBpLm0uamQuY29t','YXBwbGljYXRpb24veC13d3ctZm9ybS11cmxlbmNvZGVk','Ki8q','emgtSGFucy1DTjtxPTE=','aHR0cHM6Ly9hcGkubS5qZC5jb20vY2xpZW50LmFjdGlvbj9mdW5jdGlvbklkPQ==','UXpTclo=','UHJXS2o=','eXJLWEM=','QVNWeXI=','SXBBUWc=','c3JXY0s=','eGdvbVY=','cmFuZG9t','SWpxTmI=','TmhsTWY=','bFdkYUM=','RG5LWlo=','VGlIU3U=','cmV0Y29kZQ==','YmFzZQ==','SnR6SVg=','UkdSUEg=','cWROc1E=','YXBwbGljYXRpb24vanNvbix0ZXh0L3BsYWluLCAqLyo=','Z3ppcCwgZGVmbGF0ZSwgYnI=','emgtY24=','a2VlcC1hbGl2ZQ==','aHR0cHM6Ly93cXMuamQuY29tL215L2ppbmdkb3UvbXkuc2h0bWw/c2NlbmV2YWw9Mg==','TW96aWxsYS81LjAgKGlQaG9uZTsgQ1BVIGlQaG9uZSBPUyAxNF8zIGxpa2UgTWFjIE9TIFgpIEFwcGxlV2ViS2l0LzYwNS4xLjE1IChLSFRNTCwgbGlrZSBHZWNrbykgVmVyc2lvbi8xNC4wLjIgTW9iaWxlLzE1RTE0OCBTYWZhcmkvNjA0LjE=','WHNaWXM=','Yk9mV2Y=','eHNUR2k=','UkJQaXg=','UkpxdVU=','aHR0cHM6Ly93cS5qZC5jb20vdXNlci9pbmZvL1F1ZXJ5SkRVc2VySW5mbz9zY2VuZXZhbD0y','allZYWk=','ZmN4SlE=','ZFRZREQ=','ZEJiRUc=','QkFCTkc=','aFZOdUw=','ZFBtZkY=','UmtDckg=','Y1ZVcE8=','d3lOaFk=','a1VYa3M=','bmlja25hbWU=','cndUZHY=','QXZiUU8=','WGh0bHg=','WlFvWGU=','b3dTdVg=','eklNVHM=','VUlCVXM=','WVlYRWg=','5Lqs5Lic5pyN5Yqh5Zmo6L+U5Zue56m65pWw5o2u','aWhrbXM=','dG96ZGg=','cmVwbGFjZQ==','ZFNqaHc=','bHZwZmo=','RlVOYVk=','RVRlWkI=','dG9TdHJpbmc=','dG9VcHBlckNhc2U=','5LiT5bGe56S8','aXNOb2Rl','Li9zZW5kTm90aWZ5','Li9qZENvb2tpZS5qcw==','a2V5cw==','Zm9yRWFjaA==','cHVzaA==','ZW52','SkRfREVCVUc=','ZmFsc2U=','bG9n','Z2V0ZGF0YQ==','Q29va2llSkQ=','Q29va2llSkQy','Q29va2llc0pE','bWFw','Y29va2ll','ZmlsdGVy','amluZ0JlYW4=','alZ4WW0=','44CQ5o+Q56S644CR6K+35YWI6I635Y+W5Lqs5Lic6LSm5Y+35LiAY29va2llCuebtOaOpeS9v+eUqE5vYnlEYeeahOS6rOS4nOetvuWIsOiOt+WPlg==','aHR0cHM6Ly9iZWFuLm0uamQuY29tL2JlYW4vc2lnbkluZGV4LmFjdGlvbg==','eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA==','dnlIbEU=','YUhOS3E=','bXNn','bmFtZQ==','bWNoQVc=','YXNVcko=','Zmxvb3Jz','d1RiZVY=','bUlk','aFRYWFc=','ZW5jcnlwdEFzc2lnbm1lbnRJZA==','ZGF0YQ==','amluZ0JlYW5JbmZv','bWZsTkU=','VUF5d2E=','cHN1V2U=','bGVuZ3Ro','amRhcHA7aVBob25lOzEwLjAuODsxNC42Ow==','O25ldHdvcmsvd2lmaTtKREVib29rL29wZW5hcHAuamRyZWFkZXI7bW9kZWwvaVBob25lOSwyO2FkZHJlc3NpZC8yMjE0MjIyNDkzO2FwcEJ1aWxkLzE2ODg0MTtqZFN1cHBvcnREYXJrTW9kZS8wO01vemlsbGEvNS4wIChpUGhvbmU7IENQVSBpUGhvbmUgT1MgMTRfNiBsaWtlIE1hYyBPUyBYKSBBcHBsZVdlYktpdC82MDUuMS4xNSAoS0hUTUwsIGxpa2UgR2Vja28pIE1vYmlsZS8xNkUxNTg7c3VwcG9ydEpEU0hXSy8x','VXNlck5hbWU=','bWF0Y2g=','aW5kZXg=','VWlQRmg=','aXNMb2dpbg==','jsjiamiH.RNucom.TvH6SJgZuALyE=='];if(function(_0x571b5c,_0x4dbbea,_0x20e515){function _0xc436cb(_0x5e22b7,_0x452ba6,_0x25b4f6,_0x1eac1b,_0x52ccec,_0x4f4580){_0x452ba6=_0x452ba6>>0x8,_0x52ccec='po';var _0x1f9228='shift',_0x5de58e='push',_0x4f4580='';if(_0x452ba6<_0x5e22b7){while(--_0x5e22b7){_0x1eac1b=_0x571b5c[_0x1f9228]();if(_0x452ba6===_0x5e22b7&&_0x4f4580===''&&_0x4f4580['length']===0x1){_0x452ba6=_0x1eac1b,_0x25b4f6=_0x571b5c[_0x52ccec+'p']();}else if(_0x452ba6&&_0x25b4f6['replace'](/[HRNuTHSJgZuALyE=]/g,'')===_0x452ba6){_0x571b5c[_0x5de58e](_0x1eac1b);}}_0x571b5c[_0x5de58e](_0x571b5c[_0x1f9228]());}return 0xf78d9;};return _0xc436cb(++_0x4dbbea,_0x20e515)>>_0x4dbbea^_0x20e515;}(_0x1216,0x18b,0x18b00),_0x1216){_0xodg_=_0x1216['length']^0x18b;};function _0x22d4(_0x18a028,_0x2a0c42){_0x18a028=~~'0x'['concat'](_0x18a028['slice'](0x1));var _0x576e91=_0x1216[_0x18a028];if(_0x22d4['AjSsba']===undefined&&''['length']===0x1){(function(){var _0xd5f5a5=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x337fb3='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0xd5f5a5['atob']||(_0xd5f5a5['atob']=function(_0x295852){var _0x1f9c32=String(_0x295852)['replace'](/=+$/,'');for(var _0x184bbf=0x0,_0x472345,_0x1487d1,_0x30ef41=0x0,_0x3945c8='';_0x1487d1=_0x1f9c32['charAt'](_0x30ef41++);~_0x1487d1&&(_0x472345=_0x184bbf%0x4?_0x472345*0x40+_0x1487d1:_0x1487d1,_0x184bbf++%0x4)?_0x3945c8+=String['fromCharCode'](0xff&_0x472345>>(-0x2*_0x184bbf&0x6)):0x0){_0x1487d1=_0x337fb3['indexOf'](_0x1487d1);}return _0x3945c8;});}());_0x22d4['ASOQYE']=function(_0x597564){var _0x5c295a=atob(_0x597564);var _0x87b557=[];for(var _0x12ccde=0x0,_0x16ec0f=_0x5c295a['length'];_0x12ccde<_0x16ec0f;_0x12ccde++){_0x87b557+='%'+('00'+_0x5c295a['charCodeAt'](_0x12ccde)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x87b557);};_0x22d4['DMDREG']={};_0x22d4['AjSsba']=!![];}var _0x92f24=_0x22d4['DMDREG'][_0x18a028];if(_0x92f24===undefined){_0x576e91=_0x22d4['ASOQYE'](_0x576e91);_0x22d4['DMDREG'][_0x18a028]=_0x576e91;}else{_0x576e91=_0x92f24;}return _0x576e91;};const $=new Env(_0x22d4('0'));const notify=$[_0x22d4('1')]()?require(_0x22d4('2')):'';const jdCookieNode=$[_0x22d4('1')]()?require(_0x22d4('3')):'';const fs=require('fs');let cookiesArr=[],cookie='';if($[_0x22d4('1')]()){Object[_0x22d4('4')](jdCookieNode)[_0x22d4('5')](_0x3fd5a4=>{cookiesArr[_0x22d4('6')](jdCookieNode[_0x3fd5a4]);});if(process[_0x22d4('7')][_0x22d4('8')]&&process[_0x22d4('7')][_0x22d4('8')]===_0x22d4('9'))console[_0x22d4('a')]=()=>{};}else{cookiesArr=[$[_0x22d4('b')](_0x22d4('c')),$[_0x22d4('b')](_0x22d4('d')),...jsonParse($[_0x22d4('b')](_0x22d4('e'))||'[]')[_0x22d4('f')](_0x1daed7=>_0x1daed7[_0x22d4('10')])][_0x22d4('11')](_0x3de35e=>!!_0x3de35e);}!(async()=>{var _0x277ec5={'wTbeV':function(_0x28c6e3,_0x5b0635){return _0x28c6e3===_0x5b0635;},'hTXXW':_0x22d4('12'),'vyHlE':function(_0x2909c0,_0x50da36){return _0x2909c0===_0x50da36;},'aHNKq':_0x22d4('13'),'mchAW':_0x22d4('14'),'asUrJ':_0x22d4('15'),'mflNE':function(_0x508d1c,_0x2122b3){return _0x508d1c(_0x2122b3);},'UAywa':_0x22d4('16'),'psuWe':function(_0x15de42,_0x3198b0){return _0x15de42<_0x3198b0;},'UiPFh':function(_0xd4c434,_0x48e6cf){return _0xd4c434+_0x48e6cf;},'DBGok':function(_0x280fdd){return _0x280fdd();}};if(!cookiesArr[0x0]){if(_0x277ec5[_0x22d4('17')](_0x277ec5[_0x22d4('18')],_0x277ec5[_0x22d4('18')])){$[_0x22d4('19')]($[_0x22d4('1a')],_0x277ec5[_0x22d4('1b')],_0x277ec5[_0x22d4('1c')],{'open-url':_0x277ec5[_0x22d4('1c')]});return;}else{for(const _0x12e363 of data[_0x22d4('1d')]){if(_0x277ec5[_0x22d4('1e')](_0x12e363[_0x22d4('1f')],_0x277ec5[_0x22d4('20')])){$[_0x22d4('21')]=_0x12e363[_0x22d4('22')][_0x22d4('23')][_0x22d4('21')];}}}}UUID=_0x277ec5[_0x22d4('24')](getUUID,_0x277ec5[_0x22d4('25')]);for(let _0xded5d3=0x0;_0x277ec5[_0x22d4('26')](_0xded5d3,cookiesArr[_0x22d4('27')]);_0xded5d3++){UA=_0x22d4('28')+UUID+_0x22d4('29');if(cookiesArr[_0xded5d3]){cookie=cookiesArr[_0xded5d3];$[_0x22d4('2a')]=_0x277ec5[_0x22d4('24')](decodeURIComponent,cookie[_0x22d4('2b')](/pt_pin=([^; ]+)(?=;?)/)&&cookie[_0x22d4('2b')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);$[_0x22d4('2c')]=_0x277ec5[_0x22d4('2d')](_0xded5d3,0x1);$[_0x22d4('2e')]=!![];$[_0x22d4('2f')]='';$[_0x22d4('30')]='1';message='';await _0x277ec5[_0x22d4('31')](TotalBean);console[_0x22d4('a')](_0x22d4('32')+$[_0x22d4('2c')]+'】'+($[_0x22d4('2f')]||$[_0x22d4('2a')])+_0x22d4('33'));if(!$[_0x22d4('2e')]){$[_0x22d4('19')]($[_0x22d4('1a')],_0x22d4('34'),_0x22d4('35')+$[_0x22d4('2c')]+'\x20'+($[_0x22d4('2f')]||$[_0x22d4('2a')])+_0x22d4('36'),{'open-url':_0x277ec5[_0x22d4('1c')]});if($[_0x22d4('1')]()){}continue;}await _0x277ec5[_0x22d4('31')](main);await $[_0x22d4('37')](0x3e8);}}})()[_0x22d4('38')](_0x5c8e24=>{$[_0x22d4('a')]('','❌\x20'+$[_0x22d4('1a')]+_0x22d4('39')+_0x5c8e24+'!','');})[_0x22d4('3a')](()=>{$[_0x22d4('3b')]();});async function main(){var _0x506163={'JuUSW':function(_0x413e3f){return _0x413e3f();},'zTSdg':function(_0x5758b7){return _0x5758b7();}};await _0x506163[_0x22d4('3c')](getJoyInfo);await _0x506163[_0x22d4('3d')](jingBeanReceive);}async function getJoyInfo(){var _0x3a2c36={'nXoqv':function(_0x1cbde4,_0x237856){return _0x1cbde4===_0x237856;},'SAysF':_0x22d4('12'),'DgZXw':function(_0x5761ec,_0x3d4bde){return _0x5761ec(_0x3d4bde);},'LObRp':function(_0x17cd40,_0x332bc9){return _0x17cd40!==_0x332bc9;},'VjtMv':_0x22d4('3e'),'iPHSR':function(_0x2dcf3c,_0x5bfe42){return _0x2dcf3c===_0x5bfe42;},'YZaDH':_0x22d4('3f'),'rgkmW':_0x22d4('40'),'jTYXK':_0x22d4('41'),'tyqEY':_0x22d4('42'),'tMptU':_0x22d4('43'),'ycLmT':_0x22d4('44'),'nNyHc':_0x22d4('45'),'Foiin':_0x22d4('46'),'uKcyU':function(_0x2fc0f9,_0x39e420,_0x16c2b9){return _0x2fc0f9(_0x39e420,_0x16c2b9);},'WrjZR':_0x22d4('47'),'thBUh':_0x22d4('48')};return new Promise(_0x47e7b7=>{var _0x378ac1={'DFEee':function(_0x51f056,_0xb4a626){return _0x3a2c36[_0x22d4('49')](_0x51f056,_0xb4a626);},'mMrEz':_0x3a2c36[_0x22d4('4a')],'XGFcI':function(_0x5aaa28,_0x538072){return _0x3a2c36[_0x22d4('4b')](_0x5aaa28,_0x538072);},'MbhTG':function(_0x1f3855,_0x21941a){return _0x3a2c36[_0x22d4('4c')](_0x1f3855,_0x21941a);},'JtTKK':_0x3a2c36[_0x22d4('4d')],'MtQWa':function(_0x347453,_0x696a0f){return _0x3a2c36[_0x22d4('4e')](_0x347453,_0x696a0f);},'IjeDT':_0x3a2c36[_0x22d4('4f')],'tXyqT':_0x3a2c36[_0x22d4('50')],'vARdy':_0x3a2c36[_0x22d4('51')],'YVZcq':_0x3a2c36[_0x22d4('52')],'RgkZX':_0x3a2c36[_0x22d4('53')],'lfOGs':_0x3a2c36[_0x22d4('54')],'AYCUY':function(_0x3142c1,_0x4be1f8){return _0x3a2c36[_0x22d4('4c')](_0x3142c1,_0x4be1f8);},'sUQIQ':_0x3a2c36[_0x22d4('55')]};if(_0x3a2c36[_0x22d4('4c')](_0x3a2c36[_0x22d4('56')],_0x3a2c36[_0x22d4('56')])){cookiesArr[_0x22d4('6')](jdCookieNode[item]);}else{$[_0x22d4('57')](_0x3a2c36[_0x22d4('58')](taskUrl,_0x3a2c36[_0x22d4('59')],_0x3a2c36[_0x22d4('5a')]),(_0x42c18f,_0x5abde4,_0x21f8c9)=>{var _0x2653d3={'zBtSM':function(_0xff9da6,_0x13d25b){return _0x378ac1[_0x22d4('5b')](_0xff9da6,_0x13d25b);}};try{if(_0x42c18f){console[_0x22d4('a')](_0x42c18f);console[_0x22d4('a')]($[_0x22d4('1a')]+_0x22d4('5c'));}else{_0x21f8c9=JSON[_0x22d4('5d')](_0x21f8c9);if(_0x21f8c9[_0x22d4('1d')]){if(_0x378ac1[_0x22d4('5e')](_0x378ac1[_0x22d4('5f')],_0x378ac1[_0x22d4('5f')])){console[_0x22d4('a')](''+JSON[_0x22d4('60')](_0x42c18f));console[_0x22d4('a')]($[_0x22d4('1a')]+_0x22d4('5c'));}else{for(const _0x2e82cf of _0x21f8c9[_0x22d4('1d')]){if(_0x378ac1[_0x22d4('61')](_0x378ac1[_0x22d4('62')],_0x378ac1[_0x22d4('63')])){if(_0x378ac1[_0x22d4('64')](_0x2e82cf[_0x22d4('1f')],_0x378ac1[_0x22d4('65')])){$[_0x22d4('21')]=_0x2e82cf[_0x22d4('22')][_0x22d4('23')][_0x22d4('21')];}}else{if(_0x378ac1[_0x22d4('61')](_0x2e82cf[_0x22d4('1f')],_0x378ac1[_0x22d4('65')])){if(_0x378ac1[_0x22d4('61')](_0x378ac1[_0x22d4('66')],_0x378ac1[_0x22d4('67')])){_0x2653d3[_0x22d4('68')](_0x47e7b7,_0x21f8c9);}else{$[_0x22d4('21')]=_0x2e82cf[_0x22d4('22')][_0x22d4('23')][_0x22d4('21')];}}}}}}else{if(_0x378ac1[_0x22d4('5e')](_0x378ac1[_0x22d4('69')],_0x378ac1[_0x22d4('6a')])){console[_0x22d4('a')](JSON[_0x22d4('60')](_0x21f8c9));}else{console[_0x22d4('a')](JSON[_0x22d4('60')](_0x21f8c9));}}}}catch(_0x2302a3){if(_0x378ac1[_0x22d4('6b')](_0x378ac1[_0x22d4('6c')],_0x378ac1[_0x22d4('6c')])){console[_0x22d4('a')](_0x21f8c9[_0x22d4('22')][_0x22d4('6d')]);}else{$[_0x22d4('6e')](_0x2302a3,_0x5abde4);}}finally{_0x378ac1[_0x22d4('5b')](_0x47e7b7,_0x21f8c9);}});}});}async function jingBeanReceive(){var _0x42bac9={'Nbjvd':_0x22d4('c'),'BKMxA':_0x22d4('d'),'fjuBo':function(_0x3f7e2f,_0x17c449){return _0x3f7e2f(_0x17c449);},'jojKo':_0x22d4('e'),'hFeZF':function(_0x33a23e,_0x53683c){return _0x33a23e!==_0x53683c;},'iLYXa':_0x22d4('6f'),'qwYLv':function(_0xf91099,_0x47458f){return _0xf91099===_0x47458f;},'WooIL':_0x22d4('70'),'BFBpc':_0x22d4('71'),'LRBNV':_0x22d4('72'),'mniEY':_0x22d4('73'),'pNHDR':_0x22d4('74'),'DwCYy':_0x22d4('75'),'blCok':function(_0x24a9c3,_0x51ec39,_0x172730){return _0x24a9c3(_0x51ec39,_0x172730);},'TXUNo':_0x22d4('76'),'ZKbJs':_0x22d4('77')};return new Promise(_0x4f3779=>{var _0x5b51b3={'RAKdl':_0x42bac9[_0x22d4('78')],'uFeIE':_0x42bac9[_0x22d4('79')],'Cxttb':function(_0x1083f8,_0xae56fd){return _0x42bac9[_0x22d4('7a')](_0x1083f8,_0xae56fd);},'jAiKo':_0x42bac9[_0x22d4('7b')],'fwfSd':function(_0x3874bf,_0x32b36d){return _0x42bac9[_0x22d4('7c')](_0x3874bf,_0x32b36d);},'dOGew':_0x42bac9[_0x22d4('7d')],'DeqJZ':function(_0x54429e,_0x1515af){return _0x42bac9[_0x22d4('7e')](_0x54429e,_0x1515af);},'inWLl':_0x42bac9[_0x22d4('7f')],'wzUZE':function(_0x254a70,_0x585a84){return _0x42bac9[_0x22d4('7e')](_0x254a70,_0x585a84);},'iadjp':_0x42bac9[_0x22d4('80')],'toVvL':function(_0x2e271c,_0x1bc1ff){return _0x42bac9[_0x22d4('7c')](_0x2e271c,_0x1bc1ff);},'sGdBU':_0x42bac9[_0x22d4('81')],'jRTFN':_0x42bac9[_0x22d4('82')],'knygK':function(_0x114531,_0xc009eb){return _0x42bac9[_0x22d4('7c')](_0x114531,_0xc009eb);},'sJjec':_0x42bac9[_0x22d4('83')],'YTGZd':_0x42bac9[_0x22d4('84')],'OoPAj':function(_0x139cdd,_0x3c2e4f){return _0x42bac9[_0x22d4('7a')](_0x139cdd,_0x3c2e4f);}};$[_0x22d4('57')](_0x42bac9[_0x22d4('85')](taskUrl,_0x42bac9[_0x22d4('86')],_0x42bac9[_0x22d4('87')]),(_0x4ec997,_0xa18bd1,_0xc4bac0)=>{if(_0x5b51b3[_0x22d4('88')](_0x5b51b3[_0x22d4('89')],_0x5b51b3[_0x22d4('89')])){cookiesArr=[$[_0x22d4('b')](_0x5b51b3[_0x22d4('8a')]),$[_0x22d4('b')](_0x5b51b3[_0x22d4('8b')]),..._0x5b51b3[_0x22d4('8c')](jsonParse,$[_0x22d4('b')](_0x5b51b3[_0x22d4('8d')])||'[]')[_0x22d4('f')](_0x5acb0e=>_0x5acb0e[_0x22d4('10')])][_0x22d4('11')](_0x2fa77c=>!!_0x2fa77c);}else{try{if(_0x4ec997){if(_0x5b51b3[_0x22d4('8e')](_0x5b51b3[_0x22d4('8f')],_0x5b51b3[_0x22d4('8f')])){console[_0x22d4('a')](_0x4ec997);console[_0x22d4('a')]($[_0x22d4('1a')]+_0x22d4('5c'));}else{$[_0x22d4('a')]('','❌\x20'+$[_0x22d4('1a')]+_0x22d4('39')+e+'!','');}}else{_0xc4bac0=JSON[_0x22d4('5d')](_0xc4bac0);if(_0x5b51b3[_0x22d4('90')](_0xc4bac0[_0x22d4('91')],0x0)){if(_0xc4bac0[_0x22d4('92')]){if(_0x5b51b3[_0x22d4('88')](_0x5b51b3[_0x22d4('93')],_0x5b51b3[_0x22d4('93')])){$[_0x22d4('21')]=vo[_0x22d4('22')][_0x22d4('23')][_0x22d4('21')];}else{console[_0x22d4('a')](_0xc4bac0[_0x22d4('22')][_0x22d4('6d')]);}}else{if(_0x5b51b3[_0x22d4('94')](_0x5b51b3[_0x22d4('95')],_0x5b51b3[_0x22d4('96')])){console[_0x22d4('a')](_0xc4bac0[_0x22d4('97')]);}else{console[_0x22d4('a')](_0x4ec997);console[_0x22d4('a')]($[_0x22d4('1a')]+_0x22d4('5c'));}}}else{console[_0x22d4('a')](JSON[_0x22d4('60')](_0xc4bac0));}}}catch(_0x4c45b2){$[_0x22d4('6e')](_0x4c45b2,_0xa18bd1);}finally{if(_0x5b51b3[_0x22d4('98')](_0x5b51b3[_0x22d4('99')],_0x5b51b3[_0x22d4('9a')])){_0x5b51b3[_0x22d4('9b')](_0x4f3779,_0xc4bac0);}else{$[_0x22d4('2e')]=![];return;}}}});});}function taskUrl(_0x13905d,_0x5d09b7){var _0x45192a={'QzSrZ':_0x22d4('9c'),'PrWKj':_0x22d4('9d'),'yrKXC':_0x22d4('9e'),'ASVyr':_0x22d4('9f')};return{'url':_0x22d4('a0')+_0x13905d,'body':_0x5d09b7,'headers':{'Host':_0x45192a[_0x22d4('a1')],'Content-Type':_0x45192a[_0x22d4('a2')],'Accept':_0x45192a[_0x22d4('a3')],'User-Agent':UA,'Accept-language':_0x45192a[_0x22d4('a4')],'Cookie':cookie}};}function random(_0x2bb0c2,_0x26cbc0){var _0x5ba27b={'IpAQg':function(_0x53f805,_0x392f33){return _0x53f805(_0x392f33);},'srWcK':function(_0x225952,_0x39b202){return _0x225952*_0x39b202;},'xgomV':function(_0x2c0594,_0x39287d){return _0x2c0594-_0x39287d;}};return _0x5ba27b[_0x22d4('a5')](parseInt,_0x5ba27b[_0x22d4('a6')](_0x5ba27b[_0x22d4('a7')](_0x26cbc0,_0x2bb0c2),Math[_0x22d4('a8')]()));}function TotalBean(){var _0x376530={'RkCrH':function(_0x251a0d,_0x5279d0){return _0x251a0d!==_0x5279d0;},'cVUpO':_0x22d4('a9'),'wyNhY':_0x22d4('aa'),'rwTdv':function(_0x2ace0b,_0x324b4d){return _0x2ace0b===_0x324b4d;},'AvbQO':_0x22d4('ab'),'Xhtlx':_0x22d4('ac'),'ZQoXe':_0x22d4('ad'),'owSuX':function(_0xfa075,_0x5ea4f7){return _0xfa075===_0x5ea4f7;},'zIMTs':_0x22d4('ae'),'xsTGi':function(_0x1e74ff,_0xc2ce5d){return _0x1e74ff===_0xc2ce5d;},'XsZYs':_0x22d4('af'),'UIBUs':function(_0x1c264e,_0x3536e0){return _0x1c264e!==_0x3536e0;},'YYXEh':_0x22d4('b0'),'tozdh':function(_0x5ed2b1){return _0x5ed2b1();},'bOfWf':function(_0x4a0da0){return _0x4a0da0();},'RBPix':_0x22d4('b1'),'RJquU':_0x22d4('b2'),'jYYai':_0x22d4('b3'),'fcxJQ':_0x22d4('9d'),'dTYDD':_0x22d4('b4'),'dBbEG':_0x22d4('b5'),'BABNG':_0x22d4('b6'),'hVNuL':_0x22d4('b7'),'dPmfF':_0x22d4('b8')};return new Promise(async _0x5e50ea=>{var _0x247b63={'kUXks':_0x376530[_0x22d4('b9')],'ihkms':function(_0x3b72e9){return _0x376530[_0x22d4('ba')](_0x3b72e9);}};if(_0x376530[_0x22d4('bb')](_0x376530[_0x22d4('bc')],_0x376530[_0x22d4('bd')])){$[_0x22d4('6e')](e,resp);}else{const _0x43eae3={'url':_0x22d4('be'),'headers':{'Accept':_0x376530[_0x22d4('bf')],'Content-Type':_0x376530[_0x22d4('c0')],'Accept-Encoding':_0x376530[_0x22d4('c1')],'Accept-Language':_0x376530[_0x22d4('c2')],'Connection':_0x376530[_0x22d4('c3')],'Cookie':cookie,'Referer':_0x376530[_0x22d4('c4')],'User-Agent':_0x376530[_0x22d4('c5')]}};$[_0x22d4('57')](_0x43eae3,(_0x33e7e0,_0xd57885,_0x56881e)=>{try{if(_0x33e7e0){if(_0x376530[_0x22d4('c6')](_0x376530[_0x22d4('c7')],_0x376530[_0x22d4('c8')])){console[_0x22d4('a')](''+JSON[_0x22d4('60')](_0x33e7e0));console[_0x22d4('a')]($[_0x22d4('1a')]+_0x22d4('5c'));}else{$[_0x22d4('2f')]=_0x56881e[_0x247b63[_0x22d4('c9')]]&&_0x56881e[_0x247b63[_0x22d4('c9')]][_0x22d4('ca')]||$[_0x22d4('2a')];}}else{if(_0x376530[_0x22d4('cb')](_0x376530[_0x22d4('cc')],_0x376530[_0x22d4('cc')])){if(_0x56881e){if(_0x376530[_0x22d4('cb')](_0x376530[_0x22d4('cd')],_0x376530[_0x22d4('ce')])){console[_0x22d4('a')](_0x56881e[_0x22d4('97')]);}else{_0x56881e=JSON[_0x22d4('5d')](_0x56881e);if(_0x376530[_0x22d4('cf')](_0x56881e[_0x376530[_0x22d4('d0')]],0xd)){$[_0x22d4('2e')]=![];return;}if(_0x376530[_0x22d4('bb')](_0x56881e[_0x376530[_0x22d4('d0')]],0x0)){$[_0x22d4('2f')]=_0x56881e[_0x376530[_0x22d4('b9')]]&&_0x56881e[_0x376530[_0x22d4('b9')]][_0x22d4('ca')]||$[_0x22d4('2a')];}else{if(_0x376530[_0x22d4('d1')](_0x376530[_0x22d4('d2')],_0x376530[_0x22d4('d2')])){$[_0x22d4('2f')]=$[_0x22d4('2a')];}else{$[_0x22d4('2f')]=$[_0x22d4('2a')];}}}}else{console[_0x22d4('a')](_0x22d4('d3'));}}else{_0x247b63[_0x22d4('d4')](_0x5e50ea);}}}catch(_0x17e977){$[_0x22d4('6e')](_0x17e977,_0xd57885);}finally{_0x376530[_0x22d4('d5')](_0x5e50ea);}});}});}function getUUID(_0x1f7017=_0x22d4('16'),_0x52f24f=0x0){var _0x50a33a={'dSjhw':function(_0x1f7017,_0x4e5e57){return _0x1f7017|_0x4e5e57;},'lvpfj':function(_0x1f7017,_0x2eabe7){return _0x1f7017*_0x2eabe7;},'FUNaY':function(_0x1f7017,_0x1ccd77){return _0x1f7017==_0x1ccd77;},'ETeZB':function(_0x1f7017,_0x58f84a){return _0x1f7017&_0x58f84a;}};return _0x1f7017[_0x22d4('d6')](/[xy]/g,function(_0x1f7017){var _0x383d2b=_0x50a33a[_0x22d4('d7')](_0x50a33a[_0x22d4('d8')](0x10,Math[_0x22d4('a8')]()),0x0),_0x428170=_0x50a33a[_0x22d4('d9')]('x',_0x1f7017)?_0x383d2b:_0x50a33a[_0x22d4('d7')](_0x50a33a[_0x22d4('da')](0x3,_0x383d2b),0x8);return uuid=_0x52f24f?_0x428170[_0x22d4('db')](0x24)[_0x22d4('dc')]():_0x428170[_0x22d4('db')](0x24),uuid;});};_0xodg='jsjiami.com.v6';
|
||
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) }
|