forked from Ohtenare/zoo-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zooSupershophf.js
16 lines (16 loc) · 37.4 KB
/
zooSupershophf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
* Author:Panda
* Date:2021-06-07
* Version:1.0
* Url:https://raw.githubusercontent.com/zooPanda/zoo/dev/zooSupershophf.js
*
* 合肥旗舰店开业
* 活动地址:https://jdsupershop2.m.jd.com
*
* Note:Panda取一个助力位,Panda的助力满了就不会占用你们的助力了,其余内循环
*
*/
const $ = new Env("合肥旗舰店开业");
var _0xodd='zoo.20210607',_0x4844=[_0xodd,'wqkwQsOIUcOgw6c=','NcKbehs=','IMOvQy1o','w5rCqMOVw6vCqVDDrUwkw78=','XxVxwpfCj3xfYzQ=','YRF9w7zDgA==','5raP5Yqc5Ym75YiT56K85YmG5pyK5Z2g5rOO','dFNfwowO','G8ObTcKgwq0=','w6U1w4IEbg==','f14Swq0p','w4fDhBVuw6c=','VDJJ','PMO9wrzCi8O5','w57CosOYw6nCgkjDkEE=','bMKrw5I=','QU1/w5Yp','wpTCg8O3wqoP','LyVBwrtL','B8OKesKhaw==','WjBgwoPCoA==','wpLDusOWwpLCgw==','wqVbwrfDpw==','BQsw','w7MHXsK6JQ==','D8K3wq/CncKlw5xUfA==','Qx3DqQ==','5LmH5Lm+6LKI','AjkHdg==','wrJ1TsK4Og==','wqJCT8KS','w6cvfQ==','ADxYwo4=','5LiK5Lu16LG3','QjxQw4E=','w40Bw7IUSQ==','DsK9wqrClg==','w5jCpsONw6Y=','w5oKw6IEaRpF','woN7YD/CrMOQdA==','ViLDoxcv','esOfw6/CgQ==','wqs4WMOI','XxVxwpfCj3xV','Qx3DqTUcbg==','ExUVYcOT','w4jDgAldw5M=','BsK3wrfCgA==','w6DDkEwWw5howo8=','w75Qw5o/','JsOzYw==','w57Dn8Kr','w6pFQCXCusOrbSk=','wq1VwqQ=','w63DulXDog==','wpx8Zg==','BjhNwoFHRWLDvA==','6aCk5Y265YmO','5LqW5Lmr6LO/','TcOLLyY=','V3wKwo4=','5Lmt6LGr6aKt5a275Li3','w4vCi8ObQMKSQVcm','wq7Cg0DDqg==','acKrw4fDj8K8Lxw=','6aCs5Yy55YqP','RDhFw44=','b1RAw54=','w53CucOew4bDsQPDtg==','HcOlwofCscONIxzDoQ==','WsOdKzpow7Z+wqQ=','w6TDnk02w7BlwoE4','fEJKwoE1EsOqBw==','w6jCl8OV','DzhJwp8uS2DDsMOywos=','wqLClkDDu8KsWcK2wofDj2lZak5rw7fCiVRWD8OHCH8Hw78IO8KJN8KiwqZmwp/DryRSwoTCjw==','w4sTw406bw==','wrVkKhVAwqMwcSXCujl/w7zCqMOYbQscUsOmOl8TwohJH2t3w5vCmjQ6FC7DtMOtMgbCuV0ILUzDvnPDsMOHwr4QeVIGw6B0aMOubFvChcK9w6TCtG07wrHCq8Obw4DCqsKtw5gVwoMDY8KrFyBLR0BYdEZOw5FhEsOhwql/wr7CscKhwr1AAsKDHQxbwqYjEWnDvgJpa0wfw6nChwTCt0gxW0PDmiHDv3PCij5EC3zDmFPChzrCqmZww4XCuQ==','Ewx6XXE=','C8OOwrbClcOU','wqk1Q8OGTw==','a8Onw4/CjsOf','w47CpsOXw6PCqUo=','fMO7w4fCj8Oi','w49wdgTCqw==','blFaO10=','w4bCnsO+woY+','F8K+w5wewpnCvMOmw4HClcKFRcO/csO+ERdpwpV7T8KZwobCsAMaB3rDtsOkbABxwprCg8OLw6jDpcKRJivCgMKaw7JZwp0pw4sDw4lewr3CsmbCjg==','w4nCl8OIwpw/bFVKLMOzw4FWwoIxdsOkHhI0OB4Ew5grWk/DpMKnw7duw4jDkwPDlcOqU8OCQ8KhKTHCm8OZw4tLJzlpJMOWDl3DmUpKFcOFF8Kaw4vDpcOKw444ajxzwrVzVsOAwpxEUjXCj8OJCjXDsWbDsktnAw7DucK/VMOSwrHChA3Dp8ONWR3DnDEFbMKwaDQfwqHCvMOyZksZPifDpMOLw7jCg0QIw4nDgsO+esK/TUAowrvDhGJowpowOBDDnsOe','DMOBUsK6FMK4ECtxw5fChsKxDVDDvHdd','w4DDpRtEw5Y=','wqDCm3fDo8KT','w5zCjcOXwp0q','CsKfw70gwqI=','wovCu2HDocKu','w49uw6E1Lw==','6YCE6KWc5L215pu65LuI56aJ56Sg5rKr','A8O2RRFJ','W8OxEwgG','wrhhZsK5DA==','PsO9TsKSdw==','w4gJT8KJFA==','HsOIXsK4ccO2EiE=','w6YbDEDCgA==','wqNVdcKFNg==','w4dkaw==','w4t3w4MyEA==','OcKSw4McwoM=','w4TDjWQWw74=','RcKcwqvDlXg=','w7kQecKeFQ==','w5XDhsKoEMKF','QMO+Bjlu','fkRO','w5fDnsK6PcKTZg==','woXCpcOAwqA6','wpExL1A=','Q3tiw7Yz','w4E3U8KrEw==','5LuS5Lqn6LCW','D8K3wq/CnQ==','w6sQw5kzSw==','cW5cOX3Cm8O7','w6zCmcOBwrokbmQXdsKtwpQEw54h','w6BMw4o8L8KkUwU=','AU/Ct8O6w7QYQD8=','acKvw5XDhMK7NBfCjg==','cMOGJhIW','SsOCABhF','w6cvfcKpA8KJ','wq1CTA==','w4TCosO8w7TChQ==','wqbCjVPDjsKtEQ==','YHtKwpg/','wqV2wovDjsOh','a8Osw67Cn8OS','wpsUTcOCSg==','RMO+w6vCjQ==','wp1qdi/Cog==','w5XCtMO3w6jCokI=','JcOhw4zDhcKxNR7CinlFVX7Cow==','w4ARw40ZaDY=','wqrDl8OBwpA9ZHoKbcK0wpcP','BMKhwoDCnMKFw5Y=','acOzPBM=','RjZDw6rDpcOjw5o=','wr/CgMOtwpcaHx5O','IcO/ZMKOfcOaIQk=','LMKQwq9/FQ==','CDJL','KsOPayhYw60cw4HCkw==','D8Krw5odwo8=','BAUn','w6rDtE7DqGVm','FChfwoc=','ZG5cPnPCi8O/','w4rDtE7DqGVmS8KaRQ==','ZcOzMQQTw6I+','EsKbexUrwrzDh3g=','AcOpwpLCv8OxMRQ=','wp5iPAhJwr0=','5Lum6LK36aGF5a6A5Lu2','44Cb5oye56ac44Kw6KyF5YSS6I+G5Yy35Lq85Li86LWd5Y+j5LuQwoLCtjsNZgZB55uZ5o2P5L2z55WawrLCg8KFw6LCoMOL55i95LuE5Lq256235Yqe6I+w5Y+s','w5fCqMOLw5jDjEzCtMOgHUHCoMOgV1Zdw5nCuHPDoRkpw5vCicKKf8OjHMOeesO4w7kGw7HDtR7CqMKuw6vCtsKKScOTw7s=','DcOGN3FQwr0Lw67DunPCuFcwNFo5AS9vwovCncKCd8OzbhDDgh3DhEV6LAnCrA/Drw==','HEDCt0MLfcOmB8KGw7fDnsOQTMKBwpjDgGzDuVPDk8Klw4rDv27ChR1nw7pXwqvDisOGw6bCrAzDiQ==','G8KZLy1Aw74vw7/DgxrCmR3ClMOEwofCkcKrAQ9HZgoSRl1cbSLDtwked8OxwpF/Xw==','w7Z2CsOzZsKXw5RuTcOVDMKrfcOWw6gzw6hDa8O+JRLDsiQXOMODP8OsB8OxdsOeEcOyVA==','cR8dw55jQcK0VsKswr13w51gBcKoBsO+w7pFJBzCi2ADwoLCrsK/w619c1BfFDVXSg==','ZsKXckhxwrvDqQolwrPDucKSXWsew5TDkMKZHwwaLFReJMKUMXlUwrTDtWjDlDYldw==','w7FJGsKUw5JrJcO5AQLCvQLDrcKHw7Icw7fDpsOzL3HCvXTDgFl2wovCoFlkZRtDTlXDmA==','w5vDpMOdw4vDmxDCrsO+UkfDucK+HBZHwoLCuW/Cr059w4XDnsOCfMOoA8KaJ8Kowq8qwqzDsE7DqA==','ag0Fw5o4ZFlxw6lFwq8+Z8KdYsKaZsKjBHPCrsOAw4hqwrXDpsKKwrJJw4HCkMKncsO9RsOn','w45paUkcwqo1PT3Dsm9vwrDDrMK8YVJEGsK/eSV3w7BQF197woXDgjd/Yh7Dp8Oo','wpMkMSjCrcKrdAzCkMKvw7XCt1XClT3DsMOaRiZBJW90SMOqwrJnwq0rIBJYw5LDncKowqI=','wojDpcObwpDCjkfCrsO8UhLCp8K7ShZHwoPDqW3Cr08lw4XDncOCK8OrCsKbJ8O8wq53w77DtELCsw==','Ang8FgA=','AMOCdsKgYA==','eMKTwp/DiEc=','w6fDm1oAw5FqwpUy','D8OKYcKLcg==','VC9lwrzCrg==','TSpW','w5HCvcOSw40=','JcOKwoXCmcOQ','csOmw6fCucO+','WS7CssKsFg==','wohHSjvCvA==','VMOsDwQg','w4jClsOcw4bCsg==','S8Kpw6fDmsKfPsKEwpfDn8OOXARPwo8uwp10wotHw7AFwpzDi8KcIcOoBMOtL3c3O2/DgGxH','aMKSdR0gw6rCuQ4lw6bCr8OFBWsew5/CjMKdH1QdLFFecsKQYC9RwrfCoT7DlG5yJg==','NhYUbsOp','wp7Dq8OYwpDCrg==','wqzDl8OrwpzCkQ==','w4wRGUPCtg==','wqpdRCbCrQ==','dURFCF0=','wqkpY8Ogcw==','OsOJQiVo','wrJhT8Kj','w6w6cMKUMA==','BQE5WWvDiQ==','VkleIGI=','DDkIf8OkeQ==','S19kPGA=','ScOpw6rChMOH','w4xueA==','w6DCmcOGwpQ=','ccO+JBIXw587','GFPCtQ==','5rW15YqF5YiA5YuM56Gg5Yu15pyS5Z2Q5rK5','wrFPwrDDrg==','BD0SeQ==','UzFQw53DocOJw5Y=','wpvDk8OWwpfCgQ==','QRxkwobCgg==','YsKgw4LDhMKK','fSRzwoPCsg==','I188HxXClGo=','QRvDrRsgfcOvVA==','JEUTGzzCnGkb','wqPDgcOHwobCpxVOw4E=','RgHDgh8JdcOs','5Lq95LuN6Les5Y2J','wqY3SMOMRQ==','GlXCscOjw7MXSzU=','w5tWw4wlL8KkUwU=','I18+HxbCmA==','GsOFaid/w6cbw6LCsWg=','wq9bwq7Dow==','DsK9wqHCmMKIw5blt4jlpKjmlrkJc1k=','wpRJwqbDtMOMF0rCgw==','wpReTsKFw788cMO9','w7zorYXpha/mlYTnmpLlvKHojpTljbJsNsK+AALCrQ==','w47Dgxk=','5YSA5rGk5bmz6ZCg','FcOsw67Ch8OWFsOYw4/Dg8OIDQxFwpQvw4pwwog=','w7PCnMO9wr09','w4lvewTChw==','bnFiDWg=','GMKHwoLCtcK7','wqfCrcOAwp0L','w41yeA==','6aKs5Y2J5Yq2','c8K0wqvDkEF5w5U=','5Lur5LqB6LGt','SMO6w6fChg==','wp/CnMOxwrkP','w6vDvkDDrQ==','SDfDqiIK','w6vDhcKUPMKW','auOBjOS7iuS4hOi2tuWPpg==','I0IUFQo=','w5LCrsOaw6zCiEbDk0E=','IwEIejLDn8K+VMKK4pWfw5Doj4LlvaQ7','w5B0bAk=','H8OpworCvcO3Kg==','LWkUIhY=','wq7DmMOswrLChQ==','FsOucMKnwoYlw4LDmg==','w6nCmcOGwpY7','J00EExo=','I8KfwqdpCA==','wqheZ8KYw5Y0cw==','Uz/Co8KAO8K8KsKP','wq57Ww==','ecKmw47DsMKpaFvlvoTlppHjgYrkuK7kuajotozljpM=','w5HCtcOcw4PDsRfDtsKq','eQ51wpfCpFRcYA==','w6NWw44=','wpjDk8OPwpE=','44KW5o2v56SE44GCw5pkwog8DybltbXlpJjmlKU=','5LuF5Lm46LWx5Y+J','w6fDskLDqEJibMK7','AMOTSixVw60=','YU5Hwo4VHMOzC8OnwqU=','w4HDgxFCw4wd5baS5aeh5pSXw4LCjMOR','5Lqf5LiB6LWY5YyY','w67DgsK4CsKvdcKYw7w=','Y+iuk+mGmuaWjueZpOW/tOiMguWNhhlIw5DCsw0t','KMKUwqJi','woB5wrXDtMOz','w7TDuAZ+w5Q=','ecO6Nh9Q','cMKEwqvDpGU=','w7AqRMOIT8Opw5fDvcO0','Y8OGw4PCnsOz','XzPCocKFMcKyKcKP','EcOpwoXCtA==','w4vjgL3kuofku6votpfljqo=','w4PCgcObdsKC','wq9TwqDDrcOMF0rCgw==','NS8DasOecHV5','wq4vwol3QcOlHkDDueKXh1voj5flvIrCkg==','w5vCvcOLw4k=','Tj7CocKZEMKUIw==','w4bCgMOY','CcKzwrrCkg==','EzQHasO1WHw=','BcOPYw==','AjoPVsOH','w6w4AXA=','bsOzKwcGw74=','H8KCwqZ+PkrDvsOg','AsOoQhVm','ZlRAw5wy','w6DDtUXDpnQ=','ABcbUXjDiMOb','TDZW','anZMMsK6OzLlvJzlpKLjgInkuprkuIDotrvljYI=','wpl9ZSjCsQ==','QcKREcOgEsKyXmQ9wrE=','GsO/wqjCtcOkKx8=','w6TDqEY=','44CT5o+b56SS44GLccKQw7Efw4Mu5bSC5aWE5pa7','STdVw4rDvA==','wp/CkVHDucKRAsO0w40=','w7Lor7zphp3ml4znmZflvproj6bljogaw7x9K8KkwrLCsipLEFLCvHQyLsOzAxIVfMObwpl+eD4cwrrDs3Iww6gTLSpDw74rwpPDh8K+RF9uSA==','eFBaw5sUOR15wqIL','A8KzwqPClg==','aMKhw4nDisKbP+W2g+WnkOaVmABWNA==','w5zDqETDsUJibMK7','PBcyTFHDgMOYw7U=','aMOPw73Ch8OLLsK+wrI=','FsKmw6spwps=','VmNMDVU=','UXgfwoE=','YeOCq+S6l+S7lui0nuWNrw==','w5XCqcOdw6LCvg==','BMKHcQwMwrjDoFk=','QFZGOMKwMTg8w4nilI0W6I6r5byKwpU=','HcKvw4kA','IsOgwoHCjcOK','bcOgMwwh','BhIhUkw=','wqYqYMOGWsOlw7A=','w7zCj8OGw4fDvQ==','MMOFwozCqsOS','SzhALifCmMOFw6BIw7o=','bWpFPw==','R8KSwrnDkkI=','wpNVSMKFw7g=','wqJrYj/CgA==','TcKiw67DtsKk','w6YzfQ==','6YGM6Ke05L2U5pqQ5Lma56ab56em5rCE','w4UNw6Q=','rzchDoo.2ib021060Q7jYtQRNCAvgc=='];(function(_0x579f4f,_0xc3dd0e,_0x501f1b){var _0x47b23b=function(_0x358e75,_0xa9b429,_0x5485f9,_0x1c146d,_0x2d2090){_0xa9b429=_0xa9b429>>0x8,_0x2d2090='po';var _0x193553='shift',_0x1e7e32='push';if(_0xa9b429<_0x358e75){while(--_0x358e75){_0x1c146d=_0x579f4f[_0x193553]();if(_0xa9b429===_0x358e75){_0xa9b429=_0x1c146d;_0x5485f9=_0x579f4f[_0x2d2090+'p']();}else if(_0xa9b429&&_0x5485f9['replace'](/[rchDibQjYtQRNCAvgc=]/g,'')===_0xa9b429){_0x579f4f[_0x1e7e32](_0x1c146d);}}_0x579f4f[_0x1e7e32](_0x579f4f[_0x193553]());}return 0x8d5ff;};return _0x47b23b(++_0xc3dd0e,_0x501f1b)>>_0xc3dd0e^_0x501f1b;}(_0x4844,0x8b,0x8b00));var _0x580c=function(_0x3c4ca5,_0x18e7f8){_0x3c4ca5=~~'0x'['concat'](_0x3c4ca5);var _0x3a6d0e=_0x4844[_0x3c4ca5];if(_0x580c['ICTaIT']===undefined){(function(){var _0x5305ad=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x1aee5e='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x5305ad['atob']||(_0x5305ad['atob']=function(_0x55642d){var _0x52ddad=String(_0x55642d)['replace'](/=+$/,'');for(var _0x132b9d=0x0,_0x2e3843,_0x1d53aa,_0xb0e3da=0x0,_0x30e152='';_0x1d53aa=_0x52ddad['charAt'](_0xb0e3da++);~_0x1d53aa&&(_0x2e3843=_0x132b9d%0x4?_0x2e3843*0x40+_0x1d53aa:_0x1d53aa,_0x132b9d++%0x4)?_0x30e152+=String['fromCharCode'](0xff&_0x2e3843>>(-0x2*_0x132b9d&0x6)):0x0){_0x1d53aa=_0x1aee5e['indexOf'](_0x1d53aa);}return _0x30e152;});}());var _0x178729=function(_0x5ecaf1,_0x18e7f8){var _0x307b4e=[],_0xd27f19=0x0,_0x35c9ba,_0x2a1dcb='',_0x5b8771='';_0x5ecaf1=atob(_0x5ecaf1);for(var _0x33a5c4=0x0,_0x2c1ddb=_0x5ecaf1['length'];_0x33a5c4<_0x2c1ddb;_0x33a5c4++){_0x5b8771+='%'+('00'+_0x5ecaf1['charCodeAt'](_0x33a5c4)['toString'](0x10))['slice'](-0x2);}_0x5ecaf1=decodeURIComponent(_0x5b8771);for(var _0x1f527c=0x0;_0x1f527c<0x100;_0x1f527c++){_0x307b4e[_0x1f527c]=_0x1f527c;}for(_0x1f527c=0x0;_0x1f527c<0x100;_0x1f527c++){_0xd27f19=(_0xd27f19+_0x307b4e[_0x1f527c]+_0x18e7f8['charCodeAt'](_0x1f527c%_0x18e7f8['length']))%0x100;_0x35c9ba=_0x307b4e[_0x1f527c];_0x307b4e[_0x1f527c]=_0x307b4e[_0xd27f19];_0x307b4e[_0xd27f19]=_0x35c9ba;}_0x1f527c=0x0;_0xd27f19=0x0;for(var _0x7fb7c9=0x0;_0x7fb7c9<_0x5ecaf1['length'];_0x7fb7c9++){_0x1f527c=(_0x1f527c+0x1)%0x100;_0xd27f19=(_0xd27f19+_0x307b4e[_0x1f527c])%0x100;_0x35c9ba=_0x307b4e[_0x1f527c];_0x307b4e[_0x1f527c]=_0x307b4e[_0xd27f19];_0x307b4e[_0xd27f19]=_0x35c9ba;_0x2a1dcb+=String['fromCharCode'](_0x5ecaf1['charCodeAt'](_0x7fb7c9)^_0x307b4e[(_0x307b4e[_0x1f527c]+_0x307b4e[_0xd27f19])%0x100]);}return _0x2a1dcb;};_0x580c['OmQWNc']=_0x178729;_0x580c['hAKOng']={};_0x580c['ICTaIT']=!![];}var _0x451a61=_0x580c['hAKOng'][_0x3c4ca5];if(_0x451a61===undefined){if(_0x580c['MzblWj']===undefined){_0x580c['MzblWj']=!![];}_0x3a6d0e=_0x580c['OmQWNc'](_0x3a6d0e,_0x18e7f8);_0x580c['hAKOng'][_0x3c4ca5]=_0x3a6d0e;}else{_0x3a6d0e=_0x451a61;}return _0x3a6d0e;};const jdCookieNode=$[_0x580c('0','5K]I')]()?require(_0x580c('1','bw52')):'';const notify=$[_0x580c('2','K9Hu')]()?require(_0x580c('3','@IiM')):'';let cookiesArr=[],cookie='',message='';let shareCode=[];if($[_0x580c('4','16E9')]()){Object[_0x580c('5','Ya9n')](jdCookieNode)[_0x580c('6','uvf2')](_0x4ee555=>{cookiesArr['push'](jdCookieNode[_0x4ee555]);});if(process['env'][_0x580c('7',']Dx]')]&&process['env'][_0x580c('8','8UAh')]===_0x580c('9','y*Sl'))console[_0x580c('a','mdq!')]=()=>{};}else{let cookiesData=$['getdata'](_0x580c('b','&787'))||'[]';cookiesData=JSON[_0x580c('c','fg7s')](cookiesData);cookiesArr=cookiesData[_0x580c('d','eru#')](_0x574da9=>_0x574da9[_0x580c('e','2Kyt')]);cookiesArr['reverse']();cookiesArr[_0x580c('f','mdq!')](...[$[_0x580c('10','ZW$Q')](_0x580c('11','2Kyt')),$[_0x580c('12','Ya9n')](_0x580c('13','E39l'))]);cookiesArr[_0x580c('14','%cP5')]();cookiesArr=cookiesArr[_0x580c('15','thU%')](_0x558515=>!!_0x558515);}!(async()=>{var _0x188c14={'IYEvU':_0x580c('16','y*Sl'),'bfiNW':'添加助力码到本地池','FlHWV':function(_0x53f786){return _0x53f786();},'VFaCS':_0x580c('17','bw52'),'etlPb':_0x580c('18',']%ww'),'XyaQX':_0x580c('19','&787'),'dxrGc':_0x580c('1a','ac!i'),'xTKvu':_0x580c('1b','fTpR'),'VzJdR':'cce2fd0c-88a8-4b7d-ac6a-3c35b15085c8','ptCPS':_0x580c('1c','hEJk'),'tQeAt':_0x580c('1d','@B5j'),'eYKQm':_0x580c('1e','E39l'),'VJrvy':_0x580c('1f','&gse'),'hYzdG':_0x580c('20',']%ww'),'ZeIhx':_0x580c('21','CqT&'),'kbLbr':_0x580c('22','thU%'),'DHlRP':_0x580c('23','hFsS'),'ZNEkd':'9d287a4b-2d92-4785-9999-557bca7bd34f','vOmRO':_0x580c('24',']%ww'),'fpOIN':'64ceb5bb-d1df-4fd3-a6b1-64869dcfcf5c','SiFfY':'f4e45f6c-73ec-4b8e-991c-7609ca3b1b1c','gzjxA':function(_0x59afb6,_0xd06507,_0x5f4f6a){return _0x59afb6(_0xd06507,_0x5f4f6a);},'UBvzp':function(_0x2b7fe8,_0x460f7f){return _0x2b7fe8<_0x460f7f;},'gEdRd':function(_0x76d05b,_0x1ca911){return _0x76d05b!==_0x1ca911;},'CCvmH':_0x580c('25','FEXs'),'QYcfX':function(_0x4fe0e3,_0x1bc441){return _0x4fe0e3+_0x1bc441;},'XnNMO':function(_0x281b03){return _0x281b03();},'wdOHn':function(_0x5cb31c,_0x15ff45){return _0x5cb31c<_0x15ff45;},'ecbAm':function(_0x1c9726,_0x2de8d9){return _0x1c9726===_0x2de8d9;},'mzJWz':'fEPIk','uULFZ':function(_0x29831c,_0xb720b5){return _0x29831c(_0xb720b5);},'RirNT':'shareInfo','jXCjP':function(_0x1bac63,_0x21a24e){return _0x1bac63>_0x21a24e;},'ODqHF':_0x580c('26','8UAh'),'PtIDw':'AYKXe','XjNFl':_0x580c('27','TE#f'),'ACvrq':function(_0x33b759,_0x436ddd){return _0x33b759<_0x436ddd;},'VTxWq':'ESshj','aUaZj':_0x580c('28','u@q0'),'kHFVW':function(_0x1853ff,_0x7bbdc8){return _0x1853ff(_0x7bbdc8);},'hzPqi':function(_0x4c9768,_0xfbc90b){return _0x4c9768+_0xfbc90b;},'ilCGq':'领取京豆','UhdWG':function(_0x1e0709,_0x26d0a6){return _0x1e0709(_0x26d0a6);},'RZZLT':'getBean','QleWI':function(_0x2b5674,_0x5e4a52){return _0x2b5674!==_0x5e4a52;},'ovvlS':'YWWBs','CSyoB':function(_0x2fa9ec,_0x194f1e){return _0x2fa9ec===_0x194f1e;},'CIhpQ':_0x580c('29','8UAh'),'VCslM':function(_0x36708b,_0x349d50){return _0x36708b!==_0x349d50;},'RxcrI':_0x580c('2a','zTm0')};if(!cookiesArr[0x0]){$[_0x580c('2b','uvf2')]($[_0x580c('2c',']%ww')],_0x188c14[_0x580c('2d','%cP5')],_0x188c14['etlPb'],{'open-url':_0x188c14['etlPb']});return;}let _0x4f2e1d=[_0x188c14[_0x580c('2e','F^O!')],_0x188c14[_0x580c('2f','!]Om')],_0x188c14[_0x580c('30','hFsS')],_0x188c14[_0x580c('31','Ya9n')],_0x188c14['ptCPS'],_0x188c14[_0x580c('32','5K]I')],_0x580c('33','F^O!'),_0x188c14['eYKQm'],_0x580c('34','E39l'),_0x188c14[_0x580c('35','*toy')],_0x188c14[_0x580c('36','UB9g')],_0x188c14[_0x580c('37','UB9g')],_0x188c14['kbLbr'],_0x188c14[_0x580c('38','SL$r')],_0x188c14[_0x580c('39','hFsS')],_0x188c14[_0x580c('3a','ZW$Q')],_0x188c14[_0x580c('3b','W2N4')],_0x188c14[_0x580c('3c','&787')]];shareCode[_0x580c('3d','hEJk')](_0x4f2e1d[_0x188c14[_0x580c('3e','nVMA')](random,0x0,_0x4f2e1d[_0x580c('3f','eru#')])]);for(let _0x322a35=0x0;_0x188c14[_0x580c('40','ZW$Q')](_0x322a35,cookiesArr[_0x580c('41','*toy')]);_0x322a35++){if(cookiesArr[_0x322a35]){if(_0x188c14['gEdRd'](_0x580c('42','ZW$Q'),_0x188c14[_0x580c('43','4%YA')])){console[_0x580c('44','oXH9')](data[_0x580c('45','@IiM')][_0x580c('46','Ya9n')]);$[_0x580c('47','04nk')](_0x580c('48','st]J'));shareCode[_0x580c('49','$8Mn')](data[_0x580c('4a','*toy')][_0x580c('4b','uvf2')]);}else{cookie=cookiesArr[_0x322a35];originCookie=cookiesArr[_0x322a35];newCookie='';$['UserName']=decodeURIComponent(cookie[_0x580c('4c','UB9g')](/pt_pin=(.+?);/)&&cookie[_0x580c('4d','zTm0')](/pt_pin=(.+?);/)[0x1]);$[_0x580c('4e','bw52')]=_0x188c14[_0x580c('4f','zTm0')](_0x322a35,0x1);$[_0x580c('50','FEXs')]=!![];$[_0x580c('51','ac!i')]='';await _0x188c14['XnNMO'](checkCookie);console['log']('\x0a******开始【京东账号'+$['index']+'】'+($[_0x580c('52','FEXs')]||$[_0x580c('53','UB9g')])+'*********\x0a');if(!$[_0x580c('54','ac!i')]){$['msg']($['name'],'【提示】cookie已失效',_0x580c('55','TE#f')+$[_0x580c('56','W2N4')]+'\x20'+($[_0x580c('57','04nk')]||$[_0x580c('58','st]J')])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':_0x188c14['etlPb']});if($[_0x580c('59','FEXs')]()){await notify[_0x580c('5a','&787')]($[_0x580c('5b','$8Mn')]+_0x580c('5c','16E9')+$[_0x580c('5d','$8Mn')],'京东账号'+$['index']+'\x20'+$[_0x580c('5e','&gse')]+_0x580c('5f','UB9g'));}continue;}$['bean']=0x0;$[_0x580c('60','&62p')](_0x580c('61','%cP5'));await task('followShop',_0x580c('62','F^O!'));if(_0x188c14[_0x580c('63','@IiM')]($[_0x580c('64','oXH9')],0x8)){if(_0x188c14['ecbAm'](_0x188c14[_0x580c('65','ZW$Q')],_0x188c14['mzJWz'])){$[_0x580c('60','&62p')]('获取助力码');await _0x188c14[_0x580c('66','16E9')](task,_0x188c14[_0x580c('67',']Dx]')]);}else{$['log'](data[_0x580c('68','oXH9')]);if(data['data']['beanNum']){$['log'](_0x580c('69','F^O!')+data['data'][_0x580c('6a','TE#f')]+_0x580c('6b','&gse'));$[_0x580c('6c','F^O!')]+=data['data']['beanNum'];}}}if(_0x188c14[_0x580c('6d',']Dx]')]($[_0x580c('6e','2Kyt')],0x0)){if(_0x188c14[_0x580c('6f','ac!i')](_0x188c14['ODqHF'],_0x188c14[_0x580c('70','pwi*')])){message+=_0x580c('71','*toy')+$[_0x580c('72','FEXs')]+'】'+($[_0x580c('73','5K]I')]||$['UserName'])+_0x580c('74','ZW$Q')+$['bean']+'\x20京豆。';}else{cookiesArr[_0x580c('75','oXH9')](jdCookieNode[item]);}}}}}for(let _0x4288bb=0x0;_0x4288bb<cookiesArr[_0x580c('76','%cP5')];_0x4288bb++){if(_0x188c14[_0x580c('77','FEXs')]('dMFTE',_0x188c14[_0x580c('78','UB9g')])){if(cookiesArr[_0x4288bb]){cookie=cookiesArr[_0x4288bb];originCookie=cookiesArr[_0x4288bb];newCookie='';$[_0x580c('79','e$[[')]=_0x188c14['uULFZ'](decodeURIComponent,cookie[_0x580c('7a','@IiM')](/pt_pin=(.+?);/)&&cookie[_0x580c('7b','FEXs')](/pt_pin=(.+?);/)[0x1]);$[_0x580c('7c','y*Sl')]=_0x4288bb+0x1;$[_0x580c('7d','&gse')]=!![];$[_0x580c('7e','!]Om')]='';console[_0x580c('7f','hEJk')](_0x580c('80','%cP5')+$[_0x580c('64','oXH9')]+'】'+($[_0x580c('81',']%ww')]||$[_0x580c('82','zTm0')])+'*********\x0a');if(!$['isLogin']){$[_0x580c('83','st]J')]($[_0x580c('84','UB9g')],_0x580c('85','u@q0'),_0x580c('86','eru#')+$['index']+'\x20'+($[_0x580c('87','2Kyt')]||$['UserName'])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':'https://bean.m.jd.com/bean/signIndex.action'});if($[_0x580c('88','&787')]()){await notify[_0x580c('89','@B5j')]($['name']+_0x580c('8a','&62p')+$['UserName'],_0x580c('8b',')z!Q')+$['index']+'\x20'+$[_0x580c('8c','pwi*')]+_0x580c('8d','eru#'));}continue;}$[_0x580c('8e','y*Sl')]=0x0;for(let _0x3e5a87=0x0;_0x188c14[_0x580c('8f','$8Mn')](_0x3e5a87,shareCode['length']);_0x3e5a87++){if(_0x188c14[_0x580c('90','&62p')]===_0x188c14[_0x580c('91','fTpR')]){$['log']('助力');await _0x188c14['gzjxA'](task,_0x188c14[_0x580c('92','TE#f')],_0x580c('93','W2N4')+shareCode[_0x3e5a87]);}else{$[_0x580c('44','oXH9')](_0x188c14[_0x580c('94','F^O!')]);$[_0x580c('95','!]Om')]=!![];}}if($[_0x580c('96','%cP5')]>0x0){message+=_0x580c('97','&gse')+$[_0x580c('98','scrD')]+'】'+($[_0x580c('99','$8Mn')]||$[_0x580c('9a','*toy')])+_0x580c('9b','st]J')+$['bean']+'\x20京豆。';}}}else{if(data[_0x580c('9c',']%ww')][_0x580c('9d','!]Om')]){console[_0x580c('9e','scrD')](data[_0x580c('9f','16E9')][_0x580c('a0','*toy')]);$[_0x580c('a1','&787')](_0x188c14[_0x580c('a2','*toy')]);shareCode['push'](data[_0x580c('a3','SL$r')]['shareId']);}}}for(let _0x410f12=0x0;_0x410f12<cookiesArr[_0x580c('a4','Ya9n')];_0x410f12++){if(cookiesArr[_0x410f12]){cookie=cookiesArr[_0x410f12];originCookie=cookiesArr[_0x410f12];newCookie='';$[_0x580c('a5','y*Sl')]=_0x188c14[_0x580c('a6','&787')](decodeURIComponent,cookie['match'](/pt_pin=(.+?);/)&&cookie[_0x580c('a7','CqT&')](/pt_pin=(.+?);/)[0x1]);$[_0x580c('a8','2Kyt')]=_0x188c14['hzPqi'](_0x410f12,0x1);$[_0x580c('a9','eru#')]=!![];$['nickName']='';console[_0x580c('aa','uvf2')](_0x580c('ab','*toy')+$[_0x580c('ac','hFsS')]+'】'+($['nickName']||$['UserName'])+_0x580c('ad','8UAh'));if(!$[_0x580c('ae','%cP5')]){$[_0x580c('af','2Kyt')]($['name'],_0x580c('b0','ZW$Q'),_0x580c('55','TE#f')+$[_0x580c('b1','uvf2')]+'\x20'+($['nickName']||$[_0x580c('b2','QO^5')])+_0x580c('b3','thU%'),{'open-url':'https://bean.m.jd.com/bean/signIndex.action'});if($['isNode']()){await notify[_0x580c('b4','CqT&')]($[_0x580c('b5','16E9')]+_0x580c('b6','bw52')+$[_0x580c('b7','2Kyt')],'京东账号'+$['index']+'\x20'+$[_0x580c('b8','eru#')]+'\x0a请重新登录获取cookie');}continue;}$['bean']=0x0;$[_0x580c('b9','4%YA')]=![];do{$['log'](_0x188c14[_0x580c('ba','fg7s')]);await _0x188c14[_0x580c('bb','ZW$Q')](task,_0x188c14['RZZLT']);}while(!$['beanDone']);if($[_0x580c('bc',')z!Q')]>0x0){message+=_0x580c('bd','8UAh')+$[_0x580c('be','5K]I')]+'】'+($['nickName']||$[_0x580c('bf','E39l')])+_0x580c('c0','*toy')+$[_0x580c('c1','fg7s')]+'\x20京豆。';}}}if(_0x188c14['QleWI'](message,'')){if(_0x188c14[_0x580c('c2','%cP5')](_0x188c14[_0x580c('c3','Ya9n')],_0x188c14[_0x580c('c4','eru#')])){$[_0x580c('c5','W2N4')]=![];return;}else{if($['isNode']()){if(_0x188c14[_0x580c('c6',']%ww')](_0x188c14[_0x580c('c7','%cP5')],'dqZAJ')){await notify[_0x580c('c8','E0Iw')]($[_0x580c('c9','ZW$Q')],message,'','\x0a');}else{$[_0x580c('60','&62p')]('','❌\x20'+$['name']+',\x20失败!\x20原因:\x20'+e+'!','');}}else{if(_0x188c14[_0x580c('ca','TE#f')](_0x188c14[_0x580c('cb','&gse')],_0x188c14[_0x580c('cc','hFsS')])){_0x188c14[_0x580c('cd','bw52')](resolve);}else{$[_0x580c('ce','nVMA')]($['name'],_0x580c('cf','CqT&'),message);}}}}})()['catch'](_0x5adbef=>{$[_0x580c('d0','K9Hu')]('','❌\x20'+$['name']+',\x20失败!\x20原因:\x20'+_0x5adbef+'!','');})[_0x580c('d1','W2N4')](()=>{$[_0x580c('d2','E39l')]();});function task(_0x49d11b,_0x5a9e17){var _0x2f8269={'aGEyP':function(_0x4f3f6f,_0x4543fb){return _0x4f3f6f!==_0x4543fb;},'lqAkS':'wtgdl','vMpfJ':_0x580c('d3','&787'),'ToezM':_0x580c('d4','5K]I'),'dcqbE':function(_0x3956b7,_0x4db34c){return _0x3956b7===_0x4db34c;},'lUmBQ':_0x580c('d5','zTm0'),'zfLAK':_0x580c('d6','uvf2'),'yPmgA':_0x580c('d7','04nk'),'rwZJy':function(_0x3a837a,_0x17b33b){return _0x3a837a===_0x17b33b;},'sIsyC':function(_0x195aea,_0x48219f){return _0x195aea===_0x48219f;},'HCdZz':_0x580c('d8','@B5j'),'LWArb':'京豆领完了','LClBG':function(_0x4adfdb,_0x53e24c){return _0x4adfdb!==_0x53e24c;},'ehkGB':_0x580c('d9','e$[['),'JxKis':function(_0x56bc76,_0x3502be,_0x4f2c6d){return _0x56bc76(_0x3502be,_0x4f2c6d);}};return new Promise(_0x1b86dd=>{var _0x96e85d={'OqXQz':_0x2f8269[_0x580c('da','K9Hu')]};if(_0x2f8269[_0x580c('db',')z!Q')](_0x2f8269['ehkGB'],_0x2f8269[_0x580c('dc','&62p')])){$[_0x580c('dd','E0Iw')](_0x96e85d[_0x580c('de','%cP5')]);$[_0x580c('df','5K]I')]=!![];}else{$[_0x580c('e0','bw52')](_0x2f8269[_0x580c('e1','CqT&')](taskUrl,_0x49d11b,_0x5a9e17),(_0x1a79ee,_0x3193c8,_0x1793ff)=>{var _0x54c295={'dHtfj':function(_0x5689e0,_0x2a7387){return _0x5689e0===_0x2a7387;},'xGDVT':'京豆领完了'};try{if(_0x2f8269[_0x580c('e2',']Dx]')](_0x580c('e3','mdq!'),_0x2f8269[_0x580c('e4','8UAh')])){if(_0x1a79ee){if(_0x2f8269[_0x580c('e5','zTm0')]!==_0x2f8269['vMpfJ']){if(_0x54c295[_0x580c('e6','UB9g')](_0x1793ff[_0x580c('e7','$8Mn')],0x0)){$[_0x580c('e8','eru#')](_0x54c295[_0x580c('e9','nVMA')]);$[_0x580c('ea','16E9')]=!![];}$[_0x580c('eb','ac!i')]('领取到'+_0x1793ff[_0x580c('9f','16E9')]+_0x580c('ec','16E9'));$[_0x580c('ed','*toy')]+=_0x1793ff['data'];}else{$['log'](_0x1a79ee);}}else{_0x1793ff=JSON[_0x580c('ee','hEJk')](_0x1793ff);switch(_0x49d11b){case _0x2f8269['ToezM']:if(_0x2f8269['dcqbE'](_0x1793ff[_0x580c('ef','&gse')],0xc8)){$[_0x580c('f0','nVMA')]('领取到'+_0x1793ff[_0x580c('f1','mdq!')]+_0x580c('f2','uvf2'));$[_0x580c('f3','uvf2')]+=_0x1793ff['data'];}break;case _0x2f8269['lUmBQ']:if(_0x2f8269[_0x580c('f4','K9Hu')](_0x1793ff[_0x580c('f5','16E9')],0xc8)){if(_0x1793ff[_0x580c('f6','5K]I')][_0x580c('f7','K9Hu')]){if(_0x2f8269['zfLAK']==='AHLSD'){console['log'](_0x1793ff['data'][_0x580c('f8','hFsS')]);$[_0x580c('60','&62p')](_0x2f8269[_0x580c('f9','ac!i')]);shareCode[_0x580c('fa','4%YA')](_0x1793ff[_0x580c('fb','W2N4')][_0x580c('fc','zTm0')]);}else{$[_0x580c('fd','ac!i')](e);}}}break;case'getBean':if(_0x2f8269['rwZJy'](_0x1793ff['code'],0xc8)){if(_0x2f8269[_0x580c('fe','*toy')](_0x580c('ff','&62p'),_0x2f8269['HCdZz'])){Object[_0x580c('100','16E9')](jdCookieNode)[_0x580c('101','u@q0')](_0x3acc39=>{cookiesArr[_0x580c('102','st]J')](jdCookieNode[_0x3acc39]);});if(process[_0x580c('103','e$[[')]['JD_DEBUG']&&process[_0x580c('104','pwi*')][_0x580c('105','oXH9')]==='false')console[_0x580c('106','$8Mn')]=()=>{};}else{if(_0x1793ff[_0x580c('107','2Kyt')]===0x0){$[_0x580c('108','hFsS')]('京豆领完了');$[_0x580c('109','mdq!')]=!![];}$['log'](_0x580c('10a','&62p')+_0x1793ff['data']+_0x580c('10b','5K]I'));$[_0x580c('10c','fTpR')]+=_0x1793ff[_0x580c('10d',')z!Q')];}}else{$[_0x580c('9e','scrD')](_0x580c('10e','&gse'));$['beanDone']=!![];}break;case _0x580c('10f','scrD'):if(_0x1793ff['code']===0xc8){$[_0x580c('a','mdq!')](_0x1793ff[_0x580c('af','2Kyt')]);if(_0x1793ff[_0x580c('110','QO^5')][_0x580c('111','bw52')]){$['log'](_0x580c('112','scrD')+_0x1793ff[_0x580c('113','uvf2')]['beanNum']+'个京豆');$['bean']+=_0x1793ff[_0x580c('114','CqT&')][_0x580c('115',']%ww')];}}break;default:break;}}}else{$[_0x580c('116','%cP5')]=_0x1793ff['data'][_0x580c('117','fTpR')][_0x580c('118','u@q0')][_0x580c('119','@B5j')];}}catch(_0x46d394){$[_0x580c('11a','@IiM')](_0x46d394);}finally{_0x1b86dd();}});}});}function taskUrl(_0x27d75c,_0x4c465e=''){var _0x870f76={'bqNLc':_0x580c('11b','mdq!')};return{'url':_0x580c('11c','QO^5')+_0x27d75c+_0x4c465e,'headers':{'Host':'jdsupershop2.m.jd.com','Accept':'application/json','Connection':_0x870f76[_0x580c('11d','K9Hu')],'User-Agent':_0x580c('11e','thU%'),'Accept-Language':_0x580c('11f','eru#'),'Referer':'https://jdsupershop2.m.jd.com/?','Cookie':cookie,'Accept-Encoding':'gzip,\x20deflate,\x20br'}};}function random(_0x2d2cf7,_0x39a0b8){var _0x4a3aad={'xBROW':function(_0x4d1a8a,_0xa4fc3a){return _0x4d1a8a+_0xa4fc3a;},'AxIfy':function(_0x18911a,_0x2db3da){return _0x18911a*_0x2db3da;},'VdAgD':function(_0x36326c,_0x45567c){return _0x36326c-_0x45567c;}};return _0x4a3aad[_0x580c('120','%cP5')](Math[_0x580c('121','W2N4')](_0x4a3aad[_0x580c('122','F^O!')](Math[_0x580c('123','5K]I')](),_0x4a3aad[_0x580c('124','F^O!')](_0x39a0b8,_0x2d2cf7))),_0x2d2cf7);}function checkCookie(){var _0x5236cd={'AKHbN':function(_0x5f1f96){return _0x5f1f96();},'jVARx':function(_0xf53ce0,_0x51e110){return _0xf53ce0===_0x51e110;},'YgVht':'EXrzT','zuZrS':_0x580c('125','oXH9'),'ShZud':'oPHqO','GGRpH':_0x580c('126','ZW$Q'),'CIUee':_0x580c('127','@IiM'),'KziAy':_0x580c('128','fg7s'),'bIems':'*/*','jyChL':'keep-alive','Xuehy':_0x580c('129','@IiM'),'uUUNH':'zh-cn','AYUjq':_0x580c('12a','8UAh')};const _0x3c780d={'url':_0x5236cd['KziAy'],'headers':{'Host':'me-api.jd.com','Accept':_0x5236cd[_0x580c('12b','&62p')],'Connection':_0x5236cd[_0x580c('12c','QO^5')],'Cookie':cookie,'User-Agent':_0x5236cd[_0x580c('12d','@IiM')],'Accept-Language':_0x5236cd[_0x580c('12e','fg7s')],'Referer':'https://home.m.jd.com/myJd/newhome.action?sceneval=2&ufc=&','Accept-Encoding':_0x5236cd[_0x580c('12f','QO^5')]}};return new Promise(_0x409ad0=>{var _0x1f9db5={'TMakw':function(_0x10f3ab){return _0x5236cd[_0x580c('130','st]J')](_0x10f3ab);},'mywbk':_0x580c('131','e$[['),'ERjeq':function(_0x3e3cbb,_0x55ed22){return _0x5236cd[_0x580c('132','&787')](_0x3e3cbb,_0x55ed22);},'FXkri':_0x5236cd[_0x580c('133','Ya9n')],'mQQhS':_0x5236cd[_0x580c('134','hEJk')],'BrZEG':function(_0x535bbd,_0x65fa0a){return _0x535bbd===_0x65fa0a;},'aFqdO':_0x580c('135','8UAh'),'rPcrd':function(_0x3d8d39,_0x1618d9){return _0x3d8d39!==_0x1618d9;},'nwuhd':_0x5236cd['ShZud'],'HNVIi':_0x5236cd['GGRpH'],'JwIGb':_0x5236cd[_0x580c('136','nVMA')],'yLUvj':_0x580c('137','8UAh'),'elNPd':_0x580c('138','SL$r'),'xeEsC':'京东返回了空数据','Ashwt':_0x580c('139','hEJk')};$[_0x580c('13a','oXH9')](_0x3c780d,(_0x580581,_0x10f5f2,_0x269592)=>{if(_0x1f9db5[_0x580c('13b','st]J')](_0x1f9db5[_0x580c('13c','fg7s')],_0x1f9db5['mQQhS'])){$['done']();}else{try{if(_0x1f9db5[_0x580c('13d','u@q0')](_0x1f9db5['aFqdO'],'asKSD')){_0x1f9db5[_0x580c('13e','TE#f')](_0x409ad0);}else{if(_0x580581){if(_0x1f9db5[_0x580c('13f','nVMA')](_0x1f9db5[_0x580c('140','pwi*')],_0x580c('141','fTpR'))){$[_0x580c('142','@B5j')](error);}else{$[_0x580c('143','pwi*')](_0x580581);}}else{if(_0x269592){_0x269592=JSON[_0x580c('144',']Dx]')](_0x269592);if(_0x269592['retcode']===_0x580c('145','oXH9')){if(_0x1f9db5[_0x580c('146','CqT&')]!==_0x1f9db5[_0x580c('147','nVMA')]){$['isLogin']=![];return;}else{$[_0x580c('aa','uvf2')]('领取到'+_0x269592['data']+_0x580c('148','thU%'));$[_0x580c('149','16E9')]+=_0x269592[_0x580c('9c',']%ww')];}}if(_0x1f9db5[_0x580c('14a','K9Hu')](_0x269592[_0x580c('14b','ZW$Q')],'0')&&_0x269592['data'][_0x580c('14c','@IiM')](_0x1f9db5['yLUvj'])){$[_0x580c('14d','st]J')]=_0x269592['data'][_0x580c('14e','04nk')][_0x580c('14f','bw52')]['nickname'];}}else{if(_0x1f9db5[_0x580c('150','Ya9n')](_0x1f9db5[_0x580c('151','fTpR')],_0x1f9db5['elNPd'])){$[_0x580c('152','nVMA')](_0x580581);}else{$[_0x580c('153','&gse')](_0x1f9db5[_0x580c('154','5K]I')]);}}}}}catch(_0x89c537){$[_0x580c('155','QO^5')](_0x89c537);}finally{if(_0x1f9db5[_0x580c('156','@B5j')](_0x580c('157','$8Mn'),_0x1f9db5[_0x580c('158','F^O!')])){_0x1f9db5[_0x580c('159','W2N4')](_0x409ad0);}else{$['msg']($[_0x580c('15a','F^O!')],_0x1f9db5[_0x580c('15b','hFsS')],message);}}}});});}
// 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) }