From 60aaaff58eef49ced4cd585523905d1beb8a7e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 23 May 2024 10:19:45 +0800 Subject: [PATCH] fix: UserDetail --- src/core | 2 +- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/external/hook.js | 2 +- src/core.lib/src/index.js | 2 +- src/core.lib/src/listeners/NodeIKernelBuddyListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelGroupListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelLoginListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelMsgListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelProfileListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelRobotListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelSessionListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/db.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) diff --git a/src/core b/src/core index 821ecd85..c951f2e4 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 821ecd85f353a27b72f500ba4698d9b55b11ca6e +Subproject commit c951f2e4f6a96c3b8d5b421dba0957078a2834b3 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 4c104a09..ac87d9e7 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x5c64(_0x41c513,_0x483c34){var _0x4d49a8=_0x4d49();return _0x5c64=function(_0x5c64ad,_0x321323){_0x5c64ad=_0x5c64ad-0x183;var _0x993fe8=_0x4d49a8[_0x5c64ad];return _0x993fe8;},_0x5c64(_0x41c513,_0x483c34);}var _0x1e500c=_0x5c64;(function(_0xc31e06,_0x31074d){var _0x4cabaf=_0x5c64,_0x3802df=_0xc31e06();while(!![]){try{var _0x3189ba=parseInt(_0x4cabaf(0x18b))/0x1*(-parseInt(_0x4cabaf(0x187))/0x2)+parseInt(_0x4cabaf(0x185))/0x3+parseInt(_0x4cabaf(0x18e))/0x4*(-parseInt(_0x4cabaf(0x18c))/0x5)+-parseInt(_0x4cabaf(0x186))/0x6+-parseInt(_0x4cabaf(0x189))/0x7*(parseInt(_0x4cabaf(0x184))/0x8)+-parseInt(_0x4cabaf(0x188))/0x9+parseInt(_0x4cabaf(0x18d))/0xa;if(_0x3189ba===_0x31074d)break;else _0x3802df['push'](_0x3802df['shift']());}catch(_0x3aaf23){_0x3802df['push'](_0x3802df['shift']());}}}(_0x4d49,0x5747b));export class DependsAdapter{[_0x1e500c(0x18f)](_0x272e49,_0x26efcb){}[_0x1e500c(0x18a)](_0x3da269){}[_0x1e500c(0x183)](_0x601deb){}}function _0x4d49(){var _0x2c78e8=['2380520XQacNq','16319060MeadsA','4kJrORe','onMSFStatusChange','getGroupCode','16UuAhFN','1646238geuAVi','1074234EKgdeu','6gyFDZV','4680036jdxVUO','1929732PRVXeB','onMSFSsoError','32218SjRKTB'];_0x4d49=function(){return _0x2c78e8;};return _0x4d49();} \ No newline at end of file +function _0x1eb0(_0x114790,_0x2bd29d){var _0x179be8=_0x179b();return _0x1eb0=function(_0x1eb0cc,_0x161f9d){_0x1eb0cc=_0x1eb0cc-0x119;var _0x1aafaa=_0x179be8[_0x1eb0cc];return _0x1aafaa;},_0x1eb0(_0x114790,_0x2bd29d);}function _0x179b(){var _0x122801=['890816fEDFkv','75156ICnbWL','2000362odDaWk','632331aONArb','562857FtYClX','onMSFStatusChange','14282dVZABW','129rOlPfW','395JzeGGw','16jNhKdM','1243710DmUiBF','onMSFSsoError'];_0x179b=function(){return _0x122801;};return _0x179b();}var _0x34bc36=_0x1eb0;(function(_0x14b03d,_0x226a79){var _0x32f09d=_0x1eb0,_0x47f8f0=_0x14b03d();while(!![]){try{var _0x5867d8=-parseInt(_0x32f09d(0x11d))/0x1+-parseInt(_0x32f09d(0x11f))/0x2*(-parseInt(_0x32f09d(0x120))/0x3)+-parseInt(_0x32f09d(0x119))/0x4+parseInt(_0x32f09d(0x121))/0x5*(parseInt(_0x32f09d(0x11a))/0x6)+parseInt(_0x32f09d(0x11b))/0x7+parseInt(_0x32f09d(0x122))/0x8*(-parseInt(_0x32f09d(0x11c))/0x9)+-parseInt(_0x32f09d(0x123))/0xa;if(_0x5867d8===_0x226a79)break;else _0x47f8f0['push'](_0x47f8f0['shift']());}catch(_0x20b497){_0x47f8f0['push'](_0x47f8f0['shift']());}}}(_0x179b,0x81ddd));export class DependsAdapter{[_0x34bc36(0x11e)](_0x23f730,_0x28e1b3){}[_0x34bc36(0x124)](_0x1b7345){}['getGroupCode'](_0x31e895){}} \ 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 0a3a7349..70997516 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x41fef4=_0x48c8;function _0x131e(){var _0x406eb8=['11810beXAtJ','813736IKDoaA','dispatchCall','dispatchCallWithJson','1314qycYXp','3595020IpDSwP','968912CyWTGC','2240610AgorRM','290980cGVelf','20154051cIhAgK','5LFwAUf','dispatchRequest'];_0x131e=function(){return _0x406eb8;};return _0x131e();}function _0x48c8(_0x568e48,_0x38ecd5){var _0x131ecf=_0x131e();return _0x48c8=function(_0x48c86d,_0x3374c7){_0x48c86d=_0x48c86d-0x134;var _0x63420e=_0x131ecf[_0x48c86d];return _0x63420e;},_0x48c8(_0x568e48,_0x38ecd5);}(function(_0x23dadb,_0x232cd2){var _0x265f3c=_0x48c8,_0x4aa879=_0x23dadb();while(!![]){try{var _0xa1e2ad=parseInt(_0x265f3c(0x139))/0x1*(-parseInt(_0x265f3c(0x137))/0x2)+-parseInt(_0x265f3c(0x136))/0x3+-parseInt(_0x265f3c(0x134))/0x4+parseInt(_0x265f3c(0x13b))/0x5*(parseInt(_0x265f3c(0x13f))/0x6)+parseInt(_0x265f3c(0x135))/0x7+parseInt(_0x265f3c(0x13c))/0x8+parseInt(_0x265f3c(0x138))/0x9;if(_0xa1e2ad===_0x232cd2)break;else _0x4aa879['push'](_0x4aa879['shift']());}catch(_0x560965){_0x4aa879['push'](_0x4aa879['shift']());}}}(_0x131e,0x9843b));export class DispatcherAdapter{[_0x41fef4(0x13a)](_0x38da07){}[_0x41fef4(0x13d)](_0xd32e9d){}[_0x41fef4(0x13e)](_0x51a0a2){}} \ No newline at end of file +function _0x42aa(_0x2c70f2,_0x414314){var _0x410054=_0x4100();return _0x42aa=function(_0x42aad2,_0x38f972){_0x42aad2=_0x42aad2-0x180;var _0x5b4d83=_0x410054[_0x42aad2];return _0x5b4d83;},_0x42aa(_0x2c70f2,_0x414314);}function _0x4100(){var _0x472e63=['17811xckJQU','8932kOrkCA','692615OECEuy','1094907ftEqlC','355624SNTGnO','dispatchRequest','5WGWPUE','dispatchCall','2888KhYpRV','2184cWqirU','2550264LzBTyW','790qfvVaL','154561qDubZS'];_0x4100=function(){return _0x472e63;};return _0x4100();}var _0x4b4c59=_0x42aa;(function(_0x3a80c4,_0x8beb5b){var _0x192994=_0x42aa,_0x525ded=_0x3a80c4();while(!![]){try{var _0x1075db=parseInt(_0x192994(0x187))/0x1+parseInt(_0x192994(0x189))/0x2+parseInt(_0x192994(0x188))/0x3+-parseInt(_0x192994(0x182))/0x4*(parseInt(_0x192994(0x18b))/0x5)+-parseInt(_0x192994(0x181))/0x6*(parseInt(_0x192994(0x186))/0x7)+-parseInt(_0x192994(0x180))/0x8*(parseInt(_0x192994(0x185))/0x9)+parseInt(_0x192994(0x183))/0xa*(parseInt(_0x192994(0x184))/0xb);if(_0x1075db===_0x8beb5b)break;else _0x525ded['push'](_0x525ded['shift']());}catch(_0x7ae1f8){_0x525ded['push'](_0x525ded['shift']());}}}(_0x4100,0x81250));export class DispatcherAdapter{[_0x4b4c59(0x18a)](_0x38373d){}[_0x4b4c59(0x18c)](_0x482ea7){}['dispatchCallWithJson'](_0x341079){}} \ 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 4f8d284b..ea4466e7 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x1f3b10=_0x1332;(function(_0x222322,_0x2c06fd){var _0x13f63e=_0x1332,_0x3bd12c=_0x222322();while(!![]){try{var _0x486846=parseInt(_0x13f63e(0x17f))/0x1*(-parseInt(_0x13f63e(0x182))/0x2)+parseInt(_0x13f63e(0x18c))/0x3*(parseInt(_0x13f63e(0x187))/0x4)+-parseInt(_0x13f63e(0x181))/0x5+parseInt(_0x13f63e(0x186))/0x6*(parseInt(_0x13f63e(0x18a))/0x7)+-parseInt(_0x13f63e(0x18e))/0x8+parseInt(_0x13f63e(0x183))/0x9+-parseInt(_0x13f63e(0x184))/0xa*(-parseInt(_0x13f63e(0x18d))/0xb);if(_0x486846===_0x2c06fd)break;else _0x3bd12c['push'](_0x3bd12c['shift']());}catch(_0x3b36d4){_0x3bd12c['push'](_0x3bd12c['shift']());}}}(_0x28cf,0xe8703));function _0x1332(_0x245de8,_0x19a332){var _0x28cf1d=_0x28cf();return _0x1332=function(_0x1332ba,_0x2d582f){_0x1332ba=_0x1332ba-0x17e;var _0x22d72e=_0x28cf1d[_0x1332ba];return _0x22d72e;},_0x1332(_0x245de8,_0x19a332);}export class GlobalAdapter{[_0x1f3b10(0x18f)](..._0x42178e){}[_0x1f3b10(0x18b)](..._0x48b567){}[_0x1f3b10(0x17e)](..._0x3f5abc){}[_0x1f3b10(0x189)](..._0x194439){}['getAppSetting'](..._0x2704f2){}[_0x1f3b10(0x188)](..._0x44767b){}[_0x1f3b10(0x185)](..._0x2edeea){}[_0x1f3b10(0x180)](..._0x8dfe53){}}function _0x28cf(){var _0x4fc772=['6guZWGt','3346916InzCqf','onInstallFinished','fixPicImgType','6714295PbHnYG','onGetSrvCalTime','3AYoECi','20100542tGCTXS','14398968rLMmRJ','onLog','onShowErrUITips','23KYRxVo','onGetOfflineMsg','8286135HyFUSq','22306MSHiEU','9382032tXFUct','10FQCzra','onUpdateGeneralFlag'];_0x28cf=function(){return _0x4fc772;};return _0x28cf();} \ No newline at end of file +function _0x30f5(){var _0x3ab167=['9hLcorO','142804nnKkZP','298398vLQjFw','95684ouLSmN','3rEPNgT','onLog','getAppSetting','onUpdateGeneralFlag','341iqNRrY','14rfouCD','1907665QLNUpO','onInstallFinished','onGetSrvCalTime','onGetOfflineMsg','168050QZIyBS','55536QDfKhQ','80655uEJMpC','fixPicImgType'];_0x30f5=function(){return _0x3ab167;};return _0x30f5();}var _0x214fcf=_0x585d;function _0x585d(_0x4196ca,_0x14bdbe){var _0x30f59d=_0x30f5();return _0x585d=function(_0x585d90,_0x13446d){_0x585d90=_0x585d90-0x19a;var _0x59f5e2=_0x30f59d[_0x585d90];return _0x59f5e2;},_0x585d(_0x4196ca,_0x14bdbe);}(function(_0x5640a0,_0x4593a3){var _0x3b6e53=_0x585d,_0x246c1b=_0x5640a0();while(!![]){try{var _0x36e667=parseInt(_0x3b6e53(0x19f))/0x1+-parseInt(_0x3b6e53(0x1a4))/0x2+-parseInt(_0x3b6e53(0x1a5))/0x3*(parseInt(_0x3b6e53(0x1a2))/0x4)+-parseInt(_0x3b6e53(0x1ab))/0x5+-parseInt(_0x3b6e53(0x1a3))/0x6*(-parseInt(_0x3b6e53(0x1aa))/0x7)+parseInt(_0x3b6e53(0x19e))/0x8*(-parseInt(_0x3b6e53(0x1a1))/0x9)+-parseInt(_0x3b6e53(0x19d))/0xa*(-parseInt(_0x3b6e53(0x1a9))/0xb);if(_0x36e667===_0x4593a3)break;else _0x246c1b['push'](_0x246c1b['shift']());}catch(_0x554cfd){_0x246c1b['push'](_0x246c1b['shift']());}}}(_0x30f5,0x37ec2));export class GlobalAdapter{[_0x214fcf(0x1a6)](..._0x3d7ea2){}[_0x214fcf(0x19b)](..._0x1aafe7){}['onShowErrUITips'](..._0x76a889){}[_0x214fcf(0x1a0)](..._0x59f520){}[_0x214fcf(0x1a7)](..._0x5090c3){}[_0x214fcf(0x19a)](..._0x368209){}[_0x214fcf(0x1a8)](..._0x5b0d5d){}[_0x214fcf(0x19c)](..._0x5b3483){}} \ 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 6a533145..9122d9a9 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x14e810,_0x32e7c4){var _0x4df4bc=_0x41f8,_0x3f4367=_0x14e810();while(!![]){try{var _0x8043e1=parseInt(_0x4df4bc(0x192))/0x1+-parseInt(_0x4df4bc(0x191))/0x2+parseInt(_0x4df4bc(0x190))/0x3+-parseInt(_0x4df4bc(0x194))/0x4*(-parseInt(_0x4df4bc(0x198))/0x5)+-parseInt(_0x4df4bc(0x195))/0x6+parseInt(_0x4df4bc(0x193))/0x7+parseInt(_0x4df4bc(0x196))/0x8*(-parseInt(_0x4df4bc(0x197))/0x9);if(_0x8043e1===_0x32e7c4)break;else _0x3f4367['push'](_0x3f4367['shift']());}catch(_0x5bbed7){_0x3f4367['push'](_0x3f4367['shift']());}}}(_0x2bbf,0x99d7a));function _0x2bbf(){var _0x35f185=['45MImroJ','792865woVQDs','1678563OGUdAe','578544QbPOqH','487425dEKmnQ','6441974iAvTPX','12qHVLrs','5047092dQfeJG','1091768rspHut'];_0x2bbf=function(){return _0x35f185;};return _0x2bbf();}export*from'./NodeIDependsAdapter';function _0x41f8(_0x4a1e45,_0x50c906){var _0x2bbf39=_0x2bbf();return _0x41f8=function(_0x41f833,_0x1e3360){_0x41f833=_0x41f833-0x190;var _0x1d6556=_0x2bbf39[_0x41f833];return _0x1d6556;},_0x41f8(_0x4a1e45,_0x50c906);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x5d37d5,_0x28d8c7){var _0x128310=_0x39fa,_0x53ad03=_0x5d37d5();while(!![]){try{var _0x39fdbf=parseInt(_0x128310(0x19d))/0x1*(parseInt(_0x128310(0x19c))/0x2)+parseInt(_0x128310(0x19a))/0x3+-parseInt(_0x128310(0x1a0))/0x4*(parseInt(_0x128310(0x19f))/0x5)+-parseInt(_0x128310(0x199))/0x6*(-parseInt(_0x128310(0x1a1))/0x7)+parseInt(_0x128310(0x19b))/0x8+parseInt(_0x128310(0x1a2))/0x9+-parseInt(_0x128310(0x19e))/0xa;if(_0x39fdbf===_0x28d8c7)break;else _0x53ad03['push'](_0x53ad03['shift']());}catch(_0x1bec63){_0x53ad03['push'](_0x53ad03['shift']());}}}(_0x5456,0x86379));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x39fa(_0xed38ca,_0x14bbc2){var _0x54561f=_0x5456();return _0x39fa=function(_0x39fad1,_0x315162){_0x39fad1=_0x39fad1-0x199;var _0x5b3bd3=_0x54561f[_0x39fad1];return _0x5b3bd3;},_0x39fa(_0xed38ca,_0x14bbc2);}export*from'./NodeIGlobalAdapter';function _0x5456(){var _0x4b83fd=['324882iRjnLb','24EtlhtD','3262848KfrgvV','516144FrbAcf','2TToFIJ','3037vfNuIt','10022690TCIenk','316115unjHFS','20OLnYmO','1184519GYalSJ'];_0x5456=function(){return _0x4b83fd;};return _0x5456();} \ 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 ad9a1bac..81501c43 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x3ba260=_0x379c;(function(_0x97b5be,_0x57b75c){const _0x16b5cb=_0x379c,_0xa2fbfb=_0x97b5be();while(!![]){try{const _0x6d8eb0=-parseInt(_0x16b5cb(0x16a))/0x1+parseInt(_0x16b5cb(0x159))/0x2+parseInt(_0x16b5cb(0x177))/0x3+-parseInt(_0x16b5cb(0x16f))/0x4+-parseInt(_0x16b5cb(0x185))/0x5*(-parseInt(_0x16b5cb(0x172))/0x6)+-parseInt(_0x16b5cb(0x151))/0x7+parseInt(_0x16b5cb(0x162))/0x8;if(_0x6d8eb0===_0x57b75c)break;else _0xa2fbfb['push'](_0xa2fbfb['shift']());}catch(_0x581e74){_0xa2fbfb['push'](_0xa2fbfb['shift']());}}}(_0x2b08,0xa4134));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x3a515d from'path';import _0x39324e from'fs';import _0x222f67 from'fs/promises';function _0x2b08(){const _0x2d3812=['fileTypeFromFile','5BfyzQT','FflMf','BMdVK','ObZun','scanCache','downloadPath','session','zVmxW','clearCache','defaultFileDownloadPath','join','getFileSize','group_rkey','set','hDFfV','5389013FizsLh','onRichMediaDownloadComplete','fileUuid','downloadMedia\x20complete','witZb','util','FPVvU','clearCacheDataByKeys','1400302xldZfs','addCacheScanedPaths','copyFile','PIC','图片url获取失败','ext','sTnHs','nzEct','unlink','3462136zPUDYH','getMsgService','getFileType','clearChatCacheInfo','originImageUrl','getChatCacheInfo','uploadFile','startsWith','426217SExyxM','filePath','JUKCX','下载超时','/gchatpic_new/0/0-0-','2683812eFNoQr','OhxCh','basename','742176SSjbqD','getDesktopTmpPath','includes','msgId','wreha','3847401eyAuDw','indexOf','md5HexStr','existsSync','getImageUrl','delete','onLoginSuccess','clearChatCache','getRkey','getChatCacheList','getStorageCleanService','addCacheScannedPaths','private_rkey'];_0x2b08=function(){return _0x2d3812;};return _0x2b08();}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0xb4cf3e from'file-type';import{MsgListener}from'@/core/listeners';import _0x50b3a3 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[_0x3ba260(0x152)]=_0x504696=>{const _0x40cad5=_0x3ba260,_0xb50986={'HfUHQ':function(_0x152ea4,_0x284821){return _0x152ea4(_0x284821);}};for(const [_0xcba5f0,_0x269090]of downloadMediaTasks){_0xb50986['HfUHQ'](_0x269090,_0x504696),downloadMediaTasks[_0x40cad5(0x17c)](_0xcba5f0);}},setTimeout(()=>{const _0x38f20c=_0x3ba260;napCatCore[_0x38f20c(0x17d)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x3ba260(0x164)](_0xa294a1){const _0x3653a0=_0x3ba260;return _0xb4cf3e[_0x3653a0(0x184)](_0xa294a1);}static async[_0x3ba260(0x15b)](_0x57485c,_0x1f2e57){await napCatCore['util']['copyFile'](_0x57485c,_0x1f2e57);}static async[_0x3ba260(0x14d)](_0x5beda4){const _0x54cf25=_0x3ba260;return await napCatCore[_0x54cf25(0x156)][_0x54cf25(0x14d)](_0x5beda4);}static async[_0x3ba260(0x168)](_0xab444b,_0x88ac40=ElementType[_0x3ba260(0x15c)],_0x5b1006=0x0){const _0x5ec729=_0x3ba260,_0x312f26={'IPTXG':function(_0x3eefdf,_0x484c6c){return _0x3eefdf+_0x484c6c;},'ObZun':function(_0x6f08ec,_0xf22c7b){return _0x6f08ec===_0xf22c7b;}},_0x250645=await calculateFileMD5(_0xab444b);let _0x1c6c43=(await NTQQFileApi[_0x5ec729(0x164)](_0xab444b))?.[_0x5ec729(0x15e)]||'';_0x1c6c43&&(_0x1c6c43=_0x312f26['IPTXG']('.',_0x1c6c43));let _0x21fd39=''+_0x3a515d[_0x5ec729(0x171)](_0xab444b);_0x312f26[_0x5ec729(0x188)](_0x21fd39[_0x5ec729(0x178)]('.'),-0x1)&&(_0x21fd39+=_0x1c6c43);const _0x5781d7=napCatCore[_0x5ec729(0x18b)][_0x5ec729(0x163)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x250645,'fileName':_0x21fd39,'elementType':_0x88ac40,'elementSubType':_0x5b1006,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x5ec729(0x15b)](_0xab444b,_0x5781d7);const _0x1fd31c=await NTQQFileApi[_0x5ec729(0x14d)](_0xab444b);return{'md5':_0x250645,'fileName':_0x21fd39,'path':_0x5781d7,'fileSize':_0x1fd31c,'ext':_0x1c6c43};}static async['downloadMedia'](_0x227df9,_0x4ba7f8,_0x368827,_0x3b1f85,_0x2347a8,_0x188b95,_0x4e4605=0x3e8*0x3c*0x2,_0x48ebef=![]){const _0x4bc237=_0x3ba260,_0x135711={'FflMf':function(_0x1e7bbf,_0x4232ca){return _0x1e7bbf===_0x4232ca;},'IdSRI':_0x4bc237(0x16d),'JUKCX':function(_0x240043){return _0x240043();},'PnlxV':function(_0x4c62da,_0xeaf08f,_0x41bfac,_0x3b99ca,_0x3fc2fe,_0x57e280,_0x376f27,_0x198d97,_0x781f43,_0x171287){return _0x4c62da(_0xeaf08f,_0x41bfac,_0x3b99ca,_0x3fc2fe,_0x57e280,_0x376f27,_0x198d97,_0x781f43,_0x171287);}};_0x135711['PnlxV'](logDebug,'receive\x20downloadMedia\x20task',_0x227df9,_0x4ba7f8,_0x368827,_0x3b1f85,_0x2347a8,_0x188b95,_0x4e4605,_0x48ebef);if(_0x188b95&&_0x39324e[_0x4bc237(0x17a)](_0x188b95)){if(_0x48ebef)try{await _0x222f67[_0x4bc237(0x161)](_0x188b95);}catch(_0x4327bd){}else return _0x188b95;}return logDebug('start\x20downloadMedia',_0x227df9,_0x4ba7f8,_0x368827,_0x3b1f85,_0x2347a8,_0x188b95,_0x4e4605,_0x48ebef),new Promise((_0x5355a2,_0x409567)=>{const _0x3d4230=_0x4bc237,_0x38d26f={'zVmxW':function(_0x5c2265,_0x481f0b){const _0x1e71d4=_0x379c;return _0x135711[_0x1e71d4(0x186)](_0x5c2265,_0x481f0b);},'OhxCh':_0x3d4230(0x18a),'BMdVK':function(_0x3bf499,_0x4df246){return _0x3bf499(_0x4df246);},'mYuZv':_0x135711['IdSRI']};let _0x2df45a=![];const _0x5b71da=_0x11180a=>{const _0x11fc84=_0x3d4230;logDebug(_0x11fc84(0x154),_0x11180a,_0x227df9);if(_0x38d26f[_0x11fc84(0x18c)](_0x11180a[_0x11fc84(0x175)],_0x227df9)){_0x2df45a=!![];let _0x28a50c=_0x11180a[_0x11fc84(0x16b)];if(_0x28a50c[_0x11fc84(0x169)]('\x5c')){const _0x10baf7=sessionConfig[_0x11fc84(0x18e)];logDebug(_0x38d26f[_0x11fc84(0x170)],_0x10baf7),_0x28a50c=_0x3a515d[_0x11fc84(0x14c)](_0x10baf7,_0x28a50c);}_0x38d26f[_0x11fc84(0x187)](_0x5355a2,_0x28a50c);}};downloadMediaTasks[_0x3d4230(0x14f)](_0x135711[_0x3d4230(0x16c)](randomUUID),_0x5b71da),setTimeout(()=>{const _0x54ffa7=_0x3d4230;!_0x2df45a&&_0x38d26f[_0x54ffa7(0x187)](_0x409567,_0x38d26f['mYuZv']);},_0x4e4605),napCatCore[_0x3d4230(0x18b)][_0x3d4230(0x163)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x227df9,'chatType':_0x4ba7f8,'peerUid':_0x368827,'elementId':_0x3b1f85,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2347a8});});}static async['getImageSize'](_0x22da65){const _0x155a8c={'nzEct':function(_0x341864,_0x29bcb4){return _0x341864(_0x29bcb4);},'xpqhB':function(_0x51ef61,_0x36a709,_0xf96900){return _0x51ef61(_0x36a709,_0xf96900);}};return new Promise((_0x34f659,_0x8bf5a8)=>{const _0x2efd36={'zNsKK':function(_0x329368,_0x18d34d){const _0x4ee48a=_0x379c;return _0x155a8c[_0x4ee48a(0x160)](_0x329368,_0x18d34d);}};_0x155a8c['xpqhB'](_0x50b3a3,_0x22da65,(_0x393253,_0x87f34e)=>{_0x393253?_0x2efd36['zNsKK'](_0x8bf5a8,_0x393253):_0x34f659(_0x87f34e);});});}static async[_0x3ba260(0x17b)](_0x308164,_0x9ea34f){const _0x1ca2be=_0x3ba260,_0x57ead8={'FPVvU':'/download','wreha':'&rkey=','sTnHs':function(_0x595d0c,_0x296761){return _0x595d0c+_0x296761;},'witZb':function(_0x239e34,_0x5394cd,_0x79f03d){return _0x239e34(_0x5394cd,_0x79f03d);},'hDFfV':_0x1ca2be(0x15d)};if(!_0x308164)return'';const _0x54bf38=_0x308164[_0x1ca2be(0x166)],_0x78f7d8=_0x308164[_0x1ca2be(0x179)],_0x2559b2=_0x308164['md5HexStr'],_0x494a3d=_0x308164[_0x1ca2be(0x153)];if(_0x54bf38){if(_0x54bf38[_0x1ca2be(0x169)](_0x57ead8[_0x1ca2be(0x157)])){if(_0x54bf38[_0x1ca2be(0x174)](_0x57ead8[_0x1ca2be(0x176)]))return IMAGE_HTTP_HOST_NT+_0x54bf38;const _0x30c95c=await rkeyManager[_0x1ca2be(0x17f)](),_0xfc907=_0x9ea34f?_0x30c95c[_0x1ca2be(0x183)]:_0x30c95c[_0x1ca2be(0x14e)];return _0x57ead8[_0x1ca2be(0x15f)](_0x57ead8[_0x1ca2be(0x15f)](IMAGE_HTTP_HOST_NT,_0x54bf38),''+_0xfc907);}else return IMAGE_HTTP_HOST+_0x54bf38;}else{if(_0x2559b2||_0x78f7d8)return IMAGE_HTTP_HOST+_0x1ca2be(0x16e)+(_0x2559b2||_0x78f7d8)['toUpperCase']()+'/0';}return _0x57ead8[_0x1ca2be(0x155)](logDebug,_0x57ead8[_0x1ca2be(0x150)],_0x308164),'';}}function _0x379c(_0x34a045,_0x4ca09f){const _0x2b08d3=_0x2b08();return _0x379c=function(_0x379cf7,_0x2e2e22){_0x379cf7=_0x379cf7-0x14c;let _0x1bc935=_0x2b08d3[_0x379cf7];return _0x1bc935;},_0x379c(_0x34a045,_0x4ca09f);}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x4d6ed3=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x3ba260(0x18d)](_0x22f0a0=['tmp','hotUpdate']){const _0x178ffa=_0x3ba260;return napCatCore['session'][_0x178ffa(0x181)]()[_0x178ffa(0x158)](_0x22f0a0);}static[_0x3ba260(0x182)](_0x742029={}){const _0x4ddaec=_0x3ba260;return napCatCore[_0x4ddaec(0x18b)]['getStorageCleanService']()[_0x4ddaec(0x15a)](_0x742029);}static[_0x3ba260(0x189)](){const _0x3d3302=_0x3ba260;return napCatCore[_0x3d3302(0x18b)][_0x3d3302(0x181)]()['scanCache']();}static['getHotUpdateCachePath'](){return'';}static[_0x3ba260(0x173)](){return'';}static[_0x3ba260(0x180)](_0x47ab58,_0xb5da98=0x3e8,_0x22b073=0x0){const _0x11e878=_0x3ba260;return napCatCore[_0x11e878(0x18b)][_0x11e878(0x181)]()[_0x11e878(0x167)](_0x47ab58,_0xb5da98,0x1,_0x22b073);}static['getFileCacheInfo'](_0x525f9b,_0x576873=0x3e8,_0x341acf){const _0x5b32db=_0x341acf?_0x341acf:{'fileType':_0x525f9b};}static async[_0x3ba260(0x17e)](_0xa350a3=[],_0x28d06c=[]){const _0xfdb6e9=_0x3ba260;return napCatCore[_0xfdb6e9(0x18b)][_0xfdb6e9(0x181)]()[_0xfdb6e9(0x165)](_0xa350a3,_0x28d06c);}} \ No newline at end of file +const _0x1d4bc2=_0x4599;(function(_0x3953db,_0x5719de){const _0x5494f8=_0x4599,_0x4bbb30=_0x3953db();while(!![]){try{const _0x3d6072=-parseInt(_0x5494f8(0xba))/0x1+-parseInt(_0x5494f8(0xaf))/0x2*(parseInt(_0x5494f8(0x84))/0x3)+parseInt(_0x5494f8(0x8e))/0x4+parseInt(_0x5494f8(0xb9))/0x5+parseInt(_0x5494f8(0x9a))/0x6+-parseInt(_0x5494f8(0x94))/0x7*(-parseInt(_0x5494f8(0xa8))/0x8)+-parseInt(_0x5494f8(0xb7))/0x9;if(_0x3d6072===_0x5719de)break;else _0x4bbb30['push'](_0x4bbb30['shift']());}catch(_0x39de5e){_0x4bbb30['push'](_0x4bbb30['shift']());}}}(_0x27d2,0x63914));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0xa12886 from'path';import _0x11173d from'fs';import _0x27abdf from'fs/promises';function _0x27d2(){const _0x9a21f8=['990424bXUkIu','existsSync','defaultFileDownloadPath','fileUuid','getChatCacheList','getDesktopTmpPath','copyFile','17522GnqKgD','下载超时','filePath','scanCache','downloadRichMedia','indexOf','nSZTS','unlink','5429880spYxry','KEaKa','1959695WSubTE','754488WcSKAj','gcjpa','getRichMediaFilePathForGuild','clearChatCache','start\x20downloadMedia','PIC','UxATD','getRkey','MhUoz','setCacheSilentScan','set','join','getStorageCleanService','/download','BjBPv','getCacheSessionPathList','msgId','ZEyRf','getFileType','NjpuP','getFileSize','clearCache','DsjSO','getMsgService','downloadMedia','图片url获取失败','XKEtC','md5HexStr','ext','6tjpzdN','getFileCacheInfo','tkosO','uKWYt','getImageSize','startsWith','Bcoze','private_rkey','XbegS','Fyzgb','1770028mKDptt','RkciC','onLoginSuccess','clearChatCacheInfo','originImageUrl','toUpperCase','14JiskYe','clearCacheDataByKeys','tmp','getHotUpdateCachePath','vjpmW','util','4206636hqnWsr','TtoZT','session','uploadFile','downloadPath','&rkey=','basename','NfphF','receive\x20downloadMedia\x20task','fileTypeFromFile','onRichMediaDownloadComplete','hkPjN','addCacheScanedPaths','fpHEm'];_0x27d2=function(){return _0x9a21f8;};return _0x27d2();}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x33dd56 from'file-type';import{MsgListener}from'@/core/listeners';import _0x1656b9 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();function _0x4599(_0x1e5cb8,_0x27e73c){const _0x27d281=_0x27d2();return _0x4599=function(_0x459954,_0x5d79e2){_0x459954=_0x459954-0x68;let _0x95a08c=_0x27d281[_0x459954];return _0x95a08c;},_0x4599(_0x1e5cb8,_0x27e73c);}downloadMediaListener[_0x1d4bc2(0xa4)]=_0x182c9e=>{const _0x3dbb26=_0x1d4bc2,_0x365e72={'Bcoze':function(_0x3af7a9,_0x7299af){return _0x3af7a9(_0x7299af);}};for(const [_0x14ae96,_0x299a13]of downloadMediaTasks){_0x365e72[_0x3dbb26(0x8a)](_0x299a13,_0x182c9e),downloadMediaTasks['delete'](_0x14ae96);}},setTimeout(()=>{const _0x1863f0=_0x1d4bc2;napCatCore[_0x1863f0(0x90)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1d4bc2(0x79)](_0x420f4d){const _0x59c31a=_0x1d4bc2;return _0x33dd56[_0x59c31a(0xa3)](_0x420f4d);}static async['copyFile'](_0x5d1933,_0x2cb5d2){const _0x11ed58=_0x1d4bc2;await napCatCore[_0x11ed58(0x99)][_0x11ed58(0xae)](_0x5d1933,_0x2cb5d2);}static async[_0x1d4bc2(0x7b)](_0x4d1dfa){const _0x87e3fc=_0x1d4bc2;return await napCatCore[_0x87e3fc(0x99)][_0x87e3fc(0x7b)](_0x4d1dfa);}static async[_0x1d4bc2(0x9d)](_0x52b717,_0xfb3bfd=ElementType[_0x1d4bc2(0x6c)],_0x4f70e2=0x0){const _0x24fd4c=_0x1d4bc2,_0x5bcc5f={'DsjSO':function(_0x368faf,_0x5a82f3){return _0x368faf(_0x5a82f3);},'gcjpa':function(_0x5d82a7,_0x5d5010){return _0x5d82a7+_0x5d5010;},'eULXD':function(_0xa34892,_0x103405){return _0xa34892===_0x103405;}},_0x18ee38=await _0x5bcc5f[_0x24fd4c(0x7d)](calculateFileMD5,_0x52b717);let _0x1561ea=(await NTQQFileApi[_0x24fd4c(0x79)](_0x52b717))?.[_0x24fd4c(0x83)]||'';_0x1561ea&&(_0x1561ea=_0x5bcc5f[_0x24fd4c(0x68)]('.',_0x1561ea));let _0x4b20c2=''+_0xa12886[_0x24fd4c(0xa0)](_0x52b717);_0x5bcc5f['eULXD'](_0x4b20c2[_0x24fd4c(0xb4)]('.'),-0x1)&&(_0x4b20c2+=_0x1561ea);const _0x45e14e=napCatCore[_0x24fd4c(0x9c)][_0x24fd4c(0x7e)]()[_0x24fd4c(0x69)]({'md5HexStr':_0x18ee38,'fileName':_0x4b20c2,'elementType':_0xfb3bfd,'elementSubType':_0x4f70e2,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x52b717,_0x45e14e);const _0xd54c85=await NTQQFileApi[_0x24fd4c(0x7b)](_0x52b717);return{'md5':_0x18ee38,'fileName':_0x4b20c2,'path':_0x45e14e,'fileSize':_0xd54c85,'ext':_0x1561ea};}static async[_0x1d4bc2(0x7f)](_0x22f1f9,_0x43a49d,_0x155b85,_0x25171b,_0x4ea75e,_0x2e8915,_0x366138=0x3e8*0x3c*0x2,_0x375bc7=![]){const _0x51761f=_0x1d4bc2,_0xe25e44={'RkciC':function(_0x1cd6ea,_0x36fd6f,_0x479ae4,_0xe54ce8){return _0x1cd6ea(_0x36fd6f,_0x479ae4,_0xe54ce8);},'KEaKa':'downloadMedia\x20complete','MhUoz':function(_0x4b23e2,_0x5e8f08){return _0x4b23e2===_0x5e8f08;},'pZRAE':function(_0x1a6064,_0x7e91a8,_0x2059c7){return _0x1a6064(_0x7e91a8,_0x2059c7);},'hkPjN':_0x51761f(0x9e),'XbegS':function(_0x23d066,_0x4cf471){return _0x23d066(_0x4cf471);},'ZEyRf':function(_0x1b7165,_0x4293ae){return _0x1b7165(_0x4293ae);},'uKWYt':_0x51761f(0xb0),'NfphF':function(_0x136915){return _0x136915();},'nSZTS':function(_0x3d0a92,_0x3b0830,_0x346784){return _0x3d0a92(_0x3b0830,_0x346784);},'UxATD':function(_0x252fe9,_0x4f98f7,_0x2eaff5,_0x492814,_0x123214,_0x27caa7,_0x4b832f,_0x420fa6,_0x2bd28a,_0x3d7b30){return _0x252fe9(_0x4f98f7,_0x2eaff5,_0x492814,_0x123214,_0x27caa7,_0x4b832f,_0x420fa6,_0x2bd28a,_0x3d7b30);},'fpHEm':_0x51761f(0xa2),'BjBPv':_0x51761f(0x6b)};_0xe25e44[_0x51761f(0x6d)](logDebug,_0xe25e44[_0x51761f(0xa7)],_0x22f1f9,_0x43a49d,_0x155b85,_0x25171b,_0x4ea75e,_0x2e8915,_0x366138,_0x375bc7);if(_0x2e8915&&_0x11173d[_0x51761f(0xa9)](_0x2e8915)){if(_0x375bc7)try{await _0x27abdf[_0x51761f(0xb6)](_0x2e8915);}catch(_0x3d4f33){}else return _0x2e8915;}return logDebug(_0xe25e44[_0x51761f(0x75)],_0x22f1f9,_0x43a49d,_0x155b85,_0x25171b,_0x4ea75e,_0x2e8915,_0x366138,_0x375bc7),new Promise((_0x1fedcd,_0x64bdb5)=>{const _0x68a7f9=_0x51761f;let _0x255199=![];const _0x14366f=_0x506b12=>{const _0x1deb47=_0x4599;_0xe25e44[_0x1deb47(0x8f)](logDebug,_0xe25e44[_0x1deb47(0xb8)],_0x506b12,_0x22f1f9);if(_0xe25e44[_0x1deb47(0x6f)](_0x506b12[_0x1deb47(0x77)],_0x22f1f9)){_0x255199=!![];let _0xf2548f=_0x506b12[_0x1deb47(0xb1)];if(_0xf2548f[_0x1deb47(0x89)]('\x5c')){const _0x4f7f0a=sessionConfig[_0x1deb47(0xaa)];_0xe25e44['pZRAE'](logDebug,_0xe25e44[_0x1deb47(0xa5)],_0x4f7f0a),_0xf2548f=_0xa12886[_0x1deb47(0x72)](_0x4f7f0a,_0xf2548f);}_0xe25e44[_0x1deb47(0x8c)](_0x1fedcd,_0xf2548f);}};downloadMediaTasks[_0x68a7f9(0x71)](_0xe25e44[_0x68a7f9(0xa1)](randomUUID),_0x14366f),_0xe25e44[_0x68a7f9(0xb5)](setTimeout,()=>{const _0x475484=_0x68a7f9;!_0x255199&&_0xe25e44[_0x475484(0x78)](_0x64bdb5,_0xe25e44[_0x475484(0x87)]);},_0x366138),napCatCore['session'][_0x68a7f9(0x7e)]()[_0x68a7f9(0xb3)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x22f1f9,'chatType':_0x43a49d,'peerUid':_0x155b85,'elementId':_0x25171b,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4ea75e});});}static async[_0x1d4bc2(0x88)](_0x227881){const _0x556174={'tkosO':function(_0x501bf8,_0x5c2ecc){return _0x501bf8(_0x5c2ecc);}};return new Promise((_0x15eef8,_0x3db8c3)=>{_0x1656b9(_0x227881,(_0x38f3d2,_0x3182c1)=>{const _0x4009a2=_0x4599;_0x38f3d2?_0x556174[_0x4009a2(0x86)](_0x3db8c3,_0x38f3d2):_0x556174[_0x4009a2(0x86)](_0x15eef8,_0x3182c1);});});}static async['getImageUrl'](_0x2fa8c1,_0x9b8259){const _0x4254a0=_0x1d4bc2,_0x586e14={'XKEtC':_0x4254a0(0x9f),'vjpmW':function(_0x5d7d3e,_0x1add89){return _0x5d7d3e+_0x1add89;},'NjpuP':function(_0x240a51,_0x236299){return _0x240a51+_0x236299;},'Fyzgb':function(_0x44c3a5,_0x228ff2){return _0x44c3a5||_0x228ff2;},'VcXxR':function(_0x43364f,_0x3a7268){return _0x43364f||_0x3a7268;},'wwmNY':function(_0xf422d2,_0x14b407,_0x58c461){return _0xf422d2(_0x14b407,_0x58c461);},'TtoZT':_0x4254a0(0x80)};if(!_0x2fa8c1)return'';const _0x10e964=_0x2fa8c1[_0x4254a0(0x92)],_0x2b5e89=_0x2fa8c1[_0x4254a0(0x82)],_0x4df669=_0x2fa8c1['md5HexStr'],_0x2f1577=_0x2fa8c1[_0x4254a0(0xab)];if(_0x10e964){if(_0x10e964['startsWith'](_0x4254a0(0x74))){if(_0x10e964['includes'](_0x586e14[_0x4254a0(0x81)]))return _0x586e14[_0x4254a0(0x98)](IMAGE_HTTP_HOST_NT,_0x10e964);const _0x37575a=await rkeyManager[_0x4254a0(0x6e)](),_0x2a80f5=_0x9b8259?_0x37575a[_0x4254a0(0x8b)]:_0x37575a['group_rkey'];return _0x586e14[_0x4254a0(0x7a)](_0x586e14[_0x4254a0(0x98)](IMAGE_HTTP_HOST_NT,_0x10e964),''+_0x2a80f5);}else return IMAGE_HTTP_HOST+_0x10e964;}else{if(_0x586e14[_0x4254a0(0x8d)](_0x4df669,_0x2b5e89))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x586e14['VcXxR'](_0x4df669,_0x2b5e89)[_0x4254a0(0x93)]()+'/0';}return _0x586e14['wwmNY'](logDebug,_0x586e14[_0x4254a0(0x9b)],_0x2fa8c1),'';}}export class NTQQFileCacheApi{static async[_0x1d4bc2(0x70)](_0x17fde0=!![]){return'';}static[_0x1d4bc2(0x76)](){return'';}static[_0x1d4bc2(0x7c)](_0x3925af=[_0x1d4bc2(0x96),'hotUpdate']){const _0x357be4=_0x1d4bc2;return napCatCore[_0x357be4(0x9c)][_0x357be4(0x73)]()[_0x357be4(0x95)](_0x3925af);}static['addCacheScannedPaths'](_0x2efd84={}){const _0xfb7994=_0x1d4bc2;return napCatCore['session'][_0xfb7994(0x73)]()[_0xfb7994(0xa6)](_0x2efd84);}static[_0x1d4bc2(0xb2)](){const _0x3e7841=_0x1d4bc2;return napCatCore['session'][_0x3e7841(0x73)]()[_0x3e7841(0xb2)]();}static[_0x1d4bc2(0x97)](){return'';}static[_0x1d4bc2(0xad)](){return'';}static[_0x1d4bc2(0xac)](_0x3c51a9,_0x5f026d=0x3e8,_0x2639f2=0x0){const _0x42c330=_0x1d4bc2;return napCatCore[_0x42c330(0x9c)][_0x42c330(0x73)]()['getChatCacheInfo'](_0x3c51a9,_0x5f026d,0x1,_0x2639f2);}static[_0x1d4bc2(0x85)](_0x1425de,_0xd38cae=0x3e8,_0x80d36){const _0x18c4fa=_0x80d36?_0x80d36:{'fileType':_0x1425de};}static async[_0x1d4bc2(0x6a)](_0x1e248f=[],_0x590bf2=[]){const _0x43d175=_0x1d4bc2;return napCatCore[_0x43d175(0x9c)]['getStorageCleanService']()[_0x43d175(0x91)](_0x1e248f,_0x590bf2);}} \ 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 f4e16369..9224e5eb 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x11ea4d=_0x521b;(function(_0x26666d,_0x2f3a20){const _0x371e8a=_0x521b,_0xc64b98=_0x26666d();while(!![]){try{const _0x253bbc=-parseInt(_0x371e8a(0x1df))/0x1+-parseInt(_0x371e8a(0x1da))/0x2+-parseInt(_0x371e8a(0x1de))/0x3*(-parseInt(_0x371e8a(0x1d9))/0x4)+-parseInt(_0x371e8a(0x1f4))/0x5*(-parseInt(_0x371e8a(0x1d7))/0x6)+parseInt(_0x371e8a(0x1e8))/0x7*(parseInt(_0x371e8a(0x1ed))/0x8)+parseInt(_0x371e8a(0x1e4))/0x9+parseInt(_0x371e8a(0x1e9))/0xa*(-parseInt(_0x371e8a(0x1eb))/0xb);if(_0x253bbc===_0x2f3a20)break;else _0xc64b98['push'](_0xc64b98['shift']());}catch(_0x33dd16){_0xc64b98['push'](_0xc64b98['shift']());}}}(_0x321a,0x949bf));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';function _0x321a(){const _0x3cc938=['2971030dvDTMV','buddyList','dLGjl','12vtiKdn','approvalFriendRequest','12eFSGzH','1488474CGGkIp','session','set','then','1187448VIExGG','225472piDGUt','获取好友列表超时','onLoginSuccess','开始获取好友列表','BPhMU','6950763PwhSLT','xZPTa','uin','LOHYr','65968beagxn','10xRoZix','delete','22554169MnNOse','获取好友列表完成','408NaIttE','getBuddyList','push','getFriends','handleFriendRequest','gjMNV','addListener'];_0x321a=function(){return _0x3cc938;};return _0x321a();}import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';function _0x521b(_0x4fd8c4,_0x53c04a){const _0x321adc=_0x321a();return _0x521b=function(_0x521b0f,_0x3aab79){_0x521b0f=_0x521b0f-0x1d7;let _0x398bff=_0x321adc[_0x521b0f];return _0x398bff;},_0x521b(_0x4fd8c4,_0x53c04a);}const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0x460c94=>{const _0x149d08=_0x521b;for(const [_0x4482a8,_0x5965ca]of buddyChangeTasks){_0x5965ca(_0x460c94),buddyChangeTasks[_0x149d08(0x1ea)](_0x4482a8);}},setTimeout(()=>{const _0x2aac24=_0x521b;napCatCore[_0x2aac24(0x1e1)](()=>{const _0x216e35=_0x2aac24;napCatCore[_0x216e35(0x1f3)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x11ea4d(0x1f0)](_0x365358=![]){const _0x3a0a5e=_0x11ea4d,_0x4a9f58={'gjMNV':function(_0x1e194f,_0xb1aecf){return _0x1e194f(_0xb1aecf);},'dLGjl':_0x3a0a5e(0x1e0),'rZMoA':_0x3a0a5e(0x1ec),'xZPTa':function(_0x5930ca,_0x155746,_0x34034d){return _0x5930ca(_0x155746,_0x34034d);},'qCagz':_0x3a0a5e(0x1e2),'LOHYr':function(_0x14ea05,_0x535b0d,_0x8b6afe){return _0x14ea05(_0x535b0d,_0x8b6afe);},'BPhMU':function(_0x5ae8d7){return _0x5ae8d7();}};return new Promise((_0x4ef133,_0x1c1b63)=>{const _0x1c8e18=_0x3a0a5e;let _0x60bf68=![];_0x4a9f58[_0x1c8e18(0x1e7)](setTimeout,()=>{const _0xc885ee=_0x1c8e18;!_0x60bf68&&(_0x4a9f58['gjMNV'](logDebug,_0xc885ee(0x1e0)),_0x4a9f58[_0xc885ee(0x1f2)](_0x1c1b63,_0x4a9f58[_0xc885ee(0x1f6)]));},0x1388);const _0x3689c1=[],_0x3ba2f1=_0x4207bd=>{const _0x3690c4=_0x1c8e18;for(const _0x130047 of _0x4207bd){for(const _0x30d56a of _0x130047[_0x3690c4(0x1f5)]){_0x3689c1[_0x3690c4(0x1ef)](_0x30d56a),uid2UinMap[_0x30d56a['uid']]=_0x30d56a[_0x3690c4(0x1e6)];}}_0x60bf68=!![],logDebug(_0x4a9f58['rZMoA'],_0x3689c1),_0x4a9f58[_0x3690c4(0x1f2)](_0x4ef133,_0x3689c1);};buddyChangeTasks[_0x1c8e18(0x1dc)](_0x4a9f58[_0x1c8e18(0x1e3)](randomUUID),_0x3ba2f1),napCatCore['session']['getBuddyService']()[_0x1c8e18(0x1ee)](_0x365358)[_0x1c8e18(0x1dd)](_0xf5f56c=>{const _0xc120e3=_0x1c8e18;_0x4a9f58[_0xc120e3(0x1e5)](logDebug,_0x4a9f58['qCagz'],_0xf5f56c);});});}static async[_0x11ea4d(0x1f1)](_0xb6c2ef,_0x5b94d3){const _0x1a67a3=_0x11ea4d;napCatCore[_0x1a67a3(0x1db)]['getBuddyService']()?.[_0x1a67a3(0x1d8)]({'friendUid':_0xb6c2ef['friendUid'],'reqTime':_0xb6c2ef['reqTime'],'accept':_0x5b94d3});}} \ No newline at end of file +const _0x4d8578=_0x165e;(function(_0x50e1ba,_0xa3158a){const _0x47cdf9=_0x165e,_0x1d1853=_0x50e1ba();while(!![]){try{const _0x385784=-parseInt(_0x47cdf9(0x1cc))/0x1*(-parseInt(_0x47cdf9(0x1b4))/0x2)+parseInt(_0x47cdf9(0x1b3))/0x3*(parseInt(_0x47cdf9(0x1c2))/0x4)+parseInt(_0x47cdf9(0x1ba))/0x5+-parseInt(_0x47cdf9(0x1bb))/0x6*(-parseInt(_0x47cdf9(0x1c6))/0x7)+parseInt(_0x47cdf9(0x1d0))/0x8+-parseInt(_0x47cdf9(0x1cb))/0x9*(-parseInt(_0x47cdf9(0x1cf))/0xa)+parseInt(_0x47cdf9(0x1be))/0xb*(-parseInt(_0x47cdf9(0x1cd))/0xc);if(_0x385784===_0xa3158a)break;else _0x1d1853['push'](_0x1d1853['shift']());}catch(_0x493fb7){_0x1d1853['push'](_0x1d1853['shift']());}}}(_0x1301,0x266db));function _0x1301(){const _0x241d62=['push','KkhGz','handleFriendRequest','4VUothF','TMsPx','UATLS','getBuddyService','7fgpHRW','approvalFriendRequest','delete','session','reqTime','45gTXKJZ','1ThhQEH','2628kdLqjw','XawWS','427510ggZWwk','1734320ilHqtY','getBuddyList','获取好友列表完成','uid','542577OsXcHc','63472lKsjzB','then','gVeSv','nLuCK','XgBKO','QZHIO','1206760StEiWe','128718zbzuMD','获取好友列表超时','addListener','37598ljaDBP'];_0x1301=function(){return _0x241d62;};return _0x1301();}import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0x30551b=>{const _0x2d088b=_0x165e,_0x27f088={'OMibv':function(_0xe6c18,_0x2112c1){return _0xe6c18(_0x2112c1);}};for(const [_0x2efcec,_0x511c61]of buddyChangeTasks){_0x27f088['OMibv'](_0x511c61,_0x30551b),buddyChangeTasks[_0x2d088b(0x1c8)](_0x2efcec);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x4b5fc7=_0x165e;napCatCore[_0x4b5fc7(0x1bd)](buddyListener);});},0x64);function _0x165e(_0x2c059f,_0x3b58c4){const _0x13013d=_0x1301();return _0x165e=function(_0x165eab,_0xd8b5fd){_0x165eab=_0x165eab-0x1b1;let _0x8d21a3=_0x13013d[_0x165eab];return _0x8d21a3;},_0x165e(_0x2c059f,_0x3b58c4);}export class NTQQFriendApi{static async['getFriends'](_0x2d764f=![]){const _0x49083b=_0x165e,_0x5d16a4={'XgBKO':function(_0x4bf847,_0x5d3ca6){return _0x4bf847(_0x5d3ca6);},'nLuCK':_0x49083b(0x1bc),'BukuO':function(_0x4e0664,_0x14c37c){return _0x4e0664(_0x14c37c);},'vPVvD':function(_0x24c2e9,_0x1496cd,_0x1a60af){return _0x24c2e9(_0x1496cd,_0x1a60af);},'TMsPx':_0x49083b(0x1b1),'XawWS':function(_0x5ad097,_0x4fed60){return _0x5ad097(_0x4fed60);},'gVeSv':function(_0x21ec2f,_0x222e6a,_0x2da2f6){return _0x21ec2f(_0x222e6a,_0x2da2f6);},'mlldA':'开始获取好友列表','KkhGz':function(_0x57e95f){return _0x57e95f();}};return new Promise((_0x155bd2,_0xb87fc6)=>{const _0x417701=_0x49083b,_0x488551={'UATLS':function(_0xbb3d5d,_0x3bcb78,_0x5a0a16){const _0x4acb4c=_0x165e;return _0x5d16a4[_0x4acb4c(0x1b6)](_0xbb3d5d,_0x3bcb78,_0x5a0a16);},'QZHIO':_0x5d16a4['mlldA']};let _0x3ef1dd=![];setTimeout(()=>{const _0x2605ed=_0x165e;!_0x3ef1dd&&(_0x5d16a4[_0x2605ed(0x1b8)](logDebug,_0x5d16a4[_0x2605ed(0x1b7)]),_0x5d16a4['BukuO'](_0xb87fc6,_0x5d16a4['nLuCK']));},0x1388);const _0x377a11=[],_0x384506=_0x5ee450=>{const _0x5be4d2=_0x165e;for(const _0x20fa73 of _0x5ee450){for(const _0x3b0bf4 of _0x20fa73['buddyList']){_0x377a11[_0x5be4d2(0x1bf)](_0x3b0bf4),uid2UinMap[_0x3b0bf4[_0x5be4d2(0x1b2)]]=_0x3b0bf4['uin'];}}_0x3ef1dd=!![],_0x5d16a4['vPVvD'](logDebug,_0x5d16a4[_0x5be4d2(0x1c3)],_0x377a11),_0x5d16a4[_0x5be4d2(0x1ce)](_0x155bd2,_0x377a11);};buddyChangeTasks['set'](_0x5d16a4[_0x417701(0x1c0)](randomUUID),_0x384506),napCatCore[_0x417701(0x1c9)][_0x417701(0x1c5)]()[_0x417701(0x1d1)](_0x2d764f)[_0x417701(0x1b5)](_0xc0e1c5=>{const _0x214b7a=_0x417701;_0x488551[_0x214b7a(0x1c4)](logDebug,_0x488551[_0x214b7a(0x1b9)],_0xc0e1c5);});});}static async[_0x4d8578(0x1c1)](_0x1c441e,_0x3c8163){const _0x2afd81=_0x4d8578;napCatCore[_0x2afd81(0x1c9)][_0x2afd81(0x1c5)]()?.[_0x2afd81(0x1c7)]({'friendUid':_0x1c441e['friendUid'],'reqTime':_0x1c441e[_0x2afd81(0x1ca)],'accept':_0x3c8163});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index d2442be7..dc12d229 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x352f(){const _0x586130=['groupMemberList_MainWindow','获取群(','3840zpTalc','type','forEach','onGroupListUpdate','addListener','operateSysNotify','21QIInQB','publishGroupBulletin','getGroupList','获取群列表超时','errCode','getSingleScreenNotifies','banGroup','获取群成员列表出错,','bKGGI','result','set','quitGroup','uPGmm','errMsg','NgPsQ','groupCode','setMemberCard','setMemberShutUp','deUEx','1417336XcOVaR','viBPJ','获取群列表完成','setMemberRole','uploadGroupBulletinPic','Jivef','session','zQZQZ','infos','finish','4Iqgvie','uid','VTViD','1012614KrWLGd','2965824oPfeqo','866930HSkMgb','qun.qq.com','getPSkey','hpBHl','vpuhY','NsLRy','1120BCdWig','kickMember','uin','getGroups','delete','rvwie','hhBja','1573719LfjVEI','获取群系统消息列表完成','onLoginSuccess','setGroupName','5545512EfdVkv','finish:\x20','zeNNS','110aMIaQL','seq','zfHbS','GaElB',')成员列表结果:','createMemberListScene','getGroupService','setGroupTitle','BNDmF','Vnbot','modifyMemberCardName'];_0x352f=function(){return _0x586130;};return _0x352f();}const _0x204480=_0x1129;(function(_0x44807d,_0x3ef8ca){const _0x45d478=_0x1129,_0x208490=_0x44807d();while(!![]){try{const _0x122b60=parseInt(_0x45d478(0x153))/0x1+parseInt(_0x45d478(0x18a))/0x2*(-parseInt(_0x45d478(0x18d))/0x3)+parseInt(_0x45d478(0x18e))/0x4+parseInt(_0x45d478(0x14c))/0x5*(parseInt(_0x45d478(0x167))/0x6)+-parseInt(_0x45d478(0x16d))/0x7*(-parseInt(_0x45d478(0x180))/0x8)+-parseInt(_0x45d478(0x157))/0x9+parseInt(_0x45d478(0x146))/0xa*(-parseInt(_0x45d478(0x15a))/0xb);if(_0x122b60===_0x3ef8ca)break;else _0x208490['push'](_0x208490['shift']());}catch(_0x40c004){_0x208490['push'](_0x208490['shift']());}}}(_0x352f,0xcb176));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();function _0x1129(_0x531afc,_0x137e7c){const _0x352fa7=_0x352f();return _0x1129=function(_0x11298c,_0x5a16ab){_0x11298c=_0x11298c-0x146;let _0x50d184=_0x352fa7[_0x11298c];return _0x50d184;},_0x1129(_0x531afc,_0x137e7c);}groupListener['onGroupSingleScreenNotifies']=(_0x191b6f,_0x16bd81,_0x122726)=>{const _0x5e9dc7=_0x1129,_0x5184df={'uPGmm':function(_0x4a3098,_0x48f010,_0x1e8705,_0x5859c8){return _0x4a3098(_0x48f010,_0x1e8705,_0x5859c8);}};for(const [_0x27e2d2,_0x45b1df]of SingleScreenNotifiesTasks){_0x5184df[_0x5e9dc7(0x179)](_0x45b1df,_0x191b6f,_0x16bd81,_0x122726),groupMemberTasks[_0x5e9dc7(0x150)](_0x27e2d2);}},groupListener[_0x204480(0x16a)]=(_0x3ff778,_0x27332a)=>{const _0x4d8085=_0x204480;for(const [_0x12ebea,_0x586d09]of groupMemberTasks){_0x586d09(_0x3ff778,_0x27332a),groupMemberTasks[_0x4d8085(0x150)](_0x12ebea);}},setTimeout(()=>{const _0x2e20a5=_0x204480;napCatCore[_0x2e20a5(0x155)](()=>{const _0x50e417=_0x2e20a5;napCatCore[_0x50e417(0x16b)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x204480(0x14f)](_0x4f7eed=![]){const _0x25cf3e=_0x204480,_0x223c13={'bKGGI':function(_0x4ed5ea,_0x46f18e){return _0x4ed5ea(_0x46f18e);},'zfHbS':_0x25cf3e(0x170),'TaMHl':function(_0x321542,_0x495105){return _0x321542(_0x495105);},'hpBHl':_0x25cf3e(0x182),'hhBja':function(_0x11fb3e,_0x9c21f,_0x215906){return _0x11fb3e(_0x9c21f,_0x215906);},'Jivef':function(_0x112996){return _0x112996();}};let _0x984a3e=![];return new Promise((_0x4325c8,_0x4fa9c4)=>{const _0x54b066=_0x25cf3e,_0x271cb3={'viBPJ':_0x223c13[_0x54b066(0x149)]};_0x223c13[_0x54b066(0x152)](setTimeout,()=>{const _0x4e0dc2=_0x54b066;!_0x984a3e&&(_0x223c13[_0x4e0dc2(0x175)](logDebug,_0x223c13[_0x4e0dc2(0x15c)]),_0x223c13['TaMHl'](_0x4fa9c4,_0x223c13['zfHbS']));},0x1388);const _0x363133=(_0x1af786,_0x1257b7)=>{const _0x2bc1e0=_0x54b066;_0x984a3e=!![],logDebug(_0x271cb3[_0x2bc1e0(0x181)],_0x1257b7),_0x4325c8(_0x1257b7);};groupMemberTasks[_0x54b066(0x177)](_0x223c13[_0x54b066(0x185)](randomUUID),_0x363133),napCatCore['session'][_0x54b066(0x160)]()[_0x54b066(0x16f)](_0x4f7eed)['then']();});}static async[_0x204480(0x172)](_0x596963){const _0x163615=_0x204480,_0xffcd41={'vpuhY':function(_0x25b903,_0x559658){return _0x25b903(_0x559658);},'rvwie':'获取群系统消息列表超时','NgPsQ':_0x163615(0x154),'Vnbot':function(_0x7f399b,_0x13bf6d,_0x1060d8){return _0x7f399b(_0x13bf6d,_0x1060d8);},'deUEx':function(_0x2222e4){return _0x2222e4();}},_0xb6c254=napCatCore[_0x163615(0x186)]['getGroupService']();return new Promise((_0x5094a4,_0x1b2cdd)=>{const _0x15f128=_0x163615,_0x292366={'GaElB':function(_0x9f3404,_0x53861b,_0x2efe67){return _0x9f3404(_0x53861b,_0x2efe67);},'zeNNS':_0xffcd41[_0x15f128(0x17b)],'NsLRy':function(_0x460231,_0x31b92b){return _0x460231(_0x31b92b);}};let _0x2e474c=![];_0xffcd41[_0x15f128(0x163)](setTimeout,()=>{const _0xb3ba26=_0x15f128;!_0x2e474c&&(_0xffcd41[_0xb3ba26(0x14a)](logDebug,_0xffcd41[_0xb3ba26(0x151)]),_0x1b2cdd(_0xffcd41[_0xb3ba26(0x151)]));},0x1388);const _0x36c8c4=(_0x248a60,_0x11f6df,_0x47c35b)=>{const _0x34abaa=_0x15f128;_0x2e474c=!![],_0x292366[_0x34abaa(0x15d)](logDebug,_0x292366[_0x34abaa(0x159)],_0x47c35b),_0x292366[_0x34abaa(0x14b)](_0x5094a4,_0x47c35b);};SingleScreenNotifiesTasks['set'](_0xffcd41[_0x15f128(0x17f)](randomUUID),_0x36c8c4),_0xb6c254['getSingleScreenNotifies'](![],'',_0x596963);});}static async['getGroupMembers'](_0x11514a,_0x16ee19=0xbb8){const _0x38bb23=_0x204480,_0x5d2fac={'TukGB':function(_0x1b22fb,_0x7f7bfa){return _0x1b22fb+_0x7f7bfa;}},_0xb4a131=napCatCore[_0x38bb23(0x186)]['getGroupService'](),_0x54cb25=_0xb4a131[_0x38bb23(0x15f)](_0x11514a,_0x38bb23(0x165)),_0x467861=await _0xb4a131['getNextMemberList'](_0x54cb25,undefined,_0x16ee19);if(_0x467861[_0x38bb23(0x171)]!==0x0)throw _0x5d2fac['TukGB'](_0x38bb23(0x174),_0x467861[_0x38bb23(0x17a)]);return logDebug(_0x38bb23(0x166)+_0x11514a+_0x38bb23(0x15e),_0x38bb23(0x158)+_0x467861[_0x38bb23(0x176)][_0x38bb23(0x189)]),_0x467861[_0x38bb23(0x176)][_0x38bb23(0x188)][_0x38bb23(0x169)](_0x2662a6=>{const _0xee8741=_0x38bb23;uid2UinMap[_0x2662a6[_0xee8741(0x18b)]]=_0x2662a6[_0xee8741(0x14e)];}),_0x467861[_0x38bb23(0x176)][_0x38bb23(0x188)];}static async['getGroupNotifies'](){}static async['getGroupIgnoreNotifies'](){}static async[_0x204480(0x184)](_0x16cb56,_0x16c83a){const _0x1fb271=_0x204480,_0xc5ba9d={'zQZQZ':_0x1fb271(0x147)},_0x7693d=(await NTQQUserApi[_0x1fb271(0x148)]([_0xc5ba9d['zQZQZ']]))[_0xc5ba9d[_0x1fb271(0x187)]];return napCatCore[_0x1fb271(0x186)][_0x1fb271(0x160)]()[_0x1fb271(0x184)](_0x16cb56,_0x7693d,_0x16c83a);}static async['handleGroupRequest'](_0x17a082,_0x256ad7,_0x517764){const _0x26bc3a=_0x204480;return napCatCore['session']['getGroupService']()[_0x26bc3a(0x16c)](![],{'operateType':_0x256ad7,'targetMsg':{'seq':_0x17a082[_0x26bc3a(0x15b)],'type':_0x17a082[_0x26bc3a(0x168)],'groupCode':_0x17a082['group'][_0x26bc3a(0x17c)],'postscript':_0x517764||''}});}static async[_0x204480(0x178)](_0xd07224){const _0x50ad04=_0x204480;return napCatCore[_0x50ad04(0x186)][_0x50ad04(0x160)]()['quitGroup'](_0xd07224);}static async[_0x204480(0x14d)](_0xc60eac,_0x39f7dd,_0x37849c=![],_0x5b95c0=''){const _0x27573a=_0x204480;return napCatCore['session'][_0x27573a(0x160)]()['kickMember'](_0xc60eac,_0x39f7dd,_0x37849c,_0x5b95c0);}static async['banMember'](_0x5c20dd,_0x36d083){const _0x2aa73f=_0x204480;return napCatCore[_0x2aa73f(0x186)][_0x2aa73f(0x160)]()[_0x2aa73f(0x17e)](_0x5c20dd,_0x36d083);}static async[_0x204480(0x173)](_0x472230,_0x2aa77d){const _0x55f419=_0x204480;return napCatCore['session'][_0x55f419(0x160)]()['setGroupShutUp'](_0x472230,_0x2aa77d);}static async[_0x204480(0x17d)](_0xfc2015,_0x466db2,_0x13bef4){const _0x2ffcf5=_0x204480;return napCatCore[_0x2ffcf5(0x186)][_0x2ffcf5(0x160)]()[_0x2ffcf5(0x164)](_0xfc2015,_0x466db2,_0x13bef4);}static async[_0x204480(0x183)](_0x492476,_0x30c29f,_0x5538ba){const _0x13984a=_0x204480;return napCatCore[_0x13984a(0x186)]['getGroupService']()['modifyMemberRole'](_0x492476,_0x30c29f,_0x5538ba);}static async[_0x204480(0x156)](_0x408580,_0x472f0d){const _0x25d7e3=_0x204480;return napCatCore[_0x25d7e3(0x186)][_0x25d7e3(0x160)]()['modifyGroupName'](_0x408580,_0x472f0d,![]);}static async[_0x204480(0x161)](_0x58df70,_0x5a42cc,_0x4e4849){}static async[_0x204480(0x16e)](_0x25d643,_0x498650,_0x1dfeef=undefined,_0x24a2eb=0x0,_0x193b78=0x0){const _0x1331b4=_0x204480,_0x1c6fbd={'BNDmF':'qun.qq.com','VTViD':function(_0x338c38,_0x1bfc38){return _0x338c38(_0x1bfc38);}},_0x479592=(await NTQQUserApi[_0x1331b4(0x148)]([_0x1c6fbd[_0x1331b4(0x162)]]))[_0x1c6fbd['BNDmF']];let _0x5d2a9a={'text':_0x1c6fbd[_0x1331b4(0x18c)](encodeURI,_0x498650),'picInfo':_0x1dfeef,'oldFeedsId':'','pinned':_0x24a2eb,'confirmRequired':_0x193b78};return napCatCore[_0x1331b4(0x186)]['getGroupService']()[_0x1331b4(0x16e)](_0x25d643,_0x479592,_0x5d2a9a);}} \ No newline at end of file +const _0x2f7e98=_0x20f4;(function(_0x5503e4,_0x3ea84a){const _0x5994de=_0x20f4,_0x54f2d6=_0x5503e4();while(!![]){try{const _0x1e2f34=parseInt(_0x5994de(0xd7))/0x1*(parseInt(_0x5994de(0xc5))/0x2)+-parseInt(_0x5994de(0xb6))/0x3*(-parseInt(_0x5994de(0xe3))/0x4)+-parseInt(_0x5994de(0xd0))/0x5*(-parseInt(_0x5994de(0xe0))/0x6)+-parseInt(_0x5994de(0xb0))/0x7*(parseInt(_0x5994de(0xc3))/0x8)+parseInt(_0x5994de(0xd8))/0x9*(-parseInt(_0x5994de(0xba))/0xa)+parseInt(_0x5994de(0xcd))/0xb*(-parseInt(_0x5994de(0xd4))/0xc)+-parseInt(_0x5994de(0xb5))/0xd;if(_0x1e2f34===_0x3ea84a)break;else _0x54f2d6['push'](_0x54f2d6['shift']());}catch(_0x58da0a){_0x54f2d6['push'](_0x54f2d6['shift']());}}}(_0xf0fc,0x6166e));import{NTQQUserApi,napCatCore}from'@/core';function _0x20f4(_0x1f7257,_0x222339){const _0xf0fce0=_0xf0fc();return _0x20f4=function(_0x20f47b,_0x2eb4b0){_0x20f47b=_0x20f47b-0xad;let _0x4ecd5c=_0xf0fce0[_0x20f47b];return _0x4ecd5c;},_0x20f4(_0x1f7257,_0x222339);}function _0xf0fc(){const _0x4fc79d=['ADMvF','27624FZLceI','session','qun.qq.com','501207lmamQV','276498PDDuhj','groupMemberList_MainWindow','MDPeL','publishGroupBulletin','uin','finish','kickMember','modifyMemberRole','564312ISaewo','CgAfJ','gxvMk','586912lBXwoo','SmyuR','result','modifyMemberCardName','getGroupList','cEooF','delete','获取群系统消息列表超时','uid','setGroupName','setGroupTitle','errCode','groupCode','jmYRh','quitGroup','addListener','MrEuc','getGroupNotifies','kAgtr','chKZN','then','OByFT','aLFKS','setGroupShutUp','createMemberListScene','uploadGroupBulletinPic','获取群列表完成','finish:\x20','CtfgX','onGroupListUpdate','63259lXPAvs','getGroupService','setMemberCard','获取群成员列表出错,','LqiqR','7399470aTLKOW','12XSVwPK','operateSysNotify','onLoginSuccess','获取群系统消息列表完成','150sKPGvs','hYdUY','setMemberRole',')成员列表结果:','group','dtQVF','type','nJOZV','SVKhI','8CggRJe','VrAMp','2ZyPnmQ','FRsAk','set','setMemberShutUp','getSingleScreenNotifies','getPSkey','UjfEF','forEach','1474WKCsfe','Tuowq','seq','35eYscCt','xRiay','onGroupSingleScreenNotifies'];_0xf0fc=function(){return _0x4fc79d;};return _0xf0fc();}import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0x2f7e98(0xd2)]=(_0x52cdda,_0x237c2d,_0x46a17e)=>{const _0x34afc1=_0x2f7e98,_0x216676={'jmYRh':function(_0xeba95f,_0x320e1d,_0x23d43a,_0x324e7e){return _0xeba95f(_0x320e1d,_0x23d43a,_0x324e7e);}};for(const [_0x269f3f,_0x12f495]of SingleScreenNotifiesTasks){_0x216676[_0x34afc1(0xf0)](_0x12f495,_0x52cdda,_0x237c2d,_0x46a17e),groupMemberTasks[_0x34afc1(0xe9)](_0x269f3f);}},groupListener[_0x2f7e98(0xaf)]=(_0x260ab3,_0xfb1731)=>{const _0xd9859f=_0x2f7e98,_0x125f86={'ADMvF':function(_0x44dac0,_0x123075,_0x4d9b39){return _0x44dac0(_0x123075,_0x4d9b39);}};for(const [_0x4d698d,_0x327752]of groupMemberTasks){_0x125f86[_0xd9859f(0xd3)](_0x327752,_0x260ab3,_0xfb1731),groupMemberTasks[_0xd9859f(0xe9)](_0x4d698d);}},setTimeout(()=>{const _0x31294c=_0x2f7e98;napCatCore[_0x31294c(0xb8)](()=>{const _0x18a259=_0x31294c;napCatCore[_0x18a259(0xf2)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x569683=![]){const _0x3e2fad=_0x2f7e98,_0x3b1d7d={'kAgtr':function(_0x485c68,_0x5a2e94){return _0x485c68(_0x5a2e94);},'SVKhI':'获取群列表超时','SmyuR':function(_0x51fd85,_0x11c993){return _0x51fd85(_0x11c993);},'CtfgX':function(_0x20a578,_0x210092,_0x33b7a3){return _0x20a578(_0x210092,_0x33b7a3);},'MrEuc':_0x3e2fad(0xfd),'LqiqR':function(_0x10e114){return _0x10e114();}};let _0x31bf49=![];return new Promise((_0x1c7d5b,_0x48c254)=>{const _0xe36713=_0x3e2fad;setTimeout(()=>{const _0x5525d4=_0x20f4;!_0x31bf49&&(_0x3b1d7d[_0x5525d4(0xf5)](logDebug,_0x3b1d7d[_0x5525d4(0xc2)]),_0x3b1d7d[_0x5525d4(0xe4)](_0x48c254,_0x3b1d7d[_0x5525d4(0xc2)]));},0x1388);const _0x86730=(_0x16aca0,_0x4b0ef4)=>{const _0x104099=_0x20f4;_0x31bf49=!![],_0x3b1d7d[_0x104099(0xae)](logDebug,_0x3b1d7d[_0x104099(0xf3)],_0x4b0ef4),_0x1c7d5b(_0x4b0ef4);};groupMemberTasks['set'](_0x3b1d7d[_0xe36713(0xb4)](randomUUID),_0x86730),napCatCore[_0xe36713(0xd5)]['getGroupService']()[_0xe36713(0xe7)](_0x569683)[_0xe36713(0xf7)]();});}static async[_0x2f7e98(0xc9)](_0x515f6d){const _0x3ba844=_0x2f7e98,_0x20b219={'UBitL':function(_0x3177b0,_0x585d12){return _0x3177b0(_0x585d12);},'dtQVF':function(_0x2435cb,_0x151b4e){return _0x2435cb(_0x151b4e);},'xRiay':function(_0xa37a52,_0x46cbe6,_0x127c8e){return _0xa37a52(_0x46cbe6,_0x127c8e);},'UjfEF':_0x3ba844(0xb9),'FRsAk':function(_0x19a4f7){return _0x19a4f7();}},_0x394a42=napCatCore[_0x3ba844(0xd5)][_0x3ba844(0xb1)]();return new Promise((_0x2b4f6f,_0x382e76)=>{const _0x448ba9=_0x3ba844,_0x179b61={'MDPeL':function(_0x5032bb,_0xe3a803){return _0x20b219['UBitL'](_0x5032bb,_0xe3a803);},'cEooF':_0x448ba9(0xea),'gxvMk':function(_0x1b57d9,_0x25cc87){const _0x1fb2ce=_0x448ba9;return _0x20b219[_0x1fb2ce(0xbf)](_0x1b57d9,_0x25cc87);},'OByFT':function(_0x7f813a,_0x24f3ec,_0x54eb05){const _0x607910=_0x448ba9;return _0x20b219[_0x607910(0xd1)](_0x7f813a,_0x24f3ec,_0x54eb05);},'VrAMp':_0x20b219[_0x448ba9(0xcb)]};let _0x2dffa8=![];setTimeout(()=>{const _0x2b93f4=_0x448ba9;!_0x2dffa8&&(_0x179b61[_0x2b93f4(0xda)](logDebug,_0x179b61['cEooF']),_0x179b61[_0x2b93f4(0xe2)](_0x382e76,_0x179b61[_0x2b93f4(0xe8)]));},0x1388);const _0x3e8bb2=(_0x130542,_0x27b8b8,_0x1e0962)=>{const _0x2ee27e=_0x448ba9;_0x2dffa8=!![],_0x179b61[_0x2ee27e(0xf8)](logDebug,_0x179b61[_0x2ee27e(0xc4)],_0x1e0962),_0x179b61[_0x2ee27e(0xda)](_0x2b4f6f,_0x1e0962);};SingleScreenNotifiesTasks[_0x448ba9(0xc7)](_0x20b219[_0x448ba9(0xc6)](randomUUID),_0x3e8bb2),_0x394a42[_0x448ba9(0xc9)](![],'',_0x515f6d);});}static async['getGroupMembers'](_0x29d0c2,_0x1271a2=0xbb8){const _0x1759e5=_0x2f7e98,_0x2cdba4={'hYdUY':_0x1759e5(0xd9),'CgAfJ':function(_0x44aeed,_0x20ef11){return _0x44aeed!==_0x20ef11;},'oEOnY':function(_0x48ea47,_0x2ea52d){return _0x48ea47+_0x2ea52d;},'Tuowq':_0x1759e5(0xb3),'txehv':function(_0x542374,_0x4c6898,_0x1de7e2){return _0x542374(_0x4c6898,_0x1de7e2);}},_0x3158e6=napCatCore['session'][_0x1759e5(0xb1)](),_0x223103=_0x3158e6[_0x1759e5(0xfb)](_0x29d0c2,_0x2cdba4[_0x1759e5(0xbb)]),_0x3b4efe=await _0x3158e6['getNextMemberList'](_0x223103,undefined,_0x1271a2);if(_0x2cdba4[_0x1759e5(0xe1)](_0x3b4efe[_0x1759e5(0xee)],0x0))throw _0x2cdba4['oEOnY'](_0x2cdba4[_0x1759e5(0xce)],_0x3b4efe['errMsg']);return _0x2cdba4['txehv'](logDebug,'获取群('+_0x29d0c2+_0x1759e5(0xbd),_0x1759e5(0xad)+_0x3b4efe[_0x1759e5(0xe5)][_0x1759e5(0xdd)]),_0x3b4efe[_0x1759e5(0xe5)]['infos'][_0x1759e5(0xcc)](_0x46332b=>{const _0x4e3657=_0x1759e5;uid2UinMap[_0x46332b[_0x4e3657(0xeb)]]=_0x46332b[_0x4e3657(0xdc)];}),_0x3b4efe[_0x1759e5(0xe5)]['infos'];}static async[_0x2f7e98(0xf4)](){}static async['getGroupIgnoreNotifies'](){}static async[_0x2f7e98(0xfc)](_0x4ff027,_0x37a31e){const _0x14cf41=_0x2f7e98,_0x24d115={'nJOZV':'qun.qq.com'},_0x41bdb0=(await NTQQUserApi[_0x14cf41(0xca)]([_0x24d115[_0x14cf41(0xc1)]]))[_0x14cf41(0xd6)];return napCatCore[_0x14cf41(0xd5)][_0x14cf41(0xb1)]()['uploadGroupBulletinPic'](_0x4ff027,_0x41bdb0,_0x37a31e);}static async['handleGroupRequest'](_0x1846be,_0x1ae619,_0x4fde7b){const _0x401ac7=_0x2f7e98;return napCatCore[_0x401ac7(0xd5)][_0x401ac7(0xb1)]()[_0x401ac7(0xb7)](![],{'operateType':_0x1ae619,'targetMsg':{'seq':_0x1846be[_0x401ac7(0xcf)],'type':_0x1846be[_0x401ac7(0xc0)],'groupCode':_0x1846be[_0x401ac7(0xbe)][_0x401ac7(0xef)],'postscript':_0x4fde7b||''}});}static async['quitGroup'](_0x186338){const _0x4e11e3=_0x2f7e98;return napCatCore[_0x4e11e3(0xd5)][_0x4e11e3(0xb1)]()[_0x4e11e3(0xf1)](_0x186338);}static async[_0x2f7e98(0xde)](_0x143b13,_0x4cf708,_0x5cf3d9=![],_0x3b8255=''){const _0x34467d=_0x2f7e98;return napCatCore[_0x34467d(0xd5)]['getGroupService']()[_0x34467d(0xde)](_0x143b13,_0x4cf708,_0x5cf3d9,_0x3b8255);}static async['banMember'](_0x76d00a,_0x5d458d){const _0x53003a=_0x2f7e98;return napCatCore[_0x53003a(0xd5)][_0x53003a(0xb1)]()[_0x53003a(0xc8)](_0x76d00a,_0x5d458d);}static async['banGroup'](_0x39e87b,_0x3d2186){const _0x31814d=_0x2f7e98;return napCatCore['session'][_0x31814d(0xb1)]()[_0x31814d(0xfa)](_0x39e87b,_0x3d2186);}static async[_0x2f7e98(0xb2)](_0x5d0a72,_0x1a2675,_0x1b65b9){const _0x301e71=_0x2f7e98;return napCatCore['session'][_0x301e71(0xb1)]()[_0x301e71(0xe6)](_0x5d0a72,_0x1a2675,_0x1b65b9);}static async[_0x2f7e98(0xbc)](_0x534f16,_0x329d35,_0x44f3a7){const _0x351a8b=_0x2f7e98;return napCatCore[_0x351a8b(0xd5)]['getGroupService']()[_0x351a8b(0xdf)](_0x534f16,_0x329d35,_0x44f3a7);}static async[_0x2f7e98(0xec)](_0x55373b,_0x5469db){const _0x14408c=_0x2f7e98;return napCatCore[_0x14408c(0xd5)][_0x14408c(0xb1)]()['modifyGroupName'](_0x55373b,_0x5469db,![]);}static async[_0x2f7e98(0xed)](_0x4ae6a1,_0x13fa9b,_0x1727f2){}static async[_0x2f7e98(0xdb)](_0x5f577e,_0x595f1d,_0x1d9c61=undefined,_0x22df64=0x0,_0x5657ca=0x0){const _0xacf0f9=_0x2f7e98,_0x5887b2={'aLFKS':_0xacf0f9(0xd6),'chKZN':function(_0xd7335b,_0x3fe776){return _0xd7335b(_0x3fe776);}},_0x657e5a=(await NTQQUserApi[_0xacf0f9(0xca)]([_0x5887b2[_0xacf0f9(0xf9)]]))[_0x5887b2[_0xacf0f9(0xf9)]];let _0x3885f0={'text':_0x5887b2[_0xacf0f9(0xf6)](encodeURI,_0x595f1d),'picInfo':_0x1d9c61,'oldFeedsId':'','pinned':_0x22df64,'confirmRequired':_0x5657ca};return napCatCore[_0xacf0f9(0xd5)][_0xacf0f9(0xb1)]()['publishGroupBulletin'](_0x5f577e,_0x657e5a,_0x3885f0);}} \ 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 0dbe85d8..74f720b0 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x8b0a4c,_0x4858c1){var _0x91c967=_0xa02a,_0x4d6a49=_0x8b0a4c();while(!![]){try{var _0x5ecf4d=-parseInt(_0x91c967(0x1cb))/0x1*(parseInt(_0x91c967(0x1ca))/0x2)+-parseInt(_0x91c967(0x1c9))/0x3+-parseInt(_0x91c967(0x1c8))/0x4+-parseInt(_0x91c967(0x1ce))/0x5+parseInt(_0x91c967(0x1cf))/0x6*(-parseInt(_0x91c967(0x1cd))/0x7)+parseInt(_0x91c967(0x1d0))/0x8+parseInt(_0x91c967(0x1cc))/0x9;if(_0x5ecf4d===_0x4858c1)break;else _0x4d6a49['push'](_0x4d6a49['shift']());}catch(_0x52832d){_0x4d6a49['push'](_0x4d6a49['shift']());}}}(_0x51ac,0xcf2f5));export*from'./file';export*from'./friend';function _0xa02a(_0x2dbf1e,_0x54224f){var _0x51acc5=_0x51ac();return _0xa02a=function(_0xa02a76,_0x3c3ca6){_0xa02a76=_0xa02a76-0x1c8;var _0x521a92=_0x51acc5[_0xa02a76];return _0x521a92;},_0xa02a(_0x2dbf1e,_0x54224f);}export*from'./group';export*from'./msg';export*from'./user';function _0x51ac(){var _0x5b88d5=['27475785XovubX','1962079IXDKcZ','625605CpDPVk','6kRQqKN','7095064ozqHRD','1249620oOYrqn','2262042pOVioH','4LrEFkk','809641cxCntO'];_0x51ac=function(){return _0x5b88d5;};return _0x51ac();}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x43d74b,_0x4d7025){var _0xb8069b=_0x5502,_0x3bade2=_0x43d74b();while(!![]){try{var _0x11b385=-parseInt(_0xb8069b(0x95))/0x1*(parseInt(_0xb8069b(0x94))/0x2)+parseInt(_0xb8069b(0x96))/0x3+parseInt(_0xb8069b(0x9a))/0x4*(-parseInt(_0xb8069b(0x99))/0x5)+-parseInt(_0xb8069b(0x97))/0x6+-parseInt(_0xb8069b(0x93))/0x7*(parseInt(_0xb8069b(0x9c))/0x8)+parseInt(_0xb8069b(0x98))/0x9*(parseInt(_0xb8069b(0x92))/0xa)+parseInt(_0xb8069b(0x9b))/0xb;if(_0x11b385===_0x4d7025)break;else _0x3bade2['push'](_0x3bade2['shift']());}catch(_0x1ff391){_0x3bade2['push'](_0x3bade2['shift']());}}}(_0x5bc4,0x19d48));function _0x5502(_0x53635d,_0x554fb8){var _0x5bc4ef=_0x5bc4();return _0x5502=function(_0x550215,_0x5ab489){_0x550215=_0x550215-0x92;var _0x8d0a0=_0x5bc4ef[_0x550215];return _0x8d0a0;},_0x5502(_0x53635d,_0x554fb8);}export*from'./file';export*from'./friend';function _0x5bc4(){var _0x6d264d=['265368qVeGNb','3412244WldNFD','27760UjxOuO','1941850NyHHWc','406OflXxf','180218FdLIDh','2xsyQdI','499053taggLF','304668JxHbkw','9QrBixe','10VZpAUa'];_0x5bc4=function(){return _0x6d264d;};return _0x5bc4();}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 7fd9992e..2255ac60 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x30cb41=_0x59ff;(function(_0x3022f9,_0x6e30d5){const _0x4872af=_0x59ff,_0x8bfb80=_0x3022f9();while(!![]){try{const _0x230b1e=-parseInt(_0x4872af(0x1f4))/0x1*(parseInt(_0x4872af(0x1f0))/0x2)+parseInt(_0x4872af(0x1e2))/0x3*(-parseInt(_0x4872af(0x1d8))/0x4)+parseInt(_0x4872af(0x1c5))/0x5*(parseInt(_0x4872af(0x1e9))/0x6)+parseInt(_0x4872af(0x1c8))/0x7+-parseInt(_0x4872af(0x1dc))/0x8+parseInt(_0x4872af(0x1be))/0x9+parseInt(_0x4872af(0x1cd))/0xa;if(_0x230b1e===_0x6e30d5)break;else _0x8bfb80['push'](_0x8bfb80['shift']());}catch(_0x9292c0){_0x8bfb80['push'](_0x8bfb80['shift']());}}}(_0x49e5,0xcce29));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';function _0x49e5(){const _0x112701=['nick','setMsgRead','lLXJJ','pICDg','1725600bOabtL','bytesData','onAddSendMsg','LdMLI','WShNY','length','arkElement','session','WWTwo','WLNcB','set','960VwkZKD','lrcgB','sendMsg','dnXpv','3098024lBhnaf','recallMsg','toString','catch','tscsN','sendStatus','12447wwoysa','AnSHz','setMsgEmojiLikes','RLfsk','peerUid','find','TOPUb','2263416nPlugK','getMsgsByMsgId','转发消息超时','forEach','multiForwardMsgWithComment','activateChatAndGetHistory','TkKkp','2BMZFBt','HXQML','getMsgHistory','com.tencent.multimsg','1483967inVqKF','发送超时','kCqxA','parse','gyxGc','RUIWS','getMsgService','senderUid','wUGzy','then','xAlSN','msgId','vXURw','15007995fUOXIM','app','delete','getMsgsIncludeSelf','addListener','setEmojiLike','elements','5ZbQWxV','forwardMsg','getMultiMsg','10421866BVnUKB'];_0x49e5=function(){return _0x112701;};return _0x49e5();}import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x59ff(_0x25e658,_0x2dcbc0){const _0x49e5a5=_0x49e5();return _0x59ff=function(_0x59ffc4,_0x10b02a){_0x59ffc4=_0x59ffc4-0x1be;let _0x3f6170=_0x49e5a5[_0x59ffc4];return _0x3f6170;},_0x59ff(_0x25e658,_0x2dcbc0);}const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x30cb41(0x1cf)]=_0x4e8021=>{const _0x88b457=_0x30cb41,_0x5adbb4={'wUGzy':function(_0x5df2fb,_0x45c29f){return _0x5df2fb(_0x45c29f);},'gyxGc':function(_0x2645d1,_0x1328c6){return _0x2645d1 instanceof _0x1328c6;}};for(const [_0x389684,_0x321bf2]of sentMsgTasks){_0x5adbb4[_0x88b457(0x1fc)](_0x321bf2,_0x4e8021),sentMsgTasks[_0x88b457(0x1c0)](_0x389684);}if(sendMessagePool[_0x4e8021[_0x88b457(0x1e6)]]){const _0x226c64=sendMessagePool[_0x4e8021[_0x88b457(0x1e6)]]?.(_0x4e8021);_0x5adbb4[_0x88b457(0x1f8)](_0x226c64,Promise)&&_0x226c64[_0x88b457(0x1fd)]()[_0x88b457(0x1df)](logError);}},msgListener['onMsgInfoListUpdate']=_0x45e400=>{const _0x928700=_0x30cb41,_0x8bd207={'lrcgB':function(_0x4d2624,_0xc7b2e9){return _0x4d2624(_0xc7b2e9);},'RLfsk':function(_0x237c25,_0x19b561){return _0x237c25 instanceof _0x19b561;}};_0x45e400[_0x928700(0x1ec)](_0x39a2d5=>{const _0x1ceccf=_0x928700;new Promise((_0x3e5d2f,_0x3605f4)=>{const _0x7c327f=_0x59ff;for(const _0x500282 in sendSuccessCBMap){const _0x5de747=sendSuccessCBMap[_0x500282],_0x10c9ee=_0x8bd207[_0x7c327f(0x1d9)](_0x5de747,_0x39a2d5),_0xe013ba=_0x46dbf8=>{_0x46dbf8&&delete sendSuccessCBMap[_0x500282];};_0x8bd207[_0x7c327f(0x1e5)](_0x10c9ee,Promise)?_0x10c9ee['then'](_0xe013ba):_0x8bd207[_0x7c327f(0x1d9)](_0xe013ba,_0x10c9ee);}})[_0x1ceccf(0x1fd)]()[_0x1ceccf(0x1df)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x368ad5=_0x59ff;napCatCore[_0x368ad5(0x1c2)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x30cb41(0x1c3)](_0x3016ed,_0x367773,_0x1bb3f1,_0x568cca=!![]){const _0x1e0f89=_0x30cb41,_0x1be4bd={'TOPUb':function(_0x54f6fb,_0x241022){return _0x54f6fb>_0x241022;}};return _0x1bb3f1=_0x1bb3f1[_0x1e0f89(0x1de)](),napCatCore[_0x1e0f89(0x1d4)]['getMsgService']()[_0x1e0f89(0x1e4)](_0x3016ed,_0x367773,_0x1bb3f1,_0x1be4bd[_0x1e0f89(0x1e8)](_0x1bb3f1[_0x1e0f89(0x1d2)],0x3)?'2':'1',_0x568cca);}static async[_0x30cb41(0x1c7)](_0x3c875a,_0x193641,_0x2de747){const _0x3e688e=_0x30cb41;return napCatCore[_0x3e688e(0x1d4)][_0x3e688e(0x1fa)]()['getMultiMsg'](_0x3c875a,_0x193641,_0x2de747);}static async[_0x30cb41(0x1ea)](_0x2ab4a3,_0x3c721d){const _0x206e15=_0x30cb41;return await napCatCore[_0x206e15(0x1d4)][_0x206e15(0x1fa)]()[_0x206e15(0x1ea)](_0x2ab4a3,_0x3c721d);}static async['getMsgsBySeqAndCount'](_0x5695a0,_0x19fba2,_0x156418,_0x253fe7,_0x27f940){const _0x2d0511=_0x30cb41;return await napCatCore[_0x2d0511(0x1d4)][_0x2d0511(0x1fa)]()['getMsgsBySeqAndCount'](_0x5695a0,_0x19fba2,_0x156418,_0x253fe7,_0x27f940);}static async['activateChat'](_0x490621){}static async[_0x30cb41(0x1ee)](_0x361168){}static async['setMsgRead'](_0x2ba140){const _0x39bd30=_0x30cb41;return napCatCore[_0x39bd30(0x1d4)][_0x39bd30(0x1fa)]()[_0x39bd30(0x1ca)](_0x2ba140);}static async[_0x30cb41(0x1f2)](_0x448644,_0x1a8d16,_0x116395){const _0x2543e5=_0x30cb41;return napCatCore[_0x2543e5(0x1d4)][_0x2543e5(0x1fa)]()[_0x2543e5(0x1c1)](_0x448644,_0x1a8d16,_0x116395,!![]);}static async['fetchRecentContact'](){}static async[_0x30cb41(0x1dd)](_0x3fd539,_0x39534e){const _0x5e5be4=_0x30cb41;await napCatCore[_0x5e5be4(0x1d4)][_0x5e5be4(0x1fa)]()['recallMsg']({'chatType':_0x3fd539['chatType'],'peerUid':_0x3fd539[_0x5e5be4(0x1e6)]},_0x39534e);}static async[_0x30cb41(0x1da)](_0x11686f,_0x147bb1,_0x153f3e=!![],_0x373398=0x2710){const _0x3de477=_0x30cb41,_0x46e509={'AnSHz':function(_0x5a3d26,_0x306970){return _0x5a3d26>_0x306970;},'lLXJJ':_0x3de477(0x1f5),'tscsN':function(_0x4a47b7,_0xc77708){return _0x4a47b7(_0xc77708);},'vXURw':function(_0x417b84){return _0x417b84();},'qiMLU':function(_0x36cc7f,_0x433f25){return _0x36cc7f===_0x433f25;},'LdMLI':function(_0x3dda34,_0x123311){return _0x3dda34(_0x123311);},'kCqxA':function(_0x18b551,_0x40b0e4,_0xdfb80a){return _0x18b551(_0x40b0e4,_0xdfb80a);},'WShNY':function(_0x16b471){return _0x16b471();}},_0x1d8e36=_0x11686f['peerUid'];let _0x4c8d28=0x0;const _0x1593e6=async()=>{const _0x6a85b4=_0x3de477;if(_0x46e509[_0x6a85b4(0x1e3)](_0x4c8d28,_0x373398))throw _0x46e509[_0x6a85b4(0x1cb)];const _0x2137cc=sendMessagePool[_0x11686f[_0x6a85b4(0x1e6)]];if(_0x2137cc)return await _0x46e509[_0x6a85b4(0x1e0)](sleep,0x1f4),_0x4c8d28+=0x1f4,await _0x46e509[_0x6a85b4(0x200)](_0x1593e6);else return;};return await _0x46e509[_0x3de477(0x1d1)](_0x1593e6),new Promise((_0x37dd63,_0x2b09fc)=>{const _0x2305f7=_0x3de477,_0x39de79={'xAlSN':function(_0x3b7714,_0x1aaa7f){return _0x46e509['qiMLU'](_0x3b7714,_0x1aaa7f);},'WWTwo':function(_0x371af0,_0x244a40){const _0x29c9cc=_0x59ff;return _0x46e509[_0x29c9cc(0x1d0)](_0x371af0,_0x244a40);},'TkKkp':_0x46e509['lLXJJ']};let _0x29ad27=![],_0x42d7a3=null;const _0x39b1ec=_0x46e509[_0x2305f7(0x200)](randomUUID);sendSuccessCBMap[_0x39b1ec]=_0xdd6c=>{const _0x547af1=_0x2305f7;if(_0x39de79[_0x547af1(0x1fe)](_0xdd6c[_0x547af1(0x1ff)],_0x42d7a3?.[_0x547af1(0x1ff)])){if(_0xdd6c[_0x547af1(0x1e1)]===0x2)return delete sendSuccessCBMap[_0x39b1ec],_0x29ad27=!![],_0x37dd63(_0xdd6c),!![];return![];}return![];},sendMessagePool[_0x1d8e36]=async _0x4f28f8=>{delete sendMessagePool[_0x1d8e36],_0x42d7a3=_0x4f28f8;},_0x46e509[_0x2305f7(0x1f6)](setTimeout,()=>{const _0x36f468=_0x2305f7;if(_0x29ad27)return;delete sendMessagePool[_0x1d8e36],delete sendSuccessCBMap[_0x39b1ec],_0x39de79[_0x36f468(0x1d5)](_0x2b09fc,_0x39de79[_0x36f468(0x1ef)]);},_0x373398);const _0xc55aca=napCatCore['session'][_0x2305f7(0x1fa)]()['sendMsg']('0',_0x11686f,_0x147bb1,new Map());});}static async[_0x30cb41(0x1c6)](_0xa13fef,_0x4cecb9,_0x14aa3a){const _0x535803=_0x30cb41;return napCatCore['session'][_0x535803(0x1fa)]()[_0x535803(0x1c6)](_0x14aa3a,_0xa13fef,[_0x4cecb9],new Map());}static async['multiForwardMsg'](_0x1d4452,_0x839b2e,_0x5487ef){const _0x18a76b=_0x30cb41,_0x1dee4b={'pICDg':function(_0x36eaca,_0x5915bf){return _0x36eaca==_0x5915bf;},'RUIWS':_0x18a76b(0x1eb),'dnXpv':function(_0x50de1e){return _0x50de1e();},'tGhDq':function(_0x4d5e37,_0x32578c,_0x31c3ee){return _0x4d5e37(_0x32578c,_0x31c3ee);}},_0x38c094=_0x5487ef['map'](_0x1e33bf=>{const _0xedab60=_0x18a76b;return{'msgId':_0x1e33bf,'senderShowName':selfInfo[_0xedab60(0x1c9)]};});return new Promise((_0x15cd33,_0x18f261)=>{const _0x49bdc7=_0x18a76b,_0x4f0769={'WLNcB':function(_0x45bd0a,_0x2fdf32){return _0x45bd0a(_0x2fdf32);},'HXQML':_0x1dee4b[_0x49bdc7(0x1f9)]};let _0x5d7a8d=![];const _0x4eae96=_0x5e9915=>{const _0x439786=_0x49bdc7,_0xfbb0ed=_0x5e9915[_0x439786(0x1c4)][_0x439786(0x1e7)](_0x2e0539=>_0x2e0539[_0x439786(0x1d3)]);if(!_0xfbb0ed)return;const _0x597d36=JSON[_0x439786(0x1f7)](_0xfbb0ed[_0x439786(0x1d3)][_0x439786(0x1ce)]);if(_0x597d36[_0x439786(0x1bf)]!=_0x439786(0x1f3))return;_0x1dee4b[_0x439786(0x1cc)](_0x5e9915[_0x439786(0x1e6)],_0x839b2e[_0x439786(0x1e6)])&&_0x1dee4b['pICDg'](_0x5e9915[_0x439786(0x1fb)],selfInfo['uid'])&&(_0x5d7a8d=!![],_0x15cd33(_0x5e9915));};sentMsgTasks[_0x49bdc7(0x1d7)](_0x1dee4b[_0x49bdc7(0x1db)](randomUUID),_0x4eae96),_0x1dee4b['tGhDq'](setTimeout,()=>{const _0x50b971=_0x49bdc7;!_0x5d7a8d&&_0x4f0769[_0x50b971(0x1d6)](_0x18f261,_0x4f0769[_0x50b971(0x1f1)]);},0x1388),napCatCore['session']['getMsgService']()[_0x49bdc7(0x1ed)](_0x38c094,_0x1d4452,_0x839b2e,[],new Map());});}} \ No newline at end of file +const _0x19faf9=_0x289e;(function(_0x87a057,_0x4c18aa){const _0x309d42=_0x289e,_0x1c0508=_0x87a057();while(!![]){try{const _0x2ed9a4=-parseInt(_0x309d42(0x8c))/0x1+-parseInt(_0x309d42(0x8e))/0x2*(parseInt(_0x309d42(0x9f))/0x3)+-parseInt(_0x309d42(0x8b))/0x4*(-parseInt(_0x309d42(0xa0))/0x5)+-parseInt(_0x309d42(0x84))/0x6+-parseInt(_0x309d42(0xab))/0x7+-parseInt(_0x309d42(0x83))/0x8*(-parseInt(_0x309d42(0xa5))/0x9)+parseInt(_0x309d42(0x9c))/0xa*(-parseInt(_0x309d42(0x7b))/0xb);if(_0x2ed9a4===_0x4c18aa)break;else _0x1c0508['push'](_0x1c0508['shift']());}catch(_0x45ebb3){_0x1c0508['push'](_0x1c0508['shift']());}}}(_0x3c5b,0x7f919));import{selfInfo}from'@/core/data';function _0x289e(_0x1c4dc2,_0x5d0925){const _0x3c5b61=_0x3c5b();return _0x289e=function(_0x289e9a,_0x1bf056){_0x289e9a=_0x289e9a-0x7a;let _0x43847b=_0x3c5b61[_0x289e9a];return _0x43847b;},_0x289e(_0x1c4dc2,_0x5d0925);}import{log,logError}from'@/common/utils/log';function _0x3c5b(){const _0x344c10=['QIprU','sendStatus','arkElement','msgId','multiForwardMsgWithComment','app','bytesData','com.tencent.multimsg','catch','88Uljivn','uid','mwtwn','getMsgsByMsgId','recallMsg','setEmojiLike','elements','setMsgEmojiLikes','8ljwGRM','1730892EbWHme','发送超时','setMsgRead','onAddSendMsg','dFVUK','FOttn','getMsgsIncludeSelf','4SnvVkv','234102kImVwq','ezwoC','486vcSxgu','multiForwardMsg','delete','length','nfeli','session','xVtWL','getMsgService','Ddkhx','getMsgHistory','forEach','SSjNs','activateChat','sendMsg','200560YcbVpo','getMsgsBySeqAndCount','toString','3447faNesn','3829370jovHse','peerUid','ccscT','onMsgInfoListUpdate','forwardMsg','6969006XiuyhY','then','fetchRecentContact','FoxsV','chatType','fHche','388136axYNQx','set','VTBBz'];_0x3c5b=function(){return _0x344c10;};return _0x3c5b();}import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x19faf9(0x87)]=_0x338498=>{const _0x5af524=_0x19faf9,_0x297157={'fHche':function(_0x523b46,_0x1148fa){return _0x523b46(_0x1148fa);},'mwtwn':function(_0xd5dbc2,_0x1dd748){return _0xd5dbc2 instanceof _0x1dd748;}};for(const [_0x1b04b7,_0xb81d4b]of sentMsgTasks){_0x297157[_0x5af524(0xaa)](_0xb81d4b,_0x338498),sentMsgTasks[_0x5af524(0x90)](_0x1b04b7);}if(sendMessagePool[_0x338498[_0x5af524(0xa1)]]){const _0x12858f=sendMessagePool[_0x338498[_0x5af524(0xa1)]]?.(_0x338498);_0x297157[_0x5af524(0x7d)](_0x12858f,Promise)&&_0x12858f['then']()[_0x5af524(0x7a)](logError);}},msgListener[_0x19faf9(0xa3)]=_0x3954b5=>{const _0x181284=_0x19faf9,_0x434133={'VTBBz':function(_0x2c034d,_0x47a26a){return _0x2c034d(_0x47a26a);},'Ddkhx':function(_0x454a40,_0x33d6c4){return _0x454a40 instanceof _0x33d6c4;}};_0x3954b5[_0x181284(0x98)](_0x26420a=>{const _0x48fd29=_0x181284,_0x13f7e3={'kOCFG':function(_0x5bca0e,_0x581a0f){const _0x160bfa=_0x289e;return _0x434133[_0x160bfa(0xad)](_0x5bca0e,_0x581a0f);},'aUECc':function(_0x3154a4,_0x2e2577){const _0x358491=_0x289e;return _0x434133[_0x358491(0x96)](_0x3154a4,_0x2e2577);},'FoxsV':function(_0x4919e9,_0x3a941c){const _0x2e8b4f=_0x289e;return _0x434133[_0x2e8b4f(0xad)](_0x4919e9,_0x3a941c);}};new Promise((_0x791745,_0x314623)=>{const _0x23471a=_0x289e;for(const _0x3778d6 in sendSuccessCBMap){const _0x2c348e=sendSuccessCBMap[_0x3778d6],_0x13b09f=_0x13f7e3['kOCFG'](_0x2c348e,_0x26420a),_0xb89e92=_0x4ef6c7=>{_0x4ef6c7&&delete sendSuccessCBMap[_0x3778d6];};_0x13f7e3['aUECc'](_0x13b09f,Promise)?_0x13b09f[_0x23471a(0xa6)](_0xb89e92):_0x13f7e3[_0x23471a(0xa8)](_0xb89e92,_0x13b09f);}})[_0x48fd29(0xa6)]()[_0x48fd29(0x7a)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x19faf9(0x80)](_0x28594c,_0x920d1a,_0xe8a120,_0x4d7d00=!![]){const _0x164bd=_0x19faf9;return _0xe8a120=_0xe8a120[_0x164bd(0x9e)](),napCatCore[_0x164bd(0x93)][_0x164bd(0x95)]()[_0x164bd(0x82)](_0x28594c,_0x920d1a,_0xe8a120,_0xe8a120[_0x164bd(0x91)]>0x3?'2':'1',_0x4d7d00);}static async['getMultiMsg'](_0x489c2d,_0x51b8a8,_0x526fc8){const _0x30e569=_0x19faf9;return napCatCore[_0x30e569(0x93)][_0x30e569(0x95)]()['getMultiMsg'](_0x489c2d,_0x51b8a8,_0x526fc8);}static async[_0x19faf9(0x7e)](_0x525c00,_0x4f23b3){const _0x36d04d=_0x19faf9;return await napCatCore[_0x36d04d(0x93)][_0x36d04d(0x95)]()[_0x36d04d(0x7e)](_0x525c00,_0x4f23b3);}static async[_0x19faf9(0x9d)](_0x5046f2,_0x53c1b7,_0x219c5c,_0x31c82c,_0x177e03){const _0x46f884=_0x19faf9;return await napCatCore['session']['getMsgService']()[_0x46f884(0x9d)](_0x5046f2,_0x53c1b7,_0x219c5c,_0x31c82c,_0x177e03);}static async[_0x19faf9(0x9a)](_0x24f7d1){}static async['activateChatAndGetHistory'](_0x207394){}static async[_0x19faf9(0x86)](_0xccac62){const _0x27168d=_0x19faf9;return napCatCore[_0x27168d(0x93)][_0x27168d(0x95)]()['setMsgRead'](_0xccac62);}static async[_0x19faf9(0x97)](_0x41f55d,_0x5a9441,_0x7bd3bd){const _0x5a1027=_0x19faf9;return napCatCore[_0x5a1027(0x93)][_0x5a1027(0x95)]()[_0x5a1027(0x8a)](_0x41f55d,_0x5a9441,_0x7bd3bd,!![]);}static async[_0x19faf9(0xa7)](){}static async[_0x19faf9(0x7f)](_0x1fa408,_0x74242f){const _0x4813e2=_0x19faf9;await napCatCore[_0x4813e2(0x93)][_0x4813e2(0x95)]()[_0x4813e2(0x7f)]({'chatType':_0x1fa408[_0x4813e2(0xa9)],'peerUid':_0x1fa408['peerUid']},_0x74242f);}static async[_0x19faf9(0x9b)](_0x3543f2,_0x5c57cd,_0x1dde9f=!![],_0x4c07f1=0x2710){const _0x415f80=_0x19faf9,_0x32a650={'dFVUK':function(_0x258509,_0x180dd7){return _0x258509>_0x180dd7;},'QIprU':_0x415f80(0x85),'ezwoC':function(_0xdf5465,_0x2056f8){return _0xdf5465===_0x2056f8;},'FOttn':function(_0x3ab87d,_0x431a23){return _0x3ab87d(_0x431a23);},'qGhNy':function(_0x13b878,_0x186c0f){return _0x13b878(_0x186c0f);},'JZMyK':function(_0xf08f83){return _0xf08f83();},'Jyoec':function(_0x473f36,_0x5c52cb,_0x13fb95){return _0x473f36(_0x5c52cb,_0x13fb95);},'Fossz':function(_0x4bbcb6){return _0x4bbcb6();}},_0xd23295=_0x3543f2[_0x415f80(0xa1)];let _0x5d2e3c=0x0;const _0x1ca56d=async()=>{const _0xee531f=_0x415f80;if(_0x32a650[_0xee531f(0x88)](_0x5d2e3c,_0x4c07f1))throw _0x32a650[_0xee531f(0xae)];const _0x31207b=sendMessagePool[_0x3543f2[_0xee531f(0xa1)]];if(_0x31207b)return await sleep(0x1f4),_0x5d2e3c+=0x1f4,await _0x1ca56d();else return;};return await _0x32a650['Fossz'](_0x1ca56d),new Promise((_0x110161,_0xe74151)=>{const _0x20e31d=_0x415f80;let _0x134652=![],_0x5783a6=null;const _0x17bbca=_0x32a650['JZMyK'](randomUUID);sendSuccessCBMap[_0x17bbca]=_0xa188ef=>{const _0x134993=_0x289e;if(_0x32a650[_0x134993(0x8d)](_0xa188ef[_0x134993(0xb1)],_0x5783a6?.[_0x134993(0xb1)])){if(_0x32a650[_0x134993(0x8d)](_0xa188ef[_0x134993(0xaf)],0x2))return delete sendSuccessCBMap[_0x17bbca],_0x134652=!![],_0x32a650[_0x134993(0x89)](_0x110161,_0xa188ef),!![];return![];}return![];},sendMessagePool[_0xd23295]=async _0x3bc85a=>{delete sendMessagePool[_0xd23295],_0x5783a6=_0x3bc85a;},_0x32a650['Jyoec'](setTimeout,()=>{if(_0x134652)return;delete sendMessagePool[_0xd23295],delete sendSuccessCBMap[_0x17bbca],_0x32a650['qGhNy'](_0xe74151,_0x32a650['QIprU']);},_0x4c07f1);const _0xaf1b64=napCatCore[_0x20e31d(0x93)][_0x20e31d(0x95)]()['sendMsg']('0',_0x3543f2,_0x5c57cd,new Map());});}static async[_0x19faf9(0xa4)](_0x34f4c1,_0x3215ce,_0x1e9566){const _0x24271e=_0x19faf9;return napCatCore[_0x24271e(0x93)][_0x24271e(0x95)]()[_0x24271e(0xa4)](_0x1e9566,_0x34f4c1,[_0x3215ce],new Map());}static async[_0x19faf9(0x8f)](_0x41bef5,_0x4176b6,_0x4e9cdc){const _0x9c9927=_0x19faf9,_0x44b1d1={'vMtqb':function(_0x25a145,_0x23dea7){return _0x25a145!=_0x23dea7;},'xVtWL':_0x9c9927(0xb5),'nfeli':function(_0x4bf221,_0x4e7049){return _0x4bf221==_0x4e7049;},'wObVS':function(_0x5186ef,_0x575070){return _0x5186ef==_0x575070;},'SSjNs':function(_0x1096f2,_0x31646d){return _0x1096f2(_0x31646d);},'ccscT':function(_0x6b0744){return _0x6b0744();},'NeXuQ':function(_0x4a092c,_0x2c0a72,_0x25a318){return _0x4a092c(_0x2c0a72,_0x25a318);}},_0x98aaf3=_0x4e9cdc['map'](_0x15fec8=>{return{'msgId':_0x15fec8,'senderShowName':selfInfo['nick']};});return new Promise((_0x25bd8f,_0x407d69)=>{const _0x248c98=_0x9c9927;let _0x31292b=![];const _0x2e5033=_0x821d1c=>{const _0x4015e1=_0x289e,_0x163964=_0x821d1c[_0x4015e1(0x81)]['find'](_0x35f732=>_0x35f732['arkElement']);if(!_0x163964)return;const _0x46ab61=JSON['parse'](_0x163964[_0x4015e1(0xb0)][_0x4015e1(0xb4)]);if(_0x44b1d1['vMtqb'](_0x46ab61[_0x4015e1(0xb3)],_0x44b1d1[_0x4015e1(0x94)]))return;_0x44b1d1[_0x4015e1(0x92)](_0x821d1c[_0x4015e1(0xa1)],_0x4176b6['peerUid'])&&_0x44b1d1['wObVS'](_0x821d1c['senderUid'],selfInfo[_0x4015e1(0x7c)])&&(_0x31292b=!![],_0x44b1d1[_0x4015e1(0x99)](_0x25bd8f,_0x821d1c));};sentMsgTasks[_0x248c98(0xac)](_0x44b1d1[_0x248c98(0xa2)](randomUUID),_0x2e5033),_0x44b1d1['NeXuQ'](setTimeout,()=>{const _0x5c97bc=_0x248c98;!_0x31292b&&_0x44b1d1[_0x5c97bc(0x99)](_0x407d69,'转发消息超时');},0x1388),napCatCore[_0x248c98(0x93)][_0x248c98(0x95)]()[_0x248c98(0xb2)](_0x98aaf3,_0x41bef5,_0x4176b6,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index cf598ca5..6ab64859 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x55bade=_0x19a1;(function(_0x332b9b,_0x311906){var _0x5cd812=_0x19a1,_0x4d0be8=_0x332b9b();while(!![]){try{var _0x258605=-parseInt(_0x5cd812(0x1de))/0x1+parseInt(_0x5cd812(0x1e5))/0x2*(parseInt(_0x5cd812(0x1e6))/0x3)+parseInt(_0x5cd812(0x1dd))/0x4*(-parseInt(_0x5cd812(0x1e0))/0x5)+-parseInt(_0x5cd812(0x1e1))/0x6*(-parseInt(_0x5cd812(0x1df))/0x7)+-parseInt(_0x5cd812(0x1da))/0x8*(parseInt(_0x5cd812(0x1db))/0x9)+parseInt(_0x5cd812(0x1dc))/0xa*(parseInt(_0x5cd812(0x1e3))/0xb)+parseInt(_0x5cd812(0x1e2))/0xc*(-parseInt(_0x5cd812(0x1e4))/0xd);if(_0x258605===_0x311906)break;else _0x4d0be8['push'](_0x4d0be8['shift']());}catch(_0x365425){_0x4d0be8['push'](_0x4d0be8['shift']());}}}(_0xcfe8,0x52561));function _0x19a1(_0x4b194c,_0x47b710){var _0xcfe846=_0xcfe8();return _0x19a1=function(_0x19a1fc,_0x4188f5){_0x19a1fc=_0x19a1fc-0x1da;var _0x1032a5=_0xcfe846[_0x19a1fc];return _0x1032a5;},_0x19a1(_0x4b194c,_0x47b710);}import{napCatCore}from'@/core';function _0xcfe8(){var _0x13629b=['12FRGMYk','12iKnDEw','442948HTrVkv','895427sdFJVY','305738ADQihf','3JrkpvY','hasOtherRunningQQProcess','215624kUxhQK','189xifkNG','130YmBAPj','248nmifAk','26644ZwNsvo','1692278BXtgve','12990lMEZRK'];_0xcfe8=function(){return _0x13629b;};return _0xcfe8();}export class NTQQSystemApi{static async[_0x55bade(0x1e7)](){return napCatCore['util']['hasOtherRunningQQProcess']();}} \ No newline at end of file +var _0x21fd98=_0x30b8;(function(_0x4a17ec,_0x11660b){var _0x15eda1=_0x30b8,_0x28426f=_0x4a17ec();while(!![]){try{var _0x17e6d2=-parseInt(_0x15eda1(0xaa))/0x1*(parseInt(_0x15eda1(0xad))/0x2)+-parseInt(_0x15eda1(0xa9))/0x3+-parseInt(_0x15eda1(0xa6))/0x4+-parseInt(_0x15eda1(0xa5))/0x5+parseInt(_0x15eda1(0xa2))/0x6*(-parseInt(_0x15eda1(0xab))/0x7)+parseInt(_0x15eda1(0xa7))/0x8*(-parseInt(_0x15eda1(0xa3))/0x9)+parseInt(_0x15eda1(0xa1))/0xa*(parseInt(_0x15eda1(0xa4))/0xb);if(_0x17e6d2===_0x11660b)break;else _0x28426f['push'](_0x28426f['shift']());}catch(_0x42ec51){_0x28426f['push'](_0x28426f['shift']());}}}(_0x52dd,0x7ffe6));function _0x52dd(){var _0x390190=['3298436kTLmDA','793304lqJIkI','hasOtherRunningQQProcess','323772Zvhqpo','4MxTpxD','28fqBIBm','util','218948GjefgG','449090gUJazf','436314ijEzfn','9QXnOXR','737WWtXyH','3620865NPxMRR'];_0x52dd=function(){return _0x390190;};return _0x52dd();}import{napCatCore}from'@/core';function _0x30b8(_0x57573e,_0x1603a1){var _0x52dde3=_0x52dd();return _0x30b8=function(_0x30b85a,_0x2a0416){_0x30b85a=_0x30b85a-0xa1;var _0x4e119f=_0x52dde3[_0x30b85a];return _0x4e119f;},_0x30b8(_0x57573e,_0x1603a1);}export class NTQQSystemApi{static async[_0x21fd98(0xa8)](){var _0x37eb14=_0x21fd98;return napCatCore[_0x37eb14(0xac)][_0x37eb14(0xa8)]();}} \ 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 c4c86e6e..4ce34c63 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x4d1dfe=_0x5049;function _0x2f0c(){const _0x29c0b3=['XxmLE','forEach','assign','mmvzJ','setBuddyProfileLike','HttpsGetCookies','now','setHeader','1JekbIs','oJvnf','like','result','vcJVA','JoAEB','rJzox','forceFetchClientKey','getPSkey','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','请求获取Skey时失败','6vyINlF','rmAml','response','getRobotService','keyIndex','oqhlT','OMFwX','22NVEHwJ','push','onLoginSuccess','2134464CGTInQ','onProfileDetailInfoChanged','getTicketService','domainPskeyMap','getTipOffService','获取Pskey失败','1651407uIxPuv','entries','KssWg','231273XiVPvd','tJDiK','getMsgService','gozIL','Skey','getUserInfo','setStatus','getSkey','session','EUWSB','uid','grNCZ','setSelfOnlineStatus','getProfileService','get','fromEntries','getPskey','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','errMsg','length','clientKey','set','PskeyData','delete','PskeyTime','8vJsGQy','getRobotUinRange','2989pKxjse','then','bzDcU','bvQaZ','1099648obgZUn','skey','CreatTime','JMYtA','getProfileLikeService','&clientkey=','9576fprzkB','6348190EdnEXw','kJhkZ','460rSAcPU','AFZnl','22220705vyjcsD'];_0x2f0c=function(){return _0x29c0b3;};return _0x2f0c();}(function(_0x1420c2,_0x54c427){const _0x5d4dba=_0x5049,_0x11c573=_0x1420c2();while(!![]){try{const _0x564f5a=-parseInt(_0x5d4dba(0xec))/0x1*(parseInt(_0x5d4dba(0x129))/0x2)+parseInt(_0x5d4dba(0x107))/0x3*(parseInt(_0x5d4dba(0x123))/0x4)+-parseInt(_0x5d4dba(0xdf))/0x5*(parseInt(_0x5d4dba(0xf7))/0x6)+parseInt(_0x5d4dba(0x125))/0x7*(parseInt(_0x5d4dba(0xde))/0x8)+-parseInt(_0x5d4dba(0x10a))/0x9*(parseInt(_0x5d4dba(0xe1))/0xa)+-parseInt(_0x5d4dba(0xfe))/0xb*(-parseInt(_0x5d4dba(0x101))/0xc)+parseInt(_0x5d4dba(0xe3))/0xd;if(_0x564f5a===_0x54c427)break;else _0x11c573['push'](_0x11c573['shift']());}catch(_0x2fd7ae){_0x11c573['push'](_0x11c573['shift']());}}}(_0x2f0c,0xa4eea));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';function _0x5049(_0x17f3ad,_0x4823cd){const _0x2f0c44=_0x2f0c();return _0x5049=function(_0x50493d,_0x4c6ff5){_0x50493d=_0x50493d-0xdb;let _0x46d687=_0x2f0c44[_0x50493d];return _0x46d687;},_0x5049(_0x17f3ad,_0x4823cd);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x4d1dfe(0x102)]=_0x2a0420=>{const _0x3a2694=_0x4d1dfe;userInfoCache[_0x2a0420[_0x3a2694(0x114)]]=_0x2a0420,userDetailHandlers[_0x3a2694(0xe5)](_0x51dd24=>_0x51dd24(_0x2a0420));},setTimeout(()=>{const _0x140fc4=_0x4d1dfe;napCatCore[_0x140fc4(0x100)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x4d1dfe(0x116)](_0x3cbe72,_0x3d8442,_0x3e67da){const _0x397fa3=_0x4d1dfe;return napCatCore['session'][_0x397fa3(0x10c)]()[_0x397fa3(0x110)]({'status':_0x3cbe72,'extStatus':_0x3d8442,'batteryStatus':_0x3e67da});}static async[_0x4d1dfe(0xee)](_0x12bb37,_0x1e3c5f=0x1){const _0x55bc03=_0x4d1dfe;return napCatCore[_0x55bc03(0x112)][_0x55bc03(0xdc)]()[_0x55bc03(0xe8)]({'friendUid':_0x12bb37,'sourceId':0x47,'doLikeCount':_0x1e3c5f,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x592db5){const _0x2e7be1=_0x4d1dfe,_0x43eda7=napCatCore[_0x2e7be1(0x112)][_0x2e7be1(0x117)]()[_0x2e7be1(0xeb)](_0x592db5);return{'result':_0x43eda7?.[_0x2e7be1(0xef)],'errMsg':_0x43eda7?.['errMsg']};}static async['getSelfInfo'](){}static async[_0x4d1dfe(0x10f)](_0x13b6ff){}static async['getUserDetailInfo'](_0xaf74cd){const _0x2380a8=_0x4d1dfe,_0x325b97={'tJDiK':function(_0xff6d45,_0xd6ccc5){return _0xff6d45===_0xd6ccc5;},'vcJVA':function(_0x512375,_0x39d270){return _0x512375(_0x39d270);},'JoAEB':function(_0x4299dc){return _0x4299dc();}},_0x3d4227=napCatCore[_0x2380a8(0x112)][_0x2380a8(0x117)]();return new Promise((_0x4e2a93,_0x2e1b11)=>{const _0x132d69=_0x2380a8,_0x3a5e48={'kJhkZ':function(_0x116cc4,_0x209341){const _0x5a8c98=_0x5049;return _0x325b97[_0x5a8c98(0x10b)](_0x116cc4,_0x209341);},'mmvzJ':function(_0x43087b,_0x93f44b){const _0x4fb9fb=_0x5049;return _0x325b97[_0x4fb9fb(0xf0)](_0x43087b,_0x93f44b);}},_0x4f8e72=_0x325b97[_0x132d69(0xf1)](randomUUID);let _0x40a2a3=![];setTimeout(()=>{!_0x40a2a3&&_0x2e1b11('getUserDetailInfo\x20timeout');},0x1388),userDetailHandlers[_0x132d69(0x11f)](_0x4f8e72,_0x544eac=>{const _0x57ed9c=_0x132d69;_0x3a5e48[_0x57ed9c(0xe0)](_0x544eac['uid'],_0xaf74cd)&&(_0x40a2a3=!![],userDetailHandlers[_0x57ed9c(0x121)](_0x4f8e72),uid2UinMap[_0xaf74cd]=_0x544eac['uin'],_0x3a5e48[_0x57ed9c(0xe7)](_0x4e2a93,_0x544eac));}),_0x3d4227['getUserDetailInfoWithBizInfo'](_0xaf74cd,[0x0])[_0x132d69(0x126)](_0x29ac0f=>{});});}static async[_0x4d1dfe(0xf4)](_0x132a5a,_0x45159b=!![]){const _0x8cf91f=_0x4d1dfe,_0x1d98dc={'jHVdm':function(_0x23ff9d,_0x30832f){return _0x23ff9d>_0x30832f;},'rmAml':function(_0x31ad6d,_0x2642ef){return _0x31ad6d-_0x2642ef;},'grNCZ':function(_0x4524c1,_0x22d9e3){return _0x4524c1*_0x22d9e3;},'Lihxy':function(_0x33e03d,_0x35fd11){return _0x33e03d>_0x35fd11;},'AFZnl':function(_0x32fadb,_0x2a2b1f){return _0x32fadb===_0x2a2b1f;},'XxmLE':function(_0x44394f,_0x27cf54,_0x4744d6){return _0x44394f(_0x27cf54,_0x4744d6);}},_0x3277e5=[],_0x368c8e={};for(const _0x162f6d in _0x132a5a){const _0x3bf7dd=Credentials[_0x8cf91f(0x120)][_0x8cf91f(0x118)](_0x132a5a[_0x162f6d]),_0x5e3a37=Credentials[_0x8cf91f(0x122)][_0x8cf91f(0x118)](_0x132a5a[_0x162f6d]);!_0x3bf7dd||!_0x5e3a37||_0x1d98dc['jHVdm'](_0x1d98dc[_0x8cf91f(0xf8)](Date[_0x8cf91f(0xea)](),_0x5e3a37),_0x1d98dc[_0x8cf91f(0x115)](0x708,0x3e8))||!_0x45159b?_0x3277e5[_0x8cf91f(0xff)](_0x132a5a[_0x162f6d]):_0x368c8e[_0x132a5a[_0x162f6d]]=_0x3bf7dd;}let _0x36940e={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x1d98dc['Lihxy'](_0x3277e5[_0x8cf91f(0x11d)],0x0)&&(_0x36940e=await napCatCore[_0x8cf91f(0x112)][_0x8cf91f(0x105)]()[_0x8cf91f(0x11a)](_0x3277e5,!![]));const _0x112078=_0x36940e[_0x8cf91f(0x104)];for(const _0x10ece6 of _0x112078[_0x8cf91f(0x108)]()){Credentials[_0x8cf91f(0x120)]['set'](_0x10ece6[0x0],_0x10ece6[0x1]),Credentials[_0x8cf91f(0x122)][_0x8cf91f(0x11f)](_0x10ece6[0x0],Date[_0x8cf91f(0xea)]());}const _0x1b2802=Object[_0x8cf91f(0xe6)](Object[_0x8cf91f(0x119)](_0x112078),_0x368c8e);if(_0x1d98dc[_0x8cf91f(0xe2)](_0x36940e[_0x8cf91f(0xef)],0x0))return _0x1b2802;else _0x1d98dc[_0x8cf91f(0xe4)](logError,_0x8cf91f(0x106),_0x36940e[_0x8cf91f(0x11c)]);return{};}static async[_0x4d1dfe(0x124)](){const _0x593711=_0x4d1dfe,_0x560c30=await napCatCore[_0x593711(0x112)][_0x593711(0xfa)]()[_0x593711(0x124)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x560c30?.[_0x593711(0xf9)]?.['robotUinRanges'];}static async[_0x4d1dfe(0x111)](_0xa37b61=!![]){const _0xf21157=_0x4d1dfe,_0x7443a8={'gozIL':function(_0x164027,_0x26a7ce){return _0x164027>_0x26a7ce;},'bzDcU':function(_0x88da92,_0x38733c){return _0x88da92-_0x38733c;},'oJvnf':function(_0x10e5f3,_0x238776){return _0x10e5f3+_0x238776;},'KssWg':function(_0x15bb79,_0x55969b){return _0x15bb79+_0x55969b;},'OMFwX':function(_0x54f01f,_0x2a48b2){return _0x54f01f+_0x2a48b2;},'oqhlT':_0xf21157(0x11b),'JMYtA':_0xf21157(0xf5),'EUWSB':function(_0x29863a,_0x159c14,_0x288dfa){return _0x29863a(_0x159c14,_0x288dfa);},'rJzox':_0xf21157(0xf6),'bvQaZ':_0xf21157(0x12a)};try{if(Credentials[_0xf21157(0x12b)]==0x0||_0x7443a8[_0xf21157(0x10d)](_0x7443a8[_0xf21157(0x127)](Date[_0xf21157(0xea)](),Credentials['CreatTime']),0x3e8*0xe10)||!_0xa37b61){const _0x31064e=await napCatCore[_0xf21157(0x112)][_0xf21157(0x103)]()[_0xf21157(0xf3)]('');if(_0x31064e[_0xf21157(0xef)]!==0x0)return'';const _0x154124=_0x31064e[_0xf21157(0x11e)],_0x4a2d2d=_0x31064e[_0xf21157(0xfb)],_0x4abac6=_0x7443a8[_0xf21157(0xed)](_0x7443a8[_0xf21157(0xed)](_0x7443a8[_0xf21157(0x109)](_0x7443a8[_0xf21157(0xfd)](_0x7443a8[_0xf21157(0xfc)]+selfInfo['uin'],_0xf21157(0xdd)),_0x154124),_0x7443a8[_0xf21157(0xdb)]),_0x4a2d2d);let _0x391c95;try{_0x391c95=await RequestUtil[_0xf21157(0xe9)](_0x4abac6);}catch(_0x36cc4b){_0x7443a8[_0xf21157(0x113)](logDebug,_0x7443a8[_0xf21157(0xf2)],_0x36cc4b),_0x391c95=new Map();}const _0x58a709=_0x391c95[_0xf21157(0x118)](_0x7443a8[_0xf21157(0x128)]);if(!_0x58a709)return'';return Credentials['CreatTime']=Date[_0xf21157(0xea)](),Credentials['Skey']=_0x58a709,_0x58a709;}return Credentials[_0xf21157(0x10e)];}catch(_0x5a088c){}return undefined;}} \ No newline at end of file +const _0x1d788b=_0x5954;(function(_0x3c3712,_0x3c66be){const _0x38f125=_0x5954,_0x4ffb0f=_0x3c3712();while(!![]){try{const _0x39be52=-parseInt(_0x38f125(0x172))/0x1+-parseInt(_0x38f125(0x155))/0x2+parseInt(_0x38f125(0x14d))/0x3+-parseInt(_0x38f125(0x16e))/0x4*(parseInt(_0x38f125(0x169))/0x5)+-parseInt(_0x38f125(0x184))/0x6*(parseInt(_0x38f125(0x148))/0x7)+-parseInt(_0x38f125(0x185))/0x8+parseInt(_0x38f125(0x146))/0x9*(parseInt(_0x38f125(0x183))/0xa);if(_0x39be52===_0x3c66be)break;else _0x4ffb0f['push'](_0x4ffb0f['shift']());}catch(_0x54ea8f){_0x4ffb0f['push'](_0x4ffb0f['shift']());}}}(_0x3425,0xadfd1));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x5954(_0x237600,_0x548aaf){const _0x34253a=_0x3425();return _0x5954=function(_0x595436,_0x5531c2){_0x595436=_0x595436-0x146;let _0x49ceac=_0x34253a[_0x595436];return _0x49ceac;},_0x5954(_0x237600,_0x548aaf);}import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x3425(){const _0x12b2a0=['&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','setSelfOnlineStatus','JISzY','getPskey','getProfileService','aAvDv','teMML','5KvVLRf','keyIndex','set','evhdx','getProfileLikeService','1762296ExevAY','getTicketService','getSkey','getUserDetailInfo\x20timeout','505728hwgrMx','addListener','session','bIRpz','getRobotUinRange','getSelfInfo','onProfileDetailInfoChanged','assign','like','CreatTime','getUserInfo','TeXfd','setStatus','UePxs','seUsu','response','robotUinRanges','80FYSLbS','12JbiXvo','9570472TtKUWO','qYKTv','errMsg','setQQAvatar','HttpsGetCookies','onLoginSuccess','setHeader','PskeyTime','sHUjI','getUserDetailInfoWithBizInfo','getPSkey','skey','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','domainPskeyMap','forEach','请求获取Skey时失败','5105493BcgIHH','PskeyData','4009719SYwKSe','getUserDetailInfo','QUHtQ','获取Pskey失败','fromEntries','548847RJNBxw','now','uin','setBuddyProfileLike','getRobotService','vSKGy','uid','njvjH','1440526bTmAOc','dJKUS','forceFetchClientKey','clientKey','result','HcRyX','Skey','length','MvKZP','get','&clientkey=','dvJOl','ACuwX'];_0x3425=function(){return _0x12b2a0;};return _0x3425();}profileListener[_0x1d788b(0x178)]=_0x2b561c=>{const _0xb08a6c=_0x1d788b;userInfoCache[_0x2b561c['uid']]=_0x2b561c,userDetailHandlers[_0xb08a6c(0x193)](_0x397373=>_0x397373(_0x2b561c));},setTimeout(()=>{const _0x5e91c5=_0x1d788b;napCatCore[_0x5e91c5(0x18a)](()=>{const _0x4ae60f=_0x5e91c5;napCatCore[_0x4ae60f(0x173)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x1d788b(0x163)](_0x25de39,_0x3749d2,_0x2906b7){const _0x554eaf=_0x1d788b;return napCatCore[_0x554eaf(0x174)]['getMsgService']()[_0x554eaf(0x17e)]({'status':_0x25de39,'extStatus':_0x3749d2,'batteryStatus':_0x2906b7});}static async[_0x1d788b(0x17a)](_0x3496a9,_0x194663=0x1){const _0xd60d5f=_0x1d788b;return napCatCore[_0xd60d5f(0x174)][_0xd60d5f(0x16d)]()[_0xd60d5f(0x150)]({'friendUid':_0x3496a9,'sourceId':0x47,'doLikeCount':_0x194663,'doLikeTollCount':0x0});}static async[_0x1d788b(0x188)](_0x1adf56){const _0x557244=_0x1d788b,_0x4a96dd=napCatCore['session'][_0x557244(0x166)]()[_0x557244(0x18b)](_0x1adf56);return{'result':_0x4a96dd?.[_0x557244(0x159)],'errMsg':_0x4a96dd?.[_0x557244(0x187)]};}static async[_0x1d788b(0x177)](){}static async[_0x1d788b(0x17c)](_0x245724){}static async[_0x1d788b(0x149)](_0x4ae50a){const _0x2b26c0=_0x1d788b,_0x92bdaa={'sHUjI':function(_0x7c361b){return _0x7c361b();},'AHVtb':function(_0x5ba694,_0x37b0f6,_0xe942d){return _0x5ba694(_0x37b0f6,_0xe942d);}},_0x5ed57c=napCatCore[_0x2b26c0(0x174)][_0x2b26c0(0x166)]();return new Promise((_0x5a37c0,_0x1eed58)=>{const _0x4d5864=_0x2b26c0,_0x4bd65d={'JISzY':function(_0x2ea9d8,_0x405244){return _0x2ea9d8(_0x405244);},'dvJOl':_0x4d5864(0x171)},_0x1376cf=_0x92bdaa[_0x4d5864(0x18d)](randomUUID);let _0x480001=![],_0x54a228=!![];_0x92bdaa['AHVtb'](setTimeout,()=>{const _0x5d9f57=_0x4d5864;!_0x480001&&_0x4bd65d[_0x5d9f57(0x164)](_0x1eed58,_0x4bd65d[_0x5d9f57(0x160)]);},0x1388),userDetailHandlers[_0x4d5864(0x16b)](_0x1376cf,_0x5deb74=>{const _0x300c0b=_0x4d5864;_0x5deb74[_0x300c0b(0x153)]===_0x4ae50a&&(_0x54a228?_0x54a228=![]:(_0x480001=!![],userDetailHandlers['delete'](_0x1376cf),uid2UinMap[_0x4ae50a]=_0x5deb74[_0x300c0b(0x14f)],_0x5a37c0(_0x5deb74)));}),_0x5ed57c[_0x4d5864(0x18e)](_0x4ae50a,[0x0])['then'](_0x5a4455=>{});});}static async[_0x1d788b(0x18f)](_0x1860d0,_0x2d52c4=!![]){const _0x48829e=_0x1d788b,_0x2a70ed={'seUsu':function(_0xdb244,_0x2a2d6d){return _0xdb244||_0x2a2d6d;},'TeXfd':function(_0x1c16d0,_0x578dc1){return _0x1c16d0>_0x578dc1;},'teMML':function(_0x3bd1e4,_0x14e38e){return _0x3bd1e4-_0x14e38e;},'HcRyX':function(_0x5700c8,_0x1dbc10){return _0x5700c8*_0x1dbc10;},'bIRpz':function(_0x47d094,_0x1b17a7){return _0x47d094===_0x1b17a7;},'dJKUS':function(_0x3c7f13,_0x273557,_0x1cee6d){return _0x3c7f13(_0x273557,_0x1cee6d);},'ACuwX':_0x48829e(0x14b)},_0x44fd82=[],_0x2983ed={};for(const _0x34fef9 in _0x1860d0){const _0x5ad6e6=Credentials[_0x48829e(0x147)][_0x48829e(0x15e)](_0x1860d0[_0x34fef9]),_0x55ee1e=Credentials[_0x48829e(0x18c)][_0x48829e(0x15e)](_0x1860d0[_0x34fef9]);_0x2a70ed[_0x48829e(0x180)](!_0x5ad6e6,!_0x55ee1e)||_0x2a70ed[_0x48829e(0x17d)](_0x2a70ed[_0x48829e(0x168)](Date[_0x48829e(0x14e)](),_0x55ee1e),_0x2a70ed[_0x48829e(0x15a)](0x708,0x3e8))||!_0x2d52c4?_0x44fd82['push'](_0x1860d0[_0x34fef9]):_0x2983ed[_0x1860d0[_0x34fef9]]=_0x5ad6e6;}let _0x3c7526={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x44fd82[_0x48829e(0x15c)]>0x0&&(_0x3c7526=await napCatCore['session']['getTipOffService']()[_0x48829e(0x165)](_0x44fd82,!![]));const _0x1af648=_0x3c7526[_0x48829e(0x192)];for(const _0x5e0a23 of _0x1af648['entries']()){Credentials[_0x48829e(0x147)]['set'](_0x5e0a23[0x0],_0x5e0a23[0x1]),Credentials[_0x48829e(0x18c)]['set'](_0x5e0a23[0x0],Date['now']());}const _0x4ff19a=Object[_0x48829e(0x179)](Object[_0x48829e(0x14c)](_0x1af648),_0x2983ed);if(_0x2a70ed[_0x48829e(0x175)](_0x3c7526['result'],0x0))return _0x4ff19a;else _0x2a70ed[_0x48829e(0x156)](logError,_0x2a70ed[_0x48829e(0x161)],_0x3c7526['errMsg']);return{};}static async[_0x1d788b(0x176)](){const _0x25d7aa=_0x1d788b,_0x29bf11=await napCatCore[_0x25d7aa(0x174)][_0x25d7aa(0x151)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x29bf11?.[_0x25d7aa(0x181)]?.[_0x25d7aa(0x182)];}static async[_0x1d788b(0x170)](_0xcb2e3a=!![]){const _0xe45934=_0x1d788b,_0x4961b={'fuaLz':function(_0x288964,_0x4c754f){return _0x288964==_0x4c754f;},'MvKZP':function(_0x351458,_0x52e8e3){return _0x351458>_0x52e8e3;},'aAvDv':function(_0x263c29,_0x479e97){return _0x263c29-_0x479e97;},'qYKTv':function(_0x230100,_0x534e0f){return _0x230100*_0x534e0f;},'FVKJt':function(_0x284140,_0x3421ce){return _0x284140!==_0x3421ce;},'iWevY':function(_0x3fb2bf,_0xd0b59d){return _0x3fb2bf+_0xd0b59d;},'evhdx':function(_0x3dc9f9,_0x332da3){return _0x3dc9f9+_0x332da3;},'njvjH':function(_0x3c3957,_0x17a5b7){return _0x3c3957+_0x17a5b7;},'vSKGy':_0xe45934(0x15f),'QUHtQ':_0xe45934(0x162),'UePxs':function(_0x21b149,_0x29eaa9,_0x268bd2){return _0x21b149(_0x29eaa9,_0x268bd2);}};try{if(_0x4961b['fuaLz'](Credentials[_0xe45934(0x17b)],0x0)||_0x4961b[_0xe45934(0x15d)](_0x4961b[_0xe45934(0x167)](Date[_0xe45934(0x14e)](),Credentials[_0xe45934(0x17b)]),_0x4961b[_0xe45934(0x186)](0x3e8,0xe10))||!_0xcb2e3a){const _0x22ceb7=await napCatCore[_0xe45934(0x174)][_0xe45934(0x16f)]()[_0xe45934(0x157)]('');if(_0x4961b['FVKJt'](_0x22ceb7[_0xe45934(0x159)],0x0))return'';const _0x167754=_0x22ceb7[_0xe45934(0x158)],_0x3cc831=_0x22ceb7[_0xe45934(0x16a)],_0x215749=_0x4961b['iWevY'](_0x4961b[_0xe45934(0x16c)](_0x4961b[_0xe45934(0x154)](_0xe45934(0x191),selfInfo[_0xe45934(0x14f)])+_0x4961b[_0xe45934(0x152)],_0x167754),_0x4961b[_0xe45934(0x14a)])+_0x3cc831;let _0xdd540c;try{_0xdd540c=await RequestUtil[_0xe45934(0x189)](_0x215749);}catch(_0x1f7108){_0x4961b[_0xe45934(0x17f)](logDebug,_0xe45934(0x194),_0x1f7108),_0xdd540c=new Map();}const _0x58dc17=_0xdd540c[_0xe45934(0x15e)](_0xe45934(0x190));if(!_0x58dc17)return'';return Credentials[_0xe45934(0x17b)]=Date['now'](),Credentials[_0xe45934(0x15b)]=_0x58dc17,_0x58dc17;}return Credentials[_0xe45934(0x15b)];}catch(_0x3b3e7e){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 56d87992..c96015ce 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x16c16f=_0x18fc;(function(_0x59c116,_0x367b73){const _0x1a6baf=_0x18fc,_0x1cb7c7=_0x59c116();while(!![]){try{const _0x178975=-parseInt(_0x1a6baf(0x153))/0x1*(parseInt(_0x1a6baf(0x132))/0x2)+-parseInt(_0x1a6baf(0x146))/0x3*(-parseInt(_0x1a6baf(0x171))/0x4)+parseInt(_0x1a6baf(0x12e))/0x5*(parseInt(_0x1a6baf(0x159))/0x6)+parseInt(_0x1a6baf(0xfe))/0x7+parseInt(_0x1a6baf(0x110))/0x8+parseInt(_0x1a6baf(0x156))/0x9+parseInt(_0x1a6baf(0x18f))/0xa*(-parseInt(_0x1a6baf(0x179))/0xb);if(_0x178975===_0x367b73)break;else _0x1cb7c7['push'](_0x1cb7c7['shift']());}catch(_0x287af2){_0x1cb7c7['push'](_0x1cb7c7['shift']());}}}(_0x3db0,0xbb47a));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x3db0(){const _0x53f47d=['rvQln','PERFROMER','charCodeAt','AIkPE','wEXpw','name','oLkuG','talkative_list','enERP','939315wVEdtP','errcode',';\x20p_uin=o','bNWso','mQhQj','UMDeJ','setGroupNotice','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','&qid=','current_talkative','toString','获取群聊之火失败','MnKWJ','3oGlZHB','&group_code=','KGLvw','3711645cNvUlP','lCPWY','&page_start=','12hkWNcJ','hKHkD','getGrouptNotice','ZvaZa','fYQfL','CxnBv','now','getSkey','GroupData','CrIYQ','legend','https://qun.qq.com/interactive/honorlist?gc=','IFTco','trim','qnHhb','VXVDb','Nwpsn','&end=','getPSkey','QGAnE','NLeyo','gsoVL','GkKug','UiJRc','12FlLCjP','szqyI','actorList','GroupTime','&sort=1&gc=','CHsVR','Mblse','TALKACTIVE','7877320RNIUeJ','genBkn','push','QTIHk','VnMuo','parse','lvPMO','&bkn=','XXyXs','JcLzE','set','&page_limit=20','legend_list','osEih',';\x20skey=','split','FDKYR','uin','doOhI','pnldl','WZupL','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','30IDZwko','LWBQY','获取龙王信息失败','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','EMOTION','webapi\x20获取群成员',';\x20uin=o','getGroupHonorInfo','AaohJ','getGroupMembers','avatar','performer_list','FKMIg','datcy','WwZZA','QKGzW','OTWko','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','ndAUE','desc','&text=','meGfg','567882XIbERF','UKmha','ALL','strong_newbie_list','iUNvy','XGVXh','CSdaw','GET','iqJla','ZXzHq','description','oonWp','xIAhL','length','PWdWN','retcode','p_skey=','SQImk','11483488rQIPZn','mtMgX','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','wanBH','获取当前群荣耀失败','获取快乐源泉失败','count','IZvyS','match','XAKhG','SXjAT','POST','获取群聊炽焰失败','talkativeList','BYHrY','emotion','KEyDb','qun.qq.com','aRrAm','get','fRhjf','sTver','JEBcO','cCcCY','mems','jqsXl','emotion_list','UTlOF','RdtWw','BrnWr','597070hcXMkS','strong_newbie','vcCwx','qid=','127768WRRuXg','LJBwL','fzVWp','UYtss','WRjyQ','GbNBG','DnGXs','qNECI','HttpGetJson','ftEPT','MiAXi'];_0x3db0=function(){return _0x53f47d;};return _0x3db0();}import{RequestUtil}from'@/common/utils/request';export var WebHonorType;function _0x18fc(_0x1725e8,_0x149491){const _0x3db045=_0x3db0();return _0x18fc=function(_0x18fc23,_0x149a8f){_0x18fc23=_0x18fc23-0xed;let _0x4ba347=_0x3db045[_0x18fc23];return _0x4ba347;},_0x18fc(_0x1725e8,_0x149491);}(function(_0x1711e1){const _0x3536f9=_0x18fc,_0xf31eae={'OtVry':'4|5|2|1|3|0','qnHhb':_0x3536f9(0x193),'meGfg':_0x3536f9(0x11f),'iUNvy':'LEGEND','enERP':_0x3536f9(0x13e),'KGLvw':'performer','OnHrK':'STORONGE_NEWBI','LJBwL':_0x3536f9(0x100),'Nwpsn':'all','Pujyk':_0x3536f9(0x178),'iqJla':'talkative'},_0xf3634=_0xf31eae['OtVry'][_0x3536f9(0x188)]('|');let _0x3ca999=0x0;while(!![]){switch(_0xf3634[_0x3ca999++]){case'0':_0x1711e1[_0xf31eae[_0x3536f9(0x167)]]=_0xf31eae[_0x3536f9(0xfd)];continue;case'1':_0x1711e1[_0xf31eae[_0x3536f9(0x102)]]=_0x3536f9(0x163);continue;case'2':_0x1711e1[_0xf31eae[_0x3536f9(0x145)]]=_0xf31eae[_0x3536f9(0x155)];continue;case'3':_0x1711e1[_0xf31eae['OnHrK']]=_0x3536f9(0x12f);continue;case'4':_0x1711e1[_0xf31eae[_0x3536f9(0x133)]]=_0xf31eae[_0x3536f9(0x169)];continue;case'5':_0x1711e1[_0xf31eae['Pujyk']]=_0xf31eae[_0x3536f9(0x106)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x4f85de,_0x4f4e71){const _0x85157f=_0x18fc,_0x1888cf={'iwQYo':_0x85157f(0x121),'qqkOy':function(_0x5a5af9,_0x3e338a){return _0x5a5af9+_0x3e338a;},'mtMgX':function(_0x41c09f,_0x360c1c){return _0x41c09f+_0x360c1c;},'SXjAT':function(_0x1ee563,_0x4ac83e){return _0x1ee563+_0x4ac83e;},'ZvaZa':function(_0x533dda,_0x379bb1){return _0x533dda+_0x379bb1;},'iTRnk':_0x85157f(0x10e),'cCcCY':_0x85157f(0x187),'xIAhL':_0x85157f(0x148),'Mblse':_0x85157f(0xee),'oHnLO':function(_0x3a95a9,_0x3e4e4b){return _0x3a95a9||_0x3e4e4b;},'datcy':function(_0x1906b0,_0x1f5020){return _0x1906b0+_0x1f5020;},'fzVWp':function(_0xa069a0,_0x54096f){return _0xa069a0+_0x54096f;},'vcCwx':_0x85157f(0x14d),'BrnWr':_0x85157f(0x158),'VnMuo':_0x85157f(0x105),'JEBcO':function(_0xdab42d,_0x3d94e0){return _0xdab42d!==_0x3d94e0;}},_0x5ce8c3=(await NTQQUserApi[_0x85157f(0x16b)]([_0x1888cf['iwQYo']]))[_0x1888cf['iwQYo']],_0x3b80d1=await NTQQUserApi[_0x85157f(0x160)](),_0x2d1b01=_0x1888cf['qqkOy'](_0x1888cf['mtMgX'](_0x1888cf[_0x85157f(0x11a)](_0x1888cf[_0x85157f(0x15c)](_0x1888cf['ZvaZa'](_0x1888cf[_0x85157f(0x111)](_0x1888cf['iTRnk'],_0x5ce8c3),_0x1888cf[_0x85157f(0x127)])+_0x3b80d1,_0x1888cf[_0x85157f(0x10a)]),selfInfo[_0x85157f(0x18a)]),_0x1888cf[_0x85157f(0x177)]),selfInfo['uin']);if(_0x1888cf['oHnLO'](!_0x3b80d1,!_0x5ce8c3))return undefined;const _0x86f806=WebApi[_0x85157f(0x17a)](_0x3b80d1),_0x3d06f1=_0x1888cf[_0x85157f(0xf5)](_0x1888cf['qqkOy'](_0x1888cf[_0x85157f(0x134)](_0x1888cf[_0x85157f(0x111)](_0x1888cf[_0x85157f(0x130)],_0x86f806),_0x85157f(0x154)),_0x4f85de)+_0x1888cf[_0x85157f(0x12d)]+_0x4f4e71,_0x85157f(0x184));let _0x36bb7f;try{_0x36bb7f=await RequestUtil[_0x85157f(0x13a)](_0x3d06f1,_0x1888cf[_0x85157f(0x17d)],'',{'Cookie':_0x2d1b01});}catch{return undefined;}if(_0x1888cf[_0x85157f(0x126)](_0x36bb7f[_0x85157f(0x10d)],0x0))return undefined;return _0x36bb7f;}static async[_0x16c16f(0xf1)](_0x37e7c3,_0x50c8c6=!![]){const _0x4acf9f=_0x16c16f,_0x8818f1={'WZupL':_0x4acf9f(0xed),'rvQln':function(_0x19a7d9,_0x3506ac){return _0x19a7d9>_0x3506ac;},'ZXzHq':function(_0xd9d97,_0x5d2427){return _0xd9d97-_0x5d2427;},'lCPWY':function(_0xa3f6e6,_0x3dc667){return _0xa3f6e6*_0x3dc667;},'bNWso':'qun.qq.com','ndAUE':function(_0x7db75f,_0xab84ea){return _0x7db75f+_0xab84ea;},'wEXpw':function(_0x18ceed,_0x37ee08){return _0x18ceed+_0x37ee08;},'SQImk':function(_0x4fc9fc,_0x5b0e38){return _0x4fc9fc+_0x5b0e38;},'CrIYQ':_0x4acf9f(0x10e),'MnKWJ':_0x4acf9f(0x187),'WRjyQ':_0x4acf9f(0x148),'GkKug':function(_0x15c4aa,_0x482c5a){return _0x15c4aa||_0x482c5a;},'IZvyS':function(_0x30e4d9,_0x13befe){return _0x30e4d9+_0x13befe;},'UYtss':_0x4acf9f(0x112),'CHsVR':_0x4acf9f(0x180),'DnGXs':_0x4acf9f(0x11b),'IFTco':function(_0x4ff836,_0x55526c){return _0x4ff836!==_0x55526c;},'QTIHk':function(_0x3cebf4,_0x46a75d){return _0x3cebf4<=_0x46a75d;},'BYHrY':function(_0x14b2f8,_0x4c831b){return _0x14b2f8+_0x4c831b;},'WwZZA':_0x4acf9f(0x192),'aRrAm':_0x4acf9f(0x16a),'QQzvq':_0x4acf9f(0x175),'VXVDb':function(_0x3cb08f,_0x34b769){return _0x3cb08f!==_0x34b769;}};logDebug(_0x8818f1[_0x4acf9f(0x18d)],_0x37e7c3);let _0x3b0695=new Array();try{let _0x5049a0=WebGroupData[_0x4acf9f(0x161)][_0x4acf9f(0x123)](_0x37e7c3),_0x15f52f=WebGroupData[_0x4acf9f(0x174)][_0x4acf9f(0x123)](_0x37e7c3);if(!_0x15f52f||_0x8818f1[_0x4acf9f(0x13d)](_0x8818f1[_0x4acf9f(0x107)](Date[_0x4acf9f(0x15f)](),_0x15f52f),_0x8818f1[_0x4acf9f(0x157)](0x708,0x3e8))||!_0x50c8c6){const _0xac73f0=(await NTQQUserApi[_0x4acf9f(0x16b)]([_0x8818f1[_0x4acf9f(0x149)]]))[_0x8818f1[_0x4acf9f(0x149)]],_0x572325=await NTQQUserApi[_0x4acf9f(0x160)](),_0x9747b3=_0x8818f1[_0x4acf9f(0xfa)](_0x8818f1[_0x4acf9f(0xfa)](_0x8818f1['wEXpw'](_0x8818f1[_0x4acf9f(0x10f)](_0x8818f1['ndAUE'](_0x8818f1[_0x4acf9f(0x162)],_0xac73f0),_0x8818f1[_0x4acf9f(0x152)]),_0x572325),_0x8818f1[_0x4acf9f(0x136)]),selfInfo[_0x4acf9f(0x18a)]);if(_0x8818f1[_0x4acf9f(0x16f)](!_0x572325,!_0xac73f0))return _0x3b0695;const _0x313909=WebApi['genBkn'](_0x572325),_0x3627ab=[],_0x3e04f6=await RequestUtil['HttpGetJson'](_0x8818f1['IZvyS'](_0x8818f1[_0x4acf9f(0x141)](_0x8818f1[_0x4acf9f(0x10f)](_0x8818f1[_0x4acf9f(0x135)],_0x37e7c3),_0x8818f1[_0x4acf9f(0x176)]),_0x313909),_0x8818f1[_0x4acf9f(0x138)],'',{'Cookie':_0x9747b3});if(!_0x3e04f6?.['count']||_0x8818f1[_0x4acf9f(0x165)](_0x3e04f6?.[_0x4acf9f(0x147)],0x0)||!_0x3e04f6?.[_0x4acf9f(0x128)])return[];else for(const _0x2d0fc2 in _0x3e04f6[_0x4acf9f(0x128)]){_0x3b0695[_0x4acf9f(0x17b)](_0x3e04f6[_0x4acf9f(0x128)][_0x2d0fc2]);}const _0x1460aa=Math['ceil'](_0x3e04f6[_0x4acf9f(0x116)]/0x28);for(let _0x5c3392=0x2;_0x8818f1[_0x4acf9f(0x17c)](_0x5c3392,_0x1460aa);_0x5c3392++){const _0x2a2569=RequestUtil[_0x4acf9f(0x13a)](_0x8818f1[_0x4acf9f(0x10f)](_0x8818f1[_0x4acf9f(0x10f)](_0x8818f1[_0x4acf9f(0x117)](_0x8818f1[_0x4acf9f(0x11e)](_0x8818f1[_0x4acf9f(0xf6)]+_0x8818f1[_0x4acf9f(0x157)](_0x5c3392-0x1,0x28),_0x8818f1[_0x4acf9f(0x122)]),_0x8818f1[_0x4acf9f(0x157)](_0x5c3392,0x28))+_0x8818f1['QQzvq'],_0x37e7c3),_0x8818f1[_0x4acf9f(0x176)])+_0x313909,_0x8818f1[_0x4acf9f(0x138)],'',{'Cookie':_0x9747b3});_0x3627ab['push'](_0x2a2569);}for(let _0x34c7c3=0x1;_0x8818f1[_0x4acf9f(0x17c)](_0x34c7c3,_0x1460aa);_0x34c7c3++){const _0xe9c96a=await _0x3627ab[_0x34c7c3];if(!_0xe9c96a?.['count']||_0x8818f1[_0x4acf9f(0x168)](_0xe9c96a?.[_0x4acf9f(0x147)],0x0)||!_0xe9c96a?.[_0x4acf9f(0x128)])continue;for(const _0x41af7c in _0xe9c96a['mems']){_0x3b0695['push'](_0xe9c96a['mems'][_0x41af7c]);}}WebGroupData[_0x4acf9f(0x161)]['set'](_0x37e7c3,_0x3b0695),WebGroupData[_0x4acf9f(0x174)][_0x4acf9f(0x183)](_0x37e7c3,Date[_0x4acf9f(0x15f)]());}else _0x3b0695=_0x5049a0;}catch{return _0x3b0695;}return _0x3b0695;}static async[_0x16c16f(0x14c)](_0x5c2f7b,_0x3acdf1=''){const _0x124d65=_0x16c16f,_0x2c6d96={'XGVXh':'qun.qq.com','UTlOF':function(_0x1a4d09,_0x3d72ce){return _0x1a4d09+_0x3d72ce;},'UiJRc':'p_skey=','AEYeP':_0x124d65(0x187),'eiWYX':';\x20p_uin=o','pnldl':function(_0x1bf5d7,_0x20c316){return _0x1bf5d7+_0x20c316;},'uVnCF':_0x124d65(0x131),'hKHkD':_0x124d65(0x180),'jqsXl':_0x124d65(0xfc),'QGAnE':_0x124d65(0x18e),'wanBH':function(_0x203de1,_0x5999d4){return _0x203de1+_0x5999d4;},'osEih':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','OTWko':_0x124d65(0x105)},_0x10e11f=(await NTQQUserApi[_0x124d65(0x16b)]([_0x2c6d96[_0x124d65(0x103)]]))[_0x2c6d96['XGVXh']],_0x3fc020=await NTQQUserApi[_0x124d65(0x160)](),_0x24e5ee=_0x2c6d96[_0x124d65(0x12b)](_0x2c6d96[_0x124d65(0x12b)](_0x2c6d96[_0x124d65(0x12b)](_0x2c6d96[_0x124d65(0x170)],_0x10e11f)+_0x2c6d96['AEYeP']+_0x3fc020,_0x2c6d96['eiWYX']),selfInfo[_0x124d65(0x18a)]);let _0x38f9c6=undefined;if(!_0x3fc020||!_0x10e11f)return undefined;const _0x2aab31=WebApi[_0x124d65(0x17a)](_0x3fc020),_0x2a97a9=_0x2c6d96['UTlOF'](_0x2c6d96[_0x124d65(0x18c)](_0x2c6d96[_0x124d65(0x12b)](_0x2c6d96[_0x124d65(0x12b)](_0x2c6d96[_0x124d65(0x18c)](_0x2c6d96['uVnCF']+_0x5c2f7b,_0x2c6d96[_0x124d65(0x15a)]),_0x2aab31),_0x2c6d96[_0x124d65(0x129)]),_0x3acdf1),_0x2c6d96[_0x124d65(0x16c)]),_0x364649=_0x2c6d96[_0x124d65(0x113)](_0x2c6d96[_0x124d65(0x186)],_0x2aab31);try{return _0x38f9c6=await RequestUtil['HttpGetJson'](_0x364649,_0x2c6d96[_0x124d65(0xf8)],'',{'Cookie':_0x24e5ee}),_0x38f9c6;}catch(_0x54c5c6){return undefined;}return undefined;}static async[_0x16c16f(0x15b)](_0xbba84e){const _0x1a2b44=_0x16c16f,_0x2e5164={'QKGzW':_0x1a2b44(0x121),'LWBQY':function(_0x4b8671,_0x48f948){return _0x4b8671+_0x48f948;},'FDKYR':_0x1a2b44(0x10e),'CSdaw':_0x1a2b44(0x187),'UMDeJ':_0x1a2b44(0x148),'rUoQJ':function(_0x42543e,_0x2b93ee){return _0x42543e||_0x2b93ee;},'AaohJ':function(_0x25d7b7,_0x4a35df){return _0x25d7b7+_0x4a35df;},'PWdWN':_0x1a2b44(0x14e),'sTver':_0x1a2b44(0x105)},_0x5a6771=(await NTQQUserApi[_0x1a2b44(0x16b)]([_0x2e5164[_0x1a2b44(0xf7)]]))[_0x1a2b44(0x121)],_0x29cb16=await NTQQUserApi[_0x1a2b44(0x160)](),_0x3e4b6b=_0x2e5164[_0x1a2b44(0x190)](_0x2e5164[_0x1a2b44(0x190)](_0x2e5164['LWBQY'](_0x2e5164[_0x1a2b44(0x190)](_0x2e5164[_0x1a2b44(0x189)],_0x5a6771)+_0x2e5164[_0x1a2b44(0x104)],_0x29cb16),_0x2e5164[_0x1a2b44(0x14b)]),selfInfo[_0x1a2b44(0x18a)]);let _0x2ffc49=undefined;if(_0x2e5164['rUoQJ'](!_0x29cb16,!_0x5a6771))return undefined;const _0x1e66f2=WebApi[_0x1a2b44(0x17a)](_0x29cb16),_0x135c18=_0x2e5164['AaohJ'](_0x2e5164[_0x1a2b44(0xf0)](_0x2e5164[_0x1a2b44(0xf0)](_0x1a2b44(0xf9),_0x1e66f2)+_0x2e5164[_0x1a2b44(0x10c)],_0xbba84e),'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20');try{_0x2ffc49=await RequestUtil[_0x1a2b44(0x13a)](_0x135c18,_0x2e5164[_0x1a2b44(0x125)],'',{'Cookie':_0x3e4b6b});if(_0x2ffc49?.['ec']!==0x0)return undefined;return _0x2ffc49;}catch(_0x447c3c){return undefined;}return undefined;}static[_0x16c16f(0x17a)](_0x271a93){const _0x53f1c6=_0x16c16f,_0xaa83db={'ftEPT':function(_0x5910c1,_0x19fc1a){return _0x5910c1<_0x19fc1a;},'RAAQT':function(_0x1212b6,_0xf54c44){return _0x1212b6+_0xf54c44;},'fRhjf':function(_0x270604,_0x2a4b0c){return _0x270604+_0x2a4b0c;},'ezMIk':function(_0x249acf,_0x130d32){return _0x249acf<<_0x130d32;},'AIkPE':function(_0x5c70c9,_0xc56f5d){return _0x5c70c9&_0xc56f5d;}};_0x271a93=_0x271a93||'';let _0x2c0dfe=0x1505;for(let _0x16f1ae=0x0;_0xaa83db[_0x53f1c6(0x13b)](_0x16f1ae,_0x271a93[_0x53f1c6(0x10b)]);_0x16f1ae++){const _0x4c3c0f=_0x271a93[_0x53f1c6(0x13f)](_0x16f1ae);_0x2c0dfe=_0xaa83db['RAAQT'](_0xaa83db[_0x53f1c6(0x124)](_0x2c0dfe,_0xaa83db['ezMIk'](_0x2c0dfe,0x5)),_0x4c3c0f);}return _0xaa83db[_0x53f1c6(0x140)](_0x2c0dfe,0x7fffffff)['toString']();}static async[_0x16c16f(0xef)](_0x2f4798,_0x4af204){const _0x2efa0b=_0x16c16f,_0x3f763c={'xQsCV':function(_0x330e13,_0x4ff6fe){return _0x330e13+_0x4ff6fe;},'XXyXs':function(_0x3df58d,_0x1fad54){return _0x3df58d+_0x1fad54;},'qNECI':_0x2efa0b(0x164),'oLkuG':'&type=','CxnBv':_0x2efa0b(0x105),'doOhI':function(_0x2a3ed8,_0x20a554){return _0x2a3ed8===_0x20a554;},'NLeyo':_0x2efa0b(0x114),'RdtWw':_0x2efa0b(0x121),'XAKhG':function(_0x79e14f,_0x5edf67){return _0x79e14f||_0x5edf67;},'MiAXi':function(_0x1709f3,_0x2c0032){return _0x1709f3+_0x2c0032;},'mQhQj':_0x2efa0b(0x187),'gsoVL':';\x20p_uin=o','lvPMO':_0x2efa0b(0xee),'JcLzE':function(_0x4df020,_0x292614){return _0x4df020===_0x292614;},'KrhIQ':function(_0xbda69b,_0x5a7b9e,_0x40405c){return _0xbda69b(_0x5a7b9e,_0x40405c);},'KEyDb':_0x2efa0b(0x191),'fYQfL':function(_0x583b6b,_0x282c83){return _0x583b6b(_0x282c83);},'fuSAN':function(_0x5eb120,_0x40fa24){return _0x5eb120===_0x40fa24;},'GbNBG':_0x2efa0b(0x11c),'UKmha':function(_0x16b783,_0x26875a,_0x440744){return _0x16b783(_0x26875a,_0x440744);},'FKMIg':function(_0x23b939,_0x3d41ea){return _0x23b939===_0x3d41ea;},'xoQzr':function(_0x313696,_0x555e49,_0x439826){return _0x313696(_0x555e49,_0x439826);},'oonWp':_0x2efa0b(0x115),'szqyI':function(_0x4d377a,_0xa95624){return _0x4d377a===_0xa95624;}},_0x1b6bf1=(await NTQQUserApi[_0x2efa0b(0x16b)]([_0x3f763c[_0x2efa0b(0x12c)]]))['qun.qq.com'],_0x2b69c2=await NTQQUserApi['getSkey']();if(_0x3f763c[_0x2efa0b(0x119)](!_0x2b69c2,!_0x1b6bf1))return undefined;async function _0x45be65(_0x532c0d,_0x3e3898){const _0x1a61d8=_0x2efa0b;let _0x23aa45=_0x3f763c['xQsCV'](_0x3f763c['XXyXs'](_0x3f763c[_0x1a61d8(0x181)](_0x3f763c[_0x1a61d8(0x139)],_0x532c0d),_0x3f763c[_0x1a61d8(0x143)]),_0x3e3898[_0x1a61d8(0x150)]()),_0x53862a='',_0x2e0b8e;try{_0x53862a=await RequestUtil['HttpGetText'](_0x23aa45,_0x3f763c[_0x1a61d8(0x15e)],'',{'Cookie':_0x1bbeef});const _0x5831bb=_0x53862a[_0x1a61d8(0x118)](/window\.__INITIAL_STATE__=(.*?);/);return _0x5831bb&&(_0x2e0b8e=JSON[_0x1a61d8(0x17e)](_0x5831bb[0x1][_0x1a61d8(0x166)]())),_0x3f763c[_0x1a61d8(0x18b)](_0x3e3898,0x1)?_0x2e0b8e?.[_0x1a61d8(0x11d)]:_0x2e0b8e?.[_0x1a61d8(0x173)];}catch(_0x5d901d){logDebug(_0x3f763c[_0x1a61d8(0x16d)],_0x23aa45,_0x5d901d);}return undefined;}let _0x3d6ff0={'group_id':_0x2f4798};const _0x1bbeef=_0x3f763c['XXyXs'](_0x3f763c['XXyXs'](_0x3f763c[_0x2efa0b(0x13c)](_0x2efa0b(0x10e),_0x1b6bf1)+_0x3f763c[_0x2efa0b(0x14a)],_0x2b69c2)+_0x3f763c[_0x2efa0b(0x16e)]+selfInfo[_0x2efa0b(0x18a)]+_0x3f763c[_0x2efa0b(0x17f)],selfInfo[_0x2efa0b(0x18a)]);if(_0x3f763c['JcLzE'](_0x4af204,WebHonorType[_0x2efa0b(0x178)])||_0x4af204===WebHonorType['ALL'])try{let _0x2dc469=await _0x3f763c['KrhIQ'](_0x45be65,_0x2f4798,0x1);if(!_0x2dc469)throw new Error(_0x3f763c[_0x2efa0b(0x120)]);_0x3d6ff0[_0x2efa0b(0x14f)]={'user_id':_0x2dc469[0x0]?.['uin'],'avatar':_0x2dc469[0x0]?.['avatar'],'nickname':_0x2dc469[0x0]?.[_0x2efa0b(0x142)],'day_count':0x0,'description':_0x2dc469[0x0]?.[_0x2efa0b(0xfb)]},_0x3d6ff0[_0x2efa0b(0x144)]=[];for(const _0x36fece of _0x2dc469){_0x3d6ff0[_0x2efa0b(0x144)]['push']({'user_id':_0x36fece?.[_0x2efa0b(0x18a)],'avatar':_0x36fece?.[_0x2efa0b(0xf2)],'description':_0x36fece?.[_0x2efa0b(0xfb)],'day_count':0x0,'nickname':_0x36fece?.[_0x2efa0b(0x142)]});}}catch(_0x1e3af8){_0x3f763c['fYQfL'](logDebug,_0x1e3af8);}if(_0x3f763c['fuSAN'](_0x4af204,WebHonorType[_0x2efa0b(0x13e)])||_0x3f763c['doOhI'](_0x4af204,WebHonorType[_0x2efa0b(0x100)]))try{let _0x26ff18=await _0x45be65(_0x2f4798,0x2);if(!_0x26ff18)throw new Error(_0x2efa0b(0x151));_0x3d6ff0['performer_list']=[];for(const _0x335808 of _0x26ff18){_0x3d6ff0[_0x2efa0b(0xf3)][_0x2efa0b(0x17b)]({'user_id':_0x335808?.[_0x2efa0b(0x18a)],'nickname':_0x335808?.[_0x2efa0b(0x142)],'avatar':_0x335808?.[_0x2efa0b(0xf2)],'description':_0x335808?.[_0x2efa0b(0xfb)]});}}catch(_0x29da21){_0x3f763c[_0x2efa0b(0x15d)](logDebug,_0x29da21);}if(_0x3f763c['JcLzE'](_0x4af204,WebHonorType[_0x2efa0b(0x13e)])||_0x4af204===WebHonorType[_0x2efa0b(0x100)])try{let _0x3cc904=await _0x45be65(_0x2f4798,0x3);if(!_0x3cc904)throw new Error(_0x3f763c[_0x2efa0b(0x137)]);_0x3d6ff0['legend_list']=[];for(const _0x1c1cad of _0x3cc904){_0x3d6ff0[_0x2efa0b(0x185)]['push']({'user_id':_0x1c1cad?.['uin'],'nickname':_0x1c1cad?.[_0x2efa0b(0x142)],'avatar':_0x1c1cad?.[_0x2efa0b(0xf2)],'desc':_0x1c1cad?.[_0x2efa0b(0x108)]});}}catch(_0x362d3e){_0x3f763c[_0x2efa0b(0xff)](logDebug,_0x3f763c[_0x2efa0b(0x137)],_0x362d3e);}if(_0x3f763c[_0x2efa0b(0xf4)](_0x4af204,WebHonorType[_0x2efa0b(0x193)])||_0x4af204===WebHonorType[_0x2efa0b(0x100)])try{let _0x3789df=await _0x3f763c['xoQzr'](_0x45be65,_0x2f4798,0x6);if(!_0x3789df)throw new Error(_0x3f763c[_0x2efa0b(0x109)]);_0x3d6ff0['emotion_list']=[];for(const _0xf4529c of _0x3789df){_0x3d6ff0[_0x2efa0b(0x12a)][_0x2efa0b(0x17b)]({'user_id':_0xf4529c?.[_0x2efa0b(0x18a)],'nickname':_0xf4529c?.[_0x2efa0b(0x142)],'avatar':_0xf4529c?.[_0x2efa0b(0xf2)],'desc':_0xf4529c?.['description']});}}catch(_0x1a8bca){logDebug('获取快乐源泉失败',_0x1a8bca);}return(_0x3f763c[_0x2efa0b(0x182)](_0x4af204,WebHonorType[_0x2efa0b(0x193)])||_0x3f763c[_0x2efa0b(0x172)](_0x4af204,WebHonorType[_0x2efa0b(0x100)]))&&(_0x3d6ff0[_0x2efa0b(0x101)]=[]),_0x3d6ff0;}} \ No newline at end of file +const _0x5af8b9=_0x5d7e;(function(_0x3d82a4,_0x1f243b){const _0x44c48e=_0x5d7e,_0x48046d=_0x3d82a4();while(!![]){try{const _0xa53d6c=parseInt(_0x44c48e(0x13c))/0x1+parseInt(_0x44c48e(0x173))/0x2*(-parseInt(_0x44c48e(0x11e))/0x3)+parseInt(_0x44c48e(0x130))/0x4*(parseInt(_0x44c48e(0xf2))/0x5)+-parseInt(_0x44c48e(0xf1))/0x6*(parseInt(_0x44c48e(0x164))/0x7)+parseInt(_0x44c48e(0x16e))/0x8*(parseInt(_0x44c48e(0xe5))/0x9)+-parseInt(_0x44c48e(0x172))/0xa+parseInt(_0x44c48e(0x134))/0xb;if(_0xa53d6c===_0x1f243b)break;else _0x48046d['push'](_0x48046d['shift']());}catch(_0x440642){_0x48046d['push'](_0x48046d['shift']());}}}(_0x3c1d,0x70ae3));function _0x3c1d(){const _0x4f7a50=['&page_start=','VAJqP','cdyuH','LyHrV','KZsSg','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','yMvRE','ZHYIm','errcode','talkative','nJRkc','FUhgP','atDBj','push','emotion_list','name','JcycL','OUMAR','1764723LKHHsV','ocoIS','ALL','hDlwP','tnULS','now','kmAtK','set','iqfDI','loXLQ','获取当前群荣耀失败','talkative_list','MzgAq','OMCjr','trim','KuFXz','POST','jQAvR','1804sFqFlu','UVEjA','xYiec','GroupData','14800599dvqTwy','UMOpt','strong_newbie','qhoMb','MBHTk','qwsYf','desc','uin','154857ZXkyfl','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','vCTks','GHwgi','mems','vPWYr','UfWPh','GroupTime','&sort=1&gc=','HttpGetJson','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','webapi\x20获取群成员','genBkn','QzRGf','p_skey=',';\x20p_uin=o','PQhgq','xxcOf','Arkjz','mfJCv','actorList','CsraG','PERFROMER','zKAPq','TrFcM','oQBYd','retcode','all','strong_newbie_list','performer_list','getGroupHonorInfo','lQXee','VsFbU','charCodeAt','length','QNnyw','rMVhP',';\x20skey=','pfrde','KSJlX','5007107aFlUIl','Vteri','WVJaZ','legend','获取群聊炽焰失败','qun.qq.com','lUGro','srOsF','BcRbM','mISfw','3832RmbnVe','mDsry','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','DtjrA','538530YSXBHU','2UDrRTQ','RVWjB','GydFE',';\x20uin=o','GET','vaFTg','vYbqn','Fnyak','get','aXmzK','LcSoP','&group_code=','ceil','LANfi','&type=','emotion','UjjZG','QXjMG','gWola','LEGEND','DFgpj','description','nTgkv','yCtnV','4401iLxUqQ','toString','Nkgda','rENHz','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','getSkey','AkJwx','AZEyA','tAcwn','count','hyXrx','&end=','6xxhDRJ','935HmDnuy','fjofz','getPSkey','TQuvl','vsdEI','eBhFS','TALKACTIVE','match','&page_limit=20','EMOTION','getGroupEssenceMsg','setGroupNotice','performer','parse','&bkn=','HttpGetText','OQiId','FrBCl','zDmLU','kaAXn','avatar','legend_list','varzE','tfhCC','YIUsb','https://qun.qq.com/interactive/honorlist?gc='];_0x3c1d=function(){return _0x4f7a50;};return _0x3c1d();}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 _0x5d7e(_0x475854,_0x126734){const _0x3c1d8b=_0x3c1d();return _0x5d7e=function(_0x5d7e61,_0x5eff9c){_0x5d7e61=_0x5d7e61-0xde;let _0x2e8957=_0x3c1d8b[_0x5d7e61];return _0x2e8957;},_0x5d7e(_0x475854,_0x126734);}(function(_0x21dd3e){const _0x46fea8=_0x5d7e,_0x5860ca={'MBHTk':_0x46fea8(0x157),'MzgAq':'TALKACTIVE','yMvRE':_0x46fea8(0x115),'srOsF':_0x46fea8(0x152),'GHwgi':'STORONGE_NEWBI','OQiId':_0x46fea8(0x136),'tWdxK':_0x46fea8(0xfb)};_0x21dd3e['ALL']=_0x5860ca[_0x46fea8(0x138)],_0x21dd3e[_0x5860ca[_0x46fea8(0x12a)]]=_0x5860ca[_0x46fea8(0x112)],_0x21dd3e[_0x5860ca[_0x46fea8(0x16b)]]=_0x46fea8(0xfe),_0x21dd3e[_0x46fea8(0xe0)]=_0x46fea8(0x167),_0x21dd3e[_0x5860ca[_0x46fea8(0x13f)]]=_0x5860ca[_0x46fea8(0x102)],_0x21dd3e[_0x5860ca['tWdxK']]=_0x46fea8(0x182);}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x5af8b9(0xfc)](_0x1e5eaa,_0x3e4f6c){const _0x551718=_0x5af8b9,_0x4bd62c={'QXjMG':_0x551718(0x169),'AZEyA':function(_0x270220,_0x3d6384){return _0x270220+_0x3d6384;},'zKAPq':function(_0x3d9635,_0x31068d){return _0x3d9635+_0x31068d;},'UjjZG':function(_0x2da268,_0x5a33e7){return _0x2da268+_0x5a33e7;},'hyXrx':function(_0x4a99f4,_0x2db7ef){return _0x4a99f4+_0x2db7ef;},'ZCbIR':_0x551718(0x14a),'nJRkc':';\x20skey=','rCEhQ':';\x20p_uin=o','jvbfq':_0x551718(0x176),'BcRbM':function(_0x4e57da,_0xe440e7){return _0x4e57da+_0xe440e7;},'VsFbU':function(_0x3830e5,_0x57a4b5){return _0x3830e5+_0x57a4b5;},'TvhiW':_0x551718(0xe9),'VoUkm':_0x551718(0x17e),'abpIk':_0x551718(0x10c),'lrZGd':_0x551718(0xfa),'vsdEI':'GET','YIUsb':function(_0x25c103,_0xf4ae76){return _0x25c103!==_0xf4ae76;}},_0x4c3d68=(await NTQQUserApi['getPSkey']([_0x4bd62c[_0x551718(0xde)]]))['qun.qq.com'],_0xb8387a=await NTQQUserApi['getSkey'](),_0x36833a=_0x4bd62c[_0x551718(0xec)](_0x4bd62c['zKAPq'](_0x4bd62c[_0x551718(0x183)](_0x4bd62c[_0x551718(0xef)](_0x4bd62c[_0x551718(0xef)](_0x4bd62c[_0x551718(0xef)](_0x4bd62c['ZCbIR'],_0x4c3d68),_0x4bd62c[_0x551718(0x116)]),_0xb8387a)+_0x4bd62c['rCEhQ'],selfInfo[_0x551718(0x13b)]),_0x4bd62c['jvbfq']),selfInfo[_0x551718(0x13b)]);if(!_0xb8387a||!_0x4c3d68)return undefined;const _0x846f2f=WebApi[_0x551718(0x148)](_0xb8387a),_0x450d44=_0x4bd62c[_0x551718(0x16c)](_0x4bd62c[_0x551718(0x153)](_0x4bd62c[_0x551718(0x15c)](_0x4bd62c['hyXrx'](_0x4bd62c['TvhiW']+_0x846f2f,_0x4bd62c['VoUkm'])+_0x1e5eaa,_0x4bd62c['abpIk']),_0x3e4f6c),_0x4bd62c['lrZGd']);let _0x5f1741;try{_0x5f1741=await RequestUtil['HttpGetJson'](_0x450d44,_0x4bd62c[_0x551718(0xf6)],'',{'Cookie':_0x36833a});}catch{return undefined;}if(_0x4bd62c[_0x551718(0x10a)](_0x5f1741[_0x551718(0x156)],0x0))return undefined;return _0x5f1741;}static async['getGroupMembers'](_0x44fde4,_0x585044=!![]){const _0x468013=_0x5af8b9,_0x4c5b97={'vPWYr':function(_0x320516,_0x224406,_0x26d8bf){return _0x320516(_0x224406,_0x26d8bf);},'Fnyak':_0x468013(0x147),'DtjrA':function(_0x26b5ab,_0x3cb619){return _0x26b5ab>_0x3cb619;},'lQXee':function(_0x59600e,_0x43034d){return _0x59600e-_0x43034d;},'zDmLU':_0x468013(0x169),'UMOpt':function(_0x34086f,_0x219c67){return _0x34086f+_0x219c67;},'FUhgP':function(_0x2a39b6,_0x41b50a){return _0x2a39b6+_0x41b50a;},'UfWPh':';\x20skey=','oQBYd':function(_0x469eae,_0x481b42){return _0x469eae||_0x481b42;},'IpBda':function(_0x1d5c3a,_0x1c6e98){return _0x1d5c3a+_0x1c6e98;},'cfewR':function(_0x581e56,_0x1f1383){return _0x581e56+_0x1f1383;},'tfhCC':function(_0x29d449,_0xbb0a15){return _0x29d449+_0xbb0a15;},'Udjgk':_0x468013(0x146),'CsraG':_0x468013(0x12e),'OMCjr':function(_0x561580,_0x30590f){return _0x561580!==_0x30590f;},'AKAlX':function(_0x2f7bac,_0x541dee){return _0x2f7bac/_0x541dee;},'GydFE':function(_0x3a7991,_0xa14661){return _0x3a7991<=_0xa14661;},'gHEYx':function(_0x3b247e,_0x2551ec){return _0x3b247e+_0x2551ec;},'QzRGf':function(_0x4abfa2,_0x2b4f1e){return _0x4abfa2+_0x2b4f1e;},'rENHz':function(_0x2d355e,_0x2dc00d){return _0x2d355e+_0x2dc00d;},'OUMAR':_0x468013(0x170),'KuFXz':function(_0x459f47,_0x380340){return _0x459f47*_0x380340;},'jQAvR':function(_0x473308,_0x209cb8){return _0x473308-_0x209cb8;},'LANfi':_0x468013(0xf0),'cdyuH':function(_0x4e8660,_0x4f7f0b){return _0x4e8660*_0x4f7f0b;},'fjofz':_0x468013(0x144),'qhoMb':_0x468013(0x100)};_0x4c5b97[_0x468013(0x141)](logDebug,_0x4c5b97[_0x468013(0x17a)],_0x44fde4);let _0x482260=new Array();try{let _0x64db57=WebGroupData[_0x468013(0x133)][_0x468013(0x17b)](_0x44fde4),_0x251d62=WebGroupData['GroupTime']['get'](_0x44fde4);if(!_0x251d62||_0x4c5b97[_0x468013(0x171)](_0x4c5b97[_0x468013(0x15b)](Date[_0x468013(0x123)](),_0x251d62),0x708*0x3e8)||!_0x585044){const _0xc17cb9=(await NTQQUserApi[_0x468013(0xf4)]([_0x468013(0x169)]))[_0x4c5b97[_0x468013(0x104)]],_0x3b3afd=await NTQQUserApi['getSkey'](),_0x1cc559=_0x4c5b97[_0x468013(0x135)](_0x4c5b97[_0x468013(0x135)](_0x4c5b97[_0x468013(0x135)](_0x4c5b97[_0x468013(0x117)](_0x468013(0x14a),_0xc17cb9),_0x4c5b97[_0x468013(0x142)]),_0x3b3afd)+_0x468013(0x14b),selfInfo['uin']);if(_0x4c5b97[_0x468013(0x155)](!_0x3b3afd,!_0xc17cb9))return _0x482260;const _0x19b835=WebApi[_0x468013(0x148)](_0x3b3afd),_0x660510=[],_0x1de846=await RequestUtil[_0x468013(0x145)](_0x4c5b97['IpBda'](_0x4c5b97['cfewR'](_0x4c5b97[_0x468013(0x109)](_0x4c5b97['Udjgk'],_0x44fde4),_0x468013(0x100)),_0x19b835),_0x4c5b97[_0x468013(0x151)],'',{'Cookie':_0x1cc559});if(!_0x1de846?.[_0x468013(0xee)]||_0x4c5b97[_0x468013(0x12b)](_0x1de846?.[_0x468013(0x114)],0x0)||!_0x1de846?.['mems'])return[];else for(const _0x528ec2 in _0x1de846['mems']){_0x482260[_0x468013(0x119)](_0x1de846[_0x468013(0x140)][_0x528ec2]);}const _0x2f1c55=Math[_0x468013(0x17f)](_0x4c5b97['AKAlX'](_0x1de846[_0x468013(0xee)],0x28));for(let _0x40b74d=0x2;_0x4c5b97['GydFE'](_0x40b74d,_0x2f1c55);_0x40b74d++){const _0x4b17dd=RequestUtil[_0x468013(0x145)](_0x4c5b97['gHEYx'](_0x4c5b97[_0x468013(0x149)](_0x4c5b97['cfewR'](_0x4c5b97[_0x468013(0x117)](_0x4c5b97[_0x468013(0x117)](_0x4c5b97[_0x468013(0xe8)](_0x4c5b97[_0x468013(0x109)](_0x4c5b97[_0x468013(0x11d)],_0x4c5b97[_0x468013(0x12d)](_0x4c5b97[_0x468013(0x12f)](_0x40b74d,0x1),0x28)),_0x4c5b97[_0x468013(0x180)]),_0x4c5b97[_0x468013(0x10e)](_0x40b74d,0x28)),_0x4c5b97[_0x468013(0xf3)]),_0x44fde4),_0x4c5b97[_0x468013(0x137)]),_0x19b835),_0x4c5b97[_0x468013(0x151)],'',{'Cookie':_0x1cc559});_0x660510[_0x468013(0x119)](_0x4b17dd);}for(let _0x587ac7=0x1;_0x4c5b97[_0x468013(0x175)](_0x587ac7,_0x2f1c55);_0x587ac7++){const _0x2e4540=await _0x660510[_0x587ac7];if(!_0x2e4540?.[_0x468013(0xee)]||_0x4c5b97[_0x468013(0x12b)](_0x2e4540?.['errcode'],0x0)||!_0x2e4540?.[_0x468013(0x140)])continue;for(const _0x5678cf in _0x2e4540[_0x468013(0x140)]){_0x482260[_0x468013(0x119)](_0x2e4540[_0x468013(0x140)][_0x5678cf]);}}WebGroupData['GroupData'][_0x468013(0x125)](_0x44fde4,_0x482260),WebGroupData[_0x468013(0x143)][_0x468013(0x125)](_0x44fde4,Date[_0x468013(0x123)]());}else _0x482260=_0x64db57;}catch{return _0x482260;}return _0x482260;}static async[_0x5af8b9(0xfd)](_0x207249,_0x2ac7ab=''){const _0x408cb8=_0x5af8b9,_0x2b84b1={'kmAtK':'qun.qq.com','mDsry':function(_0x3ff5d7,_0x5d1bab){return _0x3ff5d7+_0x5d1bab;},'TrFcM':function(_0x3409f6,_0x2ded26){return _0x3409f6+_0x2ded26;},'KZsSg':function(_0x14483c,_0x42299e){return _0x14483c+_0x42299e;},'GqPyb':'p_skey=','eBhFS':_0x408cb8(0x161),'hDlwP':function(_0x2b372c,_0x402be5){return _0x2b372c+_0x402be5;},'rMVhP':function(_0x15282b,_0x52be4f){return _0x15282b+_0x52be4f;},'mfJCv':function(_0x2b2599,_0x5cd76c){return _0x2b2599+_0x5cd76c;},'ppLWZ':'qid=','aXmzK':_0x408cb8(0x100),'LcSoP':'&text=','Vteri':_0x408cb8(0x111),'LyHrV':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0x4cf8c7=(await NTQQUserApi[_0x408cb8(0xf4)](['qun.qq.com']))[_0x2b84b1[_0x408cb8(0x124)]],_0x1060bf=await NTQQUserApi['getSkey'](),_0x2ec91f=_0x2b84b1[_0x408cb8(0x16f)](_0x2b84b1[_0x408cb8(0x154)](_0x2b84b1[_0x408cb8(0x16f)](_0x2b84b1[_0x408cb8(0x110)](_0x2b84b1['GqPyb'],_0x4cf8c7)+_0x2b84b1[_0x408cb8(0xf7)],_0x1060bf),_0x408cb8(0x14b)),selfInfo[_0x408cb8(0x13b)]);let _0x1793e6=undefined;if(!_0x1060bf||!_0x4cf8c7)return undefined;const _0x52a23b=WebApi['genBkn'](_0x1060bf),_0xd8f7be=_0x2b84b1[_0x408cb8(0x121)](_0x2b84b1[_0x408cb8(0x16f)](_0x2b84b1[_0x408cb8(0x160)](_0x2b84b1[_0x408cb8(0x14f)](_0x2b84b1['ppLWZ'],_0x207249),_0x2b84b1[_0x408cb8(0x17c)]),_0x52a23b)+_0x2b84b1[_0x408cb8(0x17d)],_0x2ac7ab)+_0x2b84b1[_0x408cb8(0x165)],_0x110733=_0x2b84b1[_0x408cb8(0x10f)]+_0x52a23b;try{return _0x1793e6=await RequestUtil[_0x408cb8(0x145)](_0x110733,_0x408cb8(0x177),'',{'Cookie':_0x2ec91f}),_0x1793e6;}catch(_0x4d4f2e){return undefined;}return undefined;}static async['getGrouptNotice'](_0x57c37a){const _0x5082ce=_0x5af8b9,_0x3a2324={'loXLQ':_0x5082ce(0x169),'xYiec':function(_0x5ccb5f,_0x37c018){return _0x5ccb5f+_0x37c018;},'tAcwn':function(_0x5c078c,_0x1894d1){return _0x5c078c+_0x1894d1;},'kaAXn':function(_0x59a8f6,_0x43a9f9){return _0x59a8f6+_0x43a9f9;},'ZHYIm':';\x20skey=','pfrde':function(_0xca77b9,_0x4c8522){return _0xca77b9||_0x4c8522;},'qwsYf':function(_0x1a749b,_0x159ddd){return _0x1a749b+_0x159ddd;},'vYbqn':_0x5082ce(0x13d),'vCTks':'&qid=','varzE':_0x5082ce(0x177),'sAeht':function(_0x3f6513,_0x155b87){return _0x3f6513!==_0x155b87;}},_0x129cbe=(await NTQQUserApi[_0x5082ce(0xf4)]([_0x3a2324[_0x5082ce(0x127)]]))[_0x3a2324[_0x5082ce(0x127)]],_0xc0e55f=await NTQQUserApi[_0x5082ce(0xea)](),_0xf71564=_0x3a2324[_0x5082ce(0x132)](_0x3a2324[_0x5082ce(0xed)](_0x3a2324[_0x5082ce(0x105)](_0x3a2324[_0x5082ce(0x105)](_0x3a2324['kaAXn'](_0x5082ce(0x14a),_0x129cbe),_0x3a2324[_0x5082ce(0x113)]),_0xc0e55f),_0x5082ce(0x14b)),selfInfo[_0x5082ce(0x13b)]);let _0x23a6df=undefined;if(_0x3a2324[_0x5082ce(0x162)](!_0xc0e55f,!_0x129cbe))return undefined;const _0x2859e0=WebApi[_0x5082ce(0x148)](_0xc0e55f),_0x177ad2=_0x3a2324[_0x5082ce(0x132)](_0x3a2324[_0x5082ce(0x105)](_0x3a2324[_0x5082ce(0xed)](_0x3a2324[_0x5082ce(0x139)](_0x3a2324[_0x5082ce(0x179)],_0x2859e0),_0x3a2324[_0x5082ce(0x13e)]),_0x57c37a),'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20');try{_0x23a6df=await RequestUtil[_0x5082ce(0x145)](_0x177ad2,_0x3a2324[_0x5082ce(0x108)],'',{'Cookie':_0xf71564});if(_0x3a2324['sAeht'](_0x23a6df?.['ec'],0x0))return undefined;return _0x23a6df;}catch(_0x16a3d4){return undefined;}return undefined;}static[_0x5af8b9(0x148)](_0x6e21dd){const _0x4a563f=_0x5af8b9,_0x5642bd={'mISfw':function(_0x444d8b,_0x88ea1b){return _0x444d8b||_0x88ea1b;},'etCfw':function(_0x18f492,_0x739591){return _0x18f492<_0x739591;},'TqXwo':function(_0x3a36f3,_0x5b7d0d){return _0x3a36f3+_0x5b7d0d;},'TQuvl':function(_0x16bf91,_0x5d9198){return _0x16bf91+_0x5d9198;},'iqfDI':function(_0x5e9570,_0x133442){return _0x5e9570&_0x133442;}};_0x6e21dd=_0x5642bd[_0x4a563f(0x16d)](_0x6e21dd,'');let _0x298fa4=0x1505;for(let _0x26875d=0x0;_0x5642bd['etCfw'](_0x26875d,_0x6e21dd[_0x4a563f(0x15e)]);_0x26875d++){const _0xcc8d47=_0x6e21dd[_0x4a563f(0x15d)](_0x26875d);_0x298fa4=_0x5642bd['TqXwo'](_0x5642bd[_0x4a563f(0xf5)](_0x298fa4,_0x298fa4<<0x5),_0xcc8d47);}return _0x5642bd[_0x4a563f(0x126)](_0x298fa4,0x7fffffff)[_0x4a563f(0xe6)]();}static async[_0x5af8b9(0x15a)](_0x4b3b21,_0x2d6e71){const _0x477dab=_0x5af8b9,_0x1db377={'DFgpj':function(_0x388c3f,_0x3cb4b9){return _0x388c3f+_0x3cb4b9;},'WVJaZ':_0x477dab(0x10b),'gWola':_0x477dab(0x181),'zBViY':_0x477dab(0x177),'tnULS':function(_0x370b18,_0x26a8cf){return _0x370b18===_0x26a8cf;},'VAJqP':function(_0x33260b,_0x156cb1,_0x5f499c,_0x38b8fb){return _0x33260b(_0x156cb1,_0x5f499c,_0x38b8fb);},'atDBj':_0x477dab(0x128),'QNnyw':_0x477dab(0x169),'lUGro':function(_0x1ac6f9,_0x203205){return _0x1ac6f9||_0x203205;},'Nkgda':function(_0x5e51ea,_0x3948d8){return _0x5e51ea+_0x3948d8;},'HPlEN':function(_0x2b65a2,_0x24821f){return _0x2b65a2+_0x24821f;},'Arkjz':function(_0x2e4bcf,_0xbe98e3){return _0x2e4bcf+_0xbe98e3;},'UVEjA':function(_0x4b758b,_0x29b85c){return _0x4b758b+_0x29b85c;},'KSJlX':';\x20skey=','PQhgq':_0x477dab(0x14b),'nTgkv':function(_0x1dda9b,_0x562c8c,_0x9d06d3){return _0x1dda9b(_0x562c8c,_0x9d06d3);},'AkJwx':function(_0x41829,_0x5b9c97){return _0x41829(_0x5b9c97);},'FrBCl':function(_0x286085,_0x116baa){return _0x286085===_0x116baa;},'TJNPe':'获取群聊之火失败','RVWjB':function(_0x14a8d7,_0x2c52d9){return _0x14a8d7===_0x2c52d9;},'ocoIS':_0x477dab(0x168),'YGXdK':function(_0x198a71,_0x4828ee,_0x27644e){return _0x198a71(_0x4828ee,_0x27644e);},'xxcOf':function(_0x4b5224,_0x493cb3){return _0x4b5224===_0x493cb3;},'JcycL':function(_0x5f560a,_0x388072,_0x372a1c){return _0x5f560a(_0x388072,_0x372a1c);},'vaFTg':'获取快乐源泉失败','yCtnV':function(_0x218175,_0x2d749e,_0xe8d401){return _0x218175(_0x2d749e,_0xe8d401);}},_0x3105d4=(await NTQQUserApi[_0x477dab(0xf4)]([_0x1db377[_0x477dab(0x15f)]]))['qun.qq.com'],_0x47f9d8=await NTQQUserApi['getSkey']();if(_0x1db377[_0x477dab(0x16a)](!_0x47f9d8,!_0x3105d4))return undefined;async function _0x44254b(_0x4bd12b,_0x35f4a1){const _0x4f38c3=_0x477dab;let _0x486b65=_0x1db377[_0x4f38c3(0xe1)](_0x1db377['DFgpj'](_0x1db377[_0x4f38c3(0x166)]+_0x4bd12b,_0x1db377[_0x4f38c3(0xdf)]),_0x35f4a1[_0x4f38c3(0xe6)]()),_0x3e4a7b='',_0x1e7506;try{_0x3e4a7b=await RequestUtil[_0x4f38c3(0x101)](_0x486b65,_0x1db377['zBViY'],'',{'Cookie':_0x746155});const _0x3c98fd=_0x3e4a7b[_0x4f38c3(0xf9)](/window\.__INITIAL_STATE__=(.*?);/);return _0x3c98fd&&(_0x1e7506=JSON[_0x4f38c3(0xff)](_0x3c98fd[0x1][_0x4f38c3(0x12c)]())),_0x1db377['tnULS'](_0x35f4a1,0x1)?_0x1e7506?.['talkativeList']:_0x1e7506?.[_0x4f38c3(0x150)];}catch(_0x5da97f){_0x1db377[_0x4f38c3(0x10d)](logDebug,_0x1db377[_0x4f38c3(0x118)],_0x486b65,_0x5da97f);}return undefined;}let _0x3ada5f={'group_id':_0x4b3b21};const _0x746155=_0x1db377[_0x477dab(0xe7)](_0x1db377[_0x477dab(0xe1)](_0x1db377['DFgpj'](_0x1db377['HPlEN'](_0x1db377[_0x477dab(0xe1)](_0x1db377[_0x477dab(0x14e)](_0x1db377[_0x477dab(0x131)]('p_skey=',_0x3105d4),_0x1db377[_0x477dab(0x163)]),_0x47f9d8),_0x1db377[_0x477dab(0x14c)]),selfInfo['uin']),_0x477dab(0x176)),selfInfo['uin']);if(_0x1db377['tnULS'](_0x2d6e71,WebHonorType[_0x477dab(0xf8)])||_0x1db377[_0x477dab(0x122)](_0x2d6e71,WebHonorType[_0x477dab(0x120)]))try{let _0x57e755=await _0x1db377[_0x477dab(0xe3)](_0x44254b,_0x4b3b21,0x1);if(!_0x57e755)throw new Error('获取龙王信息失败');_0x3ada5f['current_talkative']={'user_id':_0x57e755[0x0]?.[_0x477dab(0x13b)],'avatar':_0x57e755[0x0]?.[_0x477dab(0x106)],'nickname':_0x57e755[0x0]?.['name'],'day_count':0x0,'description':_0x57e755[0x0]?.['desc']},_0x3ada5f['talkative_list']=[];for(const _0x2f1b9c of _0x57e755){_0x3ada5f[_0x477dab(0x129)]['push']({'user_id':_0x2f1b9c?.[_0x477dab(0x13b)],'avatar':_0x2f1b9c?.['avatar'],'description':_0x2f1b9c?.['desc'],'day_count':0x0,'nickname':_0x2f1b9c?.[_0x477dab(0x11b)]});}}catch(_0xbda14c){_0x1db377['AkJwx'](logDebug,_0xbda14c);}if(_0x2d6e71===WebHonorType[_0x477dab(0x152)]||_0x1db377[_0x477dab(0x103)](_0x2d6e71,WebHonorType[_0x477dab(0x120)]))try{let _0x2d7ffb=await _0x1db377[_0x477dab(0xe3)](_0x44254b,_0x4b3b21,0x2);if(!_0x2d7ffb)throw new Error(_0x1db377['TJNPe']);_0x3ada5f[_0x477dab(0x159)]=[];for(const _0x33ff5d of _0x2d7ffb){_0x3ada5f['performer_list'][_0x477dab(0x119)]({'user_id':_0x33ff5d?.[_0x477dab(0x13b)],'nickname':_0x33ff5d?.[_0x477dab(0x11b)],'avatar':_0x33ff5d?.['avatar'],'description':_0x33ff5d?.[_0x477dab(0x13a)]});}}catch(_0x4fcb7c){_0x1db377[_0x477dab(0xeb)](logDebug,_0x4fcb7c);}if(_0x1db377[_0x477dab(0x103)](_0x2d6e71,WebHonorType['PERFROMER'])||_0x1db377[_0x477dab(0x174)](_0x2d6e71,WebHonorType['ALL']))try{let _0x23ccd9=await _0x44254b(_0x4b3b21,0x3);if(!_0x23ccd9)throw new Error(_0x1db377[_0x477dab(0x11f)]);_0x3ada5f[_0x477dab(0x107)]=[];for(const _0x702500 of _0x23ccd9){_0x3ada5f[_0x477dab(0x107)][_0x477dab(0x119)]({'user_id':_0x702500?.[_0x477dab(0x13b)],'nickname':_0x702500?.[_0x477dab(0x11b)],'avatar':_0x702500?.[_0x477dab(0x106)],'desc':_0x702500?.[_0x477dab(0xe2)]});}}catch(_0x30d54a){_0x1db377['YGXdK'](logDebug,_0x1db377[_0x477dab(0x11f)],_0x30d54a);}if(_0x1db377['xxcOf'](_0x2d6e71,WebHonorType[_0x477dab(0xfb)])||_0x1db377[_0x477dab(0x174)](_0x2d6e71,WebHonorType[_0x477dab(0x120)]))try{let _0x24a1e3=await _0x1db377[_0x477dab(0x11c)](_0x44254b,_0x4b3b21,0x6);if(!_0x24a1e3)throw new Error(_0x1db377[_0x477dab(0x178)]);_0x3ada5f[_0x477dab(0x11a)]=[];for(const _0x500b0c of _0x24a1e3){_0x3ada5f[_0x477dab(0x11a)][_0x477dab(0x119)]({'user_id':_0x500b0c?.['uin'],'nickname':_0x500b0c?.[_0x477dab(0x11b)],'avatar':_0x500b0c?.[_0x477dab(0x106)],'desc':_0x500b0c?.['description']});}}catch(_0x304197){_0x1db377[_0x477dab(0xe4)](logDebug,_0x1db377['vaFTg'],_0x304197);}return(_0x2d6e71===WebHonorType[_0x477dab(0xfb)]||_0x1db377[_0x477dab(0x14d)](_0x2d6e71,WebHonorType[_0x477dab(0x120)]))&&(_0x3ada5f[_0x477dab(0x158)]=[]),_0x3ada5f;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 8083b929..7411ee0b 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x3e441d=_0x5d9e;(function(_0x4421c9,_0x444e8f){const _0x3c7316=_0x5d9e,_0x27d842=_0x4421c9();while(!![]){try{const _0x1726d0=-parseInt(_0x3c7316(0xa3))/0x1+-parseInt(_0x3c7316(0xcd))/0x2+-parseInt(_0x3c7316(0x133))/0x3*(-parseInt(_0x3c7316(0x10f))/0x4)+parseInt(_0x3c7316(0x13e))/0x5*(-parseInt(_0x3c7316(0x101))/0x6)+-parseInt(_0x3c7316(0xd4))/0x7*(-parseInt(_0x3c7316(0xf3))/0x8)+parseInt(_0x3c7316(0xf0))/0x9*(-parseInt(_0x3c7316(0x12f))/0xa)+parseInt(_0x3c7316(0x140))/0xb;if(_0x1726d0===_0x444e8f)break;else _0x27d842['push'](_0x27d842['shift']());}catch(_0x1719d7){_0x27d842['push'](_0x27d842['shift']());}}}(_0x284a,0xaea4f));import _0xf2f1e5 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x5d9e(_0x218ee5,_0x580218){const _0x284a28=_0x284a();return _0x5d9e=function(_0x5d9e08,_0x470729){_0x5d9e08=_0x5d9e08-0x9c;let _0x49b354=_0x284a28[_0x5d9e08];return _0x49b354;},_0x5d9e(_0x218ee5,_0x580218);}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x25197f from'node:path';import _0x49d5d7 from'node:os';import _0x365269 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x284a(){const _0x4b21dc=['53907bfgIME','onMemberListChange','init\x20failed\x20','assign','digest',')已登录,无法重复登录','homedir','没有可快速登录的QQ号','fxEdj','onProfileDetailInfoChanged','aREQY','find','init','has','addKernelMsgListener','JMcmv','uid','nHUMh','启动失败:\x20','result','onLineDev','hfvyl','NodeIDispatcherAdapter','onGroupListUpdate','loginListener','groupCode','map','undefined','18MnRTNJ','gOBWn','message_sent','912NbiBeF','now','快速登录不可用','NodeIKernelSessionListener','nSBiG','update','hQGVL','onBuddyListChange','AOuvq','stringify','onKickedOffLine','recallTime','CBqGd','loginService','6GJKzZA','dataPath','util','sceneId','errMsg','fDhTs','session','onAddSendMsg','onRecvMsg','initWithDeskTopConfig','infos','push','addKernelGroupListener','md5','143328WuCFJK','getGroupService','onLoginSuccess','initSession','EKxpw','initSession\x20failed','updateMsg','NodeIQQNTWrapperSession','packet_sent','onLoginSuccessFuncList','last_message_time','initConfig','NodeQQNTWrapperUtil','consoleLog','engine','onMsgInfoListUpdate','LocalLoginInfoList','getNextMemberList','dataPathGlobal','fileLog','OdtuS','clientType','startNT','length','NodeIKernelProfileListener','-v2.db','bjdXc','NodeIKernelLoginService','账号设备(','onRecvSysMsg','mdeRP','KSQeR','4271390YBgqXp','fileLogLevel','addKernelLoginListener','GroupListener','78PDvZhG','onUserLoggedIn','onSelfStatusChanged','pngBase64QrcodeData','devUid','getBuddyList','base64','ECBQz','gftGt','oJQJi','quickLoginWithUin','4760970bFpuUQ','getMsgService','27477846ScwOWR','addListener','./nt_qq/global','NodeIKernelBuddyListener','resolve','DuYlx','consoleLogLevel','packet_received','_GW_B','then','NodeIDependsAdapter','name','isDelete','mkdirSync','快速登录失败\x20','140022008','proxyHandler','addMsg','getBuddyService','quickLogin','szzIT','CWezS','OiXpZ','read','floor','140022013','891671OWNBGs','V1_WIN_NQ_','get','replace','uin','qrcodeUrl','constructor',')\x20在线状态变更','./NapCat/data','BuddyListener','getLoginList','PIUBS','loginErrorInfo','onMemberInfoChange','onQRCodeSessionFailed','from','krKCY','XYVSq','passwordLogin','McOYd','curVersion','catch','tipsDesc','vKZcR','JmGaR','Windows\x2010\x20Pro','addKernelProfileListener','UGhdE','createHash','NodeIQQNTWrapperEngine','data:image/png;base64,','qrLogin','delete','forEach','[KickedOffLine]\x20[','./.config/QQ','message_received','\x20has\x20no\x20method\x20','jvJNI','Tegff','wbFzL','NodeIKernelLoginListener','1788092CBNMvL','split','lxIdf','sNTLy','DnGtX','msgId','set'];_0x284a=function(){return _0x4b21dc;};return _0x284a();}import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x4b1678 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x3e441d(0x107)];[_0x3e441d(0x103)];[_0x3e441d(0x11d)];[_0x3e441d(0xec)];['loginService'];['onLoginSuccessFuncList']=[];[_0x3e441d(0x150)]={'get'(target,prop,receiver){const _0x19d8bc=_0x3e441d,NzqHcf={'fDhTs':function(x,y){return x===y;},'QGWUN':_0x19d8bc(0xef)};if(NzqHcf[_0x19d8bc(0x106)](typeof target[prop],NzqHcf['QGWUN']))return(...args)=>{const _0xa02c44=_0x19d8bc;logDebug(target[_0xa02c44(0xa9)][_0xa02c44(0x14b)]+_0xa02c44(0xc8)+prop);};return Reflect[_0x19d8bc(0xa5)](target,prop,receiver);}};constructor(){const _0x100c5e=_0x3e441d,_0x219f9f={'McOYd':'当前账号(','JMcmv':_0x100c5e(0xd9),'fxEdj':function(_0x103579,_0x207a30,_0x281b92){return _0x103579(_0x207a30,_0x281b92);},'jvJNI':'数据库初始化失败','EKxpw':function(_0x25b2a5,_0x1f2803){return _0x25b2a5(_0x1f2803);},'gnoqO':'本账号数据/缓存目录:','gOBWn':'登录失败','xpslu':function(_0x1a99ed,_0x19e217){return _0x1a99ed==_0x19e217;},'gftGt':function(_0x2f72e3,_0x1c5066){return _0x2f72e3==_0x1c5066;},'Tegff':function(_0x25a686,_0x2e1b4f,_0x443d3a){return _0x25a686(_0x2e1b4f,_0x443d3a);}};this['engine']=new _0xf2f1e5[(_0x100c5e(0xc0))](),this[_0x100c5e(0x103)]=new _0xf2f1e5[(_0x100c5e(0x11b))](),this[_0x100c5e(0x100)]=new _0xf2f1e5[(_0x100c5e(0x12a))](),this[_0x100c5e(0x107)]=new _0xf2f1e5[(_0x100c5e(0x116))](),this[_0x100c5e(0xec)]=new LoginListener(),this[_0x100c5e(0xec)][_0x100c5e(0x134)]=_0x26e0cc=>{const _0x3a156d=_0x100c5e;logError(_0x219f9f[_0x3a156d(0xb6)]+_0x26e0cc+_0x219f9f[_0x3a156d(0xe3)]);},this[_0x100c5e(0xec)]['onQRCodeLoginSucceed']=_0x1716b4=>{const _0x9b44c9=_0x100c5e,_0x272063={'DuYlx':function(_0x4dbe92,_0x3c179b,_0x2dad25){const _0xcd5982=_0x5d9e;return _0x219f9f[_0xcd5982(0xdc)](_0x4dbe92,_0x3c179b,_0x2dad25);},'krKCY':_0x219f9f[_0x9b44c9(0xc9)],'vKZcR':function(_0x491d63,_0x5f33be,_0x398228){return _0x219f9f['fxEdj'](_0x491d63,_0x5f33be,_0x398228);},'lxIdf':function(_0x2a7f17,_0x4e4ae8){const _0x36dad4=_0x9b44c9;return _0x219f9f[_0x36dad4(0x113)](_0x2a7f17,_0x4e4ae8);},'aqNla':_0x219f9f['gnoqO']};this[_0x9b44c9(0x112)](_0x1716b4[_0x9b44c9(0xa7)],_0x1716b4[_0x9b44c9(0xe4)])[_0x9b44c9(0x149)](_0x4ea499=>{const _0x102675=_0x9b44c9;selfInfo['uin']=_0x1716b4[_0x102675(0xa7)],selfInfo['uid']=_0x1716b4[_0x102675(0xe4)],napCatConfig[_0x102675(0xa0)](),_0x272063[_0x102675(0xba)](setLogLevel,napCatConfig[_0x102675(0x130)],napCatConfig[_0x102675(0x146)]),enableFileLog(napCatConfig[_0x102675(0x122)]),_0x272063[_0x102675(0xcf)](enableConsoleLog,napCatConfig[_0x102675(0x11c)]),_0x272063['lxIdf'](setLogSelfInfo,selfInfo);const _0x1dadf8=_0x25197f[_0x102675(0x144)](this[_0x102675(0x102)],_0x102675(0xab));_0x365269[_0x102675(0x14d)](_0x1dadf8,{'recursive':!![]}),_0x272063['vKZcR'](logDebug,_0x272063['aqNla'],_0x1dadf8),dbUtil[_0x102675(0xe0)](_0x25197f[_0x102675(0x144)](_0x1dadf8,'./'+_0x1716b4[_0x102675(0xa7)]+_0x102675(0x128)))[_0x102675(0x149)](()=>{const _0x1e17a2=_0x102675;this['initDataListener'](),this[_0x1e17a2(0x118)][_0x1e17a2(0xee)](_0x30522d=>{const _0x259c32=_0x1e17a2,_0x52d2f5={'NyrlQ':function(_0x33a94c,_0x3bafdf,_0x52d96f){return _0x33a94c(_0x3bafdf,_0x52d96f);}};new Promise((_0x3ecd71,_0x9a946)=>{const _0x1bce54=_0x5d9e,_0x21b322=_0x52d2f5['NyrlQ'](_0x30522d,_0x1716b4[_0x1bce54(0xa7)],_0x1716b4[_0x1bce54(0xe4)]);_0x21b322 instanceof Promise&&_0x21b322[_0x1bce54(0x149)](_0x3ecd71)[_0x1bce54(0xb8)](_0x9a946);})[_0x259c32(0x149)]();});})[_0x102675(0xb8)](_0x498a22=>{const _0x54626d=_0x102675;_0x272063[_0x54626d(0x145)](logError,_0x272063[_0x54626d(0xb3)],_0x498a22);});})[_0x9b44c9(0xb8)](_0x2d1ce6=>{const _0x53db43=_0x9b44c9;_0x272063[_0x53db43(0x145)](logError,_0x53db43(0x114),_0x2d1ce6);throw new Error(_0x53db43(0xe6)+JSON[_0x53db43(0xfc)](_0x2d1ce6));});},this['loginListener'][_0x100c5e(0xb1)]=(_0x2f28bc,_0x22802a,_0x57b280)=>{const _0x390850=_0x100c5e;_0x219f9f[_0x390850(0xdc)](logError,_0x219f9f['gOBWn'],_0x57b280),_0x219f9f['xpslu'](_0x2f28bc,0x1)&&_0x219f9f[_0x390850(0x13b)](_0x22802a,0x3)&&this['loginService']['getQRCodePicture']();},this[_0x100c5e(0xec)]['onLoginFailed']=_0x5dba0b=>{const _0x591d76=_0x100c5e;_0x219f9f[_0x591d76(0xca)](logError,_0x219f9f[_0x591d76(0xf1)],_0x5dba0b);},this[_0x100c5e(0xec)]=new Proxy(this[_0x100c5e(0xec)],this[_0x100c5e(0x150)]),this['loginService'][_0x100c5e(0x131)](new _0xf2f1e5[(_0x100c5e(0xcc))](this['loginListener'])),this[_0x100c5e(0x11a)]();}get['dataPath'](){const _0x3e5adc=_0x3e441d,_0x2cbfc7={'SCrKs':_0x3e5adc(0xc6)};let _0x3f35a3=this[_0x3e5adc(0x103)]['getNTUserDataInfoConfig']();return!_0x3f35a3&&(_0x3f35a3=_0x25197f['resolve'](_0x49d5d7[_0x3e5adc(0xda)](),_0x2cbfc7['SCrKs']),_0x365269['mkdirSync'](_0x3f35a3,{'recursive':!![]})),_0x3f35a3;}get[_0x3e441d(0x121)](){const _0x4b27dd=_0x3e441d;return _0x25197f['resolve'](this[_0x4b27dd(0x102)],_0x4b27dd(0x142));}[_0x3e441d(0x11a)](){const _0x501c2d=_0x3e441d;this['engine'][_0x501c2d(0x10a)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x501c2d(0xb7)],'os_version':_0x501c2d(0xbc),'use_xlog':!![],'qua':_0x501c2d(0xa4)+qqVersionConfigInfo['curVersion'][_0x501c2d(0xa6)]('-','_')+_0x501c2d(0x148),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0xf2f1e5['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService'][_0x501c2d(0x11a)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x501c2d(0xb7)],'hostName':hostname});}[_0x3e441d(0x112)](_0xaf1344,_0x1770b2){const _0x3ea4d9=_0x3e441d,_0x2ecdcf={'KWJJC':function(_0x2745f5,_0x3b8535){return _0x2745f5(_0x3b8535);},'XYVSq':function(_0x52f7b3,_0x403dca){return _0x52f7b3(_0x403dca);},'KSQeR':function(_0x10dd6e,_0x42d24e,_0x584d1a,_0x2181ab){return _0x10dd6e(_0x42d24e,_0x584d1a,_0x2181ab);},'DnGtX':function(_0x5b605f,_0x305c05){return _0x5b605f(_0x305c05);},'mdeRP':function(_0x4024e3,_0x53dffe){return _0x4024e3+_0x53dffe;},'sNTLy':_0x3ea4d9(0xd6)};return new Promise((_0x3d6aec,_0x3d9805)=>{const _0x2cc4bc=_0x3ea4d9,_0x572427=_0x2ecdcf[_0x2cc4bc(0x12e)](genSessionConfig,_0xaf1344,_0x1770b2,this['dataPath']),_0x3a5f56=new SessionListener();_0x3a5f56['onSessionInitComplete']=_0xc174ec=>{const _0x5ca660=_0x2cc4bc;if(_0xc174ec===0x0)return _0x2ecdcf['KWJJC'](_0x3d6aec,0x0);_0x2ecdcf[_0x5ca660(0xb4)](_0x3d9805,_0xc174ec);},this[_0x2cc4bc(0x107)][_0x2cc4bc(0xe0)](_0x572427,new _0xf2f1e5[(_0x2cc4bc(0x14a))](new DependsAdapter()),new _0xf2f1e5[(_0x2cc4bc(0xea))](new DispatcherAdapter()),new _0xf2f1e5[(_0x2cc4bc(0xf6))](_0x3a5f56));try{this['session'][_0x2cc4bc(0x125)](0x0);}catch(_0x344253){try{this[_0x2cc4bc(0x107)][_0x2cc4bc(0x125)]();}catch(_0x4cb39a){_0x2ecdcf[_0x2cc4bc(0xd1)](_0x3d9805,_0x2ecdcf[_0x2cc4bc(0x12d)](_0x2ecdcf[_0x2cc4bc(0xd0)],_0x4cb39a));}}});}['initDataListener'](){const _0x4d4513=_0x3e441d,_0x527969={'OirAO':function(_0x4e1518,_0x2f1060){return _0x4e1518+_0x2f1060;},'JmGaR':function(_0x589a68,_0x4d0576){return _0x589a68+_0x4d0576;},'OiXpZ':_0x4d4513(0x12b),'eLxRs':_0x4d4513(0xaa),'bjdXc':function(_0x55d114,_0x2e8e07){return _0x55d114(_0x2e8e07);},'XYkEp':function(_0x493092,_0x16c76b){return _0x493092+_0x16c76b;},'nSBiG':_0x4d4513(0xc5),'hfvyl':function(_0x2992d0,_0x571560){return _0x2992d0===_0x571560;},'oJQJi':function(_0xa0b937,_0x38a982){return _0xa0b937/_0x38a982;},'oUXwr':function(_0x31d580,_0xb19353){return _0x31d580/_0xb19353;},'szzIT':function(_0x26c81e,_0x299b05){return _0x26c81e===_0x299b05;},'CWezS':function(_0x268132,_0x58094b,_0x19b039){return _0x268132(_0x58094b,_0x19b039);}},_0x53ec72=new MsgListener();_0x53ec72[_0x4d4513(0xe8)]=_0x2fdf14=>{const _0x345dfe=_0x4d4513;_0x2fdf14[_0x345dfe(0xee)](_0x259293=>{const _0x3ad89d=_0x345dfe;_0x259293[_0x3ad89d(0x124)]===0x2&&log(_0x527969['OirAO'](_0x527969[_0x3ad89d(0xbb)](_0x527969[_0x3ad89d(0x9f)],_0x259293[_0x3ad89d(0x137)]),_0x527969['eLxRs']));});},_0x53ec72[_0x4d4513(0xfd)]=_0x34f495=>{const _0x481670=_0x4d4513;_0x527969[_0x481670(0x129)](log,_0x527969['OirAO'](_0x527969['OirAO'](_0x527969['XYkEp'](_0x527969[_0x481670(0xf7)],_0x34f495['tipsTitle']),']\x20'),_0x34f495[_0x481670(0xb9)]));},_0x53ec72[_0x4d4513(0x11e)]=_0x23c2ad=>{const _0x47a695=_0x4d4513,_0x2419af={'FsvEk':function(_0x333a42,_0x38da73){const _0x582c19=_0x5d9e;return _0x527969[_0x582c19(0xe9)](_0x333a42,_0x38da73);}};stat['packet_received']+=0x1,_0x23c2ad[_0x47a695(0xee)](_0x26ec90=>{const _0x26eca6=_0x47a695;_0x2419af['FsvEk'](_0x26ec90['recallTime'],'0')?dbUtil[_0x26eca6(0x151)](_0x26ec90)['then']()['catch']():dbUtil['getMsgByLongId'](_0x26ec90[_0x26eca6(0xd2)])[_0x26eca6(0x149)](_0x368e54=>{const _0x51cb4d=_0x26eca6;_0x368e54&&(_0x368e54[_0x51cb4d(0xfe)]=_0x26ec90[_0x51cb4d(0xfe)],dbUtil[_0x51cb4d(0x115)](_0x368e54)[_0x51cb4d(0x149)]());});});},_0x53ec72[_0x4d4513(0x108)]=_0x21d945=>{const _0x3699d3=_0x4d4513;stat[_0x3699d3(0x117)]+=0x1,stat[_0x3699d3(0xf2)]+=0x1,stat[_0x3699d3(0x119)]=Math[_0x3699d3(0xa1)](_0x527969[_0x3699d3(0x13c)](Date[_0x3699d3(0xf4)](),0x3e8));},_0x53ec72[_0x4d4513(0x109)]=_0x552930=>{const _0x413d07=_0x4d4513;stat[_0x413d07(0x147)]+=0x1,stat[_0x413d07(0xc7)]+=_0x552930[_0x413d07(0x126)],stat[_0x413d07(0x119)]=Math['floor'](_0x527969['oUXwr'](Date[_0x413d07(0xf4)](),0x3e8));},_0x53ec72[_0x4d4513(0x12c)]=(..._0x1ead6e)=>{const _0x2c6842=_0x4d4513;stat[_0x2c6842(0x147)]+=0x1;},this[_0x4d4513(0x141)](_0x53ec72);const _0x197145=new BuddyListener();_0x197145[_0x4d4513(0xfa)]=_0x5185de=>{const _0x38125a=_0x4d4513;rawFriends[_0x38125a(0x126)]=0x0,rawFriends[_0x38125a(0x10c)](..._0x5185de);for(const _0x6a72b6 of _0x5185de){for(const _0x52a83f of _0x6a72b6['buddyList']){const _0x502481=friends['get'](_0x52a83f['uid']);uid2UinMap[_0x52a83f['uid']]=_0x52a83f['uin'],_0x502481?Object[_0x38125a(0xd7)](_0x502481,_0x52a83f):friends[_0x38125a(0xd3)](_0x52a83f['uid'],_0x52a83f);}}},this[_0x4d4513(0x141)](_0x197145),this[_0x4d4513(0x107)][_0x4d4513(0x152)]()[_0x4d4513(0x138)](!![])[_0x4d4513(0x149)](_0x578dd4=>{});const _0x29c994=new ProfileListener();_0x29c994[_0x4d4513(0xdd)]=_0x5660af=>{const _0x331c40=_0x4d4513;_0x5660af[_0x331c40(0xe4)]===selfInfo[_0x331c40(0xe4)]&&Object['assign'](selfInfo,_0x5660af);},_0x29c994[_0x4d4513(0x135)]=_0x332df4=>{},this[_0x4d4513(0x141)](_0x29c994);const _0x2ddc4b=new GroupListener();_0x2ddc4b[_0x4d4513(0xeb)]=(_0x5965aa,_0x129065)=>{const _0x20a98d=_0x4d4513;_0x129065[_0x20a98d(0xee)](_0x511c2b=>{const _0x503ded=_0x20a98d,_0x4bf490=groups[_0x503ded(0xa5)](_0x511c2b[_0x503ded(0xed)]);if(_0x4bf490)Object[_0x503ded(0xd7)](_0x4bf490,_0x511c2b);else{groups[_0x503ded(0xd3)](_0x511c2b['groupCode'],_0x511c2b);const _0x453de7=this[_0x503ded(0x107)]['getGroupService']()['createMemberListScene'](_0x511c2b[_0x503ded(0xed)],'groupMemberList_MainWindow');this[_0x503ded(0x107)]['getGroupService']()[_0x503ded(0x120)](_0x453de7,undefined,0xbb8)[_0x503ded(0x149)](_0x5d4202=>{});}});},_0x2ddc4b[_0x4d4513(0xd5)]=_0x5e2b36=>{const _0x532076=_0x4d4513,_0x22d5d3=_0x5e2b36[_0x532076(0x104)]['split']('_')[0x0];if(groupMembers[_0x532076(0xe1)](_0x22d5d3)){const _0x333d11=groupMembers[_0x532076(0xa5)](_0x22d5d3);_0x5e2b36[_0x532076(0x10b)][_0x532076(0xc4)]((_0x445ab3,_0x9a56cb)=>{const _0x56f259=_0x532076,_0x44a251=_0x333d11[_0x56f259(0xa5)](_0x9a56cb);_0x44a251?Object[_0x56f259(0xd7)](_0x44a251,_0x445ab3):_0x333d11['set'](_0x9a56cb,_0x445ab3);});}else groupMembers[_0x532076(0xd3)](_0x22d5d3,_0x5e2b36[_0x532076(0x10b)]);},_0x2ddc4b[_0x4d4513(0xb0)]=(_0x50f0d8,_0x39426e,_0x19dc4b)=>{const _0x580175=_0x4d4513;_0x527969[_0x580175(0x9d)](_0x39426e,0x0)&&_0x19dc4b[_0x580175(0xa5)](selfInfo[_0x580175(0xe4)])&&_0x19dc4b[_0x580175(0xa5)](selfInfo['uid'])?.[_0x580175(0x14c)]&&_0x527969[_0x580175(0x9e)](setTimeout,()=>{const _0x2c66f6=_0x580175;groups[_0x2c66f6(0xc3)](_0x50f0d8);},0x1388);_0x19dc4b['forEach']((_0x133e5b,_0x48a1ee)=>{const _0x3f5680=_0x580175;uid2UinMap[_0x48a1ee]=_0x133e5b[_0x3f5680(0xa7)];});const _0x390f1d=groupMembers['get'](_0x50f0d8);_0x390f1d?_0x19dc4b[_0x580175(0xc4)]((_0xc8b6b2,_0x4d5069)=>{const _0x5d926b=_0x580175,_0x355735=_0x390f1d[_0x5d926b(0xa5)](_0x4d5069);_0x355735?Object[_0x5d926b(0xd7)](_0x355735,_0xc8b6b2):_0x390f1d[_0x5d926b(0xd3)](_0x4d5069,_0xc8b6b2);}):groupMembers[_0x580175(0xd3)](_0x50f0d8,_0x19dc4b);},this[_0x4d4513(0x141)](_0x2ddc4b);}[_0x3e441d(0x141)](_0x367f2c){const _0x4cb786=_0x3e441d,_0x38bf88={'UGhdE':_0x4cb786(0xac),'AOuvq':_0x4cb786(0x132),'PIUBS':'MsgListener','hQGVL':'ProfileListener'};_0x367f2c=new Proxy(_0x367f2c,this['proxyHandler']);switch(_0x367f2c[_0x4cb786(0xa9)][_0x4cb786(0x14b)]){case _0x38bf88[_0x4cb786(0xbe)]:{return this[_0x4cb786(0x107)][_0x4cb786(0x152)]()['addKernelBuddyListener'](new _0xf2f1e5[(_0x4cb786(0x143))](_0x367f2c));}case _0x38bf88[_0x4cb786(0xfb)]:{return this[_0x4cb786(0x107)][_0x4cb786(0x110)]()[_0x4cb786(0x10d)](new _0xf2f1e5['NodeIKernelGroupListener'](_0x367f2c));}case _0x38bf88[_0x4cb786(0xae)]:{return this[_0x4cb786(0x107)][_0x4cb786(0x13f)]()[_0x4cb786(0xe2)](new _0xf2f1e5['NodeIKernelMsgListener'](_0x367f2c));}case _0x38bf88[_0x4cb786(0xf9)]:{return this['session']['getProfileService']()[_0x4cb786(0xbd)](new _0xf2f1e5[(_0x4cb786(0x127))](_0x367f2c));}default:return-0x1;}}[_0x3e441d(0x111)](_0x8ae5d5){const _0x1adf20=_0x3e441d;this[_0x1adf20(0x118)][_0x1adf20(0x10c)](_0x8ae5d5);}async[_0x3e441d(0x9c)](_0x49cc31){const _0x908f58=_0x3e441d,_0x389028={'OdtuS':_0x908f58(0xdb),'YPDsA':function(_0x13ea1f,_0x2483b7){return _0x13ea1f(_0x2483b7);},'rkfHf':function(_0x517715,_0x3c43e8){return _0x517715+_0x3c43e8;},'nHUMh':_0x908f58(0x14e)},_0x340515=await this[_0x908f58(0x100)]['getLoginList']();if(_0x340515['result']!==0x0)throw new Error(_0x389028[_0x908f58(0x123)]);const _0x4bde2d=_0x340515[_0x908f58(0x11f)][_0x908f58(0xdf)](_0x3ab414=>_0x3ab414['uin']===_0x49cc31);if(!_0x4bde2d||!_0x4bde2d?.['isQuickLogin'])throw new Error(_0x49cc31+_0x908f58(0xf5));await _0x389028['YPDsA'](sleep,0x3e8);const _0x39b042=await this['loginService'][_0x908f58(0x13d)](_0x49cc31);if(!_0x39b042[_0x908f58(0xe7)])throw new Error(_0x389028['rkfHf'](_0x389028[_0x908f58(0xe5)],_0x39b042[_0x908f58(0xaf)][_0x908f58(0x105)]));return _0x39b042;}async[_0x3e441d(0xc2)](_0x2330fd){const _0xdc3d0d=_0x3e441d,_0x53a440={'CBqGd':_0xdc3d0d(0x139),'aGtFf':function(_0x8c38e3,_0x5860c1,_0x576f7e,_0x54340c){return _0x8c38e3(_0x5860c1,_0x576f7e,_0x54340c);}};return new Promise((_0x8955f0,_0x24db67)=>{const _0x29f065=_0xdc3d0d;this[_0x29f065(0xec)]['onQRCodeGetPicture']=_0x4bf108=>{const _0x21e1cd=_0x29f065,_0x404571=_0x4bf108[_0x21e1cd(0x136)][_0x21e1cd(0xce)](_0x21e1cd(0xc1))[0x1],_0x59cfa1=Buffer[_0x21e1cd(0xb2)](_0x404571,_0x53a440[_0x21e1cd(0xff)]);_0x53a440['aGtFf'](_0x2330fd,_0x4bf108[_0x21e1cd(0xa8)],_0x4bf108[_0x21e1cd(0x136)],_0x59cfa1);},this[_0x29f065(0x100)]['getQRCodePicture']();});}async[_0x3e441d(0xb5)](_0x53c3d5,_0xcf1c3e,_0xf43416,_0x185bb9,_0x196cf4){const _0x1cb5a0=_0x3e441d,_0x23aa68={'aREQY':'hex','wbFzL':function(_0x3fcad6,_0x2a7642){return _0x3fcad6||_0x2a7642;},'JdYRE':function(_0x33f0b0,_0x4d4f1a){return _0x33f0b0(_0x4d4f1a);},'ECBQz':_0x1cb5a0(0xa2)},_0x524d6d=_0x4b1678[_0x1cb5a0(0xbf)](_0x1cb5a0(0x10e))[_0x1cb5a0(0xf8)](_0xcf1c3e)[_0x1cb5a0(0xd8)](_0x23aa68[_0x1cb5a0(0xde)]),_0x5af739={'uin':_0x53c3d5,'passwordMd5':_0x524d6d,'step':_0xf43416&&_0x185bb9&&_0x196cf4?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xf43416||'','proofWaterRand':_0x23aa68[_0x1cb5a0(0xcb)](_0x185bb9,''),'proofWaterSid':_0x23aa68['wbFzL'](_0x196cf4,'')};await this[_0x1cb5a0(0x100)]['getLoginList'](),await _0x23aa68['JdYRE'](sleep,0x3e8);const _0x4d6683=await this['loginService'][_0x1cb5a0(0xb5)](_0x5af739);switch(_0x4d6683[_0x1cb5a0(0xe7)]){case'0':{break;}case _0x1cb5a0(0x14f):{break;}case'4':case _0x23aa68[_0x1cb5a0(0x13a)]:default:}}async['getQuickLoginList'](){const _0x32bf50=_0x3e441d,_0x33756c=await this[_0x32bf50(0x100)][_0x32bf50(0xad)]();return _0x33756c;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x56de19=_0x2b31;(function(_0x1e95a8,_0x1df1d2){const _0x56c0d4=_0x2b31,_0x29aa1c=_0x1e95a8();while(!![]){try{const _0x1b7705=parseInt(_0x56c0d4(0x1a5))/0x1*(-parseInt(_0x56c0d4(0x195))/0x2)+parseInt(_0x56c0d4(0x1ca))/0x3+-parseInt(_0x56c0d4(0x171))/0x4*(-parseInt(_0x56c0d4(0x18d))/0x5)+-parseInt(_0x56c0d4(0x18f))/0x6*(-parseInt(_0x56c0d4(0x152))/0x7)+parseInt(_0x56c0d4(0x178))/0x8*(parseInt(_0x56c0d4(0x1aa))/0x9)+-parseInt(_0x56c0d4(0x192))/0xa+parseInt(_0x56c0d4(0x1d2))/0xb*(-parseInt(_0x56c0d4(0x13c))/0xc);if(_0x1b7705===_0x1df1d2)break;else _0x29aa1c['push'](_0x29aa1c['shift']());}catch(_0x4f01ce){_0x29aa1c['push'](_0x29aa1c['shift']());}}}(_0x17b9,0x6a633));import _0x505075 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x37e856 from'node:path';import _0x124662 from'node:os';function _0x17b9(){const _0x4a117a=['CCKvX','consoleLogLevel','43686hQYXHo','onMemberInfoChange','ProfileListener','./nt_qq/global','get','WEChG','set','getMsgByLongId','\x20has\x20no\x20method\x20','msgId','vVeif','SiYgm','onUserLoggedIn','util','loginErrorInfo','lMwQi','账号设备(','startNT','NodeIKernelLoginService','losEO','result','byHig','initSession','forEach','ydMKi','addKernelProfileListener','init\x20failed\x20','delete','fileLog','assign','find','addKernelMsgListener','155973jNyGOH','zuRXR','LocalLoginInfoList','NodeIDependsAdapter','没有可快速登录的QQ号','MIZwR','fQuIu','yryeH','1184150rFMymX','BTfDg','base64','qaLNH','addKernelGroupListener','createHash','NodeIKernelProfileListener','SFaKl','message_received','clientType','GroupListener','pngBase64QrcodeData','nNvzI','XCzvk','engine','name','fileLogLevel','push','LODzd','GTegl','hogTF','uid','split','session','getBuddyList','groupCode','onQRCodeLoginSucceed','infos','NNIpS','oFbEm','onQRCodeSessionFailed','Windows\x2010\x20Pro','isQuickLogin','qrLogin','getLoginList','passwordLogin','mfnvM','has','loginService','TOmpG','initSession\x20failed',')\x20在线状态变更','now','hex','read','catch','72xFTPxl','errMsg','hQofh','onLoginFailed','NodeIQQNTWrapperSession','resolve','mkdirSync','initDataListener','140022008','proxyHandler','onLoginSuccessFuncList','addListener','本账号数据/缓存目录:','NodeIKernelLoginListener','onProfileDetailInfoChanged','length','NodeIKernelBuddyListener','sceneId','getNTUserDataInfoConfig','WaNTy','mAadH','快速登录失败\x20','2982679STOhzM','dCmXd','getProfileService','PFnrX','QeeUn','getQRCodePicture','md5',')已登录,无法重复登录','当前账号(','hpSGw','initConfig','快速登录不可用','AtTlS','onGroupListUpdate','packet_received','zUdQe','curVersion','dataPathGlobal','onBuddyListChange','recallTime','wYhlh','NodeIKernelGroupListener','getQuickLoginList','tipsDesc','init','quickLogin','undefined','YUnsx','NnHrl','skigj','devUid','2308SuPanZ','NodeIKernelSessionListener','./NapCat/data','addKernelBuddyListener','140022013','updateMsg','chfIL','808GvybOo','CTqMg','floor','_GW_B','addMsg','createMemberListScene','onRecvSysMsg','consoleLog','onRecvMsg','onSelfStatusChanged','xAYkP','uin','map','dataPath','then','NHbUl','onAddSendMsg','data:image/png;base64,','BuddyListener','fOotJ','IORwA','2130RffGvH','message_sent','12pkZUgK','onQRCodeGetPicture','UrxBP','2000290tsbfAh','replace','loginListener','2HerkNG','onLineDev','stringify','登录失败','getBuddyService','onMemberListChange','NodeQQNTWrapperUtil','onLoginSuccess','NodeIDispatcherAdapter','last_message_time','onKickedOffLine','groupMemberList_MainWindow','gjZHH','constructor','initWithDeskTopConfig','getGroupService','358549RvZYSm','onSessionInitComplete','qrcodeUrl'];_0x17b9=function(){return _0x4a117a;};return _0x17b9();}import _0x4e1a58 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';function _0x2b31(_0x5ecabe,_0x5f1594){const _0x17b982=_0x17b9();return _0x2b31=function(_0x2b3166,_0x4c4e4c){_0x2b3166=_0x2b3166-0x138;let _0x32436e=_0x17b982[_0x2b3166];return _0x32436e;},_0x2b31(_0x5ecabe,_0x5f1594);}import _0x1a4fa9 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x56de19(0x1e9)];['util'];['engine'];[_0x56de19(0x194)];[_0x56de19(0x1f8)];[_0x56de19(0x146)]=[];[_0x56de19(0x145)]={'get'(target,prop,receiver){const _0x17b702=_0x56de19,Nfozkq={'oFbEm':function(callee,param1){return callee(param1);},'NNIpS':function(x,y){return x===y;},'ydMKi':_0x17b702(0x16c)};if(Nfozkq[_0x17b702(0x1ee)](typeof target[prop],Nfozkq[_0x17b702(0x1c2)]))return(...args)=>{const _0x5a311f=_0x17b702;Nfozkq[_0x5a311f(0x1ef)](logDebug,target[_0x5a311f(0x1a2)][_0x5a311f(0x1e1)]+_0x5a311f(0x1b2)+prop);};return Reflect[_0x17b702(0x1ae)](target,prop,receiver);}};constructor(){const _0x580526=_0x56de19,_0x5ef21a={'SiYgm':function(_0x17968d,_0x51ef75){return _0x17968d(_0x51ef75);},'fOotJ':function(_0x2952ca,_0x1a6b94){return _0x2952ca+_0x1a6b94;},'QeeUn':_0x580526(0x159),'MIZwR':function(_0x1a7463,_0x48fe19,_0x5bb2a4){return _0x1a7463(_0x48fe19,_0x5bb2a4);},'CTqMg':'数据库初始化失败','wYhlh':function(_0xba4b,_0x268e45,_0x5ecd1d){return _0xba4b(_0x268e45,_0x5ecd1d);},'chfIL':_0x580526(0x173),'BIsPj':function(_0x38bd74,_0x563b37,_0x15b7c3){return _0x38bd74(_0x563b37,_0x15b7c3);},'fQuIu':_0x580526(0x148),'jAqbD':function(_0x48abc5,_0x1110f6){return _0x48abc5 instanceof _0x1110f6;},'skigj':_0x580526(0x1fa),'nNvzI':_0x580526(0x198),'HGCyh':function(_0x242a1a,_0x117ce4){return _0x242a1a==_0x117ce4;}};this[_0x580526(0x1e0)]=new _0x505075['NodeIQQNTWrapperEngine'](),this[_0x580526(0x1b7)]=new _0x505075[(_0x580526(0x19b))](),this['loginService']=new _0x505075[(_0x580526(0x1bc))](),this[_0x580526(0x1e9)]=new _0x505075[(_0x580526(0x140))](),this[_0x580526(0x194)]=new LoginListener(),this[_0x580526(0x194)][_0x580526(0x1b6)]=_0x25e421=>{const _0x2c5fe2=_0x580526;_0x5ef21a['SiYgm'](logError,_0x5ef21a[_0x2c5fe2(0x18b)](_0x2c5fe2(0x15a)+_0x25e421,_0x5ef21a[_0x2c5fe2(0x156)]));},this[_0x580526(0x194)][_0x580526(0x1ec)]=_0x163761=>{const _0x2e9c4c=_0x580526,_0x1bc0f6={'BTfDg':function(_0x202f23,_0x53ed07){return _0x5ef21a['jAqbD'](_0x202f23,_0x53ed07);},'JodHs':_0x5ef21a[_0x2e9c4c(0x16f)]};this[_0x2e9c4c(0x1c0)](_0x163761[_0x2e9c4c(0x183)],_0x163761[_0x2e9c4c(0x1e7)])[_0x2e9c4c(0x186)](_0x1318c5=>{const _0x42b086=_0x2e9c4c,_0x307c32={'NnHrl':function(_0x34ae69,_0x489116,_0x48ba85){const _0x50de35=_0x2b31;return _0x5ef21a[_0x50de35(0x1cf)](_0x34ae69,_0x489116,_0x48ba85);},'byHig':_0x5ef21a[_0x42b086(0x179)]};selfInfo['uin']=_0x163761[_0x42b086(0x183)],selfInfo[_0x42b086(0x1e7)]=_0x163761[_0x42b086(0x1e7)],napCatConfig[_0x42b086(0x13a)](),_0x5ef21a[_0x42b086(0x166)](setLogLevel,napCatConfig[_0x42b086(0x1e2)],napCatConfig[_0x42b086(0x1a9)]),_0x5ef21a[_0x42b086(0x1b5)](enableFileLog,napCatConfig[_0x42b086(0x1c6)]),enableConsoleLog(napCatConfig[_0x42b086(0x17f)]),_0x5ef21a['SiYgm'](setLogSelfInfo,selfInfo);const _0x19be55=_0x37e856['resolve'](this[_0x42b086(0x185)],_0x5ef21a[_0x42b086(0x177)]);_0x4e1a58[_0x42b086(0x142)](_0x19be55,{'recursive':!![]}),_0x5ef21a['BIsPj'](logDebug,_0x5ef21a[_0x42b086(0x1d0)],_0x19be55),dbUtil[_0x42b086(0x16a)](_0x37e856[_0x42b086(0x141)](_0x19be55,'./'+_0x163761[_0x42b086(0x183)]+'-v2.db'))[_0x42b086(0x186)](()=>{const _0x1da7d0=_0x42b086,_0x49eac6={'CCKvX':function(_0x28aba6,_0x497131,_0x25cfb4){return _0x28aba6(_0x497131,_0x25cfb4);},'ImIfA':function(_0x5e640c,_0x27cbde){const _0x4f2845=_0x2b31;return _0x1bc0f6[_0x4f2845(0x1d3)](_0x5e640c,_0x27cbde);}};this[_0x1da7d0(0x143)](),this[_0x1da7d0(0x146)][_0x1da7d0(0x184)](_0x5e2ce1=>{const _0x27d70b=_0x1da7d0,_0x472820={'yryeH':function(_0x3a2bdb,_0x23140d,_0x405acc){const _0x328ff2=_0x2b31;return _0x49eac6[_0x328ff2(0x1a8)](_0x3a2bdb,_0x23140d,_0x405acc);},'GTegl':function(_0x487665,_0x1e8cf5){return _0x49eac6['ImIfA'](_0x487665,_0x1e8cf5);}};new Promise((_0x275996,_0x19e7c7)=>{const _0x172d6f=_0x2b31,_0x8bc10f=_0x472820[_0x172d6f(0x1d1)](_0x5e2ce1,_0x163761[_0x172d6f(0x183)],_0x163761[_0x172d6f(0x1e7)]);_0x472820[_0x172d6f(0x1e5)](_0x8bc10f,Promise)&&_0x8bc10f[_0x172d6f(0x186)](_0x275996)[_0x172d6f(0x13b)](_0x19e7c7);})[_0x27d70b(0x186)]();});})[_0x42b086(0x13b)](_0x55039d=>{const _0x3595f6=_0x42b086;_0x307c32[_0x3595f6(0x16e)](logError,_0x307c32[_0x3595f6(0x1bf)],_0x55039d);});})[_0x2e9c4c(0x13b)](_0x21af68=>{const _0x2f7e93=_0x2e9c4c;logError(_0x1bc0f6['JodHs'],_0x21af68);throw new Error('启动失败:\x20'+JSON[_0x2f7e93(0x197)](_0x21af68));});},this['loginListener'][_0x580526(0x1f0)]=(_0x4669cc,_0x4e8f7a,_0x4223d9)=>{const _0x58a878=_0x580526;_0x5ef21a[_0x58a878(0x1cf)](logError,_0x5ef21a[_0x58a878(0x1de)],_0x4223d9),_0x4669cc==0x1&&_0x5ef21a['HGCyh'](_0x4e8f7a,0x3)&&this[_0x58a878(0x1f8)][_0x58a878(0x157)]();},this['loginListener'][_0x580526(0x13f)]=_0x154f57=>{const _0x51ce07=_0x580526;_0x5ef21a['wYhlh'](logError,_0x51ce07(0x198),_0x154f57);},this[_0x580526(0x194)]=new Proxy(this['loginListener'],this[_0x580526(0x145)]),this[_0x580526(0x1f8)]['addKernelLoginListener'](new _0x505075[(_0x580526(0x149))](this[_0x580526(0x194)])),this['initConfig']();}get[_0x56de19(0x185)](){const _0x54d404=_0x56de19,_0x36724f={'vVeif':'./.config/QQ'};let _0x397897=this['util'][_0x54d404(0x14e)]();return!_0x397897&&(_0x397897=_0x37e856['resolve'](_0x124662['homedir'](),_0x36724f[_0x54d404(0x1b4)]),_0x4e1a58['mkdirSync'](_0x397897,{'recursive':!![]})),_0x397897;}get['dataPathGlobal'](){const _0x3b743c=_0x56de19;return _0x37e856['resolve'](this['dataPath'],_0x3b743c(0x1ad));}[_0x56de19(0x15c)](){const _0x3ecee0=_0x56de19,_0x3e27e7={'xAYkP':_0x3ecee0(0x1f1)};this[_0x3ecee0(0x1e0)][_0x3ecee0(0x1a3)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x3ecee0(0x162)],'os_version':_0x3e27e7[_0x3ecee0(0x182)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion'][_0x3ecee0(0x193)]('-','_')+_0x3ecee0(0x17b),'global_path_config':{'desktopGlobalPath':this[_0x3ecee0(0x163)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x505075['NodeIGlobalAdapter'](new GlobalAdapter())),this[_0x3ecee0(0x1f8)][_0x3ecee0(0x15c)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x56de19(0x1c0)](_0x3923ee,_0x4e4c21){const _0x5e4633=_0x56de19,_0xac3274={'MwFQw':function(_0x4ae147,_0x17b612){return _0x4ae147(_0x17b612);},'gjZHH':function(_0x28419d,_0x266d9d){return _0x28419d(_0x266d9d);},'YUnsx':function(_0x166f81,_0x8515d1){return _0x166f81+_0x8515d1;},'xxyet':_0x5e4633(0x1c4)};return new Promise((_0x32744f,_0xa582c6)=>{const _0x1e1398=_0x5e4633,_0xd56210={'AtTlS':function(_0x17b9bf,_0x152d17){return _0x17b9bf===_0x152d17;},'WaNTy':function(_0x2a0912,_0xc22a99){return _0xac3274['MwFQw'](_0x2a0912,_0xc22a99);}},_0x570b67=genSessionConfig(_0x3923ee,_0x4e4c21,this[_0x1e1398(0x185)]),_0x346789=new SessionListener();_0x346789[_0x1e1398(0x1a6)]=_0x41e7f0=>{const _0x4ffe47=_0x1e1398;if(_0xd56210[_0x4ffe47(0x15e)](_0x41e7f0,0x0))return _0x32744f(0x0);_0xd56210[_0x4ffe47(0x14f)](_0xa582c6,_0x41e7f0);},this[_0x1e1398(0x1e9)][_0x1e1398(0x16a)](_0x570b67,new _0x505075[(_0x1e1398(0x1cd))](new DependsAdapter()),new _0x505075[(_0x1e1398(0x19d))](new DispatcherAdapter()),new _0x505075[(_0x1e1398(0x172))](_0x346789));try{this[_0x1e1398(0x1e9)][_0x1e1398(0x1bb)](0x0);}catch(_0x322869){try{this['session']['startNT']();}catch(_0x227b32){_0xac3274[_0x1e1398(0x1a1)](_0xa582c6,_0xac3274[_0x1e1398(0x16d)](_0xac3274['xxyet'],_0x227b32));}}});}[_0x56de19(0x143)](){const _0x17feda=_0x56de19,_0x52ba69={'TOmpG':function(_0x527ecd,_0x468556){return _0x527ecd===_0x468556;},'msTAL':function(_0x15297e,_0x405af7){return _0x15297e(_0x405af7);},'IORwA':function(_0x2e5e5f,_0x2b8943){return _0x2e5e5f+_0x2b8943;},'gWTJM':_0x17feda(0x1ba),'Unntf':_0x17feda(0x1fb),'hpSGw':function(_0x1dd8c7,_0x5e8ecf){return _0x1dd8c7(_0x5e8ecf);},'uGhiz':function(_0x395dda,_0x12312a){return _0x395dda+_0x12312a;},'OJmab':'[KickedOffLine]\x20[','QjRpe':function(_0x52e203,_0x33cedd){return _0x52e203/_0x33cedd;},'mAadH':function(_0x3122d0,_0x4e8f2c){return _0x3122d0/_0x4e8f2c;},'zUdQe':function(_0x370056,_0x9f815d){return _0x370056===_0x9f815d;},'SFaKl':function(_0x1f85cf,_0x5ecd3a){return _0x1f85cf===_0x5ecd3a;},'LODzd':function(_0x5571f4,_0x5e1531,_0x22b833){return _0x5571f4(_0x5e1531,_0x22b833);}},_0x4fc3fe=new MsgListener();_0x4fc3fe[_0x17feda(0x196)]=_0x52f8d5=>{const _0x566f7d=_0x17feda;_0x52f8d5[_0x566f7d(0x184)](_0x3c5cc3=>{const _0x36e6ad=_0x566f7d;_0x52ba69['TOmpG'](_0x3c5cc3[_0x36e6ad(0x1db)],0x2)&&_0x52ba69['msTAL'](log,_0x52ba69[_0x36e6ad(0x18c)](_0x52ba69['gWTJM'],_0x3c5cc3[_0x36e6ad(0x170)])+_0x52ba69['Unntf']);});},_0x4fc3fe[_0x17feda(0x19f)]=_0x532a00=>{const _0x27fbbd=_0x17feda;_0x52ba69[_0x27fbbd(0x15b)](log,_0x52ba69[_0x27fbbd(0x18c)](_0x52ba69['uGhiz'](_0x52ba69['OJmab'],_0x532a00['tipsTitle']),']\x20')+_0x532a00[_0x27fbbd(0x169)]);},_0x4fc3fe['onMsgInfoListUpdate']=_0x64a45=>{const _0x144d12=_0x17feda,_0x4b0969={'losEO':function(_0x3ce78e,_0x103b78){const _0x50ec7e=_0x2b31;return _0x52ba69[_0x50ec7e(0x1f9)](_0x3ce78e,_0x103b78);}};stat[_0x144d12(0x160)]+=0x1,_0x64a45[_0x144d12(0x184)](_0x246dfa=>{const _0x5b9d22=_0x144d12;_0x4b0969[_0x5b9d22(0x1bd)](_0x246dfa['recallTime'],'0')?dbUtil[_0x5b9d22(0x17c)](_0x246dfa)['then']()[_0x5b9d22(0x13b)]():dbUtil[_0x5b9d22(0x1b1)](_0x246dfa[_0x5b9d22(0x1b3)])['then'](_0x5e7092=>{const _0x9087bd=_0x5b9d22;_0x5e7092&&(_0x5e7092['recallTime']=_0x246dfa[_0x9087bd(0x165)],dbUtil[_0x9087bd(0x176)](_0x5e7092)[_0x9087bd(0x186)]());});});},_0x4fc3fe[_0x17feda(0x188)]=_0x596ebd=>{const _0x106ab3=_0x17feda;stat['packet_sent']+=0x1,stat[_0x106ab3(0x18e)]+=0x1,stat[_0x106ab3(0x19e)]=Math[_0x106ab3(0x17a)](_0x52ba69['QjRpe'](Date[_0x106ab3(0x138)](),0x3e8));},_0x4fc3fe[_0x17feda(0x180)]=_0x34cb10=>{const _0x242e16=_0x17feda;stat['packet_received']+=0x1,stat[_0x242e16(0x1da)]+=_0x34cb10[_0x242e16(0x14b)],stat[_0x242e16(0x19e)]=Math[_0x242e16(0x17a)](_0x52ba69[_0x242e16(0x150)](Date[_0x242e16(0x138)](),0x3e8));},_0x4fc3fe[_0x17feda(0x17e)]=(..._0x33167f)=>{stat['packet_received']+=0x1;},this['addListener'](_0x4fc3fe);const _0x122e14=new BuddyListener();_0x122e14[_0x17feda(0x164)]=_0x3b93a0=>{const _0x31fde8=_0x17feda;rawFriends[_0x31fde8(0x14b)]=0x0,rawFriends[_0x31fde8(0x1e3)](..._0x3b93a0);for(const _0x4d1f0d of _0x3b93a0){for(const _0xc3c964 of _0x4d1f0d['buddyList']){const _0x1f10f1=friends[_0x31fde8(0x1ae)](_0xc3c964[_0x31fde8(0x1e7)]);uid2UinMap[_0xc3c964[_0x31fde8(0x1e7)]]=_0xc3c964[_0x31fde8(0x183)],_0x1f10f1?Object[_0x31fde8(0x1c7)](_0x1f10f1,_0xc3c964):friends[_0x31fde8(0x1b0)](_0xc3c964[_0x31fde8(0x1e7)],_0xc3c964);}}},this[_0x17feda(0x147)](_0x122e14),this[_0x17feda(0x1e9)][_0x17feda(0x199)]()[_0x17feda(0x1ea)](!![])[_0x17feda(0x186)](_0x34c4b1=>{});const _0xc1af8a=new ProfileListener();_0xc1af8a[_0x17feda(0x14a)]=_0x27c4fb=>{const _0x557ef9=_0x17feda;_0x52ba69[_0x557ef9(0x161)](_0x27c4fb[_0x557ef9(0x1e7)],selfInfo['uid'])&&Object[_0x557ef9(0x1c7)](selfInfo,_0x27c4fb);},_0xc1af8a[_0x17feda(0x181)]=_0x259d0b=>{},this[_0x17feda(0x147)](_0xc1af8a);const _0xa04c43=new GroupListener();_0xa04c43[_0x17feda(0x15f)]=(_0x12f031,_0x58f148)=>{_0x58f148['map'](_0x36f18a=>{const _0x36fbd4=_0x2b31,_0x1792f5=groups[_0x36fbd4(0x1ae)](_0x36f18a[_0x36fbd4(0x1eb)]);if(_0x1792f5)Object['assign'](_0x1792f5,_0x36f18a);else{groups[_0x36fbd4(0x1b0)](_0x36f18a['groupCode'],_0x36f18a);const _0x40a0ca=this[_0x36fbd4(0x1e9)]['getGroupService']()[_0x36fbd4(0x17d)](_0x36f18a[_0x36fbd4(0x1eb)],_0x36fbd4(0x1a0));this[_0x36fbd4(0x1e9)][_0x36fbd4(0x1a4)]()['getNextMemberList'](_0x40a0ca,undefined,0xbb8)[_0x36fbd4(0x186)](_0x59e84d=>{});}});},_0xa04c43[_0x17feda(0x19a)]=_0x518f51=>{const _0x33e1d1=_0x17feda,_0x462b40=_0x518f51[_0x33e1d1(0x14d)][_0x33e1d1(0x1e8)]('_')[0x0];if(groupMembers[_0x33e1d1(0x1f7)](_0x462b40)){const _0xe31672=groupMembers[_0x33e1d1(0x1ae)](_0x462b40);_0x518f51[_0x33e1d1(0x1ed)][_0x33e1d1(0x1c1)]((_0x37de28,_0x5362db)=>{const _0x498c5b=_0x33e1d1,_0x3d9311=_0xe31672[_0x498c5b(0x1ae)](_0x5362db);_0x3d9311?Object[_0x498c5b(0x1c7)](_0x3d9311,_0x37de28):_0xe31672[_0x498c5b(0x1b0)](_0x5362db,_0x37de28);});}else groupMembers[_0x33e1d1(0x1b0)](_0x462b40,_0x518f51['infos']);},_0xa04c43[_0x17feda(0x1ab)]=(_0x5be1e7,_0x1a7f52,_0x5248ea)=>{const _0x3b2779=_0x17feda;_0x52ba69[_0x3b2779(0x1d9)](_0x1a7f52,0x0)&&_0x5248ea[_0x3b2779(0x1ae)](selfInfo[_0x3b2779(0x1e7)])&&_0x5248ea['get'](selfInfo[_0x3b2779(0x1e7)])?.['isDelete']&&_0x52ba69[_0x3b2779(0x1e4)](setTimeout,()=>{const _0x32b68e=_0x3b2779;groups[_0x32b68e(0x1c5)](_0x5be1e7);},0x1388);_0x5248ea[_0x3b2779(0x1c1)]((_0x1c10d6,_0x363460)=>{const _0x4eb4e5=_0x3b2779;uid2UinMap[_0x363460]=_0x1c10d6[_0x4eb4e5(0x183)];});const _0x10b428=groupMembers['get'](_0x5be1e7);_0x10b428?_0x5248ea[_0x3b2779(0x1c1)]((_0x3fdced,_0x5bb3dd)=>{const _0x10d578=_0x3b2779,_0x561af1=_0x10b428[_0x10d578(0x1ae)](_0x5bb3dd);_0x561af1?Object['assign'](_0x561af1,_0x3fdced):_0x10b428['set'](_0x5bb3dd,_0x3fdced);}):groupMembers[_0x3b2779(0x1b0)](_0x5be1e7,_0x5248ea);},this[_0x17feda(0x147)](_0xa04c43);}[_0x56de19(0x147)](_0x5caf68){const _0x24422a=_0x56de19,_0x450585={'zuRXR':_0x24422a(0x1dc),'jsIwu':'MsgListener','ugNSt':_0x24422a(0x1ac)};_0x5caf68=new Proxy(_0x5caf68,this[_0x24422a(0x145)]);switch(_0x5caf68['constructor']['name']){case _0x24422a(0x18a):{return this[_0x24422a(0x1e9)][_0x24422a(0x199)]()[_0x24422a(0x174)](new _0x505075[(_0x24422a(0x14c))](_0x5caf68));}case _0x450585[_0x24422a(0x1cb)]:{return this['session'][_0x24422a(0x1a4)]()[_0x24422a(0x1d6)](new _0x505075[(_0x24422a(0x167))](_0x5caf68));}case _0x450585['jsIwu']:{return this['session']['getMsgService']()[_0x24422a(0x1c9)](new _0x505075['NodeIKernelMsgListener'](_0x5caf68));}case _0x450585['ugNSt']:{return this['session'][_0x24422a(0x154)]()[_0x24422a(0x1c3)](new _0x505075[(_0x24422a(0x1d8))](_0x5caf68));}default:return-0x1;}}[_0x56de19(0x19c)](_0x4157a6){const _0x502476=_0x56de19;this[_0x502476(0x146)][_0x502476(0x1e3)](_0x4157a6);}async[_0x56de19(0x16b)](_0xc84bb3){const _0x2b299b=_0x56de19,_0x52eea6={'hogTF':function(_0x15b326,_0x481c7a){return _0x15b326!==_0x481c7a;},'WEChG':function(_0x3237fa,_0x34b244){return _0x3237fa+_0x34b244;},'PFnrX':_0x2b299b(0x151)},_0x3b3cb5=await this[_0x2b299b(0x1f8)]['getLoginList']();if(_0x52eea6[_0x2b299b(0x1e6)](_0x3b3cb5[_0x2b299b(0x1be)],0x0))throw new Error(_0x2b299b(0x1ce));const _0x5e510d=_0x3b3cb5[_0x2b299b(0x1cc)][_0x2b299b(0x1c8)](_0x20022a=>_0x20022a[_0x2b299b(0x183)]===_0xc84bb3);if(!_0x5e510d||!_0x5e510d?.[_0x2b299b(0x1f2)])throw new Error(_0xc84bb3+_0x2b299b(0x15d));await sleep(0x3e8);const _0x240ed8=await this[_0x2b299b(0x1f8)]['quickLoginWithUin'](_0xc84bb3);if(!_0x240ed8['result'])throw new Error(_0x52eea6[_0x2b299b(0x1af)](_0x52eea6[_0x2b299b(0x155)],_0x240ed8[_0x2b299b(0x1b8)][_0x2b299b(0x13d)]));return _0x240ed8;}async[_0x56de19(0x1f3)](_0x2b5e32){const _0x841ad4=_0x56de19,_0x4a2e41={'NHbUl':_0x841ad4(0x189)};return new Promise((_0x4ee688,_0x27b13c)=>{const _0x522b72=_0x841ad4;this[_0x522b72(0x194)][_0x522b72(0x190)]=_0x78f481=>{const _0x8e77a2=_0x522b72,_0x28fdb1=_0x78f481[_0x8e77a2(0x1dd)]['split'](_0x4a2e41[_0x8e77a2(0x187)])[0x1],_0xc89ae=Buffer['from'](_0x28fdb1,_0x8e77a2(0x1d4));_0x2b5e32(_0x78f481[_0x8e77a2(0x1a7)],_0x78f481[_0x8e77a2(0x1dd)],_0xc89ae);},this[_0x522b72(0x1f8)][_0x522b72(0x157)]();});}async[_0x56de19(0x1f5)](_0x198cc6,_0x41b348,_0x3c69f9,_0x30cc06,_0x5a7876){const _0x2d727e=_0x56de19,_0x323a4d={'lMwQi':_0x2d727e(0x158),'XCzvk':_0x2d727e(0x139),'hQofh':function(_0x323d45,_0x1a75b9){return _0x323d45&&_0x1a75b9;},'mfnvM':function(_0x5c5aaf,_0x186521){return _0x5c5aaf||_0x186521;},'UrxBP':function(_0x58b360,_0x139a30){return _0x58b360(_0x139a30);},'qaLNH':_0x2d727e(0x144),'dCmXd':_0x2d727e(0x175)},_0x28cda9=_0x1a4fa9[_0x2d727e(0x1d7)](_0x323a4d[_0x2d727e(0x1b9)])['update'](_0x41b348)['digest'](_0x323a4d[_0x2d727e(0x1df)]),_0x4aab2b={'uin':_0x198cc6,'passwordMd5':_0x28cda9,'step':_0x323a4d[_0x2d727e(0x13e)](_0x3c69f9,_0x30cc06)&&_0x5a7876?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x3c69f9||'','proofWaterRand':_0x323a4d[_0x2d727e(0x1f6)](_0x30cc06,''),'proofWaterSid':_0x323a4d[_0x2d727e(0x1f6)](_0x5a7876,'')};await this[_0x2d727e(0x1f8)][_0x2d727e(0x1f4)](),await _0x323a4d[_0x2d727e(0x191)](sleep,0x3e8);const _0x2c420b=await this[_0x2d727e(0x1f8)][_0x2d727e(0x1f5)](_0x4aab2b);switch(_0x2c420b[_0x2d727e(0x1be)]){case'0':{break;}case _0x323a4d[_0x2d727e(0x1d5)]:{break;}case'4':case _0x323a4d[_0x2d727e(0x153)]:default:}}async[_0x56de19(0x168)](){const _0x2cc3b4=_0x56de19,_0x15ffdb=await this[_0x2cc3b4(0x1f8)][_0x2cc3b4(0x1f4)]();return _0x15ffdb;}}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 b7c8bb1b..fe3ea8dd 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x53d569=_0x498f;(function(_0x11760e,_0x1b8ddc){const _0x567461=_0x498f,_0x44a2f9=_0x11760e();while(!![]){try{const _0x371a22=-parseInt(_0x567461(0x66))/0x1+-parseInt(_0x567461(0x73))/0x2*(parseInt(_0x567461(0x79))/0x3)+parseInt(_0x567461(0x6b))/0x4*(parseInt(_0x567461(0x6a))/0x5)+parseInt(_0x567461(0x7a))/0x6+-parseInt(_0x567461(0x70))/0x7+-parseInt(_0x567461(0x7d))/0x8+parseInt(_0x567461(0x74))/0x9*(parseInt(_0x567461(0x7c))/0xa);if(_0x371a22===_0x1b8ddc)break;else _0x44a2f9['push'](_0x44a2f9['shift']());}catch(_0x370b7d){_0x44a2f9['push'](_0x44a2f9['shift']());}}}(_0x3422,0xa003a));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();function _0x498f(_0x1e5f12,_0xe3c071){const _0x342286=_0x3422();return _0x498f=function(_0x498f4e,_0x5d8c10){_0x498f4e=_0x498f4e-0x66;let _0x2566f1=_0x342286[_0x498f4e];return _0x2566f1;},_0x498f(_0x1e5f12,_0xe3c071);}export function deleteGroup(_0x4c271c){const _0x385c4e=_0x498f;groups[_0x385c4e(0x71)](_0x4c271c),groupMembers[_0x385c4e(0x71)](_0x4c271c);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x53d569(0x7b)};export async function getFriend(_0x1700e3){const _0x3a238b=_0x53d569;_0x1700e3=_0x1700e3['toString']();if(isNumeric(_0x1700e3)){const _0x34a9c6=Array[_0x3a238b(0x76)](friends['values']());return _0x34a9c6[_0x3a238b(0x6f)](_0x5f13ab=>_0x5f13ab[_0x3a238b(0x77)]===_0x1700e3);}else return friends['get'](_0x1700e3);}export async function getGroup(_0x38e67c){const _0xa675f7=_0x53d569;let _0x128bb9=groups['get'](_0x38e67c[_0xa675f7(0x67)]());if(!_0x128bb9)try{const _0xcc7bce=await NTQQGroupApi['getGroups']();_0xcc7bce[_0xa675f7(0x78)]&&_0xcc7bce[_0xa675f7(0x68)](_0x40d6a6=>{const _0x2e3975=_0xa675f7;groups[_0x2e3975(0x75)](_0x40d6a6['groupCode'],_0x40d6a6);});}catch(_0x54313c){return undefined;}return _0x128bb9=groups[_0xa675f7(0x6c)](_0x38e67c[_0xa675f7(0x67)]()),_0x128bb9;}export async function getGroupMember(_0x3e69ad,_0x56a556){const _0xff8fa7=_0x53d569,_0x5dd3fc={'NsMAo':function(_0x57e8c4,_0x17acf4){return _0x57e8c4(_0x17acf4);},'jfybX':function(_0x2c8ed2){return _0x2c8ed2();},'jEZVB':function(_0x3901db){return _0x3901db();}};_0x3e69ad=_0x3e69ad['toString'](),_0x56a556=_0x56a556['toString']();let _0x1327b9=groupMembers[_0xff8fa7(0x6c)](_0x3e69ad);if(!_0x1327b9)try{_0x1327b9=await NTQQGroupApi[_0xff8fa7(0x72)](_0x3e69ad),groupMembers[_0xff8fa7(0x75)](_0x3e69ad,_0x1327b9);}catch(_0x29961f){return null;}const _0x265486=()=>{const _0x321f8f=_0xff8fa7;let _0x4693c6=undefined;return _0x5dd3fc[_0x321f8f(0x6e)](isNumeric,_0x56a556)?_0x4693c6=Array[_0x321f8f(0x76)](_0x1327b9[_0x321f8f(0x7e)]())['find'](_0x1d7598=>_0x1d7598[_0x321f8f(0x77)]===_0x56a556):_0x4693c6=_0x1327b9[_0x321f8f(0x6c)](_0x56a556),_0x4693c6;};let _0x39e022=_0x5dd3fc['jfybX'](_0x265486);return!_0x39e022&&(_0x1327b9=await NTQQGroupApi[_0xff8fa7(0x72)](_0x3e69ad),_0x39e022=_0x5dd3fc[_0xff8fa7(0x6d)](_0x265486)),_0x39e022;}export const uid2UinMap={};export function getUidByUin(_0x406cc2){const _0x2770ba=_0x53d569,_0x1a3917={'YBhTU':function(_0xabe295,_0x2f6c38){return _0xabe295===_0x2f6c38;}};for(const _0x2e9126 in uid2UinMap){if(_0x1a3917[_0x2770ba(0x69)](uid2UinMap[_0x2e9126],_0x406cc2))return _0x2e9126;}}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};function _0x3422(){const _0x4ea194=['4901770WPfSZp','2644224nQulfK','values','463176bUgfGm','toString','forEach','YBhTU','4850810UfQWAE','4qZmrNJ','get','jEZVB','NsMAo','find','3473834QPuPig','delete','getGroupMembers','194644hriMaq','36bLBlXc','set','from','uin','length','39IJJedn','1678200bbPbau','NapCat未能正常启动,请检查日志查看错误'];_0x3422=function(){return _0x4ea194;};return _0x3422();} \ No newline at end of file +const _0x597684=_0x914b;(function(_0x56249c,_0x12adfe){const _0x687dcd=_0x914b,_0x801740=_0x56249c();while(!![]){try{const _0x488483=-parseInt(_0x687dcd(0x138))/0x1*(-parseInt(_0x687dcd(0x14c))/0x2)+-parseInt(_0x687dcd(0x13f))/0x3*(-parseInt(_0x687dcd(0x141))/0x4)+-parseInt(_0x687dcd(0x136))/0x5+-parseInt(_0x687dcd(0x137))/0x6+-parseInt(_0x687dcd(0x140))/0x7*(parseInt(_0x687dcd(0x14a))/0x8)+-parseInt(_0x687dcd(0x14e))/0x9+parseInt(_0x687dcd(0x149))/0xa*(-parseInt(_0x687dcd(0x13d))/0xb);if(_0x488483===_0x12adfe)break;else _0x801740['push'](_0x801740['shift']());}catch(_0x4c18f7){_0x801740['push'](_0x801740['shift']());}}}(_0x45d5,0xcedc9));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x101d8f){const _0x4061ff=_0x914b;groups[_0x4061ff(0x13a)](_0x101d8f),groupMembers['delete'](_0x101d8f);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x597684(0x146)};export async function getFriend(_0xec79f7){const _0xf13a0e=_0x597684,_0x312bc5={'DXsbI':function(_0x1ea926,_0x369ef1){return _0x1ea926(_0x369ef1);}};_0xec79f7=_0xec79f7['toString']();if(_0x312bc5[_0xf13a0e(0x144)](isNumeric,_0xec79f7)){const _0x30571d=Array['from'](friends[_0xf13a0e(0x145)]());return _0x30571d[_0xf13a0e(0x13b)](_0x22e868=>_0x22e868[_0xf13a0e(0x13e)]===_0xec79f7);}else return friends[_0xf13a0e(0x147)](_0xec79f7);}function _0x914b(_0x4c0cd2,_0x45cdd1){const _0x45d577=_0x45d5();return _0x914b=function(_0x914bec,_0x1e23dd){_0x914bec=_0x914bec-0x136;let _0x43982e=_0x45d577[_0x914bec];return _0x43982e;},_0x914b(_0x4c0cd2,_0x45cdd1);}export async function getGroup(_0x30b41b){const _0x27615a=_0x597684;let _0x397601=groups[_0x27615a(0x147)](_0x30b41b['toString']());if(!_0x397601)try{const _0x2e8500=await NTQQGroupApi[_0x27615a(0x148)]();_0x2e8500[_0x27615a(0x14b)]&&_0x2e8500['forEach'](_0x298f39=>{const _0x6d0591=_0x27615a;groups[_0x6d0591(0x14d)](_0x298f39['groupCode'],_0x298f39);});}catch(_0x1b34bb){return undefined;}return _0x397601=groups['get'](_0x30b41b[_0x27615a(0x13c)]()),_0x397601;}export async function getGroupMember(_0x568725,_0x5298c0){const _0x4160f2=_0x597684,_0xfb901c={'JMQXB':function(_0x5485c9,_0x356da3){return _0x5485c9(_0x356da3);},'CXFfu':function(_0x36b062){return _0x36b062();}};_0x568725=_0x568725[_0x4160f2(0x13c)](),_0x5298c0=_0x5298c0[_0x4160f2(0x13c)]();let _0x1d6c1c=groupMembers['get'](_0x568725);if(!_0x1d6c1c)try{_0x1d6c1c=await NTQQGroupApi[_0x4160f2(0x143)](_0x568725),groupMembers[_0x4160f2(0x14d)](_0x568725,_0x1d6c1c);}catch(_0x332631){return null;}const _0x28550f=()=>{const _0x1104fc=_0x4160f2;let _0x261817=undefined;return _0xfb901c['JMQXB'](isNumeric,_0x5298c0)?_0x261817=Array[_0x1104fc(0x142)](_0x1d6c1c['values']())[_0x1104fc(0x13b)](_0x3151b1=>_0x3151b1['uin']===_0x5298c0):_0x261817=_0x1d6c1c[_0x1104fc(0x147)](_0x5298c0),_0x261817;};let _0x5ae827=_0xfb901c['CXFfu'](_0x28550f);return!_0x5ae827&&(_0x1d6c1c=await NTQQGroupApi[_0x4160f2(0x143)](_0x568725),_0x5ae827=_0x28550f()),_0x5ae827;}export const uid2UinMap={};function _0x45d5(){const _0x9bb651=['NapCat未能正常启动,请检查日志查看错误','get','getGroups','37670sFrQul','75304areVAF','length','38KlCkNM','set','561717QwDIko','5604305ZTxEca','1416738iMEbRS','70445NuzQvQ','IiFfF','delete','find','toString','11QcGkSi','uin','682506mtGlOv','322uyOWpS','24fAZyqj','from','getGroupMembers','DXsbI','values'];_0x45d5=function(){return _0x9bb651;};return _0x45d5();}export function getUidByUin(_0xe35ba4){const _0x3eadfa=_0x597684,_0x1c9f3a={'IiFfF':function(_0x285edc,_0x2e6ca1){return _0x285edc===_0x2e6ca1;}};for(const _0x4eb8de in uid2UinMap){if(_0x1c9f3a[_0x3eadfa(0x139)](uid2UinMap[_0x4eb8de],_0xe35ba4))return _0x4eb8de;}}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 514761a9..f253e74e 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0xe56f92,_0xbfbf4d){var _0x53872a=_0x39c9,_0x2afc65=_0xe56f92();while(!![]){try{var _0x26de1e=-parseInt(_0x53872a(0x1ee))/0x1*(-parseInt(_0x53872a(0x1ec))/0x2)+parseInt(_0x53872a(0x1ed))/0x3*(parseInt(_0x53872a(0x1fa))/0x4)+-parseInt(_0x53872a(0x1ea))/0x5+parseInt(_0x53872a(0x1ef))/0x6+parseInt(_0x53872a(0x1f2))/0x7+parseInt(_0x53872a(0x1f9))/0x8*(parseInt(_0x53872a(0x1f1))/0x9)+-parseInt(_0x53872a(0x1f8))/0xa;if(_0x26de1e===_0xbfbf4d)break;else _0x2afc65['push'](_0x2afc65['shift']());}catch(_0x594762){_0x2afc65['push'](_0x2afc65['shift']());}}}(_0x5c57,0xc0dca));;function _0x5c57(){var _0xf7c888=['228788KLvjmh','AUDIO','Ypnpn','2851970AfLVEz','IGsPv','2wmbmUe','15PDMPhM','1158123wqHMPo','8412024aGwdDM','dzIdl','9svHoCH','4300660rmuDMo','JdlCI','OTHER','3|4|1|2|0','VIDEO','YUSzc','29327070vTqJZE','6660568yoaKdO'];_0x5c57=function(){return _0xf7c888;};return _0x5c57();}function _0x39c9(_0x20b270,_0x37d57e){var _0x5c57a7=_0x5c57();return _0x39c9=function(_0x39c995,_0x464650){_0x39c995=_0x39c995-0x1e8;var _0x248084=_0x5c57a7[_0x39c995];return _0x248084;},_0x39c9(_0x20b270,_0x37d57e);}export var CacheFileType;(function(_0x143480){var _0x212ca1=_0x39c9,_0x59b680={'tCzpO':_0x212ca1(0x1f5),'dzIdl':_0x212ca1(0x1f4),'IGsPv':_0x212ca1(0x1e8),'JdlCI':'DOCUMENT','Ypnpn':'IMAGE','YUSzc':_0x212ca1(0x1f6)},_0x135208=_0x59b680['tCzpO']['split']('|'),_0x2e60a4=0x0;while(!![]){switch(_0x135208[_0x2e60a4++]){case'0':_0x143480[_0x143480['OTHER']=0x4]=_0x59b680[_0x212ca1(0x1f0)];continue;case'1':_0x143480[_0x143480[_0x59b680[_0x212ca1(0x1eb)]]=0x2]=_0x59b680[_0x212ca1(0x1eb)];continue;case'2':_0x143480[_0x143480[_0x59b680[_0x212ca1(0x1f3)]]=0x3]='DOCUMENT';continue;case'3':_0x143480[_0x143480['IMAGE']=0x0]=_0x59b680[_0x212ca1(0x1e9)];continue;case'4':_0x143480[_0x143480[_0x59b680[_0x212ca1(0x1f7)]]=0x1]=_0x59b680[_0x212ca1(0x1f7)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x49b395,_0x23e292){var _0x257200=_0xf9c8,_0x51612a=_0x49b395();while(!![]){try{var _0x140918=-parseInt(_0x257200(0x188))/0x1*(parseInt(_0x257200(0x17e))/0x2)+parseInt(_0x257200(0x17b))/0x3*(-parseInt(_0x257200(0x17c))/0x4)+-parseInt(_0x257200(0x17f))/0x5*(-parseInt(_0x257200(0x182))/0x6)+parseInt(_0x257200(0x189))/0x7+parseInt(_0x257200(0x18a))/0x8*(-parseInt(_0x257200(0x18c))/0x9)+parseInt(_0x257200(0x18b))/0xa*(-parseInt(_0x257200(0x192))/0xb)+-parseInt(_0x257200(0x186))/0xc*(-parseInt(_0x257200(0x18e))/0xd);if(_0x140918===_0x23e292)break;else _0x51612a['push'](_0x51612a['shift']());}catch(_0xbdbae0){_0x51612a['push'](_0x51612a['shift']());}}}(_0x3b8f,0x30ccf));;function _0x3b8f(){var _0x39357d=['bJLfS','18mmcIWZ','AUDIO','rXQIG','xGvnx','684pJrNRC','IMAGE','7TGvOPm','1493205pdArak','8wYqopP','65830wWkIGA','233199tFLAVd','qKAJH','125346KAujVX','JNfUN','VIDEO','DOCUMENT','88OlvZKk','3lcWxqD','1448492QldboI','split','44578OZzwYM','56165Lpvwqh','OTHER'];_0x3b8f=function(){return _0x39357d;};return _0x3b8f();}function _0xf9c8(_0x5553f2,_0x2827e5){var _0x3b8fad=_0x3b8f();return _0xf9c8=function(_0xf9c82a,_0x912f35){_0xf9c82a=_0xf9c82a-0x17b;var _0x48946c=_0x3b8fad[_0xf9c82a];return _0x48946c;},_0xf9c8(_0x5553f2,_0x2827e5);}export var CacheFileType;(function(_0x46784f){var _0x4d2253=_0xf9c8,_0x136a78={'JNfUN':'0|1|2|3|4','qKAJH':_0x4d2253(0x187),'bJLfS':_0x4d2253(0x190),'xGvnx':'AUDIO','NJQUq':_0x4d2253(0x191),'rXQIG':_0x4d2253(0x180)},_0x54c4bb=_0x136a78[_0x4d2253(0x18f)][_0x4d2253(0x17d)]('|'),_0x4f14d7=0x0;while(!![]){switch(_0x54c4bb[_0x4f14d7++]){case'0':_0x46784f[_0x46784f[_0x136a78[_0x4d2253(0x18d)]]=0x0]=_0x136a78[_0x4d2253(0x18d)];continue;case'1':_0x46784f[_0x46784f[_0x136a78[_0x4d2253(0x181)]]=0x1]=_0x136a78[_0x4d2253(0x181)];continue;case'2':_0x46784f[_0x46784f[_0x136a78[_0x4d2253(0x185)]]=0x2]=_0x4d2253(0x183);continue;case'3':_0x46784f[_0x46784f[_0x136a78['NJQUq']]=0x3]='DOCUMENT';continue;case'4':_0x46784f[_0x46784f[_0x136a78[_0x4d2253(0x184)]]=0x4]=_0x4d2253(0x180);continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 352894d3..c016fb95 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x3a8e27=_0x55c0;function _0x55c0(_0x48514a,_0x1c88d6){const _0x5d1d75=_0x5d1d();return _0x55c0=function(_0x55c076,_0x3d16d7){_0x55c076=_0x55c076-0x17f;let _0x5719a2=_0x5d1d75[_0x55c076];return _0x5719a2;},_0x55c0(_0x48514a,_0x1c88d6);}(function(_0x30ac26,_0x261cfd){const _0x1bec08=_0x55c0,_0x313a38=_0x30ac26();while(!![]){try{const _0xd8ea00=-parseInt(_0x1bec08(0x189))/0x1+-parseInt(_0x1bec08(0x1bd))/0x2+-parseInt(_0x1bec08(0x1ba))/0x3+parseInt(_0x1bec08(0x1b3))/0x4*(-parseInt(_0x1bec08(0x18f))/0x5)+parseInt(_0x1bec08(0x184))/0x6+parseInt(_0x1bec08(0x187))/0x7+parseInt(_0x1bec08(0x19b))/0x8;if(_0xd8ea00===_0x261cfd)break;else _0x313a38['push'](_0x313a38['shift']());}catch(_0x40320a){_0x313a38['push'](_0x313a38['shift']());}}}(_0x5d1d,0xdba6d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1fb61d}from'node:fs';import _0x4a658d from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x5d1d(){const _0xbb5a46=['reply','pic','RNJXh','dice','then','time','fLIKF','PTgBc','get','图片信息','2112888HGLeNg','mface','FACE','WySre','TEXT','toString','dYyqm','646950KWKgoS','AniStickerId','tMLHZ','3029044atYWQa','获取视频信息失败','find','file','error','EVTir','YNNzI','end','MFACE','LXGpt','PTT','文件异常,大小为0','_0.png','wwZut','EpZRr','GvOZj','PgFVw','JpgrS','video','laSwZ','sep','ark','height','QduSI','dirname','4118376UbnSpZ','getImageSize','size','8188026IfWGLK','[商城表情]','687112ydlRbm','rhtpk','rPNSX','VIDEO','PIC','FILE','15nmfebF','NXnvB','AniStickerType','gif','screenshots','unlink','[骰子]','replace','uploadFile','AniStickerPackId','tyEzk','width','24364232htlBmf','MARKDOWN','stringify','Ori','mp4','markdown','QSid','语音转换失败,\x20请检查语音文件是否正常','VEJLL','RPS','text','HYMcx','Thumb','string'];_0x5d1d=function(){return _0xbb5a46;};return _0x5d1d();}import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x416130 from'./face_config.json';import*as _0x168fe9 from'node:path';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x3a8e27(0x1a5)](_0x538cfb){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x538cfb,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x143adc,_0x31d1c1,_0x3623cc,_0x51fe17){const _0x2cb58b=_0x3a8e27;return{'elementType':ElementType[_0x2cb58b(0x1b7)],'elementId':'','textElement':{'content':'@'+_0x51fe17,'atType':_0x3623cc,'atUid':_0x143adc,'atTinyId':'','atNtUid':_0x31d1c1}};}static[_0x3a8e27(0x1a9)](_0x1a0e4,_0x4c6258,_0x544dc4,_0x115d47){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x1a0e4,'replayMsgId':_0x4c6258,'senderUin':_0x544dc4,'senderUinStr':_0x115d47}};}static async[_0x3a8e27(0x1aa)](_0x46f99e,_0xeb8fa8='',_0xbce4f5=0x0){const _0x453b88=_0x3a8e27,_0x40d776={'cLejb':function(_0xeaa74e,_0x43bffa){return _0xeaa74e===_0x43bffa;},'PTgBc':'文件异常,大小为0','rsUVK':function(_0x13cba7,_0x36c1d0){return _0x13cba7(_0x36c1d0);},'YNNzI':_0x453b88(0x1b2)},{md5:_0x41950a,fileName:_0x900b56,path:_0x11c278,fileSize:_0xcc2ff0}=await NTQQFileApi[_0x453b88(0x197)](_0x46f99e,ElementType['PIC'],_0xbce4f5);if(_0x40d776['cLejb'](_0xcc2ff0,0x0))throw _0x40d776[_0x453b88(0x1b0)];const _0x38aab4=await NTQQFileApi[_0x453b88(0x185)](_0x46f99e),_0x47bd27={'md5HexStr':_0x41950a,'fileSize':_0xcc2ff0[_0x453b88(0x1b8)](),'picWidth':_0x38aab4?.[_0x453b88(0x19a)],'picHeight':_0x38aab4?.['height'],'fileName':_0x900b56,'sourcePath':_0x11c278,'original':!![],'picType':_0x40d776['rsUVK'](isGIF,_0x46f99e)?PicType[_0x453b88(0x192)]:PicType['jpg'],'picSubType':_0xbce4f5,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0xeb8fa8};return logDebug(_0x40d776[_0x453b88(0x1c3)],_0x47bd27),{'elementType':ElementType[_0x453b88(0x18d)],'elementId':'','picElement':_0x47bd27};}static async[_0x3a8e27(0x1c0)](_0x45f61b,_0x4c1570=''){const _0x469302=_0x3a8e27,_0x3d4167={'QduSI':function(_0x483591,_0x4413a6){return _0x483591===_0x4413a6;},'EpZRr':_0x469302(0x1c8),'WySre':function(_0x13df5c,_0x23fc32){return _0x13df5c||_0x23fc32;}},{md5:_0x4e6d29,fileName:_0x1a372a,path:_0xdfc5fe,fileSize:_0x28bf4d}=await NTQQFileApi[_0x469302(0x197)](_0x45f61b,ElementType[_0x469302(0x18e)]);if(_0x3d4167[_0x469302(0x182)](_0x28bf4d,0x0))throw _0x3d4167[_0x469302(0x1cb)];const _0x2fae51={'elementType':ElementType[_0x469302(0x18e)],'elementId':'','fileElement':{'fileName':_0x3d4167[_0x469302(0x1b6)](_0x4c1570,_0x1a372a),'filePath':_0xdfc5fe,'fileSize':_0x28bf4d[_0x469302(0x1b8)]()}};return _0x2fae51;}static async[_0x3a8e27(0x1cf)](_0x1d37b4,_0x528aae='',_0x123fe4=''){const _0x5794be=_0x3a8e27,_0x3bfd2c={'rhtpk':function(_0x421091,_0x4aa156){return _0x421091(_0x4aa156);},'tyEzk':'获取视频封面失败,使用默认封面','RNJXh':function(_0x2cc522,_0x37e4bb){return _0x2cc522(_0x37e4bb);},'dYyqm':_0x5794be(0x1c4),'EVTir':_0x5794be(0x1c1),'LXGpt':function(_0x327b65,_0x2adccf){return _0x327b65+_0x2adccf;},'TLKqe':_0x5794be(0x1c8),'GvOZj':_0x5794be(0x19f),'fLIKF':function(_0x4a5eab,_0x3ee2ba,_0xcd5132){return _0x4a5eab(_0x3ee2ba,_0xcd5132);},'HYMcx':'视频信息','NXnvB':function(_0x4fd0b8,_0x40ab3d){return _0x4fd0b8(_0x40ab3d);},'VEJLL':function(_0x17e324,_0x2e3767){return _0x17e324||_0x2e3767;},'PgFVw':function(_0x194be2,_0x1d8e4d){return _0x194be2+_0x1d8e4d;}},{fileName:_0x13be5b,path:_0x5aa59c,fileSize:_0x2048bd,md5:_0x4b54f3}=await NTQQFileApi['uploadFile'](_0x1d37b4,ElementType[_0x5794be(0x18c)]);if(_0x2048bd===0x0)throw _0x3bfd2c['TLKqe'];let _0x532250=_0x5aa59c[_0x5794be(0x196)](_0x168fe9[_0x5794be(0x17f)]+_0x5794be(0x19e)+_0x168fe9[_0x5794be(0x17f)],_0x168fe9[_0x5794be(0x17f)]+_0x5794be(0x1a7)+_0x168fe9[_0x5794be(0x17f)]);_0x532250=_0x168fe9[_0x5794be(0x183)](_0x532250);let _0xf1126d={'width':0x780,'height':0x438,'time':0xf,'format':_0x3bfd2c[_0x5794be(0x1cc)],'size':_0x2048bd,'filePath':_0x1d37b4};try{_0xf1126d=await _0x3bfd2c[_0x5794be(0x18a)](getVideoInfo,_0x5aa59c),_0x3bfd2c[_0x5794be(0x1af)](logDebug,_0x3bfd2c[_0x5794be(0x1a6)],_0xf1126d);}catch(_0x594c72){_0x3bfd2c['fLIKF'](logError,_0x5794be(0x1be),_0x594c72);}const _0x2a3e5f=new Promise((_0x358745,_0x9c707b)=>{const _0x4a12b4=_0x5794be,_0x582d9f={'JpgrS':_0x3bfd2c[_0x4a12b4(0x199)]},_0x42a2df=_0x4b54f3+_0x4a12b4(0x1c9),_0x1378cf=_0x168fe9['join'](_0x532250,_0x42a2df);_0x3bfd2c[_0x4a12b4(0x1ab)](_0x4a658d,_0x1d37b4)['on'](_0x3bfd2c[_0x4a12b4(0x1b9)],()=>{})['on'](_0x3bfd2c[_0x4a12b4(0x1c2)],_0x2692b2=>{const _0x4d9631=_0x4a12b4,_0x472c18={'fRywO':function(_0x135283,_0x44b4d0){return _0x135283(_0x44b4d0);},'wwZut':function(_0x431282,_0x3d8176){return _0x431282(_0x3d8176);}};logDebug(_0x582d9f[_0x4d9631(0x1ce)],_0x2692b2),_0x123fe4?_0x1fb61d['copyFile'](_0x123fe4,_0x1378cf)['then'](()=>{_0x472c18['fRywO'](_0x358745,_0x1378cf);})['catch'](_0x9c707b):_0x1fb61d['writeFile'](_0x1378cf,defaultVideoThumb)[_0x4d9631(0x1ad)](()=>{const _0x5cfc39=_0x4d9631;_0x472c18[_0x5cfc39(0x1ca)](_0x358745,_0x1378cf);})['catch'](_0x9c707b);})[_0x4a12b4(0x193)]({'timestamps':[0x0],'filename':_0x42a2df,'folder':_0x532250,'size':_0x3bfd2c[_0x4a12b4(0x1c6)](_0x3bfd2c['LXGpt'](_0xf1126d[_0x4a12b4(0x19a)],'x'),_0xf1126d['height'])})['on'](_0x4a12b4(0x1c4),()=>{const _0x24afa9=_0x4a12b4;_0x3bfd2c[_0x24afa9(0x18a)](_0x358745,_0x1378cf);});}),_0x58b36d=new Map(),_0x292517=await _0x2a3e5f,_0x2a7a1d=(await _0x1fb61d['stat'](_0x292517))[_0x5794be(0x186)];_0x58b36d['set'](0x0,_0x292517);const _0x12351d=await _0x3bfd2c[_0x5794be(0x190)](calculateFileMD5,_0x292517),_0x45e460={'elementType':ElementType[_0x5794be(0x18c)],'elementId':'','videoElement':{'fileName':_0x3bfd2c[_0x5794be(0x1a3)](_0x528aae,_0x13be5b),'filePath':_0x5aa59c,'videoMd5':_0x4b54f3,'thumbMd5':_0x12351d,'fileTime':_0xf1126d[_0x5794be(0x1ae)],'thumbPath':_0x58b36d,'thumbSize':_0x2a7a1d,'thumbWidth':_0xf1126d[_0x5794be(0x19a)],'thumbHeight':_0xf1126d[_0x5794be(0x181)],'fileSize':_0x3bfd2c[_0x5794be(0x1cd)]('',_0x2048bd)}};return _0x45e460;}static async['ptt'](_0x43cd45){const _0x3703c2=_0x3a8e27,_0x3eb36b={'FUVmT':function(_0x2fbcca,_0x10e593){return _0x2fbcca(_0x10e593);},'ntgtl':function(_0x49c86f,_0x4e30fd){return _0x49c86f===_0x4e30fd;}},{converted:_0x3e919f,path:_0x466d68,duration:_0x52131e}=await _0x3eb36b['FUVmT'](encodeSilk,_0x43cd45);if(!_0x466d68)throw _0x3703c2(0x1a2);const {md5:_0xf7970b,fileName:_0x171d6e,path:_0x2b0839,fileSize:_0x1f2922}=await NTQQFileApi['uploadFile'](_0x466d68,ElementType[_0x3703c2(0x1c7)]);if(_0x3eb36b['ntgtl'](_0x1f2922,0x0))throw _0x3703c2(0x1c8);return _0x3e919f&&_0x1fb61d[_0x3703c2(0x194)](_0x466d68)[_0x3703c2(0x1ad)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x171d6e,'filePath':_0x2b0839,'md5HexStr':_0xf7970b,'fileSize':_0x1f2922,'duration':_0x52131e||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'](_0x5e41c0){const _0x776813=_0x3a8e27,_0x5ae475={'laSwZ':function(_0x34c5a1,_0x370dc4){return _0x34c5a1(_0x370dc4);}},_0x23ed76=_0x416130['sysface'],_0x1bd19b=_0x416130['emoji'],_0x32c717=_0x23ed76[_0x776813(0x1bf)](_0x3abfc4=>_0x3abfc4[_0x776813(0x1a1)]===_0x5e41c0[_0x776813(0x1b8)]());_0x5e41c0=_0x5ae475[_0x776813(0x1d0)](parseInt,_0x5e41c0[_0x776813(0x1b8)]());let _0x26fb28=0x1;return _0x5e41c0>=0xde&&(_0x26fb28=0x2),_0x32c717[_0x776813(0x191)]&&(_0x26fb28=0x3),{'elementType':ElementType[_0x776813(0x1b5)],'elementId':'','faceElement':{'faceIndex':_0x5e41c0,'faceType':_0x26fb28,'faceText':_0x32c717['QDes'],'stickerId':_0x32c717[_0x776813(0x1bb)],'stickerType':_0x32c717[_0x776813(0x191)],'packId':_0x32c717[_0x776813(0x198)],'sourceType':0x1}};}static[_0x3a8e27(0x1b4)](_0x58ccb7,_0x1d36c1,_0x23c3c7,_0x252d0b){const _0x44706f=_0x3a8e27,_0x1f7ff9={'sYudA':_0x44706f(0x188)};return{'elementType':ElementType[_0x44706f(0x1c5)],'marketFaceElement':{'emojiPackageId':_0x58ccb7,'emojiId':_0x1d36c1,'key':_0x23c3c7,'faceName':_0x252d0b||mFaceCache[_0x44706f(0x1b1)](_0x1d36c1)||_0x1f7ff9['sYudA']}};}static['dice'](_0x5eb4d3){const _0x2ec701=_0x3a8e27;return{'elementType':ElementType[_0x2ec701(0x1b5)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2ec701(0x1ac)],'faceType':FaceType[_0x2ec701(0x1ac)],'faceText':_0x2ec701(0x195),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x3b5ac3){const _0x3be5fa=_0x3a8e27,_0xe72325={'rPNSX':'[包剪锤]'};return{'elementType':ElementType[_0x3be5fa(0x1b5)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3be5fa(0x1a4)],'faceText':_0xe72325[_0x3be5fa(0x18b)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x3a8e27(0x180)](_0x4e1661){const _0x2b900a=_0x3a8e27,_0x38897b={'CHFsC':function(_0x5e20aa,_0x44ab9d){return _0x5e20aa!==_0x44ab9d;},'tMLHZ':_0x2b900a(0x1a8)};return _0x38897b['CHFsC'](typeof _0x4e1661,_0x38897b[_0x2b900a(0x1bc)])&&(_0x4e1661=JSON[_0x2b900a(0x19d)](_0x4e1661)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x4e1661,'linkInfo':null,'subElementType':null}};}static[_0x3a8e27(0x1a0)](_0x281d9e){const _0x2a4b08=_0x3a8e27;return{'elementType':ElementType[_0x2a4b08(0x19c)],'elementId':'','markdownElement':{'content':_0x281d9e}};}} \ No newline at end of file +const _0x575111=_0x2b92;(function(_0x567b35,_0x50b58c){const _0x46e46f=_0x2b92,_0x442e9d=_0x567b35();while(!![]){try{const _0x291c58=-parseInt(_0x46e46f(0x1c0))/0x1+-parseInt(_0x46e46f(0x1cd))/0x2*(parseInt(_0x46e46f(0x1d4))/0x3)+parseInt(_0x46e46f(0x1e3))/0x4*(-parseInt(_0x46e46f(0x1df))/0x5)+parseInt(_0x46e46f(0x1a8))/0x6+parseInt(_0x46e46f(0x1f2))/0x7+parseInt(_0x46e46f(0x1a9))/0x8+parseInt(_0x46e46f(0x1b4))/0x9;if(_0x291c58===_0x50b58c)break;else _0x442e9d['push'](_0x442e9d['shift']());}catch(_0x444807){_0x442e9d['push'](_0x442e9d['shift']());}}}(_0x6454,0x8ee0f));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0xe14f74}from'node:fs';import _0x6363d0 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x2b92(_0x17d65c,_0x3264a9){const _0x6454b7=_0x6454();return _0x2b92=function(_0x2b9266,_0x44559c){_0x2b9266=_0x2b9266-0x1a1;let _0x2d0cca=_0x6454b7[_0x2b9266];return _0x2d0cca;},_0x2b92(_0x17d65c,_0x3264a9);}import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x49e995 from'./face_config.json';import*as _0x4aa4da from'node:path';function _0x6454(){const _0x122abb=['AniStickerPackId','uploadFile','sep','2752746CWjvaj','6382056HtyrOe','unlink','string','end','rps','height','AniStickerId','dGpyn','[骰子]','XwSXG','width','2953332LcNUik','AniStickerType','stat','ptt','pic','[商城表情]','QDes','视频信息','kBjfc','markdown','dice','stringify','250178gvqcuH','error','PTT','kqkzU','XyYFP','gif','VEGPz','FPGqb','vkdRY','JmmTP','size','PIC','reply','22VcpjKX','mface','tAeBM','get','cRwCH','FACE','sysface','129033qKWdqb','Thumb','time','file','text','VwLNS','文件异常,大小为0','getImageSize','获取视频信息失败','REPLY','writeFile','9165jzhdpi','copyFile','ark','语音转换失败,\x20请检查语音文件是否正常','1732vBxOsy','Ori','toString','then','jpg','screenshots','MARKDOWN','video','find','HWnHi','[包剪锤]','TEXT','set','FILE','ksSdh','3622661ifUpEM','ZOEub','VIDEO','nXVKL','face','QoXAB'];_0x6454=function(){return _0x122abb;};return _0x6454();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x575111(0x1d8)](_0x3a6d2b){const _0x17fff9=_0x575111;return{'elementType':ElementType[_0x17fff9(0x1ee)],'elementId':'','textElement':{'content':_0x3a6d2b,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3f7f69,_0x21f355,_0x101cb7,_0x937675){const _0x5ddbcd=_0x575111;return{'elementType':ElementType[_0x5ddbcd(0x1ee)],'elementId':'','textElement':{'content':'@'+_0x937675,'atType':_0x101cb7,'atUid':_0x3f7f69,'atTinyId':'','atNtUid':_0x21f355}};}static[_0x575111(0x1cc)](_0x1ca70c,_0x3bd1f5,_0x2ca0b1,_0x2a1d8c){const _0x380a2a=_0x575111;return{'elementType':ElementType[_0x380a2a(0x1dd)],'elementId':'','replyElement':{'replayMsgSeq':_0x1ca70c,'replayMsgId':_0x3bd1f5,'senderUin':_0x2ca0b1,'senderUinStr':_0x2a1d8c}};}static async[_0x575111(0x1b8)](_0x2ab98d,_0x2b274d='',_0x2068c8=0x0){const _0x4b94f2=_0x575111,_0x2dcc1a={'QoXAB':function(_0x193281,_0x5f20d5){return _0x193281===_0x5f20d5;},'kBjfc':_0x4b94f2(0x1da),'GGGGj':function(_0x51d7e2,_0x411a27){return _0x51d7e2(_0x411a27);},'PEGnA':function(_0x865438,_0xb29cf9,_0x1ad9e1){return _0x865438(_0xb29cf9,_0x1ad9e1);}},{md5:_0x1631d8,fileName:_0x5b8600,path:_0x514471,fileSize:_0x1d79a5}=await NTQQFileApi['uploadFile'](_0x2ab98d,ElementType[_0x4b94f2(0x1cb)],_0x2068c8);if(_0x2dcc1a[_0x4b94f2(0x1a4)](_0x1d79a5,0x0))throw _0x2dcc1a[_0x4b94f2(0x1bc)];const _0x4e1468=await NTQQFileApi[_0x4b94f2(0x1db)](_0x2ab98d),_0x57914f={'md5HexStr':_0x1631d8,'fileSize':_0x1d79a5[_0x4b94f2(0x1e5)](),'picWidth':_0x4e1468?.[_0x4b94f2(0x1b3)],'picHeight':_0x4e1468?.[_0x4b94f2(0x1ae)],'fileName':_0x5b8600,'sourcePath':_0x514471,'original':!![],'picType':_0x2dcc1a['GGGGj'](isGIF,_0x2ab98d)?PicType[_0x4b94f2(0x1c5)]:PicType[_0x4b94f2(0x1e7)],'picSubType':_0x2068c8,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x2b274d};return _0x2dcc1a['PEGnA'](logDebug,'图片信息',_0x57914f),{'elementType':ElementType[_0x4b94f2(0x1cb)],'elementId':'','picElement':_0x57914f};}static async[_0x575111(0x1d7)](_0x5ed456,_0x1074e4=''){const _0x3032dd=_0x575111,_0x18fd77={'HWnHi':function(_0x2a8fa1,_0x3ca806){return _0x2a8fa1===_0x3ca806;},'ksSdh':function(_0x1c5600,_0x52fd23){return _0x1c5600||_0x52fd23;}},{md5:_0x5658c9,fileName:_0xa1ce57,path:_0x2f2991,fileSize:_0x1f137a}=await NTQQFileApi[_0x3032dd(0x1a6)](_0x5ed456,ElementType[_0x3032dd(0x1f0)]);if(_0x18fd77[_0x3032dd(0x1ec)](_0x1f137a,0x0))throw _0x3032dd(0x1da);const _0x4e8908={'elementType':ElementType[_0x3032dd(0x1f0)],'elementId':'','fileElement':{'fileName':_0x18fd77[_0x3032dd(0x1f1)](_0x1074e4,_0xa1ce57),'filePath':_0x2f2991,'fileSize':_0x1f137a['toString']()}};return _0x4e8908;}static async[_0x575111(0x1ea)](_0x536240,_0x148ec8='',_0x4dff89=''){const _0x5a6786=_0x575111,_0x1e953e={'tAeBM':function(_0x248797,_0x1b1fa3){return _0x248797(_0x1b1fa3);},'VwLNS':function(_0x288c17,_0x25cf84,_0x250d87){return _0x288c17(_0x25cf84,_0x250d87);},'XscKl':'获取视频封面失败,使用默认封面','kqkzU':'end','dGpyn':_0x5a6786(0x1c1),'vkdRY':function(_0x3b7732,_0x269675){return _0x3b7732+_0x269675;},'XyYFP':_0x5a6786(0x1da),'WDhqP':function(_0x3c1e5d,_0x1b3178,_0x34a4d1){return _0x3c1e5d(_0x1b3178,_0x34a4d1);},'XwSXG':_0x5a6786(0x1bb),'dmArR':_0x5a6786(0x1dc)},{fileName:_0x37ad0a,path:_0x5095bf,fileSize:_0x251d0d,md5:_0x1c3f25}=await NTQQFileApi['uploadFile'](_0x536240,ElementType[_0x5a6786(0x1a1)]);if(_0x251d0d===0x0)throw _0x1e953e[_0x5a6786(0x1c4)];let _0x4a954e=_0x5095bf['replace'](_0x4aa4da[_0x5a6786(0x1a7)]+_0x5a6786(0x1e4)+_0x4aa4da[_0x5a6786(0x1a7)],_0x4aa4da[_0x5a6786(0x1a7)]+_0x5a6786(0x1d5)+_0x4aa4da[_0x5a6786(0x1a7)]);_0x4a954e=_0x4aa4da['dirname'](_0x4a954e);let _0x42068f={'width':0x780,'height':0x438,'time':0xf,'format':'mp4','size':_0x251d0d,'filePath':_0x536240};try{_0x42068f=await _0x1e953e[_0x5a6786(0x1cf)](getVideoInfo,_0x5095bf),_0x1e953e['WDhqP'](logDebug,_0x1e953e[_0x5a6786(0x1b2)],_0x42068f);}catch(_0x2a155d){_0x1e953e[_0x5a6786(0x1d9)](logError,_0x1e953e['dmArR'],_0x2a155d);}const _0x34060d=new Promise((_0x12b0e0,_0x309c4e)=>{const _0x26719a=_0x5a6786,_0x451cc6={'ZOEub':function(_0x416288,_0x2342f5){const _0x1666e2=_0x2b92;return _0x1e953e[_0x1666e2(0x1cf)](_0x416288,_0x2342f5);},'DTORd':function(_0x404b39,_0x9f5f08,_0x1176c4){const _0x2ea9b7=_0x2b92;return _0x1e953e[_0x2ea9b7(0x1d9)](_0x404b39,_0x9f5f08,_0x1176c4);},'JmmTP':_0x1e953e['XscKl']},_0x21b50b=_0x1c3f25+'_0.png',_0x38be02=_0x4aa4da['join'](_0x4a954e,_0x21b50b);_0x6363d0(_0x536240)['on'](_0x1e953e[_0x26719a(0x1c3)],()=>{})['on'](_0x1e953e[_0x26719a(0x1b0)],_0xff81d7=>{const _0x11ad67=_0x26719a,_0x404a5e={'rDCSc':function(_0x381cd1,_0x1e5e1f){return _0x451cc6['ZOEub'](_0x381cd1,_0x1e5e1f);}};_0x451cc6['DTORd'](logDebug,_0x451cc6[_0x11ad67(0x1c9)],_0xff81d7),_0x4dff89?_0xe14f74[_0x11ad67(0x1e0)](_0x4dff89,_0x38be02)[_0x11ad67(0x1e6)](()=>{_0x404a5e['rDCSc'](_0x12b0e0,_0x38be02);})['catch'](_0x309c4e):_0xe14f74[_0x11ad67(0x1de)](_0x38be02,defaultVideoThumb)[_0x11ad67(0x1e6)](()=>{const _0x764fb9=_0x11ad67;_0x451cc6[_0x764fb9(0x1f3)](_0x12b0e0,_0x38be02);})['catch'](_0x309c4e);})[_0x26719a(0x1e8)]({'timestamps':[0x0],'filename':_0x21b50b,'folder':_0x4a954e,'size':_0x1e953e[_0x26719a(0x1c8)](_0x42068f[_0x26719a(0x1b3)],'x')+_0x42068f[_0x26719a(0x1ae)]})['on'](_0x26719a(0x1ac),()=>{_0x12b0e0(_0x38be02);});}),_0x13abdd=new Map(),_0x30b94b=await _0x34060d,_0x5868e1=(await _0xe14f74[_0x5a6786(0x1b6)](_0x30b94b))[_0x5a6786(0x1ca)];_0x13abdd[_0x5a6786(0x1ef)](0x0,_0x30b94b);const _0x5482e9=await calculateFileMD5(_0x30b94b),_0xfec8e3={'elementType':ElementType[_0x5a6786(0x1a1)],'elementId':'','videoElement':{'fileName':_0x148ec8||_0x37ad0a,'filePath':_0x5095bf,'videoMd5':_0x1c3f25,'thumbMd5':_0x5482e9,'fileTime':_0x42068f[_0x5a6786(0x1d6)],'thumbPath':_0x13abdd,'thumbSize':_0x5868e1,'thumbWidth':_0x42068f[_0x5a6786(0x1b3)],'thumbHeight':_0x42068f[_0x5a6786(0x1ae)],'fileSize':_0x1e953e['vkdRY']('',_0x251d0d)}};return _0xfec8e3;}static async[_0x575111(0x1b7)](_0x3cb233){const _0x1ebaee=_0x575111,_0x567474={'HvIMD':function(_0x1a2e64,_0x43db38){return _0x1a2e64(_0x43db38);},'okZXL':function(_0x20a62e,_0x5261a4){return _0x20a62e===_0x5261a4;},'VEGPz':_0x1ebaee(0x1da),'mRcGt':function(_0xb488f8,_0x450b24){return _0xb488f8||_0x450b24;}},{converted:_0x7f0c3,path:_0x5563a0,duration:_0x92356}=await _0x567474['HvIMD'](encodeSilk,_0x3cb233);if(!_0x5563a0)throw _0x1ebaee(0x1e2);const {md5:_0x2b72c4,fileName:_0x52c119,path:_0x256a54,fileSize:_0x1e0499}=await NTQQFileApi[_0x1ebaee(0x1a6)](_0x5563a0,ElementType[_0x1ebaee(0x1c2)]);if(_0x567474['okZXL'](_0x1e0499,0x0))throw _0x567474[_0x1ebaee(0x1c6)];return _0x7f0c3&&_0xe14f74[_0x1ebaee(0x1aa)](_0x5563a0)[_0x1ebaee(0x1e6)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x52c119,'filePath':_0x256a54,'md5HexStr':_0x2b72c4,'fileSize':_0x1e0499,'duration':_0x567474['mRcGt'](_0x92356,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[_0x575111(0x1a3)](_0x87b049){const _0x1d10ab=_0x575111,_0x59e4bf={'cRwCH':function(_0x444536,_0x2b9b55){return _0x444536(_0x2b9b55);},'nXVKL':function(_0x1cdd74,_0x5596ae){return _0x1cdd74>=_0x5596ae;}},_0x23f59f=_0x49e995[_0x1d10ab(0x1d3)],_0x518213=_0x49e995['emoji'],_0xbb703e=_0x23f59f[_0x1d10ab(0x1eb)](_0x696ecb=>_0x696ecb['QSid']===_0x87b049[_0x1d10ab(0x1e5)]());_0x87b049=_0x59e4bf[_0x1d10ab(0x1d1)](parseInt,_0x87b049[_0x1d10ab(0x1e5)]());let _0x29e79f=0x1;return _0x59e4bf[_0x1d10ab(0x1a2)](_0x87b049,0xde)&&(_0x29e79f=0x2),_0xbb703e[_0x1d10ab(0x1b5)]&&(_0x29e79f=0x3),{'elementType':ElementType[_0x1d10ab(0x1d2)],'elementId':'','faceElement':{'faceIndex':_0x87b049,'faceType':_0x29e79f,'faceText':_0xbb703e[_0x1d10ab(0x1ba)],'stickerId':_0xbb703e[_0x1d10ab(0x1af)],'stickerType':_0xbb703e[_0x1d10ab(0x1b5)],'packId':_0xbb703e[_0x1d10ab(0x1a5)],'sourceType':0x1}};}static[_0x575111(0x1ce)](_0x1e5196,_0x582eb2,_0x2f60fc,_0x90e801){const _0x175c55=_0x575111,_0x4ccdd3={'kDreL':_0x175c55(0x1b9)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x1e5196,'emojiId':_0x582eb2,'key':_0x2f60fc,'faceName':_0x90e801||mFaceCache[_0x175c55(0x1d0)](_0x582eb2)||_0x4ccdd3['kDreL']}};}static[_0x575111(0x1be)](_0x1c0300){const _0x267902=_0x575111,_0x4f87ae={'xltTQ':_0x267902(0x1b1)};return{'elementType':ElementType[_0x267902(0x1d2)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x4f87ae['xltTQ'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x575111(0x1ad)](_0x13776e){const _0x23491a=_0x575111,_0x3d35f1={'FPGqb':_0x23491a(0x1ed)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x3d35f1[_0x23491a(0x1c7)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x575111(0x1e1)](_0x16d3a2){const _0x3b3ccf=_0x575111,_0x1865a6={'jOqWQ':function(_0x5e3faa,_0x35a695){return _0x5e3faa!==_0x35a695;},'tUazA':_0x3b3ccf(0x1ab)};return _0x1865a6['jOqWQ'](typeof _0x16d3a2,_0x1865a6['tUazA'])&&(_0x16d3a2=JSON[_0x3b3ccf(0x1bf)](_0x16d3a2)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x16d3a2,'linkInfo':null,'subElementType':null}};}static[_0x575111(0x1bd)](_0x4604cc){const _0x491fe8=_0x575111;return{'elementType':ElementType[_0x491fe8(0x1e9)],'elementId':'','markdownElement':{'content':_0x4604cc}};}} \ 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 8253449e..64ec46e4 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x56a346,_0x4c7479){var _0x45c6bd=_0x4fda,_0x5e8d7f=_0x56a346();while(!![]){try{var _0x3279e8=-parseInt(_0x45c6bd(0x1f1))/0x1*(-parseInt(_0x45c6bd(0x1ed))/0x2)+parseInt(_0x45c6bd(0x1f2))/0x3+parseInt(_0x45c6bd(0x1ea))/0x4+parseInt(_0x45c6bd(0x1f5))/0x5*(-parseInt(_0x45c6bd(0x1ec))/0x6)+parseInt(_0x45c6bd(0x1ee))/0x7*(parseInt(_0x45c6bd(0x1f3))/0x8)+-parseInt(_0x45c6bd(0x1ef))/0x9+-parseInt(_0x45c6bd(0x1f7))/0xa;if(_0x3279e8===_0x4c7479)break;else _0x5e8d7f['push'](_0x5e8d7f['shift']());}catch(_0x4e1c9f){_0x5e8d7f['push'](_0x5e8d7f['shift']());}}}(_0x4a4b,0xb76d3));export var GroupMemberRole;function _0x4fda(_0xc85ee4,_0x24fe9d){var _0x4a4b21=_0x4a4b();return _0x4fda=function(_0x4fdac9,_0x1a12d4){_0x4fdac9=_0x4fdac9-0x1ea;var _0xe869e3=_0x4a4b21[_0x4fdac9];return _0xe869e3;},_0x4fda(_0xc85ee4,_0x24fe9d);}function _0x4a4b(){var _0x5cac40=['KqZro','486MLEqBW','4203711iRzgTl','3208HMvAhS','OcIcw','5FPfkZY','tsNHG','13006480uyANPu','3929784zdRmDj','admin','609780SUYLSI','1152yBtmUf','15127jPOqLC','12389283vevWQj'];_0x4a4b=function(){return _0x5cac40;};return _0x4a4b();}(function(_0x17204c){var _0x10b30a=_0x4fda,_0x275809={'OcIcw':'normal','tsNHG':_0x10b30a(0x1eb),'KqZro':'owner'};_0x17204c[_0x17204c[_0x275809[_0x10b30a(0x1f4)]]=0x2]=_0x275809[_0x10b30a(0x1f4)],_0x17204c[_0x17204c[_0x275809[_0x10b30a(0x1f6)]]=0x3]=_0x275809[_0x10b30a(0x1f6)],_0x17204c[_0x17204c[_0x275809[_0x10b30a(0x1f0)]]=0x4]=_0x275809[_0x10b30a(0x1f0)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x3aaf39,_0x23947e){var _0x29d93d=_0x4bfb,_0x18a7bd=_0x3aaf39();while(!![]){try{var _0x4d4eb3=parseInt(_0x29d93d(0x199))/0x1*(-parseInt(_0x29d93d(0x1a4))/0x2)+parseInt(_0x29d93d(0x19d))/0x3+parseInt(_0x29d93d(0x19b))/0x4*(parseInt(_0x29d93d(0x19f))/0x5)+parseInt(_0x29d93d(0x1a3))/0x6*(-parseInt(_0x29d93d(0x1a6))/0x7)+parseInt(_0x29d93d(0x19c))/0x8+parseInt(_0x29d93d(0x198))/0x9*(-parseInt(_0x29d93d(0x1a2))/0xa)+parseInt(_0x29d93d(0x19a))/0xb;if(_0x4d4eb3===_0x23947e)break;else _0x18a7bd['push'](_0x18a7bd['shift']());}catch(_0xc4469f){_0x18a7bd['push'](_0x18a7bd['shift']());}}}(_0x1b96,0x9e1d3));export var GroupMemberRole;function _0x4bfb(_0x1f13b4,_0x21f4b3){var _0x1b96bf=_0x1b96();return _0x4bfb=function(_0x4bfbb8,_0x3e5938){_0x4bfbb8=_0x4bfbb8-0x198;var _0x3bef4a=_0x1b96bf[_0x4bfbb8];return _0x3bef4a;},_0x4bfb(_0x1f13b4,_0x21f4b3);}(function(_0x47eea8){var _0x35a857=_0x4bfb,_0x5904fe={'elvYa':'normal','YcAKK':'admin','zFDIV':_0x35a857(0x1a0)};_0x47eea8[_0x47eea8[_0x5904fe[_0x35a857(0x1a5)]]=0x2]=_0x35a857(0x1a1),_0x47eea8[_0x47eea8[_0x5904fe[_0x35a857(0x19e)]]=0x3]=_0x5904fe['YcAKK'],_0x47eea8[_0x47eea8[_0x5904fe['zFDIV']]=0x4]=_0x5904fe['zFDIV'];}(GroupMemberRole||(GroupMemberRole={})));function _0x1b96(){var _0x49c95a=['4bBjxeP','elvYa','1097838NKKINx','9QZNTDB','120514KWVcgQ','33352KWUQrH','4fijvSy','3416360XgupYi','599928ribPNY','YcAKK','5566825NXmodd','owner','normal','3842530OpUVMo','18CSbJJO'];_0x1b96=function(){return _0x49c95a;};return _0x1b96();} \ 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 d3911e4f..bb9e30c2 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x999e22,_0x185bb8){var _0x47fd80=_0x5c05,_0xe1beb9=_0x999e22();while(!![]){try{var _0xf881d3=-parseInt(_0x47fd80(0x106))/0x1*(parseInt(_0x47fd80(0x100))/0x2)+-parseInt(_0x47fd80(0x102))/0x3*(-parseInt(_0x47fd80(0x108))/0x4)+-parseInt(_0x47fd80(0x107))/0x5*(parseInt(_0x47fd80(0x103))/0x6)+-parseInt(_0x47fd80(0xfe))/0x7*(-parseInt(_0x47fd80(0xfd))/0x8)+-parseInt(_0x47fd80(0x104))/0x9*(-parseInt(_0x47fd80(0x101))/0xa)+-parseInt(_0x47fd80(0xff))/0xb*(-parseInt(_0x47fd80(0x105))/0xc)+-parseInt(_0x47fd80(0xfc))/0xd;if(_0xf881d3===_0x185bb8)break;else _0xe1beb9['push'](_0xe1beb9['shift']());}catch(_0x1e4893){_0xe1beb9['push'](_0xe1beb9['shift']());}}}(_0x3aa7,0x786c6));export*from'./user';export*from'./group';export*from'./msg';function _0x3aa7(){var _0x41c7c4=['171exiSlp','77412rJwhWS','1TJpIer','32605CiXily','740xZEWYM','2599116aMQQXz','491224vnOqgQ','77GmDZhK','429VDRnHB','1405152agjvfF','363590dpDfZh','1263pZrajj','276CENNsW'];_0x3aa7=function(){return _0x41c7c4;};return _0x3aa7();}export*from'./notify';export*from'./cache';function _0x5c05(_0x40bbad,_0x271cb1){var _0x3aa707=_0x3aa7();return _0x5c05=function(_0x5c0557,_0x3920f1){_0x5c0557=_0x5c0557-0xfc;var _0x817e8c=_0x3aa707[_0x5c0557];return _0x817e8c;},_0x5c05(_0x40bbad,_0x271cb1);}export*from'./constructor'; \ No newline at end of file +(function(_0x200f73,_0x2dc94f){var _0x3826dd=_0x9d1f,_0x25ddec=_0x200f73();while(!![]){try{var _0x5a27e7=-parseInt(_0x3826dd(0x83))/0x1*(-parseInt(_0x3826dd(0x80))/0x2)+parseInt(_0x3826dd(0x88))/0x3*(-parseInt(_0x3826dd(0x7f))/0x4)+-parseInt(_0x3826dd(0x86))/0x5*(-parseInt(_0x3826dd(0x87))/0x6)+parseInt(_0x3826dd(0x85))/0x7+parseInt(_0x3826dd(0x84))/0x8+-parseInt(_0x3826dd(0x82))/0x9+parseInt(_0x3826dd(0x81))/0xa;if(_0x5a27e7===_0x2dc94f)break;else _0x25ddec['push'](_0x25ddec['shift']());}catch(_0x4c5951){_0x25ddec['push'](_0x25ddec['shift']());}}}(_0x13d9,0x28edd));export*from'./user';function _0x9d1f(_0x417257,_0x4384b9){var _0x13d90d=_0x13d9();return _0x9d1f=function(_0x9d1f80,_0x1553e1){_0x9d1f80=_0x9d1f80-0x7f;var _0x2053c8=_0x13d90d[_0x9d1f80];return _0x2053c8;},_0x9d1f(_0x417257,_0x4384b9);}export*from'./group';export*from'./msg';function _0x13d9(){var _0x659d13=['1047213qVTsfN','11316LXAuYz','1495776aZVMgz','1298857pVRJJy','55305vYcSBu','24ICseFv','1004634gpJOip','4AyqWML','32UEZosS','210570QCyfez'];_0x13d9=function(){return _0x659d13;};return _0x13d9();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index e2a64bac..682bc25e 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x578285=_0x5b75;(function(_0x1b52a0,_0xa00d7){var _0x4dab1f=_0x5b75,_0x38d55b=_0x1b52a0();while(!![]){try{var _0xef916d=-parseInt(_0x4dab1f(0x1a4))/0x1*(-parseInt(_0x4dab1f(0x1cc))/0x2)+-parseInt(_0x4dab1f(0x1be))/0x3+parseInt(_0x4dab1f(0x1bb))/0x4+parseInt(_0x4dab1f(0x1b5))/0x5*(-parseInt(_0x4dab1f(0x1d6))/0x6)+parseInt(_0x4dab1f(0x1af))/0x7*(-parseInt(_0x4dab1f(0x1d1))/0x8)+parseInt(_0x4dab1f(0x1d4))/0x9*(parseInt(_0x4dab1f(0x1c5))/0xa)+parseInt(_0x4dab1f(0x1b2))/0xb;if(_0xef916d===_0xa00d7)break;else _0x38d55b['push'](_0x38d55b['shift']());}catch(_0x48353c){_0x38d55b['push'](_0x38d55b['shift']());}}}(_0x157c,0x1d0f2));function _0x157c(){var _0x564685=['INVITE_NEW_MEMBER','39702DpBaji','FACE','mNvDW','https://multimedia.nt.qq.com.cn','CRjER','CdibG','temp','UMXcw','xFmGl','VIDEO','SpuXC','split','1Tjynnf','ban','vEClq','tItBq','RPS','FILE','KGpbU','WICiG','PIC','PTT','9|5|3|2|1|6|8|7|4|0','212387UXHOma','LqtWw','REPLY','137984epqxLl','cWBJA','MARKDOWN','85xqnVeJ','DrkYR','FyENg','friend','ctGWm','group','849996FPqZcM','NCjdk','https://gchat.qpic.cn','417474wZIxtD','lhBCo','zjSHt','ARK','memberIncrease','notAt','rfnlu','300mDwbKw','jpg','normal','PfKyL','dice','normal2','TEXT','99004sUfvTP','ezzmy','chatDevice','Cjhtk','gEEuc','16GFlpOW','face','hLQoz','47043VjTEPh'];_0x157c=function(){return _0x564685;};return _0x157c();}export var ElementType;(function(_0x4b6bea){var _0x40bc47=_0x5b75,_0x5555e7={'CRjER':_0x40bc47(0x1ae),'LqtWw':_0x40bc47(0x1b4),'DrkYR':_0x40bc47(0x1a1),'CrtOk':'PTT','ezzmy':'MFACE','tItBq':_0x40bc47(0x1ac),'kKBZt':_0x40bc47(0x1d7),'mNvDW':_0x40bc47(0x1c1),'KGpbU':_0x40bc47(0x1b1),'yuhXG':_0x40bc47(0x1cb)},_0x169879=_0x5555e7[_0x40bc47(0x1da)][_0x40bc47(0x1a3)]('|'),_0x290769=0x0;while(!![]){switch(_0x169879[_0x290769++]){case'0':_0x4b6bea[_0x4b6bea[_0x5555e7[_0x40bc47(0x1b0)]]=0xe]=_0x40bc47(0x1b4);continue;case'1':_0x4b6bea[_0x4b6bea[_0x5555e7[_0x40bc47(0x1b6)]]=0x5]=_0x5555e7[_0x40bc47(0x1b6)];continue;case'2':_0x4b6bea[_0x4b6bea[_0x5555e7['CrtOk']]=0x4]=_0x40bc47(0x1ad);continue;case'3':_0x4b6bea[_0x4b6bea[_0x40bc47(0x1a9)]=0x3]=_0x40bc47(0x1a9);continue;case'4':_0x4b6bea[_0x4b6bea[_0x5555e7['ezzmy']]=0xb]=_0x5555e7[_0x40bc47(0x1cd)];continue;case'5':_0x4b6bea[_0x4b6bea[_0x5555e7[_0x40bc47(0x1a7)]]=0x2]='PIC';continue;case'6':_0x4b6bea[_0x4b6bea[_0x40bc47(0x1d7)]=0x6]=_0x5555e7['kKBZt'];continue;case'7':_0x4b6bea[_0x4b6bea[_0x5555e7[_0x40bc47(0x1d8)]]=0xa]=_0x5555e7[_0x40bc47(0x1d8)];continue;case'8':_0x4b6bea[_0x4b6bea[_0x5555e7[_0x40bc47(0x1aa)]]=0x7]=_0x40bc47(0x1b1);continue;case'9':_0x4b6bea[_0x4b6bea[_0x5555e7['yuhXG']]=0x1]=_0x5555e7['yuhXG'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x3aa6b9){var _0x560fb8=_0x5b75,_0xdbb7a9={'PfKyL':'gif','Cjhtk':_0x560fb8(0x1c6)};_0x3aa6b9[_0x3aa6b9[_0xdbb7a9[_0x560fb8(0x1c8)]]=0x7d0]=_0xdbb7a9[_0x560fb8(0x1c8)],_0x3aa6b9[_0x3aa6b9[_0xdbb7a9[_0x560fb8(0x1cf)]]=0x3e8]=_0xdbb7a9[_0x560fb8(0x1cf)];}(PicType||(PicType={})));export var PicSubType;function _0x5b75(_0x283346,_0x23f343){var _0x157c4e=_0x157c();return _0x5b75=function(_0x5b75e8,_0xc2d581){_0x5b75e8=_0x5b75e8-0x19e;var _0x566a99=_0x157c4e[_0x5b75e8];return _0x566a99;},_0x5b75(_0x283346,_0x23f343);}(function(_0x34821c){var _0x3fe7b9=_0x5b75,_0x3703f6={'UMXcw':'normal','bVajc':'face'};_0x34821c[_0x34821c[_0x3703f6[_0x3fe7b9(0x19f)]]=0x0]=_0x3fe7b9(0x1c7),_0x34821c[_0x34821c[_0x3fe7b9(0x1d2)]=0x1]=_0x3703f6['bVajc'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x2bfe25){var _0x3c446e=_0x5b75,_0x42eb3d={'FyENg':'notAt','WICiG':'atAll','gEEuc':'atUser'};_0x2bfe25[_0x2bfe25[_0x3c446e(0x1c3)]=0x0]=_0x42eb3d[_0x3c446e(0x1b7)],_0x2bfe25[_0x2bfe25[_0x42eb3d[_0x3c446e(0x1ab)]]=0x1]=_0x42eb3d[_0x3c446e(0x1ab)],_0x2bfe25[_0x2bfe25[_0x42eb3d[_0x3c446e(0x1d0)]]=0x2]=_0x42eb3d[_0x3c446e(0x1d0)];}(AtType||(AtType={})));export var ChatType;(function(_0x4a7424){var _0x24d10c=_0x5b75,_0x3ad139={'CdibG':_0x24d10c(0x1b8),'YsrNk':'group','vEClq':_0x24d10c(0x1ce),'hLQoz':_0x24d10c(0x19e)};_0x4a7424[_0x4a7424[_0x3ad139[_0x24d10c(0x1db)]]=0x1]=_0x3ad139['CdibG'],_0x4a7424[_0x4a7424[_0x3ad139['YsrNk']]=0x2]=_0x24d10c(0x1ba),_0x4a7424[_0x4a7424[_0x3ad139[_0x24d10c(0x1a6)]]=0x8]=_0x3ad139['vEClq'],_0x4a7424[_0x4a7424[_0x24d10c(0x19e)]=0x64]=_0x3ad139[_0x24d10c(0x1d3)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x578285(0x1bd);export const IMAGE_HTTP_HOST_NT=_0x578285(0x1d9);export var GrayTipElementSubType;(function(_0x1b67b6){var _0x59c169=_0x578285,_0x50a888={'cWBJA':_0x59c169(0x1d5),'SpuXC':'MEMBER_NEW_TITLE'};_0x1b67b6[_0x1b67b6[_0x50a888[_0x59c169(0x1b3)]]=0xc]=_0x50a888[_0x59c169(0x1b3)],_0x1b67b6[_0x1b67b6[_0x50a888[_0x59c169(0x1a2)]]=0x11]=_0x50a888[_0x59c169(0x1a2)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x36019d){var _0x1ef16d=_0x578285,_0x16db64={'rfnlu':_0x1ef16d(0x1c7),'NCjdk':_0x1ef16d(0x1ca),'DTcAb':_0x1ef16d(0x1c9)};_0x36019d[_0x36019d[_0x16db64[_0x1ef16d(0x1c4)]]=0x1]=_0x16db64[_0x1ef16d(0x1c4)],_0x36019d[_0x36019d[_0x1ef16d(0x1ca)]=0x2]=_0x16db64[_0x1ef16d(0x1bc)],_0x36019d[_0x36019d[_0x16db64['DTcAb']]=0x3]=_0x16db64['DTcAb'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x447e64){var _0x119d30=_0x578285,_0x5c65cd={'ctGWm':_0x119d30(0x1a8)};_0x447e64[_0x447e64[_0x119d30(0x1c9)]=0x166]=_0x119d30(0x1c9),_0x447e64[_0x447e64[_0x5c65cd[_0x119d30(0x1b9)]]=0x167]=_0x5c65cd[_0x119d30(0x1b9)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x954aa9){var _0x47821a=_0x578285,_0x34ba0d={'xFmGl':'memberIncrease','zjSHt':'kicked','lhBCo':_0x47821a(0x1a5)};_0x954aa9[_0x954aa9[_0x47821a(0x1c2)]=0x1]=_0x34ba0d[_0x47821a(0x1a0)],_0x954aa9[_0x954aa9[_0x34ba0d[_0x47821a(0x1c0)]]=0x3]=_0x34ba0d['zjSHt'],_0x954aa9[_0x954aa9[_0x34ba0d['lhBCo']]=0x8]=_0x34ba0d[_0x47821a(0x1bf)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x4b11cd=_0x38d8;(function(_0x388402,_0x55bcf4){var _0x3e9937=_0x38d8,_0x44f7a5=_0x388402();while(!![]){try{var _0x2633fc=-parseInt(_0x3e9937(0x198))/0x1*(parseInt(_0x3e9937(0x1a4))/0x2)+-parseInt(_0x3e9937(0x1ab))/0x3+parseInt(_0x3e9937(0x1ae))/0x4+-parseInt(_0x3e9937(0x1b8))/0x5+parseInt(_0x3e9937(0x189))/0x6*(parseInt(_0x3e9937(0x1a0))/0x7)+parseInt(_0x3e9937(0x1bc))/0x8+-parseInt(_0x3e9937(0x1a8))/0x9*(-parseInt(_0x3e9937(0x186))/0xa);if(_0x2633fc===_0x55bcf4)break;else _0x44f7a5['push'](_0x44f7a5['shift']());}catch(_0x15a99e){_0x44f7a5['push'](_0x44f7a5['shift']());}}}(_0x50fb,0x6cd72));export var ElementType;(function(_0x542e67){var _0x1b86bd=_0x38d8,_0x1948f3={'VaSxs':_0x1b86bd(0x192),'ohuTe':_0x1b86bd(0x1ac),'AXCPF':'PIC','mjwcS':'MFACE','KCPUM':_0x1b86bd(0x1a2),'ASmjz':_0x1b86bd(0x19a),'cThuJ':'FILE','efwes':'MARKDOWN','VgqKV':_0x1b86bd(0x1a7)},_0x3b2e56='6|2|7|4|5|0|9|1|3|8'['split']('|'),_0x3e6474=0x0;while(!![]){switch(_0x3b2e56[_0x3e6474++]){case'0':_0x542e67[_0x542e67[_0x1948f3['VaSxs']]=0x6]=_0x1948f3[_0x1b86bd(0x1ad)];continue;case'1':_0x542e67[_0x542e67[_0x1b86bd(0x1ac)]=0xa]=_0x1948f3[_0x1b86bd(0x1b3)];continue;case'2':_0x542e67[_0x542e67[_0x1948f3[_0x1b86bd(0x1a1)]]=0x2]=_0x1948f3[_0x1b86bd(0x1a1)];continue;case'3':_0x542e67[_0x542e67[_0x1948f3[_0x1b86bd(0x18d)]]=0xb]=_0x1948f3[_0x1b86bd(0x18d)];continue;case'4':_0x542e67[_0x542e67[_0x1948f3[_0x1b86bd(0x1b0)]]=0x4]=_0x1b86bd(0x1a2);continue;case'5':_0x542e67[_0x542e67[_0x1b86bd(0x197)]=0x5]=_0x1b86bd(0x197);continue;case'6':_0x542e67[_0x542e67['TEXT']=0x1]=_0x1948f3[_0x1b86bd(0x1b5)];continue;case'7':_0x542e67[_0x542e67[_0x1948f3['cThuJ']]=0x3]=_0x1948f3['cThuJ'];continue;case'8':_0x542e67[_0x542e67[_0x1948f3[_0x1b86bd(0x18f)]]=0xe]=_0x1948f3['efwes'];continue;case'9':_0x542e67[_0x542e67[_0x1948f3[_0x1b86bd(0x1ba)]]=0x7]=_0x1948f3[_0x1b86bd(0x1ba)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x175ac2){var _0x543fa3=_0x38d8,_0x37f9d7={'VjIky':_0x543fa3(0x19b)};_0x175ac2[_0x175ac2[_0x37f9d7['VjIky']]=0x7d0]=_0x543fa3(0x19b),_0x175ac2[_0x175ac2[_0x543fa3(0x18a)]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;(function(_0x152d9e){var _0x445d7f=_0x38d8,_0x5de32b={'YnVZE':'normal','elIEG':_0x445d7f(0x19f)};_0x152d9e[_0x152d9e['normal']=0x0]=_0x5de32b[_0x445d7f(0x1b9)],_0x152d9e[_0x152d9e[_0x5de32b['elIEG']]=0x1]=_0x5de32b[_0x445d7f(0x196)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x2f37f1){var _0x1ba8f0=_0x38d8,_0x5dc0f0={'ScwfX':'notAt','LAPcL':_0x1ba8f0(0x1b7),'RfAmB':'atUser'};_0x2f37f1[_0x2f37f1[_0x5dc0f0[_0x1ba8f0(0x18c)]]=0x0]=_0x5dc0f0[_0x1ba8f0(0x18c)],_0x2f37f1[_0x2f37f1[_0x1ba8f0(0x1b7)]=0x1]=_0x5dc0f0[_0x1ba8f0(0x18b)],_0x2f37f1[_0x2f37f1[_0x5dc0f0['RfAmB']]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;function _0x38d8(_0x32b4f5,_0x5a2357){var _0x50fb3e=_0x50fb();return _0x38d8=function(_0x38d835,_0x2d88f7){_0x38d835=_0x38d835-0x183;var _0x4f21bd=_0x50fb3e[_0x38d835];return _0x4f21bd;},_0x38d8(_0x32b4f5,_0x5a2357);}(function(_0xdcffe1){var _0x5e1528=_0x38d8,_0x33a66a={'rOxhk':_0x5e1528(0x188),'VMGhY':'group','jNpsS':_0x5e1528(0x19d),'zRIoV':_0x5e1528(0x195)};_0xdcffe1[_0xdcffe1[_0x5e1528(0x188)]=0x1]=_0x33a66a[_0x5e1528(0x1b6)],_0xdcffe1[_0xdcffe1[_0x33a66a[_0x5e1528(0x191)]]=0x2]=_0x33a66a[_0x5e1528(0x191)],_0xdcffe1[_0xdcffe1[_0x33a66a[_0x5e1528(0x1b2)]]=0x8]=_0x33a66a[_0x5e1528(0x1b2)],_0xdcffe1[_0xdcffe1[_0x33a66a[_0x5e1528(0x184)]]=0x64]=_0x33a66a[_0x5e1528(0x184)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x4b11cd(0x1bb);export const IMAGE_HTTP_HOST_NT=_0x4b11cd(0x1b1);export var GrayTipElementSubType;(function(_0x24e2d3){var _0x39b56b=_0x4b11cd,_0x537068={'ELsze':_0x39b56b(0x1a5),'bfHTy':'MEMBER_NEW_TITLE'};_0x24e2d3[_0x24e2d3[_0x537068[_0x39b56b(0x183)]]=0xc]=_0x537068[_0x39b56b(0x183)],_0x24e2d3[_0x24e2d3[_0x537068[_0x39b56b(0x19e)]]=0x11]=_0x537068[_0x39b56b(0x19e)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xb50b4){var _0x46999c=_0x4b11cd,_0x4e2832={'jxxBt':_0x46999c(0x19c),'VEZru':'normal2','gRVyf':_0x46999c(0x1a3)};_0xb50b4[_0xb50b4[_0x4e2832[_0x46999c(0x1af)]]=0x1]=_0x4e2832[_0x46999c(0x1af)],_0xb50b4[_0xb50b4[_0x4e2832[_0x46999c(0x1aa)]]=0x2]=_0x4e2832[_0x46999c(0x1aa)],_0xb50b4[_0xb50b4[_0x4e2832[_0x46999c(0x185)]]=0x3]=_0x4e2832[_0x46999c(0x185)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3cfe67){var _0x8bada6=_0x4b11cd,_0x2ec2ee={'GWquJ':_0x8bada6(0x1a3),'WAiQZ':_0x8bada6(0x1b4)};_0x3cfe67[_0x3cfe67[_0x2ec2ee[_0x8bada6(0x1a6)]]=0x166]=_0x8bada6(0x1a3),_0x3cfe67[_0x3cfe67[_0x8bada6(0x1b4)]=0x167]=_0x2ec2ee[_0x8bada6(0x199)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;function _0x50fb(){var _0x35eb6a=['temp','elIEG','VIDEO','1289CMTicF','WAiQZ','TEXT','gif','normal','chatDevice','bfHTy','face','14PBDkAO','AXCPF','PTT','dice','1342gcCZpp','INVITE_NEW_MEMBER','GWquJ','REPLY','363573IFMNIH','kicked','VEZru','2460399kbcXtJ','ARK','VaSxs','1463612JSEiyA','jxxBt','KCPUM','https://multimedia.nt.qq.com.cn','jNpsS','ohuTe','RPS','ASmjz','rOxhk','atAll','4265670xSFgpv','YnVZE','VgqKV','https://gchat.qpic.cn','4048192jkkuXK','ELsze','zRIoV','gRVyf','310brEzhx','memberIncrease','friend','2579286fzavcL','jpg','LAPcL','ScwfX','mjwcS','YchIT','efwes','Fjzhq','VMGhY','FACE','ban','btysP'];_0x50fb=function(){return _0x35eb6a;};return _0x50fb();}(function(_0x15e152){var _0x4e9e7f=_0x4b11cd,_0x49b2ec={'YchIT':_0x4e9e7f(0x187),'btysP':'kicked','Fjzhq':_0x4e9e7f(0x193)};_0x15e152[_0x15e152[_0x49b2ec[_0x4e9e7f(0x18e)]]=0x1]=_0x49b2ec[_0x4e9e7f(0x18e)],_0x15e152[_0x15e152[_0x4e9e7f(0x1a9)]=0x3]=_0x49b2ec[_0x4e9e7f(0x194)],_0x15e152[_0x15e152[_0x4e9e7f(0x193)]=0x8]=_0x49b2ec[_0x4e9e7f(0x190)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index 093fc38d..f1e96891 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x5d9989,_0x196010){var _0x2cc022=_0x12e3,_0x4fa16e=_0x5d9989();while(!![]){try{var _0x2e6578=-parseInt(_0x2cc022(0xf3))/0x1*(parseInt(_0x2cc022(0x107))/0x2)+parseInt(_0x2cc022(0xf6))/0x3*(parseInt(_0x2cc022(0xfa))/0x4)+-parseInt(_0x2cc022(0xe9))/0x5+parseInt(_0x2cc022(0xed))/0x6*(-parseInt(_0x2cc022(0xf0))/0x7)+-parseInt(_0x2cc022(0xe6))/0x8*(-parseInt(_0x2cc022(0xe8))/0x9)+parseInt(_0x2cc022(0xff))/0xa+-parseInt(_0x2cc022(0x103))/0xb*(-parseInt(_0x2cc022(0xf1))/0xc);if(_0x2e6578===_0x196010)break;else _0x4fa16e['push'](_0x4fa16e['shift']());}catch(_0x2f6492){_0x4fa16e['push'](_0x4fa16e['shift']());}}}(_0x2fba,0xf1556));export var GroupNotifyTypes;function _0x2fba(){var _0xc76322=['seEUH','ENhsc','11QsBEWY','IGNORE','YlAug','wmQMs','112OieZKI','4|0|1|7|3|5|6|2','MEMBER_EXIT','KICK_MEMBER','85576KBJgiu','WAIT_HANDLE','1143QjCltX','9737370IpNqex','ikmTY','reject','INVITED_JOIN','6JKVigl','OpjzZ','approve','12041659NDXojr','18377196TaBkvp','SIPAK','6426RvLqxF','haekI','REJECT','569694pMTloG','ADMIN_UNSET','INVITE_ME','split','8HbYsIg','zbkkV','iHrWk','JOIN_REQUEST','JaXQF','17463210ydaImV','ADMIN_SET'];_0x2fba=function(){return _0xc76322;};return _0x2fba();}function _0x12e3(_0x5ed15f,_0x1d62eb){var _0x2fba11=_0x2fba();return _0x12e3=function(_0x12e3a7,_0x20f1aa){_0x12e3a7=_0x12e3a7-0xe3;var _0x37e224=_0x2fba11[_0x12e3a7];return _0x37e224;},_0x12e3(_0x5ed15f,_0x1d62eb);}(function(_0x5dc082){var _0x57b6c4=_0x12e3,_0x5a2866={'wmQMs':_0x57b6c4(0xec),'zbkkV':_0x57b6c4(0xfd),'ENhsc':'ADMIN_UNSET_OTHER','YlAug':_0x57b6c4(0xe5),'seEUH':_0x57b6c4(0xe4),'drsgq':_0x57b6c4(0xf7),'haekI':_0x57b6c4(0x100)},_0x2ec246=_0x57b6c4(0xe3)[_0x57b6c4(0xf9)]('|'),_0x5c5f69=0x0;while(!![]){switch(_0x2ec246[_0x5c5f69++]){case'0':_0x5dc082[_0x5dc082[_0x5a2866[_0x57b6c4(0x106)]]=0x4]=_0x57b6c4(0xec);continue;case'1':_0x5dc082[_0x5dc082[_0x5a2866[_0x57b6c4(0xfb)]]=0x7]=_0x5a2866['zbkkV'];continue;case'2':_0x5dc082[_0x5dc082[_0x5a2866[_0x57b6c4(0x102)]]=0xd]=_0x5a2866[_0x57b6c4(0x102)];continue;case'3':_0x5dc082[_0x5dc082[_0x57b6c4(0xe5)]=0x9]=_0x5a2866[_0x57b6c4(0x105)];continue;case'4':_0x5dc082[_0x5dc082['INVITE_ME']=0x1]=_0x57b6c4(0xf8);continue;case'5':_0x5dc082[_0x5dc082[_0x5a2866[_0x57b6c4(0x101)]]=0xb]=_0x5a2866['seEUH'];continue;case'6':_0x5dc082[_0x5dc082[_0x5a2866['drsgq']]=0xc]=_0x5a2866['drsgq'];continue;case'7':_0x5dc082[_0x5dc082[_0x5a2866[_0x57b6c4(0xf4)]]=0x8]=_0x57b6c4(0x100);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x471ae4){var _0x4c5e22=_0x12e3,_0x5875ec={'SIPAK':_0x4c5e22(0x104),'ikmTY':_0x4c5e22(0xe7),'TIgMQ':'APPROVE','OpjzZ':_0x4c5e22(0xf5)};_0x471ae4[_0x471ae4[_0x5875ec[_0x4c5e22(0xf2)]]=0x0]=_0x5875ec[_0x4c5e22(0xf2)],_0x471ae4[_0x471ae4[_0x5875ec[_0x4c5e22(0xea)]]=0x1]=_0x5875ec[_0x4c5e22(0xea)],_0x471ae4[_0x471ae4[_0x5875ec['TIgMQ']]=0x2]=_0x5875ec['TIgMQ'],_0x471ae4[_0x471ae4['REJECT']=0x3]=_0x5875ec[_0x4c5e22(0xee)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x48cb7d){var _0x3bb910=_0x12e3,_0x6dc287={'JaXQF':_0x3bb910(0xef),'iHrWk':_0x3bb910(0xeb)};_0x48cb7d[_0x48cb7d[_0x6dc287[_0x3bb910(0xfe)]]=0x1]=_0x6dc287[_0x3bb910(0xfe)],_0x48cb7d[_0x48cb7d[_0x6dc287[_0x3bb910(0xfc)]]=0x2]=_0x3bb910(0xeb);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x4f0d70,_0x460e3c){var _0x35c05a=_0x18e9,_0x19d39d=_0x4f0d70();while(!![]){try{var _0x2b3ec4=parseInt(_0x35c05a(0xe5))/0x1+parseInt(_0x35c05a(0xd8))/0x2*(-parseInt(_0x35c05a(0xea))/0x3)+-parseInt(_0x35c05a(0xd4))/0x4+parseInt(_0x35c05a(0xe9))/0x5*(-parseInt(_0x35c05a(0xe7))/0x6)+parseInt(_0x35c05a(0xd7))/0x7*(-parseInt(_0x35c05a(0xed))/0x8)+-parseInt(_0x35c05a(0xf4))/0x9*(-parseInt(_0x35c05a(0xd9))/0xa)+parseInt(_0x35c05a(0xd5))/0xb;if(_0x2b3ec4===_0x460e3c)break;else _0x19d39d['push'](_0x19d39d['shift']());}catch(_0x2d2672){_0x19d39d['push'](_0x19d39d['shift']());}}}(_0x24ef,0x3b3c3));export var GroupNotifyTypes;(function(_0x3d9312){var _0x1614ca=_0x18e9,_0x433bc9={'TgErt':_0x1614ca(0xef),'jADwe':_0x1614ca(0xdc),'BEstE':_0x1614ca(0xe3),'IqfEU':_0x1614ca(0xde),'Qzfqt':'ADMIN_UNSET','jHUjz':_0x1614ca(0xd3),'KVkZz':_0x1614ca(0xf2),'pzTTP':_0x1614ca(0xe0)},_0x3c1bd0=_0x1614ca(0xee)['split']('|'),_0x45078b=0x0;while(!![]){switch(_0x3c1bd0[_0x45078b++]){case'0':_0x3d9312[_0x3d9312[_0x433bc9[_0x1614ca(0xe4)]]=0x1]=_0x433bc9[_0x1614ca(0xe4)];continue;case'1':_0x3d9312[_0x3d9312[_0x433bc9['jADwe']]=0x7]=_0x1614ca(0xdc);continue;case'2':_0x3d9312[_0x3d9312[_0x433bc9[_0x1614ca(0xe6)]]=0x4]=_0x433bc9[_0x1614ca(0xe6)];continue;case'3':_0x3d9312[_0x3d9312[_0x433bc9[_0x1614ca(0xe8)]]=0xd]=_0x433bc9[_0x1614ca(0xe8)];continue;case'4':_0x3d9312[_0x3d9312[_0x433bc9[_0x1614ca(0xf3)]]=0xc]=_0x433bc9[_0x1614ca(0xf3)];continue;case'5':_0x3d9312[_0x3d9312[_0x433bc9[_0x1614ca(0xe1)]]=0x9]=_0x433bc9['jHUjz'];continue;case'6':_0x3d9312[_0x3d9312['ADMIN_SET']=0x8]=_0x433bc9[_0x1614ca(0xeb)];continue;case'7':_0x3d9312[_0x3d9312[_0x433bc9[_0x1614ca(0xec)]]=0xb]=_0x1614ca(0xe0);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x418826){var _0x4004b1=_0x18e9,_0x1fe72c={'SVcRM':'IGNORE','AbQrP':_0x4004b1(0xdd),'Pfxke':_0x4004b1(0xda),'ekSyu':_0x4004b1(0xd6)};_0x418826[_0x418826[_0x1fe72c[_0x4004b1(0xd2)]]=0x0]=_0x1fe72c['SVcRM'],_0x418826[_0x418826[_0x4004b1(0xdd)]=0x1]=_0x1fe72c['AbQrP'],_0x418826[_0x418826[_0x1fe72c[_0x4004b1(0xf1)]]=0x2]=_0x4004b1(0xda),_0x418826[_0x418826[_0x1fe72c[_0x4004b1(0xdb)]]=0x3]=_0x1fe72c['ekSyu'];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x18e9(_0x6ca970,_0x4af0a5){var _0x24ef19=_0x24ef();return _0x18e9=function(_0x18e97c,_0x1d32bd){_0x18e97c=_0x18e97c-0xd2;var _0x2aadd4=_0x24ef19[_0x18e97c];return _0x2aadd4;},_0x18e9(_0x6ca970,_0x4af0a5);}function _0x24ef(){var _0x4f2964=['KICK_MEMBER','1836992yMwbos','14826669HiZfrU','REJECT','2701076emZknv','6382VLUxiq','300xWzCdl','APPROVE','ekSyu','JOIN_REQUEST','WAIT_HANDLE','ADMIN_UNSET_OTHER','approve','MEMBER_EXIT','jHUjz','reject','INVITED_JOIN','TgErt','79037fILzfH','BEstE','636zrgLPZ','IqfEU','19795WhgYJv','117bhGkMx','KVkZz','pzTTP','8ZDsHSE','0|2|1|6|5|7|4|3','INVITE_ME','DlvXf','Pfxke','ADMIN_SET','Qzfqt','61479jQyZNn','qxcRN','SVcRM'];_0x24ef=function(){return _0x4f2964;};return _0x24ef();}export var GroupRequestOperateTypes;(function(_0x3475d4){var _0x314665=_0x18e9,_0x5d908c={'qxcRN':_0x314665(0xdf),'DlvXf':_0x314665(0xe2)};_0x3475d4[_0x3475d4[_0x5d908c[_0x314665(0xf5)]]=0x1]=_0x5d908c[_0x314665(0xf5)],_0x3475d4[_0x3475d4[_0x314665(0xe2)]=0x2]=_0x5d908c[_0x314665(0xf0)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index d5675fde..b31750e1 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x493d4f,_0x35c6d6){var _0x2ecbba=_0x4ecf,_0x4bc9b8=_0x493d4f();while(!![]){try{var _0x10bcfa=parseInt(_0x2ecbba(0x16a))/0x1*(-parseInt(_0x2ecbba(0x166))/0x2)+parseInt(_0x2ecbba(0x168))/0x3+-parseInt(_0x2ecbba(0x167))/0x4*(parseInt(_0x2ecbba(0x161))/0x5)+parseInt(_0x2ecbba(0x15c))/0x6+-parseInt(_0x2ecbba(0x15f))/0x7*(parseInt(_0x2ecbba(0x15e))/0x8)+-parseInt(_0x2ecbba(0x164))/0x9*(-parseInt(_0x2ecbba(0x160))/0xa)+parseInt(_0x2ecbba(0x163))/0xb;if(_0x10bcfa===_0x35c6d6)break;else _0x4bc9b8['push'](_0x4bc9b8['shift']());}catch(_0x448a7e){_0x4bc9b8['push'](_0x4bc9b8['shift']());}}}(_0x3855,0xbeb20));function _0x4ecf(_0x1ab9db,_0x47e595){var _0x385534=_0x3855();return _0x4ecf=function(_0x4ecfef,_0x4f290c){_0x4ecfef=_0x4ecfef-0x15c;var _0x4c2ace=_0x385534[_0x4ecfef];return _0x4c2ace;},_0x4ecf(_0x1ab9db,_0x47e595);}export var Sex;(function(_0x53afe6){var _0x1956e6=_0x4ecf,_0x3ca218={'QtYKt':'male','hGtCV':_0x1956e6(0x16b),'HXBve':_0x1956e6(0x162)};_0x53afe6[_0x53afe6[_0x3ca218[_0x1956e6(0x169)]]=0x1]=_0x3ca218[_0x1956e6(0x169)],_0x53afe6[_0x53afe6[_0x3ca218[_0x1956e6(0x15d)]]=0x2]=_0x3ca218['hGtCV'],_0x53afe6[_0x53afe6[_0x3ca218[_0x1956e6(0x165)]]=0xff]=_0x3ca218['HXBve'];}(Sex||(Sex={})));function _0x3855(){var _0x50f95b=['303070SniDGq','unknown','1854050QuLgSh','4581783fQLWan','HXBve','72kCWndU','76HeLXrE','472281cqNLcU','QtYKt','22993GpyYlJ','female','8595336imBPgt','hGtCV','40nhCELH','22687njOfor','20IHaaCo'];_0x3855=function(){return _0x50f95b;};return _0x3855();} \ No newline at end of file +function _0x3cd8(_0x3fe278,_0x40cbea){var _0x4c8352=_0x4c83();return _0x3cd8=function(_0x3cd81a,_0x55fd68){_0x3cd81a=_0x3cd81a-0x165;var _0x3882ff=_0x4c8352[_0x3cd81a];return _0x3882ff;},_0x3cd8(_0x3fe278,_0x40cbea);}function _0x4c83(){var _0x732135=['unknown','81rQFdHL','70860vKoIOh','818580KPiTMO','86fEiNgU','female','1130425FjTxRL','246pbKpLr','1484706UZeCND','male','1471544TlZuLd','DJWCX','TvhYo','kAYli','7slIInz','175016RQaOfu'];_0x4c83=function(){return _0x732135;};return _0x4c83();}(function(_0x6bfb38,_0x153686){var _0x4c3d1f=_0x3cd8,_0x368760=_0x6bfb38();while(!![]){try{var _0x2318de=-parseInt(_0x4c3d1f(0x171))/0x1+parseInt(_0x4c3d1f(0x166))/0x2*(parseInt(_0x4c3d1f(0x169))/0x3)+parseInt(_0x4c3d1f(0x165))/0x4+-parseInt(_0x4c3d1f(0x168))/0x5+parseInt(_0x4c3d1f(0x16a))/0x6+parseInt(_0x4c3d1f(0x170))/0x7*(parseInt(_0x4c3d1f(0x16c))/0x8)+parseInt(_0x4c3d1f(0x173))/0x9*(-parseInt(_0x4c3d1f(0x174))/0xa);if(_0x2318de===_0x153686)break;else _0x368760['push'](_0x368760['shift']());}catch(_0x7ba493){_0x368760['push'](_0x368760['shift']());}}}(_0x4c83,0x2aa62));export var Sex;(function(_0x2911f0){var _0x53215a=_0x3cd8,_0x20632c={'kAYli':_0x53215a(0x16b),'TvhYo':_0x53215a(0x167),'DJWCX':_0x53215a(0x172)};_0x2911f0[_0x2911f0[_0x20632c['kAYli']]=0x1]=_0x20632c[_0x53215a(0x16f)],_0x2911f0[_0x2911f0[_0x20632c['TvhYo']]=0x2]=_0x20632c[_0x53215a(0x16e)],_0x2911f0[_0x2911f0[_0x20632c[_0x53215a(0x16d)]]=0xff]=_0x20632c[_0x53215a(0x16d)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/external/hook.js b/src/core.lib/src/external/hook.js index 8c3fcc7f..4a46a989 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -(function(_0x327eee,_0x13a042){const _0x4fd034=_0x7abb,_0x68da03=_0x327eee();while(!![]){try{const _0x526b57=parseInt(_0x4fd034(0x175))/0x1+-parseInt(_0x4fd034(0x199))/0x2*(parseInt(_0x4fd034(0x159))/0x3)+-parseInt(_0x4fd034(0x15f))/0x4*(parseInt(_0x4fd034(0x17f))/0x5)+parseInt(_0x4fd034(0x184))/0x6*(-parseInt(_0x4fd034(0x15d))/0x7)+-parseInt(_0x4fd034(0x17e))/0x8+-parseInt(_0x4fd034(0x19b))/0x9*(parseInt(_0x4fd034(0x198))/0xa)+parseInt(_0x4fd034(0x17c))/0xb;if(_0x526b57===_0x13a042)break;else _0x68da03['push'](_0x68da03['shift']());}catch(_0x499162){_0x68da03['push'](_0x68da03['shift']());}}}(_0x104c,0x24574));const _0xf42087=_0x3953;function _0x104c(){const _0x5a1c74=['tGTuY','Ipodp','QbSPX','15121084FvGVLH','odzYd','2155776swOmWb','11405wNOmiJ','krykM','bUEio','CJIyR','SUPmP','42TVproz','ChoCE','hwIEW','moeHook','4792854VFWHun','uposA','push','xRkBm','RPsuh','xffXk','xSsMy','CxjCa','2562408wIiZCG','version','shift','374VBxxUX','jJXOh','aaHeM','2714212uyylMl','XsrBf','2812350cHhyXv','228874lFGgfF','cJQpq','9WqLMns','6USNPXX','kDdno','eYosN','nkvns','248073cQizaq','dtlWA','348yKMpYL','HVEbH','rJBcg','JgGnV','dxCpe','dqOgO','XvKZQ','getRKey','bJcMf','7aKfNFu','YdnTe','ehmrI','./MoeHoo.node','wZpWk','tOSqI','KjQXe','amBGF','BKyZn','1389534QvVDeB','加载\x20moehoo\x20失败','xzHdS','CIvsa','309oYuEHd','isAvailable','GetRkey','mDYTt'];_0x104c=function(){return _0x5a1c74;};return _0x104c();}function _0x3953(_0x1a0a70,_0x409979){const _0x16b04e=_0x7abb,_0x468e1c={'xzHdS':function(_0x11cb19,_0x4f1c73){return _0x11cb19-_0x4f1c73;},'tOSqI':function(_0x4d943a,_0x2c1df4,_0x328859){return _0x4d943a(_0x2c1df4,_0x328859);}},_0x1cf673=_0x23f5();return _0x3953=function(_0x18e279,_0x4a5527){const _0x2aa013=_0x7abb;_0x18e279=_0x468e1c[_0x2aa013(0x173)](_0x18e279,0x180);let _0xd1bb78=_0x1cf673[_0x18e279];return _0xd1bb78;},_0x468e1c[_0x16b04e(0x16d)](_0x3953,_0x1a0a70,_0x409979);}(function(_0x5dc762,_0x38ca8c){const _0x384da2=_0x7abb,_0x31521e={'CIvsa':function(_0x2d5e19){return _0x2d5e19();},'bJcMf':function(_0x5ec55f,_0x1bb565){return _0x5ec55f+_0x1bb565;},'mDYTt':function(_0x4362cc,_0x1e9abd){return _0x4362cc+_0x1e9abd;},'WTShR':function(_0x3dd9a9,_0x5a1e4b){return _0x3dd9a9*_0x5a1e4b;},'RPsuh':function(_0x4608ae,_0x6e00bd){return _0x4608ae/_0x6e00bd;},'dxCpe':function(_0x6ae40d,_0x19863b){return _0x6ae40d(_0x19863b);},'dqOgO':function(_0x33f9e4,_0x2f70fa){return _0x33f9e4/_0x2f70fa;},'jJXOh':function(_0x13e782,_0x111235){return _0x13e782(_0x111235);},'SUPmP':function(_0x2d2ec5,_0x11d7fd){return _0x2d2ec5/_0x11d7fd;},'bUEio':function(_0x4716b1,_0xeed886){return _0x4716b1(_0xeed886);},'CxjCa':function(_0x4bf911,_0x43bd0c){return _0x4bf911(_0x43bd0c);},'QbSPX':function(_0x2b4ccf,_0x14205b){return _0x2b4ccf*_0x14205b;},'YdnTe':function(_0x5215ce,_0x341c86){return _0x5215ce/_0x341c86;},'Ipodp':function(_0x25137d,_0x26f90c){return _0x25137d(_0x26f90c);},'xffXk':function(_0x3ee9d1,_0x59ae40){return _0x3ee9d1/_0x59ae40;},'UxLfx':function(_0x5299dc,_0x47c9b6){return _0x5299dc*_0x47c9b6;},'BKyZn':function(_0x5b1c94,_0x5f086b){return _0x5b1c94(_0x5f086b);},'zZsYR':function(_0x401230,_0x85c56){return _0x401230(_0x85c56);},'odzYd':function(_0x468127,_0x4d836){return _0x468127===_0x4d836;},'tGTuY':_0x384da2(0x18a),'yjvlm':_0x384da2(0x192)},_0x10d260=_0x3953,_0x502889=_0x31521e[_0x384da2(0x174)](_0x5dc762);while(!![]){try{const _0x2e70bd=_0x31521e[_0x384da2(0x167)](_0x31521e[_0x384da2(0x167)](_0x31521e[_0x384da2(0x178)](_0x31521e[_0x384da2(0x167)](_0x31521e['WTShR'](_0x31521e[_0x384da2(0x18c)](_0x31521e[_0x384da2(0x163)](parseInt,_0x10d260(0x191)),0x1),_0x31521e[_0x384da2(0x18c)](_0x31521e['dxCpe'](parseInt,_0x31521e[_0x384da2(0x163)](_0x10d260,0x18c)),0x2)),_0x31521e[_0x384da2(0x164)](parseInt(_0x31521e[_0x384da2(0x194)](_0x10d260,0x192)),0x3))+_0x31521e[_0x384da2(0x183)](-_0x31521e[_0x384da2(0x163)](parseInt,_0x31521e[_0x384da2(0x181)](_0x10d260,0x18b)),0x4)+_0x31521e[_0x384da2(0x183)](-_0x31521e[_0x384da2(0x18f)](parseInt,_0x10d260(0x190)),0x5),_0x31521e[_0x384da2(0x17b)](parseInt(_0x10d260(0x18a))/0x6,_0x31521e[_0x384da2(0x169)](_0x31521e[_0x384da2(0x18f)](parseInt,_0x31521e[_0x384da2(0x17a)](_0x10d260,0x184)),0x7))),_0x31521e[_0x384da2(0x18d)](_0x31521e[_0x384da2(0x18f)](parseInt,_0x10d260(0x183)),0x8)),_0x31521e['UxLfx'](_0x31521e[_0x384da2(0x183)](-_0x31521e[_0x384da2(0x163)](parseInt,_0x31521e['CxjCa'](_0x10d260,0x18f)),0x9),_0x31521e[_0x384da2(0x183)](_0x31521e[_0x384da2(0x170)](parseInt,_0x31521e['zZsYR'](_0x10d260,0x18e)),0xa)));if(_0x31521e[_0x384da2(0x17d)](_0x2e70bd,_0x38ca8c))break;else _0x502889[_0x31521e[_0x384da2(0x179)]](_0x502889[_0x31521e['yjvlm']]());}catch(_0x3dca9f){_0x502889[_0x31521e[_0x384da2(0x179)]](_0x502889[_0x31521e['yjvlm']]());}}}(_0x23f5,0x6b7e6));import{logError}from'@/common/utils/log';function _0x23f5(){const _0x1e20a0=_0x7abb,_0x24edf8={'JgGnV':'2490JpirUm','rJBcg':'QGOyQ','eYosN':'3906705mdCoYD','kDdno':_0x1e20a0(0x171),'OZbwy':_0x1e20a0(0x166),'KjQXe':_0x1e20a0(0x197),'HVEbH':_0x1e20a0(0x15c),'CJIyR':_0x1e20a0(0x190),'aaHeM':_0x1e20a0(0x168),'cJQpq':_0x1e20a0(0x176),'xSsMy':_0x1e20a0(0x172),'JdQzt':'MoeHoo','uposA':_0x1e20a0(0x188),'amBGF':_0x1e20a0(0x196),'ehmrI':function(_0x33dbab){return _0x33dbab();}},_0x520093=[_0x24edf8[_0x1e20a0(0x162)],_0x24edf8[_0x1e20a0(0x161)],'790zYhAbU','16830ywrZNQ',_0x24edf8[_0x1e20a0(0x15b)],_0x1e20a0(0x193),_0x24edf8[_0x1e20a0(0x15a)],_0x24edf8['OZbwy'],_0x24edf8[_0x1e20a0(0x16e)],_0x24edf8[_0x1e20a0(0x160)],_0x1e20a0(0x16b),_0x24edf8[_0x1e20a0(0x182)],_0x24edf8[_0x1e20a0(0x195)],_0x1e20a0(0x187),_0x24edf8[_0x1e20a0(0x19a)],_0x24edf8[_0x1e20a0(0x18e)],_0x24edf8['JdQzt'],_0x1e20a0(0x16c),_0x24edf8[_0x1e20a0(0x189)],_0x24edf8[_0x1e20a0(0x16f)]];return _0x23f5=function(){return _0x520093;},_0x24edf8[_0x1e20a0(0x16a)](_0x23f5);}import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0xf42087(0x185)]=null;constructor(){const _0x30e707=_0x7abb,_0x2f02bc={'hSVMa':function(_0x50912f,_0x33d401,_0x3d1790){return _0x50912f(_0x33d401,_0x3d1790);},'krykM':function(_0x1bbea8,_0x2af9b8){return _0x1bbea8(_0x2af9b8);},'XvKZQ':function(_0x4e33c2,_0x2956e5){return _0x4e33c2(_0x2956e5);},'xRkBm':function(_0x538575,_0x49dc32){return _0x538575(_0x49dc32);},'uZoHV':function(_0x50a8d8,_0x472837){return _0x50a8d8(_0x472837);},'dtlWA':function(_0x1e61f9,_0xc1a69f){return _0x1e61f9(_0xc1a69f);},'KwTLP':'HookRkey','fSfCj':_0x30e707(0x191),'hwIEW':function(_0x39a27f,_0x2d5cba){return _0x39a27f(_0x2d5cba);}},_0xfbe8bd=_0xf42087,_0x5bc501={'wZpWk':_0x2f02bc[_0x30e707(0x180)](_0xfbe8bd,0x188),'nkvns':function(_0x3c17e6,_0x26e039){return _0x3c17e6(_0x26e039);},'XsrBf':_0x2f02bc[_0x30e707(0x165)](_0xfbe8bd,0x182),'QGOyQ':function(_0x434a7b,_0x79f79f,_0x1e0753){return _0x2f02bc['hSVMa'](_0x434a7b,_0x79f79f,_0x1e0753);}};try{_0x2f02bc[_0x30e707(0x18b)](cpModule,_0x5bc501[_0x2f02bc['uZoHV'](_0xfbe8bd,0x189)]),this[_0x2f02bc[_0x30e707(0x18b)](_0xfbe8bd,0x185)]=_0x5bc501[_0x2f02bc[_0x30e707(0x15e)](_0xfbe8bd,0x181)](require,_0x5bc501[_0xfbe8bd(0x180)]),this['moeHook'][_0x2f02bc['KwTLP']](qqPkgInfo[_0x2f02bc['fSfCj']]);}catch(_0x511b16){_0x5bc501[_0x2f02bc['xRkBm'](_0xfbe8bd,0x18d)](logError,_0x2f02bc[_0x30e707(0x186)](_0xfbe8bd,0x187),_0x511b16);}}[_0xf42087(0x193)](){const _0x446d82=_0x7abb,_0x2b1711={'WAmQe':_0x446d82(0x187),'ChoCE':_0x446d82(0x177)};return this[_0x2b1711['WAmQe']]?.[_0x2b1711[_0x446d82(0x185)]]()||'';}[_0xf42087(0x186)](){const _0x2714e9={'ngHPX':function(_0x31dc00,_0x1c8cc8){return _0x31dc00(_0x1c8cc8);}},_0xb2d2e8=_0xf42087;return!!this[_0x2714e9['ngHPX'](_0xb2d2e8,0x185)];}}function _0x7abb(_0x1fb7bc,_0x48ba0b){const _0x104c0b=_0x104c();return _0x7abb=function(_0x7abb3b,_0x48c5a2){_0x7abb3b=_0x7abb3b-0x159;let _0x377ea4=_0x104c0b[_0x7abb3b];return _0x377ea4;},_0x7abb(_0x1fb7bc,_0x48ba0b);}export const hookApi=new HookApi(); \ No newline at end of file +(function(_0x5cd971,_0x1ff4a2){const _0x1956f1=_0x17db,_0x3f077e=_0x5cd971();while(!![]){try{const _0x5a5670=-parseInt(_0x1956f1(0x1e9))/0x1+-parseInt(_0x1956f1(0x241))/0x2*(-parseInt(_0x1956f1(0x1b3))/0x3)+-parseInt(_0x1956f1(0x201))/0x4*(-parseInt(_0x1956f1(0x1a7))/0x5)+parseInt(_0x1956f1(0x21f))/0x6+parseInt(_0x1956f1(0x1fa))/0x7+-parseInt(_0x1956f1(0x19d))/0x8*(-parseInt(_0x1956f1(0x243))/0x9)+parseInt(_0x1956f1(0x203))/0xa*(-parseInt(_0x1956f1(0x235))/0xb);if(_0x5a5670===_0x1ff4a2)break;else _0x3f077e['push'](_0x3f077e['shift']());}catch(_0xa62b38){_0x3f077e['push'](_0x3f077e['shift']());}}}(_0x3267,0x5b257),function(_0xf13092,_0x13ba2f){const _0xe75d8b=_0x17db,_0x4c9cce={'OQtVW':function(_0x29dc73){return _0x29dc73();},'IXbsg':function(_0x57a3e2,_0x260875){return _0x57a3e2+_0x260875;},'Dtjuj':function(_0x4cb814,_0x3a2934){return _0x4cb814+_0x3a2934;},'dklph':function(_0x366141,_0x5b2ad6){return _0x366141(_0x5b2ad6);},'TjReM':function(_0x195c9a,_0x5018c6){return _0x195c9a*_0x5018c6;},'mtuUT':function(_0xfff456,_0x386e58){return _0xfff456/_0x386e58;},'ScjpL':function(_0x280349,_0x18f4f3){return _0x280349(_0x18f4f3);},'qLigV':function(_0x527da7,_0x585d3){return _0x527da7(_0x585d3);},'DYACV':function(_0xfa2f9d,_0x580291){return _0xfa2f9d(_0x580291);},'jigay':function(_0x569a9d,_0x218ee1){return _0x569a9d(_0x218ee1);},'dcSNP':function(_0x584939,_0x22f3ee){return _0x584939/_0x22f3ee;},'kTfCJ':function(_0x338ff5,_0x222fe8){return _0x338ff5(_0x222fe8);},'oMZFF':function(_0x513f42,_0x3c39ee){return _0x513f42/_0x3c39ee;},'IvABK':function(_0x4caf82,_0x56121b){return _0x4caf82(_0x56121b);},'mTOWm':function(_0x441682,_0x15e727){return _0x441682/_0x15e727;},'AjHqE':function(_0x1ae51f,_0x1a51d0){return _0x1ae51f(_0x1a51d0);},'wuVsf':function(_0x40127d,_0x297294){return _0x40127d(_0x297294);},'NFeVG':function(_0x3dccd9,_0x5afe38){return _0x3dccd9/_0x5afe38;},'TzJoK':function(_0x2100d4,_0x25e1aa){return _0x2100d4===_0x25e1aa;},'USIdr':_0xe75d8b(0x1ec),'cOhgL':_0xe75d8b(0x1f3)},_0x4a15bf=_0x7abb,_0x3d4e06=_0x4c9cce['OQtVW'](_0xf13092);while(!![]){try{const _0x1651c3=_0x4c9cce[_0xe75d8b(0x21a)](_0x4c9cce[_0xe75d8b(0x21a)](_0x4c9cce[_0xe75d8b(0x21a)](_0x4c9cce['Dtjuj'](_0x4c9cce[_0xe75d8b(0x215)](parseInt,_0x4c9cce[_0xe75d8b(0x215)](_0x4a15bf,0x175))/0x1,_0x4c9cce[_0xe75d8b(0x226)](_0x4c9cce['mtuUT'](-_0x4c9cce[_0xe75d8b(0x215)](parseInt,_0x4c9cce[_0xe75d8b(0x1d8)](_0x4a15bf,0x199)),0x2),_0x4c9cce[_0xe75d8b(0x1a6)](parseInt,_0x4c9cce['DYACV'](_0x4a15bf,0x159))/0x3))+_0x4c9cce['mtuUT'](-_0x4c9cce[_0xe75d8b(0x1d8)](parseInt,_0x4c9cce[_0xe75d8b(0x1ca)](_0x4a15bf,0x15f)),0x4)*_0x4c9cce[_0xe75d8b(0x24e)](_0x4c9cce[_0xe75d8b(0x1d8)](parseInt,_0x4c9cce[_0xe75d8b(0x250)](_0x4a15bf,0x17f)),0x5),_0x4c9cce[_0xe75d8b(0x226)](_0x4c9cce[_0xe75d8b(0x239)](_0x4c9cce[_0xe75d8b(0x199)](parseInt,_0x4c9cce[_0xe75d8b(0x199)](_0x4a15bf,0x184)),0x6),-parseInt(_0x4a15bf(0x15d))/0x7))+_0x4c9cce[_0xe75d8b(0x1a2)](-_0x4c9cce['AjHqE'](parseInt,_0x4c9cce[_0xe75d8b(0x260)](_0x4a15bf,0x17e)),0x8),-_0x4c9cce[_0xe75d8b(0x260)](parseInt,_0x4c9cce['jigay'](_0x4a15bf,0x19b))/0x9*_0x4c9cce[_0xe75d8b(0x1a2)](_0x4c9cce[_0xe75d8b(0x1a9)](parseInt,_0x4c9cce[_0xe75d8b(0x199)](_0x4a15bf,0x198)),0xa)),_0x4c9cce[_0xe75d8b(0x1aa)](_0x4c9cce['jigay'](parseInt,_0x4a15bf(0x17c)),0xb));if(_0x4c9cce['TzJoK'](_0x1651c3,_0x13ba2f))break;else _0x3d4e06[_0x4c9cce[_0xe75d8b(0x232)]](_0x3d4e06[_0x4c9cce['cOhgL']]());}catch(_0x545e69){_0x3d4e06[_0xe75d8b(0x1ec)](_0x3d4e06[_0x4c9cce[_0xe75d8b(0x1e8)]]());}}}(_0x104c,0x24574));const _0xf42087=_0x3953;function _0x104c(){const _0xd9827a=_0x17db,_0x65a2d3={'StFqT':_0xd9827a(0x1c0),'oGQKV':'Ipodp','nbLhL':_0xd9827a(0x22e),'jlFcV':_0xd9827a(0x1b8),'NToEp':_0xd9827a(0x247),'sBBpA':_0xd9827a(0x207),'gyika':_0xd9827a(0x1ff),'fvUNe':'ChoCE','Ckrep':_0xd9827a(0x1f9),'goeZs':_0xd9827a(0x229),'RgzFv':_0xd9827a(0x231),'QmDNA':_0xd9827a(0x1ec),'JKUdV':'RPsuh','ZMbPR':_0xd9827a(0x20d),'xEKJl':_0xd9827a(0x1dc),'HHZkP':'CxjCa','zLrgJ':_0xd9827a(0x197),'QCOtt':_0xd9827a(0x1f3),'jdfLf':_0xd9827a(0x21e),'IhonO':_0xd9827a(0x1df),'eMzHT':_0xd9827a(0x225),'MhHZj':'2714212uyylMl','RBOgA':_0xd9827a(0x234),'FdLJZ':_0xd9827a(0x1e4),'yAwQQ':_0xd9827a(0x206),'MjGgZ':_0xd9827a(0x252),'igUMl':'eYosN','eBttR':_0xd9827a(0x23d),'xDpeS':_0xd9827a(0x212),'JkTvA':_0xd9827a(0x1a8),'ltOFb':_0xd9827a(0x1a4),'JPUjf':_0xd9827a(0x1c7),'cIgUr':_0xd9827a(0x213),'aodIY':_0xd9827a(0x1b4),'nQGhK':_0xd9827a(0x25d),'XCPAm':_0xd9827a(0x1d7),'qYeNE':'7aKfNFu','rBCJh':_0xd9827a(0x1de),'UbQDi':_0xd9827a(0x1d1),'QphGM':_0xd9827a(0x22c),'HJGIc':_0xd9827a(0x25b),'eOCst':_0xd9827a(0x24d),'HhnuB':_0xd9827a(0x1e1),'HAYGO':'1389534QvVDeB','vseZh':'加载\x20moehoo\x20失败','nVmKa':_0xd9827a(0x254),'BsxVx':_0xd9827a(0x1a0),'YkHMX':_0xd9827a(0x1b1),'ZbuHO':function(_0x3bfede){return _0x3bfede();}},_0x598047=[_0x65a2d3['StFqT'],_0x65a2d3[_0xd9827a(0x20f)],_0x65a2d3[_0xd9827a(0x1db)],_0x65a2d3[_0xd9827a(0x1da)],_0xd9827a(0x21c),_0x65a2d3[_0xd9827a(0x1ac)],_0xd9827a(0x253),_0xd9827a(0x1f7),_0x65a2d3[_0xd9827a(0x20a)],_0xd9827a(0x214),_0x65a2d3[_0xd9827a(0x1e0)],'42TVproz',_0x65a2d3[_0xd9827a(0x1ce)],_0xd9827a(0x1cf),_0x65a2d3[_0xd9827a(0x208)],_0x65a2d3[_0xd9827a(0x219)],_0x65a2d3[_0xd9827a(0x1cc)],_0x65a2d3[_0xd9827a(0x1bf)],_0xd9827a(0x1e2),_0x65a2d3[_0xd9827a(0x23b)],_0x65a2d3[_0xd9827a(0x202)],_0x65a2d3[_0xd9827a(0x23a)],_0x65a2d3['HHZkP'],'2562408wIiZCG',_0x65a2d3[_0xd9827a(0x1ee)],_0x65a2d3[_0xd9827a(0x1b9)],_0x65a2d3['jdfLf'],_0x65a2d3['IhonO'],_0x65a2d3[_0xd9827a(0x210)],_0x65a2d3[_0xd9827a(0x20c)],_0x65a2d3['RBOgA'],_0x65a2d3[_0xd9827a(0x228)],_0x65a2d3[_0xd9827a(0x1ed)],_0x65a2d3[_0xd9827a(0x1b0)],_0xd9827a(0x24f),_0xd9827a(0x19c),_0xd9827a(0x217),_0x65a2d3['igUMl'],_0x65a2d3[_0xd9827a(0x1a3)],_0xd9827a(0x221),_0x65a2d3['xDpeS'],_0x65a2d3[_0xd9827a(0x1f1)],_0x65a2d3[_0xd9827a(0x230)],_0x65a2d3[_0xd9827a(0x1af)],_0xd9827a(0x1a5),_0x65a2d3[_0xd9827a(0x1fb)],_0x65a2d3[_0xd9827a(0x1ae)],_0xd9827a(0x1f5),_0x65a2d3[_0xd9827a(0x1d0)],_0x65a2d3[_0xd9827a(0x248)],_0x65a2d3[_0xd9827a(0x1e3)],_0xd9827a(0x1bb),_0x65a2d3['rBCJh'],_0x65a2d3[_0xd9827a(0x1cd)],_0x65a2d3[_0xd9827a(0x1dd)],_0x65a2d3[_0xd9827a(0x1ea)],_0x65a2d3['eOCst'],'amBGF',_0x65a2d3[_0xd9827a(0x1b7)],_0x65a2d3[_0xd9827a(0x1be)],_0x65a2d3['vseZh'],'xzHdS',_0x65a2d3[_0xd9827a(0x223)],_0xd9827a(0x19b),_0x65a2d3[_0xd9827a(0x1a1)],_0x65a2d3[_0xd9827a(0x1d6)],_0xd9827a(0x1c9)];return _0x104c=function(){return _0x598047;},_0x65a2d3[_0xd9827a(0x1f8)](_0x104c);}function _0x3267(){const _0x518874=['KuxXB','aodIY','JPUjf','MjGgZ','GetRkey','IdylB','18957TlPkhy','dqOgO','WAmQe','KfXTJ','HhnuB','15121084FvGVLH','QCOtt','KwTLP','YdnTe','GQdCK','ywGyt','HAYGO','QmDNA','tGTuY','lvpuV','QGOyQ','hbgdb','kTSmQ','HookRkey','pdrYv','rJBcg','QdvNM','mDYTt','jigay','ijBhA','RgzFv','UbQDi','fvUNe','hwIEW','nQGhK','./MoeHoo.node','TZhJM','uZoHV','cStUq','ZKZMQ','YkHMX','bJcMf','ScjpL','mQjJr','jlFcV','nbLhL','xSsMy','QphGM','ehmrI','jJXOh','gyika','BKyZn','xRkBm','qYeNE','2812350cHhyXv','LuEBy','kDOWT','neVLP','cOhgL','453064akhhdw','HJGIc','TWKOC','push','yAwQQ','zLrgJ','CxjCa','SvbmB','JkTvA','RTxay','shift','MoeHoo','XvKZQ','ofWRZ','krykM','ZbuHO','moeHook','2966222TVSAkm','cIgUr','uUHVQ','GYOjs','3906705mdCoYD','SUPmP','SAkxu','2568AgYpxo','ZMbPR','130ymzDcl','HgpOY','Jyhsv','228874lFGgfF','bUEio','Ckrep','HjWEk','sBBpA','OvOYD','MhHZj','xffXk','yjDBW','oGQKV','eMzHT','sciVw','dtlWA','dxCpe','CJIyR','dklph','fLEgA','kDdno','TRaTj','goeZs','IXbsg','JFAbO','odzYd','DzEGj','374VBxxUX','3090948AuvQsj','AfbAS','248073cQizaq','eDuFw','nVmKa','CYmjC','aaHeM','TjReM','rRFeM','FdLJZ','4792854VFWHun','ZWzIs','WKzDI','wZpWk','tgMvr','QbSPX','ngHPX','ltOFb','uposA','USIdr','mukGC','XsrBf','1114949QqdUJz','VfBPJ','qkSsL','BeieH','oMZFF','xEKJl','JKUdV','hsjhd','nkvns','IAVhP','sIFbs','gQYly','82xooIxN','UbsEt','27XXnexw','fatfs','rFtcr','WTShR','2155776swOmWb','XCPAm','GOpwE','dEjcZ','uipCN','KxXjg','KjQXe','dcSNP','9WqLMns','kTfCJ','zZsYR','cJQpq','11405wNOmiJ','CIvsa','fXmgf','QWzkz','yjvlm','XThFm','hSVMa','zGBso','tOSqI','TLUtO','getRKey','PiQlV','FUYYH','wuVsf','nTVgi','VGYhs','version','fSfCj','IvABK','lerba','309oYuEHd','6USNPXX','1459736DwCdoL','OZbwy','UxLfx','isAvailable','BsxVx','mTOWm','eBttR','HVEbH','JgGnV','qLigV','3105xjTqLD','348yKMpYL','AjHqE','NFeVG','OHevT','NToEp'];_0x3267=function(){return _0x518874;};return _0x3267();}function _0x17db(_0x82d71c,_0x533b7d){const _0x3267b5=_0x3267();return _0x17db=function(_0x17db5e,_0x3b8b68){_0x17db5e=_0x17db5e-0x197;let _0x225a02=_0x3267b5[_0x17db5e];return _0x225a02;},_0x17db(_0x82d71c,_0x533b7d);}function _0x3953(_0x290f24,_0x55c8b7){const _0x566a57=_0x17db,_0x5ea432={'BPEUQ':function(_0x5f4cd7,_0x205435){return _0x5f4cd7-_0x205435;},'Jyhsv':function(_0x39bf40,_0x4d4eba,_0x45229c){return _0x39bf40(_0x4d4eba,_0x45229c);},'hmygI':function(_0x7224b0,_0x4a28e8){return _0x7224b0(_0x4a28e8);},'CYmjC':function(_0x5d6ce5){return _0x5d6ce5();},'HjWEk':function(_0x2d2208,_0x4c4722){return _0x2d2208(_0x4c4722);}},_0x598ab0=_0x7abb,_0x551ede={'xzHdS':function(_0x3ef31a,_0x23bc23){return _0x5ea432['BPEUQ'](_0x3ef31a,_0x23bc23);},'tOSqI':function(_0x289a5e,_0x2765a3,_0x135daa){const _0x3cc003=_0x17db;return _0x5ea432[_0x3cc003(0x205)](_0x289a5e,_0x2765a3,_0x135daa);}},_0x11c105=_0x5ea432[_0x566a57(0x224)](_0x23f5);return _0x3953=function(_0x475bdb,_0x368e41){const _0x4248b6=_0x7abb;_0x475bdb=_0x551ede[_0x5ea432['hmygI'](_0x4248b6,0x173)](_0x475bdb,0x180);let _0x35eca1=_0x11c105[_0x475bdb];return _0x35eca1;},_0x551ede[_0x5ea432[_0x566a57(0x209)](_0x598ab0,0x16d)](_0x3953,_0x290f24,_0x55c8b7);}(function(_0x3f752c,_0x3a9f17){const _0x62bc31=_0x17db,_0x359fb0={'JFAbO':function(_0x567bbe,_0x25eb6f){return _0x567bbe+_0x25eb6f;},'nTVgi':function(_0x4facd6,_0x20c250){return _0x4facd6*_0x20c250;},'IAVhP':function(_0x16c89a,_0x1b3d04){return _0x16c89a(_0x1b3d04);},'xUSgP':function(_0x10fdbe,_0x11baf1){return _0x10fdbe/_0x11baf1;},'GYOjs':function(_0xdb2be5,_0x103e52){return _0xdb2be5/_0x103e52;},'UbsEt':function(_0x51f699,_0x104fe1){return _0x51f699(_0x104fe1);},'pdrYv':function(_0x55ea77,_0xd19b8f){return _0x55ea77(_0xd19b8f);},'fXmgf':function(_0x46517f,_0x18f8ea){return _0x46517f(_0x18f8ea);},'RTxay':function(_0x2102d3,_0x365e9c){return _0x2102d3/_0x365e9c;},'QdvNM':function(_0x1ecd13,_0xe61754){return _0x1ecd13===_0xe61754;},'dEjcZ':function(_0x1f9569,_0x44ae2f){return _0x1f9569(_0x44ae2f);},'cStUq':function(_0x4531da,_0x16e602){return _0x4531da(_0x16e602);},'kaoiH':_0x62bc31(0x246),'IdylB':function(_0x1af535,_0x5f1444){return _0x1af535(_0x5f1444);},'GQdCK':function(_0x5920df,_0x53f641){return _0x5920df(_0x53f641);},'ZKZMQ':function(_0x3700f6,_0x350ad6){return _0x3700f6(_0x350ad6);},'AfbAS':function(_0xb583c3,_0x1e0185){return _0xb583c3(_0x1e0185);},'QWzkz':function(_0x3dd122,_0x23ea22){return _0x3dd122(_0x23ea22);},'ZWzIs':function(_0x341044,_0x4b0353){return _0x341044(_0x4b0353);},'rRFeM':function(_0x261b1d,_0x4d510c){return _0x261b1d(_0x4d510c);},'tgMvr':function(_0x5169eb,_0x3b034c){return _0x5169eb/_0x3b034c;},'ywGyt':function(_0x337461,_0xcec7db){return _0x337461(_0xcec7db);},'uipCN':function(_0x18c99e,_0x529d21){return _0x18c99e(_0x529d21);},'hsjhd':function(_0x556ad4,_0x4eaca7){return _0x556ad4(_0x4eaca7);},'sIFbs':function(_0x41c4c9,_0x14cec8){return _0x41c4c9(_0x14cec8);},'lerba':_0x62bc31(0x1ef),'WKzDI':function(_0x396822,_0x4eea14){return _0x396822(_0x4eea14);},'ofWRZ':function(_0x1e3c91,_0x5156fa){return _0x1e3c91(_0x5156fa);},'TWKOC':function(_0x15f500,_0x2fb8fc){return _0x15f500(_0x2fb8fc);},'TgHLQ':function(_0x249d9a,_0x2ffe1c){return _0x249d9a(_0x2ffe1c);},'ijBhA':'yjvlm'},_0x5afde8=_0x7abb,_0x457c0c={'CIvsa':function(_0x2a282a){return _0x2a282a();},'bJcMf':function(_0x113859,_0x49430b){return _0x113859+_0x49430b;},'mDYTt':function(_0x111593,_0x51a109){return _0x359fb0['JFAbO'](_0x111593,_0x51a109);},'WTShR':function(_0x2416b0,_0x51c8ce){const _0x114462=_0x62bc31;return _0x359fb0[_0x114462(0x261)](_0x2416b0,_0x51c8ce);},'RPsuh':function(_0x373744,_0x454407){return _0x373744/_0x454407;},'dxCpe':function(_0xb11963,_0x447839){const _0x3b0e70=_0x62bc31;return _0x359fb0[_0x3b0e70(0x23e)](_0xb11963,_0x447839);},'dqOgO':function(_0x4a2329,_0x37019f){return _0x359fb0['xUSgP'](_0x4a2329,_0x37019f);},'jJXOh':function(_0x1d6831,_0x4a2b08){const _0x1c3b7b=_0x62bc31;return _0x359fb0[_0x1c3b7b(0x23e)](_0x1d6831,_0x4a2b08);},'SUPmP':function(_0xd1215d,_0x2adb86){const _0x46ee75=_0x62bc31;return _0x359fb0[_0x46ee75(0x1fd)](_0xd1215d,_0x2adb86);},'bUEio':function(_0x50976c,_0x4fa3ef){const _0x519e03=_0x62bc31;return _0x359fb0[_0x519e03(0x242)](_0x50976c,_0x4fa3ef);},'CxjCa':function(_0x509dfd,_0x49eb51){return _0x359fb0['pdrYv'](_0x509dfd,_0x49eb51);},'QbSPX':function(_0x5502fa,_0x1ee5f8){return _0x5502fa*_0x1ee5f8;},'YdnTe':function(_0x86eb6d,_0x40af3c){return _0x359fb0['GYOjs'](_0x86eb6d,_0x40af3c);},'Ipodp':function(_0x4f5c94,_0x28ec38){const _0x993429=_0x62bc31;return _0x359fb0[_0x993429(0x255)](_0x4f5c94,_0x28ec38);},'xffXk':function(_0xea1d81,_0x594a32){const _0x4bc1e1=_0x62bc31;return _0x359fb0[_0x4bc1e1(0x1f2)](_0xea1d81,_0x594a32);},'UxLfx':function(_0x2ae346,_0x10fb0c){const _0x12f120=_0x62bc31;return _0x359fb0[_0x12f120(0x261)](_0x2ae346,_0x10fb0c);},'BKyZn':function(_0x1249d0,_0x2c6c13){return _0x1249d0(_0x2c6c13);},'zZsYR':function(_0x5f316b,_0x3a3f5e){return _0x359fb0['fXmgf'](_0x5f316b,_0x3a3f5e);},'odzYd':function(_0x4f035a,_0x27b738){const _0x46e46f=_0x62bc31;return _0x359fb0[_0x46e46f(0x1c8)](_0x4f035a,_0x27b738);},'tGTuY':_0x359fb0[_0x62bc31(0x24a)](_0x5afde8,0x18a),'yjvlm':_0x5afde8(0x192)},_0x1466d2=_0x3953,_0x58a0a5=_0x457c0c[_0x359fb0['cStUq'](_0x5afde8,0x174)](_0x3f752c);while(!![]){try{const _0x2a9310=_0x457c0c[_0x359fb0[_0x62bc31(0x24a)](_0x5afde8,0x167)](_0x457c0c[_0x359fb0[_0x62bc31(0x1c6)](_0x5afde8,0x167)](_0x457c0c[_0x359fb0[_0x62bc31(0x1c6)](_0x5afde8,0x178)](_0x359fb0[_0x62bc31(0x21b)](_0x359fb0['JFAbO'](_0x457c0c[_0x359fb0[_0x62bc31(0x23e)](_0x5afde8,0x167)](_0x457c0c[_0x359fb0['kaoiH']](_0x457c0c[_0x359fb0[_0x62bc31(0x1b2)](_0x5afde8,0x18c)](_0x457c0c[_0x359fb0[_0x62bc31(0x1d4)](_0x5afde8,0x163)](parseInt,_0x1466d2(0x191)),0x1),_0x457c0c[_0x5afde8(0x18c)](_0x457c0c['dxCpe'](parseInt,_0x457c0c[_0x359fb0[_0x62bc31(0x1bc)](_0x5afde8,0x163)](_0x1466d2,0x18c)),0x2)),_0x457c0c[_0x359fb0['ZKZMQ'](_0x5afde8,0x164)](_0x359fb0[_0x62bc31(0x1d5)](parseInt,_0x457c0c[_0x359fb0[_0x62bc31(0x1bc)](_0x5afde8,0x194)](_0x1466d2,0x192)),0x3)),_0x457c0c[_0x359fb0[_0x62bc31(0x220)](_0x5afde8,0x183)](-_0x457c0c[_0x359fb0[_0x62bc31(0x1bc)](_0x5afde8,0x163)](parseInt,_0x457c0c[_0x359fb0[_0x62bc31(0x256)](_0x5afde8,0x181)](_0x1466d2,0x18b)),0x4)),_0x457c0c[_0x359fb0[_0x62bc31(0x22a)](_0x5afde8,0x183)](-_0x457c0c[_0x5afde8(0x18f)](parseInt,_0x359fb0[_0x62bc31(0x227)](_0x1466d2,0x190)),0x5)),_0x457c0c[_0x359fb0[_0x62bc31(0x256)](_0x5afde8,0x17b)](_0x359fb0[_0x62bc31(0x22d)](_0x359fb0[_0x62bc31(0x1bd)](parseInt,_0x359fb0['fXmgf'](_0x1466d2,0x18a)),0x6),_0x457c0c[_0x359fb0[_0x62bc31(0x24b)](_0x5afde8,0x169)](_0x457c0c[_0x5afde8(0x18f)](parseInt,_0x457c0c[_0x359fb0['fXmgf'](_0x5afde8,0x17a)](_0x1466d2,0x184)),0x7))),_0x457c0c[_0x5afde8(0x18d)](_0x457c0c[_0x5afde8(0x18f)](parseInt,_0x359fb0[_0x62bc31(0x23c)](_0x1466d2,0x183)),0x8)),_0x457c0c[_0x62bc31(0x19f)](_0x457c0c[_0x359fb0[_0x62bc31(0x23f)](_0x5afde8,0x183)](-_0x457c0c[_0x5afde8(0x163)](parseInt,_0x457c0c[_0x359fb0[_0x62bc31(0x19a)]](_0x1466d2,0x18f)),0x9),_0x457c0c[_0x359fb0[_0x62bc31(0x22b)](_0x5afde8,0x183)](_0x457c0c[_0x359fb0[_0x62bc31(0x1d4)](_0x5afde8,0x170)](parseInt,_0x457c0c[_0x62bc31(0x251)](_0x1466d2,0x18e)),0xa)));if(_0x457c0c[_0x359fb0[_0x62bc31(0x1f6)](_0x5afde8,0x17d)](_0x2a9310,_0x3a9f17))break;else _0x58a0a5[_0x457c0c[_0x359fb0[_0x62bc31(0x1eb)](_0x5afde8,0x179)]](_0x58a0a5[_0x457c0c[_0x62bc31(0x257)]]());}catch(_0x528e47){_0x58a0a5[_0x457c0c[_0x359fb0['TgHLQ'](_0x5afde8,0x179)]](_0x58a0a5[_0x457c0c[_0x359fb0[_0x62bc31(0x1cb)]]]());}}}(_0x23f5,0x6b7e6));import{logError}from'@/common/utils/log';function _0x23f5(){const _0x1f936b=_0x17db,_0x49cf44={'BeieH':function(_0x38d3b2){return _0x38d3b2();},'qkSsL':'2490JpirUm','KfXTJ':_0x1f936b(0x1c2),'OvOYD':_0x1f936b(0x1fe),'hiErv':function(_0x52831d,_0x587f38){return _0x52831d(_0x587f38);},'FUYYH':function(_0x235a79,_0x5f2424){return _0x235a79(_0x5f2424);},'KxXjg':function(_0x5b3fab,_0x1a2793){return _0x5b3fab(_0x1a2793);},'uUHVQ':function(_0x15fc18,_0x5aa3cc){return _0x15fc18(_0x5aa3cc);},'TZhJM':function(_0x3923db,_0x270347){return _0x3923db(_0x270347);},'kDOWT':function(_0xa9ef59,_0x28bdd2){return _0xa9ef59(_0x28bdd2);},'TRaTj':function(_0x40ae80,_0x5aaa79){return _0x40ae80(_0x5aaa79);},'rFtcr':function(_0x132f79,_0xacd4bf){return _0x132f79(_0xacd4bf);},'fLEgA':function(_0x365db8,_0x5e0259){return _0x365db8(_0x5e0259);},'kTSmQ':'790zYhAbU','OHevT':function(_0x53f4a0,_0x560880){return _0x53f4a0(_0x560880);},'zGBso':_0x1f936b(0x19e),'mukGC':function(_0x55690b,_0x49e2c8){return _0x55690b(_0x49e2c8);},'neVLP':function(_0x42cc6f,_0x4c23af){return _0x42cc6f(_0x4c23af);},'gATVJ':function(_0x5bb1fb,_0x2c33d0){return _0x5bb1fb(_0x2c33d0);},'eDuFw':'JdQzt'},_0x1429a0=_0x7abb,_0x33a96a={'JgGnV':_0x49cf44[_0x1f936b(0x237)],'rJBcg':_0x49cf44[_0x1f936b(0x1b6)],'eYosN':_0x49cf44[_0x1f936b(0x20b)],'kDdno':_0x49cf44['hiErv'](_0x1429a0,0x171),'OZbwy':_0x49cf44[_0x1f936b(0x25f)](_0x1429a0,0x166),'KjQXe':_0x49cf44[_0x1f936b(0x25f)](_0x1429a0,0x197),'HVEbH':_0x49cf44[_0x1f936b(0x24c)](_0x1429a0,0x15c),'CJIyR':_0x1429a0(0x190),'aaHeM':_0x49cf44[_0x1f936b(0x1fc)](_0x1429a0,0x168),'cJQpq':_0x49cf44[_0x1f936b(0x1d2)](_0x1429a0,0x176),'xSsMy':_0x49cf44[_0x1f936b(0x1e6)](_0x1429a0,0x172),'JdQzt':_0x1f936b(0x1f4),'uposA':_0x49cf44[_0x1f936b(0x218)](_0x1429a0,0x188),'amBGF':_0x49cf44[_0x1f936b(0x245)](_0x1429a0,0x196),'ehmrI':function(_0x2b8823){const _0xb7830b=_0x1f936b;return _0x49cf44[_0xb7830b(0x238)](_0x2b8823);}},_0x194df5=[_0x33a96a[_0x49cf44[_0x1f936b(0x216)](_0x1429a0,0x162)],_0x33a96a[_0x49cf44['fLEgA'](_0x1429a0,0x161)],_0x49cf44[_0x1f936b(0x1c4)],'16830ywrZNQ',_0x33a96a[_0x49cf44['uUHVQ'](_0x1429a0,0x15b)],_0x49cf44[_0x1f936b(0x218)](_0x1429a0,0x193),_0x33a96a[_0x49cf44[_0x1f936b(0x1ab)](_0x1429a0,0x15a)],_0x33a96a[_0x49cf44[_0x1f936b(0x25a)]],_0x33a96a[_0x1429a0(0x16e)],_0x33a96a[_0x49cf44[_0x1f936b(0x233)](_0x1429a0,0x160)],_0x1429a0(0x16b),_0x33a96a[_0x49cf44[_0x1f936b(0x1ab)](_0x1429a0,0x182)],_0x33a96a[_0x1429a0(0x195)],_0x49cf44[_0x1f936b(0x1e7)](_0x1429a0,0x187),_0x33a96a[_0x49cf44['gATVJ'](_0x1429a0,0x19a)],_0x33a96a[_0x49cf44[_0x1f936b(0x218)](_0x1429a0,0x18e)],_0x33a96a[_0x49cf44[_0x1f936b(0x222)]],_0x49cf44[_0x1f936b(0x216)](_0x1429a0,0x16c),_0x33a96a[_0x49cf44[_0x1f936b(0x216)](_0x1429a0,0x189)],_0x33a96a[_0x49cf44[_0x1f936b(0x233)](_0x1429a0,0x16f)]];return _0x23f5=function(){return _0x194df5;},_0x33a96a[_0x1429a0(0x16a)](_0x23f5);}import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0xf42087(0x185)]=null;constructor(){const _0x7dc872=_0x17db,_0x14b4b7={'lvpuV':function(_0x1dc73f,_0x510c0a,_0x15c518){return _0x1dc73f(_0x510c0a,_0x15c518);},'SvbmB':function(_0x33342f,_0x13e4d8){return _0x33342f(_0x13e4d8);},'fatfs':function(_0x440418,_0x2164a3){return _0x440418(_0x2164a3);},'GOpwE':function(_0x5a2958,_0x35607d){return _0x5a2958(_0x35607d);},'yjDBW':function(_0x44583b,_0x144ce7){return _0x44583b(_0x144ce7);},'XThFm':_0x7dc872(0x259),'hbgdb':_0x7dc872(0x1c5),'DzEGj':function(_0x916ade,_0xf3b545){return _0x916ade(_0xf3b545);},'HgpOY':function(_0x2f0efb,_0x307159){return _0x2f0efb(_0x307159);},'SAkxu':function(_0x255dad,_0x1d4998){return _0x255dad(_0x1d4998);},'TLUtO':function(_0x1c409e,_0xb5f18c){return _0x1c409e(_0xb5f18c);},'LuEBy':_0x7dc872(0x1f9),'PiQlV':_0x7dc872(0x198),'VfBPJ':_0x7dc872(0x1e2)},_0xf1bf84=_0x7abb,_0x2bbed2={'hSVMa':function(_0x125d2b,_0x4fc9d8,_0x563152){const _0x5b3384=_0x7dc872;return _0x14b4b7[_0x5b3384(0x1c1)](_0x125d2b,_0x4fc9d8,_0x563152);},'krykM':function(_0x313ca1,_0x54b292){const _0xdccc03=_0x7dc872;return _0x14b4b7[_0xdccc03(0x1f0)](_0x313ca1,_0x54b292);},'XvKZQ':function(_0x5a40b5,_0x24ff5f){const _0x50751d=_0x7dc872;return _0x14b4b7[_0x50751d(0x1f0)](_0x5a40b5,_0x24ff5f);},'xRkBm':function(_0x3f6410,_0x5007b1){return _0x3f6410(_0x5007b1);},'uZoHV':function(_0x462836,_0x2cd3d3){const _0x3413a0=_0x7dc872;return _0x14b4b7[_0x3413a0(0x1f0)](_0x462836,_0x2cd3d3);},'dtlWA':function(_0x5b44cd,_0xa6e26b){const _0x258201=_0x7dc872;return _0x14b4b7[_0x258201(0x244)](_0x5b44cd,_0xa6e26b);},'KwTLP':_0x14b4b7[_0x7dc872(0x1c3)],'fSfCj':_0x14b4b7[_0x7dc872(0x21d)](_0xf1bf84,0x191),'hwIEW':function(_0xb0dff3,_0x50451a){const _0x2021dd=_0x7dc872;return _0x14b4b7[_0x2021dd(0x249)](_0xb0dff3,_0x50451a);}},_0x50bdc1=_0xf42087,_0x42b0a5={'wZpWk':_0x2bbed2[_0x14b4b7['HgpOY'](_0xf1bf84,0x180)](_0x50bdc1,0x188),'nkvns':function(_0xb7de3d,_0x5b2db7){const _0x153061=_0x7dc872;return _0x14b4b7[_0x153061(0x20e)](_0xb7de3d,_0x5b2db7);},'XsrBf':_0x2bbed2[_0x14b4b7[_0x7dc872(0x200)](_0xf1bf84,0x165)](_0x50bdc1,0x182),'QGOyQ':function(_0x1f6156,_0x107cc2,_0x58eeb5){const _0x11ec14=_0x7dc872;return _0x2bbed2[_0x14b4b7[_0x11ec14(0x258)]](_0x1f6156,_0x107cc2,_0x58eeb5);}};try{_0x2bbed2[_0xf1bf84(0x18b)](cpModule,_0x42b0a5[_0x2bbed2[_0x7dc872(0x1d3)](_0x50bdc1,0x189)]),this[_0x2bbed2[_0x14b4b7[_0x7dc872(0x25c)](_0xf1bf84,0x18b)](_0x50bdc1,0x185)]=_0x42b0a5[_0x2bbed2[_0x14b4b7[_0x7dc872(0x25c)](_0xf1bf84,0x15e)](_0x50bdc1,0x181)](require,_0x42b0a5[_0x14b4b7[_0x7dc872(0x204)](_0x50bdc1,0x180)]),this[_0x14b4b7[_0x7dc872(0x1e5)]][_0x2bbed2[_0x7dc872(0x1ba)]](qqPkgInfo[_0x2bbed2[_0x14b4b7[_0x7dc872(0x25e)]]]);}catch(_0x2478f0){_0x42b0a5[_0x2bbed2[_0x14b4b7[_0x7dc872(0x236)]](_0x50bdc1,0x18d)](logError,_0x2bbed2[_0x14b4b7[_0x7dc872(0x25c)](_0xf1bf84,0x186)](_0x50bdc1,0x187),_0x2478f0);}}[_0xf42087(0x193)](){const _0x117e00=_0x17db,_0x2a5473={'sciVw':function(_0x338dae,_0x2580c3){return _0x338dae(_0x2580c3);},'gQYly':function(_0x2dff11,_0x14b4cd){return _0x2dff11(_0x14b4cd);},'KuxXB':_0x117e00(0x1b5)},_0x5da698=_0x7abb,_0x3d3bb0={'WAmQe':_0x2a5473[_0x117e00(0x211)](_0x5da698,0x187),'ChoCE':_0x2a5473[_0x117e00(0x240)](_0x5da698,0x177)};return this[_0x3d3bb0[_0x2a5473[_0x117e00(0x1ad)]]]?.[_0x3d3bb0[_0x5da698(0x185)]]()||'';}[_0xf42087(0x186)](){const _0x19f8aa=_0x17db,_0xf54d66={'VWTbR':function(_0x25722d,_0x4ed3ae){return _0x25722d(_0x4ed3ae);},'zcCPq':_0x19f8aa(0x22f)},_0x2ba79d={'ngHPX':function(_0x320d68,_0x5bdd21){return _0xf54d66['VWTbR'](_0x320d68,_0x5bdd21);}},_0x732f9e=_0xf42087;return!!this[_0x2ba79d[_0xf54d66['zcCPq']](_0x732f9e,0x185)];}}function _0x7abb(_0x46c59b,_0x163e25){const _0x1c8fd3=_0x17db,_0x28eec2={'cydHo':function(_0x40a4ff,_0x357da4){return _0x40a4ff-_0x357da4;},'VGYhs':function(_0x3ad36b){return _0x3ad36b();},'mQjJr':function(_0x5f9a61,_0x44b010,_0x39d396){return _0x5f9a61(_0x44b010,_0x39d396);}},_0x2ae064=_0x28eec2[_0x1c8fd3(0x262)](_0x104c);return _0x7abb=function(_0x1a7db2,_0x3af263){_0x1a7db2=_0x28eec2['cydHo'](_0x1a7db2,0x159);let _0x21706e=_0x2ae064[_0x1a7db2];return _0x21706e;},_0x28eec2[_0x1c8fd3(0x1d9)](_0x7abb,_0x46c59b,_0x163e25);}export const hookApi=new HookApi(); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 462f3ae2..4184e051 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x1ba0ab,_0x4ddb02){var _0x147156=_0x3c0a,_0xdeb53c=_0x1ba0ab();while(!![]){try{var _0x17617c=-parseInt(_0x147156(0x185))/0x1*(-parseInt(_0x147156(0x184))/0x2)+-parseInt(_0x147156(0x18a))/0x3*(-parseInt(_0x147156(0x186))/0x4)+parseInt(_0x147156(0x189))/0x5+parseInt(_0x147156(0x18b))/0x6*(-parseInt(_0x147156(0x183))/0x7)+parseInt(_0x147156(0x188))/0x8+-parseInt(_0x147156(0x18c))/0x9+-parseInt(_0x147156(0x187))/0xa;if(_0x17617c===_0x4ddb02)break;else _0xdeb53c['push'](_0xdeb53c['shift']());}catch(_0x232da6){_0xdeb53c['push'](_0xdeb53c['shift']());}}}(_0x54ec,0xc5c41));import _0x1c2236 from'./wrapper';function _0x54ec(){var _0x1383eb=['6JRNLEs','3602772dDApGd','9493078OSLHqn','12zfOfve','261533aIGFaU','29404nvSxLf','12200210gVwqHg','3595320eYliMf','7479660mBarpu','111LYjvJc'];_0x54ec=function(){return _0x1383eb;};return _0x54ec();}export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';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{_0x1c2236 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x3c0a(_0x94f7b0,_0x5d415e){var _0x54ec8b=_0x54ec();return _0x3c0a=function(_0x3c0afc,_0x52391f){_0x3c0afc=_0x3c0afc-0x183;var _0x5e45f2=_0x54ec8b[_0x3c0afc];return _0x5e45f2;},_0x3c0a(_0x94f7b0,_0x5d415e);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x5c0f69,_0x504b24){var _0x3853e0=_0x48c2,_0x3e8624=_0x5c0f69();while(!![]){try{var _0x25e457=-parseInt(_0x3853e0(0x1e9))/0x1+parseInt(_0x3853e0(0x1ec))/0x2+-parseInt(_0x3853e0(0x1ea))/0x3*(parseInt(_0x3853e0(0x1ef))/0x4)+-parseInt(_0x3853e0(0x1ed))/0x5*(-parseInt(_0x3853e0(0x1e7))/0x6)+parseInt(_0x3853e0(0x1f0))/0x7+parseInt(_0x3853e0(0x1ee))/0x8*(-parseInt(_0x3853e0(0x1eb))/0x9)+parseInt(_0x3853e0(0x1e8))/0xa;if(_0x25e457===_0x504b24)break;else _0x3e8624['push'](_0x3e8624['shift']());}catch(_0x2ea4b4){_0x3e8624['push'](_0x3e8624['shift']());}}}(_0x4300,0x569b9));import _0x1dccf4 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';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{_0x1dccf4 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x48c2(_0xfb71bc,_0xb2e71c){var _0x430079=_0x4300();return _0x48c2=function(_0x48c273,_0x1e1245){_0x48c273=_0x48c273-0x1e7;var _0x5065a3=_0x430079[_0x48c273];return _0x5065a3;},_0x48c2(_0xfb71bc,_0xb2e71c);}function _0x4300(){var _0x587b05=['1184286uZbhvs','1269882VXFxqK','1300976zLVXCJ','509455XfIFOa','24SIKspQ','4gNacFo','4783856uUAHqy','6BeMOmD','840990pLZmBy','347085yxQYfX'];_0x4300=function(){return _0x587b05;};return _0x4300();}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 11298feb..3b692be0 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0xee5f(){var _0x2d5e30=['onCheckBuddySettingResult','onBlockChanged','1dyzkYV','230958GclaZK','onNickUpdated','onBuddyReqUnreadCntChange','122343zzPMny','1837782KaOTjd','onBuddyRemarkUpdated','onAddBuddyNeedVerify','1545272ZkqQxP','onDelBatchBuddyInfos','onAvatarUrlUpdated','onBuddyInfoChange','onDoubtBuddyReqChange','onSmartInfos','onBuddyDetailInfoChange','onAddMeSettingChanged','553798hBIMOf','onBuddyListChange','5SidWlo','59746pxNyjm','310780dbkEqp'];_0xee5f=function(){return _0x2d5e30;};return _0xee5f();}function _0x40e6(_0x20e17d,_0x5588dd){var _0xee5fd5=_0xee5f();return _0x40e6=function(_0x40e646,_0x389f75){_0x40e646=_0x40e646-0x1bf;var _0x5d26f2=_0xee5fd5[_0x40e646];return _0x5d26f2;},_0x40e6(_0x20e17d,_0x5588dd);}var _0x1285d2=_0x40e6;(function(_0x1518b7,_0x5ea25f){var _0x4040d5=_0x40e6,_0x2c842b=_0x1518b7();while(!![]){try{var _0xa1635=parseInt(_0x4040d5(0x1c6))/0x1*(-parseInt(_0x4040d5(0x1c2))/0x2)+-parseInt(_0x4040d5(0x1ca))/0x3+parseInt(_0x4040d5(0x1c3))/0x4*(parseInt(_0x4040d5(0x1c1))/0x5)+parseInt(_0x4040d5(0x1cb))/0x6+parseInt(_0x4040d5(0x1bf))/0x7+-parseInt(_0x4040d5(0x1ce))/0x8+parseInt(_0x4040d5(0x1c7))/0x9;if(_0xa1635===_0x5ea25f)break;else _0x2c842b['push'](_0x2c842b['shift']());}catch(_0x4ef3da){_0x2c842b['push'](_0x2c842b['shift']());}}}(_0xee5f,0x36ebb));export class BuddyListener{[_0x1285d2(0x1cd)](_0x3c7287){}[_0x1285d2(0x1d5)](_0x4d86d3){}[_0x1285d2(0x1d0)](_0x59b323){}[_0x1285d2(0x1c5)](_0x448219){}[_0x1285d2(0x1d4)](_0x55a24a){}[_0x1285d2(0x1d1)](_0x1f7aa7){}[_0x1285d2(0x1c0)](_0x29b3b8){}[_0x1285d2(0x1cc)](_0xe53e3e){}['onBuddyReqChange'](_0x1ae864){}[_0x1285d2(0x1c9)](_0x5a3b7e){}[_0x1285d2(0x1c4)](_0x8df6ed){}[_0x1285d2(0x1cf)](_0xbdf6a3){}[_0x1285d2(0x1d2)](_0x23226a){}['onDoubtBuddyReqUnreadNumChange'](_0x84788b){}[_0x1285d2(0x1c8)](_0x4d5efd){}[_0x1285d2(0x1d3)](_0x560f90){}['onSpacePermissionInfos'](_0x2f74fc){}} \ No newline at end of file +function _0x7fe1(){var _0x19b5c1=['onBuddyRemarkUpdated','onBuddyDetailInfoChange','onSmartInfos','2QTGYHV','4086754sHOyFt','onDelBatchBuddyInfos','onAddBuddyNeedVerify','8QyiOVV','5077836YOQxqF','26838948Dwylhh','5MbusQR','413980GCMPKE','4eRbpPB','143jwOYec','273729dGpgGg','onNickUpdated','1874265trZXwv','onBuddyInfoChange','onDoubtBuddyReqUnreadNumChange','onAddMeSettingChanged','onBuddyReqChange','574137rzSICr'];_0x7fe1=function(){return _0x19b5c1;};return _0x7fe1();}var _0x1864eb=_0x47f2;function _0x47f2(_0x195eb6,_0xc77dc0){var _0x7fe119=_0x7fe1();return _0x47f2=function(_0x47f22e,_0x20ad20){_0x47f22e=_0x47f22e-0x1f0;var _0x18471a=_0x7fe119[_0x47f22e];return _0x18471a;},_0x47f2(_0x195eb6,_0xc77dc0);}(function(_0xe81e33,_0x489529){var _0x3d1a9c=_0x47f2,_0xbd5564=_0xe81e33();while(!![]){try{var _0x132304=-parseInt(_0x3d1a9c(0x203))/0x1*(parseInt(_0x3d1a9c(0x1f8))/0x2)+parseInt(_0x3d1a9c(0x205))/0x3*(-parseInt(_0x3d1a9c(0x201))/0x4)+-parseInt(_0x3d1a9c(0x1ff))/0x5*(parseInt(_0x3d1a9c(0x1fd))/0x6)+parseInt(_0x3d1a9c(0x1f9))/0x7+parseInt(_0x3d1a9c(0x1fc))/0x8*(-parseInt(_0x3d1a9c(0x1f4))/0x9)+parseInt(_0x3d1a9c(0x200))/0xa*(-parseInt(_0x3d1a9c(0x202))/0xb)+parseInt(_0x3d1a9c(0x1fe))/0xc;if(_0x132304===_0x489529)break;else _0xbd5564['push'](_0xbd5564['shift']());}catch(_0x5bb7ff){_0xbd5564['push'](_0xbd5564['shift']());}}}(_0x7fe1,0x73a2c));export class BuddyListener{[_0x1864eb(0x1fb)](_0x25e7e7){}[_0x1864eb(0x1f2)](_0x17be95){}['onAvatarUrlUpdated'](_0x2d3531){}['onBlockChanged'](_0x57be17){}[_0x1864eb(0x1f6)](_0xd350c1){}[_0x1864eb(0x1f0)](_0x131cbb){}['onBuddyListChange'](_0x19033e){}[_0x1864eb(0x1f5)](_0x3afb88){}[_0x1864eb(0x1f3)](_0x2b1027){}['onBuddyReqUnreadCntChange'](_0x2342b4){}['onCheckBuddySettingResult'](_0x5ca9e7){}[_0x1864eb(0x1fa)](_0x16696d){}['onDoubtBuddyReqChange'](_0x16a395){}[_0x1864eb(0x1f1)](_0x3468f8){}[_0x1864eb(0x204)](_0x33332c){}[_0x1864eb(0x1f7)](_0x464ee2){}['onSpacePermissionInfos'](_0x3cc272){}} \ 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 223974f1..3067367a 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x560a(){var _0x2daa88=['onFileSearch','8CWqeHp','166ZnEuJY','1511256feWlKo','onFileListChanged','1568iQexQX','3548461BwFiPY','onSessionListChanged','41427727aKeewL','703191jQCGtP','27879uYMacX','7970aPDijy','27423eVcoTU','1550HMmeYn'];_0x560a=function(){return _0x2daa88;};return _0x560a();}var _0x4f48d5=_0x3485;function _0x3485(_0x7b8222,_0x430365){var _0x560a27=_0x560a();return _0x3485=function(_0x348581,_0xc202b6){_0x348581=_0x348581-0x10a;var _0x24b2ef=_0x560a27[_0x348581];return _0x24b2ef;},_0x3485(_0x7b8222,_0x430365);}(function(_0x2647be,_0x52b13e){var _0x431cbd=_0x3485,_0x4359cf=_0x2647be();while(!![]){try{var _0x28761b=-parseInt(_0x431cbd(0x114))/0x1+-parseInt(_0x431cbd(0x10d))/0x2*(parseInt(_0x431cbd(0x115))/0x3)+-parseInt(_0x431cbd(0x110))/0x4*(parseInt(_0x431cbd(0x116))/0x5)+-parseInt(_0x431cbd(0x10e))/0x6+-parseInt(_0x431cbd(0x111))/0x7*(parseInt(_0x431cbd(0x10c))/0x8)+parseInt(_0x431cbd(0x117))/0x9*(-parseInt(_0x431cbd(0x10a))/0xa)+parseInt(_0x431cbd(0x113))/0xb;if(_0x28761b===_0x52b13e)break;else _0x4359cf['push'](_0x4359cf['shift']());}catch(_0x12e632){_0x4359cf['push'](_0x4359cf['shift']());}}}(_0x560a,0x6a603));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x33895a){}[_0x4f48d5(0x112)](..._0x17a967){}['onSessionChanged'](..._0x3909a3){}[_0x4f48d5(0x10f)](..._0x5c756e){}[_0x4f48d5(0x10b)](..._0x5893d4){}} \ No newline at end of file +var _0x4818c9=_0xb66f;function _0xb66f(_0x49089d,_0x1935ef){var _0x1527d3=_0x1527();return _0xb66f=function(_0xb66fb1,_0xe94733){_0xb66fb1=_0xb66fb1-0x188;var _0x9ae58=_0x1527d3[_0xb66fb1];return _0x9ae58;},_0xb66f(_0x49089d,_0x1935ef);}(function(_0xe7c64e,_0x12568b){var _0x49dff4=_0xb66f,_0x2351d8=_0xe7c64e();while(!![]){try{var _0x305f99=parseInt(_0x49dff4(0x192))/0x1+parseInt(_0x49dff4(0x18c))/0x2+-parseInt(_0x49dff4(0x191))/0x3+-parseInt(_0x49dff4(0x18e))/0x4+-parseInt(_0x49dff4(0x18a))/0x5+-parseInt(_0x49dff4(0x190))/0x6+parseInt(_0x49dff4(0x18b))/0x7*(parseInt(_0x49dff4(0x18f))/0x8);if(_0x305f99===_0x12568b)break;else _0x2351d8['push'](_0x2351d8['shift']());}catch(_0x3e16a9){_0x2351d8['push'](_0x2351d8['shift']());}}}(_0x1527,0x8bf0b));function _0x1527(){var _0x232669=['onFileStatusChanged','4549984VugBzV','8012256VWjktO','4005504lhZkJX','3382854HlsGBU','930877gBnGAk','onSessionChanged','onFileListChanged','onFileSearch','4315000PEkqAD','21TATpLX','866840ePvyEl'];_0x1527=function(){return _0x232669;};return _0x1527();}export class KernelFileAssistantListener{[_0x4818c9(0x18d)](..._0x450521){}['onSessionListChanged'](..._0x2d47e5){}[_0x4818c9(0x193)](..._0x5c865c){}[_0x4818c9(0x188)](..._0x1b78f3){}[_0x4818c9(0x189)](..._0x56a669){}} \ 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 9250eb75..298b5cb9 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x30bd(){var _0x3fa42f=['jbfFO','onJoinGroupNotify','onGroupBulletinChange','onGroupConfMemberChange:','onGroupExtListUpdate:','IRqlw','IGrcL','onGroupStatisticInfoChange:','onGroupSingleScreenNotifies:','154UQtyxQ','onGroupNotifiesUpdated:','onGroupsMsgMaskResult','onJoinGroupNoVerifyFlag','onJoinGroupNotify:','6189318aBYOWr','onGroupListUpdate:','onGroupNotifiesUpdated','onGroupMemberLevelInfoChange','541610sCsSys','onGroupBulletinRichMediaProgressUpdate','onSearchMemberChange','onMemberListChange','7763416eZKtLy','onGroupFirstBulletinNotify:','37832rDvUFq','ewjct','onSearchMemberChange:','onGroupDetailInfoChange:','eQgqF','onMemberInfoChange','onGroupBulletinRemindNotify','onGroupBulletinRichMediaDownloadComplete','onJoinGroupNoVerifyFlag:','onGroupFirstBulletinNotify','PTrEE','log','onGetGroupBulletinListResult:','1691988KHOfhk','213khzMOA','IlAtH','onGroupListUpdate','onMemberInfoChange:','onShutUpMemberListChanged:','onGroupAllInfoChange','onGroupSingleScreenNotifies','1YPcFyh','onGroupBulletinRemindNotify:','onGroupArkInviteStateResult','onGroupMemberLevelInfoChange:','1622162cXJcgZ','RuYOM','onGroupStatisticInfoChange','onGroupsMsgMaskResult:','kBrTX','onGroupNotifiesUnreadCountUpdated','3801987TAOwrj','lkkRy','onGroupArkInviteStateResult:','onShutUpMemberListChanged','onGroupExtListUpdate','onGroupDetailInfoChange','10wcshHF','jRfjr'];_0x30bd=function(){return _0x3fa42f;};return _0x30bd();}var _0x39e777=_0x4942;(function(_0x7ef864,_0x12ae69){var _0x36c1c7=_0x4942,_0xf10929=_0x7ef864();while(!![]){try{var _0x168e64=parseInt(_0x36c1c7(0x1e9))/0x1*(parseInt(_0x36c1c7(0x1ed))/0x2)+-parseInt(_0x36c1c7(0x1e2))/0x3*(parseInt(_0x36c1c7(0x1d4))/0x4)+-parseInt(_0x36c1c7(0x1f9))/0x5*(parseInt(_0x36c1c7(0x1e1))/0x6)+parseInt(_0x36c1c7(0x1f3))/0x7+-parseInt(_0x36c1c7(0x1d2))/0x8+parseInt(_0x36c1c7(0x1ca))/0x9+parseInt(_0x36c1c7(0x1ce))/0xa*(parseInt(_0x36c1c7(0x204))/0xb);if(_0x168e64===_0x12ae69)break;else _0xf10929['push'](_0xf10929['shift']());}catch(_0x444e80){_0xf10929['push'](_0xf10929['shift']());}}}(_0x30bd,0x9113d));export class GroupListener{[_0x39e777(0x1cd)](..._0x5d8e1e){}['onGetGroupBulletinListResult'](..._0x257a92){}[_0x39e777(0x1e7)](..._0x390adb){}[_0x39e777(0x1fd)](..._0x220ab8){}[_0x39e777(0x1da)](..._0x3f77de){}[_0x39e777(0x1eb)](..._0x5534c0){}[_0x39e777(0x1db)](..._0x49f581){}['onGroupConfMemberChange'](..._0x5e42d1){}[_0x39e777(0x1f8)](..._0x1b5f0f){}[_0x39e777(0x1f7)](..._0x23131d){}[_0x39e777(0x1dd)](..._0x45bbcb){}[_0x39e777(0x1e4)](_0x340de0,_0x2ed47c){}[_0x39e777(0x1cc)](_0x5b6f25,_0x1639e5){}[_0x39e777(0x1cf)](..._0x4820af){}['onGroupNotifiesUnreadCountUpdated'](..._0xf4526){}[_0x39e777(0x1e8)](_0x47e5a5,_0x8b4af5,_0x518ea0){}[_0x39e777(0x206)](..._0x221fd6){}[_0x39e777(0x1ef)](..._0x1f3c6b){}[_0x39e777(0x1fc)](..._0x5412b5){}[_0x39e777(0x207)](..._0x1c7938){}[_0x39e777(0x1d9)](_0x3b3b37,_0x59a068,_0x534b70){}[_0x39e777(0x1d1)](_0x10f935){}[_0x39e777(0x1d0)](..._0x10e202){}[_0x39e777(0x1f6)](..._0x5bf028){}}function _0x4942(_0x45887e,_0x2daa83){var _0x30bd72=_0x30bd();return _0x4942=function(_0x494265,_0x43e7a5){_0x494265=_0x494265-0x1ca;var _0x10473f=_0x30bd72[_0x494265];return _0x10473f;},_0x4942(_0x45887e,_0x2daa83);}export class DebugGroupListener{[_0x39e777(0x1cd)](..._0x16d3d1){var _0x53bfe8=_0x39e777;console[_0x53bfe8(0x1df)](_0x53bfe8(0x1ec),..._0x16d3d1);}['onGetGroupBulletinListResult'](..._0x309655){var _0x179c16=_0x39e777;console[_0x179c16(0x1df)](_0x179c16(0x1e0),..._0x309655);}['onGroupAllInfoChange'](..._0x437943){var _0x586b58=_0x39e777,_0x3fb472={'IRqlw':'onGroupAllInfoChange:'};console[_0x586b58(0x1df)](_0x3fb472[_0x586b58(0x200)],..._0x437943);}[_0x39e777(0x1fd)](..._0x4054f5){var _0x36a740=_0x39e777,_0x4f0020={'eQgqF':'onGroupBulletinChange:'};console[_0x36a740(0x1df)](_0x4f0020[_0x36a740(0x1d8)],..._0x4054f5);}[_0x39e777(0x1da)](..._0xad6b0f){var _0x40f64d=_0x39e777;console[_0x40f64d(0x1df)](_0x40f64d(0x1ea),..._0xad6b0f);}[_0x39e777(0x1eb)](..._0x259de1){var _0x4d6fb5=_0x39e777,_0x542804={'svjOq':_0x4d6fb5(0x1f5)};console[_0x4d6fb5(0x1df)](_0x542804['svjOq'],..._0x259de1);}[_0x39e777(0x1db)](..._0x1fa96e){console['log']('onGroupBulletinRichMediaDownloadComplete:',..._0x1fa96e);}['onGroupConfMemberChange'](..._0x16160a){var _0x2a1d19=_0x39e777,_0x3ef8d1={'jbfFO':_0x2a1d19(0x1fe)};console['log'](_0x3ef8d1[_0x2a1d19(0x1fb)],..._0x16160a);}[_0x39e777(0x1f8)](..._0x37cb11){var _0x155627=_0x39e777;console['log'](_0x155627(0x1d7),..._0x37cb11);}[_0x39e777(0x1f7)](..._0x1bc218){var _0x562047=_0x39e777,_0x1a1478={'jRfjr':_0x562047(0x1ff)};console['log'](_0x1a1478[_0x562047(0x1fa)],..._0x1bc218);}[_0x39e777(0x1dd)](..._0x9b365c){var _0x2e1d94=_0x39e777;console['log'](_0x2e1d94(0x1d3),..._0x9b365c);}[_0x39e777(0x1e4)](..._0x27f1ac){var _0xae60d1=_0x39e777,_0x17fa13={'PTrEE':_0xae60d1(0x1cb)};console[_0xae60d1(0x1df)](_0x17fa13[_0xae60d1(0x1de)],..._0x27f1ac);}[_0x39e777(0x1cc)](..._0x45be20){var _0x4c9d21=_0x39e777,_0x1d4342={'NviVZ':_0x4c9d21(0x205)};console['log'](_0x1d4342['NviVZ'],..._0x45be20);}[_0x39e777(0x1cf)](..._0x173c7b){var _0x4352f3=_0x39e777,_0x2eea32={'ijiMf':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x4352f3(0x1df)](_0x2eea32['ijiMf'],..._0x173c7b);}[_0x39e777(0x1f2)](..._0x1d6844){var _0x228fbf=_0x39e777,_0x587665={'IlAtH':'onGroupNotifiesUnreadCountUpdated:'};console[_0x228fbf(0x1df)](_0x587665[_0x228fbf(0x1e3)],..._0x1d6844);}[_0x39e777(0x1e8)](_0x42ad91,_0x1d0bf9,_0x5bf597){var _0x371ea2=_0x39e777,_0x482cc9={'ewjct':_0x371ea2(0x203)};console[_0x371ea2(0x1df)](_0x482cc9[_0x371ea2(0x1d5)]);}['onGroupsMsgMaskResult'](..._0x95f0a5){var _0x4834c7=_0x39e777;console[_0x4834c7(0x1df)](_0x4834c7(0x1f0),..._0x95f0a5);}[_0x39e777(0x1ef)](..._0x31683b){var _0x5a5da2=_0x39e777,_0x57d47b={'kBrTX':_0x5a5da2(0x202)};console[_0x5a5da2(0x1df)](_0x57d47b[_0x5a5da2(0x1f1)],..._0x31683b);}['onJoinGroupNotify'](..._0x1f7a69){var _0x120729=_0x39e777;console[_0x120729(0x1df)](_0x120729(0x208),..._0x1f7a69);}['onJoinGroupNoVerifyFlag'](..._0xbd374){var _0x2508c6=_0x39e777;console[_0x2508c6(0x1df)](_0x2508c6(0x1dc),..._0xbd374);}['onMemberInfoChange'](_0x596e9b,_0x2d99f9,_0x38bd47){var _0x4e1277=_0x39e777,_0x3b0c88={'IGrcL':_0x4e1277(0x1e5)};console[_0x4e1277(0x1df)](_0x3b0c88[_0x4e1277(0x201)],_0x596e9b,_0x2d99f9,_0x38bd47);}[_0x39e777(0x1d1)](..._0xe87181){var _0x3e3b19=_0x39e777,_0x587c2f={'RuYOM':'onMemberListChange:'};console[_0x3e3b19(0x1df)](_0x587c2f[_0x3e3b19(0x1ee)],..._0xe87181);}[_0x39e777(0x1d0)](..._0x3cb330){var _0x23cc79=_0x39e777,_0x1b682a={'lkkRy':_0x23cc79(0x1d6)};console[_0x23cc79(0x1df)](_0x1b682a[_0x23cc79(0x1f4)],..._0x3cb330);}[_0x39e777(0x1f6)](..._0x5389c0){var _0x366678=_0x39e777;console['log'](_0x366678(0x1e6),..._0x5389c0);}} \ No newline at end of file +function _0x2086(_0x6ac7d1,_0x4b55ab){var _0x38e680=_0x38e6();return _0x2086=function(_0x20860f,_0x46d873){_0x20860f=_0x20860f-0x9c;var _0x1969d2=_0x38e680[_0x20860f];return _0x1969d2;},_0x2086(_0x6ac7d1,_0x4b55ab);}function _0x38e6(){var _0xc49614=['onGroupAllInfoChange:','onMemberInfoChange','onGetGroupBulletinListResult','onGroupBulletinRichMediaDownloadComplete:','qpxuR','9zyvZXZ','onMemberListChange:','YAXlJ','onGroupBulletinRichMediaDownloadComplete','OHTqn','onGroupExtListUpdate:','onGroupBulletinChange:','XiMmw','72745dmIlPm','1362616klaCtj','onGroupMemberLevelInfoChange','1408043UfGVVo','30AEZVKl','onJoinGroupNotify','onMemberListChange','frXHx','onGroupBulletinRichMediaProgressUpdate','onGroupSingleScreenNotifies','agtqH','onGroupNotifiesUpdated','onGroupNotifiesUnreadCountUpdated','onGetGroupBulletinListResult:','onGroupExtListUpdate','log','29319873CrbHDc','vLgtb','onShutUpMemberListChanged','oEgBa','onGroupBulletinRichMediaProgressUpdate:','onGroupNotifiesUnreadCountUpdated:','onGroupArkInviteStateResult:','onGroupBulletinChange','onGroupStatisticInfoChange','1567446CvaESW','onGroupMemberLevelInfoChange:','xHeYE','onGroupListUpdate:','Hdfae','onGroupDetailInfoChange','onGroupStatisticInfoChange:','onGroupsMsgMaskResult:','onSearchMemberChange:','608HdnzYM','XJIUi','onMemberInfoChange:','onGroupFirstBulletinNotify','36ASfyOd','onGroupConfMemberChange','onGroupDetailInfoChange:','jpyIa','1388940yrdSpu','onGroupListUpdate','onGroupSingleScreenNotifies:','onGroupFirstBulletinNotify:','onJoinGroupNoVerifyFlag','onJoinGroupNoVerifyFlag:','onGroupAllInfoChange','onGroupBulletinRemindNotify:','onShutUpMemberListChanged:','2382dyvTXs','onGroupBulletinRemindNotify'];_0x38e6=function(){return _0xc49614;};return _0x38e6();}var _0x578a1c=_0x2086;(function(_0x39744e,_0x407843){var _0x31e319=_0x2086,_0x525106=_0x39744e();while(!![]){try{var _0x143e00=-parseInt(_0x31e319(0xcb))/0x1*(parseInt(_0x31e319(0xba))/0x2)+-parseInt(_0x31e319(0xb1))/0x3+parseInt(_0x31e319(0xbe))/0x4*(parseInt(_0x31e319(0xda))/0x5)+-parseInt(_0x31e319(0x9c))/0x6*(parseInt(_0x31e319(0xdd))/0x7)+-parseInt(_0x31e319(0xdb))/0x8*(parseInt(_0x31e319(0xd2))/0x9)+parseInt(_0x31e319(0xc2))/0xa+parseInt(_0x31e319(0xa8))/0xb;if(_0x143e00===_0x407843)break;else _0x525106['push'](_0x525106['shift']());}catch(_0x166c36){_0x525106['push'](_0x525106['shift']());}}}(_0x38e6,0x7d254));export class GroupListener{[_0x578a1c(0xdc)](..._0x1dff39){}[_0x578a1c(0xcf)](..._0x1b6204){}[_0x578a1c(0xc8)](..._0x55080b){}[_0x578a1c(0xaf)](..._0x141902){}[_0x578a1c(0xcc)](..._0x2c560b){}['onGroupArkInviteStateResult'](..._0x298cf2){}[_0x578a1c(0xd5)](..._0x4f8f9f){}[_0x578a1c(0xbf)](..._0x3829e9){}[_0x578a1c(0xb6)](..._0x1aa740){}[_0x578a1c(0xa6)](..._0x51ba98){}[_0x578a1c(0xbd)](..._0x33ad44){}['onGroupListUpdate'](_0x1c6b86,_0x32eff2){}[_0x578a1c(0xa3)](_0x30ee30,_0x57b28f){}[_0x578a1c(0xa0)](..._0x5ebdc2){}['onGroupNotifiesUnreadCountUpdated'](..._0x775050){}[_0x578a1c(0xa1)](_0x1db1ea,_0x76733a,_0x42ea36){}['onGroupsMsgMaskResult'](..._0xebd0b4){}[_0x578a1c(0xb0)](..._0x3a85c6){}[_0x578a1c(0x9d)](..._0x243dea){}[_0x578a1c(0xc6)](..._0x160628){}[_0x578a1c(0xce)](_0x4d628e,_0x29bc49,_0xef7e65){}[_0x578a1c(0x9e)](_0x3a2b14){}['onSearchMemberChange'](..._0x2ee28f){}[_0x578a1c(0xaa)](..._0x475ee4){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x2b9cfc){var _0x4eebe3=_0x578a1c,_0x5eca3b={'vLgtb':_0x4eebe3(0xb2)};console[_0x4eebe3(0xa7)](_0x5eca3b[_0x4eebe3(0xa9)],..._0x2b9cfc);}[_0x578a1c(0xcf)](..._0x4d04c1){var _0x528d7c=_0x578a1c;console[_0x528d7c(0xa7)](_0x528d7c(0xa5),..._0x4d04c1);}['onGroupAllInfoChange'](..._0x55e344){var _0x5f0b6e=_0x578a1c,_0x4cb4f4={'qpxuR':_0x5f0b6e(0xcd)};console['log'](_0x4cb4f4[_0x5f0b6e(0xd1)],..._0x55e344);}[_0x578a1c(0xaf)](..._0x1659d8){var _0x479af4=_0x578a1c,_0x1d3728={'jpyIa':_0x479af4(0xd8)};console[_0x479af4(0xa7)](_0x1d3728[_0x479af4(0xc1)],..._0x1659d8);}[_0x578a1c(0xcc)](..._0x1c5fb8){var _0x3f11f1=_0x578a1c;console[_0x3f11f1(0xa7)](_0x3f11f1(0xc9),..._0x1c5fb8);}['onGroupArkInviteStateResult'](..._0x5c2430){var _0x117d02=_0x578a1c,_0x13ec6c={'OHTqn':_0x117d02(0xae)};console['log'](_0x13ec6c[_0x117d02(0xd6)],..._0x5c2430);}[_0x578a1c(0xd5)](..._0x54536c){var _0x745817=_0x578a1c,_0x11a82c={'Hdfae':_0x745817(0xd0)};console[_0x745817(0xa7)](_0x11a82c[_0x745817(0xb5)],..._0x54536c);}[_0x578a1c(0xbf)](..._0x3414b6){console['log']('onGroupConfMemberChange:',..._0x3414b6);}[_0x578a1c(0xb6)](..._0x2ea60a){var _0x27fa56=_0x578a1c,_0x1fdbea={'xdtYV':_0x27fa56(0xc0)};console[_0x27fa56(0xa7)](_0x1fdbea['xdtYV'],..._0x2ea60a);}['onGroupExtListUpdate'](..._0x4c2e4f){var _0x39064b=_0x578a1c,_0x21d70c={'oEgBa':_0x39064b(0xd7)};console[_0x39064b(0xa7)](_0x21d70c[_0x39064b(0xab)],..._0x4c2e4f);}[_0x578a1c(0xbd)](..._0x2037ed){var _0x29dc5f=_0x578a1c,_0x23d82c={'DMDKa':_0x29dc5f(0xc5)};console['log'](_0x23d82c['DMDKa'],..._0x2037ed);}[_0x578a1c(0xc3)](..._0x1458a7){var _0x1cd4a9=_0x578a1c;console['log'](_0x1cd4a9(0xb4),..._0x1458a7);}[_0x578a1c(0xa3)](..._0x59c0f3){var _0x2cc0b8=_0x578a1c,_0x278303={'YAXlJ':'onGroupNotifiesUpdated:'};console['log'](_0x278303[_0x2cc0b8(0xd4)],..._0x59c0f3);}['onGroupBulletinRichMediaProgressUpdate'](..._0x2f92c2){var _0x1bea90=_0x578a1c,_0x1912b8={'AEwlq':_0x1bea90(0xac)};console[_0x1bea90(0xa7)](_0x1912b8['AEwlq'],..._0x2f92c2);}[_0x578a1c(0xa4)](..._0xaed756){var _0x1ada50=_0x578a1c,_0xf5d9f2={'frXHx':_0x1ada50(0xad)};console[_0x1ada50(0xa7)](_0xf5d9f2[_0x1ada50(0x9f)],..._0xaed756);}[_0x578a1c(0xa1)](_0x28ec18,_0x34ff7d,_0x5e5366){var _0x52bb3d=_0x578a1c,_0x50434e={'WXTFv':_0x52bb3d(0xc4)};console['log'](_0x50434e['WXTFv']);}['onGroupsMsgMaskResult'](..._0xedcce1){var _0x1c75e4=_0x578a1c,_0x3eba6b={'cbbFt':_0x1c75e4(0xb8)};console[_0x1c75e4(0xa7)](_0x3eba6b['cbbFt'],..._0xedcce1);}['onGroupStatisticInfoChange'](..._0x443f73){var _0x2f2aab=_0x578a1c,_0x12e6f5={'agtqH':_0x2f2aab(0xb7)};console['log'](_0x12e6f5[_0x2f2aab(0xa2)],..._0x443f73);}[_0x578a1c(0x9d)](..._0x468fa2){var _0x4a8f1f=_0x578a1c,_0x4468b9={'FzgBP':'onJoinGroupNotify:'};console[_0x4a8f1f(0xa7)](_0x4468b9['FzgBP'],..._0x468fa2);}[_0x578a1c(0xc6)](..._0x16e7d7){var _0x5b8b8b=_0x578a1c,_0x490a29={'xHeYE':_0x5b8b8b(0xc7)};console[_0x5b8b8b(0xa7)](_0x490a29[_0x5b8b8b(0xb3)],..._0x16e7d7);}[_0x578a1c(0xce)](_0x4e49d6,_0x32c88c,_0x1a62ce){var _0x301484=_0x578a1c,_0x2f73c7={'XiMmw':_0x301484(0xbc)};console[_0x301484(0xa7)](_0x2f73c7[_0x301484(0xd9)],_0x4e49d6,_0x32c88c,_0x1a62ce);}[_0x578a1c(0x9e)](..._0x33a140){var _0x145c51=_0x578a1c,_0x4b9a3a={'XJIUi':_0x145c51(0xd3)};console[_0x145c51(0xa7)](_0x4b9a3a[_0x145c51(0xbb)],..._0x33a140);}['onSearchMemberChange'](..._0x2bab49){var _0x3fb396=_0x578a1c;console[_0x3fb396(0xa7)](_0x3fb396(0xb9),..._0x2bab49);}[_0x578a1c(0xaa)](..._0x4c3892){var _0x44c16b=_0x578a1c,_0x3ec601={'QffRi':_0x44c16b(0xca)};console[_0x44c16b(0xa7)](_0x3ec601['QffRi'],..._0x4c3892);}} \ 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 e70f6403..a9dac72b 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x3e21(_0x445f0f,_0x55a16d){var _0x54334f=_0x5433();return _0x3e21=function(_0x3e21cd,_0x533bb5){_0x3e21cd=_0x3e21cd-0x1e2;var _0x2b7971=_0x54334f[_0x3e21cd];return _0x2b7971;},_0x3e21(_0x445f0f,_0x55a16d);}var _0x2bc7cb=_0x3e21;function _0x5433(){var _0x2ea61e=['onLoginFailed','529044mGbwhT','onLogoutSucceed','onQRCodeLoginPollingStarted','onQRCodeSessionUserScaned','onLogoutFailed','10928197tJhTtF','onQRCodeSessionQuickLoginFailed','onQRCodeGetPicture','onLoginConnected','917608PcSDHw','onPasswordLoginFailed','onQRCodeLoginSucceed','89373SPRhlQ','593485NczVdZ','OnConfirmUnusualDeviceFailed','35298760kDPMNR','onQRCodeSessionFailed','647246smnGlX','100VgZLLn','onLoginDisConnected','onUserLoggedIn'];_0x5433=function(){return _0x2ea61e;};return _0x5433();}(function(_0x1393b6,_0x135fe9){var _0x1db8bc=_0x3e21,_0x1cce45=_0x1393b6();while(!![]){try{var _0x3342d4=-parseInt(_0x1db8bc(0x1f2))/0x1+-parseInt(_0x1db8bc(0x1e4))/0x2+-parseInt(_0x1db8bc(0x1f5))/0x3*(parseInt(_0x1db8bc(0x1e5))/0x4)+-parseInt(_0x1db8bc(0x1f6))/0x5+parseInt(_0x1db8bc(0x1e9))/0x6+-parseInt(_0x1db8bc(0x1ee))/0x7+parseInt(_0x1db8bc(0x1e2))/0x8;if(_0x3342d4===_0x135fe9)break;else _0x1cce45['push'](_0x1cce45['shift']());}catch(_0x5e8571){_0x1cce45['push'](_0x1cce45['shift']());}}}(_0x5433,0xcbc55));export class LoginListener{[_0x2bc7cb(0x1f1)](..._0x3df8d1){}[_0x2bc7cb(0x1e6)](..._0x39cbd5){}['onLoginConnecting'](..._0x170539){}[_0x2bc7cb(0x1f0)](_0xbdbd95){}[_0x2bc7cb(0x1eb)](..._0x224e82){}[_0x2bc7cb(0x1ec)](..._0x19dff9){}[_0x2bc7cb(0x1f4)](_0x237fe1){}[_0x2bc7cb(0x1e3)](..._0x5794ca){}[_0x2bc7cb(0x1e8)](..._0x2ce052){}[_0x2bc7cb(0x1ea)](..._0x274530){}[_0x2bc7cb(0x1ed)](..._0x141c57){}[_0x2bc7cb(0x1e7)](..._0x34ead1){}[_0x2bc7cb(0x1ef)](..._0x4c270e){}[_0x2bc7cb(0x1f3)](..._0x5657e4){}[_0x2bc7cb(0x1f7)](..._0x560bef){}['onQQLoginNumLimited'](..._0x42fdc4){}['onLoginState'](..._0xd1cbfd){}} \ No newline at end of file +var _0x3be434=_0x9962;function _0x9962(_0x1c82ab,_0x976566){var _0xdc129d=_0xdc12();return _0x9962=function(_0x996247,_0x43f21f){_0x996247=_0x996247-0x19a;var _0x51a036=_0xdc129d[_0x996247];return _0x51a036;},_0x9962(_0x1c82ab,_0x976566);}(function(_0x938715,_0x4a2807){var _0x184872=_0x9962,_0xdf40f4=_0x938715();while(!![]){try{var _0x1cd06d=-parseInt(_0x184872(0x1a3))/0x1*(parseInt(_0x184872(0x1b1))/0x2)+-parseInt(_0x184872(0x19b))/0x3+parseInt(_0x184872(0x19c))/0x4*(parseInt(_0x184872(0x1ab))/0x5)+-parseInt(_0x184872(0x1a0))/0x6+parseInt(_0x184872(0x1aa))/0x7*(-parseInt(_0x184872(0x1a8))/0x8)+-parseInt(_0x184872(0x1a5))/0x9*(-parseInt(_0x184872(0x1a7))/0xa)+parseInt(_0x184872(0x1af))/0xb*(parseInt(_0x184872(0x1a4))/0xc);if(_0x1cd06d===_0x4a2807)break;else _0xdf40f4['push'](_0xdf40f4['shift']());}catch(_0x274e2f){_0xdf40f4['push'](_0xdf40f4['shift']());}}}(_0xdc12,0xc9ce3));function _0xdc12(){var _0x931c42=['28YOBXzx','onLoginDisConnected','onQRCodeLoginPollingStarted','OnConfirmUnusualDeviceFailed','7198998KoftMr','onQRCodeGetPicture','onQRCodeSessionQuickLoginFailed','9227uJDiXm','12DmPpof','72945zjIjKd','onQRCodeLoginSucceed','670vxTUKu','88ahfBNg','onQRCodeSessionFailed','437269BeotOB','640545WXLsjL','onLogoutFailed','onQQLoginNumLimited','onLogoutSucceed','36979283kuXZpV','onLoginFailed','306mKDiAl','onLoginConnected','onLoginConnecting','onPasswordLoginFailed','2028765wFWHSO'];_0xdc12=function(){return _0x931c42;};return _0xdc12();}export class LoginListener{[_0x3be434(0x1b2)](..._0x35935c){}[_0x3be434(0x19d)](..._0x37d998){}[_0x3be434(0x1b3)](..._0x28e6d6){}[_0x3be434(0x1a1)](_0xcab761){}[_0x3be434(0x19e)](..._0x481d63){}['onQRCodeSessionUserScaned'](..._0x3d86fb){}[_0x3be434(0x1a6)](_0x3fb5cc){}[_0x3be434(0x1a9)](..._0x4a8cf2){}[_0x3be434(0x1b0)](..._0x21db25){}[_0x3be434(0x1ae)](..._0x5b0545){}[_0x3be434(0x1ac)](..._0x79f695){}['onUserLoggedIn'](..._0x204f84){}[_0x3be434(0x1a2)](..._0x55d196){}[_0x3be434(0x19a)](..._0x16f1da){}[_0x3be434(0x19f)](..._0x169794){}[_0x3be434(0x1ad)](..._0x323b41){}['onLoginState'](..._0x5f5d33){}} \ 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 1c39ff22..a8b45547 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x38f9d1=_0xd57e;function _0x1a39(){var _0x4d581c=['onRecvGroupGuildFlag','onRecvMsgSvrRspTransInfo','onGroupTransferInfoUpdate','onUnreadCntAfterFirstView','818358urcthC','onGroupFileInfoAdd','onMsgQRCodeStatusChanged','onImportOldDbProgressUpdate','onRichMediaUploadComplete','onUserTabStatusChanged','onRedTouchChanged','onRecvS2CMsg','10190540jddoek','onDraftUpdate','onKickedOffLine','onEmojiDownloadComplete','onRecvUDCFlag','onMsgEventListUpdate','onHitRelatedEmojiResult','onlineStatusBigIconDownloadPush','298698fgBBMl','onGroupGuildUpdate','onGroupFileInfoUpdate','1781690vSlkqf','onUserSecQualityChanged','onMsgBoxChanged','onMsgInfoListUpdate','onNtMsgSyncEnd','onGroupTransferInfoAdd','onGrabPasswordRedBag','onTempChatInfoUpdate','onFileMsgCome','3ADmjhf','onAddSendMsg','onFirstViewGroupGuildMapping','onHitCsRelatedEmojiResult','1199439ATsolc','onMsgSecurityNotify','onSendMsgError','onMsgAbstractUpdate','onContactUnreadCntUpdate','onUnreadCntUpdate','onlineStatusSmallIconDownloadPush','onUserOnlineStatusChanged','77lqiOzb','onBroadcastHelperDownloadComplete','onRichMediaProgerssUpdate','329053LJyaBO','onLogLevelChanged','onRichMediaDownloadComplete','48RnKDGi','onMsgSettingUpdate','onCustomWithdrawConfigUpdate','onInputStatusPush','onGuildMsgAbFlagChanged','onBroadcastHelperProgressUpdate','onNtMsgSyncStart','onMsgWithRichLinkInfoUpdate','onMsgDelete','2652136FdIwjC','onRecvOnlineFileMsg'];_0x1a39=function(){return _0x4d581c;};return _0x1a39();}function _0xd57e(_0x3a62a8,_0x47aa1d){var _0x1a39ef=_0x1a39();return _0xd57e=function(_0xd57e3a,_0x530d43){_0xd57e3a=_0xd57e3a-0x1cf;var _0xf2ae21=_0x1a39ef[_0xd57e3a];return _0xf2ae21;},_0xd57e(_0x3a62a8,_0x47aa1d);}(function(_0x576406,_0x1cb2aa){var _0x560b72=_0xd57e,_0x231907=_0x576406();while(!![]){try{var _0x2f120b=-parseInt(_0x560b72(0x1f5))/0x1+parseInt(_0x560b72(0x207))/0x2*(-parseInt(_0x560b72(0x1e6))/0x3)+parseInt(_0x560b72(0x201))/0x4+-parseInt(_0x560b72(0x1dd))/0x5+parseInt(_0x560b72(0x1da))/0x6*(-parseInt(_0x560b72(0x1f2))/0x7)+parseInt(_0x560b72(0x1f8))/0x8*(parseInt(_0x560b72(0x1ea))/0x9)+parseInt(_0x560b72(0x1d2))/0xa;if(_0x2f120b===_0x1cb2aa)break;else _0x231907['push'](_0x231907['shift']());}catch(_0xe45471){_0x231907['push'](_0x231907['shift']());}}}(_0x1a39,0xccf6b));export class MsgListener{[_0x38f9d1(0x1e7)](_0x308c63){}[_0x38f9d1(0x1f3)](_0x506470){}[_0x38f9d1(0x1fd)](_0x2f36e4){}['onChannelFreqLimitInfoUpdate'](_0x5822fb,_0x85fc95,_0x2db6a9){}[_0x38f9d1(0x1ee)](_0x775ae4){}[_0x38f9d1(0x1fa)](_0x21c5ea){}[_0x38f9d1(0x1d3)](_0x6eb2dd,_0x267cb5,_0x1b8d2a){}[_0x38f9d1(0x1d5)](_0x57634f){}['onEmojiResourceUpdate'](_0x588754){}['onFeedEventUpdate'](_0x5b942d){}[_0x38f9d1(0x1e5)](_0x4d304a){}['onFirstViewDirectMsgUpdate'](_0x5ec95d){}[_0x38f9d1(0x1e8)](_0x3662b7){}[_0x38f9d1(0x1e3)](_0x10ec81,_0x5c5024,_0x74e2ca,_0x19298e,_0x120786){}[_0x38f9d1(0x208)](_0x61c221){}[_0x38f9d1(0x1dc)](_0x3f653e){}[_0x38f9d1(0x1db)](_0x6ca4b7){}[_0x38f9d1(0x1e2)](_0x342cad){}[_0x38f9d1(0x205)](_0x28f242){}['onGuildInteractiveUpdate'](_0x4d7599){}[_0x38f9d1(0x1fc)](_0x4d5754){}['onGuildNotificationAbstractUpdate'](_0x1db408){}[_0x38f9d1(0x1e9)](_0x32213d){}['onHitEmojiKeywordResult'](_0x50968d){}[_0x38f9d1(0x1d8)](_0x14ad12){}[_0x38f9d1(0x20a)](_0x588619){}[_0x38f9d1(0x1fb)](_0x5c418b){}[_0x38f9d1(0x1d4)](_0x96538e){}['onLineDev'](_0xc1a1ac){}[_0x38f9d1(0x1f6)](_0x1863bc){}[_0x38f9d1(0x1ed)](_0x3e15b6){}[_0x38f9d1(0x1df)](_0xccc3ff){}[_0x38f9d1(0x200)](_0x326baa,_0x47877d){}[_0x38f9d1(0x1d7)](_0xa82cd9){}['onMsgInfoListAdd'](_0x5ef588){}[_0x38f9d1(0x1e0)](_0x1a905f){}[_0x38f9d1(0x209)](_0x494583){}['onMsgRecall'](_0x494aca,_0x305063,_0x18beea){}[_0x38f9d1(0x1eb)](_0xd38d89){}[_0x38f9d1(0x1f9)](_0x2393bc){}['onNtFirstViewMsgSyncEnd'](){}[_0x38f9d1(0x1e1)](){}[_0x38f9d1(0x1fe)](){}['onReadFeedEventUpdate'](_0x4dca0a){}[_0x38f9d1(0x203)](_0x24a1ea){}['onRecvMsg'](_0x4d0881){}[_0x38f9d1(0x204)](_0x36e0df,_0x451a80,_0x371fee,_0x27a75,_0x26c1c2,_0x10423f){}[_0x38f9d1(0x202)](_0x11c0b1){}[_0x38f9d1(0x1d1)](_0x48a916){}['onRecvSysMsg'](_0x485744){}[_0x38f9d1(0x1d6)](_0x112628){}[_0x38f9d1(0x1f7)](_0x204305){}[_0x38f9d1(0x1f4)](_0x1b479f){}[_0x38f9d1(0x20b)](_0x23bbff){}['onSearchGroupFileInfoUpdate'](_0x10a664){}[_0x38f9d1(0x1ec)](_0x1a7b90,_0x2cf953,_0x433bb9,_0x933d7d){}['onSysMsgNotification'](_0x223917,_0x87a92d,_0x4936c9,_0x752443){}[_0x38f9d1(0x1e4)](_0x14e6e8){}[_0x38f9d1(0x206)](_0x30c25e){}[_0x38f9d1(0x1ef)](_0x253767){}['onUserChannelTabStatusChanged'](_0x245c87){}[_0x38f9d1(0x1f1)](_0x11d3b2){}[_0x38f9d1(0x1cf)](_0x217356){}[_0x38f9d1(0x1d9)](_0x3db97b,_0x53b27f,_0x30ec86){}[_0x38f9d1(0x1f0)](_0x587797,_0xd4b38d,_0xbc56cf){}[_0x38f9d1(0x1de)](..._0x40c946){}[_0x38f9d1(0x1ff)](..._0x33b3a8){}[_0x38f9d1(0x1d0)](..._0x19c6d7){}['onBroadcastHelperProgerssUpdate'](..._0xd602e3){}} \ No newline at end of file +var _0x5028aa=_0x38cb;function _0x38cb(_0x4e7ba2,_0x1c5ff3){var _0x49ea69=_0x49ea();return _0x38cb=function(_0x38cb30,_0x3abf52){_0x38cb30=_0x38cb30-0xb6;var _0x506694=_0x49ea69[_0x38cb30];return _0x506694;},_0x38cb(_0x4e7ba2,_0x1c5ff3);}(function(_0x43f48c,_0x4b7989){var _0x5b13a9=_0x38cb,_0x412ff8=_0x43f48c();while(!![]){try{var _0x356205=parseInt(_0x5b13a9(0xc6))/0x1*(-parseInt(_0x5b13a9(0xd2))/0x2)+-parseInt(_0x5b13a9(0xdd))/0x3*(parseInt(_0x5b13a9(0xf1))/0x4)+parseInt(_0x5b13a9(0xd8))/0x5*(-parseInt(_0x5b13a9(0xdc))/0x6)+-parseInt(_0x5b13a9(0xc9))/0x7*(parseInt(_0x5b13a9(0xbc))/0x8)+-parseInt(_0x5b13a9(0xe2))/0x9+-parseInt(_0x5b13a9(0xdb))/0xa+-parseInt(_0x5b13a9(0xe1))/0xb*(-parseInt(_0x5b13a9(0xbe))/0xc);if(_0x356205===_0x4b7989)break;else _0x412ff8['push'](_0x412ff8['shift']());}catch(_0x366d97){_0x412ff8['push'](_0x412ff8['shift']());}}}(_0x49ea,0xdf018));export class MsgListener{[_0x5028aa(0xf2)](_0x56be38){}[_0x5028aa(0xd9)](_0x47bb01){}['onBroadcastHelperProgressUpdate'](_0xc31ece){}[_0x5028aa(0xb8)](_0x1dffc5,_0x4fda28,_0x45068e){}[_0x5028aa(0xbb)](_0x39041a){}[_0x5028aa(0xf0)](_0x12b4ec){}[_0x5028aa(0xe8)](_0x1cac02,_0x59b669,_0x325473){}[_0x5028aa(0xef)](_0x1eb383){}['onEmojiResourceUpdate'](_0x370d0f){}[_0x5028aa(0xd4)](_0x3375e9){}['onFileMsgCome'](_0x1f1679){}[_0x5028aa(0xde)](_0x500b9a){}[_0x5028aa(0xc3)](_0x7b200c){}[_0x5028aa(0xc0)](_0x5593d4,_0x73229c,_0x3df4e4,_0x12cf74,_0xd62b7b){}['onGroupFileInfoAdd'](_0x22cd54){}[_0x5028aa(0xcf)](_0x16327f){}[_0x5028aa(0xf5)](_0x5ed219){}[_0x5028aa(0xbf)](_0x27d4fc){}['onGroupTransferInfoUpdate'](_0xf97698){}['onGuildInteractiveUpdate'](_0x240125){}[_0x5028aa(0xcb)](_0x1d22ca){}[_0x5028aa(0xf3)](_0x4e93b9){}[_0x5028aa(0xe0)](_0x11de73){}[_0x5028aa(0xb6)](_0x3a625e){}[_0x5028aa(0xc2)](_0xc08621){}[_0x5028aa(0xb9)](_0x3312fd){}['onInputStatusPush'](_0x2610c4){}[_0x5028aa(0xc1)](_0x171134){}['onLineDev'](_0x1f4e6f){}[_0x5028aa(0xe3)](_0x5320da){}[_0x5028aa(0xeb)](_0x13f138){}[_0x5028aa(0xcc)](_0x631f1f){}['onMsgDelete'](_0x31fba9,_0x4115e3){}['onMsgEventListUpdate'](_0x14caba){}[_0x5028aa(0xc8)](_0x25da0d){}[_0x5028aa(0xea)](_0x79510b){}[_0x5028aa(0xdf)](_0x9dba5d){}[_0x5028aa(0xe5)](_0x3fd42e,_0x2cfb24,_0x1e7cd4){}[_0x5028aa(0xd3)](_0x18a2f9){}[_0x5028aa(0xd1)](_0x298940){}[_0x5028aa(0xe9)](){}[_0x5028aa(0xe7)](){}['onNtMsgSyncStart'](){}[_0x5028aa(0xca)](_0x522348){}[_0x5028aa(0xda)](_0x1adb16){}[_0x5028aa(0xc5)](_0x444d34){}[_0x5028aa(0xd6)](_0xae083c,_0x4ddfb6,_0xe57962,_0x85bb69,_0x1a026d,_0x3c8959){}['onRecvOnlineFileMsg'](_0x6392e2){}[_0x5028aa(0xf4)](_0x170c40){}[_0x5028aa(0xd5)](_0x874825){}[_0x5028aa(0xc7)](_0x5353fc){}[_0x5028aa(0xd7)](_0x3d80c8){}[_0x5028aa(0xba)](_0x5e74e7){}[_0x5028aa(0xe6)](_0x346d75){}[_0x5028aa(0xec)](_0x54e3da){}[_0x5028aa(0xe4)](_0x541c0a,_0x1bdfb2,_0x13ce23,_0xb92b06){}['onSysMsgNotification'](_0x5617d6,_0x51daa2,_0x38d385,_0x1d68ee){}['onTempChatInfoUpdate'](_0x3d51ab){}['onUnreadCntAfterFirstView'](_0x3f1a36){}[_0x5028aa(0xc4)](_0x98a9b0){}[_0x5028aa(0xb7)](_0xc729ce){}[_0x5028aa(0xed)](_0x2dc02c){}[_0x5028aa(0xce)](_0x17eceb){}[_0x5028aa(0xbd)](_0x6493e8,_0x29a07b,_0x1c6e36){}[_0x5028aa(0xee)](_0x45056d,_0x466935,_0x28abbe){}[_0x5028aa(0xcd)](..._0x3bec4c){}[_0x5028aa(0xd0)](..._0x1f8c84){}['onRedTouchChanged'](..._0x1acd72){}['onBroadcastHelperProgerssUpdate'](..._0x4e2343){}}function _0x49ea(){var _0x35ed26=['onGroupFileInfoUpdate','onMsgWithRichLinkInfoUpdate','onMsgSettingUpdate','86Bcvcfw','onMsgSecurityNotify','onFeedEventUpdate','onRecvSysMsg','onRecvMsgSvrRspTransInfo','onRichMediaDownloadComplete','1510Dqhdug','onBroadcastHelperDownloadComplete','onRecvGroupGuildFlag','14065120tEoKCI','6312IYkMRx','3sbcdER','onFirstViewDirectMsgUpdate','onMsgQRCodeStatusChanged','onHitCsRelatedEmojiResult','22417604omjZcW','13561227rTomZy','onLogLevelChanged','onSendMsgError','onMsgRecall','onRichMediaUploadComplete','onNtMsgSyncEnd','onDraftUpdate','onNtFirstViewMsgSyncEnd','onMsgInfoListUpdate','onMsgAbstractUpdate','onSearchGroupFileInfoUpdate','onUserOnlineStatusChanged','onlineStatusSmallIconDownloadPush','onEmojiDownloadComplete','onCustomWithdrawConfigUpdate','3202764qzJrCb','onAddSendMsg','onGuildNotificationAbstractUpdate','onRecvS2CMsg','onGroupGuildUpdate','onHitEmojiKeywordResult','onUserChannelTabStatusChanged','onChannelFreqLimitInfoUpdate','onImportOldDbProgressUpdate','onRichMediaProgerssUpdate','onContactUnreadCntUpdate','1480ETbFDj','onlineStatusBigIconDownloadPush','48AvHgqB','onGroupTransferInfoAdd','onGrabPasswordRedBag','onKickedOffLine','onHitRelatedEmojiResult','onFirstViewGroupGuildMapping','onUnreadCntUpdate','onRecvMsg','42303vDXihA','onRecvUDCFlag','onMsgInfoListAdd','52507UaRiii','onReadFeedEventUpdate','onGuildMsgAbFlagChanged','onMsgBoxChanged','onUserSecQualityChanged','onUserTabStatusChanged'];_0x49ea=function(){return _0x35ed26;};return _0x49ea();} \ 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 0ed7106f..5396b6c0 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x3c76ab=_0xb398;function _0xb398(_0x120cc8,_0x442703){var _0x6b091f=_0x6b09();return _0xb398=function(_0xb39809,_0x2545d1){_0xb39809=_0xb39809-0xdb;var _0xc83d94=_0x6b091f[_0xb39809];return _0xc83d94;},_0xb398(_0x120cc8,_0x442703);}function _0x6b09(){var _0x4c0dc9=['onStatusUpdate','909570XmrrUZ','320259mgDIWy','7DaKTMV','4OvEXwP','19899869oqxhSz','1115756snBMPJ','4120895zZziJX','2RXwZQi','onProfileSimpleChanged','11319136FVrEEs','onProfileDetailInfoChanged','onStrangerRemarkChanged','8328378wKkvPS','9blZLDq'];_0x6b09=function(){return _0x4c0dc9;};return _0x6b09();}(function(_0xee07a9,_0x33c326){var _0x1a416c=_0xb398,_0x29fcd4=_0xee07a9();while(!![]){try{var _0x4370a8=parseInt(_0x1a416c(0xe9))/0x1+parseInt(_0x1a416c(0xdc))/0x2*(-parseInt(_0x1a416c(0xe5))/0x3)+-parseInt(_0x1a416c(0xe7))/0x4*(-parseInt(_0x1a416c(0xdb))/0x5)+parseInt(_0x1a416c(0xe1))/0x6*(-parseInt(_0x1a416c(0xe6))/0x7)+-parseInt(_0x1a416c(0xde))/0x8+-parseInt(_0x1a416c(0xe2))/0x9*(-parseInt(_0x1a416c(0xe4))/0xa)+parseInt(_0x1a416c(0xe8))/0xb;if(_0x4370a8===_0x33c326)break;else _0x29fcd4['push'](_0x29fcd4['shift']());}catch(_0x5ccf95){_0x29fcd4['push'](_0x29fcd4['shift']());}}}(_0x6b09,0xe31d7));export class ProfileListener{[_0x3c76ab(0xdd)](..._0x37dfc2){}[_0x3c76ab(0xdf)](_0x18ac77){}[_0x3c76ab(0xe3)](..._0x954105){}['onSelfStatusChanged'](..._0x1e64d2){}[_0x3c76ab(0xe0)](..._0xd04736){}} \ No newline at end of file +function _0x3482(_0x249cf3,_0x4abd3f){var _0x51eacf=_0x51ea();return _0x3482=function(_0x3482ee,_0x390425){_0x3482ee=_0x3482ee-0x11c;var _0x561d34=_0x51eacf[_0x3482ee];return _0x561d34;},_0x3482(_0x249cf3,_0x4abd3f);}var _0x29f16b=_0x3482;(function(_0x70ea90,_0xf008c8){var _0x99f210=_0x3482,_0xcea60d=_0x70ea90();while(!![]){try{var _0x1a1c7c=parseInt(_0x99f210(0x128))/0x1*(-parseInt(_0x99f210(0x11c))/0x2)+-parseInt(_0x99f210(0x124))/0x3+-parseInt(_0x99f210(0x123))/0x4+parseInt(_0x99f210(0x129))/0x5*(parseInt(_0x99f210(0x127))/0x6)+-parseInt(_0x99f210(0x122))/0x7+parseInt(_0x99f210(0x125))/0x8+-parseInt(_0x99f210(0x11d))/0x9*(-parseInt(_0x99f210(0x120))/0xa);if(_0x1a1c7c===_0xf008c8)break;else _0xcea60d['push'](_0xcea60d['shift']());}catch(_0x288eea){_0xcea60d['push'](_0xcea60d['shift']());}}}(_0x51ea,0xf108e));function _0x51ea(){var _0x7ae734=['261iiefvh','10FUmDdL','9870GnnUGA','4113117rLlGoO','onStatusUpdate','onStrangerRemarkChanged','50yXXsHr','onSelfStatusChanged','3741640OdlHKx','1088528ehoOcY','3844719obkhis','8608360jtgXlq','onProfileDetailInfoChanged','3007284winHKN'];_0x51ea=function(){return _0x7ae734;};return _0x51ea();}export class ProfileListener{['onProfileSimpleChanged'](..._0x54aae5){}[_0x29f16b(0x126)](_0x36fcab){}[_0x29f16b(0x11e)](..._0x3b1cd6){}[_0x29f16b(0x121)](..._0x326e22){}[_0x29f16b(0x11f)](..._0x55a8d8){}} \ 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 006f4ec5..9540a559 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x1e0d(_0x2fcb7e,_0x14126c){var _0x200fb0=_0x200f();return _0x1e0d=function(_0x1e0db6,_0x4604d8){_0x1e0db6=_0x1e0db6-0xe0;var _0x2e678b=_0x200fb0[_0x1e0db6];return _0x2e678b;},_0x1e0d(_0x2fcb7e,_0x14126c);}var _0x5801d8=_0x1e0d;(function(_0x37672e,_0x463114){var _0x6ebb2a=_0x1e0d,_0x916f69=_0x37672e();while(!![]){try{var _0x4f9c48=-parseInt(_0x6ebb2a(0xe2))/0x1+parseInt(_0x6ebb2a(0xec))/0x2*(parseInt(_0x6ebb2a(0xeb))/0x3)+parseInt(_0x6ebb2a(0xe3))/0x4*(parseInt(_0x6ebb2a(0xed))/0x5)+-parseInt(_0x6ebb2a(0xea))/0x6+-parseInt(_0x6ebb2a(0xe7))/0x7+-parseInt(_0x6ebb2a(0xe9))/0x8*(parseInt(_0x6ebb2a(0xe8))/0x9)+-parseInt(_0x6ebb2a(0xe5))/0xa*(-parseInt(_0x6ebb2a(0xe0))/0xb);if(_0x4f9c48===_0x463114)break;else _0x916f69['push'](_0x916f69['shift']());}catch(_0x1051c4){_0x916f69['push'](_0x916f69['shift']());}}}(_0x200f,0x46f45));export class KernelRobotListener{[_0x5801d8(0xe4)](..._0x5d1299){}[_0x5801d8(0xe6)](..._0x2723ee){}[_0x5801d8(0xe1)](..._0x21d5e){}}function _0x200f(){var _0x4352e0=['9rmkxtJ','1413208rEFPsB','2211180sgEgkW','27kXgFMm','125638DEPmFc','5wIxLsf','12353KbDgGs','onRobotProfileChanged','300840aLWxZz','2024428xGtwCi','onRobotFriendListChanged','5590UNjazD','onRobotListChanged','3938095pKIela'];_0x200f=function(){return _0x4352e0;};return _0x200f();} \ No newline at end of file +function _0x45db(){var _0x11a8b=['11DtUlAU','817608ywmMoT','4856884hlRjwU','18YAdssM','onRobotFriendListChanged','3954SvSIIm','913882jOTeFK','onRobotListChanged','5YjjbNs','1933880LNolVZ','9615830iwhghs','1337vbYwPS','816QbzgDF','480376VrmTAe','2cJbNnh','onRobotProfileChanged'];_0x45db=function(){return _0x11a8b;};return _0x45db();}function _0x1670(_0x536009,_0x54e89a){var _0x45db9b=_0x45db();return _0x1670=function(_0x16702d,_0x1286d2){_0x16702d=_0x16702d-0xda;var _0x548c2e=_0x45db9b[_0x16702d];return _0x548c2e;},_0x1670(_0x536009,_0x54e89a);}var _0x30b325=_0x1670;(function(_0x4cbdb1,_0x1fb694){var _0x229f41=_0x1670,_0x1d73fb=_0x4cbdb1();while(!![]){try{var _0x28d9e1=-parseInt(_0x229f41(0xdc))/0x1*(-parseInt(_0x229f41(0xe4))/0x2)+parseInt(_0x229f41(0xe7))/0x3+-parseInt(_0x229f41(0xe8))/0x4*(parseInt(_0x229f41(0xde))/0x5)+parseInt(_0x229f41(0xdb))/0x6*(-parseInt(_0x229f41(0xe1))/0x7)+parseInt(_0x229f41(0xdf))/0x8*(-parseInt(_0x229f41(0xe9))/0x9)+parseInt(_0x229f41(0xe0))/0xa*(-parseInt(_0x229f41(0xe6))/0xb)+-parseInt(_0x229f41(0xe2))/0xc*(-parseInt(_0x229f41(0xe3))/0xd);if(_0x28d9e1===_0x1fb694)break;else _0x1d73fb['push'](_0x1d73fb['shift']());}catch(_0x532cec){_0x1d73fb['push'](_0x1d73fb['shift']());}}}(_0x45db,0xdf25b));export class KernelRobotListener{[_0x30b325(0xda)](..._0x5edbb9){}[_0x30b325(0xdd)](..._0x412248){}[_0x30b325(0xe5)](..._0x5e2455){}} \ 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 809f137f..08919d9f 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x4130(_0x3032dc,_0x431896){var _0xa71192=_0xa711();return _0x4130=function(_0x413044,_0x31ae9e){_0x413044=_0x413044-0x8d;var _0x28c227=_0xa71192[_0x413044];return _0x28c227;},_0x4130(_0x3032dc,_0x431896);}var _0x44ae90=_0x4130;function _0xa711(){var _0x50bb4c=['4848aaTkKu','onNTSessionCreate','2415eNDEak','onGProSessionCreate','5787954azJVHM','1141694XaysTe','16681HgpuOv','882990aIQMDF','onOpentelemetryInit','976VtoPqT','276097HSkREw','10ItiSfl','1443240OgsqWb'];_0xa711=function(){return _0x50bb4c;};return _0xa711();}(function(_0x3905f6,_0x4bff6d){var _0x5b5428=_0x4130,_0xb70a78=_0x3905f6();while(!![]){try{var _0x5d229f=parseInt(_0x5b5428(0x90))/0x1+-parseInt(_0x5b5428(0x98))/0x2+-parseInt(_0x5b5428(0x92))/0x3+parseInt(_0x5b5428(0x93))/0x4*(parseInt(_0x5b5428(0x95))/0x5)+parseInt(_0x5b5428(0x8d))/0x6+-parseInt(_0x5b5428(0x99))/0x7*(parseInt(_0x5b5428(0x8f))/0x8)+-parseInt(_0x5b5428(0x97))/0x9*(-parseInt(_0x5b5428(0x91))/0xa);if(_0x5d229f===_0x4bff6d)break;else _0xb70a78['push'](_0xb70a78['shift']());}catch(_0x42d3f2){_0xb70a78['push'](_0xb70a78['shift']());}}}(_0xa711,0x4b777));export class SessionListener{[_0x44ae90(0x94)](_0x1240d9){}[_0x44ae90(0x96)](_0x441920){}['onSessionInitComplete'](_0x1bc722){}[_0x44ae90(0x8e)](_0x273116){}['onUserOnlineResult'](_0x86bba4){}['onGetSelfTinyId'](_0x2169c3){}} \ No newline at end of file +var _0x39fece=_0x33b0;function _0xe11d(){var _0x488ec1=['3525822cvwncP','16772BZTjGl','onNTSessionCreate','3540625JWlOfd','4714428ENpFbg','onGProSessionCreate','onGetSelfTinyId','onOpentelemetryInit','918590PExyOG','493213hBlANZ','24117408jRmCcT','1776PLTOWt'];_0xe11d=function(){return _0x488ec1;};return _0xe11d();}(function(_0x40c58f,_0x3a5a66){var _0x60ec2e=_0x33b0,_0x5e09a4=_0x40c58f();while(!![]){try{var _0x4b53f5=parseInt(_0x60ec2e(0x1c5))/0x1+-parseInt(_0x60ec2e(0x1d0))/0x2+-parseInt(_0x60ec2e(0x1c8))/0x3+-parseInt(_0x60ec2e(0x1cc))/0x4+parseInt(_0x60ec2e(0x1cb))/0x5+-parseInt(_0x60ec2e(0x1c7))/0x6*(parseInt(_0x60ec2e(0x1c9))/0x7)+parseInt(_0x60ec2e(0x1c6))/0x8;if(_0x4b53f5===_0x3a5a66)break;else _0x5e09a4['push'](_0x5e09a4['shift']());}catch(_0x16aeea){_0x5e09a4['push'](_0x5e09a4['shift']());}}}(_0xe11d,0xa9576));function _0x33b0(_0x258aa0,_0x3fa63d){var _0xe11de8=_0xe11d();return _0x33b0=function(_0x33b0c7,_0x265165){_0x33b0c7=_0x33b0c7-0x1c5;var _0x264c6f=_0xe11de8[_0x33b0c7];return _0x264c6f;},_0x33b0(_0x258aa0,_0x3fa63d);}export class SessionListener{[_0x39fece(0x1ca)](_0x997e6d){}[_0x39fece(0x1cd)](_0x3ecd98){}['onSessionInitComplete'](_0x5633b7){}[_0x39fece(0x1cf)](_0x84e255){}['onUserOnlineResult'](_0x3f2955){}[_0x39fece(0x1ce)](_0x4e518a){}} \ 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 20a50f8c..5a09b652 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x4a5e73=_0x4bb4;function _0x1fa4(){var _0x112e34=['14sYnPPW','10hFEHJD','2072910VFdPlQ','onCleanCacheStorageChanged','1115768NoUsNi','80tawGAB','onFinishScan','5516951oTGBCh','1160fLhwom','1062522Jpbtpz','1717996SZojAN','1031OxbGtP','onCleanCacheProgressChanged','1702896JYroST'];_0x1fa4=function(){return _0x112e34;};return _0x1fa4();}(function(_0x10cc4a,_0x3cacb6){var _0x22825e=_0x4bb4,_0x46a812=_0x10cc4a();while(!![]){try{var _0x2acde0=-parseInt(_0x22825e(0x103))/0x1*(parseInt(_0x22825e(0x10e))/0x2)+parseInt(_0x22825e(0x105))/0x3+-parseInt(_0x22825e(0x102))/0x4*(parseInt(_0x22825e(0x107))/0x5)+-parseInt(_0x22825e(0x108))/0x6+parseInt(_0x22825e(0x106))/0x7*(parseInt(_0x22825e(0x10a))/0x8)+parseInt(_0x22825e(0x10f))/0x9*(parseInt(_0x22825e(0x10b))/0xa)+parseInt(_0x22825e(0x10d))/0xb;if(_0x2acde0===_0x3cacb6)break;else _0x46a812['push'](_0x46a812['shift']());}catch(_0x24ede7){_0x46a812['push'](_0x46a812['shift']());}}}(_0x1fa4,0x77a84));function _0x4bb4(_0x4650f1,_0x2445c2){var _0x1fa4fa=_0x1fa4();return _0x4bb4=function(_0x4bb462,_0x1f13e3){_0x4bb462=_0x4bb462-0x102;var _0x3dea1e=_0x1fa4fa[_0x4bb462];return _0x3dea1e;},_0x4bb4(_0x4650f1,_0x2445c2);}export class StorageCleanListener{[_0x4a5e73(0x104)](_0x462179){}['onScanCacheProgressChanged'](_0x215456){}[_0x4a5e73(0x109)](_0x1c575d){}[_0x4a5e73(0x10c)](_0x207c12){}['onChatCleanDone'](_0x2071cd){}} \ No newline at end of file +function _0x55b7(){var _0x10fad9=['120507ZuQIXj','663940YizNGZ','onCleanCacheProgressChanged','52pIGrLV','1477110XWEuea','6bUXgkN','1043LVWwmH','1751852RsDami','68808dqlUmG','1401831ZfbNuk','1743605yArJFY','onChatCleanDone'];_0x55b7=function(){return _0x10fad9;};return _0x55b7();}var _0x5d8948=_0x4e1d;function _0x4e1d(_0x335435,_0x2b2781){var _0x55b75f=_0x55b7();return _0x4e1d=function(_0x4e1dfe,_0x11a88b){_0x4e1dfe=_0x4e1dfe-0x16a;var _0x58add1=_0x55b75f[_0x4e1dfe];return _0x58add1;},_0x4e1d(_0x335435,_0x2b2781);}(function(_0x1dbf7d,_0x5b7bf1){var _0x4619b3=_0x4e1d,_0x3cf6e0=_0x1dbf7d();while(!![]){try{var _0x50f172=parseInt(_0x4619b3(0x175))/0x1+parseInt(_0x4619b3(0x16f))/0x2+parseInt(_0x4619b3(0x174))/0x3*(parseInt(_0x4619b3(0x16b))/0x4)+-parseInt(_0x4619b3(0x172))/0x5*(parseInt(_0x4619b3(0x16d))/0x6)+-parseInt(_0x4619b3(0x16e))/0x7*(parseInt(_0x4619b3(0x170))/0x8)+parseInt(_0x4619b3(0x171))/0x9+parseInt(_0x4619b3(0x16c))/0xa;if(_0x50f172===_0x5b7bf1)break;else _0x3cf6e0['push'](_0x3cf6e0['shift']());}catch(_0x39e614){_0x3cf6e0['push'](_0x3cf6e0['shift']());}}}(_0x55b7,0xb381f));export class StorageCleanListener{[_0x5d8948(0x16a)](_0x3cf872){}['onScanCacheProgressChanged'](_0x42afef){}['onCleanCacheStorageChanged'](_0x2e77ad){}['onFinishScan'](_0x288eb5){}[_0x5d8948(0x173)](_0x5d2a35){}} \ 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 31adf857..68bf59d0 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x668289,_0xe85bfb){var _0xfdc819=_0x11c8,_0x2598b8=_0x668289();while(!![]){try{var _0x1dfc69=parseInt(_0xfdc819(0x17e))/0x1+parseInt(_0xfdc819(0x184))/0x2+-parseInt(_0xfdc819(0x181))/0x3+parseInt(_0xfdc819(0x17d))/0x4+-parseInt(_0xfdc819(0x183))/0x5*(parseInt(_0xfdc819(0x182))/0x6)+-parseInt(_0xfdc819(0x17f))/0x7+parseInt(_0xfdc819(0x180))/0x8;if(_0x1dfc69===_0xe85bfb)break;else _0x2598b8['push'](_0x2598b8['shift']());}catch(_0x2965a7){_0x2598b8['push'](_0x2598b8['shift']());}}}(_0x468e,0x62f96));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x11c8(_0x3b4a48,_0x4dd7a5){var _0x468ec8=_0x468e();return _0x11c8=function(_0x11c881,_0x402864){_0x11c881=_0x11c881-0x17d;var _0x1a2165=_0x468ec8[_0x11c881];return _0x1a2165;},_0x11c8(_0x3b4a48,_0x4dd7a5);}export*from'./NodeIKernelStorageCleanListener';function _0x468e(){var _0x4a62bc=['1121313exarlf','1122FeSrnN','11755eEuKyY','1186648HbEeqp','1621108QUetmR','313915xLfjGS','1139061bRNjRc','552104HpWRgp'];_0x468e=function(){return _0x4a62bc;};return _0x468e();}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x2bd4f8,_0x9b42ad){var _0x4bb802=_0x55b4,_0x3110b0=_0x2bd4f8();while(!![]){try{var _0x10cc53=parseInt(_0x4bb802(0x122))/0x1*(-parseInt(_0x4bb802(0x129))/0x2)+parseInt(_0x4bb802(0x127))/0x3*(parseInt(_0x4bb802(0x121))/0x4)+parseInt(_0x4bb802(0x128))/0x5*(parseInt(_0x4bb802(0x125))/0x6)+parseInt(_0x4bb802(0x126))/0x7+-parseInt(_0x4bb802(0x124))/0x8+parseInt(_0x4bb802(0x12a))/0x9+-parseInt(_0x4bb802(0x123))/0xa;if(_0x10cc53===_0x9b42ad)break;else _0x3110b0['push'](_0x3110b0['shift']());}catch(_0xcc886e){_0x3110b0['push'](_0x3110b0['shift']());}}}(_0x4671,0x98360));function _0x55b4(_0x4ac0fd,_0x38d5a0){var _0x467186=_0x4671();return _0x55b4=function(_0x55b4ca,_0x39b8bf){_0x55b4ca=_0x55b4ca-0x121;var _0x2066f3=_0x467186[_0x55b4ca];return _0x2066f3;},_0x55b4(_0x4ac0fd,_0x38d5a0);}export*from'./NodeIKernelSessionListener';function _0x4671(){var _0x5cc959=['1012AzUvKQ','1NwZBoG','12020920psoOcw','38088iUJAtt','366PcaTcG','3188766EnZIfF','1761rKFUDm','31590HryKLm','569732dzZxui','10131552bggECa'];_0x4671=function(){return _0x5cc959;};return _0x4671();}export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 7807b9f3..a6992b52 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x300b(){var _0x4babb6=['4852704TbDFsU','7800fpKrPY','391979jbZKJC','393wblPVV','4444FLAetg','623240RHDcWM','55RluqDq','1845CkmkmW','1330755VnUbPj','1mRzDia','54SBHDgM','69562HjGqwo'];_0x300b=function(){return _0x4babb6;};return _0x300b();}function _0xb7a1(_0x2804bb,_0x45f1cd){var _0x300b2d=_0x300b();return _0xb7a1=function(_0xb7a18f,_0xd724b8){_0xb7a18f=_0xb7a18f-0x17b;var _0x388790=_0x300b2d[_0xb7a18f];return _0x388790;},_0xb7a1(_0x2804bb,_0x45f1cd);}(function(_0x1186ff,_0x51c572){var _0x2da84b=_0xb7a1,_0x5d75ab=_0x1186ff();while(!![]){try{var _0x481151=-parseInt(_0x2da84b(0x17d))/0x1*(parseInt(_0x2da84b(0x17f))/0x2)+parseInt(_0x2da84b(0x183))/0x3*(parseInt(_0x2da84b(0x184))/0x4)+-parseInt(_0x2da84b(0x17c))/0x5+parseInt(_0x2da84b(0x17e))/0x6*(-parseInt(_0x2da84b(0x182))/0x7)+parseInt(_0x2da84b(0x181))/0x8*(parseInt(_0x2da84b(0x17b))/0x9)+-parseInt(_0x2da84b(0x185))/0xa*(-parseInt(_0x2da84b(0x186))/0xb)+parseInt(_0x2da84b(0x180))/0xc;if(_0x481151===_0x51c572)break;else _0x5d75ab['push'](_0x5d75ab['shift']());}catch(_0x5ac66d){_0x5d75ab['push'](_0x5d75ab['shift']());}}}(_0x300b,0x3ea0b));export var GeneralCallResultStatus;(function(_0x51b520){_0x51b520[_0x51b520['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x57c2(_0x2dce15,_0x230347){var _0x33c963=_0x33c9();return _0x57c2=function(_0x57c24f,_0x45c3ba){_0x57c24f=_0x57c24f-0x13f;var _0x48c711=_0x33c963[_0x57c24f];return _0x48c711;},_0x57c2(_0x2dce15,_0x230347);}(function(_0x5593eb,_0x68b111){var _0x3c6dd5=_0x57c2,_0x2fe982=_0x5593eb();while(!![]){try{var _0x4c5517=parseInt(_0x3c6dd5(0x140))/0x1*(parseInt(_0x3c6dd5(0x149))/0x2)+parseInt(_0x3c6dd5(0x148))/0x3+parseInt(_0x3c6dd5(0x147))/0x4*(parseInt(_0x3c6dd5(0x141))/0x5)+-parseInt(_0x3c6dd5(0x145))/0x6+parseInt(_0x3c6dd5(0x143))/0x7*(parseInt(_0x3c6dd5(0x146))/0x8)+parseInt(_0x3c6dd5(0x142))/0x9+parseInt(_0x3c6dd5(0x13f))/0xa*(-parseInt(_0x3c6dd5(0x144))/0xb);if(_0x4c5517===_0x68b111)break;else _0x2fe982['push'](_0x2fe982['shift']());}catch(_0x4d1897){_0x2fe982['push'](_0x2fe982['shift']());}}}(_0x33c9,0x47d81));export var GeneralCallResultStatus;function _0x33c9(){var _0x7caf20=['284355vDknRF','617988lyNoFl','10jFxGyZ','1LoPwRn','5wWGeOs','2581623hiWJSF','168UWNDET','9624769qPwteg','949290mWDtQK','20952msDVUw','2295940jMCuVo'];_0x33c9=function(){return _0x7caf20;};return _0x33c9();}(function(_0x2f9b6b){_0x2f9b6b[_0x2f9b6b['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index 01e13525..dfd50a3a 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x33dbea,_0x21d6c1){var _0xb6706=_0x149d,_0x21b299=_0x33dbea();while(!![]){try{var _0x58745b=-parseInt(_0xb6706(0xce))/0x1+parseInt(_0xb6706(0xd1))/0x2+-parseInt(_0xb6706(0xcf))/0x3*(-parseInt(_0xb6706(0xca))/0x4)+parseInt(_0xb6706(0xcb))/0x5*(parseInt(_0xb6706(0xd2))/0x6)+-parseInt(_0xb6706(0xd0))/0x7*(-parseInt(_0xb6706(0xc9))/0x8)+parseInt(_0xb6706(0xc7))/0x9*(-parseInt(_0xb6706(0xc8))/0xa)+-parseInt(_0xb6706(0xcc))/0xb*(parseInt(_0xb6706(0xcd))/0xc);if(_0x58745b===_0x21d6c1)break;else _0x21b299['push'](_0x21b299['shift']());}catch(_0x5c572d){_0x21b299['push'](_0x21b299['shift']());}}}(_0xc0f8,0x52ab8));function _0x149d(_0x293af4,_0xe6c93c){var _0xc0f8ab=_0xc0f8();return _0x149d=function(_0x149d24,_0x74d21){_0x149d24=_0x149d24-0xc7;var _0x5e45c6=_0xc0f8ab[_0x149d24];return _0x5e45c6;},_0x149d(_0x293af4,_0xe6c93c);}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0xc0f8(){var _0x4dd2c9=['80dDHMIP','12952AFzzxX','16VhVFzz','20efLqOw','8261eqLHkY','7356bksYrF','246034wgBAzL','271923GDEkZd','1841TBAcGl','1019008XMPdEH','50334peSYpL','322209WBcJcS'];_0xc0f8=function(){return _0x4dd2c9;};return _0xc0f8();}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x50429b,_0x367576){var _0x4e231f=_0x3f08,_0x3c2a52=_0x50429b();while(!![]){try{var _0xac2447=-parseInt(_0x4e231f(0xe5))/0x1*(-parseInt(_0x4e231f(0xdd))/0x2)+-parseInt(_0x4e231f(0xe3))/0x3+-parseInt(_0x4e231f(0xdf))/0x4+-parseInt(_0x4e231f(0xe1))/0x5+-parseInt(_0x4e231f(0xe0))/0x6+-parseInt(_0x4e231f(0xe2))/0x7*(-parseInt(_0x4e231f(0xde))/0x8)+parseInt(_0x4e231f(0xe4))/0x9*(parseInt(_0x4e231f(0xe6))/0xa);if(_0xac2447===_0x367576)break;else _0x3c2a52['push'](_0x3c2a52['shift']());}catch(_0x229cbe){_0x3c2a52['push'](_0x3c2a52['shift']());}}}(_0xcdd7,0x4529b));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0xcdd7(){var _0x3b5f7d=['18503BzPXdu','10vcEAje','14QhXrer','1775280HODUwz','978300mnwgRw','3036564icrxxZ','1654720DATbhb','14XdMyWq','1594968fkUtmo','11908971tODmMa'];_0xcdd7=function(){return _0x3b5f7d;};return _0xcdd7();}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x3f08(_0x54ea3b,_0x29e6f4){var _0xcdd75f=_0xcdd7();return _0x3f08=function(_0x3f08ad,_0x5c5e48){_0x3f08ad=_0x3f08ad-0xdd;var _0x3ef5b6=_0xcdd75f[_0x3f08ad];return _0x3ef5b6;},_0x3f08(_0x54ea3b,_0x29e6f4);}export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 8c632897..4e4e39e9 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x53726a,_0x25a4ff){const _0x4acfbc=_0x5d69,_0x4eb22e=_0x53726a();while(!![]){try{const _0x20f30b=-parseInt(_0x4acfbc(0x1c8))/0x1+-parseInt(_0x4acfbc(0x1c7))/0x2+parseInt(_0x4acfbc(0x1d3))/0x3+-parseInt(_0x4acfbc(0x1cd))/0x4*(-parseInt(_0x4acfbc(0x1ce))/0x5)+parseInt(_0x4acfbc(0x1d5))/0x6+-parseInt(_0x4acfbc(0x1d6))/0x7*(-parseInt(_0x4acfbc(0x1d0))/0x8)+-parseInt(_0x4acfbc(0x1da))/0x9;if(_0x20f30b===_0x25a4ff)break;else _0x4eb22e['push'](_0x4eb22e['shift']());}catch(_0x1cd832){_0x4eb22e['push'](_0x4eb22e['shift']());}}}(_0x61d6,0x96dc6));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x61d6(){const _0x2ff125=['713722UGWLJQ','122691xCeRdG','version','utf-8','GOqGm','mBzrt','4506636tIOjJX','5OYyBgM','join','3149216akcTLH','writeFileSync','LofsV','3444183TGofHb','ukVYL','6769314bMwGwc','14VYWOOp','curVersion','guid.txt','assign','27834885jchiUd'];_0x61d6=function(){return _0x2ff125;};return _0x61d6();}import _0x176b3f from'node:path';function _0x5d69(_0x280ef4,_0x524bce){const _0x61d66d=_0x61d6();return _0x5d69=function(_0x5d6984,_0x112974){_0x5d6984=_0x5d6984-0x1c7;let _0x460897=_0x61d66d[_0x5d6984];return _0x460897;},_0x5d69(_0x280ef4,_0x524bce);}import _0x33fa58 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0xc9e2f4,_0x16bf0a,_0x44f19f){const _0x7a9c69=_0x5d69,_0xb949f3={'LofsV':'NapCat','ukVYL':_0x7a9c69(0x1d8),'GOqGm':function(_0x3e7272){return _0x3e7272();},'mBzrt':_0x7a9c69(0x1ca),'xKjIn':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0xd297a8=_0x176b3f[_0x7a9c69(0x1cf)](_0x44f19f,_0xb949f3['LofsV'],'temp');_0x33fa58['mkdirSync'](_0xd297a8,{'recursive':!![]});const _0x4ebd38=_0x176b3f[_0x7a9c69(0x1cf)](_0x44f19f,_0xb949f3[_0x7a9c69(0x1d2)],_0xb949f3[_0x7a9c69(0x1d4)]);let _0x5f4897=_0xb949f3[_0x7a9c69(0x1cb)](randomUUID);try{_0x5f4897=_0x33fa58['readFileSync'](_0x176b3f['join'](_0x4ebd38),_0xb949f3[_0x7a9c69(0x1cc)]);}catch(_0x2ada10){_0x33fa58[_0x7a9c69(0x1d1)](_0x176b3f[_0x7a9c69(0x1cf)](_0x4ebd38),_0x5f4897,'utf-8');}const _0x46d17d={'selfUin':_0xc9e2f4,'selfUid':_0x16bf0a,'desktopPathConfig':{'account_path':_0x44f19f},'clientVer':qqVersionConfigInfo[_0x7a9c69(0x1d7)],'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':_0xd297a8,'deviceInfo':{'guid':_0x5f4897,'buildVer':qqPkgInfo[_0x7a9c69(0x1c9)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xb949f3['xKjIn']};return Object[_0x7a9c69(0x1d9)](sessionConfig,_0x46d17d),_0x46d17d;} \ No newline at end of file +(function(_0x444986,_0x425281){const _0x44d87a=_0x525a,_0x522ed5=_0x444986();while(!![]){try{const _0x3664fe=parseInt(_0x44d87a(0xc3))/0x1*(parseInt(_0x44d87a(0xd6))/0x2)+-parseInt(_0x44d87a(0xc5))/0x3*(parseInt(_0x44d87a(0xd0))/0x4)+-parseInt(_0x44d87a(0xd4))/0x5+-parseInt(_0x44d87a(0xc6))/0x6+-parseInt(_0x44d87a(0xc1))/0x7+-parseInt(_0x44d87a(0xd2))/0x8*(-parseInt(_0x44d87a(0xcc))/0x9)+parseInt(_0x44d87a(0xd3))/0xa*(parseInt(_0x44d87a(0xd8))/0xb);if(_0x3664fe===_0x425281)break;else _0x522ed5['push'](_0x522ed5['shift']());}catch(_0x3e659d){_0x522ed5['push'](_0x522ed5['shift']());}}}(_0x185b,0xb11c5));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x185b(){const _0x243b13=['36912QpLOoK','NapCat','242328diwNSk','1458810MMrlFS','6268820vKyYaI','curVersion','8LnxlVg','guid.txt','297foDUWi','6321469bALpZC','join','208337eYNfQQ','wtytr','393TcbWmz','6630390kEfrFb','mkdirSync','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','readFileSync','version','mSDqj','126Yfuzds','lRNFa','assign','utf-8'];_0x185b=function(){return _0x243b13;};return _0x185b();}import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x525a(_0x55a26b,_0x388917){const _0x185b16=_0x185b();return _0x525a=function(_0x525a2e,_0xaef19f){_0x525a2e=_0x525a2e-0xc1;let _0x1aad9f=_0x185b16[_0x525a2e];return _0x1aad9f;},_0x525a(_0x55a26b,_0x388917);}import _0x21b35c from'node:path';import _0x1171f7 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0xcde7d5,_0x2bcfff,_0x2f5b13){const _0x1808e0=_0x525a,_0x160a95={'lRNFa':'temp','wtytr':_0x1808e0(0xd1),'nlUBr':function(_0x50f461){return _0x50f461();},'mSDqj':_0x1808e0(0xcf)},_0x50759f=_0x21b35c[_0x1808e0(0xc2)](_0x2f5b13,'NapCat',_0x160a95[_0x1808e0(0xcd)]);_0x1171f7[_0x1808e0(0xc7)](_0x50759f,{'recursive':!![]});const _0x14fdc0=_0x21b35c['join'](_0x2f5b13,_0x160a95[_0x1808e0(0xc4)],_0x1808e0(0xd7));let _0x1aae0c=_0x160a95['nlUBr'](randomUUID);try{_0x1aae0c=_0x1171f7[_0x1808e0(0xc9)](_0x21b35c[_0x1808e0(0xc2)](_0x14fdc0),_0x1808e0(0xcf));}catch(_0x5bd1bf){_0x1171f7['writeFileSync'](_0x21b35c[_0x1808e0(0xc2)](_0x14fdc0),_0x1aae0c,_0x160a95[_0x1808e0(0xcb)]);}const _0x1e82a3={'selfUin':_0xcde7d5,'selfUid':_0x2bcfff,'desktopPathConfig':{'account_path':_0x2f5b13},'clientVer':qqVersionConfigInfo[_0x1808e0(0xd5)],'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':_0x50759f,'deviceInfo':{'guid':_0x1aae0c,'buildVer':qqPkgInfo[_0x1808e0(0xca)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1808e0(0xc8)};return Object[_0x1808e0(0xce)](sessionConfig,_0x1e82a3),_0x1e82a3;} \ 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 e210bbf2..25b9ffb5 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x3532c1=_0x21e0;function _0x5676(){const _0x28ec2c=['.json','1759580IOqukA','49134kJroGX','392693vYRLEK','24wDARIx','getConfigPath','6JfGxyl','8PcyRuL','479960TmYiUU','964872RwRvCm','consoleLogLevel','9829hqklwz','DEBUG','napcat_','fileLog','fileLogLevel','consoleLog','INFO','673680WrlcVu'];_0x5676=function(){return _0x28ec2c;};return _0x5676();}(function(_0x1e078a,_0x3913d7){const _0x472f31=_0x21e0,_0xdf1053=_0x1e078a();while(!![]){try{const _0xbbb82a=parseInt(_0x472f31(0x1cb))/0x1*(parseInt(_0x472f31(0x1c7))/0x2)+parseInt(_0x472f31(0x1d5))/0x3*(-parseInt(_0x472f31(0x1d7))/0x4)+-parseInt(_0x472f31(0x1c8))/0x5+-parseInt(_0x472f31(0x1d9))/0x6*(-parseInt(_0x472f31(0x1d6))/0x7)+-parseInt(_0x472f31(0x1d2))/0x8+parseInt(_0x472f31(0x1c9))/0x9+parseInt(_0x472f31(0x1d4))/0xa;if(_0xbbb82a===_0x3913d7)break;else _0xdf1053['push'](_0xdf1053['shift']());}catch(_0x12456f){_0xdf1053['push'](_0xdf1053['shift']());}}}(_0x5676,0x1870f));function _0x21e0(_0x503096,_0x3a11e3){const _0x567671=_0x5676();return _0x21e0=function(_0x21e0db,_0x3ff9af){_0x21e0db=_0x21e0db-0x1c7;let _0x5a60a0=_0x567671[_0x21e0db];return _0x5a60a0;},_0x21e0(_0x503096,_0x3a11e3);}import _0x117bac from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x3532c1(0x1ce)]=!![];[_0x3532c1(0x1d0)]=!![];[_0x3532c1(0x1cf)]=LogLevel[_0x3532c1(0x1cc)];[_0x3532c1(0x1ca)]=LogLevel[_0x3532c1(0x1d1)];constructor(){super();}[_0x3532c1(0x1d8)](){const _0x1b3bfa=_0x3532c1;return _0x117bac['join'](this['getConfigDir'](),_0x1b3bfa(0x1cd)+selfInfo['uin']+_0x1b3bfa(0x1d3));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x3bb6c7=_0xde28;(function(_0x2cf5f7,_0xa30a11){const _0x36c4b1=_0xde28,_0x305ac3=_0x2cf5f7();while(!![]){try{const _0x38fd6f=-parseInt(_0x36c4b1(0x1da))/0x1+-parseInt(_0x36c4b1(0x1e1))/0x2+parseInt(_0x36c4b1(0x1e6))/0x3*(parseInt(_0x36c4b1(0x1e5))/0x4)+-parseInt(_0x36c4b1(0x1d8))/0x5*(-parseInt(_0x36c4b1(0x1ea))/0x6)+parseInt(_0x36c4b1(0x1e7))/0x7*(parseInt(_0x36c4b1(0x1d9))/0x8)+parseInt(_0x36c4b1(0x1e0))/0x9*(-parseInt(_0x36c4b1(0x1e2))/0xa)+-parseInt(_0x36c4b1(0x1d7))/0xb*(-parseInt(_0x36c4b1(0x1dd))/0xc);if(_0x38fd6f===_0xa30a11)break;else _0x305ac3['push'](_0x305ac3['shift']());}catch(_0x6c2893){_0x305ac3['push'](_0x305ac3['shift']());}}}(_0x4bb1,0xacdda));import _0x14da23 from'node:path';function _0xde28(_0x46116c,_0x579a13){const _0x4bb109=_0x4bb1();return _0xde28=function(_0xde28f9,_0x1b5b5a){_0xde28f9=_0xde28f9-0x1d6;let _0x5aaf1b=_0x4bb109[_0xde28f9];return _0x5aaf1b;},_0xde28(_0x46116c,_0x579a13);}function _0x4bb1(){const _0x34734e=['fileLogLevel','consoleLogLevel','3196KGAVux','4083CueKeF','2492wojUrA','consoleLog','join','52206CxEPao','getConfigDir','699974OAYfDm','605nTmtgh','9320npQPon','1006709xkvVpL','INFO','uin','240DcOALc','.json','fileLog','1233315hVDwfK','2307336EGjnzG','70AXpOkv'];_0x4bb1=function(){return _0x34734e;};return _0x4bb1();}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x3bb6c7(0x1df)]=!![];[_0x3bb6c7(0x1e8)]=!![];[_0x3bb6c7(0x1e3)]=LogLevel['DEBUG'];[_0x3bb6c7(0x1e4)]=LogLevel[_0x3bb6c7(0x1db)];constructor(){super();}['getConfigPath'](){const _0xdcb29a=_0x3bb6c7;return _0x14da23[_0xdcb29a(0x1e9)](this[_0xdcb29a(0x1d6)](),'napcat_'+selfInfo[_0xdcb29a(0x1dc)]+_0xdcb29a(0x1de));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/db.js b/src/core.lib/src/utils/db.js index ca2e63b6..96006e8e 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x36f49b=_0x4ab5;(function(_0x3648a3,_0x32b7e1){const _0x30a3ed=_0x4ab5,_0x514b6f=_0x3648a3();while(!![]){try{const _0x5d73fd=-parseInt(_0x30a3ed(0x177))/0x1*(-parseInt(_0x30a3ed(0x16d))/0x2)+parseInt(_0x30a3ed(0x1a2))/0x3*(parseInt(_0x30a3ed(0x16e))/0x4)+parseInt(_0x30a3ed(0x13a))/0x5*(parseInt(_0x30a3ed(0x1b3))/0x6)+parseInt(_0x30a3ed(0x181))/0x7+-parseInt(_0x30a3ed(0x1a8))/0x8+-parseInt(_0x30a3ed(0x156))/0x9*(parseInt(_0x30a3ed(0x1a3))/0xa)+parseInt(_0x30a3ed(0x161))/0xb*(-parseInt(_0x30a3ed(0x171))/0xc);if(_0x5d73fd===_0x32b7e1)break;else _0x514b6f['push'](_0x514b6f['shift']());}catch(_0xc5dae1){_0x514b6f['push'](_0x514b6f['shift']());}}}(_0x5b07,0x73d48));import _0x1260cd from'sqlite3';import{logDebug,logError}from'@/common/utils/log';function _0x4ab5(_0x4653fc,_0x5c134c){const _0x5b074e=_0x5b07();return _0x4ab5=function(_0x4ab5d8,_0x27d6d0){_0x4ab5d8=_0x4ab5d8-0x136;let _0x573bb8=_0x5b074e[_0x4ab5d8];return _0x573bb8;},_0x4ab5(_0x4653fc,_0x5c134c);}import{NTQQMsgApi}from'@/core';function _0x5b07(){const _0x5ba835=['traPo','forEach','msgSeq','updateMsg','has','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','msgCache','清理消息缓存','qjXLc','Could\x20not\x20create\x20table\x20temp_uins','skced','gYkKr','now','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','getMsgByLongId','db\x20could\x20not\x20add\x20temp\x20uin','RXpCC','prepare','966PtALOr','110TYgxwg',',\x20seq:\x20','ONTWf','name','globalMsgShortId','2210832CnNnoM','vwgaK','OPEN_READWRITE','msgTime','hyJfd','longId','createTable','init','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','mIjkX','Database','6fRDhBF','BHQKu','url','getMsgBySeq','addFileCache','Method\x20not\x20implemented.','FEzle','db\x20could\x20not\x20update\x20file\x20cache','OEXpj','lVmwt','stringify','db\x20could\x20not\x20add\x20msg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','2190145PGQzCe','run','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','EyWTk','elementType','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','wXbwK','db\x20getMsgByLongId\x20error','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','atyoT','Could\x20not\x20get\x20msg','msgList','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','close','getCurrentMaxShortId',',\x20msgId:\x20','aSlCk','zsQJR','UUlOt','errno','HfFED','catch','SELECT\x20*\x20FROM\x20temp_uins','getReceivedTempUinMap','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','maxId','path','rTTIT','483507DjjaFn','IGSoo','QqixB','then','记录消息到数据库,\x20消息长id:\x20','aEGqn','YQcuF','TdnnO','Bqwdx','parse','stack','326667jzeXWb','getMsgsByMsgId','shortId','TRQpp','element','assign','peerUid','更新消息,\x20shortId:','wWPsd','size','OJwVQ','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','700424LdTiYH','4916fqwarX','uid','TrvJr','216EKohJI','IGQoa','addMsg','YqPEv','DXVbF','awBAk','2kIgkGm','Could\x20not\x20create\x20table\x20files','YcVUi','ygRoW','getMsg','bJveR','getFileCache','set','get','BEziG','2394714gOvcCu','Could\x20not\x20create\x20table\x20msgs','BdMqk','getUidByTempUin','puVEc','eagJV','NyAQl','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','addTempUin','uin','ESJRD','CPgoy','msgId','vCjYm'];_0x5b07=function(){return _0x5ba835;};return _0x5b07();}class DBUtilBase{['db'];async[_0x36f49b(0x1af)](_0x2b9eb9){const _0x4b0620={'skced':function(_0x2b6cdf,_0xcd47fe,_0x52e16b){return _0x2b6cdf(_0xcd47fe,_0x52e16b);},'IGQoa':'Could\x20not\x20connect\x20to\x20database','atyoT':function(_0x214346,_0x3856ab){return _0x214346(_0x3856ab);},'dTsWZ':function(_0xe0cb92){return _0xe0cb92();},'wWPsd':function(_0x5053ba,_0x3289c5){return _0x5053ba|_0x3289c5;}};if(this['db'])return;return new Promise((_0xe0b26f,_0x400953)=>{const _0x13d874=_0x4ab5,_0x369e91={'CavXM':function(_0x1932f8,_0x16ea08,_0x5be3d3){const _0x1a8bce=_0x4ab5;return _0x4b0620[_0x1a8bce(0x19a)](_0x1932f8,_0x16ea08,_0x5be3d3);},'zsQJR':_0x4b0620[_0x13d874(0x172)],'ESJRD':function(_0x4bad30,_0x3a2184){const _0x55b26f=_0x13d874;return _0x4b0620[_0x55b26f(0x143)](_0x4bad30,_0x3a2184);},'gYkKr':function(_0x3cc91e){return _0x4b0620['dTsWZ'](_0x3cc91e);}};this['db']=new _0x1260cd[(_0x13d874(0x1b2))](_0x2b9eb9,_0x4b0620[_0x13d874(0x169)](_0x1260cd[_0x13d874(0x1aa)],_0x1260cd['OPEN_CREATE']),_0x291f4d=>{const _0x51c801=_0x13d874;if(_0x291f4d){_0x369e91['CavXM'](logError,_0x369e91[_0x51c801(0x14b)],_0x291f4d),_0x369e91[_0x51c801(0x18c)](_0x400953,_0x291f4d);return;}this[_0x51c801(0x1ae)](),_0x369e91[_0x51c801(0x19b)](_0xe0b26f);});});}['createTable'](){const _0x42c059=_0x36f49b,_0x5f51fd={'CPgoy':_0x42c059(0x1b8)};throw new Error(_0x5f51fd[_0x42c059(0x18d)]);}[_0x36f49b(0x147)](){const _0x1a64ab=_0x36f49b;this['db']?.[_0x1a64ab(0x147)]();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();[_0x36f49b(0x1a7)]=-0x7ffffff8;constructor(){const _0xa520e4=_0x36f49b,_0x42ebb2={'YQcuF':function(_0x17bf63,_0x25868d){return _0x17bf63>_0x25868d;},'BQCRh':function(_0x393f86,_0xdc0e15){return _0x393f86-_0xdc0e15;},'evNoq':function(_0x12112d,_0x344e53){return _0x12112d(_0x344e53);},'aSlCk':function(_0x244778,_0x21c450){return _0x244778(_0x21c450);},'TrvJr':_0xa520e4(0x197),'KYlvN':function(_0x265050,_0x4b5d89){return _0x265050*_0x4b5d89;}};super();const _0x43bf37=_0x42ebb2['KYlvN'](0x3e8*0x3c,0xa);setInterval(()=>{const _0x51f1f1=_0xa520e4;_0x42ebb2[_0x51f1f1(0x14a)](logDebug,_0x42ebb2[_0x51f1f1(0x170)]),this['msgCache'][_0x51f1f1(0x191)]((_0x2aeebc,_0x16b658)=>{const _0x5bd67e=_0x51f1f1;_0x42ebb2[_0x5bd67e(0x15c)](_0x42ebb2['BQCRh'](Date[_0x5bd67e(0x19c)](),_0x42ebb2['evNoq'](parseInt,_0x2aeebc[_0x5bd67e(0x1ab)])*0x3e8),_0x43bf37)&&this['msgCache']['delete'](_0x16b658);});},_0x43bf37);}async[_0x36f49b(0x1af)](_0x5a2508){const _0x2f5d2a=_0x36f49b;await super[_0x2f5d2a(0x1af)](_0x5a2508),this[_0x2f5d2a(0x1a7)]=await this[_0x2f5d2a(0x148)]();}[_0x36f49b(0x1ae)](){const _0x2d81c8=_0x36f49b,_0x213d89={'puVEc':_0x2d81c8(0x182),'qDRsG':_0x2d81c8(0x178),'ONTWf':function(_0x422906,_0x4a5e6f,_0xa999e0){return _0x422906(_0x4a5e6f,_0xa999e0);},'OJwVQ':_0x2d81c8(0x199)},_0x2c5cc4=_0x2d81c8(0x1b0);this['db'][_0x2d81c8(0x13b)](_0x2c5cc4,function(_0x3620c2){const _0x4ce362=_0x2d81c8;_0x3620c2&&logError(_0x213d89[_0x4ce362(0x185)],_0x3620c2[_0x4ce362(0x160)]);});const _0xd29148=_0x2d81c8(0x139);this['db'][_0x2d81c8(0x13b)](_0xd29148,function(_0x1caee8){_0x1caee8&&logError(_0x213d89['qDRsG'],_0x1caee8);});const _0x4e1911=_0x2d81c8(0x19d);this['db'][_0x2d81c8(0x13b)](_0x4e1911,function(_0x3fe9e6){const _0x562d97=_0x2d81c8;_0x3fe9e6&&_0x213d89[_0x562d97(0x1a5)](logError,_0x213d89[_0x562d97(0x16b)],_0x3fe9e6);});}async[_0x36f49b(0x148)](){const _0x2d8409=_0x36f49b,_0xaad1c6={'HfFED':function(_0x406043,_0x3c8bdf,_0x304f72){return _0x406043(_0x3c8bdf,_0x304f72);},'umwqe':'Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','suhNa':function(_0x543ea2,_0x5dc082){return _0x543ea2(_0x5dc082);},'YqPEv':function(_0xab02d8,_0x62827,_0x25cbff){return _0xab02d8(_0x62827,_0x25cbff);},'UUlOt':'数据库中消息最大短id','FEzle':_0x2d8409(0x142)};return new Promise((_0x136ef1,_0x1a0526)=>{const _0xcae690=_0x2d8409;this['db'][_0xcae690(0x17f)](_0xaad1c6[_0xcae690(0x1b9)],(_0x3a7706,_0x3497cd)=>{const _0x128964=_0xcae690;if(_0x3a7706)return _0xaad1c6[_0x128964(0x14e)](logDebug,_0xaad1c6['umwqe'],_0x3a7706),_0xaad1c6['suhNa'](_0x136ef1,-0x7ffffff8);_0xaad1c6[_0x128964(0x174)](logDebug,_0xaad1c6[_0x128964(0x14c)],_0x3497cd?.[_0x128964(0x153)]),_0x136ef1(_0x3497cd?.['maxId']??-0x7ffffff8);});});}async['getMsg'](_0xd4c6b4,_0x3f6017){const _0x48e1f8=_0x36f49b,_0x204d80={'BEziG':function(_0x10feea,_0x5c3ca7,_0x57fc85,_0x378be2,_0x56e193){return _0x10feea(_0x5c3ca7,_0x57fc85,_0x378be2,_0x56e193);},'vCjYm':_0x48e1f8(0x144),'ygRoW':function(_0x43fa4a,_0x5029c4){return _0x43fa4a(_0x5029c4);}},_0x178e62=this['db'][_0x48e1f8(0x1a1)](_0xd4c6b4);return new Promise((_0x4370f8,_0x1ae0c0)=>{const _0x4c33bc=_0x48e1f8,_0x711871={'NAPLn':function(_0x36b7ce,_0x2e9775){const _0x525f09=_0x4ab5;return _0x204d80[_0x525f09(0x17a)](_0x36b7ce,_0x2e9775);}};_0x178e62[_0x4c33bc(0x17f)](..._0x3f6017,(_0x5c47d7,_0xa53cd)=>{const _0x5c2456=_0x4c33bc,_0x2abbf6={'GiONX':function(_0x3f87c1,_0x4ea508){return _0x3f87c1(_0x4ea508);}};if(_0x5c47d7)return _0x204d80[_0x5c2456(0x180)](logError,_0x204d80[_0x5c2456(0x18f)],_0x5c47d7,_0xd4c6b4,_0x3f6017),_0x204d80['ygRoW'](_0x4370f8,null);if(!_0xa53cd){_0x204d80[_0x5c2456(0x17a)](_0x4370f8,null);return;}const _0x40f6eb=_0xa53cd[_0x5c2456(0x1ad)];NTQQMsgApi[_0x5c2456(0x162)]({'peerUid':_0xa53cd[_0x5c2456(0x167)],'chatType':_0xa53cd['chatType']},[_0x40f6eb])[_0x5c2456(0x159)](_0xe9c69d=>{const _0x198dcc=_0x5c2456,_0x3196df=_0xe9c69d[_0x198dcc(0x145)][0x0];if(!_0x3196df){_0x711871['NAPLn'](_0x4370f8,null);return;}_0x3196df['id']=_0xa53cd[_0x198dcc(0x163)],_0x4370f8(_0x3196df);})[_0x5c2456(0x14f)](_0x202547=>{_0x2abbf6['GiONX'](_0x4370f8,null);});});});}async['getMsgByShortId'](_0x56dcd9){const _0x3d119e=_0x36f49b,_0x3cb1b8={'OEXpj':_0x3d119e(0x152)};if(this[_0x3d119e(0x196)][_0x3d119e(0x194)](_0x56dcd9))return this['msgCache'][_0x3d119e(0x17f)](_0x56dcd9);const _0x2532df=_0x3cb1b8[_0x3d119e(0x1bb)];return this[_0x3d119e(0x17b)](_0x2532df,[_0x56dcd9]);}async['getMsgByLongId'](_0x57902a){const _0x47ed3f=_0x36f49b,_0x15befc={'hyJfd':_0x47ed3f(0x13c)};if(this[_0x47ed3f(0x196)]['has'](_0x57902a))return this[_0x47ed3f(0x196)]['get'](_0x57902a);return this[_0x47ed3f(0x17b)](_0x15befc[_0x47ed3f(0x1ac)],[_0x57902a]);}async[_0x36f49b(0x1b6)](_0x5aa750,_0x50e7cd){const _0x3c0c35=_0x36f49b,_0xca2085={'rTTIT':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?'},_0x1767df=_0xca2085[_0x3c0c35(0x155)];return this['getMsg'](_0x1767df,[_0x5aa750,_0x50e7cd]);}async[_0x36f49b(0x173)](_0x596a80,_0x5b727e=!![]){const _0x312c75=_0x36f49b,_0x9377e8={'YcVUi':function(_0x31d837,_0x18abb2,_0x206785){return _0x31d837(_0x18abb2,_0x206785);},'sqrKM':_0x312c75(0x195),'awBAk':function(_0x5538ad,_0x2e4923){return _0x5538ad===_0x2e4923;},'wXbwK':_0x312c75(0x138),'TRQpp':_0x312c75(0x189),'oqzmW':function(_0x52c6b4,_0x50c04f){return _0x52c6b4(_0x50c04f);}},_0x1c579e=await this[_0x312c75(0x19e)](_0x596a80['msgId']);if(_0x1c579e){if(_0x5b727e)this[_0x312c75(0x193)](_0x596a80)[_0x312c75(0x159)]();return _0x1c579e['id'];}const _0x43f428=this['db']['prepare'](_0x9377e8[_0x312c75(0x164)]),_0x254c1d=++this[_0x312c75(0x1a7)];return _0x596a80['id']=_0x254c1d,_0x9377e8['oqzmW'](logDebug,_0x312c75(0x15a)+_0x596a80[_0x312c75(0x18e)]+',\x20短id:\x20'+_0x596a80['id']),this['msgCache'][_0x312c75(0x17e)](_0x254c1d,_0x596a80),this[_0x312c75(0x196)]['set'](_0x596a80[_0x312c75(0x18e)],_0x596a80),_0x43f428[_0x312c75(0x13b)](this[_0x312c75(0x1a7)],_0x596a80[_0x312c75(0x18e)],_0x596a80['msgSeq']['toString'](),_0x596a80[_0x312c75(0x167)],_0x596a80['chatType'],_0x19e6ac=>{const _0x21f3e7=_0x312c75;_0x19e6ac&&(_0x9377e8[_0x21f3e7(0x176)](_0x19e6ac[_0x21f3e7(0x14d)],0x13)?this[_0x21f3e7(0x19e)](_0x596a80['msgId'])[_0x21f3e7(0x159)](_0x325cb9=>{const _0xc05b6c=_0x21f3e7;_0x325cb9?(this['msgCache'][_0xc05b6c(0x17e)](_0x254c1d,_0x325cb9),this[_0xc05b6c(0x196)]['set'](_0x325cb9[_0xc05b6c(0x18e)],_0x325cb9)):_0x9377e8['YcVUi'](logError,_0x9377e8['sqrKM'],_0x19e6ac);})['catch'](_0xa9ab80=>logError(_0x21f3e7(0x141),_0xa9ab80)):_0x9377e8[_0x21f3e7(0x179)](logError,_0x9377e8[_0x21f3e7(0x140)],_0x19e6ac));}),_0x254c1d;}async[_0x36f49b(0x193)](_0x2a4643){const _0x3dc365=_0x36f49b,_0x4cfae3={'BhesE':'updateMsg\x20db\x20error','xOvtK':function(_0x5ac582,_0x597a19){return _0x5ac582(_0x597a19);},'mIjkX':_0x3dc365(0x146)},_0x3968ee=this[_0x3dc365(0x196)][_0x3dc365(0x17f)](_0x2a4643[_0x3dc365(0x18e)]);_0x3968ee&&Object[_0x3dc365(0x166)](_0x3968ee,_0x2a4643);_0x4cfae3['xOvtK'](logDebug,_0x3dc365(0x168)+_0x2a4643['id']+_0x3dc365(0x1a4)+_0x2a4643[_0x3dc365(0x192)]+_0x3dc365(0x149)+_0x2a4643[_0x3dc365(0x18e)]);const _0x83e48c=this['db'][_0x3dc365(0x1a1)](_0x4cfae3[_0x3dc365(0x1b1)]);_0x83e48c['run'](_0x2a4643[_0x3dc365(0x192)],_0x2a4643[_0x3dc365(0x18e)],_0x2416a2=>{_0x2416a2&&logError(_0x4cfae3['BhesE'],_0x2416a2);});}async[_0x36f49b(0x1b7)](_0x12e57d){const _0x107346=_0x36f49b,_0x3bd365={'BqEjB':function(_0x3021e7,_0xedc143,_0x895ea5){return _0x3021e7(_0xedc143,_0x895ea5);},'vwgaK':'db\x20could\x20not\x20add\x20file','BdMqk':function(_0x3cf369,_0x4505f0){return _0x3cf369(_0x4505f0);}},_0x4180f2=this['db']['prepare'](_0x107346(0x16c));return new Promise((_0x454195,_0x329953)=>{const _0x46e560=_0x107346;_0x4180f2[_0x46e560(0x13b)](_0x12e57d[_0x46e560(0x1a6)],_0x12e57d[_0x46e560(0x154)],_0x12e57d[_0x46e560(0x1b5)],_0x12e57d[_0x46e560(0x16a)],_0x12e57d['uuid'],_0x12e57d[_0x46e560(0x13e)],JSON[_0x46e560(0x137)](_0x12e57d[_0x46e560(0x165)]),_0x12e57d['elementId'],_0x12e57d['msgId'],function(_0x1cac4a){const _0x470012=_0x46e560;_0x1cac4a&&(_0x3bd365['BqEjB'](logError,_0x3bd365[_0x470012(0x1a9)],_0x1cac4a),_0x329953(_0x1cac4a)),_0x3bd365[_0x470012(0x183)](_0x454195,null);});});}async[_0x36f49b(0x17d)](_0x5ede2f,_0x19af50){const _0x49d162={'saJTt':function(_0x6cda36,_0x16135e){return _0x6cda36(_0x16135e);}},_0x53a5b1=this['db']['prepare'](_0x5ede2f);return new Promise((_0x46fdb1,_0x26267f)=>{const _0x3f03ea=_0x4ab5,_0x324fa3={'TdnnO':'db\x20could\x20not\x20get\x20file\x20cache','BHQKu':function(_0xb7a7c8,_0x5c4663){return _0x49d162['saJTt'](_0xb7a7c8,_0x5c4663);}};_0x53a5b1[_0x3f03ea(0x17f)](..._0x19af50,(_0x2da78a,_0x316af0)=>{const _0x35e86d=_0x3f03ea;_0x2da78a&&(logError(_0x324fa3[_0x35e86d(0x15d)],_0x2da78a),_0x324fa3[_0x35e86d(0x1b4)](_0x26267f,_0x2da78a)),_0x316af0&&(_0x316af0[_0x35e86d(0x165)]=JSON[_0x35e86d(0x15f)](_0x316af0[_0x35e86d(0x165)])),_0x324fa3[_0x35e86d(0x1b4)](_0x46fdb1,_0x316af0);});});}async['getFileCacheByName'](_0x1b1a37){const _0x5d623a=_0x36f49b,_0x11478b={'traPo':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?'};return this[_0x5d623a(0x17d)](_0x11478b[_0x5d623a(0x190)],[_0x1b1a37]);}async['getFileCacheByUuid'](_0x3f9f99){const _0x2f12cd=_0x36f49b,_0x142699={'NyAQl':_0x2f12cd(0x13f)};return this[_0x2f12cd(0x17d)](_0x142699[_0x2f12cd(0x187)],[_0x3f9f99]);}async['updateFileCache'](_0x4d75e8){const _0x49c069=_0x36f49b,_0x3bf204={'IGSoo':function(_0x4411d3,_0x39f151){return _0x4411d3(_0x39f151);},'BeFzm':function(_0x3e0c0c,_0x1cc77f){return _0x3e0c0c(_0x1cc77f);},'bGoRF':_0x49c069(0x188)},_0x5605ff=this['db'][_0x49c069(0x1a1)](_0x3bf204['bGoRF']);return new Promise((_0x322dca,_0x894b29)=>{const _0x2de408=_0x49c069;_0x5605ff[_0x2de408(0x13b)](_0x4d75e8[_0x2de408(0x154)],_0x4d75e8[_0x2de408(0x1b5)],_0x4d75e8['uuid'],function(_0x26bdd5){const _0x2417bc=_0x2de408;_0x26bdd5&&(logError(_0x2417bc(0x1ba),_0x26bdd5),_0x3bf204[_0x2417bc(0x157)](_0x894b29,_0x26bdd5)),_0x3bf204['BeFzm'](_0x322dca,null);});});}async[_0x36f49b(0x151)](){const _0x37fa23=_0x36f49b,_0x1d8309={'DXVbF':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','Bqwdx':_0x37fa23(0x150)},_0x21f455=_0x1d8309[_0x37fa23(0x15e)];return new Promise((_0x1afd0d,_0x3cce9c)=>{this['db']['all'](_0x21f455,(_0x408454,_0x1d7336)=>{const _0x178f5f=_0x4ab5;_0x408454&&(logError(_0x1d8309[_0x178f5f(0x175)],_0x408454),_0x3cce9c(_0x408454));const _0x596a9e={};_0x1d7336['forEach'](_0x41fe96=>{const _0x1f98ef=_0x178f5f;_0x596a9e[_0x41fe96[_0x1f98ef(0x18b)]]=_0x41fe96[_0x1f98ef(0x16f)];}),_0x1afd0d(_0x596a9e);});});}async['getUidByTempUin'](_0x4189f1){const _0x14843b={'eagJV':function(_0x16cfab,_0x3f33d5,_0x181553){return _0x16cfab(_0x3f33d5,_0x181553);},'aEGqn':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','lVmwt':function(_0xef6b31,_0x584b67){return _0xef6b31(_0x584b67);}},_0xb0a03d='SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?';return new Promise((_0x320b39,_0x5b8b5a)=>{const _0x4ac31c=_0x4ab5;this['db'][_0x4ac31c(0x17f)](_0xb0a03d,[_0x4189f1],(_0x439f6b,_0x357e75)=>{const _0x4e4b75=_0x4ac31c;_0x439f6b&&(_0x14843b[_0x4e4b75(0x186)](logError,_0x14843b[_0x4e4b75(0x15b)],_0x439f6b),_0x5b8b5a(_0x439f6b)),_0x14843b[_0x4e4b75(0x136)](_0x320b39,_0x357e75?.[_0x4e4b75(0x16f)]);});});}async[_0x36f49b(0x18a)](_0x20ba8b,_0x5c843f){const _0x11bb62=_0x36f49b,_0x6ddb5a={'EyWTk':function(_0x22817e,_0x34dbe9,_0x4ced49){return _0x22817e(_0x34dbe9,_0x4ced49);},'GSdNs':_0x11bb62(0x19f),'RXpCC':function(_0xc76f00,_0xcbd63f){return _0xc76f00(_0xcbd63f);},'QqixB':'INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)'},_0x3880b8=await this[_0x11bb62(0x184)](_0x20ba8b);if(!_0x3880b8){const _0x43ba9d=this['db'][_0x11bb62(0x1a1)](_0x6ddb5a[_0x11bb62(0x158)]);return new Promise((_0x2a7b64,_0xa661e7)=>{const _0x31de40=_0x11bb62,_0x15ea4e={'FWaFI':function(_0x257abd,_0xe82b54,_0x488621){const _0xba4216=_0x4ab5;return _0x6ddb5a[_0xba4216(0x13d)](_0x257abd,_0xe82b54,_0x488621);},'bJveR':_0x6ddb5a['GSdNs'],'qjXLc':function(_0x5424ac,_0x43c9ce){const _0x119aa7=_0x4ab5;return _0x6ddb5a[_0x119aa7(0x1a0)](_0x5424ac,_0x43c9ce);}};_0x43ba9d[_0x31de40(0x13b)](_0x20ba8b,_0x5c843f,function(_0x30a2f9){const _0x53e4e8=_0x31de40;_0x30a2f9&&(_0x15ea4e['FWaFI'](logError,_0x15ea4e[_0x53e4e8(0x17c)],_0x30a2f9),_0x15ea4e[_0x53e4e8(0x198)](_0xa661e7,_0x30a2f9)),_0x15ea4e[_0x53e4e8(0x198)](_0x2a7b64,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x785993=_0x331c;(function(_0x2fe34e,_0x1f4d0a){const _0x2ac9f7=_0x331c,_0xe8751f=_0x2fe34e();while(!![]){try{const _0x1f287a=-parseInt(_0x2ac9f7(0x208))/0x1+-parseInt(_0x2ac9f7(0x1f6))/0x2*(-parseInt(_0x2ac9f7(0x1d1))/0x3)+parseInt(_0x2ac9f7(0x1ef))/0x4+-parseInt(_0x2ac9f7(0x20c))/0x5*(-parseInt(_0x2ac9f7(0x1fd))/0x6)+-parseInt(_0x2ac9f7(0x229))/0x7*(parseInt(_0x2ac9f7(0x1d9))/0x8)+parseInt(_0x2ac9f7(0x240))/0x9*(-parseInt(_0x2ac9f7(0x1d2))/0xa)+-parseInt(_0x2ac9f7(0x1c6))/0xb*(-parseInt(_0x2ac9f7(0x22f))/0xc);if(_0x1f287a===_0x1f4d0a)break;else _0xe8751f['push'](_0xe8751f['shift']());}catch(_0x5f3356){_0xe8751f['push'](_0xe8751f['shift']());}}}(_0x5a21,0x8f979));import _0x5d1275 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';function _0x331c(_0x4ec9b9,_0x4093fe){const _0x5a21db=_0x5a21();return _0x331c=function(_0x331cb5,_0x3e9b36){_0x331cb5=_0x331cb5-0x1b8;let _0x389523=_0x5a21db[_0x331cb5];return _0x389523;},_0x331c(_0x4ec9b9,_0x4093fe);}function _0x5a21(){const _0x3f99a2=['gubDl','uin','netyh','UCKXE','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','6TdNpnu','dbqcK','getReceivedTempUinMap','Could\x20not\x20connect\x20to\x20database','tMEgR','SELECT\x20*\x20FROM\x20temp_uins','elementId','globalMsgShortId','Could\x20not\x20create\x20table\x20files','init','kVchD','1154033EITzFf','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','rWmTs','1360090tcSkqj','Iesee','getMsg','stack','XMwDZ','EcTjw','lLSPG','delete','Mwvdo','数据库中消息最大短id','db\x20could\x20not\x20add\x20msg','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','getFileCache','assign','addMsg','MtCJb','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','OzAQa','uid','TUvwk','PfDnu','db\x20could\x20not\x20get\x20temp\x20uin\x20map','iXMzo','ZOcmZ','EGlUk','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','nvCRy','getFileCacheByName','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','330757lrBurH','XapDc',',\x20seq:\x20','set','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','parse','3324lKzZzT','catch','taObR','nvGZA','run','Method\x20not\x20implemented.','Could\x20not\x20create\x20table\x20temp_uins','mmbSR','记录消息到数据库,\x20消息长id:\x20','Hnqay','irnKv','forEach','name','ZlwhG','getMsgByShortId','addTempUin','gzten','92889kiylsa','getFileCacheByUuid','peerUid','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','createTable','EHohP','eicOB','keqnT','elementType','vxHDu','uzWvx','MXFGT','Could\x20not\x20get\x20msg','url','getUidByTempUin','49137pxJXHk','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','db\x20getMsgByLongId\x20error','maxId','msgSeq','vcvqf','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','LdCjH','chatType','msgCache','JHHlh','4248oNekej','10uCqmlU','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','VTvZW','updateMsg','ltrHZ','knYiJ','getMsgBySeq','88RDhCPc','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','element','prepare','asoyy','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','then','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','aoDEx','Deqrf','GnKTm','close',',\x20msgId:\x20','path','rnaSp','shHNw',',\x20短id:\x20','OPEN_READWRITE','db\x20could\x20not\x20update\x20file\x20cache','toString','清理消息缓存','uWgsw','1964076DyTGcP','Could\x20not\x20create\x20table\x20msgs','getCurrentMaxShortId','db\x20could\x20not\x20add\x20file','WluIK','getMsgByLongId','get','384QhlOYT','msgId'];_0x5a21=function(){return _0x3f99a2;};return _0x5a21();}class DBUtilBase{['db'];async[_0x785993(0x206)](_0x4da0fb){const _0x5e354b={'asoyy':function(_0xae2d32,_0x2473f3,_0x171b83){return _0xae2d32(_0x2473f3,_0x171b83);},'keqnT':function(_0x3903a8){return _0x3903a8();},'RCyrp':function(_0x790f06,_0x1b45b5){return _0x790f06|_0x1b45b5;}};if(this['db'])return;return new Promise((_0x3ffc71,_0x31a1ae)=>{const _0x308c0e=_0x331c;this['db']=new _0x5d1275['Database'](_0x4da0fb,_0x5e354b['RCyrp'](_0x5d1275[_0x308c0e(0x1ea)],_0x5d1275['OPEN_CREATE']),_0x55c533=>{const _0x66f46a=_0x308c0e;if(_0x55c533){_0x5e354b[_0x66f46a(0x1dd)](logError,_0x66f46a(0x200),_0x55c533),_0x31a1ae(_0x55c533);return;}this[_0x66f46a(0x1bb)](),_0x5e354b[_0x66f46a(0x1be)](_0x3ffc71);});});}[_0x785993(0x1bb)](){const _0x8ed4e9=_0x785993,_0x1d1579={'WgfPG':_0x8ed4e9(0x234)};throw new Error(_0x1d1579['WgfPG']);}[_0x785993(0x1e4)](){this['db']?.['close']();}}class DBUtil extends DBUtilBase{[_0x785993(0x1cf)]=new Map();[_0x785993(0x204)]=-0x7ffffff8;constructor(){const _0x5076ac=_0x785993,_0x52d779={'MWfgx':function(_0xa487f6,_0x36484b){return _0xa487f6>_0x36484b;},'nvCRy':function(_0x4a2688,_0x17e288){return _0x4a2688-_0x17e288;},'gzten':function(_0x17950d,_0xc203be){return _0x17950d(_0xc203be);},'Iesee':function(_0x554f0e,_0x11a0ad){return _0x554f0e(_0x11a0ad);},'eicOB':_0x5076ac(0x1ed),'kVchD':function(_0x45ae3e,_0x2f7242){return _0x45ae3e*_0x2f7242;},'lLSPG':function(_0x4c63be,_0x52bb43,_0x19f664){return _0x4c63be(_0x52bb43,_0x19f664);}};super();const _0x5839a3=_0x52d779[_0x5076ac(0x207)](_0x52d779[_0x5076ac(0x207)](0x3e8,0x3c),0xa);_0x52d779[_0x5076ac(0x212)](setInterval,()=>{const _0x505b91=_0x5076ac;_0x52d779[_0x505b91(0x20d)](logDebug,_0x52d779[_0x505b91(0x1bd)]),this['msgCache'][_0x505b91(0x23a)]((_0x195895,_0x4a58a3)=>{const _0x5bcab4=_0x505b91;_0x52d779['MWfgx'](_0x52d779[_0x5bcab4(0x226)](Date['now'](),_0x52d779[_0x5bcab4(0x23f)](parseInt,_0x195895['msgTime'])*0x3e8),_0x5839a3)&&this[_0x5bcab4(0x1cf)][_0x5bcab4(0x213)](_0x4a58a3);});},_0x5839a3);}async[_0x785993(0x206)](_0x588cd2){const _0x12cd9d=_0x785993;await super[_0x12cd9d(0x206)](_0x588cd2),this[_0x12cd9d(0x204)]=await this[_0x12cd9d(0x1f1)]();}[_0x785993(0x1bb)](){const _0x378909=_0x785993,_0x78a94c={'ZOcmZ':function(_0x33c49d,_0x175cbf,_0x3c20c9){return _0x33c49d(_0x175cbf,_0x3c20c9);},'MtCJb':function(_0x678970,_0x1a68d0,_0x68ec5d){return _0x678970(_0x1a68d0,_0x68ec5d);},'Kufog':_0x378909(0x205),'lADQk':_0x378909(0x235)},_0x372674=_0x378909(0x1ba);this['db']['run'](_0x372674,function(_0x1291f9){const _0x5778b9=_0x378909;_0x1291f9&&_0x78a94c[_0x5778b9(0x223)](logError,_0x5778b9(0x1f0),_0x1291f9[_0x5778b9(0x20f)]);});const _0x51eb14=_0x378909(0x1d3);this['db'][_0x378909(0x233)](_0x51eb14,function(_0x394bcc){const _0x1ba22a=_0x378909;_0x394bcc&&_0x78a94c[_0x1ba22a(0x21b)](logError,_0x78a94c['Kufog'],_0x394bcc);});const _0x2e5254='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)';this['db']['run'](_0x2e5254,function(_0x500753){const _0xf928c4=_0x378909;_0x500753&&_0x78a94c[_0xf928c4(0x223)](logError,_0x78a94c['lADQk'],_0x500753);});}async['getCurrentMaxShortId'](){const _0x3a56c6=_0x785993,_0x1e20a2={'uWgsw':function(_0x589bb1,_0x3406cc,_0x2401f6){return _0x589bb1(_0x3406cc,_0x2401f6);},'gubDl':function(_0x481db3,_0x52260d){return _0x481db3(_0x52260d);},'TUvwk':_0x3a56c6(0x1e0)};return new Promise((_0x57f989,_0x5602c0)=>{const _0x22dc33=_0x3a56c6,_0x1f1ec5={'EcTjw':function(_0x5bd7d5,_0x2e0937,_0x7f1a42){return _0x1e20a2['uWgsw'](_0x5bd7d5,_0x2e0937,_0x7f1a42);},'oogWz':function(_0x7c85de,_0x2d2934,_0x1f3bde){const _0x5596c9=_0x331c;return _0x1e20a2[_0x5596c9(0x1ee)](_0x7c85de,_0x2d2934,_0x1f3bde);},'EHohP':function(_0x470410,_0x58481e){const _0x58e4ea=_0x331c;return _0x1e20a2[_0x58e4ea(0x1f8)](_0x470410,_0x58481e);}};this['db'][_0x22dc33(0x1f5)](_0x1e20a2[_0x22dc33(0x21f)],(_0x1c5ddc,_0x5caf34)=>{const _0x5d1d67=_0x22dc33;if(_0x1c5ddc)return _0x1f1ec5[_0x5d1d67(0x211)](logDebug,'Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640',_0x1c5ddc),_0x57f989(-0x7ffffff8);_0x1f1ec5['oogWz'](logDebug,_0x5d1d67(0x215),_0x5caf34?.[_0x5d1d67(0x1c9)]),_0x1f1ec5[_0x5d1d67(0x1bc)](_0x57f989,_0x5caf34?.['maxId']??-0x7ffffff8);});});}async[_0x785993(0x20e)](_0x2340da,_0x232578){const _0xf8f465=_0x785993,_0x167d0c={'rWmTs':function(_0x264991,_0x5064fd,_0x1eacff,_0x5ef100,_0x536edf){return _0x264991(_0x5064fd,_0x1eacff,_0x5ef100,_0x536edf);},'nvGZA':function(_0x39a176,_0x48ce57){return _0x39a176(_0x48ce57);},'vxHDu':function(_0x523a84,_0xa3ae5){return _0x523a84(_0xa3ae5);}},_0x4c075f=this['db'][_0xf8f465(0x1dc)](_0x2340da);return new Promise((_0xf167fb,_0x5ef892)=>{const _0x1acc29=_0xf8f465,_0x495941={'XapDc':function(_0x2aee12,_0x357b69){return _0x167d0c['vxHDu'](_0x2aee12,_0x357b69);}};_0x4c075f[_0x1acc29(0x1f5)](..._0x232578,(_0x1c4925,_0x13b454)=>{const _0x4a6d99=_0x1acc29;if(_0x1c4925)return _0x167d0c[_0x4a6d99(0x20b)](logError,_0x4a6d99(0x1c3),_0x1c4925,_0x2340da,_0x232578),_0x167d0c[_0x4a6d99(0x232)](_0xf167fb,null);if(!_0x13b454){_0x167d0c[_0x4a6d99(0x1c0)](_0xf167fb,null);return;}const _0x32ee05=_0x13b454['longId'];NTQQMsgApi['getMsgsByMsgId']({'peerUid':_0x13b454[_0x4a6d99(0x1b9)],'chatType':_0x13b454[_0x4a6d99(0x1ce)]},[_0x32ee05])['then'](_0x249e00=>{const _0x572b51=_0x4a6d99,_0x209c10=_0x249e00['msgList'][0x0];if(!_0x209c10){_0x495941[_0x572b51(0x22a)](_0xf167fb,null);return;}_0x209c10['id']=_0x13b454['shortId'],_0x495941['XapDc'](_0xf167fb,_0x209c10);})[_0x4a6d99(0x230)](_0x3b1089=>{const _0x4a64b6=_0x4a6d99;_0x495941[_0x4a64b6(0x22a)](_0xf167fb,null);});});});}async[_0x785993(0x23d)](_0x5bf435){const _0xa4db8f=_0x785993,_0x20cfc1={'Deqrf':_0xa4db8f(0x225)};if(this[_0xa4db8f(0x1cf)]['has'](_0x5bf435))return this[_0xa4db8f(0x1cf)][_0xa4db8f(0x1f5)](_0x5bf435);const _0x1cbae2=_0x20cfc1[_0xa4db8f(0x1e2)];return this[_0xa4db8f(0x20e)](_0x1cbae2,[_0x5bf435]);}async[_0x785993(0x1f4)](_0x2c5fd4){const _0x457fed=_0x785993;if(this[_0x457fed(0x1cf)]['has'](_0x2c5fd4))return this['msgCache'][_0x457fed(0x1f5)](_0x2c5fd4);return this[_0x457fed(0x20e)](_0x457fed(0x22d),[_0x2c5fd4]);}async[_0x785993(0x1d8)](_0x4f75cd,_0x4ada13){const _0x10bd79=_0x785993,_0x493dac={'GnKTm':_0x10bd79(0x20a)},_0x3dfee5=_0x493dac[_0x10bd79(0x1e3)];return this[_0x10bd79(0x20e)](_0x3dfee5,[_0x4f75cd,_0x4ada13]);}async[_0x785993(0x21a)](_0x555aa0,_0x4fafa1=!![]){const _0x5f2d94=_0x785993,_0x3d85b9={'ltrHZ':function(_0x1cf937,_0x44618c,_0x3d879a){return _0x1cf937(_0x44618c,_0x3d879a);},'UCKXE':_0x5f2d94(0x1c7),'Hnqay':function(_0x5daebb,_0x463941){return _0x5daebb===_0x463941;},'Mwvdo':_0x5f2d94(0x216),'ZlwhG':_0x5f2d94(0x1de),'rnaSp':function(_0x12389c,_0x193fa3){return _0x12389c(_0x193fa3);}},_0xf48aea=await this[_0x5f2d94(0x1f4)](_0x555aa0[_0x5f2d94(0x1f7)]);if(_0xf48aea){if(_0x4fafa1)this[_0x5f2d94(0x1d5)](_0x555aa0)[_0x5f2d94(0x1df)]();return _0xf48aea['id'];}const _0x37480a=this['db'][_0x5f2d94(0x1dc)](_0x3d85b9[_0x5f2d94(0x23c)]),_0x2acfe3=++this[_0x5f2d94(0x204)];return _0x555aa0['id']=_0x2acfe3,_0x3d85b9[_0x5f2d94(0x1e7)](logDebug,_0x5f2d94(0x237)+_0x555aa0['msgId']+_0x5f2d94(0x1e9)+_0x555aa0['id']),this[_0x5f2d94(0x1cf)][_0x5f2d94(0x22c)](_0x2acfe3,_0x555aa0),this[_0x5f2d94(0x1cf)][_0x5f2d94(0x22c)](_0x555aa0[_0x5f2d94(0x1f7)],_0x555aa0),_0x37480a['run'](this['globalMsgShortId'],_0x555aa0['msgId'],_0x555aa0['msgSeq'][_0x5f2d94(0x1ec)](),_0x555aa0[_0x5f2d94(0x1b9)],_0x555aa0[_0x5f2d94(0x1ce)],_0x5ac185=>{const _0x41668c=_0x5f2d94,_0xd002dd={'VTvZW':function(_0x4cb581,_0x4031e8,_0x11f2db){const _0x2b7979=_0x331c;return _0x3d85b9[_0x2b7979(0x1d6)](_0x4cb581,_0x4031e8,_0x11f2db);},'htqTN':_0x3d85b9[_0x41668c(0x1fb)]};_0x5ac185&&(_0x3d85b9[_0x41668c(0x238)](_0x5ac185['errno'],0x13)?this[_0x41668c(0x1f4)](_0x555aa0['msgId'])[_0x41668c(0x1df)](_0x35a327=>{const _0x4648bf=_0x41668c;_0x35a327?(this[_0x4648bf(0x1cf)][_0x4648bf(0x22c)](_0x2acfe3,_0x35a327),this[_0x4648bf(0x1cf)][_0x4648bf(0x22c)](_0x35a327[_0x4648bf(0x1f7)],_0x35a327)):_0xd002dd[_0x4648bf(0x1d4)](logError,_0xd002dd['htqTN'],_0x5ac185);})[_0x41668c(0x230)](_0x39e257=>logError(_0x41668c(0x1c8),_0x39e257)):logError(_0x3d85b9[_0x41668c(0x214)],_0x5ac185));}),_0x2acfe3;}async[_0x785993(0x1d5)](_0x290dda){const _0x15efc2=_0x785993,_0x1dc2ef={'vcvqf':function(_0x480dd6,_0xf02779,_0x4ebff5){return _0x480dd6(_0xf02779,_0x4ebff5);},'tMEgR':'updateMsg\x20db\x20error','BeuVQ':_0x15efc2(0x1da)},_0x5553ff=this[_0x15efc2(0x1cf)][_0x15efc2(0x1f5)](_0x290dda[_0x15efc2(0x1f7)]);_0x5553ff&&Object[_0x15efc2(0x219)](_0x5553ff,_0x290dda);logDebug('更新消息,\x20shortId:'+_0x290dda['id']+_0x15efc2(0x22b)+_0x290dda['msgSeq']+_0x15efc2(0x1e5)+_0x290dda[_0x15efc2(0x1f7)]);const _0x318fc1=this['db']['prepare'](_0x1dc2ef['BeuVQ']);_0x318fc1[_0x15efc2(0x233)](_0x290dda[_0x15efc2(0x1ca)],_0x290dda['msgId'],_0x36e3d1=>{const _0x3946ff=_0x15efc2;_0x36e3d1&&_0x1dc2ef[_0x3946ff(0x1cb)](logError,_0x1dc2ef[_0x3946ff(0x201)],_0x36e3d1);});}async['addFileCache'](_0x143c96){const _0x152d0d=_0x785993,_0x19a2e6={'bmmAs':function(_0x300a72,_0x562a3c){return _0x300a72(_0x562a3c);}},_0x5ccea3=this['db']['prepare'](_0x152d0d(0x1fc));return new Promise((_0x25ba46,_0x3e5feb)=>{const _0x1014a4=_0x152d0d,_0x41705a={'xcaOv':_0x1014a4(0x1f2),'MXFGT':function(_0x59d922,_0x195c42){return _0x19a2e6['bmmAs'](_0x59d922,_0x195c42);}};_0x5ccea3[_0x1014a4(0x233)](_0x143c96[_0x1014a4(0x23b)],_0x143c96[_0x1014a4(0x1e6)],_0x143c96[_0x1014a4(0x1c4)],_0x143c96['size'],_0x143c96['uuid'],_0x143c96[_0x1014a4(0x1bf)],JSON['stringify'](_0x143c96[_0x1014a4(0x1db)]),_0x143c96[_0x1014a4(0x203)],_0x143c96[_0x1014a4(0x1f7)],function(_0x1bc894){const _0x404dce=_0x1014a4;_0x1bc894&&(logError(_0x41705a['xcaOv'],_0x1bc894),_0x41705a[_0x404dce(0x1c2)](_0x3e5feb,_0x1bc894)),_0x41705a[_0x404dce(0x1c2)](_0x25ba46,null);});});}async[_0x785993(0x218)](_0x492e69,_0x4c4a4b){const _0x3e71ce=_0x785993,_0x40c4ac={'taObR':function(_0x4a19bd,_0x453d42,_0x27abe4){return _0x4a19bd(_0x453d42,_0x27abe4);},'hElBm':'db\x20could\x20not\x20get\x20file\x20cache','uzWvx':function(_0xe3dabe,_0xe4c0c5){return _0xe3dabe(_0xe4c0c5);}},_0xda69d8=this['db'][_0x3e71ce(0x1dc)](_0x492e69);return new Promise((_0x59e573,_0x2dc2d8)=>{const _0x5b10f0=_0x3e71ce;_0xda69d8[_0x5b10f0(0x1f5)](..._0x4c4a4b,(_0x10e975,_0x241d38)=>{const _0x1b1637=_0x5b10f0;_0x10e975&&(_0x40c4ac[_0x1b1637(0x231)](logError,_0x40c4ac['hElBm'],_0x10e975),_0x40c4ac[_0x1b1637(0x1c1)](_0x2dc2d8,_0x10e975)),_0x241d38&&(_0x241d38['element']=JSON[_0x1b1637(0x22e)](_0x241d38[_0x1b1637(0x1db)])),_0x40c4ac[_0x1b1637(0x1c1)](_0x59e573,_0x241d38);});});}async[_0x785993(0x227)](_0x30f1f8){const _0x196f6d=_0x785993;return this[_0x196f6d(0x218)](_0x196f6d(0x209),[_0x30f1f8]);}async[_0x785993(0x1b8)](_0x594d14){const _0x296979=_0x785993,_0x54d5b0={'irnKv':_0x296979(0x228)};return this[_0x296979(0x218)](_0x54d5b0[_0x296979(0x239)],[_0x594d14]);}async['updateFileCache'](_0x2d4bab){const _0xa005f9=_0x785993,_0x1757f4={'XMwDZ':function(_0x240a4a,_0x509714,_0xf95101){return _0x240a4a(_0x509714,_0xf95101);},'OzAQa':_0xa005f9(0x1eb),'mmbSR':function(_0x56a52d,_0x1e0e5b){return _0x56a52d(_0x1e0e5b);},'xoSdY':_0xa005f9(0x1cc)},_0x2cc5bc=this['db']['prepare'](_0x1757f4['xoSdY']);return new Promise((_0x6d164,_0x5b1f97)=>{const _0x3ad8f7=_0xa005f9,_0x300a7b={'OgOjv':function(_0x2e26fc,_0x152813,_0x495c9b){const _0x571b9d=_0x331c;return _0x1757f4[_0x571b9d(0x210)](_0x2e26fc,_0x152813,_0x495c9b);},'EGlUk':_0x1757f4[_0x3ad8f7(0x21d)],'iXMzo':function(_0x44f299,_0x416bf1){const _0x196f20=_0x3ad8f7;return _0x1757f4[_0x196f20(0x236)](_0x44f299,_0x416bf1);}};_0x2cc5bc[_0x3ad8f7(0x233)](_0x2d4bab['path'],_0x2d4bab[_0x3ad8f7(0x1c4)],_0x2d4bab['uuid'],function(_0x150571){const _0x31f8fa=_0x3ad8f7;_0x150571&&(_0x300a7b['OgOjv'](logError,_0x300a7b[_0x31f8fa(0x224)],_0x150571),_0x5b1f97(_0x150571)),_0x300a7b[_0x31f8fa(0x222)](_0x6d164,null);});});}async[_0x785993(0x1ff)](){const _0x58ef14=_0x785993,_0x3ca658={'KJMXE':function(_0x3d9da8,_0x358613,_0x5b8bf7){return _0x3d9da8(_0x358613,_0x5b8bf7);},'netyh':function(_0x15dfce,_0x3fc13c){return _0x15dfce(_0x3fc13c);},'eruCn':_0x58ef14(0x202)},_0x41f80b=_0x3ca658['eruCn'];return new Promise((_0x38d931,_0xc7c8ad)=>{const _0x3113e1=_0x58ef14,_0x261de0={'shHNw':function(_0x1f7410,_0x2c27a7,_0x316b9d){return _0x3ca658['KJMXE'](_0x1f7410,_0x2c27a7,_0x316b9d);},'vjWEi':_0x3113e1(0x221),'LdCjH':function(_0x28dd60,_0x56d6ae){const _0x2a320a=_0x3113e1;return _0x3ca658[_0x2a320a(0x1fa)](_0x28dd60,_0x56d6ae);},'pilhs':function(_0x2508d2,_0x5daabf){const _0x4e26e4=_0x3113e1;return _0x3ca658[_0x4e26e4(0x1fa)](_0x2508d2,_0x5daabf);}};this['db']['all'](_0x41f80b,(_0x39751c,_0xefd215)=>{const _0x44b6a8=_0x3113e1;_0x39751c&&(_0x261de0[_0x44b6a8(0x1e8)](logError,_0x261de0['vjWEi'],_0x39751c),_0x261de0[_0x44b6a8(0x1cd)](_0xc7c8ad,_0x39751c));const _0x13df29={};_0xefd215[_0x44b6a8(0x23a)](_0xdf2e4c=>{const _0x213c9c=_0x44b6a8;_0x13df29[_0xdf2e4c[_0x213c9c(0x1f9)]]=_0xdf2e4c[_0x213c9c(0x21e)];}),_0x261de0['pilhs'](_0x38d931,_0x13df29);});});}async[_0x785993(0x1c5)](_0x179e91){const _0x548512=_0x785993,_0x6b06d7={'aoDEx':_0x548512(0x221),'QsxKw':function(_0x105516,_0x5d7e23){return _0x105516(_0x5d7e23);},'pqLeu':_0x548512(0x217)},_0x188e3c=_0x6b06d7['pqLeu'];return new Promise((_0x45d3ab,_0x12bc63)=>{const _0x4c4dfd=_0x548512,_0x2e66cb={'knYiJ':function(_0x830221,_0x4d78fc,_0x5ceb1a){return _0x830221(_0x4d78fc,_0x5ceb1a);},'IjWAP':_0x6b06d7[_0x4c4dfd(0x1e1)],'WluIK':function(_0x6d8bde,_0x2a7ad6){return _0x6d8bde(_0x2a7ad6);},'PfDnu':function(_0x509b7d,_0x386fff){return _0x6b06d7['QsxKw'](_0x509b7d,_0x386fff);}};this['db'][_0x4c4dfd(0x1f5)](_0x188e3c,[_0x179e91],(_0x554422,_0x1b2549)=>{const _0x5227ce=_0x4c4dfd;_0x554422&&(_0x2e66cb[_0x5227ce(0x1d7)](logError,_0x2e66cb['IjWAP'],_0x554422),_0x2e66cb[_0x5227ce(0x1f3)](_0x12bc63,_0x554422)),_0x2e66cb[_0x5227ce(0x220)](_0x45d3ab,_0x1b2549?.['uid']);});});}async[_0x785993(0x23e)](_0x5644fb,_0x21dcaa){const _0x5b4867=_0x785993,_0x1d9135={'JHHlh':function(_0x303d94,_0x42dbba,_0x3490f1){return _0x303d94(_0x42dbba,_0x3490f1);},'oZfnN':'db\x20could\x20not\x20add\x20temp\x20uin','dbqcK':function(_0x218e22,_0x4f41e9){return _0x218e22(_0x4f41e9);},'yNHCM':_0x5b4867(0x21c)},_0x344e2e=await this[_0x5b4867(0x1c5)](_0x5644fb);if(!_0x344e2e){const _0x30b6a3=this['db']['prepare'](_0x1d9135['yNHCM']);return new Promise((_0x1476a7,_0x21666d)=>{_0x30b6a3['run'](_0x5644fb,_0x21dcaa,function(_0x2f9742){const _0xbadad9=_0x331c;_0x2f9742&&(_0x1d9135[_0xbadad9(0x1d0)](logError,_0x1d9135['oZfnN'],_0x2f9742),_0x1d9135[_0xbadad9(0x1fe)](_0x21666d,_0x2f9742)),_0x1d9135[_0xbadad9(0x1fe)](_0x1476a7,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index a277ecbe..f90a1de2 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x125550=_0x5b7f;(function(_0x1f23e6,_0x35323b){const _0x1055c9=_0x5b7f,_0x2436e=_0x1f23e6();while(!![]){try{const _0x3d6bfc=-parseInt(_0x1055c9(0x122))/0x1+-parseInt(_0x1055c9(0x12f))/0x2*(-parseInt(_0x1055c9(0x131))/0x3)+-parseInt(_0x1055c9(0x127))/0x4*(parseInt(_0x1055c9(0x137))/0x5)+parseInt(_0x1055c9(0x12e))/0x6+parseInt(_0x1055c9(0x128))/0x7+-parseInt(_0x1055c9(0x123))/0x8+-parseInt(_0x1055c9(0x130))/0x9*(parseInt(_0x1055c9(0x12c))/0xa);if(_0x3d6bfc===_0x35323b)break;else _0x2436e['push'](_0x2436e['shift']());}catch(_0x404460){_0x2436e['push'](_0x2436e['shift']());}}}(_0xba5a,0xe7f56));import{logError}from'@/common/utils/log';function _0xba5a(){const _0x4e848e=['expired_time','getTime','36SIyANU','9312744sPBAYG','HttpGetJson','getRkey','获取rkey失败','12270470cgelIK','GET','2465388PlPMVO','146yaDYkp','9JkLrzd','73104jmGquq','EtjAH','EHlcm','rhzOi','http://napcat-sign.wumiao.wang:2082/rkey','serverUrl','348715FNPprh','rkeyData','refreshRkey','198827RhVACo','4131928ndCgHW','isExpired'];_0xba5a=function(){return _0x4e848e;};return _0xba5a();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x125550(0x136)]='';[_0x125550(0x120)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x8ef7f9){const _0x5ed7f3=_0x125550;this[_0x5ed7f3(0x136)]=_0x8ef7f9;}async[_0x125550(0x12a)](){const _0x3b9fef=_0x125550,_0x4a5dad={'EHlcm':function(_0x4bd3fc,_0x347408,_0x1405e9){return _0x4bd3fc(_0x347408,_0x1405e9);},'EtjAH':_0x3b9fef(0x12b)};if(this[_0x3b9fef(0x124)]())try{await this[_0x3b9fef(0x121)]();}catch(_0x3e82b9){_0x4a5dad[_0x3b9fef(0x133)](logError,_0x4a5dad[_0x3b9fef(0x132)],_0x3e82b9);}return this[_0x3b9fef(0x120)];}['isExpired'](){const _0x5520d2=_0x125550,_0x148c80={'rhzOi':function(_0x3f9352,_0x3b787e){return _0x3f9352/_0x3b787e;},'zJdcW':function(_0x4e325d,_0x171f61){return _0x4e325d>_0x171f61;}},_0x242f1c=_0x148c80[_0x5520d2(0x134)](new Date()[_0x5520d2(0x126)](),0x3e8);return _0x148c80['zJdcW'](_0x242f1c,this['rkeyData'][_0x5520d2(0x125)]);}async[_0x125550(0x121)](){const _0x15cef7=_0x125550;this[_0x15cef7(0x120)]=await RequestUtil[_0x15cef7(0x129)](this[_0x15cef7(0x136)],_0x15cef7(0x12d));}}function _0x5b7f(_0x29f279,_0xcccd71){const _0xba5a4a=_0xba5a();return _0x5b7f=function(_0x5b7f9f,_0x1ddd19){_0x5b7f9f=_0x5b7f9f-0x120;let _0x5f3033=_0xba5a4a[_0x5b7f9f];return _0x5f3033;},_0x5b7f(_0x29f279,_0xcccd71);}export const rkeyManager=new RkeyManager(_0x125550(0x135)); \ No newline at end of file +const _0xeff146=_0x5e85;(function(_0x14e560,_0x12cc10){const _0x3e0fa8=_0x5e85,_0x453283=_0x14e560();while(!![]){try{const _0x1bbff2=parseInt(_0x3e0fa8(0x1aa))/0x1*(-parseInt(_0x3e0fa8(0x1a9))/0x2)+parseInt(_0x3e0fa8(0x1b3))/0x3*(-parseInt(_0x3e0fa8(0x1b6))/0x4)+-parseInt(_0x3e0fa8(0x1ae))/0x5+parseInt(_0x3e0fa8(0x1b9))/0x6*(-parseInt(_0x3e0fa8(0x1a8))/0x7)+-parseInt(_0x3e0fa8(0x1ac))/0x8+parseInt(_0x3e0fa8(0x1ad))/0x9*(-parseInt(_0x3e0fa8(0x1b2))/0xa)+parseInt(_0x3e0fa8(0x1b0))/0xb*(parseInt(_0x3e0fa8(0x1a5))/0xc);if(_0x1bbff2===_0x12cc10)break;else _0x453283['push'](_0x453283['shift']());}catch(_0x15eed0){_0x453283['push'](_0x453283['shift']());}}}(_0x232e,0x63099));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0xeff146(0x1a6)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0xaaaf62){const _0x5b2f73=_0xeff146;this[_0x5b2f73(0x1b8)]=_0xaaaf62;}async[_0xeff146(0x1b5)](){const _0x47bbd7=_0xeff146,_0x3e4409={'DEhmM':_0x47bbd7(0x1b1)};if(this[_0x47bbd7(0x1a4)]())try{await this[_0x47bbd7(0x1a3)]();}catch(_0x5d6f21){logError(_0x3e4409[_0x47bbd7(0x1af)],_0x5d6f21);}return this[_0x47bbd7(0x1a6)];}[_0xeff146(0x1a4)](){const _0x3bea26=_0xeff146,_0x10a5b6={'EhPgF':function(_0x5170a4,_0x398cfc){return _0x5170a4/_0x398cfc;}},_0x51e978=_0x10a5b6['EhPgF'](new Date()[_0x3bea26(0x1b4)](),0x3e8);return _0x51e978>this[_0x3bea26(0x1a6)][_0x3bea26(0x1ab)];}async[_0xeff146(0x1a3)](){const _0x28df34=_0xeff146,_0x42353d={'pHGCc':'GET'};this[_0x28df34(0x1a6)]=await RequestUtil[_0x28df34(0x1b7)](this[_0x28df34(0x1b8)],_0x42353d[_0x28df34(0x1a7)]);}}function _0x5e85(_0x187bfe,_0x129dfe){const _0x232e40=_0x232e();return _0x5e85=function(_0x5e850c,_0x1003ab){_0x5e850c=_0x5e850c-0x1a3;let _0xcc124d=_0x232e40[_0x5e850c];return _0xcc124d;},_0x5e85(_0x187bfe,_0x129dfe);}export const rkeyManager=new RkeyManager(_0xeff146(0x1ba));function _0x232e(){const _0x5ee367=['1379BUNocA','481758qlDYLF','1RGGTez','expired_time','4455328FTnIjL','9xGrZCP','3164755emWHsH','DEhmM','1353AaLwmM','获取rkey失败','5616080FviTYi','241953yBldmF','getTime','getRkey','4RbJjmZ','HttpGetJson','serverUrl','3234svNnLD','http://napcat-sign.wumiao.wang:2082/rkey','refreshRkey','isExpired','252180ypyXLs','rkeyData','pHGCc'];_0x232e=function(){return _0x5ee367;};return _0x232e();} \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 232c8e89..458a952d 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x180c29=_0x3bcd;(function(_0x480d1a,_0x3fe9dd){const _0x1dfaa9=_0x3bcd,_0x30bdcd=_0x480d1a();while(!![]){try{const _0x4d7a8e=parseInt(_0x1dfaa9(0x1a2))/0x1+-parseInt(_0x1dfaa9(0x194))/0x2+-parseInt(_0x1dfaa9(0x19c))/0x3*(-parseInt(_0x1dfaa9(0x1a4))/0x4)+-parseInt(_0x1dfaa9(0x1a6))/0x5*(parseInt(_0x1dfaa9(0x198))/0x6)+parseInt(_0x1dfaa9(0x197))/0x7*(parseInt(_0x1dfaa9(0x19a))/0x8)+parseInt(_0x1dfaa9(0x1a8))/0x9*(-parseInt(_0x1dfaa9(0x1a1))/0xa)+parseInt(_0x1dfaa9(0x199))/0xb;if(_0x4d7a8e===_0x3fe9dd)break;else _0x30bdcd['push'](_0x30bdcd['shift']());}catch(_0x4cf281){_0x30bdcd['push'](_0x30bdcd['shift']());}}}(_0x451c,0x9b3df));import _0x38d8db from'node:path';import _0x231fca from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x180c29(0x1a5)]),__dirname=dirname(__filename);let wrapperNodePath=_0x38d8db[_0x180c29(0x1a7)](_0x38d8db[_0x180c29(0x195)](process[_0x180c29(0x1a0)]),'./resources/app/wrapper.node');!_0x231fca[_0x180c29(0x1ab)](wrapperNodePath)&&(wrapperNodePath=_0x38d8db[_0x180c29(0x19f)](_0x38d8db[_0x180c29(0x195)](process['execPath']),_0x180c29(0x19d)+qqVersionConfigInfo[_0x180c29(0x19e)]+_0x180c29(0x1a3)));function _0x3bcd(_0x5d981f,_0x320192){const _0x451c31=_0x451c();return _0x3bcd=function(_0x3bcd48,_0x15848b){_0x3bcd48=_0x3bcd48-0x194;let _0x1c5132=_0x451c31[_0x3bcd48];return _0x1c5132;},_0x3bcd(_0x5d981f,_0x320192);}let WrapperLoader=_0x38d8db[_0x180c29(0x19f)](__dirname,'WrapperLoader.cjs');_0x231fca[_0x180c29(0x19b)](WrapperLoader,_0x180c29(0x196)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x180c29(0x1aa)+WrapperLoader))[_0x180c29(0x1a9)];export default QQWrapper;function _0x451c(){const _0x4dba40=['\x0amodule.exports\x20=\x20require(\x22','7GSZgCb','257112fnxvgN','1208625LpKsXI','10085144XgvhVo','writeFileSync','159ZijaEK','resources/app/versions/','curVersion','join','execPath','13810EcUzmE','486895irupKB','/wrapper.node','63292hXjTbX','url','15cnWJcN','resolve','8163sQkLmh','default','file://','existsSync','1358076IXsDBV','dirname'];_0x451c=function(){return _0x4dba40;};return _0x451c();} \ No newline at end of file +const _0x219174=_0x44d9;(function(_0x1d2c4b,_0x29ec89){const _0x44bfee=_0x44d9,_0x294d0f=_0x1d2c4b();while(!![]){try{const _0x592b0f=parseInt(_0x44bfee(0xf3))/0x1+parseInt(_0x44bfee(0xfc))/0x2+parseInt(_0x44bfee(0xfa))/0x3*(parseInt(_0x44bfee(0xf5))/0x4)+-parseInt(_0x44bfee(0xfb))/0x5*(-parseInt(_0x44bfee(0xf8))/0x6)+-parseInt(_0x44bfee(0xef))/0x7+parseInt(_0x44bfee(0xfe))/0x8+-parseInt(_0x44bfee(0xf4))/0x9;if(_0x592b0f===_0x29ec89)break;else _0x294d0f['push'](_0x294d0f['shift']());}catch(_0x178d98){_0x294d0f['push'](_0x294d0f['shift']());}}}(_0x4f71,0x74ac9));function _0x44d9(_0x2b9b7e,_0x28d9fc){const _0x4f715b=_0x4f71();return _0x44d9=function(_0x44d9b9,_0x245732){_0x44d9b9=_0x44d9b9-0xed;let _0x5e436b=_0x4f715b[_0x44d9b9];return _0x5e436b;},_0x44d9(_0x2b9b7e,_0x28d9fc);}import _0x111c75 from'node:path';import _0x42a80c from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x219174(0xff)]),__dirname=dirname(__filename);function _0x4f71(){const _0x2f484a=['3152736wPlrFr','url','/wrapper.node','curVersion','\x22);\x0aexports\x20=\x20module.exports;\x0a','default','resources/app/versions/','existsSync','5710299juDtlR','execPath','./resources/app/wrapper.node','dirname','469715ORIHxO','12681513SfDfKU','241796YsbGvm','file://','writeFileSync','1626itnFcL','join','39RVpzCW','2685vmjjZm','1815080BrsefV','\x0amodule.exports\x20=\x20require(\x22'];_0x4f71=function(){return _0x2f484a;};return _0x4f71();}let wrapperNodePath=_0x111c75['resolve'](_0x111c75[_0x219174(0xf2)](process[_0x219174(0xf0)]),_0x219174(0xf1));!_0x42a80c[_0x219174(0xee)](wrapperNodePath)&&(wrapperNodePath=_0x111c75[_0x219174(0xf9)](_0x111c75['dirname'](process['execPath']),_0x219174(0xed)+qqVersionConfigInfo[_0x219174(0x101)]+_0x219174(0x100)));let WrapperLoader=_0x111c75[_0x219174(0xf9)](__dirname,'WrapperLoader.cjs');_0x42a80c[_0x219174(0xf7)](WrapperLoader,_0x219174(0xfd)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x219174(0x102));const QQWrapper=(await import(_0x219174(0xf6)+WrapperLoader))[_0x219174(0x103)];export default QQWrapper; \ No newline at end of file