From d878b910bb38e4c531330298a44e9695455cfc7c Mon Sep 17 00:00:00 2001 From: KingRan Date: Sun, 29 Oct 2023 12:06:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_fruit_draw.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 jd_fruit_draw.js diff --git a/jd_fruit_draw.js b/jd_fruit_draw.js new file mode 100644 index 0000000..e9327bb --- /dev/null +++ b/jd_fruit_draw.js @@ -0,0 +1,10 @@ +/* +东东农场幸运转盘 + +cron "45 5 * * *" script-path=jd_fruit_draw.js, tag=东东农场幸运转盘 + + */ +const $ = new Env('东东农场幸运转盘'); +var version_='jsjiami.com.v7';function lI1IlI1i(_0x136077,_0x9aa16a){const _0x1e2096=iiiI1lli();return lI1IlI1i=function(_0x53c4b4,_0x7b1f00){_0x53c4b4=_0x53c4b4-0xef;let _0x4ab810=_0x1e2096[_0x53c4b4];if(lI1IlI1i['jFbKrW']===undefined){var _0x238e26=function(_0x48b370){const _0x2b529a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x354484='',_0x59ec29='';for(let _0x2d4888=0x0,_0x5232b3,_0x15b837,_0x4b6b0f=0x0;_0x15b837=_0x48b370['charAt'](_0x4b6b0f++);~_0x15b837&&(_0x5232b3=_0x2d4888%0x4?_0x5232b3*0x40+_0x15b837:_0x15b837,_0x2d4888++%0x4)?_0x354484+=String['fromCharCode'](0xff&_0x5232b3>>(-0x2*_0x2d4888&0x6)):0x0){_0x15b837=_0x2b529a['indexOf'](_0x15b837);}for(let _0x4b3f4f=0x0,_0x1f0297=_0x354484['length'];_0x4b3f4f<_0x1f0297;_0x4b3f4f++){_0x59ec29+='%'+('00'+_0x354484['charCodeAt'](_0x4b3f4f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x59ec29);};const _0x4aab0e=function(_0x2f79e6,_0x3d5bdb){let _0x2ca3cb=[],_0x2bd447=0x0,_0x32a1fd,_0x18d81d='';_0x2f79e6=_0x238e26(_0x2f79e6);let _0x1b65d9;for(_0x1b65d9=0x0;_0x1b65d9<0x100;_0x1b65d9++){_0x2ca3cb[_0x1b65d9]=_0x1b65d9;}for(_0x1b65d9=0x0;_0x1b65d9<0x100;_0x1b65d9++){_0x2bd447=(_0x2bd447+_0x2ca3cb[_0x1b65d9]+_0x3d5bdb['charCodeAt'](_0x1b65d9%_0x3d5bdb['length']))%0x100,_0x32a1fd=_0x2ca3cb[_0x1b65d9],_0x2ca3cb[_0x1b65d9]=_0x2ca3cb[_0x2bd447],_0x2ca3cb[_0x2bd447]=_0x32a1fd;}_0x1b65d9=0x0,_0x2bd447=0x0;for(let _0x26e0b3=0x0;_0x26e0b3<_0x2f79e6['length'];_0x26e0b3++){_0x1b65d9=(_0x1b65d9+0x1)%0x100,_0x2bd447=(_0x2bd447+_0x2ca3cb[_0x1b65d9])%0x100,_0x32a1fd=_0x2ca3cb[_0x1b65d9],_0x2ca3cb[_0x1b65d9]=_0x2ca3cb[_0x2bd447],_0x2ca3cb[_0x2bd447]=_0x32a1fd,_0x18d81d+=String['fromCharCode'](_0x2f79e6['charCodeAt'](_0x26e0b3)^_0x2ca3cb[(_0x2ca3cb[_0x1b65d9]+_0x2ca3cb[_0x2bd447])%0x100]);}return _0x18d81d;};lI1IlI1i['qKetnW']=_0x4aab0e,_0x136077=arguments,lI1IlI1i['jFbKrW']=!![];}const _0x26489e=_0x1e2096[0x0],_0x5379f1=_0x53c4b4+_0x26489e,_0x588d61=_0x136077[_0x5379f1];return!_0x588d61?(lI1IlI1i['dbTwVK']===undefined&&(lI1IlI1i['dbTwVK']=!![]),_0x4ab810=lI1IlI1i['qKetnW'](_0x4ab810,_0x7b1f00),_0x136077[_0x5379f1]=_0x4ab810):_0x4ab810=_0x588d61,_0x4ab810;},lI1IlI1i(_0x136077,_0x9aa16a);}function iiiI1lli(){const IlI1iiIl=(function(){return[...[version_,'ggxjrsQjiKanmiVI.xKcXNqoGmPM.Cnvt7yFYOMn==','W7/dNW7dJHRdNq','WORcNCkFx3tdRa','fmolWOPCsq','ob44bZKHWRK','AIJdN8kGWR4','W7/dLsZdNW8','adVcRJP8','kCk3WR1npW','WOBcK8kCx3NdRa','WOLGqIBcVa','sCo7hH7dMa','WRtdMHhdUcddH8k4','zSoJW6LT','WQ/cNmoWW7y','WQK1BK3dNq','W4RdKKtcL8obW45r','s8k8WQdcUSolnmoGdW','a8ozCmoloG','yCkUo8oHBNO','WPVcQYiyW5S','WRdcJmkqsfNdUCkYDW','dYpcPJncWOS','W4K9DCkLWOS','ECkLWQf1W6u','mHGX','ymkVWRzNW5m','f8kyW6jHW54','wSkKWQXxW6q','W5DxerRcUXxcUW','w8kNWQjd','W78nW6fvvmkW','A8kdzeWAkdLI','44k/5OYf56Eq44ox6k6p5yE96iY05y6G5lQr5lUs6lwi5y+75lICmgVdK8kjyGmz55Mn5O2A5l2N55w7WO8eFmkiW77dT+EAJEs5Qos5H+ETK+wlQoIoSownRa','pryIbt0','WQmsg3bOlmoEEa','jCkEWRrNgq','qCkXtfvJ','cmk5WPXZdq','W4WEW5zMwq','WRPzDxns','dYpcRt0','W79IDmk2','5A+t5OQY5lI+5yQA5Asm6lAjvG','iepcSGTOWR/dJa','WQpcGeP3ga','wI3dTZWo','dCoijdtdIaa','5Q6U5P2c5lY3','cc3cVtK','wSkpu2LL','WONcGLnm','qmo6gtpdKW','zCkUeG','hH8mWQS','WQHNDaG','gXxcPIjC','WPldIqFdGmoM','WP/cOHGzW44','WQfSW74VWOu','WOFcPtC','tGddMYiw','EmoJW7z7wa','WQ7cQflcNCo0ra','AConWOZcIG','acRcPa1c','WQ9PzaW','WONcIrqoW4G','WPBcI8khu3NdV8k2Dmop','WOpcU8k6jg8','WPCUW6u','WOhdSCoYgmoTWOO1W6Dhvq7cJW','EfitWO4mWODnW4HCWQGPf8ojpG','fmo4WQPtvq','mYirkJi','xgVcJmkWW4FdPmkiW70','WQmWrG','W4NdK0a','WQbAC3z0','D8kGWObjW5q','WQxdV8oaW6XsWP/cQEw9TUwNTUodNUs7GUs4KoI0UUwoPa','yMiQWQa7','WQrYDbNcVLPNW7xdMSkHgY9tCNldL3tcSSownLa','W5vafZpcQqy','uSk/WOreW6q','yGNcSCoV','WQbxBM4','W5ddTSo1t8oP','W7iWWP1cW47dNLXpW6aXd27cRG','WPlcM8kybubSyW','WQLODG','W4RdJe/cLCo2','CSo6WRK4WRm/','WQ9PBWlcPau','WO0nzv/dKG','WQNcLhBcUI3cOLJdVSo3W4TCWReWWOBcR8oEvCo4ga','W4/dRc/dVsBdTCkE','x8kFu1KH','WRjQsxz6','WRtcKSo+','cslcQJDpWOS','W4JdNelcSW','WRhcTMxcNGe','w8kcC3mNlG','qCkHWRzpW6m','WQTiD2Xs','BCkaWPtcMmol','WRJcHNNcOCot','qSk+F1fN','pvhcJq9BWQ/dKSoT','fCkYWOdcM24','WQJdKbNdVCoNFG','xSk9WQHfW7tdNSoSpL0z','eSolpcldJG','W4KzyCk+WP0','WQ3cPuZcJmoYqLXKbsulW43dLCof','BhBcISkTW63dOa','mHGIeJa/WRLokmoZu8ogxCk9','W5RcTCknqSk6W5O','mru8aZy5','WRG8dw9Z','WOdcJCkhD2tdVW','WR8yrwRdRa','A8kXhmoRzgVcJ8o1cvtcSqNdIG','tSkoWQ7cPmoE','6lYd5yAy6Asp6Ao35AEb6lwjla','A8kOzhC','W6RdUgBcT8o5','WRFdKaZdJa','iSk4W4nPW65Lxmo+nf4','W6FcQmkUzmkv','W78QW6nvAG','kL/cK0O8W6dcKSoQv8kIWO3cIWBdOJpdJIpdOSo8','WOJcJ1pcU8oy','5A6e5OUn5lQo5yIV5As76ls6W7u','cmkvWOrmea','vsddSJOq','t0ZcRCkGW6q','E8kcWOfnW4xdVmk+Bq','5B2F5yI65OIP5Asz5Q2N5PAv77Y/','W4NcG8kiDCko','eSkfW79PW7G','5lMH5lMN6lwE5y+S','t8ole8ogW5S','W4HEASkoWPS','56Qp5RcqkW','d8kIWQD6eG','WOuxsu/dOW','WQXuAg9f','44oF5O6p56sB44cPW5RdUSkGBmoOWRJLTlxLPRZMLR0','W6tdNKdcI8oI','h8kdWPH4lq','WOGOgNDr','WQCEdh5t','5Q2I5P+Y5l6n','zHldOcOZ','v8okWOlcVHHKpComWOPgBmoPW4myzh3cU2/dKmovWRRcKs3cVmkGW7qfFtGvzx5p','WQvQW5O','5B625yQY5OMi5AwS5QY25PEO77+f','lCodWQTFuSob','qSoBWOhcUtvOcmorWO5mCq','k8odWRzqACovcSoC','eSkSW75RW44','umoBWP7cOrq','w8kGWQDuW4hdGW','mmk8W6vHW7nP','WPT8rM5V','WQZcUv1coW'],...(function(){return[...['Bmk5F3nhrrS4sCkyW7PmpSo5WPZdQtbBtq','vSkPWQTd','WOlcP8olW4BcGG','lCoRhZFdMG','WQupdgTvD8kCmG5qjmoFWOjRd8k4W4L3z0H7WPhcJmobW6qdW6VdJ3NcIa','iHKlWQuR','5P+r6i+25y2u5yMZ5Ps35OYUeoIUTUMhMEAwKEI9U+IGKW','imk/W6fGW7G','WOjLB8oT','WOFcPtCUW4WZ','W585W7P7vG','WOJcKvvGhha','W6tdJs7dHrhdLq','WOpcGKPi','nCorWQ9sxmobe8kxW77dKL8uWRyC','gtNcUcLp','wCkQWQvcW6xdKCkZyszoW4hdMmobgmkfW78','WRhdMq/dUSoh','WOe3W7agaq','WQldUdtdSSow','Da3cSSoVaSoFWQxcT8ouwa','zCkhgSoQsW','WQfDFNm','W4JdIbddJqa','WQvOyWxcUaqTWQK','wrxdRtGm','dSofkq','W4WVW4LJtq','WPuUW7uGkc5ikhPuW44','WRhcUfhcGSoYFKrkca','CmoUW5vlCa','WQDHW5GtWPFcNau','WRZcLNhcUa/cSLZdSG','vf8rWQSbWO1UWRxdUmkKWQvN','W648thtcIG','W5JdR27cSCom','n8owWRfltSkwvCkwW7ZdJvSuWQ0fmvHKW6JdGHNcTa','FmoJW7DJBJPqnq/dLSouWPddRq','u0u2WQaP','W7WIgN1HiSov','WOZcK1DbbNtdKYJdTCkOcSkBc8ourSk1y8orW5xcIfK/WQJdOLSKWQK1WQe9W7tdQ8oK','A8oTW6bT','WQGAif9d','WPShzMZdUG','jLxcNIfPWQVcTSoHW6u','w8kYa8kjrmoVW7DaiwbMjG8','yCk/jmo2rW','kSkMWRjjkG','vemEWR4F','ibWnWRWS','W4RcU8kC','hNRcLt57','EXBdVtS','qSoAkHRdRW','W4PXWRn0FZn5de1UW4G','jSkcWPdcP1G','WPJcVIicW5aMqXBcIW','qmkhW7HmW6O','ymkiWOZcUSoHiSouoXG','jrKTWRaUWQTuWRC','EmoTW7D8','W6OdW5vExa','uSkFzNSMoW','WPdcISkdB2m','6i6A5BYT5l2m5Oga5yQTWPO','vadcVmoHia','WOlcN1dcL8oM','W6mxsG','nmozpqJdQsf8WRRdG254tmkfpfldMSoZlxRdSmkwEW','qmkXW4DpW40','zSo+grFdGG','WQlcPvZcNq','W6HSCSkJ','ax7cTtzk','WO3cVCkAegK','WOBcKmkrxW','5P6F6k6s5lQz5yMV5AwE6lEmda','umoabt3dGW','lLxcIGbUWQldGW','WQzxya','5A6H5OQQ5lQV5yIbWRNMIiVLPRRMRRFMLjxVV6C','WR3dRJ3dJmoa','W4pdStFdJqi','rmoBWPZcTH5Q','WO3cI8kbsMtcOSoWpCoAW4VdHH9dr8kKdKdcHG3dUmo6W4iLW5NcRLfQWRyeW43cHmofW5awWPBdReldTIpcTHVcKCoVtmoTWPdcUZdcGhWGt8kHW4rZWQ0DW4tcUNFdKCoOfSkRmbDYmSoPhhxdRXrVW6tdSmogWPFcTSoAW5FdTdiE','hZiuWQ8i','n8ozkYpdPrvAWPu','eSkqWOn2lCosz20/Cs7dH1G','jepcMq','w1lcHmkGW4O','mmkvWRPyoa','6lYr5ywD6AAr6Ag15Asg6lwfWPW','WQJcMCkFd3u','W6FcLSkgWOuF','xmoEWQ3cPGvRnmoAWRXhD8kR','ESk1q1TE','mmo2wCoWmG','WRNcJConW6pcGWDmeq9vs8kw','m0dcMYDN','WQiSrG','FCklWO1VW7K','ESk4aSoVEhVcJCoPc0i','iSoqD8oCjW','rshcTCoIcq','f8kWWOdcGNZdUuiJW5e','jmkTW6nSW7X6Cq','zSkCW5HkW6u','dmkRWRPSna','fHumWQKBWOe','rJpdIWSdWQDWW5i','WQXRW4S','umkRWONcMCoz','rmkQW79OW6W','rmkKW69U','sSkFuKOMidPG','WRKAc3b1iSogBWfAbCozWOS','W4SOrMBcJG','WOBcL8kehur9','5y695ycYW6u','WOlcKLZcTSoJW4jwWPOiCeldMCkv','WRZcNmoTW6m','5Q+S5P2b5l2I','AGFcSCo6fCojWOJcJComxmocW63cR8oI','WQqokKH2','qmoUjGpdKW','WOxcL1nDhc3cNxpdVSkIbCoAxCkuh8kOCmosW5dcIez9W6FdSKGMW6mOWQS1W77dH8oUWQBdMSotaCoOW4PIdCkpW6u','W6PHACkTWQi','ys3cMSk2','d8oNbSkExZG','tCkza8o2wW','6l235yEy6AAG6AkN5AAr6lAifq','vmkNWQe','uSowWOxcVqq','i1tcNXr/W63dI8oysSk0W43cHfNcVM7cGNRcOmkOWRdcOCojcK3dLHbDscGpEZVcN8oBqadcGh1bkSoZomk9W4BdLSo/DSolF8oyvxe0W6dcPSksB33cG1PhbLlcSqC9W7GCgNddRSkS','zmkwWOK','WOFORyNPHQ3MLjRNMi7LV6xOJBBLJzmxE8ovFG3cK8oEi8kFyXu6W64ahSoAbmovmMGLv3BcQt/dGmkhW7ZcRCk+uSoKW4rnqmoKt13dTmoovLBdUrG','W7v3u8k1WPC','W6bIyq','44ou5O2V56we44kP6k2I5ywe6i655y6D5lI65lQc6lAP5y+l5lQfwCoKW47cHCoeWRKq55M+5OYM5lYB55sRWQRdNxVcPK1L55Me5lMh5lMn56615yU66i2f5y++','bmkvW4z+rG','WRzoW4iBWPe','xmk3x8oErW','brZcNHLb','WQeuhW','WRHNCWlcMqK8WRBdNG','fdGoWQaC','W5NdVMfEWOz3eGFcVSouWPNcTSkH','WP8Cp25k','WRFdIHZdI8oHFMCLW7e','qCovmW','WQGjcLzvkG','WRVcH21Okq','W7VdH2/cMCoY','WQFdNGRdM8o9','b8oStq','WRBcNmo0W6C','WOvlCGFcTW','d8k+WPq','vmk4u1zt','hYpcUYW','gMxcMITTW7u','W6NcPSkqWOm7','t8kVWPr/W4W','WQL+zur1','j8kkW6nPW7K','WQrxCgnydSoeW4ZcV8oSW7O','W79CzCkwWRG','DSklWQZcLCo8','WPDkyCosdG'],...(function(){return['v8kiW5T+W50','ASk8bSoRpcS','WO9PBWlcPau7WPddVW','5P6M6i665y+q5yUY5PAG5O6/iUITVUMfIoAwRUI+G+IGRq','bCoStSoofCkVWR5zdgznfIVcQq','yqtdSW','WOX1q21r','kvxcLW','ACk2dCoOyq','WOKgW6Coia','tmkehmo/Fa','nd0/cXG','wZddUaye','W73dHZhdPwNdSHVdOSoOW7DxWQ4V','cqqTWQ8H','xLK8WPm3','WQbPDb3cQbiXWPNdK8kWhgjBlW','WQxcLNBcSdm','umkrBfS','WOFcPsqFW5SZuZpcMSoAWP3cRmkCjW','WPLRCSoTatLnqxb7W4m6W4NdMW','EbJdTYeV','wCoOdmodW7K','WOXbW4GKWQq','W4yjW4bLvG','WQZcI1bigq','ACkTbCoIBW','AmkSy0HL','WQ12CaxcPamPWQ7dKSk+hc5ul3FdNxBdSConpGCzW6OKrLDMdJ7cOK7cSGG','W4bhfHy','Cmk0a8o6xW','aCofitRdGHhLT4xLP4hML4qRo1S','q8oOlHtdRq','W5XDaG','W6hdKqC','BSkZW4L/W7m','WRnHW4itWRJcHXbrW4ON','u8oqcdFdMWnQW605aMZcP8kQ','W6xdLLNcHCoL','W7lcJSkosmkr','WQHWW5GhWOxdKKSxW4aXewpcK8kzW7/cPSkNz2tcI8kZWP3cO3G6WRJcUCkMWRhcH8oEsSkMeqnuC8kskCoWWPjkWQyxW6pdQHisW6LUCrRcVmkcW4KaW59AW6ZdMSovys1wW4mwgrvaWOWfrmkRW6ZcKZhdONeiwYGCcCk2','Emk8b8o9BW','W4NcTmkgWRuD','5A6H5OQQ5lQV5yIb5AAK6lAtW4a','bCkKW5LGW4q','WOfLDCoYnYrbChT/W7GRW4a','WOxdLLrz','eCkWWP3cJuFdVq','zxFcJG','W4ddKKlcPSofW59aWRijDaldKmkdFW','qSk5W7LgW7FdGW','WQ7cRYesW5K','eeJcVWjo','zSkYaSoTzxhcRCo5fvlcVq','cslcVW','F8k9rKTc','WR0WvfBdNq','k8o6imk2qG','k8klWQRcUv0','rvFcVCkBW60','W4xdK1lcT8oy','WRhcIrKXW48','aCkuWP5CeSoDzW','BgRcM8kpW7RdOG','n8kGW7jM','kSk9W4vBW40','a8oAgJddMb97WPNdV39/hW','WOhcJea','xCk6WRrRW7pdKa','ygVcP8kTW63dOa','cJizmHm','fSkKWOxcVfW','xmkZcCkmqSoKW7bVhKH3gJ0','WQ7cK8owW7VcIG','WRbmq8oUha','W4pcS8kWrq','AmkwW7addSkDsSoEW57dIfPkWOK','zSo9n8o3W5S','kmo3WPzSEa','fH8f','wmovWOxcSr5PkmorWO1CzW','Ed7dMJGt','WP0IW5m3ca','W4pcUSkEWRiDW4FdUJvvWQ8aB3KG','WRlcP8otW7pcUG','Dmk6WPbbW4S','W7HreYFcMa','WPRcU8kYmvG','dCkKWQpcMu8','dSo7v8oTha','W5zDfZVcUWlcSG','cYNcPW1zWOldQSo0qCkqimoR','5B+85yQy5OMx5AAq5Q2z5PEf776z','fCkbvgtcHuuqW6acjLdcPCkg','WPKrW7afdq','WQRdNHpdNq','kry/eG','WQZcUv8','W5/cP8kdWRWDW7VdOHTy','WRBcS8oXW47cSG','W5/cQCkK','WOlcPdqoW4y','zSk8gmoR','5A665OQQ5lIj5yMZ5Awa6lsICa','WQhdJqZdTCoMAW','5lIC5lIU5P2O5yUF5zQY6k+E6zs05Pww5O+G5lMb56Qr77YN6kYO5Qon5PYW6iwa6lIW6k+j5As+57Y/57QA5OgU5yA3','bCoSxq','W50Jq8khWQO','WQbPzW','x8oBoSoeW7RdMW','WO1RW5yEWPRcHauxWPLWvtFdNSkcW5BcQSk6AhBcNCo9WRVcHanWWRxdH8kTWRhcHmkuvCkajH4Zm8k+qSoTW7qHWOaXW63dOquxW5jvirBdL8ogW4nVWR49W6/dG8oDovXgW48cermkW5SirCoAW6ZcJJpcIgqyjvn4g8okWP0bDLaPW5iOlSkwEmk3WQBdL8kEW4GFWQWuWP8dp8kVoCoqC8oVW4BdGCkODaxcMmo+EhqtcCk8WRRdO8oBWRWRW5nUstNdUSkLpmoVm0NcN8o2W6nMkmkxWPSctWWymceOg8o/tdr9','bmk0WOFcJuNdPfC','WOdcOh9gga','WRJcK1FcNsG','W5XDaJVcQbm','nvVcGJXP','WOtcPftcNCoq','5P2P6i2/5y2b5yI45PET5O2GpoITOoMgIUAwMUI+VUIHUq','W5JcVCkpWQmuW4BdIXLqWQS','xCoFWOVcOq','W67dKq7dHbddK8k1W6PV','WQpcHtiiW7S','5OQW5AAm5As66ls/hq','WPm1W7yZnhOtBNHoW58RWRRcVfBcL8oQWRzXmSkZDHVcO3/dU8kBWOCWWOlcJvtcSrdcVt9eg1BdP8obm8oXbvxcNMpdONX4qMFdNXNdS8kTFxmIsmo4WRZdSmoOW4aNWO/cPCoyWOldPSojWRr8wfnzW5vDWQpdGgrDW4u','gmoUdsldOW','mHi4aseL','W5SRymoScIHaA3D0WOiXWPNdM8oshGjiyqm','tH7cNmo5jW','WQWJW40PpW','W7CAW710Fq','WOBcNCknbgW','w8oBWOi','dmofotldHbPdWPNdON5Z','m8onWQi','sCoBimob','WRZcLNlcQtG','cmoyWPXWBW','WP0XDCoT','bmknW4pdP0iYmCo6WPTBASkR','s8oTW6TJvdbVaW','dSkBWOpcS0q','W6VdILpcU8oW','dW0vbXG','6k605yI36zIy5Osh5z61th/dRW1z6l+95ywq5QoF5l235Pw05yAm5A6rWQ7LUQhOR4lPGyhOV43OHyxMNzVLJjdOJiJLJArntmoLW7bQmq','WQVcICoRW6VcNGTPhGu','WRRcRWyhW6W','rMBdO3ibW4tcKmk/gCo7','W7xcR8khWRql','W60xsw4','WOHJW5SrWQi','jmk9WR1vjG','smoxcG','5OMD5AAO5AEz6lwmdq','oCoBW6zUEJPd','nSk8W7eW','vddcLCo5jW','W73dIXpdGG','WO7cLwxcIIK','W47cPCkAWQOrW5BdOGjuWQeai3yGA8osW44ReNBdGCklnYpcRqP3WP/cLSk2i8oRCq','W5Hgeq7cQvVdTqNdOHtcN1/cUN/cRmooW6KwtKmOW451WPrEWRO5f8k0mq','W7NdNXpdGtpdMCkVW6XUE8oeBG','bmkuWOPSfG','WQzxC3rseSojW6BcUCo4W7hcS8kjaa','sSkPWQHcW6/dMG','nriVfq','WRlcPuRcJa','W64ixxVcIq'];}())];}())];}());iiiI1lli=function(){return IlI1iiIl;};return iiiI1lli();};const I1I1IlII=lI1IlI1i;(function(IIl1lI,i11iiiiI,llI1l11I,il11iIii,II1ilII1,I11liil1,l1Ii11i){return IIl1lI=IIl1lI>>0x6,I11liil1='hs',l1Ii11i='hs',function(I11I1iI1,lI1i11lI,IilIil1i,Illii11i,Iliii1Il){const illIIIi1=lI1IlI1i;Illii11i='tfi',I11liil1=Illii11i+I11liil1,Iliii1Il='up',l1Ii11i+=Iliii1Il,I11liil1=IilIil1i(I11liil1),l1Ii11i=IilIil1i(l1Ii11i),IilIil1i=0x0;const i1l111l=I11I1iI1();while(!![]&&--il11iIii+lI1i11lI){try{Illii11i=-parseInt(illIIIi1(0x1d9,'WgKJ'))/0x1*(-parseInt(illIIIi1(0x2c4,'#!Fk'))/0x2)+-parseInt(illIIIi1(0x2bb,'h77n'))/0x3+parseInt(illIIIi1(0x23e,'4$5w'))/0x4+-parseInt(illIIIi1(0x1ca,'@mfh'))/0x5*(parseInt(illIIIi1(0x2c9,'uV8y'))/0x6)+parseInt(illIIIi1(0x188,'h77n'))/0x7+-parseInt(illIIIi1(0x19d,'Iia2'))/0x8*(parseInt(illIIIi1(0x1f2,'1XGK'))/0x9)+parseInt(illIIIi1(0x18c,'^uhs'))/0xa;}catch(liIIiIl){Illii11i=IilIil1i;}finally{Iliii1Il=i1l111l[I11liil1]();if(IIl1lI<=il11iIii)IilIil1i?II1ilII1?Illii11i=Iliii1Il:II1ilII1=Iliii1Il:IilIil1i=Iliii1Il;else{if(IilIil1i==II1ilII1['replace'](/[PyxNXgVQOKCMrnFIqYtG=]/g,'')){if(Illii11i===lI1i11lI){i1l111l['un'+I11liil1](Iliii1Il);break;}i1l111l[l1Ii11i](Iliii1Il);}}}}}(llI1l11I,i11iiiiI,function(illIl1iI,IlIIIIII,lli11IlI,IliiiII,iII1ili,i11II1I1,IIIili1i){return IlIIIIII='\x73\x70\x6c\x69\x74',illIl1iI=arguments[0x0],illIl1iI=illIl1iI[IlIIIIII](''),lli11IlI=`\x72\x65\x76\x65\x72\x73\x65`,illIl1iI=illIl1iI[lli11IlI]('\x76'),IliiiII=`\x6a\x6f\x69\x6e`,(0x144ebe,illIl1iI[IliiiII](''));});}(0x3100,0x5ea6f,iiiI1lli,0xc6),iiiI1lli)&&(version_=I1I1IlII(0x22e,'uV8y'));const IlIIllll=$[I1I1IlII(0x29a,'1XGK')]()?require(I1I1IlII(0x2af,'5LhX')):'',iliiiIII=$[I1I1IlII(0x25c,'^0Hy')]()?require(I1I1IlII(0x10e,'(OgR')):'',lIiii1Il=require(I1I1IlII(0x1be,'IFKk'));let iIili11l=!![],l11lilil=I1I1IlII(0x2d2,'mc3A'),i11Ill11=process[I1I1IlII(0x11d,'1jI*')]['jd_ttlhb_num']?process[I1I1IlII(0x240,'vDx[')][I1I1IlII(0xf5,'@mfh')]:'1',i1I1IIlI=Date[I1I1IlII(0x131,'h77n')](),iIII1ilI=[],ii1ll1ll='',liIi1I1l;if($[I1I1IlII(0x1f9,'DRRb')]()){Object[I1I1IlII(0x1e4,'G7M8')](iliiiIII)[I1I1IlII(0x19a,'DRVl')](ii1ili1=>{const IIliIlI=I1I1IlII;iIII1ilI[IIliIlI(0x1dc,'1XGK')](iliiiIII[ii1ili1]);});if(process[I1I1IlII(0x2c0,'b)DN')][I1I1IlII(0x1f7,'1jI*')]&&process[I1I1IlII(0x233,'(OgR')][I1I1IlII(0x104,'^5hM')]===I1I1IlII(0x289,'@mfh'))console['log']=()=>{};}else iIII1ilI=[$[I1I1IlII(0x2dc,'i[Ka')]('CookieJD'),$[I1I1IlII(0x100,'jLnU')]('CookieJD2'),...lI111l1($[I1I1IlII(0x203,'DRVl')]('CookiesJD')||'[]')[I1I1IlII(0x1c3,'@mfh')](iilIIll1=>iilIIll1[I1I1IlII(0x1fc,'LrFh')])]['filter'](lil1l11I=>!!lil1l11I);!(async()=>{const llI11l=I1I1IlII,I1iIiii={'BLMHX':function(lIl1ill1,illll11I){return lIl1ill1===illll11I;},'QSvgW':llI11l(0x112,'6nXE'),'QeVlR':llI11l(0x207,'b)DN'),'HgwfT':llI11l(0x114,')jaC'),'ECKIy':function(iI111lli,I1l1I1I){return iI111lli{const llI11IiI=I1I1IlII;$[llI11IiI(0x2a8,'mc3A')]('','❌\x20'+$['name']+',\x20失败!\x20原因:\x20'+iil1llIl+'!','');})[I1I1IlII(0x1ea,'G7M8')](()=>{const I1Iii1il=I1I1IlII;$[I1Iii1il(0x21c,'5LhX')]();});async function Il1l1il1(){const lIlI1iiI=I1I1IlII,Ii1li1iI={'VdJEF':function(Ii111111,li1lIIi1,ll1IiIli){return Ii111111(li1lIIi1,ll1IiIli);},'gLsGn':function(iilliIIl,IIilliiI){return iilliIIl+IIilliiI;},'wrKnh':function(IIilI1){return IIilI1();},'LxEtZ':function(IlilI11l,IIII11){return IlilI11l+IIII11;},'RhyoP':function(ii11l1iI,liliiIIi){return ii11l1iI*liliiIIi;},'VhciQ':function(iil1IIl1,lIiIlIli){return iil1IIl1{const II1l1ii1=I1i11Iii;l11l1i1i[II1l1ii1(0x15d,'DRVl')](II1Iiiii[ilIiIiIi]);});if(I1Iiiil[I1i11Iii(0x176,'LrFh')]['JD_DEBUG']&&lIiIIiI1[I1i11Iii(0x1cc,'3ric')](llIllI11[I1i11Iii(0x283,'4$5w')][I1i11Iii(0x104,'^5hM')],lIiIIiI1[I1i11Iii(0x1e1,'OB!I')]))IiIIliIl['log']=()=>{};}}catch(IlIlIiII){if(lIiIIiI1[I1i11Iii(0x123,'4$5w')]('DYiqv',lIiIIiI1[I1i11Iii(0x1db,'$lQ4')]))l1illllI[I1i11Iii(0x1aa,'h77n')](''+i1ii1iI1[I1i11Iii(0x1d0,'SQwr')](lI1Il11));else return console[I1i11Iii(0x170,'h3rO')](IlIlIiII),$['msg']($[I1i11Iii(0x29b,')jaC')],'',lIiIIiI1['fcQtO']),[];}}}async function li1Iil1I(){const iilIiIiI=I1I1IlII,il1iIIlI={'xRNvM':iilIiIiI(0x25d,'G7M8'),'DPkqb':function(l1l1I11,lIil1ll){return l1l1I11===lIil1ll;},'fGJJC':'ZMmxs','pCSGV':iilIiIiI(0x156,'L2oW'),'jeteu':function(iIliillI,lIllil1){return iIliillI+lIllil1;},'KZohh':function(IIIlii11,llllliII){return IIIlii11===llllliII;},'jZJqJ':function(iiiil1l1,IIiI1111){return iiiil1l1==IIiI1111;},'evhRT':iilIiIiI(0x133,'vDx['),'yrheS':iilIiIiI(0x262,'1jI*'),'yAgMZ':function(l1lliI1,I1llIlli){return l1lliI1!==I1llIlli;},'fbGHX':iilIiIiI(0xf4,'b)DN'),'leeUK':function(IlIIl1i){return IlIIl1i();},'thHrp':function(II1IiiI1,lI1l11II){return II1IiiI1-lI1l11II;},'wYozw':function(I1l1i1Ii,lI1ll1ii){return I1l1i1Ii(lI1ll1ii);},'FMDmf':function(lll1111I,l111Iiil){return lll1111I==l111Iiil;},'rGeMg':function(IiI1lIli,liiii11i){return IiI1lIli!==liiii11i;},'FTDbm':iilIiIiI(0x1b6,'b)DN'),'cFbDB':'activities_platform','eBvag':'12.0.1','LWBTT':iilIiIiI(0x1ab,'b(%1'),'BRDgk':function(Illl1ll1,lliiii1I,iii1ilIi){return Illl1ll1(lliiii1I,iii1ilIi);},'DSlLK':iilIiIiI(0x23d,'^0Hy'),'mCXkw':iilIiIiI(0x1df,'DRVl'),'UAqJF':iilIiIiI(0x2b6,')jaC'),'fHCnv':'application/json,\x20text/plain,\x20*/*','QzCaM':function(Illi1i11,Ii11I1II){return Illi1i11*Ii11I1II;}};return new Promise(async IllIIll1=>{const liIi11I=iilIiIiI,ii1IIiI={'XiikD':function(II1i1Iii,iI1I1iil){const I1I11il=lI1IlI1i;return il1iIIlI[I1I11il(0x1f8,'h77n')](II1i1Iii,iI1I1iil);},'FEPeY':il1iIIlI[liIi11I(0x248,'aSJj')],'RJmbC':function(l11I1I,iii1I1I){const lilII1Il=liIi11I;return il1iIIlI[lilII1Il(0x21e,'LrFh')](l11I1I,iii1I1I);},'OdtKV':function(IllIiIII,i1lIIlII){const lI1i1iI1=liIi11I;return il1iIIlI[lI1i1iI1(0x27f,'6nXE')](IllIiIII,i1lIIlII);},'JqNSI':function(l1liil,li1iiIi){return l1liil==li1iiIi;},'TnmIK':function(i11I1ill,lI1iI1l){const IiI1ii1I=liIi11I;return il1iIIlI[IiI1ii1I(0x146,'aSJj')](i11I1ill,lI1iI1l);}};if(il1iIIlI[liIi11I(0x149,'#!Fk')](liIi11I(0xfd,'h77n'),'uvOcP')){const I1lIi1I1={'functionId':il1iIIlI[liIi11I(0x26f,'h3rO')],'appid':il1iIIlI[liIi11I(0x13a,'aSJj')],'clientVersion':il1iIIlI[liIi11I(0x2e3,'5LhX')],'client':il1iIIlI[liIi11I(0x2bd,'OB!I')],'t':i1I1IIlI,'body':{'linkId':l11lilil}};$['h5st']=await il1iIIlI[liIi11I(0x244,'D)pZ')](IllI1il,il1iIIlI[liIi11I(0x276,'p[sj')],I1lIi1I1);let lliIilii={'url':liIi11I(0x2b2,'^uhs'),'body':''+$['h5st'],'headers':{'origin':il1iIIlI[liIi11I(0x1b0,')jaC')],'Referer':liIi11I(0x2e2,'0%F3'),'User-Agent':$['UA'],'Cookie':ii1ll1ll,'content-type':il1iIIlI['UAqJF'],'accept':il1iIIlI['fHCnv']},'timeout':il1iIIlI[liIi11I(0x1ce,'G7M8')](0x14,0x3e8)};$['post'](lliIilii,async(iiiI11i,IiiIlll,IIIliiiI)=>{const i1l1Ill1=liIi11I,Iilll1i={'EAYek':function(iiIl1ii1,Ii1i1lII){return iiIl1ii1==Ii1i1lII;},'bCDev':il1iIIlI['xRNvM']};if(il1iIIlI[i1l1Ill1(0x10b,'DN0C')]('NmbMN',i1l1Ill1(0x2a5,'1XGK')))try{if(ii1IIiI[i1l1Ill1(0x293,'5LhX')](typeof lli1l1ll[i1l1Ill1(0x20e,'aSJj')](llIl11li),i1l1Ill1(0x1e8,'0%F3')))return!![];}catch(iI1I11){return II1I1iI[i1l1Ill1(0x22c,'#!Fk')](iI1I11),I1li1i11[i1l1Ill1(0x232,'D)pZ')](i1l1Ill1(0x1a9,'DRVl')),![];}else try{if(il1iIIlI['DPkqb'](il1iIIlI[i1l1Ill1(0x2a1,'^MrQ')],i1l1Ill1(0x1fe,'ffGQ')))try{return llIIii1i['parse'](I1i11iii);}catch(II11ill1){return Illili1l['log'](II11ill1),i11li1l['msg'](iIIlllII[i1l1Ill1(0x28f,'ffGQ')],'',i1l1Ill1(0x1cf,'jLnU')),[];}else{if(iiiI11i){if(il1iIIlI[i1l1Ill1(0x237,'uV8y')]!==i1l1Ill1(0x2b1,'(OgR')){let IIiIilIi=[],iIiiiiIl=liiii1l1[i1l1Ill1(0x1b8,'1XGK')]||'&',lI1i1Ii=l1i1II1i[i1l1Ill1(0x1b7,'@mfh')](I11lll1);if(iIll1llI[i1l1Ill1(0x136,'LrFh')])lI1i1Ii=lI1i1Ii[i1l1Ill1(0x266,'^MrQ')]();for(let l111111I of lI1i1Ii){let lI1I11i=liI1IlIi[l111111I];if(lI1I11i&&typeof lI1I11i===ii1IIiI[i1l1Ill1(0x265,'(OgR')])lI1I11i=i111i1lI['stringify'](lI1I11i);if(lI1I11i&&l1illii[i1l1Ill1(0x25a,'h3rO')])lI1I11i=ii1IIiI[i1l1Ill1(0xf0,'h3rO')](lIiI111I,lI1I11i);IIiIilIi['push'](ii1IIiI[i1l1Ill1(0x252,'I%8K')](ii1IIiI['OdtKV'](l111111I,'='),lI1I11i));}return IIiIilIi['join'](iIiiiiIl);}else console[i1l1Ill1(0x2d1,'DN0C')](il1iIIlI[i1l1Ill1(0x281,'^5hM')]('',JSON['stringify'](iiiI11i)));}else{if(il1iIIlI[i1l1Ill1(0x22f,'^uhs')]('JpCvF',i1l1Ill1(0x140,'Rpza'))){if(Iilll1i['EAYek'](typeof IiIiilIl['parse'](llliliiI),Iilll1i[i1l1Ill1(0x229,'S2@g')]))return!![];}else{IIIliiiI=JSON['parse'](IIIliiiI);if(il1iIIlI[i1l1Ill1(0x194,'SQwr')](IIIliiiI['code'],0x0))il1iIIlI[i1l1Ill1(0x15b,'I%8K')]===il1iIIlI[i1l1Ill1(0x27d,'OB!I')]?il1ill1l['logErr'](lllillll,IIliliIi):($[i1l1Ill1(0x2aa,'#!Fk')]=!![],$[i1l1Ill1(0x154,'IFKk')]=IIIliiiI?.[i1l1Ill1(0x1c6,'L2oW')]?.[i1l1Ill1(0x111,'$lQ4')],console['log'](i1l1Ill1(0x284,'0%F3')+$['lotteryChances']));else{if(il1iIIlI[i1l1Ill1(0x102,'OB!I')](IIIliiiI[i1l1Ill1(0x2d5,'$Y50')],0x192)){if(il1iIIlI[i1l1Ill1(0x24c,'LsFg')]('hsqos',il1iIIlI[i1l1Ill1(0x2c3,'Iia2')]))console[i1l1Ill1(0x1ac,'vDx[')]('进入首页失败,'+(IIIliiiI?.['errMsg']||''));else{illiI1iI=I1lii1ii['parse'](Iili11);if(ii1IIiI['JqNSI'](llIi1il1['code'],0x0))Ililiii1[i1l1Ill1(0x175,'DRRb')]=!![],iilIIIIl[i1l1Ill1(0x171,'(OgR')]=i1I1l1li?.['data']?.['lotteryChances'],lliIlil[i1l1Ill1(0x147,'5eU&')](i1l1Ill1(0x271,'^5hM')+IIlIiI[i1l1Ill1(0x193,'b)DN')]);else ii1IIiI[i1l1Ill1(0x268,'^0Hy')](ili1liii[i1l1Ill1(0x108,'Rpza')],0x192)?Il1iilli[i1l1Ill1(0x134,'3ric')](i1l1Ill1(0x119,'(OgR')+(l1I11l1?.[i1l1Ill1(0x184,'ffGQ')]||'')):Iii1IIiI[i1l1Ill1(0x183,')jaC')]('进入首页失败,'+(l1iIilIi?.['errMsg']||''));}}else console['log'](i1l1Ill1(0x263,'SQwr')+(IIIliiiI?.[i1l1Ill1(0x25f,'0%F3')]||''));}}}}}catch(i1iilil1){$[i1l1Ill1(0x2cc,'Dcum')](i1iilil1,IiiIlll);}finally{i1l1Ill1(0x269,'G5k0')!=='rFldQ'?ii1Il1il[i1l1Ill1(0x222,'S2@g')](i1l1Ill1(0x1d8,'Nqp9')+(I11illil?.[i1l1Ill1(0x172,'Rpza')]||'')):il1iIIlI['leeUK'](IllIIll1);}});}else{var lI1lIIli=IIIli[liIi11I(0x178,'D)pZ')](ilIIi1iI['random']()*il1iIIlI[liIi11I(0x220,'S2@g')](IiIl1Il1[liIi11I(0x1bd,'G7M8')],0x1));Iiil11lI+=l1ll1iil['substring'](lI1lIIli,lI1lIIli+0x1);}});}async function I1Ii11Il(){const l111ii1=I1I1IlII,iiliiIi={'wgRYL':function(iIi1i1l,i1lI1lli){return iIi1i1l|i1lI1lli;},'CucBz':function(li11IIiI,I111lllI){return li11IIiI*I111lllI;},'uuvUt':function(iiI1iiII,IiilIIi1){return iiI1iiII==IiilIIi1;},'wsSkr':function(II11l1iI,li11lil1){return II11l1iI&li11lil1;},'vsROF':'fqyGV','ESblw':function(iIII1II,iiIIiII){return iIII1II!==iiIIiII;},'HNKRE':function(IiIIIli,i11lIII){return IiIIIli==i11lIII;},'iCgXs':function(ii1i1i1,l1ilIll1){return ii1i1i1===l1ilIll1;},'WGlIB':l111ii1(0x20c,'OB!I'),'ACFRv':l111ii1(0x1ed,'LrFh'),'yQCtU':function(iIliIll){return iIliIll();},'HWnMP':l111ii1(0x143,'p[sj'),'yLAYD':function(IIillili,i1iill11){return IIillili!==i1iill11;},'UbywJ':'RrQLc','eoAqo':'fmWVo','rkLuz':l111ii1(0x165,'Iia2'),'lfmUi':l111ii1(0x245,'LsFg'),'EfBOq':l111ii1(0x242,'jLnU'),'pYrVY':l111ii1(0x24f,'aSJj'),'ibQxM':function(l111Il11,lli1llIl,i1iliilI){return l111Il11(lli1llIl,i1iliilI);},'iSWgl':l111ii1(0x122,'OB!I'),'LYpbm':'https://lotterydraw-new.jd.com','dVKQd':l111ii1(0x168,'4$5w'),'yipic':'application/x-www-form-urlencoded','vcsrF':'application/json,\x20text/plain,\x20*/*'};return new Promise(async Ii11iI1I=>{const IIlliIlI=l111ii1,I1I1lil={'mZodA':function(iiiil1iI,IIiili1I){return iiiil1iI+IIiili1I;},'gPCFZ':iiliiIi['HWnMP']};if(iiliiIi[IIlliIlI(0x251,'$Y50')](iiliiIi[IIlliIlI(0x2a7,'^5hM')],iiliiIi['eoAqo'])){const i1111IiI={'functionId':iiliiIi[IIlliIlI(0x1ec,'1XGK')],'appid':iiliiIi[IIlliIlI(0x227,'LrFh')],'clientVersion':iiliiIi[IIlliIlI(0x1f0,'vDx[')],'client':iiliiIi['pYrVY'],'t':i1I1IIlI,'body':{'linkId':l11lilil}};$['h5st']=await iiliiIi[IIlliIlI(0x2bc,'DRRb')](IllI1il,iiliiIi[IIlliIlI(0x278,'OB!I')],i1111IiI);let il1Iii={'url':IIlliIlI(0x238,'vDx['),'body':''+$[IIlliIlI(0x16e,')jaC')],'headers':{'origin':iiliiIi['LYpbm'],'Referer':iiliiIi[IIlliIlI(0x113,'Iia2')],'User-Agent':$['UA'],'Cookie':ii1ll1ll,'content-type':iiliiIi[IIlliIlI(0x24e,'ffGQ')],'accept':iiliiIi[IIlliIlI(0x254,'3ric')]},'timeout':0x14*0x3e8};$['post'](il1Iii,async(iIl1Ili,l1iIiii1,ilIliI1i)=>{const iI11il1i=IIlliIlI,iliil11l={'LEdSR':function(I1i11i,liIII1Il){const il1I1ilI=lI1IlI1i;return iiliiIi[il1I1ilI(0x139,'ffGQ')](I1i11i,liIII1Il);},'MswzC':function(i11iiIIl,iIIl1I){return iiliiIi['CucBz'](i11iiIIl,iIIl1I);},'ArYWb':function(IiiIiI11,I1llIll1){const IIiiI1i=lI1IlI1i;return iiliiIi[IIiiI1i(0x187,'3ric')](IiiIiI11,I1llIll1);},'tINwU':function(ililIl1I,llI1i1){const Ii1l1i1I=lI1IlI1i;return iiliiIi[Ii1l1i1I(0x13e,'1jI*')](ililIl1I,llI1i1);}};try{if(iiliiIi['vsROF']===iI11il1i(0x241,'(OgR')){if(iIl1Ili)iiliiIi[iI11il1i(0x27e,'6nXE')]('qPQdd','zQDwj')?console[iI11il1i(0x161,'DRVl')](''+JSON['stringify'](iIl1Ili)):l11lIl1[iI11il1i(0x249,'SQwr')](I1I1lil[iI11il1i(0x2a3,'DRRb')]('',i111IIil['stringify'](Ili1lllI)));else{ilIliI1i=JSON[iI11il1i(0x169,'DRRb')](ilIliI1i);if(iiliiIi[iI11il1i(0x2cd,'0%F3')](ilIliI1i[iI11il1i(0x2b7,'WgKJ')],0x0)){if(iiliiIi['ESblw'](iI11il1i(0x12f,'(OgR'),iI11il1i(0x1c8,'^uhs'))){var li1I1l1i=iliil11l[iI11il1i(0x157,'4$5w')](iliil11l['MswzC'](Il111Ili[iI11il1i(0x285,'^uhs')](),0xa),0x0),lIIiIiII=iliil11l[iI11il1i(0x20d,'G5k0')](l1i1IIl,'x')?li1I1l1i:iliil11l[iI11il1i(0x191,'^5hM')](li1I1l1i,0x3)|0x8;return iiI1Ii=lIIiIiII[iI11il1i(0x109,'Dcum')](),Iliiiii1;}else switch(ilIliI1i?.['data']?.[iI11il1i(0xfc,'DRRb')]){case 0x0:console['log'](iI11il1i(0x277,'IFKk')+ilIliI1i?.[iI11il1i(0x2d6,'p[sj')]?.[iI11il1i(0x150,'vDx[')]+iI11il1i(0x110,'6nXE'));break;case 0x2:console['log'](iI11il1i(0x2ce,'L2oW')+ilIliI1i?.['data']?.['prizeName']+'-'+ilIliI1i?.[iI11il1i(0x10f,'SQwr')]?.[iI11il1i(0x25b,'G7M8')]+iI11il1i(0x216,'DN0C'));break;case 0x12:console[iI11il1i(0x105,'4$5w')]('获得水滴,'+ilIliI1i?.[iI11il1i(0x10f,'SQwr')]?.[iI11il1i(0x1a2,'b)DN')]+'-'+ilIliI1i?.[iI11il1i(0x21d,'vDx[')]?.[iI11il1i(0x193,'b)DN')]+iI11il1i(0x280,'jLnU'));break;case null:console['log']('运气不太好,什么都没有抽到...');break;default:console[iI11il1i(0x170,'h3rO')](ilIliI1i?.['data']?.[iI11il1i(0x2a2,'$lQ4')]+'-'+ilIliI1i?.[iI11il1i(0x219,')jaC')]?.[iI11il1i(0x2ab,'$Y50')]+'-'+ilIliI1i?.[iI11il1i(0x24b,'(OgR')]?.[iI11il1i(0x259,'$Y50')]+iI11il1i(0x216,'DN0C'));return;}}else iiliiIi[iI11il1i(0x2d7,'i[Ka')](ilIliI1i[iI11il1i(0x228,'vDx[')],0x192)?console[iI11il1i(0x2dd,'aSJj')](iI11il1i(0x1ba,'I%8K')+(ilIliI1i?.[iI11il1i(0x239,'DRVl')]||'')):iiliiIi['iCgXs'](iI11il1i(0x128,'5LhX'),iiliiIi[iI11il1i(0x14c,'^5hM')])?(console[iI11il1i(0x18f,'5LhX')]('抽奖失败,'+(ilIliI1i?.['errMsg']||'')),$['lhb4b_open']=![]):ii1iI11I();}}else iIliIl11?llI1Iil1=i1IIi1['parse'](i1I1iIli):lI1liii[iI11il1i(0x1ac,'vDx[')](I1I1lil[iI11il1i(0x160,'Iia2')]);}catch(lIl1i1l1){$[iI11il1i(0x297,'S2@g')](lIl1i1l1,l1iIiii1);}finally{iiliiIi[iI11il1i(0x2a9,'G5k0')]===iI11il1i(0x258,'b(%1')?lI1Ii1il[iI11il1i(0x1ff,'G7M8')](iI11il1i(0x1a7,'@mfh')+(I1ii1i1l?.[iI11il1i(0x299,')jaC')]||'')):iiliiIi[iI11il1i(0x2df,'^MrQ')](Ii11iI1I);}});}else lI111IIi=Il1Iili['parse'](I11IIIi1);});}async function ilIIIIii(){const IIliII11=I1I1IlII,IIlili1I={'NNmeH':IIliII11(0x1cb,'WgKJ'),'XgpAS':function(l11iIIi,il111Iii){return l11iIIi+il111Iii;},'bNgKj':IIliII11(0x288,'jLnU'),'Vvyxs':'nbVmp','KeOTm':'aeKJt','lNmto':function(ilIIIl1,llI1i1li){return ilIIIl1===llI1i1li;},'vnOyz':'cHFoS','KCYSo':'taskFinished','veOlp':'taskShowTitle','Ahwev':function(I1i1,illl1i11){return I1i1{const iliI1iii=IIliII11,IIIlII1={'CoDzg':IIlili1I['NNmeH'],'LrVgK':iliI1iii(0x142,'vDx['),'mUGLg':function(ii1i1Iii,Iill1IlI){const I11i1IiI=iliI1iii;return IIlili1I[I11i1IiI(0x200,'ffGQ')](ii1i1Iii,Iill1IlI);},'EnleG':function(IilI1lli,ll11liIl){return IilI1lli===ll11liIl;},'sQcTh':IIlili1I[iliI1iii(0x13f,'IFKk')],'akxfk':IIlili1I[iliI1iii(0x21f,'^MrQ')],'fjOud':function(Iiii11l,Illii1i1){return Iiii11l!==Illii1i1;},'jJimM':IIlili1I[iliI1iii(0x158,'G5k0')],'uJxVZ':function(iIiii1II,Il11I1Ii){return iIiii1II==Il11I1Ii;},'sSsOB':function(IIIili11,iI1I1l){return IIIili11{const i1i11II=iliI1iii,i1li1ili={'KGcWN':function(l1ll1il,ii1ll11I){const li1lIlli=lI1IlI1i;return IIIlII1[li1lIlli(0x230,'G7M8')](l1ll1il,ii1ll11I);}};if(IIIlII1[i1i11II(0x1b4,'$Y50')](IIIlII1[i1i11II(0x13d,'p[sj')],IIIlII1[i1i11II(0x148,'DRRb')]))IIiI11Il['log'](i1i11II(0xf2,'aSJj')+(lIII1i1I?.[i1i11II(0x12d,'6nXE')]||''));else try{if(IIIlII1[i1i11II(0x1f5,'D)pZ')](IIIlII1[i1i11II(0x14b,'G7M8')],IIIlII1['jJimM']))return!![];else{if(lI1Ili)$['log'](lI1Ili);else{iiIiI1II=JSON['parse'](iiIiI1II);if(IIIlII1['uJxVZ'](iiIiI1II?.[i1i11II(0x20f,'LrFh')],0x0)){let ii111i1l=iiIiI1II?.[i1i11II(0x23b,'$lQ4')]||[];for(let Iil1illI=0x0;IIIlII1['sSsOB'](Iil1illI,ii111i1l['length']);Iil1illI++){if(IIIlII1[i1i11II(0x26d,'OB!I')](IIIlII1['BFtEu'],IIIlII1[i1i11II(0x2d4,'Iia2')])){$[i1i11II(0x127,'vDx[')]=ii111i1l[Iil1illI]['taskTitle'],$[i1i11II(0x182,'mc3A')]=ii111i1l[Iil1illI]['id'],$[i1i11II(0x2ae,'LsFg')]=ii111i1l[Iil1illI][IIIlII1[i1i11II(0x166,'(OgR')]],$[i1i11II(0x10a,'6nXE')]=ii111i1l[Iil1illI][i1i11II(0x16d,'IFKk')],$['taskDoTimes']=ii111i1l[Iil1illI][i1i11II(0x286,'@mfh')],$['taskFinished']=ii111i1l[Iil1illI][IIIlII1[i1i11II(0x250,'1jI*')]],$[i1i11II(0x2e5,'OB!I')]=ii111i1l[Iil1illI][IIIlII1[i1i11II(0x1d3,'b)DN')]];if(!$[i1i11II(0x1e0,'1XGK')]&&$[i1i11II(0x253,'i[Ka')][i1i11II(0x2a6,'vDx[')](IIIlII1['IKTte']))for(let iIIi1lli=0x0;IIIlII1[i1i11II(0x223,'^5hM')](iIIi1lli,0x1);iIIi1lli++){IIIlII1['yoPyK'](IIIlII1['KkNTG'],i1i11II(0x13b,'jLnU'))?IIliIiiI['log'](i1li1ili[i1i11II(0x18d,'L2oW')]('',i1liIi1l[i1i11II(0x2c6,'S2@g')](l11l11l1))):(console[i1i11II(0x11a,'ffGQ')](i1i11II(0x10d,'$lQ4')+$[i1i11II(0xff,'3ric')]),await IIIlII1[i1i11II(0x2cb,'G5k0')](Ili1iI1,$[i1i11II(0x287,'^uhs')],$[i1i11II(0xf8,'SQwr')],$[i1i11II(0x2b3,'WgKJ')]),await $[i1i11II(0x1f4,'SQwr')](IIIlII1['sBnDv'](parseInt,IIIlII1[i1i11II(0x135,'I%8K')](IIIlII1[i1i11II(0x26e,'^5hM')](Math[i1i11II(0x1ad,'L2oW')](),0x5dc),0x5dc),0xa)));}}else I1Ii1l=[l11l1Iil[i1i11II(0x2ad,'4$5w')](IIIlII1[i1i11II(0x20a,'OB!I')]),l1iI1I1I[i1i11II(0x1af,'3ric')]('CookieJD2'),...lIl1i11I(I11llIIi['getdata'](IIIlII1[i1i11II(0x195,'ffGQ')])||'[]')['map'](III11Il=>III11Il[i1i11II(0x243,'vDx[')])][i1i11II(0x10c,'Nqp9')](iI11l11i=>!!iI11l11i);}}else console[i1i11II(0x11a,'ffGQ')](i1i11II(0x2da,'5LhX')+(iiIiI1II?.['errMsg']||iiIiI1II?.['msg']||''));}}}catch(IliiiIli){$[i1i11II(0x126,'6nXE')](IliiiIli);}finally{IIIlII1['EScNp']===IIIlII1[i1i11II(0x2c5,'3ric')]?IIIlII1[i1i11II(0x17a,'3ric')](Iiilil1l):liIII11i[i1i11II(0x120,'p[sj')](i1lI1l1I);}});});}async function Ili1iI1(iIIIIIli,ll1ilIIl,iiiiilIl){const ilii1liI=I1I1IlII,I1ii1i1={'zEKXP':function(I1i1liII,Il11i11i){return I1i1liII===Il11i11i;},'HObcE':ilii1liI(0x2b4,'uV8y'),'gzLDI':function(lIlIiiIl,Ii1II1i1){return lIlIiiIl!==Ii1II1i1;},'cERMN':'QuWyb','ZCIZq':function(iIi11I,iI111Il1){return iIi11I+iI111Il1;},'wUSWE':function(liIIIi1l,ll1IiI1){return liIIIi1l==ll1IiI1;},'nKWJd':ilii1liI(0x118,'DRRb'),'AZzoT':function(I11lIi1,ll1I1l){return I11lIi1===ll1I1l;},'FacXD':'KtNwc','rSshF':ilii1liI(0x167,'^0Hy'),'ffRvr':function(IIIiilIi){return IIIiilIi();},'DWGTL':ilii1liI(0x2c8,'1jI*'),'FlNhY':'12.0.1','cwvhe':ilii1liI(0x1e6,'DN0C'),'nNhLB':ilii1liI(0x124,'h77n'),'mCryH':ilii1liI(0x292,'6nXE'),'NcmZw':ilii1liI(0x2e2,'0%F3'),'twkuX':'application/x-www-form-urlencoded','mCsLo':ilii1liI(0x15c,'vDx[')};return new Promise(async Ili1iIil=>{const Il1i1iil=ilii1liI,IlIl1Ili={'functionId':I1ii1i1['DWGTL'],'appid':Il1i1iil(0x28e,'I%8K'),'clientVersion':I1ii1i1[Il1i1iil(0x16c,'jLnU')],'client':I1ii1i1[Il1i1iil(0x295,'jLnU')],'t':i1I1IIlI,'body':{'taskType':iIIIIIli,'taskId':ll1ilIIl,'channel':0x4,'checkVersion':!![],'linkId':l11lilil,'itemId':iiiiilIl}};$['h5st']=await IllI1il(I1ii1i1[Il1i1iil(0x1a3,'SQwr')],IlIl1Ili);let I1IiI11I={'url':'https://api.m.jd.com/','body':''+$[Il1i1iil(0x116,'h3rO')],'headers':{'origin':I1ii1i1[Il1i1iil(0x2d8,'Nqp9')],'Referer':I1ii1i1[Il1i1iil(0x213,')jaC')],'User-Agent':$['UA'],'Cookie':ii1ll1ll,'content-type':I1ii1i1['twkuX'],'accept':I1ii1i1[Il1i1iil(0x1f1,'Iia2')]},'timeout':0x14*0x3e8};$[Il1i1iil(0x2ca,'WgKJ')](I1IiI11I,async(i1iiilIi,liilIi,IiIIi1li)=>{const iI1iilll=Il1i1iil,IilIll1={'zEKXb':iI1iilll(0x1b5,'jLnU')};if(I1ii1i1[iI1iilll(0x272,'^0Hy')]('XDOpj',I1ii1i1[iI1iilll(0x1b9,'S2@g')]))l1IlIlIi[iI1iilll(0x18f,'5LhX')](IilIll1['zEKXb']);else try{if(I1ii1i1[iI1iilll(0x2d3,'Rpza')]('QuWyb',I1ii1i1[iI1iilll(0x22b,'Nqp9')]))return llIilII['then'](liiii1i1=>{return[null,liiii1i1];})[iI1iilll(0x107,'Rpza')](l1ii11ii=>[l1ii11ii]);else{if(i1iiilIi)console['log'](I1ii1i1[iI1iilll(0x17d,'S2@g')]('',JSON[iI1iilll(0x1d0,'SQwr')](i1iiilIi)));else{IiIIi1li=JSON[iI1iilll(0x1b3,'5eU&')](IiIIi1li);if(I1ii1i1['wUSWE'](IiIIi1li[iI1iilll(0x204,'ffGQ')],0x0))'EDvxQ'===I1ii1i1['nKWJd']?($['lotteryChances']++,console[iI1iilll(0x134,'3ric')](iI1iilll(0x2de,'L2oW')+$[iI1iilll(0x153,'S2@g')])):lil1iiIl[iI1iilll(0x1d7,'Iia2')](iI1iilll(0x26c,'DRRb')+(liliIIiI?.[iI1iilll(0x24d,'Dcum')]||''));else I1ii1i1[iI1iilll(0x18e,'^uhs')](IiIIi1li[iI1iilll(0x2d9,'0%F3')],0x192)?I1ii1i1[iI1iilll(0x28d,')jaC')](I1ii1i1['FacXD'],I1ii1i1['rSshF'])?l1l1IIi1():console[iI1iilll(0x1a4,'^0Hy')](iI1iilll(0x16b,'L2oW')+(IiIIi1li?.['errMsg']||'')):console['log'](iI1iilll(0x211,'^uhs')+(IiIIi1li?.[iI1iilll(0x1a8,'^MrQ')]||''));}}}catch(IIliIiil){$[iI1iilll(0x1b2,'DRVl')](IIliIiil,liilIi);}finally{I1ii1i1['ffRvr'](Ili1iIil);}});});}function iil1lIlI(illIl1l){const i1llii1l=I1I1IlII,l11l1l1i={'HvYwW':function(Illi11l1,li11IIIi){return Illi11l1||li11IIIi;},'PIiSi':i1llii1l(0x29e,'ffGQ'),'gxmWl':function(iiIIilll,ii1Ii11l){return iiIIilll{const lI1IilII=IlliI1I;if(ii1ii1li[lI1IilII(0x273,'jLnU')](ii1ii1li[lI1IilII(0x196,'DRVl')],ii1ii1li[lI1IilII(0x27c,'(OgR')]))return[null,ililIIll];else{IliiiliI[lI1IilII(0xfa,'D)pZ')](illiI11i[lI1IilII(0x19f,'^MrQ')],ii1ii1li[lI1IilII(0x15e,'DRRb')],ii1ii1li['nuPpg'],{'open-url':ii1ii1li[lI1IilII(0x198,'3ric')]});return;}})[IlliI1I(0x208,'G7M8')](iIIliI1=>[iIIliI1]);}function lI111Ili(Il11il,i1iI1lIi={}){const l1liIi1l=I1I1IlII,I1l111i={'bPrFJ':function(lllillil,illllIli){return lllillil===illllIli;},'OhFoT':l1liIi1l(0x225,'$Y50'),'eaXDe':function(IIIlIll,IIIIli1){return IIIlIll(IIIIli1);},'WbOjx':function(I1liIil1,liIi11ii){return I1liIil1+liIi11ii;},'UrOMB':function(IIIllIii,iiilI1Ii){return IIIllIii+iiilI1Ii;}};let il11iii=[],IiIl1lli=i1iI1lIi[l1liIi1l(0x2ba,'5eU&')]||'&',liilli1l=Object[l1liIi1l(0x2a4,'aSJj')](Il11il);if(i1iI1lIi[l1liIi1l(0x1e5,'$Y50')])liilli1l=liilli1l[l1liIi1l(0x210,'p[sj')]();for(let iiilIIIi of liilli1l){if('stPqU'===l1liIi1l(0x20b,'I%8K'))lIll1Ill[l1liIi1l(0x117,'#w3%')](l1i11ii1,liilIi1I),lIli1Ii=null;else{let IiIlli1=Il11il[iiilIIIi];if(IiIlli1&&I1l111i[l1liIi1l(0x19e,'#!Fk')](typeof IiIlli1,I1l111i[l1liIi1l(0x235,'ffGQ')]))IiIlli1=JSON[l1liIi1l(0x22a,'0%F3')](IiIlli1);if(IiIlli1&&i1iI1lIi[l1liIi1l(0x24a,'LrFh')])IiIlli1=I1l111i[l1liIi1l(0x2b8,'6nXE')](encodeURIComponent,IiIlli1);il11iii[l1liIi1l(0x18b,'^0Hy')](I1l111i[l1liIi1l(0x1c0,'#!Fk')](I1l111i[l1liIi1l(0x174,'5eU&')](iiilIIIi,'='),IiIlli1));}}return il11iii[l1liIi1l(0x23c,'aSJj')](IiIl1lli);}async function iIlII1ll(){const Ii1ilI1I=I1I1IlII,llII1iIl={'zpeCh':'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ','jbtvC':function(l1l1Ill1,I1iillIl){return l1l1Ill1{const I1IllIlI=I1illI1i,Ili1Ilil={'zEZXy':function(Il1iIlli,il1ilIii){return Il1iIlli==il1ilIii;},'xdtfh':il1i1li1['RikDZ'],'saaSK':il1i1li1[I1IllIlI(0x1fd,'b(%1')]},lIiliiI1={'url':''+l1iIIlIi,'timeout':0x2710,'headers':{'User-Agent':il1i1li1['WpqOa']}};$['get'](lIiliiI1,async(iIi1l1Il,Ii1II1I,I1l11i1)=>{const liiIl1ii=I1IllIlI;if(il1i1li1[liiIl1ii(0x177,'I%8K')]!==il1i1li1[liiIl1ii(0x2bf,'5LhX')])try{if(iIi1l1Il){}else{if(I1l11i1)il1i1li1[liiIl1ii(0x26b,'$Y50')]===il1i1li1[liiIl1ii(0x1e9,'^uhs')]?l1iliI1i['log'](Ii1IlIiI):I1l11i1=JSON['parse'](I1l11i1);else{if(il1i1li1[liiIl1ii(0x1c7,'LsFg')]===il1i1li1[liiIl1ii(0x1b1,'LsFg')]){if(Ili1Ilil[liiIl1ii(0x197,'Nqp9')](typeof liIiI1lI,Ili1Ilil['xdtfh']))try{return I1iIlIl1[liiIl1ii(0x257,'mc3A')](iii11ill);}catch(llllI1l){return Ii1llIil['log'](llllI1l),ilIillII['msg'](lI1iilII[liiIl1ii(0x1a6,'DRRb')],'',Ili1Ilil['saaSK']),[];}}else console[liiIl1ii(0x12c,'L2oW')](il1i1li1[liiIl1ii(0x214,'^5hM')]);}}}catch(ililli1){$[liiIl1ii(0x255,'^MrQ')](ililli1,Ii1II1I),I1l11i1=null;}finally{il1i1li1[liiIl1ii(0x186,'G7M8')](il1Il1I,I1l11i1);}else I1lIi1[liiIl1ii(0x1c4,'mc3A')]=!![],i11l11I['lotteryChances']=lll1I1lI?.[liiIl1ii(0x217,'LrFh')]?.['lotteryChances'],Iilli1l1[liiIl1ii(0x162,'1XGK')](liiIl1ii(0x19c,'b)DN')+I1lil1[liiIl1ii(0x144,'h77n')]);});});}function l11Ili1l(lllIiIIl,liII1i11){const i1l11il=I1I1IlII,l111lI1I={'ufqBR':function(illli1ll,Ili1IlI1){return illli1ll+Ili1IlI1;},'jwBbd':function(l1IiI1li,i1iilI1l){return l1IiI1li*i1iilI1l;}};return l111lI1I[i1l11il(0x29f,'^MrQ')](Math[i1l11il(0x27a,'aSJj')](l111lI1I[i1l11il(0x23a,'ffGQ')](Math[i1l11il(0x16f,'3ric')](),liII1i11-lllIiIIl)),lllIiIIl);}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) }