diff --git a/src/core b/src/core index 845f6d2a..19beda5e 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 845f6d2a15b1ef3796c4e12bbcc15674cf35b154 +Subproject commit 19beda5e4b45de629790ab49e0e36082daadca95 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 197ff37e..752dee4d 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x53ad75=_0x4803;function _0xe478(){var _0x5596f4=['onMSFStatusChange','8478DSeblD','120CBHLmq','getGroupCode','8142540ClqKUq','12034690uHLFGZ','428571uSIPMn','338876izjvuv','233PrhtpI','18JfPLcz','4504910cOvOVi','onMSFSsoError','2284698NHCKkY'];_0xe478=function(){return _0x5596f4;};return _0xe478();}function _0x4803(_0x455fa5,_0x3374cc){var _0xe478fc=_0xe478();return _0x4803=function(_0x4803d1,_0x5c7d64){_0x4803d1=_0x4803d1-0x166;var _0x407b69=_0xe478fc[_0x4803d1];return _0x407b69;},_0x4803(_0x455fa5,_0x3374cc);}(function(_0xd52527,_0x276b3b){var _0x29e235=_0x4803,_0x318582=_0xd52527();while(!![]){try{var _0x4398a7=parseInt(_0x29e235(0x16d))/0x1*(-parseInt(_0x29e235(0x166))/0x2)+parseInt(_0x29e235(0x16e))/0x3*(parseInt(_0x29e235(0x16c))/0x4)+-parseInt(_0x29e235(0x16f))/0x5+parseInt(_0x29e235(0x171))/0x6+parseInt(_0x29e235(0x169))/0x7+parseInt(_0x29e235(0x167))/0x8*(-parseInt(_0x29e235(0x16b))/0x9)+parseInt(_0x29e235(0x16a))/0xa;if(_0x4398a7===_0x276b3b)break;else _0x318582['push'](_0x318582['shift']());}catch(_0x35cc58){_0x318582['push'](_0x318582['shift']());}}}(_0xe478,0x9f620));export class DependsAdapter{[_0x53ad75(0x172)](_0x5352ea,_0x25f40e){}[_0x53ad75(0x170)](_0x522fec){}[_0x53ad75(0x168)](_0x247a93){}} \ No newline at end of file +function _0x4f9c(_0x3b5310,_0x579acd){var _0x435ebd=_0x435e();return _0x4f9c=function(_0x4f9cc7,_0xd1b460){_0x4f9cc7=_0x4f9cc7-0x1cc;var _0x1e397b=_0x435ebd[_0x4f9cc7];return _0x1e397b;},_0x4f9c(_0x3b5310,_0x579acd);}var _0x30d7f6=_0x4f9c;(function(_0x2cdf27,_0x1f1c5){var _0x1e381e=_0x4f9c,_0x530822=_0x2cdf27();while(!![]){try{var _0x48ef94=parseInt(_0x1e381e(0x1d7))/0x1*(-parseInt(_0x1e381e(0x1cc))/0x2)+-parseInt(_0x1e381e(0x1d0))/0x3+parseInt(_0x1e381e(0x1d2))/0x4*(parseInt(_0x1e381e(0x1cd))/0x5)+parseInt(_0x1e381e(0x1cf))/0x6*(-parseInt(_0x1e381e(0x1d9))/0x7)+parseInt(_0x1e381e(0x1ce))/0x8+-parseInt(_0x1e381e(0x1d5))/0x9*(parseInt(_0x1e381e(0x1d3))/0xa)+parseInt(_0x1e381e(0x1d8))/0xb;if(_0x48ef94===_0x1f1c5)break;else _0x530822['push'](_0x530822['shift']());}catch(_0x357d83){_0x530822['push'](_0x530822['shift']());}}}(_0x435e,0x65c01));function _0x435e(){var _0x49b635=['4039461fNYBJh','onMSFStatusChange','1lGRvGJ','27186808TKVYcG','18312yZrBvz','1595608HtyFOZ','35SRLLaU','2075992TGTEpc','1542pqWXCN','1517466GqPMjl','getGroupCode','63148jzzubI','10csEfUY','onMSFSsoError'];_0x435e=function(){return _0x49b635;};return _0x435e();}export class DependsAdapter{[_0x30d7f6(0x1d6)](_0x32ae80,_0x2fc994){}[_0x30d7f6(0x1d4)](_0x38a197){}[_0x30d7f6(0x1d1)](_0x240421){}} \ 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 cfb3c8ca..dc810914 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x158b(){var _0x40fbd5=['3062871vunmFV','3zYOYxk','844044tpZmIc','749852nrnXeE','dispatchRequest','1290RHPCdr','10woqzDv','18728BYyKUV','dispatchCallWithJson','2442069YPAYtZ','dispatchCall','15945sSktrD','5819128TvdfDs'];_0x158b=function(){return _0x40fbd5;};return _0x158b();}var _0x43a50b=_0x1196;function _0x1196(_0x215c22,_0x3dcb48){var _0x158b1e=_0x158b();return _0x1196=function(_0x1196d1,_0x32c0b9){_0x1196d1=_0x1196d1-0x1c1;var _0x461c24=_0x158b1e[_0x1196d1];return _0x461c24;},_0x1196(_0x215c22,_0x3dcb48);}(function(_0xde87af,_0x11e6b0){var _0x4524e8=_0x1196,_0x2ac0b2=_0xde87af();while(!![]){try{var _0x14e82f=-parseInt(_0x4524e8(0x1c7))/0x1+-parseInt(_0x4524e8(0x1c6))/0x2*(-parseInt(_0x4524e8(0x1c5))/0x3)+-parseInt(_0x4524e8(0x1cb))/0x4+parseInt(_0x4524e8(0x1c2))/0x5*(parseInt(_0x4524e8(0x1c9))/0x6)+-parseInt(_0x4524e8(0x1cd))/0x7+parseInt(_0x4524e8(0x1c3))/0x8+-parseInt(_0x4524e8(0x1c4))/0x9*(parseInt(_0x4524e8(0x1ca))/0xa);if(_0x14e82f===_0x11e6b0)break;else _0x2ac0b2['push'](_0x2ac0b2['shift']());}catch(_0x1db3ad){_0x2ac0b2['push'](_0x2ac0b2['shift']());}}}(_0x158b,0x5f8a0));export class DispatcherAdapter{[_0x43a50b(0x1c8)](_0x663338){}[_0x43a50b(0x1c1)](_0x53028f){}[_0x43a50b(0x1cc)](_0x4257c9){}} \ No newline at end of file +var _0x5a60cd=_0x2f54;function _0x2f54(_0x12f9da,_0x5a816f){var _0x102b50=_0x102b();return _0x2f54=function(_0x2f5458,_0x29ffd4){_0x2f5458=_0x2f5458-0x160;var _0x3a15c5=_0x102b50[_0x2f5458];return _0x3a15c5;},_0x2f54(_0x12f9da,_0x5a816f);}function _0x102b(){var _0x53e996=['2355960hcPHnS','1607160OAazBH','dispatchCallWithJson','153560PfXdCn','3765032sEOdCc','2wlTMts','2996ILBMlG','1396128AeJvXJ','dispatchCall','10344BEdxvV','10349154crTKbC'];_0x102b=function(){return _0x53e996;};return _0x102b();}(function(_0x11bde8,_0x4bf5a9){var _0x159f5b=_0x2f54,_0x3c6d73=_0x11bde8();while(!![]){try{var _0x648c9f=-parseInt(_0x159f5b(0x167))/0x1*(-parseInt(_0x159f5b(0x169))/0x2)+parseInt(_0x159f5b(0x160))/0x3+parseInt(_0x159f5b(0x165))/0x4+-parseInt(_0x159f5b(0x164))/0x5+parseInt(_0x159f5b(0x162))/0x6*(-parseInt(_0x159f5b(0x16a))/0x7)+-parseInt(_0x159f5b(0x168))/0x8+parseInt(_0x159f5b(0x163))/0x9;if(_0x648c9f===_0x4bf5a9)break;else _0x3c6d73['push'](_0x3c6d73['shift']());}catch(_0x25432c){_0x3c6d73['push'](_0x3c6d73['shift']());}}}(_0x102b,0x77dbb));export class DispatcherAdapter{['dispatchRequest'](_0x5638c9){}[_0x5a60cd(0x161)](_0x22e93c){}[_0x5a60cd(0x166)](_0x4b40cd){}} \ 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 700914cb..7583ed1e 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x238a(){var _0x2f782d=['1000848yukvGL','onInstallFinished','5585885gLEaQu','4VYrsqU','onLog','2218657SXADhe','8271816fbxQav','1210040ynNaGd','167270boAwyT','1109100ybCVbQ','765byyBwI','onGetSrvCalTime','12bTBpih','onUpdateGeneralFlag','onShowErrUITips'];_0x238a=function(){return _0x2f782d;};return _0x238a();}var _0x54dfea=_0x46f2;function _0x46f2(_0x1c572b,_0x400d30){var _0x238a4f=_0x238a();return _0x46f2=function(_0x46f2c3,_0x1890a0){_0x46f2c3=_0x46f2c3-0x1cc;var _0x2dbfad=_0x238a4f[_0x46f2c3];return _0x2dbfad;},_0x46f2(_0x1c572b,_0x400d30);}(function(_0x268b2c,_0x2ea7c2){var _0x41b9cc=_0x46f2,_0x3d5952=_0x268b2c();while(!![]){try{var _0x513579=parseInt(_0x41b9cc(0x1ce))/0x1+-parseInt(_0x41b9cc(0x1d5))/0x2+-parseInt(_0x41b9cc(0x1d7))/0x3+-parseInt(_0x41b9cc(0x1d1))/0x4*(-parseInt(_0x41b9cc(0x1d0))/0x5)+-parseInt(_0x41b9cc(0x1da))/0x6*(parseInt(_0x41b9cc(0x1d3))/0x7)+-parseInt(_0x41b9cc(0x1d4))/0x8+-parseInt(_0x41b9cc(0x1d8))/0x9*(-parseInt(_0x41b9cc(0x1d6))/0xa);if(_0x513579===_0x2ea7c2)break;else _0x3d5952['push'](_0x3d5952['shift']());}catch(_0x1ffa66){_0x3d5952['push'](_0x3d5952['shift']());}}}(_0x238a,0xdb0c5));export class GlobalAdapter{[_0x54dfea(0x1d2)](..._0x23a9ba){}[_0x54dfea(0x1d9)](..._0xc9932c){}[_0x54dfea(0x1cd)](..._0x1c2c5e){}['fixPicImgType'](..._0x247bd1){}['getAppSetting'](..._0x4bfe6c){}[_0x54dfea(0x1cf)](..._0x29783c){}[_0x54dfea(0x1cc)](..._0x38d085){}['onGetOfflineMsg'](..._0x51024e){}} \ No newline at end of file +var _0x1dc0d0=_0x40a0;(function(_0xbed735,_0x31d831){var _0x559817=_0x40a0,_0x4d0543=_0xbed735();while(!![]){try{var _0x3c835a=-parseInt(_0x559817(0xb9))/0x1*(parseInt(_0x559817(0xaf))/0x2)+-parseInt(_0x559817(0xb7))/0x3+-parseInt(_0x559817(0xb8))/0x4+-parseInt(_0x559817(0xb1))/0x5+-parseInt(_0x559817(0xae))/0x6*(parseInt(_0x559817(0xb3))/0x7)+-parseInt(_0x559817(0xb2))/0x8*(parseInt(_0x559817(0xb0))/0x9)+parseInt(_0x559817(0xb5))/0xa;if(_0x3c835a===_0x31d831)break;else _0x4d0543['push'](_0x4d0543['shift']());}catch(_0x180c42){_0x4d0543['push'](_0x4d0543['shift']());}}}(_0x1998,0xc832f));function _0x1998(){var _0x3585d2=['577470WXfJmj','187380YhgqPE','8101380VJNjpH','152HzdPFF','1757xhrXfu','fixPicImgType','62173740MLYGNU','onShowErrUITips','3144216FITCqL','4791612PDBCCH','3RllePQ','onLog','6438WqFNfH'];_0x1998=function(){return _0x3585d2;};return _0x1998();}function _0x40a0(_0x545dca,_0x44eb29){var _0x199832=_0x1998();return _0x40a0=function(_0x40a09f,_0x5a5f17){_0x40a09f=_0x40a09f-0xae;var _0x1958c1=_0x199832[_0x40a09f];return _0x1958c1;},_0x40a0(_0x545dca,_0x44eb29);}export class GlobalAdapter{[_0x1dc0d0(0xba)](..._0x381e4b){}['onGetSrvCalTime'](..._0x1d57b3){}[_0x1dc0d0(0xb6)](..._0x57bff9){}[_0x1dc0d0(0xb4)](..._0x5752cd){}['getAppSetting'](..._0x56ca69){}['onInstallFinished'](..._0xf7befd){}['onUpdateGeneralFlag'](..._0xc206c0){}['onGetOfflineMsg'](..._0x302133){}} \ 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 66d7b8d7..d3b93d1a 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x4e675e,_0x33381c){var _0x149ce6=_0x5a58,_0x3870c1=_0x4e675e();while(!![]){try{var _0x1bfc29=parseInt(_0x149ce6(0x70))/0x1*(-parseInt(_0x149ce6(0x6e))/0x2)+-parseInt(_0x149ce6(0x73))/0x3*(-parseInt(_0x149ce6(0x71))/0x4)+-parseInt(_0x149ce6(0x72))/0x5+parseInt(_0x149ce6(0x75))/0x6+-parseInt(_0x149ce6(0x76))/0x7+parseInt(_0x149ce6(0x74))/0x8+parseInt(_0x149ce6(0x6f))/0x9;if(_0x1bfc29===_0x33381c)break;else _0x3870c1['push'](_0x3870c1['shift']());}catch(_0x557e6b){_0x3870c1['push'](_0x3870c1['shift']());}}}(_0x15ef,0xa25f5));function _0x5a58(_0x5859b3,_0x35f5bc){var _0x15ef17=_0x15ef();return _0x5a58=function(_0x5a58c0,_0x1337cb){_0x5a58c0=_0x5a58c0-0x6e;var _0x4ec18e=_0x15ef17[_0x5a58c0];return _0x4ec18e;},_0x5a58(_0x5859b3,_0x35f5bc);}function _0x15ef(){var _0x56c869=['2087340rclyQF','9plctPm','9984688aEkshO','854592heAZeF','5016291dEMrLe','5826EGMCIE','4201965RXVteZ','246KeDUoo','877804cXkxwW'];_0x15ef=function(){return _0x56c869;};return _0x15ef();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x3496ad,_0x29a510){var _0x2b7841=_0x2767,_0x29f492=_0x3496ad();while(!![]){try{var _0x2bf227=-parseInt(_0x2b7841(0x124))/0x1+-parseInt(_0x2b7841(0x123))/0x2*(-parseInt(_0x2b7841(0x129))/0x3)+-parseInt(_0x2b7841(0x128))/0x4+-parseInt(_0x2b7841(0x12c))/0x5+-parseInt(_0x2b7841(0x126))/0x6*(-parseInt(_0x2b7841(0x12d))/0x7)+parseInt(_0x2b7841(0x12b))/0x8*(-parseInt(_0x2b7841(0x125))/0x9)+parseInt(_0x2b7841(0x12a))/0xa*(parseInt(_0x2b7841(0x127))/0xb);if(_0x2bf227===_0x29a510)break;else _0x29f492['push'](_0x29f492['shift']());}catch(_0x49a4f4){_0x29f492['push'](_0x29f492['shift']());}}}(_0x4a5a,0xe45c7));function _0x2767(_0x9c07ef,_0x49e10a){var _0x4a5aa4=_0x4a5a();return _0x2767=function(_0x27670d,_0x13de70){_0x27670d=_0x27670d-0x123;var _0x503fc1=_0x4a5aa4[_0x27670d];return _0x503fc1;},_0x2767(_0x9c07ef,_0x49e10a);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x4a5a(){var _0x16aed7=['8ipbJln','1582955VthJhn','4508441xTsaSN','20302OjaECx','1761726vTkhuc','13611762LfUfLX','6KjhADp','19811Mpbaxt','3878728vhwCMG','306BgYyHv','21190YgXzon'];_0x4a5a=function(){return _0x16aed7;};return _0x4a5a();} \ 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 f50777fd..0be12d4f 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x2256cb=_0x550a;(function(_0x4552e2,_0x521831){const _0x24b51b=_0x550a,_0x1f6110=_0x4552e2();while(!![]){try{const _0x2d0101=-parseInt(_0x24b51b(0x1f6))/0x1*(-parseInt(_0x24b51b(0x1dc))/0x2)+parseInt(_0x24b51b(0x200))/0x3+-parseInt(_0x24b51b(0x207))/0x4*(-parseInt(_0x24b51b(0x204))/0x5)+-parseInt(_0x24b51b(0x1fd))/0x6+parseInt(_0x24b51b(0x1e2))/0x7*(parseInt(_0x24b51b(0x1d0))/0x8)+parseInt(_0x24b51b(0x205))/0x9*(parseInt(_0x24b51b(0x1fe))/0xa)+parseInt(_0x24b51b(0x1f4))/0xb*(-parseInt(_0x24b51b(0x1fb))/0xc);if(_0x2d0101===_0x521831)break;else _0x1f6110['push'](_0x1f6110['shift']());}catch(_0x3934d2){_0x1f6110['push'](_0x1f6110['shift']());}}}(_0x58e1,0x544f0));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x55b9df from'path';function _0x550a(_0x1c26a6,_0x2a8444){const _0x58e113=_0x58e1();return _0x550a=function(_0x550ac9,_0x4b9cb4){_0x550ac9=_0x550ac9-0x1cb;let _0x26ec90=_0x58e113[_0x550ac9];return _0x26ec90;},_0x550a(_0x1c26a6,_0x2a8444);}import _0xcedb19 from'fs';import _0x58dd5d from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4a6abd from'file-type';import{MsgListener}from'@/core/listeners';import _0x464146 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['onRichMediaDownloadComplete']=_0x109f2f=>{const _0x249527={'ZNWGr':function(_0x1d5f1f,_0x2a39e7){return _0x1d5f1f(_0x2a39e7);}};for(const [_0x12df8d,_0x1e5551]of downloadMediaTasks){_0x249527['ZNWGr'](_0x1e5551,_0x109f2f),downloadMediaTasks['delete'](_0x12df8d);}},setTimeout(()=>{const _0x2105f5=_0x550a;napCatCore[_0x2105f5(0x1cf)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x344eeb){const _0x5a08b9=_0x550a;return _0x4a6abd[_0x5a08b9(0x206)](_0x344eeb);}static async[_0x2256cb(0x1ce)](_0x3c5eab,_0xe9767e){await napCatCore['util']['copyFile'](_0x3c5eab,_0xe9767e);}static async[_0x2256cb(0x1ec)](_0x28af40){const _0x252d09=_0x2256cb;return await napCatCore['util'][_0x252d09(0x1ec)](_0x28af40);}static async[_0x2256cb(0x1f0)](_0x366906,_0x1c75ab=ElementType['PIC'],_0x2b5235=0x0){const _0x488798=_0x2256cb,_0x34d1e9={'ZZULs':function(_0x55dda4,_0x14d6d4){return _0x55dda4(_0x14d6d4);},'fIKzK':function(_0x1f54b2,_0x16bf12){return _0x1f54b2===_0x16bf12;}},_0x5e8169=await _0x34d1e9[_0x488798(0x1e3)](calculateFileMD5,_0x366906);let _0x41b2e6=(await NTQQFileApi[_0x488798(0x1fc)](_0x366906))?.[_0x488798(0x1cb)]||'';_0x41b2e6&&(_0x41b2e6='.'+_0x41b2e6);let _0x150def=''+_0x55b9df['basename'](_0x366906);_0x34d1e9[_0x488798(0x1e9)](_0x150def[_0x488798(0x1da)]('.'),-0x1)&&(_0x150def+=_0x41b2e6);const _0x588f21=napCatCore[_0x488798(0x1d8)][_0x488798(0x1ea)]()[_0x488798(0x211)]({'md5HexStr':_0x5e8169,'fileName':_0x150def,'elementType':_0x1c75ab,'elementSubType':_0x2b5235,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x488798(0x1ce)](_0x366906,_0x588f21);const _0x4c3de3=await NTQQFileApi[_0x488798(0x1ec)](_0x366906);return{'md5':_0x5e8169,'fileName':_0x150def,'path':_0x588f21,'fileSize':_0x4c3de3,'ext':_0x41b2e6};}static async[_0x2256cb(0x1e7)](_0x55b274,_0x4f286c,_0x4af92a,_0xd5836a,_0x58e5d2,_0x155a5f,_0x228c37=0x3e8*0x3c*0x2,_0x1088a5=![]){const _0x1d4978=_0x2256cb,_0x481e01={'FdTUJ':function(_0x4d406c,_0x14f5b8){return _0x4d406c(_0x14f5b8);},'UkOlJ':'下载超时','GlXaF':function(_0x5e4e50,_0x2dd712){return _0x5e4e50===_0x2dd712;},'UtqFj':function(_0x20f71f,_0x5d3943){return _0x20f71f(_0x5d3943);},'rZclE':function(_0x3b6c4e){return _0x3b6c4e();},'xDYiM':function(_0x396458,_0x3dab2d,_0x4fc670){return _0x396458(_0x3dab2d,_0x4fc670);}};if(_0x155a5f&&_0xcedb19[_0x1d4978(0x1f7)](_0x155a5f)){if(_0x1088a5)try{await _0x58dd5d[_0x1d4978(0x1f3)](_0x155a5f);}catch(_0x5c335a){}else return _0x155a5f;}return new Promise((_0x41ec57,_0x61080c)=>{const _0x5a2d48=_0x1d4978,_0x17b527={'QvVjT':function(_0x4fca3f,_0x102d5c){return _0x481e01['GlXaF'](_0x4fca3f,_0x102d5c);},'nfRju':function(_0x33ea14,_0x42b8ad){const _0x16fb6a=_0x550a;return _0x481e01[_0x16fb6a(0x1dd)](_0x33ea14,_0x42b8ad);}};let _0x17a9b6=![];const _0x8780cd=_0x1c21d1=>{const _0x23fbca=_0x550a;if(_0x17b527['QvVjT'](_0x1c21d1[_0x23fbca(0x201)],_0x55b274)){_0x17a9b6=!![];let _0x22dabc=_0x1c21d1['filePath'];if(_0x22dabc[_0x23fbca(0x1d6)]('\x5c')){const _0x33659d=sessionConfig[_0x23fbca(0x1cc)];_0x22dabc=_0x55b9df[_0x23fbca(0x1f5)](_0x33659d,_0x22dabc);}_0x17b527[_0x23fbca(0x1ef)](_0x41ec57,_0x22dabc);}};downloadMediaTasks[_0x5a2d48(0x1ff)](_0x481e01[_0x5a2d48(0x1d1)](randomUUID),_0x8780cd),_0x481e01[_0x5a2d48(0x1e4)](setTimeout,()=>{const _0x1877c6=_0x5a2d48;!_0x17a9b6&&_0x481e01[_0x1877c6(0x1d4)](_0x61080c,_0x481e01[_0x1877c6(0x20c)]);},_0x228c37),napCatCore['session'][_0x5a2d48(0x1ea)]()[_0x5a2d48(0x1df)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x55b274,'chatType':_0x4f286c,'peerUid':_0x4af92a,'elementId':_0xd5836a,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x58e5d2});});}static async[_0x2256cb(0x1f8)](_0x57dfdd){const _0x215154={'gdmLn':function(_0x3f7f3e,_0x32b21d){return _0x3f7f3e(_0x32b21d);},'OFRNw':function(_0x1054a7,_0x29bd1f,_0x23f472){return _0x1054a7(_0x29bd1f,_0x23f472);}};return new Promise((_0x35f778,_0x5888e8)=>{const _0x2aaaca=_0x550a,_0x5ed6b2={'EKfAQ':function(_0x2e5b0c,_0x218785){const _0x30f451=_0x550a;return _0x215154[_0x30f451(0x1de)](_0x2e5b0c,_0x218785);}};_0x215154[_0x2aaaca(0x20a)](_0x464146,_0x57dfdd,(_0x50b205,_0xb10d24)=>{const _0x4e0072=_0x2aaaca;_0x50b205?_0x5888e8(_0x50b205):_0x5ed6b2[_0x4e0072(0x1eb)](_0x35f778,_0xb10d24);});});}static async[_0x2256cb(0x1fa)](_0x42102b,_0x418a93){const _0x16d1c4=_0x2256cb,_0x5931da={'UdzTH':_0x16d1c4(0x202),'BYiCh':_0x16d1c4(0x20e),'lqsmk':function(_0x62fb58,_0x4fbdd6){return _0x62fb58+_0x4fbdd6;},'cbnbs':function(_0x21fc5d,_0x22cfd4){return _0x21fc5d||_0x22cfd4;},'nzprv':function(_0x288fca,_0x253006,_0x5f2522){return _0x288fca(_0x253006,_0x5f2522);},'GUeXJ':'图片url获取失败'};if(!_0x42102b)return'';const _0x55b344=_0x42102b[_0x16d1c4(0x1db)],_0x1c8eb5=_0x42102b[_0x16d1c4(0x1d9)],_0x2965d0=_0x42102b[_0x16d1c4(0x1d9)],_0x405f87=_0x42102b[_0x16d1c4(0x1f9)];if(_0x55b344){if(_0x55b344[_0x16d1c4(0x1d6)](_0x5931da['UdzTH'])){if(_0x55b344[_0x16d1c4(0x1d3)](_0x5931da[_0x16d1c4(0x1d2)]))return _0x5931da['lqsmk'](IMAGE_HTTP_HOST_NT,_0x55b344);const _0x502165=await rkeyManager[_0x16d1c4(0x1e6)](),_0x47080e=_0x418a93?_0x502165['private_rkey']:_0x502165[_0x16d1c4(0x1ee)];return _0x5931da['lqsmk'](_0x5931da[_0x16d1c4(0x20d)](IMAGE_HTTP_HOST_NT,_0x55b344),''+_0x47080e);}else return _0x5931da['lqsmk'](IMAGE_HTTP_HOST,_0x55b344);}else{if(_0x2965d0||_0x1c8eb5)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x5931da[_0x16d1c4(0x1d5)](_0x2965d0,_0x1c8eb5)[_0x16d1c4(0x1f1)]()+'/0';}return _0x5931da[_0x16d1c4(0x1e1)](logDebug,_0x5931da[_0x16d1c4(0x1d7)],_0x42102b),'';}}function _0x58e1(){const _0x468aff=['2mWzuEG','UtqFj','gdmLn','downloadRichMedia','hotUpdate','nzprv','17843IHsuzQ','ZZULs','xDYiM','clearChatCache','getRkey','downloadMedia','getFileCacheInfo','fIKzK','getMsgService','EKfAQ','getFileSize','getChatCacheList','group_rkey','nfRju','uploadFile','toUpperCase','getHotUpdateCachePath','unlink','55IHcyEy','join','218317bZwzRy','existsSync','getImageSize','fileUuid','getImageUrl','1683228sGUEAG','getFileType','2487336mvlsnp','10YVrjcq','set','201648QOjumF','msgId','/download','clearChatCacheInfo','23535bswZAT','5674869ETIzIP','fileTypeFromFile','212mtttqr','getChatCacheInfo','addCacheScannedPaths','OFRNw','getCacheSessionPathList','UkOlJ','lqsmk','&rkey=','getStorageCleanService','tmp','getRichMediaFilePathForGuild','scanCache','ext','defaultFileDownloadPath','clearCache','copyFile','onLoginSuccess','928TMMtrs','rZclE','BYiCh','includes','FdTUJ','cbnbs','startsWith','GUeXJ','session','md5HexStr','indexOf','originImageUrl'];_0x58e1=function(){return _0x468aff;};return _0x58e1();}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x79532b=!![]){return'';}static[_0x2256cb(0x20b)](){return'';}static[_0x2256cb(0x1cd)](_0x5b96b2=[_0x2256cb(0x210),_0x2256cb(0x1e0)]){return napCatCore['session']['getStorageCleanService']()['clearCacheDataByKeys'](_0x5b96b2);}static[_0x2256cb(0x209)](_0x2630b7={}){const _0x2a0546=_0x2256cb;return napCatCore[_0x2a0546(0x1d8)]['getStorageCleanService']()['addCacheScanedPaths'](_0x2630b7);}static[_0x2256cb(0x212)](){const _0x3bc675=_0x2256cb;return napCatCore[_0x3bc675(0x1d8)][_0x3bc675(0x20f)]()[_0x3bc675(0x212)]();}static[_0x2256cb(0x1f2)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x2256cb(0x1ed)](_0x335344,_0x305e52=0x3e8,_0x1ce455=0x0){const _0x4feb34=_0x2256cb;return napCatCore[_0x4feb34(0x1d8)]['getStorageCleanService']()[_0x4feb34(0x208)](_0x335344,_0x305e52,0x1,_0x1ce455);}static[_0x2256cb(0x1e8)](_0x2060d3,_0x35fbc5=0x3e8,_0xfcc94a){const _0x3ffcd8=_0xfcc94a?_0xfcc94a:{'fileType':_0x2060d3};}static async[_0x2256cb(0x1e5)](_0xd571dd=[],_0xfaebf7=[]){const _0x2e5be8=_0x2256cb;return napCatCore['session'][_0x2e5be8(0x20f)]()[_0x2e5be8(0x203)](_0xd571dd,_0xfaebf7);}} \ No newline at end of file +const _0x182c01=_0x37ec;(function(_0x4c0563,_0xd39373){const _0xe6162a=_0x37ec,_0x5680ac=_0x4c0563();while(!![]){try{const _0x39d066=parseInt(_0xe6162a(0x1fe))/0x1+parseInt(_0xe6162a(0x1d7))/0x2*(-parseInt(_0xe6162a(0x1c1))/0x3)+parseInt(_0xe6162a(0x1cd))/0x4+-parseInt(_0xe6162a(0x1c4))/0x5*(parseInt(_0xe6162a(0x1da))/0x6)+parseInt(_0xe6162a(0x1ed))/0x7*(-parseInt(_0xe6162a(0x200))/0x8)+-parseInt(_0xe6162a(0x1ca))/0x9*(-parseInt(_0xe6162a(0x1f5))/0xa)+-parseInt(_0xe6162a(0x1dd))/0xb;if(_0x39d066===_0xd39373)break;else _0x5680ac['push'](_0x5680ac['shift']());}catch(_0x316414){_0x5680ac['push'](_0x5680ac['shift']());}}}(_0x4fb7,0x2eeb3));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x20595c from'path';function _0x37ec(_0x2ecf25,_0x41abab){const _0x4fb794=_0x4fb7();return _0x37ec=function(_0x37ec05,_0x4a989d){_0x37ec05=_0x37ec05-0x1bf;let _0x5049d5=_0x4fb794[_0x37ec05];return _0x5049d5;},_0x37ec(_0x2ecf25,_0x41abab);}import _0x34e7f3 from'fs';import _0x33be1a from'fs/promises';function _0x4fb7(){const _0x1ec9c8=['275065gXUALw','uploadFile','18552zCBVpX','图片url获取失败','GLYTh','private_rkey','addCacheScanedPaths','downloadRichMedia','copyFile','128259SBNjxV','existsSync','lFVrw','85MvmbWB','hotUpdate','fileUuid','getHotUpdateCachePath','getStorageCleanService','getChatCacheList','2909799VJrvJJ','tmp','clearCache','1425204tOGjWi','set','/download','setCacheSilentScan','includes','getChatCacheInfo','getImageSize','join','CJsxS','fUqkB','2soUIoA','downloadMedia','group_rkey','83208gMVvVX','gFOUf','onRichMediaDownloadComplete','3971902KykvHa','PIC','addListener','unlink','session','getFileType','toUpperCase','XCYXp','getRichMediaFilePathForGuild','DjmzC','util','/gchatpic_new/0/0-0-','kvdYl','originImageUrl','scanCache','&rkey=','371xjzazs','getMsgService','getCacheSessionPathList','RDPvY','EwykS','clearChatCache','basename','getFileSize','10pNIvJH','clearChatCacheInfo','onLoginSuccess','clearCacheDataByKeys','startsWith','delete','addCacheScannedPaths','md5HexStr','TUkNZ'];_0x4fb7=function(){return _0x1ec9c8;};return _0x4fb7();}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x3db8e8 from'file-type';import{MsgListener}from'@/core/listeners';import _0x2dbc23 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[_0x182c01(0x1dc)]=_0x2dca1d=>{const _0x2e9e2f=_0x182c01;for(const [_0x228a7a,_0x1fcb2b]of downloadMediaTasks){_0x1fcb2b(_0x2dca1d),downloadMediaTasks[_0x2e9e2f(0x1fa)](_0x228a7a);}},setTimeout(()=>{const _0x3b3f73=_0x182c01;napCatCore[_0x3b3f73(0x1f7)](()=>{const _0x2aa762=_0x3b3f73;napCatCore[_0x2aa762(0x1df)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x182c01(0x1e2)](_0x524df7){return _0x3db8e8['fileTypeFromFile'](_0x524df7);}static async['copyFile'](_0x475278,_0x37f0db){const _0x52b40f=_0x182c01;await napCatCore[_0x52b40f(0x1e7)][_0x52b40f(0x1c0)](_0x475278,_0x37f0db);}static async[_0x182c01(0x1f4)](_0x45d7a8){const _0x41daea=_0x182c01;return await napCatCore[_0x41daea(0x1e7)][_0x41daea(0x1f4)](_0x45d7a8);}static async[_0x182c01(0x1ff)](_0x2716d5,_0x5cf8ef=ElementType[_0x182c01(0x1de)],_0x5a3836=0x0){const _0x5824ad=_0x182c01,_0x25d1fe={'TUkNZ':function(_0xa7e13d,_0x14c13b){return _0xa7e13d===_0x14c13b;}},_0x1e5575=await calculateFileMD5(_0x2716d5);let _0x29f85f=(await NTQQFileApi[_0x5824ad(0x1e2)](_0x2716d5))?.['ext']||'';_0x29f85f&&(_0x29f85f='.'+_0x29f85f);let _0xf7fc35=''+_0x20595c[_0x5824ad(0x1f3)](_0x2716d5);_0x25d1fe[_0x5824ad(0x1fd)](_0xf7fc35['indexOf']('.'),-0x1)&&(_0xf7fc35+=_0x29f85f);const _0x12780e=napCatCore[_0x5824ad(0x1e1)][_0x5824ad(0x1ee)]()[_0x5824ad(0x1e5)]({'md5HexStr':_0x1e5575,'fileName':_0xf7fc35,'elementType':_0x5cf8ef,'elementSubType':_0x5a3836,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x5824ad(0x1c0)](_0x2716d5,_0x12780e);const _0x563c6c=await NTQQFileApi[_0x5824ad(0x1f4)](_0x2716d5);return{'md5':_0x1e5575,'fileName':_0xf7fc35,'path':_0x12780e,'fileSize':_0x563c6c,'ext':_0x29f85f};}static async[_0x182c01(0x1d8)](_0x420bce,_0xd13b68,_0x517979,_0x1b8260,_0x11d420,_0x24a0de,_0x282998=0x3e8*0x3c*0x2,_0x31d01c=![]){const _0x3cfd1e=_0x182c01,_0x1cbffd={'Xqfpp':function(_0x44c901,_0x5c524a){return _0x44c901(_0x5c524a);},'EBYCb':'下载超时','yrXSm':function(_0x481c00){return _0x481c00();},'lFVrw':function(_0x1d6ec4,_0x59d7b8,_0x4cd9ce){return _0x1d6ec4(_0x59d7b8,_0x4cd9ce);}};if(_0x24a0de&&_0x34e7f3[_0x3cfd1e(0x1c2)](_0x24a0de)){if(_0x31d01c)try{await _0x33be1a[_0x3cfd1e(0x1e0)](_0x24a0de);}catch(_0x5cdbf0){}else return _0x24a0de;}return new Promise((_0x2a77a0,_0x4b4278)=>{const _0xf45fe=_0x3cfd1e,_0x2c62f1={'gFOUf':function(_0x53397e,_0x2c670c){return _0x1cbffd['Xqfpp'](_0x53397e,_0x2c670c);},'RDPvY':_0x1cbffd['EBYCb']};let _0x4d37fc=![];const _0x251e08=_0x55744b=>{const _0x25444f=_0x37ec;if(_0x55744b['msgId']===_0x420bce){_0x4d37fc=!![];let _0xdb2d0e=_0x55744b['filePath'];if(_0xdb2d0e[_0x25444f(0x1f9)]('\x5c')){const _0xbfe8a7=sessionConfig['defaultFileDownloadPath'];_0xdb2d0e=_0x20595c[_0x25444f(0x1d4)](_0xbfe8a7,_0xdb2d0e);}_0x2a77a0(_0xdb2d0e);}};downloadMediaTasks[_0xf45fe(0x1ce)](_0x1cbffd['yrXSm'](randomUUID),_0x251e08),_0x1cbffd[_0xf45fe(0x1c3)](setTimeout,()=>{const _0x557859=_0xf45fe;!_0x4d37fc&&_0x2c62f1[_0x557859(0x1db)](_0x4b4278,_0x2c62f1[_0x557859(0x1f0)]);},_0x282998),napCatCore[_0xf45fe(0x1e1)][_0xf45fe(0x1ee)]()[_0xf45fe(0x1bf)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x420bce,'chatType':_0xd13b68,'peerUid':_0x517979,'elementId':_0x1b8260,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x11d420});});}static async[_0x182c01(0x1d3)](_0x2e76c4){const _0x2fef2d={'XCYXp':function(_0x821c0a,_0x5c4847){return _0x821c0a(_0x5c4847);},'kvdYl':function(_0x23e7f0,_0x2fc052,_0xb073b6){return _0x23e7f0(_0x2fc052,_0xb073b6);}};return new Promise((_0x7327b,_0x5c00c8)=>{const _0x1ab02a=_0x37ec,_0x20841c={'fUqkB':function(_0x28f733,_0x46f742){const _0x81d978=_0x37ec;return _0x2fef2d[_0x81d978(0x1e4)](_0x28f733,_0x46f742);},'DjmzC':function(_0x21257e,_0x563c99){const _0x591d23=_0x37ec;return _0x2fef2d[_0x591d23(0x1e4)](_0x21257e,_0x563c99);}};_0x2fef2d[_0x1ab02a(0x1e9)](_0x2dbc23,_0x2e76c4,(_0x1160e6,_0x3da680)=>{const _0x3a4102=_0x1ab02a;_0x1160e6?_0x20841c[_0x3a4102(0x1d6)](_0x5c00c8,_0x1160e6):_0x20841c[_0x3a4102(0x1e6)](_0x7327b,_0x3da680);});});}static async['getImageUrl'](_0x74087a,_0x3dee05){const _0x862bed=_0x182c01,_0x1f40a2={'ucANr':_0x862bed(0x1cf),'EwykS':_0x862bed(0x1ec),'CJsxS':function(_0x3a6588,_0x28ca9e){return _0x3a6588+_0x28ca9e;},'VMppc':function(_0x3be852,_0x3516ca){return _0x3be852||_0x3516ca;},'GLYTh':function(_0x31f2ed,_0x22b4f5,_0x2cad68){return _0x31f2ed(_0x22b4f5,_0x2cad68);},'fSGPB':_0x862bed(0x201)};if(!_0x74087a)return'';const _0x5436d7=_0x74087a[_0x862bed(0x1ea)],_0x5c3b32=_0x74087a[_0x862bed(0x1fc)],_0x2d103f=_0x74087a[_0x862bed(0x1fc)],_0x559f92=_0x74087a[_0x862bed(0x1c6)];if(_0x5436d7){if(_0x5436d7['startsWith'](_0x1f40a2['ucANr'])){if(_0x5436d7[_0x862bed(0x1d1)](_0x1f40a2[_0x862bed(0x1f1)]))return _0x1f40a2[_0x862bed(0x1d5)](IMAGE_HTTP_HOST_NT,_0x5436d7);const _0x3be4fd=await rkeyManager['getRkey'](),_0x323683=_0x3dee05?_0x3be4fd[_0x862bed(0x203)]:_0x3be4fd[_0x862bed(0x1d9)];return IMAGE_HTTP_HOST_NT+_0x5436d7+(''+_0x323683);}else return IMAGE_HTTP_HOST+_0x5436d7;}else{if(_0x1f40a2['VMppc'](_0x2d103f,_0x5c3b32))return IMAGE_HTTP_HOST+_0x862bed(0x1e8)+(_0x2d103f||_0x5c3b32)[_0x862bed(0x1e3)]()+'/0';}return _0x1f40a2[_0x862bed(0x202)](logDebug,_0x1f40a2['fSGPB'],_0x74087a),'';}}export class NTQQFileCacheApi{static async[_0x182c01(0x1d0)](_0x51cc03=!![]){return'';}static[_0x182c01(0x1ef)](){return'';}static[_0x182c01(0x1cc)](_0x18d40c=[_0x182c01(0x1cb),_0x182c01(0x1c5)]){const _0x5c33cc=_0x182c01;return napCatCore[_0x5c33cc(0x1e1)][_0x5c33cc(0x1c8)]()[_0x5c33cc(0x1f8)](_0x18d40c);}static[_0x182c01(0x1fb)](_0x14023d={}){const _0x223aac=_0x182c01;return napCatCore['session'][_0x223aac(0x1c8)]()[_0x223aac(0x204)](_0x14023d);}static[_0x182c01(0x1eb)](){const _0x2bae87=_0x182c01;return napCatCore[_0x2bae87(0x1e1)]['getStorageCleanService']()[_0x2bae87(0x1eb)]();}static[_0x182c01(0x1c7)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x182c01(0x1c9)](_0x417f84,_0x106795=0x3e8,_0x47d341=0x0){const _0x45bfa7=_0x182c01;return napCatCore[_0x45bfa7(0x1e1)]['getStorageCleanService']()[_0x45bfa7(0x1d2)](_0x417f84,_0x106795,0x1,_0x47d341);}static['getFileCacheInfo'](_0x80ccc3,_0x191cfc=0x3e8,_0x51d69d){const _0x578710=_0x51d69d?_0x51d69d:{'fileType':_0x80ccc3};}static async[_0x182c01(0x1f2)](_0x390989=[],_0x272a21=[]){const _0x1525d0=_0x182c01;return napCatCore['session'][_0x1525d0(0x1c8)]()[_0x1525d0(0x1f6)](_0x390989,_0x272a21);}} \ 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 352452ce..a71a3e11 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0xd4c679=_0x4272;(function(_0x496a3b,_0xb73cdd){const _0x1e4b08=_0x4272,_0x5a6bc5=_0x496a3b();while(!![]){try{const _0x288afd=parseInt(_0x1e4b08(0x1be))/0x1*(parseInt(_0x1e4b08(0x1b1))/0x2)+parseInt(_0x1e4b08(0x1ba))/0x3*(parseInt(_0x1e4b08(0x1bb))/0x4)+-parseInt(_0x1e4b08(0x1b4))/0x5+-parseInt(_0x1e4b08(0x1aa))/0x6*(parseInt(_0x1e4b08(0x1c1))/0x7)+-parseInt(_0x1e4b08(0x1a5))/0x8*(parseInt(_0x1e4b08(0x1b8))/0x9)+parseInt(_0x1e4b08(0x1a9))/0xa+parseInt(_0x1e4b08(0x1c0))/0xb;if(_0x288afd===_0xb73cdd)break;else _0x5a6bc5['push'](_0x5a6bc5['shift']());}catch(_0x34e642){_0x5a6bc5['push'](_0x5a6bc5['shift']());}}}(_0x5a33,0xa8480));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x5a33(){const _0x281cfb=['459332UUuQfM','uid','16328070ExNyrh','7ktzxku','getBuddyService','WksIN','set','获取好友列表超时','delete','8GJFJeL','reqTime','XcrxL','friendUid','2853640wHvxGr','6450762meNpzT','session','handleFriendRequest','iclee','onLoginSuccess','push','approvalFriendRequest','2EPJvRC','onBuddyListChange','buddyList','445080rFelIA','uin','aSDoe','LfWBK','5875533aSnnxI','开始获取好友列表','18BXJLCi','184796tBuDBv','JsMRs','JxKJH'];_0x5a33=function(){return _0x281cfb;};return _0x5a33();}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();function _0x4272(_0x4f3826,_0x29a058){const _0x5a3375=_0x5a33();return _0x4272=function(_0x427267,_0x3643e1){_0x427267=_0x427267-0x1a0;let _0x33abc8=_0x5a3375[_0x427267];return _0x33abc8;},_0x4272(_0x4f3826,_0x29a058);}buddyListener[_0xd4c679(0x1b2)]=_0x590332=>{const _0x224a7a=_0xd4c679,_0x1d210f={'jjksZ':function(_0x41fb46,_0x4f5f29){return _0x41fb46(_0x4f5f29);}};for(const [_0x1a3d0f,_0xff7093]of buddyChangeTasks){_0x1d210f['jjksZ'](_0xff7093,_0x590332),buddyChangeTasks[_0x224a7a(0x1a4)](_0x1a3d0f);}},setTimeout(()=>{const _0x51828c=_0xd4c679;napCatCore[_0x51828c(0x1ae)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async['getFriends'](_0x2f4c84=![]){const _0xaf62f3=_0xd4c679,_0x32fb99={'JxKJH':function(_0x49e7d8,_0x3fb2b2){return _0x49e7d8(_0x3fb2b2);},'WksIN':_0xaf62f3(0x1a3),'LfWBK':function(_0x16b79a,_0x4cf5f9){return _0x16b79a(_0x4cf5f9);},'JsMRs':function(_0x45e55f,_0x3912f8){return _0x45e55f(_0x3912f8);},'AxTme':function(_0x384c13,_0x39c1b9,_0x2ef241){return _0x384c13(_0x39c1b9,_0x2ef241);},'iclee':function(_0x4e72f3){return _0x4e72f3();}};return new Promise((_0xf6b6df,_0xed31ba)=>{const _0x5d83fd=_0xaf62f3,_0x4ea5e1={'aSDoe':function(_0x45cfac,_0x55e521,_0x43ae7f){return _0x32fb99['AxTme'](_0x45cfac,_0x55e521,_0x43ae7f);},'XcrxL':_0x5d83fd(0x1b9)};let _0x548f69=![];setTimeout(()=>{const _0x132875=_0x5d83fd;!_0x548f69&&(_0x32fb99[_0x132875(0x1bd)](logDebug,_0x32fb99[_0x132875(0x1a1)]),_0x32fb99[_0x132875(0x1b7)](_0xed31ba,_0x32fb99[_0x132875(0x1a1)]));},0x1388);const _0x17d3e2=[],_0x32e5a0=_0x2da32a=>{const _0x4d3a2e=_0x5d83fd;for(const _0x8e01ff of _0x2da32a){for(const _0x457644 of _0x8e01ff[_0x4d3a2e(0x1b3)]){_0x17d3e2[_0x4d3a2e(0x1af)](_0x457644),uid2UinMap[_0x457644[_0x4d3a2e(0x1bf)]]=_0x457644[_0x4d3a2e(0x1b5)];}}_0x548f69=!![],_0x32fb99[_0x4d3a2e(0x1bc)](_0xf6b6df,_0x17d3e2);};buddyChangeTasks[_0x5d83fd(0x1a2)](_0x32fb99[_0x5d83fd(0x1ad)](randomUUID),_0x32e5a0),napCatCore['session'][_0x5d83fd(0x1a0)]()['getBuddyList'](_0x2f4c84)['then'](_0x50f2a9=>{const _0x39d904=_0x5d83fd;_0x4ea5e1[_0x39d904(0x1b6)](logDebug,_0x4ea5e1[_0x39d904(0x1a7)],_0x50f2a9);});});}static async[_0xd4c679(0x1ac)](_0x47c73f,_0x41bf22){const _0x436052=_0xd4c679;napCatCore[_0x436052(0x1ab)][_0x436052(0x1a0)]()?.[_0x436052(0x1b0)]({'friendUid':_0x47c73f[_0x436052(0x1a8)],'reqTime':_0x47c73f[_0x436052(0x1a6)],'accept':_0x41bf22});}} \ No newline at end of file +const _0x15086c=_0x3280;(function(_0x13f8b0,_0x1e4eb1){const _0x9fc419=_0x3280,_0x701223=_0x13f8b0();while(!![]){try{const _0x403c00=-parseInt(_0x9fc419(0x1b2))/0x1+parseInt(_0x9fc419(0x1c2))/0x2*(parseInt(_0x9fc419(0x1a6))/0x3)+-parseInt(_0x9fc419(0x1a7))/0x4*(-parseInt(_0x9fc419(0x1ac))/0x5)+parseInt(_0x9fc419(0x1bc))/0x6+parseInt(_0x9fc419(0x1aa))/0x7+-parseInt(_0x9fc419(0x1b6))/0x8+-parseInt(_0x9fc419(0x1b7))/0x9;if(_0x403c00===_0x1e4eb1)break;else _0x701223['push'](_0x701223['shift']());}catch(_0x4f4150){_0x701223['push'](_0x701223['shift']());}}}(_0x21eb,0x4499a));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';function _0x3280(_0x506c37,_0x451e32){const _0x21eb52=_0x21eb();return _0x3280=function(_0x3280f3,_0x12e778){_0x3280f3=_0x3280f3-0x1a4;let _0x3622f6=_0x21eb52[_0x3280f3];return _0x3622f6;},_0x3280(_0x506c37,_0x451e32);}import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';function _0x21eb(){const _0x18d9a0=['uin','delete','buddyList','then','itFYu','6686MmAQVG','onBuddyListChange','fSWUJ','429xlzuCm','4EVAdeB','reqTime','getBuddyService','1749566Gbwmqc','获取好友列表超时','1249730BTUoqo','addListener','handleFriendRequest','mTxTV','开始获取好友列表','nOiDK','249995DBvIbQ','EZvzT','bWtOT','onLoginSuccess','1634048mqZvbm','2649357izTKKh','getFriends','session','getBuddyList','uid','310062YKWlqq'];_0x21eb=function(){return _0x18d9a0;};return _0x21eb();}const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x15086c(0x1a4)]=_0xc3986d=>{const _0x38e31b=_0x15086c,_0x4cf7b0={'itFYu':function(_0x32f6a5,_0x5a61aa){return _0x32f6a5(_0x5a61aa);}};for(const [_0x59e1cd,_0x16ea6e]of buddyChangeTasks){_0x4cf7b0[_0x38e31b(0x1c1)](_0x16ea6e,_0xc3986d),buddyChangeTasks[_0x38e31b(0x1be)](_0x59e1cd);}},setTimeout(()=>{const _0x269728=_0x15086c;napCatCore[_0x269728(0x1b5)](()=>{const _0x22d827=_0x269728;napCatCore[_0x22d827(0x1ad)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x15086c(0x1b8)](_0x589ba6=![]){const _0x78aa4=_0x15086c,_0x37804e={'EZvzT':function(_0x244dfa,_0xe8e2dc,_0x360085){return _0x244dfa(_0xe8e2dc,_0x360085);},'SyhEh':_0x78aa4(0x1b0),'fSWUJ':function(_0x1f4ef0,_0x2146c2){return _0x1f4ef0(_0x2146c2);},'bWtOT':_0x78aa4(0x1ab)};return new Promise((_0x38e324,_0xb08b40)=>{const _0x219346=_0x78aa4,_0x24271e={'mTxTV':function(_0x389adc,_0x27d3cf){const _0x4d8b9a=_0x3280;return _0x37804e[_0x4d8b9a(0x1a5)](_0x389adc,_0x27d3cf);},'cqPQK':function(_0x3bbadd,_0x121b08){return _0x3bbadd(_0x121b08);},'nOiDK':_0x37804e[_0x219346(0x1b4)]};let _0x152d1d=![];_0x37804e['EZvzT'](setTimeout,()=>{const _0x194c34=_0x219346;!_0x152d1d&&(_0x24271e[_0x194c34(0x1af)](logDebug,_0x194c34(0x1ab)),_0x24271e['cqPQK'](_0xb08b40,_0x24271e[_0x194c34(0x1b1)]));},0x1388);const _0x396b98=[],_0x2aa912=_0x32b883=>{const _0x517fd3=_0x219346;for(const _0x51a18e of _0x32b883){for(const _0x53758e of _0x51a18e[_0x517fd3(0x1bf)]){_0x396b98['push'](_0x53758e),uid2UinMap[_0x53758e[_0x517fd3(0x1bb)]]=_0x53758e[_0x517fd3(0x1bd)];}}_0x152d1d=!![],_0x24271e[_0x517fd3(0x1af)](_0x38e324,_0x396b98);};buddyChangeTasks['set'](randomUUID(),_0x2aa912),napCatCore[_0x219346(0x1b9)][_0x219346(0x1a9)]()[_0x219346(0x1ba)](_0x589ba6)[_0x219346(0x1c0)](_0x433180=>{const _0x414a6b=_0x219346;_0x37804e[_0x414a6b(0x1b3)](logDebug,_0x37804e['SyhEh'],_0x433180);});});}static async[_0x15086c(0x1ae)](_0x4955fd,_0x3e8561){const _0x4068ed=_0x15086c;napCatCore['session'][_0x4068ed(0x1a9)]()?.['approvalFriendRequest']({'friendUid':_0x4955fd['friendUid'],'reqTime':_0x4955fd[_0x4068ed(0x1a8)],'accept':_0x3e8561});}} \ 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 1a2b6616..46fcf300 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x7a02(_0x10b429,_0x5ceec1){const _0x301bb9=_0x301b();return _0x7a02=function(_0x7a0239,_0x3d7952){_0x7a0239=_0x7a0239-0x82;let _0x3e9fde=_0x301bb9[_0x7a0239];return _0x3e9fde;},_0x7a02(_0x10b429,_0x5ceec1);}function _0x301b(){const _0x45cb4b=['result','171bfJbpA','ULkiU','vwlZr','TqUFW','createMemberListScene','getNextMemberList','setMemberRole','2383828dRLUbG','获取群列表超时','ChpeI','获取群列表完成','PNOiT','YruhZ','DelGroupFile','seq','quitGroup','getRichMediaService','fiCpg','banGroup','publishGroupBulletin','handleGroupRequest','setGroupShutUp','kickMember','onGroupSingleScreenNotifies','session','18pBdPel','GetGroupFileCount','34696AAsdul','delete','143568VGFjFs','获取群成员列表出错,','gayGy','getGroupService','3698270xfIXcR','haQIq','getGroups','1992275bBNEok','aBRGM','forEach','infos','uploadGroupBulletinPic','36nRfwZI','33eubnmI','RHnuu','modifyGroupName','modifyMemberCardName','addListener','errCode','uin','获取群系统消息列表超时','deleteGroupFile','groupCode','then','createGroupFolder','getPSkey','59479tQVUZI','deleteGroupFolder','errMsg','setMemberShutUp','operateSysNotify','modifyMemberRole','getSingleScreenNotifies','banMember','OKNyP','qun.qq.com','set','127122PsCbjk','OweeW'];_0x301b=function(){return _0x45cb4b;};return _0x301b();}const _0x145eb0=_0x7a02;(function(_0x20672d,_0x1bde0d){const _0x24f43d=_0x7a02,_0x22c0cc=_0x20672d();while(!![]){try{const _0x514035=-parseInt(_0x24f43d(0xa5))/0x1+-parseInt(_0x24f43d(0xc1))/0x2*(-parseInt(_0x24f43d(0xc5))/0x3)+parseInt(_0x24f43d(0xaf))/0x4+parseInt(_0x24f43d(0x87))/0x5+-parseInt(_0x24f43d(0x8c))/0x6*(-parseInt(_0x24f43d(0x9a))/0x7)+-parseInt(_0x24f43d(0xc3))/0x8*(-parseInt(_0x24f43d(0xa8))/0x9)+parseInt(_0x24f43d(0x84))/0xa*(-parseInt(_0x24f43d(0x8d))/0xb);if(_0x514035===_0x1bde0d)break;else _0x22c0cc['push'](_0x22c0cc['shift']());}catch(_0x23041c){_0x22c0cc['push'](_0x22c0cc['shift']());}}}(_0x301b,0x4e96a));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(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0x145eb0(0xbf)]=(_0x40b4fe,_0x33ce9b,_0x5c6892)=>{for(const [_0x8ca107,_0x4f1fa0]of SingleScreenNotifiesTasks){_0x4f1fa0(_0x40b4fe,_0x33ce9b,_0x5c6892),groupMemberTasks['delete'](_0x8ca107);}},groupListener['onGroupListUpdate']=(_0x15ee71,_0xd05c37)=>{const _0x6789ea=_0x145eb0,_0x25349a={'OweeW':function(_0x3c3057,_0x8f4799,_0x148d9f){return _0x3c3057(_0x8f4799,_0x148d9f);}};for(const [_0x1852cc,_0x374f4f]of groupMemberTasks){_0x25349a[_0x6789ea(0xa6)](_0x374f4f,_0x15ee71,_0xd05c37),groupMemberTasks[_0x6789ea(0xc4)](_0x1852cc);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x164b0d=_0x7a02;napCatCore[_0x164b0d(0x91)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x145eb0(0x86)](_0x3658ff=![]){const _0x53d36d=_0x145eb0,_0x32652c={'ChpeI':function(_0x184fd7,_0x11480a){return _0x184fd7(_0x11480a);},'vwlZr':function(_0x561d1d,_0x9a7c72,_0x79c8f7){return _0x561d1d(_0x9a7c72,_0x79c8f7);},'PNOiT':_0x53d36d(0xb2),'pAEfp':function(_0x2723a7,_0x50947a,_0x59451e){return _0x2723a7(_0x50947a,_0x59451e);},'NvBua':function(_0x503755){return _0x503755();}};let _0x12781c=![];return new Promise((_0x45bb56,_0x5cb77d)=>{const _0x440d6f=_0x53d36d;_0x32652c['pAEfp'](setTimeout,()=>{const _0x2f9b54=_0x7a02;!_0x12781c&&(logDebug(_0x2f9b54(0xb0)),_0x32652c[_0x2f9b54(0xb1)](_0x5cb77d,_0x2f9b54(0xb0)));},0x1388);const _0x52eef2=(_0x2668fe,_0x5015f7)=>{const _0x33138e=_0x7a02;_0x12781c=!![],_0x32652c[_0x33138e(0xaa)](logDebug,_0x32652c[_0x33138e(0xb3)],_0x5015f7),_0x32652c[_0x33138e(0xb1)](_0x45bb56,_0x5015f7);};groupMemberTasks['set'](_0x32652c['NvBua'](randomUUID),_0x52eef2),napCatCore[_0x440d6f(0xc0)][_0x440d6f(0x83)]()['getGroupList'](_0x3658ff)[_0x440d6f(0x97)]();});}static async['CreatGroupFileFolder'](_0x439c77,_0x5735a2){const _0x166855=_0x145eb0;return napCatCore['session'][_0x166855(0xb8)]()[_0x166855(0x98)](_0x439c77,_0x5735a2);}static async[_0x145eb0(0xb5)](_0x50672d,_0x2afa1c){const _0x5958cb=_0x145eb0;return napCatCore[_0x5958cb(0xc0)]['getRichMediaService']()[_0x5958cb(0x95)](_0x50672d,[0x66],_0x2afa1c);}static async['DelGroupFileFolder'](_0x3aca96,_0x223b19){const _0x3db4d7=_0x145eb0;return napCatCore[_0x3db4d7(0xc0)][_0x3db4d7(0xb8)]()[_0x3db4d7(0x9b)](_0x3aca96,_0x223b19);}static async[_0x145eb0(0xa0)](_0x31350f){const _0x58c37a=_0x145eb0,_0x18581a={'AQGOd':function(_0x5c2416,_0x5774b4){return _0x5c2416(_0x5774b4);},'ULkiU':_0x58c37a(0x94),'haQIq':function(_0x5580ff,_0xb2d610,_0xf30417){return _0x5580ff(_0xb2d610,_0xf30417);},'aBRGM':function(_0x14dc02){return _0x14dc02();}},_0x5e49f2=napCatCore[_0x58c37a(0xc0)]['getGroupService']();return new Promise((_0x258ce6,_0x399946)=>{const _0x3aee74=_0x58c37a,_0x55cd58={'YruhZ':function(_0x22af08,_0x1930e4){return _0x18581a['AQGOd'](_0x22af08,_0x1930e4);}};let _0x1218b7=![];_0x18581a[_0x3aee74(0x85)](setTimeout,()=>{const _0x4b2462=_0x3aee74;!_0x1218b7&&_0x18581a['AQGOd'](_0x399946,_0x18581a[_0x4b2462(0xa9)]);},0x1388);const _0x2c4662=(_0x166931,_0x56319d,_0x59ff9e)=>{const _0x498502=_0x3aee74;_0x1218b7=!![],_0x55cd58[_0x498502(0xb4)](_0x258ce6,_0x59ff9e);};SingleScreenNotifiesTasks[_0x3aee74(0xa4)](_0x18581a[_0x3aee74(0x88)](randomUUID),_0x2c4662),_0x5e49f2[_0x3aee74(0xa0)](![],'',_0x31350f);});}static async['getGroupMembers'](_0x9457c5,_0xa883a2=0xbb8){const _0x4cac42=_0x145eb0,_0x507416={'gayGy':'groupMemberList_MainWindow','OKNyP':function(_0x559870,_0x52aa73){return _0x559870!==_0x52aa73;},'yEdeR':function(_0x32a69d,_0x5d6475){return _0x32a69d+_0x5d6475;},'Sqzxz':_0x4cac42(0xc6)},_0x360d4e=napCatCore['session'][_0x4cac42(0x83)](),_0x5def93=_0x360d4e[_0x4cac42(0xac)](_0x9457c5,_0x507416[_0x4cac42(0x82)]),_0x2f5811=await _0x360d4e[_0x4cac42(0xad)](_0x5def93,undefined,_0xa883a2);if(_0x507416[_0x4cac42(0xa2)](_0x2f5811[_0x4cac42(0x92)],0x0))throw _0x507416['yEdeR'](_0x507416['Sqzxz'],_0x2f5811[_0x4cac42(0x9c)]);return _0x2f5811[_0x4cac42(0xa7)][_0x4cac42(0x8a)][_0x4cac42(0x89)](_0x5f0361=>{const _0x2a49c1=_0x4cac42;uid2UinMap[_0x5f0361['uid']]=_0x5f0361[_0x2a49c1(0x93)];}),_0x2f5811[_0x4cac42(0xa7)][_0x4cac42(0x8a)];}static async['getGroupNotifies'](){}static async[_0x145eb0(0xc2)](_0x5c6a15){const _0x4e0e7f=_0x145eb0;return napCatCore[_0x4e0e7f(0xc0)][_0x4e0e7f(0xb8)]()['batchGetGroupFileCount'](_0x5c6a15);}static async['getGroupIgnoreNotifies'](){}static async[_0x145eb0(0x8b)](_0xbdb1fa,_0x53a804){const _0x43dbd0=_0x145eb0,_0x381a38={'fiCpg':_0x43dbd0(0xa3)},_0x233195=(await NTQQUserApi[_0x43dbd0(0x99)]([_0x381a38[_0x43dbd0(0xb9)]]))[_0x381a38[_0x43dbd0(0xb9)]];return napCatCore['session']['getGroupService']()['uploadGroupBulletinPic'](_0xbdb1fa,_0x233195,_0x53a804);}static async[_0x145eb0(0xbc)](_0x213bd6,_0x4678a7,_0x3d0193){const _0x3b4431=_0x145eb0,_0x4a0f3d={'RHnuu':function(_0x346f5b,_0x21cd21){return _0x346f5b||_0x21cd21;}};return napCatCore['session'][_0x3b4431(0x83)]()[_0x3b4431(0x9e)](![],{'operateType':_0x4678a7,'targetMsg':{'seq':_0x213bd6[_0x3b4431(0xb6)],'type':_0x213bd6['type'],'groupCode':_0x213bd6['group'][_0x3b4431(0x96)],'postscript':_0x4a0f3d[_0x3b4431(0x8e)](_0x3d0193,'')}});}static async[_0x145eb0(0xb7)](_0x383840){const _0x28ab56=_0x145eb0;return napCatCore[_0x28ab56(0xc0)][_0x28ab56(0x83)]()[_0x28ab56(0xb7)](_0x383840);}static async[_0x145eb0(0xbe)](_0x5e199d,_0x3a309b,_0xf9c425=![],_0x43bbc6=''){const _0x438729=_0x145eb0;return napCatCore['session']['getGroupService']()[_0x438729(0xbe)](_0x5e199d,_0x3a309b,_0xf9c425,_0x43bbc6);}static async[_0x145eb0(0xa1)](_0x9c5ce,_0x30b393){const _0x3f8d7c=_0x145eb0;return napCatCore[_0x3f8d7c(0xc0)][_0x3f8d7c(0x83)]()[_0x3f8d7c(0x9d)](_0x9c5ce,_0x30b393);}static async[_0x145eb0(0xba)](_0x3d5dab,_0x1c4a44){const _0x2b3716=_0x145eb0;return napCatCore[_0x2b3716(0xc0)][_0x2b3716(0x83)]()[_0x2b3716(0xbd)](_0x3d5dab,_0x1c4a44);}static async['setMemberCard'](_0x45cacf,_0x2484e1,_0x1bd386){const _0xc4316d=_0x145eb0;return napCatCore[_0xc4316d(0xc0)]['getGroupService']()[_0xc4316d(0x90)](_0x45cacf,_0x2484e1,_0x1bd386);}static async[_0x145eb0(0xae)](_0x31027f,_0x5489a1,_0x3224cd){const _0x5e97c0=_0x145eb0;return napCatCore[_0x5e97c0(0xc0)][_0x5e97c0(0x83)]()[_0x5e97c0(0x9f)](_0x31027f,_0x5489a1,_0x3224cd);}static async['setGroupName'](_0x343d9f,_0x4308c4){const _0x46519e=_0x145eb0;return napCatCore[_0x46519e(0xc0)][_0x46519e(0x83)]()[_0x46519e(0x8f)](_0x343d9f,_0x4308c4,![]);}static async['setGroupTitle'](_0x5eea7b,_0x57a558,_0x1d14e6){}static async[_0x145eb0(0xbb)](_0x384547,_0x2cb83c,_0x352967=undefined,_0x4d051c=0x0,_0x36e68d=0x0){const _0x3eb6f2=_0x145eb0,_0x10bf5d={'VSZVL':'qun.qq.com','TqUFW':function(_0x3ed013,_0x120864){return _0x3ed013(_0x120864);}},_0x49f4f3=(await NTQQUserApi[_0x3eb6f2(0x99)]([_0x10bf5d['VSZVL']]))[_0x10bf5d['VSZVL']];let _0x201934={'text':_0x10bf5d[_0x3eb6f2(0xab)](encodeURI,_0x2cb83c),'picInfo':_0x352967,'oldFeedsId':'','pinned':_0x4d051c,'confirmRequired':_0x36e68d};return napCatCore[_0x3eb6f2(0xc0)]['getGroupService']()[_0x3eb6f2(0xbb)](_0x384547,_0x49f4f3,_0x201934);}} \ No newline at end of file +const _0x8256c6=_0x25aa;(function(_0x2ffc9a,_0x1032d3){const _0x5a0fcf=_0x25aa,_0x2fd2bf=_0x2ffc9a();while(!![]){try{const _0x1b3d1b=parseInt(_0x5a0fcf(0x1ec))/0x1*(-parseInt(_0x5a0fcf(0x1b8))/0x2)+parseInt(_0x5a0fcf(0x1ea))/0x3+-parseInt(_0x5a0fcf(0x1cd))/0x4*(parseInt(_0x5a0fcf(0x1c2))/0x5)+parseInt(_0x5a0fcf(0x1e1))/0x6+parseInt(_0x5a0fcf(0x1b6))/0x7+parseInt(_0x5a0fcf(0x1b0))/0x8*(parseInt(_0x5a0fcf(0x1f3))/0x9)+-parseInt(_0x5a0fcf(0x1e3))/0xa;if(_0x1b3d1b===_0x1032d3)break;else _0x2fd2bf['push'](_0x2fd2bf['shift']());}catch(_0x23edf0){_0x2fd2bf['push'](_0x2fd2bf['shift']());}}}(_0x571b,0x6373e));function _0x571b(){const _0x5c1f2f=['1577556QNwgZg','banGroup','ssDNg','set','获取群系统消息列表超时','type','BAkXz','result','ihbOD','CreatGroupFileFolder','infos','onGroupSingleScreenNotifies','获取群成员列表出错,','getPSkey','onLoginSuccess','groupCode','SiAAI','kalnO','VuwIv','setGroupName','4584234YbznZl','uploadGroupBulletinPic','7773760BgONPk','delete','kickMember','zlbKR','getGroupIgnoreNotifies','Gdzbn','session','214719pVBmIJ','addListener','108487vegFOg','setMemberShutUp','deleteGroupFolder','banMember','uid','onGroupListUpdate','setMemberCard','6863823BmnxYG','groupMemberList_MainWindow','qun.qq.com','quitGroup','getNextMemberList','handleGroupRequest','NDcYX','getGroupNotifies','getSingleScreenNotifies','createMemberListScene','aAVBY','获取群列表完成','8eMPeOk','KCPBB','group','then','errMsg','kqOAH','1384866jdSZgZ','GijJO','4QEzUIy','modifyMemberCardName','getRichMediaService','setGroupShutUp','modifyMemberRole','AeNco','seq','获取群列表超时','qWtYt','batchGetGroupFileCount','5qYkuuX','operateSysNotify','deleteGroupFile','setGroupTitle','DelGroupFile','publishGroupBulletin','uin','getGroupMembers','getGroupService','uIGBI','aKXet'];_0x571b=function(){return _0x5c1f2f;};return _0x571b();}function _0x25aa(_0x573594,_0x4bfba9){const _0x571b66=_0x571b();return _0x25aa=function(_0x25aa9a,_0x35e8ff){_0x25aa9a=_0x25aa9a-0x1ad;let _0xa507b6=_0x571b66[_0x25aa9a];return _0xa507b6;},_0x25aa(_0x573594,_0x4bfba9);}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(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0x8256c6(0x1d8)]=(_0x163d93,_0x246240,_0x1f587e)=>{const _0x10667=_0x8256c6;for(const [_0x3bd117,_0x4c9d32]of SingleScreenNotifiesTasks){_0x4c9d32(_0x163d93,_0x246240,_0x1f587e),groupMemberTasks[_0x10667(0x1e4)](_0x3bd117);}},groupListener[_0x8256c6(0x1f1)]=(_0x3ef179,_0x5290ff)=>{const _0x28ee18={'AugCx':function(_0x23989d,_0x1fab9d,_0x18c01c){return _0x23989d(_0x1fab9d,_0x18c01c);}};for(const [_0x4ec35e,_0x4827bc]of groupMemberTasks){_0x28ee18['AugCx'](_0x4827bc,_0x3ef179,_0x5290ff),groupMemberTasks['delete'](_0x4ec35e);}},setTimeout(()=>{const _0x3e2fa8=_0x8256c6;napCatCore[_0x3e2fa8(0x1db)](()=>{const _0x3da0de=_0x3e2fa8;napCatCore[_0x3da0de(0x1eb)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x87ef8b=![]){const _0x4fef25=_0x8256c6,_0x3065a8={'QYKuM':_0x4fef25(0x1bf),'kalnO':function(_0x1a53e3,_0x292a1a){return _0x1a53e3(_0x292a1a);},'qWtYt':function(_0x5eb055,_0x58acd1,_0x277644){return _0x5eb055(_0x58acd1,_0x277644);},'ssDNg':function(_0x5bf562){return _0x5bf562();}};let _0x566799=![];return new Promise((_0x486832,_0x44c45e)=>{const _0x3ef32d=_0x4fef25,_0xf3c711={'KCPBB':_0x3065a8['QYKuM'],'AeNco':function(_0xc72858,_0x36d2c0){const _0x1184cd=_0x25aa;return _0x3065a8[_0x1184cd(0x1de)](_0xc72858,_0x36d2c0);}};_0x3065a8[_0x3ef32d(0x1c0)](setTimeout,()=>{const _0xafa087=_0x3ef32d;!_0x566799&&(logDebug(_0xf3c711[_0xafa087(0x1b1)]),_0xf3c711[_0xafa087(0x1bd)](_0x44c45e,_0xf3c711[_0xafa087(0x1b1)]));},0x1388);const _0x5effde=(_0x583aa8,_0x1cc5a9)=>{const _0x9d8b50=_0x3ef32d;_0x566799=!![],logDebug(_0x9d8b50(0x1af),_0x1cc5a9),_0xf3c711['AeNco'](_0x486832,_0x1cc5a9);};groupMemberTasks[_0x3ef32d(0x1d0)](_0x3065a8[_0x3ef32d(0x1cf)](randomUUID),_0x5effde),napCatCore[_0x3ef32d(0x1e9)][_0x3ef32d(0x1ca)]()['getGroupList'](_0x87ef8b)[_0x3ef32d(0x1b3)]();});}static async[_0x8256c6(0x1d6)](_0x346bbc,_0x1de1a3){const _0x1a7f7c=_0x8256c6;return napCatCore[_0x1a7f7c(0x1e9)][_0x1a7f7c(0x1ba)]()['createGroupFolder'](_0x346bbc,_0x1de1a3);}static async[_0x8256c6(0x1c6)](_0x1fab71,_0x56d9a5){const _0xf7bb5f=_0x8256c6;return napCatCore[_0xf7bb5f(0x1e9)][_0xf7bb5f(0x1ba)]()[_0xf7bb5f(0x1c4)](_0x1fab71,[0x66],_0x56d9a5);}static async['DelGroupFileFolder'](_0x388ab0,_0x38ebe0){const _0x122225=_0x8256c6;return napCatCore[_0x122225(0x1e9)][_0x122225(0x1ba)]()[_0x122225(0x1ee)](_0x388ab0,_0x38ebe0);}static async[_0x8256c6(0x1fb)](_0x2e0e15){const _0x41ed3a=_0x8256c6,_0x11edfc={'uIGBI':function(_0x291e1a,_0x15c98c){return _0x291e1a(_0x15c98c);},'kqOAH':function(_0x920a03,_0x31cc6d,_0x2685d2){return _0x920a03(_0x31cc6d,_0x2685d2);},'GijJO':function(_0x3e9916){return _0x3e9916();}},_0x52c0cb=napCatCore[_0x41ed3a(0x1e9)][_0x41ed3a(0x1ca)]();return new Promise((_0x4619e3,_0x28a8bf)=>{const _0x58c74a=_0x41ed3a,_0x5b379d={'NDcYX':function(_0x275946,_0x1ee05a){const _0x7f7ea3=_0x25aa;return _0x11edfc[_0x7f7ea3(0x1cb)](_0x275946,_0x1ee05a);},'aAVBY':_0x58c74a(0x1d1),'BAkXz':function(_0x5455ed,_0x528609){return _0x5455ed(_0x528609);}};let _0x351d12=![];_0x11edfc[_0x58c74a(0x1b5)](setTimeout,()=>{const _0x4ac8a5=_0x58c74a;!_0x351d12&&_0x5b379d[_0x4ac8a5(0x1f9)](_0x28a8bf,_0x5b379d[_0x4ac8a5(0x1ae)]);},0x1388);const _0x538775=(_0x2bfa8a,_0x503a52,_0x4e1d45)=>{const _0x4d3109=_0x58c74a;_0x351d12=!![],_0x5b379d[_0x4d3109(0x1d3)](_0x4619e3,_0x4e1d45);};SingleScreenNotifiesTasks[_0x58c74a(0x1d0)](_0x11edfc[_0x58c74a(0x1b7)](randomUUID),_0x538775),_0x52c0cb[_0x58c74a(0x1fb)](![],'',_0x2e0e15);});}static async[_0x8256c6(0x1c9)](_0x446e11,_0x1a518d=0xbb8){const _0x375f75=_0x8256c6,_0x243f6e={'ihbOD':_0x375f75(0x1f4),'Gdzbn':function(_0x3eb265,_0x331c4c){return _0x3eb265!==_0x331c4c;},'aKXet':function(_0x74002a,_0x50ece2){return _0x74002a+_0x50ece2;},'zlbKR':_0x375f75(0x1d9)},_0x11bbc5=napCatCore['session'][_0x375f75(0x1ca)](),_0x450c38=_0x11bbc5[_0x375f75(0x1ad)](_0x446e11,_0x243f6e[_0x375f75(0x1d5)]),_0x347326=await _0x11bbc5[_0x375f75(0x1f7)](_0x450c38,undefined,_0x1a518d);if(_0x243f6e[_0x375f75(0x1e8)](_0x347326['errCode'],0x0))throw _0x243f6e[_0x375f75(0x1cc)](_0x243f6e[_0x375f75(0x1e6)],_0x347326[_0x375f75(0x1b4)]);return _0x347326[_0x375f75(0x1d4)]['infos']['forEach'](_0x53c2ca=>{const _0x345a1b=_0x375f75;uid2UinMap[_0x53c2ca[_0x345a1b(0x1f0)]]=_0x53c2ca[_0x345a1b(0x1c8)];}),_0x347326[_0x375f75(0x1d4)][_0x375f75(0x1d7)];}static async[_0x8256c6(0x1fa)](){}static async['GetGroupFileCount'](_0x63e322){const _0x518f69=_0x8256c6;return napCatCore[_0x518f69(0x1e9)][_0x518f69(0x1ba)]()[_0x518f69(0x1c1)](_0x63e322);}static async[_0x8256c6(0x1e7)](){}static async[_0x8256c6(0x1e2)](_0x3e00d8,_0x5d4034){const _0x2c3768=_0x8256c6,_0x2c9177={'SiAAI':_0x2c3768(0x1f5)},_0x567f07=(await NTQQUserApi[_0x2c3768(0x1da)]([_0x2c9177[_0x2c3768(0x1dd)]]))[_0x2c9177[_0x2c3768(0x1dd)]];return napCatCore[_0x2c3768(0x1e9)][_0x2c3768(0x1ca)]()['uploadGroupBulletinPic'](_0x3e00d8,_0x567f07,_0x5d4034);}static async[_0x8256c6(0x1f8)](_0xf4f023,_0x4fb793,_0x366671){const _0x4db16f=_0x8256c6,_0x38ef06={'EEFzC':function(_0x545740,_0x4359dc){return _0x545740||_0x4359dc;}};return napCatCore[_0x4db16f(0x1e9)][_0x4db16f(0x1ca)]()[_0x4db16f(0x1c3)](![],{'operateType':_0x4fb793,'targetMsg':{'seq':_0xf4f023[_0x4db16f(0x1be)],'type':_0xf4f023[_0x4db16f(0x1d2)],'groupCode':_0xf4f023[_0x4db16f(0x1b2)][_0x4db16f(0x1dc)],'postscript':_0x38ef06['EEFzC'](_0x366671,'')}});}static async[_0x8256c6(0x1f6)](_0x327684){const _0x4bd5f=_0x8256c6;return napCatCore[_0x4bd5f(0x1e9)]['getGroupService']()[_0x4bd5f(0x1f6)](_0x327684);}static async[_0x8256c6(0x1e5)](_0x13dc95,_0xa0f1da,_0x43d97b=![],_0x380d64=''){const _0x2b20b0=_0x8256c6;return napCatCore['session']['getGroupService']()[_0x2b20b0(0x1e5)](_0x13dc95,_0xa0f1da,_0x43d97b,_0x380d64);}static async[_0x8256c6(0x1ef)](_0x423316,_0x2a1c7e){const _0x12713e=_0x8256c6;return napCatCore[_0x12713e(0x1e9)]['getGroupService']()[_0x12713e(0x1ed)](_0x423316,_0x2a1c7e);}static async[_0x8256c6(0x1ce)](_0x11fcba,_0x408ff1){const _0x5992ae=_0x8256c6;return napCatCore[_0x5992ae(0x1e9)][_0x5992ae(0x1ca)]()[_0x5992ae(0x1bb)](_0x11fcba,_0x408ff1);}static async[_0x8256c6(0x1f2)](_0x37c615,_0xe21e13,_0x4d1583){const _0x568e3b=_0x8256c6;return napCatCore[_0x568e3b(0x1e9)][_0x568e3b(0x1ca)]()[_0x568e3b(0x1b9)](_0x37c615,_0xe21e13,_0x4d1583);}static async['setMemberRole'](_0x5cbf0d,_0x55bf76,_0x54278d){const _0x59aaeb=_0x8256c6;return napCatCore['session'][_0x59aaeb(0x1ca)]()[_0x59aaeb(0x1bc)](_0x5cbf0d,_0x55bf76,_0x54278d);}static async[_0x8256c6(0x1e0)](_0x436086,_0x293fa0){const _0x3f947f=_0x8256c6;return napCatCore[_0x3f947f(0x1e9)][_0x3f947f(0x1ca)]()['modifyGroupName'](_0x436086,_0x293fa0,![]);}static async[_0x8256c6(0x1c5)](_0xddef21,_0x169f0b,_0x4d59c8){}static async['publishGroupBulletin'](_0x2db38f,_0x109c62,_0x483647=undefined,_0x585096=0x0,_0x4cb17f=0x0){const _0x226f7e=_0x8256c6,_0x16e25a={'VuwIv':_0x226f7e(0x1f5)},_0x70246f=(await NTQQUserApi[_0x226f7e(0x1da)]([_0x16e25a[_0x226f7e(0x1df)]]))[_0x226f7e(0x1f5)];let _0x53e7e3={'text':encodeURI(_0x109c62),'picInfo':_0x483647,'oldFeedsId':'','pinned':_0x585096,'confirmRequired':_0x4cb17f};return napCatCore[_0x226f7e(0x1e9)]['getGroupService']()[_0x226f7e(0x1c7)](_0x2db38f,_0x70246f,_0x53e7e3);}} \ 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 da782ef9..220f650a 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -function _0x30de(){var _0x4dfdea=['30892fYcrRX','1978106FrErvJ','6017192UzyTuC','1143429tFSDZD','801784hQOjok','1050YkgOKc','32736447tmErVs','36awLbjC','1516245WndRLq'];_0x30de=function(){return _0x4dfdea;};return _0x30de();}(function(_0x1de97e,_0x53b6d7){var _0x5147ea=_0x3127,_0x10a0e3=_0x1de97e();while(!![]){try{var _0x49fe07=-parseInt(_0x5147ea(0xa3))/0x1+parseInt(_0x5147ea(0xa0))/0x2+parseInt(_0x5147ea(0x9e))/0x3+parseInt(_0x5147ea(0x9f))/0x4*(-parseInt(_0x5147ea(0xa4))/0x5)+-parseInt(_0x5147ea(0x9d))/0x6*(parseInt(_0x5147ea(0xa2))/0x7)+-parseInt(_0x5147ea(0xa1))/0x8+parseInt(_0x5147ea(0xa5))/0x9;if(_0x49fe07===_0x53b6d7)break;else _0x10a0e3['push'](_0x10a0e3['shift']());}catch(_0x3d504e){_0x10a0e3['push'](_0x10a0e3['shift']());}}}(_0x30de,0xee486));export*from'./file';export*from'./friend';export*from'./group';function _0x3127(_0x110d8c,_0x21de71){var _0x30de91=_0x30de();return _0x3127=function(_0x3127d4,_0x291243){_0x3127d4=_0x3127d4-0x9d;var _0x30a550=_0x30de91[_0x3127d4];return _0x30a550;},_0x3127(_0x110d8c,_0x21de71);}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x104e69,_0x54b359){var _0x3e080f=_0x38b7,_0x1a9a03=_0x104e69();while(!![]){try{var _0x662c62=parseInt(_0x3e080f(0xa8))/0x1*(parseInt(_0x3e080f(0xa7))/0x2)+parseInt(_0x3e080f(0xa5))/0x3+-parseInt(_0x3e080f(0xa4))/0x4*(parseInt(_0x3e080f(0xa2))/0x5)+parseInt(_0x3e080f(0xaa))/0x6+-parseInt(_0x3e080f(0xa9))/0x7+-parseInt(_0x3e080f(0xa3))/0x8+-parseInt(_0x3e080f(0xab))/0x9*(-parseInt(_0x3e080f(0xa6))/0xa);if(_0x662c62===_0x54b359)break;else _0x1a9a03['push'](_0x1a9a03['shift']());}catch(_0x41a53b){_0x1a9a03['push'](_0x1a9a03['shift']());}}}(_0x4df6,0xde1af));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';function _0x4df6(){var _0x5788d9=['115030cjAzMk','150112taZEjD','5vgyIdk','4148501yLXjis','1733220hgOLPK','1314eGIdTg','8228165bRlRqy','4386912DrFJWq','4qrNDsL','4058385iqQqxO'];_0x4df6=function(){return _0x5788d9;};return _0x4df6();}function _0x38b7(_0x3d1b83,_0x335465){var _0x4df6fb=_0x4df6();return _0x38b7=function(_0x38b76c,_0x5bf64c){_0x38b76c=_0x38b76c-0xa2;var _0x3305a2=_0x4df6fb[_0x38b76c];return _0x3305a2;},_0x38b7(_0x3d1b83,_0x335465);}export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.d.ts b/src/core.lib/src/apis/msg.d.ts index 8a5a71b7..885ab1e0 100644 --- a/src/core.lib/src/apis/msg.d.ts +++ b/src/core.lib/src/apis/msg.d.ts @@ -14,12 +14,7 @@ export declare class NTQQMsgApi { static activateChat(peer: Peer): Promise; static activateChatAndGetHistory(peer: Peer): Promise; static setMsgRead(peer: Peer): Promise; - static getGroupFileList(GroupCode: string, params: GetFileListParam): Promise<{ - FileList: Array; - totalSpace: number; - usedSpace: number; - allUpload: boolean; - }>; + static getGroupFileList(GroupCode: string, params: GetFileListParam): Promise; static getMsgHistory(peer: Peer, msgId: string, count: number): Promise; diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 0a6a3b48..c90901da 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x1c8b79=_0xdca5;(function(_0x365349,_0x25cb60){const _0xdcd108=_0xdca5,_0x2657b7=_0x365349();while(!![]){try{const _0x23c33e=-parseInt(_0xdcd108(0x142))/0x1+-parseInt(_0xdcd108(0x102))/0x2+-parseInt(_0xdcd108(0x10d))/0x3+-parseInt(_0xdcd108(0x108))/0x4+-parseInt(_0xdcd108(0x112))/0x5*(-parseInt(_0xdcd108(0x12e))/0x6)+parseInt(_0xdcd108(0x122))/0x7*(-parseInt(_0xdcd108(0x140))/0x8)+parseInt(_0xdcd108(0x11c))/0x9*(parseInt(_0xdcd108(0x139))/0xa);if(_0x23c33e===_0x25cb60)break;else _0x2657b7['push'](_0x2657b7['shift']());}catch(_0x1961f2){_0x2657b7['push'](_0x2657b7['shift']());}}}(_0x3864,0xbd858));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x1c8b79(0x10a)]=_0x47cb11=>{const _0x2d8a93=_0x1c8b79,_0x154c99={'doaLH':function(_0x797345,_0x310ad2){return _0x797345(_0x310ad2);}};for(const [_0x4c72ed,_0x4e1c3f]of GroupFileInfoUpdateTasks){_0x154c99[_0x2d8a93(0x13c)](_0x4e1c3f,_0x47cb11),GroupFileInfoUpdateTasks[_0x2d8a93(0x13d)](_0x4c72ed);}},msgListener[_0x1c8b79(0x104)]=_0x528695=>{const _0x1644ea=_0x1c8b79;for(const [_0x9f98b8,_0x4103f7]of sentMsgTasks){_0x4103f7(_0x528695),sentMsgTasks[_0x1644ea(0x13d)](_0x9f98b8);}if(sendMessagePool[_0x528695[_0x1644ea(0x120)]]){const _0x110115=sendMessagePool[_0x528695['peerUid']]?.(_0x528695);_0x110115 instanceof Promise&&_0x110115[_0x1644ea(0x100)]()[_0x1644ea(0x113)](logError);}},msgListener[_0x1c8b79(0x12d)]=_0x3ed505=>{const _0x2d7cf8={'WQJvs':function(_0x41bf26,_0x21b440){return _0x41bf26(_0x21b440);},'GWsFc':function(_0x30b33f,_0x35e046){return _0x30b33f(_0x35e046);}};_0x3ed505['forEach'](_0x3c8696=>{const _0x666133=_0xdca5,_0x29c144={'RbcEI':function(_0x39285d,_0x50d6bc){const _0x5e3127=_0xdca5;return _0x2d7cf8[_0x5e3127(0x127)](_0x39285d,_0x50d6bc);},'pEVZB':function(_0x2254a1,_0x4600cc){return _0x2254a1 instanceof _0x4600cc;},'YQvhd':function(_0x1d5554,_0x5105be){const _0x43f38d=_0xdca5;return _0x2d7cf8[_0x43f38d(0x13e)](_0x1d5554,_0x5105be);}};new Promise((_0x377ac0,_0x1d6c32)=>{const _0x11cfbc=_0xdca5;for(const _0x1586e3 in sendSuccessCBMap){const _0x58af7b=sendSuccessCBMap[_0x1586e3],_0xd368a2=_0x29c144[_0x11cfbc(0x129)](_0x58af7b,_0x3c8696),_0x237e97=_0x25360b=>{_0x25360b&&delete sendSuccessCBMap[_0x1586e3];};_0x29c144[_0x11cfbc(0x125)](_0xd368a2,Promise)?_0xd368a2['then'](_0x237e97):_0x29c144['YQvhd'](_0x237e97,_0xd368a2);}})[_0x666133(0x100)]()['catch'](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](msgListener);});},0x64);function _0xdca5(_0x2f7c08,_0x2cc148){const _0x3864c2=_0x3864();return _0xdca5=function(_0xdca511,_0x4d0a00){_0xdca511=_0xdca511-0x100;let _0x83687d=_0x3864c2[_0xdca511];return _0x83687d;},_0xdca5(_0x2f7c08,_0x2cc148);}function _0x3864(){const _0x43df75=['session','获取群文件列表超时','bytesData','arkElement','27EATSEr','setEmojiLike','item','multiForwardMsgWithComment','peerUid','chatType','2807yqZsaX','find','com.tencent.multimsg','pEVZB','getMsgsBySeqAndCount','WQJvs','sendMsg','RbcEI','echvP','tdDnK','senderUid','onMsgInfoListUpdate','3048LYtkwu','IedKH','FileList','OsTIi','parse','CRKKA','uid','getMsgService','hTSWR','activateChat','getMsgHistory','9736290lLdXBh','nick','forwardMsg','doaLH','delete','GWsFc','pJKAH','14632WmpJDB','recallMsg','558710yOEbJJ','groupSpaceResult','发送超时','multiForwardMsg','then','getMultiMsg','69026gZhmRe','app','onAddSendMsg','getMsgsByMsgId','allUpload','setMsgEmojiLikes','2936052fUecbh','setMsgRead','onGroupFileInfoUpdate','usedSpace','转发消息超时','253350nQkfaA','getGroupFileList','toString','svkuE','map','5fRgMMa','catch','length','oFQcn','totalSpace','msgId'];_0x3864=function(){return _0x43df75;};return _0x3864();}export class NTQQMsgApi{static async[_0x1c8b79(0x11d)](_0x491f25,_0x40a50f,_0x22ba94,_0x2e4007=!![]){const _0xd3f905=_0x1c8b79,_0x415f72={'echvP':function(_0x26a026,_0x3c760f){return _0x26a026>_0x3c760f;}};return _0x22ba94=_0x22ba94[_0xd3f905(0x10f)](),napCatCore[_0xd3f905(0x118)]['getMsgService']()[_0xd3f905(0x107)](_0x491f25,_0x40a50f,_0x22ba94,_0x415f72[_0xd3f905(0x12a)](_0x22ba94[_0xd3f905(0x114)],0x3)?'2':'1',_0x2e4007);}static async[_0x1c8b79(0x101)](_0x451bf4,_0x363852,_0x54daeb){const _0x483245=_0x1c8b79;return napCatCore[_0x483245(0x118)][_0x483245(0x135)]()['getMultiMsg'](_0x451bf4,_0x363852,_0x54daeb);}static async['getMsgsByMsgId'](_0x5f276f,_0x4127a1){const _0x591590=_0x1c8b79;return await napCatCore['session'][_0x591590(0x135)]()[_0x591590(0x105)](_0x5f276f,_0x4127a1);}static async[_0x1c8b79(0x126)](_0x15cf52,_0x2bef38,_0x412cd3,_0x3fa7f1,_0x469b1f){const _0xd8ac8=_0x1c8b79;return await napCatCore[_0xd8ac8(0x118)]['getMsgService']()[_0xd8ac8(0x126)](_0x15cf52,_0x2bef38,_0x412cd3,_0x3fa7f1,_0x469b1f);}static async[_0x1c8b79(0x137)](_0x344947){}static async['activateChatAndGetHistory'](_0x57c500){}static async[_0x1c8b79(0x109)](_0x19d93d){const _0x4fe633=_0x1c8b79;return napCatCore[_0x4fe633(0x118)][_0x4fe633(0x135)]()['setMsgRead'](_0x19d93d);}static async[_0x1c8b79(0x10e)](_0x2c72f5,_0x6d6cda){const _0x31ca6a={'oFQcn':function(_0xf37063,_0x3a9ca8,_0x2b76cb){return _0xf37063(_0x3a9ca8,_0x2b76cb);},'nrcza':function(_0x56a940){return _0x56a940();}};return new Promise(async(_0x2b4929,_0x1b4bc7)=>{const _0x305759=_0xdca5;let _0xf84ae1=![],_0x36cc7a={};_0x31ca6a[_0x305759(0x115)](setTimeout,()=>{const _0x180510=_0x305759;!_0xf84ae1&&_0x1b4bc7(_0x180510(0x119));},0x1388);const _0x671e92=_0x169984=>{const _0x21fe5f=_0x305759;_0xf84ae1=!![],_0x36cc7a[_0x21fe5f(0x130)]=_0x169984[_0x21fe5f(0x11e)],_0x2b4929(_0x36cc7a);};GroupFileInfoUpdateTasks['set'](_0x31ca6a['nrcza'](randomUUID),_0x671e92);const _0x1b3f8f=await napCatCore['session']['getRichMediaService']()['getGroupFileList'](_0x2c72f5,_0x6d6cda);_0x36cc7a[_0x305759(0x106)]=_0x1b3f8f[_0x305759(0x143)][_0x305759(0x106)],_0x36cc7a[_0x305759(0x116)]=_0x1b3f8f[_0x305759(0x143)][_0x305759(0x116)],_0x36cc7a[_0x305759(0x10b)]=_0x1b3f8f[_0x305759(0x143)][_0x305759(0x10b)];});}static async[_0x1c8b79(0x138)](_0x2ab437,_0x3e11a9,_0x1589df){const _0x40b7ae=_0x1c8b79;return napCatCore[_0x40b7ae(0x118)][_0x40b7ae(0x135)]()['getMsgsIncludeSelf'](_0x2ab437,_0x3e11a9,_0x1589df,!![]);}static async['fetchRecentContact'](){}static async[_0x1c8b79(0x141)](_0x50ed4f,_0x4a5dad){const _0x517734=_0x1c8b79;await napCatCore[_0x517734(0x118)]['getMsgService']()[_0x517734(0x141)]({'chatType':_0x50ed4f[_0x517734(0x121)],'peerUid':_0x50ed4f[_0x517734(0x120)]},_0x4a5dad);}static async[_0x1c8b79(0x128)](_0x41a92b,_0x585c16,_0x52e474=!![],_0x35efc1=0x2710){const _0x1ca3b5=_0x1c8b79,_0x2358d8={'CRKKA':_0x1ca3b5(0x144),'pmbtb':function(_0x3a6349,_0x4bb874){return _0x3a6349(_0x4bb874);},'svkuE':function(_0x3b63d4){return _0x3b63d4();},'hTSWR':function(_0x28a58b){return _0x28a58b();}},_0x205f59=_0x41a92b['peerUid'];let _0x3f1d0f=0x0;const _0x1a2bd6=async()=>{const _0x3b303c=_0x1ca3b5;if(_0x3f1d0f>_0x35efc1)throw _0x2358d8[_0x3b303c(0x133)];const _0x55f5cd=sendMessagePool[_0x41a92b['peerUid']];if(_0x55f5cd)return await _0x2358d8['pmbtb'](sleep,0x1f4),_0x3f1d0f+=0x1f4,await _0x2358d8[_0x3b303c(0x110)](_0x1a2bd6);else return;};return await _0x2358d8[_0x1ca3b5(0x136)](_0x1a2bd6),new Promise((_0x33fdbf,_0x19c114)=>{const _0x5c852c=_0x1ca3b5,_0x4c95a2={'YHWOh':function(_0x5718e5,_0x542bcf){return _0x5718e5===_0x542bcf;}};let _0x7ab065=![],_0x2c86a4=null;const _0x1257fc=_0x2358d8[_0x5c852c(0x110)](randomUUID);sendSuccessCBMap[_0x1257fc]=_0x58f591=>{const _0x85ff8f=_0x5c852c;if(_0x58f591[_0x85ff8f(0x117)]===_0x2c86a4?.[_0x85ff8f(0x117)]){if(_0x4c95a2['YHWOh'](_0x58f591['sendStatus'],0x2))return delete sendSuccessCBMap[_0x1257fc],_0x7ab065=!![],_0x33fdbf(_0x58f591),!![];return![];}return![];},sendMessagePool[_0x205f59]=async _0x53ed47=>{delete sendMessagePool[_0x205f59],_0x2c86a4=_0x53ed47;},setTimeout(()=>{const _0x184db3=_0x5c852c;if(_0x7ab065)return;delete sendMessagePool[_0x205f59],delete sendSuccessCBMap[_0x1257fc],_0x19c114(_0x184db3(0x144));},_0x35efc1);const _0x10b971=napCatCore[_0x5c852c(0x118)][_0x5c852c(0x135)]()[_0x5c852c(0x128)]('0',_0x41a92b,_0x585c16,new Map());});}static async[_0x1c8b79(0x13b)](_0x4ec643,_0xb26c18,_0x510954){const _0x45507c=_0x1c8b79;return napCatCore['session'][_0x45507c(0x135)]()['forwardMsg'](_0x510954,_0x4ec643,[_0xb26c18],new Map());}static async[_0x1c8b79(0x145)](_0x4e636e,_0x381160,_0x2969a9){const _0xe3254b=_0x1c8b79,_0x4b7d24={'pJKAH':function(_0x1c1134,_0x2362ce){return _0x1c1134(_0x2362ce);},'tdDnK':function(_0x2150ba,_0x2f6f28,_0x33bcb6){return _0x2150ba(_0x2f6f28,_0x33bcb6);}},_0x260471=_0x2969a9[_0xe3254b(0x111)](_0x15c563=>{const _0x4f6f92=_0xe3254b;return{'msgId':_0x15c563,'senderShowName':selfInfo[_0x4f6f92(0x13a)]};});return new Promise((_0x4876a0,_0x39ab3a)=>{const _0x314572=_0xe3254b,_0x3c954d={'OsTIi':_0x314572(0x124),'IedKH':function(_0x23ce7f,_0x221958){const _0x224a8e=_0x314572;return _0x4b7d24[_0x224a8e(0x13f)](_0x23ce7f,_0x221958);}};let _0x38ec4f=![];const _0x185bed=_0x2b994b=>{const _0x434754=_0x314572,_0x1da31b=_0x2b994b['elements'][_0x434754(0x123)](_0x5720eb=>_0x5720eb['arkElement']);if(!_0x1da31b)return;const _0x6d7424=JSON[_0x434754(0x132)](_0x1da31b[_0x434754(0x11b)][_0x434754(0x11a)]);if(_0x6d7424[_0x434754(0x103)]!=_0x3c954d[_0x434754(0x131)])return;_0x2b994b['peerUid']==_0x381160[_0x434754(0x120)]&&_0x2b994b[_0x434754(0x12c)]==selfInfo[_0x434754(0x134)]&&(_0x38ec4f=!![],_0x3c954d[_0x434754(0x12f)](_0x4876a0,_0x2b994b));};sentMsgTasks['set'](randomUUID(),_0x185bed),_0x4b7d24[_0x314572(0x12b)](setTimeout,()=>{const _0x3553fe=_0x314572;!_0x38ec4f&&_0x39ab3a(_0x3553fe(0x10c));},0x1388),napCatCore[_0x314572(0x118)][_0x314572(0x135)]()[_0x314572(0x11f)](_0x260471,_0x4e636e,_0x381160,[],new Map());});}} \ No newline at end of file +const _0x563b88=_0x1499;(function(_0x4f2e03,_0xaa2185){const _0xe4572a=_0x1499,_0x4e88ee=_0x4f2e03();while(!![]){try{const _0xae1518=parseInt(_0xe4572a(0xa6))/0x1*(parseInt(_0xe4572a(0x8f))/0x2)+-parseInt(_0xe4572a(0x8b))/0x3*(parseInt(_0xe4572a(0xba))/0x4)+-parseInt(_0xe4572a(0xb7))/0x5+parseInt(_0xe4572a(0x81))/0x6*(parseInt(_0xe4572a(0x77))/0x7)+-parseInt(_0xe4572a(0xb6))/0x8*(parseInt(_0xe4572a(0x82))/0x9)+-parseInt(_0xe4572a(0x84))/0xa*(-parseInt(_0xe4572a(0xb2))/0xb)+parseInt(_0xe4572a(0x87))/0xc;if(_0xae1518===_0xaa2185)break;else _0x4e88ee['push'](_0x4e88ee['shift']());}catch(_0xc13304){_0x4e88ee['push'](_0x4e88ee['shift']());}}}(_0x35e3,0x22ab1));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x563b88(0x98)]=_0x3dd195=>{const _0x557df3=_0x563b88;for(const [_0x1bb3b8,_0x589832]of GroupFileInfoUpdateTasks){_0x589832(_0x3dd195),GroupFileInfoUpdateTasks[_0x557df3(0x7d)](_0x1bb3b8);}},msgListener[_0x563b88(0xb4)]=_0x15f452=>{const _0x1ad4ac=_0x563b88,_0x2983bf={'iQVjf':function(_0x4ae214,_0x187267){return _0x4ae214 instanceof _0x187267;}};for(const [_0x5debfd,_0x57b8c2]of sentMsgTasks){_0x57b8c2(_0x15f452),sentMsgTasks['delete'](_0x5debfd);}if(sendMessagePool[_0x15f452['peerUid']]){const _0x4edbdb=sendMessagePool[_0x15f452['peerUid']]?.(_0x15f452);_0x2983bf['iQVjf'](_0x4edbdb,Promise)&&_0x4edbdb[_0x1ad4ac(0x79)]()[_0x1ad4ac(0xbb)](logError);}},msgListener[_0x563b88(0xb0)]=_0x1b6cc6=>{const _0x42682d=_0x563b88,_0x38bd47={'mjhgs':function(_0x455ecc,_0x448246){return _0x455ecc(_0x448246);},'KclWI':function(_0x571b5e,_0x2b1f9b){return _0x571b5e instanceof _0x2b1f9b;},'DqigP':function(_0x1e1e08,_0x48fae0){return _0x1e1e08(_0x48fae0);}};_0x1b6cc6[_0x42682d(0x93)](_0x32ffd4=>{const _0xe3b8ce=_0x42682d;new Promise((_0x1bd062,_0x9f06da)=>{const _0x5a360c=_0x1499;for(const _0x2f7dd1 in sendSuccessCBMap){const _0x5d2ff8=sendSuccessCBMap[_0x2f7dd1],_0x125cb6=_0x38bd47[_0x5a360c(0x80)](_0x5d2ff8,_0x32ffd4),_0x218ba6=_0x261a86=>{_0x261a86&&delete sendSuccessCBMap[_0x2f7dd1];};_0x38bd47['KclWI'](_0x125cb6,Promise)?_0x125cb6[_0x5a360c(0x79)](_0x218ba6):_0x38bd47[_0x5a360c(0x89)](_0x218ba6,_0x125cb6);}})[_0xe3b8ce(0x79)]()[_0xe3b8ce(0xbb)](log);});},setTimeout(()=>{const _0x2f3616=_0x563b88;napCatCore[_0x2f3616(0x86)](()=>{const _0x254103=_0x2f3616;napCatCore[_0x254103(0x96)](msgListener);});},0x64);function _0x1499(_0x40bd7f,_0x5c6e93){const _0x35e3dd=_0x35e3();return _0x1499=function(_0x1499d0,_0x13a74b){_0x1499d0=_0x1499d0-0x74;let _0x10f31c=_0x35e3dd[_0x1499d0];return _0x10f31c;},_0x1499(_0x40bd7f,_0x5c6e93);}export class NTQQMsgApi{static async['setEmojiLike'](_0x1b8f80,_0x5a922f,_0x456079,_0x1f627f=!![]){const _0x5a4fb3=_0x563b88;return _0x456079=_0x456079[_0x5a4fb3(0xa2)](),napCatCore[_0x5a4fb3(0xae)][_0x5a4fb3(0xb8)]()[_0x5a4fb3(0x8d)](_0x1b8f80,_0x5a922f,_0x456079,_0x456079[_0x5a4fb3(0x9e)]>0x3?'2':'1',_0x1f627f);}static async[_0x563b88(0x74)](_0x31ea55,_0x4ef473,_0x1abf5c){const _0x13ba98=_0x563b88;return napCatCore[_0x13ba98(0xae)]['getMsgService']()[_0x13ba98(0x74)](_0x31ea55,_0x4ef473,_0x1abf5c);}static async[_0x563b88(0xa0)](_0x2abcb1,_0x1331c0){const _0x428187=_0x563b88;return await napCatCore[_0x428187(0xae)][_0x428187(0xb8)]()['getMsgsByMsgId'](_0x2abcb1,_0x1331c0);}static async[_0x563b88(0xb1)](_0x3ab0e0,_0x462b71,_0x139bf3,_0x42fcd8,_0x4df1c3){const _0x379ce3=_0x563b88;return await napCatCore[_0x379ce3(0xae)]['getMsgService']()[_0x379ce3(0xb1)](_0x3ab0e0,_0x462b71,_0x139bf3,_0x42fcd8,_0x4df1c3);}static async[_0x563b88(0x9f)](_0x1cd212){}static async[_0x563b88(0x7f)](_0x3e2188){}static async['setMsgRead'](_0x622b28){const _0x39df0d=_0x563b88;return napCatCore[_0x39df0d(0xae)][_0x39df0d(0xb8)]()['setMsgRead'](_0x622b28);}static async[_0x563b88(0x9b)](_0x30b0bb,_0x180d63){const _0x422adb={'YAZul':function(_0x43f6cb,_0x1a52de){return _0x43f6cb(_0x1a52de);},'rlgts':function(_0x31dc77,_0x24cae3){return _0x31dc77(_0x24cae3);},'NRaIU':function(_0x2a4c5a){return _0x2a4c5a();}};return new Promise(async(_0x251359,_0x3f53ba)=>{const _0x3558b1=_0x1499,_0x59cd60={'fXmAG':function(_0x4de543,_0x10e875){const _0x4d9dd2=_0x1499;return _0x422adb[_0x4d9dd2(0xb5)](_0x4de543,_0x10e875);}};let _0x21ad73=![];setTimeout(()=>{const _0x1868f4=_0x1499;!_0x21ad73&&_0x59cd60[_0x1868f4(0x7c)](_0x3f53ba,_0x1868f4(0x99));},0x1388);const _0x336741=_0x14ba71=>{_0x21ad73=!![],_0x422adb['YAZul'](_0x251359,_0x14ba71['item']);};GroupFileInfoUpdateTasks[_0x3558b1(0xac)](_0x422adb[_0x3558b1(0x91)](randomUUID),_0x336741),await napCatCore[_0x3558b1(0xae)]['getRichMediaService']()['getGroupFileList'](_0x30b0bb,_0x180d63);});}static async[_0x563b88(0x78)](_0x1a4604,_0x378593,_0x1f1cae){const _0x5b458a=_0x563b88;return napCatCore[_0x5b458a(0xae)][_0x5b458a(0xb8)]()['getMsgsIncludeSelf'](_0x1a4604,_0x378593,_0x1f1cae,!![]);}static async['fetchRecentContact'](){}static async[_0x563b88(0xa3)](_0x2719d1,_0x4a01ab){const _0xbd70cc=_0x563b88;await napCatCore[_0xbd70cc(0xae)][_0xbd70cc(0xb8)]()[_0xbd70cc(0xa3)]({'chatType':_0x2719d1[_0xbd70cc(0xa4)],'peerUid':_0x2719d1[_0xbd70cc(0xab)]},_0x4a01ab);}static async[_0x563b88(0x9a)](_0x86036b,_0x6989fe,_0x4d05f1=!![],_0x3a27fb=0x2710){const _0x28d384=_0x563b88,_0x3b3692={'kwXpn':function(_0xd9c03b,_0xa893f1){return _0xd9c03b>_0xa893f1;},'IvsCv':_0x28d384(0x97),'nkIJu':function(_0x14bb63,_0x3f57b4){return _0x14bb63(_0x3f57b4);},'MzqQo':function(_0x4cf2bb){return _0x4cf2bb();},'hQtHh':function(_0x8310a4,_0x4b4725){return _0x8310a4(_0x4b4725);},'SBpnX':function(_0x44eded,_0xe95619,_0x275f6c){return _0x44eded(_0xe95619,_0x275f6c);}},_0x31a73d=_0x86036b[_0x28d384(0xab)];let _0x59044c=0x0;const _0x1b5147=async()=>{const _0x45e6f2=_0x28d384;if(_0x3b3692[_0x45e6f2(0xad)](_0x59044c,_0x3a27fb))throw _0x3b3692[_0x45e6f2(0x8a)];const _0x30441e=sendMessagePool[_0x86036b[_0x45e6f2(0xab)]];if(_0x30441e)return await _0x3b3692[_0x45e6f2(0xa7)](sleep,0x1f4),_0x59044c+=0x1f4,await _0x3b3692['MzqQo'](_0x1b5147);else return;};return await _0x1b5147(),new Promise((_0x3a097,_0x322fce)=>{const _0x599637=_0x28d384;let _0x2c54c0=![],_0x2e202a=null;const _0x509f14=randomUUID();sendSuccessCBMap[_0x509f14]=_0x52d613=>{const _0x347281=_0x1499;if(_0x52d613[_0x347281(0x92)]===_0x2e202a?.[_0x347281(0x92)]){if(_0x52d613[_0x347281(0xb9)]===0x2)return delete sendSuccessCBMap[_0x509f14],_0x2c54c0=!![],_0x3b3692[_0x347281(0xaf)](_0x3a097,_0x52d613),!![];return![];}return![];},sendMessagePool[_0x31a73d]=async _0x30e7e1=>{delete sendMessagePool[_0x31a73d],_0x2e202a=_0x30e7e1;},_0x3b3692[_0x599637(0x95)](setTimeout,()=>{const _0x49a107=_0x599637;if(_0x2c54c0)return;delete sendMessagePool[_0x31a73d],delete sendSuccessCBMap[_0x509f14],_0x322fce(_0x3b3692[_0x49a107(0x8a)]);},_0x3a27fb);const _0x2ea07e=napCatCore[_0x599637(0xae)][_0x599637(0xb8)]()['sendMsg']('0',_0x86036b,_0x6989fe,new Map());});}static async[_0x563b88(0xa8)](_0x480090,_0xc22649,_0x156c31){const _0x4fd660=_0x563b88;return napCatCore[_0x4fd660(0xae)][_0x4fd660(0xb8)]()[_0x4fd660(0xa8)](_0x156c31,_0x480090,[_0xc22649],new Map());}static async[_0x563b88(0x85)](_0x46e862,_0x5f0967,_0x13a369){const _0x3d886e=_0x563b88,_0x28de32={'GmsJQ':function(_0x218884,_0x905442){return _0x218884!=_0x905442;},'hAzfZ':function(_0x285bca,_0x20082f){return _0x285bca==_0x20082f;},'NpFJe':function(_0x4322f5,_0x3d2454){return _0x4322f5(_0x3d2454);},'tvAXL':_0x3d886e(0xaa),'zFraW':function(_0x12e6a9){return _0x12e6a9();},'WATzv':function(_0x5c79be,_0x452f97,_0x21774c){return _0x5c79be(_0x452f97,_0x21774c);}},_0x155f8c=_0x13a369['map'](_0xead9d6=>{return{'msgId':_0xead9d6,'senderShowName':selfInfo['nick']};});return new Promise((_0xc34ef2,_0x354c2c)=>{const _0x4e22d1=_0x3d886e,_0x416a16={'xMMBp':function(_0x5589bc,_0x5ea3d1){const _0x459f25=_0x1499;return _0x28de32[_0x459f25(0xb3)](_0x5589bc,_0x5ea3d1);},'ODfug':_0x4e22d1(0xbc),'DeBSv':function(_0x40a98f,_0x7e14ba){const _0x4324ad=_0x4e22d1;return _0x28de32[_0x4324ad(0x9c)](_0x40a98f,_0x7e14ba);},'JhgVo':function(_0x119fcc,_0x5a3c67){const _0x56b1e2=_0x4e22d1;return _0x28de32[_0x56b1e2(0x8e)](_0x119fcc,_0x5a3c67);},'OyqkL':_0x28de32['tvAXL']};let _0x2b0077=![];const _0x469433=_0x54b856=>{const _0x351dd5=_0x4e22d1,_0xbc5ea9=_0x54b856[_0x351dd5(0x94)][_0x351dd5(0x75)](_0x16edf7=>_0x16edf7[_0x351dd5(0x76)]);if(!_0xbc5ea9)return;const _0xf19bfd=JSON[_0x351dd5(0x8c)](_0xbc5ea9[_0x351dd5(0x76)][_0x351dd5(0xa5)]);if(_0x416a16[_0x351dd5(0x88)](_0xf19bfd[_0x351dd5(0x7e)],_0x416a16[_0x351dd5(0xa1)]))return;_0x416a16[_0x351dd5(0x90)](_0x54b856[_0x351dd5(0xab)],_0x5f0967[_0x351dd5(0xab)])&&_0x54b856[_0x351dd5(0x7b)]==selfInfo[_0x351dd5(0x7a)]&&(_0x2b0077=!![],_0x416a16['JhgVo'](_0xc34ef2,_0x54b856));};sentMsgTasks['set'](_0x28de32['zFraW'](randomUUID),_0x469433),_0x28de32[_0x4e22d1(0x9d)](setTimeout,()=>{const _0x28298e=_0x4e22d1;!_0x2b0077&&_0x354c2c(_0x416a16[_0x28298e(0x83)]);},0x1388),napCatCore[_0x4e22d1(0xae)]['getMsgService']()[_0x4e22d1(0xa9)](_0x155f8c,_0x46e862,_0x5f0967,[],new Map());});}}function _0x35e3(){const _0x4f2c01=['bytesData','5128hkLZsL','nkIJu','forwardMsg','multiForwardMsgWithComment','转发消息超时','peerUid','set','kwXpn','session','hQtHh','onMsgInfoListUpdate','getMsgsBySeqAndCount','33QGrXyQ','GmsJQ','onAddSendMsg','rlgts','186920kItjKr','1006715wiTQwi','getMsgService','sendStatus','632GHygiM','catch','com.tencent.multimsg','getMultiMsg','find','arkElement','911813oXhHMz','getMsgHistory','then','uid','senderUid','fXmAG','delete','app','activateChatAndGetHistory','mjhgs','6CbVzqS','27VUBhWU','OyqkL','896990knjAnX','multiForwardMsg','onLoginSuccess','1477692tBTMYU','xMMBp','DqigP','IvsCv','4797YzjsAl','parse','setMsgEmojiLikes','NpFJe','56cvQGXi','DeBSv','NRaIU','msgId','forEach','elements','SBpnX','addListener','发送超时','onGroupFileInfoUpdate','获取群文件列表超时','sendMsg','getGroupFileList','hAzfZ','WATzv','length','activateChat','getMsgsByMsgId','ODfug','toString','recallMsg','chatType'];_0x35e3=function(){return _0x4f2c01;};return _0x35e3();} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index bbb5fc49..9992c4a7 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0x1cdc(){const _0x52229f=[';\x20skey=','genBkn','WNsrP','306FNUjyz','preview','signed_ark','\x5c/\x5c/','sourcelogo','4195qRUdIj','miniapp','title','uin','aWjNX','tagIcon','replace','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','&ark=','51tnItBa','stringify','jumpUrl','GET','21690uqUhhx','yKRsG','195oyiJTX','AaAVw','skey','normal','tag','22224XRNelA','173916uuvDFJ','source','tianxuan.imgJumpArk','20fyQjiM','p_skey=','2012346iZcXuj','p_skey','MiniApp\x20JSON\x20消息生成失败','42IhwlPM','data','157264BCSwTW','getQzoneCookies',';\x20p_uin=o','2773727oWKvpG','gljct','com.tencent.miniapp.lua','HttpGetJson','prompt','VEBFq','fcQLU','WccSO','38UHMRLY'];_0x1cdc=function(){return _0x52229f;};return _0x1cdc();}(function(_0x9cb42e,_0x1d6622){const _0x5868f1=_0x18e2,_0x1d3ea2=_0x9cb42e();while(!![]){try{const _0x213a11=parseInt(_0x5868f1(0x82))/0x1*(-parseInt(_0x5868f1(0x9f))/0x2)+parseInt(_0x5868f1(0x7e))/0x3*(parseInt(_0x5868f1(0x89))/0x4)+-parseInt(_0x5868f1(0x75))/0x5*(parseInt(_0x5868f1(0x70))/0x6)+-parseInt(_0x5868f1(0x92))/0x7*(-parseInt(_0x5868f1(0x94))/0x8)+parseInt(_0x5868f1(0x8f))/0x9+-parseInt(_0x5868f1(0x8d))/0xa*(-parseInt(_0x5868f1(0x97))/0xb)+parseInt(_0x5868f1(0x8a))/0xc*(-parseInt(_0x5868f1(0x84))/0xd);if(_0x213a11===_0x1d6622)break;else _0x1d3ea2['push'](_0x1d3ea2['shift']());}catch(_0x13da4e){_0x1d3ea2['push'](_0x1d3ea2['shift']());}}}(_0x1cdc,0x416ee));import{logDebug}from'@/common/utils/log';function _0x18e2(_0x227ff2,_0x15bf56){const _0x1cdc26=_0x1cdc();return _0x18e2=function(_0x18e234,_0x2c6981){_0x18e234=_0x18e234-0x6f;let _0x3ab75f=_0x1cdc26[_0x18e234];return _0x3ab75f;},_0x18e2(_0x227ff2,_0x15bf56);}import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x30846b){const _0x74356d=_0x18e2,_0x162349={'aWjNX':_0x74356d(0x99),'qjkHF':_0x74356d(0x8c),'YuczR':_0x74356d(0x76),'WccSO':_0x74356d(0x73),'yKRsG':function(_0x4c1f56,_0x22b76c){return _0x4c1f56+_0x22b76c;},'MsQyW':function(_0x7767d5,_0x2f9e11){return _0x7767d5+_0x2f9e11;},'IdOiF':_0x74356d(0x8e),'VEBFq':_0x74356d(0xa0),'MyRvd':_0x74356d(0x96),'AaAVw':function(_0x20266c,_0x486322){return _0x20266c+_0x486322;},'fcQLU':_0x74356d(0x7c),'gljct':_0x74356d(0x7d),'WNsrP':function(_0x51f71c,_0x45429d){return _0x51f71c(_0x45429d);},'MasKP':_0x74356d(0x81),'ZQJik':_0x74356d(0x91)};let _0x1c22ef={'app':_0x162349[_0x74356d(0x79)],'bizsrc':_0x162349['qjkHF'],'view':_0x162349['YuczR'],'prompt':_0x30846b[_0x74356d(0x9b)],'config':{'type':_0x74356d(0x87),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x30846b[_0x74356d(0x77)],'preview':_0x30846b[_0x74356d(0x71)]['replace'](/\\/g,_0x162349[_0x74356d(0x9e)]),'jumpUrl':_0x30846b[_0x74356d(0x80)][_0x74356d(0x7b)](/\\/g,_0x74356d(0x73)),'tag':_0x30846b[_0x74356d(0x88)],'tagIcon':_0x30846b[_0x74356d(0x7a)][_0x74356d(0x7b)](/\\/g,_0x162349[_0x74356d(0x9e)]),'source':_0x30846b[_0x74356d(0x8b)],'sourcelogo':_0x30846b[_0x74356d(0x74)][_0x74356d(0x7b)](/\\/g,_0x162349[_0x74356d(0x9e)])}}};const _0x1095c4=await NTQQUserApi['getSkey']();let _0x2c7887=await NTQQUserApi[_0x74356d(0x95)]();const _0x1ca673=WebApi[_0x74356d(0xa1)](_0x2c7887['p_skey']),_0x6ec545=_0x162349[_0x74356d(0x83)](_0x162349[_0x74356d(0x83)](_0x162349[_0x74356d(0x83)](_0x162349['yKRsG'](_0x162349['MsQyW'](_0x162349[_0x74356d(0x83)](_0x162349['IdOiF'],_0x2c7887[_0x74356d(0x90)]),_0x162349[_0x74356d(0x9c)])+_0x2c7887[_0x74356d(0x86)],_0x162349['MyRvd']),selfInfo[_0x74356d(0x78)]),';\x20uin=o'),selfInfo['uin']);let _0x432849=_0x162349[_0x74356d(0x85)](_0x162349[_0x74356d(0x9d)],_0x1ca673)+_0x162349[_0x74356d(0x98)]+_0x162349[_0x74356d(0x6f)](encodeURIComponent,JSON[_0x74356d(0x7f)](_0x1c22ef)),_0x5027ac='';try{let _0x2edab5=await RequestUtil[_0x74356d(0x9a)](_0x432849,_0x162349['MasKP'],undefined,{'Cookie':_0x6ec545});_0x5027ac=_0x2edab5[_0x74356d(0x93)][_0x74356d(0x72)];}catch(_0x642965){logDebug(_0x162349['ZQJik'],_0x642965);}return _0x5027ac;} \ No newline at end of file +(function(_0x36f654,_0x316ce8){const _0x226104=_0x338b,_0x1c16b6=_0x36f654();while(!![]){try{const _0x33bc61=-parseInt(_0x226104(0xa0))/0x1*(-parseInt(_0x226104(0xa9))/0x2)+parseInt(_0x226104(0xbd))/0x3+-parseInt(_0x226104(0xa8))/0x4+parseInt(_0x226104(0xbf))/0x5*(parseInt(_0x226104(0xc6))/0x6)+-parseInt(_0x226104(0xb5))/0x7+-parseInt(_0x226104(0xaa))/0x8*(parseInt(_0x226104(0xcd))/0x9)+parseInt(_0x226104(0xc3))/0xa*(-parseInt(_0x226104(0xc9))/0xb);if(_0x33bc61===_0x316ce8)break;else _0x1c16b6['push'](_0x1c16b6['shift']());}catch(_0x239354){_0x1c16b6['push'](_0x1c16b6['shift']());}}}(_0x1f23,0x4d0b8));function _0x1f23(){const _0x4817bf=['ulptk','iWIVu','getSkey','GET','uin','tag','prompt','srigu','jcJLZ','&ark=','1449623nGwEIU','\x5c/\x5c/','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','WiCVp','tianxuan.imgJumpArk','sourcelogo','dupbI','genBkn','1256283SbeyFn','stringify','566035FCmDur','LmTHB','title',';\x20skey=','10JtmQkd','HttpGetJson','getQzoneCookies','12PVCcSZ','ZylKl','p_skey=','1017313fipdfX','PqlFM',';\x20uin=o','signed_ark','63VSYBOh','miniapp','iPgsq','preview','replace','KJYtT','skey','226583UnFGVT','pauOO','MiniApp\x20JSON\x20消息生成失败','normal',';\x20p_uin=o','XygjY','BnFWl','p_skey','135564jrJTVY','2CgNcWO','254536YGVZYV'];_0x1f23=function(){return _0x4817bf;};return _0x1f23();}function _0x338b(_0x334156,_0x455eb0){const _0x1f233e=_0x1f23();return _0x338b=function(_0x338b25,_0x218dd0){_0x338b25=_0x338b25-0x9a;let _0x1f9d0e=_0x1f233e[_0x338b25];return _0x1f9d0e;},_0x338b(_0x334156,_0x455eb0);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x14a4a9){const _0x341b8c=_0x338b,_0x38a48e={'LmTHB':'com.tencent.miniapp.lua','atiWm':_0x341b8c(0xb9),'KJYtT':_0x341b8c(0x9a),'BnFWl':_0x341b8c(0xa3),'iPgsq':_0x341b8c(0xb6),'pauOO':function(_0x10c227,_0x25ef88){return _0x10c227+_0x25ef88;},'srigu':function(_0x25b918,_0x408300){return _0x25b918+_0x408300;},'WiCVp':_0x341b8c(0xc8),'tjCzj':_0x341b8c(0xc2),'iWIVu':_0x341b8c(0xa4),'ZylKl':_0x341b8c(0xcb),'Irhcd':function(_0x1da59d,_0x2389f9){return _0x1da59d+_0x2389f9;},'jcJLZ':_0x341b8c(0xb7),'dupbI':_0x341b8c(0xb4),'PqlFM':function(_0x2e7435,_0x271668){return _0x2e7435(_0x271668);},'joIwk':_0x341b8c(0xae),'XygjY':function(_0x32aeb5,_0xb7bf96,_0xb32c14){return _0x32aeb5(_0xb7bf96,_0xb32c14);},'ulptk':_0x341b8c(0xa2)};let _0x535ade={'app':_0x38a48e[_0x341b8c(0xc0)],'bizsrc':_0x38a48e['atiWm'],'view':_0x38a48e[_0x341b8c(0x9e)],'prompt':_0x14a4a9[_0x341b8c(0xb1)],'config':{'type':_0x38a48e[_0x341b8c(0xa6)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x14a4a9[_0x341b8c(0xc1)],'preview':_0x14a4a9[_0x341b8c(0x9c)]['replace'](/\\/g,'\x5c/\x5c/'),'jumpUrl':_0x14a4a9['jumpUrl'][_0x341b8c(0x9d)](/\\/g,_0x38a48e[_0x341b8c(0x9b)]),'tag':_0x14a4a9[_0x341b8c(0xb0)],'tagIcon':_0x14a4a9['tagIcon'][_0x341b8c(0x9d)](/\\/g,_0x38a48e[_0x341b8c(0x9b)]),'source':_0x14a4a9['source'],'sourcelogo':_0x14a4a9[_0x341b8c(0xba)]['replace'](/\\/g,_0x38a48e['iPgsq'])}}};const _0x5973c1=await NTQQUserApi[_0x341b8c(0xad)]();let _0x9abf97=await NTQQUserApi[_0x341b8c(0xc5)]();const _0x3c35ba=WebApi[_0x341b8c(0xbc)](_0x9abf97[_0x341b8c(0xa7)]),_0x16371a=_0x38a48e[_0x341b8c(0xa1)](_0x38a48e['srigu'](_0x38a48e['srigu'](_0x38a48e['pauOO'](_0x38a48e[_0x341b8c(0xb8)],_0x9abf97[_0x341b8c(0xa7)])+_0x38a48e['tjCzj'],_0x9abf97[_0x341b8c(0x9f)]),_0x38a48e[_0x341b8c(0xac)])+selfInfo['uin'],_0x38a48e[_0x341b8c(0xc7)])+selfInfo[_0x341b8c(0xaf)];let _0xb624d6=_0x38a48e['Irhcd'](_0x38a48e[_0x341b8c(0xb2)](_0x38a48e[_0x341b8c(0xb3)],_0x3c35ba),_0x38a48e[_0x341b8c(0xbb)])+_0x38a48e[_0x341b8c(0xca)](encodeURIComponent,JSON[_0x341b8c(0xbe)](_0x535ade)),_0x369b51='';try{let _0x1be445=await RequestUtil[_0x341b8c(0xc4)](_0xb624d6,_0x38a48e['joIwk'],undefined,{'Cookie':_0x16371a});_0x369b51=_0x1be445['data'][_0x341b8c(0xcc)];}catch(_0x5904fb){_0x38a48e[_0x341b8c(0xa5)](logDebug,_0x38a48e[_0x341b8c(0xab)],_0x5904fb);}return _0x369b51;} \ 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 3aa01779..4d246964 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x3dc00c=_0x4e9e;(function(_0x46fb3f,_0x2f04e2){var _0x2cf4a2=_0x4e9e,_0x5aac15=_0x46fb3f();while(!![]){try{var _0x46fd5b=parseInt(_0x2cf4a2(0x1b2))/0x1+-parseInt(_0x2cf4a2(0x1ad))/0x2*(-parseInt(_0x2cf4a2(0x1ba))/0x3)+parseInt(_0x2cf4a2(0x1ae))/0x4*(-parseInt(_0x2cf4a2(0x1bb))/0x5)+parseInt(_0x2cf4a2(0x1b4))/0x6*(parseInt(_0x2cf4a2(0x1af))/0x7)+-parseInt(_0x2cf4a2(0x1ac))/0x8*(parseInt(_0x2cf4a2(0x1bc))/0x9)+-parseInt(_0x2cf4a2(0x1b8))/0xa*(-parseInt(_0x2cf4a2(0x1b7))/0xb)+-parseInt(_0x2cf4a2(0x1b3))/0xc;if(_0x46fd5b===_0x2f04e2)break;else _0x5aac15['push'](_0x5aac15['shift']());}catch(_0x955f77){_0x5aac15['push'](_0x5aac15['shift']());}}}(_0x1f9a,0xb28da));import{napCatCore}from'@/core';function _0x1f9a(){var _0x47a198=['hasOtherRunningQQProcess','ORCImage','4206213FkCUVC','30ZKSLmf','getNodeMiscService','3WXhsli','24515NJgMSU','39852OyufwS','util','560FjGvKF','2142714VPFzRs','616SNoHcU','24626KRooHD','session','wantWinScreenOCR','899562TokBzb','24599016FXjJJy','1242RlefLV'];_0x1f9a=function(){return _0x47a198;};return _0x1f9a();}function _0x4e9e(_0x37259c,_0x1cbff9){var _0x1f9a7c=_0x1f9a();return _0x4e9e=function(_0x4e9e97,_0x7bc1b0){_0x4e9e97=_0x4e9e97-0x1ab;var _0x5aad0d=_0x1f9a7c[_0x4e9e97];return _0x5aad0d;},_0x4e9e(_0x37259c,_0x1cbff9);}export class NTQQSystemApi{static async[_0x3dc00c(0x1b5)](){var _0x55cb72=_0x3dc00c;return napCatCore[_0x55cb72(0x1ab)]['hasOtherRunningQQProcess']();}static async[_0x3dc00c(0x1b6)](_0x4c71ab){var _0x1f31c6=_0x3dc00c;return napCatCore[_0x1f31c6(0x1b0)][_0x1f31c6(0x1b9)]()[_0x1f31c6(0x1b1)](_0x4c71ab);}static async['translateEnWordToZn'](_0x1b7b7e){return napCatCore['session']['getRichMediaService']()['translateEnWordToZn'](_0x1b7b7e);}} \ No newline at end of file +function _0x6a2a(){var _0x451965=['14789272DRSYvR','5464288TIBgwt','3721704QZiovE','16UbzrOC','translateEnWordToZn','7741128NGHRJS','56410LMZYLS','session','getRichMediaService','wantWinScreenOCR','1060255meshZz','4108671whFeFK'];_0x6a2a=function(){return _0x451965;};return _0x6a2a();}var _0x4cd039=_0x5bc6;function _0x5bc6(_0x5f4bae,_0x27a2cd){var _0x6a2a3c=_0x6a2a();return _0x5bc6=function(_0x5bc63e,_0x3d092f){_0x5bc63e=_0x5bc63e-0x168;var _0x41f526=_0x6a2a3c[_0x5bc63e];return _0x41f526;},_0x5bc6(_0x5f4bae,_0x27a2cd);}(function(_0x300289,_0x57b0be){var _0x3f6d61=_0x5bc6,_0x4487b0=_0x300289();while(!![]){try{var _0x28f1c5=-parseInt(_0x3f6d61(0x16a))/0x1*(parseInt(_0x3f6d61(0x173))/0x2)+-parseInt(_0x3f6d61(0x16f))/0x3+-parseInt(_0x3f6d61(0x171))/0x4+parseInt(_0x3f6d61(0x16e))/0x5+parseInt(_0x3f6d61(0x169))/0x6+parseInt(_0x3f6d61(0x172))/0x7+parseInt(_0x3f6d61(0x170))/0x8;if(_0x28f1c5===_0x57b0be)break;else _0x4487b0['push'](_0x4487b0['shift']());}catch(_0x441764){_0x4487b0['push'](_0x4487b0['shift']());}}}(_0x6a2a,0xa9d6d));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){return napCatCore['util']['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x4861a6){var _0x5ccc7a=_0x5bc6;return napCatCore[_0x5ccc7a(0x16b)]['getNodeMiscService']()[_0x5ccc7a(0x16d)](_0x4861a6);}static async[_0x4cd039(0x168)](_0x3d3f00){var _0x502950=_0x4cd039;return napCatCore['session'][_0x502950(0x16c)]()[_0x502950(0x168)](_0x3d3f00);}} \ 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 36a390f5..afbd0a09 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x4226c4=_0x5c83;function _0x5c83(_0x5e8604,_0x45cf49){const _0x58a8f2=_0x58a8();return _0x5c83=function(_0x5c8349,_0x544f69){_0x5c8349=_0x5c8349-0x17b;let _0x5d8053=_0x58a8f2[_0x5c8349];return _0x5d8053;},_0x5c83(_0x5e8604,_0x45cf49);}(function(_0x26fe23,_0x45aa5d){const _0x47daf3=_0x5c83,_0x4b5d33=_0x26fe23();while(!![]){try{const _0x97e6d7=-parseInt(_0x47daf3(0x190))/0x1*(-parseInt(_0x47daf3(0x1a2))/0x2)+parseInt(_0x47daf3(0x1b1))/0x3*(-parseInt(_0x47daf3(0x1b7))/0x4)+parseInt(_0x47daf3(0x19a))/0x5+parseInt(_0x47daf3(0x194))/0x6+-parseInt(_0x47daf3(0x1ad))/0x7+parseInt(_0x47daf3(0x19d))/0x8*(-parseInt(_0x47daf3(0x1cc))/0x9)+parseInt(_0x47daf3(0x1c2))/0xa*(-parseInt(_0x47daf3(0x1b9))/0xb);if(_0x97e6d7===_0x45aa5d)break;else _0x4b5d33['push'](_0x4b5d33['shift']());}catch(_0x345aef){_0x4b5d33['push'](_0x4b5d33['shift']());}}}(_0x58a8,0xd0909));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';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[_0x4226c4(0x1c5)]=_0x5ddf97=>{const _0x45ed28=_0x4226c4;userInfoCache[_0x5ddf97[_0x45ed28(0x1af)]]=_0x5ddf97,userDetailHandlers['forEach'](_0x2be059=>_0x2be059(_0x5ddf97));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x9a1a2=_0x5c83;napCatCore[_0x9a1a2(0x1be)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x4226c4(0x17e)](_0x4ab9c9,_0xb5cb7d,_0x38c5a9){const _0x124fbb=_0x4226c4;return napCatCore[_0x124fbb(0x1aa)][_0x124fbb(0x185)]()[_0x124fbb(0x1a9)]({'status':_0x4ab9c9,'extStatus':_0xb5cb7d,'batteryStatus':_0x38c5a9});}static async[_0x4226c4(0x1a3)](_0x4d57a2,_0x39935a=0x1){const _0x16c467=_0x4226c4;return napCatCore[_0x16c467(0x1aa)]['getProfileLikeService']()[_0x16c467(0x182)]({'friendUid':_0x4d57a2,'sourceId':0x47,'doLikeCount':_0x39935a,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x523362){const _0x3f1a16=_0x4226c4,_0x15fb9a=napCatCore[_0x3f1a16(0x1aa)][_0x3f1a16(0x1c4)]()[_0x3f1a16(0x1a4)](_0x523362);return{'result':_0x15fb9a?.[_0x3f1a16(0x1c3)],'errMsg':_0x15fb9a?.[_0x3f1a16(0x1b2)]};}static async[_0x4226c4(0x1b4)](){}static async['getUserInfo'](_0x1801cc){}static async[_0x4226c4(0x1cd)](_0x1cbf13){const _0x527a9e={'OLmBL':function(_0x589654,_0x332eaf){return _0x589654===_0x332eaf;},'gOyVr':function(_0x164a42,_0x3238fb){return _0x164a42(_0x3238fb);}},_0x2d594e=napCatCore['session']['getProfileService']();return new Promise((_0x1cd074,_0x33e576)=>{const _0x5d3233=_0x5c83,_0x1d93e5={'PAqzO':function(_0x342737,_0x4ad37a){return _0x342737(_0x4ad37a);},'FBwWW':'getUserDetailInfo\x20timeout'},_0xf2e40f=randomUUID();let _0x4c5c4a=![],_0x357a51=undefined,_0xc00e78=!![];setTimeout(()=>{const _0x530299=_0x5c83;!_0x4c5c4a&&(_0x357a51?_0x1d93e5[_0x530299(0x1bd)](_0x1cd074,_0x357a51):_0x33e576(_0x1d93e5[_0x530299(0x1c7)])),userDetailHandlers['delete'](_0xf2e40f);},0x1388),userDetailHandlers['set'](_0xf2e40f,_0x1f92c0=>{const _0x1a6bb3=_0x5c83;_0x527a9e[_0x1a6bb3(0x1bb)](_0x1f92c0[_0x1a6bb3(0x1af)],_0x1cbf13)&&(uid2UinMap[_0x1cbf13]=_0x1f92c0[_0x1a6bb3(0x1c1)],_0xc00e78?(_0x357a51=_0x1f92c0,_0xc00e78=![]):(_0x4c5c4a=!![],_0x527a9e[_0x1a6bb3(0x197)](_0x1cd074,_0x1f92c0)));}),_0x2d594e['getUserDetailInfoWithBizInfo'](_0x1cbf13,[0x0])[_0x5d3233(0x191)](_0xb499d7=>{});});}static async[_0x4226c4(0x1b8)](_0x299f6b,_0x28ea55=!![]){const _0x4da8ec=_0x4226c4,_0x5f2055={'SUhiU':function(_0x1deef4,_0x1beea3){return _0x1deef4||_0x1beea3;},'ypBVM':function(_0xfbe2c3,_0x865407){return _0xfbe2c3>_0x865407;},'qylvr':function(_0x3c6e50,_0x2475d4){return _0x3c6e50-_0x2475d4;},'hHnnf':function(_0x49e034,_0x5d7d71){return _0x49e034===_0x5d7d71;}},_0xe624cf=[],_0x4840b0={};for(const _0x26efae in _0x299f6b){const _0x56b900=Credentials[_0x4da8ec(0x1a7)][_0x4da8ec(0x193)](_0x299f6b[_0x26efae]),_0x37a8d3=Credentials[_0x4da8ec(0x19f)]['get'](_0x299f6b[_0x26efae]);_0x5f2055[_0x4da8ec(0x1ab)](!_0x56b900,!_0x37a8d3)||_0x5f2055[_0x4da8ec(0x19e)](_0x5f2055[_0x4da8ec(0x18e)](Date[_0x4da8ec(0x1b3)](),_0x37a8d3),0x708*0x3e8)||!_0x28ea55?_0xe624cf[_0x4da8ec(0x181)](_0x299f6b[_0x26efae]):_0x4840b0[_0x299f6b[_0x26efae]]=_0x56b900;}let _0x5799a9={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0xe624cf[_0x4da8ec(0x192)]>0x0&&(_0x5799a9=await napCatCore[_0x4da8ec(0x1aa)][_0x4da8ec(0x1ce)]()[_0x4da8ec(0x1ae)](_0xe624cf,!![]));const _0x2fe0e7=_0x5799a9[_0x4da8ec(0x1a0)];for(const _0x237a36 of _0x2fe0e7[_0x4da8ec(0x17f)]()){Credentials[_0x4da8ec(0x1a7)][_0x4da8ec(0x18d)](_0x237a36[0x0],_0x237a36[0x1]),Credentials[_0x4da8ec(0x19f)][_0x4da8ec(0x18d)](_0x237a36[0x0],Date['now']());}const _0x52228a=Object[_0x4da8ec(0x199)](Object[_0x4da8ec(0x17d)](_0x2fe0e7),_0x4840b0);if(_0x5f2055[_0x4da8ec(0x1ac)](_0x5799a9[_0x4da8ec(0x1c3)],0x0))return _0x52228a;else logError(_0x4da8ec(0x18a),_0x5799a9[_0x4da8ec(0x1b2)]);return{};}static async[_0x4226c4(0x184)](){const _0x148c6d=_0x4226c4,_0x2e4cb4=await napCatCore[_0x148c6d(0x1aa)][_0x148c6d(0x195)]()[_0x148c6d(0x184)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2e4cb4?.[_0x148c6d(0x196)]?.[_0x148c6d(0x1c8)];}static async[_0x4226c4(0x17b)](){const _0x6433df=_0x4226c4,_0x13a916={'rtmET':function(_0x998fcb,_0x468fe2){return _0x998fcb+_0x468fe2;},'tLxYm':function(_0x3d8eaa,_0x35179c){return _0x3d8eaa+_0x35179c;},'lxSeQ':function(_0x136836,_0x124c52){return _0x136836+_0x124c52;},'tbkBb':'&clientkey=','OowZU':_0x6433df(0x1a8),'mICWV':_0x6433df(0x17c)},_0x24a6be=_0x13a916[_0x6433df(0x188)](_0x13a916['tLxYm'](_0x13a916[_0x6433df(0x188)](_0x13a916[_0x6433df(0x1a6)](_0x13a916[_0x6433df(0x1a6)]('https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=',selfInfo[_0x6433df(0x1c1)]),_0x13a916[_0x6433df(0x189)]),Credentials['ClientKey'])+_0x13a916[_0x6433df(0x1cb)],selfInfo[_0x6433df(0x1c1)]),_0x13a916['mICWV']);let _0xf891a5={};try{_0xf891a5=await RequestUtil[_0x6433df(0x180)](_0x24a6be);}catch(_0x451ffe){logDebug('请求获取Cookies时失败',_0x451ffe),_0xf891a5={};}return _0xf891a5;}static async[_0x4226c4(0x18f)](_0x44de23=!![]){const _0x440a95=_0x4226c4,_0x907c2a={'fWxAs':function(_0x4e49ec,_0x54eb3b){return _0x4e49ec==_0x54eb3b;},'rhsyp':function(_0x2c0b27,_0x5a23df){return _0x2c0b27>_0x5a23df;},'OpCbj':function(_0x6ef959,_0x45ac09){return _0x6ef959-_0x45ac09;},'hDlJK':function(_0x2e25d3,_0x2ae4a8){return _0x2e25d3*_0x2ae4a8;},'RkMvk':function(_0x1e94b7,_0x5bc0f0){return _0x1e94b7!==_0x5bc0f0;},'Ijmez':function(_0x4527d2,_0x432a7f){return _0x4527d2+_0x432a7f;},'WkOpw':function(_0x5128d7,_0x11c5e8){return _0x5128d7+_0x11c5e8;},'SKaFZ':function(_0x3d140c,_0x281cf4){return _0x3d140c+_0x281cf4;},'GVkXo':function(_0xaef0b1,_0x535db7){return _0xaef0b1+_0x535db7;},'OVCic':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','Oxsoc':_0x440a95(0x187),'HVRMb':function(_0x4faae5,_0x4a3cf7,_0x1b638a){return _0x4faae5(_0x4a3cf7,_0x1b638a);},'NXGxu':_0x440a95(0x1a5)};try{if(_0x907c2a['fWxAs'](Credentials[_0x440a95(0x1cf)],0x0)||_0x907c2a[_0x440a95(0x1c6)](_0x907c2a[_0x440a95(0x1ba)](Date[_0x440a95(0x1b3)](),Credentials[_0x440a95(0x1cf)]),_0x907c2a['hDlJK'](0x3e8,0xe10))||!_0x44de23){const _0x3a535f=await napCatCore['session']['getTicketService']()[_0x440a95(0x1bf)]('');if(_0x907c2a[_0x440a95(0x186)](_0x3a535f[_0x440a95(0x1c3)],0x0))return'';const _0x3dcd2e=_0x3a535f[_0x440a95(0x183)],_0x5ab31a=_0x3a535f[_0x440a95(0x1bc)],_0x5abe28=_0x907c2a[_0x440a95(0x1c9)](_0x907c2a['WkOpw'](_0x907c2a[_0x440a95(0x1b5)](_0x907c2a[_0x440a95(0x18b)](_0x907c2a['Ijmez'](_0x907c2a[_0x440a95(0x198)],selfInfo['uin']),_0x440a95(0x1b6)),_0x3dcd2e),_0x907c2a[_0x440a95(0x18c)]),_0x5ab31a);let _0x311bf2={};try{_0x311bf2=await RequestUtil[_0x440a95(0x180)](_0x5abe28);}catch(_0x41d1ae){_0x907c2a[_0x440a95(0x1c0)](logDebug,_0x907c2a[_0x440a95(0x1ca)],_0x41d1ae),_0x311bf2={};}const _0x4c0ad3=_0x311bf2[_0x440a95(0x1b0)];if(!_0x4c0ad3)return'';return Credentials[_0x440a95(0x1a1)]=_0x3dcd2e,Credentials[_0x440a95(0x19c)]=_0x5ab31a,Credentials[_0x440a95(0x1cf)]=Date[_0x440a95(0x1b3)](),Credentials[_0x440a95(0x19b)]=_0x4c0ad3,_0x4c0ad3;}return Credentials[_0x440a95(0x19b)];}catch(_0xf66de6){}return undefined;}}function _0x58a8(){const _0x324606=['hHnnf','1410381isqDSN','getPskey','uid','skey','12VEhLNu','errMsg','now','getSelfInfo','SKaFZ','&clientkey=','496260Qzdsnb','getPSkey','15964179dPYymI','OpCbj','OLmBL','keyIndex','PAqzO','addListener','forceFetchClientKey','HVRMb','uin','10TGxPco','result','getProfileService','onProfileDetailInfoChanged','rhsyp','FBwWW','robotUinRanges','Ijmez','NXGxu','OowZU','162lsbJfL','getUserDetailInfo','getTipOffService','CreatTime','getQzoneCookies','%2Finfocenter&keyindex=19%27','fromEntries','setSelfOnlineStatus','entries','HttpsGetCookies','push','setBuddyProfileLike','clientKey','getRobotUinRange','getMsgService','RkMvk','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','rtmET','tbkBb','获取Pskey失败','GVkXo','Oxsoc','set','qylvr','getSkey','414893aBwRrd','then','length','get','8446866BgILCD','getRobotService','response','gOyVr','OVCic','assign','7407755udaDSO','Skey','KeyIndex','133752cBuOEO','ypBVM','PskeyTime','domainPskeyMap','ClientKey','2Gkweoi','like','setHeader','请求获取Skey时失败','lxSeQ','PskeyData','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','setStatus','session','SUhiU'];_0x58a8=function(){return _0x324606;};return _0x58a8();} \ No newline at end of file +const _0x520b86=_0x203a;(function(_0x18b2ab,_0xcfa1bd){const _0x365cde=_0x203a,_0x5debd3=_0x18b2ab();while(!![]){try{const _0x2b020d=parseInt(_0x365cde(0x1bf))/0x1+parseInt(_0x365cde(0x1b8))/0x2+parseInt(_0x365cde(0x1b6))/0x3*(parseInt(_0x365cde(0x1d7))/0x4)+parseInt(_0x365cde(0x1dc))/0x5*(-parseInt(_0x365cde(0x1e9))/0x6)+parseInt(_0x365cde(0x1d2))/0x7+-parseInt(_0x365cde(0x1d8))/0x8+parseInt(_0x365cde(0x1c7))/0x9;if(_0x2b020d===_0xcfa1bd)break;else _0x5debd3['push'](_0x5debd3['shift']());}catch(_0x1a48ce){_0x5debd3['push'](_0x5debd3['shift']());}}}(_0x2d31,0x293de));function _0x203a(_0x33ebd9,_0x127604){const _0x2d31a8=_0x2d31();return _0x203a=function(_0x203ab1,_0x3febe9){_0x203ab1=_0x203ab1-0x1a3;let _0x589fda=_0x2d31a8[_0x203ab1];return _0x589fda;},_0x203a(_0x33ebd9,_0x127604);}import{Credentials,selfInfo,uid2UinMap}from'@/core/data';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[_0x520b86(0x1ca)]=_0x24d8d8=>{const _0x48d7b6=_0x520b86;userInfoCache[_0x24d8d8[_0x48d7b6(0x1c3)]]=_0x24d8d8,userDetailHandlers['forEach'](_0x2a012b=>_0x2a012b(_0x24d8d8));},setTimeout(()=>{const _0x33cfef=_0x520b86;napCatCore[_0x33cfef(0x1be)](()=>{const _0x1d72e9=_0x33cfef;napCatCore[_0x1d72e9(0x1a9)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x520b86(0x1d9)](_0x51e6c4,_0x417228,_0x39b727){const _0x2fac39=_0x520b86;return napCatCore['session'][_0x2fac39(0x1a4)]()['setStatus']({'status':_0x51e6c4,'extStatus':_0x417228,'batteryStatus':_0x39b727});}static async[_0x520b86(0x1dd)](_0x3eb0be,_0x2f39fd=0x1){const _0x2d3a20=_0x520b86;return napCatCore[_0x2d3a20(0x1de)]['getProfileLikeService']()[_0x2d3a20(0x1cf)]({'friendUid':_0x3eb0be,'sourceId':0x47,'doLikeCount':_0x2f39fd,'doLikeTollCount':0x0});}static async[_0x520b86(0x1a6)](_0x48db10){const _0x20849f=_0x520b86,_0x73c8d9=napCatCore['session'][_0x20849f(0x1ef)]()[_0x20849f(0x1e2)](_0x48db10);return{'result':_0x73c8d9?.[_0x20849f(0x1b0)],'errMsg':_0x73c8d9?.[_0x20849f(0x1e4)]};}static async[_0x520b86(0x1c0)](){}static async[_0x520b86(0x1cb)](_0x21ff60){}static async[_0x520b86(0x1c6)](_0x2f1cf7){const _0x1fb13a=_0x520b86,_0xfb4e06={'YVnjb':function(_0x11669c,_0x283675){return _0x11669c(_0x283675);},'TdVvg':function(_0x8fc488){return _0x8fc488();},'UryEE':function(_0x2ba739,_0x208e45,_0x489efc){return _0x2ba739(_0x208e45,_0x489efc);}},_0x3b914c=napCatCore[_0x1fb13a(0x1de)][_0x1fb13a(0x1ef)]();return new Promise((_0x4e94d3,_0x55ab16)=>{const _0x2569b6=_0x1fb13a,_0x232d57={'gOYTO':function(_0x2a5971,_0x146334){const _0x57cbf8=_0x203a;return _0xfb4e06[_0x57cbf8(0x1f0)](_0x2a5971,_0x146334);},'BIUZz':_0x2569b6(0x1ad)},_0x300b83=_0xfb4e06[_0x2569b6(0x1b9)](randomUUID);let _0x34c07a=![],_0x35a859=undefined,_0x560a6=!![];_0xfb4e06[_0x2569b6(0x1b2)](setTimeout,()=>{const _0xbf12d0=_0x2569b6;!_0x34c07a&&(_0x35a859?_0x232d57['gOYTO'](_0x4e94d3,_0x35a859):_0x55ab16(_0x232d57[_0xbf12d0(0x1cc)])),userDetailHandlers[_0xbf12d0(0x1f1)](_0x300b83);},0x1388),userDetailHandlers['set'](_0x300b83,_0x33ff7f=>{const _0x8e57db=_0x2569b6;_0x33ff7f[_0x8e57db(0x1c3)]===_0x2f1cf7&&(uid2UinMap[_0x2f1cf7]=_0x33ff7f['uin'],_0x560a6?(_0x35a859=_0x33ff7f,_0x560a6=![]):(_0x34c07a=!![],_0xfb4e06['YVnjb'](_0x4e94d3,_0x33ff7f)));}),_0x3b914c[_0x2569b6(0x1ba)](_0x2f1cf7,[0x0])[_0x2569b6(0x1df)](_0x46044f=>{});});}static async['getPSkey'](_0x1bcf61,_0x1c05e7=!![]){const _0x36acaf=_0x520b86,_0x2497ad={'kGJqo':function(_0x24d81d,_0x4c64c9){return _0x24d81d||_0x4c64c9;},'OJkaT':function(_0x4398a8,_0x28b7ca){return _0x4398a8>_0x28b7ca;},'Ujvvl':function(_0x2e8b61,_0x5e1598){return _0x2e8b61-_0x5e1598;},'jyYCq':function(_0x435429,_0x82951){return _0x435429*_0x82951;},'BXcHa':function(_0x202b28,_0x44efb6){return _0x202b28>_0x44efb6;},'uJvEM':function(_0x323a3b,_0x43e9bd,_0x362610){return _0x323a3b(_0x43e9bd,_0x362610);}},_0x5d04aa=[],_0x53525a={};for(const _0x24f657 in _0x1bcf61){const _0x4f0cb1=Credentials[_0x36acaf(0x1e7)]['get'](_0x1bcf61[_0x24f657]),_0x52ff46=Credentials[_0x36acaf(0x1a7)][_0x36acaf(0x1bb)](_0x1bcf61[_0x24f657]);_0x2497ad[_0x36acaf(0x1a3)](!_0x4f0cb1,!_0x52ff46)||_0x2497ad['OJkaT'](_0x2497ad[_0x36acaf(0x1e5)](Date['now'](),_0x52ff46),_0x2497ad[_0x36acaf(0x1c1)](0x708,0x3e8))||!_0x1c05e7?_0x5d04aa[_0x36acaf(0x1b3)](_0x1bcf61[_0x24f657]):_0x53525a[_0x1bcf61[_0x24f657]]=_0x4f0cb1;}let _0x335c80={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x2497ad[_0x36acaf(0x1aa)](_0x5d04aa[_0x36acaf(0x1a5)],0x0)&&(_0x335c80=await napCatCore['session'][_0x36acaf(0x1c8)]()['getPskey'](_0x5d04aa,!![]));const _0x1da7a6=_0x335c80[_0x36acaf(0x1cd)];for(const _0x1ebbc0 of _0x1da7a6[_0x36acaf(0x1ae)]()){Credentials[_0x36acaf(0x1e7)][_0x36acaf(0x1e0)](_0x1ebbc0[0x0],_0x1ebbc0[0x1]),Credentials[_0x36acaf(0x1a7)][_0x36acaf(0x1e0)](_0x1ebbc0[0x0],Date['now']());}const _0x1939a1=Object[_0x36acaf(0x1e3)](Object[_0x36acaf(0x1e6)](_0x1da7a6),_0x53525a);if(_0x335c80[_0x36acaf(0x1b0)]===0x0)return _0x1939a1;else _0x2497ad[_0x36acaf(0x1c4)](logError,_0x36acaf(0x1ab),_0x335c80[_0x36acaf(0x1e4)]);return{};}static async[_0x520b86(0x1c9)](){const _0x5edf5d=_0x520b86,_0x2f6f68=await napCatCore[_0x5edf5d(0x1de)][_0x5edf5d(0x1b7)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2f6f68?.[_0x5edf5d(0x1c2)]?.[_0x5edf5d(0x1bd)];}static async[_0x520b86(0x1da)](){const _0x199e66=_0x520b86,_0x22ca24={'wbxFR':function(_0x2b5ed6,_0x134120){return _0x2b5ed6+_0x134120;},'cruiQ':_0x199e66(0x1d1),'THJuo':_0x199e66(0x1b4),'jJgfS':'请求获取Cookies时失败'},_0x4a007d=_0x22ca24[_0x199e66(0x1d3)](_0x22ca24[_0x199e66(0x1d3)](_0x199e66(0x1af)+selfInfo[_0x199e66(0x1db)],'&clientkey='),Credentials['ClientKey'])+_0x22ca24[_0x199e66(0x1d4)]+selfInfo[_0x199e66(0x1db)]+_0x22ca24[_0x199e66(0x1e8)];let _0x1cde33={};try{_0x1cde33=await RequestUtil['HttpsGetCookies'](_0x4a007d);}catch(_0x39ab41){logDebug(_0x22ca24[_0x199e66(0x1ec)],_0x39ab41),_0x1cde33={};}return _0x1cde33;}static async[_0x520b86(0x1ee)](_0x6771d2=!![]){const _0x9ba0d2=_0x520b86,_0xc9a955={'pRWND':function(_0x21759e,_0x9e5c24){return _0x21759e*_0x9e5c24;},'julWy':function(_0x2b1513,_0x220682){return _0x2b1513+_0x220682;},'ICoKs':function(_0x70dfe4,_0x44dcea){return _0x70dfe4+_0x44dcea;},'SycRg':_0x9ba0d2(0x1d0),'MJWHt':_0x9ba0d2(0x1ed),'zcqzh':function(_0x104449,_0x22a7e5,_0x2e3678){return _0x104449(_0x22a7e5,_0x2e3678);}};try{if(Credentials[_0x9ba0d2(0x1ac)]==0x0||Date[_0x9ba0d2(0x1c5)]()-Credentials[_0x9ba0d2(0x1ac)]>_0xc9a955['pRWND'](0x3e8,0xe10)||!_0x6771d2){const _0xd3b3a4=await napCatCore[_0x9ba0d2(0x1de)]['getTicketService']()[_0x9ba0d2(0x1ea)]('');if(_0xd3b3a4[_0x9ba0d2(0x1b0)]!==0x0)return'';const _0x25ea45=_0xd3b3a4[_0x9ba0d2(0x1b1)],_0x527924=_0xd3b3a4[_0x9ba0d2(0x1b5)],_0x532c83=_0xc9a955[_0x9ba0d2(0x1e1)](_0xc9a955[_0x9ba0d2(0x1eb)](_0x9ba0d2(0x1af),selfInfo['uin'])+_0xc9a955[_0x9ba0d2(0x1ce)],_0x25ea45)+_0xc9a955[_0x9ba0d2(0x1d5)]+_0x527924;let _0x30f314={};try{_0x30f314=await RequestUtil['HttpsGetCookies'](_0x532c83);}catch(_0xaa1fca){_0xc9a955['zcqzh'](logDebug,'请求获取Skey时失败',_0xaa1fca),_0x30f314={};}const _0x35ee37=_0x30f314[_0x9ba0d2(0x1d6)];if(!_0x35ee37)return'';return Credentials['ClientKey']=_0x25ea45,Credentials[_0x9ba0d2(0x1bc)]=_0x527924,Credentials[_0x9ba0d2(0x1ac)]=Date[_0x9ba0d2(0x1c5)](),Credentials['Skey']=_0x35ee37,_0x35ee37;}return Credentials[_0x9ba0d2(0x1a8)];}catch(_0x56a43f){}return undefined;}}function _0x2d31(){const _0x34d1d8=['onLoginSuccess','71650zhJEgW','getSelfInfo','jyYCq','response','uid','uJvEM','now','getUserDetailInfo','2479194HsrgPM','getTipOffService','getRobotUinRange','onProfileDetailInfoChanged','getUserInfo','BIUZz','domainPskeyMap','SycRg','setBuddyProfileLike','&clientkey=','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','507402lTjURP','wbxFR','cruiQ','MJWHt','skey','8ADZolx','2542272kkqfug','setSelfOnlineStatus','getQzoneCookies','uin','5Qtppex','like','session','then','set','julWy','setHeader','assign','errMsg','Ujvvl','fromEntries','PskeyData','THJuo','1334874CQqZGF','forceFetchClientKey','ICoKs','jJgfS','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getSkey','getProfileService','YVnjb','delete','kGJqo','getMsgService','length','setQQAvatar','PskeyTime','Skey','addListener','BXcHa','获取Pskey失败','CreatTime','getUserDetailInfo\x20timeout','entries','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','result','clientKey','UryEE','push','%2Finfocenter&keyindex=19%27','keyIndex','305124aIwrXf','getRobotService','172342efhOmb','TdVvg','getUserDetailInfoWithBizInfo','get','KeyIndex','robotUinRanges'];_0x2d31=function(){return _0x34d1d8;};return _0x2d31();} \ 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 1a033741..51937b60 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -function _0x8c59(_0x599291,_0x1d4e64){const _0x44fc3a=_0x44fc();return _0x8c59=function(_0x8c590d,_0xca9b00){_0x8c590d=_0x8c590d-0x17a;let _0x3f558d=_0x44fc3a[_0x8c590d];return _0x3f558d;},_0x8c59(_0x599291,_0x1d4e64);}const _0x4f7cc5=_0x8c59;(function(_0x2a3c33,_0x476e1b){const _0xa9bf4d=_0x8c59,_0x3e76a9=_0x2a3c33();while(!![]){try{const _0x5f2c54=parseInt(_0xa9bf4d(0x1b2))/0x1+-parseInt(_0xa9bf4d(0x1db))/0x2+parseInt(_0xa9bf4d(0x214))/0x3+parseInt(_0xa9bf4d(0x1b9))/0x4*(-parseInt(_0xa9bf4d(0x191))/0x5)+-parseInt(_0xa9bf4d(0x1de))/0x6*(-parseInt(_0xa9bf4d(0x1e4))/0x7)+parseInt(_0xa9bf4d(0x1cf))/0x8*(parseInt(_0xa9bf4d(0x1a1))/0x9)+-parseInt(_0xa9bf4d(0x1a5))/0xa;if(_0x5f2c54===_0x476e1b)break;else _0x3e76a9['push'](_0x3e76a9['shift']());}catch(_0xbb2bf2){_0x3e76a9['push'](_0x3e76a9['shift']());}}}(_0x44fc,0xece03));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x44fc(){const _0x302589=['10UQwQzE','kcrzh','set','qid=','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','getGroupHonorInfo','gllMy','talkativeList','klcRF','TALKACTIVE','push','hFmOG','获取群聊之火失败','yuqOz','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','&sort=1&gc=','12784023vfqjoj','all','kDQre','performer','27258650fVWgLs','PERFROMER','&bkn=','talkative_list','AQMkT','&page_limit=20','VoENZ','errcode','MYRhf','getGroupMembers','BNAwc','lfNvG','OIuoh','1842010EfDTdc','wIlzG','GroupData','ZwmDa','charCodeAt','avatar','naBGV','1422328rmMjnl','KVzDJ','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','performer_list','https://qun.qq.com/interactive/honorlist?gc=','HttpGetJson','ZyYfc','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','Wvdeg','ynfhd','jqSLa',';\x20p_uin=o','czkRm','lWGeh','xrair','qun.qq.com','emotion_list','3|5|1|0|4|2','获取群聊炽焰失败','GET','split','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','8EcKPbb','current_talkative','&qid=','getGroupEssenceMsg','pTriJ','ceil','PgeSK','setGroupNotice','genBkn','IBRsB','dzjEb','nhGVA','74482kTWqfk','strong_newbie',';\x20skey=','7734JyJfNM','CtPYc','jyNUC','parse','syQVR','jtFsy','4067Schxjf','EMOTION','AqdjZ','JLYQA','uKDHx','emODe','desc','获取快乐源泉失败','HFwWU','wqayY','RZrBB','trim','juBHh','MSxvU','toString','TaIpM','hIFBS','match','PtZIr','vUxQc','OxKkv','oExbo','WUOTg','legend','POST','GroupTime','teqJl','strong_newbie_list','borYn','fcHxb','STORONGE_NEWBI','zgLSm','wvzRQ',';\x20uin=o','ilbcx','ALL','YBJaN','fbmeK','VAyMA','description','RLBLE','&page_start=','AOXxq','&text=','JAQoQ','talkative','hJxkv','count','1299441qVRpbS','zHoYx','get','WauNo','now','vFYST','SRkYJ','legend_list','getGrouptNotice','jBgaW','getSkey','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','p_skey=','&type=','DYuFq','getPSkey','&group_code=','cdgEs','mems','uin','ZgADu','name','ZFxIR','TesmW','vBvGS'];_0x44fc=function(){return _0x302589;};return _0x44fc();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x22b0a2){const _0x51de01=_0x8c59,_0x2a22f3={'oMbNj':_0x51de01(0x1ca),'lfNvG':'LEGEND','rndoR':_0x51de01(0x1a6),'yuqOz':_0x51de01(0x1a4),'KVzDJ':_0x51de01(0x202),'ksNwG':_0x51de01(0x1dc),'nhGVA':_0x51de01(0x19a),'JAQoQ':_0x51de01(0x211)},_0x568fc9=_0x2a22f3['oMbNj'][_0x51de01(0x1cd)]('|');let _0x40b10e=0x0;while(!![]){switch(_0x568fc9[_0x40b10e++]){case'0':_0x22b0a2[_0x2a22f3[_0x51de01(0x1b0)]]=_0x51de01(0x1fb);continue;case'1':_0x22b0a2[_0x2a22f3['rndoR']]=_0x2a22f3[_0x51de01(0x19e)];continue;case'2':_0x22b0a2['EMOTION']='emotion';continue;case'3':_0x22b0a2['ALL']=_0x51de01(0x1a2);continue;case'4':_0x22b0a2[_0x2a22f3[_0x51de01(0x1ba)]]=_0x2a22f3['ksNwG'];continue;case'5':_0x22b0a2[_0x2a22f3[_0x51de01(0x1da)]]=_0x2a22f3[_0x51de01(0x210)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x4f7cc5(0x1d2)](_0xf5141d,_0x36d964){const _0x13e34b=_0x4f7cc5,_0x585ffd={'wqayY':_0x13e34b(0x1c8),'BNAwc':function(_0x5a0718,_0x1a2818){return _0x5a0718+_0x1a2818;},'MSxvU':function(_0x5ab74d,_0x5338d2){return _0x5ab74d+_0x5338d2;},'fbmeK':_0x13e34b(0x1dd),'BzZku':_0x13e34b(0x1c4),'TesmW':_0x13e34b(0x205),'RZrBB':function(_0x1e9338,_0xb5f7bf){return _0x1e9338+_0xb5f7bf;},'XkgUv':function(_0x1d517b,_0x6ed61d){return _0x1d517b+_0x6ed61d;},'NAmkj':function(_0x299fa7,_0x4e9967){return _0x299fa7+_0x4e9967;},'kcrzh':function(_0x4c5ea7,_0x51ba6f){return _0x4c5ea7+_0x51ba6f;},'wvzRQ':_0x13e34b(0x1bb),'zgLSm':_0x13e34b(0x188),'vUxQc':_0x13e34b(0x20d),'naBGV':_0x13e34b(0x1aa),'kDQre':'GET','ZgADu':function(_0x5286f8,_0x1596a3){return _0x5286f8!==_0x1596a3;}},_0x5034db=(await NTQQUserApi[_0x13e34b(0x187)]([_0x585ffd[_0x13e34b(0x1ed)]]))[_0x585ffd[_0x13e34b(0x1ed)]],_0x42c8e3=await NTQQUserApi[_0x13e34b(0x182)](),_0x41cafa=_0x585ffd[_0x13e34b(0x1af)](_0x585ffd[_0x13e34b(0x1af)](_0x585ffd[_0x13e34b(0x1af)](_0x585ffd[_0x13e34b(0x1af)](_0x585ffd[_0x13e34b(0x1f1)](_0x585ffd[_0x13e34b(0x1f1)](_0x13e34b(0x184),_0x5034db)+_0x585ffd[_0x13e34b(0x209)],_0x42c8e3),_0x585ffd['BzZku']),selfInfo[_0x13e34b(0x18b)]),_0x585ffd[_0x13e34b(0x18f)]),selfInfo[_0x13e34b(0x18b)]);if(!_0x42c8e3||!_0x5034db)return undefined;const _0x14dc76=WebApi[_0x13e34b(0x1d7)](_0x42c8e3),_0x29f3f3=_0x585ffd[_0x13e34b(0x1ee)](_0x585ffd['XkgUv'](_0x585ffd[_0x13e34b(0x1ee)](_0x585ffd['NAmkj'](_0x585ffd[_0x13e34b(0x192)](_0x585ffd[_0x13e34b(0x204)],_0x14dc76),_0x585ffd[_0x13e34b(0x203)]),_0xf5141d),_0x585ffd[_0x13e34b(0x1f7)]),_0x36d964)+_0x585ffd[_0x13e34b(0x1b8)];let _0x27c659;try{_0x27c659=await RequestUtil[_0x13e34b(0x1be)](_0x29f3f3,_0x585ffd[_0x13e34b(0x1a3)],'',{'Cookie':_0x41cafa});}catch{return undefined;}if(_0x585ffd[_0x13e34b(0x18c)](_0x27c659['retcode'],0x0))return undefined;return _0x27c659;}static async[_0x4f7cc5(0x1ae)](_0x3da941,_0x525778=!![]){const _0x4c8835=_0x4f7cc5,_0x11e27a={'gllMy':function(_0x6851c3,_0x434d0a){return _0x6851c3>_0x434d0a;},'RLBLE':function(_0x381818,_0x5c9c92){return _0x381818*_0x5c9c92;},'PgeSK':_0x4c8835(0x1c8),'PtZIr':function(_0xd2cf6b,_0x92c006){return _0xd2cf6b+_0x92c006;},'oExbo':function(_0x3afcc3,_0x39c36f){return _0x3afcc3+_0x39c36f;},'ilbcx':'p_skey=','jDIhz':_0x4c8835(0x1dd),'YISUP':_0x4c8835(0x1c4),'WUOTg':_0x4c8835(0x1fc),'OxKkv':function(_0x3ad30f,_0x530eb5){return _0x3ad30f!==_0x530eb5;},'bnphi':function(_0x9a33be,_0x20e540){return _0x9a33be+_0x20e540;},'JLYQA':function(_0x483d57,_0x5e2083){return _0x483d57+_0x5e2083;},'IBRsB':function(_0x57bba4,_0x2fe82b){return _0x57bba4+_0x2fe82b;},'DYuFq':_0x4c8835(0x19f),'jyNUC':function(_0x1ae0b6,_0x394b7b){return _0x1ae0b6*_0x394b7b;},'AqdjZ':function(_0x258981,_0x17b2ac){return _0x258981-_0x17b2ac;},'vFYST':'&end=','jUxIK':_0x4c8835(0x1a0),'VAyMA':'&bkn=','zHoYx':function(_0x53aed6,_0x3c5c07){return _0x53aed6<=_0x3c5c07;}};let _0x2b9c98=new Array();try{let _0x10dc96=WebGroupData[_0x4c8835(0x1b4)][_0x4c8835(0x17a)](_0x3da941),_0x1f44d8=WebGroupData['GroupTime'][_0x4c8835(0x17a)](_0x3da941);if(!_0x1f44d8||_0x11e27a[_0x4c8835(0x197)](Date['now']()-_0x1f44d8,_0x11e27a[_0x4c8835(0x20c)](0x708,0x3e8))||!_0x525778){const _0x35ed79=(await NTQQUserApi[_0x4c8835(0x187)]([_0x11e27a[_0x4c8835(0x1d5)]]))[_0x11e27a['PgeSK']],_0x3e6791=await NTQQUserApi[_0x4c8835(0x182)](),_0x589c22=_0x11e27a[_0x4c8835(0x1f6)](_0x11e27a[_0x4c8835(0x1f6)](_0x11e27a[_0x4c8835(0x1f9)](_0x11e27a[_0x4c8835(0x206)],_0x35ed79)+_0x11e27a['jDIhz'],_0x3e6791),_0x11e27a['YISUP'])+selfInfo['uin'];if(!_0x3e6791||!_0x35ed79)return _0x2b9c98;const _0x255e20=WebApi[_0x4c8835(0x1d7)](_0x3e6791),_0x80f86a=[],_0x40575a=await RequestUtil['HttpGetJson'](_0x11e27a[_0x4c8835(0x1f6)](_0x4c8835(0x1c0),_0x3da941)+_0x4c8835(0x1a7)+_0x255e20,_0x11e27a[_0x4c8835(0x1fa)],'',{'Cookie':_0x589c22});if(!_0x40575a?.[_0x4c8835(0x213)]||_0x11e27a[_0x4c8835(0x1f8)](_0x40575a?.[_0x4c8835(0x1ac)],0x0)||!_0x40575a?.[_0x4c8835(0x18a)])return[];else for(const _0x32a239 in _0x40575a['mems']){_0x2b9c98[_0x4c8835(0x19b)](_0x40575a[_0x4c8835(0x18a)][_0x32a239]);}const _0x4adfb6=Math[_0x4c8835(0x1d4)](_0x40575a[_0x4c8835(0x213)]/0x28);for(let _0x5a155a=0x2;_0x5a155a<=_0x4adfb6;_0x5a155a++){const _0x56b9fe=RequestUtil[_0x4c8835(0x1be)](_0x11e27a[_0x4c8835(0x1f9)](_0x11e27a['bnphi'](_0x11e27a['PtZIr'](_0x11e27a[_0x4c8835(0x1f9)](_0x11e27a[_0x4c8835(0x1e7)](_0x11e27a[_0x4c8835(0x1d8)](_0x11e27a[_0x4c8835(0x186)],_0x11e27a[_0x4c8835(0x1e0)](_0x11e27a[_0x4c8835(0x1e6)](_0x5a155a,0x1),0x28)),_0x11e27a[_0x4c8835(0x17d)]),_0x11e27a[_0x4c8835(0x20c)](_0x5a155a,0x28)),_0x11e27a['jUxIK']),_0x3da941),_0x11e27a[_0x4c8835(0x20a)])+_0x255e20,_0x11e27a[_0x4c8835(0x1fa)],'',{'Cookie':_0x589c22});_0x80f86a[_0x4c8835(0x19b)](_0x56b9fe);}for(let _0x431a89=0x1;_0x11e27a[_0x4c8835(0x215)](_0x431a89,_0x4adfb6);_0x431a89++){const _0x1197cd=await _0x80f86a[_0x431a89];if(!_0x1197cd?.['count']||_0x11e27a[_0x4c8835(0x1f8)](_0x1197cd?.[_0x4c8835(0x1ac)],0x0)||!_0x1197cd?.[_0x4c8835(0x18a)])continue;for(const _0x1f4e84 in _0x1197cd[_0x4c8835(0x18a)]){_0x2b9c98['push'](_0x1197cd[_0x4c8835(0x18a)][_0x1f4e84]);}}WebGroupData['GroupData']['set'](_0x3da941,_0x2b9c98),WebGroupData[_0x4c8835(0x1fd)][_0x4c8835(0x193)](_0x3da941,Date[_0x4c8835(0x17c)]());}else _0x2b9c98=_0x10dc96;}catch{return _0x2b9c98;}return _0x2b9c98;}static async[_0x4f7cc5(0x1d6)](_0x5cd667,_0x1c76f1=''){const _0x2e2be5=_0x4f7cc5,_0x3c0901={'ZyYfc':'qun.qq.com','QXwgh':function(_0x442e5a,_0x41d387){return _0x442e5a+_0x41d387;},'emODe':function(_0x49fb66,_0xc5dfc){return _0x49fb66+_0xc5dfc;},'Wvdeg':'p_skey=','vBvGS':_0x2e2be5(0x1dd),'jqSLa':function(_0x19de04,_0x5cf2e2){return _0x19de04+_0x5cf2e2;},'hJxkv':_0x2e2be5(0x194),'syQVR':_0x2e2be5(0x1a7),'czkRm':_0x2e2be5(0x20f),'teqJl':_0x2e2be5(0x183),'dzjEb':function(_0x4e762b,_0x394efa){return _0x4e762b+_0x394efa;},'pTriJ':'GET'},_0x2602fa=(await NTQQUserApi['getPSkey']([_0x3c0901[_0x2e2be5(0x1bf)]]))[_0x3c0901[_0x2e2be5(0x1bf)]],_0x160bb5=await NTQQUserApi[_0x2e2be5(0x182)](),_0xa948c1=_0x3c0901['QXwgh'](_0x3c0901['emODe'](_0x3c0901['emODe'](_0x3c0901['QXwgh'](_0x3c0901[_0x2e2be5(0x1c1)],_0x2602fa),_0x3c0901[_0x2e2be5(0x190)]),_0x160bb5)+_0x2e2be5(0x1c4),selfInfo[_0x2e2be5(0x18b)]);let _0x2c2209=undefined;if(!_0x160bb5||!_0x2602fa)return undefined;const _0x18e7f7=WebApi[_0x2e2be5(0x1d7)](_0x160bb5),_0x3caa13=_0x3c0901['QXwgh'](_0x3c0901[_0x2e2be5(0x1e9)](_0x3c0901[_0x2e2be5(0x1c3)](_0x3c0901['emODe'](_0x3c0901[_0x2e2be5(0x212)],_0x5cd667)+_0x3c0901[_0x2e2be5(0x1e2)],_0x18e7f7)+_0x3c0901[_0x2e2be5(0x1c5)],_0x1c76f1),_0x3c0901[_0x2e2be5(0x1fe)]),_0x2c13b2=_0x3c0901[_0x2e2be5(0x1d9)](_0x2e2be5(0x1ce),_0x18e7f7);try{return _0x2c2209=await RequestUtil[_0x2e2be5(0x1be)](_0x2c13b2,_0x3c0901[_0x2e2be5(0x1d3)],'',{'Cookie':_0xa948c1}),_0x2c2209;}catch(_0x27fcdd){return undefined;}return undefined;}static async[_0x4f7cc5(0x180)](_0x52abed){const _0x4590b2=_0x4f7cc5,_0x3bc2b8={'jtFsy':_0x4590b2(0x1c8),'YBJaN':function(_0x51f6e9,_0x57febf){return _0x51f6e9+_0x57febf;},'HFwWU':function(_0x4d3727,_0x5157ba){return _0x4d3727+_0x5157ba;},'xrair':function(_0x3e26ce,_0x43e806){return _0x3e26ce+_0x43e806;},'TaIpM':';\x20skey=','fcHxb':';\x20p_uin=o','LbPBY':function(_0x20a2c8,_0x59ebd0){return _0x20a2c8+_0x59ebd0;},'AQMkT':function(_0x1422c1,_0x23eafd){return _0x1422c1!==_0x23eafd;}},_0x1ab842=(await NTQQUserApi[_0x4590b2(0x187)]([_0x3bc2b8[_0x4590b2(0x1e3)]]))[_0x3bc2b8[_0x4590b2(0x1e3)]],_0x58c1d4=await NTQQUserApi['getSkey'](),_0x137017=_0x3bc2b8[_0x4590b2(0x208)](_0x3bc2b8['YBJaN'](_0x3bc2b8['HFwWU'](_0x3bc2b8['xrair'](_0x4590b2(0x184),_0x1ab842),_0x3bc2b8[_0x4590b2(0x1f3)]),_0x58c1d4),_0x3bc2b8[_0x4590b2(0x201)])+selfInfo['uin'];let _0x48eeff=undefined;if(!_0x58c1d4||!_0x1ab842)return undefined;const _0x5f40b3=WebApi[_0x4590b2(0x1d7)](_0x58c1d4),_0x22faf6=_0x3bc2b8[_0x4590b2(0x1ec)](_0x3bc2b8[_0x4590b2(0x1c7)](_0x3bc2b8['LbPBY'](_0x3bc2b8[_0x4590b2(0x1ec)](_0x4590b2(0x195),_0x5f40b3),_0x4590b2(0x1d1)),_0x52abed),'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20');try{_0x48eeff=await RequestUtil['HttpGetJson'](_0x22faf6,_0x4590b2(0x1cc),'',{'Cookie':_0x137017});if(_0x3bc2b8[_0x4590b2(0x1a9)](_0x48eeff?.['ec'],0x0))return undefined;return _0x48eeff;}catch(_0xeb8d5c){return undefined;}return undefined;}static[_0x4f7cc5(0x1d7)](_0x512d32){const _0x219937=_0x4f7cc5,_0x4f6b1b={'borYn':function(_0x27965a,_0x468460){return _0x27965a<_0x468460;},'CZXxD':function(_0x3e34c9,_0x460f50){return _0x3e34c9+_0x460f50;}};_0x512d32=_0x512d32||'';let _0x5847f1=0x1505;for(let _0xdbe69a=0x0;_0x4f6b1b[_0x219937(0x200)](_0xdbe69a,_0x512d32['length']);_0xdbe69a++){const _0x26b8c8=_0x512d32[_0x219937(0x1b6)](_0xdbe69a);_0x5847f1=_0x4f6b1b['CZXxD'](_0x4f6b1b['CZXxD'](_0x5847f1,_0x5847f1<<0x5),_0x26b8c8);}return(_0x5847f1&0x7fffffff)[_0x219937(0x1f2)]();}static async[_0x4f7cc5(0x196)](_0x5759b3,_0x2980bb){const _0x4753d2=_0x4f7cc5,_0x437da3={'FuzCg':function(_0x3b1bcb,_0x5922bb){return _0x3b1bcb+_0x5922bb;},'MYRhf':function(_0x301325,_0x2b5254){return _0x301325+_0x2b5254;},'QaCLJ':_0x4753d2(0x1bd),'wIlzG':_0x4753d2(0x185),'klcRF':_0x4753d2(0x1cc),'hIFBS':function(_0x58b577,_0x52e14e){return _0x58b577===_0x52e14e;},'hFmOG':function(_0x29bddb,_0x37fa91,_0x2ad06b,_0x3de01a){return _0x29bddb(_0x37fa91,_0x2ad06b,_0x3de01a);},'WauNo':_0x4753d2(0x1c8),'SRkYJ':function(_0x2bd8f1,_0x52030f){return _0x2bd8f1||_0x52030f;},'uKDHx':function(_0x2a74e8,_0x5e0f38){return _0x2a74e8+_0x5e0f38;},'ZwmDa':function(_0x49d382,_0x2eaebd){return _0x49d382+_0x2eaebd;},'VoENZ':function(_0x1027f6,_0x3184eb){return _0x1027f6+_0x3184eb;},'jWWDY':_0x4753d2(0x1dd),'cdgEs':_0x4753d2(0x1c4),'ynfhd':_0x4753d2(0x205),'lWGeh':function(_0x20701b,_0x591c5e,_0xdbcd5b){return _0x20701b(_0x591c5e,_0xdbcd5b);},'juBHh':'获取龙王信息失败','AOXxq':function(_0x3f4548,_0x364eee){return _0x3f4548(_0x364eee);},'fVpOM':_0x4753d2(0x19d),'ZFxIR':function(_0x1ae4d9,_0x2c069b){return _0x1ae4d9(_0x2c069b);},'OIuoh':function(_0x45c684,_0x3c3466,_0x245e47){return _0x45c684(_0x3c3466,_0x245e47);},'QlYJU':'获取快乐源泉失败','jBgaW':function(_0x441ec3,_0x3589d1,_0x57ca03){return _0x441ec3(_0x3589d1,_0x57ca03);},'CtPYc':function(_0x2e9ee3,_0x5b2fc6){return _0x2e9ee3===_0x5b2fc6;},'eJfYw':function(_0x8ecaeb,_0x319669){return _0x8ecaeb===_0x319669;}},_0x50d0fb=(await NTQQUserApi[_0x4753d2(0x187)]([_0x437da3['WauNo']]))[_0x437da3[_0x4753d2(0x17b)]],_0x313312=await NTQQUserApi['getSkey']();if(_0x437da3[_0x4753d2(0x17e)](!_0x313312,!_0x50d0fb))return undefined;async function _0x1c5bdc(_0x225fa1,_0x7ea438){const _0x244446=_0x4753d2;let _0x4f0918=_0x437da3['FuzCg'](_0x437da3[_0x244446(0x1ad)](_0x437da3['QaCLJ']+_0x225fa1,_0x437da3[_0x244446(0x1b3)]),_0x7ea438[_0x244446(0x1f2)]()),_0x369445='',_0x534505;try{_0x369445=await RequestUtil['HttpGetText'](_0x4f0918,_0x437da3[_0x244446(0x199)],'',{'Cookie':_0x241dd0});const _0x102e70=_0x369445[_0x244446(0x1f5)](/window\.__INITIAL_STATE__=(.*?);/);return _0x102e70&&(_0x534505=JSON[_0x244446(0x1e1)](_0x102e70[0x1][_0x244446(0x1ef)]())),_0x437da3['hIFBS'](_0x7ea438,0x1)?_0x534505?.[_0x244446(0x198)]:_0x534505?.['actorList'];}catch(_0x2edb34){_0x437da3[_0x244446(0x19c)](logDebug,'获取当前群荣耀失败',_0x4f0918,_0x2edb34);}return undefined;}let _0x59135e={'group_id':_0x5759b3};const _0x241dd0=_0x437da3[_0x4753d2(0x1e8)](_0x437da3[_0x4753d2(0x1ad)](_0x437da3[_0x4753d2(0x1b5)](_0x437da3[_0x4753d2(0x1ab)](_0x437da3[_0x4753d2(0x1b5)](_0x437da3['ZwmDa'](_0x4753d2(0x184),_0x50d0fb),_0x437da3['jWWDY'])+_0x313312,_0x437da3[_0x4753d2(0x189)]),selfInfo[_0x4753d2(0x18b)]),_0x437da3[_0x4753d2(0x1c2)]),selfInfo[_0x4753d2(0x18b)]);if(_0x437da3[_0x4753d2(0x1f4)](_0x2980bb,WebHonorType[_0x4753d2(0x19a)])||_0x437da3[_0x4753d2(0x1f4)](_0x2980bb,WebHonorType['ALL']))try{let _0x7bd375=await _0x437da3['lWGeh'](_0x1c5bdc,_0x5759b3,0x1);if(!_0x7bd375)throw new Error(_0x437da3[_0x4753d2(0x1f0)]);_0x59135e[_0x4753d2(0x1d0)]={'user_id':_0x7bd375[0x0]?.[_0x4753d2(0x18b)],'avatar':_0x7bd375[0x0]?.[_0x4753d2(0x1b7)],'nickname':_0x7bd375[0x0]?.[_0x4753d2(0x18d)],'day_count':0x0,'description':_0x7bd375[0x0]?.[_0x4753d2(0x1ea)]},_0x59135e[_0x4753d2(0x1a8)]=[];for(const _0x264704 of _0x7bd375){_0x59135e['talkative_list'][_0x4753d2(0x19b)]({'user_id':_0x264704?.[_0x4753d2(0x18b)],'avatar':_0x264704?.[_0x4753d2(0x1b7)],'description':_0x264704?.[_0x4753d2(0x1ea)],'day_count':0x0,'nickname':_0x264704?.[_0x4753d2(0x18d)]});}}catch(_0x538398){_0x437da3[_0x4753d2(0x20e)](logDebug,_0x538398);}if(_0x437da3[_0x4753d2(0x1f4)](_0x2980bb,WebHonorType[_0x4753d2(0x1a6)])||_0x437da3[_0x4753d2(0x1f4)](_0x2980bb,WebHonorType['ALL']))try{let _0x51f63e=await _0x1c5bdc(_0x5759b3,0x2);if(!_0x51f63e)throw new Error(_0x437da3['fVpOM']);_0x59135e[_0x4753d2(0x1bc)]=[];for(const _0x39dc04 of _0x51f63e){_0x59135e['performer_list'][_0x4753d2(0x19b)]({'user_id':_0x39dc04?.[_0x4753d2(0x18b)],'nickname':_0x39dc04?.[_0x4753d2(0x18d)],'avatar':_0x39dc04?.[_0x4753d2(0x1b7)],'description':_0x39dc04?.[_0x4753d2(0x1ea)]});}}catch(_0x57e1ac){_0x437da3[_0x4753d2(0x18e)](logDebug,_0x57e1ac);}if(_0x2980bb===WebHonorType[_0x4753d2(0x1a6)]||_0x437da3[_0x4753d2(0x1f4)](_0x2980bb,WebHonorType['ALL']))try{let _0x48c85a=await _0x437da3[_0x4753d2(0x1b1)](_0x1c5bdc,_0x5759b3,0x3);if(!_0x48c85a)throw new Error(_0x4753d2(0x1cb));_0x59135e['legend_list']=[];for(const _0x3e23d1 of _0x48c85a){_0x59135e[_0x4753d2(0x17f)]['push']({'user_id':_0x3e23d1?.[_0x4753d2(0x18b)],'nickname':_0x3e23d1?.[_0x4753d2(0x18d)],'avatar':_0x3e23d1?.[_0x4753d2(0x1b7)],'desc':_0x3e23d1?.[_0x4753d2(0x20b)]});}}catch(_0x2043c7){_0x437da3[_0x4753d2(0x1c6)](logDebug,'获取群聊炽焰失败',_0x2043c7);}if(_0x437da3['hIFBS'](_0x2980bb,WebHonorType[_0x4753d2(0x1e5)])||_0x2980bb===WebHonorType[_0x4753d2(0x207)])try{let _0x19939c=await _0x1c5bdc(_0x5759b3,0x6);if(!_0x19939c)throw new Error(_0x437da3['QlYJU']);_0x59135e[_0x4753d2(0x1c9)]=[];for(const _0x6dd818 of _0x19939c){_0x59135e[_0x4753d2(0x1c9)][_0x4753d2(0x19b)]({'user_id':_0x6dd818?.['uin'],'nickname':_0x6dd818?.[_0x4753d2(0x18d)],'avatar':_0x6dd818?.[_0x4753d2(0x1b7)],'desc':_0x6dd818?.['description']});}}catch(_0x240c53){_0x437da3[_0x4753d2(0x181)](logDebug,_0x4753d2(0x1eb),_0x240c53);}return(_0x437da3[_0x4753d2(0x1df)](_0x2980bb,WebHonorType[_0x4753d2(0x1e5)])||_0x437da3['eJfYw'](_0x2980bb,WebHonorType[_0x4753d2(0x207)]))&&(_0x59135e[_0x4753d2(0x1ff)]=[]),_0x59135e;}} \ No newline at end of file +const _0x3f94e0=_0xe2cb;(function(_0x51162f,_0xa70fa6){const _0x169be1=_0xe2cb,_0x3daa72=_0x51162f();while(!![]){try{const _0x5926ad=parseInt(_0x169be1(0x188))/0x1+parseInt(_0x169be1(0x131))/0x2+parseInt(_0x169be1(0x1b3))/0x3+-parseInt(_0x169be1(0x164))/0x4+-parseInt(_0x169be1(0x183))/0x5*(-parseInt(_0x169be1(0x147))/0x6)+-parseInt(_0x169be1(0x14d))/0x7+-parseInt(_0x169be1(0x18a))/0x8*(parseInt(_0x169be1(0x15e))/0x9);if(_0x5926ad===_0xa70fa6)break;else _0x3daa72['push'](_0x3daa72['shift']());}catch(_0x61547f){_0x3daa72['push'](_0x3daa72['shift']());}}}(_0x306c,0x88288));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x306c(){const _0xb45a15=['actorList','tBZOI','HfXrL','aamCB','GroupTime','raDDh','YTcwF','wmkvy','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','genBkn','&qid=','获取群聊之火失败','khILi','qlJTF','legend_list','FYxNi','description','ceil','3089271BfHxDO','getSkey','HRaYu','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','wXhfO','JnWni','performer','获取群聊炽焰失败','obohI','talkative_list','strong_newbie','cuQIN',';\x20skey=','aUgqj','xNSjj','name','count','retcode','IBIka','hvAqq','bWXAd','nPlFV','CWtHb','getPSkey','zGONw','split','YzTVK','JmPZu','uin','setGroupNotice','wEAvP','trim','wMMyt','wNgWS','253332Dnruct','&text=','BEStO','performer_list','获取当前群荣耀失败','get','jopPC','XMVXV',';\x20uin=o','ALL','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','FaZie','TGbYy','mwlXl','CHOnG','ZaRfV','krNED','TALKACTIVE','avatar','desc','ZQCcZ','NsbJu','417066UQpgWs','dZrwA','IPpvU','errcode','toString','HttpGetText','3123533CBhIKj','nIkua','OQYYw','jfjoE','aPstv','JNCEv','HMffG','JDkkR','pccqw','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','p_skey=','FsTiX','&page_limit=20','GroupData','KBtCy','OHYlq','XlsvF','8973XZSQaC','current_talkative','plGyX','qzpib','set','RGTom','3402512tbPvle','ITiId','zAGEx','emotion','dsIrz','qXSAw','length','VHDep','lwRAB','POST','talkativeList','gzCSY','BpDob','zGrpt','UZKZg','ztaeA','ipITR','GET','1|3|2|0|4|5','GcNYB','&sort=1&gc=','QQRNl','wAgpf','HttpGetJson','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','mCLGU','getGrouptNotice','&page_start=','EoLSR','charCodeAt','now','80kejMOR','pLqlS','mems','sYutm',';\x20p_uin=o','871085NfmUMV','KaWiR','10312hUHHll','wfhyx','NlknA','okUEI','获取龙王信息失败','qun.qq.com','获取快乐源泉失败','all','LrNdN','PERFROMER','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','sDWid','getGroupHonorInfo','&bkn=','&group_code=','https://qun.qq.com/interactive/honorlist?gc=','push','WaXjM','zjYKL','STORONGE_NEWBI','strong_newbie_list','EMOTION','Wgqyq'];_0x306c=function(){return _0xb45a15;};return _0x306c();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x5325fc){const _0x2d23d2=_0xe2cb,_0x47b61b={'khILi':_0x2d23d2(0x176),'dkScE':'legend','pccqw':_0x2d23d2(0x13a),'qzpib':_0x2d23d2(0x191),'hkJSJ':_0x2d23d2(0x193),'JLtQN':_0x2d23d2(0x1b9),'GcNYB':_0x2d23d2(0x142),'jMRsH':'talkative','FsTiX':_0x2d23d2(0x19d),'VHDep':_0x2d23d2(0x1bd),'jfjoE':_0x2d23d2(0x167)},_0x15e641=_0x47b61b[_0x2d23d2(0x1ad)][_0x2d23d2(0x128)]('|');let _0x221bba=0x0;while(!![]){switch(_0x15e641[_0x221bba++]){case'0':_0x5325fc['LEGEND']=_0x47b61b['dkScE'];continue;case'1':_0x5325fc[_0x47b61b[_0x2d23d2(0x155)]]=_0x47b61b[_0x2d23d2(0x161)];continue;case'2':_0x5325fc[_0x47b61b['hkJSJ']]=_0x47b61b['JLtQN'];continue;case'3':_0x5325fc[_0x47b61b[_0x2d23d2(0x177)]]=_0x47b61b['jMRsH'];continue;case'4':_0x5325fc[_0x47b61b[_0x2d23d2(0x158)]]=_0x47b61b[_0x2d23d2(0x16b)];continue;case'5':_0x5325fc[_0x2d23d2(0x19f)]=_0x47b61b[_0x2d23d2(0x150)];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0xe2cb(_0x5ec286,_0xf035c2){const _0x306cad=_0x306c();return _0xe2cb=function(_0xe2cb3,_0x40a5c7){_0xe2cb3=_0xe2cb3-0x11c;let _0x412135=_0x306cad[_0xe2cb3];return _0x412135;},_0xe2cb(_0x5ec286,_0xf035c2);}export class WebApi{static async['getGroupEssenceMsg'](_0x69dc4f,_0x328241){const _0x4289e4=_0xe2cb,_0x50ec4c={'KdSyu':_0x4289e4(0x18f),'zGrpt':function(_0x2d30af,_0x2958f5){return _0x2d30af+_0x2958f5;},'aamCB':function(_0x2fa284,_0x28ff79){return _0x2fa284+_0x28ff79;},'jopPC':function(_0x19c343,_0x46119b){return _0x19c343+_0x46119b;},'zjYKL':function(_0x1e02be,_0x3916ac){return _0x1e02be+_0x3916ac;},'QQRNl':function(_0x2206cc,_0x3fbb0c){return _0x2206cc+_0x3fbb0c;},'wNgWS':_0x4289e4(0x157),'nIkua':_0x4289e4(0x1bf),'OQYYw':';\x20p_uin=o','jVqrJ':_0x4289e4(0x139),'XlsvF':function(_0x200a13,_0x2d3dd5){return _0x200a13+_0x2d3dd5;},'MHLAX':function(_0x113583,_0x240215){return _0x113583+_0x240215;},'CHOnG':function(_0x243c0a,_0x2b7138){return _0x243c0a+_0x2b7138;},'qlJTF':_0x4289e4(0x1a9),'wAgpf':_0x4289e4(0x198),'wfhyx':_0x4289e4(0x159),'wMMyt':_0x4289e4(0x175),'nMAWh':function(_0x272ed3,_0xae3dad){return _0x272ed3!==_0xae3dad;}},_0x5d78d7=(await NTQQUserApi[_0x4289e4(0x126)]([_0x4289e4(0x18f)]))[_0x50ec4c['KdSyu']],_0x48d7b2=await NTQQUserApi[_0x4289e4(0x1b4)](),_0x514080=_0x50ec4c[_0x4289e4(0x171)](_0x50ec4c[_0x4289e4(0x1a4)](_0x50ec4c[_0x4289e4(0x137)](_0x50ec4c[_0x4289e4(0x19c)](_0x50ec4c[_0x4289e4(0x179)](_0x50ec4c[_0x4289e4(0x179)](_0x50ec4c[_0x4289e4(0x130)],_0x5d78d7),_0x50ec4c[_0x4289e4(0x14e)]),_0x48d7b2),_0x50ec4c[_0x4289e4(0x14f)]),selfInfo[_0x4289e4(0x12b)])+_0x50ec4c['jVqrJ'],selfInfo[_0x4289e4(0x12b)]);if(!_0x48d7b2||!_0x5d78d7)return undefined;const _0x4a102e=WebApi[_0x4289e4(0x1aa)](_0x48d7b2),_0x43b5d2=_0x50ec4c[_0x4289e4(0x15d)](_0x50ec4c['MHLAX'](_0x50ec4c['MHLAX'](_0x50ec4c[_0x4289e4(0x137)](_0x50ec4c[_0x4289e4(0x13f)](_0x50ec4c[_0x4289e4(0x1ae)],_0x4a102e),_0x50ec4c[_0x4289e4(0x17a)]),_0x69dc4f),_0x4289e4(0x17f)),_0x328241)+_0x50ec4c[_0x4289e4(0x18b)];let _0x12d6e9;try{_0x12d6e9=await RequestUtil[_0x4289e4(0x17b)](_0x43b5d2,_0x50ec4c[_0x4289e4(0x12f)],'',{'Cookie':_0x514080});}catch{return undefined;}if(_0x50ec4c['nMAWh'](_0x12d6e9[_0x4289e4(0x120)],0x0))return undefined;return _0x12d6e9;}static async['getGroupMembers'](_0x197811,_0x180c5f=!![]){const _0x5581be=_0xe2cb,_0xd49e4d={'ZArHU':function(_0x3daa8b,_0x336af2){return _0x3daa8b>_0x336af2;},'UZKZg':function(_0x2642f1,_0x5aebd9){return _0x2642f1*_0x5aebd9;},'HfXrL':_0x5581be(0x18f),'krNED':function(_0x3e96a3,_0x3fce16){return _0x3e96a3+_0x3fce16;},'lwRAB':function(_0x578ab8,_0x157687){return _0x578ab8+_0x157687;},'dsIrz':function(_0x55a180,_0x45e6fc){return _0x55a180+_0x45e6fc;},'DqmGB':_0x5581be(0x157),'KBtCy':';\x20skey=','iJIvQ':function(_0xf5fe23,_0x5816e3){return _0xf5fe23||_0x5816e3;},'OupDX':function(_0x36bd83,_0x24bff7){return _0x36bd83+_0x24bff7;},'ipITR':_0x5581be(0x13b),'ZQCcZ':_0x5581be(0x197),'JNCEv':_0x5581be(0x16d),'obohI':function(_0x4ff18a,_0x52f473){return _0x4ff18a!==_0x52f473;},'JmPZu':function(_0x4d046c,_0x263756){return _0x4d046c/_0x263756;},'JDkkR':function(_0x42181e,_0x4fc7ea){return _0x42181e<=_0x4fc7ea;},'cuQIN':function(_0x925cb8,_0x26f24a){return _0x925cb8+_0x26f24a;},'TGbYy':_0x5581be(0x194),'zGONw':function(_0xe1d8c,_0x4c9256){return _0xe1d8c*_0x4c9256;},'tBZOI':function(_0x3b96c9,_0x18fc6){return _0x3b96c9-_0x18fc6;},'ITiId':'&end=','ztaeA':_0x5581be(0x178)};let _0x15ae94=new Array();try{let _0x1dbc53=WebGroupData[_0x5581be(0x15a)][_0x5581be(0x136)](_0x197811),_0x30ff1f=WebGroupData['GroupTime'][_0x5581be(0x136)](_0x197811);if(!_0x30ff1f||_0xd49e4d['ZArHU'](Date[_0x5581be(0x182)]()-_0x30ff1f,_0xd49e4d[_0x5581be(0x172)](0x708,0x3e8))||!_0x180c5f){const _0x4445c0=(await NTQQUserApi[_0x5581be(0x126)]([_0xd49e4d[_0x5581be(0x1a3)]]))['qun.qq.com'],_0x775679=await NTQQUserApi[_0x5581be(0x1b4)](),_0x50a21e=_0xd49e4d[_0x5581be(0x141)](_0xd49e4d[_0x5581be(0x16c)](_0xd49e4d['lwRAB'](_0xd49e4d[_0x5581be(0x16c)](_0xd49e4d['dsIrz'](_0xd49e4d['DqmGB'],_0x4445c0),_0xd49e4d[_0x5581be(0x15b)]),_0x775679),_0x5581be(0x187)),selfInfo[_0x5581be(0x12b)]);if(_0xd49e4d['iJIvQ'](!_0x775679,!_0x4445c0))return _0x15ae94;const _0x20f195=WebApi[_0x5581be(0x1aa)](_0x775679),_0x504146=[],_0x13450c=await RequestUtil['HttpGetJson'](_0xd49e4d[_0x5581be(0x168)](_0xd49e4d['OupDX'](_0xd49e4d['OupDX'](_0xd49e4d[_0x5581be(0x174)],_0x197811),_0xd49e4d[_0x5581be(0x145)]),_0x20f195),_0xd49e4d[_0x5581be(0x152)],'',{'Cookie':_0x50a21e});if(!_0x13450c?.[_0x5581be(0x11f)]||_0xd49e4d[_0x5581be(0x1bb)](_0x13450c?.[_0x5581be(0x14a)],0x0)||!_0x13450c?.[_0x5581be(0x185)])return[];else for(const _0x54491e in _0x13450c[_0x5581be(0x185)]){_0x15ae94[_0x5581be(0x19a)](_0x13450c['mems'][_0x54491e]);}const _0x511afe=Math[_0x5581be(0x1b2)](_0xd49e4d[_0x5581be(0x12a)](_0x13450c[_0x5581be(0x11f)],0x28));for(let _0x416c7b=0x2;_0xd49e4d[_0x5581be(0x154)](_0x416c7b,_0x511afe);_0x416c7b++){const _0x5e96bd=RequestUtil[_0x5581be(0x17b)](_0xd49e4d[_0x5581be(0x168)](_0xd49e4d['krNED'](_0xd49e4d[_0x5581be(0x1be)](_0xd49e4d[_0x5581be(0x168)](_0xd49e4d['OupDX'](_0xd49e4d[_0x5581be(0x13d)],_0xd49e4d[_0x5581be(0x127)](_0xd49e4d[_0x5581be(0x1a2)](_0x416c7b,0x1),0x28))+_0xd49e4d[_0x5581be(0x165)],_0x416c7b*0x28),_0xd49e4d[_0x5581be(0x173)]),_0x197811),_0xd49e4d['ZQCcZ'])+_0x20f195,_0xd49e4d['JNCEv'],'',{'Cookie':_0x50a21e});_0x504146[_0x5581be(0x19a)](_0x5e96bd);}for(let _0x374835=0x1;_0xd49e4d[_0x5581be(0x154)](_0x374835,_0x511afe);_0x374835++){const _0x513180=await _0x504146[_0x374835];if(!_0x513180?.[_0x5581be(0x11f)]||_0xd49e4d[_0x5581be(0x1bb)](_0x513180?.[_0x5581be(0x14a)],0x0)||!_0x513180?.[_0x5581be(0x185)])continue;for(const _0x37e0d8 in _0x513180[_0x5581be(0x185)]){_0x15ae94[_0x5581be(0x19a)](_0x513180[_0x5581be(0x185)][_0x37e0d8]);}}WebGroupData['GroupData'][_0x5581be(0x162)](_0x197811,_0x15ae94),WebGroupData[_0x5581be(0x1a5)][_0x5581be(0x162)](_0x197811,Date[_0x5581be(0x182)]());}else _0x15ae94=_0x1dbc53;}catch{return _0x15ae94;}return _0x15ae94;}static async[_0x3f94e0(0x12c)](_0x2d72c2,_0x1770d2=''){const _0x320243=_0x3f94e0,_0x14d628={'plGyX':_0x320243(0x18f),'XMVXV':function(_0x43dc77,_0x44adeb){return _0x43dc77+_0x44adeb;},'OHYlq':function(_0xb52dd3,_0x1a79a0){return _0xb52dd3+_0x1a79a0;},'XYQCk':_0x320243(0x157),'EoLSR':_0x320243(0x1bf),'Zzaue':';\x20p_uin=o','HMffG':function(_0x2fb4ef,_0x216848){return _0x2fb4ef||_0x216848;},'LrNdN':function(_0x1665bc,_0x39367d){return _0x1665bc+_0x39367d;},'pLqlS':function(_0x347774,_0x512e38){return _0x347774+_0x512e38;},'cYklJ':function(_0x15d5f4,_0x4360cc){return _0x15d5f4+_0x4360cc;},'YzTVK':function(_0x38bd34,_0xbb33da){return _0x38bd34+_0xbb33da;},'aPstv':'qid=','IPpvU':_0x320243(0x197),'FZSii':_0x320243(0x132),'Bwpuy':_0x320243(0x1b6),'FYxNi':_0x320243(0x156),'wXhfO':_0x320243(0x175)},_0x3d77f1=(await NTQQUserApi[_0x320243(0x126)]([_0x320243(0x18f)]))[_0x14d628[_0x320243(0x160)]],_0x244b7e=await NTQQUserApi['getSkey'](),_0x12e34f=_0x14d628[_0x320243(0x138)](_0x14d628[_0x320243(0x138)](_0x14d628[_0x320243(0x15c)](_0x14d628['XYQCk'],_0x3d77f1)+_0x14d628[_0x320243(0x180)]+_0x244b7e,_0x14d628['Zzaue']),selfInfo[_0x320243(0x12b)]);let _0x581753=undefined;if(_0x14d628[_0x320243(0x153)](!_0x244b7e,!_0x3d77f1))return undefined;const _0x525ac9=WebApi[_0x320243(0x1aa)](_0x244b7e),_0x517ea0=_0x14d628[_0x320243(0x192)](_0x14d628[_0x320243(0x184)](_0x14d628['cYklJ'](_0x14d628[_0x320243(0x129)](_0x14d628[_0x320243(0x151)]+_0x2d72c2,_0x14d628[_0x320243(0x149)]),_0x525ac9)+_0x14d628['FZSii'],_0x1770d2),_0x14d628['Bwpuy']),_0x17b97a=_0x14d628[_0x320243(0x1b0)]+_0x525ac9;try{return _0x581753=await RequestUtil[_0x320243(0x17b)](_0x17b97a,_0x14d628[_0x320243(0x1b7)],'',{'Cookie':_0x12e34f}),_0x581753;}catch(_0x2b1145){return undefined;}return undefined;}static async[_0x3f94e0(0x17e)](_0x15e082){const _0xfcaede=_0x3f94e0,_0x319a95={'bWXAd':'qun.qq.com','ufHoC':function(_0x4d3fc9,_0xffe5f){return _0x4d3fc9+_0xffe5f;},'SaPHo':function(_0x2cee8b,_0x45cc68){return _0x2cee8b+_0x45cc68;},'zAGEx':function(_0x17e3d0,_0x47c027){return _0x17e3d0+_0x47c027;},'mwlXl':';\x20skey=','HRaYu':_0xfcaede(0x187),'raDDh':function(_0x394583,_0x1c18ed){return _0x394583||_0x1c18ed;},'ymKqV':function(_0x3175ad,_0x423d64){return _0x3175ad+_0x423d64;},'BpDob':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','KaWiR':_0xfcaede(0x1ab),'sYutm':_0xfcaede(0x17c),'BZjWG':_0xfcaede(0x175),'UhzuE':function(_0x5786af,_0xea052d){return _0x5786af!==_0xea052d;}},_0x5579e5=(await NTQQUserApi['getPSkey']([_0x319a95[_0xfcaede(0x123)]]))[_0xfcaede(0x18f)],_0x527e49=await NTQQUserApi[_0xfcaede(0x1b4)](),_0x2e194f=_0x319a95['ufHoC'](_0x319a95['SaPHo'](_0x319a95[_0xfcaede(0x166)](_0xfcaede(0x157),_0x5579e5)+_0x319a95[_0xfcaede(0x13e)]+_0x527e49,_0x319a95[_0xfcaede(0x1b5)]),selfInfo[_0xfcaede(0x12b)]);let _0x312e03=undefined;if(_0x319a95[_0xfcaede(0x1a6)](!_0x527e49,!_0x5579e5))return undefined;const _0x3a778d=WebApi['genBkn'](_0x527e49),_0xbe3c14=_0x319a95['ymKqV'](_0x319a95[_0xfcaede(0x166)](_0x319a95[_0xfcaede(0x170)]+_0x3a778d+_0x319a95[_0xfcaede(0x189)],_0x15e082),_0x319a95[_0xfcaede(0x186)]);try{_0x312e03=await RequestUtil[_0xfcaede(0x17b)](_0xbe3c14,_0x319a95['BZjWG'],'',{'Cookie':_0x2e194f});if(_0x319a95['UhzuE'](_0x312e03?.['ec'],0x0))return undefined;return _0x312e03;}catch(_0x113418){return undefined;}return undefined;}static[_0x3f94e0(0x1aa)](_0x3cbf18){const _0xd12107=_0x3f94e0,_0x5752fa={'IBIka':function(_0x5273f0,_0x42a680){return _0x5273f0||_0x42a680;},'NsbJu':function(_0xfb1335,_0x502693){return _0xfb1335<_0x502693;},'FaZie':function(_0x363947,_0x4270cb){return _0x363947+_0x4270cb;},'GVNZB':function(_0x160c0f,_0x575c48){return _0x160c0f+_0x575c48;},'NlknA':function(_0x5ce2a4,_0x224c79){return _0x5ce2a4<<_0x224c79;},'wEAvP':function(_0x37f771,_0x1f23bd){return _0x37f771&_0x1f23bd;}};_0x3cbf18=_0x5752fa[_0xd12107(0x121)](_0x3cbf18,'');let _0x23455b=0x1505;for(let _0x2ac1e0=0x0;_0x5752fa[_0xd12107(0x146)](_0x2ac1e0,_0x3cbf18[_0xd12107(0x16a)]);_0x2ac1e0++){const _0x178d9f=_0x3cbf18[_0xd12107(0x181)](_0x2ac1e0);_0x23455b=_0x5752fa[_0xd12107(0x13c)](_0x5752fa['GVNZB'](_0x23455b,_0x5752fa[_0xd12107(0x18c)](_0x23455b,0x5)),_0x178d9f);}return _0x5752fa[_0xd12107(0x12d)](_0x23455b,0x7fffffff)[_0xd12107(0x14b)]();}static async[_0x3f94e0(0x196)](_0x3630f2,_0x3622e5){const _0xd314c0=_0x3f94e0,_0x16ecc3={'BEStO':function(_0x2e8354,_0x4e4d7a){return _0x2e8354+_0x4e4d7a;},'gzCSY':function(_0x259876,_0xfeddff){return _0x259876+_0xfeddff;},'qXSAw':_0xd314c0(0x199),'pnymt':'&type=','mCLGU':function(_0x3642e0,_0x54e9b2){return _0x3642e0===_0x54e9b2;},'JnWni':function(_0x428570,_0x220fa3,_0x8177e8,_0x2f95f7){return _0x428570(_0x220fa3,_0x8177e8,_0x2f95f7);},'nPlFV':_0xd314c0(0x135),'Wgqyq':_0xd314c0(0x18f),'hvAqq':function(_0xd6a43e,_0xf415b6){return _0xd6a43e+_0xf415b6;},'okUEI':function(_0x2d118b,_0x667d64){return _0x2d118b+_0x667d64;},'wmkvy':function(_0x781bae,_0x46c61d){return _0x781bae+_0x46c61d;},'WaXjM':_0xd314c0(0x157),'YTcwF':_0xd314c0(0x1bf),'WAdRj':';\x20p_uin=o','RGTom':function(_0x5ad330,_0x1e41d){return _0x5ad330===_0x1e41d;},'dZrwA':function(_0x5929a5,_0x335450,_0x138596){return _0x5929a5(_0x335450,_0x138596);},'aUgqj':_0xd314c0(0x18e),'ZaRfV':_0xd314c0(0x1ac),'BpJBU':function(_0x3cb3a4,_0x22d8cf){return _0x3cb3a4(_0x22d8cf);},'CWtHb':function(_0x29b53e,_0x276733,_0x5e257c){return _0x29b53e(_0x276733,_0x5e257c);},'sDWid':_0xd314c0(0x1ba),'xNSjj':_0xd314c0(0x190)},_0x37edd0=(await NTQQUserApi[_0xd314c0(0x126)]([_0x16ecc3[_0xd314c0(0x1a0)]]))[_0x16ecc3[_0xd314c0(0x1a0)]],_0x418ee5=await NTQQUserApi[_0xd314c0(0x1b4)]();if(!_0x418ee5||!_0x37edd0)return undefined;async function _0x3d6b29(_0x2f70ed,_0x42eefe){const _0x16e67c=_0xd314c0;let _0x73ce42=_0x16ecc3[_0x16e67c(0x133)](_0x16ecc3[_0x16e67c(0x16f)](_0x16ecc3[_0x16e67c(0x16f)](_0x16ecc3[_0x16e67c(0x169)],_0x2f70ed),_0x16ecc3['pnymt']),_0x42eefe[_0x16e67c(0x14b)]()),_0x31a009='',_0x25da1c;try{_0x31a009=await RequestUtil[_0x16e67c(0x14c)](_0x73ce42,_0x16e67c(0x175),'',{'Cookie':_0x18e841});const _0x554ad8=_0x31a009['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x554ad8&&(_0x25da1c=JSON['parse'](_0x554ad8[0x1][_0x16e67c(0x12e)]())),_0x16ecc3[_0x16e67c(0x17d)](_0x42eefe,0x1)?_0x25da1c?.[_0x16e67c(0x16e)]:_0x25da1c?.[_0x16e67c(0x1a1)];}catch(_0x560933){_0x16ecc3[_0x16e67c(0x1b8)](logDebug,_0x16ecc3[_0x16e67c(0x124)],_0x73ce42,_0x560933);}return undefined;}let _0x117b56={'group_id':_0x3630f2};const _0x18e841=_0x16ecc3[_0xd314c0(0x122)](_0x16ecc3['hvAqq'](_0x16ecc3[_0xd314c0(0x18d)](_0x16ecc3[_0xd314c0(0x18d)](_0x16ecc3[_0xd314c0(0x1a8)](_0x16ecc3[_0xd314c0(0x18d)](_0x16ecc3[_0xd314c0(0x19b)]+_0x37edd0,_0x16ecc3[_0xd314c0(0x1a7)]),_0x418ee5),_0x16ecc3['WAdRj']),selfInfo['uin']),';\x20uin=o'),selfInfo['uin']);if(_0x3622e5===WebHonorType[_0xd314c0(0x142)]||_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType[_0xd314c0(0x13a)]))try{let _0x2ba732=await _0x16ecc3[_0xd314c0(0x148)](_0x3d6b29,_0x3630f2,0x1);if(!_0x2ba732)throw new Error(_0x16ecc3[_0xd314c0(0x11c)]);_0x117b56[_0xd314c0(0x15f)]={'user_id':_0x2ba732[0x0]?.[_0xd314c0(0x12b)],'avatar':_0x2ba732[0x0]?.[_0xd314c0(0x143)],'nickname':_0x2ba732[0x0]?.['name'],'day_count':0x0,'description':_0x2ba732[0x0]?.[_0xd314c0(0x144)]},_0x117b56[_0xd314c0(0x1bc)]=[];for(const _0x1ae6a4 of _0x2ba732){_0x117b56['talkative_list']['push']({'user_id':_0x1ae6a4?.[_0xd314c0(0x12b)],'avatar':_0x1ae6a4?.[_0xd314c0(0x143)],'description':_0x1ae6a4?.['desc'],'day_count':0x0,'nickname':_0x1ae6a4?.[_0xd314c0(0x11e)]});}}catch(_0x5e01f5){logDebug(_0x5e01f5);}if(_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType['PERFROMER'])||_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType[_0xd314c0(0x13a)]))try{let _0x5377f0=await _0x16ecc3[_0xd314c0(0x148)](_0x3d6b29,_0x3630f2,0x2);if(!_0x5377f0)throw new Error(_0x16ecc3[_0xd314c0(0x140)]);_0x117b56[_0xd314c0(0x134)]=[];for(const _0x3a004b of _0x5377f0){_0x117b56[_0xd314c0(0x134)][_0xd314c0(0x19a)]({'user_id':_0x3a004b?.[_0xd314c0(0x12b)],'nickname':_0x3a004b?.[_0xd314c0(0x11e)],'avatar':_0x3a004b?.[_0xd314c0(0x143)],'description':_0x3a004b?.[_0xd314c0(0x144)]});}}catch(_0x5b4fc2){_0x16ecc3['BpJBU'](logDebug,_0x5b4fc2);}if(_0x3622e5===WebHonorType[_0xd314c0(0x193)]||_0x3622e5===WebHonorType[_0xd314c0(0x13a)])try{let _0x297ac2=await _0x16ecc3[_0xd314c0(0x125)](_0x3d6b29,_0x3630f2,0x3);if(!_0x297ac2)throw new Error(_0x16ecc3[_0xd314c0(0x195)]);_0x117b56[_0xd314c0(0x1af)]=[];for(const _0x4357ab of _0x297ac2){_0x117b56[_0xd314c0(0x1af)][_0xd314c0(0x19a)]({'user_id':_0x4357ab?.[_0xd314c0(0x12b)],'nickname':_0x4357ab?.[_0xd314c0(0x11e)],'avatar':_0x4357ab?.['avatar'],'desc':_0x4357ab?.[_0xd314c0(0x1b1)]});}}catch(_0x3cdd01){logDebug(_0x16ecc3['sDWid'],_0x3cdd01);}if(_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType['EMOTION'])||_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType[_0xd314c0(0x13a)]))try{let _0x43fd72=await _0x16ecc3[_0xd314c0(0x148)](_0x3d6b29,_0x3630f2,0x6);if(!_0x43fd72)throw new Error(_0x16ecc3[_0xd314c0(0x11d)]);_0x117b56['emotion_list']=[];for(const _0x5e3738 of _0x43fd72){_0x117b56['emotion_list'][_0xd314c0(0x19a)]({'user_id':_0x5e3738?.[_0xd314c0(0x12b)],'nickname':_0x5e3738?.[_0xd314c0(0x11e)],'avatar':_0x5e3738?.[_0xd314c0(0x143)],'desc':_0x5e3738?.[_0xd314c0(0x1b1)]});}}catch(_0x1deeb2){logDebug(_0x16ecc3[_0xd314c0(0x11d)],_0x1deeb2);}return(_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType[_0xd314c0(0x19f)])||_0x3622e5===WebHonorType[_0xd314c0(0x13a)])&&(_0x117b56[_0xd314c0(0x19e)]=[]),_0x117b56;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index ce10b591..adb38f57 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x3ebcf4=_0x5b18;(function(_0x23ee36,_0x56911a){const _0x326c10=_0x5b18,_0xc9b598=_0x23ee36();while(!![]){try{const _0x500a05=parseInt(_0x326c10(0x184))/0x1*(-parseInt(_0x326c10(0x19c))/0x2)+parseInt(_0x326c10(0x217))/0x3*(-parseInt(_0x326c10(0x1af))/0x4)+parseInt(_0x326c10(0x1fa))/0x5+-parseInt(_0x326c10(0x1f4))/0x6*(parseInt(_0x326c10(0x1b7))/0x7)+parseInt(_0x326c10(0x1f1))/0x8+-parseInt(_0x326c10(0x1b6))/0x9+parseInt(_0x326c10(0x20a))/0xa;if(_0x500a05===_0x56911a)break;else _0xc9b598['push'](_0xc9b598['shift']());}catch(_0x253214){_0xc9b598['push'](_0xc9b598['shift']());}}}(_0x13f1,0xad848));import _0x3437b4 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';function _0x5b18(_0x1d2ab1,_0x402a6b){const _0x13f1a4=_0x13f1();return _0x5b18=function(_0x5b18b7,_0x7a6a5d){_0x5b18b7=_0x5b18b7-0x174;let _0x41ec9e=_0x13f1a4[_0x5b18b7];return _0x41ec9e;},_0x5b18(_0x1d2ab1,_0x402a6b);}import _0x4deabb from'node:path';import _0x493d42 from'node:os';import _0x3f1272 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'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0xde9169 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{[_0x3ebcf4(0x209)];['util'];[_0x3ebcf4(0x20c)];[_0x3ebcf4(0x18e)];[_0x3ebcf4(0x175)];[_0x3ebcf4(0x195)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x5206f3=_0x3ebcf4,wJtWfg={'XyDRs':function(callee,param1){return callee(param1);},'NRDol':_0x5206f3(0x1db)};if(typeof target[prop]===wJtWfg[_0x5206f3(0x1f7)])return(...args)=>{const _0x47c481=_0x5206f3;wJtWfg[_0x47c481(0x1fb)](logDebug,target['constructor']['name']+_0x47c481(0x17f)+prop);};return Reflect[_0x5206f3(0x1e2)](target,prop,receiver);}};constructor(){const _0x36e582=_0x3ebcf4,_0x660dd7={'JpATz':function(_0x1cc4a0,_0x3da6f2){return _0x1cc4a0(_0x3da6f2);},'QtLJu':function(_0x51db11,_0x274ec8){return _0x51db11+_0x274ec8;},'OHoXi':function(_0x1c0df4,_0x3b873d){return _0x1c0df4+_0x3b873d;},'VZqrg':_0x36e582(0x19d),'GWnce':function(_0x9a58cf,_0x3ab917,_0x39a33d){return _0x9a58cf(_0x3ab917,_0x39a33d);},'YOahV':_0x36e582(0x1b3),'FWWQl':_0x36e582(0x1c6),'DtbjJ':'initSession\x20failed','TZFdz':function(_0x4d884a,_0x3ed2a4){return _0x4d884a==_0x3ed2a4;},'bBemf':_0x36e582(0x1ad)};this['engine']=new _0x3437b4[(_0x36e582(0x219))](),this[_0x36e582(0x1a2)]=new _0x3437b4['NodeQQNTWrapperUtil'](),this[_0x36e582(0x175)]=new _0x3437b4[(_0x36e582(0x178))](),this[_0x36e582(0x209)]=new _0x3437b4[(_0x36e582(0x174))](),this['loginListener']=new LoginListener(),this[_0x36e582(0x18e)][_0x36e582(0x1c1)]=_0x54e88e=>{const _0x148afe=_0x36e582;_0x660dd7[_0x148afe(0x19e)](logError,_0x660dd7['QtLJu'](_0x660dd7['OHoXi'](_0x660dd7[_0x148afe(0x1ae)],_0x54e88e),')已登录,无法重复登录'));},this[_0x36e582(0x18e)][_0x36e582(0x1bc)]=_0x3f8fbf=>{const _0x2748f2=_0x36e582,_0x6a60b4={'qgCTr':function(_0x4fd38f,_0x3d78c7,_0x3ee6c1){const _0x4881bc=_0x5b18;return _0x660dd7[_0x4881bc(0x196)](_0x4fd38f,_0x3d78c7,_0x3ee6c1);},'SQjBZ':function(_0x463025,_0x2eb115){return _0x463025 instanceof _0x2eb115;},'NCRQV':function(_0x499786,_0x492d26,_0x52dd3f){const _0xaa9722=_0x5b18;return _0x660dd7[_0xaa9722(0x196)](_0x499786,_0x492d26,_0x52dd3f);},'nlhAV':function(_0x34fc20,_0x298189){const _0x31a9f0=_0x5b18;return _0x660dd7[_0x31a9f0(0x19e)](_0x34fc20,_0x298189);},'RUBvD':_0x660dd7[_0x2748f2(0x1d7)],'rXzJs':_0x660dd7[_0x2748f2(0x1bd)],'FKiGH':_0x660dd7[_0x2748f2(0x188)]};this[_0x2748f2(0x18f)](_0x3f8fbf[_0x2748f2(0x176)],_0x3f8fbf['uid'])[_0x2748f2(0x180)](_0x3a8234=>{const _0x3766a4=_0x2748f2,_0x595ae9={'IlnSw':function(_0x5cd8bb,_0x526773){const _0x2a4e44=_0x5b18;return _0x6a60b4[_0x2a4e44(0x201)](_0x5cd8bb,_0x526773);}};selfInfo['uin']=_0x3f8fbf[_0x3766a4(0x176)],selfInfo['uid']=_0x3f8fbf[_0x3766a4(0x1b0)],napCatConfig['read'](),_0x6a60b4[_0x3766a4(0x1c3)](setLogLevel,napCatConfig[_0x3766a4(0x200)],napCatConfig[_0x3766a4(0x190)]),_0x6a60b4[_0x3766a4(0x1d6)](enableFileLog,napCatConfig[_0x3766a4(0x191)]),enableConsoleLog(napCatConfig['consoleLog']),_0x6a60b4[_0x3766a4(0x1d6)](setLogSelfInfo,selfInfo);const _0x2321b3=_0x4deabb[_0x3766a4(0x1a9)](this[_0x3766a4(0x1e8)],_0x6a60b4[_0x3766a4(0x218)]);_0x3f1272['mkdirSync'](_0x2321b3,{'recursive':!![]}),_0x6a60b4[_0x3766a4(0x1ff)](logDebug,_0x6a60b4[_0x3766a4(0x1d1)],_0x2321b3),dbUtil[_0x3766a4(0x1ea)](_0x4deabb[_0x3766a4(0x1a9)](_0x2321b3,'./'+_0x3f8fbf[_0x3766a4(0x176)]+'-v2.db'))['then'](()=>{const _0x1ea298=_0x3766a4;this[_0x1ea298(0x1dc)](),this[_0x1ea298(0x195)][_0x1ea298(0x1e0)](_0x31cc15=>{const _0x4822e0={'NGLtz':function(_0x42818b,_0x34c853){const _0x334603=_0x5b18;return _0x595ae9[_0x334603(0x199)](_0x42818b,_0x34c853);}};new Promise((_0x351d68,_0x493b1b)=>{const _0x5c4da3=_0x5b18,_0x252ba6=_0x31cc15(_0x3f8fbf['uin'],_0x3f8fbf[_0x5c4da3(0x1b0)]);_0x4822e0[_0x5c4da3(0x220)](_0x252ba6,Promise)&&_0x252ba6[_0x5c4da3(0x180)](_0x351d68)[_0x5c4da3(0x20b)](_0x493b1b);})['then']();});})[_0x3766a4(0x20b)](_0x7d756b=>{const _0x571107=_0x3766a4;_0x6a60b4[_0x571107(0x1ff)](logError,_0x571107(0x1f9),_0x7d756b);});})[_0x2748f2(0x20b)](_0x14b86a=>{const _0x21a950=_0x2748f2;_0x6a60b4[_0x21a950(0x1ff)](logError,_0x6a60b4['FKiGH'],_0x14b86a);throw new Error('启动失败:\x20'+JSON[_0x21a950(0x198)](_0x14b86a));});},this[_0x36e582(0x18e)][_0x36e582(0x1eb)]=(_0x26c58f,_0x1d9c8b,_0x3e8ce6)=>{const _0x231475=_0x36e582;logError(_0x231475(0x1ad),_0x3e8ce6),_0x660dd7['TZFdz'](_0x26c58f,0x1)&&_0x660dd7['TZFdz'](_0x1d9c8b,0x3)&&this[_0x231475(0x175)][_0x231475(0x1f5)]();},this[_0x36e582(0x18e)][_0x36e582(0x221)]=_0x34525a=>{const _0x2d565b=_0x36e582;_0x660dd7[_0x2d565b(0x196)](logError,_0x660dd7[_0x2d565b(0x192)],_0x34525a);},this[_0x36e582(0x18e)]=new Proxy(this[_0x36e582(0x18e)],this[_0x36e582(0x205)]),this[_0x36e582(0x175)][_0x36e582(0x1b4)](new _0x3437b4[(_0x36e582(0x1c7))](this[_0x36e582(0x18e)])),this[_0x36e582(0x208)]();}get[_0x3ebcf4(0x1e8)](){const _0x289c42=_0x3ebcf4,_0x130086={'yLDmq':_0x289c42(0x17a)};let _0x2ae28e=this[_0x289c42(0x1a2)][_0x289c42(0x183)]();return!_0x2ae28e&&(_0x2ae28e=_0x4deabb['resolve'](_0x493d42[_0x289c42(0x197)](),_0x130086[_0x289c42(0x18a)]),_0x3f1272[_0x289c42(0x213)](_0x2ae28e,{'recursive':!![]})),_0x2ae28e;}get[_0x3ebcf4(0x203)](){const _0x55aaad=_0x3ebcf4;return _0x4deabb[_0x55aaad(0x1a9)](this[_0x55aaad(0x1e8)],_0x55aaad(0x187));}['initConfig'](){const _0x1b5d97=_0x3ebcf4,_0x53342={'JwWeK':_0x1b5d97(0x202)};this[_0x1b5d97(0x20c)][_0x1b5d97(0x1c5)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1b5d97(0x1c4)],'os_version':_0x53342['JwWeK'],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion'][_0x1b5d97(0x1be)]('-','_')+_0x1b5d97(0x1f3),'global_path_config':{'desktopGlobalPath':this[_0x1b5d97(0x203)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x3437b4[(_0x1b5d97(0x17d))](new GlobalAdapter())),this['loginService'][_0x1b5d97(0x208)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1b5d97(0x203)],'clientVer':qqVersionConfigInfo[_0x1b5d97(0x1c4)],'hostName':hostname});}[_0x3ebcf4(0x18f)](_0x39eb95,_0x1d04f3){const _0x5a80c9=_0x3ebcf4,_0x30f2d2={'MeFvf':function(_0x18f1ca,_0x47ee1c){return _0x18f1ca===_0x47ee1c;},'MHFPI':function(_0x4fce50,_0x58dc8c,_0x116476,_0xa2e8e1){return _0x4fce50(_0x58dc8c,_0x116476,_0xa2e8e1);},'PvncS':function(_0xea3779,_0x6cc277){return _0xea3779(_0x6cc277);},'eWHRN':function(_0x33f417,_0x12e7f4){return _0x33f417+_0x12e7f4;},'CAARh':_0x5a80c9(0x1ac)};return new Promise((_0x13edb8,_0x46ca75)=>{const _0x21f759=_0x5a80c9,_0x47ea0d={'nuPuA':function(_0x1554bf,_0x397249){return _0x30f2d2['MeFvf'](_0x1554bf,_0x397249);},'BINns':function(_0x372c5b,_0x3ee0ab){return _0x372c5b(_0x3ee0ab);}},_0x2a1133=_0x30f2d2[_0x21f759(0x189)](genSessionConfig,_0x39eb95,_0x1d04f3,this[_0x21f759(0x1e8)]),_0x48109d=new SessionListener();_0x48109d['onSessionInitComplete']=_0x1e8076=>{const _0x2e59e1=_0x21f759;if(_0x47ea0d[_0x2e59e1(0x18c)](_0x1e8076,0x0))return _0x47ea0d[_0x2e59e1(0x211)](_0x13edb8,0x0);_0x47ea0d[_0x2e59e1(0x211)](_0x46ca75,_0x1e8076);},this['session']['init'](_0x2a1133,new _0x3437b4['NodeIDependsAdapter'](new DependsAdapter()),new _0x3437b4[(_0x21f759(0x1bb))](new DispatcherAdapter()),new _0x3437b4[(_0x21f759(0x1d0))](_0x48109d));try{this[_0x21f759(0x209)][_0x21f759(0x19b)](0x0);}catch(_0x39c6a6){try{this[_0x21f759(0x209)][_0x21f759(0x19b)]();}catch(_0x1caea4){_0x30f2d2[_0x21f759(0x1a7)](_0x46ca75,_0x30f2d2[_0x21f759(0x1fc)](_0x30f2d2[_0x21f759(0x21b)],_0x1caea4));}}});}[_0x3ebcf4(0x1dc)](){const _0x329056=_0x3ebcf4,_0xa4db17={'bJzyw':function(_0x4e42c6,_0x300cde){return _0x4e42c6===_0x300cde;},'bzWEb':function(_0x5c3622,_0x42f232){return _0x5c3622+_0x42f232;},'rZirn':'账号设备(','dSJGZ':_0x329056(0x1ba),'VIPVQ':'[KickedOffLine]\x20[','tnhvr':function(_0x10b6a1,_0x32f44f){return _0x10b6a1/_0x32f44f;},'WmVoX':function(_0x4fa450,_0x3ba914){return _0x4fa450!==_0x3ba914;},'IdGXj':_0x329056(0x204)},_0x21fb3f=new MsgListener();_0x21fb3f[_0x329056(0x1c8)]=_0x33f426=>{const _0x2e49dc=_0x329056;_0x33f426[_0x2e49dc(0x1e0)](_0x52f828=>{const _0x39170f=_0x2e49dc;_0xa4db17[_0x39170f(0x1de)](_0x52f828['clientType'],0x2)&&log(_0xa4db17[_0x39170f(0x182)](_0xa4db17[_0x39170f(0x194)],_0x52f828[_0x39170f(0x1d9)])+_0xa4db17[_0x39170f(0x1fe)]);});},_0x21fb3f[_0x329056(0x186)]=_0x1783e5=>{const _0x52ac55=_0x329056;log(_0xa4db17['bzWEb'](_0xa4db17[_0x52ac55(0x182)](_0xa4db17[_0x52ac55(0x1c2)],_0x1783e5[_0x52ac55(0x1df)])+']\x20',_0x1783e5[_0x52ac55(0x1ca)]));},_0x21fb3f[_0x329056(0x1cc)]=_0x402786=>{const _0x1f155a={'zdSGK':function(_0x1eea1a,_0x419f56){const _0xb4aca2=_0x5b18;return _0xa4db17[_0xb4aca2(0x1de)](_0x1eea1a,_0x419f56);}};stat['packet_received']+=0x1,_0x402786['map'](_0x44cb48=>{const _0x32d644=_0x5b18;_0x1f155a[_0x32d644(0x1f2)](_0x44cb48[_0x32d644(0x21c)],'0')?dbUtil['addMsg'](_0x44cb48)[_0x32d644(0x180)]()[_0x32d644(0x20b)]():dbUtil[_0x32d644(0x21e)](_0x44cb48['msgId'])[_0x32d644(0x180)](_0x4340a5=>{const _0x199a7=_0x32d644;_0x4340a5&&(_0x4340a5[_0x199a7(0x21c)]=_0x44cb48[_0x199a7(0x21c)],dbUtil[_0x199a7(0x181)](_0x4340a5)[_0x199a7(0x180)]());});});},_0x21fb3f[_0x329056(0x21d)]=_0x16eb62=>{const _0x5459ee=_0x329056;stat[_0x5459ee(0x1d4)]+=0x1,stat[_0x5459ee(0x17e)]+=0x1,stat[_0x5459ee(0x1e3)]=Math[_0x5459ee(0x1a4)](Date['now']()/0x3e8);},_0x21fb3f[_0x329056(0x19a)]=_0x5a43b5=>{const _0x5230a6=_0x329056;stat[_0x5230a6(0x1b9)]+=0x1,stat[_0x5230a6(0x1aa)]+=_0x5a43b5[_0x5230a6(0x1e9)],stat[_0x5230a6(0x1e3)]=Math[_0x5230a6(0x1a4)](_0xa4db17['tnhvr'](Date[_0x5230a6(0x17c)](),0x3e8));},_0x21fb3f[_0x329056(0x20f)]=(..._0x363a28)=>{stat['packet_received']+=0x1;},this[_0x329056(0x1d8)](_0x21fb3f);const _0x411a99=new BuddyListener();_0x411a99['onBuddyListChange']=_0x233ae6=>{const _0x4e285d=_0x329056;rawFriends[_0x4e285d(0x1e9)]=0x0,rawFriends[_0x4e285d(0x1f6)](..._0x233ae6);for(const _0x12a6a2 of _0x233ae6){for(const _0x284c6d of _0x12a6a2[_0x4e285d(0x1a1)]){const _0x4a629e=friends[_0x4e285d(0x1e2)](_0x284c6d[_0x4e285d(0x1b0)]);uid2UinMap[_0x284c6d[_0x4e285d(0x1b0)]]=_0x284c6d[_0x4e285d(0x176)],_0x4a629e?Object['assign'](_0x4a629e,_0x284c6d):friends[_0x4e285d(0x1d5)](_0x284c6d['uid'],_0x284c6d);}}},this[_0x329056(0x1d8)](_0x411a99),this[_0x329056(0x209)]['getBuddyService']()[_0x329056(0x1cb)](!![])[_0x329056(0x180)](_0xe2819e=>{});const _0x17d25f=new ProfileListener();_0x17d25f[_0x329056(0x1a6)]=_0x1bd4ff=>{const _0x3c9613=_0x329056;_0xa4db17['bJzyw'](_0x1bd4ff[_0x3c9613(0x1b0)],selfInfo['uid'])&&Object[_0x3c9613(0x1bf)](selfInfo,_0x1bd4ff);},_0x17d25f[_0x329056(0x1b8)]=_0x27f26f=>{},this['addListener'](_0x17d25f);const _0x5ce22f=new GroupListener();_0x5ce22f['onGroupListUpdate']=(_0x18730c,_0x3ae1b2)=>{const _0x32f04d=_0x329056;_0x3ae1b2[_0x32f04d(0x1e0)](_0x2136d6=>{const _0xfba245=_0x32f04d,_0x41045f=groups[_0xfba245(0x1e2)](_0x2136d6[_0xfba245(0x1a3)]);if(_0x41045f&&_0xa4db17[_0xfba245(0x18d)](_0x2136d6[_0xfba245(0x225)],_0x41045f[_0xfba245(0x225)]))Object[_0xfba245(0x1bf)](_0x41045f,_0x2136d6);else{groups['set'](_0x2136d6['groupCode'],_0x2136d6);const _0x1c292c=this[_0xfba245(0x209)][_0xfba245(0x1b1)]()['createMemberListScene'](_0x2136d6[_0xfba245(0x1a3)],_0xa4db17[_0xfba245(0x224)]);this['session']['getGroupService']()[_0xfba245(0x179)](_0x1c292c,undefined,0xbb8)['then'](_0x1b568c=>{});}});},_0x5ce22f['onMemberListChange']=_0x21aadf=>{const _0x41f399=_0x329056,_0x52d7ab=_0x21aadf[_0x41f399(0x17b)]['split']('_')[0x0];if(groupMembers[_0x41f399(0x212)](_0x52d7ab)){const _0x1409bc=groupMembers[_0x41f399(0x1e2)](_0x52d7ab);_0x21aadf['infos'][_0x41f399(0x1ec)]((_0x357d38,_0xda8afd)=>{const _0x100d4c=_0x41f399,_0x13a405=_0x1409bc[_0x100d4c(0x1e2)](_0xda8afd);_0x13a405?Object['assign'](_0x13a405,_0x357d38):_0x1409bc[_0x100d4c(0x1d5)](_0xda8afd,_0x357d38);});}else groupMembers[_0x41f399(0x1d5)](_0x52d7ab,_0x21aadf[_0x41f399(0x1ef)]);},_0x5ce22f['onMemberInfoChange']=(_0x43b5c4,_0x1dc31b,_0x1e787f)=>{const _0x54d3fa=_0x329056;_0xa4db17[_0x54d3fa(0x1de)](_0x1dc31b,0x0)&&_0x1e787f[_0x54d3fa(0x1e2)](selfInfo['uid'])&&_0x1e787f[_0x54d3fa(0x1e2)](selfInfo[_0x54d3fa(0x1b0)])?.[_0x54d3fa(0x19f)]&&setTimeout(()=>{const _0x52279a=_0x54d3fa;groups[_0x52279a(0x1b2)](_0x43b5c4);},0x1388);_0x1e787f[_0x54d3fa(0x1ec)]((_0x300ba7,_0xa5b857)=>{const _0x495d59=_0x54d3fa;uid2UinMap[_0xa5b857]=_0x300ba7[_0x495d59(0x176)];});const _0x34a402=groupMembers[_0x54d3fa(0x1e2)](_0x43b5c4);_0x34a402?_0x1e787f[_0x54d3fa(0x1ec)]((_0x5f549f,_0xc12fad)=>{const _0x4db51c=_0x54d3fa,_0x4cd888=_0x34a402[_0x4db51c(0x1e2)](_0xc12fad);_0x4cd888?Object['assign'](_0x4cd888,_0x5f549f):_0x34a402[_0x4db51c(0x1d5)](_0xc12fad,_0x5f549f);}):groupMembers[_0x54d3fa(0x1d5)](_0x43b5c4,_0x1e787f);},this[_0x329056(0x1d8)](_0x5ce22f);}['addListener'](_0x471c53){const _0x175f60=_0x3ebcf4,_0x1d442a={'UvsJS':'GroupListener','ZQvSB':_0x175f60(0x1d3)};_0x471c53=new Proxy(_0x471c53,this['proxyHandler']);switch(_0x471c53[_0x175f60(0x20e)][_0x175f60(0x1c9)]){case'BuddyListener':{return this[_0x175f60(0x209)][_0x175f60(0x223)]()[_0x175f60(0x1a8)](new _0x3437b4[(_0x175f60(0x1e6))](_0x471c53));}case _0x1d442a[_0x175f60(0x21f)]:{return this[_0x175f60(0x209)][_0x175f60(0x1b1)]()['addKernelGroupListener'](new _0x3437b4[(_0x175f60(0x193))](_0x471c53));}case _0x175f60(0x215):{return this['session'][_0x175f60(0x1da)]()['addKernelMsgListener'](new _0x3437b4['NodeIKernelMsgListener'](_0x471c53));}case _0x1d442a['ZQvSB']:{return this['session']['getProfileService']()[_0x175f60(0x1cf)](new _0x3437b4[(_0x175f60(0x1e5))](_0x471c53));}default:return-0x1;}}[_0x3ebcf4(0x177)](_0x131bf5){const _0xe88567=_0x3ebcf4;this[_0xe88567(0x195)]['push'](_0x131bf5);}async[_0x3ebcf4(0x21a)](_0xd02c1d){const _0x4e81a4=_0x3ebcf4,_0x111b19={'XEpzv':function(_0x2b8666,_0x192f7a){return _0x2b8666!==_0x192f7a;},'zeCmL':function(_0x55f060,_0x2cb2f5){return _0x55f060+_0x2cb2f5;},'YPSRd':'快速登录失败\x20'},_0x5bbd8e=await this[_0x4e81a4(0x175)][_0x4e81a4(0x1e7)]();if(_0x111b19['XEpzv'](_0x5bbd8e['result'],0x0))throw new Error('没有可快速登录的QQ号');const _0x40cb7d=_0x5bbd8e[_0x4e81a4(0x185)]['find'](_0x5cec87=>_0x5cec87['uin']===_0xd02c1d);if(!_0x40cb7d||!_0x40cb7d?.['isQuickLogin'])throw new Error(_0xd02c1d+_0x4e81a4(0x1ee));await sleep(0x3e8);const _0x2f4dcd=await this[_0x4e81a4(0x175)]['quickLoginWithUin'](_0xd02c1d);if(!_0x2f4dcd[_0x4e81a4(0x1f0)])throw new Error(_0x111b19[_0x4e81a4(0x18b)](_0x111b19[_0x4e81a4(0x216)],_0x2f4dcd[_0x4e81a4(0x1e1)][_0x4e81a4(0x1c0)]));return _0x2f4dcd;}async['qrLogin'](_0x2b8a00){const _0xc7d688=_0x3ebcf4,_0xd116b9={'DmdrP':'data:image/png;base64,','XTMtD':_0xc7d688(0x1ce),'sBETS':function(_0x399e43,_0x262c0f,_0x52452a,_0x13b857){return _0x399e43(_0x262c0f,_0x52452a,_0x13b857);}};return new Promise((_0x53641c,_0x3226fe)=>{const _0x1419eb=_0xc7d688;this[_0x1419eb(0x18e)][_0x1419eb(0x206)]=_0x2c0dc8=>{const _0x5972aa=_0x1419eb,_0x2598ff=_0x2c0dc8[_0x5972aa(0x1cd)][_0x5972aa(0x1ed)](_0xd116b9[_0x5972aa(0x214)])[0x1],_0x2c7caf=Buffer[_0x5972aa(0x1b5)](_0x2598ff,_0xd116b9['XTMtD']);_0xd116b9[_0x5972aa(0x1dd)](_0x2b8a00,_0x2c0dc8[_0x5972aa(0x210)],_0x2c0dc8[_0x5972aa(0x1cd)],_0x2c7caf);},this['loginService']['getQRCodePicture']();});}async[_0x3ebcf4(0x20d)](_0x374293,_0x5e016b,_0x4a3a8e,_0x553d3b,_0x2f1570){const _0x209a51=_0x3ebcf4,_0x1cb6a1={'IjiBP':_0x209a51(0x207),'GKhYp':_0x209a51(0x222),'IJLVy':function(_0x2e0ea9,_0x5e727a){return _0x2e0ea9&&_0x5e727a;},'VeSGC':function(_0x5dee53,_0x500787){return _0x5dee53||_0x500787;},'chjUH':function(_0xad917b,_0x3d8184){return _0xad917b(_0x3d8184);},'EHfam':_0x209a51(0x1f8),'xDYHl':_0x209a51(0x1fd)},_0x2bf078=_0xde9169['createHash'](_0x1cb6a1['IjiBP'])['update'](_0x5e016b)['digest'](_0x1cb6a1[_0x209a51(0x1d2)]),_0x1f9ae0={'uin':_0x374293,'passwordMd5':_0x2bf078,'step':_0x1cb6a1[_0x209a51(0x1e4)](_0x4a3a8e,_0x553d3b)&&_0x2f1570?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x1cb6a1[_0x209a51(0x1ab)](_0x4a3a8e,''),'proofWaterRand':_0x553d3b||'','proofWaterSid':_0x1cb6a1[_0x209a51(0x1ab)](_0x2f1570,'')};await this[_0x209a51(0x175)]['getLoginList'](),await _0x1cb6a1['chjUH'](sleep,0x3e8);const _0x522afa=await this[_0x209a51(0x175)][_0x209a51(0x20d)](_0x1f9ae0);switch(_0x522afa[_0x209a51(0x1f0)]){case'0':{break;}case _0x1cb6a1[_0x209a51(0x1a5)]:{break;}case'4':case _0x1cb6a1[_0x209a51(0x1a0)]:default:}}async['getQuickLoginList'](){const _0xa01991=_0x3ebcf4,_0x4a694d=await this['loginService'][_0xa01991(0x1e7)]();return _0x4a694d;}}export const napCatCore=new NapCatCore();function _0x13f1(){const _0xfa1a1d=['sBETS','bJzyw','tipsTitle','map','loginErrorInfo','get','last_message_time','IJLVy','NodeIKernelProfileListener','NodeIKernelBuddyListener','getLoginList','dataPath','length','init','onQRCodeSessionFailed','forEach','split','快速登录不可用','infos','result','2139872PmTlcM','zdSGK','_GW_B','28890NnrKzh','getQRCodePicture','push','NRDol','140022008','数据库初始化失败','4212360EYifnb','XyDRs','eWHRN','140022013','dSJGZ','qgCTr','fileLogLevel','SQjBZ','Windows\x2010\x20Pro','dataPathGlobal','groupMemberList_MainWindow','proxyHandler','onQRCodeGetPicture','md5','initConfig','session','16137430cJpwel','catch','engine','passwordLogin','constructor','onRecvSysMsg','qrcodeUrl','BINns','has','mkdirSync','DmdrP','MsgListener','YPSRd','3RgeyLd','RUBvD','NodeIQQNTWrapperEngine','quickLogin','CAARh','recallTime','onAddSendMsg','getMsgByLongId','UvsJS','NGLtz','onLoginFailed','hex','getBuddyService','IdGXj','memberCount','NodeIQQNTWrapperSession','loginService','uin','onLoginSuccess','NodeIKernelLoginService','getNextMemberList','./.config/QQ','sceneId','now','NodeIGlobalAdapter','message_sent','\x20has\x20no\x20method\x20','then','updateMsg','bzWEb','getNTUserDataInfoConfig','1wLmjsb','LocalLoginInfoList','onKickedOffLine','./nt_qq/global','DtbjJ','MHFPI','yLDmq','zeCmL','nuPuA','WmVoX','loginListener','initSession','consoleLogLevel','fileLog','bBemf','NodeIKernelGroupListener','rZirn','onLoginSuccessFuncList','GWnce','homedir','stringify','IlnSw','onRecvMsg','startNT','896166UCngnH','当前账号(','JpATz','isDelete','xDYHl','buddyList','util','groupCode','floor','EHfam','onProfileDetailInfoChanged','PvncS','addKernelBuddyListener','resolve','message_received','VeSGC','init\x20failed\x20','登录失败','VZqrg','5344872BPapPf','uid','getGroupService','delete','./NapCat/data','addKernelLoginListener','from','1234665epXBWN','133VUONoW','onSelfStatusChanged','packet_received',')\x20在线状态变更','NodeIDispatcherAdapter','onQRCodeLoginSucceed','FWWQl','replace','assign','errMsg','onUserLoggedIn','VIPVQ','NCRQV','curVersion','initWithDeskTopConfig','本账号数据/缓存目录:','NodeIKernelLoginListener','onLineDev','name','tipsDesc','getBuddyList','onMsgInfoListUpdate','pngBase64QrcodeData','base64','addKernelProfileListener','NodeIKernelSessionListener','rXzJs','GKhYp','ProfileListener','packet_sent','set','nlhAV','YOahV','addListener','devUid','getMsgService','undefined','initDataListener'];_0x13f1=function(){return _0xfa1a1d;};return _0x13f1();} \ No newline at end of file +const _0x1d5c36=_0x59c7;(function(_0x5a873f,_0x1c704a){const _0xbf3524=_0x59c7,_0x3a1894=_0x5a873f();while(!![]){try{const _0x4debb8=parseInt(_0xbf3524(0x22b))/0x1*(-parseInt(_0xbf3524(0x1ca))/0x2)+parseInt(_0xbf3524(0x21c))/0x3*(parseInt(_0xbf3524(0x1e8))/0x4)+parseInt(_0xbf3524(0x215))/0x5+-parseInt(_0xbf3524(0x1e3))/0x6*(-parseInt(_0xbf3524(0x239))/0x7)+-parseInt(_0xbf3524(0x20e))/0x8*(-parseInt(_0xbf3524(0x277))/0x9)+parseInt(_0xbf3524(0x1d5))/0xa+-parseInt(_0xbf3524(0x23a))/0xb;if(_0x4debb8===_0x1c704a)break;else _0x3a1894['push'](_0x3a1894['shift']());}catch(_0x11eae7){_0x3a1894['push'](_0x3a1894['shift']());}}}(_0x5d2b,0x7090b));import _0x39b681 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0xa00eae from'node:path';import _0x3d329d from'node:os';import _0x3854b8 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x5d2b(){const _0x54a0a6=['NMFcI','has','length','vnWhn','LocalLoginInfoList','onBuddyListChange','mLArE','onQRCodeGetPicture','[KickedOffLine]\x20[','NodeIGlobalAdapter','initSession','fLxph','onGroupListUpdate','addKernelBuddyListener','fileLogLevel','799642LzBnuP','memberCount','init\x20failed\x20','NodeIKernelGroupListener','getMsgService','快速登录不可用','quickLogin','base64','Dbwtd','qrLogin','zjjjs','1688210DundcM','wcwvr','NHXXx','NodeQQNTWrapperUtil','read','find','caiYd','from','clientType','curVersion','fcWRS','addMsg','onLineDev','PaRdV','336bciPJx','uid','errMsg','NodeIKernelProfileListener','undefined','628YWZzMX','isQuickLogin','登录失败','GXnMV','zcthd','then','session','set','NodeIDispatcherAdapter','get','pngBase64QrcodeData',')已登录,无法重复登录','packet_received','ENMVp','NodeIDependsAdapter','last_message_time','qpeeM','getBuddyService','isDelete','dataPath','_GW_B','ycJYi','uin','JAdAl','addListener','digest','forEach','fileLog','cYCQS','cYZMi','dataPathGlobal','loginListener','RFlEv','getQRCodePicture','kcYdC','mecJK','BuddyListener','devUid','8keVDDo','GsXrN','账号设备(','JarPi','tipsTitle','getLoginList','fjAWK','2098350mAnSDH','bMuFx','result','homedir','LlMok','DqSRw','onMemberInfoChange','10803OMbdPt','140022008','qrcodeUrl','split','CuqOm','map','sceneId','当前账号(','message_received','onLoginSuccessFuncList','NmmHF','vUrUd','onUserLoggedIn','V1_WIN_NQ_','resolve','1FRsiKa','addKernelProfileListener','name','./.config/QQ','initWithDeskTopConfig','NodeIKernelLoginListener','140022013','onQRCodeLoginSucceed','YEXmV','md5','catch','KRSZq','assign','getNextMemberList','76181VfzQOZ','17566395dqZliS','NodeIKernelBuddyListener','getGroupService','onAddSendMsg','stringify','数据库初始化失败','OVPxi','tipsDesc','proxyHandler','msgId','buddyList','uOUAp','BlqBo','RQPSX','onMsgInfoListUpdate','initConfig','getQuickLoginList','message_sent','YjDyu','./nt_qq/global','groupMemberList_MainWindow','NodeIQQNTWrapperSession','icDHP','EexFd','onLoginSuccess','groupCode','addKernelLoginListener','dSJbZ','loginErrorInfo',')\x20在线状态变更','NodeIKernelMsgListener','启动失败:\x20','MsgListener','update','engine','getNTUserDataInfoConfig','-v2.db','EDalz','util','passwordLogin','getProfileService','data:image/png;base64,','packet_sent','rdmIQ','infos','loginService','push','mkdirSync','floor','onRecvMsg','quickLoginWithUin','hex','onLoginFailed','NodeIKernelSessionListener','快速登录失败\x20','createHash','onSelfStatusChanged','startNT','NodeIQQNTWrapperEngine','本账号数据/缓存目录:','initSession\x20failed','6250833ouygSA','没有可快速登录的QQ号','recallTime','delete','constructor','onProfileDetailInfoChanged','init','initDataListener','FjYdg','addKernelMsgListener'];_0x5d2b=function(){return _0x54a0a6;};return _0x5d2b();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0xa2e839 from'node:crypto';function _0x59c7(_0x457d9a,_0x26aa3d){const _0x5d2be9=_0x5d2b();return _0x59c7=function(_0x59c778,_0x37df10){_0x59c778=_0x59c778-0x1ca;let _0x25b4fa=_0x5d2be9[_0x59c778];return _0x25b4fa;},_0x59c7(_0x457d9a,_0x26aa3d);}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{[_0x1d5c36(0x1ee)];[_0x1d5c36(0x260)];[_0x1d5c36(0x25c)];[_0x1d5c36(0x207)];[_0x1d5c36(0x267)];[_0x1d5c36(0x225)]=[];[_0x1d5c36(0x242)]={'get'(target,prop,receiver){const _0x4252c7=_0x1d5c36;if(typeof target[prop]===_0x4252c7(0x1e7))return(...args)=>{const _0x31dc42=_0x4252c7;logDebug(target[_0x31dc42(0x27b)][_0x31dc42(0x22d)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x4252c7(0x1f1)](target,prop,receiver);}};constructor(){const _0x197ac8=_0x1d5c36,_0x1e22be={'GZrwC':function(_0x1d7fab,_0x3b3b2e){return _0x1d7fab(_0x3b3b2e);},'GXnMV':function(_0x4e0dfe,_0x123c21){return _0x4e0dfe+_0x123c21;},'CuqOm':_0x197ac8(0x223),'OVPxi':_0x197ac8(0x1f3),'GsXrN':function(_0x3baec8,_0x370f53,_0x5b9d89){return _0x3baec8(_0x370f53,_0x5b9d89);},'UIzQE':_0x197ac8(0x276),'zjjjs':function(_0x204f3e,_0x5020d4,_0x1d1741){return _0x204f3e(_0x5020d4,_0x1d1741);},'zcthd':_0x197ac8(0x23f),'vUrUd':function(_0x3ef066,_0x3b6eaf,_0x571fbe){return _0x3ef066(_0x3b6eaf,_0x571fbe);},'EoQNt':function(_0x438914,_0x23b501){return _0x438914(_0x23b501);},'fjAWK':'./NapCat/data','NmmHF':function(_0x369923,_0x1cd826){return _0x369923==_0x1cd826;},'dSJbZ':'登录失败'};this[_0x197ac8(0x25c)]=new _0x39b681[(_0x197ac8(0x274))](),this[_0x197ac8(0x260)]=new _0x39b681[(_0x197ac8(0x1d8))](),this[_0x197ac8(0x267)]=new _0x39b681['NodeIKernelLoginService'](),this[_0x197ac8(0x1ee)]=new _0x39b681[(_0x197ac8(0x24f))](),this['loginListener']=new LoginListener(),this[_0x197ac8(0x207)][_0x197ac8(0x228)]=_0x5aa6fc=>{const _0x2c0b57=_0x197ac8;_0x1e22be['GZrwC'](logError,_0x1e22be['GXnMV'](_0x1e22be[_0x2c0b57(0x1eb)](_0x1e22be[_0x2c0b57(0x220)],_0x5aa6fc),_0x1e22be[_0x2c0b57(0x240)]));},this['loginListener'][_0x197ac8(0x232)]=_0x589d88=>{const _0x311a23=_0x197ac8,_0x5dc9cf={'RQPSX':function(_0x5d752c,_0x5a554a,_0x221e6c){const _0x2b7259=_0x59c7;return _0x1e22be[_0x2b7259(0x1d4)](_0x5d752c,_0x5a554a,_0x221e6c);},'trRtE':_0x1e22be[_0x311a23(0x1ec)],'tetlz':function(_0xb529e,_0x744c11,_0x5d624f){return _0x1e22be['vUrUd'](_0xb529e,_0x744c11,_0x5d624f);},'caiYd':function(_0x4a1e9e,_0x41136a){return _0x1e22be['EoQNt'](_0x4a1e9e,_0x41136a);},'kScgd':function(_0x28f787,_0x248bd7){return _0x1e22be['EoQNt'](_0x28f787,_0x248bd7);},'tmCxv':_0x1e22be[_0x311a23(0x214)],'kcYdC':function(_0x132b29,_0x36520a,_0x3de517){return _0x1e22be['vUrUd'](_0x132b29,_0x36520a,_0x3de517);},'JarPi':_0x311a23(0x275)};this[_0x311a23(0x28b)](_0x589d88[_0x311a23(0x1fe)],_0x589d88[_0x311a23(0x1e4)])['then'](_0x2ea6d6=>{const _0x5b94b6=_0x311a23,_0x1d0a3f={'GuCvZ':function(_0x530d67,_0x16c591,_0x738876){const _0x1eb29d=_0x59c7;return _0x5dc9cf[_0x1eb29d(0x247)](_0x530d67,_0x16c591,_0x738876);},'LlMok':function(_0x5d41ce,_0x1970da,_0x53c0ef){return _0x5d41ce(_0x1970da,_0x53c0ef);},'DqSRw':_0x5dc9cf['trRtE']};selfInfo[_0x5b94b6(0x1fe)]=_0x589d88[_0x5b94b6(0x1fe)],selfInfo[_0x5b94b6(0x1e4)]=_0x589d88['uid'],napCatConfig[_0x5b94b6(0x1d9)](),_0x5dc9cf['tetlz'](setLogLevel,napCatConfig[_0x5b94b6(0x28f)],napCatConfig['consoleLogLevel']),_0x5dc9cf[_0x5b94b6(0x1db)](enableFileLog,napCatConfig[_0x5b94b6(0x203)]),enableConsoleLog(napCatConfig['consoleLog']),_0x5dc9cf['kScgd'](setLogSelfInfo,selfInfo);const _0x45e45e=_0xa00eae[_0x5b94b6(0x22a)](this[_0x5b94b6(0x1fb)],_0x5dc9cf['tmCxv']);_0x3854b8['mkdirSync'](_0x45e45e,{'recursive':!![]}),_0x5dc9cf[_0x5b94b6(0x20a)](logDebug,_0x5dc9cf[_0x5b94b6(0x211)],_0x45e45e),dbUtil[_0x5b94b6(0x27d)](_0xa00eae[_0x5b94b6(0x22a)](_0x45e45e,'./'+_0x589d88[_0x5b94b6(0x1fe)]+_0x5b94b6(0x25e)))[_0x5b94b6(0x1ed)](()=>{const _0x737f09=_0x5b94b6;this[_0x737f09(0x27e)](),this[_0x737f09(0x225)][_0x737f09(0x221)](_0x17af32=>{const _0x265436=_0x737f09,_0xba9904={'ynLnx':function(_0x239b31,_0x1a8a2f,_0x10a3bd){return _0x1d0a3f['GuCvZ'](_0x239b31,_0x1a8a2f,_0x10a3bd);},'YqDIH':function(_0x2151ff,_0x33da7f){return _0x2151ff instanceof _0x33da7f;}};new Promise((_0x528107,_0x453e6e)=>{const _0x1fce17=_0x59c7,_0x1226ba=_0xba9904['ynLnx'](_0x17af32,_0x589d88[_0x1fce17(0x1fe)],_0x589d88['uid']);_0xba9904['YqDIH'](_0x1226ba,Promise)&&_0x1226ba[_0x1fce17(0x1ed)](_0x528107)[_0x1fce17(0x235)](_0x453e6e);})[_0x265436(0x1ed)]();});})[_0x5b94b6(0x235)](_0x29a352=>{const _0x21b621=_0x5b94b6;_0x1d0a3f[_0x21b621(0x219)](logError,_0x1d0a3f[_0x21b621(0x21a)],_0x29a352);});})[_0x311a23(0x235)](_0x70b36a=>{const _0x2b14ea=_0x311a23;_0x1e22be[_0x2b14ea(0x20f)](logError,_0x1e22be['UIzQE'],_0x70b36a);throw new Error(_0x2b14ea(0x259)+JSON[_0x2b14ea(0x23e)](_0x70b36a));});},this[_0x197ac8(0x207)]['onQRCodeSessionFailed']=(_0xca9972,_0x1d4f17,_0x1c10ea)=>{const _0x23b2a1=_0x197ac8;_0x1e22be[_0x23b2a1(0x227)](logError,_0x23b2a1(0x1ea),_0x1c10ea),_0x1e22be[_0x23b2a1(0x226)](_0xca9972,0x1)&&_0x1d4f17==0x3&&this[_0x23b2a1(0x267)][_0x23b2a1(0x209)]();},this[_0x197ac8(0x207)][_0x197ac8(0x26e)]=_0x162b9b=>{const _0x14bf7a=_0x197ac8;_0x1e22be[_0x14bf7a(0x1d4)](logError,_0x1e22be[_0x14bf7a(0x255)],_0x162b9b);},this[_0x197ac8(0x207)]=new Proxy(this['loginListener'],this[_0x197ac8(0x242)]),this['loginService'][_0x197ac8(0x254)](new _0x39b681[(_0x197ac8(0x230))](this[_0x197ac8(0x207)])),this[_0x197ac8(0x249)]();}get[_0x1d5c36(0x1fb)](){const _0x887307=_0x1d5c36,_0x58393b={'mLArE':_0x887307(0x22e)};let _0x18f7f8=this[_0x887307(0x260)][_0x887307(0x25d)]();return!_0x18f7f8&&(_0x18f7f8=_0xa00eae[_0x887307(0x22a)](_0x3d329d[_0x887307(0x218)](),_0x58393b[_0x887307(0x287)]),_0x3854b8[_0x887307(0x269)](_0x18f7f8,{'recursive':!![]})),_0x18f7f8;}get[_0x1d5c36(0x206)](){const _0x468a49=_0x1d5c36,_0x554357={'hmyzI':_0x468a49(0x24d)};return _0xa00eae[_0x468a49(0x22a)](this[_0x468a49(0x1fb)],_0x554357['hmyzI']);}[_0x1d5c36(0x249)](){const _0x4bb68c=_0x1d5c36,_0x4e9db2={'NHXXx':'Windows\x2010\x20Pro'};this[_0x4bb68c(0x25c)][_0x4bb68c(0x22f)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x4bb68c(0x1de)],'os_version':_0x4e9db2[_0x4bb68c(0x1d7)],'use_xlog':!![],'qua':_0x4bb68c(0x229)+qqVersionConfigInfo[_0x4bb68c(0x1de)]['replace']('-','_')+_0x4bb68c(0x1fc),'global_path_config':{'desktopGlobalPath':this[_0x4bb68c(0x206)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x39b681[(_0x4bb68c(0x28a))](new GlobalAdapter())),this[_0x4bb68c(0x267)][_0x4bb68c(0x249)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x4bb68c(0x206)],'clientVer':qqVersionConfigInfo[_0x4bb68c(0x1de)],'hostName':hostname});}[_0x1d5c36(0x28b)](_0x526881,_0x293df4){const _0x8288dd=_0x1d5c36,_0x562dbb={'BlqBo':function(_0x9b5c2f,_0x5d2732){return _0x9b5c2f(_0x5d2732);},'fLxph':function(_0x3586b6,_0x2ab2bd,_0x3959b0,_0x3d1fb8){return _0x3586b6(_0x2ab2bd,_0x3959b0,_0x3d1fb8);},'IQBmo':_0x8288dd(0x1cc)};return new Promise((_0x2cf72b,_0xa47ea8)=>{const _0x5351a4=_0x8288dd,_0x381ad3={'RfYIo':function(_0x3990bb,_0x1cfecf){const _0x100ef5=_0x59c7;return _0x562dbb[_0x100ef5(0x246)](_0x3990bb,_0x1cfecf);}},_0x49093f=_0x562dbb[_0x5351a4(0x28c)](genSessionConfig,_0x526881,_0x293df4,this[_0x5351a4(0x1fb)]),_0x2ec35b=new SessionListener();_0x2ec35b['onSessionInitComplete']=_0x3bf2a3=>{if(_0x3bf2a3===0x0)return _0x2cf72b(0x0);_0x381ad3['RfYIo'](_0xa47ea8,_0x3bf2a3);},this[_0x5351a4(0x1ee)][_0x5351a4(0x27d)](_0x49093f,new _0x39b681[(_0x5351a4(0x1f6))](new DependsAdapter()),new _0x39b681[(_0x5351a4(0x1f0))](new DispatcherAdapter()),new _0x39b681[(_0x5351a4(0x26f))](_0x2ec35b));try{this['session'][_0x5351a4(0x273)](0x0);}catch(_0x4b4193){try{this[_0x5351a4(0x1ee)][_0x5351a4(0x273)]();}catch(_0xce3557){_0x562dbb[_0x5351a4(0x246)](_0xa47ea8,_0x562dbb['IQBmo']+_0xce3557);}}});}['initDataListener'](){const _0x142fe2=_0x1d5c36,_0x404d62={'WavIB':function(_0x3cb17d,_0x27f98b){return _0x3cb17d===_0x27f98b;},'EexFd':_0x142fe2(0x210),'PaRdV':function(_0xe9ec18,_0x3ff25d){return _0xe9ec18+_0x3ff25d;},'ycJYi':function(_0x5e0dfa,_0x436da5){return _0x5e0dfa+_0x436da5;},'EDalz':function(_0x4228b1,_0x787efa){return _0x4228b1===_0x787efa;},'fcWRS':function(_0x8ee367,_0x5d643a){return _0x8ee367/_0x5d643a;},'WoStC':function(_0x5c1064,_0x610d41){return _0x5c1064/_0x610d41;},'rdmIQ':function(_0x3e36bf,_0x2783e0){return _0x3e36bf!==_0x2783e0;},'bMuFx':_0x142fe2(0x24e),'icDHP':function(_0x4ddb90,_0x561b55,_0x3418b1){return _0x4ddb90(_0x561b55,_0x3418b1);}},_0x4e371a=new MsgListener();_0x4e371a[_0x142fe2(0x1e1)]=_0x32b0eb=>{const _0x275bd9=_0x142fe2,_0x1f6f53={'FjYdg':function(_0x3e79b3,_0x1ba407){return _0x404d62['WavIB'](_0x3e79b3,_0x1ba407);},'qpeeM':function(_0x41b2a2,_0x514979){return _0x41b2a2(_0x514979);},'JAdAl':function(_0x30f84c,_0x2c92b3){return _0x30f84c+_0x2c92b3;},'uOUAp':_0x404d62[_0x275bd9(0x251)]};_0x32b0eb[_0x275bd9(0x221)](_0x11a9c8=>{const _0x4252d=_0x275bd9;_0x1f6f53[_0x4252d(0x27f)](_0x11a9c8[_0x4252d(0x1dd)],0x2)&&_0x1f6f53[_0x4252d(0x1f8)](log,_0x1f6f53[_0x4252d(0x1ff)](_0x1f6f53[_0x4252d(0x1ff)](_0x1f6f53[_0x4252d(0x245)],_0x11a9c8[_0x4252d(0x20d)]),_0x4252d(0x257)));});},_0x4e371a['onKickedOffLine']=_0x31c170=>{const _0x5327fc=_0x142fe2;log(_0x404d62[_0x5327fc(0x1e2)](_0x404d62[_0x5327fc(0x1e2)](_0x404d62[_0x5327fc(0x1fd)](_0x5327fc(0x289),_0x31c170[_0x5327fc(0x212)]),']\x20'),_0x31c170[_0x5327fc(0x241)]));},_0x4e371a[_0x142fe2(0x248)]=_0x64a73e=>{const _0x29d635=_0x142fe2;stat[_0x29d635(0x1f4)]+=0x1,_0x64a73e[_0x29d635(0x221)](_0xfa6ea2=>{const _0x23a588=_0x29d635;_0x404d62[_0x23a588(0x25f)](_0xfa6ea2[_0x23a588(0x279)],'0')?dbUtil[_0x23a588(0x1e0)](_0xfa6ea2)['then']()['catch']():dbUtil['getMsgByLongId'](_0xfa6ea2[_0x23a588(0x243)])['then'](_0x5b6570=>{const _0x29dceb=_0x23a588;_0x5b6570&&(_0x5b6570[_0x29dceb(0x279)]=_0xfa6ea2['recallTime'],dbUtil['updateMsg'](_0x5b6570)[_0x29dceb(0x1ed)]());});});},_0x4e371a[_0x142fe2(0x23d)]=_0x155f05=>{const _0x3f35d4=_0x142fe2;stat[_0x3f35d4(0x264)]+=0x1,stat[_0x3f35d4(0x24b)]+=0x1,stat[_0x3f35d4(0x1f7)]=Math[_0x3f35d4(0x26a)](_0x404d62[_0x3f35d4(0x1df)](Date['now'](),0x3e8));},_0x4e371a[_0x142fe2(0x26b)]=_0x244e38=>{const _0x1238ad=_0x142fe2;stat[_0x1238ad(0x1f4)]+=0x1,stat[_0x1238ad(0x224)]+=_0x244e38[_0x1238ad(0x283)],stat['last_message_time']=Math[_0x1238ad(0x26a)](_0x404d62['WoStC'](Date['now'](),0x3e8));},_0x4e371a['onRecvSysMsg']=(..._0x5c0818)=>{const _0x3e9837=_0x142fe2;stat[_0x3e9837(0x1f4)]+=0x1;},this[_0x142fe2(0x200)](_0x4e371a);const _0x14380c=new BuddyListener();_0x14380c[_0x142fe2(0x286)]=_0x104beb=>{const _0x2a9074=_0x142fe2;rawFriends[_0x2a9074(0x283)]=0x0,rawFriends[_0x2a9074(0x268)](..._0x104beb);for(const _0x8f68c2 of _0x104beb){for(const _0x27219a of _0x8f68c2[_0x2a9074(0x244)]){const _0x194b85=friends[_0x2a9074(0x1f1)](_0x27219a['uid']);uid2UinMap[_0x27219a[_0x2a9074(0x1e4)]]=_0x27219a['uin'],_0x194b85?Object[_0x2a9074(0x237)](_0x194b85,_0x27219a):friends['set'](_0x27219a[_0x2a9074(0x1e4)],_0x27219a);}}},this[_0x142fe2(0x200)](_0x14380c),this[_0x142fe2(0x1ee)][_0x142fe2(0x1f9)]()['getBuddyList'](!![])[_0x142fe2(0x1ed)](_0xefbbf6=>{});const _0x509a7c=new ProfileListener();_0x509a7c[_0x142fe2(0x27c)]=_0x59e913=>{const _0x36066d=_0x142fe2;_0x404d62['WavIB'](_0x59e913['uid'],selfInfo['uid'])&&Object[_0x36066d(0x237)](selfInfo,_0x59e913);},_0x509a7c[_0x142fe2(0x272)]=_0x175116=>{},this['addListener'](_0x509a7c);const _0xc4c418=new GroupListener();_0xc4c418[_0x142fe2(0x28d)]=(_0x8fe70d,_0x3b7f9a)=>{const _0x369fc5=_0x142fe2,_0x29d79f={'WlYrP':function(_0xb2660c,_0x5016de){const _0x3fc717=_0x59c7;return _0x404d62[_0x3fc717(0x265)](_0xb2660c,_0x5016de);},'RFlEv':_0x404d62[_0x369fc5(0x216)]};_0x3b7f9a['map'](_0x5df45d=>{const _0x1b68a9=_0x369fc5,_0x3dc2df=groups[_0x1b68a9(0x1f1)](_0x5df45d[_0x1b68a9(0x253)]);if(_0x3dc2df&&_0x29d79f['WlYrP'](_0x5df45d[_0x1b68a9(0x1cb)],_0x3dc2df['memberCount']))Object[_0x1b68a9(0x237)](_0x3dc2df,_0x5df45d);else{groups[_0x1b68a9(0x1ef)](_0x5df45d['groupCode'],_0x5df45d);const _0x385707=this[_0x1b68a9(0x1ee)][_0x1b68a9(0x23c)]()['createMemberListScene'](_0x5df45d[_0x1b68a9(0x253)],_0x29d79f[_0x1b68a9(0x208)]);this[_0x1b68a9(0x1ee)][_0x1b68a9(0x23c)]()[_0x1b68a9(0x238)](_0x385707,undefined,0xbb8)['then'](_0x1e6ecf=>{});}});},_0xc4c418['onMemberListChange']=_0x41c308=>{const _0x50578f=_0x142fe2,_0xcaf59e=_0x41c308[_0x50578f(0x222)][_0x50578f(0x21f)]('_')[0x0];if(groupMembers[_0x50578f(0x282)](_0xcaf59e)){const _0x432578=groupMembers[_0x50578f(0x1f1)](_0xcaf59e);_0x41c308['infos'][_0x50578f(0x202)]((_0x5e90ac,_0x3d7563)=>{const _0x2e1f90=_0x50578f,_0x51bc91=_0x432578[_0x2e1f90(0x1f1)](_0x3d7563);_0x51bc91?Object[_0x2e1f90(0x237)](_0x51bc91,_0x5e90ac):_0x432578[_0x2e1f90(0x1ef)](_0x3d7563,_0x5e90ac);});}else groupMembers[_0x50578f(0x1ef)](_0xcaf59e,_0x41c308[_0x50578f(0x266)]);},_0xc4c418[_0x142fe2(0x21b)]=(_0x2ec5da,_0x4ddfa1,_0x3bf1d7)=>{const _0x3fbe20=_0x142fe2;_0x404d62['EDalz'](_0x4ddfa1,0x0)&&_0x3bf1d7[_0x3fbe20(0x1f1)](selfInfo[_0x3fbe20(0x1e4)])&&_0x3bf1d7[_0x3fbe20(0x1f1)](selfInfo[_0x3fbe20(0x1e4)])?.[_0x3fbe20(0x1fa)]&&_0x404d62[_0x3fbe20(0x250)](setTimeout,()=>{const _0x2c8c35=_0x3fbe20;groups[_0x2c8c35(0x27a)](_0x2ec5da);},0x1388);_0x3bf1d7[_0x3fbe20(0x202)]((_0x29b26d,_0x3b3ee4)=>{const _0x10b77d=_0x3fbe20;uid2UinMap[_0x3b3ee4]=_0x29b26d[_0x10b77d(0x1fe)];});const _0x1f7e57=groupMembers['get'](_0x2ec5da);_0x1f7e57?_0x3bf1d7[_0x3fbe20(0x202)]((_0x389b78,_0x1dfa7a)=>{const _0x331303=_0x3fbe20,_0x55333c=_0x1f7e57[_0x331303(0x1f1)](_0x1dfa7a);_0x55333c?Object[_0x331303(0x237)](_0x55333c,_0x389b78):_0x1f7e57['set'](_0x1dfa7a,_0x389b78);}):groupMembers[_0x3fbe20(0x1ef)](_0x2ec5da,_0x3bf1d7);},this[_0x142fe2(0x200)](_0xc4c418);}[_0x1d5c36(0x200)](_0x23f628){const _0x5a55fb=_0x1d5c36,_0x419775={'vnWhn':_0x5a55fb(0x20c),'SnFve':_0x5a55fb(0x25a)};_0x23f628=new Proxy(_0x23f628,this[_0x5a55fb(0x242)]);switch(_0x23f628[_0x5a55fb(0x27b)][_0x5a55fb(0x22d)]){case _0x419775[_0x5a55fb(0x284)]:{return this[_0x5a55fb(0x1ee)]['getBuddyService']()[_0x5a55fb(0x28e)](new _0x39b681[(_0x5a55fb(0x23b))](_0x23f628));}case'GroupListener':{return this['session']['getGroupService']()['addKernelGroupListener'](new _0x39b681[(_0x5a55fb(0x1cd))](_0x23f628));}case _0x419775['SnFve']:{return this[_0x5a55fb(0x1ee)][_0x5a55fb(0x1ce)]()[_0x5a55fb(0x280)](new _0x39b681[(_0x5a55fb(0x258))](_0x23f628));}case'ProfileListener':{return this[_0x5a55fb(0x1ee)][_0x5a55fb(0x262)]()[_0x5a55fb(0x22c)](new _0x39b681[(_0x5a55fb(0x1e6))](_0x23f628));}default:return-0x1;}}[_0x1d5c36(0x252)](_0x1395e0){this['onLoginSuccessFuncList']['push'](_0x1395e0);}async[_0x1d5c36(0x1d0)](_0x41ba2a){const _0x45014d=_0x1d5c36,_0x9e101e={'cYCQS':function(_0xeb508e,_0x16d571){return _0xeb508e!==_0x16d571;},'cYZMi':_0x45014d(0x278),'mecJK':function(_0x5024ee,_0x171993){return _0x5024ee+_0x171993;}},_0x153828=await this[_0x45014d(0x267)][_0x45014d(0x213)]();if(_0x9e101e[_0x45014d(0x204)](_0x153828[_0x45014d(0x217)],0x0))throw new Error(_0x9e101e[_0x45014d(0x205)]);const _0x350ca8=_0x153828[_0x45014d(0x285)][_0x45014d(0x1da)](_0x34d40d=>_0x34d40d['uin']===_0x41ba2a);if(!_0x350ca8||!_0x350ca8?.[_0x45014d(0x1e9)])throw new Error(_0x41ba2a+_0x45014d(0x1cf));await sleep(0x3e8);const _0x50f27b=await this[_0x45014d(0x267)][_0x45014d(0x26c)](_0x41ba2a);if(!_0x50f27b['result'])throw new Error(_0x9e101e[_0x45014d(0x20b)](_0x45014d(0x270),_0x50f27b[_0x45014d(0x256)][_0x45014d(0x1e5)]));return _0x50f27b;}async[_0x1d5c36(0x1d3)](_0x638c0a){const _0x3e4116=_0x1d5c36,_0x883b6b={'nXvEE':_0x3e4116(0x263)};return new Promise((_0x446ae4,_0x580231)=>{const _0x4605bd=_0x3e4116,_0x1b400a={'ENMVp':_0x883b6b['nXvEE'],'Dbwtd':_0x4605bd(0x1d1),'wcwvr':function(_0x115bed,_0x561cfd,_0x3b73f3,_0x40f025){return _0x115bed(_0x561cfd,_0x3b73f3,_0x40f025);}};this[_0x4605bd(0x207)][_0x4605bd(0x288)]=_0x212da8=>{const _0x1b2905=_0x4605bd,_0x578413=_0x212da8[_0x1b2905(0x1f2)][_0x1b2905(0x21f)](_0x1b400a[_0x1b2905(0x1f5)])[0x1],_0x596957=Buffer[_0x1b2905(0x1dc)](_0x578413,_0x1b400a[_0x1b2905(0x1d2)]);_0x1b400a[_0x1b2905(0x1d6)](_0x638c0a,_0x212da8[_0x1b2905(0x21e)],_0x212da8[_0x1b2905(0x1f2)],_0x596957);},this[_0x4605bd(0x267)][_0x4605bd(0x209)]();});}async[_0x1d5c36(0x261)](_0x30ee4a,_0x122983,_0x2edfa0,_0x44278b,_0x583c96){const _0x2ec51a=_0x1d5c36,_0x4b9a7d={'YjDyu':function(_0xb4558,_0x197952){return _0xb4558||_0x197952;},'NMFcI':function(_0x2569f5,_0x4f74fd){return _0x2569f5||_0x4f74fd;},'KRSZq':_0x2ec51a(0x21d),'YEXmV':_0x2ec51a(0x231)},_0x41d789=_0xa2e839[_0x2ec51a(0x271)](_0x2ec51a(0x234))[_0x2ec51a(0x25b)](_0x122983)[_0x2ec51a(0x201)](_0x2ec51a(0x26d)),_0x3ef2a6={'uin':_0x30ee4a,'passwordMd5':_0x41d789,'step':_0x2edfa0&&_0x44278b&&_0x583c96?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4b9a7d[_0x2ec51a(0x24c)](_0x2edfa0,''),'proofWaterRand':_0x44278b||'','proofWaterSid':_0x4b9a7d[_0x2ec51a(0x281)](_0x583c96,'')};await this['loginService'][_0x2ec51a(0x213)](),await sleep(0x3e8);const _0x2717bf=await this[_0x2ec51a(0x267)][_0x2ec51a(0x261)](_0x3ef2a6);switch(_0x2717bf[_0x2ec51a(0x217)]){case'0':{break;}case _0x4b9a7d[_0x2ec51a(0x236)]:{break;}case'4':case _0x4b9a7d[_0x2ec51a(0x233)]:default:}}async[_0x1d5c36(0x24a)](){const _0x1d8e19=_0x1d5c36,_0x56d6d5=await this[_0x1d8e19(0x267)][_0x1d8e19(0x213)]();return _0x56d6d5;}}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 7757a27e..56683a18 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x5a094b,_0x53bca0){const _0x3456d1=_0x31c6,_0x4f983c=_0x5a094b();while(!![]){try{const _0x4ae09a=parseInt(_0x3456d1(0x154))/0x1*(-parseInt(_0x3456d1(0x167))/0x2)+parseInt(_0x3456d1(0x15a))/0x3*(parseInt(_0x3456d1(0x16b))/0x4)+-parseInt(_0x3456d1(0x169))/0x5*(parseInt(_0x3456d1(0x163))/0x6)+-parseInt(_0x3456d1(0x16c))/0x7*(-parseInt(_0x3456d1(0x159))/0x8)+-parseInt(_0x3456d1(0x15f))/0x9*(-parseInt(_0x3456d1(0x15e))/0xa)+parseInt(_0x3456d1(0x16a))/0xb*(parseInt(_0x3456d1(0x153))/0xc)+-parseInt(_0x3456d1(0x161))/0xd*(parseInt(_0x3456d1(0x15d))/0xe);if(_0x4ae09a===_0x53bca0)break;else _0x4f983c['push'](_0x4f983c['shift']());}catch(_0x4caddb){_0x4f983c['push'](_0x4f983c['shift']());}}}(_0x59e3,0x8936e));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};function _0x31c6(_0x35d7d7,_0x2b617d){const _0x59e372=_0x59e3();return _0x31c6=function(_0x31c682,_0x1e4a6f){_0x31c682=_0x31c682-0x152;let _0x42b77b=_0x59e372[_0x31c682];return _0x42b77b;},_0x31c6(_0x35d7d7,_0x2b617d);}export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x38683a){const _0x5e820b=_0x31c6;groups[_0x5e820b(0x164)](_0x38683a),groupMembers[_0x5e820b(0x164)](_0x38683a);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};function _0x59e3(){const _0xfa9a31=['forEach','values','from','47744NGjoxX','15lfbwQC','toString','wtogw','20818drtaZM','10ockpIG','7553727kuARYX','vLIBs','20059KEEnWe','set','441186NHzJPt','delete','getGroupMembers','find','12AeFSrV','get','45CpSUlf','71621suZMQH','713308iGUJgo','1036GmiFwy','uin','2064TjVpoN','35974zPmWzG','getGroups'];_0x59e3=function(){return _0xfa9a31;};return _0x59e3();}export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x241e6e){const _0x340a30=_0x31c6,_0x33670b={'wtogw':function(_0x33b955,_0x412eaa){return _0x33b955(_0x412eaa);}};_0x241e6e=_0x241e6e[_0x340a30(0x15b)]();if(_0x33670b[_0x340a30(0x15c)](isNumeric,_0x241e6e)){const _0x887b8a=Array[_0x340a30(0x158)](friends[_0x340a30(0x157)]());return _0x887b8a[_0x340a30(0x166)](_0x1e9b17=>_0x1e9b17['uin']===_0x241e6e);}else return friends[_0x340a30(0x168)](_0x241e6e);}export async function getGroup(_0xa20a5d){const _0x5ea1e2=_0x31c6;let _0x12a308=groups[_0x5ea1e2(0x168)](_0xa20a5d[_0x5ea1e2(0x15b)]());if(!_0x12a308)try{const _0x10a3e8=await NTQQGroupApi[_0x5ea1e2(0x155)]();_0x10a3e8['length']&&_0x10a3e8[_0x5ea1e2(0x156)](_0x3246a2=>{const _0x41b173=_0x5ea1e2;groups[_0x41b173(0x162)](_0x3246a2['groupCode'],_0x3246a2);});}catch(_0x5453c1){return undefined;}return _0x12a308=groups['get'](_0xa20a5d[_0x5ea1e2(0x15b)]()),_0x12a308;}export async function getGroupMember(_0x42d756,_0x4ebf44){const _0x28311c=_0x31c6,_0x1223dc={'vLIBs':function(_0x4eb939){return _0x4eb939();}};_0x42d756=_0x42d756[_0x28311c(0x15b)](),_0x4ebf44=_0x4ebf44['toString']();let _0x550c2d=groupMembers[_0x28311c(0x168)](_0x42d756);if(!_0x550c2d)try{_0x550c2d=await NTQQGroupApi['getGroupMembers'](_0x42d756),groupMembers['set'](_0x42d756,_0x550c2d);}catch(_0x4f4d31){return null;}const _0x1b91eb=()=>{const _0x430760=_0x28311c;let _0x481c1e=undefined;return isNumeric(_0x4ebf44)?_0x481c1e=Array[_0x430760(0x158)](_0x550c2d['values']())['find'](_0x34adef=>_0x34adef[_0x430760(0x152)]===_0x4ebf44):_0x481c1e=_0x550c2d[_0x430760(0x168)](_0x4ebf44),_0x481c1e;};let _0x5ce91f=_0x1223dc[_0x28311c(0x160)](_0x1b91eb);return!_0x5ce91f&&(_0x550c2d=await NTQQGroupApi[_0x28311c(0x165)](_0x42d756),_0x5ce91f=_0x1223dc['vLIBs'](_0x1b91eb)),_0x5ce91f;}export const uid2UinMap={};export function getUidByUin(_0xb040d4){for(const _0x235ea2 in uid2UinMap){if(uid2UinMap[_0x235ea2]===_0xb040d4)return _0x235ea2;}}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 _0x684e1c=_0x5e2e;(function(_0x273df6,_0x3d0590){const _0x2e2059=_0x5e2e,_0x44525d=_0x273df6();while(!![]){try{const _0x523fb5=parseInt(_0x2e2059(0x14b))/0x1*(parseInt(_0x2e2059(0x14c))/0x2)+-parseInt(_0x2e2059(0x14e))/0x3+parseInt(_0x2e2059(0x145))/0x4*(parseInt(_0x2e2059(0x13e))/0x5)+-parseInt(_0x2e2059(0x142))/0x6*(parseInt(_0x2e2059(0x140))/0x7)+-parseInt(_0x2e2059(0x152))/0x8*(-parseInt(_0x2e2059(0x14d))/0x9)+-parseInt(_0x2e2059(0x153))/0xa+parseInt(_0x2e2059(0x144))/0xb*(-parseInt(_0x2e2059(0x13f))/0xc);if(_0x523fb5===_0x3d0590)break;else _0x44525d['push'](_0x44525d['shift']());}catch(_0x363429){_0x44525d['push'](_0x44525d['shift']());}}}(_0x2985,0x71a59));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x55b07e){const _0x657923=_0x5e2e;groups[_0x657923(0x148)](_0x55b07e),groupMembers['delete'](_0x55b07e);}function _0x5e2e(_0x527cee,_0x2f3db3){const _0x298502=_0x2985();return _0x5e2e=function(_0x5e2e09,_0x4ff203){_0x5e2e09=_0x5e2e09-0x139;let _0x29449c=_0x298502[_0x5e2e09];return _0x29449c;},_0x5e2e(_0x527cee,_0x2f3db3);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x684e1c(0x13c)};export async function getFriend(_0x9c0838){const _0x20435b=_0x684e1c;_0x9c0838=_0x9c0838[_0x20435b(0x13d)]();if(isNumeric(_0x9c0838)){const _0x3f000a=Array[_0x20435b(0x151)](friends[_0x20435b(0x147)]());return _0x3f000a[_0x20435b(0x14f)](_0x24a897=>_0x24a897[_0x20435b(0x141)]===_0x9c0838);}else return friends['get'](_0x9c0838);}export async function getGroup(_0x322b57){const _0x74bf25=_0x684e1c;let _0x5241fd=groups[_0x74bf25(0x146)](_0x322b57['toString']());if(!_0x5241fd)try{const _0x48425c=await NTQQGroupApi['getGroups']();_0x48425c[_0x74bf25(0x13b)]&&_0x48425c[_0x74bf25(0x143)](_0x377cac=>{const _0x4e13b9=_0x74bf25;groups[_0x4e13b9(0x150)](_0x377cac[_0x4e13b9(0x139)],_0x377cac);});}catch(_0x1883ec){return undefined;}return _0x5241fd=groups[_0x74bf25(0x146)](_0x322b57[_0x74bf25(0x13d)]()),_0x5241fd;}function _0x2985(){const _0x265b81=['ZFhBd','length','NapCat未能正常启动,请检查日志查看错误','toString','3814390nDvQDd','48MJNUYq','406cOavac','uin','48126OoxIMu','forEach','603559gYiyEY','4oImIom','get','values','delete','getGroupMembers','Ngzhf','48003wYPQVt','4DOvPeB','9awoFdd','847089GtggOC','find','set','from','5937336QCNkcI','1684970uPTkjv','groupCode'];_0x2985=function(){return _0x265b81;};return _0x2985();}export async function getGroupMember(_0x38c41b,_0x3019){const _0x2bc5ae=_0x684e1c,_0x4ccc68={'Ngzhf':function(_0x727cc9){return _0x727cc9();}};_0x38c41b=_0x38c41b[_0x2bc5ae(0x13d)](),_0x3019=_0x3019['toString']();let _0xc902bb=groupMembers['get'](_0x38c41b);if(!_0xc902bb)try{_0xc902bb=await NTQQGroupApi[_0x2bc5ae(0x149)](_0x38c41b),groupMembers['set'](_0x38c41b,_0xc902bb);}catch(_0xe5f38a){return null;}const _0x281ac8=()=>{const _0x5105d3=_0x2bc5ae;let _0x42b414=undefined;return isNumeric(_0x3019)?_0x42b414=Array[_0x5105d3(0x151)](_0xc902bb['values']())[_0x5105d3(0x14f)](_0x2a55c5=>_0x2a55c5[_0x5105d3(0x141)]===_0x3019):_0x42b414=_0xc902bb['get'](_0x3019),_0x42b414;};let _0x4f288e=_0x4ccc68[_0x2bc5ae(0x14a)](_0x281ac8);return!_0x4f288e&&(_0xc902bb=await NTQQGroupApi['getGroupMembers'](_0x38c41b),_0x4f288e=_0x4ccc68[_0x2bc5ae(0x14a)](_0x281ac8)),_0x4f288e;}export const uid2UinMap={};export function getUidByUin(_0x2b4f16){const _0x2377a4=_0x684e1c,_0x1ada14={'ZFhBd':function(_0x581338,_0x1feb4d){return _0x581338===_0x1feb4d;}};for(const _0x319065 in uid2UinMap){if(_0x1ada14[_0x2377a4(0x13a)](uid2UinMap[_0x319065],_0x2b4f16))return _0x319065;}}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 4035f858..b5638886 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x5c31(){var _0x1db4e6=['42294ppkGbi','zGRyP','3076eaeMyR','4454028cTVHPk','103085wXZQBT','dQpho','9459828FMoOhf','AUDIO','378mgINbc','OTHER','IMAGE','329540lgQAeX','1203ukPxVd','116VYCWoS','144XuCJoS','402788rQsLKv','nSEAa','aYVHC','33BEEUPR','QRnTE'];_0x5c31=function(){return _0x1db4e6;};return _0x5c31();}(function(_0x147917,_0x1cff81){var _0x4e2075=_0x82aa,_0xd3b3a3=_0x147917();while(!![]){try{var _0x361792=parseInt(_0x4e2075(0x1c7))/0x1+-parseInt(_0x4e2075(0x1ba))/0x2*(parseInt(_0x4e2075(0x1c4))/0x3)+-parseInt(_0x4e2075(0x1c5))/0x4*(-parseInt(_0x4e2075(0x1bc))/0x5)+-parseInt(_0x4e2075(0x1bb))/0x6+-parseInt(_0x4e2075(0x1b8))/0x7*(-parseInt(_0x4e2075(0x1c6))/0x8)+parseInt(_0x4e2075(0x1c0))/0x9*(-parseInt(_0x4e2075(0x1c3))/0xa)+-parseInt(_0x4e2075(0x1b6))/0xb*(-parseInt(_0x4e2075(0x1be))/0xc);if(_0x361792===_0x1cff81)break;else _0xd3b3a3['push'](_0xd3b3a3['shift']());}catch(_0x628cb6){_0xd3b3a3['push'](_0xd3b3a3['shift']());}}}(_0x5c31,0xb2872));;function _0x82aa(_0x28f252,_0x2953f2){var _0x5c31ab=_0x5c31();return _0x82aa=function(_0x82aa27,_0x4e839c){_0x82aa27=_0x82aa27-0x1b4;var _0x116513=_0x5c31ab[_0x82aa27];return _0x116513;},_0x82aa(_0x28f252,_0x2953f2);}export var CacheFileType;(function(_0x55408e){var _0x5eaa9a=_0x82aa,_0x3be7a7={'zGRyP':_0x5eaa9a(0x1c2),'dQpho':'VIDEO','QRnTE':_0x5eaa9a(0x1bf),'aYVHC':'DOCUMENT','nSEAa':_0x5eaa9a(0x1c1)};_0x55408e[_0x55408e[_0x5eaa9a(0x1c2)]=0x0]=_0x3be7a7[_0x5eaa9a(0x1b9)],_0x55408e[_0x55408e[_0x3be7a7['dQpho']]=0x1]=_0x3be7a7[_0x5eaa9a(0x1bd)],_0x55408e[_0x55408e[_0x3be7a7[_0x5eaa9a(0x1b7)]]=0x2]=_0x3be7a7[_0x5eaa9a(0x1b7)],_0x55408e[_0x55408e[_0x3be7a7['aYVHC']]=0x3]=_0x3be7a7[_0x5eaa9a(0x1b5)],_0x55408e[_0x55408e[_0x3be7a7['nSEAa']]=0x4]=_0x3be7a7[_0x5eaa9a(0x1b4)];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x1b0364,_0x4ede44){var _0x3ace02=_0x2d3c,_0x37927a=_0x1b0364();while(!![]){try{var _0x44d3ea=parseInt(_0x3ace02(0x1e2))/0x1*(parseInt(_0x3ace02(0x1e8))/0x2)+parseInt(_0x3ace02(0x1df))/0x3*(parseInt(_0x3ace02(0x1ec))/0x4)+parseInt(_0x3ace02(0x1ed))/0x5*(parseInt(_0x3ace02(0x1ea))/0x6)+parseInt(_0x3ace02(0x1f0))/0x7+parseInt(_0x3ace02(0x1e0))/0x8+-parseInt(_0x3ace02(0x1e4))/0x9*(parseInt(_0x3ace02(0x1eb))/0xa)+-parseInt(_0x3ace02(0x1ee))/0xb;if(_0x44d3ea===_0x4ede44)break;else _0x37927a['push'](_0x37927a['shift']());}catch(_0xf2274f){_0x37927a['push'](_0x37927a['shift']());}}}(_0x5d35,0xda027));function _0x5d35(){var _0x56b177=['UMYbs','3252khkeZt','miapj','9653364huoPWo','3|4|1|2|0','nfCPO','mItLj','132xHCOQL','split','318ZNCXAb','10IfCwlz','20OHoCaV','53645vjjxCt','36541417AZJpXZ','AUDIO','8955569pyicsN','OTHER','DOCUMENT','IMAGE','999453arEvoi','12472952lcozqR'];_0x5d35=function(){return _0x56b177;};return _0x5d35();}function _0x2d3c(_0x22b203,_0x335719){var _0x5d3544=_0x5d35();return _0x2d3c=function(_0x2d3c1d,_0x2b08de){_0x2d3c1d=_0x2d3c1d-0x1de;var _0x560f6=_0x5d3544[_0x2d3c1d];return _0x560f6;},_0x2d3c(_0x22b203,_0x335719);};export var CacheFileType;(function(_0x346960){var _0xd98d11=_0x2d3c,_0xbfac36={'IaGIu':_0xd98d11(0x1e5),'miapj':'OTHER','nfCPO':_0xd98d11(0x1ef),'mItLj':_0xd98d11(0x1de),'UMYbs':'VIDEO'},_0x115f07=_0xbfac36['IaGIu'][_0xd98d11(0x1e9)]('|'),_0xc50414=0x0;while(!![]){switch(_0x115f07[_0xc50414++]){case'0':_0x346960[_0x346960[_0xbfac36[_0xd98d11(0x1e3)]]=0x4]=_0xd98d11(0x1f1);continue;case'1':_0x346960[_0x346960[_0xbfac36[_0xd98d11(0x1e6)]]=0x2]=_0xbfac36[_0xd98d11(0x1e6)];continue;case'2':_0x346960[_0x346960['DOCUMENT']=0x3]=_0xd98d11(0x1f2);continue;case'3':_0x346960[_0x346960[_0xd98d11(0x1de)]=0x0]=_0xbfac36[_0xd98d11(0x1e7)];continue;case'4':_0x346960[_0x346960[_0xbfac36[_0xd98d11(0x1e1)]]=0x1]=_0xbfac36[_0xd98d11(0x1e1)];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 3ab3a1f0..573e74e6 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x513033=_0x485d;(function(_0x2e3a9f,_0x4377af){const _0x16fe8f=_0x485d,_0x233b83=_0x2e3a9f();while(!![]){try{const _0x32a834=-parseInt(_0x16fe8f(0xf2))/0x1+-parseInt(_0x16fe8f(0x125))/0x2*(parseInt(_0x16fe8f(0x12d))/0x3)+-parseInt(_0x16fe8f(0xe4))/0x4*(parseInt(_0x16fe8f(0xf6))/0x5)+parseInt(_0x16fe8f(0x10d))/0x6+-parseInt(_0x16fe8f(0xe3))/0x7*(-parseInt(_0x16fe8f(0x110))/0x8)+-parseInt(_0x16fe8f(0x111))/0x9+parseInt(_0x16fe8f(0xd6))/0xa;if(_0x32a834===_0x4377af)break;else _0x233b83['push'](_0x233b83['shift']());}catch(_0x158086){_0x233b83['push'](_0x233b83['shift']());}}}(_0x44a8,0xb04bb));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3e825d}from'node:fs';function _0x485d(_0x2daad1,_0xdb08b7){const _0x44a803=_0x44a8();return _0x485d=function(_0x485d54,_0x14cc83){_0x485d54=_0x485d54-0xd2;let _0x12b8cc=_0x44a803[_0x485d54];return _0x12b8cc;},_0x485d(_0x2daad1,_0xdb08b7);}import _0x3e01e5 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 _0x24cd5c from'./face_config.json';import*as _0x111097 from'node:path';function _0x44a8(){const _0x2d7c66=['FACE','stringify','Bot\x20Test','https://www.bilibili.com/','AniStickerType','markdown','MARKDOWN','PIC','error','bGhFK','bNmkZ','文件异常,大小为0','aySGV','921686RAmzDB','miniapp','toString','width','replace','[骰子]','获取视频封面失败,使用默认封面','RPS','3xseTGd','PTT','ARK','_0.png','sep','JqqCh','18927680rgfMEj','QSid','UgLtp','获取视频信息失败','MFACE','Ori','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','pic','join','wbYWf','find','getImageSize','unlink','49YsURwz','8QadRLo','CRlJj','video','tNVfI','Thumb','notAt','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','end','jpg','VIDEO','QhwFV','GhzoY','KVhCL','copyFile','462170CLnvpN','file','FILE','sysface','1430150RUwFWc','aqpOD','hvLde','kGdng','stat','FSiye','size','sYuAC','then','nTMYj','AniStickerPackId','uploadFile','[包剪锤]','JYBds','emoji','dice','writeFile','FJglJ','catch','kouuh','reply','TEXT','mface','3129210JgznHu','text','gif','84184fVpCfE','2437056neJbJt','tgPTr','height','time','dirname','string','AEnwe'];_0x44a8=function(){return _0x2d7c66;};return _0x44a8();}import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x513033(0x10e)](_0x4c3e0e){const _0x17788a=_0x513033;return{'elementType':ElementType[_0x17788a(0x10b)],'elementId':'','textElement':{'content':_0x4c3e0e,'atType':AtType[_0x17788a(0xe9)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x29ee1d,_0x585405,_0xe71ee8,_0x10eea3){const _0x1afe10=_0x513033;return{'elementType':ElementType[_0x1afe10(0x10b)],'elementId':'','textElement':{'content':'@'+_0x10eea3,'atType':_0xe71ee8,'atUid':_0x29ee1d,'atTinyId':'','atNtUid':_0x585405}};}static[_0x513033(0x10a)](_0x42154d,_0x767fcd,_0x17eb1d,_0x395451){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x42154d,'replayMsgId':_0x767fcd,'senderUin':_0x17eb1d,'senderUinStr':_0x395451}};}static async[_0x513033(0xdd)](_0x157ec2,_0x41be68='',_0x19c5a7=0x0){const _0x544854=_0x513033,_0x12f8a5={'xHQXh':function(_0x5650e3,_0x213866){return _0x5650e3(_0x213866);}},{md5:_0x4f23be,fileName:_0x85814c,path:_0x2f8aec,fileSize:_0x4951de}=await NTQQFileApi[_0x544854(0x101)](_0x157ec2,ElementType['PIC'],_0x19c5a7);if(_0x4951de===0x0)throw _0x544854(0x123);const _0x2e7f1a=await NTQQFileApi[_0x544854(0xe1)](_0x157ec2),_0x5a29a3={'md5HexStr':_0x4f23be,'fileSize':_0x4951de['toString'](),'picWidth':_0x2e7f1a?.['width'],'picHeight':_0x2e7f1a?.[_0x544854(0x113)],'fileName':_0x85814c,'sourcePath':_0x2f8aec,'original':!![],'picType':_0x12f8a5['xHQXh'](isGIF,_0x157ec2)?PicType[_0x544854(0x10f)]:PicType[_0x544854(0xec)],'picSubType':_0x19c5a7,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x41be68};return{'elementType':ElementType[_0x544854(0x11f)],'elementId':'','picElement':_0x5a29a3};}static async[_0x513033(0xf3)](_0x4fb41e,_0x52fee4=''){const _0xaf332d=_0x513033,_0x546759={'inBom':function(_0x4a1070,_0x1576ad){return _0x4a1070===_0x1576ad;},'aqpOD':function(_0x74744b,_0x114ce7){return _0x74744b||_0x114ce7;}},{md5:_0x304f56,fileName:_0x21c9c7,path:_0x2a138a,fileSize:_0x79c2}=await NTQQFileApi[_0xaf332d(0x101)](_0x4fb41e,ElementType['FILE']);if(_0x546759['inBom'](_0x79c2,0x0))throw _0xaf332d(0x123);const _0x2bc1cb={'elementType':ElementType[_0xaf332d(0xf4)],'elementId':'','fileElement':{'fileName':_0x546759[_0xaf332d(0xf7)](_0x52fee4,_0x21c9c7),'filePath':_0x2a138a,'fileSize':_0x79c2[_0xaf332d(0x127)]()}};return _0x2bc1cb;}static async[_0x513033(0xe6)](_0x4e76bc,_0x9b2546='',_0x4a3681=''){const _0x33e8b7=_0x513033,_0x3a1001={'hvLde':function(_0x113f6b,_0xa2e1ff){return _0x113f6b(_0xa2e1ff);},'HgwGT':_0x33e8b7(0x12b),'bGhFK':_0x33e8b7(0xeb),'JqqCh':function(_0x560731,_0x5d8f39){return _0x560731+_0x5d8f39;},'tgPTr':function(_0x3c11b5,_0x411d74){return _0x3c11b5+_0x411d74;},'aySGV':function(_0xe62321,_0x484566){return _0xe62321===_0x484566;},'KVhCL':'文件异常,大小为0','Spyze':'mp4','AEnwe':function(_0x374d5a,_0x2c8742){return _0x374d5a(_0x2c8742);},'FSiye':_0x33e8b7(0xd9),'OSoBH':function(_0x10f859,_0x4b934a){return _0x10f859||_0x4b934a;}},{fileName:_0x7d2dc7,path:_0x4cd41c,fileSize:_0xe96eea,md5:_0x739f50}=await NTQQFileApi[_0x33e8b7(0x101)](_0x4e76bc,ElementType[_0x33e8b7(0xed)]);if(_0x3a1001[_0x33e8b7(0x124)](_0xe96eea,0x0))throw _0x3a1001[_0x33e8b7(0xf0)];let _0x3cbe58=_0x4cd41c[_0x33e8b7(0x129)](_0x111097[_0x33e8b7(0xd4)]+_0x33e8b7(0xdb)+_0x111097[_0x33e8b7(0xd4)],_0x111097[_0x33e8b7(0xd4)]+_0x33e8b7(0xe8)+_0x111097[_0x33e8b7(0xd4)]);_0x3cbe58=_0x111097[_0x33e8b7(0x115)](_0x3cbe58);let _0x2d3e5e={'width':0x780,'height':0x438,'time':0xf,'format':_0x3a1001['Spyze'],'size':_0xe96eea,'filePath':_0x4e76bc};try{_0x2d3e5e=await _0x3a1001[_0x33e8b7(0x117)](getVideoInfo,_0x4cd41c);}catch(_0x1b5e62){logError(_0x3a1001[_0x33e8b7(0xfb)],_0x1b5e62);}const _0x2b37bc=new Promise((_0x1d8315,_0x3fce33)=>{const _0x2cc8b5=_0x33e8b7,_0x9d8ef4={'kGdng':function(_0x23df15,_0xf4b615){const _0x1d9754=_0x485d;return _0x3a1001[_0x1d9754(0xf8)](_0x23df15,_0xf4b615);},'wbYWf':function(_0x1865a3,_0x5ec40e){const _0x15a237=_0x485d;return _0x3a1001[_0x15a237(0xf8)](_0x1865a3,_0x5ec40e);},'sYuAC':_0x3a1001['HgwGT']},_0x2ad4ee=_0x739f50+_0x2cc8b5(0xd3),_0x2ddc74=_0x111097[_0x2cc8b5(0xde)](_0x3cbe58,_0x2ad4ee);_0x3e01e5(_0x4e76bc)['on'](_0x3a1001[_0x2cc8b5(0x121)],()=>{})['on'](_0x2cc8b5(0x120),_0x57b24e=>{const _0x203482=_0x2cc8b5,_0xb645ff={'CRlJj':function(_0x348d91,_0x4cebc7){const _0x114379=_0x485d;return _0x9d8ef4[_0x114379(0xdf)](_0x348d91,_0x4cebc7);}};logDebug(_0x9d8ef4[_0x203482(0xfd)],_0x57b24e),_0x4a3681?_0x3e825d[_0x203482(0xf1)](_0x4a3681,_0x2ddc74)['then'](()=>{const _0x303191=_0x203482;_0x9d8ef4[_0x303191(0xf9)](_0x1d8315,_0x2ddc74);})[_0x203482(0x108)](_0x3fce33):_0x3e825d[_0x203482(0x106)](_0x2ddc74,defaultVideoThumb)[_0x203482(0xfe)](()=>{const _0x627721=_0x203482;_0xb645ff[_0x627721(0xe5)](_0x1d8315,_0x2ddc74);})[_0x203482(0x108)](_0x3fce33);})['screenshots']({'timestamps':[0x0],'filename':_0x2ad4ee,'folder':_0x3cbe58,'size':_0x3a1001[_0x2cc8b5(0xd5)](_0x3a1001[_0x2cc8b5(0x112)](_0x2d3e5e[_0x2cc8b5(0x128)],'x'),_0x2d3e5e[_0x2cc8b5(0x113)])})['on'](_0x2cc8b5(0xeb),()=>{const _0x14f91b=_0x2cc8b5;_0x3a1001[_0x14f91b(0xf8)](_0x1d8315,_0x2ddc74);});}),_0x2ecab5=new Map(),_0x48f2e0=await _0x2b37bc,_0x21fe0c=(await _0x3e825d[_0x33e8b7(0xfa)](_0x48f2e0))[_0x33e8b7(0xfc)];_0x2ecab5['set'](0x0,_0x48f2e0);const _0x2709fd=await calculateFileMD5(_0x48f2e0),_0x5a79fd={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x3a1001['OSoBH'](_0x9b2546,_0x7d2dc7),'filePath':_0x4cd41c,'videoMd5':_0x739f50,'thumbMd5':_0x2709fd,'fileTime':_0x2d3e5e[_0x33e8b7(0x114)],'thumbPath':_0x2ecab5,'thumbSize':_0x21fe0c,'thumbWidth':_0x2d3e5e[_0x33e8b7(0x128)],'thumbHeight':_0x2d3e5e['height'],'fileSize':_0x3a1001['tgPTr']('',_0xe96eea)}};return _0x5a79fd;}static async['ptt'](_0x62a05a){const _0x3b7e97=_0x513033,_0x153b1b={'jOEIf':function(_0x4f9aae,_0x3182b9){return _0x4f9aae(_0x3182b9);},'tNVfI':function(_0x26d585,_0x57ebbc){return _0x26d585===_0x57ebbc;},'kouuh':_0x3b7e97(0x123),'bNmkZ':function(_0x212a2c,_0x4b761c){return _0x212a2c||_0x4b761c;}},{converted:_0x7eb0fe,path:_0x3a33fb,duration:_0x5a7763}=await _0x153b1b['jOEIf'](encodeSilk,_0x62a05a);if(!_0x3a33fb)throw'语音转换失败,\x20请检查语音文件是否正常';const {md5:_0x18797c,fileName:_0x5c4fad,path:_0x144b2d,fileSize:_0x49d05b}=await NTQQFileApi['uploadFile'](_0x3a33fb,ElementType[_0x3b7e97(0x12e)]);if(_0x153b1b[_0x3b7e97(0xe7)](_0x49d05b,0x0))throw _0x153b1b[_0x3b7e97(0x109)];return _0x7eb0fe&&_0x3e825d[_0x3b7e97(0xe2)](_0x3a33fb)[_0x3b7e97(0xfe)](),{'elementType':ElementType[_0x3b7e97(0x12e)],'elementId':'','pttElement':{'fileName':_0x5c4fad,'filePath':_0x144b2d,'md5HexStr':_0x18797c,'fileSize':_0x49d05b,'duration':_0x153b1b[_0x3b7e97(0x122)](_0x5a7763,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'](_0x2826dc){const _0x4e85d3=_0x513033,_0x35b1ab={'nTMYj':function(_0x1e6b7e,_0x1913d8){return _0x1e6b7e>=_0x1913d8;}},_0x5e9ce4=_0x24cd5c[_0x4e85d3(0xf5)],_0xeb8f21=_0x24cd5c[_0x4e85d3(0x104)],_0x30d9e5=_0x5e9ce4[_0x4e85d3(0xe0)](_0x349631=>_0x349631[_0x4e85d3(0xd7)]===_0x2826dc[_0x4e85d3(0x127)]());_0x2826dc=parseInt(_0x2826dc['toString']());let _0x20dd6d=0x1;return _0x35b1ab[_0x4e85d3(0xff)](_0x2826dc,0xde)&&(_0x20dd6d=0x2),_0x30d9e5[_0x4e85d3(0x11c)]&&(_0x20dd6d=0x3),{'elementType':ElementType[_0x4e85d3(0x118)],'elementId':'','faceElement':{'faceIndex':_0x2826dc,'faceType':_0x20dd6d,'faceText':_0x30d9e5['QDes'],'stickerId':_0x30d9e5['AniStickerId'],'stickerType':_0x30d9e5[_0x4e85d3(0x11c)],'packId':_0x30d9e5[_0x4e85d3(0x100)],'sourceType':0x1}};}static[_0x513033(0x10c)](_0x3837d6,_0x5d6f9f,_0x28faeb,_0x6cbc6){const _0x2e5630=_0x513033,_0x26d97b={'FJglJ':'[商城表情]'};return{'elementType':ElementType[_0x2e5630(0xda)],'marketFaceElement':{'emojiPackageId':_0x3837d6,'emojiId':_0x5d6f9f,'key':_0x28faeb,'faceName':_0x6cbc6||mFaceCache['get'](_0x5d6f9f)||_0x26d97b[_0x2e5630(0x107)]}};}static[_0x513033(0x105)](_0x3ca904){const _0x3d3d47=_0x513033;return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3d3d47(0x105)],'faceType':FaceType['dice'],'faceText':_0x3d3d47(0x12a),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x8f966c){const _0x4c1d01=_0x513033,_0x37d8ef={'AKNMI':_0x4c1d01(0x102)};return{'elementType':ElementType[_0x4c1d01(0x118)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x4c1d01(0x12c)],'faceText':_0x37d8ef['AKNMI'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x539f1a){const _0x39a52e=_0x513033,_0x360612={'UgLtp':function(_0x5dc35d,_0x213258){return _0x5dc35d!==_0x213258;},'GhzoY':_0x39a52e(0x116)};return _0x360612[_0x39a52e(0xd8)](typeof _0x539f1a,_0x360612[_0x39a52e(0xef)])&&(_0x539f1a=JSON[_0x39a52e(0x119)](_0x539f1a)),{'elementType':ElementType[_0x39a52e(0xd2)],'elementId':'','arkElement':{'bytesData':_0x539f1a,'linkInfo':null,'subElementType':null}};}static[_0x513033(0x11d)](_0x249e47){const _0x251b2b=_0x513033;return{'elementType':ElementType[_0x251b2b(0x11e)],'elementId':'','markdownElement':{'content':_0x249e47}};}static async[_0x513033(0x126)](){const _0x384a06=_0x513033,_0x1f0964={'QhwFV':_0x384a06(0x11a),'JYBds':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x19c853=await SignMiniApp({'prompt':_0x384a06(0x11a),'title':_0x1f0964['QhwFV'],'preview':_0x384a06(0xdc),'jumpUrl':_0x384a06(0x11b),'tag':_0x1f0964[_0x384a06(0xee)],'tagIcon':_0x384a06(0xea),'source':_0x1f0964[_0x384a06(0xee)],'sourcelogo':_0x1f0964[_0x384a06(0x103)]});return{'elementType':ElementType[_0x384a06(0xd2)],'elementId':'','arkElement':{'bytesData':_0x19c853,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x556832=_0x3f8a;function _0x243c(){const _0x47647b=['RPS','语音转换失败,\x20请检查语音文件是否正常','Wrigr','width','dice','https://www.bilibili.com/','catch','DiUzz','PDGrj','CzpHd','QSid','28688693Yrybbk','text','6SOIHMl','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','then','JQScV','GDbMd','FILE','hOBkU','MFACE','PTT','MARKDOWN','531107KFADUP','xfrHx','获取视频封面失败,使用默认封面','face','DYGwO','HZkGh','ptt','fYPaL','REPLY','replace','文件异常,大小为0','screenshots','JjgFs','cldmC','ekrSv','PIC','hEzGn','miniapp','markdown','Thumb','sep','4372060bBRNyk','Ori','height','end','10614033ScyTQK','getImageSize','mWtmY','10yuazkA','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','rjfNn','_0.png','3875088fuFwlZ','sHdUG','FACE','uploadFile','WEjkR','mface','HVZlL','AniStickerId','toString','jpg','find','28UDIEHz','AniStickerPackId','set','gif','获取视频信息失败','sysface','OUChS','error','4sRKRKT','1315516aWtoBp','VIDEO','file','HjXdK','XLfms','HZVHd','ark','AoZyU','ddUVU','2294574wYpDaC','copyFile','notAt','ARK','TEXT','ZBFBA','AniStickerType'];_0x243c=function(){return _0x47647b;};return _0x243c();}(function(_0xafb36d,_0x35a22f){const _0x3cae36=_0x3f8a,_0xff409c=_0xafb36d();while(!![]){try{const _0x3ea9c4=parseInt(_0x3cae36(0x14a))/0x1*(-parseInt(_0x3cae36(0x122))/0x2)+-parseInt(_0x3cae36(0x140))/0x3*(parseInt(_0x3cae36(0x123))/0x4)+-parseInt(_0x3cae36(0x104))/0x5+-parseInt(_0x3cae36(0x12c))/0x6*(-parseInt(_0x3cae36(0x11a))/0x7)+parseInt(_0x3cae36(0x10f))/0x8+-parseInt(_0x3cae36(0x108))/0x9+parseInt(_0x3cae36(0x10b))/0xa*(parseInt(_0x3cae36(0x13e))/0xb);if(_0x3ea9c4===_0x35a22f)break;else _0xff409c['push'](_0xff409c['shift']());}catch(_0x41603f){_0xff409c['push'](_0xff409c['shift']());}}}(_0x243c,0xcf23c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x40db07}from'node:fs';import _0x11e775 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 _0x4f9b58 from'./face_config.json';import*as _0x1dea1c from'node:path';import{SignMiniApp}from'../apis';function _0x3f8a(_0x12fe48,_0x56af65){const _0x243c67=_0x243c();return _0x3f8a=function(_0x3f8a54,_0x2ba469){_0x3f8a54=_0x3f8a54-0xf6;let _0x79a5db=_0x243c67[_0x3f8a54];return _0x79a5db;},_0x3f8a(_0x12fe48,_0x56af65);}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x556832(0x13f)](_0x3ded5c){const _0x5503c1=_0x556832;return{'elementType':ElementType[_0x5503c1(0x130)],'elementId':'','textElement':{'content':_0x3ded5c,'atType':AtType[_0x5503c1(0x12e)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3eeb54,_0xc271c3,_0x4dd55d,_0x2e1aaa){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x2e1aaa,'atType':_0x4dd55d,'atUid':_0x3eeb54,'atTinyId':'','atNtUid':_0xc271c3}};}static['reply'](_0x29457d,_0xafd800,_0x55e951,_0x4f493e){const _0x24443c=_0x556832;return{'elementType':ElementType[_0x24443c(0xf7)],'elementId':'','replyElement':{'replayMsgSeq':_0x29457d,'replayMsgId':_0xafd800,'senderUin':_0x55e951,'senderUinStr':_0x4f493e}};}static async['pic'](_0xa84808,_0x239974='',_0x28b022=0x0){const _0x195872=_0x556832,_0xd1d51={'xfrHx':function(_0x26ff11,_0x272ba6){return _0x26ff11===_0x272ba6;}},{md5:_0x3e613e,fileName:_0x384298,path:_0x23a650,fileSize:_0x81368}=await NTQQFileApi[_0x195872(0x112)](_0xa84808,ElementType[_0x195872(0xfe)],_0x28b022);if(_0xd1d51[_0x195872(0x14b)](_0x81368,0x0))throw _0x195872(0xf9);const _0x588c2a=await NTQQFileApi[_0x195872(0x109)](_0xa84808),_0x581d37={'md5HexStr':_0x3e613e,'fileSize':_0x81368[_0x195872(0x117)](),'picWidth':_0x588c2a?.[_0x195872(0x136)],'picHeight':_0x588c2a?.[_0x195872(0x106)],'fileName':_0x384298,'sourcePath':_0x23a650,'original':!![],'picType':isGIF(_0xa84808)?PicType[_0x195872(0x11d)]:PicType[_0x195872(0x118)],'picSubType':_0x28b022,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x239974};return{'elementType':ElementType[_0x195872(0xfe)],'elementId':'','picElement':_0x581d37};}static async[_0x556832(0x125)](_0x5d74d8,_0x14fa5b=''){const _0x1a68a7=_0x556832,_0x4d3a7c={'JjgFs':function(_0x303350,_0x507513){return _0x303350===_0x507513;},'HZkGh':_0x1a68a7(0xf9),'cldmC':function(_0x284e1e,_0x25adfe){return _0x284e1e||_0x25adfe;}},{md5:_0x4de684,fileName:_0x2d746c,path:_0x3b155a,fileSize:_0x43e19a}=await NTQQFileApi['uploadFile'](_0x5d74d8,ElementType['FILE']);if(_0x4d3a7c[_0x1a68a7(0xfb)](_0x43e19a,0x0))throw _0x4d3a7c[_0x1a68a7(0x14f)];const _0x51f854={'elementType':ElementType[_0x1a68a7(0x145)],'elementId':'','fileElement':{'fileName':_0x4d3a7c[_0x1a68a7(0xfc)](_0x14fa5b,_0x2d746c),'filePath':_0x3b155a,'fileSize':_0x43e19a['toString']()}};return _0x51f854;}static async['video'](_0x184d25,_0x10bd47='',_0x12ee57=''){const _0xeeaf02=_0x556832,_0x599bcb={'ekrSv':function(_0x10bf8d,_0x439d49,_0x32c842){return _0x10bf8d(_0x439d49,_0x32c842);},'DiUzz':_0xeeaf02(0x14c),'AoZyU':function(_0x3e885d,_0x40d916){return _0x3e885d(_0x40d916);},'fYPaL':_0xeeaf02(0x107),'XkcCi':_0xeeaf02(0x121),'ktbey':function(_0x20ed41,_0x56fd82){return _0x20ed41+_0x56fd82;},'GDbMd':'mp4','TWlrn':function(_0xf31682,_0xe3a0a1,_0x34befe){return _0xf31682(_0xe3a0a1,_0x34befe);},'rjfNn':_0xeeaf02(0x11e),'XLfms':function(_0x7465a9,_0x1d8a44){return _0x7465a9(_0x1d8a44);},'hEzGn':function(_0x441165,_0x3e8ced){return _0x441165||_0x3e8ced;},'hASxI':function(_0x45145b,_0x40f769){return _0x45145b+_0x40f769;}},{fileName:_0x4dc449,path:_0x11fcd2,fileSize:_0x2353df,md5:_0x28912b}=await NTQQFileApi[_0xeeaf02(0x112)](_0x184d25,ElementType[_0xeeaf02(0x124)]);if(_0x2353df===0x0)throw _0xeeaf02(0xf9);let _0x2fef1e=_0x11fcd2[_0xeeaf02(0xf8)](_0x1dea1c[_0xeeaf02(0x103)]+_0xeeaf02(0x105)+_0x1dea1c['sep'],_0x1dea1c['sep']+_0xeeaf02(0x102)+_0x1dea1c[_0xeeaf02(0x103)]);_0x2fef1e=_0x1dea1c['dirname'](_0x2fef1e);let _0x327e88={'width':0x780,'height':0x438,'time':0xf,'format':_0x599bcb[_0xeeaf02(0x144)],'size':_0x2353df,'filePath':_0x184d25};try{_0x327e88=await getVideoInfo(_0x11fcd2);}catch(_0x12c0b0){_0x599bcb['TWlrn'](logError,_0x599bcb[_0xeeaf02(0x10d)],_0x12c0b0);}const _0x5cdf04=new Promise((_0x5a3a8c,_0x19d911)=>{const _0x284ddf=_0xeeaf02,_0x7aecd9=_0x28912b+_0x284ddf(0x10e),_0x3afaf3=_0x1dea1c['join'](_0x2fef1e,_0x7aecd9);_0x599bcb[_0x284ddf(0x12a)](_0x11e775,_0x184d25)['on'](_0x599bcb[_0x284ddf(0xf6)],()=>{})['on'](_0x599bcb['XkcCi'],_0x107321=>{const _0x23286d=_0x284ddf,_0x1ea989={'OUChS':function(_0x4dc11a,_0x479fbc){return _0x4dc11a(_0x479fbc);}};_0x599bcb[_0x23286d(0xfd)](logDebug,_0x599bcb[_0x23286d(0x13a)],_0x107321),_0x12ee57?_0x40db07[_0x23286d(0x12d)](_0x12ee57,_0x3afaf3)[_0x23286d(0x142)](()=>{const _0x45172e=_0x23286d;_0x1ea989[_0x45172e(0x120)](_0x5a3a8c,_0x3afaf3);})['catch'](_0x19d911):_0x40db07['writeFile'](_0x3afaf3,defaultVideoThumb)[_0x23286d(0x142)](()=>{_0x5a3a8c(_0x3afaf3);})[_0x23286d(0x139)](_0x19d911);})[_0x284ddf(0xfa)]({'timestamps':[0x0],'filename':_0x7aecd9,'folder':_0x2fef1e,'size':_0x599bcb['ktbey'](_0x327e88[_0x284ddf(0x136)],'x')+_0x327e88[_0x284ddf(0x106)]})['on']('end',()=>{const _0x19c662=_0x284ddf;_0x599bcb[_0x19c662(0x12a)](_0x5a3a8c,_0x3afaf3);});}),_0x195c19=new Map(),_0x4aa3cb=await _0x5cdf04,_0x10c5e3=(await _0x40db07['stat'](_0x4aa3cb))['size'];_0x195c19[_0xeeaf02(0x11c)](0x0,_0x4aa3cb);const _0x51ba12=await _0x599bcb[_0xeeaf02(0x127)](calculateFileMD5,_0x4aa3cb),_0x11cb92={'elementType':ElementType[_0xeeaf02(0x124)],'elementId':'','videoElement':{'fileName':_0x599bcb[_0xeeaf02(0xff)](_0x10bd47,_0x4dc449),'filePath':_0x11fcd2,'videoMd5':_0x28912b,'thumbMd5':_0x51ba12,'fileTime':_0x327e88['time'],'thumbPath':_0x195c19,'thumbSize':_0x10c5e3,'thumbWidth':_0x327e88[_0xeeaf02(0x136)],'thumbHeight':_0x327e88['height'],'fileSize':_0x599bcb['hASxI']('',_0x2353df)}};return _0x11cb92;}static async[_0x556832(0x150)](_0x41c3f5){const _0x262c8b=_0x556832,_0x5eb7d4={'ddUVU':_0x262c8b(0x134),'DYGwO':function(_0x30879b,_0x225dcd){return _0x30879b===_0x225dcd;},'HZVHd':'文件异常,大小为0','WEjkR':function(_0x577c90,_0x118824){return _0x577c90||_0x118824;}},{converted:_0x4ed91e,path:_0x3ce2f7,duration:_0xf9e7f}=await encodeSilk(_0x41c3f5);if(!_0x3ce2f7)throw _0x5eb7d4[_0x262c8b(0x12b)];const {md5:_0x5d3c8c,fileName:_0x5b7b12,path:_0x382789,fileSize:_0x262ea3}=await NTQQFileApi[_0x262c8b(0x112)](_0x3ce2f7,ElementType[_0x262c8b(0x148)]);if(_0x5eb7d4[_0x262c8b(0x14e)](_0x262ea3,0x0))throw _0x5eb7d4[_0x262c8b(0x128)];return _0x4ed91e&&_0x40db07['unlink'](_0x3ce2f7)[_0x262c8b(0x142)](),{'elementType':ElementType[_0x262c8b(0x148)],'elementId':'','pttElement':{'fileName':_0x5b7b12,'filePath':_0x382789,'md5HexStr':_0x5d3c8c,'fileSize':_0x262ea3,'duration':_0x5eb7d4[_0x262c8b(0x113)](_0xf9e7f,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[_0x556832(0x14d)](_0x16038d){const _0x2466c5=_0x556832,_0x5d60e5={'Wrigr':function(_0x36d26e,_0x310545){return _0x36d26e(_0x310545);},'sHdUG':function(_0x33c860,_0x453ebd){return _0x33c860>=_0x453ebd;}},_0x445219=_0x4f9b58[_0x2466c5(0x11f)],_0x531890=_0x4f9b58['emoji'],_0x554751=_0x445219[_0x2466c5(0x119)](_0x5c7f9e=>_0x5c7f9e[_0x2466c5(0x13d)]===_0x16038d[_0x2466c5(0x117)]());_0x16038d=_0x5d60e5[_0x2466c5(0x135)](parseInt,_0x16038d[_0x2466c5(0x117)]());let _0x34a92f=0x1;return _0x5d60e5[_0x2466c5(0x110)](_0x16038d,0xde)&&(_0x34a92f=0x2),_0x554751[_0x2466c5(0x132)]&&(_0x34a92f=0x3),{'elementType':ElementType[_0x2466c5(0x111)],'elementId':'','faceElement':{'faceIndex':_0x16038d,'faceType':_0x34a92f,'faceText':_0x554751['QDes'],'stickerId':_0x554751[_0x2466c5(0x116)],'stickerType':_0x554751[_0x2466c5(0x132)],'packId':_0x554751[_0x2466c5(0x11b)],'sourceType':0x1}};}static[_0x556832(0x114)](_0x17f9ea,_0x313120,_0x3e176c,_0x58e6a5){const _0x2e9137=_0x556832,_0x25b51e={'HVZlL':'[商城表情]'};return{'elementType':ElementType[_0x2e9137(0x147)],'marketFaceElement':{'emojiPackageId':_0x17f9ea,'emojiId':_0x313120,'key':_0x3e176c,'faceName':_0x58e6a5||mFaceCache['get'](_0x313120)||_0x25b51e[_0x2e9137(0x115)]}};}static['dice'](_0x1c2ce9){const _0x193f56=_0x556832,_0x18914={'HjXdK':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x193f56(0x137)],'faceText':_0x18914[_0x193f56(0x126)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x970f08){const _0x37c173=_0x556832,_0x58e495={'ZBFBA':'[包剪锤]'};return{'elementType':ElementType[_0x37c173(0x111)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x37c173(0x133)],'faceText':_0x58e495[_0x37c173(0x131)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x556832(0x129)](_0x427620){const _0x36825e=_0x556832,_0x2557ed={'mWtmY':function(_0x4a5269,_0x54441d){return _0x4a5269!==_0x54441d;}};return _0x2557ed[_0x36825e(0x10a)](typeof _0x427620,'string')&&(_0x427620=JSON['stringify'](_0x427620)),{'elementType':ElementType[_0x36825e(0x12f)],'elementId':'','arkElement':{'bytesData':_0x427620,'linkInfo':null,'subElementType':null}};}static[_0x556832(0x101)](_0x19f1bc){const _0x322fce=_0x556832;return{'elementType':ElementType[_0x322fce(0x149)],'elementId':'','markdownElement':{'content':_0x19f1bc}};}static async[_0x556832(0x100)](){const _0x4db0af=_0x556832,_0x3a023a={'CzpHd':function(_0x3fec03,_0x2e90d9){return _0x3fec03(_0x2e90d9);},'PDGrj':'Bot\x20Test','JQScV':_0x4db0af(0x141),'hOBkU':_0x4db0af(0x10c)};let _0x5aa7fa=await _0x3a023a[_0x4db0af(0x13c)](SignMiniApp,{'prompt':_0x3a023a[_0x4db0af(0x13b)],'title':_0x3a023a[_0x4db0af(0x13b)],'preview':_0x3a023a[_0x4db0af(0x143)],'jumpUrl':_0x4db0af(0x138),'tag':'Bot\x20Test','tagIcon':_0x3a023a[_0x4db0af(0x146)],'source':_0x3a023a[_0x4db0af(0x13b)],'sourcelogo':_0x3a023a[_0x4db0af(0x146)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x5aa7fa,'linkInfo':null,'subElementType':null}};}} \ 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 a382aa22..d3e01eea 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x21e602,_0x20ce31){var _0x5070c1=_0x4f36,_0x24284f=_0x21e602();while(!![]){try{var _0x1b0065=-parseInt(_0x5070c1(0x18d))/0x1+-parseInt(_0x5070c1(0x192))/0x2+parseInt(_0x5070c1(0x18e))/0x3*(parseInt(_0x5070c1(0x190))/0x4)+parseInt(_0x5070c1(0x18b))/0x5*(-parseInt(_0x5070c1(0x195))/0x6)+parseInt(_0x5070c1(0x194))/0x7*(parseInt(_0x5070c1(0x193))/0x8)+-parseInt(_0x5070c1(0x189))/0x9*(-parseInt(_0x5070c1(0x198))/0xa)+-parseInt(_0x5070c1(0x197))/0xb*(-parseInt(_0x5070c1(0x18f))/0xc);if(_0x1b0065===_0x20ce31)break;else _0x24284f['push'](_0x24284f['shift']());}catch(_0x44ab1e){_0x24284f['push'](_0x24284f['shift']());}}}(_0x218f,0x5878d));export var GroupMemberRole;function _0x4f36(_0x932d05,_0x20b0b6){var _0x218f4f=_0x218f();return _0x4f36=function(_0x4f36fa,_0xdbf4ef){_0x4f36fa=_0x4f36fa-0x189;var _0x32705e=_0x218f4f[_0x4f36fa];return _0x32705e;},_0x4f36(_0x932d05,_0x20b0b6);}function _0x218f(){var _0x3b067f=['9264wBKBRJ','203NEPQSe','303882riRAbd','normal','11035706KLZHsO','475990ngzrJM','9CIdMsO','owner','15aqXlzA','yNiHR','426515ShFUZe','7965OZOQsy','12QHeqKR','308kQnQSR','zYAFj','696050mVQzqR'];_0x218f=function(){return _0x3b067f;};return _0x218f();}(function(_0x4d8d33){var _0x4a30fe=_0x4f36,_0x530a38={'yNiHR':_0x4a30fe(0x196),'zYAFj':'admin'};_0x4d8d33[_0x4d8d33[_0x530a38[_0x4a30fe(0x18c)]]=0x2]=_0x530a38['yNiHR'],_0x4d8d33[_0x4d8d33[_0x530a38[_0x4a30fe(0x191)]]=0x3]=_0x530a38[_0x4a30fe(0x191)],_0x4d8d33[_0x4d8d33[_0x4a30fe(0x18a)]=0x4]=_0x4a30fe(0x18a);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x15f9f9,_0x41bc88){var _0x499d84=_0x1240,_0x53869a=_0x15f9f9();while(!![]){try{var _0x5ddab5=parseInt(_0x499d84(0xee))/0x1+-parseInt(_0x499d84(0xf2))/0x2+parseInt(_0x499d84(0xf1))/0x3*(parseInt(_0x499d84(0xec))/0x4)+parseInt(_0x499d84(0xf9))/0x5+parseInt(_0x499d84(0xf7))/0x6*(-parseInt(_0x499d84(0xed))/0x7)+-parseInt(_0x499d84(0xef))/0x8*(parseInt(_0x499d84(0xf3))/0x9)+-parseInt(_0x499d84(0xf4))/0xa*(parseInt(_0x499d84(0xf6))/0xb);if(_0x5ddab5===_0x41bc88)break;else _0x53869a['push'](_0x53869a['shift']());}catch(_0x494c96){_0x53869a['push'](_0x53869a['shift']());}}}(_0x3e88,0xb286d));export var GroupMemberRole;function _0x3e88(){var _0x230479=['22710lkhcxj','sIzWg','110WtSBfl','24462YAjEzf','jyLKf','1304630AzQcSs','normal','admin','5493644zIlhrq','322lWtGwv','893698jJexpv','1176088LoZMuG','idGMk','3oTbcQR','1702966TgNrTh','45YaCtwY'];_0x3e88=function(){return _0x230479;};return _0x3e88();}function _0x1240(_0x235540,_0x1d3746){var _0x3e8819=_0x3e88();return _0x1240=function(_0x12408e,_0x4795de){_0x12408e=_0x12408e-0xeb;var _0xa31d93=_0x3e8819[_0x12408e];return _0xa31d93;},_0x1240(_0x235540,_0x1d3746);}(function(_0xf8df1e){var _0x58c632=_0x1240,_0x5eddc2={'sIzWg':_0x58c632(0xfa),'idGMk':_0x58c632(0xeb),'jyLKf':'owner'};_0xf8df1e[_0xf8df1e[_0x5eddc2[_0x58c632(0xf5)]]=0x2]=_0x5eddc2[_0x58c632(0xf5)],_0xf8df1e[_0xf8df1e[_0x5eddc2['idGMk']]=0x3]=_0x5eddc2[_0x58c632(0xf0)],_0xf8df1e[_0xf8df1e[_0x5eddc2[_0x58c632(0xf8)]]=0x4]='owner';}(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 55ba349f..889cdb1c 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x35a77f,_0x50495b){var _0x3c50eb=_0x5b6d,_0x27878c=_0x35a77f();while(!![]){try{var _0x4cad93=-parseInt(_0x3c50eb(0x1f0))/0x1*(parseInt(_0x3c50eb(0x1f2))/0x2)+-parseInt(_0x3c50eb(0x1e7))/0x3*(-parseInt(_0x3c50eb(0x1e8))/0x4)+-parseInt(_0x3c50eb(0x1eb))/0x5*(-parseInt(_0x3c50eb(0x1ed))/0x6)+-parseInt(_0x3c50eb(0x1ee))/0x7*(-parseInt(_0x3c50eb(0x1ec))/0x8)+-parseInt(_0x3c50eb(0x1e6))/0x9+parseInt(_0x3c50eb(0x1ef))/0xa*(parseInt(_0x3c50eb(0x1e9))/0xb)+parseInt(_0x3c50eb(0x1f1))/0xc*(parseInt(_0x3c50eb(0x1ea))/0xd);if(_0x4cad93===_0x50495b)break;else _0x27878c['push'](_0x27878c['shift']());}catch(_0x4824b8){_0x27878c['push'](_0x27878c['shift']());}}}(_0x4cd4,0x56fae));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x4cd4(){var _0x1a761d=['2kUbpqo','10658244eBHabY','608666GijGFn','6334884aJEHwE','3jaFJnT','961892Koqsex','22HxEwqH','13PgFnVN','5hATDtz','8oIJVNj','1001094ySLKGo','127771SiwLTQ','1775250DvwJvF'];_0x4cd4=function(){return _0x1a761d;};return _0x4cd4();}function _0x5b6d(_0x8a273c,_0x5e326a){var _0x4cd44d=_0x4cd4();return _0x5b6d=function(_0x5b6dfa,_0x26492b){_0x5b6dfa=_0x5b6dfa-0x1e6;var _0x18858e=_0x4cd44d[_0x5b6dfa];return _0x18858e;},_0x5b6d(_0x8a273c,_0x5e326a);}export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x4e25cf,_0x178adb){var _0x24acd2=_0x5c0a,_0x272eea=_0x4e25cf();while(!![]){try{var _0x3fe094=-parseInt(_0x24acd2(0x1b6))/0x1+parseInt(_0x24acd2(0x1b3))/0x2+-parseInt(_0x24acd2(0x1b0))/0x3+-parseInt(_0x24acd2(0x1b5))/0x4+-parseInt(_0x24acd2(0x1b4))/0x5+parseInt(_0x24acd2(0x1b1))/0x6+parseInt(_0x24acd2(0x1b2))/0x7;if(_0x3fe094===_0x178adb)break;else _0x272eea['push'](_0x272eea['shift']());}catch(_0x275c4b){_0x272eea['push'](_0x272eea['shift']());}}}(_0x441a,0x5a381));function _0x5c0a(_0x5e7d6d,_0x39bde9){var _0x441ad9=_0x441a();return _0x5c0a=function(_0x5c0afe,_0x496a20){_0x5c0afe=_0x5c0afe-0x1b0;var _0x14890b=_0x441ad9[_0x5c0afe];return _0x14890b;},_0x5c0a(_0x5e7d6d,_0x39bde9);}export*from'./user';export*from'./group';export*from'./msg';function _0x441a(){var _0x2e29bc=['2580520Xpwczj','679741XXrXIR','1634526njDyKX','440442dcTvrK','15971711ctwyHF','135048jMrhuO','916770zBFmtF'];_0x441a=function(){return _0x2e29bc;};return _0x441a();}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 1172d33d..78df36e6 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x12728e=_0x3a0b;function _0x3a0b(_0x530436,_0x72b80){var _0x321d99=_0x321d();return _0x3a0b=function(_0x3a0b5f,_0x2b805d){_0x3a0b5f=_0x3a0b5f-0x95;var _0x4d8e6e=_0x321d99[_0x3a0b5f];return _0x4d8e6e;},_0x3a0b(_0x530436,_0x72b80);}(function(_0x1013cd,_0x223bff){var _0x15c00c=_0x3a0b,_0x211082=_0x1013cd();while(!![]){try{var _0x53f67a=parseInt(_0x15c00c(0xb6))/0x1*(-parseInt(_0x15c00c(0xaf))/0x2)+parseInt(_0x15c00c(0xb3))/0x3*(parseInt(_0x15c00c(0xcc))/0x4)+parseInt(_0x15c00c(0xb1))/0x5*(-parseInt(_0x15c00c(0xce))/0x6)+-parseInt(_0x15c00c(0x9e))/0x7*(parseInt(_0x15c00c(0xc5))/0x8)+-parseInt(_0x15c00c(0xd1))/0x9*(-parseInt(_0x15c00c(0xab))/0xa)+-parseInt(_0x15c00c(0xad))/0xb*(-parseInt(_0x15c00c(0xa5))/0xc)+-parseInt(_0x15c00c(0xc0))/0xd*(-parseInt(_0x15c00c(0xc8))/0xe);if(_0x53f67a===_0x223bff)break;else _0x211082['push'](_0x211082['shift']());}catch(_0x1500dc){_0x211082['push'](_0x211082['shift']());}}}(_0x321d,0xb1373));export var ElementType;(function(_0x17ea45){var _0x1bd08a=_0x3a0b,_0x819373={'xudUC':_0x1bd08a(0xbf),'Lecwi':'PIC','fVlNH':_0x1bd08a(0xd5),'AzNNW':_0x1bd08a(0x95),'DTRAR':_0x1bd08a(0xa1),'ttObM':'FACE','zFZCz':_0x1bd08a(0xd2),'rJwnQ':_0x1bd08a(0xcf),'ggULf':_0x1bd08a(0xcb),'TnOuR':_0x1bd08a(0x9d)};_0x17ea45[_0x17ea45[_0x819373['xudUC']]=0x1]=_0x819373[_0x1bd08a(0xa4)],_0x17ea45[_0x17ea45[_0x819373[_0x1bd08a(0xa7)]]=0x2]=_0x819373['Lecwi'],_0x17ea45[_0x17ea45[_0x819373[_0x1bd08a(0xc1)]]=0x3]=_0x819373[_0x1bd08a(0xc1)],_0x17ea45[_0x17ea45[_0x819373[_0x1bd08a(0xaa)]]=0x4]=_0x1bd08a(0x95),_0x17ea45[_0x17ea45[_0x819373[_0x1bd08a(0xc7)]]=0x5]=_0x1bd08a(0xa1),_0x17ea45[_0x17ea45[_0x819373[_0x1bd08a(0xc4)]]=0x6]=_0x1bd08a(0xb0),_0x17ea45[_0x17ea45[_0x819373[_0x1bd08a(0xd3)]]=0x7]=_0x1bd08a(0xd2),_0x17ea45[_0x17ea45[_0x819373[_0x1bd08a(0x98)]]=0xa]=_0x819373[_0x1bd08a(0x98)],_0x17ea45[_0x17ea45[_0x819373[_0x1bd08a(0xa2)]]=0xb]=_0x819373[_0x1bd08a(0xa2)],_0x17ea45[_0x17ea45['MARKDOWN']=0xe]=_0x819373[_0x1bd08a(0xc6)];}(ElementType||(ElementType={})));export var PicType;(function(_0x15ad14){var _0x2380ea=_0x3a0b,_0x363b07={'zjWDR':_0x2380ea(0xcd),'vaaFU':_0x2380ea(0xae)};_0x15ad14[_0x15ad14[_0x363b07[_0x2380ea(0xca)]]=0x7d0]=_0x363b07['zjWDR'],_0x15ad14[_0x15ad14[_0x363b07[_0x2380ea(0xb2)]]=0x3e8]=_0x363b07[_0x2380ea(0xb2)];}(PicType||(PicType={})));export var PicSubType;(function(_0x201a70){var _0x6ae540=_0x3a0b,_0x19a6e4={'GmrVz':_0x6ae540(0x96),'aWYwa':_0x6ae540(0xd4)};_0x201a70[_0x201a70[_0x6ae540(0x96)]=0x0]=_0x19a6e4['GmrVz'],_0x201a70[_0x201a70[_0x19a6e4[_0x6ae540(0xc9)]]=0x1]=_0x19a6e4[_0x6ae540(0xc9)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x5a2767){var _0x3e417d=_0x3a0b,_0x4749ec={'yWsVj':_0x3e417d(0xb8),'QdPUz':'atAll','RPVin':'atUser'};_0x5a2767[_0x5a2767[_0x3e417d(0xb8)]=0x0]=_0x4749ec['yWsVj'],_0x5a2767[_0x5a2767[_0x3e417d(0xbd)]=0x1]=_0x4749ec['QdPUz'],_0x5a2767[_0x5a2767[_0x4749ec[_0x3e417d(0xbc)]]=0x2]=_0x4749ec[_0x3e417d(0xbc)];}(AtType||(AtType={})));export var ChatType;(function(_0x1ced93){var _0x4df8c6=_0x3a0b,_0x38d9a7={'XTgGR':'friend','tVjCO':_0x4df8c6(0xa3),'ejqEe':'chatDevice','jvTrI':_0x4df8c6(0x99)};_0x1ced93[_0x1ced93[_0x38d9a7['XTgGR']]=0x1]=_0x38d9a7[_0x4df8c6(0xa8)],_0x1ced93[_0x1ced93[_0x4df8c6(0xa3)]=0x2]=_0x38d9a7[_0x4df8c6(0x9b)],_0x1ced93[_0x1ced93[_0x4df8c6(0xa6)]=0x8]=_0x38d9a7[_0x4df8c6(0x9f)],_0x1ced93[_0x1ced93[_0x38d9a7[_0x4df8c6(0xd0)]]=0x64]=_0x38d9a7[_0x4df8c6(0xd0)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x12728e(0xac);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;function _0x321d(){var _0x26f25c=['105kYjvFb','JIEnT','jSQGi','362igOoHq','PnGYB','notAt','dice','ban','INVITE_NEW_MEMBER','RPVin','atAll','sUbqH','TEXT','5473FYxpTI','fVlNH','RPS','GtFPf','ttObM','3256uimOXD','TnOuR','DTRAR','35602OgrNJs','aWYwa','zjWDR','MFACE','36780aVJXlk','gif','2152482ktfTDs','ARK','jvTrI','9zQkyHw','REPLY','zFZCz','face','FILE','PTT','normal','BcNgH','rJwnQ','temp','kicked','tVjCO','aeyWx','MARKDOWN','22274qAGEwB','ejqEe','MEMBER_NEW_TITLE','VIDEO','ggULf','group','xudUC','1736304WufpMc','chatDevice','Lecwi','XTgGR','VLCXj','AzNNW','8928280NhCpDJ','https://gchat.qpic.cn','77hBUgCg','jpg','1110QCtTwb','FACE','15jxqJyB','vaaFU'];_0x321d=function(){return _0x26f25c;};return _0x321d();}(function(_0x406f13){var _0x6d52ca=_0x12728e,_0x5dd9e4={'GtFPf':_0x6d52ca(0xbb),'VLCXj':_0x6d52ca(0xa0)};_0x406f13[_0x406f13[_0x5dd9e4[_0x6d52ca(0xc3)]]=0xc]=_0x5dd9e4[_0x6d52ca(0xc3)],_0x406f13[_0x406f13[_0x5dd9e4[_0x6d52ca(0xa9)]]=0x11]=_0x5dd9e4[_0x6d52ca(0xa9)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x224ca4){var _0x2a82a4=_0x12728e,_0x4b3e43={'BcNgH':_0x2a82a4(0x96),'JIEnT':'normal2','jSQGi':'dice'};_0x224ca4[_0x224ca4[_0x2a82a4(0x96)]=0x1]=_0x4b3e43[_0x2a82a4(0x97)],_0x224ca4[_0x224ca4[_0x4b3e43[_0x2a82a4(0xb4)]]=0x2]=_0x4b3e43[_0x2a82a4(0xb4)],_0x224ca4[_0x224ca4[_0x4b3e43[_0x2a82a4(0xb5)]]=0x3]=_0x4b3e43[_0x2a82a4(0xb5)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x428127){var _0x5d3780=_0x12728e,_0x468bd3={'aeyWx':_0x5d3780(0xb9),'DdkMh':_0x5d3780(0xc2)};_0x428127[_0x428127[_0x468bd3[_0x5d3780(0x9c)]]=0x166]=_0x468bd3[_0x5d3780(0x9c)],_0x428127[_0x428127[_0x468bd3['DdkMh']]=0x167]=_0x468bd3['DdkMh'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x4c0394){var _0x1a1658=_0x12728e,_0x8bb350={'PnGYB':'memberIncrease','sUbqH':_0x1a1658(0x9a),'CWdua':_0x1a1658(0xba)};_0x4c0394[_0x4c0394[_0x8bb350['PnGYB']]=0x1]=_0x8bb350[_0x1a1658(0xb7)],_0x4c0394[_0x4c0394['kicked']=0x3]=_0x8bb350[_0x1a1658(0xbe)],_0x4c0394[_0x4c0394[_0x8bb350['CWdua']]=0x8]=_0x1a1658(0xba);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x1328c2=_0x1cba;(function(_0x230be0,_0x1d034f){var _0x23a18b=_0x1cba,_0x3dbb9a=_0x230be0();while(!![]){try{var _0x25884e=-parseInt(_0x23a18b(0x1e3))/0x1*(parseInt(_0x23a18b(0x1d5))/0x2)+parseInt(_0x23a18b(0x1d3))/0x3*(-parseInt(_0x23a18b(0x1ed))/0x4)+-parseInt(_0x23a18b(0x1ee))/0x5*(-parseInt(_0x23a18b(0x1fa))/0x6)+parseInt(_0x23a18b(0x1ea))/0x7*(-parseInt(_0x23a18b(0x1f6))/0x8)+-parseInt(_0x23a18b(0x1ce))/0x9+parseInt(_0x23a18b(0x1cb))/0xa*(-parseInt(_0x23a18b(0x1cf))/0xb)+parseInt(_0x23a18b(0x1c9))/0xc;if(_0x25884e===_0x1d034f)break;else _0x3dbb9a['push'](_0x3dbb9a['shift']());}catch(_0x2c9ba5){_0x3dbb9a['push'](_0x3dbb9a['shift']());}}}(_0x43c4,0x5bc8b));export var ElementType;(function(_0x2c6531){var _0xefcd44=_0x1cba,_0x2089b9={'htndz':_0xefcd44(0x1e5),'hBcMd':_0xefcd44(0x1dd),'DPfKM':'PTT','BZeje':'FACE','NsQha':'TEXT','bdVvg':'PIC','EECXb':_0xefcd44(0x1f1),'aNYCn':_0xefcd44(0x1fd),'MKOzN':_0xefcd44(0x1e1),'bmwVX':'REPLY'},_0x38f2a4=_0x2089b9['htndz'][_0xefcd44(0x1ec)]('|'),_0x485c61=0x0;while(!![]){switch(_0x38f2a4[_0x485c61++]){case'0':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x1de)]]=0x3]='FILE';continue;case'1':_0x2c6531[_0x2c6531[_0x2089b9['DPfKM']]=0x4]=_0x2089b9[_0xefcd44(0x1f2)];continue;case'2':_0x2c6531[_0x2c6531[_0x2089b9['BZeje']]=0x6]=_0x2089b9[_0xefcd44(0x1d1)];continue;case'3':_0x2c6531[_0x2c6531[_0xefcd44(0x1f4)]=0x5]=_0xefcd44(0x1f4);continue;case'4':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x1c5)]]=0x1]=_0x2089b9[_0xefcd44(0x1c5)];continue;case'5':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x200)]]=0x2]=_0x2089b9['bdVvg'];continue;case'6':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x1ca)]]=0xe]=_0xefcd44(0x1f1);continue;case'7':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x1e6)]]=0xa]=_0x2089b9['aNYCn'];continue;case'8':_0x2c6531[_0x2c6531[_0x2089b9['MKOzN']]=0xb]=_0xefcd44(0x1e1);continue;case'9':_0x2c6531[_0x2c6531[_0x2089b9['bmwVX']]=0x7]=_0x2089b9[_0xefcd44(0x1f0)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x43c4(){var _0x28bc5f=['temp','qenTV','32758488GEGkLJ','EECXb','3688820BBmHZe','GIYiK','jpg','6361506CaevGv','22ZedfOH','smEjz','BZeje','memberIncrease','3AXTxGc','hAHuz','1342SyUuTS','face','dice','atAll','hZFLP','https://gchat.qpic.cn','chatDevice','normal','FILE','hBcMd','BIMCP','gif','MFACE','PPcZe','337nHPdkO','eswRW','4|5|0|1|3|2|9|7|8|6','aNYCn','ITuln','dACYm','RPS','91pItrjt','iTfSX','split','2671092CCNlhZ','15bRTiSO','Dkmre','bmwVX','MARKDOWN','DPfKM','INVITE_NEW_MEMBER','VIDEO','cQHwU','253728wDxgTD','notAt','normal2','https://multimedia.nt.qq.com.cn','793758JMXgdD','QLHhq','LMcXL','ARK','tXWUu','MEMBER_NEW_TITLE','bdVvg','nYJnn','fbUBX','NsQha','group'];_0x43c4=function(){return _0x28bc5f;};return _0x43c4();}(function(_0x4f4f2b){var _0x864f12=_0x1cba,_0x1c8bc2={'NeMPy':'gif','GIYiK':_0x864f12(0x1cd)};_0x4f4f2b[_0x4f4f2b[_0x1c8bc2['NeMPy']]=0x7d0]=_0x864f12(0x1e0),_0x4f4f2b[_0x4f4f2b[_0x1c8bc2[_0x864f12(0x1cc)]]=0x3e8]=_0x1c8bc2[_0x864f12(0x1cc)];}(PicType||(PicType={})));export var PicSubType;function _0x1cba(_0x2cd8b7,_0x277368){var _0x43c410=_0x43c4();return _0x1cba=function(_0x1cbad0,_0x381f19){_0x1cbad0=_0x1cbad0-0x1c3;var _0x56079a=_0x43c410[_0x1cbad0];return _0x56079a;},_0x1cba(_0x2cd8b7,_0x277368);}(function(_0x425a50){var _0x326df7=_0x1cba,_0x207568={'ITuln':_0x326df7(0x1dc),'LMcXL':_0x326df7(0x1d6)};_0x425a50[_0x425a50[_0x207568[_0x326df7(0x1e7)]]=0x0]=_0x207568[_0x326df7(0x1e7)],_0x425a50[_0x425a50[_0x207568['LMcXL']]=0x1]=_0x207568[_0x326df7(0x1fc)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x4f66f9){var _0x23649a=_0x1cba,_0x45ae31={'hZFLP':_0x23649a(0x1f7),'nYJnn':_0x23649a(0x1d8),'ituvn':'atUser'};_0x4f66f9[_0x4f66f9[_0x45ae31[_0x23649a(0x1d9)]]=0x0]='notAt',_0x4f66f9[_0x4f66f9[_0x45ae31['nYJnn']]=0x1]=_0x45ae31[_0x23649a(0x1c3)],_0x4f66f9[_0x4f66f9[_0x45ae31['ituvn']]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x55d3c5){var _0x1a0c3d=_0x1cba,_0x531240={'iTfSX':'friend','Dkmre':_0x1a0c3d(0x1c6),'BIMCP':_0x1a0c3d(0x1c7)};_0x55d3c5[_0x55d3c5[_0x531240['iTfSX']]=0x1]=_0x531240[_0x1a0c3d(0x1eb)],_0x55d3c5[_0x55d3c5[_0x531240[_0x1a0c3d(0x1ef)]]=0x2]='group',_0x55d3c5[_0x55d3c5[_0x1a0c3d(0x1db)]=0x8]=_0x1a0c3d(0x1db),_0x55d3c5[_0x55d3c5[_0x531240[_0x1a0c3d(0x1df)]]=0x64]=_0x531240['BIMCP'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x1328c2(0x1da);export const IMAGE_HTTP_HOST_NT=_0x1328c2(0x1f9);export var GrayTipElementSubType;(function(_0x338b0d){var _0x50a9ad=_0x1328c2,_0x2b15bd={'tXWUu':_0x50a9ad(0x1f3),'cQHwU':_0x50a9ad(0x1ff)};_0x338b0d[_0x338b0d[_0x2b15bd[_0x50a9ad(0x1fe)]]=0xc]=_0x2b15bd['tXWUu'],_0x338b0d[_0x338b0d['MEMBER_NEW_TITLE']=0x11]=_0x2b15bd[_0x50a9ad(0x1f5)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xdcc251){var _0x9d8495=_0x1328c2,_0x1ae269={'smEjz':_0x9d8495(0x1dc),'qenTV':'normal2','hAHuz':_0x9d8495(0x1d7)};_0xdcc251[_0xdcc251[_0x1ae269[_0x9d8495(0x1d0)]]=0x1]='normal',_0xdcc251[_0xdcc251[_0x9d8495(0x1f8)]=0x2]=_0x1ae269[_0x9d8495(0x1c8)],_0xdcc251[_0xdcc251[_0x1ae269[_0x9d8495(0x1d4)]]=0x3]=_0x1ae269['hAHuz'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1315bb){var _0x3544d8=_0x1328c2,_0xbf1d99={'fbUBX':_0x3544d8(0x1d7),'PPcZe':'RPS'};_0x1315bb[_0x1315bb[_0xbf1d99[_0x3544d8(0x1c4)]]=0x166]=_0xbf1d99[_0x3544d8(0x1c4)],_0x1315bb[_0x1315bb[_0x3544d8(0x1e9)]=0x167]=_0xbf1d99[_0x3544d8(0x1e2)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x4f7082){var _0x44ddbd=_0x1328c2,_0x3096c3={'dACYm':_0x44ddbd(0x1d2),'eswRW':'kicked','QLHhq':'ban'};_0x4f7082[_0x4f7082[_0x3096c3[_0x44ddbd(0x1e8)]]=0x1]=_0x3096c3[_0x44ddbd(0x1e8)],_0x4f7082[_0x4f7082[_0x3096c3['eswRW']]=0x3]=_0x3096c3[_0x44ddbd(0x1e4)],_0x4f7082[_0x4f7082[_0x3096c3[_0x44ddbd(0x1fb)]]=0x8]=_0x3096c3[_0x44ddbd(0x1fb)];}(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 11d3877b..6af7738f 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -function _0x54ca(){var _0x413439=['wXdzL','JpqFu','INypQ','JOIN_REQUEST','approve','MEMBER_EXIT','WAIT_HANDLE','1945CoeyOh','jlvMw','159384kCbhvJ','reject','ADMIN_UNSET_OTHER','TwfBU','wPWpm','ADMIN_SET','REJECT','1328516ocYwNB','6ifoGCl','UoJVP','62985iJjywK','gYXeI','MxXBM','ADMIN_UNSET','5|4|3|0|6|7|1|2','80420jcoGNl','RnICI','sDMbC','996507zlSDGO','YihBm','INVITED_JOIN','1325992vwVmDT','IGNORE','KICK_MEMBER','3xdwvue'];_0x54ca=function(){return _0x413439;};return _0x54ca();}(function(_0x3a3c22,_0x14a0fd){var _0x3af4ba=_0x286c,_0x11e82f=_0x3a3c22();while(!![]){try{var _0x241641=-parseInt(_0x3af4ba(0xd9))/0x1+parseInt(_0x3af4ba(0xf1))/0x2+parseInt(_0x3af4ba(0xe7))/0x3*(parseInt(_0x3af4ba(0xde))/0x4)+parseInt(_0x3af4ba(0xef))/0x5*(-parseInt(_0x3af4ba(0xd7))/0x6)+-parseInt(_0x3af4ba(0xd6))/0x7+parseInt(_0x3af4ba(0xe4))/0x8+parseInt(_0x3af4ba(0xe1))/0x9;if(_0x241641===_0x14a0fd)break;else _0x11e82f['push'](_0x11e82f['shift']());}catch(_0x1d2770){_0x11e82f['push'](_0x11e82f['shift']());}}}(_0x54ca,0x1e0e3));function _0x286c(_0x4be22a,_0x55b68f){var _0x54ca94=_0x54ca();return _0x286c=function(_0x286c31,_0x50ef32){_0x286c31=_0x286c31-0xd6;var _0xf1750b=_0x54ca94[_0x286c31];return _0xf1750b;},_0x286c(_0x4be22a,_0x55b68f);}export var GroupNotifyTypes;(function(_0x3031ff){var _0x3b096b=_0x286c,_0x295b41={'YihBm':_0x3b096b(0xdd),'PXRAd':'ADMIN_SET','jlvMw':_0x3b096b(0xdc),'wPWpm':_0x3b096b(0xf3),'tXYiQ':'JOIN_REQUEST','gYXeI':_0x3b096b(0xe3),'JpqFu':'INVITE_ME','RnICI':_0x3b096b(0xe6),'INypQ':'MEMBER_EXIT'},_0x2860df=_0x295b41[_0x3b096b(0xe2)]['split']('|'),_0xac6aa8=0x0;while(!![]){switch(_0x2860df[_0xac6aa8++]){case'0':_0x3031ff[_0x3031ff[_0x3b096b(0xf6)]=0x8]=_0x295b41['PXRAd'];continue;case'1':_0x3031ff[_0x3031ff[_0x295b41[_0x3b096b(0xf0)]]=0xc]=_0x3b096b(0xdc);continue;case'2':_0x3031ff[_0x3031ff[_0x295b41[_0x3b096b(0xf5)]]=0xd]=_0x295b41['wPWpm'];continue;case'3':_0x3031ff[_0x3031ff[_0x3b096b(0xeb)]=0x7]=_0x295b41['tXYiQ'];continue;case'4':_0x3031ff[_0x3031ff[_0x295b41['gYXeI']]=0x4]=_0x295b41[_0x3b096b(0xda)];continue;case'5':_0x3031ff[_0x3031ff[_0x295b41[_0x3b096b(0xe9)]]=0x1]=_0x295b41[_0x3b096b(0xe9)];continue;case'6':_0x3031ff[_0x3031ff[_0x295b41['RnICI']]=0x9]=_0x295b41[_0x3b096b(0xdf)];continue;case'7':_0x3031ff[_0x3031ff[_0x3b096b(0xed)]=0xb]=_0x295b41[_0x3b096b(0xea)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x99870b){var _0x1087f4=_0x286c,_0x3ef79a={'gOZXZ':_0x1087f4(0xe5),'TwfBU':_0x1087f4(0xee),'MxXBM':'APPROVE','sDMbC':_0x1087f4(0xf7)};_0x99870b[_0x99870b['IGNORE']=0x0]=_0x3ef79a['gOZXZ'],_0x99870b[_0x99870b[_0x3ef79a[_0x1087f4(0xf4)]]=0x1]=_0x1087f4(0xee),_0x99870b[_0x99870b['APPROVE']=0x2]=_0x3ef79a[_0x1087f4(0xdb)],_0x99870b[_0x99870b[_0x3ef79a['sDMbC']]=0x3]=_0x3ef79a[_0x1087f4(0xe0)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x461df4){var _0x20ba34=_0x286c,_0x17eb3d={'wXdzL':_0x20ba34(0xec),'UoJVP':_0x20ba34(0xf2)};_0x461df4[_0x461df4[_0x17eb3d[_0x20ba34(0xe8)]]=0x1]=_0x17eb3d['wXdzL'],_0x461df4[_0x461df4[_0x17eb3d['UoJVP']]=0x2]=_0x17eb3d[_0x20ba34(0xd8)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x538403,_0x5833c3){var _0x221032=_0x275b,_0x4bd277=_0x538403();while(!![]){try{var _0x369b9c=parseInt(_0x221032(0x6f))/0x1+parseInt(_0x221032(0x7b))/0x2*(-parseInt(_0x221032(0x77))/0x3)+parseInt(_0x221032(0x7e))/0x4+-parseInt(_0x221032(0x6a))/0x5+parseInt(_0x221032(0x8a))/0x6+parseInt(_0x221032(0x87))/0x7*(-parseInt(_0x221032(0x75))/0x8)+parseInt(_0x221032(0x69))/0x9;if(_0x369b9c===_0x5833c3)break;else _0x4bd277['push'](_0x4bd277['shift']());}catch(_0xb7493f){_0x4bd277['push'](_0x4bd277['shift']());}}}(_0x29c4,0x2ea98));export var GroupNotifyTypes;(function(_0xec6607){var _0x2400c8=_0x275b,_0x31266e={'ebEDj':_0x2400c8(0x72),'YPOdn':_0x2400c8(0x82),'YvxEc':_0x2400c8(0x6c),'fXYZK':_0x2400c8(0x6b),'ZACmm':_0x2400c8(0x80),'SJshV':'ADMIN_SET','agHcB':'INVITE_ME','WpQQJ':_0x2400c8(0x7f)},_0x466357=_0x2400c8(0x89)[_0x2400c8(0x6e)]('|'),_0x1da4a8=0x0;while(!![]){switch(_0x466357[_0x1da4a8++]){case'0':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x81)]]=0x9]=_0x2400c8(0x72);continue;case'1':_0xec6607[_0xec6607[_0x2400c8(0x82)]=0x7]=_0x31266e[_0x2400c8(0x68)];continue;case'2':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x79)]]=0x4]=_0x2400c8(0x6c);continue;case'3':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x7a)]]=0xb]=_0x31266e[_0x2400c8(0x7a)];continue;case'4':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x7d)]]=0xc]=_0x31266e[_0x2400c8(0x7d)];continue;case'5':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x86)]]=0x8]=_0x31266e[_0x2400c8(0x86)];continue;case'6':_0xec6607[_0xec6607[_0x2400c8(0x76)]=0x1]=_0x31266e[_0x2400c8(0x83)];continue;case'7':_0xec6607[_0xec6607[_0x31266e['WpQQJ']]=0xd]=_0x31266e[_0x2400c8(0x6d)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x275b(_0x580789,_0x258f3d){var _0x29c45a=_0x29c4();return _0x275b=function(_0x275b20,_0x5d43b1){_0x275b20=_0x275b20-0x68;var _0x3c0401=_0x29c45a[_0x275b20];return _0x3c0401;},_0x275b(_0x580789,_0x258f3d);}(function(_0x5687d1){var _0x1ee699=_0x275b,_0x275472={'gKdUB':_0x1ee699(0x71),'NugEL':_0x1ee699(0x84),'rCuPc':_0x1ee699(0x73),'EIRpG':_0x1ee699(0x70)};_0x5687d1[_0x5687d1[_0x275472[_0x1ee699(0x7c)]]=0x0]=_0x275472[_0x1ee699(0x7c)],_0x5687d1[_0x5687d1[_0x275472[_0x1ee699(0x85)]]=0x1]=_0x275472[_0x1ee699(0x85)],_0x5687d1[_0x5687d1[_0x275472[_0x1ee699(0x74)]]=0x2]=_0x1ee699(0x73),_0x5687d1[_0x5687d1[_0x1ee699(0x70)]=0x3]=_0x275472[_0x1ee699(0x88)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x29c4(){var _0x27d76d=['WAIT_HANDLE','NugEL','SJshV','43134VkZWav','EIRpG','6|2|1|5|0|3|4|7','1634106PlzOwA','YPOdn','1361403oMRlmY','1415655voLMuZ','MEMBER_EXIT','INVITED_JOIN','WpQQJ','split','154573LslCBb','REJECT','IGNORE','KICK_MEMBER','APPROVE','rCuPc','320IIEUMA','INVITE_ME','1920vmKHcD','reject','YvxEc','fXYZK','604dURWQe','gKdUB','ZACmm','1343312xvvCSF','ADMIN_UNSET_OTHER','ADMIN_UNSET','ebEDj','JOIN_REQUEST','agHcB'];_0x29c4=function(){return _0x27d76d;};return _0x29c4();}export var GroupRequestOperateTypes;(function(_0x2317a4){var _0x5f27eb=_0x275b,_0x4dd5ac={'uZIzq':'reject'};_0x2317a4[_0x2317a4['approve']=0x1]='approve',_0x2317a4[_0x2317a4[_0x5f27eb(0x78)]=0x2]=_0x4dd5ac['uZIzq'];}(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 632614bf..74fdb3f4 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x1034ff,_0x437d87){var _0xa85938=_0x5d28,_0x2551dc=_0x1034ff();while(!![]){try{var _0xff3bb=-parseInt(_0xa85938(0x1bf))/0x1*(-parseInt(_0xa85938(0x1c3))/0x2)+parseInt(_0xa85938(0x1c8))/0x3+parseInt(_0xa85938(0x1c9))/0x4+-parseInt(_0xa85938(0x1c6))/0x5*(parseInt(_0xa85938(0x1bd))/0x6)+-parseInt(_0xa85938(0x1c4))/0x7*(-parseInt(_0xa85938(0x1be))/0x8)+-parseInt(_0xa85938(0x1cb))/0x9*(parseInt(_0xa85938(0x1c1))/0xa)+-parseInt(_0xa85938(0x1c5))/0xb;if(_0xff3bb===_0x437d87)break;else _0x2551dc['push'](_0x2551dc['shift']());}catch(_0x43546b){_0x2551dc['push'](_0x2551dc['shift']());}}}(_0x2624,0x3e7a3));function _0x2624(){var _0x31bdcc=['13223dgNFcx','4653561zlAQbm','65jqAfiQ','Ugcxf','436839qdOoGB','1847256mpEiie','female','18otehHa','unknown','161898UZsnTy','1448WPTgpk','68945PBvTLp','APKJV','1321620MJHdkE','SmdcW','10RtWCVO'];_0x2624=function(){return _0x31bdcc;};return _0x2624();}export var Sex;function _0x5d28(_0x1e12fd,_0x3858e2){var _0x262404=_0x2624();return _0x5d28=function(_0x5d28df,_0x50c338){_0x5d28df=_0x5d28df-0x1bc;var _0x35f77d=_0x262404[_0x5d28df];return _0x35f77d;},_0x5d28(_0x1e12fd,_0x3858e2);}(function(_0x13bee5){var _0x5f579d=_0x5d28,_0x3915c9={'Ugcxf':'male','SmdcW':_0x5f579d(0x1ca),'APKJV':_0x5f579d(0x1bc)};_0x13bee5[_0x13bee5[_0x3915c9[_0x5f579d(0x1c7)]]=0x1]=_0x3915c9[_0x5f579d(0x1c7)],_0x13bee5[_0x13bee5[_0x3915c9[_0x5f579d(0x1c2)]]=0x2]=_0x3915c9[_0x5f579d(0x1c2)],_0x13bee5[_0x13bee5[_0x3915c9[_0x5f579d(0x1c0)]]=0xff]=_0x3915c9[_0x5f579d(0x1c0)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x528fbb,_0xf2d919){var _0x336a89=_0x143e,_0x5455b4=_0x528fbb();while(!![]){try{var _0x1c11a2=-parseInt(_0x336a89(0x7f))/0x1+parseInt(_0x336a89(0x77))/0x2*(-parseInt(_0x336a89(0x7d))/0x3)+parseInt(_0x336a89(0x7e))/0x4*(-parseInt(_0x336a89(0x78))/0x5)+-parseInt(_0x336a89(0x7a))/0x6*(-parseInt(_0x336a89(0x75))/0x7)+parseInt(_0x336a89(0x7b))/0x8+parseInt(_0x336a89(0x7c))/0x9*(-parseInt(_0x336a89(0x79))/0xa)+parseInt(_0x336a89(0x76))/0xb;if(_0x1c11a2===_0xf2d919)break;else _0x5455b4['push'](_0x5455b4['shift']());}catch(_0x130fd7){_0x5455b4['push'](_0x5455b4['shift']());}}}(_0x8112,0xbf384));function _0x143e(_0x2f00c5,_0x12c290){var _0x8112cf=_0x8112();return _0x143e=function(_0x143ee6,_0x1ccea9){_0x143ee6=_0x143ee6-0x73;var _0xe56222=_0x8112cf[_0x143ee6];return _0xe56222;},_0x143e(_0x2f00c5,_0x12c290);}export var Sex;function _0x8112(){var _0x45577d=['czklc','male','pEypF','unknown','ZRasy','7YTNvxr','4514070LuXsbs','38uVYIok','20qCucuM','170yQGNUe','9373332nqEAYN','8102752UZrQQk','244350ujoXqN','40995uTeEhP','1472928aMDhxf','8087mZgkDL','female'];_0x8112=function(){return _0x45577d;};return _0x8112();}(function(_0x879be6){var _0x3e1ff7=_0x143e,_0x4adfeb={'pEypF':_0x3e1ff7(0x82),'czklc':_0x3e1ff7(0x80),'ZRasy':_0x3e1ff7(0x73)};_0x879be6[_0x879be6[_0x4adfeb[_0x3e1ff7(0x83)]]=0x1]=_0x3e1ff7(0x82),_0x879be6[_0x879be6[_0x4adfeb[_0x3e1ff7(0x81)]]=0x2]=_0x4adfeb[_0x3e1ff7(0x81)],_0x879be6[_0x879be6[_0x4adfeb[_0x3e1ff7(0x74)]]=0xff]=_0x4adfeb[_0x3e1ff7(0x74)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index bec5b115..08d2aa0c 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0xe4179a,_0x193855){var _0xd06679=_0x3659,_0xa0f362=_0xe4179a();while(!![]){try{var _0x44a86f=parseInt(_0xd06679(0xa8))/0x1+-parseInt(_0xd06679(0xa7))/0x2+parseInt(_0xd06679(0xab))/0x3*(-parseInt(_0xd06679(0xa5))/0x4)+parseInt(_0xd06679(0xaa))/0x5+parseInt(_0xd06679(0xa6))/0x6+parseInt(_0xd06679(0xa9))/0x7*(-parseInt(_0xd06679(0xac))/0x8)+parseInt(_0xd06679(0xa4))/0x9;if(_0x44a86f===_0x193855)break;else _0xa0f362['push'](_0xa0f362['shift']());}catch(_0x58be6c){_0xa0f362['push'](_0xa0f362['shift']());}}}(_0x3570,0x320c4));import _0x1d9e80 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x3570(){var _0x1343a8=['129nCcpVQ','8YWLing','1967427FhxpZQ','10756yWFVon','2251266QFbrHW','615556tOrWBa','279913YSkTeT','1755866yFAyvW','27560YejDHW'];_0x3570=function(){return _0x1343a8;};return _0x3570();}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{_0x1d9e80 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x3659(_0x4e2391,_0x352e00){var _0x3570f=_0x3570();return _0x3659=function(_0x365997,_0x368f2){_0x365997=_0x365997-0xa4;var _0x23a5cd=_0x3570f[_0x365997];return _0x23a5cd;},_0x3659(_0x4e2391,_0x352e00);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x319438,_0x5b1ed2){var _0x380e20=_0x352f,_0x26b663=_0x319438();while(!![]){try{var _0x1050e3=-parseInt(_0x380e20(0x1b6))/0x1*(-parseInt(_0x380e20(0x1b1))/0x2)+-parseInt(_0x380e20(0x1b4))/0x3*(parseInt(_0x380e20(0x1b5))/0x4)+-parseInt(_0x380e20(0x1ba))/0x5+parseInt(_0x380e20(0x1b9))/0x6+-parseInt(_0x380e20(0x1b2))/0x7+-parseInt(_0x380e20(0x1b7))/0x8*(-parseInt(_0x380e20(0x1b3))/0x9)+parseInt(_0x380e20(0x1b8))/0xa;if(_0x1050e3===_0x5b1ed2)break;else _0x26b663['push'](_0x26b663['shift']());}catch(_0x56db93){_0x26b663['push'](_0x26b663['shift']());}}}(_0x454e,0xacbb5));import _0x5cb3df from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x454e(){var _0x317e43=['3ZsAyyo','12568XycxHE','31671440UyTznm','99636tIJbwD','6266775rPGLBu','41706BmsBAc','7157157UrySwF','2529CyWFSr','63wISmcA','134180wzhxUr'];_0x454e=function(){return _0x317e43;};return _0x454e();}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{_0x5cb3df as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x352f(_0x337d23,_0xa344fa){var _0x454e0c=_0x454e();return _0x352f=function(_0x352f52,_0x15f0fb){_0x352f52=_0x352f52-0x1b1;var _0x42c501=_0x454e0c[_0x352f52];return _0x42c501;},_0x352f(_0x337d23,_0xa344fa);}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 3d53a8d2..921d5c43 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0xd618(_0x2965c5,_0x439a17){var _0x1c89f8=_0x1c89();return _0xd618=function(_0xd618fd,_0xbd5f16){_0xd618fd=_0xd618fd-0x148;var _0x383c19=_0x1c89f8[_0xd618fd];return _0x383c19;},_0xd618(_0x2965c5,_0x439a17);}function _0x1c89(){var _0x1ee544=['onDoubtBuddyReqUnreadNumChange','4ViILKN','onSmartInfos','15kobibE','onCheckBuddySettingResult','2321xsOTsm','onBuddyInfoChange','4240494lkaqMQ','733754JFTEBI','onDoubtBuddyReqChange','onBlockChanged','onBuddyDetailInfoChange','889572ayUiFQ','onAddBuddyNeedVerify','28488kopNan','218721JIWIIY','20pepGFq','onAddMeSettingChanged','onBuddyRemarkUpdated','1190110GgXPxC','onAvatarUrlUpdated','onNickUpdated','onDelBatchBuddyInfos','217807ttXPNK','32TzGwIK'];_0x1c89=function(){return _0x1ee544;};return _0x1c89();}var _0x2b3f04=_0xd618;(function(_0x1b875a,_0xafcdfb){var _0x38394a=_0xd618,_0x494549=_0x1b875a();while(!![]){try{var _0x2826de=-parseInt(_0x38394a(0x156))/0x1*(-parseInt(_0x38394a(0x159))/0x2)+-parseInt(_0x38394a(0x14e))/0x3*(parseInt(_0x38394a(0x14f))/0x4)+-parseInt(_0x38394a(0x15b))/0x5*(-parseInt(_0x38394a(0x14b))/0x6)+-parseInt(_0x38394a(0x160))/0x7*(parseInt(_0x38394a(0x157))/0x8)+-parseInt(_0x38394a(0x15f))/0x9+parseInt(_0x38394a(0x152))/0xa+parseInt(_0x38394a(0x15d))/0xb*(parseInt(_0x38394a(0x14d))/0xc);if(_0x2826de===_0xafcdfb)break;else _0x494549['push'](_0x494549['shift']());}catch(_0xeabd33){_0x494549['push'](_0x494549['shift']());}}}(_0x1c89,0x3be58));export class BuddyListener{[_0x2b3f04(0x14c)](_0x39ad4d){}[_0x2b3f04(0x150)](_0x50d79e){}[_0x2b3f04(0x153)](_0x5b71f7){}[_0x2b3f04(0x149)](_0x20b8c5){}[_0x2b3f04(0x14a)](_0x29c670){}[_0x2b3f04(0x15e)](_0x112fea){}['onBuddyListChange'](_0x18632c){}[_0x2b3f04(0x151)](_0x226d21){}['onBuddyReqChange'](_0x41cdff){}['onBuddyReqUnreadCntChange'](_0x3f16a2){}[_0x2b3f04(0x15c)](_0x151e81){}[_0x2b3f04(0x155)](_0x1bd91c){}[_0x2b3f04(0x148)](_0x6a6c2d){}[_0x2b3f04(0x158)](_0x4c0c6a){}[_0x2b3f04(0x154)](_0x26300a){}[_0x2b3f04(0x15a)](_0xe63b66){}['onSpacePermissionInfos'](_0x3ab4a3){}} \ No newline at end of file +var _0x2a1a61=_0x27dc;function _0x27dc(_0x4517e1,_0x5f4c96){var _0x8f9de8=_0x8f9d();return _0x27dc=function(_0x27dc0b,_0x1d0ad5){_0x27dc0b=_0x27dc0b-0x65;var _0x4f6ff0=_0x8f9de8[_0x27dc0b];return _0x4f6ff0;},_0x27dc(_0x4517e1,_0x5f4c96);}(function(_0xb4d1e1,_0x12deb4){var _0x5cd4cc=_0x27dc,_0x51b0d7=_0xb4d1e1();while(!![]){try{var _0x4b3cc9=-parseInt(_0x5cd4cc(0x71))/0x1+parseInt(_0x5cd4cc(0x75))/0x2+-parseInt(_0x5cd4cc(0x6f))/0x3+-parseInt(_0x5cd4cc(0x79))/0x4*(parseInt(_0x5cd4cc(0x6d))/0x5)+parseInt(_0x5cd4cc(0x68))/0x6*(-parseInt(_0x5cd4cc(0x70))/0x7)+parseInt(_0x5cd4cc(0x6b))/0x8*(parseInt(_0x5cd4cc(0x72))/0x9)+parseInt(_0x5cd4cc(0x67))/0xa;if(_0x4b3cc9===_0x12deb4)break;else _0x51b0d7['push'](_0x51b0d7['shift']());}catch(_0xbce0a3){_0x51b0d7['push'](_0x51b0d7['shift']());}}}(_0x8f9d,0xb957e));function _0x8f9d(){var _0x3687b2=['onBuddyReqChange','133745LGTxoH','onBlockChanged','124176rCMChg','297787JcWrPq','490370pnhgOw','286956tsqswY','onDelBatchBuddyInfos','onBuddyReqUnreadCntChange','183624talMCn','onBuddyInfoChange','onBuddyRemarkUpdated','onBuddyListChange','92rEQXbu','onSmartInfos','onBuddyDetailInfoChange','onAvatarUrlUpdated','22504100giGmQm','66xenpxe','onSpacePermissionInfos','onAddBuddyNeedVerify','8JAnSnL'];_0x8f9d=function(){return _0x3687b2;};return _0x8f9d();}export class BuddyListener{[_0x2a1a61(0x6a)](_0xb4e0f9){}['onAddMeSettingChanged'](_0x3bd579){}[_0x2a1a61(0x66)](_0x46e355){}[_0x2a1a61(0x6e)](_0x2e524c){}[_0x2a1a61(0x65)](_0x57e2ca){}[_0x2a1a61(0x76)](_0x1cd040){}[_0x2a1a61(0x78)](_0x1dfc1e){}[_0x2a1a61(0x77)](_0x178a06){}[_0x2a1a61(0x6c)](_0x8fd089){}[_0x2a1a61(0x74)](_0x58f4e3){}['onCheckBuddySettingResult'](_0x234923){}[_0x2a1a61(0x73)](_0x49a3ab){}['onDoubtBuddyReqChange'](_0x4be5f8){}['onDoubtBuddyReqUnreadNumChange'](_0x279066){}['onNickUpdated'](_0xe11f96){}[_0x2a1a61(0x7a)](_0x1e5455){}[_0x2a1a61(0x69)](_0x583af8){}} \ 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 498e9f2d..56facf81 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x3ca38d=_0x125f;(function(_0xd2d382,_0x20f597){var _0x243540=_0x125f,_0x5b4c07=_0xd2d382();while(!![]){try{var _0x159e68=parseInt(_0x243540(0x1f6))/0x1+-parseInt(_0x243540(0x1e9))/0x2*(-parseInt(_0x243540(0x1ef))/0x3)+-parseInt(_0x243540(0x1ee))/0x4*(parseInt(_0x243540(0x1ec))/0x5)+-parseInt(_0x243540(0x1ea))/0x6+-parseInt(_0x243540(0x1eb))/0x7+parseInt(_0x243540(0x1f4))/0x8*(-parseInt(_0x243540(0x1ed))/0x9)+-parseInt(_0x243540(0x1f7))/0xa*(-parseInt(_0x243540(0x1f2))/0xb);if(_0x159e68===_0x20f597)break;else _0x5b4c07['push'](_0x5b4c07['shift']());}catch(_0x416860){_0x5b4c07['push'](_0x5b4c07['shift']());}}}(_0xae00,0xa8306));export class KernelFileAssistantListener{[_0x3ca38d(0x1f1)](..._0x2d6a4a){}['onSessionListChanged'](..._0x57fe4c){}[_0x3ca38d(0x1f0)](..._0x4611ed){}[_0x3ca38d(0x1f3)](..._0x5d90e4){}[_0x3ca38d(0x1f5)](..._0x4eaa73){}}function _0x125f(_0x460401,_0x2924a2){var _0xae0067=_0xae00();return _0x125f=function(_0x125f07,_0x10f90d){_0x125f07=_0x125f07-0x1e9;var _0x3e289d=_0xae0067[_0x125f07];return _0x3e289d;},_0x125f(_0x460401,_0x2924a2);}function _0xae00(){var _0x1f5ea2=['onSessionChanged','onFileStatusChanged','20237019SVnSxu','onFileListChanged','192IeJYCs','onFileSearch','711762mNWCCj','20KvUADA','358500ftIawZ','7420854tWfrWS','7978523PWuPDi','205KJlguW','428940hKOOJI','52720KIsBXQ','6pqdlZX'];_0xae00=function(){return _0x1f5ea2;};return _0xae00();} \ No newline at end of file +function _0x5e93(_0x4e4bf5,_0x3c84ce){var _0x51f393=_0x51f3();return _0x5e93=function(_0x5e93f1,_0x571e99){_0x5e93f1=_0x5e93f1-0x1b9;var _0x3a39c7=_0x51f393[_0x5e93f1];return _0x3a39c7;},_0x5e93(_0x4e4bf5,_0x3c84ce);}var _0x55a031=_0x5e93;(function(_0x2b3f05,_0x227f41){var _0x11fa0d=_0x5e93,_0xffd5f2=_0x2b3f05();while(!![]){try{var _0x3d66a8=-parseInt(_0x11fa0d(0x1bd))/0x1*(-parseInt(_0x11fa0d(0x1b9))/0x2)+-parseInt(_0x11fa0d(0x1c4))/0x3+-parseInt(_0x11fa0d(0x1bb))/0x4*(parseInt(_0x11fa0d(0x1c3))/0x5)+-parseInt(_0x11fa0d(0x1c2))/0x6+parseInt(_0x11fa0d(0x1be))/0x7+-parseInt(_0x11fa0d(0x1bf))/0x8*(parseInt(_0x11fa0d(0x1ba))/0x9)+-parseInt(_0x11fa0d(0x1c7))/0xa*(-parseInt(_0x11fa0d(0x1c5))/0xb);if(_0x3d66a8===_0x227f41)break;else _0xffd5f2['push'](_0xffd5f2['shift']());}catch(_0x1f7bb7){_0xffd5f2['push'](_0xffd5f2['shift']());}}}(_0x51f3,0x19663));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x4331a0){}[_0x55a031(0x1c0)](..._0x3accc0){}[_0x55a031(0x1bc)](..._0x5ce330){}[_0x55a031(0x1c1)](..._0x3f1585){}[_0x55a031(0x1c6)](..._0x16375a){}}function _0x51f3(){var _0x3dd715=['1181LCBOSN','818335WhicZV','1500816sMWfzn','onSessionListChanged','onFileListChanged','824676wWtVoS','2455EeLDQr','485949vYzvdu','1121989rAqNJr','onFileSearch','50IOcRqS','158hseSCN','9zTpQBd','1052AFfmbg','onSessionChanged'];_0x51f3=function(){return _0x3dd715;};return _0x51f3();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index d664540d..3a8866b8 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x5c39(){var _0x2d9363=['keeON','onGroupSingleScreenNotifies:','onGroupDetailInfoChange','ZSPWE','onMemberInfoChange:','onGroupFirstBulletinNotify','onGroupBulletinRichMediaDownloadComplete:','onGroupConfMemberChange:','onGroupExtListUpdate:','1417731bsJVyF','onGroupNotifiesUnreadCountUpdated','onGroupExtListUpdate','onShutUpMemberListChanged','onGroupListUpdate','onJoinGroupNoVerifyFlag','onShutUpMemberListChanged:','eVGGZ','onGroupsMsgMaskResult:','538562vCdOwE','onGroupArkInviteStateResult','992950fLuSMY','onMemberListChange','BfIsR','1JNoPvK','onGroupNotifiesUnreadCountUpdated:','gNtRp','KGwed','585415TIcmGU','onGroupDetailInfoChange:','onGroupSingleScreenNotifies','onJoinGroupNoVerifyFlag:','log','onGroupBulletinChange:','JKzYh','onGroupNotifiesUpdated','FGNjl','4464168yuMMKf','onGroupArkInviteStateResult:','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNotify','JzxNL','onGetGroupBulletinListResult','onSearchMemberChange:','onGroupStatisticInfoChange','onGroupListUpdate:','onGroupConfMemberChange','onGroupFirstBulletinNotify:','lRRAh','onGroupsMsgMaskResult','onGroupAllInfoChange:','onJoinGroupNotify:','2066008HtRosd','onSearchMemberChange','onGroupBulletinRemindNotify','onGroupMemberLevelInfoChange','1486752NoLyIF','onGroupAllInfoChange','bqoMf','onMemberInfoChange','onGroupBulletinChange'];_0x5c39=function(){return _0x2d9363;};return _0x5c39();}var _0x295b8b=_0x1947;(function(_0x5502c8,_0x4e86c9){var _0x1eaa9b=_0x1947,_0x4b0474=_0x5502c8();while(!![]){try{var _0x3e2935=parseInt(_0x1eaa9b(0x22d))/0x1*(-parseInt(_0x1eaa9b(0x228))/0x2)+-parseInt(_0x1eaa9b(0x21f))/0x3+parseInt(_0x1eaa9b(0x211))/0x4+-parseInt(_0x1eaa9b(0x1f5))/0x5+parseInt(_0x1eaa9b(0x1fe))/0x6+-parseInt(_0x1eaa9b(0x22a))/0x7+parseInt(_0x1eaa9b(0x20d))/0x8;if(_0x3e2935===_0x4e86c9)break;else _0x4b0474['push'](_0x4b0474['shift']());}catch(_0x512202){_0x4b0474['push'](_0x4b0474['shift']());}}}(_0x5c39,0x5b1b8));function _0x1947(_0x3655f3,_0xda2dfb){var _0x5c3914=_0x5c39();return _0x1947=function(_0x1947b8,_0x1a21a0){_0x1947b8=_0x1947b8-0x1f2;var _0x357551=_0x5c3914[_0x1947b8];return _0x357551;},_0x1947(_0x3655f3,_0xda2dfb);}export class GroupListener{[_0x295b8b(0x210)](..._0x4be48d){}[_0x295b8b(0x203)](..._0xa739a7){}[_0x295b8b(0x212)](..._0xebba42){}[_0x295b8b(0x215)](..._0x276160){}[_0x295b8b(0x20f)](..._0x4e2afe){}[_0x295b8b(0x229)](..._0x131f55){}['onGroupBulletinRichMediaDownloadComplete'](..._0x15d049){}[_0x295b8b(0x207)](..._0x5acd9c){}['onGroupDetailInfoChange'](..._0x4231e5){}[_0x295b8b(0x221)](..._0x3264ab){}['onGroupFirstBulletinNotify'](..._0x47ca15){}[_0x295b8b(0x223)](_0x53597f,_0x140d41){}[_0x295b8b(0x1fc)](_0x5f32c0,_0x2ad518){}['onGroupBulletinRichMediaProgressUpdate'](..._0x45fe7a){}['onGroupNotifiesUnreadCountUpdated'](..._0x5429d8){}[_0x295b8b(0x1f7)](_0x7581cc,_0x585dca,_0x52930d){}[_0x295b8b(0x20a)](..._0x368187){}[_0x295b8b(0x205)](..._0x87f681){}[_0x295b8b(0x201)](..._0x430ded){}[_0x295b8b(0x224)](..._0x35658e){}[_0x295b8b(0x214)](_0x281cfd,_0x2b6a3e,_0x58655e){}[_0x295b8b(0x22b)](_0x387cd1){}[_0x295b8b(0x20e)](..._0x2bdd90){}[_0x295b8b(0x222)](..._0x3feff5){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x54dbe4){var _0x1437ae=_0x295b8b;console[_0x1437ae(0x1f9)]('onGroupMemberLevelInfoChange:',..._0x54dbe4);}[_0x295b8b(0x203)](..._0xc5df80){var _0x261002=_0x295b8b,_0x24cf4d={'lRRAh':'onGetGroupBulletinListResult:'};console[_0x261002(0x1f9)](_0x24cf4d[_0x261002(0x209)],..._0xc5df80);}['onGroupAllInfoChange'](..._0x181ab7){var _0x57376d=_0x295b8b,_0x5afbb1={'eVGGZ':_0x57376d(0x20b)};console[_0x57376d(0x1f9)](_0x5afbb1[_0x57376d(0x226)],..._0x181ab7);}[_0x295b8b(0x215)](..._0x3f03be){var _0x3ecace=_0x295b8b;console[_0x3ecace(0x1f9)](_0x3ecace(0x1fa),..._0x3f03be);}['onGroupBulletinRemindNotify'](..._0x199c2b){var _0x3dd1cf=_0x295b8b,_0x2827dd={'JKzYh':'onGroupBulletinRemindNotify:'};console[_0x3dd1cf(0x1f9)](_0x2827dd[_0x3dd1cf(0x1fb)],..._0x199c2b);}[_0x295b8b(0x229)](..._0x438f2a){var _0x283e9b=_0x295b8b;console['log'](_0x283e9b(0x1ff),..._0x438f2a);}['onGroupBulletinRichMediaDownloadComplete'](..._0x934733){var _0x2de73a=_0x295b8b,_0x1256d1={'bqoMf':_0x2de73a(0x21c)};console[_0x2de73a(0x1f9)](_0x1256d1[_0x2de73a(0x213)],..._0x934733);}[_0x295b8b(0x207)](..._0x55677d){var _0x5849c6=_0x295b8b,_0x575ede={'gNtRp':_0x5849c6(0x21d)};console[_0x5849c6(0x1f9)](_0x575ede[_0x5849c6(0x1f3)],..._0x55677d);}[_0x295b8b(0x218)](..._0x296ca3){var _0xc43df0=_0x295b8b;console[_0xc43df0(0x1f9)](_0xc43df0(0x1f6),..._0x296ca3);}[_0x295b8b(0x221)](..._0x47d047){var _0x4263bf=_0x295b8b,_0x9a60fb={'JzxNL':_0x4263bf(0x21e)};console[_0x4263bf(0x1f9)](_0x9a60fb[_0x4263bf(0x202)],..._0x47d047);}[_0x295b8b(0x21b)](..._0x3f6e16){var _0x455569=_0x295b8b;console['log'](_0x455569(0x208),..._0x3f6e16);}[_0x295b8b(0x223)](..._0x45a757){var _0x3181c0=_0x295b8b,_0x8183cf={'BfIsR':_0x3181c0(0x206)};console[_0x3181c0(0x1f9)](_0x8183cf[_0x3181c0(0x22c)],..._0x45a757);}[_0x295b8b(0x1fc)](..._0x4c9b12){var _0x36af19=_0x295b8b;console[_0x36af19(0x1f9)]('onGroupNotifiesUpdated:',..._0x4c9b12);}[_0x295b8b(0x200)](..._0x802963){var _0x2cda4d=_0x295b8b,_0x317412={'WiVtK':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x2cda4d(0x1f9)](_0x317412['WiVtK'],..._0x802963);}[_0x295b8b(0x220)](..._0x86ae6c){var _0x4b144d=_0x295b8b;console[_0x4b144d(0x1f9)](_0x4b144d(0x1f2),..._0x86ae6c);}[_0x295b8b(0x1f7)](_0x2abe71,_0x286ac7,_0x231f44){var _0x2ea8e8=_0x295b8b,_0x57f6a0={'ZSPWE':_0x2ea8e8(0x217)};console['log'](_0x57f6a0[_0x2ea8e8(0x219)]);}[_0x295b8b(0x20a)](..._0x4a9e8c){var _0x1735c2=_0x295b8b;console[_0x1735c2(0x1f9)](_0x1735c2(0x227),..._0x4a9e8c);}[_0x295b8b(0x205)](..._0x27e630){console['log']('onGroupStatisticInfoChange:',..._0x27e630);}[_0x295b8b(0x201)](..._0x5bd6ca){var _0x56454e=_0x295b8b;console[_0x56454e(0x1f9)](_0x56454e(0x20c),..._0x5bd6ca);}[_0x295b8b(0x224)](..._0x41ca2b){var _0x3d3b4b=_0x295b8b;console[_0x3d3b4b(0x1f9)](_0x3d3b4b(0x1f8),..._0x41ca2b);}[_0x295b8b(0x214)](_0x3b1236,_0x3e65c6,_0x401ff3){var _0x48db1a=_0x295b8b,_0x1d5b18={'keeON':_0x48db1a(0x21a)};console[_0x48db1a(0x1f9)](_0x1d5b18[_0x48db1a(0x216)],_0x3b1236,_0x3e65c6,_0x401ff3);}[_0x295b8b(0x22b)](..._0x57a522){var _0x4331a1=_0x295b8b,_0x4895e4={'FGNjl':'onMemberListChange:'};console[_0x4331a1(0x1f9)](_0x4895e4[_0x4331a1(0x1fd)],..._0x57a522);}['onSearchMemberChange'](..._0x599da7){var _0x5cccc6=_0x295b8b,_0x1587c9={'PSmVQ':_0x5cccc6(0x204)};console[_0x5cccc6(0x1f9)](_0x1587c9['PSmVQ'],..._0x599da7);}[_0x295b8b(0x222)](..._0x4fc8a3){var _0x1b2d8a=_0x295b8b,_0x335f0c={'KGwed':_0x1b2d8a(0x225)};console[_0x1b2d8a(0x1f9)](_0x335f0c[_0x1b2d8a(0x1f4)],..._0x4fc8a3);}} \ No newline at end of file +var _0x592162=_0x609d;function _0x609d(_0x38019f,_0x180f98){var _0x3782ac=_0x3782();return _0x609d=function(_0x609d99,_0x1cc0e5){_0x609d99=_0x609d99-0xb0;var _0x55527c=_0x3782ac[_0x609d99];return _0x55527c;},_0x609d(_0x38019f,_0x180f98);}function _0x3782(){var _0x5b0d01=['onGroupStatisticInfoChange','onGroupBulletinRichMediaProgressUpdate','4134568RaALaE','onGroupExtListUpdate','onGroupBulletinRichMediaProgressUpdate:','12738HhulaB','onGroupBulletinRemindNotify','8589hDAlvv','aZGoB','zHpHZ','onJoinGroupNotify','onGroupSingleScreenNotifies:','onGroupArkInviteStateResult','onShutUpMemberListChanged','onGroupDetailInfoChange:','xxvHq','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete','1672470VKFgLR','onGroupBulletinChange:','onGetGroupBulletinListResult','onGroupAllInfoChange','IEfKt','onJoinGroupNoVerifyFlag:','onGroupAllInfoChange:','tgmCn','AgTEd','rURfG','onJoinGroupNotify:','onGroupNotifiesUpdated:','aDxqy','onSearchMemberChange','onGroupArkInviteStateResult:','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRemindNotify:','onGroupNotifiesUpdated','onGroupsMsgMaskResult','onShutUpMemberListChanged:','226547PmVhQn','IFZLl','onMemberListChange:','105996xuRTFS','onGroupSingleScreenNotifies','onMemberListChange','onGroupFirstBulletinNotify:','bLKYA','onJoinGroupNoVerifyFlag','1421280fqdMko','onGroupBulletinChange','NjIXH','ULpoy','onGroupListUpdate','onGroupStatisticInfoChange:','2130qBckpW','xoxvc','onGroupConfMemberChange','9yMzshc','onMemberInfoChange:','log','214SbEqXz','onGroupDetailInfoChange','onGroupMemberLevelInfoChange','onGroupsMsgMaskResult:'];_0x3782=function(){return _0x5b0d01;};return _0x3782();}(function(_0x4481ed,_0x20373f){var _0x1921df=_0x609d,_0x16fbf5=_0x4481ed();while(!![]){try{var _0x46e379=parseInt(_0x1921df(0xed))/0x1+-parseInt(_0x1921df(0xc3))/0x2*(parseInt(_0x1921df(0xcc))/0x3)+parseInt(_0x1921df(0xb1))/0x4+parseInt(_0x1921df(0xd9))/0x5+-parseInt(_0x1921df(0xbd))/0x6*(parseInt(_0x1921df(0xce))/0x7)+parseInt(_0x1921df(0xc9))/0x8*(parseInt(_0x1921df(0xc0))/0x9)+parseInt(_0x1921df(0xb7))/0xa;if(_0x46e379===_0x20373f)break;else _0x16fbf5['push'](_0x16fbf5['shift']());}catch(_0x36e09a){_0x16fbf5['push'](_0x16fbf5['shift']());}}}(_0x3782,0x570e6));export class GroupListener{[_0x592162(0xc5)](..._0x310558){}[_0x592162(0xdb)](..._0x4f3a8f){}[_0x592162(0xdc)](..._0x2bddf2){}[_0x592162(0xb8)](..._0x5913fe){}[_0x592162(0xcd)](..._0x36ba52){}[_0x592162(0xd3)](..._0x573000){}[_0x592162(0xd8)](..._0x2bca0a){}[_0x592162(0xbf)](..._0x19eb2e){}[_0x592162(0xc4)](..._0x20d22a){}[_0x592162(0xca)](..._0x577f43){}['onGroupFirstBulletinNotify'](..._0x5e3af7){}[_0x592162(0xbb)](_0x2fecdd,_0x443596){}['onGroupNotifiesUpdated'](_0x42b432,_0x47ed99){}[_0x592162(0xc8)](..._0x2022bb){}[_0x592162(0xe8)](..._0x16f1de){}[_0x592162(0xb2)](_0x3e6283,_0xbe22bb,_0x293649){}['onGroupsMsgMaskResult'](..._0xc755f){}[_0x592162(0xc7)](..._0x1d948c){}[_0x592162(0xd1)](..._0x4a5460){}['onJoinGroupNoVerifyFlag'](..._0x1ada1d){}[_0x592162(0xd7)](_0x16b85b,_0x536d0d,_0x445c19){}['onMemberListChange'](_0x211f61){}[_0x592162(0xe6)](..._0x17c35c){}[_0x592162(0xd4)](..._0x191333){}}export class DebugGroupListener{[_0x592162(0xc5)](..._0x1aec83){var _0x13590e=_0x592162,_0x29169c={'xoxvc':'onGroupMemberLevelInfoChange:'};console['log'](_0x29169c[_0x13590e(0xbe)],..._0x1aec83);}[_0x592162(0xdb)](..._0x2a19dc){var _0x531956=_0x592162,_0x3b8960={'bLKYA':'onGetGroupBulletinListResult:'};console[_0x531956(0xc2)](_0x3b8960[_0x531956(0xb5)],..._0x2a19dc);}[_0x592162(0xdc)](..._0x54668e){var _0x17b233=_0x592162;console['log'](_0x17b233(0xdf),..._0x54668e);}[_0x592162(0xb8)](..._0xb6ebc3){var _0x549f8e=_0x592162,_0x3f052d={'tgmCn':_0x549f8e(0xda)};console[_0x549f8e(0xc2)](_0x3f052d[_0x549f8e(0xe0)],..._0xb6ebc3);}[_0x592162(0xcd)](..._0x201121){var _0x5c0f7f=_0x592162;console[_0x5c0f7f(0xc2)](_0x5c0f7f(0xe9),..._0x201121);}['onGroupArkInviteStateResult'](..._0x43d8bd){var _0x5b7afb=_0x592162;console['log'](_0x5b7afb(0xe7),..._0x43d8bd);}[_0x592162(0xd8)](..._0x51cdc3){var _0x34e8f5=_0x592162,_0x194630={'aZGoB':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x34e8f5(0xc2)](_0x194630[_0x34e8f5(0xcf)],..._0x51cdc3);}['onGroupConfMemberChange'](..._0x471027){var _0x309f85=_0x592162,_0x5620e2={'EmGfY':'onGroupConfMemberChange:'};console[_0x309f85(0xc2)](_0x5620e2['EmGfY'],..._0x471027);}[_0x592162(0xc4)](..._0x4c7edc){var _0x5b22a7=_0x592162,_0x9a6ce7={'PgAgM':_0x5b22a7(0xd5)};console[_0x5b22a7(0xc2)](_0x9a6ce7['PgAgM'],..._0x4c7edc);}[_0x592162(0xca)](..._0x1d935f){var _0x2bab4a=_0x592162,_0xd78eff={'IFZLl':'onGroupExtListUpdate:'};console[_0x2bab4a(0xc2)](_0xd78eff[_0x2bab4a(0xee)],..._0x1d935f);}['onGroupFirstBulletinNotify'](..._0x62dbf2){var _0x381ff9=_0x592162,_0x154476={'PQtKL':_0x381ff9(0xb4)};console['log'](_0x154476['PQtKL'],..._0x62dbf2);}[_0x592162(0xbb)](..._0x5c8263){var _0x2a5dfe=_0x592162,_0x168b8b={'ULpoy':'onGroupListUpdate:'};console[_0x2a5dfe(0xc2)](_0x168b8b[_0x2a5dfe(0xba)],..._0x5c8263);}[_0x592162(0xea)](..._0x36be9e){var _0x346ee3=_0x592162,_0x4dd7ba={'rURfG':_0x346ee3(0xe4)};console[_0x346ee3(0xc2)](_0x4dd7ba[_0x346ee3(0xe2)],..._0x36be9e);}[_0x592162(0xc8)](..._0x3a3a54){var _0x28cafc=_0x592162,_0x53b78c={'aDxqy':_0x28cafc(0xcb)};console[_0x28cafc(0xc2)](_0x53b78c[_0x28cafc(0xe5)],..._0x3a3a54);}[_0x592162(0xe8)](..._0x1d0580){var _0x5c4d7a=_0x592162,_0x57b3dc={'AgTEd':'onGroupNotifiesUnreadCountUpdated:'};console[_0x5c4d7a(0xc2)](_0x57b3dc[_0x5c4d7a(0xe1)],..._0x1d0580);}[_0x592162(0xb2)](_0x3291c5,_0x6c29a2,_0x18c9b2){var _0x2c3bda=_0x592162,_0xd5d5ba={'IRMbR':_0x2c3bda(0xd2)};console[_0x2c3bda(0xc2)](_0xd5d5ba['IRMbR']);}[_0x592162(0xeb)](..._0x14dd53){var _0x2c6a78=_0x592162,_0x53d27c={'xxvHq':_0x2c6a78(0xc6)};console[_0x2c6a78(0xc2)](_0x53d27c[_0x2c6a78(0xd6)],..._0x14dd53);}['onGroupStatisticInfoChange'](..._0x419d53){var _0x5f0128=_0x592162,_0x13fe04={'VtuGu':_0x5f0128(0xbc)};console['log'](_0x13fe04['VtuGu'],..._0x419d53);}[_0x592162(0xd1)](..._0x29ff51){var _0x2cb89f=_0x592162,_0x15f888={'IEfKt':_0x2cb89f(0xe3)};console[_0x2cb89f(0xc2)](_0x15f888[_0x2cb89f(0xdd)],..._0x29ff51);}[_0x592162(0xb6)](..._0x5062d5){var _0xc37c65=_0x592162,_0xb8addb={'NjIXH':_0xc37c65(0xde)};console['log'](_0xb8addb[_0xc37c65(0xb9)],..._0x5062d5);}[_0x592162(0xd7)](_0xb51afd,_0x325541,_0x428ab5){var _0x552dea=_0x592162;console[_0x552dea(0xc2)](_0x552dea(0xc1),_0xb51afd,_0x325541,_0x428ab5);}[_0x592162(0xb3)](..._0x147b25){var _0x55454d=_0x592162;console['log'](_0x55454d(0xb0),..._0x147b25);}[_0x592162(0xe6)](..._0x3d9718){var _0x2478ea=_0x592162;console[_0x2478ea(0xc2)]('onSearchMemberChange:',..._0x3d9718);}[_0x592162(0xd4)](..._0x2a355f){var _0x1a7e46=_0x592162,_0x32d841={'zHpHZ':_0x1a7e46(0xec)};console['log'](_0x32d841[_0x1a7e46(0xd0)],..._0x2a355f);}} \ 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 11c2e89c..f9670cb7 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x43d4(_0x49190c,_0x5b089b){var _0xeb2467=_0xeb24();return _0x43d4=function(_0x43d41e,_0x1f51cf){_0x43d41e=_0x43d41e-0x13e;var _0x41df47=_0xeb2467[_0x43d41e];return _0x41df47;},_0x43d4(_0x49190c,_0x5b089b);}var _0x5408f1=_0x43d4;(function(_0x51d8ce,_0x38f665){var _0x48d175=_0x43d4,_0x19ab41=_0x51d8ce();while(!![]){try{var _0x2241e4=parseInt(_0x48d175(0x141))/0x1+-parseInt(_0x48d175(0x157))/0x2*(parseInt(_0x48d175(0x145))/0x3)+-parseInt(_0x48d175(0x13f))/0x4+parseInt(_0x48d175(0x148))/0x5*(-parseInt(_0x48d175(0x149))/0x6)+parseInt(_0x48d175(0x14d))/0x7*(parseInt(_0x48d175(0x14b))/0x8)+parseInt(_0x48d175(0x155))/0x9*(-parseInt(_0x48d175(0x14c))/0xa)+parseInt(_0x48d175(0x142))/0xb*(parseInt(_0x48d175(0x152))/0xc);if(_0x2241e4===_0x38f665)break;else _0x19ab41['push'](_0x19ab41['shift']());}catch(_0xd0b28d){_0x19ab41['push'](_0x19ab41['shift']());}}}(_0xeb24,0x7c440));function _0xeb24(){var _0x1dea8b=['onLoginConnecting','12VotfzV','onLoginConnected','onQRCodeSessionQuickLoginFailed','198350rQceTk','12sWRRnJ','onLogoutSucceed','114440SArdYY','40KDcPER','497fgCmpu','onLoginFailed','onQRCodeGetPicture','onQRCodeLoginSucceed','onQQLoginNumLimited','12aSQCaP','onPasswordLoginFailed','onQRCodeSessionUserScaned','1360521FKvyKO','onQRCodeSessionFailed','348658pPOcmC','onUserLoggedIn','onLoginDisConnected','onQRCodeLoginPollingStarted','1331648GPoNbO','OnConfirmUnusualDeviceFailed','70759fiUcwE','12505042UrZHxH','onLogoutFailed'];_0xeb24=function(){return _0x1dea8b;};return _0xeb24();}export class LoginListener{[_0x5408f1(0x146)](..._0xbbb5b1){}[_0x5408f1(0x159)](..._0x383e6d){}[_0x5408f1(0x144)](..._0x552725){}[_0x5408f1(0x14f)](_0x53d26d){}[_0x5408f1(0x13e)](..._0x37330e){}[_0x5408f1(0x154)](..._0x167edb){}[_0x5408f1(0x150)](_0x434d07){}[_0x5408f1(0x156)](..._0x43d0c4){}[_0x5408f1(0x14e)](..._0x14b7e8){}[_0x5408f1(0x14a)](..._0x244eed){}[_0x5408f1(0x143)](..._0x404746){}[_0x5408f1(0x158)](..._0x707183){}[_0x5408f1(0x147)](..._0x4f4518){}[_0x5408f1(0x153)](..._0x2d747d){}[_0x5408f1(0x140)](..._0x4a0cb0){}[_0x5408f1(0x151)](..._0x1a1de0){}['onLoginState'](..._0x4f3719){}} \ No newline at end of file +var _0x2de74a=_0x4e81;(function(_0x320c7a,_0x139d6c){var _0x5d5ca1=_0x4e81,_0x34f0e9=_0x320c7a();while(!![]){try{var _0x52e9db=parseInt(_0x5d5ca1(0xc9))/0x1*(parseInt(_0x5d5ca1(0xc5))/0x2)+parseInt(_0x5d5ca1(0xce))/0x3+-parseInt(_0x5d5ca1(0xd7))/0x4*(parseInt(_0x5d5ca1(0xcd))/0x5)+-parseInt(_0x5d5ca1(0xd6))/0x6*(parseInt(_0x5d5ca1(0xd2))/0x7)+parseInt(_0x5d5ca1(0xc7))/0x8+-parseInt(_0x5d5ca1(0xc8))/0x9*(parseInt(_0x5d5ca1(0xd1))/0xa)+parseInt(_0x5d5ca1(0xc4))/0xb;if(_0x52e9db===_0x139d6c)break;else _0x34f0e9['push'](_0x34f0e9['shift']());}catch(_0xdc2753){_0x34f0e9['push'](_0x34f0e9['shift']());}}}(_0x4680,0xbc61c));function _0x4680(){var _0x5ec6c6=['792UeAHhd','onLoginFailed','6173048iGkQXg','918jDYVEj','155nojShR','onQRCodeSessionQuickLoginFailed','onLoginConnecting','onQRCodeGetPicture','6470qPFAIv','2777319ORjtoj','onUserLoggedIn','onLogoutFailed','118150UUKrTA','49VJexyL','onQRCodeLoginPollingStarted','onLoginDisConnected','onQRCodeSessionFailed','467706FyfbwU','4276BzNQxa','onLogoutSucceed','23615911nJsoGL'];_0x4680=function(){return _0x5ec6c6;};return _0x4680();}function _0x4e81(_0x3f61ec,_0x49d184){var _0x468041=_0x4680();return _0x4e81=function(_0x4e811e,_0xf796b3){_0x4e811e=_0x4e811e-0xc3;var _0x16990a=_0x468041[_0x4e811e];return _0x16990a;},_0x4e81(_0x3f61ec,_0x49d184);}export class LoginListener{['onLoginConnected'](..._0x129cb0){}[_0x2de74a(0xd4)](..._0x398317){}[_0x2de74a(0xcb)](..._0x360d5f){}[_0x2de74a(0xcc)](_0x414f25){}[_0x2de74a(0xd3)](..._0x16e312){}['onQRCodeSessionUserScaned'](..._0x5b9015){}['onQRCodeLoginSucceed'](_0x4249c3){}[_0x2de74a(0xd5)](..._0x523277){}[_0x2de74a(0xc6)](..._0x50eeba){}[_0x2de74a(0xc3)](..._0x3d0d8d){}[_0x2de74a(0xd0)](..._0x1d0e05){}[_0x2de74a(0xcf)](..._0x5433fd){}[_0x2de74a(0xca)](..._0x4dabc6){}['onPasswordLoginFailed'](..._0x3ae4aa){}['OnConfirmUnusualDeviceFailed'](..._0x2ac444){}['onQQLoginNumLimited'](..._0x5a1b8f){}['onLoginState'](..._0x526413){}} \ 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 169d7703..49e92405 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0xf6f1(_0x4f88c1,_0x2f8dfe){var _0x2c3f8f=_0x2c3f();return _0xf6f1=function(_0xf6f12c,_0x38820f){_0xf6f12c=_0xf6f12c-0xd4;var _0x4b933f=_0x2c3f8f[_0xf6f12c];return _0x4b933f;},_0xf6f1(_0x4f88c1,_0x2f8dfe);}var _0x8126cc=_0xf6f1;(function(_0x2d5ffb,_0xc20257){var _0x25623b=_0xf6f1,_0xe22769=_0x2d5ffb();while(!![]){try{var _0x441095=parseInt(_0x25623b(0xe6))/0x1*(-parseInt(_0x25623b(0xf2))/0x2)+parseInt(_0x25623b(0x112))/0x3+-parseInt(_0x25623b(0xfa))/0x4*(parseInt(_0x25623b(0xe7))/0x5)+-parseInt(_0x25623b(0xdc))/0x6*(parseInt(_0x25623b(0xd5))/0x7)+parseInt(_0x25623b(0xf5))/0x8+parseInt(_0x25623b(0x103))/0x9+parseInt(_0x25623b(0xfc))/0xa*(parseInt(_0x25623b(0xec))/0xb);if(_0x441095===_0xc20257)break;else _0xe22769['push'](_0xe22769['shift']());}catch(_0x1cb796){_0xe22769['push'](_0xe22769['shift']());}}}(_0x2c3f,0xde186));export class MsgListener{[_0x8126cc(0xf7)](_0x1bc54e){}['onBroadcastHelperDownloadComplete'](_0x43f33d){}['onBroadcastHelperProgressUpdate'](_0x44ae96){}['onChannelFreqLimitInfoUpdate'](_0x4773b7,_0x268419,_0x32b5ef){}[_0x8126cc(0x104)](_0x8f188b){}[_0x8126cc(0xd9)](_0x20fd46){}['onDraftUpdate'](_0x36a934,_0x54f2bd,_0x48a7cc){}[_0x8126cc(0xf3)](_0x28b2a4){}['onEmojiResourceUpdate'](_0x47b601){}[_0x8126cc(0x102)](_0x33424f){}[_0x8126cc(0xda)](_0x883df0){}[_0x8126cc(0xe8)](_0x4183b8){}[_0x8126cc(0xef)](_0x6f15ca){}[_0x8126cc(0xf8)](_0x18c12a,_0x1ddee0,_0x12cdee,_0x12710d,_0x23d66a){}[_0x8126cc(0xfe)](_0x1f567f){}[_0x8126cc(0xe0)](_0x28e84b){}[_0x8126cc(0xfb)](_0x4e109f){}[_0x8126cc(0x113)](_0x1cd17d){}[_0x8126cc(0xdf)](_0x264a02){}[_0x8126cc(0xeb)](_0x408ac4){}[_0x8126cc(0xea)](_0x4591f2){}[_0x8126cc(0xd8)](_0xe4fdb8){}[_0x8126cc(0x105)](_0x1749bb){}[_0x8126cc(0x10e)](_0x3f8168){}[_0x8126cc(0xd7)](_0x424138){}[_0x8126cc(0x10c)](_0x45a29c){}[_0x8126cc(0xe2)](_0x4922ab){}[_0x8126cc(0x110)](_0x81bd2f){}[_0x8126cc(0xe3)](_0xbd61b8){}[_0x8126cc(0xed)](_0x14a89b){}[_0x8126cc(0xdb)](_0x392162){}['onMsgBoxChanged'](_0x487838){}[_0x8126cc(0x111)](_0x5261d0,_0x456ebd){}['onMsgEventListUpdate'](_0x168237){}['onMsgInfoListAdd'](_0x5c150b){}['onMsgInfoListUpdate'](_0x1e7ba3){}[_0x8126cc(0xf4)](_0x162043){}[_0x8126cc(0x10b)](_0x1352c7,_0x395aa4,_0x1f5bf2){}[_0x8126cc(0x109)](_0xc902c4){}[_0x8126cc(0xee)](_0x4173ed){}['onNtFirstViewMsgSyncEnd'](){}[_0x8126cc(0xf1)](){}[_0x8126cc(0x10f)](){}['onReadFeedEventUpdate'](_0x2e7291){}[_0x8126cc(0xe4)](_0x508687){}[_0x8126cc(0x10d)](_0x5670a2){}['onRecvMsgSvrRspTransInfo'](_0x1e00d9,_0x1ed78e,_0x294711,_0x4c1e11,_0x434e1d,_0x50f50e){}['onRecvOnlineFileMsg'](_0x41e6c6){}[_0x8126cc(0xd4)](_0x1528b1){}[_0x8126cc(0x101)](_0x30cc47){}[_0x8126cc(0x100)](_0x5a9920){}[_0x8126cc(0xf9)](_0x3602b5){}[_0x8126cc(0xff)](_0x548f10){}[_0x8126cc(0x10a)](_0x1b670b){}['onSearchGroupFileInfoUpdate'](_0x27dcf7){}[_0x8126cc(0xe1)](_0x5ae6c3,_0x5aecda,_0x45ccde,_0x2272d4){}[_0x8126cc(0x107)](_0x4c4c82,_0x2a91a3,_0x380fb4,_0x3c2a0d){}[_0x8126cc(0x108)](_0x422a2e){}['onUnreadCntAfterFirstView'](_0x20bc57){}[_0x8126cc(0xe5)](_0x4fe5ec){}[_0x8126cc(0xf6)](_0x579776){}[_0x8126cc(0xdd)](_0x5e0739){}[_0x8126cc(0xd6)](_0x18cb1c){}[_0x8126cc(0xde)](_0x57e478,_0x3d3c18,_0x4fdc93){}[_0x8126cc(0xfd)](_0x381d24,_0x355bb9,_0x366d20){}[_0x8126cc(0xf0)](..._0x16222d){}['onMsgWithRichLinkInfoUpdate'](..._0xe6fec9){}[_0x8126cc(0xe9)](..._0x44fe43){}[_0x8126cc(0x106)](..._0xc14fa5){}}function _0x2c3f(){var _0x2342fc=['14BWlzCu','onUserTabStatusChanged','onHitRelatedEmojiResult','onGuildNotificationAbstractUpdate','onCustomWithdrawConfigUpdate','onFileMsgCome','onMsgAbstractUpdate','2332758EuVBQJ','onUserOnlineStatusChanged','onlineStatusBigIconDownloadPush','onGroupTransferInfoUpdate','onGroupFileInfoUpdate','onSendMsgError','onInputStatusPush','onLineDev','onRecvGroupGuildFlag','onUnreadCntUpdate','1571OjKSIl','1259485cuMsAW','onFirstViewDirectMsgUpdate','onRedTouchChanged','onGuildMsgAbFlagChanged','onGuildInteractiveUpdate','22dIJfYB','onLogLevelChanged','onMsgSettingUpdate','onFirstViewGroupGuildMapping','onUserSecQualityChanged','onNtMsgSyncEnd','10mdDrng','onEmojiDownloadComplete','onMsgQRCodeStatusChanged','8186136ZmfSRw','onUserChannelTabStatusChanged','onAddSendMsg','onGrabPasswordRedBag','onRichMediaDownloadComplete','24ApHtgp','onGroupGuildUpdate','5051370VbWClb','onlineStatusSmallIconDownloadPush','onGroupFileInfoAdd','onRichMediaProgerssUpdate','onRecvUDCFlag','onRecvSysMsg','onFeedEventUpdate','8781966AZGgnp','onContactUnreadCntUpdate','onHitCsRelatedEmojiResult','onBroadcastHelperProgerssUpdate','onSysMsgNotification','onTempChatInfoUpdate','onMsgSecurityNotify','onRichMediaUploadComplete','onMsgRecall','onImportOldDbProgressUpdate','onRecvMsg','onHitEmojiKeywordResult','onNtMsgSyncStart','onKickedOffLine','onMsgDelete','591630nipDyr','onGroupTransferInfoAdd','onRecvS2CMsg'];_0x2c3f=function(){return _0x2342fc;};return _0x2c3f();} \ No newline at end of file +function _0x4224(){var _0x282edf=['20oNrAKh','5957905NWmodb','onBroadcastHelperProgerssUpdate','onGuildMsgAbFlagChanged','onlineStatusSmallIconDownloadPush','onFirstViewGroupGuildMapping','onLineDev','onKickedOffLine','onNtMsgSyncStart','onGroupGuildUpdate','onFeedEventUpdate','onMsgDelete','onSysMsgNotification','onHitCsRelatedEmojiResult','onRecvMsg','40148qoUsPQ','8xWyDwL','onRedTouchChanged','onHitEmojiKeywordResult','onBroadcastHelperProgressUpdate','onMsgQRCodeStatusChanged','onMsgAbstractUpdate','onRecvSysMsg','onNtFirstViewMsgSyncEnd','onRecvUDCFlag','onFileMsgCome','onSendMsgError','onGroupFileInfoAdd','14RHyVoJ','onGrabPasswordRedBag','onUserOnlineStatusChanged','onBroadcastHelperDownloadComplete','onGroupTransferInfoAdd','4050810OkKowI','onUserChannelTabStatusChanged','onGroupFileInfoUpdate','onInputStatusPush','onImportOldDbProgressUpdate','onUserTabStatusChanged','12wJEbgX','onMsgSettingUpdate','onMsgBoxChanged','onEmojiResourceUpdate','onRichMediaDownloadComplete','onEmojiDownloadComplete','onRecvMsgSvrRspTransInfo','onSearchGroupFileInfoUpdate','onContactUnreadCntUpdate','10892632wErjhb','onReadFeedEventUpdate','onGuildInteractiveUpdate','onUserSecQualityChanged','onMsgEventListUpdate','onMsgRecall','onUnreadCntUpdate','36GtvIBR','onLogLevelChanged','onChannelFreqLimitInfoUpdate','16743892RJYQPN','onNtMsgSyncEnd','158399lkKjXB','onMsgSecurityNotify','3640077eTkYyN','onRecvGroupGuildFlag'];_0x4224=function(){return _0x282edf;};return _0x4224();}var _0x518cab=_0x2de9;function _0x2de9(_0x46fa62,_0x39314e){var _0x422470=_0x4224();return _0x2de9=function(_0x2de9aa,_0x26e194){_0x2de9aa=_0x2de9aa-0xc5;var _0xb05c6=_0x422470[_0x2de9aa];return _0xb05c6;},_0x2de9(_0x46fa62,_0x39314e);}(function(_0x39eb54,_0x170fc1){var _0x433d33=_0x2de9,_0x1b539e=_0x39eb54();while(!![]){try{var _0x497f0f=-parseInt(_0x433d33(0xdc))/0x1*(-parseInt(_0x433d33(0xf0))/0x2)+parseInt(_0x433d33(0xc7))/0x3*(parseInt(_0x433d33(0xef))/0x4)+parseInt(_0x433d33(0xe1))/0x5+-parseInt(_0x433d33(0x101))/0x6*(-parseInt(_0x433d33(0xfc))/0x7)+parseInt(_0x433d33(0xd0))/0x8+-parseInt(_0x433d33(0xde))/0x9*(-parseInt(_0x433d33(0xe0))/0xa)+-parseInt(_0x433d33(0xda))/0xb*(parseInt(_0x433d33(0xd7))/0xc);if(_0x497f0f===_0x170fc1)break;else _0x1b539e['push'](_0x1b539e['shift']());}catch(_0x2de5e8){_0x1b539e['push'](_0x1b539e['shift']());}}}(_0x4224,0xc816c));export class MsgListener{['onAddSendMsg'](_0x465c31){}[_0x518cab(0xff)](_0x306a78){}[_0x518cab(0xf3)](_0x17e7c1){}[_0x518cab(0xd9)](_0x192d6f,_0x174194,_0x455367){}[_0x518cab(0xcf)](_0x3c7c6a){}['onCustomWithdrawConfigUpdate'](_0x4e11e6){}['onDraftUpdate'](_0x590900,_0x334e01,_0x4d7372){}[_0x518cab(0xcc)](_0x58a2a1){}[_0x518cab(0xca)](_0x1e8c83){}[_0x518cab(0xea)](_0x3aaa30){}[_0x518cab(0xf9)](_0x1aef5b){}['onFirstViewDirectMsgUpdate'](_0x118dee){}[_0x518cab(0xe5)](_0x476a03){}[_0x518cab(0xfd)](_0x1ab99f,_0x2e89e1,_0x3c9834,_0x5ce3dd,_0x43c161){}[_0x518cab(0xfb)](_0x1e5570){}[_0x518cab(0x103)](_0x5d2189){}[_0x518cab(0xe9)](_0x4a30d8){}[_0x518cab(0x100)](_0x5f5afa){}['onGroupTransferInfoUpdate'](_0x1e01f1){}[_0x518cab(0xd2)](_0x2bf75b){}[_0x518cab(0xe3)](_0x8eb9e5){}['onGuildNotificationAbstractUpdate'](_0x52ee40){}[_0x518cab(0xed)](_0x5108ac){}[_0x518cab(0xf2)](_0x24fdb9){}['onHitRelatedEmojiResult'](_0x32f26d){}[_0x518cab(0xc5)](_0x520ab3){}[_0x518cab(0x104)](_0x379297){}[_0x518cab(0xe7)](_0x832878){}[_0x518cab(0xe6)](_0x518566){}[_0x518cab(0xd8)](_0x5ded4d){}[_0x518cab(0xf5)](_0x5a642d){}[_0x518cab(0xc9)](_0x5d9239){}[_0x518cab(0xeb)](_0x5ef8e6,_0x1e7387){}[_0x518cab(0xd4)](_0x4313c7){}['onMsgInfoListAdd'](_0x4cea32){}['onMsgInfoListUpdate'](_0x29c633){}[_0x518cab(0xf4)](_0x2a2332){}[_0x518cab(0xd5)](_0x5a8ff6,_0x25f46a,_0x4b483a){}[_0x518cab(0xdd)](_0x28fa10){}[_0x518cab(0xc8)](_0x279dca){}[_0x518cab(0xf7)](){}[_0x518cab(0xdb)](){}[_0x518cab(0xe8)](){}[_0x518cab(0xd1)](_0x2001fc){}[_0x518cab(0xdf)](_0x221414){}[_0x518cab(0xee)](_0x79f892){}[_0x518cab(0xcd)](_0x1a0cb5,_0x258b3c,_0x174a2a,_0x56a73e,_0x17a995,_0x2a3a8b){}['onRecvOnlineFileMsg'](_0x5ef439){}['onRecvS2CMsg'](_0x5f0822){}[_0x518cab(0xf6)](_0x1111f4){}[_0x518cab(0xf8)](_0x1e88a2){}[_0x518cab(0xcb)](_0x69660b){}['onRichMediaProgerssUpdate'](_0x4f08a1){}['onRichMediaUploadComplete'](_0x5a9688){}[_0x518cab(0xce)](_0xf31f0e){}[_0x518cab(0xfa)](_0x397a92,_0x28c6a8,_0x578e03,_0x282dab){}[_0x518cab(0xec)](_0x1576e3,_0x13d700,_0x5008e6,_0x1fef4e){}['onTempChatInfoUpdate'](_0x2e7f29){}['onUnreadCntAfterFirstView'](_0x570e87){}[_0x518cab(0xd6)](_0x38c48a){}[_0x518cab(0x102)](_0x5634f8){}[_0x518cab(0xfe)](_0x16798a){}[_0x518cab(0xc6)](_0x557ef5){}['onlineStatusBigIconDownloadPush'](_0x294219,_0x1ab44a,_0x3bb170){}[_0x518cab(0xe4)](_0x354d4b,_0x515c4c,_0x376018){}[_0x518cab(0xd3)](..._0x4890ad){}['onMsgWithRichLinkInfoUpdate'](..._0x259b37){}[_0x518cab(0xf1)](..._0x2099da){}[_0x518cab(0xe2)](..._0x508eac){}} \ 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 4007092f..ba85a741 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x16f1d8=_0x217d;(function(_0x371222,_0x3acc28){var _0x4188f8=_0x217d,_0x4b3056=_0x371222();while(!![]){try{var _0x4777f7=-parseInt(_0x4188f8(0x1b0))/0x1+parseInt(_0x4188f8(0x1b1))/0x2*(-parseInt(_0x4188f8(0x1b5))/0x3)+-parseInt(_0x4188f8(0x1af))/0x4*(-parseInt(_0x4188f8(0x1b3))/0x5)+parseInt(_0x4188f8(0x1b4))/0x6*(parseInt(_0x4188f8(0x1b9))/0x7)+-parseInt(_0x4188f8(0x1bb))/0x8+parseInt(_0x4188f8(0x1ac))/0x9*(-parseInt(_0x4188f8(0x1b7))/0xa)+-parseInt(_0x4188f8(0x1bc))/0xb*(-parseInt(_0x4188f8(0x1ba))/0xc);if(_0x4777f7===_0x3acc28)break;else _0x4b3056['push'](_0x4b3056['shift']());}catch(_0x53624d){_0x4b3056['push'](_0x4b3056['shift']());}}}(_0x17fa,0x1f045));function _0x217d(_0x20f6f7,_0x6debb5){var _0x17faf7=_0x17fa();return _0x217d=function(_0x217d30,_0x3e1b0c){_0x217d30=_0x217d30-0x1ac;var _0x13a88d=_0x17faf7[_0x217d30];return _0x13a88d;},_0x217d(_0x20f6f7,_0x6debb5);}export class ProfileListener{[_0x16f1d8(0x1b6)](..._0x3359b7){}[_0x16f1d8(0x1ad)](_0xef7218){}[_0x16f1d8(0x1b2)](..._0x3c93b6){}[_0x16f1d8(0x1ae)](..._0x4028fd){}[_0x16f1d8(0x1b8)](..._0x51bc8a){}}function _0x17fa(){var _0x2173cf=['onProfileSimpleChanged','250evxcRz','onStrangerRemarkChanged','5719rYjbtP','7944JdjCaE','455400fHmIWz','2189vHEJLB','45225VaIFfs','onProfileDetailInfoChanged','onSelfStatusChanged','164aoupth','29243gigTaq','17014NnYCJx','onStatusUpdate','19080ItJlOi','1434FFXDGn','51DhxKSc'];_0x17fa=function(){return _0x2173cf;};return _0x17fa();} \ No newline at end of file +function _0x210b(){var _0x465628=['2012978SPeExG','6JimFEs','6792168haQEiD','11IVssAj','7049930uWXPZc','9xpCTzb','5585290pCJDXz','1289852KGVhxL','15TqpYJT','onSelfStatusChanged','376GTDJux','onStatusUpdate','1280660TBDmyJ','onStrangerRemarkChanged','237790tLCkKO','onProfileDetailInfoChanged'];_0x210b=function(){return _0x465628;};return _0x210b();}function _0x6d8f(_0x5ec009,_0xbf7082){var _0x210b79=_0x210b();return _0x6d8f=function(_0x6d8fc,_0x465c93){_0x6d8fc=_0x6d8fc-0x1cc;var _0x2616c7=_0x210b79[_0x6d8fc];return _0x2616c7;},_0x6d8f(_0x5ec009,_0xbf7082);}var _0x4d548d=_0x6d8f;(function(_0x41d8fc,_0x2e3340){var _0x29920e=_0x6d8f,_0x1378a9=_0x41d8fc();while(!![]){try{var _0x5398ed=parseInt(_0x29920e(0x1d9))/0x1+parseInt(_0x29920e(0x1d2))/0x2+-parseInt(_0x29920e(0x1da))/0x3*(-parseInt(_0x29920e(0x1ce))/0x4)+-parseInt(_0x29920e(0x1d6))/0x5*(parseInt(_0x29920e(0x1d3))/0x6)+parseInt(_0x29920e(0x1d0))/0x7*(-parseInt(_0x29920e(0x1cc))/0x8)+-parseInt(_0x29920e(0x1d7))/0x9*(-parseInt(_0x29920e(0x1d8))/0xa)+-parseInt(_0x29920e(0x1d5))/0xb*(parseInt(_0x29920e(0x1d4))/0xc);if(_0x5398ed===_0x2e3340)break;else _0x1378a9['push'](_0x1378a9['shift']());}catch(_0x5478bd){_0x1378a9['push'](_0x1378a9['shift']());}}}(_0x210b,0xd79a1));export class ProfileListener{['onProfileSimpleChanged'](..._0x52358a){}[_0x4d548d(0x1d1)](_0x841c29){}[_0x4d548d(0x1cd)](..._0x26ac83){}[_0x4d548d(0x1db)](..._0x1d654e){}[_0x4d548d(0x1cf)](..._0x9abf5d){}} \ 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 a50e8804..ad96e0cd 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x49e93f=_0x1601;function _0x1601(_0x32b17a,_0x17d5dc){var _0x348249=_0x3482();return _0x1601=function(_0x16018c,_0x2c4326){_0x16018c=_0x16018c-0xba;var _0x54c3a9=_0x348249[_0x16018c];return _0x54c3a9;},_0x1601(_0x32b17a,_0x17d5dc);}function _0x3482(){var _0x3ec35a=['89618JrjWbW','30460RdwxPS','onRobotListChanged','4nbbxBU','3478590APNIjP','onRobotFriendListChanged','4176720ikfMwU','onRobotProfileChanged','2277bVDHnF','17OrYsxD','8638782TjrUvC','138325KkGVRO','8858577LhvEWV'];_0x3482=function(){return _0x3ec35a;};return _0x3482();}(function(_0x451b2b,_0x36e02e){var _0x31e82a=_0x1601,_0x2b101c=_0x451b2b();while(!![]){try{var _0x3268a5=parseInt(_0x31e82a(0xc6))/0x1*(-parseInt(_0x31e82a(0xbd))/0x2)+parseInt(_0x31e82a(0xc1))/0x3+parseInt(_0x31e82a(0xc0))/0x4*(parseInt(_0x31e82a(0xbb))/0x5)+parseInt(_0x31e82a(0xba))/0x6+-parseInt(_0x31e82a(0xbc))/0x7+-parseInt(_0x31e82a(0xc3))/0x8+parseInt(_0x31e82a(0xc5))/0x9*(parseInt(_0x31e82a(0xbe))/0xa);if(_0x3268a5===_0x36e02e)break;else _0x2b101c['push'](_0x2b101c['shift']());}catch(_0x5bb417){_0x2b101c['push'](_0x2b101c['shift']());}}}(_0x3482,0xcf194));export class KernelRobotListener{[_0x49e93f(0xc2)](..._0x581158){}[_0x49e93f(0xbf)](..._0x3e323b){}[_0x49e93f(0xc4)](..._0x1bdfe0){}} \ No newline at end of file +var _0x1679a2=_0x622c;(function(_0x528caf,_0x2c5038){var _0x2d821a=_0x622c,_0x3b6726=_0x528caf();while(!![]){try{var _0x48fe62=parseInt(_0x2d821a(0x199))/0x1+-parseInt(_0x2d821a(0x19a))/0x2*(parseInt(_0x2d821a(0x196))/0x3)+-parseInt(_0x2d821a(0x191))/0x4*(-parseInt(_0x2d821a(0x194))/0x5)+parseInt(_0x2d821a(0x192))/0x6+-parseInt(_0x2d821a(0x193))/0x7*(parseInt(_0x2d821a(0x195))/0x8)+-parseInt(_0x2d821a(0x19d))/0x9+-parseInt(_0x2d821a(0x197))/0xa*(-parseInt(_0x2d821a(0x19b))/0xb);if(_0x48fe62===_0x2c5038)break;else _0x3b6726['push'](_0x3b6726['shift']());}catch(_0x1adb52){_0x3b6726['push'](_0x3b6726['shift']());}}}(_0x2ce0,0x5f04a));export class KernelRobotListener{['onRobotFriendListChanged'](..._0xb09640){}[_0x1679a2(0x19c)](..._0x5a1bfd){}[_0x1679a2(0x198)](..._0x1b6d5e){}}function _0x622c(_0x3a8d0f,_0xd91c91){var _0x2ce036=_0x2ce0();return _0x622c=function(_0x622c27,_0x2a6640){_0x622c27=_0x622c27-0x191;var _0x17e035=_0x2ce036[_0x622c27];return _0x17e035;},_0x622c(_0x3a8d0f,_0xd91c91);}function _0x2ce0(){var _0x2f270f=['1416OETOLZ','1124463mxCDwT','590IJDVqX','onRobotProfileChanged','274262rdSybO','2xoeyNM','139733hNauwd','onRobotListChanged','4213377Onsgdg','115468euFMoA','2890884lqZgBa','16520qAsvyA','25xFwOfX'];_0x2ce0=function(){return _0x2f270f;};return _0x2ce0();} \ 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 6d49e421..5aade6b6 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x1c79(){var _0x471f43=['3138773NJTqkF','onOpentelemetryInit','60RLEzRG','onNTSessionCreate','9524VaBmic','849rxGLtV','108ZuerYg','145fmVbQc','27LXibhd','onUserOnlineResult','232196iOSAXm','1858426RjpYPc','5738170mYjGmU','onSessionInitComplete','onGProSessionCreate','631113YzDQGx','1601112KfBKPC'];_0x1c79=function(){return _0x471f43;};return _0x1c79();}function _0x3eb2(_0x3b9cac,_0xa54df9){var _0x1c7961=_0x1c79();return _0x3eb2=function(_0x3eb21e,_0x45f9f0){_0x3eb21e=_0x3eb21e-0xb1;var _0x7032da=_0x1c7961[_0x3eb21e];return _0x7032da;},_0x3eb2(_0x3b9cac,_0xa54df9);}var _0x576ccc=_0x3eb2;(function(_0x3848c1,_0x55c1c3){var _0x2ba13b=_0x3eb2,_0x1afd69=_0x3848c1();while(!![]){try{var _0x17ac55=parseInt(_0x2ba13b(0xb5))/0x1+-parseInt(_0x2ba13b(0xbf))/0x2*(parseInt(_0x2ba13b(0xc0))/0x3)+parseInt(_0x2ba13b(0xb4))/0x4*(-parseInt(_0x2ba13b(0xb1))/0x5)+-parseInt(_0x2ba13b(0xc1))/0x6*(-parseInt(_0x2ba13b(0xb9))/0x7)+parseInt(_0x2ba13b(0xba))/0x8+-parseInt(_0x2ba13b(0xb2))/0x9*(-parseInt(_0x2ba13b(0xb6))/0xa)+parseInt(_0x2ba13b(0xbb))/0xb*(-parseInt(_0x2ba13b(0xbd))/0xc);if(_0x17ac55===_0x55c1c3)break;else _0x1afd69['push'](_0x1afd69['shift']());}catch(_0x4e1c07){_0x1afd69['push'](_0x1afd69['shift']());}}}(_0x1c79,0xe6bc8));export class SessionListener{[_0x576ccc(0xbe)](_0x36e85a){}[_0x576ccc(0xb8)](_0x1db95a){}[_0x576ccc(0xb7)](_0x54481a){}[_0x576ccc(0xbc)](_0x35dc48){}[_0x576ccc(0xb3)](_0x31e96d){}['onGetSelfTinyId'](_0x2a0b3d){}} \ No newline at end of file +function _0x8135(_0x33cfb8,_0x38c7f7){var _0x33f1a7=_0x33f1();return _0x8135=function(_0x8135cc,_0x21e929){_0x8135cc=_0x8135cc-0x104;var _0x5cacdb=_0x33f1a7[_0x8135cc];return _0x5cacdb;},_0x8135(_0x33cfb8,_0x38c7f7);}var _0x5f83d4=_0x8135;(function(_0x23d913,_0x48978e){var _0x55d9dd=_0x8135,_0x44386a=_0x23d913();while(!![]){try{var _0xd782d2=-parseInt(_0x55d9dd(0x108))/0x1*(-parseInt(_0x55d9dd(0x10a))/0x2)+parseInt(_0x55d9dd(0x109))/0x3*(-parseInt(_0x55d9dd(0x10e))/0x4)+-parseInt(_0x55d9dd(0x106))/0x5+-parseInt(_0x55d9dd(0x104))/0x6+-parseInt(_0x55d9dd(0x10d))/0x7+parseInt(_0x55d9dd(0x107))/0x8*(parseInt(_0x55d9dd(0x105))/0x9)+parseInt(_0x55d9dd(0x10b))/0xa;if(_0xd782d2===_0x48978e)break;else _0x44386a['push'](_0x44386a['shift']());}catch(_0x16bd92){_0x44386a['push'](_0x44386a['shift']());}}}(_0x33f1,0x2b804));export class SessionListener{[_0x5f83d4(0x10c)](_0x2dc1e9){}['onGProSessionCreate'](_0x5a017c){}[_0x5f83d4(0x110)](_0x1a9f71){}['onOpentelemetryInit'](_0x60e913){}['onUserOnlineResult'](_0x3c7fd8){}[_0x5f83d4(0x10f)](_0xe71a1b){}}function _0x33f1(){var _0x2b8bed=['472lkdjkj','onGetSelfTinyId','onSessionInitComplete','65352NorEJl','27FuYple','1532575SyVFGB','456264uHpUPc','74hIdxJN','8361kUMDBK','1202oBOMKz','7784160UVsteg','onNTSessionCreate','1186752ciLuxa'];_0x33f1=function(){return _0x2b8bed;};return _0x33f1();} \ 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 122716ac..d165eeec 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x25af(_0x26c943,_0x1a73cb){var _0x53c8e0=_0x53c8();return _0x25af=function(_0x25af79,_0x1cae67){_0x25af79=_0x25af79-0xf2;var _0x33ff2b=_0x53c8e0[_0x25af79];return _0x33ff2b;},_0x25af(_0x26c943,_0x1a73cb);}var _0x5c49f6=_0x25af;function _0x53c8(){var _0x404dd2=['onScanCacheProgressChanged','1084568BGVtyT','onCleanCacheStorageChanged','4234551bXrJhG','185SkwmCK','3297665maBamt','463460KdUasg','169314xfWVAm','1484316IPrgaw','6YcvUcy','onCleanCacheProgressChanged','onFinishScan','39235509YCAGFL'];_0x53c8=function(){return _0x404dd2;};return _0x53c8();}(function(_0x170c66,_0x1ca427){var _0x3befd0=_0x25af,_0x26e738=_0x170c66();while(!![]){try{var _0x55796e=parseInt(_0x3befd0(0xfe))/0x1*(-parseInt(_0x3befd0(0xf4))/0x2)+-parseInt(_0x3befd0(0xfb))/0x3+-parseInt(_0x3befd0(0xf3))/0x4+-parseInt(_0x3befd0(0xfc))/0x5*(parseInt(_0x3befd0(0xf2))/0x6)+parseInt(_0x3befd0(0xfd))/0x7+parseInt(_0x3befd0(0xf9))/0x8+parseInt(_0x3befd0(0xf7))/0x9;if(_0x55796e===_0x1ca427)break;else _0x26e738['push'](_0x26e738['shift']());}catch(_0x5b8756){_0x26e738['push'](_0x26e738['shift']());}}}(_0x53c8,0xb6e20));export class StorageCleanListener{[_0x5c49f6(0xf5)](_0x3618e4){}[_0x5c49f6(0xf8)](_0x14cc24){}[_0x5c49f6(0xfa)](_0x472f74){}[_0x5c49f6(0xf6)](_0x5ad63f){}['onChatCleanDone'](_0x8f6c37){}} \ No newline at end of file +var _0x4b2f96=_0x19d3;function _0x19d3(_0x2224dd,_0x5b9160){var _0x3fe0f1=_0x3fe0();return _0x19d3=function(_0x19d3cf,_0x2c7619){_0x19d3cf=_0x19d3cf-0x129;var _0x5536c6=_0x3fe0f1[_0x19d3cf];return _0x5536c6;},_0x19d3(_0x2224dd,_0x5b9160);}function _0x3fe0(){var _0x2ef990=['6gQvZxa','2287579ltZxjY','onFinishScan','1120OXQlQv','1591782djApjh','545684xoCVSz','108166toSONE','11avliqG','47430CjMbIW','onCleanCacheStorageChanged','4esWMWK','onScanCacheProgressChanged','2016610RkcLCg','8588210qhPsSq'];_0x3fe0=function(){return _0x2ef990;};return _0x3fe0();}(function(_0x222a92,_0x526335){var _0x459654=_0x19d3,_0x439056=_0x222a92();while(!![]){try{var _0x37f442=-parseInt(_0x459654(0x130))/0x1+-parseInt(_0x459654(0x12f))/0x2*(parseInt(_0x459654(0x12a))/0x3)+parseInt(_0x459654(0x134))/0x4*(-parseInt(_0x459654(0x136))/0x5)+parseInt(_0x459654(0x12e))/0x6+-parseInt(_0x459654(0x12b))/0x7+parseInt(_0x459654(0x12d))/0x8*(parseInt(_0x459654(0x132))/0x9)+parseInt(_0x459654(0x129))/0xa*(parseInt(_0x459654(0x131))/0xb);if(_0x37f442===_0x526335)break;else _0x439056['push'](_0x439056['shift']());}catch(_0x44cb09){_0x439056['push'](_0x439056['shift']());}}}(_0x3fe0,0x74afd));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x58b66f){}[_0x4b2f96(0x135)](_0x1a33a0){}[_0x4b2f96(0x133)](_0x164251){}[_0x4b2f96(0x12c)](_0x4523da){}['onChatCleanDone'](_0xefef4b){}} \ 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 05965fcf..2b0b84eb 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0xd179c0,_0x3fa640){var _0x20ecc8=_0x5553,_0x5bf414=_0xd179c0();while(!![]){try{var _0x542e73=parseInt(_0x20ecc8(0x125))/0x1*(parseInt(_0x20ecc8(0x124))/0x2)+parseInt(_0x20ecc8(0x123))/0x3+-parseInt(_0x20ecc8(0x120))/0x4+parseInt(_0x20ecc8(0x121))/0x5+parseInt(_0x20ecc8(0x126))/0x6+parseInt(_0x20ecc8(0x11f))/0x7+-parseInt(_0x20ecc8(0x122))/0x8;if(_0x542e73===_0x3fa640)break;else _0x5bf414['push'](_0x5bf414['shift']());}catch(_0x5dd6ef){_0x5bf414['push'](_0x5bf414['shift']());}}}(_0xe0be,0xd5e31));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x5553(_0x402316,_0x487a33){var _0xe0be6b=_0xe0be();return _0x5553=function(_0x555304,_0x4f0f4c){_0x555304=_0x555304-0x11f;var _0x1d1f30=_0xe0be6b[_0x555304];return _0x1d1f30;},_0x5553(_0x402316,_0x487a33);}function _0xe0be(){var _0x1b92e3=['415716gRwDiN','60196xPugbY','4bleUHv','6530310jZwUer','6920914QYHvGr','2645844kKGFEt','7968070YObvhu','19136984HjnSuL'];_0xe0be=function(){return _0x1b92e3;};return _0xe0be();}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x59869a,_0x63c979){var _0x48e648=_0x3f96,_0x344f1f=_0x59869a();while(!![]){try{var _0x16f3fe=-parseInt(_0x48e648(0xf6))/0x1*(parseInt(_0x48e648(0xf9))/0x2)+parseInt(_0x48e648(0xf5))/0x3+parseInt(_0x48e648(0xf7))/0x4+-parseInt(_0x48e648(0xfc))/0x5+parseInt(_0x48e648(0xfb))/0x6*(parseInt(_0x48e648(0xfd))/0x7)+parseInt(_0x48e648(0xf4))/0x8*(-parseInt(_0x48e648(0xf8))/0x9)+parseInt(_0x48e648(0xfa))/0xa;if(_0x16f3fe===_0x63c979)break;else _0x344f1f['push'](_0x344f1f['shift']());}catch(_0x4fec51){_0x344f1f['push'](_0x344f1f['shift']());}}}(_0x54b7,0x8f4c7));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x3f96(_0x4a97c8,_0x297078){var _0x54b7f8=_0x54b7();return _0x3f96=function(_0x3f9679,_0x5e0da3){_0x3f9679=_0x3f9679-0xf4;var _0x2206de=_0x54b7f8[_0x3f9679];return _0x2206de;},_0x3f96(_0x4a97c8,_0x297078);}export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x54b7(){var _0x75c825=['2984700CcMYpy','5598DUoqIu','594226aCWtEk','12244560UvmwRx','12QyFNil','4063970GpnLsB','2980957OEIQUq','10656CHEISc','426OKllNt','2GYnckH'];_0x54b7=function(){return _0x75c825;};return _0x54b7();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 5074676e..05427737 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x53a0(){var _0x4231ac=['175Eojynn','5176UXqUlF','4707hoBNIk','107WZEcvh','2275008LYtXEd','20430LXujzy','1987818rJnIoc','197390GJxBZq','4zscZzS','517fqBdXq','6494424pBPasi','1516IFZiwZ'];_0x53a0=function(){return _0x4231ac;};return _0x53a0();}function _0x389c(_0x54fe30,_0x3dcda0){var _0x53a0a3=_0x53a0();return _0x389c=function(_0x389cb5,_0x55bcd0){_0x389cb5=_0x389cb5-0xb8;var _0x26a9dd=_0x53a0a3[_0x389cb5];return _0x26a9dd;},_0x389c(_0x54fe30,_0x3dcda0);}(function(_0x4ed68b,_0x9e8faf){var _0x1c15ab=_0x389c,_0x5cc406=_0x4ed68b();while(!![]){try{var _0x39bba8=-parseInt(_0x1c15ab(0xbd))/0x1*(-parseInt(_0x1c15ab(0xb9))/0x2)+-parseInt(_0x1c15ab(0xbe))/0x3*(-parseInt(_0x1c15ab(0xc2))/0x4)+parseInt(_0x1c15ab(0xba))/0x5*(-parseInt(_0x1c15ab(0xbf))/0x6)+-parseInt(_0x1c15ab(0xc0))/0x7+parseInt(_0x1c15ab(0xbb))/0x8*(-parseInt(_0x1c15ab(0xbc))/0x9)+parseInt(_0x1c15ab(0xc1))/0xa*(parseInt(_0x1c15ab(0xc3))/0xb)+-parseInt(_0x1c15ab(0xb8))/0xc;if(_0x39bba8===_0x9e8faf)break;else _0x5cc406['push'](_0x5cc406['shift']());}catch(_0x3baf33){_0x5cc406['push'](_0x5cc406['shift']());}}}(_0x53a0,0x7645b));export var GeneralCallResultStatus;(function(_0x576fc6){_0x576fc6[_0x576fc6['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x4d98(_0x8b5ccb,_0x5a27e2){var _0x4d7c4c=_0x4d7c();return _0x4d98=function(_0x4d987d,_0x59eb8c){_0x4d987d=_0x4d987d-0xc1;var _0x23ffe8=_0x4d7c4c[_0x4d987d];return _0x23ffe8;},_0x4d98(_0x8b5ccb,_0x5a27e2);}(function(_0x536121,_0x4b7328){var _0x177ae1=_0x4d98,_0x2bb6ae=_0x536121();while(!![]){try{var _0x3911a5=-parseInt(_0x177ae1(0xc9))/0x1*(-parseInt(_0x177ae1(0xc3))/0x2)+-parseInt(_0x177ae1(0xca))/0x3*(parseInt(_0x177ae1(0xc8))/0x4)+parseInt(_0x177ae1(0xc6))/0x5*(parseInt(_0x177ae1(0xcb))/0x6)+-parseInt(_0x177ae1(0xcc))/0x7+parseInt(_0x177ae1(0xc7))/0x8+parseInt(_0x177ae1(0xc1))/0x9*(-parseInt(_0x177ae1(0xc4))/0xa)+-parseInt(_0x177ae1(0xc5))/0xb*(-parseInt(_0x177ae1(0xc2))/0xc);if(_0x3911a5===_0x4b7328)break;else _0x2bb6ae['push'](_0x2bb6ae['shift']());}catch(_0x51216e){_0x2bb6ae['push'](_0x2bb6ae['shift']());}}}(_0x4d7c,0xe0cef));export var GeneralCallResultStatus;(function(_0x22f459){_0x22f459[_0x22f459['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x4d7c(){var _0x314272=['1175076HScOzN','20122eJkTvF','16431370gwtCWj','77tKWtNQ','18855djQokI','10848008hIAiHR','7244XtQwGZ','163PNFJNo','501TWHcnK','48vxiqSj','5916288IfcvIT','9FcDlWK'];_0x4d7c=function(){return _0x314272;};return _0x4d7c();} \ 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 452df402..5d4705f1 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -function _0x4059(_0x4cf6c9,_0x5902e4){var _0x181179=_0x1811();return _0x4059=function(_0x40597a,_0x38a016){_0x40597a=_0x40597a-0x1de;var _0x42f689=_0x181179[_0x40597a];return _0x42f689;},_0x4059(_0x4cf6c9,_0x5902e4);}(function(_0x3189f4,_0x5b2073){var _0xa29ea8=_0x4059,_0x4bd1c7=_0x3189f4();while(!![]){try{var _0x599dd5=-parseInt(_0xa29ea8(0x1e6))/0x1+parseInt(_0xa29ea8(0x1e0))/0x2+-parseInt(_0xa29ea8(0x1e4))/0x3*(parseInt(_0xa29ea8(0x1e3))/0x4)+parseInt(_0xa29ea8(0x1e8))/0x5*(-parseInt(_0xa29ea8(0x1e2))/0x6)+parseInt(_0xa29ea8(0x1de))/0x7+parseInt(_0xa29ea8(0x1df))/0x8*(-parseInt(_0xa29ea8(0x1e5))/0x9)+-parseInt(_0xa29ea8(0x1e7))/0xa*(-parseInt(_0xa29ea8(0x1e1))/0xb);if(_0x599dd5===_0x5b2073)break;else _0x4bd1c7['push'](_0x4bd1c7['shift']());}catch(_0x6a5a3a){_0x4bd1c7['push'](_0x4bd1c7['shift']());}}}(_0x1811,0x446fc));export*from'./common';function _0x1811(){var _0x4a2bbc=['4awoZbH','180801bLlEnu','270mNmTMI','40418dpuusk','2898910RNsTZN','515ehfQDR','3184181mqzLPf','112616emMswL','852288jXYjzN','11iqPNZW','21414zBhoNK'];_0x1811=function(){return _0x4a2bbc;};return _0x1811();}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';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(_0x51df1e,_0x1621fd){var _0x1a6ae8=_0xb9f9,_0x4858ac=_0x51df1e();while(!![]){try{var _0x5949cd=-parseInt(_0x1a6ae8(0x131))/0x1*(parseInt(_0x1a6ae8(0x12b))/0x2)+parseInt(_0x1a6ae8(0x132))/0x3+-parseInt(_0x1a6ae8(0x128))/0x4*(parseInt(_0x1a6ae8(0x12e))/0x5)+parseInt(_0x1a6ae8(0x12f))/0x6*(parseInt(_0x1a6ae8(0x12c))/0x7)+-parseInt(_0x1a6ae8(0x12d))/0x8*(-parseInt(_0x1a6ae8(0x130))/0x9)+-parseInt(_0x1a6ae8(0x133))/0xa+parseInt(_0x1a6ae8(0x129))/0xb*(-parseInt(_0x1a6ae8(0x12a))/0xc);if(_0x5949cd===_0x1621fd)break;else _0x4858ac['push'](_0x4858ac['shift']());}catch(_0x4bf33d){_0x4858ac['push'](_0x4858ac['shift']());}}}(_0x3ae0,0x22a6a));function _0xb9f9(_0xa952ae,_0x374143){var _0x3ae003=_0x3ae0();return _0xb9f9=function(_0xb9f96e,_0x26c913){_0xb9f96e=_0xb9f96e-0x128;var _0x260736=_0x3ae003[_0xb9f96e];return _0x260736;},_0xb9f9(_0xa952ae,_0x374143);}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x3ae0(){var _0x33f6c7=['1TpBkCV','755766UfjnWC','1102960QgmXDZ','20aqQOuO','44627OccbSK','492wQUjST','459902APqurh','2933BXGXmE','88vMpWsz','106890Quueqp','3966gUnDjP','185337EjTGlN'];_0x3ae0=function(){return _0x33f6c7;};return _0x3ae0();}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';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 diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 7fc5662b..3b7112fe 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x565c(){const _0x1c2bf6=['curVersion','join','zLKNQ','mkdirSync','NXeKP','1552545qgbFxY','utf-8','4nKAnMP','2VNSxbG','NapCat','1208577uiTPTP','778004UTjxSh','readFileSync','6UBXzqp','qdZZh','9zZBvXD','4294268efxSfo','bXFVq','60amBrvp','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','writeFileSync','temp','5584688WpJQqS','duAFr','3077380YUhHlI','2514799qeDwWo'];_0x565c=function(){return _0x1c2bf6;};return _0x565c();}(function(_0x2668ab,_0x132eba){const _0x9c35a6=_0x1613,_0x47f9cb=_0x2668ab();while(!![]){try{const _0x4568b7=-parseInt(_0x9c35a6(0x103))/0x1+-parseInt(_0x9c35a6(0x100))/0x2*(parseInt(_0x9c35a6(0x102))/0x3)+parseInt(_0x9c35a6(0xff))/0x4*(-parseInt(_0x9c35a6(0xfd))/0x5)+parseInt(_0x9c35a6(0x105))/0x6*(parseInt(_0x9c35a6(0xf7))/0x7)+parseInt(_0x9c35a6(0xf4))/0x8*(-parseInt(_0x9c35a6(0x107))/0x9)+parseInt(_0x9c35a6(0xf6))/0xa+-parseInt(_0x9c35a6(0x108))/0xb*(-parseInt(_0x9c35a6(0x10a))/0xc);if(_0x4568b7===_0x132eba)break;else _0x47f9cb['push'](_0x47f9cb['shift']());}catch(_0x453ae6){_0x47f9cb['push'](_0x47f9cb['shift']());}}}(_0x565c,0x68da5));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0xb45434 from'node:path';import _0x3dfe53 from'node:fs';import{randomUUID}from'crypto';function _0x1613(_0x404b76,_0x45fdae){const _0x565c27=_0x565c();return _0x1613=function(_0x16137f,_0x1e5ab6){_0x16137f=_0x16137f-0xf1;let _0x6c1052=_0x565c27[_0x16137f];return _0x6c1052;},_0x1613(_0x404b76,_0x45fdae);}export const sessionConfig={};export function genSessionConfig(_0x4b7fe4,_0x50ca14,_0x34f505){const _0x13a421=_0x1613,_0x5771b0={'duAFr':_0x13a421(0xf3),'NXeKP':_0x13a421(0x101),'zLKNQ':'guid.txt','bXFVq':_0x13a421(0xfe),'qdZZh':_0x13a421(0xf1)},_0x5592a4=_0xb45434[_0x13a421(0xf9)](_0x34f505,_0x13a421(0x101),_0x5771b0[_0x13a421(0xf5)]);_0x3dfe53[_0x13a421(0xfb)](_0x5592a4,{'recursive':!![]});const _0x368e08=_0xb45434['join'](_0x34f505,_0x5771b0[_0x13a421(0xfc)],_0x5771b0[_0x13a421(0xfa)]);let _0x4b2ab1=randomUUID();try{_0x4b2ab1=_0x3dfe53[_0x13a421(0x104)](_0xb45434[_0x13a421(0xf9)](_0x368e08),_0x5771b0[_0x13a421(0x109)]);}catch(_0x10f422){_0x3dfe53[_0x13a421(0xf2)](_0xb45434[_0x13a421(0xf9)](_0x368e08),_0x4b2ab1,_0x5771b0['bXFVq']);}const _0x23b26a={'selfUin':_0x4b7fe4,'selfUid':_0x50ca14,'desktopPathConfig':{'account_path':_0x34f505},'clientVer':qqVersionConfigInfo[_0x13a421(0xf8)],'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':_0x5592a4,'deviceInfo':{'guid':_0x4b2ab1,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5771b0[_0x13a421(0x106)]};return Object['assign'](sessionConfig,_0x23b26a),_0x23b26a;} \ No newline at end of file +(function(_0x58794a,_0x3b08f2){const _0x1dd4f1=_0x163e,_0x1dbbbf=_0x58794a();while(!![]){try{const _0x3560a6=parseInt(_0x1dd4f1(0x145))/0x1+parseInt(_0x1dd4f1(0x13d))/0x2+parseInt(_0x1dd4f1(0x144))/0x3+parseInt(_0x1dd4f1(0x139))/0x4+parseInt(_0x1dd4f1(0x146))/0x5*(-parseInt(_0x1dd4f1(0x13e))/0x6)+-parseInt(_0x1dd4f1(0x13a))/0x7*(-parseInt(_0x1dd4f1(0x13b))/0x8)+-parseInt(_0x1dd4f1(0x14a))/0x9;if(_0x3560a6===_0x3b08f2)break;else _0x1dbbbf['push'](_0x1dbbbf['shift']());}catch(_0x31c9f0){_0x1dbbbf['push'](_0x1dbbbf['shift']());}}}(_0x3963,0x1f6bd));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1a015 from'node:path';import _0x3d5f78 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x163e(_0x5e5bae,_0x2e57eb){const _0x3963a5=_0x3963();return _0x163e=function(_0x163e2a,_0x550bde){_0x163e2a=_0x163e2a-0x136;let _0x1c67eb=_0x3963a5[_0x163e2a];return _0x1c67eb;},_0x163e(_0x5e5bae,_0x2e57eb);}function _0x3963(){const _0x247936=['138NngkYd','writeFileSync','ttxqo','guid.txt','fxsAH','curVersion','702546hTSwSR','190154UfwGIo','34055YxOFEW','mkdirSync','jdhLC','join','3802563OiPHhi','utf-8','ZSOfq','NapCat','213772VNtFAw','1141BjvPWV','9800rwQsMf','temp','60814uUusFW'];_0x3963=function(){return _0x247936;};return _0x3963();}export function genSessionConfig(_0x4df68d,_0x3a7aae,_0x35c0f4){const _0x31e361=_0x163e,_0x44ef18={'ttxqo':_0x31e361(0x138),'rqjpP':_0x31e361(0x13c),'jdhLC':_0x31e361(0x141),'fxsAH':function(_0x31d172){return _0x31d172();},'ZSOfq':_0x31e361(0x136)},_0x451f95=_0x1a015[_0x31e361(0x149)](_0x35c0f4,_0x44ef18[_0x31e361(0x140)],_0x44ef18['rqjpP']);_0x3d5f78[_0x31e361(0x147)](_0x451f95,{'recursive':!![]});const _0x135c74=_0x1a015[_0x31e361(0x149)](_0x35c0f4,_0x44ef18[_0x31e361(0x140)],_0x44ef18[_0x31e361(0x148)]);let _0x4792a9=_0x44ef18[_0x31e361(0x142)](randomUUID);try{_0x4792a9=_0x3d5f78['readFileSync'](_0x1a015['join'](_0x135c74),_0x44ef18[_0x31e361(0x137)]);}catch(_0x2532ea){_0x3d5f78[_0x31e361(0x13f)](_0x1a015[_0x31e361(0x149)](_0x135c74),_0x4792a9,_0x44ef18[_0x31e361(0x137)]);}const _0x10bc6a={'selfUin':_0x4df68d,'selfUid':_0x3a7aae,'desktopPathConfig':{'account_path':_0x35c0f4},'clientVer':qqVersionConfigInfo[_0x31e361(0x143)],'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':_0x451f95,'deviceInfo':{'guid':_0x4792a9,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object['assign'](sessionConfig,_0x10bc6a),_0x10bc6a;} \ 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 67fd84da..b7b0160d 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x50a247=_0x516d;(function(_0x2f9720,_0x33b795){const _0x2b24ff=_0x516d,_0x46408e=_0x2f9720();while(!![]){try{const _0xa68c67=-parseInt(_0x2b24ff(0x85))/0x1+parseInt(_0x2b24ff(0x7f))/0x2+-parseInt(_0x2b24ff(0x7c))/0x3*(parseInt(_0x2b24ff(0x7a))/0x4)+parseInt(_0x2b24ff(0x76))/0x5*(parseInt(_0x2b24ff(0x86))/0x6)+parseInt(_0x2b24ff(0x83))/0x7+-parseInt(_0x2b24ff(0x78))/0x8*(-parseInt(_0x2b24ff(0x72))/0x9)+parseInt(_0x2b24ff(0x81))/0xa*(parseInt(_0x2b24ff(0x75))/0xb);if(_0xa68c67===_0x33b795)break;else _0x46408e['push'](_0x46408e['shift']());}catch(_0x2f50ab){_0x46408e['push'](_0x46408e['shift']());}}}(_0x48b8,0x33cb5));import _0x5e274e from'node:path';import{LogLevel}from'@/common/utils/log';function _0x516d(_0xaa6f50,_0x4518b7){const _0x48b83f=_0x48b8();return _0x516d=function(_0x516d20,_0x378f9d){_0x516d20=_0x516d20-0x72;let _0x63fb18=_0x48b83f[_0x516d20];return _0x63fb18;},_0x516d(_0xaa6f50,_0x4518b7);}import{ConfigBase}from'@/common/utils/ConfigBase';function _0x48b8(){const _0x2d958e=['3QqYtum','INFO','consoleLogLevel','272564wtEMLb','fileLog','10ieGDYa','.json','2794603oUPnZP','uin','380684JYbifu','30Gtgsju','226935ThOYSR','getConfigPath','DEBUG','1790129YMYQTu','38045foVQgF','join','16sEAXhu','consoleLog','775568GvDlSQ','fileLogLevel'];_0x48b8=function(){return _0x2d958e;};return _0x48b8();}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x50a247(0x80)]=!![];[_0x50a247(0x79)]=!![];[_0x50a247(0x7b)]=LogLevel[_0x50a247(0x74)];[_0x50a247(0x7e)]=LogLevel[_0x50a247(0x7d)];constructor(){super();}[_0x50a247(0x73)](){const _0x4fc1d5=_0x50a247;return _0x5e274e[_0x4fc1d5(0x77)](this['getConfigDir'](),'napcat_'+selfInfo[_0x4fc1d5(0x84)]+_0x4fc1d5(0x82));}}export const napCatConfig=new Config(); \ No newline at end of file +function _0x1fcd(_0x123432,_0x18ea6f){const _0x5e337e=_0x5e33();return _0x1fcd=function(_0x1fcd80,_0x469690){_0x1fcd80=_0x1fcd80-0xbd;let _0x1ac8e8=_0x5e337e[_0x1fcd80];return _0x1ac8e8;},_0x1fcd(_0x123432,_0x18ea6f);}function _0x5e33(){const _0x58b401=['.json','uin','481657WGqNDz','1128834pQYgSP','6704033LZWocJ','63100BpVZNO','fileLog','1747020PoKUIP','getConfigDir','DEBUG','consoleLogLevel','1877532HvBnpz','consoleLog','getConfigPath','1058630rDMkhB'];_0x5e33=function(){return _0x58b401;};return _0x5e33();}const _0x4b6c89=_0x1fcd;(function(_0xb0ed91,_0x5229c9){const _0x349db9=_0x1fcd,_0x4dff6d=_0xb0ed91();while(!![]){try{const _0x372e68=parseInt(_0x349db9(0xcb))/0x1+parseInt(_0x349db9(0xbf))/0x2+parseInt(_0x349db9(0xbd))/0x3+parseInt(_0x349db9(0xc5))/0x4+parseInt(_0x349db9(0xc8))/0x5+-parseInt(_0x349db9(0xc1))/0x6+-parseInt(_0x349db9(0xbe))/0x7;if(_0x372e68===_0x5229c9)break;else _0x4dff6d['push'](_0x4dff6d['shift']());}catch(_0xd880b5){_0x4dff6d['push'](_0x4dff6d['shift']());}}}(_0x5e33,0x4e8a9));import _0xf80bcf from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x4b6c89(0xc0)]=!![];[_0x4b6c89(0xc6)]=!![];['fileLogLevel']=LogLevel[_0x4b6c89(0xc3)];[_0x4b6c89(0xc4)]=LogLevel['INFO'];constructor(){super();}[_0x4b6c89(0xc7)](){const _0x1fe338=_0x4b6c89;return _0xf80bcf['join'](this[_0x1fe338(0xc2)](),'napcat_'+selfInfo[_0x1fe338(0xca)]+_0x1fe338(0xc9));}}export const napCatConfig=new Config(); \ 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 7086f561..d49cbd80 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x2af3(_0x152d56,_0x59707c){const _0x1c9505=_0x1c95();return _0x2af3=function(_0x2af336,_0xecd0a6){_0x2af336=_0x2af336-0x94;let _0x2466f4=_0x1c9505[_0x2af336];return _0x2466f4;},_0x2af3(_0x152d56,_0x59707c);}const _0x39e0c6=_0x2af3;function _0x1c95(){const _0x9091e8=['GET','refreshRkey','rkeyData','860qnZJIQ','获取rkey失败','serverUrl','1558533gJzNgN','5050qfpbIG','expired_time','HttpGetJson','134235BJenKW','30289701niluOi','2819972oBSylt','4zGrIaB','1aiRyaS','5436VHXYdD','44752wOsAuo','getTime','16338080tBwrRd','eJCJL','133UQSjKu','ketQm','12naqTga','isExpired','DHZLf'];_0x1c95=function(){return _0x9091e8;};return _0x1c95();}(function(_0x351ae0,_0x42322d){const _0x5ef2fa=_0x2af3,_0x42c8e5=_0x351ae0();while(!![]){try{const _0x2cc354=parseInt(_0x5ef2fa(0xa9))/0x1*(-parseInt(_0x5ef2fa(0xa7))/0x2)+parseInt(_0x5ef2fa(0xa1))/0x3*(parseInt(_0x5ef2fa(0xa8))/0x4)+parseInt(_0x5ef2fa(0xa2))/0x5*(-parseInt(_0x5ef2fa(0xaa))/0x6)+parseInt(_0x5ef2fa(0x96))/0x7*(parseInt(_0x5ef2fa(0xab))/0x8)+-parseInt(_0x5ef2fa(0xa5))/0x9*(parseInt(_0x5ef2fa(0x9e))/0xa)+parseInt(_0x5ef2fa(0x94))/0xb+parseInt(_0x5ef2fa(0x98))/0xc*(parseInt(_0x5ef2fa(0xa6))/0xd);if(_0x2cc354===_0x42322d)break;else _0x42c8e5['push'](_0x42c8e5['shift']());}catch(_0x15d89a){_0x42c8e5['push'](_0x42c8e5['shift']());}}}(_0x1c95,0xcb726));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x39e0c6(0xa0)]='';[_0x39e0c6(0x9d)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x30b087){const _0x1623f1=_0x39e0c6;this[_0x1623f1(0xa0)]=_0x30b087;}async['getRkey'](){const _0x4822ac=_0x39e0c6,_0x591f59={'DHZLf':function(_0x3b7822,_0x26200a,_0x4fa586){return _0x3b7822(_0x26200a,_0x4fa586);},'eJCJL':_0x4822ac(0x9f)};if(this['isExpired']())try{await this[_0x4822ac(0x9c)]();}catch(_0xb746e){_0x591f59[_0x4822ac(0x9a)](logError,_0x591f59[_0x4822ac(0x95)],_0xb746e);}return this[_0x4822ac(0x9d)];}[_0x39e0c6(0x99)](){const _0x13e434=_0x39e0c6,_0x17d66f={'ketQm':function(_0x1fd481,_0xecabab){return _0x1fd481/_0xecabab;}},_0xb517e0=_0x17d66f[_0x13e434(0x97)](new Date()[_0x13e434(0xac)](),0x3e8);return _0xb517e0>this[_0x13e434(0x9d)][_0x13e434(0xa3)];}async[_0x39e0c6(0x9c)](){const _0x2d2f5f=_0x39e0c6;this['rkeyData']=await RequestUtil[_0x2d2f5f(0xa4)](this[_0x2d2f5f(0xa0)],_0x2d2f5f(0x9b));}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file +const _0x429341=_0x2a7f;(function(_0x26a56d,_0x5f3016){const _0x251e51=_0x2a7f,_0xf6f1e0=_0x26a56d();while(!![]){try{const _0x3c2c04=-parseInt(_0x251e51(0x108))/0x1*(parseInt(_0x251e51(0xfc))/0x2)+parseInt(_0x251e51(0x107))/0x3+parseInt(_0x251e51(0xfe))/0x4+-parseInt(_0x251e51(0x103))/0x5*(parseInt(_0x251e51(0xf7))/0x6)+-parseInt(_0x251e51(0xfa))/0x7*(parseInt(_0x251e51(0x104))/0x8)+parseInt(_0x251e51(0xf9))/0x9*(-parseInt(_0x251e51(0x10e))/0xa)+parseInt(_0x251e51(0xf8))/0xb*(parseInt(_0x251e51(0x10c))/0xc);if(_0x3c2c04===_0x5f3016)break;else _0xf6f1e0['push'](_0xf6f1e0['shift']());}catch(_0x24d2d4){_0xf6f1e0['push'](_0xf6f1e0['shift']());}}}(_0x335b,0x7343b));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x335b(){const _0x3ff01f=['expired_time','24JPPfKp','kMbwi','2742850FYbJhI','IyjDX','467172uRVGsG','6011203ovMibn','9gKDrga','4487YWRivg','HttpGetJson','1519556PjpKLV','获取rkey失败','2895096rSOsWV','rkeyData','refreshRkey','GET','http://napcat-sign.wumiao.wang:2082/rkey','35kpoCEw','7064IMeqdg','serverUrl','isExpired','2401509QyDLnS','1YcmIkQ','getRkey','getTime'];_0x335b=function(){return _0x3ff01f;};return _0x335b();}class RkeyManager{[_0x429341(0x105)]='';[_0x429341(0xff)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x43a24d){const _0x132d31=_0x429341;this[_0x132d31(0x105)]=_0x43a24d;}async[_0x429341(0x109)](){const _0x433adf=_0x429341,_0xdf6172={'kMbwi':function(_0x39c378,_0x5e4b30,_0x45ce56){return _0x39c378(_0x5e4b30,_0x45ce56);},'Rphst':_0x433adf(0xfd)};if(this[_0x433adf(0x106)]())try{await this[_0x433adf(0x100)]();}catch(_0x2d14b3){_0xdf6172[_0x433adf(0x10d)](logError,_0xdf6172['Rphst'],_0x2d14b3);}return this[_0x433adf(0xff)];}[_0x429341(0x106)](){const _0x20f78d=_0x429341,_0xe9d13c={'IyjDX':function(_0x233d33,_0x5a1ecb){return _0x233d33/_0x5a1ecb;}},_0x1899a1=_0xe9d13c[_0x20f78d(0x10f)](new Date()[_0x20f78d(0x10a)](),0x3e8);return _0x1899a1>this[_0x20f78d(0xff)][_0x20f78d(0x10b)];}async['refreshRkey'](){const _0x1df571=_0x429341;this[_0x1df571(0xff)]=await RequestUtil[_0x1df571(0xfb)](this[_0x1df571(0x105)],_0x1df571(0x101));}}function _0x2a7f(_0x1e6f8c,_0x58bbea){const _0x335b80=_0x335b();return _0x2a7f=function(_0x2a7ff8,_0x5ef339){_0x2a7ff8=_0x2a7ff8-0xf7;let _0x11315c=_0x335b80[_0x2a7ff8];return _0x11315c;},_0x2a7f(_0x1e6f8c,_0x58bbea);}export const rkeyManager=new RkeyManager(_0x429341(0x102)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 1b5361de..bfd973bd 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x1c8236=_0x35c6;function _0x35c6(_0x5d89bb,_0x744cd9){const _0x4a4d42=_0x4a4d();return _0x35c6=function(_0x35c6d0,_0x8e9cf5){_0x35c6d0=_0x35c6d0-0xed;let _0x321b9a=_0x4a4d42[_0x35c6d0];return _0x321b9a;},_0x35c6(_0x5d89bb,_0x744cd9);}(function(_0x27ce4a,_0x3a1a6a){const _0x119ae3=_0x35c6,_0x46d065=_0x27ce4a();while(!![]){try{const _0x515bdf=parseInt(_0x119ae3(0xfc))/0x1+-parseInt(_0x119ae3(0xfb))/0x2*(parseInt(_0x119ae3(0x101))/0x3)+-parseInt(_0x119ae3(0x103))/0x4+parseInt(_0x119ae3(0x106))/0x5*(parseInt(_0x119ae3(0xfd))/0x6)+-parseInt(_0x119ae3(0xfa))/0x7*(-parseInt(_0x119ae3(0xee))/0x8)+-parseInt(_0x119ae3(0xf7))/0x9*(-parseInt(_0x119ae3(0xfe))/0xa)+parseInt(_0x119ae3(0xf3))/0xb*(-parseInt(_0x119ae3(0xf0))/0xc);if(_0x515bdf===_0x3a1a6a)break;else _0x46d065['push'](_0x46d065['shift']());}catch(_0x3750ca){_0x46d065['push'](_0x46d065['shift']());}}}(_0x4a4d,0x2f8c6));import _0x420ce6 from'node:path';import _0x1a8c14 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x1c8236(0xed)]),__dirname=dirname(__filename);let wrapperNodePath=_0x420ce6['resolve'](_0x420ce6['dirname'](process[_0x1c8236(0x100)]),_0x1c8236(0xff));!_0x1a8c14[_0x1c8236(0xf4)](wrapperNodePath)&&(wrapperNodePath=_0x420ce6[_0x1c8236(0xf9)](_0x420ce6[_0x1c8236(0xf2)](process[_0x1c8236(0x100)]),_0x1c8236(0x104)+qqVersionConfigInfo[_0x1c8236(0xf8)]+_0x1c8236(0x105)));let WrapperLoader=_0x420ce6[_0x1c8236(0xf9)](__dirname,_0x1c8236(0x102));_0x1a8c14[_0x1c8236(0xf6)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x1c8236(0xf1));const QQWrapper=(await import(_0x1c8236(0xf5)+WrapperLoader))[_0x1c8236(0xef)];function _0x4a4d(){const _0x401004=['3984LwyuMK','\x22);\x0aexports\x20=\x20module.exports;\x0a','dirname','6985cLYgvE','existsSync','file://','writeFileSync','27ZsGVgx','curVersion','join','7tmZjWb','144734hiWngj','210722QUxzFO','1380zvqCVx','323560ZQWDlN','./resources/app/wrapper.node','execPath','3urLXbD','WrapperLoader.cjs','1107432ffvCPD','resources/app/versions/','/wrapper.node','3260mOnSao','url','2376424SNmTUR','default'];_0x4a4d=function(){return _0x401004;};return _0x4a4d();}export default QQWrapper; \ No newline at end of file +const _0x234a81=_0x21c2;function _0x21c2(_0x53b677,_0x3624b1){const _0x3f9dbf=_0x3f9d();return _0x21c2=function(_0x21c2da,_0x4f96cf){_0x21c2da=_0x21c2da-0x199;let _0x3fcaad=_0x3f9dbf[_0x21c2da];return _0x3fcaad;},_0x21c2(_0x53b677,_0x3624b1);}function _0x3f9d(){const _0x3794f2=['29945669OfDUMl','223130rZArUX','4pCiMyA','10BvWdso','2405424EnNYla','resources/app/versions/','7444cHCIor','45OAdfuY','writeFileSync','./resources/app/wrapper.node','174nWYGRZ','2632568CDEwnn','10lkJYqs','join','5780922chOTwz','12zNJghu','default','WrapperLoader.cjs','\x0amodule.exports\x20=\x20require(\x22','/wrapper.node','dirname','existsSync','execPath','13440713PbstyA'];_0x3f9d=function(){return _0x3794f2;};return _0x3f9d();}(function(_0x2fcafc,_0x50dcc4){const _0x2a4eb4=_0x21c2,_0x5b79ce=_0x2fcafc();while(!![]){try{const _0x2b67d5=-parseInt(_0x2a4eb4(0x1a1))/0x1*(-parseInt(_0x2a4eb4(0x1a0))/0x2)+parseInt(_0x2a4eb4(0x1a9))/0x3*(-parseInt(_0x2a4eb4(0x1a5))/0x4)+parseInt(_0x2a4eb4(0x1a2))/0x5*(parseInt(_0x2a4eb4(0x1a3))/0x6)+-parseInt(_0x2a4eb4(0x1ad))/0x7+-parseInt(_0x2a4eb4(0x1aa))/0x8*(-parseInt(_0x2a4eb4(0x1a6))/0x9)+parseInt(_0x2a4eb4(0x1ab))/0xa*(parseInt(_0x2a4eb4(0x19e))/0xb)+parseInt(_0x2a4eb4(0x1ae))/0xc*(-parseInt(_0x2a4eb4(0x19f))/0xd);if(_0x2b67d5===_0x50dcc4)break;else _0x5b79ce['push'](_0x5b79ce['shift']());}catch(_0x42ed45){_0x5b79ce['push'](_0x5b79ce['shift']());}}}(_0x3f9d,0xd65b9));import _0x3e437b from'node:path';import _0x4e6ab9 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);let wrapperNodePath=_0x3e437b['resolve'](_0x3e437b['dirname'](process[_0x234a81(0x19d)]),_0x234a81(0x1a8));!_0x4e6ab9[_0x234a81(0x19c)](wrapperNodePath)&&(wrapperNodePath=_0x3e437b[_0x234a81(0x1ac)](_0x3e437b[_0x234a81(0x19b)](process[_0x234a81(0x19d)]),_0x234a81(0x1a4)+qqVersionConfigInfo['curVersion']+_0x234a81(0x19a)));let WrapperLoader=_0x3e437b[_0x234a81(0x1ac)](__dirname,_0x234a81(0x1b0));_0x4e6ab9[_0x234a81(0x1a7)](WrapperLoader,_0x234a81(0x199)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import('file://'+WrapperLoader))[_0x234a81(0x1af)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/file/GetGroupFileList.ts b/src/onebot11/action/file/GetGroupFileList.ts index e9a1f228..903550ca 100644 --- a/src/onebot11/action/file/GetGroupFileList.ts +++ b/src/onebot11/action/file/GetGroupFileList.ts @@ -15,21 +15,17 @@ const SchemaData = { type Payload = FromSchema; -export class GetGroupFileList extends BaseAction, - totalSpace: number; - usedSpace: number; - allUpload: boolean; -}> { +export class GetGroupFileList extends BaseAction }> { actionName = ActionName.GetGroupFileList; PayloadSchema = SchemaData; protected async _handle(payload: Payload) { - return await NTQQMsgApi.getGroupFileList(payload.group_id.toString(), { + let ret = await NTQQMsgApi.getGroupFileList(payload.group_id.toString(), { sortType: 1, fileCount: payload.file_count, startIndex: payload.start_index, sortOrder: 2, showOnlinedocFolder: 0 - }) + }).catch((e) => { return []; }); + return { FileList: ret }; } } diff --git a/src/onebot11/version.ts b/src/onebot11/version.ts index d63c15fa..99aa4d90 100644 --- a/src/onebot11/version.ts +++ b/src/onebot11/version.ts @@ -1 +1 @@ -export const version = '1.4.1'; +export const version = '1.4.2'; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index c889e7fa..c461943d 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) { SettingItem( 'Napcat', undefined, - SettingButton('V1.4.1', 'napcat-update-button', 'secondary') + SettingButton('V1.4.2', 'napcat-update-button', 'secondary') ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index 0b3438f5..266a13ce 100644 --- a/static/assets/renderer.js +++ b/static/assets/renderer.js @@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) { SettingItem( 'Napcat', void 0, - SettingButton("V1.4.0", "napcat-update-button", "secondary") + SettingButton("V1.4.2", "napcat-update-button", "secondary") ) ]), SettingList([