diff --git a/jd_token.js b/jd_token.js index 16e493f..ec7dc85 100644 --- a/jd_token.js +++ b/jd_token.js @@ -7,6 +7,7 @@ JD_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行 根据自行需要设定,脚本定时每25分钟自动执行一次 9.16更新:不再读取缓存,运行一次写入一次 +9.18更新:优化若干 cron:5/25 * * * * ============Quantumultx=============== @@ -17,6 +18,6 @@ cron:5/25 * * * * */ const $ = new Env('代理缓存Token'); -var version_='jsjiami.com.v7';const I1i11l1I=ll1iIIil;function i1ii111i(){const illl1IIi=(function(){return[...[version_,'GjhgtsjMiOUamiwd.wPcoNm.lGvq7RwtFbJUdbnu==','W7pdV8objhe','W6ZdQmoDm04N','u8oUyd7cGa','n2tdLCkn','WPjlW5OB','xsbFyspcGsy','W7JcTGRcIfW','WRpdIwS','W70LWOy','4PIu77U8W53cIqtcK8kOooE+KowSToAxREMwPdS','W4xcHSokdgmVWPPbWPdcKqZdRW','WPhdSZ7cKLm','rsVcPCktW5PQW4tdHq','b07dOSoJ','WOBdQq3cOgu','W5yJWOldVYC','W7lcLtFcINNdOW','W6pcKwJdIfa','emoWWPONW6S','WOhcJ8kRyZG9o8kozCoTW6/dLYfDywlcQJ9x','4PMe77IeWPhcTq9P5z+O5z2H5lIp55gy5BAG5B2Y5zkJ77+U','xJJdP1C','WR7dTSksBG','qhhcJmkpW5C','erGDWQ4','CSk4WP0mW4xcPxvBtmoUug3cGa','ASkFWO8','FSo0tq','BuNcNSkw','WO4sWPj8','B0tcI8kq','W70wB3BdHq','W4bqymoygCkaW7i9fcVcKeRcRq','WPiiWRbyfa','WOSKiSkMAa','dmk5zCoLW74gW7C','aIRcPadcJG','vsyzW73dQW','W7CCESowyXhdQq','t8oagmkKW6eUA1XBWQNdGeXM','FYhdILDH','bCotWQSqWOOT','ELZcI8kdW5ddTCk/jf7cKG','4PUo77QPlos7KoEsREAZTUs4JUEqVow3G+w/G+wsJ++9Sa','hmoPW6/dQCoa','WPTxecNcHw4pW55jeqxcU8kw','WOWcWPjKi8o6W63cOa','E8orsrf8j8oX','WQhdTGvQWQ0','8kMQICkBWRzEWPJdQ1FcRmoaW5VcPZGSn+IUIEAWJUwMT+I3HrBINkNdP0BdHv7dRuBcNCkNWPG+cCogW791W6a','wc/dVuPPW7Pjna','W6TvW6VcPmonFW','aYldGmoDWO/cRmowyEw8UUwKVooaMUs5HUs5R+I3NUwmTa','qSofh8oEjKHHWPC','4PUjd8ooW5yf5zYY5z+f5yYq6ysI77+1wYddRuJcQCodWPG+WPtcSSkyW5hdUreohqeNW63dJSkSWOSLsY7dNmkmWQ9Ul8oyW7jEpfJcVL7cTw3cLbC','W6pdOSoxmq','W6iOauTrrSoc','W7dcQ8oRkK0o','W6ldOSoxlq','FSk/WQHWta','oSo+WPSCW6pcUa','WOBcJmo9CJa','ErT2W5aEW6WF','W40qoNKQjCkYuCkxWOpdGuS','oSo4gshcVG','jComCCkBWPK','W5tcGdu','WRrwW6RdJ0m','imobW7a','WPpdOmkPCSkE','W4DmW73cQ8oP','W63dSCkV','BtnkzsO','W6iOauSyu8ocp8k8WRZdQ2xdLCowEJzWu8oKW7LraYNdIxLgn8kcfCknmq','hc3cGqdcJq','WPRcLmo8iwrMDSknrCokWQhdSd8','A8k3uKdcPb3dMeXSgW','WQZdLMbAW58','nEwkUoMsUNq','WQrZe04fcSkzECk/WQJcOhtcLSkCDJfvfmoQW6q','v3NcNf8','W4pcK1W','W7VcUXRdTq','amopWOi','W5RcGdBdNq'],...(function(){return[...['W6JdRCkgW4y1WPm','FHxcMCk0W78','WRqJWR5ehSoBW4BcNmktW5xcMqzM','pCo5Ca','jSoKWRO8WQ8lWQ8HcSopWRJdQ8oiESk2W4lcPa','W5RcVX3dKSoI','WRFdKNHdWPhcUCoc','cmoTWQmrW64','W57cGZ3dI8ok','W6dcR8oKia','W4BcKL/dG3O','5BwD6kYh5y+T5P6k5zYY576S5AY4nI/cGmktCCoe','WRpdGCkazSkl','W4isvMNdGwyrWOD9nsdcP8orx8o+gHpcJ8onWOe2W4m','z07cVSkXW4G','WRv4W5tdOG','8lgzHhldG8oDo8kjW4pcMx7dRdjJhMtORiJMS5xPL5tORRn84P2HW6BNRi7LK5xOJ67LJRFLP7BOT4O','BMVcPtK','DYruzGe','nGlcUq/cIG','8j2kG8okWPddGmoYWQGKuCkszmokmSkOWORORlVMSR7LPB3OTzZcSokDUaxMJQxLJRNOV6hLMRNKUkJNQOa','qY3cTCkmW7PQW4tdHq','BHWTW6ddKKzFW5u','C8oFsq1+','W7PFW7FcV8olDmkSAq','W6rvW6m','AaCMW6ddN1LvW4meaq','W6lcNM3dOMm','8jIzG8oyxLddNmolkmojWRNcUCkHuSkAnUwFHEwLM+EsIEISR+AZPoAvUUMdUEwlPEs7NEMwVEISLq','sSoCcq','WObNW73dTgq','W4Kjtg/dLY5kW71Tpa','WRSJb8k5zmoWWO0SnZhcLfFcTq','tdWv','oSo7WPyp','8l2AKCkKWQJdGw7cI2mqaSk3WRFdMCkQW63OR4hMS4FLPllOTyBcUa','WR3cUmoIAW1qW77dKW','WPxdOJHAW7VdVSkcvftdRmkrxmkWkmowWOBcMComE8kgWR4tbrHUW7jtDCkto8oHW5jfyNPegmozWR/dRSoCySk8iWq5W4a','W4RcKY/dQ1a','W5DfWOakW6q4WPNcO8oIx8kb','WPGwh8kcAa','fSotWQGMW4NcLuPIASotjW','amofWOSyWPOG','hCoyW5NdUSo1','W6yZeG','WRXQtq5Aw8oFFCk0WOFdGKFcTG','mbWfWRRdMW','CgWmWQ5dWPfnvhNcMHO','WOldKmkZw8kXzc7cT2JdMa','W6H1WOK','WQdcRmouFaq','5BAE6k2B5yYZ5P2t5z+E572B5A6/mdRdRCktW5hcHW','jmobW6pdUSoBpIa','eMTdWOddLKzSW4GUoq','fMtdNSkFnKxcKMu','xYhcPCkxW5TLW5RdHq','W6WCB8osle3cHCkzW7ym','W77cSqO','W7dcR8o2pK0nWRzL','WQJdPuZcVaJdHCo7i8kQWOxcTmktW6S','sCk+WOVcNHi','CmoquW','WP7dQ8kmBSka5Rkv5P215OUO5yQV6iY25y+K776/6yEI6k285lMz','W7pdSSkCW484','W7lcV8o2jG','B2RcVq','W5hcGcRdNgdcP8kygSkKWP0','o8oYWOmmW6FcVNS','WOPwW5q','lMpdGmoedu7dMSkjWQRcQNam','4PQnzoAGLUA2Row/P+wjHUAQIow+R+ACIow+JUwtS+s6OoEsVU++J+wpTowYKEMaMowgHa','W6RdLCoRdeK','aSoHW4JdRmoLeb9t','8ycOKL/cLLP+W7RdKWtdGSkTFND3W4VORjRMSl/LPl3OTjKX','W7OqA8of','W6xdPmksrGqrf8k+vCowWPldSq','owtdLG','WRzKWOpdVIDXWRNdKSoQyvVdIa','fSoiW4G3WO8MWPrjfSoiW43dJSkWgq','W4ChvNRdMG','eSorwSkbWOy','4PU1tow/Q+wrQ+s4HEEqUownSoMfNE+9T8orW7KBdGSmWOTQb1hcU0vLiSkLFSoyWOXoFGZdQ8kGWPW2eSoLW5NdPa','sYpcUCkjW54','W6P1WOlcGCoBWPHJ','ArZcMCkeW5G','pZtcSXZcLq','rSkCWPlcTGlcNCkheSkX'],...(function(){return['y8oiW6ldKSoukY5LuCkaE1DdWOZcNqfWWPS4W7j8d8khWRSLWO4','W4BdKSkhW6SqWROZW4xdQ0dcTti','cSoZWQyWW4G','wZ1jzW','ltPz','fSotWQGSW4pcIe93','4PQo77MNlUs5HEErN+wCJUwEHUs7Jo++Ia','W6VcLqddISoc','WR7dLMuDW4BcUmkhxH/cOmopbW','W6JcShtdPepdSZ8Jb8kUWRHl','qxZcVSkNW7RdLSkUbglcRG','pwtdGSkamuhcTuq','W43cG8ogofS','sSowamkmW7CG','4PMTW7NORAFNN73MMlVKU6BNKORLNO/LNldKURhMLltMJzhKUiBNK7FMSRlMQRBLVP8jW59OrvGaW4xdLLnQpHObW6NdGvbwCG','W6FdQmohhfu6BCk1','pCoZECklWP1A','DCoOfConcG','cCogWOyPW6C','W5dcJrtdLvK','dSoWWQOjWRq','W6LSW6lcHCoa','W43cJrNdTxO','W4FcIe/dLJJcKe8','nWpcJZ0','WPTuftFcGNioWOyUFgVdP8kDu8k5falcJ8onWOe2','qNJcKmkTW7C','W6OUWOpdQYz7WOtdMa','bSoNWPe8W7m','W7RdK8kOzbG/iSkc','WOddGmk4t8kRDINcVW','W7mhAq','8jsyH1ZdKG1DwmkDWQtcGYxcKcv0WQxOR6lMSkpLPk7OT6dcSq','vYylW7RdPG','ySkcWP4','W6BcMr/cQwm','gxpcUWS0WQiimmoTE0jata','ECorqG','kCo6fW','iJrkW6mA','W7NcKf8rWRLyWQJcPuy7','BgJcQJS','WQhcTSo3','WRzKWPBdRID2WOpdLmoXzHldKHDxEN0vW5tdOmksrmkF','WQL/W4BcRhGNW4xdPCoPCwNdQsy','W5GduwNdNtjnW40','W4JcOCoocgS','W4XDWPZcImow','WRTXydDHW54qemoxW5naDq','WRCJW5VdN8koW4C/WPRdU15tr1C','tZO0WPNdShRdHa','p8o4WPKEW6pcUg5Lv8oN','W53cGsq','W4JdJ8k5','dmkzrmobWQLInausW4i','WRT4W5C','ACkCWPO','jqpcMda','CHzYrGNcPXy3','FSoapSohdq','utXjzZq','buddQa','WRxdL2LbW7O','W64yj2WB','8kkRN1ZcRSo5rCo6xSkovNlcUh1oWPZOR4NMSjNLPBBOTQBcQokCTSkq5O6v5yYQ6l+55zIX5lU156Ql','jZLrW68a','BqBdGxHhW5HLemoKug1E','W5Ksq23dHY99W4D7nq','fMtdNSkFnKxcQ2VcQa','W6eoWPFdTIW','rK1oW6FcRqFcLH/dLX0U','W7hcVSoKoLCqWOzVWRpcSq','ywhcSI8','xZ3cUCktW7C','W5enFSoEna','4PQ777MPaLJdOHxLNi7LN6JKU7ZNKzBLTRpLV4NLK5dVVkG','CCoRvJr2','W4ZdTmkqW68h','W7qKWPC','W5yeWQ/dIXTAWQ/dPa','d8k3FCoPW7e','kSobW6xdUCowpc8','iKNdS8kBoa','v8k0WQ/cKsO'];}())];}())];}());i1ii111i=function(){return illl1IIi;};return i1ii111i();};(function(I1IIliiI,IlliiIl,l111lI1i,l11lIii,IiilIi1I,iliIIIl1,II1IIi1I){return I1IIliiI=I1IIliiI>>0x8,iliIIIl1='hs',II1IIi1I='hs',function(Il1ll11I,lilllii,l1iiIili,iil1lI1I,iI1I1){const lIl1Iili=ll1iIIil;iil1lI1I='tfi',iliIIIl1=iil1lI1I+iliIIIl1,iI1I1='up',II1IIi1I+=iI1I1,iliIIIl1=l1iiIili(iliIIIl1),II1IIi1I=l1iiIili(II1IIi1I),l1iiIili=0x0;const l1Il11iI=Il1ll11I();while(!![]&&--l11lIii+lilllii){try{iil1lI1I=parseInt(lIl1Iili(0x297,'EcfT'))/0x1+-parseInt(lIl1Iili(0x242,'3nct'))/0x2+-parseInt(lIl1Iili(0x28a,'IAcA'))/0x3+-parseInt(lIl1Iili(0x23e,'wMCh'))/0x4*(parseInt(lIl1Iili(0x2b6,'SQVq'))/0x5)+parseInt(lIl1Iili(0x1ec,'kgVB'))/0x6+parseInt(lIl1Iili(0x23a,'d2pP'))/0x7*(parseInt(lIl1Iili(0x2a8,'md5('))/0x8)+-parseInt(lIl1Iili(0x2b5,'l5zu'))/0x9;}catch(ili1ll1){iil1lI1I=l1iiIili;}finally{iI1I1=l1Il11iI[iliIIIl1]();if(I1IIliiI<=l11lIii)l1iiIili?IiilIi1I?iil1lI1I=iI1I1:IiilIi1I=iI1I1:l1iiIili=iI1I1;else{if(l1iiIili==IiilIi1I['replace'](/[ghOPtJbGlwNMdqRUunF=]/g,'')){if(iil1lI1I===lilllii){l1Il11iI['un'+iliIIIl1](iI1I1);break;}l1Il11iI[II1IIi1I](iI1I1);}}}}}(l111lI1i,IlliiIl,function(lii1IIii,iI1Il1lI,lIIIiII1,i1lII1Ii,ll111lli,iiil1Ii1,lilliIII){return iI1Il1lI='\x73\x70\x6c\x69\x74',lii1IIii=arguments[0x0],lii1IIii=lii1IIii[iI1Il1lI](''),lIIIiII1=`\x72\x65\x76\x65\x72\x73\x65`,lii1IIii=lii1IIii[lIIIiII1]('\x76'),i1lII1Ii=`\x6a\x6f\x69\x6e`,(0x13e992,lii1IIii[i1lII1Ii](''));});}(0xbf00,0xa3e75,i1ii111i,0xc1),i1ii111i)&&(version_=i1ii111i);function ll1iIIil(_0xe3a579,_0x3c02a5){const _0x11ccb9=i1ii111i();return ll1iIIil=function(_0x376c89,_0x5dd2d2){_0x376c89=_0x376c89-0x1ec;let _0x27f9c5=_0x11ccb9[_0x376c89];if(ll1iIIil['KrkbIA']===undefined){var _0x5add1a=function(_0x591854){const _0x59480d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d386f='',_0x31872a='';for(let _0x1e0bbd=0x0,_0x417da8,_0x8c0c08,_0x1ac580=0x0;_0x8c0c08=_0x591854['charAt'](_0x1ac580++);~_0x8c0c08&&(_0x417da8=_0x1e0bbd%0x4?_0x417da8*0x40+_0x8c0c08:_0x8c0c08,_0x1e0bbd++%0x4)?_0x1d386f+=String['fromCharCode'](0xff&_0x417da8>>(-0x2*_0x1e0bbd&0x6)):0x0){_0x8c0c08=_0x59480d['indexOf'](_0x8c0c08);}for(let _0x4fd2e6=0x0,_0x30d639=_0x1d386f['length'];_0x4fd2e6<_0x30d639;_0x4fd2e6++){_0x31872a+='%'+('00'+_0x1d386f['charCodeAt'](_0x4fd2e6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31872a);};const _0x26d8c7=function(_0x15aaae,_0x398ea6){let _0x53066b=[],_0x1e8662=0x0,_0x2468bc,_0x332bc1='';_0x15aaae=_0x5add1a(_0x15aaae);let _0x39b186;for(_0x39b186=0x0;_0x39b186<0x100;_0x39b186++){_0x53066b[_0x39b186]=_0x39b186;}for(_0x39b186=0x0;_0x39b186<0x100;_0x39b186++){_0x1e8662=(_0x1e8662+_0x53066b[_0x39b186]+_0x398ea6['charCodeAt'](_0x39b186%_0x398ea6['length']))%0x100,_0x2468bc=_0x53066b[_0x39b186],_0x53066b[_0x39b186]=_0x53066b[_0x1e8662],_0x53066b[_0x1e8662]=_0x2468bc;}_0x39b186=0x0,_0x1e8662=0x0;for(let _0x11b4e5=0x0;_0x11b4e5<_0x15aaae['length'];_0x11b4e5++){_0x39b186=(_0x39b186+0x1)%0x100,_0x1e8662=(_0x1e8662+_0x53066b[_0x39b186])%0x100,_0x2468bc=_0x53066b[_0x39b186],_0x53066b[_0x39b186]=_0x53066b[_0x1e8662],_0x53066b[_0x1e8662]=_0x2468bc,_0x332bc1+=String['fromCharCode'](_0x15aaae['charCodeAt'](_0x11b4e5)^_0x53066b[(_0x53066b[_0x39b186]+_0x53066b[_0x1e8662])%0x100]);}return _0x332bc1;};ll1iIIil['yCtQAm']=_0x26d8c7,_0xe3a579=arguments,ll1iIIil['KrkbIA']=!![];}const _0x46ada2=_0x11ccb9[0x0],_0x33280c=_0x376c89+_0x46ada2,_0x37eaf1=_0xe3a579[_0x33280c];return!_0x37eaf1?(ll1iIIil['lUMSFh']===undefined&&(ll1iIIil['lUMSFh']=!![]),_0x27f9c5=ll1iIIil['yCtQAm'](_0x27f9c5,_0x5dd2d2),_0xe3a579[_0x33280c]=_0x27f9c5):_0x27f9c5=_0x37eaf1,_0x27f9c5;},ll1iIIil(_0xe3a579,_0x3c02a5);}const IIIlIIl1=$['isNode']()?require(I1i11l1I(0x283,'A(^@')):'',lIllili=$[I1i11l1I(0x293,'@]S8')]()?require(I1i11l1I(0x20c,'3nct')):'',lIliIIiI=require(I1i11l1I(0x24b,'l5zu')),ilI1II1=require(I1i11l1I(0x241,'3nct')),I1Ili11=require(I1i11l1I(0x2b9,'kgVB')),l1lliliI=require(I1i11l1I(0x27d,'l5zu')),ii11IIII=process['env'][I1i11l1I(0x2c3,'@]S8')]||'25';let I1Ii11Il=parseInt(ii11IIII)*0x3c*0x3e8;const i1IllIIl=new ilI1II1(I1Ii11Il,__dirname+I1i11l1I(0x216,'m#z!')),Ii1iIiii=['http://api.nolanstore.cc/sign','http://kr.kingran.cf/sign'],IIiI1l1l=Ii1iIiii[llI1ll1(0x0,Ii1iIiii[I1i11l1I(0x226,'NuG!')])],iiI111ii=IIiI1l1l,illliI11=process[I1i11l1I(0x24a,'CFE&')][I1i11l1I(0x2df,'IAcA')]||'';let IlliI1il=I1i11l1I(0x2b3,'kgVB');const II1liili=process[I1i11l1I(0x1fc,'$lfF')][I1i11l1I(0x2c1,'ow*P')]===I1i11l1I(0x280,'gosa'),l1Illi11=process[I1i11l1I(0x272,'3nct')]['JD_PROXY_TUNNRL'],l111IiI1=process[I1i11l1I(0x272,'3nct')][I1i11l1I(0x20a,'l5zu')],Ii11iiii=process[I1i11l1I(0x238,'Q#Oc')][I1i11l1I(0x2e8,'A(^@')]||I1i11l1I(0x22f,'EcfT');let iiliIi='';const IIl1lI1=l1lliliI[I1i11l1I(0x2e3,'S)7t')](illliI11);$['hostname']=IIl1lI1?.['hostname'];let liIiI1lI=![];if(II1liili){liIiI1lI=!![],require('global-agent/bootstrap');if(l111IiI1){console[I1i11l1I(0x240,'S)7t')](I1i11l1I(0x27e,'%tiL')),console[I1i11l1I(0x20b,'%tiL')]('☑️\x20代理地址为:'+l111IiI1+'\x0a');let IliIllI=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global[I1i11l1I(0x2a9,'kgVB')][I1i11l1I(0x207,'m#z!')]=IliIllI[I1i11l1I(0x209,'&s#@')](l111IiI1)[0x0]+','+($['hostname']||I1i11l1I(0x1ee,'md5('))+','+Ii11iiii;}else{if(l1Illi11)global['GLOBAL_AGENT'][I1i11l1I(0x2d9,'^AVy')]=l1Illi11,global[I1i11l1I(0x21f,'hJU(')][I1i11l1I(0x2d5,'^AVy')]=($[I1i11l1I(0x276,'@!$^')]||I1i11l1I(0x25c,'DAcy'))+','+Ii11iiii,console[I1i11l1I(0x2c2,'NuG!')](I1i11l1I(0x295,'k4iE')),console[I1i11l1I(0x1f0,'n&mP')]('☑️\x20代理地址为:'+global[I1i11l1I(0x274,'jGJP')][I1i11l1I(0x2d9,'^AVy')]+'\x0a');else{console[I1i11l1I(0x285,'%l5R')]('⚠\x20当前检测到已开启代理,但未填写代理地址变量'),console['log'](I1i11l1I(0x224,'S)7t')),console['log']('⚠\x20代理池变量:export\x20JD_PROXY_TUNNRL=\x27http://ip:port\x27'),console[I1i11l1I(0x2ac,'CFE&')](I1i11l1I(0x2a0,'hz29'));return;}}}else{console[I1i11l1I(0x240,'S)7t')](I1i11l1I(0x205,'@!$^')),console[I1i11l1I(0x2dc,'DwFy')](I1i11l1I(0x210,'RO4H'));return;}console[I1i11l1I(0x2bd,'@]S8')](I1i11l1I(0x273,'LxzX')+ii11IIII+I1i11l1I(0x2b8,'$lfF'));let IiiIlIl1=[],iIllI1il='';if($[I1i11l1I(0x2bf,'noHq')]()){Object['keys'](IIIlIIl1)['forEach'](III1IIiI=>{const illiiI1=I1i11l1I;IiiIlIl1[illiiI1(0x287,'ow*P')](IIIlIIl1[III1IIiI]);});if(process['env']['JD_DEBUG']&&process[I1i11l1I(0x200,'cCSV')][I1i11l1I(0x250,'H8)3')]==='false')console[I1i11l1I(0x285,'%l5R')]=()=>{};}else IiiIlIl1=[$['getdata'](I1i11l1I(0x1f5,'%tiL')),$['getdata'](I1i11l1I(0x215,'LxzX')),...jsonParse($[I1i11l1I(0x202,'A(^@')](I1i11l1I(0x25a,'%tiL'))||'[]')['map'](I11111I1=>I11111I1[I1i11l1I(0x29d,'M1(f')])][I1i11l1I(0x2a6,'A(^@')](lil1ili1=>!!lil1ili1);allMessage='',message='',!(async()=>{const l1l1lil=I1i11l1I,illi1i1={'rlTfi':'【提示】请先获取cookie\x0a直接使用NobyDa的京东签到获取','zCzLE':l1l1lil(0x2cc,'EcfT'),'bDIFa':function(iIiilll,iIli1lli){return iIiilll0x0)return IiiIll1I[0x0][l1l1lil(0x27f,'d2pP')]();return'';}else $['UserName']=illi1i1[l1l1lil(0x260,'&s#@')](decodeURIComponent,iIllI1il[l1l1lil(0x266,'P@sD')](/pt_pin=([^; ]+)(?=;?)/)&&iIllI1il[l1l1lil(0x20e,'EcfT')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[l1l1lil(0x2c9,'hJU(')]=illi1i1['vEpBE'](Ill1ii11,0x1),message='',$[l1l1lil(0x2c8,'jGJP')]=0x0,$[l1l1lil(0x1f3,'m#z!')]=![],$[l1l1lil(0x2d4,'@!$^')]='',console[l1l1lil(0x23b,'$lfF')](l1l1lil(0x29e,'(*Eg')+$[l1l1lil(0x252,'H8)3')]+'】'+($[l1l1lil(0x29f,'0#lo')]||$[l1l1lil(0x233,'l5zu')])+l1l1lil(0x24c,'DwFy')),l111IiI1&&(illi1i1[l1l1lil(0x29a,'wMCh')](illi1i1[l1l1lil(0x2e7,'IAcA')],illi1i1['iqGhE'])?(await illi1i1['IKLzz'](iIIi11Ii),global[l1l1lil(0x217,'noHq')][l1l1lil(0x1ef,'gosa')]=illi1i1[l1l1lil(0x239,'$M5B')](l1l1lil(0x290,'&s#@'),iiliIi),console[l1l1lil(0x2ac,'CFE&')](iiliIi)):iil1lll[l1l1lil(0x271,'k4iE')](l1l1lil(0x2d3,'(*Eg'))),await iI1lIl1I();}}})()['catch'](lilii1I=>$['logErr'](lilii1I))['finally'](()=>$[I1i11l1I(0x2d0,'cCSV')]());async function iI1lIl1I(){const l1ilIiI=I1i11l1I,IlI1iI1={'MbVDa':function(l11iIIi1,Il1lii){return l11iIIi1===Il1lii;},'STawf':l1ilIiI(0x2d6,'$lfF'),'fgonj':l1ilIiI(0x22a,'@]S8'),'QvNFB':function(II1IlIiI,i11lli1I,iiiIIiI){return II1IlIiI(i11lli1I,iiiIIiI);},'Uaggf':function(lIIlliIi,iIlIIIli){return lIIlliIi!==iIlIIIli;},'MjXFV':l1ilIiI(0x218,'A(^@'),'JRVve':function(li1iIIIl,ii1IIlll){return li1iIIIl{const ii1lII1I=l1ilIiI;iIli1lII[ii1lII1I(0x1ff,'jGJP')](Iil1l1Ii[iIIIllI1]);});if(lI11I11['env'][l1ilIiI(0x234,'gosa')]&&IlI1iI1[l1ilIiI(0x2da,'hJU(')](iI1Ilill['env'][l1ilIiI(0x21b,'A(^@')],IlI1iI1['STawf']))IiIl1I[l1ilIiI(0x2d8,'M1(f')]=()=>{};}else for(let llIlIi1=0x0;IlI1iI1['JRVve'](llIlIi1,0xa);llIlIi1++){if(l111IiI1){const iIiIil=l1ilIiI(0x2e6,'Gc%P')[l1ilIiI(0x2b7,'k4iE')]('|');let Iil1i11l=0x0;while(!![]){switch(iIiIil[Iil1i11l++]){case'0':console['log'](IlI1iI1['Pxdcr']);continue;case'1':await iIIi11Ii();continue;case'2':lllli1iI&&($[l1ilIiI(0x288,'(*Eg')]=!![]);continue;case'3':global[l1ilIiI(0x204,'hz29')][l1ilIiI(0x220,'(*Eg')]=IlI1iI1[l1ilIiI(0x2c6,'A(^@')]+iiliIi;continue;case'4':console['log'](iiliIi);continue;case'5':lllli1iI=await IlI1iI1['QvNFB'](illll11i,iIllI1il,IlliI1il);continue;}break;}}else l1Illi11&&(console[l1ilIiI(0x253,'hz29')]('Token没有成功获取,重试中'),lllli1iI=await IlI1iI1[l1ilIiI(0x2ea,'m#z!')](illll11i,iIllI1il,IlliI1il),lllli1iI&&($[l1ilIiI(0x2e1,'A(^@')]=!![]));if($[l1ilIiI(0x23f,'cCSV')])break;}}}else iiilil1l['flag']=!![];}catch(iillI1ii){console['log'](iillI1ii);}}function llil1Iil(lIIlil='',III1ll1i){const iiiliili=I1i11l1I,Il1l1ill={'cnRKl':function(l1lill1l,iIlli1Il){return l1lill1l>iIlli1Il;}};let li1lIil=III1ll1i['exec'](lIIlil);if(li1lIil&&Il1l1ill[iiiliili(0x2d2,'RO4H')](li1lIil[iiiliili(0x223,'DwFy')],0x0))return li1lIil[0x0][iiiliili(0x26e,'Gc%P')]();return'';}function II1l1IiI(IIi11IIl,ll11I){const lli1lII=I1i11l1I,Il1ii1Il={'RGRLA':function(lI1Ilil1,lllll11l){return lI1Ilil1<=lllll11l;}};let iiIiIl1l=new Date()[lli1lII(0x225,'&o(J')]();if(iiIiIl1l>=0x0&&Il1ii1Il[lli1lII(0x269,'LxzX')](iiIiIl1l,0x17))return IIi11IIl;return IIi11IIl+'_'+ll11I;}function llI1ll1(l111lIIi,lIill1I1){const I1liiil=I1i11l1I,IIlillll={'rXepI':function(iililI1l,lIi){return iililI1l+lIi;},'UQqAa':function(lI1iiIII,iiiiilIl){return lI1iiIII*iiiiilIl;},'VyzsL':function(lliiiIli,i11iiI1){return lliiiIli-i11iiI1;}};return IIlillll['rXepI'](Math[I1liiil(0x2c7,'CFE&')](IIlillll[I1liiil(0x228,'A(^@')](Math[I1liiil(0x27a,'$M5B')](),IIlillll['VyzsL'](lIill1I1,l111lIIi))),l111lIIi);}async function illll11i(ii1Iiiil,ll1iIlI1){const iII11i11=I1i11l1I,IiiiI1={'yEgme':function(liiiI11I,i1111ili){return liiiI11I===i1111ili;},'jqerQ':'uCKtl','JknEX':'Lbrnw','sFScL':function(liIiIili,iiI1lilI){return liIiIili==iiI1lilI;},'PGxUw':function(iIIlII1I,ilI11iiI){return iIIlII1I===ilI11iiI;},'LgmOm':iII11i11(0x289,'EcfT'),'YdNyp':function(l1iillli,lliiiIII){return l1iillli||lliiiIII;},'LDhFK':function(lIi1li1I,lii11Iii){return lIi1li1I+lii11Iii;},'dDRWp':function(l1i1I1li,iIliiiII){return l1i1I1li-iIliiiII;},'TYgyE':function(li1IiI1l,i1ii1ll){return li1IiI1l+i1ii1ll;},'SQOSK':iII11i11(0x25c,'DAcy'),'JkKFI':function(lliIIIii,iIiilIII){return lliIIIii===iIiilIII;},'CGMmo':iII11i11(0x1f1,'S)7t'),'IYfxr':function(liiI1111,llll111i,iI1lIlIi){return liiI1111(llll111i,iI1lIlIi);},'QiETr':iII11i11(0x291,'DwFy'),'WFODh':function(i1iiI1,lllllII){return i1iiI1===lllllII;},'YDixb':'HsgoX','bWPIy':iII11i11(0x28b,'ow*P'),'UkDmg':function(lliiili1,i1i1liil){return lliiili1===i1i1liil;},'SGQgo':'cwzQL','KPzZR':'https://api.m.jd.com/client.action?functionId=isvObfuscator','wBBog':iII11i11(0x21e,'k4iE'),'GfeIX':'application/x-www-form-urlencoded','cAZTP':iII11i11(0x20d,'@]S8'),'jlZIa':'gzip,\x20deflate,\x20br','OICvy':'object','nfTFm':'hwIza','ryotC':iII11i11(0x21d,'CFE&'),'KjWdz':function(illIil,liIli1I){return illIil!==liIli1I;},'IYjYf':iII11i11(0x275,'@ucs'),'GhysG':iII11i11(0x237,'^AVy'),'aVfJd':iII11i11(0x1fb,'LxzX')};async function Iliilill(iiillilI){return new Promise(ililIIII=>setTimeout(ililIIII,iiillilI));}let ii1Iiill=llil1Iil(ii1Iiiil,/(?<=pt_pin=)([^;]+)/);if(ii1Iiill){if(IiiiI1[iII11i11(0x244,'jGJP')](IiiiI1['CGMmo'],IiiiI1[iII11i11(0x20f,'NuG!')])){let IIlIiIII=IiiiI1[iII11i11(0x281,'(*Eg')](II1l1IiI,ii1Iiill,ll1iIlI1);token='';if(token===''){let ll1ilIIl=await I1Ili11(IiiiI1['QiETr'],{'url':ll1iIlI1,'id':''});if(ll1ilIIl){if(IiiiI1[iII11i11(0x28e,'RO4H')]('bIzth','jTCmd'))return i1i11iI1[0x0][iII11i11(0x27f,'d2pP')]();else try{if(IiiiI1[iII11i11(0x227,'0#lo')]!==IiiiI1[iII11i11(0x2a5,'MMJQ')]){illliI11?IiiiI1[iII11i11(0x292,'d2pP')](IiiiI1[iII11i11(0x2e5,'g^A%')],iII11i11(0x2aa,'SQVq'))?body=ll1ilIIl[iII11i11(0x286,'(*Eg')][iII11i11(0x2de,'EcfT')]:i1llIlI['flag']=!![]:body=ll1ilIIl[iII11i11(0x2be,'CFE&')];const iIli1lI1=await lIliIIiI[iII11i11(0x24f,'RO4H')](IiiiI1[iII11i11(0x230,'(*Eg')],{'headers':{'Host':IiiiI1[iII11i11(0x268,'%tiL')],'Content-Type':IiiiI1['GfeIX'],'Cookie':ii1Iiiil,'User-Agent':iII11i11(0x2e4,'k4iE'),'Accept-Language':IiiiI1[iII11i11(0x2ad,'6E!s')],'Accept-Encoding':IiiiI1['jlZIa']},'body':body,'timeout':0x7530})[iII11i11(0x23d,'md5(')](async II1iIIli=>{const ll1I1lii=iII11i11;if(II1iIIli[ll1I1lii(0x29c,'d2pP')]){if(IiiiI1[ll1I1lii(0x25b,'3nct')](IiiiI1[ll1I1lii(0x254,'k4iE')],IiiiI1['JknEX']))i1I1IlIl[ll1I1lii(0x264,'3nct')](ll1I1lii(0x2ca,'hJU('));else{console[ll1I1lii(0x235,'&s#@')]('🚫\x20getToken\x20API请求失败\x20➜\x20Response\x20code\x20'+(II1iIIli[ll1I1lii(0x1f9,'jGJP')][ll1I1lii(0x259,'EcfT')]||'')+'\x20('+(II1iIIli['response']['statusMessage']||'')+')');if(IiiiI1['sFScL'](II1iIIli[ll1I1lii(0x243,'EcfT')][ll1I1lii(0x294,'(*Eg')],0x193)){}}}else II1iIIli[ll1I1lii(0x298,'ow*P')][ll1I1lii(0x2a4,'&o(J')]?console[ll1I1lii(0x24d,'6E!s')](ll1I1lii(0x236,'0#lo')+(II1iIIli['response']['body']||'')+'\x0a'):IiiiI1[ll1I1lii(0x296,'m#z!')](ll1I1lii(0x2dd,'6E!s'),IiiiI1[ll1I1lii(0x27c,'A(^@')])?console[ll1I1lii(0x285,'%l5R')](ll1I1lii(0x208,'@ucs')+IiiiI1[ll1I1lii(0x2af,'gosa')](II1iIIli,'')+'\x0a'):IiIiiiIl=ililIIl[ll1I1lii(0x26d,'%tiL')];});if(iIli1lI1&&typeof iIli1lI1===IiiiI1[iII11i11(0x222,'jGJP')]){if(IiiiI1[iII11i11(0x2cd,'(*Eg')]!==IiiiI1[iII11i11(0x25f,'@!$^')]){if(iIli1lI1['body']){let l111lil1=JSON['parse'](iIli1lI1[iII11i11(0x2ce,'6E!s')]);if(l111lil1[iII11i11(0x2a1,'&o(J')]==='0')token=l111lil1['token'],console[iII11i11(0x24e,'LxzX')]('本地缓存Token成功:\x0a'+token),i1IllIIl[iII11i11(0x23c,'SQVq')](IIlIiIII,token,I1Ii11Il);else{if(IiiiI1['JkKFI'](l111lil1[iII11i11(0x219,'H8)3')],'3')&&IiiiI1[iII11i11(0x2cb,'gosa')](l111lil1[iII11i11(0x26f,'H8)3')],0x108)){if(IiiiI1['KjWdz'](IiiiI1[iII11i11(0x229,'g^A%')],iII11i11(0x27b,'hJU(')))console[iII11i11(0x203,'Gc%P')]('🚫\x20getToken\x20API请求失败\x20➜\x20账号无效'),$[iII11i11(0x299,'$lfF')]=!![];else{liIii[iII11i11(0x2ae,'m#z!')](iII11i11(0x29b,'z&W3')+(I1Ilili['response'][iII11i11(0x25d,'jGJP')]||'')+'\x20('+(i1ll11Il[iII11i11(0x2d7,'M1(f')]['statusMessage']||'')+')');if(iilII1i[iII11i11(0x1f6,'@!$^')][iII11i11(0x1f7,'&s#@')]==0x193){}}}else console['log']('🚫\x20getToken\x20API接口返回异常\x20➜\x20'+JSON['stringify'](l111lil1));}}else console[iII11i11(0x203,'Gc%P')](iII11i11(0x256,'DAcy'));}else return IiiiI1['LDhFK'](l1IlIl1[iII11i11(0x257,'md5(')](l1lilliI[iII11i11(0x2a3,'jGJP')]()*IiiiI1[iII11i11(0x255,'kgVB')](Illlii11,llIIIil1)),IIl1IilI);}}else lii1IIII[iII11i11(0x2eb,'kgVB')](iII11i11(0x2cf,'CFE&'));}catch(iiIii1Il){console[iII11i11(0x2b1,'noHq')](iII11i11(0x2db,'MMJQ'));}}else console[iII11i11(0x2bb,'hJU(')]('🚫\x20getToken\x20API请求错误\x20➜\x20签名获取失败');}else IiiiI1[iII11i11(0x1ed,'DAcy')]!==IiiiI1[iII11i11(0x22b,'M1(f')]?console[iII11i11(0x2ac,'CFE&')](iII11i11(0x1f2,'@]S8')):l11iIii[iII11i11(0x2e0,'^AVy')](iII11i11(0x2e2,'M1(f')+(lIl11IIl[iII11i11(0x231,'3nct')]['body']||'')+'\x0a');}else{II1IlI1i[iII11i11(0x2bb,'hJU(')](iII11i11(0x261,'EcfT')),Iil1iIIl[iII11i11(0x21a,'md5(')](IiiiI1[iII11i11(0x22c,'g^A%')](iII11i11(0x21c,'&s#@')+iII1Iil,'\x0a'));let l1iI11I1=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;I1ii1il1[iII11i11(0x258,'d2pP')][iII11i11(0x265,'3nct')]=l1iI11I1['exec'](iI1ilI1I)[0x0]+','+(iiII1lII[iII11i11(0x221,'%tiL')]||IiiiI1[iII11i11(0x2c0,'@!$^')])+','+iIiiIili;}}return token;}function iIIi11Ii(){const ili1Iil1=I1i11l1I,ii11illl={'JSiUB':function(IiI1I1lI,ii111Il){return IiI1I1lI===ii111Il;},'xBSfJ':ili1Iil1(0x26c,'%l5R'),'ZpfTu':ili1Iil1(0x2a7,'S)7t'),'XwDhx':function(IlI1l11i,ll1Ii111){return IlI1l11i+ll1Ii111;},'srrpK':ili1Iil1(0x2a2,'kgVB'),'IAjDk':function(Ii1li1II){return Ii1li1II();}};return new Promise(async IlIlI1Il=>{const iiliIiI1=ili1Iil1,llli1IIl={'uukMk':function(l11II1Ii){return l11II1Ii();},'RDaXE':function(lillI,il111Ill){return ii11illl['JSiUB'](lillI,il111Ill);},'jXXXs':ii11illl[iiliIiI1(0x270,'$M5B')],'dUsJm':function(Illi11lI,i1i1III){return Illi11lI!==i1i1III;},'OvydM':ii11illl[iiliIiI1(0x232,'A(^@')],'Nhrdn':function(i1i1iiIi,ilIIii1){return ii11illl['XwDhx'](i1i1iiIi,ilIIii1);},'DXOcl':ii11illl[iiliIiI1(0x26a,'&o(J')],'yPrQZ':function(ilii1i11){const Ili11l1I=iiliIiI1;return ii11illl[Ili11l1I(0x2b4,'RO4H')](ilii1i11);}};$[iiliIiI1(0x1f8,'g^A%')]({'url':l111IiI1,'timeout':{'request':0x1388}},(Ili1lIil,iIii1)=>{const I1II=iiliIiI1,lIi1iII={'dbKGn':I1II(0x2c5,'k4iE'),'mjTiu':function(i1I1I1I){const iliIlili=I1II;return llli1IIl[iliIlili(0x28f,'^AVy')](i1I1I1I);}};if(iIii1){if(llli1IIl['RDaXE'](llli1IIl[I1II(0x206,'&o(J')],llli1IIl[I1II(0x214,'RO4H')]))try{if(llli1IIl[I1II(0x262,'$lfF')](llli1IIl[I1II(0x2d1,'H8)3')],llli1IIl[I1II(0x2b0,'M1(f')]))IIllil1i=IiI11I1I['data'][I1II(0x249,'A(^@')];else{let i1ililIl=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,i1iI1Il1=i1ililIl[I1II(0x2ba,'E%He')](iIii1[I1II(0x22e,'RO4H')]);iiliIi=i1iI1Il1[0x0],global[I1II(0x246,'xPSG')][I1II(0x201,'g^A%')]=llli1IIl[I1II(0x279,'3nct')](llli1IIl[I1II(0x213,'@!$^')],iiliIi);}}catch(iIliili){}finally{llli1IIl[I1II(0x278,'@ucs')](IlIlI1Il);}else try{let lII1iI1I=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,liI11l11=lII1iI1I[I1II(0x2ba,'E%He')](iI1iiIlI[I1II(0x2bc,'g^A%')]);lIIill1I=liI11l11[0x0],II1llIll['GLOBAL_AGENT']['HTTP_PROXY']=lIi1iII['dbKGn']+I1IlIIIi;}catch(ilI1il1l){}finally{lIi1iII['mjTiu'](liiiIi1);}}});});}var version_ = 'jsjiami.com.v7'; +var version_='jsjiami.com.v7';const I11iIli1=IIIi1111;(function(lilIII,ll11ii1I,Ii11I1l,i1ii11l,ilI11,II111ll,lIiliiIi){return lilIII=lilIII>>0x2,II111ll='hs',lIiliiIi='hs',function(Ii1IIIIi,l1il1llI,IiIii11,ii11IIiI,iIII1ili){const I1I1lII1=IIIi1111;ii11IIiI='tfi',II111ll=ii11IIiI+II111ll,iIII1ili='up',lIiliiIi+=iIII1ili,II111ll=IiIii11(II111ll),lIiliiIi=IiIii11(lIiliiIi),IiIii11=0x0;const i1llIlii=Ii1IIIIi();while(!![]&&--i1ii11l+l1il1llI){try{ii11IIiI=-parseInt(I1I1lII1(0x1b7,'LghT'))/0x1*(-parseInt(I1I1lII1(0x170,'pK24'))/0x2)+parseInt(I1I1lII1(0x1ce,'&Ay('))/0x3*(-parseInt(I1I1lII1(0x17c,'m]6L'))/0x4)+-parseInt(I1I1lII1(0x23b,'VGB]'))/0x5*(parseInt(I1I1lII1(0x16d,']we)'))/0x6)+parseInt(I1I1lII1(0x1fe,'z%T@'))/0x7*(parseInt(I1I1lII1(0x168,'f#j4'))/0x8)+parseInt(I1I1lII1(0x1cd,'8B2k'))/0x9+-parseInt(I1I1lII1(0x1f3,'DnQj'))/0xa*(-parseInt(I1I1lII1(0x26a,'^ue@'))/0xb)+-parseInt(I1I1lII1(0x256,'Qv]^'))/0xc;}catch(lll1lIii){ii11IIiI=IiIii11;}finally{iIII1ili=i1llIlii[II111ll]();if(lilIII<=i1ii11l)IiIii11?ilI11?ii11IIiI=iIII1ili:ilI11=iIII1ili:IiIii11=iIII1ili;else{if(IiIii11==ilI11['replace'](/[hrukMntqfBUPTlwDLXV=]/g,'')){if(ii11IIiI===l1il1llI){i1llIlii['un'+II111ll](iIII1ili);break;}i1llIlii[lIiliiIi](iIII1ili);}}}}}(Ii11I1l,ll11ii1I,function(ililIl1I,IIilIi11,Ili1ilI,iIl1il1l,II1i1111,i1ii1I1,Il1l1ll){return IIilIi11='\x73\x70\x6c\x69\x74',ililIl1I=arguments[0x0],ililIl1I=ililIl1I[IIilIi11](''),Ili1ilI=`\x72\x65\x76\x65\x72\x73\x65`,ililIl1I=ililIl1I[Ili1ilI]('\x76'),iIl1il1l=`\x6a\x6f\x69\x6e`,(0x13ec6b,ililIl1I[iIl1il1l](''));});}(0x328,0x234d4,ii1lllii,0xcc),ii1lllii)&&(version_=ii1lllii);const iiIiI1lI=$[I11iIli1(0x266,'LghT')]()?require('./jdCookie.js'):'',liiIll1=$[I11iIli1(0x15c,'@VQ3')]()?require(I11iIli1(0x1b0,'pK24')):'',iIlI1Il=require(I11iIli1(0x224,'G0@4')),IlIiiI1I=require('./function/cache/index'),l1iiiI11=require(I11iIli1(0x251,'5sz5')),IlliIi1I=require(I11iIli1(0x1c5,'$WjR')),lI11lIl1=process['env'][I11iIli1(0x19e,'2@u9')]||'25';let lili=parseInt(lI11lIl1)*0x3c*0x3e8;const ilIIil=new IlIiiI1I(lili,__dirname+'/function/cache/token.json'),III11i1=[I11iIli1(0x1c7,'pK24'),I11iIli1(0x232,'H[8T')],IlliIllI=III11i1[IIi1liIi(0x0,III11i1['length'])],I11I1l1=IlliIllI,illllll=process[I11iIli1(0x244,'H]Zk')][I11iIli1(0x1c3,'^8Q#')]||'';let ilIiil=I11iIli1(0x205,']we)');const IIliIili=process[I11iIli1(0x169,'m]6L')][I11iIli1(0x238,'^8Q#')]===I11iIli1(0x14e,'^ue@'),I1l11ii1=process[I11iIli1(0x1df,'H[8T')][I11iIli1(0x26d,'0z4n')],l11l1I11=process['env'][I11iIli1(0x15e,'G0@4')],I1il1Il1=process[I11iIli1(0x1f2,'KlEe')][I11iIli1(0x1da,'pK24')]||'127.0.0.1,*.baidu.com';let lIIIlIIi='',iil1iliI=0x0;const IliiilIl=IlliIi1I[I11iIli1(0x17b,'2@u9')](illllll);$[I11iIli1(0x150,'^ue@')]=IliiilIl?.[I11iIli1(0x1ba,'dUT@')];function IIIi1111(_0x451829,_0x1f15f4){const _0x1da448=ii1lllii();return IIIi1111=function(_0x4d340c,_0x34ae90){_0x4d340c=_0x4d340c-0x13e;let _0x4ad8d9=_0x1da448[_0x4d340c];if(IIIi1111['IRmuUg']===undefined){var _0x22060e=function(_0x56f551){const _0x594416='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2aa6b1='',_0x5291f1='';for(let _0x15f8b5=0x0,_0x5ec205,_0x321059,_0x50936a=0x0;_0x321059=_0x56f551['charAt'](_0x50936a++);~_0x321059&&(_0x5ec205=_0x15f8b5%0x4?_0x5ec205*0x40+_0x321059:_0x321059,_0x15f8b5++%0x4)?_0x2aa6b1+=String['fromCharCode'](0xff&_0x5ec205>>(-0x2*_0x15f8b5&0x6)):0x0){_0x321059=_0x594416['indexOf'](_0x321059);}for(let _0x2b1812=0x0,_0x53f9c8=_0x2aa6b1['length'];_0x2b1812<_0x53f9c8;_0x2b1812++){_0x5291f1+='%'+('00'+_0x2aa6b1['charCodeAt'](_0x2b1812)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5291f1);};const _0x394355=function(_0x1f38de,_0x40c8b0){let _0x57cdb0=[],_0x41dc39=0x0,_0x2530e3,_0x1cf343='';_0x1f38de=_0x22060e(_0x1f38de);let _0x1d7637;for(_0x1d7637=0x0;_0x1d7637<0x100;_0x1d7637++){_0x57cdb0[_0x1d7637]=_0x1d7637;}for(_0x1d7637=0x0;_0x1d7637<0x100;_0x1d7637++){_0x41dc39=(_0x41dc39+_0x57cdb0[_0x1d7637]+_0x40c8b0['charCodeAt'](_0x1d7637%_0x40c8b0['length']))%0x100,_0x2530e3=_0x57cdb0[_0x1d7637],_0x57cdb0[_0x1d7637]=_0x57cdb0[_0x41dc39],_0x57cdb0[_0x41dc39]=_0x2530e3;}_0x1d7637=0x0,_0x41dc39=0x0;for(let _0x3f99d9=0x0;_0x3f99d9<_0x1f38de['length'];_0x3f99d9++){_0x1d7637=(_0x1d7637+0x1)%0x100,_0x41dc39=(_0x41dc39+_0x57cdb0[_0x1d7637])%0x100,_0x2530e3=_0x57cdb0[_0x1d7637],_0x57cdb0[_0x1d7637]=_0x57cdb0[_0x41dc39],_0x57cdb0[_0x41dc39]=_0x2530e3,_0x1cf343+=String['fromCharCode'](_0x1f38de['charCodeAt'](_0x3f99d9)^_0x57cdb0[(_0x57cdb0[_0x1d7637]+_0x57cdb0[_0x41dc39])%0x100]);}return _0x1cf343;};IIIi1111['cMxPoL']=_0x394355,_0x451829=arguments,IIIi1111['IRmuUg']=!![];}const _0x1b6c27=_0x1da448[0x0],_0xdfb133=_0x4d340c+_0x1b6c27,_0x1d319d=_0x451829[_0xdfb133];return!_0x1d319d?(IIIi1111['NDVgdd']===undefined&&(IIIi1111['NDVgdd']=!![]),_0x4ad8d9=IIIi1111['cMxPoL'](_0x4ad8d9,_0x34ae90),_0x451829[_0xdfb133]=_0x4ad8d9):_0x4ad8d9=_0x1d319d,_0x4ad8d9;},IIIi1111(_0x451829,_0x1f15f4);}let IIlIllli=![];if(IIliIili){IIlIllli=!![],require('global-agent/bootstrap');if(l11l1I11){console['log'](I11iIli1(0x230,']we)')),console[I11iIli1(0x245,'YXBE')](I11iIli1(0x18c,'psba')+l11l1I11+'\x0a');let iIi1I1II=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global[I11iIli1(0x24a,']we)')][I11iIli1(0x19f,'QU99')]=iIi1I1II['exec'](l11l1I11)[0x0]+','+($['hostname']||'192.168.2.2')+','+I1il1Il1;}else{if(I1l11ii1)global[I11iIli1(0x228,'!2$F')]['HTTP_PROXY']=I1l11ii1,global['GLOBAL_AGENT'][I11iIli1(0x161,'YXBE')]=($[I11iIli1(0x259,']jBS')]||I11iIli1(0x1bc,'8B2k'))+','+I1il1Il1,console['log']('☑️\x20代理池代理已开启:'),console[I11iIli1(0x1d2,'17dG')](I11iIli1(0x1f0,'4Wys')+global[I11iIli1(0x228,'!2$F')]['HTTP_PROXY']+'\x0a');else{const iii1111l=I11iIli1(0x18f,'G0@4')[I11iIli1(0x239,'4RB!')]('|');let liiIlI1I=0x0;while(!![]){switch(iii1111l[liiIlI1I++]){case'0':return;case'1':console[I11iIli1(0x175,'mnic')](I11iIli1(0x24b,'!2$F'));continue;case'2':console[I11iIli1(0x1e1,'!2$F')]('⚠\x20请知晓代理地址仅支持代理池模式(auto-proxy-pool)\x0a');continue;case'3':console[I11iIli1(0x263,'^8Q#')](I11iIli1(0x192,'*wtN'));continue;case'4':console[I11iIli1(0x1e2,'9d#g')]('⚠\x20API地址变量:export\x20JD_PROXY_URL=\x27http://api.xxx.xxx\x27\x0a');continue;}break;}}}}else{console[I11iIli1(0x19a,'DnQj')](I11iIli1(0x22e,'ikG8')),console[I11iIli1(0x176,'$WjR')](I11iIli1(0x25b,'XRF7'));return;}console[I11iIli1(0x1c9,'z%T@')](I11iIli1(0x219,'P[rJ')+lI11lIl1+'\x20分钟\x0a');let IilIlIi1=[],iIllll='';function ii1lllii(){const l11ii11I=(function(){return[...[version_,'hUTDjslrnjtViBLMamLkif.qclowm.lvr7MPkXuh==','xd3cPmkm','rCojs8khzqdcMCkoW4RcPCoaWRxcTrK','CCoUoCkFvIhcSSo6','pqCSWRJcPq','ybqdWOhcLmosW67cS3FdJ8kcWOpcTJzjW5PMCSkZsxKB','wSkRW5tcMW','DEASNEMgREIULa','pmkjW67dGYu','W6hcGvVdM8kr','W5SYDa7cRu9tW7G','cLpcNq','WPxdJ1W','8ysBQvSyku7cPM3MSzFMNA/MIytLI4JOJApLJQlVV67NRRak','4PI+BUs7NUEqMEAXHownKUMfRU+/VCoEW47cNcZdJCoMWQK/cSk4W5XrW5iYF8oShmkoWQJdN8oJiuZdIHtcM8kNzupcPd7cPmoMgCkTW6yXwmo+','FCkYhSoaiuldLa','44gf5O+S56wA44gq6k2K5ywr6i645yYCW7ldUb9XW6xdUmkr55Mb5O2+5l+g55wcl37cGeRcJ0/NM4pKURBKU5/NRj7LIB3OJyVLJOi','iSo7mYZdUK52WP0','W6pcQZBdLuBdV8oyWP8mWQ/dGW','W5e8FhzL','4PM0WQlcG8k8fEwDMowFHEwmIUMfMo++RSk9W7HGWRXFW7D7jWlcVhpdVLFcISkVWQFdV1y5ibDCW6T8WRBcPenJWRVdQmo2B1NcVcGFz8oLWOXrW7u','x8oHW40','4PM0WQlORlxNNiNMMi/KUOVNKOpLN6lLN5FKUBhML7FMJOhKU7pNK5xMSy3MQQlLVzrfj8kwv8odnCkIWOtcL8osFvHTx1VdSYhdJa','jGtdOG','A8oXCG','WRNdMLNcRb0','lNHjF8k/W5uBW4y','WQLZnaSw','W7ldM8o3xmkaF8oaW74mWOC','DCoxW4ldUSknW6OqW7i','wqVdMa3cSshcLWdcVgy','44gB5OYX56wd44k36k6H5ywL6iYZ5yYaW4RcQY3dLexcKSkW55Ix5OYQ5lYJ55EIhCobW4NdQCkLW4tNMlFKUkJKUzlNRyNLIldOJ6dLJ5O','WPPTpuldNHJcI8oOor7dSf0','khhcPhNcSH/cGqxcN0uaW7q','WORcQbOR','W6mlWOevWQ0','aJ/dKCocW4tdJSk9W4vusq','eca/WOG','DSo3kCk4Aa','W4dcQ8opzfi','WRXQhcOp','cfhcHfNcKJ/dSYxcV2uGW5qsWONcKI3cKYRdR1JdM8kI','W7xdSCkM','W5NcMvddQSk8','pcqeWO3cTq','8jcGPCkr','4PMB77UJWQ3KUApNKA3LNkJLNzFKUQtVVBm','k3jztG','cgfammoy','W6XDqhZcRcJdOmovtG','8ysORx0OgSofcSkT5Roz5P+b5OIf5yIp6i2P5y2877+F562ppa','WRTaEqNcQa','4PMsjEs7VEErLUAXGEwmOUMeN++/NCoRxSkdWP8eq3ZcPqaxWPjQWRK2ebLsC8kqW6RcLCkFC8oYzCoQtcRcT08qWO/dOeZcKM3dRSoWha','dvlcJ0i','kxdcGbNdT8kMW6rZWRKxraS','CGq1W6tcNa','WPbGFZ4','W7iRu3HqW6i','WRfofq','B1PRDfGgW6RdVmoHW6e','u8k8W5y','AXrCW73dPG','WQjwW6n/tG','lSoxW592W5WUESoRW6ZdHbPxW6q','t8oYW6/dISkPW7WQW5TZhcZdVbZcLhJdJ8oY','gsenfKaiW6VdVa','8kseKmoV6yAw6k2J5AAx5yg05lI/6icd6kAX5yA5772t6yck5BoO5OYP5lQL5PAZ55IrWOaI5zkZ776d','CmoHW4uQW5TygaXW','xSk8W7tcQXu','nfmLeSoa','BmoKnSkRqW','WONdIuLDaG','WOH2xNFcIq1DW6NdR359Aq','W5pdN8oKyCkg','4PUY77IVWPZdIK/dHUwDQEwFTUs5S+ErVUw1MUw8NUwtRo++Ua','W6hdVCknW5Wy','bLuvdCoG','aHzvW7NcOW','WQDtqHBcIq','kfjQc8o1','WOHPCGRcTW','za8q','W7ZcVhdcIb7dRCorWROvWOxdOCoB','pmkMpSoigG','k3PbhCoWWQFcOw/cIIWGuG','dLfYDCkrW6W2W7tcIfBdVSkv','WR7dV2ZcVJC','W6tdI8k0pLRcNSkP','W7lcPSogyLRdVSkXW4a','W53cOWWBhLxcKG','8yQyQCoIWOS5hmorWR3dVmorWRBcOfhcG2tORBtMSjNLPzZOTApdG+kEV8km6ls+5yYL5Psw5PAW','FmoQmmkRuG','dutcPXZdNgfkW5e','WP5goty/','eKm4WPlcK8kVWQJdSCk0W7uR','WO9QvJ4','cfpcVr7dL8kjW5m','DSk+WRezWR4','jCkYWROXtCoYW6rp','WQfpaIWNW6e3WPO','ocNdItxcS8k/WO0MaeddMSkV','WQLvW4L2BKiadXVdQ8kQBmkt','W7tcKaFcP8kl'],...(function(){return[...['kCkXCZJdQdmyW7C3gCkpWO7cP8kEW4JcNmk0nSo1','WONdLuHm','WRRdP3FcNuRcPSkWWRqrWOxcQComiSkOxfCmeCkMW7WKk8owWOlcLwZdJCkZfG','WO1bW5hdRG','FqOM','BCozW4pdVCkgW54pW7S','mCkOjNVdHciLW5O8eq','WQTXdbOT','euO+WOJcLSkUWQBcQmomWPLZs2u','rxvNWO7cU0RdMtml','wGRdNa7dI2BcHcBcIeuSW7m','tSkcW5ZcRX8','fcm6WPy','m8kOlq','W5BdOmoe','FY8kd8oLWPe/W7FcL3JdV8k3','fL/cTrZdH3nKW5VdKvW','8k25H8kTW6CoBepdSqjwmSo3WO0qtEITJEAZOEwKNEI3Mx3INRlcKvJdGIldOvmtWQLSWQvcW6aoWRFcSa','kb3dG8k+dG','W5iZWOW7WRq','imkgW6NdKY4','WPJdL1ZcOZ/dLSopWOCUWRtdNG','W6RdRSkTW78J','i8oQisJdOfniWP3cJCogfrBdHG','DWWVW6BcMfGt','EZ/cH8kHyG','W6NdKCk2','iZJdPmknf8oyfsHMW5O','W5uqWQO','jCobW7C','W5elWRKoWO3dVh10W6tdImopymkuWPFdU8oQW6RdOHajWOTmgKbbWR9WEgbOgmoWbCksaNtdSmompmoNW5RcIaRcG0BdRc/cTKPhW4xdKIBdHCodDSkutYa','Fdq0WQVcSq','tqeEWQhcKq','c8o7W77cK10','WOzoW4O','a1lcJa','WP3dGu9f','gha6fSoP','v8k7W5FcIsm','4PIm77UciEw/N+wkPUAGT+A1OowkI+w2N+w8U+wrJUs5O+EqIo++Oos/T+ACJEwJU+whREs6SoEqMowFH+wDJUwnMEMhQG','f1lcGwhcOmocW6VcJmkWWOrSW4e','j8kohG','BHCIWRtcQq','4PUf77QnW6lKUi/NKzRLNzJLN4xKU6JVVO0','dHtdLCk+','WOPUkW','dSoQWOddIbFcNs/dRSk+W6O','psKzWPFcMG','W4xdP8k2fG8','W5yAAu97W5RdS8kOW6pdRW','rXvKW5K','xgz0W4xdHWlcVfrmFq','k2rPtCkB','phhcQq','WRnwzJFcRW','eWRdOq','bej6l8klW4tdKq','j1D2WR/dGqu8kK0OyZC','4PQR77QaWOpKU6/NK5NLNj/LN5lKUOVVVy4','8j6iNCkqW67cJColnSoXrZamWOGyWPzN6k255Ro85AwE6lA8W4i','W7iHwG','W4G6WR0yWOW','W7RcU8oVrKO','W67dTCkKotO','i8kvdCowjrFcQ8o5W4xcVIBdHr3dMSotWPddUxlcOYddMmobW7pcJCokW4BdOgbuBZO','BCoDWOO2C8kOaNi','jNhcRGldHa','vIKoW4xcTxG1kvigyHu','tJpcSSkgqa','nmkpWOlcP8ozWOLAWRaEE1a','8yo6RJ43rmkoWOtcQmoLq8kDW5a3zXxMJyRLJQFOVPZLMjZLVlRLU45o4P+vzG','WR/dSNFcJHG','WOXiW5RdOeC','W57dRSoxBq','CSkiWOuVWOX0iG','aLpcQa','W4dcJ1tdJ8kT','WOfPpHC7W48cWQy','W6ddKmkN','mqiZiq','vs16W6JdOa','jwbbkmoD','D8khW6xcQbNcGZpdHSkOW50','i1FcTXBdSq','4PMF77IuixbjWPtdGmog57+v5AYq5Pwd6zEfWOC','me4siSo8FwO','ksvOW5pcHW','f8krfMeI','WP7dHu9acmkEW4K','W4FdKSkNjaC','nSkhWQ0eqG','xmo1fCk+va','WRNcJZGpdW','WR3dSCk0WQm+dSoWWQhdTmovWQZdR2i','kb3dGIlcUW','WRPobG','CmkiWO4','gIm5','ur95W4ZdJCo3W6pcUG','W74ZWOi8WR/cIG0AW4ldVCoOgG','WOTuW4JdU2ZcTxBcMCoYhCojCmoTW49eW5XUWQyVW54GWOu','8kQGOCoP5BAZ6k+z5y2k5P675zYA576N5A+qW6xdOHddKCkIWQe','W4xcNCoQu2u','gv9pFCkf'],...(function(){return['oSkKWQ4','4PUmfUAJJUA0Low/OUwkPUARN+w8OEAFP+w9QEwrGEs7PEEqQE+9NUwnMEwWMUMdK+whLa','oCkXifeIjq','4PMA77UUwCoNbMtLNRtLNPBKUyRNK4lLTRdLVR/LKipVV60','hCkLWPSxvW','W6tdI8k0pLRcNSkPWPldQCo5WQ0grmknW7bZWOJcVqBdICkUkadcSwi','WQDjAaNcTMXVW5q','pCkJWQ0wya','rI8OWQhcTCkNWPNdHq','eSoroINdHa','4PUm77IUuUs7O+EsMEwDPowELos6K++9Pa','WQLvW4L1DuOwcq/dTSk7ECku','oM1rxSkK','W4pdImkHaGu','ymoJEqnUEmkQW7ddV8oLW4VcMa','WPNMRz7PHidORQS','8lI5Gb3MNlpLNjtNVPNLR7NcS8ouW53cIs3MIQ/LIi3cS38','rSouyGBdPW','EmkFW77cUGFcNZ7dImk3W4ePW7e','8kcRJSkMemkxWOFcHGGSymo6W5SicxJORQ7MS4tPLkVORBBcMokCSCos56665zc/6i2l5y2v5AE06lAl','jv85d8ox','WRfQCtTiWP/cMSkdWRW','WQVdP0/cLdi','W7SGsW','u8ooaq','W6lcN3NdH8kV','c8keaCoJgq','W7ZcUKFdPSk5','W60sWQWOWOG','dmkTnSoKf2hdM8kxW67cGqZdQW','4PIz77MWW63LVk3LIRpMOiBMTjNLIAVLTBFLVRJLKONKUQ3NK7/VVRxKV5FMNQtLOQ/LHjJKUPZNKAlLNPtLNA/LJQ7PH6y','f8kKiCo7ja','khjTuepcJq','W7pcHCo7F14','WQb1W5HJvq','W485WPWkWOS','WOldOMFdUCkfWPrFW5icvu7dQ3ZdI8ouu8odhtrW','WOH0W69w','WPBdINdcIHe','zZmcW73cOW','rWhcQmk+yG','WQVcRSo3WQbGjmodW6ZcGmoHW7ldUmkK','WOHgW79qW4/dSgP1WRFcLSku','WPPXAIaBW5xdVW','w8oHW5K1W5XCbIm','tHT6','4PUpv+w8OEwsTEs4QoEtOowoT+MgM+++TCoIztjhA8kubdRcKt7cOfVcLM8+WQy4ySkTWRK7xstdPSkzW5bcxIC','AmoNBaJdSq','WOz/W6a','WOT+W6jJs2qP','8kQkL0aMW7zTw8kLW7RdSH46W43dJCos6k2c5Rkz5AAi6lwpqEkEJCoc5O6w5yYO6l+65zQz5lIG56Q5','oWe1','W53dQSoxAmk+w8oZ','W5BdOSoXzSk6','WO9+W7e','8kIGSwO','l8ocW7/cIgK','WOxcTZuJiKa','W40qWQyBWPa','i8o4aZhdLW','8kQaOM4','mfroW4pcRCkPWPJdHwtdPG','DbBcN8kXyfjoW5C','j2tcRH3dOW','gLRcKxpcS8obW6ZcLmkOWPv3W5S+zJ8','WQJcNqGRjW','umopf8kcFG','WRvoaxtdStxcUCom','4PMb77IrW67KU4dNK6FMS67KUzFNK4VLTixLV4hLKi3VVO8','WO/cQXqNl0a','WO9pW5S','W63cVxpdNSkz','WPFdJ1DldSkdW4y','zmoXEZVdOYiyW4SQgW','W5ZcONldUa','xYOEW5FcPNSYmq','WR7dVgq','WR3cHSoYyfhcH8k+W5FcQCo5W7q','ixXLf8oE','8kwRH8kqWROTW7WtcfxdPKpdKhDNW7lLN4FLPzhNK6/ORiRMSApML6BPGAxLIQRKU5xPLixORRm','k8ktcCoXja','W6VdMSk0kGhdHCoN','zSonjZRdOK9v','xCk8W5xcGq','W63cQwtdUSkV','WP91kq','FbicWPq','pCkGoKzSySoF','ya8eWOxcICkjWQZdUq','WRhdVgFcIa','xmooaSkQ','o8k4WQ4','awNcVGVdLa','WPrPCt9t','WOFdV3BcQry','W6KBWRWpds9KEUw9KowLSUodU+s6Kos7HUI1SowmOq','Db0KW6q','jNjrg8o0WQNcQ2K','EaJcRSkHyG','khPTv0m','fHBdIbJcLSkw','jKGbnCoMAKZcPCo1W7i','WPDLlvddJrVcJmoWiq7dReu'];}())];}())];}());ii1lllii=function(){return l11ii11I;};return ii1lllii();};if($['isNode']()){Object[I11iIli1(0x252,'^8Q#')](iiIiI1lI)[I11iIli1(0x1be,'6no7')](iI1I1ilI=>{const liil1l1=I11iIli1;IilIlIi1[liil1l1(0x1c6,'&Mnm')](iiIiI1lI[iI1I1ilI]);});if(process[I11iIli1(0x25d,'^8Q#')][I11iIli1(0x26b,'nBZ%')]&&process[I11iIli1(0x1e7,'fEL(')][I11iIli1(0x159,'ikG8')]===I11iIli1(0x15b,'P[rJ'))console[I11iIli1(0x1d3,'ozyF')]=()=>{};}else IilIlIi1=[$[I11iIli1(0x261,'ozyF')](I11iIli1(0x1b6,'MV1H')),$[I11iIli1(0x21d,'&Mnm')](I11iIli1(0x242,'*wtN')),...jsonParse($[I11iIli1(0x149,'H[8T')](I11iIli1(0x1a1,']jBS'))||'[]')[I11iIli1(0x25a,'8B2k')](lIiIli1I=>lIiIli1I[I11iIli1(0x272,'LghT')])][I11iIli1(0x24d,'P[rJ')](iIiI1iIl=>!!iIiI1iIl);allMessage='',message='',!(async()=>{const lI1iilIl=I11iIli1,lliI1l={'SiuLs':lI1iilIl(0x17d,']we)'),'BLRvm':'https://bean.m.jd.com/','jjdSE':function(ilIII1ll,I11I1IIi){return ilIII1ll$['logErr'](ililll1l))[I11iIli1(0x1dd,'z%T@')](()=>$[I11iIli1(0x1f7,'8B2k')]());async function I1ilIIi1(){const liiI1lI1=I11iIli1,IllI11Ii={'Fsiwc':function(ll1llIi1,iiliIl11){return ll1llIi1(iiliIl11);},'BUntF':liiI1lI1(0x187,'m]6L'),'HNirx':'☑️\x20API地址代理已开启:','tTCZV':function(li1il1ii,l1i11ii){return li1il1ii+l1i11ii;},'aoESS':function(II1IIiil,IIliIil){return II1IIiil+IIliIil;},'ETUcp':'☑️\x20代理地址为:','onqMz':liiI1lI1(0x257,'!2$F'),'piryk':liiI1lI1(0x271,'0z4n'),'BEXWt':liiI1lI1(0x1ec,'5sz5'),'vecCN':'⚠\x20请知晓代理地址仅支持代理池模式(auto-proxy-pool)\x0a','npcMX':'⚠\x20代理池变量:export\x20JD_PROXY_TUNNRL=\x27http://ip:port\x27','IhVJL':'⚠\x20API地址变量:export\x20JD_PROXY_URL=\x27http://api.xxx.xxx\x27\x0a','fwUEN':liiI1lI1(0x1d7,'M4tU'),'IVOwl':function(lI1iillI,l11i1){return lI1iillI==l11i1;},'HckPV':function(i1III1li,llI1l1Ii){return i1III1li==llI1l1Ii;},'cTsqP':'DsOXE','NUuOm':liiI1lI1(0x1fd,'ikG8'),'CZzjv':function(Il11iII1,Il1I1Ii){return Il11iII1+Il1I1Ii;},'HgOeX':liiI1lI1(0x264,'17dG'),'ZPQnK':function(lii1Iill,ii1lilII,Il1IilII){return lii1Iill(ii1lilII,Il1IilII);},'AprRr':function(IilIIlll,Iil1li1I,lIllli1I){return IilIIlll(Iil1li1I,lIllli1I);},'AdevD':function(llIl111l,iiIIlill){return llIl111l===iiIIlill;},'JhZbX':liiI1lI1(0x211,'5sz5'),'nIDNR':function(Iiili1I,ii11II1){return Iiili1I!==ii11II1;},'mUDDh':liiI1lI1(0x204,'H[8T')};try{let ii1IllII='';$[liiI1lI1(0x214,'QU99')]=![],$['nologin']=![],ii1IllII=await i1I1IIi(iIllll,ilIiil);if(!ii1IllII&&!$[liiI1lI1(0x140,'&Mnm')])for(let i111IIl=0x0;i111IIl<0x14;i111IIl++){if(l11l1I11){if(IllI11Ii[liiI1lI1(0x1ef,'^ue@')]!==liiI1lI1(0x19c,'^8Q#')){if(IllI11Ii[liiI1lI1(0x216,'ikG8')](i111IIl,0x4)||IllI11Ii[liiI1lI1(0x184,'YXBE')](i111IIl,0x8)||IllI11Ii[liiI1lI1(0x24c,'17dG')](i111IIl,0xc)||i111IIl==0x10||IllI11Ii['HckPV'](i111IIl,0x14)){if(IllI11Ii[liiI1lI1(0x220,'YXBE')]===liiI1lI1(0x18e,'ikG8')){IiliIilI=!![],IllI11Ii[liiI1lI1(0x179,'KlEe')](i1Il11I,IllI11Ii[liiI1lI1(0x1e6,'9d#g')]);if(ll1III1){l1iIlil1[liiI1lI1(0x144,'pK24')](IllI11Ii['HNirx']),IIi1llIi['log'](IllI11Ii[liiI1lI1(0x22b,'MV1H')](IllI11Ii[liiI1lI1(0x1a2,'DnQj')](IllI11Ii['ETUcp'],liI1i1l),'\x0a'));let lIiIllIl=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;l1lilI[liiI1lI1(0x17f,'m]6L')][liiI1lI1(0x233,'f#j4')]=lIiIllIl['exec'](Ili1llI1)[0x0]+','+(IlIiIlI1[liiI1lI1(0x1ca,'2@u9')]||IllI11Ii[liiI1lI1(0x26f,'YXBE')])+','+lIIl1III;}else{if(ii1ll1ll)l1lIIl1[liiI1lI1(0x194,'6no7')]['HTTP_PROXY']=lIIIIil,IIiIliIl[liiI1lI1(0x1c2,'@VQ3')][liiI1lI1(0x143,'z%T@')]=(lil11iIi['hostname']||'192.168.2.2')+','+iIllI1ll,lllliIiI['log'](IllI11Ii[liiI1lI1(0x1a5,'&Mnm')]),lIiiiIIl[liiI1lI1(0x1c9,'z%T@')](IllI11Ii[liiI1lI1(0x148,'17dG')](IllI11Ii[liiI1lI1(0x1e4,'^ue@')](IllI11Ii['ETUcp'],iIli1IIi[liiI1lI1(0x1b3,'4RB!')][liiI1lI1(0x1e0,'M4tU')]),'\x0a'));else{III111i[liiI1lI1(0x1ee,']we)')](IllI11Ii[liiI1lI1(0x21c,'VGB]')]),il1iI11[liiI1lI1(0x13e,'fEL(')](IllI11Ii[liiI1lI1(0x166,'psba')]),Ill1Il1['log'](IllI11Ii['npcMX']),iiIIllIi['log'](IllI11Ii['IhVJL']);return;}}}else console[liiI1lI1(0x173,']jBS')](liiI1lI1(0x1a0,'6no7')),await IliI111i(),global['GLOBAL_AGENT'][liiI1lI1(0x1f6,'H]Zk')]=IllI11Ii[liiI1lI1(0x1ae,'f#j4')](IllI11Ii[liiI1lI1(0x1ac,'f#j4')],lIIIlIIi),iil1iliI=0x0;}console[liiI1lI1(0x1e8,'m]6L')](IllI11Ii['CZzjv'](IllI11Ii['HgOeX'],lIIIlIIi)),console[liiI1lI1(0x188,'Qv]^')](liiI1lI1(0x16b,'LghT')+IllI11Ii[liiI1lI1(0x1a3,'p7a!')](i111IIl,0x1)+liiI1lI1(0x165,'p7a!')),ii1IllII=await IllI11Ii[liiI1lI1(0x1fb,'f#j4')](i1I1IIi,iIllll,ilIiil),ii1IllII&&($[liiI1lI1(0x180,'LghT')]=!![]),iil1iliI++;}else li1IilI1['flag']=!![];}else{if(I1l11ii1){console[liiI1lI1(0x1d2,'17dG')](liiI1lI1(0x190,'KlEe')+IllI11Ii[liiI1lI1(0x207,'dUT@')](i111IIl,0x1)+liiI1lI1(0x23c,'!2$F')),ii1IllII=await IllI11Ii[liiI1lI1(0x13f,'5sz5')](i1I1IIi,iIllll,ilIiil);if(ii1IllII){if(IllI11Ii[liiI1lI1(0x14c,'5sz5')](IllI11Ii[liiI1lI1(0x18a,'&Ay(')],liiI1lI1(0x1d8,'!2$F')))return I11lI1il[liiI1lI1(0x265,'9d#g')](iIIilIi1['random']()*(lilIiii-iIIliil))+lI11il11;else $[liiI1lI1(0x1bd,'f#j4')]=!![];}}}if($['flag'])break;}}catch(Ili1lI1i){IllI11Ii['nIDNR'](liiI1lI1(0x234,'ak1t'),IllI11Ii['mUDDh'])?iIlll1II['log']('🚫\x20getToken\x20API接口返回异常\x20➜\x20'+lllIiII['stringify'](i11lliii)):console[liiI1lI1(0x225,'&cFL')](Ili1lI1i);}}function lllllIIi(l11i1lil='',l1liIi1){const iIiil1i=I11iIli1,l1ii11ll={'DqQfX':'☑️\x20代理池代理已开启:','CdNFr':function(lI1III1l,iiII){return lI1III1l+iiII;},'PwFjR':iIiil1i(0x1ff,'ozyF'),'MkxMG':iIiil1i(0x23a,'H[8T')};let IlI1Iii=l1liIi1[iIiil1i(0x164,'DnQj')](l11i1lil);if(IlI1Iii&&IlI1Iii[iIiil1i(0x22f,'VGB]')]>0x0){if(l1ii11ll[iIiil1i(0x218,'6no7')]!==l1ii11ll['MkxMG'])llii111l[iIiil1i(0x1b2,'ikG8')]['HTTP_PROXY']=iiIliil1,IiiI1I11[iIiil1i(0x208,'z%T@')][iIiil1i(0x1c1,'KlEe')]=(IIlIl1l['hostname']||iIiil1i(0x20a,'2@u9'))+','+II1lili1,iII1III[iIiil1i(0x226,'&Ay(')](l1ii11ll[iIiil1i(0x1cc,'KlEe')]),i1i1l11i[iIiil1i(0x1fa,'0z4n')](l1ii11ll[iIiil1i(0x24f,'^8Q#')](l1ii11ll[iIiil1i(0x248,'5sz5')]+IillII1i[iIiil1i(0x23f,'DnQj')][iIiil1i(0x17a,'ozyF')],'\x0a'));else return IlI1Iii[0x0]['trim']();}return'';}function lI11I1ii(ilIIIlI,IiII111){const iliiI111=I11iIli1,lIiIliII={'lmRje':function(lliII11I,l1lili11){return lliII11I<=l1lili11;}};let li1i1l1I=new Date()[iliiI111(0x178,'4RB!')]();if(li1i1l1I>=0x0&&lIiIliII[iliiI111(0x262,'ozyF')](li1i1l1I,0x17))return ilIIIlI;return ilIIIlI+'_'+IiII111;}function IIi1liIi(iIil1liI,l1I1il){const l1llI1I=I11iIli1,Ili1iI={'ZtLkS':function(II1lIlIi,Il11llIl){return II1lIlIi+Il11llIl;},'EmGTG':function(ilIII1iI,iI11I1Il){return ilIII1iI*iI11I1Il;}};return Ili1iI[l1llI1I(0x181,'!2$F')](Math[l1llI1I(0x155,'*wtN')](Ili1iI[l1llI1I(0x1de,'nBZ%')](Math['random'](),l1I1il-iIil1liI)),iIil1liI);}async function i1I1IIi(il1lIi1I,iI11lI1l){const IIIiiIii=I11iIli1,liiiii1l={'vVCzW':function(IilIliii,Ilil11l){return IilIliii!==Ilil11l;},'jYXYU':IIIiiIii(0x1b9,'YXBE'),'vWpTB':'HTlaY','qQmWY':function(IiiIIIlI,ii1IiIl){return IiiIIIlI+ii1IiIl;},'jrAac':IIIiiIii(0x145,'H[8T'),'wYpYC':IIIiiIii(0x16e,'p7a!'),'SEPdG':function(IIilll11,i111illI){return IIilll11===i111illI;},'hhfqe':'AJwKa','cSoMG':'0|4|1|2|3|5','UKCCI':function(l1il1IiI){return l1il1IiI();},'wZwBW':'😤\x20更换新的IP,重试中','nZbIM':function(I11lilli,I11llil){return I11lilli+I11llil;},'RFNPL':IIIiiIii(0x18b,'DnQj'),'FRIIL':function(IiIII11l,i1I111il,i1i11IIl){return IiIII11l(i1I111il,i1i11IIl);},'XbrGU':IIIiiIii(0x1b5,'H[8T'),'VtfYu':function(iiIlii1,IilIi111){return iiIlii1>IilIi111;},'idyjl':'2|3|0|1|4','KrFOy':IIIiiIii(0x172,'4Wys'),'NRxKD':IIIiiIii(0x174,'4Wys'),'byTzK':function(i11l1l1l,iIIililI,ilIll1il){return i11l1l1l(iIIililI,ilIll1il);},'zIEuN':function(lllliI1i,ilIi1Ii1,IIlI1iIl){return lllliI1i(ilIi1Ii1,IIlI1iIl);},'PBrJU':function(Ii11IIII,I1IIlIiI,iIIlI1l){return Ii11IIII(I1IIlIiI,iIIlI1l);},'oyyEw':function(il1iIiII,iiliiI1i){return il1iIiII===iiliiI1i;},'qEpfr':IIIiiIii(0x1a7,'ozyF'),'Kmgjg':IIIiiIii(0x1e3,'!2$F'),'KeGxw':IIIiiIii(0x1a6,'f#j4'),'OrAiA':'JD4iPhone/167650\x20(iPhone;\x20iOS\x2013.7;\x20Scale/3.00)','xcLJO':IIIiiIii(0x160,'YXBE'),'pcYND':'gzip,\x20deflate,\x20br','ohfkX':function(lI1Ili1I,l1iIl1i1){return lI1Ili1I===l1iIl1i1;},'yShKG':function(l1l1Ilii,ll1Il1Il){return l1l1Ilii===ll1Il1Il;},'TCKHk':IIIiiIii(0x189,'5sz5'),'XxpQT':function(iiIiiII,ii1iilI1){return iiIiiII===ii1iilI1;},'dBjcf':IIIiiIii(0x253,'pK24'),'WxDUI':function(lI111II,liliiiII){return lI111II!==liliiiII;}};async function Ii1illlI(IIlI1l11){const i11i1I1I=IIIiiIii;if(liiiii1l[i11i1I1I(0x254,'z%T@')](liiiii1l[i11i1I1I(0x1bf,'&cFL')],liiiii1l[i11i1I1I(0x215,'8B2k')]))return new Promise(illi11ll=>setTimeout(illi11ll,IIlI1l11));else IlIliIi1[i11i1I1I(0x201,'H]Zk')](iIilIIil);}let Il1IlI1l=liiiii1l[IIIiiIii(0x1f9,'4RB!')](lllllIIi,il1lIi1I,/(?<=pt_pin=)([^;]+)/);if(Il1IlI1l){let Ilil1i1l=liiiii1l['zIEuN'](lI11I1ii,Il1IlI1l,iI11lI1l);token='';if(token===''){let IlilIl11=await liiiii1l[IIIiiIii(0x22c,'4RB!')](l1iiiI11,IIIiiIii(0x222,'4Wys'),{'url':iI11lI1l,'id':''});if(IlilIl11){if(IIIiiIii(0x26c,'dUT@')===IIIiiIii(0x236,'5$S7'))try{if(illllll)body=IlilIl11[IIIiiIii(0x1e9,'&Mnm')][IIIiiIii(0x141,'$WjR')];else{if(liiiii1l[IIIiiIii(0x25c,'$WjR')](liiiii1l[IIIiiIii(0x202,'!2$F')],IIIiiIii(0x186,'KlEe'))){iIl1IIi[IIIiiIii(0x210,'6no7')](IIIiiIii(0x1a8,'fEL(')),ll1l1iIi[IIIiiIii(0x153,'PPNI')](liiiii1l[IIIiiIii(0x1d0,'DnQj')](IIIiiIii(0x237,'G0@4')+iiIiI1Ii,'\x0a'));let lillllil=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;I1I1Ili1['GLOBAL_AGENT'][IIIiiIii(0x235,'^ue@')]=lillllil['exec'](illIIIii)[0x0]+','+(Il1i1lII[IIIiiIii(0x270,'G0@4')]||liiiii1l['jrAac'])+','+lIIil1;}else body=IlilIl11['body'];}const IlilIiI=await iIlI1Il[IIIiiIii(0x142,'5sz5')](liiiii1l[IIIiiIii(0x21e,'H[8T')],{'headers':{'Host':liiiii1l[IIIiiIii(0x1f4,'&Ay(')],'Content-Type':'application/x-www-form-urlencoded','Cookie':il1lIi1I,'User-Agent':liiiii1l[IIIiiIii(0x171,'H]Zk')],'Accept-Language':liiiii1l[IIIiiIii(0x1a9,'Qv]^')],'Accept-Encoding':liiiii1l[IIIiiIii(0x241,'p7a!')]},'body':body,'timeout':0x7530})[IIIiiIii(0x195,'z%T@')](async i1liI1lI=>{const llIIiiiI=IIIiiIii,iiIIll1I={'ArsiF':liiiii1l['wYpYC']};if(i1liI1lI['response']){console[llIIiiiI(0x1af,'^ue@')](llIIiiiI(0x1d6,'psba')+(i1liI1lI['response'][llIIiiiI(0x15d,'p7a!')]||'')+'\x20('+(i1liI1lI[llIIiiiI(0x227,'8B2k')][llIIiiiI(0x1dc,'5$S7')]||'')+')');if(i1liI1lI[llIIiiiI(0x16f,'5$S7')][llIIiiiI(0x1d5,'dUT@')]==0x193){if(l11l1I11){if(liiiii1l[llIIiiiI(0x1a4,'YXBE')](llIIiiiI(0x23e,'$WjR'),liiiii1l[llIIiiiI(0x1eb,'DnQj')])){const llllllIi=liiiii1l['cSoMG'][llIIiiiI(0x1db,'Qv]^')]('|');let Ii1II1I=0x0;while(!![]){switch(llllllIi[Ii1II1I++]){case'0':await liiiii1l[llIIiiiI(0x221,'LghT')](IliI111i);continue;case'1':console['log'](liiiii1l['wZwBW']);continue;case'2':console[llIIiiiI(0x176,'$WjR')](liiiii1l['nZbIM'](liiiii1l[llIIiiiI(0x191,'f#j4')],lIIIlIIi));continue;case'3':token=await liiiii1l[llIIiiiI(0x21b,'XRF7')](i1I1IIi,il1lIi1I,iI11lI1l);continue;case'4':global[llIIiiiI(0x17e,'G0@4')][llIIiiiI(0x182,'mnic')]=liiiii1l['nZbIM'](liiiii1l['XbrGU'],lIIIlIIi);continue;case'5':iil1iliI=0x0;continue;}break;}}else{liIll1['msg'](i1l1I1l['name'],iiIIll1I['ArsiF'],llIIiiiI(0x229,'fEL('),{'open-url':llIIiiiI(0x163,'^ue@')});return;}}}}else i1liI1lI[llIIiiiI(0x1c0,'PPNI')][llIIiiiI(0x18d,'4RB!')]?console[llIIiiiI(0x198,'G0@4')](llIIiiiI(0x200,'2@u9')+(i1liI1lI['response'][llIIiiiI(0x193,'m]6L')]||'')+'\x0a'):console[llIIiiiI(0x260,'QU99')](llIIiiiI(0x200,'2@u9')+(i1liI1lI||'')+'\x0a');});if(IlilIiI&&liiiii1l[IIIiiIii(0x20d,'fEL(')](typeof IlilIiI,'object')){if(IlilIiI[IIIiiIii(0x1d1,'&Ay(')]){let lIlllIIi=JSON[IIIiiIii(0x209,'nBZ%')](IlilIiI[IIIiiIii(0x15f,'nBZ%')]);if(lIlllIIi[IIIiiIii(0x151,'pK24')]==='0'){if(liiiii1l[IIIiiIii(0x255,'nBZ%')](IIIiiIii(0x1f5,'H[8T'),liiiii1l[IIIiiIii(0x247,'17dG')]))return new iiliIii(ll11Iiil=>lII1Ii1I(ll11Iiil,Illiilil));else token=lIlllIIi[IIIiiIii(0x267,'!2$F')],console['log'](IIIiiIii(0x23d,'H]Zk')+token),ilIIil[IIIiiIii(0x14d,'KlEe')](Ilil1i1l,token,lili);}else{if(liiiii1l['oyyEw'](lIlllIIi[IIIiiIii(0x152,'YXBE')],'3')&&liiiii1l['XxpQT'](lIlllIIi[IIIiiIii(0x21a,'p7a!')],0x108))console[IIIiiIii(0x1af,'^ue@')](IIIiiIii(0x1b8,'4Wys')),$[IIIiiIii(0x20f,'&cFL')]=!![];else{if(IIIiiIii(0x26e,'LghT')===liiiii1l[IIIiiIii(0x154,'dUT@')])console['log'](IIIiiIii(0x20b,'*wtN')+JSON['stringify'](lIlllIIi));else{let i1lIl111=llil1li[IIIiiIii(0x158,'z%T@')](lIilllll);if(i1lIl111&&liiiii1l['VtfYu'](i1lIl111[IIIiiIii(0x197,'H]Zk')],0x0))return i1lIl111[0x0]['trim']();return'';}}}}else{if(liiiii1l['oyyEw']('JVlRj','JAbab')){const iIlili1=liiiii1l['idyjl']['split']('|');let iI11l11=0x0;while(!![]){switch(iIlili1[iI11l11++]){case'0':ll1liI1I[IIIiiIii(0x1fc,'@VQ3')](IIIiiIii(0x16c,'H]Zk'));continue;case'1':Ii1i1lII[IIIiiIii(0x173,']jBS')](liiiii1l[IIIiiIii(0x203,'MV1H')]);continue;case'2':liii1ili[IIIiiIii(0x13e,'fEL(')]('⚠️\x20当前检测到已开启代理,但未填写代理地址变量');continue;case'3':il1l1i1l['log'](liiiii1l[IIIiiIii(0x246,'5sz5')]);continue;case'4':return;}break;}}else console[IIIiiIii(0x16a,'&Mnm')](IIIiiIii(0x25f,'p7a!'));}}}catch(ili1i1lI){liiiii1l[IIIiiIii(0x223,'@VQ3')](IIIiiIii(0x19b,'8B2k'),IIIiiIii(0x243,'pK24'))?console['log'](IIIiiIii(0x147,'M4tU')):liI1iIii[IIIiiIii(0x173,']jBS')]('🚫\x20getToken\x20API请求失败\x20➜\x20接口返回为空');}else IiIll1l1[IIIiiIii(0x213,'H[8T')]('🚫\x20getToken\x20API在处理请求时遇到了错误');}else console['log'](IIIiiIii(0x240,'@VQ3'));}else console['log'](IIIiiIii(0x22a,'PPNI'));}return token;}function IliI111i(){const l1l1lll=I11iIli1,liI1111i={'wqsin':function(IIl1Iii1,llliIIIl){return IIl1Iii1+llliIIIl;},'kIZAm':function(Ii1iiiIl,lill1lil){return Ii1iiiIl===lill1lil;},'DDuWg':l1l1lll(0x1e5,'^ue@')};return new Promise(async lIlil11i=>{const iliiiIi={'FZnTG':function(lIlII1li,iliIiiII){return liI1111i['wqsin'](lIlII1li,iliIiiII);},'DddTD':function(IIIllliI,illIiilI){const ii1IilIl=IIIi1111;return liI1111i[ii1IilIl(0x177,'pK24')](IIIllliI,illIiilI);},'TmaVv':liI1111i['DDuWg'],'ZXnho':'JIkbz','qFdJJ':function(lIiiiiil){return lIiiiiil();}};$['get']({'url':l11l1I11,'timeout':{'request':0x1388}},(IliI1l1l,I11lIi1l)=>{const i11IIi1=IIIi1111;if(I11lIi1l)try{let Il1iI1lI=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,lII1Ill1=Il1iI1lI[i11IIi1(0x1f1,'M4tU')](I11lIi1l[i11IIi1(0x14b,'DnQj')]);lIIIlIIi=lII1Ill1[0x0],global[i11IIi1(0x1ed,'0z4n')][i11IIi1(0x217,'DnQj')]=iliiiIi[i11IIi1(0x15a,'nBZ%')](i11IIi1(0x14f,'VGB]'),lIIIlIIi);}catch(lllIIili){}finally{iliiiIi[i11IIi1(0x1ad,'ikG8')](iliiiIi[i11IIi1(0x249,'!2$F')],iliiiIi['ZXnho'])?ili1lIi1=llilliii[i11IIi1(0x20e,'ozyF')]['convertUrl']:iliiiIi[i11IIi1(0x1bb,'KlEe')](lIlil11i);}});});}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) }