-
Notifications
You must be signed in to change notification settings - Fork 95
/
KuaiShouPronCrack.js
3 lines (3 loc) · 35.2 KB
/
KuaiShouPronCrack.js
1
2
3
var obfuscator="https://t.me/yqc_123";var _0x219d=['wxr0Bu0','BxnN','mgDRm2T1AMvwnq','tNrtr2u','zNvUy3rPB24','twfite8','CMj2yxi','ALvwDhK','Dg9tDhjPBMC','w14GxsSPkYKRwW','r1Hhswu','BhrzwgS','AuK2sw1oDMjtnq','D2fYBG','sLPdstznAKeZtG','rM5KA2u','x19WCM90B19F','Aw9U','A0n0yLi','yMLUza','AgrxuwLpAuP3za','DxDSrgu','weLfBei','Dhf1B08','v0X0v1m','EhneEMy','5B+R5OMl57QM54kUiefSBcbd','mtu4mdKZmfPmEgrvza','tuzlrNy','BgviqwLpAKuYtW','ze5HBNe','rgSYtMPnEu9usq','CMfJAYbPBIbODa','sg1ly0O','DezryLO','ExruA0q','sK50shm','AenSv0K','CLbjr1m','AwryuJbAwePTyG','zMXxwuS','r3bcyuu','zNvUy3rPB24GkG','uenTwgC','B2jQzwn0','AKzfwMO','xcGGkLWP','Au9PsMHJmMXUyG','v0PZyvDnAuXdsG','mtnmwNnqs1q','qNnuAuy','AKHWrve','r1fWDeS','mte4D0DWALjU','zKrAAuq','EgHbEfC','C1Dmt3O','z0D3r24','rNHpsxq','AKXJveW','t0r6Dgy','DgvZDa','y2HHAw4','zMXRy1m','mJC0otLZyKLIu0i','mKvTELvmqW','l3LXy18XmJm','DxjS','Dw5KzwzPBMvK','qMPQAfq','Cu92vwe','zgPitKm','yxv0Ag9YAxPHDa','nhWWFdv8mNWZFa','CKPmy2u','ugX3BLO','CfHwq0O5lMv5sG','DhjHy2u','rejeCwe','zxLkAgjhy2LpAq','Aw5MBW','zxf4De0','AxbkEMS','D2jYAuqWv3jjtG','ngz1wgzYrwjYvG','pL8G5A6m5Pw054Mi6kEg6Akr6zo+5O6L','CfPIzfO','uMvNrxHW','r2nJz2G','DhbZoI8VDc5Tzq','mc05ys16qs1AxW','txnfvK8','s2zVz1u','BgvUz3rO','CKf6swW','5y+V6lEZ6l2S6kEc55YlipcFLj4','ys16qs1AxYrDwW','C3rYAw5N','twLNtvu','Cun5D0m','qKPpuuW','EKznr3G','B2DMu0C','C0LTBhPJm1zSyW','AgfZt3DUuhjVCa','sgTPtenkEMrxsq','yNnTBui','C1rZEvu','mvvevMD6vW','C3bSAxq','sw5snwndstzjAW','ohbmCtbUzeW0wq','yxbWBhK','ufzSzu0','AuLZsw5wELPysG','xcTCkYaQkd86wW','mZqYmZaWyuj0qvLr','zxHJzxb0Aw9U','zw5JEei','mJK5mJa5BhbOuwHt','sNr0yNG','ChjVDg90ExbL','xIbDFq','r29uEuq','mvP3EezmEG','yKf5u0C','Aw5PDa','qw5wCxa','Bg9N','y29UC3rYDwn0BW','y29UC29Szq','zg9Uzq','DLLtBvq','AvjXCKC','C3viCM8','zxj0Eq','mJyZnJm4m3DmthbAta','otaWm3nWDMzutW','pL8G54k55yE75lIa5lIl5Q2K6ycA55+L','q1PIs0u','s0H3BNe','ntC5mtG1qwHNB3fd','tNPpuLG','vhj3weK','CLDHAgi','Aw5WDxq','mvryteLNvG','wMDJCum','sKLvEKKXtMLjCW','AgvHzgvYCW','EgfNDei','zM9sthi','B1n4BgG','xIHBxIbDkYGGkW','DgfIBgu','v25RzvK','Burorhy','jf0Qkq','zxjYB3i','Eer2uwy','shfRwwW','ENjjwKy','vNH4rLy','AK14twPKos5Yoa','5BEY5OUM5OIQ5OIq5yQFiokyOo+4JW'];(function(_0x516fb3,_0x50faec){function _0x5ad820(_0x2688d8,_0x8d0519,_0x8f937e,_0x333e6a){return _0xdc0a(_0x8d0519-0x22f,_0x8f937e);}function _0x36e649(_0x5ea7c5,_0x5be056,_0x146fed,_0x5513d8){return _0xdc0a(_0x5513d8- -0x37e,_0x146fed);}while(!![]){try{var _0x26a111=parseInt(_0x36e649(-0x1a3,-0x172,-0x1ad,-0x19f))+-parseInt(_0x36e649(-0x1a0,-0x164,-0x14e,-0x18a))*-parseInt(_0x36e649(-0x175,-0x18a,-0x16c,-0x139))+parseInt(_0x5ad820(0x3f9,0x416,0x45c,0x41f))*-parseInt(_0x5ad820(0x3df,0x411,0x444,0x44f))+-parseInt(_0x36e649(-0x125,-0x128,-0xe1,-0x12e))*parseInt(_0x36e649(-0x187,-0xf8,-0x152,-0x13d))+-parseInt(_0x5ad820(0x455,0x427,0x445,0x401))*-parseInt(_0x5ad820(0x4cf,0x480,0x44a,0x43f))+parseInt(_0x36e649(-0x198,-0x152,-0x19b,-0x181))*parseInt(_0x5ad820(0x427,0x45a,0x437,0x465))+-parseInt(_0x5ad820(0x3e2,0x422,0x414,0x3f2))*parseInt(_0x5ad820(0x487,0x4ab,0x4a8,0x45c));if(_0x26a111===_0x50faec)break;else _0x516fb3['push'](_0x516fb3['shift']());}catch(_0x508c33){_0x516fb3['push'](_0x516fb3['shift']());}}}(_0x219d,-0x42554+-0x19966d+0x4*0xaaddf));var _0x443d52=function(){var _0x1f0270={};_0x1f0270[_0x13437c(0x21f,0x28e,0x269,0x2ba)]=_0x185b1d(0x45f,0x4a5,0x49b,0x465);var _0x3d1a6f=_0x1f0270,_0x2c3eb7=!![];function _0x13437c(_0x25b027,_0x45c10b,_0x2811bb,_0x5291e3){return _0xdc0a(_0x2811bb-0x33,_0x45c10b);}function _0x185b1d(_0x20eab9,_0x318347,_0x310b11,_0x29789c){return _0xdc0a(_0x20eab9-0x205,_0x318347);}return function(_0x48468f,_0x4f1d72){var _0x4c6656={};function _0x322340(_0x4cc0d5,_0x188c68,_0x44ab16,_0x396e0b){return _0x13437c(_0x4cc0d5-0xef,_0x44ab16,_0x188c68-0x164,_0x396e0b-0x115);}_0x4c6656[_0x2f697c(-0x67,-0xbc,-0x91,-0xb3)]=_0x3d1a6f[_0x2f697c(-0x43,-0xa1,-0x33,-0x7b)];function _0x2f697c(_0x2ef766,_0x550742,_0x4cb6d8,_0xa160cd){return _0x13437c(_0x2ef766-0x166,_0x4cb6d8,_0xa160cd- -0x2e4,_0xa160cd-0x14d);}var _0x125719=_0x4c6656,_0x22bb76=_0x2c3eb7?function(){function _0x1cb964(_0x519db0,_0x10611d,_0x105f69,_0x52736d){return _0x322340(_0x519db0-0x5e,_0x519db0- -0x2a5,_0x105f69,_0x52736d-0x161);}function _0x2550c3(_0x33e1c8,_0x3a4b2e,_0x5ed87c,_0x25acc9){return _0x322340(_0x33e1c8-0x15a,_0x25acc9- -0x232,_0x33e1c8,_0x25acc9-0x104);}if(_0x4f1d72){if(_0x2550c3(0x20e,0x1cf,0x189,0x1bf)!==_0x125719[_0x2550c3(0x120,0x128,0x190,0x163)])_0x1106af();else{var _0x3fc269=_0x4f1d72[_0x1cb964(0x172,0x128,0x145,0x13f)](_0x48468f,arguments);return _0x4f1d72=null,_0x3fc269;}}}:function(){};return _0x2c3eb7=![],_0x22bb76;};}(),_0x361411=_0x443d52(this,function(){var _0x5299e4={'ltYXk':_0x3c9c72(0x248,0x259,0x278,0x26d)+_0x1f672c(0x48c,0x4d2,0x4aa,0x4a6)+_0x3c9c72(0x229,0x1eb,0x204,0x23c),'PCmXg':function(_0x517e8b,_0xde6427){return _0x517e8b!==_0xde6427;},'WnkeY':_0x3c9c72(0x298,0x246,0x298,0x28d),'flWYK':function(_0x1b289a,_0x4f6611){return _0x1b289a===_0x4f6611;},'ytTkD':_0x3c9c72(0x280,0x266,0x2a4,0x256),'GoTyD':_0x1f672c(0x487,0x4c8,0x48c,0x490),'zFMGx':function(_0x141add){return _0x141add();}};function _0x1f672c(_0x2a5613,_0x125bf3,_0x4061b2,_0x55e834){return _0xdc0a(_0x2a5613-0x273,_0x4061b2);}var _0x8a7750=_0x5299e4[_0x1f672c(0x4ae,0x4d2,0x4c6,0x4ee)](typeof window,_0x5299e4[_0x1f672c(0x479,0x4a5,0x45f,0x49c)])?window:_0x5299e4[_0x1f672c(0x4ab,0x4ac,0x4e7,0x486)](typeof process,_0x5299e4[_0x1f672c(0x4a6,0x46f,0x4bb,0x4a2)])&&_0x5299e4[_0x3c9c72(0x27c,0x239,0x23c,0x270)](typeof require,_0x5299e4[_0x1f672c(0x459,0x444,0x446,0x423)])&&typeof global===_0x3c9c72(0x280,0x2cc,0x2ab,0x29d)?global:this,_0x201774=function(){function _0x663790(_0x431a4a,_0x51cffe,_0x1a1034,_0x435075){return _0x1f672c(_0x51cffe-0xae,_0x51cffe-0x54,_0x1a1034,_0x435075-0x38);}var _0x15d4b6=new _0x8a7750[(_0x663790(0x557,0x588,0x5b2,0x5af))](_0x5299e4[_0x2793e0(-0x140,-0x141,-0x115,-0x16e)]);function _0x2793e0(_0x53fb06,_0x501fea,_0x5296fe,_0x568821){return _0x1f672c(_0x53fb06- -0x5ce,_0x501fea-0x8f,_0x568821,_0x568821-0xdc);}return!_0x15d4b6[_0x2793e0(-0x10e,-0x132,-0xcf,-0x126)](_0x361411);};function _0x3c9c72(_0x4784d0,_0x541030,_0x2a20ea,_0x959d26){return _0xdc0a(_0x4784d0-0x44,_0x541030);}return _0x5299e4[_0x3c9c72(0x2b9,0x276,0x2ac,0x2ab)](_0x201774);});_0x361411();var _0x4a3958=function(){var _0x4f3a12=!![];return function(_0x1b459b,_0x446629){var _0x42568a=_0x4f3a12?function(){function _0x342005(_0x691527,_0x3cd34c,_0x10e876,_0x14d20b){return _0xdc0a(_0x10e876- -0x2f4,_0x691527);}if(_0x446629){var _0x53f808=_0x446629[_0x342005(-0xbf,-0x48,-0x74,-0x38)](_0x1b459b,arguments);return _0x446629=null,_0x53f808;}}:function(){};return _0x4f3a12=![],_0x42568a;};}();(function(){function _0x20b5c3(_0x1fdb7a,_0x4c8389,_0x21068d,_0x4463d6){return _0xdc0a(_0x4c8389-0x16c,_0x21068d);}var _0x20f9ab={'kCtbR':_0x435d54(-0x42,-0xc,-0x57,-0x5c)+_0x20b5c3(0x39f,0x3aa,0x3ef,0x3ae),'jLcTL':_0x435d54(-0x58,-0x68,-0x3c,-0x6a)+_0x20b5c3(0x42c,0x3dc,0x3bb,0x38d)+_0x20b5c3(0x403,0x3d6,0x38b,0x409)+_0x435d54(-0x31,-0x3e,0x9,-0x33),'qOvUa':function(_0x5ca8c8,_0x3b3768){return _0x5ca8c8(_0x3b3768);},'NzORX':_0x20b5c3(0x344,0x355,0x317,0x371),'FxOIt':_0x20b5c3(0x3a7,0x3ba,0x382,0x3f1),'Gccgh':function(_0x362764,_0x54b93f){return _0x362764+_0x54b93f;},'AnVqp':_0x20b5c3(0x343,0x368,0x3ba,0x3a9),'xagtB':function(_0x56d940,_0x44e73f){return _0x56d940(_0x44e73f);},'oSxlh':function(_0x575c07,_0x3b696f){return _0x575c07!==_0x3b696f;},'bsmmB':_0x20b5c3(0x3ab,0x36e,0x340,0x3ad),'MigMU':function(_0x4562a){return _0x4562a();},'qCywC':function(_0x577bc8,_0xe2672c,_0x384ff5){return _0x577bc8(_0xe2672c,_0x384ff5);}};function _0x435d54(_0x4d33c9,_0x3cbcd1,_0xb2f1c6,_0x33b7bb){return _0xdc0a(_0x3cbcd1- -0x246,_0x33b7bb);}_0x20f9ab[_0x20b5c3(0x402,0x3df,0x3fb,0x3d6)](_0x4a3958,this,function(){function _0x5cb8cd(_0x32d96f,_0x25abb4,_0xbf2939,_0x44d90f){return _0x435d54(_0x32d96f-0xd7,_0x44d90f- -0x10b,_0xbf2939-0x1bd,_0xbf2939);}var _0x27868e=new RegExp(_0x20f9ab[_0x5cb8cd(-0x125,-0x109,-0x179,-0x12f)]);function _0x4dba88(_0x110657,_0x41efb2,_0x14188d,_0x1cfecd){return _0x435d54(_0x110657-0xee,_0x41efb2-0x404,_0x14188d-0x12,_0x14188d);}var _0x56df9b=new RegExp(_0x20f9ab[_0x5cb8cd(-0x129,-0x145,-0x152,-0x106)],'i'),_0x29ee6d=_0x20f9ab[_0x4dba88(0x3d2,0x414,0x462,0x428)](_0x17319c,_0x20f9ab[_0x5cb8cd(-0x19d,-0x19d,-0x144,-0x158)]);if(!_0x27868e[_0x5cb8cd(-0x141,-0xfa,-0x14b,-0x104)](_0x29ee6d+_0x20f9ab[_0x4dba88(0x419,0x408,0x424,0x445)])||!_0x56df9b[_0x5cb8cd(-0xd8,-0x101,-0xb7,-0x104)](_0x20f9ab[_0x4dba88(0x3d4,0x426,0x463,0x3d9)](_0x29ee6d,_0x20f9ab[_0x4dba88(0x39e,0x3a8,0x3e2,0x3b3)])))_0x20f9ab[_0x4dba88(0x410,0x3bf,0x409,0x3fa)](_0x29ee6d,'0');else{if(_0x20f9ab[_0x4dba88(0x3b6,0x3c1,0x3a2,0x413)](_0x5cb8cd(-0x19b,-0x159,-0x15f,-0x14f),_0x20f9ab[_0x4dba88(0x44b,0x438,0x413,0x412)])){var _0x5c8f51=_0xe0c162[_0x5cb8cd(-0xa0,-0xdd,-0xbc,-0xd1)](_0x23c121,arguments);return _0x2d3f21=null,_0x5c8f51;}else _0x20f9ab[_0x4dba88(0x417,0x430,0x3fe,0x431)](_0x17319c);}})();}());var _0x179a4f=function(){var _0x4db769={};_0x4db769[_0x276521(0x3ec,0x44c,0x435,0x462)]=function(_0x5d0683,_0x463307){return _0x5d0683===_0x463307;},_0x4db769[_0x1b1791(0xc,0x42,0x12,0x7f)]=_0x276521(0x3e8,0x3b4,0x3da,0x3b2),_0x4db769[_0x1b1791(0x20,0x24,0x28,0x4a)]=_0x276521(0x413,0x3fb,0x44a,0x42c);function _0x276521(_0x395c9f,_0x4e6d0b,_0x195338,_0x132209){return _0xdc0a(_0x195338-0x1e9,_0x132209);}_0x4db769[_0x1b1791(0x60,0x83,0x43,0x48)]=function(_0x1b0280,_0x8e8c61){return _0x1b0280!==_0x8e8c61;},_0x4db769[_0x276521(0x45d,0x495,0x457,0x429)]=_0x1b1791(0x4d,0x2c,0x6d,0x30);var _0x565c4f=_0x4db769,_0xb47408=!![];function _0x1b1791(_0xcb4419,_0x5130bd,_0x479ca5,_0x501a89){return _0xdc0a(_0x5130bd- -0x1f3,_0xcb4419);}return function(_0x46fa21,_0x6536fb){function _0x5c4408(_0x45b617,_0x46ba29,_0x5cb132,_0x386556){return _0x1b1791(_0x45b617,_0x46ba29-0x98,_0x5cb132-0xb,_0x386556-0x9b);}function _0x4cca18(_0x350a54,_0x2cfbfc,_0x1df23b,_0xeedfc7){return _0x276521(_0x350a54-0x11a,_0x2cfbfc-0xeb,_0x350a54- -0x5c4,_0x2cfbfc);}if(_0x565c4f[_0x5c4408(0x169,0x11b,0xee,0xcc)](_0x565c4f[_0x5c4408(0x138,0x113,0x11e,0x149)],_0x4cca18(-0x1ce,-0x1b4,-0x214,-0x20f))){var _0x17562c=_0xb47408?function(){function _0xf25bef(_0x5eefa7,_0x4b83ac,_0x469fce,_0x44d522){return _0x4cca18(_0x4b83ac-0x2c8,_0x5eefa7,_0x469fce-0x1e6,_0x44d522-0x1d7);}function _0x17f4fd(_0x5a5563,_0x467c0c,_0x5505c7,_0x29581d){return _0x5c4408(_0x5a5563,_0x29581d- -0x1f6,_0x5505c7-0x8f,_0x29581d-0x1b1);}if(_0x6536fb){if(_0x565c4f[_0xf25bef(0x158,0x139,0x183,0x101)](_0x565c4f[_0x17f4fd(-0x109,-0x111,-0x13a,-0x11c)],_0x565c4f[_0xf25bef(0xf8,0x104,0x149,0x12e)])){if(_0x5030e3){var _0x1ee19e=_0x12762a[_0xf25bef(0x15f,0x16d,0x1bd,0x11d)](_0x5c3d6b,arguments);return _0x31ee15=null,_0x1ee19e;}}else{var _0x4b47fe=_0x6536fb[_0xf25bef(0x183,0x16d,0x1a5,0x1b8)](_0x46fa21,arguments);return _0x6536fb=null,_0x4b47fe;}}}:function(){};return _0xb47408=![],_0x17562c;}else{var _0x299477=_0x2ecbf9[_0x5c4408(0xff,0x125,0x175,0x10d)](_0x407972,arguments);return _0x398de9=null,_0x299477;}};}(),_0x570ddf=_0x179a4f(this,function(){var _0x624539={};_0x624539[_0x4c7be4(0x506,0x4e7,0x4f3,0x4ff)]=function(_0x1f51b9,_0x59b044){return _0x1f51b9!==_0x59b044;},_0x624539[_0x4c7be4(0x530,0x52c,0x578,0x54c)]=_0x4c7be4(0x540,0x588,0x517,0x533),_0x624539[_0x4c7be4(0x4e7,0x50f,0x511,0x4f2)]=function(_0x49b85b,_0x27eed4){return _0x49b85b===_0x27eed4;};function _0x4c7be4(_0x9bc21e,_0x35f321,_0x241bf6,_0x125dad){return _0xdc0a(_0x9bc21e-0x2ec,_0x35f321);}_0x624539[_0x595bce(0x303,0x309,0x300,0x31e)]=_0x4c7be4(0x500,0x4b9,0x506,0x539),_0x624539[_0x4c7be4(0x502,0x548,0x518,0x4c7)]=_0x595bce(0x375,0x364,0x380,0x347),_0x624539[_0x595bce(0x30f,0x321,0x32b,0x339)]=_0x595bce(0x2ab,0x2e5,0x2cb,0x2f6),_0x624539[_0x4c7be4(0x567,0x57f,0x57f,0x55a)]=_0x4c7be4(0x509,0x511,0x539,0x4ea),_0x624539[_0x595bce(0x33b,0x325,0x355,0x344)]=_0x595bce(0x36c,0x365,0x38f,0x36b),_0x624539[_0x595bce(0x2de,0x324,0x35f,0x320)]=_0x595bce(0x311,0x301,0x337,0x314),_0x624539[_0x4c7be4(0x533,0x51a,0x539,0x56d)]=_0x595bce(0x302,0x315,0x2cd,0x310),_0x624539[_0x595bce(0x325,0x358,0x36d,0x353)]=_0x595bce(0x334,0x384,0x362,0x368),_0x624539[_0x595bce(0x3da,0x352,0x373,0x38c)]=_0x4c7be4(0x518,0x519,0x537,0x4ce),_0x624539[_0x4c7be4(0x54a,0x50b,0x4fc,0x537)]=_0x595bce(0x2ff,0x30c,0x320,0x317),_0x624539[_0x595bce(0x2d3,0x2d7,0x2be,0x305)]=_0x595bce(0x325,0x337,0x345,0x364)+'1';var _0x5d5924=_0x624539;function _0x595bce(_0x121310,_0x34786d,_0x663a6b,_0x48dd69){return _0xdc0a(_0x48dd69-0x10b,_0x663a6b);}var _0x2d4e43=_0x5d5924[_0x595bce(0x357,0x35e,0x31a,0x325)](typeof window,_0x5d5924[_0x595bce(0x379,0x396,0x322,0x34f)])?window:_0x5d5924[_0x4c7be4(0x4e7,0x4c8,0x4c3,0x539)](typeof process,_0x4c7be4(0x528,0x516,0x566,0x540))&&typeof require===_0x5d5924[_0x595bce(0x35e,0x2df,0x308,0x31e)]&&typeof global===_0x5d5924[_0x595bce(0x2f8,0x2ec,0x325,0x321)]?global:this,_0x5da467=_0x2d4e43[_0x595bce(0x2f1,0x2a7,0x2d1,0x2f8)]=_0x2d4e43[_0x4c7be4(0x4d9,0x4a5,0x4ca,0x500)]||{},_0x5173b3=[_0x5d5924[_0x595bce(0x2ef,0x2fb,0x37c,0x339)],_0x5d5924[_0x595bce(0x37a,0x3c2,0x387,0x386)],_0x5d5924[_0x4c7be4(0x525,0x56b,0x53c,0x52f)],_0x5d5924[_0x4c7be4(0x501,0x4b7,0x513,0x4ec)],_0x595bce(0x313,0x320,0x2f9,0x2eb),_0x5d5924[_0x4c7be4(0x533,0x514,0x53f,0x570)],_0x5d5924[_0x595bce(0x32d,0x36b,0x382,0x353)]];for(var _0x4a3c39=0x2*0x2ec+0x1499+0x7*-0x3c7;_0x4a3c39<_0x5173b3[_0x595bce(0x398,0x3b5,0x386,0x378)];_0x4a3c39++){if(_0x5d5924[_0x595bce(0x321,0x2b5,0x2f2,0x306)](_0x5d5924[_0x595bce(0x3cf,0x39f,0x367,0x38c)],_0x5d5924[_0x595bce(0x3ba,0x352,0x322,0x369)])){if(_0x14d2bf){var _0x2d84e9=_0x57bc0e[_0x4c7be4(0x56c,0x5bc,0x571,0x547)](_0x2a4878,arguments);return _0x5816d2=null,_0x2d84e9;}}else{var _0x39c80e=_0x5d5924[_0x595bce(0x2be,0x338,0x34a,0x305)][_0x595bce(0x3d6,0x396,0x3b3,0x388)]('|'),_0x27227f=-0x85a+-0xa9b*-0x1+0x241*-0x1;while(!![]){switch(_0x39c80e[_0x27227f++]){case'0':var _0x4c712b=_0x5173b3[_0x4a3c39];continue;case'1':_0x5da467[_0x4c712b]=_0x492231;continue;case'2':_0x492231[_0x4c7be4(0x50c,0x4c2,0x4dd,0x4d4)]=_0x179a4f[_0x4c7be4(0x50f,0x527,0x505,0x4df)](_0x179a4f);continue;case'3':_0x492231[_0x4c7be4(0x504,0x4fc,0x4d3,0x51a)]=_0x18bd89[_0x595bce(0x311,0x328,0x342,0x323)][_0x4c7be4(0x50f,0x554,0x554,0x52c)](_0x18bd89);continue;case'4':var _0x492231=_0x179a4f[_0x595bce(0x343,0x2ac,0x2f9,0x2f7)+'r'][_0x595bce(0x2f0,0x33c,0x2a3,0x2ef)][_0x4c7be4(0x50f,0x515,0x4f3,0x540)](_0x179a4f);continue;case'5':var _0x18bd89=_0x5da467[_0x4c712b]||_0x492231;continue;}break;}}}});_0x570ddf();function _0xdc0a(_0x9ce634,_0x12b7a5){return _0xdc0a=function(_0x73510d,_0x153097){_0x73510d=_0x73510d-(0x23dd*0x1+0x7c7+-0x14e3*0x2);var _0x297973=_0x219d[_0x73510d];if(_0xdc0a['OgzlDT']===undefined){var _0x4fb0d7=function(_0x3e8aeb){var _0x50192c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5228ef='',_0x2961f4='';for(var _0x1dfbe7=0x2*0xadf+-0x1*-0x158f+-0x2b4d,_0x5d8b29,_0x2eef23,_0x58a4ca=0x197c+-0xe7a+-0xb02;_0x2eef23=_0x3e8aeb['charAt'](_0x58a4ca++);~_0x2eef23&&(_0x5d8b29=_0x1dfbe7%(0xd93+-0xb35+-0x2*0x12d)?_0x5d8b29*(-0x12d5+0x1*-0xfd9+0x2*0x1177)+_0x2eef23:_0x2eef23,_0x1dfbe7++%(-0x16ed+-0x1*0x165a+-0xf19*-0x3))?_0x5228ef+=String['fromCharCode'](-0x59*-0x66+-0x2c5*0x5+-0x149e&_0x5d8b29>>(-(-0x20e2+-0x1*0x12fb+0x769*0x7)*_0x1dfbe7&-0x1*-0x18d3+0x1*-0x1532+-0xd*0x47)):-0x1*0xad3+0x6*0x289+-0x463){_0x2eef23=_0x50192c['indexOf'](_0x2eef23);}for(var _0x430566=0x1b02+-0x39*0x9d+0x25*0x37,_0xeba724=_0x5228ef['length'];_0x430566<_0xeba724;_0x430566++){_0x2961f4+='%'+('00'+_0x5228ef['charCodeAt'](_0x430566)['toString'](-0x1063+-0x218d+0x3200))['slice'](-(0x7ef+-0x1f22+-0x1*-0x1735));}return decodeURIComponent(_0x2961f4);};_0xdc0a['FpFBEf']=_0x4fb0d7,_0x9ce634=arguments,_0xdc0a['OgzlDT']=!![];}var _0x123dc1=_0x219d[0x1af0+0x785+-0x2275],_0x39c388=_0x73510d+_0x123dc1,_0x145521=_0x9ce634[_0x39c388];if(!_0x145521){var _0x2f8229=function(_0x5426cc){this['yaOvrt']=_0x5426cc,this['qKTqJI']=[0x9*-0x213+-0x533+0x17df,-0x5*-0x44d+0xe*0x232+-0x343d*0x1,-0x1aea+0x1c9b*-0x1+0x3785*0x1],this['UivBUT']=function(){return'newState';},this['QIXrGZ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['EtbcVU']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2f8229['prototype']['AyEbfL']=function(){var _0x43f5fd=new RegExp(this['QIXrGZ']+this['EtbcVU']),_0x44b032=_0x43f5fd['test'](this['UivBUT']['toString']())?--this['qKTqJI'][-0x25c+-0xb26+0xd83]:--this['qKTqJI'][0x11+0xdee+-0xdff];return this['HFMMJN'](_0x44b032);},_0x2f8229['prototype']['HFMMJN']=function(_0x1106af){if(!Boolean(~_0x1106af))return _0x1106af;return this['cSscqe'](this['yaOvrt']);},_0x2f8229['prototype']['cSscqe']=function(_0x264183){for(var _0x44f961=-0x1e7b+0x1512+0x969,_0x64e4bb=this['qKTqJI']['length'];_0x44f961<_0x64e4bb;_0x44f961++){this['qKTqJI']['push'](Math['round'](Math['random']())),_0x64e4bb=this['qKTqJI']['length'];}return _0x264183(this['qKTqJI'][0x1470+-0x1e4e+0x6*0x1a5]);},new _0x2f8229(_0xdc0a)['AyEbfL'](),_0x297973=_0xdc0a['FpFBEf'](_0x297973),_0x9ce634[_0x39c388]=_0x297973;}else _0x297973=_0x145521;return _0x297973;},_0xdc0a(_0x9ce634,_0x12b7a5);}const hausd0rff=_0x561c0b(0x278,0x276,0x293,0x29f)+_0x561c0b(0x2c9,0x2ae,0x299,0x2bf)+_0x1a6479(0x3db,0x3cb,0x3a2,0x3b7)+_0x1a6479(0x3a0,0x3b4,0x406,0x3bf),$=new Env(hausd0rff);function _0x1a6479(_0x2bb923,_0x319a7b,_0x2a9cc7,_0x439e3d){return _0xdc0a(_0x319a7b-0x162,_0x2a9cc7);}var urlq=$request[_0x1a6479(0x3c2,0x3b5,0x38d,0x3d7)],head=$request[_0x1a6479(0x36c,0x362,0x38b,0x32b)],auth=_0x561c0b(0x305,0x2b4,0x2c8,0x2ba)+_0x1a6479(0x3ae,0x361,0x3a5,0x352)+_0x561c0b(0x2c0,0x302,0x2e7,0x295)+_0x1a6479(0x3f2,0x3be,0x3ad,0x38d)+_0x561c0b(0x257,0x29b,0x28d,0x283)+_0x1a6479(0x3eb,0x3a2,0x352,0x366)+_0x561c0b(0x2d4,0x24f,0x296,0x26d)+_0x1a6479(0x3a0,0x391,0x3c3,0x386)+_0x1a6479(0x3eb,0x3d9,0x40f,0x3f9)+_0x561c0b(0x2b6,0x254,0x285,0x2b3)+_0x561c0b(0x271,0x257,0x2a0,0x269)+_0x561c0b(0x2ed,0x2bd,0x2e2,0x32e)+_0x1a6479(0x388,0x3a1,0x3a9,0x3d6)+_0x1a6479(0x3f0,0x3e4,0x3ba,0x3ba)+_0x1a6479(0x35a,0x380,0x3a7,0x363)+_0x561c0b(0x298,0x241,0x277,0x2ad)+_0x561c0b(0x295,0x2e5,0x2e8,0x321)+_0x561c0b(0x2b6,0x29b,0x2cc,0x2f3)+_0x561c0b(0x2a1,0x290,0x2cd,0x2f9)+_0x1a6479(0x3c7,0x374,0x36e,0x3c6)+'0';setInterval(function(){var _0x2d9897={'BJOQL':function(_0x3f1262){return _0x3f1262();}};function _0x36a950(_0x1a1239,_0x29c575,_0x293585,_0x223e7d){return _0x561c0b(_0x1a1239-0x120,_0x29c575-0x12f,_0x293585- -0x320,_0x1a1239);}_0x2d9897[_0x36a950(-0x89,-0x7a,-0x43,-0x21)](_0x17319c);},0x25f9+0xa46*-0x1+-0xc13);if(head[_0x561c0b(0x2fc,0x2be,0x2e1,0x2b2)+_0x1a6479(0x3a5,0x354,0x38f,0x353)](_0x1a6479(0x3f5,0x3ba,0x3b2,0x40b)+_0x1a6479(0x363,0x383,0x361,0x378)))$[_0x561c0b(0x269,0x296,0x27a,0x279)](_0x1a6479(0x39c,0x3c7,0x3e3,0x3cc)+_0x1a6479(0x388,0x371,0x38b,0x32b),_0x561c0b(0x290,0x275,0x25e,0x2a0)+_0x1a6479(0x3ea,0x3d1,0x41c,0x3fd),'',urlq),$[_0x1a6479(0x30e,0x350,0x383,0x31e)]({});else{head[_0x561c0b(0x279,0x280,0x2c1,0x2c9)+_0x561c0b(0x2ca,0x2af,0x28a,0x253)]=auth;var _0x5d1ac1={};_0x5d1ac1[_0x1a6479(0x36a,0x362,0x3a9,0x3a2)]=head,$[_0x1a6479(0x356,0x350,0x307,0x332)](_0x5d1ac1);}function _0x561c0b(_0x4a81d1,_0x5bf34c,_0x39d7c0,_0x297eef){return _0xdc0a(_0x39d7c0-0x69,_0x297eef);}function _0x17319c(_0x152e3d){var _0x5b36fd={'jFEZj':function(_0x415698,_0x2c4fcb){return _0x415698===_0x2c4fcb;},'YttmM':_0x1775c7(-0xf5,-0xdc,-0x100,-0xa2)+_0x3c464b(0x2a2,0x2e6,0x298,0x264)+_0x1775c7(-0x114,-0x11e,-0xcf,-0x153),'WLtWS':_0x1775c7(-0x104,-0xb9,-0x153,-0x109)+_0x3c464b(0x2f8,0x33a,0x2af,0x33a),'HmKcJ':function(_0x3ea165,_0x6f49eb){return _0x3ea165!==_0x6f49eb;},'KHwnq':function(_0x23071c,_0x372191){return _0x23071c===_0x372191;},'CZbKE':_0x1775c7(-0xbd,-0xa3,-0x8b,-0xf1),'MsEVO':function(_0x4b72a1,_0x539aab){return _0x4b72a1===_0x539aab;},'HqkYl':_0x3c464b(0x2fa,0x317,0x315,0x2ac),'BsTiF':function(_0x3a5758){return _0x3a5758();},'pZbdZ':_0x1775c7(-0xa4,-0x77,-0xb0,-0x80),'fDZiD':_0x3c464b(0x2f6,0x2e5,0x33d,0x343),'iRqrG':function(_0x50da30,_0x3d8b30){return _0x50da30===_0x3d8b30;},'Jttbx':function(_0x314d34,_0x39a5ce){return _0x314d34%_0x39a5ce;},'xsDzf':function(_0x56b7b2,_0x3759cb){return _0x56b7b2!==_0x3759cb;},'jHpEQ':_0x3c464b(0x2d2,0x2a8,0x30a,0x31b)};function _0x3c308e(_0x609fa8){var _0x528499={'bAySG':_0x41d1f5(-0xda,-0xdf,-0x117,-0x15f)+_0x41d1f5(-0x133,-0x11c,-0x16d,-0x172),'PlwnZ':_0x5b36fd[_0x41d1f5(-0x1a2,-0x161,-0x154,-0x18d)],'uwlDe':_0x41d1f5(-0x16f,-0x1a1,-0x178,-0x141)+_0x18bf65(-0xec,-0xc0,-0xf4,-0x10e)+_0x41d1f5(-0x174,-0x196,-0x197,-0x177),'XIElB':function(_0x1ba098,_0x10829f){function _0x945df(_0x29c4a3,_0x17c7a1,_0x20895d,_0x3686f7){return _0x41d1f5(_0x17c7a1,_0x17c7a1-0x150,_0x3686f7-0x30f,_0x3686f7-0x167);}return _0x5b36fd[_0x945df(0x1e8,0x1b5,0x215,0x1c4)](_0x1ba098,_0x10829f);},'mDNDv':_0x18bf65(-0xb1,-0xf7,-0x86,-0xee),'tquoO':function(_0x4d0587,_0x367c80){function _0x79e2a6(_0x5a2bfd,_0x10a679,_0x4b3ccd,_0x2872ca){return _0x18bf65(_0x2872ca-0x130,_0x10a679-0x1d9,_0x10a679,_0x2872ca-0x70);}return _0x5b36fd[_0x79e2a6(0x49,0x12,0x40,0x22)](_0x4d0587,_0x367c80);},'KfogU':_0x5b36fd[_0x41d1f5(-0x1a0,-0x1ba,-0x186,-0x13f)],'tFQbZ':_0x18bf65(-0xf1,-0xf1,-0xe2,-0xe2),'vYSmT':function(_0x13d817,_0x1f3b7d){function _0x3af71b(_0x1e146e,_0x3aa65f,_0x186b4a,_0x3aae44){return _0x18bf65(_0x3aa65f-0x60,_0x3aa65f-0x142,_0x186b4a,_0x3aae44-0x149);}return _0x5b36fd[_0x3af71b(-0xa8,-0xae,-0xa3,-0xc3)](_0x13d817,_0x1f3b7d);},'xDvQf':function(_0xc96feb){return _0xc96feb();},'djHNC':function(_0x1b0eab){return _0x1b0eab();}};function _0x41d1f5(_0x3d9c34,_0x160c17,_0x3e5c4a,_0x266882){return _0x3c464b(_0x3e5c4a- -0x405,_0x160c17-0x1df,_0x3d9c34,_0x266882-0x151);}if(_0x5b36fd[_0x41d1f5(-0xe5,-0x154,-0x111,-0xd8)](typeof _0x609fa8,_0x5b36fd[_0x41d1f5(-0x150,-0x15f,-0x171,-0x1b6)])){var _0x366d62=function(){function _0x4efb1b(_0x57a1df,_0x419df9,_0x10f326,_0x5c6dff){return _0x41d1f5(_0x10f326,_0x419df9-0x1b2,_0x419df9-0x1bb,_0x5c6dff-0x7);}function _0x51f52f(_0x3d02f1,_0xbfb5ab,_0x4ec06d,_0xb47f74){return _0x18bf65(_0xb47f74-0x62f,_0xbfb5ab-0x18c,_0x4ec06d,_0xb47f74-0x164);}if(_0x5b36fd[_0x51f52f(0x519,0x559,0x553,0x567)](_0x4efb1b(0x45,0x20,0x44,0x5c),_0x4efb1b(0xb0,0xa1,0x7a,0xa0)))_0x11feee[_0x51f52f(0x578,0x4e8,0x50c,0x53b)](_0x528499[_0x51f52f(0x504,0x512,0x534,0x512)],_0x528499[_0x51f52f(0x59b,0x5c9,0x551,0x585)],'',_0x11174e),_0x31fe19[_0x51f52f(0x54c,0x52c,0x528,0x518)]({});else while(!![]){}};return _0x5b36fd[_0x18bf65(-0xc3,-0xea,-0x114,-0x10b)](_0x366d62);}else{if(_0x5b36fd[_0x41d1f5(-0x120,-0x10e,-0x111,-0x153)](_0x18bf65(-0xb0,-0xfc,-0xa4,-0x9e),_0x5b36fd[_0x41d1f5(-0xcf,-0xf3,-0x116,-0x114)])){if((''+_0x609fa8/_0x609fa8)[_0x5b36fd[_0x18bf65(-0xbf,-0xd6,-0x109,-0xc5)]]!==-0x1e99+-0xb66*0x2+0x2*0x1ab3||_0x5b36fd[_0x41d1f5(-0x1af,-0x163,-0x18c,-0x14e)](_0x5b36fd[_0x18bf65(-0x122,-0x150,-0x10c,-0x10d)](_0x609fa8,0xd15+-0x1f3f+0x3a6*0x5),-0x20d1+0x78d+0x1944)){if(_0x5b36fd[_0x18bf65(-0xdc,-0x10a,-0xad,-0xdb)](_0x41d1f5(-0xf6,-0x134,-0x12d,-0x158),_0x18bf65(-0xb6,-0xa7,-0x99,-0x87))){var _0x51bb77=_0x528499[_0x18bf65(-0xdf,-0xc0,-0x9f,-0x8d)](typeof _0xc18e3e,_0x528499[_0x18bf65(-0xfe,-0x12b,-0x139,-0xc1)])?_0x50a6cb:_0x528499[_0x41d1f5(-0x14a,-0x175,-0x155,-0x1a4)](typeof _0x505f84,_0x528499[_0x18bf65(-0x99,-0xb4,-0x89,-0xdc)])&&_0x528499[_0x41d1f5(-0x18c,-0x16d,-0x155,-0x18c)](typeof _0xa6fe12,_0x528499[_0x41d1f5(-0x15c,-0x181,-0x14a,-0x114)])&&_0x528499[_0x18bf65(-0x116,-0xd1,-0xdc,-0xd2)](typeof _0x586846,_0x528499[_0x18bf65(-0x99,-0xe3,-0xd3,-0x81)])?_0x193739:this,_0x5690a9=function(){function _0x31f6c6(_0x5e3be5,_0x426886,_0x14e386,_0x48aade){return _0x41d1f5(_0x14e386,_0x426886-0x157,_0x48aade-0x293,_0x48aade-0x11a);}var _0x5d979e=new _0x51bb77[(_0x34f73b(0x4a5,0x4ff,0x4d9,0x4ea))](_0x528499[_0x34f73b(0x4df,0x4e1,0x4d6,0x4a8)]);function _0x34f73b(_0x4d9ca1,_0x26a8ff,_0x4f0a25,_0xac7f4d){return _0x41d1f5(_0x26a8ff,_0x26a8ff-0x101,_0xac7f4d-0x5ff,_0xac7f4d-0x1e5);}return!_0x5d979e[_0x34f73b(0x4f5,0x4c5,0x50a,0x4d0)](_0x443dff);};return _0x528499[_0x18bf65(-0xfb,-0x143,-0xd1,-0xfd)](_0x5690a9);}else debugger;}else{if(_0x5b36fd[_0x18bf65(-0x115,-0x165,-0xec,-0x139)](_0x5b36fd[_0x41d1f5(-0x11b,-0x182,-0x139,-0x11c)],_0x18bf65(-0xd1,-0x97,-0xd3,-0x114))){var _0x308156=new _0x395f70[(_0x18bf65(-0x9e,-0xea,-0x8a,-0x83))](_0x5b36fd[_0x41d1f5(-0x1ad,-0x158,-0x16c,-0x17e)]);return!_0x308156[_0x41d1f5(-0x16f,-0x154,-0x12f,-0x10a)](_0x9b0fea);}else debugger;}}else{var _0x5608d0=function(){while(!![]){}};return _0x528499[_0x41d1f5(-0x138,-0xf2,-0x125,-0xfe)](_0x5608d0);}}function _0x18bf65(_0x36d047,_0x3df1d0,_0x1f6290,_0x275780){return _0x1775c7(_0x36d047- -0xc,_0x3df1d0-0x1ce,_0x1f6290-0x1e8,_0x1f6290);}_0x3c308e(++_0x609fa8);}function _0x1775c7(_0x4a0277,_0x84bd7e,_0x277c17,_0x113fea){return _0x1a6479(_0x4a0277-0x1b9,_0x4a0277- -0x45b,_0x113fea,_0x113fea-0x169);}function _0x3c464b(_0x353303,_0x3a96a5,_0x424608,_0x41ea73){return _0x561c0b(_0x353303-0x61,_0x3a96a5-0x56,_0x353303-0x20,_0x424608);}try{if(_0x152e3d)return _0x3c308e;else _0x3c308e(0x14e7+0x1fb*0x11+-0x3692*0x1);}catch(_0x37e799){}}
// 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, a) => { s.call(this, t, (t, s, r) => { t ? a(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.encoding = "utf-8", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `\ud83d\udd14${this.name}, \u5f00\u59cb!`) } getEnv() { return "undefined" != typeof $environment && $environment["surge-version"] ? "Surge" : "undefined" != typeof $environment && $environment["stash-version"] ? "Stash" : "undefined" != typeof module && module.exports ? "Node.js" : "undefined" != typeof $task ? "Quantumult X" : "undefined" != typeof $loon ? "Loon" : "undefined" != typeof $rocket ? "Shadowrocket" : void 0 } isNode() { return "Node.js" === this.getEnv() } isQuanX() { return "Quantumult X" === this.getEnv() } isSurge() { return "Surge" === this.getEnv() } isLoon() { return "Loon" === this.getEnv() } isShadowrocket() { return "Shadowrocket" === this.getEnv() } isStash() { return "Stash" === this.getEnv() } 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 a = this.getdata(t); if (a) 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, a) => e(a)) }) } runScript(t, e) { return new Promise(s => { let a = this.getdata("@chavy_boxjs_userCfgs.httpapi"); a = a ? a.replace(/\n/g, "").trim() : a; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [i, o] = a.split("@"), n = { url: `http://${o}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": i, Accept: "*/*" }, timeout: r }; this.post(n, (t, e, a) => s(a)) }).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), a = !s && this.fs.existsSync(e); if (!s && !a) return {}; { const a = s ? t : e; try { return JSON.parse(this.fs.readFileSync(a)) } 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), a = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : a ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const a = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of a) 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, a) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[a + 1]) >> 0 == +e[a + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, a] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, a, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, a, r] = /^@(.*?)\.(.*?)$/.exec(e), i = this.getval(a), o = a ? "null" === i ? null : i || "{}" : "{}"; try { const e = JSON.parse(o); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), a) } catch (e) { const i = {}; this.lodash_set(i, r, t), s = this.setval(JSON.stringify(i), a) } } else s = this.setval(t, e); return s } getval(t) { switch (this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": return $persistentStore.read(t); case "Quantumult X": return $prefs.valueForKey(t); case "Node.js": return this.data = this.loaddata(), this.data[t]; default: return this.data && this.data[t] || null } } setval(t, e) { switch (this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": return $persistentStore.write(t, e); case "Quantumult X": return $prefs.setValueForKey(t, e); case "Node.js": return this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0; default: return 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 = (() => { })) { switch (t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"], delete t.headers["content-type"], delete t.headers["content-length"]), this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": default: this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, a) => { !t && s && (s.body = a, s.statusCode = s.status ? s.status : s.statusCode, s.status = s.statusCode), e(t, s, a) }); break; case "Quantumult X": this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: a, headers: r, body: i, bodyBytes: o } = t; e(null, { status: s, statusCode: a, headers: r, body: i, bodyBytes: o }, i, o) }, t => e(t && t.error || "UndefinedError")); break; case "Node.js": let s = require("iconv-lite"); 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: a, statusCode: r, headers: i, rawBody: o } = t, n = s.decode(o, this.encoding); e(null, { status: a, statusCode: r, headers: i, rawBody: o, body: n }, n) }, t => { const { message: a, response: r } = t; e(a, r, r && s.decode(r.rawBody, this.encoding)) }) } } post(t, e = (() => { })) { const s = t.method ? t.method.toLocaleLowerCase() : "post"; switch (t.body && t.headers && !t.headers["Content-Type"] && !t.headers["content-type"] && (t.headers["content-type"] = "application/x-www-form-urlencoded"), t.headers && (delete t.headers["Content-Length"], delete t.headers["content-length"]), this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": default: this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient[s](t, (t, s, a) => { !t && s && (s.body = a, s.statusCode = s.status ? s.status : s.statusCode, s.status = s.statusCode), e(t, s, a) }); break; case "Quantumult X": t.method = s, this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: a, headers: r, body: i, bodyBytes: o } = t; e(null, { status: s, statusCode: a, headers: r, body: i, bodyBytes: o }, i, o) }, t => e(t && t.error || "UndefinedError")); break; case "Node.js": let a = require("iconv-lite"); this.initGotEnv(t); const { url: r, ...i } = t; this.got[s](r, i).then(t => { const { statusCode: s, statusCode: r, headers: i, rawBody: o } = t, n = a.decode(o, this.encoding); e(null, { status: s, statusCode: r, headers: i, rawBody: o, body: n }, n) }, t => { const { message: s, response: r } = t; e(s, r, r && a.decode(r.rawBody, this.encoding)) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let a = { "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 a) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? a[e] : ("00" + a[e]).substr(("" + a[e]).length))); return t } queryStr(t) { let e = ""; for (const s in t) { let a = t[s]; null != a && "" !== a && ("object" == typeof a && (a = JSON.stringify(a)), e += `${s}=${a}&`) } return e = e.substring(0, e.length - 1), e } msg(e = t, s = "", a = "", r) { const i = t => { switch (typeof t) { case void 0: return t; case "string": switch (this.getEnv()) { case "Surge": case "Stash": default: return { url: t }; case "Loon": case "Shadowrocket": return t; case "Quantumult X": return { "open-url": t }; case "Node.js": return }case "object": switch (this.getEnv()) { case "Surge": case "Stash": case "Shadowrocket": default: { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } case "Loon": { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } case "Quantumult X": { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl, a = t["update-pasteboard"] || t.updatePasteboard; return { "open-url": e, "media-url": s, "update-pasteboard": a } } case "Node.js": return }default: return } }; if (!this.isMute) switch (this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": default: $notification.post(e, s, a, i(r)); break; case "Quantumult X": $notify(e, s, a, i(r)); break; case "Node.js": }if (!this.isMuteLog) { let t = ["", "==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="]; t.push(e), s && t.push(s), a && t.push(a), 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) { switch (this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": case "Quantumult X": default: this.log("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t); break; case "Node.js": this.log("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t.stack) } } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; switch (this.log("", `\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`), this.log(), this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": case "Quantumult X": default: $done(t); break; case "Node.js": process.exit(1) } } }(t, e) }