mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-10 09:39:18 +08:00
15 lines
37 KiB
JavaScript
15 lines
37 KiB
JavaScript
/*
|
||
活动名称:秒杀浏览领京豆
|
||
环境变量:jd_seckill_viewTask_interval // 自定义运行间隔时长(整数,单位毫秒),默认1000
|
||
jd_seckill_viewTask_notify // 是否推送通知(true/false),默认不推送
|
||
jd_seckill_viewTask_pinFilter // 账号pin过滤,多个用@进行分割
|
||
|
||
定时随机
|
||
|
||
*/
|
||
|
||
const $ = new Env('秒杀浏览领京豆')
|
||
var iil='jsjiami.com.v7';const il1iI1=iii1II;(function(i1l1II,i1ill,I1l11l,lilIIi,i1l1Il,llIli,i1i11l){return i1l1II=i1l1II>>0x4,llIli='hs',i1i11l='hs',function(i1i11i,II11l1,Iil1lI,IiiliI,iii1iI){const iilll=iii1II;IiiliI='tfi',llIli=IiiliI+llIli,iii1iI='up',i1i11l+=iii1iI,llIli=Iil1lI(llIli),i1i11l=Iil1lI(i1i11l),Iil1lI=0x0;const llIll=i1i11i();while(!![]&&--lilIIi+II11l1){try{IiiliI=-parseInt(iilll(0x234,'W$k!'))/0x1*(-parseInt(iilll(0x188,'7FLi'))/0x2)+parseInt(iilll(0x1f9,'3WLl'))/0x3+parseInt(iilll(0x1f1,'XwPH'))/0x4+-parseInt(iilll(0x22b,'[74C'))/0x5*(parseInt(iilll(0x251,'Q@kn'))/0x6)+-parseInt(iilll(0x1e4,'^^oh'))/0x7+-parseInt(iilll(0x239,'PT&W'))/0x8*(parseInt(iilll(0x1f7,'v)8c'))/0x9)+-parseInt(iilll(0x220,'8gTh'))/0xa*(parseInt(iilll(0x198,'^^oh'))/0xb);}catch(il1iII){IiiliI=Iil1lI;}finally{iii1iI=llIll[llIli]();if(i1l1II<=lilIIi)Iil1lI?i1l1Il?IiiliI=iii1iI:i1l1Il=iii1iI:Iil1lI=iii1iI;else{if(Iil1lI==i1l1Il['replace'](/[wUFWOTEQfXVpgxYMrkuIl=]/g,'')){if(IiiliI===II11l1){llIll['un'+llIli](iii1iI);break;}llIll[i1i11l](iii1iI);}}}}}(I1l11l,i1ill,function(iilli,IlllIl,II11lI,lI1IIi,I1l11I,Ilil1l,iIIiii){return IlllIl='\x73\x70\x6c\x69\x74',iilli=arguments[0x0],iilli=iilli[IlllIl](''),II11lI=`\x72\x65\x76\x65\x72\x73\x65`,iilli=iilli[II11lI]('\x76'),lI1IIi=`\x6a\x6f\x69\x6e`,(0x173a21,iilli[lI1IIi](''));});}(0xc60,0x6eb86,Iii11l,0xc8),Iii11l)&&(iil=Iii11l);function iii1II(_0x3fd854,_0x39dfa1){const _0x5baaae=Iii11l();return iii1II=function(_0x552303,_0x471a1f){_0x552303=_0x552303-0x154;let _0x519eb2=_0x5baaae[_0x552303];if(iii1II['kCqdPw']===undefined){var _0x17b187=function(_0x57f057){const _0x269cae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xfcc280='',_0x262f44='';for(let _0x2bab07=0x0,_0xa4e839,_0x557bcf,_0x441707=0x0;_0x557bcf=_0x57f057['charAt'](_0x441707++);~_0x557bcf&&(_0xa4e839=_0x2bab07%0x4?_0xa4e839*0x40+_0x557bcf:_0x557bcf,_0x2bab07++%0x4)?_0xfcc280+=String['fromCharCode'](0xff&_0xa4e839>>(-0x2*_0x2bab07&0x6)):0x0){_0x557bcf=_0x269cae['indexOf'](_0x557bcf);}for(let _0xe5659=0x0,_0x456fce=_0xfcc280['length'];_0xe5659<_0x456fce;_0xe5659++){_0x262f44+='%'+('00'+_0xfcc280['charCodeAt'](_0xe5659)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x262f44);};const _0xedaa01=function(_0x1805c4,_0x478f6a){let _0x355d96=[],_0x33337e=0x0,_0x4cc123,_0x2a34ab='';_0x1805c4=_0x17b187(_0x1805c4);let _0x3626c5;for(_0x3626c5=0x0;_0x3626c5<0x100;_0x3626c5++){_0x355d96[_0x3626c5]=_0x3626c5;}for(_0x3626c5=0x0;_0x3626c5<0x100;_0x3626c5++){_0x33337e=(_0x33337e+_0x355d96[_0x3626c5]+_0x478f6a['charCodeAt'](_0x3626c5%_0x478f6a['length']))%0x100,_0x4cc123=_0x355d96[_0x3626c5],_0x355d96[_0x3626c5]=_0x355d96[_0x33337e],_0x355d96[_0x33337e]=_0x4cc123;}_0x3626c5=0x0,_0x33337e=0x0;for(let _0x4ea53a=0x0;_0x4ea53a<_0x1805c4['length'];_0x4ea53a++){_0x3626c5=(_0x3626c5+0x1)%0x100,_0x33337e=(_0x33337e+_0x355d96[_0x3626c5])%0x100,_0x4cc123=_0x355d96[_0x3626c5],_0x355d96[_0x3626c5]=_0x355d96[_0x33337e],_0x355d96[_0x33337e]=_0x4cc123,_0x2a34ab+=String['fromCharCode'](_0x1805c4['charCodeAt'](_0x4ea53a)^_0x355d96[(_0x355d96[_0x3626c5]+_0x355d96[_0x33337e])%0x100]);}return _0x2a34ab;};iii1II['RTBeaw']=_0xedaa01,_0x3fd854=arguments,iii1II['kCqdPw']=!![];}const _0x42fbc0=_0x5baaae[0x0],_0x12d4c7=_0x552303+_0x42fbc0,_0x25c392=_0x3fd854[_0x12d4c7];return!_0x25c392?(iii1II['UZRuUr']===undefined&&(iii1II['UZRuUr']=!![]),_0x519eb2=iii1II['RTBeaw'](_0x519eb2,_0x471a1f),_0x3fd854[_0x12d4c7]=_0x519eb2):_0x519eb2=_0x25c392,_0x519eb2;},iii1II(_0x3fd854,_0x39dfa1);}function Iii11l(){const iii1lI=(function(){return[...[iil,'OxjsIUkjExQiYTaMTmriEf.pVcoXmM.Wvg7ulTwF==','lmo6v3yb','a1rl','jSoUWROxW7u','qeKLWRldG8ooWR0kWPuSe1y','WPOSWO3dQg4IWOG','vK03WRFdNCojWR8','f8oyW7qhWO3dNrSeWQ44WQRdRW','WPrODmkRda','eCkrwGNdTaRcOJe','k8oezW','6lAA5yYd6l6G5RUyWQhcGSo9','5lQW5AEA5Bwg5A+q5OIU5lUx5yMA','teSKWP7dVq','gmk9W5uYAW','egvUovm','W4z8gZPlW7Or','hYyMdmko','imkXa2ZdQG','CL41WPz3','4PYEgUADUEIdVEATVUEIUUwLSoEtOv4','W7BdThioW4lcTSonW4KQW6SG','raBcRSkghG','v8kBWO0','4PYlWOVMNkROG4NMRA3NOPpLP6ZNKyPJ','cSkxlgNdOa','6lAy5y+R5PwX5PAX','W4yqWRddIfOmWONdH11Jth7cQrddVwZcOZRdVmkjWR0','rMjEAmkEWRywWPJdNr4','hSk2uIZdLq','d8kwWPBcUCoPg8kWFmkZWRNdJNldGWe/WR4cWOrHW5Wm','naJdT8k0W5/dQa','5lIy6lkSWPRWVigW','lColD2a0W6C','kSoHWOddIW','imkAtSkKqq','vGS5uCks','pCkKWOzytCkcWO82WOrIW7dcISkhomkPWPTGW4lcKr0dwmkqkmkim8kPW6O','c8oKW73dPmkk','W7bbW4DQpq','W4zqpbjh','WPj0wgZcTa','n8kSW7KenHjk','FCkMiSkTBmoQrMRdM0e','EcPivSop','WRzVvCk+aWXJzKhdNmkfW7hdNdGJFSkkWOOx','h8kJWRup','WOGRbcup','g1vNcK3cTW','5lUP5yIk6l6p5BQSWRLs','uNaYW5mDfMeeWRSJzCohe8oGW5a','W45PW5PjjIRdGf0','WOn1E1RcLa','gW0qdSkH','lmomWPi1W4tdOG','E8kHj8kOwa','h8oeWP7dQ8oh','y8kxi8k2vSoMgJ4','W4rxW7dcGmop','t2fyAa','jmk0aG','WO8lmJVcGCoWc8kOWRJdTCkvW43dPNe','xwSOW7ndx2SvWPWSCmo6gmkQWP/cS8o5','W78EWRa','W5lcKqjyW4NdH8olduy7gdVdKmoUWQr8W4f5W57cV8kg','o8kLWRDmxmkj','dCkCWPq','5OYm6i2j5B265zg75lUM55kjuhxdJW','W5ZcNSooW701WOtdIw/cImkvWRddUs7dNCoQWOtcVSkSCbnjyXFcNmoNW5VdImopsJu8cCkatHPRWOVdNCoZzqtdM8kacCkoAa7dJGpcSwLHW4xcPCoAW4WqW6BcQ8oMe8ozCaipW5BdLCkscSo/W70','W5/cG8oYwWeNWPfB','6Ao45y6c5lQt5yU55AAT5yMa5OMw5yMvWRnu','W5dcMuSiWPflWRCzCComamkdWPGBWPOjWOpdGw/cU8kA','WOBcRmk8dSkZovSN','i8khf0NdTG','5lU+6lg8C/cFKkS','W4L9W60c','vbuyvq','W6NcJmotDXe','W47cI8o1tJKIWOu','W5TZW7SAWQS3W4CHWQhdJW','5lUY6loVW4lWQ5kt','W5nkW5TkiW','6Ak85OcI5zw2','k8o5vvfn','D3KOWRTjWPJdULPUW4FdRSo+W7JdGG','mmkOfe7dJwO','pgJcKgznrq','pmkeix7dQH7cOmkEWP7dT2yzWP3dPutdGCo6WO/cP8kQxCouWOW','5y2Z6yED54I/5Og657Iv5PYBWR59W6JcKX18lSo4WOBcNq','rCkei8kvuq','44ca5O+m56wM44oP6k+r5yA/6iYM5y+Lsmo+W6ddUCoKW4i','hSksW4a9','W5VcKv4yWRO','W4BcG8o2sG','W59HW59jfZe','amkBWPKFCadcGuLKCvBcT8ocW5/dPSokW51YW5ddUeO/W6JcI8omBepdI0RcM8kwWRlcLH3dGJuHW752W77cUdnmExBdI8kr','fdSbnG','W7tdTN8aW4ldKmk2W64bW4O/iCkC','jSk8dMO','fCoNC2ir','vIarCSkJ','WOFcTSkReSk1zXf7l8kZf8kNrCo/yg/cNgWYhIVdMSoQwSoKWQqdhmk/wCk4g8knwq','sSkjWPJdIfrzWRpdN1uB','W4ZcRSoWW6eK','4PYsWONMN4JNNRxORzlMS5tdUG','5BA16kYv572U6lEh6l+j6lYT6kkK5BYF5yIo6lAW5y2i','ec0Ag8ku','qWL/F8oTfq','uWHbWPFcJtn+WO8','ivy6y3G'],...(function(){return[...['zSkZWR99oCkMWRpcR8o/mmkuW5Oh','EJpdIq','WOexeq','imkXWOW','eCkpz8oOWO8t','W752W6WlWQ0','smkyW6ldPSoUwmkHW7/dUq','lmkaW7m/EG','B8kAW5jLWPlcRSoQW6ldJmkioZ4o','D+IST+AYM+wKMUI0JCob4P24FW','c8oenfRcVW','omoMW6uSFCo+','pCkLWOCT','gmooW5KBWPRdSXuEWRe1WPldVfPot8oWmhrhWRVdPMvxW5pdPCov','WQaxhHVcJa','xx8sWRpdUq','h8kJxJRdSW','W41ZW4CCWQm','fHhdNSkgW44','W5SaWRBdJ20AWPC','vIlcImkzca','6AcY5yY85lMb5yIS5Asq5yIp5OU25yUFW4ldHW','WPJcO8k2fG','E8oMW7iooWHiW5/cGIO','ySkSWPZdN3q','lSoJWOOIW7C','W40SWQ3dULi','hSo9WOhdImoR','WRb5uSkBbry','jmoWW4ldOCkA','WOmDeZm3WRX0iCkaaCoiWRTgiLRcRctdGI8Nna','WOeQiZiM','W5BcJ8oBW6miW4VcIW','u8ogjKtdRq','jCk1WRDUrSkf','lmkJWOCSk8kY','WRbqtmkWnW','i3ZcHG','WRNOROdMSORLPQtOTl/cP+kFPHxMLkVLKApLURJMLOBMJRi','j8kSW6Gpgrm','eCkFEmovWOe','4P29xoIeI+ACLUI9K+IGVEMcREwkRos6IoMuNEITT0O','W5TNW7Ot','nv8NsxpcUb3cIrVcISkhoCoHFt3dJW','mmkBWRJcICo3','tMm0W6y','W5D8gt9SW6mqa8o9bfzSWOCXW7G','zCo2W6eBBCkeWRyXWO19','gteChCkjWOmPWRJdHaFcVa','uCkPWOBdSg4','fmkLzdNdHW','nfLZa1u','EsZdHHmrfCkgW6TvWRJcGty','mCoTW70','4PU0WQpOHAhLR5hKUydOVyBOO4/PLkhPMjhMLQpPLOtORiJNVjhPLApORkW','W4XTdIr2WRvtESoKe04wWOTSW7NdUSkWWRxdGInza1vMBhddR8kfhmoNCSk9emoFW7Wsmmo2yaFcNCk5lfVdR8kbWQWbW7hcJZBdJSo3FCo6nfCReCkJW71ZCYNcHCoKW4XXvqtcNSkZ','5lUe6lkeW7ZWOAoc','fSkCW5m','xSogbu3dHstcNWBcUxC','eCkaW6CpsW','wXuB','zh0VWPnYWP/dO1z4W7NdOmo+W6K','emkmA8kUdrNcUa','eCkfBG','jmoRW7ddQ8kG','gmoQW7NdLCkhFmkAdcfRWOlcTmobW5tdKW','sx0OW6ak','jCkABdRcSuBcKCoZWPVdSu4u','W5XZW6apWPiTW64L','jMNcILnqg8oRWOzJWQVcONazW7ZcL2D6W4f0W6aaW7xdRGtdKcRdImkftmoHimoPhKi','WQFcU8khdSkK','WPNdKmkTEHW8WPvSkq','W55DCutdMmoXoSkXWOJdK8k1','44o46lwi5y6X','mmkAt8ooWRq','W6ZcKWXXW6O','cSkFva','nG3dS8kNW4/dNJ3dK8odWQVdPW','vSkfjmkjsG','W6xcV8oQW7uH','WP/cSmkWtmkRC1qWymkGeCoK','jCk3WQiwaq','WPSljrZcH8o7dSkqWOldPmkdW63dSNhdRG','h8objgJcHa','bmkgCSkd','zhuOWPrd','iCk/WPm','W5RcNvOn','W5NcHHvtW6NdR8odeum/pde','W5D1eZDG','6Ao75yY85lUY5yIU5AAT5yUk5OMe5yQ7tSkG','oSoLi3BdHq8j','W73cK0CcWRO','WP4zgZjiWRzRj8krdCoL','k3pcIa','dCkMW6yREG','W6a4f8kNkWPVr3K','oSkXWP0Xgmk1W64N','W53cHbDqW74','W5hcKSotW7K','vN4MW4yDdq','WOmHWQZdHmkMn1BcOuZcVG','iSkCWP3cQCoEemkPpSkrWQxdVxG','BKCJWOZdGa','WOe5aH3cHa','e+kFJ8oC','WOOljXNcOmoIdW','bSopW74CW5ddUaOAWRf1WQZdUKnhuCohmhnfWOVdHIvBW5ldT8obztTDWQhdVamaWPZdV17dMfddPhtdTLPyq8krW4rxgCk8WOHSWOJdKmkoW6BdVgOEb8o+WRKqWRS','vSkhWO0','W4D9W64','zCokpx7dLXVcVSou'],...(function(){return['xrn2','6Aob5y295lU75yQv5Awy5yMm5OU45yUtECk2','Dmocla','fCkgCmkkxqVcOG','jvS6DeNcVrNcGG','rWe7xG3dQSo/WPFdQCor','vXv9tSoMaW','jmoaBW','nSoMW6OLr8oJW64','WPGAgqFcH8o5','Cw8VWPfbWPK','pmkNW6SpcHm','WONcQ8kN','xtlcKCku','DmonAmoNWPe','x8kWWRldU18','cSkvxrRdLaS','fmkPWQnfra','fSolWR3dUmoxAG','kSkaW7itDG','WOlcSbHSWPu','uIlcUCkqpG','W7qsWRVdPNVdOb8','aSkrrXW','c8oQW6FdOCklBW','6AoX5yY/5lUK5yMh5AwU5yUB5OUC5yMNW4vj','lSk/WPaG','oSopW5ikWRS','DEkDLCk4','hmoKW7RdRmk2ymkjadXuWOtcTSob','dCopWRRdQW','mCoLovNcHbq','omoYjvhcGG','W4KgWQBdHw8h','c8ohjg7cIG','cmkrxHG','W57cJSoLW74JW53cJsNcLmklWOdcOsRcLSo3WRtdSCk8DceiyqlcMCoTWO0','vmoab0VcKfpdVY7cL3GptmkF','p8k1WOqPlCk/W6y','W43cRhGlWRS','vHL/AmoIh8koW7nJv8oSmGTRFq','6lsG5y2V5PEF5PER','WO8vmZm9','5lU76lc8WRlXIOkD','WRhcTqvgWPm','bSoKW6tdOG','4PU+WONOHiJLR4RKU6ZOVyBOOPBPLABPMjFMLlpPLjxOR4pNViBPLkhORji','rvuOWPXu','vNqVW6qBfW','pNCEuMq','WOumaICwW6m2yCkgfSoKW7Pez1NcRupdJYqVyW','W4FcHCoxW6G','lSkYhq','pSoNW5q4Bmo1W6JcVmoPoCkKW4awh8k0b8k8W7tcSmo+tJ3cLgn3umk0WRfX','CNezWPX+','mSogWOu','g8kgEa','qmo6jh3dMW','gUIVPUAWG+wrJUw7U18','fmolWRBdU8oXz8kNW7NdO8o9W5P9WQ1FWP1Rn8oSrCoRoq','W4NcN1OEWOW','wZtcQSkIfW','fSoJDvTm','6lsv5y6K5PsC5PA5','mmoHjW','eSoAWQFdR8oqomoLWRNdPCoQW7y8WQ8AWP5QumoHtSoJ','mb/dPSkCW4xdOsddNmosWP3dU1NdJ8kXWPZcJa','WPKzbtW1WQT2kCkeaCo4WQC','W5pcLua','w8kzWQ/dIf0','xNa1W6i','jCk+smkVsq','W64wWQhdOu7dRHDq','WR5MDmkglG','t1XTW43dT2SIW5RdHSo4WQJcJX4','W5dcMWa','W4P8hZbxW6OroSoIbgjxWOKPW7RdU8oxWRJdIsSo','W5xcMuSCW65pWRyFCCom','k8kZgwFdLMP+W7u','DdqxuSk6','weCX','smofWOXSE0NcQu86CW','lmkGWOqPjCk/W6i2WPiRda0LW48HhGpcOSk8W4rfWQxcI8kLxq1+WORdO8o+FmoIEW','k8kYW5iXsq','y8o2sq','ucz8Emow','wCo1W6rdW4iGW6tcNrD7W5O','WQOvpaqI','W4xcMSoJrr0','uf4eW7Oc','vZlcImkq','kxJcIM9cvCkHW5P2WPRcUY4IWRFcJ3a9W411','FxKVWOThWPddTa','W4VcLq5i','rXTZtCoh','4PYsWONOH7JMNBZOVBxOO5RPGP3LIQlKUixPL5ZOROv3','cSkgW4C0','6Ak35y6Q5lUQ5yQB5AEv5yUa5OU65yIdncq','o8oge3ZcQq','bmoppv3cNW','W7pcR8oU','W7LJW4m4WRu','6lw45y2E5Psc5Psy','ESosnNJdQHBdVSohWQxdTMetW4RdVMldICoSWQxcRmoQwCowWOpcOIe','hmkTWO8pWOyCW4BcVa','mCoBAM8','WRzVvCk3eaPPz3JdRSks','FeyQWRLT'];}())];}())];}());Iii11l=function(){return iii1lI;};return Iii11l();};const jdCookie=require(il1iI1(0x208,'48fe')),notify=require('./utils/Rebels_sendJDNotify'),common=require(il1iI1(0x1da,'W$k!')),{H5st}=require('./utils/Rebels_H');let taskThreads=process[il1iI1(0x267,'Ux[(')]['jd_seckill_viewTask__threads']||'1';const runInterval=process[il1iI1(0x24f,'30@c')][il1iI1(0x1a8,'8gTh')]||il1iI1(0x1be,'kG%W'),isNotify=(process[il1iI1(0x226,'XwPH')][il1iI1(0x284,'etGj')]||process[il1iI1(0x16c,'LjjZ')][il1iI1(0x1fe,'y]s(')])===il1iI1(0x21e,'7m2('),pinFilter=(process['env'][il1iI1(0x295,'XwPH')]||'')['split']('@'),maxThreads=0x3;let cookiesArr=Object['keys'](jdCookie)[il1iI1(0x158,'[hiM')](IiI11=>jdCookie[IiI11])[il1iI1(0x1e1,'2Gm!')](lli=>lli);!cookiesArr[0x0]&&($['msg']($[il1iI1(0x1e0,'IgSv')],'【提示】请先获取Cookie'),process['exit'](0x1));!(async()=>{const IlllIi=il1iI1,liIlI={'RWWIq':function(lll,llli1){return lll!==llli1;}};notify[IlllIi(0x278,'zp2n')]({'title':$['name']}),await Main(),isNotify&¬ify['getMessage']()&&(liIlI[IlllIi(0x15f,'At60')](IlllIi(0x282,'[hiM'),'VGsPz')?(i1l1ll=I1iIiI[IlllIi(0x266,'G%]%')]((iI1lii,IilIii)=>!lilIii[IlllIi(0x19e,'7FLi')]['includes'](IilIii+0x1)),i1ilil['needRemoveCookieIndex']=[]):await notify['push']());})()[il1iI1(0x1a9,'zp2n')](iI1lil=>$[il1iI1(0x255,'7m2(')](iI1lil))[il1iI1(0x1d1,'IgSv')](()=>$['done']());async function Main(){const iIIiil=il1iI1,l1lIi1={'zKayT':function(iIli1l,i1i1II){return iIli1l-i1i1II;},'VsGcD':function(liiIIl,iil1iI){return liiIIl+iil1iI;},'rUWDg':function(IlIllI,il1i1I){return IlIllI!==il1i1I;},'kwudJ':'olUtL','yyASz':function(lI1li1,iI11II){return lI1li1>iI11II;},'bIFFB':function(iIII1I,ilil1i){return iIII1I===ilil1i;},'jBhwQ':'PehbY','gUgTj':iIIiil(0x200,'3U9C'),'IItWO':'krsPe','LuKfx':function(IlIIi,IiI1l){return IlIIi>=IiI1l;},'TIjeQ':'⚠\x20自定义运行间隔时长设置错误','UItdr':function(illlII,iIII11){return illlII/ iIII11;},'ejMtd':iIIiil(0x25a,'WhZs'),'YOjco':function(IiI1i,llll1){return IiI1i===llll1;},'ZouUS':iIIiil(0x17a,'[hiM')};try{if(l1lIi1[iIIiil(0x26e,'LjjZ')](iIIiil(0x161,'Q@kn'),l1lIi1['kwudJ']))ll1l1[iIIiil(0x22d,'oJKk')](iIIiil(0x197,'9uAU')+IllIIi+iIIiil(0x29a,'7m2(')+(IllIIl[iIIiil(0x174,'XDwi')]||IiiIi1));else{try{if(l1lIi1[iIIiil(0x223,'[74C')](iIIiil(0x1fb,'[hiM'),'VDcdO'))IlI1il['log'](IilliI+iIIiil(0x18f,'stJO'));else{const lil11i=parseInt(taskThreads);l1lIi1['yyASz'](lil11i,0x0)&&lil11i!==0x1&&(l1lIi1[iIIiil(0x1ab,'*@6(')](l1lIi1[iIIiil(0x1d4,'2Gm!')],'PehbY')?taskThreads=lil11i:iIIl1i[iIIiil(0x23d,'[74C')]('\x0a📣\x20运行结果\x0a'+I1lllI['replace'](/:/g,iIIiil(0x27c,'48fe'))));}}catch{l1lIi1[iIIiil(0x192,'PZ33')]===iIIiil(0x259,'PT&W')?taskThreads=0x1:II1Il=lilIlI;}taskThreads=Math[iIIiil(0x15c,'Z)Y*')](taskThreads,maxThreads),$[iIIiil(0x160,'#lhm')]=null;if(runInterval)try{if(l1lIi1[iIIiil(0x1aa,'2Gm!')]===iIIiil(0x154,'Z)Y*'))I1i111=ilI1li[iIIiil(0x182,'Q@kn')](IIliI),ilI1ll['log'](''+Iillii+IlI1iI[iIIiil(0x249,'yc#a')]),Iillil=!![];else{const lllii=parseInt(runInterval);l1lIi1[iIIiil(0x20e,'zp2n')](lllii,0x0)&&($[iIIiil(0x264,'9uAU')]=lllii);}}catch{console[iIIiil(0x22a,'stJO')](l1lIi1[iIIiil(0x1e6,'Ux[(')]);}$[iIIiil(0x29b,'v)8c')]=[],console['log']('=========='+$[iIIiil(0x26d,'WhZs')]+'变量开启状态=========='),console[iIIiil(0x297,'3WLl')](iIIiil(0x1c6,'*@6(')+l1lIi1[iIIiil(0x28f,'XDwi')]($[iIIiil(0x1c8,'IgSv')],0x3e8)+'秒]运行间隔时长'),console[iIIiil(0x230,'TY&#')]('通知推送:\x20['+(isNotify?'开启':'关闭')+']'),console[iIIiil(0x294,'qiP5')](iIIiil(0x18e,'yc#a')+pinFilter[iIIiil(0x1e3,'kG%W')](',\x20')+']'),console[iIIiil(0x260,'G%]%')](iIIiil(0x256,'ye9R')+$[iIIiil(0x283,'[74C')]+iIIiil(0x1db,'WBHb')),console[iIIiil(0x25e,'WBHb')](''),await common['concTask'](taskThreads,cookiesArr,taskFnc),$[iIIiil(0x1b5,'7m2(')]=![],$[iIIiil(0x1ee,'G%]%')]=![];l1lIi1['yyASz']($['needRemoveCookieIndex'][iIIiil(0x1c4,'8gTh')],0x0)&&(cookiesArr=cookiesArr['filter']((iI11Ii,iIII1l)=>!$[iIIiil(0x1c3,'yc#a')][iIIiil(0x1cb,'M0cI')](iIII1l+0x1)),$[iIIiil(0x164,'*@6(')]=[]);const i1i1Il=notify['getMessage']();i1i1Il&&console[iIIiil(0x1f3,'NFrH')]('\x0a📣\x20运行结果\x0a'+i1i1Il[iIIiil(0x286,'K2BA')](/:/g,l1lIi1[iIIiil(0x1bb,'v)8c')]));}}catch(lllil){if(l1lIi1[iIIiil(0x17b,'[hiM')](l1lIi1[iIIiil(0x258,'3U9C')],l1lIi1['ZouUS']))console['log'](iIIiil(0x21a,'G%]%')+lllil);else{if(li1Ii[iIIiil(0x272,'v)8c')]<=0x4)return IIII1I;else{const iIII1i=Iii111[iIIiil(0x1f0,'9uAU')](0x0,0x2),iil1i1=l1l1II[iIIiil(0x233,'7m2(')](-0x2),il1i11=Iil1I1[iIIiil(0x1f4,'K2BA')](l1lIi1[iIIiil(0x1bd,'ye9R')](Ii1iII,iIII1i[iIIiil(0x270,'[74C')])-iil1i1[iIIiil(0x1b3,'PZ33')],0x0),IlIll1='*'[iIIiil(0x218,'48fe')](il1i11);return l1lIi1[iIIiil(0x1f8,'stJO')](iIII1i,IlIll1)+iil1i1;}}}}async function taskFnc(IlIII,ilil1l){const i1l1Ii=il1iI1,illlIi={'CgDxu':i1l1Ii(0x28e,'3WLl'),'MpFAO':'TikHs','kENSI':i1l1Ii(0x167,'oJKk'),'jOEym':function(ill11i,lllill){return ill11i-lllill;},'wWjAX':function(ill11l,I1lIiI){return ill11l+I1lIiI;},'RCbnI':function(lllili,IliiiI){return lllili(IliiiI);},'LnylB':function(Ill11,liiIII){return Ill11!==liiIII;},'oWmjZ':function(li1i11,iI11I1){return li1i11-iI11I1;},'eYxVZ':function(il1i1l,IlIlll){return il1i1l+IlIlll;},'eVbXn':i1l1Ii(0x1dd,'XDwi'),'aZmBU':function(IIIl1I,iil1ii){return IIIl1I===iil1ii;},'QriWS':i1l1Ii(0x28a,'NFrH'),'aqEad':i1l1Ii(0x21f,'*@6('),'rSiLk':function(IlIlli,il1i1i){return IlIlli===il1i1i;},'Udepk':'rzSbJ','hgVSM':'popRetainWindow','bKcTf':'kAhqu','bNanU':i1l1Ii(0x1a6,'At60'),'ibQqN':i1l1Ii(0x1a5,'v)8c'),'lZvAK':'8f7ef','QHuoB':'signed_wh5_ihub','dSRWH':'100','KccCI':i1l1Ii(0x1f2,'30@c'),'wURwD':i1l1Ii(0x240,'etGj'),'mxxjH':'application/json,\x20text/plain,\x20*/*','eSrrj':i1l1Ii(0x1e2,'stJO'),'OyhSu':i1l1Ii(0x16a,'K2BA'),'BsnKH':i1l1Ii(0x1c7,'etGj'),'GLtlD':i1l1Ii(0x1ef,'EARS'),'HeTbD':i1l1Ii(0x1df,'Z)Y*'),'Coiny':'cors','TENPv':function(lil111,i11ilI){return lil111===i11ilI;},'GmJSG':i1l1Ii(0x257,'1v7J'),'mTNqA':function(ii1ii1,llllI){return ii1ii1<llllI;},'pCUgf':function(lllil1,iil1il){return lllil1>iil1il;},'Yxyin':function(ilil1I,i11il1){return ilil1I===i11il1;},'PgkMq':'ozBRB','HzVib':function(ii1iiI,lllilI){return ii1iiI>=lllilI;},'RqJCs':function(ilil11,illlI1){return ilil11!==illlI1;},'bBinQ':'uGOup','AnHXD':'ttt1','HJVbC':'0_0_0_0','pJhrR':i1l1Ii(0x1ae,'zXi8'),'ksSSu':i1l1Ii(0x159,'v)8c'),'ySmGS':i1l1Ii(0x241,'M0cI'),'LSDmL':i1l1Ii(0x25c,'y]s('),'EsRZa':function(IIIl11,I1lIi1,liiIIi){return IIIl11(I1lIi1,liiIIi);},'EbUYn':i1l1Ii(0x1ec,'tVO)'),'GpOfd':i1l1Ii(0x19d,'ye9R'),'IVYlL':i1l1Ii(0x291,'9uAU'),'IVMPq':function(lil11I,Iliii1){return lil11I===Iliii1;},'QhKTL':function(iIiIi,iil1ll){return iIiIi>iil1ll;},'AmrNn':function(iiilil,iil1li){return iiilil<iil1li;},'vgbwD':function(lillIl,iIiIl,iiilii){return lillIl(iIiIl,iiilii);},'ZTuLT':function(li1i1i,IlIli1){return li1i1i+IlIli1;},'BAsVt':function(illIiI,lI1lli){return illIiI*lI1lli;},'sYKjH':function(Ill1l,llI1Il){return Ill1l>=llI1Il;},'aRBCl':'xDJlb','vvOpg':function(ii1iii,i11iil){return ii1iii==i11iil;},'HyXlb':'pZGxf','RQpwX':function(Ill1i){return Ill1i();},'PsFOH':function(ii1iil,lllI1l){return ii1iil*lllI1l;},'AkLSe':function(i11iii,llI1Ii,lllI1i){return i11iii(llI1Ii,lllI1i);}};if($[i1l1Ii(0x1d9,'30@c')])return{'runEnd':!![]};const I1lIii=decodeURIComponent(common[i1l1Ii(0x1d7,'XDwi')](IlIII,i1l1Ii(0x269,'PT&W')));function IiI1I(li1i1l,II1i1){const I1iIIi=i1l1Ii,lI1lll={'arNTu':illlIi['CgDxu']};if(illlIi[I1iIIi(0x23b,'TY&#')]!==illlIi['kENSI']){if(li1i1l[I1iIIi(0x1fc,'XwPH')]<=0x4){if(I1iIIi(0x287,'Z)Y*')===I1iIIi(0x1a0,'[74C')){iIIl11[I1iIIi(0x1c2,'#lhm')]('已设置跳过运行当前账号'),l1l1I1[I1iIIi(0x230,'TY&#')](I1iIll[I1iIIi(0x15a,'@HB*')]()),I1lliI[I1iIIi(0x1ca,'Z)Y*')][I1iIIi(0x181,'Ux[(')](llIllI);return;}else return li1i1l;}else{if('UxGbQ'===I1iIIi(0x222,'8Wi0'))lilil[I1iIIi(0x298,'At60')](ll1ll);else{const iiiliI=li1i1l['slice'](0x0,0x2),li1i1I=li1i1l[I1iIIi(0x24a,'*@6(')](-0x2),illIii=Math[I1iIIi(0x216,'30@c')](illlIi[I1iIIi(0x171,'7m2(')](II1i1,iiiliI[I1iIIi(0x1a4,'Ux[(')])-li1i1I[I1iIIi(0x270,'[74C')],0x0),ii1il1='*'[I1iIIi(0x1b9,'3WLl')](illIii);return illlIi['wWjAX'](iiiliI,ii1il1)+li1i1I;}}}else lilIil[I1iIIi(0x1f3,'NFrH')](lI1lll[I1iIIi(0x194,'kG%W')]);}const illlIl=decodeURIComponent(I1lIii),i11ill=illlIi[i1l1Ii(0x274,'^^oh')](IiI1I,illlIl,0x6),IIIIIi=i1l1Ii(0x23a,'PT&W')+ilil1l+'】'+i11ill+':',IIIIIl=notify[i1l1Ii(0x1a2,'@HB*')](ilil1l,I1lIii);if(pinFilter[i1l1Ii(0x27f,'[hiM')]>0x0&&(pinFilter['includes'](I1lIii)||pinFilter['includes'](encodeURIComponent(I1lIii)))){if(illlIi[i1l1Ii(0x215,'Q@kn')](i1l1Ii(0x190,'3U9C'),i1l1Ii(0x1b7,'PW(@'))){IIIIIl[i1l1Ii(0x26c,'M0cI')](illlIi[i1l1Ii(0x18b,'Q@kn')]),console[i1l1Ii(0x1c5,'1v7J')](IIIIIl[i1l1Ii(0x21c,'9uAU')]()),$[i1l1Ii(0x20f,'NFrH')][i1l1Ii(0x1fd,'K2BA')](ilil1l);return;}else{const Ill1I=illlIi['RCbnI'](i1ili1,i1l1l1);Ill1I>0x0&&illlIi['LnylB'](Ill1I,0x1)&&(II11Ii=Ill1I);}}const I1lIil=await common[i1l1Ii(0x1c0,'PT&W')](IlIII);if(!I1lIil&&illlIi['aZmBU'](typeof I1lIil,i1l1Ii(0x263,'At60'))){console[i1l1Ii(0x163,'yc#a')](IIIIIi+i1l1Ii(0x157,'WhZs')),IIIIIl[i1l1Ii(0x1bf,'qiP5')](illlIi['GpOfd']),$[i1l1Ii(0x1a1,'1v7J')][i1l1Ii(0x21b,'WBHb')](ilil1l);return;}const IIIl1i=common['genUA'](I1lIii);let liiII1=![],IIIl1l=![],lllll,i11ili;lllll='',i11ili=0x0,await lllli(illlIi[i1l1Ii(0x15d,'8Wi0')]);if(liiII1)return;if(lllll){if(i1l1Ii(0x195,'qiP5')!==illlIi[i1l1Ii(0x1af,'G%]%')]){if(!lllll[i1l1Ii(0x23e,'@HB*')]&&lllll[i1l1Ii(0x22e,'XDwi')]){if(illlIi['IVMPq'](i1l1Ii(0x186,'3WLl'),'pnjvM')){const lIli11=I1llii['slice'](0x0,0x2),lllI1I=lilIll['slice'](-0x2),lillI1=l1i111['max'](illlIi[i1l1Ii(0x1ba,'zXi8')](iliII1,lIli11[i1l1Ii(0x290,'7m2(')])-lllI1I[i1l1Ii(0x1f5,'TY&#')],0x0),IlIlii='*'['repeat'](lillI1);return illlIi[i1l1Ii(0x1b8,'kG%W')](lIli11+IlIlii,lllI1I);}else{let i1l1i1=lllll['taskThreshold']-lllll['taskProgress'];if(illlIi[i1l1Ii(0x21d,'1v7J')](i1l1i1,0x0))for(let liil11=0x0;illlIi[i1l1Ii(0x212,'W$k!')](liil11,i1l1i1);liil11++){'oPuKp'===i1l1Ii(0x16b,'stJO')?lI1IiI[i1l1Ii(0x235,'WBHb')]=i1lI:(console['log'](IIIIIi+i1l1Ii(0x1b4,'W$k!')+lllll[i1l1Ii(0x187,'3U9C')]+'/'+lllll['taskThreshold']),i11ili=0x1,await lllli('seckillViewTask'),await $[i1l1Ii(0x175,'yc#a')](illlIi[i1l1Ii(0x176,'G%]%')](parseInt,illlIi['ZTuLT'](illlIi[i1l1Ii(0x244,'[hiM')]($[i1l1Ii(0x1bc,'zXi8')],0x1),0x1f4),0xa)),illlIi['sYKjH'](lllll['taskProgress'],lllll[i1l1Ii(0x27d,'zp2n')])&&(i11ili=0x2,await lllli(illlIi['aqEad']),await $[i1l1Ii(0x1b1,'n#ZS')](parseInt($[i1l1Ii(0x1b6,'2Gm!')]*0x1+0x1f4,0xa)),i11ili==0x2&&(console[i1l1Ii(0x260,'G%]%')](IIIIIi+i1l1Ii(0x206,'etGj')+lllll['beanNum']+i1l1Ii(0x28b,'@HB*')),IIIIIl['insert']('领取任务奖励成功:\x20'+lllll['beanNum']+'京豆\x20🐶'))));}else i1l1Ii(0x1ea,'etGj')!==illlIi['aRBCl']?lliiil[i1l1Ii(0x26a,'XDwi')](lliiii,IliI1i):(console['log'](IIIIIi+'任务进度:\x20'+lllll[i1l1Ii(0x15b,'NFrH')]+'/'+lllll[i1l1Ii(0x162,'EARS')]),i11ili=0x2,await lllli(illlIi[i1l1Ii(0x275,'WhZs')]),await $['wait'](parseInt($['waitTime']*0x1+0x1f4,0xa)),illlIi[i1l1Ii(0x28c,'^^oh')](i11ili,0x2)&&(console['log'](IIIIIi+i1l1Ii(0x261,'tVO)')+lllll[i1l1Ii(0x193,'*@6(')]+i1l1Ii(0x1a3,'etGj')),IIIIIl['insert']('领取任务奖励成功:\x20'+lllll[i1l1Ii(0x25b,'PT&W')]+i1l1Ii(0x1cd,'9uAU'))));}}else illlIi[i1l1Ii(0x237,'M0cI')]===illlIi[i1l1Ii(0x1ff,'PT&W')]?console['log'](IIIIIi+'今天已完成任务'):i1III['log'](i1l1Ii(0x177,'3WLl')+Ii1iIi);await lllli(i1l1Ii(0x232,'zp2n')),IIIl1l&&(await illlIi[i1l1Ii(0x299,'W$k!')](iiili1),await $['wait'](parseInt(illlIi[i1l1Ii(0x20b,'7FLi')](illlIi[i1l1Ii(0x273,'stJO')]($[i1l1Ii(0x252,'K2BA')],0x1),0x1f4),0xa)));}else lilIl1[i1l1Ii(0x19a,'8Wi0')](i1l1ii[i1l1Ii(0x28d,'zp2n')],illlIi['eVbXn']),i1l1[i1l1Ii(0x254,'etGj')](0x1);}if($[i1l1Ii(0x213,'8gTh')])return{'runEnd':!![]};await $[i1l1Ii(0x207,'M0cI')](illlIi[i1l1Ii(0x203,'@HB*')](parseInt,$[i1l1Ii(0x25f,'W$k!')]*0x1+0x1f4,0xa));async function iil1l1(IlIlil,lIli1I){const I1iIIl=i1l1Ii,II1il={'BjdCl':I1iIIl(0x227,'XwPH')};try{if(illlIi[I1iIIl(0x1e7,'oJKk')](I1iIIl(0x296,'XDwi'),illlIi[I1iIIl(0x1dc,'zXi8')]))switch(IlIlil){case illlIi[I1iIIl(0x1a7,'oJKk')]:if(illlIi[I1iIIl(0x1cc,'qiP5')](lIli1I[I1iIIl(0x1cf,'oJKk')],'0')&&lIli1I['data']){if(illlIi['rSiLk'](I1iIIl(0x1ed,'kG%W'),illlIi[I1iIIl(0x1f6,'WBHb')])){const I1lIll=lI1Iil(lilIiI);I1lIll>=0x0&&(IiilIi[I1iIIl(0x18c,'[74C')]=I1lIll);}else lllll=lIli1I['data'];}else I1iIIl(0x209,'8Wi0')===I1iIIl(0x205,'WhZs')?ii1li[I1iIIl(0x20d,'Q@kn')](IIll1,ll1il):(msg=common[I1iIIl(0x221,'kG%W')](lIli1I),console['log'](''+IIIIIi+lIli1I[I1iIIl(0x18a,'y]s(')]),liiII1=!![]);break;case illlIi[I1iIIl(0x155,'WhZs')]:lIli1I[I1iIIl(0x27a,'K2BA')]==='0'&&lIli1I[I1iIIl(0x15e,'7m2(')]&&(['领惊喜'][I1iIIl(0x293,'etGj')](II1ii=>lIli1I[I1iIIl(0x172,'WhZs')][I1iIIl(0x246,'XDwi')]['includes'](II1ii))&&(IIIl1l=!![]));break;}else try{const lillII=lI1Iii(i1li);lillII>=0x0&&(IliI11['waitTime']=lillII);}catch{i1l1lI[I1iIIl(0x18d,'tVO)')](II1il['BjdCl']);}}catch(ii1ilI){illlIi[I1iIIl(0x231,'zp2n')](illlIi['bKcTf'],illlIi[I1iIIl(0x191,'stJO')])?console['log'](I1iIIl(0x19b,'tVO)')+IlIlil+'\x20请求响应\x20'+(ii1ilI[I1iIIl(0x276,'#lhm')]||ii1ilI)):iii1I1=0x1;}}async function lllli(iIiI1){const lI1IIl=i1l1Ii;if(illlIi[lI1IIl(0x16d,'G%]%')](lI1IIl(0x26f,'8Wi0'),'eXXRf')){if($[lI1IIl(0x1d8,'qiP5')])return;let liil1I='',i11ii1=null,IlIliI=null,l1iII1=illlIi[lI1IIl(0x1ac,'PW(@')],iiill1={},lIli1i={};switch(iIiI1){case'seckillViewTask':lIli1i={'appId':illlIi[lI1IIl(0x183,'XDwi')],'functionId':lI1IIl(0x243,'PT&W'),'appid':illlIi[lI1IIl(0x156,'tVO)')],'clientVersion':common[lI1IIl(0x173,'30@c')](),'client':'apple','body':{'taskType':i11ili,'skuId':i11ili==0x1?illlIi[lI1IIl(0x20c,'v)8c')]+common[lI1IIl(0x288,'G%]%')](0xb,lI1IIl(0x265,'PZ33')):undefined},'version':lI1IIl(0x185,'oJKk'),'ua':IIIl1i,'t':!![]};if(i11ili===0x0)delete lIli1i[lI1IIl(0x1ce,'WBHb')]['skuId'];iiill1=await H5st[lI1IIl(0x24c,'[hiM')](lIli1i),liil1I=lI1IIl(0x1e8,'M0cI'),i11ii1=iiill1[lI1IIl(0x1e9,'8Wi0')];break;case illlIi['hgVSM']:lIli1i={'appId':'8f7ef','functionId':illlIi[lI1IIl(0x242,'K2BA')],'appid':illlIi['QHuoB'],'clientVersion':common[lI1IIl(0x1b0,'Q@kn')](),'client':lI1IIl(0x253,'yc#a'),'body':{},'version':illlIi['KccCI'],'ua':IIIl1i,'t':!![]},iiill1=await H5st[lI1IIl(0x22f,'At60')](lIli1i),liil1I=lI1IIl(0x236,'30@c'),i11ii1=iiill1[lI1IIl(0x1d2,'WBHb')];break;default:console[lI1IIl(0x1c5,'1v7J')](lI1IIl(0x1eb,'3WLl')+iIiI1);return;}const IIIII1={};i11ii1&&Object[lI1IIl(0x214,'K2BA')](i11ii1,IIIII1);IlIliI&&(illlIi[lI1IIl(0x199,'WhZs')]===illlIi[lI1IIl(0x250,'stJO')]?Object[lI1IIl(0x281,'7FLi')](IlIliI,IIIII1):I1iIi1=!![]);const I1lIlI={'url':liil1I,'method':l1iII1,'headers':{'Accept':illlIi[lI1IIl(0x170,'IgSv')],'Accept-Encoding':lI1IIl(0x1c1,'7m2('),'Accept-Language':illlIi[lI1IIl(0x1b2,'NFrH')],'Connection':lI1IIl(0x165,'Z)Y*'),'Content-Type':illlIi['OyhSu'],'Cookie':IlIII,'Origin':'https://pro.m.jd.com','Referer':illlIi[lI1IIl(0x23f,'zXi8')],'x-rp-client':illlIi['GLtlD'],'Sec-Fetch-Dest':illlIi[lI1IIl(0x27b,'y]s(')],'Sec-Fetch-Mode':illlIi[lI1IIl(0x24d,'Z)Y*')],'Sec-Fetch-Site':lI1IIl(0x24e,'NFrH'),'User-Agent':IIIl1i},'params':IlIliI,'data':i11ii1,'timeout':0x7530};if(illlIi['TENPv'](l1iII1,lI1IIl(0x17c,'etGj'))){if('faNge'!==lI1IIl(0x202,'WBHb')){IiiIl1['log'](lIIil1+lI1IIl(0x289,'LjjZ')),IIli1[lI1IIl(0x262,'W$k!')](lI1IIl(0x17e,'3WLl')),II1liI['needRemoveCookieIndex'][lI1IIl(0x178,'stJO')](IlI1i1);return;}else delete I1lIlI[lI1IIl(0x1de,'stJO')],delete I1lIlI['headers'][illlIi[lI1IIl(0x16f,'NFrH')]];}const ii1ill=0x5;let II1iI=0x0,llI1II=null;while(illlIi[lI1IIl(0x184,'Ux[(')](II1iI,ii1ill)){illlIi['pCUgf'](II1iI,0x0)&&await $[lI1IIl(0x27e,'v)8c')](0x3e8);const illIi1=await common['request'](I1lIlI);if(!illIi1[lI1IIl(0x204,'7FLi')]){if(illlIi['Yxyin'](lI1IIl(0x210,'NFrH'),lI1IIl(0x1d6,'tVO)'))){llI1II='🚫\x20'+iIiI1+lI1IIl(0x1fa,'8gTh')+illIi1[lI1IIl(0x280,'[hiM')],II1iI++;continue;}else return Iliill;}if(!illIi1[lI1IIl(0x277,'[74C')]){if(illlIi[lI1IIl(0x23c,'yc#a')]!==lI1IIl(0x219,'TY&#')){llI1II='🚫\x20'+iIiI1+lI1IIl(0x217,'#lhm'),II1iI++;continue;}else Illl1l[lI1IIl(0x168,'3U9C')](Illl1i+lI1IIl(0x24b,'TY&#')+lIIiil[lI1IIl(0x268,'XwPH')]+'京豆\x20🐶'),l1lIii[lI1IIl(0x26b,'48fe')](lI1IIl(0x1c9,'kG%W')+I11iI1[lI1IIl(0x189,'3U9C')]+'京豆\x20🐶');}await iil1l1(iIiI1,illIi1[lI1IIl(0x1e5,'qiP5')]);break;}illlIi['HzVib'](II1iI,ii1ill)&&(illlIi[lI1IIl(0x17d,'WBHb')](lI1IIl(0x224,'PZ33'),lI1IIl(0x271,'8gTh'))?[lI1IIl(0x1d5,'8Wi0')][lI1IIl(0x245,'At60')](i1l1iI=>II1lii['data']['title'][lI1IIl(0x166,'qiP5')](i1l1iI))&&(lIIii1=!![]):console[lI1IIl(0x247,'K2BA')](llI1II));}else I1i11l[lI1IIl(0x25d,'8Wi0')](llIlii+lI1IIl(0x279,'At60')+llIlil[lI1IIl(0x211,'etGj')]+lI1IIl(0x1d3,'3WLl')),IIlil['insert'](lI1IIl(0x179,'G%]%')+ilI1lI[lI1IIl(0x1ad,'48fe')]+lI1IIl(0x229,'n#ZS'));}async function iiili1(){const i1ilI=i1l1Ii;if(illlIi[i1ilI(0x196,'XDwi')]===illlIi['bBinQ']){const lI1lii={'has_native':'0','babelChannel':illlIi[i1ilI(0x1d0,'IgSv')],'commontitle':'no','transparent':'1','hybrid_err_view':'1','copSource':'miaosha','jumpFrom':'1','tttparams':btoa(JSON['stringify']({'gLat':'','un_area':'','dLat':'','prstate':'0','addressId':'','lat':'','posLat':'','posLng':'','gps_area':illlIi[i1ilI(0x19c,'qiP5')],'lng':'','gLng':'','model':illlIi[i1ilI(0x20a,'3WLl')],'dLng':''}))},Iiili1=new URLSearchParams(lI1lii)[i1ilI(0x180,'n#ZS')](),Iil1l1=await common['request']({'url':i1ilI(0x228,'*@6(')+Iiili1,'method':'GET','headers':{'Origin':illlIi[i1ilI(0x22c,'stJO')],'Referer':i1ilI(0x292,'NFrH'),'Cookie':IlIII,'User-Agent':IIIl1i,'hybridXslAvailableElements':i1ilI(0x17f,'W$k!'),'Host':illlIi[i1ilI(0x201,'[74C')],'Accept':illlIi['LSDmL']},'proxy':null,'debug':![],'timeout':0x7530}),i1i11I=Iil1l1[i1ilI(0x248,'Z)Y*')];return i1i11I;}else delete l1iiI['data'],delete ll1li['headers'][illlIi['GmJSG']];}}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) }
|