代码拉取完成,页面将自动刷新
/*
常规店铺签到
环境变量: export DPQDTK="token1&token2" 或 export DPQDTK="token1\ntoken2"
定时建议自行修改
cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#常规店铺签到
1 1 1 1 * jd_dpqd.js, tag=常规店铺签到, enabled=true
*/
const $ = new Env('常规店铺签到');
var OO0$='jsjiami.com.v6',OO0$_=['OO0$'],O00O=[OO0$,'AULChw==','BTItw6vCgA==','w6xYFlI=','wqPDoMOpU8Or','w6xEwppO','FsKhJA==','5raH5Yi/5bat5aWb5paa','IF/CpRJgwoNcR8K5wo1c','N1nCvx9zwphhWg==','CUzClMOJ','GsOIaXzDrMKFegs=','IUQ3a8Og','AsOeG3E=','fcKyw5hDwqk=','RMKrw64uPGY=','wo3DucOOw7nCi2A=','IMOiV0sJ','GzNyw5bCkg==','HVjCk8OA','56yV5Yi65oi75YmN','Km7Dhgk=','D8KKwoY=','O0/DpMKTwprDrcOfW8KLwqFpw74rBA==','w5nDui8ewqs=','wrsuDmPDiQ==','DngxUy8=','w4kcX8KsBg==','K8KfEho=','w4YQPAHCqA==','w7x6wqEcPA==','wpjCmMK2bsKE','wr3CgcKWTcOr','w5nCjkVxUA==','Yllcw6Y4','E1XDo0k2w69Hwog2QsKlw6PCqlHDuBPCusK9K34FwpEfKCEpb0jDuWt6w6JbZHHCjDEbS1YYa8KHw5YJwqvChgljw5HCrsOiwqvCsifCm1MXw4PCn8KGGsOWwqFnwpQ6wqLCsFpdXFPCsg9Qw799ShnCr8OGw6PDg2kneCZ1EwURCw==','IW13C0wDw7LDtDEPccKKM8KPKmnDoMOdwpdCw4zDqE4qOcKMwqPDtxd+HX/CrMO7dhbCiQg0NH/DlXnDu3c5wo7CscKhLMK6w6HDoMObw4M=','w4rDtjMfwrfDlcOv','IW0GC0xywqTCqXYOZsKOe8ONPX7DocK5woExw5vCt1FodMORw6HDtxcPHXrDmsO4MB8=','O3PCnSbCp3HDpQ==','cmJNwpbCtMOpwoI9UcOeX8KWw7sZaQbDuEs4wrcPRcOjYcKQwpTDssKcRsK2wrlfwpDDvwjCicOjwo7Dh8KKw4kBGkTDhXDDhMKnw5vDiVXDgMKPwqPDs8OKFsORwrnCokrDkcKFU8Odwp0+wrwDNV/CkBE2wrHCjXMGLQnCsMKSwqpKFcOIwo3CqTTDkcKbKhAb','VQ4Uf04=','w5/DuC0Z','w7tscMKDNA==','w54ZY0p+','wqPDoMKWLMO1','fcOTwrk8','5p2s6K+C5buk6ZOL5ZKV56aNRcKcw7norIDmsJTlp7zot4vigq7vu68=','MycH','dMOqwpzDtA==','DxPChcKNKA==','WEfCrkVN','wojDuMONw5nCgQ==','PMOXEjw=','DcOgesOFw7zClsO8OcOewqXCqMKl','Y8OXwo5TwrnDrmLDuA==','w7/Dr2s=','5buI6ZKy5ZGt56aT7726','Z+W6uumQmumRluaMvu+8t8O7U8OLJSfDiSRTw4dpw4t0wr/DqlbDjWnDhMKHwpTCncO2wpDCr8KBdsKgw6MewpvClH4=','PyU3FMO+','w4ljQcKsGA==','fE4QOy87wq8tQE3DqB3CvjEWf3oRwrAQwozClRrDgEfDnsKF','w5djPsKyBg==','SzkoEcKfw7bCkFgAJcO5YcOJLBHDoHFaTcORJ1rDhTLDgFBsw6HDvsOTMS8Ew6gvdkkBDMK5D1zChMKfQnzCnsKTZi0Gw7vDt0Unw5/Dm3vDksKdZHTDnCh4VMOuecO8wqjDpER+wqFJwoDDg3UYRcKowq/Cr8K5ajHChMKwN8KbwpotVRzCpn/CgsK4BsOpwqUhw7HCr2gdw5/DsTvDkWXDtCdAw5vDicKvQMO+Z8KmKsOtwpPDusOuw4ZQw5TCnsO1w69Mw60+ClwXYcKTworCrMOtw63CrcKZD8KaM1E3w4x7w61gMDvDnTrDoULDrD1vwr1zMCjDm8KYwoHDl2t4w7vCocOCC8KnwqhIaGTCmjrDksKFwrAvAQ4TwpJYbixrZnQqwq0LUktAdzUeMsOvTsO8wpbCp8K1wpHDrsOVwpPCrlFJwqjCicKjGVM=','LUjCrsKVwqbCsw==','dMKVwpzDtMO+','EFNswqLCicOG','562S5Yqy5aeZ6LSp','w4VFPcOr','JDpkwp0=','wpjCmMKobg==','ERdkQcOBwrI=','F0XDjcOrw5UBw6lPwoQkacODJUXCmGTDiinDhMOUQ8OWMMOaw4rDg8OcwrzDgcOiwpUlw7TCqFs=','w7PDhg5awp0=','asKVw6PCi8O+','Ih3CscO5w4o=','w4LCjSnDnEw=','AsK/em/Dnw==','EBfDucKB','K8O+DHvDuQ==','dMOqwpzCi8KB','wq7Dh8O4wow=','eXfDrAZ5','wqrDksOAFcOG','L8OZWsO6wo4=','woDCnD5ZMQ==','woANwp/DthE=','wqlfw4M=','w6FEwok=','wq9MHFbDsRNQwrXDgMKSa8O/w4jDtMKVwopfwpRfKsOVT0LDmUl2w5wzw7/DrTzCjxfCmlfCpCZ2wo7DvcKlw7XDuGjCnsKpw6LDl8Odw7ECCsOKZMKzw43Dg8OqYjjDicO8wofCixE0w7plbBrDj8OCw4rDjkZ3BcOdwrx/YsKXOsKGw44P','aMK9eBLDiiBgB8KlEU8xw4fCsxLDt1MHwr4=','w7XDuR9Nbn/Di8Odwq7DgcODdcKLYcONckk=','w79WZ8KNe8K6w6BNTMK+V8KZwrY=','Z8KLw4ZbHw==','GT1VfB1BwqsIMALCgcKzTjgJwqlcwqjDssKVw69/KygEwoMywqrCo1DChm7DsMK8ZsKULzwBwohHw7t0wprCuiRQPsKqWwXCh2LCicKXBiRhL8K1BmfDh8K8wo/Ck8OCw5cVQEXCm1h1MSrCnz3CkQc=','wqPDjU5iRgEQw517GcKe','w6/CugE=','HMOAG3HCoA==','X2dq','5p2g6K2c5rSW5Yqv5L+J5oCLJ8OsXuivk+azruWnrei0i+KDje+4uQ==','w5gQQ2A=','L8OZRMOkw68=','w6JYwpk=','wrnDpzTDpjs=','56+C5Yqn5aWu6LWP77+I','BnlM','PcOBAg==','wp5sw77Dtg8=','J3dPwo/Cs8Oqw5YoQA==','Q2l/wqVt','D2tfwrM=','K8OCBy9LYRFdwr0=','FShVbQ==','5b2B5aes5pS/6ZSk77+O','PcO8VijDhg==','R+e5nOacleaXiOmUm++8iA==','D07Dm1YmwrQEw4IERsK+wqTCqRg=','w6IFwqFjXQ==','V2l5wrc=','w6llY8Kvw61sbsKIwoYEbcKkME/CqCcqw6oswozCjA==','CMOMc3k=','c8OQwo9Xwp7DoXrDuMKQwq1XYMKELMKSDi1jwqIHwqs=','wp/DosO7Ow==','w7DDr2LDrk7ChcOZwpPDqElnMy8MDsKQYMOMLkEg','woRsKEjCnFx5w7/CkQ==','fFk9wplZ','w6tKwopK','dUUfPzZuwrMYeFDDrwLDoFJTPS1zw6tYw4k=','EHPCgDRH','PhgRQyE=','asO0w73DtMO+','w6zCsBtb','EGjDucKfw6Q=','fFlcw6Y=','IX3ClhbCsEw=','ISVWdcO+','w5nCjiRvTg==','HSZG','wp7CnF84Tg==','JGMQw5fCqg==','56ym5YqG5aSw5Yus77yl','w5rCluWktei2kirDsuWOteWZjVBZ','Rxo+BA4=','wrvDh8KeZMKnw40=','w5hxIgHDlw==','K8KfDBo=','w5hvPH4=','56+05Yi65oid5YmE','WXs+Gg==','wrtRcX0=','56yV5Yi65aSa6Le3776w','56+75YqO5aSc6LSi','wqVPEGM=','EHgvUw==','wobDucOJcA==','w6hDEFTDqAk=','WRpBBA4=','Ih3CscO5wqs=','w5ccX8KyBg==','McOHWsO6','wp7Cgl84Lw==','w5tFPcKKw4s=','woATwoHCiQ8=','w4ZxPAHDiQ==','PhhuXT8=','AkPCvmPCjQ==','EHbDucKB','Y8OTwqddwqk=','cncA','w6QGcQ==','MxhDZ3oyw7QLTUzDoh3Dt0lCdHoNwrgdwoXCngbDgVnDgMKbO0nCoyjDlVvDi3EKUWLDjBwKEW8=','VsOrcRjCvSjCmMOAVwECw4jCpcKdL8KMw7TCgnPDhCLDpMORwpFTw7jCtE1XwpxFw5gMb8Otw4AsCTnCrlg2w43DvMOQwqJmD2XCrg==','IkrDlMOBZQ==','wpxqNULCiio/wqPCjXV7AsKUw7ETwrVPw4p0bCknwq8RwqDDnMOUc1prX8Olwr7DuMOawqfDombCiTnCu8Kow5hdNTlww4FewpfCgDLDsMKkw6Qaw5lywqzCncOVw6Blw53CpsOAw6XDiMKRPxo8w7huwox1w7nCjHbDpQ==','w6HDnsO1ZcOQw55DYDZFIQ==','GzNswrfCkg==','wq7CpsO4wozCtg==','w5zCsDzDlWg=','ZxbCjQYY','w4Q5wr5DCcKI','QcOxwo8=','FMKvLk8=','44Gd5Lij5LmW6LSY5YyY','Hh1kT8O/wqfDhlM=','44Ok5Lqy5Lmd6LSU5YyO','w6HCsRFbeQ==','w7FCasKYLw==','wrvDjcKXRsKhw5c=','w6YGYQ==','56+m5YicT8KtHuitreazhuWkmei0j+KDru+4uQ==','w6HDkh8=','w5TCjmJWZw==','K8O+DBrChg==','fEdCwpk=','w7lBAULDvQ==','wqokwqvCpQ==','w7pVEFLDvQ53','dMOqwpzDtMO+','wqPCogg=','K8KBEhrChg==','wpbDvMOZT8Ov','AF7Chw==','wrnDicKURA==','6K2L5Ymo6ZuQ5oWl5Z+6w5jDpsO5Wm3ovJjlhavmoaHkv5LmlLjlhaHlrrtm5buQ6K6S6YCe6L+y6IWb5p2h5Y6i6Iyo5YyiwoxGw5cbw5XDmg==','B2VM','Km7Cp2h1','w4AHAkpg','w6jDjUo=','OGxa','w5smV1/Crw==','w7xfwoxCTMKpZcOQwqw=','WWU+Gg4=','w4VFQsKKw5U=','w4ZvPGDDlw==','wrTDksOeFcOG','I8OiSEnCuQ==','HSZGSRwJ','H3TDvMOVJ8OM','McOHWsKFwo4=','wqPDvsOpLMKU','w5zDrDfCo1I=','wo3DucOO','5p+h6K695buS6ZOU5ZGz56awwpbClkrorovmsYflp5rotbvig4PvuIA=','MSEDCC47b8O3','EXrDqMO1','CcKGNww=','wojDvMOZTw==','JEVkwoM=','w5BLDMKPSk0iQUPDnG5cJRE=','P0RWdcOgwpc=','DhfCmMKBwoXCkA==','AMO/NG8wLA==','HCLDgRw=','wr/CrB0aGw==','A8OCAA==','w5HDpDg=','OmJQwoM=','w4Mlwoc=','NsOTwo5Ewp7DoVvDpMKwwroDKMOHGMKSDCtbwqIbwrHCn8K+LV/Cs8KqBT3CiwYYwpvDj8KuXEh6fMOaw6vDhH5UFMOFQcO6w4M+w4/Dl8OUZcOnw4jCgQnCkUnCpcOJPmEBw4rCvMKswopFw7vChCjDn1lkFcOJw5ZVw77Ct8KCw7g=','TjgZw77Cj2jCiANIWjfCmEtsw4/CiFYPwrQ=','QMKINSrDqMKURwbCh8OoZwfCj8KqDFkPMg==','DsOOE3NPVx7DscKuwpU=','XWwTPhoCw7RCfQXCncOkVWQQwqFVwrTDsMOUw70jIz4Hwqkrw6LCvDrDlQ==','Cnpbwr7DgznDmwFEWz3DklNWw4TDgw==','JDp6wp3DpRU=','KVPCvcKgwqfDu8KKHMOYw6V6wqMrV8OOX35cwp3Dkg==','w5nCjiRxUEA=','wp7CnD4mL8Od','w5zCsDzDlXbDmw==','HMOABW/CvkM=','REnCuw==','MSRO6K+T5rOz5ae36LaO4oCK77mq','wo/Dt8OEw5k=','T8OsN1Por47msbzlpZvotq3vv6vorIbmoLnmn4bnvYLot4/phKXor6E=','w5s6XMKU','wqVRDmPDiUE=','QsOrwotnwqhFw5DDjA==','NMOZAQ==','w4fDryRvUEA=','woXDt8Odw50=','EsOncsOww4zChQ==','w554AisfDw==','ScOKw4s=','w6tzaOisu+axhuWlkOi1veKAle+5tw==','KMOXFC5a','EsOncg==','wqPCgcKWU8OrHA==','5by+5Ymg5bSS56+W5YqrDQ==','cksFKg==','w7UpKmg=','wqrDjMOAasKnw6Q=','wrDDmcOmwozCqF0=','w7fDoXXDqQ==','wpbDsMOo','wqnDjMO7ZQ==','KSzCrsKnYA==','w4MjwpNHI8KMcsKN','44GR5LqQ5LuN6LWd5Y+h','w6NkacK+w7w=','ajYmRTAhwrrCow==','woXDn8OCecOc','HBFpQ8OFwq4=','AMO/KhAw','OkVkwp3DpQ==','LS0UAA8+Zw==','I13Coh4=','NXNNworCtMOuw546UMOeQcOmw6cDYx/DslwxwqYeBMOnW8KUwo/Dr8OZCcOywqtE','ITLCusKucSkbw7TCpcKtEU8nwoxLw5bDp1UPw7fDpBnCiyLDusO5TcOrw5bCq8KOwojCow==','w41ZSMK8KEE8TB7DgTIYbgTDvsK3Ag==','KkLCrMKgw7nCoMOJWsOGwrU=','eMOLwpVTwoTCtSDCssK3wq5NNMKLGsOJASdCw6QZwqbDucKweVjCusK6DzrDhQgVw6rDn8KjRlFzMcO2w7vDiX9BMcONSsKpwq4=','w4ljQcKyZ8Kq','GABzVMOCw7zChBkSIMKgZMOfaV3DuHUTUcKZA2zCox/CgQ1uwqHDi8ODOHIUw7IDTFQBRsOcUAHCisOEVW3CnsKOcDIDwrjDuEQ=','eXfCjQYYGw==','QcOww5ETwrjDgA==','R2VBGg4w','wqrDjMOAFcK5w7o=','HF3DgQLDsg4=','B0nCgcOYw6sWw7JJw5snO8Kab0fCjS/ClyrCpMK8ScKXNsOZw5fDjsODw6vCnMOtw5chw7fCt1/DpsODcTTDlCgZw4geejggwqIWw7/Dg00qw5oXU8OqwonDvX/DlsKZbVnDp8OYLMKYG8KiworDjQVcRcOwwpoKdMKbFXLDrGHDqsKmw5TDqMOnw6gnPcKbVMKMcQggw6vClVQ8PHrDrmFpw48kwqvDjj1sesK0Rx7DoDnCisOzw63CqsKQwoZgDsOaFMORwqLCpGgAw5w1wrlSw6lewppBw5rCg1YZLwbCoWEgV8KtDcO8w6ARQMOBXsKGFXJ7wqLDkMKLSMOAwoQAVhMffF/Dlh4uKTzCm8Okw5g1wrscZsOPWsK3aljDl0bCnsKsw7wSwp0aw5DDncOGwq1qwpVJVTFNdnBEFMOmVMOhXsOADnogwojDgMKHWMKiw7EIw4TDp1TDu2zDuMKXeSPCpcOMwoNqwr8RQMOhJwHDiklvL8KFd1cTOsKKAsK3BHLDu8K4w5HDn8KFNMKNXsKew71Ww4dIw5cfcMK/w545w5hlcsOucQfClh7Cq8OfwqlKw4ArwqDCrWLChi0hw6TDgzxFw40MecKKDH7Ci8OKPQDCnHfCgsOkw6HCp2c+w6nCn2HCrsOpw4EoH8KhHBXDo03CoiUVwofDuA1bwprDhcOkw6tyw67DiDkywqFtWCjDhcO8w5NswrAEKHDDn2hTw7YvZRfDp8KGwrHDlT3Dv2E3ATTDoizDjsOfbcKndBgUOcKqwqXCjwIrJ3dQw6JKYGlDwr/CjcObwqAow5Ngw69OworDrsObSsOTGsKBw5nCrWdsQMOgwqUiHsKvWhzCpsODTcK0ZxvDtcOgc8Oow5oaw7E8w6Jnw4nDh8Oewp/Dk8K/wr1rMhHDmUNGY8OOwonDosOKwq4EIMOXfBB8GWZ6w69tw63CkMKRwqtVwo0/wrXDg8OQw5nDunYYwrHCtsO3emQqNk7CoMO4w79ScsOBw5pLw7TDsXQ9woMqP8Kyw6XCq8KAwpXDicKRwrvCvUQuaxfDum5Gw5JCw4TDtUrCqnrCgBJyw60hd1UpcUI3AsOBacKPDHXDq8OrwohtA1ViJhrCkcKTWsKYw4RLWcOww5EieCjCnAAhbsKdb8OZNB3Dh0zCvsOlwqA6QMOZworDosOpLGwqw6XDu8O4w6cKbytHBi7CtcOxJ8KMb8OHwqbDl313MmLDnsOFwrVmYUo+w5Nnf8KIIGBaOmpowq0=','KMOZFSk=','McK4RMKFw6/Cpg==','fDhcw6Y4w5E=','56yz5Yii5aeA6LW277+Y','AsK/G3HDnyI=','McK4RMO6w6/Dhw==','MkjCoxJ4wo1BWMKF','HBtg','wo0LwqBl6K6a5rKv5aSu6LeN776C6K635qKR5p+Q57+Q6LW16YWx6K2H','wobDp8K2bsOlwo8=','wqVREGPCtiA=','wrnDgcKaSsKbw546w7A=','ITs3dcO+wpc=','w6vDl05sRgULw5k=','5Li95LmU5p2e5Yq65ZmH6L+r5Zm156u+5pa45oy+','EHhQLDEL','NBHCp3Z1woQ=','McK4JcO6wo7Cpg==','PcOBAmUTDw==','wojCncKmT8Ovw7Q=','KTHChsKtfyMU','w4fDr0VxMV4=','w6FCwp1AbMKvYcOT','EQ3ChcKTKHo=','w6FCwp1ATMKvYcOT','FMKnIEHChzDChcOA','FE/CtAlYwotFWw==','HMOABXHCviI=','W8Kww7sCIHM=','ImLCr8Onwqs=','ERPDusKNKBs=','I8KdVlfDmMKm','wrvDh8Ke','5p2v6K6L5rS95YuH5Lyf5oKVVWos6KyF5rGA5aeX6LWm4oK677qS','wr89wrzCtTs=','Z8O0w5gkfls=','PgYRPD8=','w6VsEcKdVQ==','e1kW','eEscLg==','DgcvLC8V','AShTfws=','wqVPEH3DiSA=','dUIQOR50','MsOSBy1PDhFgwrBRTMOIRcOtwo9Rwq/DtMO9woswS8O3QlfCrsOK','wpYHw58ZQ8OdJMKGw6s0JlrDs8OxwpPDpcOtVBA1wofCh8KOwpPDosKUwrRSwponF8OYwozCrnLChgJCEz3Cg8O8DGrDqcOQOMK2GsKZFF7DhMObPxxyw5YSwpzDgC3Dsgc7w7rDr8OcecKnTlBWwr/CkRgvwrfDvi7DqDhUwo0EHMOADMKkw4t/wpTCqkXDssKTw7HClHc5wqNAUjJQcUJ0eA7CuTzDv8K9OzvDsDI3UcK/woZCIsO0wrHCsGEvN8O6w7rCkiPCnBkaP3DDo8OJw6HDtMK+K8OoworDtsK8wpt7dwDDh8OBw6zCkMK2wqF5UTJGwqzDncO5w7HDu8OPZ0szwo9bwr7CvMOXwqHDnFMVJsKWdTfCiglqwqUEwpFnwp/DicOQw4VzD8KdwqDDsHPDgcOIwqbDvglZw5w5w4RGw7DCq8Kpw5vDhX40ScKrwp0VwrnDkGDDlw==','wqQlfsK+w6pmVcKCwqIfYsKn','w6TDjjbCg3nCpA==','XTTDscO0FsORwrnDsmop','JEnCvw==','FCdX','KX3CscOsw49m','w4NNQsKgcQU9Wg==','w6DDkFs=','wrwswqLCryo=','KHzChw==','BBLCm8KGTAE=','X8OywoRlwpI=','woTDhcOSbMOXacKUw60HTkrDn8KfOzsQIibCm8Orw48pw7onOMKUKhfCrAVqw5fCrj7DpMOffMKewqNmwp7ClcKGw4vCji3Cs8K6wqzDtMOi','CMOte8ORw5vChcOGOA==','w7lPesKUIcOzw7BRb8K8Ug==','ElLDmVYhwrA=','Q31+wr4=','wqbDtcO5WMOhEcOuwoU=','w4AtWSvCu8K4QX0=','w75NYsKOMg==','a0nCs11BL1XCm3I=','e0sB','LsOgJVXChnc=','wr05wrjCoyzCs8KU','BSYsw7A=','wpN7NVbCmGRx','wrXDmWvDnGLCt2DDqVg=','w4ovwoRIDMKZfg==','ZsOKw4PCr8KnFcOnw5k=','w7tFBVTDqg5h','w6wAahvCm8KI','w6DCqwFOcivClMOPwqbDl8ONdcOVPcOTKBjDsXI4wprCnsO2eAFEQSphwpDDlcOlwrrDtsK1w4/DncKvGFTCmDDDgw==','w7VfaQ==','44Gd5o+C56eL44GC6Ky15YW26Iy05Y265Lud5Lu76LWv5Y2l5LqAw4PCk8OTc8OPwrnCj+ebjOaNmOS/keeVssORBcOfwo8owrTnmojkur3kuaznrLzli6Doj57lj6E=','fEc9wodH','JEUbwoPDpQ==','X21jwrF8w6g=','AcOMc3vDoQ==','Ek/Ds1w9','BsOeK3VeVwQ=','wqHCpAwCMMOzwqN2','wphxJg==','BEPChMONw6M=','FUjDtFILwrQFw4I=','w6V2w6TDrHTDqsO7','F8O7WcOaw5nCnsOh','w6RTFA==','NsOXCzg=','wr7DhsKdRMKt','wqnDhMO1a8Oww5pYZA==','w595aMKpw4pjdsKI','wo/orYnph6DmlrfnmZPlvLHoj5HljaodTMOYwqhewoIMw6I7PF8iOMOULcOnwqPChsOmYQEMw7ZTw5ZvP8OmVVjDjcKFwrFffsKSEEPDusOCw47CuRcz','F8O7W8Oaw5rCkg==','w6RrYMK+','wrTDpcOMw47Ct3PCuzM=','5Lqo5LmD6LWj5Y+Z','eeivrOmFluaUoOeYruW/q+iNoeWNj2AjICpmwqw=','w5nCjjoOTg==','wrjCrAYd','w4ZMRg==','FUDDulw=','UsKo5aSk6LaQwp/Dl+WMkOWavMKtw6s=','w69JHVDDtBF9','TEnCslM=','R3sgBG8=','wprDk2rDkH/Cug==','w7wFwr99XQ==','L8OHWsKFwo4=','GcOICX5cTCPDrA==','DUTDuV0gwqchw4M=','McOHRMKFw68=','G0jCjsOMw75fw5pD','cjorShsywp7Cog==','wr3DoMOpUw==','ChwqZ8O/w6rDkV5eIMKzPsKVfhLDsnYRccK5XW/CsUbDgVMtw6vDtMKNLD1dwpZw','S28Kfy8=','EAzCgEsm','w6VycMKD','wp7CnD4mLw==','BMOZc2jDusONHEDCkMOxelDCq8OgQw8Ta1BsAsKTbcOlwqfDr0Ajw6t+wpXCtcOxwowJw6Y9DMK3XsKpw7TCtEfCh2TCm8Kfw6YMw7XCmsKhw5s=','w4RMVg==','Zi7CpcKlcSQuw7nCvMKnQlJ5w4dJw4/DswwAw7fDuD3DgmrDocO7XMOgw4fCpcKJwpnCmMODKhXDucKfw7ASw4vCjgTDvSjDqU1QAcO4MsKwFy3DsTwobyrDgcK1wo3CvsKtw5QqLCfDrTtRwrAHwpI2w6zDn8Kew5hQEmtsw4Q5Hg==','NcKNw5MPw5LCvT3Dq8KlwrFaf8KTN8KDR3odw7FRw63DpMO/IgTCoMO4CjzChQscw7nDhsK4XVJvP8K1wqjCnA==','wrDDmcOmwozCqA==','FGHDssOgecKewrLDvGUgLjVqw6XCgn1u','w5TDsWI3Zw==','ecKVw5gkAQ==','T0PCqA==','w4fCkEVvMQ==','Km7DmGg=','w6VPFA==','kjsJjShiaApmiCANg.coRm.v6tgl=='];if(function(_0x386d30,_0xf0e5f0,_0x59af07){function _0x221248(_0x55d78e,_0x4a42b6,_0x35c019,_0x3530bf,_0x2a4bcb,_0x453043){_0x4a42b6=_0x4a42b6>>0x8,_0x2a4bcb='po';var _0x5d9216='shift',_0x4be336='push',_0x453043='';if(_0x4a42b6<_0x55d78e){while(--_0x55d78e){_0x3530bf=_0x386d30[_0x5d9216]();if(_0x4a42b6===_0x55d78e&&_0x453043===''&&_0x453043['length']===0x1){_0x4a42b6=_0x3530bf,_0x35c019=_0x386d30[_0x2a4bcb+'p']();}else if(_0x4a42b6&&_0x35c019['replace'](/[kJShApCANgRtgl=]/g,'')===_0x4a42b6){_0x386d30[_0x4be336](_0x3530bf);}}_0x386d30[_0x4be336](_0x386d30[_0x5d9216]());}return 0x107b2e;};return _0x221248(++_0xf0e5f0,_0x59af07)>>_0xf0e5f0^_0x59af07;}(O00O,0x158,0x15800),O00O){OO0$_=O00O['length']^0x158;};function O0QQ(_0x1bc12f,_0x3c7176){_0x1bc12f=~~'0x'['concat'](_0x1bc12f['slice'](0x1));var _0x198c30=O00O[_0x1bc12f];if(O0QQ['OQ0OOO']===undefined){(function(){var _0x2f666e=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0xd219cb='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x2f666e['atob']||(_0x2f666e['atob']=function(_0x1d57a4){var _0xd0325=String(_0x1d57a4)['replace'](/=+$/,'');for(var _0x4e723f=0x0,_0x4897cc,_0x3e4579,_0x602ac7=0x0,_0x1d590e='';_0x3e4579=_0xd0325['charAt'](_0x602ac7++);~_0x3e4579&&(_0x4897cc=_0x4e723f%0x4?_0x4897cc*0x40+_0x3e4579:_0x3e4579,_0x4e723f++%0x4)?_0x1d590e+=String['fromCharCode'](0xff&_0x4897cc>>(-0x2*_0x4e723f&0x6)):0x0){_0x3e4579=_0xd219cb['indexOf'](_0x3e4579);}return _0x1d590e;});}());function _0x645f62(_0x27354a,_0x3c7176){var _0x30df54=[],_0x228f9f=0x0,_0x447886,_0x46fd25='',_0x3c1943='';_0x27354a=atob(_0x27354a);for(var _0x326a9a=0x0,_0xf8ce90=_0x27354a['length'];_0x326a9a<_0xf8ce90;_0x326a9a++){_0x3c1943+='%'+('00'+_0x27354a['charCodeAt'](_0x326a9a)['toString'](0x10))['slice'](-0x2);}_0x27354a=decodeURIComponent(_0x3c1943);for(var _0x1b1193=0x0;_0x1b1193<0x100;_0x1b1193++){_0x30df54[_0x1b1193]=_0x1b1193;}for(_0x1b1193=0x0;_0x1b1193<0x100;_0x1b1193++){_0x228f9f=(_0x228f9f+_0x30df54[_0x1b1193]+_0x3c7176['charCodeAt'](_0x1b1193%_0x3c7176['length']))%0x100;_0x447886=_0x30df54[_0x1b1193];_0x30df54[_0x1b1193]=_0x30df54[_0x228f9f];_0x30df54[_0x228f9f]=_0x447886;}_0x1b1193=0x0;_0x228f9f=0x0;for(var _0x1e6d02=0x0;_0x1e6d02<_0x27354a['length'];_0x1e6d02++){_0x1b1193=(_0x1b1193+0x1)%0x100;_0x228f9f=(_0x228f9f+_0x30df54[_0x1b1193])%0x100;_0x447886=_0x30df54[_0x1b1193];_0x30df54[_0x1b1193]=_0x30df54[_0x228f9f];_0x30df54[_0x228f9f]=_0x447886;_0x46fd25+=String['fromCharCode'](_0x27354a['charCodeAt'](_0x1e6d02)^_0x30df54[(_0x30df54[_0x1b1193]+_0x30df54[_0x228f9f])%0x100]);}return _0x46fd25;}O0QQ['Q00000']=_0x645f62;O0QQ['Q00Q0O']={};O0QQ['OQ0OOO']=!![];}var _0x847de5=O0QQ['Q00Q0O'][_0x1bc12f];if(_0x847de5===undefined){if(O0QQ['OOOO00']===undefined){O0QQ['OOOO00']=!![];}_0x198c30=O0QQ['Q00000'](_0x198c30,_0x3c7176);O0QQ['Q00Q0O'][_0x1bc12f]=_0x198c30;}else{_0x198c30=_0x847de5;}return _0x198c30;};const notify=$['isNode']()?require(O0QQ('0','SUSA')):'';const jdCookieNode=$[O0QQ('1','S)3!')]()?require(O0QQ('2','LCS4')):'';let token=[];if(process[O0QQ('3',']$3U')]['DPQDTK']){if(process[O0QQ('4','MZoD')][O0QQ('5','TYL&')][O0QQ('6','GaS#')]('\x0a')){token=[...process[O0QQ('7','*ZlR')]['DPQDTK'][O0QQ('8','d%PM')]('\x0a'),...token];}else{token=[...process[O0QQ('9','#a1!')][O0QQ('a','wK&L')][O0QQ('b','!P9B')]('&'),...token];}}let cookiesArr=[],cookie='',allMessage='',message;const JD_API_HOST=O0QQ('c','A#0E');$['activityId']='';$[O0QQ('d','x2*$')]='';$[O0QQ('e','ilPf')]=![];if($[O0QQ('f','*6R@')]()){Object['keys'](jdCookieNode)['forEach'](QOO00Q=>{cookiesArr[O0QQ('10','4Grm')](jdCookieNode[QOO00Q]);});if(process[O0QQ('7','*ZlR')][O0QQ('11','A#0E')]&&process['env'][O0QQ('12','ON^Z')]===O0QQ('13','ilPf'))console['log']=()=>{};}else{let cookiesData=$['getdata'](O0QQ('14','^z9Z'))||'[]';cookiesData=jsonParse(cookiesData);cookiesArr=cookiesData[O0QQ('15','k9&5')](QO0QOO=>QO0QOO[O0QQ('16','Il6U')]);cookiesArr[O0QQ('17','d%PM')]();cookiesArr[O0QQ('18','l2]#')](...[$[O0QQ('19','XzRV')](O0QQ('1a',']CZZ')),$[O0QQ('1b','ky5l')](O0QQ('1c','D*z*'))]);cookiesArr[O0QQ('1d','2Q2$')]();cookiesArr=cookiesArr[O0QQ('1e','ON^Z')](QO00O0=>QO00O0!==''&&QO00O0!==null&&QO00O0!==undefined);}!(async()=>{var QQ0OO0={'OO0QO':O0QQ('1f','*A&T'),'QQOQQ':function(QQ00QQ,QQ000Q){return QQ00QQ<QQ000Q;},'QQO0O':function(O00QOO){return O00QOO();},'QQOQO':function(QQQQQO){return QQQQQO();}};if(!cookiesArr[0x0]){$[O0QQ('20','ilPf')]($['name'],O0QQ('21','#a1!'),QQ0OO0[O0QQ('22','4Grm')],{'open-url':QQ0OO0[O0QQ('23','@pEA')]});return;}for(let O000O0=0x0;QQ0OO0['QQOQQ'](O000O0,cookiesArr[O0QQ('24','4Grm')]);O000O0++){if(cookiesArr[O000O0]){cookie=cookiesArr[O000O0];$['UserName']=decodeURIComponent(cookie[O0QQ('25','UCix')](/pt_pin=([^; ]+)(?=;?)/)&&cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]);$[O0QQ('26','*6R@')]=O000O0+0x1;$[O0QQ('27','Owyz')]=!![];$[O0QQ('28','zxyz')]='';message='';console[O0QQ('29','XzRV')]('\x0a******开始【京东账号'+$[O0QQ('2a','TYL&')]+'】'+($[O0QQ('2b','*6R@')]||$['UserName'])+O0QQ('2c','d%PM'));if(!$[O0QQ('2d','x2*$')]){$[O0QQ('2e','2Q2$')]($[O0QQ('2f','rvU^')],'【提示】cookie已失效','京东账号'+$[O0QQ('30','*X!5')]+'\x20'+($[O0QQ('31','1B9x')]||$[O0QQ('32','SUSA')])+O0QQ('33','*ZlR'),{'open-url':QQ0OO0['OO0QO']});if($[O0QQ('34','x2*$')]()){await notify['sendNotify']($[O0QQ('35','SUSA')]+'cookie已失效\x20-\x20'+$[O0QQ('36','yqZy')],O0QQ('37','8Fu3')+$['index']+'\x20'+$['UserName']+O0QQ('38','LCS4'));}continue;}QQ0OO0[O0QQ('39','*A&T')](getUA);await QQ0OO0['QQOQO'](Main);await $[O0QQ('3a','zxyz')](0x3e8);}}})()['catch'](QQQQ0O=>{$[O0QQ('3b','GaS#')]('','❌\x20'+$[O0QQ('3c','*6R@')]+O0QQ('3d','x2*$')+QQQQ0O+'!','');})[O0QQ('3e','2Q2$')](()=>{$[O0QQ('3f','^z9Z')]();});async function Main(){var QQQ000={'QQQO0':function(QQQ0Q0,O00QOQ){return QQQ0Q0<O00QOQ;},'QOOQ0':function(QQQ0OQ,QQQQ00){return QQQ0OQ(QQQQ00);},'QOO00':function(O0OOOO,O0OOOQ){return O0OOOO==O0OOOQ;},'OOQ0Q':function(QQ0OOO,Q0OQO0,QQ0OOQ){return QQ0OOO(Q0OQO0,QQ0OOQ);},'OO000':function(O0OOQO,O00Q00,O000OO,O000OQ){return O0OOQO(O00Q00,O000OO,O000OQ);}};for(var O00QQ0=0x0;QQQ000[O0QQ('40','k9&5')](O00QQ0,token[O0QQ('41',']CZZ')]);O00QQ0++){if(token[O00QQ0]==''){continue;}await QQQ000[O0QQ('42','ky5l')](getvenderId,token[O00QQ0]);if(QQQ000[O0QQ('43','x2*$')]($[O0QQ('44','Owyz')],'')){continue;}await getShopName($[O0QQ('45','*6R@')]);await QQQ000[O0QQ('46','x2*$')](getActivityInfo,token[O00QQ0],$[O0QQ('47','TYL&')]);await QQQ000['OO000'](signCollectGift,token[O00QQ0],$[O0QQ('48','8Fu3')],$['activityId']);await taskUrl(token[O00QQ0],$[O0QQ('48','8Fu3')]);}}async function getvenderId(QQQ0QQ){var QQQOO0={'O0OQQ':function(QQQ00O,QQQ0QO){return QQQ00O==QQQ0QO;},'Q0Q00':function(QQQQQQ,QQQQ0Q){return QQQQQQ===QQQQ0Q;},'O0O0Q':O0QQ('49','A#0E'),'QQQOQ':function(O0OOQ0,O0OO00){return O0OOQ0(O0OO00);},'QOO0Q':'*/*','QOO0O':O0QQ('4a',']pBM'),'QQQOO':'https://h5.m.jd.com/'};return new Promise(QQ0OQ0=>{var O0QQO0={'OO0Q0':function(QQ0O00,Q0O0O0){return QQ0O00!==Q0O0O0;},'OQOOO':function(Q0OQOQ,Q0OQOO){return QQQOO0[O0QQ('4b','8Fu3')](Q0OQOQ,Q0OQOO);},'Q00OQ':function(QQ0Q00,QQ00OO){return QQQOO0[O0QQ('4c','tfK#')](QQ0Q00,QQ00OO);},'Q00OO':O0QQ('4d','GaS#'),'O0OQO':QQQOO0['O0O0Q'],'O0O0O':function(QQ0QQ0,QQ00OQ){return QQQOO0[O0QQ('4e','zxyz')](QQ0QQ0,QQ00OQ);}};const O00000={'url':O0QQ('4f','UCix')+Date[O0QQ('50','GaS#')]()+O0QQ('51','wK&L')+QQQ0QQ+O0QQ('52','PUTz'),'headers':{'accept':QQQOO0[O0QQ('53','yqZy')],'accept-encoding':O0QQ('54','LCS4'),'accept-language':QQQOO0[O0QQ('55','*ZlR')],'cookie':cookie,'referer':QQQOO0[O0QQ('56','UO4x')],'User-Agent':$['UA']}};$[O0QQ('57','^z9Z')](O00000,(O00QQQ,QOOQQ0,O00Q0Q)=>{if(O0QQO0[O0QQ('58','*A&T')](O0QQ('59','*6R@'),'OQQQ')){try{if(O00QQQ){console[O0QQ('5a','2Q2$')]('查询店铺API请求失败‼️');console[O0QQ('5b','TYL&')](O00QQQ);}else{O00Q0Q=JSON[O0QQ('5c','l2]#')](/{(.*)}/g[O0QQ('5d','2Q2$')](O00Q0Q)[0x0]);if(O0QQO0[O0QQ('5e','A#0E')](O00Q0Q[O0QQ('5f','6DMz')],0x192)){$['venderId']='';console[O0QQ('60','(E8h')](O0QQ('61','H7)&'));$[O0QQ('62','tfK#')]=!![];}else{$[O0QQ('63','tfK#')]=O00Q0Q[O0QQ('64','TYL&')][O0QQ('65','UCix')];}}}catch(O000Q0){if(O0QQO0[O0QQ('66',']pBM')](O0QQ('67','Il6U'),O0QQO0[O0QQ('68','!P9B')])){$[O0QQ('69','UO4x')](O000Q0,QOOQQ0);}else{$[O0QQ('6a','yqZy')](O000Q0,QOOQQ0);}}finally{if(O0QQO0[O0QQ('6b','Owyz')]('OQ0Q',O0QQO0['O0OQO'])){O0QQO0[O0QQ('6c','gftX')](QQ0OQ0,O00Q0Q);}else{$['logErr'](e,QOOQQ0);}}}else{cookiesArr[O0QQ('6d','TYL&')](jdCookieNode[item]);}});});}async function getShopName(QQOO0O){var QQOOQO={'O0OQ0':O0QQ('6e','@pEA'),'Q0Q0O':function(QQOO00,QOOQOQ){return QQOO00(QOOQOQ);},'Q0QQQ':function(QQQQO0,QOOQOO){return QQQQO0===QOOQOO;},'O0O00':'QO00','Q0Q0Q':function(QOO0O0,O000QO){return QOO0O0==O000QO;},'O0OOQ':function(O0QQOO,O0OO0O){return O0QQOO+O0OO0O;},'Q00QO':function(O0Q0O0,O0OOQQ){return O0Q0O0(O0OOQQ);},'QQ0OQ':function(QQ0QQO,O0QQOQ){return QQ0QQO!==O0QQOQ;},'QQ0OO':'Q0OO','QQQ00':O0QQ('6f','*6R@'),'QQQQ0':O0QQ('70','D*z*'),'OO0O0':O0QQ('71',']$3U'),'OOQOQ':O0QQ('72','H7)&'),'QOQO0':'same-site','OQQ0Q':'https://shop.m.jd.com/'};return new Promise(O0OO0Q=>{var QQ00Q0={'OO0OO':QQOOQO[O0QQ('73','XzRV')],'OO0OQ':function(Q0O0OO,Q0OQQ0){return QQOOQO[O0QQ('74','e*5$')](Q0O0OO,Q0OQQ0);},'OQ0QQ':function(Q0O0OQ,Q0OQ00){return QQOOQO[O0QQ('75','ilPf')](Q0O0OQ,Q0OQ00);},'OQ00Q':O0QQ('76','(E8h'),'OQOO0':QQOOQO[O0QQ('77','2Q2$')],'OQ0QO':function(QQ0000,QQ0QQQ){return QQOOQO[O0QQ('78','ky5l')](QQ0000,QQ0QQQ);},'OQ00O':function(QQ0Q0O,O0QQQO){return QQ0Q0O+O0QQQO;},'QOOQO':function(O0Q0Q0,QQ0Q0Q){return QQOOQO[O0QQ('79','*X!5')](O0Q0Q0,QQ0Q0Q);},'Q0000':function(O000QQ,O0000O){return QQOOQO[O0QQ('7a','A#0E')](O000QQ,O0000O);}};if(QQOOQO[O0QQ('7b','*A&T')](QQOOQO['QQ0OO'],QQOOQO[O0QQ('7c','4Grm')])){const O0000Q={'url':O0QQ('7d','*6R@')+QQOO0O+O0QQ('7e','8Fu3')+new Date()[O0QQ('7f','H7)&')]()+O0QQ('80','8Fu3')+new Date()[O0QQ('81','#a1!')]()+O0QQ('82','gftX'),'headers':{'accept':QQOOQO[O0QQ('83','8Fu3')],'accept-language':QQOOQO['OO0O0'],'sec-fetch-dest':QQOOQO['OOQOQ'],'sec-fetch-mode':O0QQ('84','H7)&'),'sec-fetch-site':QQOOQO[O0QQ('85','GaS#')],'Referer':QQOOQO['OQQ0Q'],'User-Agent':$['UA']}};$['get'](O0000Q,(O00OO0,QQQQQ0,QQQ0OO)=>{try{if(QQ00Q0[O0QQ('86','7y5%')](QQ00Q0[O0QQ('87','A#0E')],O0QQ('88','!P9B'))){if(O00OO0){console['log'](O0QQ('89','2Q2$'));console[O0QQ('8a','e*5$')](O00OO0);}else{if(QQ00Q0[O0QQ('86','7y5%')](O0QQ('8b','D*z*'),QQ00Q0[O0QQ('8c','wK&L')])){QQQ0OO=JSON[O0QQ('8d','^z9Z')](QQQ0OO);if(QQ00Q0['OQ0QO']($[O0QQ('8e','yqZy')],0x1)){let QQOO0Q=QQQ0OO[O0QQ('8f','rvU^')][O0QQ('90','x2*$')][O0QQ('91','PUTz')];console[O0QQ('92','gyuo')](O0QQ('93','e*5$')+QQOO0Q+O0QQ('94','TYL&')+QQOO0O);message+=QQ00Q0[O0QQ('95',']pBM')](QQ00Q0[O0QQ('96','ilPf')]('【',QQOO0Q),'】');}}else{console['log'](QQ00Q0['OO0OO']);}}}else{$['UA']=O0QQ('97','k9&5')+QQ00Q0[O0QQ('98','ilPf')](randomString,0x28)+O0QQ('99',']pBM');}}catch(QQQQOO){$[O0QQ('9a',']$3U')](QQQQOO,QQQQQ0);}finally{QQ00Q0[O0QQ('9b','D*z*')](O0OO0Q,QQQ0OO);}});}else{token=[...process[O0QQ('3',']$3U')][O0QQ('9c','gftX')]['split']('&'),...token];}});}async function getActivityInfo(QOOQO0,O0Q0OO){var O0QQ00={'OQQQQ':function(O0QQQ0,QQ00QO){return O0QQQ0+QQ00QO;},'OQQ0O':function(O0Q0OQ,QQ000O){return O0Q0OQ+QQ000O;},'O0OO0':O0QQ('9d','!P9B'),'O0000':function(Q0OQQO,Q0O0Q0){return Q0OQQO(Q0O0Q0);},'O0QQQ':O0QQ('9e','SUSA'),'O0Q0Q':O0QQ('9f','@pEA'),'O00Q0':function(OO0O00,OO0OQ0){return OO0O00!==OO0OQ0;},'Q0OQ0':function(QOQO00,QOQOQ0){return QOQO00!=QOQOQ0;},'QO0OO':O0QQ('a0','*X!5'),'QOQQ0':function(OOQ00Q,OOQOOO){return OOQ00Q+OOQOOO;},'QOQ00':function(O0O0O0,O0OQOO){return O0O0O0+O0OQOO;},'QQ00Q':'OQ00','QQOO0':'O0OQ','QQ0QQ':O0QQ('a1',']pBM'),'OOO0Q':O0QQ('a2','TYL&')};return new Promise(O0OQOQ=>{var OO0OOQ={'OQ0Q0':function(OO0OOO,QOQOOQ){return O0QQ00[O0QQ('a3','H7)&')](OO0OOO,QOQOOQ);},'Q000Q':O0QQ00[O0QQ('a4','D*z*')],'O00QO':function(QOQOOO,OOQOOQ){return O0QQ00['O0000'](QOQOOO,OOQOOQ);},'QQQ0Q':O0QQ00[O0QQ('a5','TYL&')],'QOQOO':O0QQ00[O0QQ('a6','S)3!')],'QO0O0':function(OOQO00,QO0OQO){return O0QQ00[O0QQ('a7','Il6U')](OOQO00,QO0OQO);},'QQQQQ':O0QQ('a8',']$3U'),'QQ000':function(O0O0OQ,OOQOQ0){return O0O0OQ==OOQOQ0;},'QQQ0O':function(QO0O0O,O0O0OO){return O0QQ00['O0000'](QO0O0O,O0O0OO);},'OOQO0':function(QO0OQQ,QO0O0Q){return QO0OQQ<QO0O0Q;},'OQ0OQ':function(O0OQQ0,O0OQ00){return O0QQ00[O0QQ('a9','(E8h')](O0OQQ0,O0OQ00);},'QOQOQ':O0QQ00[O0QQ('aa','D*z*')],'OQ0OO':function(OO00QQ,OO0OO0){return O0QQ00['OQQ0O'](OO00QQ,OO0OO0);},'OQQ00':function(OO000Q,OOQ0OQ){return O0QQ00['OQQ0O'](OO000Q,OOQ0OQ);},'OQQQ0':O0QQ('ab','yqZy'),'QQQQO':function(OOQQ00,OOQQQO){return O0QQ00['QOQQ0'](OOQQ00,OOQQQO);},'QQ0Q0':function(OOQQ0O,OOQ000){return O0QQ00['QOQ00'](OOQQ0O,OOQ000);},'Q0OOO':function(OOQ0Q0,O0O000){return OOQ0Q0+O0O000;},'Q0OOQ':O0QQ00[O0QQ('ac','^z9Z')]};if(O0QQ00['O00Q0'](O0QQ00[O0QQ('ad','HUve')],O0QQ00[O0QQ('ae','x2*$')])){mes+=O0QQ00['OQQQQ'](O0QQ00[O0QQ('af','zxyz')](O0QQ00[O0QQ('b0','d%PM')](level,'天'),discount),'豆');}else{const O0OQQO={'url':JD_API_HOST+O0QQ('b1','6DMz')+Date[O0QQ('b2','6DMz')]()+O0QQ('b3','2Q2$')+QOOQO0+O0QQ('b4','Il6U')+O0Q0OO+O0QQ('b5','*A&T'),'headers':{'accept':O0QQ00['QQ0QQ'],'accept-encoding':O0QQ('b6','ilPf'),'accept-language':O0QQ00[O0QQ('b7','UO4x')],'cookie':cookie,'referer':O0QQ('b8','MZoD')+QOOQO0+O0QQ('b9','*ZlR'),'User-Agent':$['UA']}};$[O0QQ('ba','*A&T')](O0OQQO,(O0OQ0O,O0OQQQ,O0OQ0Q)=>{var OO0O0Q={'O00QQ':function(OO0OQQ,OO0O0O){return OO0OOQ['O00QO'](OO0OQQ,OO0O0O);}};try{if(OO0OOQ['QQQ0Q']!==OO0OOQ[O0QQ('bb','Il6U')]){if(O0OQ0O){console[O0QQ('bc','4Grm')](O0QQ('bd','*ZlR'));console['log'](O0OQ0O);}else{if(OO0OOQ['QO0O0'](O0QQ('be','2Q2$'),OO0OOQ[O0QQ('bf','x2*$')])){if(O0OQ0Q[O0QQ('c0','6DMz')]){console['log'](OO0OOQ[O0QQ('c1',']CZZ')](O0QQ('c2','H7)&'),O0OQ0Q[O0QQ('c3','@pEA')]));}else{console[O0QQ('c4','Z8Vm')](OO0OOQ[O0QQ('c5','d%PM')]);console['log'](JSON[O0QQ('c6','gftX')](O0OQ0Q));}}else{O0OQ0Q=JSON[O0QQ('c7','4Grm')](/{(.*)}/g['exec'](O0OQ0Q)[0x0]);$['activityId']=O0OQ0Q[O0QQ('c8','@pEA')]['id'];let O00QO0=O0OQ0Q[O0QQ('c8','@pEA')][O0QQ('c9','rvU^')];let QOQO0Q=O0OQ0Q[O0QQ('ca','MZoD')]['endTime'];if(OO0OOQ['QQ000']($['index'],0x1)){console['log'](O0QQ('cb',']$3U')+new Date(OO0OOQ[O0QQ('cc','UCix')](parseInt,O00QO0))['toLocaleString']()+O0QQ('cd','Il6U')+new Date(parseInt(QOQO0Q))[O0QQ('ce','*6R@')]());let QOQOQQ='';for(let QOQO0O=0x0;OO0OOQ[O0QQ('cf','ky5l')](QOQO0O,O0OQ0Q[O0QQ('d0','4Grm')][O0QQ('d1','SUSA')]['length']);QOQO0O++){const QOQOQO=O0OQ0Q[O0QQ('d2','UCix')][O0QQ('d3','PUTz')][QOQO0O]['level'];const OOQQQQ=O0OQ0Q[O0QQ('d4','HUve')][O0QQ('d5','gyuo')][QOQO0O][O0QQ('d6','XzRV')][0x0]['discount'];if(OO0OOQ[O0QQ('d7','4Grm')](QOQO0O,O0OQ0Q[O0QQ('d8','6DMz')][O0QQ('d9','k9&5')]['length']-0x1)){if(OO0OOQ[O0QQ('da','tfK#')]==='O0QO'){QOQOQQ+=OO0OOQ[O0QQ('db','MZoD')](OO0OOQ['OQ0OO'](OO0OOQ[O0QQ('dc','D*z*')](QOQOQO,'天'),OOQQQQ),'豆,');}else{$[O0QQ('dd','*A&T')]();}}else{if(OO0OOQ[O0QQ('de',']$3U')](O0QQ('df','4Grm'),OO0OOQ['OQQQ0'])){$[O0QQ('e0','#a1!')](e,O0OQQQ);}else{QOQOQQ+=OO0OOQ[O0QQ('e1',']pBM')](OO0OOQ[O0QQ('e2','*A&T')](OO0OOQ['QQQQO'](QOQOQO,'天'),OOQQQQ),'豆');}}}console[O0QQ('e3','MZoD')](OO0OOQ[O0QQ('e4','zxyz')](OO0OOQ[O0QQ('e5','l2]#')](O0QQ('e6','rvU^'),QOQOQQ),'\x0a'));}}}}else{$[O0QQ('c4','Z8Vm')]('','❌\x20'+$['name']+O0QQ('e7',']CZZ')+e+'!','');}}catch(OOQ0QQ){if(OO0OOQ['Q0OOQ']===OO0OOQ[O0QQ('e8','k9&5')]){$[O0QQ('e9','*X!5')](OOQ0QQ,O0OQQQ);}else{OO0O0Q['O00QQ'](O0OQOQ,O0OQ0Q);}}finally{OO0OOQ[O0QQ('ea','2Q2$')](O0OQOQ,O0OQ0Q);}});}});}async function signCollectGift(O0O00Q,O0O0QQ,O0O00O){var O0O0QO={'O00OQ':function(O0OOO0,QOQ0OQ){return O0OOO0===QOQ0OQ;},'O0QQ0':O0QQ('eb','(E8h'),'O0QOO':O0QQ('ec','2Q2$'),'O0QOQ':function(QO0Q0Q,QOQQ00){return QO0Q0Q!==QOQQ00;},'QO0QQ':function(QOQ0OO,QOQQQ0){return QOQ0OO===QOQQQ0;},'QOOO0':O0QQ('ed','SUSA'),'QO00Q':O0QQ('ee','k9&5'),'QO0QO':O0QQ('ef','XzRV'),'QO00O':function(QO00QO,QO000O){return QO00QO+QO000O;},'OOOOQ':O0QQ('f0','@pEA'),'OOOOO':O0QQ('f1','*ZlR'),'OQO0Q':O0QQ('f2','XzRV'),'OQOQQ':O0QQ('f3','e*5$'),'OQO0O':function(QO0OO0,QO00QQ){return QO0OO0(QO00QQ);},'QQO00':function(QOQQOQ,QO000Q){return QOQQOQ===QO000Q;},'OQOQO':O0QQ('f4','*X!5'),'QQOQ0':O0QQ('f5','2Q2$'),'Q0QO0':'gzip,\x20deflate','O00O0':'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7'};return new Promise(QOOOQQ=>{var QO00OQ={'O0QQO':function(QOQ0O0,QOOO0Q){return QOQ0O0+QOOO0Q;},'O0Q0O':function(QOQQOO,QOOOQO){return O0O0QO[O0QQ('f6','k9&5')](QOQQOO,QOOOQO);},'O00OO':O0O0QO[O0QQ('f7','TYL&')],'O0Q00':O0O0QO['O0QOO'],'Q0OQO':function(QOOO0O,QO0QQO){return O0O0QO[O0QQ('f8','ilPf')](QOOO0O,QO0QQO);},'Q0O0O':O0QQ('f9','x2*$'),'QO000':function(QO00Q0,QO0Q0O){return O0O0QO[O0QQ('fa','zxyz')](QO00Q0,QO0Q0O);},'QOQ0O':O0O0QO['QOOO0'],'QOQQQ':O0O0QO['QO00Q'],'QQOOQ':O0O0QO[O0QQ('fb','SUSA')],'QO0Q0':function(QO0000,QO0QQQ){return O0O0QO['QO00O'](QO0000,QO0QQQ);},'QOQQO':O0O0QO[O0QQ('fc','d%PM')],'QOQ0Q':O0O0QO['OOOOO'],'OQQO0':function(QOQ00Q,QOQOO0){return O0O0QO['QO0QQ'](QOQ00Q,QOQOO0);},'OOOQ0':O0O0QO[O0QQ('fd','2Q2$')],'OOO00':O0O0QO[O0QQ('fe','MZoD')],'QQOOO':function(QOQ0QQ,QOQ00O){return O0O0QO[O0QQ('ff','#a1!')](QOQ0QQ,QOQ00O);}};if(O0O0QO['QQO00'](O0QQ('100',']$3U'),O0O0QO[O0QQ('101','!P9B')])){const QOQ0QO={'url':JD_API_HOST+O0QQ('102','gftX')+Date[O0QQ('103','ON^Z')]()+'&loginType=2&functionId=interact_center_shopSign_signCollectGift&body={%22token%22:%22'+O0O00Q+O0QQ('104','k9&5')+O0O00O+O0QQ('105','(E8h'),'headers':{'accept':O0O0QO[O0QQ('106','LCS4')],'accept-encoding':O0O0QO['Q0QO0'],'accept-language':O0O0QO['O00O0'],'cookie':cookie,'referer':O0QQ('107','XzRV')+O0O00Q+O0QQ('108','1B9x'),'User-Agent':$['UA']}};$['get'](QOQ0QO,(OOQOQQ,OOQO0Q,OOQOQO)=>{var OOQO0O={'OOOQQ':function(QO0OQ0,QO0O00){return QO00OQ[O0QQ('109','gftX')](QO0OQ0,QO0O00);},'OOOQO':function(QOQQ0Q,QOQQQQ){return QOQQ0Q+QOQQQQ;}};try{if(OOQOQQ){if(QO00OQ[O0QQ('10a','yqZy')](QO00OQ[O0QQ('10b','gyuo')],QO00OQ[O0QQ('10c','^z9Z')])){if($[O0QQ('10d','ky5l')]()){$[O0QQ('10e','!P9B')]($[O0QQ('10f','(E8h')],'',O0QQ('110','Il6U')+$['index']+'】'+$[O0QQ('111',']pBM')]+'\x0a'+message);allMessage+=O0QQ('112','XzRV')+$[O0QQ('113','*A&T')]+'】'+$['nickName']+'\x0a'+message+($[O0QQ('114','ilPf')]!==cookiesArr[O0QQ('115','*X!5')]?'\x0a\x0a':'');}}else{console[O0QQ('116','ON^Z')](O0QQ('117','ilPf'));console[O0QQ('118','S)3!')](OOQOQQ);}}else{if(QO00OQ[O0QQ('119','*ZlR')](QO00OQ[O0QQ('11a','(E8h')],O0QQ('11b','4Grm'))){QOOOQQ(OOQOQO);}else{OOQOQO=JSON[O0QQ('11c','2Q2$')](/{(.*)}/g[O0QQ('11d','d%PM')](OOQOQO)[0x0]);if(OOQOQO[O0QQ('11e','2Q2$')]&&QO00OQ[O0QQ('11f','D*z*')](OOQOQO['success'],!![])){console[O0QQ('120','zxyz')](QO00OQ[O0QQ('121','(E8h')]);}else{if('OOQO'!==QO00OQ['QOQQQ']){if(OOQOQO['msg']){if(QO00OQ['Q0OQO']('OO0O',QO00OQ[O0QQ('122','1B9x')])){console['log'](e);$[O0QQ('123','TYL&')]($[O0QQ('124','*X!5')],'',O0QQ('125','H7)&'));return[];}else{console[O0QQ('126','@pEA')](QO00OQ[O0QQ('127','*6R@')](QO00OQ[O0QQ('128','7y5%')],OOQOQO[O0QQ('129','*ZlR')]));}}else{console[O0QQ('12a','gftX')](QO00OQ[O0QQ('12b','ON^Z')]);console[O0QQ('e3','MZoD')](JSON[O0QQ('12c','6DMz')](OOQOQO));}}else{mes+=OOQO0O[O0QQ('12d','k9&5')](OOQO0O[O0QQ('12e','SUSA')](OOQO0O[O0QQ('12f','2Q2$')](level,'天'),discount),'豆,');}}}}}catch(QO0OOO){if(QO00OQ[O0QQ('130','HUve')](QO00OQ[O0QQ('131','UCix')],QO00OQ['OOOQ0'])){$[O0QQ('132','MZoD')](QO0OOO,OOQO0Q);}else{$[O0QQ('133','LCS4')](QO0OOO,OOQO0Q);}}finally{if(QO00OQ['OQQO0'](QO00OQ[O0QQ('134','x2*$')],QO00OQ[O0QQ('135','A#0E')])){QO00OQ[O0QQ('136','S)3!')](QOOOQQ,OOQOQO);}else{console[O0QQ('137','yqZy')](O0QQ('138','8Fu3'));console['log'](OOQOQQ);}}});}else{$[O0QQ('139','e*5$')]=data[O0QQ('13a','LCS4')]['nickname'];}});}async function taskUrl(OQQOOQ,OQQOOO){var Q00O0Q={'QQQOQQ':function(OOOQQ0,OOO0OO){return OOOQQ0===OOO0OO;},'QQQO0O':O0QQ('13b','rvU^'),'QQQOQO':function(Q00OQQ,Q00O0O){return Q00OQQ!==Q00O0O;},'O00OQ0':O0QQ('13c','1B9x'),'QOOQQQ':O0QQ('13d','@pEA'),'QOOQ0Q':'QOO0','O0QQQQ':function(OOOQ00,OOO0OQ){return OOOQ00+OOO0OQ;},'O0Q000':function(Q00OQO,OQQOQ0){return Q00OQO(OQQOQ0);},'O0QQ0Q':'OOQ0','O0QOOO':O0QQ('13e','GaS#')};return new Promise(OQ0O00=>{var OQ0OQ0={'O00OOQ':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie','O00OOO':function(Q0QOQ0,Q0QO00){return Q00O0Q[O0QQ('13f',']pBM')](Q0QOQ0,Q0QO00);},'QOO0QO':function(OQQ0QQ,OQQ00O){return Q00O0Q[O0QQ('140',']$3U')](OQQ0QQ,OQQ00O);}};if(Q00O0Q[O0QQ('141','Z8Vm')](Q00O0Q['O0QQ0Q'],O0QQ('142','#a1!'))){try{return JSON[O0QQ('143','zxyz')](str);}catch(OQQ00Q){console[O0QQ('144','Owyz')](OQQ00Q);$[O0QQ('145','H7)&')]($[O0QQ('146','gftX')],'',OQ0OQ0['O00OOQ']);return[];}}else{const OOO0Q0={'url':JD_API_HOST+'&t='+Date[O0QQ('147','ky5l')]()+O0QQ('148','PUTz')+OQQOOQ+O0QQ('149','@pEA')+OQQOOO+O0QQ('14a','UCix')+$[O0QQ('14b','Owyz')]+O0QQ('14c','MZoD'),'headers':{'accept':O0QQ('14d','@pEA'),'accept-encoding':'gzip,\x20deflate,\x20br','accept-language':Q00O0Q[O0QQ('14e','@pEA')],'cookie':cookie,'referer':O0QQ('14f',']$3U'),'User-Agent':$['UA']}};$['get'](OOO0Q0,(OOOQ0O,Q00O00,OOO000)=>{if(Q00O0Q[O0QQ('150','*A&T')](Q00O0Q['QQQO0O'],'Q0QQ')){try{if(OOOQ0O){if(Q00O0Q[O0QQ('151','zxyz')](Q00O0Q[O0QQ('152','gyuo')],Q00O0Q[O0QQ('153','Il6U')])){console[O0QQ('154','^z9Z')](O0QQ('155',']pBM'));console['log'](OOOQ0O);}else{console['log'](''+JSON[O0QQ('12c','6DMz')](OOOQ0O));console['log']($[O0QQ('156','yqZy')]+O0QQ('157','Owyz'));}}else{if(O0QQ('158','SUSA')===Q00O0Q[O0QQ('159','XzRV')]){$[O0QQ('15a','!P9B')]=$['UserName'];}else{OOO000=JSON['parse'](/{(.*)}/g['exec'](OOO000)[0x0]);console[O0QQ('15b','rvU^')](Q00O0Q[O0QQ('15c','*A&T')]('当前已签到\x20',OOO000['data']['days'])+'\x20天');message+=Q00O0Q['O0QQQQ'](Q00O0Q['O0QQQQ']('已签到:',OOO000[O0QQ('15d','yqZy')]['days']),'天\x0a');}}}catch(Q00OQ0){$[O0QQ('15e','x2*$')](Q00OQ0,Q00O00);}finally{Q00O0Q[O0QQ('15f','7y5%')](OQ0O00,OOO000);}}else{if(OOOQ0O){console[O0QQ('160','D*z*')](O0QQ('161','GaS#'));console['log'](OOOQ0O);}else{OOO000=JSON[O0QQ('162','rvU^')](/{(.*)}/g['exec'](OOO000)[0x0]);console[O0QQ('163','x2*$')](OQ0OQ0[O0QQ('164','A#0E')](O0QQ('165','TYL&'),OOO000[O0QQ('166','k9&5')][O0QQ('167','7y5%')])+'\x20天');message+=OQ0OQ0[O0QQ('168','HUve')](OQ0OQ0[O0QQ('169','yqZy')]('已签到:',OOO000[O0QQ('d4','HUve')][O0QQ('16a','gyuo')]),'天\x0a');}}});}});}async function showMsg(){if($['isNode']()){$[O0QQ('16b','HUve')]($[O0QQ('16c','1B9x')],'','【京东账号'+$[O0QQ('16d','wK&L')]+'】'+$[O0QQ('16e','ky5l')]+'\x0a'+message);allMessage+=O0QQ('16f','tfK#')+$[O0QQ('170','SUSA')]+'】'+$[O0QQ('171','8Fu3')]+'\x0a'+message+($[O0QQ('172','A#0E')]!==cookiesArr[O0QQ('173',']pBM')]?'\x0a\x0a':'');}}function TotalBean(){var Q00OOQ={'O0Q0QQ':function(OOO0QO,Q0QOQO){return OOO0QO===Q0QOQO;},'O0Q00Q':O0QQ('174','Z8Vm'),'O0QOO0':O0QQ('175','@pEA'),'O0QO00':function(OQ0O0Q,OQ0OQQ){return OQ0O0Q!==OQ0OQQ;},'O0QOQ0':'O0QO0','QOOO00':O0QQ('176','e*5$'),'QOQQO0':function(OQ0O0O,Q0QO0Q){return OQ0O0O===Q0QO0Q;},'QO0QOQ':O0QQ('177','tfK#'),'O00OQQ':function(Q0QO0O,Q0QOQQ){return Q0QO0O===Q0QOQQ;},'O00O0Q':'QOOOQ','QOOOQ0':function(OQQ000){return OQQ000();},'QQQ00Q':O0QQ('178','gftX'),'QO00OO':O0QQ('179','wK&L'),'QO0QQ0':O0QQ('17a','GaS#'),'QOOOOQ':'zh-cn','QO0Q00':O0QQ('17b',']$3U'),'O0QOOQ':O0QQ('17c','PUTz')};return new Promise(async OQQQQQ=>{var OQQ0Q0={'O00OQO':function(OQQQ0Q,OQQQQO){return OQQQ0Q===OQQQQO;},'O00O0O':Q00OOQ[O0QQ('17d','ilPf')],'QOOQ00':Q00OOQ['QO0QOQ']};const OQQQ0O={'url':O0QQ('17e',']pBM'),'headers':{'Accept':Q00OOQ[O0QQ('17f','^z9Z')],'Content-Type':Q00OOQ[O0QQ('180','PUTz')],'Accept-Encoding':Q00OOQ[O0QQ('181','k9&5')],'Accept-Language':Q00OOQ[O0QQ('182','HUve')],'Connection':Q00OOQ[O0QQ('183','#a1!')],'Cookie':cookie,'Referer':Q00OOQ['O0QOOQ'],'User-Agent':O0QQ('184','TYL&')}};$[O0QQ('185','rvU^')](OQQQ0O,(Q00OOO,OOOQO0,Q0000Q)=>{if(Q00OOQ[O0QQ('186','x2*$')](Q00OOQ[O0QQ('187','4Grm')],Q00OOQ['O0QOO0'])){console['log'](O0QQ('188','#a1!')+Q0000Q['msg']);}else{try{if(Q00OOQ[O0QQ('189','Il6U')]('O0QO0',Q00OOQ[O0QQ('18a','x2*$')])){OQQQQQ();}else{if(Q00OOO){console[O0QQ('c4','Z8Vm')](''+JSON[O0QQ('18b','tfK#')](Q00OOO));console[O0QQ('18c',']pBM')]($['name']+O0QQ('18d','ky5l'));}else{if(Q0000Q){Q0000Q=JSON['parse'](Q0000Q);if(Q0000Q[Q00OOQ[O0QQ('18e','*X!5')]]===0xd){$['isLogin']=![];return;}if(Q00OOQ[O0QQ('18f','XzRV')](Q0000Q[Q00OOQ['QOOO00']],0x0)){$[O0QQ('190','*X!5')]=Q0000Q[Q00OOQ[O0QQ('191',']pBM')]][O0QQ('192','*ZlR')];}else{$['nickName']=$['UserName'];}}else{console['log'](O0QQ('193','7y5%'));}}}}catch(OQ0OO0){if(Q00OOQ[O0QQ('194','e*5$')](Q00OOQ[O0QQ('195','*6R@')],Q00OOQ[O0QQ('196','x2*$')])){$[O0QQ('197','Z8Vm')](OQ0OO0,OOOQO0);}else{Q0000Q=JSON['parse'](Q0000Q);if(OQQ0Q0[O0QQ('198','1B9x')](Q0000Q[OQQ0Q0['O00O0O']],0xd)){$[O0QQ('199','wK&L')]=![];return;}if(Q0000Q[OQQ0Q0[O0QQ('19a','*A&T')]]===0x0){$[O0QQ('19b','6DMz')]=Q0000Q[OQQ0Q0[O0QQ('19c','wK&L')]][O0QQ('19d','6DMz')];}else{$[O0QQ('19e','(E8h')]=$[O0QQ('19f','tfK#')];}}}finally{Q00OOQ[O0QQ('1a0','Il6U')](OQQQQQ);}}});});}function jsonParse(OQ00QO){var OQ000O={'QQ0O0Q':O0QQ('1a1','UO4x'),'O0QOQQ':O0QQ('1a2','TYL&'),'O0QO0O':function(OQQ0OO,OQQQ00){return OQQ0OO!==OQQQ00;},'QOOOOO':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'};if(typeof OQ00QO==OQ000O[O0QQ('1a3','wK&L')]){if(OQ000O[O0QQ('1a4','UCix')]!==OQ000O['O0QOQQ']){console[O0QQ('1a5','*X!5')](O0QQ('1a6','ON^Z'));console['log'](err);}else{try{return JSON[O0QQ('1a7','d%PM')](OQ00QO);}catch(OQQ0OQ){if(OQ000O[O0QQ('1a8','UO4x')](O0QQ('1a9','MZoD'),O0QQ('1aa','GaS#'))){console[O0QQ('8a','e*5$')](OQQ0OQ);$[O0QQ('1ab','k9&5')]($[O0QQ('1ac','k9&5')],'',OQ000O[O0QQ('1ad','e*5$')]);return[];}else{return JSON[O0QQ('1ae','MZoD')](OQ00QO);}}}}}function randomString(Q000QQ){var Q00OO0={'QQQO00':function(Q0000O,OOO0O0){return Q0000O||OOO0O0;},'QQQOQ0':function(Q000QO,OOOQOO){return Q000QO*OOOQOO;}};Q000QQ=Q00OO0[O0QQ('1af','XzRV')](Q000QQ,0x20);let Q00Q0Q='abcdef0123456789',Q00QQQ=Q00Q0Q['length'],OQ0OOQ='';for(i=0x0;i<Q000QQ;i++)OQ0OOQ+=Q00Q0Q[O0QQ('1b0','k9&5')](Math['floor'](Q00OO0['QQQOQ0'](Math['random'](),Q00QQQ)));return OQ0OOQ;}function getUA(){$['UA']=O0QQ('1b1','rvU^')+randomString(0x28)+O0QQ('1b2','ky5l');};OO0$='jsjiami.com.v6';
// prettier-ignore
function Env(t,e){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("",`\ud83d\udd14${this.name}, \u5f00\u59cb!`)}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("@"),a={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(a,(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();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){let e={"M+":(new Date).getMonth()+1,"d+":(new Date).getDate(),"H+":(new Date).getHours(),"m+":(new Date).getMinutes(),"s+":(new Date).getSeconds(),"q+":Math.floor(((new Date).getMonth()+3)/3),S:(new Date).getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,((new Date).getFullYear()+"").substr(4-RegExp.$1.length)));for(let s in e)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[s]:("00"+e[s]).substr((""+e[s]).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}}}};this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r)));let h=["","==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="];h.push(e),s&&h.push(s),i&&h.push(i),console.log(h.join("\n")),this.logs=this.logs.concat(h)}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("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t.stack):this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。