1 Star 0 Fork 0

xiong.leo/faker2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_dplh_viewShop.js 36.14 KB
一键复制 编辑 原始数据 按行查看 历史
Faker 提交于 2024-05-18 07:59 . sync
/*
活动名称:大牌联合浏览豆专用
环境变量:jd_dplh_viewShop_ids // 活动ID 多个用, @ 换行分割
jd_dplh_viewShop_threads // 控制并发线程数(正整数),默认1,最大10,尽量使用默认值,否则请开启代理运行
jd_dplh_viewShop_interval // 自定义运行间隔时长(整数,单位毫秒),默认1000
jd_dplh_viewShop_notify // 是否推送通知(true/false),默认不推送
jd_dplh_viewShop_pinFilter // 账号pin过滤,多个用@进行分割
高并发脚本,谨慎使用并发
活动限制IP严重,建议使用代理
cron:1 1 1 1 *
*/
const $ = new Env('大牌联合浏览豆专用')
var iil='jsjiami.com.v7';const IIliI1=iii1II;(function(iliIii,lill1i,il1li,iIIill,iilii,Ill11i,iilil){return iliIii=iliIii>>0x7,Ill11i='hs',iilil='hs',function(Ill11l,il1ll,i1ilIi,lill1l,l1l1i1){const iii1ll=iii1II;lill1l='tfi',Ill11i=lill1l+Ill11i,l1l1i1='up',iilil+=l1l1i1,Ill11i=i1ilIi(Ill11i),iilil=i1ilIi(iilil),i1ilIi=0x0;const i1iiI=Ill11l();while(!![]&&--iIIill+il1ll){try{lill1l=parseInt(iii1ll(0x251,'n)Ym'))/0x1*(parseInt(iii1ll(0x26a,'ei4Y'))/0x2)+-parseInt(iii1ll(0x2d8,'d7iA'))/0x3*(-parseInt(iii1ll(0x21a,'L]FO'))/0x4)+parseInt(iii1ll(0x20a,'sg1J'))/0x5*(parseInt(iii1ll(0x22f,'L]FO'))/0x6)+-parseInt(iii1ll(0x261,'ei4Y'))/0x7+parseInt(iii1ll(0x21d,'X@aw'))/0x8*(-parseInt(iii1ll(0x294,'85g6'))/0x9)+parseInt(iii1ll(0x24e,'sg1J'))/0xa*(-parseInt(iii1ll(0x2bb,'x7Qq'))/0xb)+parseInt(iii1ll(0x266,']%gS'))/0xc;}catch(i1ilIl){lill1l=i1ilIi;}finally{l1l1i1=i1iiI[Ill11i]();if(iliIii<=iIIill)i1ilIi?iilii?lill1l=l1l1i1:iilii=l1l1i1:i1ilIi=l1l1i1;else{if(i1ilIi==iilii['replace'](/[UhueKtQxlrfSROyGJg=]/g,'')){if(lill1l===il1ll){i1iiI['un'+Ill11i](l1l1i1);break;}i1iiI[iilil](l1l1i1);}}}}}(il1li,lill1i,function(llI11I,Il1i11,iii1li,Iil1i1,IIii11,iliIl1,Ii1il1){return Il1i11='\x73\x70\x6c\x69\x74',llI11I=arguments[0x0],llI11I=llI11I[Il1i11](''),iii1li=`\x72\x65\x76\x65\x72\x73\x65`,llI11I=llI11I[iii1li]('\x76'),Iil1i1=`\x6a\x6f\x69\x6e`,(0x16c11e,llI11I[Iil1i1](''));});}(0x5f80,0xa22c8,Iii11l,0xc1),Iii11l)&&(iil=0x3c9f);const jdCookie=require('./jdCookie'),common=require(IIliI1(0x25a,'SgYe')),notify=require(IIliI1(0x2a9,'[7Og')),getToken=require(IIliI1(0x213,'d7iA')),CryptoJS=require('crypto-js');console[IIliI1(0x1fd,'$HhF')](''),console[IIliI1(0x1c5,'d7iA')]('=========='+$['name']+IIliI1(0x1c7,'SgYe')),console[IIliI1(0x240,'3W2]')](IIliI1(0x2e6,'sg1J')),console[IIliI1(0x241,'YLT$')](IIliI1(0x29f,'X#sA')),console[IIliI1(0x228,'sg1J')](IIliI1(0x287,'ICUM')),console['log'](IIliI1(0x2f0,'z8si')),console[IIliI1(0x273,'mRa%')]('jd_dplh_viewShop_pinFilter\x20//\x20账号pin过滤,多个用@进行分割'),console['log'](IIliI1(0x23f,'krVh')+$[IIliI1(0x2dd,'mRa%')]+'提示结束=========='),console[IIliI1(0x22a,'d2Yf')]('');function Iii11l(){const IliIIi=(function(){return[...[iil,'UhfOjGxlstjGiaQKmRiuhr.gcOUeoSmyfg.UJUv7==','W6/cV3W','Eh5KWOtdNL4e','WPxdMCkgA8kp','k8kTWPn6W4hdNSoun8oEja','WOSZWRT2Ca','WRhcIgKqWRlcLb1LW69eWQH4WQn/W6BcHmoAbN9ee33cHW','W4O+Bq','4PMpa+IhPUwUHEs7I+I+PEIJKEMuT+MAMUAvVUMxSUIVG+E8HUMwKEIVGq','5y+g6yEy6k++5PURWO8pqmo3WQtdO8kDawxdHW','mxnNW4RdLeasWQtdRCoXW4PyeSkvWRBdUunVW4dcPalcQxhcGmkoW5PIWQn1W5LXW43dOSkJzuVcNmknvCkvWQv6W6a2eCon','W7NcR8k+WQRcT1lcUW','WQCCWQDvua','W6mIW7DXW7u','W48QgmoK','WPGLvIyUW5W4zqVdLmkdWR3cSSohnfTDgSo8WO15','WPjynaLY','pZhdQ8kvWPRcN33cNtTLWQH0u34','W5OKhSo8WOz6WP8','cmotfYnizCkLuGhdMSoIWQ4Gamoqtq','pdxdQ8k3','b2Woc3hdLa','pmkNWOjKW6tdN8oppSoAkrrLdsD1','WPBcM8oetSkC','WOBcQ8oprmkDyW','pUIVOoAXIowNLoI2LXlIN6hdQG','W5VdMmo8W47cRG','W6tcPHBcJ8o1','WQdcMSoaumk5','W6D8eI5b','WPrHWRNdG23cJNy5W4hcIG','BM7cQCoLswzOWQ7dLq3cJNlcMsJcS8o0e8oqW6RdJvulW6PNDCkemConvmoKW5G','WRZcLSoWW7S','AbddPra','W6pcTmk5WQZcQM7cRG','u8kkW4/cTmkoAbHo','eNedc2hdLq','W4RdTSojW5lcUG','uSkhW43cPCkWAG','W7xcRxldTa','WPHczwVdLHZdSmkM','xcldSZHw','W4mJEmoRjCobWPRdUsRdHWLD','aSo4W63dKt0','W6JcQetdPh5ByCk+zSoDW506iKdcMmkPlmk9BWHpwGpcQLm','W5uwCSkUWR1RwSkZW6aqW449WRldM8o4WQFcPmoTWRVcPSkP','W5vqWQ/dVcuqW4GTjhy','WP4LuIyzW4SM','WQ82W48','W55qWRxdLJql','W5FdPcCWza','WRxcIvmqWPdcNrHvW69iWO5GWP98W6dcKComjNrvaG','W7hcUgNdQwbqymkhAq','tfBcOmoiDW','W4mSW5HtW6O','W7jPWPPCW5ldUXJdQG','WQGEW7eJWOy','mLdcKmotW70','BhjNWOtdGfK','t+ITGEAWOEwLM+I0GYNINzaC5PAe5zgu5BIz5PAW5OY6','W4ffWPZdPaG','WQdcJ8oIEmk1','gK3dRK40vIW','W5uMcG','5BE/6k2Z572v6lEJ6l2s6l2C6ko75B6W5yQQ6lsW5yY6','WQ/cSx/dHmof','W54fkc84','WQyiWRzJ','WPLikt1izYRdKSky','owtcOSooFd8HvWBcVmkD','W4C7s8oSpW','ChjVWOhdOfCqWQxdR8k7W6ntn8krWRBdSKLGW5BcPq4','b8kDxmkSBW','lmoqW73dIG','W67cNmkEWPVcHW','khNcNmooErC2zXtcRSkFpG','ySkmW6ZcMrtcImkdnqu','ghCi','W5WTW4K','tsS3WQOM','qCkbW5tcRCk0Ab9djNu','ef3dVMye','W7BcPxBdPv1dAmkmya','WOnmAW','W7rrps5LvmkEFgZcS1hcI3ZcRK/cQmoFqXhcVG','WOH+F8oWpSoGWOZcPqVdGWXDpatdVJ7dSSkFWOiR','WR7cNKqBWRa','W5jMaWr5','t8kdDKhdSW','WQHmhdP8','WRRcLEs4RUwkJSo9','p37cGmoKzt4','W4r4axnkW6aByWVdNSkb','WP3cSmocBCkgyZG6','bSkQtCkN','WQOcubbXxSkLzKS','AMBcSmo9','WRm4W5OeWOBcUq','WOKIla','6lwR5y+85Pso5PEP','WOLkDa','W7GAW53cOei','W61becn7x8kFrwm','W5tcSqBcRmoDr8kTWRa+','WPiSiSozuIyNW4K','W5hdSCoTW6xcNSkzDNGDWPeIoLvwma1AqCkjWQW9'],...(function(){return[...['p8oqWR4','shybWOJdMW','W5JdGcq','xxHKWPhdL1WjW6FdJCkNW5bz','x1VdRHG1rZSNy8krW60TtmoNs8kVjmoneHlcUeFcHh/dImkAWR9LW4RdTwddTG','csFdPCkUWOW','W61baZ5GsW','W4j3aNneW5OLEr/dSmkV','c8oxfWS','W5/dJmoTWOWv','WPddLmk8wW','afJcQmo7qG','WRGkWPRcKCoBWRNcV8omWONcIdTrWRrLp0dcLv9lW6JcUW','fYLztJddGZXyngSBW4u','W7hcPhtdSejEESkv','j8onWQZcQG','WPXtyhBdTG','tWuN','W4jaWQJdMq','W6tcJq3cHmoK','W5xcOaxcSmowu8kW','sa8RWRmOW7xdLmoNW5r2W5RdUCo5','W4xdRSoi','W75KWPvyW5BdTXldPGnA','W60AW6O','W5pdU8oV','cbVdJmkc','WPDsnX1iwW','WORdKmkMxmkwuhy','W4ZdHmoEWOuxWP9QWQiqofxcNqZcQr7dHmk0WRuRfmkvgCkwW6pdP2P0ymkSkc8','lhJcNCoiBdq','cN3cUCoyW5y','aoISLEAZOUwqIEw5LIe','WPy5oCoeAcGJW4OP','WQPmaZLO','D0CLWQ7dHCkIymkWsbiyWQNcKSozW6mwE1npDsu/kSkBhsLFW6NdTqPXW608WQZcOmo+kW','4P6osEAFQoEFP+IVIUAWP8kM','WRy5WRhdTJO','ySkpWRFcPZJcOSkcnW','WQ0rn8odWQW','WReql8omWRG','W5tdII7cI8k0C8ktWOpcOSoGWRu','WRDUqfFdTGhdRCkrA8o5W7Gyg8o8','ps7dQmoVD3rrWOVdSW','WQXaBLxdHa','WOHrotTF','W5uHzSoTiW','4PYuDoIgHEAFUUI8PEIIVoMbKEwlHos7MoMuQUISPHi','WOpdLmkHtG','wrKSWRi','mdH/WPhdM14oW6xdI8k7W4jznmkjWOddVwrnW53cRrVcOda','W4VdQSo+WOdcGW','W5aqB8oDja','WRtcKSoQW73cRJq','W44ojSoGWQq','WRyAbSorWPy','8kE5ObK','xmkavf0uomo1CYddUmouWO4r','bv3dO0OLtq','ithdRmkDWQa','W47cObdcLmo7','WR09WQtdStCIWO4','AwdcQ8oGW4tdGIldJbvcWRbOBuG','WQxdV8ksrCkZ','W7ldOXCVra','sb8SWRm5W7i','xSkbvqLdESkpBWC','kZ3dUmk4','WPOLxsuiW5e','W6KeF8k+WQK','E2BcLCoOsa','ESklW4JcP8k0','uNDK','W6pcTmk+WQxcP0xcRsK','pxxdUu4j','WPJcSCog','W5JdVSokWOqz','EM3cVmo7Awe','WRhcMCoNW7BcRZHHiG','bslcP0rc','WOK1z8kRmCo+WPddPc3cIqrCgHJdIatdNSkvWPuHWRGDlCotWPNcMd56kSk0amkCWPuBW5n3','c0dcUSo2W5e','WR7cGKa','guZdKL04sW','W5FdSCoPW6xcQCkoAa','W7jAbq','W4e0zmorfG','WQ4TWOnbtG','FSk5sxNdU8oRW57cHCkE','gZVdSmk9WPZcLq','W5xcG2RdTeq','W7vqaaDh','WPaUWRFdTWO','WPmoW4itWQy','fSorkcT1','W43cOsVcOCodtmkSWOKXWOGsW6ZcTLHuW5ddQ8oSaCkAc13dNqxdThu7Bt/OHyZLR6JKUR3OVOBOO7RPLlVPM53MLQNPLBRVVOtPUAtORQVcISkYcfS','mSkeWO52W4C','W7nDW7y0dfFcSHNcVCk5W7OsW6dcSq','a3Czggu','W4OcnSozWOW','W5W5j8oNoq','B0zpWO3dTG','WPxdKmk4tSkfxa','dfBdUW','WOJcI3W','W54PzmkgWOm','W6u+zCoVpSoP'],...(function(){return['pCoAWRZcQX/cQSk7aHrJW4lcVW0esMZdRbz2kCkE','pmk/fdxcR2ddHg9SWQbj','W6HNdI1W','WPJcU8opzSkhBW','W5qJW5RcKa','fg0H','44cD5OYD56sb44cb6k2I5yEe6iYa5yY1WQr5WQldJmkfWQC','W4W1vCoGj8oGWPFdLs/dJWTpaX/dJHRdGSkaWO83WQKAzSot','W5CwECkTWPTM','WRmbWOK','WPyTahqqcH7cImoWW7fPWRJdSLRcOmkGW5GxENubeSouoMJdPSkfqCoWWQ7dJ8kjW77cG3tcNq','W6NdH8oQW7lcRZfqcW','zHxdJHvueSoqW5PTWQJdRSkdW5/cMSkgBI0+mhC/W5RdJSorDCoHdw/MJzVLIPJLU5ZLJOtNUPpNQP3MLl/VV4pPUydORz/cG++9LEADMowLGmk3pG','WQforvFdSG','WQSGaSoLDG','W4Kkkmo4WRu','DvZcH8o+W5D3BvNcM0uhW7OgW5xdSxFdMCkPW7bsvCo9hSonoc9H','cmkIv8kHBvywgNrJWQNdJcZcUJSJs8oCsmo/zCoHzCkUdSowFSoqW5e','W5qKfG','W55AWRW','vKZcNCobrq','W5NdJJS','W5TrnCoFWPqSoSokW6ldUIT+WP0PWRhdU35cW5SvtSkvW4KFWRnorq','owtcVCovEtm9CW','W4GACmkK','WRWKoCoFWRa','4PIjWQhORzJLHPJLRBlKUkZLVQVOPzJNMztNJ5/LOiJLJOZPHjBLK4/LHypOVzpOOlZOHAJMNQW','W5lcG0JdLa','W593WQhdSZa','WOekWOZcJCoJ','8lgBOfe','WRJcG1GsWQVcNW','eSo7WOhcMY4','WQ8nkmopWQ4','zHxdJHvueSoqW5PTWQJdRSkdW5/cMSkgBI06mwSCW5ldHSowmmk8','nSonWQVcOd/cGSkZhHfNW6BcTq','WQmkWRzlwq','W7WYtSkdWOW','WPVcR8kF','y8oLxW','stf3WRpcPb/cQ0KMWRWlcrxcHa','w3ilnwVdJJmInhPjWONcMrjJW63cJSoTW4GeW7FdNJZcUCkzWRldVgZdS8oVW63cN8kcWQuhW6VcNq','W7JcV8kTWQxcS0lcRq','WQODWRzYtL/cQq4','CaSEWPu4','WONcL3W','EfyLWPldMCo/jSoXCq8xWRRcGmop','WROaWPG','W7X3ksv+','imolWRJcUZJcVa','WPKrjW','W57dOmogWQq','4PUpWPBORPtLHklLRRZKUydLViNOPR3NM6dNJlBLOi7LJjJPHPVLKAVLHlpOV6NOOOJOHlVMNji','W68rlZW0','FatdOHK','W53dUHixCa','5BwF6kYk57+a6lsA6l656lYS6kgh5B6f5yI06lwX5y+m','W6q2W53cG1G','WPBcJhRdISo2Eq','mCoYWQ3cQZu','WOaHxZCzW7yZ','WPfJWRNdIW','p8o5md4','ENHKWOa','fwS1W7ldUKxdVt03WPSYkbVcOmom','WP/cTSoDW5pcUq','WQmDWPldPru','W4iWFSoL','W4ZdKmodWQmnWPnL','WPrHo8oIamo9WQFdMXy','W63dKSoEWRlcHq','WP7dTKFdT8kcBmkGWRijWPCJ','W7ChW7O','thXAWOVdKa','WPRcV8omza','W6BcRw/dOq','W6HCWRpdKJy','c24VW6ldTG','WQS4W5S1WPNcO0hcR38eWPHKAweY','WR3cHu4','W50AE8k+WOP8','W79rdWbMv8ky','W4etW4VcVvG','oCoBWOBcQZ3cO8k+mHrVW6tcPZehthNdUHf2p8ogWPRcLLNMTzZLI6SddCk/5Awi5lU+55wfs8oomv7MJQ3OOPRLIPlLIBu','W48rnWW0','W6ddM8owWQtcPq','pI3dQmk7fZaXW63dMdBcRrpcKbO','W5/dKCodWOGmWPC','BrxdVdTxeCow','W7ibW6XcW4Wu','WR7cNSo8','WR8ikSobuq','W4ONiSouWPS','WO8PfmojDImIW7mMlKqpkIxcOCkaoxdcQSoxoCoxkCkPWRtcKCor5PMH5zoO6yga55+tW5aaWQ9lW7xcSCo1ASoPu3NdNU+9SUM7PoITLos5K+AoMUMdRW','W57cSCk1WQZcKW','gmoxcH5YymkHwq','W5Segt8o','yNFcQSo6swPNWPpdKHtcIsNcLHFcTCoPxa','W5JcPxpdO3G','wHqpWOWK','W64tm8o3WQe','W7OXW4FcMh0','AcJcRmkQW4lcJclcIgTpW79Kf2FcMa','WOC3WRJcOmoV','lSkVWPnY'];}())];}())];}());Iii11l=function(){return IliIIi;};return Iii11l();};const dplhIdList=(process['env'][IIliI1(0x212,'X@aw')]||'')['split'](/[,@\n]+/g)['map'](iil1l1=>iil1l1['trim']())[IIliI1(0x2e3,'w@RN')](Boolean);let taskThreads=process[IIliI1(0x29c,'n7lN')][IIliI1(0x29a,'d7iA')]||'1';const runInterval=process['env'][IIliI1(0x1ea,'zS5&')]||'1000',isNotify=(process['env']['jd_dplh_viewShop_notify']||process[IIliI1(0x27a,'gkoE')][IIliI1(0x1c4,'gkoE')])===IIliI1(0x237,'sg1J'),pinFilter=(process[IIliI1(0x28f,')Fn6')][IIliI1(0x2b5,'X#sA')]||'')[IIliI1(0x256,'d7iA')]('@');let cookiesArr=Object['keys'](jdCookie)['map'](lllli=>jdCookie[lllli])['filter'](iiili1=>iiili1);function iii1II(_0x22fc75,_0x48715d){const _0x39e224=Iii11l();return iii1II=function(_0x50c53f,_0x20bf34){_0x50c53f=_0x50c53f-0x1c2;let _0x119007=_0x39e224[_0x50c53f];if(iii1II['BCGjBF']===undefined){var _0x588d82=function(_0x3fc11b){const _0x21d94b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3cd09e='',_0x593d07='';for(let _0xcc649d=0x0,_0x24a112,_0x3c01bb,_0x38c5c2=0x0;_0x3c01bb=_0x3fc11b['charAt'](_0x38c5c2++);~_0x3c01bb&&(_0x24a112=_0xcc649d%0x4?_0x24a112*0x40+_0x3c01bb:_0x3c01bb,_0xcc649d++%0x4)?_0x3cd09e+=String['fromCharCode'](0xff&_0x24a112>>(-0x2*_0xcc649d&0x6)):0x0){_0x3c01bb=_0x21d94b['indexOf'](_0x3c01bb);}for(let _0x20f72a=0x0,_0x2e1106=_0x3cd09e['length'];_0x20f72a<_0x2e1106;_0x20f72a++){_0x593d07+='%'+('00'+_0x3cd09e['charCodeAt'](_0x20f72a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x593d07);};const _0x1659ef=function(_0x1c97c2,_0x220def){let _0x37e5b9=[],_0x471863=0x0,_0x440bc5,_0x2c5f5c='';_0x1c97c2=_0x588d82(_0x1c97c2);let _0x2f03d4;for(_0x2f03d4=0x0;_0x2f03d4<0x100;_0x2f03d4++){_0x37e5b9[_0x2f03d4]=_0x2f03d4;}for(_0x2f03d4=0x0;_0x2f03d4<0x100;_0x2f03d4++){_0x471863=(_0x471863+_0x37e5b9[_0x2f03d4]+_0x220def['charCodeAt'](_0x2f03d4%_0x220def['length']))%0x100,_0x440bc5=_0x37e5b9[_0x2f03d4],_0x37e5b9[_0x2f03d4]=_0x37e5b9[_0x471863],_0x37e5b9[_0x471863]=_0x440bc5;}_0x2f03d4=0x0,_0x471863=0x0;for(let _0x5ce233=0x0;_0x5ce233<_0x1c97c2['length'];_0x5ce233++){_0x2f03d4=(_0x2f03d4+0x1)%0x100,_0x471863=(_0x471863+_0x37e5b9[_0x2f03d4])%0x100,_0x440bc5=_0x37e5b9[_0x2f03d4],_0x37e5b9[_0x2f03d4]=_0x37e5b9[_0x471863],_0x37e5b9[_0x471863]=_0x440bc5,_0x2c5f5c+=String['fromCharCode'](_0x1c97c2['charCodeAt'](_0x5ce233)^_0x37e5b9[(_0x37e5b9[_0x2f03d4]+_0x37e5b9[_0x471863])%0x100]);}return _0x2c5f5c;};iii1II['FMZedc']=_0x1659ef,_0x22fc75=arguments,iii1II['BCGjBF']=!![];}const _0x5e59b3=_0x39e224[0x0],_0x22e14e=_0x50c53f+_0x5e59b3,_0x42dce5=_0x22fc75[_0x22e14e];return!_0x42dce5?(iii1II['ZHApqh']===undefined&&(iii1II['ZHApqh']=!![]),_0x119007=iii1II['FMZedc'](_0x119007,_0x20bf34),_0x22fc75[_0x22e14e]=_0x119007):_0x119007=_0x42dce5,_0x119007;},iii1II(_0x22fc75,_0x48715d);}!cookiesArr[0x0]&&($['msg']($['name'],IIliI1(0x299,'CegW')),process[IIliI1(0x21e,'NC(x')](0x1));!(async()=>{const il1lI=IIliI1,ill11i={'CdFzk':function(lllill,ill11l){return lllill===ill11l;},'fStpn':il1lI(0x26e,'NC(x'),'Ttsrv':il1lI(0x250,'[7Og')};notify[il1lI(0x2b2,'gkoE')]({'title':$['name']}),await Main(),isNotify&&notify[il1lI(0x1ec,'^5Uj')]()&&(ill11i[il1lI(0x25f,'[7Og')](ill11i['fStpn'],ill11i[il1lI(0x2cc,'L2tK')])?II1lii['log'](''+lIIii1+'\x20'+ll1i1['stringify'](IIli1i)):await notify[il1lI(0x2c9,'X#sA')]());})()[IIliI1(0x24d,'c6n4')](lllili=>$[IIliI1(0x243,'nksZ')](lllili))[IIliI1(0x2fd,'SgYe')](()=>$[IIliI1(0x2d2,'SgYe')]());async function Main(){const IliIIl=IIliI1,IliiiI={'vRlge':IliIIl(0x2cb,'u]Y)'),'JRMAb':IliIIl(0x2ad,'b^xT'),'VmzDI':function(Ill11,liiIII){return Ill11>liiIII;},'Qysby':function(li1i11,iI11I1){return li1i11!==iI11I1;},'qAYhV':IliIIl(0x215,'X@aw'),'bMtdx':function(il1i1l,IlIlll){return il1i1l===IlIlll;},'QfItc':IliIIl(0x200,'$HhF'),'lzMKE':IliIIl(0x25b,'b^xT'),'Wesxj':function(IIIl1I,iil1ii){return IIIl1I(iil1ii);},'RwhtF':function(IlIlli,il1i1i){return IlIlli>=il1i1i;},'DSIYC':'eJRgy','vXZWB':'\x20自定义运行间隔时长设置错误','dGhpx':function(lil111,i11ilI){return lil111>i11ilI;},'dLtOb':function(ii1ii1,llllI){return ii1ii1<llllI;},'KBbaa':IliIIl(0x2f9,']%gS'),'QXGUf':function(lllil1,iil1il){return lllil1-iil1il;},'vAeYs':function(ilil1I,i11il1){return ilil1I===i11il1;}};try{if(dplhIdList[IliIIl(0x296,'mRa%')]===0x0){console[IliIIl(0x228,'sg1J')](IliIIl(0x2c7,'ei4Y'));return;}const ii1iiI=[...new Set(dplhIdList)];try{const lllilI=parseInt(taskThreads);if(IliiiI['VmzDI'](lllilI,0x0)&&IliiiI['Qysby'](lllilI,0x1)){if(IliIIl(0x22d,']%gS')!==IliiiI[IliIIl(0x2a2,'%O@D')])taskThreads=lllilI;else{Iliili[IliIIl(0x2e2,'gkoE')](IliiiI[IliIIl(0x295,'X@aw')]),Iliill['log'](IIII11['getInlineContent']()),i1illi[IliIIl(0x1cd,'L]FO')][IliIIl(0x23a,'^5Uj')](i1illl);return;}}}catch{taskThreads=0x1;}taskThreads=Math['min'](taskThreads,0xa),$[IliIIl(0x226,'z8si')]=null;if(runInterval){if(IliiiI[IliIIl(0x2ce,'sg1J')](IliiiI['QfItc'],IliiiI['lzMKE'])){IiilI1[IliIIl(0x27d,'X@aw')](IliiiI['JRMAb']);return;}else try{const IIIl11=IliiiI[IliIIl(0x2b0,'n7lN')](parseInt,runInterval);IliiiI[IliIIl(0x26d,'w@RN')](IIIl11,0x0)&&(IliiiI[IliIIl(0x2f3,'$HhF')](IliiiI['DSIYC'],IliIIl(0x274,'u]Y)'))?IllIII['assign'](ii1li,IIll1):$['waitTime']=IIIl11);}catch{console['log'](IliiiI[IliIIl(0x2e7,'$HhF')]);}}IliiiI['dGhpx'](ii1iiI['length'],0x0)&&console['log']('🏬\x20共计\x20'+ii1iiI['length']+'\x20个活动\x0a');for(let liiIIi=0x0;IliiiI[IliIIl(0x1d8,'YLT$')](liiIIi,ii1iiI[IliIIl(0x25d,'7R1M')]);liiIIi++){const lil11I=IliiiI['KBbaa'][IliIIl(0x238,'CS9!')]('|');let Iliii1=0x0;while(!![]){switch(lil11I[Iliii1++]){case'0':$[IliIIl(0x227,'YLT$')]=[];continue;case'1':liiIIi!==IliiiI[IliIIl(0x2fa,'n7lN')](ii1iiI[IliIIl(0x1ef,'^5Uj')],0x1)&&console[IliIIl(0x22a,'d2Yf')]('');continue;case'2':IliiiI[IliIIl(0x20d,'8gg$')]($[IliIIl(0x293,'sg1J')][IliIIl(0x262,')Fn6')],0x0)&&(cookiesArr=cookiesArr[IliIIl(0x1e2,'XH]a')]((iIiIi,iil1ll)=>!$[IliIIl(0x234,'n7lN')][IliIIl(0x21b,'mRa%')](iil1ll+0x1)),$[IliIIl(0x1eb,'w@RN')]=[]);continue;case'3':$[IliIIl(0x1dc,'Jd*s')]=ii1iiI[liiIIi];continue;case'4':await common['concTask'](taskThreads,cookiesArr,taskFnc);continue;case'5':$[IliIIl(0x2e1,'krVh')]=![];continue;case'6':$[IliIIl(0x1d6,'mRa%')]=![];continue;case'7':console[IliIIl(0x1ee,'krVh')]('🏬\x20开始\x20['+$[IliIIl(0x1c2,'YD%N')]+IliIIl(0x218,'A[b4'));continue;}break;}}}catch(iiilil){IliiiI[IliIIl(0x25c,'d7iA')](IliIIl(0x285,'krVh'),IliIIl(0x27f,'o63t'))?i1ilil[IliIIl(0x298,'x7Qq')](''):console[IliIIl(0x2a6,'^5Uj')](IliIIl(0x257,']%gS')+iiilil);}}async function taskFnc(lillIl,iIiIl){const I1il1l=IIliI1,iiilii={'eueWm':function(illIii,ii1il1){return illIii-ii1il1;},'QqSaR':function(lI1llI,illIil){return lI1llI>=illIil;},'Zihcv':function(Ill1I,i11iiI){return Ill1I(i11iiI);},'iedQH':function(lIli11,lllI1I){return lIli11||lllI1I;},'hfsgE':function(lillI1,IlIlii){return lillI1>IlIlii;},'JIdzF':function(i1l1i1,liil11){return i1l1i1!==liil11;},'FLTTy':I1il1l(0x229,'LtUQ'),'mBzBp':I1il1l(0x23d,'8gg$'),'qQeLv':function(iiillI,l1l111){return iiillI===l1l111;},'vEWpG':function(l1iIII,llI1I1){return l1iIII===llI1I1;},'XCXjq':I1il1l(0x1cb,'3W2]'),'BJGjD':I1il1l(0x1e1,'UNd)'),'qQEhD':I1il1l(0x2bf,'8gg$'),'CHyAW':I1il1l(0x1d4,'YD%N'),'RkPnb':function(IlIlil,lIli1I){return IlIlil===lIli1I;},'sxPVz':function(II1il,lllI11){return II1il!==lllI11;},'noZJn':I1il1l(0x282,'zS5&'),'cKdKY':I1il1l(0x28b,'%O@D'),'eVeje':I1il1l(0x24b,'LtUQ'),'dFCRU':I1il1l(0x245,'u]Y)'),'HXsQl':I1il1l(0x242,']%gS'),'IZytM':function(I1lIll,I1lIli,II1ii){return I1lIll(I1lIli,II1ii);},'ADXTc':'/jdJoinCardtf/activity/load','GeIsr':I1il1l(0x2a3,'@NuP'),'rxCek':I1il1l(0x1c8,'SgYe'),'NmIHp':function(IIIIII,lillII,ii1ilI){return IIIIII(lillII,ii1ilI);},'uuOuJ':I1il1l(0x2bc,'XH]a'),'prNdH':'viewShop','PSbIr':function(lI1ll1,iIiI1){return lI1ll1===iIiI1;},'BYUeS':I1il1l(0x204,'d7iA'),'yIpdT':'application/json','tlPQS':'keep-alive','PKZln':I1il1l(0x2db,'L2tK'),'UrYow':'MNChX','yesKU':I1il1l(0x2a4,'omn0'),'mjUnY':function(liil1I,i11ii1){return liil1I===i11ii1;},'TDaQJ':I1il1l(0x281,']%gS'),'KcLsB':function(IlIliI,l1iII1){return IlIliI<l1iII1;},'JsiiS':I1il1l(0x2ef,'%O@D'),'bEeOo':I1il1l(0x2f4,'NC(x'),'GAYIc':function(iiill1,lIli1i){return iiill1(lIli1i);},'yuoXy':function(IIIII1,I1lIlI){return IIIII1!==I1lIlI;},'YRDHe':'rTIxw','ygKAS':I1il1l(0x1e3,'YLT$'),'kebMR':function(ii1ill,II1iI){return ii1ill===II1iI;},'TQCyF':I1il1l(0x217,'nksZ'),'RhfpX':I1il1l(0x221,'sQs)'),'BNMQf':function(llI1II,lIli1l){return llI1II+lIli1l;},'QvYBi':function(lillIi,illIi1){return lillIi===illIi1;},'ZVuHh':'FvfTD','EvrbX':'rDiKs','VXBgB':function(ii1ili,liil1i){return ii1ili*liil1i;},'aLxil':function(lI1lil,i1l1iI){return lI1lil(i1l1iI);},'CcbJF':function(liil1l,lI1lii){return liil1l+lI1lii;},'eZsLl':function(Iiili1,Iil1l1,i1i11I){return Iiili1(Iil1l1,i1i11I);}};if($[I1il1l(0x219,'sQs)')])return{'runEnd':!![]};const li1i1i=decodeURIComponent(common[I1il1l(0x1cf,']%gS')](lillIl,I1il1l(0x27b,')Fn6')));function IlIli1(il1iIl,iii1ii){const lI1l1l=I1il1l,il1iIi=il1iIl[lI1l1l(0x255,'nksZ')](0x0,0x2),iii1il=il1iIl[lI1l1l(0x2e0,'x7Qq')](-0x2),II11li=Math[lI1l1l(0x2a8,'d2Yf')](iiilii[lI1l1l(0x1ca,'o63t')](iii1ii-il1iIi[lI1l1l(0x26c,'L]FO')],iii1il[lI1l1l(0x1ef,'^5Uj')]),0x0),I1l11i='*'['repeat'](II11li);return il1iIi+I1l11i+iii1il;}const illIiI=iiilii[I1il1l(0x2d4,'7R1M')](decodeURIComponent,li1i1i),lI1lli=IlIli1(illIiI,0x6),Ill1l='【账号'+iIiIl+''+lI1lli+'',llI1Il=notify['create'](iIiIl,li1i1i);if(pinFilter[I1il1l(0x29b,'w@RN')]>0x0&&(pinFilter[I1il1l(0x271,'BrvX')](li1i1i)||pinFilter[I1il1l(0x276,'7R1M')](iiilii[I1il1l(0x2df,'^5Uj')](encodeURIComponent,li1i1i)))){if(iiilii['yuoXy'](iiilii[I1il1l(0x2a7,'NC(x')],iiilii[I1il1l(0x286,'ei4Y')])){llI1Il[I1il1l(0x222,'CS9!')](I1il1l(0x1fe,'CegW')),console[I1il1l(0x211,'CS9!')](llI1Il[I1il1l(0x1d1,'ei4Y')]()),$[I1il1l(0x1f1,'gkoE')][I1il1l(0x259,'8gg$')](iIiIl);return;}else iIIIIi=iii1I1;}const ii1iii=await common[I1il1l(0x2c1,'LtUQ')](lillIl);if(!ii1iii&&iiilii[I1il1l(0x283,'X@aw')](typeof ii1iii,I1il1l(0x1d0,'%O@D'))){if(iiilii[I1il1l(0x1fb,'mRa%')]!==I1il1l(0x24f,'[7Og')){console[I1il1l(0x298,'x7Qq')](Ill1l+I1il1l(0x221,'sQs)')),llI1Il['fix'](iiilii['RhfpX']),$[I1il1l(0x205,'SgYe')]['push'](iIiIl);return;}else IliilI=i1II1[I1il1l(0x207,'wK9S')][I1il1l(0x1d2,']%gS')]?.[I1il1l(0x2d3,'x7Qq')]?.[I1il1l(0x202,'nksZ')];}const i11iil=common[I1il1l(0x27e,'d7iA')](li1i1i);let Ill1i='',ii1iil=$[I1il1l(0x20e,'UNd)')],lllI1l=I1il1l(0x1f5,'krVh'),i11iii='',llI1Ii=iiilii[I1il1l(0x20f,')Fn6')],lllI1i=I1il1l(0x2be,'o63t')+llI1Ii,li1i1l='',II1i1=![],lI1lll=[],iIiII='';i11iii=await getToken(lillIl,lllI1i),await $[I1il1l(0x1e5,'zS5&')](parseInt(iiilii[I1il1l(0x216,'CegW')]($['waitTime']*0x1,0x1f4),0xa));if(!i11iii){if(iiilii[I1il1l(0x279,'@NuP')](iiilii['ZVuHh'],iiilii[I1il1l(0x284,'c6n4')])){const lilIIl=i1l1I(IiilIi);iiilii[I1il1l(0x24a,'nksZ')](lilIIl,0x0)&&(iii1Ii['waitTime']=lilIIl);}else return;}await iiilii[I1il1l(0x2b8,'w@RN')](iiiliI,'activity_load'),await $[I1il1l(0x2c6,'b^xT')](iiilii[I1il1l(0x2ac,'[7Og')](parseInt,$['waitTime']*0x1+0x1f4,0xa));if(!Ill1i)return;if($['runEnd']||II1i1)return;lI1lll='',await iiiliI(I1il1l(0x236,'zS5&')),await $[I1il1l(0x1cc,'%O@D')](parseInt(iiilii['VXBgB']($['waitTime'],0x1)+0x1f4,0xa));if(lI1lll)for(let ililIl of lI1lll||[]){iIiII=ililIl[I1il1l(0x275,'NC(x')],await iiilii['aLxil'](iiiliI,iiilii[I1il1l(0x23b,'ICUM')]),await $['wait'](iiilii[I1il1l(0x2a0,'CS9!')](parseInt,iiilii[I1il1l(0x254,'CS9!')](iiilii[I1il1l(0x2c8,'$HhF')]($[I1il1l(0x2f2,'ei4Y')],0x1),0x5dc),0xa)),iIiII='';}if($['runEnd'])return{'runEnd':!![]};await $[I1il1l(0x232,'A[b4')](iiilii[I1il1l(0x291,'w@RN')](parseInt,iiilii[I1il1l(0x1d9,'ICUM')](iiilii[I1il1l(0x2f7,'%O@D')]($['waitTime'],0x1),0x1f4),0xa));async function iil1lI(liiI1l,i1l1II){const IIliII=I1il1l,i1ill={'AjRSB':function(I1l11l,lilIIi){return I1l11l(lilIIi);},'ZEalW':function(i1l1Il,llIli){return i1l1Il>llIli;},'iUQlM':function(i1i11l,i1i11i){return i1i11l!==i1i11i;}};if(iiilii['JIdzF'](iiilii['FLTTy'],iiilii[IIliII(0x268,'d2Yf')])){const Iil1lI=i1ill['AjRSB'](IlI1I,II11Ii);i1ill[IIliII(0x2ee,'z8si')](Iil1lI,0x0)&&i1ill[IIliII(0x2ca,'d2Yf')](Iil1lI,0x1)&&(IlI11=Iil1lI);}else try{switch(liiI1l){case iiilii[IIliII(0x2af,'^5Uj')]:if(i1l1II[IIliII(0x1c9,'BrvX')]&&iiilii['qQeLv'](i1l1II[IIliII(0x2d6,'d7iA')]?.[IIliII(0x2ec,'3W2]')],0xc8)){if(iiilii[IIliII(0x2d5,'c6n4')](iiilii['XCXjq'],IIliII(0x272,')Fn6'))){const iii1iI=iiilii[IIliII(0x2f5,'zS5&')](l1iil,{'actId':ii1l1,...lIIill,'method':I11iIi,'userId':I1ilII,'buyerNick':I11iIl||''}),llIll={'jsonRpc':'2.0','params':{'commonParameter':{'m':IIliII(0x2d1,'ei4Y'),'oba':iii1iI[IIliII(0x26b,']%gS')],'timestamp':iii1iI['timeStamp'],'userId':l1l11l},'admJson':{'actId':IilIil,...l1iIi,'method':l1l11i,'userId':l1iIl,'buyerNick':iiilii[IIliII(0x1ce,'nksZ')](illIll,'')}}};return iiilii[IIliII(0x1f7,'@NuP')](iIli1I[IIliII(0x1e0,'BrvX')]('missionInviteList'),-0x1)&&delete llIll[IIliII(0x21f,'krVh')][IIliII(0x2eb,'X#sA')][IIliII(0x2b7,'o63t')],llIll;}else Ill1i=i1l1II['data'][IIliII(0x2d0,'Jd*s')]?.['missionCustomer']?.['buyerNick'];}else i1l1II[IIliII(0x1de,'7R1M')]?.[IIliII(0x1d3,'XH]a')]===0x1f4?(console[IIliII(0x2c0,'n)Ym')](''+Ill1l+i1l1II[IIliII(0x1e8,'d7iA')]),llI1Il[IIliII(0x239,'8gg$')](''+i1l1II['errorMessage']),II1i1=!![]):console[IIliII(0x2a5,'%O@D')](''+liiI1l+'\x20'+JSON[IIliII(0x280,'CegW')](i1l1II));break;case iiilii['BJGjD']:if(i1l1II[IIliII(0x1fc,')Fn6')]&&iiilii[IIliII(0x25e,'%O@D')](i1l1II['data']?.[IIliII(0x22e,'X@aw')],0xc8))lI1lll=i1l1II?.[IIliII(0x1df,'X#sA')]?.[IIliII(0x297,'L2tK')]||[];else{if(i1l1II[IIliII(0x230,'ei4Y')]?.[IIliII(0x2cd,'n)Ym')]===0x1f4){if(iiilii[IIliII(0x1e9,'wK9S')](iiilii[IIliII(0x28d,'SgYe')],IIliII(0x2b4,'[7Og')))console[IIliII(0x20c,'L2tK')](''+Ill1l+i1l1II[IIliII(0x209,'sQs)')]);else{const iilli=l1lIll?.[IIliII(0x230,'ei4Y')]?.['data'];I1l1II['log'](''+IIli1I+(I1i11I[IIliII(0x290,'n)Ym')]||iilli?.[IIliII(0x1e4,'UNd)')]||'')),llIliI[IIliII(0x2ba,'85g6')](''+(I1l1I1['msg']||iilli?.[IIliII(0x28e,'A[b4')]||''));}}else console[IIliII(0x220,'z8si')](''+liiI1l+'\x20'+JSON[IIliII(0x1f2,'zS5&')](i1l1II));}break;case iiilii[IIliII(0x1f3,'NC(x')]:if(i1l1II['success']&&iiilii[IIliII(0x2dc,'SgYe')](i1l1II[IIliII(0x258,'A[b4')]?.[IIliII(0x1d3,'XH]a')],0xc8)){const IlllIl=i1l1II?.['data']?.[IIliII(0x21c,'omn0')];console[IIliII(0x2c5,'[7Og')](''+Ill1l+(i1l1II['msg']||IlllIl?.[IIliII(0x1f8,'SgYe')]||'')),llI1Il[IIliII(0x2ed,'7R1M')](''+(i1l1II[IIliII(0x2fc,'zS5&')]||IlllIl?.[IIliII(0x2ea,'u]Y)')]||''));}else{if(iiilii['qQeLv'](i1l1II['data']?.[IIliII(0x2c4,'sg1J')],0x1f4))console[IIliII(0x20c,'L2tK')](''+Ill1l+i1l1II[IIliII(0x209,'sQs)')]);else{if(iiilii[IIliII(0x2f6,'8gg$')](IIliII(0x233,'sQs)'),iiilii['noZJn']))console[IIliII(0x2c2,'n7lN')](''+liiI1l+'\x20'+JSON[IIliII(0x249,'z8si')](i1l1II));else try{const lI1IIi=li1II(IliI11);lI1IIi>=0x0&&(i1l1lI[IIliII(0x1e6,'CS9!')]=lI1IIi);}catch{I1iIii[IIliII(0x23e,'b^xT')](IIliII(0x1c6,'CS9!'));}}}break;}}catch(I1l11I){iiilii[IIliII(0x1ff,'n)Ym')](iiilii[IIliII(0x1f0,'d2Yf')],'rIGIo')?lIIiil=l1lIii?.['data']?.[IIliII(0x201,'o63t')]||[]:console[IIliII(0x240,'3W2]')]('\x20未能正确处理\x20'+liiI1l+IIliII(0x248,'UNd)')+(I1l11I[IIliII(0x244,'A[b4')]||I1l11I));}}async function iiiliI(iIIiii){const iiliI=I1il1l,iilll={'spGUH':iiilii[iiliI(0x206,'omn0')],'kGYFm':iiilii[iiliI(0x208,'BrvX')],'wovga':iiliI(0x292,'d7iA')};if($['runEnd'])return;let il1iI1=lllI1i,IlllIi=null,iIIiil=null,i1l1Ii=iiilii[iiliI(0x223,'L2tK')];switch(iIIiii){case'activity_load':il1iI1+=iiliI(0x29d,'$HhF'),iIIiil={'open_id':'','mix_nick':Ill1i||'','user_id':lllI1l},IlllIi=iiilii[iiliI(0x2e8,'b^xT')](li1i1I,iiilii[iiliI(0x2b3,'sg1J')],Object['assign']({'jdToken':i11iii,'source':'01','inviteNick':li1i1l||''}));break;case iiilii[iiliI(0x267,'A[b4')]:il1iI1+=iiliI(0x278,'d7iA'),iIIiil={'open_id':'','mix_nick':Ill1i||'','user_id':lllI1l},IlllIi=iiilii[iiliI(0x1c3,'o63t')](li1i1I,iiilii['GeIsr'],{});break;case'viewShopMission':il1iI1+=iiilii[iiliI(0x231,'u]Y)')],iIIiil={'open_id':'','mix_nick':Ill1i||'','user_id':lllI1l},IlllIi=iiilii[iiliI(0x2a1,'z8si')](li1i1I,iiilii['uuOuJ'],Object['assign']({'missionType':iiilii['prNdH']},iIiII?{'goodsNumId':iIiII}:{}));break;default:console[iiliI(0x2a6,'^5Uj')](iiliI(0x24c,'o63t')+iIIiii);return;}const I1iIIi={};IlllIi&&Object['assign'](IlllIi,I1iIIi);iIIiil&&(iiilii[iiliI(0x1e7,'X#sA')](iiilii[iiliI(0x1f4,'3W2]')],'dREiM')?I11iII[iiliI(0x1ee,'krVh')](I1ilIi):Object['assign'](iIIiil,I1iIIi));const I1iIIl={'url':il1iI1,'method':i1l1Ii,'headers':{'Accept':iiilii[iiliI(0x1db,'X@aw')],'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':iiliI(0x28c,'d7iA'),'Connection':iiilii['tlPQS'],'Content-Type':'application/x-www-form-urlencoded','Cookie':lillIl,'User-Agent':i11iil,'X-Requested-With':iiliI(0x252,'CS9!')},'params':iIIiil,'data':IlllIi,'timeout':0x7530};i1l1Ii===iiilii[iiliI(0x247,'@NuP')]&&(iiilii[iiliI(0x2e5,'L2tK')](iiliI(0x2f1,'BrvX'),iiilii['UrYow'])?Iillii['log'](''+IlI1iI+Iillil[iiliI(0x2b6,'sg1J')]):(delete I1iIIl[iiliI(0x2fb,'YD%N')],delete I1iIIl[iiliI(0x1ed,'L]FO')][iiliI(0x22b,'SgYe')]));lllI1i['includes'](iiilii[iiliI(0x263,']%gS')])&&(iiilii['mjUnY']('EzDkv','EzDkv')?(Object[iiliI(0x246,'sQs)')](I1iIIl['headers'],{'Origin':iiliI(0x24b,'LtUQ'),'Content-Type':iiliI(0x1dd,'NC(x')}),delete I1iIIl['headers'][iiilii[iiliI(0x1da,'mRa%')]]):(lilil[iiliI(0x269,'8gg$')](ll1ll[iiliI(0x27c,'YLT$')],{'Origin':iilll[iiliI(0x1fa,'^5Uj')],'Content-Type':iilll[iiliI(0x1f6,'krVh')]}),delete Illl11[iiliI(0x265,'c6n4')][iilll[iiliI(0x28a,'XH]a')]]));const lI1IIl=0x1;let i1ilI=0x0,iii1lI=null;while(iiilii['KcLsB'](i1ilI,lI1IIl)){i1ilI>0x0&&await $['wait'](0x3e8);const Iiilil=await common[iiliI(0x23c,'ICUM')](I1iIIl);if(!Iiilil['success']){if(iiilii['RkPnb'](iiilii[iiliI(0x2f8,'L2tK')],iiliI(0x2fe,'A[b4'))){iii1lI=iiliI(0x260,'omn0')+iIIiii+iiliI(0x1d7,'SgYe')+Iiilil[iiliI(0x214,'gkoE')],i1ilI++;continue;}else IiiIlI['log'](''+Iilli1+'\x20'+I1l1Il[iiliI(0x225,'ICUM')](llIll1));}if(!Iiilil['data']){iii1lI=iiliI(0x2b1,'%O@D')+iIIiii+iiliI(0x1f9,'ei4Y'),i1ilI++;continue;}await iil1lI(iIIiii,Iiilil[iiliI(0x2de,'zS5&')]);break;}i1ilI>=lI1IIl&&(iiliI(0x288,'YD%N')!==iiliI(0x2d9,'b^xT')?console[iiliI(0x20b,'XH]a')](iii1lI):delete iiilll['params'][iiliI(0x2e4,'X@aw')]['actId']);}function li1i1I(lI1III,IIliIi){const Ill11I=I1il1l,IllIiI=iiilii[Ill11I(0x26f,'UNd)')](mpdzSign,{'actId':ii1iil,...IIliIi,'method':lI1III,'userId':lllI1l,'buyerNick':iiilii[Ill11I(0x277,'vE!b')](Ill1i,'')}),i1il1={'jsonRpc':Ill11I(0x2b9,'b^xT'),'params':{'commonParameter':{'m':Ill11I(0x2ae,'zS5&'),'oba':IllIiI[Ill11I(0x2ab,'w@RN')],'timestamp':IllIiI[Ill11I(0x210,'zS5&')],'userId':lllI1l},'admJson':{'actId':ii1iil,...IIliIi,'method':lI1III,'userId':lllI1l,'buyerNick':iiilii[Ill11I(0x264,'ICUM')](Ill1i,'')}}};return lI1III['indexOf'](iiilii[Ill11I(0x1d5,'mRa%')])>-0x1&&delete i1il1['params'][Ill11I(0x2d7,'u]Y)')]['actId'],i1il1;}}function mpdzSign(I1l111){const I1il1i=IIliI1,IIii1l={'aoJfm':I1il1i(0x22c,')Fn6'),'VrsLK':I1il1i(0x235,'XH]a'),'bBKok':'%27','sxZIS':function(iill1,iii1l1){return iill1+iii1l1;}},I1iIII=IIii1l['aoJfm'],liiI11=IIii1l['VrsLK'],ililI1=new Date()[I1il1i(0x2cf,'L]FO')](),IIii1i=new RegExp('\x27','g'),i1ili=new RegExp('~','g'),Iiill1=encodeURIComponent(JSON[I1il1i(0x224,'X@aw')](I1l111))['replace'](IIii1i,IIii1l[I1il1i(0x2c3,'X@aw')])[I1il1i(0x2bd,'BrvX')](i1ili,'%7E'),I1iII1=IIii1l['sxZIS']('f'+liiI11+'D',Iiill1)+'c'+ililI1+I1iIII,lilII1=CryptoJS[I1il1i(0x270,'LtUQ')](I1iII1[I1il1i(0x203,'sQs)')]())[I1il1i(0x2aa,'sQs)')]();return{'sign':lilII1,'timeStamp':ililI1};}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)}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiongleo/faker2.git
git@gitee.com:xiongleo/faker2.git
xiongleo
faker2
faker2
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385