mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-10 09:39:18 +08:00
11 lines
40 KiB
JavaScript
11 lines
40 KiB
JavaScript
/*
|
||
4.12-4.18 服装美饰抽奖
|
||
|
||
cron "1 1 1 1 *" script-path=jd_fzms_draw.js, tag=4.12-4.18 服装美饰抽奖
|
||
|
||
*/
|
||
const $ = new Env('4.12-4.18 服装美饰抽奖');
|
||
var iil='jsjiami.com.v7';const Iiili1=iii1II;(function(lI1ll1,iIiI1,liil1I,i11ii1,IlIliI,l1iII1,iiill1){return lI1ll1=lI1ll1>>0x3,l1iII1='hs',iiill1='hs',function(lIli1i,IIIII1,I1lIlI,ii1ill,II1iI){const lI1lii=iii1II;ii1ill='tfi',l1iII1=ii1ill+l1iII1,II1iI='up',iiill1+=II1iI,l1iII1=I1lIlI(l1iII1),iiill1=I1lIlI(iiill1),I1lIlI=0x0;const llI1II=lIli1i();while(!![]&&--i11ii1+IIIII1){try{ii1ill=parseInt(lI1lii(0x1be,'oSq$'))/0x1*(-parseInt(lI1lii(0x1e1,'D*ob'))/0x2)+parseInt(lI1lii(0x22b,'zReF'))/0x3+parseInt(lI1lii(0x258,'1Kyh'))/0x4+-parseInt(lI1lii(0x2d4,'$E]J'))/0x5*(parseInt(lI1lii(0x2c5,'x6HC'))/0x6)+parseInt(lI1lii(0x174,'I0P3'))/0x7*(parseInt(lI1lii(0x2ae,'JSya'))/0x8)+-parseInt(lI1lii(0x280,'1Kyh'))/0x9+-parseInt(lI1lii(0x162,'FQZw'))/0xa;}catch(lIli1l){ii1ill=I1lIlI;}finally{II1iI=llI1II[l1iII1]();if(lI1ll1<=i11ii1)I1lIlI?IlIliI?ii1ill=II1iI:IlIliI=II1iI:I1lIlI=II1iI;else{if(I1lIlI==IlIliI['replace'](/[LUXdKARDfpwgFWMJklGbTr=]/g,'')){if(ii1ill===IIIII1){llI1II['un'+l1iII1](II1iI);break;}llI1II[iiill1](II1iI);}}}}}(liil1I,iIiI1,function(lillIi,illIi1,ii1ili,liil1i,lI1lil,i1l1iI,liil1l){return illIi1='\x73\x70\x6c\x69\x74',lillIi=arguments[0x0],lillIi=lillIi[illIi1](''),ii1ili=`\x72\x65\x76\x65\x72\x73\x65`,lillIi=lillIi[ii1ili]('\x76'),liil1i=`\x6a\x6f\x69\x6e`,(0x163b52,lillIi[liil1i](''));});}(0x658,0x54501,Iii11l,0xcd),Iii11l)&&(iil=0xcd);const jdCookie=require(Iiili1(0x18a,'d]Y6')),notify=require('./utils/Rebels_sendJDNotify'),common=require('./utils/Rebels_jdCommon'),{H5st}=require(Iiili1(0x1c0,'4ufr')),isNotify=![];function iii1II(_0x1f2f77,_0x485bb0){const _0x150ae7=Iii11l();return iii1II=function(_0x58635a,_0x46f38d){_0x58635a=_0x58635a-0x154;let _0x242589=_0x150ae7[_0x58635a];if(iii1II['HzSbNp']===undefined){var _0x42c0f2=function(_0x24be8c){const _0x6a9be4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x518a57='',_0x842796='';for(let _0x1dd30f=0x0,_0x10f337,_0x1f80bb,_0x2e79e6=0x0;_0x1f80bb=_0x24be8c['charAt'](_0x2e79e6++);~_0x1f80bb&&(_0x10f337=_0x1dd30f%0x4?_0x10f337*0x40+_0x1f80bb:_0x1f80bb,_0x1dd30f++%0x4)?_0x518a57+=String['fromCharCode'](0xff&_0x10f337>>(-0x2*_0x1dd30f&0x6)):0x0){_0x1f80bb=_0x6a9be4['indexOf'](_0x1f80bb);}for(let _0x17522a=0x0,_0x5b1a7f=_0x518a57['length'];_0x17522a<_0x5b1a7f;_0x17522a++){_0x842796+='%'+('00'+_0x518a57['charCodeAt'](_0x17522a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x842796);};const _0x435507=function(_0x5560ff,_0x55299c){let _0x212f44=[],_0x1541ce=0x0,_0x1ff8fb,_0x1c6530='';_0x5560ff=_0x42c0f2(_0x5560ff);let _0x515701;for(_0x515701=0x0;_0x515701<0x100;_0x515701++){_0x212f44[_0x515701]=_0x515701;}for(_0x515701=0x0;_0x515701<0x100;_0x515701++){_0x1541ce=(_0x1541ce+_0x212f44[_0x515701]+_0x55299c['charCodeAt'](_0x515701%_0x55299c['length']))%0x100,_0x1ff8fb=_0x212f44[_0x515701],_0x212f44[_0x515701]=_0x212f44[_0x1541ce],_0x212f44[_0x1541ce]=_0x1ff8fb;}_0x515701=0x0,_0x1541ce=0x0;for(let _0x1123cf=0x0;_0x1123cf<_0x5560ff['length'];_0x1123cf++){_0x515701=(_0x515701+0x1)%0x100,_0x1541ce=(_0x1541ce+_0x212f44[_0x515701])%0x100,_0x1ff8fb=_0x212f44[_0x515701],_0x212f44[_0x515701]=_0x212f44[_0x1541ce],_0x212f44[_0x1541ce]=_0x1ff8fb,_0x1c6530+=String['fromCharCode'](_0x5560ff['charCodeAt'](_0x1123cf)^_0x212f44[(_0x212f44[_0x515701]+_0x212f44[_0x1541ce])%0x100]);}return _0x1c6530;};iii1II['FuhjEC']=_0x435507,_0x1f2f77=arguments,iii1II['HzSbNp']=!![];}const _0x21d537=_0x150ae7[0x0],_0x351198=_0x58635a+_0x21d537,_0x26629c=_0x1f2f77[_0x351198];return!_0x26629c?(iii1II['plnSkO']===undefined&&(iii1II['plnSkO']=!![]),_0x242589=iii1II['FuhjEC'](_0x242589,_0x46f38d),_0x1f2f77[_0x351198]=_0x242589):_0x242589=_0x26629c,_0x242589;},iii1II(_0x1f2f77,_0x485bb0);}let linkId=Iiili1(0x2c3,'#0dr'),cookie='';const cookiesArr=Object[Iiili1(0x160,'d9Lb')](jdCookie)['map'](iI1li1=>jdCookie[iI1li1])[Iiili1(0x199,'4ufr')](lllii1=>lllii1);!cookiesArr[0x0]&&($['msg']($[Iiili1(0x170,'48Y5')],Iiili1(0x238,'*xN@')),process[Iiili1(0x237,'I0P3')](0x1));function Iii11l(){const il1iIi=(function(){return[...[iil,'XKwfjkRsdjdibbampbDiJT.McLolWGmK.gv7UrFA==','WPZdGZO','4P64i+IgP+ADSUI8JUIIMEMbRowjGos7IoMxO+IVUcq','xZJcJqlcI2ntCviFW6rA','WPHSW5O','EvNcTrO','W449WPHSpSkHtG','jmokWRZcSvpdN1HlWRtdMmkqWO/dV1NdHCoSWR8/jW','W7xcQaC','phbZnh4','5OI45AAN5AAa6lwFW4W','W4OoWPvSsq','WP/dUHv2lG','WPD0W7esW4bbgCo5zGuXWOG','nZ5Rwu4','CKBcIbuwv8kdW6xdH8k/','W5KQWOvEBG','W6PGwGxdOa','W4VcG8kEeCoVW5LjW6dcNumrsqxdPG','W7RdKxK0oa','WRBdPJhdVmov','WOzJmNaKWQBcQKRdVr7cJuxdOG','WOldMtnIgMm','WPhdIYVdV8oo','W506WPXtqq','zSoeWP3cIKNcNG','hCkyWOagWRJdPJKOW45fW7GP','WOddNJrDeq','WQvWW4OdW6XMoSoKyrq','W5pcN8oznmkg','l8o6W7JdSSkQbfC8eG','W5PsAKKT','hCofW4aGW7W9','W57cKdNcJWNcMa','o1VdR3BdLG','WRD0DMNdIZZcVKOexwmRW4lcJSkHWPFdRCoKvCkbwmkTWQRdHW','5P+76k2Y5lUg5yUf5Aw16lw7WPe','W6e1o8olfSoTtSoAW5W+W6SFEbhcTCoTWQyBk8oUWRJcQ8kb','W6qyrWy','W68OiCosfSk/l8kqW4KO','lSkwBGiOFIxcKmk8dL7dLa','WOpcLSkJFLddQuPJxW','W7ZcTri5p8on','o0zW','5A2e5OUh5lIo5yQO5AEx6lsAW48','bSk3WOiOWRC','WPJcK2W','jSkiwq8UCqtcHG','smoBaColWQ1SoLaTx8ki','W70XhWZcG8kWWPuoW4W','j8oKW6/dK8k9','tmkuaCkDW5/dOCo2W7SkpmkdCq','W4u0BsL9W7hdJexdOHpcRG','CCobAWOW','dSkCWOCLW4VdVcm','W4tcG8koaa','WQDVW7Oh','a0ToAG','WQuvWQXvW6WOAa','gMJdNeu','ASoCWOBcT0S','WOzNmxeKWQVcRMldIatcUw7dGG','kCoHWQNcGh8','pvXKpwK','d8knWO9tW4q','W7xcG8oyamkfECkFBSkQW4BcU3XJWRNdRq','W4b7oxRdSIKq','cCo9W5JdOSkQ','WRbivvxdRW','W5FcNSkdh8oV','WQ8+WOLWW7S','gCohW6ymW7WXWOZdTJNdTq','cmkjWQCmWO3dPbSOW45z','jSkSWRHmW4q','W7f0uConW6O','F1NcUW','odL3','i8oaWRa','W4hdNCo9sCou','bevEBG','WRrlW7pdH8osW6VdO8oS','WQ10W7SpW5zP','bxaRzSkT','o8kCWOKDWQG','C8o1tHCLoCoy','ySogWRVcPKNcKNNcQHxdNsZdUq','uriBnJ/dJSoHq8kPfmohW41o','W7xcOG4tomoc','WRGcWRzCW6GbBmosyG','WRnVDM3dNxtdQcGetMjSW4hdHCkpWOhcOSoW','W7XMCSotW4ZdVCkpW51WW6BcLCosWQZdVSopqCkqqf3cScRcICoaW4ZcRCkfECkNWRGXwCkdWPpcGINcPSoRsxhdUCktWQddRSoUhmoPWQpcOmkqWP3dJ27dJ8kkWPtdM8oaW7ZcJCoSW6nQgSoFd0JcRCo3B37dH8k7Dmk1WRu','WQCOW4ZdHmkiWO3cUCkipa','W4u3WOS','FmoInMRdKWWj','i8oVW7JdHCkKn1m','g8kkWPaoWQG','WQC7W5FdN8kaWRdcNmkelCkV','gSoHW53dLCk8','WOe7WQLkW44','WPjjW6e','W6VdRgVcMbS','ke46ySkgoc4RW6VcLCoRySkY','xmoXf8k4WOa','W6aVlmoxemkZbmkg','WO1fW5i7W5y','WQfYW6WVW6XQ','WPX5W7qXW4W','D8kUFsOUBry','mCoiWRVcS2ZdMf9hWQpdNW','uCoBW59xuW','umooWORcHgS','woITGoAZSowsOow4M3O','4PYiW5/MN6tOG6xMR4tNOyJLP4JNK7hcHq','WOrcWO7dLh8','B8o/tqmw','chVdH3ZdIdy','aCoTW4xdPmkm','W4GOWRHfEmk5FSo7W7tcNWBcGG','tCoOW67dJY4','noAiLowKQUInPEw9RCkKWQal','W5TdtNOK','WPKJW58','WOD3W5WQWQVcPG','WQqFWQTsW6G9Dmo8B2LExaeq','xL3cHtKa','f8oeW4NdIcZcJYq','WPq8W6X4WQiGW6JdGSknzY7dSq','awBdGuxdNIn4Ex4PW4vWW43dS8kBWPxdRmos','u8o0rfu2cmoQWPZdLchcNSk9lSooWQldLCohWOCtWORcVaq','5A6h5OM+5lUK5yIVW7lMIiZLPytMRzRMLB/VVkm','cmoap8k7WR3dJ8ol','bCkwWOCzWPVdVs4mW5XoW7uKWQFcJ8ktALnz','5lMT5yIc5Asy6lwH772a5Rkf5P+d6i2G5y2d5yQn5lQx5yQoWQyy'],...(function(){return[...['m1bfF1dcTSk4ECkAa8orW7S','p8ktsqS','cCo4WOtcGMi','WO1szw3dRa','d8owW5Sz','r1/cKs0O','W41dBmomW60','zW9jW6/cQq','WQPOy2pdTa','CmoqW4PsuZFcQ8kHW6ldPKhcJa','5P+e6k2p5lMX5yIa5AwA6lE7qW','w8o6e8k7WOS','Bgy7cqdcPMneuGNcOmkFEG','ieH+dG','WPpcLSkKDa','hCofW4acW70','W6VcKZCCbG','ESoCWRBcRxa','WQuNpSksWO3dTSkwWRbLW73cJSoFWQG','WRJcO8kQECkpuq','W64OcSoJla','W5WYkSojk8k2dmkq','W6vXs8oQW5m','WRtcMmk+ywhdRKOIBSoykCoh','WRHLDLxdMxldTbyrBhP1W7NdHCk5WOdcQSoOva','6lYQ5yAz6AAj6Agr5AAl6lEXW74','fmosW5WkW7SY','5P+M6k2u5lIu5yMM5Asl6lECeq','tmopaCoi','oSoRW7JdNCkmpKuQc8oO','WRzVCq','5AEU5y6j5AYT5lUK776t5lUh5PAt5OUn5PYB5lQB5yUI6ycm5BsB57Me5AYa5OM27769','WQPPW70jW5fSg8oO','W6uIpbFcOW','AmoEW54','tUAjGUwMMoIoR+w8SbZdRmkS','WRbyW6NdLSoJW5VdP8oSW67dJa','peXUcq','nCoiWRRcUuJdHwHdWQxdIG','xmojW4nvW4VcVXmYW6LoW4qG','5P2E6kYa5lQW5yMJ5Awl6lEAW7C','W7RcQaqr','5P+z6k2y5lQj5yIb5AEy6lsMqG','W6aXWP9qBW','WRWrWQXnW4qHFSoADxW','e8oTWQdcVxe','hwldL2ddVW','W6ZdLgSlhW','4P+ymUACRoIbNUAVNoEIQEwMPoEtTca','WOj1WRJdNeitWPOhW5ldRmk/WOFcPCkfer3cO216WR/dHmoyW6Sn','WRJcTSkhAmkltmkNzMT9','WPHMW5m5WQRcVq','5yYY5yckta','WP/cNxjb','W6n0WPy','W7RdPK0Qcq','ASoGeCkEWR0','iSkZDYNcHf9DW5Xre8oMWRm+','W5Suzczr','W6tcGSoaamkd','uSoggW','WRTHDNG','dmoeWPhcR3W','CLpcHHSw','WOmZWQ53W6m','y8ouW41Xic3cSq','WR0vWQDSW4a','WRJcOCkOx2K','W4NcPmkdnSo+','hN3dLexdJIi','WQqFWRG','qCkliCkiW4NdUmolW5mFpSkcDcNcP8ooWRRdSMe','mCoiWRVcS3hdJ1Xh','Fqm9uc4rkG','W6ldGLOVgf3cUSkY','lmkAWQ98W4juWR8','zGTSW73cV8owDW','o8kRWPqzWQO','WPZcKhvsW6G','WOD3WOzasmk9vCo1W6NcMW','4PYcWQRMNQhNNzpORllMSjiw','bSogWQBcReddMfGpWOxdKSk/WPO','DmodW5bdCbFcSCkTW7ZdVq','FCo/wqe','WOxcNwXpW6NcVmk9W7pcJCoIW6vLW4S','W5ZcMmoZlmkm','WPFcLxfnW4NcVmkCW6hcVmoV','dmklWOeGWO3dQa','uSoteColWQDIa1W','WPtdJsLg','W5tcHIpcKdS','WRDlW6NdMa','WQCVW5BdLG','smk3oSkvW50','WQ4zWRnsW6G9','CSoOixW','W5bkd1ZcLW','W6ldGLOVbuRcUCkYW6FdIq','WOuNW5PiWPu','oCkEWOm3WP8','W4b8WOGHW6r7W6ddMmkQCb7dUa','8kskOSkv','yvFcSHakuq','W4Tqv1i7uXfBsfC','WRJcPCkCC8kd','6l2n5yEg6AA/6AcX5Aw96lsbW6y','W7hdHL0ilvdcR8kKW6hdVbXFWRK5W7FcLsNcU8kJ','ySoiW5jJqa','FCoOiG','jCkpWPP5W5rnWOJcKSorW7GLWR4','W4f3i1pcQZyD','he0VDCkMpqaH','WQvyW7ldOCo1W7u','iGtdRKXvbCo9W6RdHSkJBHxcTq','WOT7WRxdIMK','WPWMW5fPWQa','kCogWRZcReddHfvHWRNdISkHWPZdTKS','j18NyG','hwJdH1ddLIjfvwSR','5OU05AwO5Aw76lsIW4q','lCoFWQ7cT3u','rmoJW6FdOci','WPGPW4TQWRaSW4e','WRZcTCkfFSkS','WRDiW7qTWPq','CrHWW6hcPW','y0tcTq4a','afHblLa','WPPZW67cUCoX','deTn','nSkAWR9TW4jvWRG','W4zsW4ulWOZcUwK','W4mWCYnaW7BdReddQG','W6zFWQPsW6qJFSkqvw1swGGqnvK'],...(function(){return['W6dcG8odn8ktxq','W60Go8oA','6lsA5y2n5PAs5PEO','WOVcU8kstSkK','tmoig8oAWOXkgLWTsq','p0X2hMfjuW','dmktWRGgWQy','W7hdJLdcNq','zfFcTqa','W5S+zW','WPzSB3tdNW','WPftW7lcVSo/WPtcSG','WRvZCNtdKG','jgBdHMpdVq','WQvWW60MW7bzf8o+Eq','kmkAWQb/W5no','kCogWQ8','wmoBbSob','wCkfjSkxW6xdVSoxW7mYnmkzAq','W77cOHq8ECozW6a','A8oeW41/Et/cOG','5lMC5yQ/5Aw86lsx77+l5Ro75P2T6i6f5yYf5yIn5lQP5yU3W77dMa','WQ9YA2pdNq','jLaBx8kz','5y+S5ygZnW','5y+05yk8gG','of0htSke','eNnzkga','BqFdK8ojWQm','i8oQWQ7cQ1W','mCoiWRVcS3BdMvLqWRldJSkAWO3dVW','W7ldJKRcGG3cRmoRWRtdKa','Fmk7WRpcHCo1yMqknmojW7dcLG','WPHSW4KQWRVcP1i9l8kzF0CLw8kIxCodW78','WP7dIGZdVmol','W5FcQbq4i8onW73dVW','zSolW4TZEG','W6rlBCoHW5a','WODVW5q','W6GXpmo/cSkdamkgW4C','WOpcGCkgBw0','BSoIvb4HcSoeW5tdTG','WRO2W4/dImk/','jmoeWQFcRuVdGG','W7JcLIhcTXG','WRldKHxdHmomAwT/','WPpdJsLeha','w8opWQhcLeW','W6SsoCoVbG','WQfAW5tdJCo1W7NdL8oSW7FdNSkwnq','DCoMmxG','WQLaW6NdNmo3','W6tcGCoLg8ktuCk8ACk/W5VcTvy','WPXOW7FcV8ok','W5GPWOvOEG','yGb8W6lcQ8ovDWG','xSkSiCkyW4a','oK9+Duu','5PQV5P+o6i+I5yYQ5OQ85yIv','WRy5W5hdL8kBWQRcRmkmpmk9WOVdUuSUW5NcKmoHoqi','DSostcSk','nSoyW4yHW6a9WQNdSq','s0RcHmkXW4O','zv/cGa','y0tcTq4aDCk7W6NdMCk4','nmkkWR1W','5AY35OUY5lQW5yMJ5Awl6lEAW7C','WP9fW7lcKCoLWPZcOv3dOxqZW57cTaFcT8kpW7xcT0G','gCohW6ymW7WXWOtdUJ7dOdxcNW','W4LpBvuHxW','W41fD38PtdHbt2lcGCo9WPGKW6ldGJJcMbu','W6WObrm','WQjPW6y','5AwL5y2V5A6j5lUL772x5lUF5PAe5OQ15P+b5lQu5yQw6ygf5Bwr57Q35AYp5OUf776N','WQFcKmktwCkR','W6u/cW','5A+L5OUP5lIi5yUmW5lMIllLPihMRAdML43VVlC','cmofW5SxW6OzWQ/dSsZdQdVcVCkCeCok','WP3cPmkqE8kOxSkoyG','W5FdN8owESoK','fmoyW5u','WPRdGZrj','W6mSkCopmW','jeZdUwJdSG','5P6R6k2O5lMW5yIx5AE06lw1gG','WOzUWRJdMfrBW4XRW5VdVCk4W4RcRCoy','W4DfCeaPxZG','W70GpmoqiCk4nCkCW4ePW7C','WP5eDw/dOG','WO1CW6/dQ8oF','WOu+W5fJWRqcW5ddJSktya','5lUh5yIB5Awd6lAf77+L5RkI5P2N6i6o5y6w5yIk5lIa5yU2WOG3','zSowCX0m','WPG/WOXY','W4i0Eajz','W7RdJe4','lMxdKNBdUq','W4uWBIX7W7i','W4RdVNxcSX4','W7H9CSoxW5RcTCozWR9HW7FcKSoFWQFdRCkPq8ottW','CCoMmCkAWO4','W7JcTXayjCojW7xdPCk0pIjvWRqytqxdOhNcNmo7rdBcQCkmpSkIWQFdNSoQW6XmW57cVq','ouWJFCkn','W7vIuSocW4ZcRmoSWPTZW6a','W4VcIsNcKZ4','5RsY5yQy5AAX5zc7776aW4q','mSkdW5FdTGJdIaVcJqtdLthdVmkT','WQNdHHldQCo0CxW','W4VcKclcUb8','WRiaWRjGW6a','cuPoANC','WO1KWRJdOvrAW4zjW5tdUq','k8o4W7NdU8k2nW','W5H0vfSc','i0HKeujstSkyW5OBW5ZcUq','WRLSWR/dTee','xCoggmk3','44oh5O6k56AF44kV6kYA5yAl6i2V5yYZgSkHWRVdOK4Q','Dmo/lg0','44gu5OYV56E044cj6k2q5ywU6i275yYHW6BdTIpcUCoHxa','c8kDgCk2W40','C8oDWO3cLN4','W6u/gbpcSSkRWPGVW4JdK1pcUYFdGSk+W4ragW','W7XEBSoTW6u','W5yHvcLNW7tdNeNdUXFcTe0','CSo/wG','WQRdNbldM8o9yMjzW6/cRSkLA8oYpq','WQzTW7dcUCoY','WPy+W514WQuU','sSoid8k5WQ7dT8o0pmkW','6lAr5y6M5PEG5Psa'];}())];}())];}());Iii11l=function(){return il1iIi;};return Iii11l();};!(async()=>{const Iil1l1=Iiili1,liIli={'PgpZa':function(liIll,IilIi1){return liIll<IilIi1;},'efWnU':function(iI1liI,l1lIiI){return iI1liI+l1lIiI;},'CKIsJ':Iil1l1(0x2db,'yJnt'),'yjYjJ':function(llliiI){return llliiI();},'zQrmU':function(IilIiI,i1i1I1){return IilIiI!==i1i1I1;},'bzrJo':Iil1l1(0x1e6,'AI3r'),'KjMZs':Iil1l1(0x17b,'4ufr')};notify[Iil1l1(0x206,'OFfd')]({'title':$[Iil1l1(0x1b0,'lc8I')]});for(let IlII1=0x0;liIli[Iil1l1(0x19e,'FQZw')](IlII1,cookiesArr[Iil1l1(0x29a,'jt)L')]);IlII1++){$[Iil1l1(0x275,'D*ob')]=liIli[Iil1l1(0x28d,'AI3r')](IlII1,0x1),cookie=cookiesArr[IlII1],common['setCookie'](cookie),$[Iil1l1(0x1aa,'lc8I')]=decodeURIComponent(common['getCookieValue'](cookie,liIli[Iil1l1(0x1b7,'oSq$')])),$['UA']=common['genUA']($['UserName']),$[Iil1l1(0x297,'#0dr')]=notify[Iil1l1(0x241,'%3%C')]($[Iil1l1(0x251,'$E]J')],$[Iil1l1(0x2dd,'varw')]),$[Iil1l1(0x193,'!W)D')]='',console[Iil1l1(0x20c,'lPEp')]('\x0a******开始【京东账号'+$['index']+'】'+($[Iil1l1(0x15b,'*B96')]||$[Iil1l1(0x20f,'yJnt')])+Iil1l1(0x184,'d9Lb')),await liIli[Iil1l1(0x2d9,'zReF')](Main),common['unsetCookie']();if($['runEnd'])break;await $[Iil1l1(0x1c9,'bG$%')](0x3e8);}isNotify&¬ify[Iil1l1(0x230,'NWKP')]()&&(liIli['zQrmU'](liIli[Iil1l1(0x1e5,'0d#t')],liIli['KjMZs'])?(notify[Iil1l1(0x2a8,'lc8I')]('\x0a'),await notify['push']()):l1l1I1[Iil1l1(0x20c,'lPEp')](Iil1l1(0x26f,'yJnt')+(I1iIll?.[Iil1l1(0x25c,'zReF')]||'')));})()[Iiili1(0x1ef,'16fw')](lli=>$['logErr'](lli))[Iiili1(0x1a9,'65Lv')](()=>$['done']());async function Main(){const i1i11I=Iiili1,liIlI={'xKXGl':i1i11I(0x236,'Xl75'),'hvfoP':i1i11I(0x2df,'QOl6'),'XfyPe':i1i11I(0x15a,'*B96'),'pkbQD':function(llli1,iIli1i){return llli1===iIli1i;},'VRZGm':'boolean','IosRF':i1i11I(0x21d,'#0dr'),'yiCqc':function(iI1lii,IilIii){return iI1lii(IilIii);},'livfY':i1i11I(0x224,'AI3r'),'edjkL':i1i11I(0x283,'*xN@'),'YQjoR':function(iI1lil,l1lIi1){return iI1lil<l1lIi1;},'oNqEI':i1i11I(0x1b8,'7OE7'),'ksmZC':'tjHFd','pUWSM':i1i11I(0x28b,'FQZw'),'TImLG':i1i11I(0x24c,'d9Lb'),'iHdeA':i1i11I(0x274,'lPEp'),'WqVTT':'taskType','gpbro':i1i11I(0x273,'!W)D'),'SxeCQ':i1i11I(0x18f,'48Y5'),'Ilmmg':'BROWSE_','MkYMe':i1i11I(0x2cb,'YmmU'),'SpibW':'zjocO','hLhNZ':function(iIli1l,i1i1II){return iIli1l===i1i1II;},'bNqGY':i1i11I(0x1f9,'LP34'),'lrPpt':function(liiIIl,iil1iI,IlIllI){return liiIIl(iil1iI,IlIllI);},'jspmj':function(il1i1I,lI1li1){return il1i1I+lI1li1;},'fCfsy':function(iI11II,iIII1I){return iI11II*iIII1I;},'ErBQg':function(ilil1i,IlIIi){return ilil1i<IlIIi;},'rTWhJ':i1i11I(0x1a6,'0d#t'),'YazXi':i1i11I(0x1a8,'*xN@'),'zpmFm':'baGio','ALQUa':i1i11I(0x286,'D*ob'),'qcMIl':i1i11I(0x261,'D*ob'),'oQVnt':i1i11I(0x269,'1Kyh'),'jusGm':function(IiI1l,illlII){return IiI1l!==illlII;},'qIVDg':i1i11I(0x25b,'d]Y6'),'IELYI':function(iIII11,IiI1i){return iIII11<IiI1i;},'eNmAI':function(llll1,lil11l,i1i1Il){return llll1(lil11l,i1i1Il);},'ADwvZ':'FOLLOW_','mljvR':function(I1lIl1,lil11i){return I1lIl1(lil11i);},'sOsod':function(IlIIl,lI1liI,i1i1Ii){return IlIIl(lI1liI,i1i1Ii);},'VnhNf':i1i11I(0x2b5,'#0dr'),'SmsXp':i1i11I(0x225,'x6HC'),'OVxJm':i1i11I(0x2c7,'0DXx'),'uexJM':function(lllii,iI11Ii){return lllii===iI11Ii;},'bXkjz':i1i11I(0x287,'YmmU'),'JmIuH':function(iIII1l,lllil){return iIII1l*lllil;},'tvVxi':i1i11I(0x17a,'bG$%'),'TiMYM':i1i11I(0x2dc,'varw')},lll=await common['getLoginStatus'](cookie);if(!lll&&liIlI[i1i11I(0x23a,'zReF')](typeof lll,liIlI[i1i11I(0x265,'Z^Dj')])){console['log'](i1i11I(0x243,'1Kyh'));return;}try{if(liIlI[i1i11I(0x19d,'%3%C')](liIlI[i1i11I(0x1ce,'Z^Dj')],'xFNyH')){$[i1i11I(0x1fe,'bybP')]=![],$[i1i11I(0x2c8,'v*If')]=![],$[i1i11I(0x23f,'KOOS')]=0x0,$[i1i11I(0x253,'d]Y6')]=[],await liIlI['yiCqc'](sendRequest,liIlI['livfY']);if($[i1i11I(0x1e4,'jt)L')]){if(liIlI['edjkL']===liIlI['edjkL']){if($[i1i11I(0x22f,'v*If')]===0x1&&$[i1i11I(0x18d,'0d#t')]){let iil1i1='';for(let il1i11=0x0;liIlI[i1i11I(0x2ce,'AI3r')](il1i11,$[i1i11I(0x15f,'q#ja')][i1i11I(0x16e,'oSq$')]);il1i11++){if(liIlI[i1i11I(0x270,'FQZw')]===liIlI['ksmZC'])Illl1l={...Illl1i,...lIIiil};else{const IlIII=$[i1i11I(0x201,'bG$%')][il1i11],ilil1l=IlIII[i1i11I(0x29b,'4ufr')]||i1i11I(0x1fb,'LP34');iil1i1+='\x20\x20'+ilil1l+'\x0a';}}console['log']($['name']+i1i11I(0x22a,'tfkP')+iil1i1);}$[i1i11I(0x252,'bG$%')]='',await sendRequest(liIlI[i1i11I(0x257,'KOOS')]);let iI11Il=![],iIII1i=$[i1i11I(0x228,'AI3r')]||[];for(let illlIi=0x0;illlIi<iIII1i[i1i11I(0x1d0,'*xN@')];illlIi++){if(liIlI[i1i11I(0x173,'x6HC')]!==i1i11I(0x2b7,'D*ob')){$[i1i11I(0x242,'x6HC')]=iIII1i[illlIi][liIlI['iHdeA']],$[i1i11I(0x2c1,'%3%C')]=iIII1i[illlIi]['id'],$[i1i11I(0x185,'0DXx')]=iIII1i[illlIi][liIlI[i1i11I(0x1ba,'d9Lb')]],$['taskSourceUrl']=iIII1i[illlIi]['taskSourceUrl'],$[i1i11I(0x218,'varw')]=iIII1i[illlIi][liIlI['gpbro']],$[i1i11I(0x25d,'FQZw')]=iIII1i[illlIi][i1i11I(0x2d1,'0d#t')],$['taskShowTitle']=iIII1i[illlIi][liIlI[i1i11I(0x2b1,'zReF')]];if(!$[i1i11I(0x233,'d9Lb')]&&$[i1i11I(0x183,'dCLw')][i1i11I(0x272,'JSya')](liIlI[i1i11I(0x1cb,'YmmU')])){if(liIlI[i1i11I(0x169,'Z^Dj')](i1i11I(0x188,'FQZw'),liIlI[i1i11I(0x2bf,'bG$%')])){if($['taskSourceUrl']){if(liIlI[i1i11I(0x229,'NPj[')](liIlI[i1i11I(0x210,'7o6z')],i1i11I(0x195,'NPj[')))lilIl1['msg'](i1l1ii['name'],liIlI['xKXGl']),i1l1[i1i11I(0x208,'lPEp')](0x1);else for(let IiI1I=0x0;IiI1I<0x1;IiI1I++){liIlI[i1i11I(0x23c,'AI3r')](liIlI[i1i11I(0x1f6,'!zYT')],liIlI['bNqGY'])?(iI11Il=!![],console[i1i11I(0x1a7,'I0P3')](i1i11I(0x16f,'lPEp')+$[i1i11I(0x1bf,'1Kyh')]),await sendRequest(i1i11I(0x1cf,'*B96')),await $[i1i11I(0x1c8,'NA*R')](liIlI[i1i11I(0x15c,'lPEp')](parseInt,liIlI['jspmj'](liIlI['fCfsy'](Math['random'](),0x5dc),0x5dc),0xa))):I1llii['log'](i1i11I(0x156,'zReF')+(lilIll?.['errMsg']||''));}}else for(let i11ill=0x0;liIlI[i1i11I(0x291,'7o6z')](i11ill,0x1);i11ill++){if(liIlI[i1i11I(0x2d8,'jt)L')]!==liIlI[i1i11I(0x232,'OFfd')])IlI1i1={...l1lIl1,...IiiIlI};else{iI11Il=!![],console[i1i11I(0x28e,'bG$%')](i1i11I(0x1da,'JSya')+$[i1i11I(0x1e0,'NA*R')]),$[i1i11I(0x276,'LP34')]='',await sendRequest(liIlI['YazXi']);const IIIIIl=$[i1i11I(0x1f2,'q#ja')]?.['taskItemList']||[],I1lIil=$[i1i11I(0x2b8,'d]Y6')]?.[i1i11I(0x180,'Z^Dj')]?.[i1i11I(0x26a,'varw')];for(let IIIl1i=0x0;IIIl1i<I1lIil;IIIl1i++){const liiII1=IIIIIl[IIIl1i];liiII1?liIlI[i1i11I(0x22e,'4ufr')]!==liIlI['ALQUa']?($['taskSourceUrl']=liiII1[i1i11I(0x294,'*B96')],$[i1i11I(0x167,'4ufr')]=liiII1[i1i11I(0x158,'D*ob')],await liIlI['yiCqc'](sendRequest,liIlI[i1i11I(0x2de,'AI3r')]),await $[i1i11I(0x2d5,'d9Lb')](liIlI[i1i11I(0x256,'0DXx')](parseInt,Math['random']()*0x5dc+0x5dc,0xa))):IIII11['log'](i1i11I(0x165,'!W)D')+(i1illi?.['errMsg']||'')):console[i1i11I(0x20c,'lPEp')](i1i11I(0x21c,'!W)D'));}}}}else Iliiii['apTaskList']=i1illI?.['data'];}else{if(!$['taskFinished']&&$[i1i11I(0x1ee,'KOOS')][i1i11I(0x2aa,'varw')](liIlI[i1i11I(0x278,'#0dr')])){if(liIlI[i1i11I(0x282,'d9Lb')](liIlI['qIVDg'],i1i11I(0x1b6,'yJnt')))delete l1lIil[i1i11I(0x178,'YmmU')],delete IiiIli[i1i11I(0x186,'*xN@')][liIlI[i1i11I(0x1b3,'dCLw')]];else for(let iil1l1=0x0;liIlI[i1i11I(0x2ab,'*B96')](iil1l1,0x1);iil1l1++){iI11Il=!![],console[i1i11I(0x1ca,'1Kyh')](i1i11I(0x1d9,'d9Lb')+$['taskShowTitle']),await liIlI['yiCqc'](sendRequest,liIlI[i1i11I(0x2bb,'OFfd')]),await $[i1i11I(0x196,'q#ja')](liIlI[i1i11I(0x1b4,'FMEy')](parseInt,liIlI[i1i11I(0x1cd,'YmmU')](liIlI[i1i11I(0x1de,'dCLw')](Math[i1i11I(0x222,'1Kyh')](),0x5dc),0x5dc),0xa));}}else{if(!$['taskFinished']&&$[i1i11I(0x1ee,'KOOS')][i1i11I(0x1f8,'7OE7')](liIlI[i1i11I(0x219,'YmmU')]))for(let lllli=0x0;liIlI[i1i11I(0x214,'Z^Dj')](lllli,0x1);lllli++){iI11Il=!![],console[i1i11I(0x26e,'d9Lb')]('去做\x20'+$[i1i11I(0x26c,'QOl6')]),$[i1i11I(0x23d,'1Kyh')]='',await liIlI[i1i11I(0x1eb,'Xl75')](sendRequest,liIlI['YazXi']);const iiili1=$[i1i11I(0x298,'zReF')]?.[i1i11I(0x1d3,'LP34')]||[],ill11i=$[i1i11I(0x205,'bybP')]?.[i1i11I(0x2bd,'oSq$')]?.[i1i11I(0x191,'48Y5')];for(let lllill=0x0;liIlI['ErBQg'](lllill,ill11i);lllill++){const ill11l=iiili1[lllill];ill11l?($[i1i11I(0x1df,'dCLw')]=ill11l['itemId'],$[i1i11I(0x2af,'dCLw')]=ill11l['taskInsert'],await sendRequest(liIlI[i1i11I(0x1db,'lc8I')]),await $[i1i11I(0x2cc,'bybP')](liIlI['sOsod'](parseInt,Math['random']()*0x5dc+0x5dc,0xa))):liIlI[i1i11I(0x260,'Y^gB')]!==liIlI[i1i11I(0x234,'NWKP')]?console['log'](liIlI[i1i11I(0x17e,'QOl6')]):IllII1['log'](liIlI['XfyPe']);}}}}}else lilIiI[i1i11I(0x29f,'d]Y6')](i1i11I(0x2ba,'x6HC')+i1l1I[i1i11I(0x288,'0DDU')][i1i11I(0x212,'16fw')](',\x20')+']');}!iI11Il&&console[i1i11I(0x1ca,'1Kyh')](i1i11I(0x20a,'JSya'));if($[i1i11I(0x255,'0DDU')]>0x0){for(let IliiiI=0x0;IliiiI<$[i1i11I(0x23f,'KOOS')];IliiiI++){liIlI[i1i11I(0x21f,'1Kyh')](i1i11I(0x296,'FQZw'),liIlI[i1i11I(0x2a9,'x6HC')])?lI1Ili[i1i11I(0x23e,'#0dr')](i1i11I(0x203,'NPj[')+(IliilI?.[i1i11I(0x264,'NPj[')]||'')):(await liIlI[i1i11I(0x189,'48Y5')](sendRequest,i1i11I(0x182,'LP34')),await $[i1i11I(0x27e,'Z^Dj')](parseInt(liIlI['JmIuH'](Math[i1i11I(0x1a1,'bG$%')](),0x3e8)+0x3e8,0xa)));}if($[i1i11I(0x25e,'16fw')][i1i11I(0x155,'bybP')]){if(liIlI[i1i11I(0x1e9,'QOl6')]==='GNdMb'){IiilI1[i1i11I(0x1a7,'I0P3')](i1i11I(0x1c3,'!W)D'));return;}else console['log'](i1i11I(0x15e,'*xN@')+$[i1i11I(0x22d,'NPj[')][i1i11I(0x248,'bG$%')](',\x20')+']');}}}else Ii1iI1[i1i11I(0x2b8,'d]Y6')]=lilIli?.[i1i11I(0x178,'YmmU')];}}else Iil1I1[i1i11I(0x26e,'d9Lb')](i1i11I(0x267,'#0dr')+(Ii1iII?.['errMsg']||''));}catch(il1i1l){liIlI[i1i11I(0x17d,'4ufr')]('eQfjD',liIlI[i1i11I(0x2cd,'bG$%')])?Iliil1[i1i11I(0x2bc,'%3%C')]('抽奖失败,'+(i1III?.['errMsg']||'')):console[i1i11I(0x26e,'d9Lb')]('❌\x20脚本运行遇到了错误\x0a'+il1i1l);}}async function handleResponse(IIIl1I,iil1ii){const il1iIl=Iiili1,IlIlli={'qqiLq':il1iIl(0x23b,'lPEp'),'hBqON':function(il1i1i,lil111){return il1i1i==lil111;},'MqOFB':function(i11ilI,ii1ii1){return i11ilI!==ii1ii1;},'nCBxN':il1iIl(0x16a,'0DXx'),'EAmpK':il1iIl(0x1ad,'NWKP'),'WhXJz':function(llllI,lllil1){return llllI==lllil1;},'LQLZG':function(iil1il,ilil1I){return iil1il==ilil1I;},'MvoGY':'AsRHn','oVHQZ':'kebdU','UjfnF':il1iIl(0x1a2,'OFfd'),'lEdnE':function(i11il1,ii1iiI){return i11il1==ii1iiI;},'TkVcy':function(lllilI,ilil11){return lllilI===ilil11;},'uhazL':'sEzjQ','cVyHB':function(illlI1,IIIl11){return illlI1!==IIIl11;},'WEPVU':function(I1lIi1,liiIIi){return I1lIi1===liiIIi;},'NUang':il1iIl(0x25a,'KOOS'),'mCRqB':il1iIl(0x2a2,'FQZw'),'Iistd':'apTaskDetail','XyNSv':'apsDoTask','WbIXX':function(lil11I,Iliii1){return lil11I==Iliii1;},'AVAJN':'IKvlC','XKvAa':function(iIiIi,iil1ll){return iIiIi===iil1ll;},'bSvTc':'AkNCy'};try{switch(IIIl1I){case IlIlli[il1iIl(0x1f7,'d]Y6')]:if(IlIlli[il1iIl(0x1fd,'#0dr')](iil1ii['code'],0x0))IlIlli['MqOFB'](IlIlli[il1iIl(0x2b4,'NWKP')],IlIlli['EAmpK'])?($[il1iIl(0x21b,'%3%C')]=iil1ii?.['data']?.['prizeItems'],$[il1iIl(0x2be,'4ufr')]=iil1ii?.[il1iIl(0x2d6,'QOl6')]?.[il1iIl(0x277,'1Kyh')],$['NotLogin']=!![]):(Iii11I['lotteryChances']++,Iil1II[il1iIl(0x24b,'jt)L')](il1iIl(0x2c4,'7OE7')+iIIl1I[il1iIl(0x1af,'dCLw')]));else IlIlli['WhXJz'](iil1ii[il1iIl(0x27b,'*B96')],0x192)?console['log']('进入首页失败,'+(iil1ii?.[il1iIl(0x1c1,'Y^gB')]||'')):console[il1iIl(0x181,'4ufr')](il1iIl(0x1a4,'0DXx')+(iil1ii?.[il1iIl(0x26d,'jt)L')]||''));break;case il1iIl(0x2c2,'Z^Dj'):if(IlIlli[il1iIl(0x2ca,'dCLw')](iil1ii[il1iIl(0x27a,'0DDU')],0x0)){if(IlIlli['MqOFB'](IlIlli[il1iIl(0x21a,'q#ja')],IlIlli[il1iIl(0x24f,'16fw')]))switch(iil1ii?.[il1iIl(0x1d2,'!W)D')]?.[il1iIl(0x1ea,'#0dr')]){case 0x0:$[il1iIl(0x1a3,'yJnt')]['push']('空气');break;case 0x1:$['prize']['push'](''+iil1ii?.['data']?.['prizeDesc']);break;case 0x2:$[il1iIl(0x262,'OFfd')][il1iIl(0x197,'Xl75')](iil1ii?.[il1iIl(0x194,'16fw')]?.[il1iIl(0x1ec,'dCLw')]+'红包');break;case 0x3:$['prize'][il1iIl(0x157,'!W)D')](''+iil1ii?.[il1iIl(0x1f3,'I0P3')]?.[il1iIl(0x284,'Y^gB')]);break;case 0x11:$[il1iIl(0x227,'lc8I')][il1iIl(0x2c9,'JSya')]('谢谢参与');break;case null:$[il1iIl(0x1b9,'bG$%')][il1iIl(0x202,'*xN@')]('空气');break;default:$[il1iIl(0x1d7,'YmmU')]['push'](iil1ii?.['data']?.['prizeType']+'-'+iil1ii?.['data']?.[il1iIl(0x20e,'bybP')]);return;}else II1lil['message'][il1iIl(0x28f,'$E]J')](IIli1l);}else IlIlli[il1iIl(0x223,'NA*R')](iil1ii[il1iIl(0x19a,'I0P3')],0x192)?console[il1iIl(0x1d1,'dCLw')](il1iIl(0x1b2,'lc8I')+(iil1ii?.['errMsg']||'')):(console[il1iIl(0x244,'16fw')]('抽奖失败,'+(iil1ii?.[il1iIl(0x1ab,'q#ja')]||'')),$['Stop_Lottery']=!![]);break;case IlIlli[il1iIl(0x2b0,'0d#t')]:if(IlIlli['lEdnE'](iil1ii['code'],0x0))IlIlli[il1iIl(0x2a4,'D*ob')](IlIlli[il1iIl(0x2d0,'YmmU')],'sEzjQ')?$[il1iIl(0x28a,'bybP')]=iil1ii?.[il1iIl(0x2d6,'QOl6')]:(ilI1li[il1iIl(0x1cc,'!zYT')]=!![],IIliI[il1iIl(0x187,'7OE7')]&&IlI1iI[il1iIl(0x217,'OFfd')]['fix'](Iillil));else IlIlli[il1iIl(0x2b9,'FMEy')](iil1ii[il1iIl(0x235,'x6HC')],0x192)?IlIlli[il1iIl(0x24e,'d]Y6')]('aacgX','aacgX')?iii1Ii['log'](il1iIl(0x245,'oSq$')+iii1Il):console['log']('查询任务失败,'+(iil1ii?.[il1iIl(0x231,'D*ob')]||'')):IlIlli['WEPVU'](IlIlli['NUang'],IlIlli[il1iIl(0x2a7,'NA*R')])?(ilI1lI[il1iIl(0x1ca,'1Kyh')](IiiIll),IIlii&&(iI1lli[il1iIl(0x22c,'KOOS')]=!![],ll1iI['message']&&I1l1II[il1iIl(0x2a1,'D*ob')][il1iIl(0x209,'*B96')](IIli1I))):console['log'](il1iIl(0x267,'#0dr')+(iil1ii?.[il1iIl(0x192,'FQZw')]||''));break;case IlIlli[il1iIl(0x166,'d]Y6')]:if(IlIlli[il1iIl(0x175,'1Kyh')](iil1ii[il1iIl(0x164,'jt)L')],0x0))$['apTaskDetail']=iil1ii?.['data'];else IlIlli[il1iIl(0x172,'0DXx')](iil1ii[il1iIl(0x18e,'#0dr')],0x192)?console[il1iIl(0x211,'bybP')](il1iIl(0x215,'D*ob')+(iil1ii?.['errMsg']||'')):console[il1iIl(0x1bc,'v*If')](il1iIl(0x163,'NPj[')+(iil1ii?.[il1iIl(0x2b6,'Z^Dj')]||''));break;case IlIlli[il1iIl(0x1f0,'zReF')]:if(IlIlli['WbIXX'](iil1ii[il1iIl(0x27c,'v*If')],0x0))IlIlli['AVAJN']!==il1iIl(0x2a5,'4ufr')?i1IIi[il1iIl(0x15d,'0d#t')](il1iIl(0x2d2,'FMEy')+(IIII1I?.[il1iIl(0x1c1,'Y^gB')]||'')):($[il1iIl(0x216,'NWKP')]++,console[il1iIl(0x2a6,'!zYT')](il1iIl(0x20d,'FQZw')+$['lotteryChances']));else iil1ii['code']==0x192?IlIlli[il1iIl(0x240,'!zYT')](IlIlli[il1iIl(0x28c,'*xN@')],IlIlli[il1iIl(0x1f1,'varw')])?console['log']('完成任务失败,'+(iil1ii?.[il1iIl(0x263,'bybP')]||'')):(iliIIi['log'](il1iIl(0x24d,'Y^gB')+(ill11I?.[il1iIl(0x2ac,'*B96')]||'')),Iliiil[il1iIl(0x250,'*B96')]=!![]):console[il1iIl(0x24b,'jt)L')]('完成任务失败,'+(iil1ii?.['errMsg']||''));break;}}catch(illIiI){console['log'](il1iIl(0x16b,'AI3r')+IIIl1I+'\x20请求响应\x20'+(illIiI[il1iIl(0x27d,'4ufr')]||illIiI));}}async function sendRequest(lI1lli){const iii1ii=Iiili1,Ill1l={'oGfPM':iii1ii(0x1d6,'65Lv'),'dUhAb':iii1ii(0x1dd,'tfkP'),'VDheT':iii1ii(0x1e2,'oSq$'),'ijipq':iii1ii(0x204,'!zYT'),'nHiSt':'4.3','eSoiq':'https://api.m.jd.com/api','ejKkX':iii1ii(0x29c,'YmmU'),'wTBnP':iii1ii(0x159,'YmmU'),'asqzc':iii1ii(0x25f,'*B96'),'ImYwY':iii1ii(0x254,'lPEp'),'EZNRd':iii1ii(0x26b,'JSya'),'BzcKP':iii1ii(0x1e8,'varw'),'ClgGB':function(iIiII,iil1lI){return iIiII!==iil1lI;},'onQXq':'gLPFz','laVaw':iii1ii(0x268,'varw'),'lHaXZ':iii1ii(0x226,'jt)L'),'Ctjub':'application/json,\x20text/plain,\x20*/*','azlBd':function(iiiliI,li1i1I){return iiiliI===li1i1I;},'YiBVl':iii1ii(0x18c,'dCLw'),'UQKtz':function(illIii,ii1il1){return illIii<ii1il1;},'mGcxC':function(lI1llI,illIil){return lI1llI!==illIil;},'XyjSS':iii1ii(0x295,'lc8I'),'gNVVv':function(Ill1I,i11iiI){return Ill1I>i11iiI;},'pWTJU':'aaVAI','ZkTzJ':function(lIli11,lllI1I,lillI1){return lIli11(lllI1I,lillI1);},'EkpQf':iii1ii(0x213,'varw')};if($[iii1ii(0x259,'16fw')])return;let llI1Il='',ii1iii=null,i11iil=null,Ill1i=iii1ii(0x21e,'4ufr'),ii1iil={},lllI1l={};switch(lI1lli){case iii1ii(0x2c6,'FQZw'):lllI1l={'appId':Ill1l['dUhAb'],'functionId':Ill1l[iii1ii(0x168,'dCLw')],'appid':Ill1l[iii1ii(0x27f,'zReF')],'clientVersion':common[iii1ii(0x207,'OFfd')](),'client':iii1ii(0x271,'48Y5'),'body':{'linkId':linkId,'taskId':'','inviter':''},'version':Ill1l['nHiSt'],'ua':$['UA'],'t':!![]},ii1iil=await H5st[iii1ii(0x279,'FQZw')](lllI1l),llI1Il=Ill1l[iii1ii(0x198,'LP34')],ii1iii=ii1iil[iii1ii(0x1b1,'Z^Dj')];break;case Ill1l['ejKkX']:lllI1l={'appId':Ill1l[iii1ii(0x1bb,'!zYT')],'functionId':Ill1l[iii1ii(0x1c7,'FQZw')],'appid':Ill1l[iii1ii(0x1f4,'q#ja')],'clientVersion':common[iii1ii(0x1a5,'0DXx')](),'client':Ill1l[iii1ii(0x19b,'65Lv')],'body':{'linkId':linkId},'version':Ill1l['nHiSt'],'ua':$['UA'],'t':!![]},ii1iil=await H5st[iii1ii(0x249,'d]Y6')](lllI1l),llI1Il=Ill1l[iii1ii(0x2d3,'x6HC')],ii1iii=ii1iil[iii1ii(0x161,'dCLw')];break;case Ill1l['asqzc']:lllI1l={'appId':Ill1l[iii1ii(0x179,'dCLw')],'functionId':Ill1l[iii1ii(0x176,'Y^gB')],'appid':iii1ii(0x24a,'dCLw'),'clientVersion':common[iii1ii(0x2e0,'YmmU')](),'client':Ill1l['wTBnP'],'body':{'linkId':linkId},'version':Ill1l[iii1ii(0x17f,'0DDU')],'ua':$['UA'],'t':!![]},ii1iil=await H5st[iii1ii(0x1d4,'jt)L')](lllI1l),llI1Il=Ill1l['eSoiq'],ii1iii=ii1iil[iii1ii(0x2a3,'Xl75')];break;case Ill1l[iii1ii(0x1dc,'d9Lb')]:lllI1l={'appId':'ebecc','functionId':Ill1l['EZNRd'],'appid':iii1ii(0x1fc,'Xl75'),'clientVersion':common['getLatestAppVersion'](),'client':Ill1l['wTBnP'],'body':{'taskType':$[iii1ii(0x293,'q#ja')],'taskId':$['apTaskListid'],'channel':0x4,'checkVersion':!![],'linkId':linkId},'version':iii1ii(0x171,'Xl75'),'ua':$['UA'],'t':!![]},ii1iil=await H5st[iii1ii(0x285,'65Lv')](lllI1l),llI1Il=iii1ii(0x16c,'NWKP'),ii1iii=ii1iil[iii1ii(0x16d,'yJnt')];break;case Ill1l[iii1ii(0x1ff,'tfkP')]:lllI1l={'appId':iii1ii(0x239,'x6HC'),'functionId':Ill1l['BzcKP'],'appid':Ill1l[iii1ii(0x1ae,'%3%C')],'clientVersion':common[iii1ii(0x2e0,'YmmU')](),'client':Ill1l['wTBnP'],'body':{'taskType':$['taskType'],'taskId':$[iii1ii(0x1f5,'Y^gB')],'channel':0x4,'checkVersion':!![],'linkId':linkId,'itemId':$['taskSourceUrl'],'taskInsert':$[iii1ii(0x19c,'0DXx')]},'version':Ill1l['nHiSt'],'ua':$['UA'],'t':!![]},ii1iil=await H5st[iii1ii(0x17c,'0d#t')](lllI1l),llI1Il=iii1ii(0x266,'YmmU'),ii1iii=ii1iil['paramsData'];break;default:console[iii1ii(0x247,'oSq$')](iii1ii(0x18b,'D*ob')+lI1lli);return;}const i11iii={};ii1iii&&(ii1iii={...ii1iii,...i11iii});i11iil&&(Ill1l[iii1ii(0x1c4,'yJnt')]('gLPFz',Ill1l[iii1ii(0x1d8,'lc8I')])?lIIilI[iii1ii(0x177,'x6HC')](iii1ii(0x2b3,'*xN@')+II1li1+iii1ii(0x2b2,'bybP')+(l1lIlI['message']||IiiIl1)):i11iil={...i11iil,...i11iii});const llI1Ii={'url':llI1Il,'method':Ill1i,'headers':{'origin':Ill1l[iii1ii(0x2cf,'7OE7')],'Referer':iii1ii(0x29d,'AI3r'),'User-Agent':$['UA'],'Cookie':cookie,'content-type':Ill1l[iii1ii(0x281,'dCLw')],'accept':Ill1l[iii1ii(0x1ed,'NPj[')]},'params':i11iil,'data':ii1iii,'timeout':0x7530};Ill1l['azlBd'](Ill1i,iii1ii(0x1e7,'q#ja'))&&(delete llI1Ii[iii1ii(0x1c2,'varw')],delete llI1Ii[iii1ii(0x1c6,'d9Lb')][Ill1l[iii1ii(0x190,'Y^gB')]]);const lllI1i=0x1;let li1i1l=0x0,II1i1=null,lI1lll=![];while(Ill1l['UQKtz'](li1i1l,lllI1i)){if(Ill1l['mGcxC'](Ill1l[iii1ii(0x2ad,'*B96')],Ill1l[iii1ii(0x1e3,'KOOS')])){const liil11=IiilII[iii1ii(0x1c5,'!W)D')][IliI1I],iiillI=liil11[iii1ii(0x29e,'Xl75')]||'暂未获取成功';lI1Iii+='\x20\x20'+iiillI+'\x0a';}else{Ill1l[iii1ii(0x289,'4ufr')](li1i1l,0x0)&&await $['wait'](0x3e8);const l1l111=await common[iii1ii(0x1bd,'*xN@')](llI1Ii);if(!l1l111['success']){if(Ill1l['ClgGB'](Ill1l['pWTJU'],Ill1l['pWTJU']))i1ll[iii1ii(0x200,'tfkP')](Ill1l[iii1ii(0x20b,'yJnt')]);else{II1i1='🚫\x20'+lI1lli+'\x20请求失败\x20➜\x20'+l1l111[iii1ii(0x2d7,'bybP')],li1i1l++;continue;}}if(!l1l111?.[iii1ii(0x292,'v*If')]){II1i1=iii1ii(0x1a0,'Z^Dj')+lI1lli+'\x20请求失败\x20➜\x20无响应数据',li1i1l++;continue;}Ill1l[iii1ii(0x1fa,'v*If')](handleResponse,lI1lli,l1l111['data']),lI1lll=![];break;}}li1i1l>=lllI1i&&(console['log'](II1i1),lI1lll&&(Ill1l[iii1ii(0x221,'Z^Dj')]('HRDdf',Ill1l['EkpQf'])?($[iii1ii(0x1d5,'0d#t')]=!![],$[iii1ii(0x1b5,'%3%C')]&&$[iii1ii(0x2a0,'I0P3')][iii1ii(0x290,'dCLw')](II1i1)):lilIii[iii1ii(0x220,'0DXx')](iii1ii(0x154,'48Y5')+(i1ill1?.[iii1ii(0x264,'NPj[')]||''))));}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) }
|