/*
活动名称：微信红包团
活动入口：VX小程序
环境变量：jd_wechat_openGroup_id // 活动ID
          jd_wechat_openGroup_help_pin // 定义助力账号，多个用&隔开

cron:1 1 1 1 * jd_wechat_openGroup.js

 */

const $ = new Env('微信红包团')
var iｉl='jsjiami.com.v7';const Ii1II1=iii1II;(function(I1iili,lililI,lI1ill,Illlii,lI1ili,Il1II,i1lll){return I1iili=I1iili>>0x9,Il1II='hs',i1lll='hs',function(Ii11I,I1iill,i1lli,i11111,lIl1li){const I1iilI=iii1II;i11111='tfi',Il1II=i11111+Il1II,lIl1li='up',i1lll+=lIl1li,Il1II=i1lli(Il1II),i1lll=i1lli(i1lll),i1lli=0x0;const Il1I1=Ii11I();while(!![]&&--Illlii+I1iill){try{i11111=-parseInt(I1iilI(0x35c,'lE1^'))/0x1+-parseInt(I1iilI(0x112,'L(!d'))/0x2+-parseInt(I1iilI(0x2e0,'(X3a'))/0x3+parseInt(I1iilI(0x2b6,'rfSb'))/0x4*(-parseInt(I1iilI(0x283,'1OOu'))/0x5)+parseInt(I1iilI(0x2b2,'IYg8'))/0x6*(parseInt(I1iilI(0x292,'ukk('))/0x7)+-parseInt(I1iilI(0x2ce,'!(*x'))/0x8*(-parseInt(I1iilI(0x2e1,'2Vk6'))/0x9)+-parseInt(I1iilI(0x18b,'v7s!'))/0xa*(parseInt(I1iilI(0x26d,'tozn'))/0xb);}catch(lIilii){i11111=i1lli;}finally{lIl1li=Il1I1[Il1II]();if(I1iili<=Illlii)i1lli?lI1ili?i11111=lIl1li:lI1ili=lIl1li:i1lli=lIl1li;else{if(i1lli==lI1ili['replace'](/[VhHxbSYLRCETDuOQIerU=]/g,'')){if(i11111===I1iill){Il1I1['un'+Il1II](lIl1li);break;}Il1I1[i1lll](lIl1li);}}}}}(lI1ill,lililI,function(lIilil,lIl1ll,Ii111,Ii1III,ilIIi1,l111i,l111l){return lIl1ll='\x73\x70\x6c\x69\x74',lIilil=arguments[0x0],lIilil=lIilil[lIl1ll](''),Ii111='\x72\x65\x76\x65\x72\x73\x65',lIilil=lIilil[Ii111]('\x76'),Ii1III='\x6a\x6f\x69\x6e',(0x15fa40,lIilil[Ii1III](''));});}(0x19200,0x41f8a,Iii11l,0xcb),Iii11l)&&(iｉl=Iii11l);const notify=$[Ii1II1(0x321,'kYMm')]()?require('./sendNotify'):'',jdCookieNode=$['isNode']()?require('./jdCookie.js'):'',common=require(Ii1II1(0x33c,'tozn')),rsactiveId=process[Ii1II1(0x113,'Mg%2')][Ii1II1(0x192,'duuu')]?process[Ii1II1(0x148,'!8mB')][Ii1II1(0x358,'JqPL')][Ii1II1(0x251,')27Z')]('|'):'',helpPinArr=process[Ii1II1(0x278,'!(*x')][Ii1II1(0x356,'2Vk6')]?process[Ii1II1(0x34e,'XXf6')][Ii1II1(0x240,'Txwq')][Ii1II1(0x248,'HScl')]('&'):'';$[Ii1II1(0x1a4,'2Vk6')]=[],console[Ii1II1(0x331,'g5DL')](''),console[Ii1II1(0x32f,'nrCh')](Ii1II1(0x12a,'cUzm')+$[Ii1II1(0x19d,'nrCh')]+Ii1II1(0x153,'Ix0i')),console['log'](Ii1II1(0x183,'oX%H')),console[Ii1II1(0x161,'Gbcp')]('jd_wechat_openGroup_help_pin\x20//\x20定义助力账号，多个用&隔开'),console[Ii1II1(0x179,'KGWB')](Ii1II1(0x1df,'bmK4')+$[Ii1II1(0x13e,'T4TB')]+'提示结束=========='),console[Ii1II1(0x272,'lE1^')]('');function Iii11l(){const lilI1i=(function(){return[iｉl,'hExRjusbCjDiabumiIU.QYceVRoOmrxT.HvL7uSe==','W7SEWP4','CcNcPG','vYzG','arPpW5CK','tCkfW5PxW68TW4/cJa','W5yzW6NcTSkk','WOBdMCkjCCkzW4NcTG','W7erCSkhW6S','mmkQWOFdVY8mW5W','W5FcLfaBfcmpeWe','W5/cTIdcLG','W48uWQDe','lmoLWP3cG8krBSoEW7RcMCkbWOBdNr0','W4ldJCkenHFdQCkVWP4HWQO','WPGtWReOW5e','fCkmWPVcN8kbW58','W5i1xmkwW7ZcHZRdVa','5B2U5zUA6zEa6kYznG','WQRcG8oCEwtcTCo/W4y','gSkiWPVcP8kDW5ldJCkK','WQqBWPv0W5y','W4vGW44','scXPWQm1rW','WQeUWOaxhSku','vmoJW7pcUW','WROKW6LZW6G','W7/cN8ou6zUH5zky5y+z5B2vwG','rSosW7yaW4O','jZDCW6GiWRddIr9qgtW','W5ZdHfGcbqqygY0xehfa','mmkIWOJcQmkkCSoAW6W','t8oTW70','WP3OROBPHltML5BNMipLVOJOJQtLJz/dHCk5WPv3jSoL','xEISR+wgOoMcKoI+MoEpQUwGU+wnIoMfRCoI6k+957+c5REv5yQAuCo25y6U6ysr772vtCkSW7qlx8omFmksWP95b8kuy8kQW4/dPL3dM3dcPSkax8kiFrmCvq/dLfG+xCknWRyGdsRMTO3LI4BcRI/dTmo15A+S5lIv5RE+5yUkW6NdL8ox','WR8PWRjqW6C','kN/cSCk7aq','WRWZW6LIW6RcRcddNI3cQ0TTeYZdV8kNDSk5zSom','WP4vWQFdTmki','WRekWPvUW4C','WQJdT8kmWOBdNmkkBG','jCk+ka','WRJdQSkMWOVdVG','ocZcJmobW7e','kmkYo8ksW6dcGmkPW7BcHmoFWP7dRG','WOqhW5FdIba','Ebf8jW','5Rsj5yI05BEX57Id5PYf','e8kGiCkjW6i','W7m4W5C','WRyKW6T1W7/cLXy','D3VdJGe','WR0eWPbZ','hmkhWOm','rLi46i+15B6N5lUZWPu','WOtcVKtdOIKKqW','W7FcVJxcVa','WRRdQdNdV8ks','WRa/AIlcPeBcM8oDW5OzW5Wt','sConW7xcTW8','W641D8klW5BcGW','W5RdSwy','W6tcLIpcLSkl','DNNdKG8','mCk3WQNcKSkj','amopWOq','W7xcJhSngG','WPyyWQeaW4BdPSotFG','W4ddOCoDxZ/dUW','WPtdKGXqrfHDmXe9zt4k','WPyIWQeM','6kYp5yQl6zMp5OAq5z+twSoGqCoPWQdOVPZLHkdMO6hKVP7MLz3LHztLRACi5BIQ6k286yov6lYe6iA+5P6F5y276i6i5y+Nn8oxWRddI8olnW','rSoHW7lcOa','C1FdKJNcUa','57Mu5P6u5PAW6zsGWRSW','W6ZdSmkC','W5VdSvmnixuIWOi','W6pML63PM7hLVPhLMQRLI6RLIR3NOyJLRyhMIAdcK+woHUwXTUI/ToIHK+wjM+wiT1DCeG','W7D1ne3dSLnF','WO/cKColEe8','rCoTxmkXpGldSG','W60JWQXBW7G','kZfBW7iFWR7dMa','aCk6WR/dL3GqDgmuW5OP','xdTOyCkZFmou','W6DLlwtdQurx','wa5CoLe','5B2s5zIH5AE/6lE0WRO','DHb9f2y','W4CwWRTiW6a','toweVoMdGoI2P+woIEw0Q+AkREwlUEIoOUwoOEwKJUwjSYHgWOS','6lY/56Q85PAD5O2l56+CW78','nmkMWPlcV8knySoeW68','qSkuW5PVW7nIWPldKbZcP8oBvKZdP2ajv1ezx1hdGSkEo8o1W7yzWPJcR05rWP7dUt4Ci8o2t8oamglcH8oJxb3cMx3cKd3cS8oVW5eFW7HQWRSm','6k+t5yQ26zQi5OEl5z2PBCoRWR/cVchOVBFLHOZMOydKV7hMLlRLHyZLRiNcVow4N+ITQ+McHEI/SoIgHUADQUwmUEIoQUwnIGmGbCkTW4BdMa','W43cJNi1bW','WR05W6m','WQZdPmkHsSk+','WOtdKSkzyCkrW5dcTG','WQqFWOT0W4W7','nMpdOKVdRx0','zvtdIJ/cLW','AXfRnG','W6xdRrRcPG','BmoNWRJcJ8kizSobW7hdRCkpW4ddIvZcSezbda','WOu4W5nQW4C','fos7U+woL+MeTmkSW4NcUmo3WR3dNSkkW7vDWRCmk8oRENFcQWydW4PtWQFdPCoPW4Pnu0ddMZdcPSkIyCo9WR7dQSovEWlcVG','WPu2CGFcOq','W60IF8ktW4y','W67dVSkwW4e','j8kWWQVcO8kOp1aR','qmkeW7fOW6u7W5xcNGNcImoDcetcP00FfKCgBrBdLmkho8opW7q2WP8','W6aztCkp','W53dOeGrj1Kp','g8kcWQddVWu','WOuiWPGNW68','CaX1mvC','WQ3dOmkaWP7dTW','WQCKWOCE','W7tcUYRcVCo1','i8kzWRVcQ8kF','WPqBWQC','W7fIkK3dTa','WRKeWO4','5yM+5yUW6zEG6k+YW7K','iINcLf3dH8oXx8klnmokwmkIWP7dM1hcUW','qsDX','WRmkWO18','Aa50k0q','pSkSWQK','WQ3cQSo4CKu','6l2q5yEP5B235zIH5lId6Ao26zEe6kYPWQC','WPNcKCovEe8','mmkIWOJcS8kazmohW7hcTmkw','WPxcK8oou08','5REB5yUQ5zkc56wZqCoj','W6X4jq','5yIt5yIj56cMxNDl','wepcLq','W7n+jfldPLbFWP0','lCkWo8kA','kNDoWRnejaRdOmk5W4fz','WRazWPzOW5ivWOu','h0LfWQrb','5P2x5yQN54I65OcT5Q+65BIT77YO5RAK5yUX6iYz5yYH5OUq5yU5W5K','WPFcHmonE1NdRSk9WOXVW7jJWPyyrmoKWODZvY5UuYXWhdBdIGtcGCowWOfxl1HTz8khdmkUmrddVZ5gW4BdGdWIigPgW78/W50DWQTxWOxdV8k3DtHZW4RdOa','W5/cLIZcOSkZWPqQkq','WRJdTmk8WPldImkNEa','WQCovqxcUW','WQyBW7NdGa0','W5dcPtNcHd4','aulcV8kbgW','5lMF5B+d5zISW6VdGEwoVUwkN+wlN+s7HEAvT+wZVos5UW','a2lcJSkxha','W6ZdVHJcTKJdISk5','oYJcKCoOW64','WPTgWOPUW4iqWQxcMq','rJfmWR4U','jtvgW54wWRZdKry','W70WWRLCW6i','mdtcHaNcGCkRhmomrCkxg8o6W58','fCkgWPi','aSkNWR7dHW','eSk2WQpdPty','W7RcKdRcUa','oCkxWRdcH8k/','WRC/CaK','rSoSW6W','WQxdTWZdJCkG','xmkTdMyd','WPiCzZVcNW','WOSsWQ0lW6a','dmkNWRNdJa','w8oYymk8lWldPxG','WOBdTtJdQmkKwZlcQW','W7RdNSkWWRm9','W6RcQJy','W6pcIY3cTCkf','AZtcTbxcRsqrW7GHW5FcGSkveW','zSkQWO/cUSkPfKm','E8kOaKO','WQO5WOefgSk1WOu','W7u/W7VcImku','nCkXWQhcPmkrgfGIea','5Rsp5yQe5zo/56EZjIS','5lM05B+P5zIxW4ldLEwnMowiIowjJ+s7JoAvNowXP+s5QG','oNpcRSkqkq','W7ipWOniW4a','WOWiW7ZdUGi','CulcUwX1','W6G2W5NcQa','WOVcHCoyzwBcVCoHW5C','W43cSY/cMSk8','vCo8W6xcKZ12m08vW6enW7mv','lMLiWQnAa0pdOmk9W4rgWP7dLSkHbeuwWR7cJrNcPCoaW6SNWOucWQRcPK3dJ8kZW4K6mwTsW6dcPSkcbCkMW47cKmoVvL3cKbFcL0n1W53cImk0x8kdxSooW5pcT8kHESoBCHLylCovpIldICkrW60egCkUsJRcJ8oTpCo3hHhcUcyXWQWAWPK9WQLxW6hcU8oVW6rVWRHYFSo5W7q','qcHZWQu','eIVcOmod','jCkZpmk6W6tcJmk8W4hcRmoCWP0','g24i','hchcT8ovW4nQsW','W63cLYBcPCknWRWJ'].concat((function(){return['mSkKWPtcJW','eYDnW7mWWRJdKam','W73cIZ3cO8kT','EgJdJbtcKG','wczJCq','W6mHWPmFnW','W6tcHctcTq','udXMWQOnrSo3WRm','W5FdOua','WP0sWRi','WQFdIsRdJ8kC','iwPg','W4tdMmktW6NdUG','W55+W7BcJ8kDWRhcPLO','W6uNsSknW5hcOsxdTSoYmIJdJmo9WOG','W5ZcSIa','6l+e56Um5Psw5O2b562/WPC','WPSCWQhdRCk6Ba','nWZcHSoWW7S','5P625PUC5lMD5Q+/77+M5Awh5y6u55Mk5zQd5BAf5RQf5zcf','WR/dQtO','WPNdNmkSyCk8','W7RcLYdcQSkyWRWPkN7cQ8kzW7qR','dmkspSkAW5e','lSkXfgWeWOBcHa','W40fWQbEW7GxWO4','t+s4SUwnVUMgOCojW6qmW4r8WPXlWRtdNCovumkctKvnW5v4meGkW7ZdSmkhoSkAWP9IFmoPW6GTqmkIwCowpYD0WQa','WQZdPCkUD8kw','WQS+W7hcT8kQW7RdOG','hmkMWO/cVSkJ','5lUv5lU16lEt5yYp','qSkuW5PVW7nIWPldKa7cSSoadKJcQM8AhfeEuWRcN8kijmo9WQSOWONdPqXCW4pcOhurnCkMgmk+jMVcLmkKv1xdSd/dNc/cR8o9WPaDWOP4WQjqW57cU0NcHwLuWP8','W7hcQmkt6zIN5zct5y285BYAbG','c1BcVCkIbmkuW4y','5lI75lMT6lEF5y6r','DSoXW7/cVsjYhGS','WRqSAX3cU2BcKq','x17cN3b7','WPKTWOyAbG','W6CpW5xcM8k0','WOKXW4pdRbZcGhS','W5VORQhPHyNMLRdNM7tLVOVOJ4xLJA1qWQjnFsOXWQpdPXxcSNddMua0xGlcRmkbmLKaWOHOW6NcMSo8W7vZiMG7W67cKKKHgJGSuCoOCCo+ySoh','WOucWP9vW4S','WPa8WQ/dM8kD','xmk1W55tW7m','b8kWWQVcO8kVmfSH','W53dOeGrj0ykWOOairVdNI0z','smoWW7FcVaS','W719hNxdOG','W6dcIIdcVG','W4xdICkDWO7dRbBcPMtcI8kYWRbassCVzXS','C8oxW57cUc0','f8kYW5VcVqr5gZK','W67dTSkyW4/dMcf/W48','W7RdTCk5WRxcGG','W5JcUddcKG','W7pcGfelhq','W4FdK8kxW7ZdKW','W7JdH2WXjW','WOCWW6ddTGVcP2b3','oSkHi8ksW6i','wK3cN2y','F33dLr3cKSkJda','W6FdGmkpW48','WOldLmkztmkgW43cP0zuWQ7dNKy','5P6h5yMe54U/5Oor5Q6E5BUn772l5Rw35yQ56i2q5yYM5OQx5yUarq','u1tdQJhcT8knlSo1wa','CXL7ef8','qIz1WOeGtmoS','rYvUWQeVw8k5WQBcHIlcImkmihXVWQddLCoyWPhcK8o6rCoVl8oTC8kHux1eW7xcGCkmb8kqs2L5iH7dMaRdKZxdM8oUWQT7ggnfEwRdNCkKWPfovqvYE0vVfKf0y8oHWPVdUJpcTmoJW5pcThBdTYvLW6nTw8kxBqhcRh7dTHNcH3KmWPFdV8ksWRnfAe7dSSodW7G','ymoWW7ZdPCoqyNSRkNxcQSkY','kINcL1FdHCo2gCopBSk9tCkR','W49JW4BcGCkl','j1/cGCkeaq','WQ/dTmk6WP3dNCkGFCkuWOy','W5FcIuOv','E8o6W5BcRcq','mIfjW68YWRddJHi','xv/cVMX7yHG','W6VcHJ3cUCklWPWZnvJcICkwW6G','W5hdOeOxma','W79+5As16lwnW6Op5y2Q5zM6WPjw','WOtdKSkzAmkFW4RcP1C','Amk1d1u2WOxcJKRdK8kaWP46WRW','fJBcQ8otW5jdw3G','W4CQzW','W6ZdPeOGpq','W5BcTLC','WO7cVh0','W4RdS1uxmG','6k6T5yU56zId5OsJ5z6Xv0VdPXpdNEI9PowgPEAGOos8VEAvUowfJEwSUSkT5BQM6kYs6you6lYg6iEY5P2O5y696i2c5y2bk8obehSCAW','6l6w5ywG5BYH5zIK5lIp6Acc6zwN6k2UWPy','WQpdQs7dRG','5A6a5Pwq5P+F5B+45zIx','pMFdUe0','WOqLW6fYW4hcVX/dNG','WRyQWRyhW6q','WQaRzIVcPeVcKa','WRuiWP8dkW','a1NcQq','r0NcNgDszaihW4ve','oSkMWOW','W5L6W5RcHG','ue3cHMi','wKNcL2Ddzqmd','xSoZza','s8krcwOj','W7inW6FcVCkt','5yQD5yQ356oZotXq','W4VcOIFcNW','g8kfWQ/cUCkK','5RwP5yMR5AEK54k654UN5lUx77Y657QJ57Qs6ycC6yo25zos','m8k5WPZdQW','ACo+W6S','W4ZdH1COja','WPCZW5ddOH/cJwC','57Qe5P6y5Psk6zsuW58N','W6VcPce','nmkOWPpcI8kmyUw1MUwMRUAwMmofWONdHW','WPGyW51QW6C','d8k7WP7dJwWM','W6ZcRJ/cPW','cwFcRCkD','jdFcOCouW6XSq3a','W5ldJCkPWQyZ','W7/dUtRcQx4','wv/cLq','W5pcK1GppqqDcG','iJvCW6a','qmo9BCk0nqS','W6SPxSkHW4dcLa','o8koWRFcSmkz','WPhdUh4','r+IVSUMhRoAvTUEzJ+w8OUIpIEwnL8ohW5XEWO/cGmkXuGnCWRlcNc7cRSkCW7vGWOaiWRNdTbdcJmkVWOvUDMmiW73cRmkraSkaW47cVCoUeWdcHatcHLHCW5O','W6r2nNa','WORdHmkJsSkuW4e','WQ8aWOLyW4C','W43cVrlcUSop','rYHPWOCZsSoLWRpcKXxcLSkgC28','nSkUWPldL3G','mgNdPui','mmk9WPxcKmojj8omW7RcTSkjW4xcK1RdSWSyrq','W6G5W4tcR8kY','jZDCW6GiWRddIr9Cgt7cRq','WQirWOBdHSkQ','6lYd56Qn5PAJ5O6j566uWRu','W6f0nNJdR2rhWOBdUYyXqG','W5BdRmkECcRdVCo+CauXW5ldLG3dKq','W4/cKK0raLDbuqudw2uphCkEW45pWOlcLd8WDCkqgsFcISkQamkFkqLDWOaZW5xdTCoJW4xcPmk7W5f+mJP2W6tcRapcVHVdPqZdR3VcNxddQG','o8k3WO8','BmkYb0eFWQxcK1G','aLFcVG','5B675zI15ysL6z+36kEy5yIY5yUk5lMN5PsWr2G','W4ZcGmo96zUF5zcc5y685B2Wbq','WPq3W67dRtFcGgzU','W4VcUY3cT8o4','tCksW4fQW7arW5K','5BA/5A6j5OIX57Ic5zUwla','WO7cVKpdLZ0VsHdcQbhdJq','FNFdGq','hYhcOCocW71Jw3G','WOVdV8kzWOldVa','WOryWRPFW6eYWPNdNSkAhCkvs3mpW4pcUSkvW441W6ivF1C','W6BcII4','W4KFWQ5zW4KQ','qxxdTSkvWPy4gcjsuvtcPMuZrYi','W7ZcKYdcOWO','W4JdNmkDWPa','5B+/5zIs5P6W5Pwd5PY1W67cSG','W5VdSvmnixKFWP8SkYS','WOepWRW3W4ZdHSogE8oV','jmk0WPFcRCkt','cmk8WQBdTu8','W4pdRmkxW7xdOG','W5lcUcpcPSopCt0a','5lIZ5lMl6lAw5yYR','k2XnWRjrbq','WRi5W6TRW6BcU+w2GowMIUAuKSoQfcK','W4VdTSoCttVdGmo5pdikWPO','ACkpW4f0W6K9W7FcUW','W6iOtW','5B+P5zI55ywg6z6r6kEj5yUQ5yQ95lUZ5PA9sSkF','WRG4W6bLW7C','WPxcGSo8Efa','WOldJWtdRSkJ','WRRcVK/dUGZcSSoOWQhcHchcNSk8ya','y8oLb0WNWQxcLKNdTCkOW5vZW6O','yCoWW7G5','EhZdUrNcLSkNaCoDEmkSvSkWWPJdKxpcR1zvxSoICsf7fCotW6xcGbm','bmkPWRVdMfG','j2f+WRfrfbBdOmk5W6TfWOVcLCkSl14CWQxcIrdcQCow','j8k4lmkqW5JcImkWW6O','W4PlW5K','F8o5WQeqW44BEmoQW4bqmSkJWPxdUa','smoCW4BdJSofW4BdH8kAoeGp','5yI45yI36zEe6kYVaq','W57cNfCwcq','W4yyWQG','WPWvWRtdVG','44cv5O2b56A244gjW4WAzmkSW6P75BE75AEJ5PEG','W5NdPCorDGm','WPaAW4HFW4VcLZxdSG4'].concat((function(){return['pUIVM+wgUUMaMEI/M+EoPowJTEwoTUMfRbhORzZNV6lLI43LIAxOTBtLJ6xLJjVPHAJVV67cImkgCCkEW4C9W4iWi8kUjelcHZJdQSkUxI/dMLxdGWFdGaHyWP/dR8kok8kNeMhcJSk4vupdMmkWySoP5ygyDCoJ5AYj5lUX5yQ15yI16lAY5y6Y77+q5AwZ5lMM55stW47PM5VLVlyL','W7VdRqxcSf0','W4hdK8k3W7VdKGLvW6pcLa','WQRdQmkmWOBdISklFq','yM3dLqy','WPqQWPDlW7m','5yIJ5yM+5OMz5yMp','WQOUWPOuc8kiWOa','WQNcOfxcPeRdRmkOWRBcTtZdICotn8orWO7cUgXeWRPzAeJcQSk/kb/dImoCd8kTq1lcSchdISkGWPJdI8oOW5v+ySkebmkdW77dJCoye29ZWOi7W5vyWPbPcHZdSceGWORcPSkJtCoCqelcOCoBW6f4hb1WW5FdRZ3dPSoBwcn8W4BcJSkxxHFdRmo0Bmo2v8ontmoqW4hdLSkJWOJdRM54lmo5','qNldS8kqWPi/AeyLjh7cSW','lmk/oq','W6FdQrNcPeZdQW','b8kRWQtdI34QDhSPW4e8W6K','W5KsWQfpW4yXWP7cMmkUaq','W4DUf1BdLa','xSk4W5LTW5y','tSoJW6O','qNVcG0v/','WPRcVLNdTqySuIdcQWK','dmkhWQRcMCkhW5ldGa','gowfSoMbJUI1IowmHow0TUAjUEwiO+IoU+wmPEwLR+wjSCotWPeA','W5FcNsFcJIa','g1xdPh3dNq','dSksWP3dKMO','vZLRWQ01','WQJcQe/dTGy','W7v3kNldPG','W7/dICk4WQqfpCksmW','W6pdGmkmWPNcJG','tGvnwmkH','sCknW5T3W7i','W6VcOapcGWS','gmkAWOhcUSkS','WQZcKCoGW71NBSoAy0LL','vYT0vCkXumorW5KD','fSk6WRNdMg0nyw8f','W5ldN8knWRKJ','5lQ05lUB6lwa5y+y','W7rXkLS','cb7cJCoUW44','kwrvWQC','cZBcK8oLW4m','W5hcUZ3cOdC','W7RcLYdcQSkyWRSMixq','lxFdK03dVxfwWQi','EbLum0i','WRu3W7bH','t8kdW4zW','tCkUbfKB','dbb3W4u7WPVdQce','EhFdJWa','WPyDWQpdTmk1ECoIxa','FCk4W6TDW7G','xmo9BSk1','W6tcGcZcTmkIWPSYiq','W7VdGmoBuJG','W6pdSmkFW4e','W6FdRCkuW5hdPHnMW4VcTmksbq','Dx3dKIpcNmkQhCou','dCkXWOlcISkJ','zSoWW6ihW4Cqz8k3','WPG4WOScjmkDWOZdMa','vszW','W4FdNCkc','jmkIka','W7ddJ8kPWQKSoSktjZ02WRddPq','W73dG8k6','WQmRDWa','W63dVSkl','5Rgc5P6+6i2A5y+Z5yUa5B6K5zIX5l+E5OgY','yCkuW7rCW4m','CCk3aMOI','EmoGcSk+W5ZcP8ksW6C','WPNdQCk8WOxdRG','5y+S6yEJ6kYg5PInitzlu8kEamoFWRfzW4m','WRazBYdcQG','W4xdLSkaWPRcOulcOW','WQVdS8kYWONdTmkhB8kn','W6/cKatcHCke','gcRcOmodW5O','WROaW53dJtC','WQeKW616W6RcKbpdLJ8','WQeKWOK','W5OMW73cMSkL','WQKJW7/dLZa','mmkyWOJcIW','wSkslxOJ','aSk0WPNcKSkRzSofW7O','o8kOWPS','WRKtWPKcpa','ymo5W7GBW7G','i8kTWONdPbmSW4VdPa','W43dTmoAfIBcVCoNowGCWOBdIG','W4VcLaZcVdy','r1ZcNMPO','W5tdVva','owFdONpdSxbiW68','xSoZzmkvkbq','Dr91jW','WPuvWRa','WRtdO8kWWRBdRW','W4G0WObkW60','5B6r5zMo54MR5Oobaq','W6yLtCknW4tcGXNdUmoQjW','W7T5afVdGW','W7NdMmkPWRaPACoiCry9WRFdPhbYhSkdW5biW7WKuqvcCeNcSWj9mCkOdCoIg8oQmxpdG3z9W54HW5LZ','WQ4KWOOv','WQy5WOmddq','W73cL1Ctbq','pmkQWOxdUtG','W4xcNG3cGCoX','nCkMWRRcNmkop0iS','WOWTW6G','WO3dHmkhy8kg','W7GYW4tcKCknW5pdO8oS','W64OxCkbW4O','WQ4QWOaVaSkzWO3dJq','WR8XyW','pxtdO1NdQuzqW74TW5VcHa','rSojW5pcRam','W4tcILaehXLthXqdxI5eumkyW4meWO/cJWr6Dmkwac3cLSorwmoEDfmCW586W5ZdSmoOW4JcL8kGW5fLc2eSW4JcRqRdPGxdKepdU1FcGhtcUr7dTaZdMmkYWOVcJSkLp2HUW6G2WPFdN8oqumkGW73dSCoAbCoYW5fJW7Xpzmo2t8kAW7ett8ocW6VcV8oXW6ZcVmoOWPXwW4ZcVYW','lMmTW65RbCkU5B+h5As944gc5lMi5lU16lsG5y+O','WPiqWP/dQmkEE8oNwmoxWOXGnCochIpcO8kXD8kGWO3cPSkNWOtcNmoVh+A0IUwlVmoXWPS','smklW7DwW68','WR1UWQ/OJltLV6ZKUA9o','z8k7W4RcNmowE8kFW6pdOCkzWPdcMWFcOXKgaG','W7adWPytcmkuFCoVW4K','44oD5O6B56Eu44gHcCktWO7dLLtcMow1R+wLI+AuQq','WRuXW6RdStxcIhH/','mSkGWQ3cPSkm','WRVdLNddPmooW4n3ofxcNCkbW5u3','WRzHmfldJKDx','W71pm1u','bCkNWRtdHW','xKtcUvDQ','W63cLYBcPCknWRWPkN4','u8o/D8k5la/dThlcRtvwfq','WRK6wX/cRKZcNCo7W5WPW4ytBIZdKKhcICosW45DsCoC','WP/dGsZdKmkZ','W7tdQSk2W47dKa','W682W4lcR8kh','ECkFbwaN','5Bwj5A2B5OMe57IZ5zQ7W4a','WOSJWOVcGCklWRhcSrxcVSkwe8kQmhxdOSokW43cNmoXWPNdLSkyASoZcbBdQCkvAZRdHqXZnwueWOyaFh3cMCkcl2GUW4K3gCoxCwDQESkGW5RcGCoyWO/cOKzNsCozWPhdImoiWQxdKmoTWO0CsCoYmG80W57cMbu','DmkOaq','WP8CWRGO','W7DKjgNdHW','W5dcSI3cHa','oCk5WOxdRW','W5ldGCkDWOtcPxJcO2ZcIa','WP4rW49ZW58','W5VORQhPHyNMLRdNM7tLVOVOJ4xLJA05WQvwyJmN','a8kwWONdOIS','WOxcTfa','WPZdG8k/WOtdNq','zM3dHWdcV8kTgSoi','W5pdOHJcRuK','wL/cMevQ','W4JdPCohwq','W6hcPdtcKCoGCZG','WQRdHCkQxCkO','DCkMfG','EdPpmMm','5BYJ5zMG54IS5OoonW','WRSeWP4','k2XpWQDygWC','kxpdRM/dTNfb','W4ddQ8ou','lMzpWRfZ','fmkcWPdcG8ka','WPWCWQy5W4ZdUSo1C8o9BfODW63cT8kcWQbSeSkOW7S','hZzkW4a5','aJtcQmopW5y','5BwE5B6e5zMrfoMzLoMxRownOUw/IH0','W47cIf0ecq','BCoLW7GOWPvAjmkKW6X6Bmo8WPRdVfKcd09nW4hdGqJdIaFcMHhdUbPSWOzGBSovhCooiNu','j8kYWO/cIa','uZX1BCkx','cSkNWRC','WQOaWQZdHSk3','jv9SWRzw','btThW6OxWRZdTYiN','eSkqWQFdKf4','WRtcR8k6W5BdVIP6W70','W7rJjgFdNG','WROoWOPUW4m7WOq','WR46W7nNW6q','BYzVmgy','W4xdLSkaWRpcQvJcT3xcImkT','W7hcKWVcSXZdMqtcMG','W67cPdhcHrFdUJZcUa','W6FdOXa','WQKNWOWPba','W63dUSkwW4BdSZjaW4/cT8kgbmk2W4awW6pcOmogsSkrtW','xKpcM20','lmkAWPdcISk7W5BdJmkX','pwrtWRvr','W5VdSvmnixKFWP8GkYNdMa','rfNcGwS','WOtdHCkFymkC','W4dcG00LebKl'];}()));}()));}());Iii11l=function(){return lilI1i;};return Iii11l();};let wq_addr_lbsAreaId='',wq_addr_lbsAreaName='',cookiesArr=[],cookie='';function iii1II(_0x550f7a,_0x4dfec5){const _0x5cc425=Iii11l();return iii1II=function(_0x154d96,_0x21140d){_0x154d96=_0x154d96-0x102;let _0x2a228c=_0x5cc425[_0x154d96];if(iii1II['XyNTfZ']===undefined){var _0x58540b=function(_0x50f872){const _0xe74efd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2ab33a='',_0x7b517e='';for(let _0x3b0127=0x0,_0x27d079,_0x5f04f,_0x5d8bcd=0x0;_0x5f04f=_0x50f872['charAt'](_0x5d8bcd++);~_0x5f04f&&(_0x27d079=_0x3b0127%0x4?_0x27d079*0x40+_0x5f04f:_0x5f04f,_0x3b0127++%0x4)?_0x2ab33a+=String['fromCharCode'](0xff&_0x27d079>>(-0x2*_0x3b0127&0x6)):0x0){_0x5f04f=_0xe74efd['indexOf'](_0x5f04f);}for(let _0x21d029=0x0,_0x59941a=_0x2ab33a['length'];_0x21d029<_0x59941a;_0x21d029++){_0x7b517e+='%'+('00'+_0x2ab33a['charCodeAt'](_0x21d029)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x7b517e);};const _0x148900=function(_0x5192db,_0x188dd0){let _0x4723ec=[],_0x28a268=0x0,_0x4c8ca9,_0x3f4dbe='';_0x5192db=_0x58540b(_0x5192db);let _0x3e1a02;for(_0x3e1a02=0x0;_0x3e1a02<0x100;_0x3e1a02++){_0x4723ec[_0x3e1a02]=_0x3e1a02;}for(_0x3e1a02=0x0;_0x3e1a02<0x100;_0x3e1a02++){_0x28a268=(_0x28a268+_0x4723ec[_0x3e1a02]+_0x188dd0['charCodeAt'](_0x3e1a02%_0x188dd0['length']))%0x100,_0x4c8ca9=_0x4723ec[_0x3e1a02],_0x4723ec[_0x3e1a02]=_0x4723ec[_0x28a268],_0x4723ec[_0x28a268]=_0x4c8ca9;}_0x3e1a02=0x0,_0x28a268=0x0;for(let _0x36db94=0x0;_0x36db94<_0x5192db['length'];_0x36db94++){_0x3e1a02=(_0x3e1a02+0x1)%0x100,_0x28a268=(_0x28a268+_0x4723ec[_0x3e1a02])%0x100,_0x4c8ca9=_0x4723ec[_0x3e1a02],_0x4723ec[_0x3e1a02]=_0x4723ec[_0x28a268],_0x4723ec[_0x28a268]=_0x4c8ca9,_0x3f4dbe+=String['fromCharCode'](_0x5192db['charCodeAt'](_0x36db94)^_0x4723ec[(_0x4723ec[_0x3e1a02]+_0x4723ec[_0x28a268])%0x100]);}return _0x3f4dbe;};iii1II['kPHpYo']=_0x148900,_0x550f7a=arguments,iii1II['XyNTfZ']=!![];}const _0x4c01db=_0x5cc425[0x0],_0x466e0b=_0x154d96+_0x4c01db,_0x1e99ad=_0x550f7a[_0x466e0b];return!_0x1e99ad?(iii1II['wxhHHQ']===undefined&&(iii1II['wxhHHQ']=!![]),_0x2a228c=iii1II['kPHpYo'](_0x2a228c,_0x21140d),_0x550f7a[_0x466e0b]=_0x2a228c):_0x2a228c=_0x1e99ad,_0x2a228c;},iii1II(_0x550f7a,_0x4dfec5);}if($['isNode']()){Object[Ii1II1(0x19c,'g4Um')](jdCookieNode)[Ii1II1(0x2de,'[Glx')](IiiIl=>{const lilili=Ii1II1;cookiesArr[lilili(0x209,'HScl')](jdCookieNode[IiiIl]);});if(process['env'][Ii1II1(0x1c6,'g4Um')]&&process[Ii1II1(0x24f,'[Glx')][Ii1II1(0x13a,'XMAz')]===Ii1II1(0x255,'bmK4'))console[Ii1II1(0x179,'KGWB')]=()=>{};}else cookiesArr=[$['getdata'](Ii1II1(0x34d,'Txwq')),$[Ii1II1(0x110,'NH)l')](Ii1II1(0x1be,'XMAz')),...jsonParse($[Ii1II1(0x155,'!8mB')]('CookiesJD')||'[]')[Ii1II1(0x14d,'JPua')](ii1l1l=>ii1l1l['cookie'])][Ii1II1(0x34a,'JqPL')](l1lli1=>!!l1lli1);let allMessage='';!(async()=>{const IliIli=Ii1II1,IiiIi={'GxwTV':IliIli(0x2f4,'1OOu'),'cEQXP':IliIli(0x186,'Gbcp'),'AShQD':function(ii1l1i,l1iIl1){return ii1l1i==l1iIl1;},'tXwrV':function(ii1iI,IIIil){return ii1iI+IIIil;},'nTOGb':function(IIIii,iI111i){return IIIii<iI111i;},'jhKTv':function(I1I1l1,iI111l){return I1I1l1+iI111l;},'wpavX':function(i1lIii,III11i){return i1lIii+III11i;},'IqzVA':function(i1lIil,III11l){return i1lIil+III11l;},'ZpNSj':function(llIl1i,llIl1l,IiiII){return llIl1i(llIl1l,IiiII);},'Xnonq':function(Iiil,IIIli){return Iiil(IIIli);},'TnWjH':function(ii1i1,Iiii){return ii1i1(Iiii);},'GNgVZ':function(llIl11,IIIll,I1I1il){return llIl11(IIIll,I1I1il);},'SZwsy':function(l1llii,liII1){return l1llii(liII1);},'UibvH':function(I1I1ii){return I1I1ii();},'eKIco':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','vUpLs':IliIli(0x172,'cUzm'),'nsjFv':function(l1llil,IIIlIi){return l1llil!==IIIlIi;},'euMUy':IliIli(0x150,'IYg8'),'dlbYn':'DPPqV','fghnr':IliIli(0x109,'Ix0i'),'FoobV':IliIli(0x1b8,'6@Vk'),'lJsyy':'gEWuG','yznwx':IliIli(0x2db,'v7s!'),'IoTlJ':function(llIl1I,i1lIl1){return llIl1I<i1lIl1;},'jdFwt':'远程数据获取失败,请自行查找可用活动ID...\x0a','DGhMl':function(liIli1,IIIlIl){return liIli1===IIIlIl;},'rfSyO':'ehtCW','ymSNX':'\x0a请先通过环境变量,设置活动ID变量：export\x20jd_wechat_openGroup_activeId=\x27活动ID\x27\x20定义活动ID\x0a','DIuVd':'\x0a开始收集开团助力码中...','mekdt':function(IIIlI,IiiI){return IIIlI<IiiI;},'hHoDf':function(iIi1i,l1iIll){return iIi1i+l1iIll;},'JvTnN':IliIli(0x2d2,'NLW7'),'HwZgr':'mMfUw','xkpEe':IliIli(0x2fa,'SDM['),'InwQT':IliIli(0x23c,'duuu'),'FYvCv':IliIli(0x11d,'2Vk6'),'EnOQD':IliIli(0x21e,'T3K*'),'bakzP':'dzTTG','PwWtR':IliIli(0x222,'tozn'),'jrOhR':IliIli(0x311,'tfPX'),'RtlYL':function(l1iIli,iIi1l){return l1iIli+iIi1l;},'sskMv':function(i1lIlI,l1lliI){return i1lIlI>l1lliI;},'mtcWT':function(I1I1iI,IIIlII){return I1I1iI===IIIlII;},'tOwUv':IliIli(0x117,'$^^5')};if(!cookiesArr[0x0]){$[IliIli(0x149,'Mg%2')]($['name'],IiiIi[IliIli(0x180,'!(*x')],IiiIi[IliIli(0x2c6,'Txwq')],{'open-url':'https://bean.m.jd.com/bean/signIndex.action'});return;}if(!helpPinArr){if(IiiIi[IliIli(0x20f,'v7s!')](IiiIi[IliIli(0x157,'v7s!')],IiiIi[IliIli(0x1c9,'NH)l')])){console[IliIli(0x1a2,'T3K*')](IiiIi['fghnr']);return;}else li1i1I[IliIli(0x16a,'T4TB')](illIii,ii1il1),lI1llI=null;}authorCodeList=await getAuthorCodeList(IiiIi[IliIli(0x152,'YI&t')]);if(authorCodeList){if(IiiIi[IliIli(0x11e,'g4Um')]!==IiiIi[IliIli(0x28d,'KGWB')])try{return liiI1i[IliIli(0x1cd,'JqPL')](ililIi);}catch(ili1Ii){return i1l1II['log'](ili1Ii),i1ill[IliIli(0x2a2,'n[M8')](I1l11l[IliIli(0x238,'[(P*')],'',IiiIi['GxwTV']),[];}else{console[IliIli(0x1b0,'@4&$')](IiiIi[IliIli(0x103,'NLW7')]);for(let Iilll1=0x0;IiiIi['IoTlJ'](Iilll1,authorCodeList['length']);Iilll1++){console['log'](IliIli(0x32b,'YI&t')+(Iilll1+0x1)+IliIli(0x23b,'Mg%2')+authorCodeList[Iilll1]+'\x22');}}}else console['log'](IiiIi[IliIli(0x23d,'XXf6')]);if(!rsactiveId){if(IiiIi[IliIli(0x2a6,'JPua')](IliIli(0x163,'6@Vk'),IiiIi[IliIli(0x246,'YI&t')])){console[IliIli(0x30b,'6@Vk')](IiiIi['ymSNX']);return;}else{const iIi1I=IiiIi['cEQXP'][IliIli(0x2d6,'Mg%2')]('|');let liIIl=0x0;while(!![]){switch(iIi1I[liIIl++]){case'0':var IlI1lI=new IlIlii(i1l1i1);continue;case'1':IiiIi[IliIli(0x11f,'1OOu')](llliIi['length'],0x2)&&(llliIi=IiiIi[IliIli(0x1bf,'ukk(')]('0',llliIi));continue;case'2':var liIIi=IlI1lI['getSeconds']();continue;case'3':var IilllI=(IiiIi['nTOGb'](IiiIi['tXwrV'](IlI1lI[IliIli(0x178,'(X3a')](),0x1),0xa)?IiiIi['tXwrV']('0',IiiIi[IliIli(0x18f,'Ix0i')](IlI1lI[IliIli(0x214,'SDM[')](),0x1)):IiiIi['wpavX'](IlI1lI[IliIli(0x143,'2Vk6')](),0x1))+'-';continue;case'4':var iI1lIi=IiiIi[IliIli(0x230,'NLW7')](IlI1lI[IliIli(0x1d6,'Txwq')](),':');continue;case'5':return IiiIi[IliIli(0x144,'lE1^')](IiiIi['jhKTv'](IiiIi[IliIli(0x162,'NH)l')](IiiIi['jhKTv'](IiiIi['IqzVA'](l1lllI,IilllI),llliIi),iI1lIi),i1lIli),liIIi);case'6':var l1lllI=IiiIi[IliIli(0x118,'Txwq')](IlI1lI['getFullYear'](),'-');continue;case'7':var llliIi=IlI1lI[IliIli(0x1d1,'NLW7')]()+'\x20';continue;case'8':var i1lIli=IiiIi[IliIli(0x1c4,')27Z')](IlI1lI['getMinutes'](),':');continue;}break;}}}$['activeId']=rsactiveId,console['log'](IiiIi['DIuVd']);for(let i1lIll=0x0;IiiIi['mekdt'](i1lIll,cookiesArr['length']);i1lIll++){if(cookiesArr[i1lIll]){cookie=cookiesArr[i1lIll],$[IliIli(0x29b,'XMAz')]=decodeURIComponent(cookie[IliIli(0x22a,'tozn')](/pt_pin=([^; ]+)(?=;?)/)&&cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[IliIli(0x350,'tfPX')]=IiiIi[IliIli(0x2c5,'oX%H')](i1lIll,0x1),$[IliIli(0x2e8,'Ix0i')]=!![],$['nickName']='',message='';if(helpPinArr[IliIli(0x25c,'*JIb')](encodeURIComponent($[IliIli(0x263,'v7s!')]))){console['log'](IliIli(0x182,'[Glx')+$[IliIli(0x1e0,'SDM[')]+'】'+($[IliIli(0x13c,'oX%H')]||$['UserName'])+'*********\x0a');if(!$['isLogin']){if(IiiIi[IliIli(0x1a6,'Ix0i')](IiiIi[IliIli(0x323,'HScl')],IliIli(0x2c0,'NH)l')))ii1I1i['krmsg']=llI?.['message']||llliI?.[IliIli(0x204,'2Vk6')],iI1li1[IliIli(0x14b,'cUzm')](IliIli(0x2f5,'JqPL')+lllii1['code']+IliIli(0x35a,'CzHy')+liIli[IliIli(0x2bf,'Ix0i')]);else{$['msg']($[IliIli(0x23e,'JPua')],IliIli(0x188,'NH)l'),IliIli(0x12e,'IYg8')+$[IliIli(0x282,'v7s!')]+'\x20'+($[IliIli(0x13c,'oX%H')]||$[IliIli(0x2bd,'!(*x')])+IliIli(0x2c3,'tfPX'),{'open-url':IiiIi[IliIli(0x30c,'n[M8')]});$[IliIli(0x20d,'XXf6')]()&&(IiiIi[IliIli(0x1f5,'g5DL')](IiiIi['HwZgr'],IiiIi['HwZgr'])?await notify[IliIli(0x2fe,'Ix0i')]($['name']+IliIli(0x310,'Gbcp')+$[IliIli(0x1e4,'bmK4')],IliIli(0x349,'rfSb')+$[IliIli(0x158,'L(!d')]+'\x20'+$['UserName']+IliIli(0x1f2,'CzHy')):i11iiI(lIli11));continue;}}$['UA']=common['genUA']($[IliIli(0x27f,'R@6f')]),await main(),await $[IliIli(0x1ea,'!(*x')](0x5dc);if($[IliIli(0x343,'n[M8')])break;}else{if(IiiIi[IliIli(0x322,'J2m1')]!=='cqYII')continue;else Iliiil[IliIli(0x30b,'6@Vk')]('','❌\x20'+li1Il['name']+',\x20失败!\x20原因:\x20'+li1Ii+'!','');}}}if(!$[IliIli(0x319,'NLW7')][IliIli(0x1e1,'lE1^')]){if(IiiIi['InwQT']!==IliIli(0x140,'@4&$')){console[IliIli(0x21c,'JPua')](IiiIi[IliIli(0x266,'KGWB')]);return;}else{let llii1i=Iillii?.['split']('_')||[],ll11il=this[IliIli(0x11c,'lE1^')][IliIli(0x1e6,'J2m1')]('_'),iI1lIl=[];for(let Iili in ll11il){let iIi11=ll1i1(Iili);iI1lIl[IliIli(0x14c,'duuu')](llii1i[iIi11]||ll11il[iIi11]);}let iiIiII='1'+IiiIi[IliIli(0x249,'lE1^')](Iillil,0x9,l1lIli[IliIli(0x2dc,'2Vk6')]);lIIiiI[IliIli(0x32f,'nrCh')](iiIiII),II1lil['wq_addr']=IiiIi['Xnonq'](IIli1l,iiIiII+'|'+iI1lIl[IliIli(0x1cb,'Ix0i')]('_')+'|'+II1lii+'||');}}console[IliIli(0x1e7,'gSo8')](IiiIi['EnOQD']);for(let Iil1=0x0;IiiIi['mekdt'](Iil1,cookiesArr[IliIli(0x215,'@4&$')]);Iil1++){if(IiiIi[IliIli(0x17a,'kYMm')](IiiIi[IliIli(0x357,'ukk(')],IiiIi[IliIli(0x128,'g4Um')])){if(cookiesArr[Iil1]){if(IliIli(0x1d7,'rfSb')===IiiIi['jrOhR']){cookie=cookiesArr[Iil1],$[IliIli(0x2c7,'(X3a')]=IiiIi[IliIli(0x1a5,'[(P*')](decodeURIComponent,cookie['match'](/pt_pin=([^; ]+)(?=;?)/)&&cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[IliIli(0x1b7,'NLW7')]=IiiIi[IliIli(0x1bc,'oX%H')](Iil1,0x1),$['isLogin']=!![],$[IliIli(0x2cf,'JPua')]='',message='';if($[IliIli(0x2a1,'[Glx')]['length']==0x0)return;if(IiiIi[IliIli(0x345,'Gbcp')](cookiesArr[IliIli(0x114,'[(P*')],$['need_num'])){console[IliIli(0x1a2,'T3K*')]('\x0a******开始【京东账号'+$[IliIli(0x17c,'XXf6')]+'】'+($['nickName']||$['UserName'])+'*********\x0a');if(!$[IliIli(0x2c2,'KGWB')]){if(IiiIi[IliIli(0x19b,'*JIb')](IiiIi[IliIli(0x2a4,'R@6f')],IiiIi[IliIli(0x2a4,'R@6f')])){$[IliIli(0x149,'Mg%2')]($[IliIli(0x2a0,'v7s!')],IliIli(0x106,'6@Vk'),IliIli(0x2bc,'CzHy')+$[IliIli(0x20a,'R@6f')]+'\x20'+($[IliIli(0x359,'Mg%2')]||$[IliIli(0x2f9,'tfPX')])+IliIli(0x31f,'JqPL'),{'open-url':IiiIi['vUpLs']});$['isNode']()&&await notify[IliIli(0x11b,'T3K*')]($[IliIli(0x19a,'SDM[')]+IliIli(0x34b,'tfPX')+$['UserName'],IliIli(0x2b8,'lE1^')+$['index']+'\x20'+$[IliIli(0x146,'NH)l')]+IliIli(0x1a0,'tfPX'));continue;}else{let llliI1=iIIl11?.['data']?.[IliIli(0x2e9,'v7s!')]?.['activeName']||0x1,liIII=l1l1I1?.['data']?.[IliIli(0x14a,'cUzm')]?.[IliIli(0x1d8,'kYMm')]||0x1,llii11=I1iIll?.[IliIli(0x137,'tfPX')]?.[IliIli(0x32c,'$^^5')]?.[IliIli(0x2c8,'n[M8')]||0x1,Iillli=I1lliI?.[IliIli(0x1dc,'g4Um')]?.[IliIli(0x191,'T4TB')]?.[IliIli(0x2d5,'KGWB')]||0x1,ll11l1=IiiIi[IliIli(0x23a,'tfPX')](llIllI,liIII);I1ilI1[IliIli(0x124,'cUzm')]=Iillli-0x1,iillll=lIIilI?.['lbsAreaId']||'',II1li1=l1lIlI?.['lbsAreaName']||'';if(IiiIl1||lIIil1){let ll111=l1lIil?.[IliIli(0x1b5,'L(!d')]('_')||[],llliII=this['un_area'][IliIli(0x121,'[Glx')]('_'),iiIiIl=[];for(let liIliI in llliII){let llii1I=ilI1lI(liIliI);iiIiIl['push'](ll111[llii1I]||llliII[llii1I]);}let IlI1l1=IiiIi[IliIli(0x287,'rfSb')]('1',IiiIi[IliIli(0x1d5,'XMAz')](iillli,0x9,I1l1Ii[IliIli(0x108,'tfPX')]));I1i11i['log'](IlI1l1),I1i11l['wq_addr']=IiiIi['SZwsy'](llIlii,IlI1l1+'|'+iiIiIl['join']('_')+'|'+llIlil+'||');}Illl1l[IliIli(0x1e7,'gSo8')](IliIli(0x289,'Ix0i')+llliI1),Illl1i['log'](IliIli(0x21b,'HScl')+ll11l1),lIIiil[IliIli(0x24a,'oX%H')](IliIli(0x342,'bmK4')+llii11+'\x20秒'),l1lIii[IliIli(0x1fa,'Mg%2')](IliIli(0x332,'g4Um')+I11iI1[IliIli(0x13f,'v7s!')]);}}$['UA']=common['genUA']($[IliIli(0x160,'Gbcp')]),await IiiIi[IliIli(0x139,'IYg8')](helpmain),await $['wait'](0x5dc);if($['activityEnd'])break;}}else IiiIi['UibvH'](IilIiI);}}else II1Ii[IliIli(0x300,'gSo8')](i1ii[I1iIl1]);}if(allMessage){if($[IliIli(0x312,'ukk(')]())await notify[IliIli(0x116,'tozn')](''+$[IliIli(0x238,'[(P*')],''+allMessage);$[IliIli(0x318,'Ix0i')]($[IliIli(0x2d7,'Ix0i')],'',allMessage);}})()['catch'](IilI=>{const lI1ilI=Ii1II1;$['log']('','❌\x20'+$[lI1ilI(0x12f,'*JIb')]+lI1ilI(0x2eb,'duuu')+IilI+'!','');})[Ii1II1(0x1ae,'JqPL')](()=>{const IllliI=Ii1II1;$[IllliI(0x273,'ukk(')]();});async function main(){const IliIll=Ii1II1,liIlli={'eSaDT':function(lil11){return lil11();}};await liIlli['eSaDT'](superFission_mainPage),await $[IliIll(0x28f,'rfSb')](0x5dc);}async function helpmain(){const iIiili=Ii1II1,Iillll={'JYOkM':function(lllI1,III11I){return lllI1<III11I;}};$[iIiili(0x145,'6@Vk')]=!![];for(let Ilii1=0x0;Iillll[iIiili(0x129,'(X3a')](Ilii1,$['tuanList'][iIiili(0x235,'1OOu')]);Ilii1++){if($[iIiili(0x315,'L(!d')]==$[iIiili(0x334,'KGWB')][Ilii1]['userName'])continue;await superFission_joinGroup($['tuanList'][Ilii1]['tuanInfo']);if(!$[iIiili(0x17d,'NH)l')])break;}}async function superFission_mainPage(){const lilill=Ii1II1,ll11i1={'BUKUp':function(ili1II,liIllI){return ili1II===liIllI;},'jrEsz':lilill(0x27c,'SDM['),'grrEl':lilill(0x19f,'tfPX'),'mZWaq':function(ll11i,iI1lI1){return ll11i==iI1lI1;},'YOHQF':function(I1I1li,l1i11){return I1I1li==l1i11;},'AsxgN':function(IlI1li,IlI1ll){return IlI1li(IlI1ll);},'ogmLu':function(ll11l,III111){return ll11l||III111;},'dkICz':lilill(0x260,'JqPL'),'PUDwA':lilill(0x28b,'g5DL'),'Zqnrt':function(liIll1,l1llli){return liIll1===l1llli;},'jpjza':lilill(0x133,'g4Um'),'aiGeP':lilill(0x136,')27Z'),'ZeFYQ':function(iI1lII,ll11iI){return iI1lII+ll11iI;},'ccnwG':function(l1i1I,l1llll){return l1i1I===l1llll;},'xCqsA':lilill(0x12d,'cUzm'),'DpXiW':function(I1I1ll,lil1i){return I1I1ll>=lil1i;},'urxAH':function(liiiil,IIIIli){return liiiil!==IIIIli;},'egQFi':lilill(0x15d,'KGWB'),'uabNH':lilill(0x28e,'Ix0i'),'cmuhr':function(lllIi,lil1l){return lllIi===lil1l;},'unKPe':lilill(0x232,'kYMm'),'hBKME':'zmACK','LZHuZ':lilill(0x2b7,'lE1^'),'bxKzo':function(lllIl,Iliii){return lllIl==Iliii;},'zkADL':function(illlii,I1lIIi){return illlii==I1lIIi;},'WXEBx':lilill(0x21a,'2Vk6'),'zGxfR':lilill(0x279,'R@6f'),'CElce':lilill(0x15c,'rfSb'),'wntsP':lilill(0x200,'T4TB'),'gmYKq':'WPjNm','ttfvG':function(l1i1i,I1iI1i){return l1i1i===I1iI1i;},'bCOae':lilill(0x2e6,'!(*x'),'RjBlk':function(l1i1l){return l1i1l();},'UaxoJ':function(I1iI1l){return I1iI1l();},'GFTLI':'未获取到数据,请重新运行','TyJeD':function(illlil,Iliil){return illlil|Iliil;},'IrGxX':function(I1lIIl,l1ilI1){return I1lIIl/l1ilI1;},'TNaht':function(l1l1Il,lil1I){return l1l1Il+lil1I;},'GLlXE':lilill(0x2b9,'Txwq'),'VvmDj':function(l1l1Ii,IIIIlI){return l1l1Ii*IIIIlI;}},ili1I1=lilill(0x1ef,'NLW7')+$['activeId']+lilill(0x111,'[(P*');$[lilill(0x15e,'Gbcp')]=ll11i1[lilill(0x33b,'YI&t')](ll11i1[lilill(0x1a9,'kYMm')](Date[lilill(0x168,'n[M8')](),0x3e8),0x0);let Iill={'url':lilill(0x22e,'Txwq')+$[lilill(0x217,'SDM[')],'body':lilill(0x2df,'[Glx')+ili1I1,'headers':{'Host':'api.m.jd.com','Accept':lilill(0x31e,'g4Um'),'Cookie':ll11i1[lilill(0x1a1,'nrCh')](cookie,lilill(0x2a7,'gSo8')+$[lilill(0x30d,'KGWB')]+';\x20Domain=jd.com;'),'User-Agent':$['UA'],'Accept-Language':lilill(0x32d,'@4&$'),'Accept-Encoding':lilill(0x327,'Gbcp'),'Referer':ll11i1[lilill(0x2d3,'JPua')]},'timeout':ll11i1[lilill(0x2f0,'n[M8')](0xa,0x3e8)};return new Promise(async l1i11l=>{const l1lI1=lilill,liiil1={'ZMDsN':function(lllII){return ll11i1['UaxoJ'](lllII);},'cQGiU':function(l11iII,l1i11i){const IilI1=iii1II;return ll11i1[IilI1(0x26a,'g5DL')](l11iII,l1i11i);},'DykKh':ll11i1['GFTLI'],'pBtXB':function(l11iI1,IliiI){return l11iI1===IliiI;},'KtZCC':ll11i1[l1lI1(0x29c,'v7s!')]};$[l1lI1(0x2e5,'NLW7')](Iill,async(lI111i,I1lIII,liIlll)=>{const Ili1I1=l1lI1;if(ll11i1[Ili1I1(0x2d4,'n[M8')](ll11i1['jrEsz'],ll11i1[Ili1I1(0x351,'bmK4')]))try{if(lI111i)$[Ili1I1(0x1f1,'!(*x')](lI111i),console[Ili1I1(0x303,'T4TB')](0xb);else{if(ll11i1[Ili1I1(0x177,'HScl')](ll11i1[Ili1I1(0x1d0,'kYMm')],ll11i1['grrEl'])){liIlll=JSON['parse'](liIlll);if(ll11i1[Ili1I1(0x305,'rfSb')](liIlll[Ili1I1(0x1ff,')27Z')],0x0)){if(ll11i1['YOHQF'](liIlll['subCode'],0x0)){let I1iI1I=liIlll?.[Ili1I1(0x277,'duuu')]?.[Ili1I1(0x190,'v7s!')],illll1=liIlll?.[Ili1I1(0x25d,'Mg%2')]?.[Ili1I1(0x23f,'(X3a')],IIIIl1=liIlll?.['data']?.[Ili1I1(0x115,'ukk(')];if(IIIIl1){let liiilI=liIlll?.[Ili1I1(0x131,'JqPL')]?.[Ili1I1(0x1ce,'n[M8')]?.[Ili1I1(0x170,'XXf6')]||0x1,lI111l=liIlll?.[Ili1I1(0x250,'J2m1')]?.[Ili1I1(0x1fd,'Mg%2')]?.[Ili1I1(0x2bb,'g5DL')]||0x1,liiii1=liIlll?.['data']?.[Ili1I1(0x329,'XMAz')]?.['groupValidTime']||0x1,IIiiIl=liIlll?.['data']?.[Ili1I1(0x2da,'kYMm')]?.[Ili1I1(0x2ee,'L(!d')]||0x1,l1ilIl=ll11i1[Ili1I1(0x125,'!8mB')](timestampToTime,lI111l);$[Ili1I1(0x33a,'L(!d')]=IIiiIl-0x1,wq_addr_lbsAreaId=IIIIl1?.[Ili1I1(0x12b,')FC2')]||'',wq_addr_lbsAreaName=IIIIl1?.[Ili1I1(0x296,'Mg%2')]||'';if(ll11i1[Ili1I1(0x123,'*JIb')](wq_addr_lbsAreaId,wq_addr_lbsAreaName)){if(ll11i1['dkICz']!==ll11i1[Ili1I1(0x2cd,'!(*x')]){let IIiiIi=wq_addr_lbsAreaId?.[Ili1I1(0x167,'Ix0i')]('_')||[],l1ilIi=this[Ili1I1(0x10c,'YI&t')]['split']('_'),l11iIi=[];for(let iliIlI in l1ilIi){if(ll11i1[Ili1I1(0x201,'Mg%2')](ll11i1[Ili1I1(0x29d,'2Vk6')],ll11i1[Ili1I1(0x171,'*JIb')]))IllIII['can_help']=![];else{let IlilI=ll11i1['AsxgN'](parseInt,iliIlI);l11iIi[Ili1I1(0x10d,'2Vk6')](IIiiIi[IlilI]||l1ilIi[IlilI]);}}let ll11li=ll11i1[Ili1I1(0x32a,'oX%H')]('1',randomString(0x9,$[Ili1I1(0x10b,'JPua')]));console[Ili1I1(0x33d,'v7s!')](ll11li),$['wq_addr']=ll11i1[Ili1I1(0x122,'T3K*')](encodeURIComponent,ll11li+'|'+l11iIi['join']('_')+'|'+wq_addr_lbsAreaName+'||');}else liiil1['ZMDsN'](IlIlll);}console[Ili1I1(0x17e,'duuu')](Ili1I1(0x258,'KGWB')+liiilI),console[Ili1I1(0x1c8,'[(P*')](Ili1I1(0x30e,'Gbcp')+l1ilIl),console[Ili1I1(0x1a2,'T3K*')]('开团有效期:\x20'+liiii1+'\x20秒'),console[Ili1I1(0x1fa,'Mg%2')](Ili1I1(0x34f,'T3K*')+$[Ili1I1(0x302,'Ix0i')]);}if(illll1){if(ll11i1[Ili1I1(0x15f,'IYg8')](illll1[Ili1I1(0x20b,'duuu')],0x0)){if(ll11i1[Ili1I1(0x1b1,'JqPL')](ll11i1[Ili1I1(0x2fc,'NH)l')],ll11i1[Ili1I1(0x2fc,'NH)l')]))$[Ili1I1(0x26f,'XMAz')]=![];else{let II1l=l1llI1?.['data']?.[Ili1I1(0x187,'CzHy')]?.['prizeInfoList']?.[Ili1I1(0x1aa,'IYg8')](liiiiI=>liiiiI[Ili1I1(0x134,'v7s!')])?.[Ili1I1(0x341,'!8mB')](',')||'空气';llIIll[Ili1I1(0x2ae,'R@6f')](Ili1I1(0x197,'g4Um')+IillIi[Ili1I1(0x142,'JPua')]+'],\x20获得了['+II1l+']');}}if(illll1[Ili1I1(0x324,'[Glx')]==0x1){if(ll11i1['DpXiW'](cookiesArr['length'],0xa)){if(ll11i1['urxAH'](ll11i1[Ili1I1(0x18a,'Gbcp')],'QiEhC'))await superFission_openGroup();else{if(lIIili[Ili1I1(0x17f,'1OOu')]==0x1){l1l11i[Ili1I1(0x336,'Txwq')]=l1iIl?.[Ili1I1(0x1a7,'@4&$')]?.['basicGroupInfo']?.['groupId'];let illli1=illIll?.[Ili1I1(0x301,'Ix0i')]?.['masterRewardInfoList']?.[Ili1I1(0x281,'HScl')](Ill111=>Ill111[Ili1I1(0x2e4,'YI&t')])?.[Ili1I1(0x247,'NH)l')](',')||'空气',I1lII1=iIli1I?.[Ili1I1(0x30a,'nrCh')]?.[Ili1I1(0x1ca,'JPua')]?.['map'](I1iI11=>I1iI11[Ili1I1(0x344,'SDM[')])?.['join'](',')||'空气';Iiil1['log']('已开团,队长可得['+illli1+Ili1I1(0x1ec,'!8mB')+I1lII1+']'),iiilli['log'](Ili1I1(0x25a,'n[M8')+l1iIIl[Ili1I1(0x1da,'nrCh')]+']'),iiilll['tuanList'][Ili1I1(0x275,'v7s!')]({'userName':lI11Il[Ili1I1(0x189,'KGWB')],'tuanInfo':lIII1i[Ili1I1(0x2b3,'tozn')]});}else{if(liiil1['cQGiU'](I11iIi[Ili1I1(0x142,'JPua')],0x3)){let II11=l11i11?.[Ili1I1(0x105,'oX%H')]?.['groupInfo']?.[Ili1I1(0x2b0,'v7s!')]?.[Ili1I1(0x16c,'oX%H')](l1ilII=>l1ilII[Ili1I1(0x15a,'tfPX')])?.[Ili1I1(0x326,'1OOu')](',')||'空气';IilIl1[Ili1I1(0x1d4,')FC2')](Ili1I1(0x337,'JqPL')+lIII1l['groupStatus']+Ili1I1(0x207,')27Z')+II11+']');}else l1iIIi[Ili1I1(0x1bb,'ukk(')](Ili1I1(0x16f,'cUzm')+lilIi[Ili1I1(0x25e,'JqPL')]+']');}}}else ll11i1[Ili1I1(0x175,'NLW7')](Ili1I1(0x274,'nrCh'),ll11i1[Ili1I1(0x107,'@4&$')])?console['log'](Ili1I1(0x28a,'lE1^')+$['need_num']):II1i1['log'](liiil1['DykKh']);}else{if(ll11i1[Ili1I1(0x127,'Txwq')](ll11i1['unKPe'],ll11i1[Ili1I1(0x1f4,'J2m1')])){illIl1[Ili1I1(0x203,'tfPX')]=l1llII?.[Ili1I1(0x294,'[Glx')]?.['basicGroupInfo']?.[Ili1I1(0x2be,'duuu')];let llliIl=IilIll?.[Ili1I1(0x210,'2Vk6')]?.[Ili1I1(0x1b3,'SDM[')]?.['map'](illliI=>illliI[Ili1I1(0x1db,'NLW7')])?.['join'](',')||'空气',iliIli=lI11Ii?.[Ili1I1(0x355,'6@Vk')]?.['memberRewardInfoList']?.[Ili1I1(0x119,'!(*x')](ii1III=>ii1III['prizeName'])?.[Ili1I1(0x205,'J2m1')](',')||'空气';Iiill[Ili1I1(0x202,'rfSb')]('已开团,队长可得['+llliIl+Ili1I1(0x333,'cUzm')+iliIli+']'),l11i1i[Ili1I1(0x15b,'NH)l')](Ili1I1(0x306,'Ix0i')+lI11I1[Ili1I1(0x264,'YI&t')]+']'),l1il11[Ili1I1(0x290,'bmK4')][Ili1I1(0x1b9,'Gbcp')]({'userName':IiI1[Ili1I1(0x1e2,'XXf6')],'tuanInfo':liI[Ili1I1(0x242,'n[M8')]});}else{if(I1iI1I){if(ll11i1['BUKUp'](ll11i1[Ili1I1(0x243,'nrCh')],ll11i1['LZHuZ'])){if(ll11i1[Ili1I1(0x26e,'[Glx')](I1iI1I['groupStatus'],0x1)){$['groupId']=liIlll?.['data']?.[Ili1I1(0x2a8,'XXf6')]?.[Ili1I1(0x336,'Txwq')];let i11iIl=liIlll?.['data']?.['masterRewardInfoList']?.[Ili1I1(0x2fd,'g5DL')](l11iIl=>l11iIl[Ili1I1(0x12c,'ukk(')])?.[Ili1I1(0x27d,'ukk(')](',')||'空气',ll11ll=liIlll?.[Ili1I1(0x2f8,'1OOu')]?.[Ili1I1(0x1f6,'tfPX')]?.[Ili1I1(0x2ff,'Gbcp')](i11iIi=>i11iIi['prizeName'])?.[Ili1I1(0x2cb,'v7s!')](',')||'空气';console['log'](Ili1I1(0x1b6,'@4&$')+i11iIl+Ili1I1(0x2ba,'@4&$')+ll11ll+']'),console['log']('助力码:\x20['+$[Ili1I1(0x25f,'J2m1')]+']'),$[Ili1I1(0x164,'nrCh')][Ili1I1(0x1cf,'Ix0i')]({'userName':$[Ili1I1(0x348,'HScl')],'tuanInfo':$['groupId']});}else{if(ll11i1[Ili1I1(0x2af,'kYMm')](I1iI1I[Ili1I1(0x224,'ukk(')],0x3)){if(ll11i1[Ili1I1(0x13d,'Txwq')]!==ll11i1['zGxfR']){let IIIIll=liIlll?.[Ili1I1(0x31a,'XMAz')]?.[Ili1I1(0x288,'(X3a')]?.[Ili1I1(0x2ed,'IYg8')]?.[Ili1I1(0x2fd,'g5DL')](liiiii=>liiiii[Ili1I1(0x19e,'!8mB')])?.[Ili1I1(0x13b,'2Vk6')](',')||'空气';console[Ili1I1(0x1d2,'CzHy')]('已完成组团['+I1iI1I['groupStatus']+Ili1I1(0x185,'KGWB')+IIIIll+']');}else IlIll1['groupId']=IlIII?.['data']?.[Ili1I1(0x286,'NH)l')],ilil1l[Ili1I1(0x2a3,'SDM[')]('开团成功,\x20助力码:\x20'+illlIi[Ili1I1(0x299,'v7s!')]),I1lIii[Ili1I1(0x2e7,'XMAz')]['push']({'userName':IiI1I[Ili1I1(0x1c7,'g4Um')],'tuanInfo':illlIl[Ili1I1(0x26b,'[(P*')]});}else ll11i1[Ili1I1(0x1a3,'YI&t')]!==ll11i1[Ili1I1(0x1b2,'Gbcp')]?ll1il[Ili1I1(0x24a,'oX%H')](Ili1I1(0x269,'(X3a')+IiiIiI['need_num']):console[Ili1I1(0x161,'Gbcp')](Ili1I1(0x1ac,'!(*x')+I1iI1I[Ili1I1(0x34c,'@4&$')]+']');}}else I1lIll='0'+I1lIli;}else console[Ili1I1(0x1ad,'J2m1')](Ili1I1(0x14e,'kYMm'));}}}}else{$[Ili1I1(0x280,'cUzm')]=liIlll?.[Ili1I1(0x208,'T3K*')]||liIlll?.['echo'],console[Ili1I1(0x2a5,'JqPL')]('进入开团主页失败['+liIlll[Ili1I1(0x295,'L(!d')]+Ili1I1(0x20e,'HScl')+$['krmsg']);if($[Ili1I1(0x245,')27Z')]?.[Ili1I1(0x27e,'T4TB')](ll11i1[Ili1I1(0x328,'rfSb')])){if(ll11i1[Ili1I1(0x2ca,'*JIb')]!=='TKIBm')$[Ili1I1(0x1ee,'XMAz')]=!![];else{IiilI1[Ili1I1(0x313,'HScl')](IIII1l)[Ili1I1(0x1a8,'HScl')](l1iIi1=>{const lI1I1i=Ili1I1;IlI11[lI1I1i(0x307,'g4Um')](iIIIIl[l1iIi1]);});if(IlI1I['env'][Ili1I1(0x1c6,'g4Um')]&&liiil1['pBtXB'](II11Ii[Ili1I1(0x206,'lE1^')]['JD_DEBUG'],Ili1I1(0x1f8,'J2m1')))II11Il[Ili1I1(0x1fa,'Mg%2')]=()=>{};}}}}else $[Ili1I1(0x2ea,'n[M8')]=liIlll?.['message']||liIlll?.['echo'],console[Ili1I1(0x32f,'nrCh')](Ili1I1(0x254,'[(P*')+liIlll[Ili1I1(0x29e,')FC2')]+']:\x20'+$[Ili1I1(0x24b,'*JIb')]);}else l1il1l[Ili1I1(0x2c9,'!(*x')]=liIil?.[Ili1I1(0x21f,'*JIb')]||IllI1I?.[Ili1I1(0x29a,'Gbcp')],liIii[Ili1I1(0x252,'(X3a')]('进入开团主页失败['+II1ll1[Ili1I1(0x2d1,'g4Um')]+']:\x20'+IlI1Ii[Ili1I1(0x1eb,'tfPX')]),i11I1I['krmsg']?.['includes'](liiil1[Ili1I1(0x14f,'Txwq')])&&(ll1['activityEnd']=!![]);}}catch(llIil){ll11i1[Ili1I1(0x1c1,'$^^5')](ll11i1[Ili1I1(0x16e,'tozn')],Ili1I1(0x28c,'tozn'))?$[Ili1I1(0x2ae,'R@6f')](llIil):IlIlli['log'](il1i1i);}finally{ll11i1[Ili1I1(0x213,'NLW7')](l1i11l);}else IiI11[Ili1I1(0x259,'$^^5')](lli);});});}async function superFission_openGroup(){const liI1II=Ii1II1,IIIIi1={'oKLRG':function(I1ll1l,I1ll1i){return I1ll1l==I1ll1i;},'aXcOt':liI1II(0x218,'oX%H'),'GlkvD':function(i11iII,lI1Ii1){return i11iII!==lI1Ii1;},'nPLgZ':liI1II(0x1c3,'tfPX'),'hgcRo':function(i1I11,I1I1i1){return i1I11===I1I1i1;},'bkYIo':liI1II(0x257,'bmK4'),'cDWpS':'zrWCa','LGqJY':function(i1I1l){return i1I1l();},'QIYtI':'api.m.jd.com','cGkHa':liI1II(0x212,'Txwq'),'fpVRW':function(i1I1i,IIiiII){return i1I1i+IIiiII;},'ORCRf':liI1II(0x35b,'6@Vk'),'vJUGi':function(llIiI,Ilill){return llIiI*Ilill;}},ii1IIl=liI1II(0x354,'IYg8')+$['activeId']+'\x22,\x22orderNo\x22:\x22\x22,\x22pdMiniappId\x22:\x22\x22,\x22pdVenderId\x22:\x22\x22,\x22pdProjectId\x22:\x22\x22,\x22pdTaskId\x22:\x22\x22}';$[liI1II(0x241,'XXf6')]=Date[liI1II(0x147,')FC2')]()/0x3e8|0x0;let ii1IIi={'url':liI1II(0x32e,'NLW7')+$[liI1II(0x18d,'*JIb')],'body':liI1II(0x181,'NLW7')+ii1IIl,'headers':{'Host':IIIIi1[liI1II(0x352,'R@6f')],'Accept':IIIIi1[liI1II(0x154,'duuu')],'Cookie':IIIIi1['fpVRW'](cookie,liI1II(0x135,'1OOu')+$[liI1II(0x1f9,'YI&t')]+liI1II(0x239,'Gbcp')),'User-Agent':$['UA'],'Accept-Language':IIIIi1[liI1II(0x2b5,'kYMm')],'Accept-Encoding':liI1II(0x2cc,'!8mB'),'Referer':'https://servicewechat.com/wx91d27dbf599dff74/665/page-frame.html'},'timeout':IIIIi1['vJUGi'](0xa,0x3e8)};return new Promise(Ilili=>{const i1Iii1=liI1II,I1ll1I={'ECqaG':function(Iii1I1,i11iI1){return Iii1I1<i11iI1;},'mneUV':function(Iii1II,llIlI){return IIIIi1['oKLRG'](Iii1II,llIlI);},'ubnZn':IIIIi1[i1Iii1(0x196,'IYg8')],'dEXKk':function(l1iIil,l1iIii){return l1iIil!==l1iIii;},'JlUNL':function(illllI,II1II){return IIIIi1['GlkvD'](illllI,II1II);},'ABcST':IIIIi1[i1Iii1(0x276,'Gbcp')],'CslQt':function(ii1l11,IIIIii){const l1liii=i1Iii1;return IIIIi1[l1liii(0x2dd,')27Z')](ii1l11,IIIIii);},'pCXKo':IIIIi1[i1Iii1(0x184,'Txwq')],'uLJLb':IIIIi1[i1Iii1(0x1ab,')27Z')],'jOoxc':function(liiill,IIIIil){return liiill===IIIIil;},'Catfi':function(lI1lIl){const I1Ili1=i1Iii1;return IIIIi1[I1Ili1(0x193,'R@6f')](lI1lIl);}};$[i1Iii1(0x237,')27Z')](ii1IIi,(liiili,I1ll11,lI1lIi)=>{const l1liil=i1Iii1,Iii1Ii={'qFTfK':l1liil(0x22b,'XMAz')};if(I1ll1I[l1liil(0x1fe,'KGWB')](l1liil(0x120,'ukk('),l1liil(0x1bd,'JqPL')))return i1i11l[l1liil(0x2f3,'n[M8')](i1i11i);else try{if(liiili)$['log'](liiili);else{lI1lIi=JSON[l1liil(0x220,'bmK4')](lI1lIi);if(lI1lIi[l1liil(0x18e,'ukk(')]==0x0){if(lI1lIi['subCode']==0x0)I1ll1I[l1liil(0x26c,'L(!d')](l1liil(0x335,'HScl'),I1ll1I[l1liil(0x27b,'duuu')])?($['groupId']=lI1lIi?.[l1liil(0x320,'$^^5')]?.[l1liil(0x2be,'duuu')],console[l1liil(0x17e,'duuu')]('开团成功,\x20助力码:\x20'+$[l1liil(0x226,'$^^5')]),$[l1liil(0x330,'IYg8')]['push']({'userName':$[l1liil(0x1cc,'lE1^')],'tuanInfo':$[l1liil(0x225,')FC2')]})):(ilil1I['krmsg']=i11il1?.[l1liil(0x2d8,'2Vk6')]||ii1iiI?.[l1liil(0x219,'!(*x')],lllilI[l1liil(0x252,'(X3a')](l1liil(0x102,'cUzm')+ilil11[l1liil(0x1ff,')27Z')]+l1liil(0x297,'XMAz')+illlI1[l1liil(0x176,'nrCh')]));else{if(I1ll1I[l1liil(0x347,'JPua')](l1liil(0x270,'tozn'),I1ll1I[l1liil(0x166,'g4Um')])){lI1IiI[l1liil(0x17e,'duuu')](l1liil(0x261,'1OOu'));for(let llIl1=0x0;I1ll1I[l1liil(0x2b1,'Mg%2')](llIl1,i1l11[l1liil(0x1e9,'NH)l')]);llIl1++){iIIII1['log'](l1liil(0x2aa,'IYg8')+(llIl1+0x1)+']个变量:\x20export\x20jd_wechat_openGroup_activeId=\x22'+i1l1ll[llIl1]+'\x22');}}else console[l1liil(0x25b,'Ix0i')](l1liil(0x228,'(X3a')+lI1lIi['subCode']+l1liil(0x20e,'HScl')+lI1lIi?.['message']);}}else $['krmsg']=lI1lIi?.[l1liil(0x1c2,'J2m1')]||lI1lIi?.[l1liil(0x138,'Txwq')],console[l1liil(0x303,'T4TB')](l1liil(0x1e3,'g5DL')+lI1lIi[l1liil(0x285,'IYg8')]+l1liil(0x2f1,'[(P*')+$[l1liil(0x267,'g4Um')]);}}catch(l1iIiI){if(I1ll1I[l1liil(0x126,')FC2')]===l1liil(0x132,'L(!d'))$['log'](l1iIiI);else{iliIIl[l1liil(0x30b,'6@Vk')](Iii1Ii['qFTfK']);return;}}finally{if(I1ll1I[l1liil(0x20c,'!(*x')]('LfnCt','LfnCt'))I1ll1I[l1liil(0x316,'cUzm')](Ilili);else{if(I1ll1I[l1liil(0x229,')27Z')](typeof liil1I,l1liil(0x234,'J2m1')))try{return lIli1l[l1liil(0x10a,'[(P*')](lillIi);}catch(IIIIiI){return lI1lil['log'](IIIIiI),i1l1iI['msg'](liil1l['name'],'',I1ll1I['ubnZn']),[];}}}});});}async function superFission_joinGroup(II1I1){const i1ll1=Ii1II1,i1i111={'sUQGf':function(lIill1,iiI1i1){return lIill1===iiI1i1;},'glulF':i1ll1(0x27a,'IYg8'),'bPhAJ':i1ll1(0x1ed,'6@Vk'),'boZwl':'hMkzT','cjfCt':function(ilIlII,iIiil1){return ilIlII==iIiil1;},'yZIHl':function(l1lI1i,l1lI1l){return l1lI1i+l1lI1l;},'wLlQd':function(l1I1Il,l1I1Ii){return l1I1Il|l1I1Ii;},'fpUrl':function(IIlili,IIlill){return IIlili/IIlill;},'vWKcY':i1ll1(0x165,'@4&$'),'kecQW':'zh-Hans-CN;q=1','YbbAG':'gzip,\x20deflate,\x20br','RifHi':i1ll1(0x262,'bmK4'),'aniMT':function(IllllI,liliil){return IllllI*liliil;}},ii1l1I=i1ll1(0x1de,'Gbcp')+$[i1ll1(0x21d,'n[M8')]+i1ll1(0x271,'2Vk6')+II1I1+i1ll1(0x198,'gSo8');$[i1ll1(0x2d9,'JPua')]=i1i111[i1ll1(0x236,'2Vk6')](i1i111[i1ll1(0x211,'Gbcp')](Date[i1ll1(0x24c,'J2m1')](),0x3e8),0x0);let lI1lII={'url':'https://api.m.jd.com/superFission/joinGroup?g_ty=ls&g_tk='+$[i1ll1(0x314,'g5DL')],'body':i1ll1(0x293,'JqPL')+ii1l1I,'headers':{'Host':i1i111[i1ll1(0x1d9,'XXf6')],'Accept':i1ll1(0x1d3,'1OOu'),'Cookie':i1i111['yZIHl'](cookie,'wq_addr='+$[i1ll1(0x221,'T4TB')]+';\x20Domain=jd.com;;'),'User-Agent':$['UA'],'Accept-Language':i1i111[i1ll1(0x16d,'YI&t')],'Accept-Encoding':i1i111[i1ll1(0x1b4,'XMAz')],'Referer':i1i111[i1ll1(0x2c4,'J2m1')]},'timeout':i1i111['aniMT'](0xa,0x3e8)};return new Promise(I1iil1=>{const lilI1I=i1ll1,lIillI={'slQEJ':lilI1I(0x1f3,'nrCh'),'dbvWX':function(lI1il1,liliii){const lI1I1l=lilI1I;return i1i111[lI1I1l(0x130,'L(!d')](lI1il1,liliii);}};$[lilI1I(0x2f6,'R@6f')](lI1lII,(iIiilI,iIiiil,iIiiii)=>{const Il1Il=lilI1I;if(i1i111['sUQGf'](i1i111['glulF'],i1i111[Il1Il(0x1fb,'YI&t')]))try{if(i1i111['bPhAJ']==='CCzXe'){if(iIiilI)$[Il1Il(0x339,'2Vk6')](iIiilI);else{if(i1i111['boZwl']==='ETuWi'){i1III[Il1Il(0x15b,'NH)l')](lIillI['slQEJ']);return;}else{iIiiii=JSON['parse'](iIiiii);if(i1i111['cjfCt'](iIiiii[Il1Il(0x173,'NH)l')],0x0)){let ilIlIl=iIiiii?.[Il1Il(0x2fb,'duuu')];switch(ilIlIl){case 0x0:console['log'](Il1Il(0x10f,'v7s!'));break;case 0x64:$[Il1Il(0x1e5,'lE1^')]=![],console[Il1Il(0x339,'2Vk6')](Il1Il(0x2f7,'lE1^'));break;case 0x66:$[Il1Il(0x22d,'Gbcp')]=![],console['log']('您未登录或者登录失效了，先去登录吧');break;case 0x6b:case 0x6d:$[Il1Il(0x145,'6@Vk')]=![],console[Il1Il(0x231,'tfPX')](Il1Il(0x309,'(X3a'));break;case 0x3f9:console[Il1Il(0x179,'KGWB')](Il1Il(0x2ad,'R@6f')),$[Il1Il(0x156,'YI&t')]['shift']();break;case 0x400:$[Il1Il(0x169,'1OOu')]=![],console['log']('抱歉，您今日参团次数已达上限，明天再来吧');break;case 0x404:console[Il1Il(0x2a5,'JqPL')]('限流');break;default:console['log'](iIiiii?.[Il1Il(0x223,'XMAz')]);break;}}else $[Il1Il(0x174,'NH)l')]=iIiiii?.['message']||iIiiii?.[Il1Il(0x1dd,'tozn')],console[Il1Il(0x30f,'HScl')](Il1Il(0x24d,'J2m1')+iIiiii[Il1Il(0x141,'JPua')]+Il1Il(0x2f2,'R@6f')+$[Il1Il(0x267,'g4Um')]);}}}else iIIl1l['log'](Il1Il(0x22c,'kYMm')+lIillI['dbvWX'](llIli1,0x1)+Il1Il(0x2b4,'2Vk6')+iliIII[iIIl1i]+'\x22');}catch(ll1llI){$[Il1Il(0x2a5,'JqPL')](ll1llI);}finally{I1iil1();}else llliil[Il1Il(0x24a,'oX%H')]('没有获取到开团信息');});});}function getAuthorCodeList(l1lI11){const lI1iii={'jcbyT':'uIChf','XFMKB':function(i11lIi,ll1ll1){return i11lIi===ll1ll1;},'RZAyo':'pVHHi','xXeGV':'未获取到数据,请重新运行'};return new Promise(lilil1=>{const lI1I1I=iii1II,lIilli={'blZAQ':lI1iii['jcbyT'],'hsfSz':function(iiI1iI,I1iiil){const i1IiiI=iii1II;return lI1iii[i1IiiI(0x2d0,'!8mB')](iiI1iI,I1iiil);},'LNFwv':lI1iii[lI1I1I(0x253,'bmK4')],'IhHgS':lI1iii[lI1I1I(0x2c1,'rfSb')]},I1iiii={'url':''+l1lI11,'timeout':0x2710,'headers':{'User-Agent':'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'}};$[lI1I1I(0x2a9,'g4Um')](I1iiii,async(Illll1,lI1iil,lIilll)=>{const l1lII=lI1I1I;if(lIilli['blZAQ']!==lIilli[l1lII(0x308,'lE1^')])liiIIi['log'](lil11I);else try{if(lIilli['hsfSz']('ghLzX',l1lII(0x346,'ukk(')))I1lIil['log']('开团失败['+IIIl1i[l1lII(0x1af,'1OOu')]+l1lII(0x2ef,'*JIb')+liiII1?.[l1lII(0x298,'L(!d')]);else{if(Illll1){}else lIilll?lIilli['hsfSz'](lIilli['LNFwv'],l1lII(0x2ac,'L(!d'))?(IIII1I[l1lII(0x104,'tozn')](Iii111),l1l1II['log'](0xb)):lIilll=JSON['parse'](lIilll):console[l1lII(0x199,'IYg8')](lIilli[l1lII(0x1fc,'L(!d')]);}}catch(li1I){$[l1lII(0x31c,'XXf6')](li1I,lI1iil),lIilll=null;}finally{lilil1(lIilll);}});});}function timestampToTime(IIliil){const lilI1l=Ii1II1,ll1liI={'PfBup':function(iiI1ii,I1iii1){return iiI1ii||I1iii1;},'fagks':lilI1l(0x33f,'L(!d'),'GVfJA':function(lilii1,iIiii1){return lilii1<iIiii1;},'iMyax':function(ll1lil,IIlil1){return ll1lil*IIlil1;},'ozfwv':function(I1Illl,ll1lii){return I1Illl+ll1lii;},'zCCes':function(li11,ilIlI1){return li11==ilIlI1;},'OCsht':function(I1Illi,IIlilI){return I1Illi+IIlilI;},'GDtTS':function(Illlll,Illlli){return Illlll+Illlli;},'svcEr':function(llli1l,lI1ii1){return llli1l+lI1ii1;},'tuMjF':function(llli1i,iiI1l1){return llli1i+iiI1l1;},'SVoEZ':function(i11lI1,liliiI){return i11lI1+liliiI;},'IgXrl':function(ilIIiI,lIl1ii){return ilIIiI+lIl1ii;}};var lI1iiI=new Date(IIliil),i11lII=ll1liI['ozfwv'](lI1iiI[lilI1l(0x338,'T3K*')](),'-'),iIIlli=(ll1liI['GVfJA'](lI1iiI[lilI1l(0x2ec,'kYMm')]()+0x1,0xa)?'0'+(lI1iiI['getMonth']()+0x1):ll1liI[lilI1l(0x268,'g5DL')](lI1iiI[lilI1l(0x17b,'rfSb')](),0x1))+'-',ll1li1=lI1iiI[lilI1l(0x233,'kYMm')]()+'\x20';if(ll1liI['zCCes'](ll1li1['length'],0x2)){if('zknCJ'!=='zknCJ'){iilll=ll1liI[lilI1l(0x325,'ukk(')](il1iI1,0x20);let Ii1l11=ll1liI[lilI1l(0x1f7,'oX%H')],IIlii1=Ii1l11[lilI1l(0x114,'[(P*')],iiI1lI='';for(let IliIlI=0x0;ll1liI[lilI1l(0x291,'v7s!')](IliIlI,I1iIIi);IliIlI++)iiI1lI+=Ii1l11[lilI1l(0x2ab,'oX%H')](I1iIIl[lilI1l(0x2e2,'gSo8')](ll1liI[lilI1l(0x31d,'(X3a')](lI1IIl[lilI1l(0x31b,'T4TB')](),IIlii1)));return iiI1lI;}else ll1li1=ll1liI['OCsht']('0',ll1li1);}var iIIlll=ll1liI[lilI1l(0x340,'g4Um')](lI1iiI[lilI1l(0x1f0,'Gbcp')](),':'),I1iiiI=ll1liI['svcEr'](lI1iiI[lilI1l(0x1c5,'!8mB')](),':'),iiI1il=lI1iiI[lilI1l(0x256,'Gbcp')]();return ll1liI[lilI1l(0x317,'[(P*')](ll1liI[lilI1l(0x194,'JPua')](ll1liI[lilI1l(0x304,'IYg8')](ll1liI[lilI1l(0x2e3,'g5DL')](ll1liI[lilI1l(0x244,'SDM[')](i11lII,iIIlli),ll1li1),iIIlll),I1iiiI),iiI1il);}function jsonParse(IIliiI){const l1liiI=Ii1II1,i1111l={'zthpN':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie','CpDxa':function(i1111i,iliiI1){return i1111i==iliiI1;},'tPQmp':'string','ZBRNL':l1liiI(0x10e,'J2m1'),'huryT':l1liiI(0x29f,'CzHy')};if(i1111l[l1liiI(0x227,')27Z')](typeof IIliiI,i1111l[l1liiI(0x265,'duuu')])){if(i1111l[l1liiI(0x159,'KGWB')]===i1111l[l1liiI(0x1ba,')FC2')])return llIll[l1liiI(0x1bb,'ukk(')](il1iII),iilli['msg'](IlllIl['name'],'',i1111l['zthpN']),[];else try{return JSON[l1liiI(0x195,'rfSb')](IIliiI);}catch(ilIIii){return console['log'](ilIIii),$['msg']($[l1liiI(0x16b,')27Z')],'',l1liiI(0x22f,'[Glx')),[];}}}function randomString(l1111){const I1iI1=Ii1II1,lIl1l1={'qGPJy':function(li1l,iliiII){return li1l||iliiII;},'vWqFc':I1iI1(0x24e,'2Vk6'),'rrwNs':function(iiI1li,IIliii){return iiI1li*IIliii;}};l1111=lIl1l1['qGPJy'](l1111,0x20);let li1i=lIl1l1[I1iI1(0x11a,'Ix0i')],ilIIil=li1i[I1iI1(0x1e8,'[Glx')],lIili1='';for(let i1111I=0x0;i1111I<l1111;i1111I++)lIili1+=li1i[I1iI1(0x33e,'tozn')](Math['floor'](lIl1l1['rrwNs'](Math['random'](),ilIIil)));return lIili1;}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) }
