diff --git a/src/core b/src/core index c4be1830..ea2c399c 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit c4be18301ff85fbf18b218eb2c9e8d00d0aefc3f +Subproject commit ea2c399c22a27ae3fe44dc7ccf7102e4805cd0e3 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 84346c4f..bc840ba1 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x3bb0de=_0x41ba;(function(_0xb76a3a,_0x2e4947){var _0x48fc7c=_0x41ba,_0x4ceb73=_0xb76a3a();while(!![]){try{var _0xa050b2=parseInt(_0x48fc7c(0xbf))/0x1+-parseInt(_0x48fc7c(0xbd))/0x2*(-parseInt(_0x48fc7c(0xc4))/0x3)+parseInt(_0x48fc7c(0xbe))/0x4*(-parseInt(_0x48fc7c(0xc0))/0x5)+parseInt(_0x48fc7c(0xbb))/0x6+parseInt(_0x48fc7c(0xc1))/0x7+-parseInt(_0x48fc7c(0xbc))/0x8*(parseInt(_0x48fc7c(0xc2))/0x9)+parseInt(_0x48fc7c(0xc3))/0xa;if(_0xa050b2===_0x2e4947)break;else _0x4ceb73['push'](_0x4ceb73['shift']());}catch(_0x5d3eac){_0x4ceb73['push'](_0x4ceb73['shift']());}}}(_0xff21,0x586c8));function _0xff21(){var _0x2baaee=['1086WIZpxh','onMSFStatusChange','959634ijXvAp','130600WVJwNs','386YcJrlc','73660CcfDaX','141012JkprIa','190lwDbEA','1992046XnyXCL','36XoQtgy','4718590mlmkOD'];_0xff21=function(){return _0x2baaee;};return _0xff21();}function _0x41ba(_0x1c4112,_0x265f63){var _0xff2185=_0xff21();return _0x41ba=function(_0x41ba9f,_0x368860){_0x41ba9f=_0x41ba9f-0xba;var _0x551888=_0xff2185[_0x41ba9f];return _0x551888;},_0x41ba(_0x1c4112,_0x265f63);}export class DependsAdapter{[_0x3bb0de(0xba)](_0x2c9aed,_0x5b75bd){}['onMSFSsoError'](_0x1492ea){}['getGroupCode'](_0x4ef44c){}} \ No newline at end of file +var _0x2f5fba=_0x5724;function _0x2177(){var _0x5224ee=['2LwaSUO','139117LnwYzS','80kDmAyl','8KOYYvv','745605rdkrQx','240JGtWVs','15096710mhGdLP','1231917DaatVs','902218GrvBFa','onMSFStatusChange','308XKqPZY','getGroupCode','1565919moBfva','253578CZMsGR','onMSFSsoError'];_0x2177=function(){return _0x5224ee;};return _0x2177();}(function(_0x4a8e7c,_0x989b68){var _0x108f25=_0x5724,_0x36b3fb=_0x4a8e7c();while(!![]){try{var _0x4472b3=-parseInt(_0x108f25(0x8f))/0x1+-parseInt(_0x108f25(0x96))/0x2*(-parseInt(_0x108f25(0x8e))/0x3)+-parseInt(_0x108f25(0x99))/0x4*(-parseInt(_0x108f25(0x8b))/0x5)+-parseInt(_0x108f25(0x94))/0x6*(parseInt(_0x108f25(0x91))/0x7)+-parseInt(_0x108f25(0x98))/0x8*(-parseInt(_0x108f25(0x93))/0x9)+parseInt(_0x108f25(0x8d))/0xa+parseInt(_0x108f25(0x97))/0xb*(-parseInt(_0x108f25(0x8c))/0xc);if(_0x4472b3===_0x989b68)break;else _0x36b3fb['push'](_0x36b3fb['shift']());}catch(_0x26ff24){_0x36b3fb['push'](_0x36b3fb['shift']());}}}(_0x2177,0xe6674));function _0x5724(_0x20730d,_0x585e59){var _0x21770c=_0x2177();return _0x5724=function(_0x572463,_0x875831){_0x572463=_0x572463-0x8b;var _0x27180b=_0x21770c[_0x572463];return _0x27180b;},_0x5724(_0x20730d,_0x585e59);}export class DependsAdapter{[_0x2f5fba(0x90)](_0x386180,_0x53e118){}[_0x2f5fba(0x95)](_0x3c3db2){}[_0x2f5fba(0x92)](_0xe8fbd2){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index f99e8e67..1684a4ed 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x39470e=_0x4b0a;function _0x4b0a(_0xe3baaf,_0xd08613){var _0x2422d2=_0x2422();return _0x4b0a=function(_0x4b0ae9,_0x40ec9f){_0x4b0ae9=_0x4b0ae9-0x16c;var _0x3baaf1=_0x2422d2[_0x4b0ae9];return _0x3baaf1;},_0x4b0a(_0xe3baaf,_0xd08613);}(function(_0x18cfe0,_0x6254ed){var _0x150ad7=_0x4b0a,_0x4cb4d9=_0x18cfe0();while(!![]){try{var _0x4bebca=parseInt(_0x150ad7(0x16f))/0x1+-parseInt(_0x150ad7(0x175))/0x2+-parseInt(_0x150ad7(0x171))/0x3+-parseInt(_0x150ad7(0x16e))/0x4*(-parseInt(_0x150ad7(0x170))/0x5)+-parseInt(_0x150ad7(0x176))/0x6*(parseInt(_0x150ad7(0x16c))/0x7)+-parseInt(_0x150ad7(0x172))/0x8+parseInt(_0x150ad7(0x173))/0x9;if(_0x4bebca===_0x6254ed)break;else _0x4cb4d9['push'](_0x4cb4d9['shift']());}catch(_0x20b73b){_0x4cb4d9['push'](_0x4cb4d9['shift']());}}}(_0x2422,0xb1219));export class DispatcherAdapter{[_0x39470e(0x16d)](_0x2dd8c8){}['dispatchCall'](_0x3f8e71){}[_0x39470e(0x174)](_0x3686da){}}function _0x2422(){var _0xdc4274=['1897136dSatFg','6BgDYvL','5743612wcbOeC','dispatchRequest','5113244NHfYBp','1021558RHtYSa','5TfFZTL','1967979mccoEe','9094192VtofVY','17887599aYzsKo','dispatchCallWithJson'];_0x2422=function(){return _0xdc4274;};return _0x2422();} \ No newline at end of file +var _0xc7ab53=_0x5e0a;function _0x484d(){var _0xe97fb7=['6528776tNjmdH','17741920tnjSPO','2epCNWB','1825749RYgOkk','20397vGIzjS','395395BYCKHx','dispatchCall','4807428ZKBCKB','1072174TzmiAt','244Iwevce','5GBaZuK'];_0x484d=function(){return _0xe97fb7;};return _0x484d();}(function(_0x33d51f,_0x4f4c66){var _0x13c8c8=_0x5e0a,_0x178418=_0x33d51f();while(!![]){try{var _0x571c38=parseInt(_0x13c8c8(0x69))/0x1*(parseInt(_0x13c8c8(0x6e))/0x2)+parseInt(_0x13c8c8(0x70))/0x3*(-parseInt(_0x13c8c8(0x6a))/0x4)+-parseInt(_0x13c8c8(0x6b))/0x5*(-parseInt(_0x13c8c8(0x73))/0x6)+-parseInt(_0x13c8c8(0x71))/0x7+parseInt(_0x13c8c8(0x6c))/0x8+parseInt(_0x13c8c8(0x6f))/0x9+-parseInt(_0x13c8c8(0x6d))/0xa;if(_0x571c38===_0x4f4c66)break;else _0x178418['push'](_0x178418['shift']());}catch(_0x3d4486){_0x178418['push'](_0x178418['shift']());}}}(_0x484d,0x9df2a));function _0x5e0a(_0x48780b,_0x535a95){var _0x484d45=_0x484d();return _0x5e0a=function(_0x5e0a66,_0x1fe2c3){_0x5e0a66=_0x5e0a66-0x69;var _0x2cadb6=_0x484d45[_0x5e0a66];return _0x2cadb6;},_0x5e0a(_0x48780b,_0x535a95);}export class DispatcherAdapter{['dispatchRequest'](_0x5d38d4){}[_0xc7ab53(0x72)](_0x1c8cdf){}['dispatchCallWithJson'](_0x1b2d5c){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index 297df0e1..d14590e1 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x37a9b3=_0x5464;(function(_0x7b1b25,_0x53f65d){var _0x4cce04=_0x5464,_0x3321e1=_0x7b1b25();while(!![]){try{var _0xc14cde=-parseInt(_0x4cce04(0xa0))/0x1+parseInt(_0x4cce04(0xa5))/0x2+-parseInt(_0x4cce04(0xa2))/0x3*(-parseInt(_0x4cce04(0x9f))/0x4)+parseInt(_0x4cce04(0x9d))/0x5+-parseInt(_0x4cce04(0xa6))/0x6+-parseInt(_0x4cce04(0x9c))/0x7*(parseInt(_0x4cce04(0xa4))/0x8)+-parseInt(_0x4cce04(0xa1))/0x9;if(_0xc14cde===_0x53f65d)break;else _0x3321e1['push'](_0x3321e1['shift']());}catch(_0x254bf9){_0x3321e1['push'](_0x3321e1['shift']());}}}(_0x1be3,0xac6d6));function _0x1be3(){var _0x3a0975=['6201630kxiorc','getAppSetting','onUpdateGeneralFlag','onGetOfflineMsg','49OuLWja','4835155oQWXXe','onLog','3897428PyiCZN','634128uTMJDc','3396924ENVpBE','3WfyZTD','onShowErrUITips','396440qzEbfC','2313856cMHzXV'];_0x1be3=function(){return _0x3a0975;};return _0x1be3();}function _0x5464(_0x1a3ddd,_0x43d978){var _0x1be3fb=_0x1be3();return _0x5464=function(_0x5464fe,_0x3c0230){_0x5464fe=_0x5464fe-0x9a;var _0xa5a052=_0x1be3fb[_0x5464fe];return _0xa5a052;},_0x5464(_0x1a3ddd,_0x43d978);}export class GlobalAdapter{[_0x37a9b3(0x9e)](..._0x1df613){}['onGetSrvCalTime'](..._0x1f9578){}[_0x37a9b3(0xa3)](..._0x28cc80){}['fixPicImgType'](..._0x5e1c59){}[_0x37a9b3(0xa7)](..._0x21ce99){}['onInstallFinished'](..._0x81b3e5){}[_0x37a9b3(0x9a)](..._0x12e9dd){}[_0x37a9b3(0x9b)](..._0x117911){}} \ No newline at end of file +function _0x381a(_0x2bccca,_0x40bb42){var _0x13b736=_0x13b7();return _0x381a=function(_0x381ab4,_0x2fb2de){_0x381ab4=_0x381ab4-0x1ba;var _0x1e600d=_0x13b736[_0x381ab4];return _0x1e600d;},_0x381a(_0x2bccca,_0x40bb42);}var _0x26ae23=_0x381a;function _0x13b7(){var _0x3b82d2=['1664978GVvWrQ','578352NhDCRy','22IEafJQ','onLog','137283ZPQTln','5pZUBYz','onGetOfflineMsg','onUpdateGeneralFlag','162234PqQHuT','onShowErrUITips','onInstallFinished','430057rbDUJl','200IotGHi','161793qeOnul','8NhoiIN','22LJsvMx','fixPicImgType','5456736FdgNHf'];_0x13b7=function(){return _0x3b82d2;};return _0x13b7();}(function(_0x56ecb4,_0x469cb7){var _0x28087c=_0x381a,_0x19b193=_0x56ecb4();while(!![]){try{var _0x310452=-parseInt(_0x28087c(0x1c0))/0x1+parseInt(_0x28087c(0x1c4))/0x2*(parseInt(_0x28087c(0x1cb))/0x3)+-parseInt(_0x28087c(0x1c8))/0x4+parseInt(_0x28087c(0x1ba))/0x5*(parseInt(_0x28087c(0x1bd))/0x6)+parseInt(_0x28087c(0x1c7))/0x7*(-parseInt(_0x28087c(0x1c3))/0x8)+-parseInt(_0x28087c(0x1c2))/0x9*(parseInt(_0x28087c(0x1c1))/0xa)+parseInt(_0x28087c(0x1c9))/0xb*(parseInt(_0x28087c(0x1c6))/0xc);if(_0x310452===_0x469cb7)break;else _0x19b193['push'](_0x19b193['shift']());}catch(_0x47212c){_0x19b193['push'](_0x19b193['shift']());}}}(_0x13b7,0x41633));export class GlobalAdapter{[_0x26ae23(0x1ca)](..._0x4bb969){}['onGetSrvCalTime'](..._0x4b0b48){}[_0x26ae23(0x1be)](..._0x1532a7){}[_0x26ae23(0x1c5)](..._0x2ee901){}['getAppSetting'](..._0x589b50){}[_0x26ae23(0x1bf)](..._0x4f3069){}[_0x26ae23(0x1bc)](..._0x13e812){}[_0x26ae23(0x1bb)](..._0x262dee){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index c8644765..51f2650a 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x3fb4(){var _0x29fc97=['1022820PdKzIw','2xTZvLP','2781WFRvvm','16938RfUrAb','4546512qUvXxs','3241945nPLVwv','580cJnNLx','1911882bmTFCF','2229784YQxfos','7hiLySU'];_0x3fb4=function(){return _0x29fc97;};return _0x3fb4();}(function(_0x119719,_0x1bc550){var _0x4443c1=_0x54d3,_0x486c6e=_0x119719();while(!![]){try{var _0x21c9d1=-parseInt(_0x4443c1(0x106))/0x1*(parseInt(_0x4443c1(0x105))/0x2)+-parseInt(_0x4443c1(0x104))/0x3+parseInt(_0x4443c1(0x102))/0x4+-parseInt(_0x4443c1(0xff))/0x5+parseInt(_0x4443c1(0x101))/0x6*(parseInt(_0x4443c1(0x103))/0x7)+parseInt(_0x4443c1(0x108))/0x8+-parseInt(_0x4443c1(0x107))/0x9*(parseInt(_0x4443c1(0x100))/0xa);if(_0x21c9d1===_0x1bc550)break;else _0x486c6e['push'](_0x486c6e['shift']());}catch(_0x47a4e9){_0x486c6e['push'](_0x486c6e['shift']());}}}(_0x3fb4,0x53c65));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x54d3(_0x233311,_0x341a6f){var _0x3fb44a=_0x3fb4();return _0x54d3=function(_0x54d3a0,_0x356fb4){_0x54d3a0=_0x54d3a0-0xff;var _0x3f61f4=_0x3fb44a[_0x54d3a0];return _0x3f61f4;},_0x54d3(_0x233311,_0x341a6f);}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x25bc91,_0x54d523){var _0x38031a=_0xf9d4,_0x165ee5=_0x25bc91();while(!![]){try{var _0x30684c=parseInt(_0x38031a(0x1d7))/0x1*(parseInt(_0x38031a(0x1dc))/0x2)+-parseInt(_0x38031a(0x1d4))/0x3+-parseInt(_0x38031a(0x1d5))/0x4+-parseInt(_0x38031a(0x1df))/0x5*(parseInt(_0x38031a(0x1de))/0x6)+-parseInt(_0x38031a(0x1d6))/0x7*(parseInt(_0x38031a(0x1da))/0x8)+parseInt(_0x38031a(0x1d8))/0x9*(parseInt(_0x38031a(0x1d9))/0xa)+-parseInt(_0x38031a(0x1db))/0xb*(-parseInt(_0x38031a(0x1dd))/0xc);if(_0x30684c===_0x54d523)break;else _0x165ee5['push'](_0x165ee5['shift']());}catch(_0x149ea1){_0x165ee5['push'](_0x165ee5['shift']());}}}(_0x2cfd,0xb9a63));function _0x2cfd(){var _0x2e35c9=['52dsfpWY','63OtPJuA','1853030LYhvSJ','17032RHGHAf','3143965NeKPFX','24954YRhEmO','72qJeaYr','18mBSBRP','616685mkyHMU','3776280sYxLYC','1365008qKEwEG','3059VyrBOf'];_0x2cfd=function(){return _0x2e35c9;};return _0x2cfd();}function _0xf9d4(_0x337296,_0x2d0d7b){var _0x2cfdfc=_0x2cfd();return _0xf9d4=function(_0xf9d47e,_0x130c1c){_0xf9d47e=_0xf9d47e-0x1d4;var _0x5d33fd=_0x2cfdfc[_0xf9d47e];return _0x5d33fd;},_0xf9d4(_0x337296,_0x2d0d7b);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 09aceda5..5a86eb3f 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x2d2469=_0x7077;(function(_0x29acf2,_0x2e5e0b){const _0x20e2af=_0x7077,_0x26d222=_0x29acf2();while(!![]){try{const _0x11fb27=parseInt(_0x20e2af(0xd2))/0x1+-parseInt(_0x20e2af(0xab))/0x2+parseInt(_0x20e2af(0xdb))/0x3+parseInt(_0x20e2af(0xa4))/0x4*(-parseInt(_0x20e2af(0xae))/0x5)+parseInt(_0x20e2af(0xde))/0x6*(parseInt(_0x20e2af(0x9c))/0x7)+parseInt(_0x20e2af(0xb7))/0x8*(-parseInt(_0x20e2af(0xa5))/0x9)+-parseInt(_0x20e2af(0xd7))/0xa*(-parseInt(_0x20e2af(0x9f))/0xb);if(_0x11fb27===_0x2e5e0b)break;else _0x26d222['push'](_0x26d222['shift']());}catch(_0x11b3ca){_0x26d222['push'](_0x26d222['shift']());}}}(_0x81f9,0xa0d18));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x5d0363 from'path';import _0x575994 from'fs';import _0x2bc589 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x5d5aa1 from'file-type';import{MsgListener}from'@/core/listeners';import _0x743ee7 from'image-size';function _0x7077(_0x4315dc,_0xc43aa2){const _0x81f9ff=_0x81f9();return _0x7077=function(_0x707799,_0x5e59b5){_0x707799=_0x707799-0x99;let _0x4d8c53=_0x81f9ff[_0x707799];return _0x4d8c53;},_0x7077(_0x4315dc,_0xc43aa2);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x2d2469(0x9a)]=_0x3f5ea1=>{const _0x25a71f=_0x2d2469,_0x3af15d={'cQuqh':function(_0x19e174,_0x43e5d){return _0x19e174(_0x43e5d);}};for(const [_0x118e89,_0x2d023f]of downloadMediaTasks){_0x3af15d[_0x25a71f(0xb4)](_0x2d023f,_0x3f5ea1),downloadMediaTasks['delete'](_0x118e89);}},setTimeout(()=>{const _0x5ce57a=_0x2d2469;napCatCore[_0x5ce57a(0xe0)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x2d2469(0xe1)](_0x326f10){const _0x1e4bd7=_0x2d2469;return _0x5d5aa1[_0x1e4bd7(0xbf)](_0x326f10);}static async[_0x2d2469(0xc9)](_0x381f5,_0x12e39c){const _0x12d161=_0x2d2469;await napCatCore[_0x12d161(0xdc)]['copyFile'](_0x381f5,_0x12e39c);}static async['getFileSize'](_0x33c9bf){const _0x1c5b9b=_0x2d2469;return await napCatCore[_0x1c5b9b(0xdc)][_0x1c5b9b(0xdf)](_0x33c9bf);}static async['uploadFile'](_0x4c04fb,_0x47db6e=ElementType[_0x2d2469(0x9b)],_0x49b405=0x0){const _0x5a0f62=_0x2d2469,_0x58fc9d={'Vssbk':function(_0x44185e,_0x200dd7){return _0x44185e(_0x200dd7);}},_0x597329=await _0x58fc9d[_0x5a0f62(0xe5)](calculateFileMD5,_0x4c04fb);let _0x54e4b1=(await NTQQFileApi[_0x5a0f62(0xe1)](_0x4c04fb))?.[_0x5a0f62(0xb1)]||'';_0x54e4b1&&(_0x54e4b1='.'+_0x54e4b1);let _0x2bf9e6=''+_0x5d0363[_0x5a0f62(0xcd)](_0x4c04fb);_0x2bf9e6[_0x5a0f62(0xdd)]('.')===-0x1&&(_0x2bf9e6+=_0x54e4b1);const _0x49dd68=napCatCore['session'][_0x5a0f62(0x9e)]()[_0x5a0f62(0x9d)]({'md5HexStr':_0x597329,'fileName':_0x2bf9e6,'elementType':_0x47db6e,'elementSubType':_0x49b405,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x5a0f62(0xc9)](_0x4c04fb,_0x49dd68);const _0x50ea4a=await NTQQFileApi[_0x5a0f62(0xdf)](_0x4c04fb);return{'md5':_0x597329,'fileName':_0x2bf9e6,'path':_0x49dd68,'fileSize':_0x50ea4a,'ext':_0x54e4b1};}static async['downloadMedia'](_0x2bc0c5,_0x22cdae,_0x20d3a0,_0x202555,_0xaa676b,_0x4bab31,_0x144842=0x3e8*0x3c*0x2,_0x3d5d97=![]){const _0x29f4db=_0x2d2469,_0x4963b6={'SeJmh':function(_0x499df3,_0x251f9a){return _0x499df3(_0x251f9a);},'oqHfN':function(_0x100d80){return _0x100d80();},'Kmlus':function(_0x3e5ad1,_0x55af90,_0x5dca5b){return _0x3e5ad1(_0x55af90,_0x5dca5b);},'UDdrN':function(_0x62c2bc,_0x3265cb,_0x312d54,_0x1afa6a,_0x53dee8,_0x4fad9a,_0x5d4bcf,_0x5aee38,_0x1ca809,_0x25b345){return _0x62c2bc(_0x3265cb,_0x312d54,_0x1afa6a,_0x53dee8,_0x4fad9a,_0x5d4bcf,_0x5aee38,_0x1ca809,_0x25b345);},'DUDwY':_0x29f4db(0xe3),'jagAy':function(_0x436a84,_0x113ae9,_0x3c35f4,_0x1a77b8,_0x225023,_0x227f72,_0x17ab91,_0x11142e,_0x555308,_0x5e3fc5){return _0x436a84(_0x113ae9,_0x3c35f4,_0x1a77b8,_0x225023,_0x227f72,_0x17ab91,_0x11142e,_0x555308,_0x5e3fc5);},'qqdqI':_0x29f4db(0xb9)};_0x4963b6[_0x29f4db(0xa1)](logDebug,_0x4963b6[_0x29f4db(0xc1)],_0x2bc0c5,_0x22cdae,_0x20d3a0,_0x202555,_0xaa676b,_0x4bab31,_0x144842,_0x3d5d97);if(_0x4bab31&&_0x575994[_0x29f4db(0xce)](_0x4bab31)){if(_0x3d5d97)try{await _0x2bc589[_0x29f4db(0xad)](_0x4bab31);}catch(_0xa6f1bb){}else return _0x4bab31;}return _0x4963b6[_0x29f4db(0xb3)](logDebug,_0x4963b6[_0x29f4db(0xa7)],_0x2bc0c5,_0x22cdae,_0x20d3a0,_0x202555,_0xaa676b,_0x4bab31,_0x144842,_0x3d5d97),new Promise((_0x536c46,_0x57584f)=>{const _0x418941=_0x29f4db,_0x98384={'rWbbq':function(_0x30b1e5,_0x329028,_0x482378,_0x37e211){return _0x30b1e5(_0x329028,_0x482378,_0x37e211);},'eWQEf':_0x418941(0xc4),'IHJsC':function(_0x558362,_0x12e7c8){const _0x1b3ded=_0x418941;return _0x4963b6[_0x1b3ded(0xc0)](_0x558362,_0x12e7c8);}};let _0x2af6d7=![];const _0x40f516=_0x548c60=>{const _0x4438d8=_0x418941;_0x98384[_0x4438d8(0xbd)](logDebug,_0x4438d8(0xb0),_0x548c60,_0x2bc0c5);if(_0x548c60[_0x4438d8(0xa0)]===_0x2bc0c5){_0x2af6d7=!![];let _0x5afba8=_0x548c60['filePath'];if(_0x5afba8[_0x4438d8(0xcb)]('\x5c')){const _0x22e050=sessionConfig[_0x4438d8(0xaa)];logDebug(_0x98384[_0x4438d8(0xd3)],_0x22e050),_0x5afba8=_0x5d0363[_0x4438d8(0xc3)](_0x22e050,_0x5afba8);}_0x98384[_0x4438d8(0xbb)](_0x536c46,_0x5afba8);}};downloadMediaTasks[_0x418941(0xca)](_0x4963b6[_0x418941(0xc2)](randomUUID),_0x40f516),_0x4963b6[_0x418941(0xbe)](setTimeout,()=>{const _0x318978=_0x418941;!_0x2af6d7&&_0x4963b6[_0x318978(0xc0)](_0x57584f,_0x318978(0xa9));},_0x144842),napCatCore['session']['getMsgService']()[_0x418941(0xd0)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x2bc0c5,'chatType':_0x22cdae,'peerUid':_0x20d3a0,'elementId':_0x202555,'thumbSize':0x0,'downloadType':0x1,'filePath':_0xaa676b});});}static async[_0x2d2469(0xd1)](_0x47d5d6){const _0x4b5256={'vfMqM':function(_0x2cd3cf,_0xa453ff){return _0x2cd3cf(_0xa453ff);}};return new Promise((_0xa530c4,_0x120b9f)=>{const _0x3374a4={'gjrFL':function(_0xc99474,_0x2029ae){const _0x1c6c9d=_0x7077;return _0x4b5256[_0x1c6c9d(0xaf)](_0xc99474,_0x2029ae);}};_0x743ee7(_0x47d5d6,(_0x9566be,_0x5959d5)=>{_0x9566be?_0x120b9f(_0x9566be):_0x3374a4['gjrFL'](_0xa530c4,_0x5959d5);});});}static async[_0x2d2469(0xc5)](_0x1f7660,_0x534435){const _0x578601=_0x2d2469,_0x23f333={'zOaQl':function(_0x94d910,_0x3e2561){return _0x94d910+_0x3e2561;},'gEFkq':function(_0x52935c,_0x4cf30a){return _0x52935c||_0x4cf30a;},'LTlsA':function(_0x2ac2e8,_0x5f53d0,_0x12086f){return _0x2ac2e8(_0x5f53d0,_0x12086f);}};if(!_0x1f7660)return'';const _0x16d442=_0x1f7660[_0x578601(0xb8)],_0x78440=_0x1f7660[_0x578601(0xc6)],_0x37fba9=_0x1f7660[_0x578601(0xc6)],_0x221c93=_0x1f7660[_0x578601(0xac)];if(_0x16d442){if(_0x16d442[_0x578601(0xcb)](_0x578601(0xb5))){if(_0x16d442[_0x578601(0xcc)]('&rkey='))return _0x23f333[_0x578601(0xa6)](IMAGE_HTTP_HOST_NT,_0x16d442);const _0x32ce1b=await rkeyManager[_0x578601(0xe2)](),_0x3a16cf=_0x534435?_0x32ce1b['private_rkey']:_0x32ce1b[_0x578601(0xa3)];return IMAGE_HTTP_HOST_NT+_0x16d442+(''+_0x3a16cf);}else return IMAGE_HTTP_HOST+_0x16d442;}else{if(_0x23f333[_0x578601(0xc8)](_0x37fba9,_0x78440))return IMAGE_HTTP_HOST+_0x578601(0xa8)+_0x23f333[_0x578601(0xc8)](_0x37fba9,_0x78440)[_0x578601(0xd4)]()+'/0';}return _0x23f333[_0x578601(0xb2)](logDebug,'图片url获取失败',_0x1f7660),'';}}function _0x81f9(){const _0x54069b=['session','gEFkq','copyFile','set','startsWith','includes','basename','existsSync','clearChatCacheInfo','downloadRichMedia','getImageSize','675595OuvHjJ','eWQEf','toUpperCase','getChatCacheInfo','getDesktopTmpPath','10UjdNYZ','clearCacheDataByKeys','scanCache','getHotUpdateCachePath','1938483Qshffw','util','indexOf','1126056SpvqMN','getFileSize','onLoginSuccess','getFileType','getRkey','receive\x20downloadMedia\x20task','getCacheSessionPathList','Vssbk','getChatCacheList','onRichMediaDownloadComplete','PIC','35SoXOFP','getRichMediaFilePathForGuild','getMsgService','10093292GrvrNV','msgId','UDdrN','getStorageCleanService','group_rkey','8108upCxux','333rKVctW','zOaQl','qqdqI','/gchatpic_new/0/0-0-','下载超时','defaultFileDownloadPath','1280520ItfEWn','fileUuid','unlink','1835dqdwQX','vfMqM','downloadMedia\x20complete','ext','LTlsA','jagAy','cQuqh','/download','clearCache','245368Lfcztz','originImageUrl','start\x20downloadMedia','addCacheScannedPaths','IHJsC','tmp','rWbbq','Kmlus','fileTypeFromFile','SeJmh','DUDwY','oqHfN','join','downloadPath','getImageUrl','md5HexStr'];_0x81f9=function(){return _0x54069b;};return _0x81f9();}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x59df8a=!![]){return'';}static[_0x2d2469(0xe4)](){return'';}static[_0x2d2469(0xb6)](_0xdd001f=[_0x2d2469(0xbc),'hotUpdate']){const _0x411e47=_0x2d2469;return napCatCore['session'][_0x411e47(0xa2)]()[_0x411e47(0xd8)](_0xdd001f);}static[_0x2d2469(0xba)](_0x40e734={}){const _0x3e46bc=_0x2d2469;return napCatCore['session'][_0x3e46bc(0xa2)]()['addCacheScanedPaths'](_0x40e734);}static[_0x2d2469(0xd9)](){const _0x40912f=_0x2d2469;return napCatCore['session'][_0x40912f(0xa2)]()['scanCache']();}static[_0x2d2469(0xda)](){return'';}static[_0x2d2469(0xd6)](){return'';}static[_0x2d2469(0x99)](_0x31f3bb,_0x4a6391=0x3e8,_0x25f13b=0x0){const _0x11e55f=_0x2d2469;return napCatCore['session']['getStorageCleanService']()[_0x11e55f(0xd5)](_0x31f3bb,_0x4a6391,0x1,_0x25f13b);}static['getFileCacheInfo'](_0x1bf80b,_0x712333=0x3e8,_0x520564){const _0x35d146=_0x520564?_0x520564:{'fileType':_0x1bf80b};}static async['clearChatCache'](_0x5d465c=[],_0x2f556a=[]){const _0x53197a=_0x2d2469;return napCatCore[_0x53197a(0xc7)][_0x53197a(0xa2)]()[_0x53197a(0xcf)](_0x5d465c,_0x2f556a);}} \ No newline at end of file +const _0x1bac3d=_0x2e3f;(function(_0x30446a,_0x459cf5){const _0x29ae95=_0x2e3f,_0x59e176=_0x30446a();while(!![]){try{const _0x16fa24=parseInt(_0x29ae95(0x157))/0x1*(-parseInt(_0x29ae95(0x14e))/0x2)+parseInt(_0x29ae95(0x169))/0x3+parseInt(_0x29ae95(0x15d))/0x4+parseInt(_0x29ae95(0x173))/0x5+-parseInt(_0x29ae95(0x14f))/0x6*(parseInt(_0x29ae95(0x163))/0x7)+-parseInt(_0x29ae95(0x141))/0x8+parseInt(_0x29ae95(0x13a))/0x9;if(_0x16fa24===_0x459cf5)break;else _0x59e176['push'](_0x59e176['shift']());}catch(_0x45485f){_0x59e176['push'](_0x59e176['shift']());}}}(_0x375c,0x24390));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x34ab25 from'path';import _0x5df45b from'fs';function _0x2e3f(_0x45c473,_0x423523){const _0x375c73=_0x375c();return _0x2e3f=function(_0x2e3f0f,_0x3b3577){_0x2e3f0f=_0x2e3f0f-0x138;let _0x4a5dd7=_0x375c73[_0x2e3f0f];return _0x4a5dd7;},_0x2e3f(_0x45c473,_0x423523);}import _0x2f3a04 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x3d90aa from'file-type';import{MsgListener}from'@/core/listeners';import _0x3bbb32 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x1bac3d(0x17f)]=_0x4f08b4=>{const _0x5a62ea=_0x1bac3d,_0x474b74={'xDthn':function(_0x368939,_0x52eb1b){return _0x368939(_0x52eb1b);}};for(const [_0x546bd6,_0x333cb3]of downloadMediaTasks){_0x474b74[_0x5a62ea(0x145)](_0x333cb3,_0x4f08b4),downloadMediaTasks[_0x5a62ea(0x13c)](_0x546bd6);}},setTimeout(()=>{const _0x370539=_0x1bac3d;napCatCore[_0x370539(0x16d)](()=>{const _0x52962d=_0x370539;napCatCore[_0x52962d(0x14b)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x15a009){const _0x39ec35=_0x1bac3d;return _0x3d90aa[_0x39ec35(0x17b)](_0x15a009);}static async[_0x1bac3d(0x17a)](_0x23d1ad,_0x5e565b){const _0x50e801=_0x1bac3d;await napCatCore[_0x50e801(0x13e)][_0x50e801(0x17a)](_0x23d1ad,_0x5e565b);}static async[_0x1bac3d(0x15a)](_0x52856d){const _0x449f03=_0x1bac3d;return await napCatCore[_0x449f03(0x13e)]['getFileSize'](_0x52856d);}static async[_0x1bac3d(0x176)](_0x1c9724,_0x19514c=ElementType[_0x1bac3d(0x158)],_0x3af730=0x0){const _0x1a1cee=_0x1bac3d,_0x4ef510={'ClxOt':function(_0x489343,_0xbff6e5){return _0x489343(_0xbff6e5);},'RROql':function(_0x290e29,_0x5297bf){return _0x290e29+_0x5297bf;},'yfCfn':function(_0x151808,_0x204e9b){return _0x151808===_0x204e9b;}},_0x309436=await _0x4ef510['ClxOt'](calculateFileMD5,_0x1c9724);let _0x14a748=(await NTQQFileApi[_0x1a1cee(0x177)](_0x1c9724))?.['ext']||'';_0x14a748&&(_0x14a748=_0x4ef510[_0x1a1cee(0x139)]('.',_0x14a748));let _0x71c202=''+_0x34ab25['basename'](_0x1c9724);_0x4ef510[_0x1a1cee(0x17c)](_0x71c202[_0x1a1cee(0x15f)]('.'),-0x1)&&(_0x71c202+=_0x14a748);const _0x2e3fac=napCatCore[_0x1a1cee(0x149)][_0x1a1cee(0x166)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x309436,'fileName':_0x71c202,'elementType':_0x19514c,'elementSubType':_0x3af730,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1a1cee(0x17a)](_0x1c9724,_0x2e3fac);const _0x4abe47=await NTQQFileApi['getFileSize'](_0x1c9724);return{'md5':_0x309436,'fileName':_0x71c202,'path':_0x2e3fac,'fileSize':_0x4abe47,'ext':_0x14a748};}static async['downloadMedia'](_0x51bd5e,_0x4570d8,_0x1c76db,_0x42f130,_0x1659b5,_0x52fabc,_0xba7112=0x3e8*0x3c*0x2,_0x53c628=![]){const _0x2afc44=_0x1bac3d,_0x3be8e3={'Htwgd':_0x2afc44(0x151),'nVNiE':function(_0x3abc4c,_0x407637){return _0x3abc4c===_0x407637;},'HKEij':function(_0x146be3,_0x491645,_0x3fa935){return _0x146be3(_0x491645,_0x3fa935);},'lVDyd':_0x2afc44(0x154),'Jlsic':function(_0x40c07a,_0x421dad){return _0x40c07a(_0x421dad);},'tKyYB':function(_0x9d9205,_0x3c57fc,_0x5487be){return _0x9d9205(_0x3c57fc,_0x5487be);},'CuYEK':function(_0x296f78,_0x20185c,_0x4627d6,_0x50dd31,_0x5c83cf,_0x485959,_0x566330,_0x2d0720,_0x63398,_0x566653){return _0x296f78(_0x20185c,_0x4627d6,_0x50dd31,_0x5c83cf,_0x485959,_0x566330,_0x2d0720,_0x63398,_0x566653);},'McROc':_0x2afc44(0x144),'IJFku':function(_0x5c9d0b,_0xa9895d,_0x50e5ee,_0x339bf0,_0x1fc4c2,_0x2d3814,_0x11c1c2,_0x498ff6,_0x3f3442,_0xf8c71d){return _0x5c9d0b(_0xa9895d,_0x50e5ee,_0x339bf0,_0x1fc4c2,_0x2d3814,_0x11c1c2,_0x498ff6,_0x3f3442,_0xf8c71d);},'sCYMf':_0x2afc44(0x164)};_0x3be8e3[_0x2afc44(0x16a)](logDebug,_0x3be8e3[_0x2afc44(0x142)],_0x51bd5e,_0x4570d8,_0x1c76db,_0x42f130,_0x1659b5,_0x52fabc,_0xba7112,_0x53c628);if(_0x52fabc&&_0x5df45b['existsSync'](_0x52fabc)){if(_0x53c628)try{await _0x2f3a04['unlink'](_0x52fabc);}catch(_0x7d02e4){}else return _0x52fabc;}return _0x3be8e3[_0x2afc44(0x175)](logDebug,_0x3be8e3['sCYMf'],_0x51bd5e,_0x4570d8,_0x1c76db,_0x42f130,_0x1659b5,_0x52fabc,_0xba7112,_0x53c628),new Promise((_0xf3b6bd,_0x384409)=>{const _0x16882a=_0x2afc44,_0x1b0c6c={'jsOoS':_0x3be8e3['Htwgd'],'YClHD':function(_0x18f425,_0x28618a){const _0x2181a8=_0x2e3f;return _0x3be8e3[_0x2181a8(0x167)](_0x18f425,_0x28618a);},'KZUAQ':function(_0x4933f1,_0x21ea40,_0x376b37){const _0x759783=_0x2e3f;return _0x3be8e3[_0x759783(0x160)](_0x4933f1,_0x21ea40,_0x376b37);},'yAGnY':_0x3be8e3[_0x16882a(0x178)],'LcCGg':function(_0x2b4aee,_0xd8a4a3){const _0x23069d=_0x16882a;return _0x3be8e3[_0x23069d(0x16f)](_0x2b4aee,_0xd8a4a3);},'adCYr':'下载超时'};let _0x534ae2=![];const _0x51d978=_0x1c09d4=>{const _0x2d2d11=_0x16882a;logDebug(_0x1b0c6c['jsOoS'],_0x1c09d4,_0x51bd5e);if(_0x1b0c6c[_0x2d2d11(0x147)](_0x1c09d4[_0x2d2d11(0x168)],_0x51bd5e)){_0x534ae2=!![];let _0x1da7e8=_0x1c09d4['filePath'];if(_0x1da7e8[_0x2d2d11(0x138)]('\x5c')){const _0x333798=sessionConfig['defaultFileDownloadPath'];_0x1b0c6c[_0x2d2d11(0x13f)](logDebug,_0x1b0c6c[_0x2d2d11(0x162)],_0x333798),_0x1da7e8=_0x34ab25[_0x2d2d11(0x159)](_0x333798,_0x1da7e8);}_0x1b0c6c[_0x2d2d11(0x17d)](_0xf3b6bd,_0x1da7e8);}};downloadMediaTasks[_0x16882a(0x150)](randomUUID(),_0x51d978),_0x3be8e3[_0x16882a(0x161)](setTimeout,()=>{!_0x534ae2&&_0x384409(_0x1b0c6c['adCYr']);},_0xba7112),napCatCore['session']['getMsgService']()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x51bd5e,'chatType':_0x4570d8,'peerUid':_0x1c76db,'elementId':_0x42f130,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1659b5});});}static async['getImageSize'](_0x1dae7f){const _0x10282d={'gEHhW':function(_0x125c4f,_0x325f14){return _0x125c4f(_0x325f14);},'SySfA':function(_0x1296ad,_0x2e93ff,_0x35e076){return _0x1296ad(_0x2e93ff,_0x35e076);}};return new Promise((_0xa837d2,_0x52a72a)=>{const _0x1d1b06=_0x2e3f;_0x10282d[_0x1d1b06(0x156)](_0x3bbb32,_0x1dae7f,(_0x140127,_0x16b734)=>{const _0x2ac65f=_0x1d1b06;_0x140127?_0x52a72a(_0x140127):_0x10282d[_0x2ac65f(0x170)](_0xa837d2,_0x16b734);});});}static async[_0x1bac3d(0x148)](_0x480f71,_0x231894){const _0x1bdef8=_0x1bac3d,_0xcab87c={'bEpHP':'/download','jOGPE':_0x1bdef8(0x172),'DbCWd':function(_0xd60ace,_0x43100e){return _0xd60ace+_0x43100e;},'TMVWz':function(_0x5abd13,_0x2ce746){return _0x5abd13||_0x2ce746;},'HRBwJ':_0x1bdef8(0x143)};if(!_0x480f71)return'';const _0x5b70ea=_0x480f71[_0x1bdef8(0x14d)],_0x2691c3=_0x480f71[_0x1bdef8(0x155)],_0x3d6963=_0x480f71[_0x1bdef8(0x155)],_0x5c970e=_0x480f71['fileUuid'];if(_0x5b70ea){if(_0x5b70ea['startsWith'](_0xcab87c[_0x1bdef8(0x15c)])){if(_0x5b70ea[_0x1bdef8(0x152)](_0xcab87c[_0x1bdef8(0x17e)]))return IMAGE_HTTP_HOST_NT+_0x5b70ea;const _0x4c2c18=await rkeyManager[_0x1bdef8(0x165)](),_0x182c64=_0x231894?_0x4c2c18[_0x1bdef8(0x16e)]:_0x4c2c18[_0x1bdef8(0x180)];return _0xcab87c[_0x1bdef8(0x171)](_0xcab87c[_0x1bdef8(0x171)](IMAGE_HTTP_HOST_NT,_0x5b70ea),''+_0x182c64);}else return _0xcab87c[_0x1bdef8(0x171)](IMAGE_HTTP_HOST,_0x5b70ea);}else{if(_0xcab87c[_0x1bdef8(0x13d)](_0x3d6963,_0x2691c3))return IMAGE_HTTP_HOST+_0x1bdef8(0x15b)+(_0x3d6963||_0x2691c3)['toUpperCase']()+'/0';}return logDebug(_0xcab87c[_0x1bdef8(0x13b)],_0x480f71),'';}}function _0x375c(){const _0x2344a1=['getFileSize','/gchatpic_new/0/0-0-','bEpHP','518980mdlGUY','clearCache','indexOf','HKEij','tKyYB','yAGnY','256991ZUhBgH','start\x20downloadMedia','getRkey','getMsgService','nVNiE','msgId','286707CpORHP','CuYEK','hotUpdate','scanCache','onLoginSuccess','private_rkey','Jlsic','gEHhW','DbCWd','&rkey=','552005hTATyd','getChatCacheList','IJFku','uploadFile','getFileType','lVDyd','addCacheScanedPaths','copyFile','fileTypeFromFile','yfCfn','LcCGg','jOGPE','onRichMediaDownloadComplete','group_rkey','getStorageCleanService','startsWith','RROql','4412250WsGpPP','HRBwJ','delete','TMVWz','util','KZUAQ','tmp','2364248poXvcT','McROc','图片url获取失败','receive\x20downloadMedia\x20task','xDthn','getChatCacheInfo','YClHD','getImageUrl','session','addCacheScannedPaths','addListener','getFileCacheInfo','originImageUrl','4UKcyJI','36ioONvB','set','downloadMedia\x20complete','includes','getCacheSessionPathList','downloadPath','md5HexStr','SySfA','80894EEfEdL','PIC','join'];_0x375c=function(){return _0x2344a1;};return _0x375c();}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x2d6685=!![]){return'';}static[_0x1bac3d(0x153)](){return'';}static[_0x1bac3d(0x15e)](_0x4795a5=[_0x1bac3d(0x140),_0x1bac3d(0x16b)]){const _0x15b1d9=_0x1bac3d;return napCatCore[_0x15b1d9(0x149)][_0x15b1d9(0x181)]()['clearCacheDataByKeys'](_0x4795a5);}static[_0x1bac3d(0x14a)](_0x5dfd02={}){const _0x3d7984=_0x1bac3d;return napCatCore['session'][_0x3d7984(0x181)]()[_0x3d7984(0x179)](_0x5dfd02);}static['scanCache'](){const _0x59de38=_0x1bac3d;return napCatCore[_0x59de38(0x149)][_0x59de38(0x181)]()[_0x59de38(0x16c)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x1bac3d(0x174)](_0x39b7fe,_0x39856b=0x3e8,_0x34e346=0x0){const _0x543bec=_0x1bac3d;return napCatCore['session']['getStorageCleanService']()[_0x543bec(0x146)](_0x39b7fe,_0x39856b,0x1,_0x34e346);}static[_0x1bac3d(0x14c)](_0x12ec89,_0x1da9c8=0x3e8,_0x515164){const _0x359f45=_0x515164?_0x515164:{'fileType':_0x12ec89};}static async['clearChatCache'](_0x5e49b7=[],_0x2eb162=[]){const _0x471d4e=_0x1bac3d;return napCatCore['session'][_0x471d4e(0x181)]()['clearChatCacheInfo'](_0x5e49b7,_0x2eb162);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index 2eaa567d..58bd74ae 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x160e60=_0xf4f7;(function(_0x313596,_0x5a7f8a){const _0xd8bc05=_0xf4f7,_0x36beb0=_0x313596();while(!![]){try{const _0x48bc80=-parseInt(_0xd8bc05(0xaa))/0x1+parseInt(_0xd8bc05(0x99))/0x2+-parseInt(_0xd8bc05(0x91))/0x3+parseInt(_0xd8bc05(0xa5))/0x4*(parseInt(_0xd8bc05(0xac))/0x5)+parseInt(_0xd8bc05(0x9e))/0x6*(parseInt(_0xd8bc05(0xa7))/0x7)+parseInt(_0xd8bc05(0x92))/0x8*(parseInt(_0xd8bc05(0xa8))/0x9)+parseInt(_0xd8bc05(0x8f))/0xa*(parseInt(_0xd8bc05(0xa9))/0xb);if(_0x48bc80===_0x5a7f8a)break;else _0x36beb0['push'](_0x36beb0['shift']());}catch(_0x17c980){_0x36beb0['push'](_0x36beb0['shift']());}}}(_0xf23c,0xf10e4));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0x87be7=>{const _0x12dce4=_0xf4f7,_0xa9a52e={'EZuUJ':function(_0x601a00,_0x1ed192){return _0x601a00(_0x1ed192);}};for(const [_0x495cc4,_0x43974c]of buddyChangeTasks){_0xa9a52e[_0x12dce4(0x96)](_0x43974c,_0x87be7),buddyChangeTasks[_0x12dce4(0xa6)](_0x495cc4);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x160e60(0x90)](_0x5449e5=![]){const _0x2202e2=_0x160e60,_0x5c9a8b={'pFyts':function(_0xb0a178,_0x4df831,_0x4c792f){return _0xb0a178(_0x4df831,_0x4c792f);},'kHbyu':'获取好友列表完成','wjhRB':function(_0x952b9d,_0x538773){return _0x952b9d(_0x538773);},'Qlkyf':_0x2202e2(0x9a),'IwEoW':function(_0x223770,_0xbdb9fc,_0x998b44){return _0x223770(_0xbdb9fc,_0x998b44);}};return new Promise((_0x10c5df,_0x362bc9)=>{const _0x41bda5=_0x2202e2,_0x2c0a31={'QkbGS':function(_0x120154,_0x228293){const _0x35a973=_0xf4f7;return _0x5c9a8b[_0x35a973(0x95)](_0x120154,_0x228293);},'xWAIo':_0x41bda5(0x9f),'lHdAy':_0x5c9a8b['Qlkyf']};let _0x296e75=![];_0x5c9a8b[_0x41bda5(0x93)](setTimeout,()=>{const _0x4086e7=_0x41bda5;!_0x296e75&&(_0x2c0a31[_0x4086e7(0x8e)](logDebug,_0x4086e7(0x9f)),_0x362bc9(_0x2c0a31[_0x4086e7(0x97)]));},0x1388);const _0x44ad7f=[],_0x38b3c5=_0x375027=>{const _0x5ebd08=_0x41bda5;for(const _0x4580e2 of _0x375027){for(const _0x525c75 of _0x4580e2[_0x5ebd08(0x94)]){_0x44ad7f['push'](_0x525c75),uid2UinMap[_0x525c75[_0x5ebd08(0xa4)]]=_0x525c75[_0x5ebd08(0xab)];}}_0x296e75=!![],_0x5c9a8b[_0x5ebd08(0xa3)](logDebug,_0x5c9a8b[_0x5ebd08(0x98)],_0x44ad7f),_0x5c9a8b['wjhRB'](_0x10c5df,_0x44ad7f);};buddyChangeTasks[_0x41bda5(0x9d)](randomUUID(),_0x38b3c5),napCatCore[_0x41bda5(0x9b)][_0x41bda5(0xa1)]()[_0x41bda5(0x9c)](_0x5449e5)['then'](_0x53ef0c=>{const _0x4ab0e3=_0x41bda5;logDebug(_0x2c0a31[_0x4ab0e3(0xa2)],_0x53ef0c);});});}static async[_0x160e60(0xad)](_0x124d9e,_0x3a5200){const _0x7e59f6=_0x160e60;napCatCore[_0x7e59f6(0x9b)][_0x7e59f6(0xa1)]()?.['approvalFriendRequest']({'friendUid':_0x124d9e['friendUid'],'reqTime':_0x124d9e[_0x7e59f6(0xa0)],'accept':_0x3a5200});}}function _0xf4f7(_0x31587f,_0x44a9c3){const _0xf23ce3=_0xf23c();return _0xf4f7=function(_0xf4f779,_0x4cfac0){_0xf4f779=_0xf4f779-0x8e;let _0x212a32=_0xf23ce3[_0xf4f779];return _0x212a32;},_0xf4f7(_0x31587f,_0x44a9c3);}function _0xf23c(){const _0x4a6bf8=['IwEoW','buddyList','wjhRB','EZuUJ','xWAIo','kHbyu','232282wFXmBC','开始获取好友列表','session','getBuddyList','set','1603626binkon','获取好友列表超时','reqTime','getBuddyService','lHdAy','pFyts','uid','42452LWTNoD','delete','35pSLRVK','5483331fpnhGF','132TKzKfV','1591797jXVHEf','uin','70ixINCz','handleFriendRequest','QkbGS','1326470wMOawf','getFriends','5496597RxRnJd','16kMezqI'];_0xf23c=function(){return _0x4a6bf8;};return _0xf23c();} \ No newline at end of file +const _0x41d4ee=_0x2c4a;(function(_0x58e2be,_0x5aa1d5){const _0x30a25d=_0x2c4a,_0x1ee834=_0x58e2be();while(!![]){try{const _0x18c1aa=parseInt(_0x30a25d(0x1d3))/0x1*(parseInt(_0x30a25d(0x1ce))/0x2)+parseInt(_0x30a25d(0x1e3))/0x3*(parseInt(_0x30a25d(0x1cf))/0x4)+-parseInt(_0x30a25d(0x1cc))/0x5+parseInt(_0x30a25d(0x1e2))/0x6*(-parseInt(_0x30a25d(0x1d8))/0x7)+parseInt(_0x30a25d(0x1e9))/0x8+parseInt(_0x30a25d(0x1e1))/0x9*(-parseInt(_0x30a25d(0x1de))/0xa)+parseInt(_0x30a25d(0x1dc))/0xb;if(_0x18c1aa===_0x5aa1d5)break;else _0x1ee834['push'](_0x1ee834['shift']());}catch(_0x285625){_0x1ee834['push'](_0x1ee834['shift']());}}}(_0xb766,0x9a5f5));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();function _0x2c4a(_0x5274fd,_0x54eeda){const _0xb76629=_0xb766();return _0x2c4a=function(_0x2c4a50,_0x3a4bd0){_0x2c4a50=_0x2c4a50-0x1c9;let _0x4d82e7=_0xb76629[_0x2c4a50];return _0x4d82e7;},_0x2c4a(_0x5274fd,_0x54eeda);}buddyListener['onBuddyListChange']=_0x5e877d=>{for(const [_0x1b3c86,_0x4d610f]of buddyChangeTasks){_0x4d610f(_0x5e877d),buddyChangeTasks['delete'](_0x1b3c86);}},setTimeout(()=>{const _0x404854=_0x2c4a;napCatCore[_0x404854(0x1da)](()=>{const _0x267f50=_0x404854;napCatCore[_0x267f50(0x1df)](buddyListener);});},0x64);function _0xb766(){const _0x2e7852=['friendUid','getBuddyList','430130GhdnGc','buddyList','2fyggMw','50100dmfWCB','handleFriendRequest','set','KgjLd','1200566JqAWpo','获取好友列表超时','then','getBuddyService','开始获取好友列表','182rGaLPJ','approvalFriendRequest','onLoginSuccess','session','3176580YlGEQu','reqTime','30kSauFD','addListener','getFriends','1544427XpajqF','134856ifTUEr','21FPkOvh','ufKaH','获取好友列表完成','FhODj','push','Ojyeh','1923992dCjcKg','CIhhl'];_0xb766=function(){return _0x2e7852;};return _0xb766();}export class NTQQFriendApi{static async[_0x41d4ee(0x1e0)](_0x4d4dbe=![]){const _0x5903e4=_0x41d4ee,_0x2953e6={'FhODj':function(_0x383e1c,_0x42f6d6,_0x1db9ea){return _0x383e1c(_0x42f6d6,_0x1db9ea);},'ufKaH':_0x5903e4(0x1e5),'Ojyeh':function(_0x4ea886,_0x338f3c){return _0x4ea886(_0x338f3c);},'KgjLd':_0x5903e4(0x1d4),'CIhhl':function(_0x8842f8){return _0x8842f8();}};return new Promise((_0x1fb776,_0x3a022c)=>{const _0x90681a=_0x5903e4,_0x5d8792={'fufzG':function(_0x4a5abb,_0x37c3d8){return _0x2953e6['Ojyeh'](_0x4a5abb,_0x37c3d8);},'dPMop':_0x2953e6[_0x90681a(0x1d2)]};let _0x5a7b9e=![];_0x2953e6[_0x90681a(0x1e6)](setTimeout,()=>{const _0x3e8f9f=_0x90681a;!_0x5a7b9e&&(_0x5d8792['fufzG'](logDebug,_0x5d8792['dPMop']),_0x5d8792['fufzG'](_0x3a022c,_0x3e8f9f(0x1d4)));},0x1388);const _0x113872=[],_0x3d4fb7=_0x23fe7d=>{const _0x4dba5a=_0x90681a;for(const _0x4e6ba0 of _0x23fe7d){for(const _0x46e5a of _0x4e6ba0[_0x4dba5a(0x1cd)]){_0x113872[_0x4dba5a(0x1e7)](_0x46e5a),uid2UinMap[_0x46e5a['uid']]=_0x46e5a['uin'];}}_0x5a7b9e=!![],_0x2953e6['FhODj'](logDebug,_0x2953e6[_0x4dba5a(0x1e4)],_0x113872),_0x2953e6[_0x4dba5a(0x1e8)](_0x1fb776,_0x113872);};buddyChangeTasks[_0x90681a(0x1d1)](_0x2953e6[_0x90681a(0x1c9)](randomUUID),_0x3d4fb7),napCatCore[_0x90681a(0x1db)][_0x90681a(0x1d6)]()[_0x90681a(0x1cb)](_0x4d4dbe)[_0x90681a(0x1d5)](_0x28ba8b=>{const _0x180762=_0x90681a;_0x2953e6[_0x180762(0x1e6)](logDebug,_0x180762(0x1d7),_0x28ba8b);});});}static async[_0x41d4ee(0x1d0)](_0x4f9d09,_0x48047a){const _0x1262cc=_0x41d4ee;napCatCore[_0x1262cc(0x1db)][_0x1262cc(0x1d6)]()?.[_0x1262cc(0x1d9)]({'friendUid':_0x4f9d09[_0x1262cc(0x1ca)],'reqTime':_0x4f9d09[_0x1262cc(0x1dd)],'accept':_0x48047a});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index 3db009e5..b3f75e03 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x4fc5d9=_0x81d1;(function(_0x1d0742,_0x4ac0c3){const _0x4ebb6f=_0x81d1,_0x1db4e7=_0x1d0742();while(!![]){try{const _0x2ad1b1=-parseInt(_0x4ebb6f(0x9f))/0x1*(parseInt(_0x4ebb6f(0xb4))/0x2)+parseInt(_0x4ebb6f(0xb1))/0x3*(parseInt(_0x4ebb6f(0xa8))/0x4)+-parseInt(_0x4ebb6f(0xa5))/0x5*(parseInt(_0x4ebb6f(0x8e))/0x6)+parseInt(_0x4ebb6f(0x89))/0x7+parseInt(_0x4ebb6f(0xc2))/0x8*(-parseInt(_0x4ebb6f(0x8b))/0x9)+-parseInt(_0x4ebb6f(0xc8))/0xa*(parseInt(_0x4ebb6f(0xa4))/0xb)+-parseInt(_0x4ebb6f(0x9a))/0xc*(-parseInt(_0x4ebb6f(0x8c))/0xd);if(_0x2ad1b1===_0x4ac0c3)break;else _0x1db4e7['push'](_0x1db4e7['shift']());}catch(_0x4e8df0){_0x1db4e7['push'](_0x1db4e7['shift']());}}}(_0x2530,0xcaca7));function _0x81d1(_0x235166,_0x159c23){const _0x2530f0=_0x2530();return _0x81d1=function(_0x81d1a0,_0x4fe2ea){_0x81d1a0=_0x81d1a0-0x82;let _0x217a7e=_0x2530f0[_0x81d1a0];return _0x217a7e;},_0x81d1(_0x235166,_0x159c23);}import{NTQQUserApi,napCatCore}from'@/core';function _0x2530(){const _0x54a5a9=['getNextMemberList','modifyMemberCardName','then','infos','49195VCeJEr','setMemberRole','errMsg','ebzeT','uid','26928FZFzYW','50FacBIy','setGroupName','session','20012zFVgyq','groupMemberList_MainWindow','errCode','QDwrs','WhGWT','banMember','kickMember','forEach','getGroupList','843laqGBw','getGroups','onGroupListUpdate','8jFUqsW','handleGroupRequest','operateSysNotify','Ylebm','set','groupCode','setGroupShutUp','FdRgS','delete','getPSkey','获取群列表完成','获取群列表超时','uploadGroupBulletinPic','modifyGroupName','16WqGeFq','addListener','OPloe','aCWPy','uin','onLoginSuccess','5190JxlgaT','seq','获取群成员列表出错,','finish','getGroupService','qun.qq.com','banGroup','CBJSB','180684IWghHG','result','1170486KvLXhZ','1705587xJQPWd','NlSbb','426246cVXWZC','group','获取群(','setGroupTitle','quitGroup','hjhTi','getGroupMembers','setMemberCard','type','getGroupNotifies','publishGroupBulletin',')成员列表结果:','168jxlsfG'];_0x2530=function(){return _0x54a5a9;};return _0x2530();}import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x4fc5d9(0xb3)]=(_0x38daee,_0x5e576e)=>{const _0x41ce40=_0x4fc5d9,_0x20b6e9={'OPloe':function(_0x16422e,_0xa1c2fe,_0x100074){return _0x16422e(_0xa1c2fe,_0x100074);}};for(const [_0x5005b7,_0x581f93]of groupMemberTasks){_0x20b6e9[_0x41ce40(0xc4)](_0x581f93,_0x38daee,_0x5e576e),groupMemberTasks[_0x41ce40(0xbc)](_0x5005b7);}},setTimeout(()=>{const _0xabd96e=_0x4fc5d9;napCatCore[_0xabd96e(0xc7)](()=>{const _0x5be751=_0xabd96e;napCatCore[_0x5be751(0xc3)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x4fc5d9(0xb2)](_0x1d063b=![]){const _0x46505e=_0x4fc5d9,_0x3a68f2={'hjhTi':_0x46505e(0xbf),'Ylebm':function(_0x1b617c,_0xf4649d){return _0x1b617c(_0xf4649d);},'cXYpM':function(_0x93ced1,_0x3e100c,_0x2bcee7){return _0x93ced1(_0x3e100c,_0x2bcee7);},'QDwrs':function(_0x1e6e1b,_0x415d5b){return _0x1e6e1b(_0x415d5b);}};let _0x3a374f=![];return new Promise((_0x326a05,_0x2d3c83)=>{const _0x45b260=_0x46505e,_0x195139={'JKXBi':function(_0x51dc89,_0x247aec,_0xeef88b){return _0x3a68f2['cXYpM'](_0x51dc89,_0x247aec,_0xeef88b);},'hNqHt':_0x45b260(0xbe),'FdRgS':function(_0x120f06,_0x1d327b){const _0x4b6df7=_0x45b260;return _0x3a68f2[_0x4b6df7(0xab)](_0x120f06,_0x1d327b);}};setTimeout(()=>{const _0x3cd1ef=_0x45b260;!_0x3a374f&&(logDebug(_0x3a68f2['hjhTi']),_0x3a68f2[_0x3cd1ef(0xb7)](_0x2d3c83,_0x3a68f2[_0x3cd1ef(0x93)]));},0x1388);const _0x38d12d=(_0x2f882e,_0x30cfae)=>{const _0x86ce2f=_0x45b260;_0x3a374f=!![],_0x195139['JKXBi'](logDebug,_0x195139['hNqHt'],_0x30cfae),_0x195139[_0x86ce2f(0xbb)](_0x326a05,_0x30cfae);};groupMemberTasks[_0x45b260(0xb8)](randomUUID(),_0x38d12d),napCatCore[_0x45b260(0xa7)][_0x45b260(0x85)]()[_0x45b260(0xb0)](_0x1d063b)[_0x45b260(0x9d)]();});}static async[_0x4fc5d9(0x94)](_0x2426c5,_0x19146e=0xbb8){const _0x47d211=_0x4fc5d9,_0x3ba7be={'RmsWG':_0x47d211(0xa9),'WhGWT':function(_0x24683,_0x555286){return _0x24683!==_0x555286;},'ebzeT':_0x47d211(0x83),'hSyQm':function(_0x3cf51a,_0x2deed0,_0x3c2537){return _0x3cf51a(_0x2deed0,_0x3c2537);}},_0x374692=napCatCore[_0x47d211(0xa7)]['getGroupService'](),_0x2064bd=_0x374692['createMemberListScene'](_0x2426c5,_0x3ba7be['RmsWG']),_0x243067=await _0x374692[_0x47d211(0x9b)](_0x2064bd,undefined,_0x19146e);if(_0x3ba7be[_0x47d211(0xac)](_0x243067[_0x47d211(0xaa)],0x0))throw _0x3ba7be[_0x47d211(0xa2)]+_0x243067[_0x47d211(0xa1)];return _0x3ba7be['hSyQm'](logDebug,_0x47d211(0x90)+_0x2426c5+_0x47d211(0x99),'finish:\x20'+_0x243067['result'][_0x47d211(0x84)]),_0x243067[_0x47d211(0x8a)][_0x47d211(0x9e)][_0x47d211(0xaf)](_0x167c08=>{const _0x47120d=_0x47d211;uid2UinMap[_0x167c08[_0x47120d(0xa3)]]=_0x167c08[_0x47120d(0xc6)];}),_0x243067[_0x47d211(0x8a)]['infos'];}static async[_0x4fc5d9(0x97)](){}static async['getGroupIgnoreNotifies'](){}static async[_0x4fc5d9(0xc0)](_0x5be200,_0x253518){const _0x877810=_0x4fc5d9,_0x313408={'aCWPy':_0x877810(0x86)},_0x5cc8d2=(await NTQQUserApi[_0x877810(0xbd)]([_0x313408[_0x877810(0xc5)]]))[_0x313408[_0x877810(0xc5)]];return napCatCore[_0x877810(0xa7)][_0x877810(0x85)]()[_0x877810(0xc0)](_0x5be200,_0x5cc8d2,_0x253518);}static async[_0x4fc5d9(0xb5)](_0x19edea,_0x1ca5a8,_0x134e6c){const _0x1f03c3=_0x4fc5d9,_0x18e89e={'CBJSB':function(_0x39ffc7,_0x933d09){return _0x39ffc7||_0x933d09;}};return napCatCore['session'][_0x1f03c3(0x85)]()[_0x1f03c3(0xb6)](![],{'operateType':_0x1ca5a8,'targetMsg':{'seq':_0x19edea[_0x1f03c3(0x82)],'type':_0x19edea[_0x1f03c3(0x96)],'groupCode':_0x19edea[_0x1f03c3(0x8f)][_0x1f03c3(0xb9)],'postscript':_0x18e89e[_0x1f03c3(0x88)](_0x134e6c,'')}});}static async[_0x4fc5d9(0x92)](_0x5b8125){const _0x4228a1=_0x4fc5d9;return napCatCore['session'][_0x4228a1(0x85)]()[_0x4228a1(0x92)](_0x5b8125);}static async[_0x4fc5d9(0xae)](_0xc57ab3,_0x22cca8,_0x594bd4=![],_0x1c6af2=''){const _0x5b1202=_0x4fc5d9;return napCatCore[_0x5b1202(0xa7)]['getGroupService']()[_0x5b1202(0xae)](_0xc57ab3,_0x22cca8,_0x594bd4,_0x1c6af2);}static async[_0x4fc5d9(0xad)](_0x3ae98f,_0x525f63){const _0x2669c8=_0x4fc5d9;return napCatCore[_0x2669c8(0xa7)][_0x2669c8(0x85)]()['setMemberShutUp'](_0x3ae98f,_0x525f63);}static async[_0x4fc5d9(0x87)](_0x1c7218,_0x28ecb3){const _0x3ec697=_0x4fc5d9;return napCatCore[_0x3ec697(0xa7)][_0x3ec697(0x85)]()[_0x3ec697(0xba)](_0x1c7218,_0x28ecb3);}static async[_0x4fc5d9(0x95)](_0x58f2d5,_0x31def9,_0x1381ab){const _0x5b097c=_0x4fc5d9;return napCatCore[_0x5b097c(0xa7)]['getGroupService']()[_0x5b097c(0x9c)](_0x58f2d5,_0x31def9,_0x1381ab);}static async[_0x4fc5d9(0xa0)](_0x2cee5b,_0x13a4a8,_0x4e5426){const _0x235cad=_0x4fc5d9;return napCatCore[_0x235cad(0xa7)][_0x235cad(0x85)]()['modifyMemberRole'](_0x2cee5b,_0x13a4a8,_0x4e5426);}static async[_0x4fc5d9(0xa6)](_0x23dcfa,_0x411944){const _0x27db81=_0x4fc5d9;return napCatCore[_0x27db81(0xa7)]['getGroupService']()[_0x27db81(0xc1)](_0x23dcfa,_0x411944,![]);}static async[_0x4fc5d9(0x91)](_0x549d22,_0x157158,_0x7b47a8){}static async[_0x4fc5d9(0x98)](_0xd89784,_0x205d25,_0x37f8a0=undefined,_0x3f8d37=0x0,_0xaff523=0x0){const _0x1a8777=_0x4fc5d9,_0x24dfe5={'NlSbb':_0x1a8777(0x86)},_0x38749d=(await NTQQUserApi[_0x1a8777(0xbd)]([_0x24dfe5[_0x1a8777(0x8d)]]))[_0x1a8777(0x86)];let _0x56391f={'text':encodeURI(_0x205d25),'picInfo':_0x37f8a0,'oldFeedsId':'','pinned':_0x3f8d37,'confirmRequired':_0xaff523};return napCatCore['session'][_0x1a8777(0x85)]()[_0x1a8777(0x98)](_0xd89784,_0x38749d,_0x56391f);}} \ No newline at end of file +const _0x560188=_0x4a40;(function(_0x4965b9,_0x260c8b){const _0x306931=_0x4a40,_0x264a4c=_0x4965b9();while(!![]){try{const _0x19659d=-parseInt(_0x306931(0xd7))/0x1*(parseInt(_0x306931(0xbc))/0x2)+-parseInt(_0x306931(0x9c))/0x3*(-parseInt(_0x306931(0xd2))/0x4)+-parseInt(_0x306931(0xb9))/0x5+parseInt(_0x306931(0xba))/0x6*(parseInt(_0x306931(0x9e))/0x7)+parseInt(_0x306931(0xb6))/0x8+-parseInt(_0x306931(0xb7))/0x9*(-parseInt(_0x306931(0xa2))/0xa)+-parseInt(_0x306931(0xdd))/0xb*(parseInt(_0x306931(0xb4))/0xc);if(_0x19659d===_0x260c8b)break;else _0x264a4c['push'](_0x264a4c['shift']());}catch(_0x56054f){_0x264a4c['push'](_0x264a4c['shift']());}}}(_0x3d02,0x75808));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();function _0x3d02(){const _0xb416d2=['riPVo','setGroupName','createMemberListScene','kickMember','set','TYyOY','getGroupMembers','finish:\x20','getGroupIgnoreNotifies','AhNKP','1166604ssEHhO','setGroupShutUp','group','delete','onLoginSuccess','870645MlytVu','getNextMemberList','getPSkey','groupMemberList_MainWindow','dCiEX','errCode','2409sDEcKO','finish','groupCode','9jKmkcn','IMCyK','3661609TpGQWk','MPild','getGroups','QjdsJ','112150YJIfet','setMemberShutUp','quitGroup','publishGroupBulletin','infos','getGroupService','获取群成员列表出错,','session','fEoNa','addListener','获取群(','uploadGroupBulletinPic','VnDAe','uid','qun.qq.com','LHevD',')成员列表结果:','getGroupNotifies','44460CoQxAf','onGroupListUpdate','4009968MHoqaS','450GlNIdd','banGroup','1483540IJLYIK','6wFNDDj','bKQbn','2mEdYJE','qZuIO','type','banMember','result','handleGroupRequest','modifyGroupName','获取群列表超时','ByXDR','getGroupList','forEach','dpBIR'];_0x3d02=function(){return _0xb416d2;};return _0x3d02();}groupListener[_0x560188(0xb5)]=(_0x2d1cb0,_0x1a2b0e)=>{const _0x156995=_0x560188,_0x11c9d0={'MPild':function(_0x3757a5,_0x400a84,_0x49d82d){return _0x3757a5(_0x400a84,_0x49d82d);}};for(const [_0x59c6ee,_0x31f371]of groupMemberTasks){_0x11c9d0[_0x156995(0x9f)](_0x31f371,_0x2d1cb0,_0x1a2b0e),groupMemberTasks[_0x156995(0xd5)](_0x59c6ee);}},setTimeout(()=>{const _0x276bbe=_0x560188;napCatCore[_0x276bbe(0xd6)](()=>{const _0x3d697a=_0x276bbe;napCatCore[_0x3d697a(0xab)](groupListener);});},0x64);function _0x4a40(_0x5a8434,_0x17a8da){const _0x3d0274=_0x3d02();return _0x4a40=function(_0x4a4011,_0xffd03f){_0x4a4011=_0x4a4011-0x9b;let _0x1bffc9=_0x3d0274[_0x4a4011];return _0x1bffc9;},_0x4a40(_0x5a8434,_0x17a8da);}export class NTQQGroupApi{static async[_0x560188(0xa0)](_0xb40135=![]){const _0x1aeb71={'qZuIO':function(_0x460285,_0x902272){return _0x460285(_0x902272);},'fEoNa':function(_0x1744d7,_0x1e5d3b,_0x375caf){return _0x1744d7(_0x1e5d3b,_0x375caf);},'dCiEX':function(_0x367012){return _0x367012();}};let _0x53da73=![];return new Promise((_0x1481ac,_0x2e1d14)=>{const _0x36f258=_0x4a40,_0x51514b={'LHevD':function(_0x4d187e,_0x449198){const _0x41672f=_0x4a40;return _0x1aeb71[_0x41672f(0xbd)](_0x4d187e,_0x449198);},'QjdsJ':_0x36f258(0xc3),'ByXDR':function(_0x168998,_0x2ea0ef,_0x1ad283){const _0x5e88a6=_0x36f258;return _0x1aeb71[_0x5e88a6(0xaa)](_0x168998,_0x2ea0ef,_0x1ad283);}};setTimeout(()=>{const _0x1d590d=_0x36f258;!_0x53da73&&(logDebug('获取群列表超时'),_0x51514b[_0x1d590d(0xb1)](_0x2e1d14,_0x51514b[_0x1d590d(0xa1)]));},0x1388);const _0x486086=(_0x43bba1,_0x4cf25d)=>{const _0x323f92=_0x36f258;_0x53da73=!![],_0x51514b[_0x323f92(0xc4)](logDebug,'获取群列表完成',_0x4cf25d),_0x51514b[_0x323f92(0xb1)](_0x1481ac,_0x4cf25d);};groupMemberTasks[_0x36f258(0xcc)](_0x1aeb71[_0x36f258(0xdb)](randomUUID),_0x486086),napCatCore['session']['getGroupService']()[_0x36f258(0xc5)](_0xb40135)['then']();});}static async[_0x560188(0xce)](_0x186113,_0x5f2ea2=0xbb8){const _0x5480b4=_0x560188,_0x1ba790={'riPVo':function(_0x1301e4,_0x233a22){return _0x1301e4!==_0x233a22;},'dpBIR':_0x5480b4(0xa8),'IMCyK':function(_0x14856f,_0x564cad,_0x2ca60c){return _0x14856f(_0x564cad,_0x2ca60c);}},_0x4dd5c3=napCatCore['session']['getGroupService'](),_0x2dd2e3=_0x4dd5c3[_0x5480b4(0xca)](_0x186113,_0x5480b4(0xda)),_0xaff9c9=await _0x4dd5c3[_0x5480b4(0xd8)](_0x2dd2e3,undefined,_0x5f2ea2);if(_0x1ba790[_0x5480b4(0xc8)](_0xaff9c9[_0x5480b4(0xdc)],0x0))throw _0x1ba790[_0x5480b4(0xc7)]+_0xaff9c9['errMsg'];return _0x1ba790[_0x5480b4(0x9d)](logDebug,_0x5480b4(0xac)+_0x186113+_0x5480b4(0xb2),_0x5480b4(0xcf)+_0xaff9c9['result'][_0x5480b4(0xde)]),_0xaff9c9[_0x5480b4(0xc0)]['infos'][_0x5480b4(0xc6)](_0x3ebaa5=>{const _0x14bcb6=_0x5480b4;uid2UinMap[_0x3ebaa5[_0x14bcb6(0xaf)]]=_0x3ebaa5['uin'];}),_0xaff9c9[_0x5480b4(0xc0)][_0x5480b4(0xa6)];}static async[_0x560188(0xb3)](){}static async[_0x560188(0xd0)](){}static async[_0x560188(0xad)](_0x3bd0b4,_0x355510){const _0x44a221=_0x560188,_0x44fb65={'AhNKP':_0x44a221(0xb0)},_0x5cb17e=(await NTQQUserApi['getPSkey']([_0x44fb65[_0x44a221(0xd1)]]))['qun.qq.com'];return napCatCore[_0x44a221(0xa9)][_0x44a221(0xa7)]()[_0x44a221(0xad)](_0x3bd0b4,_0x5cb17e,_0x355510);}static async[_0x560188(0xc1)](_0x56f261,_0x5ab97a,_0x55dd3a){const _0x38dae6=_0x560188,_0x1c34a8={'VnDAe':function(_0x34dc49,_0x226f48){return _0x34dc49||_0x226f48;}};return napCatCore[_0x38dae6(0xa9)][_0x38dae6(0xa7)]()['operateSysNotify'](![],{'operateType':_0x5ab97a,'targetMsg':{'seq':_0x56f261['seq'],'type':_0x56f261[_0x38dae6(0xbe)],'groupCode':_0x56f261[_0x38dae6(0xd4)][_0x38dae6(0x9b)],'postscript':_0x1c34a8[_0x38dae6(0xae)](_0x55dd3a,'')}});}static async[_0x560188(0xa4)](_0x8eb50b){const _0xea4f6f=_0x560188;return napCatCore[_0xea4f6f(0xa9)][_0xea4f6f(0xa7)]()['quitGroup'](_0x8eb50b);}static async['kickMember'](_0x592eb0,_0x5b6086,_0x126247=![],_0xd35ef6=''){const _0x4cbd25=_0x560188;return napCatCore[_0x4cbd25(0xa9)][_0x4cbd25(0xa7)]()[_0x4cbd25(0xcb)](_0x592eb0,_0x5b6086,_0x126247,_0xd35ef6);}static async[_0x560188(0xbf)](_0x4e250a,_0x131d0c){const _0x37c2ac=_0x560188;return napCatCore['session'][_0x37c2ac(0xa7)]()[_0x37c2ac(0xa3)](_0x4e250a,_0x131d0c);}static async[_0x560188(0xb8)](_0x508899,_0x226089){const _0x508d5e=_0x560188;return napCatCore[_0x508d5e(0xa9)]['getGroupService']()[_0x508d5e(0xd3)](_0x508899,_0x226089);}static async['setMemberCard'](_0x13d575,_0x45bfbf,_0x1b0d8b){const _0x480e87=_0x560188;return napCatCore[_0x480e87(0xa9)][_0x480e87(0xa7)]()['modifyMemberCardName'](_0x13d575,_0x45bfbf,_0x1b0d8b);}static async['setMemberRole'](_0x596eaf,_0x30eeb7,_0xf32ab2){const _0x16ef0d=_0x560188;return napCatCore['session'][_0x16ef0d(0xa7)]()['modifyMemberRole'](_0x596eaf,_0x30eeb7,_0xf32ab2);}static async[_0x560188(0xc9)](_0x59bedd,_0x134f91){const _0x209d9b=_0x560188;return napCatCore['session'][_0x209d9b(0xa7)]()[_0x209d9b(0xc2)](_0x59bedd,_0x134f91,![]);}static async['setGroupTitle'](_0x56ed1c,_0x3bcbe9,_0x54ddf4){}static async[_0x560188(0xa5)](_0x233e6a,_0x172457,_0xa26614=undefined,_0x52bf12=0x0,_0x1c15b8=0x0){const _0x99f50a=_0x560188,_0x12deec={'bKQbn':_0x99f50a(0xb0),'TYyOY':function(_0x4b16d9,_0x3d05b4){return _0x4b16d9(_0x3d05b4);}},_0xb1b035=(await NTQQUserApi[_0x99f50a(0xd9)]([_0x12deec[_0x99f50a(0xbb)]]))[_0x12deec[_0x99f50a(0xbb)]];let _0x3b3e14={'text':_0x12deec[_0x99f50a(0xcd)](encodeURI,_0x172457),'picInfo':_0xa26614,'oldFeedsId':'','pinned':_0x52bf12,'confirmRequired':_0x1c15b8};return napCatCore['session'][_0x99f50a(0xa7)]()[_0x99f50a(0xa5)](_0x233e6a,_0xb1b035,_0x3b3e14);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 8c2772be..14c690d2 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -function _0x2c17(_0x494391,_0x27c53e){var _0x8892d8=_0x8892();return _0x2c17=function(_0x2c1735,_0x40855c){_0x2c1735=_0x2c1735-0x1f4;var _0x49dd5d=_0x8892d8[_0x2c1735];return _0x49dd5d;},_0x2c17(_0x494391,_0x27c53e);}(function(_0x109c32,_0xc4a49a){var _0x42be19=_0x2c17,_0x2c3c2a=_0x109c32();while(!![]){try{var _0x39ce0f=parseInt(_0x42be19(0x1fe))/0x1*(-parseInt(_0x42be19(0x1f4))/0x2)+parseInt(_0x42be19(0x1f7))/0x3*(-parseInt(_0x42be19(0x1fb))/0x4)+-parseInt(_0x42be19(0x1fc))/0x5*(parseInt(_0x42be19(0x1fa))/0x6)+parseInt(_0x42be19(0x1f5))/0x7+parseInt(_0x42be19(0x1f6))/0x8*(-parseInt(_0x42be19(0x1f8))/0x9)+parseInt(_0x42be19(0x1f9))/0xa*(-parseInt(_0x42be19(0x1fd))/0xb)+parseInt(_0x42be19(0x1ff))/0xc;if(_0x39ce0f===_0xc4a49a)break;else _0x2c3c2a['push'](_0x2c3c2a['shift']());}catch(_0x5204cd){_0x2c3c2a['push'](_0x2c3c2a['shift']());}}}(_0x8892,0xc0eb9));function _0x8892(){var _0x2e2691=['1917846PWkIEo','2531896iLItJC','155175DRYQXz','27GsvByy','30KNCDVL','5082066xjBqnA','12cstfOO','5kfRgvp','1048553lWSlAC','1lWIwsH','43263696pCwccF','1702938bbfwkL'];_0x8892=function(){return _0x2e2691;};return _0x8892();}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +function _0x1f2a(_0x235677,_0x5e10a9){var _0x2f9920=_0x2f99();return _0x1f2a=function(_0x1f2a4f,_0x2633a8){_0x1f2a4f=_0x1f2a4f-0xaf;var _0x130797=_0x2f9920[_0x1f2a4f];return _0x130797;},_0x1f2a(_0x235677,_0x5e10a9);}(function(_0x53115a,_0x511c0d){var _0x2dde8e=_0x1f2a,_0x14b72c=_0x53115a();while(!![]){try{var _0x3889ff=-parseInt(_0x2dde8e(0xb4))/0x1*(parseInt(_0x2dde8e(0xb0))/0x2)+-parseInt(_0x2dde8e(0xb9))/0x3*(-parseInt(_0x2dde8e(0xb2))/0x4)+-parseInt(_0x2dde8e(0xb7))/0x5*(parseInt(_0x2dde8e(0xb8))/0x6)+-parseInt(_0x2dde8e(0xb6))/0x7+parseInt(_0x2dde8e(0xb1))/0x8+parseInt(_0x2dde8e(0xaf))/0x9*(-parseInt(_0x2dde8e(0xb3))/0xa)+parseInt(_0x2dde8e(0xb5))/0xb;if(_0x3889ff===_0x511c0d)break;else _0x14b72c['push'](_0x14b72c['shift']());}catch(_0x5046d1){_0x14b72c['push'](_0x14b72c['shift']());}}}(_0x2f99,0x539f3));export*from'./file';export*from'./friend';export*from'./group';function _0x2f99(){var _0x10f22a=['180092WogsTj','2900248OuDBuM','72JKGRXc','380vgDNaD','4IqDjBw','2350700qoqxnl','260197wEfbUm','2531225fbotLm','6TrNcwk','111831WRbyCe','261gLFvJa'];_0x2f99=function(){return _0x10f22a;};return _0x2f99();}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index df47117d..f485a1ac 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x3f5823=_0x1858;function _0x46dc(){const _0x183b29=['onMsgInfoListUpdate','setMsgRead','com.tencent.multimsg','nick','VKZEi','getMsgsByMsgId','YAzBQ','scfiG','sendStatus','peerUid','activateChat','1722536EwmGnV','527945RCnpRO','parse','getMsgsBySeqAndCount','msgId','AQkYX','recallMsg','arkElement','ELMFy','getMsgHistory','pxRKw','22932bEnThC','toString','session','getMsgsIncludeSelf','1409943MAizQi','DAzFQ','VEKKo','getMsgService','dXbuz','转发消息超时','YDONm','bytesData','activateChatAndGetHistory','JSzng','multiForwardMsgWithComment','uid','onLoginSuccess','401766jqWxdh','DiHtL','then','579781XEhbqi','jrxUr','app','vZYdj','HEWdN','senderUid','nrRyh','setMsgEmojiLikes','addListener','XlCfW','AmDOZ','chatType','UcwmX','tWNIJ','sniOT','vfsWY','forEach','1001OXTyJA','catch','LXkac','sendMsg','getMultiMsg','10103568FwAbBv','multiForwardMsg'];_0x46dc=function(){return _0x183b29;};return _0x46dc();}(function(_0x3d7fa9,_0x35dea4){const _0x4fac30=_0x1858,_0x333e3a=_0x3d7fa9();while(!![]){try{const _0x2e4efa=-parseInt(_0x4fac30(0x1c3))/0x1+parseInt(_0x4fac30(0x1c0))/0x2+-parseInt(_0x4fac30(0x1f5))/0x3+parseInt(_0x4fac30(0x1e6))/0x4+parseInt(_0x4fac30(0x1e7))/0x5+parseInt(_0x4fac30(0x1f1))/0x6*(-parseInt(_0x4fac30(0x1d4))/0x7)+parseInt(_0x4fac30(0x1d9))/0x8;if(_0x2e4efa===_0x35dea4)break;else _0x333e3a['push'](_0x333e3a['shift']());}catch(_0x333388){_0x333e3a['push'](_0x333e3a['shift']());}}}(_0x46dc,0x62920));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';function _0x1858(_0x1274f5,_0x398186){const _0x46dcea=_0x46dc();return _0x1858=function(_0x185819,_0x45ca22){_0x185819=_0x185819-0x1b6;let _0x485d94=_0x46dcea[_0x185819];return _0x485d94;},_0x1858(_0x1274f5,_0x398186);}import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onAddSendMsg']=_0x2d65e7=>{const _0x51887b=_0x1858,_0x5722de={'sniOT':function(_0x46f591,_0x1c874c){return _0x46f591(_0x1c874c);},'JYYXF':function(_0x295d1f,_0x21717c){return _0x295d1f instanceof _0x21717c;}};for(const [_0x25043a,_0x4d8de1]of sentMsgTasks){_0x5722de[_0x51887b(0x1d1)](_0x4d8de1,_0x2d65e7),sentMsgTasks['delete'](_0x25043a);}if(sendMessagePool[_0x2d65e7['peerUid']]){const _0x1f595b=sendMessagePool[_0x2d65e7['peerUid']]?.(_0x2d65e7);_0x5722de['JYYXF'](_0x1f595b,Promise)&&_0x1f595b['then']()[_0x51887b(0x1d5)](logError);}},msgListener[_0x3f5823(0x1db)]=_0x39f471=>{const _0x22443e=_0x3f5823,_0x23cfb4={'kPkkg':function(_0x1070c7,_0x1eebfe){return _0x1070c7(_0x1eebfe);},'tWNIJ':function(_0x4378d2,_0x23eb33){return _0x4378d2(_0x23eb33);}};_0x39f471[_0x22443e(0x1d3)](_0x52bad8=>{const _0x6a25e4=_0x22443e,_0x23eacd={'jrxUr':function(_0x563d53,_0x3474aa){return _0x23cfb4['kPkkg'](_0x563d53,_0x3474aa);},'vfsWY':function(_0x4fcf69,_0xfc21bc){const _0x23d7a8=_0x1858;return _0x23cfb4[_0x23d7a8(0x1d0)](_0x4fcf69,_0xfc21bc);}};new Promise((_0x38074e,_0x27a374)=>{const _0x187afa=_0x1858;for(const _0x4ddf17 in sendSuccessCBMap){const _0x5f4c3e=sendSuccessCBMap[_0x4ddf17],_0x52530f=_0x23eacd[_0x187afa(0x1c4)](_0x5f4c3e,_0x52bad8),_0x7f9423=_0x37e108=>{_0x37e108&&delete sendSuccessCBMap[_0x4ddf17];};_0x52530f instanceof Promise?_0x52530f['then'](_0x7f9423):_0x23eacd[_0x187afa(0x1d2)](_0x7f9423,_0x52530f);}})[_0x6a25e4(0x1c2)]()[_0x6a25e4(0x1d5)](log);});},setTimeout(()=>{const _0x4f9073=_0x3f5823;napCatCore[_0x4f9073(0x1bf)](()=>{const _0x20ff50=_0x4f9073;napCatCore[_0x20ff50(0x1cb)](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0xa47540,_0x137e1e,_0x4adb8e,_0x2e9207=!![]){const _0x2b5032=_0x3f5823,_0xd10205={'pxRKw':function(_0x1ddbb2,_0x2d1fd6){return _0x1ddbb2>_0x2d1fd6;}};return _0x4adb8e=_0x4adb8e[_0x2b5032(0x1f2)](),napCatCore['session'][_0x2b5032(0x1b6)]()[_0x2b5032(0x1ca)](_0xa47540,_0x137e1e,_0x4adb8e,_0xd10205[_0x2b5032(0x1f0)](_0x4adb8e['length'],0x3)?'2':'1',_0x2e9207);}static async[_0x3f5823(0x1d8)](_0x57b639,_0x57fc6e,_0x21cd2c){const _0x3228c9=_0x3f5823;return napCatCore[_0x3228c9(0x1f3)][_0x3228c9(0x1b6)]()['getMultiMsg'](_0x57b639,_0x57fc6e,_0x21cd2c);}static async[_0x3f5823(0x1e0)](_0x1620e3,_0x2d6bdf){const _0x4e3d49=_0x3f5823;return await napCatCore['session'][_0x4e3d49(0x1b6)]()[_0x4e3d49(0x1e0)](_0x1620e3,_0x2d6bdf);}static async[_0x3f5823(0x1e9)](_0xdeb07a,_0x35cd9d,_0x4a08b8,_0x3d43e1,_0x1aaca8){const _0x33eb22=_0x3f5823;return await napCatCore[_0x33eb22(0x1f3)][_0x33eb22(0x1b6)]()[_0x33eb22(0x1e9)](_0xdeb07a,_0x35cd9d,_0x4a08b8,_0x3d43e1,_0x1aaca8);}static async[_0x3f5823(0x1e5)](_0x1c20d1){}static async[_0x3f5823(0x1bb)](_0x287a6a){}static async[_0x3f5823(0x1dc)](_0x38306d){const _0xca140a=_0x3f5823;return napCatCore[_0xca140a(0x1f3)][_0xca140a(0x1b6)]()[_0xca140a(0x1dc)](_0x38306d);}static async[_0x3f5823(0x1ef)](_0x433bbb,_0x24413a,_0x3a492c){const _0x56c95a=_0x3f5823;return napCatCore['session'][_0x56c95a(0x1b6)]()[_0x56c95a(0x1f4)](_0x433bbb,_0x24413a,_0x3a492c,!![]);}static async['fetchRecentContact'](){}static async[_0x3f5823(0x1ec)](_0x30d1f7,_0x222cc9){const _0x62467d=_0x3f5823;await napCatCore[_0x62467d(0x1f3)][_0x62467d(0x1b6)]()[_0x62467d(0x1ec)]({'chatType':_0x30d1f7[_0x62467d(0x1ce)],'peerUid':_0x30d1f7[_0x62467d(0x1e4)]},_0x222cc9);}static async[_0x3f5823(0x1d7)](_0x511768,_0x5e32bf,_0x3c4882=!![],_0x419986=0x2710){const _0x2b92ea=_0x3f5823,_0x533853={'XlCfW':function(_0x108022,_0x5ed224){return _0x108022>_0x5ed224;},'JSzng':'发送超时','HEWdN':function(_0x211a01,_0xf9d4bc){return _0x211a01(_0xf9d4bc);},'nrRyh':function(_0x5b12f6){return _0x5b12f6();},'VKZEi':function(_0x1c0168,_0x38c672){return _0x1c0168(_0x38c672);},'UcwmX':function(_0x4c882e,_0x2deca7){return _0x4c882e===_0x2deca7;},'XesdB':function(_0xfca957,_0x690772,_0x4d2281){return _0xfca957(_0x690772,_0x4d2281);}},_0x50a2e1=_0x511768[_0x2b92ea(0x1e4)];let _0x2194a7=0x0;const _0x372a12=async()=>{const _0x1e27c4=_0x2b92ea;if(_0x533853[_0x1e27c4(0x1cc)](_0x2194a7,_0x419986))throw _0x533853[_0x1e27c4(0x1bc)];const _0x5d22b8=sendMessagePool[_0x511768['peerUid']];if(_0x5d22b8)return await _0x533853[_0x1e27c4(0x1c7)](sleep,0x1f4),_0x2194a7+=0x1f4,await _0x533853['nrRyh'](_0x372a12);else return;};return await _0x533853[_0x2b92ea(0x1c9)](_0x372a12),new Promise((_0x24dbbc,_0x23c74d)=>{const _0x3dc5af=_0x2b92ea,_0x4e134d={'dXbuz':function(_0x24990a,_0x510dc6){const _0x2616cb=_0x1858;return _0x533853[_0x2616cb(0x1cf)](_0x24990a,_0x510dc6);},'VEKKo':function(_0x4b5282,_0x50c095){const _0x53a278=_0x1858;return _0x533853[_0x53a278(0x1c7)](_0x4b5282,_0x50c095);}};let _0x486aeb=![],_0x3f75c4=null;const _0x5abb83=_0x533853[_0x3dc5af(0x1c9)](randomUUID);sendSuccessCBMap[_0x5abb83]=_0x14f3db=>{const _0x5b63a1=_0x3dc5af;if(_0x14f3db[_0x5b63a1(0x1ea)]===_0x3f75c4?.[_0x5b63a1(0x1ea)]){if(_0x4e134d[_0x5b63a1(0x1b7)](_0x14f3db[_0x5b63a1(0x1e3)],0x2))return delete sendSuccessCBMap[_0x5abb83],_0x486aeb=!![],_0x4e134d[_0x5b63a1(0x1f7)](_0x24dbbc,_0x14f3db),!![];return![];}return![];},sendMessagePool[_0x50a2e1]=async _0x460f71=>{delete sendMessagePool[_0x50a2e1],_0x3f75c4=_0x460f71;},_0x533853['XesdB'](setTimeout,()=>{const _0x1d9ae3=_0x3dc5af;if(_0x486aeb)return;delete sendMessagePool[_0x50a2e1],delete sendSuccessCBMap[_0x5abb83],_0x533853[_0x1d9ae3(0x1df)](_0x23c74d,_0x533853[_0x1d9ae3(0x1bc)]);},_0x419986);const _0xe0e2dc=napCatCore[_0x3dc5af(0x1f3)][_0x3dc5af(0x1b6)]()[_0x3dc5af(0x1d7)]('0',_0x511768,_0x5e32bf,new Map());});}static async['forwardMsg'](_0x5d76cd,_0x3a943c,_0x31d534){const _0x5e3edd=_0x3f5823;return napCatCore['session'][_0x5e3edd(0x1b6)]()['forwardMsg'](_0x31d534,_0x5d76cd,[_0x3a943c],new Map());}static async[_0x3f5823(0x1da)](_0x56e090,_0x395e16,_0x4a0949){const _0x2215ac=_0x3f5823,_0x2964e6={'AQkYX':function(_0x3e650e,_0x38b416){return _0x3e650e!=_0x38b416;},'eShzF':_0x2215ac(0x1dd),'LXkac':function(_0x4381ad,_0x474723){return _0x4381ad==_0x474723;},'YAzBQ':function(_0x2a18e5,_0x277ac4){return _0x2a18e5==_0x277ac4;},'vZYdj':_0x2215ac(0x1b8),'YDONm':function(_0x343a6f){return _0x343a6f();},'dbgaY':function(_0x4972da,_0xa2c0eb,_0x265215){return _0x4972da(_0xa2c0eb,_0x265215);}},_0x55d727=_0x4a0949['map'](_0x3b775a=>{const _0x1703d7=_0x2215ac;return{'msgId':_0x3b775a,'senderShowName':selfInfo[_0x1703d7(0x1de)]};});return new Promise((_0x14ff69,_0x1b20d8)=>{const _0x5dc4da=_0x2215ac,_0x40c8aa={'DiHtL':function(_0x477609,_0x34c0d5){const _0x1600fa=_0x1858;return _0x2964e6[_0x1600fa(0x1eb)](_0x477609,_0x34c0d5);},'DAzFQ':_0x2964e6['eShzF'],'scfiG':function(_0xab8922,_0x4d159b){const _0x56f810=_0x1858;return _0x2964e6[_0x56f810(0x1d6)](_0xab8922,_0x4d159b);},'ELMFy':function(_0x5337eb,_0x5d4083){const _0x3bd290=_0x1858;return _0x2964e6[_0x3bd290(0x1e1)](_0x5337eb,_0x5d4083);},'AmDOZ':function(_0x1446b9,_0xc9bb88){return _0x1446b9(_0xc9bb88);},'fjgkP':_0x2964e6[_0x5dc4da(0x1c6)]};let _0xa2cd9=![];const _0x436a5d=_0x10566f=>{const _0x20a4fc=_0x5dc4da,_0x220568=_0x10566f['elements']['find'](_0x49853b=>_0x49853b[_0x20a4fc(0x1ed)]);if(!_0x220568)return;const _0x216b12=JSON[_0x20a4fc(0x1e8)](_0x220568[_0x20a4fc(0x1ed)][_0x20a4fc(0x1ba)]);if(_0x40c8aa[_0x20a4fc(0x1c1)](_0x216b12[_0x20a4fc(0x1c5)],_0x40c8aa[_0x20a4fc(0x1f6)]))return;_0x40c8aa[_0x20a4fc(0x1e2)](_0x10566f[_0x20a4fc(0x1e4)],_0x395e16[_0x20a4fc(0x1e4)])&&_0x40c8aa[_0x20a4fc(0x1ee)](_0x10566f[_0x20a4fc(0x1c8)],selfInfo[_0x20a4fc(0x1be)])&&(_0xa2cd9=!![],_0x40c8aa[_0x20a4fc(0x1cd)](_0x14ff69,_0x10566f));};sentMsgTasks['set'](_0x2964e6[_0x5dc4da(0x1b9)](randomUUID),_0x436a5d),_0x2964e6['dbgaY'](setTimeout,()=>{!_0xa2cd9&&_0x1b20d8(_0x40c8aa['fjgkP']);},0x1388),napCatCore[_0x5dc4da(0x1f3)][_0x5dc4da(0x1b6)]()[_0x5dc4da(0x1bd)](_0x55d727,_0x56e090,_0x395e16,[],new Map());});}} \ No newline at end of file +const _0x1aee28=_0x39e2;(function(_0x31bb02,_0x1e1858){const _0x8cada5=_0x39e2,_0x203a69=_0x31bb02();while(!![]){try{const _0x4ddae9=parseInt(_0x8cada5(0x188))/0x1+parseInt(_0x8cada5(0x156))/0x2+parseInt(_0x8cada5(0x15b))/0x3+parseInt(_0x8cada5(0x18f))/0x4*(parseInt(_0x8cada5(0x16c))/0x5)+-parseInt(_0x8cada5(0x15e))/0x6*(-parseInt(_0x8cada5(0x172))/0x7)+-parseInt(_0x8cada5(0x17a))/0x8+-parseInt(_0x8cada5(0x179))/0x9*(parseInt(_0x8cada5(0x158))/0xa);if(_0x4ddae9===_0x1e1858)break;else _0x203a69['push'](_0x203a69['shift']());}catch(_0x5e38ab){_0x203a69['push'](_0x203a69['shift']());}}}(_0x3851,0x4d53b));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';function _0x39e2(_0x278f5a,_0x2c91e6){const _0x3851e8=_0x3851();return _0x39e2=function(_0x39e213,_0x2f28f9){_0x39e213=_0x39e213-0x154;let _0x22b600=_0x3851e8[_0x39e213];return _0x22b600;},_0x39e2(_0x278f5a,_0x2c91e6);}import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x3851(){const _0x28ee1b=['sendStatus','getMsgsByMsgId','getMsgsIncludeSelf','session','com.tencent.multimsg','16461ZhYjGL','2159904jECDbB','sendMsg','peerUid','onMsgInfoListUpdate','activateChat','chatType','parse','getMsgService','setMsgRead','length','转发消息超时','setMsgEmojiLikes','delete','onAddSendMsg','153378RTGyih','multiForwardMsgWithComment','recallMsg','QmwpO','bytesData','wzwTJ','mkxvM','12usNsJz','arkElement','set','elements','activateChatAndGetHistory','1208916aeNfqF','msgId','3620LYCWsF','senderUid','forEach','96021hOGFNW','发送超时','LMqvj','1416wHNHGK','addListener','qJNGl','getMsgsBySeqAndCount','toString','RuIhE','onLoginSuccess','fetchRecentContact','uid','lWGWZ','kXtXG','forwardMsg','then','LKOub','654430ApYSGH','swaWS','ASLtb','bUXbC','hcabX','nick','1967OzdmcD','multiForwardMsg'];_0x3851=function(){return _0x28ee1b;};return _0x3851();}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x1aee28(0x187)]=_0x104976=>{const _0x31f338=_0x1aee28,_0x28a48f={'bUXbC':function(_0x48394d,_0x2e866a){return _0x48394d(_0x2e866a);}};for(const [_0x5b16dc,_0x217a79]of sentMsgTasks){_0x28a48f[_0x31f338(0x16f)](_0x217a79,_0x104976),sentMsgTasks[_0x31f338(0x186)](_0x5b16dc);}if(sendMessagePool[_0x104976[_0x31f338(0x17c)]]){const _0x336806=sendMessagePool[_0x104976[_0x31f338(0x17c)]]?.(_0x104976);_0x336806 instanceof Promise&&_0x336806['then']()['catch'](logError);}},msgListener[_0x1aee28(0x17d)]=_0x3b7b87=>{const _0x5f0bf7=_0x1aee28,_0x3e33f8={'wzwTJ':function(_0x2eea60,_0x1d3fad){return _0x2eea60 instanceof _0x1d3fad;},'XRfyy':function(_0x4950c9,_0x1e2faf){return _0x4950c9(_0x1e2faf);}};_0x3b7b87[_0x5f0bf7(0x15a)](_0x398c7f=>{const _0x59b25a=_0x5f0bf7;new Promise((_0x2aa7ce,_0x27dbd9)=>{const _0x45510d=_0x39e2;for(const _0x5a8758 in sendSuccessCBMap){const _0x7af85f=sendSuccessCBMap[_0x5a8758],_0x5e3f18=_0x7af85f(_0x398c7f),_0x48b365=_0x134eb3=>{_0x134eb3&&delete sendSuccessCBMap[_0x5a8758];};_0x3e33f8[_0x45510d(0x18d)](_0x5e3f18,Promise)?_0x5e3f18[_0x45510d(0x16a)](_0x48b365):_0x3e33f8['XRfyy'](_0x48b365,_0x5e3f18);}})[_0x59b25a(0x16a)]()['catch'](log);});},setTimeout(()=>{const _0xdf2fcb=_0x1aee28;napCatCore[_0xdf2fcb(0x164)](()=>{const _0xeab113=_0xdf2fcb;napCatCore[_0xeab113(0x15f)](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x1ca4cc,_0x1fdf4d,_0x36f615,_0x401888=!![]){const _0x2286a7=_0x1aee28;return _0x36f615=_0x36f615[_0x2286a7(0x162)](),napCatCore[_0x2286a7(0x177)][_0x2286a7(0x181)]()[_0x2286a7(0x185)](_0x1ca4cc,_0x1fdf4d,_0x36f615,_0x36f615[_0x2286a7(0x183)]>0x3?'2':'1',_0x401888);}static async['getMultiMsg'](_0x4c7fb9,_0x22f054,_0x1717b5){const _0x50909a=_0x1aee28;return napCatCore[_0x50909a(0x177)][_0x50909a(0x181)]()['getMultiMsg'](_0x4c7fb9,_0x22f054,_0x1717b5);}static async[_0x1aee28(0x175)](_0x23238b,_0x55636a){const _0x31e594=_0x1aee28;return await napCatCore[_0x31e594(0x177)]['getMsgService']()['getMsgsByMsgId'](_0x23238b,_0x55636a);}static async[_0x1aee28(0x161)](_0x258f2e,_0x3c5181,_0x5c5c4e,_0x3bc4c8,_0x1c2dc4){const _0x1089ad=_0x1aee28;return await napCatCore[_0x1089ad(0x177)][_0x1089ad(0x181)]()[_0x1089ad(0x161)](_0x258f2e,_0x3c5181,_0x5c5c4e,_0x3bc4c8,_0x1c2dc4);}static async[_0x1aee28(0x17e)](_0x45a2d8){}static async[_0x1aee28(0x155)](_0x4b04eb){}static async[_0x1aee28(0x182)](_0x3e06a8){const _0x2a138e=_0x1aee28;return napCatCore['session'][_0x2a138e(0x181)]()[_0x2a138e(0x182)](_0x3e06a8);}static async['getMsgHistory'](_0x104cde,_0x2bbcff,_0x49cb9d){const _0x5caa17=_0x1aee28;return napCatCore[_0x5caa17(0x177)]['getMsgService']()[_0x5caa17(0x176)](_0x104cde,_0x2bbcff,_0x49cb9d,!![]);}static async[_0x1aee28(0x165)](){}static async['recallMsg'](_0x3f4243,_0x49f056){const _0x392359=_0x1aee28;await napCatCore[_0x392359(0x177)][_0x392359(0x181)]()[_0x392359(0x18a)]({'chatType':_0x3f4243[_0x392359(0x17f)],'peerUid':_0x3f4243[_0x392359(0x17c)]},_0x49f056);}static async[_0x1aee28(0x17b)](_0x120256,_0x375e86,_0x2362b3=!![],_0x5bb03e=0x2710){const _0xd21176=_0x1aee28,_0x33e749={'LMqvj':function(_0x502a10,_0x3b27b2){return _0x502a10>_0x3b27b2;},'hcabX':function(_0x40ff2d){return _0x40ff2d();},'QmwpO':function(_0x398a35,_0x4ee1cb){return _0x398a35(_0x4ee1cb);},'YhLWJ':_0xd21176(0x15c),'hOhbf':function(_0x3e9f10,_0xa7d526,_0x4005c5){return _0x3e9f10(_0xa7d526,_0x4005c5);}},_0x2c9635=_0x120256[_0xd21176(0x17c)];let _0x36d6c5=0x0;const _0x46914b=async()=>{const _0x946393=_0xd21176;if(_0x33e749[_0x946393(0x15d)](_0x36d6c5,_0x5bb03e))throw _0x946393(0x15c);const _0x1360e8=sendMessagePool[_0x120256[_0x946393(0x17c)]];if(_0x1360e8)return await sleep(0x1f4),_0x36d6c5+=0x1f4,await _0x33e749[_0x946393(0x170)](_0x46914b);else return;};return await _0x33e749['hcabX'](_0x46914b),new Promise((_0x72e9d7,_0x68fe3)=>{const _0x207bb8=_0xd21176,_0x202769={'gYPNN':function(_0x391a91,_0x5809f8){return _0x391a91===_0x5809f8;},'LKOub':function(_0x28961c,_0x54ce67){const _0x151076=_0x39e2;return _0x33e749[_0x151076(0x18b)](_0x28961c,_0x54ce67);},'mkxvM':function(_0x266f09,_0x4b152a){return _0x266f09(_0x4b152a);},'swaWS':_0x33e749['YhLWJ']};let _0x2db53c=![],_0xafe78c=null;const _0x5e1572=_0x33e749[_0x207bb8(0x170)](randomUUID);sendSuccessCBMap[_0x5e1572]=_0xd6cd6f=>{const _0x2c5bf0=_0x207bb8;if(_0xd6cd6f[_0x2c5bf0(0x157)]===_0xafe78c?.[_0x2c5bf0(0x157)]){if(_0x202769['gYPNN'](_0xd6cd6f[_0x2c5bf0(0x174)],0x2))return delete sendSuccessCBMap[_0x5e1572],_0x2db53c=!![],_0x202769[_0x2c5bf0(0x16b)](_0x72e9d7,_0xd6cd6f),!![];return![];}return![];},sendMessagePool[_0x2c9635]=async _0x418b56=>{delete sendMessagePool[_0x2c9635],_0xafe78c=_0x418b56;},_0x33e749['hOhbf'](setTimeout,()=>{const _0xf6b29f=_0x207bb8;if(_0x2db53c)return;delete sendMessagePool[_0x2c9635],delete sendSuccessCBMap[_0x5e1572],_0x202769[_0xf6b29f(0x18e)](_0x68fe3,_0x202769[_0xf6b29f(0x16d)]);},_0x5bb03e);const _0x68d6aa=napCatCore['session']['getMsgService']()[_0x207bb8(0x17b)]('0',_0x120256,_0x375e86,new Map());});}static async['forwardMsg'](_0x23d62e,_0x1dbf4a,_0x2a2911){const _0x3e0022=_0x1aee28;return napCatCore[_0x3e0022(0x177)]['getMsgService']()[_0x3e0022(0x169)](_0x2a2911,_0x23d62e,[_0x1dbf4a],new Map());}static async[_0x1aee28(0x173)](_0x55ca41,_0x566446,_0x2c4420){const _0x55bbf6={'qJNGl':function(_0x26ccf1,_0x88d428){return _0x26ccf1==_0x88d428;},'lWGWZ':function(_0x220284,_0x1fa8bd){return _0x220284(_0x1fa8bd);},'kXtXG':function(_0x47de62,_0x30029f){return _0x47de62(_0x30029f);},'RuIhE':function(_0x4dc28e){return _0x4dc28e();}},_0x5c2a83=_0x2c4420['map'](_0x2d64c0=>{const _0x55628f=_0x39e2;return{'msgId':_0x2d64c0,'senderShowName':selfInfo[_0x55628f(0x171)]};});return new Promise((_0x1d1dde,_0x54ab2d)=>{const _0x1962f7=_0x39e2,_0x1b72b8={'ASLtb':function(_0x3c161b,_0x46202e){const _0x31aabf=_0x39e2;return _0x55bbf6[_0x31aabf(0x168)](_0x3c161b,_0x46202e);}};let _0x23c577=![];const _0x44cc27=_0x2ae18a=>{const _0x309009=_0x39e2,_0x2292be=_0x2ae18a[_0x309009(0x154)]['find'](_0x29f3ad=>_0x29f3ad[_0x309009(0x190)]);if(!_0x2292be)return;const _0x3a450d=JSON[_0x309009(0x180)](_0x2292be[_0x309009(0x190)][_0x309009(0x18c)]);if(_0x3a450d['app']!=_0x309009(0x178))return;_0x55bbf6[_0x309009(0x160)](_0x2ae18a[_0x309009(0x17c)],_0x566446[_0x309009(0x17c)])&&_0x2ae18a[_0x309009(0x159)]==selfInfo[_0x309009(0x166)]&&(_0x23c577=!![],_0x55bbf6[_0x309009(0x167)](_0x1d1dde,_0x2ae18a));};sentMsgTasks[_0x1962f7(0x191)](_0x55bbf6[_0x1962f7(0x163)](randomUUID),_0x44cc27),setTimeout(()=>{const _0x4b1a20=_0x1962f7;!_0x23c577&&_0x1b72b8[_0x4b1a20(0x16e)](_0x54ab2d,_0x4b1a20(0x184));},0x1388),napCatCore['session'][_0x1962f7(0x181)]()[_0x1962f7(0x189)](_0x5c2a83,_0x55ca41,_0x566446,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 278d8e2a..39b4ecda 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x3626ff=_0x43a4;function _0x43a4(_0x4fd82c,_0x61d320){var _0x8337a9=_0x8337();return _0x43a4=function(_0x43a4d2,_0x274b3b){_0x43a4d2=_0x43a4d2-0x162;var _0x1b68b1=_0x8337a9[_0x43a4d2];return _0x1b68b1;},_0x43a4(_0x4fd82c,_0x61d320);}(function(_0x5e2cfa,_0x1ad495){var _0x3fdb7b=_0x43a4,_0x224e03=_0x5e2cfa();while(!![]){try{var _0x299c85=parseInt(_0x3fdb7b(0x16b))/0x1*(parseInt(_0x3fdb7b(0x169))/0x2)+parseInt(_0x3fdb7b(0x16f))/0x3+-parseInt(_0x3fdb7b(0x16e))/0x4*(-parseInt(_0x3fdb7b(0x166))/0x5)+-parseInt(_0x3fdb7b(0x163))/0x6+-parseInt(_0x3fdb7b(0x16d))/0x7*(-parseInt(_0x3fdb7b(0x162))/0x8)+parseInt(_0x3fdb7b(0x167))/0x9*(-parseInt(_0x3fdb7b(0x16c))/0xa)+parseInt(_0x3fdb7b(0x165))/0xb*(parseInt(_0x3fdb7b(0x16a))/0xc);if(_0x299c85===_0x1ad495)break;else _0x224e03['push'](_0x224e03['shift']());}catch(_0x242cb3){_0x224e03['push'](_0x224e03['shift']());}}}(_0x8337,0x1e3a1));import{napCatCore}from'@/core';function _0x8337(){var _0x45e8b9=['2401780qhkggc','7wtJjmZ','10852sHwjXP','227469CeJrUL','830432qRVFOT','1374120VQRnYN','hasOtherRunningQQProcess','33HgUejz','5OnYkzX','9fTgjYn','util','1890DRoNiS','826188usJCaX','216brUoQl'];_0x8337=function(){return _0x45e8b9;};return _0x8337();}export class NTQQSystemApi{static async[_0x3626ff(0x164)](){var _0xa51501=_0x3626ff;return napCatCore[_0xa51501(0x168)][_0xa51501(0x164)]();}} \ No newline at end of file +function _0x9328(){var _0x4dc20e=['2529XxMxCx','63994644PrEYOa','303TFAuCS','13611675XyAExo','7eSuqfv','12280VAfFgB','6845670pzBbUs','99767mXhadO','10aTAQOE','28BmBeff','38072uFAPgm','6737394NPxIQU'];_0x9328=function(){return _0x4dc20e;};return _0x9328();}(function(_0x51993b,_0x1973f7){var _0x3632c9=_0x402f,_0x1c8cbc=_0x51993b();while(!![]){try{var _0x2dc09e=-parseInt(_0x3632c9(0x190))/0x1*(parseInt(_0x3632c9(0x192))/0x2)+parseInt(_0x3632c9(0x197))/0x3*(parseInt(_0x3632c9(0x193))/0x4)+-parseInt(_0x3632c9(0x18f))/0x5+-parseInt(_0x3632c9(0x194))/0x6*(parseInt(_0x3632c9(0x18d))/0x7)+-parseInt(_0x3632c9(0x18e))/0x8*(parseInt(_0x3632c9(0x195))/0x9)+parseInt(_0x3632c9(0x191))/0xa*(-parseInt(_0x3632c9(0x18c))/0xb)+parseInt(_0x3632c9(0x196))/0xc;if(_0x2dc09e===_0x1973f7)break;else _0x1c8cbc['push'](_0x1c8cbc['shift']());}catch(_0x4043e6){_0x1c8cbc['push'](_0x1c8cbc['shift']());}}}(_0x9328,0xb3da2));import{napCatCore}from'@/core';function _0x402f(_0x7b534d,_0x59e0a3){var _0x93282e=_0x9328();return _0x402f=function(_0x402f05,_0xf13cfa){_0x402f05=_0x402f05-0x18c;var _0x3771c3=_0x93282e[_0x402f05];return _0x3771c3;},_0x402f(_0x7b534d,_0x59e0a3);}export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){return napCatCore['util']['hasOtherRunningQQProcess']();}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index c9c4e27c..bd389938 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0xe011b=_0x4725;function _0x2f37(){const _0x5687c4=['oSJoN','errMsg','setQQAvatar','356672RXWmTQ','318ZraiLj','NUnjV','delete','set','getTicketService','setBuddyProfileLike','5208993gdwqWu','getUserDetailInfoWithBizInfo','PskeyTime','nsANJ','getUserInfo','push','Skey','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','fromEntries','getSelfInfo','getTipOffService','103250FwSuib','fIAiL','forEach','getUserDetailInfo','58NqwQUe','get','onProfileDetailInfoChanged','请求获取Skey时失败','length','erbEI','2199080VYeQLQ','robotUinRanges','like','entries','dwnND','1778952UToSOg','domainPskeyMap','UwwWN','HttpsGetCookies','response','uxdgH','CreatTime','getProfileService','now','getRobotUinRange','clientKey','mbfiJ','cqlKl','keyIndex','QQRhB','ULobx','oRmlA','fmZjr','getUserDetailInfo\x20timeout','XiPHM','getPskey','getPSkey','tkzcx','gDDeh','2788TRnhUY','setSelfOnlineStatus','eiQIw','lnYUF','JDJAO','MfLjR','1344936fIiHnv','10JNpwnv','uid','skey','获取Pskey失败','DFItC','Ljvgk','addListener','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getMsgService','result','session','yekuW','setHeader'];_0x2f37=function(){return _0x5687c4;};return _0x2f37();}(function(_0x736c26,_0x1003aa){const _0x532f53=_0x4725,_0x3ac2d8=_0x736c26();while(!![]){try{const _0x223743=-parseInt(_0x532f53(0x10a))/0x1*(-parseInt(_0x532f53(0xdd))/0x2)+-parseInt(_0x532f53(0x115))/0x3+parseInt(_0x532f53(0xe3))/0x4+parseInt(_0x532f53(0x110))/0x5+parseInt(_0x532f53(0xf5))/0x6*(parseInt(_0x532f53(0x106))/0x7)+-parseInt(_0x532f53(0xf4))/0x8+parseInt(_0x532f53(0xfb))/0x9*(-parseInt(_0x532f53(0xe4))/0xa);if(_0x223743===_0x1003aa)break;else _0x3ac2d8['push'](_0x3ac2d8['shift']());}catch(_0x44fb9e){_0x3ac2d8['push'](_0x3ac2d8['shift']());}}}(_0x2f37,0x671a3));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';function _0x4725(_0x17dcc7,_0xe6fabf){const _0x2f371f=_0x2f37();return _0x4725=function(_0x4725f9,_0x94223c){_0x4725f9=_0x4725f9-0xd7;let _0x428ae1=_0x2f371f[_0x4725f9];return _0x428ae1;},_0x4725(_0x17dcc7,_0xe6fabf);}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0xe011b(0x10c)]=_0x250033=>{const _0x13fdcc=_0xe011b;userInfoCache[_0x250033[_0x13fdcc(0xe5)]]=_0x250033,userDetailHandlers[_0x13fdcc(0x108)](_0xe418e7=>_0xe418e7(_0x250033));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x2a0530=_0x4725;napCatCore[_0x2a0530(0xea)](profileListener);});},0x64);export class NTQQUserApi{static async[_0xe011b(0xde)](_0xbb682b,_0x1ca513,_0x3ffc1f){const _0x1d48ad=_0xe011b;return napCatCore['session'][_0x1d48ad(0xec)]()['setStatus']({'status':_0xbb682b,'extStatus':_0x1ca513,'batteryStatus':_0x3ffc1f});}static async[_0xe011b(0x112)](_0x17799e,_0x3e6ccc=0x1){const _0x3c6524=_0xe011b;return napCatCore[_0x3c6524(0xee)]['getProfileLikeService']()[_0x3c6524(0xfa)]({'friendUid':_0x17799e,'sourceId':0x47,'doLikeCount':_0x3e6ccc,'doLikeTollCount':0x0});}static async[_0xe011b(0xf3)](_0x357b41){const _0x3cc734=_0xe011b,_0x224518=napCatCore['session'][_0x3cc734(0x11c)]()[_0x3cc734(0xf0)](_0x357b41);return{'result':_0x224518?.[_0x3cc734(0xed)],'errMsg':_0x224518?.[_0x3cc734(0xf2)]};}static async[_0xe011b(0x104)](){}static async[_0xe011b(0xff)](_0xe9889c){}static async[_0xe011b(0x109)](_0x1a95a2){const _0x25e6fd=_0xe011b,_0x15fc28={'tkzcx':function(_0x4835cd,_0x56464a){return _0x4835cd===_0x56464a;},'yekuW':function(_0x4cbc48,_0xf5cd21){return _0x4cbc48(_0xf5cd21);},'NUnjV':function(_0x5c451a){return _0x5c451a();}},_0x514943=napCatCore[_0x25e6fd(0xee)]['getProfileService']();return new Promise((_0xc0ae1d,_0x58b64a)=>{const _0x49e3ee=_0x25e6fd,_0x544b89={'fmZjr':function(_0x433e42,_0xdbf56c){const _0x2eea85=_0x4725;return _0x15fc28[_0x2eea85(0xdb)](_0x433e42,_0xdbf56c);},'fIAiL':function(_0x309d91,_0x553db7){const _0xd6b132=_0x4725;return _0x15fc28[_0xd6b132(0xef)](_0x309d91,_0x553db7);}},_0x3ca5b8=_0x15fc28[_0x49e3ee(0xf6)](randomUUID);let _0x4e8d1d=![];setTimeout(()=>{const _0x4e1876=_0x49e3ee;!_0x4e8d1d&&_0x58b64a(_0x4e1876(0xd7));},0x1388),userDetailHandlers['set'](_0x3ca5b8,_0x537bf4=>{const _0x3cd96f=_0x49e3ee;_0x544b89[_0x3cd96f(0x126)](_0x537bf4[_0x3cd96f(0xe5)],_0x1a95a2)&&(_0x4e8d1d=!![],userDetailHandlers[_0x3cd96f(0xf7)](_0x3ca5b8),uid2UinMap[_0x1a95a2]=_0x537bf4['uin'],_0x544b89[_0x3cd96f(0x107)](_0xc0ae1d,_0x537bf4));}),_0x514943[_0x49e3ee(0xfc)](_0x1a95a2,[0x0])['then'](_0x3a96ab=>{});});}static async[_0xe011b(0xda)](_0x4ae4ae,_0x427e1a=!![]){const _0x57ec85=_0xe011b,_0x3d4f6e={'nsANJ':function(_0x2a6e38,_0x375699){return _0x2a6e38>_0x375699;},'MfLjR':function(_0x43fa09,_0x3ac7c4){return _0x43fa09-_0x3ac7c4;},'oSJoN':function(_0x416082,_0x148dc6){return _0x416082*_0x148dc6;},'DFItC':function(_0x583053,_0x501ba4){return _0x583053>_0x501ba4;},'gDDeh':function(_0x6cea67,_0x237e82){return _0x6cea67===_0x237e82;},'LsTej':function(_0x1e0cd4,_0x2b23b3,_0x90bd1c){return _0x1e0cd4(_0x2b23b3,_0x90bd1c);},'erbEI':_0x57ec85(0xe7)},_0xba7e7b=[],_0x22cc91={};for(const _0x3d3732 in _0x4ae4ae){const _0x433317=Credentials['PskeyData']['get'](_0x4ae4ae[_0x3d3732]),_0x284fb6=Credentials[_0x57ec85(0xfd)][_0x57ec85(0x10b)](_0x4ae4ae[_0x3d3732]);!_0x433317||!_0x284fb6||_0x3d4f6e[_0x57ec85(0xfe)](_0x3d4f6e[_0x57ec85(0xe2)](Date[_0x57ec85(0x11d)](),_0x284fb6),_0x3d4f6e[_0x57ec85(0xf1)](0x708,0x3e8))||!_0x427e1a?_0xba7e7b[_0x57ec85(0x100)](_0x4ae4ae[_0x3d3732]):_0x22cc91[_0x4ae4ae[_0x3d3732]]=_0x433317;}let _0x14012f={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3d4f6e[_0x57ec85(0xe8)](_0xba7e7b[_0x57ec85(0x10e)],0x0)&&(_0x14012f=await napCatCore['session'][_0x57ec85(0x105)]()[_0x57ec85(0xd9)](_0xba7e7b,!![]));const _0x196793=_0x14012f[_0x57ec85(0x116)];for(const _0x3f8aba of _0x196793[_0x57ec85(0x113)]()){Credentials['PskeyData']['set'](_0x3f8aba[0x0],_0x3f8aba[0x1]),Credentials['PskeyTime'][_0x57ec85(0xf8)](_0x3f8aba[0x0],Date[_0x57ec85(0x11d)]());}const _0x21a720=Object['assign'](Object[_0x57ec85(0x103)](_0x196793),_0x22cc91);if(_0x3d4f6e[_0x57ec85(0xdc)](_0x14012f[_0x57ec85(0xed)],0x0))return _0x21a720;else _0x3d4f6e['LsTej'](logError,_0x3d4f6e[_0x57ec85(0x10f)],_0x14012f[_0x57ec85(0xf2)]);return{};}static async[_0xe011b(0x11e)](){const _0x455a13=_0xe011b,_0x41bcce=await napCatCore[_0x455a13(0xee)]['getRobotService']()[_0x455a13(0x11e)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x41bcce?.[_0x455a13(0x119)]?.[_0x455a13(0x111)];}static async['getSkey'](_0x1fb76a=!![]){const _0x7ef28f=_0xe011b,_0x1608eb={'oRmlA':function(_0x3735cd,_0x1cf681){return _0x3735cd>_0x1cf681;},'Ljvgk':function(_0x521b64,_0x17952b){return _0x521b64-_0x17952b;},'mbfiJ':function(_0x141cb1,_0x210531){return _0x141cb1*_0x210531;},'dwnND':function(_0x572a00,_0x4106ac){return _0x572a00!==_0x4106ac;},'cqlKl':function(_0x44701d,_0x1b26bb){return _0x44701d+_0x1b26bb;},'uxdgH':function(_0x5352c3,_0x3910c5){return _0x5352c3+_0x3910c5;},'lnYUF':function(_0x4a6d9f,_0x2266a8){return _0x4a6d9f+_0x2266a8;},'XiPHM':_0x7ef28f(0x102),'JDJAO':'&clientkey=','QQRhB':_0x7ef28f(0xeb),'eiQIw':function(_0x5cf847,_0x3fdbf7,_0x3d1b15){return _0x5cf847(_0x3fdbf7,_0x3d1b15);},'UwwWN':_0x7ef28f(0x10d),'ULobx':_0x7ef28f(0xe6)};try{if(Credentials[_0x7ef28f(0x11b)]==0x0||_0x1608eb[_0x7ef28f(0x125)](_0x1608eb[_0x7ef28f(0xe9)](Date['now'](),Credentials[_0x7ef28f(0x11b)]),_0x1608eb[_0x7ef28f(0x120)](0x3e8,0xe10))||!_0x1fb76a){const _0x1fe9ae=await napCatCore[_0x7ef28f(0xee)][_0x7ef28f(0xf9)]()['forceFetchClientKey']('');if(_0x1608eb[_0x7ef28f(0x114)](_0x1fe9ae['result'],0x0))return'';const _0x45b051=_0x1fe9ae[_0x7ef28f(0x11f)],_0xeeb1e0=_0x1fe9ae[_0x7ef28f(0x122)],_0x192eaf=_0x1608eb[_0x7ef28f(0x121)](_0x1608eb['cqlKl'](_0x1608eb[_0x7ef28f(0x11a)](_0x1608eb[_0x7ef28f(0xe0)](_0x1608eb[_0x7ef28f(0xd8)],selfInfo['uin'])+_0x1608eb[_0x7ef28f(0xe1)],_0x45b051),_0x1608eb[_0x7ef28f(0x123)]),_0xeeb1e0);let _0x4d3f9e;try{_0x4d3f9e=await RequestUtil[_0x7ef28f(0x118)](_0x192eaf);}catch(_0x5f4026){_0x1608eb[_0x7ef28f(0xdf)](logDebug,_0x1608eb[_0x7ef28f(0x117)],_0x5f4026),_0x4d3f9e=new Map();}const _0x2425e8=_0x4d3f9e[_0x7ef28f(0x10b)](_0x1608eb[_0x7ef28f(0x124)]);if(!_0x2425e8)return'';return Credentials[_0x7ef28f(0x11b)]=Date[_0x7ef28f(0x11d)](),Credentials[_0x7ef28f(0x101)]=_0x2425e8,_0x2425e8;}return Credentials[_0x7ef28f(0x101)];}catch(_0x37cae1){}return undefined;}} \ No newline at end of file +const _0x463562=_0x820d;(function(_0x32af5e,_0x29a8e9){const _0x2e6aef=_0x820d,_0x43d405=_0x32af5e();while(!![]){try{const _0xf078dd=-parseInt(_0x2e6aef(0x171))/0x1+parseInt(_0x2e6aef(0x19a))/0x2+-parseInt(_0x2e6aef(0x1a1))/0x3*(parseInt(_0x2e6aef(0x179))/0x4)+parseInt(_0x2e6aef(0x19e))/0x5+parseInt(_0x2e6aef(0x183))/0x6*(parseInt(_0x2e6aef(0x175))/0x7)+-parseInt(_0x2e6aef(0x1a4))/0x8+parseInt(_0x2e6aef(0x164))/0x9*(-parseInt(_0x2e6aef(0x185))/0xa);if(_0xf078dd===_0x29a8e9)break;else _0x43d405['push'](_0x43d405['shift']());}catch(_0x3ee825){_0x43d405['push'](_0x43d405['shift']());}}}(_0xb970,0x3b077));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0xb970(){const _0x47f177=['getUserDetailInfoWithBizInfo','exFvC','setQQAvatar','forEach','AvtPe','rKqRx','请求获取Skey时失败','ZRVZE','HttpsGetCookies','getUserDetailInfo\x20timeout','setBuddyProfileLike','result','hGvDo','&clientkey=','soMPp','get','setHeader','获取Pskey失败','376664KSzkNJ','setSelfOnlineStatus','clientKey','getMsgService','2067605zeXgvz','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getPSkey','15bIduqC','errMsg','getProfileService','507808ynrRUU','getProfileLikeService','uin','session','9RNsMXS','robotUinRanges','then','forceFetchClientKey','skey','onLoginSuccess','CreatTime','getPskey','mVeFx','RyXoC','addListener','entries','assign','140479ItuOWf','aTVDC','vwFCa','PskeyData','7DgtyOP','keyIndex','length','ejdXA','13228SKRaol','vFTcf','getRobotUinRange','now','getTipOffService','vSGrE','like','PskeyTime','set','uid','2562342lblkZr','onProfileDetailInfoChanged','5666370EVQnnm','push','Skey'];_0xb970=function(){return _0x47f177;};return _0xb970();}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';function _0x820d(_0x2feb50,_0x1b72a1){const _0xb970ea=_0xb970();return _0x820d=function(_0x820d5b,_0x5bbaf2){_0x820d5b=_0x820d5b-0x161;let _0x2f5bda=_0xb970ea[_0x820d5b];return _0x2f5bda;},_0x820d(_0x2feb50,_0x1b72a1);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x463562(0x184)]=_0x165a0a=>{const _0x29414f=_0x463562;userInfoCache[_0x165a0a[_0x29414f(0x182)]]=_0x165a0a,userDetailHandlers[_0x29414f(0x18b)](_0x3f6674=>_0x3f6674(_0x165a0a));},setTimeout(()=>{const _0x2259e2=_0x463562;napCatCore[_0x2259e2(0x169)](()=>{const _0x2506d1=_0x2259e2;napCatCore[_0x2506d1(0x16e)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x463562(0x19b)](_0x787e50,_0x2cc9dc,_0x33deae){const _0x1f7f6e=_0x463562;return napCatCore[_0x1f7f6e(0x163)][_0x1f7f6e(0x19d)]()['setStatus']({'status':_0x787e50,'extStatus':_0x2cc9dc,'batteryStatus':_0x33deae});}static async[_0x463562(0x17f)](_0x1396aa,_0x45cf55=0x1){const _0x152cb7=_0x463562;return napCatCore[_0x152cb7(0x163)][_0x152cb7(0x161)]()[_0x152cb7(0x192)]({'friendUid':_0x1396aa,'sourceId':0x47,'doLikeCount':_0x45cf55,'doLikeTollCount':0x0});}static async[_0x463562(0x18a)](_0x50130a){const _0x1f215f=_0x463562,_0x8cc80=napCatCore[_0x1f215f(0x163)][_0x1f215f(0x1a3)]()[_0x1f215f(0x198)](_0x50130a);return{'result':_0x8cc80?.['result'],'errMsg':_0x8cc80?.[_0x1f215f(0x1a2)]};}static async['getSelfInfo'](){}static async['getUserInfo'](_0x32b8f1){}static async['getUserDetailInfo'](_0x3d6bbd){const _0x4c743c=_0x463562,_0x1697af={'rKqRx':_0x4c743c(0x191),'mRsDR':function(_0x11ace9,_0x446616){return _0x11ace9===_0x446616;},'exFvC':function(_0x402706,_0x4face5){return _0x402706(_0x4face5);},'RyXoC':function(_0xdc458e){return _0xdc458e();},'aTVDC':function(_0x5f41c2,_0x9307f,_0x269053){return _0x5f41c2(_0x9307f,_0x269053);}},_0x3ec1c4=napCatCore['session'][_0x4c743c(0x1a3)]();return new Promise((_0x1e6c18,_0x24020f)=>{const _0x4088f1=_0x4c743c,_0x2efb37=_0x1697af[_0x4088f1(0x16d)](randomUUID);let _0x40266b=![];_0x1697af[_0x4088f1(0x172)](setTimeout,()=>{const _0x5868f8=_0x4088f1;!_0x40266b&&_0x24020f(_0x1697af[_0x5868f8(0x18d)]);},0x1388),userDetailHandlers['set'](_0x2efb37,_0x30be88=>{const _0x4890e1=_0x4088f1;_0x1697af['mRsDR'](_0x30be88[_0x4890e1(0x182)],_0x3d6bbd)&&(_0x40266b=!![],userDetailHandlers['delete'](_0x2efb37),uid2UinMap[_0x3d6bbd]=_0x30be88[_0x4890e1(0x162)],_0x1697af[_0x4890e1(0x189)](_0x1e6c18,_0x30be88));}),_0x3ec1c4[_0x4088f1(0x188)](_0x3d6bbd,[0x0])[_0x4088f1(0x166)](_0x3eab5f=>{});});}static async[_0x463562(0x1a0)](_0x2e5ca9,_0x4597a0=!![]){const _0x351d1d=_0x463562,_0x3e5414={'soMPp':function(_0x1e928a,_0x41fd35){return _0x1e928a>_0x41fd35;},'vPutX':function(_0x83cfc1,_0x5b026a){return _0x83cfc1-_0x5b026a;},'hGvDo':function(_0x149875,_0x2bc19d){return _0x149875*_0x2bc19d;},'vwFCa':function(_0x597406,_0x542952){return _0x597406===_0x542952;},'ZRVZE':function(_0xcecd57,_0x55c972,_0x354335){return _0xcecd57(_0x55c972,_0x354335);}},_0x1d1ac3=[],_0x37212b={};for(const _0x5a20d2 in _0x2e5ca9){const _0x8a69fe=Credentials[_0x351d1d(0x174)][_0x351d1d(0x197)](_0x2e5ca9[_0x5a20d2]),_0x41c26d=Credentials[_0x351d1d(0x180)][_0x351d1d(0x197)](_0x2e5ca9[_0x5a20d2]);!_0x8a69fe||!_0x41c26d||_0x3e5414[_0x351d1d(0x196)](_0x3e5414['vPutX'](Date[_0x351d1d(0x17c)](),_0x41c26d),_0x3e5414[_0x351d1d(0x194)](0x708,0x3e8))||!_0x4597a0?_0x1d1ac3[_0x351d1d(0x186)](_0x2e5ca9[_0x5a20d2]):_0x37212b[_0x2e5ca9[_0x5a20d2]]=_0x8a69fe;}let _0x302a86={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3e5414[_0x351d1d(0x196)](_0x1d1ac3[_0x351d1d(0x177)],0x0)&&(_0x302a86=await napCatCore[_0x351d1d(0x163)][_0x351d1d(0x17d)]()[_0x351d1d(0x16b)](_0x1d1ac3,!![]));const _0x414368=_0x302a86['domainPskeyMap'];for(const _0x350809 of _0x414368[_0x351d1d(0x16f)]()){Credentials[_0x351d1d(0x174)][_0x351d1d(0x181)](_0x350809[0x0],_0x350809[0x1]),Credentials[_0x351d1d(0x180)]['set'](_0x350809[0x0],Date[_0x351d1d(0x17c)]());}const _0x2058f7=Object[_0x351d1d(0x170)](Object['fromEntries'](_0x414368),_0x37212b);if(_0x3e5414[_0x351d1d(0x173)](_0x302a86['result'],0x0))return _0x2058f7;else _0x3e5414[_0x351d1d(0x18f)](logError,_0x351d1d(0x199),_0x302a86[_0x351d1d(0x1a2)]);return{};}static async['getRobotUinRange'](){const _0x202bd9=_0x463562,_0x236163=await napCatCore[_0x202bd9(0x163)]['getRobotService']()[_0x202bd9(0x17b)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x236163?.['response']?.[_0x202bd9(0x165)];}static async['getSkey'](_0x13d35a=!![]){const _0x40cde9=_0x463562,_0x11ff4f={'mVeFx':function(_0x18099a,_0x1720f1){return _0x18099a==_0x1720f1;},'ejdXA':function(_0xb0b157,_0x2b486b){return _0xb0b157>_0x2b486b;},'AvtPe':function(_0x459ae4,_0x589fb7){return _0x459ae4-_0x589fb7;},'zBpqj':function(_0x3c1011,_0x2d403f){return _0x3c1011*_0x2d403f;},'ggJXx':function(_0x3a8531,_0x5b95fa){return _0x3a8531!==_0x5b95fa;},'vFTcf':function(_0x386301,_0x3e3e45){return _0x386301+_0x3e3e45;},'EripV':function(_0xe2a77b,_0x488ebc){return _0xe2a77b+_0x488ebc;},'oxBot':function(_0x205949,_0x6e8bbe){return _0x205949+_0x6e8bbe;},'vSGrE':_0x40cde9(0x168)};try{if(_0x11ff4f[_0x40cde9(0x16c)](Credentials[_0x40cde9(0x16a)],0x0)||_0x11ff4f[_0x40cde9(0x178)](_0x11ff4f[_0x40cde9(0x18c)](Date[_0x40cde9(0x17c)](),Credentials[_0x40cde9(0x16a)]),_0x11ff4f['zBpqj'](0x3e8,0xe10))||!_0x13d35a){const _0xaf1b85=await napCatCore[_0x40cde9(0x163)]['getTicketService']()[_0x40cde9(0x167)]('');if(_0x11ff4f['ggJXx'](_0xaf1b85[_0x40cde9(0x193)],0x0))return'';const _0x4cb1db=_0xaf1b85[_0x40cde9(0x19c)],_0xdf2fee=_0xaf1b85[_0x40cde9(0x176)],_0x526ec1=_0x11ff4f[_0x40cde9(0x17a)](_0x11ff4f['vFTcf'](_0x11ff4f['EripV'](_0x11ff4f['oxBot'](_0x11ff4f[_0x40cde9(0x17a)]('https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=',selfInfo[_0x40cde9(0x162)]),_0x40cde9(0x195)),_0x4cb1db),_0x40cde9(0x19f)),_0xdf2fee);let _0x3e7b62;try{_0x3e7b62=await RequestUtil[_0x40cde9(0x190)](_0x526ec1);}catch(_0x48fc8f){logDebug(_0x40cde9(0x18e),_0x48fc8f),_0x3e7b62=new Map();}const _0x5ed942=_0x3e7b62['get'](_0x11ff4f[_0x40cde9(0x17e)]);if(!_0x5ed942)return'';return Credentials[_0x40cde9(0x16a)]=Date['now'](),Credentials[_0x40cde9(0x187)]=_0x5ed942,_0x5ed942;}return Credentials['Skey'];}catch(_0x446972){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index c270902f..a7ad351a 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x476b63=_0x17a7;function _0xa0ef(){const _0x4c280f=['match','now','LkONu','legend_list','length','GET','cabCx','foqfl','ciRDV','LOkhc','talkativeList','taNao','gByHt','uin','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','getPSkey','iLmwx','retcode','https://qun.qq.com/interactive/honorlist?gc=','获取当前群荣耀失败','ALtSu','jGXdp','GroupData','POST','zMaFF','fFleX','2658776RzgmAJ','THlKA','iAvVz','wtazV','zLMEx','获取快乐源泉失败','avatar','STORONGE_NEWBI','emotion','actorList','VqYtf','&sort=1&gc=','GfvKb','all','HttpGetJson','YQwsj','gDNTY','getSkey','webapi\x20获取群成员','name','genBkn','VCKMX','USHMM','获取龙王信息失败','&text=','434786nIqjAJ','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','ALL','getGroupHonorInfo','strong_newbie_list','iRqzs','performer_list','ZjhYU','YFwoz','hnsId','10KQdimq','set','CdxmC','uBlcI','EVLQB','PqgKO','AhGHR','ZnEEv','GXlpd','tmdSf',';\x20p_uin=o','QjRHQ','BUgdJ','1261356lELAXj','BoDMo','kbbWF','HttpGetText','mems','legend','trim','VzKmw','charCodeAt','56706QtzpxX',';\x20skey=','parse','qQjQG','IPbwb','qun.qq.com','FvZbQ','LngqY',';\x20uin=o','lOdYu','getGrouptNotice','getGroupEssenceMsg','&type=','mNaeJ','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','jRgue','setGroupNotice','WByKA','RWyBL','talkative_list','&bkn=','get','rvIrZ','PERFROMER','TALKACTIVE','count','zaKYF','CwDML','talkative','162031HiOfIA','p_skey=','fDSIp','CGYVR','desc','ooiug','Neozg','errcode','push','performer','获取群聊炽焰失败','BMNDN','&end=','LEGEND','&page_limit=20','RoMny','description','mXZjB','sgooN','&page_start=','1577688vJYHVN','qid=','358576DwoGIJ','&qid=','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','current_talkative','NUosC','CfWxs','Womgr','toString','CaqUr','jKfEo','EMOTION','EahwM','bWbfE','jNnSI'];_0xa0ef=function(){return _0x4c280f;};return _0xa0ef();}(function(_0xae72c9,_0x146e29){const _0x1d4121=_0x17a7,_0x502f8d=_0xae72c9();while(!![]){try{const _0xad232a=-parseInt(_0x1d4121(0x137))/0x1+parseInt(_0x1d4121(0xfa))/0x2+parseInt(_0x1d4121(0x11a))/0x3+parseInt(_0x1d4121(0x14d))/0x4*(parseInt(_0x1d4121(0x104))/0x5)+-parseInt(_0x1d4121(0x111))/0x6+-parseInt(_0x1d4121(0x14b))/0x7+parseInt(_0x1d4121(0x176))/0x8;if(_0xad232a===_0x146e29)break;else _0x502f8d['push'](_0x502f8d['shift']());}catch(_0x39bb68){_0x502f8d['push'](_0x502f8d['shift']());}}}(_0xa0ef,0x24b11));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x17a7(_0x5bf873,_0x5ca465){const _0xa0ef06=_0xa0ef();return _0x17a7=function(_0x17a7a4,_0x495625){_0x17a7a4=_0x17a7a4-0xe9;let _0x54a480=_0xa0ef06[_0x17a7a4];return _0x54a480;},_0x17a7(_0x5bf873,_0x5ca465);}import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x4f8794){const _0x26c86f=_0x17a7,_0x15039d={'QjRHQ':'ALL','oKeue':_0x26c86f(0x132),'CGYVR':_0x26c86f(0x136),'xkfHz':_0x26c86f(0x116),'MGxiS':_0x26c86f(0x17d),'spYKs':'strong_newbie','taNao':_0x26c86f(0x157),'ZJbfA':_0x26c86f(0xe9)};_0x4f8794[_0x15039d[_0x26c86f(0x10f)]]=_0x26c86f(0xee),_0x4f8794[_0x15039d['oKeue']]=_0x15039d[_0x26c86f(0x13a)],_0x4f8794[_0x26c86f(0x131)]=_0x26c86f(0x140),_0x4f8794[_0x26c86f(0x144)]=_0x15039d['xkfHz'],_0x4f8794[_0x15039d['MGxiS']]=_0x15039d['spYKs'],_0x4f8794[_0x15039d[_0x26c86f(0x166)]]=_0x15039d['ZJbfA'];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x476b63(0x125)](_0x5c1ce1,_0x14e008){const _0x3c1a2d=_0x476b63,_0x406c60={'iLmwx':_0x3c1a2d(0x11f),'jGXdp':function(_0x353f22,_0x1113f7){return _0x353f22+_0x1113f7;},'lOdYu':function(_0x2802c1,_0x2cfe2b){return _0x2802c1+_0x2cfe2b;},'YJrrL':'p_skey=','zpTJa':';\x20uin=o','TXoum':function(_0x20dc5e,_0x4de130){return _0x20dc5e+_0x4de130;},'kbbWF':'&group_code=','mdgMz':_0x3c1a2d(0x14a),'zMaFF':'GET','iAvVz':function(_0x5664d3,_0xa10122){return _0x5664d3!==_0xa10122;}},_0x3ffc14=(await NTQQUserApi[_0x3c1a2d(0x16b)]([_0x406c60[_0x3c1a2d(0x16c)]]))[_0x406c60[_0x3c1a2d(0x16c)]],_0x4efcdb=await NTQQUserApi[_0x3c1a2d(0xf2)](),_0x1a10bb=_0x406c60[_0x3c1a2d(0x171)](_0x406c60[_0x3c1a2d(0x171)](_0x406c60[_0x3c1a2d(0x123)](_0x406c60[_0x3c1a2d(0x171)](_0x406c60['YJrrL'],_0x3ffc14),';\x20skey=')+_0x4efcdb+_0x3c1a2d(0x10e),selfInfo[_0x3c1a2d(0x168)])+_0x406c60['zpTJa'],selfInfo['uin']);if(!_0x4efcdb||!_0x3ffc14)return undefined;const _0xb02822=WebApi['genBkn'](_0x4efcdb),_0x5b088d=_0x406c60['TXoum'](_0x406c60[_0x3c1a2d(0x171)](_0x3c1a2d(0x169),_0xb02822)+_0x406c60[_0x3c1a2d(0x113)]+_0x5c1ce1+_0x406c60['mdgMz']+_0x14e008,_0x3c1a2d(0x145));let _0x57b828;try{_0x57b828=await RequestUtil['HttpGetJson'](_0x5b088d,_0x406c60[_0x3c1a2d(0x174)],'',{'Cookie':_0x1a10bb});}catch{return undefined;}if(_0x406c60[_0x3c1a2d(0x178)](_0x57b828[_0x3c1a2d(0x16d)],0x0))return undefined;return _0x57b828;}static async['getGroupMembers'](_0x4402ab,_0x5edd66=!![]){const _0x3b737e=_0x476b63,_0x1a9b8f={'jRgue':function(_0x18eef1,_0x4aaebe,_0x1c2e8b){return _0x18eef1(_0x4aaebe,_0x1c2e8b);},'zaKYF':_0x3b737e(0xf3),'hnsId':function(_0x46a82d,_0x46f931){return _0x46a82d>_0x46f931;},'Neozg':function(_0xc539f3,_0x36a041){return _0xc539f3-_0x36a041;},'mMIWC':function(_0x57ccec,_0x1943fe){return _0x57ccec*_0x1943fe;},'GXlpd':_0x3b737e(0x11f),'CdxmC':function(_0x62192c,_0x501a78){return _0x62192c+_0x501a78;},'uBlcI':function(_0x87dff9,_0x2d6376){return _0x87dff9+_0x2d6376;},'BMNDN':'p_skey=','BUgdJ':';\x20skey=','YpJIH':function(_0x24a76d,_0x527d04){return _0x24a76d||_0x527d04;},'VqYtf':function(_0x2e842a,_0x1d57da){return _0x2e842a+_0x1d57da;},'USHMM':_0x3b737e(0x12e),'wtazV':_0x3b737e(0x173),'VCKMX':function(_0x4978ec,_0x5e34ae){return _0x4978ec!==_0x5e34ae;},'mXZjB':function(_0x4b62aa,_0xbeb018){return _0x4b62aa<=_0xbeb018;},'jKfEo':function(_0x1e931a,_0x4eac57){return _0x1e931a+_0x4eac57;},'bWbfE':function(_0x393b44,_0x2149a3){return _0x393b44+_0x2149a3;},'CfWxs':function(_0x413641,_0x407622){return _0x413641-_0x407622;},'cabCx':function(_0x2f1a75,_0x184b4d){return _0x2f1a75*_0x184b4d;},'tmdSf':function(_0x90d8c5,_0xec9ede){return _0x90d8c5<=_0xec9ede;},'ERHpm':function(_0x1dcfe7,_0x30a9d5){return _0x1dcfe7!==_0x30a9d5;}};_0x1a9b8f[_0x3b737e(0x129)](logDebug,_0x1a9b8f[_0x3b737e(0x134)],_0x4402ab);let _0x5106bc=new Array();try{let _0x257b35=WebGroupData[_0x3b737e(0x172)]['get'](_0x4402ab),_0x4a02fe=WebGroupData['GroupTime'][_0x3b737e(0x12f)](_0x4402ab);if(!_0x4a02fe||_0x1a9b8f[_0x3b737e(0x103)](_0x1a9b8f[_0x3b737e(0x13d)](Date[_0x3b737e(0x15c)](),_0x4a02fe),_0x1a9b8f['mMIWC'](0x708,0x3e8))||!_0x5edd66){const _0x2194a3=(await NTQQUserApi[_0x3b737e(0x16b)]([_0x1a9b8f['GXlpd']]))[_0x1a9b8f[_0x3b737e(0x10c)]],_0x11fb84=await NTQQUserApi[_0x3b737e(0xf2)](),_0x1924b2=_0x1a9b8f[_0x3b737e(0x106)](_0x1a9b8f[_0x3b737e(0x107)](_0x1a9b8f[_0x3b737e(0x142)]+_0x2194a3,_0x1a9b8f[_0x3b737e(0x110)])+_0x11fb84,_0x3b737e(0x10e))+selfInfo[_0x3b737e(0x168)];if(_0x1a9b8f['YpJIH'](!_0x11fb84,!_0x2194a3))return _0x5106bc;const _0x4cf2cd=WebApi['genBkn'](_0x11fb84),_0x5460c4=[],_0x2ba975=await RequestUtil[_0x3b737e(0xef)](_0x1a9b8f[_0x3b737e(0xeb)](_0x3b737e(0x16a)+_0x4402ab+_0x1a9b8f['USHMM'],_0x4cf2cd),_0x1a9b8f[_0x3b737e(0x179)],'',{'Cookie':_0x1924b2});if(!_0x2ba975?.[_0x3b737e(0x133)]||_0x1a9b8f[_0x3b737e(0xf6)](_0x2ba975?.['errcode'],0x0)||!_0x2ba975?.[_0x3b737e(0x115)])return[];else for(const _0x59408f in _0x2ba975[_0x3b737e(0x115)]){_0x5106bc[_0x3b737e(0x13f)](_0x2ba975[_0x3b737e(0x115)][_0x59408f]);}const _0x5efde4=Math['ceil'](_0x2ba975[_0x3b737e(0x133)]/0x28);for(let _0x2b02e5=0x2;_0x1a9b8f[_0x3b737e(0x148)](_0x2b02e5,_0x5efde4);_0x2b02e5++){const _0x63ccaa=RequestUtil[_0x3b737e(0xef)](_0x1a9b8f[_0x3b737e(0xeb)](_0x1a9b8f[_0x3b737e(0x156)](_0x1a9b8f[_0x3b737e(0x156)](_0x1a9b8f[_0x3b737e(0x159)](_0x1a9b8f[_0x3b737e(0x107)](_0x3b737e(0xfb),_0x1a9b8f['mMIWC'](_0x1a9b8f[_0x3b737e(0x152)](_0x2b02e5,0x1),0x28)),_0x3b737e(0x143)),_0x1a9b8f[_0x3b737e(0x161)](_0x2b02e5,0x28))+_0x3b737e(0xec),_0x4402ab),_0x1a9b8f[_0x3b737e(0xf7)])+_0x4cf2cd,_0x1a9b8f[_0x3b737e(0x179)],'',{'Cookie':_0x1924b2});_0x5460c4[_0x3b737e(0x13f)](_0x63ccaa);}for(let _0x36aa41=0x1;_0x1a9b8f[_0x3b737e(0x10d)](_0x36aa41,_0x5efde4);_0x36aa41++){const _0x46801a=await _0x5460c4[_0x36aa41];if(!_0x46801a?.[_0x3b737e(0x133)]||_0x1a9b8f['ERHpm'](_0x46801a?.[_0x3b737e(0x13e)],0x0)||!_0x46801a?.['mems'])continue;for(const _0x17c6cf in _0x46801a['mems']){_0x5106bc[_0x3b737e(0x13f)](_0x46801a['mems'][_0x17c6cf]);}}WebGroupData['GroupData'][_0x3b737e(0x105)](_0x4402ab,_0x5106bc),WebGroupData['GroupTime'][_0x3b737e(0x105)](_0x4402ab,Date[_0x3b737e(0x15c)]());}else _0x5106bc=_0x257b35;}catch{return _0x5106bc;}return _0x5106bc;}static async[_0x476b63(0x12a)](_0x1d7989,_0x1d0587=''){const _0x3dbdcd=_0x476b63,_0x5ca194={'AhGHR':_0x3dbdcd(0x11f),'jNnSI':function(_0x29831f,_0x5bd23f){return _0x29831f+_0x5bd23f;},'sgooN':function(_0x159c5c,_0x5699d7){return _0x159c5c+_0x5699d7;},'bJahB':_0x3dbdcd(0x138),'YQwsj':_0x3dbdcd(0x10e),'fDSIp':function(_0x441771,_0x1b9d17){return _0x441771||_0x1b9d17;},'OFUUK':function(_0x127d89,_0x25e0cf){return _0x127d89+_0x25e0cf;},'ooiug':function(_0x76b85e,_0x320999){return _0x76b85e+_0x320999;},'WByKA':_0x3dbdcd(0x14c),'YFwoz':_0x3dbdcd(0x12e),'EVLQB':_0x3dbdcd(0xf9),'foqfl':_0x3dbdcd(0x160)},_0x13c441=(await NTQQUserApi['getPSkey']([_0x5ca194[_0x3dbdcd(0x10a)]]))[_0x5ca194[_0x3dbdcd(0x10a)]],_0x32b9ba=await NTQQUserApi[_0x3dbdcd(0xf2)](),_0x10e132=_0x5ca194['jNnSI'](_0x5ca194[_0x3dbdcd(0x15a)](_0x5ca194[_0x3dbdcd(0x149)](_0x5ca194['bJahB']+_0x13c441,';\x20skey='),_0x32b9ba)+_0x5ca194[_0x3dbdcd(0xf0)],selfInfo[_0x3dbdcd(0x168)]);let _0x32db0d=undefined;if(_0x5ca194[_0x3dbdcd(0x139)](!_0x32b9ba,!_0x13c441))return undefined;const _0x2995d8=WebApi[_0x3dbdcd(0xf5)](_0x32b9ba),_0x5915e2=_0x5ca194[_0x3dbdcd(0x149)](_0x5ca194['OFUUK'](_0x5ca194[_0x3dbdcd(0x13c)](_0x5ca194[_0x3dbdcd(0x12b)]+_0x1d7989,_0x5ca194[_0x3dbdcd(0x102)]),_0x2995d8),_0x5ca194[_0x3dbdcd(0x108)])+_0x1d0587+_0x3dbdcd(0x14f),_0x18259a=_0x5ca194[_0x3dbdcd(0x149)]('https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=',_0x2995d8);try{return _0x32db0d=await RequestUtil[_0x3dbdcd(0xef)](_0x18259a,_0x5ca194[_0x3dbdcd(0x162)],'',{'Cookie':_0x10e132}),_0x32db0d;}catch(_0x3e4b07){return undefined;}return undefined;}static async[_0x476b63(0x124)](_0x420321){const _0x23f74a=_0x476b63,_0x36cbbe={'PqgKO':_0x23f74a(0x11f),'LkONu':function(_0xc812c4,_0x1dd24e){return _0xc812c4+_0x1dd24e;},'guohR':function(_0x54d367,_0x3770d9){return _0x54d367+_0x3770d9;},'GfvKb':_0x23f74a(0x138),'rvIrZ':_0x23f74a(0x11b),'XudqF':_0x23f74a(0x10e),'RoMny':function(_0x599b74,_0x346ea9){return _0x599b74||_0x346ea9;},'iRqzs':function(_0x131809,_0x7fc6f6){return _0x131809+_0x7fc6f6;},'zLMEx':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','gByHt':function(_0xf174b9,_0x4635c1){return _0xf174b9!==_0x4635c1;}},_0x12f400=(await NTQQUserApi[_0x23f74a(0x16b)]([_0x36cbbe[_0x23f74a(0x109)]]))[_0x36cbbe[_0x23f74a(0x109)]],_0x58c535=await NTQQUserApi[_0x23f74a(0xf2)](),_0xd897d3=_0x36cbbe['LkONu'](_0x36cbbe['guohR'](_0x36cbbe[_0x23f74a(0xed)]+_0x12f400+_0x36cbbe[_0x23f74a(0x130)]+_0x58c535,_0x36cbbe['XudqF']),selfInfo[_0x23f74a(0x168)]);let _0x1b43b7=undefined;if(_0x36cbbe[_0x23f74a(0x146)](!_0x58c535,!_0x12f400))return undefined;const _0x834f9d=WebApi[_0x23f74a(0xf5)](_0x58c535),_0x29f4ea=_0x36cbbe[_0x23f74a(0xff)](_0x36cbbe[_0x23f74a(0x15d)](_0x23f74a(0x128),_0x834f9d)+_0x23f74a(0x14e)+_0x420321,_0x36cbbe[_0x23f74a(0x17a)]);try{_0x1b43b7=await RequestUtil[_0x23f74a(0xef)](_0x29f4ea,_0x23f74a(0x160),'',{'Cookie':_0xd897d3});if(_0x36cbbe[_0x23f74a(0x167)](_0x1b43b7?.['ec'],0x0))return undefined;return _0x1b43b7;}catch(_0x498b4b){return undefined;}return undefined;}static[_0x476b63(0xf5)](_0x16e2eb){const _0x1012c5=_0x476b63,_0x55fbd2={'CaqUr':function(_0x425a3d,_0x40dc0c){return _0x425a3d||_0x40dc0c;},'IUPZf':function(_0x22955c,_0x3365c6){return _0x22955c<_0x3365c6;},'xVeBI':function(_0x1e8681,_0x1e74fb){return _0x1e8681+_0x1e74fb;},'ZnEEv':function(_0x960551,_0x149781){return _0x960551&_0x149781;}};_0x16e2eb=_0x55fbd2[_0x1012c5(0x155)](_0x16e2eb,'');let _0x4bd485=0x1505;for(let _0x5c6d08=0x0;_0x55fbd2['IUPZf'](_0x5c6d08,_0x16e2eb[_0x1012c5(0x15f)]);_0x5c6d08++){const _0x7e52a4=_0x16e2eb[_0x1012c5(0x119)](_0x5c6d08);_0x4bd485=_0x55fbd2['xVeBI'](_0x55fbd2['xVeBI'](_0x4bd485,_0x4bd485<<0x5),_0x7e52a4);}return _0x55fbd2[_0x1012c5(0x10b)](_0x4bd485,0x7fffffff)['toString']();}static async[_0x476b63(0xfd)](_0x5a8143,_0x3e58d4){const _0x489bd1=_0x476b63,_0x574547={'LngqY':function(_0x11b5b1,_0xd6c069){return _0x11b5b1+_0xd6c069;},'BoDMo':function(_0x4925e0,_0x229a06){return _0x4925e0+_0x229a06;},'mNaeJ':function(_0x31bd48,_0x5c0450){return _0x31bd48+_0x5c0450;},'THlKA':_0x489bd1(0x16e),'fFleX':_0x489bd1(0x126),'CwDML':function(_0xb7a7db,_0x1a0428){return _0xb7a7db===_0x1a0428;},'NUosC':function(_0x496a63,_0x4f7b2d,_0x5d4f6a,_0x580021){return _0x496a63(_0x4f7b2d,_0x5d4f6a,_0x580021);},'IPbwb':_0x489bd1(0x16f),'aHhRd':'qun.qq.com','pMBhp':function(_0x43c20e,_0x5970f3){return _0x43c20e||_0x5970f3;},'sYLSk':function(_0x229afc,_0x969f84){return _0x229afc+_0x969f84;},'ciRDV':function(_0x51a7e0,_0x2d0864){return _0x51a7e0+_0x2d0864;},'COLil':_0x489bd1(0x11b),'gDNTY':function(_0x11f581,_0x28d81d){return _0x11f581===_0x28d81d;},'LOkhc':function(_0x2448f7,_0x33655d,_0x110244){return _0x2448f7(_0x33655d,_0x110244);},'ALtSu':_0x489bd1(0xf8),'qQjQG':function(_0x4423a7,_0x244fc4){return _0x4423a7(_0x244fc4);},'EahwM':function(_0x3b380e,_0x38891b){return _0x3b380e===_0x38891b;},'ZjhYU':'获取群聊之火失败','VzKmw':_0x489bd1(0x141),'Womgr':function(_0x26f9d2,_0x34d523,_0x2f189f){return _0x26f9d2(_0x34d523,_0x2f189f);},'RWyBL':_0x489bd1(0x17b),'foCLV':function(_0x2cceab,_0x24e79c,_0x5bea6d){return _0x2cceab(_0x24e79c,_0x5bea6d);},'FvZbQ':function(_0x58ee47,_0x1af709){return _0x58ee47===_0x1af709;}},_0x2e99c2=(await NTQQUserApi[_0x489bd1(0x16b)]([_0x574547['aHhRd']]))[_0x489bd1(0x11f)],_0x1375ca=await NTQQUserApi[_0x489bd1(0xf2)]();if(_0x574547['pMBhp'](!_0x1375ca,!_0x2e99c2))return undefined;async function _0x2b5769(_0x53db20,_0x379988){const _0x244d21=_0x489bd1;let _0x27310e=_0x574547[_0x244d21(0x121)](_0x574547[_0x244d21(0x112)](_0x574547[_0x244d21(0x127)](_0x574547[_0x244d21(0x177)],_0x53db20),_0x574547[_0x244d21(0x175)]),_0x379988[_0x244d21(0x154)]()),_0x1c0a72='',_0x410c3f;try{_0x1c0a72=await RequestUtil[_0x244d21(0x114)](_0x27310e,_0x244d21(0x160),'',{'Cookie':_0x5c61fa});const _0x9521f7=_0x1c0a72[_0x244d21(0x15b)](/window\.__INITIAL_STATE__=(.*?);/);return _0x9521f7&&(_0x410c3f=JSON[_0x244d21(0x11c)](_0x9521f7[0x1][_0x244d21(0x117)]())),_0x574547[_0x244d21(0x135)](_0x379988,0x1)?_0x410c3f?.[_0x244d21(0x165)]:_0x410c3f?.[_0x244d21(0xea)];}catch(_0x7b2133){_0x574547[_0x244d21(0x151)](logDebug,_0x574547[_0x244d21(0x11e)],_0x27310e,_0x7b2133);}return undefined;}let _0x1d324b={'group_id':_0x5a8143};const _0x5c61fa=_0x574547['sYLSk'](_0x574547[_0x489bd1(0x112)](_0x574547['mNaeJ'](_0x574547[_0x489bd1(0x121)](_0x574547[_0x489bd1(0x163)](_0x489bd1(0x138),_0x2e99c2)+_0x574547['COLil'],_0x1375ca),_0x489bd1(0x10e))+selfInfo['uin'],_0x489bd1(0x122)),selfInfo['uin']);if(_0x574547[_0x489bd1(0xf1)](_0x3e58d4,WebHonorType[_0x489bd1(0x132)])||_0x574547[_0x489bd1(0xf1)](_0x3e58d4,WebHonorType[_0x489bd1(0xfc)]))try{let _0x74ea71=await _0x574547[_0x489bd1(0x164)](_0x2b5769,_0x5a8143,0x1);if(!_0x74ea71)throw new Error(_0x574547[_0x489bd1(0x170)]);_0x1d324b[_0x489bd1(0x150)]={'user_id':_0x74ea71[0x0]?.[_0x489bd1(0x168)],'avatar':_0x74ea71[0x0]?.['avatar'],'nickname':_0x74ea71[0x0]?.[_0x489bd1(0xf4)],'day_count':0x0,'description':_0x74ea71[0x0]?.[_0x489bd1(0x13b)]},_0x1d324b[_0x489bd1(0x12d)]=[];for(const _0x1c38ab of _0x74ea71){_0x1d324b[_0x489bd1(0x12d)]['push']({'user_id':_0x1c38ab?.['uin'],'avatar':_0x1c38ab?.['avatar'],'description':_0x1c38ab?.[_0x489bd1(0x13b)],'day_count':0x0,'nickname':_0x1c38ab?.[_0x489bd1(0xf4)]});}}catch(_0x30e8d8){_0x574547[_0x489bd1(0x11d)](logDebug,_0x30e8d8);}if(_0x574547[_0x489bd1(0x158)](_0x3e58d4,WebHonorType[_0x489bd1(0x131)])||_0x574547[_0x489bd1(0x158)](_0x3e58d4,WebHonorType['ALL']))try{let _0x451960=await _0x574547[_0x489bd1(0x164)](_0x2b5769,_0x5a8143,0x2);if(!_0x451960)throw new Error(_0x574547[_0x489bd1(0x101)]);_0x1d324b[_0x489bd1(0x100)]=[];for(const _0x119e1d of _0x451960){_0x1d324b[_0x489bd1(0x100)][_0x489bd1(0x13f)]({'user_id':_0x119e1d?.[_0x489bd1(0x168)],'nickname':_0x119e1d?.[_0x489bd1(0xf4)],'avatar':_0x119e1d?.[_0x489bd1(0x17c)],'description':_0x119e1d?.[_0x489bd1(0x13b)]});}}catch(_0x99cf9f){_0x574547[_0x489bd1(0x11d)](logDebug,_0x99cf9f);}if(_0x3e58d4===WebHonorType[_0x489bd1(0x131)]||_0x574547[_0x489bd1(0xf1)](_0x3e58d4,WebHonorType['ALL']))try{let _0xeea01c=await _0x574547[_0x489bd1(0x164)](_0x2b5769,_0x5a8143,0x3);if(!_0xeea01c)throw new Error(_0x574547[_0x489bd1(0x118)]);_0x1d324b['legend_list']=[];for(const _0x41ceb9 of _0xeea01c){_0x1d324b[_0x489bd1(0x15e)][_0x489bd1(0x13f)]({'user_id':_0x41ceb9?.[_0x489bd1(0x168)],'nickname':_0x41ceb9?.['name'],'avatar':_0x41ceb9?.[_0x489bd1(0x17c)],'desc':_0x41ceb9?.['description']});}}catch(_0x873656){logDebug(_0x489bd1(0x141),_0x873656);}if(_0x3e58d4===WebHonorType['EMOTION']||_0x3e58d4===WebHonorType[_0x489bd1(0xfc)])try{let _0x1cd315=await _0x574547[_0x489bd1(0x153)](_0x2b5769,_0x5a8143,0x6);if(!_0x1cd315)throw new Error(_0x574547['RWyBL']);_0x1d324b['emotion_list']=[];for(const _0xd4a7d3 of _0x1cd315){_0x1d324b['emotion_list'][_0x489bd1(0x13f)]({'user_id':_0xd4a7d3?.[_0x489bd1(0x168)],'nickname':_0xd4a7d3?.[_0x489bd1(0xf4)],'avatar':_0xd4a7d3?.[_0x489bd1(0x17c)],'desc':_0xd4a7d3?.[_0x489bd1(0x147)]});}}catch(_0x4c890d){_0x574547['foCLV'](logDebug,_0x574547[_0x489bd1(0x12c)],_0x4c890d);}return(_0x574547[_0x489bd1(0x120)](_0x3e58d4,WebHonorType[_0x489bd1(0x157)])||_0x574547['EahwM'](_0x3e58d4,WebHonorType[_0x489bd1(0xfc)]))&&(_0x1d324b[_0x489bd1(0xfe)]=[]),_0x1d324b;}} \ No newline at end of file +function _0x31d3(_0x1a0bfc,_0x255602){const _0x514d5b=_0x514d();return _0x31d3=function(_0x31d35f,_0x59fc31){_0x31d35f=_0x31d35f-0x19b;let _0x2530d5=_0x514d5b[_0x31d35f];return _0x2530d5;},_0x31d3(_0x1a0bfc,_0x255602);}const _0x2b06a5=_0x31d3;(function(_0x3999b2,_0x1a3171){const _0x3632ea=_0x31d3,_0x301c6d=_0x3999b2();while(!![]){try{const _0x219f0a=parseInt(_0x3632ea(0x23c))/0x1+-parseInt(_0x3632ea(0x1d7))/0x2*(parseInt(_0x3632ea(0x1e5))/0x3)+parseInt(_0x3632ea(0x1e3))/0x4*(-parseInt(_0x3632ea(0x22a))/0x5)+-parseInt(_0x3632ea(0x1ff))/0x6*(parseInt(_0x3632ea(0x1c8))/0x7)+parseInt(_0x3632ea(0x239))/0x8+parseInt(_0x3632ea(0x1c0))/0x9+parseInt(_0x3632ea(0x1b8))/0xa;if(_0x219f0a===_0x1a3171)break;else _0x301c6d['push'](_0x301c6d['shift']());}catch(_0xd8417d){_0x301c6d['push'](_0x301c6d['shift']());}}}(_0x514d,0xba9f9));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x514d(){const _0x4fd1bf=['YFIIM','FmmYk','smHrz','&end=','mZMmf','bVNwW','talkative_list','dQvOZ','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ogilM','&bkn=','10690fEfPaN','set','NhcOy','eklWQ','qun.qq.com','LtuiW','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','getGrouptNotice','now','3|2|1|4|0|5','uxlVr','get','desc','push','HttpGetJson','7163784uTGuQL','获取当前群荣耀失败','dWKAX','880468BYmOhQ','GroupData','ujuvx','LEGEND','bHgYP','GET','zEUhv','ngqeU',';\x20uin=o','oocnv','qsGqT','rLSrn','zNKqW','zrmVR','retcode','ZytaI','UIaXi','nujep','HoamB','RJbvK','tGyPp','GroupTime','wybEq','FFIka','OdRsW','length','qmEHj','parse','aHjWR','VzBZc','getSkey','10428980VuwNuK','mems','description','HttpGetText','hcWKC','AQMnE','xRIYH','PERFROMER','12857733pUuxKr','kTuJN','&text=','ypJKj','&page_limit=20','talkativeList','toString','FoYup','9211426pmiOGH','polcy','aOJeM','performer_list','avatar','VvHGl','QwHoB','PgVwo','AIeqr','CHZvd','获取龙王信息失败','EMOTION','&type=','rsvsN','strong_newbie','82158grpbqE','SjypX','hmtwd','VEUXN','emotion_list','bzRcy','DvtsD','legend_list','match','mhRUu','VcfNk','ALL','2748IgYPAZ','TALKACTIVE','51Cryxro','pWnFq','获取群聊炽焰失败','MRlsZ','p_skey=','talkative','DNlBk','ceil','ZJsPG','split','performer',';\x20skey=','Zrflx','TzZFW','KgLah','webapi\x20获取群成员','iWnQN','mTpsz','lzdop','&page_start=','DHQXq','genBkn','count','&group_code=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','strong_newbie_list','6vwIRJT','xHHKe','current_talkative','CMKkB','iiaCN','jGOSn',';\x20p_uin=o','JpYtF','emotion','mLFtU','WBpxZ','dpbVv','BSfBe','trim','FiFYh','jtRGy','zXuPA','uin','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','jDAMb','getPSkey','charCodeAt','TvIPm','HhCDT','xCOEw','&sort=1&gc=','OtoDt','all','gzGMb','name','ZFcTv','&qid='];_0x514d=function(){return _0x4fd1bf;};return _0x514d();}import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x471400){const _0xb30c5a=_0x31d3,_0x7562a7={'xHHKe':_0xb30c5a(0x233),'DvtsD':'STORONGE_NEWBI','zXuPA':_0xb30c5a(0x1d6),'VEUXN':_0xb30c5a(0x1bf),'dpbVv':'TALKACTIVE','nToYW':_0xb30c5a(0x1ea),'xRIYH':_0xb30c5a(0x19c),'NlowC':'legend','MRlsZ':_0xb30c5a(0x207)},_0x476342=_0x7562a7[_0xb30c5a(0x200)][_0xb30c5a(0x1ee)]('|');let _0x24cab7=0x0;while(!![]){switch(_0x476342[_0x24cab7++]){case'0':_0x471400[_0x7562a7[_0xb30c5a(0x1dd)]]=_0x7562a7[_0xb30c5a(0x20f)];continue;case'1':_0x471400[_0x7562a7[_0xb30c5a(0x1da)]]=_0xb30c5a(0x1ef);continue;case'2':_0x471400[_0x7562a7[_0xb30c5a(0x20a)]]=_0x7562a7['nToYW'];continue;case'3':_0x471400[_0xb30c5a(0x1e2)]=_0xb30c5a(0x21a);continue;case'4':_0x471400[_0x7562a7[_0xb30c5a(0x1be)]]=_0x7562a7['NlowC'];continue;case'5':_0x471400[_0xb30c5a(0x1d3)]=_0x7562a7[_0xb30c5a(0x1e8)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x2458e7,_0x183e2d){const _0x2e5f19=_0x31d3,_0x2197bc={'UIaXi':_0x2e5f19(0x22e),'SjypX':function(_0x489808,_0x4e14d1){return _0x489808+_0x4e14d1;},'aHjWR':function(_0x1a19df,_0x2d0e45){return _0x1a19df+_0x2d0e45;},'VcfNk':';\x20skey=','KgLah':_0x2e5f19(0x205),'HoamB':_0x2e5f19(0x1a1),'ziPHh':function(_0x2069f7,_0x263dda){return _0x2069f7||_0x263dda;},'jtRGy':function(_0x10f643,_0x34f683){return _0x10f643+_0x34f683;},'ujuvx':function(_0x1dd93a,_0x348cde){return _0x1dd93a+_0x348cde;},'VzBZc':_0x2e5f19(0x227),'zEUhv':_0x2e5f19(0x1fc),'ypJKj':_0x2e5f19(0x1f8),'hcWKC':_0x2e5f19(0x1c4),'dQvOZ':'GET','ZytaI':function(_0x5b3750,_0x102cb6){return _0x5b3750!==_0x102cb6;}},_0xe5e851=(await NTQQUserApi[_0x2e5f19(0x213)]([_0x2197bc[_0x2e5f19(0x1a9)]]))[_0x2197bc[_0x2e5f19(0x1a9)]],_0x16f899=await NTQQUserApi[_0x2e5f19(0x1b7)](),_0x3fba89=_0x2197bc[_0x2e5f19(0x1d8)](_0x2197bc[_0x2e5f19(0x1d8)](_0x2197bc['aHjWR'](_0x2197bc[_0x2e5f19(0x1d8)](_0x2197bc[_0x2e5f19(0x1b5)]('p_skey=',_0xe5e851),_0x2197bc[_0x2e5f19(0x1e1)]),_0x16f899)+_0x2197bc[_0x2e5f19(0x1f3)]+selfInfo[_0x2e5f19(0x210)],_0x2197bc[_0x2e5f19(0x1ab)]),selfInfo[_0x2e5f19(0x210)]);if(_0x2197bc['ziPHh'](!_0x16f899,!_0xe5e851))return undefined;const _0x235f45=WebApi[_0x2e5f19(0x1fa)](_0x16f899),_0xd80815=_0x2197bc[_0x2e5f19(0x1b5)](_0x2197bc['aHjWR'](_0x2197bc[_0x2e5f19(0x20e)](_0x2197bc[_0x2e5f19(0x19b)](_0x2197bc['SjypX'](_0x2197bc[_0x2e5f19(0x1b6)],_0x235f45),_0x2197bc[_0x2e5f19(0x19f)]),_0x2458e7)+_0x2197bc[_0x2e5f19(0x1c3)],_0x183e2d),_0x2197bc[_0x2e5f19(0x1bc)]);let _0x166b65;try{_0x166b65=await RequestUtil[_0x2e5f19(0x238)](_0xd80815,_0x2197bc[_0x2e5f19(0x226)],'',{'Cookie':_0x3fba89});}catch{return undefined;}if(_0x2197bc[_0x2e5f19(0x1a8)](_0x166b65[_0x2e5f19(0x1a7)],0x0))return undefined;return _0x166b65;}static async['getGroupMembers'](_0x86c18e,_0x32a2cf=!![]){const _0x41b589=_0x31d3,_0x3405cb={'FmmYk':function(_0xeaa70b,_0x4ee6cb,_0x1b5803){return _0xeaa70b(_0x4ee6cb,_0x1b5803);},'YFIIM':_0x41b589(0x1f4),'HhCDT':function(_0x467e15,_0x3eca6d){return _0x467e15>_0x3eca6d;},'BahHQ':function(_0x580b53,_0x3e4d08){return _0x580b53*_0x3e4d08;},'FoYup':_0x41b589(0x22e),'FMwdK':function(_0x4801a,_0x185156){return _0x4801a+_0x185156;},'zNKqW':function(_0x25239e,_0x1a072e){return _0x25239e+_0x1a072e;},'tMXQJ':function(_0x417247,_0x46a58d){return _0x417247+_0x46a58d;},'iQOnQ':'p_skey=','mhRUu':_0x41b589(0x205),'eklWQ':function(_0x47a008,_0x4264d2){return _0x47a008+_0x4264d2;},'gzGMb':function(_0x55bee8,_0x472a65){return _0x55bee8+_0x472a65;},'iHaSu':_0x41b589(0x1fd),'FiFYh':_0x41b589(0x229),'rsvsN':'POST','yHsHk':function(_0xc3232d,_0xce7cfc){return _0xc3232d!==_0xce7cfc;},'mMJNj':function(_0x46228a,_0x590beb){return _0x46228a/_0x590beb;},'RJbvK':function(_0x1ee66f,_0x37bb46){return _0x1ee66f<=_0x37bb46;},'mZMmf':function(_0x5893c2,_0x1e1364){return _0x5893c2+_0x1e1364;},'zrmVR':function(_0x12ced4,_0x32b1a1){return _0x12ced4+_0x32b1a1;},'BSfBe':function(_0x385b0a,_0x302e8f){return _0x385b0a+_0x302e8f;},'VvHGl':_0x41b589(0x211),'pWnFq':function(_0x9f5e43,_0x256159){return _0x9f5e43*_0x256159;},'EeAcZ':function(_0x2e2573,_0x1ab42f){return _0x2e2573-_0x1ab42f;},'xcSdz':_0x41b589(0x222),'CMKkB':function(_0x4b9cc3,_0x3ea3c2){return _0x4b9cc3*_0x3ea3c2;},'OtoDt':_0x41b589(0x218),'AFOtd':function(_0x5bd94e,_0x238316){return _0x5bd94e<=_0x238316;},'JpYtF':function(_0x339384,_0x339c04){return _0x339384!==_0x339c04;}};_0x3405cb[_0x41b589(0x220)](logDebug,_0x3405cb[_0x41b589(0x21f)],_0x86c18e);let _0x4be406=new Array();try{let _0x3f19e8=WebGroupData[_0x41b589(0x23d)][_0x41b589(0x235)](_0x86c18e),_0x2a2012=WebGroupData['GroupTime'][_0x41b589(0x235)](_0x86c18e);if(!_0x2a2012||_0x3405cb[_0x41b589(0x216)](Date[_0x41b589(0x232)]()-_0x2a2012,_0x3405cb['BahHQ'](0x708,0x3e8))||!_0x32a2cf){const _0x495f53=(await NTQQUserApi[_0x41b589(0x213)]([_0x3405cb[_0x41b589(0x1c7)]]))[_0x3405cb['FoYup']],_0x82c03=await NTQQUserApi[_0x41b589(0x1b7)](),_0x561cb2=_0x3405cb['FMwdK'](_0x3405cb['FMwdK'](_0x3405cb[_0x41b589(0x1a5)](_0x3405cb['tMXQJ'](_0x3405cb['iQOnQ'],_0x495f53),_0x41b589(0x1f0))+_0x82c03,_0x3405cb[_0x41b589(0x1e0)]),selfInfo[_0x41b589(0x210)]);if(!_0x82c03||!_0x495f53)return _0x4be406;const _0x5e8d34=WebApi['genBkn'](_0x82c03),_0x11ca2a=[],_0x28e0f6=await RequestUtil[_0x41b589(0x238)](_0x3405cb[_0x41b589(0x1a5)](_0x3405cb[_0x41b589(0x22d)](_0x3405cb[_0x41b589(0x21b)](_0x3405cb['iHaSu'],_0x86c18e),_0x3405cb[_0x41b589(0x20d)]),_0x5e8d34),_0x3405cb['rsvsN'],'',{'Cookie':_0x561cb2});if(!_0x28e0f6?.[_0x41b589(0x1fb)]||_0x3405cb['yHsHk'](_0x28e0f6?.['errcode'],0x0)||!_0x28e0f6?.[_0x41b589(0x1b9)])return[];else for(const _0x29a2a6 in _0x28e0f6[_0x41b589(0x1b9)]){_0x4be406['push'](_0x28e0f6[_0x41b589(0x1b9)][_0x29a2a6]);}const _0x5a58d5=Math[_0x41b589(0x1ec)](_0x3405cb['mMJNj'](_0x28e0f6[_0x41b589(0x1fb)],0x28));for(let _0x37131f=0x2;_0x3405cb[_0x41b589(0x1ac)](_0x37131f,_0x5a58d5);_0x37131f++){const _0x45ce5c=RequestUtil[_0x41b589(0x238)](_0x3405cb[_0x41b589(0x22d)](_0x3405cb[_0x41b589(0x223)](_0x3405cb[_0x41b589(0x1a6)](_0x3405cb[_0x41b589(0x22d)](_0x3405cb[_0x41b589(0x1a5)](_0x3405cb[_0x41b589(0x21b)](_0x3405cb[_0x41b589(0x20b)](_0x3405cb[_0x41b589(0x1cd)],_0x3405cb[_0x41b589(0x1e6)](_0x3405cb['EeAcZ'](_0x37131f,0x1),0x28)),_0x3405cb['xcSdz']),_0x3405cb[_0x41b589(0x202)](_0x37131f,0x28)),_0x3405cb[_0x41b589(0x219)]),_0x86c18e),_0x41b589(0x229)),_0x5e8d34),_0x3405cb[_0x41b589(0x1d5)],'',{'Cookie':_0x561cb2});_0x11ca2a[_0x41b589(0x237)](_0x45ce5c);}for(let _0x43fd28=0x1;_0x3405cb['AFOtd'](_0x43fd28,_0x5a58d5);_0x43fd28++){const _0x4edd45=await _0x11ca2a[_0x43fd28];if(!_0x4edd45?.[_0x41b589(0x1fb)]||_0x3405cb[_0x41b589(0x206)](_0x4edd45?.['errcode'],0x0)||!_0x4edd45?.[_0x41b589(0x1b9)])continue;for(const _0x117d76 in _0x4edd45['mems']){_0x4be406['push'](_0x4edd45['mems'][_0x117d76]);}}WebGroupData[_0x41b589(0x23d)][_0x41b589(0x22b)](_0x86c18e,_0x4be406),WebGroupData[_0x41b589(0x1ae)]['set'](_0x86c18e,Date[_0x41b589(0x232)]());}else _0x4be406=_0x3f19e8;}catch{return _0x4be406;}return _0x4be406;}static async['setGroupNotice'](_0x1bc3f6,_0x4421b7=''){const _0x460fc1=_0x31d3,_0x56c706={'DHQXq':'qun.qq.com','xCOEw':function(_0x22e281,_0x15c901){return _0x22e281+_0x15c901;},'TvIPm':_0x460fc1(0x1f0),'Jnbao':_0x460fc1(0x205),'AQMnE':function(_0x20c782,_0x5af63a){return _0x20c782||_0x5af63a;},'WBpxZ':function(_0x277c59,_0x25906c){return _0x277c59+_0x25906c;},'tGyPp':'qid=','aOJeM':_0x460fc1(0x229),'TzZFW':_0x460fc1(0x1c2),'OdRsW':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','PgVwo':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','xNVOg':'GET'},_0xce8b5=(await NTQQUserApi['getPSkey']([_0x56c706[_0x460fc1(0x1f9)]]))[_0x56c706[_0x460fc1(0x1f9)]],_0x45cf1d=await NTQQUserApi['getSkey'](),_0x26a13f=_0x56c706[_0x460fc1(0x217)](_0x56c706['xCOEw'](_0x56c706['xCOEw'](_0x56c706[_0x460fc1(0x217)](_0x460fc1(0x1e9),_0xce8b5),_0x56c706[_0x460fc1(0x215)]),_0x45cf1d)+_0x56c706['Jnbao'],selfInfo[_0x460fc1(0x210)]);let _0x33a6de=undefined;if(_0x56c706[_0x460fc1(0x1bd)](!_0x45cf1d,!_0xce8b5))return undefined;const _0x45ec2d=WebApi[_0x460fc1(0x1fa)](_0x45cf1d),_0x53ff51=_0x56c706[_0x460fc1(0x217)](_0x56c706[_0x460fc1(0x217)](_0x56c706['WBpxZ'](_0x56c706[_0x460fc1(0x217)](_0x56c706[_0x460fc1(0x209)](_0x56c706[_0x460fc1(0x1ad)],_0x1bc3f6),_0x56c706[_0x460fc1(0x1ca)]),_0x45ec2d),_0x56c706[_0x460fc1(0x1f2)]),_0x4421b7)+_0x56c706[_0x460fc1(0x1b1)],_0x5203ad=_0x56c706[_0x460fc1(0x1cf)]+_0x45ec2d;try{return _0x33a6de=await RequestUtil[_0x460fc1(0x238)](_0x5203ad,_0x56c706['xNVOg'],'',{'Cookie':_0x26a13f}),_0x33a6de;}catch(_0x41bad9){return undefined;}return undefined;}static async[_0x2b06a5(0x231)](_0x14e726){const _0x328bb9=_0x2b06a5,_0x77aeec={'iiaCN':function(_0x59730f,_0x3ae3c4){return _0x59730f+_0x3ae3c4;},'NhcOy':function(_0x293e41,_0x1e29ce){return _0x293e41+_0x1e29ce;},'jGOSn':function(_0x3527db,_0xe09b60){return _0x3527db+_0xe09b60;},'bHgYP':_0x328bb9(0x1e9),'smHrz':_0x328bb9(0x1f0),'qsGqT':_0x328bb9(0x205),'oocnv':function(_0x258d86,_0x29255c){return _0x258d86+_0x29255c;},'mLFtU':_0x328bb9(0x230),'bzRcy':_0x328bb9(0x21e),'XRNJz':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','Zrflx':'GET','kQHHU':function(_0x1a2664,_0x447263){return _0x1a2664!==_0x447263;}},_0x40e919=(await NTQQUserApi[_0x328bb9(0x213)](['qun.qq.com']))[_0x328bb9(0x22e)],_0x550c24=await NTQQUserApi['getSkey'](),_0x5127f7=_0x77aeec['iiaCN'](_0x77aeec[_0x328bb9(0x203)](_0x77aeec[_0x328bb9(0x22c)](_0x77aeec['jGOSn'](_0x77aeec[_0x328bb9(0x204)](_0x77aeec[_0x328bb9(0x19d)],_0x40e919),_0x77aeec[_0x328bb9(0x221)]),_0x550c24),_0x77aeec[_0x328bb9(0x1a3)]),selfInfo['uin']);let _0x59255e=undefined;if(!_0x550c24||!_0x40e919)return undefined;const _0x1c1396=WebApi['genBkn'](_0x550c24),_0x140051=_0x77aeec[_0x328bb9(0x1a2)](_0x77aeec[_0x328bb9(0x204)](_0x77aeec[_0x328bb9(0x22c)](_0x77aeec[_0x328bb9(0x208)]+_0x1c1396,_0x77aeec[_0x328bb9(0x1dc)]),_0x14e726),_0x77aeec['XRNJz']);try{_0x59255e=await RequestUtil['HttpGetJson'](_0x140051,_0x77aeec[_0x328bb9(0x1f1)],'',{'Cookie':_0x5127f7});if(_0x77aeec['kQHHU'](_0x59255e?.['ec'],0x0))return undefined;return _0x59255e;}catch(_0x519e0f){return undefined;}return undefined;}static[_0x2b06a5(0x1fa)](_0x2ae79f){const _0x4074ac=_0x2b06a5,_0x200977={'kuQrL':function(_0x239149,_0x467476){return _0x239149+_0x467476;},'ZeYXu':function(_0x20f235,_0xb904c7){return _0x20f235<<_0xb904c7;},'CpyOv':function(_0x184918,_0x5014cf){return _0x184918&_0x5014cf;}};_0x2ae79f=_0x2ae79f||'';let _0x449cb5=0x1505;for(let _0x89d11c=0x0;_0x89d11c<_0x2ae79f[_0x4074ac(0x1b2)];_0x89d11c++){const _0x2fa5b7=_0x2ae79f[_0x4074ac(0x214)](_0x89d11c);_0x449cb5=_0x200977['kuQrL'](_0x449cb5+_0x200977['ZeYXu'](_0x449cb5,0x5),_0x2fa5b7);}return _0x200977['CpyOv'](_0x449cb5,0x7fffffff)[_0x4074ac(0x1c6)]();}static async['getGroupHonorInfo'](_0x59730b,_0x58a834){const _0x11f0ee=_0x2b06a5,_0x546bd7={'FFIka':function(_0xe0e366,_0x4d98ba){return _0xe0e366+_0x4d98ba;},'ngqeU':'https://qun.qq.com/interactive/honorlist?gc=','LtuiW':_0x11f0ee(0x1d4),'rLSrn':function(_0x3347c4,_0x556f63){return _0x3347c4===_0x556f63;},'DNlBk':function(_0x5755ca,_0x5dc5e4,_0xd3c334,_0x413582){return _0x5755ca(_0x5dc5e4,_0xd3c334,_0x413582);},'kTuJN':_0x11f0ee(0x23a),'iWnQN':_0x11f0ee(0x22e),'nujep':function(_0x474de7,_0x5e7567){return _0x474de7||_0x5e7567;},'lzdop':function(_0x33ea99,_0x34daf8){return _0x33ea99+_0x34daf8;},'CHZvd':function(_0x57936d,_0x36f5ab){return _0x57936d+_0x36f5ab;},'mTpsz':function(_0x16d8c8,_0x4e99ae){return _0x16d8c8+_0x4e99ae;},'COOsB':function(_0x25aa1e,_0x5d6054){return _0x25aa1e+_0x5d6054;},'AIeqr':function(_0x582628,_0xd0110c){return _0x582628+_0xd0110c;},'bVNwW':_0x11f0ee(0x1f0),'ZJsPG':_0x11f0ee(0x205),'hmtwd':_0x11f0ee(0x1a1),'polcy':function(_0x204ece,_0x1e43a4){return _0x204ece===_0x1e43a4;},'QwHoB':function(_0x1f85d2,_0x104803){return _0x1f85d2===_0x104803;},'wybEq':_0x11f0ee(0x1d2),'uxlVr':function(_0x48ebc4,_0x209df3){return _0x48ebc4(_0x209df3);},'qmEHj':function(_0x2660ff,_0xef4288,_0x2cc760){return _0x2660ff(_0xef4288,_0x2cc760);},'zzZtC':function(_0x40d743,_0x155e08){return _0x40d743===_0x155e08;},'dWKAX':function(_0x54762c,_0x3089f3){return _0x54762c===_0x3089f3;},'ogilM':function(_0x443659,_0x4447ed,_0x1f164a){return _0x443659(_0x4447ed,_0x1f164a);},'ZFcTv':_0x11f0ee(0x1e7),'FLvMr':function(_0x5a2445,_0x5bfb2f,_0x3553b7){return _0x5a2445(_0x5bfb2f,_0x3553b7);},'UZNCK':function(_0x4e9aca,_0xe7b7bf){return _0x4e9aca===_0xe7b7bf;},'jWGkR':function(_0xa8ca86,_0x53f39b,_0x28d07e){return _0xa8ca86(_0x53f39b,_0x28d07e);},'jDAMb':'获取快乐源泉失败'},_0x4e833f=(await NTQQUserApi['getPSkey']([_0x546bd7[_0x11f0ee(0x1f5)]]))[_0x546bd7['iWnQN']],_0x32c231=await NTQQUserApi['getSkey']();if(_0x546bd7[_0x11f0ee(0x1aa)](!_0x32c231,!_0x4e833f))return undefined;async function _0x1d25b2(_0x1a3b9d,_0x2fc905){const _0xfae79e=_0x11f0ee;let _0x5dc7d0=_0x546bd7[_0xfae79e(0x1b0)](_0x546bd7[_0xfae79e(0x1b0)](_0x546bd7[_0xfae79e(0x1a0)]+_0x1a3b9d,_0x546bd7[_0xfae79e(0x22f)]),_0x2fc905[_0xfae79e(0x1c6)]()),_0x34d9ed='',_0x743736;try{_0x34d9ed=await RequestUtil[_0xfae79e(0x1bb)](_0x5dc7d0,_0xfae79e(0x19e),'',{'Cookie':_0x4cce17});const _0x4167cb=_0x34d9ed[_0xfae79e(0x1df)](/window\.__INITIAL_STATE__=(.*?);/);return _0x4167cb&&(_0x743736=JSON[_0xfae79e(0x1b4)](_0x4167cb[0x1][_0xfae79e(0x20c)]())),_0x546bd7[_0xfae79e(0x1a4)](_0x2fc905,0x1)?_0x743736?.[_0xfae79e(0x1c5)]:_0x743736?.['actorList'];}catch(_0x2f5c05){_0x546bd7[_0xfae79e(0x1eb)](logDebug,_0x546bd7[_0xfae79e(0x1c1)],_0x5dc7d0,_0x2f5c05);}return undefined;}let _0xc03c79={'group_id':_0x59730b};const _0x4cce17=_0x546bd7[_0x11f0ee(0x1f7)](_0x546bd7['FFIka'](_0x546bd7[_0x11f0ee(0x1b0)](_0x546bd7[_0x11f0ee(0x1d1)](_0x546bd7[_0x11f0ee(0x1f6)](_0x546bd7['COOsB'](_0x546bd7[_0x11f0ee(0x1d0)](_0x11f0ee(0x1e9),_0x4e833f),_0x546bd7[_0x11f0ee(0x224)]),_0x32c231),_0x546bd7[_0x11f0ee(0x1ed)]),selfInfo[_0x11f0ee(0x210)]),_0x546bd7[_0x11f0ee(0x1d9)]),selfInfo[_0x11f0ee(0x210)]);if(_0x546bd7[_0x11f0ee(0x1c9)](_0x58a834,WebHonorType[_0x11f0ee(0x1e4)])||_0x546bd7[_0x11f0ee(0x1ce)](_0x58a834,WebHonorType[_0x11f0ee(0x1e2)]))try{let _0x47aa62=await _0x1d25b2(_0x59730b,0x1);if(!_0x47aa62)throw new Error(_0x546bd7[_0x11f0ee(0x1af)]);_0xc03c79[_0x11f0ee(0x201)]={'user_id':_0x47aa62[0x0]?.['uin'],'avatar':_0x47aa62[0x0]?.[_0x11f0ee(0x1cc)],'nickname':_0x47aa62[0x0]?.[_0x11f0ee(0x21c)],'day_count':0x0,'description':_0x47aa62[0x0]?.[_0x11f0ee(0x236)]},_0xc03c79[_0x11f0ee(0x225)]=[];for(const _0x21afdd of _0x47aa62){_0xc03c79[_0x11f0ee(0x225)][_0x11f0ee(0x237)]({'user_id':_0x21afdd?.[_0x11f0ee(0x210)],'avatar':_0x21afdd?.[_0x11f0ee(0x1cc)],'description':_0x21afdd?.[_0x11f0ee(0x236)],'day_count':0x0,'nickname':_0x21afdd?.[_0x11f0ee(0x21c)]});}}catch(_0x360d91){_0x546bd7[_0x11f0ee(0x234)](logDebug,_0x360d91);}if(_0x546bd7[_0x11f0ee(0x1c9)](_0x58a834,WebHonorType[_0x11f0ee(0x1bf)])||_0x546bd7[_0x11f0ee(0x1ce)](_0x58a834,WebHonorType[_0x11f0ee(0x1e2)]))try{let _0xb185e9=await _0x546bd7[_0x11f0ee(0x1b3)](_0x1d25b2,_0x59730b,0x2);if(!_0xb185e9)throw new Error('获取群聊之火失败');_0xc03c79[_0x11f0ee(0x1cb)]=[];for(const _0x53802e of _0xb185e9){_0xc03c79['performer_list']['push']({'user_id':_0x53802e?.[_0x11f0ee(0x210)],'nickname':_0x53802e?.[_0x11f0ee(0x21c)],'avatar':_0x53802e?.[_0x11f0ee(0x1cc)],'description':_0x53802e?.[_0x11f0ee(0x236)]});}}catch(_0x4d3227){logDebug(_0x4d3227);}if(_0x546bd7['zzZtC'](_0x58a834,WebHonorType[_0x11f0ee(0x1bf)])||_0x546bd7[_0x11f0ee(0x23b)](_0x58a834,WebHonorType[_0x11f0ee(0x1e2)]))try{let _0x9e3918=await _0x546bd7[_0x11f0ee(0x228)](_0x1d25b2,_0x59730b,0x3);if(!_0x9e3918)throw new Error(_0x546bd7[_0x11f0ee(0x21d)]);_0xc03c79[_0x11f0ee(0x1de)]=[];for(const _0x4ba958 of _0x9e3918){_0xc03c79[_0x11f0ee(0x1de)][_0x11f0ee(0x237)]({'user_id':_0x4ba958?.[_0x11f0ee(0x210)],'nickname':_0x4ba958?.[_0x11f0ee(0x21c)],'avatar':_0x4ba958?.['avatar'],'desc':_0x4ba958?.[_0x11f0ee(0x1ba)]});}}catch(_0x36c241){_0x546bd7['FLvMr'](logDebug,_0x546bd7[_0x11f0ee(0x21d)],_0x36c241);}if(_0x546bd7[_0x11f0ee(0x1ce)](_0x58a834,WebHonorType[_0x11f0ee(0x1d3)])||_0x546bd7['UZNCK'](_0x58a834,WebHonorType[_0x11f0ee(0x1e2)]))try{let _0x132742=await _0x546bd7['jWGkR'](_0x1d25b2,_0x59730b,0x6);if(!_0x132742)throw new Error(_0x546bd7[_0x11f0ee(0x212)]);_0xc03c79[_0x11f0ee(0x1db)]=[];for(const _0x38e805 of _0x132742){_0xc03c79[_0x11f0ee(0x1db)][_0x11f0ee(0x237)]({'user_id':_0x38e805?.['uin'],'nickname':_0x38e805?.['name'],'avatar':_0x38e805?.[_0x11f0ee(0x1cc)],'desc':_0x38e805?.[_0x11f0ee(0x1ba)]});}}catch(_0x1d5698){_0x546bd7[_0x11f0ee(0x1b3)](logDebug,_0x546bd7[_0x11f0ee(0x212)],_0x1d5698);}return(_0x58a834===WebHonorType[_0x11f0ee(0x1d3)]||_0x546bd7[_0x11f0ee(0x23b)](_0x58a834,WebHonorType[_0x11f0ee(0x1e2)]))&&(_0xc03c79[_0x11f0ee(0x1fe)]=[]),_0xc03c79;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index d673e2d5..9d5e12f9 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x51e0cc=_0x40a9;(function(_0x28c1e2,_0x44be30){const _0x48110d=_0x40a9,_0x38190b=_0x28c1e2();while(!![]){try{const _0x3ed40d=-parseInt(_0x48110d(0x12f))/0x1*(-parseInt(_0x48110d(0x123))/0x2)+parseInt(_0x48110d(0xf1))/0x3+-parseInt(_0x48110d(0x16a))/0x4+parseInt(_0x48110d(0xfa))/0x5*(-parseInt(_0x48110d(0x145))/0x6)+-parseInt(_0x48110d(0x137))/0x7*(-parseInt(_0x48110d(0x12b))/0x8)+-parseInt(_0x48110d(0x199))/0x9+-parseInt(_0x48110d(0x113))/0xa*(-parseInt(_0x48110d(0xe8))/0xb);if(_0x3ed40d===_0x44be30)break;else _0x38190b['push'](_0x38190b['shift']());}catch(_0x58fdfe){_0x38190b['push'](_0x38190b['shift']());}}}(_0x5212,0xa1714));import _0x1fb4f9 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5d940f from'node:path';import _0x1f5d87 from'node:os';import _0x50f2b0 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x2b8576 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x40a9(_0x43aaf2,_0x4375a1){const _0x521218=_0x5212();return _0x40a9=function(_0x40a94a,_0x13cf1a){_0x40a94a=_0x40a94a-0xdb;let _0x58b343=_0x521218[_0x40a94a];return _0x58b343;},_0x40a9(_0x43aaf2,_0x4375a1);}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';function _0x5212(){const _0x20133e=['ZTGZX','onLoginSuccess','getGroupService','onKickedOffLine','本账号数据/缓存目录:','-v2.db','BrErv','packet_sent','getNTUserDataInfoConfig','登录失败','iCXiE','140022013','没有可快速登录的QQ号','16740670FrooCu','VPnDi','oZzta','onMemberInfoChange','VSJdw','onUserLoggedIn','now','JhuER','onMsgInfoListUpdate','./nt_qq/global','onMemberListChange','tZYfP','uin','getQRCodePicture','ScZkC','base64','66iUtlKK','result','NodeIKernelSessionListener','errMsg','NodeIKernelLoginService','loginListener','getNextMemberList','NodeIKernelBuddyListener','510728tjLsLs','initSession','msgId','dataPath','12542rOowwY',')已登录,无法重复登录','./.config/QQ','dataPathGlobal','快速登录失败\x20','pngBase64QrcodeData','OqKjP','onSessionInitComplete','70jmppYv','NodeIKernelMsgListener','YIQxc','[KickedOffLine]\x20[','floor','addListener','infos','message_sent','md5','WdPHx','getMsgByLongId','rvmcW','140022008','name','72NryJaC','curVersion','V1_WIN_NQ_','DUOpx','message_received','znWJO','./NapCat/data','forEach','onGroupListUpdate','ynzkd','NodeQQNTWrapperUtil','groupCode','MsgListener','catch','clientType','getProfileService','loginService','NodeIKernelLoginListener','qrLogin','then','fileLogLevel','sceneId','mkdirSync','buddyList','quickLogin','packet_received','fileLog','LlxSU','KcSny','addKernelBuddyListener','init','YfIAM','last_message_time','onBuddyListChange','assign','NodeIQQNTWrapperSession','dPvcm','79964WLVeyC','split','util','zgpvY','delete','getBuddyService','NodeIGlobalAdapter','proxyHandler','getQuickLoginList','UcmlN','NodeIDispatcherAdapter','NodeIDependsAdapter','data:image/png;base64,','GroupListener','engine','find','NIeJN','consoleLogLevel','BuddyListener','LEPDa','awNwx','DjdHL','onLineDev','homedir','Windows\x2010\x20Pro','eiobm',')\x20在线状态变更','startNT','consoleLog','init\x20failed\x20','wXvKK','tipsTitle','hex','devUid','TzBnp','onQRCodeGetPicture','NodeIKernelGroupListener','isQuickLogin','XtDeK','TZwHk','get','quickLoginWithUin','qmnkx','onSelfStatusChanged','addKernelProfileListener','set','uid','6888780ujCVVq','push','initDataListener','VzSOj','_GW_B','stringify','undefined','initSession\x20failed','cCPqX','onAddSendMsg','PvCtw','LoKdr','eJMBB','bdZaK','resolve','qrcodeUrl','11UNUimz','getBuddyList','constructor','LgHEy','initConfig','dVKGm','数据库初始化失败','ProfileListener','loginErrorInfo','126312tyCMeB','session','onLoginSuccessFuncList','from','XLYsN','onQRCodeSessionFailed','getLoginList','length','replace','550745UGCCun','onProfileDetailInfoChanged','map','onQRCodeLoginSucceed','isDelete','lyuHg','updateMsg','kVnoC','账号设备(','onRecvMsg','recallTime','createMemberListScene'];_0x5212=function(){return _0x20133e;};return _0x5212();}export class NapCatCore{[_0x51e0cc(0xf2)];['util'];[_0x51e0cc(0x178)];[_0x51e0cc(0x128)];[_0x51e0cc(0x155)];[_0x51e0cc(0xf3)]=[];[_0x51e0cc(0x171)]={'get'(target,prop,receiver){const _0x7c867f=_0x51e0cc,WMsrhU={'nhOvj':function(callee,param1){return callee(param1);},'OqKjP':_0x7c867f(0xde)};if(typeof target[prop]===WMsrhU[_0x7c867f(0x135)])return(...args)=>{const _0x5b650d=_0x7c867f;WMsrhU['nhOvj'](logDebug,target[_0x5b650d(0xea)][_0x5b650d(0x144)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x7c867f(0x192)](target,prop,receiver);}};constructor(){const _0x4ebcf7=_0x51e0cc,_0x5e513b={'iCXiE':function(_0x28bfc4,_0x3a456e){return _0x28bfc4+_0x3a456e;},'ScZkC':_0x4ebcf7(0xdf),'tZYfP':function(_0x14d1e5,_0xba1316,_0x2083b2){return _0x14d1e5(_0xba1316,_0x2083b2);},'MdUYK':_0x4ebcf7(0xee),'bdZaK':function(_0x5d7721,_0x3808c8){return _0x5d7721(_0x3808c8);},'DjdHL':_0x4ebcf7(0x14b),'SULfA':_0x4ebcf7(0x10a),'KcSny':function(_0x47bd96,_0x88dbde){return _0x47bd96==_0x88dbde;},'BrErv':function(_0x1f5a74,_0x5ed9ef){return _0x1f5a74==_0x5ed9ef;},'XtDeK':_0x4ebcf7(0x10f)};this[_0x4ebcf7(0x178)]=new _0x1fb4f9['NodeIQQNTWrapperEngine'](),this[_0x4ebcf7(0x16c)]=new _0x1fb4f9[(_0x4ebcf7(0x14f))](),this[_0x4ebcf7(0x155)]=new _0x1fb4f9[(_0x4ebcf7(0x127))](),this[_0x4ebcf7(0xf2)]=new _0x1fb4f9[(_0x4ebcf7(0x168))](),this[_0x4ebcf7(0x128)]=new LoginListener(),this[_0x4ebcf7(0x128)][_0x4ebcf7(0x118)]=_0x5991f0=>{const _0x270ec2=_0x4ebcf7;logError(_0x5e513b[_0x270ec2(0x110)]('当前账号(',_0x5991f0)+_0x270ec2(0x130));},this[_0x4ebcf7(0x128)][_0x4ebcf7(0xfd)]=_0x5627e7=>{const _0x18ac80=_0x4ebcf7,_0x419ced={'ynzkd':function(_0x314d90,_0xb5e59a,_0x5334d3){const _0x95f076=_0x40a9;return _0x5e513b[_0x95f076(0x11e)](_0x314d90,_0xb5e59a,_0x5334d3);},'VSJdw':_0x5e513b['MdUYK'],'PbUEk':function(_0x4e7fa0,_0x31aeed,_0x7b9b0b){return _0x4e7fa0(_0x31aeed,_0x7b9b0b);},'DUOpx':function(_0x4445ce,_0x5cdf02){return _0x5e513b['bdZaK'](_0x4445ce,_0x5cdf02);},'TzBnp':function(_0x128b02,_0x10dcdd){const _0x359c99=_0x40a9;return _0x5e513b[_0x359c99(0xe5)](_0x128b02,_0x10dcdd);},'ZTGZX':_0x5e513b[_0x18ac80(0x17f)],'oZzta':_0x5e513b['SULfA']};this['initSession'](_0x5627e7['uin'],_0x5627e7[_0x18ac80(0x198)])[_0x18ac80(0x158)](_0x56ad4a=>{const _0x288cdd=_0x18ac80;selfInfo[_0x288cdd(0x11f)]=_0x5627e7[_0x288cdd(0x11f)],selfInfo[_0x288cdd(0x198)]=_0x5627e7[_0x288cdd(0x198)],napCatConfig['read'](),_0x419ced['PbUEk'](setLogLevel,napCatConfig[_0x288cdd(0x159)],napCatConfig[_0x288cdd(0x17b)]),_0x419ced[_0x288cdd(0x148)](enableFileLog,napCatConfig[_0x288cdd(0x15f)]),_0x419ced[_0x288cdd(0x18c)](enableConsoleLog,napCatConfig[_0x288cdd(0x186)]),_0x419ced[_0x288cdd(0x148)](setLogSelfInfo,selfInfo);const _0x4017a2=_0x5d940f[_0x288cdd(0xe6)](this[_0x288cdd(0x12e)],_0x419ced[_0x288cdd(0x106)]);_0x50f2b0[_0x288cdd(0x15b)](_0x4017a2,{'recursive':!![]}),logDebug(_0x419ced[_0x288cdd(0x115)],_0x4017a2),dbUtil[_0x288cdd(0x163)](_0x5d940f[_0x288cdd(0xe6)](_0x4017a2,'./'+_0x5627e7[_0x288cdd(0x11f)]+_0x288cdd(0x10b)))[_0x288cdd(0x158)](()=>{const _0x5dd2b5=_0x288cdd;this[_0x5dd2b5(0x19b)](),this['onLoginSuccessFuncList'][_0x5dd2b5(0xfc)](_0x1a880a=>{const _0x5789cc=_0x5dd2b5;new Promise((_0x4bb82b,_0x35936a)=>{const _0x76dfa1=_0x40a9,_0x96c864=_0x1a880a(_0x5627e7['uin'],_0x5627e7[_0x76dfa1(0x198)]);_0x96c864 instanceof Promise&&_0x96c864[_0x76dfa1(0x158)](_0x4bb82b)[_0x76dfa1(0x152)](_0x35936a);})[_0x5789cc(0x158)]();});})['catch'](_0x22c349=>{const _0x46f838=_0x288cdd;_0x419ced[_0x46f838(0x14e)](logError,_0x419ced[_0x46f838(0x117)],_0x22c349);});})[_0x18ac80(0x152)](_0x4c2be5=>{const _0x2885c9=_0x18ac80;logError(_0x5e513b[_0x2885c9(0x121)],_0x4c2be5);throw new Error('启动失败:\x20'+JSON[_0x2885c9(0xdd)](_0x4c2be5));});},this[_0x4ebcf7(0x128)][_0x4ebcf7(0xf6)]=(_0x56140c,_0x39e8fe,_0x25966f)=>{const _0x3d0983=_0x4ebcf7;logError(_0x3d0983(0x10f),_0x25966f),_0x5e513b[_0x3d0983(0x161)](_0x56140c,0x1)&&_0x5e513b[_0x3d0983(0x10c)](_0x39e8fe,0x3)&&this[_0x3d0983(0x155)][_0x3d0983(0x120)]();},this[_0x4ebcf7(0x128)]['onLoginFailed']=_0x1c30a0=>{const _0x126a58=_0x4ebcf7;_0x5e513b[_0x126a58(0x11e)](logError,_0x5e513b[_0x126a58(0x190)],_0x1c30a0);},this[_0x4ebcf7(0x128)]=new Proxy(this[_0x4ebcf7(0x128)],this[_0x4ebcf7(0x171)]),this[_0x4ebcf7(0x155)]['addKernelLoginListener'](new _0x1fb4f9[(_0x4ebcf7(0x156))](this[_0x4ebcf7(0x128)])),this['initConfig']();}get['dataPath'](){const _0x12df81=_0x51e0cc;let _0x25c5b5=this[_0x12df81(0x16c)][_0x12df81(0x10e)]();return!_0x25c5b5&&(_0x25c5b5=_0x5d940f[_0x12df81(0xe6)](_0x1f5d87[_0x12df81(0x181)](),_0x12df81(0x131)),_0x50f2b0['mkdirSync'](_0x25c5b5,{'recursive':!![]})),_0x25c5b5;}get[_0x51e0cc(0x132)](){const _0x47debc=_0x51e0cc,_0x22c369={'VPnDi':_0x47debc(0x11c)};return _0x5d940f[_0x47debc(0xe6)](this[_0x47debc(0x12e)],_0x22c369[_0x47debc(0x114)]);}[_0x51e0cc(0xec)](){const _0x91ab57=_0x51e0cc,_0x1b62cc={'dVKGm':_0x91ab57(0x182)};this[_0x91ab57(0x178)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x91ab57(0x146)],'os_version':_0x1b62cc[_0x91ab57(0xed)],'use_xlog':!![],'qua':_0x91ab57(0x147)+qqVersionConfigInfo[_0x91ab57(0x146)][_0x91ab57(0xf9)]('-','_')+_0x91ab57(0xdc),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x1fb4f9[(_0x91ab57(0x170))](new GlobalAdapter())),this[_0x91ab57(0x155)][_0x91ab57(0xec)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x91ab57(0x132)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x51e0cc(0x12c)](_0x464d42,_0x29faf4){const _0x3f11bb=_0x51e0cc,_0x3aa385={'WdPHx':function(_0x3f7819,_0x5a548a){return _0x3f7819===_0x5a548a;},'YfIAM':function(_0x586ff7,_0x2b467c){return _0x586ff7(_0x2b467c);},'qmnkx':function(_0x341f8c,_0x17e0e2,_0x4ca272,_0x3dc4f6){return _0x341f8c(_0x17e0e2,_0x4ca272,_0x3dc4f6);},'LEPDa':function(_0x2a96d6,_0x2a76c6){return _0x2a96d6(_0x2a76c6);},'PztAn':function(_0x3b3149,_0x444c93){return _0x3b3149+_0x444c93;},'JhuER':_0x3f11bb(0x187)};return new Promise((_0x95d870,_0x49a38e)=>{const _0x253e54=_0x3f11bb,_0x1b7e1d=_0x3aa385[_0x253e54(0x194)](genSessionConfig,_0x464d42,_0x29faf4,this['dataPath']),_0x5ec4aa=new SessionListener();_0x5ec4aa[_0x253e54(0x136)]=_0xaba25e=>{const _0x1b7ef3=_0x253e54;if(_0x3aa385[_0x1b7ef3(0x140)](_0xaba25e,0x0))return _0x95d870(0x0);_0x3aa385[_0x1b7ef3(0x164)](_0x49a38e,_0xaba25e);},this[_0x253e54(0xf2)]['init'](_0x1b7e1d,new _0x1fb4f9[(_0x253e54(0x175))](new DependsAdapter()),new _0x1fb4f9[(_0x253e54(0x174))](new DispatcherAdapter()),new _0x1fb4f9[(_0x253e54(0x125))](_0x5ec4aa));try{this[_0x253e54(0xf2)][_0x253e54(0x185)](0x0);}catch(_0x21074c){try{this[_0x253e54(0xf2)]['startNT']();}catch(_0x1b82d9){_0x3aa385[_0x253e54(0x17d)](_0x49a38e,_0x3aa385['PztAn'](_0x3aa385[_0x253e54(0x11a)],_0x1b82d9));}}});}['initDataListener'](){const _0x134c01=_0x51e0cc,_0x5dd3b3={'LlxSU':function(_0x4d65eb,_0x3384b8){return _0x4d65eb===_0x3384b8;},'UcmlN':function(_0x451eff,_0x28cd9d){return _0x451eff+_0x28cd9d;},'LgHEy':_0x134c01(0x184),'zgpvY':function(_0x4a490f,_0x1b7306){return _0x4a490f(_0x1b7306);},'lyuHg':function(_0x2607a2,_0x344295){return _0x2607a2+_0x344295;},'dAdti':_0x134c01(0x13a),'awNwx':function(_0x5c3ec8,_0x552dff){return _0x5c3ec8/_0x552dff;},'dPvcm':function(_0x426e00,_0x3a8324){return _0x426e00===_0x3a8324;}},_0x7e9d10=new MsgListener();_0x7e9d10[_0x134c01(0x180)]=_0x12d7fe=>{const _0x288e27=_0x134c01;_0x12d7fe[_0x288e27(0xfc)](_0x887fc5=>{const _0x34e81a=_0x288e27;_0x5dd3b3[_0x34e81a(0x160)](_0x887fc5[_0x34e81a(0x153)],0x2)&&log(_0x5dd3b3[_0x34e81a(0x173)](_0x34e81a(0x102)+_0x887fc5[_0x34e81a(0x18b)],_0x5dd3b3[_0x34e81a(0xeb)]));});},_0x7e9d10[_0x134c01(0x109)]=_0x3543ae=>{const _0x5ed279=_0x134c01;_0x5dd3b3[_0x5ed279(0x16d)](log,_0x5dd3b3[_0x5ed279(0xff)](_0x5dd3b3[_0x5ed279(0xff)](_0x5dd3b3['lyuHg'](_0x5dd3b3['dAdti'],_0x3543ae[_0x5ed279(0x189)]),']\x20'),_0x3543ae['tipsDesc']));},_0x7e9d10[_0x134c01(0x11b)]=_0x291489=>{const _0x50da2f=_0x134c01,_0x3f37b2={'eJMBB':function(_0x1d1447,_0xcd6b2){return _0x1d1447===_0xcd6b2;}};stat[_0x50da2f(0x15e)]+=0x1,_0x291489['map'](_0x559d84=>{const _0x5e8be3=_0x50da2f;_0x3f37b2[_0x5e8be3(0xe4)](_0x559d84[_0x5e8be3(0x104)],'0')?dbUtil['addMsg'](_0x559d84)[_0x5e8be3(0x158)]()[_0x5e8be3(0x152)]():dbUtil[_0x5e8be3(0x141)](_0x559d84[_0x5e8be3(0x12d)])[_0x5e8be3(0x158)](_0x1e87f1=>{const _0x506bff=_0x5e8be3;_0x1e87f1&&(_0x1e87f1[_0x506bff(0x104)]=_0x559d84[_0x506bff(0x104)],dbUtil[_0x506bff(0x100)](_0x1e87f1)[_0x506bff(0x158)]());});});},_0x7e9d10[_0x134c01(0xe1)]=_0x5c0ab6=>{const _0x1fdaac=_0x134c01;stat[_0x1fdaac(0x10d)]+=0x1,stat[_0x1fdaac(0x13e)]+=0x1,stat[_0x1fdaac(0x165)]=Math['floor'](Date['now']()/0x3e8);},_0x7e9d10[_0x134c01(0x103)]=_0x1ff1a1=>{const _0x5cc0a1=_0x134c01;stat[_0x5cc0a1(0x15e)]+=0x1,stat[_0x5cc0a1(0x149)]+=_0x1ff1a1[_0x5cc0a1(0xf8)],stat[_0x5cc0a1(0x165)]=Math[_0x5cc0a1(0x13b)](_0x5dd3b3[_0x5cc0a1(0x17e)](Date[_0x5cc0a1(0x119)](),0x3e8));},_0x7e9d10['onRecvSysMsg']=(..._0x81176b)=>{const _0x11ab5b=_0x134c01;stat[_0x11ab5b(0x15e)]+=0x1;},this[_0x134c01(0x13c)](_0x7e9d10);const _0x4d36ef=new BuddyListener();_0x4d36ef[_0x134c01(0x166)]=_0x45a056=>{const _0x11e7b1=_0x134c01;rawFriends[_0x11e7b1(0xf8)]=0x0,rawFriends[_0x11e7b1(0x19a)](..._0x45a056);for(const _0x3fdd9d of _0x45a056){for(const _0x554605 of _0x3fdd9d[_0x11e7b1(0x15c)]){const _0x4792b9=friends[_0x11e7b1(0x192)](_0x554605[_0x11e7b1(0x198)]);uid2UinMap[_0x554605[_0x11e7b1(0x198)]]=_0x554605[_0x11e7b1(0x11f)],_0x4792b9?Object[_0x11e7b1(0x167)](_0x4792b9,_0x554605):friends[_0x11e7b1(0x197)](_0x554605['uid'],_0x554605);}}},this[_0x134c01(0x13c)](_0x4d36ef),this[_0x134c01(0xf2)][_0x134c01(0x16f)]()[_0x134c01(0xe9)](!![])[_0x134c01(0x158)](_0xba34a6=>{});const _0x4207bb=new ProfileListener();_0x4207bb[_0x134c01(0xfb)]=_0xb2750b=>{const _0xe141c2=_0x134c01;_0x5dd3b3['dPvcm'](_0xb2750b[_0xe141c2(0x198)],selfInfo[_0xe141c2(0x198)])&&Object['assign'](selfInfo,_0xb2750b);},_0x4207bb[_0x134c01(0x195)]=_0x28b8c0=>{},this[_0x134c01(0x13c)](_0x4207bb);const _0x4cb67c=new GroupListener();_0x4cb67c[_0x134c01(0x14d)]=(_0x3e7a7c,_0x1bdf9f)=>{const _0x1f522c=_0x134c01;_0x1bdf9f[_0x1f522c(0xfc)](_0x12663d=>{const _0x194330=_0x1f522c,_0x391f9e=groups[_0x194330(0x192)](_0x12663d[_0x194330(0x150)]);if(_0x391f9e)Object[_0x194330(0x167)](_0x391f9e,_0x12663d);else{groups[_0x194330(0x197)](_0x12663d['groupCode'],_0x12663d);const _0x5d31a2=this['session'][_0x194330(0x108)]()[_0x194330(0x105)](_0x12663d[_0x194330(0x150)],'groupMemberList_MainWindow');this[_0x194330(0xf2)]['getGroupService']()[_0x194330(0x129)](_0x5d31a2,undefined,0xbb8)[_0x194330(0x158)](_0x48c4a1=>{});}});},_0x4cb67c[_0x134c01(0x11d)]=_0x46982d=>{const _0x55cd48=_0x134c01,_0x43cf70=_0x46982d[_0x55cd48(0x15a)][_0x55cd48(0x16b)]('_')[0x0];if(groupMembers['has'](_0x43cf70)){const _0x285005=groupMembers['get'](_0x43cf70);_0x46982d[_0x55cd48(0x13d)][_0x55cd48(0x14c)]((_0x3166b4,_0x22f913)=>{const _0x7f32ad=_0x55cd48,_0x9bbd8=_0x285005[_0x7f32ad(0x192)](_0x22f913);_0x9bbd8?Object[_0x7f32ad(0x167)](_0x9bbd8,_0x3166b4):_0x285005[_0x7f32ad(0x197)](_0x22f913,_0x3166b4);});}else groupMembers[_0x55cd48(0x197)](_0x43cf70,_0x46982d[_0x55cd48(0x13d)]);},_0x4cb67c[_0x134c01(0x116)]=(_0xddd4f6,_0x495b5f,_0x57ba2b)=>{const _0x3de4d9=_0x134c01;_0x5dd3b3[_0x3de4d9(0x169)](_0x495b5f,0x0)&&_0x57ba2b['get'](selfInfo[_0x3de4d9(0x198)])&&_0x57ba2b['get'](selfInfo[_0x3de4d9(0x198)])?.[_0x3de4d9(0xfe)]&&setTimeout(()=>{const _0x1c3583=_0x3de4d9;groups[_0x1c3583(0x16e)](_0xddd4f6);},0x1388);_0x57ba2b[_0x3de4d9(0x14c)]((_0x3d2e5c,_0x554aa6)=>{uid2UinMap[_0x554aa6]=_0x3d2e5c['uin'];});const _0x1611a9=groupMembers[_0x3de4d9(0x192)](_0xddd4f6);_0x1611a9?_0x57ba2b[_0x3de4d9(0x14c)]((_0x6f61af,_0x47e9c7)=>{const _0x448bab=_0x3de4d9,_0x253b6a=_0x1611a9[_0x448bab(0x192)](_0x47e9c7);_0x253b6a?Object[_0x448bab(0x167)](_0x253b6a,_0x6f61af):_0x1611a9[_0x448bab(0x197)](_0x47e9c7,_0x6f61af);}):groupMembers[_0x3de4d9(0x197)](_0xddd4f6,_0x57ba2b);},this['addListener'](_0x4cb67c);}[_0x51e0cc(0x13c)](_0x550e17){const _0x3d6b02=_0x51e0cc,_0x129660={'IGuwz':_0x3d6b02(0x17c),'LoKdr':_0x3d6b02(0x177),'NIeJN':_0x3d6b02(0x151),'PvCtw':_0x3d6b02(0xef)};_0x550e17=new Proxy(_0x550e17,this[_0x3d6b02(0x171)]);switch(_0x550e17[_0x3d6b02(0xea)][_0x3d6b02(0x144)]){case _0x129660['IGuwz']:{return this['session']['getBuddyService']()[_0x3d6b02(0x162)](new _0x1fb4f9[(_0x3d6b02(0x12a))](_0x550e17));}case _0x129660[_0x3d6b02(0xe3)]:{return this[_0x3d6b02(0xf2)]['getGroupService']()['addKernelGroupListener'](new _0x1fb4f9[(_0x3d6b02(0x18e))](_0x550e17));}case _0x129660[_0x3d6b02(0x17a)]:{return this[_0x3d6b02(0xf2)]['getMsgService']()['addKernelMsgListener'](new _0x1fb4f9[(_0x3d6b02(0x138))](_0x550e17));}case _0x129660[_0x3d6b02(0xe2)]:{return this[_0x3d6b02(0xf2)][_0x3d6b02(0x154)]()[_0x3d6b02(0x196)](new _0x1fb4f9['NodeIKernelProfileListener'](_0x550e17));}default:return-0x1;}}[_0x51e0cc(0x107)](_0x1cc344){const _0x51b9ec=_0x51e0cc;this[_0x51b9ec(0xf3)][_0x51b9ec(0x19a)](_0x1cc344);}async[_0x51e0cc(0x15d)](_0x1e6fcb){const _0x18c7f5=_0x51e0cc,_0x7f2645={'eiobm':function(_0x4e05f3,_0x548229){return _0x4e05f3!==_0x548229;},'tPlrH':_0x18c7f5(0x112),'bIMze':function(_0x16bba9,_0x3bc829){return _0x16bba9(_0x3bc829);},'wXvKK':function(_0x520059,_0x32fb02){return _0x520059+_0x32fb02;},'rvmcW':_0x18c7f5(0x133)},_0x3f348f=await this['loginService'][_0x18c7f5(0xf7)]();if(_0x7f2645[_0x18c7f5(0x183)](_0x3f348f['result'],0x0))throw new Error(_0x7f2645['tPlrH']);const _0x229be0=_0x3f348f['LocalLoginInfoList'][_0x18c7f5(0x179)](_0x5ba141=>_0x5ba141[_0x18c7f5(0x11f)]===_0x1e6fcb);if(!_0x229be0||!_0x229be0?.[_0x18c7f5(0x18f)])throw new Error(_0x1e6fcb+'快速登录不可用');await _0x7f2645['bIMze'](sleep,0x3e8);const _0x5ec1d4=await this[_0x18c7f5(0x155)][_0x18c7f5(0x193)](_0x1e6fcb);if(!_0x5ec1d4[_0x18c7f5(0x124)])throw new Error(_0x7f2645[_0x18c7f5(0x188)](_0x7f2645[_0x18c7f5(0x142)],_0x5ec1d4[_0x18c7f5(0xf0)][_0x18c7f5(0x126)]));return _0x5ec1d4;}async[_0x51e0cc(0x157)](_0x426cf3){const _0x4b5616=_0x51e0cc,_0x26de5b={'TZwHk':_0x4b5616(0x176)};return new Promise((_0x46eca5,_0x51ea15)=>{const _0x192690=_0x4b5616,_0xb2a374={'ipkMf':_0x26de5b[_0x192690(0x191)]};this[_0x192690(0x128)][_0x192690(0x18d)]=_0x252098=>{const _0x34f15d=_0x192690,_0x2426d5=_0x252098[_0x34f15d(0x134)][_0x34f15d(0x16b)](_0xb2a374['ipkMf'])[0x1],_0x4fda82=Buffer[_0x34f15d(0xf4)](_0x2426d5,_0x34f15d(0x122));_0x426cf3(_0x252098[_0x34f15d(0xe7)],_0x252098[_0x34f15d(0x134)],_0x4fda82);},this[_0x192690(0x155)]['getQRCodePicture']();});}async['passwordLogin'](_0x2a7c87,_0x5d6215,_0x2c433e,_0xd7752,_0x20ff62){const _0x1a03c8=_0x51e0cc,_0x9c59f1={'kVnoC':_0x1a03c8(0x13f),'YIQxc':_0x1a03c8(0x18a),'VzSOj':function(_0x37ae49,_0x53237b){return _0x37ae49||_0x53237b;},'XLYsN':function(_0x1f2063,_0x405197){return _0x1f2063||_0x405197;},'cCPqX':_0x1a03c8(0x143),'znWJO':_0x1a03c8(0x111)},_0x208d23=_0x2b8576['createHash'](_0x9c59f1[_0x1a03c8(0x101)])['update'](_0x5d6215)['digest'](_0x9c59f1[_0x1a03c8(0x139)]),_0xe94480={'uin':_0x2a7c87,'passwordMd5':_0x208d23,'step':_0x2c433e&&_0xd7752&&_0x20ff62?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x9c59f1[_0x1a03c8(0xdb)](_0x2c433e,''),'proofWaterRand':_0x9c59f1[_0x1a03c8(0xf5)](_0xd7752,''),'proofWaterSid':_0x20ff62||''};await this[_0x1a03c8(0x155)][_0x1a03c8(0xf7)](),await sleep(0x3e8);const _0x839f6f=await this[_0x1a03c8(0x155)]['passwordLogin'](_0xe94480);switch(_0x839f6f[_0x1a03c8(0x124)]){case'0':{break;}case _0x9c59f1[_0x1a03c8(0xe0)]:{break;}case'4':case _0x9c59f1[_0x1a03c8(0x14a)]:default:}}async[_0x51e0cc(0x172)](){const _0x1a4cc0=_0x51e0cc,_0x53304b=await this[_0x1a4cc0(0x155)][_0x1a4cc0(0xf7)]();return _0x53304b;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x10f612=_0xc74a;(function(_0x2030fe,_0x3b09c3){const _0x2be164=_0xc74a,_0x2b8659=_0x2030fe();while(!![]){try{const _0x2e5f40=-parseInt(_0x2be164(0x1d2))/0x1*(-parseInt(_0x2be164(0x26d))/0x2)+parseInt(_0x2be164(0x1ff))/0x3+-parseInt(_0x2be164(0x1ef))/0x4+-parseInt(_0x2be164(0x211))/0x5*(-parseInt(_0x2be164(0x1f2))/0x6)+parseInt(_0x2be164(0x26b))/0x7+-parseInt(_0x2be164(0x1eb))/0x8+-parseInt(_0x2be164(0x269))/0x9;if(_0x2e5f40===_0x3b09c3)break;else _0x2b8659['push'](_0x2b8659['shift']());}catch(_0x337f4c){_0x2b8659['push'](_0x2b8659['shift']());}}}(_0x52aa,0x5de51));import _0x7e599d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0xc74a(_0x56ea9a,_0x3e09a5){const _0x52aadf=_0x52aa();return _0xc74a=function(_0xc74a1d,_0xe373de){_0xc74a1d=_0xc74a1d-0x1ca;let _0x4c1f26=_0x52aadf[_0xc74a1d];return _0x4c1f26;},_0xc74a(_0x56ea9a,_0x3e09a5);}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5b499f from'node:path';import _0x57cea3 from'node:os';import _0x125e81 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x52aa(){const _0x11f86e=['onBuddyListChange','数据库初始化失败','onRecvMsg','read','length','addKernelLoginListener','init\x20failed\x20','bBnIx','bnequ','qyKZU','136416PvuPog','addListener','getMsgService','catch','onProfileDetailInfoChanged','Aduhg','clientType','BrrHI','KjwqO','recallTime','session','WZWpc','jQvmH','WZkHy','onQRCodeLoginSucceed','addKernelBuddyListener','util','./nt_qq/global','homedir','initConfig','RRjJj','快速登录不可用','onSessionInitComplete','groupCode','rEhSa','3858104HVffcw','onLineDev','createMemberListScene','VkJdN','2633888NhRduJ','isQuickLogin','bwRBC','426HaGtQb','quickLogin','140022013','set','onUserLoggedIn','name','BickE','getBuddyService','本账号数据/缓存目录:','NodeIGlobalAdapter','mkdirSync','consoleLog','zOFlC','1744626XNgMPR','hex','\x20has\x20no\x20method\x20','onMemberListChange','NodeIKernelBuddyListener','140022008','NodeIKernelMsgListener','isDelete','PHeBI','data:image/png;base64,','addMsg','XEMef','onMsgInfoListUpdate','has','resolve','fileLogLevel','onQRCodeSessionFailed','buddyList','46955wkSRTr','split','update','QBUuB','onGroupListUpdate','NodeIKernelLoginListener','gQCWr','assign','YhuEL','ybjwU','getGroupService','consoleLogLevel','akcHl','xIddA','jhZiJ','last_message_time','proxyHandler','map','dataPath','packet_received','tipsDesc','message_sent','CxdFS','VJAXQ','快速登录失败\x20','from','pCvas','登录失败',')已登录,无法重复登录','tipsTitle','delete','DIppQ','getQuickLoginList','initSession\x20failed','forEach','initWithDeskTopConfig','engine','onLoginSuccessFuncList','NodeQQNTWrapperUtil','iJzVI','find','addKernelGroupListener','ProfileListener','curVersion','getLoginList','result','NpRYU','NodeIQQNTWrapperEngine','floor','RxSwB','initDataListener','NcdOo','undefined','onSelfStatusChanged','BGyub','getMsgByLongId','NodeIKernelSessionListener','startNT','rOQkD','push','Oecim','initSession','V1_WIN_NQ_','pngBase64QrcodeData','qrLogin','now','_GW_B','GroupListener','uin','当前账号(','rrmsX','IEEqH','onLoginSuccess','NodeIDependsAdapter','./.config/QQ','init','loginErrorInfo','JVrAV','IJdrE','createHash','replace','cuglv','dataPathGlobal','GgxCv','getQRCodePicture','NodeIKernelProfileListener','getNTUserDataInfoConfig','loginService','7391205VBeTOx','get','4823154khHTca',')\x20在线状态变更','6eYuRJW','Windows\x2010\x20Pro','sceneId','账号设备(','./NapCat/data','then','hygJR','passwordLogin','GjYGC','constructor','loginListener','uid','swnVy'];_0x52aa=function(){return _0x11f86e;};return _0x52aa();}import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x3b742f from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x10f612(0x1dc)];[_0x10f612(0x1e2)];[_0x10f612(0x235)];[_0x10f612(0x277)];['loginService'];[_0x10f612(0x236)]=[];[_0x10f612(0x221)]={'get'(target,prop,receiver){const _0x39db08=_0x10f612,crUvht={'pZkkn':function(callee,param1){return callee(param1);}};if(typeof target[prop]===_0x39db08(0x245))return(...args)=>{const _0x3cf6d5=_0x39db08;crUvht['pZkkn'](logDebug,target[_0x3cf6d5(0x276)]['name']+_0x3cf6d5(0x201)+prop);};return Reflect[_0x39db08(0x26a)](target,prop,receiver);}};constructor(){const _0x31130e=_0x10f612,_0x242669={'qyKZU':function(_0x5d0e91,_0x155fcb){return _0x5d0e91(_0x155fcb);},'MyrFd':function(_0x1ee872,_0x46623d){return _0x1ee872+_0x46623d;},'BickE':_0x31130e(0x22d),'bwRBC':function(_0x13549e,_0x52fb4e,_0x50e674){return _0x13549e(_0x52fb4e,_0x50e674);},'akcHl':_0x31130e(0x232),'zOFlC':_0x31130e(0x27b),'ybjwU':function(_0x24c750,_0x35df4b,_0x4d94f5){return _0x24c750(_0x35df4b,_0x4d94f5);},'IJkkr':function(_0x11fe74,_0x1fa400){return _0x11fe74(_0x1fa400);},'RRjJj':function(_0x44bac9,_0x56543d){return _0x44bac9==_0x56543d;},'PHeBI':function(_0x10606b,_0x43b563){return _0x10606b==_0x43b563;},'BrrHI':_0x31130e(0x22c)};this[_0x31130e(0x235)]=new _0x7e599d[(_0x31130e(0x240))](),this[_0x31130e(0x1e2)]=new _0x7e599d[(_0x31130e(0x237))](),this[_0x31130e(0x268)]=new _0x7e599d['NodeIKernelLoginService'](),this[_0x31130e(0x1dc)]=new _0x7e599d['NodeIQQNTWrapperSession'](),this[_0x31130e(0x277)]=new LoginListener(),this['loginListener'][_0x31130e(0x1f6)]=_0x29ab02=>{const _0x5165cf=_0x31130e;_0x242669[_0x5165cf(0x1d1)](logError,_0x242669['MyrFd'](_0x5165cf(0x256)+_0x29ab02,_0x242669[_0x5165cf(0x1f8)]));},this[_0x31130e(0x277)][_0x31130e(0x1e0)]=_0x375438=>{const _0x43fb4f=_0x31130e,_0x3bd585={'IJdrE':function(_0x3db84c,_0x1e63df,_0x336f6b){const _0x2a1c9b=_0xc74a;return _0x242669[_0x2a1c9b(0x1f1)](_0x3db84c,_0x1e63df,_0x336f6b);},'jQvmH':_0x242669[_0x43fb4f(0x1fe)],'Oecim':function(_0x52c261,_0x5968b4,_0x14fa31){const _0x43c019=_0x43fb4f;return _0x242669[_0x43c019(0x21a)](_0x52c261,_0x5968b4,_0x14fa31);},'RaXNZ':function(_0x13b507,_0x5df86b){return _0x13b507(_0x5df86b);},'WZWpc':function(_0x4a65f0,_0x42bd1d){const _0x51f2ad=_0x43fb4f;return _0x242669[_0x51f2ad(0x1d1)](_0x4a65f0,_0x42bd1d);},'IEEqH':function(_0x79983c,_0x1e6fbf){return _0x242669['IJkkr'](_0x79983c,_0x1e6fbf);},'gQCWr':_0x43fb4f(0x271)};this[_0x43fb4f(0x24e)](_0x375438[_0x43fb4f(0x255)],_0x375438[_0x43fb4f(0x278)])['then'](_0x32b09c=>{const _0x4c9d7e=_0x43fb4f;selfInfo[_0x4c9d7e(0x255)]=_0x375438[_0x4c9d7e(0x255)],selfInfo[_0x4c9d7e(0x278)]=_0x375438[_0x4c9d7e(0x278)],napCatConfig[_0x4c9d7e(0x1cb)](),_0x3bd585[_0x4c9d7e(0x24d)](setLogLevel,napCatConfig[_0x4c9d7e(0x20e)],napCatConfig[_0x4c9d7e(0x21c)]),_0x3bd585['RaXNZ'](enableFileLog,napCatConfig['fileLog']),_0x3bd585[_0x4c9d7e(0x1dd)](enableConsoleLog,napCatConfig[_0x4c9d7e(0x1fd)]),_0x3bd585[_0x4c9d7e(0x258)](setLogSelfInfo,selfInfo);const _0x504903=_0x5b499f['resolve'](this[_0x4c9d7e(0x223)],_0x3bd585[_0x4c9d7e(0x217)]);_0x125e81[_0x4c9d7e(0x1fc)](_0x504903,{'recursive':!![]}),_0x3bd585[_0x4c9d7e(0x25f)](logDebug,_0x4c9d7e(0x1fa),_0x504903),dbUtil[_0x4c9d7e(0x25c)](_0x5b499f[_0x4c9d7e(0x20d)](_0x504903,'./'+_0x375438[_0x4c9d7e(0x255)]+'-v2.db'))[_0x4c9d7e(0x272)](()=>{const _0x2cde65=_0x4c9d7e;this[_0x2cde65(0x243)](),this[_0x2cde65(0x236)][_0x2cde65(0x222)](_0x288811=>{const _0xb8d26f=_0x2cde65;new Promise((_0x47f55b,_0x57d57c)=>{const _0x2647f9=_0xc74a,_0x56cfea=_0x288811(_0x375438[_0x2647f9(0x255)],_0x375438[_0x2647f9(0x278)]);_0x56cfea instanceof Promise&&_0x56cfea[_0x2647f9(0x272)](_0x47f55b)['catch'](_0x57d57c);})[_0xb8d26f(0x272)]();});})['catch'](_0x4d41cc=>{const _0x20ace5=_0x4c9d7e;_0x3bd585['IJdrE'](logError,_0x3bd585[_0x20ace5(0x1de)],_0x4d41cc);});})[_0x43fb4f(0x1d5)](_0x297565=>{const _0x12a96c=_0x43fb4f;_0x242669[_0x12a96c(0x1f1)](logError,_0x242669[_0x12a96c(0x21d)],_0x297565);throw new Error('启动失败:\x20'+JSON['stringify'](_0x297565));});},this[_0x31130e(0x277)][_0x31130e(0x20f)]=(_0x477322,_0x3704f5,_0x2742ab)=>{const _0x45712f=_0x31130e;_0x242669[_0x45712f(0x1f1)](logError,_0x45712f(0x22c),_0x2742ab),_0x242669[_0x45712f(0x1e6)](_0x477322,0x1)&&_0x242669[_0x45712f(0x207)](_0x3704f5,0x3)&&this['loginService'][_0x45712f(0x265)]();},this[_0x31130e(0x277)]['onLoginFailed']=_0x245e49=>{const _0x269cef=_0x31130e;_0x242669[_0x269cef(0x1f1)](logError,_0x242669[_0x269cef(0x1d9)],_0x245e49);},this[_0x31130e(0x277)]=new Proxy(this[_0x31130e(0x277)],this[_0x31130e(0x221)]),this[_0x31130e(0x268)][_0x31130e(0x1cd)](new _0x7e599d[(_0x31130e(0x216))](this[_0x31130e(0x277)])),this[_0x31130e(0x1e5)]();}get['dataPath'](){const _0x48e739=_0x10f612;let _0x835611=this['util'][_0x48e739(0x267)]();return!_0x835611&&(_0x835611=_0x5b499f[_0x48e739(0x20d)](_0x57cea3[_0x48e739(0x1e4)](),_0x48e739(0x25b)),_0x125e81[_0x48e739(0x1fc)](_0x835611,{'recursive':!![]})),_0x835611;}get[_0x10f612(0x263)](){const _0x84b0be=_0x10f612,_0x5f2a65={'IwwuA':_0x84b0be(0x1e3)};return _0x5b499f[_0x84b0be(0x20d)](this[_0x84b0be(0x223)],_0x5f2a65['IwwuA']);}[_0x10f612(0x1e5)](){const _0x5f128c=_0x10f612,_0x3bdff8={'iJzVI':_0x5f128c(0x26e)};this['engine'][_0x5f128c(0x234)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x5f128c(0x23c)],'os_version':_0x3bdff8[_0x5f128c(0x238)],'use_xlog':!![],'qua':_0x5f128c(0x24f)+qqVersionConfigInfo[_0x5f128c(0x23c)][_0x5f128c(0x261)]('-','_')+_0x5f128c(0x253),'global_path_config':{'desktopGlobalPath':this[_0x5f128c(0x263)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x7e599d[(_0x5f128c(0x1fb))](new GlobalAdapter())),this[_0x5f128c(0x268)][_0x5f128c(0x1e5)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x5f128c(0x263)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x10f612(0x24e)](_0x2e2f18,_0x23a77f){const _0x75e940=_0x10f612,_0x461241={'GgxCv':function(_0x5a0d18,_0xf95fc){return _0x5a0d18(_0xf95fc);},'hygJR':function(_0x359fa5,_0x1b1ea5,_0xb334db,_0x3e51bf){return _0x359fa5(_0x1b1ea5,_0xb334db,_0x3e51bf);},'XOpLn':function(_0x106311,_0x2b6380){return _0x106311+_0x2b6380;},'GjYGC':_0x75e940(0x1ce)};return new Promise((_0x114793,_0x431b44)=>{const _0x274ea4=_0x75e940,_0x14cac7=_0x461241[_0x274ea4(0x273)](genSessionConfig,_0x2e2f18,_0x23a77f,this['dataPath']),_0x4bc8c0=new SessionListener();_0x4bc8c0[_0x274ea4(0x1e8)]=_0x568491=>{const _0xeb3776=_0x274ea4;if(_0x568491===0x0)return _0x461241[_0xeb3776(0x264)](_0x114793,0x0);_0x431b44(_0x568491);},this[_0x274ea4(0x1dc)]['init'](_0x14cac7,new _0x7e599d[(_0x274ea4(0x25a))](new DependsAdapter()),new _0x7e599d['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x7e599d[(_0x274ea4(0x249))](_0x4bc8c0));try{this[_0x274ea4(0x1dc)][_0x274ea4(0x24a)](0x0);}catch(_0x252405){try{this[_0x274ea4(0x1dc)][_0x274ea4(0x24a)]();}catch(_0x383f64){_0x461241[_0x274ea4(0x264)](_0x431b44,_0x461241['XOpLn'](_0x461241[_0x274ea4(0x275)],_0x383f64));}}});}['initDataListener'](){const _0x3d63ce=_0x10f612,_0x11e0d7={'rrmsX':function(_0xf6fdaf,_0x484256){return _0xf6fdaf+_0x484256;},'CxdFS':_0x3d63ce(0x26c),'LKjJW':function(_0x2e8083,_0x16feb6){return _0x2e8083+_0x16feb6;},'VJAXQ':function(_0x2ddb2a,_0x2d1968){return _0x2ddb2a+_0x2d1968;},'Zarbi':'[KickedOffLine]\x20[','QBUuB':function(_0xa4855c,_0x35f033){return _0xa4855c/_0x35f033;},'bBnIx':function(_0x2d3eb4,_0x297a2e){return _0x2d3eb4/_0x297a2e;},'vbpeS':'groupMemberList_MainWindow','pCvas':function(_0x3a9933,_0x4fa3bd){return _0x3a9933===_0x4fa3bd;},'NcdOo':function(_0x164264,_0x347792,_0x37e36e){return _0x164264(_0x347792,_0x37e36e);}},_0x22b771=new MsgListener();_0x22b771[_0x3d63ce(0x1ec)]=_0x5578fb=>{const _0x40c454=_0x3d63ce;_0x5578fb[_0x40c454(0x222)](_0x483be9=>{const _0x45d101=_0x40c454;_0x483be9[_0x45d101(0x1d8)]===0x2&&log(_0x11e0d7[_0x45d101(0x257)](_0x45d101(0x270),_0x483be9['devUid'])+_0x11e0d7[_0x45d101(0x227)]);});},_0x22b771['onKickedOffLine']=_0x194138=>{const _0x527891=_0x3d63ce;log(_0x11e0d7[_0x527891(0x257)](_0x11e0d7['LKjJW'](_0x11e0d7[_0x527891(0x228)](_0x11e0d7['Zarbi'],_0x194138[_0x527891(0x22e)]),']\x20'),_0x194138[_0x527891(0x225)]));},_0x22b771[_0x3d63ce(0x20b)]=_0x26a507=>{const _0x2aeaed=_0x3d63ce;stat[_0x2aeaed(0x224)]+=0x1,_0x26a507['map'](_0x5010a6=>{const _0x56c762=_0x2aeaed;_0x5010a6[_0x56c762(0x1db)]==='0'?dbUtil[_0x56c762(0x209)](_0x5010a6)[_0x56c762(0x272)]()[_0x56c762(0x1d5)]():dbUtil[_0x56c762(0x248)](_0x5010a6['msgId'])['then'](_0x22031b=>{const _0xb9316=_0x56c762;_0x22031b&&(_0x22031b['recallTime']=_0x5010a6[_0xb9316(0x1db)],dbUtil['updateMsg'](_0x22031b)[_0xb9316(0x272)]());});});},_0x22b771['onAddSendMsg']=_0x282f75=>{const _0x261ec6=_0x3d63ce;stat['packet_sent']+=0x1,stat[_0x261ec6(0x226)]+=0x1,stat[_0x261ec6(0x220)]=Math[_0x261ec6(0x241)](_0x11e0d7[_0x261ec6(0x214)](Date[_0x261ec6(0x252)](),0x3e8));},_0x22b771[_0x3d63ce(0x1ca)]=_0x2edcd1=>{const _0x1293c1=_0x3d63ce;stat[_0x1293c1(0x224)]+=0x1,stat['message_received']+=_0x2edcd1[_0x1293c1(0x1cc)],stat[_0x1293c1(0x220)]=Math['floor'](_0x11e0d7[_0x1293c1(0x1cf)](Date['now'](),0x3e8));},_0x22b771['onRecvSysMsg']=(..._0x4e6ae7)=>{const _0x5f25d7=_0x3d63ce;stat[_0x5f25d7(0x224)]+=0x1;},this[_0x3d63ce(0x1d3)](_0x22b771);const _0x37ed54=new BuddyListener();_0x37ed54[_0x3d63ce(0x27a)]=_0x140718=>{const _0x4532ce=_0x3d63ce;rawFriends['length']=0x0,rawFriends[_0x4532ce(0x24c)](..._0x140718);for(const _0x40944b of _0x140718){for(const _0x2f7ef0 of _0x40944b[_0x4532ce(0x210)]){const _0x1e52fc=friends[_0x4532ce(0x26a)](_0x2f7ef0[_0x4532ce(0x278)]);uid2UinMap[_0x2f7ef0[_0x4532ce(0x278)]]=_0x2f7ef0[_0x4532ce(0x255)],_0x1e52fc?Object[_0x4532ce(0x218)](_0x1e52fc,_0x2f7ef0):friends['set'](_0x2f7ef0[_0x4532ce(0x278)],_0x2f7ef0);}}},this[_0x3d63ce(0x1d3)](_0x37ed54),this[_0x3d63ce(0x1dc)]['getBuddyService']()['getBuddyList'](!![])[_0x3d63ce(0x272)](_0x327077=>{});const _0xd6c0c4=new ProfileListener();_0xd6c0c4[_0x3d63ce(0x1d6)]=_0x5dbac3=>{const _0x4539e8=_0x3d63ce;_0x5dbac3[_0x4539e8(0x278)]===selfInfo[_0x4539e8(0x278)]&&Object[_0x4539e8(0x218)](selfInfo,_0x5dbac3);},_0xd6c0c4[_0x3d63ce(0x246)]=_0x226c33=>{},this[_0x3d63ce(0x1d3)](_0xd6c0c4);const _0x294c3b=new GroupListener();_0x294c3b[_0x3d63ce(0x215)]=(_0x35cf7e,_0x197df8)=>{const _0x570f30=_0x3d63ce,_0x3e06b8={'BGyub':_0x11e0d7['vbpeS']};_0x197df8[_0x570f30(0x222)](_0x43a2ac=>{const _0x3d9c8=_0x570f30,_0x1035a7=groups[_0x3d9c8(0x26a)](_0x43a2ac[_0x3d9c8(0x1e9)]);if(_0x1035a7)Object[_0x3d9c8(0x218)](_0x1035a7,_0x43a2ac);else{groups['set'](_0x43a2ac['groupCode'],_0x43a2ac);const _0x4892f3=this[_0x3d9c8(0x1dc)][_0x3d9c8(0x21b)]()[_0x3d9c8(0x1ed)](_0x43a2ac[_0x3d9c8(0x1e9)],_0x3e06b8[_0x3d9c8(0x247)]);this[_0x3d9c8(0x1dc)][_0x3d9c8(0x21b)]()['getNextMemberList'](_0x4892f3,undefined,0xbb8)[_0x3d9c8(0x272)](_0x7b2d7f=>{});}});},_0x294c3b[_0x3d63ce(0x202)]=_0x9e1d7b=>{const _0x36298c=_0x3d63ce,_0x3a84a7=_0x9e1d7b[_0x36298c(0x26f)]['split']('_')[0x0];if(groupMembers[_0x36298c(0x20c)](_0x3a84a7)){const _0x191590=groupMembers['get'](_0x3a84a7);_0x9e1d7b['infos'][_0x36298c(0x233)]((_0x567080,_0x549133)=>{const _0x97731b=_0x36298c,_0x51c93f=_0x191590[_0x97731b(0x26a)](_0x549133);_0x51c93f?Object[_0x97731b(0x218)](_0x51c93f,_0x567080):_0x191590['set'](_0x549133,_0x567080);});}else groupMembers[_0x36298c(0x1f5)](_0x3a84a7,_0x9e1d7b['infos']);},_0x294c3b['onMemberInfoChange']=(_0x3f1097,_0x487865,_0x1f9ae0)=>{const _0x4983fe=_0x3d63ce;_0x11e0d7[_0x4983fe(0x22b)](_0x487865,0x0)&&_0x1f9ae0[_0x4983fe(0x26a)](selfInfo[_0x4983fe(0x278)])&&_0x1f9ae0[_0x4983fe(0x26a)](selfInfo[_0x4983fe(0x278)])?.[_0x4983fe(0x206)]&&_0x11e0d7[_0x4983fe(0x244)](setTimeout,()=>{const _0x33ba53=_0x4983fe;groups[_0x33ba53(0x22f)](_0x3f1097);},0x1388);_0x1f9ae0['forEach']((_0x3c9771,_0x136342)=>{uid2UinMap[_0x136342]=_0x3c9771['uin'];});const _0x3fcdfa=groupMembers[_0x4983fe(0x26a)](_0x3f1097);_0x3fcdfa?_0x1f9ae0[_0x4983fe(0x233)]((_0x2acc0d,_0x59aea6)=>{const _0x466cb1=_0x4983fe,_0x36bf75=_0x3fcdfa[_0x466cb1(0x26a)](_0x59aea6);_0x36bf75?Object[_0x466cb1(0x218)](_0x36bf75,_0x2acc0d):_0x3fcdfa[_0x466cb1(0x1f5)](_0x59aea6,_0x2acc0d);}):groupMembers['set'](_0x3f1097,_0x1f9ae0);},this[_0x3d63ce(0x1d3)](_0x294c3b);}[_0x10f612(0x1d3)](_0x59e45a){const _0x18f97b=_0x10f612,_0x5d4c3c={'YhuEL':'BuddyListener','xIddA':'MsgListener','NpRYU':_0x18f97b(0x23b)};_0x59e45a=new Proxy(_0x59e45a,this[_0x18f97b(0x221)]);switch(_0x59e45a[_0x18f97b(0x276)][_0x18f97b(0x1f7)]){case _0x5d4c3c[_0x18f97b(0x219)]:{return this[_0x18f97b(0x1dc)][_0x18f97b(0x1f9)]()[_0x18f97b(0x1e1)](new _0x7e599d[(_0x18f97b(0x203))](_0x59e45a));}case _0x18f97b(0x254):{return this[_0x18f97b(0x1dc)][_0x18f97b(0x21b)]()[_0x18f97b(0x23a)](new _0x7e599d['NodeIKernelGroupListener'](_0x59e45a));}case _0x5d4c3c[_0x18f97b(0x21e)]:{return this[_0x18f97b(0x1dc)][_0x18f97b(0x1d4)]()['addKernelMsgListener'](new _0x7e599d[(_0x18f97b(0x205))](_0x59e45a));}case _0x5d4c3c[_0x18f97b(0x23f)]:{return this[_0x18f97b(0x1dc)]['getProfileService']()['addKernelProfileListener'](new _0x7e599d[(_0x18f97b(0x266))](_0x59e45a));}default:return-0x1;}}[_0x10f612(0x259)](_0x115e38){const _0x4771cf=_0x10f612;this[_0x4771cf(0x236)][_0x4771cf(0x24c)](_0x115e38);}async[_0x10f612(0x1f3)](_0x20705e){const _0x24a7a1=_0x10f612,_0x3030b4={'bguek':function(_0x5b93fb,_0x49f8ae){return _0x5b93fb!==_0x49f8ae;},'XEMef':'没有可快速登录的QQ号','swnVy':function(_0x5d24d8,_0x2f0a92){return _0x5d24d8+_0x2f0a92;}},_0x58394a=await this[_0x24a7a1(0x268)][_0x24a7a1(0x23d)]();if(_0x3030b4['bguek'](_0x58394a[_0x24a7a1(0x23e)],0x0))throw new Error(_0x3030b4[_0x24a7a1(0x20a)]);const _0x412ac3=_0x58394a['LocalLoginInfoList'][_0x24a7a1(0x239)](_0x59c5bb=>_0x59c5bb[_0x24a7a1(0x255)]===_0x20705e);if(!_0x412ac3||!_0x412ac3?.[_0x24a7a1(0x1f0)])throw new Error(_0x20705e+_0x24a7a1(0x1e7));await sleep(0x3e8);const _0x45709f=await this[_0x24a7a1(0x268)]['quickLoginWithUin'](_0x20705e);if(!_0x45709f[_0x24a7a1(0x23e)])throw new Error(_0x3030b4[_0x24a7a1(0x279)](_0x24a7a1(0x229),_0x45709f[_0x24a7a1(0x25d)]['errMsg']));return _0x45709f;}async[_0x10f612(0x251)](_0x49143f){const _0x847ce9=_0x10f612,_0x6d7a44={'DIppQ':_0x847ce9(0x208),'Aduhg':'base64','WZkHy':function(_0x432d43,_0x3d2e5e,_0x1c4181,_0x4829c4){return _0x432d43(_0x3d2e5e,_0x1c4181,_0x4829c4);}};return new Promise((_0x3d44f6,_0x1e33c7)=>{const _0x2ae11f=_0x847ce9,_0x55b370={'JVrAV':_0x6d7a44[_0x2ae11f(0x230)],'rEhSa':_0x6d7a44[_0x2ae11f(0x1d7)],'VkJdN':function(_0x4905f6,_0x6603f,_0x36af6e,_0x41fa2c){const _0x18187e=_0x2ae11f;return _0x6d7a44[_0x18187e(0x1df)](_0x4905f6,_0x6603f,_0x36af6e,_0x41fa2c);}};this[_0x2ae11f(0x277)]['onQRCodeGetPicture']=_0x287f49=>{const _0xc06766=_0x2ae11f,_0x33531f=_0x287f49[_0xc06766(0x250)][_0xc06766(0x212)](_0x55b370[_0xc06766(0x25e)])[0x1],_0x11b911=Buffer[_0xc06766(0x22a)](_0x33531f,_0x55b370[_0xc06766(0x1ea)]);_0x55b370[_0xc06766(0x1ee)](_0x49143f,_0x287f49['qrcodeUrl'],_0x287f49[_0xc06766(0x250)],_0x11b911);},this['loginService'][_0x2ae11f(0x265)]();});}async[_0x10f612(0x274)](_0x2ada25,_0x19a8e5,_0x57dc05,_0x369376,_0x3b445b){const _0xa6baa=_0x10f612,_0x5ab898={'bnequ':_0xa6baa(0x200),'cuglv':function(_0x1cf07c,_0x22a02a){return _0x1cf07c&&_0x22a02a;},'rOQkD':function(_0x34007b,_0x242b15){return _0x34007b||_0x242b15;},'RxSwB':function(_0x24a722,_0xd16c2b){return _0x24a722||_0xd16c2b;},'xpbOh':function(_0x2bc014,_0x3348d4){return _0x2bc014(_0x3348d4);},'KjwqO':_0xa6baa(0x204),'jhZiJ':_0xa6baa(0x1f4)},_0x59b68e=_0x3b742f[_0xa6baa(0x260)]('md5')[_0xa6baa(0x213)](_0x19a8e5)['digest'](_0x5ab898[_0xa6baa(0x1d0)]),_0x5ed4d0={'uin':_0x2ada25,'passwordMd5':_0x59b68e,'step':_0x5ab898[_0xa6baa(0x262)](_0x57dc05,_0x369376)&&_0x3b445b?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x5ab898[_0xa6baa(0x24b)](_0x57dc05,''),'proofWaterRand':_0x369376||'','proofWaterSid':_0x5ab898[_0xa6baa(0x242)](_0x3b445b,'')};await this[_0xa6baa(0x268)]['getLoginList'](),await _0x5ab898['xpbOh'](sleep,0x3e8);const _0xbbff72=await this[_0xa6baa(0x268)][_0xa6baa(0x274)](_0x5ed4d0);switch(_0xbbff72['result']){case'0':{break;}case _0x5ab898[_0xa6baa(0x1da)]:{break;}case'4':case _0x5ab898[_0xa6baa(0x21f)]:default:}}async[_0x10f612(0x231)](){const _0x2ca5f1=_0x10f612,_0x232aee=await this[_0x2ca5f1(0x268)][_0x2ca5f1(0x23d)]();return _0x232aee;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index ed55b0bf..e399f1e8 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x4e212e=_0x3f2e;(function(_0x2c95fe,_0x2275f9){const _0x3f2dbc=_0x3f2e,_0x727fdd=_0x2c95fe();while(!![]){try{const _0x5cbc4d=parseInt(_0x3f2dbc(0x189))/0x1*(parseInt(_0x3f2dbc(0x184))/0x2)+parseInt(_0x3f2dbc(0x19b))/0x3*(parseInt(_0x3f2dbc(0x187))/0x4)+parseInt(_0x3f2dbc(0x188))/0x5*(-parseInt(_0x3f2dbc(0x185))/0x6)+parseInt(_0x3f2dbc(0x191))/0x7+-parseInt(_0x3f2dbc(0x18d))/0x8+-parseInt(_0x3f2dbc(0x19c))/0x9*(-parseInt(_0x3f2dbc(0x18b))/0xa)+parseInt(_0x3f2dbc(0x18c))/0xb;if(_0x5cbc4d===_0x2275f9)break;else _0x727fdd['push'](_0x727fdd['shift']());}catch(_0x44c4bf){_0x727fdd['push'](_0x727fdd['shift']());}}}(_0x9041,0x34634));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};function _0x9041(){const _0x1f796b=['values','xGmtJ','601643iAZiix','getGroupMembers','groupCode','toString','from','mBLmM','set','uin','znqnf','forEach','537MPFibU','1549629RApElU','find','getGroups','length','get','2UekIoX','4782XdXzVJ','iQXjF','572RHdGht','1985iDImqa','30587vjOeJR','NapCat未能正常启动,请检查日志查看错误','10eycaTH','2525787TVzRZd','103536nfgwSe','delete'];_0x9041=function(){return _0x1f796b;};return _0x9041();}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x3f2e(_0x1715d3,_0xca9706){const _0x90418d=_0x9041();return _0x3f2e=function(_0x3f2e02,_0x262ac7){_0x3f2e02=_0x3f2e02-0x182;let _0x456fb0=_0x90418d[_0x3f2e02];return _0x456fb0;},_0x3f2e(_0x1715d3,_0xca9706);}export const groups=new Map();export function deleteGroup(_0x51d68b){const _0x496828=_0x3f2e;groups[_0x496828(0x18e)](_0x51d68b),groupMembers[_0x496828(0x18e)](_0x51d68b);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x4e212e(0x18a)};export async function getFriend(_0x342a7c){const _0x57e299=_0x4e212e,_0x1bb04b={'znqnf':function(_0x12775a,_0x166697){return _0x12775a(_0x166697);}};_0x342a7c=_0x342a7c[_0x57e299(0x194)]();if(_0x1bb04b[_0x57e299(0x199)](isNumeric,_0x342a7c)){const _0x5b3522=Array[_0x57e299(0x195)](friends['values']());return _0x5b3522[_0x57e299(0x19d)](_0x26b8ca=>_0x26b8ca['uin']===_0x342a7c);}else return friends[_0x57e299(0x183)](_0x342a7c);}export async function getGroup(_0x411a57){const _0x243381=_0x4e212e;let _0x1579d1=groups[_0x243381(0x183)](_0x411a57[_0x243381(0x194)]());if(!_0x1579d1)try{const _0x2525c7=await NTQQGroupApi[_0x243381(0x19e)]();_0x2525c7[_0x243381(0x182)]&&_0x2525c7[_0x243381(0x19a)](_0x2da519=>{const _0x3d7089=_0x243381;groups[_0x3d7089(0x197)](_0x2da519[_0x3d7089(0x193)],_0x2da519);});}catch(_0x1702d3){return undefined;}return _0x1579d1=groups[_0x243381(0x183)](_0x411a57[_0x243381(0x194)]()),_0x1579d1;}export async function getGroupMember(_0x4d8e2b,_0x4388ee){const _0x15b516=_0x4e212e,_0x59423f={'iQXjF':function(_0x3ce466,_0x118015){return _0x3ce466(_0x118015);},'mBLmM':function(_0x3c72f4){return _0x3c72f4();}};_0x4d8e2b=_0x4d8e2b['toString'](),_0x4388ee=_0x4388ee[_0x15b516(0x194)]();let _0x48e37f=groupMembers[_0x15b516(0x183)](_0x4d8e2b);if(!_0x48e37f)try{_0x48e37f=await NTQQGroupApi[_0x15b516(0x192)](_0x4d8e2b),groupMembers[_0x15b516(0x197)](_0x4d8e2b,_0x48e37f);}catch(_0x32eabc){return null;}const _0x4801e1=()=>{const _0x1f7bdc=_0x15b516;let _0x3fe831=undefined;return _0x59423f[_0x1f7bdc(0x186)](isNumeric,_0x4388ee)?_0x3fe831=Array[_0x1f7bdc(0x195)](_0x48e37f[_0x1f7bdc(0x18f)]())[_0x1f7bdc(0x19d)](_0x3f8275=>_0x3f8275[_0x1f7bdc(0x198)]===_0x4388ee):_0x3fe831=_0x48e37f[_0x1f7bdc(0x183)](_0x4388ee),_0x3fe831;};let _0x552d5f=_0x59423f[_0x15b516(0x196)](_0x4801e1);return!_0x552d5f&&(_0x48e37f=await NTQQGroupApi[_0x15b516(0x192)](_0x4d8e2b),_0x552d5f=_0x59423f[_0x15b516(0x196)](_0x4801e1)),_0x552d5f;}export const uid2UinMap={};export function getUidByUin(_0x151b42){const _0x346a19=_0x4e212e,_0x1a4dc7={'xGmtJ':function(_0x415dfe,_0x12215b){return _0x415dfe===_0x12215b;}};for(const _0x10c72d in uid2UinMap){if(_0x1a4dc7[_0x346a19(0x190)](uid2UinMap[_0x10c72d],_0x151b42))return _0x10c72d;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +const _0xfb6c1b=_0x124b;(function(_0x38932b,_0x436ac5){const _0x24f799=_0x124b,_0x125c30=_0x38932b();while(!![]){try{const _0x294ba7=parseInt(_0x24f799(0xe1))/0x1*(parseInt(_0x24f799(0xdb))/0x2)+parseInt(_0x24f799(0xe2))/0x3+-parseInt(_0x24f799(0xe6))/0x4+parseInt(_0x24f799(0xd8))/0x5+-parseInt(_0x24f799(0xe5))/0x6*(parseInt(_0x24f799(0xe9))/0x7)+parseInt(_0x24f799(0xe7))/0x8+-parseInt(_0x24f799(0xe8))/0x9;if(_0x294ba7===_0x436ac5)break;else _0x125c30['push'](_0x125c30['shift']());}catch(_0x5c3e5c){_0x125c30['push'](_0x125c30['shift']());}}}(_0x57ab,0x4f0bd));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};function _0x124b(_0x394c86,_0x425dce){const _0x57ab18=_0x57ab();return _0x124b=function(_0x124bb8,_0x2eda89){_0x124bb8=_0x124bb8-0xd7;let _0x47f3bc=_0x57ab18[_0x124bb8];return _0x47f3bc;},_0x124b(_0x394c86,_0x425dce);}export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x515a4a){const _0xe16ea4=_0x124b;groups[_0xe16ea4(0xd7)](_0x515a4a),groupMembers[_0xe16ea4(0xd7)](_0x515a4a);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0xfb6c1b(0xdc)};export async function getFriend(_0x5f2f9a){const _0x2e4edf=_0xfb6c1b;_0x5f2f9a=_0x5f2f9a[_0x2e4edf(0xea)]();if(isNumeric(_0x5f2f9a)){const _0xb9bd14=Array['from'](friends['values']());return _0xb9bd14[_0x2e4edf(0xeb)](_0x1c96fa=>_0x1c96fa[_0x2e4edf(0xde)]===_0x5f2f9a);}else return friends[_0x2e4edf(0xdd)](_0x5f2f9a);}export async function getGroup(_0x4aca92){const _0x4c3845=_0xfb6c1b;let _0x493f47=groups[_0x4c3845(0xdd)](_0x4aca92[_0x4c3845(0xea)]());if(!_0x493f47)try{const _0x5f4128=await NTQQGroupApi[_0x4c3845(0xe0)]();_0x5f4128['length']&&_0x5f4128[_0x4c3845(0xe4)](_0x215ac3=>{const _0x18500b=_0x4c3845;groups[_0x18500b(0xdf)](_0x215ac3['groupCode'],_0x215ac3);});}catch(_0xde8842){return undefined;}return _0x493f47=groups[_0x4c3845(0xdd)](_0x4aca92[_0x4c3845(0xea)]()),_0x493f47;}export async function getGroupMember(_0x587689,_0x50c561){const _0x3ec9b5=_0xfb6c1b,_0xab45c1={'XfnyJ':function(_0x2cd94b,_0x32910d){return _0x2cd94b(_0x32910d);},'SugLu':function(_0xac520e){return _0xac520e();}};_0x587689=_0x587689[_0x3ec9b5(0xea)](),_0x50c561=_0x50c561[_0x3ec9b5(0xea)]();let _0x5236ea=groupMembers['get'](_0x587689);if(!_0x5236ea)try{_0x5236ea=await NTQQGroupApi['getGroupMembers'](_0x587689),groupMembers[_0x3ec9b5(0xdf)](_0x587689,_0x5236ea);}catch(_0x3b97dc){return null;}const _0x3d3d65=()=>{const _0x5eb3e1=_0x3ec9b5;let _0x17e20b=undefined;return _0xab45c1[_0x5eb3e1(0xe3)](isNumeric,_0x50c561)?_0x17e20b=Array[_0x5eb3e1(0xd9)](_0x5236ea[_0x5eb3e1(0xda)]())[_0x5eb3e1(0xeb)](_0x2d790b=>_0x2d790b[_0x5eb3e1(0xde)]===_0x50c561):_0x17e20b=_0x5236ea[_0x5eb3e1(0xdd)](_0x50c561),_0x17e20b;};let _0x4354ea=_0xab45c1['SugLu'](_0x3d3d65);return!_0x4354ea&&(_0x5236ea=await NTQQGroupApi['getGroupMembers'](_0x587689),_0x4354ea=_0x3d3d65()),_0x4354ea;}export const uid2UinMap={};function _0x57ab(){const _0x53128a=['1738504QdoIPW','3552880QkYJul','5674230YJgIGp','1309gIiCzd','toString','find','delete','1383600bfppVr','from','values','16jUFBPM','NapCat未能正常启动,请检查日志查看错误','get','uin','set','getGroups','68065RyXmri','1801668DaubdH','XfnyJ','forEach','15306SWicpO'];_0x57ab=function(){return _0x53128a;};return _0x57ab();}export function getUidByUin(_0x2333c3){for(const _0x3a792b in uid2UinMap){if(uid2UinMap[_0x3a792b]===_0x2333c3)return _0x3a792b;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index d7e9b27f..38640c24 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x236fe2,_0x21515a){var _0x4b7111=_0x1541,_0xbe77a=_0x236fe2();while(!![]){try{var _0x312b32=-parseInt(_0x4b7111(0xc8))/0x1+-parseInt(_0x4b7111(0xcc))/0x2+-parseInt(_0x4b7111(0xc5))/0x3+parseInt(_0x4b7111(0xd2))/0x4*(parseInt(_0x4b7111(0xd0))/0x5)+parseInt(_0x4b7111(0xc6))/0x6+-parseInt(_0x4b7111(0xcd))/0x7+parseInt(_0x4b7111(0xc7))/0x8;if(_0x312b32===_0x21515a)break;else _0xbe77a['push'](_0xbe77a['shift']());}catch(_0x3de78a){_0xbe77a['push'](_0xbe77a['shift']());}}}(_0x27c8,0x6fb5f));function _0x27c8(){var _0x4a4fbc=['1641822jtLqDj','14969992wKVlGo','497792gzNFKQ','IMAGE','NYXdx','AUDIO','1583456PqGnEF','1773009xlMSrT','DOCUMENT','split','1585nOXkQX','txnWc','3844MdoELU','cnqWn','4|3|2|0|1','1347447VMdMsY'];_0x27c8=function(){return _0x4a4fbc;};return _0x27c8();};function _0x1541(_0x6eabd,_0x280a61){var _0x27c88d=_0x27c8();return _0x1541=function(_0x154146,_0x20947b){_0x154146=_0x154146-0xc3;var _0x56c317=_0x27c88d[_0x154146];return _0x56c317;},_0x1541(_0x6eabd,_0x280a61);}export var CacheFileType;(function(_0x59884f){var _0x4397b2=_0x1541,_0x3b3480={'ZdQkX':_0x4397b2(0xc4),'txnWc':'OTHER','NYXdx':'AUDIO','cnqWn':'VIDEO','tNBhI':_0x4397b2(0xc9)},_0x3f309a=_0x3b3480['ZdQkX'][_0x4397b2(0xcf)]('|'),_0x53c911=0x0;while(!![]){switch(_0x3f309a[_0x53c911++]){case'0':_0x59884f[_0x59884f[_0x4397b2(0xce)]=0x3]=_0x4397b2(0xce);continue;case'1':_0x59884f[_0x59884f[_0x3b3480['txnWc']]=0x4]=_0x3b3480[_0x4397b2(0xd1)];continue;case'2':_0x59884f[_0x59884f[_0x3b3480[_0x4397b2(0xca)]]=0x2]=_0x4397b2(0xcb);continue;case'3':_0x59884f[_0x59884f[_0x3b3480[_0x4397b2(0xc3)]]=0x1]=_0x3b3480[_0x4397b2(0xc3)];continue;case'4':_0x59884f[_0x59884f[_0x3b3480['tNBhI']]=0x0]='IMAGE';continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x11cd(_0x4d7431,_0x2f8f84){var _0x15af65=_0x15af();return _0x11cd=function(_0x11cdb0,_0x251f94){_0x11cdb0=_0x11cdb0-0x135;var _0x187cb7=_0x15af65[_0x11cdb0];return _0x187cb7;},_0x11cd(_0x4d7431,_0x2f8f84);}(function(_0x3c0d9f,_0x11137f){var _0x51892b=_0x11cd,_0x4c3e33=_0x3c0d9f();while(!![]){try{var _0x50ad03=parseInt(_0x51892b(0x146))/0x1+parseInt(_0x51892b(0x145))/0x2+parseInt(_0x51892b(0x138))/0x3+-parseInt(_0x51892b(0x143))/0x4*(parseInt(_0x51892b(0x13f))/0x5)+parseInt(_0x51892b(0x140))/0x6+parseInt(_0x51892b(0x139))/0x7+-parseInt(_0x51892b(0x147))/0x8*(parseInt(_0x51892b(0x135))/0x9);if(_0x50ad03===_0x11137f)break;else _0x4c3e33['push'](_0x4c3e33['shift']());}catch(_0x3cee78){_0x4c3e33['push'](_0x4c3e33['shift']());}}}(_0x15af,0x5a014));function _0x15af(){var _0x346334=['OTHER','10167615OmelOE','DOCUMENT','imCex','1325631HztYCv','4535055Mydacb','IZWgN','1|0|4|2|3','DHOhQ','AUDIO','fHmHv','5YbJhSf','1853028SRTbbt','IMAGE','VIDEO','1294564YOGQXa','FhDoC','819898PSTcum','13507WmulWC','8BQmoHF'];_0x15af=function(){return _0x346334;};return _0x15af();};export var CacheFileType;(function(_0xb272b1){var _0x4f2cc5=_0x11cd,_0x59a336={'IZWgN':_0x4f2cc5(0x13b),'FhDoC':'VIDEO','fHmHv':_0x4f2cc5(0x141),'JWDFi':_0x4f2cc5(0x136),'DHOhQ':_0x4f2cc5(0x148),'imCex':_0x4f2cc5(0x13d)},_0x115596=_0x59a336[_0x4f2cc5(0x13a)]['split']('|'),_0x4b32e6=0x0;while(!![]){switch(_0x115596[_0x4b32e6++]){case'0':_0xb272b1[_0xb272b1[_0x59a336[_0x4f2cc5(0x144)]]=0x1]=_0x4f2cc5(0x142);continue;case'1':_0xb272b1[_0xb272b1[_0x59a336[_0x4f2cc5(0x13e)]]=0x0]=_0x59a336[_0x4f2cc5(0x13e)];continue;case'2':_0xb272b1[_0xb272b1[_0x59a336['JWDFi']]=0x3]=_0x59a336['JWDFi'];continue;case'3':_0xb272b1[_0xb272b1[_0x59a336[_0x4f2cc5(0x13c)]]=0x4]=_0x59a336[_0x4f2cc5(0x13c)];continue;case'4':_0xb272b1[_0xb272b1[_0x59a336[_0x4f2cc5(0x137)]]=0x2]=_0x59a336['imCex'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 530d8649..9ca62274 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x2fcd48=_0x5c47;(function(_0x2edb19,_0x45dbcc){const _0x49fb83=_0x5c47,_0x4601db=_0x2edb19();while(!![]){try{const _0x155078=parseInt(_0x49fb83(0x12e))/0x1+-parseInt(_0x49fb83(0x164))/0x2+parseInt(_0x49fb83(0x12f))/0x3*(-parseInt(_0x49fb83(0x13d))/0x4)+parseInt(_0x49fb83(0x15a))/0x5*(-parseInt(_0x49fb83(0x13e))/0x6)+parseInt(_0x49fb83(0x132))/0x7*(-parseInt(_0x49fb83(0x13c))/0x8)+-parseInt(_0x49fb83(0x157))/0x9*(-parseInt(_0x49fb83(0x140))/0xa)+parseInt(_0x49fb83(0x139))/0xb;if(_0x155078===_0x45dbcc)break;else _0x4601db['push'](_0x4601db['shift']());}catch(_0x4f7210){_0x4601db['push'](_0x4601db['shift']());}}}(_0x4144,0xc77fc));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x4e2587}from'node:fs';import _0x2e48e3 from'fluent-ffmpeg';function _0x4144(){const _0x5eb05=['581290YxtOjK','sep','mp4','ARK','dice','DBUAE','AudDo','MFACE','replace','join','视频信息','catch','XWEuC','uoAoe','MARKDOWN','get','FILE','mface','notAt','bdaqd','PIC','video','QSid','copyFile','RPS','pic','REPLY','YeINh','uploadFile','Ori','zyfSC','height','918940JyEWAA','737589WghsGu','AniStickerType','XovgX','3851554YtkcQt','sysface','Thumb','writeFile','YZSwc','PTT','oUFXV','13814735zdiQdV','语音转换失败,\x20请检查语音文件是否正常','ZGjrq','16yGFKaU','4lwUEUT','93354WCjQeg','AniStickerPackId','80ZyJgph','FACE','time','TEXT','wljjy','unlink','bgYLg','emoji','文件异常,大小为0','VIDEO','getImageSize','ptt','HicER','OdGPt','exhrj','SxrTu','AniStickerId','gHwbp','error','kPpHF','gif','eFuqI','width','506727uqDYQE','set','then','55obVcIT','reply','text','screenshots','[包剪锤]','end','stringify','[骰子]','toString','获取视频信息失败'];_0x4144=function(){return _0x5eb05;};return _0x4144();}import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x3a956f from'./face_config.json';export const mFaceCache=new Map();function _0x5c47(_0x4d6132,_0x4d1226){const _0x4144d8=_0x4144();return _0x5c47=function(_0x5c478f,_0x22e704){_0x5c478f=_0x5c478f-0x118;let _0x14a089=_0x4144d8[_0x5c478f];return _0x14a089;},_0x5c47(_0x4d6132,_0x4d1226);}export class SendMsgElementConstructor{static[_0x2fcd48(0x15c)](_0x48c892){const _0x35a68b=_0x2fcd48;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x48c892,'atType':AtType[_0x35a68b(0x120)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x46ff2a,_0x4e7384,_0x358f35,_0x57acde){const _0x179c51=_0x2fcd48;return{'elementType':ElementType[_0x179c51(0x143)],'elementId':'','textElement':{'content':'@'+_0x57acde,'atType':_0x358f35,'atUid':_0x46ff2a,'atTinyId':'','atNtUid':_0x4e7384}};}static[_0x2fcd48(0x15b)](_0x42254b,_0x310cec,_0x3ed2cb,_0x43eb6c){const _0x57d0fd=_0x2fcd48;return{'elementType':ElementType[_0x57d0fd(0x128)],'elementId':'','replyElement':{'replayMsgSeq':_0x42254b,'replayMsgId':_0x310cec,'senderUin':_0x3ed2cb,'senderUinStr':_0x43eb6c}};}static async[_0x2fcd48(0x127)](_0x30118b,_0x385c8a='',_0x195eef=0x0){const _0x4ff030=_0x2fcd48,_0x28d14d={'ldOWH':function(_0x1c9a9e,_0x598485){return _0x1c9a9e===_0x598485;},'ULqrf':_0x4ff030(0x148),'tKZhC':function(_0xe9c1ee,_0x4f8a3a){return _0xe9c1ee(_0x4f8a3a);}},{md5:_0x219710,fileName:_0x359d29,path:_0x3d32a5,fileSize:_0x58b092}=await NTQQFileApi[_0x4ff030(0x12a)](_0x30118b,ElementType[_0x4ff030(0x122)],_0x195eef);if(_0x28d14d['ldOWH'](_0x58b092,0x0))throw _0x28d14d['ULqrf'];const _0x19f270=await NTQQFileApi[_0x4ff030(0x14a)](_0x30118b),_0x599c18={'md5HexStr':_0x219710,'fileSize':_0x58b092['toString'](),'picWidth':_0x19f270?.[_0x4ff030(0x156)],'picHeight':_0x19f270?.[_0x4ff030(0x12d)],'fileName':_0x359d29,'sourcePath':_0x3d32a5,'original':!![],'picType':_0x28d14d['tKZhC'](isGIF,_0x30118b)?PicType[_0x4ff030(0x154)]:PicType['jpg'],'picSubType':_0x195eef,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x385c8a};return logDebug('图片信息',_0x599c18),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x599c18};}static async['file'](_0x1fdb3c,_0x5a3bad=''){const _0xcbee4d=_0x2fcd48,_0x5b1609={'tDPRQ':_0xcbee4d(0x148),'uoAoe':function(_0x177db5,_0x826f7e){return _0x177db5||_0x826f7e;}},{md5:_0x3ecf04,fileName:_0xdcb245,path:_0x1a63cb,fileSize:_0x32c38a}=await NTQQFileApi['uploadFile'](_0x1fdb3c,ElementType[_0xcbee4d(0x11e)]);if(_0x32c38a===0x0)throw _0x5b1609['tDPRQ'];const _0x39d757={'elementType':ElementType[_0xcbee4d(0x11e)],'elementId':'','fileElement':{'fileName':_0x5b1609[_0xcbee4d(0x11b)](_0x5a3bad,_0xdcb245),'filePath':_0x1a63cb,'fileSize':_0x32c38a[_0xcbee4d(0x162)]()}};return _0x39d757;}static async[_0x2fcd48(0x123)](_0x49ffb6,_0x21a208='',_0x5a9034=''){const _0x2edf3c=_0x2fcd48,_0x1bb5a0={'wljjy':function(_0x1387b,_0x502147){return _0x1387b(_0x502147);},'XovgX':_0x2edf3c(0x15f),'bgYLg':function(_0xfbde6f,_0x32ff5d){return _0xfbde6f+_0x32ff5d;},'gHwbp':function(_0x15b476,_0x216cd4){return _0x15b476+_0x216cd4;},'kPpHF':function(_0x2d9b21,_0x57f774){return _0x2d9b21===_0x57f774;},'YZSwc':_0x2edf3c(0x148),'xRclV':'path','SxrTu':function(_0x5b58ab,_0x45ec15,_0x4aed7a){return _0x5b58ab(_0x45ec15,_0x4aed7a);},'TYGiU':_0x2edf3c(0x118),'YeINh':function(_0x43f070,_0x505952,_0x3c76b3){return _0x43f070(_0x505952,_0x3c76b3);},'oUFXV':_0x2edf3c(0x163)},{fileName:_0x27711b,path:_0x407932,fileSize:_0x34f1ea,md5:_0x3151d2}=await NTQQFileApi[_0x2edf3c(0x12a)](_0x49ffb6,ElementType[_0x2edf3c(0x149)]);if(_0x1bb5a0[_0x2edf3c(0x153)](_0x34f1ea,0x0))throw _0x1bb5a0[_0x2edf3c(0x136)];const _0x14b1c7=_0x1bb5a0[_0x2edf3c(0x144)](require,_0x1bb5a0['xRclV']);let _0x2c8b91=_0x407932[_0x2edf3c(0x16c)](_0x14b1c7['sep']+_0x2edf3c(0x12b)+_0x14b1c7[_0x2edf3c(0x165)],_0x14b1c7['sep']+_0x2edf3c(0x134)+_0x14b1c7[_0x2edf3c(0x165)]);_0x2c8b91=_0x14b1c7['dirname'](_0x2c8b91);let _0x46ea3d={'width':0x780,'height':0x438,'time':0xf,'format':_0x2edf3c(0x166),'size':_0x34f1ea,'filePath':_0x49ffb6};try{_0x46ea3d=await _0x1bb5a0[_0x2edf3c(0x144)](getVideoInfo,_0x407932),_0x1bb5a0[_0x2edf3c(0x14f)](logDebug,_0x1bb5a0['TYGiU'],_0x46ea3d);}catch(_0x3b2190){_0x1bb5a0[_0x2edf3c(0x129)](logError,_0x1bb5a0[_0x2edf3c(0x138)],_0x3b2190);}const _0x27e0ef=new Promise((_0x6ae0df,_0x154020)=>{const _0x44b9de=_0x2edf3c,_0x5d6632={'bdaqd':function(_0x2abbe9,_0x1746cb){const _0x227483=_0x5c47;return _0x1bb5a0[_0x227483(0x144)](_0x2abbe9,_0x1746cb);}},_0x39c507=_0x3151d2+'_0.png',_0x562a76=_0x14b1c7[_0x44b9de(0x16d)](_0x2c8b91,_0x39c507);_0x1bb5a0[_0x44b9de(0x144)](_0x2e48e3,_0x49ffb6)['on'](_0x1bb5a0[_0x44b9de(0x131)],()=>{})['on'](_0x44b9de(0x152),_0x5286a0=>{const _0x58df2e=_0x44b9de;logDebug('获取视频封面失败,使用默认封面',_0x5286a0),_0x5a9034?_0x4e2587[_0x58df2e(0x125)](_0x5a9034,_0x562a76)[_0x58df2e(0x159)](()=>{const _0xb5e2f2=_0x58df2e;_0x5d6632[_0xb5e2f2(0x121)](_0x6ae0df,_0x562a76);})['catch'](_0x154020):_0x4e2587[_0x58df2e(0x135)](_0x562a76,defaultVideoThumb)[_0x58df2e(0x159)](()=>{_0x6ae0df(_0x562a76);})[_0x58df2e(0x119)](_0x154020);})[_0x44b9de(0x15d)]({'timestamps':[0x0],'filename':_0x39c507,'folder':_0x2c8b91,'size':_0x1bb5a0[_0x44b9de(0x146)](_0x1bb5a0[_0x44b9de(0x151)](_0x46ea3d[_0x44b9de(0x156)],'x'),_0x46ea3d['height'])})['on'](_0x1bb5a0['XovgX'],()=>{_0x6ae0df(_0x562a76);});}),_0x9bb283=new Map(),_0x44e3ae=await _0x27e0ef,_0x326425=(await _0x4e2587['stat'](_0x44e3ae))['size'];_0x9bb283[_0x2edf3c(0x158)](0x0,_0x44e3ae);const _0x378313=await calculateFileMD5(_0x44e3ae),_0x27fd4f={'elementType':ElementType[_0x2edf3c(0x149)],'elementId':'','videoElement':{'fileName':_0x21a208||_0x27711b,'filePath':_0x407932,'videoMd5':_0x3151d2,'thumbMd5':_0x378313,'fileTime':_0x46ea3d[_0x2edf3c(0x142)],'thumbPath':_0x9bb283,'thumbSize':_0x326425,'thumbWidth':_0x46ea3d[_0x2edf3c(0x156)],'thumbHeight':_0x46ea3d[_0x2edf3c(0x12d)],'fileSize':''+_0x34f1ea}};return _0x27fd4f;}static async[_0x2fcd48(0x14b)](_0x1df016){const _0x21dd97=_0x2fcd48,_0x347ea4={'OdGPt':function(_0x36b521,_0x354141){return _0x36b521(_0x354141);},'zyfSC':_0x21dd97(0x13a),'dmMyT':_0x21dd97(0x148),'eFuqI':function(_0xc91078,_0x5dd5e5){return _0xc91078||_0x5dd5e5;}},{converted:_0x3e87dd,path:_0x23269d,duration:_0x3fa068}=await _0x347ea4[_0x21dd97(0x14d)](encodeSilk,_0x1df016);if(!_0x23269d)throw _0x347ea4[_0x21dd97(0x12c)];const {md5:_0x2abf81,fileName:_0x39a823,path:_0x43d29b,fileSize:_0x255445}=await NTQQFileApi[_0x21dd97(0x12a)](_0x23269d,ElementType[_0x21dd97(0x137)]);if(_0x255445===0x0)throw _0x347ea4['dmMyT'];return _0x3e87dd&&_0x4e2587[_0x21dd97(0x145)](_0x23269d)[_0x21dd97(0x159)](),{'elementType':ElementType[_0x21dd97(0x137)],'elementId':'','pttElement':{'fileName':_0x39a823,'filePath':_0x43d29b,'md5HexStr':_0x2abf81,'fileSize':_0x255445,'duration':_0x347ea4[_0x21dd97(0x155)](_0x3fa068,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static['face'](_0x3f62b5){const _0x547d87=_0x2fcd48,_0x2393ef={'exhrj':function(_0x5eb6d6,_0x50b2d0){return _0x5eb6d6(_0x50b2d0);},'HicER':function(_0x22b6b8,_0x7e9d2){return _0x22b6b8>=_0x7e9d2;}},_0x5906f9=_0x3a956f[_0x547d87(0x133)],_0x2d2030=_0x3a956f[_0x547d87(0x147)],_0x337b02=_0x5906f9['find'](_0x5a8cac=>_0x5a8cac[_0x547d87(0x124)]===_0x3f62b5['toString']());_0x3f62b5=_0x2393ef[_0x547d87(0x14e)](parseInt,_0x3f62b5[_0x547d87(0x162)]());let _0x1b330f=0x1;return _0x2393ef[_0x547d87(0x14c)](_0x3f62b5,0xde)&&(_0x1b330f=0x2),_0x337b02[_0x547d87(0x130)]&&(_0x1b330f=0x3),{'elementType':ElementType[_0x547d87(0x141)],'elementId':'','faceElement':{'faceIndex':_0x3f62b5,'faceType':_0x1b330f,'faceText':_0x337b02['QDes'],'stickerId':_0x337b02[_0x547d87(0x150)],'stickerType':_0x337b02[_0x547d87(0x130)],'packId':_0x337b02[_0x547d87(0x13f)],'sourceType':0x1}};}static[_0x2fcd48(0x11f)](_0x1eb3a5,_0x96c83e,_0x3a90ff,_0xf67156){const _0x2ac292=_0x2fcd48,_0x44b9d9={'WsMGW':'[商城表情]'};return{'elementType':ElementType[_0x2ac292(0x16b)],'marketFaceElement':{'emojiPackageId':_0x1eb3a5,'emojiId':_0x96c83e,'key':_0x3a90ff,'faceName':_0xf67156||mFaceCache[_0x2ac292(0x11d)](_0x96c83e)||_0x44b9d9['WsMGW']}};}static[_0x2fcd48(0x168)](_0x1c87d6){const _0x387d90=_0x2fcd48,_0x1c4c4d={'DBUAE':_0x387d90(0x161)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x387d90(0x168)],'faceType':FaceType[_0x387d90(0x168)],'faceText':_0x1c4c4d[_0x387d90(0x169)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x141441){const _0x2436c3=_0x2fcd48,_0x382a76={'ZGjrq':_0x2436c3(0x15e)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2436c3(0x126)],'faceText':_0x382a76[_0x2436c3(0x13b)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x42f08b){const _0x2669e0=_0x2fcd48,_0x3ea6b6={'AudDo':function(_0x2fc12d,_0x165f92){return _0x2fc12d!==_0x165f92;},'XWEuC':'string'};return _0x3ea6b6[_0x2669e0(0x16a)](typeof _0x42f08b,_0x3ea6b6[_0x2669e0(0x11a)])&&(_0x42f08b=JSON[_0x2669e0(0x160)](_0x42f08b)),{'elementType':ElementType[_0x2669e0(0x167)],'elementId':'','arkElement':{'bytesData':_0x42f08b,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x4e1b3c){const _0x188690=_0x2fcd48;return{'elementType':ElementType[_0x188690(0x11c)],'elementId':'','markdownElement':{'content':_0x4e1b3c}};}} \ No newline at end of file +const _0x5764e8=_0xaccd;(function(_0x35e63d,_0x1aa05a){const _0x2282ac=_0xaccd,_0x26afc7=_0x35e63d();while(!![]){try{const _0x30d5c2=parseInt(_0x2282ac(0x15e))/0x1*(parseInt(_0x2282ac(0x14b))/0x2)+parseInt(_0x2282ac(0x196))/0x3+-parseInt(_0x2282ac(0x183))/0x4*(-parseInt(_0x2282ac(0x173))/0x5)+parseInt(_0x2282ac(0x145))/0x6*(-parseInt(_0x2282ac(0x148))/0x7)+parseInt(_0x2282ac(0x17f))/0x8*(parseInt(_0x2282ac(0x182))/0x9)+-parseInt(_0x2282ac(0x16a))/0xa+parseInt(_0x2282ac(0x17a))/0xb;if(_0x30d5c2===_0x1aa05a)break;else _0x26afc7['push'](_0x26afc7['shift']());}catch(_0x22a1d2){_0x26afc7['push'](_0x26afc7['shift']());}}}(_0x4ada,0x3ed9c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x404e36}from'node:fs';function _0x4ada(){const _0x53db8d=['TEXT','LDbIp','MFACE','Thumb','VIDEO','face','writeFile','uploadFile','stat','size','3001750OnQsjL','dirname','PTT','ksqnR','EZKnW','width','获取视频信息失败','join','_0.png','105BKJRtI','文件异常,大小为0','PCaUc','HaQmF','Sgjea','AniStickerType','emoji','376365GMeLRl','ark','[骰子]','hUfUO','path','1448IXNGnP','TOofN','MARKDOWN','6759jsMpYA','57544acmCHe','mface','NKWJc','screenshots','height','QSid','图片信息','find','sep','[包剪锤]','QDes','replace','toString','dice','PbiHJ','rps','catch','text','CzRHY','53223BoZVJQ','PIC','YmcjI','rvJuy','dFoAP','396jBLfNO','end','ARK','45010IFtmFX','VJHlD','stringify','983996jTevlN','FACE','AniStickerId','sysface','EHKSw','ptt','error','then','[商城表情]','UhDIA','AniStickerPackId','mp4','copyFile','iozNK','gHZlD','time','EffXO','video','getImageSize','1ZjKDeg','gif'];_0x4ada=function(){return _0x53db8d;};return _0x4ada();}import _0x5bb219 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x461464 from'./face_config.json';function _0xaccd(_0x1188b4,_0x44d679){const _0x4ada9b=_0x4ada();return _0xaccd=function(_0xaccd7f,_0x2e1952){_0xaccd7f=_0xaccd7f-0x142;let _0x5777bc=_0x4ada9b[_0xaccd7f];return _0x5777bc;},_0xaccd(_0x1188b4,_0x44d679);}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x5764e8(0x194)](_0x82da2b){const _0x377e33=_0x5764e8;return{'elementType':ElementType[_0x377e33(0x160)],'elementId':'','textElement':{'content':_0x82da2b,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x81addc,_0x28517a,_0x4a519c,_0x5afe66){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x5afe66,'atType':_0x4a519c,'atUid':_0x81addc,'atTinyId':'','atNtUid':_0x28517a}};}static['reply'](_0x5478a2,_0x109c03,_0x19b13e,_0x1947dd){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x5478a2,'replayMsgId':_0x109c03,'senderUin':_0x19b13e,'senderUinStr':_0x1947dd}};}static async['pic'](_0x22e37b,_0x2d6f88='',_0x13706b=0x0){const _0x34d21c=_0x5764e8,_0x1a7151={'TOofN':function(_0x569414,_0x90bef3){return _0x569414===_0x90bef3;},'CzRHY':function(_0x3a54d3,_0x35f10b){return _0x3a54d3(_0x35f10b);},'PbiHJ':_0x34d21c(0x189)},{md5:_0x2e81c8,fileName:_0x5a508d,path:_0x1abe36,fileSize:_0x2ce90f}=await NTQQFileApi[_0x34d21c(0x167)](_0x22e37b,ElementType[_0x34d21c(0x197)],_0x13706b);if(_0x1a7151[_0x34d21c(0x180)](_0x2ce90f,0x0))throw _0x34d21c(0x174);const _0x15bf48=await NTQQFileApi[_0x34d21c(0x15d)](_0x22e37b),_0x2d89bf={'md5HexStr':_0x2e81c8,'fileSize':_0x2ce90f['toString'](),'picWidth':_0x15bf48?.[_0x34d21c(0x16f)],'picHeight':_0x15bf48?.[_0x34d21c(0x187)],'fileName':_0x5a508d,'sourcePath':_0x1abe36,'original':!![],'picType':_0x1a7151[_0x34d21c(0x195)](isGIF,_0x22e37b)?PicType[_0x34d21c(0x15f)]:PicType['jpg'],'picSubType':_0x13706b,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x2d6f88};return logDebug(_0x1a7151[_0x34d21c(0x191)],_0x2d89bf),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x2d89bf};}static async['file'](_0x527492,_0x91342d=''){const _0x16a1e7=_0x5764e8,_0x10c3bf={'YmcjI':function(_0x476305,_0x3a628d){return _0x476305===_0x3a628d;},'hUfUO':'文件异常,大小为0','UhDIA':function(_0x4ee0d5,_0x2098e8){return _0x4ee0d5||_0x2098e8;}},{md5:_0x5b3046,fileName:_0x2d7162,path:_0x32de10,fileSize:_0x492b3f}=await NTQQFileApi[_0x16a1e7(0x167)](_0x527492,ElementType['FILE']);if(_0x10c3bf[_0x16a1e7(0x142)](_0x492b3f,0x0))throw _0x10c3bf[_0x16a1e7(0x17d)];const _0x2592e2={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x10c3bf[_0x16a1e7(0x154)](_0x91342d,_0x2d7162),'filePath':_0x32de10,'fileSize':_0x492b3f['toString']()}};return _0x2592e2;}static async[_0x5764e8(0x15c)](_0x5cf50d,_0x8d2a75='',_0x407004=''){const _0x22c33a=_0x5764e8,_0x4a18e5={'VJHlD':function(_0x15bf73,_0x4cdb33,_0x13dc80){return _0x15bf73(_0x4cdb33,_0x13dc80);},'Sgjea':'获取视频封面失败,使用默认封面','PCaUc':function(_0x1bda17,_0xef3dc7){return _0x1bda17(_0xef3dc7);},'PAdWY':function(_0x109285,_0x28072c){return _0x109285(_0x28072c);},'EffXO':_0x22c33a(0x146),'gHZlD':function(_0xf3a353,_0x104eb2){return _0xf3a353+_0x104eb2;},'EHKSw':'文件异常,大小为0','dNxUc':_0x22c33a(0x17e),'dFoAP':function(_0x1db995,_0x109065){return _0x1db995(_0x109065);},'ZIyTY':function(_0x41bb91,_0x38f070,_0x26d211){return _0x41bb91(_0x38f070,_0x26d211);},'rvJuy':function(_0x1e06a6,_0x28881a){return _0x1e06a6||_0x28881a;}},{fileName:_0xc6751,path:_0x4d1912,fileSize:_0x193c6d,md5:_0x2c596a}=await NTQQFileApi[_0x22c33a(0x167)](_0x5cf50d,ElementType[_0x22c33a(0x164)]);if(_0x193c6d===0x0)throw _0x4a18e5[_0x22c33a(0x14f)];const _0x4f0828=require(_0x4a18e5['dNxUc']);let _0x1fc7ca=_0x4d1912[_0x22c33a(0x18e)](_0x4f0828['sep']+'Ori'+_0x4f0828[_0x22c33a(0x18b)],_0x4f0828['sep']+_0x22c33a(0x163)+_0x4f0828[_0x22c33a(0x18b)]);_0x1fc7ca=_0x4f0828[_0x22c33a(0x16b)](_0x1fc7ca);let _0x497f26={'width':0x780,'height':0x438,'time':0xf,'format':_0x22c33a(0x156),'size':_0x193c6d,'filePath':_0x5cf50d};try{_0x497f26=await _0x4a18e5[_0x22c33a(0x144)](getVideoInfo,_0x4d1912),logDebug('视频信息',_0x497f26);}catch(_0x59caf7){_0x4a18e5['ZIyTY'](logError,_0x22c33a(0x170),_0x59caf7);}const _0x3d35e5=new Promise((_0x5bc802,_0x5dd8ba)=>{const _0x17b647=_0x22c33a,_0x491a32={'ksqnR':function(_0x16d22c,_0x57065e){return _0x4a18e5['PAdWY'](_0x16d22c,_0x57065e);}},_0x26f41e=_0x2c596a+_0x17b647(0x172),_0x309877=_0x4f0828[_0x17b647(0x171)](_0x1fc7ca,_0x26f41e);_0x5bb219(_0x5cf50d)['on'](_0x4a18e5[_0x17b647(0x15b)],()=>{})['on'](_0x17b647(0x151),_0xa9faba=>{const _0x407d5a=_0x17b647,_0x5bb0cf={'EZKnW':function(_0x37cee2,_0x116ed4){return _0x37cee2(_0x116ed4);}};_0x4a18e5[_0x407d5a(0x149)](logDebug,_0x4a18e5[_0x407d5a(0x177)],_0xa9faba),_0x407004?_0x404e36[_0x407d5a(0x157)](_0x407004,_0x309877)[_0x407d5a(0x152)](()=>{const _0x307de7=_0x407d5a;_0x491a32[_0x307de7(0x16d)](_0x5bc802,_0x309877);})[_0x407d5a(0x193)](_0x5dd8ba):_0x404e36[_0x407d5a(0x166)](_0x309877,defaultVideoThumb)[_0x407d5a(0x152)](()=>{const _0x589198=_0x407d5a;_0x5bb0cf[_0x589198(0x16e)](_0x5bc802,_0x309877);})['catch'](_0x5dd8ba);})[_0x17b647(0x186)]({'timestamps':[0x0],'filename':_0x26f41e,'folder':_0x1fc7ca,'size':_0x4a18e5['gHZlD'](_0x4a18e5[_0x17b647(0x159)](_0x497f26[_0x17b647(0x16f)],'x'),_0x497f26[_0x17b647(0x187)])})['on'](_0x4a18e5[_0x17b647(0x15b)],()=>{_0x4a18e5['PCaUc'](_0x5bc802,_0x309877);});}),_0x3d1778=new Map(),_0x1ed97d=await _0x3d35e5,_0x772cdb=(await _0x404e36[_0x22c33a(0x168)](_0x1ed97d))[_0x22c33a(0x169)];_0x3d1778['set'](0x0,_0x1ed97d);const _0x399eec=await _0x4a18e5[_0x22c33a(0x175)](calculateFileMD5,_0x1ed97d),_0x1ea522={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x4a18e5[_0x22c33a(0x143)](_0x8d2a75,_0xc6751),'filePath':_0x4d1912,'videoMd5':_0x2c596a,'thumbMd5':_0x399eec,'fileTime':_0x497f26[_0x22c33a(0x15a)],'thumbPath':_0x3d1778,'thumbSize':_0x772cdb,'thumbWidth':_0x497f26[_0x22c33a(0x16f)],'thumbHeight':_0x497f26[_0x22c33a(0x187)],'fileSize':_0x4a18e5[_0x22c33a(0x159)]('',_0x193c6d)}};return _0x1ea522;}static async[_0x5764e8(0x150)](_0xc908d1){const _0x281707=_0x5764e8,_0x32d353={'NKWJc':function(_0x3cbf98,_0x12719b){return _0x3cbf98(_0x12719b);},'yTPJB':'语音转换失败,\x20请检查语音文件是否正常','HaQmF':function(_0x5ba3ee,_0x1924e3){return _0x5ba3ee===_0x1924e3;},'kyUvz':function(_0x2a624b,_0x3dad26){return _0x2a624b||_0x3dad26;}},{converted:_0x54ec18,path:_0x535759,duration:_0x2fc745}=await _0x32d353[_0x281707(0x185)](encodeSilk,_0xc908d1);if(!_0x535759)throw _0x32d353['yTPJB'];const {md5:_0x41fdca,fileName:_0x41e5e5,path:_0x4e93f3,fileSize:_0xfa638e}=await NTQQFileApi[_0x281707(0x167)](_0x535759,ElementType[_0x281707(0x16c)]);if(_0x32d353[_0x281707(0x176)](_0xfa638e,0x0))throw _0x281707(0x174);return _0x54ec18&&_0x404e36['unlink'](_0x535759)[_0x281707(0x152)](),{'elementType':ElementType[_0x281707(0x16c)],'elementId':'','pttElement':{'fileName':_0x41e5e5,'filePath':_0x4e93f3,'md5HexStr':_0x41fdca,'fileSize':_0xfa638e,'duration':_0x32d353['kyUvz'](_0x2fc745,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x5764e8(0x165)](_0x2ad4aa){const _0x2fcbab=_0x5764e8,_0x53a9f2=_0x461464[_0x2fcbab(0x14e)],_0xdb3721=_0x461464[_0x2fcbab(0x179)],_0x4ce03e=_0x53a9f2[_0x2fcbab(0x18a)](_0x3cd15c=>_0x3cd15c[_0x2fcbab(0x188)]===_0x2ad4aa['toString']());_0x2ad4aa=parseInt(_0x2ad4aa[_0x2fcbab(0x18f)]());let _0x3dda0c=0x1;return _0x2ad4aa>=0xde&&(_0x3dda0c=0x2),_0x4ce03e[_0x2fcbab(0x178)]&&(_0x3dda0c=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x2ad4aa,'faceType':_0x3dda0c,'faceText':_0x4ce03e[_0x2fcbab(0x18d)],'stickerId':_0x4ce03e[_0x2fcbab(0x14d)],'stickerType':_0x4ce03e['AniStickerType'],'packId':_0x4ce03e[_0x2fcbab(0x155)],'sourceType':0x1}};}static[_0x5764e8(0x184)](_0x253ca7,_0x38cb9d,_0x510b98,_0x56483e){const _0x58253f=_0x5764e8,_0x9a9895={'LDbIp':_0x58253f(0x153)};return{'elementType':ElementType[_0x58253f(0x162)],'marketFaceElement':{'emojiPackageId':_0x253ca7,'emojiId':_0x38cb9d,'key':_0x510b98,'faceName':_0x56483e||mFaceCache['get'](_0x38cb9d)||_0x9a9895[_0x58253f(0x161)]}};}static[_0x5764e8(0x190)](_0x419c7d){const _0x21c47e=_0x5764e8;return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x21c47e(0x17c),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5764e8(0x192)](_0x45b0ae){const _0x340464=_0x5764e8,_0x2365cf={'ESLaM':_0x340464(0x18c)};return{'elementType':ElementType[_0x340464(0x14c)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x2365cf['ESLaM'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5764e8(0x17b)](_0x1dc836){const _0x210be0=_0x5764e8,_0x482e54={'iozNK':function(_0x31b6ab,_0x55c8a3){return _0x31b6ab!==_0x55c8a3;},'NspDr':'string'};return _0x482e54[_0x210be0(0x158)](typeof _0x1dc836,_0x482e54['NspDr'])&&(_0x1dc836=JSON[_0x210be0(0x14a)](_0x1dc836)),{'elementType':ElementType[_0x210be0(0x147)],'elementId':'','arkElement':{'bytesData':_0x1dc836,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x3cdba0){const _0x37225b=_0x5764e8;return{'elementType':ElementType[_0x37225b(0x181)],'elementId':'','markdownElement':{'content':_0x3cdba0}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index dcafa2fe..6e576a0e 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x99b5(_0x4d923d,_0x542612){var _0x37bed9=_0x37be();return _0x99b5=function(_0x99b52e,_0x4cbf0d){_0x99b52e=_0x99b52e-0x17b;var _0x471e92=_0x37bed9[_0x99b52e];return _0x471e92;},_0x99b5(_0x4d923d,_0x542612);}function _0x37be(){var _0x3fa1a7=['4978216vjIPrB','834eIYXBP','530350zFUjzc','LllUN','63679HxFkAR','Eagxn','CxguC','normal','11EbgQNZ','12337210szqUdS','2698ZLnOiN','55611144azRnrH','2412CGfVFm','owner','87899OaJPgb','44SUOHIp','9BvcGlt'];_0x37be=function(){return _0x3fa1a7;};return _0x37be();}(function(_0x9421c9,_0x95fcdd){var _0x571a43=_0x99b5,_0x127497=_0x9421c9();while(!![]){try{var _0x484fa6=-parseInt(_0x571a43(0x17b))/0x1+parseInt(_0x571a43(0x188))/0x2*(parseInt(_0x571a43(0x18a))/0x3)+parseInt(_0x571a43(0x17c))/0x4*(parseInt(_0x571a43(0x180))/0x5)+-parseInt(_0x571a43(0x17f))/0x6*(-parseInt(_0x571a43(0x182))/0x7)+parseInt(_0x571a43(0x17e))/0x8*(parseInt(_0x571a43(0x17d))/0x9)+-parseInt(_0x571a43(0x187))/0xa*(-parseInt(_0x571a43(0x186))/0xb)+-parseInt(_0x571a43(0x189))/0xc;if(_0x484fa6===_0x95fcdd)break;else _0x127497['push'](_0x127497['shift']());}catch(_0x288b1d){_0x127497['push'](_0x127497['shift']());}}}(_0x37be,0x9e9d6));export var GroupMemberRole;(function(_0x4c45b1){var _0x128bb6=_0x99b5,_0x57c587={'CxguC':_0x128bb6(0x185),'Eagxn':'admin','LllUN':_0x128bb6(0x18b)};_0x4c45b1[_0x4c45b1[_0x128bb6(0x185)]=0x2]=_0x57c587[_0x128bb6(0x184)],_0x4c45b1[_0x4c45b1[_0x57c587[_0x128bb6(0x183)]]=0x3]=_0x57c587[_0x128bb6(0x183)],_0x4c45b1[_0x4c45b1[_0x57c587[_0x128bb6(0x181)]]=0x4]=_0x57c587[_0x128bb6(0x181)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x127f(_0x53c1aa,_0x637ba2){var _0x1e2050=_0x1e20();return _0x127f=function(_0x127fcc,_0x54cf63){_0x127fcc=_0x127fcc-0x1a8;var _0x5117d6=_0x1e2050[_0x127fcc];return _0x5117d6;},_0x127f(_0x53c1aa,_0x637ba2);}function _0x1e20(){var _0x1a222b=['admin','300417FMjWkU','hcaLD','34ndhfrp','2273596VvAxkb','1701420usYcfg','4508jQVvng','owner','12222dplegl','1470ZbMDBR','50737tNqGgK','normal','15128tyvfVO','ZptIb','2125470dspaKi'];_0x1e20=function(){return _0x1a222b;};return _0x1e20();}(function(_0x3511a6,_0x275535){var _0xcf395c=_0x127f,_0x2793ef=_0x3511a6();while(!![]){try{var _0x287268=-parseInt(_0xcf395c(0x1b4))/0x1*(parseInt(_0xcf395c(0x1ad))/0x2)+-parseInt(_0xcf395c(0x1ab))/0x3+parseInt(_0xcf395c(0x1ae))/0x4+parseInt(_0xcf395c(0x1af))/0x5+-parseInt(_0xcf395c(0x1a9))/0x6+-parseInt(_0xcf395c(0x1b0))/0x7*(-parseInt(_0xcf395c(0x1b6))/0x8)+-parseInt(_0xcf395c(0x1b2))/0x9*(parseInt(_0xcf395c(0x1b3))/0xa);if(_0x287268===_0x275535)break;else _0x2793ef['push'](_0x2793ef['shift']());}catch(_0x206e72){_0x2793ef['push'](_0x2793ef['shift']());}}}(_0x1e20,0x94e9c));export var GroupMemberRole;(function(_0x42e9d9){var _0x5b3606=_0x127f,_0xff50f2={'ZptIb':_0x5b3606(0x1b5),'hcaLD':'admin','ukkZC':_0x5b3606(0x1b1)};_0x42e9d9[_0x42e9d9[_0x5b3606(0x1b5)]=0x2]=_0xff50f2[_0x5b3606(0x1a8)],_0x42e9d9[_0x42e9d9[_0x5b3606(0x1aa)]=0x3]=_0xff50f2[_0x5b3606(0x1ac)],_0x42e9d9[_0x42e9d9[_0x5b3606(0x1b1)]=0x4]=_0xff50f2['ukkZC'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 08e31d3b..a024ce9d 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x50bd35,_0x366773){var _0x2e9aba=_0x4660,_0x488b63=_0x50bd35();while(!![]){try{var _0x4a034c=-parseInt(_0x2e9aba(0xc9))/0x1+-parseInt(_0x2e9aba(0xc8))/0x2+-parseInt(_0x2e9aba(0xd0))/0x3+parseInt(_0x2e9aba(0xcc))/0x4+-parseInt(_0x2e9aba(0xcf))/0x5*(parseInt(_0x2e9aba(0xc7))/0x6)+parseInt(_0x2e9aba(0xce))/0x7*(parseInt(_0x2e9aba(0xca))/0x8)+-parseInt(_0x2e9aba(0xcb))/0x9*(-parseInt(_0x2e9aba(0xcd))/0xa);if(_0x4a034c===_0x366773)break;else _0x488b63['push'](_0x488b63['shift']());}catch(_0x5b3984){_0x488b63['push'](_0x488b63['shift']());}}}(_0x3d8d,0xf33b5));function _0x4660(_0xad0f95,_0x1c953){var _0x3d8d8f=_0x3d8d();return _0x4660=function(_0x46605a,_0x40fb75){_0x46605a=_0x46605a-0xc7;var _0x161fb9=_0x3d8d8f[_0x46605a];return _0x161fb9;},_0x4660(_0xad0f95,_0x1c953);}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x3d8d(){var _0x3de35a=['1100652pHZxVa','16IteUXK','19816596cYfhFt','1814860CeCwCw','20ljprYF','4583271JDJUEN','74435BnJGaQ','5192880PNgIqD','390PfbTwG','2742730JMvWfx'];_0x3d8d=function(){return _0x3de35a;};return _0x3d8d();}export*from'./constructor'; \ No newline at end of file +(function(_0x6a7289,_0x5324cb){var _0x496b2a=_0x431b,_0x48a23c=_0x6a7289();while(!![]){try{var _0x3e0e6a=parseInt(_0x496b2a(0x187))/0x1*(-parseInt(_0x496b2a(0x186))/0x2)+-parseInt(_0x496b2a(0x18a))/0x3*(-parseInt(_0x496b2a(0x183))/0x4)+-parseInt(_0x496b2a(0x18b))/0x5+parseInt(_0x496b2a(0x188))/0x6+parseInt(_0x496b2a(0x184))/0x7+-parseInt(_0x496b2a(0x189))/0x8+parseInt(_0x496b2a(0x185))/0x9;if(_0x3e0e6a===_0x5324cb)break;else _0x48a23c['push'](_0x48a23c['shift']());}catch(_0x10330b){_0x48a23c['push'](_0x48a23c['shift']());}}}(_0x32c2,0xbc107));export*from'./user';function _0x431b(_0x4abf4b,_0x596e00){var _0x32c28d=_0x32c2();return _0x431b=function(_0x431be0,_0x42cb63){_0x431be0=_0x431be0-0x183;var _0x134bed=_0x32c28d[_0x431be0];return _0x134bed;},_0x431b(_0x4abf4b,_0x596e00);}function _0x32c2(){var _0x137bb7=['15177051OUEsBw','73516ussKXo','37dwXOng','161472xxUcWM','7995984CqWTfL','2199LLdtfW','1649945qUKddp','8388djKflz','1466444ebCaGM'];_0x32c2=function(){return _0x137bb7;};return _0x32c2();}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 8c2ef236..5387db18 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x50daac=_0x21db;(function(_0x25eab3,_0x289c90){var _0x27374e=_0x21db,_0x4acc4b=_0x25eab3();while(!![]){try{var _0x179175=-parseInt(_0x27374e(0xa0))/0x1+-parseInt(_0x27374e(0x9e))/0x2+parseInt(_0x27374e(0xa6))/0x3*(parseInt(_0x27374e(0xa3))/0x4)+-parseInt(_0x27374e(0x9c))/0x5*(-parseInt(_0x27374e(0x84))/0x6)+-parseInt(_0x27374e(0x98))/0x7*(-parseInt(_0x27374e(0x85))/0x8)+parseInt(_0x27374e(0x83))/0x9+parseInt(_0x27374e(0x89))/0xa*(parseInt(_0x27374e(0x8b))/0xb);if(_0x179175===_0x289c90)break;else _0x4acc4b['push'](_0x4acc4b['shift']());}catch(_0x3a2ed0){_0x4acc4b['push'](_0x4acc4b['shift']());}}}(_0xd17e,0x93f2e));function _0xd17e(){var _0x61e3f5=['RPS','PTT','YPixd','vqxDW','memberIncrease','dice','jAFZx','Mdwus','pxJEZ','MFACE','INCRp','jrecr','onRnv','ARK','522990EpFisD','4397034jAiQIA','8mEtVjv','FACE','atUser','gMmSO','3362010BdSNjl','vxxWi','33tbrjEA','ThsuP','FILE','WHyHS','kicked','temp','normal','friend','uQhik','iRisL','OOmDA','qPnYm','XccPy','2462719wmLdtm','ZsZMp','EVhjN','REPLY','5KpYyLj','rzgDu','2337786HruSko','VzkZw','1170899BVVUbO','INVITE_NEW_MEMBER','dFzxR','4ZDTROe','uhcas','MARKDOWN','2383263vYVWPT','Bgvkx','TEXT','jyAXU','MopOW','https://gchat.qpic.cn','vUTRZ','PIC','MEMBER_NEW_TITLE','group'];_0xd17e=function(){return _0x61e3f5;};return _0xd17e();}export var ElementType;(function(_0x394baa){var _0x516733=_0x21db,_0x24885a={'dFzxR':_0x516733(0xa8),'uhcas':_0x516733(0x72),'TJyMH':'FILE','Mdwus':_0x516733(0x76),'jyAXU':'VIDEO','jrecr':_0x516733(0x86),'WHyHS':'REPLY','pxJEZ':_0x516733(0x82),'XccPy':_0x516733(0x7e),'kiCLm':_0x516733(0xa5)};_0x394baa[_0x394baa[_0x24885a[_0x516733(0xa2)]]=0x1]=_0x24885a[_0x516733(0xa2)],_0x394baa[_0x394baa[_0x24885a[_0x516733(0xa4)]]=0x2]=_0x24885a[_0x516733(0xa4)],_0x394baa[_0x394baa[_0x516733(0x8d)]=0x3]=_0x24885a['TJyMH'],_0x394baa[_0x394baa[_0x24885a['Mdwus']]=0x4]=_0x24885a[_0x516733(0x7c)],_0x394baa[_0x394baa[_0x24885a['jyAXU']]=0x5]=_0x24885a[_0x516733(0x6e)],_0x394baa[_0x394baa[_0x24885a['jrecr']]=0x6]=_0x24885a[_0x516733(0x80)],_0x394baa[_0x394baa[_0x516733(0x9b)]=0x7]=_0x24885a[_0x516733(0x8e)],_0x394baa[_0x394baa[_0x24885a[_0x516733(0x7d)]]=0xa]=_0x24885a[_0x516733(0x7d)],_0x394baa[_0x394baa[_0x24885a[_0x516733(0x97)]]=0xb]=_0x24885a[_0x516733(0x97)],_0x394baa[_0x394baa[_0x24885a['kiCLm']]=0xe]=_0x516733(0xa5);}(ElementType||(ElementType={})));export var PicType;(function(_0x3fb848){var _0x10a1db=_0x21db,_0x10955e={'iRisL':'gif','EVhjN':'jpg'};_0x3fb848[_0x3fb848[_0x10955e[_0x10a1db(0x94)]]=0x7d0]=_0x10955e[_0x10a1db(0x94)],_0x3fb848[_0x3fb848[_0x10955e[_0x10a1db(0x9a)]]=0x3e8]=_0x10955e[_0x10a1db(0x9a)];}(PicType||(PicType={})));export var PicSubType;(function(_0x2150a6){var _0x4eb105=_0x21db,_0x53557f={'Bgvkx':'normal','gMmSO':'face'};_0x2150a6[_0x2150a6[_0x53557f[_0x4eb105(0xa7)]]=0x0]=_0x53557f[_0x4eb105(0xa7)],_0x2150a6[_0x2150a6[_0x53557f[_0x4eb105(0x88)]]=0x1]=_0x53557f[_0x4eb105(0x88)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x316fb6){var _0x261eca=_0x21db,_0x574727={'vxxWi':'notAt','ZsZMp':'atAll','INCRp':_0x261eca(0x87)};_0x316fb6[_0x316fb6[_0x574727[_0x261eca(0x8a)]]=0x0]=_0x574727['vxxWi'],_0x316fb6[_0x316fb6[_0x574727['ZsZMp']]=0x1]=_0x574727[_0x261eca(0x99)],_0x316fb6[_0x316fb6[_0x574727['INCRp']]=0x2]=_0x574727[_0x261eca(0x7f)];}(AtType||(AtType={})));export var ChatType;(function(_0x184890){var _0x5e7dba=_0x21db,_0x639aa2={'vqxDW':_0x5e7dba(0x92),'rzgDu':'group','onRnv':'chatDevice','jAFZx':_0x5e7dba(0x90)};_0x184890[_0x184890[_0x639aa2[_0x5e7dba(0x78)]]=0x1]=_0x5e7dba(0x92),_0x184890[_0x184890[_0x639aa2[_0x5e7dba(0x9d)]]=0x2]=_0x5e7dba(0x74),_0x184890[_0x184890[_0x639aa2['onRnv']]=0x8]=_0x639aa2[_0x5e7dba(0x81)],_0x184890[_0x184890[_0x639aa2[_0x5e7dba(0x7b)]]=0x64]=_0x639aa2['jAFZx'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x50daac(0x70);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x48e131){var _0x1e0d59=_0x50daac,_0xadec96={'vUTRZ':_0x1e0d59(0x73)};_0x48e131[_0x48e131[_0x1e0d59(0xa1)]=0xc]=_0x1e0d59(0xa1),_0x48e131[_0x48e131[_0xadec96[_0x1e0d59(0x71)]]=0x11]=_0xadec96['vUTRZ'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x50d2ea){var _0x412200=_0x50daac,_0x4ef094={'VzkZw':_0x412200(0x91),'uQhik':'normal2','qPnYm':_0x412200(0x7a)};_0x50d2ea[_0x50d2ea[_0x4ef094[_0x412200(0x9f)]]=0x1]=_0x4ef094[_0x412200(0x9f)],_0x50d2ea[_0x50d2ea[_0x4ef094[_0x412200(0x93)]]=0x2]=_0x4ef094['uQhik'],_0x50d2ea[_0x50d2ea[_0x4ef094[_0x412200(0x96)]]=0x3]=_0x412200(0x7a);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x2f984a){var _0x5426fd=_0x50daac,_0x29deb0={'OOmDA':_0x5426fd(0x7a),'YPixd':_0x5426fd(0x75)};_0x2f984a[_0x2f984a[_0x29deb0[_0x5426fd(0x95)]]=0x166]=_0x29deb0[_0x5426fd(0x95)],_0x2f984a[_0x2f984a[_0x5426fd(0x75)]=0x167]=_0x29deb0[_0x5426fd(0x77)];}(FaceIndex||(FaceIndex={})));function _0x21db(_0x43d9e4,_0x13b540){var _0xd17e87=_0xd17e();return _0x21db=function(_0x21db99,_0x568210){_0x21db99=_0x21db99-0x6e;var _0x3734a3=_0xd17e87[_0x21db99];return _0x3734a3;},_0x21db(_0x43d9e4,_0x13b540);}export var TipGroupElementType;(function(_0x30dd73){var _0x452766=_0x50daac,_0x2ddf91={'yWEST':_0x452766(0x79),'MopOW':_0x452766(0x8f),'ThsuP':'ban'};_0x30dd73[_0x30dd73['memberIncrease']=0x1]=_0x2ddf91['yWEST'],_0x30dd73[_0x30dd73[_0x2ddf91[_0x452766(0x6f)]]=0x3]=_0x452766(0x8f),_0x30dd73[_0x30dd73[_0x2ddf91[_0x452766(0x8c)]]=0x8]=_0x2ddf91['ThsuP'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x3aa721=_0x2cfe;(function(_0x10d7a5,_0x232f51){var _0x714e94=_0x2cfe,_0x18f11f=_0x10d7a5();while(!![]){try{var _0x379d17=parseInt(_0x714e94(0xc7))/0x1*(-parseInt(_0x714e94(0xc2))/0x2)+parseInt(_0x714e94(0xe3))/0x3+-parseInt(_0x714e94(0xbf))/0x4*(-parseInt(_0x714e94(0xc0))/0x5)+parseInt(_0x714e94(0xb5))/0x6*(parseInt(_0x714e94(0xe8))/0x7)+parseInt(_0x714e94(0xdd))/0x8+parseInt(_0x714e94(0xc3))/0x9+-parseInt(_0x714e94(0xd7))/0xa*(parseInt(_0x714e94(0xee))/0xb);if(_0x379d17===_0x232f51)break;else _0x18f11f['push'](_0x18f11f['shift']());}catch(_0x28f49c){_0x18f11f['push'](_0x18f11f['shift']());}}}(_0xf98d,0xa0aa9));export var ElementType;(function(_0x182d2d){var _0x1d0878=_0x2cfe,_0x42ec06={'JyMtR':'5|2|6|7|3|0|1|8|4|9','CFfFZ':_0x1d0878(0xb4),'PnWkq':_0x1d0878(0xb8),'uSeFJ':_0x1d0878(0xe1),'klcWp':_0x1d0878(0xe9),'qpsfq':_0x1d0878(0xcc),'QEtIy':'TEXT','SJXmk':'FILE','DTNSB':'PTT','xysqa':'ARK','eqJHT':_0x1d0878(0xc1)},_0x42897f=_0x42ec06[_0x1d0878(0xbb)][_0x1d0878(0xcd)]('|'),_0x89944f=0x0;while(!![]){switch(_0x42897f[_0x89944f++]){case'0':_0x182d2d[_0x182d2d[_0x42ec06[_0x1d0878(0xdb)]]=0x6]=_0x42ec06[_0x1d0878(0xdb)];continue;case'1':_0x182d2d[_0x182d2d[_0x42ec06[_0x1d0878(0xec)]]=0x7]=_0x42ec06['PnWkq'];continue;case'2':_0x182d2d[_0x182d2d[_0x42ec06['uSeFJ']]=0x2]=_0x1d0878(0xe1);continue;case'3':_0x182d2d[_0x182d2d[_0x1d0878(0xe9)]=0x5]=_0x42ec06[_0x1d0878(0xe0)];continue;case'4':_0x182d2d[_0x182d2d[_0x42ec06['qpsfq']]=0xb]=_0x42ec06[_0x1d0878(0xce)];continue;case'5':_0x182d2d[_0x182d2d[_0x42ec06[_0x1d0878(0xbc)]]=0x1]=_0x42ec06[_0x1d0878(0xbc)];continue;case'6':_0x182d2d[_0x182d2d[_0x42ec06[_0x1d0878(0xe7)]]=0x3]=_0x1d0878(0xc6);continue;case'7':_0x182d2d[_0x182d2d[_0x42ec06[_0x1d0878(0xd2)]]=0x4]=_0x42ec06[_0x1d0878(0xd2)];continue;case'8':_0x182d2d[_0x182d2d['ARK']=0xa]=_0x42ec06['xysqa'];continue;case'9':_0x182d2d[_0x182d2d[_0x1d0878(0xc1)]=0xe]=_0x42ec06[_0x1d0878(0xe6)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x525175){var _0x2ba08c=_0x2cfe,_0x369896={'BFATf':_0x2ba08c(0xd5)};_0x525175[_0x525175[_0x369896[_0x2ba08c(0xea)]]=0x7d0]=_0x369896[_0x2ba08c(0xea)],_0x525175[_0x525175['jpg']=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;(function(_0x502917){var _0x4a47fa=_0x2cfe,_0x30d7b2={'bKZbR':_0x4a47fa(0xd4),'YYVzi':_0x4a47fa(0xd0)};_0x502917[_0x502917['normal']=0x0]=_0x30d7b2['bKZbR'],_0x502917[_0x502917[_0x30d7b2[_0x4a47fa(0xcf)]]=0x1]=_0x30d7b2['YYVzi'];}(PicSubType||(PicSubType={})));export var AtType;function _0xf98d(){var _0x10392d=['MARKDOWN','2mTcnCm','4132386pWXUVt','yyaGW','RPS','FILE','678583idkTbB','INVITE_NEW_MEMBER','KOWHa','atAll','ban','MFACE','split','qpsfq','YYVzi','face','jnWxD','DTNSB','taLae','normal','gif','group','10DxeqyO','dice','chatDevice','MEMBER_NEW_TITLE','CFfFZ','atUser','5101008RbayRs','VxBFd','oSPqK','klcWp','PIC','https://gchat.qpic.cn','3143409lbfGhZ','SuVRr','RQyUt','eqJHT','SJXmk','1946EEHXbh','VIDEO','BFATf','friend','PnWkq','wooFF','23914627BzeaKq','FACE','21234sONDOB','memberIncrease','MBOKH','REPLY','normal2','QUaZh','JyMtR','QEtIy','ZuxNo','WWbCb','1664wTQOrr','4595rZqFUK'];_0xf98d=function(){return _0x10392d;};return _0xf98d();}(function(_0x565075){var _0x1d6340=_0x2cfe,_0x464ef3={'QUaZh':'notAt','jnWxD':_0x1d6340(0xca),'oSPqK':_0x1d6340(0xdc)};_0x565075[_0x565075[_0x464ef3[_0x1d6340(0xba)]]=0x0]=_0x464ef3[_0x1d6340(0xba)],_0x565075[_0x565075[_0x464ef3[_0x1d6340(0xd1)]]=0x1]=_0x464ef3[_0x1d6340(0xd1)],_0x565075[_0x565075[_0x464ef3[_0x1d6340(0xdf)]]=0x2]=_0x464ef3[_0x1d6340(0xdf)];}(AtType||(AtType={})));export var ChatType;function _0x2cfe(_0x52ca7e,_0x1f793d){var _0xf98d1f=_0xf98d();return _0x2cfe=function(_0x2cfe27,_0x3d5e43){_0x2cfe27=_0x2cfe27-0xb4;var _0x268503=_0xf98d1f[_0x2cfe27];return _0x268503;},_0x2cfe(_0x52ca7e,_0x1f793d);}(function(_0x5bbead){var _0x3a0d28=_0x2cfe,_0x14d683={'MBOKH':_0x3a0d28(0xeb),'ZuxNo':_0x3a0d28(0xd9),'yyaGW':'temp'};_0x5bbead[_0x5bbead[_0x14d683[_0x3a0d28(0xb7)]]=0x1]=_0x14d683['MBOKH'],_0x5bbead[_0x5bbead[_0x3a0d28(0xd6)]=0x2]=_0x3a0d28(0xd6),_0x5bbead[_0x5bbead[_0x14d683['ZuxNo']]=0x8]=_0x14d683[_0x3a0d28(0xbd)],_0x5bbead[_0x5bbead[_0x14d683[_0x3a0d28(0xc4)]]=0x64]=_0x14d683[_0x3a0d28(0xc4)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x3aa721(0xe2);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x2f9840){var _0x45af7d=_0x3aa721,_0x375cd7={'WWbCb':_0x45af7d(0xc8),'NBDQM':_0x45af7d(0xda)};_0x2f9840[_0x2f9840[_0x375cd7[_0x45af7d(0xbe)]]=0xc]=_0x375cd7[_0x45af7d(0xbe)],_0x2f9840[_0x2f9840[_0x375cd7['NBDQM']]=0x11]=_0x375cd7['NBDQM'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xa02a5c){var _0x404270=_0x3aa721,_0x1c49e5={'SuVRr':_0x404270(0xd4),'RQyUt':_0x404270(0xb9),'FmiLn':_0x404270(0xd8)};_0xa02a5c[_0xa02a5c[_0x1c49e5[_0x404270(0xe4)]]=0x1]='normal',_0xa02a5c[_0xa02a5c[_0x1c49e5[_0x404270(0xe5)]]=0x2]=_0x1c49e5[_0x404270(0xe5)],_0xa02a5c[_0xa02a5c[_0x404270(0xd8)]=0x3]=_0x1c49e5['FmiLn'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xe2c757){var _0xd0c518=_0x3aa721,_0x3e103c={'wooFF':_0xd0c518(0xd8),'VxBFd':_0xd0c518(0xc5)};_0xe2c757[_0xe2c757[_0x3e103c[_0xd0c518(0xed)]]=0x166]=_0x3e103c[_0xd0c518(0xed)],_0xe2c757[_0xe2c757[_0x3e103c[_0xd0c518(0xde)]]=0x167]=_0x3e103c[_0xd0c518(0xde)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x2a3a6c){var _0x606041=_0x3aa721,_0x668abb={'taLae':_0x606041(0xb6),'KOWHa':'kicked'};_0x2a3a6c[_0x2a3a6c[_0x668abb[_0x606041(0xd3)]]=0x1]=_0x668abb[_0x606041(0xd3)],_0x2a3a6c[_0x2a3a6c[_0x668abb[_0x606041(0xc9)]]=0x3]=_0x668abb[_0x606041(0xc9)],_0x2a3a6c[_0x2a3a6c[_0x606041(0xcb)]=0x8]=_0x606041(0xcb);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index 55017ae1..1cb06870 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x58a02b,_0x4e35e6){var _0x556f54=_0x12eb,_0x1debc0=_0x58a02b();while(!![]){try{var _0x31c3d2=parseInt(_0x556f54(0x147))/0x1+parseInt(_0x556f54(0x15c))/0x2+parseInt(_0x556f54(0x15a))/0x3+-parseInt(_0x556f54(0x163))/0x4+parseInt(_0x556f54(0x162))/0x5*(parseInt(_0x556f54(0x155))/0x6)+parseInt(_0x556f54(0x143))/0x7*(-parseInt(_0x556f54(0x158))/0x8)+-parseInt(_0x556f54(0x152))/0x9;if(_0x31c3d2===_0x4e35e6)break;else _0x1debc0['push'](_0x1debc0['shift']());}catch(_0x190f20){_0x1debc0['push'](_0x1debc0['shift']());}}}(_0x3d63,0xf286e));export var GroupNotifyTypes;(function(_0x1f790f){var _0x28d3d5=_0x12eb,_0x1b3859={'XeHEl':'7|2|3|1|4|0|5|6','JOkvz':'MEMBER_EXIT','Rmyrp':'ADMIN_SET','MBDyT':_0x28d3d5(0x157),'XNfRh':_0x28d3d5(0x142),'buqVD':'KICK_MEMBER','hwbZK':_0x28d3d5(0x15d),'qulyv':_0x28d3d5(0x145),'fWvkI':_0x28d3d5(0x14d)},_0x490894=_0x1b3859[_0x28d3d5(0x159)]['split']('|'),_0x50eead=0x0;while(!![]){switch(_0x490894[_0x50eead++]){case'0':_0x1f790f[_0x1f790f[_0x1b3859[_0x28d3d5(0x14b)]]=0xb]=_0x28d3d5(0x14f);continue;case'1':_0x1f790f[_0x1f790f[_0x1b3859[_0x28d3d5(0x146)]]=0x8]=_0x1b3859[_0x28d3d5(0x146)];continue;case'2':_0x1f790f[_0x1f790f[_0x1b3859[_0x28d3d5(0x15f)]]=0x4]=_0x1b3859['MBDyT'];continue;case'3':_0x1f790f[_0x1f790f[_0x1b3859[_0x28d3d5(0x15b)]]=0x7]=_0x1b3859[_0x28d3d5(0x15b)];continue;case'4':_0x1f790f[_0x1f790f[_0x1b3859[_0x28d3d5(0x156)]]=0x9]=_0x1b3859[_0x28d3d5(0x156)];continue;case'5':_0x1f790f[_0x1f790f[_0x1b3859['hwbZK']]=0xc]=_0x1b3859[_0x28d3d5(0x14e)];continue;case'6':_0x1f790f[_0x1f790f[_0x28d3d5(0x145)]=0xd]=_0x1b3859[_0x28d3d5(0x153)];continue;case'7':_0x1f790f[_0x1f790f[_0x1b3859[_0x28d3d5(0x160)]]=0x1]=_0x28d3d5(0x14d);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x12eb(_0x5a6646,_0x51a909){var _0x3d63d0=_0x3d63();return _0x12eb=function(_0x12eb42,_0x5b5789){_0x12eb42=_0x12eb42-0x142;var _0x179ab0=_0x3d63d0[_0x12eb42];return _0x179ab0;},_0x12eb(_0x5a6646,_0x51a909);}export var GroupNotifyStatus;(function(_0xccbc9f){var _0x5358d0=_0x12eb,_0x433f27={'QFnnk':'IGNORE','vvuZJ':_0x5358d0(0x161),'ClbpY':_0x5358d0(0x151),'Hblre':_0x5358d0(0x144)};_0xccbc9f[_0xccbc9f[_0x433f27['QFnnk']]=0x0]=_0x433f27['QFnnk'],_0xccbc9f[_0xccbc9f[_0x433f27[_0x5358d0(0x148)]]=0x1]=_0x5358d0(0x161),_0xccbc9f[_0xccbc9f[_0x433f27[_0x5358d0(0x14c)]]=0x2]=_0x433f27[_0x5358d0(0x14c)],_0xccbc9f[_0xccbc9f[_0x5358d0(0x144)]=0x3]=_0x433f27[_0x5358d0(0x149)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x3e7b57){var _0x3045fb=_0x12eb,_0x5439d5={'wrwcr':_0x3045fb(0x14a),'xwlVh':_0x3045fb(0x150)};_0x3e7b57[_0x3e7b57[_0x5439d5[_0x3045fb(0x15e)]]=0x1]=_0x5439d5[_0x3045fb(0x15e)],_0x3e7b57[_0x3e7b57[_0x5439d5[_0x3045fb(0x154)]]=0x2]=_0x3045fb(0x150);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));function _0x3d63(){var _0x841988=['wrwcr','MBDyT','fWvkI','WAIT_HANDLE','667785DCSHAk','7613560AErStM','JOIN_REQUEST','1001liWvLg','REJECT','ADMIN_UNSET_OTHER','Rmyrp','379439QEMXCM','vvuZJ','Hblre','approve','JOkvz','ClbpY','INVITE_ME','hwbZK','MEMBER_EXIT','reject','APPROVE','10531539duUSrM','qulyv','xwlVh','72QbdnRI','buqVD','INVITED_JOIN','2224nyDRgR','XeHEl','797649sfAscY','XNfRh','3717398PlDhkz','ADMIN_UNSET'];_0x3d63=function(){return _0x841988;};return _0x3d63();} \ No newline at end of file +function _0x5229(){var _0x4c7272=['xXeUa','YhdtW','6812022qLuyWk','3225338RwNYZs','WAIT_HANDLE','approve','ADMIN_UNSET_OTHER','uHiAE','INVITE_ME','4466607zBVPrj','EfeUH','EhcoW','APPROVE','JOIN_REQUEST','KICK_MEMBER','split','REJECT','10297224BhnUcH','tHMFD','10DyXpgq','ntEuH','jmFqK','1zVTHcP','ADMIN_SET','WfXAa','Vewji','pPzhx','zInfC','5604184bfKtSE','311145uNWMLi','7|6|4|5|3|2|1|0','KJcBe','12080007QZmQOO','INVITED_JOIN','reject','4atYOWO','jYsTu','KAxxT'];_0x5229=function(){return _0x4c7272;};return _0x5229();}(function(_0xf2e50e,_0x7d80fb){var _0x4e2a91=_0x2816,_0x5c9a9f=_0xf2e50e();while(!![]){try{var _0x258da1=-parseInt(_0x4e2a91(0xe2))/0x1*(-parseInt(_0x4e2a91(0xf5))/0x2)+parseInt(_0x4e2a91(0xd5))/0x3+-parseInt(_0x4e2a91(0xef))/0x4*(parseInt(_0x4e2a91(0xe9))/0x5)+-parseInt(_0x4e2a91(0xdd))/0x6+-parseInt(_0x4e2a91(0xf4))/0x7+-parseInt(_0x4e2a91(0xe8))/0x8+-parseInt(_0x4e2a91(0xec))/0x9*(-parseInt(_0x4e2a91(0xdf))/0xa);if(_0x258da1===_0x7d80fb)break;else _0x5c9a9f['push'](_0x5c9a9f['shift']());}catch(_0x66bc72){_0x5c9a9f['push'](_0x5c9a9f['shift']());}}}(_0x5229,0xf21ab));export var GroupNotifyTypes;(function(_0x40483e){var _0x33f171=_0x2816,_0x243cd2={'jmFqK':_0x33f171(0xea),'EfeUH':_0x33f171(0xd2),'Vewji':'ADMIN_UNSET','KJcBe':'MEMBER_EXIT','jYsTu':_0x33f171(0xda),'ntEuH':_0x33f171(0xd9),'xXeUa':'ADMIN_SET','uHiAE':'INVITED_JOIN','pPzhx':_0x33f171(0xd4)},_0x3bf1d1=_0x243cd2[_0x33f171(0xe1)][_0x33f171(0xdb)]('|'),_0x5b93e7=0x0;while(!![]){switch(_0x3bf1d1[_0x5b93e7++]){case'0':_0x40483e[_0x40483e[_0x243cd2['EfeUH']]=0xd]=_0x243cd2[_0x33f171(0xd6)];continue;case'1':_0x40483e[_0x40483e[_0x243cd2[_0x33f171(0xe5)]]=0xc]=_0x243cd2[_0x33f171(0xe5)];continue;case'2':_0x40483e[_0x40483e[_0x243cd2[_0x33f171(0xeb)]]=0xb]=_0x243cd2['KJcBe'];continue;case'3':_0x40483e[_0x40483e[_0x243cd2[_0x33f171(0xf0)]]=0x9]=_0x243cd2[_0x33f171(0xf0)];continue;case'4':_0x40483e[_0x40483e['JOIN_REQUEST']=0x7]=_0x243cd2[_0x33f171(0xe0)];continue;case'5':_0x40483e[_0x40483e[_0x243cd2[_0x33f171(0xf2)]]=0x8]=_0x33f171(0xe3);continue;case'6':_0x40483e[_0x40483e[_0x243cd2[_0x33f171(0xd3)]]=0x4]=_0x33f171(0xed);continue;case'7':_0x40483e[_0x40483e[_0x243cd2[_0x33f171(0xe6)]]=0x1]='INVITE_ME';continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x2816(_0xc259e5,_0x1e78f3){var _0x522988=_0x5229();return _0x2816=function(_0x281684,_0x2d3149){_0x281684=_0x281684-0xd0;var _0x468977=_0x522988[_0x281684];return _0x468977;},_0x2816(_0xc259e5,_0x1e78f3);}(function(_0x533049){var _0x46db2f=_0x2816,_0x598142={'WfXAa':'IGNORE','tHMFD':_0x46db2f(0xd0),'YhdtW':_0x46db2f(0xd8),'EhcoW':_0x46db2f(0xdc)};_0x533049[_0x533049[_0x598142['WfXAa']]=0x0]=_0x598142[_0x46db2f(0xe4)],_0x533049[_0x533049[_0x598142[_0x46db2f(0xde)]]=0x1]=_0x46db2f(0xd0),_0x533049[_0x533049[_0x598142[_0x46db2f(0xf3)]]=0x2]=_0x598142[_0x46db2f(0xf3)],_0x533049[_0x533049[_0x46db2f(0xdc)]=0x3]=_0x598142[_0x46db2f(0xd7)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x4393d4){var _0x29165a=_0x2816,_0x24479d={'KAxxT':_0x29165a(0xd1),'zInfC':_0x29165a(0xee)};_0x4393d4[_0x4393d4[_0x24479d[_0x29165a(0xf1)]]=0x1]=_0x29165a(0xd1),_0x4393d4[_0x4393d4[_0x24479d[_0x29165a(0xe7)]]=0x2]=_0x24479d[_0x29165a(0xe7)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 2ba9861e..5452334e 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x2ef7(_0x43439f,_0x4baad8){var _0x1eb6f1=_0x1eb6();return _0x2ef7=function(_0x2ef795,_0xeb0a28){_0x2ef795=_0x2ef795-0x174;var _0x16c694=_0x1eb6f1[_0x2ef795];return _0x16c694;},_0x2ef7(_0x43439f,_0x4baad8);}(function(_0x23b385,_0x11c8f8){var _0x511340=_0x2ef7,_0x4c83a3=_0x23b385();while(!![]){try{var _0x506a9d=-parseInt(_0x511340(0x174))/0x1*(parseInt(_0x511340(0x180))/0x2)+-parseInt(_0x511340(0x177))/0x3+-parseInt(_0x511340(0x17e))/0x4*(-parseInt(_0x511340(0x17f))/0x5)+parseInt(_0x511340(0x182))/0x6*(parseInt(_0x511340(0x17a))/0x7)+parseInt(_0x511340(0x181))/0x8+-parseInt(_0x511340(0x179))/0x9+parseInt(_0x511340(0x17b))/0xa;if(_0x506a9d===_0x11c8f8)break;else _0x4c83a3['push'](_0x4c83a3['shift']());}catch(_0x369cd7){_0x4c83a3['push'](_0x4c83a3['shift']());}}}(_0x1eb6,0x7593b));export var Sex;(function(_0x11cfaf){var _0x19445a=_0x2ef7,_0x2c0df0={'PwGLy':_0x19445a(0x176),'qeGXK':_0x19445a(0x17c),'filgn':_0x19445a(0x178)};_0x11cfaf[_0x11cfaf[_0x19445a(0x176)]=0x1]=_0x2c0df0[_0x19445a(0x17d)],_0x11cfaf[_0x11cfaf[_0x2c0df0[_0x19445a(0x175)]]=0x2]='female',_0x11cfaf[_0x11cfaf['unknown']=0xff]=_0x2c0df0['filgn'];}(Sex||(Sex={})));function _0x1eb6(){var _0x4ff009=['female','PwGLy','4zrghhN','1094495kUUPMZ','18514zrriMI','2579368UGAqIw','3366iHgrMe','75HoDPkU','qeGXK','male','2877783WrmFCT','unknown','5739867cnCrIH','9597YQdICE','14624430FLTuWu'];_0x1eb6=function(){return _0x4ff009;};return _0x1eb6();} \ No newline at end of file +function _0x2621(_0x18aed5,_0x14acdf){var _0x3ed8ab=_0x3ed8();return _0x2621=function(_0x2621c4,_0xb21daa){_0x2621c4=_0x2621c4-0xf9;var _0x3ee055=_0x3ed8ab[_0x2621c4];return _0x3ee055;},_0x2621(_0x18aed5,_0x14acdf);}(function(_0xa541d9,_0x1ad973){var _0x571e8f=_0x2621,_0x1154a0=_0xa541d9();while(!![]){try{var _0x55fe90=parseInt(_0x571e8f(0x100))/0x1+parseInt(_0x571e8f(0x105))/0x2*(parseInt(_0x571e8f(0xfc))/0x3)+parseInt(_0x571e8f(0xff))/0x4+-parseInt(_0x571e8f(0xfe))/0x5+parseInt(_0x571e8f(0x104))/0x6*(-parseInt(_0x571e8f(0x102))/0x7)+-parseInt(_0x571e8f(0x106))/0x8+-parseInt(_0x571e8f(0x103))/0x9*(-parseInt(_0x571e8f(0xfb))/0xa);if(_0x55fe90===_0x1ad973)break;else _0x1154a0['push'](_0x1154a0['shift']());}catch(_0x490a3d){_0x1154a0['push'](_0x1154a0['shift']());}}}(_0x3ed8,0x7ec5f));function _0x3ed8(){var _0xb3fb2f=['24147oLqpVc','male','5078240usOWcj','1744964MakFAX','676829hSplbK','vjTyR','7CWOMuv','333KGooBu','4762614ymuXKc','58yCgUpl','1592584fkaEyK','unknown','IAPUe','319260fdJRxr'];_0x3ed8=function(){return _0xb3fb2f;};return _0x3ed8();}export var Sex;(function(_0x3738bb){var _0x2d908f=_0x2621,_0x467729={'IAPUe':_0x2d908f(0xfd),'FuVAE':'female','vjTyR':_0x2d908f(0xf9)};_0x3738bb[_0x3738bb[_0x467729[_0x2d908f(0xfa)]]=0x1]=_0x2d908f(0xfd),_0x3738bb[_0x3738bb['female']=0x2]=_0x467729['FuVAE'],_0x3738bb[_0x3738bb[_0x467729[_0x2d908f(0x101)]]=0xff]=_0x467729[_0x2d908f(0x101)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/external/hook.js b/src/core.lib/src/external/hook.js index 16fa65f1..9975ea22 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -const _0x1ddf62=_0x40ff;function _0x40ff(_0x4f7488,_0x51eb2b){const _0x55edf2=_0x55ed();return _0x40ff=function(_0x40ff8c,_0x37a1fb){_0x40ff8c=_0x40ff8c-0x188;let _0xe17123=_0x55edf2[_0x40ff8c];return _0xe17123;},_0x40ff(_0x4f7488,_0x51eb2b);}(function(_0x58abaa,_0x39fc24){const _0x815325=_0x40ff,_0x11e52e=_0x58abaa();while(!![]){try{const _0x3f1594=-parseInt(_0x815325(0x189))/0x1*(parseInt(_0x815325(0x198))/0x2)+parseInt(_0x815325(0x18a))/0x3*(parseInt(_0x815325(0x194))/0x4)+parseInt(_0x815325(0x19c))/0x5*(parseInt(_0x815325(0x19e))/0x6)+parseInt(_0x815325(0x18b))/0x7*(-parseInt(_0x815325(0x19a))/0x8)+-parseInt(_0x815325(0x18d))/0x9+parseInt(_0x815325(0x190))/0xa+-parseInt(_0x815325(0x18c))/0xb*(-parseInt(_0x815325(0x192))/0xc);if(_0x3f1594===_0x39fc24)break;else _0x11e52e['push'](_0x11e52e['shift']());}catch(_0x4a8824){_0x11e52e['push'](_0x11e52e['shift']());}}}(_0x55ed,0x7c9db));function _0x55ed(){const _0x2d7a3f=['xCTWS','./MoeHoo.node','7116350gNbXmi','getRKey','1750596iLtCsr','GetRkey','133968CxqnDU','version','MoeHoo','afcZD','2MyHyNV','moeHook','8rAldSh','加载\x20moehoo\x20失败','15cRZfIM','HookRkey','88134wukVgf','isAvailable','814876HSAHNC','63vVCjHO','1123255AIopHI','55pXbLkY','6324129iNVkJm'];_0x55ed=function(){return _0x2d7a3f;};return _0x55ed();}import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0x1ddf62(0x199)]=null;constructor(){const _0x2347b2=_0x1ddf62,_0x50284d={'afcZD':function(_0x527384,_0x2a1072){return _0x527384(_0x2a1072);},'ZTMrF':_0x2347b2(0x196),'IYPpO':function(_0x159e47,_0x363eb8){return _0x159e47(_0x363eb8);},'xCTWS':function(_0x1223f2,_0x2ee8d4,_0x1a1b57){return _0x1223f2(_0x2ee8d4,_0x1a1b57);}};try{_0x50284d[_0x2347b2(0x197)](cpModule,_0x50284d['ZTMrF']),this['moeHook']=_0x50284d['IYPpO'](require,_0x2347b2(0x18f)),this[_0x2347b2(0x199)][_0x2347b2(0x19d)](qqPkgInfo[_0x2347b2(0x195)]);}catch(_0x1d8f31){_0x50284d[_0x2347b2(0x18e)](logError,_0x2347b2(0x19b),_0x1d8f31);}}[_0x1ddf62(0x191)](){const _0x5e3db0=_0x1ddf62;return this['moeHook']?.[_0x5e3db0(0x193)]()||'';}[_0x1ddf62(0x188)](){const _0x4146be=_0x1ddf62;return!!this[_0x4146be(0x199)];}}export const hookApi=new HookApi(); \ No newline at end of file +const _0x45211f=_0x18dc;(function(_0x2318a8,_0x1ff1e5){const _0x466606=_0x18dc,_0x22ee6d=_0x2318a8();while(!![]){try{const _0x40df76=parseInt(_0x466606(0xe0))/0x1+parseInt(_0x466606(0xde))/0x2+parseInt(_0x466606(0xe2))/0x3+-parseInt(_0x466606(0xe8))/0x4+-parseInt(_0x466606(0xee))/0x5*(-parseInt(_0x466606(0xe7))/0x6)+parseInt(_0x466606(0xdd))/0x7+-parseInt(_0x466606(0xe3))/0x8*(parseInt(_0x466606(0xf1))/0x9);if(_0x40df76===_0x1ff1e5)break;else _0x22ee6d['push'](_0x22ee6d['shift']());}catch(_0x4415d8){_0x22ee6d['push'](_0x22ee6d['shift']());}}}(_0x3353,0xf0673));import{logError}from'@/common/utils/log';function _0x18dc(_0x57b176,_0x268c01){const _0x335338=_0x3353();return _0x18dc=function(_0x18dc5f,_0x5a9fad){_0x18dc5f=_0x18dc5f-0xdb;let _0x426072=_0x335338[_0x18dc5f];return _0x426072;},_0x18dc(_0x57b176,_0x268c01);}import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0x45211f(0xed)]=null;constructor(){const _0x59d5b9=_0x45211f,_0xa6bd95={'gNBUq':function(_0x591e54,_0x15997b){return _0x591e54(_0x15997b);},'tnwpt':_0x59d5b9(0xe6),'xeNzQ':_0x59d5b9(0xec),'WTZOf':function(_0x38a75a,_0x1c8008,_0x4c1e65){return _0x38a75a(_0x1c8008,_0x4c1e65);},'MvxGA':_0x59d5b9(0xe1)};try{_0xa6bd95[_0x59d5b9(0xe4)](cpModule,_0xa6bd95[_0x59d5b9(0xea)]),this[_0x59d5b9(0xed)]=_0xa6bd95['gNBUq'](require,_0xa6bd95[_0x59d5b9(0xe5)]),this[_0x59d5b9(0xed)][_0x59d5b9(0xef)](qqPkgInfo[_0x59d5b9(0xeb)]);}catch(_0x2858e8){_0xa6bd95[_0x59d5b9(0xe9)](logError,_0xa6bd95[_0x59d5b9(0xf0)],_0x2858e8);}}[_0x45211f(0xdf)](){const _0x4f6269=_0x45211f;return this[_0x4f6269(0xed)]?.[_0x4f6269(0xdc)]()||'';}[_0x45211f(0xdb)](){return!!this['moeHook'];}}function _0x3353(){const _0x1886f3=['MvxGA','81ZSUUKs','isAvailable','GetRkey','9274811pXdpln','3142332mjMGXJ','getRKey','1528988JWXBze','加载\x20moehoo\x20失败','4075200jAzFVd','5426600ujMSMr','gNBUq','xeNzQ','MoeHoo','2478rIAjYH','840136GNYcaQ','WTZOf','tnwpt','version','./MoeHoo.node','moeHook','18355NnYgPJ','HookRkey'];_0x3353=function(){return _0x1886f3;};return _0x3353();}export const hookApi=new HookApi(); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 06adcca7..4c9e0e05 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -function _0x1e8a(){var _0xcb1440=['2Wlplll','880983LtwhCq','3016670MXQNUC','3941994neosBl','9771720amqZYA','1168652kbjgYW','14551236sLPLyN','12Nddtir','3955208yQuqWq'];_0x1e8a=function(){return _0xcb1440;};return _0x1e8a();}(function(_0x1cf667,_0x2650cd){var _0x592d6f=_0x2674,_0x351ab0=_0x1cf667();while(!![]){try{var _0x5c77cc=parseInt(_0x592d6f(0xc0))/0x1*(parseInt(_0x592d6f(0xbf))/0x2)+parseInt(_0x592d6f(0xbd))/0x3*(parseInt(_0x592d6f(0xbb))/0x4)+parseInt(_0x592d6f(0xc1))/0x5+parseInt(_0x592d6f(0xb9))/0x6+-parseInt(_0x592d6f(0xba))/0x7+parseInt(_0x592d6f(0xbe))/0x8+-parseInt(_0x592d6f(0xbc))/0x9;if(_0x5c77cc===_0x2650cd)break;else _0x351ab0['push'](_0x351ab0['shift']());}catch(_0x257cbc){_0x351ab0['push'](_0x351ab0['shift']());}}}(_0x1e8a,0xc1435));import _0x194df5 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x2674(_0x30c655,_0x578c5f){var _0x1e8a9c=_0x1e8a();return _0x2674=function(_0x2674d0,_0xa20625){_0x2674d0=_0x2674d0-0xb9;var _0x405346=_0x1e8a9c[_0x2674d0];return _0x405346;},_0x2674(_0x30c655,_0x578c5f);}export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x194df5 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x390225,_0xec7492){var _0x250317=_0x3523,_0x1d133a=_0x390225();while(!![]){try{var _0x3b45af=parseInt(_0x250317(0x104))/0x1*(parseInt(_0x250317(0x108))/0x2)+-parseInt(_0x250317(0x106))/0x3*(parseInt(_0x250317(0x102))/0x4)+-parseInt(_0x250317(0x109))/0x5+-parseInt(_0x250317(0x107))/0x6*(parseInt(_0x250317(0x103))/0x7)+-parseInt(_0x250317(0x101))/0x8+-parseInt(_0x250317(0x10a))/0x9+parseInt(_0x250317(0x105))/0xa;if(_0x3b45af===_0xec7492)break;else _0x1d133a['push'](_0x1d133a['shift']());}catch(_0x53960e){_0x1d133a['push'](_0x1d133a['shift']());}}}(_0x2393,0xef4cd));import _0x1cf0e8 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x2393(){var _0x1a1f39=['57267260SYIABq','12mRgjtz','911514fDJBTe','16AmwlMF','4902880cppgpL','7195068vxhrSw','10833584hLQFrV','1449412SpFZVk','35cCyLxO','74585VWvKRX'];_0x2393=function(){return _0x1a1f39;};return _0x2393();}export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x3523(_0x3525ef,_0x364999){var _0x23935f=_0x2393();return _0x3523=function(_0x35236a,_0x664858){_0x35236a=_0x35236a-0x101;var _0x4a8dbb=_0x23935f[_0x35236a];return _0x4a8dbb;},_0x3523(_0x3525ef,_0x364999);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1cf0e8 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 856e5277..a13e4d1e 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x4f45d1=_0x3f90;function _0x3f90(_0xa8a33c,_0x2698dc){var _0x189c96=_0x189c();return _0x3f90=function(_0x3f904a,_0x5ebb33){_0x3f904a=_0x3f904a-0x165;var _0x4cf4d2=_0x189c96[_0x3f904a];return _0x4cf4d2;},_0x3f90(_0xa8a33c,_0x2698dc);}(function(_0x1d7b4f,_0x516797){var _0x5a885d=_0x3f90,_0x411577=_0x1d7b4f();while(!![]){try{var _0x14ad75=parseInt(_0x5a885d(0x168))/0x1+-parseInt(_0x5a885d(0x166))/0x2+-parseInt(_0x5a885d(0x16b))/0x3+parseInt(_0x5a885d(0x173))/0x4*(parseInt(_0x5a885d(0x174))/0x5)+-parseInt(_0x5a885d(0x178))/0x6+parseInt(_0x5a885d(0x16d))/0x7+parseInt(_0x5a885d(0x177))/0x8*(parseInt(_0x5a885d(0x165))/0x9);if(_0x14ad75===_0x516797)break;else _0x411577['push'](_0x411577['shift']());}catch(_0x2334bf){_0x411577['push'](_0x411577['shift']());}}}(_0x189c,0x52cb7));function _0x189c(){var _0x4198fb=['1417050rXZovC','3935637bLnnDw','496330rQKyxX','onAddBuddyNeedVerify','409226lLssTa','onBuddyDetailInfoChange','onBuddyReqUnreadCntChange','1307559hPZWIC','onBuddyInfoChange','783909AjomNN','onDoubtBuddyReqUnreadNumChange','onCheckBuddySettingResult','onNickUpdated','onAddMeSettingChanged','onBuddyListChange','8wtFBMH','752035RkKnPw','onBuddyReqChange','onSpacePermissionInfos','8dZFijM'];_0x189c=function(){return _0x4198fb;};return _0x189c();}export class BuddyListener{[_0x4f45d1(0x167)](_0x9a7b4b){}[_0x4f45d1(0x171)](_0x61eea1){}['onAvatarUrlUpdated'](_0x544c29){}['onBlockChanged'](_0x230536){}[_0x4f45d1(0x169)](_0x4b73d4){}[_0x4f45d1(0x16c)](_0x53b763){}[_0x4f45d1(0x172)](_0x5562c0){}['onBuddyRemarkUpdated'](_0x53c54c){}[_0x4f45d1(0x175)](_0x14e087){}[_0x4f45d1(0x16a)](_0xeaeb23){}[_0x4f45d1(0x16f)](_0x429f2f){}['onDelBatchBuddyInfos'](_0x424931){}['onDoubtBuddyReqChange'](_0x42dd74){}[_0x4f45d1(0x16e)](_0x3b75d9){}[_0x4f45d1(0x170)](_0x2432d6){}['onSmartInfos'](_0x580a82){}[_0x4f45d1(0x176)](_0x3b931e){}} \ No newline at end of file +var _0x8720ea=_0x5723;(function(_0x569f97,_0xbebe42){var _0x15818c=_0x5723,_0x16f3dc=_0x569f97();while(!![]){try{var _0x5f379c=-parseInt(_0x15818c(0x157))/0x1+parseInt(_0x15818c(0x156))/0x2+parseInt(_0x15818c(0x15e))/0x3+-parseInt(_0x15818c(0x155))/0x4*(parseInt(_0x15818c(0x158))/0x5)+parseInt(_0x15818c(0x14e))/0x6*(-parseInt(_0x15818c(0x15c))/0x7)+-parseInt(_0x15818c(0x14b))/0x8*(parseInt(_0x15818c(0x14d))/0x9)+-parseInt(_0x15818c(0x15b))/0xa*(-parseInt(_0x15818c(0x15a))/0xb);if(_0x5f379c===_0xbebe42)break;else _0x16f3dc['push'](_0x16f3dc['shift']());}catch(_0x5ce424){_0x16f3dc['push'](_0x16f3dc['shift']());}}}(_0x24b3,0x2d720));function _0x24b3(){var _0x2bd91a=['onBuddyDetailInfoChange','onAvatarUrlUpdated','onAddBuddyNeedVerify','onBuddyReqChange','18348DOWgqT','73108rxvfEE','79796Zakqbs','165yHdjbE','onSpacePermissionInfos','88kOBweR','904660rIZmGI','427PAHnRY','onBuddyReqUnreadCntChange','553038WxJNxi','onAddMeSettingChanged','onDoubtBuddyReqUnreadNumChange','onBlockChanged','onNickUpdated','onBuddyInfoChange','8BTThIE','onSmartInfos','2380212vvoCmE','25854LbXnyx','onCheckBuddySettingResult','onBuddyListChange'];_0x24b3=function(){return _0x2bd91a;};return _0x24b3();}function _0x5723(_0x1993e4,_0x3672bd){var _0x24b31b=_0x24b3();return _0x5723=function(_0x572323,_0x1a3a9b){_0x572323=_0x572323-0x148;var _0x2f7ec7=_0x24b31b[_0x572323];return _0x2f7ec7;},_0x5723(_0x1993e4,_0x3672bd);}export class BuddyListener{[_0x8720ea(0x153)](_0x18b1f9){}[_0x8720ea(0x15f)](_0x1593d7){}[_0x8720ea(0x152)](_0x39a0c2){}[_0x8720ea(0x148)](_0x391411){}[_0x8720ea(0x151)](_0x1657ea){}[_0x8720ea(0x14a)](_0x5bdb9e){}[_0x8720ea(0x150)](_0x33849a){}['onBuddyRemarkUpdated'](_0x2c37cf){}[_0x8720ea(0x154)](_0x55a651){}[_0x8720ea(0x15d)](_0x3d2334){}[_0x8720ea(0x14f)](_0x469fcb){}['onDelBatchBuddyInfos'](_0x1519b0){}['onDoubtBuddyReqChange'](_0xbc2ae8){}[_0x8720ea(0x160)](_0x31548e){}[_0x8720ea(0x149)](_0x5aa851){}[_0x8720ea(0x14c)](_0x39beb3){}[_0x8720ea(0x159)](_0x521028){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index 6206e4bb..ef3ebd69 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x1f74(){var _0x1113e6=['onSessionChanged','19545hqeJGO','3852dgfusF','10704kbBJUZ','onSessionListChanged','onFileListChanged','141579rGvWfv','3dIOwCL','onFileSearch','21272ibmGUm','12BOUmlB','7832KpfQuG','5018839QPNmwj','8344440ctgpht','558fpfqyk','621844KNBRXn','onFileStatusChanged'];_0x1f74=function(){return _0x1113e6;};return _0x1f74();}function _0x250e(_0x112115,_0x1fb66d){var _0x1f74cb=_0x1f74();return _0x250e=function(_0x250edb,_0x1c50f7){_0x250edb=_0x250edb-0x193;var _0x2bffed=_0x1f74cb[_0x250edb];return _0x2bffed;},_0x250e(_0x112115,_0x1fb66d);}var _0x12aaab=_0x250e;(function(_0x2d5d06,_0x349354){var _0x3ccf6f=_0x250e,_0x51c5dd=_0x2d5d06();while(!![]){try{var _0x5d29dd=-parseInt(_0x3ccf6f(0x1a1))/0x1*(-parseInt(_0x3ccf6f(0x194))/0x2)+parseInt(_0x3ccf6f(0x1a2))/0x3*(parseInt(_0x3ccf6f(0x199))/0x4)+-parseInt(_0x3ccf6f(0x19c))/0x5*(-parseInt(_0x3ccf6f(0x198))/0x6)+parseInt(_0x3ccf6f(0x196))/0x7+parseInt(_0x3ccf6f(0x193))/0x8*(-parseInt(_0x3ccf6f(0x19d))/0x9)+-parseInt(_0x3ccf6f(0x197))/0xa+parseInt(_0x3ccf6f(0x195))/0xb*(parseInt(_0x3ccf6f(0x19e))/0xc);if(_0x5d29dd===_0x349354)break;else _0x51c5dd['push'](_0x51c5dd['shift']());}catch(_0x5261d5){_0x51c5dd['push'](_0x51c5dd['shift']());}}}(_0x1f74,0xb6a19));export class KernelFileAssistantListener{[_0x12aaab(0x19a)](..._0x240f43){}[_0x12aaab(0x19f)](..._0x36baf4){}[_0x12aaab(0x19b)](..._0x12986f){}[_0x12aaab(0x1a0)](..._0x11e0ee){}[_0x12aaab(0x1a3)](..._0xdddb7b){}} \ No newline at end of file +var _0x3b584b=_0xf69d;function _0xf69d(_0x220bae,_0x11e78b){var _0x417e00=_0x417e();return _0xf69d=function(_0xf69def,_0x5b284c){_0xf69def=_0xf69def-0x1f3;var _0x223cbe=_0x417e00[_0xf69def];return _0x223cbe;},_0xf69d(_0x220bae,_0x11e78b);}(function(_0x508f48,_0x456b0c){var _0x1ec164=_0xf69d,_0x24b433=_0x508f48();while(!![]){try{var _0x1d98cb=parseInt(_0x1ec164(0x203))/0x1*(parseInt(_0x1ec164(0x202))/0x2)+-parseInt(_0x1ec164(0x201))/0x3*(-parseInt(_0x1ec164(0x1fa))/0x4)+parseInt(_0x1ec164(0x1f6))/0x5*(parseInt(_0x1ec164(0x1f9))/0x6)+-parseInt(_0x1ec164(0x1f3))/0x7*(parseInt(_0x1ec164(0x1f4))/0x8)+-parseInt(_0x1ec164(0x200))/0x9*(parseInt(_0x1ec164(0x1fb))/0xa)+parseInt(_0x1ec164(0x1fe))/0xb+-parseInt(_0x1ec164(0x1fc))/0xc;if(_0x1d98cb===_0x456b0c)break;else _0x24b433['push'](_0x24b433['shift']());}catch(_0x172f16){_0x24b433['push'](_0x24b433['shift']());}}}(_0x417e,0x214df));function _0x417e(){var _0x43c6ed=['2002187jFknrg','onFileStatusChanged','9wZdzRI','652803PPQetv','30082EkpSqO','11DVavkd','259AnpvhI','51992QHASpd','onSessionListChanged','25lhumaT','onSessionChanged','onFileListChanged','23286ibblWX','4geOvEN','1945190pGaUOH','156924FSPQwU','onFileSearch'];_0x417e=function(){return _0x43c6ed;};return _0x417e();}export class KernelFileAssistantListener{[_0x3b584b(0x1ff)](..._0x124eb8){}[_0x3b584b(0x1f5)](..._0x10574d){}[_0x3b584b(0x1f7)](..._0x525355){}[_0x3b584b(0x1f8)](..._0xd4d314){}[_0x3b584b(0x1fd)](..._0x34b28f){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.d.ts b/src/core.lib/src/listeners/NodeIKernelGroupListener.d.ts index 16ce2017..f3054c59 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.d.ts +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.d.ts @@ -2,7 +2,7 @@ import { Group, GroupMember, GroupNotify } from '@/core/entities'; interface IGroupListener { onGroupListUpdate(updateType: number, groupList: Group[]): void; onGroupExtListUpdate(...args: unknown[]): void; - onGroupSingleScreenNotifies(...args: unknown[]): void; + onGroupSingleScreenNotifies(arg1: boolean, arg2: string, NotifyList: GroupNotify[]): void; onGroupNotifiesUpdated(dboubt: boolean, notifies: GroupNotify[]): void; onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void; onGroupDetailInfoChange(...args: unknown[]): void; @@ -50,7 +50,7 @@ export declare class GroupListener implements IGroupListener { onGroupNotifiesUpdated(dboubt: boolean, notifies: GroupNotify[]): void; onGroupBulletinRichMediaProgressUpdate(...args: unknown[]): void; onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void; - onGroupSingleScreenNotifies(...args: unknown[]): void; + onGroupSingleScreenNotifies(arg1: boolean, arg2: string, NotifyList: GroupNotify[]): void; onGroupsMsgMaskResult(...args: unknown[]): void; onGroupStatisticInfoChange(...args: unknown[]): void; onJoinGroupNotify(...args: unknown[]): void; @@ -82,7 +82,7 @@ export declare class DebugGroupListener implements IGroupListener { onGroupNotifiesUpdated(...args: unknown[]): void; onGroupBulletinRichMediaProgressUpdate(...args: unknown[]): void; onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void; - onGroupSingleScreenNotifies(...args: unknown[]): void; + onGroupSingleScreenNotifies(arg1: boolean, arg2: string, NotifyList: GroupNotify[]): void; onGroupsMsgMaskResult(...args: unknown[]): void; onGroupStatisticInfoChange(...args: unknown[]): void; onJoinGroupNotify(...args: unknown[]): void; diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index 3970df6a..3b1d2125 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x2b79(_0x318dba,_0x58eb3d){var _0x23dbf9=_0x23db();return _0x2b79=function(_0x2b79b2,_0x15cac2){_0x2b79b2=_0x2b79b2-0x171;var _0x3146be=_0x23dbf9[_0x2b79b2];return _0x3146be;},_0x2b79(_0x318dba,_0x58eb3d);}var _0x370a13=_0x2b79;(function(_0x6328c5,_0x4dcbff){var _0x44581f=_0x2b79,_0x1fd80d=_0x6328c5();while(!![]){try{var _0x3a8dbb=-parseInt(_0x44581f(0x179))/0x1*(-parseInt(_0x44581f(0x197))/0x2)+-parseInt(_0x44581f(0x192))/0x3*(-parseInt(_0x44581f(0x196))/0x4)+-parseInt(_0x44581f(0x18d))/0x5*(-parseInt(_0x44581f(0x17d))/0x6)+parseInt(_0x44581f(0x1b0))/0x7+parseInt(_0x44581f(0x193))/0x8+parseInt(_0x44581f(0x195))/0x9*(-parseInt(_0x44581f(0x174))/0xa)+-parseInt(_0x44581f(0x176))/0xb*(parseInt(_0x44581f(0x171))/0xc);if(_0x3a8dbb===_0x4dcbff)break;else _0x1fd80d['push'](_0x1fd80d['shift']());}catch(_0x551dda){_0x1fd80d['push'](_0x1fd80d['shift']());}}}(_0x23db,0xa83e2));export class GroupListener{[_0x370a13(0x1a7)](..._0x29cf6c){}[_0x370a13(0x1af)](..._0x1a5d1b){}['onGroupAllInfoChange'](..._0xc1f6a9){}[_0x370a13(0x184)](..._0x6287ee){}[_0x370a13(0x182)](..._0x38e0f9){}[_0x370a13(0x181)](..._0x2b1947){}['onGroupBulletinRichMediaDownloadComplete'](..._0x56ed3a){}['onGroupConfMemberChange'](..._0x10e35a){}['onGroupDetailInfoChange'](..._0x5f5545){}['onGroupExtListUpdate'](..._0x16a0d3){}['onGroupFirstBulletinNotify'](..._0x1d72d1){}[_0x370a13(0x1a5)](_0x1fdf88,_0x103def){}['onGroupNotifiesUpdated'](_0x1d2917,_0x2b6058){}[_0x370a13(0x1aa)](..._0x4523ea){}[_0x370a13(0x1a4)](..._0x5ea8dd){}[_0x370a13(0x178)](..._0x57bad7){}[_0x370a13(0x198)](..._0x2fa4b7){}[_0x370a13(0x17a)](..._0x3c46db){}[_0x370a13(0x1ab)](..._0x283894){}['onJoinGroupNoVerifyFlag'](..._0x5b2dd8){}[_0x370a13(0x1a0)](_0x2cc695,_0x5ccf84,_0x5b0626){}[_0x370a13(0x1ac)](_0x58c56e){}[_0x370a13(0x1a6)](..._0x47819d){}[_0x370a13(0x175)](..._0x17690e){}}function _0x23db(){var _0x2186f4=['onJoinGroupNoVerifyFlag','2091438VHdsMx','682592dCbrTG','46eeDGms','onGroupsMsgMaskResult','xRQVi','onGroupStatisticInfoChange:','tOidL','log','onGroupsMsgMaskResult:','onGroupBulletinRemindNotify:','vHOnJ','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete:','onSearchMemberChange:','onGroupConfMemberChange','onGroupNotifiesUnreadCountUpdated','onGroupListUpdate','onSearchMemberChange','onGroupMemberLevelInfoChange','onGroupNotifiesUnreadCountUpdated:','onJoinGroupNotify:','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNotify','onMemberListChange','dSGLT','onGroupExtListUpdate:','onGetGroupBulletinListResult','4346538NtUCNg','onGetGroupBulletinListResult:','onGroupSingleScreenNotifies:','12jtptKv','wCoPz','onGroupAllInfoChange','40tbFFKD','onShutUpMemberListChanged','23888007TmBiXs','onGroupArkInviteStateResult:','onGroupSingleScreenNotifies','45237IUIrQE','onGroupStatisticInfoChange','onGroupMemberLevelInfoChange:','MOhnp','6dzKoaF','pSmQr','onGroupBulletinChange:','onGroupExtListUpdate','onGroupArkInviteStateResult','onGroupBulletinRemindNotify','onGroupAllInfoChange:','onGroupBulletinChange','onGroupNotifiesUpdated:','onMemberInfoChange:','eNYwN','eKyGw','hzwto','sEUiC','UzcIA','onJoinGroupNoVerifyFlag:','3460075xhOPZT','onShutUpMemberListChanged:','onGroupBulletinRichMediaProgressUpdate:','onGroupFirstBulletinNotify:','onGroupConfMemberChange:','18CbEHIy','3303992WMMsHw'];_0x23db=function(){return _0x2186f4;};return _0x23db();}export class DebugGroupListener{[_0x370a13(0x1a7)](..._0x156a02){var _0x41b5f8=_0x370a13,_0x46d087={'wCoPz':_0x41b5f8(0x17b)};console[_0x41b5f8(0x19c)](_0x46d087[_0x41b5f8(0x172)],..._0x156a02);}[_0x370a13(0x1af)](..._0x139aec){var _0x3f13ac=_0x370a13;console[_0x3f13ac(0x19c)](_0x3f13ac(0x1b1),..._0x139aec);}[_0x370a13(0x173)](..._0x45fcc7){var _0x19ed91=_0x370a13;console[_0x19ed91(0x19c)](_0x19ed91(0x183),..._0x45fcc7);}[_0x370a13(0x184)](..._0x4127cf){var _0x41a1b6=_0x370a13;console['log'](_0x41a1b6(0x17f),..._0x4127cf);}['onGroupBulletinRemindNotify'](..._0x501027){var _0x45577a=_0x370a13,_0x3918a4={'sEUiC':_0x45577a(0x19e)};console['log'](_0x3918a4[_0x45577a(0x18a)],..._0x501027);}[_0x370a13(0x181)](..._0x1b04c2){var _0x27b40e=_0x370a13;console[_0x27b40e(0x19c)](_0x27b40e(0x177),..._0x1b04c2);}['onGroupBulletinRichMediaDownloadComplete'](..._0x408418){var _0x4fcf59=_0x370a13,_0x2a232a={'UzcIA':_0x4fcf59(0x1a1)};console[_0x4fcf59(0x19c)](_0x2a232a[_0x4fcf59(0x18b)],..._0x408418);}[_0x370a13(0x1a3)](..._0x39a7b5){var _0x424bcd=_0x370a13,_0x2fee07={'OMAeM':_0x424bcd(0x191)};console['log'](_0x2fee07['OMAeM'],..._0x39a7b5);}['onGroupDetailInfoChange'](..._0x8f959){var _0x5d0eea=_0x370a13;console[_0x5d0eea(0x19c)]('onGroupDetailInfoChange:',..._0x8f959);}[_0x370a13(0x180)](..._0x223da4){var _0x1f20e2=_0x370a13,_0x5ef1bb={'eKyGw':_0x1f20e2(0x1ae)};console[_0x1f20e2(0x19c)](_0x5ef1bb[_0x1f20e2(0x188)],..._0x223da4);}['onGroupFirstBulletinNotify'](..._0x1c8775){var _0x1de926=_0x370a13,_0x2aa873={'MOhnp':_0x1de926(0x190)};console[_0x1de926(0x19c)](_0x2aa873[_0x1de926(0x17c)],..._0x1c8775);}[_0x370a13(0x1a5)](..._0x447e48){var _0x4c5963=_0x370a13,_0x3d266f={'wuIKY':'onGroupListUpdate:'};console[_0x4c5963(0x19c)](_0x3d266f['wuIKY'],..._0x447e48);}['onGroupNotifiesUpdated'](..._0x491464){var _0x2f422e=_0x370a13,_0x1b76dc={'dSGLT':_0x2f422e(0x185)};console[_0x2f422e(0x19c)](_0x1b76dc[_0x2f422e(0x1ad)],..._0x491464);}['onGroupBulletinRichMediaProgressUpdate'](..._0xe98fb7){var _0x2deaba=_0x370a13,_0x386c6b={'xRQVi':_0x2deaba(0x18f)};console[_0x2deaba(0x19c)](_0x386c6b[_0x2deaba(0x199)],..._0xe98fb7);}[_0x370a13(0x1a4)](..._0x404e06){var _0x5c7768=_0x370a13,_0x464d64={'msIFF':_0x5c7768(0x1a8)};console[_0x5c7768(0x19c)](_0x464d64['msIFF'],..._0x404e06);}[_0x370a13(0x178)](..._0x2fe2b2){var _0x93e835=_0x370a13,_0x6c8055={'vHOnJ':_0x93e835(0x1b2)};console[_0x93e835(0x19c)](_0x6c8055[_0x93e835(0x19f)],..._0x2fe2b2);}[_0x370a13(0x198)](..._0x303024){var _0xf3e7b6=_0x370a13;console['log'](_0xf3e7b6(0x19d),..._0x303024);}[_0x370a13(0x17a)](..._0x140111){var _0xf8b511=_0x370a13,_0x16621f={'eNYwN':_0xf8b511(0x19a)};console[_0xf8b511(0x19c)](_0x16621f[_0xf8b511(0x187)],..._0x140111);}[_0x370a13(0x1ab)](..._0x57c3f3){var _0x15cf0c=_0x370a13,_0x4eccd8={'hzwto':_0x15cf0c(0x1a9)};console[_0x15cf0c(0x19c)](_0x4eccd8[_0x15cf0c(0x189)],..._0x57c3f3);}[_0x370a13(0x194)](..._0x40285a){var _0x50629a=_0x370a13;console[_0x50629a(0x19c)](_0x50629a(0x18c),..._0x40285a);}[_0x370a13(0x1a0)](_0x5d197d,_0x64839f,_0x12bf9e){var _0x450d46=_0x370a13,_0x2c4445={'tOidL':_0x450d46(0x186)};console[_0x450d46(0x19c)](_0x2c4445[_0x450d46(0x19b)],_0x5d197d,_0x64839f,_0x12bf9e);}[_0x370a13(0x1ac)](..._0x2f6464){var _0xe7c4e5=_0x370a13,_0x12123d={'nmryZ':'onMemberListChange:'};console[_0xe7c4e5(0x19c)](_0x12123d['nmryZ'],..._0x2f6464);}[_0x370a13(0x1a6)](..._0xce8c13){var _0x5c37cd=_0x370a13;console[_0x5c37cd(0x19c)](_0x5c37cd(0x1a2),..._0xce8c13);}[_0x370a13(0x175)](..._0x4d744f){var _0x156bb3=_0x370a13,_0x3e65e7={'pSmQr':_0x156bb3(0x18e)};console[_0x156bb3(0x19c)](_0x3e65e7[_0x156bb3(0x17e)],..._0x4d744f);}} \ No newline at end of file +function _0x5911(){var _0x300d61=['7677FCOpGC','onGroupArkInviteStateResult','onGroupSingleScreenNotifies','onGroupFirstBulletinNotify','rqiEU','onJoinGroupNotify','onGroupMemberLevelInfoChange','AwZqu','VJHED','onMemberInfoChange:','OLOFU','nzdJJ','qXTPQ','rFRgt','onGroupArkInviteStateResult:','onGroupAllInfoChange:','onGroupBulletinRichMediaDownloadComplete','40294gQNQAg','onMemberListChange','5030oATrVN','onGroupBulletinRichMediaProgressUpdate','onGroupStatisticInfoChange','onGroupNotifiesUnreadCountUpdated:','onGetGroupBulletinListResult','onGroupsMsgMaskResult:','onGroupNotifiesUnreadCountUpdated','dBRIZ','onSearchMemberChange:','onMemberInfoChange','nfiao','Xugrk','onGetGroupBulletinListResult:','nOSVN','onGroupsMsgMaskResult','onGroupFirstBulletinNotify:','ilpoh','onGroupConfMemberChange:','onJoinGroupNotify:','3491720CWlXVS','log','onGroupSingleScreenNotifies:','onGroupStatisticInfoChange:','1536750WRsrxV','onGroupMemberLevelInfoChange:','fQGir','onMemberListChange:','702012iEOXRJ','onGroupAllInfoChange','1458180BiqsWZ','onJoinGroupNoVerifyFlag:','onGroupNotifiesUpdated:','onShutUpMemberListChanged','836388rnNbCd','onGroupExtListUpdate','zxLWH','onSearchMemberChange','onGroupDetailInfoChange','onGroupConfMemberChange','14iotqfg','onGroupNotifiesUpdated','onGroupDetailInfoChange:','14KAKgKj','onGroupExtListUpdate:','onShutUpMemberListChanged:','onJoinGroupNoVerifyFlag','onGroupBulletinRemindNotify'];_0x5911=function(){return _0x300d61;};return _0x5911();}var _0x386679=_0x34f7;(function(_0x21057b,_0x32e645){var _0x4cc8d5=_0x34f7,_0x59eb17=_0x21057b();while(!![]){try{var _0x448408=-parseInt(_0x4cc8d5(0x1ed))/0x1*(-parseInt(_0x4cc8d5(0x203))/0x2)+-parseInt(_0x4cc8d5(0x1e4))/0x3+parseInt(_0x4cc8d5(0x220))/0x4+-parseInt(_0x4cc8d5(0x21c))/0x5+-parseInt(_0x4cc8d5(0x222))/0x6*(-parseInt(_0x4cc8d5(0x1ea))/0x7)+parseInt(_0x4cc8d5(0x218))/0x8+-parseInt(_0x4cc8d5(0x1f2))/0x9*(parseInt(_0x4cc8d5(0x205))/0xa);if(_0x448408===_0x32e645)break;else _0x59eb17['push'](_0x59eb17['shift']());}catch(_0x217731){_0x59eb17['push'](_0x59eb17['shift']());}}}(_0x5911,0x59151));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x4c2f53){}[_0x386679(0x209)](..._0x310fd3){}[_0x386679(0x221)](..._0x3fe3ca){}['onGroupBulletinChange'](..._0x41e1ef){}[_0x386679(0x1f1)](..._0x195f4b){}[_0x386679(0x1f3)](..._0x2978c8){}[_0x386679(0x202)](..._0x131664){}[_0x386679(0x1e9)](..._0x896f90){}[_0x386679(0x1e8)](..._0x576852){}[_0x386679(0x1e5)](..._0x237e75){}[_0x386679(0x1f5)](..._0x245344){}['onGroupListUpdate'](_0x57ee7e,_0x21bd46){}[_0x386679(0x1eb)](_0x2ad921,_0x40b370){}['onGroupBulletinRichMediaProgressUpdate'](..._0x4259a5){}[_0x386679(0x20b)](..._0xe17f01){}['onGroupSingleScreenNotifies'](_0x45ce5c,_0x11c5db,_0x3ee9c5){}[_0x386679(0x213)](..._0xc32c42){}['onGroupStatisticInfoChange'](..._0x49b6b9){}['onJoinGroupNotify'](..._0x541cc2){}[_0x386679(0x1f0)](..._0x712caa){}[_0x386679(0x20e)](_0x3f5e77,_0x4723fc,_0x28b0fc){}['onMemberListChange'](_0x2a666e){}[_0x386679(0x1e7)](..._0x4a9088){}['onShutUpMemberListChanged'](..._0x18314d){}}function _0x34f7(_0x28dd6a,_0x3f58e4){var _0x591145=_0x5911();return _0x34f7=function(_0x34f791,_0x2bf372){_0x34f791=_0x34f791-0x1e4;var _0x4d2f7b=_0x591145[_0x34f791];return _0x4d2f7b;},_0x34f7(_0x28dd6a,_0x3f58e4);}export class DebugGroupListener{[_0x386679(0x1f8)](..._0x20cbc6){var _0x5965e2=_0x386679,_0x226edd={'RVnNg':_0x5965e2(0x21d)};console[_0x5965e2(0x219)](_0x226edd['RVnNg'],..._0x20cbc6);}[_0x386679(0x209)](..._0x26b749){var _0x3e8dcd=_0x386679,_0x268c86={'zZoQa':_0x3e8dcd(0x211)};console[_0x3e8dcd(0x219)](_0x268c86['zZoQa'],..._0x26b749);}['onGroupAllInfoChange'](..._0x3e6535){var _0x5c4b00=_0x386679,_0x1c44f6={'penqV':_0x5c4b00(0x201)};console[_0x5c4b00(0x219)](_0x1c44f6['penqV'],..._0x3e6535);}['onGroupBulletinChange'](..._0x5b3fb9){var _0x3e9b0f=_0x386679,_0x4b2738={'nOSVN':'onGroupBulletinChange:'};console[_0x3e9b0f(0x219)](_0x4b2738[_0x3e9b0f(0x212)],..._0x5b3fb9);}[_0x386679(0x1f1)](..._0x9627d){var _0x477235=_0x386679,_0x3a6a86={'rqiEU':'onGroupBulletinRemindNotify:'};console[_0x477235(0x219)](_0x3a6a86[_0x477235(0x1f6)],..._0x9627d);}[_0x386679(0x1f3)](..._0x4223d2){var _0x1aa64e=_0x386679,_0x5b7cb8={'nzdJJ':_0x1aa64e(0x200)};console[_0x1aa64e(0x219)](_0x5b7cb8[_0x1aa64e(0x1fd)],..._0x4223d2);}[_0x386679(0x202)](..._0x4c93c9){var _0xc9a1cd=_0x386679;console[_0xc9a1cd(0x219)]('onGroupBulletinRichMediaDownloadComplete:',..._0x4c93c9);}[_0x386679(0x1e9)](..._0x247a44){var _0xe667fb=_0x386679,_0x35f067={'zxLWH':_0xe667fb(0x216)};console['log'](_0x35f067[_0xe667fb(0x1e6)],..._0x247a44);}[_0x386679(0x1e8)](..._0x46cc3a){var _0x37e360=_0x386679,_0x25d7fd={'YpJyL':_0x37e360(0x1ec)};console[_0x37e360(0x219)](_0x25d7fd['YpJyL'],..._0x46cc3a);}[_0x386679(0x1e5)](..._0x462992){var _0x1cbbb9=_0x386679,_0xb6e0ee={'ReWxA':_0x1cbbb9(0x1ee)};console[_0x1cbbb9(0x219)](_0xb6e0ee['ReWxA'],..._0x462992);}[_0x386679(0x1f5)](..._0x16fcfe){var _0x45bfa5=_0x386679;console['log'](_0x45bfa5(0x214),..._0x16fcfe);}['onGroupListUpdate'](..._0x3375f0){var _0x1485ad=_0x386679,_0x200c20={'rFRgt':'onGroupListUpdate:'};console[_0x1485ad(0x219)](_0x200c20[_0x1485ad(0x1ff)],..._0x3375f0);}[_0x386679(0x1eb)](..._0x4f2efb){var _0x4ac4ed=_0x386679,_0x1546dd={'dBRIZ':_0x4ac4ed(0x224)};console[_0x4ac4ed(0x219)](_0x1546dd[_0x4ac4ed(0x20c)],..._0x4f2efb);}[_0x386679(0x206)](..._0x3d129f){var _0x5dc84d=_0x386679;console[_0x5dc84d(0x219)]('onGroupBulletinRichMediaProgressUpdate:',..._0x3d129f);}[_0x386679(0x20b)](..._0x5b9e53){var _0x36bcfe=_0x386679,_0x117650={'nfiao':_0x36bcfe(0x208)};console[_0x36bcfe(0x219)](_0x117650[_0x36bcfe(0x20f)],..._0x5b9e53);}[_0x386679(0x1f4)](_0x48f2f3,_0x420c5a,_0x333f81){var _0x4196a6=_0x386679,_0x5a720c={'qXTPQ':_0x4196a6(0x21a)};console[_0x4196a6(0x219)](_0x5a720c[_0x4196a6(0x1fe)]);}[_0x386679(0x213)](..._0x4df4c8){var _0x3e4ea3=_0x386679,_0x445150={'VJHED':_0x3e4ea3(0x20a)};console[_0x3e4ea3(0x219)](_0x445150[_0x3e4ea3(0x1fa)],..._0x4df4c8);}[_0x386679(0x207)](..._0x3f1e83){var _0x164110=_0x386679,_0x4d555a={'fQGir':_0x164110(0x21b)};console['log'](_0x4d555a[_0x164110(0x21e)],..._0x3f1e83);}[_0x386679(0x1f7)](..._0x55cea7){var _0xc682da=_0x386679,_0x4334dc={'ilpoh':_0xc682da(0x217)};console['log'](_0x4334dc[_0xc682da(0x215)],..._0x55cea7);}['onJoinGroupNoVerifyFlag'](..._0x1e33a6){var _0x16e58d=_0x386679,_0x5f42bb={'OLOFU':_0x16e58d(0x223)};console['log'](_0x5f42bb[_0x16e58d(0x1fc)],..._0x1e33a6);}[_0x386679(0x20e)](_0x4f4015,_0x54511b,_0x54ab66){var _0x224149=_0x386679,_0x114652={'AwZqu':_0x224149(0x1fb)};console[_0x224149(0x219)](_0x114652[_0x224149(0x1f9)],_0x4f4015,_0x54511b,_0x54ab66);}[_0x386679(0x204)](..._0x46d9c4){var _0x449712=_0x386679,_0x4c1c3a={'Xugrk':_0x449712(0x21f)};console[_0x449712(0x219)](_0x4c1c3a[_0x449712(0x210)],..._0x46d9c4);}[_0x386679(0x1e7)](..._0x54b0b8){var _0x3e1fd0=_0x386679,_0x33a23b={'jhhUP':_0x3e1fd0(0x20d)};console[_0x3e1fd0(0x219)](_0x33a23b['jhhUP'],..._0x54b0b8);}[_0x386679(0x225)](..._0x285b74){var _0x4e8f5c=_0x386679,_0x57cd1d={'wPihj':_0x4e8f5c(0x1ef)};console[_0x4e8f5c(0x219)](_0x57cd1d['wPihj'],..._0x285b74);}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index b72a7a64..c338f727 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x59b71d=_0x2690;(function(_0x4290ed,_0x740bfb){var _0x5a3142=_0x2690,_0x45291f=_0x4290ed();while(!![]){try{var _0xc0200=-parseInt(_0x5a3142(0x191))/0x1+parseInt(_0x5a3142(0x1a3))/0x2*(-parseInt(_0x5a3142(0x193))/0x3)+-parseInt(_0x5a3142(0x199))/0x4*(-parseInt(_0x5a3142(0x19e))/0x5)+parseInt(_0x5a3142(0x1a6))/0x6*(-parseInt(_0x5a3142(0x1a0))/0x7)+-parseInt(_0x5a3142(0x1a2))/0x8*(-parseInt(_0x5a3142(0x198))/0x9)+parseInt(_0x5a3142(0x19f))/0xa*(parseInt(_0x5a3142(0x19b))/0xb)+-parseInt(_0x5a3142(0x1a5))/0xc*(-parseInt(_0x5a3142(0x197))/0xd);if(_0xc0200===_0x740bfb)break;else _0x45291f['push'](_0x45291f['shift']());}catch(_0x347ef3){_0x45291f['push'](_0x45291f['shift']());}}}(_0x55c4,0xc43b3));function _0x55c4(){var _0x55e8b6=['onUserLoggedIn','525zUiOke','onLogoutFailed','onQRCodeLoginPollingStarted','onLoginDisConnected','247bfwSwU','402201sfRLFB','4hGTavj','onQRCodeGetPicture','187UcOhyG','onQQLoginNumLimited','onLoginConnected','7857725iqgutv','216490dcCCgi','1092cFTfnn','onLoginConnecting','256xFrzkA','12404piMZpG','onLoginState','191628JFjPyy','49596lEEgDm','onQRCodeSessionFailed','onLogoutSucceed','494428GJUXQm'];_0x55c4=function(){return _0x55e8b6;};return _0x55c4();}function _0x2690(_0x2ebf09,_0x1888e1){var _0x55c423=_0x55c4();return _0x2690=function(_0x269000,_0x50994d){_0x269000=_0x269000-0x190;var _0x22df39=_0x55c423[_0x269000];return _0x22df39;},_0x2690(_0x2ebf09,_0x1888e1);}export class LoginListener{[_0x59b71d(0x19d)](..._0x56c796){}[_0x59b71d(0x196)](..._0x1dd5f0){}[_0x59b71d(0x1a1)](..._0xbcf2bb){}[_0x59b71d(0x19a)](_0x53674e){}[_0x59b71d(0x195)](..._0x57a772){}['onQRCodeSessionUserScaned'](..._0x125f5d){}['onQRCodeLoginSucceed'](_0x58ea1f){}[_0x59b71d(0x1a7)](..._0x1b5f71){}['onLoginFailed'](..._0x4fbb12){}[_0x59b71d(0x190)](..._0xe7590f){}[_0x59b71d(0x194)](..._0x1b32e6){}[_0x59b71d(0x192)](..._0x4ec901){}['onQRCodeSessionQuickLoginFailed'](..._0x46cb03){}['onPasswordLoginFailed'](..._0x439ea1){}['OnConfirmUnusualDeviceFailed'](..._0x2482a5){}[_0x59b71d(0x19c)](..._0x45f37b){}[_0x59b71d(0x1a4)](..._0x21991c){}} \ No newline at end of file +function _0x3cc1(){var _0x2dd738=['onLogoutSucceed','1169750zEeqIY','onQRCodeLoginSucceed','1065PlZCBw','847654kUkUDv','9015129zZRzEJ','onQRCodeSessionFailed','onLogoutFailed','23586POFtxV','onUserLoggedIn','OnConfirmUnusualDeviceFailed','150804NCLryc','onPasswordLoginFailed','onLoginConnected','onLoginDisConnected','40CzgPIe','onQRCodeSessionQuickLoginFailed','onQRCodeLoginPollingStarted','1494815QDfUBB','onLoginState','3431409qbfFag','onQQLoginNumLimited','onLoginConnecting'];_0x3cc1=function(){return _0x2dd738;};return _0x3cc1();}var _0x131017=_0x3e05;function _0x3e05(_0x457fb4,_0x5f4182){var _0x3cc14d=_0x3cc1();return _0x3e05=function(_0x3e05b0,_0x4903b2){_0x3e05b0=_0x3e05b0-0xea;var _0xfa352a=_0x3cc14d[_0x3e05b0];return _0xfa352a;},_0x3e05(_0x457fb4,_0x5f4182);}(function(_0x5d8379,_0x3b108b){var _0x2b3cca=_0x3e05,_0x66ef60=_0x5d8379();while(!![]){try{var _0x256b1f=parseInt(_0x2b3cca(0xff))/0x1+-parseInt(_0x2b3cca(0xeb))/0x2+parseInt(_0x2b3cca(0xfb))/0x3+-parseInt(_0x2b3cca(0xf2))/0x4+-parseInt(_0x2b3cca(0xea))/0x5*(-parseInt(_0x2b3cca(0xef))/0x6)+-parseInt(_0x2b3cca(0xf9))/0x7*(parseInt(_0x2b3cca(0xf6))/0x8)+-parseInt(_0x2b3cca(0xec))/0x9;if(_0x256b1f===_0x3b108b)break;else _0x66ef60['push'](_0x66ef60['shift']());}catch(_0x661578){_0x66ef60['push'](_0x66ef60['shift']());}}}(_0x3cc1,0x97592));export class LoginListener{[_0x131017(0xf4)](..._0x1a0942){}[_0x131017(0xf5)](..._0x6fa429){}[_0x131017(0xfd)](..._0x4e0d19){}['onQRCodeGetPicture'](_0x5e8643){}[_0x131017(0xf8)](..._0x22ac54){}['onQRCodeSessionUserScaned'](..._0x10cbc2){}[_0x131017(0x100)](_0x153403){}[_0x131017(0xed)](..._0x2fcb54){}['onLoginFailed'](..._0xcb734f){}[_0x131017(0xfe)](..._0x4a2cf7){}[_0x131017(0xee)](..._0x4ee4bc){}[_0x131017(0xf0)](..._0x3891da){}[_0x131017(0xf7)](..._0x8a20e9){}[_0x131017(0xf3)](..._0x2386bd){}[_0x131017(0xf1)](..._0x4e3d84){}[_0x131017(0xfc)](..._0xbc2b2c){}[_0x131017(0xfa)](..._0x19d98a){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index f95bc01c..639534e3 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x58761b=_0x4c4a;(function(_0x56709e,_0xc21b4c){var _0x124218=_0x4c4a,_0x2ade50=_0x56709e();while(!![]){try{var _0xa2616d=-parseInt(_0x124218(0x1b8))/0x1+parseInt(_0x124218(0x19d))/0x2*(parseInt(_0x124218(0x1bc))/0x3)+parseInt(_0x124218(0x1ae))/0x4*(parseInt(_0x124218(0x1b1))/0x5)+-parseInt(_0x124218(0x19f))/0x6*(parseInt(_0x124218(0x19c))/0x7)+parseInt(_0x124218(0x1b7))/0x8*(parseInt(_0x124218(0x1c5))/0x9)+parseInt(_0x124218(0x1a9))/0xa+-parseInt(_0x124218(0x1af))/0xb;if(_0xa2616d===_0xc21b4c)break;else _0x2ade50['push'](_0x2ade50['shift']());}catch(_0xf856b5){_0x2ade50['push'](_0x2ade50['shift']());}}}(_0xf23a,0x44a68));function _0x4c4a(_0x1ead19,_0x31762a){var _0xf23ad0=_0xf23a();return _0x4c4a=function(_0x4c4a61,_0x31f35d){_0x4c4a61=_0x4c4a61-0x191;var _0x26d46e=_0xf23ad0[_0x4c4a61];return _0x26d46e;},_0x4c4a(_0x1ead19,_0x31762a);}export class MsgListener{['onAddSendMsg'](_0x111b99){}[_0x58761b(0x1a7)](_0x3f4ede){}['onBroadcastHelperProgressUpdate'](_0x4be99e){}[_0x58761b(0x19e)](_0xbea72,_0x53c87b,_0x1b17f8){}[_0x58761b(0x1c1)](_0x3db2df){}[_0x58761b(0x1ac)](_0xc00ffa){}[_0x58761b(0x1a1)](_0x22bd76,_0x2a7b07,_0x108f6d){}[_0x58761b(0x194)](_0x41224f){}[_0x58761b(0x199)](_0x23cc1f){}[_0x58761b(0x1c8)](_0x26a10c){}[_0x58761b(0x1a5)](_0x51490f){}[_0x58761b(0x1b9)](_0x2f761e){}['onFirstViewGroupGuildMapping'](_0x55135d){}[_0x58761b(0x1c9)](_0x178de7,_0x6055c3,_0x53dc61,_0x4e4300,_0x5562ad){}['onGroupFileInfoAdd'](_0x156427){}[_0x58761b(0x1aa)](_0x4de418){}[_0x58761b(0x195)](_0x22f2c0){}[_0x58761b(0x1b2)](_0x16cebc){}[_0x58761b(0x1b0)](_0xe064be){}['onGuildInteractiveUpdate'](_0x482caa){}[_0x58761b(0x1c7)](_0x3b6da0){}[_0x58761b(0x198)](_0xbdfe11){}['onHitCsRelatedEmojiResult'](_0x2e0514){}['onHitEmojiKeywordResult'](_0x59997a){}['onHitRelatedEmojiResult'](_0x53fa97){}[_0x58761b(0x1bb)](_0x2473ac){}[_0x58761b(0x1a3)](_0x3283ed){}['onKickedOffLine'](_0x2b34c4){}[_0x58761b(0x1ca)](_0xaccdb5){}[_0x58761b(0x1bf)](_0x2103a4){}[_0x58761b(0x1b5)](_0x5eccd3){}['onMsgBoxChanged'](_0x171bbf){}[_0x58761b(0x1ba)](_0x288ad4,_0x126c93){}['onMsgEventListUpdate'](_0x543354){}[_0x58761b(0x1a2)](_0x1bbfb7){}['onMsgInfoListUpdate'](_0x4a931c){}['onMsgQRCodeStatusChanged'](_0x4030e7){}[_0x58761b(0x19a)](_0x29e931,_0x30c2fd,_0x3c70f7){}[_0x58761b(0x1a4)](_0x37189d){}[_0x58761b(0x1c4)](_0x44a0b4){}['onNtFirstViewMsgSyncEnd'](){}[_0x58761b(0x1cc)](){}[_0x58761b(0x1bd)](){}[_0x58761b(0x193)](_0xdbdf4b){}['onRecvGroupGuildFlag'](_0x87ba6c){}[_0x58761b(0x192)](_0x189cc0){}[_0x58761b(0x1b6)](_0x23fc79,_0x5d926e,_0x1c814f,_0x5cec9b,_0x26bbd0,_0x4e2295){}[_0x58761b(0x1a0)](_0x4be371){}[_0x58761b(0x1b4)](_0x3a511c){}[_0x58761b(0x1c6)](_0x35a7eb){}[_0x58761b(0x1a8)](_0x68e951){}[_0x58761b(0x1a6)](_0x4e7699){}[_0x58761b(0x1c2)](_0x19678f){}[_0x58761b(0x191)](_0x1ff5fd){}[_0x58761b(0x1cb)](_0xd1e6a9){}[_0x58761b(0x1be)](_0x4d23fa,_0x7df552,_0x337788,_0x4caaff){}[_0x58761b(0x1ab)](_0x1af86b,_0xf17486,_0x2154ff,_0x1d4250){}[_0x58761b(0x197)](_0x123f3e){}[_0x58761b(0x19b)](_0x1658a5){}['onUnreadCntUpdate'](_0x242c93){}['onUserChannelTabStatusChanged'](_0x2814cd){}['onUserOnlineStatusChanged'](_0x3a9a99){}[_0x58761b(0x1b3)](_0x3c7636){}[_0x58761b(0x1c3)](_0x39796a,_0x367343,_0xfc9a2d){}[_0x58761b(0x1ad)](_0x4f6e5c,_0x5b3ca0,_0x3fe486){}[_0x58761b(0x196)](..._0x3ffa42){}['onMsgWithRichLinkInfoUpdate'](..._0x338cfc){}[_0x58761b(0x1c0)](..._0x1213d1){}['onBroadcastHelperProgerssUpdate'](..._0x3af678){}}function _0xf23a(){var _0x55b339=['onRecvMsgSvrRspTransInfo','4352HvkGvB','212509egSUVE','onFirstViewDirectMsgUpdate','onMsgDelete','onImportOldDbProgressUpdate','19896lrBsuF','onNtMsgSyncStart','onSendMsgError','onLogLevelChanged','onRedTouchChanged','onContactUnreadCntUpdate','onRichMediaProgerssUpdate','onlineStatusBigIconDownloadPush','onMsgSettingUpdate','279ANtayY','onRecvSysMsg','onGuildMsgAbFlagChanged','onFeedEventUpdate','onGrabPasswordRedBag','onLineDev','onSearchGroupFileInfoUpdate','onNtMsgSyncEnd','onRichMediaUploadComplete','onRecvMsg','onReadFeedEventUpdate','onEmojiDownloadComplete','onGroupGuildUpdate','onUserSecQualityChanged','onTempChatInfoUpdate','onGuildNotificationAbstractUpdate','onEmojiResourceUpdate','onMsgRecall','onUnreadCntAfterFirstView','3402ILdemy','36eCzosu','onChannelFreqLimitInfoUpdate','1290aWafGT','onRecvOnlineFileMsg','onDraftUpdate','onMsgInfoListAdd','onInputStatusPush','onMsgSecurityNotify','onFileMsgCome','onRichMediaDownloadComplete','onBroadcastHelperDownloadComplete','onRecvUDCFlag','611460qKKrzA','onGroupFileInfoUpdate','onSysMsgNotification','onCustomWithdrawConfigUpdate','onlineStatusSmallIconDownloadPush','6648YcGnWJ','764951vNRKHo','onGroupTransferInfoUpdate','1415MWINHA','onGroupTransferInfoAdd','onUserTabStatusChanged','onRecvS2CMsg','onMsgAbstractUpdate'];_0xf23a=function(){return _0x55b339;};return _0xf23a();} \ No newline at end of file +var _0xead8dd=_0xe1d1;function _0x363a(){var _0x4225ff=['onFirstViewDirectMsgUpdate','onRecvSysMsg','onEmojiDownloadComplete','onChannelFreqLimitInfoUpdate','87388TeYZSd','onGroupTransferInfoAdd','onNtFirstViewMsgSyncEnd','onFeedEventUpdate','onRichMediaProgerssUpdate','onMsgRecall','onMsgDelete','onRecvUDCFlag','576897aGPwBy','onGroupFileInfoUpdate','onUserChannelTabStatusChanged','onMsgSecurityNotify','onHitRelatedEmojiResult','onUserSecQualityChanged','onEmojiResourceUpdate','12362850LNiNsY','onGroupFileInfoAdd','14204Wtdkuu','onNtMsgSyncEnd','onImportOldDbProgressUpdate','onReadFeedEventUpdate','1806135XEvXpU','onBroadcastHelperProgressUpdate','onMsgEventListUpdate','onFileMsgCome','onHitCsRelatedEmojiResult','onMsgSettingUpdate','48iVYsIh','onUserOnlineStatusChanged','13kqQqmQ','onMsgInfoListAdd','onBroadcastHelperProgerssUpdate','onlineStatusBigIconDownloadPush','onRecvS2CMsg','onRichMediaUploadComplete','onRecvMsg','onSysMsgNotification','onGuildMsgAbFlagChanged','onBroadcastHelperDownloadComplete','onRecvOnlineFileMsg','onCustomWithdrawConfigUpdate','onRecvGroupGuildFlag','onRedTouchChanged','onMsgAbstractUpdate','onMsgQRCodeStatusChanged','1359584ySWKtq','onSearchGroupFileInfoUpdate','onNtMsgSyncStart','onContactUnreadCntUpdate','onMsgBoxChanged','onUnreadCntUpdate','onLogLevelChanged','onAddSendMsg','onGroupTransferInfoUpdate','onInputStatusPush','onDraftUpdate','onRecvMsgSvrRspTransInfo','onGrabPasswordRedBag','onTempChatInfoUpdate','onGuildNotificationAbstractUpdate','1535028TjcEYk'];_0x363a=function(){return _0x4225ff;};return _0x363a();}(function(_0x2b5921,_0x494309){var _0x14fa2e=_0xe1d1,_0x5c5347=_0x2b5921();while(!![]){try{var _0x480735=-parseInt(_0x14fa2e(0x132))/0x1*(-parseInt(_0x14fa2e(0x167))/0x2)+-parseInt(_0x14fa2e(0x15e))/0x3+-parseInt(_0x14fa2e(0x142))/0x4+-parseInt(_0x14fa2e(0x16b))/0x5+-parseInt(_0x14fa2e(0x151))/0x6+parseInt(_0x14fa2e(0x156))/0x7*(-parseInt(_0x14fa2e(0x130))/0x8)+parseInt(_0x14fa2e(0x165))/0x9;if(_0x480735===_0x494309)break;else _0x5c5347['push'](_0x5c5347['shift']());}catch(_0x252478){_0x5c5347['push'](_0x5c5347['shift']());}}}(_0x363a,0x3b094));function _0xe1d1(_0x34c4dd,_0x4b51b9){var _0x363a1d=_0x363a();return _0xe1d1=function(_0xe1d1c7,_0xb06417){_0xe1d1c7=_0xe1d1c7-0x12c;var _0x51a50c=_0x363a1d[_0xe1d1c7];return _0x51a50c;},_0xe1d1(_0x34c4dd,_0x4b51b9);}export class MsgListener{[_0xead8dd(0x149)](_0x1d206c){}[_0xead8dd(0x13b)](_0x1fb728){}[_0xead8dd(0x16c)](_0x6e5204){}[_0xead8dd(0x155)](_0x3cddef,_0x427aa6,_0x1e7180){}[_0xead8dd(0x145)](_0x1f436d){}[_0xead8dd(0x13d)](_0x41491d){}[_0xead8dd(0x14c)](_0x3ef2ff,_0x126fd4,_0x2869f8){}[_0xead8dd(0x154)](_0x432c98){}[_0xead8dd(0x164)](_0x5b4222){}[_0xead8dd(0x159)](_0x59ae02){}[_0xead8dd(0x12d)](_0x4b34e9){}[_0xead8dd(0x152)](_0x504217){}['onFirstViewGroupGuildMapping'](_0x1fd21c){}[_0xead8dd(0x14e)](_0x521834,_0x335eca,_0x67392c,_0x28be7f,_0x4425d1){}[_0xead8dd(0x166)](_0x2c31d2){}[_0xead8dd(0x15f)](_0x29f389){}['onGroupGuildUpdate'](_0x3bec2a){}[_0xead8dd(0x157)](_0x235c91){}[_0xead8dd(0x14a)](_0x478444){}['onGuildInteractiveUpdate'](_0x454e75){}[_0xead8dd(0x13a)](_0x1e8e00){}[_0xead8dd(0x150)](_0x59b99a){}[_0xead8dd(0x12e)](_0x5b04b0){}['onHitEmojiKeywordResult'](_0x2b1de1){}[_0xead8dd(0x162)](_0x4910e8){}[_0xead8dd(0x169)](_0xe980f8){}[_0xead8dd(0x14b)](_0x4b33e5){}['onKickedOffLine'](_0x29a371){}['onLineDev'](_0xb5720a){}[_0xead8dd(0x148)](_0x3a71f7){}[_0xead8dd(0x140)](_0x3c18a8){}[_0xead8dd(0x146)](_0x3ae4d4){}[_0xead8dd(0x15c)](_0x1f7fcd,_0xc354de){}[_0xead8dd(0x12c)](_0x54c507){}[_0xead8dd(0x133)](_0x17ce0d){}['onMsgInfoListUpdate'](_0x352290){}[_0xead8dd(0x141)](_0x558ee2){}[_0xead8dd(0x15b)](_0x459954,_0x1ff7c4,_0x136bf5){}[_0xead8dd(0x161)](_0x27da5f){}[_0xead8dd(0x12f)](_0x14c149){}[_0xead8dd(0x158)](){}[_0xead8dd(0x168)](){}[_0xead8dd(0x144)](){}[_0xead8dd(0x16a)](_0x3316c6){}[_0xead8dd(0x13e)](_0x5cb2d4){}[_0xead8dd(0x138)](_0x114ebd){}[_0xead8dd(0x14d)](_0x4762a7,_0x1d8029,_0x40cdf8,_0x5d967d,_0x380d37,_0x1b1d61){}[_0xead8dd(0x13c)](_0x2be907){}[_0xead8dd(0x136)](_0x17fd6a){}[_0xead8dd(0x153)](_0x240a24){}[_0xead8dd(0x15d)](_0x46534b){}['onRichMediaDownloadComplete'](_0x4914c0){}[_0xead8dd(0x15a)](_0x51ab5c){}[_0xead8dd(0x137)](_0x54165b){}[_0xead8dd(0x143)](_0x3978b7){}['onSendMsgError'](_0x15040b,_0x2b5956,_0x291f31,_0x349703){}[_0xead8dd(0x139)](_0x5114ec,_0x127542,_0x2cb88f,_0x485462){}[_0xead8dd(0x14f)](_0x533281){}['onUnreadCntAfterFirstView'](_0x5c1e90){}[_0xead8dd(0x147)](_0x393112){}[_0xead8dd(0x160)](_0x3ccc53){}[_0xead8dd(0x131)](_0x4e1df0){}['onUserTabStatusChanged'](_0x198de9){}[_0xead8dd(0x135)](_0x30f18b,_0x1a5132,_0xed4797){}['onlineStatusSmallIconDownloadPush'](_0x29c513,_0x482551,_0x4661ee){}[_0xead8dd(0x163)](..._0xf83fcd){}['onMsgWithRichLinkInfoUpdate'](..._0x3269d5){}[_0xead8dd(0x13f)](..._0x17de40){}[_0xead8dd(0x134)](..._0x5ee9ba){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index 92dd7b52..9f771c91 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x3ca0(_0x247751,_0x5a3df4){var _0x4264cb=_0x4264();return _0x3ca0=function(_0x3ca083,_0x40d0f8){_0x3ca083=_0x3ca083-0x167;var _0x56a12d=_0x4264cb[_0x3ca083];return _0x56a12d;},_0x3ca0(_0x247751,_0x5a3df4);}function _0x4264(){var _0x781d6b=['onProfileSimpleChanged','889caYicc','6roraCu','27672GWVuyo','886105ZgZaDG','28yavgfT','91856YEGJtg','24KUkjyb','onSelfStatusChanged','onProfileDetailInfoChanged','2019776WVbOlc','20hnuLkd','onStrangerRemarkChanged','3364361QRmHPB','28mnseMe','1745262rmaDDs','133797nDVGLf','10Ucfyjr','onStatusUpdate'];_0x4264=function(){return _0x781d6b;};return _0x4264();}var _0x4410f5=_0x3ca0;(function(_0x24226e,_0x353f05){var _0x5e2e8c=_0x3ca0,_0x5c77a7=_0x24226e();while(!![]){try{var _0x30df28=parseInt(_0x5e2e8c(0x169))/0x1*(-parseInt(_0x5e2e8c(0x171))/0x2)+-parseInt(_0x5e2e8c(0x168))/0x3*(-parseInt(_0x5e2e8c(0x170))/0x4)+parseInt(_0x5e2e8c(0x16f))/0x5*(parseInt(_0x5e2e8c(0x16d))/0x6)+-parseInt(_0x5e2e8c(0x16c))/0x7*(-parseInt(_0x5e2e8c(0x16e))/0x8)+parseInt(_0x5e2e8c(0x167))/0x9*(-parseInt(_0x5e2e8c(0x176))/0xa)+-parseInt(_0x5e2e8c(0x175))/0xb*(parseInt(_0x5e2e8c(0x172))/0xc)+-parseInt(_0x5e2e8c(0x178))/0xd*(-parseInt(_0x5e2e8c(0x179))/0xe);if(_0x30df28===_0x353f05)break;else _0x5c77a7['push'](_0x5c77a7['shift']());}catch(_0x2b6010){_0x5c77a7['push'](_0x5c77a7['shift']());}}}(_0x4264,0x38a11));export class ProfileListener{[_0x4410f5(0x16b)](..._0x599eec){}[_0x4410f5(0x174)](_0x2543d9){}[_0x4410f5(0x16a)](..._0x4cd488){}[_0x4410f5(0x173)](..._0x219fa2){}[_0x4410f5(0x177)](..._0x1e6730){}} \ No newline at end of file +function _0x903b(_0x4eb073,_0x397320){var _0x557bf5=_0x557b();return _0x903b=function(_0x903b33,_0x23d9de){_0x903b33=_0x903b33-0x1db;var _0x452a01=_0x557bf5[_0x903b33];return _0x452a01;},_0x903b(_0x4eb073,_0x397320);}function _0x557b(){var _0x2aab29=['8oKcFJL','12RKMDyj','onProfileDetailInfoChanged','onProfileSimpleChanged','1467115ECNhTP','3924347cgmLYs','13406Auyqgn','1114320vLOfaw','8slsZNH','2656610NHdbtW','1464372DRXOxl','684GVsTxR','2710NONDcR','4HBgnqr','onStatusUpdate'];_0x557b=function(){return _0x2aab29;};return _0x557b();}var _0xa90640=_0x903b;(function(_0x1c109e,_0x4196dd){var _0x4586bb=_0x903b,_0x1d4ef5=_0x1c109e();while(!![]){try{var _0x53bfa0=parseInt(_0x4586bb(0x1db))/0x1*(parseInt(_0x4586bb(0x1e2))/0x2)+parseInt(_0x4586bb(0x1dc))/0x3+parseInt(_0x4586bb(0x1dd))/0x4*(-parseInt(_0x4586bb(0x1e8))/0x5)+-parseInt(_0x4586bb(0x1df))/0x6+-parseInt(_0x4586bb(0x1e9))/0x7*(-parseInt(_0x4586bb(0x1e4))/0x8)+-parseInt(_0x4586bb(0x1e0))/0x9*(parseInt(_0x4586bb(0x1e1))/0xa)+-parseInt(_0x4586bb(0x1de))/0xb*(-parseInt(_0x4586bb(0x1e5))/0xc);if(_0x53bfa0===_0x4196dd)break;else _0x1d4ef5['push'](_0x1d4ef5['shift']());}catch(_0x549fb7){_0x1d4ef5['push'](_0x1d4ef5['shift']());}}}(_0x557b,0x552cf));export class ProfileListener{[_0xa90640(0x1e7)](..._0x43ac50){}[_0xa90640(0x1e6)](_0x11558b){}[_0xa90640(0x1e3)](..._0x2e8b8a){}['onSelfStatusChanged'](..._0x5a8fd1){}['onStrangerRemarkChanged'](..._0x2e11d5){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index 337516b0..153c0348 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x42ae(_0x89672e,_0xe9bde5){var _0x286da0=_0x286d();return _0x42ae=function(_0x42ae7c,_0x1c000d){_0x42ae7c=_0x42ae7c-0x1bf;var _0xfc5f58=_0x286da0[_0x42ae7c];return _0xfc5f58;},_0x42ae(_0x89672e,_0xe9bde5);}var _0x518a1c=_0x42ae;(function(_0x19fb69,_0x32362b){var _0x216321=_0x42ae,_0x12241b=_0x19fb69();while(!![]){try{var _0x4ac971=-parseInt(_0x216321(0x1c7))/0x1+-parseInt(_0x216321(0x1c8))/0x2+parseInt(_0x216321(0x1c0))/0x3*(-parseInt(_0x216321(0x1c3))/0x4)+-parseInt(_0x216321(0x1c2))/0x5*(-parseInt(_0x216321(0x1c5))/0x6)+-parseInt(_0x216321(0x1c4))/0x7+parseInt(_0x216321(0x1c9))/0x8+parseInt(_0x216321(0x1c1))/0x9;if(_0x4ac971===_0x32362b)break;else _0x12241b['push'](_0x12241b['shift']());}catch(_0x4a7812){_0x12241b['push'](_0x12241b['shift']());}}}(_0x286d,0xa298e));export class KernelRobotListener{[_0x518a1c(0x1ca)](..._0x5662e2){}[_0x518a1c(0x1c6)](..._0x3ea697){}[_0x518a1c(0x1bf)](..._0x57b253){}}function _0x286d(){var _0x3132d4=['onRobotFriendListChanged','onRobotProfileChanged','3htmLeV','24681816CgbRxx','5EBuBVm','311576nIzclR','2853172uKzyfE','4056054FLygBu','onRobotListChanged','1326497AdZnIu','2109346NaDoOI','913800nHKidJ'];_0x286d=function(){return _0x3132d4;};return _0x286d();} \ No newline at end of file +var _0x33cd08=_0x56d4;function _0x1c43(){var _0xe328e6=['964728qTYAjV','5268190AvSeMY','25321HrkACC','11GKrxWV','14PqpcpI','3339693MAhtnF','72435MSNPqp','478093xCMCfw','9145OfPFuL','onRobotFriendListChanged','186GVFaDb','onRobotListChanged','onRobotProfileChanged','56pVmtdw'];_0x1c43=function(){return _0xe328e6;};return _0x1c43();}function _0x56d4(_0x5cd3db,_0x83547e){var _0x1c4379=_0x1c43();return _0x56d4=function(_0x56d4f1,_0x4c98c8){_0x56d4f1=_0x56d4f1-0x1e1;var _0x4554a8=_0x1c4379[_0x56d4f1];return _0x4554a8;},_0x56d4(_0x5cd3db,_0x83547e);}(function(_0x21ee5c,_0x58352a){var _0x341748=_0x56d4,_0x2badba=_0x21ee5c();while(!![]){try{var _0x53d8f1=-parseInt(_0x341748(0x1ee))/0x1*(-parseInt(_0x341748(0x1e2))/0x2)+-parseInt(_0x341748(0x1e4))/0x3*(-parseInt(_0x341748(0x1eb))/0x4)+-parseInt(_0x341748(0x1e6))/0x5*(-parseInt(_0x341748(0x1e8))/0x6)+-parseInt(_0x341748(0x1e5))/0x7+-parseInt(_0x341748(0x1ec))/0x8+parseInt(_0x341748(0x1e3))/0x9+-parseInt(_0x341748(0x1ed))/0xa*(parseInt(_0x341748(0x1e1))/0xb);if(_0x53d8f1===_0x58352a)break;else _0x2badba['push'](_0x2badba['shift']());}catch(_0x4e87d0){_0x2badba['push'](_0x2badba['shift']());}}}(_0x1c43,0x37810));export class KernelRobotListener{[_0x33cd08(0x1e7)](..._0xd2b0da){}[_0x33cd08(0x1e9)](..._0x32ae3c){}[_0x33cd08(0x1ea)](..._0xa6dadf){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index 3f95d067..44fed384 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x1d27(){var _0x3fc17a=['3407472jULLRD','3928870VYyZRX','31384kSVGPW','24yuFIbh','onSessionInitComplete','8635mbneJq','6632736QWfNuh','1328156HzNFsa','onGetSelfTinyId','onUserOnlineResult','978wPBViX','onNTSessionCreate','2967Emqkjk','3SUACvj','onGProSessionCreate','onOpentelemetryInit','336hiqRmP'];_0x1d27=function(){return _0x3fc17a;};return _0x1d27();}function _0x47ec(_0x3cf335,_0x2e174b){var _0x1d2790=_0x1d27();return _0x47ec=function(_0x47ecc0,_0x5590a1){_0x47ecc0=_0x47ecc0-0xc7;var _0x374a52=_0x1d2790[_0x47ecc0];return _0x374a52;},_0x47ec(_0x3cf335,_0x2e174b);}var _0x4017d8=_0x47ec;(function(_0x4b2246,_0xdfa55a){var _0x493a60=_0x47ec,_0xa87f57=_0x4b2246();while(!![]){try{var _0x49c745=-parseInt(_0x493a60(0xd5))/0x1*(-parseInt(_0x493a60(0xcc))/0x2)+-parseInt(_0x493a60(0xd6))/0x3*(parseInt(_0x493a60(0xd0))/0x4)+parseInt(_0x493a60(0xce))/0x5*(-parseInt(_0x493a60(0xd3))/0x6)+-parseInt(_0x493a60(0xc8))/0x7*(-parseInt(_0x493a60(0xcb))/0x8)+parseInt(_0x493a60(0xc9))/0x9+-parseInt(_0x493a60(0xca))/0xa+parseInt(_0x493a60(0xcf))/0xb;if(_0x49c745===_0xdfa55a)break;else _0xa87f57['push'](_0xa87f57['shift']());}catch(_0x382379){_0xa87f57['push'](_0xa87f57['shift']());}}}(_0x1d27,0x30999));export class SessionListener{[_0x4017d8(0xd4)](_0x17dbca){}[_0x4017d8(0xd7)](_0x2e6b62){}[_0x4017d8(0xcd)](_0x3c298f){}[_0x4017d8(0xc7)](_0x5be800){}[_0x4017d8(0xd2)](_0x163f0d){}[_0x4017d8(0xd1)](_0x2f9eb2){}} \ No newline at end of file +var _0x378a89=_0x4809;(function(_0xaf14ec,_0x240f36){var _0x413d50=_0x4809,_0x356fee=_0xaf14ec();while(!![]){try{var _0x221ede=-parseInt(_0x413d50(0x1ae))/0x1*(-parseInt(_0x413d50(0x1b1))/0x2)+-parseInt(_0x413d50(0x1b3))/0x3+parseInt(_0x413d50(0x1b2))/0x4+-parseInt(_0x413d50(0x1ba))/0x5+parseInt(_0x413d50(0x1b6))/0x6+-parseInt(_0x413d50(0x1b9))/0x7*(parseInt(_0x413d50(0x1bb))/0x8)+parseInt(_0x413d50(0x1b4))/0x9;if(_0x221ede===_0x240f36)break;else _0x356fee['push'](_0x356fee['shift']());}catch(_0x3fc735){_0x356fee['push'](_0x356fee['shift']());}}}(_0x5d0f,0x2159a));function _0x4809(_0x4aef7f,_0xead1c5){var _0x5d0f37=_0x5d0f();return _0x4809=function(_0x48094d,_0x10c647){_0x48094d=_0x48094d-0x1ad;var _0x141c96=_0x5d0f37[_0x48094d];return _0x141c96;},_0x4809(_0x4aef7f,_0xead1c5);}export class SessionListener{[_0x378a89(0x1ad)](_0x1aff78){}[_0x378a89(0x1b8)](_0x37cc5b){}[_0x378a89(0x1af)](_0x2daeb4){}[_0x378a89(0x1b7)](_0x46d5ee){}[_0x378a89(0x1b0)](_0x50ddc7){}[_0x378a89(0x1b5)](_0x412673){}}function _0x5d0f(){var _0x5d4931=['onGetSelfTinyId','432042CHZfiO','onOpentelemetryInit','onGProSessionCreate','21XDdBfj','497060eDUGbg','631416aiJlnt','onNTSessionCreate','1IjbYAM','onSessionInitComplete','onUserOnlineResult','394108nMusQk','214276ZnINVt','785085zGPLep','3706740tHkuHJ'];_0x5d0f=function(){return _0x5d4931;};return _0x5d0f();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index 406529b7..43340e85 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0xced6(_0x523c76,_0x35f32d){var _0x50de0a=_0x50de();return _0xced6=function(_0xced6a2,_0x17d681){_0xced6a2=_0xced6a2-0x18f;var _0x2358f6=_0x50de0a[_0xced6a2];return _0x2358f6;},_0xced6(_0x523c76,_0x35f32d);}function _0x50de(){var _0x15c948=['8726KrAuyp','onCleanCacheStorageChanged','8712eUaWVi','54TiBnIk','68740ZOENOm','onFinishScan','54228vTMzNI','444KlBrfy','208235dxBNbm','onChatCleanDone','208992LDVNtR','70ehbBpF','288XfXiFA','2236XotzXE','66536MVpocV','935LgKMeL'];_0x50de=function(){return _0x15c948;};return _0x50de();}var _0x18526b=_0xced6;(function(_0x39d961,_0x5bd54f){var _0x10dc74=_0xced6,_0x4e858d=_0x39d961();while(!![]){try{var _0x34c546=parseInt(_0x10dc74(0x199))/0x1*(parseInt(_0x10dc74(0x19e))/0x2)+-parseInt(_0x10dc74(0x195))/0x3*(-parseInt(_0x10dc74(0x190))/0x4)+-parseInt(_0x10dc74(0x196))/0x5+-parseInt(_0x10dc74(0x191))/0x6*(parseInt(_0x10dc74(0x198))/0x7)+parseInt(_0x10dc74(0x19c))/0x8*(parseInt(_0x10dc74(0x19a))/0x9)+-parseInt(_0x10dc74(0x192))/0xa*(-parseInt(_0x10dc74(0x19d))/0xb)+-parseInt(_0x10dc74(0x194))/0xc*(parseInt(_0x10dc74(0x19b))/0xd);if(_0x34c546===_0x5bd54f)break;else _0x4e858d['push'](_0x4e858d['shift']());}catch(_0x14c75f){_0x4e858d['push'](_0x4e858d['shift']());}}}(_0x50de,0x5f5a9));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x2d0475){}['onScanCacheProgressChanged'](_0x13304d){}[_0x18526b(0x18f)](_0x30f0ad){}[_0x18526b(0x193)](_0x1b1e2a){}[_0x18526b(0x197)](_0x2807c2){}} \ No newline at end of file +function _0x2c34(){var _0x4bd867=['onChatCleanDone','529750OHumXo','onScanCacheProgressChanged','onCleanCacheProgressChanged','1001WoTvZy','225IndicJ','1554088Vtxdmw','11784EMldkk','105500uCkJPy','1838750PCLfmA','230860BPAZWv','4688xpbpbA','417NlFbLf'];_0x2c34=function(){return _0x4bd867;};return _0x2c34();}var _0x3128d6=_0x4058;(function(_0x86cfcb,_0x17dc76){var _0xfae8f7=_0x4058,_0x8578cc=_0x86cfcb();while(!![]){try{var _0x5deb94=parseInt(_0xfae8f7(0x1c7))/0x1+parseInt(_0xfae8f7(0x1c4))/0x2*(-parseInt(_0xfae8f7(0x1c5))/0x3)+parseInt(_0xfae8f7(0x1c3))/0x4+parseInt(_0xfae8f7(0x1c2))/0x5+parseInt(_0xfae8f7(0x1c0))/0x6*(-parseInt(_0xfae8f7(0x1bd))/0x7)+parseInt(_0xfae8f7(0x1bf))/0x8+-parseInt(_0xfae8f7(0x1be))/0x9*(parseInt(_0xfae8f7(0x1c1))/0xa);if(_0x5deb94===_0x17dc76)break;else _0x8578cc['push'](_0x8578cc['shift']());}catch(_0x347f3b){_0x8578cc['push'](_0x8578cc['shift']());}}}(_0x2c34,0x44212));function _0x4058(_0x1d9f6c,_0x1fa38f){var _0x2c341b=_0x2c34();return _0x4058=function(_0x405806,_0x4a202a){_0x405806=_0x405806-0x1bc;var _0x2f0ac8=_0x2c341b[_0x405806];return _0x2f0ac8;},_0x4058(_0x1d9f6c,_0x1fa38f);}export class StorageCleanListener{[_0x3128d6(0x1bc)](_0x5cb833){}[_0x3128d6(0x1c8)](_0x3eafbc){}['onCleanCacheStorageChanged'](_0x481bf4){}['onFinishScan'](_0x10ea41){}[_0x3128d6(0x1c6)](_0x328749){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index 26cc96ed..df17c6e1 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x1a8fcb,_0x2c1ef1){var _0x1458d2=_0x54cd,_0x275d68=_0x1a8fcb();while(!![]){try{var _0x61996a=-parseInt(_0x1458d2(0x19d))/0x1*(-parseInt(_0x1458d2(0x196))/0x2)+parseInt(_0x1458d2(0x193))/0x3*(parseInt(_0x1458d2(0x19b))/0x4)+parseInt(_0x1458d2(0x19e))/0x5+parseInt(_0x1458d2(0x19c))/0x6*(-parseInt(_0x1458d2(0x198))/0x7)+parseInt(_0x1458d2(0x197))/0x8*(parseInt(_0x1458d2(0x199))/0x9)+parseInt(_0x1458d2(0x192))/0xa*(-parseInt(_0x1458d2(0x194))/0xb)+-parseInt(_0x1458d2(0x195))/0xc*(parseInt(_0x1458d2(0x19a))/0xd);if(_0x61996a===_0x2c1ef1)break;else _0x275d68['push'](_0x275d68['shift']());}catch(_0x513c90){_0x275d68['push'](_0x275d68['shift']());}}}(_0x24d6,0xb822c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x54cd(_0x12c795,_0x449cc9){var _0x24d604=_0x24d6();return _0x54cd=function(_0x54cd11,_0x33c0ba){_0x54cd11=_0x54cd11-0x192;var _0x182d77=_0x24d604[_0x54cd11];return _0x182d77;},_0x54cd(_0x12c795,_0x449cc9);}function _0x24d6(){var _0x593dad=['40ySlETH','2561922IRJfIN','5115yQOxqI','7458620FHhIVo','130nNuPQN','181074ZWkuzm','437063hAtfbG','276HoGPUn','274DZCfhO','10096EbmwgM','7HgPPzV','4842lDKthG','1004549BoAVrz'];_0x24d6=function(){return _0x593dad;};return _0x24d6();}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x2f33f4,_0x232522){var _0x1645f8=_0x34ee,_0x4e9bb5=_0x2f33f4();while(!![]){try{var _0x2247a6=parseInt(_0x1645f8(0xad))/0x1+-parseInt(_0x1645f8(0xaa))/0x2+-parseInt(_0x1645f8(0xb3))/0x3*(-parseInt(_0x1645f8(0xb4))/0x4)+parseInt(_0x1645f8(0xae))/0x5*(-parseInt(_0x1645f8(0xb0))/0x6)+parseInt(_0x1645f8(0xb2))/0x7+-parseInt(_0x1645f8(0xaf))/0x8*(-parseInt(_0x1645f8(0xab))/0x9)+parseInt(_0x1645f8(0xac))/0xa*(-parseInt(_0x1645f8(0xb1))/0xb);if(_0x2247a6===_0x232522)break;else _0x4e9bb5['push'](_0x4e9bb5['shift']());}catch(_0x3dcfe6){_0x4e9bb5['push'](_0x4e9bb5['shift']());}}}(_0x3747,0x918d7));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x3747(){var _0x259eb5=['106975VhPfuU','4233592SQrgms','210zzVLsY','22XpiHLR','873551alPygs','930toVxwo','15304aacVjB','1823314OCSjwm','18yAkzJo','3917150VRKOSD','670844OepJHS'];_0x3747=function(){return _0x259eb5;};return _0x3747();}function _0x34ee(_0x1d4fee,_0x3a28c5){var _0x37476e=_0x3747();return _0x34ee=function(_0x34ee87,_0x4224f2){_0x34ee87=_0x34ee87-0xaa;var _0x55b9c4=_0x37476e[_0x34ee87];return _0x55b9c4;},_0x34ee(_0x1d4fee,_0x3a28c5);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelGroupService.d.ts b/src/core.lib/src/services/NodeIKernelGroupService.d.ts index b49e3a95..64c510ab 100644 --- a/src/core.lib/src/services/NodeIKernelGroupService.d.ts +++ b/src/core.lib/src/services/NodeIKernelGroupService.d.ts @@ -45,9 +45,9 @@ export interface NodeIKernelGroupService { createGroupWithMembers(arg: unknown): void; quitGroup(groupCode: string): void; destroyGroup(groupCode: string): void; - getSingleScreenNotifies(groupCode: string, ...args: unknown[]): void; + getSingleScreenNotifies(arg1: boolean, arg2: string, arg3: number): Promise; clearGroupNotifies(groupCode: string): void; - getGroupNotifiesUnreadCount(groupCode: string): void; + getGroupNotifiesUnreadCount(unknown: Boolean): Promise; clearGroupNotifiesUnreadCount(groupCode: string): void; operateSysNotify(doubt: boolean, operateMsg: { operateType: GroupRequestOperateTypes; diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index c9bdec00..6f474b16 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x355c61,_0x27912f){var _0xe6f2c4=_0x4d06,_0x597da8=_0x355c61();while(!![]){try{var _0x23918b=-parseInt(_0xe6f2c4(0xcb))/0x1*(-parseInt(_0xe6f2c4(0xd5))/0x2)+parseInt(_0xe6f2c4(0xd0))/0x3*(parseInt(_0xe6f2c4(0xcc))/0x4)+parseInt(_0xe6f2c4(0xcd))/0x5+-parseInt(_0xe6f2c4(0xd3))/0x6*(-parseInt(_0xe6f2c4(0xce))/0x7)+-parseInt(_0xe6f2c4(0xd1))/0x8+-parseInt(_0xe6f2c4(0xcf))/0x9*(-parseInt(_0xe6f2c4(0xd4))/0xa)+-parseInt(_0xe6f2c4(0xd2))/0xb;if(_0x23918b===_0x27912f)break;else _0x597da8['push'](_0x597da8['shift']());}catch(_0x573d5d){_0x597da8['push'](_0x597da8['shift']());}}}(_0x5f54,0xf2e64));export var GeneralCallResultStatus;function _0x4d06(_0x1cd433,_0x274e58){var _0x5f5473=_0x5f54();return _0x4d06=function(_0x4d06f4,_0xc8a401){_0x4d06f4=_0x4d06f4-0xcb;var _0x34bf45=_0x5f5473[_0x4d06f4];return _0x34bf45;},_0x4d06(_0x1cd433,_0x274e58);}function _0x5f54(){var _0x58501f=['2061nCPadT','6346656eZgfXm','54565489BVWbrB','657264vLaAOB','1432990cqaHCk','1683152kMxziD','1WiLxkY','10460RZoofg','6309415PttBKn','63OTNwnh','117sTUOew'];_0x5f54=function(){return _0x58501f;};return _0x5f54();}(function(_0x4bc8e1){_0x4bc8e1[_0x4bc8e1['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x2d75(){var _0x324a3a=['15112XkTuBE','6203095mnQHkN','904XiIdGt','6VWWjtj','153852abNzkK','1822952igvcFY','14142518yLYfdD','45fNiKsk','451kpNPfT','4488HjRaxx','56ndtyva','7lNswkr','556550EviVgx','188NhMDXP'];_0x2d75=function(){return _0x324a3a;};return _0x2d75();}(function(_0x4fbf48,_0x444d17){var _0x1293ff=_0x253b,_0x31e9e9=_0x4fbf48();while(!![]){try{var _0x571834=parseInt(_0x1293ff(0x136))/0x1*(-parseInt(_0x1293ff(0x135))/0x2)+parseInt(_0x1293ff(0x13f))/0x3*(-parseInt(_0x1293ff(0x138))/0x4)+-parseInt(_0x1293ff(0x137))/0x5*(parseInt(_0x1293ff(0x139))/0x6)+-parseInt(_0x1293ff(0x141))/0x7*(parseInt(_0x1293ff(0x13b))/0x8)+-parseInt(_0x1293ff(0x13d))/0x9*(-parseInt(_0x1293ff(0x134))/0xa)+parseInt(_0x1293ff(0x13e))/0xb*(-parseInt(_0x1293ff(0x13a))/0xc)+-parseInt(_0x1293ff(0x13c))/0xd*(-parseInt(_0x1293ff(0x140))/0xe);if(_0x571834===_0x444d17)break;else _0x31e9e9['push'](_0x31e9e9['shift']());}catch(_0x34f5cc){_0x31e9e9['push'](_0x31e9e9['shift']());}}}(_0x2d75,0xd61f6));export var GeneralCallResultStatus;function _0x253b(_0x410f01,_0x4dd03e){var _0x2d75e2=_0x2d75();return _0x253b=function(_0x253bfa,_0x1dbe33){_0x253bfa=_0x253bfa-0x134;var _0x35e7b2=_0x2d75e2[_0x253bfa];return _0x35e7b2;},_0x253b(_0x410f01,_0x4dd03e);}(function(_0xd4a99d){_0xd4a99d[_0xd4a99d['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index fb035c73..3e537953 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x251b7f,_0x26f987){var _0x43c434=_0x31ca,_0xa56b29=_0x251b7f();while(!![]){try{var _0x36cbff=-parseInt(_0x43c434(0x164))/0x1*(parseInt(_0x43c434(0x15e))/0x2)+parseInt(_0x43c434(0x162))/0x3*(-parseInt(_0x43c434(0x167))/0x4)+-parseInt(_0x43c434(0x168))/0x5+-parseInt(_0x43c434(0x160))/0x6+-parseInt(_0x43c434(0x163))/0x7*(parseInt(_0x43c434(0x15f))/0x8)+-parseInt(_0x43c434(0x166))/0x9+parseInt(_0x43c434(0x165))/0xa*(parseInt(_0x43c434(0x161))/0xb);if(_0x36cbff===_0x26f987)break;else _0xa56b29['push'](_0xa56b29['shift']());}catch(_0xa110a9){_0xa56b29['push'](_0xa56b29['shift']());}}}(_0x5d70,0xbccdb));function _0x5d70(){var _0x3ca9ae=['54542719oTOXHa','289650TjWMPF','21pBEmVl','224ZjwAwP','10tbOHOT','7875099HOHHZm','8WIlXIq','47080musDyv','11252tIgRWg','3481416ZIegTo','3250848WsANiF'];_0x5d70=function(){return _0x3ca9ae;};return _0x5d70();}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';function _0x31ca(_0x1eeeca,_0x3d4930){var _0x5d708a=_0x5d70();return _0x31ca=function(_0x31ca02,_0x5bcb8b){_0x31ca02=_0x31ca02-0x15e;var _0x4a743f=_0x5d708a[_0x31ca02];return _0x4a743f;},_0x31ca(_0x1eeeca,_0x3d4930);}export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x478890,_0x3726a8){var _0x4ba504=_0x89a4,_0x3de955=_0x478890();while(!![]){try{var _0x4ab8ed=-parseInt(_0x4ba504(0x1d5))/0x1+parseInt(_0x4ba504(0x1ce))/0x2*(-parseInt(_0x4ba504(0x1cd))/0x3)+parseInt(_0x4ba504(0x1d1))/0x4*(parseInt(_0x4ba504(0x1cb))/0x5)+parseInt(_0x4ba504(0x1d2))/0x6*(parseInt(_0x4ba504(0x1d4))/0x7)+-parseInt(_0x4ba504(0x1ca))/0x8*(parseInt(_0x4ba504(0x1cf))/0x9)+parseInt(_0x4ba504(0x1d3))/0xa+-parseInt(_0x4ba504(0x1d0))/0xb*(-parseInt(_0x4ba504(0x1cc))/0xc);if(_0x4ab8ed===_0x3726a8)break;else _0x3de955['push'](_0x3de955['shift']());}catch(_0xd65b1b){_0x3de955['push'](_0x3de955['shift']());}}}(_0x2110,0x66e77));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x2110(){var _0x590dce=['22jQltqF','17757dvJIEj','22VuWpsm','2857688deVlso','6okklqx','7593600DvtcAD','275324bJYHIL','91319BzIPoS','2840fbXCIO','5IXzlbY','2049348zBKUsQ','174939FzuLjf'];_0x2110=function(){return _0x590dce;};return _0x2110();}function _0x89a4(_0x3ee8ed,_0x3f75da){var _0x211053=_0x2110();return _0x89a4=function(_0x89a4ef,_0x4471fd){_0x89a4ef=_0x89a4ef-0x1ca;var _0x479c7d=_0x211053[_0x89a4ef];return _0x479c7d;},_0x89a4(_0x3ee8ed,_0x3f75da);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 1607028d..08f8ad3d 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x4cf097,_0x6a75e6){const _0x20206b=_0x1e0b,_0x52ab6e=_0x4cf097();while(!![]){try{const _0x1e0a14=-parseInt(_0x20206b(0xe7))/0x1*(-parseInt(_0x20206b(0xf7))/0x2)+-parseInt(_0x20206b(0xf2))/0x3*(parseInt(_0x20206b(0xfa))/0x4)+-parseInt(_0x20206b(0xf5))/0x5+parseInt(_0x20206b(0xf0))/0x6+-parseInt(_0x20206b(0xee))/0x7*(-parseInt(_0x20206b(0xeb))/0x8)+parseInt(_0x20206b(0xea))/0x9*(parseInt(_0x20206b(0xf8))/0xa)+-parseInt(_0x20206b(0xef))/0xb;if(_0x1e0a14===_0x6a75e6)break;else _0x52ab6e['push'](_0x52ab6e['shift']());}catch(_0x1490cd){_0x52ab6e['push'](_0x52ab6e['shift']());}}}(_0x1414,0x94358));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x34f6b2 from'node:path';function _0x1414(){const _0x32abcc=['3970395AuEcPN','49736piUGKK','MGCBp','join','623KqDFXW','4784758eZzaMe','4995006OQXkuJ','mkdirSync','5997fQrIyJ','guid.txt','writeFileSync','1707635yigzSy','temp','2smwprH','10LYLCaU','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','2156OfhdtX','assign','utf-8','readFileSync','MWSOg','curVersion','634061OLbRfT','jewCP','tLsFs'];_0x1414=function(){return _0x32abcc;};return _0x1414();}import _0x43b35b from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x1e0b(_0x1a484e,_0x257614){const _0x1414dc=_0x1414();return _0x1e0b=function(_0x1e0b69,_0x2c4f39){_0x1e0b69=_0x1e0b69-0xe2;let _0x522658=_0x1414dc[_0x1e0b69];return _0x522658;},_0x1e0b(_0x1a484e,_0x257614);}export function genSessionConfig(_0x198cce,_0x5a56d2,_0x30c993){const _0x9cd613=_0x1e0b,_0x26b4d9={'MGCBp':'NapCat','jewCP':_0x9cd613(0xf6),'tLsFs':function(_0x3d4bd3){return _0x3d4bd3();},'HGuNd':_0x9cd613(0xe3),'MWSOg':_0x9cd613(0xf9)},_0xb7bf7f=_0x34f6b2[_0x9cd613(0xed)](_0x30c993,_0x26b4d9[_0x9cd613(0xec)],_0x26b4d9[_0x9cd613(0xe8)]);_0x43b35b[_0x9cd613(0xf1)](_0xb7bf7f,{'recursive':!![]});const _0x317d44=_0x34f6b2[_0x9cd613(0xed)](_0x30c993,_0x26b4d9[_0x9cd613(0xec)],_0x9cd613(0xf3));let _0x41ff50=_0x26b4d9[_0x9cd613(0xe9)](randomUUID);try{_0x41ff50=_0x43b35b[_0x9cd613(0xe4)](_0x34f6b2['join'](_0x317d44),_0x9cd613(0xe3));}catch(_0x1c8be3){_0x43b35b[_0x9cd613(0xf4)](_0x34f6b2['join'](_0x317d44),_0x41ff50,_0x26b4d9['HGuNd']);}const _0x13d93c={'selfUin':_0x198cce,'selfUid':_0x5a56d2,'desktopPathConfig':{'account_path':_0x30c993},'clientVer':qqVersionConfigInfo[_0x9cd613(0xe6)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0xb7bf7f,'deviceInfo':{'guid':_0x41ff50,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x26b4d9[_0x9cd613(0xe5)]};return Object[_0x9cd613(0xe2)](sessionConfig,_0x13d93c),_0x13d93c;} \ No newline at end of file +(function(_0x6a574e,_0x8ecffe){const _0x1ebacf=_0x4cf0,_0x5e0db6=_0x6a574e();while(!![]){try{const _0x86d1c6=-parseInt(_0x1ebacf(0x16e))/0x1+-parseInt(_0x1ebacf(0x16a))/0x2+-parseInt(_0x1ebacf(0x174))/0x3*(-parseInt(_0x1ebacf(0x165))/0x4)+-parseInt(_0x1ebacf(0x176))/0x5+-parseInt(_0x1ebacf(0x16c))/0x6*(-parseInt(_0x1ebacf(0x16b))/0x7)+parseInt(_0x1ebacf(0x169))/0x8+parseInt(_0x1ebacf(0x16d))/0x9*(parseInt(_0x1ebacf(0x179))/0xa);if(_0x86d1c6===_0x8ecffe)break;else _0x5e0db6['push'](_0x5e0db6['shift']());}catch(_0x3b5215){_0x5e0db6['push'](_0x5e0db6['shift']());}}}(_0x4bfd,0x7adae));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x4bfd(){const _0x239372=['utf-8','44zHXqJA','VeNQO','TVegt','lrZWD','612568RkXppb','1507874jmnoOq','3106901ZrcJQi','6spsbDm','888534gucnOK','107552LbiZti','version','mkdirSync','temp','assign','writeFileSync','155172KuLIhq','readFileSync','2078785SMuZCe','NapCat','join','70SwSvyC','yMCaC','xrYEE','curVersion'];_0x4bfd=function(){return _0x239372;};return _0x4bfd();}import _0x2e409c from'node:path';import _0x522839 from'node:fs';import{randomUUID}from'crypto';function _0x4cf0(_0x4def16,_0x534db7){const _0x4bfd23=_0x4bfd();return _0x4cf0=function(_0x4cf052,_0x451f64){_0x4cf052=_0x4cf052-0x164;let _0x301e97=_0x4bfd23[_0x4cf052];return _0x301e97;},_0x4cf0(_0x4def16,_0x534db7);}export const sessionConfig={};export function genSessionConfig(_0x29f4ac,_0xb88895,_0x307973){const _0x493669=_0x4cf0,_0x22d334={'VeNQO':_0x493669(0x177),'xZhqM':_0x493669(0x171),'xrYEE':'guid.txt','lrZWD':function(_0x426b36){return _0x426b36();},'TVegt':_0x493669(0x164),'yMCaC':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x794108=_0x2e409c[_0x493669(0x178)](_0x307973,_0x22d334[_0x493669(0x166)],_0x22d334['xZhqM']);_0x522839[_0x493669(0x170)](_0x794108,{'recursive':!![]});const _0x5efe2d=_0x2e409c[_0x493669(0x178)](_0x307973,_0x493669(0x177),_0x22d334[_0x493669(0x17b)]);let _0x5d32da=_0x22d334[_0x493669(0x168)](randomUUID);try{_0x5d32da=_0x522839[_0x493669(0x175)](_0x2e409c[_0x493669(0x178)](_0x5efe2d),_0x22d334[_0x493669(0x167)]);}catch(_0x27b140){_0x522839[_0x493669(0x173)](_0x2e409c[_0x493669(0x178)](_0x5efe2d),_0x5d32da,_0x22d334[_0x493669(0x167)]);}const _0x32a6d7={'selfUin':_0x29f4ac,'selfUid':_0xb88895,'desktopPathConfig':{'account_path':_0x307973},'clientVer':qqVersionConfigInfo[_0x493669(0x17c)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x794108,'deviceInfo':{'guid':_0x5d32da,'buildVer':qqPkgInfo[_0x493669(0x16f)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x22d334[_0x493669(0x17a)]};return Object[_0x493669(0x172)](sessionConfig,_0x32a6d7),_0x32a6d7;} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index 47896e92..91f6ae6d 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x19ed(_0x30f13f,_0x388531){const _0x3ee7aa=_0x3ee7();return _0x19ed=function(_0x19ede7,_0x469f0f){_0x19ede7=_0x19ede7-0x114;let _0xc13cfd=_0x3ee7aa[_0x19ede7];return _0xc13cfd;},_0x19ed(_0x30f13f,_0x388531);}const _0x38503e=_0x19ed;(function(_0x220f50,_0x22939c){const _0x5c3239=_0x19ed,_0x4aa7f1=_0x220f50();while(!![]){try{const _0x2027e0=parseInt(_0x5c3239(0x117))/0x1*(parseInt(_0x5c3239(0x12a))/0x2)+-parseInt(_0x5c3239(0x115))/0x3*(-parseInt(_0x5c3239(0x125))/0x4)+-parseInt(_0x5c3239(0x11a))/0x5*(-parseInt(_0x5c3239(0x11b))/0x6)+-parseInt(_0x5c3239(0x11f))/0x7*(-parseInt(_0x5c3239(0x123))/0x8)+parseInt(_0x5c3239(0x129))/0x9+parseInt(_0x5c3239(0x119))/0xa*(-parseInt(_0x5c3239(0x124))/0xb)+-parseInt(_0x5c3239(0x127))/0xc;if(_0x2027e0===_0x22939c)break;else _0x4aa7f1['push'](_0x4aa7f1['shift']());}catch(_0x2a4d8b){_0x4aa7f1['push'](_0x4aa7f1['shift']());}}}(_0x3ee7,0xc96e8));import _0xbefc78 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x38503e(0x118)]=!![];['consoleLog']=!![];[_0x38503e(0x126)]=LogLevel[_0x38503e(0x11d)];[_0x38503e(0x116)]=LogLevel[_0x38503e(0x121)];constructor(){super();}[_0x38503e(0x120)](){const _0x39688c=_0x38503e;return _0xbefc78[_0x39688c(0x114)](this[_0x39688c(0x11c)](),_0x39688c(0x128)+selfInfo[_0x39688c(0x122)]+_0x39688c(0x11e));}}function _0x3ee7(){const _0x511dba=['1254408yxVmAE','getConfigDir','DEBUG','.json','2363529hInnJs','getConfigPath','INFO','uin','24pzSiAT','187WlTXEy','15268GANcCH','fileLogLevel','37683900KIQZkx','napcat_','8169570OVjgXe','10QSzrSI','join','396DgaKhH','consoleLogLevel','312569wTUome','fileLog','627830LMKsrm','25pZKWGx'];_0x3ee7=function(){return _0x511dba;};return _0x3ee7();}export const napCatConfig=new Config(); \ No newline at end of file +const _0x59d3cc=_0x5786;(function(_0xeb1752,_0x4a23d0){const _0x1395a3=_0x5786,_0x283e7a=_0xeb1752();while(!![]){try{const _0x3ea473=parseInt(_0x1395a3(0x104))/0x1*(-parseInt(_0x1395a3(0x107))/0x2)+parseInt(_0x1395a3(0x100))/0x3*(parseInt(_0x1395a3(0x108))/0x4)+parseInt(_0x1395a3(0x110))/0x5*(parseInt(_0x1395a3(0x105))/0x6)+parseInt(_0x1395a3(0x106))/0x7+parseInt(_0x1395a3(0xfe))/0x8*(-parseInt(_0x1395a3(0x101))/0x9)+-parseInt(_0x1395a3(0xfc))/0xa*(-parseInt(_0x1395a3(0x103))/0xb)+parseInt(_0x1395a3(0xff))/0xc*(parseInt(_0x1395a3(0xfb))/0xd);if(_0x3ea473===_0x4a23d0)break;else _0x283e7a['push'](_0x283e7a['shift']());}catch(_0x1145ef){_0x283e7a['push'](_0x283e7a['shift']());}}}(_0x8a03,0x4eec3));import _0x1ae918 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x8a03(){const _0x1c4d0e=['fileLog','5305573RHzPjt','130uvNWrl','consoleLog','4803944Wqfeqj','12JcvNDP','6LkeraZ','9FwEpYM','INFO','108009cAZbLB','54566YZMCCG','6AqLbse','818671aaPrOw','10fKytZv','941532CUQsgw','napcat_','uin','.json','getConfigDir','DEBUG','fileLogLevel','consoleLogLevel','365515FmspiR','getConfigPath','join'];_0x8a03=function(){return _0x1c4d0e;};return _0x8a03();}function _0x5786(_0x4d5f2f,_0x4e32ad){const _0x8a038b=_0x8a03();return _0x5786=function(_0x578637,_0x468cb4){_0x578637=_0x578637-0xfb;let _0xcf1e0=_0x8a038b[_0x578637];return _0xcf1e0;},_0x5786(_0x4d5f2f,_0x4e32ad);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x59d3cc(0x113)]=!![];[_0x59d3cc(0xfd)]=!![];[_0x59d3cc(0x10e)]=LogLevel[_0x59d3cc(0x10d)];[_0x59d3cc(0x10f)]=LogLevel[_0x59d3cc(0x102)];constructor(){super();}[_0x59d3cc(0x111)](){const _0x3e6af9=_0x59d3cc;return _0x1ae918[_0x3e6af9(0x112)](this[_0x3e6af9(0x10c)](),_0x3e6af9(0x109)+selfInfo[_0x3e6af9(0x10a)]+_0x3e6af9(0x10b));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/db.js b/src/core.lib/src/utils/db.js index 72b38a14..b43d26e3 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x3607e2=_0x54e9;(function(_0x44954e,_0x2ec8bb){const _0x42d397=_0x54e9,_0x44a5ad=_0x44954e();while(!![]){try{const _0xef5abe=parseInt(_0x42d397(0x169))/0x1*(-parseInt(_0x42d397(0x14f))/0x2)+-parseInt(_0x42d397(0x134))/0x3+-parseInt(_0x42d397(0x15a))/0x4*(parseInt(_0x42d397(0x112))/0x5)+-parseInt(_0x42d397(0xff))/0x6+-parseInt(_0x42d397(0x117))/0x7+-parseInt(_0x42d397(0x10e))/0x8+parseInt(_0x42d397(0x116))/0x9*(parseInt(_0x42d397(0x11c))/0xa);if(_0xef5abe===_0x2ec8bb)break;else _0x44a5ad['push'](_0x44a5ad['shift']());}catch(_0x966f76){_0x44a5ad['push'](_0x44a5ad['shift']());}}}(_0x3685,0x1e9a9));function _0x54e9(_0x577753,_0x5b5cd7){const _0x36855e=_0x3685();return _0x54e9=function(_0x54e95d,_0xe69631){_0x54e95d=_0x54e95d-0xe4;let _0x4c36df=_0x36855e[_0x54e95d];return _0x4c36df;},_0x54e9(_0x577753,_0x5b5cd7);}import _0x5b7392 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async['init'](_0x18c287){const _0x4380c6=_0x54e9,_0x506648={'OIWKg':function(_0x39340d,_0x2f2a00,_0x1e9dce){return _0x39340d(_0x2f2a00,_0x1e9dce);},'JEEsg':_0x4380c6(0xf0),'sVqWl':function(_0x5659b6,_0x2bae7a){return _0x5659b6(_0x2bae7a);},'pNHqw':function(_0x44807a){return _0x44807a();}};if(this['db'])return;return new Promise((_0x42080e,_0x226069)=>{const _0x460071=_0x4380c6,_0x3ca3f4={'EFROr':function(_0x4296c2,_0x1e9863,_0x2668db){return _0x506648['OIWKg'](_0x4296c2,_0x1e9863,_0x2668db);},'gUOcE':_0x506648[_0x460071(0x132)],'YoHyv':function(_0x19f421,_0x3c5e7f){const _0x1e0205=_0x460071;return _0x506648[_0x1e0205(0x11e)](_0x19f421,_0x3c5e7f);},'rNobl':function(_0x58acc2){const _0x6f68ef=_0x460071;return _0x506648[_0x6f68ef(0x109)](_0x58acc2);}};this['db']=new _0x5b7392[(_0x460071(0x154))](_0x18c287,_0x5b7392[_0x460071(0x105)]|_0x5b7392[_0x460071(0x14c)],_0x3a92c2=>{const _0x38bc69=_0x460071;if(_0x3a92c2){_0x3ca3f4[_0x38bc69(0x12c)](logError,_0x3ca3f4[_0x38bc69(0xfa)],_0x3a92c2),_0x3ca3f4[_0x38bc69(0xfe)](_0x226069,_0x3a92c2);return;}this[_0x38bc69(0x14b)](),_0x3ca3f4[_0x38bc69(0x10a)](_0x42080e);});});}['createTable'](){const _0x188b16=_0x54e9;throw new Error(_0x188b16(0x168));}['close'](){const _0x814eb1=_0x54e9;this['db']?.[_0x814eb1(0x150)]();}}function _0x3685(){const _0x2e7775=['globalMsgShortId','vwPnA','db\x20could\x20not\x20get\x20temp\x20uin\x20map','delete','db\x20could\x20not\x20add\x20temp\x20uin','AXnHE','updateMsg','mgFWh','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','rqRHM','fzfkO','dYuFx','getCurrentMaxShortId','msgSeq','uQlrT','Bmxkn','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','size','createTable','OPEN_CREATE','path','数据库中消息最大短id','2BHiJjd','close','catch','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','maxId','Database','ZQbpZ','msgCache','forEach','uuid','msgTime','8116XoOyYC','hfWiB','IROsq','updateMsg\x20db\x20error','get','addFileCache','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','Could\x20not\x20create\x20table\x20files','uid','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','url','set','db\x20getMsgByLongId\x20error','Method\x20not\x20implemented.','27883JEfXmt','Could\x20not\x20create\x20table\x20msgs','updateFileCache','prepare','addMsg',',\x20msgId:\x20','peerUid','getFileCacheByName','stringify','fZfHT','Rqtlk',',\x20seq:\x20','清理消息缓存','WevhE','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','Could\x20not\x20connect\x20to\x20database','elementId','element','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','bIKMh','getMsgBySeq','MYglZ','msgId','db\x20could\x20not\x20add\x20msg','parse','gUOcE','MIoSU','Fydth','rOLRD','YoHyv','88896IQAjVB','msgList','getMsg','errno','qjNLf','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','OPEN_READWRITE','HuXHc','run','SELECT\x20*\x20FROM\x20temp_uins','pNHqw','rNobl','addTempUin','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','XVKHn','553432xRqHOZ','shortId','getMsgByLongId','assign','610VVaePa','PjyFV','getMsgsByMsgId','rkfuQ','2227059VFcdLl','1394855bOcaWE','DQgVA','getMsgByShortId','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','hWOPr','30VVTNRt','hSpul','sVqWl','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','YvxxV','init','chatType','FnJDk','pAYWL','getReceivedTempUinMap','has','FWvxp','BPHIk','all','db\x20could\x20not\x20update\x20file\x20cache','getUidByTempUin','EFROr','UGCzV','hIBfH','getFileCache','oKXrx','sbYjC','JEEsg','XPxLI','174957pFKJkV','wGuLp','qnNjz','eixkS','lRBND'];_0x3685=function(){return _0x2e7775;};return _0x3685();}class DBUtil extends DBUtilBase{['msgCache']=new Map();[_0x3607e2(0x139)]=-0x7ffffff8;constructor(){const _0x4f5974=_0x3607e2,_0x513821={'WevhE':function(_0x324584,_0x1db5f5){return _0x324584>_0x1db5f5;},'hfWiB':function(_0x583554,_0x1cdabe){return _0x583554-_0x1cdabe;},'JWpHY':function(_0x1d3037,_0x4dd3c4){return _0x1d3037*_0x4dd3c4;},'Rqtlk':function(_0x2c532e,_0xf49d51){return _0x2c532e(_0xf49d51);},'YvxxV':_0x4f5974(0xed),'hIBfH':function(_0x38598d,_0x89c6ef){return _0x38598d*_0x89c6ef;},'bIKMh':function(_0x1ef1a5,_0x5bf255){return _0x1ef1a5*_0x5bf255;},'eixkS':function(_0x40a8f7,_0x3f55a4,_0x250ddb){return _0x40a8f7(_0x3f55a4,_0x250ddb);}};super();const _0x33a205=_0x513821[_0x4f5974(0x12e)](_0x513821[_0x4f5974(0xf4)](0x3e8,0x3c),0xa);_0x513821[_0x4f5974(0x137)](setInterval,()=>{const _0x409db7=_0x4f5974;_0x513821[_0x409db7(0xeb)](logDebug,_0x513821[_0x409db7(0x120)]),this['msgCache'][_0x409db7(0x157)]((_0xaf0a0a,_0xf28f32)=>{const _0x5541de=_0x409db7;_0x513821[_0x5541de(0xee)](_0x513821[_0x5541de(0x15b)](Date['now'](),_0x513821['JWpHY'](parseInt(_0xaf0a0a[_0x5541de(0x159)]),0x3e8)),_0x33a205)&&this[_0x5541de(0x156)][_0x5541de(0x13c)](_0xf28f32);});},_0x33a205);}async['init'](_0x2d7889){const _0x1a9b39=_0x3607e2;await super[_0x1a9b39(0x121)](_0x2d7889),this[_0x1a9b39(0x139)]=await this[_0x1a9b39(0x145)]();}[_0x3607e2(0x14b)](){const _0x2ac975=_0x3607e2,_0x317bb6={'BPHIk':function(_0x228063,_0x34c2a0,_0x4d3953){return _0x228063(_0x34c2a0,_0x4d3953);},'UGCzV':_0x2ac975(0x16a),'mgFWh':function(_0x2e2289,_0x254e80,_0x1a8a62){return _0x2e2289(_0x254e80,_0x1a8a62);},'fzfkO':_0x2ac975(0x161),'dYuFx':function(_0x21b3c3,_0x3b9d13,_0x3d2934){return _0x21b3c3(_0x3b9d13,_0x3d2934);},'rkfuQ':'Could\x20not\x20create\x20table\x20temp_uins'},_0x1cc40b=_0x2ac975(0x10c);this['db']['run'](_0x1cc40b,function(_0xa707c6){const _0x2a235e=_0x2ac975;_0xa707c6&&_0x317bb6[_0x2a235e(0x128)](logError,_0x317bb6[_0x2a235e(0x12d)],_0xa707c6['stack']);});const _0x48e4f1=_0x2ac975(0xef);this['db']['run'](_0x48e4f1,function(_0x168a91){const _0x6a806b=_0x2ac975;_0x168a91&&_0x317bb6[_0x6a806b(0x140)](logError,_0x317bb6[_0x6a806b(0x143)],_0x168a91);});const _0x29d8a7=_0x2ac975(0x163);this['db'][_0x2ac975(0x107)](_0x29d8a7,function(_0x1cf529){const _0x3d63b9=_0x2ac975;_0x1cf529&&_0x317bb6[_0x3d63b9(0x144)](logError,_0x317bb6[_0x3d63b9(0x115)],_0x1cf529);});}async[_0x3607e2(0x145)](){const _0x321c0e={'BxAJV':'Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','rqRHM':function(_0x16c43c,_0x3b0ef7){return _0x16c43c(_0x3b0ef7);},'lRBND':'SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs'};return new Promise((_0x1d9a92,_0x5a9efb)=>{const _0x494d27=_0x54e9,_0x3c6d5c={'xJwzO':_0x321c0e['BxAJV'],'FWvxp':function(_0x58a4c4,_0x351894){const _0x4e3050=_0x54e9;return _0x321c0e[_0x4e3050(0x142)](_0x58a4c4,_0x351894);}};this['db'][_0x494d27(0x15e)](_0x321c0e[_0x494d27(0x138)],(_0x59c4d2,_0x2520f5)=>{const _0x214b85=_0x494d27;if(_0x59c4d2)return logDebug(_0x3c6d5c['xJwzO'],_0x59c4d2),_0x3c6d5c[_0x214b85(0x127)](_0x1d9a92,-0x7ffffff8);logDebug(_0x214b85(0x14e),_0x2520f5?.['maxId']),_0x1d9a92(_0x2520f5?.[_0x214b85(0x153)]??-0x7ffffff8);});});}async[_0x3607e2(0x101)](_0x4ce343,_0x5864ea){const _0x33dade=_0x3607e2,_0x476ebb={'TEWSl':'Could\x20not\x20get\x20msg','IddOS':function(_0x2f5e08,_0x22206a){return _0x2f5e08(_0x22206a);}},_0x5241e1=this['db'][_0x33dade(0xe4)](_0x4ce343);return new Promise((_0x1f9e8e,_0x4aa081)=>{const _0x325f44={'vwPnA':function(_0x4370f6,_0x32cdbc){return _0x4370f6(_0x32cdbc);},'FnJDk':_0x476ebb['TEWSl'],'Fydth':function(_0x4a1160,_0x517525){return _0x476ebb['IddOS'](_0x4a1160,_0x517525);}};_0x5241e1['get'](..._0x5864ea,(_0x147fd2,_0x25e4e7)=>{const _0x2d341a=_0x54e9,_0x305141={'gCnYD':function(_0x4555cd,_0x4a0d72){return _0x4555cd(_0x4a0d72);},'KJWKu':function(_0x3106b5,_0x436881){const _0xc74d5=_0x54e9;return _0x325f44[_0xc74d5(0x13a)](_0x3106b5,_0x436881);}};if(_0x147fd2)return logError(_0x325f44[_0x2d341a(0x123)],_0x147fd2,_0x4ce343,_0x5864ea),_0x325f44[_0x2d341a(0xfc)](_0x1f9e8e,null);if(!_0x25e4e7){_0x325f44['vwPnA'](_0x1f9e8e,null);return;}const _0x3a58ee=_0x25e4e7['longId'];NTQQMsgApi[_0x2d341a(0x114)]({'peerUid':_0x25e4e7[_0x2d341a(0xe7)],'chatType':_0x25e4e7['chatType']},[_0x3a58ee])['then'](_0x15d9e9=>{const _0x164f45=_0x2d341a,_0xf303f6=_0x15d9e9[_0x164f45(0x100)][0x0];if(!_0xf303f6){_0x305141['gCnYD'](_0x1f9e8e,null);return;}_0xf303f6['id']=_0x25e4e7[_0x164f45(0x10f)],_0x305141['gCnYD'](_0x1f9e8e,_0xf303f6);})[_0x2d341a(0x151)](_0x1933ea=>{_0x305141['KJWKu'](_0x1f9e8e,null);});});});}async[_0x3607e2(0x119)](_0x3bd191){const _0x31207f=_0x3607e2,_0x164c36={'uQlrT':_0x31207f(0x11a)};if(this[_0x31207f(0x156)][_0x31207f(0x126)](_0x3bd191))return this['msgCache']['get'](_0x3bd191);const _0x180eb8=_0x164c36[_0x31207f(0x147)];return this['getMsg'](_0x180eb8,[_0x3bd191]);}async[_0x3607e2(0x110)](_0x4eba13){const _0x245b53=_0x3607e2;if(this[_0x245b53(0x156)]['has'](_0x4eba13))return this['msgCache']['get'](_0x4eba13);return this[_0x245b53(0x101)](_0x245b53(0x160),[_0x4eba13]);}async[_0x3607e2(0xf5)](_0x4e4b2d,_0x486fe9){const _0x3d0151=_0x3607e2,_0x4cae5a={'BMIbg':_0x3d0151(0x11f)},_0x350b64=_0x4cae5a['BMIbg'];return this[_0x3d0151(0x101)](_0x350b64,[_0x4e4b2d,_0x486fe9]);}async[_0x3607e2(0xe5)](_0x1ffc1d,_0x282ace=!![]){const _0x2d21fc=_0x3607e2,_0x4d91c2={'oKXrx':function(_0x2f3c76,_0x102722,_0x2097a0){return _0x2f3c76(_0x102722,_0x2097a0);},'EGFqQ':function(_0x2d3fb4,_0x201214){return _0x2d3fb4===_0x201214;},'pAYWL':function(_0x2c730e,_0x2d1a0d,_0x1665a7){return _0x2c730e(_0x2d1a0d,_0x1665a7);},'MYglZ':function(_0x285c07,_0x4e1342){return _0x285c07(_0x4e1342);}},_0x79dd42=await this[_0x2d21fc(0x110)](_0x1ffc1d[_0x2d21fc(0xf7)]);if(_0x79dd42){if(_0x282ace)this[_0x2d21fc(0x13f)](_0x1ffc1d)['then']();return _0x79dd42['id'];}const _0xdd608c=this['db'][_0x2d21fc(0xe4)](_0x2d21fc(0x141)),_0x6f1def=++this[_0x2d21fc(0x139)];return _0x1ffc1d['id']=_0x6f1def,_0x4d91c2[_0x2d21fc(0xf6)](logDebug,'记录消息到数据库,\x20消息长id:\x20'+_0x1ffc1d[_0x2d21fc(0xf7)]+',\x20短id:\x20'+_0x1ffc1d['id']),this[_0x2d21fc(0x156)]['set'](_0x6f1def,_0x1ffc1d),this['msgCache'][_0x2d21fc(0x166)](_0x1ffc1d[_0x2d21fc(0xf7)],_0x1ffc1d),_0xdd608c[_0x2d21fc(0x107)](this[_0x2d21fc(0x139)],_0x1ffc1d[_0x2d21fc(0xf7)],_0x1ffc1d[_0x2d21fc(0x146)]['toString'](),_0x1ffc1d[_0x2d21fc(0xe7)],_0x1ffc1d[_0x2d21fc(0x122)],_0x2030f7=>{const _0x13771f=_0x2d21fc;_0x2030f7&&(_0x4d91c2['EGFqQ'](_0x2030f7[_0x13771f(0x102)],0x13)?this[_0x13771f(0x110)](_0x1ffc1d[_0x13771f(0xf7)])['then'](_0x1ec849=>{const _0x46e4e6=_0x13771f;_0x1ec849?(this[_0x46e4e6(0x156)]['set'](_0x6f1def,_0x1ec849),this['msgCache']['set'](_0x1ec849[_0x46e4e6(0xf7)],_0x1ec849)):_0x4d91c2[_0x46e4e6(0x130)](logError,_0x46e4e6(0x149),_0x2030f7);})['catch'](_0x1bc102=>logError(_0x13771f(0x167),_0x1bc102)):_0x4d91c2[_0x13771f(0x124)](logError,_0x13771f(0xf8),_0x2030f7));}),_0x6f1def;}async[_0x3607e2(0x13f)](_0x35a9d5){const _0x35f928=_0x3607e2,_0x5420f9={'DQgVA':function(_0x4b3ee4,_0x28cd51,_0x4a80a7){return _0x4b3ee4(_0x28cd51,_0x4a80a7);},'MIoSU':function(_0x2ea150,_0x2c2d39){return _0x2ea150(_0x2c2d39);},'hSpul':_0x35f928(0x164)},_0x3c36e2=this[_0x35f928(0x156)][_0x35f928(0x15e)](_0x35a9d5[_0x35f928(0xf7)]);_0x3c36e2&&Object[_0x35f928(0x111)](_0x3c36e2,_0x35a9d5);_0x5420f9[_0x35f928(0xfb)](logDebug,'更新消息,\x20shortId:'+_0x35a9d5['id']+_0x35f928(0xec)+_0x35a9d5[_0x35f928(0x146)]+_0x35f928(0xe6)+_0x35a9d5[_0x35f928(0xf7)]);const _0x192dca=this['db'][_0x35f928(0xe4)](_0x5420f9[_0x35f928(0x11d)]);_0x192dca['run'](_0x35a9d5[_0x35f928(0x146)],_0x35a9d5[_0x35f928(0xf7)],_0x2cf5ce=>{const _0x54716c=_0x35f928;_0x2cf5ce&&_0x5420f9[_0x54716c(0x118)](logError,_0x54716c(0x15d),_0x2cf5ce);});}async[_0x3607e2(0x15f)](_0x3730b8){const _0x3d507e=_0x3607e2,_0x441fcb={'Bmxkn':function(_0x326200,_0x16f920){return _0x326200(_0x16f920);}},_0x3bcac8=this['db'][_0x3d507e(0xe4)]('INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)');return new Promise((_0x29f617,_0x54c9e5)=>{const _0xa24e14=_0x3d507e,_0x47247d={'XPxLI':function(_0x49ac4d,_0x2e123f,_0x1c861c){return _0x49ac4d(_0x2e123f,_0x1c861c);},'sbYjC':'db\x20could\x20not\x20add\x20file','HuXHc':function(_0x1a8f3f,_0x93b40c){const _0x2fb8d0=_0x54e9;return _0x441fcb[_0x2fb8d0(0x148)](_0x1a8f3f,_0x93b40c);}};_0x3bcac8[_0xa24e14(0x107)](_0x3730b8['name'],_0x3730b8[_0xa24e14(0x14d)],_0x3730b8['url'],_0x3730b8[_0xa24e14(0x14a)],_0x3730b8[_0xa24e14(0x158)],_0x3730b8['elementType'],JSON[_0xa24e14(0xe9)](_0x3730b8[_0xa24e14(0xf2)]),_0x3730b8[_0xa24e14(0xf1)],_0x3730b8[_0xa24e14(0xf7)],function(_0x430284){const _0x3c4f24=_0xa24e14;_0x430284&&(_0x47247d[_0x3c4f24(0x133)](logError,_0x47247d[_0x3c4f24(0x131)],_0x430284),_0x47247d[_0x3c4f24(0x106)](_0x54c9e5,_0x430284)),_0x29f617(null);});});}async[_0x3607e2(0x12f)](_0x5962a7,_0x48243e){const _0xa1c214=_0x3607e2,_0x3110f9={'hWOPr':'db\x20could\x20not\x20get\x20file\x20cache','xJXFn':function(_0x2022f7,_0x12c117){return _0x2022f7(_0x12c117);}},_0xc3f2db=this['db'][_0xa1c214(0xe4)](_0x5962a7);return new Promise((_0x1f8bdf,_0x390062)=>{const _0x5545ad=_0xa1c214;_0xc3f2db[_0x5545ad(0x15e)](..._0x48243e,(_0x351215,_0x2faa3f)=>{const _0x1cbe7a=_0x5545ad;_0x351215&&(logError(_0x3110f9[_0x1cbe7a(0x11b)],_0x351215),_0x3110f9['xJXFn'](_0x390062,_0x351215)),_0x2faa3f&&(_0x2faa3f[_0x1cbe7a(0xf2)]=JSON[_0x1cbe7a(0xf9)](_0x2faa3f[_0x1cbe7a(0xf2)])),_0x3110f9['xJXFn'](_0x1f8bdf,_0x2faa3f);});});}async[_0x3607e2(0xe8)](_0x4b5e2a){const _0x59af3f=_0x3607e2,_0x2b909d={'MKSPW':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?'};return this[_0x59af3f(0x12f)](_0x2b909d['MKSPW'],[_0x4b5e2a]);}async['getFileCacheByUuid'](_0x3308ab){const _0x450253=_0x3607e2;return this[_0x450253(0x12f)]('SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?',[_0x3308ab]);}async[_0x3607e2(0x16b)](_0x47814e){const _0x112464=_0x3607e2,_0x4d468a={'fZfHT':function(_0x426a67,_0x5ebfcf,_0xcb03de){return _0x426a67(_0x5ebfcf,_0xcb03de);},'XVKHn':_0x112464(0x12a),'EuIMD':function(_0xe1df38,_0x20115b){return _0xe1df38(_0x20115b);},'rOLRD':_0x112464(0x152)},_0x585c92=this['db'][_0x112464(0xe4)](_0x4d468a[_0x112464(0xfd)]);return new Promise((_0x5795c2,_0x2e1d71)=>{const _0x258571=_0x112464;_0x585c92[_0x258571(0x107)](_0x47814e[_0x258571(0x14d)],_0x47814e[_0x258571(0x165)],_0x47814e[_0x258571(0x158)],function(_0x521b9b){const _0x174a63=_0x258571;_0x521b9b&&(_0x4d468a[_0x174a63(0xea)](logError,_0x4d468a[_0x174a63(0x10d)],_0x521b9b),_0x2e1d71(_0x521b9b)),_0x4d468a['EuIMD'](_0x5795c2,null);});});}async[_0x3607e2(0x125)](){const _0xc0aa3a=_0x3607e2,_0x5e0c36={'qnNjz':function(_0xfdaa58,_0x1b3b12,_0x7144cb){return _0xfdaa58(_0x1b3b12,_0x7144cb);},'qjNLf':_0xc0aa3a(0x13b),'JTnIC':function(_0x3a1775,_0x24222d){return _0x3a1775(_0x24222d);},'IROsq':_0xc0aa3a(0x108)},_0x2e66d3=_0x5e0c36[_0xc0aa3a(0x15c)];return new Promise((_0x1e806d,_0x2d74cc)=>{const _0x757918=_0xc0aa3a;this['db'][_0x757918(0x129)](_0x2e66d3,(_0x4220de,_0x5cc311)=>{const _0x386348=_0x757918;_0x4220de&&(_0x5e0c36[_0x386348(0x136)](logError,_0x5e0c36[_0x386348(0x103)],_0x4220de),_0x5e0c36['JTnIC'](_0x2d74cc,_0x4220de));const _0x5c3178={};_0x5cc311['forEach'](_0x2ffd32=>{const _0x2998b2=_0x386348;_0x5c3178[_0x2ffd32['uin']]=_0x2ffd32[_0x2998b2(0x162)];}),_0x1e806d(_0x5c3178);});});}async[_0x3607e2(0x12b)](_0x175a7b){const _0x4d1f0f=_0x3607e2,_0xdff391={'PjyFV':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','ajrrN':function(_0x55c2b0,_0xfa4762){return _0x55c2b0(_0xfa4762);},'ihMTp':_0x4d1f0f(0x104)},_0x3ab60a=_0xdff391['ihMTp'];return new Promise((_0x22b0cb,_0x4a5e0f)=>{const _0x38b867=_0x4d1f0f,_0x208eb2={'AXnHE':_0xdff391[_0x38b867(0x113)],'gyMUy':function(_0x261a51,_0xf7b2b6){return _0xdff391['ajrrN'](_0x261a51,_0xf7b2b6);}};this['db']['get'](_0x3ab60a,[_0x175a7b],(_0x3b6925,_0x11a77a)=>{const _0x1c0202=_0x38b867;_0x3b6925&&(logError(_0x208eb2[_0x1c0202(0x13e)],_0x3b6925),_0x208eb2['gyMUy'](_0x4a5e0f,_0x3b6925)),_0x22b0cb(_0x11a77a?.['uid']);});});}async[_0x3607e2(0x10b)](_0x4e5b06,_0x5b341){const _0x55c26c=_0x3607e2,_0xd890e3={'wGuLp':function(_0x3663d4,_0x4b92d5,_0x1fb24f){return _0x3663d4(_0x4b92d5,_0x1fb24f);},'oiVWl':_0x55c26c(0x13d),'ZQbpZ':function(_0x41f2db,_0x4f917c){return _0x41f2db(_0x4f917c);}},_0x21ef29=await this[_0x55c26c(0x12b)](_0x4e5b06);if(!_0x21ef29){const _0x1d8cb8=this['db'][_0x55c26c(0xe4)](_0x55c26c(0xf3));return new Promise((_0xe178bd,_0x3c484b)=>{const _0x20b3cf=_0x55c26c;_0x1d8cb8[_0x20b3cf(0x107)](_0x4e5b06,_0x5b341,function(_0x511570){const _0x5dd1b3=_0x20b3cf;_0x511570&&(_0xd890e3[_0x5dd1b3(0x135)](logError,_0xd890e3['oiVWl'],_0x511570),_0xd890e3[_0x5dd1b3(0x155)](_0x3c484b,_0x511570)),_0xd890e3[_0x5dd1b3(0x155)](_0xe178bd,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x5e4ac5=_0x3516;(function(_0x407331,_0x17fbc3){const _0x49c3a1=_0x3516,_0x5bde79=_0x407331();while(!![]){try{const _0xa28834=parseInt(_0x49c3a1(0x135))/0x1*(-parseInt(_0x49c3a1(0x143))/0x2)+-parseInt(_0x49c3a1(0x12c))/0x3*(parseInt(_0x49c3a1(0x152))/0x4)+-parseInt(_0x49c3a1(0x12e))/0x5*(-parseInt(_0x49c3a1(0x13c))/0x6)+-parseInt(_0x49c3a1(0xdf))/0x7*(-parseInt(_0x49c3a1(0x12a))/0x8)+-parseInt(_0x49c3a1(0x12b))/0x9+-parseInt(_0x49c3a1(0x107))/0xa+parseInt(_0x49c3a1(0x169))/0xb;if(_0xa28834===_0x17fbc3)break;else _0x5bde79['push'](_0x5bde79['shift']());}catch(_0x46b8c7){_0x5bde79['push'](_0x5bde79['shift']());}}}(_0xda4d,0xafacc));import _0x30fa76 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';function _0xda4d(){const _0x2400d6=['CPHKo','QnqlZ','db\x20could\x20not\x20add\x20temp\x20uin','494968iFpodj','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','ddRsP','VSfBs','SdNrk','now','path','kojax','set','getMsgByLongId',',\x20短id:\x20','shortId','syzaK','zTvTC','EiJIT','run','pJnNX','forEach','updateMsg\x20db\x20error','chatType','GQXSg','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','url','37124461vAPQgQ','db\x20could\x20not\x20get\x20temp\x20uin\x20map','msgCache','addMsg','huWZs','bEVft','TyCPR','7DHaXuQ','msgTime','maxId','OPEN_READWRITE','PnZsr','UxbzU','gbjbC','getFileCache','Method\x20not\x20implemented.','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','globalMsgShortId','iTbKq','element','OULBm','rHUNj','stringify','KRXNW','OPEN_CREATE','prepare','yaHsL','pezUe','updateFileCache','UTSSf','size','xtiDJ','get','init','lgbov','addFileCache','rDaKu','close','vRXUx','getMsgBySeq','rItIF','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','elementId','getReceivedTempUinMap','pEklj','updateMsg','msgId','8343080TMryIO','db\x20could\x20not\x20get\x20file\x20cache','gryLn','Khwsc','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','msgList','aOsFu','rrNoX','raNYO','Database','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','记录消息到数据库,\x20消息长id:\x20','uuid','bNHNH','catch','Could\x20not\x20create\x20table\x20temp_uins','KdSFM','then','gOmZb','Jdste','rlwwd','uin','peerUid','YhzpJ','FkfRH','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','NHWtI','delete','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','hTXlb','FPonX','longId','getMsgsByMsgId','uid','bBDhd','364768wPQFHU','10221813YIgoQl','9LEqpvQ','stack','4520uTwthR','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','数据库中消息最大短id','CkYVp','getCurrentMaxShortId','db\x20could\x20not\x20update\x20file\x20cache','getFileCacheByName','130310SSabAJ','db\x20getMsgByLongId\x20error','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','nexIQ','xXbTY','CTrfK','2802DLkHCY','JrOGA','createTable','msgSeq','清理消息缓存','gNrKc','elementType','12Dycyjq','DBJih','fBOJp','JRIuG','all','getMsg','Could\x20not\x20get\x20msg',',\x20msgId:\x20','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','getMsgByShortId','getUidByTempUin','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)'];_0xda4d=function(){return _0x2400d6;};return _0xda4d();}function _0x3516(_0x3a389e,_0x326ac9){const _0xda4d66=_0xda4d();return _0x3516=function(_0x35162f,_0x36bbb1){_0x35162f=_0x35162f-0xdb;let _0xcc29c=_0xda4d66[_0x35162f];return _0xcc29c;},_0x3516(_0x3a389e,_0x326ac9);}class DBUtilBase{['db'];async['init'](_0x1fc952){const _0x4b1ced={'UTSSf':function(_0x4f15de,_0x472c54,_0x4ae53b){return _0x4f15de(_0x472c54,_0x4ae53b);},'rxdQO':'Could\x20not\x20connect\x20to\x20database','pEklj':function(_0x184e9c,_0x2f76cc){return _0x184e9c|_0x2f76cc;}};if(this['db'])return;return new Promise((_0x13bf72,_0x4d0c47)=>{const _0x336ba8=_0x3516,_0x5b12d9={'yaHsL':function(_0x12ba0d,_0x4db150,_0x2fc8a6){const _0x678a2c=_0x3516;return _0x4b1ced[_0x678a2c(0xf5)](_0x12ba0d,_0x4db150,_0x2fc8a6);},'rlwwd':_0x4b1ced['rxdQO']};this['db']=new _0x30fa76[(_0x336ba8(0x110))](_0x1fc952,_0x4b1ced[_0x336ba8(0x104)](_0x30fa76[_0x336ba8(0xe2)],_0x30fa76[_0x336ba8(0xf0)]),_0xca213e=>{const _0x57ade2=_0x336ba8;if(_0xca213e){_0x5b12d9[_0x57ade2(0xf2)](logError,_0x5b12d9[_0x57ade2(0x11b)],_0xca213e),_0x4d0c47(_0xca213e);return;}this[_0x57ade2(0x13e)](),_0x13bf72();});});}['createTable'](){const _0x58f1db=_0x3516;throw new Error(_0x58f1db(0xe7));}['close'](){const _0x18857b=_0x3516;this['db']?.[_0x18857b(0xfd)]();}}class DBUtil extends DBUtilBase{[_0x5e4ac5(0x16b)]=new Map();[_0x5e4ac5(0xe9)]=-0x7ffffff8;constructor(){const _0x43fb60=_0x5e4ac5,_0x33820d={'PnZsr':function(_0xb91991,_0x281eaf){return _0xb91991-_0x281eaf;},'KdSFM':function(_0x3272f3,_0x2906f0){return _0x3272f3(_0x2906f0);},'rHUNj':_0x43fb60(0x140),'VSfBs':function(_0x393e96,_0x16b28c){return _0x393e96*_0x16b28c;}};super();const _0x146c47=_0x33820d[_0x43fb60(0x155)](_0x33820d[_0x43fb60(0x155)](0x3e8,0x3c),0xa);setInterval(()=>{const _0x3019ea=_0x43fb60,_0x4ddbed={'UxbzU':function(_0x4a6672,_0x2ef861){return _0x4a6672>_0x2ef861;},'rDaKu':function(_0x172ddf,_0xf5194c){const _0x2bb6a3=_0x3516;return _0x33820d[_0x2bb6a3(0xe3)](_0x172ddf,_0xf5194c);},'AynFA':function(_0x2693db,_0x2b7c05){return _0x2693db(_0x2b7c05);}};_0x33820d[_0x3019ea(0x117)](logDebug,_0x33820d[_0x3019ea(0xed)]),this[_0x3019ea(0x16b)][_0x3019ea(0x163)]((_0x3c2cb1,_0x4b0dd4)=>{const _0x15ea39=_0x3019ea;_0x4ddbed[_0x15ea39(0xe4)](_0x4ddbed[_0x15ea39(0xfc)](Date[_0x15ea39(0x157)](),_0x4ddbed['AynFA'](parseInt,_0x3c2cb1[_0x15ea39(0xe0)])*0x3e8),_0x146c47)&&this[_0x15ea39(0x16b)][_0x15ea39(0x122)](_0x4b0dd4);});},_0x146c47);}async[_0x5e4ac5(0xf9)](_0x419c2b){const _0x494035=_0x5e4ac5;await super[_0x494035(0xf9)](_0x419c2b),this[_0x494035(0xe9)]=await this['getCurrentMaxShortId']();}[_0x5e4ac5(0x13e)](){const _0x230acc=_0x5e4ac5,_0x55c013={'YhzpJ':function(_0x805b08,_0x158149,_0x482201){return _0x805b08(_0x158149,_0x482201);},'hTXlb':'Could\x20not\x20create\x20table\x20msgs','CfDdb':'Could\x20not\x20create\x20table\x20files','OULBm':_0x230acc(0x116)},_0x506f56=_0x230acc(0x138);this['db'][_0x230acc(0x161)](_0x506f56,function(_0x34f027){const _0x1bb504=_0x230acc;_0x34f027&&_0x55c013[_0x1bb504(0x11e)](logError,_0x55c013[_0x1bb504(0x124)],_0x34f027[_0x1bb504(0x12d)]);});const _0x122994=_0x230acc(0x123);this['db'][_0x230acc(0x161)](_0x122994,function(_0x536f1d){_0x536f1d&&_0x55c013['YhzpJ'](logError,_0x55c013['CfDdb'],_0x536f1d);});const _0x4d5f81='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)';this['db'][_0x230acc(0x161)](_0x4d5f81,function(_0x2db7fe){const _0x175e0d=_0x230acc;_0x2db7fe&&logError(_0x55c013[_0x175e0d(0xec)],_0x2db7fe);});}async[_0x5e4ac5(0x132)](){const _0x3a8d87=_0x5e4ac5,_0x4357a8={'raNYO':_0x3a8d87(0x101),'SdNrk':function(_0x8c7da5,_0x2d6319){return _0x8c7da5(_0x2d6319);},'hcKkz':_0x3a8d87(0x130),'nexIQ':_0x3a8d87(0x120)};return new Promise((_0x49d3f9,_0x51dcc2)=>{const _0x28d502=_0x3a8d87,_0x3fe6a8={'BrdQc':function(_0x170e6f,_0x3d273c,_0x18d7d9){return _0x170e6f(_0x3d273c,_0x18d7d9);},'mjuoN':_0x4357a8[_0x28d502(0x10f)],'gbjbC':function(_0x45bf80,_0x5e1149){const _0xd18bca=_0x28d502;return _0x4357a8[_0xd18bca(0x156)](_0x45bf80,_0x5e1149);},'sOwRb':_0x4357a8['hcKkz']};this['db'][_0x28d502(0xf8)](_0x4357a8[_0x28d502(0x139)],(_0x3cd303,_0x5b46c3)=>{const _0x5a0c94=_0x28d502;if(_0x3cd303)return _0x3fe6a8['BrdQc'](logDebug,_0x3fe6a8['mjuoN'],_0x3cd303),_0x3fe6a8[_0x5a0c94(0xe5)](_0x49d3f9,-0x7ffffff8);_0x3fe6a8['BrdQc'](logDebug,_0x3fe6a8['sOwRb'],_0x5b46c3?.[_0x5a0c94(0xe1)]),_0x49d3f9(_0x5b46c3?.['maxId']??-0x7ffffff8);});});}async[_0x5e4ac5(0x148)](_0x39da6e,_0xff9307){const _0x4aa9a2=_0x5e4ac5,_0x3fd8b3={'gryLn':function(_0xe831f2,_0x220a29){return _0xe831f2(_0x220a29);},'rItIF':function(_0x44608c,_0x5ae9a0,_0x2b223f,_0x16e049,_0x223258){return _0x44608c(_0x5ae9a0,_0x2b223f,_0x16e049,_0x223258);}},_0x46958e=this['db'][_0x4aa9a2(0xf1)](_0x39da6e);return new Promise((_0x1b0883,_0x3a29e1)=>{const _0xda609=_0x4aa9a2,_0x39cf3b={'KRXNW':function(_0x56d649,_0x3e539f){const _0x4b0fa2=_0x3516;return _0x3fd8b3[_0x4b0fa2(0x109)](_0x56d649,_0x3e539f);},'GQXSg':function(_0x1aac70,_0x114516){return _0x3fd8b3['gryLn'](_0x1aac70,_0x114516);},'bEVft':function(_0x5b2f13,_0x2655d7){const _0x34dfac=_0x3516;return _0x3fd8b3[_0x34dfac(0x109)](_0x5b2f13,_0x2655d7);},'dseSs':function(_0x1f5f0c,_0xd2b552,_0x313e04,_0xc0d106,_0x338298){const _0x31a0a1=_0x3516;return _0x3fd8b3[_0x31a0a1(0x100)](_0x1f5f0c,_0xd2b552,_0x313e04,_0xc0d106,_0x338298);}};_0x46958e[_0xda609(0xf8)](..._0xff9307,(_0x397f15,_0x2057c2)=>{const _0x4823aa=_0xda609;if(_0x397f15)return _0x39cf3b['dseSs'](logError,_0x4823aa(0x149),_0x397f15,_0x39da6e,_0xff9307),_0x1b0883(null);if(!_0x2057c2){_0x39cf3b['KRXNW'](_0x1b0883,null);return;}const _0x5abe9c=_0x2057c2[_0x4823aa(0x126)];NTQQMsgApi[_0x4823aa(0x127)]({'peerUid':_0x2057c2[_0x4823aa(0x11d)],'chatType':_0x2057c2[_0x4823aa(0x165)]},[_0x5abe9c])[_0x4823aa(0x118)](_0x4dba2e=>{const _0x22faf3=_0x4823aa,_0x5820f2=_0x4dba2e[_0x22faf3(0x10c)][0x0];if(!_0x5820f2){_0x39cf3b[_0x22faf3(0xef)](_0x1b0883,null);return;}_0x5820f2['id']=_0x2057c2[_0x22faf3(0x15d)],_0x39cf3b[_0x22faf3(0x166)](_0x1b0883,_0x5820f2);})[_0x4823aa(0x115)](_0x4edc0c=>{const _0x21a35d=_0x4823aa;_0x39cf3b[_0x21a35d(0xdd)](_0x1b0883,null);});});});}async[_0x5e4ac5(0x14c)](_0x1ddbef){const _0x5a9095=_0x5e4ac5,_0x571eb1={'aOsFu':_0x5a9095(0x10b)};if(this[_0x5a9095(0x16b)]['has'](_0x1ddbef))return this[_0x5a9095(0x16b)][_0x5a9095(0xf8)](_0x1ddbef);const _0x30bfe2=_0x571eb1[_0x5a9095(0x10d)];return this['getMsg'](_0x30bfe2,[_0x1ddbef]);}async[_0x5e4ac5(0x15b)](_0x5cf0db){const _0x5257d3=_0x5e4ac5,_0x4dc505={'gOmZb':_0x5257d3(0xe8)};if(this[_0x5257d3(0x16b)]['has'](_0x5cf0db))return this['msgCache'][_0x5257d3(0xf8)](_0x5cf0db);return this['getMsg'](_0x4dc505[_0x5257d3(0x119)],[_0x5cf0db]);}async[_0x5e4ac5(0xff)](_0x2ae22c,_0x51768a){const _0x420965=_0x5e4ac5,_0x5a887e=_0x420965(0x137);return this[_0x420965(0x148)](_0x5a887e,[_0x2ae22c,_0x51768a]);}async[_0x5e4ac5(0xdb)](_0x5c2263,_0xd3a735=!![]){const _0x6199df=_0x5e4ac5,_0x2c5161={'ZIuvN':function(_0x1f6610,_0x127882,_0x40c7a9){return _0x1f6610(_0x127882,_0x40c7a9);},'CkYVp':function(_0x1afa6e,_0x1ce3e6,_0x2f05cb){return _0x1afa6e(_0x1ce3e6,_0x2f05cb);},'FPonX':'db\x20could\x20not\x20add\x20msg'},_0x224246=await this[_0x6199df(0x15b)](_0x5c2263['msgId']);if(_0x224246){if(_0xd3a735)this[_0x6199df(0x105)](_0x5c2263)[_0x6199df(0x118)]();return _0x224246['id'];}const _0x2adef3=this['db']['prepare'](_0x6199df(0x153)),_0xd00853=++this['globalMsgShortId'];return _0x5c2263['id']=_0xd00853,logDebug(_0x6199df(0x112)+_0x5c2263[_0x6199df(0x106)]+_0x6199df(0x15c)+_0x5c2263['id']),this[_0x6199df(0x16b)][_0x6199df(0x15a)](_0xd00853,_0x5c2263),this['msgCache']['set'](_0x5c2263['msgId'],_0x5c2263),_0x2adef3[_0x6199df(0x161)](this[_0x6199df(0xe9)],_0x5c2263[_0x6199df(0x106)],_0x5c2263[_0x6199df(0x13f)]['toString'](),_0x5c2263['peerUid'],_0x5c2263['chatType'],_0x40a8ca=>{const _0x110c30=_0x6199df,_0x274dff={'XkMou':function(_0x559dc4,_0x2ac038,_0x30059b){return _0x2c5161['ZIuvN'](_0x559dc4,_0x2ac038,_0x30059b);},'iFxPp':_0x110c30(0x167)};_0x40a8ca&&(_0x40a8ca['errno']===0x13?this[_0x110c30(0x15b)](_0x5c2263['msgId'])['then'](_0x27d25a=>{const _0x4b4efb=_0x110c30;_0x27d25a?(this[_0x4b4efb(0x16b)][_0x4b4efb(0x15a)](_0xd00853,_0x27d25a),this[_0x4b4efb(0x16b)][_0x4b4efb(0x15a)](_0x27d25a[_0x4b4efb(0x106)],_0x27d25a)):_0x274dff['XkMou'](logError,_0x274dff['iFxPp'],_0x40a8ca);})[_0x110c30(0x115)](_0x525460=>logError(_0x110c30(0x136),_0x525460)):_0x2c5161[_0x110c30(0x131)](logError,_0x2c5161[_0x110c30(0x125)],_0x40a8ca));}),_0xd00853;}async[_0x5e4ac5(0x105)](_0x1aae24){const _0x1f64ef=_0x5e4ac5,_0x21de3b={'MhyEN':function(_0x62c340,_0x47ffe2,_0x3b00fe){return _0x62c340(_0x47ffe2,_0x3b00fe);},'PDsMo':_0x1f64ef(0x164),'RANPL':function(_0x3655e7,_0x123a7b){return _0x3655e7(_0x123a7b);},'ddRsP':'UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?'},_0x1ca9b1=this[_0x1f64ef(0x16b)]['get'](_0x1aae24[_0x1f64ef(0x106)]);_0x1ca9b1&&Object['assign'](_0x1ca9b1,_0x1aae24);_0x21de3b['RANPL'](logDebug,'更新消息,\x20shortId:'+_0x1aae24['id']+',\x20seq:\x20'+_0x1aae24[_0x1f64ef(0x13f)]+_0x1f64ef(0x14a)+_0x1aae24[_0x1f64ef(0x106)]);const _0x10b589=this['db']['prepare'](_0x21de3b[_0x1f64ef(0x154)]);_0x10b589['run'](_0x1aae24['msgSeq'],_0x1aae24[_0x1f64ef(0x106)],_0x19cbbc=>{_0x19cbbc&&_0x21de3b['MhyEN'](logError,_0x21de3b['PDsMo'],_0x19cbbc);});}async[_0x5e4ac5(0xfb)](_0x4ec409){const _0x589072=_0x5e4ac5,_0x272fed={'CTrfK':'INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)'},_0x4e0131=this['db']['prepare'](_0x272fed[_0x589072(0x13b)]);return new Promise((_0xfa35c2,_0x3bf88c)=>{const _0x1c0962=_0x589072,_0xeb2fba={'pezUe':'db\x20could\x20not\x20add\x20file'};_0x4e0131[_0x1c0962(0x161)](_0x4ec409['name'],_0x4ec409[_0x1c0962(0x158)],_0x4ec409[_0x1c0962(0x168)],_0x4ec409[_0x1c0962(0xf6)],_0x4ec409[_0x1c0962(0x113)],_0x4ec409[_0x1c0962(0x142)],JSON[_0x1c0962(0xee)](_0x4ec409[_0x1c0962(0xeb)]),_0x4ec409[_0x1c0962(0x102)],_0x4ec409[_0x1c0962(0x106)],function(_0x1f7264){const _0x775bc0=_0x1c0962;_0x1f7264&&(logError(_0xeb2fba[_0x775bc0(0xf3)],_0x1f7264),_0x3bf88c(_0x1f7264)),_0xfa35c2(null);});});}async[_0x5e4ac5(0xe6)](_0x2dde03,_0x270535){const _0x416392=_0x5e4ac5,_0xad20a6={'zTvTC':function(_0x8082f2,_0x1560b5,_0x35552b){return _0x8082f2(_0x1560b5,_0x35552b);},'EiJIT':_0x416392(0x108),'myhvq':function(_0x6e76ef,_0x37d65c){return _0x6e76ef(_0x37d65c);}},_0x584e6d=this['db'][_0x416392(0xf1)](_0x2dde03);return new Promise((_0x5ea7b6,_0x558c8c)=>{const _0x421d5b=_0x416392,_0x12414c={'JRIuG':function(_0x1ed0c9,_0xe607a2,_0x4bc0ca){const _0x40029e=_0x3516;return _0xad20a6[_0x40029e(0x15f)](_0x1ed0c9,_0xe607a2,_0x4bc0ca);},'gNrKc':_0xad20a6[_0x421d5b(0x160)],'CPHKo':function(_0x41a69d,_0x4f34b4){return _0xad20a6['myhvq'](_0x41a69d,_0x4f34b4);}};_0x584e6d[_0x421d5b(0xf8)](..._0x270535,(_0x52aad8,_0x1a0d60)=>{const _0x1d554e=_0x421d5b;_0x52aad8&&(_0x12414c[_0x1d554e(0x146)](logError,_0x12414c[_0x1d554e(0x141)],_0x52aad8),_0x558c8c(_0x52aad8)),_0x1a0d60&&(_0x1a0d60[_0x1d554e(0xeb)]=JSON['parse'](_0x1a0d60[_0x1d554e(0xeb)])),_0x12414c[_0x1d554e(0x14f)](_0x5ea7b6,_0x1a0d60);});});}async[_0x5e4ac5(0x134)](_0x36976f){const _0x444576=_0x5e4ac5,_0x22d23a={'kojax':_0x444576(0x14b)};return this[_0x444576(0xe6)](_0x22d23a[_0x444576(0x159)],[_0x36976f]);}async['getFileCacheByUuid'](_0x2ee42a){const _0x4b4bd9=_0x5e4ac5,_0x245773={'Khwsc':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?'};return this[_0x4b4bd9(0xe6)](_0x245773[_0x4b4bd9(0x10a)],[_0x2ee42a]);}async[_0x5e4ac5(0xf4)](_0x2299c3){const _0x182208=_0x5e4ac5,_0xa3ddb1={'DBJih':function(_0x5e548b,_0x2eb31d){return _0x5e548b(_0x2eb31d);},'bNHNH':_0x182208(0x12f)},_0x2bf25c=this['db'][_0x182208(0xf1)](_0xa3ddb1[_0x182208(0x114)]);return new Promise((_0x435b01,_0x546e2f)=>{const _0x390fe4=_0x182208,_0x15ea54={'FkfRH':_0x390fe4(0x133),'iTbKq':function(_0x5d8751,_0x166f0c){const _0x31e046=_0x390fe4;return _0xa3ddb1[_0x31e046(0x144)](_0x5d8751,_0x166f0c);}};_0x2bf25c['run'](_0x2299c3[_0x390fe4(0x158)],_0x2299c3[_0x390fe4(0x168)],_0x2299c3[_0x390fe4(0x113)],function(_0xb60be3){const _0x4207b7=_0x390fe4;_0xb60be3&&(logError(_0x15ea54[_0x4207b7(0x11f)],_0xb60be3),_0x15ea54[_0x4207b7(0xea)](_0x546e2f,_0xb60be3)),_0x15ea54[_0x4207b7(0xea)](_0x435b01,null);});});}async[_0x5e4ac5(0x103)](){const _0x9d5db9=_0x5e4ac5,_0x2ecece={'sVmUj':function(_0x2e78a6,_0xbca45a,_0x16d68b){return _0x2e78a6(_0xbca45a,_0x16d68b);},'JrOGA':_0x9d5db9(0x16a),'xXbTY':function(_0x27ac19,_0x2e80a9){return _0x27ac19(_0x2e80a9);}},_0x28017d='SELECT\x20*\x20FROM\x20temp_uins';return new Promise((_0x4be4cf,_0x1b345e)=>{const _0x18b159=_0x9d5db9,_0x16e537={'Jdste':function(_0x45ce25,_0x2f92d0,_0x46c685){return _0x2ecece['sVmUj'](_0x45ce25,_0x2f92d0,_0x46c685);},'TyCPR':_0x2ecece[_0x18b159(0x13d)],'huWZs':function(_0x2f5ea1,_0x34adb2){const _0xb7fc04=_0x18b159;return _0x2ecece[_0xb7fc04(0x13a)](_0x2f5ea1,_0x34adb2);}};this['db'][_0x18b159(0x147)](_0x28017d,(_0x472cf9,_0x3faf60)=>{const _0xeaab1c=_0x18b159;_0x472cf9&&(_0x16e537[_0xeaab1c(0x11a)](logError,_0x16e537[_0xeaab1c(0xde)],_0x472cf9),_0x16e537['huWZs'](_0x1b345e,_0x472cf9));const _0x50f1f9={};_0x3faf60[_0xeaab1c(0x163)](_0x31f571=>{const _0x18e1c3=_0xeaab1c;_0x50f1f9[_0x31f571[_0x18e1c3(0x11c)]]=_0x31f571['uid'];}),_0x16e537[_0xeaab1c(0xdc)](_0x4be4cf,_0x50f1f9);});});}async[_0x5e4ac5(0x14d)](_0x582690){const _0x2834ea=_0x5e4ac5,_0x31796e={'NHWtI':function(_0x3b4e4c,_0x4d4e93,_0xc53c22){return _0x3b4e4c(_0x4d4e93,_0xc53c22);},'lgbov':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','pJnNX':function(_0x1e6467,_0x44d145){return _0x1e6467(_0x44d145);},'YenLb':_0x2834ea(0x111)},_0xe02632=_0x31796e['YenLb'];return new Promise((_0x46b963,_0x118c18)=>{const _0x1613ff=_0x2834ea;this['db'][_0x1613ff(0xf8)](_0xe02632,[_0x582690],(_0x390b96,_0x59872a)=>{const _0x44bf4c=_0x1613ff;_0x390b96&&(_0x31796e[_0x44bf4c(0x121)](logError,_0x31796e[_0x44bf4c(0xfa)],_0x390b96),_0x31796e[_0x44bf4c(0x162)](_0x118c18,_0x390b96)),_0x31796e[_0x44bf4c(0x162)](_0x46b963,_0x59872a?.[_0x44bf4c(0x128)]);});});}async['addTempUin'](_0xd999ea,_0xcb7e55){const _0x1d20d5=_0x5e4ac5,_0x35d00f={'QnqlZ':function(_0x532c68,_0x35487d,_0x34e0f6){return _0x532c68(_0x35487d,_0x34e0f6);},'vRXUx':_0x1d20d5(0x151),'rrNoX':function(_0x4ac4fb,_0x1f5ac5){return _0x4ac4fb(_0x1f5ac5);},'syzaK':_0x1d20d5(0x14e)},_0x30bab9=await this[_0x1d20d5(0x14d)](_0xd999ea);if(!_0x30bab9){const _0x2694ae=this['db']['prepare'](_0x35d00f[_0x1d20d5(0x15e)]);return new Promise((_0x51bff2,_0x5a8cc0)=>{const _0x3a02a6=_0x1d20d5,_0x1377b5={'xtiDJ':function(_0x54115d,_0x2e0154,_0x45be2a){const _0x5a8bec=_0x3516;return _0x35d00f[_0x5a8bec(0x150)](_0x54115d,_0x2e0154,_0x45be2a);},'fBOJp':_0x35d00f[_0x3a02a6(0xfe)],'bBDhd':function(_0x49ee24,_0x1f4b22){const _0x38a72d=_0x3a02a6;return _0x35d00f[_0x38a72d(0x10e)](_0x49ee24,_0x1f4b22);}};_0x2694ae['run'](_0xd999ea,_0xcb7e55,function(_0x11c1d0){const _0x732aed=_0x3a02a6;_0x11c1d0&&(_0x1377b5[_0x732aed(0xf7)](logError,_0x1377b5[_0x732aed(0x145)],_0x11c1d0),_0x1377b5[_0x732aed(0x129)](_0x5a8cc0,_0x11c1d0)),_0x1377b5[_0x732aed(0x129)](_0x51bff2,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 4dc3a386..13f60bc6 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x28fa31=_0x5357;(function(_0x36960f,_0x433b14){const _0x38231d=_0x5357,_0x439cd2=_0x36960f();while(!![]){try{const _0x3b2391=-parseInt(_0x38231d(0x19c))/0x1*(-parseInt(_0x38231d(0x1a2))/0x2)+-parseInt(_0x38231d(0x1a5))/0x3+-parseInt(_0x38231d(0x19d))/0x4+-parseInt(_0x38231d(0x1a0))/0x5*(parseInt(_0x38231d(0x1a7))/0x6)+-parseInt(_0x38231d(0x1a9))/0x7*(-parseInt(_0x38231d(0x1af))/0x8)+parseInt(_0x38231d(0x1a6))/0x9*(-parseInt(_0x38231d(0x1a8))/0xa)+parseInt(_0x38231d(0x1a1))/0xb;if(_0x3b2391===_0x433b14)break;else _0x439cd2['push'](_0x439cd2['shift']());}catch(_0x7c4e85){_0x439cd2['push'](_0x439cd2['shift']());}}}(_0x34b3,0x70ed7));function _0x34b3(){const _0x358fe9=['992eMLpvU','refreshRkey','GET','mDlvv','serverUrl','98963cdwnZw','2485448JpWLvw','xvGdq','rkeyData','5iluBuf','28603399vNlrDi','4YFfCpK','获取rkey失败','expired_time','2064075TvtwhB','56241sKncEn','5315946nVObTD','620sLpphO','13951cyUQte','http://napcat-sign.wumiao.wang:2082/rkey','getRkey','HttpGetJson','isExpired','cQLzA'];_0x34b3=function(){return _0x358fe9;};return _0x34b3();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x5357(_0x1d564c,_0x18b703){const _0x34b3e9=_0x34b3();return _0x5357=function(_0x5357a2,_0x27e4b9){_0x5357a2=_0x5357a2-0x19c;let _0x150c05=_0x34b3e9[_0x5357a2];return _0x150c05;},_0x5357(_0x1d564c,_0x18b703);}class RkeyManager{[_0x28fa31(0x1b3)]='';[_0x28fa31(0x19f)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4d0c29){const _0x48a88d=_0x28fa31;this[_0x48a88d(0x1b3)]=_0x4d0c29;}async[_0x28fa31(0x1ab)](){const _0x5098e7=_0x28fa31,_0x2b710c={'xvGdq':function(_0x32c669,_0x1d1d86,_0x593d51){return _0x32c669(_0x1d1d86,_0x593d51);},'oQsos':_0x5098e7(0x1a3)};if(this['isExpired']())try{await this[_0x5098e7(0x1b0)]();}catch(_0x3129f3){_0x2b710c[_0x5098e7(0x19e)](logError,_0x2b710c['oQsos'],_0x3129f3);}return this[_0x5098e7(0x19f)];}[_0x28fa31(0x1ad)](){const _0xc188af=_0x28fa31,_0x2135e={'mDlvv':function(_0x3ed48e,_0x51682c){return _0x3ed48e/_0x51682c;}},_0xbdeec1=_0x2135e[_0xc188af(0x1b2)](new Date()['getTime'](),0x3e8);return _0xbdeec1>this[_0xc188af(0x19f)][_0xc188af(0x1a4)];}async[_0x28fa31(0x1b0)](){const _0x329545=_0x28fa31,_0x2d8bd0={'cQLzA':_0x329545(0x1b1)};this['rkeyData']=await RequestUtil[_0x329545(0x1ac)](this[_0x329545(0x1b3)],_0x2d8bd0[_0x329545(0x1ae)]);}}export const rkeyManager=new RkeyManager(_0x28fa31(0x1aa)); \ No newline at end of file +const _0x473197=_0x1021;function _0x475f(){const _0x3e1fd9=['rkeyData','isExpired','170kkdstd','3189644jYCXMq','8Zciuvk','serverUrl','getTime','5XkWOik','zqfiO','XxbgC','21955WpGyCu','5995780epkRSX','vQnQo','5017113ysfXhw','refreshRkey','expired_time','HttpGetJson','7144692QwYiKa','http://napcat-sign.wumiao.wang:2082/rkey','5638122lTZlLm','6120670biGkvl','GET'];_0x475f=function(){return _0x3e1fd9;};return _0x475f();}(function(_0x5b09e9,_0x4ad0d9){const _0x4b41e0=_0x1021,_0xc3c814=_0x5b09e9();while(!![]){try{const _0x2e6ed5=parseInt(_0x4b41e0(0xc7))/0x1*(-parseInt(_0x4b41e0(0xd5))/0x2)+parseInt(_0x4b41e0(0xca))/0x3+parseInt(_0x4b41e0(0xd6))/0x4*(parseInt(_0x4b41e0(0xda))/0x5)+parseInt(_0x4b41e0(0xce))/0x6+-parseInt(_0x4b41e0(0xc8))/0x7+parseInt(_0x4b41e0(0xd7))/0x8*(parseInt(_0x4b41e0(0xd0))/0x9)+-parseInt(_0x4b41e0(0xd1))/0xa;if(_0x2e6ed5===_0x4ad0d9)break;else _0xc3c814['push'](_0xc3c814['shift']());}catch(_0x49760f){_0xc3c814['push'](_0xc3c814['shift']());}}}(_0x475f,0xe87b0));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x473197(0xd8)]='';[_0x473197(0xd3)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x48b846){this['serverUrl']=_0x48b846;}async['getRkey'](){const _0x3e2f03=_0x473197,_0x511855={'WQLBz':function(_0x1d285f,_0x56b1a4,_0x176542){return _0x1d285f(_0x56b1a4,_0x176542);},'uVUoD':'获取rkey失败'};if(this[_0x3e2f03(0xd4)]())try{await this['refreshRkey']();}catch(_0x517102){_0x511855['WQLBz'](logError,_0x511855['uVUoD'],_0x517102);}return this[_0x3e2f03(0xd3)];}[_0x473197(0xd4)](){const _0x5718e5=_0x473197,_0x10ae61={'zqfiO':function(_0x2e0a7b,_0x47f034){return _0x2e0a7b/_0x47f034;},'vQnQo':function(_0x1a725c,_0x97daa){return _0x1a725c>_0x97daa;}},_0x5e08da=_0x10ae61[_0x5718e5(0xdb)](new Date()[_0x5718e5(0xd9)](),0x3e8);return _0x10ae61[_0x5718e5(0xc9)](_0x5e08da,this['rkeyData'][_0x5718e5(0xcc)]);}async[_0x473197(0xcb)](){const _0x28e55e=_0x473197,_0x322441={'XxbgC':_0x28e55e(0xd2)};this[_0x28e55e(0xd3)]=await RequestUtil[_0x28e55e(0xcd)](this[_0x28e55e(0xd8)],_0x322441[_0x28e55e(0xdc)]);}}function _0x1021(_0x237ce1,_0x16512d){const _0x475fbf=_0x475f();return _0x1021=function(_0x10211f,_0x587df7){_0x10211f=_0x10211f-0xc7;let _0x443955=_0x475fbf[_0x10211f];return _0x443955;},_0x1021(_0x237ce1,_0x16512d);}export const rkeyManager=new RkeyManager(_0x473197(0xcf)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 63bdbc58..e17b32a6 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x5274cc=_0xb6a0;function _0xb6a0(_0x3cce54,_0x343610){const _0x422155=_0x4221();return _0xb6a0=function(_0xb6a0a8,_0x33ab04){_0xb6a0a8=_0xb6a0a8-0x139;let _0x4ae6ce=_0x422155[_0xb6a0a8];return _0x4ae6ce;},_0xb6a0(_0x3cce54,_0x343610);}(function(_0x17fb68,_0x87a5b9){const _0x1c7685=_0xb6a0,_0x40a625=_0x17fb68();while(!![]){try{const _0x550aa9=-parseInt(_0x1c7685(0x13a))/0x1*(-parseInt(_0x1c7685(0x14a))/0x2)+parseInt(_0x1c7685(0x13c))/0x3*(parseInt(_0x1c7685(0x139))/0x4)+parseInt(_0x1c7685(0x142))/0x5*(parseInt(_0x1c7685(0x146))/0x6)+-parseInt(_0x1c7685(0x144))/0x7+-parseInt(_0x1c7685(0x147))/0x8+-parseInt(_0x1c7685(0x13e))/0x9*(parseInt(_0x1c7685(0x148))/0xa)+parseInt(_0x1c7685(0x149))/0xb;if(_0x550aa9===_0x87a5b9)break;else _0x40a625['push'](_0x40a625['shift']());}catch(_0x264433){_0x40a625['push'](_0x40a625['shift']());}}}(_0x4221,0x47237));import _0x2d1e93 from'node:path';import _0x4c1af5 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x2d1e93[_0x5274cc(0x13d)](_0x2d1e93[_0x5274cc(0x13f)](process['execPath']),_0x5274cc(0x143));!_0x4c1af5['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x2d1e93[_0x5274cc(0x141)](_0x2d1e93[_0x5274cc(0x13f)](process[_0x5274cc(0x145)]),_0x5274cc(0x140)+qqVersionConfigInfo[_0x5274cc(0x13b)]+'/wrapper.node'));const QQWrapper=require(wrapperNodePath);export default QQWrapper;function _0x4221(){const _0x18937c=['1904300dXykcH','3277153ZXTlRn','218gqvhfe','1072osoxfQ','2953WHDiGw','curVersion','1206zwffCz','resolve','9rYEfrF','dirname','resources/app/versions/','join','57710HQeebr','./resources/app/wrapper.node','1885625pCHpGn','execPath','174lBlYkg','2488528RHyeaV'];_0x4221=function(){return _0x18937c;};return _0x4221();} \ No newline at end of file +function _0x3984(){const _0x21b2f3=['resources/app/versions/','1858692IKXYWZ','execPath','201449hzfBey','dirname','777489rkBUGJ','24ThMwVq','2AYTOgW','./resources/app/wrapper.node','existsSync','64368lvTfIA','2693020JKexbF','82540qZqeUm','1102076BIpfBb','join','738cbNZEf','581RnXEvK','curVersion','/wrapper.node','5wBnGPu'];_0x3984=function(){return _0x21b2f3;};return _0x3984();}const _0x113c38=_0x3839;(function(_0x26887c,_0x36916f){const _0x5ad72f=_0x3839,_0x1de0df=_0x26887c();while(!![]){try{const _0x49547d=-parseInt(_0x5ad72f(0x7c))/0x1+-parseInt(_0x5ad72f(0x80))/0x2*(parseInt(_0x5ad72f(0x7e))/0x3)+parseInt(_0x5ad72f(0x72))/0x4+-parseInt(_0x5ad72f(0x78))/0x5*(parseInt(_0x5ad72f(0x7a))/0x6)+-parseInt(_0x5ad72f(0x75))/0x7*(-parseInt(_0x5ad72f(0x6f))/0x8)+parseInt(_0x5ad72f(0x74))/0x9*(parseInt(_0x5ad72f(0x71))/0xa)+-parseInt(_0x5ad72f(0x70))/0xb*(parseInt(_0x5ad72f(0x7f))/0xc);if(_0x49547d===_0x36916f)break;else _0x1de0df['push'](_0x1de0df['shift']());}catch(_0x3df9ce){_0x1de0df['push'](_0x1de0df['shift']());}}}(_0x3984,0x57ec3));import _0x3ddf18 from'node:path';import _0x3b2539 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x3ddf18['resolve'](_0x3ddf18['dirname'](process[_0x113c38(0x7b)]),_0x113c38(0x81));function _0x3839(_0x3976b0,_0x21ff8a){const _0x398415=_0x3984();return _0x3839=function(_0x3839a4,_0x4798ae){_0x3839a4=_0x3839a4-0x6e;let _0xfdb38e=_0x398415[_0x3839a4];return _0xfdb38e;},_0x3839(_0x3976b0,_0x21ff8a);}!_0x3b2539[_0x113c38(0x6e)](wrapperNodePath)&&(wrapperNodePath=_0x3ddf18[_0x113c38(0x73)](_0x3ddf18[_0x113c38(0x7d)](process[_0x113c38(0x7b)]),_0x113c38(0x79)+qqVersionConfigInfo[_0x113c38(0x76)]+_0x113c38(0x77)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/group/GetGroupSystemMsg.ts b/src/onebot11/action/group/GetGroupSystemMsg.ts new file mode 100644 index 00000000..681b21e4 --- /dev/null +++ b/src/onebot11/action/group/GetGroupSystemMsg.ts @@ -0,0 +1,11 @@ +import BaseAction from '../BaseAction'; +import { ActionName } from '../types'; +import { NTQQMsgApi } from '@/core/apis/msg'; + + +export class GetGroupSystemMsg extends BaseAction { + actionName = ActionName.GetGroupSystemMsg; + protected async _handle(payload: void) { + + } +} diff --git a/src/onebot11/action/types.ts b/src/onebot11/action/types.ts index b8f39c02..3a3e574f 100644 --- a/src/onebot11/action/types.ts +++ b/src/onebot11/action/types.ts @@ -77,5 +77,6 @@ export enum ActionName { GoCQHTTP_DownloadFile = 'download_file', GoCQHTTP_GetGroupMsgHistory = 'get_group_msg_history', GoCQHTTP_GetForwardMsg = 'get_forward_msg', - GetFriendMsgHistory = 'get_friend_msg_history' + GetFriendMsgHistory = 'get_friend_msg_history', + GetGroupSystemMsg = "get_group_system_msg" }