diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index d2bfc76a..82066938 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x472e(){var _0x21ee8d=['881545jscZSl','424070CseSTl','2398106IXFvxC','onMSFSsoError','3dHzZZX','81lgeOMr','5324876tCvROK','5fssoAS','1486431ktdgHq','19336614RkuEBJ','onMSFStatusChange','56ASYCnR','4539624kpAbLJ'];_0x472e=function(){return _0x21ee8d;};return _0x472e();}var _0xbcfe0=_0x828c;function _0x828c(_0x22de91,_0x5bde5d){var _0x472e34=_0x472e();return _0x828c=function(_0x828c62,_0x4cd44d){_0x828c62=_0x828c62-0x16c;var _0x260441=_0x472e34[_0x828c62];return _0x260441;},_0x828c(_0x22de91,_0x5bde5d);}(function(_0x42e5f7,_0xefcb6c){var _0x2539e1=_0x828c,_0x2fd7ec=_0x42e5f7();while(!![]){try{var _0x3f3a9c=parseInt(_0x2539e1(0x16f))/0x1+-parseInt(_0x2539e1(0x176))/0x2*(-parseInt(_0x2539e1(0x178))/0x3)+parseInt(_0x2539e1(0x16d))/0x4*(-parseInt(_0x2539e1(0x16e))/0x5)+parseInt(_0x2539e1(0x173))/0x6+parseInt(_0x2539e1(0x174))/0x7*(parseInt(_0x2539e1(0x172))/0x8)+parseInt(_0x2539e1(0x16c))/0x9*(-parseInt(_0x2539e1(0x175))/0xa)+-parseInt(_0x2539e1(0x170))/0xb;if(_0x3f3a9c===_0xefcb6c)break;else _0x2fd7ec['push'](_0x2fd7ec['shift']());}catch(_0x28bd6f){_0x2fd7ec['push'](_0x2fd7ec['shift']());}}}(_0x472e,0xd038d));export class DependsAdapter{[_0xbcfe0(0x171)](_0x30bbb8,_0x108cea){}[_0xbcfe0(0x177)](_0x233698){}['getGroupCode'](_0x28e2c7){}} \ No newline at end of file +function _0x4ed7(){var _0x11c5f5=['3703910crsguP','6215416LLzRxE','11548LHYJtm','437242OwPKpf','2003550bPMTOQ','85lACOFk','1282062mUhlYy','381244qNFtRv'];_0x4ed7=function(){return _0x11c5f5;};return _0x4ed7();}(function(_0x565391,_0x3f2696){var _0x521c94=_0x54f7,_0x1ae3af=_0x565391();while(!![]){try{var _0x5e37ac=-parseInt(_0x521c94(0x176))/0x1+parseInt(_0x521c94(0x17a))/0x2+-parseInt(_0x521c94(0x179))/0x3+parseInt(_0x521c94(0x175))/0x4*(parseInt(_0x521c94(0x178))/0x5)+-parseInt(_0x521c94(0x177))/0x6+parseInt(_0x521c94(0x173))/0x7+parseInt(_0x521c94(0x174))/0x8;if(_0x5e37ac===_0x3f2696)break;else _0x1ae3af['push'](_0x1ae3af['shift']());}catch(_0x3de71b){_0x1ae3af['push'](_0x1ae3af['shift']());}}}(_0x4ed7,0x54c65));function _0x54f7(_0xcbbc90,_0x5c4cfd){var _0x4ed77d=_0x4ed7();return _0x54f7=function(_0x54f755,_0x77e087){_0x54f755=_0x54f755-0x173;var _0x548380=_0x4ed77d[_0x54f755];return _0x548380;},_0x54f7(_0xcbbc90,_0x5c4cfd);}export class DependsAdapter{['onMSFStatusChange'](_0x1c25ee,_0x271c61){}['onMSFSsoError'](_0x1624b4){}['getGroupCode'](_0x4eb58c){}} \ 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 aa813a40..31de0b5e 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x4e7b70=_0x5522;(function(_0x389a23,_0x45d97e){var _0x44644c=_0x5522,_0x21fde0=_0x389a23();while(!![]){try{var _0x392e0c=parseInt(_0x44644c(0x1ab))/0x1*(parseInt(_0x44644c(0x1a7))/0x2)+-parseInt(_0x44644c(0x1b0))/0x3+-parseInt(_0x44644c(0x1ac))/0x4+-parseInt(_0x44644c(0x1ae))/0x5+-parseInt(_0x44644c(0x1ad))/0x6*(-parseInt(_0x44644c(0x1aa))/0x7)+-parseInt(_0x44644c(0x1b1))/0x8*(-parseInt(_0x44644c(0x1a6))/0x9)+-parseInt(_0x44644c(0x1a9))/0xa;if(_0x392e0c===_0x45d97e)break;else _0x21fde0['push'](_0x21fde0['shift']());}catch(_0x2a9a16){_0x21fde0['push'](_0x21fde0['shift']());}}}(_0x3588,0xc168e));function _0x3588(){var _0xb1fed7=['14uRaZGJ','1Vpirxz','787312bYAyes','4494414DddCvO','1646390extbew','dispatchCall','72804eJVMry','16dregpP','1870794WnunHZ','2074838sYxSOZ','dispatchRequest','16087090IXTYGb'];_0x3588=function(){return _0xb1fed7;};return _0x3588();}function _0x5522(_0x1e0a8c,_0x50994c){var _0x3588f0=_0x3588();return _0x5522=function(_0x552298,_0x4db18a){_0x552298=_0x552298-0x1a6;var _0x568ecc=_0x3588f0[_0x552298];return _0x568ecc;},_0x5522(_0x1e0a8c,_0x50994c);}export class DispatcherAdapter{[_0x4e7b70(0x1a8)](_0x47c415){}[_0x4e7b70(0x1af)](_0x4b4f3a){}['dispatchCallWithJson'](_0x2e0898){}} \ No newline at end of file +var _0x1db1fe=_0x4c17;(function(_0x571c48,_0x2e8352){var _0x27c0d9=_0x4c17,_0x5f034d=_0x571c48();while(!![]){try{var _0x54b6d7=-parseInt(_0x27c0d9(0x197))/0x1+-parseInt(_0x27c0d9(0x1a1))/0x2+parseInt(_0x27c0d9(0x19c))/0x3*(parseInt(_0x27c0d9(0x19f))/0x4)+parseInt(_0x27c0d9(0x19d))/0x5+parseInt(_0x27c0d9(0x1a0))/0x6+parseInt(_0x27c0d9(0x199))/0x7+-parseInt(_0x27c0d9(0x19a))/0x8;if(_0x54b6d7===_0x2e8352)break;else _0x5f034d['push'](_0x5f034d['shift']());}catch(_0x4fcb9d){_0x5f034d['push'](_0x5f034d['shift']());}}}(_0xa70e,0x4a32c));function _0x4c17(_0x5bf0b8,_0x24f026){var _0xa70eb0=_0xa70e();return _0x4c17=function(_0x4c171a,_0x2f52aa){_0x4c171a=_0x4c171a-0x197;var _0x5530f1=_0xa70eb0[_0x4c171a];return _0x5530f1;},_0x4c17(_0x5bf0b8,_0x24f026);}function _0xa70e(){var _0x1f14bd=['dispatchCall','3lPWxPJ','1545625pbRJGx','dispatchRequest','1404196lzZljs','1103136nVNsdA','261152VwKCMk','515895SWtIvB','dispatchCallWithJson','1342145agoeJh','683024jRuvxj'];_0xa70e=function(){return _0x1f14bd;};return _0xa70e();}export class DispatcherAdapter{[_0x1db1fe(0x19e)](_0xea32ad){}[_0x1db1fe(0x19b)](_0x16dfe7){}[_0x1db1fe(0x198)](_0x386b78){}} \ 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 ebe44d62..f7469bc3 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x32d0(_0x4a2323,_0x1ab144){var _0x298bfa=_0x298b();return _0x32d0=function(_0x32d04c,_0x27b5f5){_0x32d04c=_0x32d04c-0x14b;var _0x757d75=_0x298bfa[_0x32d04c];return _0x757d75;},_0x32d0(_0x4a2323,_0x1ab144);}var _0x5ce9cb=_0x32d0;function _0x298b(){var _0x8c58f1=['6014211TqQUzk','2189565GPthJb','2619171kxfZVX','6WDaiEf','onShowErrUITips','1007204uVHHoW','6242904TvsViG','51438uxWFkn','1980625SbdMhp','onGetSrvCalTime','1gMxBaG','fixPicImgType','getAppSetting','onLog','onGetOfflineMsg'];_0x298b=function(){return _0x8c58f1;};return _0x298b();}(function(_0x2fba77,_0xa81580){var _0x225c12=_0x32d0,_0x5d00ac=_0x2fba77();while(!![]){try{var _0x1a469d=-parseInt(_0x225c12(0x151))/0x1*(parseInt(_0x225c12(0x14e))/0x2)+parseInt(_0x225c12(0x157))/0x3+-parseInt(_0x225c12(0x14c))/0x4+parseInt(_0x225c12(0x14f))/0x5*(parseInt(_0x225c12(0x159))/0x6)+-parseInt(_0x225c12(0x156))/0x7+parseInt(_0x225c12(0x14d))/0x8+-parseInt(_0x225c12(0x158))/0x9;if(_0x1a469d===_0xa81580)break;else _0x5d00ac['push'](_0x5d00ac['shift']());}catch(_0x5b3fe6){_0x5d00ac['push'](_0x5d00ac['shift']());}}}(_0x298b,0x74da7));export class GlobalAdapter{[_0x5ce9cb(0x154)](..._0xa85571){}[_0x5ce9cb(0x150)](..._0x26e5bd){}[_0x5ce9cb(0x14b)](..._0x1e9759){}[_0x5ce9cb(0x152)](..._0x1d81d3){}[_0x5ce9cb(0x153)](..._0x28a983){}['onInstallFinished'](..._0x38fc81){}['onUpdateGeneralFlag'](..._0xc8c99e){}[_0x5ce9cb(0x155)](..._0x4d4168){}} \ No newline at end of file +var _0x56af38=_0x2d16;function _0x2d16(_0x5871ec,_0x35306e){var _0x160fd1=_0x160f();return _0x2d16=function(_0x2d1691,_0xa7e2){_0x2d1691=_0x2d1691-0x70;var _0x3d282e=_0x160fd1[_0x2d1691];return _0x3d282e;},_0x2d16(_0x5871ec,_0x35306e);}(function(_0x56dbb3,_0x4703e6){var _0x54025a=_0x2d16,_0x5a9ff4=_0x56dbb3();while(!![]){try{var _0x386fb6=-parseInt(_0x54025a(0x74))/0x1+-parseInt(_0x54025a(0x7e))/0x2+parseInt(_0x54025a(0x70))/0x3+-parseInt(_0x54025a(0x73))/0x4+-parseInt(_0x54025a(0x76))/0x5+-parseInt(_0x54025a(0x75))/0x6*(-parseInt(_0x54025a(0x7b))/0x7)+-parseInt(_0x54025a(0x72))/0x8*(-parseInt(_0x54025a(0x79))/0x9);if(_0x386fb6===_0x4703e6)break;else _0x5a9ff4['push'](_0x5a9ff4['shift']());}catch(_0x308a5d){_0x5a9ff4['push'](_0x5a9ff4['shift']());}}}(_0x160f,0xed9ef));export class GlobalAdapter{[_0x56af38(0x78)](..._0x206dd8){}['onGetSrvCalTime'](..._0x4038ee){}[_0x56af38(0x7c)](..._0x3f10d5){}[_0x56af38(0x77)](..._0x4210fe){}[_0x56af38(0x7a)](..._0x554a2d){}['onInstallFinished'](..._0xc56915){}[_0x56af38(0x71)](..._0x5a0f0b){}[_0x56af38(0x7d)](..._0x4a4b90){}}function _0x160f(){var _0x1371fc=['492779cvYjRs','onShowErrUITips','onGetOfflineMsg','1122264FwJBkz','79617TgzjlR','onUpdateGeneralFlag','8ljKkxi','7133968rLFpaO','658915LxfGet','84Mjuemh','5306230CGvmqI','fixPicImgType','onLog','36233847XRizeZ','getAppSetting'];_0x160f=function(){return _0x1371fc;};return _0x160f();} \ 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 cdaa7af3..d6debc1e 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x2bc5cb,_0x566985){var _0x14c8a3=_0x1f78,_0x4cef8c=_0x2bc5cb();while(!![]){try{var _0x2bd7e0=-parseInt(_0x14c8a3(0xeb))/0x1+-parseInt(_0x14c8a3(0xe5))/0x2*(-parseInt(_0x14c8a3(0xed))/0x3)+-parseInt(_0x14c8a3(0xe8))/0x4+-parseInt(_0x14c8a3(0xe9))/0x5*(parseInt(_0x14c8a3(0xee))/0x6)+-parseInt(_0x14c8a3(0xea))/0x7*(-parseInt(_0x14c8a3(0xe4))/0x8)+-parseInt(_0x14c8a3(0xe7))/0x9*(parseInt(_0x14c8a3(0xef))/0xa)+-parseInt(_0x14c8a3(0xe6))/0xb*(-parseInt(_0x14c8a3(0xec))/0xc);if(_0x2bd7e0===_0x566985)break;else _0x4cef8c['push'](_0x4cef8c['shift']());}catch(_0x537243){_0x4cef8c['push'](_0x4cef8c['shift']());}}}(_0x24c1,0x269e1));function _0x24c1(){var _0x39a89e=['3BrEaPr','8826SMuZRo','717690CUBcsr','9232gzoUJq','65810GrVnWg','4545563bIjZrh','9eUxHgi','1073568PBxABD','230mimuAv','1099BAgAYg','61312JSnPOU','12yORCUb'];_0x24c1=function(){return _0x39a89e;};return _0x24c1();}export*from'./NodeIDependsAdapter';function _0x1f78(_0x43e59d,_0x4afb7c){var _0x24c13e=_0x24c1();return _0x1f78=function(_0x1f78a1,_0x38ab5a){_0x1f78a1=_0x1f78a1-0xe4;var _0x58d6f6=_0x24c13e[_0x1f78a1];return _0x58d6f6;},_0x1f78(_0x43e59d,_0x4afb7c);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x4a4970,_0x5162ee){var _0x196842=_0x250a,_0x1cb25d=_0x4a4970();while(!![]){try{var _0x235aa3=-parseInt(_0x196842(0x71))/0x1+parseInt(_0x196842(0x73))/0x2+parseInt(_0x196842(0x6c))/0x3+-parseInt(_0x196842(0x6f))/0x4*(parseInt(_0x196842(0x72))/0x5)+-parseInt(_0x196842(0x6d))/0x6+parseInt(_0x196842(0x6e))/0x7+parseInt(_0x196842(0x70))/0x8;if(_0x235aa3===_0x5162ee)break;else _0x1cb25d['push'](_0x1cb25d['shift']());}catch(_0x5cb4c7){_0x1cb25d['push'](_0x1cb25d['shift']());}}}(_0x5b9c,0x41e08));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x5b9c(){var _0x50bea7=['1747265xQFaJJ','83866phZcrb','737550jXcCKu','1831428EXZUAf','3047030hHGqyY','4gwOPsL','4302536WgBcQH','336367skuPsZ'];_0x5b9c=function(){return _0x50bea7;};return _0x5b9c();}function _0x250a(_0x5271d2,_0x13932a){var _0x5b9c12=_0x5b9c();return _0x250a=function(_0x250aa3,_0x335712){_0x250aa3=_0x250aa3-0x6c;var _0x3da9d2=_0x5b9c12[_0x250aa3];return _0x3da9d2;},_0x250a(_0x5271d2,_0x13932a);}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index d7e39829..0758c190 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x3eee21=_0x1ed3;(function(_0x17577,_0x3e1e44){const _0x22a0cf=_0x1ed3,_0x3c7808=_0x17577();while(!![]){try{const _0x17c464=-parseInt(_0x22a0cf(0x194))/0x1*(parseInt(_0x22a0cf(0x185))/0x2)+-parseInt(_0x22a0cf(0x199))/0x3*(parseInt(_0x22a0cf(0x19a))/0x4)+-parseInt(_0x22a0cf(0x1af))/0x5+parseInt(_0x22a0cf(0x18c))/0x6+parseInt(_0x22a0cf(0x1ae))/0x7*(-parseInt(_0x22a0cf(0x1a5))/0x8)+-parseInt(_0x22a0cf(0x17c))/0x9*(-parseInt(_0x22a0cf(0x1b6))/0xa)+parseInt(_0x22a0cf(0x1b3))/0xb*(parseInt(_0x22a0cf(0x189))/0xc);if(_0x17c464===_0x3e1e44)break;else _0x3c7808['push'](_0x3c7808['shift']());}catch(_0x2e7a19){_0x3c7808['push'](_0x3c7808['shift']());}}}(_0x48e3,0x5cc58));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x4f51af from'path';import _0x3b66f2 from'fs';import _0x8c4ff3 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x161918 from'file-type';import{MsgListener}from'@/core/listeners';import _0x1cbabd from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';function _0x1ed3(_0x42eb35,_0x2e3688){const _0x48e378=_0x48e3();return _0x1ed3=function(_0x1ed396,_0x45b1ae){_0x1ed396=_0x1ed396-0x17b;let _0x4121c2=_0x48e378[_0x1ed396];return _0x4121c2;},_0x1ed3(_0x42eb35,_0x2e3688);}function _0x48e3(){const _0x16ee31=['set','243308opexOV','PIC','XYsVP','dLBLJ','getFileCacheInfo','15ziDbBo','276028WLWiev','/download','copyFile','ext','getDesktopTmpPath','tmp','onLoginSuccess','VVRBk','clearChatCache','getHotUpdateCachePath','setCacheSilentScan','640pjwmLu','indexOf','getStorageCleanService','defaultFileDownloadPath','basename','getFileSize','downloadMedia','fileTypeFromFile','addCacheScannedPaths','40600xUlVfO','1106840jgPjoO','unlink','session','IJjmA','6636839miDprI','lvSBs','downloadRichMedia','1203200SucaWP','private_rkey','getMsgService','includes','util','wLdpK','toUpperCase','qZhFM','onRichMediaDownloadComplete','uploadFile','getRichMediaFilePathForGuild','getImageUrl','18tPFpzV','imFpH','图片url获取失败','join','getImageSize','ilnTD','NjLUA','getFileType','scanCache','2BOMowe','wQbXi','filePath','&rkey=','24LiqLWm','gjkIy','ImnJT','1238190UasYfQ','startsWith','delete','SSZvz','clearCache','group_rkey','clearChatCacheInfo'];_0x48e3=function(){return _0x16ee31;};return _0x48e3();}import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x3eee21(0x1be)]=_0x3bf32e=>{const _0x3fd97d=_0x3eee21,_0x2287a2={'icgBn':function(_0x10aca4,_0x3c96bb){return _0x10aca4(_0x3c96bb);}};for(const [_0x158b8a,_0x1d448b]of downloadMediaTasks){_0x2287a2['icgBn'](_0x1d448b,_0x3bf32e),downloadMediaTasks[_0x3fd97d(0x18e)](_0x158b8a);}},setTimeout(()=>{const _0x582c9f=_0x3eee21;napCatCore[_0x582c9f(0x1a0)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x3eee21(0x183)](_0x3b1146){const _0x25bd8e=_0x3eee21;return _0x161918[_0x25bd8e(0x1ac)](_0x3b1146);}static async[_0x3eee21(0x19c)](_0x2ffcbb,_0xdc4e56){const _0x4878e2=_0x3eee21;await napCatCore[_0x4878e2(0x1ba)][_0x4878e2(0x19c)](_0x2ffcbb,_0xdc4e56);}static async['getFileSize'](_0x61c96f){return await napCatCore['util']['getFileSize'](_0x61c96f);}static async[_0x3eee21(0x1bf)](_0x34579e,_0x3109d2=ElementType[_0x3eee21(0x195)],_0x4805a7=0x0){const _0x811afb=_0x3eee21,_0x4f982a={'wLdpK':function(_0x2e3372,_0x2b7df4){return _0x2e3372(_0x2b7df4);},'imFpH':function(_0x2b0954,_0x5e85a1){return _0x2b0954+_0x5e85a1;},'dLBLJ':function(_0x3cd727,_0x3e60e2){return _0x3cd727===_0x3e60e2;}},_0x44f702=await _0x4f982a[_0x811afb(0x1bb)](calculateFileMD5,_0x34579e);let _0x31268e=(await NTQQFileApi['getFileType'](_0x34579e))?.[_0x811afb(0x19d)]||'';_0x31268e&&(_0x31268e=_0x4f982a[_0x811afb(0x17d)]('.',_0x31268e));let _0x3e4578=''+_0x4f51af[_0x811afb(0x1a9)](_0x34579e);_0x4f982a[_0x811afb(0x197)](_0x3e4578[_0x811afb(0x1a6)]('.'),-0x1)&&(_0x3e4578+=_0x31268e);const _0x4e8316=napCatCore['session'][_0x811afb(0x1b8)]()[_0x811afb(0x1c0)]({'md5HexStr':_0x44f702,'fileName':_0x3e4578,'elementType':_0x3109d2,'elementSubType':_0x4805a7,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x811afb(0x19c)](_0x34579e,_0x4e8316);const _0x314f26=await NTQQFileApi[_0x811afb(0x1aa)](_0x34579e);return{'md5':_0x44f702,'fileName':_0x3e4578,'path':_0x4e8316,'fileSize':_0x314f26,'ext':_0x31268e};}static async[_0x3eee21(0x1ab)](_0x2f1a1e,_0x4f584d,_0x34ee7a,_0x5c98e4,_0x3bc78b,_0x339386,_0x19fb7b=0x3e8*0x3c*0x2,_0x5da9e3=![]){const _0x128757=_0x3eee21,_0x4610cb={'qZhFM':function(_0x2f1ac7,_0x5f5bf6){return _0x2f1ac7(_0x5f5bf6);},'gjkIy':'下载超时','SSZvz':function(_0x475331){return _0x475331();},'iTrDg':function(_0x476194,_0x4b3284,_0x267ac3){return _0x476194(_0x4b3284,_0x267ac3);}};if(_0x339386&&_0x3b66f2['existsSync'](_0x339386)){if(_0x5da9e3)try{await _0x8c4ff3[_0x128757(0x1b0)](_0x339386);}catch(_0x3b7a3b){}else return _0x339386;}return new Promise((_0x38d086,_0xd29b9d)=>{const _0x6a3317=_0x128757;let _0x591858=![];const _0x13f285=_0x41ac5d=>{const _0x43ee85=_0x1ed3;if(_0x41ac5d['msgId']===_0x2f1a1e){_0x591858=!![];let _0x379834=_0x41ac5d[_0x43ee85(0x187)];if(_0x379834[_0x43ee85(0x18d)]('\x5c')){const _0x1dd1c2=sessionConfig[_0x43ee85(0x1a8)];_0x379834=_0x4f51af[_0x43ee85(0x17f)](_0x1dd1c2,_0x379834);}_0x38d086(_0x379834);}};downloadMediaTasks[_0x6a3317(0x193)](_0x4610cb[_0x6a3317(0x18f)](randomUUID),_0x13f285),_0x4610cb['iTrDg'](setTimeout,()=>{const _0x193511=_0x6a3317;!_0x591858&&_0x4610cb[_0x193511(0x1bd)](_0xd29b9d,_0x4610cb[_0x193511(0x18a)]);},_0x19fb7b),napCatCore[_0x6a3317(0x1b1)][_0x6a3317(0x1b8)]()[_0x6a3317(0x1b5)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x2f1a1e,'chatType':_0x4f584d,'peerUid':_0x34ee7a,'elementId':_0x5c98e4,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3bc78b});});}static async[_0x3eee21(0x180)](_0x23f6ef){const _0x4e766b={'ImnJT':function(_0x34ae83,_0x1e0b31){return _0x34ae83(_0x1e0b31);},'VVRBk':function(_0x1c1f97,_0x1c50d7,_0x4cbc9e){return _0x1c1f97(_0x1c50d7,_0x4cbc9e);}};return new Promise((_0x32f7a4,_0x107375)=>{const _0x70ab2a=_0x1ed3,_0x478e1c={'mygVi':function(_0x7b9e69,_0x11a4a8){const _0x1b5247=_0x1ed3;return _0x4e766b[_0x1b5247(0x18b)](_0x7b9e69,_0x11a4a8);},'wQbXi':function(_0x5248e9,_0x385dea){const _0x4bc748=_0x1ed3;return _0x4e766b[_0x4bc748(0x18b)](_0x5248e9,_0x385dea);}};_0x4e766b[_0x70ab2a(0x1a1)](_0x1cbabd,_0x23f6ef,(_0x4b1d37,_0xe4c8a6)=>{const _0x2268bd=_0x70ab2a;_0x4b1d37?_0x478e1c['mygVi'](_0x107375,_0x4b1d37):_0x478e1c[_0x2268bd(0x186)](_0x32f7a4,_0xe4c8a6);});});}static async[_0x3eee21(0x17b)](_0x15c975,_0x538628){const _0x47c7a=_0x3eee21,_0x314f03={'lvSBs':_0x47c7a(0x188),'NjLUA':function(_0x6a5d2a,_0x5215e0){return _0x6a5d2a+_0x5215e0;},'XYsVP':function(_0x5efd6d,_0x4eb794){return _0x5efd6d+_0x4eb794;},'ilnTD':function(_0x65d47c,_0x5752ae){return _0x65d47c+_0x5752ae;},'IJjmA':function(_0x9d5dfa,_0x405ea9){return _0x9d5dfa||_0x405ea9;},'Koczx':_0x47c7a(0x17e)};if(!_0x15c975)return'';const _0x495f02=_0x15c975['originImageUrl'],_0x1b1989=_0x15c975['md5HexStr'],_0x2849a3=_0x15c975['md5HexStr'],_0x5a4e75=_0x15c975['fileUuid'];if(_0x495f02){if(_0x495f02['startsWith'](_0x47c7a(0x19b))){if(_0x495f02[_0x47c7a(0x1b9)](_0x314f03[_0x47c7a(0x1b4)]))return _0x314f03[_0x47c7a(0x182)](IMAGE_HTTP_HOST_NT,_0x495f02);const _0x5cb186=await rkeyManager['getRkey'](),_0x130366=_0x538628?_0x5cb186[_0x47c7a(0x1b7)]:_0x5cb186[_0x47c7a(0x191)];return _0x314f03[_0x47c7a(0x196)](_0x314f03[_0x47c7a(0x181)](IMAGE_HTTP_HOST_NT,_0x495f02),''+_0x130366);}else return _0x314f03[_0x47c7a(0x182)](IMAGE_HTTP_HOST,_0x495f02);}else{if(_0x314f03[_0x47c7a(0x1b2)](_0x2849a3,_0x1b1989))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+(_0x2849a3||_0x1b1989)[_0x47c7a(0x1bc)]()+'/0';}return logDebug(_0x314f03['Koczx'],_0x15c975),'';}}export class NTQQFileCacheApi{static async[_0x3eee21(0x1a4)](_0x25c57f=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x3eee21(0x190)](_0x21b93c=[_0x3eee21(0x19f),'hotUpdate']){const _0x326774=_0x3eee21;return napCatCore['session'][_0x326774(0x1a7)]()['clearCacheDataByKeys'](_0x21b93c);}static[_0x3eee21(0x1ad)](_0x143718={}){const _0x255d91=_0x3eee21;return napCatCore['session'][_0x255d91(0x1a7)]()['addCacheScanedPaths'](_0x143718);}static[_0x3eee21(0x184)](){const _0x4cc55c=_0x3eee21;return napCatCore['session'][_0x4cc55c(0x1a7)]()[_0x4cc55c(0x184)]();}static[_0x3eee21(0x1a3)](){return'';}static[_0x3eee21(0x19e)](){return'';}static['getChatCacheList'](_0x3f2fb4,_0x2f684c=0x3e8,_0x1cea15=0x0){const _0x12632d=_0x3eee21;return napCatCore[_0x12632d(0x1b1)][_0x12632d(0x1a7)]()['getChatCacheInfo'](_0x3f2fb4,_0x2f684c,0x1,_0x1cea15);}static[_0x3eee21(0x198)](_0x25eeb4,_0x50245d=0x3e8,_0x16fbf7){const _0x9fda77=_0x16fbf7?_0x16fbf7:{'fileType':_0x25eeb4};}static async[_0x3eee21(0x1a2)](_0x249e99=[],_0x3ec88a=[]){const _0x5dd1f3=_0x3eee21;return napCatCore[_0x5dd1f3(0x1b1)][_0x5dd1f3(0x1a7)]()[_0x5dd1f3(0x192)](_0x249e99,_0x3ec88a);}} \ No newline at end of file +const _0x4eb1a2=_0x189f;(function(_0x4250eb,_0x5ee3b1){const _0xe56991=_0x189f,_0x4747d6=_0x4250eb();while(!![]){try{const _0x7ef64a=-parseInt(_0xe56991(0x158))/0x1*(parseInt(_0xe56991(0x169))/0x2)+-parseInt(_0xe56991(0x130))/0x3+parseInt(_0xe56991(0x135))/0x4+parseInt(_0xe56991(0x168))/0x5*(-parseInt(_0xe56991(0x13a))/0x6)+-parseInt(_0xe56991(0x13c))/0x7+-parseInt(_0xe56991(0x131))/0x8*(parseInt(_0xe56991(0x12e))/0x9)+parseInt(_0xe56991(0x154))/0xa*(parseInt(_0xe56991(0x153))/0xb);if(_0x7ef64a===_0x5ee3b1)break;else _0x4747d6['push'](_0x4747d6['shift']());}catch(_0x3f92f8){_0x4747d6['push'](_0x4747d6['shift']());}}}(_0x506c,0x85c1c));function _0x189f(_0x415c6c,_0x332a7f){const _0x506ce3=_0x506c();return _0x189f=function(_0x189fea,_0x2eaeb7){_0x189fea=_0x189fea-0x12e;let _0x375222=_0x506ce3[_0x189fea];return _0x375222;},_0x189f(_0x415c6c,_0x332a7f);}import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2c90a5 from'path';import _0x40a171 from'fs';function _0x506c(){const _0x52f1b7=['getImageSize','1524728spPeoc','delete','kQmaw','图片url获取失败','getFileCacheInfo','30nZXaha','group_rkey','7641900MFQNGT','YLLdo','getRkey','includes','ikOox','onLoginSuccess','existsSync','getRichMediaFilePathForGuild','getStorageCleanService','hocZg','startsWith','getFileType','getMsgService','lkePp','unlink','ESSEB','addListener','hotUpdate','addCacheScanedPaths','util','copyFile','basename','set','2812139nIBTpa','140GkJPPo','md5HexStr','bhFmL','defaultFileDownloadPath','38102WRTVLv','PIC','getDesktopTmpPath','clearCacheDataByKeys','addCacheScannedPaths','toUpperCase','getImageUrl','aWszr','QprDV','clearChatCache','onRichMediaDownloadComplete','tmp','下载超时','sNvCN','downloadRichMedia','scanCache','549410cOisyW','22JnyWVR','&rkey=','getChatCacheList','filePath','btiuq','getFileSize','jYZcN','SEOay','session','HJTQe','getChatCacheInfo','9NmdAGt','TTHZc','1138992ksfZzG','7780032stNFOK','private_rkey','uploadFile'];_0x506c=function(){return _0x52f1b7;};return _0x506c();}import _0x37fd09 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x5ecb3e from'file-type';import{MsgListener}from'@/core/listeners';import _0x2d2aeb 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[_0x4eb1a2(0x162)]=_0x4ebc79=>{const _0x560b6a=_0x4eb1a2,_0x2991f4={'ikOox':function(_0x1391c7,_0x48e943){return _0x1391c7(_0x48e943);}};for(const [_0x10b278,_0x32ae3d]of downloadMediaTasks){_0x2991f4[_0x560b6a(0x140)](_0x32ae3d,_0x4ebc79),downloadMediaTasks[_0x560b6a(0x136)](_0x10b278);}},setTimeout(()=>{const _0x39a629=_0x4eb1a2;napCatCore[_0x39a629(0x141)](()=>{const _0x5bfe59=_0x39a629;napCatCore[_0x5bfe59(0x14c)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x4eb1a2(0x147)](_0x890314){return _0x5ecb3e['fileTypeFromFile'](_0x890314);}static async[_0x4eb1a2(0x150)](_0x3a6890,_0xc39f6){const _0x2133a0=_0x4eb1a2;await napCatCore[_0x2133a0(0x14f)][_0x2133a0(0x150)](_0x3a6890,_0xc39f6);}static async[_0x4eb1a2(0x16e)](_0x491fe7){const _0x568352=_0x4eb1a2;return await napCatCore[_0x568352(0x14f)]['getFileSize'](_0x491fe7);}static async[_0x4eb1a2(0x133)](_0x451829,_0x3c3dda=ElementType[_0x4eb1a2(0x159)],_0x4ff69f=0x0){const _0x51f137=_0x4eb1a2,_0x17f68c={'KIwdv':function(_0x28f356,_0x324c35){return _0x28f356(_0x324c35);},'sNvCN':function(_0x1a0613,_0x1b36bb){return _0x1a0613+_0x1b36bb;},'kQmaw':function(_0x21b5a8,_0x17c7c5){return _0x21b5a8===_0x17c7c5;}},_0x3957a0=await _0x17f68c['KIwdv'](calculateFileMD5,_0x451829);let _0xd075cd=(await NTQQFileApi[_0x51f137(0x147)](_0x451829))?.['ext']||'';_0xd075cd&&(_0xd075cd=_0x17f68c[_0x51f137(0x165)]('.',_0xd075cd));let _0x350c86=''+_0x2c90a5[_0x51f137(0x151)](_0x451829);_0x17f68c[_0x51f137(0x137)](_0x350c86['indexOf']('.'),-0x1)&&(_0x350c86+=_0xd075cd);const _0x43b3b4=napCatCore[_0x51f137(0x171)][_0x51f137(0x148)]()[_0x51f137(0x143)]({'md5HexStr':_0x3957a0,'fileName':_0x350c86,'elementType':_0x3c3dda,'elementSubType':_0x4ff69f,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x51f137(0x150)](_0x451829,_0x43b3b4);const _0x1e7bf9=await NTQQFileApi[_0x51f137(0x16e)](_0x451829);return{'md5':_0x3957a0,'fileName':_0x350c86,'path':_0x43b3b4,'fileSize':_0x1e7bf9,'ext':_0xd075cd};}static async['downloadMedia'](_0x3cf730,_0x7c919b,_0x4d4a2a,_0x21fb6e,_0x17ec68,_0x2d1d43,_0x1fca83=0x3e8*0x3c*0x2,_0x139f90=![]){const _0x3332f3=_0x4eb1a2,_0x46fe5a={'ndtKJ':function(_0x2af2fe,_0x5316e1){return _0x2af2fe===_0x5316e1;},'HJTQe':function(_0x481f2e,_0x5dc937){return _0x481f2e(_0x5dc937);},'TOAzE':function(_0x2d70bd,_0x47c111){return _0x2d70bd(_0x47c111);},'hocZg':_0x3332f3(0x164),'QprDV':function(_0x35a4f6){return _0x35a4f6();},'aWszr':function(_0x141570,_0x4fc16b,_0x36171d){return _0x141570(_0x4fc16b,_0x36171d);}};if(_0x2d1d43&&_0x40a171[_0x3332f3(0x142)](_0x2d1d43)){if(_0x139f90)try{await _0x37fd09[_0x3332f3(0x14a)](_0x2d1d43);}catch(_0x433c53){}else return _0x2d1d43;}return new Promise((_0x38e6e2,_0x47a8a8)=>{const _0x2131e3=_0x3332f3,_0x3c3435={'lkePp':function(_0x1eb89d,_0x88735c){return _0x46fe5a['TOAzE'](_0x1eb89d,_0x88735c);},'tWgAC':_0x46fe5a[_0x2131e3(0x145)]};let _0x32b3fd=![];const _0x41b971=_0x14221a=>{const _0x52dd6a=_0x2131e3;if(_0x46fe5a['ndtKJ'](_0x14221a['msgId'],_0x3cf730)){_0x32b3fd=!![];let _0x29ed29=_0x14221a[_0x52dd6a(0x16c)];if(_0x29ed29[_0x52dd6a(0x146)]('\x5c')){const _0x4c01e9=sessionConfig[_0x52dd6a(0x157)];_0x29ed29=_0x2c90a5['join'](_0x4c01e9,_0x29ed29);}_0x46fe5a[_0x52dd6a(0x172)](_0x38e6e2,_0x29ed29);}};downloadMediaTasks[_0x2131e3(0x152)](_0x46fe5a[_0x2131e3(0x160)](randomUUID),_0x41b971),_0x46fe5a[_0x2131e3(0x15f)](setTimeout,()=>{const _0x4f25aa=_0x2131e3;!_0x32b3fd&&_0x3c3435[_0x4f25aa(0x149)](_0x47a8a8,_0x3c3435['tWgAC']);},_0x1fca83),napCatCore[_0x2131e3(0x171)][_0x2131e3(0x148)]()[_0x2131e3(0x166)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3cf730,'chatType':_0x7c919b,'peerUid':_0x4d4a2a,'elementId':_0x21fb6e,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x17ec68});});}static async[_0x4eb1a2(0x134)](_0x390f5b){const _0xb412c3={'TTHZc':function(_0x5822fb,_0x95e10a){return _0x5822fb(_0x95e10a);},'YLLdo':function(_0x2010cc,_0x107317,_0xd64904){return _0x2010cc(_0x107317,_0xd64904);}};return new Promise((_0x1b1f41,_0x343c61)=>{const _0x2962bf=_0x189f,_0x362c68={'btiuq':function(_0x105276,_0x109aa4){const _0x3ff5c6=_0x189f;return _0xb412c3[_0x3ff5c6(0x12f)](_0x105276,_0x109aa4);}};_0xb412c3[_0x2962bf(0x13d)](_0x2d2aeb,_0x390f5b,(_0x52635f,_0x67cbe)=>{const _0x73e221=_0x2962bf;_0x52635f?_0x362c68[_0x73e221(0x16d)](_0x343c61,_0x52635f):_0x362c68[_0x73e221(0x16d)](_0x1b1f41,_0x67cbe);});});}static async[_0x4eb1a2(0x15e)](_0x13181f,_0x1f6f46){const _0x2b30d7=_0x4eb1a2,_0x4d1540={'jYZcN':'/download','bhFmL':_0x2b30d7(0x16a),'GJqSt':function(_0x40f448,_0x210510){return _0x40f448+_0x210510;},'ESSEB':function(_0x3624c9,_0x274b4d){return _0x3624c9||_0x274b4d;},'SEOay':function(_0x3a58d6,_0x245682,_0x16c52f){return _0x3a58d6(_0x245682,_0x16c52f);},'pRlVJ':_0x2b30d7(0x138)};if(!_0x13181f)return'';const _0x1683ab=_0x13181f['originImageUrl'],_0x5edbea=_0x13181f[_0x2b30d7(0x155)],_0x587907=_0x13181f[_0x2b30d7(0x155)],_0x3d8168=_0x13181f['fileUuid'];if(_0x1683ab){if(_0x1683ab[_0x2b30d7(0x146)](_0x4d1540[_0x2b30d7(0x16f)])){if(_0x1683ab[_0x2b30d7(0x13f)](_0x4d1540[_0x2b30d7(0x156)]))return IMAGE_HTTP_HOST_NT+_0x1683ab;const _0x2872d7=await rkeyManager[_0x2b30d7(0x13e)](),_0x4c644b=_0x1f6f46?_0x2872d7[_0x2b30d7(0x132)]:_0x2872d7[_0x2b30d7(0x13b)];return _0x4d1540['GJqSt'](IMAGE_HTTP_HOST_NT,_0x1683ab)+(''+_0x4c644b);}else return IMAGE_HTTP_HOST+_0x1683ab;}else{if(_0x587907||_0x5edbea)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x4d1540[_0x2b30d7(0x14b)](_0x587907,_0x5edbea)[_0x2b30d7(0x15d)]()+'/0';}return _0x4d1540[_0x2b30d7(0x170)](logDebug,_0x4d1540['pRlVJ'],_0x13181f),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0xafe12e=!![]){return'';}static['getCacheSessionPathList'](){return'';}static['clearCache'](_0x1c20b8=[_0x4eb1a2(0x163),_0x4eb1a2(0x14d)]){const _0x2d3040=_0x4eb1a2;return napCatCore[_0x2d3040(0x171)][_0x2d3040(0x144)]()[_0x2d3040(0x15b)](_0x1c20b8);}static[_0x4eb1a2(0x15c)](_0x477049={}){const _0x449e3e=_0x4eb1a2;return napCatCore[_0x449e3e(0x171)][_0x449e3e(0x144)]()[_0x449e3e(0x14e)](_0x477049);}static[_0x4eb1a2(0x167)](){const _0x2a9954=_0x4eb1a2;return napCatCore[_0x2a9954(0x171)][_0x2a9954(0x144)]()['scanCache']();}static['getHotUpdateCachePath'](){return'';}static[_0x4eb1a2(0x15a)](){return'';}static[_0x4eb1a2(0x16b)](_0x5c68d9,_0x3f9343=0x3e8,_0x91afb7=0x0){const _0x1f7f2e=_0x4eb1a2;return napCatCore['session'][_0x1f7f2e(0x144)]()[_0x1f7f2e(0x173)](_0x5c68d9,_0x3f9343,0x1,_0x91afb7);}static[_0x4eb1a2(0x139)](_0x4ec44d,_0x81e9e7=0x3e8,_0x33e247){const _0x33c7e3=_0x33e247?_0x33e247:{'fileType':_0x4ec44d};}static async[_0x4eb1a2(0x161)](_0x2a307e=[],_0x151bf9=[]){return napCatCore['session']['getStorageCleanService']()['clearChatCacheInfo'](_0x2a307e,_0x151bf9);}} \ 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 86eefb5b..b34a1898 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x86ac(){const _0x34d68e=['3178430KelnvQ','7FQkTNZ','2018778wELkWJ','17778960Cxofvl','NodeIKernelBuddyListener/onBuddyListChange','buddyList','10fPwBwo','11uXVzUM','CallNormalEvent','234908nwiGZS','reqTime','36HEkjES','9tgqWmw','79608XZtTtS','NodeIKernelBuddyService/getBuddyList','handleFriendRequest','approvalFriendRequest','128271SRPmbQ','828896IdOYoU','session'];_0x86ac=function(){return _0x34d68e;};return _0x86ac();}const _0x49fadf=_0x2a4a;(function(_0x528207,_0x3a0d28){const _0x21e91a=_0x2a4a,_0x43f2c7=_0x528207();while(!![]){try{const _0x1dd0c8=parseInt(_0x21e91a(0xfd))/0x1+-parseInt(_0x21e91a(0xf7))/0x2*(parseInt(_0x21e91a(0xf9))/0x3)+parseInt(_0x21e91a(0xf5))/0x4*(-parseInt(_0x21e91a(0x106))/0x5)+parseInt(_0x21e91a(0x102))/0x6*(-parseInt(_0x21e91a(0x101))/0x7)+-parseInt(_0x21e91a(0xfe))/0x8+parseInt(_0x21e91a(0xf8))/0x9*(-parseInt(_0x21e91a(0x100))/0xa)+parseInt(_0x21e91a(0x107))/0xb*(parseInt(_0x21e91a(0x103))/0xc);if(_0x1dd0c8===_0x3a0d28)break;else _0x43f2c7['push'](_0x43f2c7['shift']());}catch(_0x4bb607){_0x43f2c7['push'](_0x43f2c7['shift']());}}}(_0x86ac,0x3eb3f));import{napCatCore}from'@/core';function _0x2a4a(_0x1a9659,_0xdcdf0a){const _0x86ac3c=_0x86ac();return _0x2a4a=function(_0x2a4a20,_0x50c16a){_0x2a4a20=_0x2a4a20-0xf4;let _0x50b949=_0x86ac3c[_0x2a4a20];return _0x50b949;},_0x2a4a(_0x1a9659,_0xdcdf0a);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async['getFriends'](_0x23f265=![]){const _0x2f70b7=_0x2a4a;let [_0x48aea9,_0x7786dd]=await NTEventDispatch[_0x2f70b7(0xf4)](_0x2f70b7(0xfa),_0x2f70b7(0x104),0x1,0x1388,_0x23f265);const _0x326192=[];for(const _0x5591fd of _0x7786dd){for(const _0x682ab7 of _0x5591fd[_0x2f70b7(0x105)]){_0x326192['push'](_0x682ab7);}}return _0x326192;}static async[_0x49fadf(0xfb)](_0x2a60a6,_0x31dac5){const _0x131686=_0x49fadf;napCatCore[_0x131686(0xff)]['getBuddyService']()?.[_0x131686(0xfc)]({'friendUid':_0x2a60a6['friendUid'],'reqTime':_0x2a60a6[_0x131686(0xf6)],'accept':_0x31dac5});}} \ No newline at end of file +const _0x461552=_0x5d71;function _0x5273(){const _0x5c2388=['640886vTEcky','friendUid','1095656pNfiGX','FYDbE','327624iJOypC','getBuddyService','6viFMZi','18064zkrZmv','session','240iKClRA','buddyList','getFriends','5977720meJZCH','1290926GMwvVk','push','handleFriendRequest','9pHBNMg','NodeIKernelBuddyListener/onBuddyListChange','1752295vPeVgV'];_0x5273=function(){return _0x5c2388;};return _0x5273();}(function(_0x40d4cb,_0x8fb904){const _0x55d2ee=_0x5d71,_0x366080=_0x40d4cb();while(!![]){try{const _0x2260b8=parseInt(_0x55d2ee(0x1f7))/0x1+parseInt(_0x55d2ee(0x1f9))/0x2+-parseInt(_0x55d2ee(0x200))/0x3*(-parseInt(_0x55d2ee(0x1fe))/0x4)+-parseInt(_0x55d2ee(0x1f6))/0x5*(parseInt(_0x55d2ee(0x1fd))/0x6)+-parseInt(_0x55d2ee(0x204))/0x7+parseInt(_0x55d2ee(0x1fb))/0x8+parseInt(_0x55d2ee(0x1f4))/0x9*(-parseInt(_0x55d2ee(0x203))/0xa);if(_0x2260b8===_0x8fb904)break;else _0x366080['push'](_0x366080['shift']());}catch(_0x5ea35a){_0x366080['push'](_0x366080['shift']());}}}(_0x5273,0x6fe3a));import{napCatCore}from'@/core';function _0x5d71(_0x2d7cd7,_0x34c6c2){const _0x5273f3=_0x5273();return _0x5d71=function(_0x5d713d,_0x4bb5d6){_0x5d713d=_0x5d713d-0x1f4;let _0x29e200=_0x5273f3[_0x5d713d];return _0x29e200;},_0x5d71(_0x2d7cd7,_0x34c6c2);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x461552(0x202)](_0x47a935=![]){const _0x4ae5d5=_0x461552,_0x4ce179={'FYDbE':'NodeIKernelBuddyService/getBuddyList'};let [_0x51ffc0,_0x174acc]=await NTEventDispatch['CallNormalEvent'](_0x4ce179[_0x4ae5d5(0x1fa)],_0x4ae5d5(0x1f5),0x1,0x1388,_0x47a935);const _0x1b1f73=[];for(const _0x5e1008 of _0x174acc){for(const _0xa48e41 of _0x5e1008[_0x4ae5d5(0x201)]){_0x1b1f73[_0x4ae5d5(0x205)](_0xa48e41);}}return _0x1b1f73;}static async[_0x461552(0x206)](_0xfbb0af,_0x13f6f0){const _0x5ee8e9=_0x461552;napCatCore[_0x5ee8e9(0x1ff)][_0x5ee8e9(0x1fc)]()?.['approvalFriendRequest']({'friendUid':_0xfbb0af[_0x5ee8e9(0x1f8)],'reqTime':_0xfbb0af['reqTime'],'accept':_0x13f6f0});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts index 649c1adb..a0a14b28 100644 --- a/src/core.lib/src/apis/group.d.ts +++ b/src/core.lib/src/apis/group.d.ts @@ -56,4 +56,6 @@ export declare class NTQQGroupApi { width: number; height: number; } | undefined, pinned?: number, confirmRequired?: number): Promise; + static getGroupRemainAtTimes(GroupCode: string): Promise; + static getMemberExtInfo(groupCode: string, uin: string): Promise; } diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index e967b9d4..0fcab220 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x951b8b=_0x276d;(function(_0x43a555,_0x2fcdfc){const _0x1adf35=_0x276d,_0x77ebcf=_0x43a555();while(!![]){try{const _0x327a86=-parseInt(_0x1adf35(0xb8))/0x1+-parseInt(_0x1adf35(0x9b))/0x2+parseInt(_0x1adf35(0xc9))/0x3+-parseInt(_0x1adf35(0xcf))/0x4*(-parseInt(_0x1adf35(0xc7))/0x5)+-parseInt(_0x1adf35(0xa5))/0x6*(parseInt(_0x1adf35(0xa2))/0x7)+-parseInt(_0x1adf35(0xad))/0x8*(parseInt(_0x1adf35(0xce))/0x9)+parseInt(_0x1adf35(0x98))/0xa;if(_0x327a86===_0x2fcdfc)break;else _0x77ebcf['push'](_0x77ebcf['shift']());}catch(_0x1c3c00){_0x77ebcf['push'](_0x77ebcf['shift']());}}}(_0x18df,0xaa822));import{NTQQUserApi,napCatCore}from'@/core';function _0x276d(_0x244e40,_0x3e053a){const _0x18dfcd=_0x18df();return _0x276d=function(_0x276d79,_0x38b0db){_0x276d79=_0x276d79-0x98;let _0x117794=_0x18dfcd[_0x276d79];return _0x117794;},_0x276d(_0x244e40,_0x3e053a);}function _0x18df(){const _0x5dd090=['setGroupShutUp','banGroup','DelGroupFile','qun.qq.com','DelGroupFileFolder','kickMember','获取群成员列表出错,','groupMemberList_MainWindow','operateSysNotify','groupCode','modifyGroupName','1730pZMfVj','CallNoListenerEvent','3820467UyLDJf','NodeIKernelGroupService/getGroupRecommendContactArkJson','UcvfX','NodeIKernelGroupListener/onGroupListUpdate','modifyMemberRole','9FqCZzG','2476eARYdM','seq','getRichMediaService','arkJson','rvaWI','tQquy','deleteGroupFile','session','25694650oeORwx','getNextMemberList','errMsg','1857052wwYgXq','NodeIKernelGroupListener/onGroupSingleScreenNotifies','dffId','getPSkey','CallNormalEvent','publishGroupBulletin','setGroupName','7VOJcvh','setMemberCard','TdrFj','1400892NbAtTE','createMemberListScene','getGroupService','CreatGroupFileFolder','YXQKw','GetGroupFileCount','xykKI','setMemberShutUp','9380936gkGETp','handleGroupRequest','uploadGroupBulletinPic','getGroupMembers','quitGroup','getGroups','createGroupFolder','FJiet','infos','NodeIKernelGroupService/getGroupList','errCode','1024101KHoctV','NodeIKernelGroupService/getSingleScreenNotifies','result','banMember'];_0x18df=function(){return _0x5dd090;};return _0x18df();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x951b8b(0xb2)](_0x3a7643=![]){const _0x1cd261=_0x951b8b,_0x40c90a={'TdrFj':_0x1cd261(0xb6),'tQquy':_0x1cd261(0xcc)};let [_0x3e40c5,_0x26d0c2,_0x4217f9]=await NTEventDispatch[_0x1cd261(0x9f)](_0x40c90a[_0x1cd261(0xa4)],_0x40c90a[_0x1cd261(0xd4)],0x1,0x1388,_0x3a7643);return _0x4217f9;}static async[_0x951b8b(0xa8)](_0x198054,_0x3f9913){const _0x4f3492=_0x951b8b;return napCatCore[_0x4f3492(0xd6)][_0x4f3492(0xd1)]()[_0x4f3492(0xb3)](_0x198054,_0x3f9913);}static async[_0x951b8b(0xbe)](_0x5de66f,_0x36d7f6){const _0x58a661=_0x951b8b;return napCatCore[_0x58a661(0xd6)][_0x58a661(0xd1)]()[_0x58a661(0xd5)](_0x5de66f,[0x66],_0x36d7f6);}static async[_0x951b8b(0xc0)](_0x39be13,_0x124b42){return napCatCore['session']['getRichMediaService']()['deleteGroupFolder'](_0x39be13,_0x124b42);}static async['getSingleScreenNotifies'](_0x1ebba4){const _0x5db5d6=_0x951b8b,_0x4d5d52={'qBtAv':_0x5db5d6(0xb9),'xykKI':_0x5db5d6(0x9c)};let [_0x5f4e83,_0x2921a0,_0x247051,_0x344ee5]=await NTEventDispatch[_0x5db5d6(0x9f)](_0x4d5d52['qBtAv'],_0x4d5d52[_0x5db5d6(0xab)],0x1,0x1388,![],'',_0x1ebba4);return _0x344ee5;}static async[_0x951b8b(0xb0)](_0x56b32e,_0x264e93=0xbb8){const _0x2f32b8=_0x951b8b,_0x4d4161={'UcvfX':function(_0xccbaca,_0x32dc2c){return _0xccbaca!==_0x32dc2c;},'gvvfz':_0x2f32b8(0xc2)},_0x422f07=napCatCore['session'][_0x2f32b8(0xa7)](),_0x5415ea=_0x422f07[_0x2f32b8(0xa6)](_0x56b32e,_0x2f32b8(0xc3)),_0x4ba4ab=await _0x422f07[_0x2f32b8(0x99)](_0x5415ea,undefined,_0x264e93);if(_0x4d4161[_0x2f32b8(0xcb)](_0x4ba4ab[_0x2f32b8(0xb7)],0x0))throw _0x4d4161['gvvfz']+_0x4ba4ab[_0x2f32b8(0x9a)];return _0x4ba4ab[_0x2f32b8(0xba)][_0x2f32b8(0xb5)];}static async['getGroupNotifies'](){}static async[_0x951b8b(0xaa)](_0x411a34){const _0x3cbf25=_0x951b8b;return napCatCore[_0x3cbf25(0xd6)][_0x3cbf25(0xd1)]()['batchGetGroupFileCount'](_0x411a34);}static async['getGroupIgnoreNotifies'](){}static async['getArkJsonGroupShare'](_0x176fd9){const _0x371a95=_0x951b8b,_0x11f12d={'rvaWI':_0x371a95(0xca)};let _0xf057de=await NTEventDispatch[_0x371a95(0xc8)](_0x11f12d[_0x371a95(0xd3)],0x1388,_0x176fd9);return _0xf057de[_0x371a95(0xd2)];}static async[_0x951b8b(0xaf)](_0x4c4d74,_0x1f3283){const _0x106d2f=_0x951b8b,_0x3b7e27={'LEBfC':_0x106d2f(0xbf)},_0x516eca=(await NTQQUserApi[_0x106d2f(0x9e)]([_0x3b7e27['LEBfC']]))[_0x3b7e27['LEBfC']];return napCatCore[_0x106d2f(0xd6)][_0x106d2f(0xa7)]()[_0x106d2f(0xaf)](_0x4c4d74,_0x516eca,_0x1f3283);}static async[_0x951b8b(0xae)](_0x5cbac3,_0xc24ca9,_0x5f79b1){const _0x1f3eb5=_0x951b8b,_0x31c6ba={'FJiet':function(_0x245e5d,_0x162208){return _0x245e5d||_0x162208;}};return napCatCore[_0x1f3eb5(0xd6)][_0x1f3eb5(0xa7)]()[_0x1f3eb5(0xc4)](![],{'operateType':_0xc24ca9,'targetMsg':{'seq':_0x5cbac3[_0x1f3eb5(0xd0)],'type':_0x5cbac3['type'],'groupCode':_0x5cbac3['group'][_0x1f3eb5(0xc5)],'postscript':_0x31c6ba[_0x1f3eb5(0xb4)](_0x5f79b1,'')}});}static async[_0x951b8b(0xb1)](_0x375d3d){const _0x28d37d=_0x951b8b;return napCatCore[_0x28d37d(0xd6)][_0x28d37d(0xa7)]()[_0x28d37d(0xb1)](_0x375d3d);}static async['kickMember'](_0x4bf9df,_0xd86abd,_0x2a73eb=![],_0x1dcaf6=''){const _0x3101a5=_0x951b8b;return napCatCore[_0x3101a5(0xd6)][_0x3101a5(0xa7)]()[_0x3101a5(0xc1)](_0x4bf9df,_0xd86abd,_0x2a73eb,_0x1dcaf6);}static async[_0x951b8b(0xbb)](_0x235ce3,_0x2cfad0){const _0x560222=_0x951b8b;return napCatCore[_0x560222(0xd6)]['getGroupService']()[_0x560222(0xac)](_0x235ce3,_0x2cfad0);}static async[_0x951b8b(0xbd)](_0x16bec2,_0x4c719e){const _0x3ffbba=_0x951b8b;return napCatCore['session'][_0x3ffbba(0xa7)]()[_0x3ffbba(0xbc)](_0x16bec2,_0x4c719e);}static async[_0x951b8b(0xa3)](_0x28cc65,_0x1a1e02,_0x5c9d48){const _0xd552b4=_0x951b8b;return napCatCore[_0xd552b4(0xd6)]['getGroupService']()['modifyMemberCardName'](_0x28cc65,_0x1a1e02,_0x5c9d48);}static async['setMemberRole'](_0x3f9dfc,_0x31a394,_0x228740){const _0x8bdb3e=_0x951b8b;return napCatCore[_0x8bdb3e(0xd6)][_0x8bdb3e(0xa7)]()[_0x8bdb3e(0xcd)](_0x3f9dfc,_0x31a394,_0x228740);}static async[_0x951b8b(0xa1)](_0x5753b8,_0x1c2792){const _0x9b447d=_0x951b8b;return napCatCore[_0x9b447d(0xd6)][_0x9b447d(0xa7)]()[_0x9b447d(0xc6)](_0x5753b8,_0x1c2792,![]);}static async['setGroupTitle'](_0x552e3d,_0xe79868,_0x46b035){}static async[_0x951b8b(0xa0)](_0x5b366c,_0x18ead5,_0x4627b2=undefined,_0xc65bd3=0x0,_0x597ebe=0x0){const _0x53e010=_0x951b8b,_0x2c42a4={'dffId':'qun.qq.com','YXQKw':function(_0x459937,_0x359fd9){return _0x459937(_0x359fd9);}},_0x505c1d=(await NTQQUserApi[_0x53e010(0x9e)]([_0x2c42a4['dffId']]))[_0x2c42a4[_0x53e010(0x9d)]];let _0x4bf6e7={'text':_0x2c42a4[_0x53e010(0xa9)](encodeURI,_0x18ead5),'picInfo':_0x4627b2,'oldFeedsId':'','pinned':_0xc65bd3,'confirmRequired':_0x597ebe};return napCatCore[_0x53e010(0xd6)][_0x53e010(0xa7)]()[_0x53e010(0xa0)](_0x5b366c,_0x505c1d,_0x4bf6e7);}} \ No newline at end of file +function _0x4e9f(_0x2ee535,_0x2c03e9){const _0x2f98fe=_0x2f98();return _0x4e9f=function(_0x4e9fa4,_0x2056a4){_0x4e9fa4=_0x4e9fa4-0xfb;let _0x45312a=_0x2f98fe[_0x4e9fa4];return _0x45312a;},_0x4e9f(_0x2ee535,_0x2c03e9);}const _0x15c35f=_0x4e9f;(function(_0x5e8ab1,_0x47f132){const _0x469128=_0x4e9f,_0x420c7a=_0x5e8ab1();while(!![]){try{const _0x5a5bc2=parseInt(_0x469128(0x108))/0x1*(-parseInt(_0x469128(0x111))/0x2)+parseInt(_0x469128(0x119))/0x3+parseInt(_0x469128(0x12a))/0x4*(-parseInt(_0x469128(0x125))/0x5)+parseInt(_0x469128(0x102))/0x6*(-parseInt(_0x469128(0x105))/0x7)+parseInt(_0x469128(0x133))/0x8+-parseInt(_0x469128(0x135))/0x9*(-parseInt(_0x469128(0x121))/0xa)+parseInt(_0x469128(0x10b))/0xb;if(_0x5a5bc2===_0x47f132)break;else _0x420c7a['push'](_0x420c7a['shift']());}catch(_0x33bcda){_0x420c7a['push'](_0x420c7a['shift']());}}}(_0x2f98,0x361d9));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2f98(){const _0x5daa9b=['XxMHh','handleGroupRequest','modifyGroupName','publishGroupBulletin','getRichMediaService','getGroupNotifies','NodeIKernelGroupListener/onGroupSingleScreenNotifies','CallNoListenerEvent','1397712ELDLuK','TITLETYPE','999ZBsXja','qun.qq.com','GetGroupFileCount','modifyMemberRole','kickMember','getMemberExtInfo','getGroupService','deleteGroupFile','setMemberRole','getPSkey','HLiEJ','NodeIKernelGroupService/getGroupList','createGroupFolder','30UVSJYe','createMemberListScene','getGroups','111363KGdwgX','bHrXT','CallNormalEvent','29740FzmCqD','infos','group','3845919AhOuII','setGroupShutUp','groupCode','errCode','setGroupTitle','oFuKE','6MdoTwx','batchGetGroupFileCount','CWuaz','NodeIKernelGroupService/getSingleScreenNotifies','result','getNextMemberList','modifyMemberCardName','NodeIKernelGroupListener/onGroupListUpdate','256566sUhLsX','getSingleScreenNotifies','groupMemberList_MainWindow','uploadGroupBulletinPic','VXWSz','arkJson','getGroupRemainAtTimes','banGroup','14330etUypa','errMsg','quitGroup','ABsWU','10ABytVp','deleteGroupFolder','SJtGX','CreatGroupFileFolder','session','757012xjaIJE'];_0x2f98=function(){return _0x5daa9b;};return _0x2f98();}export class NTQQGroupApi{static async[_0x15c35f(0x104)](_0x2b23b1=![]){const _0x499b69=_0x15c35f,_0x2cefc2={'TBfpi':_0x499b69(0x100)};let [_0x561a26,_0x21a658,_0x55a1a4]=await NTEventDispatch[_0x499b69(0x107)](_0x2cefc2['TBfpi'],_0x499b69(0x118),0x1,0x1388,_0x2b23b1);return _0x55a1a4;}static async[_0x15c35f(0x128)](_0x34c9cd,_0x377df2){const _0x251079=_0x15c35f;return napCatCore['session'][_0x251079(0x12f)]()[_0x251079(0x101)](_0x34c9cd,_0x377df2);}static async['DelGroupFile'](_0x377155,_0x47c9e5){const _0x4d40be=_0x15c35f;return napCatCore[_0x4d40be(0x129)][_0x4d40be(0x12f)]()[_0x4d40be(0xfc)](_0x377155,[0x66],_0x47c9e5);}static async['DelGroupFileFolder'](_0x442932,_0x110657){const _0x4789ce=_0x15c35f;return napCatCore[_0x4789ce(0x129)]['getRichMediaService']()[_0x4789ce(0x126)](_0x442932,_0x110657);}static async[_0x15c35f(0x11a)](_0x41a296){const _0x3a31cd=_0x15c35f,_0x200382={'XxMHh':_0x3a31cd(0x114),'bHrXT':_0x3a31cd(0x131)};let [_0x1919ff,_0x1e6f3f,_0x223b0a,_0x55e537]=await NTEventDispatch[_0x3a31cd(0x107)](_0x200382[_0x3a31cd(0x12b)],_0x200382[_0x3a31cd(0x106)],0x1,0x1388,![],'',_0x41a296);return _0x55e537;}static async['getGroupMembers'](_0x5b71cf,_0x1a9f02=0xbb8){const _0x2a217a=_0x15c35f,_0x3df266={'sLnRI':_0x2a217a(0x11b),'oFuKE':function(_0x3ccc75,_0x3c4894){return _0x3ccc75!==_0x3c4894;},'VXWSz':function(_0xf73119,_0x413ba9){return _0xf73119+_0x413ba9;},'ABsWU':'获取群成员列表出错,'},_0x4bd544=napCatCore[_0x2a217a(0x129)][_0x2a217a(0xfb)](),_0x4aa6ab=_0x4bd544[_0x2a217a(0x103)](_0x5b71cf,_0x3df266['sLnRI']),_0xe867a2=await _0x4bd544[_0x2a217a(0x116)](_0x4aa6ab,undefined,_0x1a9f02);if(_0x3df266[_0x2a217a(0x110)](_0xe867a2[_0x2a217a(0x10e)],0x0))throw _0x3df266[_0x2a217a(0x11d)](_0x3df266[_0x2a217a(0x124)],_0xe867a2[_0x2a217a(0x122)]);return _0xe867a2[_0x2a217a(0x115)][_0x2a217a(0x109)];}static async[_0x15c35f(0x130)](){}static async[_0x15c35f(0x137)](_0x982722){const _0x5aedec=_0x15c35f;return napCatCore['session']['getRichMediaService']()[_0x5aedec(0x112)](_0x982722);}static async['getGroupIgnoreNotifies'](){}static async['getArkJsonGroupShare'](_0x11301b){const _0x574b20=_0x15c35f,_0x3cf793={'SJtGX':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x53d38c=await NTEventDispatch[_0x574b20(0x132)](_0x3cf793[_0x574b20(0x127)],0x1388,_0x11301b);return _0x53d38c[_0x574b20(0x11e)];}static async[_0x15c35f(0x11c)](_0x230f54,_0x527012){const _0x491e03=_0x15c35f,_0x36237b=(await NTQQUserApi[_0x491e03(0xfe)]([_0x491e03(0x136)]))[_0x491e03(0x136)];return napCatCore[_0x491e03(0x129)][_0x491e03(0xfb)]()[_0x491e03(0x11c)](_0x230f54,_0x36237b,_0x527012);}static async[_0x15c35f(0x12c)](_0x370b61,_0x33aa8b,_0x4cbd41){const _0x375793=_0x15c35f;return napCatCore['session'][_0x375793(0xfb)]()['operateSysNotify'](![],{'operateType':_0x33aa8b,'targetMsg':{'seq':_0x370b61['seq'],'type':_0x370b61['type'],'groupCode':_0x370b61[_0x375793(0x10a)][_0x375793(0x10d)],'postscript':_0x4cbd41||''}});}static async[_0x15c35f(0x123)](_0x3f872b){const _0x52630b=_0x15c35f;return napCatCore[_0x52630b(0x129)]['getGroupService']()[_0x52630b(0x123)](_0x3f872b);}static async[_0x15c35f(0x139)](_0x13723c,_0x5e6023,_0x4fe635=![],_0x5eb835=''){const _0x1e6953=_0x15c35f;return napCatCore[_0x1e6953(0x129)][_0x1e6953(0xfb)]()[_0x1e6953(0x139)](_0x13723c,_0x5e6023,_0x4fe635,_0x5eb835);}static async['banMember'](_0x3e1955,_0x56e50e){const _0xa1eac3=_0x15c35f;return napCatCore[_0xa1eac3(0x129)][_0xa1eac3(0xfb)]()['setMemberShutUp'](_0x3e1955,_0x56e50e);}static async[_0x15c35f(0x120)](_0x28ee2b,_0x310d2a){const _0x3823f8=_0x15c35f;return napCatCore[_0x3823f8(0x129)]['getGroupService']()[_0x3823f8(0x10c)](_0x28ee2b,_0x310d2a);}static async['setMemberCard'](_0x4fbf55,_0x373ba8,_0x4c9aa8){const _0x5a9c6f=_0x15c35f;return napCatCore['session'][_0x5a9c6f(0xfb)]()[_0x5a9c6f(0x117)](_0x4fbf55,_0x373ba8,_0x4c9aa8);}static async[_0x15c35f(0xfd)](_0xc4ac4f,_0x120eda,_0x344ba1){const _0x8333e5=_0x15c35f;return napCatCore[_0x8333e5(0x129)][_0x8333e5(0xfb)]()[_0x8333e5(0x138)](_0xc4ac4f,_0x120eda,_0x344ba1);}static async['setGroupName'](_0x52b53e,_0x1fab15){const _0xab395=_0x15c35f;return napCatCore['session'][_0xab395(0xfb)]()[_0xab395(0x12d)](_0x52b53e,_0x1fab15,![]);}static async[_0x15c35f(0x10f)](_0xe7d2ad,_0x40ede8,_0x5eae4e){}static async[_0x15c35f(0x12e)](_0x38a345,_0x253a32,_0x233d6c=undefined,_0x38d1be=0x0,_0x3ba810=0x0){const _0xaeac7b=_0x15c35f,_0x443f3e={'CWuaz':'qun.qq.com','HLiEJ':function(_0x489862,_0x46c5c0){return _0x489862(_0x46c5c0);}},_0x5252fc=(await NTQQUserApi[_0xaeac7b(0xfe)]([_0x443f3e[_0xaeac7b(0x113)]]))[_0x443f3e[_0xaeac7b(0x113)]];let _0x2d9d73={'text':_0x443f3e[_0xaeac7b(0xff)](encodeURI,_0x253a32),'picInfo':_0x233d6c,'oldFeedsId':'','pinned':_0x38d1be,'confirmRequired':_0x3ba810};return napCatCore[_0xaeac7b(0x129)][_0xaeac7b(0xfb)]()['publishGroupBulletin'](_0x38a345,_0x5252fc,_0x2d9d73);}static async[_0x15c35f(0x11f)](_0x53b99f){const _0x31ebcb=_0x15c35f;napCatCore['session']['getGroupService']()[_0x31ebcb(0x11f)](_0x53b99f);}static async[_0x15c35f(0x13a)](_0x4256dc,_0x5559b5){const _0x56fece=_0x15c35f;return napCatCore[_0x56fece(0x129)][_0x56fece(0xfb)]()[_0x56fece(0x13a)]({'groupCode':_0x4256dc,'sourceType':MemberExtSourceType[_0x56fece(0x134)],'beginUin':'0','dataTime':'0','uinList':[_0x5559b5],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ 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 6fe1dc14..4f981845 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x232145,_0x5aea9b){var _0x56bfa5=_0x1be0,_0x5bd076=_0x232145();while(!![]){try{var _0x99b4ee=-parseInt(_0x56bfa5(0xac))/0x1+parseInt(_0x56bfa5(0xb5))/0x2*(parseInt(_0x56bfa5(0xaf))/0x3)+-parseInt(_0x56bfa5(0xaa))/0x4*(-parseInt(_0x56bfa5(0xb1))/0x5)+parseInt(_0x56bfa5(0xab))/0x6*(parseInt(_0x56bfa5(0xb2))/0x7)+parseInt(_0x56bfa5(0xae))/0x8*(-parseInt(_0x56bfa5(0xb4))/0x9)+parseInt(_0x56bfa5(0xb0))/0xa+-parseInt(_0x56bfa5(0xad))/0xb*(parseInt(_0x56bfa5(0xb3))/0xc);if(_0x99b4ee===_0x5aea9b)break;else _0x5bd076['push'](_0x5bd076['shift']());}catch(_0x24f702){_0x5bd076['push'](_0x5bd076['shift']());}}}(_0x5677,0xbafee));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x1be0(_0x4cd101,_0x267c02){var _0x567765=_0x5677();return _0x1be0=function(_0x1be0a2,_0x45a2a){_0x1be0a2=_0x1be0a2-0xaa;var _0x4e7fdd=_0x567765[_0x1be0a2];return _0x4e7fdd;},_0x1be0(_0x4cd101,_0x267c02);}export*from'./user';export*from'./webapi';export*from'./sign';function _0x5677(){var _0x55d4b9=['205cTEdxL','49WHFYoD','21718284ObPlcQ','28089fJptwk','186PNasBj','123364yBDLbz','863394cynBtD','1194712ZvcrOS','11YwWCiD','2152vrrClN','26412MenQiJ','15195060jKeQoe'];_0x5677=function(){return _0x55d4b9;};return _0x5677();}export*from'./system'; \ No newline at end of file +(function(_0x2e63cb,_0x5c66bb){var _0x112edf=_0x46b5,_0x33ac3f=_0x2e63cb();while(!![]){try{var _0x1a9d3c=parseInt(_0x112edf(0x163))/0x1+-parseInt(_0x112edf(0x165))/0x2*(parseInt(_0x112edf(0x168))/0x3)+-parseInt(_0x112edf(0x161))/0x4+-parseInt(_0x112edf(0x169))/0x5+-parseInt(_0x112edf(0x164))/0x6*(-parseInt(_0x112edf(0x167))/0x7)+parseInt(_0x112edf(0x166))/0x8+parseInt(_0x112edf(0x162))/0x9;if(_0x1a9d3c===_0x5c66bb)break;else _0x33ac3f['push'](_0x33ac3f['shift']());}catch(_0x23e28b){_0x33ac3f['push'](_0x33ac3f['shift']());}}}(_0x49ca,0xc3364));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x49ca(){var _0x2fb9a8=['7854360NtvIMv','601300tzKKQQ','5186556STPCVA','91137YbzhFl','443718TtlOqq','886MjRxiH','8894744cZvfCC','126qKWCaY','3993FxbZeI'];_0x49ca=function(){return _0x2fb9a8;};return _0x49ca();}function _0x46b5(_0x195a56,_0x3f1148){var _0x49caea=_0x49ca();return _0x46b5=function(_0x46b577,_0x45ee67){_0x46b577=_0x46b577-0x161;var _0x12678a=_0x49caea[_0x46b577];return _0x12678a;},_0x46b5(_0x195a56,_0x3f1148);}export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 34f4a3bb..aaff544f 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x475caa=_0x5b85;function _0x5b85(_0x3c3119,_0x2b04c9){const _0x3ae8a0=_0x3ae8();return _0x5b85=function(_0x5b8541,_0x3f94f4){_0x5b8541=_0x5b8541-0x152;let _0x3773d0=_0x3ae8a0[_0x5b8541];return _0x3773d0;},_0x5b85(_0x3c3119,_0x2b04c9);}(function(_0x4aa0e3,_0x377652){const _0x7c9620=_0x5b85,_0x37634b=_0x4aa0e3();while(!![]){try{const _0x3dc790=-parseInt(_0x7c9620(0x166))/0x1*(parseInt(_0x7c9620(0x181))/0x2)+-parseInt(_0x7c9620(0x156))/0x3+parseInt(_0x7c9620(0x189))/0x4*(parseInt(_0x7c9620(0x199))/0x5)+parseInt(_0x7c9620(0x157))/0x6+parseInt(_0x7c9620(0x178))/0x7+-parseInt(_0x7c9620(0x182))/0x8*(-parseInt(_0x7c9620(0x155))/0x9)+-parseInt(_0x7c9620(0x196))/0xa*(parseInt(_0x7c9620(0x174))/0xb);if(_0x3dc790===_0x377652)break;else _0x37634b['push'](_0x37634b['shift']());}catch(_0x223268){_0x37634b['push'](_0x37634b['shift']());}}}(_0x3ae8,0xd896f));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x3ae8(){const _0x2e4118=['setMsgRead','getMsgsBySeqAndCount','onAddSendMsg','bytesData','27687jXFXrE','获取群文件列表超时','FXBYp','sendMsg','9943612PMxCNU','sZzMF','getMsgsByMsgId','forwardMsg','fDJwy','WrFPk','activateChatAndGetHistory','msgId','uid','1701310aUoXJA','54952IdIfjM','com.tencent.multimsg','PUtSj','catch','recallMsg','zUbvK','delete','5947852fuGeBQ','onGroupFileInfoUpdate','arkElement','senderUid','XAZUu','BjRzk','MkLDy','set','map','peerUid','addListener','setEmojiLike','forEach','12170Utxjqw','HzZaH','getMultiMsg','5HrvYjq','mIvOh','chatType','then','eRsiy','setMsgEmojiLikes','1089WWGJJd','984480CuRRih','8343162yhcpLN','发送超时','onMsgInfoListUpdate','nick','session','ZRleZ','klQYg','hZvrV','转发消息超时','length','QzjMJ','QQzYb','onLoginSuccess','getMsgsIncludeSelf','sendStatus','1hjfApx','item','getRichMediaService','zQNDh','getMsgService','KFQeh','parse','app','find','imCPA'];_0x3ae8=function(){return _0x2e4118;};return _0x3ae8();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x475caa(0x18a)]=_0x3dd664=>{const _0x2e9a28=_0x475caa,_0x2b682f={'tbwku':function(_0x579b8b,_0x1fa9ac){return _0x579b8b(_0x1fa9ac);}};for(const [_0x1fa903,_0x392f96]of GroupFileInfoUpdateTasks){_0x2b682f['tbwku'](_0x392f96,_0x3dd664),GroupFileInfoUpdateTasks[_0x2e9a28(0x188)](_0x1fa903);}},msgListener[_0x475caa(0x172)]=_0x51ead3=>{const _0x31e6f9=_0x475caa,_0x4fa98c={'HzZaH':function(_0x44c240,_0x4ee37f){return _0x44c240(_0x4ee37f);},'sZzMF':function(_0x35d996,_0x2921c6){return _0x35d996 instanceof _0x2921c6;}};for(const [_0x2987d9,_0x27aff7]of sentMsgTasks){_0x4fa98c[_0x31e6f9(0x197)](_0x27aff7,_0x51ead3),sentMsgTasks[_0x31e6f9(0x188)](_0x2987d9);}if(sendMessagePool[_0x51ead3['peerUid']]){const _0x4ff20c=sendMessagePool[_0x51ead3[_0x31e6f9(0x192)]]?.(_0x51ead3);_0x4fa98c[_0x31e6f9(0x179)](_0x4ff20c,Promise)&&_0x4ff20c[_0x31e6f9(0x152)]()[_0x31e6f9(0x185)](logError);}},msgListener[_0x475caa(0x159)]=_0x58adce=>{const _0x693548=_0x475caa,_0x2f16ca={'fEIDj':function(_0x29b8f2,_0xfabe76){return _0x29b8f2 instanceof _0xfabe76;},'FXBYp':function(_0x49631b,_0x1d8985){return _0x49631b(_0x1d8985);}};_0x58adce[_0x693548(0x195)](_0x228b43=>{const _0x4616e8=_0x693548,_0x336a91={'imCPA':function(_0x375a8a,_0x13493e){return _0x2f16ca['fEIDj'](_0x375a8a,_0x13493e);},'PUtSj':function(_0x2094d9,_0x11efdd){const _0x10f9d3=_0x5b85;return _0x2f16ca[_0x10f9d3(0x176)](_0x2094d9,_0x11efdd);}};new Promise((_0x5ea6de,_0x114aec)=>{const _0x213b5c=_0x5b85;for(const _0x463924 in sendSuccessCBMap){const _0xe5cbad=sendSuccessCBMap[_0x463924],_0xc32e72=_0xe5cbad(_0x228b43),_0x367dec=_0x36cf6a=>{_0x36cf6a&&delete sendSuccessCBMap[_0x463924];};_0x336a91[_0x213b5c(0x16f)](_0xc32e72,Promise)?_0xc32e72['then'](_0x367dec):_0x336a91[_0x213b5c(0x184)](_0x367dec,_0xc32e72);}})[_0x4616e8(0x152)]()[_0x4616e8(0x185)](log);});},setTimeout(()=>{const _0x29cb62=_0x475caa;napCatCore[_0x29cb62(0x163)](()=>{const _0x155f9e=_0x29cb62;napCatCore[_0x155f9e(0x193)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x475caa(0x194)](_0x261ba0,_0x55a086,_0x4cd905,_0x26bc26=!![]){const _0xa9fa4f=_0x475caa,_0x3a6fff={'BjRzk':function(_0x5e23d9,_0x5ee533){return _0x5e23d9>_0x5ee533;}};return _0x4cd905=_0x4cd905['toString'](),napCatCore[_0xa9fa4f(0x15b)][_0xa9fa4f(0x16a)]()[_0xa9fa4f(0x154)](_0x261ba0,_0x55a086,_0x4cd905,_0x3a6fff[_0xa9fa4f(0x18e)](_0x4cd905[_0xa9fa4f(0x160)],0x3)?'2':'1',_0x26bc26);}static async[_0x475caa(0x198)](_0x299ea9,_0x1a1c07,_0x1c49b6){const _0x18cf59=_0x475caa;return napCatCore[_0x18cf59(0x15b)][_0x18cf59(0x16a)]()['getMultiMsg'](_0x299ea9,_0x1a1c07,_0x1c49b6);}static async[_0x475caa(0x17a)](_0xc2c9cd,_0x461552){const _0x2d00f5=_0x475caa;return await napCatCore[_0x2d00f5(0x15b)]['getMsgService']()[_0x2d00f5(0x17a)](_0xc2c9cd,_0x461552);}static async[_0x475caa(0x171)](_0x1f3ed8,_0x510922,_0x418a7f,_0x24a8c6,_0x2e596a){const _0x1dacfb=_0x475caa;return await napCatCore[_0x1dacfb(0x15b)]['getMsgService']()[_0x1dacfb(0x171)](_0x1f3ed8,_0x510922,_0x418a7f,_0x24a8c6,_0x2e596a);}static async['activateChat'](_0x2e6581){}static async[_0x475caa(0x17e)](_0x5d39d5){}static async[_0x475caa(0x170)](_0x5a86dc){const _0x173d74=_0x475caa;return napCatCore[_0x173d74(0x15b)][_0x173d74(0x16a)]()[_0x173d74(0x170)](_0x5a86dc);}static async['getGroupFileList'](_0x3f2d56,_0x2e1166){const _0x43251e={'mIvOh':function(_0x26a6be,_0x298326){return _0x26a6be(_0x298326);},'zQNDh':function(_0x598397,_0x909a93,_0x2a5453){return _0x598397(_0x909a93,_0x2a5453);},'QzjMJ':function(_0x1e0b71){return _0x1e0b71();}};return new Promise(async(_0x1aa04e,_0x24c452)=>{const _0x464136=_0x5b85,_0x46bd6d={'eRsiy':function(_0xf1153f,_0x6c6032){const _0x165585=_0x5b85;return _0x43251e[_0x165585(0x19a)](_0xf1153f,_0x6c6032);}};let _0x5898f5=![];_0x43251e[_0x464136(0x169)](setTimeout,()=>{const _0x4f6ccb=_0x464136;!_0x5898f5&&_0x46bd6d[_0x4f6ccb(0x153)](_0x24c452,_0x4f6ccb(0x175));},0x1388);const _0x3e537d=_0x4f4ea1=>{const _0x47edb9=_0x464136;_0x5898f5=!![],_0x1aa04e(_0x4f4ea1[_0x47edb9(0x167)]);};GroupFileInfoUpdateTasks[_0x464136(0x190)](_0x43251e[_0x464136(0x161)](randomUUID),_0x3e537d),await napCatCore['session'][_0x464136(0x168)]()['getGroupFileList'](_0x3f2d56,_0x2e1166);});}static async['getMsgHistory'](_0x483ee1,_0x4a105a,_0x4fe5e8){const _0x2ccdbf=_0x475caa;return napCatCore['session'][_0x2ccdbf(0x16a)]()[_0x2ccdbf(0x164)](_0x483ee1,_0x4a105a,_0x4fe5e8,!![]);}static async['fetchRecentContact'](){}static async[_0x475caa(0x186)](_0x2357d5,_0x46daf8){const _0x1d54c9=_0x475caa;await napCatCore[_0x1d54c9(0x15b)][_0x1d54c9(0x16a)]()['recallMsg']({'chatType':_0x2357d5[_0x1d54c9(0x19b)],'peerUid':_0x2357d5['peerUid']},_0x46daf8);}static async['sendMsg'](_0xfaeb0c,_0x170040,_0x24eebd=!![],_0x402f9f=0x2710){const _0x31f5a4=_0x475caa,_0x2e1c3e={'MkLDy':function(_0x324c16,_0x1d230b){return _0x324c16>_0x1d230b;},'ZRleZ':_0x31f5a4(0x158),'fDJwy':function(_0x1897ee,_0x2c4047){return _0x1897ee(_0x2c4047);},'BDABX':function(_0xf135f3,_0x5437c2){return _0xf135f3===_0x5437c2;},'nipYV':function(_0x2f818f,_0x2cd525){return _0x2f818f===_0x2cd525;},'WrFPk':function(_0x3e600a,_0x498d9e,_0x286c39){return _0x3e600a(_0x498d9e,_0x286c39);},'rOsZD':function(_0x5626fb){return _0x5626fb();}},_0x149a64=_0xfaeb0c[_0x31f5a4(0x192)];let _0x5397be=0x0;const _0x4201fe=async()=>{const _0x448e6e=_0x31f5a4;if(_0x2e1c3e[_0x448e6e(0x18f)](_0x5397be,_0x402f9f))throw _0x2e1c3e[_0x448e6e(0x15c)];const _0x14ff01=sendMessagePool[_0xfaeb0c['peerUid']];if(_0x14ff01)return await _0x2e1c3e[_0x448e6e(0x17c)](sleep,0x1f4),_0x5397be+=0x1f4,await _0x4201fe();else return;};return await _0x2e1c3e['rOsZD'](_0x4201fe),new Promise((_0x310725,_0x200da3)=>{const _0x26c72b=_0x31f5a4;let _0x932233=![],_0x3c3cfb=null;const _0x3c36a2=randomUUID();sendSuccessCBMap[_0x3c36a2]=_0x55fdb0=>{const _0xc74a2d=_0x5b85;if(_0x2e1c3e['BDABX'](_0x55fdb0[_0xc74a2d(0x17f)],_0x3c3cfb?.[_0xc74a2d(0x17f)])){if(_0x2e1c3e['nipYV'](_0x55fdb0[_0xc74a2d(0x165)],0x2))return delete sendSuccessCBMap[_0x3c36a2],_0x932233=!![],_0x2e1c3e[_0xc74a2d(0x17c)](_0x310725,_0x55fdb0),!![];return![];}return![];},sendMessagePool[_0x149a64]=async _0x166647=>{delete sendMessagePool[_0x149a64],_0x3c3cfb=_0x166647;},_0x2e1c3e[_0x26c72b(0x17d)](setTimeout,()=>{const _0x33bbc0=_0x26c72b;if(_0x932233)return;delete sendMessagePool[_0x149a64],delete sendSuccessCBMap[_0x3c36a2],_0x2e1c3e[_0x33bbc0(0x17c)](_0x200da3,_0x2e1c3e[_0x33bbc0(0x15c)]);},_0x402f9f);const _0x786b6f=napCatCore[_0x26c72b(0x15b)]['getMsgService']()[_0x26c72b(0x177)]('0',_0xfaeb0c,_0x170040,new Map());});}static async[_0x475caa(0x17b)](_0x24f0df,_0x2b9527,_0x135965){const _0x57310a=_0x475caa;return napCatCore['session'][_0x57310a(0x16a)]()[_0x57310a(0x17b)](_0x135965,_0x24f0df,[_0x2b9527],new Map());}static async['multiForwardMsg'](_0xe02576,_0xf48c1d,_0x4aa39d){const _0x2261a5=_0x475caa,_0x1947fc={'QQzYb':_0x2261a5(0x183),'MMIkB':function(_0x141494){return _0x141494();},'hfzQO':function(_0x11bf77,_0x23cfa9,_0x5a3771){return _0x11bf77(_0x23cfa9,_0x5a3771);}},_0x2618f6=_0x4aa39d[_0x2261a5(0x191)](_0x4c3fe7=>{const _0x160f67=_0x2261a5;return{'msgId':_0x4c3fe7,'senderShowName':selfInfo[_0x160f67(0x15a)]};});return new Promise((_0x273b28,_0x467408)=>{const _0x5ecefb=_0x2261a5,_0xb35baa={'XAZUu':_0x1947fc[_0x5ecefb(0x162)],'zUbvK':function(_0xff8d81,_0x567017){return _0xff8d81==_0x567017;},'hZvrV':function(_0x1a1321,_0xc8a568){return _0x1a1321(_0xc8a568);},'klQYg':function(_0x1d2a44,_0x34acec){return _0x1d2a44(_0x34acec);},'KFQeh':_0x5ecefb(0x15f)};let _0x39f2c1=![];const _0x16cf56=_0xcf9884=>{const _0x484469=_0x5ecefb,_0x36983e=_0xcf9884['elements'][_0x484469(0x16e)](_0x453dd5=>_0x453dd5[_0x484469(0x18b)]);if(!_0x36983e)return;const _0x43aa88=JSON[_0x484469(0x16c)](_0x36983e['arkElement'][_0x484469(0x173)]);if(_0x43aa88[_0x484469(0x16d)]!=_0xb35baa[_0x484469(0x18d)])return;_0xb35baa[_0x484469(0x187)](_0xcf9884['peerUid'],_0xf48c1d[_0x484469(0x192)])&&_0xcf9884[_0x484469(0x18c)]==selfInfo[_0x484469(0x180)]&&(_0x39f2c1=!![],_0xb35baa[_0x484469(0x15e)](_0x273b28,_0xcf9884));};sentMsgTasks[_0x5ecefb(0x190)](_0x1947fc['MMIkB'](randomUUID),_0x16cf56),_0x1947fc['hfzQO'](setTimeout,()=>{const _0x289952=_0x5ecefb;!_0x39f2c1&&_0xb35baa[_0x289952(0x15d)](_0x467408,_0xb35baa[_0x289952(0x16b)]);},0x1388),napCatCore['session'][_0x5ecefb(0x16a)]()['multiForwardMsgWithComment'](_0x2618f6,_0xe02576,_0xf48c1d,[],new Map());});}} \ No newline at end of file +const _0x33115c=_0x4c87;(function(_0x2d81f2,_0x11769e){const _0x50a2e7=_0x4c87,_0x381d41=_0x2d81f2();while(!![]){try{const _0x44e0d7=parseInt(_0x50a2e7(0x191))/0x1*(parseInt(_0x50a2e7(0x17e))/0x2)+parseInt(_0x50a2e7(0x17f))/0x3+parseInt(_0x50a2e7(0x156))/0x4+parseInt(_0x50a2e7(0x15e))/0x5*(-parseInt(_0x50a2e7(0x15d))/0x6)+-parseInt(_0x50a2e7(0x197))/0x7*(-parseInt(_0x50a2e7(0x167))/0x8)+parseInt(_0x50a2e7(0x181))/0x9*(-parseInt(_0x50a2e7(0x196))/0xa)+-parseInt(_0x50a2e7(0x198))/0xb*(parseInt(_0x50a2e7(0x189))/0xc);if(_0x44e0d7===_0x11769e)break;else _0x381d41['push'](_0x381d41['shift']());}catch(_0x19a26a){_0x381d41['push'](_0x381d41['shift']());}}}(_0x8b4d,0xb9eff));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();function _0x8b4d(){const _0x4cdf78=['activateChat','item','setMsgEmojiLikes','bytesData','app','delete','6006552UEsKfD','map','cAsjz','onGroupFileInfoUpdate','sbRCp','getMsgsByMsgId','VHqaF','7455606fptPNt','5ykmjgk','arkElement','Ulrrs','then','toString','epPZC','msgId','oGYCL','find','48lqZtaZ','getMsgsBySeqAndCount','onMsgInfoListUpdate','catch','FfzSs','uid','activateChatAndGetHistory','multiForwardMsg','length','PcmYV','sKUZX','转发消息超时','peerUid','getRichMediaService','forEach','获取群文件列表超时','yNybp','recallMsg','setEmojiLike','mSuIB','sendStatus','laKmv','WcvVF','51196lhffDr','3657060oOWuYK','getGroupFileList','10386YoTOTv','set','sendMsg','parse','com.tencent.multimsg','ssQHx','UhNuG','multiForwardMsgWithComment','10844712XCwupF','addListener','onAddSendMsg','elements','getMultiMsg','setMsgRead','klzcy','senderUid','15dcslfb','session','getMsgService','chatType','getMsgsIncludeSelf','4820CuCSrb','1473794AsVVfs','22RxXDxz','onLoginSuccess','MUWjt','forwardMsg'];_0x8b4d=function(){return _0x4cdf78;};return _0x8b4d();}function _0x4c87(_0x2e24e2,_0x1384f1){const _0x8b4d33=_0x8b4d();return _0x4c87=function(_0x4c87b8,_0x5ec52b){_0x4c87b8=_0x4c87b8-0x153;let _0x5b6246=_0x8b4d33[_0x4c87b8];return _0x5b6246;},_0x4c87(_0x2e24e2,_0x1384f1);}msgListener[_0x33115c(0x159)]=_0x3222c3=>{for(const [_0x3962ee,_0x424021]of GroupFileInfoUpdateTasks){_0x424021(_0x3222c3),GroupFileInfoUpdateTasks['delete'](_0x3962ee);}},msgListener[_0x33115c(0x18b)]=_0x1f90b7=>{const _0x8f6ed4=_0x33115c,_0x485098={'sKUZX':function(_0x312bef,_0x2dd516){return _0x312bef(_0x2dd516);}};for(const [_0x4aedab,_0x34c8c4]of sentMsgTasks){_0x485098[_0x8f6ed4(0x171)](_0x34c8c4,_0x1f90b7),sentMsgTasks[_0x8f6ed4(0x155)](_0x4aedab);}if(sendMessagePool[_0x1f90b7['peerUid']]){const _0x2431c1=sendMessagePool[_0x1f90b7[_0x8f6ed4(0x173)]]?.(_0x1f90b7);_0x2431c1 instanceof Promise&&_0x2431c1[_0x8f6ed4(0x161)]()['catch'](logError);}},msgListener[_0x33115c(0x169)]=_0x359a73=>{const _0x5cdfbc=_0x33115c,_0x3b9455={'VHqaF':function(_0x3c45ba,_0x15f65c){return _0x3c45ba(_0x15f65c);}};_0x359a73[_0x5cdfbc(0x175)](_0x3f6bbe=>{const _0x346726=_0x5cdfbc,_0x160d4b={'mSuIB':function(_0x11dd44,_0x5f03c8){const _0x3ef84c=_0x4c87;return _0x3b9455[_0x3ef84c(0x15c)](_0x11dd44,_0x5f03c8);}};new Promise((_0x8c8ba,_0xa1e084)=>{const _0x32424c=_0x4c87;for(const _0x53785a in sendSuccessCBMap){const _0x27313b=sendSuccessCBMap[_0x53785a],_0xd695af=_0x160d4b[_0x32424c(0x17a)](_0x27313b,_0x3f6bbe),_0x25ef9f=_0x4886e7=>{_0x4886e7&&delete sendSuccessCBMap[_0x53785a];};_0xd695af instanceof Promise?_0xd695af[_0x32424c(0x161)](_0x25ef9f):_0x160d4b[_0x32424c(0x17a)](_0x25ef9f,_0xd695af);}})[_0x346726(0x161)]()[_0x346726(0x16a)](log);});},setTimeout(()=>{const _0x49c31a=_0x33115c;napCatCore[_0x49c31a(0x199)](()=>{const _0x32f7fc=_0x49c31a;napCatCore[_0x32f7fc(0x18a)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x33115c(0x179)](_0x4220e7,_0x1d440b,_0x515f83,_0x2af00d=!![]){const _0x1b947e=_0x33115c,_0x2faa31={'sOGwP':function(_0x581b89,_0x307ec5){return _0x581b89>_0x307ec5;}};return _0x515f83=_0x515f83[_0x1b947e(0x162)](),napCatCore['session'][_0x1b947e(0x193)]()[_0x1b947e(0x19e)](_0x4220e7,_0x1d440b,_0x515f83,_0x2faa31['sOGwP'](_0x515f83[_0x1b947e(0x16f)],0x3)?'2':'1',_0x2af00d);}static async[_0x33115c(0x18d)](_0x43e5a3,_0x5cb3f4,_0x480346){const _0x1635cf=_0x33115c;return napCatCore['session']['getMsgService']()[_0x1635cf(0x18d)](_0x43e5a3,_0x5cb3f4,_0x480346);}static async[_0x33115c(0x15b)](_0x1a5ecb,_0x203077){const _0xd2b80a=_0x33115c;return await napCatCore['session'][_0xd2b80a(0x193)]()[_0xd2b80a(0x15b)](_0x1a5ecb,_0x203077);}static async[_0x33115c(0x168)](_0x398b3f,_0x578f24,_0x104787,_0x5577b2,_0x55da86){const _0x16437b=_0x33115c;return await napCatCore[_0x16437b(0x192)][_0x16437b(0x193)]()['getMsgsBySeqAndCount'](_0x398b3f,_0x578f24,_0x104787,_0x5577b2,_0x55da86);}static async[_0x33115c(0x19c)](_0xa0529d){}static async[_0x33115c(0x16d)](_0x4eb51b){}static async[_0x33115c(0x18e)](_0x512d91){const _0x39f67b=_0x33115c;return napCatCore['session']['getMsgService']()[_0x39f67b(0x18e)](_0x512d91);}static async[_0x33115c(0x180)](_0x1ed920,_0xee580f){const _0x4a1247=_0x33115c,_0x25c32e={'RcSsZ':function(_0xfe6b2e,_0x25cddf){return _0xfe6b2e(_0x25cddf);},'sbRCp':_0x4a1247(0x176),'laKmv':function(_0x5a8e47,_0x4ce424,_0x17547b){return _0x5a8e47(_0x4ce424,_0x17547b);},'MUWjt':function(_0x36f388){return _0x36f388();}};return new Promise(async(_0x24b027,_0x3526d6)=>{const _0x19e24c=_0x4a1247;let _0x3f3d2c=![];_0x25c32e[_0x19e24c(0x17c)](setTimeout,()=>{const _0x506bb0=_0x19e24c;!_0x3f3d2c&&_0x25c32e['RcSsZ'](_0x3526d6,_0x25c32e[_0x506bb0(0x15a)]);},0x1388);const _0x4db076=_0x15f6e2=>{const _0x5a9e94=_0x19e24c;_0x3f3d2c=!![],_0x24b027(_0x15f6e2[_0x5a9e94(0x19d)]);};GroupFileInfoUpdateTasks[_0x19e24c(0x182)](_0x25c32e[_0x19e24c(0x19a)](randomUUID),_0x4db076),await napCatCore[_0x19e24c(0x192)][_0x19e24c(0x174)]()[_0x19e24c(0x180)](_0x1ed920,_0xee580f);});}static async['getMsgHistory'](_0x3f8256,_0x56ecb3,_0x25f4a8){const _0xc9b2cc=_0x33115c;return napCatCore['session']['getMsgService']()[_0xc9b2cc(0x195)](_0x3f8256,_0x56ecb3,_0x25f4a8,!![]);}static async['fetchRecentContact'](){}static async[_0x33115c(0x178)](_0x48724e,_0x33402c){const _0x4a32ba=_0x33115c;await napCatCore[_0x4a32ba(0x192)][_0x4a32ba(0x193)]()[_0x4a32ba(0x178)]({'chatType':_0x48724e[_0x4a32ba(0x194)],'peerUid':_0x48724e[_0x4a32ba(0x173)]},_0x33402c);}static async[_0x33115c(0x183)](_0x545e23,_0x174420,_0x410852=!![],_0x186619=0x2710){const _0x3bbe04=_0x33115c,_0x57eac7={'UhNuG':function(_0xa822a0,_0x5d405a){return _0xa822a0>_0x5d405a;},'ssQHx':'发送超时','oGYCL':function(_0x547c1a){return _0x547c1a();},'cAsjz':function(_0x11ad5f,_0x25ded8){return _0x11ad5f===_0x25ded8;},'kOeWW':function(_0x44d6af,_0x31d15a,_0x214118){return _0x44d6af(_0x31d15a,_0x214118);}},_0x54667b=_0x545e23[_0x3bbe04(0x173)];let _0x4ca37e=0x0;const _0x2ba0f5=async()=>{const _0x1aeb51=_0x3bbe04;if(_0x57eac7[_0x1aeb51(0x187)](_0x4ca37e,_0x186619))throw _0x57eac7[_0x1aeb51(0x186)];const _0x5f1364=sendMessagePool[_0x545e23[_0x1aeb51(0x173)]];if(_0x5f1364)return await sleep(0x1f4),_0x4ca37e+=0x1f4,await _0x57eac7[_0x1aeb51(0x165)](_0x2ba0f5);else return;};return await _0x2ba0f5(),new Promise((_0x1a6613,_0x41b391)=>{const _0x85385d=_0x3bbe04;let _0x2621da=![],_0x505d5e=null;const _0x1a938d=randomUUID();sendSuccessCBMap[_0x1a938d]=_0x279802=>{const _0x8d7c14=_0x4c87;if(_0x57eac7[_0x8d7c14(0x158)](_0x279802['msgId'],_0x505d5e?.[_0x8d7c14(0x164)])){if(_0x57eac7[_0x8d7c14(0x158)](_0x279802[_0x8d7c14(0x17b)],0x2))return delete sendSuccessCBMap[_0x1a938d],_0x2621da=!![],_0x1a6613(_0x279802),!![];return![];}return![];},sendMessagePool[_0x54667b]=async _0x2844df=>{delete sendMessagePool[_0x54667b],_0x505d5e=_0x2844df;},_0x57eac7['kOeWW'](setTimeout,()=>{const _0x3a0457=_0x4c87;if(_0x2621da)return;delete sendMessagePool[_0x54667b],delete sendSuccessCBMap[_0x1a938d],_0x41b391(_0x57eac7[_0x3a0457(0x186)]);},_0x186619);const _0x5c32c8=napCatCore['session']['getMsgService']()[_0x85385d(0x183)]('0',_0x545e23,_0x174420,new Map());});}static async['forwardMsg'](_0x31d1c2,_0x89314f,_0x1b0b48){const _0x2ef6d9=_0x33115c;return napCatCore[_0x2ef6d9(0x192)]['getMsgService']()[_0x2ef6d9(0x19b)](_0x1b0b48,_0x31d1c2,[_0x89314f],new Map());}static async[_0x33115c(0x16e)](_0xc77c4e,_0x43c8c6,_0x76981a){const _0xf78952=_0x33115c,_0x495fd1={'dJHZi':_0xf78952(0x172),'FfzSs':function(_0x4605a4,_0x1f982e){return _0x4605a4!=_0x1f982e;},'Ulrrs':_0xf78952(0x185),'WcvVF':function(_0x52d925){return _0x52d925();},'PcmYV':function(_0x4c11fa,_0x2d2e36,_0x576953){return _0x4c11fa(_0x2d2e36,_0x576953);}},_0x2cb92b=_0x76981a[_0xf78952(0x157)](_0x2b33ad=>{return{'msgId':_0x2b33ad,'senderShowName':selfInfo['nick']};});return new Promise((_0x4801b0,_0x4a525d)=>{const _0x19fc35=_0xf78952,_0x4e2ce4={'yNybp':function(_0x5d6335,_0x391bac){const _0x5bd324=_0x4c87;return _0x495fd1[_0x5bd324(0x16b)](_0x5d6335,_0x391bac);},'klzcy':_0x495fd1[_0x19fc35(0x160)],'epPZC':function(_0x511c74,_0x5e747d){return _0x511c74==_0x5e747d;}};let _0x12dacf=![];const _0x2207bf=_0x231d7b=>{const _0x41672a=_0x19fc35,_0xdee648=_0x231d7b[_0x41672a(0x18c)][_0x41672a(0x166)](_0xda9a81=>_0xda9a81['arkElement']);if(!_0xdee648)return;const _0x5cc737=JSON[_0x41672a(0x184)](_0xdee648[_0x41672a(0x15f)][_0x41672a(0x153)]);if(_0x4e2ce4[_0x41672a(0x177)](_0x5cc737[_0x41672a(0x154)],_0x4e2ce4[_0x41672a(0x18f)]))return;_0x4e2ce4['epPZC'](_0x231d7b[_0x41672a(0x173)],_0x43c8c6[_0x41672a(0x173)])&&_0x4e2ce4[_0x41672a(0x163)](_0x231d7b[_0x41672a(0x190)],selfInfo[_0x41672a(0x16c)])&&(_0x12dacf=!![],_0x4801b0(_0x231d7b));};sentMsgTasks[_0x19fc35(0x182)](_0x495fd1[_0x19fc35(0x17d)](randomUUID),_0x2207bf),_0x495fd1[_0x19fc35(0x170)](setTimeout,()=>{!_0x12dacf&&_0x4a525d(_0x495fd1['dJHZi']);},0x1388),napCatCore[_0x19fc35(0x192)][_0x19fc35(0x193)]()[_0x19fc35(0x188)](_0x2cb92b,_0xc77c4e,_0x43c8c6,[],new Map());});}} \ 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 2053e16c..29320e4b 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x2d9cb9,_0x3b0737){const _0x30562f=_0x5e17,_0x2cb71b=_0x2d9cb9();while(!![]){try{const _0x2ad7c4=-parseInt(_0x30562f(0x16a))/0x1*(parseInt(_0x30562f(0x18d))/0x2)+-parseInt(_0x30562f(0x189))/0x3*(parseInt(_0x30562f(0x17e))/0x4)+parseInt(_0x30562f(0x17a))/0x5*(-parseInt(_0x30562f(0x16f))/0x6)+parseInt(_0x30562f(0x186))/0x7*(parseInt(_0x30562f(0x18a))/0x8)+parseInt(_0x30562f(0x188))/0x9+parseInt(_0x30562f(0x176))/0xa*(parseInt(_0x30562f(0x169))/0xb)+parseInt(_0x30562f(0x180))/0xc*(parseInt(_0x30562f(0x191))/0xd);if(_0x2ad7c4===_0x3b0737)break;else _0x2cb71b['push'](_0x2cb71b['shift']());}catch(_0x4900a7){_0x2cb71b['push'](_0x2cb71b['shift']());}}}(_0x3c8d,0x91e72));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x3c8d(){const _0x41b167=['eCbUa','AXHAb','\x5c/\x5c/','121693nZFEKV','jumpUrl','&ark=','ULtjF','MiniApp\x20JSON\x20消息生成失败','tianxuan.imgJumpArk','573727RRFenV','268BWZYLZ','BRxbi','normal','sourcelogo','NmgDR','3002280ZqYDos','skey','getSkey','qLWHl','tagIcon','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','replace','140BniyxZ','genBkn','prompt','p_skey','5yAESIc','signed_ark',';\x20p_uin=o','tag','4209636TiIIPe','jeooY','408kLRcrL',';\x20uin=o','HttpGetJson','EqUSE','source','preview','740173HmuyUk','data','9069480MCcTqn','3QAooOy','8IrkAxA','uin','TYXNq','86wkFacD'];_0x3c8d=function(){return _0x41b167;};return _0x3c8d();}import{WebApi}from'./webapi';function _0x5e17(_0x17842f,_0x102e8d){const _0x3c8d0c=_0x3c8d();return _0x5e17=function(_0x5e175a,_0x98bcd3){_0x5e175a=_0x5e175a-0x164;let _0x1d419c=_0x3c8d0c[_0x5e175a];return _0x1d419c;},_0x5e17(_0x17842f,_0x102e8d);}export async function SignMiniApp(_0x1159a0){const _0x41af02=_0x5e17,_0x3388a3={'bNheN':'com.tencent.miniapp.lua','dJDCJ':_0x41af02(0x168),'NmgDR':_0x41af02(0x190),'TYXNq':function(_0x510e18,_0xc70adf){return _0x510e18+_0xc70adf;},'EqUSE':function(_0x44e051,_0x4bcddf){return _0x44e051+_0x4bcddf;},'eCbUa':'p_skey=','BRxbi':';\x20skey=','qLWHl':_0x41af02(0x165),'jeooY':function(_0x5b9df3,_0x3dfbce){return _0x5b9df3(_0x3dfbce);},'ULtjF':'GET','AXHAb':function(_0x405f9b,_0x4f077e,_0x199753){return _0x405f9b(_0x4f077e,_0x199753);},'ouFUS':_0x41af02(0x167)};let _0x33b08f={'app':_0x3388a3['bNheN'],'bizsrc':_0x3388a3['dJDCJ'],'view':'miniapp','prompt':_0x1159a0[_0x41af02(0x178)],'config':{'type':_0x41af02(0x16c),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x1159a0['title'],'preview':_0x1159a0[_0x41af02(0x185)][_0x41af02(0x175)](/\\/g,_0x41af02(0x190)),'jumpUrl':_0x1159a0[_0x41af02(0x164)]['replace'](/\\/g,_0x3388a3[_0x41af02(0x16e)]),'tag':_0x1159a0[_0x41af02(0x17d)],'tagIcon':_0x1159a0[_0x41af02(0x173)][_0x41af02(0x175)](/\\/g,_0x3388a3['NmgDR']),'source':_0x1159a0[_0x41af02(0x184)],'sourcelogo':_0x1159a0[_0x41af02(0x16d)][_0x41af02(0x175)](/\\/g,_0x3388a3[_0x41af02(0x16e)])}}};const _0x81c5e8=await NTQQUserApi[_0x41af02(0x171)]();let _0x48d362=await NTQQUserApi['getQzoneCookies']();const _0xac7206=WebApi[_0x41af02(0x177)](_0x48d362[_0x41af02(0x179)]),_0x1fa3ea=_0x3388a3[_0x41af02(0x18c)](_0x3388a3[_0x41af02(0x18c)](_0x3388a3[_0x41af02(0x183)](_0x3388a3['EqUSE'](_0x3388a3[_0x41af02(0x183)](_0x3388a3[_0x41af02(0x18e)],_0x48d362['p_skey']),_0x3388a3[_0x41af02(0x16b)]),_0x48d362[_0x41af02(0x170)])+_0x41af02(0x17c)+selfInfo[_0x41af02(0x18b)],_0x41af02(0x181)),selfInfo['uin']);let _0x3c8f21=_0x3388a3[_0x41af02(0x183)](_0x3388a3[_0x41af02(0x18c)](_0x41af02(0x174),_0xac7206)+_0x3388a3[_0x41af02(0x172)],_0x3388a3[_0x41af02(0x17f)](encodeURIComponent,JSON['stringify'](_0x33b08f))),_0x17df5a='';try{let _0x397937=await RequestUtil[_0x41af02(0x182)](_0x3c8f21,_0x3388a3[_0x41af02(0x166)],undefined,{'Cookie':_0x1fa3ea});_0x17df5a=_0x397937[_0x41af02(0x187)][_0x41af02(0x17b)];}catch(_0x465ffc){_0x3388a3[_0x41af02(0x18f)](logDebug,_0x3388a3['ouFUS'],_0x465ffc);}return _0x17df5a;} \ No newline at end of file +(function(_0x54efab,_0xf25cd3){const _0x38d5f0=_0x5da2,_0x3ed9f7=_0x54efab();while(!![]){try{const _0x49673d=-parseInt(_0x38d5f0(0x16a))/0x1+-parseInt(_0x38d5f0(0x152))/0x2+parseInt(_0x38d5f0(0x15e))/0x3+-parseInt(_0x38d5f0(0x149))/0x4+-parseInt(_0x38d5f0(0x167))/0x5*(parseInt(_0x38d5f0(0x169))/0x6)+parseInt(_0x38d5f0(0x165))/0x7*(parseInt(_0x38d5f0(0x16e))/0x8)+parseInt(_0x38d5f0(0x171))/0x9;if(_0x49673d===_0xf25cd3)break;else _0x3ed9f7['push'](_0x3ed9f7['shift']());}catch(_0x2f9014){_0x3ed9f7['push'](_0x3ed9f7['shift']());}}}(_0x4045,0xf0463));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x5da2(_0x511911,_0x2001f7){const _0x404510=_0x4045();return _0x5da2=function(_0x5da299,_0x395890){_0x5da299=_0x5da299-0x144;let _0x318403=_0x404510[_0x5da299];return _0x318403;},_0x5da2(_0x511911,_0x2001f7);}export async function SignMiniApp(_0x2e7aca){const _0x214bf1=_0x5da2,_0x3e9346={'vzElO':_0x214bf1(0x160),'hiGep':_0x214bf1(0x150),'jaazW':_0x214bf1(0x158),'NxCPs':_0x214bf1(0x15a),'bdcbl':'\x5c/\x5c/','KUhvh':function(_0x1a1fa1,_0x30fb53){return _0x1a1fa1+_0x30fb53;},'IYhPo':function(_0x5f1aa9,_0x296068){return _0x5f1aa9+_0x296068;},'emEvs':function(_0x3c1c5a,_0x455494){return _0x3c1c5a+_0x455494;},'rIZRn':function(_0x2c49b6,_0x39de45){return _0x2c49b6+_0x39de45;},'XgPCz':function(_0x9a75f6,_0x557b9c){return _0x9a75f6+_0x557b9c;},'EDKNA':function(_0x40bd25,_0x153309){return _0x40bd25+_0x153309;},'kUteO':function(_0x560154,_0x41426b){return _0x560154+_0x41426b;},'pPMPR':'p_skey=','cCrWr':_0x214bf1(0x14e),'cmSUj':_0x214bf1(0x15f),'ihkYM':';\x20uin=o','AWbxU':function(_0x3a81c1,_0x34a7bf){return _0x3a81c1+_0x34a7bf;},'SgJxo':_0x214bf1(0x14d),'Ysdlo':'GET','knNRE':function(_0x4faac2,_0xfeee4,_0x21c2ee){return _0x4faac2(_0xfeee4,_0x21c2ee);},'xDUiM':'MiniApp\x20JSON\x20消息生成失败'};let _0x555551={'app':_0x3e9346[_0x214bf1(0x145)],'bizsrc':_0x3e9346['hiGep'],'view':_0x3e9346[_0x214bf1(0x16c)],'prompt':_0x2e7aca[_0x214bf1(0x153)],'config':{'type':_0x3e9346['NxCPs'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2e7aca[_0x214bf1(0x166)],'preview':_0x2e7aca['preview']['replace'](/\\/g,_0x3e9346[_0x214bf1(0x14f)]),'jumpUrl':_0x2e7aca[_0x214bf1(0x168)]['replace'](/\\/g,_0x3e9346[_0x214bf1(0x14f)]),'tag':_0x2e7aca['tag'],'tagIcon':_0x2e7aca[_0x214bf1(0x156)][_0x214bf1(0x144)](/\\/g,_0x214bf1(0x172)),'source':_0x2e7aca['source'],'sourcelogo':_0x2e7aca[_0x214bf1(0x14c)][_0x214bf1(0x144)](/\\/g,_0x3e9346['bdcbl'])}}};const _0x2f8f2f=await NTQQUserApi[_0x214bf1(0x157)]();let _0x4c5bda=await NTQQUserApi['getQzoneCookies']();const _0x462541=WebApi['genBkn'](_0x4c5bda[_0x214bf1(0x146)]),_0x363450=_0x3e9346[_0x214bf1(0x16b)](_0x3e9346[_0x214bf1(0x155)](_0x3e9346[_0x214bf1(0x15d)](_0x3e9346[_0x214bf1(0x14b)](_0x3e9346['XgPCz'](_0x3e9346[_0x214bf1(0x163)](_0x3e9346[_0x214bf1(0x16f)](_0x3e9346[_0x214bf1(0x164)],_0x4c5bda[_0x214bf1(0x146)]),_0x3e9346[_0x214bf1(0x147)]),_0x4c5bda[_0x214bf1(0x170)]),_0x3e9346[_0x214bf1(0x161)]),selfInfo[_0x214bf1(0x154)]),_0x3e9346[_0x214bf1(0x14a)]),selfInfo[_0x214bf1(0x154)]);let _0x2d5ec4=_0x3e9346[_0x214bf1(0x162)](_0x3e9346[_0x214bf1(0x148)]+_0x462541,_0x214bf1(0x151))+encodeURIComponent(JSON['stringify'](_0x555551)),_0x402d0f='';try{let _0x4e2002=await RequestUtil['HttpGetJson'](_0x2d5ec4,_0x3e9346['Ysdlo'],undefined,{'Cookie':_0x363450});_0x402d0f=_0x4e2002[_0x214bf1(0x15b)][_0x214bf1(0x15c)];}catch(_0x2dbe4f){_0x3e9346[_0x214bf1(0x159)](logDebug,_0x3e9346[_0x214bf1(0x16d)],_0x2dbe4f);}return _0x402d0f;}function _0x4045(){const _0x1e4679=['pPMPR','7FvdKaz','title','198520UMUmRU','jumpUrl','222FutiuV','52003nNkOer','KUhvh','jaazW','xDUiM','8135184bCnssS','kUteO','skey','16689222PNBXzm','\x5c/\x5c/','replace','vzElO','p_skey','cCrWr','SgJxo','130876SKxDpt','ihkYM','rIZRn','sourcelogo','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=',';\x20skey=','bdcbl','tianxuan.imgJumpArk','&ark=','1125788VdRdfp','prompt','uin','IYhPo','tagIcon','getSkey','miniapp','knNRE','normal','data','signed_ark','emEvs','688713LCMHTd',';\x20p_uin=o','com.tencent.miniapp.lua','cmSUj','AWbxU','EDKNA'];_0x4045=function(){return _0x1e4679;};return _0x4045();} \ 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 25b133b9..02ce0c0b 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x1fa4(_0x4b71dd,_0x1f1609){const _0x100a4e=_0x100a();return _0x1fa4=function(_0x1fa403,_0x322e9c){_0x1fa403=_0x1fa403-0x19f;let _0x20516e=_0x100a4e[_0x1fa403];return _0x20516e;},_0x1fa4(_0x4b71dd,_0x1f1609);}const _0x20651d=_0x1fa4;function _0x100a(){const _0x3c4461=['mMlsv','12895704CDqvzF','LFAmJ','1686HcJMQF','hasOtherRunningQQProcess','getOnlineDev','session','getOnLineDev','8052903YFYgJh','NodeIKernelCollectionService/collectionArkShare','translateEnWordToZn','118558cwsGie','6780445grvlWF','7357640fNfYmc','9227036lqEdCL','getRichMediaService','15MxEbgh','10532CrggEg','1717662698058','6uMsYFW'];_0x100a=function(){return _0x3c4461;};return _0x100a();}(function(_0x1e38d7,_0x1a6a8c){const _0x492789=_0x1fa4,_0x3c90de=_0x1e38d7();while(!![]){try{const _0x37f356=-parseInt(_0x492789(0x1a6))/0x1*(-parseInt(_0x492789(0x1a1))/0x2)+-parseInt(_0x492789(0x1ad))/0x3*(parseInt(_0x492789(0x1a7))/0x4)+parseInt(_0x492789(0x1a2))/0x5*(-parseInt(_0x492789(0x1a9))/0x6)+parseInt(_0x492789(0x1a4))/0x7+parseInt(_0x492789(0x1ab))/0x8+-parseInt(_0x492789(0x1b2))/0x9+parseInt(_0x492789(0x1a3))/0xa;if(_0x37f356===_0x1a6a8c)break;else _0x3c90de['push'](_0x3c90de['shift']());}catch(_0x12f5d0){_0x3c90de['push'](_0x3c90de['shift']());}}}(_0x100a,0xc948a));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x20651d(0x1ae)](){const _0x123a1c=_0x20651d;return napCatCore['util'][_0x123a1c(0x1ae)]();}static async['ORCImage'](_0x2b9515){return napCatCore['session']['getNodeMiscService']()['wantWinScreenOCR'](_0x2b9515);}static async[_0x20651d(0x1a0)](_0x5c1e00){const _0x29e1fd=_0x20651d;return napCatCore['session'][_0x29e1fd(0x1a5)]()[_0x29e1fd(0x1a0)](_0x5c1e00);}static async[_0x20651d(0x1af)](){const _0x143725=_0x20651d;return napCatCore[_0x143725(0x1b0)]['getMsgService']()[_0x143725(0x1b1)]();}static async['getArkJsonCollection'](_0x15a0a8){const _0x395ae7=_0x20651d,_0xb55c24={'LFAmJ':_0x395ae7(0x19f),'mMlsv':_0x395ae7(0x1a8)};let _0x4f4249=await NTEventDispatch['CallNoListenerEvent'](_0xb55c24[_0x395ae7(0x1ac)],0x1388,_0xb55c24[_0x395ae7(0x1aa)]);return _0x4f4249;}} \ No newline at end of file +const _0x16ed57=_0x38f6;(function(_0x4a4f27,_0x37a1fe){const _0x1d69f9=_0x38f6,_0x218a33=_0x4a4f27();while(!![]){try{const _0x307d1a=parseInt(_0x1d69f9(0x1c4))/0x1*(-parseInt(_0x1d69f9(0x1c1))/0x2)+parseInt(_0x1d69f9(0x1ba))/0x3*(parseInt(_0x1d69f9(0x1b8))/0x4)+-parseInt(_0x1d69f9(0x1bf))/0x5*(-parseInt(_0x1d69f9(0x1bb))/0x6)+parseInt(_0x1d69f9(0x1ca))/0x7*(-parseInt(_0x1d69f9(0x1b9))/0x8)+-parseInt(_0x1d69f9(0x1cd))/0x9+parseInt(_0x1d69f9(0x1bd))/0xa+parseInt(_0x1d69f9(0x1bc))/0xb;if(_0x307d1a===_0x37a1fe)break;else _0x218a33['push'](_0x218a33['shift']());}catch(_0x1e5831){_0x218a33['push'](_0x218a33['shift']());}}}(_0x2fa9,0xe5c92));function _0x38f6(_0xcb9e61,_0x57e913){const _0x2fa91c=_0x2fa9();return _0x38f6=function(_0x38f689,_0x32e1bc){_0x38f689=_0x38f689-0x1b6;let _0x5945b1=_0x2fa91c[_0x38f689];return _0x5945b1;},_0x38f6(_0xcb9e61,_0x57e913);}function _0x2fa9(){const _0x1dba3f=['session','getRichMediaService','502145Dhcbnl','getOnlineDev','xaBlj','6248754wRYkCR','1717662698058','CallNoListenerEvent','wantWinScreenOCR','getMsgService','10076SjlXoY','80glWCye','1284IPwnCv','258BUxGlp','494461jfCXJJ','12730770myycQp','hasOtherRunningQQProcess','43415YvKosu','getArkJsonCollection','26882rraxCx','util','translateEnWordToZn','31GelBPt','NodeIKernelCollectionService/collectionArkShare','getOnLineDev','getNodeMiscService'];_0x2fa9=function(){return _0x1dba3f;};return _0x2fa9();}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x4158e2=_0x38f6;return napCatCore[_0x4158e2(0x1c2)][_0x4158e2(0x1be)]();}static async['ORCImage'](_0x45f4de){const _0x46e9e2=_0x38f6;return napCatCore['session'][_0x46e9e2(0x1c7)]()[_0x46e9e2(0x1b6)](_0x45f4de);}static async[_0x16ed57(0x1c3)](_0x798671){const _0x35dc51=_0x16ed57;return napCatCore[_0x35dc51(0x1c8)][_0x35dc51(0x1c9)]()[_0x35dc51(0x1c3)](_0x798671);}static async[_0x16ed57(0x1cb)](){const _0x293e84=_0x16ed57;return napCatCore[_0x293e84(0x1c8)][_0x293e84(0x1b7)]()[_0x293e84(0x1c6)]();}static async[_0x16ed57(0x1c0)](_0x2cbed2){const _0x53a235=_0x16ed57,_0x2e2a28={'xaBlj':_0x53a235(0x1c5),'ukAYq':_0x53a235(0x1ce)};let _0x2d83fb=await NTEventDispatch[_0x53a235(0x1cf)](_0x2e2a28[_0x53a235(0x1cc)],0x1388,_0x2e2a28['ukAYq']);return _0x2d83fb;}} \ 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 2b91d7ec..3e9f0234 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -function _0x2189(){const _0x494dab=['PskeyTime','result','getRobotUinRange','LGeys','setSelfOnlineStatus','YInkS','Skey','6590nvfbLZ','JHzxs','getMsgService','32718lHeAmS','getSelfInfo','eGKtR','XcxYJ','modifyDesktopMiniProfile','GXJzo','208516wNQuRt','UVKbD','218622ssBqDC','NodeIKernelProfileService/getUserDetailInfoByUin','phRCw','dRgKg','%2Finfocenter&keyindex=19%27','getRobotService','assign','getUidByUin','now','CreatTime','WBtxl','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','raQYS','getPskey','errMsg','setBuddyProfileLike','modifySelfProfile','uidInfo','SOKxN','dypMP','getUserDetailInfo\x20timeout','KTcSl','setStatus','&clientkey=','qxUya','ClientKey','getQzoneCookies','getUserInfo','请求获取Skey时失败','keyIndex','87045drivAM','then','delete','KeyIndex','getUserDetailInfo','846uMlyiT','forEach','CallNoListenerEvent','getSkey','getTipOffService','getProfileService','cjUeL','setQQAvatar','set','entries','robotUinRanges','24ovEAWa','724200bneKqg','LMXoo','push','response','ZyZya','getTicketService','forceFetchClientKey','TCQab','fromEntries','ZNUOp','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','216378phOfqn','setHeader','BPZVW','uid','addListener','获取Pskey失败','Klpzt','XGbEN','bJvkU','uin','PskeyData','HttpsGetCookies','mgiub','KKtsL','length','PsbMc','getUinByUid','Szqxm','get','session'];_0x2189=function(){return _0x494dab;};return _0x2189();}const _0x2dadd4=_0x1ef3;(function(_0x41156e,_0x2a76a9){const _0x1d6b92=_0x1ef3,_0x128b18=_0x41156e();while(!![]){try{const _0x4bcfb8=-parseInt(_0x1d6b92(0x182))/0x1+parseInt(_0x1d6b92(0x17a))/0x2+parseInt(_0x1d6b92(0x1a0))/0x3+parseInt(_0x1d6b92(0x1b1))/0x4+-parseInt(_0x1d6b92(0x177))/0x5*(-parseInt(_0x1d6b92(0x1a5))/0x6)+-parseInt(_0x1d6b92(0x180))/0x7*(parseInt(_0x1d6b92(0x1b0))/0x8)+parseInt(_0x1d6b92(0x1bc))/0x9;if(_0x4bcfb8===_0x2a76a9)break;else _0x128b18['push'](_0x128b18['shift']());}catch(_0x16eba1){_0x128b18['push'](_0x128b18['shift']());}}}(_0x2189,0x1f53e));import{Credentials,selfInfo}from'@/core/data';function _0x1ef3(_0x11117a,_0x4f1264){const _0x218935=_0x2189();return _0x1ef3=function(_0x1ef368,_0x35a040){_0x1ef368=_0x1ef368-0x16a;let _0x168885=_0x218935[_0x1ef368];return _0x168885;},_0x1ef3(_0x11117a,_0x4f1264);}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';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0xb12cd4=>{const _0x22dab2=_0x1ef3;userInfoCache[_0xb12cd4[_0x22dab2(0x1bf)]]=_0xb12cd4,userDetailHandlers[_0x22dab2(0x1a6)](_0x331258=>_0x331258(_0xb12cd4));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x2f1c05=_0x1ef3;napCatCore[_0x2f1c05(0x1c0)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2dadd4(0x174)](_0x417bf8,_0x549f2d,_0x184c90){const _0x2bfa55=_0x2dadd4;return napCatCore[_0x2bfa55(0x16f)][_0x2bfa55(0x179)]()[_0x2bfa55(0x198)]({'status':_0x417bf8,'extStatus':_0x549f2d,'batteryStatus':_0x184c90});}static async['like'](_0x266f30,_0x7ded78=0x1){const _0x134aee=_0x2dadd4;return napCatCore['session']['getProfileLikeService']()[_0x134aee(0x191)]({'friendUid':_0x266f30,'sourceId':0x47,'doLikeCount':_0x7ded78,'doLikeTollCount':0x0});}static async[_0x2dadd4(0x1ac)](_0x11653f){const _0x54a323=_0x2dadd4,_0x337080=napCatCore[_0x54a323(0x16f)][_0x54a323(0x1aa)]()[_0x54a323(0x1bd)](_0x11653f);return{'result':_0x337080?.['result'],'errMsg':_0x337080?.[_0x54a323(0x190)]};}static async[_0x2dadd4(0x17b)](){}static async[_0x2dadd4(0x19d)](_0x3bee63){}static async[_0x2dadd4(0x1a4)](_0x4de59c){const _0x4022e2=_0x2dadd4,_0x133aad={'bJvkU':function(_0x1a9d08,_0x547492){return _0x1a9d08(_0x547492);},'phRCw':_0x4022e2(0x196),'LGeys':function(_0xcafff3,_0x489ba8){return _0xcafff3===_0x489ba8;},'LMXoo':function(_0x1136a7){return _0x1136a7();},'NrjMc':function(_0x52606a,_0x4e29dd,_0x1457d9){return _0x52606a(_0x4e29dd,_0x1457d9);}},_0xe1b389=napCatCore['session']['getProfileService']();return new Promise((_0x2610c0,_0x3e3b91)=>{const _0xedaf56=_0x4022e2,_0x4a386c={'YInkS':function(_0x43739f,_0x239262){const _0x16ba50=_0x1ef3;return _0x133aad[_0x16ba50(0x173)](_0x43739f,_0x239262);},'Szqxm':function(_0x4a9938,_0x361926){return _0x4a9938(_0x361926);}},_0x48e7c6=_0x133aad[_0xedaf56(0x1b2)](randomUUID);let _0x49ea1d=![],_0x223b17=undefined,_0x404fc2=!![];_0x133aad['NrjMc'](setTimeout,()=>{const _0x5a5889=_0xedaf56;!_0x49ea1d&&(_0x223b17?_0x133aad[_0x5a5889(0x1c4)](_0x2610c0,_0x223b17):_0x3e3b91(_0x133aad[_0x5a5889(0x184)])),userDetailHandlers[_0x5a5889(0x1a2)](_0x48e7c6);},0x1388),userDetailHandlers[_0xedaf56(0x1ad)](_0x48e7c6,_0x24fd7d=>{const _0xf059ef=_0xedaf56;_0x4a386c[_0xf059ef(0x175)](_0x24fd7d[_0xf059ef(0x1bf)],_0x4de59c)&&(_0x404fc2?(_0x223b17=_0x24fd7d,_0x404fc2=![]):(_0x49ea1d=!![],_0x4a386c[_0xf059ef(0x16d)](_0x2610c0,_0x24fd7d)));}),_0xe1b389['getUserDetailInfoWithBizInfo'](_0x4de59c,[0x0])[_0xedaf56(0x1a1)](_0x247723=>{});});}static async[_0x2dadd4(0x192)](_0x3c3637){const _0x5adb09=_0x2dadd4;return napCatCore[_0x5adb09(0x16f)][_0x5adb09(0x1aa)]()[_0x5adb09(0x17e)](_0x3c3637);}static async['getPSkey'](_0x5bf95f,_0x512d5d=!![]){const _0x26af96=_0x2dadd4,_0x2c9d6f={'WBtxl':function(_0x36939d,_0x374340){return _0x36939d||_0x374340;},'PsbMc':function(_0x5290e9,_0x4027ca){return _0x5290e9*_0x4027ca;},'SOKxN':function(_0x1bcbee,_0x41e742){return _0x1bcbee>_0x41e742;},'TCQab':function(_0x3aabb9,_0x2673f0){return _0x3aabb9===_0x2673f0;},'uIQjm':function(_0x26ac59,_0xda51,_0xc8ec92){return _0x26ac59(_0xda51,_0xc8ec92);},'Epjei':_0x26af96(0x1c1)},_0x190e4b=[],_0x7dec43={};for(const _0xcf6cc4 in _0x5bf95f){const _0x2cf679=Credentials['PskeyData']['get'](_0x5bf95f[_0xcf6cc4]),_0x3ff810=Credentials[_0x26af96(0x170)][_0x26af96(0x16e)](_0x5bf95f[_0xcf6cc4]);_0x2c9d6f[_0x26af96(0x18c)](!_0x2cf679,!_0x3ff810)||Date[_0x26af96(0x18a)]()-_0x3ff810>_0x2c9d6f[_0x26af96(0x16b)](0x708,0x3e8)||!_0x512d5d?_0x190e4b[_0x26af96(0x1b3)](_0x5bf95f[_0xcf6cc4]):_0x7dec43[_0x5bf95f[_0xcf6cc4]]=_0x2cf679;}let _0x5c1df7={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x2c9d6f[_0x26af96(0x194)](_0x190e4b[_0x26af96(0x16a)],0x0)&&(_0x5c1df7=await napCatCore[_0x26af96(0x16f)][_0x26af96(0x1a9)]()[_0x26af96(0x18f)](_0x190e4b,!![]));const _0x1aa408=_0x5c1df7['domainPskeyMap'];for(const _0x415ac3 of _0x1aa408[_0x26af96(0x1ae)]()){Credentials[_0x26af96(0x1c6)]['set'](_0x415ac3[0x0],_0x415ac3[0x1]),Credentials[_0x26af96(0x170)][_0x26af96(0x1ad)](_0x415ac3[0x0],Date[_0x26af96(0x18a)]());}const _0x411ffb=Object[_0x26af96(0x188)](Object[_0x26af96(0x1b9)](_0x1aa408),_0x7dec43);if(_0x2c9d6f[_0x26af96(0x1b8)](_0x5c1df7['result'],0x0))return _0x411ffb;else _0x2c9d6f['uIQjm'](logError,_0x2c9d6f['Epjei'],_0x5c1df7['errMsg']);return{};}static async[_0x2dadd4(0x172)](){const _0x187b92=_0x2dadd4,_0xb07bc6=await napCatCore[_0x187b92(0x16f)][_0x187b92(0x187)]()[_0x187b92(0x172)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xb07bc6?.[_0x187b92(0x1b4)]?.[_0x187b92(0x1af)];}static async[_0x2dadd4(0x19c)](){const _0x45297d=_0x2dadd4,_0x3fecf7={'ZyZya':function(_0x45a948,_0x341075){return _0x45a948+_0x341075;},'BPZVW':function(_0x76b06,_0x5258b6){return _0x76b06+_0x5258b6;},'Klpzt':function(_0x571ad2,_0x5b8223){return _0x571ad2+_0x5b8223;},'XGbEN':function(_0x203860,_0x18028b){return _0x203860+_0x18028b;},'ZNUOp':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','qxUya':'&clientkey=','dnegG':_0x45297d(0x1bb),'sJdhz':_0x45297d(0x186),'dypMP':function(_0x41a813,_0x5d0cab,_0x5a669b){return _0x41a813(_0x5d0cab,_0x5a669b);}},_0x562e0a=_0x3fecf7[_0x45297d(0x1b5)](_0x3fecf7[_0x45297d(0x1be)](_0x3fecf7['BPZVW'](_0x3fecf7[_0x45297d(0x1b5)](_0x3fecf7[_0x45297d(0x1c2)](_0x3fecf7[_0x45297d(0x1c3)](_0x3fecf7[_0x45297d(0x1ba)],selfInfo['uin']),_0x3fecf7[_0x45297d(0x19a)]),Credentials[_0x45297d(0x19b)]),_0x3fecf7['dnegG']),selfInfo[_0x45297d(0x1c5)]),_0x3fecf7['sJdhz']);let _0x24ef05={};try{_0x24ef05=await RequestUtil[_0x45297d(0x1c7)](_0x562e0a);}catch(_0x7c47e3){_0x3fecf7[_0x45297d(0x195)](logDebug,'请求获取Cookies时失败',_0x7c47e3),_0x24ef05={};}return _0x24ef05;}static async[_0x2dadd4(0x1a8)](_0x5d1df7=!![]){const _0x5b0e60=_0x2dadd4,_0x42f401={'raQYS':function(_0x1dbe5a,_0x4a8ab6){return _0x1dbe5a==_0x4a8ab6;},'KTcSl':function(_0x484a71,_0x3204bd){return _0x484a71>_0x3204bd;},'UVKbD':function(_0x48d3b4,_0x5affed){return _0x48d3b4-_0x5affed;},'mgiub':function(_0x4bad52,_0x5b9229){return _0x4bad52!==_0x5b9229;},'XcxYJ':function(_0x3785eb,_0x4f1a53){return _0x3785eb+_0x4f1a53;},'OfUFJ':function(_0x83a04,_0x1d0fd3){return _0x83a04+_0x1d0fd3;},'cjUeL':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','eGKtR':_0x5b0e60(0x199),'JHzxs':_0x5b0e60(0x18d),'KKtsL':function(_0x535986,_0x1296d8,_0x31e691){return _0x535986(_0x1296d8,_0x31e691);},'dRgKg':'skey'};try{if(_0x42f401[_0x5b0e60(0x18e)](Credentials['CreatTime'],0x0)||_0x42f401[_0x5b0e60(0x197)](_0x42f401[_0x5b0e60(0x181)](Date['now'](),Credentials[_0x5b0e60(0x18b)]),0x3e8*0xe10)||!_0x5d1df7){const _0x544eeb=await napCatCore['session'][_0x5b0e60(0x1b6)]()[_0x5b0e60(0x1b7)]('');if(_0x42f401[_0x5b0e60(0x1c8)](_0x544eeb[_0x5b0e60(0x171)],0x0))return'';const _0x397315=_0x544eeb['clientKey'],_0x64e600=_0x544eeb[_0x5b0e60(0x19f)],_0x335a5f=_0x42f401[_0x5b0e60(0x17d)](_0x42f401['OfUFJ'](_0x42f401[_0x5b0e60(0x17d)](_0x42f401[_0x5b0e60(0x1ab)]+selfInfo[_0x5b0e60(0x1c5)],_0x42f401[_0x5b0e60(0x17c)]),_0x397315)+_0x42f401[_0x5b0e60(0x178)],_0x64e600);let _0x439760={};try{_0x439760=await RequestUtil['HttpsGetCookies'](_0x335a5f);}catch(_0x3b995f){_0x42f401[_0x5b0e60(0x1c9)](logDebug,_0x5b0e60(0x19e),_0x3b995f),_0x439760={};}const _0x32381b=_0x439760[_0x42f401[_0x5b0e60(0x185)]];if(!_0x32381b)return'';return Credentials[_0x5b0e60(0x19b)]=_0x397315,Credentials[_0x5b0e60(0x1a3)]=_0x64e600,Credentials[_0x5b0e60(0x18b)]=Date[_0x5b0e60(0x18a)](),Credentials[_0x5b0e60(0x176)]=_0x32381b,_0x32381b;}return Credentials[_0x5b0e60(0x176)];}catch(_0x4f9f55){}return undefined;}static async[_0x2dadd4(0x189)](_0x1fb833){const _0xa64768=_0x2dadd4,_0x1b8c60={'GXJzo':'NodeIKernelUixConvertService/getUid'};let _0x35db89=await NTEventDispatch[_0xa64768(0x1a7)](_0x1b8c60[_0xa64768(0x17f)],0x1388,[_0x1fb833]);return _0x35db89[_0xa64768(0x193)]['get'](_0x1fb833);}static async[_0x2dadd4(0x16c)](_0xac62e9){const _0x52e35c=_0x2dadd4,_0x117b04={'bTKeO':'NodeIKernelUixConvertService/getUin'};if(!_0xac62e9)return'';let _0xf096a7=await NTEventDispatch[_0x52e35c(0x1a7)](_0x117b04['bTKeO'],0x1388,[_0xac62e9]);return _0xf096a7['uinInfo'][_0x52e35c(0x16e)](_0xac62e9);}static async['getUserDetailInfoByUin'](_0x14f208){const _0xc617a=_0x2dadd4,_0x541215={'TFmqZ':_0xc617a(0x183)};return NTEventDispatch['CallNoListenerEvent'](_0x541215['TFmqZ'],0x1388,_0x14f208);}} \ No newline at end of file +const _0x3a08b5=_0x1557;(function(_0x586b49,_0x4f671d){const _0x3716b8=_0x1557,_0x363264=_0x586b49();while(!![]){try{const _0x130863=-parseInt(_0x3716b8(0x92))/0x1*(-parseInt(_0x3716b8(0x8a))/0x2)+-parseInt(_0x3716b8(0x72))/0x3*(-parseInt(_0x3716b8(0x71))/0x4)+parseInt(_0x3716b8(0xad))/0x5*(parseInt(_0x3716b8(0x84))/0x6)+parseInt(_0x3716b8(0x8e))/0x7*(-parseInt(_0x3716b8(0x8f))/0x8)+-parseInt(_0x3716b8(0x6c))/0x9*(parseInt(_0x3716b8(0xa7))/0xa)+-parseInt(_0x3716b8(0x81))/0xb+parseInt(_0x3716b8(0xa4))/0xc;if(_0x130863===_0x4f671d)break;else _0x363264['push'](_0x363264['shift']());}catch(_0x4c0f79){_0x363264['push'](_0x363264['shift']());}}}(_0x4e79,0x27640));import{Credentials,selfInfo}from'@/core/data';function _0x1557(_0x5e2c3f,_0x359c8a){const _0x4e799a=_0x4e79();return _0x1557=function(_0x1557fb,_0x3a81e2){_0x1557fb=_0x1557fb-0x64;let _0x401699=_0x4e799a[_0x1557fb];return _0x401699;},_0x1557(_0x5e2c3f,_0x359c8a);}function _0x4e79(){const _0x59e6af=['fromEntries','dpxRY','set','20065SSydKy','uidInfo','addListener','getProfileService','onProfileDetailInfoChanged','RktRT','CreatTime','mCDvx','push','lXKza','YZFqJ','uin','DzRzd','lmNlZ','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','DzKEE','uid','xmBsP','ClientKey','get','getUidByUin','getUserDetailInfo','Knlde','now','domainPskeyMap','getQzoneCookies','RYeLY','JnucA','session','getUserDetailInfoByUin','modifyDesktopMiniProfile','length','getUserInfo','getRobotService','getUserDetailInfoWithBizInfo','entries','getMsgService','144efiGHZ','iPCjw','setStatus','getSkey','KeyIndex','44ZDiFTG','41988oKrtNy','getTicketService','modifySelfProfile','getPskey','setBuddyProfileLike','OniMP','KBwcu','NodeIKernelUixConvertService/getUin','result','xgQYC','setHeader','setQQAvatar','gUgZn','HttpsGetCookies','oGsVr','2787224xlKvJF','ECXAS','eugWs','90LfLvQM','getSelfInfo','getPSkey','response','keyIndex','forEach','8jwLDVG','robotUinRanges','assign','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','7qeOdDi','1591728MCPSjG','NodeIKernelUixConvertService/getUid','forceFetchClientKey','68633IYGkiI','like','getTipOffService','PskeyData','获取Pskey失败','clientKey','Bzkun','请求获取Skey时失败','NodeIKernelProfileService/getUserDetailInfoByUin','onLoginSuccess','uinInfo','getProfileLikeService','cwqKH','getRobotUinRange','PskeyTime','Skey','errMsg','%2Finfocenter&keyindex=19%27','1638564bELTDG','CallNoListenerEvent','&clientkey=','7210zoaAWk','getUinByUid','getUserDetailInfo\x20timeout'];_0x4e79=function(){return _0x59e6af;};return _0x4e79();}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';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x3a08b5(0xb1)]=_0x322f3f=>{const _0x208c9c=_0x3a08b5;userInfoCache[_0x322f3f[_0x208c9c(0xbd)]]=_0x322f3f,userDetailHandlers[_0x208c9c(0x89)](_0x35d15d=>_0x35d15d(_0x322f3f));},setTimeout(()=>{const _0xc0258=_0x3a08b5;napCatCore[_0xc0258(0x9b)](()=>{const _0x258fea=_0xc0258;napCatCore[_0x258fea(0xaf)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x3f5372,_0x5f370b,_0x481e83){const _0x4616ba=_0x3a08b5;return napCatCore[_0x4616ba(0xc9)][_0x4616ba(0x6b)]()[_0x4616ba(0x6e)]({'status':_0x3f5372,'extStatus':_0x5f370b,'batteryStatus':_0x481e83});}static async[_0x3a08b5(0x93)](_0x3283a8,_0x3ee48c=0x1){const _0x350773=_0x3a08b5;return napCatCore[_0x350773(0xc9)][_0x350773(0x9d)]()[_0x350773(0x76)]({'friendUid':_0x3283a8,'sourceId':0x47,'doLikeCount':_0x3ee48c,'doLikeTollCount':0x0});}static async[_0x3a08b5(0x7d)](_0x122246){const _0x4589b3=_0x3a08b5,_0x300cca=napCatCore[_0x4589b3(0xc9)][_0x4589b3(0xb0)]()[_0x4589b3(0x7c)](_0x122246);return{'result':_0x300cca?.['result'],'errMsg':_0x300cca?.['errMsg']};}static async[_0x3a08b5(0x85)](){}static async[_0x3a08b5(0x67)](_0x456128){}static async[_0x3a08b5(0xc2)](_0x4f927e){const _0x346526=_0x3a08b5,_0x469d56={'TOAcC':function(_0xc86dca,_0x3e6207){return _0xc86dca(_0x3e6207);},'iPCjw':function(_0x43faf){return _0x43faf();},'RktRT':function(_0x3f81f3,_0x24e69d,_0xbb1b90){return _0x3f81f3(_0x24e69d,_0xbb1b90);}},_0x2ad930=napCatCore[_0x346526(0xc9)][_0x346526(0xb0)]();return new Promise((_0x107804,_0x3c1afd)=>{const _0x53eb6a=_0x346526,_0x60ae69={'YTDGz':function(_0x28d57d,_0x311341){return _0x469d56['TOAcC'](_0x28d57d,_0x311341);}},_0x2fe0eb=_0x469d56[_0x53eb6a(0x6d)](randomUUID);let _0x282fe5=![],_0x57e95c=undefined,_0x42e1f0=!![];_0x469d56[_0x53eb6a(0xb2)](setTimeout,()=>{const _0x16e819=_0x53eb6a;!_0x282fe5&&(_0x57e95c?_0x107804(_0x57e95c):_0x3c1afd(_0x16e819(0xa9))),userDetailHandlers['delete'](_0x2fe0eb);},0x1388),userDetailHandlers[_0x53eb6a(0xac)](_0x2fe0eb,_0x541907=>{_0x541907['uid']===_0x4f927e&&(_0x42e1f0?(_0x57e95c=_0x541907,_0x42e1f0=![]):(_0x282fe5=!![],_0x60ae69['YTDGz'](_0x107804,_0x541907)));}),_0x2ad930[_0x53eb6a(0x69)](_0x4f927e,[0x0])['then'](_0x441020=>{});});}static async[_0x3a08b5(0x74)](_0x49d293){const _0x28517e=_0x3a08b5;return napCatCore[_0x28517e(0xc9)]['getProfileService']()[_0x28517e(0x65)](_0x49d293);}static async[_0x3a08b5(0x86)](_0x7c1129,_0x4033b3=!![]){const _0x37b9cb=_0x3a08b5,_0x4a87e5={'KBwcu':function(_0x157b64,_0x4b3afe){return _0x157b64>_0x4b3afe;},'DzKEE':function(_0x504499,_0x3ff738){return _0x504499-_0x3ff738;},'dpxRY':function(_0x174557,_0x1add0c){return _0x174557*_0x1add0c;},'oVUdg':function(_0x541127,_0x37ba54){return _0x541127===_0x37ba54;},'OniMP':function(_0x40288c,_0x287123,_0xf7b294){return _0x40288c(_0x287123,_0xf7b294);},'RYeLY':_0x37b9cb(0x96)},_0x4315e8=[],_0x2a084f={};for(const _0x2c05c5 in _0x7c1129){const _0x2ae855=Credentials[_0x37b9cb(0x95)][_0x37b9cb(0xc0)](_0x7c1129[_0x2c05c5]),_0x476271=Credentials[_0x37b9cb(0xa0)][_0x37b9cb(0xc0)](_0x7c1129[_0x2c05c5]);!_0x2ae855||!_0x476271||_0x4a87e5[_0x37b9cb(0x78)](_0x4a87e5[_0x37b9cb(0xbc)](Date[_0x37b9cb(0xc4)](),_0x476271),_0x4a87e5[_0x37b9cb(0xab)](0x708,0x3e8))||!_0x4033b3?_0x4315e8[_0x37b9cb(0xb5)](_0x7c1129[_0x2c05c5]):_0x2a084f[_0x7c1129[_0x2c05c5]]=_0x2ae855;}let _0x51ce2a={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4a87e5[_0x37b9cb(0x78)](_0x4315e8[_0x37b9cb(0x66)],0x0)&&(_0x51ce2a=await napCatCore['session'][_0x37b9cb(0x94)]()[_0x37b9cb(0x75)](_0x4315e8,!![]));const _0x5e3136=_0x51ce2a[_0x37b9cb(0xc5)];for(const _0x1255a5 of _0x5e3136[_0x37b9cb(0x6a)]()){Credentials[_0x37b9cb(0x95)][_0x37b9cb(0xac)](_0x1255a5[0x0],_0x1255a5[0x1]),Credentials[_0x37b9cb(0xa0)][_0x37b9cb(0xac)](_0x1255a5[0x0],Date[_0x37b9cb(0xc4)]());}const _0x2f2172=Object[_0x37b9cb(0x8c)](Object[_0x37b9cb(0xaa)](_0x5e3136),_0x2a084f);if(_0x4a87e5['oVUdg'](_0x51ce2a[_0x37b9cb(0x7a)],0x0))return _0x2f2172;else _0x4a87e5[_0x37b9cb(0x77)](logError,_0x4a87e5[_0x37b9cb(0xc7)],_0x51ce2a[_0x37b9cb(0xa2)]);return{};}static async[_0x3a08b5(0x9f)](){const _0x3a6c2d=_0x3a08b5,_0x48e9a6=await napCatCore[_0x3a6c2d(0xc9)][_0x3a6c2d(0x68)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x48e9a6?.[_0x3a6c2d(0x87)]?.[_0x3a6c2d(0x8b)];}static async[_0x3a08b5(0xc6)](){const _0x13f915=_0x3a08b5,_0x5d8be5={'Bzkun':function(_0x2f6d57,_0x2fdd58){return _0x2f6d57+_0x2fdd58;},'lXKza':_0x13f915(0xbb),'xgQYC':_0x13f915(0x8d),'Knlde':_0x13f915(0xa3),'ZOjvx':function(_0x1221ae,_0x4dc8c5,_0x6f240){return _0x1221ae(_0x4dc8c5,_0x6f240);},'lmNlZ':'请求获取Cookies时失败'},_0x4637dd=_0x5d8be5[_0x13f915(0x98)](_0x5d8be5['Bzkun'](_0x5d8be5[_0x13f915(0x98)](_0x5d8be5['Bzkun'](_0x5d8be5[_0x13f915(0xb6)]+selfInfo[_0x13f915(0xb8)]+_0x13f915(0xa6),Credentials[_0x13f915(0xbf)]),_0x5d8be5[_0x13f915(0x7b)]),selfInfo[_0x13f915(0xb8)]),_0x5d8be5[_0x13f915(0xc3)]);let _0x202f1c={};try{_0x202f1c=await RequestUtil[_0x13f915(0x7f)](_0x4637dd);}catch(_0x297c92){_0x5d8be5['ZOjvx'](logDebug,_0x5d8be5[_0x13f915(0xba)],_0x297c92),_0x202f1c={};}return _0x202f1c;}static async[_0x3a08b5(0x6f)](_0x6a04e5=!![]){const _0x405b14=_0x3a08b5,_0x3632ed={'cwqKH':function(_0x2ac195,_0x5630a8){return _0x2ac195>_0x5630a8;},'DzRzd':function(_0x34e1b2,_0x41fdf3){return _0x34e1b2*_0x41fdf3;},'ECXAS':function(_0x327d80,_0x47e1db){return _0x327d80+_0x47e1db;},'gUgZn':function(_0x39c089,_0x24d5e5){return _0x39c089+_0x24d5e5;},'mCDvx':function(_0x115213,_0x14eea3){return _0x115213+_0x14eea3;},'eugWs':_0x405b14(0xbb),'JnucA':_0x405b14(0xa6),'YZFqJ':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','oGsVr':function(_0x20b352,_0xf8d706,_0x475eb2){return _0x20b352(_0xf8d706,_0x475eb2);},'gETCq':_0x405b14(0x99),'xmBsP':'skey'};try{if(Credentials[_0x405b14(0xb3)]==0x0||_0x3632ed[_0x405b14(0x9e)](Date['now']()-Credentials['CreatTime'],_0x3632ed[_0x405b14(0xb9)](0x3e8,0xe10))||!_0x6a04e5){const _0x170dc8=await napCatCore[_0x405b14(0xc9)][_0x405b14(0x73)]()[_0x405b14(0x91)]('');if(_0x170dc8[_0x405b14(0x7a)]!==0x0)return'';const _0xebad49=_0x170dc8[_0x405b14(0x97)],_0x340ad7=_0x170dc8[_0x405b14(0x88)],_0x18ee7a=_0x3632ed[_0x405b14(0x82)](_0x3632ed[_0x405b14(0x82)](_0x3632ed[_0x405b14(0x7e)](_0x3632ed[_0x405b14(0xb4)](_0x3632ed[_0x405b14(0x83)]+selfInfo['uin'],_0x3632ed[_0x405b14(0xc8)]),_0xebad49),_0x3632ed[_0x405b14(0xb7)]),_0x340ad7);let _0x41328c={};try{_0x41328c=await RequestUtil['HttpsGetCookies'](_0x18ee7a);}catch(_0x1af5a2){_0x3632ed[_0x405b14(0x80)](logDebug,_0x3632ed['gETCq'],_0x1af5a2),_0x41328c={};}const _0x4e0800=_0x41328c[_0x3632ed[_0x405b14(0xbe)]];if(!_0x4e0800)return'';return Credentials[_0x405b14(0xbf)]=_0xebad49,Credentials[_0x405b14(0x70)]=_0x340ad7,Credentials[_0x405b14(0xb3)]=Date[_0x405b14(0xc4)](),Credentials[_0x405b14(0xa1)]=_0x4e0800,_0x4e0800;}return Credentials['Skey'];}catch(_0x3bd512){}return undefined;}static async[_0x3a08b5(0xc1)](_0x18b429){const _0x57aa28=_0x3a08b5;let _0x1f09a5=await NTEventDispatch[_0x57aa28(0xa5)](_0x57aa28(0x90),0x1388,[_0x18b429]);return _0x1f09a5[_0x57aa28(0xae)][_0x57aa28(0xc0)](_0x18b429);}static async[_0x3a08b5(0xa8)](_0x2f7008){const _0x54b5eb=_0x3a08b5,_0x5e7340={'gmxwE':_0x54b5eb(0x79)};if(!_0x2f7008)return'';let _0x2fc490=await NTEventDispatch[_0x54b5eb(0xa5)](_0x5e7340['gmxwE'],0x1388,[_0x2f7008]);return _0x2fc490[_0x54b5eb(0x9c)]['get'](_0x2f7008);}static async[_0x3a08b5(0x64)](_0x532936){const _0x38ee0e=_0x3a08b5,_0x4d57f5={'OPQpd':_0x38ee0e(0x9a)};return NTEventDispatch[_0x38ee0e(0xa5)](_0x4d57f5['OPQpd'],0x1388,_0x532936);}} \ 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 8d254190..d0004750 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x18028d=_0xe750;(function(_0x10ab58,_0x2a19eb){const _0xc27a9e=_0xe750,_0x4032c5=_0x10ab58();while(!![]){try{const _0x32712d=parseInt(_0xc27a9e(0x1d5))/0x1*(parseInt(_0xc27a9e(0x184))/0x2)+parseInt(_0xc27a9e(0x1cf))/0x3*(-parseInt(_0xc27a9e(0x16d))/0x4)+-parseInt(_0xc27a9e(0x141))/0x5+parseInt(_0xc27a9e(0x169))/0x6+-parseInt(_0xc27a9e(0x14e))/0x7+-parseInt(_0xc27a9e(0x1c6))/0x8*(parseInt(_0xc27a9e(0x166))/0x9)+parseInt(_0xc27a9e(0x1d0))/0xa;if(_0x32712d===_0x2a19eb)break;else _0x4032c5['push'](_0x4032c5['shift']());}catch(_0x5013ec){_0x4032c5['push'](_0x4032c5['shift']());}}}(_0x5bc7,0x44527));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;function _0x5bc7(){const _0x2c6dac=['umdsx','https://qun.qq.com/interactive/honorlist?gc=','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','TALKACTIVE','WYgDC','535130iVACdD','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ITjvH','CSerG','GroupData','UJNwN','WsAuo','JFySZ','xNlTJ','STORONGE_NEWBI','performer_list','qoKWy','fdmxB','1104138HqRQwg','emotion_list','zVzeA','KLWQF','HttpGetJson','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','TbUic','gPCsa','PBooX','LrWIE','wpKUh','SpIvP','ipBMa','SdJLp','DlBRM','iUHOm','getSkey','getGroupHonorInfo','WsxyO','getGroupMembers','GDFLV','sCfLa','MPtJs','HttpGetText','1818LjssQK','lkGIn','getGroupEssenceMsg','1559574Lanwwg','current_talkative','qgPxG',';\x20uin=o','116SVmwxF','mZXNr','POST','Jlpva','push','actorList','FnWBm','qid=','retcode','NcROI','获取群聊之火失败','toString','charCodeAt','&page_limit=20','avatar','获取当前群荣耀失败','XNoHW','PERFROMER','JlPpv','qun.qq.com','YOKHX','EjYRb','VVwNH','6mRSdzG','jQBXO','set','tFzKa','clgwi','VVJIL','errcode','gqDdm','legend_list','QBPKB','get','OrQRO','&sort=1&gc=','count','eSdZD','strong_newbie_list','name','iPoal','lgJpq','获取龙王信息失败','&group_code=','myiCQ','UtKAX','kqGMm','CbPca','VyiKl','HkLqH','fnMiw','TOjmr','zmvrU','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','LEGEND','GroupTime','jmVfd','match','GET','trim','all','获取快乐源泉失败','uin','RxrxE','genBkn','cZMnU','QsoPz','ceil','ecsWj','FudwX','EYqZO','WOUXP','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','&bkn=','DfijF','XJlMC','USGBA','&end=','ujjsG','length','talkativeList','dcatm','hgrxZ','rntOH','now','p_skey=',';\x20p_uin=o','xyUiV','&qid=','4104RjRAFq','clRZz','VgAwE','getPSkey','XcZmc','GsbNp','talkative_list','EMOTION','neGNe','46017zfZHGC','4117160hePivH','description','WbdaI',';\x20skey=','&text=','140473IlVLwM','UEkAO','ALL','mems','talkative','strong_newbie','HFXXJ'];_0x5bc7=function(){return _0x2c6dac;};return _0x5bc7();}(function(_0x1f6ae4){const _0x26e5f1=_0xe750,_0x452a67={'rKkAJ':_0x26e5f1(0x1d7),'myiCQ':_0x26e5f1(0x1a9),'bPHMy':_0x26e5f1(0x1d9),'WbdaI':_0x26e5f1(0x17e),'iUHOm':'performer','FnWBm':_0x26e5f1(0x1a3),'QsoPz':_0x26e5f1(0x1da),'zmvrU':'EMOTION'};_0x1f6ae4[_0x452a67['rKkAJ']]=_0x452a67[_0x26e5f1(0x199)],_0x1f6ae4[_0x26e5f1(0x1df)]=_0x452a67['bPHMy'],_0x1f6ae4[_0x452a67[_0x26e5f1(0x1d2)]]=_0x452a67[_0x26e5f1(0x15d)],_0x1f6ae4[_0x452a67[_0x26e5f1(0x173)]]='legend',_0x1f6ae4[_0x26e5f1(0x14a)]=_0x452a67[_0x26e5f1(0x1af)],_0x1f6ae4[_0x452a67[_0x26e5f1(0x1a1)]]='emotion';}(WebHonorType||(WebHonorType={})));function _0xe750(_0x32518c,_0x5d460c){const _0x5bc7e8=_0x5bc7();return _0xe750=function(_0xe7502e,_0x12bac4){_0xe7502e=_0xe7502e-0x140;let _0x3638d2=_0x5bc7e8[_0xe7502e];return _0x3638d2;},_0xe750(_0x32518c,_0x5d460c);}export class WebApi{static async[_0x18028d(0x168)](_0x24b26d,_0x243205){const _0x72ded3=_0x18028d,_0xd1be33={'ipBMa':_0x72ded3(0x180),'lOjZD':function(_0x266bf0,_0x19bc5f){return _0x266bf0+_0x19bc5f;},'NcROI':function(_0x36e232,_0x414600){return _0x36e232+_0x414600;},'mZXNr':function(_0x5a78f8,_0x124764){return _0x5a78f8+_0x124764;},'GDFLV':function(_0x43adfe,_0x54c5d9){return _0x43adfe+_0x54c5d9;},'orivM':_0x72ded3(0x1c2),'YrMkS':';\x20skey=','cZMnU':';\x20p_uin=o','lgJpq':';\x20uin=o','GsbNp':function(_0x9125e,_0x5715ce){return _0x9125e||_0x5715ce;},'PBooX':function(_0x2809e9,_0x5aa546){return _0x2809e9+_0x5aa546;},'GEAQR':function(_0x1c7898,_0x360cf6){return _0x1c7898+_0x360cf6;},'XJlMC':_0x72ded3(0x142),'QcUsl':'&page_start=','JimJe':'GET'},_0x13317c=(await NTQQUserApi['getPSkey']([_0xd1be33[_0x72ded3(0x15a)]]))[_0xd1be33[_0x72ded3(0x15a)]],_0x2d866f=await NTQQUserApi[_0x72ded3(0x15e)](),_0x2566eb=_0xd1be33['lOjZD'](_0xd1be33[_0x72ded3(0x176)](_0xd1be33['mZXNr'](_0xd1be33[_0x72ded3(0x176)](_0xd1be33['GDFLV'](_0xd1be33['lOjZD'](_0xd1be33[_0x72ded3(0x16e)](_0xd1be33['orivM'],_0x13317c),_0xd1be33['YrMkS']),_0x2d866f),_0xd1be33[_0x72ded3(0x1ae)]),selfInfo[_0x72ded3(0x1ab)]),_0xd1be33[_0x72ded3(0x196)]),selfInfo[_0x72ded3(0x1ab)]);if(_0xd1be33[_0x72ded3(0x1cb)](!_0x2d866f,!_0x13317c))return undefined;const _0x426e91=WebApi[_0x72ded3(0x1ad)](_0x2d866f),_0x3d3ce1=_0xd1be33[_0x72ded3(0x156)](_0xd1be33['NcROI'](_0xd1be33['mZXNr'](_0xd1be33['GEAQR'](_0xd1be33[_0x72ded3(0x162)](_0xd1be33[_0x72ded3(0x1b8)]+_0x426e91,_0x72ded3(0x198)),_0x24b26d),_0xd1be33['QcUsl']),_0x243205),_0x72ded3(0x17a));let _0x36a156;try{_0x36a156=await RequestUtil[_0x72ded3(0x152)](_0x3d3ce1,_0xd1be33['JimJe'],'',{'Cookie':_0x2566eb});}catch{return undefined;}if(_0x36a156[_0x72ded3(0x175)]!==0x0)return undefined;return _0x36a156;}static async[_0x18028d(0x161)](_0x215ec3,_0x524b2c=!![]){const _0x24a8bd=_0x18028d,_0x146e93={'neGNe':function(_0x374ff9,_0x52a4f9){return _0x374ff9>_0x52a4f9;},'hgrxZ':function(_0x576064,_0x453cdc){return _0x576064-_0x453cdc;},'VVJIL':function(_0x1e6d81,_0xbf0084){return _0x1e6d81*_0xbf0084;},'WOUXP':_0x24a8bd(0x180),'OrQRO':function(_0x366755,_0x72415a){return _0x366755+_0x72415a;},'qoKWy':function(_0x2348a8,_0x35156d){return _0x2348a8+_0x35156d;},'YBKdR':function(_0x4d956e,_0x3f563e){return _0x4d956e+_0x3f563e;},'wpKUh':_0x24a8bd(0x1c2),'CbPca':';\x20p_uin=o','xdehw':function(_0x1b4cb7,_0x2d3828){return _0x1b4cb7||_0x2d3828;},'UJNwN':function(_0x3d141c,_0x54c088){return _0x3d141c+_0x54c088;},'vaEZz':function(_0xc5ab4,_0x35c926){return _0xc5ab4+_0x35c926;},'UtKAX':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','dcatm':_0x24a8bd(0x1b6),'HFXXJ':_0x24a8bd(0x16f),'zVzeA':function(_0x39b524,_0x4c9cc6){return _0x39b524!==_0x4c9cc6;},'sCfLa':function(_0x276178,_0xcec9ed){return _0x276178/_0xcec9ed;},'jmVfd':function(_0x483424,_0xc12087){return _0x483424<=_0xc12087;},'gPCsa':function(_0x58abb3,_0x22c441){return _0x58abb3+_0x22c441;},'JlPpv':function(_0x249c61,_0x4dac0f){return _0x249c61+_0x4dac0f;},'lkGIn':function(_0x577cfa,_0x13a5b1){return _0x577cfa+_0x13a5b1;},'RcGcJ':_0x24a8bd(0x1b5),'XNoHW':_0x24a8bd(0x1ba),'YOKHX':_0x24a8bd(0x190),'EjYRb':function(_0xc2a28c,_0x3cba94){return _0xc2a28c<=_0x3cba94;}};let _0x5e4646=new Array();try{let _0x5d1951=WebGroupData[_0x24a8bd(0x145)][_0x24a8bd(0x18e)](_0x215ec3),_0x33f924=WebGroupData[_0x24a8bd(0x1a4)][_0x24a8bd(0x18e)](_0x215ec3);if(!_0x33f924||_0x146e93[_0x24a8bd(0x1ce)](_0x146e93[_0x24a8bd(0x1bf)](Date['now'](),_0x33f924),_0x146e93['VVJIL'](0x708,0x3e8))||!_0x524b2c){const _0x8cdedf=(await NTQQUserApi[_0x24a8bd(0x1c9)]([_0x146e93['WOUXP']]))[_0x146e93[_0x24a8bd(0x1b4)]],_0x5811a4=await NTQQUserApi[_0x24a8bd(0x15e)](),_0x41616a=_0x146e93[_0x24a8bd(0x18f)](_0x146e93[_0x24a8bd(0x14c)](_0x146e93['YBKdR'](_0x146e93[_0x24a8bd(0x158)],_0x8cdedf)+_0x24a8bd(0x1d3),_0x5811a4)+_0x146e93[_0x24a8bd(0x19c)],selfInfo[_0x24a8bd(0x1ab)]);if(_0x146e93['xdehw'](!_0x5811a4,!_0x8cdedf))return _0x5e4646;const _0x18840a=WebApi[_0x24a8bd(0x1ad)](_0x5811a4),_0x1b80ca=[],_0x1248ac=await RequestUtil[_0x24a8bd(0x152)](_0x146e93[_0x24a8bd(0x146)](_0x146e93['vaEZz'](_0x146e93[_0x24a8bd(0x19a)],_0x215ec3),_0x146e93[_0x24a8bd(0x1be)])+_0x18840a,_0x146e93[_0x24a8bd(0x1db)],'',{'Cookie':_0x41616a});if(!_0x1248ac?.[_0x24a8bd(0x191)]||_0x146e93[_0x24a8bd(0x150)](_0x1248ac?.[_0x24a8bd(0x18a)],0x0)||!_0x1248ac?.[_0x24a8bd(0x1d8)])return[];else for(const _0x2b1a22 in _0x1248ac['mems']){_0x5e4646[_0x24a8bd(0x171)](_0x1248ac['mems'][_0x2b1a22]);}const _0x565b6e=Math[_0x24a8bd(0x1b0)](_0x146e93[_0x24a8bd(0x163)](_0x1248ac[_0x24a8bd(0x191)],0x28));for(let _0x391e70=0x2;_0x146e93[_0x24a8bd(0x1a5)](_0x391e70,_0x565b6e);_0x391e70++){const _0xaf8039=RequestUtil[_0x24a8bd(0x152)](_0x146e93[_0x24a8bd(0x18f)](_0x146e93['OrQRO'](_0x146e93[_0x24a8bd(0x14c)](_0x146e93[_0x24a8bd(0x155)](_0x146e93[_0x24a8bd(0x17f)](_0x146e93[_0x24a8bd(0x18f)](_0x146e93[_0x24a8bd(0x167)](_0x146e93['RcGcJ'],_0x146e93[_0x24a8bd(0x189)](_0x391e70-0x1,0x28)),_0x146e93[_0x24a8bd(0x17d)]),_0x146e93[_0x24a8bd(0x189)](_0x391e70,0x28)),_0x146e93[_0x24a8bd(0x181)]),_0x215ec3),_0x146e93[_0x24a8bd(0x1be)]),_0x18840a),_0x24a8bd(0x16f),'',{'Cookie':_0x41616a});_0x1b80ca[_0x24a8bd(0x171)](_0xaf8039);}for(let _0x531165=0x1;_0x146e93[_0x24a8bd(0x182)](_0x531165,_0x565b6e);_0x531165++){const _0x5f2237=await _0x1b80ca[_0x531165];if(!_0x5f2237?.[_0x24a8bd(0x191)]||_0x146e93[_0x24a8bd(0x150)](_0x5f2237?.[_0x24a8bd(0x18a)],0x0)||!_0x5f2237?.[_0x24a8bd(0x1d8)])continue;for(const _0x47786a in _0x5f2237[_0x24a8bd(0x1d8)]){_0x5e4646[_0x24a8bd(0x171)](_0x5f2237['mems'][_0x47786a]);}}WebGroupData[_0x24a8bd(0x145)][_0x24a8bd(0x186)](_0x215ec3,_0x5e4646),WebGroupData[_0x24a8bd(0x1a4)]['set'](_0x215ec3,Date[_0x24a8bd(0x1c1)]());}else _0x5e4646=_0x5d1951;}catch{return _0x5e4646;}return _0x5e4646;}static async['setGroupNotice'](_0x392f09,_0x242498=''){const _0xd22dad=_0x18028d,_0x203cb9={'tPSsT':_0xd22dad(0x180),'ujjsG':function(_0x5cafb1,_0x4ef4fd){return _0x5cafb1+_0x4ef4fd;},'VVwNH':_0xd22dad(0x1c3),'yOTIe':function(_0x3020bc,_0x53c325){return _0x3020bc||_0x53c325;},'WsAuo':function(_0x5cf6d4,_0x62c187){return _0x5cf6d4+_0x62c187;},'VyiKl':function(_0x445f2d,_0x492ce1){return _0x445f2d+_0x492ce1;},'KrRwC':function(_0x2ef4f6,_0x17e9db){return _0x2ef4f6+_0x17e9db;},'eVSCx':'&bkn=','TOjmr':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}'},_0x1b9cd8=(await NTQQUserApi[_0xd22dad(0x1c9)]([_0xd22dad(0x180)]))[_0x203cb9['tPSsT']],_0x5a7808=await NTQQUserApi[_0xd22dad(0x15e)](),_0x36c62e=_0x203cb9['ujjsG'](_0x203cb9[_0xd22dad(0x1bb)](_0xd22dad(0x1c2)+_0x1b9cd8,';\x20skey=')+_0x5a7808,_0x203cb9[_0xd22dad(0x183)])+selfInfo['uin'];let _0x4d7799=undefined;if(_0x203cb9['yOTIe'](!_0x5a7808,!_0x1b9cd8))return undefined;const _0x98634e=WebApi[_0xd22dad(0x1ad)](_0x5a7808),_0x19d4d6=_0x203cb9[_0xd22dad(0x147)](_0x203cb9[_0xd22dad(0x19d)](_0x203cb9['KrRwC'](_0x203cb9[_0xd22dad(0x19d)](_0xd22dad(0x174),_0x392f09)+_0x203cb9['eVSCx'],_0x98634e),_0xd22dad(0x1d4)),_0x242498)+_0x203cb9[_0xd22dad(0x1a0)],_0xeb8983=_0x203cb9[_0xd22dad(0x147)](_0xd22dad(0x1de),_0x98634e);try{return _0x4d7799=await RequestUtil[_0xd22dad(0x152)](_0xeb8983,_0xd22dad(0x1a7),'',{'Cookie':_0x36c62e}),_0x4d7799;}catch(_0x2c557f){return undefined;}return undefined;}static async['getGrouptNotice'](_0x111adf){const _0x392563=_0x18028d,_0x5b97c7={'fdmxB':_0x392563(0x180),'jMPhW':function(_0x1b5b90,_0x105f0a){return _0x1b5b90+_0x105f0a;},'VgAwE':function(_0x17110f,_0x5c07d8){return _0x17110f+_0x5c07d8;},'USGBA':function(_0x248294,_0x47a38b){return _0x248294+_0x47a38b;},'LrWIE':function(_0x21f36e,_0x1b70b2){return _0x21f36e+_0x1b70b2;},'eSdZD':function(_0x1284ec,_0x51a2fc){return _0x1284ec+_0x51a2fc;},'qgPxG':_0x392563(0x1c2),'kqGMm':_0x392563(0x1d3),'XcZmc':_0x392563(0x1c3),'SpIvP':function(_0x1c4e00,_0x3b4175){return _0x1c4e00||_0x3b4175;},'FudwX':function(_0x46c73f,_0x367588){return _0x46c73f+_0x367588;},'BVNiv':_0x392563(0x1a2),'WYgDC':_0x392563(0x1c5),'rntOH':'GET','XSpFb':function(_0x20f191,_0x420dec){return _0x20f191!==_0x420dec;}},_0x3641b1=(await NTQQUserApi[_0x392563(0x1c9)]([_0x392563(0x180)]))[_0x5b97c7[_0x392563(0x14d)]],_0x2f293a=await NTQQUserApi[_0x392563(0x15e)](),_0x4a5ad9=_0x5b97c7['jMPhW'](_0x5b97c7[_0x392563(0x1c8)](_0x5b97c7[_0x392563(0x1b9)](_0x5b97c7[_0x392563(0x157)](_0x5b97c7[_0x392563(0x192)](_0x5b97c7[_0x392563(0x16b)],_0x3641b1),_0x5b97c7[_0x392563(0x19b)]),_0x2f293a),_0x5b97c7[_0x392563(0x1ca)]),selfInfo[_0x392563(0x1ab)]);let _0x6d350f=undefined;if(_0x5b97c7[_0x392563(0x159)](!_0x2f293a,!_0x3641b1))return undefined;const _0x592d03=WebApi['genBkn'](_0x2f293a),_0x191f4f=_0x5b97c7[_0x392563(0x1b2)](_0x5b97c7[_0x392563(0x1b9)](_0x5b97c7['BVNiv'],_0x592d03),_0x5b97c7[_0x392563(0x140)])+_0x111adf+_0x392563(0x153);try{_0x6d350f=await RequestUtil[_0x392563(0x152)](_0x191f4f,_0x5b97c7[_0x392563(0x1c0)],'',{'Cookie':_0x4a5ad9});if(_0x5b97c7['XSpFb'](_0x6d350f?.['ec'],0x0))return undefined;return _0x6d350f;}catch(_0x4d6165){return undefined;}return undefined;}static['genBkn'](_0x41ae98){const _0x4b6be1=_0x18028d,_0x5093ee={'ecsWj':function(_0x216608,_0x4fc1d2){return _0x216608||_0x4fc1d2;},'clgwi':function(_0x1ddf00,_0x44e314){return _0x1ddf00<_0x44e314;},'xNlTJ':function(_0x101db8,_0x1030dd){return _0x101db8+_0x1030dd;},'PGNjp':function(_0x3e1ab7,_0x4c9948){return _0x3e1ab7<<_0x4c9948;},'tFzKa':function(_0x527341,_0x179edc){return _0x527341&_0x179edc;}};_0x41ae98=_0x5093ee[_0x4b6be1(0x1b1)](_0x41ae98,'');let _0x436d19=0x1505;for(let _0x5d4cfb=0x0;_0x5093ee[_0x4b6be1(0x188)](_0x5d4cfb,_0x41ae98[_0x4b6be1(0x1bc)]);_0x5d4cfb++){const _0x5e5a7b=_0x41ae98[_0x4b6be1(0x179)](_0x5d4cfb);_0x436d19=_0x5093ee[_0x4b6be1(0x149)](_0x5093ee[_0x4b6be1(0x149)](_0x436d19,_0x5093ee['PGNjp'](_0x436d19,0x5)),_0x5e5a7b);}return _0x5093ee[_0x4b6be1(0x187)](_0x436d19,0x7fffffff)[_0x4b6be1(0x178)]();}static async[_0x18028d(0x15f)](_0x401af3,_0x1dbb35){const _0x167917=_0x18028d,_0x1b2831={'SdJLp':function(_0x55d4ab,_0x170a72){return _0x55d4ab+_0x170a72;},'XvmFJ':_0x167917(0x1dd),'UEkAO':'&type=','DlBRM':function(_0x1c57a4,_0x4115ba){return _0x1c57a4===_0x4115ba;},'clRZz':function(_0x322779,_0x47f1e6,_0x36f7d2,_0x39d99b){return _0x322779(_0x47f1e6,_0x36f7d2,_0x39d99b);},'KLWQF':_0x167917(0x17c),'ITjvH':_0x167917(0x180),'xyUiV':function(_0x5bb408,_0x5178be){return _0x5bb408||_0x5178be;},'gqDdm':function(_0x129fe0,_0x3e8319){return _0x129fe0+_0x3e8319;},'pIgCM':_0x167917(0x1c2),'EYqZO':_0x167917(0x1d3),'WsxyO':_0x167917(0x1c3),'QBPKB':_0x167917(0x16c),'DfijF':function(_0x6978b,_0x59001f,_0x4f0ea4){return _0x6978b(_0x59001f,_0x4f0ea4);},'MPtJs':_0x167917(0x197),'CSerG':function(_0x9cbd22,_0x50b8a9){return _0x9cbd22(_0x50b8a9);},'eYKMa':function(_0x5024cc,_0x156362){return _0x5024cc===_0x156362;},'RxrxE':function(_0x2b3422,_0x365ff1){return _0x2b3422===_0x365ff1;},'Jlpva':_0x167917(0x177),'JFySZ':function(_0x42ab6a,_0x169dcf){return _0x42ab6a===_0x169dcf;},'umdsx':'获取群聊炽焰失败','jQBXO':function(_0x46e1de,_0x298214,_0x2771e7){return _0x46e1de(_0x298214,_0x2771e7);},'iPoal':function(_0x4927fd,_0x13e9c2){return _0x4927fd===_0x13e9c2;},'TbUic':function(_0x364513,_0x33c86f){return _0x364513===_0x33c86f;},'HkLqH':_0x167917(0x1aa),'fnMiw':function(_0x460d67,_0xa85252){return _0x460d67===_0xa85252;}},_0x4d5cfe=(await NTQQUserApi['getPSkey']([_0x1b2831[_0x167917(0x143)]]))[_0x1b2831['ITjvH']],_0x55258e=await NTQQUserApi[_0x167917(0x15e)]();if(_0x1b2831[_0x167917(0x1c4)](!_0x55258e,!_0x4d5cfe))return undefined;async function _0x211575(_0x3aa674,_0x1d83ea){const _0x2bb129=_0x167917;let _0x314862=_0x1b2831[_0x2bb129(0x15b)](_0x1b2831['XvmFJ']+_0x3aa674,_0x1b2831[_0x2bb129(0x1d6)])+_0x1d83ea[_0x2bb129(0x178)](),_0x5ccd3d='',_0x28c676;try{_0x5ccd3d=await RequestUtil[_0x2bb129(0x165)](_0x314862,'GET','',{'Cookie':_0x39d2fe});const _0x9871e7=_0x5ccd3d[_0x2bb129(0x1a6)](/window\.__INITIAL_STATE__=(.*?);/);return _0x9871e7&&(_0x28c676=JSON['parse'](_0x9871e7[0x1][_0x2bb129(0x1a8)]())),_0x1b2831[_0x2bb129(0x15c)](_0x1d83ea,0x1)?_0x28c676?.[_0x2bb129(0x1bd)]:_0x28c676?.[_0x2bb129(0x172)];}catch(_0x4b32ba){_0x1b2831[_0x2bb129(0x1c7)](logDebug,_0x1b2831[_0x2bb129(0x151)],_0x314862,_0x4b32ba);}return undefined;}let _0xa3be0b={'group_id':_0x401af3};const _0x39d2fe=_0x1b2831[_0x167917(0x18b)](_0x1b2831[_0x167917(0x18b)](_0x1b2831['gqDdm'](_0x1b2831['SdJLp'](_0x1b2831['SdJLp'](_0x1b2831['pIgCM'],_0x4d5cfe),_0x1b2831[_0x167917(0x1b3)]),_0x55258e)+_0x1b2831[_0x167917(0x160)]+selfInfo[_0x167917(0x1ab)],_0x1b2831[_0x167917(0x18d)]),selfInfo[_0x167917(0x1ab)]);if(_0x1b2831['DlBRM'](_0x1dbb35,WebHonorType[_0x167917(0x1df)])||_0x1dbb35===WebHonorType['ALL'])try{let _0x3ba9e5=await _0x1b2831[_0x167917(0x1b7)](_0x211575,_0x401af3,0x1);if(!_0x3ba9e5)throw new Error(_0x1b2831[_0x167917(0x164)]);_0xa3be0b[_0x167917(0x16a)]={'user_id':_0x3ba9e5[0x0]?.[_0x167917(0x1ab)],'avatar':_0x3ba9e5[0x0]?.[_0x167917(0x17b)],'nickname':_0x3ba9e5[0x0]?.['name'],'day_count':0x0,'description':_0x3ba9e5[0x0]?.['desc']},_0xa3be0b['talkative_list']=[];for(const _0x58e462 of _0x3ba9e5){_0xa3be0b[_0x167917(0x1cc)][_0x167917(0x171)]({'user_id':_0x58e462?.[_0x167917(0x1ab)],'avatar':_0x58e462?.[_0x167917(0x17b)],'description':_0x58e462?.['desc'],'day_count':0x0,'nickname':_0x58e462?.['name']});}}catch(_0x4b6006){_0x1b2831[_0x167917(0x144)](logDebug,_0x4b6006);}if(_0x1b2831['eYKMa'](_0x1dbb35,WebHonorType[_0x167917(0x17e)])||_0x1b2831[_0x167917(0x1ac)](_0x1dbb35,WebHonorType[_0x167917(0x1d7)]))try{let _0x536506=await _0x1b2831['DfijF'](_0x211575,_0x401af3,0x2);if(!_0x536506)throw new Error(_0x1b2831[_0x167917(0x170)]);_0xa3be0b[_0x167917(0x14b)]=[];for(const _0xee4c44 of _0x536506){_0xa3be0b[_0x167917(0x14b)]['push']({'user_id':_0xee4c44?.['uin'],'nickname':_0xee4c44?.[_0x167917(0x194)],'avatar':_0xee4c44?.[_0x167917(0x17b)],'description':_0xee4c44?.['desc']});}}catch(_0x294ca3){logDebug(_0x294ca3);}if(_0x1dbb35===WebHonorType[_0x167917(0x17e)]||_0x1b2831[_0x167917(0x148)](_0x1dbb35,WebHonorType['ALL']))try{let _0x4e2c23=await _0x211575(_0x401af3,0x3);if(!_0x4e2c23)throw new Error(_0x1b2831[_0x167917(0x1dc)]);_0xa3be0b[_0x167917(0x18c)]=[];for(const _0x11f734 of _0x4e2c23){_0xa3be0b['legend_list'][_0x167917(0x171)]({'user_id':_0x11f734?.[_0x167917(0x1ab)],'nickname':_0x11f734?.[_0x167917(0x194)],'avatar':_0x11f734?.['avatar'],'desc':_0x11f734?.[_0x167917(0x1d1)]});}}catch(_0x3669be){_0x1b2831[_0x167917(0x185)](logDebug,_0x1b2831[_0x167917(0x1dc)],_0x3669be);}if(_0x1b2831[_0x167917(0x195)](_0x1dbb35,WebHonorType[_0x167917(0x1cd)])||_0x1b2831['TbUic'](_0x1dbb35,WebHonorType[_0x167917(0x1d7)]))try{let _0x3d56f7=await _0x211575(_0x401af3,0x6);if(!_0x3d56f7)throw new Error(_0x1b2831[_0x167917(0x19e)]);_0xa3be0b[_0x167917(0x14f)]=[];for(const _0x2ea03c of _0x3d56f7){_0xa3be0b['emotion_list']['push']({'user_id':_0x2ea03c?.[_0x167917(0x1ab)],'nickname':_0x2ea03c?.[_0x167917(0x194)],'avatar':_0x2ea03c?.[_0x167917(0x17b)],'desc':_0x2ea03c?.['description']});}}catch(_0x207ada){logDebug(_0x1b2831[_0x167917(0x19e)],_0x207ada);}return(_0x1b2831[_0x167917(0x154)](_0x1dbb35,WebHonorType[_0x167917(0x1cd)])||_0x1b2831[_0x167917(0x19f)](_0x1dbb35,WebHonorType[_0x167917(0x1d7)]))&&(_0xa3be0b[_0x167917(0x193)]=[]),_0xa3be0b;}} \ No newline at end of file +function _0x41b6(){const _0xb29101=['current_talkative','AKgPF','ekPpf','7226728igOMos','OPAlx','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','strong_newbie_list','sBRxc','eEAKw','sYgfe','osbSW','parse','rHEki','&end=','charCodeAt','IsLKS','iPyJk','length','legend_list','XUjEt','TALKACTIVE','1918634ciRxyr','Itsqc','0|4|5|3|2|1','获取群聊炽焰失败','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','actorList','genBkn','1361976GKKytM','WCDju','获取当前群荣耀失败','LEGEND','HttpGetText','AtijQ','push','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','AYYuO','JjWPA','GroupTime','match','GET','lGHSs','MXKCk','ESPxz','IDDvh','sEDvi','CqFbD','GroupData','32978820oRbevt','emotion','nrGtd','talkativeList','YzbwT','trim',';\x20skey=','KrcBK','wTyTD','VKNHz','TPvcQ','lqeWX','mems','get','emotion_list','jIltY','获取群聊之火失败','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','idUXc','ISPXy','aQAaL','GYRjS','eFIgc',';\x20uin=o','piPBR','split','RGtTN','PERFROMER','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','desc','3drwTNX','APGRo','wfYiG','xxsCw','getSkey','cDWRD','vSZrI','setGroupNotice','errcode','获取龙王信息失败','fhUGt','138ixkgLn','hpqRu','QKNhG','POST','&page_start=','dGmTr','performer_list','qun.qq.com','NIlZp','SWCGX','249635YKzPMt','getGroupHonorInfo','&bkn=','bOtjp','AMBKK','&group_code=','6331892MSEnCv','ryfYR','LiMrE','EPmsZ','JjHGO','UsRkZ','ceil','vSYhN','xWZag','CaaeX','rWdxo','hNJfG','set','XTTOe','count','131859yPDPDW','AEWSJ','7jXQqRg','uin','HttpGetJson','ZQxgC','vQRWJ','jwiQN','&text=','name','talkative_list','DwxQL','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','yGWES','SMRsS','description','p_skey=','vFZbQ','STORONGE_NEWBI','CmbRu',';\x20p_uin=o','ALL','ssOVo','avatar','reBxO','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','getPSkey','legend','tfUoc','hJIvg','PrRce','xlIMD','eittS','Mfykq','OnVNR','InTjj','ztdRA','CrpOu','strong_newbie','XJyWS','yDUcT','getGrouptNotice','获取快乐源泉失败'];_0x41b6=function(){return _0xb29101;};return _0x41b6();}const _0x309aaa=_0x5ec4;(function(_0x3246bd,_0x4de492){const _0xc88b97=_0x5ec4,_0x43ccdd=_0x3246bd();while(!![]){try{const _0x11f380=parseInt(_0xc88b97(0x124))/0x1+parseInt(_0xc88b97(0x11d))/0x2+parseInt(_0xc88b97(0xb3))/0x3*(parseInt(_0xc88b97(0xce))/0x4)+parseInt(_0xc88b97(0xc8))/0x5*(parseInt(_0xc88b97(0xbe))/0x6)+-parseInt(_0xc88b97(0xdf))/0x7*(parseInt(_0xc88b97(0x10b))/0x8)+-parseInt(_0xc88b97(0xdd))/0x9+-parseInt(_0xc88b97(0x95))/0xa;if(_0x11f380===_0x4de492)break;else _0x43ccdd['push'](_0x43ccdd['shift']());}catch(_0x494539){_0x43ccdd['push'](_0x43ccdd['shift']());}}}(_0x41b6,0xcc469));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;function _0x5ec4(_0x1cba86,_0x54acbf){const _0x41b67b=_0x41b6();return _0x5ec4=function(_0x5ec428,_0x37548b){_0x5ec428=_0x5ec428-0x8a;let _0x3ea4b0=_0x41b67b[_0x5ec428];return _0x3ea4b0;},_0x5ec4(_0x1cba86,_0x54acbf);}(function(_0x3902ca){const _0x50264c=_0x5ec4,_0x3c8f22={'JhYPH':_0x50264c(0x11f),'jRLKG':'ALL','XTTOe':'all','nrGtd':'EMOTION','vWVQS':_0x50264c(0x96),'CmbRu':_0x50264c(0xef),'sYgfe':_0x50264c(0x103),'wTyTD':_0x50264c(0x127),'ssOVo':_0x50264c(0xf8),'osbSW':_0x50264c(0x11c),'LiMrE':_0x50264c(0xb0),'InTjj':'performer'},_0xa7e3fb=_0x3c8f22['JhYPH'][_0x50264c(0xae)]('|');let _0x223ace=0x0;while(!![]){switch(_0xa7e3fb[_0x223ace++]){case'0':_0x3902ca[_0x3c8f22['jRLKG']]=_0x3c8f22[_0x50264c(0xdb)];continue;case'1':_0x3902ca[_0x3c8f22[_0x50264c(0x97)]]=_0x3c8f22['vWVQS'];continue;case'2':_0x3902ca[_0x3c8f22[_0x50264c(0xf0)]]=_0x3c8f22[_0x50264c(0x111)];continue;case'3':_0x3902ca[_0x3c8f22[_0x50264c(0x9d)]]=_0x3c8f22[_0x50264c(0xf3)];continue;case'4':_0x3902ca[_0x3c8f22[_0x50264c(0x112)]]='talkative';continue;case'5':_0x3902ca[_0x3c8f22[_0x50264c(0xd0)]]=_0x3c8f22[_0x50264c(0x100)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x100206,_0x3fb5af){const _0x2b3aaa=_0x5ec4,_0x446df9={'vQRWJ':_0x2b3aaa(0xc5),'YzbwT':function(_0x26a3cd,_0x69963d){return _0x26a3cd+_0x69963d;},'iPyJk':function(_0x53da0e,_0x373431){return _0x53da0e+_0x373431;},'sEDvi':function(_0x211e7d,_0x3bef4c){return _0x211e7d+_0x3bef4c;},'jwiQN':function(_0x191f64,_0xe5f316){return _0x191f64+_0xe5f316;},'sBRxc':'p_skey=','AMBKK':_0x2b3aaa(0x9b),'piPBR':_0x2b3aaa(0xf1),'hJIvg':function(_0x5a05a7,_0x2affb4){return _0x5a05a7||_0x2affb4;},'NIlZp':function(_0x292fdd,_0x25af54){return _0x292fdd+_0x25af54;},'xnTHE':_0x2b3aaa(0x121),'dGmTr':_0x2b3aaa(0xc2),'aQAaL':'&page_limit=20','cWYUd':function(_0x4d581c,_0x5af241){return _0x4d581c!==_0x5af241;}},_0x29082d=(await NTQQUserApi[_0x2b3aaa(0xf7)]([_0x446df9[_0x2b3aaa(0xe3)]]))[_0x446df9[_0x2b3aaa(0xe3)]],_0x11679a=await NTQQUserApi[_0x2b3aaa(0xb7)](),_0x3c8d3d=_0x446df9[_0x2b3aaa(0x99)](_0x446df9[_0x2b3aaa(0x99)](_0x446df9['YzbwT'](_0x446df9[_0x2b3aaa(0x118)](_0x446df9[_0x2b3aaa(0x118)](_0x446df9[_0x2b3aaa(0x92)](_0x446df9[_0x2b3aaa(0xe4)](_0x446df9[_0x2b3aaa(0x10f)],_0x29082d),_0x446df9[_0x2b3aaa(0xcc)]),_0x11679a),_0x446df9[_0x2b3aaa(0xad)]),selfInfo[_0x2b3aaa(0xe0)]),_0x2b3aaa(0xac)),selfInfo[_0x2b3aaa(0xe0)]);if(_0x446df9[_0x2b3aaa(0xfa)](!_0x11679a,!_0x29082d))return undefined;const _0x1b14db=WebApi[_0x2b3aaa(0x123)](_0x11679a),_0x53be71=_0x446df9[_0x2b3aaa(0xc6)](_0x446df9[_0x2b3aaa(0x118)](_0x446df9[_0x2b3aaa(0xe4)](_0x446df9[_0x2b3aaa(0x99)](_0x446df9['xnTHE'],_0x1b14db),_0x2b3aaa(0xcd)),_0x100206)+_0x446df9[_0x2b3aaa(0xc3)],_0x3fb5af)+_0x446df9[_0x2b3aaa(0xa9)];let _0x2ff91b;try{_0x2ff91b=await RequestUtil[_0x2b3aaa(0xe1)](_0x53be71,'GET','',{'Cookie':_0x3c8d3d});}catch{return undefined;}if(_0x446df9['cWYUd'](_0x2ff91b['retcode'],0x0))return undefined;return _0x2ff91b;}static async['getGroupMembers'](_0x37bf9b,_0x2e5bc2=!![]){const _0x264783=_0x5ec4,_0x264109={'Mfykq':function(_0x38f6cb,_0x184339){return _0x38f6cb>_0x184339;},'EPmsZ':function(_0x14291d,_0x5e3d77){return _0x14291d-_0x5e3d77;},'rWdxo':function(_0x350e23,_0x3356d9){return _0x350e23*_0x3356d9;},'jIltY':_0x264783(0xc5),'vSYhN':function(_0x22a5e5,_0x17ba26){return _0x22a5e5+_0x17ba26;},'GYRjS':function(_0x54d090,_0x227f14){return _0x54d090+_0x227f14;},'CqFbD':';\x20skey=','cSkQC':_0x264783(0xf1),'APGRo':function(_0x170530,_0x53b568){return _0x170530+_0x53b568;},'TPvcQ':function(_0x441da1,_0x32008c){return _0x441da1+_0x32008c;},'yGWES':_0x264783(0x12b),'nQxEL':function(_0x2c18f5,_0x11f311){return _0x2c18f5!==_0x11f311;},'IsLKS':function(_0x2a8965,_0x4fc41c){return _0x2a8965+_0x4fc41c;},'VVRgJ':function(_0x400c57,_0x4c84e4){return _0x400c57+_0x4c84e4;},'RGtTN':function(_0xa1b14b,_0x3c359b){return _0xa1b14b+_0x3c359b;},'ZQxgC':_0x264783(0xb1),'CrpOu':function(_0x5afbb0,_0x161c1c){return _0x5afbb0*_0x161c1c;},'XUjEt':'&sort=1&gc=','vFZbQ':_0x264783(0xca),'KrcBK':'POST','ISPXy':function(_0x554f5d,_0x425804){return _0x554f5d<=_0x425804;},'VKNHz':function(_0x2d3d5b,_0x3adc36){return _0x2d3d5b!==_0x3adc36;}};let _0x3260f7=new Array();try{let _0x310558=WebGroupData['GroupData'][_0x264783(0xa2)](_0x37bf9b),_0x53e9ff=WebGroupData['GroupTime'][_0x264783(0xa2)](_0x37bf9b);if(!_0x53e9ff||_0x264109[_0x264783(0xfe)](_0x264109[_0x264783(0xd1)](Date['now'](),_0x53e9ff),_0x264109[_0x264783(0xd8)](0x708,0x3e8))||!_0x2e5bc2){const _0xf6cbb6=(await NTQQUserApi[_0x264783(0xf7)]([_0x264109[_0x264783(0xa4)]]))[_0x264109['jIltY']],_0x3d1745=await NTQQUserApi[_0x264783(0xb7)](),_0x164a67=_0x264109['vSYhN'](_0x264109[_0x264783(0xaa)](_0x264109['vSYhN'](_0x264109[_0x264783(0xd5)](_0x264783(0xed)+_0xf6cbb6,_0x264109[_0x264783(0x93)]),_0x3d1745),_0x264109['cSkQC']),selfInfo['uin']);if(!_0x3d1745||!_0xf6cbb6)return _0x3260f7;const _0x7bff50=WebApi[_0x264783(0x123)](_0x3d1745),_0x51aeb5=[],_0x1fc2d7=await RequestUtil[_0x264783(0xe1)](_0x264109[_0x264783(0xb4)](_0x264109[_0x264783(0x9f)](_0x264109[_0x264783(0xd5)](_0x264109[_0x264783(0xea)],_0x37bf9b),'&bkn='),_0x7bff50),_0x264783(0xc1),'',{'Cookie':_0x164a67});if(!_0x1fc2d7?.[_0x264783(0xdc)]||_0x264109['nQxEL'](_0x1fc2d7?.['errcode'],0x0)||!_0x1fc2d7?.[_0x264783(0xa1)])return[];else for(const _0x3ba89b in _0x1fc2d7[_0x264783(0xa1)]){_0x3260f7[_0x264783(0x12a)](_0x1fc2d7['mems'][_0x3ba89b]);}const _0x32512e=Math[_0x264783(0xd4)](_0x1fc2d7[_0x264783(0xdc)]/0x28);for(let _0x252ef7=0x2;_0x252ef7<=_0x32512e;_0x252ef7++){const _0x7233d0=RequestUtil[_0x264783(0xe1)](_0x264109[_0x264783(0xd5)](_0x264109[_0x264783(0x117)](_0x264109['VVRgJ'](_0x264109[_0x264783(0xd5)](_0x264109[_0x264783(0xaf)](_0x264109[_0x264783(0xe2)],(_0x252ef7-0x1)*0x28),_0x264783(0x115)),_0x264109[_0x264783(0x102)](_0x252ef7,0x28)),_0x264109[_0x264783(0x11b)])+_0x37bf9b,_0x264109[_0x264783(0xee)])+_0x7bff50,_0x264109[_0x264783(0x9c)],'',{'Cookie':_0x164a67});_0x51aeb5['push'](_0x7233d0);}for(let _0x514f27=0x1;_0x264109[_0x264783(0xa8)](_0x514f27,_0x32512e);_0x514f27++){const _0x59b7ee=await _0x51aeb5[_0x514f27];if(!_0x59b7ee?.[_0x264783(0xdc)]||_0x264109[_0x264783(0x9e)](_0x59b7ee?.[_0x264783(0xbb)],0x0)||!_0x59b7ee?.[_0x264783(0xa1)])continue;for(const _0x133aae in _0x59b7ee['mems']){_0x3260f7[_0x264783(0x12a)](_0x59b7ee['mems'][_0x133aae]);}}WebGroupData[_0x264783(0x94)][_0x264783(0xda)](_0x37bf9b,_0x3260f7),WebGroupData[_0x264783(0x8b)]['set'](_0x37bf9b,Date['now']());}else _0x3260f7=_0x310558;}catch{return _0x3260f7;}return _0x3260f7;}static async[_0x309aaa(0xba)](_0x41a7a9,_0x2be90a=''){const _0x147d08=_0x309aaa,_0x1d761f={'IDDvh':'qun.qq.com','JjHGO':function(_0x4a45e0,_0x1fef74){return _0x4a45e0+_0x1fef74;},'rHEki':function(_0x1f18c2,_0x4ed39a){return _0x1f18c2+_0x4ed39a;},'ESPxz':function(_0x1058dd,_0x1e6111){return _0x1058dd+_0x1e6111;},'bOtjp':'p_skey=','ZDXdG':_0x147d08(0x9b),'ekPpf':';\x20p_uin=o','CaaeX':function(_0x362dac,_0x48d4b5){return _0x362dac||_0x48d4b5;},'eFIgc':function(_0x45a626,_0x263c3a){return _0x45a626+_0x263c3a;},'PrRce':function(_0x108130,_0x11a934){return _0x108130+_0x11a934;},'iAXza':function(_0x49e256,_0x2e5e77){return _0x49e256+_0x2e5e77;},'lqeWX':function(_0x548423,_0x1137ac){return _0x548423+_0x1137ac;},'vSZrI':'qid=','zfzsv':_0x147d08(0xca),'AKgPF':_0x147d08(0xe5),'eittS':_0x147d08(0xa6),'QBeQu':'GET'},_0x124063=(await NTQQUserApi['getPSkey']([_0x1d761f['IDDvh']]))[_0x1d761f[_0x147d08(0x91)]],_0x1c0a2c=await NTQQUserApi[_0x147d08(0xb7)](),_0x4194f4=_0x1d761f[_0x147d08(0xd2)](_0x1d761f['rHEki'](_0x1d761f[_0x147d08(0x114)](_0x1d761f[_0x147d08(0x90)](_0x1d761f[_0x147d08(0xcb)]+_0x124063,_0x1d761f['ZDXdG']),_0x1c0a2c),_0x1d761f[_0x147d08(0x10a)]),selfInfo[_0x147d08(0xe0)]);let _0x1289da=undefined;if(_0x1d761f[_0x147d08(0xd7)](!_0x1c0a2c,!_0x124063))return undefined;const _0x339a8d=WebApi[_0x147d08(0x123)](_0x1c0a2c),_0x4d4644=_0x1d761f[_0x147d08(0xab)](_0x1d761f[_0x147d08(0xfb)](_0x1d761f[_0x147d08(0xfb)](_0x1d761f['iAXza'](_0x1d761f[_0x147d08(0xa0)](_0x1d761f[_0x147d08(0xb9)],_0x41a7a9)+_0x1d761f['zfzsv'],_0x339a8d),_0x1d761f[_0x147d08(0x109)]),_0x2be90a),_0x147d08(0xf6)),_0x3ce019=_0x1d761f[_0x147d08(0x90)](_0x1d761f[_0x147d08(0xfd)],_0x339a8d);try{return _0x1289da=await RequestUtil[_0x147d08(0xe1)](_0x3ce019,_0x1d761f['QBeQu'],'',{'Cookie':_0x4194f4}),_0x1289da;}catch(_0xf009bb){return undefined;}return undefined;}static async[_0x309aaa(0x106)](_0x5af416){const _0x1a3f02=_0x309aaa,_0x2dd157={'xWZag':'qun.qq.com','AtijQ':function(_0x8790ac,_0x5e5dc9){return _0x8790ac+_0x5e5dc9;},'bkTUg':_0x1a3f02(0xed),'DwxQL':_0x1a3f02(0x9b),'eEAKw':_0x1a3f02(0xf1),'OnVNR':function(_0x2018f6,_0x7e6d){return _0x2018f6||_0x7e6d;},'Dijsa':function(_0x2cfc35,_0x37670f){return _0x2cfc35+_0x37670f;},'XZhke':_0x1a3f02(0xe9),'MXKCk':'&qid=','tfUoc':_0x1a3f02(0x10d),'rawmV':_0x1a3f02(0x8d),'ryfYR':function(_0x831d01,_0x38f16a){return _0x831d01!==_0x38f16a;}},_0x1f6523=(await NTQQUserApi[_0x1a3f02(0xf7)]([_0x2dd157[_0x1a3f02(0xd6)]]))[_0x2dd157[_0x1a3f02(0xd6)]],_0x4f7af5=await NTQQUserApi['getSkey'](),_0x423d15=_0x2dd157[_0x1a3f02(0x129)](_0x2dd157[_0x1a3f02(0x129)](_0x2dd157[_0x1a3f02(0x129)](_0x2dd157['bkTUg'],_0x1f6523)+_0x2dd157[_0x1a3f02(0xe8)]+_0x4f7af5,_0x2dd157[_0x1a3f02(0x110)]),selfInfo[_0x1a3f02(0xe0)]);let _0x939d3f=undefined;if(_0x2dd157[_0x1a3f02(0xff)](!_0x4f7af5,!_0x1f6523))return undefined;const _0x3db5c4=WebApi[_0x1a3f02(0x123)](_0x4f7af5),_0x2c29c4=_0x2dd157[_0x1a3f02(0x129)](_0x2dd157['Dijsa'](_0x2dd157['XZhke'],_0x3db5c4),_0x2dd157[_0x1a3f02(0x8f)])+_0x5af416+_0x2dd157[_0x1a3f02(0xf9)];try{_0x939d3f=await RequestUtil[_0x1a3f02(0xe1)](_0x2c29c4,_0x2dd157['rawmV'],'',{'Cookie':_0x423d15});if(_0x2dd157[_0x1a3f02(0xcf)](_0x939d3f?.['ec'],0x0))return undefined;return _0x939d3f;}catch(_0x44c42a){return undefined;}return undefined;}static[_0x309aaa(0x123)](_0xff8a96){const _0x117ac8=_0x309aaa,_0x45539f={'wfYiG':function(_0x16fc38,_0x3c3528){return _0x16fc38<_0x3c3528;},'Itsqc':function(_0x38daa3,_0x5260a4){return _0x38daa3+_0x5260a4;},'reBxO':function(_0x1b2a8f,_0x27cf95){return _0x1b2a8f<<_0x27cf95;}};_0xff8a96=_0xff8a96||'';let _0x133fdf=0x1505;for(let _0x159b03=0x0;_0x45539f[_0x117ac8(0xb5)](_0x159b03,_0xff8a96[_0x117ac8(0x119)]);_0x159b03++){const _0x9ac271=_0xff8a96[_0x117ac8(0x116)](_0x159b03);_0x133fdf=_0x45539f[_0x117ac8(0x11e)](_0x133fdf+_0x45539f[_0x117ac8(0xf5)](_0x133fdf,0x5),_0x9ac271);}return(_0x133fdf&0x7fffffff)['toString']();}static async[_0x309aaa(0xc9)](_0x1910db,_0x1cf2e3){const _0xbb2cef=_0x309aaa,_0xfde054={'AYYuO':function(_0x40e092,_0x4c6253){return _0x40e092+_0x4c6253;},'QKNhG':function(_0x11e8fe,_0x5cdefd){return _0x11e8fe+_0x5cdefd;},'fhUGt':'https://qun.qq.com/interactive/honorlist?gc=','Yikab':'&type=','SWCGX':_0xbb2cef(0x8d),'YHftV':function(_0x594a9e,_0x569066,_0x5210e2,_0x2c658f){return _0x594a9e(_0x569066,_0x5210e2,_0x2c658f);},'lGHSs':_0xbb2cef(0x126),'hpqRu':_0xbb2cef(0xc5),'XJyWS':function(_0x23c163,_0x51452a){return _0x23c163||_0x51452a;},'JjWPA':function(_0xb3cc47,_0x44b403){return _0xb3cc47+_0x44b403;},'BUsSs':function(_0x8b0237,_0x84d12c){return _0x8b0237+_0x84d12c;},'cDWRD':function(_0x2331fe,_0x2f4f00){return _0x2331fe+_0x2f4f00;},'hNJfG':_0xbb2cef(0xed),'WCDju':';\x20p_uin=o','xlIMD':_0xbb2cef(0xac),'MgYdD':function(_0x563b26,_0x33775b){return _0x563b26===_0x33775b;},'goCvm':function(_0x1ab025,_0x41a509){return _0x1ab025===_0x41a509;},'UsRkZ':function(_0x501c8d,_0x404fa8,_0x9568f2){return _0x501c8d(_0x404fa8,_0x9568f2);},'AEWSJ':_0xbb2cef(0xbc),'yDUcT':function(_0xdd58e2,_0x998ddf){return _0xdd58e2===_0x998ddf;},'SMRsS':_0xbb2cef(0xa5),'ztdRA':function(_0x105b7e,_0x11ab15){return _0x105b7e===_0x11ab15;},'xxsCw':_0xbb2cef(0x120),'OPAlx':function(_0x5189aa,_0x12d112,_0x39d1c0){return _0x5189aa(_0x12d112,_0x39d1c0);},'pSCoh':function(_0x1db392,_0x25af61){return _0x1db392===_0x25af61;},'idUXc':function(_0x289cdb,_0x2258c4){return _0x289cdb===_0x2258c4;},'RUPev':_0xbb2cef(0x107)},_0x282867=(await NTQQUserApi[_0xbb2cef(0xf7)]([_0xfde054[_0xbb2cef(0xbf)]]))[_0xbb2cef(0xc5)],_0x27e4a0=await NTQQUserApi[_0xbb2cef(0xb7)]();if(_0xfde054[_0xbb2cef(0x104)](!_0x27e4a0,!_0x282867))return undefined;async function _0x19d756(_0x12f710,_0x1a44fe){const _0x5dc1a4=_0xbb2cef;let _0x2979c4=_0xfde054[_0x5dc1a4(0x12c)](_0xfde054[_0x5dc1a4(0x12c)](_0xfde054['QKNhG'](_0xfde054[_0x5dc1a4(0xbd)],_0x12f710),_0xfde054['Yikab']),_0x1a44fe['toString']()),_0x54a3d0='',_0x5555bc;try{_0x54a3d0=await RequestUtil[_0x5dc1a4(0x128)](_0x2979c4,_0xfde054[_0x5dc1a4(0xc7)],'',{'Cookie':_0x3b5bee});const _0x1d4c01=_0x54a3d0[_0x5dc1a4(0x8c)](/window\.__INITIAL_STATE__=(.*?);/);return _0x1d4c01&&(_0x5555bc=JSON[_0x5dc1a4(0x113)](_0x1d4c01[0x1][_0x5dc1a4(0x9a)]())),_0x1a44fe===0x1?_0x5555bc?.[_0x5dc1a4(0x98)]:_0x5555bc?.[_0x5dc1a4(0x122)];}catch(_0x1f99e2){_0xfde054['YHftV'](logDebug,_0xfde054[_0x5dc1a4(0x8e)],_0x2979c4,_0x1f99e2);}return undefined;}let _0x544a15={'group_id':_0x1910db};const _0x3b5bee=_0xfde054[_0xbb2cef(0xc0)](_0xfde054[_0xbb2cef(0xc0)](_0xfde054[_0xbb2cef(0x8a)](_0xfde054['BUsSs'](_0xfde054[_0xbb2cef(0xb8)](_0xfde054[_0xbb2cef(0xd9)],_0x282867),_0xbb2cef(0x9b)),_0x27e4a0)+_0xfde054[_0xbb2cef(0x125)]+selfInfo[_0xbb2cef(0xe0)],_0xfde054[_0xbb2cef(0xfc)]),selfInfo[_0xbb2cef(0xe0)]);if(_0xfde054['MgYdD'](_0x1cf2e3,WebHonorType[_0xbb2cef(0x11c)])||_0xfde054['goCvm'](_0x1cf2e3,WebHonorType[_0xbb2cef(0xf2)]))try{let _0x39783d=await _0xfde054[_0xbb2cef(0xd3)](_0x19d756,_0x1910db,0x1);if(!_0x39783d)throw new Error(_0xfde054[_0xbb2cef(0xde)]);_0x544a15[_0xbb2cef(0x108)]={'user_id':_0x39783d[0x0]?.[_0xbb2cef(0xe0)],'avatar':_0x39783d[0x0]?.[_0xbb2cef(0xf4)],'nickname':_0x39783d[0x0]?.[_0xbb2cef(0xe6)],'day_count':0x0,'description':_0x39783d[0x0]?.[_0xbb2cef(0xb2)]},_0x544a15['talkative_list']=[];for(const _0x415889 of _0x39783d){_0x544a15[_0xbb2cef(0xe7)][_0xbb2cef(0x12a)]({'user_id':_0x415889?.[_0xbb2cef(0xe0)],'avatar':_0x415889?.[_0xbb2cef(0xf4)],'description':_0x415889?.[_0xbb2cef(0xb2)],'day_count':0x0,'nickname':_0x415889?.[_0xbb2cef(0xe6)]});}}catch(_0x34e247){logDebug(_0x34e247);}if(_0xfde054[_0xbb2cef(0x105)](_0x1cf2e3,WebHonorType['PERFROMER'])||_0xfde054['yDUcT'](_0x1cf2e3,WebHonorType[_0xbb2cef(0xf2)]))try{let _0x4d07f1=await _0xfde054[_0xbb2cef(0xd3)](_0x19d756,_0x1910db,0x2);if(!_0x4d07f1)throw new Error(_0xfde054[_0xbb2cef(0xeb)]);_0x544a15['performer_list']=[];for(const _0x2f631a of _0x4d07f1){_0x544a15[_0xbb2cef(0xc4)]['push']({'user_id':_0x2f631a?.['uin'],'nickname':_0x2f631a?.[_0xbb2cef(0xe6)],'avatar':_0x2f631a?.[_0xbb2cef(0xf4)],'description':_0x2f631a?.['desc']});}}catch(_0x3924b5){logDebug(_0x3924b5);}if(_0xfde054[_0xbb2cef(0x101)](_0x1cf2e3,WebHonorType['PERFROMER'])||_0x1cf2e3===WebHonorType['ALL'])try{let _0x593ccc=await _0x19d756(_0x1910db,0x3);if(!_0x593ccc)throw new Error(_0xfde054[_0xbb2cef(0xb6)]);_0x544a15[_0xbb2cef(0x11a)]=[];for(const _0x44e38e of _0x593ccc){_0x544a15[_0xbb2cef(0x11a)][_0xbb2cef(0x12a)]({'user_id':_0x44e38e?.[_0xbb2cef(0xe0)],'nickname':_0x44e38e?.[_0xbb2cef(0xe6)],'avatar':_0x44e38e?.[_0xbb2cef(0xf4)],'desc':_0x44e38e?.[_0xbb2cef(0xec)]});}}catch(_0x9dcc21){_0xfde054[_0xbb2cef(0x10c)](logDebug,_0xbb2cef(0x120),_0x9dcc21);}if(_0xfde054['pSCoh'](_0x1cf2e3,WebHonorType['EMOTION'])||_0xfde054[_0xbb2cef(0xa7)](_0x1cf2e3,WebHonorType[_0xbb2cef(0xf2)]))try{let _0xde96b6=await _0xfde054[_0xbb2cef(0xd3)](_0x19d756,_0x1910db,0x6);if(!_0xde96b6)throw new Error(_0xfde054['RUPev']);_0x544a15[_0xbb2cef(0xa3)]=[];for(const _0x42bd72 of _0xde96b6){_0x544a15[_0xbb2cef(0xa3)][_0xbb2cef(0x12a)]({'user_id':_0x42bd72?.[_0xbb2cef(0xe0)],'nickname':_0x42bd72?.[_0xbb2cef(0xe6)],'avatar':_0x42bd72?.['avatar'],'desc':_0x42bd72?.['description']});}}catch(_0x413548){_0xfde054['UsRkZ'](logDebug,_0xbb2cef(0x107),_0x413548);}return(_0x1cf2e3===WebHonorType['EMOTION']||_0xfde054['ztdRA'](_0x1cf2e3,WebHonorType[_0xbb2cef(0xf2)]))&&(_0x544a15[_0xbb2cef(0x10e)]=[]),_0x544a15;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 3fe26884..b89b9aec 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x44f917=_0x1bfd;function _0x5170(){const _0x1cd7fd=['engine','getBuddyList','2558689aRqGuK','onQRCodeGetPicture','V1_WIN_NQ_','onBAe','getQRCodePicture','NodeQQNTWrapperUtil','set','prOGk','packet_sent','SmsnZ','name','dZtVT','undefined','assign','onMemberInfoChange','onRecvSysMsg','infos','mCRPp','init\x20failed\x20','OzUrn','oDbNn','NodeIKernelSessionListener','onUserLoggedIn','isQuickLogin','iTXfk','map','vqlAW','buddyList','FGpPL','启动失败:\x20','NodeIDependsAdapter','fileLogLevel','initWithDeskTopConfig','3043805QKTEhB','快速登录失败\x20','getProfileService','1345392izPMxw','getBuddyService','forEach','passwordLogin','getQuickLoginList','hex','vCFMd','fileLog','Windows\x2010\x20Pro','initSession','MATUv','curVersion','has','bxlld','UpAkg','aQVPA','NodeIDispatcherAdapter','uid','groupMemberList_MainWindow','loginErrorInfo','AOmKM','then','WHbAn','floor','680073UxVYda','onGroupListUpdate','get','find','bfvyF','GuisX','NodeIKernelBuddyListener','split','BuddyListener','consoleLogLevel','QKUBV','NodeIKernelMsgListener','onQRCodeSessionFailed','md5','[KickedOffLine]\x20[','base64','AzIys','session','BXiWI','devUid','1920978OPlxrG','uin','push','length','onLoginFailed','getMsgService','xRZVn','puvDf','addKernelLoginListener','createHash','tipsTitle','mufiH','1265886IezeoE','12AxjJyQ','gskME','NBCCw','快速登录不可用','kliMX','update','dataPathGlobal','util',')已登录,无法重复登录','ARzPu','gtRVr','UJhUh','digest','IzOAi','sBBVL','iVwaK','onLoginSuccessFuncList','ProfileListener','pngBase64QrcodeData','SbwkQ','startNT','onAddSendMsg','ydaZD','qrLogin','init','proxyHandler','8BMTEiS','MsgListener','addListener',')\x20在线状态变更','getNextMemberList','uNpwz','dataPath','addKernelGroupListener','onProfileDetailInfoChanged','replace','onLineDev','NodeIQQNTWrapperSession','getNTUserDataInfoConfig','NodeIKernelProfileListener','onSessionInitComplete','EDxfr','-v2.db','yrkwX','账号设备(','UVdMy','initConfig','loginListener','tEJvc','GIiAw','712812wQzTBN','message_sent','createMemberListScene','tipsDesc','last_message_time','loginService','packet_received','HOEYI','memberCount','./nt_qq/global','数据库初始化失败','getGroupService','getLoginList','constructor','WjFfo','isDelete','stringify','now','onKickedOffLine','result','catch','20pSzfiU','./.config/QQ','rmKXO','onRecvMsg','mkdirSync','./NapCat/data','NodeIKernelLoginService','NodeIKernelLoginListener','140022008','resolve','FNdOv','groupCode','quickLogin','message_received','hjNQb','GroupListener','DbYcz','homedir','quickLoginWithUin','initSession\x20failed'];_0x5170=function(){return _0x1cd7fd;};return _0x5170();}(function(_0x19013b,_0x473ae4){const _0x4785d2=_0x1bfd,_0x59d26a=_0x19013b();while(!![]){try{const _0x38dee4=parseInt(_0x4785d2(0x20a))/0x1+parseInt(_0x4785d2(0x259))/0x2+parseInt(_0x4785d2(0x271))/0x3*(-parseInt(_0x4785d2(0x292))/0x4)+-parseInt(_0x4785d2(0x256))/0x5+parseInt(_0x4785d2(0x291))/0x6+-parseInt(_0x4785d2(0x235))/0x7*(parseInt(_0x4785d2(0x2ac))/0x8)+parseInt(_0x4785d2(0x285))/0x9*(parseInt(_0x4785d2(0x21f))/0xa);if(_0x38dee4===_0x473ae4)break;else _0x59d26a['push'](_0x59d26a['shift']());}catch(_0x7fe30f){_0x59d26a['push'](_0x59d26a['shift']());}}}(_0x5170,0x5a174));import _0x539542 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x52817d from'node:path';function _0x1bfd(_0x2c550c,_0x215743){const _0x517009=_0x5170();return _0x1bfd=function(_0x1bfdfb,_0x4dc42d){_0x1bfdfb=_0x1bfdfb-0x1f3;let _0x58d5d6=_0x517009[_0x1bfdfb];return _0x58d5d6;},_0x1bfd(_0x2c550c,_0x215743);}import _0x90c7a from'node:os';import _0x4f990f 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 _0x10d0f0 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x44f917(0x282)];[_0x44f917(0x299)];[_0x44f917(0x233)];[_0x44f917(0x207)];[_0x44f917(0x20f)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x584407=_0x44f917,VXIKdb={'bkUkl':function(callee,param1){return callee(param1);},'UpAkg':function(x,y){return x===y;},'UJhUh':_0x584407(0x241)};if(VXIKdb[_0x584407(0x267)](typeof target[prop],VXIKdb[_0x584407(0x29d)]))return(...args)=>{const _0x24844a=_0x584407;VXIKdb['bkUkl'](logDebug,target['constructor'][_0x24844a(0x23f)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x584407(0x273)](target,prop,receiver);}};constructor(){const _0x386fad=_0x44f917,_0x476558={'gtRVr':function(_0x4af76f,_0x552464){return _0x4af76f+_0x552464;},'OzUrn':function(_0x101b8f,_0x38c9ec){return _0x101b8f+_0x38c9ec;},'GIiAw':_0x386fad(0x29a),'FGpPL':function(_0x5b4302,_0x14681f,_0x3bb0fa){return _0x5b4302(_0x14681f,_0x3bb0fa);},'rmKXO':_0x386fad(0x214),'yrkwX':function(_0x4da5cb,_0x30c528,_0x5e3fbd){return _0x4da5cb(_0x30c528,_0x5e3fbd);},'mCRPp':function(_0x11a942,_0x14ffba){return _0x11a942(_0x14ffba);},'nExeF':_0x386fad(0x224),'sllsR':'本账号数据/缓存目录:','vkNXI':function(_0x3a0412,_0x473e35,_0x14da72){return _0x3a0412(_0x473e35,_0x14da72);},'vCFMd':function(_0x188384,_0x341785,_0x3ab62e){return _0x188384(_0x341785,_0x3ab62e);},'MATUv':'登录失败','aQVPA':function(_0x87465b,_0x5e3a2c){return _0x87465b==_0x5e3a2c;}};this[_0x386fad(0x233)]=new _0x539542['NodeIQQNTWrapperEngine'](),this[_0x386fad(0x299)]=new _0x539542[(_0x386fad(0x23a))](),this[_0x386fad(0x20f)]=new _0x539542[(_0x386fad(0x225))](),this[_0x386fad(0x282)]=new _0x539542[(_0x386fad(0x1fd))](),this[_0x386fad(0x207)]=new LoginListener(),this[_0x386fad(0x207)][_0x386fad(0x24b)]=_0x546feb=>{const _0x4bb5c3=_0x386fad;logError(_0x476558[_0x4bb5c3(0x29c)](_0x476558[_0x4bb5c3(0x248)]('当前账号(',_0x546feb),_0x476558[_0x4bb5c3(0x209)]));},this[_0x386fad(0x207)]['onQRCodeLoginSucceed']=_0x24608f=>{const _0x74d672=_0x386fad;this[_0x74d672(0x262)](_0x24608f[_0x74d672(0x286)],_0x24608f['uid'])['then'](_0x10f6b3=>{const _0x4bb48a=_0x74d672,_0x25d1bf={'SmsnZ':function(_0x73e811,_0x22cd6f,_0x1d2750){const _0x19fc8a=_0x1bfd;return _0x476558[_0x19fc8a(0x251)](_0x73e811,_0x22cd6f,_0x1d2750);},'xRZVn':_0x476558[_0x4bb48a(0x221)]};selfInfo['uin']=_0x24608f['uin'],selfInfo[_0x4bb48a(0x26a)]=_0x24608f[_0x4bb48a(0x26a)],napCatConfig['read'](),_0x476558[_0x4bb48a(0x203)](setLogLevel,napCatConfig[_0x4bb48a(0x254)],napCatConfig[_0x4bb48a(0x27a)]),enableFileLog(napCatConfig[_0x4bb48a(0x260)]),_0x476558[_0x4bb48a(0x246)](enableConsoleLog,napCatConfig['consoleLog']),setLogSelfInfo(selfInfo);const _0x1da33f=_0x52817d['resolve'](this[_0x4bb48a(0x1f8)],_0x476558['nExeF']);_0x4f990f[_0x4bb48a(0x223)](_0x1da33f,{'recursive':!![]}),_0x476558['FGpPL'](logDebug,_0x476558['sllsR'],_0x1da33f),dbUtil[_0x4bb48a(0x2aa)](_0x52817d[_0x4bb48a(0x228)](_0x1da33f,'./'+_0x24608f[_0x4bb48a(0x286)]+_0x4bb48a(0x202)))[_0x4bb48a(0x26e)](()=>{const _0x756eac=_0x4bb48a,_0x72464d={'iTXfk':function(_0x32e4ee,_0x14f459){return _0x32e4ee instanceof _0x14f459;}};this['initDataListener'](),this[_0x756eac(0x2a2)][_0x756eac(0x24e)](_0x226af0=>{new Promise((_0x2d2a73,_0x89cf6a)=>{const _0x2b30c5=_0x1bfd,_0x41b494=_0x226af0(_0x24608f[_0x2b30c5(0x286)],_0x24608f[_0x2b30c5(0x26a)]);_0x72464d[_0x2b30c5(0x24d)](_0x41b494,Promise)&&_0x41b494[_0x2b30c5(0x26e)](_0x2d2a73)[_0x2b30c5(0x21e)](_0x89cf6a);})['then']();});})[_0x4bb48a(0x21e)](_0x313f15=>{const _0x311ebf=_0x4bb48a;_0x25d1bf[_0x311ebf(0x23e)](logError,_0x25d1bf[_0x311ebf(0x28b)],_0x313f15);});})['catch'](_0x69c03c=>{const _0x3f21d9=_0x74d672;_0x476558['vkNXI'](logError,_0x3f21d9(0x232),_0x69c03c);throw new Error(_0x3f21d9(0x252)+JSON[_0x3f21d9(0x21a)](_0x69c03c));});},this[_0x386fad(0x207)][_0x386fad(0x27d)]=(_0x40c0dc,_0x255d5a,_0x350362)=>{const _0x5d94b3=_0x386fad;_0x476558[_0x5d94b3(0x25f)](logError,_0x476558[_0x5d94b3(0x263)],_0x350362),_0x40c0dc==0x1&&_0x476558[_0x5d94b3(0x268)](_0x255d5a,0x3)&&this[_0x5d94b3(0x20f)][_0x5d94b3(0x239)]();},this[_0x386fad(0x207)][_0x386fad(0x289)]=_0x1ed7d6=>{const _0x4ca010=_0x386fad;_0x476558[_0x4ca010(0x251)](logError,_0x476558[_0x4ca010(0x263)],_0x1ed7d6);},this[_0x386fad(0x207)]=new Proxy(this[_0x386fad(0x207)],this['proxyHandler']),this[_0x386fad(0x20f)][_0x386fad(0x28d)](new _0x539542[(_0x386fad(0x226))](this[_0x386fad(0x207)])),this[_0x386fad(0x206)]();}get[_0x44f917(0x1f8)](){const _0x2be42a=_0x44f917,_0x49bfc5={'WjFfo':_0x2be42a(0x220)};let _0x34776a=this['util'][_0x2be42a(0x1fe)]();return!_0x34776a&&(_0x34776a=_0x52817d['resolve'](_0x90c7a[_0x2be42a(0x230)](),_0x49bfc5[_0x2be42a(0x218)]),_0x4f990f[_0x2be42a(0x223)](_0x34776a,{'recursive':!![]})),_0x34776a;}get[_0x44f917(0x298)](){const _0x206cb0=_0x44f917,_0xca0013={'vqlAW':_0x206cb0(0x213)};return _0x52817d[_0x206cb0(0x228)](this[_0x206cb0(0x1f8)],_0xca0013[_0x206cb0(0x24f)]);}[_0x44f917(0x206)](){const _0x50d51d=_0x44f917,_0x47aede={'bfvyF':_0x50d51d(0x261)};this[_0x50d51d(0x233)][_0x50d51d(0x255)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x47aede[_0x50d51d(0x275)],'use_xlog':!![],'qua':_0x50d51d(0x237)+qqVersionConfigInfo['curVersion'][_0x50d51d(0x1fb)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x50d51d(0x298)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x539542['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService'][_0x50d51d(0x206)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x50d51d(0x298)],'clientVer':qqVersionConfigInfo[_0x50d51d(0x264)],'hostName':hostname});}[_0x44f917(0x262)](_0xd322ad,_0x4d5be4){const _0xb93cf=_0x44f917,_0x533f35={'mufiH':function(_0x5062c9,_0x2fcf51){return _0x5062c9===_0x2fcf51;},'prOGk':function(_0xdcc72e,_0x41f183){return _0xdcc72e(_0x41f183);},'FNdOv':function(_0x1fcbbf,_0x205037){return _0x1fcbbf(_0x205037);},'gskME':function(_0x3883d8,_0xd2736c,_0x3fbacc,_0x3163a2){return _0x3883d8(_0xd2736c,_0x3fbacc,_0x3163a2);},'EDxfr':function(_0x22c561,_0x3e21b7){return _0x22c561(_0x3e21b7);},'puvDf':_0xb93cf(0x247)};return new Promise(async(_0x4e1186,_0x3aed63)=>{const _0xda1abc=_0xb93cf,_0x4854ca=await _0x533f35[_0xda1abc(0x293)](genSessionConfig,_0xd322ad,_0x4d5be4,this[_0xda1abc(0x1f8)]),_0x16d1b6=new SessionListener();_0x16d1b6[_0xda1abc(0x200)]=_0x8dbc07=>{const _0x166678=_0xda1abc;if(_0x533f35[_0x166678(0x290)](_0x8dbc07,0x0))return _0x533f35[_0x166678(0x23c)](_0x4e1186,0x0);_0x533f35[_0x166678(0x229)](_0x3aed63,_0x8dbc07);},this[_0xda1abc(0x282)][_0xda1abc(0x2aa)](_0x4854ca,new _0x539542[(_0xda1abc(0x253))](new DependsAdapter()),new _0x539542[(_0xda1abc(0x269))](new DispatcherAdapter()),new _0x539542[(_0xda1abc(0x24a))](_0x16d1b6));try{this['session'][_0xda1abc(0x2a6)](0x0);}catch(_0x2942f4){try{this[_0xda1abc(0x282)][_0xda1abc(0x2a6)]();}catch(_0xb43847){_0x533f35[_0xda1abc(0x201)](_0x3aed63,_0x533f35[_0xda1abc(0x28c)]+_0xb43847);}}});}['initDataListener'](){const _0x6bc98a=_0x44f917,_0x2794e={'AzIys':function(_0x4caca0,_0x1bb431){return _0x4caca0===_0x1bb431;},'iVwaK':function(_0x56fc25,_0x1aa1b5){return _0x56fc25+_0x1aa1b5;},'tEJvc':_0x6bc98a(0x204),'oDbNn':_0x6bc98a(0x1f5),'kliMX':function(_0x4b357a,_0x297ceb){return _0x4b357a+_0x297ceb;},'onBAe':function(_0x1df6bf,_0x471632){return _0x1df6bf+_0x471632;},'dZtVT':function(_0x51d798,_0x2b7a33){return _0x51d798/_0x2b7a33;},'hjNQb':function(_0x1399d7,_0x365ca8){return _0x1399d7===_0x365ca8;},'nnAmV':_0x6bc98a(0x26b)},_0x58a252=new MsgListener();_0x58a252[_0x6bc98a(0x1fc)]=_0x1966e3=>{const _0x3955be=_0x6bc98a,_0x7c44b8={'UVdMy':function(_0x2a6a50,_0x4de13b){const _0x5d0006=_0x1bfd;return _0x2794e[_0x5d0006(0x281)](_0x2a6a50,_0x4de13b);},'HOEYI':function(_0x5f062d,_0xa5d6b3){const _0x59fb3d=_0x1bfd;return _0x2794e[_0x59fb3d(0x2a1)](_0x5f062d,_0xa5d6b3);},'ARzPu':function(_0x526bb4,_0x3af854){const _0x5c9ee2=_0x1bfd;return _0x2794e[_0x5c9ee2(0x2a1)](_0x526bb4,_0x3af854);},'DbYcz':_0x2794e[_0x3955be(0x208)],'HdazD':_0x2794e[_0x3955be(0x249)]};_0x1966e3[_0x3955be(0x24e)](_0x5bb032=>{const _0x4d8bb5=_0x3955be;_0x7c44b8[_0x4d8bb5(0x205)](_0x5bb032['clientType'],0x2)&&log(_0x7c44b8[_0x4d8bb5(0x211)](_0x7c44b8[_0x4d8bb5(0x29b)](_0x7c44b8[_0x4d8bb5(0x22f)],_0x5bb032[_0x4d8bb5(0x284)]),_0x7c44b8['HdazD']));});},_0x58a252[_0x6bc98a(0x21c)]=_0x449f2e=>{const _0x2243da=_0x6bc98a;log(_0x2794e[_0x2243da(0x296)](_0x2794e[_0x2243da(0x296)](_0x2794e[_0x2243da(0x238)](_0x2243da(0x27f),_0x449f2e[_0x2243da(0x28f)]),']\x20'),_0x449f2e[_0x2243da(0x20d)]));},_0x58a252[_0x6bc98a(0x2a7)]=_0x17b184=>{const _0x24d7c3=_0x6bc98a;stat[_0x24d7c3(0x23d)]+=0x1,stat[_0x24d7c3(0x20b)]+=0x1,stat['last_message_time']=Math[_0x24d7c3(0x270)](_0x2794e[_0x24d7c3(0x240)](Date[_0x24d7c3(0x21b)](),0x3e8));},_0x58a252[_0x6bc98a(0x222)]=_0xc4546f=>{const _0x7a6671=_0x6bc98a;stat[_0x7a6671(0x210)]+=0x1,stat[_0x7a6671(0x22c)]+=_0xc4546f[_0x7a6671(0x288)],stat[_0x7a6671(0x20e)]=Math[_0x7a6671(0x270)](_0x2794e[_0x7a6671(0x240)](Date['now'](),0x3e8));},_0x58a252[_0x6bc98a(0x244)]=(..._0x4a03c3)=>{stat['packet_received']+=0x1;},this[_0x6bc98a(0x1f4)](_0x58a252);const _0x38a948=new BuddyListener();_0x38a948['onBuddyListChange']=_0x25b887=>{const _0x495a18=_0x6bc98a;rawFriends['length']=0x0,rawFriends[_0x495a18(0x287)](..._0x25b887);for(const _0x437f5b of _0x25b887){for(const _0x5b4f6f of _0x437f5b[_0x495a18(0x250)]){const _0x560f92=friends[_0x495a18(0x273)](_0x5b4f6f[_0x495a18(0x26a)]);_0x560f92?Object['assign'](_0x560f92,_0x5b4f6f):friends[_0x495a18(0x23b)](_0x5b4f6f[_0x495a18(0x26a)],_0x5b4f6f);}}},this[_0x6bc98a(0x1f4)](_0x38a948),this[_0x6bc98a(0x282)][_0x6bc98a(0x25a)]()[_0x6bc98a(0x234)](!![])[_0x6bc98a(0x26e)](_0x1bc1f8=>{});const _0x12b67b=new ProfileListener();_0x12b67b[_0x6bc98a(0x1fa)]=_0x4ed5d2=>{const _0x26519c=_0x6bc98a;_0x4ed5d2['uid']===selfInfo['uid']&&Object[_0x26519c(0x242)](selfInfo,_0x4ed5d2);},_0x12b67b['onSelfStatusChanged']=_0x3c0647=>{},this[_0x6bc98a(0x1f4)](_0x12b67b);const _0x1a01d3=new GroupListener();_0x1a01d3[_0x6bc98a(0x272)]=(_0x4d7725,_0x42c5b4)=>{const _0x7760a6=_0x6bc98a;_0x42c5b4[_0x7760a6(0x24e)](_0x4654e4=>{const _0x5e33a0=_0x7760a6,_0x10695a=groups[_0x5e33a0(0x273)](_0x4654e4[_0x5e33a0(0x22a)]);_0x10695a&&_0x2794e[_0x5e33a0(0x22d)](_0x4654e4[_0x5e33a0(0x212)],_0x10695a[_0x5e33a0(0x212)])?Object[_0x5e33a0(0x242)](_0x10695a,_0x4654e4):groups['set'](_0x4654e4[_0x5e33a0(0x22a)],_0x4654e4);const _0x42e9cb=this[_0x5e33a0(0x282)][_0x5e33a0(0x215)]()[_0x5e33a0(0x20c)](_0x4654e4[_0x5e33a0(0x22a)],_0x2794e['nnAmV']);this['session'][_0x5e33a0(0x215)]()[_0x5e33a0(0x1f6)](_0x42e9cb,undefined,0xbb8)[_0x5e33a0(0x26e)](_0x966db8=>{});});},_0x1a01d3['onMemberListChange']=_0x5bb4bf=>{const _0x2934a2=_0x6bc98a,_0x3094d7=_0x5bb4bf['sceneId'][_0x2934a2(0x278)]('_')[0x0];if(groupMembers[_0x2934a2(0x265)](_0x3094d7)){const _0x21d662=groupMembers[_0x2934a2(0x273)](_0x3094d7);_0x5bb4bf[_0x2934a2(0x245)][_0x2934a2(0x25b)]((_0xe145e,_0x539649)=>{const _0x4a693e=_0x2934a2,_0x526bd8=_0x21d662[_0x4a693e(0x273)](_0x539649);_0x526bd8?Object[_0x4a693e(0x242)](_0x526bd8,_0xe145e):_0x21d662[_0x4a693e(0x23b)](_0x539649,_0xe145e);});}else groupMembers['set'](_0x3094d7,_0x5bb4bf['infos']);},_0x1a01d3[_0x6bc98a(0x243)]=(_0x3e7946,_0x23b103,_0x3b40cb)=>{const _0x2a15cf=_0x6bc98a;_0x2794e[_0x2a15cf(0x281)](_0x23b103,0x0)&&_0x3b40cb[_0x2a15cf(0x273)](selfInfo['uid'])&&_0x3b40cb[_0x2a15cf(0x273)](selfInfo[_0x2a15cf(0x26a)])?.[_0x2a15cf(0x219)]&&setTimeout(()=>{groups['delete'](_0x3e7946);},0x1388);const _0x80a8f7=groupMembers[_0x2a15cf(0x273)](_0x3e7946);_0x80a8f7?_0x3b40cb[_0x2a15cf(0x25b)]((_0x5281a0,_0xc158e6)=>{const _0x1f5d63=_0x2a15cf,_0x464b07=_0x80a8f7[_0x1f5d63(0x273)](_0xc158e6);_0x464b07?Object[_0x1f5d63(0x242)](_0x464b07,_0x5281a0):_0x80a8f7[_0x1f5d63(0x23b)](_0xc158e6,_0x5281a0);}):groupMembers[_0x2a15cf(0x23b)](_0x3e7946,_0x3b40cb);},this[_0x6bc98a(0x1f4)](_0x1a01d3);}[_0x44f917(0x1f4)](_0x42a754){const _0x36b1ba=_0x44f917,_0x418df2={'MsFUm':_0x36b1ba(0x279),'VURzD':_0x36b1ba(0x2a3)};_0x42a754=new Proxy(_0x42a754,this[_0x36b1ba(0x2ab)]);switch(_0x42a754[_0x36b1ba(0x217)][_0x36b1ba(0x23f)]){case _0x418df2['MsFUm']:{return this[_0x36b1ba(0x282)][_0x36b1ba(0x25a)]()['addKernelBuddyListener'](new _0x539542[(_0x36b1ba(0x277))](_0x42a754));}case _0x36b1ba(0x22e):{return this[_0x36b1ba(0x282)][_0x36b1ba(0x215)]()[_0x36b1ba(0x1f9)](new _0x539542['NodeIKernelGroupListener'](_0x42a754));}case _0x36b1ba(0x1f3):{return this[_0x36b1ba(0x282)][_0x36b1ba(0x28a)]()['addKernelMsgListener'](new _0x539542[(_0x36b1ba(0x27c))](_0x42a754));}case _0x418df2['VURzD']:{return this[_0x36b1ba(0x282)][_0x36b1ba(0x258)]()['addKernelProfileListener'](new _0x539542[(_0x36b1ba(0x1ff))](_0x42a754));}default:return-0x1;}}['onLoginSuccess'](_0x83e952){const _0x147794=_0x44f917;NTEventDispatch[_0x147794(0x2aa)]({'ListenerMap':_0x539542,'WrapperSession':this[_0x147794(0x282)]}),this[_0x147794(0x2a2)][_0x147794(0x287)](_0x83e952);}async[_0x44f917(0x22b)](_0x570e49){const _0x422a2f=_0x44f917,_0x2cd93b={'vpojl':function(_0x3f2ee4,_0x52371f){return _0x3f2ee4!==_0x52371f;},'QKUBV':'没有可快速登录的QQ号','bxlld':function(_0xc5ae29,_0x147e55){return _0xc5ae29(_0x147e55);},'GWWUP':function(_0x1513ba,_0x1d31fe){return _0x1513ba+_0x1d31fe;}},_0x4f38e9=await this[_0x422a2f(0x20f)][_0x422a2f(0x216)]();if(_0x2cd93b['vpojl'](_0x4f38e9[_0x422a2f(0x21d)],0x0))throw new Error(_0x2cd93b[_0x422a2f(0x27b)]);const _0x4718a6=_0x4f38e9['LocalLoginInfoList'][_0x422a2f(0x274)](_0xad112a=>_0xad112a[_0x422a2f(0x286)]===_0x570e49);if(!_0x4718a6||!_0x4718a6?.[_0x422a2f(0x24c)])throw new Error(_0x570e49+_0x422a2f(0x295));await _0x2cd93b[_0x422a2f(0x266)](sleep,0x3e8);const _0x417a79=await this[_0x422a2f(0x20f)][_0x422a2f(0x231)](_0x570e49);if(!_0x417a79['result'])throw new Error(_0x2cd93b['GWWUP'](_0x422a2f(0x257),_0x417a79[_0x422a2f(0x26c)]['errMsg']));return _0x417a79;}async[_0x44f917(0x2a9)](_0x133b76){const _0x97f2b3=_0x44f917,_0x1b8f4d={'sBBVL':'data:image/png;base64,','jnfgu':_0x97f2b3(0x280),'fEBAy':function(_0x2fbab2,_0x395705,_0x353821,_0x4d1a36){return _0x2fbab2(_0x395705,_0x353821,_0x4d1a36);}};return new Promise((_0x182241,_0x5d562d)=>{const _0x244867=_0x97f2b3,_0x524f2f={'uNpwz':_0x1b8f4d[_0x244867(0x2a0)],'WHbAn':_0x1b8f4d['jnfgu'],'NBCCw':function(_0x4a06f1,_0x20b7f3,_0x171812,_0x54c956){return _0x1b8f4d['fEBAy'](_0x4a06f1,_0x20b7f3,_0x171812,_0x54c956);}};this[_0x244867(0x207)][_0x244867(0x236)]=_0x275ef0=>{const _0x112633=_0x244867,_0x1e0825=_0x275ef0[_0x112633(0x2a4)]['split'](_0x524f2f[_0x112633(0x1f7)])[0x1],_0x529585=Buffer['from'](_0x1e0825,_0x524f2f[_0x112633(0x26f)]);_0x524f2f[_0x112633(0x294)](_0x133b76,_0x275ef0['qrcodeUrl'],_0x275ef0[_0x112633(0x2a4)],_0x529585);},this[_0x244867(0x20f)]['getQRCodePicture']();});}async['passwordLogin'](_0x47aab9,_0x4514f6,_0xecf484,_0x1ddece,_0x46b368){const _0x59e660=_0x44f917,_0x406eb3={'IzOAi':_0x59e660(0x27e),'ydaZD':_0x59e660(0x25e),'yIfaA':function(_0x5b3991,_0x51f14b){return _0x5b3991&&_0x51f14b;},'AOmKM':function(_0x217889,_0x55c96d){return _0x217889||_0x55c96d;},'SbwkQ':function(_0x2e3e65,_0x566b9c){return _0x2e3e65||_0x566b9c;},'GuisX':function(_0x495473,_0xdb36f4){return _0x495473||_0xdb36f4;},'BXiWI':_0x59e660(0x227)},_0x290279=_0x10d0f0[_0x59e660(0x28e)](_0x406eb3[_0x59e660(0x29f)])[_0x59e660(0x297)](_0x4514f6)[_0x59e660(0x29e)](_0x406eb3[_0x59e660(0x2a8)]),_0x348f8d={'uin':_0x47aab9,'passwordMd5':_0x290279,'step':_0x406eb3['yIfaA'](_0xecf484,_0x1ddece)&&_0x46b368?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x406eb3[_0x59e660(0x26d)](_0xecf484,''),'proofWaterRand':_0x406eb3[_0x59e660(0x2a5)](_0x1ddece,''),'proofWaterSid':_0x406eb3[_0x59e660(0x276)](_0x46b368,'')};await this[_0x59e660(0x20f)]['getLoginList'](),await sleep(0x3e8);const _0x3deaed=await this[_0x59e660(0x20f)][_0x59e660(0x25c)](_0x348f8d);switch(_0x3deaed[_0x59e660(0x21d)]){case'0':{break;}case _0x406eb3[_0x59e660(0x283)]:{break;}case'4':case'140022013':default:}}async[_0x44f917(0x25d)](){const _0x5165a0=_0x44f917,_0x3df632=await this[_0x5165a0(0x20f)][_0x5165a0(0x216)]();return _0x3df632;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x56676e=_0x3f21;(function(_0xf8942d,_0x5244d7){const _0x2a459e=_0x3f21,_0x30c736=_0xf8942d();while(!![]){try{const _0x422de3=parseInt(_0x2a459e(0x138))/0x1+parseInt(_0x2a459e(0x1d9))/0x2*(parseInt(_0x2a459e(0x16a))/0x3)+parseInt(_0x2a459e(0x13b))/0x4+-parseInt(_0x2a459e(0x156))/0x5*(parseInt(_0x2a459e(0x1a9))/0x6)+-parseInt(_0x2a459e(0x12d))/0x7*(parseInt(_0x2a459e(0x1cb))/0x8)+parseInt(_0x2a459e(0x1de))/0x9+-parseInt(_0x2a459e(0x1b4))/0xa;if(_0x422de3===_0x5244d7)break;else _0x30c736['push'](_0x30c736['shift']());}catch(_0x6d08ad){_0x30c736['push'](_0x30c736['shift']());}}}(_0xa454,0x4d5a2));import _0x5a411d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x352171 from'node:path';import _0xb0fbb5 from'node:os';import _0x47fb7c 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 _0x323fe from'node:crypto';function _0x3f21(_0x43b2df,_0x3c61b9){const _0xa454e5=_0xa454();return _0x3f21=function(_0x3f216a,_0x4b5235){_0x3f216a=_0x3f216a-0x128;let _0x375af1=_0xa454e5[_0x3f216a];return _0x375af1;},_0x3f21(_0x43b2df,_0x3c61b9);}import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0xa454(){const _0x5b2426=['DMpCp','18627whXbgk','TdaoX','BcaGX','登录失败','qTIjG','onLineDev','./NapCat/data','onLoginSuccess','session','consoleLogLevel','GroupListener','35119HgHWtr','from','loginErrorInfo','1827080MMHqzp','onMemberListChange','zciRo','read','FqCAZ','errMsg','data:image/png;base64,','oGeGU','pngBase64QrcodeData','getNextMemberList','V1_WIN_NQ_','ASSTW','digest','getQRCodePicture','WSTeu','dscYf','consoleLog','ubsCX','sceneId','tipsDesc','onQRCodeLoginSucceed','addKernelLoginListener','initDataListener','Ozeqh',')已登录,无法重复登录','MxoUt','onMemberInfoChange','680ZHhsPY','loginListener','initSession','onLoginSuccessFuncList','getBuddyList','./nt_qq/global','gSLbM','MMmbG','140022013','last_message_time','NodeIKernelLoginListener','fPHdF','set','getBuddyService','then','map','onRecvSysMsg','devUid','QCXuN','proxyHandler','3TyznfU','curVersion','initConfig','PvdqX','assign','message_sent','otPpw','NodeIKernelGroupListener','xIiCs','onGroupListUpdate','mGOsZ','onProfileDetailInfoChanged','addKernelMsgListener','groupCode','ZkTPH','getLoginList','memberCount','THmsC','yVENN','BkHPd','GMeXx','NodeQQNTWrapperUtil','140022008','onQRCodeGetPicture','tipsTitle','quickLoginWithUin','packet_received','NodeIKernelBuddyListener','NodeIDependsAdapter','NodeIGlobalAdapter','RTvtx','addListener','fileLog','ZlifW','addKernelBuddyListener','\x20has\x20no\x20method\x20','onRecvMsg','mkdirSync','initWithDeskTopConfig','RqLpU','本账号数据/缓存目录:','快速登录失败\x20','ProfileListener','onAddSendMsg','onLoginFailed','NodeIQQNTWrapperSession','mItxI','catch','hex','get','NodeIKernelLoginService','getNTUserDataInfoConfig','dataPathGlobal','uid','dataPath','getMsgService','getProfileService','init','gVZYV','getGroupService','qKnJW','createHash','pxDdf','4362ghSlbk','floor','GaNgU','MsgListener','forEach','addKernelProfileListener','pROeF','createMemberListScene','qrcodeUrl','MKbED','buddyList','5173450GoSfGV','onSelfStatusChanged','gFCDD','DERBL','replace','now','bBOuX','vtveH','NodeIKernelSessionListener','uin','engine','packet_sent','infos','split',')\x20在线状态变更','rFXLk','loginService','ZrhiD','isDelete','fMbha','length','NodeIKernelProfileListener','push','1096LMxvxQ','paaeQ','WestD','Windows\x2010\x20Pro','result','onSessionInitComplete','initSession\x20failed','quickLogin','onUserLoggedIn','util','NodeIKernelMsgListener','MGxFU','name','onQRCodeSessionFailed','557656pChLwS','base64','undefined','ICWXr','UrkNr','4742019WObGDE','addKernelGroupListener','./.config/QQ','resolve','FUEYt','zVbzA'];_0xa454=function(){return _0x5b2426;};return _0xa454();}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x56676e(0x135)];['util'];[_0x56676e(0x1be)];[_0x56676e(0x157)];['loginService'];[_0x56676e(0x159)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x554c6a=_0x56676e,rNlRox={'FqCAZ':function(x,y){return x===y;},'dscYf':_0x554c6a(0x1db)};if(rNlRox[_0x554c6a(0x13f)](typeof target[prop],rNlRox[_0x554c6a(0x14a)]))return(...args)=>{const _0x47e246=_0x554c6a;logDebug(target['constructor'][_0x47e246(0x1d7)]+_0x47e246(0x18d)+prop);};return Reflect[_0x554c6a(0x19b)](target,prop,receiver);}};constructor(){const _0x54ede9=_0x56676e,_0x4dd3c8={'cOTEe':function(_0x1b18cd,_0x49398d){return _0x1b18cd(_0x49398d);},'zVbzA':function(_0x5917bb,_0x5e32f9){return _0x5917bb+_0x5e32f9;},'YVNno':function(_0x5e1555,_0x4e2e62){return _0x5e1555+_0x4e2e62;},'MKbED':'当前账号(','gFCDD':_0x54ede9(0x153),'ZlifW':function(_0x21c612,_0x484713,_0x102566){return _0x21c612(_0x484713,_0x102566);},'gVdhf':_0x54ede9(0x133),'FUEYt':function(_0x550320,_0x56de62,_0x5a4212){return _0x550320(_0x56de62,_0x5a4212);},'DMpCp':_0x54ede9(0x192),'ZrhiD':_0x54ede9(0x1d1),'BcaGX':function(_0x4617e7,_0x5b3c6b,_0x11673e){return _0x4617e7(_0x5b3c6b,_0x11673e);},'JNHOj':_0x54ede9(0x130),'ICWXr':function(_0x525da8,_0x4e68f4){return _0x525da8==_0x4e68f4;},'TdaoX':function(_0x453470,_0x479424){return _0x453470==_0x479424;}};this[_0x54ede9(0x1be)]=new _0x5a411d['NodeIQQNTWrapperEngine'](),this[_0x54ede9(0x1d4)]=new _0x5a411d[(_0x54ede9(0x17f))](),this[_0x54ede9(0x1c4)]=new _0x5a411d[(_0x54ede9(0x19c))](),this['session']=new _0x5a411d[(_0x54ede9(0x197))](),this[_0x54ede9(0x157)]=new LoginListener(),this[_0x54ede9(0x157)][_0x54ede9(0x1d3)]=_0x735df9=>{const _0x50e4ce=_0x54ede9;_0x4dd3c8['cOTEe'](logError,_0x4dd3c8[_0x50e4ce(0x12b)](_0x4dd3c8['YVNno'](_0x4dd3c8[_0x50e4ce(0x1b2)],_0x735df9),_0x4dd3c8[_0x50e4ce(0x1b6)]));},this[_0x54ede9(0x157)][_0x54ede9(0x14f)]=_0x1717e7=>{const _0x2be679=_0x54ede9,_0x30a603={'gSLbM':function(_0x94ddf,_0x1e6c00,_0x3a53ad){return _0x94ddf(_0x1e6c00,_0x3a53ad);},'vtveH':'数据库初始化失败','GaNgU':_0x4dd3c8[_0x2be679(0x1c5)]};this[_0x2be679(0x158)](_0x1717e7[_0x2be679(0x1bd)],_0x1717e7[_0x2be679(0x19f)])['then'](_0x3e5345=>{const _0x571807=_0x2be679,_0x3b441a={'MGxFU':function(_0x58c349,_0x497c1c,_0x5f135b){const _0x84224=_0x3f21;return _0x4dd3c8[_0x84224(0x18b)](_0x58c349,_0x497c1c,_0x5f135b);}};selfInfo[_0x571807(0x1bd)]=_0x1717e7[_0x571807(0x1bd)],selfInfo['uid']=_0x1717e7[_0x571807(0x19f)],napCatConfig[_0x571807(0x13e)](),_0x4dd3c8[_0x571807(0x18b)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x571807(0x136)]),enableFileLog(napCatConfig[_0x571807(0x18a)]),_0x4dd3c8['cOTEe'](enableConsoleLog,napCatConfig[_0x571807(0x14b)]),_0x4dd3c8['cOTEe'](setLogSelfInfo,selfInfo);const _0x33fcca=_0x352171[_0x571807(0x129)](this[_0x571807(0x1a0)],_0x4dd3c8['gVdhf']);_0x47fb7c['mkdirSync'](_0x33fcca,{'recursive':!![]}),_0x4dd3c8[_0x571807(0x12a)](logDebug,_0x4dd3c8[_0x571807(0x12c)],_0x33fcca),dbUtil['init'](_0x352171[_0x571807(0x129)](_0x33fcca,'./'+_0x1717e7[_0x571807(0x1bd)]+'-v2.db'))[_0x571807(0x164)](()=>{const _0x1a9262=_0x571807,_0x21da42={'aPAlN':function(_0x1a3d31,_0x5c21e3,_0x2fa3f7){const _0x3e99cf=_0x3f21;return _0x3b441a[_0x3e99cf(0x1d6)](_0x1a3d31,_0x5c21e3,_0x2fa3f7);}};this[_0x1a9262(0x151)](),this['onLoginSuccessFuncList'][_0x1a9262(0x165)](_0x31259d=>{const _0x76ae38=_0x1a9262,_0x19f7fe={'RTvtx':function(_0x20ebe7,_0x4bfb83,_0x3b94ba){return _0x21da42['aPAlN'](_0x20ebe7,_0x4bfb83,_0x3b94ba);}};new Promise((_0x50b64b,_0x201dfd)=>{const _0x3a772d=_0x3f21,_0x47f20a=_0x19f7fe[_0x3a772d(0x188)](_0x31259d,_0x1717e7[_0x3a772d(0x1bd)],_0x1717e7['uid']);_0x47f20a instanceof Promise&&_0x47f20a[_0x3a772d(0x164)](_0x50b64b)[_0x3a772d(0x199)](_0x201dfd);})[_0x76ae38(0x164)]();});})[_0x571807(0x199)](_0x50b538=>{const _0x56b47e=_0x571807;_0x30a603[_0x56b47e(0x15c)](logError,_0x30a603[_0x56b47e(0x1bb)],_0x50b538);});})[_0x2be679(0x199)](_0x1d480c=>{const _0x238f70=_0x2be679;logError(_0x30a603[_0x238f70(0x1ab)],_0x1d480c);throw new Error('启动失败:\x20'+JSON['stringify'](_0x1d480c));});},this['loginListener'][_0x54ede9(0x1d8)]=(_0xe0cdcd,_0x5d0d2e,_0x591c85)=>{const _0x31e689=_0x54ede9;_0x4dd3c8[_0x31e689(0x12f)](logError,_0x4dd3c8['JNHOj'],_0x591c85),_0x4dd3c8[_0x31e689(0x1dc)](_0xe0cdcd,0x1)&&_0x4dd3c8[_0x31e689(0x12e)](_0x5d0d2e,0x3)&&this[_0x31e689(0x1c4)][_0x31e689(0x148)]();},this[_0x54ede9(0x157)][_0x54ede9(0x196)]=_0x3faaa2=>{logError(_0x4dd3c8['JNHOj'],_0x3faaa2);},this['loginListener']=new Proxy(this['loginListener'],this[_0x54ede9(0x169)]),this[_0x54ede9(0x1c4)][_0x54ede9(0x150)](new _0x5a411d[(_0x54ede9(0x160))](this[_0x54ede9(0x157)])),this[_0x54ede9(0x16c)]();}get[_0x56676e(0x1a0)](){const _0x2c6872=_0x56676e,_0xaec5d7={'ASSTW':_0x2c6872(0x128)};let _0x32904c=this[_0x2c6872(0x1d4)][_0x2c6872(0x19d)]();return!_0x32904c&&(_0x32904c=_0x352171[_0x2c6872(0x129)](_0xb0fbb5['homedir'](),_0xaec5d7[_0x2c6872(0x146)]),_0x47fb7c[_0x2c6872(0x18f)](_0x32904c,{'recursive':!![]})),_0x32904c;}get[_0x56676e(0x19e)](){const _0x20b9ab=_0x56676e,_0x316b38={'SongY':_0x20b9ab(0x15b)};return _0x352171[_0x20b9ab(0x129)](this[_0x20b9ab(0x1a0)],_0x316b38['SongY']);}[_0x56676e(0x16c)](){const _0x4e408b=_0x56676e,_0x107193={'GMeXx':_0x4e408b(0x1ce)};this['engine'][_0x4e408b(0x190)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x107193[_0x4e408b(0x17e)],'use_xlog':!![],'qua':_0x4e408b(0x145)+qqVersionConfigInfo['curVersion'][_0x4e408b(0x1b8)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x4e408b(0x19e)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x5a411d[(_0x4e408b(0x187))](new GlobalAdapter())),this[_0x4e408b(0x1c4)][_0x4e408b(0x16c)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x4e408b(0x16b)],'hostName':hostname});}[_0x56676e(0x158)](_0x3484be,_0x5c7c03){const _0x174c6f={'bBOuX':function(_0x48299a,_0x15af35){return _0x48299a===_0x15af35;},'QFGOW':function(_0x1f8d5a,_0x1065ab){return _0x1f8d5a(_0x1065ab);},'paaeQ':function(_0x26882e,_0x563820,_0x22376c,_0x84e508){return _0x26882e(_0x563820,_0x22376c,_0x84e508);},'zciRo':'init\x20failed\x20'};return new Promise(async(_0x10e756,_0x97a2bd)=>{const _0x1da69e=_0x3f21,_0x43c941={'wSuCD':function(_0x5f4605,_0x1822fd){const _0x5ee1e4=_0x3f21;return _0x174c6f[_0x5ee1e4(0x1ba)](_0x5f4605,_0x1822fd);},'aGlMT':function(_0xec3e44,_0x1d50e4){return _0x174c6f['QFGOW'](_0xec3e44,_0x1d50e4);}},_0x27f652=await _0x174c6f[_0x1da69e(0x1cc)](genSessionConfig,_0x3484be,_0x5c7c03,this[_0x1da69e(0x1a0)]),_0x5a8614=new SessionListener();_0x5a8614[_0x1da69e(0x1d0)]=_0x56b60f=>{if(_0x43c941['wSuCD'](_0x56b60f,0x0))return _0x10e756(0x0);_0x43c941['aGlMT'](_0x97a2bd,_0x56b60f);},this[_0x1da69e(0x135)][_0x1da69e(0x1a3)](_0x27f652,new _0x5a411d[(_0x1da69e(0x186))](new DependsAdapter()),new _0x5a411d['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x5a411d[(_0x1da69e(0x1bc))](_0x5a8614));try{this[_0x1da69e(0x135)]['startNT'](0x0);}catch(_0x51a813){try{this[_0x1da69e(0x135)]['startNT']();}catch(_0x466758){_0x174c6f['QFGOW'](_0x97a2bd,_0x174c6f[_0x1da69e(0x13d)]+_0x466758);}}});}['initDataListener'](){const _0x38aa3b=_0x56676e,_0x1d1f34={'WSTeu':function(_0x23b6b8,_0x54a6d1){return _0x23b6b8===_0x54a6d1;},'RqLpU':'账号设备(','ZkTPH':_0x38aa3b(0x1c2),'YtLwO':function(_0x34235b,_0x446853){return _0x34235b+_0x446853;},'PvdqX':'[KickedOffLine]\x20[','ubsCX':function(_0xd91894,_0x1ada75){return _0xd91894/_0x1ada75;},'QCXuN':function(_0x6a8ae0,_0x58caf1){return _0x6a8ae0/_0x58caf1;},'UrkNr':function(_0x2dfb1f,_0xac06d){return _0x2dfb1f===_0xac06d;},'MxoUt':function(_0x404992,_0x3cf355,_0x2f3640){return _0x404992(_0x3cf355,_0x2f3640);}},_0x2a3d72=new MsgListener();_0x2a3d72[_0x38aa3b(0x132)]=_0x38bc28=>{const _0x2fa894=_0x38aa3b,_0x5705dd={'iRKdz':function(_0x244ef0,_0x564ad7){return _0x1d1f34['WSTeu'](_0x244ef0,_0x564ad7);},'kPkqf':function(_0x5ea4ea,_0x5cd39c){return _0x5ea4ea(_0x5cd39c);},'qKnJW':function(_0x37045c,_0x2d4c97){return _0x37045c+_0x2d4c97;},'CjhZe':_0x1d1f34[_0x2fa894(0x191)],'WestD':_0x1d1f34[_0x2fa894(0x178)]};_0x38bc28['map'](_0x2fb2c6=>{const _0x2ebb9c=_0x2fa894;_0x5705dd['iRKdz'](_0x2fb2c6['clientType'],0x2)&&_0x5705dd['kPkqf'](log,_0x5705dd[_0x2ebb9c(0x1a6)](_0x5705dd['CjhZe']+_0x2fb2c6[_0x2ebb9c(0x167)],_0x5705dd[_0x2ebb9c(0x1cd)]));});},_0x2a3d72['onKickedOffLine']=_0x26e56f=>{const _0x4f3bab=_0x38aa3b;log(_0x1d1f34['YtLwO'](_0x1d1f34[_0x4f3bab(0x16d)]+_0x26e56f[_0x4f3bab(0x182)],']\x20')+_0x26e56f[_0x4f3bab(0x14e)]);},_0x2a3d72[_0x38aa3b(0x195)]=_0x828d2d=>{const _0x1910cb=_0x38aa3b;stat[_0x1910cb(0x1bf)]+=0x1,stat[_0x1910cb(0x16f)]+=0x1,stat[_0x1910cb(0x15f)]=Math[_0x1910cb(0x1aa)](_0x1d1f34[_0x1910cb(0x14c)](Date['now'](),0x3e8));},_0x2a3d72[_0x38aa3b(0x18e)]=_0x5b9145=>{const _0x541953=_0x38aa3b;stat[_0x541953(0x184)]+=0x1,stat['message_received']+=_0x5b9145[_0x541953(0x1c8)],stat[_0x541953(0x15f)]=Math[_0x541953(0x1aa)](_0x1d1f34[_0x541953(0x168)](Date[_0x541953(0x1b9)](),0x3e8));},_0x2a3d72[_0x38aa3b(0x166)]=(..._0x3a81d7)=>{const _0x21060e=_0x38aa3b;stat[_0x21060e(0x184)]+=0x1;},this[_0x38aa3b(0x189)](_0x2a3d72);const _0x5ae044=new BuddyListener();_0x5ae044['onBuddyListChange']=_0x1da69a=>{const _0x2fedeb=_0x38aa3b;rawFriends[_0x2fedeb(0x1c8)]=0x0,rawFriends[_0x2fedeb(0x1ca)](..._0x1da69a);for(const _0x1c3943 of _0x1da69a){for(const _0x7cdfef of _0x1c3943[_0x2fedeb(0x1b3)]){const _0x4486eb=friends['get'](_0x7cdfef['uid']);_0x4486eb?Object[_0x2fedeb(0x16e)](_0x4486eb,_0x7cdfef):friends['set'](_0x7cdfef[_0x2fedeb(0x19f)],_0x7cdfef);}}},this[_0x38aa3b(0x189)](_0x5ae044),this['session'][_0x38aa3b(0x163)]()[_0x38aa3b(0x15a)](!![])['then'](_0x5d6257=>{});const _0x2852f4=new ProfileListener();_0x2852f4[_0x38aa3b(0x175)]=_0x318151=>{const _0x1b2601=_0x38aa3b;_0x1d1f34[_0x1b2601(0x149)](_0x318151[_0x1b2601(0x19f)],selfInfo[_0x1b2601(0x19f)])&&Object['assign'](selfInfo,_0x318151);},_0x2852f4[_0x38aa3b(0x1b5)]=_0x32e790=>{},this[_0x38aa3b(0x189)](_0x2852f4);const _0x1e1848=new GroupListener();_0x1e1848[_0x38aa3b(0x173)]=(_0x156811,_0x4f51be)=>{const _0x1aefd6=_0x38aa3b,_0x57f152={'xIiCs':function(_0x570e9f,_0x2f797d){const _0x52adf3=_0x3f21;return _0x1d1f34[_0x52adf3(0x149)](_0x570e9f,_0x2f797d);},'fPHdF':'groupMemberList_MainWindow'};_0x4f51be[_0x1aefd6(0x165)](_0x371001=>{const _0x469278=_0x1aefd6,_0x5518cc=groups[_0x469278(0x19b)](_0x371001['groupCode']);_0x5518cc&&_0x57f152[_0x469278(0x172)](_0x371001[_0x469278(0x17a)],_0x5518cc[_0x469278(0x17a)])?Object[_0x469278(0x16e)](_0x5518cc,_0x371001):groups[_0x469278(0x162)](_0x371001[_0x469278(0x177)],_0x371001);const _0x49ec17=this['session'][_0x469278(0x1a5)]()[_0x469278(0x1b0)](_0x371001[_0x469278(0x177)],_0x57f152[_0x469278(0x161)]);this[_0x469278(0x135)]['getGroupService']()[_0x469278(0x144)](_0x49ec17,undefined,0xbb8)[_0x469278(0x164)](_0x18b332=>{});});},_0x1e1848[_0x38aa3b(0x13c)]=_0x37d4bd=>{const _0x5817d2=_0x38aa3b,_0x9a48db=_0x37d4bd[_0x5817d2(0x14d)][_0x5817d2(0x1c1)]('_')[0x0];if(groupMembers['has'](_0x9a48db)){const _0x1bc2c0=groupMembers[_0x5817d2(0x19b)](_0x9a48db);_0x37d4bd[_0x5817d2(0x1c0)][_0x5817d2(0x1ad)]((_0x54dd11,_0x139318)=>{const _0x180e60=_0x5817d2,_0x2cfa14=_0x1bc2c0['get'](_0x139318);_0x2cfa14?Object[_0x180e60(0x16e)](_0x2cfa14,_0x54dd11):_0x1bc2c0[_0x180e60(0x162)](_0x139318,_0x54dd11);});}else groupMembers['set'](_0x9a48db,_0x37d4bd[_0x5817d2(0x1c0)]);},_0x1e1848[_0x38aa3b(0x155)]=(_0x10b72c,_0x53cfbe,_0x3074f3)=>{const _0x591168=_0x38aa3b;_0x1d1f34[_0x591168(0x1dd)](_0x53cfbe,0x0)&&_0x3074f3['get'](selfInfo['uid'])&&_0x3074f3[_0x591168(0x19b)](selfInfo[_0x591168(0x19f)])?.[_0x591168(0x1c6)]&&_0x1d1f34[_0x591168(0x154)](setTimeout,()=>{groups['delete'](_0x10b72c);},0x1388);const _0x20d5a1=groupMembers[_0x591168(0x19b)](_0x10b72c);_0x20d5a1?_0x3074f3['forEach']((_0x5da7b6,_0x369818)=>{const _0x88f2d5=_0x591168,_0x4dd89e=_0x20d5a1['get'](_0x369818);_0x4dd89e?Object[_0x88f2d5(0x16e)](_0x4dd89e,_0x5da7b6):_0x20d5a1[_0x88f2d5(0x162)](_0x369818,_0x5da7b6);}):groupMembers[_0x591168(0x162)](_0x10b72c,_0x3074f3);},this['addListener'](_0x1e1848);}[_0x56676e(0x189)](_0x16a137){const _0x50c9f8=_0x56676e,_0x4b15fc={'DERBL':'BuddyListener','THmsC':_0x50c9f8(0x137),'wiFVm':_0x50c9f8(0x1ac),'gVZYV':_0x50c9f8(0x194)};_0x16a137=new Proxy(_0x16a137,this[_0x50c9f8(0x169)]);switch(_0x16a137['constructor'][_0x50c9f8(0x1d7)]){case _0x4b15fc[_0x50c9f8(0x1b7)]:{return this[_0x50c9f8(0x135)][_0x50c9f8(0x163)]()[_0x50c9f8(0x18c)](new _0x5a411d[(_0x50c9f8(0x185))](_0x16a137));}case _0x4b15fc[_0x50c9f8(0x17b)]:{return this[_0x50c9f8(0x135)][_0x50c9f8(0x1a5)]()[_0x50c9f8(0x1df)](new _0x5a411d[(_0x50c9f8(0x171))](_0x16a137));}case _0x4b15fc['wiFVm']:{return this[_0x50c9f8(0x135)][_0x50c9f8(0x1a1)]()[_0x50c9f8(0x176)](new _0x5a411d[(_0x50c9f8(0x1d5))](_0x16a137));}case _0x4b15fc[_0x50c9f8(0x1a4)]:{return this[_0x50c9f8(0x135)][_0x50c9f8(0x1a2)]()[_0x50c9f8(0x1ae)](new _0x5a411d[(_0x50c9f8(0x1c9))](_0x16a137));}default:return-0x1;}}[_0x56676e(0x134)](_0x232560){const _0x3b2ab6=_0x56676e;NTEventDispatch[_0x3b2ab6(0x1a3)]({'ListenerMap':_0x5a411d,'WrapperSession':this[_0x3b2ab6(0x135)]}),this[_0x3b2ab6(0x159)]['push'](_0x232560);}async[_0x56676e(0x1d2)](_0x2dcdc5){const _0x71a749=_0x56676e,_0xb87552={'pxDdf':function(_0x518fa4,_0x329b1f){return _0x518fa4!==_0x329b1f;},'qTIjG':function(_0x405b22,_0x478b6a){return _0x405b22(_0x478b6a);},'fMbha':_0x71a749(0x193)},_0x137fcb=await this[_0x71a749(0x1c4)]['getLoginList']();if(_0xb87552[_0x71a749(0x1a8)](_0x137fcb[_0x71a749(0x1cf)],0x0))throw new Error('没有可快速登录的QQ号');const _0x361da2=_0x137fcb['LocalLoginInfoList']['find'](_0xca6b08=>_0xca6b08[_0x71a749(0x1bd)]===_0x2dcdc5);if(!_0x361da2||!_0x361da2?.['isQuickLogin'])throw new Error(_0x2dcdc5+'快速登录不可用');await _0xb87552[_0x71a749(0x131)](sleep,0x3e8);const _0x145e48=await this[_0x71a749(0x1c4)][_0x71a749(0x183)](_0x2dcdc5);if(!_0x145e48['result'])throw new Error(_0xb87552[_0x71a749(0x1c7)]+_0x145e48[_0x71a749(0x13a)][_0x71a749(0x140)]);return _0x145e48;}async['qrLogin'](_0x29e26b){const _0x48004a=_0x56676e,_0x49a5b2={'Ozeqh':_0x48004a(0x141),'otPpw':_0x48004a(0x1da),'mGOsZ':function(_0x2116bb,_0x3f6560,_0x5a39ff,_0x22e18f){return _0x2116bb(_0x3f6560,_0x5a39ff,_0x22e18f);}};return new Promise((_0x4f2ac8,_0x3cad58)=>{const _0x331400=_0x48004a,_0x295ad6={'rFXLk':_0x49a5b2[_0x331400(0x152)],'ramnz':_0x49a5b2[_0x331400(0x170)],'mItxI':function(_0x50ee3d,_0x25b347,_0x37457f,_0x54bb10){const _0x9713c6=_0x331400;return _0x49a5b2[_0x9713c6(0x174)](_0x50ee3d,_0x25b347,_0x37457f,_0x54bb10);}};this[_0x331400(0x157)][_0x331400(0x181)]=_0x1df84d=>{const _0xaeaa8d=_0x331400,_0x1dce4a=_0x1df84d[_0xaeaa8d(0x143)]['split'](_0x295ad6[_0xaeaa8d(0x1c3)])[0x1],_0x1e6a22=Buffer[_0xaeaa8d(0x139)](_0x1dce4a,_0x295ad6['ramnz']);_0x295ad6[_0xaeaa8d(0x198)](_0x29e26b,_0x1df84d[_0xaeaa8d(0x1b1)],_0x1df84d['pngBase64QrcodeData'],_0x1e6a22);},this[_0x331400(0x1c4)]['getQRCodePicture']();});}async['passwordLogin'](_0x54e247,_0x1a905d,_0x681116,_0x5326ef,_0x14eb3e){const _0xd9670=_0x56676e,_0x2a78ac={'yVENN':'md5','pROeF':_0xd9670(0x19a),'MMmbG':function(_0x2949d0,_0x3dfc2c){return _0x2949d0||_0x3dfc2c;},'BkHPd':_0xd9670(0x180),'oGeGU':_0xd9670(0x15e)},_0x19fa30=_0x323fe[_0xd9670(0x1a7)](_0x2a78ac[_0xd9670(0x17c)])['update'](_0x1a905d)[_0xd9670(0x147)](_0x2a78ac[_0xd9670(0x1af)]),_0x451c90={'uin':_0x54e247,'passwordMd5':_0x19fa30,'step':_0x681116&&_0x5326ef&&_0x14eb3e?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x2a78ac[_0xd9670(0x15d)](_0x681116,''),'proofWaterRand':_0x5326ef||'','proofWaterSid':_0x2a78ac[_0xd9670(0x15d)](_0x14eb3e,'')};await this[_0xd9670(0x1c4)]['getLoginList'](),await sleep(0x3e8);const _0x4f750f=await this[_0xd9670(0x1c4)]['passwordLogin'](_0x451c90);switch(_0x4f750f[_0xd9670(0x1cf)]){case'0':{break;}case _0x2a78ac[_0xd9670(0x17d)]:{break;}case'4':case _0x2a78ac[_0xd9670(0x142)]:default:}}async['getQuickLoginList'](){const _0x4f7484=_0x56676e,_0x2bdea0=await this[_0x4f7484(0x1c4)][_0x4f7484(0x179)]();return _0x2bdea0;}}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 a8e3b89d..4c9b29be 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x5c77a5,_0x4995fb){const _0xa932a=_0x1f4c,_0x85d09=_0x5c77a5();while(!![]){try{const _0x5209ce=parseInt(_0xa932a(0xdd))/0x1*(-parseInt(_0xa932a(0xd6))/0x2)+parseInt(_0xa932a(0xd8))/0x3*(-parseInt(_0xa932a(0xd7))/0x4)+-parseInt(_0xa932a(0xe5))/0x5+parseInt(_0xa932a(0xe0))/0x6*(parseInt(_0xa932a(0xd0))/0x7)+parseInt(_0xa932a(0xda))/0x8*(-parseInt(_0xa932a(0xd5))/0x9)+-parseInt(_0xa932a(0xd4))/0xa+parseInt(_0xa932a(0xde))/0xb;if(_0x5209ce===_0x4995fb)break;else _0x85d09['push'](_0x85d09['shift']());}catch(_0x1bc9d2){_0x85d09['push'](_0x85d09['shift']());}}}(_0x3251,0xdd145));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(_0x345d5c){const _0x4a70ce=_0x1f4c;groups['delete'](_0x345d5c),groupMembers[_0x4a70ce(0xe1)](_0x345d5c);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x25a9f6){const _0x228e28=_0x1f4c,_0x5f4720={'AhOmk':function(_0x35abb9,_0x53ea15){return _0x35abb9(_0x53ea15);}};_0x25a9f6=_0x25a9f6[_0x228e28(0xcf)]();if(_0x5f4720[_0x228e28(0xd2)](isNumeric,_0x25a9f6)){const _0x26f26a=Array[_0x228e28(0xe2)](friends[_0x228e28(0xe4)]());return _0x26f26a['find'](_0x1893fb=>_0x1893fb['uin']===_0x25a9f6);}else return friends[_0x228e28(0xd3)](_0x25a9f6);}export async function getGroup(_0x3e760d){const _0x4a84c7=_0x1f4c;let _0x169074=groups[_0x4a84c7(0xd3)](_0x3e760d[_0x4a84c7(0xcf)]());if(!_0x169074)try{const _0x5f1c90=await NTQQGroupApi[_0x4a84c7(0xd1)]();_0x5f1c90['length']&&_0x5f1c90[_0x4a84c7(0xce)](_0x5b97af=>{const _0x382db8=_0x4a84c7;groups[_0x382db8(0xdf)](_0x5b97af['groupCode'],_0x5b97af);});}catch(_0x1e5918){return undefined;}return _0x169074=groups[_0x4a84c7(0xd3)](_0x3e760d[_0x4a84c7(0xcf)]()),_0x169074;}export async function getGroupMember(_0x52f5f6,_0x342fa5){const _0x41c094=_0x1f4c,_0x2f8950={'TEwim':function(_0x6abcae,_0x385fee){return _0x6abcae(_0x385fee);},'NNzVx':function(_0x421d1c){return _0x421d1c();}};_0x52f5f6=_0x52f5f6[_0x41c094(0xcf)](),_0x342fa5=_0x342fa5[_0x41c094(0xcf)]();let _0x18a1de=groupMembers[_0x41c094(0xd3)](_0x52f5f6);if(!_0x18a1de)try{_0x18a1de=await NTQQGroupApi['getGroupMembers'](_0x52f5f6),groupMembers['set'](_0x52f5f6,_0x18a1de);}catch(_0x2154bd){return null;}const _0x425f78=()=>{const _0x5f15bf=_0x41c094;let _0x3f4ccb=undefined;return _0x2f8950['TEwim'](isNumeric,_0x342fa5)?_0x3f4ccb=Array[_0x5f15bf(0xe2)](_0x18a1de[_0x5f15bf(0xe4)]())[_0x5f15bf(0xdb)](_0x31a22a=>_0x31a22a[_0x5f15bf(0xd9)]===_0x342fa5):_0x3f4ccb=_0x18a1de[_0x5f15bf(0xd3)](_0x342fa5),_0x3f4ccb;};let _0x25ca50=_0x2f8950[_0x41c094(0xdc)](_0x425f78);return!_0x25ca50&&(_0x18a1de=await NTQQGroupApi[_0x41c094(0xe3)](_0x52f5f6),_0x25ca50=_0x2f8950[_0x41c094(0xdc)](_0x425f78)),_0x25ca50;}export const tempGroupCodeMap={};export const rawFriends=[];function _0x1f4c(_0x5c1d19,_0x24acc9){const _0x32511d=_0x3251();return _0x1f4c=function(_0x1f4c1f,_0x421035){_0x1f4c1f=_0x1f4c1f-0xce;let _0xca1e6d=_0x32511d[_0x1f4c1f];return _0xca1e6d;},_0x1f4c(_0x5c1d19,_0x24acc9);}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};function _0x3251(){const _0x1c84e7=['1328217xsDCUd','44473880fsrkjC','set','6APOZMr','delete','from','getGroupMembers','values','9032360FEzPAD','forEach','toString','9773848XQfZDh','getGroups','AhOmk','get','5361760WdYUZJ','78471SGiFjM','2ejEUiK','292MsoXTB','32955IFxtQE','uin','56ykmwIf','find','NNzVx'];_0x3251=function(){return _0x1c84e7;};return _0x3251();} \ No newline at end of file +(function(_0x8acfda,_0x259aa4){const _0x38bbdf=_0x5ae6,_0x7fcf12=_0x8acfda();while(!![]){try{const _0x1012c7=parseInt(_0x38bbdf(0x17b))/0x1*(-parseInt(_0x38bbdf(0x193))/0x2)+-parseInt(_0x38bbdf(0x18b))/0x3*(parseInt(_0x38bbdf(0x179))/0x4)+parseInt(_0x38bbdf(0x185))/0x5+parseInt(_0x38bbdf(0x17a))/0x6*(-parseInt(_0x38bbdf(0x18a))/0x7)+-parseInt(_0x38bbdf(0x186))/0x8*(-parseInt(_0x38bbdf(0x17e))/0x9)+parseInt(_0x38bbdf(0x18f))/0xa*(parseInt(_0x38bbdf(0x183))/0xb)+parseInt(_0x38bbdf(0x17d))/0xc*(parseInt(_0x38bbdf(0x188))/0xd);if(_0x1012c7===_0x259aa4)break;else _0x7fcf12['push'](_0x7fcf12['shift']());}catch(_0x35f646){_0x7fcf12['push'](_0x7fcf12['shift']());}}}(_0x15ba,0x40eb0));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(_0x33d799){const _0x5c7472=_0x5ae6;groups[_0x5c7472(0x187)](_0x33d799),groupMembers[_0x5c7472(0x187)](_0x33d799);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x5a036c){const _0x4b3e59=_0x5ae6,_0x512d2b={'hWuOp':function(_0x90341a,_0x156d83){return _0x90341a(_0x156d83);}};_0x5a036c=_0x5a036c['toString']();if(_0x512d2b[_0x4b3e59(0x181)](isNumeric,_0x5a036c)){const _0xcd3c87=Array[_0x4b3e59(0x189)](friends['values']());return _0xcd3c87[_0x4b3e59(0x17f)](_0x3b0b8d=>_0x3b0b8d[_0x4b3e59(0x190)]===_0x5a036c);}else return friends['get'](_0x5a036c);}export async function getGroup(_0x35be39){const _0x4ba911=_0x5ae6;let _0x1c00c7=groups[_0x4ba911(0x192)](_0x35be39[_0x4ba911(0x18d)]());if(!_0x1c00c7)try{const _0x314f79=await NTQQGroupApi['getGroups']();_0x314f79[_0x4ba911(0x180)]&&_0x314f79[_0x4ba911(0x17c)](_0x52139e=>{const _0x4384d4=_0x4ba911;groups[_0x4384d4(0x191)](_0x52139e[_0x4384d4(0x194)],_0x52139e);});}catch(_0x5651e0){return undefined;}return _0x1c00c7=groups[_0x4ba911(0x192)](_0x35be39['toString']()),_0x1c00c7;}function _0x15ba(){const _0x61888f=['find','length','hWuOp','NlqwV','1207855OqVKak','getGroupMembers','1339840CAxRKA','4000176UXnLDY','delete','75166CcnKhQ','from','60879YQvpel','495366FdxyLy','FFWpR','toString','values','30yKPhRM','uin','set','get','22328VBKZSs','groupCode','8AHUcCf','42dYEmxn','41hlmwKK','forEach','36kjBgcQ','9gvveMl'];_0x15ba=function(){return _0x61888f;};return _0x15ba();}export async function getGroupMember(_0x347142,_0x2168ee){const _0x465bff=_0x5ae6,_0x27e5c0={'NlqwV':function(_0x2ceb6a){return _0x2ceb6a();},'FFWpR':function(_0x1c27e9){return _0x1c27e9();}};_0x347142=_0x347142[_0x465bff(0x18d)](),_0x2168ee=_0x2168ee['toString']();let _0x23d031=groupMembers[_0x465bff(0x192)](_0x347142);if(!_0x23d031)try{_0x23d031=await NTQQGroupApi[_0x465bff(0x184)](_0x347142),groupMembers[_0x465bff(0x191)](_0x347142,_0x23d031);}catch(_0x436f47){return null;}const _0x389968=()=>{const _0x442a1c=_0x465bff;let _0x547fb6=undefined;return isNumeric(_0x2168ee)?_0x547fb6=Array['from'](_0x23d031[_0x442a1c(0x18e)]())['find'](_0x372ae9=>_0x372ae9[_0x442a1c(0x190)]===_0x2168ee):_0x547fb6=_0x23d031[_0x442a1c(0x192)](_0x2168ee),_0x547fb6;};let _0x5ca8e4=_0x27e5c0[_0x465bff(0x182)](_0x389968);return!_0x5ca8e4&&(_0x23d031=await NTQQGroupApi[_0x465bff(0x184)](_0x347142),_0x5ca8e4=_0x27e5c0[_0x465bff(0x18c)](_0x389968)),_0x5ca8e4;}function _0x5ae6(_0x9a7a64,_0x5aa619){const _0x15bac0=_0x15ba();return _0x5ae6=function(_0x5ae650,_0x327d6b){_0x5ae650=_0x5ae650-0x179;let _0x513272=_0x15bac0[_0x5ae650];return _0x513272;},_0x5ae6(_0x9a7a64,_0x5aa619);}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 2c2fa4e5..dd5c92ac 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x359754,_0x2a7c2f){var _0x297d65=_0x1046,_0x590281=_0x359754();while(!![]){try{var _0x4229=-parseInt(_0x297d65(0x15a))/0x1*(-parseInt(_0x297d65(0x148))/0x2)+parseInt(_0x297d65(0x154))/0x3*(-parseInt(_0x297d65(0x156))/0x4)+-parseInt(_0x297d65(0x14b))/0x5*(-parseInt(_0x297d65(0x15d))/0x6)+parseInt(_0x297d65(0x14c))/0x7*(parseInt(_0x297d65(0x152))/0x8)+-parseInt(_0x297d65(0x15f))/0x9*(parseInt(_0x297d65(0x155))/0xa)+-parseInt(_0x297d65(0x159))/0xb+parseInt(_0x297d65(0x149))/0xc*(parseInt(_0x297d65(0x15c))/0xd);if(_0x4229===_0x2a7c2f)break;else _0x590281['push'](_0x590281['shift']());}catch(_0x138363){_0x590281['push'](_0x590281['shift']());}}}(_0x330c,0x91a2a));function _0x1046(_0x519ec2,_0x2a0415){var _0x330c25=_0x330c();return _0x1046=function(_0x10466b,_0x2c4262){_0x10466b=_0x10466b-0x148;var _0x417554=_0x330c25[_0x10466b];return _0x417554;},_0x1046(_0x519ec2,_0x2a0415);};export var CacheFileType;function _0x330c(){var _0xea0122=['hPkQf','IMAGE','4|2|1|3|0','YGhpR','VIDEO','8663144KlcXti','Hmprx','18VyHbQC','70VckYYq','468596CtGIbl','DmBGe','DOCUMENT','10970289qMKdbh','210929djmcpX','PeUwJ','2777450HwXrBj','6tEZtBf','AUDIO','554643LlueVT','2nFZcgt','24DQkscT','OTHER','5034910GTCgiL','7EqmUgM'];_0x330c=function(){return _0xea0122;};return _0x330c();}(function(_0x6156d5){var _0x3e3955=_0x1046,_0x2455dc={'Hmprx':_0x3e3955(0x14f),'hPkQf':_0x3e3955(0x14a),'DmBGe':_0x3e3955(0x15e),'PeUwJ':_0x3e3955(0x151),'MBOjp':_0x3e3955(0x158),'YGhpR':_0x3e3955(0x14e)},_0x3ac73b=_0x2455dc[_0x3e3955(0x153)]['split']('|'),_0x399142=0x0;while(!![]){switch(_0x3ac73b[_0x399142++]){case'0':_0x6156d5[_0x6156d5[_0x2455dc[_0x3e3955(0x14d)]]=0x4]=_0x2455dc[_0x3e3955(0x14d)];continue;case'1':_0x6156d5[_0x6156d5[_0x2455dc[_0x3e3955(0x157)]]=0x2]=_0x2455dc['DmBGe'];continue;case'2':_0x6156d5[_0x6156d5[_0x3e3955(0x151)]=0x1]=_0x2455dc[_0x3e3955(0x15b)];continue;case'3':_0x6156d5[_0x6156d5[_0x2455dc['MBOjp']]=0x3]=_0x3e3955(0x158);continue;case'4':_0x6156d5[_0x6156d5[_0x2455dc[_0x3e3955(0x150)]]=0x0]=_0x2455dc[_0x3e3955(0x150)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x48314b,_0x437408){var _0x23ce93=_0x1ece,_0x46bfbd=_0x48314b();while(!![]){try{var _0x5bbbe5=-parseInt(_0x23ce93(0x1dd))/0x1*(-parseInt(_0x23ce93(0x1cf))/0x2)+parseInt(_0x23ce93(0x1d9))/0x3+parseInt(_0x23ce93(0x1d3))/0x4*(parseInt(_0x23ce93(0x1d0))/0x5)+-parseInt(_0x23ce93(0x1cc))/0x6*(-parseInt(_0x23ce93(0x1cd))/0x7)+parseInt(_0x23ce93(0x1d5))/0x8*(-parseInt(_0x23ce93(0x1dc))/0x9)+-parseInt(_0x23ce93(0x1d4))/0xa+-parseInt(_0x23ce93(0x1db))/0xb*(parseInt(_0x23ce93(0x1d7))/0xc);if(_0x5bbbe5===_0x437408)break;else _0x46bfbd['push'](_0x46bfbd['shift']());}catch(_0x8bbf11){_0x46bfbd['push'](_0x46bfbd['shift']());}}}(_0x1a78,0x5b73e));function _0x1a78(){var _0x27d265=['3411924vhGUlP','VIDEO','1513497IhYoMl','PaibN','33YHFjGI','1149867Zygsss','248579ettFNo','OTHER','DOCUMENT','hvDUS','AUDIO','42VTfzGK','260988vHrezl','CNnwL','4OkMggT','1993815COWrAn','GRUJQ','kCUgy','4xRhFMt','505480lPzIyI','24icJDEF','IMAGE'];_0x1a78=function(){return _0x27d265;};return _0x1a78();};export var CacheFileType;function _0x1ece(_0x23215b,_0x4e0963){var _0x1a78e1=_0x1a78();return _0x1ece=function(_0x1ece1a,_0x1011c0){_0x1ece1a=_0x1ece1a-0x1ca;var _0x484691=_0x1a78e1[_0x1ece1a];return _0x484691;},_0x1ece(_0x23215b,_0x4e0963);}(function(_0x2a1074){var _0x16fbcf=_0x1ece,_0x1e2f56={'kCUgy':_0x16fbcf(0x1d6),'hvDUS':_0x16fbcf(0x1d8),'CNnwL':_0x16fbcf(0x1cb),'PaibN':_0x16fbcf(0x1df),'GRUJQ':_0x16fbcf(0x1de)};_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1d2)]]=0x0]=_0x16fbcf(0x1d6),_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1ca)]]=0x1]=_0x1e2f56[_0x16fbcf(0x1ca)],_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1ce)]]=0x2]=_0x16fbcf(0x1cb),_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1da)]]=0x3]=_0x1e2f56['PaibN'],_0x2a1074[_0x2a1074[_0x1e2f56[_0x16fbcf(0x1d1)]]=0x4]=_0x16fbcf(0x1de);}(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 6fb284dc..3e3d71b3 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x564699=_0x2b21;(function(_0x3cfff5,_0x29ec99){const _0x517f26=_0x2b21,_0x324111=_0x3cfff5();while(!![]){try{const _0x3ed328=parseInt(_0x517f26(0xf7))/0x1*(parseInt(_0x517f26(0xbc))/0x2)+parseInt(_0x517f26(0xcd))/0x3*(-parseInt(_0x517f26(0xe2))/0x4)+-parseInt(_0x517f26(0xbb))/0x5*(-parseInt(_0x517f26(0xb8))/0x6)+parseInt(_0x517f26(0xbf))/0x7+parseInt(_0x517f26(0xb2))/0x8+parseInt(_0x517f26(0xb5))/0x9*(-parseInt(_0x517f26(0xeb))/0xa)+-parseInt(_0x517f26(0xed))/0xb;if(_0x3ed328===_0x29ec99)break;else _0x324111['push'](_0x324111['shift']());}catch(_0x2095de){_0x324111['push'](_0x324111['shift']());}}}(_0x4875,0x93f3c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x33d3b0}from'node:fs';import _0x451c9b 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';function _0x4875(){const _0x5a3677=['33256HzhUhQ','QxSLB','sysface','join','REPLY','dice','https://www.bilibili.com/','get','toString','491280DzcxnU','rps','13438601jSadVF','gwiCd','Bot\x20Test','video','IpReZ','文件异常,大小为0','unlink','MFACE','VIDEO','DsiOj','26963ceGzJE','xlzvs','mp4','sep','[商城表情]','FACE','getImageSize','CsKtN','AniStickerType','stat','IeZZZ','TEXT','screenshots','JMgWo','Ori','nCZYL','mface','KkJGa','RVYgS','copyFile','vkUTc','writeFile','uploadFile','5505288EGmSUZ','eZNlI','siYpR','9QVQLlA','find','set','3389784lzxaDo','PTT','qDnXy','5DOKTeF','38fZJLcq','AniStickerId','YUNJt','5959485srgHZU','swLeN','size','Thumb','width','[骰子]','ljzUb','catch','ARK','RvDUw','markdown','auaFE','reply','height','267BYhjAs','[包剪锤]','uGTbC','获取视频信息失败','stringify','QSid','file','QDes','fjgwx','PIC','then','notAt','ieDhB','end','FILE','XLars','CXXGr','time','_0.png','MdUxB','SToyb'];_0x4875=function(){return _0x5a3677;};return _0x4875();}import{encodeSilk}from'@/common/utils/audio';import _0x2dda2b from'./face_config.json';import*as _0x5f10df from'node:path';function _0x2b21(_0x2932e4,_0x8c5fec){const _0x4875d0=_0x4875();return _0x2b21=function(_0x2b21fa,_0x4e6935){_0x2b21fa=_0x2b21fa-0xa1;let _0x307215=_0x4875d0[_0x2b21fa];return _0x307215;},_0x2b21(_0x2932e4,_0x8c5fec);}import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x4a12a8){const _0x29b43d=_0x2b21;return{'elementType':ElementType[_0x29b43d(0xa6)],'elementId':'','textElement':{'content':_0x4a12a8,'atType':AtType[_0x29b43d(0xd8)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x19215d,_0x562c51,_0x50582d,_0x85cbd4){const _0xd875e9=_0x2b21;return{'elementType':ElementType[_0xd875e9(0xa6)],'elementId':'','textElement':{'content':'@'+_0x85cbd4,'atType':_0x50582d,'atUid':_0x19215d,'atTinyId':'','atNtUid':_0x562c51}};}static[_0x564699(0xcb)](_0x130bd4,_0x441d75,_0x4c6527,_0x5428a7){const _0x503096=_0x564699;return{'elementType':ElementType[_0x503096(0xe6)],'elementId':'','replyElement':{'replayMsgSeq':_0x130bd4,'replayMsgId':_0x441d75,'senderUin':_0x4c6527,'senderUinStr':_0x5428a7}};}static async['pic'](_0x2e3ffa,_0x25ed2b='',_0x592db6=0x0){const _0x1ba1a5=_0x564699,_0x4f9143={'OaCPf':function(_0x15f5f4,_0xd7c51b){return _0x15f5f4===_0xd7c51b;},'LYwWV':_0x1ba1a5(0xf2),'ljzUb':function(_0x556c94,_0x5e36f8){return _0x556c94(_0x5e36f8);}},{md5:_0x37d3fa,fileName:_0x432806,path:_0x381e29,fileSize:_0x97151f}=await NTQQFileApi['uploadFile'](_0x2e3ffa,ElementType[_0x1ba1a5(0xd6)],_0x592db6);if(_0x4f9143['OaCPf'](_0x97151f,0x0))throw _0x4f9143['LYwWV'];const _0x4d1191=await NTQQFileApi[_0x1ba1a5(0xa1)](_0x2e3ffa),_0x500f16={'md5HexStr':_0x37d3fa,'fileSize':_0x97151f[_0x1ba1a5(0xea)](),'picWidth':_0x4d1191?.['width'],'picHeight':_0x4d1191?.[_0x1ba1a5(0xcc)],'fileName':_0x432806,'sourcePath':_0x381e29,'original':!![],'picType':_0x4f9143[_0x1ba1a5(0xc5)](isGIF,_0x2e3ffa)?PicType['gif']:PicType['jpg'],'picSubType':_0x592db6,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x25ed2b};return{'elementType':ElementType[_0x1ba1a5(0xd6)],'elementId':'','picElement':_0x500f16};}static async[_0x564699(0xd3)](_0x2fb5be,_0xcd3407='',_0x2d629d=''){const _0x3c8510=_0x564699,_0x2d5afb={'RvDUw':function(_0x3bf917,_0x19964e){return _0x3bf917===_0x19964e;},'nCZYL':_0x3c8510(0xf2)},{md5:_0x334124,fileName:_0x112938,path:_0x2be26d,fileSize:_0x2386bc}=await NTQQFileApi[_0x3c8510(0xb1)](_0x2fb5be,ElementType[_0x3c8510(0xdb)]);if(_0x2d5afb[_0x3c8510(0xc8)](_0x2386bc,0x0))throw _0x2d5afb[_0x3c8510(0xaa)];const _0x291d8e={'elementType':ElementType[_0x3c8510(0xdb)],'elementId':'','fileElement':{'fileName':_0xcd3407||_0x112938,'folderId':_0x2d629d,'filePath':_0x2be26d,'fileSize':_0x2386bc[_0x3c8510(0xea)]()}};return _0x291d8e;}static async[_0x564699(0xf0)](_0x2424cf,_0x2ce855='',_0xd7be7e=''){const _0x3e84a2=_0x564699,_0x28adeb={'KkJGa':function(_0x2486a5,_0x4ee37f,_0x1bafc2){return _0x2486a5(_0x4ee37f,_0x1bafc2);},'YUNJt':'获取视频封面失败,使用默认封面','SToyb':function(_0x394a89,_0xabc8a8){return _0x394a89(_0xabc8a8);},'DsiOj':function(_0x5b2216,_0x3aaa03){return _0x5b2216(_0x3aaa03);},'RVYgS':_0x3e84a2(0xda),'QxSLB':'error','auaFE':function(_0xa42763,_0x1bcd47){return _0xa42763+_0x1bcd47;},'xlzvs':function(_0x10598b,_0xe8f160){return _0x10598b+_0xe8f160;},'CXXGr':function(_0x428bba,_0x4718ed){return _0x428bba===_0x4718ed;},'ieDhB':_0x3e84a2(0xf2),'qDnXy':_0x3e84a2(0xf9),'MdUxB':_0x3e84a2(0xd0),'fjgwx':function(_0xa720c9,_0x3667b4){return _0xa720c9||_0x3667b4;}},{fileName:_0x2215a4,path:_0x1179c8,fileSize:_0x57ffe0,md5:_0x4c5aca}=await NTQQFileApi[_0x3e84a2(0xb1)](_0x2424cf,ElementType[_0x3e84a2(0xf5)]);if(_0x28adeb[_0x3e84a2(0xdd)](_0x57ffe0,0x0))throw _0x28adeb[_0x3e84a2(0xd9)];let _0x2ccd21=_0x1179c8['replace'](_0x5f10df[_0x3e84a2(0xfa)]+_0x3e84a2(0xa9)+_0x5f10df['sep'],_0x5f10df[_0x3e84a2(0xfa)]+_0x3e84a2(0xc2)+_0x5f10df[_0x3e84a2(0xfa)]);_0x2ccd21=_0x5f10df['dirname'](_0x2ccd21);let _0x4af69d={'width':0x780,'height':0x438,'time':0xf,'format':_0x28adeb[_0x3e84a2(0xba)],'size':_0x57ffe0,'filePath':_0x2424cf};try{_0x4af69d=await _0x28adeb['SToyb'](getVideoInfo,_0x1179c8);}catch(_0x11abbe){logError(_0x28adeb[_0x3e84a2(0xe0)],_0x11abbe);}const _0x5835e0=new Promise((_0x4ad6a4,_0x1c1a79)=>{const _0x52b7bf=_0x3e84a2,_0xa16db1={'IpReZ':function(_0x61eec4,_0x389248){const _0x4b3f16=_0x2b21;return _0x28adeb[_0x4b3f16(0xe1)](_0x61eec4,_0x389248);}},_0x11d9b9=_0x4c5aca+_0x52b7bf(0xdf),_0x38f66e=_0x5f10df[_0x52b7bf(0xe5)](_0x2ccd21,_0x11d9b9);_0x28adeb[_0x52b7bf(0xf6)](_0x451c9b,_0x2424cf)['on'](_0x28adeb['RVYgS'],()=>{})['on'](_0x28adeb[_0x52b7bf(0xe3)],_0x31d5af=>{const _0x4547a2=_0x52b7bf;_0x28adeb[_0x4547a2(0xac)](logDebug,_0x28adeb[_0x4547a2(0xbe)],_0x31d5af),_0xd7be7e?_0x33d3b0[_0x4547a2(0xae)](_0xd7be7e,_0x38f66e)[_0x4547a2(0xd7)](()=>{_0x4ad6a4(_0x38f66e);})[_0x4547a2(0xc6)](_0x1c1a79):_0x33d3b0[_0x4547a2(0xb0)](_0x38f66e,defaultVideoThumb)[_0x4547a2(0xd7)](()=>{const _0x48a782=_0x4547a2;_0xa16db1[_0x48a782(0xf1)](_0x4ad6a4,_0x38f66e);})['catch'](_0x1c1a79);})[_0x52b7bf(0xa7)]({'timestamps':[0x0],'filename':_0x11d9b9,'folder':_0x2ccd21,'size':_0x28adeb[_0x52b7bf(0xca)](_0x28adeb[_0x52b7bf(0xf8)](_0x4af69d[_0x52b7bf(0xc3)],'x'),_0x4af69d[_0x52b7bf(0xcc)])})['on'](_0x28adeb[_0x52b7bf(0xad)],()=>{const _0xbe4bfe=_0x52b7bf;_0xa16db1[_0xbe4bfe(0xf1)](_0x4ad6a4,_0x38f66e);});}),_0x2f058=new Map(),_0x4ea8ee=await _0x5835e0,_0x4524a2=(await _0x33d3b0[_0x3e84a2(0xa4)](_0x4ea8ee))[_0x3e84a2(0xc1)];_0x2f058[_0x3e84a2(0xb7)](0x0,_0x4ea8ee);const _0x598ce2=await _0x28adeb['DsiOj'](calculateFileMD5,_0x4ea8ee),_0x55b439={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x28adeb[_0x3e84a2(0xd5)](_0x2ce855,_0x2215a4),'filePath':_0x1179c8,'videoMd5':_0x4c5aca,'thumbMd5':_0x598ce2,'fileTime':_0x4af69d[_0x3e84a2(0xde)],'thumbPath':_0x2f058,'thumbSize':_0x4524a2,'thumbWidth':_0x4af69d[_0x3e84a2(0xc3)],'thumbHeight':_0x4af69d['height'],'fileSize':''+_0x57ffe0}};return _0x55b439;}static async['ptt'](_0x5c3a64){const _0x37ec37=_0x564699,_0x1f93b4={'QwIMY':'语音转换失败,\x20请检查语音文件是否正常','swLeN':'文件异常,大小为0','HzXhj':function(_0x51227c,_0x2f5712){return _0x51227c||_0x2f5712;}},{converted:_0x4ae360,path:_0x274321,duration:_0x587fdf}=await encodeSilk(_0x5c3a64);if(!_0x274321)throw _0x1f93b4['QwIMY'];const {md5:_0x5c2952,fileName:_0x2e69ba,path:_0x5cec94,fileSize:_0x3ea590}=await NTQQFileApi[_0x37ec37(0xb1)](_0x274321,ElementType[_0x37ec37(0xb9)]);if(_0x3ea590===0x0)throw _0x1f93b4[_0x37ec37(0xc0)];return _0x4ae360&&_0x33d3b0[_0x37ec37(0xf3)](_0x274321)[_0x37ec37(0xd7)](),{'elementType':ElementType[_0x37ec37(0xb9)],'elementId':'','pttElement':{'fileName':_0x2e69ba,'filePath':_0x5cec94,'md5HexStr':_0x5c2952,'fileSize':_0x3ea590,'duration':_0x1f93b4['HzXhj'](_0x587fdf,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'](_0x1e7545){const _0x3c4550=_0x564699,_0x57c8de={'UyNfG':function(_0x190626,_0x3caeb6){return _0x190626(_0x3caeb6);},'vkUTc':function(_0x586b4f,_0x3811f5){return _0x586b4f>=_0x3811f5;}},_0x20da3b=_0x2dda2b[_0x3c4550(0xe4)],_0x29462f=_0x2dda2b['emoji'],_0x53d56a=_0x20da3b[_0x3c4550(0xb6)](_0x39c194=>_0x39c194[_0x3c4550(0xd2)]===_0x1e7545[_0x3c4550(0xea)]());_0x1e7545=_0x57c8de['UyNfG'](parseInt,_0x1e7545[_0x3c4550(0xea)]());let _0x25dc1d=0x1;return _0x57c8de[_0x3c4550(0xaf)](_0x1e7545,0xde)&&(_0x25dc1d=0x2),_0x53d56a['AniStickerType']&&(_0x25dc1d=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x1e7545,'faceType':_0x25dc1d,'faceText':_0x53d56a[_0x3c4550(0xd4)],'stickerId':_0x53d56a[_0x3c4550(0xbd)],'stickerType':_0x53d56a[_0x3c4550(0xa3)],'packId':_0x53d56a['AniStickerPackId'],'sourceType':0x1}};}static[_0x564699(0xab)](_0x470b44,_0xdfb28e,_0x573d74,_0x1a2661){const _0x5c7fb1=_0x564699,_0x47213f={'CsKtN':_0x5c7fb1(0xfb)};return{'elementType':ElementType[_0x5c7fb1(0xf4)],'marketFaceElement':{'emojiPackageId':_0x470b44,'emojiId':_0xdfb28e,'key':_0x573d74,'faceName':_0x1a2661||mFaceCache[_0x5c7fb1(0xe9)](_0xdfb28e)||_0x47213f[_0x5c7fb1(0xa2)]}};}static[_0x564699(0xe7)](_0x4dbee9){const _0x3219b7=_0x564699,_0x4e91a2={'uGTbC':_0x3219b7(0xc4)};return{'elementType':ElementType[_0x3219b7(0xfc)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x4e91a2[_0x3219b7(0xcf)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x564699(0xec)](_0x3928db){const _0x2212ee=_0x564699,_0x22d026={'DKRvs':_0x2212ee(0xce)};return{'elementType':ElementType[_0x2212ee(0xfc)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x22d026['DKRvs'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x471e5e){const _0x48e862=_0x564699,_0xbbf8d8={'JMgWo':function(_0xe3b699,_0x2aee1f){return _0xe3b699!==_0x2aee1f;},'SNOFX':'string'};return _0xbbf8d8[_0x48e862(0xa8)](typeof _0x471e5e,_0xbbf8d8['SNOFX'])&&(_0x471e5e=JSON[_0x48e862(0xd1)](_0x471e5e)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x471e5e,'linkInfo':null,'subElementType':null}};}static[_0x564699(0xc9)](_0x2bd819){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x2bd819}};}static async['miniapp'](){const _0x2b530a=_0x564699,_0x2ba076={'gwiCd':function(_0x14aa39,_0x231d7b){return _0x14aa39(_0x231d7b);},'IeZZZ':_0x2b530a(0xef),'XLars':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','eZNlI':_0x2b530a(0xe8),'siYpR':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x4c7ffe=await _0x2ba076[_0x2b530a(0xee)](SignMiniApp,{'prompt':_0x2ba076[_0x2b530a(0xa5)],'title':_0x2ba076[_0x2b530a(0xa5)],'preview':_0x2ba076[_0x2b530a(0xdc)],'jumpUrl':_0x2ba076[_0x2b530a(0xb3)],'tag':_0x2ba076[_0x2b530a(0xa5)],'tagIcon':_0x2ba076['siYpR'],'source':_0x2ba076[_0x2b530a(0xa5)],'sourcelogo':_0x2ba076[_0x2b530a(0xb4)]});return{'elementType':ElementType[_0x2b530a(0xc7)],'elementId':'','arkElement':{'bytesData':_0x4c7ffe,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x4ad9cc=_0x209c;(function(_0x371d51,_0x262aad){const _0x2d53d1=_0x209c,_0x1979d1=_0x371d51();while(!![]){try{const _0x2cdfd7=parseInt(_0x2d53d1(0x20e))/0x1*(parseInt(_0x2d53d1(0x1fe))/0x2)+-parseInt(_0x2d53d1(0x1c8))/0x3*(parseInt(_0x2d53d1(0x1fb))/0x4)+-parseInt(_0x2d53d1(0x1c6))/0x5*(parseInt(_0x2d53d1(0x1fd))/0x6)+-parseInt(_0x2d53d1(0x1ef))/0x7+parseInt(_0x2d53d1(0x1e1))/0x8+-parseInt(_0x2d53d1(0x1c2))/0x9*(-parseInt(_0x2d53d1(0x1e6))/0xa)+parseInt(_0x2d53d1(0x1cd))/0xb;if(_0x2cdfd7===_0x262aad)break;else _0x1979d1['push'](_0x1979d1['shift']());}catch(_0x2a412e){_0x1979d1['push'](_0x1979d1['shift']());}}}(_0x8361,0x21405));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0xb2518b}from'node:fs';import _0x1ecbbd 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';function _0x8361(){const _0x18bbbc=['FjTZD','cghGG','hjWod','gif','ARK','PnnRs','HGkoJ','miniapp','sysface','Thumb','PkdDg','[骰子]','LxDLA','550320SXvdRx','uploadFile','then','TRWoZ','file','1341690cOHTeO','face','获取视频信息失败','MDkab','VIDEO','ark','QDes','AniStickerPackId','VbDji','1893542HHOZdl','video','catch','OdkwF','width','mface','uFLRV','toString','tQUTG','[包剪锤]','sep','语音转换失败,\x20请检查语音文件是否正常','89268Jscawy','height','12dFRiQN','249244kxfglK','writeFile','FILE','pSfIW','find','string','sIwyW','dice','FACE','copyFile','FajTv','set','stringify','[商城表情]','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','TEXT','2WYpGRo','markdown','https://www.bilibili.com/','uTJbo','AniStickerType','error','notAt','screenshots','REPLY','Bot\x20Test','size','IUGOt','stat','IalxJ','getImageSize','9lgWDex','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','cXuPP','DyUCF','509365rmNLBV','RPS','9fEviIw','文件异常,大小为0','jpg','rps','PIC','2477167CDuRtm','PTT','xinWE','QSid','AniStickerId','get','pic'];_0x8361=function(){return _0x18bbbc;};return _0x8361();}import _0x29779a from'./face_config.json';function _0x209c(_0x4ad0a6,_0x1c57ac){const _0x8361f3=_0x8361();return _0x209c=function(_0x209cc2,_0x2dd4ff){_0x209cc2=_0x209cc2-0x1b9;let _0x46bfbf=_0x8361f3[_0x209cc2];return _0x46bfbf;},_0x209c(_0x4ad0a6,_0x1c57ac);}import*as _0x36be95 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x4c060f){const _0x256847=_0x209c;return{'elementType':ElementType[_0x256847(0x20d)],'elementId':'','textElement':{'content':_0x4c060f,'atType':AtType[_0x256847(0x1b9)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x29afaf,_0x157a5f,_0x5a8c43,_0x2acb21){const _0x20186b=_0x209c;return{'elementType':ElementType[_0x20186b(0x20d)],'elementId':'','textElement':{'content':'@'+_0x2acb21,'atType':_0x5a8c43,'atUid':_0x29afaf,'atTinyId':'','atNtUid':_0x157a5f}};}static['reply'](_0x13a60e,_0x5cf8fd,_0x2efe88,_0x201df6){const _0x16a5fa=_0x209c;return{'elementType':ElementType[_0x16a5fa(0x1bb)],'elementId':'','replyElement':{'replayMsgSeq':_0x13a60e,'replayMsgId':_0x5cf8fd,'senderUin':_0x2efe88,'senderUinStr':_0x201df6}};}static async[_0x4ad9cc(0x1d3)](_0xd8e1b9,_0x11ec36='',_0x2da173=0x0){const _0x170818=_0x4ad9cc,_0x301391={'IalxJ':function(_0x3fa739,_0x4eb459){return _0x3fa739===_0x4eb459;},'FajTv':_0x170818(0x1c9),'caibV':function(_0x566db9,_0x2850d6){return _0x566db9(_0x2850d6);}},{md5:_0x18ad24,fileName:_0x551d19,path:_0x15a718,fileSize:_0x3efa7e}=await NTQQFileApi[_0x170818(0x1e2)](_0xd8e1b9,ElementType[_0x170818(0x1cc)],_0x2da173);if(_0x301391[_0x170818(0x1c0)](_0x3efa7e,0x0))throw _0x301391[_0x170818(0x208)];const _0x25a207=await NTQQFileApi[_0x170818(0x1c1)](_0xd8e1b9),_0x514f27={'md5HexStr':_0x18ad24,'fileSize':_0x3efa7e[_0x170818(0x1f6)](),'picWidth':_0x25a207?.[_0x170818(0x1f3)],'picHeight':_0x25a207?.[_0x170818(0x1fc)],'fileName':_0x551d19,'sourcePath':_0x15a718,'original':!![],'picType':_0x301391['caibV'](isGIF,_0xd8e1b9)?PicType[_0x170818(0x1d7)]:PicType[_0x170818(0x1ca)],'picSubType':_0x2da173,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x11ec36};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x514f27};}static async[_0x4ad9cc(0x1e5)](_0x5a45de,_0x9d17f0='',_0x8510ad=''){const _0x255a92=_0x4ad9cc,_0x29d154={'pSfIW':function(_0x3ccade,_0x54e22f){return _0x3ccade===_0x54e22f;}},{md5:_0x4c87bc,fileName:_0x36c498,path:_0x1f0079,fileSize:_0x10ebaa}=await NTQQFileApi[_0x255a92(0x1e2)](_0x5a45de,ElementType[_0x255a92(0x200)]);if(_0x29d154[_0x255a92(0x201)](_0x10ebaa,0x0))throw _0x255a92(0x1c9);const _0x1b34e3={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x9d17f0||_0x36c498,'folderId':_0x8510ad,'filePath':_0x1f0079,'fileSize':_0x10ebaa[_0x255a92(0x1f6)]()}};return _0x1b34e3;}static async[_0x4ad9cc(0x1f0)](_0x566067,_0x1e7708='',_0x589f2b=''){const _0x3d4b1c=_0x4ad9cc,_0x6f9d53={'TRWoZ':function(_0x4a9775,_0x1b0d71){return _0x4a9775(_0x1b0d71);},'xinWE':_0x3d4b1c(0x213),'sIwyW':function(_0x590ece,_0x3edb7b){return _0x590ece+_0x3edb7b;},'PkdDg':'end','uFLRV':function(_0x993a,_0x242d57){return _0x993a===_0x242d57;},'IoawA':_0x3d4b1c(0x1c9),'cXuPP':_0x3d4b1c(0x1e8),'MDkab':function(_0x284ffd,_0x3de936){return _0x284ffd||_0x3de936;}},{fileName:_0x2d8e3b,path:_0xce53cc,fileSize:_0x337f9d,md5:_0x3bfd83}=await NTQQFileApi[_0x3d4b1c(0x1e2)](_0x566067,ElementType['VIDEO']);if(_0x6f9d53[_0x3d4b1c(0x1f5)](_0x337f9d,0x0))throw _0x6f9d53['IoawA'];let _0x4c23a5=_0xce53cc['replace'](_0x36be95[_0x3d4b1c(0x1f9)]+'Ori'+_0x36be95[_0x3d4b1c(0x1f9)],_0x36be95[_0x3d4b1c(0x1f9)]+_0x3d4b1c(0x1dd)+_0x36be95[_0x3d4b1c(0x1f9)]);_0x4c23a5=_0x36be95['dirname'](_0x4c23a5);let _0x33ecc4={'width':0x780,'height':0x438,'time':0xf,'format':'mp4','size':_0x337f9d,'filePath':_0x566067};try{_0x33ecc4=await _0x6f9d53[_0x3d4b1c(0x1e4)](getVideoInfo,_0xce53cc);}catch(_0x2e7ed5){logError(_0x6f9d53[_0x3d4b1c(0x1c4)],_0x2e7ed5);}const _0x249bc9=new Promise((_0x5e5ee5,_0x417caa)=>{const _0x2d6967=_0x3d4b1c,_0x49d683={'FIbnH':function(_0x505e60,_0x1365dd){const _0x5cdf2d=_0x209c;return _0x6f9d53[_0x5cdf2d(0x1e4)](_0x505e60,_0x1365dd);},'HGkoJ':function(_0x59a8f7,_0x50a2a2){return _0x59a8f7(_0x50a2a2);},'DyUCF':'获取视频封面失败,使用默认封面'},_0x1828a4=_0x3bfd83+'_0.png',_0x8adb7c=_0x36be95['join'](_0x4c23a5,_0x1828a4);_0x1ecbbd(_0x566067)['on']('end',()=>{})['on'](_0x6f9d53[_0x2d6967(0x1cf)],_0x4cd392=>{const _0x360644=_0x2d6967,_0x54ee52={'OdkwF':function(_0x2d6f02,_0xe2ea65){return _0x49d683['FIbnH'](_0x2d6f02,_0xe2ea65);},'EGuQh':function(_0x4c0761,_0x31d28d){const _0x4693c9=_0x209c;return _0x49d683[_0x4693c9(0x1da)](_0x4c0761,_0x31d28d);}};logDebug(_0x49d683[_0x360644(0x1c5)],_0x4cd392),_0x589f2b?_0xb2518b[_0x360644(0x207)](_0x589f2b,_0x8adb7c)['then'](()=>{const _0x2486a7=_0x360644;_0x54ee52[_0x2486a7(0x1f2)](_0x5e5ee5,_0x8adb7c);})['catch'](_0x417caa):_0xb2518b[_0x360644(0x1ff)](_0x8adb7c,defaultVideoThumb)[_0x360644(0x1e3)](()=>{_0x54ee52['EGuQh'](_0x5e5ee5,_0x8adb7c);})[_0x360644(0x1f1)](_0x417caa);})[_0x2d6967(0x1ba)]({'timestamps':[0x0],'filename':_0x1828a4,'folder':_0x4c23a5,'size':_0x6f9d53[_0x2d6967(0x204)](_0x33ecc4[_0x2d6967(0x1f3)]+'x',_0x33ecc4[_0x2d6967(0x1fc)])})['on'](_0x6f9d53[_0x2d6967(0x1de)],()=>{_0x5e5ee5(_0x8adb7c);});}),_0x48a808=new Map(),_0x2fb19e=await _0x249bc9,_0x1974fd=(await _0xb2518b[_0x3d4b1c(0x1bf)](_0x2fb19e))[_0x3d4b1c(0x1bd)];_0x48a808[_0x3d4b1c(0x209)](0x0,_0x2fb19e);const _0x978b52=await _0x6f9d53['TRWoZ'](calculateFileMD5,_0x2fb19e),_0x549eb4={'elementType':ElementType[_0x3d4b1c(0x1ea)],'elementId':'','videoElement':{'fileName':_0x6f9d53[_0x3d4b1c(0x1e9)](_0x1e7708,_0x2d8e3b),'filePath':_0xce53cc,'videoMd5':_0x3bfd83,'thumbMd5':_0x978b52,'fileTime':_0x33ecc4['time'],'thumbPath':_0x48a808,'thumbSize':_0x1974fd,'thumbWidth':_0x33ecc4[_0x3d4b1c(0x1f3)],'thumbHeight':_0x33ecc4['height'],'fileSize':_0x6f9d53[_0x3d4b1c(0x204)]('',_0x337f9d)}};return _0x549eb4;}static async['ptt'](_0x3264ce){const _0x3cb49c=_0x4ad9cc,_0x90d199={'LxDLA':function(_0xe651ad,_0x5ed71d){return _0xe651ad(_0x5ed71d);},'staEx':function(_0x462dfc,_0x51af49){return _0x462dfc===_0x51af49;},'gkUVg':function(_0x5d696b,_0xe31af3){return _0x5d696b||_0xe31af3;}},{converted:_0xdfcd12,path:_0x1a4e29,duration:_0x11c7b7}=await _0x90d199[_0x3cb49c(0x1e0)](encodeSilk,_0x3264ce);if(!_0x1a4e29)throw _0x3cb49c(0x1fa);const {md5:_0x28b4a6,fileName:_0x3682d2,path:_0x2fa67e,fileSize:_0x437321}=await NTQQFileApi[_0x3cb49c(0x1e2)](_0x1a4e29,ElementType[_0x3cb49c(0x1ce)]);if(_0x90d199['staEx'](_0x437321,0x0))throw _0x3cb49c(0x1c9);return _0xdfcd12&&_0xb2518b['unlink'](_0x1a4e29)[_0x3cb49c(0x1e3)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x3682d2,'filePath':_0x2fa67e,'md5HexStr':_0x28b4a6,'fileSize':_0x437321,'duration':_0x90d199['gkUVg'](_0x11c7b7,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[_0x4ad9cc(0x1e7)](_0x51df4f){const _0x56f0d0=_0x4ad9cc,_0x3ba231={'PnnRs':function(_0x50cbd0,_0xa13410){return _0x50cbd0(_0xa13410);},'IUGOt':function(_0x3aab1a,_0x4ac8e5){return _0x3aab1a>=_0x4ac8e5;}},_0x1694b1=_0x29779a[_0x56f0d0(0x1dc)],_0x2bf3d4=_0x29779a['emoji'],_0x1bbbe2=_0x1694b1[_0x56f0d0(0x202)](_0x5456e9=>_0x5456e9[_0x56f0d0(0x1d0)]===_0x51df4f[_0x56f0d0(0x1f6)]());_0x51df4f=_0x3ba231[_0x56f0d0(0x1d9)](parseInt,_0x51df4f[_0x56f0d0(0x1f6)]());let _0x309bec=0x1;return _0x3ba231[_0x56f0d0(0x1be)](_0x51df4f,0xde)&&(_0x309bec=0x2),_0x1bbbe2[_0x56f0d0(0x212)]&&(_0x309bec=0x3),{'elementType':ElementType[_0x56f0d0(0x206)],'elementId':'','faceElement':{'faceIndex':_0x51df4f,'faceType':_0x309bec,'faceText':_0x1bbbe2[_0x56f0d0(0x1ec)],'stickerId':_0x1bbbe2[_0x56f0d0(0x1d1)],'stickerType':_0x1bbbe2[_0x56f0d0(0x212)],'packId':_0x1bbbe2[_0x56f0d0(0x1ed)],'sourceType':0x1}};}static[_0x4ad9cc(0x1f4)](_0x589fa9,_0x3733eb,_0x46f2a3,_0x351649){const _0x2b4dfb=_0x4ad9cc,_0x4f2060={'cghGG':_0x2b4dfb(0x20b)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x589fa9,'emojiId':_0x3733eb,'key':_0x46f2a3,'faceName':_0x351649||mFaceCache[_0x2b4dfb(0x1d2)](_0x3733eb)||_0x4f2060[_0x2b4dfb(0x1d5)]}};}static[_0x4ad9cc(0x205)](_0x2e97eb){const _0x50fb88=_0x4ad9cc,_0x3f18ab={'tQUTG':_0x50fb88(0x1df)};return{'elementType':ElementType[_0x50fb88(0x206)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x50fb88(0x205)],'faceType':FaceType['dice'],'faceText':_0x3f18ab[_0x50fb88(0x1f7)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x4ad9cc(0x1cb)](_0x49bb4d){const _0x6e8cb6=_0x4ad9cc,_0x47ca9f={'uTJbo':_0x6e8cb6(0x1f8)};return{'elementType':ElementType[_0x6e8cb6(0x206)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x6e8cb6(0x1c7)],'faceText':_0x47ca9f[_0x6e8cb6(0x211)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x4ad9cc(0x1eb)](_0x34570f){const _0x5593a1=_0x4ad9cc,_0x1c2f72={'VbDji':_0x5593a1(0x203)};return typeof _0x34570f!==_0x1c2f72[_0x5593a1(0x1ee)]&&(_0x34570f=JSON[_0x5593a1(0x20a)](_0x34570f)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x34570f,'linkInfo':null,'subElementType':null}};}static[_0x4ad9cc(0x20f)](_0x2106f9){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x2106f9}};}static async[_0x4ad9cc(0x1db)](){const _0x23d5e8=_0x4ad9cc,_0x44ee3e={'hjWod':'Bot\x20Test','FjTZD':_0x23d5e8(0x210)};let _0x50125e=await SignMiniApp({'prompt':_0x44ee3e['hjWod'],'title':_0x44ee3e['hjWod'],'preview':_0x23d5e8(0x20c),'jumpUrl':_0x44ee3e[_0x23d5e8(0x1d4)],'tag':_0x23d5e8(0x1bc),'tagIcon':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','source':_0x44ee3e[_0x23d5e8(0x1d6)],'sourcelogo':_0x23d5e8(0x1c3)});return{'elementType':ElementType[_0x23d5e8(0x1d8)],'elementId':'','arkElement':{'bytesData':_0x50125e,'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 8c301416..a98a4c6f 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x5bb9(_0x19c490,_0x199cf2){var _0x30b0c9=_0x30b0();return _0x5bb9=function(_0x5bb97d,_0x3115df){_0x5bb97d=_0x5bb97d-0xf0;var _0x15b44a=_0x30b0c9[_0x5bb97d];return _0x15b44a;},_0x5bb9(_0x19c490,_0x199cf2);}(function(_0x6be5ad,_0x248779){var _0x387ac2=_0x5bb9,_0x1bf2d4=_0x6be5ad();while(!![]){try{var _0x4627b4=-parseInt(_0x387ac2(0xf5))/0x1*(parseInt(_0x387ac2(0xf0))/0x2)+parseInt(_0x387ac2(0xf3))/0x3+-parseInt(_0x387ac2(0xfc))/0x4*(parseInt(_0x387ac2(0xf1))/0x5)+-parseInt(_0x387ac2(0xf7))/0x6*(-parseInt(_0x387ac2(0xff))/0x7)+parseInt(_0x387ac2(0xf6))/0x8+parseInt(_0x387ac2(0xf4))/0x9*(-parseInt(_0x387ac2(0xf2))/0xa)+parseInt(_0x387ac2(0xfa))/0xb*(parseInt(_0x387ac2(0xf8))/0xc);if(_0x4627b4===_0x248779)break;else _0x1bf2d4['push'](_0x1bf2d4['shift']());}catch(_0x323af6){_0x1bf2d4['push'](_0x1bf2d4['shift']());}}}(_0x30b0,0x4bb76));function _0x30b0(){var _0x55af66=['rcNes','3227VQEjUi','normal','JXBtI','116HPiTnB','297370sKdFjr','31490mdoBrQ','1402272vJbGCY','1359HotBWK','5421pDlcCU','2494320yWHpGp','822tcfUJX','48nIcwla','cYmyB','2344155slMaNC','owner','40nyNgFJ','admin'];_0x30b0=function(){return _0x55af66;};return _0x30b0();}export var GroupMemberRole;(function(_0x4f501b){var _0x15407f=_0x5bb9,_0x163bfa={'rcNes':_0x15407f(0x100),'cYmyB':_0x15407f(0xfd),'JXBtI':_0x15407f(0xfb)};_0x4f501b[_0x4f501b[_0x15407f(0x100)]=0x2]=_0x163bfa[_0x15407f(0xfe)],_0x4f501b[_0x4f501b[_0x163bfa[_0x15407f(0xf9)]]=0x3]=_0x163bfa[_0x15407f(0xf9)],_0x4f501b[_0x4f501b[_0x163bfa[_0x15407f(0x101)]]=0x4]=_0x15407f(0xfb);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0xbfb3cc,_0x329927){var _0x3d3cf6=_0x3251,_0x48653c=_0xbfb3cc();while(!![]){try{var _0x3d30c4=parseInt(_0x3d3cf6(0x11d))/0x1+parseInt(_0x3d3cf6(0x120))/0x2+-parseInt(_0x3d3cf6(0x126))/0x3+parseInt(_0x3d3cf6(0x128))/0x4*(parseInt(_0x3d3cf6(0x127))/0x5)+-parseInt(_0x3d3cf6(0x124))/0x6*(-parseInt(_0x3d3cf6(0x123))/0x7)+-parseInt(_0x3d3cf6(0x122))/0x8*(-parseInt(_0x3d3cf6(0x11c))/0x9)+-parseInt(_0x3d3cf6(0x11f))/0xa;if(_0x3d30c4===_0x329927)break;else _0x48653c['push'](_0x48653c['shift']());}catch(_0x40faac){_0x48653c['push'](_0x48653c['shift']());}}}(_0x2774,0xbf42b));export var GroupMemberRole;(function(_0x460262){var _0x84706c=_0x3251,_0x3881d={'LiOUw':_0x84706c(0x125),'PRWfS':'owner'};_0x460262[_0x460262[_0x3881d['LiOUw']]=0x2]=_0x3881d[_0x84706c(0x121)],_0x460262[_0x460262[_0x84706c(0x11e)]=0x3]=_0x84706c(0x11e),_0x460262[_0x460262[_0x3881d[_0x84706c(0x11b)]]=0x4]=_0x3881d[_0x84706c(0x11b)];}(GroupMemberRole||(GroupMemberRole={})));function _0x3251(_0x7b3f8,_0x427c3f){var _0x2774bc=_0x2774();return _0x3251=function(_0x325120,_0x19bad){_0x325120=_0x325120-0x11b;var _0x329315=_0x2774bc[_0x325120];return _0x329315;},_0x3251(_0x7b3f8,_0x427c3f);}function _0x2774(){var _0x15e2d1=['PRWfS','9tuBqmO','1155390aEkKaM','admin','6543420rsiXRL','350300ooqWDB','LiOUw','536168CqjOKV','35nbikSz','237738yqQopU','normal','3004059jWPpaF','4217110iIQPUI','4oevibk'];_0x2774=function(){return _0x15e2d1;};return _0x2774();} \ 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 5f13dfe8..8c1734af 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x593648,_0x1acb0c){var _0x41ff9b=_0x47a2,_0x22874b=_0x593648();while(!![]){try{var _0x775c09=-parseInt(_0x41ff9b(0x1b3))/0x1*(parseInt(_0x41ff9b(0x1ad))/0x2)+-parseInt(_0x41ff9b(0x1ac))/0x3*(parseInt(_0x41ff9b(0x1b0))/0x4)+parseInt(_0x41ff9b(0x1b1))/0x5+parseInt(_0x41ff9b(0x1ae))/0x6*(parseInt(_0x41ff9b(0x1ab))/0x7)+parseInt(_0x41ff9b(0x1b2))/0x8+parseInt(_0x41ff9b(0x1af))/0x9+-parseInt(_0x41ff9b(0x1aa))/0xa;if(_0x775c09===_0x1acb0c)break;else _0x22874b['push'](_0x22874b['shift']());}catch(_0x1b23cd){_0x22874b['push'](_0x22874b['shift']());}}}(_0x2046,0x9d8ca));export*from'./user';export*from'./group';export*from'./msg';function _0x47a2(_0x411eaf,_0x3f7e7d){var _0x2046b2=_0x2046();return _0x47a2=function(_0x47a2a2,_0x265283){_0x47a2a2=_0x47a2a2-0x1aa;var _0x14da92=_0x2046b2[_0x47a2a2];return _0x14da92;},_0x47a2(_0x411eaf,_0x3f7e7d);}export*from'./notify';export*from'./cache';export*from'./constructor';function _0x2046(){var _0x5d4c1c=['1PcuDPX','8304110yiWkjZ','3377444vaxJuu','2134563HccJcH','2107796IXeirz','12sRHZMI','6914709PzUgUj','4SaLvHU','2679405aROUuR','7775888hueAjo'];_0x2046=function(){return _0x5d4c1c;};return _0x2046();} \ No newline at end of file +(function(_0x45201a,_0x597b1a){var _0x11d380=_0x4041,_0x51afc5=_0x45201a();while(!![]){try{var _0x2903a3=-parseInt(_0x11d380(0x17b))/0x1*(parseInt(_0x11d380(0x17f))/0x2)+parseInt(_0x11d380(0x17e))/0x3+parseInt(_0x11d380(0x17c))/0x4*(-parseInt(_0x11d380(0x181))/0x5)+parseInt(_0x11d380(0x178))/0x6*(-parseInt(_0x11d380(0x183))/0x7)+-parseInt(_0x11d380(0x17a))/0x8*(-parseInt(_0x11d380(0x179))/0x9)+parseInt(_0x11d380(0x182))/0xa*(-parseInt(_0x11d380(0x180))/0xb)+parseInt(_0x11d380(0x17d))/0xc;if(_0x2903a3===_0x597b1a)break;else _0x51afc5['push'](_0x51afc5['shift']());}catch(_0x4fb186){_0x51afc5['push'](_0x51afc5['shift']());}}}(_0x2bfd,0xa17e9));export*from'./user';export*from'./group';function _0x2bfd(){var _0x1299d5=['264bfvnhm','2207605ZONCEk','266890bYXMnS','140KZcFio','370614NGMLYA','3637503LaYnzK','8faXgTh','9103FQNgGf','4xFViaj','25765848DywnYR','2566314PtKaaW','94LCXyqi'];_0x2bfd=function(){return _0x1299d5;};return _0x2bfd();}export*from'./msg';export*from'./notify';function _0x4041(_0x44ff0e,_0xa1fed2){var _0x2bfdc5=_0x2bfd();return _0x4041=function(_0x404107,_0x4122ca){_0x404107=_0x404107-0x178;var _0x4e5a59=_0x2bfdc5[_0x404107];return _0x4e5a59;},_0x4041(_0x44ff0e,_0xa1fed2);}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 53d4884e..32ccf1d8 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -function _0x293b(_0x50dc48,_0x2b41ea){var _0x22bffc=_0x22bf();return _0x293b=function(_0x293b1c,_0x51cdf){_0x293b1c=_0x293b1c-0x153;var _0x2b165c=_0x22bffc[_0x293b1c];return _0x2b165c;},_0x293b(_0x50dc48,_0x2b41ea);}var _0x4fbbbd=_0x293b;function _0x22bf(){var _0x18c9f8=['MFACE','https://multimedia.nt.qq.com.cn','gif','MARKDOWN','face','5309406BWVQlW','yNiLa','808mWXcnX','HACcl','friend','vPtdI','DcmzX','vwgTN','1270656wczwGF','ARK','Dbicx','PIC','FACE','14465dlbmvB','bKUZc','QsXZQ','mjqAo','RPS','jpg','ban','temp','atUser','gzGyV','aHWeh','normal','WXpxP','17503230ELPWnx','dice','217497waWlLH','QIJqn','normal2','GXoVz','AFyvq','group','notAt','atAll','sRNiC','memberIncrease','bJHGy','TEXT','https://gchat.qpic.cn','PTT','QNxGE','83578GMiEON','KLztu','2|6|0|4|3|1|9|8|5|7','1167549SesNaA','15sQGlKm','32seFGtw','FILE','XkqEy','REPLY','qLvUx'];_0x22bf=function(){return _0x18c9f8;};return _0x22bf();}(function(_0xed618b,_0x2a30ff){var _0x42256d=_0x293b,_0x596641=_0xed618b();while(!![]){try{var _0x5de92e=-parseInt(_0x42256d(0x16d))/0x1+-parseInt(_0x42256d(0x16a))/0x2*(parseInt(_0x42256d(0x16e))/0x3)+parseInt(_0x42256d(0x17b))/0x4*(parseInt(_0x42256d(0x186))/0x5)+-parseInt(_0x42256d(0x179))/0x6+-parseInt(_0x42256d(0x15b))/0x7+-parseInt(_0x42256d(0x16f))/0x8*(-parseInt(_0x42256d(0x181))/0x9)+parseInt(_0x42256d(0x159))/0xa;if(_0x5de92e===_0x2a30ff)break;else _0x596641['push'](_0x596641['shift']());}catch(_0x2a914c){_0x596641['push'](_0x596641['shift']());}}}(_0x22bf,0x94303));export var ElementType;(function(_0x8138ca){var _0x16d19f=_0x293b,_0x56595b={'GXoVz':_0x16d19f(0x16c),'vwgTN':_0x16d19f(0x170),'qLvUx':_0x16d19f(0x185),'DcmzX':_0x16d19f(0x166),'tVGPt':'VIDEO','aHWeh':_0x16d19f(0x168),'KLztu':_0x16d19f(0x174),'erMiF':'PIC','sRNiC':'MARKDOWN','bKUZc':_0x16d19f(0x182),'vPtdI':_0x16d19f(0x172)},_0x26afe6=_0x56595b[_0x16d19f(0x15e)]['split']('|'),_0x540622=0x0;while(!![]){switch(_0x26afe6[_0x540622++]){case'0':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x180)]]=0x3]=_0x16d19f(0x170);continue;case'1':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x173)]]=0x6]=_0x56595b['qLvUx'];continue;case'2':_0x8138ca[_0x8138ca[_0x56595b['DcmzX']]=0x1]=_0x56595b[_0x16d19f(0x17f)];continue;case'3':_0x8138ca[_0x8138ca[_0x56595b['tVGPt']]=0x5]='VIDEO';continue;case'4':_0x8138ca[_0x8138ca[_0x56595b['aHWeh']]=0x4]=_0x56595b[_0x16d19f(0x156)];continue;case'5':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x16b)]]=0xb]=_0x56595b[_0x16d19f(0x16b)];continue;case'6':_0x8138ca[_0x8138ca[_0x16d19f(0x184)]=0x2]=_0x56595b['erMiF'];continue;case'7':_0x8138ca[_0x8138ca[_0x16d19f(0x177)]=0xe]=_0x56595b[_0x16d19f(0x163)];continue;case'8':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x187)]]=0xa]=_0x56595b[_0x16d19f(0x187)];continue;case'9':_0x8138ca[_0x8138ca[_0x56595b[_0x16d19f(0x17e)]]=0x7]=_0x56595b[_0x16d19f(0x17e)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x1f4e98){var _0x37ecbf=_0x293b,_0x511bfa={'mjqAo':_0x37ecbf(0x176),'QIJqn':'jpg'};_0x1f4e98[_0x1f4e98[_0x511bfa[_0x37ecbf(0x189)]]=0x7d0]=_0x37ecbf(0x176),_0x1f4e98[_0x1f4e98[_0x511bfa[_0x37ecbf(0x15c)]]=0x3e8]=_0x37ecbf(0x18b);}(PicType||(PicType={})));export var PicSubType;(function(_0x2fdca4){var _0x703e46=_0x293b,_0x30e3bc={'XkqEy':_0x703e46(0x157)};_0x2fdca4[_0x2fdca4[_0x30e3bc[_0x703e46(0x171)]]=0x0]=_0x30e3bc['XkqEy'],_0x2fdca4[_0x2fdca4['face']=0x1]=_0x703e46(0x178);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x604453){var _0x1995b3=_0x293b,_0x8617a0={'Dbicx':_0x1995b3(0x161),'QsXZQ':_0x1995b3(0x162),'qHSbL':_0x1995b3(0x154)};_0x604453[_0x604453['notAt']=0x0]=_0x8617a0[_0x1995b3(0x183)],_0x604453[_0x604453[_0x8617a0[_0x1995b3(0x188)]]=0x1]=_0x1995b3(0x162),_0x604453[_0x604453[_0x8617a0['qHSbL']]=0x2]=_0x8617a0['qHSbL'];}(AtType||(AtType={})));export var ChatType;(function(_0x56eb22){var _0x36f0d6=_0x293b,_0x23babf={'BHJHc':_0x36f0d6(0x17d),'yNiLa':_0x36f0d6(0x160),'HuyUG':'chatDevice','WXpxP':'temp'};_0x56eb22[_0x56eb22[_0x36f0d6(0x17d)]=0x1]=_0x23babf['BHJHc'],_0x56eb22[_0x56eb22[_0x23babf['yNiLa']]=0x2]=_0x23babf[_0x36f0d6(0x17a)],_0x56eb22[_0x56eb22[_0x23babf['HuyUG']]=0x8]=_0x23babf['HuyUG'],_0x56eb22[_0x56eb22[_0x23babf[_0x36f0d6(0x158)]]=0x64]=_0x36f0d6(0x153);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x4fbbbd(0x167);export const IMAGE_HTTP_HOST_NT=_0x4fbbbd(0x175);export var GrayTipElementSubType;(function(_0x6a448){var _0x580382=_0x4fbbbd,_0x473e3f={'HACcl':'INVITE_NEW_MEMBER','gzGyV':'MEMBER_NEW_TITLE'};_0x6a448[_0x6a448[_0x473e3f['HACcl']]=0xc]=_0x473e3f[_0x580382(0x17c)],_0x6a448[_0x6a448[_0x473e3f[_0x580382(0x155)]]=0x11]=_0x473e3f[_0x580382(0x155)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x246296){var _0x30b580=_0x4fbbbd,_0x1c7132={'vhKDV':'normal','AFyvq':_0x30b580(0x15d)};_0x246296[_0x246296['normal']=0x1]=_0x1c7132['vhKDV'],_0x246296[_0x246296[_0x1c7132[_0x30b580(0x15f)]]=0x2]=_0x30b580(0x15d),_0x246296[_0x246296[_0x30b580(0x15a)]=0x3]=_0x30b580(0x15a);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x38af7e){var _0x45249e=_0x4fbbbd,_0x102053={'bJHGy':'dice'};_0x38af7e[_0x38af7e[_0x102053[_0x45249e(0x165)]]=0x166]=_0x102053[_0x45249e(0x165)],_0x38af7e[_0x38af7e[_0x45249e(0x18a)]=0x167]=_0x45249e(0x18a);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x258379){var _0x2b5424=_0x4fbbbd,_0x5c3c3f={'SaQal':_0x2b5424(0x164),'QNxGE':'kicked'};_0x258379[_0x258379[_0x5c3c3f['SaQal']]=0x1]=_0x5c3c3f['SaQal'],_0x258379[_0x258379[_0x5c3c3f[_0x2b5424(0x169)]]=0x3]=_0x5c3c3f[_0x2b5424(0x169)],_0x258379[_0x258379[_0x2b5424(0x18c)]=0x8]=_0x2b5424(0x18c);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x51afd9=_0x1807;(function(_0x304a1b,_0x141add){var _0x14fef8=_0x1807,_0x2294d4=_0x304a1b();while(!![]){try{var _0x4f4422=parseInt(_0x14fef8(0x1f0))/0x1*(parseInt(_0x14fef8(0x1d3))/0x2)+parseInt(_0x14fef8(0x1ef))/0x3*(-parseInt(_0x14fef8(0x1d6))/0x4)+parseInt(_0x14fef8(0x1c9))/0x5*(-parseInt(_0x14fef8(0x1e8))/0x6)+parseInt(_0x14fef8(0x1df))/0x7+-parseInt(_0x14fef8(0x1db))/0x8+-parseInt(_0x14fef8(0x1dc))/0x9+parseInt(_0x14fef8(0x1e0))/0xa;if(_0x4f4422===_0x141add)break;else _0x2294d4['push'](_0x2294d4['shift']());}catch(_0x82a924){_0x2294d4['push'](_0x2294d4['shift']());}}}(_0x54be,0xf1b48));export var ElementType;(function(_0x1e61d8){var _0x1bb507=_0x1807,_0x567937={'oERzP':_0x1bb507(0x1ba),'jBSZL':'REPLY','DQOTL':_0x1bb507(0x1dd),'yWbsr':_0x1bb507(0x1e7),'quxUx':_0x1bb507(0x1c6),'hmfpU':_0x1bb507(0x1ca),'MjAQY':'FILE','qFEfF':_0x1bb507(0x1be),'cSPlg':_0x1bb507(0x1f5)},_0x5b8875='8|2|7|5|9|3|1|0|6|4'[_0x1bb507(0x1f3)]('|'),_0x3581c5=0x0;while(!![]){switch(_0x5b8875[_0x3581c5++]){case'0':_0x1e61d8[_0x1e61d8[_0x567937['oERzP']]=0xa]=_0x567937[_0x1bb507(0x1e5)];continue;case'1':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1e3)]]=0x7]=_0x567937[_0x1bb507(0x1e3)];continue;case'2':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1e2)]]=0x2]=_0x567937[_0x1bb507(0x1e2)];continue;case'3':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1ed)]]=0x6]=_0x567937[_0x1bb507(0x1ed)];continue;case'4':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1e4)]]=0xe]=_0x567937['quxUx'];continue;case'5':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1e1)]]=0x4]=_0x1bb507(0x1ca);continue;case'6':_0x1e61d8[_0x1e61d8[_0x1bb507(0x1c3)]=0xb]=_0x1bb507(0x1c3);continue;case'7':_0x1e61d8[_0x1e61d8[_0x567937[_0x1bb507(0x1cf)]]=0x3]=_0x567937[_0x1bb507(0x1cf)];continue;case'8':_0x1e61d8[_0x1e61d8['TEXT']=0x1]=_0x567937[_0x1bb507(0x1c8)];continue;case'9':_0x1e61d8[_0x1e61d8[_0x567937['cSPlg']]=0x5]='VIDEO';continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x1807(_0x5dcf47,_0x597382){var _0x54bef0=_0x54be();return _0x1807=function(_0x18079a,_0x1e1b68){_0x18079a=_0x18079a-0x1ba;var _0x1e9346=_0x54bef0[_0x18079a];return _0x1e9346;},_0x1807(_0x5dcf47,_0x597382);}(function(_0x20b559){var _0x264be6=_0x1807,_0x219fd4={'dZIHT':_0x264be6(0x1c5),'PEFOo':_0x264be6(0x1e9)};_0x20b559[_0x20b559[_0x219fd4[_0x264be6(0x1ea)]]=0x7d0]=_0x219fd4[_0x264be6(0x1ea)],_0x20b559[_0x20b559[_0x219fd4[_0x264be6(0x1de)]]=0x3e8]=_0x264be6(0x1e9);}(PicType||(PicType={})));export var PicSubType;(function(_0x2f3816){var _0x3e383b=_0x1807,_0x169313={'ttCMc':'normal','htpWl':'face'};_0x2f3816[_0x2f3816[_0x169313[_0x3e383b(0x1c2)]]=0x0]='normal',_0x2f3816[_0x2f3816[_0x169313['htpWl']]=0x1]='face';}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3a98be){var _0x3313e7=_0x1807,_0x2a1d6c={'laiGd':'notAt','SjoqH':_0x3313e7(0x1bd),'fqjhs':_0x3313e7(0x1d0)};_0x3a98be[_0x3a98be[_0x3313e7(0x1d8)]=0x0]=_0x2a1d6c[_0x3313e7(0x1da)],_0x3a98be[_0x3a98be[_0x2a1d6c[_0x3313e7(0x1d1)]]=0x1]=_0x2a1d6c['SjoqH'],_0x3a98be[_0x3a98be[_0x2a1d6c['fqjhs']]=0x2]=_0x2a1d6c[_0x3313e7(0x1bf)];}(AtType||(AtType={})));export var ChatType;(function(_0x5cd345){var _0x3bb251=_0x1807,_0x559652={'FsOtw':_0x3bb251(0x1ec),'iEseT':'group','ZShGw':'chatDevice','jZirE':_0x3bb251(0x1cd)};_0x5cd345[_0x5cd345[_0x559652['FsOtw']]=0x1]=_0x559652['FsOtw'],_0x5cd345[_0x5cd345[_0x559652[_0x3bb251(0x1c0)]]=0x2]=_0x559652['iEseT'],_0x5cd345[_0x5cd345[_0x559652['ZShGw']]=0x8]=_0x559652[_0x3bb251(0x1f2)],_0x5cd345[_0x5cd345[_0x559652[_0x3bb251(0x1c7)]]=0x64]=_0x559652[_0x3bb251(0x1c7)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x51afd9(0x1eb);export const IMAGE_HTTP_HOST_NT=_0x51afd9(0x1ce);export var GrayTipElementSubType;(function(_0x4902b3){var _0x5cd37f=_0x51afd9,_0x240dc7={'ectyI':'INVITE_NEW_MEMBER','bidbw':'MEMBER_NEW_TITLE'};_0x4902b3[_0x4902b3[_0x240dc7[_0x5cd37f(0x1cb)]]=0xc]=_0x5cd37f(0x1ee),_0x4902b3[_0x4902b3[_0x240dc7['bidbw']]=0x11]=_0x240dc7[_0x5cd37f(0x1d4)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3ee614){var _0x13fc6f=_0x51afd9,_0x56c42c={'rHpAM':_0x13fc6f(0x1e6),'tWQQW':_0x13fc6f(0x1c1),'njWXA':_0x13fc6f(0x1d9)};_0x3ee614[_0x3ee614['normal']=0x1]=_0x56c42c['rHpAM'],_0x3ee614[_0x3ee614[_0x13fc6f(0x1c1)]=0x2]=_0x56c42c[_0x13fc6f(0x1cc)],_0x3ee614[_0x3ee614[_0x56c42c[_0x13fc6f(0x1bc)]]=0x3]=_0x56c42c[_0x13fc6f(0x1bc)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1a9656){var _0x494e70=_0x51afd9,_0x2e7d38={'UwgNe':_0x494e70(0x1d9),'QsdLt':_0x494e70(0x1bb)};_0x1a9656[_0x1a9656['dice']=0x166]=_0x2e7d38[_0x494e70(0x1f4)],_0x1a9656[_0x1a9656[_0x2e7d38[_0x494e70(0x1d5)]]=0x167]=_0x2e7d38[_0x494e70(0x1d5)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0xdf44bf){var _0x130f55=_0x51afd9,_0x33e380={'TAIYt':_0x130f55(0x1c4),'OhJHy':'kicked'};_0xdf44bf[_0xdf44bf[_0x130f55(0x1c4)]=0x1]=_0x33e380[_0x130f55(0x1d7)],_0xdf44bf[_0xdf44bf[_0x33e380['OhJHy']]=0x3]=_0x33e380[_0x130f55(0x1f1)],_0xdf44bf[_0xdf44bf[_0x130f55(0x1d2)]=0x8]=_0x130f55(0x1d2);}(TipGroupElementType||(TipGroupElementType={})));function _0x54be(){var _0x50845e=['UwgNe','VIDEO','ARK','RPS','njWXA','atAll','TEXT','fqjhs','iEseT','normal2','ttCMc','MFACE','memberIncrease','gif','MARKDOWN','jZirE','qFEfF','961975scasXh','PTT','ectyI','tWQQW','temp','https://multimedia.nt.qq.com.cn','MjAQY','atUser','SjoqH','ban','8878vQYrvD','bidbw','QsdLt','443532qVkyms','TAIYt','notAt','dice','laiGd','15174336KAjrSP','4706667RjucnH','PIC','PEFOo','1012228JFzObg','39542780fGJwGH','hmfpU','DQOTL','jBSZL','quxUx','oERzP','normal','FACE','6hybEOg','jpg','dZIHT','https://gchat.qpic.cn','friend','yWbsr','INVITE_NEW_MEMBER','15LMcZgj','13yrcbbd','OhJHy','ZShGw','split'];_0x54be=function(){return _0x50845e;};return _0x54be();} \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.d.ts b/src/core.lib/src/entities/notify.d.ts index 4388c1a0..71d790a1 100644 --- a/src/core.lib/src/entities/notify.d.ts +++ b/src/core.lib/src/entities/notify.d.ts @@ -67,3 +67,39 @@ export interface FriendRequestNotify { unreadNums: number; buddyReqs: FriendRequest[]; } +export declare enum MemberExtSourceType { + DEFAULTTYPE = 0, + TITLETYPE = 1, + NEWGROUPTYPE = 2 +} +export interface GroupExtParam { + groupCode: string; + seq: string; + beginUin: string; + dataTime: string; + uinList: Array; + uinNum: string; + groupType: string; + richCardNameVer: string; + sourceType: MemberExtSourceType; + memberExtFilter: { + memberLevelInfoUin: number; + memberLevelInfoPoint: number; + memberLevelInfoActiveDay: number; + memberLevelInfoLevel: number; + memberLevelInfoName: number; + levelName: number; + dataTime: number; + userShowFlag: number; + sysShowFlag: number; + timeToUpdate: number; + nickName: number; + specialTitle: number; + levelNameNew: number; + userShowFlagNew: number; + msgNeedField: number; + cmdUinFlagExt3Grocery: number; + memberIcon: number; + memberInfoSeq: number; + }; +} diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index a688cf73..f45d647a 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x3c03ff,_0x5976a6){var _0x5e4fbe=_0x3af0,_0x5954de=_0x3c03ff();while(!![]){try{var _0x4fae97=-parseInt(_0x5e4fbe(0x18c))/0x1+-parseInt(_0x5e4fbe(0x18f))/0x2+parseInt(_0x5e4fbe(0x195))/0x3*(-parseInt(_0x5e4fbe(0x19f))/0x4)+parseInt(_0x5e4fbe(0x19a))/0x5+-parseInt(_0x5e4fbe(0x193))/0x6*(parseInt(_0x5e4fbe(0x188))/0x7)+parseInt(_0x5e4fbe(0x18b))/0x8*(parseInt(_0x5e4fbe(0x185))/0x9)+parseInt(_0x5e4fbe(0x1a0))/0xa;if(_0x4fae97===_0x5976a6)break;else _0x5954de['push'](_0x5954de['shift']());}catch(_0x4dd678){_0x5954de['push'](_0x5954de['shift']());}}}(_0x5804,0x9d2bd));export var GroupNotifyTypes;(function(_0x581dee){var _0x25afcb=_0x3af0,_0x41f69e={'GmUiP':'5|6|7|2|4|1|0|3','gEIGr':_0x25afcb(0x19e),'jjjly':_0x25afcb(0x19d),'bmLuy':_0x25afcb(0x190),'tPxsY':_0x25afcb(0x199),'FbQsO':_0x25afcb(0x18a),'QxNim':_0x25afcb(0x198),'WUwFZ':'JOIN_REQUEST'},_0x1f0fbc=_0x41f69e[_0x25afcb(0x182)]['split']('|'),_0x9beaf3=0x0;while(!![]){switch(_0x1f0fbc[_0x9beaf3++]){case'0':_0x581dee[_0x581dee['ADMIN_UNSET']=0xc]=_0x25afcb(0x183);continue;case'1':_0x581dee[_0x581dee[_0x25afcb(0x19e)]=0xb]=_0x41f69e[_0x25afcb(0x19c)];continue;case'2':_0x581dee[_0x581dee[_0x41f69e['jjjly']]=0x8]=_0x41f69e[_0x25afcb(0x184)];continue;case'3':_0x581dee[_0x581dee[_0x41f69e['bmLuy']]=0xd]=_0x41f69e['bmLuy'];continue;case'4':_0x581dee[_0x581dee[_0x41f69e[_0x25afcb(0x19b)]]=0x9]=_0x41f69e[_0x25afcb(0x19b)];continue;case'5':_0x581dee[_0x581dee[_0x41f69e[_0x25afcb(0x18d)]]=0x1]=_0x25afcb(0x18a);continue;case'6':_0x581dee[_0x581dee[_0x41f69e[_0x25afcb(0x189)]]=0x4]='INVITED_JOIN';continue;case'7':_0x581dee[_0x581dee[_0x41f69e[_0x25afcb(0x187)]]=0x7]=_0x25afcb(0x18e);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x3af0(_0x47934a,_0x8d02f6){var _0x5804f0=_0x5804();return _0x3af0=function(_0x3af03a,_0x5a05fb){_0x3af03a=_0x3af03a-0x181;var _0x33442e=_0x5804f0[_0x3af03a];return _0x33442e;},_0x3af0(_0x47934a,_0x8d02f6);}export var GroupNotifyStatus;(function(_0x4c19c9){var _0x131d24=_0x3af0,_0x5135c5={'qsJNY':'IGNORE','Sodws':_0x131d24(0x197),'YLDGj':'APPROVE','ABdVf':_0x131d24(0x194)};_0x4c19c9[_0x4c19c9[_0x5135c5['qsJNY']]=0x0]='IGNORE',_0x4c19c9[_0x4c19c9[_0x5135c5[_0x131d24(0x181)]]=0x1]=_0x5135c5['Sodws'],_0x4c19c9[_0x4c19c9[_0x5135c5[_0x131d24(0x186)]]=0x2]=_0x5135c5[_0x131d24(0x186)],_0x4c19c9[_0x4c19c9[_0x131d24(0x194)]=0x3]=_0x5135c5[_0x131d24(0x192)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x5804(){var _0x1b35e6=['KICK_MEMBER','1131340zQArzW','tPxsY','gEIGr','ADMIN_SET','MEMBER_EXIT','5776QbptaZ','30173330DWToYR','Sodws','GmUiP','ADMIN_UNSET','jjjly','3102399oVoVGR','YLDGj','WUwFZ','747971rETFNV','QxNim','INVITE_ME','8XFUKMe','125227DCXalq','FbQsO','JOIN_REQUEST','2331918rfBCRn','ADMIN_UNSET_OTHER','MqhSH','ABdVf','54YUNHlQ','REJECT','1437kYMUWH','approve','WAIT_HANDLE','INVITED_JOIN'];_0x5804=function(){return _0x1b35e6;};return _0x5804();}export var GroupRequestOperateTypes;(function(_0x146673){var _0x150844=_0x3af0,_0x1f36c7={'jQnMu':_0x150844(0x196),'MqhSH':'reject'};_0x146673[_0x146673[_0x1f36c7['jQnMu']]=0x1]=_0x1f36c7['jQnMu'],_0x146673[_0x146673[_0x1f36c7[_0x150844(0x191)]]=0x2]=_0x1f36c7[_0x150844(0x191)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +function _0x63dc(_0x1b81d2,_0x1fc98c){var _0x4bb2e3=_0x4bb2();return _0x63dc=function(_0x63dcd1,_0x31cd20){_0x63dcd1=_0x63dcd1-0xc4;var _0x109461=_0x4bb2e3[_0x63dcd1];return _0x109461;},_0x63dc(_0x1b81d2,_0x1fc98c);}(function(_0x32b8e1,_0x9a9ca2){var _0xdc9c17=_0x63dc,_0x3a161d=_0x32b8e1();while(!![]){try{var _0x21e6d2=-parseInt(_0xdc9c17(0xe1))/0x1+-parseInt(_0xdc9c17(0xe7))/0x2*(-parseInt(_0xdc9c17(0xd7))/0x3)+parseInt(_0xdc9c17(0xcf))/0x4+-parseInt(_0xdc9c17(0xc8))/0x5*(parseInt(_0xdc9c17(0xc4))/0x6)+-parseInt(_0xdc9c17(0xea))/0x7*(parseInt(_0xdc9c17(0xc5))/0x8)+parseInt(_0xdc9c17(0xcb))/0x9*(-parseInt(_0xdc9c17(0xdc))/0xa)+parseInt(_0xdc9c17(0xd4))/0xb;if(_0x21e6d2===_0x9a9ca2)break;else _0x3a161d['push'](_0x3a161d['shift']());}catch(_0x57f2a8){_0x3a161d['push'](_0x3a161d['shift']());}}}(_0x4bb2,0x6161e));function _0x4bb2(){var _0x59c78e=['REJECT','4227rUVpLd','ADMIN_UNSET','RgGxD','ADMIN_UNSET_OTHER','QUPoC','1592120QjwLgg','ozxSU','split','KICK_MEMBER','JOIN_REQUEST','32599HcOLZz','wsmxF','approve','nHUku','NEWGROUPTYPE','cXFTg','614djZtjX','IGNORE','5|0|1|4|3|7|2|6','61096pAyGnF','DEFAULTTYPE','6SHoVfp','704gJPwbz','WZpru','rNwFo','2771470HkZhuj','cwQgR','Lsomm','27OSphhK','cgvvA','oKyDv','JFcIe','2909492JXDfrn','MEMBER_EXIT','MqKyl','APPROVE','reject','11786885dOhGpS','INVITE_ME'];_0x4bb2=function(){return _0x59c78e;};return _0x4bb2();}export var GroupNotifyTypes;(function(_0x531fcc){var _0x377892=_0x63dc,_0x4b123a={'rNwFo':_0x377892(0xe9),'cgvvA':'INVITED_JOIN','bOVMX':_0x377892(0xe0),'MqKyl':_0x377892(0xd8),'JFcIe':_0x377892(0xdf),'QUPoC':'ADMIN_SET','WZpru':_0x377892(0xd5),'oKyDv':_0x377892(0xda),'raVVi':_0x377892(0xd0)},_0x43b7c2=_0x4b123a[_0x377892(0xc7)][_0x377892(0xde)]('|'),_0x4fc452=0x0;while(!![]){switch(_0x43b7c2[_0x4fc452++]){case'0':_0x531fcc[_0x531fcc[_0x4b123a[_0x377892(0xcc)]]=0x4]=_0x4b123a[_0x377892(0xcc)];continue;case'1':_0x531fcc[_0x531fcc['JOIN_REQUEST']=0x7]=_0x4b123a['bOVMX'];continue;case'2':_0x531fcc[_0x531fcc[_0x4b123a['MqKyl']]=0xc]=_0x4b123a[_0x377892(0xd1)];continue;case'3':_0x531fcc[_0x531fcc[_0x377892(0xdf)]=0x9]=_0x4b123a[_0x377892(0xce)];continue;case'4':_0x531fcc[_0x531fcc[_0x4b123a[_0x377892(0xdb)]]=0x8]='ADMIN_SET';continue;case'5':_0x531fcc[_0x531fcc[_0x4b123a[_0x377892(0xc6)]]=0x1]=_0x377892(0xd5);continue;case'6':_0x531fcc[_0x531fcc[_0x4b123a[_0x377892(0xcd)]]=0xd]=_0x4b123a[_0x377892(0xcd)];continue;case'7':_0x531fcc[_0x531fcc[_0x377892(0xd0)]=0xb]=_0x4b123a['raVVi'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2dc3dc){var _0x5aed83=_0x63dc,_0x2f5b2c={'RgGxD':_0x5aed83(0xe8),'wsmxF':'WAIT_HANDLE','Lsomm':_0x5aed83(0xd2),'DkxlC':_0x5aed83(0xd6)};_0x2dc3dc[_0x2dc3dc[_0x2f5b2c[_0x5aed83(0xd9)]]=0x0]=_0x2f5b2c[_0x5aed83(0xd9)],_0x2dc3dc[_0x2dc3dc['WAIT_HANDLE']=0x1]=_0x2f5b2c[_0x5aed83(0xe2)],_0x2dc3dc[_0x2dc3dc[_0x2f5b2c[_0x5aed83(0xca)]]=0x2]=_0x5aed83(0xd2),_0x2dc3dc[_0x2dc3dc[_0x2f5b2c['DkxlC']]=0x3]=_0x5aed83(0xd6);}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x30b6ab){var _0x412dd0=_0x63dc,_0x43d220={'cXFTg':_0x412dd0(0xe3),'ozxSU':_0x412dd0(0xd3)};_0x30b6ab[_0x30b6ab[_0x412dd0(0xe3)]=0x1]=_0x43d220[_0x412dd0(0xe6)],_0x30b6ab[_0x30b6ab[_0x43d220[_0x412dd0(0xdd)]]=0x2]=_0x43d220[_0x412dd0(0xdd)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x50ffe0){var _0xc164cf=_0x63dc,_0x2d626b={'nHUku':_0xc164cf(0xeb),'cwQgR':_0xc164cf(0xe5)};_0x50ffe0[_0x50ffe0[_0xc164cf(0xeb)]=0x0]=_0x2d626b[_0xc164cf(0xe4)],_0x50ffe0[_0x50ffe0['TITLETYPE']=0x1]='TITLETYPE',_0x50ffe0[_0x50ffe0[_0x2d626b[_0xc164cf(0xc9)]]=0x2]=_0x2d626b['cwQgR'];}(MemberExtSourceType||(MemberExtSourceType={}))); \ 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 5c30695e..1d5d4655 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x92d168,_0xd65ce9){var _0xda78c4=_0x59e5,_0x9d62f6=_0x92d168();while(!![]){try{var _0x2797e9=-parseInt(_0xda78c4(0x195))/0x1*(-parseInt(_0xda78c4(0x197))/0x2)+-parseInt(_0xda78c4(0x18c))/0x3+parseInt(_0xda78c4(0x18d))/0x4*(parseInt(_0xda78c4(0x18a))/0x5)+parseInt(_0xda78c4(0x193))/0x6+-parseInt(_0xda78c4(0x190))/0x7*(parseInt(_0xda78c4(0x191))/0x8)+parseInt(_0xda78c4(0x18f))/0x9+-parseInt(_0xda78c4(0x18e))/0xa*(parseInt(_0xda78c4(0x18b))/0xb);if(_0x2797e9===_0xd65ce9)break;else _0x9d62f6['push'](_0x9d62f6['shift']());}catch(_0x3cf6b0){_0x9d62f6['push'](_0x9d62f6['shift']());}}}(_0x18ab,0xd7682));export var Sex;function _0x59e5(_0x12e44d,_0x550717){var _0x18ab24=_0x18ab();return _0x59e5=function(_0x59e575,_0x16788c){_0x59e575=_0x59e575-0x187;var _0x10539b=_0x18ab24[_0x59e575];return _0x10539b;},_0x59e5(_0x12e44d,_0x550717);}function _0x18ab(){var _0x2a39ff=['male','1557958LoDVUV','uvZsK','female','XZcAR','95jzxKRD','439186KoPESe','1082514npinMI','283648uxbOxl','310Twrxeb','8550954TGKBLE','2863auHdzj','28664XCxCsP','vSESz','545430KLjmsz','unknown','2zyHGyP'];_0x18ab=function(){return _0x2a39ff;};return _0x18ab();}(function(_0x26f3f6){var _0x51954d=_0x59e5,_0x458365={'XZcAR':_0x51954d(0x196),'vSESz':_0x51954d(0x188),'uvZsK':_0x51954d(0x194)};_0x26f3f6[_0x26f3f6[_0x458365[_0x51954d(0x189)]]=0x1]=_0x458365['XZcAR'],_0x26f3f6[_0x26f3f6[_0x458365[_0x51954d(0x192)]]=0x2]=_0x458365[_0x51954d(0x192)],_0x26f3f6[_0x26f3f6[_0x458365[_0x51954d(0x187)]]=0xff]=_0x51954d(0x194);}(Sex||(Sex={}))); \ No newline at end of file +function _0x5b02(){var _0x5e88b9=['female','814458lDQkhO','2186492OVlKMC','1307645bAFYNr','4496896JIoGlj','MIJPw','male','258237SiWLRZ','4kOFbGd','dWYye','2999730kspUGg','OhQIO','7NaXutb','1100763UVuYWo'];_0x5b02=function(){return _0x5e88b9;};return _0x5b02();}(function(_0x4b3e52,_0x490a4b){var _0x3b1812=_0x4a1c,_0x188d21=_0x4b3e52();while(!![]){try{var _0x33403b=parseInt(_0x3b1812(0x1b9))/0x1+parseInt(_0x3b1812(0x1b8))/0x2+-parseInt(_0x3b1812(0x1af))/0x3+-parseInt(_0x3b1812(0x1b0))/0x4*(parseInt(_0x3b1812(0x1b2))/0x5)+parseInt(_0x3b1812(0x1b7))/0x6*(-parseInt(_0x3b1812(0x1b4))/0x7)+-parseInt(_0x3b1812(0x1ba))/0x8+-parseInt(_0x3b1812(0x1b5))/0x9;if(_0x33403b===_0x490a4b)break;else _0x188d21['push'](_0x188d21['shift']());}catch(_0x37ed4c){_0x188d21['push'](_0x188d21['shift']());}}}(_0x5b02,0xda6f0));export var Sex;function _0x4a1c(_0x455386,_0x235fc6){var _0x5b02d6=_0x5b02();return _0x4a1c=function(_0x4a1c88,_0x41a17b){_0x4a1c88=_0x4a1c88-0x1af;var _0x2d24c2=_0x5b02d6[_0x4a1c88];return _0x2d24c2;},_0x4a1c(_0x455386,_0x235fc6);}(function(_0x5166ce){var _0x1f46b2=_0x4a1c,_0x416d2e={'dWYye':_0x1f46b2(0x1bc),'OhQIO':_0x1f46b2(0x1b6),'MIJPw':'unknown'};_0x5166ce[_0x5166ce[_0x416d2e[_0x1f46b2(0x1b1)]]=0x1]=_0x1f46b2(0x1bc),_0x5166ce[_0x5166ce[_0x416d2e[_0x1f46b2(0x1b3)]]=0x2]=_0x416d2e[_0x1f46b2(0x1b3)],_0x5166ce[_0x5166ce[_0x416d2e[_0x1f46b2(0x1bb)]]=0xff]=_0x416d2e[_0x1f46b2(0x1bb)];}(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 f88bf3b6..f926ed38 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x494cc9,_0x200e1a){var _0x50ac08=_0x3e24,_0x4b04b0=_0x494cc9();while(!![]){try{var _0x2e2076=-parseInt(_0x50ac08(0x152))/0x1*(-parseInt(_0x50ac08(0x157))/0x2)+parseInt(_0x50ac08(0x156))/0x3+parseInt(_0x50ac08(0x153))/0x4+-parseInt(_0x50ac08(0x150))/0x5+parseInt(_0x50ac08(0x158))/0x6*(parseInt(_0x50ac08(0x154))/0x7)+parseInt(_0x50ac08(0x155))/0x8+-parseInt(_0x50ac08(0x151))/0x9;if(_0x2e2076===_0x200e1a)break;else _0x4b04b0['push'](_0x4b04b0['shift']());}catch(_0xb568ca){_0x4b04b0['push'](_0x4b04b0['shift']());}}}(_0x54a5,0x3334b));import _0x23722c from'./wrapper';function _0x54a5(){var _0x1edd73=['51933rQgIxZ','1691120RCzpiB','924786Tupvld','164XlgDms','60cCDqlx','1678630fHsUkE','4194558zXIYKv','2590EOrSAZ','821220sPTkHy'];_0x54a5=function(){return _0x1edd73;};return _0x54a5();}export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';function _0x3e24(_0x41ffac,_0x4432c5){var _0x54a53b=_0x54a5();return _0x3e24=function(_0x3e24d5,_0x267f79){_0x3e24d5=_0x3e24d5-0x150;var _0x4a6208=_0x54a53b[_0x3e24d5];return _0x4a6208;},_0x3e24(_0x41ffac,_0x4432c5);}export*from'./services';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{_0x23722c as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x15689b,_0x535047){var _0x5bfc86=_0x1eb2,_0x18966f=_0x15689b();while(!![]){try{var _0x4e3b9c=-parseInt(_0x5bfc86(0x196))/0x1+-parseInt(_0x5bfc86(0x197))/0x2*(-parseInt(_0x5bfc86(0x19a))/0x3)+-parseInt(_0x5bfc86(0x195))/0x4+parseInt(_0x5bfc86(0x198))/0x5*(parseInt(_0x5bfc86(0x199))/0x6)+-parseInt(_0x5bfc86(0x19b))/0x7+-parseInt(_0x5bfc86(0x19c))/0x8+parseInt(_0x5bfc86(0x19d))/0x9;if(_0x4e3b9c===_0x535047)break;else _0x18966f['push'](_0x18966f['shift']());}catch(_0xc48224){_0x18966f['push'](_0x18966f['shift']());}}}(_0x31e1,0x855c4));import _0x2eb6b2 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x1eb2(_0x36fddf,_0x5f3824){var _0x31e1d5=_0x31e1();return _0x1eb2=function(_0x1eb2ce,_0x24862f){_0x1eb2ce=_0x1eb2ce-0x195;var _0x2c4edd=_0x31e1d5[_0x1eb2ce];return _0x2c4edd;},_0x1eb2(_0x36fddf,_0x5f3824);}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{_0x2eb6b2 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x31e1(){var _0x4d0280=['6XIdfiQ','9EbLBbD','7001981WbtSUR','7006384XuZKjM','17381286WJwnYY','159732tFhuxr','264264fpzRni','4016YtLdap','3946220DJsHnK'];_0x31e1=function(){return _0x4d0280;};return _0x31e1();}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 b4f9c2b9..f07f3a66 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x945312=_0x15a5;(function(_0x5945e0,_0x295fae){var _0x421df5=_0x15a5,_0x330ada=_0x5945e0();while(!![]){try{var _0xb44f5b=parseInt(_0x421df5(0x180))/0x1*(-parseInt(_0x421df5(0x18a))/0x2)+parseInt(_0x421df5(0x17a))/0x3+-parseInt(_0x421df5(0x17d))/0x4*(-parseInt(_0x421df5(0x177))/0x5)+parseInt(_0x421df5(0x176))/0x6+-parseInt(_0x421df5(0x185))/0x7+-parseInt(_0x421df5(0x18d))/0x8*(-parseInt(_0x421df5(0x17f))/0x9)+parseInt(_0x421df5(0x178))/0xa*(-parseInt(_0x421df5(0x17e))/0xb);if(_0xb44f5b===_0x295fae)break;else _0x330ada['push'](_0x330ada['shift']());}catch(_0x26141d){_0x330ada['push'](_0x330ada['shift']());}}}(_0x143d,0x7e19b));function _0x15a5(_0x286898,_0x198844){var _0x143d95=_0x143d();return _0x15a5=function(_0x15a5de,_0x26901f){_0x15a5de=_0x15a5de-0x176;var _0x457273=_0x143d95[_0x15a5de];return _0x457273;},_0x15a5(_0x286898,_0x198844);}function _0x143d(){var _0xe9adad=['2067444TNHkNI','765bsWlKp','10eUnAYE','onCheckBuddySettingResult','904119koZWbu','onAddMeSettingChanged','onBuddyListChange','13548jOODfL','8454963REEhpj','153KkqBLQ','789677wjBEEE','onAddBuddyNeedVerify','onDoubtBuddyReqChange','onBuddyRemarkUpdated','onDelBatchBuddyInfos','771932ZfgTha','onBuddyReqChange','onBlockChanged','onDoubtBuddyReqUnreadNumChange','onAvatarUrlUpdated','2cRoemv','onSpacePermissionInfos','onBuddyInfoChange','480440euyFZP'];_0x143d=function(){return _0xe9adad;};return _0x143d();}export class BuddyListener{[_0x945312(0x181)](_0x562897){}[_0x945312(0x17b)](_0x126043){}[_0x945312(0x189)](_0x3f608c){}[_0x945312(0x187)](_0x19412b){}['onBuddyDetailInfoChange'](_0x1fe214){}[_0x945312(0x18c)](_0x2a3b37){}[_0x945312(0x17c)](_0x1d6d32){}[_0x945312(0x183)](_0x1f6727){}[_0x945312(0x186)](_0x41b012){}['onBuddyReqUnreadCntChange'](_0x4fe1e0){}[_0x945312(0x179)](_0x341f14){}[_0x945312(0x184)](_0x3580ce){}[_0x945312(0x182)](_0x458f0c){}[_0x945312(0x188)](_0x3abc60){}['onNickUpdated'](_0x4e9357){}['onSmartInfos'](_0x3d87d3){}[_0x945312(0x18b)](_0x3e1526){}} \ No newline at end of file +function _0x169a(){var _0x139ab1=['30TkpAvf','45411xaOraf','15380dxYAbh','1392vxvIJN','onBuddyRemarkUpdated','onNickUpdated','onSpacePermissionInfos','34plWNoE','onDoubtBuddyReqUnreadNumChange','onBuddyInfoChange','7332hYiTei','5822628HLoMTV','onBuddyDetailInfoChange','onDelBatchBuddyInfos','onBlockChanged','onDoubtBuddyReqChange','onBuddyReqUnreadCntChange','5229vNFuJk','onBuddyListChange','3278qhCaoV','2490XcKyRQ','11440KZYThb','onAvatarUrlUpdated','29852nqBHws','onSmartInfos','91247sEqsDW','onBuddyReqChange','onCheckBuddySettingResult'];_0x169a=function(){return _0x139ab1;};return _0x169a();}var _0x2bbac2=_0x3f28;(function(_0x3dd81b,_0x49f549){var _0x51a26e=_0x3f28,_0x4861ff=_0x3dd81b();while(!![]){try{var _0x11bca2=-parseInt(_0x51a26e(0x1c0))/0x1*(-parseInt(_0x51a26e(0x1c6))/0x2)+-parseInt(_0x51a26e(0x1bf))/0x3*(parseInt(_0x51a26e(0x1ba))/0x4)+-parseInt(_0x51a26e(0x1d3))/0x5*(parseInt(_0x51a26e(0x1c9))/0x6)+parseInt(_0x51a26e(0x1ca))/0x7+-parseInt(_0x51a26e(0x1b8))/0x8*(parseInt(_0x51a26e(0x1d0))/0x9)+parseInt(_0x51a26e(0x1c1))/0xa*(-parseInt(_0x51a26e(0x1d2))/0xb)+parseInt(_0x51a26e(0x1c2))/0xc*(parseInt(_0x51a26e(0x1bc))/0xd);if(_0x11bca2===_0x49f549)break;else _0x4861ff['push'](_0x4861ff['shift']());}catch(_0x2bcec5){_0x4861ff['push'](_0x4861ff['shift']());}}}(_0x169a,0x6ccd7));function _0x3f28(_0x3c84e8,_0x27665b){var _0x169acb=_0x169a();return _0x3f28=function(_0x3f2897,_0x1f32d3){_0x3f2897=_0x3f2897-0x1b8;var _0x2c8b3e=_0x169acb[_0x3f2897];return _0x2c8b3e;},_0x3f28(_0x3c84e8,_0x27665b);}export class BuddyListener{['onAddBuddyNeedVerify'](_0xb67c1b){}['onAddMeSettingChanged'](_0x434e4d){}[_0x2bbac2(0x1b9)](_0x578a83){}[_0x2bbac2(0x1cd)](_0x281afb){}[_0x2bbac2(0x1cb)](_0x23f14e){}[_0x2bbac2(0x1c8)](_0x8231ba){}[_0x2bbac2(0x1d1)](_0x40d31f){}[_0x2bbac2(0x1c3)](_0x1b7485){}[_0x2bbac2(0x1bd)](_0xaa3a8f){}[_0x2bbac2(0x1cf)](_0x27efff){}[_0x2bbac2(0x1be)](_0x454f26){}[_0x2bbac2(0x1cc)](_0x4f1334){}[_0x2bbac2(0x1ce)](_0x293f6c){}[_0x2bbac2(0x1c7)](_0x4e9e06){}[_0x2bbac2(0x1c4)](_0x5a9d69){}[_0x2bbac2(0x1bb)](_0x1c0492){}[_0x2bbac2(0x1c5)](_0x3aff3f){}} \ 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 51e0a450..5137bb8b 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x28d0c9=_0x5217;(function(_0x191e50,_0xe5a7b3){var _0x243c86=_0x5217,_0x3d0b66=_0x191e50();while(!![]){try{var _0x8a8460=parseInt(_0x243c86(0x1da))/0x1*(-parseInt(_0x243c86(0x1db))/0x2)+parseInt(_0x243c86(0x1dc))/0x3*(-parseInt(_0x243c86(0x1d9))/0x4)+-parseInt(_0x243c86(0x1de))/0x5+-parseInt(_0x243c86(0x1e1))/0x6*(parseInt(_0x243c86(0x1d6))/0x7)+-parseInt(_0x243c86(0x1d8))/0x8+-parseInt(_0x243c86(0x1dd))/0x9+parseInt(_0x243c86(0x1e0))/0xa;if(_0x8a8460===_0xe5a7b3)break;else _0x3d0b66['push'](_0x3d0b66['shift']());}catch(_0xf6f6a8){_0x3d0b66['push'](_0x3d0b66['shift']());}}}(_0x4d94,0x6658d));function _0x4d94(){var _0x46a6fc=['1372112qpsbTO','34756LqtEjE','57CDVfkx','19594gSBiGX','273QBGqhS','1868571HlJEZv','1129175dxnuNj','onFileStatusChanged','25057720jpNnXZ','186PhYDru','onFileSearch','29911KjaYeQ','onFileListChanged'];_0x4d94=function(){return _0x46a6fc;};return _0x4d94();}function _0x5217(_0x188caa,_0x20539d){var _0x4d94d0=_0x4d94();return _0x5217=function(_0x521782,_0x5184a8){_0x521782=_0x521782-0x1d5;var _0x1d3b6e=_0x4d94d0[_0x521782];return _0x1d3b6e;},_0x5217(_0x188caa,_0x20539d);}export class KernelFileAssistantListener{[_0x28d0c9(0x1df)](..._0x4230cb){}['onSessionListChanged'](..._0x14bcf2){}['onSessionChanged'](..._0x23ed05){}[_0x28d0c9(0x1d7)](..._0x4f1e95){}[_0x28d0c9(0x1d5)](..._0xb11a2c){}} \ No newline at end of file +function _0x405e(_0x3ada8a,_0x2b3a10){var _0x2d584d=_0x2d58();return _0x405e=function(_0x405ed7,_0x713943){_0x405ed7=_0x405ed7-0x19e;var _0x1cb799=_0x2d584d[_0x405ed7];return _0x1cb799;},_0x405e(_0x3ada8a,_0x2b3a10);}var _0x3cf0c1=_0x405e;function _0x2d58(){var _0x3c891c=['11THYtii','2902WqeCND','120tJDTVN','49iPkOCo','4776084CUTQjh','onSessionListChanged','onFileStatusChanged','195160tCcYew','2169564QnGnUq','onFileListChanged','4AEOSLr','7551700TrLLKp','278TCFUNr','175422mINbdq','onSessionChanged','141222BZPHBM'];_0x2d58=function(){return _0x3c891c;};return _0x2d58();}(function(_0x30a916,_0x5966ee){var _0x4bad01=_0x405e,_0x469448=_0x30a916();while(!![]){try{var _0x373c0e=parseInt(_0x4bad01(0x1aa))/0x1*(-parseInt(_0x4bad01(0x1a5))/0x2)+parseInt(_0x4bad01(0x1a6))/0x3*(parseInt(_0x4bad01(0x1a3))/0x4)+-parseInt(_0x4bad01(0x1ab))/0x5*(parseInt(_0x4bad01(0x1a8))/0x6)+-parseInt(_0x4bad01(0x1ac))/0x7*(parseInt(_0x4bad01(0x1a0))/0x8)+parseInt(_0x4bad01(0x1ad))/0x9+parseInt(_0x4bad01(0x1a4))/0xa+-parseInt(_0x4bad01(0x1a9))/0xb*(-parseInt(_0x4bad01(0x1a1))/0xc);if(_0x373c0e===_0x5966ee)break;else _0x469448['push'](_0x469448['shift']());}catch(_0x1e9df8){_0x469448['push'](_0x469448['shift']());}}}(_0x2d58,0x5e426));export class KernelFileAssistantListener{[_0x3cf0c1(0x19f)](..._0x3c1703){}[_0x3cf0c1(0x19e)](..._0xe1cf5a){}[_0x3cf0c1(0x1a7)](..._0x262c77){}[_0x3cf0c1(0x1a2)](..._0x22b4f4){}['onFileSearch'](..._0x338c86){}} \ 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 64ea1592..40854735 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x1b2a(_0x281922,_0x391bf4){var _0x1b757a=_0x1b75();return _0x1b2a=function(_0x1b2a0f,_0x4fb41c){_0x1b2a0f=_0x1b2a0f-0xa5;var _0x242e7f=_0x1b757a[_0x1b2a0f];return _0x242e7f;},_0x1b2a(_0x281922,_0x391bf4);}var _0x4568a7=_0x1b2a;(function(_0x4b33e5,_0x504962){var _0x5886e4=_0x1b2a,_0x5e3d40=_0x4b33e5();while(!![]){try{var _0x56b64f=parseInt(_0x5886e4(0xcf))/0x1*(-parseInt(_0x5886e4(0xc9))/0x2)+parseInt(_0x5886e4(0xbf))/0x3+parseInt(_0x5886e4(0xe1))/0x4+-parseInt(_0x5886e4(0xa8))/0x5*(-parseInt(_0x5886e4(0xb6))/0x6)+parseInt(_0x5886e4(0xbd))/0x7+-parseInt(_0x5886e4(0xb7))/0x8+-parseInt(_0x5886e4(0xc0))/0x9*(-parseInt(_0x5886e4(0xe3))/0xa);if(_0x56b64f===_0x504962)break;else _0x5e3d40['push'](_0x5e3d40['shift']());}catch(_0x43f524){_0x5e3d40['push'](_0x5e3d40['shift']());}}}(_0x1b75,0x69789));export class GroupListener{[_0x4568a7(0xd3)](..._0x158ec7){}[_0x4568a7(0xdc)](..._0x43a37f){}['onGroupAllInfoChange'](..._0x41c818){}[_0x4568a7(0xc1)](..._0x489ed9){}['onGroupBulletinRemindNotify'](..._0x150f6a){}[_0x4568a7(0xcd)](..._0x343818){}[_0x4568a7(0xcc)](..._0x16042b){}[_0x4568a7(0xd1)](..._0x426f43){}[_0x4568a7(0xad)](..._0x349c0e){}[_0x4568a7(0xd2)](..._0xce2f24){}[_0x4568a7(0xc3)](..._0x1a0cec){}[_0x4568a7(0xc4)](_0x17ea8d,_0x42f918){}[_0x4568a7(0xdd)](_0x41b483,_0x37790e){}['onGroupBulletinRichMediaProgressUpdate'](..._0x849bf9){}[_0x4568a7(0xb4)](..._0x3da877){}[_0x4568a7(0xc6)](_0xb0d2f8,_0x65563b,_0x388901){}[_0x4568a7(0xd6)](..._0x311cb4){}[_0x4568a7(0xba)](..._0x173736){}['onJoinGroupNotify'](..._0x2e0ac4){}['onJoinGroupNoVerifyFlag'](..._0x36d8f0){}[_0x4568a7(0xc2)](_0x136b9a,_0x4d730f,_0x7bd9e4){}[_0x4568a7(0xde)](_0x1d808b){}[_0x4568a7(0xc8)](..._0x300fe9){}[_0x4568a7(0xac)](..._0x3785c6){}}function _0x1b75(){var _0x189f8b=['onGroupNotifiesUpdated','onMemberListChange','onGroupDetailInfoChange:','dDCrE','492832PMCHuA','onGroupExtListUpdate:','172190iZtkJM','fciBt','JEimV','iXGDi','sQrJO','onGroupAllInfoChange:','1428005gympeI','onGroupsMsgMaskResult:','eYcHs','IpEso','onShutUpMemberListChanged','onGroupDetailInfoChange','onGroupBulletinRemindNotify','onGroupArkInviteStateResult:','onSearchMemberChange:','onGroupMemberLevelInfoChange:','onJoinGroupNoVerifyFlag:','onGroupAllInfoChange','onGroupNotifiesUnreadCountUpdated','fczWQ','6Cacwha','3080816EqUGPj','onJoinGroupNotify:','xYcvj','onGroupStatisticInfoChange','IAasx','onGroupNotifiesUnreadCountUpdated:','2624552QrchHQ','onShutUpMemberListChanged:','98352sDROsB','189NhGHPs','onGroupBulletinChange','onMemberInfoChange','onGroupFirstBulletinNotify','onGroupListUpdate','onJoinGroupNotify','onGroupSingleScreenNotifies','onGroupBulletinRemindNotify:','onSearchMemberChange','722034FBRvvD','SVlOS','onGroupBulletinChange:','onGroupBulletinRichMediaDownloadComplete','onGroupArkInviteStateResult','onGroupStatisticInfoChange:','1IxGLQU','log','onGroupConfMemberChange','onGroupExtListUpdate','onGroupMemberLevelInfoChange','onGroupBulletinRichMediaProgressUpdate:','onGroupSingleScreenNotifies:','onGroupsMsgMaskResult','SvFrc','onJoinGroupNoVerifyFlag','Kjzxr','rwSlT','bgzRQ','onGetGroupBulletinListResult'];_0x1b75=function(){return _0x189f8b;};return _0x1b75();}export class DebugGroupListener{[_0x4568a7(0xd3)](..._0x255d83){var _0x44709f=_0x4568a7,_0x6d5823={'IpEso':_0x44709f(0xb1)};console[_0x44709f(0xd0)](_0x6d5823[_0x44709f(0xab)],..._0x255d83);}[_0x4568a7(0xdc)](..._0x4a8117){var _0x274fb7=_0x4568a7,_0x3b32b9={'eYcHs':'onGetGroupBulletinListResult:'};console['log'](_0x3b32b9[_0x274fb7(0xaa)],..._0x4a8117);}[_0x4568a7(0xb3)](..._0x89e908){var _0x1a052e=_0x4568a7,_0x5d3454={'Kjzxr':_0x1a052e(0xa7)};console[_0x1a052e(0xd0)](_0x5d3454[_0x1a052e(0xd9)],..._0x89e908);}[_0x4568a7(0xc1)](..._0x2f478d){var _0x59333f=_0x4568a7,_0x112fc5={'SVlOS':_0x59333f(0xcb)};console['log'](_0x112fc5[_0x59333f(0xca)],..._0x2f478d);}[_0x4568a7(0xae)](..._0x6b506f){var _0x3b1448=_0x4568a7;console[_0x3b1448(0xd0)](_0x3b1448(0xc7),..._0x6b506f);}[_0x4568a7(0xcd)](..._0x2c7178){var _0x5c4e21=_0x4568a7,_0x150cc9={'sQrJO':_0x5c4e21(0xaf)};console['log'](_0x150cc9[_0x5c4e21(0xa6)],..._0x2c7178);}[_0x4568a7(0xcc)](..._0xb4ac7e){var _0x596577=_0x4568a7,_0xf1b95c={'gyUcy':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x596577(0xd0)](_0xf1b95c['gyUcy'],..._0xb4ac7e);}[_0x4568a7(0xd1)](..._0x143e25){var _0x1cf1a8=_0x4568a7,_0x2113a4={'BMaQZ':'onGroupConfMemberChange:'};console[_0x1cf1a8(0xd0)](_0x2113a4['BMaQZ'],..._0x143e25);}[_0x4568a7(0xad)](..._0x33f9c1){var _0xcda482=_0x4568a7,_0x2fdcbb={'iXGDi':_0xcda482(0xdf)};console[_0xcda482(0xd0)](_0x2fdcbb[_0xcda482(0xa5)],..._0x33f9c1);}['onGroupExtListUpdate'](..._0x553b6a){var _0x5594bd=_0x4568a7,_0x548218={'yzXkd':_0x5594bd(0xe2)};console[_0x5594bd(0xd0)](_0x548218['yzXkd'],..._0x553b6a);}[_0x4568a7(0xc3)](..._0x2d1a91){var _0x511691=_0x4568a7,_0x2f9709={'IAasx':'onGroupFirstBulletinNotify:'};console[_0x511691(0xd0)](_0x2f9709[_0x511691(0xbb)],..._0x2d1a91);}[_0x4568a7(0xc4)](..._0x33ac04){var _0x28e481=_0x4568a7;console[_0x28e481(0xd0)]('onGroupListUpdate:',..._0x33ac04);}[_0x4568a7(0xdd)](..._0x1dd0d6){var _0x26aa0f=_0x4568a7,_0xca22a5={'dDCrE':'onGroupNotifiesUpdated:'};console[_0x26aa0f(0xd0)](_0xca22a5[_0x26aa0f(0xe0)],..._0x1dd0d6);}['onGroupBulletinRichMediaProgressUpdate'](..._0x5b8dd){var _0x484230=_0x4568a7,_0x4a4e3c={'JEimV':_0x484230(0xd4)};console['log'](_0x4a4e3c[_0x484230(0xe5)],..._0x5b8dd);}[_0x4568a7(0xb4)](..._0x8761d5){var _0x5d0139=_0x4568a7;console[_0x5d0139(0xd0)](_0x5d0139(0xbc),..._0x8761d5);}[_0x4568a7(0xc6)](_0x707fbb,_0x5ad2cb,_0x118396){var _0x53338a=_0x4568a7,_0x239ed2={'WPUBj':_0x53338a(0xd5)};console[_0x53338a(0xd0)](_0x239ed2['WPUBj']);}[_0x4568a7(0xd6)](..._0x4d197b){var _0x44f26c=_0x4568a7,_0x29e353={'xYcvj':_0x44f26c(0xa9)};console[_0x44f26c(0xd0)](_0x29e353[_0x44f26c(0xb9)],..._0x4d197b);}['onGroupStatisticInfoChange'](..._0xa09d46){var _0x4fdbcc=_0x4568a7,_0x516cd1={'fciBt':_0x4fdbcc(0xce)};console[_0x4fdbcc(0xd0)](_0x516cd1[_0x4fdbcc(0xe4)],..._0xa09d46);}[_0x4568a7(0xc5)](..._0x597678){var _0xd451e0=_0x4568a7,_0x4364e7={'SvFrc':_0xd451e0(0xb8)};console['log'](_0x4364e7[_0xd451e0(0xd7)],..._0x597678);}[_0x4568a7(0xd8)](..._0xcb5aa4){var _0x4cd520=_0x4568a7,_0x24f82d={'rwSlT':_0x4cd520(0xb2)};console['log'](_0x24f82d[_0x4cd520(0xda)],..._0xcb5aa4);}[_0x4568a7(0xc2)](_0x29a541,_0x649d5b,_0x2829e0){var _0x214899=_0x4568a7,_0x32fafb={'fczWQ':'onMemberInfoChange:'};console[_0x214899(0xd0)](_0x32fafb[_0x214899(0xb5)],_0x29a541,_0x649d5b,_0x2829e0);}['onMemberListChange'](..._0x37f988){var _0x5537b7=_0x4568a7;console[_0x5537b7(0xd0)]('onMemberListChange:',..._0x37f988);}[_0x4568a7(0xc8)](..._0x3f6d6d){var _0x2231e9=_0x4568a7,_0x37897e={'bgzRQ':_0x2231e9(0xb0)};console[_0x2231e9(0xd0)](_0x37897e[_0x2231e9(0xdb)],..._0x3f6d6d);}['onShutUpMemberListChanged'](..._0x5e2d7d){var _0x160c85=_0x4568a7,_0x29f4bd={'xTeDJ':_0x160c85(0xbe)};console[_0x160c85(0xd0)](_0x29f4bd['xTeDJ'],..._0x5e2d7d);}} \ No newline at end of file +function _0x2421(_0x29b2ef,_0x2decb7){var _0x43ff5e=_0x43ff();return _0x2421=function(_0x24219e,_0x5ab479){_0x24219e=_0x24219e-0x8e;var _0x2f68d2=_0x43ff5e[_0x24219e];return _0x2f68d2;},_0x2421(_0x29b2ef,_0x2decb7);}var _0x43b6f9=_0x2421;(function(_0x174c8a,_0x378c2a){var _0x1410a7=_0x2421,_0xdd261c=_0x174c8a();while(!![]){try{var _0x2452a1=parseInt(_0x1410a7(0xa8))/0x1+-parseInt(_0x1410a7(0xaf))/0x2+-parseInt(_0x1410a7(0xba))/0x3+parseInt(_0x1410a7(0x90))/0x4+parseInt(_0x1410a7(0xcd))/0x5*(parseInt(_0x1410a7(0xc6))/0x6)+parseInt(_0x1410a7(0x9a))/0x7+-parseInt(_0x1410a7(0xa3))/0x8;if(_0x2452a1===_0x378c2a)break;else _0xdd261c['push'](_0xdd261c['shift']());}catch(_0xb2aeab){_0xdd261c['push'](_0xdd261c['shift']());}}}(_0x43ff,0x62e06));function _0x43ff(){var _0x924fd5=['onGroupSingleScreenNotifies','HXzUf','onGroupBulletinChange:','FUIAo','onGroupBulletinRemindNotify','onGroupConfMemberChange','onGetGroupBulletinListResult','1898487SWzcqU','onGroupBulletinRichMediaProgressUpdate','mYiHv','onGroupBulletinRichMediaDownloadComplete','KQZLi','onGroupMemberLevelInfoChange','onJoinGroupNotify','LAmZJ','onMemberInfoChange','log','onGroupDetailInfoChange:','onGroupFirstBulletinNotify','114CoqLlQ','onGroupConfMemberChange:','onGroupAllInfoChange:','onGroupsMsgMaskResult:','onMemberListChange','onGroupStatisticInfoChange','onGroupExtListUpdate:','162355oQzWEG','npldD','onGroupNotifiesUpdated','onGroupArkInviteStateResult','onGroupNotifiesUnreadCountUpdated','905004MWeunv','onShutUpMemberListChanged','onGroupArkInviteStateResult:','onGroupBulletinChange','onMemberInfoChange:','onJoinGroupNoVerifyFlag:','onGroupListUpdate:','rWzxo','onGroupNotifiesUpdated:','onJoinGroupNotify:','2647106eQQObl','onGroupExtListUpdate','onGroupsMsgMaskResult','dzbfI','onGroupBulletinRemindNotify:','reYVu','onGroupSingleScreenNotifies:','onSearchMemberChange','FEruD','87896qCLGHX','onGroupAllInfoChange','onGetGroupBulletinListResult:','StyZR','mVJjH','180895xSjXYd','XBOqk','onGroupMemberLevelInfoChange:','onGroupDetailInfoChange','bTjcq','fOjct','onJoinGroupNoVerifyFlag','706878JYHoAY','onShutUpMemberListChanged:','onGroupListUpdate','onMemberListChange:'];_0x43ff=function(){return _0x924fd5;};return _0x43ff();}export class GroupListener{[_0x43b6f9(0xbf)](..._0x51cb58){}[_0x43b6f9(0xb9)](..._0x792fb4){}['onGroupAllInfoChange'](..._0x15bca0){}[_0x43b6f9(0x93)](..._0x685ec9){}[_0x43b6f9(0xb7)](..._0x483fff){}[_0x43b6f9(0x8e)](..._0x3b27f8){}[_0x43b6f9(0xbd)](..._0x20c377){}[_0x43b6f9(0xb8)](..._0x4e6508){}[_0x43b6f9(0xab)](..._0x37ff07){}[_0x43b6f9(0x9b)](..._0x3b4e64){}[_0x43b6f9(0xc5)](..._0x13b030){}[_0x43b6f9(0xb1)](_0x54e573,_0x2402f4){}[_0x43b6f9(0xcf)](_0x12aa25,_0x1a88fc){}['onGroupBulletinRichMediaProgressUpdate'](..._0x511666){}[_0x43b6f9(0x8f)](..._0x5dbe03){}[_0x43b6f9(0xb3)](_0x55c098,_0x24877b,_0x2ded8b){}[_0x43b6f9(0x9c)](..._0x5cbac1){}[_0x43b6f9(0xcb)](..._0x2bd117){}[_0x43b6f9(0xc0)](..._0x13aa5a){}[_0x43b6f9(0xae)](..._0x5d9f45){}[_0x43b6f9(0xc2)](_0x5d5c34,_0x57f9ed,_0x5dc0f0){}[_0x43b6f9(0xca)](_0x3d2403){}['onSearchMemberChange'](..._0x5acdba){}[_0x43b6f9(0x91)](..._0x394dda){}}export class DebugGroupListener{[_0x43b6f9(0xbf)](..._0x566baf){var _0x59a1ed=_0x43b6f9;console[_0x59a1ed(0xc3)](_0x59a1ed(0xaa),..._0x566baf);}[_0x43b6f9(0xb9)](..._0xe66e36){var _0x2fcacc=_0x43b6f9,_0x2800e4={'XBOqk':_0x2fcacc(0xa5)};console['log'](_0x2800e4[_0x2fcacc(0xa9)],..._0xe66e36);}[_0x43b6f9(0xa4)](..._0x4861b8){var _0x1e74f3=_0x43b6f9,_0x1f3b94={'npldD':_0x1e74f3(0xc8)};console[_0x1e74f3(0xc3)](_0x1f3b94[_0x1e74f3(0xce)],..._0x4861b8);}['onGroupBulletinChange'](..._0x31f29c){var _0x50725d=_0x43b6f9,_0x48a5d1={'bTjcq':_0x50725d(0xb5)};console['log'](_0x48a5d1[_0x50725d(0xac)],..._0x31f29c);}['onGroupBulletinRemindNotify'](..._0x428e93){var _0x1d9cc1=_0x43b6f9,_0x55d5a1={'HXzUf':_0x1d9cc1(0x9e)};console['log'](_0x55d5a1[_0x1d9cc1(0xb4)],..._0x428e93);}[_0x43b6f9(0x8e)](..._0x3a223c){var _0x21885a=_0x43b6f9,_0x1b751b={'KQZLi':_0x21885a(0x92)};console['log'](_0x1b751b[_0x21885a(0xbe)],..._0x3a223c);}['onGroupBulletinRichMediaDownloadComplete'](..._0x58e3b1){var _0x1a8223=_0x43b6f9,_0x3edba5={'bstdS':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x1a8223(0xc3)](_0x3edba5['bstdS'],..._0x58e3b1);}[_0x43b6f9(0xb8)](..._0x515554){var _0x5632e8=_0x43b6f9,_0x1469cc={'LAmZJ':_0x5632e8(0xc7)};console[_0x5632e8(0xc3)](_0x1469cc[_0x5632e8(0xc1)],..._0x515554);}['onGroupDetailInfoChange'](..._0x3065ed){var _0x1de34c=_0x43b6f9;console[_0x1de34c(0xc3)](_0x1de34c(0xc4),..._0x3065ed);}[_0x43b6f9(0x9b)](..._0x4c8f30){var _0x1d773b=_0x43b6f9,_0x3ff00c={'FEruD':_0x1d773b(0xcc)};console['log'](_0x3ff00c[_0x1d773b(0xa2)],..._0x4c8f30);}[_0x43b6f9(0xc5)](..._0x570abb){var _0x2edc02=_0x43b6f9,_0x400199={'rWzxo':'onGroupFirstBulletinNotify:'};console[_0x2edc02(0xc3)](_0x400199[_0x2edc02(0x97)],..._0x570abb);}[_0x43b6f9(0xb1)](..._0x130d60){var _0x282718=_0x43b6f9;console[_0x282718(0xc3)](_0x282718(0x96),..._0x130d60);}['onGroupNotifiesUpdated'](..._0x2a1328){var _0x339ebb=_0x43b6f9,_0x50ded2={'dzbfI':_0x339ebb(0x98)};console[_0x339ebb(0xc3)](_0x50ded2[_0x339ebb(0x9d)],..._0x2a1328);}[_0x43b6f9(0xbb)](..._0x41065c){var _0x53ed01=_0x43b6f9,_0xa725fb={'StyZR':'onGroupBulletinRichMediaProgressUpdate:'};console['log'](_0xa725fb[_0x53ed01(0xa6)],..._0x41065c);}[_0x43b6f9(0x8f)](..._0x25c002){var _0x33fa01=_0x43b6f9,_0x3dfbb7={'reYVu':'onGroupNotifiesUnreadCountUpdated:'};console[_0x33fa01(0xc3)](_0x3dfbb7[_0x33fa01(0x9f)],..._0x25c002);}['onGroupSingleScreenNotifies'](_0x183204,_0x1e47b7,_0xe3cc52){var _0x2eef57=_0x43b6f9,_0xab2ee9={'eXTzb':_0x2eef57(0xa0)};console[_0x2eef57(0xc3)](_0xab2ee9['eXTzb']);}['onGroupsMsgMaskResult'](..._0x3a4b57){var _0x304120=_0x43b6f9,_0x499b7e={'mVJjH':_0x304120(0xc9)};console[_0x304120(0xc3)](_0x499b7e[_0x304120(0xa7)],..._0x3a4b57);}[_0x43b6f9(0xcb)](..._0x229dce){var _0xf52c76=_0x43b6f9,_0x214200={'JikHU':'onGroupStatisticInfoChange:'};console[_0xf52c76(0xc3)](_0x214200['JikHU'],..._0x229dce);}[_0x43b6f9(0xc0)](..._0x3bbd91){var _0x25c953=_0x43b6f9,_0xe452ae={'rLMiK':_0x25c953(0x99)};console[_0x25c953(0xc3)](_0xe452ae['rLMiK'],..._0x3bbd91);}[_0x43b6f9(0xae)](..._0x2fd3b7){var _0x4808ac=_0x43b6f9,_0x5c8231={'fOjct':_0x4808ac(0x95)};console['log'](_0x5c8231[_0x4808ac(0xad)],..._0x2fd3b7);}[_0x43b6f9(0xc2)](_0x2f4bab,_0xa31e78,_0xbc0581){var _0x4cff4e=_0x43b6f9;console[_0x4cff4e(0xc3)](_0x4cff4e(0x94),_0x2f4bab,_0xa31e78,_0xbc0581);}[_0x43b6f9(0xca)](..._0x37197b){var _0xf6071c=_0x43b6f9,_0x158c94={'tkzMG':_0xf6071c(0xb2)};console[_0xf6071c(0xc3)](_0x158c94['tkzMG'],..._0x37197b);}[_0x43b6f9(0xa1)](..._0xc00b9a){var _0x24ecb8=_0x43b6f9,_0xc251ea={'FUIAo':'onSearchMemberChange:'};console['log'](_0xc251ea[_0x24ecb8(0xb6)],..._0xc00b9a);}[_0x43b6f9(0x91)](..._0xac3258){var _0x10eca=_0x43b6f9,_0x5be252={'mYiHv':_0x10eca(0xb0)};console['log'](_0x5be252[_0x10eca(0xbc)],..._0xac3258);}} \ 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 fb0d8ba6..ad847008 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x3726(_0x33bce8,_0xc997ad){var _0x15807a=_0x1580();return _0x3726=function(_0x3726d1,_0x503d2c){_0x3726d1=_0x3726d1-0xa9;var _0x440f68=_0x15807a[_0x3726d1];return _0x440f68;},_0x3726(_0x33bce8,_0xc997ad);}function _0x1580(){var _0x4fe233=['6miVrsw','55SlpiSK','onQRCodeSessionQuickLoginFailed','OnConfirmUnusualDeviceFailed','3347440SBdBJy','5046040lhgidK','onLoginFailed','2MUgnWA','onQRCodeSessionFailed','376470WlFEew','onQRCodeLoginSucceed','296BWYuDY','5592545yYwCBS','onLoginDisConnected','onQRCodeLoginPollingStarted','1905912bvhBzK','onLoginState','3291908ivgwgw','1362377KmcWiz','onLogoutFailed','onLoginConnected','onQRCodeGetPicture'];_0x1580=function(){return _0x4fe233;};return _0x1580();}var _0x510a74=_0x3726;(function(_0x12ca88,_0x1e5c44){var _0x2afaa6=_0x3726,_0x41e840=_0x12ca88();while(!![]){try{var _0x2baf92=parseInt(_0x2afaa6(0xb6))/0x1*(parseInt(_0x2afaa6(0xab))/0x2)+parseInt(_0x2afaa6(0xb3))/0x3+-parseInt(_0x2afaa6(0xb5))/0x4+-parseInt(_0x2afaa6(0xa9))/0x5+parseInt(_0x2afaa6(0xba))/0x6*(parseInt(_0x2afaa6(0xb0))/0x7)+-parseInt(_0x2afaa6(0xaf))/0x8*(-parseInt(_0x2afaa6(0xad))/0x9)+parseInt(_0x2afaa6(0xbe))/0xa*(-parseInt(_0x2afaa6(0xbb))/0xb);if(_0x2baf92===_0x1e5c44)break;else _0x41e840['push'](_0x41e840['shift']());}catch(_0x34a607){_0x41e840['push'](_0x41e840['shift']());}}}(_0x1580,0xccb15));export class LoginListener{[_0x510a74(0xb8)](..._0x806e52){}[_0x510a74(0xb1)](..._0x4992dc){}['onLoginConnecting'](..._0x2c8421){}[_0x510a74(0xb9)](_0x2b7028){}[_0x510a74(0xb2)](..._0x45a50d){}['onQRCodeSessionUserScaned'](..._0x396bfd){}[_0x510a74(0xae)](_0xc0f707){}[_0x510a74(0xac)](..._0x15b720){}[_0x510a74(0xaa)](..._0x4345ff){}['onLogoutSucceed'](..._0xe406fe){}[_0x510a74(0xb7)](..._0x3e9490){}['onUserLoggedIn'](..._0x4ed7d6){}[_0x510a74(0xbc)](..._0x4f98a1){}['onPasswordLoginFailed'](..._0x3c3cf6){}[_0x510a74(0xbd)](..._0x451af8){}['onQQLoginNumLimited'](..._0x434bc1){}[_0x510a74(0xb4)](..._0x3dc59e){}} \ No newline at end of file +var _0xca362=_0x3bdf;function _0x4a29(){var _0x1612e8=['onLoginConnected','136227bNMoXj','204095CoAoBU','onLoginDisConnected','10HBcDER','12biAKUv','onLogoutSucceed','onLoginState','onLogoutFailed','onQRCodeSessionFailed','onLoginFailed','OnConfirmUnusualDeviceFailed','onQQLoginNumLimited','onQRCodeLoginSucceed','1399203vKKyHV','297345pCEaAp','116396eeKlhw','548712mbGbGd','onQRCodeGetPicture','onQRCodeSessionQuickLoginFailed','2uflDMr','56821ucBdJH'];_0x4a29=function(){return _0x1612e8;};return _0x4a29();}function _0x3bdf(_0x3d0a6b,_0xf81268){var _0x4a29a6=_0x4a29();return _0x3bdf=function(_0x3bdf30,_0x384941){_0x3bdf30=_0x3bdf30-0x1d3;var _0x94a053=_0x4a29a6[_0x3bdf30];return _0x94a053;},_0x3bdf(_0x3d0a6b,_0xf81268);}(function(_0x3d5ee5,_0xbe2c69){var _0x1736bd=_0x3bdf,_0x1c1cb5=_0x3d5ee5();while(!![]){try{var _0x38bec7=parseInt(_0x1736bd(0x1d4))/0x1*(parseInt(_0x1736bd(0x1d3))/0x2)+parseInt(_0x1736bd(0x1e4))/0x3+-parseInt(_0x1736bd(0x1e5))/0x4+parseInt(_0x1736bd(0x1d7))/0x5*(parseInt(_0x1736bd(0x1da))/0x6)+-parseInt(_0x1736bd(0x1d6))/0x7+parseInt(_0x1736bd(0x1e6))/0x8+parseInt(_0x1736bd(0x1e3))/0x9*(-parseInt(_0x1736bd(0x1d9))/0xa);if(_0x38bec7===_0xbe2c69)break;else _0x1c1cb5['push'](_0x1c1cb5['shift']());}catch(_0x10d58d){_0x1c1cb5['push'](_0x1c1cb5['shift']());}}}(_0x4a29,0x18ef8));export class LoginListener{[_0xca362(0x1d5)](..._0x563706){}[_0xca362(0x1d8)](..._0x515ba0){}['onLoginConnecting'](..._0x470067){}[_0xca362(0x1e7)](_0x2c4a90){}['onQRCodeLoginPollingStarted'](..._0x145f0e){}['onQRCodeSessionUserScaned'](..._0x3bc3dc){}[_0xca362(0x1e2)](_0x581576){}[_0xca362(0x1de)](..._0x441758){}[_0xca362(0x1df)](..._0x413748){}[_0xca362(0x1db)](..._0x3e2291){}[_0xca362(0x1dd)](..._0x247593){}['onUserLoggedIn'](..._0x4755b6){}[_0xca362(0x1e8)](..._0x1c90b3){}['onPasswordLoginFailed'](..._0x44cee7){}[_0xca362(0x1e0)](..._0x3908a1){}[_0xca362(0x1e1)](..._0x6f13be){}[_0xca362(0x1dc)](..._0x68085c){}} \ 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 37a7ffd9..6c134339 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x4a1135=_0x5f26;(function(_0x298675,_0x30fcc9){var _0x935529=_0x5f26,_0x1eaf20=_0x298675();while(!![]){try{var _0x5950c7=parseInt(_0x935529(0x17e))/0x1+-parseInt(_0x935529(0x14e))/0x2+parseInt(_0x935529(0x152))/0x3+-parseInt(_0x935529(0x151))/0x4+parseInt(_0x935529(0x167))/0x5+parseInt(_0x935529(0x145))/0x6+-parseInt(_0x935529(0x15e))/0x7;if(_0x5950c7===_0x30fcc9)break;else _0x1eaf20['push'](_0x1eaf20['shift']());}catch(_0x466e98){_0x1eaf20['push'](_0x1eaf20['shift']());}}}(_0x1c9c,0xc047b));export class MsgListener{['onAddSendMsg'](_0xdd775c){}[_0x4a1135(0x153)](_0x29423a){}[_0x4a1135(0x17f)](_0x7446e6){}[_0x4a1135(0x161)](_0x36c0e1,_0x18a5ed,_0x25d798){}[_0x4a1135(0x157)](_0xbc4601){}['onCustomWithdrawConfigUpdate'](_0x3dde8b){}[_0x4a1135(0x15f)](_0x4176fc,_0x2073d1,_0x548634){}[_0x4a1135(0x17c)](_0x16e3ab){}[_0x4a1135(0x14c)](_0x10e534){}[_0x4a1135(0x16a)](_0x219b57){}[_0x4a1135(0x15b)](_0x57c1c5){}[_0x4a1135(0x14d)](_0x1c734d){}[_0x4a1135(0x16f)](_0x1b37b9){}['onGrabPasswordRedBag'](_0x4f6300,_0x58c84d,_0x5c7f30,_0x2f13e2,_0x2667c9){}[_0x4a1135(0x175)](_0x4baa98){}[_0x4a1135(0x17a)](_0x169ba0){}[_0x4a1135(0x16c)](_0x1c2d55){}[_0x4a1135(0x143)](_0x3ff6e3){}[_0x4a1135(0x170)](_0x57958e){}[_0x4a1135(0x17b)](_0x180c63){}[_0x4a1135(0x176)](_0x9e9f4b){}[_0x4a1135(0x164)](_0xf0a13c){}['onHitCsRelatedEmojiResult'](_0x5db79f){}[_0x4a1135(0x156)](_0x551c8f){}[_0x4a1135(0x165)](_0xa448b0){}[_0x4a1135(0x178)](_0x53b5dc){}['onInputStatusPush'](_0x429c6b){}[_0x4a1135(0x179)](_0x54129e){}[_0x4a1135(0x144)](_0x500355){}[_0x4a1135(0x172)](_0x2641ea){}[_0x4a1135(0x15a)](_0x1b0e69){}['onMsgBoxChanged'](_0x3ffe91){}[_0x4a1135(0x166)](_0x1630af,_0x15fc2b){}[_0x4a1135(0x148)](_0x2f3c77){}[_0x4a1135(0x162)](_0x41fedb){}[_0x4a1135(0x173)](_0x26c695){}[_0x4a1135(0x17d)](_0x2678d3){}[_0x4a1135(0x163)](_0x3ea990,_0x125fa1,_0x5406f8){}[_0x4a1135(0x16d)](_0x774407){}[_0x4a1135(0x154)](_0x32d9e0){}['onNtFirstViewMsgSyncEnd'](){}[_0x4a1135(0x159)](){}[_0x4a1135(0x14b)](){}[_0x4a1135(0x16b)](_0x2159be){}[_0x4a1135(0x171)](_0x4f7a48){}['onRecvMsg'](_0x2e2ad4){}[_0x4a1135(0x14f)](_0x4ecca9,_0x21eaad,_0x344a10,_0x314b02,_0x68148e,_0x4bba18){}[_0x4a1135(0x180)](_0x59a82b){}[_0x4a1135(0x169)](_0x25a7df){}[_0x4a1135(0x16e)](_0xdae9d8){}[_0x4a1135(0x177)](_0x46098d){}[_0x4a1135(0x149)](_0x516378){}[_0x4a1135(0x146)](_0x35215f){}[_0x4a1135(0x150)](_0xf1d36){}[_0x4a1135(0x14a)](_0x397259){}['onSendMsgError'](_0x42be3f,_0x508284,_0x4ae9ef,_0x4b33f2){}[_0x4a1135(0x147)](_0x4634bc,_0xfdf47b,_0x265049,_0x3881fb){}['onTempChatInfoUpdate'](_0x5aef9a){}['onUnreadCntAfterFirstView'](_0x25b99a){}[_0x4a1135(0x15c)](_0x2efc61){}[_0x4a1135(0x155)](_0x44af28){}['onUserOnlineStatusChanged'](_0x4b4584){}[_0x4a1135(0x160)](_0x25c15a){}['onlineStatusBigIconDownloadPush'](_0x2baef9,_0x531c36,_0x215bdc){}[_0x4a1135(0x15d)](_0x2603ba,_0x267ad9,_0x4f0071){}[_0x4a1135(0x158)](..._0x1cf14e){}[_0x4a1135(0x174)](..._0x504a36){}[_0x4a1135(0x168)](..._0x449cf2){}['onBroadcastHelperProgerssUpdate'](..._0x4f0467){}}function _0x5f26(_0x51cd9e,_0x5d68f5){var _0x1c9cd3=_0x1c9c();return _0x5f26=function(_0x5f2612,_0x43a067){_0x5f2612=_0x5f2612-0x143;var _0x48ab47=_0x1c9cd3[_0x5f2612];return _0x48ab47;},_0x5f26(_0x51cd9e,_0x5d68f5);}function _0x1c9c(){var _0x25305b=['onUserChannelTabStatusChanged','onHitEmojiKeywordResult','onContactUnreadCntUpdate','onUserSecQualityChanged','onNtMsgSyncEnd','onMsgAbstractUpdate','onFileMsgCome','onUnreadCntUpdate','onlineStatusSmallIconDownloadPush','7769440WYIcGR','onDraftUpdate','onUserTabStatusChanged','onChannelFreqLimitInfoUpdate','onMsgInfoListAdd','onMsgRecall','onGuildNotificationAbstractUpdate','onHitRelatedEmojiResult','onMsgDelete','485180BEwMMx','onRedTouchChanged','onRecvS2CMsg','onFeedEventUpdate','onReadFeedEventUpdate','onGroupGuildUpdate','onMsgSecurityNotify','onRecvSysMsg','onFirstViewGroupGuildMapping','onGroupTransferInfoUpdate','onRecvGroupGuildFlag','onLogLevelChanged','onMsgInfoListUpdate','onMsgWithRichLinkInfoUpdate','onGroupFileInfoAdd','onGuildMsgAbFlagChanged','onRecvUDCFlag','onImportOldDbProgressUpdate','onKickedOffLine','onGroupFileInfoUpdate','onGuildInteractiveUpdate','onEmojiDownloadComplete','onMsgQRCodeStatusChanged','1329856gfolNp','onBroadcastHelperProgressUpdate','onRecvOnlineFileMsg','onGroupTransferInfoAdd','onLineDev','9161976ypUjTl','onRichMediaProgerssUpdate','onSysMsgNotification','onMsgEventListUpdate','onRichMediaDownloadComplete','onSearchGroupFileInfoUpdate','onNtMsgSyncStart','onEmojiResourceUpdate','onFirstViewDirectMsgUpdate','1067450VjMgeF','onRecvMsgSvrRspTransInfo','onRichMediaUploadComplete','4781248eaAalu','2017944UHLYjT','onBroadcastHelperDownloadComplete','onMsgSettingUpdate'];_0x1c9c=function(){return _0x25305b;};return _0x1c9c();} \ No newline at end of file +function _0x4d1e(){var _0x4afb38=['onSearchGroupFileInfoUpdate','onUserChannelTabStatusChanged','onGroupTransferInfoUpdate','onRichMediaDownloadComplete','onMsgInfoListAdd','onHitRelatedEmojiResult','4042926JkEVCs','2DvswoB','onMsgEventListUpdate','onMsgAbstractUpdate','onUnreadCntUpdate','onBroadcastHelperProgerssUpdate','785214VijmqD','onLineDev','onMsgWithRichLinkInfoUpdate','onMsgInfoListUpdate','onNtFirstViewMsgSyncEnd','7852144MMOyFJ','onSendMsgError','onHitEmojiKeywordResult','onRecvMsgSvrRspTransInfo','onEmojiDownloadComplete','onMsgDelete','24186tZrQNK','onReadFeedEventUpdate','onFileMsgCome','665HNiGym','onRecvUDCFlag','onMsgRecall','onBroadcastHelperProgressUpdate','onFeedEventUpdate','onGuildMsgAbFlagChanged','onFirstViewDirectMsgUpdate','onGrabPasswordRedBag','onlineStatusBigIconDownloadPush','onRichMediaProgerssUpdate','1743873pfwTen','3915813iqoeUr','onGuildInteractiveUpdate','onChannelFreqLimitInfoUpdate','onGroupTransferInfoAdd','onNtMsgSyncStart','onFirstViewGroupGuildMapping','3861745RwgfAS','onMsgSecurityNotify','onUserOnlineStatusChanged','onSysMsgNotification','onRecvS2CMsg','onGroupGuildUpdate','onRecvOnlineFileMsg','4MPnJlY','onAddSendMsg','20hKZcTd','onMsgBoxChanged','onBroadcastHelperDownloadComplete','onHitCsRelatedEmojiResult','onLogLevelChanged'];_0x4d1e=function(){return _0x4afb38;};return _0x4d1e();}var _0x3edfa8=_0x5c78;function _0x5c78(_0x83fba1,_0x4a88c4){var _0x4d1eab=_0x4d1e();return _0x5c78=function(_0x5c7861,_0x4e7fe5){_0x5c7861=_0x5c7861-0x117;var _0xa806b2=_0x4d1eab[_0x5c7861];return _0xa806b2;},_0x5c78(_0x83fba1,_0x4a88c4);}(function(_0x499b52,_0x550de6){var _0x49ca3d=_0x5c78,_0x2969da=_0x499b52();while(!![]){try{var _0x4f490c=-parseInt(_0x49ca3d(0x121))/0x1*(parseInt(_0x49ca3d(0x126))/0x2)+parseInt(_0x49ca3d(0x13e))/0x3+parseInt(_0x49ca3d(0x14c))/0x4*(parseInt(_0x49ca3d(0x145))/0x5)+-parseInt(_0x49ca3d(0x131))/0x6*(-parseInt(_0x49ca3d(0x134))/0x7)+parseInt(_0x49ca3d(0x12b))/0x8+parseInt(_0x49ca3d(0x120))/0x9*(-parseInt(_0x49ca3d(0x14e))/0xa)+-parseInt(_0x49ca3d(0x13f))/0xb;if(_0x4f490c===_0x550de6)break;else _0x2969da['push'](_0x2969da['shift']());}catch(_0x299b35){_0x2969da['push'](_0x2969da['shift']());}}}(_0x4d1e,0xa5a4e));export class MsgListener{[_0x3edfa8(0x14d)](_0x512ef5){}[_0x3edfa8(0x117)](_0x455f18){}[_0x3edfa8(0x137)](_0x3f54c9){}[_0x3edfa8(0x141)](_0x221e8e,_0x10555c,_0xf1f59a){}['onContactUnreadCntUpdate'](_0x326836){}['onCustomWithdrawConfigUpdate'](_0x19cbf0){}['onDraftUpdate'](_0x124936,_0x4c6b88,_0x5dabc2){}[_0x3edfa8(0x12f)](_0x1395f1){}['onEmojiResourceUpdate'](_0x214576){}[_0x3edfa8(0x138)](_0x541c51){}[_0x3edfa8(0x133)](_0x4ad691){}[_0x3edfa8(0x13a)](_0x5eefc1){}[_0x3edfa8(0x144)](_0x3ebf3e){}[_0x3edfa8(0x13b)](_0x41c577,_0x54664b,_0x9b0b01,_0x3d84b5,_0x48c8f2){}['onGroupFileInfoAdd'](_0x2594ea){}['onGroupFileInfoUpdate'](_0x2a341e){}[_0x3edfa8(0x14a)](_0x2e1159){}[_0x3edfa8(0x142)](_0x2db916){}[_0x3edfa8(0x11c)](_0x32f040){}[_0x3edfa8(0x140)](_0x3a4b4b){}[_0x3edfa8(0x139)](_0x1371a4){}['onGuildNotificationAbstractUpdate'](_0x586f6b){}[_0x3edfa8(0x118)](_0x5975ff){}[_0x3edfa8(0x12d)](_0x46f4c1){}[_0x3edfa8(0x11f)](_0x5932d0){}['onImportOldDbProgressUpdate'](_0x5cedcf){}['onInputStatusPush'](_0x57690f){}['onKickedOffLine'](_0x15baa0){}[_0x3edfa8(0x127)](_0x5d5f06){}[_0x3edfa8(0x119)](_0x2dadce){}[_0x3edfa8(0x123)](_0x5353e0){}[_0x3edfa8(0x14f)](_0xbfcae4){}[_0x3edfa8(0x130)](_0x2f169c,_0x28e0ec){}[_0x3edfa8(0x122)](_0x28e9e5){}[_0x3edfa8(0x11e)](_0x3ffab0){}[_0x3edfa8(0x129)](_0x2a8527){}['onMsgQRCodeStatusChanged'](_0x31668e){}[_0x3edfa8(0x136)](_0x3f6f95,_0x1db2aa,_0x96325c){}[_0x3edfa8(0x146)](_0x214ce2){}['onMsgSettingUpdate'](_0x41c56b){}[_0x3edfa8(0x12a)](){}['onNtMsgSyncEnd'](){}[_0x3edfa8(0x143)](){}[_0x3edfa8(0x132)](_0x31ac9b){}['onRecvGroupGuildFlag'](_0x41fc8b){}['onRecvMsg'](_0x5a8b8e){}[_0x3edfa8(0x12e)](_0x595841,_0x21d809,_0x1fe675,_0x3c10ff,_0x4fc878,_0x45bae6){}[_0x3edfa8(0x14b)](_0x3daf0d){}[_0x3edfa8(0x149)](_0x5e8053){}['onRecvSysMsg'](_0x46ecbd){}[_0x3edfa8(0x135)](_0xdcba3a){}[_0x3edfa8(0x11d)](_0xac774c){}[_0x3edfa8(0x13d)](_0x564a87){}['onRichMediaUploadComplete'](_0x3c38fd){}[_0x3edfa8(0x11a)](_0x29bbec){}[_0x3edfa8(0x12c)](_0x310115,_0x23cd8e,_0x52a474,_0x288692){}[_0x3edfa8(0x148)](_0x4ed18d,_0x3fcd9a,_0x5a65bc,_0x1cbf12){}['onTempChatInfoUpdate'](_0x51c475){}['onUnreadCntAfterFirstView'](_0x45cdef){}[_0x3edfa8(0x124)](_0x1b8d16){}[_0x3edfa8(0x11b)](_0x4f48e2){}[_0x3edfa8(0x147)](_0x3a58a6){}['onUserTabStatusChanged'](_0x68076d){}[_0x3edfa8(0x13c)](_0xe2e8ad,_0x264e1d,_0x3243e1){}['onlineStatusSmallIconDownloadPush'](_0x44aded,_0xf36283,_0x50caa6){}['onUserSecQualityChanged'](..._0x12068f){}[_0x3edfa8(0x128)](..._0x3ff77c){}['onRedTouchChanged'](..._0x2bd261){}[_0x3edfa8(0x125)](..._0x33ff99){}} \ 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 d848161c..fc35a528 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x6911(_0xa57e3f,_0x26ae6c){var _0x5af20a=_0x5af2();return _0x6911=function(_0x6911d3,_0x16c60f){_0x6911d3=_0x6911d3-0x99;var _0x3c1c4a=_0x5af20a[_0x6911d3];return _0x3c1c4a;},_0x6911(_0xa57e3f,_0x26ae6c);}var _0x4aa9ca=_0x6911;(function(_0xdf77c1,_0x5da0bb){var _0x3d7967=_0x6911,_0x540c47=_0xdf77c1();while(!![]){try{var _0x3e5988=-parseInt(_0x3d7967(0xa7))/0x1*(-parseInt(_0x3d7967(0x9c))/0x2)+-parseInt(_0x3d7967(0x9b))/0x3+-parseInt(_0x3d7967(0x9a))/0x4*(-parseInt(_0x3d7967(0xa1))/0x5)+parseInt(_0x3d7967(0xa0))/0x6*(parseInt(_0x3d7967(0x9f))/0x7)+parseInt(_0x3d7967(0xa4))/0x8+parseInt(_0x3d7967(0x9e))/0x9*(parseInt(_0x3d7967(0xa5))/0xa)+-parseInt(_0x3d7967(0x9d))/0xb;if(_0x3e5988===_0x5da0bb)break;else _0x540c47['push'](_0x540c47['shift']());}catch(_0x5b0f22){_0x540c47['push'](_0x540c47['shift']());}}}(_0x5af2,0xc2a09));export class ProfileListener{[_0x4aa9ca(0xa6)](..._0x1598cb){}[_0x4aa9ca(0xa3)](_0x237e94){}['onStatusUpdate'](..._0x205229){}[_0x4aa9ca(0x99)](..._0x1b5ee0){}[_0x4aa9ca(0xa2)](..._0xb1b9e9){}}function _0x5af2(){var _0x3147e7=['175188NLeagc','5fdkmKM','onStrangerRemarkChanged','onProfileDetailInfoChanged','8845304BwQxjO','620uNAwvO','onProfileSimpleChanged','14329QcFjfh','onSelfStatusChanged','2841572mAPLdC','1797147ziKgmn','108KDByRf','20709084yQTEkr','95787dgUbaK','7sgkwYs'];_0x5af2=function(){return _0x3147e7;};return _0x5af2();} \ No newline at end of file +var _0x10821c=_0x2f58;function _0x4751(){var _0xe711b4=['78FKyqWU','2169MxHRex','onStrangerRemarkChanged','10968816zqxIGy','81924gGHDpz','onSelfStatusChanged','16088XKVWCM','371917qPIFzO','319ffldbU','onStatusUpdate','42690TGYgSE','56438RwlKho','45PweJPZ','41856XtGDkz','onProfileDetailInfoChanged','185cEMGUF'];_0x4751=function(){return _0xe711b4;};return _0x4751();}function _0x2f58(_0x1c40fa,_0xe5eff8){var _0x47512f=_0x4751();return _0x2f58=function(_0x2f58b6,_0x457bd0){_0x2f58b6=_0x2f58b6-0xd1;var _0x14e40a=_0x47512f[_0x2f58b6];return _0x14e40a;},_0x2f58(_0x1c40fa,_0xe5eff8);}(function(_0x55ddd1,_0x3d2c5f){var _0x287e4a=_0x2f58,_0x565c42=_0x55ddd1();while(!![]){try{var _0x54b52c=parseInt(_0x287e4a(0xd8))/0x1+parseInt(_0x287e4a(0xd6))/0x2*(parseInt(_0x287e4a(0xd7))/0x3)+-parseInt(_0x287e4a(0xdf))/0x4*(-parseInt(_0x287e4a(0xda))/0x5)+-parseInt(_0x287e4a(0xdb))/0x6*(-parseInt(_0x287e4a(0xd2))/0x7)+parseInt(_0x287e4a(0xd1))/0x8*(-parseInt(_0x287e4a(0xdc))/0x9)+parseInt(_0x287e4a(0xd5))/0xa*(-parseInt(_0x287e4a(0xd3))/0xb)+-parseInt(_0x287e4a(0xde))/0xc;if(_0x54b52c===_0x3d2c5f)break;else _0x565c42['push'](_0x565c42['shift']());}catch(_0x3052ac){_0x565c42['push'](_0x565c42['shift']());}}}(_0x4751,0x5f7d1));export class ProfileListener{['onProfileSimpleChanged'](..._0x383db1){}[_0x10821c(0xd9)](_0x2637c6){}[_0x10821c(0xd4)](..._0x3bf764){}[_0x10821c(0xe0)](..._0x18fd49){}[_0x10821c(0xdd)](..._0x1f7dd8){}} \ 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 fc3d7b74..8703fc65 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x565b24=_0x2b4b;(function(_0x1fb325,_0x41b0f6){var _0x2044ca=_0x2b4b,_0x155974=_0x1fb325();while(!![]){try{var _0x527a15=-parseInt(_0x2044ca(0x17a))/0x1+parseInt(_0x2044ca(0x184))/0x2*(-parseInt(_0x2044ca(0x180))/0x3)+-parseInt(_0x2044ca(0x17f))/0x4*(-parseInt(_0x2044ca(0x182))/0x5)+parseInt(_0x2044ca(0x183))/0x6+-parseInt(_0x2044ca(0x17b))/0x7*(-parseInt(_0x2044ca(0x17c))/0x8)+parseInt(_0x2044ca(0x181))/0x9+parseInt(_0x2044ca(0x17d))/0xa*(-parseInt(_0x2044ca(0x17e))/0xb);if(_0x527a15===_0x41b0f6)break;else _0x155974['push'](_0x155974['shift']());}catch(_0x4e6b30){_0x155974['push'](_0x155974['shift']());}}}(_0x52d5,0x6a54c));export class KernelRobotListener{[_0x565b24(0x185)](..._0x3c4e90){}[_0x565b24(0x186)](..._0x32eca5){}['onRobotProfileChanged'](..._0x680dc8){}}function _0x2b4b(_0x3f66db,_0x3fd6b3){var _0x52d5e4=_0x52d5();return _0x2b4b=function(_0x2b4baf,_0x2b68d0){_0x2b4baf=_0x2b4baf-0x17a;var _0x4fed95=_0x52d5e4[_0x2b4baf];return _0x4fed95;},_0x2b4b(_0x3f66db,_0x3fd6b3);}function _0x52d5(){var _0x3c6453=['onRobotFriendListChanged','onRobotListChanged','808612cwMxXT','1000916mpxijk','48SKzquI','1104510sgZEzh','33JAkQEt','8kzIWFG','130602wEmsoz','3869208XXpBkF','53155oNGZYL','2904390UgIPZS','10LEUwKD'];_0x52d5=function(){return _0x3c6453;};return _0x52d5();} \ No newline at end of file +function _0xcd18(_0x13a527,_0x5d62ad){var _0x1be3a5=_0x1be3();return _0xcd18=function(_0xcd180f,_0x37d51e){_0xcd180f=_0xcd180f-0x170;var _0x4c2b5d=_0x1be3a5[_0xcd180f];return _0x4c2b5d;},_0xcd18(_0x13a527,_0x5d62ad);}var _0x3d50b6=_0xcd18;(function(_0x436151,_0x4c8d3d){var _0x2d5b2=_0xcd18,_0x3eb4bc=_0x436151();while(!![]){try{var _0x55e333=-parseInt(_0x2d5b2(0x178))/0x1*(parseInt(_0x2d5b2(0x175))/0x2)+parseInt(_0x2d5b2(0x172))/0x3*(parseInt(_0x2d5b2(0x179))/0x4)+parseInt(_0x2d5b2(0x174))/0x5*(parseInt(_0x2d5b2(0x17e))/0x6)+parseInt(_0x2d5b2(0x171))/0x7*(-parseInt(_0x2d5b2(0x173))/0x8)+parseInt(_0x2d5b2(0x17d))/0x9*(parseInt(_0x2d5b2(0x170))/0xa)+-parseInt(_0x2d5b2(0x17b))/0xb+parseInt(_0x2d5b2(0x17a))/0xc*(parseInt(_0x2d5b2(0x176))/0xd);if(_0x55e333===_0x4c8d3d)break;else _0x3eb4bc['push'](_0x3eb4bc['shift']());}catch(_0x51467f){_0x3eb4bc['push'](_0x3eb4bc['shift']());}}}(_0x1be3,0xe2d5c));export class KernelRobotListener{[_0x3d50b6(0x177)](..._0x3cd3a6){}['onRobotListChanged'](..._0x2e667b){}[_0x3d50b6(0x17c)](..._0x480676){}}function _0x1be3(){var _0x864796=['82632sSpvNq','380pFTIHi','233443YrqhGc','3ODGrzA','384tjhAqJ','180CevZws','20VjmCUS','42601guxgAo','onRobotFriendListChanged','106412aYyPFM','4447688fIrndi','996xCxtBk','175681ylBRiB','onRobotProfileChanged','409797qsAHcH'];_0x1be3=function(){return _0x864796;};return _0x1be3();} \ 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 1c811e84..5258e4e3 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x3353(){var _0x58ef48=['1405404EPwxsz','onGProSessionCreate','onNTSessionCreate','12zCxEpW','onGetSelfTinyId','727432DxeZhu','81428KQlmvd','222397zjujja','27pqigOq','2620209HrQOhc','onOpentelemetryInit','1751345HfURpQ','onSessionInitComplete','1584840FOqFyn'];_0x3353=function(){return _0x58ef48;};return _0x3353();}function _0x2932(_0x5b7fd1,_0x177f65){var _0x335390=_0x3353();return _0x2932=function(_0x293242,_0x8c7b91){_0x293242=_0x293242-0x184;var _0x555d7a=_0x335390[_0x293242];return _0x555d7a;},_0x2932(_0x5b7fd1,_0x177f65);}var _0x323f78=_0x2932;(function(_0x5e3c3c,_0x5ab6f0){var _0x570844=_0x2932,_0x385a0b=_0x5e3c3c();while(!![]){try{var _0x95396d=-parseInt(_0x570844(0x187))/0x1*(-parseInt(_0x570844(0x185))/0x2)+-parseInt(_0x570844(0x188))/0x3+parseInt(_0x570844(0x190))/0x4*(parseInt(_0x570844(0x18a))/0x5)+-parseInt(_0x570844(0x18c))/0x6+parseInt(_0x570844(0x186))/0x7+-parseInt(_0x570844(0x184))/0x8+-parseInt(_0x570844(0x18d))/0x9;if(_0x95396d===_0x5ab6f0)break;else _0x385a0b['push'](_0x385a0b['shift']());}catch(_0xa4af36){_0x385a0b['push'](_0x385a0b['shift']());}}}(_0x3353,0xc2a2c));export class SessionListener{[_0x323f78(0x18f)](_0x253183){}[_0x323f78(0x18e)](_0x2486f7){}[_0x323f78(0x18b)](_0x12d3b1){}[_0x323f78(0x189)](_0x159356){}['onUserOnlineResult'](_0x4e1e8e){}[_0x323f78(0x191)](_0x35c925){}} \ No newline at end of file +var _0x4c87fc=_0x4b3d;(function(_0x3c5bc5,_0x473f9c){var _0x3f773b=_0x4b3d,_0xd1f9c6=_0x3c5bc5();while(!![]){try{var _0x3f863c=-parseInt(_0x3f773b(0x145))/0x1*(parseInt(_0x3f773b(0x14d))/0x2)+-parseInt(_0x3f773b(0x14c))/0x3*(-parseInt(_0x3f773b(0x140))/0x4)+parseInt(_0x3f773b(0x14b))/0x5*(-parseInt(_0x3f773b(0x14a))/0x6)+-parseInt(_0x3f773b(0x13f))/0x7+parseInt(_0x3f773b(0x14e))/0x8+parseInt(_0x3f773b(0x148))/0x9+-parseInt(_0x3f773b(0x142))/0xa*(-parseInt(_0x3f773b(0x147))/0xb);if(_0x3f863c===_0x473f9c)break;else _0xd1f9c6['push'](_0xd1f9c6['shift']());}catch(_0x4a299c){_0xd1f9c6['push'](_0xd1f9c6['shift']());}}}(_0x348c,0x3dd0c));export class SessionListener{[_0x4c87fc(0x149)](_0x3e5a6c){}[_0x4c87fc(0x141)](_0xa43750){}[_0x4c87fc(0x143)](_0xc7d03b){}[_0x4c87fc(0x146)](_0x348bb4){}[_0x4c87fc(0x144)](_0x1eda84){}[_0x4c87fc(0x13e)](_0x18fd4f){}}function _0x4b3d(_0x4cb71f,_0x103a1d){var _0x348c23=_0x348c();return _0x4b3d=function(_0x4b3d8b,_0x16db66){_0x4b3d8b=_0x4b3d8b-0x13e;var _0x5987db=_0x348c23[_0x4b3d8b];return _0x5987db;},_0x4b3d(_0x4cb71f,_0x103a1d);}function _0x348c(){var _0x32eb53=['2497789WHkTnm','1608OIUgQr','onGProSessionCreate','880kzgtbE','onSessionInitComplete','onUserOnlineResult','2vivdha','onOpentelemetryInit','1760BfUHuL','4312116XGAqIM','onNTSessionCreate','12DBDclp','306670WWgJmT','1296gNdzwE','406310lplasq','3777064nQLvtc','onGetSelfTinyId'];_0x348c=function(){return _0x32eb53;};return _0x348c();} \ 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 b59361a8..2eb5ffa7 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x1310(_0x56284e,_0x308169){var _0x23842a=_0x2384();return _0x1310=function(_0x131028,_0x3b9797){_0x131028=_0x131028-0x113;var _0x186b7c=_0x23842a[_0x131028];return _0x186b7c;},_0x1310(_0x56284e,_0x308169);}var _0x2dc041=_0x1310;(function(_0x4b1512,_0x3c7543){var _0x128168=_0x1310,_0x1c29ab=_0x4b1512();while(!![]){try{var _0x16e881=parseInt(_0x128168(0x113))/0x1+parseInt(_0x128168(0x11e))/0x2*(-parseInt(_0x128168(0x11c))/0x3)+-parseInt(_0x128168(0x118))/0x4+-parseInt(_0x128168(0x117))/0x5+parseInt(_0x128168(0x11d))/0x6*(parseInt(_0x128168(0x11a))/0x7)+parseInt(_0x128168(0x114))/0x8*(-parseInt(_0x128168(0x119))/0x9)+-parseInt(_0x128168(0x11f))/0xa*(-parseInt(_0x128168(0x116))/0xb);if(_0x16e881===_0x3c7543)break;else _0x1c29ab['push'](_0x1c29ab['shift']());}catch(_0x4a9218){_0x1c29ab['push'](_0x1c29ab['shift']());}}}(_0x2384,0x78f72));function _0x2384(){var _0x57fa82=['onCleanCacheStorageChanged','964194fVDOZI','499215XzPINo','834028DaZszd','1116LtZiOf','629636vRmfFd','onChatCleanDone','479049WclqaX','60TydxMh','8JqPcsN','60OIwike','onCleanCacheProgressChanged','onFinishScan','470744JzeJOK','29264SaCvuB'];_0x2384=function(){return _0x57fa82;};return _0x2384();}export class StorageCleanListener{[_0x2dc041(0x120)](_0x4c588e){}['onScanCacheProgressChanged'](_0x18fb33){}[_0x2dc041(0x115)](_0x253d39){}[_0x2dc041(0x121)](_0x3cade6){}[_0x2dc041(0x11b)](_0x572a28){}} \ No newline at end of file +var _0x49641c=_0xca06;(function(_0x48c3cd,_0x3a9541){var _0x5cb257=_0xca06,_0x1f4d11=_0x48c3cd();while(!![]){try{var _0x2f2da8=-parseInt(_0x5cb257(0x8f))/0x1*(-parseInt(_0x5cb257(0x8a))/0x2)+parseInt(_0x5cb257(0x83))/0x3*(-parseInt(_0x5cb257(0x84))/0x4)+-parseInt(_0x5cb257(0x8b))/0x5+-parseInt(_0x5cb257(0x86))/0x6+parseInt(_0x5cb257(0x8e))/0x7*(-parseInt(_0x5cb257(0x82))/0x8)+-parseInt(_0x5cb257(0x81))/0x9+parseInt(_0x5cb257(0x88))/0xa;if(_0x2f2da8===_0x3a9541)break;else _0x1f4d11['push'](_0x1f4d11['shift']());}catch(_0x12d27b){_0x1f4d11['push'](_0x1f4d11['shift']());}}}(_0x2b9e,0xbd8b5));function _0xca06(_0x3cffbb,_0x2deab1){var _0x2b9ebf=_0x2b9e();return _0xca06=function(_0xca0691,_0xacfab){_0xca0691=_0xca0691-0x81;var _0x30d1df=_0x2b9ebf[_0xca0691];return _0x30d1df;},_0xca06(_0x3cffbb,_0x2deab1);}export class StorageCleanListener{[_0x49641c(0x8d)](_0x149a46){}[_0x49641c(0x87)](_0x373a40){}[_0x49641c(0x85)](_0x5c775c){}[_0x49641c(0x89)](_0xaabd72){}[_0x49641c(0x8c)](_0x2c00ed){}}function _0x2b9e(){var _0x4d3cd3=['4vpZNIm','onCleanCacheStorageChanged','221448sSCVOj','onScanCacheProgressChanged','44429010mQDDwm','onFinishScan','188ROsBsE','5091245qCdztU','onChatCleanDone','onCleanCacheProgressChanged','12607DVnyfp','9319DfDyrv','12715614LglCWs','3216KxeeeO','4051527cESPCQ'];_0x2b9e=function(){return _0x4d3cd3;};return _0x2b9e();} \ 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 bab46d46..2f0b4f88 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x468513,_0xcf10b1){var _0x25082a=_0x220a,_0xddadac=_0x468513();while(!![]){try{var _0x4b322d=-parseInt(_0x25082a(0x10e))/0x1+parseInt(_0x25082a(0x10f))/0x2+parseInt(_0x25082a(0x109))/0x3+-parseInt(_0x25082a(0x108))/0x4+-parseInt(_0x25082a(0x10d))/0x5+-parseInt(_0x25082a(0x10b))/0x6*(parseInt(_0x25082a(0x10c))/0x7)+-parseInt(_0x25082a(0x10a))/0x8*(-parseInt(_0x25082a(0x110))/0x9);if(_0x4b322d===_0xcf10b1)break;else _0xddadac['push'](_0xddadac['shift']());}catch(_0x3ba02a){_0xddadac['push'](_0xddadac['shift']());}}}(_0x33ee,0xd3626));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x33ee(){var _0x493c06=['215334HZLQGT','9UKgpNJ','1346904brQVOh','386796laIzDg','18599272uhYONY','4025172bjFado','7sgtbNC','1649010xSRzhD','358288BOYDAy'];_0x33ee=function(){return _0x493c06;};return _0x33ee();}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x220a(_0x5892ea,_0x4076ca){var _0x33eec3=_0x33ee();return _0x220a=function(_0x220a92,_0x47b419){_0x220a92=_0x220a92-0x108;var _0x2ded31=_0x33eec3[_0x220a92];return _0x2ded31;},_0x220a(_0x5892ea,_0x4076ca);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x54e757,_0x3d8519){var _0x457960=_0x468d,_0x155ebe=_0x54e757();while(!![]){try{var _0x47039d=parseInt(_0x457960(0x146))/0x1*(parseInt(_0x457960(0x14e))/0x2)+parseInt(_0x457960(0x14a))/0x3*(-parseInt(_0x457960(0x149))/0x4)+-parseInt(_0x457960(0x14d))/0x5*(-parseInt(_0x457960(0x148))/0x6)+parseInt(_0x457960(0x147))/0x7*(-parseInt(_0x457960(0x14c))/0x8)+parseInt(_0x457960(0x145))/0x9+parseInt(_0x457960(0x14b))/0xa*(-parseInt(_0x457960(0x144))/0xb)+parseInt(_0x457960(0x143))/0xc;if(_0x47039d===_0x3d8519)break;else _0x155ebe['push'](_0x155ebe['shift']());}catch(_0x5ff235){_0x155ebe['push'](_0x155ebe['shift']());}}}(_0x11e3,0x78193));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x468d(_0x44000b,_0x4e0e32){var _0x11e33d=_0x11e3();return _0x468d=function(_0x468d92,_0xadecb8){_0x468d92=_0x468d92-0x143;var _0x1e4d8d=_0x11e33d[_0x468d92];return _0x1e4d8d;},_0x468d(_0x44000b,_0x4e0e32);}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x11e3(){var _0x4aa8a8=['1446vCaPuD','7816jDnVkK','141IMIOGY','10wuIxDD','58568LvUBBU','1565XSLYno','2qsecDE','19770900RppQjk','9657626IDYCOD','2656377fGGQeC','124419nmtLpT','651NkUhtR'];_0x11e3=function(){return _0x4aa8a8;};return _0x11e3();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelGroupService.d.ts b/src/core.lib/src/services/NodeIKernelGroupService.d.ts index 02c688b5..3ef1dce7 100644 --- a/src/core.lib/src/services/NodeIKernelGroupService.d.ts +++ b/src/core.lib/src/services/NodeIKernelGroupService.d.ts @@ -1,5 +1,5 @@ import { NodeIKernelGroupListener } from '@/core/listeners/NodeIKernelGroupListener'; -import { GroupMember, GroupMemberRole, GroupNotifyTypes, GroupRequestOperateTypes } from '@/core/entities'; +import { GroupExtParam, GroupMember, GroupMemberRole, GroupNotifyTypes, GroupRequestOperateTypes } from '@/core/entities'; import { GeneralCallResult } from '@/core/services/common'; export interface NodeIKernelGroupService { addKernelGroupListener(listener: NodeIKernelGroupListener): number; @@ -28,7 +28,7 @@ export interface NodeIKernelGroupService { getGroupList(force: boolean): Promise; getGroupExtList(force: boolean): Promise; getGroupDetailInfo(groupCode: string): unknown; - getMemberExtInfo(arg: object): unknown; + getMemberExtInfo(arg: GroupExtParam): Promise; getGroupAllInfo(): unknown; getDiscussExistInfo(): unknown; getGroupConfMember(): unknown; diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index 22a44440..117d706f 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x41bda3,_0x16b72d){var _0x4da21b=_0xd68b,_0xbcd336=_0x41bda3();while(!![]){try{var _0x46cda9=parseInt(_0x4da21b(0x16e))/0x1*(parseInt(_0x4da21b(0x170))/0x2)+parseInt(_0x4da21b(0x16b))/0x3+parseInt(_0x4da21b(0x168))/0x4*(parseInt(_0x4da21b(0x16f))/0x5)+-parseInt(_0x4da21b(0x16d))/0x6+-parseInt(_0x4da21b(0x16c))/0x7+-parseInt(_0x4da21b(0x16a))/0x8+parseInt(_0x4da21b(0x169))/0x9;if(_0x46cda9===_0x16b72d)break;else _0xbcd336['push'](_0xbcd336['shift']());}catch(_0x1941b7){_0xbcd336['push'](_0xbcd336['shift']());}}}(_0x5910,0x972ba));function _0x5910(){var _0x183a96=['5608554lhdIrH','20872WYlTks','805Yhcuby','2sOwIYz','14284alyDBJ','19308402CDfZyU','4080680xLrMCg','343176CnWDgA','5540745YBtrKY'];_0x5910=function(){return _0x183a96;};return _0x5910();}function _0xd68b(_0x1c3360,_0x1c2651){var _0x59102a=_0x5910();return _0xd68b=function(_0xd68bde,_0x135ec1){_0xd68bde=_0xd68bde-0x168;var _0x5c7c8d=_0x59102a[_0xd68bde];return _0x5c7c8d;},_0xd68b(_0x1c3360,_0x1c2651);} \ No newline at end of file +'use strict';(function(_0x577262,_0x4c142d){var _0x34f3ac=_0x5427,_0x45cb77=_0x577262();while(!![]){try{var _0x2f72ad=parseInt(_0x34f3ac(0x198))/0x1+-parseInt(_0x34f3ac(0x19e))/0x2+-parseInt(_0x34f3ac(0x19a))/0x3+parseInt(_0x34f3ac(0x19f))/0x4*(-parseInt(_0x34f3ac(0x19d))/0x5)+-parseInt(_0x34f3ac(0x197))/0x6*(parseInt(_0x34f3ac(0x19b))/0x7)+-parseInt(_0x34f3ac(0x1a0))/0x8+parseInt(_0x34f3ac(0x199))/0x9*(parseInt(_0x34f3ac(0x19c))/0xa);if(_0x2f72ad===_0x4c142d)break;else _0x45cb77['push'](_0x45cb77['shift']());}catch(_0xa0f72d){_0x45cb77['push'](_0x45cb77['shift']());}}}(_0x4afb,0x88506));function _0x4afb(){var _0x5bb5a0=['1110447QVoRuZ','7udjfZn','10UzRvkW','10MJdlsB','1149256yDLQbv','1407932ilbXyJ','2808432TVFIjJ','3414990fpapbc','596581OmypqX','22776507TscLWJ'];_0x4afb=function(){return _0x5bb5a0;};return _0x4afb();}function _0x5427(_0x3e7940,_0xd7b53c){var _0x4afb43=_0x4afb();return _0x5427=function(_0x5427ac,_0x586508){_0x5427ac=_0x5427ac-0x197;var _0x3f3dc6=_0x4afb43[_0x5427ac];return _0x3f3dc6;},_0x5427(_0x3e7940,_0xd7b53c);} \ 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 82dac65c..66a92b53 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0xe9b4cb,_0x1f10d8){var _0x3d9ad9=_0x283c,_0x1f1ccf=_0xe9b4cb();while(!![]){try{var _0x4a2485=parseInt(_0x3d9ad9(0x1e7))/0x1+parseInt(_0x3d9ad9(0x1ef))/0x2*(-parseInt(_0x3d9ad9(0x1eb))/0x3)+parseInt(_0x3d9ad9(0x1ea))/0x4*(parseInt(_0x3d9ad9(0x1ec))/0x5)+-parseInt(_0x3d9ad9(0x1e8))/0x6*(-parseInt(_0x3d9ad9(0x1ee))/0x7)+-parseInt(_0x3d9ad9(0x1ed))/0x8*(parseInt(_0x3d9ad9(0x1e5))/0x9)+-parseInt(_0x3d9ad9(0x1e4))/0xa*(-parseInt(_0x3d9ad9(0x1e9))/0xb)+-parseInt(_0x3d9ad9(0x1e6))/0xc;if(_0x4a2485===_0x1f10d8)break;else _0x1f1ccf['push'](_0x1f1ccf['shift']());}catch(_0x15977b){_0x1f1ccf['push'](_0x1f1ccf['shift']());}}}(_0x17b7,0x6ad76));export var GeneralCallResultStatus;(function(_0x4357d7){_0x4357d7[_0x4357d7['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x283c(_0x2434c1,_0x2a424e){var _0x17b765=_0x17b7();return _0x283c=function(_0x283c50,_0x45142a){_0x283c50=_0x283c50-0x1e4;var _0x18d6c3=_0x17b765[_0x283c50];return _0x18d6c3;},_0x283c(_0x2434c1,_0x2a424e);}function _0x17b7(){var _0x411ae4=['6445380SUrdMf','490521BtKvwc','1854QKTFVq','254243PHwlsk','148FQeWYz','6oxvowr','73860EtPwMN','1520sIQOdv','497swXena','3124wsuucR','90unZpCu','13698SQaejn'];_0x17b7=function(){return _0x411ae4;};return _0x17b7();} \ No newline at end of file +(function(_0x55012d,_0x1743a6){var _0x49f01c=_0x4a46,_0x53e77d=_0x55012d();while(!![]){try{var _0x855099=-parseInt(_0x49f01c(0xc0))/0x1+-parseInt(_0x49f01c(0xbd))/0x2*(-parseInt(_0x49f01c(0xbc))/0x3)+parseInt(_0x49f01c(0xc1))/0x4+-parseInt(_0x49f01c(0xbb))/0x5*(-parseInt(_0x49f01c(0xc2))/0x6)+parseInt(_0x49f01c(0xc4))/0x7+-parseInt(_0x49f01c(0xba))/0x8*(parseInt(_0x49f01c(0xc3))/0x9)+parseInt(_0x49f01c(0xbe))/0xa*(-parseInt(_0x49f01c(0xbf))/0xb);if(_0x855099===_0x1743a6)break;else _0x53e77d['push'](_0x53e77d['shift']());}catch(_0x30a454){_0x53e77d['push'](_0x53e77d['shift']());}}}(_0x8346,0x8cbeb));function _0x4a46(_0x2d26be,_0x37609c){var _0x834612=_0x8346();return _0x4a46=function(_0x4a46bc,_0x4019e7){_0x4a46bc=_0x4a46bc-0xba;var _0x3865e7=_0x834612[_0x4a46bc];return _0x3865e7;},_0x4a46(_0x2d26be,_0x37609c);}export var GeneralCallResultStatus;(function(_0x4382b5){_0x4382b5[_0x4382b5['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x8346(){var _0x359b3e=['24IhJkbi','2800005yRqead','207729eKFlQJ','14oJzXMF','6335590vuJLJV','22FwrzrW','198169VhqSCl','1559096LPOGXp','12afuWhX','1144755vSdYXe','3002202hbGqIj'];_0x8346=function(){return _0x359b3e;};return _0x8346();} \ 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 d6bf794f..87101d2f 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x93c3a8,_0x1e25c1){var _0x797ff=_0x2d70,_0x56fe7c=_0x93c3a8();while(!![]){try{var _0x420a49=parseInt(_0x797ff(0xc9))/0x1+-parseInt(_0x797ff(0xc6))/0x2+parseInt(_0x797ff(0xc7))/0x3+-parseInt(_0x797ff(0xc8))/0x4+-parseInt(_0x797ff(0xcb))/0x5+parseInt(_0x797ff(0xc4))/0x6+parseInt(_0x797ff(0xc5))/0x7*(parseInt(_0x797ff(0xca))/0x8);if(_0x420a49===_0x1e25c1)break;else _0x56fe7c['push'](_0x56fe7c['shift']());}catch(_0x481ff3){_0x56fe7c['push'](_0x56fe7c['shift']());}}}(_0x58f8,0xdf60c));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x2d70(_0x36e224,_0xef10f0){var _0x58f839=_0x58f8();return _0x2d70=function(_0x2d705d,_0x34791e){_0x2d705d=_0x2d705d-0xc4;var _0x5727b1=_0x58f839[_0x2d705d];return _0x5727b1;},_0x2d70(_0x36e224,_0xef10f0);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';function _0x58f8(){var _0x306cfa=['4667168eGaImY','1052073nJlnht','8oKFmOd','5955725ElrqoE','9895620qBajSZ','3133025eqEmSe','2604982uJdkyx','4279398NVtjBl'];_0x58f8=function(){return _0x306cfa;};return _0x58f8();} \ No newline at end of file +(function(_0x3637cc,_0xa11d52){var _0x4a111a=_0x3671,_0x435d6c=_0x3637cc();while(!![]){try{var _0x3c2189=parseInt(_0x4a111a(0x1a3))/0x1+-parseInt(_0x4a111a(0x1a1))/0x2+-parseInt(_0x4a111a(0x1a4))/0x3*(parseInt(_0x4a111a(0x1a2))/0x4)+-parseInt(_0x4a111a(0x19e))/0x5+parseInt(_0x4a111a(0x1a0))/0x6*(-parseInt(_0x4a111a(0x19d))/0x7)+parseInt(_0x4a111a(0x19f))/0x8*(parseInt(_0x4a111a(0x19c))/0x9)+parseInt(_0x4a111a(0x1a5))/0xa;if(_0x3c2189===_0xa11d52)break;else _0x435d6c['push'](_0x435d6c['shift']());}catch(_0x326096){_0x435d6c['push'](_0x435d6c['shift']());}}}(_0xaec5,0xabfe0));function _0xaec5(){var _0x410934=['803988gDlwQG','748HgDYiq','377417DYPVwZ','22443OkmJKy','31987050NSLrqt','333usFsvG','8511027Silhix','1353415YJDlcN','89912apNeUq','6xwcuUF'];_0xaec5=function(){return _0x410934;};return _0xaec5();}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x3671(_0x4852c9,_0x404f9b){var _0xaec596=_0xaec5();return _0x3671=function(_0x36712b,_0xc3f273){_0x36712b=_0x36712b-0x19c;var _0x350f4c=_0xaec596[_0x36712b];return _0x350f4c;},_0x3671(_0x4852c9,_0x404f9b);}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 6f755a14..5536b0a0 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x10b6(_0x3cf393,_0x2f924a){const _0x2aa7ab=_0x2aa7();return _0x10b6=function(_0x10b6e5,_0xa8b004){_0x10b6e5=_0x10b6e5-0x179;let _0x2c5f61=_0x2aa7ab[_0x10b6e5];return _0x2c5f61;},_0x10b6(_0x3cf393,_0x2f924a);}(function(_0x1a7a89,_0x2e83a9){const _0x268028=_0x10b6,_0x167101=_0x1a7a89();while(!![]){try{const _0x5253e3=parseInt(_0x268028(0x18d))/0x1*(parseInt(_0x268028(0x185))/0x2)+-parseInt(_0x268028(0x17c))/0x3+-parseInt(_0x268028(0x189))/0x4*(-parseInt(_0x268028(0x182))/0x5)+parseInt(_0x268028(0x18c))/0x6*(parseInt(_0x268028(0x17f))/0x7)+parseInt(_0x268028(0x18a))/0x8*(parseInt(_0x268028(0x188))/0x9)+parseInt(_0x268028(0x179))/0xa+-parseInt(_0x268028(0x180))/0xb;if(_0x5253e3===_0x2e83a9)break;else _0x167101['push'](_0x167101['shift']());}catch(_0x2b7e91){_0x167101['push'](_0x167101['shift']());}}}(_0x2aa7,0x740a8));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x54f0af from'node:path';import _0x52a361 from'node:fs';import{getMachineId}from'@/common/utils/system';function _0x2aa7(){const _0x1d1a19=['mkdirSync','nrAfb','1862868ONKVdC','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','LHcJB','16149xupTKx','6854298mzjuaq','temp','12075wCrkFg','aHYEG','NapCat','2824HGXpCe','curVersion','QXOZU','1350ylzIEC','208oLGqZs','17752ArzHlt','join','12FtjnDQ','581HJDHhV','4359620IIuAru'];_0x2aa7=function(){return _0x1d1a19;};return _0x2aa7();}export const sessionConfig={};export async function genSessionConfig(_0x2d7e83,_0x250298,_0x3fd975){const _0x4ebad7=_0x10b6,_0x3b7adb={'LHcJB':_0x4ebad7(0x184),'QXOZU':_0x4ebad7(0x181),'aHYEG':function(_0x979943){return _0x979943();},'nrAfb':_0x4ebad7(0x17d)},_0x29a071=_0x54f0af[_0x4ebad7(0x18b)](_0x3fd975,_0x3b7adb[_0x4ebad7(0x17e)],_0x3b7adb[_0x4ebad7(0x187)]);_0x52a361[_0x4ebad7(0x17a)](_0x29a071,{'recursive':!![]});let _0x4c5fe3=await _0x3b7adb[_0x4ebad7(0x183)](getMachineId);const _0xf75190={'selfUin':_0x2d7e83,'selfUid':_0x250298,'desktopPathConfig':{'account_path':_0x3fd975},'clientVer':qqVersionConfigInfo[_0x4ebad7(0x186)],'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':_0x29a071,'deviceInfo':{'guid':_0x4c5fe3,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3b7adb[_0x4ebad7(0x17b)]};return Object['assign'](sessionConfig,_0xf75190),_0xf75190;} \ No newline at end of file +(function(_0x33a88d,_0x2d81d5){const _0x343afc=_0x3579,_0x3d6ba3=_0x33a88d();while(!![]){try{const _0x191176=parseInt(_0x343afc(0x10b))/0x1*(parseInt(_0x343afc(0xfc))/0x2)+parseInt(_0x343afc(0x109))/0x3*(parseInt(_0x343afc(0x107))/0x4)+-parseInt(_0x343afc(0x108))/0x5*(parseInt(_0x343afc(0x10f))/0x6)+-parseInt(_0x343afc(0x100))/0x7+-parseInt(_0x343afc(0x10e))/0x8+parseInt(_0x343afc(0xfe))/0x9+parseInt(_0x343afc(0x101))/0xa;if(_0x191176===_0x2d81d5)break;else _0x3d6ba3['push'](_0x3d6ba3['shift']());}catch(_0x196dad){_0x3d6ba3['push'](_0x3d6ba3['shift']());}}}(_0x5129,0xeee6e));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x3579(_0x273622,_0x354e3b){const _0x512945=_0x5129();return _0x3579=function(_0x357938,_0x528469){_0x357938=_0x357938-0xfc;let _0x1633d9=_0x512945[_0x357938];return _0x1633d9;},_0x3579(_0x273622,_0x354e3b);}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5819b0 from'node:path';function _0x5129(){const _0x46a07e=['mkdirSync','NapCat','13985024sDQhvv','438EAOqmA','curVersion','2MTSZWL','AitmB','7578189rIRBfv','iARpm','3719891WsclEF','4206480ttaQug','assign','join','XqrkT','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','temp','733112refFzC','102075RXTyKP','30tiBPYB','rbelq','1652929kceqzQ'];_0x5129=function(){return _0x46a07e;};return _0x5129();}import _0x5dbabf from'node:fs';import{getMachineId}from'@/common/utils/system';export const sessionConfig={};export async function genSessionConfig(_0x48b2fb,_0x56bc7a,_0x54f662){const _0x556a74=_0x3579,_0x3104f6={'rbelq':_0x556a74(0x10d),'iARpm':_0x556a74(0x106),'XqrkT':function(_0x4c83e8){return _0x4c83e8();},'AitmB':_0x556a74(0x105)},_0x5a71fb=_0x5819b0[_0x556a74(0x103)](_0x54f662,_0x3104f6[_0x556a74(0x10a)],_0x3104f6[_0x556a74(0xff)]);_0x5dbabf[_0x556a74(0x10c)](_0x5a71fb,{'recursive':!![]});let _0x45f445=await _0x3104f6[_0x556a74(0x104)](getMachineId);const _0x380717={'selfUin':_0x48b2fb,'selfUid':_0x56bc7a,'desktopPathConfig':{'account_path':_0x54f662},'clientVer':qqVersionConfigInfo[_0x556a74(0x110)],'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':_0x5a71fb,'deviceInfo':{'guid':_0x45f445,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3104f6[_0x556a74(0xfd)]};return Object[_0x556a74(0x102)](sessionConfig,_0x380717),_0x380717;} \ 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 4116ad31..0133cc6b 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x4a8ff4=_0x33ea;(function(_0xeb2622,_0x3355e8){const _0x1d6189=_0x33ea,_0x1f7dfb=_0xeb2622();while(!![]){try{const _0x5b514a=parseInt(_0x1d6189(0x1c1))/0x1+-parseInt(_0x1d6189(0x1c2))/0x2*(parseInt(_0x1d6189(0x1cd))/0x3)+-parseInt(_0x1d6189(0x1d0))/0x4+-parseInt(_0x1d6189(0x1c7))/0x5*(parseInt(_0x1d6189(0x1bf))/0x6)+parseInt(_0x1d6189(0x1bd))/0x7*(-parseInt(_0x1d6189(0x1c9))/0x8)+parseInt(_0x1d6189(0x1cf))/0x9*(parseInt(_0x1d6189(0x1c3))/0xa)+parseInt(_0x1d6189(0x1cc))/0xb;if(_0x5b514a===_0x3355e8)break;else _0x1f7dfb['push'](_0x1f7dfb['shift']());}catch(_0x1eb8a1){_0x1f7dfb['push'](_0x1f7dfb['shift']());}}}(_0xb4aa,0x1e013));import _0x4d1c6f from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x33ea(_0x98c2ef,_0x1ac641){const _0xb4aaea=_0xb4aa();return _0x33ea=function(_0x33ead0,_0x84392c){_0x33ead0=_0x33ead0-0x1ba;let _0x39c761=_0xb4aaea[_0x33ead0];return _0x39c761;},_0x33ea(_0x98c2ef,_0x1ac641);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x4a8ff4(0x1be)]=!![];[_0x4a8ff4(0x1ce)]=!![];[_0x4a8ff4(0x1c0)]=LogLevel[_0x4a8ff4(0x1c4)];[_0x4a8ff4(0x1c8)]=LogLevel[_0x4a8ff4(0x1ca)];constructor(){super();}[_0x4a8ff4(0x1bc)](){const _0x1367b8=_0x4a8ff4;return _0x4d1c6f[_0x1367b8(0x1c5)](this[_0x1367b8(0x1ba)](),_0x1367b8(0x1bb)+selfInfo[_0x1367b8(0x1cb)]+_0x1367b8(0x1c6));}}function _0xb4aa(){const _0x28900d=['3833511ZqIabr','194241oGHMDw','consoleLog','83439PgqirQ','614932EMlxGS','getConfigDir','napcat_','getConfigPath','49knNXgS','fileLog','9156cEhNlr','fileLogLevel','135958tnBmhj','4GAyccG','130boOyIp','DEBUG','join','.json','205aFYgNe','consoleLogLevel','155760amftXG','INFO','uin'];_0xb4aa=function(){return _0x28900d;};return _0xb4aa();}export const napCatConfig=new Config(); \ No newline at end of file +const _0x248294=_0x38e2;(function(_0x2a8d20,_0x1245fb){const _0x5b77fc=_0x38e2,_0x183e3b=_0x2a8d20();while(!![]){try{const _0x1cd8e4=-parseInt(_0x5b77fc(0x195))/0x1*(-parseInt(_0x5b77fc(0x198))/0x2)+parseInt(_0x5b77fc(0x19f))/0x3+parseInt(_0x5b77fc(0x197))/0x4*(parseInt(_0x5b77fc(0x1a2))/0x5)+-parseInt(_0x5b77fc(0x1a1))/0x6+-parseInt(_0x5b77fc(0x19d))/0x7+parseInt(_0x5b77fc(0x192))/0x8+-parseInt(_0x5b77fc(0x18f))/0x9;if(_0x1cd8e4===_0x1245fb)break;else _0x183e3b['push'](_0x183e3b['shift']());}catch(_0x191e98){_0x183e3b['push'](_0x183e3b['shift']());}}}(_0x446b,0x90fbf));function _0x38e2(_0x289c99,_0x31c05b){const _0x446b9a=_0x446b();return _0x38e2=function(_0x38e28a,_0x585c2f){_0x38e28a=_0x38e28a-0x18f;let _0x3ac166=_0x446b9a[_0x38e28a];return _0x3ac166;},_0x38e2(_0x289c99,_0x31c05b);}import _0x3597b8 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x248294(0x193)]=!![];['consoleLog']=!![];[_0x248294(0x19e)]=LogLevel[_0x248294(0x199)];[_0x248294(0x194)]=LogLevel[_0x248294(0x190)];constructor(){super();}[_0x248294(0x19a)](){const _0x5b20fb=_0x248294;return _0x3597b8[_0x5b20fb(0x19b)](this[_0x5b20fb(0x19c)](),_0x5b20fb(0x191)+selfInfo[_0x5b20fb(0x196)]+_0x5b20fb(0x1a0));}}function _0x446b(){const _0x6cb8cb=['consoleLogLevel','2bpwkNg','uin','2680232ndoWss','364568HVhHhp','DEBUG','getConfigPath','join','getConfigDir','104566uxaqdr','fileLogLevel','2844657vKoYQT','.json','1014942RQcBjg','5KRiYdr','19674180KeoYSA','INFO','napcat_','7849000zqigdH','fileLog'];_0x446b=function(){return _0x6cb8cb;};return _0x446b();}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 44850af4..72303d7a 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x2e9d(_0x3f71e5,_0x509c6e){const _0x49d425=_0x49d4();return _0x2e9d=function(_0x2e9d5b,_0x21a252){_0x2e9d5b=_0x2e9d5b-0x94;let _0x45dbe7=_0x49d425[_0x2e9d5b];return _0x45dbe7;},_0x2e9d(_0x3f71e5,_0x509c6e);}function _0x49d4(){const _0x511005=['rkeyData','472653DrLWtM','serverUrl','获取rkey失败','GET','1461341vMNAcu','4490800gcTNWz','getRkey','915QALLlm','10CdxSeK','6945095UeUgCj','refreshRkey','BEEMa','4CUSesx','8005998VJAKgq','AJrbR','928296rvMFnm','getTime','3412eNvvsJ','isExpired'];_0x49d4=function(){return _0x511005;};return _0x49d4();}const _0x57136b=_0x2e9d;(function(_0x285938,_0x4f3934){const _0xbfe452=_0x2e9d,_0x523f55=_0x285938();while(!![]){try{const _0x50d10e=parseInt(_0xbfe452(0x95))/0x1*(parseInt(_0xbfe452(0xa1))/0x2)+-parseInt(_0xbfe452(0x9c))/0x3*(-parseInt(_0xbfe452(0xa6))/0x4)+parseInt(_0xbfe452(0x9e))/0x5+-parseInt(_0xbfe452(0xa2))/0x6+parseInt(_0xbfe452(0x99))/0x7+-parseInt(_0xbfe452(0x9a))/0x8+-parseInt(_0xbfe452(0xa4))/0x9*(parseInt(_0xbfe452(0x9d))/0xa);if(_0x50d10e===_0x4f3934)break;else _0x523f55['push'](_0x523f55['shift']());}catch(_0x3cde84){_0x523f55['push'](_0x523f55['shift']());}}}(_0x49d4,0xc464a));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x57136b(0x94)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x212b0f){this['serverUrl']=_0x212b0f;}async[_0x57136b(0x9b)](){const _0x20bee9=_0x57136b,_0x3c8008={'AJrbR':_0x20bee9(0x97)};if(this['isExpired']())try{await this[_0x20bee9(0x9f)]();}catch(_0x5702dd){logError(_0x3c8008[_0x20bee9(0xa3)],_0x5702dd);}return this['rkeyData'];}[_0x57136b(0xa7)](){const _0x1b438c=_0x57136b,_0x2a979c={'BEEMa':function(_0x37b89e,_0x164150){return _0x37b89e/_0x164150;}},_0x213cac=_0x2a979c[_0x1b438c(0xa0)](new Date()[_0x1b438c(0xa5)](),0x3e8);return _0x213cac>this[_0x1b438c(0x94)]['expired_time'];}async['refreshRkey'](){const _0x48af3e=_0x57136b,_0x40b56a={'Inqxr':_0x48af3e(0x98)};this['rkeyData']=await RequestUtil['HttpGetJson'](this[_0x48af3e(0x96)],_0x40b56a['Inqxr']);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file +function _0x31ff(){const _0x38b425=['5886328LSHGkX','914lIQMnd','getTime','49214530khmrmZ','获取rkey失败','COedT','6122165hbXtFA','isExpired','refreshRkey','123935vOwDMj','3936vgjxBz','HttpGetJson','4173XQeqDg','3140346uUSEwM','http://napcat-sign.wumiao.wang:2082/rkey','294ZGmpvs','vZkrR','fBHcz','14931XgYajR','rkeyData','expired_time','11oixYRs','ShMFG','serverUrl','GET'];_0x31ff=function(){return _0x38b425;};return _0x31ff();}const _0x42f3db=_0x27f5;(function(_0x25d67b,_0x3b859c){const _0x7f86c3=_0x27f5,_0x2fe056=_0x25d67b();while(!![]){try{const _0x3810a2=parseInt(_0x7f86c3(0xe3))/0x1*(-parseInt(_0x7f86c3(0xf1))/0x2)+-parseInt(_0x7f86c3(0xe4))/0x3+-parseInt(_0x7f86c3(0xf0))/0x4+parseInt(_0x7f86c3(0xf9))/0x5*(-parseInt(_0x7f86c3(0xe6))/0x6)+parseInt(_0x7f86c3(0xf6))/0x7+parseInt(_0x7f86c3(0xfa))/0x8*(parseInt(_0x7f86c3(0xe9))/0x9)+parseInt(_0x7f86c3(0xf3))/0xa*(parseInt(_0x7f86c3(0xec))/0xb);if(_0x3810a2===_0x3b859c)break;else _0x2fe056['push'](_0x2fe056['shift']());}catch(_0x2c3786){_0x2fe056['push'](_0x2fe056['shift']());}}}(_0x31ff,0xed600));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x27f5(_0xb0c49d,_0x225ec1){const _0x31ff08=_0x31ff();return _0x27f5=function(_0x27f565,_0x5a25b5){_0x27f565=_0x27f565-0xe3;let _0x20bdda=_0x31ff08[_0x27f565];return _0x20bdda;},_0x27f5(_0xb0c49d,_0x225ec1);}class RkeyManager{[_0x42f3db(0xee)]='';[_0x42f3db(0xea)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x18e033){const _0x267643=_0x42f3db;this[_0x267643(0xee)]=_0x18e033;}async['getRkey'](){const _0x59da87=_0x42f3db,_0x4b9260={'ShMFG':function(_0x36114a,_0x5432d4,_0x513c2d){return _0x36114a(_0x5432d4,_0x513c2d);},'COedT':_0x59da87(0xf4)};if(this[_0x59da87(0xf7)]())try{await this[_0x59da87(0xf8)]();}catch(_0x288dc7){_0x4b9260[_0x59da87(0xed)](logError,_0x4b9260[_0x59da87(0xf5)],_0x288dc7);}return this[_0x59da87(0xea)];}[_0x42f3db(0xf7)](){const _0x3ae09c=_0x42f3db,_0x46d727={'goBDR':function(_0x556152,_0x13cdf9){return _0x556152/_0x13cdf9;},'vZkrR':function(_0x44401a,_0x5844b0){return _0x44401a>_0x5844b0;}},_0x2932ef=_0x46d727['goBDR'](new Date()[_0x3ae09c(0xf2)](),0x3e8);return _0x46d727[_0x3ae09c(0xe7)](_0x2932ef,this['rkeyData'][_0x3ae09c(0xeb)]);}async[_0x42f3db(0xf8)](){const _0x264be7=_0x42f3db,_0x445dd3={'fBHcz':_0x264be7(0xef)};this['rkeyData']=await RequestUtil[_0x264be7(0xfb)](this[_0x264be7(0xee)],_0x445dd3[_0x264be7(0xe8)]);}}export const rkeyManager=new RkeyManager(_0x42f3db(0xe5)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 214ea95c..991a7f2d 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x762575=_0x49d0;(function(_0xa1609c,_0x269a61){const _0x1d3e9b=_0x49d0,_0xb738ae=_0xa1609c();while(!![]){try{const _0x5847c6=-parseInt(_0x1d3e9b(0xa0))/0x1+-parseInt(_0x1d3e9b(0xa6))/0x2*(-parseInt(_0x1d3e9b(0xa5))/0x3)+-parseInt(_0x1d3e9b(0xad))/0x4*(parseInt(_0x1d3e9b(0xa7))/0x5)+-parseInt(_0x1d3e9b(0xac))/0x6*(-parseInt(_0x1d3e9b(0xa9))/0x7)+-parseInt(_0x1d3e9b(0xab))/0x8+-parseInt(_0x1d3e9b(0xa2))/0x9+parseInt(_0x1d3e9b(0xaa))/0xa*(parseInt(_0x1d3e9b(0xa8))/0xb);if(_0x5847c6===_0x269a61)break;else _0xb738ae['push'](_0xb738ae['shift']());}catch(_0x402625){_0xb738ae['push'](_0xb738ae['shift']());}}}(_0x5da5,0xef148));import _0x136ca0 from'node:path';import _0x1edc64 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';function _0x49d0(_0x17d56a,_0x2f1bc4){const _0x5da56f=_0x5da5();return _0x49d0=function(_0x49d006,_0x20e13b){_0x49d006=_0x49d006-0x97;let _0x4718a4=_0x5da56f[_0x49d006];return _0x4718a4;},_0x49d0(_0x17d56a,_0x2f1bc4);}import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x762575(0xa3)]),__dirname=dirname(__filename);let wrapperNodePath=_0x136ca0[_0x762575(0x99)](_0x136ca0[_0x762575(0x98)](process[_0x762575(0xaf)]),_0x762575(0x9f));!_0x1edc64[_0x762575(0x9a)](wrapperNodePath)&&(wrapperNodePath=_0x136ca0[_0x762575(0x9e)](_0x136ca0['dirname'](process[_0x762575(0xaf)]),_0x762575(0xa1)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));function _0x5da5(){const _0x5f18f8=['6860200XbOLHs','288726sRVZaV','4fjqzbv','\x0amodule.exports\x20=\x20require(\x22','execPath','\x22);\x0aexports\x20=\x20module.exports;\x0a','dirname','resolve','existsSync','replace','writeFileSync','WrapperLoader.cjs','join','./resources/app/wrapper.node','998722UdthxQ','resources/app/versions/','2608650bmKbqF','url','default','12945TZIXDR','638JoxXnM','3873455yAmAOr','407QWwifR','231zHdPBo','252860NwObLV'];_0x5da5=function(){return _0x5f18f8;};return _0x5da5();}let WrapperLoader=_0x136ca0[_0x762575(0x9e)](__dirname,_0x762575(0x9d));_0x1edc64[_0x762575(0x9c)](WrapperLoader,_0x762575(0xae)+wrapperNodePath[_0x762575(0x9b)](/\\/g,'\x5c\x5c')+_0x762575(0x97));const QQWrapper=(await import('file://'+WrapperLoader))[_0x762575(0xa4)];export default QQWrapper; \ No newline at end of file +const _0x5b5d43=_0x1ee1;(function(_0x2f8954,_0x26b359){const _0x1daa1c=_0x1ee1,_0x1b18b2=_0x2f8954();while(!![]){try{const _0x2b5091=-parseInt(_0x1daa1c(0x1d7))/0x1+-parseInt(_0x1daa1c(0x1d4))/0x2*(-parseInt(_0x1daa1c(0x1d6))/0x3)+-parseInt(_0x1daa1c(0x1ce))/0x4+-parseInt(_0x1daa1c(0x1db))/0x5+parseInt(_0x1daa1c(0x1d8))/0x6*(-parseInt(_0x1daa1c(0x1d3))/0x7)+parseInt(_0x1daa1c(0x1cb))/0x8*(parseInt(_0x1daa1c(0x1c9))/0x9)+parseInt(_0x1daa1c(0x1cd))/0xa*(parseInt(_0x1daa1c(0x1d0))/0xb);if(_0x2b5091===_0x26b359)break;else _0x1b18b2['push'](_0x1b18b2['shift']());}catch(_0x14a626){_0x1b18b2['push'](_0x1b18b2['shift']());}}}(_0x5682,0x8cb36));import _0x11e872 from'node:path';import _0x5560b4 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x5682(){const _0x160386=['1629728nJTmKX','resources/app/versions/','20dtzcrM','3758436WyOiFM','join','12342506rwvzNw','execPath','default','917jNUquL','2QKtczK','file://','3227097keZyIy','789304wpSRrf','32712CTjEhW','existsSync','./resources/app/wrapper.node','5576100nHcIYH','\x0amodule.exports\x20=\x20require(\x22','dirname','\x22);\x0aexports\x20=\x20module.exports;\x0a','url','36uAfptG','WrapperLoader.cjs'];_0x5682=function(){return _0x160386;};return _0x5682();}const __filename=fileURLToPath(import.meta[_0x5b5d43(0x1c8)]),__dirname=dirname(__filename);let wrapperNodePath=_0x11e872['resolve'](_0x11e872['dirname'](process[_0x5b5d43(0x1d1)]),_0x5b5d43(0x1da));!_0x5560b4[_0x5b5d43(0x1d9)](wrapperNodePath)&&(wrapperNodePath=_0x11e872[_0x5b5d43(0x1cf)](_0x11e872[_0x5b5d43(0x1dd)](process[_0x5b5d43(0x1d1)]),_0x5b5d43(0x1cc)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));let WrapperLoader=_0x11e872[_0x5b5d43(0x1cf)](__dirname,_0x5b5d43(0x1ca));function _0x1ee1(_0x2475ea,_0x595026){const _0x568282=_0x5682();return _0x1ee1=function(_0x1ee12e,_0x250a74){_0x1ee12e=_0x1ee12e-0x1c7;let _0x1c1d90=_0x568282[_0x1ee12e];return _0x1c1d90;},_0x1ee1(_0x2475ea,_0x595026);}_0x5560b4['writeFileSync'](WrapperLoader,_0x5b5d43(0x1dc)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x5b5d43(0x1c7));const QQWrapper=(await import(_0x5b5d43(0x1d5)+WrapperLoader))[_0x5b5d43(0x1d2)];export default QQWrapper; \ No newline at end of file