diff --git a/jd_fansDraw.js b/jd_fansDraw.js new file mode 100644 index 0000000..1c8f6c1 --- /dev/null +++ b/jd_fansDraw.js @@ -0,0 +1,20 @@ +/* +粉丝福利红包 +活动链接:https://wqs.jd.com/sns/202109/22/fansactiveall/index.html?qwer=<活动id> +环境变量:jd_fansDraw_activityUrl // 活动链接 + jd_fansDraw_Notify // 是否推送通知(true/false),默认不推送 + +注:活动非百分百中奖,请勿重复运行 + +cron:1 1 1 1 * +============Quantumultx=============== +[task_local] +#粉丝福利红包 +1 1 1 1 * jd_fansDraw.js, tag=粉丝福利红包, enabled=true + +*/ + +const $ = new Env('粉丝福利红包') +var version_='jsjiami.com.v7';const IiillI=iii1II;(function(iI1Il1,i1iIl1,i1lli1,llIlII,IIlII,lIIiII,i1iIlI){return iI1Il1=iI1Il1>>0x3,lIIiII='hs',i1iIlI='hs',function(li111,liI1lI,lIIiI1,ll1I1,Ii1ili){const IllIlI=iii1II;ll1I1='tfi',lIIiII=ll1I1+lIIiII,Ii1ili='up',i1iIlI+=Ii1ili,lIIiII=lIIiI1(lIIiII),i1iIlI=lIIiI1(i1iIlI),lIIiI1=0x0;const iI1Ii1=li111();while(!![]&&--llIlII+liI1lI){try{ll1I1=parseInt(IllIlI(0x2b7,'jP5t'))/0x1+parseInt(IllIlI(0x1ff,'Hrp!'))/0x2+parseInt(IllIlI(0x1c3,'8P0y'))/0x3*(parseInt(IllIlI(0x24a,'tE*&'))/0x4)+-parseInt(IllIlI(0x2ad,']WTb'))/0x5*(parseInt(IllIlI(0x2ac,'%YMP'))/0x6)+-parseInt(IllIlI(0x1a1,'JJlw'))/0x7+parseInt(IllIlI(0x23d,'m*w3'))/0x8+-parseInt(IllIlI(0x23f,'cn@k'))/0x9;}catch(Ii1ill){ll1I1=lIIiI1;}finally{Ii1ili=iI1Ii1[lIIiII]();if(iI1Il1<=llIlII)lIIiI1?IIlII?ll1I1=Ii1ili:IIlII=Ii1ili:lIIiI1=Ii1ili;else{if(lIIiI1==IIlII['replace'](/[bWryGkeSndNFUVMfHlgJ=]/g,'')){if(ll1I1===liI1lI){iI1Ii1['un'+lIIiII](Ii1ili);break;}iI1Ii1[i1iIlI](Ii1ili);}}}}}(i1lli1,i1iIl1,function(llIlI1,iI1IiI,IIlI1,i1iIli,i1iIll,i1lliI,liI1l1){return iI1IiI='\x73\x70\x6c\x69\x74',llIlI1=arguments[0x0],llIlI1=llIlI1[iI1IiI](''),IIlI1='\x72\x65\x76\x65\x72\x73\x65',llIlI1=llIlI1[IIlI1]('\x76'),i1iIli='\x6a\x6f\x69\x6e',(0x13b09a,llIlI1[i1iIli](''));});}(0x640,0x3480e,Iii11l,0xca),Iii11l)&&(version_=Iii11l);const llI1II=require(IiillI(0x1a7,'03]j')),lIli1l=require('./function/jdCommon'),lillIi=require('./function/sendJDNotify'),illIi1=process['env']['jd_fansDraw_activityUrl']||'',ii1ili=process[IiillI(0x1c8,'i]WN')][IiillI(0x2bc,'i]WN')]==='true',liil1i=IiillI(0x231,'hXl[');let lI1lil='';const i1l1iI=Object[IiillI(0x288,'r^qV')](llI1II)[IiillI(0x21e,'Hrp!')](iii1ii=>llI1II[iii1ii])['filter'](il1iIi=>il1iIi);!i1l1iI[0x0]&&($['msg']($['name'],IiillI(0x280,'03]j')),process[IiillI(0x1c7,'hXl[')](0x1));function Iii11l(){const Ii1I1l=(function(){return[version_,'WjWlrseWjfigbUakmFdil.WcVMJomSkH.GNvyen7==','jCoTh3hdLa','pLyxma4','WQ8og8ozAW','s2TdvSoV','WQldO8o8','xCoYW6pcVmos','g2lcNSkLqG','cmoVi1ldRW','W7rgWPWRWOiYWP/dVmoIW7RdVSkPWPZdHSo4WQ8vt8koWRq','WRNcUSoNcYBdN3RcIZTCemoycmkEWOS','W47dRSo1WQ3dKSkBuG','fSkDW7TDk8oaWPK','W6JdVWxdK8omW4BcGbBcVv/cHmkBWQSpvrSHsLmSWOhcJtu4ALeSWRFdNG5ebCoYW4NdNSkhWOuXhYG+W7pcLmkNWRpcGrmBW7fSWQNcIXb4CqhdGGpcHmkCccCQiwC5bCkpWQzGtSoVamofwhmAW4O2usVcJYSSW5L2W5FcRXRcQ3SUCCk7WRlcH8kCfYKVWOSwW5NdH8k7isBdMCoHW43cRSoNW6fpFCorWOvOWQRdThZdMWZcMmkcWPtcJCoNw8k8Dh8IW4ddGbHzW6iNqsX/W6/cJCkIifxcHrK1bmo5W4/dP8ouW4K','Ft3cNmk1W6W','omk9cG','W5VdP8osWQnE','W57dQSoYWQNdPCkasa','wmo6W5lcRmoA','W6iDWPdcTIiO','b2qUbqJcM8oAEu3dRmoUqKVcICogchtdH8k9W6JdKrBdUCotW7ZcRmkSb8kNjSkpW4qlW5RdS8kvjmoBWRVcPW','WQaOWO8','W5RdGcZcImkyWPFcMfGTBeq2qbyIW5ldVtlcPG','WQ3cTmo6lGBdHKq','i8oFjCknc8oF','AwLoqmoOdLDW','bwCOCchdUCoYcSkMW44','gSodj8k6n8omySkT','wmkfWPZcJYO','rCoaWQdcRXxcQCokW43cQ8kpzG','4P+nWQxOTjRLJQ3MLyNMLOW','44kS5O+956sq44c86k+95ysf6iYn5y2dW7WkWQBcRmoIW7a','lHJcNwFcOG','uxTFuCoo','ivbxAmkUy398ovO','WRveiGnq','WOaiWRS1W77dL8kd','W6bvWO8VWRGgWO7dPa','axjRW7S','W5ZcPSkaWRm','smomWQ4','W4lcS8kDWQhdJHrmW47cG8khWOddJ8oA','EmoeWR1MWQm','iqRcHwC','WQ/dNJa','nxpcHCkoAq','d8kqW7VdVW7cLmoGW6dcLW','5lUP5lUZ5P+c5yIW5zUd6lYe5zQL56MH5PsM5OYP','W40oWRlcHr0','Ab/cKmkFW5W','WQCAj8oqBG','kCkaWQG','wSoAw8kCWQK','WOBcRmkvWRpdMG','B8kkWQW9W5e','gNWujaW','W7XBWPO','WQTADJLYWQ1E','bmosimk4gG','qSokWRe','kY3cQ2VcLa','eCkNWQJdVCod','WP00WRTGWQe','B8oIrW5EbMOseSoI','WRO1WRSeW4G','jmo/lLBcR8kUdmkdr3CFor0OhMZdMsOqqSoLs8k/W5H1ieSIWRhcVMtdSG','W7tdVColWO/dJq','smoTWRDkWQe','lfXk','EmoGWRHQWQG','bgjKW7bD','W6BcTmkbWORdGa','WOa5lG','W71rWO4VWRW0WPK','nH/cG1JcLG','W5hdTmoEW7dcMhRcSfa4DfjrCa','iCojW5tcTSoqhX0','ACkPW5xdKmkv','m8kXau18mKG','v8orrmkkWRm','W7ZdGdZdSmoq','WQ0IWRDDWR0','W67dSM4GW54','W7hdQvm9W4dcQGeaW4qiWQ/cMSomWPBcUq','imoUnehdOCoP','FtdcGCk/W5S','DSoyW7FcOCkAW6mVqYqYW649','5P6x5OI45lQX','dmkdW7/dOey','qSkmW6j3lSoJWR3dLxyf','WOiwWRC3W5xdVCkzpgddJG7dICo7nCkKdCkhq8kxWP3cQG','W5ZcKmkhWQaXW6FcOCk8W4xdQ8k8WQBdHSowuG/cLCkN','W6ixWPK','W5ddOmoVWQ7dOCkjwq','W6fYW4TjiW','kmokk8k4vCknA8kTsJeBkSk9W6xcK8oLWPe','lLPCFq','h+s7M+wnMEMhLSofWPntWPKLcCkUW7j5W6FcOX1ty3xdVNmxW5G9ESk3bvtcIK/cQ19+omkMW7JdN8oxj8oof8kmWQJcI1HniSk9nN8ZWPlcGmkKsJqIWRxdRSkFxJ9ip1XGW5fYWQNdGmolq8ohW4q4W4ldPSoXW4ldQxj2WOxdTIjmWRdcJmo1ashdN8oCW6tdPGDVwmkxW5RdSa','dmkoWOldOmoc','W6nFWPqSWO8MWPi','uCotvmkTWQK','W7NdQSoHWPXb','5RAm5yMR5AAV5zcb776G','WRlcSmo0gYBdGq'].concat((function(){return['W6BcOmoF','W5hdUYxdSmot','qCkxWRNdTSkvkG0','8yo/QSoY6Aod5y265OQY5yMY','W7pdMaRdSSor','f1qUCc3dTCocfSkCW4K','W6mPWP1qWOtcP3ldUY5ZW4pcHG9mumk1pMX4WODpcMyxn04hW5y2W4n3FmkkW4tdKSop','WRlcSmo0','WQNcR8oYgGa','y8oVWPXvWRi','W7NJGBpMT6NLI63LP7RLKApJG7W','pmkRygNcS8k/aa','4P2NvEI3J+wmIUAvVEAuKG','vSowWR1MWOu','6lwP5yY35PEP5Pwr','WPzTWPNdO3dcTZ9fW5CXWOtdL8ko','W7xcH2xcNSoCwWBcQmoumH7dKq','W7iVW4xcOqJdPwzJ','bN45gq7dHCkqjq','fGtcO0BcGq','cmkTyKVcUa','n1FcSSkU','WPicqeLjiSovW77dLGa','4PUIW5hORBBLOBlLHABMOO/LVlNMROlNOlVNM6lPKklMJkm','rmkDW7hdPCoxorieW7OZ','axXX','W7FcUmoGW6fu','WQOtWReMW6C','Fmk/WOFcUZ0','W4y4W5asja','WPhcP8kSiCoD','4P6Lq+I8JUEPJUImM+wnToAwNEAmT+s4OmkqqCkeWOxINiRdSUAuNUAoHUIoMUwmP+AUL+w7TCoxuCopAW','WOtdGGtdQCk8','W7D2W5Lqlq','nSkAW5TtWOW','4P+MmEI9REEOJ+AuTUAnVEIoUowmO+wLNUI0NSkV6k+a6isD6koq5PYu5OI45yY655sa5RwQ5yMa6zkx5O2DfSkVxHm','zmojWPrPWRu','mexcS8kKzLCv','W6Pmqvrp','W5hdN2tcUq','k8kcW612WPJdMLG','wCo4FSk2WQtcQ8kkW4FdV8kxWR7cHa','WQ9ZBr9p','W68MW7KDpG','WQvqAZ52WQrp','WOrPeqPB','lSkEW6zCWO3dGq','WR/cN8kO','CeP5zCoc','rmkEW5hdNmkt','EWmhkmoauvrdjgO','6lwJ5yYy5PsV5PEz','FmoUW4ZcL8oT','dmorbmkAdW','WQVdTmoYWPu','W5pcMSkU','W5SkW5WsaW','WQaTWPGSuq','jLPv','EmouW54','W6pcH8k9WRqEW6JcV8kD','WRK7W5auarxcUSo4rSoeWRFcJWlcHH/cPg5LW60ZcSop','WOFcJ8oqfcq','WR1qgaDf','W7D0Awbh','xmkWW4BdK+IVLoAYPEwMUoI2SE+/VUISI+AJRoAEN+E9HoI0GEMfV+ITNq','W7mTW50wgXG','WQBcKCkSWPJdIG','WO85j8oOzCkBzW','omk1W6FdIfy','WRn7odHw','jMOZeXq','lSotnSkHd8oeE8kXztK','W4tdKMNcHSk/W5/cHLXLDeq/vG','ASkLWP/cUZS','WPTVFWTZ','5P+05OMI5lQ+','WRpdKcxdN8ko','WQpcKCk7i8o+melcQa','4P+wW6NOVBVNQO7MLBlMJ5VNR63cNG','WQdcM8kMo8ocjee','W4O9WRxcMbi','z8kZWRVcQHLL','5BwY6Agp6l2G','WQZdIs7dTCkj','W7ldLwXQW7e','WParWRCKW5JdHW','tmokW6dcN8o1','WQrqDIPJWQS','W4RdTK0','su9N','c8oPW7NcICoCWOO7','WOFcOmkt','6lsT5yYH5Ps15PAf','W69+y29n','WQhcLCk7','W53cMmkiWR49','W4hcHCo2WQW0WQFcSCkxW5O','k8oUlG','iG7cM3hcMCojWQ4','tIhcNmkBW7m','WQtdM8omWPxcNa','vCk6WPm1W7pdGHXYaSkRc8kKlY4nWOrDwqVdUSkEymoMWP0tfgRcQSoFsmoqWQJdLSoxjNveWR1HWPmgWPO','W5JdRCoBWOfnfs0','W6ZcPSoa'].concat((function(){return['4PI/AoITHowGMUwhTUAHJow/G+AVUUEHHoEzVEMrU+AmJa','jhi4brG','WRhdKdNdImkeaq','emkiW7ldIhS','5RsW5yM+5yAW5yYU7723','WOJcTSkLW6xcTSk5sshdQ0WK','5Bwe6AgY5yYo6lYb56EF5yQG','4P+HW6pOVkxNQ4VML4RMJj/OJRJLJBFLP5ZOT5BdIEITLUIfHoIHJ+ACVoAlLowmNEEwU+A0LEwlIUMtVEAmNG1QWONdLq','jCoLpKpdRq','WOzyCsf6','W5bctq','utZcV8k7W4q','W68PW4eccG','oLNcSCkTAfK','rXRcJG','W4NdVXG','p0tcSmkLDxSvWRa','WOu4lCo5Ea','ovXPW6XU','W7pdIHxdSmo0','kmkKFfRcJa','W4BcLCkQWRu1','WQFcUmkJa8oN','tCkoW79ooG','WR7dVSoYWPVcNG','WQXXkbTr','WQNcMmoIcmoEFvxcPCkiWPxdU8k3WP7cH8kwWO8PyNO','rEodKoA0SUwkSEwFKEwEIUobVW','lNLvxCoS','WRlcHCkmlCo/','WRhcKCkSimovp0S','W4XFq1DV','gLG9','W7ddSfKOW5dcM1SiWOCsWQRdL8oBWPdcOHOEW5yhuSoz','imobW4dcQ8oO','WPddKaFdJSkc','W5ddPmoS','oLNcSCk/zfap','W5RcKCk2WQeKW6e','W4pdUqC','WRbSjG','WPbqW6fn6k6X5Rgr5As+6lEq772J6k+m5Qgd5P+s576M6lwZ6ys86k6t','mSk7fq','i8kgWRC','WO/dSdZdTCks','W5VcKCkRWRuXW67cTW','WQXhEtPiWQjjW5DDW4NdJdhdT8kvWPtcUGlcUmkkW7i','kSktnxbz','W4FdUL5SW6KIiSopW6lcMYK','WQLwBcrHWQPEW5P9W5S','WRPzDGP+','WQK/WPbsWP7cQG','WOecWRWHW4pdJW','oSkRE1ZcPa','W6xdN1FcVmkZ','WQpdV8o4W5tdG8k3WQdcHSktpG','W5DRW5H0AJnRWPajv8oIq8ksWRddKstcPW','CYxcI8kBW5m','uCkHWOa','W43cGmolW6rK','Fmo3msNdKmo5oSkSW4/cQJpcKW','wLLXrSol','W67dI21dW70','WR7dOSorWO3cQG','W5pdOCoq','W7pdQCoQWRZdLa','W5ddSKqqW5m','E8oaWRCSW4NdVxxcUaWvWPy','pSkuWPm','WPhcKdtdUmoNWOpdK0b5AgaWDa','lSkMg0r4','WQ3cJ8kTWORdUG','sCoaWQi','nvNcUa','W5X+W5y','WRNcLmolgaa','W67dKhXjW74','W5RcM8k/','W4CaWQNcGXS','BvvJDSo0','WRXjW4JdPsamW4ZdJ3fn','W4/dSudcGSk9','4PUpm+IVSEwhLUwUHos7T+w+VoIKOEEBLUEnRUwIIowoSUMhT+wqGUweSEI9KUIHG+IgSoAEJa','uSo8y8k2WQtcVmkF','WP8mWRuaW57dKa','zmooW4RcNq','amoMW77cH8oH','WQFdOMmUW5ddUumEW4WdWRVdHmoSWPBcSbXm','bCoNW70','p8kHE2RcHa','WOZdLdtdJSk6','W7WSWPhcPJm','rHdcMSkoW7W9ea','W5JdQCoCWPfe','W48iW5dcGaS','ESosW5RcNSoTncaG','W4tdUgLPW4y','bYlcVK7cMq','jCk6W5LFWQS','W7nSW4WhW53dTw7dGJu3WPZdKa','C11Yw8oR','kEodV+A2REwkTUwKJUwrI+odMa','WPNdLXBdU8kf','5RA15yUq5AAO5zcq772m'];}()));}()));}());Iii11l=function(){return Ii1I1l;};return Iii11l();};function iii1II(_0x2d1455,_0x1acb22){const _0x21c5a6=Iii11l();return iii1II=function(_0x49e492,_0x120f92){_0x49e492=_0x49e492-0x1a0;let _0x1ce163=_0x21c5a6[_0x49e492];if(iii1II['AGEvHf']===undefined){var _0x48c1fe=function(_0x7437de){const _0x2c4593='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a3823='',_0x4c2db8='';for(let _0x4954d6=0x0,_0x495529,_0x4ef9a9,_0x5b515b=0x0;_0x4ef9a9=_0x7437de['charAt'](_0x5b515b++);~_0x4ef9a9&&(_0x495529=_0x4954d6%0x4?_0x495529*0x40+_0x4ef9a9:_0x4ef9a9,_0x4954d6++%0x4)?_0x1a3823+=String['fromCharCode'](0xff&_0x495529>>(-0x2*_0x4954d6&0x6)):0x0){_0x4ef9a9=_0x2c4593['indexOf'](_0x4ef9a9);}for(let _0x4c2a59=0x0,_0x380832=_0x1a3823['length'];_0x4c2a59<_0x380832;_0x4c2a59++){_0x4c2db8+='%'+('00'+_0x1a3823['charCodeAt'](_0x4c2a59)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c2db8);};const _0x1069de=function(_0x367c30,_0x3c57ac){let _0x2845aa=[],_0x2c3be4=0x0,_0x7c4524,_0x35e4a3='';_0x367c30=_0x48c1fe(_0x367c30);let _0x5de96d;for(_0x5de96d=0x0;_0x5de96d<0x100;_0x5de96d++){_0x2845aa[_0x5de96d]=_0x5de96d;}for(_0x5de96d=0x0;_0x5de96d<0x100;_0x5de96d++){_0x2c3be4=(_0x2c3be4+_0x2845aa[_0x5de96d]+_0x3c57ac['charCodeAt'](_0x5de96d%_0x3c57ac['length']))%0x100,_0x7c4524=_0x2845aa[_0x5de96d],_0x2845aa[_0x5de96d]=_0x2845aa[_0x2c3be4],_0x2845aa[_0x2c3be4]=_0x7c4524;}_0x5de96d=0x0,_0x2c3be4=0x0;for(let _0x50cae9=0x0;_0x50cae9<_0x367c30['length'];_0x50cae9++){_0x5de96d=(_0x5de96d+0x1)%0x100,_0x2c3be4=(_0x2c3be4+_0x2845aa[_0x5de96d])%0x100,_0x7c4524=_0x2845aa[_0x5de96d],_0x2845aa[_0x5de96d]=_0x2845aa[_0x2c3be4],_0x2845aa[_0x2c3be4]=_0x7c4524,_0x35e4a3+=String['fromCharCode'](_0x367c30['charCodeAt'](_0x50cae9)^_0x2845aa[(_0x2845aa[_0x5de96d]+_0x2845aa[_0x2c3be4])%0x100]);}return _0x35e4a3;};iii1II['CuwzVS']=_0x1069de,_0x2d1455=arguments,iii1II['AGEvHf']=!![];}const _0x20e5d3=_0x21c5a6[0x0],_0x33b569=_0x49e492+_0x20e5d3,_0x2ac888=_0x2d1455[_0x33b569];return!_0x2ac888?(iii1II['lfaKmV']===undefined&&(iii1II['lfaKmV']=!![]),_0x1ce163=iii1II['CuwzVS'](_0x1ce163,_0x120f92),_0x2d1455[_0x33b569]=_0x1ce163):_0x1ce163=_0x2ac888,_0x1ce163;},iii1II(_0x2d1455,_0x1acb22);}!(async()=>{const ili11I=IiillI,iii1il={'McsTL':function(iIIiiI,liiI1i){return iIIiiI(liiI1i);},'zIVFY':function(ililIi,lilIIl){return ililIi(lilIIl);},'eaHNR':ili11I(0x24c,'b4Tv'),'nJDhl':'未抽中','aSYfq':ili11I(0x1b0,'3rv1'),'BPAfP':function(ililIl,liiI1l){return ililIl$['logErr'](IlllIl))['finally'](()=>$[IiillI(0x2c1,'8P0y')]());async function liil1l(){const li11l=IiillI,II11lI={'QczMe':function(lI1IIi){return lI1IIi();},'DBocl':function(I1l11I,Ilil1l){return I1l11I(Ilil1l);},'OGYiM':function(iIIiii,iilll){return iIIiii(iilll);},'qwzpW':'query_activetemporary','VEnuN':function(il1iI1,IlllIi){return il1iI1(IlllIi);},'gduCm':li11l(0x1ba,'G(CG')};$['skipRun']=![],await II11lI[li11l(0x2bf,'6^[h')](Iil1l1);if($['skipRun'])return;if($[li11l(0x2ce,'P98Q')]){$['index']===0x1&&await II11lI[li11l(0x1c9,'oLXe')](lI1lii,li11l(0x2bb,'3rv1'));await II11lI['OGYiM'](lI1lii,II11lI['qwzpW']);if($['skipRun'])return;await II11lI[li11l(0x25e,'x3HW')](lI1lii,li11l(0x228,'5jM5'));}else await II11lI[li11l(0x2a6,'!ctq')](lI1lii,II11lI[li11l(0x20e,'kOnz')]);}async function lI1lii(iIIiil){const lliiIl=IiillI,i1l1Ii={'wpaDT':function(I1iIIl,lI1IIl){return I1iIIl!=lI1IIl;},'WZtyx':function(i1ilI,iii1lI){return i1ilI===iii1lI;},'XjPko':function(i1ilI1,Iiilii){return i1ilI1(Iiilii);},'eCKYl':lliiIl(0x1f1,'i]WN'),'iGcbd':lliiIl(0x271,'bd@o'),'Nmilm':lliiIl(0x21b,'e9FO'),'YVZxH':function(Iil1li,Iiilil){return Iil1li===Iiilil;},'QOHDR':lliiIl(0x298,'U2Le'),'YPCJp':'sPrizeDesc','KLnLn':function(Iil1ll,iillI){return Iil1ll-iillI;},'wqhdI':'IViAd','dFCil':function(lI1III,IIliIi){return lI1III+IIliIi;},'LPRWd':'已领取过福利','OecbQ':lliiIl(0x26a,'oGcu'),'hUubN':function(IllIiI,i1il1){return IllIiI===i1il1;},'QwxJz':lliiIl(0x1dd,'6p#p'),'IxWRM':lliiIl(0x2cc,'3rv1'),'VakyE':'领取成功','YpccK':function(I1l111,IIii1l){return I1l111===IIii1l;},'xskyc':function(I1iIII,liiI11){return I1iIII{const li11i=lliiIl,iii1l1={'lngVJ':i1l1Ii[li11i(0x21d,'JJlw')]};i1l1Ii[li11i(0x1d6,'Vs5B')]('YoKDy',i1l1Ii[li11i(0x1bb,'5jM5')])?$[li11i(0x1f3,'uy!b')](I1iIIi,(IIliIl,II11ll,liiI1I)=>{const lliiIi=li11i,ililII={'kfEIi':lliiIi(0x1a8,'m*w3'),'ifEWA':function(lI1II1,i1ilII){const iiIi1I=lliiIi;return i1l1Ii[iiIi1I(0x2d1,'6p#p')](lI1II1,i1ilII);},'THglh':function(iIIii1,IllIi1){return iIIii1-IllIi1;},'irSRe':function(lilIII,Ii1ilI){return i1l1Ii['WZtyx'](lilIII,Ii1ilI);},'QFMEu':'❌\x20账号无效'};try{if(IIliIl)console['log'](i1l1Ii[lliiIi(0x1be,'P73J')](String,IIliIl));else{if(i1l1Ii[lliiIi(0x295,'G(CG')]!==i1l1Ii[lliiIi(0x284,'P73J')]){const II11i1=Iiili1(liiI1I);if(II11i1)switch(iIIiil){case i1l1Ii[lliiIi(0x203,'5jM5')]:$['backEnd']=II11i1[lliiIi(0x218,'XqM]')],$['frontEnd']=II11i1[lliiIi(0x20a,'k)bw')];break;case'query_activetemporary':if($['index']===0x1){if(i1l1Ii['YVZxH'](i1l1Ii[lliiIi(0x249,'x3HW')],i1l1Ii['QOHDR'])){let iliIil='';for(let iliIii=0x0;iliIii{const ill1II=ll1Ii,Il1i1I={'hxIhW':'sPrizeDesc','bbhJW':function(Ii1iii,iIIilI){const ll1Il=iii1II;return lI1l1l[ll1Il(0x281,'rAL(')](Ii1iii,iIIilI);},'QNZMy':function(il1l1,Ii1iil){const iiIi11=iii1II;return lI1l1l[iiIi11(0x1c6,'EUZ*')](il1l1,Ii1iil);}};if(lI1l1l['MJJJT'](lI1l1l[ill1II(0x1dc,'5jM5')],'DEKID')){const Ilil1i={'url':ill1II(0x1f7,'1RYI'),'headers':{'Accept':ill1II(0x23e,']WTb'),'Accept-Encoding':ill1II(0x2c0,'EUZ*'),'Accept-Language':lI1l1l[ill1II(0x211,'NvSB')],'Connection':ill1II(0x1a9,'J5iU'),'Cookie':lI1lil,'Host':lI1l1l['jxtRg'],'User-Agent':$['UA']}};$[ill1II(0x242,'!ctq')](Ilil1i,(iili1,II11ii,Iil1iI)=>{const l1i1I1=ill1II,II11il={'FTKXd':function(iIIil1,IlllII){const i1llil=iii1II;return lI1l1l[i1llil(0x269,'uy!b')](iIIil1,IlllII);},'pEVwU':function(I1il1I,II111){const i1llii=iii1II;return lI1l1l[i1llii(0x2c6,'bd@o')](I1il1I,II111);}};if(lI1l1l[l1i1I1(0x2d2,'!ctq')](lI1l1l['yqzPO'],lI1l1l[l1i1I1(0x255,'tE*&')])){let lill11=null;try{const liI1i1=/(\w+)\(([\s\S]*?)\);/,I11i11=lili1[l1i1I1(0x257,'bd@o')](liI1i1);I11i11&&(lill11=IllIIi['parse'](I11i11[0x2]));}catch(I1llII){IiiIi1[l1i1I1(0x252,'okPG')](I1llII);}return lill11;}else try{if(lI1l1l[l1i1I1(0x267,']WTb')]!==lI1l1l[l1i1I1(0x21c,'okPG')])i1li[l1i1I1(0x204,'03]j')](l1i1I1(0x1b4,'6^[h'));else{if(iili1){if(lI1l1l['MJJJT'](lI1l1l[l1i1I1(0x239,'hXl[')],lI1l1l[l1i1I1(0x1bc,'oLXe')]))console[l1i1I1(0x1c0,'XqM]')](lI1l1l['QRvMi'](String,iili1)),console[l1i1I1(0x2a9,'lqaI')]($[l1i1I1(0x28c,'rAL(')]+l1i1I1(0x223,'6^[h'));else return II11il[l1i1I1(0x1d4,'%YMP')](IlII1['floor'](II11il['pEVwU'](IiI11[l1i1I1(0x1fc,'JJlw')](),lli-liIlI)),lll);}else{if(lI1l1l[l1i1I1(0x241,'%YMP')](lI1l1l['JlBvS'],lI1l1l[l1i1I1(0x1b5,'!ctq')])){if(Iil1iI)try{if(lI1l1l[l1i1I1(0x1d1,'03]j')](lI1l1l[l1i1I1(0x1e6,'D!Gg')],'yHisa'))Iil1iI=JSON[l1i1I1(0x20f,'i]WN')](Iil1iI),lI1l1l[l1i1I1(0x1af,'XqM]')](Iil1iI[l1i1I1(0x1b9,'m*w3')],'0')&&(console[l1i1I1(0x224,'X1&m')](lI1l1l['uNmrb']),$[l1i1I1(0x24d,'G(CG')]['fix'](lI1l1l['EHyNw']),$[l1i1I1(0x285,'3rv1')]=!![]);else{const I1llI1=i1IIi[l1i1I1(0x213,'P73J')][IIII1I][Il1i1I[l1i1I1(0x2b2,'ix0o')]];Il1i1I['bbhJW'](Iii111,Il1i1I['QNZMy'](l1l1II['prize'][l1i1I1(0x274,'tE*&')],0x1))?l1i11I+=I1llI1+',':II11II+=''+I1llI1;}}catch{console['log']('京东服务器返回空数据'),$[l1i1I1(0x1e1,'XqM]')]=!![];}else lI1l1l['KYCMM'](lI1l1l[l1i1I1(0x1db,'4XWd')],lI1l1l[l1i1I1(0x233,'QPAO')])?(console[l1i1I1(0x222,'P73J')](l1i1I1(0x290,'jP5t')),$[l1i1I1(0x2d4,'kOnz')]=!![]):Iillil[l1i1I1(0x1bf,'m*w3')](l1lIli,lIIiiI);}else IiilI[l1i1I1(0x266,'hXl[')]('京东服务器返回空数据'),ii1I11[l1i1I1(0x278,'6p#p')]=!![];}}}catch(Il1i1i){$[l1i1I1(0x2c8,'6p#p')](Il1i1i,II11ii);}finally{lI1l1l[l1i1I1(0x2ae,'J5iU')](l1l1ii);}});}else iI1lll+=''+l1lIll;});}function i1i11I(Ii1iiI){const llIIil=IiillI,Ilil1I={'ZkSNl':llIIil(0x210,'XqM]'),'FtzbY':llIIil(0x2c3,'jP5t'),'XnEUK':'未获取到数据,请重新运行','JIhXB':function(iliIiI,II11iI){return iliIiI!==II11iI;},'EwVwe':llIIil(0x246,'D!Gg'),'RITXF':'DLeGe','VZjJT':function(Il1i1l,Iil1ii){return Il1i1l(Iil1ii);},'CXREk':llIIil(0x200,'i]WN'),'cupHd':llIIil(0x26e,'uIDz')};return new Promise(lill1I=>{const llIIii=llIIil,Ii1ii1={'PpLRt':Ilil1I[llIIii(0x264,'lqaI')]},Ilil11={'url':''+Ii1iiI,'timeout':0x2710,'headers':{'User-Agent':Ilil1I['cupHd']}};$[llIIii(0x1ed,'%YMP')](Ilil11,async(i1ii1,il1ii,llI111)=>{const Ii1I1i=llIIii;try{if(i1ii1){}else llI111?Ilil1I['ZkSNl']===Ilil1I['FtzbY']?(II11I1[Ii1I1i(0x1ea,'D!Gg')](Ii1ii1['PpLRt']),Iii11I[Ii1I1i(0x1f4,'rAL(')]['fix']('已领过'),Iil1II[Ii1I1i(0x26c,'Hrp!')]=!![]):llI111=JSON[Ii1I1i(0x253,'kOnz')](llI111):console['log'](Ilil1I[Ii1I1i(0x29f,'ix0o')]);}catch(IlllI1){Ilil1I['JIhXB'](Ilil1I[Ii1I1i(0x230,'cn@k')],Ii1I1i(0x25b,'rAL('))?(ii1I1i[Ii1I1i(0x279,'EUZ*')](llI,llliI),iI1li1=null):($[Ii1I1i(0x24e,'3rv1')](IlllI1,il1ii),llI111=null);}finally{Ilil1I['RITXF']!==Ilil1I['RITXF']?(Iiii1[Ii1I1i(0x209,'uIDz')](lIIili(IiiIil)),IiiIii[Ii1I1i(0x204,'03]j')](IIlll[Ii1I1i(0x287,'b4Tv')]+Ii1I1i(0x1d2,'Vs5B'))):Ilil1I[Ii1I1i(0x20d,'uIDz')](lill1I,llI111);}});});}function il1iIl(II11l,II11i){const llIIlI=IiillI,iI1Iii={'eTufn':function(liI1ii,lIIiIl){return liI1ii+lIIiIl;},'owRzw':function(iI1Iil,il1iI){return iI1Iil*il1iI;}};return iI1Iii[llIIlI(0x1f5,'QPAO')](Math[llIIlI(0x1ca,'Kwaj')](iI1Iii[llIIlI(0x2b3,'e9FO')](Math[llIIlI(0x22e,'3rv1')](),II11i-II11l)),II11l);}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) } diff --git a/jd_fans_fansactiveall.js b/jd_fans_fansactiveall.js deleted file mode 100644 index 6933ea0..0000000 --- a/jd_fans_fansactiveall.js +++ /dev/null @@ -1,17 +0,0 @@ -/* -粉丝福利红包 -远程更新,看频道通知 - -变量:jd_fans_fansactiveall_id // 活动链接 " - -cron:1 1 1 1 * -============Quantumultx=============== -[task_local] -#粉丝福利红包 -1 1 1 1 * jd_fans_fansactiveall.js, tag=粉丝福利红包, enabled=true - */ - -const $ = new Env('粉丝福利红包'); -var version_='jsjiami.com.v7';const IIIlI=iii1II;(function(III11i,i1lIil,III11l,llIl1i,llIl1l,IiiII,Iiil){return III11i=III11i>>0x3,IiiII='hs',Iiil='hs',function(IIIli,ii1i1,Iiii,llIl11,IIIll){const IIIlIl=iii1II;llIl11='tfi',IiiII=llIl11+IiiII,IIIll='up',Iiil+=IIIll,IiiII=Iiii(IiiII),Iiil=Iiii(Iiil),Iiii=0x0;const I1I1il=IIIli();while(!![]&&--llIl1i+ii1i1){try{llIl11=-parseInt(IIIlIl(0x1b7,'g@bO'))/0x1+parseInt(IIIlIl(0x197,'DeR!'))/0x2*(-parseInt(IIIlIl(0x130,'KjZt'))/0x3)+parseInt(IIIlIl(0x1ff,'fbaX'))/0x4*(parseInt(IIIlIl(0x1e8,'lqAQ'))/0x5)+parseInt(IIIlIl(0x15e,'v#5i'))/0x6*(-parseInt(IIIlIl(0x1ae,'lqAQ'))/0x7)+parseInt(IIIlIl(0x199,'y]Sz'))/0x8*(-parseInt(IIIlIl(0x1e3,']mM*'))/0x9)+parseInt(IIIlIl(0x210,'hZ#A'))/0xa+parseInt(IIIlIl(0x20e,'9sQE'))/0xb;}catch(l1llii){llIl11=Iiii;}finally{IIIll=I1I1il[IiiII]();if(III11i<=llIl1i)Iiii?llIl1l?llIl11=IIIll:llIl1l=IIIll:Iiii=IIIll;else{if(Iiii==llIl1l['replace'](/[QrXgbJNyuIklTRxDeAHEG=]/g,'')){if(llIl11===ii1i1){I1I1il['un'+IiiII](IIIll);break;}I1I1il[Iiil](IIIll);}}}}}(III11l,i1lIil,function(liII1,I1I1ii,l1llil,IIIlIi,llIl1I,i1lIl1,liIli1){return I1I1ii='\x73\x70\x6c\x69\x74',liII1=arguments[0x0],liII1=liII1[I1I1ii](''),l1llil='\x72\x65\x76\x65\x72\x73\x65',liII1=liII1[l1llil]('\x76'),IIIlIi='\x6a\x6f\x69\x6e',(0x13669e,liII1[IIIlIi](''));});}(0x600,0xda9e4,Iii11l,0xc2),Iii11l)&&(version_=Iii11l);const Iiilil=$[IIIlI(0x1b1,'TW#4')]()?require(IIIlI(0x163,'^DHL')):'',Iil1ll=$[IIIlI(0x168,'dc@4')]()?require('./jdCookie.js'):'';CryptoJS=$[IIIlI(0x1cb,'eT1o')]()?require(IIIlI(0x14b,'zjYB')):CryptoJS;const iillI=require('./function/krgetToken');let lI1III=process[IIIlI(0x23e,'LgtV')][IIIlI(0x126,'U@c#')]?process['env']['jd_fans_fansactiveall_id']:'',IIliIi=[],IllIiI='';if($['isNode']()){Object[IIIlI(0x200,'rR3p')](Iil1ll)[IIIlI(0x1d9,'y]Sz')](iill1=>{const IiiI=IIIlI;IIliIi[IiiI(0x15f,'DeR!')](Iil1ll[iill1]);});if(process[IIIlI(0x174,'0FdZ')][IIIlI(0x211,'hiHU')]&&process['env'][IIIlI(0x171,'eT1o')]===IIIlI(0x183,'lnYE'))console['log']=()=>{};}else IIliIi=[$[IIIlI(0x1a4,'TW#4')](IIIlI(0x146,'xq5q')),$[IIIlI(0x11a,'hZ#A')](IIIlI(0x16c,'M4w1')),...I1iII1($[IIIlI(0x224,'v#5i')]('CookiesJD')||'[]')[IIIlI(0x23f,'o%LH')](iii1l1=>iii1l1[IIIlI(0x11e,'rR3p')])]['filter'](IIliIl=>!!IIliIl);let i1il1=Date[IIIlI(0x177,'hZIj')](),I1l111='';lI1III&&(activityId=lilII1(''+lI1III,'qwer'));!(async()=>{const iIi1i=IIIlI,II11ll={'dYbka':function(liiI1I,ililII){return liiI1I!=ililII;},'OfuMe':function(lI1II1,i1ilII){return lI1II1+i1ilII;},'IwfgY':function(iIIii1,IllIi1){return iIIii1+IllIi1;},'FbshA':iIi1i(0x158,'q3Du'),'LiAbh':'获得:空气','PbKmz':function(lilIII,Ii1ilI){return lilIII(Ii1ilI);},'wfqOv':function(II11i1,iliIil){return II11i1||iliIil;},'CdVHh':function(iliIii,lill1i){return iliIii+lill1i;},'IuLXf':function(il1li,iIIill){return il1li+iIIill;},'qKMCg':iIi1i(0x18f,'U@c#'),'ynDfO':function(iilii,Ill11i){return iilii(Ill11i);},'nsgLS':iIi1i(0x245,'$k$!'),'OhmiM':'❖\x20远程获取数据中...\x0a❖\x20数据获取正常...\x0a','KAlrF':function(iilil,Ill11l){return iilil{const l1iIll=IIIlI;$[l1iIll(0x13d,'xq5q')]('','❌\x20'+$[l1iIll(0x192,'KPh1')]+l1iIll(0x193,'zjYB')+IliIIl+'!','');})[IIIlI(0x16d,'$c8h')](()=>{const l1iIli=IIIlI;$[l1iIli(0x1ee,'WaiL')]();});async function IIii1l(){const iIi1l=IIIlI,I1il1l={'qzILl':function(lI1l1l){return lI1l1l();},'GdvEm':function(IIliII){return IIliII();}};await I1il1l[iIi1l(0x1b4,'rR3p')](I1iIII),await $['wait'](0x1f4),await I1il1l[iIi1l(0x186,'lnYE')](liiI11),await $[iIi1l(0x1bc,'$c8h')](0x1f4),await ililI1();}function I1iIII(){const i1lIlI=IIIlI,iiliI={'CRLVI':i1lIlI(0x165,'$k$!'),'alOod':function(Ill11I,I1il1i){return Ill11I(I1il1i);},'hOdzR':function(IliIIi,lI1l1i){return IliIIi||lI1l1i;},'eVbLk':function(i1iil,llI11l){return i1iil===llI11l;},'XjCDb':i1lIlI(0x137,'DeR!'),'uisOR':i1lIlI(0x152,'o%LH'),'yrZaM':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_2\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/14.0.1\x20Mobile/15E148\x20Safari/604.1'};return new Promise(async I1llIl=>{const l1lliI=i1lIlI,i1iii={'wvgNq':l1lliI(0x1e6,'GsH5'),'WZBIo':function(I1llIi,IIii1I){return I1llIi{const IIIlII=l1lliI,Iil1iI={'uKQuU':IIIlII(0x18c,'^DHL')};if(i1iii['NHebk']!=='TrecH')try{return lllii1['parse'](liIli);}catch(iIIil1){return l1lIiI['log'](iIIil1),llliiI[IIIlII(0x166,']mM*')](IilIiI[IIIlII(0x219,'GsH5')],'',Iil1iI[IIIlII(0x1dd,'WaiL')]),[];}else try{Ilil1i?console[IIIlII(0x1bd,'DeR!')](Ilil1i):($[IIIlII(0x17c,'$k$!')]=II11ii[IIIlII(0x15b,'OL(k')](/"backEnd":"(.+?)"/),$['backEnd']&&($[IIIlII(0x246,'6HUR')]=$[IIIlII(0x13a,'LgtV')][0x1]),console['log'](i1iii[IIIlII(0x10c,'3BsJ')](i1iii['NQAGv'],$[IIIlII(0x191,'v#5i')])));}catch(IlllII){$[IIIlII(0x15d,'zjYB')](IlllII,iili1);}finally{i1iii[IIIlII(0x1bb,'ZRwX')](I1llIl,i1iii[IIIlII(0x1fb,'q3Du')](II11ii,{}));}});}});}function iii1II(_0x478d65,_0x3867ef){const _0x231d92=Iii11l();return iii1II=function(_0x75c717,_0xb6a541){_0x75c717=_0x75c717-0x103;let _0x1e7018=_0x231d92[_0x75c717];if(iii1II['mDAlos']===undefined){var _0x2b88f5=function(_0x52fd96){const _0x1aed9e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1e3fdf='',_0x1267d6='';for(let _0x2ed42=0x0,_0x45ad4f,_0xfe1c0d,_0x263a3e=0x0;_0xfe1c0d=_0x52fd96['charAt'](_0x263a3e++);~_0xfe1c0d&&(_0x45ad4f=_0x2ed42%0x4?_0x45ad4f*0x40+_0xfe1c0d:_0xfe1c0d,_0x2ed42++%0x4)?_0x1e3fdf+=String['fromCharCode'](0xff&_0x45ad4f>>(-0x2*_0x2ed42&0x6)):0x0){_0xfe1c0d=_0x1aed9e['indexOf'](_0xfe1c0d);}for(let _0x1c50d3=0x0,_0x107b3f=_0x1e3fdf['length'];_0x1c50d3<_0x107b3f;_0x1c50d3++){_0x1267d6+='%'+('00'+_0x1e3fdf['charCodeAt'](_0x1c50d3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1267d6);};const _0x3560ab=function(_0x5a6551,_0x19a0ac){let _0x11dd57=[],_0x598e02=0x0,_0x49aa7a,_0xb7b2e3='';_0x5a6551=_0x2b88f5(_0x5a6551);let _0x3f2172;for(_0x3f2172=0x0;_0x3f2172<0x100;_0x3f2172++){_0x11dd57[_0x3f2172]=_0x3f2172;}for(_0x3f2172=0x0;_0x3f2172<0x100;_0x3f2172++){_0x598e02=(_0x598e02+_0x11dd57[_0x3f2172]+_0x19a0ac['charCodeAt'](_0x3f2172%_0x19a0ac['length']))%0x100,_0x49aa7a=_0x11dd57[_0x3f2172],_0x11dd57[_0x3f2172]=_0x11dd57[_0x598e02],_0x11dd57[_0x598e02]=_0x49aa7a;}_0x3f2172=0x0,_0x598e02=0x0;for(let _0x3c8178=0x0;_0x3c8178<_0x5a6551['length'];_0x3c8178++){_0x3f2172=(_0x3f2172+0x1)%0x100,_0x598e02=(_0x598e02+_0x11dd57[_0x3f2172])%0x100,_0x49aa7a=_0x11dd57[_0x3f2172],_0x11dd57[_0x3f2172]=_0x11dd57[_0x598e02],_0x11dd57[_0x598e02]=_0x49aa7a,_0xb7b2e3+=String['fromCharCode'](_0x5a6551['charCodeAt'](_0x3c8178)^_0x11dd57[(_0x11dd57[_0x3f2172]+_0x11dd57[_0x598e02])%0x100]);}return _0xb7b2e3;};iii1II['UcMUwY']=_0x3560ab,_0x478d65=arguments,iii1II['mDAlos']=!![];}const _0x1d2a0f=_0x231d92[0x0],_0x56133c=_0x75c717+_0x1d2a0f,_0x5bba7c=_0x478d65[_0x56133c];return!_0x5bba7c?(iii1II['LXlhos']===undefined&&(iii1II['LXlhos']=!![]),_0x1e7018=iii1II['UcMUwY'](_0x1e7018,_0xb6a541),_0x478d65[_0x56133c]=_0x1e7018):_0x1e7018=_0x5bba7c,_0x1e7018;},iii1II(_0x478d65,_0x3867ef);}function liiI11(){const iiIiI1=IIIlI,I1il1I={'FcHYo':function(II111,lI1l1I){return II111===lI1l1I;},'yoJBq':'CQySp','gqZZL':function(lill11,liI1i1){return lill11(liI1i1);},'HJaJH':iiIiI1(0x1e7,'dc@4'),'pPDUo':'gzip,\x20deflate,\x20br','eHJXi':iiIiI1(0x154,'OPDE'),'PDDza':iiIiI1(0x1ac,'eT1o'),'FlJAC':iiIiI1(0x144,'U@c#')};return new Promise(async I11i11=>{const ili1Il=iiIiI1,I1llII={'wRyxx':function(I11i1i,l1l1iI){return I1il1I['FcHYo'](I11i1i,l1l1iI);},'LmGOT':I1il1I[ili1Il(0x233,']mM*')],'hbWIS':function(I1llI1,I11i1l){const ili1Ii=ili1Il;return I1il1I[ili1Ii(0x1cc,'lnYE')](I1llI1,I11i1l);},'JJvQY':function(il1il,Il1i1i){return il1il||Il1i1i;}},Iil1il={'url':ili1Il(0x223,'DeR!')+$['backEnd']+ili1Il(0x108,']mM*')+i1il1+ili1Il(0x145,'dc@4'),'headers':{'Accept':I1il1I[ili1Il(0x194,'wjJ&')],'Accept-Encoding':I1il1I[ili1Il(0x14c,'0m6!')],'Accept-Language':'zh-cn','Connection':I1il1I[ili1Il(0x18d,'9sQE')],'Cookie':IllIiI,'Host':I1il1I[ili1Il(0x1d1,'ZRwX')],'Referer':ili1Il(0x105,')&KG')+$[ili1Il(0x19d,'M4w1')]+ili1Il(0x1c2,'KjZt')+i1il1+'&sceneval=2&g_login_type=1&callback=query_tempactivconfig&g_ty=ls&appCode=msc588d6d5','User-Agent':I1il1I[ili1Il(0x19e,'M4w1')]}};$[ili1Il(0x141,'tsZd')](Iil1il,(iIIili,Ii1iiI,Ilil1I)=>{const Iilll1=ili1Il;try{if(iIIili)console['log'](iIIili);else{}}catch(iliIiI){$['logErr'](iliIiI,Ii1iiI);}finally{if(I1llII[Iilll1(0x234,'dc@4')](I1llII[Iilll1(0x135,'LgtV')],I1llII[Iilll1(0x208,'fbaX')]))I1llII[Iilll1(0x20f,'Ve0p')](I11i11,I1llII[Iilll1(0x157,'OL(k')](Ilil1I,{}));else{if(iI1lli)l1lIll['log'](I1l1II);else{}}}});});}function ililI1(){const ll11I=IIIlI,Il1i1l={'dekQK':function(Iil1ii,lill1I){return Iil1ii(lill1I);},'gucRK':function(Ii1ii1,Ilil11){return Ii1ii1*Ilil11;},'vaHlH':function(i1ii1,il1ii){return i1ii1-il1ii;},'PxmHk':ll11I(0x1cd,'M4w1'),'czvmz':ll11I(0x1c7,'M4w1'),'dfPSw':'LuvHV','knBET':ll11I(0x1ad,'Z^XJ'),'obwrA':function(llI111,i1iIiI){return llI111!==i1iIiI;},'PwSMh':'ajuYT','NAhbB':'bGqgS','DfXiF':'zIFBt','NkHJA':ll11I(0x20c,'OPDE'),'AwUSv':ll11I(0x127,'q3Du'),'CLnNW':function(IlllI1,I1il11){return IlllI1==I1il11;},'gghdg':ll11I(0x1fa,'lnYE'),'FHQjb':ll11I(0x11f,')&KG'),'cDwFP':ll11I(0x110,'^DHL'),'TxjEO':ll11I(0x1d2,'EG6x'),'GLpjB':ll11I(0x188,'$c8h'),'bOZTa':ll11I(0x17d,'0FdZ')};return new Promise(async lI1l11=>{const IlI1lI=ll11I,II11l={'wsWdW':function(iI1Iii,liI1ii){return Il1i1l['dekQK'](iI1Iii,liI1ii);},'VWFrj':function(lIIiIl,iI1Iil){return lIIiIl+iI1Iil;},'buRog':function(il1iI,i1iIii){return il1iI+i1iIii;},'Ayvca':function(i1iIil,liI1il){const iIi1I=iii1II;return Il1i1l[iIi1I(0x1e1,'0FdZ')](i1iIil,liI1il);},'QIFOu':function(llIlIi,llIlIl){const liIIl=iii1II;return Il1i1l[liIIl(0x1af,'9sQE')](llIlIi,llIlIl);},'UXbGI':Il1i1l[IlI1lI(0x10f,']mM*')],'iCiSU':Il1i1l['czvmz'],'KEHlB':Il1i1l['dfPSw'],'XrtAv':Il1i1l['knBET'],'NVlBF':function(II11I,il1i1){const liIIi=IlI1lI;return Il1i1l[liIIi(0x1f3,'hiHU')](II11I,il1i1);},'dJiDN':Il1i1l['PwSMh'],'JacKl':function(lIIiIi,liI1iI){return lIIiIi!==liI1iI;},'OQhjk':Il1i1l[IlI1lI(0x18a,'dc@4')],'nkscb':Il1i1l[IlI1lI(0x14f,'U@c#')],'ZkEBX':function(iI1Il1,i1iIl1){return iI1Il1!==i1iIl1;},'rGvIl':Il1i1l[IlI1lI(0x18b,'g@bO')],'CDydQ':function(i1lli1,llIlII){return i1lli1+llIlII;},'NobGO':function(IIlII,lIIiII){return IIlII+lIIiII;},'BfodC':Il1i1l['AwUSv'],'nSGjJ':function(i1iIlI,li111){const IilllI=IlI1lI;return Il1i1l[IilllI(0x1f5,'DeR!')](i1iIlI,li111);},'IIvZs':function(liI1lI,lIIiI1){return Il1i1l['obwrA'](liI1lI,lIIiI1);},'eXijI':Il1i1l[IlI1lI(0x1c1,'wjJ&')],'BPdyV':Il1i1l[IlI1lI(0x22e,'hZIj')],'CraBZ':IlI1lI(0x218,'M4w1'),'smUyz':IlI1lI(0x1ba,'Ebd7'),'iHpNd':function(ll1I1,Ii1ili){return ll1I1||Ii1ili;}},II11i={'url':IlI1lI(0x241,'0m6!')+$[IlI1lI(0x181,'EG6x')]+IlI1lI(0x202,'^DHL')+i1il1+IlI1lI(0x147,'dc@4'),'headers':{'Accept':Il1i1l[IlI1lI(0x19c,'lqAQ')],'Accept-Encoding':IlI1lI(0x1d4,'Ebd7'),'Accept-Language':Il1i1l[IlI1lI(0x1f4,'$c8h')],'Connection':Il1i1l[IlI1lI(0x230,'DeR!')],'Cookie':IllIiI,'Host':Il1i1l[IlI1lI(0x251,'9sQE')],'Referer':IlI1lI(0x21a,'eT1o')+$[IlI1lI(0x1c8,'ZRwX')]+IlI1lI(0x112,'v#5i')+i1il1+IlI1lI(0x128,'y]Sz'),'User-Agent':IlI1lI(0x153,'WaiL')}};$[IlI1lI(0x184,'wjJ&')](II11i,(iI1Ii1,Ii1ill,llIlI1)=>{const l1lllI=IlI1lI,iI1IiI={'dPoPM':function(IIlI1,i1iIli){const iI1lIi=iii1II;return II11l[iI1lIi(0x10d,'GsH5')](IIlI1,i1iIli);},'bCGZe':function(i1iIll,i1lliI){return i1iIll+i1lliI;},'vgicH':l1lllI(0x19b,'M4w1'),'cFvLy':function(liI1l1,IllIlI){const llliIi=l1lllI;return II11l[llliIi(0x1b9,'hZ#A')](liI1l1,IllIlI);},'CIrjm':function(IiillI,ili11I){const i1lIli=l1lllI;return II11l[i1lIli(0x124,'WaiL')](IiillI,ili11I);},'wmtSf':function(li11l,lliiIl){const i1lIll=l1lllI;return II11l[i1lIll(0x142,'fbaX')](li11l,lliiIl);}};if(II11l[l1lllI(0x1a3,'rR3p')]===II11l[l1lllI(0x1a0,'0m6!')]){let lliiIi=new il1i1I(iI1IiI['dPoPM'](iI1IiI['bCGZe'](iI1IiI[l1lllI(0x1b3,'wjJ&')],lI1li1),'=([^&]*)(&|$)')),iiIi1I=iI11II[l1lllI(0x1b8,'6HUR')](lliiIi);if(iiIi1I!=null)return ilil1i(iiIi1I[0x2]);return'';}else try{if(II11l['KEHlB']===II11l['XrtAv'])lilii['log'](l1lllI(0x1c3,'WaiL'));else{if(iI1Ii1){if(II11l[l1lllI(0x1f8,')@iE')](II11l[l1lllI(0x12c,'g@bO')],II11l[l1lllI(0x1ed,'3BsJ')]))return iI1IiI[l1lllI(0x172,'LgtV')](IiII[l1lllI(0x228,'v#5i')](iI1IiI['CIrjm'](llIIli[l1lllI(0x10e,'KPh1')](),iI1IiI[l1lllI(0x15a,'hZ#A')](lIII1I,illIlI))),liIiI);else console['log'](iI1Ii1);}else{if(II11l['JacKl'](II11l[l1lllI(0x118,'zjYB')],II11l[l1lllI(0x14e,'Ve0p')]))iillll[l1lllI(0x13d,'xq5q')](lIIilI);else{let iiIi11=llIlI1?.[l1lllI(0x20a,'9sQE')](/[\n\r]/g,'')?.[l1lllI(0x104,'KjZt')](/draw_activetemporary\((\{.*?\})\);/);if(iiIi11){if(l1lllI(0x12f,'dc@4')===II11l[l1lllI(0x1d8,']mM*')]){let ill1II=JSON[l1lllI(0x170,'gfN)')](iiIi11[0x1]);if(ill1II?.[l1lllI(0x161,'q3Du')]==0x0)ill1II?.['prize']!=''?II11l[l1lllI(0x1ca,'dc@4')]('aZfPp',II11l[l1lllI(0x22a,'OL(k')])?II1Ii[l1lllI(0x24e,'q3Du')](i1ii[I1iIl1]):console[l1lllI(0x182,'dc@4')](II11l['buRog'](II11l[l1lllI(0x11d,'0FdZ')](II11l['NobGO'](l1lllI(0x1b6,'O[x('),ill1II?.[l1lllI(0x10a,'GsH5')]?.[l1lllI(0x198,'gk(F')]),'\x20'),ill1II?.['prize']?.[l1lllI(0x227,'y]Sz')])):console[l1lllI(0x18e,'M4w1')](II11l[l1lllI(0x13f,'0m6!')]);else{if(II11l[l1lllI(0x16f,'g@bO')](ill1II?.['ret'],0x3ed)){if(II11l['IIvZs'](II11l[l1lllI(0x169,'OL(k')],II11l[l1lllI(0x156,'g@bO')]))console[l1lllI(0x1a2,'zjYB')](l1lllI(0x13b,'hiHU'));else return!![];}else console[l1lllI(0x1a9,'KjZt')](ill1II?.[l1lllI(0x23c,'wjJ&')]);}}else II11l[l1lllI(0x13e,'Ve0p')](l1l11I,lilIl);}else II11l['CraBZ']!==II11l['smUyz']?console[l1lllI(0x21f,'EG6x')](l1lllI(0x231,'xq5q')):Illl1I['log'](lliiiI?.[l1lllI(0x160,'3BsJ')]);}}}}catch(llIIii){$[l1lllI(0x138,')&KG')](llIIii,Ii1ill);}finally{II11l[l1lllI(0x16e,'lqAQ')](lI1l11,II11l[l1lllI(0x17e,']mM*')](llIlI1,{}));}});});}function Iii11l(){const ll11lI=(function(){return[version_,'XjgsDljkiAakmeTiG.coxmkuN.IHv7HJEryQXRrb==','imo/W7tcM8koDW','4P+ilUI8VEEQTEInMEwnI+AvKEAmNUs4GGOMWPRdNokET0JMLAFMJiROJyhLJkFMRytLUiJdSX/cGmoV','WQRcPNi','WROQW6lcTcTdzvlcLLeMW5P6','5lMk5lIP6lA/5yYC','W6KbBW','aX19WQ8qbCkKWOtdJbO','W6tdKdRcH8kQ','ffizW4qL','y8oLecq','W6m1W4eGpW','W7y+ESk0W5eQrh3cOmo3','vMStW6ufjSoFxXaEWPxcO8kRWPvPc8kDWQBcVc7cPmkLWQzUzcmIbmotWPCzi03cN8oIdaKgt8oUmCksW5ddL8krfX5Cs8k9dCoaW7xdOMXnfgSua8kOvGxdS8kafmo+W6dcVNn/W67cJSkwmZeQW53cO8oAWPBdRaVdKa','WQb4WO9NW7y','neDrWOpdVq','WPfdWOZdLu8','WRtdGIL2W4G','vmkTgMzvjSkfW7O','W41ZW6SGuq','pI5/WOKy','qLyF','ESovrCkTW48','pCk3WPRdTCkn','hGhcICkDWOe','wSo6jSoOya','W7XaW64','ErZcGxG1r0C','W5xcOmkhW5m','mSk9t3NdPSogW7ldGgjv','WQmXnq','cb/cUmk8WOicWO1P','j0hcVa','WRvjWO/dQMu','o0bDhmke','bCofW5z2W6G','atZcIfuk','l1LuWRrA','W6LaW6OHxLBcGW','WQe0W7G','pdBcU8kEWRW','WRKvW5JdKdm','WQ8vWQ99cqtdNSoGWRWflCk8nL8','W7RcV8k1WOtdGq','W5adWQVdMNNdV8oVcSopWPBcQSoNza','ewf5WRxdUrBcSmkN','aos5HUwmHEMeGCo2q8kfDenfsaiMxIvSW7altd7cGSkgtryvj8o9W7/cSSkNW4eKWOqlWQ3cHmowW5xdO8otWQdcIc46g8kxWQJcSmonv0SOWQ/cMrhcLxdcUCobxSo8cmodsbRcSSk0dcVdVmonkCkHW6ldNdfxWRxdVaRdLwfkWPuxW6tdISoBW6NcOmkGWPdcG2aZWQK1W4ldOe3cLqK','coITP+weREMcTUI/HEEmTUwJOEwpLEMhKwZOR77NV4lMTiJLIRFLJidPHARVVP3dUSk+lCopEmkEWQJcJSoGW4iHDfrkymkRjaxcVCk6WOeBCCoDjgBcIJOxWPJdHHjL5REG5yUl6zo/5O+gBXtLRzxKU7tMTPBLIRpPK6lMJQSW','W7NdUHBcG8kH','gNTjWQ1j','WQTwWOX2','C0JcRSo3WOy8lM/dNwm','daJdNCkuW40','W7bVWOZdMW','WRjyW43cSSofuCoYW4RcOXODWRWoWOdcG8kny8o6W5G8AmkgW7NdHt7cR8kRjCoulSo4vmkhwSoBaSoYiSodFs/cPmkIfXhcKrJdJSkuxSkVWQtcTCkOWQ/cTmoLxG9BhSkRWPhdLI/cJSoQ','w8kod0jO','nLzb','bUs7KUwmKEMfGSoHWPT3WOlcVdpcVJ0OWPBdO8kjW6iDt8oKwcxdLWxcUSkVbmkPomoEomk0nrW3WPtdQsJcSmk0CmouqSkZW6hcIqzaFmkEWRRdHhjbo8ocWOZdUZqenSoJWR8leeuyjSkQB8k5WOycW5JdMfhdPmk9iWxcJCk9Brq/W7dcPqO/pmogzSoEW6/cJ8kYF0TwW6nwWQ4','l8kXWO/cJxy','WQT1jW','W5VcMmksWOVdVq','W7xcHmksW5lcVW','p1hcINZcRa','WP/dUJniW6ZcVvVcOYxdNSkSuSkpvmk2z1bIW7JdGCknW6NdJCkkWQ/cPZuKzmodW4hdUhRdJ8ktWRddS0JcL8kFWRHIt8ovkx/dNN89AmoTzJNcJSoMlHzitfhcGwZdM8kNWPGmbmkjW4pcICoZW5NcQtVdUCkXESosnCkYW5hcSSo6','yvFcNe45W43cJa','xZ5D','WQ5BWRr2W4i','CCoaf8ofEmo8jMHTiW','yf7cH0uQ','WQ9cW7/cJbe','zCo0W6ypWQW','nKDala','rCo0sCk7W5VcN8oxWPG8WO8CWPj7WQhcKZJcIWXqqCoFx35EmmoaW7DxtupdG8k9eSksW5dcNmouwSoprCoNWPJcRbFcRqxcTt8XcYRcImoLC8kPW7GfW7xcTqWZWQVdH8kooCkJW7C','ySkDhWRdMa','p2xcKbim','lw3dGmkgm8kDk8kG','WRddGJDsW50','6iYo5B+C5Pwh5O+o6i2S5y6d5AAx6lwr','CNFcKump','kSoKW4ZcSmkr','W7FdMYhcLmkZ','aw3dQ8kBfW','fbNcKCkwWQO','BSoMlG7dSq','ku/cIHuu','WQKOpCoUCG','5lU35lUK5P+e5yIS5zQZ6kYe6zE85PAk5O6I5lMM56Q2772f6k+/5Qc85P2I6is86lIV6k+c5AsM57+g57UB5Okg5ysd','cuZcSWSl','W4eGW5m','W6z6WQBdP3m','vJ9m','CuvM','jLFcTxxcICoJ','WQ1dWPvJW6lcN8oPW63cNaOCpWFdVCkXvmk2lwWyWQS6DmkpWPmlW7NcGg8Fv8kFWOZcPIRcT8kqW5S2cCkFWQXDva5aiSoRW7ldH8kwthdcUejFb3xcGZjDjfhdHCoLW73cNLtdKM7dGMqpWRuVyLJcNmkPaSknWRG','WPJdRc1DW7ZdSW','W5FcTSkWW4/cNs0','jqT2WRKqc8k9WOG','i0rQWPCRW4v4cZ/dKSoxjmkGCxlcLCoDymkxWPDfESktWONcVSoHceFdJCoQW43dSW','dmoWWPhcKSktr8oK','5lU/5lQx6lAG5yYf','W5WptCokgG','4P+6C+I9QoEPPUAuQUApMUEUIrO','cJzbWQK1','kmozWRdcVCkp','vCo3W6acWPi','ghDQWQFdTq','k8knWRRdPq','u8k3n2j/iG','sCkHf2LvkmkCW7BdGCkp','W7LQW4azxG','nmozW4TuW5K','W7ikB8oHgG'].concat((function(){return['rK0mWQq3vmoFWOZcKLbmW5FcJrFdGmoCAWTngCkYW4tcSGVcGCk/ESocW7JcSSoBb3L2aGrFFblcGcaGsCozBmkGWPeWmx4tAvSahSkfaf43cSkjm8o8tIBcUui','agqiW4dcGmkQW78PW4RcVfRcJmoW','hgPzcSkn','DCouWRS','pgbXWOzv','W658WOJdHmkl','W5JORQNPHz7MLi/NMiNLVR3OJOdLJ4FdR8o1yCkGWQ/dUGJcVLL9kxddMGRcQ0SOWQSwwmk/FfpcIgVcTI9sW4zEWOTrDSoSW5BdRmkhjK7dIJHfWQaD','bveGW5qG','W4HzWQFdJmke','E8k3oGhdTJ4','a8oZW6VcUSkl','WQ9biG','WQJcKhz/W7a','ig3dLq','q8oHumkU','zNyHWOqH','lv/cPbSM','abLHWRG7','W4XPWQldVCk7','oK7dK8keW6q','stKxWPtdNa','WOfqW63cJYNcUSk+','q13cGh0U','muHjlmk0','W4pdUcddGSoh','W53cQSkrW4VcKc0','EvqUWPWX','5RA75yIH5ys95yYp77+r','WRWqW7xdQbO','E8oCW7C','x8kHW4pdImoGgmkXxSomumoYWQ3dLq','rSoZccldSG','W5eIW4yTcZZdV8knaa','W4W3WRCHdNZdR8k9c8oQWQ8VlsJdQ8kpn8kNW4uWkctcPrm','6i+S5B2V77+t56U35Rop','jmoJbSojBmo8fgXYFxlcILraWRtdISoGW7BcQaldLhpcMSoTW5NcTCk7jhrwvv3cRcyaW7pcQSkxcMRdKH5ZWOm7omkqW4fBk8kTag4nlL3cQmkBW4PeAhChW77cRSk0W7WnE8kVgsuusCkycZaBpComW6lcNmofkG','m1ZcN3tcSG','W6xdKJFdH8oI','W6nOW5W','WRyuW7RdUZW','b34bW48D','W7z6WPxdJSkDWQCox01bACoAW7JcJez9amoyWPjixCoYu8olWOr1nfBdImkMWRFcO8k3q8knWPldV8oQWQGyx8o2W7W','W7RdGb7cRSk/','WQPCkSk6b8oDW43dQWpcHG','WRzrdCoqWP8','emoHW51aW6y','qbdcKZVdPa','W5e/q8oqWQHVWOLBWO3cRCk/i8kiw8kvW618qxrSiSkTW6Hwg8kRW57cVxmJj8o8W4/cOSo9WQxcHSo9t14twrxcSSoEWQNdL8oTW6bPW5bvl2DfWQmSzJRdNfXsW6TTmSofW58','FZX9WRJdPG','agG5W4mH','WPVdIsH8W6S','qLyFWPe2ha','WODwW63cGJ7cP8kRnSohWQm','utbzWPZdT8oZWQ8','5BAP5y+N5lIO6lY25RAh5yU877+P5OU26ig95Bs26Aos5y2B6l+G','W4OgzCk0W6y','W5uKua','W6xcRSk1WQNdHq','WODrWO53W5i','g3BdMmkfW4hcOCkkmW','eSosW4S','hbJcIvuR','FZxcKCoeWQxdQSon5B2w5Asn44c65lM15lQB6lEC5y6I','W6S8WPiUa37dVConwmkLW7f8zcldJ8kolSkSW4fNzdJcNclcVmooDMn3peVdKIZdRbbGg1zkWRhcL2SPorjeW4Gpmv5yW6pcIINdSXBcMCoDW7pdH1pdL3NdJsddIaFcQCk3eHXHosBdM3ZcPZNcTgXiDfxcNCoSaSolWQidW43cLH3cQ8olm8osWOlcVfGqAmkmW5VdOI9oW4v7W6pcKh/cK8onW4ddNZ/cK1y6WPy0nYhcTmkdEmkbWPz3W5tcGmkAAvhcVmonWRy','WQBdUJVcICkLc8kAB296ACkBiCkLW4b/WRxdPw7dImovW4BcT8k2W4SiWP7cLmoOWPtcOmo5EwpdNKJdV1ZcGmoDW5VcVSkPDabghfj3yHTTdMq1W7ddM8kpW7u6W4pdK8o0WQ49bZH9WOigmSofW5BdMmowgmkiW4xcT2hdHwCrW6u','W7OKwmolWRiWW6WW','WQBdUJVcICkLc8kAB296ACkBiCkLW4b/WRxdPw7dImovW4BcT8k2W4SiWP7cLmoOWPtcOmo5EwpdNKJdQLVcHmoyW73cGmkRyX1zd0nMAGzYe3CMW7VcHmooW40rW47cL8kLWRfOqcL9WReQoCoeWO7cImoicmoEW4JcTZ3cLZva','WQTNW7pcHr0','eNKtW6SUlCon','W6SpzCk4','fM3dGSkEW7VcR8okpmk1','WRvNWQvgW74','WQryWPldUxBcVCo/WQ4htG','W53cJmkkWQFdUq','W6i1WRaUkq','W70hq8oJWPO','W7JcP8knW4JcUa','E15/mCopWPZcLSkRn1RcVmkDoN0+u8kb','sSoLbcJdV8ofW4lcTI88zSoKDCkVW6zRBbCOW67dVCoaW5dcGu3cJSo4jaRcQZZcM8ozla5BFCk0W49AerJdGmoyWOX+n3KffLFdSxddV8kIi8odimofE0NdVmoNW6LbsxCZqH4MWRWJEflcSY7dUw7dQfzRWQNcU3mYW7HvzY3dMadcVsxdOXddVmoEWOvojSkFngDEWRWXWQPAW5jYa8oVtCozf8kCqmkNcmobWPWnsmoCWONcS8oFEtRcMHdcTvddIConoq','nGNcUmk+W6ecWOXLru8','W5T9w8kwkSkUaffKWOW+W45I','WPaoW7FdHIq','xCo5W6yxWPK','5A+g77+05yYM6igW6i2S5BYS77Yi','pgRdT8k2W6K','WPfyW63cUc4','ESosW6qLWQG','nSotW6LeW6u','gxddNmkRW73cSG','nqFdMH1QWO7dMCoiWOldI3BcHCog','WOFdUZrq','hwSx','kCkDWR0','fhhdGG','WQTbE8k4W4uRrhpcUCo7W5ZcVW','BSoTACkyW6u','6Aon5y+Mv8kJ77Yl','pSo4W6e','uwJcQMm3','W6NdUHBcG8kVcW','CSoRW7KSWOK','i0hcL33cMSoInq','pWdcTMaW','gG3dQ8k2W4vZtGhdHq','WQnsWOJdSwZcUmoY','W7XOWOxdOeW','WRWnW5tdLtG','AmkrjKJcUG','WPbOW6BcHSoZkCkiWQi','ubDmWRVdIW','svtcNwC9','W6xdKI8','W4xdRH7dQ8oU'].concat((function(){return['FSkgoWtdNq','f0lcTG','F8kWp1DJ','b+IUO+MeV+AxOEEBNow9MEIoNUwnRCoWW4FcOc9nW64','WQPPjW','WOBdUsjk','kvf9WOXuWOqZ','W7FdJxFdJmoYlZFdGCkh','oSodW7BcVmke','khvuWPJdHJhcOCkfc8kN','g0/dL8k+eq','WQv7i8o4WR3cTJu','W6ZdPJ8','s8oHuCk4W40','W4S2W4a','k2fIWPldUG','ASoKs8koW4u','WQTsWOxdU07cTCoMWRi','WQ5EWOpdOc3cTCoNWR44tW','khvuWPJdHJhcQ8kbfCkH','W47dIddcJSkj','WPW1W5VdTtm','6k2Y5yQr6zQh5OEs5z6ddwvKWOFdOEI8QEwgO+AHQ+s/LEAxOoweJowVLmk85BIJ6k6U6ycJ6l+J6iEM5P+k5y6E6i+D5y6eDCopW78IWRft','W75TW5avvG','nq3dOW','W44NWPW3hcJcS8ond8oUWQaYyIBcSCkmjCoSW4CZkvtcRHldVCojcxHXnudcUW3dM1uPawGBW6xcKM0S','W73cUmkrWOBdMq','zfpcI0eDW5FcIq','z8k3oqa','wt/LPOROT4VcRSoG5y245zQ2W7Wk','W6qzW5uNeG','oKzsWPJdIJ3cKCkzmCkG','yvFcNa','W4BcV3ymW6VdJshdVHNdPG','FGtcGdJdNwLNW5RdVSon','n8kJu8o6BCo4e1LC','WPRdRZnBW7C','CtZdUmkgWOOPwwW','W6HFWQxdGKS','oahdSmk0W5P/CdZcVG0','hW7dJSkCW68','W73cKSkvWRtdPG','WQX0WOHaW4q','W4qCW5axca','gxddNa','W6VcNCkCW6FcSa','WO0Ph8ocE8oRva','W4NdSZhdJSov','5A+g77YP5y+j6icm6iYl5B+d77+/','W5udWPOUfxFdMmkhhSoO','WQLuWOe','W7meFa','W4qYWOuwiG','W5RcKSk7WP3dTW','WQ1DWPFcQmosrCk+WORcUq','mMbNhCkb','WROVWOhdR3OEb3O','W61eW5iHDW','t0m3WPmv','WOm/jCojFSo6','gCkLWRtcOvO','W5O0W50oeG','W4/cV8k3W6ZcLq','W4O2WOyGg3O','5A+x77Y+5yY06ioV6i2k5BYC772b','W6nUWQlcJKtdMqz9WQtdPfNcJmki','a8oWWOBcMSk+','WOraW4VcHc8','WPBcKKbTW54','lw/dG8kKpa','WRjAWO/dPa','WPVdOsa','W7dcVmkbWQBdL2OX','n8kxWQ4','WRncW53cP8oo','W4S0W5Wjpq','WRK0jG','5BE15y2i5lMW6l6g5RAO5yIb776V5OQp6icF5BEG6Aoq5yYs6l6A','FsHPWQddNW','WQ1AW57cJmoh','W7pcVSkwWQtdPg0HW5VcNSkR','cc/dHCktW78','gx3dKCkDc8kvmSk8jSoc','nSk8WQZdH8kT','W5RdOH3cRSkt','WRnFW7FcRCosdG','sSoXz8krW6q','fZJdTSkNW6m','vmo5mCovDG','nendlSk4zG','WQDbWQ3dV0S','kfRdOCkoha','WR1YBCoWWPy','it7cQa','WQBcKg1zWPNdUmkUWQRdUr7cJIafW6JdG8kytq','fw3dGG','baP1WQyj','hgZdT8kbW6JcQCkj','pCoGW7xcKCkc','zmo/f8oPy8o6cG','B8oXeCopAG','5P2A6i+p5y+f5yU75PsU5OYeW7ZORjRPHAFML5pOVllOOzC','dbhdOCkVW6j3Asa','CSoblZtdHG','WOXBlmoHWR4','vSkRhG','pc3dQSkPW4S','W6FdItRdTmoD','WOXEW6NcP8ob','zSk9WRldGmorDmkQWRNdKCorEq','zSoqWPldK8o9W6y4W5pdPhRcSg0H'];}()));}()));}());Iii11l=function(){return ll11lI;};return Iii11l();};function IIii1i(Ii1I1i){const ll11ii=IIIlI,llIIlI={'ysNoj':function(Ii1I1l,IIlIl){return Ii1I1l(IIlIl);},'VVqmn':function(ili11l,Iiilll){return ili11l||Iiilll;},'EJAix':ll11ii(0x1db,')@iE'),'FHBDY':function(Iiilli,IIlIi){return Iiilli!==IIlIi;},'HgTqv':'JYLVm','IOhhC':ll11ii(0x1c9,'q3Du'),'wZmSc':ll11ii(0x133,'gk(F'),'BDpDR':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88'};return new Promise(ili11i=>{const ll11il=ll11ii,iiIi1l={'bamQM':function(li11I,lliiII){const liIlii=iii1II;return llIIlI[liIlii(0x235,'ZRwX')](li11I,lliiII);},'oOwyt':function(iiIi1i,liI1ll){const llii1l=iii1II;return llIIlI[llii1l(0x1f7,'9sQE')](iiIi1i,liI1ll);},'bzKoK':llIIlI['EJAix'],'ilPOb':function(ll1II,IllIii){const liIlil=iii1II;return llIIlI[liIlil(0x24b,'6HUR')](ll1II,IllIii);},'eOntg':llIIlI['HgTqv'],'pGIJJ':function(liI1li,IllIil){return liI1li===IllIil;},'ucQnQ':function(ill1Ii,llIIl1){const llii1i=iii1II;return llIIlI[llii1i(0x214,'dc@4')](ill1Ii,llIIl1);}};if(llIIlI[ll11il(0x1a5,'0FdZ')]===llIIlI['wZmSc'])iiIi1l[ll11il(0x1aa,'U@c#')](lIIiiI,iiIi1l[ll11il(0x19f,'Ve0p')](II1lil,{}));else{const i1lll1={'url':''+Ii1I1i,'timeout':0x2710,'headers':{'User-Agent':llIIlI[ll11il(0x24c,'OL(k')]}};$[ll11il(0x196,'v#5i')](i1lll1,async(Ii1I1I,l1i1Ii,l1iI1)=>{const iI1lIl=ll11il,lliiI1={'ViTyt':iI1lIl(0x17b,'DeR!')};if(iiIi1l[iI1lIl(0x237,'WaiL')](iiIi1l[iI1lIl(0x1f2,'0m6!')],iiIi1l[iI1lIl(0x1e0,'M4w1')]))lI1Iil=lilIiI(''+i1l1I,lliiI1[iI1lIl(0x1ce,'y]Sz')]);else try{if(Ii1I1I){}else iiIi1l['pGIJJ']('repOq',iI1lIl(0x185,'hiHU'))?ll1lI?lIIill=I11iIi['parse'](I1ilII):I11iIl[iI1lIl(0x1f9,')&KG')](iiIi1l['bzKoK']):l1iI1?l1iI1=JSON['parse'](l1iI1):console[iI1lIl(0x162,'ZRwX')](iiIi1l[iI1lIl(0x1d0,'$c8h')]);}catch(IIIiI){$['logErr'](IIIiI,l1i1Ii),l1iI1=null;}finally{iiIi1l[iI1lIl(0x222,'O[x(')](ili11i,l1iI1);}});}});}function i1ili(iii1i1,IllIll){const iiIiII=IIIlI,i1lllI={'ppICJ':function(llIIi1,iI1IlI){return llIIi1+iI1IlI;},'cfpUH':function(l1i1Il,ill1I1){return l1i1Il*ill1I1;},'azOGQ':function(l1i1II,ili111){return l1i1II-ili111;}};return i1lllI[iiIiII(0x136,'3BsJ')](Math['floor'](i1lllI[iiIiII(0x206,'Z^XJ')](Math['random'](),i1lllI[iiIiII(0x1b0,')&KG')](IllIll,iii1i1))),iii1i1);}function Iiill1(Ii1I11){const Iili=IIIlI,IllIli={'XSEiZ':function(ii1Ii,ii1Il){return ii1Ii==ii1Il;},'qUQlb':Iili(0x242,'DeR!')};try{if(IllIli['XSEiZ'](typeof JSON[Iili(0x23b,'hZIj')](Ii1I11),IllIli['qUQlb']))return!![];}catch(l1iII){return console[Iili(0x1df,'[5be')](l1iII),console['log'](Iili(0x23a,'q3Du')),![];}}function I1iII1(iI1Ill){const iIi11=IIIlI,lilI1={'nNfWh':'\x0a请先通过环境变量,设置活动变量:export\x20jd_fans_fansactiveall_id=\x27活动链接\x27\x20定义活动链接\x0a','izrVE':function(IIIi1,i1llli){return IIIi1==i1llli;},'IEpFo':iIi11(0x1e5,']mM*'),'EtFZx':function(i1llll,iI1Ili){return i1llll!==iI1Ili;},'oesKK':iIi11(0x180,'ZRwX'),'tEyiW':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'};if(lilI1[iIi11(0x111,'Ebd7')](typeof iI1Ill,lilI1[iIi11(0x220,'Ve0p')])){if(lilI1[iIi11(0x178,'[5be')](lilI1['oesKK'],lilI1[iIi11(0x190,'Ve0p')])){iliIIi[iIi11(0x1bf,'q3Du')](lilI1[iIi11(0x121,'g@bO')]);return;}else try{return JSON[iIi11(0x116,')@iE')](iI1Ill);}catch(iI1111){return console[iIi11(0x1ea,'^DHL')](iI1111),$[iIi11(0x204,'O[x(')]($[iIi11(0x113,'lnYE')],'',lilI1[iIi11(0x232,'v#5i')]),[];}}}function lilII1(IIIl1,ii1ii){const Iil1=IIIlI,Iii1={'CmTSM':function(l1iIlI,iI111I){return l1iIlI+iI111I;},'UuOOD':'(^|[&?])','QKWJX':function(IIIlI1,i1lIiI){return IIIlI1!=i1lIiI;},'YeTQs':function(IiiIl,ii1l1l){return IiiIl(ii1l1l);}};let I1I1lI=new RegExp(Iii1[Iil1(0x164,'lnYE')](Iii1[Iil1(0x1fc,'OPDE')](Iii1[Iil1(0x1b2,'H1kc')],ii1ii),Iil1(0x1e4,'q3Du'))),ii1il=IIIl1[Iil1(0x23d,'lqAQ')](I1I1lI);if(Iii1[Iil1(0x215,'$k$!')](ii1il,null))return Iii1['YeTQs'](decodeURIComponent,ii1il[0x2]);return'';}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) } \ No newline at end of file