代码拉取完成,页面将自动刷新
const $ = new Env('【闪电世界_转赠】版本:22/03/27_1');
// @grant require
const notify = $.isNode() ? require('./sendNotify.js') : '';
let variable_num=''
var _0xodT='jsjiami.com.v6',_0xodT_=['_0xodT'],_0x5223=[_0xodT,'w7AsWB/CrsKIwq7DrsKZw5PDncO3aA==','wrkaw4DCnx4=','cMKswrpowr4=','wooaw6TCmyg=','w6B+wqs6Ig==','w4heD2FN','cnzCvcK1Uw==','wqTCvkHCjsKa','w7bovrDotInjgIVOwrg=','w6Jcw7hqwq0=','TV13wr7Dkg==','wozCrjF1Wg==','agEu','woHjgIDDgWLCn+iFm+acouaOhuekgcKZYjfotZTljZ1u','UX3ClcK3Sg==','GOi9v+i2keODgwjCnee/oue6jeivhuaxvOWll+i2sg==','PMKpKMOzSA==','w6V7wpk6','w4bDkcKyFw==','wpXDh8KrwovDjMKPwofDkWvClw==','T1fCp8Kzdg==','w79cwpLCiMOe','wqoPTsOUHg==','w7ELJh/DuQ==','XcKSC8K3','wrnDpMOpw6IQ','B+OBtcKTwrpy6IaW5p655oyc56S3w4fDlQXotIrlj6FM','wq/DjlpXwpU=','wqTnlbbmiI7lnr/lu5/kvI/mgqTjgo3DrsKc','w7dWwpA4w58=','Jui8gui0qeODgQpC','w5VZwpzDlMKrAcOr','wpjChAx/Gw==','Vwozwr9S','w6k/AMKaw54=','wo4KbyMfw4VBOw==','cMKDYQ==','wrDCrADDgMK3','wrZyEg5y','d8OZDcK4wrtxwpQ0wqg5','c8KXwp9Awro=','XGfCgMKCQA==','K8KbTQ==','wqjjg5oowrUE6Iaf5p6E5oy456SHTcK/Cei2luWOjMK4','w4vCpD/CvwU=','wrrDvcKg','w5Tnlozmi7/lnKrlurvkvIDmgpzjgpUjw5vnv7vnuZHorK3msKLlpITotLU=','wr4Uw67DmcOm','eueWhOaJvOWegOW4huS/heaDsOODrFAq576B57iy6Kys5rK75aeD6LWS','w4UpJz/DiQ==','wrfDrcKhwonDoQ==','KSBAb8KY','wp/Dr8OC','wqrDj1k=','BsKebcK6HnTDq8KVHcKDwqs0ZsKhGQ==','PMKvw5jCh8OmDsOyTsKZwpM=','I8KFwrTCtcOrN8OwwqU=','Z8OFwrM=','w4rCvi/CqkfCqsKHwptZE8O4R8OcEsK2JlnDvxcHw6MZw67DisOQ','w6cxVF/CrsKKwrzCssK5w5PDncO3aMKAwq/CicKj','w5DDjcKlFg==','JcKew63CpsKwe8K3wrPCkyfCi8OpL2nCvEDDp8K1wrXCncOgw6XCvmXCmGg=','Ni3Dk8OnVzYfw53CuDzDhEd/wo/DjMOEwqjCtSDDkMKDw5zDhcOcwpjDvVXDmWRXw7koL37DmA==','wpzDkMK8wpTCg8OOw5zCsCDDlcKYwr7DqU4HJMOOV8Kmw4rDoVvClRwATEo=','wp3Ch2PCm8Kt','K8KRRMO/OV0=','w5p+woHDo8KB','w4phwqvClMOZw7gqwq/DrnzChMO+woAvwqBiTi8Lw5szwqdFwrlRwr/DscOwc8O+','O8OMW8KGYw==','w7pIFGJX','w73Chzhsw7HCrFopLCo=','wrPCsRlgDQ==','w4cMEMKdwprDvsOQw5bCrHnDkyw4w6/DgSHDgg==','EsK7esOyNw==','w6luwpkrPBkRwr5LECjDgjPDhcOjVcO4e8Kvw5TCtcOww43DoA==','wqXDtsK0DsOmw6jCtUDCkClNwofDlcKKKQ==','wr3Dt8KiFMOlw7rCsUjCiCg=','w7DCmnp8w6PDokEl','wrfDosK3CMKhw7jCvFXClyJUwobDnMKWK3TCj8OHwo3DnTTDtsKofBhow5LDu8KVwps=','CsOEUMOYXEYTwoPDlsK0UcKMwqfDr8KtZGA=','JDHCisOUIzVKw4bDpz7CkxQ9w5/DjsOSwq7DuRvDp8OPwoPCm8KDw5vDqg==','w6ZgwoQrYwNaw7ReGDrDnHjCmsKrVsOk','w5vDlsKjFcKtN8OHw65Pw6vDpx7CksO6wrTCjsKwFcORw6g2woEHwooXwprCuA==','w4p/wpsWw40=','LsO9dsKEWA==','w6g2w6t/IQ==','wrjCiTTDhMKB','CsOZUsKFXA8Xw4TDj8K+','w4bCrBFtw60=','WsKRCcKwwqo=','w742FDLCk8OCwrHDtMOvw43CjsKiP8KXw6DCjcK5woYfw5NjbkzCpmzDlhvCnCTDlMKVwodCwoot','fQ7Cg8KmM8Khw6XCuW/ChsKRSw==','bcOqL8Obw7k=','S2PCncK7Rg==','XcKMwrtpwp9eVEAT','F8OlDChJZcKvwropWcKhwqnCiMKwwpBEL2tzwqPDlMOwVWDDh8OSYAQqwrkeQTdqZ2BOwqRiw4DDlcOaFG3CiW5gwphpwpdPexQPwrA/wqw+UsOkwqvDmMKxA8OhwqYCesKxw4PCj8OVDnLDhcOvUg8CQHpaw4JQJcOXc8OpNsKgw7h4esOGCsO/w4cDwpPDncK2w49pf0tWw61yw4YTwoc3w5jDqcKMABMSMBTDlMKBwp0Xw5dFYsKjwqzDnSvDrcOKw7tUGcOUP0U8UzvDun19GcOkZcOsw7jDocOVwrUIO8KQc3nDgMO0w77CrsKFdy3CtlLDr8OCw4JAw7LClsOlw57DmcKGY8O1eCppbn5Kw5kqwrrCkcKeMcK9wopawp59VcKLT8KkR8OleMOROErCtsO6wozDjGs/w6bCv8OdwqQ=','aypvwpdy','wrPDvMKkFsKxw6vCqQ==','wrTDs8K0AcO+wq8=','w6lwFXQL','w64qLDvDlHs=','AMOYc8KZS0c=','w6k2BjHCnWw7woQ=','PsK5w7PCmMKvCg==','I0rCksK0fMOTw7jCrX7CnsKdWnNyG8KoEBFkRcKtwqwNw6Emw5FraAVGMw==','wrXCnjrDjMKP','dDPCr8Kzag==','w75mwpzDs8Kb','w4jCuSk/wps=','wrVLEA==','B+OBtcKTwrpy6IaW5p655pWL5Lu75Yan6Leb5aOY5pii44CH7722w5FXYz/ohL7mn7PmlYLkuprljannlaLkuLrlhYDotq/ku4DmtbNYw5Avwq3ohK7mn6/ml6/kuaTku7Xkv7Hkuq/kuoTlvLvnl7fkuoLll4LkuJ3kuYHljKjpnLrmsa7nlYnpgqFWJV3DiuiEgeacr+aUsuS7reS6pui8puiup+eWnOWTp8KqWOWykuaWseWFneiFs+ihveWIn+mbmzcLwooo5ZqW5L6s55Wt6ISq5p6V5peo5LqL6YCT5oir5L2855aI6IC65LqI5YyG5LmF5LyR57yu56mJ5biq5Y+q55qa5Lu25Yii5o6y5aSA55mC55W+5Lyx55SB6IC05oij5oujw7k8dMKX6IW15p2O5pW45Lqs5aS+5pys5LqI5oaE6KG156GY6KWE5ouH5L6w5pWa55uN5p6W56O+6KSe5oqY5L2G5pej6IGH5oiR5oiqw4LDo8KnwpblpLTkupHmj6jlj43mr5zmnYLmr5borabnqYXljJHliLLpmoPoh67mnaTmlr7ku6s=','wrPDucKOPcKR','aA7CqcKMUg==','JBzCtMKUdA==','w5NeMnV8','wpjDm8KhPcKN','esKowq1fwqg=','w6bCnQMPw6c=','w6cxXRQ=','w6gqIQ7DpA==','wok+w4PCiQo=','w7Q/SwLCuA==','wrkBWMOC','eMOEBQ==','wovjgIrCnjQ26IS55pyS5o2B56SCWXbChei0u+WNgcKr','YkpWwq3Diw==','w40TCsKew5fCucOR','wqMiw5M=','wr/DhAjDg8KX','wovovb3otrvjg6nCisK7','X+ODlz/DuUnohL/mnJ/mj4Dnp6TjgITvv6/phK/nvrzmlorkubXmlKfmjanmnonorLlQ6K+r56Gb5L6T6YeK57+G5pe55Lis55qY5q+w56O05oGY','wrrCsw4=','wrYtwo/jgJ3lhpdh','KDLCjcOORmwEw4fDqizCmxs0w6nChMOAwrLDuQ==','w7Jdwpo6w5PDmQ==','wqHkuLDot4vljqzjgZ4eA8KsMg==','HjTDhMKUSVTCg8OtbE8EwqEWw6UWa8KPwro=','w63ChCUbwpx1','wrLDnR/DjMKwBVYLB27CkcOzw4pFZ2XCscOl','w6zDisKBUcK2NsKw','w7rCgiR1w53Dt0gyMS7ChcKlw4PDnDQWVMOf','w6Vtwp4xEFVfw6NRFTnDhHjDqcOvVcOifg==','w7IqBybDr3opwpEo','ZcOaN8Kywpk=','SnLCn8K2XcOQ','QArCmsK8Z8Ogw7TDozjDhMOICARaBcK1DzYpBMKewqsIw7Elw51QLFwcY8OGIsOQdcKRRcOTQsKUJcKpw67CqmXDqGPCi8KqMcO6NsOwFVgxwrU2QsO5K8KdYFLDg8KfwrFMw5w3wqjDtVRow5pfbcOOcVnDpnYHwpdcSxMTSMOoayDCgMKSZBPDuTJ/PsKxQMKOWsKrZm5/VC5Vwpp+N8KVW0zDj3rDv03Dt8KlwrMJwojDpGlNe8Kxw7jDhMK2wp/DtHNdw53DqMKDw5vDqsO0w64ibcOLRsKawr7CuEwgw4fCoApqMmNfMcK6wplTw4wxXcOmw6F5w5kmwqcqw6bCg8O1w5pww4vDu8Kqwp0IwoLDssOrWcKRFhvDosOrw541EMKawpMsIF1kwqZWwq3DoErDksOzwobCkMK8X8KRNcKzwoJ2bSjDkQ==','PsKkw5nCksKz','w69nw4Fnwrk3byRSw5UtdhfDtSp+DUY=','YcOYB8K5wpc4woYpwr0=','w6sbw7ZhKELChgHDu8Onw5AeUMOnUGIgHw==','w55iwr7CisOvw78qwq/Dpg==','wpTDukPCvsKYw5gYJFcX','wo3CvDBXQyZuGMOnwostw4LDnDBxN8KuEg==','wobDs8OAw7k7woc4w7FO','FizDkA==','w53lvbrlpYHjgqznrrJp','wrMAWMOCAw==','NeS6mOi1huWNteS5j+WKguOBrg==','DzDDksKMSWvCpg==','w5bDo8KNLcO1','f8KQHMKcwo4=','wr7CtUvCj8KsWivDt8KVw40=','wrkbw6fDmQ==','aTFMwpxL','eMOEBcKOwrou','wpXDvEHCu8Krw5cO','w49+wrXCnQ==','bEFGwpzDmsK3w5k=','NsOIw6zCv8OudsKi','wqNOw7FiGlHDhUk=','w7ZMVcOJGHsZ','csOXFMOFw5VOGm3Dny3CvEbCpg==','bcO4MMOvw5o=','bCkTwqFo','w6BVM1ND','wpDChQZpZQ==','KzPDssKQWA==','wr3DoRrDr8Ks','wqLDt8K7wrbDmA==','w5VuwrUsGA==','w6LChCw=','wo3jgYkRO8OJ6ISE5p2k5oy156Wzw55cCOi1u+WPmy8=','w6YCw6FuDw==','wqvnlLjmioXln4Plu6TkvqDmgaHjgYcBwpTnvJ7nu4boroXms6jlpb/otLo=','H+OCohPDrcON6IS55p2T5o+w56acScO/Dei3r+WOtHM=','w63nl7jmiJLlnKXlu6Dkv5TmgLDjgo/DicKU57yg57up6K+75rK55aWo6LSM','wpDDvg7DiMKp','LsKFw73Csw==','wro+w5HCmg==','wpTjgKjChzLDnuiGq+afjuaOrOemv8Kvw61z6Laj5Y2qVA==','w5rDjMKzAMOv','w6/nlaXmioPlnKbluabkvpXmgpHjgqZiwofCh8OETMOu5byF5Yq855a45ouaZ8Kx77+k','OTbCm8OWS38Tw5DDrTjCnA==','w7IwBg==','PiPCsMORdA==','ZHTDncOL5b2h5Yim57mP6I2B5bqe77yK','wqLDgUpT','w4PDkMK4FsOnfcKawrMCwrw=','wo5zFFzlvo7liqPloLvmnofvv44=','wr4PSMOG','wrjCo0DCmQ==','wrIRw4LCiuW+meWIq+W7tui+gOWBtO+9hA==','HxpMcA==','w6LCnigWwow=','wqE8w7bDleW/o+WLlue7qemRoOaXt+mHnO+/sA==','cMOKFsKq','QcKSwq50wr9PaUAEwpoX','wqPDmQ3DhMKDFmQaAX3Clg==','wqjDp3bDt+W8ruWLiOmFueW7qeS9pOmjve++iA==','w4bCqy/Cuw==','L8OfLjw=','w77DlsKIRw==','wrMbw77DnQ==','wqxXEi4=','wrhHFDNpw48uE2dB','ccOTFMOj','w55iwr7Cig==','wrfDscKkC8K9w7XCqXTCjCE=','F8KqFcOYRw==','w5vDlMK9bcKe','MMKVQ8Os','wrLDpyXDr8Ku','w5czThLCqA==','wqHjgIHCqMKXw4nohoHmnafmjIvnpr0+w4fDvOi3jOWOq8Ov','w7fCmzN6w7o=','ZkFBwrvDksK9w5k=','UsKSCA==','QcOqLsOFw6w=','wpIcAQIa','w7JWwqrCocOh','YiM5woZV','fMK4wo9Pwo8=','wosAJzBTw4dFN0fDmQ==','bho9wqAKTWFwXsKmwpU6wrnDqzPDmjdoQcKPMWjCpMOkw5Y=','w73CmiVs','w5TDmMK+FcK7OMKMwr8QwqnCtFnDhMO4wqbDmMO0','wqY0AxEa','VcKIBMKiwqk=','H8KETsO1AQ==','w610w6VcwoA=','NMOmAjdA','w5fDn8KJVcKF','cMKbAsKkwrc=','woPDi8KywofDiw==','LMOow4jCnsKvTcKk','wrXCm8KQQsKcXcOOwr8=','w5HCrMKHw78dwpM8wqcV','JnJRwpFAw4LDkw==','OjsVjPDiamUhit.com.v6qPDWNBEhn=='];if(function(_0x21fb05,_0x57f7e3,_0x558b7d){function _0x299057(_0x507bb3,_0x3eced4,_0x4b9ec0,_0x2a22a5,_0x504064,_0x40d623){_0x3eced4=_0x3eced4>>0x8,_0x504064='po';var _0x22c587='shift',_0x4d9a2e='push',_0x40d623='';if(_0x3eced4<_0x507bb3){while(--_0x507bb3){_0x2a22a5=_0x21fb05[_0x22c587]();if(_0x3eced4===_0x507bb3&&_0x40d623===''&&_0x40d623['length']===0x1){_0x3eced4=_0x2a22a5,_0x4b9ec0=_0x21fb05[_0x504064+'p']();}else if(_0x3eced4&&_0x4b9ec0['replace'](/[OVPDUhtqPDWNBEhn=]/g,'')===_0x3eced4){_0x21fb05[_0x4d9a2e](_0x2a22a5);}}_0x21fb05[_0x4d9a2e](_0x21fb05[_0x22c587]());}return 0xda457;};return _0x299057(++_0x57f7e3,_0x558b7d)>>_0x57f7e3^_0x558b7d;}(_0x5223,0x64,0x6400),_0x5223){_0xodT_=_0x5223['length']^0x64;};function _0x4a99(_0x3f1adf,_0x13f530){_0x3f1adf=~~'0x'['concat'](_0x3f1adf['slice'](0x1));var _0x4d1ee3=_0x5223[_0x3f1adf];if(_0x4a99['eyykST']===undefined){(function(){var _0x1d15fe=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x1a17eb='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x1d15fe['atob']||(_0x1d15fe['atob']=function(_0x296b25){var _0x1e226b=String(_0x296b25)['replace'](/=+$/,'');for(var _0x5857c1=0x0,_0x26cbcd,_0x35dcb5,_0x7298bb=0x0,_0x21e661='';_0x35dcb5=_0x1e226b['charAt'](_0x7298bb++);~_0x35dcb5&&(_0x26cbcd=_0x5857c1%0x4?_0x26cbcd*0x40+_0x35dcb5:_0x35dcb5,_0x5857c1++%0x4)?_0x21e661+=String['fromCharCode'](0xff&_0x26cbcd>>(-0x2*_0x5857c1&0x6)):0x0){_0x35dcb5=_0x1a17eb['indexOf'](_0x35dcb5);}return _0x21e661;});}());function _0x5c5a37(_0x37ae76,_0x13f530){var _0x46a8ef=[],_0x9516dc=0x0,_0x506634,_0x30f4bc='',_0xd3bd8c='';_0x37ae76=atob(_0x37ae76);for(var _0x9b556=0x0,_0x31f456=_0x37ae76['length'];_0x9b556<_0x31f456;_0x9b556++){_0xd3bd8c+='%'+('00'+_0x37ae76['charCodeAt'](_0x9b556)['toString'](0x10))['slice'](-0x2);}_0x37ae76=decodeURIComponent(_0xd3bd8c);for(var _0x5cdfdd=0x0;_0x5cdfdd<0x100;_0x5cdfdd++){_0x46a8ef[_0x5cdfdd]=_0x5cdfdd;}for(_0x5cdfdd=0x0;_0x5cdfdd<0x100;_0x5cdfdd++){_0x9516dc=(_0x9516dc+_0x46a8ef[_0x5cdfdd]+_0x13f530['charCodeAt'](_0x5cdfdd%_0x13f530['length']))%0x100;_0x506634=_0x46a8ef[_0x5cdfdd];_0x46a8ef[_0x5cdfdd]=_0x46a8ef[_0x9516dc];_0x46a8ef[_0x9516dc]=_0x506634;}_0x5cdfdd=0x0;_0x9516dc=0x0;for(var _0x4ce103=0x0;_0x4ce103<_0x37ae76['length'];_0x4ce103++){_0x5cdfdd=(_0x5cdfdd+0x1)%0x100;_0x9516dc=(_0x9516dc+_0x46a8ef[_0x5cdfdd])%0x100;_0x506634=_0x46a8ef[_0x5cdfdd];_0x46a8ef[_0x5cdfdd]=_0x46a8ef[_0x9516dc];_0x46a8ef[_0x9516dc]=_0x506634;_0x30f4bc+=String['fromCharCode'](_0x37ae76['charCodeAt'](_0x4ce103)^_0x46a8ef[(_0x46a8ef[_0x5cdfdd]+_0x46a8ef[_0x9516dc])%0x100]);}return _0x30f4bc;}_0x4a99['CSjurw']=_0x5c5a37;_0x4a99['DFfnhM']={};_0x4a99['eyykST']=!![];}var _0x113520=_0x4a99['DFfnhM'][_0x3f1adf];if(_0x113520===undefined){if(_0x4a99['ZWdzgI']===undefined){_0x4a99['ZWdzgI']=!![];}_0x4d1ee3=_0x4a99['CSjurw'](_0x4d1ee3,_0x13f530);_0x4a99['DFfnhM'][_0x3f1adf]=_0x4d1ee3;}else{_0x4d1ee3=_0x113520;}return _0x4d1ee3;};const fs=$[_0x4a99('0','bIzO')]()?require('fs'):'';const RSA_js=$[_0x4a99('1','5Ihq')]()?require(_0x4a99('2','bIzO')):'';if(!variable_num){variable_num='';}else{variable_num='_'+variable_num;}const dwsj_variable=$[_0x4a99('3','R1GQ')]()?require(_0x4a99('4','M]Lm')+variable_num+'.js'):'';!(async()=>{var _0x111363={'ekIYY':function(_0x3c2621,_0x5159c7){return _0x3c2621+_0x5159c7;},'JEDrF':function(_0x1a8a6d,_0x43f8fc){return _0x1a8a6d*_0x43f8fc;},'NIfYE':function(_0x2c074d,_0x155e4a){return _0x2c074d*_0x155e4a;},'osCZT':_0x4a99('5','NUAF'),'Fswan':_0x4a99('6','M]Lm'),'qqUyQ':function(_0x3f9c17,_0x3c07d4){return _0x3f9c17+_0x3c07d4;},'SKbSm':function(_0x3d7643,_0x16def8){return _0x3d7643+_0x16def8;},'SmUsw':function(_0x4f8d15){return _0x4f8d15();},'eAZHb':_0x4a99('7','mnmA'),'AmsNU':_0x4a99('8','!05J')};console[_0x4a99('9','rxU7')](_0x4a99('a','M]Lm'));console['log']('\x0a===\x20脚本执行\x20-\x20北京时间:'+new Date(_0x111363[_0x4a99('b','SM&D')](_0x111363[_0x4a99('c','M]Lm')](new Date()['getTime'](),_0x111363[_0x4a99('d','GjJv')](new Date()['getTimezoneOffset']()*0x3c,0x3e8)),_0x111363[_0x4a99('e','QRoW')](_0x111363[_0x4a99('f','SM&D')](_0x111363[_0x4a99('10','!rLr')](0x8,0x3c),0x3c),0x3e8)))['toLocaleString']()+_0x4a99('11','mCV1'));if(dwsj_variable[_0x4a99('12','BXh^')]!==0xc8){if(_0x111363[_0x4a99('13','bIzO')]===_0x111363[_0x4a99('14','NRIZ')]){let _0x27ccb2=JSON[_0x4a99('15','BXh^')](data);if(_0x27ccb2[_0x4a99('16','nTy#')]==0x1){console[_0x4a99('17','b$c[')](_0x4a99('18','rP*P')+$[_0x4a99('19','n(8B')]+'\x20转赠】:\x20'+_0x27ccb2[_0x4a99('1a','D9Q(')]);}else{console[_0x4a99('1b','NRIZ')]('\x0a【soy脚本提示---账号\x20'+$[_0x4a99('1c','6pJO')]+_0x4a99('1d','p]@4')+_0x27ccb2['message']);}}else{console[_0x4a99('17','b$c[')](_0x4a99('1e','xpJb'));return;}}console[_0x4a99('1f','wpR8')](_0x4a99('20','*LVF')+dwsj_variable[_0x4a99('21','rtyc')]['user_data'][_0x4a99('22','V9zZ')]+_0x4a99('23','rP*P'));subTitle='';notice=dwsj_variable[_0x4a99('24','*X#G')][_0x4a99('25','!05J')][0x0]['notice'];main_user_ID=dwsj_variable[_0x4a99('26','6pJO')]['user_data'][0x0][_0x4a99('27','nGN*')];for(i=0x0;i<dwsj_variable[_0x4a99('28','NleY')]['user_data']['length'];i++){var _0x3df800='4|0|5|7|10|6|1|2|3|9|8'['split']('|'),_0x225ba5=0x0;while(!![]){switch(_0x3df800[_0x225ba5++]){case'0':dwsj_Address=dwsj_variable[_0x4a99('29','rP*P')][_0x4a99('2a','bIzO')][i]['Address'];continue;case'1':dwsj_inc=_0x111363[_0x4a99('2b','b$c[')](Math['floor'](Math[_0x4a99('2c','WIPj')]()*0xa),0x1);continue;case'2':if(!dwsj_UA){dwsj_UA=_0x4a99('2d','M]Lm');}continue;case'3':$[_0x4a99('2e','R1GQ')]=_0x111363['SKbSm'](i,0x1);continue;case'4':dwsj_transfer=dwsj_variable[_0x4a99('2f','*LVF')][_0x4a99('30','b$c[')][i]['transfer'];continue;case'5':dwsj_gold_coins=dwsj_variable[_0x4a99('31','qZHl')][_0x4a99('32','p]@4')][i][_0x4a99('33','mokx')];continue;case'6':dwsj_token=dwsj_variable['dwsj_variable_data']['user_data'][i]['Authorization'];continue;case'7':dwsj_UA=dwsj_variable[_0x4a99('34','rVZp')][_0x4a99('35','WllE')][i]['UA'];continue;case'8':await _0x111363['SmUsw'](implement);continue;case'9':console[_0x4a99('36','*X#G')](_0x4a99('37','FOjx')+$[_0x4a99('38','nTy#')]+_0x4a99('39','$Jta'));continue;case'10':user_ID=dwsj_variable[_0x4a99('28','NleY')]['user_data'][i][_0x4a99('3a','*X#G')];continue;}break;}};if(notify){if(_0x111363[_0x4a99('3b','!lKT')]!==_0x111363[_0x4a99('3c','3*^x')]){if(notice){if(subTitle){await notify[_0x4a99('3d','aMKP')]($[_0x4a99('3e','FOjx')],subTitle);}}}else{variable_num='';}}})()[_0x4a99('3f','IfKt')](_0x5690e1=>$[_0x4a99('40','b$c[')](_0x5690e1))[_0x4a99('41','mokx')](()=>$[_0x4a99('42','p]@4')]());async function implement(){await getMyInfo();}function getMyInfo(){var _0x8c5b39={'xJPmn':function(_0x1279d4,_0x5490e7){return _0x1279d4!==_0x5490e7;},'yNETy':function(_0x304d97,_0x563388){return _0x304d97===_0x563388;},'QpEnN':'xxCYa','iFPNk':function(_0x3cde2c){return _0x3cde2c();}};let _0x297898=new Date()[_0x4a99('43','n(8B')]();let _0x1888d5=RSA_encryption(_0x4a99('44','gyzQ')+user_ID+_0x4a99('45','qZHl')+_0x297898+_0x4a99('46','nTy#')+(dwsj_inc+=0x1)+'}');let _0x409dfb=Post_request(_0x4a99('47','$Jta'),_0x1888d5);return new Promise((_0x5d11c3,_0x49341b)=>{var _0x2cf30a={'Smwcu':'Mozilla/5.0\x20(Linux;\x20Android\x208.1;\x20PAR-AL00\x20Build/HUAWEIPAR-AL00;\x20wv)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Version/4.0\x20Chrome/57.0.2987.132\x20MQQBrowser/6.2\x20TBS/044304\x20name\x20Safari/537.36\x20MicroMessenger/6.7.3.1360(0x26070333)','kKvIC':function(_0x25ca60,_0x383962){return _0x8c5b39[_0x4a99('48','$Jta')](_0x25ca60,_0x383962);},'sVEia':_0x4a99('49','k3*I'),'dJcBs':function(_0x38d9af,_0x5651e0){return _0x8c5b39[_0x4a99('4a','QRoW')](_0x38d9af,_0x5651e0);},'FTbnF':function(_0x3cba44,_0x33939b){return _0x3cba44==_0x33939b;},'dxeoi':function(_0x49709b,_0x2430e9){return _0x8c5b39[_0x4a99('4b','rVZp')](_0x49709b,_0x2430e9);},'BmYNw':_0x8c5b39[_0x4a99('4c','*X#G')],'dMIIA':function(_0x168168){return _0x8c5b39['iFPNk'](_0x168168);}};$['post'](_0x409dfb,async(_0x1f8729,_0x127f7c,_0x1e533c)=>{if(_0x2cf30a[_0x4a99('4d','6pJO')](_0x4a99('4e','WXcx'),_0x2cf30a['sVEia'])){try{if(_0x2cf30a['dJcBs']('dzTwV',_0x4a99('4f','rP*P'))){type=0x1;}else{if(_0x1f8729){console[_0x4a99('50','!05J')](_0x4a99('51','bIzO')+$[_0x4a99('52','qZHl')]+_0x4a99('53','*LVF'));subTitle+=_0x4a99('54','$Jta')+$['index']+_0x4a99('55','aMKP');}else{let _0x2b9a19=JSON['parse'](_0x1e533c);if(_0x2cf30a[_0x4a99('56','6pJO')](_0x2b9a19[_0x4a99('57','gyzQ')],0x1)){user_gold=_0x2b9a19['data'][_0x4a99('58','NRIZ')]['gold'];console['log'](_0x4a99('59','V9zZ')+$[_0x4a99('5a','!lKT')]+_0x4a99('5b','NRIZ')+_0x2b9a19['data'][_0x4a99('5c','rtyc')][_0x4a99('5d','bIzO')]+'\x0a---当前粉丝数量:'+_0x2b9a19['data']['myInfo'][_0x4a99('5e','rtyc')]+_0x4a99('5f','GjJv')+_0x2b9a19[_0x4a99('60','mCV1')]['user'][_0x4a99('61','!lKT')]+_0x4a99('62','BXh^')+_0x2b9a19[_0x4a99('63','nTy#')][_0x4a99('64','aMKP')]['prestige']+_0x4a99('65','mnmA')+_0x2b9a19['data'][_0x4a99('66','qoum')][_0x4a99('67','!05J')]+_0x4a99('68','p]@4')+_0x2b9a19[_0x4a99('69','b$c[')][_0x4a99('6a','!rLr')][_0x4a99('6b','6pJO')]+_0x4a99('6c','RZQ%')+_0x2b9a19[_0x4a99('6d','RZQ%')][_0x4a99('6e','p(A8')][_0x4a99('6f','nGN*')]+'\x0a---当前账户地址:'+_0x2b9a19[_0x4a99('70','FOjx')][_0x4a99('71','rxU7')][_0x4a99('72','rxU7')]);if(_0x2cf30a['FTbnF']($['index'],0x1)){main_user_account=_0x2b9a19[_0x4a99('73','$Jta')][_0x4a99('74','p]@4')][_0x4a99('75','SM&D')];}else{if(_0x2cf30a['dxeoi'](_0x2cf30a[_0x4a99('76','xpJb')],_0x2cf30a[_0x4a99('77','nGN*')])){if(dwsj_transfer){await $[_0x4a99('78','Bd&q')](0x3e8);await _0x2cf30a[_0x4a99('79','6pJO')](transferMoney);}}else{dwsj_UA=_0x2cf30a[_0x4a99('7a','BXh^')];}}}else{console['log'](_0x4a99('7b','p]@4')+$[_0x4a99('7c','NleY')]+'\x20用户城市信息】:\x20'+_0x2b9a19[_0x4a99('7d','n(8B')]);}}}}catch(_0x5c5cbf){console[_0x4a99('7e','3*^x')](_0x5c5cbf,_0x127f7c);}finally{_0x5d11c3();}}else{type=0x3;}});});}function transferMoney(){var _0x31c643={'kwMWv':'ZSnZE','iLJgK':_0x4a99('7f','$Jta'),'YfXQd':function(_0x282e6d,_0x448e3a){return _0x282e6d!==_0x448e3a;},'eerHF':_0x4a99('80','j7cn'),'wDVaD':function(_0x263933,_0x5367fb){return _0x263933===_0x5367fb;},'TMIpn':'tJZZh','vRDKI':function(_0x20f757,_0x55cab6){return _0x20f757==_0x55cab6;},'JdLit':function(_0x20be5d,_0x5a5277){return _0x20be5d!==_0x5a5277;},'GYshL':_0x4a99('81','p]@4'),'NXeko':_0x4a99('82','k3*I'),'BpEky':function(_0x2d482a,_0x2ac33e){return _0x2d482a===_0x2ac33e;},'CIimX':_0x4a99('83','!rLr'),'Rwcih':function(_0x154ba5){return _0x154ba5();},'vWtwz':'sdsj.shandw.com','DMqnS':_0x4a99('84','j7cn'),'EWPsL':'no-cache','adFam':_0x4a99('85','k3*I'),'QEyfw':_0x4a99('86','NleY'),'TrWPs':_0x4a99('87','!lKT'),'JoLga':_0x4a99('88','j7cn'),'jlsSf':function(_0x3ed148,_0x36e170){return _0x3ed148==_0x36e170;},'nJIyD':function(_0x90c23a,_0x1132e9){return _0x90c23a===_0x1132e9;},'Nfmvl':_0x4a99('89','3*^x'),'wozcr':function(_0x47359b,_0x156a96){return _0x47359b(_0x156a96);}};let _0xe3eb86=new Date()['getTime']();if(dwsj_Address){main_user_account=dwsj_Address;}let _0x1e08d9=0x1;if(dwsj_gold_coins==0x5){if(_0x4a99('8a','Bd&q')!==_0x4a99('8b','*LVF')){_0x1e08d9=0x1;}else{_0x1e08d9=0x2;}}else if(_0x31c643['jlsSf'](dwsj_gold_coins,0xa)){if(_0x31c643[_0x4a99('8c','p(A8')](_0x31c643[_0x4a99('8d','nGN*')],_0x31c643[_0x4a99('8e','3*^x')])){_0x1e08d9=0x2;}else{console['log']('\x0a【soy脚本提示】:配置文件数据有误,请确保配置文件的正确性');return;}}else if(dwsj_gold_coins==0x14){_0x1e08d9=0x3;}let _0x3df56a=_0x31c643[_0x4a99('8f','WXcx')](RSA_encryption,_0x4a99('90','R1GQ')+user_ID+_0x4a99('91','nGN*')+main_user_account+_0x4a99('92','WllE')+_0x1e08d9+',\x22time\x22:'+_0xe3eb86+_0x4a99('93','IfKt')+(dwsj_inc+=0x1)+'}');let _0x5f4805=Post_request(_0x4a99('94','BXh^'),_0x3df56a);return new Promise((_0x4e43dc,_0x58d720)=>{var _0x1453b5={'Qdzob':_0x31c643[_0x4a99('95','NRIZ')],'IIywh':_0x31c643[_0x4a99('96','!rLr')],'IGVBU':_0x31c643[_0x4a99('97','NRIZ')],'GuNGs':_0x31c643[_0x4a99('98','rP*P')],'oVeRn':'com.sdw.money.cat','GvTFW':_0x31c643[_0x4a99('99','QRoW')],'dtqPr':_0x31c643['TrWPs']};if(_0x31c643[_0x4a99('9a','WIPj')]!=='FQAQd'){console['log']('\x0a【soy脚本提示---账号\x20'+$[_0x4a99('9b','aMKP')]+_0x4a99('9c','wpR8')+result[_0x4a99('1a','D9Q(')]);}else{$['post'](_0x5f4805,async(_0x33b3c2,_0x52453c,_0x3f04d8)=>{try{if(_0x31c643['kwMWv']!==_0x31c643[_0x4a99('9d','*LVF')]){if(_0x33b3c2){if(_0x31c643['YfXQd'](_0x4a99('9e','n(8B'),_0x31c643[_0x4a99('9f','rVZp')])){console[_0x4a99('a0','k3*I')](_0x4a99('a1','*LVF')+$[_0x4a99('a2','WIPj')]+_0x4a99('a3','WIPj'));subTitle+=_0x4a99('a1','*LVF')+$[_0x4a99('a4','xpJb')]+'\x20转赠】:\x20网络请求失败';}else{main_user_account=result[_0x4a99('a5','rP*P')][_0x4a99('a6','!lKT')][_0x4a99('a7','WXcx')];}}else{if(_0x31c643[_0x4a99('a8','WIPj')]('tJZZh',_0x31c643[_0x4a99('a9','p]@4')])){let _0x5c4b04=JSON[_0x4a99('aa','nTy#')](_0x3f04d8);if(_0x31c643[_0x4a99('ab','bIzO')](_0x5c4b04[_0x4a99('ac','3*^x')],0x1)){if(_0x31c643[_0x4a99('ad','WllE')]('YGqYQ',_0x31c643['GYshL'])){console['log'](_0x4a99('ae','M]Lm')+$[_0x4a99('af','mCV1')]+_0x4a99('b0','BXh^')+_0x5c4b04['message']);}else{console['log']('\x0a【soy脚本提示---账号\x20'+$[_0x4a99('b1','V9zZ')]+_0x4a99('b2','k3*I')+_0x5c4b04[_0x4a99('b3','mnmA')]);}}else{if('dMpVe'!==_0x31c643[_0x4a99('b4','wpR8')]){let _0x10c5d7='https://sdsj.shandw.com/';return{'url':'http://49.233.246.33:18081/'+url,'headers':{'Host':_0x1453b5[_0x4a99('b5','k3*I')],'Connection':_0x1453b5[_0x4a99('b6','D9Q(')],'Content-Length':0x0,'Pragma':_0x4a99('b7','j7cn'),'Cache-Control':_0x1453b5['IGVBU'],'authId':user_ID,'Authorization':token,'User-Agent':dwsj_UA,'Content-Type':'application/json;charset=UTF-8','Accept':_0x4a99('b8','p(A8'),'Origin':_0x1453b5[_0x4a99('b9','NUAF')],'X-Requested-With':_0x1453b5[_0x4a99('ba','rxU7')],'Sec-Fetch-Site':_0x4a99('bb','b$c['),'Sec-Fetch-Mode':_0x1453b5[_0x4a99('bc','!rLr')],'Sec-Fetch-Dest':'empty','Referer':'http://sdsjcli.shandw.com/','Accept-Encoding':_0x1453b5[_0x4a99('bd','WIPj')],'Accept-Language':'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7'}};}else{console[_0x4a99('be','Bd&q')](_0x4a99('bf','RZQ%')+$[_0x4a99('c0','RZQ%')]+'\x20转赠】:\x20'+_0x5c4b04['message']);}}}else{variable_num='_'+variable_num;}}}else{console[_0x4a99('c1','SM&D')](_0x4a99('7b','p]@4')+$['index']+_0x4a99('c2','WXcx'));subTitle+='\x0a【soy脚本提示---账号\x20'+$[_0x4a99('c3','FOjx')]+_0x4a99('c4','p(A8');}}catch(_0x8b4b97){if(_0x31c643[_0x4a99('c5','bIzO')](_0x31c643[_0x4a99('c6','WXcx')],_0x31c643[_0x4a99('c7','qoum')])){console[_0x4a99('c8','WllE')](_0x8b4b97,_0x52453c);}else{console[_0x4a99('c9','mCV1')](_0x8b4b97,_0x52453c);}}finally{_0x31c643['Rwcih'](_0x4e43dc);}});}});}function Post_request(_0x3dc6ff,_0x37d3e3,_0x54b3df){var _0x16107e={'PWFpO':_0x4a99('ca','dT@v'),'xbahK':_0x4a99('cb','R1GQ'),'bBnDK':_0x4a99('cc','gyzQ'),'RgfpL':_0x4a99('cd','gyzQ'),'cSbem':_0x4a99('ce','RZQ%'),'yqExt':_0x4a99('cf','BXh^'),'PProl':_0x4a99('d0','!lKT'),'ijpuU':_0x4a99('d1','gyzQ'),'UOPjz':_0x4a99('d2','rtyc')};return{'url':_0x4a99('d3','WXcx')+_0x3dc6ff,'headers':{'Host':_0x16107e[_0x4a99('d4','aMKP')],'Connection':_0x16107e['xbahK'],'Content-Length':_0x37d3e3[_0x4a99('d5','Bd&q')],'Pragma':_0x16107e['bBnDK'],'Cache-Control':_0x16107e[_0x4a99('d6','mnmA')],'authId':user_ID,'Authorization':dwsj_token,'User-Agent':dwsj_UA,'Content-Type':_0x4a99('d7','p]@4'),'Accept':_0x16107e[_0x4a99('d8','5Ihq')],'Origin':_0x16107e[_0x4a99('d9','QRoW')],'X-Requested-With':_0x16107e['yqExt'],'Sec-Fetch-Site':_0x4a99('da','NleY'),'Sec-Fetch-Mode':_0x16107e['PProl'],'Sec-Fetch-Dest':_0x4a99('db','wpR8'),'Referer':_0x16107e['ijpuU'],'Accept-Encoding':_0x4a99('dc','D9Q('),'Accept-Language':_0x16107e[_0x4a99('dd','Bd&q')]},'body':_0x37d3e3};};function Get_request(_0x55da87){var _0x3a9ca5={'IVaXj':_0x4a99('de','rP*P'),'TGoKj':_0x4a99('df','SM&D'),'GVKrw':_0x4a99('e0','SM&D'),'gZntV':_0x4a99('e1','NleY'),'MhpfZ':_0x4a99('e2','SM&D'),'gMqtQ':'*/*','OPzCE':'http://sdsjcli.shandw.com','sZMAr':_0x4a99('e3','5Ihq'),'XYFro':'empty','dlfbq':_0x4a99('e4','rtyc'),'KMNhU':_0x4a99('e5','rP*P')};let _0x25d743=_0x3a9ca5['IVaXj'];return{'url':_0x4a99('e6','!lKT')+_0x55da87,'headers':{'Host':_0x3a9ca5[_0x4a99('e7','V9zZ')],'Connection':_0x3a9ca5[_0x4a99('e8','5Ihq')],'Content-Length':0x0,'Pragma':_0x3a9ca5[_0x4a99('e9','qZHl')],'Cache-Control':_0x3a9ca5['gZntV'],'authId':user_ID,'Authorization':token,'User-Agent':dwsj_UA,'Content-Type':_0x3a9ca5['MhpfZ'],'Accept':_0x3a9ca5['gMqtQ'],'Origin':_0x3a9ca5[_0x4a99('ea','NUAF')],'X-Requested-With':_0x3a9ca5['sZMAr'],'Sec-Fetch-Site':_0x4a99('eb','5Ihq'),'Sec-Fetch-Mode':'cors','Sec-Fetch-Dest':_0x3a9ca5[_0x4a99('ec','NleY')],'Referer':_0x3a9ca5[_0x4a99('ed','3*^x')],'Accept-Encoding':_0x3a9ca5['KMNhU'],'Accept-Language':_0x4a99('ee','BXh^')}};};function RSA_encryption(_0x494c4d){var _0x47b411={'xXOYM':'3|4|0|2|1','azWhQ':_0x4a99('ef','M]Lm')};var _0xc5eb0e=_0x47b411[_0x4a99('f0','$Jta')][_0x4a99('f1','WIPj')]('|'),_0x4f6616=0x0;while(!![]){switch(_0xc5eb0e[_0x4f6616++]){case'0':_0x4d7f66[_0x4a99('f2','!rLr')](_0x4a99('f3','p(A8'),_0x47b411[_0x4a99('f4','IfKt')]);continue;case'1':return _0x2a7d43;case'2':var _0x2a7d43=_0x4d7f66[_0x4a99('f5','SM&D')](_0x494c4d,_0x4a99('f6','SM&D'));continue;case'3':var _0x4d7f66=new RSA_js();continue;case'4':_0x4d7f66['setOptions']({'encryptionScheme':_0x4a99('f7','QRoW')});continue;}break;}};_0xodT='jsjiami.com.v6';
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)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。