faker3/jd_XinFarm_water.js
2024-07-28 00:58:58 +08:00

19 lines
60 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
新东东农场指定浇水
浇水
环境变量:
jd_XinFarm_waterpin // 指定浇水的账号填PIN值多个@隔开,不填则全部执行
jd_XinFarm_retainWater // 快速浇水,默认不开启(有水滴门槛,满足要求后开启才会生效)
jd_XinFarm_Notify // 是否推送通知true/false默认不推送
cron: 1 1 1 1 *
*/
const $ = new Env('新东东农场指定浇水')
const _0x24584c=_0x593a;(function(_0x308a09,_0x199954){const _0x3438ba=_0x593a,_0x1e4a36=_0x308a09();while(!![]){try{const _0x33b27f=-parseInt(_0x3438ba(0x25a,'vrWi'))/0x1*(-parseInt(_0x3438ba(0x1f1,'sdb8'))/0x2)+parseInt(_0x3438ba(0x2f9,'RtKD'))/0x3*(-parseInt(_0x3438ba(0x3cf,'iu8h'))/0x4)+parseInt(_0x3438ba(0x2d7,'8s5s'))/0x5+parseInt(_0x3438ba(0x26b,'AdD%'))/0x6*(parseInt(_0x3438ba(0x1f8,'y0M('))/0x7)+-parseInt(_0x3438ba(0x2f4,'AdD%'))/0x8+parseInt(_0x3438ba(0x20d,'tl%r'))/0x9*(parseInt(_0x3438ba(0x309,'w^gv'))/0xa)+parseInt(_0x3438ba(0x278,'w^gv'))/0xb*(-parseInt(_0x3438ba(0x20e,'iu8h'))/0xc);if(_0x33b27f===_0x199954)break;else _0x1e4a36['push'](_0x1e4a36['shift']());}catch(_0x11d17e){_0x1e4a36['push'](_0x1e4a36['shift']());}}}(_0x13c5,0x36b3e));const jdCookie=require(_0x24584c(0x379,'&uol')),notify=require(_0x24584c(0x35b,'nrxS')),common=require('./utils/Rebels_jdCommon'),{H5st}=require('./utils/Rebels_H'),CryptoJS=require(_0x24584c(0x2ec,'g]cY')),querystring=require('querystring'),pinFilterGoods=(process[_0x24584c(0x27b,'&uol')][_0x24584c(0x298,'z9yY')]||'')[_0x24584c(0x2aa,'hO2f')]('@')[_0x24584c(0x346,'8s5s')](_0x115cd7=>_0x115cd7),retainWater=process[_0x24584c(0x216,'XXmD')][_0x24584c(0x23f,'Mws!')]==='true',isNotify=process[_0x24584c(0x439,'ZUtX')][_0x24584c(0x24c,'vV2l')]==='true',sign_linkId=_0x24584c(0x23b,'XXmD'),draw_linkId='VssYBUKJOen7HZXpC8dRFA';let pinMsg='';const award_map={0x1:'水滴',0x2:'水滴'};let cookie='';function _0x13c5(){const _0x27796f=['WR3cVtOZgmkJW7ldMSkgvcbst8kCna','W4yRW70pWPfCWRi','wJxdGCkNjCk3W5raha','DNWGWQ7cIJi','hwhcMYDfzW','l8keg1NcRCoiWQvDW6DfWR09W7ddLSksEcRdP8kOW4riWR99WPygze7cUuVcP8oPxYhdVq','5B6N5yMR5BES57I/6k+z57Y45B2v6yc15Rsv5RoD776N5y6g5BYG6yoy5RAz5Rg9lG','s8orWQtdNSkDW4tcMCoEb3SwWR43','z3ZcHCklpY3dTCoigSkk','z3pdGCo0WQuTuSkOW73cOI4','xINdLSkRj8kJW7fjesjOWRzj','W5DsWPq','8jYjT0e','W5JcIUETLUwiK+wNI+I0JGe','W6ldMSoUW6/dOaS','oq7dPCk/','rs7dLa','W6ldR2VdGra','wCo0WQlcMq','77Yj6l+q6z2b5RAD','W4rFWOq2w8kKWPmHWQpdGWFcNYq','fXhcPby','W55XyCkj','WPfiAa','W4m6W7OmWOmbW7JcMKhcJwFcLdniBJGgEda','W6RdLmo9W4S','W5m2WOnwjSk7','o3GwWQ9FsK8lpIL3W5hcPq','WQz4lCkzW7mIW4dcTcu','WPhcJSoyta','y33dH8oTWPy8zmk6W6lcMdGtWQ3cQJnn','W6FcUY7dINNcQInWWOD+qdH8zmk7xX8jtNG','W5pdIrCWia9VEq','rJ3cIaZdPuNcIq','pSkqjG','lfVcLCkn','W7z/W4ddHJadwq','6lEy56AZ57Qs5P2g6lYN5P2i','hmkX5lU75yIW5AwT6lseWPe','W7LaWPSRWObhW6WEArG','77YT6l6a6z+M5RsE','W7pdR+MJLEwoN+AjREwjVW','sI7dL8kR','44oI5lMn5lQG6lsp5yYq','fHjdW7mjza7cKcrbouO','WR5VjCkhW7mEW5i','p8kuWRu5WOKxW4/cR8o1W77dVfdcI0O','W41CB3K','W6FcKSoHmG','buS0W79p','W7S9kvxcHmo6','y33dH8oTWPy8zmk6W6lcMdaFWQRcVW','dmoSnexdRJbJjIWRomkWWR7dHe1RWQVcKh0','W4Og5lUL5yMr5A+R5OMg','77YQ54IN5Ocb56kq','WPqDW5b0d8okW4uoWOZdRa','pCohd1tdVL4','W6HaWOygWOPhW5y','qfqu','WPylW59rcSoOW4eqWPddPXC','ACk9fvG','ee0zW6buba','W4O+W704WP9VWRBdHKi','abxcPdtcOSkdcazd','ymkVbG','yCkZbG','W709WQn0jCoFW7u','5OUI54w+6ykM55+m','WQzRnSkcW7SFW6xcUdtdJW','ANj+nCkjW5ea','imklWQ0KWPG','owKiWP1qwMKwotn1','mmkuWQuO','W6JdLmo7W4FdJqVcSYldTcuDwSk4gu8+BSorhmkG','W6K5WQf1g8oiW7hdIHLfnwzTWOfNWOOHW7VcOGLFW78U','W6FcUY7dINNcRYnTWOXt','bmk7W7RdIZTiF8oUsGC','WRD45OUN5yIq5lMU56U05RgT','eCkCWQ0','WRddR2xcLrpdRIrJWOrTztG','W6ZcVY/dLeFcVYC','cdBcUM3cMajq','CCkyo8kdW4NdRvpcKCodn8kNWOWlASoxumkL','FSkxoSklW6tdUa','WR9Kj8kpW6miW4tcQG','W69BWO4iWPze','W4Hnt3NdMrb/W5/cUK0','hhdcIszCya','fHjdW7mjCGdcPJ5/oeqMxXbE','W6ZcQtS','B8k1g3RdHNzX','W5PnWObbWQDObmofW7m','yg7dH8onWROV','fmkwW7i','W5C+WOT2cSk9FSoGW7ufdrZcHSkgW6a4W5zreSoaWQhdPbhdRSk1','WRdcLEs5SUwiI+wMO+I1NmoY','W4P2ymkjWQagfeFdJmoMnmoAFq','bSk2cfa','bJlcQwtcOHHmWOfO','WPDjESkv','W4DEWOa/wCkOWPyJWPFdVYBcNc8','wfOaW4CUDa','qCo+zmo0','W7HiWPiHWOPo','frhcOHRcKSkEaGziWOfFW6NdS8on','dfyH','frhcOHRcKSkEaGziWOfDW6FdOCogW4vjWR91eCoH','WQNcRICO','pmkBqN/cUW','juNcHG','gSkeW7VcSmooWOtdJSoTagmN','WPLvEq','qv4aW58gD8kZ','bLG0W71IaSoektG','bdlcR2G','e2NdKw3cQbpdMmo8d8omWRLwAq','WPmlW4nRnmoOW5yhWPZdLHlcUWqxW5O','W6GQ5lQ/5yMc5AYA5OM8','d3BcJJPgFu3cOSkwkWDjWONcPc/cGKCcEa','WRfVmmkVW7CyW4tcQJtdRYFcSmkfWQXSpLqeW6hcMJVcPGlcIG','iCkEWRySWP4bW6lcLCoTW7O','imkvg2hdQ8kbW74','W7ddIH7cGmorW7b2lSkccgTBzHpdUSkuWPm','W5T/D8kbWPmuk1VdKCoHjCo3BCoeWRVdJZZdItXpWOm','56we5QE+5Ps85lYl54IZ5OML5yUf','WRbRnSkoW4KeW47cTcu','Dx3dH8oHWQq7qCkOW73cPG','fSoPgxZdQI1HjION','cCkeW6FcHSocWOpdR8o+hwW','saJcJJBdVKxdNmkdCmkl','W7pcRZldOKJcVa','bLG0W71IhCokmdJdNG','kSoabNZdUxRcJSkSWRhdVNu','WRrJpSkUW6ul','WPdcGmoptmorWPC','WPtcGmoormk4W5fBW7OgEHfAnKjFwmkFWRZdNmoO','BSkUgeNdNx05WQZdVa','WRbRnSkoW4KEW4dcSc7dSsxcPCkWWRH3nG','z2e7WPFcJcy','ymk15lUB5z+q6lAD5y+I5yUu6koH5lU477Yl6k2n5QoF5P+d542y5AcN5y+K6ys65PIg5zo36ys3576e5Q+556gYW6y','nZzL','yxz/k8k3W4ieW6OhWQpcKsajWQG','st3cHZ3dTvlcNG','5PYw5Qc45yYT6iU45lMJ','smoqWQZdLCkAW4BdJCoLbeexWPK','W7NdOwe','W5uWWPD+','WPXsASkafgZcKqu6W5ZcHvddPCkTWRPNmX5LhW','W4Og6Aky5yYM5Aww6lwZWP4','WR1TW6aTD8ofW7JdGdXDka','n8kAWRuS','rZNcLdtdMe/cMq','W442W6Ci','luJcK8kHc8oJ','4P2tW7JNPi/MPB/LP5VOTQ3VV5y','W6xcUYJdHG','W7hcTNKQW5KY','WRn4nSkUW6ul','fbxcVIlcJa','W6hdT29Xpa','W7FdR3P4nCkshSoJWPatjCojWRq','WRRcRICSd8k0W6tdHmkf','W6K5WQf1g8ooW7hdKbXfnwX7WOPQWQmTW4FcRba','WRbRnSkoW54dW5u','y3z5jW','W41FWOe2xSkSW5WlWOddRdpcUG','zcJPO6dLJjZLPidOTiSS','WQVcRIeKiSkuW6/dKCkfyIvZt8kdnq','W5C+WOT2hCkZEq','5Q63776N5y+x5RAQ5Rk6W68','W4PCDv7dIWHhW6hcQe1JW6a','W7NdNCoSW4/dVGRcNItdRG4kr8k0','W6NdQgW','6lwC56wH5OMm54s46l++5P+r','W7LDWO4SWOTeW5OpEa','ymoqjcqf','mCksWRSoWOmbW5m','gSkkW7hcGG','rZNcLdtdJ1dcGSofa8ooWOnTFSoUW7K','gwCiWR5uqhHjbcrIW5O','emkaWQ0','W7pcOx8RW4SHC8oaCmkMpCktW6FdRW3dHGqMWRG','imkvg2tcU8kbW7KtW6fq','WOtdG1jUWOLm','fmkKzSkOoa','4P2jpoIgR+AERoI8MEIGHoMbGUwlUEs4J+MxNUIUS3W','W6K0WRX3nG','W4vsFa','oSoCb1tdVL4','aNRcNq','gWtcPaFcVSowtebhWQ5gWQBdUCkgW4TYW7H1eCoIFeRcKmoxW6RdOCoUug8wzeqzWRe','W7L1W5ZdMtqfuG','sSoLDmoHlXVcNNtcVCkaBCoFW5xcI8oWhc7cOshdGdOND8oBW4BcOXpdS8kMW51zhsVcUW','WQRcQICfhmkuW7JdH8kuFdDSEmkuiXZcJb7dGq','W5XUDCkaWQK','W7D1W5q','W6pdHSoU','ttFcGq','mSolbMRdRf7cHa','n20vWRLqswK','W6ZcGCo+gIKs','W4ZdGEAiGEwLV+InKow8TbO','iCkrhutcGCkaW6SBW6HQWQrYW7RcNq','AwCM','p8kuWQy','gSkZW60','rSoWDmoW','sYJdICkdomk3','W6iKDG','bXjyW6O','DxtcJCkNitK','pSkgmMCcnSk3','5y2E5lQ65RA+5RcV','sM7dNmoNWQaM','suKbW6euDW','WPCtkCkwuq','iNaEWRjjvNqCkcvQW4FcQsVdRK4kWOdcKWhcK8ooW7JcSSkHW7RdGCkwFmkKdcxcQrHWxqRcJbZcGa','W6u9neFcNmoM','o3GwWQzu','mszZ','yxz/k8k3W5ikW4yyWP3cJIi','nM0iWQ1frG','W64OWQn0iq','AMNdGCogWQuPyG','6lw15yYu5PAH5PwC','W6hcH8o4jYLpDCkOWRBcQmoNWOWGpmopFSojW4hdUmoPW6NdSGugfmoklMRdHSohWPXkuI8','rZhcII3dTvi','W6xdTw1qkSkg','l3SdWOTbxLGiiW','FmkTWRaGWOxdVCkIvdS0W6GnW6K','iwRcICkdfSoH','WPndASk8bIldM1KMWQJdM03cNCkIWQW6or5M','WQJcI+ESKUwlNEAkNUwiJU+8JEIpUow9P+wKUUwkHEoaRW','W63cGmk+W4ZcPa','fhZcJSoZDSoTWOaBwgS','p1VcImky','amoPgxddMdzkkJS','W5P7CCkKW7Kgla','WPzpzmk9fde','WPbhASkr','tL9fW49F','W6zgWPS','w8o0WQtcLCoKyCkIW7RcVLJdLNzvWOm','WOn5iCkrW5GnW4ZcVa','B2n5nSkBWOXkWRyeW4NdKYruWRBdLK1xW4a7WOlcU8kkW7O0WPFcK3qbdSkZW4lcM3tcQCkpvxHnW6SRlY49eCovD8onW69+WQ9hW4utvXldIN5dy8oAWOvRb8oWjSoNWR06W7VcJXa','x1iuW4icDmkjACoSnq','CSk5WRi','tNZcRN3cLbXqW4nFW5dcQmk1eIPIWR3cRmk1saxcIsZcQ8ola8kOaq','W6m3WRq','fGlcOJRcVSkl','WRD46AoC5y+25AEz6lARwq','BIzu','zN3dM8ogWQG7CCkEW6JcSZKe','B2COWRq','CxZcHCkhdt/dGSoAb8kyWQldHmklWP3dVNpdVSomWOJcGc8','udxKUihLI7lLPihOTlez','reabWRrVm1m','WQZcVYmLga','ndxcHa','n8kcnxu','W6JcTc/dGLtcRa','dhZcGb5dCW','qJFcGJW','AmkWWQCxWOBdU8kexWi+','WP7cJSoB','ofVcK8knfCo3pxZdVSkC','aCoTh1xcSI1r','4P+3hEEKVUAKIowNUEI0ME+9VW','oCopb3tdKK7cGmk3WR/dPq','W60XWQLvn8oB','A8k9e1tdTMz1WRxdPcjZyh0EW7jl','tuSdW4ac','AMrQ','W63dKmoGW4y','bfyOW7D5bCofiXVdJCkRaCoQWRm1zSkgBq','yxz/k8k3W4ieW6OhWQpcMsWoWR3dMW8','W4yVW74','W5OjDmkujdNdKue7WOW','WQrVn8kwW7Oy','WPBcGmoisa','c2FcIb5dCW','W7hdJHJcOCoVW6vKpmkelurpvqldQCkoWPBdHwa','WRJcUZvKrq','F8k9d13dHN8','bJlcQwtcOHfuWO1/W5hcLCk0gY1CWQFcPq','CSkRWQu','wEI3NEwmTHy','sdBcHtxdPutcImog','W5GXWOP+j8kO','772S5AwV5yU344ka','rtNcKJG','W40VW7WrWQ9tWRJdMeW','EUkELey','WPmlW4nRnmo9W5CrWPddUGtcIWWlW5CYc8o+WQzdl8kjWOtdPCkR','W6ZdQhG','WOpdMfPUWOLm','W649lMJdNCo9dq','W6qRpq','eHVMI47LP7ROJ5dLVOFdTG','W6LgWPiJWOXe','AhSM','W5KRW70jWPXp','dSknW7dcGSodWOpdO8oWbgG','W6ldRMvEnSkfnW','W6u3pq','nCkrau3cSCkF','oSkmmG','hX/cTW','W55pWOfiWRTB','kCopgwZdQa','W4hcT24vW6q0E8ow','rmkSWRScWO/cTq','W6BcVYJdPeNcTYLWWOX3uZT8BW','D3NdHSo1WQu8','dZBcN8kQW6nIl+w/IEwLGUodL+s7Sos5QUI3V+wmVa','W7BcRxeQW5KY','W6eSlLdcM8k0vMu+WPimW6P/WPy4WP/dUtaUomkgearxW61xW4VcTmkTANeKW5VdNq','W5lcHbO','aSoPh3W','msNdVmoSWPK6uCk/','z2/cNSkqnXRdLmoAdq','W4HsWP5G','W7X/W4FdVwqxsa','W77WLRo9W5dOVRFOOjRNUA3MNRzy','W47dLayYaaLREGu','mCkko1CmnCk3','zmkno8khW7JdQ03cLSoi','E8kwlG','w8o0WQtcLCoZESk3','gSkHW7O','W4KNW7q/WP9FWRi','mSktfxuqoSkEWRZdOCko','tLqhW5GlDCkbF8oWzCkm','WPhcGmosFSkgW5DFW6ebsWq','FCkXWRGXWOxdRmkP','C8k3WQu','W65iWOGK','W6OQWQfvn8oB','bshcQutcJHC','AhNdHSoZWQGVya','W7dcPx8g','WPXsASkafgZcKquZWPNdGHpcPSoPWRqTFHjNxqhcRrSeWQ/cHLCCpSo9W5ecyWa','W7VcLSo8oZSwpW','iCkwl1ennq','rvuaW4Kvza','fbxcPd/dUmkFfW','DSkkoSkhW7hdOG','WOhdJ1XRW49yvq','WPzjASkecZpdQuSMWOZdMq','ie7cLCkCc8k+vJldQ8knhmoYW4m2lGdcMZa+BConW4ldQNZdHJ1VW7GkWQxcJCoYECoE','A3xdLSoRWOCPAmkS','ogeCWODcsq','k8kFca','W7ddPM18nmksfSoTWPag','hw/cGq','W4XvWPzGWQrplCozW7v+','sfOhW40','imkpWRmKWOicW5/cISoK','ESkklG','k+EMLEANQ+EBNEAYPoAEVow0N+AkPEEhG+wnLUs4J+AuTEIoREs4H8oWW7i7','8kUPNghLT6BMTktMSAu','zgNcHCkdpdNdMmopfW','W5a8WO1Yi8k1ECo6W7KfjJpcMmkcW7C7W5bvgG','ndf3WR3cMqZcIJ9n','5P265Qk75BYO6iQs5lM8','W5/dIq4whqK','W5ddKXm','eCoGdNJdQY1TkdmJ','5OIx6kc/6lsx5y2PBca6','umoMWRe','W6BdGCo9W5RdOupdVwtdUWOgg8kGwuefkCorhmkJBSkRWPCUW7NcGCoTBCooWO5xx15I','yM01WPBcNJxcNsjSW5NcLCkGBs90cxpcRMO','W68XiG','W61mWOGnW5bqW4C','W63cKSo4nG','W685ke3cT8oVcJK2WPerWPTGW50XWP7cVIuKcSoibaLmW6W','DSkjoCkcW7m','5B+f5yUM5yIf5l605Rk65RML77YB','nuOJW6jZc8ogiq','W77dLmo7W4VdVWRcLIRdRHS','nMCb','ECoq56Yr5yIz5AEV6lExWQO','W7ddIH7cGmorW6vGpmkBm0zAyaldSSklWPRdTw8VW4VcN0C','W6i9WQbRjCoBW7u','m8obeG','fHjdW7mjDbpcQJv/ke4Wtay','W5S7W70u','WPmyW55R','W5tdJWC','W697W4ddNHGa','y2KZWRFcOdBcMsv9W6O','cmkoWRNcOtNcVvdcJq','W6NdQxT4iq','jfxcHG','lSkEdexcQ8kwW68b','W6FdOMTvBmksjG','WPayW4nlgmo7','W586W7Pl','fmk3W7tdIq','dfyYW6rygmosbZxdJCk3d8oCWQK','W5XyWODjWQLiamofW6XAyCkgDmkyysq8WQhdHG','tSo+zW','tZhcHtldNKhcGmoq','rmoWCSo8a0ddGIJcTCkdCmkUW5hdI8oZdf/cQYddI3O','W7VcSNhdHeG','W6GQ6Aoc5yY15OQg5yUZ776T6i2U5B+x44k+','BxW1WQRcJhVdL355W6JcJmo+vMrShJtcOMSkywtdMSk0BXPUz8k5W4uIW6ySDa','C3ZcG8kl','nmkEWRubWO0rW5pcN8oPW57dOKpcUfZdISkuW5aYcG','WPSlW5XJ','W4Oilh7cNa','56s55QsR5PAU5l6S54Io5AwN6lAB','uCo6WRe','dZtdImkE','i8kcm3uoiSkwWRtdPSkB','aWlcUq3cQmkIaGjd','wSoWWQlcSmkozSk3','WOpdMCkMFxbFCow+H+wKNoodIos4OUs6VUI1Q+wpPq','n8krhuJcS8kbW44tW7ju','WPRcLCoiwCkuWPKvWRWjvqOBlGjry8oyWRZdNmoRuu9SWRKioc54W5pcVSofkCoXWPe','W6eSlLddKSkHvISVWOTlWQK8W5i2W5xcTdWSESoiaWe','zxJcHSkFnY3dHq','W6tdPMT8','W5fXyG','pSkEWRi+WO0cW5m','W6dcNCoVoY8rp8o0','WPZcGmorta','FbtdKW','W5L/CCkn','qZhcNbtdO0C','W4O+W74qWPu','5P6+5Qka6zw/5AA25lUA','W7NcT2W','W6BcVYJdQ0FcRcDQWP1GqIDFB8kTCX8ftW','EqRdKq','W5VdGqy2mrPJBXCjqWXWprjq','WQhcOdq','y3ZcHmkbgZO','sLObW4e4CCkLBCoTC8kkrGRcHmoBuLtcTsldLCoK','W4m6W7OmWOmbW7JcMKJdIcddL3amyhjlDdjMyCo4lmoIjcVdTZxdVG7dS33dK8oi','W7NcOxGuW4SYCW','W6pdKmo6W5NdSX7cTW','uSoWCSoWmvldTtRcQmkr','W4feWOm','y2KZWRFcOcdcIYjXW6VcKCkpss9Lh3pcT2e4l3ddL8kVBG','AmkUe3tdMNu','FCkXWRG/WPNdRW','aspcQe3cKIrcWP9M','W7nUW4FdHsjEe8khvsTCjCotW7tdGXO+wIrQdSo1W7DzrhtdM8koWRKd','hHxcOWtcRmklbG','W7xcP38oW5W8ySoAyCkueSktW53dQWVdKWi7WRS','W41sDx/dRHrDW5hcJ1H0W7/dQ3hdVSkkW5jiys8','eGdcObVcQa','fSkIW63dItS','W5mWWO1VoCk5wSoYW6GtcW','WPdcImogzmkuW4q','W63cTtS','cNRcLdr0E1FcRmk1osPuWRBcRdZcIMaFEmkB','6lw256E16zEX5AwB6lYO5PYY','y2KZWRFcTY7cJa','W7tdPMX2cSkoj8o+WOCcfCojWQe','jmkAWRuOWP4XW4/cNmo4','5yUP5l+E5RcR5RUP','W5HSD8kHWR8s','nSkrm1KqnG','W5tcKHeBW4S','o8opaxG','W50WWP4','5P2k5QcB57Qx5P2/5lIq','c3VcJa','y2KZWRFcOcNcLZX9','tcVcGq','WRXLlCkn','WP/cKSoB','m8o86AoN5y+V5OQ55yQn77Yy6i2X5BYy44gT','emk3W6NdQt9yrCoQvNm6qae0W4NcLCkfxMC','a2VcMCoKyCo6WRC','ywK1WRS','W6SXigpcH8oQha','tLpMIOZLP4JOJ6hLVPDb','cdRdMmkA','m8krhelcN8kfW6SaW6i','8l2lP3RLT5lMTQ/MSRO','W6VdH8o7W6FdOr4','W5/dIq4yaqPN','pSkiWQy','5y6O5lIv5B6e6yc25RAz5RogW5e','W5u+WO16','FSkPaLRdJgfN','W7H1W5FdKa','b8o4p3ZdTdvPlI0Y','DSkjoCkcW7/dR0xcHmoypmkwW4Cwm8obtSk+W7ueWO4+WPzzW49afq87W5DxwSo0W5a','W64Im1ddHmkUhs85WO4eWRb3WPrYWPNcPq','5yYS6yEP54QO5OoX57Q05PYjWOmxB8ouWPyaW7BdUSoJDa','hbXw','W7xcThGJW4ubD8oaBW','W57dKHe6gGS','qItdISk9','W4pdMmkktSkbW65iW709','pMKsWQS','W797W4FdLa','W6JcSKaSD8orFmk8','W5KRWO1RjSoMiSk8W70geg3cMConW6K5WPfegmoYW6/dSbZdTCk0DGlcJmopyZZdKKKG','WPtdJ1TwWPzF','g8k9W7O','W6/cKSo+oHiAlG','WRtORlpMSyNLPzBOTO914P6kWPm','edlcQwJcKanNWO15W5q','W6ldRMvqkSkg','W7/cHISQnSkhW4S','WRtcQsG','W7BcUYJdGLtcIInWWODXqd5ZBW','CSk9WRebWOVdR8kP','k1xcHCkj','xHldLmkyWQddP8o3','W4TCWOfKWQvpiCoxW6X6','yCodW7H1W50','DmkwlCkl','eHPlW5mLzW','fCo8gxtdQtLmisC','jSktg0dcQmkBW74BW6ngWOTJW7hcMCkmEMVdTSkQ','WQhdJrtcT8oNW5HB','CCkyo8kdW4NdPeVcNCou','W5P7CCkGWQmsmuBdQ8oMmmoCCCoz','wmkVbeVdP3n5WQm','W61mWOGjWOrxW5yADwZdR8oehCk+WR4OemouvG','W5ddHqCOdWLN','W7pdS210n8kgo8oQWP0','W7hdJHJcPCk7W6j1','zCkCoSkBW7RdUa','WOlcGmoosmkkW5b+W7iCra','CwCsWQ7cJsJcLJy','dJldLSk4WOtdPmoe','WPKfW5y','W5XyWODjWQLiamofW6XsxSkLDmkyysq8WQhdHG','e1aHW75ydSo0mZxcMq','WRbRnSkoW4KyW5pcVcxdStxcR8kMWQTH','ymkrlmklW7RdV2JcN8ofj8kDWPOxvSoztq','4P2jkoADQ+IaP+AUNoEGR+wNVoErLZG','W593F8kHWR8s','WQ/cPIKedSkh','aXPwW7aZzd7cUdGv','mYjekSk4W4qXW68','mJOlWRJcHIlcRtS','W7nUW4FdHsjEe8khwdrbF8oBWQJdKbPIwdWQt8oXW7aE','W7RdHaS','W7ldIHJcJa','W6q9kvpcICoPha','cNtcJJi','rCo0DmoDpvxdLcJcQmkXDmkbW67dGmoOc2NcRsa','W4fjB2JdMueCWPNcQeLVWRZdLtBdS8kaWRreyYDtWPemca','wmo7WQa','iCkrhutcGCkwW6uTW7juWQD4','fXzfW5i3DatcVcrHoLehwXbjvfe+','CNtdKmoLWQu7sCkMW73cSZKeWQa','Dh5QkmknW5i6W64eW4K','W7VdMaS','dxRcNJy','W6pdQhT4','bLaOW7frbSos','tsddH8kV','WPHjEq','W6/dHCoGWOtdV1FcUc/cTbKawa','hHjCW7S','4P+fEoADSoEFHEISN+AZJfK','e000W7LtdCociIq','W6pcSYBdPeNcVcC','oCopb3tdHvBcLq','t8oNWQ3cLwSCwmoWw1CjxG','gmkoWR7cQW','auK2W7XucCokmdtdG8k3q8otWQK9zSoJiXldNSolbmk5sM/cImkXb8odpxVcGtO','E8k3WQWvWQ7dP8kIvYK6W7efW5tcJmkOjIZdNSk5WOa','AxpdKG','ywCVWR3cUY7cLJzEW7NcL8k9AcnHfflcRMKc','W6lcUZldOuFcQZzoWOHvvYu','q8o8WQO','W6tcPxKgW4CMuSosCmkg','W7PQW4pdMtq','WOVdMu8','y2KZWRFcOdhcLYfhW6/cJmk+xYvX','E3lcKa','W51CWP92WQ0','WQJcVseedSkh','W7xcN1/dNSk8','WPGzW5y','W6XiWO4OWRPlW5Weza','yMv/c8kBW5e','W41SWQG','CCowWP7dLCoDq8o0W6hcHMNdUxDKW5RcKLxdGe/dPrVcK8oT','cFcAGz3VVz8','hmkX562+5yQH5AwT6lseWPe','W7xcUY/dJhlcOtj8','W4eQW5eKWPLvWPhdLfVdLrBcI3HwA38lqdX/k8oP','WORdHu8','WR12Bq','j+IVOoAXJ+wLT+I3JCkw4P+5WRNMLOZLKlhLUANMLlNMJjq','WP0EW4v2gmkMWOTnWPJdUrNdUGHlW5qIESo0WQDiB8k1WOddO8k6WQxcO8k1W5usW4OVC8ob','mCkko1KqnG','5yYS6yEP5BYE5zoF54Ur5OgxWOmxB8ouWPyaW7BdUSoJDa','W7zPW5q','Dgn/l8kgW5emW78v','5ywk6yg56lsM5y2M5OI76kgT','W4btF33dKG','5yQj5Asp5yYD5B2L5BQsDEkEISkt','A8k5WRezWR7dSCk8vq','gHDUW4y/BIFcRIjnfw8+sGTCra','BgyIWRBcIIxcNsi','WRbJpa','jComESoBWQxdTuZcICo/fmkx','xmoLWQBcLmoE','FSkOe1ddH3v9WQddTG','t8oug8klW7ddQvBcLCodFSkOWOKjEW','pfVcKSkhmCoG','WPelW4vN','6lwj56w/5BYl6iUw6l2Y5P2C','BxNdLmoKWQW6DG','bCoPbuRdPIPantCOaa','a2BcNq','W4HjWOfSWQzBdmoqW6e','BCkArsRcUGJcG8kSWOJdNwjP','h8oAW73cRfS','W5hdJXm','5lME6icE5B6Q6ycl5RsK5RgL','W5LXA8klWOGAnK/dVSoZi8ofv8odWRxdLsRdJG','W6ldMSoU','h8keW6FcISoWWOldISo2b1iWWPCAka','W7pcOx8VWP8MyG','eSkGW6/dQc1l','nmkgnvXwiSkM'];_0x13c5=function(){return _0x27796f;};return _0x13c5();}const cookiesArr=Object[_0x24584c(0x1e0,'ZN[q')](jdCookie)[_0x24584c(0x35a,'q[$$')](_0x2e552b=>jdCookie[_0x2e552b])['filter'](_0xd2a0c6=>_0xd2a0c6);function _0x593a(_0x48bfb1,_0x5697bd){const _0x13c54b=_0x13c5();return _0x593a=function(_0x593aaa,_0x1b2044){_0x593aaa=_0x593aaa-0x1d7;let _0x8312a1=_0x13c54b[_0x593aaa];if(_0x593a['pOGQfz']===undefined){var _0x12007b=function(_0x2e552b){const _0xd2a0c6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3db3cb='',_0x2a3aed='';for(let _0x36aa17=0x0,_0x5c2dae,_0x4aad9d,_0x5a0c3a=0x0;_0x4aad9d=_0x2e552b['charAt'](_0x5a0c3a++);~_0x4aad9d&&(_0x5c2dae=_0x36aa17%0x4?_0x5c2dae*0x40+_0x4aad9d:_0x4aad9d,_0x36aa17++%0x4)?_0x3db3cb+=String['fromCharCode'](0xff&_0x5c2dae>>(-0x2*_0x36aa17&0x6)):0x0){_0x4aad9d=_0xd2a0c6['indexOf'](_0x4aad9d);}for(let _0x553b2e=0x0,_0x365cc3=_0x3db3cb['length'];_0x553b2e<_0x365cc3;_0x553b2e++){_0x2a3aed+='%'+('00'+_0x3db3cb['charCodeAt'](_0x553b2e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2a3aed);};const _0x115cd7=function(_0x19d321,_0xf8f45e){let _0x28c3b3=[],_0x140e62=0x0,_0x47b4f6,_0x47dc44='';_0x19d321=_0x12007b(_0x19d321);let _0x41ddcc;for(_0x41ddcc=0x0;_0x41ddcc<0x100;_0x41ddcc++){_0x28c3b3[_0x41ddcc]=_0x41ddcc;}for(_0x41ddcc=0x0;_0x41ddcc<0x100;_0x41ddcc++){_0x140e62=(_0x140e62+_0x28c3b3[_0x41ddcc]+_0xf8f45e['charCodeAt'](_0x41ddcc%_0xf8f45e['length']))%0x100,_0x47b4f6=_0x28c3b3[_0x41ddcc],_0x28c3b3[_0x41ddcc]=_0x28c3b3[_0x140e62],_0x28c3b3[_0x140e62]=_0x47b4f6;}_0x41ddcc=0x0,_0x140e62=0x0;for(let _0x58e0d5=0x0;_0x58e0d5<_0x19d321['length'];_0x58e0d5++){_0x41ddcc=(_0x41ddcc+0x1)%0x100,_0x140e62=(_0x140e62+_0x28c3b3[_0x41ddcc])%0x100,_0x47b4f6=_0x28c3b3[_0x41ddcc],_0x28c3b3[_0x41ddcc]=_0x28c3b3[_0x140e62],_0x28c3b3[_0x140e62]=_0x47b4f6,_0x47dc44+=String['fromCharCode'](_0x19d321['charCodeAt'](_0x58e0d5)^_0x28c3b3[(_0x28c3b3[_0x41ddcc]+_0x28c3b3[_0x140e62])%0x100]);}return _0x47dc44;};_0x593a['DfZenb']=_0x115cd7,_0x48bfb1=arguments,_0x593a['pOGQfz']=!![];}const _0x4a4776=_0x13c54b[0x0],_0x33f88e=_0x593aaa+_0x4a4776,_0x3bfe35=_0x48bfb1[_0x33f88e];return!_0x3bfe35?(_0x593a['mAKVSf']===undefined&&(_0x593a['mAKVSf']=!![]),_0x8312a1=_0x593a['DfZenb'](_0x8312a1,_0x1b2044),_0x48bfb1[_0x33f88e]=_0x8312a1):_0x8312a1=_0x3bfe35,_0x8312a1;},_0x593a(_0x48bfb1,_0x5697bd);}!cookiesArr[0x0]&&($['msg']($[_0x24584c(0x40e,'Qx5U')],'【提示】请先获取Cookie'),process[_0x24584c(0x2fc,'Mws!')](0x1));!(async()=>{const _0xbe48fc=_0x24584c;console[_0xbe48fc(0x210,'y0M(')]('=========='+$[_0xbe48fc(0x294,'80xc')]+_0xbe48fc(0x245,'&uol')),console['log'](_0xbe48fc(0x3d4,'vV2l')+(pinFilterGoods[_0xbe48fc(0x33d,'E#dF')]?pinFilterGoods['join'](',\x20'):_0xbe48fc(0x248,'T531'))+']'),console[_0xbe48fc(0x220,'&uol')](_0xbe48fc(0x34e,'ZN[q')+$['name']+_0xbe48fc(0x1dc,'&uol')),notify[_0xbe48fc(0x38f,'rC!6')]({'title':$[_0xbe48fc(0x222,'vV2l')]});for(let _0x2a3aed=0x0;_0x2a3aed<cookiesArr['length'];_0x2a3aed++){$[_0xbe48fc(0x249,'pFH^')]=_0x2a3aed+0x1,cookie=cookiesArr[_0x2a3aed],common[_0xbe48fc(0x2a3,'rWae')](cookie),$[_0xbe48fc(0x3de,'*y4(')]=decodeURIComponent(common[_0xbe48fc(0x39c,'K7wc')](cookie,_0xbe48fc(0x2a1,'*y4('))),$['UA']=common[_0xbe48fc(0x302,'rWae')]($['UserName']),$[_0xbe48fc(0x2c5,'$z!(')]=common[_0xbe48fc(0x285,'8s5s')](_0xbe48fc(0x33c,'sK*N')),$[_0xbe48fc(0x288,'9Oia')]=notify[_0xbe48fc(0x1df,'vA^4')]($['index'],$['UserName']),$[_0xbe48fc(0x3c2,'hqGp')]='';if(pinFilterGoods&&pinFilterGoods['length']>0x0){if(pinFilterGoods[_0xbe48fc(0x40d,'80xc')](encodeURIComponent($[_0xbe48fc(0x357,'4uur')])))console[_0xbe48fc(0x355,'rC!6')](_0xbe48fc(0x405,'80xc')+$['index']+'】'+($[_0xbe48fc(0x284,'vA^4')]||$[_0xbe48fc(0x39a,'%snU')])+_0xbe48fc(0x440,'ZN[q')),await Main();else{pinMsg=_0xbe48fc(0x382,'hO2f')+pinFilterGoods+_0xbe48fc(0x2ef,'XXmD');continue;}}else console[_0xbe48fc(0x418,'ehXp')](_0xbe48fc(0x39e,'hqGp')+$['index']+'】'+($[_0xbe48fc(0x3f6,'8s5s')]||$[_0xbe48fc(0x1fb,'g]cY')])+'******\x0a'),await Main();common[_0xbe48fc(0x2e8,'vrWi')]();if($[_0xbe48fc(0x3bb,'$z!(')])break;await $[_0xbe48fc(0x335,'vV2l')](parseInt(Math['random']()*0x3e8+0xbb8,0xa));}if(pinMsg)console[_0xbe48fc(0x1dd,'vV2l')](pinMsg);const _0x3db3cb=notify[_0xbe48fc(0x31a,'KWjm')]();_0x3db3cb&&(console[_0xbe48fc(0x22b,'hqGp')](_0xbe48fc(0x3a7,'&uol')+_0x3db3cb[_0xbe48fc(0x3ba,'80xc')](//g,_0xbe48fc(0x388,'sK*N'))),isNotify&&(notify[_0xbe48fc(0x27f,'sK*N')]('\x0a'),await notify[_0xbe48fc(0x3e6,'Mws!')]()));})()['catch'](_0x36aa17=>$[_0x24584c(0x272,'IxwW')](_0x36aa17))[_0x24584c(0x21e,'*y4(')](()=>$[_0x24584c(0x2f6,'VR[&')]());async function Main(){const _0x1b9424=_0x24584c;$[_0x1b9424(0x257,'z9yY')]=!![],$['farmHot']=![],$['fp']='';try{const _0x5c2dae=await common[_0x1b9424(0x1fa,'v[vJ')](cookie);if(!_0x5c2dae&&typeof _0x5c2dae===_0x1b9424(0x323,'9Oia')){console[_0x1b9424(0x394,'E#dF')]('账号无效'),$[_0x1b9424(0x337,'$z!(')][_0x1b9424(0x24e,'4uur')](_0x1b9424(0x344,'$z!('));return;}await goWatering();}catch(_0x4aad9d){console[_0x1b9424(0x2cd,'*y4(')](_0x1b9424(0x31d,'hqGp')+_0x4aad9d);}}async function goWatering(){const _0x5c1e25=_0x24584c;$[_0x5c1e25(0x1f9,'94fX')]='',await sendRequest(_0x5c1e25(0x2e1,'4uur'));if($['farmHot'])return;if($[_0x5c1e25(0x238,'rC!6')]){$[_0x5c1e25(0x42a,'VR[&')]=$[_0x5c1e25(0x2d5,'*y4(')]?.['result']?.[_0x5c1e25(0x26d,'hqGp')]||0x0,$[_0x5c1e25(0x30e,'pFH^')]=$[_0x5c1e25(0x2c6,'nrxS')]?.[_0x5c1e25(0x39d,'hqGp')]?.[_0x5c1e25(0x22d,'K7wc')]||![],console[_0x5c1e25(0x204,'w^gv')](_0x5c1e25(0x3dd,'y0M(')+($[_0x5c1e25(0x26d,'hqGp')]||0x0)+_0x5c1e25(0x23c,'ZUtX')+($['canFastWater']?_0x5c1e25(0x44a,'KWjm')+(retainWater?'开启':'关闭')+']':_0x5c1e25(0x25d,'$z!('))),$['message'][_0x5c1e25(0x384,'VR[&')](_0x5c1e25(0x432,'wHO4')+($['bottleWater']||0x0)+'g');if($[_0x5c1e25(0x26d,'hqGp')]<0xa||!$['canWatering'])return;if(retainWater&&$[_0x5c1e25(0x360,'hqGp')]){console['log'](_0x5c1e25(0x26a,'&uol'));for(let _0x5a0c3a=0x0;_0x5a0c3a<0x32;_0x5a0c3a++){$[_0x5c1e25(0x431,'hO2f')]=0x2,await sendRequest('farm_water'),await $['wait'](parseInt(Math[_0x5c1e25(0x37f,'g]cY')]()*0x7d0+0x7d0,0xa));if(!$[_0x5c1e25(0x3b1,'Qx5U')])break;}}else{let _0x553b2e=parseInt($['bottleWater']/0xa);console[_0x5c1e25(0x35c,'RtKD')](_0x5c1e25(0x338,'VR[&')+(_0x553b2e||0x0)+_0x5c1e25(0x30d,'y0M('));const _0x365cc3=0x5a;for(let _0x19d321=0x0;_0x19d321*_0x365cc3<_0x553b2e;_0x19d321++){for(let _0xf8f45e=0x0;_0xf8f45e<Math['min'](_0x365cc3,_0x553b2e-_0x19d321*_0x365cc3);_0xf8f45e++){$['waterType']=0x1,await sendRequest(_0x5c1e25(0x2af,'K7wc')),await $['wait'](parseInt(Math[_0x5c1e25(0x395,'KWjm')]()*0x7d0+0x7d0,0xa));if(!$[_0x5c1e25(0x2ab,'sK*N')])break;}(_0x19d321+0x1)*_0x365cc3<_0x553b2e&&(await $[_0x5c1e25(0x34f,'hEfj')](parseInt(Math[_0x5c1e25(0x2cb,'rC!6')]()*0xea60+0x2bf20,0xa)),await sendRequest(_0x5c1e25(0x350,'z9yY')));}}$['message'][_0x5c1e25(0x368,'K7wc')]('剩余水滴'+($[_0x5c1e25(0x3b0,'WagG')]||0x0)+'g');}}function getGrowthWord(_0x28c3b3,_0x140e62){const _0x556c2b=_0x24584c;if(_0x140e62===_0x556c2b(0x416,'hEfj')||_0x140e62===0x64)switch(_0x28c3b3){case 0x1:return _0x556c2b(0x2f3,'rC!6');case 0x2:return _0x556c2b(0x413,'T531');case 0x3:return _0x556c2b(0x3d0,'CRyo');case 0x4:return _0x556c2b(0x438,'4uur');case 0x5:return'果树成熟了';}else{const _0x47b4f6=(0x64-_0x140e62)['toFixed'](0x2)+'%';let _0x47dc44=0x0;switch(_0x28c3b3){case 0x1:_0x47dc44=Math[_0x556c2b(0x31e,'RtKD')](parseFloat(_0x47b4f6)*0x64/0x14d);return _0x556c2b(0x42e,'Mws!')+_0x47b4f6+',还需浇'+_0x47dc44+'次';case 0x2:_0x47dc44=Math[_0x556c2b(0x375,'IxwW')](parseFloat(_0x47b4f6)*0x64/0xc8);return _0x556c2b(0x255,'%snU')+_0x47b4f6+',还需浇'+_0x47dc44+'次';case 0x3:_0x47dc44=Math[_0x556c2b(0x3f2,'yQ7v')](parseFloat(_0x47b4f6)*0x64/0xa7);return _0x556c2b(0x289,'iu8h')+_0x47b4f6+_0x556c2b(0x28c,'8s5s')+_0x47dc44+'次';case 0x4:_0x47dc44=Math['floor'](parseFloat(_0x47b4f6)*0x3e8/0x25);return _0x556c2b(0x311,'K7wc')+_0x47b4f6+_0x556c2b(0x277,'iu8h')+_0x47dc44+'次';}}}async function handleResponse(_0x41ddcc,_0x58e0d5){const _0x3c1ebc=_0x24584c;try{switch(_0x41ddcc){case'farm_home':if(_0x58e0d5[_0x3c1ebc(0x1f4,'94fX')]===0x0&&_0x58e0d5['data']?.[_0x3c1ebc(0x448,'vA^4')]===0x0)$['farm_home']=_0x58e0d5[_0x3c1ebc(0x436,'vrWi')],$['farmHot']=![];else{if(_0x58e0d5[_0x3c1ebc(0x410,'v[vJ')]?.['bizMsg'])$[_0x3c1ebc(0x43a,'iu8h')]=_0x58e0d5[_0x3c1ebc(0x441,'iu8h')],console[_0x3c1ebc(0x3ed,'hEfj')](_0x3c1ebc(0x24a,'%snU')+_0x58e0d5[_0x3c1ebc(0x213,'ZUtX')][_0x3c1ebc(0x2ee,'iu8h')]+_0x3c1ebc(0x29a,'T531')+_0x58e0d5[_0x3c1ebc(0x293,'pFH^')]?.[_0x3c1ebc(0x3b2,'q[$$')]+''),$[_0x3c1ebc(0x42f,'iu8h')]=!![];else _0x58e0d5[_0x3c1ebc(0x3b5,'RtKD')]||_0x58e0d5[_0x3c1ebc(0x21b,'y0M(')]?(console[_0x3c1ebc(0x220,'&uol')](''+(_0x58e0d5[_0x3c1ebc(0x3f0,'w^gv')]||_0x58e0d5[_0x3c1ebc(0x38d,'E#dF')])),$[_0x3c1ebc(0x3ac,'XXmD')]=!![]):console[_0x3c1ebc(0x3ab,'94fX')]('❓'+_0x41ddcc+'\x20'+JSON['stringify'](_0x58e0d5));}break;case _0x3c1ebc(0x2d8,'w^gv'):if(_0x58e0d5['code']===0x0&&_0x58e0d5[_0x3c1ebc(0x3c8,'WagG')]?.[_0x3c1ebc(0x3b2,'q[$$')]===0x0)$[_0x3c1ebc(0x207,'4uur')]=_0x58e0d5[_0x3c1ebc(0x2cf,'ehXp')]?.[_0x3c1ebc(0x37a,'4uur')];else{if(_0x58e0d5[_0x3c1ebc(0x1e3,'9Oia')]?.[_0x3c1ebc(0x27e,'VR[&')])console[_0x3c1ebc(0x29e,'WagG')](''+_0x58e0d5[_0x3c1ebc(0x211,'y0M(')]?.[_0x3c1ebc(0x27e,'VR[&')]);else _0x58e0d5[_0x3c1ebc(0x262,'yQ7v')]||_0x58e0d5[_0x3c1ebc(0x414,'%snU')]?console[_0x3c1ebc(0x40b,'v[vJ')](''+(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x390,'iu8h')])):console['log']('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x247,'tl%r')](_0x58e0d5));}break;case'farm_plant_tree':if(_0x58e0d5['code']===0x0&&_0x58e0d5[_0x3c1ebc(0x2a0,'g]cY')]?.[_0x3c1ebc(0x3ae,'Mws!')]===0x0)$[_0x3c1ebc(0x1e8,'80xc')]=![],console[_0x3c1ebc(0x1e7,'yQ7v')]('✅\x20种植成功\x0a'),$[_0x3c1ebc(0x32b,'sK*N')][_0x3c1ebc(0x3bc,'WagG')](_0x3c1ebc(0x2e0,'80xc'));else{if(_0x58e0d5[_0x3c1ebc(0x444,'sdb8')]?.[_0x3c1ebc(0x42b,'Qx5U')])console[_0x3c1ebc(0x318,'o]v0')](_0x3c1ebc(0x36f,'BWQY')+_0x58e0d5[_0x3c1ebc(0x332,'T531')]?.[_0x3c1ebc(0x2e9,'4uur')]+'\x0a'),$['message']['insert'](_0x3c1ebc(0x3ff,'&uol'));else _0x58e0d5[_0x3c1ebc(0x212,'E#dF')]?(console[_0x3c1ebc(0x25f,'IxwW')](_0x3c1ebc(0x2fe,'q[$$')+_0x58e0d5[_0x3c1ebc(0x2a9,'tl%r')]+'\x0a'),$[_0x3c1ebc(0x3b7,'hqGp')][_0x3c1ebc(0x2b7,'94fX')]('种植新作物失败')):console[_0x3c1ebc(0x240,'CRyo')]('❓'+_0x41ddcc+'\x20'+JSON['stringify'](_0x58e0d5));}break;case _0x3c1ebc(0x3ea,'iu8h'):if(_0x58e0d5['code']===0x0&&_0x58e0d5[_0x3c1ebc(0x40a,'wHO4')]?.[_0x3c1ebc(0x203,'sdb8')]===0x0){const _0x7f7a54=_0x58e0d5[_0x3c1ebc(0x308,'tl%r')]?.[_0x3c1ebc(0x391,'Mws!')],{currentProcess:_0x58d6ca,updateStage:_0x2a89bb,treeFullStage:_0xf4b17,finished:_0x6bc7f,waterNum:_0x11f6ff,bottleWater:_0x398893,stagePrize:stagePrize=null}=_0x7f7a54;$[_0x3c1ebc(0x3c0,'&uol')]=_0x398893;let _0x4dd7bd=stagePrize?.[_0x3c1ebc(0x378,'Mws!')](_0x2560ce=>_0x2560ce[_0x3c1ebc(0x399,'vrWi')]+'水滴')||[];if(_0x2a89bb){let _0x32c7e7=_0x3c1ebc(0x3cc,'$z!(')+_0x11f6ff+'g'+getGrowthWord(_0xf4b17,0x64);if(_0x4dd7bd[_0x3c1ebc(0x341,'sK*N')])_0x32c7e7+=_0x3c1ebc(0x385,'*y4(')+_0x4dd7bd[_0x3c1ebc(0x361,'iu8h')]('、')+'】';console[_0x3c1ebc(0x329,'8s5s')](_0x32c7e7);}else console['log'](_0x3c1ebc(0x446,'E#dF')+_0x11f6ff+'g'+getGrowthWord(_0xf4b17,_0x58d6ca));(_0x6bc7f||_0xf4b17===0x5)&&($['canWatering']=![],console[_0x3c1ebc(0x1dd,'vV2l')]('\x0a🎉\x20果树成熟了~'),await notify['sendNotify']($[_0x3c1ebc(0x3fd,'w^gv')]+_0x3c1ebc(0x2a7,'Qx5U'),_0x3c1ebc(0x28f,'Qx5U')+$[_0x3c1ebc(0x3ec,'wHO4')]+'】'+$['UserName']+_0x3c1ebc(0x3cb,'8s5s')));}else{if(_0x58e0d5[_0x3c1ebc(0x32c,'80xc')]||_0x58e0d5[_0x3c1ebc(0x43b,'8s5s')]||_0x58e0d5['message'])console[_0x3c1ebc(0x1dd,'vV2l')](''+(_0x58e0d5[_0x3c1ebc(0x300,'%snU')]||_0x58e0d5[_0x3c1ebc(0x43d,'Qx5U')]||_0x58e0d5['message']));else{if(_0x58e0d5['data']?.['bizMsg']){console[_0x3c1ebc(0x42c,'K7wc')](_0x58e0d5[_0x3c1ebc(0x2d6,'nrxS')]?.[_0x3c1ebc(0x1eb,'wHO4')]);['成熟','没种树'][_0x3c1ebc(0x3a5,'BWQY')](_0x42fc2c=>_0x58e0d5[_0x3c1ebc(0x2fa,'hO2f')]['bizMsg'][_0x3c1ebc(0x24d,'iu8h')](_0x42fc2c))&&($[_0x3c1ebc(0x29f,'w^gv')]=![]);let _0x318144=0x0;_0x58e0d5[_0x3c1ebc(0x436,'vrWi')][_0x3c1ebc(0x3c3,'sK*N')][_0x3c1ebc(0x2b8,'4uur')]('火爆')&&(_0x318144++,_0x318144>=0x5&&($[_0x3c1ebc(0x2d2,'AdD%')]=![]));}else console['log']('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x3a8,'vA^4')](_0x58e0d5));}}break;case _0x3c1ebc(0x356,'XXmD'):if(_0x58e0d5[_0x3c1ebc(0x315,'AdD%')]===0x0&&_0x58e0d5[_0x3c1ebc(0x211,'y0M(')]?.['bizCode']===0x0)$[_0x3c1ebc(0x2f1,'tl%r')]=_0x58e0d5['data']?.[_0x3c1ebc(0x1e6,'CRyo')];else{if(_0x58e0d5['data']?.[_0x3c1ebc(0x20a,'v[vJ')])console[_0x3c1ebc(0x3e0,'sK*N')](''+_0x58e0d5['data']?.[_0x3c1ebc(0x336,'ZcJj')]);else _0x58e0d5[_0x3c1ebc(0x320,'vrWi')]||_0x58e0d5[_0x3c1ebc(0x258,'ZUtX')]?console[_0x3c1ebc(0x327,'9Oia')](''+(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x2d3,'&uol')])):console[_0x3c1ebc(0x35c,'RtKD')]('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x224,'*y4(')](_0x58e0d5));}break;case _0x3c1ebc(0x282,'hqGp'):if(_0x58e0d5[_0x3c1ebc(0x1f0,'hEfj')]===0x0&&_0x58e0d5['data']?.['bizCode']===0x0)$[_0x3c1ebc(0x377,'tl%r')]=_0x58e0d5[_0x3c1ebc(0x254,'w^gv')]?.[_0x3c1ebc(0x296,'E#dF')];else{if(_0x58e0d5[_0x3c1ebc(0x3da,'80xc')]?.[_0x3c1ebc(0x3b2,'q[$$')]===0x1774)$[_0x3c1ebc(0x2fb,'8s5s')]=!![],console[_0x3c1ebc(0x3e0,'sK*N')](''+_0x58e0d5[_0x3c1ebc(0x2a0,'g]cY')][_0x3c1ebc(0x31b,'CRyo')]);else{if(_0x58e0d5[_0x3c1ebc(0x367,'$z!(')]?.[_0x3c1ebc(0x39f,'%snU')])console[_0x3c1ebc(0x31f,'pFH^')](''+_0x58e0d5[_0x3c1ebc(0x213,'ZUtX')]?.['bizMsg']);else _0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x414,'%snU')]?console[_0x3c1ebc(0x42c,'K7wc')](''+(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x231,'CRyo')])):console['log']('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x3cd,'ZcJj')](_0x58e0d5));}}break;case _0x3c1ebc(0x2b6,'94fX'):if(_0x58e0d5[_0x3c1ebc(0x2ac,'hO2f')]===0x0&&_0x58e0d5['data']?.[_0x3c1ebc(0x314,'hO2f')]===0x0)$[_0x3c1ebc(0x380,'nrxS')]=_0x58e0d5[_0x3c1ebc(0x353,'&uol')]?.[_0x3c1ebc(0x2bb,'ZUtX')];else{if(_0x58e0d5[_0x3c1ebc(0x2fa,'hO2f')]?.[_0x3c1ebc(0x442,'E#dF')]===0x1774)$[_0x3c1ebc(0x30c,'VR[&')]=!![],console['log'](''+_0x58e0d5[_0x3c1ebc(0x3c8,'WagG')]['bizMsg']);else{if(_0x58e0d5[_0x3c1ebc(0x444,'sdb8')]?.[_0x3c1ebc(0x3c3,'sK*N')])console[_0x3c1ebc(0x3f5,'T531')](''+_0x58e0d5[_0x3c1ebc(0x3b8,'%snU')]?.[_0x3c1ebc(0x2ee,'iu8h')]);else _0x58e0d5[_0x3c1ebc(0x35d,'rWae')]||_0x58e0d5[_0x3c1ebc(0x3ad,'yQ7v')]?console[_0x3c1ebc(0x38a,'wHO4')](''+(_0x58e0d5[_0x3c1ebc(0x434,'$z!(')]||_0x58e0d5[_0x3c1ebc(0x328,'IxwW')])):console[_0x3c1ebc(0x3b3,'q[$$')]('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x259,'BWQY')](_0x58e0d5));}}break;case _0x3c1ebc(0x362,'ZcJj'):if(_0x58e0d5[_0x3c1ebc(0x281,'Qx5U')]===0x0&&_0x58e0d5[_0x3c1ebc(0x386,'8s5s')]?.[_0x3c1ebc(0x3a9,'$z!(')]===0x0)$[_0x3c1ebc(0x389,'w^gv')]=![],$[_0x3c1ebc(0x3f7,'T531')]=_0x58e0d5['data'];else{if(_0x58e0d5[_0x3c1ebc(0x3b8,'%snU')]?.['bizMsg']){}else _0x58e0d5[_0x3c1ebc(0x433,'v[vJ')]||_0x58e0d5[_0x3c1ebc(0x2b2,'o]v0')]?console['log'](''+(_0x58e0d5[_0x3c1ebc(0x2fd,'hEfj')]||_0x58e0d5[_0x3c1ebc(0x3d2,'vA^4')])):console[_0x3c1ebc(0x240,'CRyo')]('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x312,'rC!6')](_0x58e0d5));}break;case _0x3c1ebc(0x3db,'E#dF'):if(_0x58e0d5[_0x3c1ebc(0x401,'sdb8')]===0x0&&_0x58e0d5[_0x3c1ebc(0x276,'XXmD')]?.['bizCode']===0x0)console[_0x3c1ebc(0x321,'ZUtX')](_0x3c1ebc(0x28d,'ehXp'));else{if(_0x58e0d5[_0x3c1ebc(0x276,'XXmD')]?.['bizMsg'])console['log'](''+_0x58e0d5['data']?.[_0x3c1ebc(0x39f,'%snU')]);else _0x58e0d5[_0x3c1ebc(0x262,'yQ7v')]||_0x58e0d5[_0x3c1ebc(0x2a4,'g]cY')]?console[_0x3c1ebc(0x2a5,'g]cY')](''+(_0x58e0d5[_0x3c1ebc(0x33a,'WagG')]||_0x58e0d5[_0x3c1ebc(0x449,'hO2f')])):console['log']('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x224,'*y4(')](_0x58e0d5));}break;case'farm_pop_window':case _0x3c1ebc(0x340,'tl%r'):if(_0x58e0d5[_0x3c1ebc(0x2c7,'&uol')]===0x0&&_0x58e0d5['data']?.['bizCode']===0x0)console[_0x3c1ebc(0x437,'VR[&')](_0x3c1ebc(0x299,'&uol'));else{if(_0x58e0d5[_0x3c1ebc(0x44b,'VR[&')]?.[_0x3c1ebc(0x393,'wHO4')]===0x1774)$[_0x3c1ebc(0x307,'4uur')]=!![],console['log'](_0x3c1ebc(0x28a,'T531')+_0x58e0d5['data']['bizMsg']);else{if(_0x58e0d5[_0x3c1ebc(0x332,'T531')]?.['bizMsg'])console[_0x3c1ebc(0x233,'ZcJj')](_0x3c1ebc(0x2c3,'IxwW')+_0x58e0d5[_0x3c1ebc(0x40a,'wHO4')]['bizMsg']);else _0x58e0d5[_0x3c1ebc(0x37c,'ZUtX')]||_0x58e0d5[_0x3c1ebc(0x3d5,'XXmD')]?console['log']('>\x20任务失败\x20'+(_0x58e0d5[_0x3c1ebc(0x35d,'rWae')]||_0x58e0d5[_0x3c1ebc(0x328,'IxwW')])):console['log'](_0x3c1ebc(0x363,'ZUtX')+_0x41ddcc+'\x20'+JSON['stringify'](_0x58e0d5));}}break;case _0x3c1ebc(0x2ae,'RtKD'):if(_0x58e0d5[_0x3c1ebc(0x36a,'8s5s')]===0x0&&_0x58e0d5[_0x3c1ebc(0x279,'rWae')]?.['bizCode']===0x0){let _0x7ec885=_0x58e0d5[_0x3c1ebc(0x444,'sdb8')]?.[_0x3c1ebc(0x200,'94fX')]?.[_0x3c1ebc(0x445,'KWjm')]?.[_0x3c1ebc(0x331,'yQ7v')](_0x570ed1=>''+_0x570ed1[_0x3c1ebc(0x29b,'w^gv')]+(award_map[_0x570ed1['awardType']]||_0x3c1ebc(0x39b,'q[$$')+awardType+']'));console['log'](_0x3c1ebc(0x3f9,'4uur')+_0x7ec885['join']('、')+'】');}else{if(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x2c1,'AdD%')])console[_0x3c1ebc(0x204,'w^gv')](_0x3c1ebc(0x35e,'E#dF')+(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x374,'tl%r')]));else _0x58e0d5[_0x3c1ebc(0x287,'hEfj')]?.[_0x3c1ebc(0x42b,'Qx5U')]?console[_0x3c1ebc(0x36c,'Qx5U')](_0x3c1ebc(0x2f8,'&uol')+_0x58e0d5[_0x3c1ebc(0x27d,'IxwW')]?.[_0x3c1ebc(0x3d1,'vA^4')]):console[_0x3c1ebc(0x318,'o]v0')](_0x3c1ebc(0x30a,'sK*N')+_0x41ddcc+'\x20'+JSON['stringify'](_0x58e0d5));}break;case _0x3c1ebc(0x306,'RtKD'):if(_0x58e0d5[_0x3c1ebc(0x27a,'v[vJ')]===0x0&&_0x58e0d5[_0x3c1ebc(0x2ff,'K7wc')]?.[_0x3c1ebc(0x225,'K7wc')]===0x0)$[_0x3c1ebc(0x283,'K7wc')]=_0x58e0d5[_0x3c1ebc(0x211,'y0M(')];else{if(_0x58e0d5[_0x3c1ebc(0x235,'ehXp')]||_0x58e0d5[_0x3c1ebc(0x286,'$z!(')]||_0x58e0d5[_0x3c1ebc(0x2b4,'K7wc')])console['log'](''+(_0x58e0d5[_0x3c1ebc(0x35d,'rWae')]||_0x58e0d5['msg']||_0x58e0d5[_0x3c1ebc(0x41c,'%snU')]));else _0x58e0d5[_0x3c1ebc(0x3b8,'%snU')]?.[_0x3c1ebc(0x29c,'vrWi')]?console['log'](_0x58e0d5[_0x3c1ebc(0x37b,'Qx5U')]?.[_0x3c1ebc(0x422,'q[$$')]):console[_0x3c1ebc(0x3c4,'KWjm')]('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x1f6,'z9yY')](_0x58e0d5));}break;case _0x3c1ebc(0x32e,'KWjm'):if(_0x58e0d5[_0x3c1ebc(0x2ca,'T531')]===0x0&&_0x58e0d5['data']?.[_0x3c1ebc(0x29d,'rC!6')]===0x0){}else{if(_0x58e0d5[_0x3c1ebc(0x38b,'CRyo')]||_0x58e0d5[_0x3c1ebc(0x2bd,'K7wc')]||_0x58e0d5[_0x3c1ebc(0x1ef,'q[$$')])console[_0x3c1ebc(0x355,'rC!6')](''+(_0x58e0d5[_0x3c1ebc(0x35d,'rWae')]||_0x58e0d5[_0x3c1ebc(0x2d1,'hEfj')]||_0x58e0d5[_0x3c1ebc(0x288,'9Oia')]));else _0x58e0d5[_0x3c1ebc(0x332,'T531')]?.[_0x3c1ebc(0x411,'8s5s')]?console[_0x3c1ebc(0x3e4,'vrWi')](_0x58e0d5[_0x3c1ebc(0x3b4,'rC!6')]?.[_0x3c1ebc(0x244,'$z!(')]):console['log']('❓'+_0x41ddcc+'\x20'+JSON['stringify'](_0x58e0d5));}break;case _0x3c1ebc(0x2ed,'4uur'):if(_0x58e0d5[_0x3c1ebc(0x21c,'ZUtX')]===0x0&&_0x58e0d5[_0x3c1ebc(0x293,'pFH^')]?.[_0x3c1ebc(0x2be,'g]cY')]===0x0){let _0xf4dfa=_0x58e0d5[_0x3c1ebc(0x353,'&uol')]?.['result']?.[_0x3c1ebc(0x1ee,'K7wc')]?.['map'](_0x150e5c=>''+_0x150e5c['value']+_0x150e5c[_0x3c1ebc(0x3a4,'ZcJj')]);console['log'](_0x3c1ebc(0x43e,'g]cY')+_0xf4dfa[_0x3c1ebc(0x43c,'4uur')]('、')+'】');}else{if(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x3ca,'94fX')]||_0x58e0d5['message'])console[_0x3c1ebc(0x42c,'K7wc')](''+(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x3d2,'vA^4')]||_0x58e0d5[_0x3c1ebc(0x2d4,'WagG')]));else _0x58e0d5['data']?.['bizMsg']?console['log'](_0x58e0d5[_0x3c1ebc(0x44b,'VR[&')]?.['bizMsg']):console[_0x3c1ebc(0x1dd,'vV2l')]('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x3aa,'94fX')](_0x58e0d5));}break;case _0x3c1ebc(0x22a,'q[$$'):if(_0x58e0d5['code']===0x0&&_0x58e0d5[_0x3c1ebc(0x3b8,'%snU')])$[_0x3c1ebc(0x22c,'iu8h')]=_0x58e0d5[_0x3c1ebc(0x353,'&uol')];else{if(_0x58e0d5['errMsg']||_0x58e0d5['msg']||_0x58e0d5[_0x3c1ebc(0x1fd,'vA^4')])console[_0x3c1ebc(0x318,'o]v0')](''+(_0x58e0d5[_0x3c1ebc(0x398,'BWQY')]||_0x58e0d5[_0x3c1ebc(0x38d,'E#dF')]||_0x58e0d5[_0x3c1ebc(0x40c,'hO2f')]));else _0x58e0d5[_0x3c1ebc(0x3b4,'rC!6')]?.['bizMsg']?console[_0x3c1ebc(0x400,'XXmD')](_0x58e0d5[_0x3c1ebc(0x332,'T531')]?.[_0x3c1ebc(0x371,'RtKD')]):console[_0x3c1ebc(0x355,'rC!6')]('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x312,'rC!6')](_0x58e0d5));}break;case _0x3c1ebc(0x25e,'v[vJ'):if(_0x58e0d5[_0x3c1ebc(0x28e,'ZN[q')]===0x0&&_0x58e0d5[_0x3c1ebc(0x3a2,'z9yY')])console[_0x3c1ebc(0x210,'y0M(')](_0x3c1ebc(0x34c,'y0M(')+_0x58e0d5[_0x3c1ebc(0x353,'&uol')]?.[_0x3c1ebc(0x264,'ehXp')]+'】');else{if(_0x58e0d5[_0x3c1ebc(0x2c0,'hqGp')])$[_0x3c1ebc(0x226,'vrWi')]=!![],console[_0x3c1ebc(0x26f,'BWQY')](_0x3c1ebc(0x271,'CRyo')+_0x58e0d5[_0x3c1ebc(0x3b6,'nrxS')]);else _0x58e0d5[_0x3c1ebc(0x441,'iu8h')]?.['bizMsg']?console[_0x3c1ebc(0x22b,'hqGp')](_0x3c1ebc(0x3e1,'KWjm')+_0x58e0d5['data']?.[_0x3c1ebc(0x352,'&uol')]):console[_0x3c1ebc(0x329,'8s5s')](_0x3c1ebc(0x23d,'T531')+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x3c9,'hO2f')](_0x58e0d5));}break;case _0x3c1ebc(0x3d3,'z9yY'):if(_0x58e0d5[_0x3c1ebc(0x21d,'wHO4')]===0x0&&_0x58e0d5[_0x3c1ebc(0x37b,'Qx5U')])$[_0x3c1ebc(0x292,'hO2f')]=_0x58e0d5?.[_0x3c1ebc(0x3fb,'ZcJj')]?.[_0x3c1ebc(0x3f3,'*y4(')];else{if(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x246,'9Oia')]||_0x58e0d5[_0x3c1ebc(0x40c,'hO2f')])console['log'](''+(_0x58e0d5[_0x3c1ebc(0x421,'g]cY')]||_0x58e0d5['msg']||_0x58e0d5[_0x3c1ebc(0x41c,'%snU')]));else _0x58e0d5[_0x3c1ebc(0x1e2,'sK*N')]?.[_0x3c1ebc(0x333,'ZN[q')]?console[_0x3c1ebc(0x26f,'BWQY')](_0x58e0d5['data']?.[_0x3c1ebc(0x31b,'CRyo')]):console[_0x3c1ebc(0x25c,'vA^4')]('❓'+_0x41ddcc+'\x20'+JSON['stringify'](_0x58e0d5));}break;case _0x3c1ebc(0x1d9,'z9yY'):if(_0x58e0d5[_0x3c1ebc(0x1f0,'hEfj')]===0x0&&_0x58e0d5[_0x3c1ebc(0x21f,'ZN[q')])$['apTaskList']=_0x58e0d5?.[_0x3c1ebc(0x37b,'Qx5U')];else{if(_0x58e0d5[_0x3c1ebc(0x347,'wHO4')]||_0x58e0d5[_0x3c1ebc(0x258,'ZUtX')]||_0x58e0d5[_0x3c1ebc(0x425,'rWae')])console[_0x3c1ebc(0x22b,'hqGp')](''+(_0x58e0d5[_0x3c1ebc(0x239,'tl%r')]||_0x58e0d5[_0x3c1ebc(0x2c1,'AdD%')]||_0x58e0d5[_0x3c1ebc(0x32a,'vrWi')]));else _0x58e0d5['data']?.[_0x3c1ebc(0x31b,'CRyo')]?console[_0x3c1ebc(0x3ab,'94fX')](_0x58e0d5['data']?.['bizMsg']):console[_0x3c1ebc(0x32f,'iu8h')]('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x247,'tl%r')](_0x58e0d5));}break;case _0x3c1ebc(0x1de,'%snU'):if(_0x58e0d5[_0x3c1ebc(0x1d8,'9Oia')]===0x0&&_0x58e0d5[_0x3c1ebc(0x293,'pFH^')])console['log'](_0x3c1ebc(0x2d9,'4uur'));else{if(_0x58e0d5[_0x3c1ebc(0x2b9,'rC!6')]||_0x58e0d5['msg']||_0x58e0d5['message'])console[_0x3c1ebc(0x3b3,'q[$$')](''+(_0x58e0d5['errMsg']||_0x58e0d5[_0x3c1ebc(0x237,'w^gv')]||_0x58e0d5[_0x3c1ebc(0x265,'Mws!')]));else _0x58e0d5[_0x3c1ebc(0x213,'ZUtX')]?.[_0x3c1ebc(0x20b,'ehXp')]?console['log'](_0x58e0d5[_0x3c1ebc(0x293,'pFH^')]?.[_0x3c1ebc(0x1f5,'vV2l')]):console['log']('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x251,'g]cY')](_0x58e0d5));}break;case _0x3c1ebc(0x304,'wHO4'):if(_0x58e0d5[_0x3c1ebc(0x1f0,'hEfj')]===0x0&&_0x58e0d5[_0x3c1ebc(0x293,'pFH^')]){let _0x3f9556=_0x58e0d5[_0x3c1ebc(0x3c8,'WagG')]?.[_0x3c1ebc(0x2dc,'hO2f')];switch(_0x3f9556){case 0x0:case null:console[_0x3c1ebc(0x1dd,'vV2l')](_0x3c1ebc(0x2b1,'E#dF'));break;case 0x1:case 0x2:console[_0x3c1ebc(0x274,'ZN[q')](_0x3c1ebc(0x443,'vV2l')+_0x58e0d5[_0x3c1ebc(0x3fb,'ZcJj')]?.[_0x3c1ebc(0x280,'4uur')]);break;case 0x12:console[_0x3c1ebc(0x240,'CRyo')](_0x3c1ebc(0x38e,'WagG')+_0x58e0d5['data']?.['prizeName'][_0x3c1ebc(0x2a6,'RtKD')]('水滴','')+'💧');break;default:console[_0x3c1ebc(0x330,'hO2f')](_0x3c1ebc(0x32d,'Qx5U')+_0x58e0d5[_0x3c1ebc(0x228,'o]v0')]?.[_0x3c1ebc(0x403,'rWae')]);return;}}else{if(_0x58e0d5[_0x3c1ebc(0x447,'IxwW')]||_0x58e0d5[_0x3c1ebc(0x2bd,'K7wc')]||_0x58e0d5[_0x3c1ebc(0x3e3,'RtKD')])console['log'](''+(_0x58e0d5[_0x3c1ebc(0x301,'4uur')]||_0x58e0d5[_0x3c1ebc(0x381,'q[$$')]||_0x58e0d5[_0x3c1ebc(0x337,'$z!(')]));else _0x58e0d5[_0x3c1ebc(0x1e3,'9Oia')]?.[_0x3c1ebc(0x369,'ZUtX')]?console[_0x3c1ebc(0x31f,'pFH^')](_0x58e0d5[_0x3c1ebc(0x2a0,'g]cY')]?.['bizMsg']):console[_0x3c1ebc(0x3b3,'q[$$')]('❓'+_0x41ddcc+'\x20'+JSON[_0x3c1ebc(0x266,'ZN[q')](_0x58e0d5));}break;}}catch(_0x56de2c){console['log'](_0x3c1ebc(0x209,'iu8h')+_0x41ddcc+'\x20请求响应\x20'+(_0x56de2c[_0x3c1ebc(0x425,'rWae')]||_0x56de2c));}}async function sendRequest(_0x230283){const _0x2a180f=_0x24584c;if($[_0x2a180f(0x2e6,'K7wc')])return;let _0x2d2ad9='',_0x441bfa=null,_0x27fcdc=null,_0x3e73a5='POST',_0x393730={},_0x37c4f1={};switch(_0x230283){case'farm_home':_0x37c4f1={'appId':_0x2a180f(0x34d,'IxwW'),'functionId':_0x2a180f(0x387,'Mws!'),'appid':_0x2a180f(0x2b0,'yQ7v'),'clientVersion':common[_0x2a180f(0x3d7,'iu8h')](),'client':_0x2a180f(0x3dc,'94fX'),'body':{'version':0x3},'version':_0x2a180f(0x41f,'w^gv'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st['getH5st'](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x407,'Qx5U'),_0x441bfa=_0x393730[_0x2a180f(0x201,'Qx5U')];break;case _0x2a180f(0x3e5,'vV2l'):_0x37c4f1={'appId':'c57f6','functionId':_0x2a180f(0x30b,'ehXp'),'appid':'signed_wh5','clientVersion':common[_0x2a180f(0x218,'vV2l')](),'client':_0x2a180f(0x342,'RtKD'),'body':{'version':0x3},'version':'4.2','ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x3bf,'CRyo')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x3a0,'E#dF'),_0x441bfa=_0x393730[_0x2a180f(0x3c5,'wHO4')];break;case'farm_plant_tree':_0x37c4f1={'appId':_0x2a180f(0x25b,'o]v0'),'functionId':'farm_plant_tree','appid':_0x2a180f(0x2b0,'yQ7v'),'clientVersion':common[_0x2a180f(0x325,'ehXp')](),'client':_0x2a180f(0x250,'XXmD'),'body':{'version':0x3,'uid':$['plantSkuUid']},'version':_0x2a180f(0x3a1,'CRyo'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x3ef,'wHO4')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x269,'KWjm'),_0x441bfa=_0x393730[_0x2a180f(0x22f,'%snU')];break;case _0x2a180f(0x2e7,'*y4('):_0x37c4f1={'appId':_0x2a180f(0x435,'CRyo'),'functionId':_0x2a180f(0x370,'vrWi'),'appid':'signed_wh5','clientVersion':common[_0x2a180f(0x3fc,'hO2f')](),'client':_0x2a180f(0x230,'9Oia'),'body':{'version':0x3,'waterType':$[_0x2a180f(0x305,'ehXp')],'babelChannel':'ttt7','lbsSwitch':![]},'version':'4.2','ua':$['UA'],'t':!![]},_0x393730=await H5st[_0x2a180f(0x351,'v[vJ')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x1e5,'VR[&'),_0x441bfa=_0x393730[_0x2a180f(0x2e2,'hqGp')];break;case _0x2a180f(0x2df,'v[vJ'):_0x37c4f1={'appId':'c57f6','functionId':_0x2a180f(0x41a,'WagG'),'appid':_0x2a180f(0x21a,'tl%r'),'clientVersion':common[_0x2a180f(0x218,'vV2l')](),'client':_0x2a180f(0x429,'yQ7v'),'body':{'version':0x3,'channel':0x0},'version':_0x2a180f(0x35f,'sK*N'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x3bd,'rWae')](_0x37c4f1),_0x2d2ad9='https://api.m.jd.com/client.action',_0x441bfa=_0x393730['paramsData'];break;case'farm_task_list':_0x37c4f1={'appId':_0x2a180f(0x2d0,'vrWi'),'functionId':_0x2a180f(0x297,'hqGp'),'appid':'signed_wh5','clientVersion':common[_0x2a180f(0x34b,'&uol')](),'client':_0x2a180f(0x373,'WagG'),'body':{'version':0x3,'channel':0x0,'babelChannel':_0x2a180f(0x3f1,'Mws!'),'lbsSwitch':![]},'version':_0x2a180f(0x33f,'iu8h'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x2dd,'KWjm')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x3d6,'IxwW'),_0x441bfa=_0x393730[_0x2a180f(0x406,'KWjm')];break;case _0x2a180f(0x232,'iu8h'):_0x37c4f1={'appId':_0x2a180f(0x3fe,'pFH^'),'functionId':_0x2a180f(0x316,'8s5s'),'appid':'signed_wh5','clientVersion':common['getLatestAppVersion'](),'client':_0x2a180f(0x326,'v[vJ'),'body':{'version':0x3},'version':_0x2a180f(0x40f,'hEfj'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x3d9,'rC!6')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x41b,'Mws!'),_0x441bfa=_0x393730[_0x2a180f(0x1ea,'nrxS')];break;case _0x2a180f(0x2ad,'IxwW'):_0x37c4f1={'appId':'c57f6','functionId':_0x2a180f(0x2eb,'Qx5U'),'appid':'signed_wh5','clientVersion':common[_0x2a180f(0x214,'T531')](),'client':'apple','body':{'version':0x3},'version':_0x2a180f(0x334,'4uur'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st['getH5st'](_0x37c4f1),_0x2d2ad9='https://api.m.jd.com/client.action',_0x441bfa=_0x393730['paramsData'];break;case _0x2a180f(0x417,'vA^4'):_0x37c4f1={'appId':'c57f6','functionId':_0x2a180f(0x372,'g]cY'),'appid':_0x2a180f(0x206,'*y4('),'clientVersion':common[_0x2a180f(0x43f,'yQ7v')](),'client':_0x2a180f(0x373,'WagG'),'body':{'version':0x3,'taskType':$[_0x2a180f(0x23e,'K7wc')],'taskId':$[_0x2a180f(0x419,'ZcJj')],'channel':0x0},'version':'4.2','ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x261,'%snU')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x3c1,'hEfj'),_0x441bfa=_0x393730[_0x2a180f(0x3c5,'wHO4')];break;case'farm_award_detail':_0x3e73a5=_0x2a180f(0x2f0,'vV2l'),_0x2d2ad9=_0x2a180f(0x345,'80xc'),_0x27fcdc={'functionId':_0x2a180f(0x2de,'y0M('),'body':JSON['stringify']({'version':0x3,'type':0x1}),'t':Date['now'](),'appid':'signed_wh5','client':_0x2a180f(0x396,'$z!('),'clientVersion':common[_0x2a180f(0x218,'vV2l')]()};break;case _0x2a180f(0x217,'KWjm'):_0x37c4f1={'appId':_0x2a180f(0x1f3,'hO2f'),'functionId':_0x2a180f(0x290,'vV2l'),'appid':_0x2a180f(0x20c,'vV2l'),'clientVersion':common[_0x2a180f(0x37d,'y0M(')](),'client':_0x2a180f(0x303,'wHO4'),'body':{'version':0x3,'taskType':$[_0x2a180f(0x24b,'q[$$')],'taskId':$[_0x2a180f(0x253,'hEfj')],'taskInsert':$['taskInsert'],'itemId':Buffer[_0x2a180f(0x3e7,'w^gv')]($[_0x2a180f(0x430,'wHO4')],_0x2a180f(0x37e,'ehXp'))[_0x2a180f(0x202,'iu8h')](_0x2a180f(0x2ea,'Qx5U')),'channel':0x0},'version':_0x2a180f(0x2f5,'ehXp'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x1ff,'y0M(')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x243,'w^gv'),_0x441bfa=_0x393730[_0x2a180f(0x2a8,'4uur')];break;case _0x2a180f(0x3e2,'y0M('):_0x37c4f1={'appId':_0x2a180f(0x313,'$z!('),'functionId':'farm_task_receive_award','appid':'signed_wh5','clientVersion':common['getLatestAppVersion'](),'client':_0x2a180f(0x412,'Mws!'),'body':{'version':0x3,'taskType':$[_0x2a180f(0x3eb,'o]v0')],'taskId':$[_0x2a180f(0x3e9,'9Oia')],'channel':0x0},'version':'4.2','ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st['getH5st'](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x324,'T531'),_0x441bfa=_0x393730[_0x2a180f(0x41e,'T531')];break;case _0x2a180f(0x420,'iu8h'):_0x37c4f1={'appId':_0x2a180f(0x236,'y0M('),'functionId':_0x2a180f(0x2c2,'VR[&'),'appid':_0x2a180f(0x28b,'rC!6'),'clientVersion':common[_0x2a180f(0x319,'%snU')](),'client':_0x2a180f(0x33e,'sK*N'),'body':{'version':0x3},'version':_0x2a180f(0x3a1,'CRyo'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x3a6,'9Oia')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x3b9,'&uol'),_0x441bfa=_0x393730[_0x2a180f(0x26c,'ZcJj')];break;case _0x2a180f(0x427,'pFH^'):_0x37c4f1={'appId':'deba1','functionId':_0x2a180f(0x42d,'ZUtX'),'appid':'activities_platform','clientVersion':common[_0x2a180f(0x415,'K7wc')](),'client':'apple','body':{'linkId':sign_linkId},'version':'4.7','ua':$['UA'],'t':!![]},_0x393730=await H5st['getH5st'](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x20f,'9Oia'),_0x441bfa=_0x393730[_0x2a180f(0x2e3,'z9yY')];break;case _0x2a180f(0x376,'*y4('):_0x37c4f1={'appId':_0x2a180f(0x31c,'T531'),'functionId':'dongDongFarmSignIn','appid':_0x2a180f(0x2da,'ZUtX'),'clientVersion':common['getLatestAppVersion'](),'client':_0x2a180f(0x428,'rWae'),'body':{'linkId':sign_linkId},'version':_0x2a180f(0x241,'E#dF'),'ua':$['UA'],'t':!![]},_0x393730=await H5st[_0x2a180f(0x404,'XXmD')](_0x37c4f1),_0x2d2ad9='https://api.m.jd.com/api',_0x441bfa=_0x393730[_0x2a180f(0x2a8,'4uur')];break;case _0x2a180f(0x2ce,'rWae'):_0x37c4f1={'appId':_0x2a180f(0x33b,'&uol'),'functionId':'farm_rain_round_icon','appid':_0x2a180f(0x359,'WagG'),'clientVersion':common[_0x2a180f(0x3fc,'hO2f')](),'client':_0x2a180f(0x33e,'sK*N'),'body':{'version':0x3},'version':_0x2a180f(0x40f,'hEfj'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st['getH5st'](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x3fa,'iu8h'),_0x441bfa=_0x393730[_0x2a180f(0x406,'KWjm')];break;case _0x2a180f(0x2cc,'rWae'):_0x37c4f1={'appId':'c57f6','functionId':_0x2a180f(0x260,'AdD%'),'appid':_0x2a180f(0x20c,'vV2l'),'clientVersion':common[_0x2a180f(0x3fc,'hO2f')](),'client':_0x2a180f(0x303,'wHO4'),'body':{'version':0x3,'token':$['curRoundToken']},'version':'4.2','ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x36e,'z9yY')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x322,'rWae'),_0x441bfa=_0x393730[_0x2a180f(0x402,'$z!(')];break;case'farm_rain_reward':_0x37c4f1={'appId':_0x2a180f(0x275,'K7wc'),'functionId':_0x2a180f(0x2bc,'vV2l'),'appid':'signed_wh5','clientVersion':common[_0x2a180f(0x3d7,'iu8h')](),'client':_0x2a180f(0x365,'ehXp'),'body':{'version':0x3,'token':$[_0x2a180f(0x349,'q[$$')],'bcc':0x30,'scc':0x0},'version':_0x2a180f(0x3c6,'ZN[q'),'ua':$['UA'],'t':!![],'tokenCache':![]},_0x393730=await H5st[_0x2a180f(0x38c,'E#dF')](_0x37c4f1),_0x2d2ad9='https://api.m.jd.com/client.action',_0x441bfa=_0x393730[_0x2a180f(0x3df,'IxwW')];break;case _0x2a180f(0x3c7,'BWQY'):_0x37c4f1={'appId':'c06b7','functionId':'wheelsHome','appid':_0x2a180f(0x426,'%snU'),'clientVersion':common[_0x2a180f(0x1fc,'rC!6')](),'client':'ios','body':{'linkId':draw_linkId},'version':_0x2a180f(0x22e,'yQ7v'),'ua':$['UA'],'t':!![]},_0x393730=await H5st[_0x2a180f(0x263,'$z!(')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x408,'E#dF'),_0x441bfa=_0x393730[_0x2a180f(0x2e4,'AdD%')];break;case'wheelsLottery':_0x37c4f1={'appId':_0x2a180f(0x354,'WagG'),'functionId':_0x2a180f(0x2c4,'v[vJ'),'appid':_0x2a180f(0x1f7,'KWjm'),'clientVersion':common['getLatestAppVersion'](),'client':_0x2a180f(0x3e8,'vA^4'),'body':{'linkId':draw_linkId},'version':'4.7','ua':$['UA'],'t':!![]},_0x393730=await H5st['getH5st'](_0x37c4f1),_0x2d2ad9='http://api.m.jd.com/api',_0x441bfa=_0x393730[_0x2a180f(0x36d,'hEfj')];break;case _0x2a180f(0x3af,'$z!('):_0x3e73a5=_0x2a180f(0x366,'rWae'),_0x2d2ad9='https://api.m.jd.com/api',_0x27fcdc={'functionId':'apTaskList','body':JSON[_0x2a180f(0x1fe,'wHO4')]({'linkId':draw_linkId}),'t':Date['now'](),'appid':'activities_platform','client':_0x2a180f(0x310,'wHO4'),'clientVersion':common['getLatestAppVersion']()};break;case _0x2a180f(0x423,'nrxS'):_0x37c4f1={'appId':'54ed7','functionId':_0x2a180f(0x2bf,'BWQY'),'appid':_0x2a180f(0x3ce,'VR[&'),'clientVersion':common[_0x2a180f(0x3f4,'BWQY')](),'client':_0x2a180f(0x3e8,'vA^4'),'body':{'taskType':$['taskType'],'taskId':$[_0x2a180f(0x2c9,'WagG')],'channel':0x4,'checkVersion':!![],'linkId':draw_linkId,'itemId':$['taskSourceUrl']},'version':_0x2a180f(0x1ed,'wHO4'),'ua':$['UA'],'t':!![]},_0x393730=await H5st[_0x2a180f(0x3a6,'9Oia')](_0x37c4f1),_0x2d2ad9=_0x2a180f(0x215,'pFH^'),_0x441bfa=_0x393730[_0x2a180f(0x1f2,'BWQY')];break;default:console['log'](_0x2a180f(0x223,'E#dF')+_0x230283);return;}const _0x22cf46={'wqDefault':_0x2a180f(0x234,'BWQY'),'rfs':'0000','cthr':'1','loginType':'','loginWQBiz':'wegame','openudid':$['UUID'],'uuid':$[_0x2a180f(0x273,'sdb8')],'build':common[_0x2a180f(0x2db,'4uur')](),'screen':_0x2a180f(0x364,'vV2l'),'networkType':'wifi','d_brand':_0x2a180f(0x34a,'hEfj'),'d_model':_0x2a180f(0x2e5,'8s5s'),'lang':'zh_CN','osVersion':common[_0x2a180f(0x205,'BWQY')](),'partner':''};_0x441bfa&&Object['assign'](_0x441bfa,_0x22cf46);_0x27fcdc&&Object[_0x2a180f(0x3be,'94fX')](_0x27fcdc,_0x22cf46);const _0xbe9627={'url':_0x2d2ad9,'method':_0x3e73a5,'headers':{'Accept':_0x2a180f(0x229,'*y4('),'Accept-Encoding':_0x2a180f(0x1db,'E#dF'),'Accept-Language':_0x2a180f(0x3f8,'K7wc'),'Connection':'keep-alive','Content-Type':_0x2a180f(0x1da,'94fX'),'Cookie':cookie,'Host':_0x2a180f(0x221,'IxwW'),'Referer':_0x2a180f(0x2f7,'&uol'),'X-Referer-Page':_0x2a180f(0x358,'tl%r'),'Origin':_0x2a180f(0x27c,'Mws!'),'x-rp-client':_0x2a180f(0x1e4,'wHO4'),'User-Agent':$['UA']},'params':_0x27fcdc,'data':_0x441bfa,'timeout':0x7530,'httpsTlsOptions':[_0x2a180f(0x392,'AdD%'),_0x2a180f(0x26e,'ZN[q')]['includes'](_0x230283)?common[_0x2a180f(0x348,'sK*N')]():null};[_0x2a180f(0x36b,'q[$$'),_0x2a180f(0x2a2,'Mws!'),_0x2a180f(0x219,'hqGp'),_0x2a180f(0x2ba,'pFH^')][_0x2a180f(0x383,'8s5s')](_0x230283)&&(_0xbe9627[_0x2a180f(0x2b5,'nrxS')]['Referer']='https://lotterydraw-new.jd.com/?id='+draw_linkId,_0xbe9627[_0x2a180f(0x291,'4uur')][_0x2a180f(0x339,'hqGp')]=_0x2a180f(0x424,'9Oia'),_0xbe9627[_0x2a180f(0x256,'hqGp')][_0x2a180f(0x252,'94fX')]='https://lotterydraw-new.jd.com/');_0x3e73a5===_0x2a180f(0x23a,'rC!6')&&(delete _0xbe9627[_0x2a180f(0x444,'sdb8')],delete _0xbe9627[_0x2a180f(0x2f2,'8s5s')][_0x2a180f(0x317,'sK*N')]);const _0x53a1ec=0x1;let _0x1749cb=0x0,_0x36411a=null,_0x40d69c=![];while(_0x1749cb<_0x53a1ec){_0x1749cb>0x0&&await $['wait'](0x3e8);const _0x9e459b=await common[_0x2a180f(0x409,'ZcJj')](_0xbe9627);if(!_0x9e459b[_0x2a180f(0x1d7,'g]cY')]){_0x36411a='🚫\x20'+_0x230283+_0x2a180f(0x1e9,'%snU')+_0x9e459b[_0x2a180f(0x295,'*y4(')],_0x1749cb++;_0x9e459b[_0x2a180f(0x267,'iu8h')]&&_0x9e459b[_0x2a180f(0x268,'ZUtX')]===0x193&&[_0x2a180f(0x30f,'IxwW')][_0x2a180f(0x3ee,'KWjm')](_0x230283)&&($[_0x2a180f(0x208,'94fX')]=!![]);continue;}if(!_0x9e459b[_0x2a180f(0x3b4,'rC!6')]){_0x36411a=_0x2a180f(0x270,'g]cY')+_0x230283+_0x2a180f(0x242,'tl%r'),_0x1749cb++;continue;}await handleResponse(_0x230283,_0x9e459b['data']),_0x40d69c=![];break;}_0x1749cb>=_0x53a1ec&&(console[_0x2a180f(0x397,'rWae')](_0x36411a),_0x40d69c&&($[_0x2a180f(0x343,'hqGp')]=!![],$['message']&&$[_0x2a180f(0x41d,'IxwW')][_0x2a180f(0x3d8,'E#dF')](_0x36411a)));}
// 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) }