From 8c96838441f5abf70d363d1dd12e11da25e2cc8f 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: Wed, 22 May 2024 20:13:18 +0800 Subject: [PATCH] refactor: cjs to es --- package.json | 1 - 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 +- 42 files changed, 41 insertions(+), 42 deletions(-) diff --git a/package.json b/package.json index 350d605e..61cf3a35 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ }, "devDependencies": { "@log4js-node/log4js-api": "^1.0.2", - "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", "@types/cors": "^2.8.17", diff --git a/src/core b/src/core index 8737a0bc..821ecd85 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 8737a0bca3820cc19f6612c7d295de8f1bd95f27 +Subproject commit 821ecd85f353a27b72f500ba4698d9b55b11ca6e diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index cdb93b85..4c104a09 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x3305(){var _0x5d2f7d=['420785nPlvoH','6012804oPECyK','10032888AyMRlS','241118xNNpJf','1OwqLgT','27pHlwbE','2063889ZYJmqp','5995560tZvPQp','28dlRqIB','5941790qVtDux','onMSFStatusChange','onMSFSsoError'];_0x3305=function(){return _0x5d2f7d;};return _0x3305();}var _0x17e86a=_0x252d;(function(_0x28cb51,_0x357e45){var _0x3d3994=_0x252d,_0x25ff79=_0x28cb51();while(!![]){try{var _0x9d0f03=parseInt(_0x3d3994(0x1a3))/0x1*(parseInt(_0x3d3994(0x1a2))/0x2)+-parseInt(_0x3d3994(0x1a5))/0x3+parseInt(_0x3d3994(0x1a7))/0x4*(parseInt(_0x3d3994(0x19f))/0x5)+parseInt(_0x3d3994(0x1a6))/0x6+-parseInt(_0x3d3994(0x1a0))/0x7+-parseInt(_0x3d3994(0x1a1))/0x8+-parseInt(_0x3d3994(0x1a4))/0x9*(-parseInt(_0x3d3994(0x1a8))/0xa);if(_0x9d0f03===_0x357e45)break;else _0x25ff79['push'](_0x25ff79['shift']());}catch(_0x29c4a0){_0x25ff79['push'](_0x25ff79['shift']());}}}(_0x3305,0xa88e9));function _0x252d(_0x560000,_0x421eea){var _0x330502=_0x3305();return _0x252d=function(_0x252d5c,_0x3d0062){_0x252d5c=_0x252d5c-0x19f;var _0x1f03b5=_0x330502[_0x252d5c];return _0x1f03b5;},_0x252d(_0x560000,_0x421eea);}export class DependsAdapter{[_0x17e86a(0x1a9)](_0x1d158a,_0x40466d){}[_0x17e86a(0x1aa)](_0x42cb1d){}['getGroupCode'](_0x1fd0bd){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index bc0c1107..0a3a7349 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x73d8(){var _0x358ac8=['117174jzYsHJ','701800HrLQjH','dispatchCall','168QNWMke','15883330dqnSMo','136scELZQ','5461960jxMkoy','1383100xdCtLs','dispatchCallWithJson','599841ZqbIlM','4iuaPgV','721533tsIKPk'];_0x73d8=function(){return _0x358ac8;};return _0x73d8();}var _0x49a849=_0x392a;(function(_0x5ff407,_0x547fdf){var _0x5d82da=_0x392a,_0x3469ae=_0x5ff407();while(!![]){try{var _0x11ade2=parseInt(_0x5d82da(0x171))/0x1+parseInt(_0x5d82da(0x17a))/0x2*(parseInt(_0x5d82da(0x17b))/0x3)+-parseInt(_0x5d82da(0x177))/0x4+-parseInt(_0x5d82da(0x176))/0x5+-parseInt(_0x5d82da(0x17c))/0x6*(-parseInt(_0x5d82da(0x173))/0x7)+-parseInt(_0x5d82da(0x175))/0x8*(parseInt(_0x5d82da(0x179))/0x9)+parseInt(_0x5d82da(0x174))/0xa;if(_0x11ade2===_0x547fdf)break;else _0x3469ae['push'](_0x3469ae['shift']());}catch(_0x477b09){_0x3469ae['push'](_0x3469ae['shift']());}}}(_0x73d8,0xa33eb));function _0x392a(_0x55e8e0,_0x3c6055){var _0x73d859=_0x73d8();return _0x392a=function(_0x392aa3,_0x5b8c51){_0x392aa3=_0x392aa3-0x171;var _0x484cbc=_0x73d859[_0x392aa3];return _0x484cbc;},_0x392a(_0x55e8e0,_0x3c6055);}export class DispatcherAdapter{['dispatchRequest'](_0xec0593){}[_0x49a849(0x172)](_0x4e3d2b){}[_0x49a849(0x178)](_0x5bd2b7){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index 8420e740..4f8d284b 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x3a93c1=_0x3800;function _0x37ad(){var _0x3ec5d5=['187962WdKBdK','onInstallFinished','fixPicImgType','44jfniuU','2685328uztrQg','96TKGLMv','246630oVEYhS','onShowErrUITips','192709OVnuPv','473086ISSlOu','405SRxtvt','63530LcMpfq','onGetOfflineMsg','onUpdateGeneralFlag','getAppSetting','onGetSrvCalTime','794466UKumcN','336kuuakM','7xXaDIW'];_0x37ad=function(){return _0x3ec5d5;};return _0x37ad();}(function(_0x2a6197,_0xeb33d7){var _0x5c9f46=_0x3800,_0x53d548=_0x2a6197();while(!![]){try{var _0x11f391=-parseInt(_0x5c9f46(0xe5))/0x1+-parseInt(_0x5c9f46(0xd9))/0x2+parseInt(_0x5c9f46(0xdc))/0x3*(parseInt(_0x5c9f46(0xdf))/0x4)+parseInt(_0x5c9f46(0xe2))/0x5*(parseInt(_0x5c9f46(0xe1))/0x6)+parseInt(_0x5c9f46(0xdb))/0x7*(-parseInt(_0x5c9f46(0xe0))/0x8)+-parseInt(_0x5c9f46(0xd3))/0x9*(parseInt(_0x5c9f46(0xd4))/0xa)+parseInt(_0x5c9f46(0xe4))/0xb*(parseInt(_0x5c9f46(0xda))/0xc);if(_0x11f391===_0xeb33d7)break;else _0x53d548['push'](_0x53d548['shift']());}catch(_0x4aef9c){_0x53d548['push'](_0x53d548['shift']());}}}(_0x37ad,0x74790));function _0x3800(_0x283f4a,_0x5c74fe){var _0x37ad6e=_0x37ad();return _0x3800=function(_0x380076,_0x9bbf11){_0x380076=_0x380076-0xd3;var _0x266c42=_0x37ad6e[_0x380076];return _0x266c42;},_0x3800(_0x283f4a,_0x5c74fe);}export class GlobalAdapter{['onLog'](..._0x51d1e8){}[_0x3a93c1(0xd8)](..._0x528909){}[_0x3a93c1(0xe3)](..._0x22ab84){}[_0x3a93c1(0xde)](..._0x116afb){}[_0x3a93c1(0xd7)](..._0x251d58){}[_0x3a93c1(0xdd)](..._0x490c47){}[_0x3a93c1(0xd6)](..._0x49bb4c){}[_0x3a93c1(0xd5)](..._0x4dc0e5){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index 09d40872..6a533145 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x53c7d5,_0x202c7d){var _0x5e2d88=_0x3b8e,_0x509ed2=_0x53c7d5();while(!![]){try{var _0x4e3260=parseInt(_0x5e2d88(0xf4))/0x1+parseInt(_0x5e2d88(0xfb))/0x2*(-parseInt(_0x5e2d88(0xf9))/0x3)+-parseInt(_0x5e2d88(0xfa))/0x4*(-parseInt(_0x5e2d88(0xf8))/0x5)+-parseInt(_0x5e2d88(0xf5))/0x6+parseInt(_0x5e2d88(0xf7))/0x7+parseInt(_0x5e2d88(0xf2))/0x8*(parseInt(_0x5e2d88(0xf6))/0x9)+-parseInt(_0x5e2d88(0xf3))/0xa*(parseInt(_0x5e2d88(0xf1))/0xb);if(_0x4e3260===_0x202c7d)break;else _0x509ed2['push'](_0x509ed2['shift']());}catch(_0x3174e8){_0x509ed2['push'](_0x509ed2['shift']());}}}(_0x2445,0xa405f));export*from'./NodeIDependsAdapter';function _0x3b8e(_0x1d504f,_0x13605e){var _0x244532=_0x2445();return _0x3b8e=function(_0x3b8ec4,_0x445cee){_0x3b8ec4=_0x3b8ec4-0xf1;var _0x8c9807=_0x244532[_0x3b8ec4];return _0x8c9807;},_0x3b8e(_0x1d504f,_0x13605e);}function _0x2445(){var _0x2ae2ea=['1065169byvMoG','1361940SIalDQ','55533IbQTsh','4nWSxXi','94XnPvUI','146003EvjmQW','67168dDSiaN','370GdjiUl','1091699JptIPS','4808814CPQkEB','1413HDRUvb'];_0x2445=function(){return _0x2ae2ea;};return _0x2445();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(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 diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 89eba974..ad9a1bac 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x4eb431=_0x251a;(function(_0x1113dd,_0x265a15){const _0x2c145d=_0x251a,_0x28d72f=_0x1113dd();while(!![]){try{const _0x4b789a=parseInt(_0x2c145d(0xc9))/0x1*(parseInt(_0x2c145d(0xf3))/0x2)+parseInt(_0x2c145d(0xc7))/0x3+parseInt(_0x2c145d(0xd0))/0x4+-parseInt(_0x2c145d(0xf1))/0x5*(parseInt(_0x2c145d(0x107))/0x6)+-parseInt(_0x2c145d(0xd6))/0x7+parseInt(_0x2c145d(0xed))/0x8*(-parseInt(_0x2c145d(0xf6))/0x9)+-parseInt(_0x2c145d(0xe5))/0xa*(-parseInt(_0x2c145d(0xef))/0xb);if(_0x4b789a===_0x265a15)break;else _0x28d72f['push'](_0x28d72f['shift']());}catch(_0x31493e){_0x28d72f['push'](_0x28d72f['shift']());}}}(_0x2a5e,0xaf434));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x99992e from'path';import _0x387cd0 from'fs';import _0x5651c6 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x251a(_0x416efe,_0x452d97){const _0x2a5e5f=_0x2a5e();return _0x251a=function(_0x251a29,_0x5b738c){_0x251a29=_0x251a29-0xb7;let _0x4d813a=_0x2a5e5f[_0x251a29];return _0x4d813a;},_0x251a(_0x416efe,_0x452d97);}import*as _0x307769 from'file-type';import{MsgListener}from'@/core/listeners';import _0x31f731 from'image-size';function _0x2a5e(){const _0x4c072f=['addCacheScannedPaths','getImageUrl','getRkey','JNtoo','session','1100832LNcsKj','PIC','/download','private_rkey','unlink','gVjlB','5759327OKcLYm','JbwJj','downloadPath','iixDc','md5HexStr','filePath','wPmzF','svbkW','BWBTX','fileUuid','startsWith','lVuXB','start\x20downloadMedia','getFileSize','yPCrW','10jYUTwf','jYtJs','downloadRichMedia','zXSyW','uDQvY','includes','hYpJb','existsSync','313752tCkvnk','basename','4749437LLYhNC','addCacheScanedPaths','3301055zWWeoj','vspwo','4OKuLPS','clearCache','hotUpdate','153NDYeve','join','scanCache','uploadFile','downloadMedia\x20complete','CixPX','copyFile','util','defaultFileDownloadPath','onRichMediaDownloadComplete','getFileCacheInfo','delete','NbQfn','group_rkey','fileTypeFromFile','addListener','getMsgService','6Zizmox','ext','CNWxb','originImageUrl','getRichMediaFilePathForGuild','图片url获取失败','receive\x20downloadMedia\x20task','getFileType','CYGOU','clearChatCache','getStorageCleanService','getChatCacheInfo','indexOf','clearChatCacheInfo','bpKow','CprRH','UdbVS','tmp','AHpNZ','3015840UHuTeb','setCacheSilentScan','577658qnOtUT','pabNS'];_0x2a5e=function(){return _0x4c072f;};return _0x2a5e();}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[_0x4eb431(0xff)]=_0x38fad2=>{const _0x37fc52=_0x4eb431,_0x5014c7={'yPCrW':function(_0x27dcba,_0x2ec851){return _0x27dcba(_0x2ec851);}};for(const [_0x4bc966,_0x1a3114]of downloadMediaTasks){_0x5014c7[_0x37fc52(0xe4)](_0x1a3114,_0x38fad2),downloadMediaTasks[_0x37fc52(0x101)](_0x4bc966);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x4fabc6=_0x251a;napCatCore[_0x4fabc6(0x105)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x4eb431(0xbb)](_0x11ce40){const _0x540fc8=_0x4eb431;return _0x307769[_0x540fc8(0x104)](_0x11ce40);}static async[_0x4eb431(0xfc)](_0x48e0bc,_0x57dd9e){const _0x37aa21=_0x4eb431;await napCatCore[_0x37aa21(0xfd)][_0x37aa21(0xfc)](_0x48e0bc,_0x57dd9e);}static async['getFileSize'](_0x314287){const _0x1b2f65=_0x4eb431;return await napCatCore[_0x1b2f65(0xfd)][_0x1b2f65(0xe3)](_0x314287);}static async[_0x4eb431(0xf9)](_0x462220,_0x2a791a=ElementType[_0x4eb431(0xd1)],_0x3f40be=0x0){const _0x51bc00=_0x4eb431,_0x24e95f={'zXSyW':function(_0x4533c0,_0x5f2da9){return _0x4533c0(_0x5f2da9);},'svbkW':function(_0x41c951,_0x2fac00){return _0x41c951+_0x2fac00;},'SwmRs':function(_0x239470,_0x5b8b62){return _0x239470===_0x5b8b62;}},_0x4edbb2=await _0x24e95f[_0x51bc00(0xe8)](calculateFileMD5,_0x462220);let _0x47919f=(await NTQQFileApi[_0x51bc00(0xbb)](_0x462220))?.[_0x51bc00(0x108)]||'';_0x47919f&&(_0x47919f=_0x24e95f[_0x51bc00(0xdd)]('.',_0x47919f));let _0x5af2ae=''+_0x99992e[_0x51bc00(0xee)](_0x462220);_0x24e95f['SwmRs'](_0x5af2ae[_0x51bc00(0xc0)]('.'),-0x1)&&(_0x5af2ae+=_0x47919f);const _0x39de45=napCatCore['session'][_0x51bc00(0x106)]()[_0x51bc00(0xb8)]({'md5HexStr':_0x4edbb2,'fileName':_0x5af2ae,'elementType':_0x2a791a,'elementSubType':_0x3f40be,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x462220,_0x39de45);const _0x3124f1=await NTQQFileApi['getFileSize'](_0x462220);return{'md5':_0x4edbb2,'fileName':_0x5af2ae,'path':_0x39de45,'fileSize':_0x3124f1,'ext':_0x47919f};}static async['downloadMedia'](_0xb4a3c3,_0x439800,_0x99a2d1,_0x1eb39a,_0x5ae41d,_0x513c4a,_0x2d4992=0x3e8*0x3c*0x2,_0x18cdc5=![]){const _0x24b0af=_0x4eb431,_0x5772ae={'gVjlB':function(_0x455580,_0x2c5fcb){return _0x455580(_0x2c5fcb);},'CixPX':'下载超时','BWBTX':function(_0xe5588f,_0x1d2785,_0x59f61a,_0x49124f){return _0xe5588f(_0x1d2785,_0x59f61a,_0x49124f);},'CYGOU':_0x24b0af(0xfa),'iixDc':function(_0x4ae795,_0xc8f803){return _0x4ae795===_0xc8f803;},'ankJz':_0x24b0af(0xd8),'PMvkz':function(_0x523694,_0x402744){return _0x523694(_0x402744);},'CprRH':function(_0x512d7f){return _0x512d7f();},'hBUha':function(_0x5eaa8e,_0x366658,_0x4c5c04){return _0x5eaa8e(_0x366658,_0x4c5c04);},'jYtJs':function(_0x4c7910,_0x333a82,_0x2724df,_0x21c0e2,_0x46eefa,_0x322166,_0x2ba40e,_0x28f0a3,_0x334e8d,_0x1f35ad){return _0x4c7910(_0x333a82,_0x2724df,_0x21c0e2,_0x46eefa,_0x322166,_0x2ba40e,_0x28f0a3,_0x334e8d,_0x1f35ad);},'wPmzF':_0x24b0af(0xe2)};logDebug(_0x24b0af(0xba),_0xb4a3c3,_0x439800,_0x99a2d1,_0x1eb39a,_0x5ae41d,_0x513c4a,_0x2d4992,_0x18cdc5);if(_0x513c4a&&_0x387cd0[_0x24b0af(0xec)](_0x513c4a)){if(_0x18cdc5)try{await _0x5651c6[_0x24b0af(0xd4)](_0x513c4a);}catch(_0x5eaeb5){}else return _0x513c4a;}return _0x5772ae[_0x24b0af(0xe6)](logDebug,_0x5772ae[_0x24b0af(0xdc)],_0xb4a3c3,_0x439800,_0x99a2d1,_0x1eb39a,_0x5ae41d,_0x513c4a,_0x2d4992,_0x18cdc5),new Promise((_0x5018ea,_0x3bd4ee)=>{const _0x524fd5=_0x24b0af,_0x92dd10={'SEwTC':function(_0x2dd88b,_0xe4e967,_0x4e8d85,_0x4a2bee){const _0x5281ab=_0x251a;return _0x5772ae[_0x5281ab(0xde)](_0x2dd88b,_0xe4e967,_0x4e8d85,_0x4a2bee);},'UdbVS':_0x5772ae[_0x524fd5(0xbc)],'vspwo':function(_0x2853f0,_0x5409fb){const _0x321ec5=_0x524fd5;return _0x5772ae[_0x321ec5(0xd9)](_0x2853f0,_0x5409fb);},'bpKow':_0x5772ae['ankJz'],'JNtoo':function(_0x1958f2,_0x2199cb){return _0x5772ae['PMvkz'](_0x1958f2,_0x2199cb);}};let _0x30468f=![];const _0x4fa89e=_0x3d113b=>{const _0x2b48b1=_0x524fd5;_0x92dd10['SEwTC'](logDebug,_0x92dd10[_0x2b48b1(0xc4)],_0x3d113b,_0xb4a3c3);if(_0x92dd10[_0x2b48b1(0xf2)](_0x3d113b['msgId'],_0xb4a3c3)){_0x30468f=!![];let _0x223073=_0x3d113b[_0x2b48b1(0xdb)];if(_0x223073[_0x2b48b1(0xe0)]('\x5c')){const _0x5b4bee=sessionConfig[_0x2b48b1(0xfe)];logDebug(_0x92dd10[_0x2b48b1(0xc2)],_0x5b4bee),_0x223073=_0x99992e[_0x2b48b1(0xf7)](_0x5b4bee,_0x223073);}_0x92dd10[_0x2b48b1(0xce)](_0x5018ea,_0x223073);}};downloadMediaTasks['set'](_0x5772ae[_0x524fd5(0xc3)](randomUUID),_0x4fa89e),_0x5772ae['hBUha'](setTimeout,()=>{const _0x3993f2=_0x524fd5;!_0x30468f&&_0x5772ae[_0x3993f2(0xd5)](_0x3bd4ee,_0x5772ae[_0x3993f2(0xfb)]);},_0x2d4992),napCatCore[_0x524fd5(0xcf)][_0x524fd5(0x106)]()[_0x524fd5(0xe7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0xb4a3c3,'chatType':_0x439800,'peerUid':_0x99a2d1,'elementId':_0x1eb39a,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x5ae41d});});}static async['getImageSize'](_0x448f72){const _0x1b4e63={'qvGRp':function(_0x33a6dd,_0x277201){return _0x33a6dd(_0x277201);},'hYpJb':function(_0xf4d80c,_0x187d6b){return _0xf4d80c(_0x187d6b);}};return new Promise((_0xb9dac3,_0x4f7231)=>{_0x31f731(_0x448f72,(_0x18d1b5,_0x1c3afa)=>{const _0xa69879=_0x251a;_0x18d1b5?_0x1b4e63['qvGRp'](_0x4f7231,_0x18d1b5):_0x1b4e63[_0xa69879(0xeb)](_0xb9dac3,_0x1c3afa);});});}static async[_0x4eb431(0xcc)](_0x189954,_0x4dfcb5){const _0x3fcb60=_0x4eb431,_0x22b320={'AHpNZ':_0x3fcb60(0xd2),'JbwJj':function(_0x2aeb5b,_0x19e9df){return _0x2aeb5b+_0x19e9df;},'mucGH':function(_0xab9607,_0x4c97a4){return _0xab9607+_0x4c97a4;},'lVuXB':function(_0x4d05c9,_0x2a78f5){return _0x4d05c9+_0x2a78f5;},'uDQvY':function(_0x1b0144,_0x388ff6){return _0x1b0144+_0x388ff6;},'pabNS':function(_0x993e6,_0x50718e){return _0x993e6||_0x50718e;},'CNWxb':function(_0x28b665,_0x462c7f){return _0x28b665||_0x462c7f;},'NbQfn':function(_0x53be92,_0x168513,_0x2f5071){return _0x53be92(_0x168513,_0x2f5071);},'TygeB':_0x3fcb60(0xb9)};if(!_0x189954)return'';const _0x536fa0=_0x189954[_0x3fcb60(0xb7)],_0x1fb6f8=_0x189954[_0x3fcb60(0xda)],_0x3335a6=_0x189954[_0x3fcb60(0xda)],_0x4f4ec3=_0x189954[_0x3fcb60(0xdf)];if(_0x536fa0){if(_0x536fa0[_0x3fcb60(0xe0)](_0x22b320[_0x3fcb60(0xc6)])){if(_0x536fa0[_0x3fcb60(0xea)]('&rkey='))return _0x22b320[_0x3fcb60(0xd7)](IMAGE_HTTP_HOST_NT,_0x536fa0);const _0x3c2352=await rkeyManager[_0x3fcb60(0xcd)](),_0x5f3b8d=_0x4dfcb5?_0x3c2352[_0x3fcb60(0xd3)]:_0x3c2352[_0x3fcb60(0x103)];return _0x22b320['mucGH'](_0x22b320[_0x3fcb60(0xe1)](IMAGE_HTTP_HOST_NT,_0x536fa0),''+_0x5f3b8d);}else return _0x22b320[_0x3fcb60(0xe9)](IMAGE_HTTP_HOST,_0x536fa0);}else{if(_0x22b320[_0x3fcb60(0xca)](_0x3335a6,_0x1fb6f8))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x22b320[_0x3fcb60(0x109)](_0x3335a6,_0x1fb6f8)['toUpperCase']()+'/0';}return _0x22b320[_0x3fcb60(0x102)](logDebug,_0x22b320['TygeB'],_0x189954),'';}}export class NTQQFileCacheApi{static async[_0x4eb431(0xc8)](_0x437ec9=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x4eb431(0xf4)](_0x5b6732=[_0x4eb431(0xc5),_0x4eb431(0xf5)]){const _0x3b6502=_0x4eb431;return napCatCore[_0x3b6502(0xcf)]['getStorageCleanService']()['clearCacheDataByKeys'](_0x5b6732);}static[_0x4eb431(0xcb)](_0x593f37={}){const _0xdc8d9e=_0x4eb431;return napCatCore['session'][_0xdc8d9e(0xbe)]()[_0xdc8d9e(0xf0)](_0x593f37);}static[_0x4eb431(0xf8)](){const _0x578c82=_0x4eb431;return napCatCore[_0x578c82(0xcf)][_0x578c82(0xbe)]()[_0x578c82(0xf8)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static['getChatCacheList'](_0x3623ad,_0x2e306b=0x3e8,_0x16b3be=0x0){const _0x326003=_0x4eb431;return napCatCore[_0x326003(0xcf)]['getStorageCleanService']()[_0x326003(0xbf)](_0x3623ad,_0x2e306b,0x1,_0x16b3be);}static[_0x4eb431(0x100)](_0x5cde10,_0x32638b=0x3e8,_0x841794){const _0x2600ba=_0x841794?_0x841794:{'fileType':_0x5cde10};}static async[_0x4eb431(0xbd)](_0x5c70d3=[],_0x4ee92f=[]){const _0x12c171=_0x4eb431;return napCatCore['session']['getStorageCleanService']()[_0x12c171(0xc1)](_0x5c70d3,_0x4ee92f);}} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index 603c89bd..f4e16369 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x20713c=_0xf67e;(function(_0x1c96d5,_0x37fc3b){const _0x461661=_0xf67e,_0x458b98=_0x1c96d5();while(!![]){try{const _0x598808=parseInt(_0x461661(0x119))/0x1*(parseInt(_0x461661(0x106))/0x2)+parseInt(_0x461661(0x117))/0x3+parseInt(_0x461661(0xff))/0x4*(-parseInt(_0x461661(0x110))/0x5)+-parseInt(_0x461661(0xfd))/0x6*(parseInt(_0x461661(0x10b))/0x7)+-parseInt(_0x461661(0x109))/0x8*(-parseInt(_0x461661(0x10d))/0x9)+-parseInt(_0x461661(0x116))/0xa+-parseInt(_0x461661(0x108))/0xb*(parseInt(_0x461661(0x104))/0xc);if(_0x598808===_0x37fc3b)break;else _0x458b98['push'](_0x458b98['shift']());}catch(_0x59ceed){_0x458b98['push'](_0x458b98['shift']());}}}(_0x286f,0xa0522));function _0x286f(){const _0x196ba8=['507876kXKQfR','delete','handleFriendRequest','PzAkw','reqTime','5604NytGhM','getBuddyList','862166iCFBNH','friendUid','3091ZLWDaF','280IHxrnP','uid','1018409rivpUZ','push','253683AGqfff','获取好友列表完成','addListener','5mVjsyJ','WonYc','KKUTx','onBuddyListChange','RwOGx','uin','3615940uAKbRX','2195274WNbZAU','LLaSA','1PmPYSA','getBuddyService','获取好友列表超时','开始获取好友列表','session','set','AQhil','getFriends','then','HyQLo','CmzET','36estnjp','YOFgB'];_0x286f=function(){return _0x196ba8;};return _0x286f();}import{BuddyListener,napCatCore}from'@/core';function _0xf67e(_0x3b00ac,_0x2825e0){const _0x286f26=_0x286f();return _0xf67e=function(_0xf67e54,_0x42f971){_0xf67e54=_0xf67e54-0xf9;let _0xb87c3b=_0x286f26[_0xf67e54];return _0xb87c3b;},_0xf67e(_0x3b00ac,_0x2825e0);}import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x20713c(0x113)]=_0x1cbced=>{const _0xdc8f7a=_0x20713c,_0x578d9e={'YOFgB':function(_0x42ff4b,_0x359cb2){return _0x42ff4b(_0x359cb2);}};for(const [_0x3c082c,_0x2bbb8e]of buddyChangeTasks){_0x578d9e[_0xdc8f7a(0xfe)](_0x2bbb8e,_0x1cbced),buddyChangeTasks[_0xdc8f7a(0x100)](_0x3c082c);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x228708=_0xf67e;napCatCore[_0x228708(0x10f)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x20713c(0xf9)](_0xa39a51=![]){const _0x46fe8e=_0x20713c,_0x3de823={'CmzET':function(_0x3bd0fa,_0x301462,_0x163904){return _0x3bd0fa(_0x301462,_0x163904);},'FXpek':_0x46fe8e(0x10e),'KKUTx':function(_0x638377,_0x5216c4){return _0x638377(_0x5216c4);},'PzAkw':function(_0xfd1931,_0x14572b){return _0xfd1931(_0x14572b);},'RvBmA':_0x46fe8e(0x11b),'bAATm':function(_0x155295,_0x2b4076,_0x247f00){return _0x155295(_0x2b4076,_0x247f00);},'RwOGx':_0x46fe8e(0x11c),'JlfvC':function(_0x3555d8){return _0x3555d8();}};return new Promise((_0x528a51,_0x569c3a)=>{const _0x109980=_0x46fe8e,_0x17da8a={'HyQLo':function(_0x3945f6,_0x33440d){const _0xbbe191=_0xf67e;return _0x3de823[_0xbbe191(0x102)](_0x3945f6,_0x33440d);},'AQhil':_0x3de823['RvBmA'],'NmujT':function(_0x452084,_0x1a025c){return _0x452084(_0x1a025c);},'LLaSA':function(_0x142728,_0x35f201,_0x1c89cf){return _0x3de823['bAATm'](_0x142728,_0x35f201,_0x1c89cf);},'WonYc':_0x3de823[_0x109980(0x114)]};let _0x141bab=![];_0x3de823['bAATm'](setTimeout,()=>{const _0x366201=_0x109980;!_0x141bab&&(_0x17da8a[_0x366201(0xfb)](logDebug,_0x17da8a[_0x366201(0x11f)]),_0x17da8a['NmujT'](_0x569c3a,_0x17da8a[_0x366201(0x11f)]));},0x1388);const _0x4ae482=[],_0x3cd256=_0x3e7ab0=>{const _0x190546=_0x109980;for(const _0x4a4cdf of _0x3e7ab0){for(const _0x2dd091 of _0x4a4cdf['buddyList']){_0x4ae482[_0x190546(0x10c)](_0x2dd091),uid2UinMap[_0x2dd091[_0x190546(0x10a)]]=_0x2dd091[_0x190546(0x115)];}}_0x141bab=!![],_0x3de823[_0x190546(0xfc)](logDebug,_0x3de823['FXpek'],_0x4ae482),_0x3de823[_0x190546(0x112)](_0x528a51,_0x4ae482);};buddyChangeTasks[_0x109980(0x11e)](_0x3de823['JlfvC'](randomUUID),_0x3cd256),napCatCore[_0x109980(0x11d)][_0x109980(0x11a)]()[_0x109980(0x105)](_0xa39a51)[_0x109980(0xfa)](_0x3bf035=>{const _0x5e2ab7=_0x109980;_0x17da8a[_0x5e2ab7(0x118)](logDebug,_0x17da8a[_0x5e2ab7(0x111)],_0x3bf035);});});}static async[_0x20713c(0x101)](_0x2aae67,_0x2f866a){const _0xf2b37b=_0x20713c;napCatCore[_0xf2b37b(0x11d)][_0xf2b37b(0x11a)]()?.['approvalFriendRequest']({'friendUid':_0x2aae67[_0xf2b37b(0x107)],'reqTime':_0x2aae67[_0xf2b37b(0x103)],'accept':_0x2f866a});}} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index 102a377b..d2442be7 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x3bb1(_0x2e12ec,_0x27a007){const _0xa634a6=_0xa634();return _0x3bb1=function(_0x3bb1a1,_0x4321d6){_0x3bb1a1=_0x3bb1a1-0x109;let _0x1d17a4=_0xa634a6[_0x3bb1a1];return _0x1d17a4;},_0x3bb1(_0x2e12ec,_0x27a007);}const _0x45ac04=_0x3bb1;(function(_0x22627f,_0x4ee73c){const _0x4a4652=_0x3bb1,_0x498aff=_0x22627f();while(!![]){try{const _0x1c764d=-parseInt(_0x4a4652(0x133))/0x1*(-parseInt(_0x4a4652(0x147))/0x2)+-parseInt(_0x4a4652(0x11d))/0x3+-parseInt(_0x4a4652(0x138))/0x4+-parseInt(_0x4a4652(0x123))/0x5*(parseInt(_0x4a4652(0x149))/0x6)+parseInt(_0x4a4652(0x141))/0x7+-parseInt(_0x4a4652(0x143))/0x8+-parseInt(_0x4a4652(0x11e))/0x9*(-parseInt(_0x4a4652(0x122))/0xa);if(_0x1c764d===_0x4ee73c)break;else _0x498aff['push'](_0x498aff['shift']());}catch(_0x523d41){_0x498aff['push'](_0x498aff['shift']());}}}(_0xa634,0xa26f8));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';function _0xa634(){const _0x4a4035=['result','getPSkey','uin','qun.qq.com','ORGjF','errMsg','337zTRSLm','getGroups','getGroupMembers','QgOvg','sBujB','4589276EYiNZT','PXbGD','infos','getNextMemberList','setGroupTitle','PZIBR','onGroupSingleScreenNotifies','getGroupIgnoreNotifies','获取群成员列表出错,','2755263FmnGZy','SdWBb','9557384DQlgyi','rRROx','finish','quitGroup','7574NUnAPX','getGroupService','6212298xaGeHO','setGroupName','获取群系统消息列表完成','session','groupCode','getGroupList','getSingleScreenNotifies','group','UTWLw','getGroupNotifies','MqNWG','uKmDY','kickMember','VbxwB','sOYCM','delete','createMemberListScene','uploadGroupBulletinPic','addListener','banMember','modifyMemberRole','seq','setMemberShutUp','BygYG','3007200iUKlSJ','97677KSDdIV','modifyMemberCardName','NTzkU','onLoginSuccess','3110LBKkwd','5aeixEC','获取群列表完成','csNHn','bBqOV','banGroup','errCode','nZWmO','publishGroupBulletin','uid','finish:\x20'];_0xa634=function(){return _0x4a4035;};return _0xa634();}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[_0x45ac04(0x13e)]=(_0x6db9a3,_0x1e312f,_0x16e8f3)=>{const _0x5376fe=_0x45ac04,_0x456cf6={'UTWLw':function(_0x408eb1,_0x18fbce,_0x564127,_0x27988){return _0x408eb1(_0x18fbce,_0x564127,_0x27988);}};for(const [_0x25c407,_0x1ad351]of SingleScreenNotifiesTasks){_0x456cf6[_0x5376fe(0x10d)](_0x1ad351,_0x6db9a3,_0x1e312f,_0x16e8f3),groupMemberTasks['delete'](_0x25c407);}},groupListener['onGroupListUpdate']=(_0x5eeded,_0x32b447)=>{const _0x274b72=_0x45ac04,_0x5711b8={'BygYG':function(_0x3caaee,_0x2d51dd,_0x5af4e2){return _0x3caaee(_0x2d51dd,_0x5af4e2);}};for(const [_0x14c276,_0x25fbd8]of groupMemberTasks){_0x5711b8[_0x274b72(0x11c)](_0x25fbd8,_0x5eeded,_0x32b447),groupMemberTasks[_0x274b72(0x114)](_0x14c276);}},setTimeout(()=>{const _0x5ae667=_0x45ac04;napCatCore[_0x5ae667(0x121)](()=>{const _0x286576=_0x5ae667;napCatCore[_0x286576(0x117)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x45ac04(0x134)](_0xa1fe9c=![]){const _0x50808d={'MqNWG':'获取群列表超时','PXbGD':function(_0x4a0bcd,_0x91431a){return _0x4a0bcd(_0x91431a);},'sBujB':function(_0x197c4b,_0x43b799,_0x2a0ee4){return _0x197c4b(_0x43b799,_0x2a0ee4);}};let _0x382d3d=![];return new Promise((_0x194838,_0x45a789)=>{const _0x246641=_0x3bb1,_0x286407={'ORGjF':_0x50808d[_0x246641(0x10f)],'csNHn':function(_0x490f27,_0x475a5c){const _0x2fc107=_0x246641;return _0x50808d[_0x2fc107(0x139)](_0x490f27,_0x475a5c);}};_0x50808d[_0x246641(0x137)](setTimeout,()=>{const _0x590dcd=_0x246641;!_0x382d3d&&(logDebug(_0x286407[_0x590dcd(0x131)]),_0x45a789(_0x286407[_0x590dcd(0x131)]));},0x1388);const _0x3d5f41=(_0x1a49db,_0x3787e9)=>{const _0x23616e=_0x246641;_0x382d3d=!![],logDebug(_0x23616e(0x124),_0x3787e9),_0x286407[_0x23616e(0x125)](_0x194838,_0x3787e9);};groupMemberTasks['set'](randomUUID(),_0x3d5f41),napCatCore[_0x246641(0x14c)][_0x246641(0x148)]()[_0x246641(0x10a)](_0xa1fe9c)['then']();});}static async['getSingleScreenNotifies'](_0xeda67f){const _0x35df8f=_0x45ac04,_0x284588={'sOYCM':_0x35df8f(0x14b),'PZIBR':function(_0x3f2cca,_0x527cf7){return _0x3f2cca(_0x527cf7);},'VbxwB':function(_0x3910e0,_0x21d8c5,_0x3ffbb8){return _0x3910e0(_0x21d8c5,_0x3ffbb8);},'uKmDY':function(_0x1a3d72){return _0x1a3d72();}},_0x3ba07d=napCatCore[_0x35df8f(0x14c)][_0x35df8f(0x148)]();return new Promise((_0x502b12,_0x138c57)=>{const _0x494cd4=_0x35df8f,_0x2c7fd1={'uysTt':function(_0x44567b,_0x49fb83){return _0x44567b(_0x49fb83);},'NTzkU':'获取群系统消息列表超时','UcxTL':function(_0x567629,_0x1a460a){const _0x3ab2dd=_0x3bb1;return _0x284588[_0x3ab2dd(0x13d)](_0x567629,_0x1a460a);}};let _0xa7608f=![];_0x284588[_0x494cd4(0x112)](setTimeout,()=>{const _0x39684b=_0x494cd4;!_0xa7608f&&(_0x2c7fd1['uysTt'](logDebug,_0x2c7fd1[_0x39684b(0x120)]),_0x2c7fd1['UcxTL'](_0x138c57,_0x2c7fd1[_0x39684b(0x120)]));},0x1388);const _0x73aa5c=(_0x46bcc2,_0x2840a6,_0x233177)=>{const _0x14af61=_0x494cd4;_0xa7608f=!![],logDebug(_0x284588[_0x14af61(0x113)],_0x233177),_0x284588[_0x14af61(0x13d)](_0x502b12,_0x233177);};SingleScreenNotifiesTasks['set'](_0x284588[_0x494cd4(0x110)](randomUUID),_0x73aa5c),_0x3ba07d[_0x494cd4(0x10b)](![],'',_0xeda67f);});}static async[_0x45ac04(0x135)](_0xff32fe,_0x121140=0xbb8){const _0x3db195=_0x45ac04,_0x284a82={'rRROx':function(_0x49571d,_0xdfb6f2){return _0x49571d!==_0xdfb6f2;},'SdWBb':function(_0xd1092d,_0x17a76e){return _0xd1092d+_0x17a76e;},'lHuzy':_0x3db195(0x140),'QgOvg':function(_0x5ae925,_0x51510d,_0x2a4d4e){return _0x5ae925(_0x51510d,_0x2a4d4e);}},_0x25b2d6=napCatCore['session'][_0x3db195(0x148)](),_0x2ef40b=_0x25b2d6[_0x3db195(0x115)](_0xff32fe,'groupMemberList_MainWindow'),_0x16476b=await _0x25b2d6[_0x3db195(0x13b)](_0x2ef40b,undefined,_0x121140);if(_0x284a82[_0x3db195(0x144)](_0x16476b[_0x3db195(0x128)],0x0))throw _0x284a82[_0x3db195(0x142)](_0x284a82['lHuzy'],_0x16476b[_0x3db195(0x132)]);return _0x284a82[_0x3db195(0x136)](logDebug,'获取群('+_0xff32fe+')成员列表结果:',_0x3db195(0x12c)+_0x16476b['result'][_0x3db195(0x145)]),_0x16476b[_0x3db195(0x12d)][_0x3db195(0x13a)]['forEach'](_0x4e6e17=>{const _0x5e77fc=_0x3db195;uid2UinMap[_0x4e6e17[_0x5e77fc(0x12b)]]=_0x4e6e17[_0x5e77fc(0x12f)];}),_0x16476b['result'][_0x3db195(0x13a)];}static async[_0x45ac04(0x10e)](){}static async[_0x45ac04(0x13f)](){}static async[_0x45ac04(0x116)](_0x5792c6,_0x44e76b){const _0x6c6cf8=_0x45ac04,_0x47f4a9={'nZWmO':'qun.qq.com'},_0x40d1a0=(await NTQQUserApi['getPSkey']([_0x47f4a9[_0x6c6cf8(0x129)]]))['qun.qq.com'];return napCatCore[_0x6c6cf8(0x14c)][_0x6c6cf8(0x148)]()['uploadGroupBulletinPic'](_0x5792c6,_0x40d1a0,_0x44e76b);}static async['handleGroupRequest'](_0x4c0c21,_0x489cad,_0x5c5d58){const _0x236750=_0x45ac04;return napCatCore[_0x236750(0x14c)][_0x236750(0x148)]()['operateSysNotify'](![],{'operateType':_0x489cad,'targetMsg':{'seq':_0x4c0c21[_0x236750(0x11a)],'type':_0x4c0c21['type'],'groupCode':_0x4c0c21[_0x236750(0x10c)][_0x236750(0x109)],'postscript':_0x5c5d58||''}});}static async[_0x45ac04(0x146)](_0x3b6db7){const _0x390871=_0x45ac04;return napCatCore[_0x390871(0x14c)][_0x390871(0x148)]()[_0x390871(0x146)](_0x3b6db7);}static async['kickMember'](_0x50f7fe,_0xb27de9,_0x4628b0=![],_0x134ad6=''){const _0x3232ac=_0x45ac04;return napCatCore[_0x3232ac(0x14c)][_0x3232ac(0x148)]()[_0x3232ac(0x111)](_0x50f7fe,_0xb27de9,_0x4628b0,_0x134ad6);}static async[_0x45ac04(0x118)](_0x180aae,_0x43b9fc){const _0x4c1e43=_0x45ac04;return napCatCore['session'][_0x4c1e43(0x148)]()[_0x4c1e43(0x11b)](_0x180aae,_0x43b9fc);}static async[_0x45ac04(0x127)](_0x5ac9d6,_0x3bfa77){const _0x2ee6b9=_0x45ac04;return napCatCore[_0x2ee6b9(0x14c)][_0x2ee6b9(0x148)]()['setGroupShutUp'](_0x5ac9d6,_0x3bfa77);}static async['setMemberCard'](_0x3bd6b0,_0x647bf4,_0x6c2b5){const _0x35c21c=_0x45ac04;return napCatCore['session'][_0x35c21c(0x148)]()[_0x35c21c(0x11f)](_0x3bd6b0,_0x647bf4,_0x6c2b5);}static async['setMemberRole'](_0x12ad1a,_0x35933d,_0xa4ec11){const _0x5c01fc=_0x45ac04;return napCatCore[_0x5c01fc(0x14c)][_0x5c01fc(0x148)]()[_0x5c01fc(0x119)](_0x12ad1a,_0x35933d,_0xa4ec11);}static async[_0x45ac04(0x14a)](_0x3e51c3,_0x58140c){const _0x4b46a5=_0x45ac04;return napCatCore[_0x4b46a5(0x14c)][_0x4b46a5(0x148)]()['modifyGroupName'](_0x3e51c3,_0x58140c,![]);}static async[_0x45ac04(0x13c)](_0x3e9074,_0x56c109,_0x131eaf){}static async[_0x45ac04(0x12a)](_0x2df669,_0x3caa03,_0x567d03=undefined,_0xf4d020=0x0,_0x198d42=0x0){const _0x4a9a29=_0x45ac04,_0x36a343={'bBqOV':_0x4a9a29(0x130),'ZNbGq':function(_0x39e2ee,_0x43ae14){return _0x39e2ee(_0x43ae14);}},_0xe4a637=(await NTQQUserApi[_0x4a9a29(0x12e)]([_0x36a343[_0x4a9a29(0x126)]]))[_0x36a343[_0x4a9a29(0x126)]];let _0x2b65e2={'text':_0x36a343['ZNbGq'](encodeURI,_0x3caa03),'picInfo':_0x567d03,'oldFeedsId':'','pinned':_0xf4d020,'confirmRequired':_0x198d42};return napCatCore[_0x4a9a29(0x14c)][_0x4a9a29(0x148)]()['publishGroupBulletin'](_0x2df669,_0xe4a637,_0x2b65e2);}} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 51f19808..0dbe85d8 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x2add80,_0x2314a4){var _0x2982b0=_0x18c8,_0x32bf02=_0x2add80();while(!![]){try{var _0x365991=parseInt(_0x2982b0(0x1bd))/0x1+-parseInt(_0x2982b0(0x1ba))/0x2*(-parseInt(_0x2982b0(0x1bc))/0x3)+-parseInt(_0x2982b0(0x1b8))/0x4*(-parseInt(_0x2982b0(0x1c1))/0x5)+-parseInt(_0x2982b0(0x1c2))/0x6*(parseInt(_0x2982b0(0x1b9))/0x7)+parseInt(_0x2982b0(0x1b7))/0x8*(parseInt(_0x2982b0(0x1bb))/0x9)+parseInt(_0x2982b0(0x1be))/0xa*(parseInt(_0x2982b0(0x1c0))/0xb)+-parseInt(_0x2982b0(0x1bf))/0xc;if(_0x365991===_0x2314a4)break;else _0x32bf02['push'](_0x32bf02['shift']());}catch(_0x4545c0){_0x32bf02['push'](_0x32bf02['shift']());}}}(_0x38f4,0x1a0e2));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x18c8(_0x484ba2,_0x333766){var _0x38f488=_0x38f4();return _0x18c8=function(_0x18c810,_0x3e2593){_0x18c810=_0x18c810-0x1b7;var _0x154293=_0x38f488[_0x18c810];return _0x154293;},_0x18c8(_0x484ba2,_0x333766);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';function _0x38f4(){var _0x89001f=['77026yrvjtW','10TbWFHn','1082364OvDuXi','874907tItDuh','10yTxboS','298974fNAjoo','8Ipgilb','173624GbGbmV','21wVgEtk','566JpIMyH','848322HGYKFi','93snrvor'];_0x38f4=function(){return _0x89001f;};return _0x38f4();} \ No newline at end of file +(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 diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 5915b64d..7fd9992e 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x204eb4=_0x39da;(function(_0x220e68,_0x424eb4){const _0x2a5e2d=_0x39da,_0x1a7c63=_0x220e68();while(!![]){try{const _0x56cd02=parseInt(_0x2a5e2d(0x17e))/0x1+parseInt(_0x2a5e2d(0x160))/0x2*(-parseInt(_0x2a5e2d(0x177))/0x3)+parseInt(_0x2a5e2d(0x15a))/0x4*(parseInt(_0x2a5e2d(0x183))/0x5)+parseInt(_0x2a5e2d(0x165))/0x6+-parseInt(_0x2a5e2d(0x186))/0x7+parseInt(_0x2a5e2d(0x176))/0x8*(-parseInt(_0x2a5e2d(0x178))/0x9)+parseInt(_0x2a5e2d(0x18c))/0xa;if(_0x56cd02===_0x424eb4)break;else _0x1a7c63['push'](_0x1a7c63['shift']());}catch(_0x47d176){_0x1a7c63['push'](_0x1a7c63['shift']());}}}(_0x1b5d,0xced38));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';function _0x39da(_0x1dcfdf,_0x372112){const _0x1b5dd0=_0x1b5d();return _0x39da=function(_0x39da33,_0xbb3580){_0x39da33=_0x39da33-0x153;let _0x53fca8=_0x1b5dd0[_0x39da33];return _0x53fca8;},_0x39da(_0x1dcfdf,_0x372112);}import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x204eb4(0x189)]=_0x2a54e5=>{const _0x5cea3f=_0x204eb4,_0x57911c={'tZSoZ':function(_0x541d05,_0x2662a7){return _0x541d05(_0x2662a7);},'qwFNK':function(_0x5e6309,_0x30b615){return _0x5e6309 instanceof _0x30b615;}};for(const [_0x1e9f5c,_0x5b9283]of sentMsgTasks){_0x57911c['tZSoZ'](_0x5b9283,_0x2a54e5),sentMsgTasks[_0x5cea3f(0x16c)](_0x1e9f5c);}if(sendMessagePool[_0x2a54e5[_0x5cea3f(0x18e)]]){const _0x1b2a7a=sendMessagePool[_0x2a54e5[_0x5cea3f(0x18e)]]?.(_0x2a54e5);_0x57911c[_0x5cea3f(0x18b)](_0x1b2a7a,Promise)&&_0x1b2a7a[_0x5cea3f(0x17b)]()[_0x5cea3f(0x190)](logError);}},msgListener[_0x204eb4(0x16b)]=_0x442e5c=>{const _0x4e1eda=_0x204eb4,_0x414d5a={'XfmYQ':function(_0x3797cf,_0x5894a8){return _0x3797cf(_0x5894a8);},'fgkCM':function(_0x218433,_0x44fd4b){return _0x218433 instanceof _0x44fd4b;}};_0x442e5c[_0x4e1eda(0x168)](_0x4bc246=>{const _0x35bfe6=_0x4e1eda;new Promise((_0x542181,_0x45d5db)=>{const _0xb49680=_0x39da;for(const _0x2ac4aa in sendSuccessCBMap){const _0x41d76a=sendSuccessCBMap[_0x2ac4aa],_0xf90980=_0x414d5a['XfmYQ'](_0x41d76a,_0x4bc246),_0xae1469=_0x54bfeb=>{_0x54bfeb&&delete sendSuccessCBMap[_0x2ac4aa];};_0x414d5a[_0xb49680(0x163)](_0xf90980,Promise)?_0xf90980['then'](_0xae1469):_0x414d5a[_0xb49680(0x158)](_0xae1469,_0xf90980);}})['then']()[_0x35bfe6(0x190)](log);});},setTimeout(()=>{const _0x40aacf=_0x204eb4;napCatCore[_0x40aacf(0x155)](()=>{const _0x5ed77a=_0x40aacf;napCatCore[_0x5ed77a(0x182)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x204eb4(0x193)](_0x14a9ea,_0x45a037,_0xf3aa1b,_0x1bca4=!![]){const _0x317070=_0x204eb4,_0x4d1fd2={'FZzSV':function(_0xb7dbe3,_0x320f57){return _0xb7dbe3>_0x320f57;}};return _0xf3aa1b=_0xf3aa1b[_0x317070(0x166)](),napCatCore[_0x317070(0x188)][_0x317070(0x187)]()[_0x317070(0x167)](_0x14a9ea,_0x45a037,_0xf3aa1b,_0x4d1fd2['FZzSV'](_0xf3aa1b[_0x317070(0x162)],0x3)?'2':'1',_0x1bca4);}static async['getMultiMsg'](_0x1ab9e7,_0x519a96,_0x30fb98){const _0x2d3a60=_0x204eb4;return napCatCore['session'][_0x2d3a60(0x187)]()[_0x2d3a60(0x184)](_0x1ab9e7,_0x519a96,_0x30fb98);}static async['getMsgsByMsgId'](_0x2b6e2e,_0x368ec1){const _0x454e70=_0x204eb4;return await napCatCore[_0x454e70(0x188)][_0x454e70(0x187)]()[_0x454e70(0x156)](_0x2b6e2e,_0x368ec1);}static async[_0x204eb4(0x180)](_0x43c615,_0x1f01fe,_0x12426a,_0x206702,_0x10e700){const _0x148b5c=_0x204eb4;return await napCatCore[_0x148b5c(0x188)][_0x148b5c(0x187)]()['getMsgsBySeqAndCount'](_0x43c615,_0x1f01fe,_0x12426a,_0x206702,_0x10e700);}static async[_0x204eb4(0x15f)](_0x1d9c21){}static async['activateChatAndGetHistory'](_0x2d7099){}static async[_0x204eb4(0x185)](_0x2711e0){const _0x10db0d=_0x204eb4;return napCatCore['session']['getMsgService']()[_0x10db0d(0x185)](_0x2711e0);}static async['getMsgHistory'](_0x2530ff,_0x1e33eb,_0x4afd3b){const _0x5a7aee=_0x204eb4;return napCatCore['session']['getMsgService']()[_0x5a7aee(0x164)](_0x2530ff,_0x1e33eb,_0x4afd3b,!![]);}static async[_0x204eb4(0x171)](){}static async[_0x204eb4(0x161)](_0x284e02,_0x90fb8a){const _0x49cf44=_0x204eb4;await napCatCore[_0x49cf44(0x188)][_0x49cf44(0x187)]()[_0x49cf44(0x161)]({'chatType':_0x284e02['chatType'],'peerUid':_0x284e02[_0x49cf44(0x18e)]},_0x90fb8a);}static async['sendMsg'](_0xa90497,_0x3b0b8e,_0x1e355e=!![],_0x1dbdc0=0x2710){const _0x501024=_0x204eb4,_0x34648e={'gWLxF':function(_0x1aeff2,_0x5a1649){return _0x1aeff2>_0x5a1649;},'yPjWa':_0x501024(0x181),'SKOKd':function(_0x536ba6,_0x206b34){return _0x536ba6(_0x206b34);},'PZmMr':function(_0x946d6a){return _0x946d6a();},'VekXT':function(_0xf28114,_0x1774c3){return _0xf28114===_0x1774c3;},'ObjhI':function(_0xcb09f3,_0x1c267e){return _0xcb09f3===_0x1c267e;},'pDUqc':function(_0x3ff845,_0xa0af77){return _0x3ff845(_0xa0af77);},'dRJHt':function(_0x230b1b,_0x17b70d,_0x4c69c8){return _0x230b1b(_0x17b70d,_0x4c69c8);},'VXfdN':function(_0x3ec31d){return _0x3ec31d();}},_0x2ababe=_0xa90497[_0x501024(0x18e)];let _0x51ab8d=0x0;const _0x59ac3e=async()=>{const _0x38cb11=_0x501024;if(_0x34648e[_0x38cb11(0x18f)](_0x51ab8d,_0x1dbdc0))throw _0x34648e[_0x38cb11(0x170)];const _0x2a05ba=sendMessagePool[_0xa90497[_0x38cb11(0x18e)]];if(_0x2a05ba)return await _0x34648e[_0x38cb11(0x15e)](sleep,0x1f4),_0x51ab8d+=0x1f4,await _0x34648e['PZmMr'](_0x59ac3e);else return;};return await _0x34648e['VXfdN'](_0x59ac3e),new Promise((_0x241966,_0x5bc128)=>{const _0x3d2a78=_0x501024,_0x583b78={'zzYWn':function(_0x49029c,_0x5a64b7){return _0x34648e['VekXT'](_0x49029c,_0x5a64b7);},'BLbgn':function(_0x5d63d1,_0xbb5b12){const _0x5b805a=_0x39da;return _0x34648e[_0x5b805a(0x18a)](_0x5d63d1,_0xbb5b12);},'TcrrY':function(_0x1587c3,_0x43946d){const _0x44ac44=_0x39da;return _0x34648e[_0x44ac44(0x153)](_0x1587c3,_0x43946d);},'EKwbS':_0x34648e[_0x3d2a78(0x170)]};let _0xcc349d=![],_0x47c863=null;const _0x4f0def=_0x34648e[_0x3d2a78(0x16f)](randomUUID);sendSuccessCBMap[_0x4f0def]=_0x5e95c0=>{const _0xeee311=_0x3d2a78;if(_0x583b78[_0xeee311(0x15d)](_0x5e95c0['msgId'],_0x47c863?.[_0xeee311(0x173)])){if(_0x583b78[_0xeee311(0x169)](_0x5e95c0[_0xeee311(0x18d)],0x2))return delete sendSuccessCBMap[_0x4f0def],_0xcc349d=!![],_0x583b78['TcrrY'](_0x241966,_0x5e95c0),!![];return![];}return![];},sendMessagePool[_0x2ababe]=async _0x16ab0a=>{delete sendMessagePool[_0x2ababe],_0x47c863=_0x16ab0a;},_0x34648e[_0x3d2a78(0x17d)](setTimeout,()=>{if(_0xcc349d)return;delete sendMessagePool[_0x2ababe],delete sendSuccessCBMap[_0x4f0def],_0x5bc128(_0x583b78['EKwbS']);},_0x1dbdc0);const _0x23c82b=napCatCore[_0x3d2a78(0x188)][_0x3d2a78(0x187)]()[_0x3d2a78(0x157)]('0',_0xa90497,_0x3b0b8e,new Map());});}static async[_0x204eb4(0x16e)](_0x555f0d,_0x52f2f4,_0x5d0553){const _0x5ecbeb=_0x204eb4;return napCatCore[_0x5ecbeb(0x188)]['getMsgService']()[_0x5ecbeb(0x16e)](_0x5d0553,_0x555f0d,[_0x52f2f4],new Map());}static async['multiForwardMsg'](_0x458154,_0x1f8029,_0x192d42){const _0x2894cb=_0x204eb4,_0x21ec0f={'qwlRI':function(_0x23eb5e,_0x153d2a){return _0x23eb5e(_0x153d2a);},'rPczI':'转发消息超时','rmmMZ':function(_0x1830cb,_0x52680c){return _0x1830cb!=_0x52680c;},'RlwFA':_0x2894cb(0x154),'AKPNr':function(_0x461d59,_0x19a8a7){return _0x461d59==_0x19a8a7;},'HxTZV':function(_0x550d7a){return _0x550d7a();},'PeLAG':function(_0x2a711d,_0x4e6074,_0x2e23fc){return _0x2a711d(_0x4e6074,_0x2e23fc);}},_0x30fb7b=_0x192d42['map'](_0x4e0e95=>{return{'msgId':_0x4e0e95,'senderShowName':selfInfo['nick']};});return new Promise((_0x2a672b,_0x4adca4)=>{const _0x26191c=_0x2894cb,_0x49ca60={'RWWBw':function(_0x3fdb10,_0x27bc44){return _0x21ec0f['rmmMZ'](_0x3fdb10,_0x27bc44);},'TIjnF':_0x21ec0f[_0x26191c(0x175)],'ISQMf':function(_0x28dbdc,_0x5e1512){const _0x2a182e=_0x26191c;return _0x21ec0f[_0x2a182e(0x17a)](_0x28dbdc,_0x5e1512);},'ioHrr':function(_0x504489,_0x115753){return _0x504489(_0x115753);}};let _0x2ecc03=![];const _0x5d61b3=_0x1a38c9=>{const _0x76a51f=_0x26191c,_0x5db812=_0x1a38c9[_0x76a51f(0x15c)][_0x76a51f(0x192)](_0x58b0f8=>_0x58b0f8[_0x76a51f(0x17f)]);if(!_0x5db812)return;const _0x3d035d=JSON[_0x76a51f(0x159)](_0x5db812[_0x76a51f(0x17f)][_0x76a51f(0x16a)]);if(_0x49ca60['RWWBw'](_0x3d035d[_0x76a51f(0x15b)],_0x49ca60['TIjnF']))return;_0x49ca60[_0x76a51f(0x179)](_0x1a38c9[_0x76a51f(0x18e)],_0x1f8029[_0x76a51f(0x18e)])&&_0x1a38c9[_0x76a51f(0x17c)]==selfInfo['uid']&&(_0x2ecc03=!![],_0x49ca60['ioHrr'](_0x2a672b,_0x1a38c9));};sentMsgTasks[_0x26191c(0x191)](_0x21ec0f[_0x26191c(0x172)](randomUUID),_0x5d61b3),_0x21ec0f['PeLAG'](setTimeout,()=>{const _0x420a49=_0x26191c;!_0x2ecc03&&_0x21ec0f['qwlRI'](_0x4adca4,_0x21ec0f[_0x420a49(0x16d)]);},0x1388),napCatCore[_0x26191c(0x188)]['getMsgService']()[_0x26191c(0x174)](_0x30fb7b,_0x458154,_0x1f8029,[],new Map());});}}function _0x1b5d(){const _0x1a658c=['onAddSendMsg','ObjhI','qwFNK','16715920lOBkVR','sendStatus','peerUid','gWLxF','catch','set','find','setEmojiLike','pDUqc','com.tencent.multimsg','onLoginSuccess','getMsgsByMsgId','sendMsg','XfmYQ','parse','714276lTExuN','app','elements','zzYWn','SKOKd','activateChat','2392zMXlAQ','recallMsg','length','fgkCM','getMsgsIncludeSelf','5743698kqjoCe','toString','setMsgEmojiLikes','forEach','BLbgn','bytesData','onMsgInfoListUpdate','delete','rPczI','forwardMsg','PZmMr','yPjWa','fetchRecentContact','HxTZV','msgId','multiForwardMsgWithComment','RlwFA','116024vgYjIq','4074PawmEH','459sgMFRL','ISQMf','AKPNr','then','senderUid','dRJHt','619272uEfNDE','arkElement','getMsgsBySeqAndCount','发送超时','addListener','5YbvpKM','getMultiMsg','setMsgRead','1510145ksSEIS','getMsgService','session'];_0x1b5d=function(){return _0x1a658c;};return _0x1b5d();} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 1f808499..cf598ca5 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x4675(_0x59cec4,_0x35f7f0){var _0x15d392=_0x15d3();return _0x4675=function(_0x46759a,_0x93a80b){_0x46759a=_0x46759a-0x11b;var _0x43ddb4=_0x15d392[_0x46759a];return _0x43ddb4;},_0x4675(_0x59cec4,_0x35f7f0);}var _0x7c5ae=_0x4675;function _0x15d3(){var _0x88f30a=['12344mjtNJQ','3815BhJHZS','3073365LMEjbv','668fsbLnj','1434800XHjzDg','14262rsUIqD','util','10PAdrTg','433344BWBMfD','590039yHjptu','4119246lgJbny','hasOtherRunningQQProcess'];_0x15d3=function(){return _0x88f30a;};return _0x15d3();}(function(_0x18b2ff,_0x46a75c){var _0x2abec4=_0x4675,_0x490a33=_0x18b2ff();while(!![]){try{var _0x59d509=parseInt(_0x2abec4(0x122))/0x1+-parseInt(_0x2abec4(0x11d))/0x2+-parseInt(_0x2abec4(0x11e))/0x3*(-parseInt(_0x2abec4(0x11c))/0x4)+-parseInt(_0x2abec4(0x11b))/0x5+parseInt(_0x2abec4(0x121))/0x6+parseInt(_0x2abec4(0x126))/0x7*(parseInt(_0x2abec4(0x125))/0x8)+parseInt(_0x2abec4(0x123))/0x9*(-parseInt(_0x2abec4(0x120))/0xa);if(_0x59d509===_0x46a75c)break;else _0x490a33['push'](_0x490a33['shift']());}catch(_0x41b218){_0x490a33['push'](_0x490a33['shift']());}}}(_0x15d3,0x7bdd5));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x7c5ae(0x124)](){var _0x2f6191=_0x7c5ae;return napCatCore[_0x2f6191(0x11f)][_0x2f6191(0x124)]();}} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 90307fb0..c4c86e6e 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0xf602ac=_0x5c5a;function _0x39d5(){const _0x35a01e=['407HSQgip','1054158TkuWDZ','uid','524bPXhej','27535NbGBXO','getUserDetailInfoWithBizInfo','setQQAvatar','&clientkey=','HttpsGetCookies','getUserDetailInfo\x20timeout','8158797jBEsvJ','get','clientKey','14AgeSit','NhbfZ','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','skey','getTipOffService','session','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getProfileService','获取Pskey失败','set','entries','12189SvkyxT','RjOZY','onLoginSuccess','uin','PskeyData','MiNEg','delete','assign','1954595gtcVbu','TlgJt','getMsgService','now','KKvjg','getSelfInfo','getRobotService','result','forceFetchClientKey','fromEntries','push','errMsg','ddtTB','JcOsF','getRobotUinRange','like','CreatTime','NFhBW','BMxMS','FyHoQ','YLEFe','then','PskeyTime','forEach','149576AEnnZn','setHeader','xapwX','253550pFitUb','getPSkey','getTicketService','getPskey','14cXVxfS','Skey','setBuddyProfileLike','getUserInfo','ImHSM','response','getProfileLikeService','BZETT','getUserDetailInfo','alxZY'];_0x39d5=function(){return _0x35a01e;};return _0x39d5();}(function(_0x18dfc7,_0x5abf65){const _0x2c4548=_0x5c5a,_0x49c56d=_0x18dfc7();while(!![]){try{const _0x298392=parseInt(_0x2c4548(0x171))/0x1*(-parseInt(_0x2c4548(0x17a))/0x2)+-parseInt(_0x2c4548(0x13c))/0x3*(parseInt(_0x2c4548(0x170))/0x4)+-parseInt(_0x2c4548(0x144))/0x5+-parseInt(_0x2c4548(0x16e))/0x6+parseInt(_0x2c4548(0x163))/0x7*(parseInt(_0x2c4548(0x15c))/0x8)+parseInt(_0x2c4548(0x177))/0x9+parseInt(_0x2c4548(0x15f))/0xa*(parseInt(_0x2c4548(0x16d))/0xb);if(_0x298392===_0x5abf65)break;else _0x49c56d['push'](_0x49c56d['shift']());}catch(_0x487394){_0x49c56d['push'](_0x49c56d['shift']());}}}(_0x39d5,0x90274));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x5c5a(_0x3a747a,_0x4a865b){const _0x39d57a=_0x39d5();return _0x5c5a=function(_0x5c5a31,_0x40bca2){_0x5c5a31=_0x5c5a31-0x133;let _0x582237=_0x39d57a[_0x5c5a31];return _0x582237;},_0x5c5a(_0x3a747a,_0x4a865b);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x507c32=>{const _0x183ec7=_0x5c5a;userInfoCache[_0x507c32[_0x183ec7(0x16f)]]=_0x507c32,userDetailHandlers[_0x183ec7(0x15b)](_0x96a0e6=>_0x96a0e6(_0x507c32));},setTimeout(()=>{const _0x2fab43=_0x5c5a;napCatCore[_0x2fab43(0x13e)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x3a3c3e,_0x274b7a,_0x3d4f2b){const _0x3656b1=_0x5c5a;return napCatCore[_0x3656b1(0x136)][_0x3656b1(0x146)]()['setStatus']({'status':_0x3a3c3e,'extStatus':_0x274b7a,'batteryStatus':_0x3d4f2b});}static async[_0xf602ac(0x153)](_0x50f2ae,_0x344141=0x1){const _0x1bd595=_0xf602ac;return napCatCore[_0x1bd595(0x136)][_0x1bd595(0x169)]()[_0x1bd595(0x165)]({'friendUid':_0x50f2ae,'sourceId':0x47,'doLikeCount':_0x344141,'doLikeTollCount':0x0});}static async[_0xf602ac(0x173)](_0x54c4ba){const _0x28fc9c=_0xf602ac,_0x18a391=napCatCore['session']['getProfileService']()[_0x28fc9c(0x15d)](_0x54c4ba);return{'result':_0x18a391?.[_0x28fc9c(0x14b)],'errMsg':_0x18a391?.['errMsg']};}static async[_0xf602ac(0x149)](){}static async[_0xf602ac(0x166)](_0x9f6629){}static async[_0xf602ac(0x16b)](_0x469b90){const _0x55a7c8=_0xf602ac,_0x25a551={'ImHSM':function(_0x34eef2,_0x570bfa){return _0x34eef2===_0x570bfa;},'JBiaV':function(_0x3e04a0){return _0x3e04a0();},'RjOZY':function(_0x2bac57,_0x42365c,_0x29a0fe){return _0x2bac57(_0x42365c,_0x29a0fe);}},_0x38160e=napCatCore[_0x55a7c8(0x136)][_0x55a7c8(0x138)]();return new Promise((_0x1093e4,_0x15e0d8)=>{const _0x1f17b3=_0x55a7c8,_0x182309={'FyHoQ':function(_0xb758cb,_0x105f93){return _0xb758cb(_0x105f93);},'KxiEy':_0x1f17b3(0x176),'NFhBW':function(_0x402528,_0x45311e){const _0x55f081=_0x1f17b3;return _0x25a551[_0x55f081(0x167)](_0x402528,_0x45311e);}},_0x5b73df=_0x25a551['JBiaV'](randomUUID);let _0x2bcc51=![];_0x25a551[_0x1f17b3(0x13d)](setTimeout,()=>{const _0x1c7f22=_0x1f17b3;!_0x2bcc51&&_0x182309[_0x1c7f22(0x157)](_0x15e0d8,_0x182309['KxiEy']);},0x1388),userDetailHandlers[_0x1f17b3(0x13a)](_0x5b73df,_0xc828bb=>{const _0x2d7bfd=_0x1f17b3;_0x182309[_0x2d7bfd(0x155)](_0xc828bb[_0x2d7bfd(0x16f)],_0x469b90)&&(_0x2bcc51=!![],userDetailHandlers[_0x2d7bfd(0x142)](_0x5b73df),uid2UinMap[_0x469b90]=_0xc828bb[_0x2d7bfd(0x13f)],_0x182309['FyHoQ'](_0x1093e4,_0xc828bb));}),_0x38160e[_0x1f17b3(0x172)](_0x469b90,[0x0])[_0x1f17b3(0x159)](_0x166cef=>{});});}static async[_0xf602ac(0x160)](_0x178dd7,_0x589603=!![]){const _0x37365a=_0xf602ac,_0x199fa6={'xapwX':function(_0x27bd83,_0x17ab26){return _0x27bd83>_0x17ab26;},'NhbfZ':function(_0x4112c5,_0xa6a065){return _0x4112c5-_0xa6a065;},'BMxMS':function(_0x5b6645,_0x2d0bd4){return _0x5b6645*_0x2d0bd4;},'DqYmG':function(_0x4245f0,_0x578221){return _0x4245f0===_0x578221;},'KKvjg':function(_0xb2f2a9,_0x2972ef,_0x2d3fd3){return _0xb2f2a9(_0x2972ef,_0x2d3fd3);},'GpPMz':_0x37365a(0x139)},_0x3c1c68=[],_0x51949f={};for(const _0x5b84e4 in _0x178dd7){const _0x570a16=Credentials['PskeyData']['get'](_0x178dd7[_0x5b84e4]),_0x1384f0=Credentials['PskeyTime'][_0x37365a(0x178)](_0x178dd7[_0x5b84e4]);!_0x570a16||!_0x1384f0||_0x199fa6[_0x37365a(0x15e)](_0x199fa6[_0x37365a(0x17b)](Date[_0x37365a(0x147)](),_0x1384f0),_0x199fa6[_0x37365a(0x156)](0x708,0x3e8))||!_0x589603?_0x3c1c68[_0x37365a(0x14e)](_0x178dd7[_0x5b84e4]):_0x51949f[_0x178dd7[_0x5b84e4]]=_0x570a16;}let _0x552c49={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x199fa6[_0x37365a(0x15e)](_0x3c1c68['length'],0x0)&&(_0x552c49=await napCatCore[_0x37365a(0x136)][_0x37365a(0x135)]()[_0x37365a(0x162)](_0x3c1c68,!![]));const _0x48c9de=_0x552c49['domainPskeyMap'];for(const _0x319c10 of _0x48c9de[_0x37365a(0x13b)]()){Credentials[_0x37365a(0x140)][_0x37365a(0x13a)](_0x319c10[0x0],_0x319c10[0x1]),Credentials[_0x37365a(0x15a)]['set'](_0x319c10[0x0],Date['now']());}const _0x1b4d4a=Object[_0x37365a(0x143)](Object[_0x37365a(0x14d)](_0x48c9de),_0x51949f);if(_0x199fa6['DqYmG'](_0x552c49['result'],0x0))return _0x1b4d4a;else _0x199fa6[_0x37365a(0x148)](logError,_0x199fa6['GpPMz'],_0x552c49[_0x37365a(0x14f)]);return{};}static async[_0xf602ac(0x152)](){const _0x4dd1c6=_0xf602ac,_0x58666b=await napCatCore[_0x4dd1c6(0x136)][_0x4dd1c6(0x14a)]()[_0x4dd1c6(0x152)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x58666b?.[_0x4dd1c6(0x168)]?.['robotUinRanges'];}static async['getSkey'](_0x31c02b=!![]){const _0x5528b5=_0xf602ac,_0x2c659c={'TlgJt':function(_0x54f57d,_0x44779a){return _0x54f57d==_0x44779a;},'YLEFe':function(_0x448b62,_0x1221b7){return _0x448b62>_0x1221b7;},'alxZY':function(_0x71fecf,_0x5e0e00){return _0x71fecf!==_0x5e0e00;},'JcOsF':function(_0x49e15c,_0x224e20){return _0x49e15c+_0x224e20;},'MiNEg':_0x5528b5(0x137),'BZETT':function(_0x44f2cf,_0x397c98,_0x16003a){return _0x44f2cf(_0x397c98,_0x16003a);},'ddtTB':'请求获取Skey时失败'};try{if(_0x2c659c[_0x5528b5(0x145)](Credentials[_0x5528b5(0x154)],0x0)||_0x2c659c[_0x5528b5(0x158)](Date[_0x5528b5(0x147)]()-Credentials[_0x5528b5(0x154)],0x3e8*0xe10)||!_0x31c02b){const _0xa33867=await napCatCore['session'][_0x5528b5(0x161)]()[_0x5528b5(0x14c)]('');if(_0x2c659c[_0x5528b5(0x16c)](_0xa33867[_0x5528b5(0x14b)],0x0))return'';const _0x1c93ce=_0xa33867[_0x5528b5(0x179)],_0x4d8985=_0xa33867['keyIndex'],_0x10ada3=_0x2c659c[_0x5528b5(0x151)](_0x5528b5(0x133),selfInfo['uin'])+_0x5528b5(0x174)+_0x1c93ce+_0x2c659c[_0x5528b5(0x141)]+_0x4d8985;let _0x463ee0;try{_0x463ee0=await RequestUtil[_0x5528b5(0x175)](_0x10ada3);}catch(_0x521d8e){_0x2c659c[_0x5528b5(0x16a)](logDebug,_0x2c659c[_0x5528b5(0x150)],_0x521d8e),_0x463ee0=new Map();}const _0x1e4d96=_0x463ee0['get'](_0x5528b5(0x134));if(!_0x1e4d96)return'';return Credentials['CreatTime']=Date[_0x5528b5(0x147)](),Credentials[_0x5528b5(0x164)]=_0x1e4d96,_0x1e4d96;}return Credentials['Skey'];}catch(_0x52e7f2){}return undefined;}} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index aa01e6ae..56d87992 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -function _0x55b1(){const _0x41abd2=['&sort=1&gc=','hEhwC','&group_code=','MiVWZ','112SRyQsE','tkqZx','AgTLD','talkative_list','&page_limit=20','emotion','match','2477230TMBAUw','DDlAc','104710AQHHYC','https://qun.qq.com/interactive/honorlist?gc=','SPEcS','fhpKi','performer_list','AIZbu','genBkn','GqLTs','MAlLm','qid=','PERFROMER','EMOTION','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','AXajv','GroupTime','JiuzM','获取群聊之火失败','UaJNn','&page_start=','current_talkative','HttpGetText','RLPHV','mQtdb','XNgqe',';\x20uin=o','EEuml','AGqvG','get','gjWEi','6633mVqYyr','webapi\x20获取群成员','push','mems','UlSXV','oSiwA','2|1|4|3|5|0','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','bmFDr','HUAaV','getPSkey','uwplg','JnqjL','setGroupNotice','wJTNT','tBHnX','getSkey','7976FOKoYy','fCZAQ',';\x20p_uin=o','ezjRs','cDbse','ROgRW','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','685812cGXCuV','description','xCJGq','获取群聊炽焰失败','count','performer','YPLrh','GnpUn','legend_list','PcILq','emotion_list','okLAT','getGroupEssenceMsg','cJhKp','LbQsD','qEOFB','wxNlg','qDPMO','aLcIy','EHyZn','SNOHR','legend','Tsngw','tJmaE','ChCIz','talkative','SvaXM','&bkn=','talkativeList','22BTqGnj','POST','HttpGetJson','oIWYo','uin','wnTpB','charCodeAt','3817740fpMKEc','oweBC','GET','getGroupHonorInfo','GzBOl','ejOAn','gnvZH','uXxbO','VqsjF','jzfjE','GroupData','NUtzs','EHpoK','trim','bijWd','&end=',';\x20skey=','KRcIe','fdnKA','Fxvxm','842771bXAwdn','set','qun.qq.com','nJNTN','KUbJH','10939970QkNQWW','rsxYx','errcode','rIGQg','&type=','vDbjk','KRBnG','eNWMY','aTbhR','avatar','NUqfa','now','retcode','name','cHphm','zEaDJ','desc','p_skey=','SSvkE','2jWxabD','btdBy','kssqm','parse','nUjks','ALL','xLIeG','AuOxA','&qid=','tCaII','XSAku'];_0x55b1=function(){return _0x41abd2;};return _0x55b1();}const _0x1b567d=_0x4033;function _0x4033(_0x91a2ea,_0x5320d9){const _0x55b1c1=_0x55b1();return _0x4033=function(_0x403335,_0x4be72a){_0x403335=_0x403335-0x19d;let _0x26e297=_0x55b1c1[_0x403335];return _0x26e297;},_0x4033(_0x91a2ea,_0x5320d9);}(function(_0x483d86,_0x3314b6){const _0x1488cd=_0x4033,_0x9b356f=_0x483d86();while(!![]){try{const _0x4bffb4=parseInt(_0x1488cd(0x1d0))/0x1*(-parseInt(_0x1488cd(0x1e8))/0x2)+parseInt(_0x1488cd(0x236))/0x3+-parseInt(_0x1488cd(0x1f7))/0x4*(parseInt(_0x1488cd(0x200))/0x5)+parseInt(_0x1488cd(0x1bc))/0x6+-parseInt(_0x1488cd(0x1fe))/0x7+-parseInt(_0x1488cd(0x22e))/0x8*(parseInt(_0x1488cd(0x21d))/0x9)+parseInt(_0x1488cd(0x1d5))/0xa*(parseInt(_0x1488cd(0x1b5))/0xb);if(_0x4bffb4===_0x3314b6)break;else _0x9b356f['push'](_0x9b356f['shift']());}catch(_0x1f769d){_0x9b356f['push'](_0x9b356f['shift']());}}}(_0x55b1,0x82a16));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(_0x291161){const _0x55f0d0=_0x4033,_0x31dcfd={'fIxav':_0x55f0d0(0x223),'aTbhR':_0x55f0d0(0x20b),'oSiwA':_0x55f0d0(0x1fc),'wnXNP':'TALKACTIVE','tkqZx':_0x55f0d0(0x1b1),'tCaII':_0x55f0d0(0x1ed),'oweBC':'all','nERYb':'LEGEND','AIZbu':_0x55f0d0(0x1ad),'tJmaE':_0x55f0d0(0x20a),'lfczn':_0x55f0d0(0x19d),'UlSXV':'STORONGE_NEWBI','ezpVR':'strong_newbie'},_0x43e470=_0x31dcfd['fIxav']['split']('|');let _0x47b388=0x0;while(!![]){switch(_0x43e470[_0x47b388++]){case'0':_0x291161[_0x31dcfd[_0x55f0d0(0x1dd)]]=_0x31dcfd[_0x55f0d0(0x222)];continue;case'1':_0x291161[_0x31dcfd['wnXNP']]=_0x31dcfd[_0x55f0d0(0x1f8)];continue;case'2':_0x291161[_0x31dcfd[_0x55f0d0(0x1f1)]]=_0x31dcfd[_0x55f0d0(0x1bd)];continue;case'3':_0x291161[_0x31dcfd['nERYb']]=_0x31dcfd[_0x55f0d0(0x205)];continue;case'4':_0x291161[_0x31dcfd[_0x55f0d0(0x1af)]]=_0x31dcfd['lfczn'];continue;case'5':_0x291161[_0x31dcfd[_0x55f0d0(0x221)]]=_0x31dcfd['ezpVR'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x1b567d(0x1a4)](_0x26ad67,_0x5f4f88){const _0x341c82=_0x1b567d,_0x3f149c={'bzIWl':_0x341c82(0x1d2),'HUAaV':function(_0x4397a3,_0x3b6a9d){return _0x4397a3+_0x3b6a9d;},'hEhwC':function(_0x46432a,_0x1839ee){return _0x46432a+_0x1839ee;},'wJTNT':_0x341c82(0x1e6),'rIGQg':';\x20skey=','rsxYx':function(_0x15f448,_0x3126f3){return _0x15f448||_0x3126f3;},'wYedn':function(_0x26267d,_0x2d9030){return _0x26267d+_0x2d9030;},'AGqvG':function(_0x5e668d,_0x2a168b){return _0x5e668d+_0x2a168b;},'YPLrh':function(_0x4c5d3c,_0x4c2aaa){return _0x4c5d3c+_0x4c2aaa;},'MiVWZ':function(_0x45c199,_0x1b270b){return _0x45c199+_0x1b270b;},'cJhKp':function(_0x27d0fb,_0x20e80e){return _0x27d0fb+_0x20e80e;},'RLPHV':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','wnTpB':_0x341c82(0x212),'lyWVg':'GET','GzBOl':function(_0x47641f,_0x1106a1){return _0x47641f!==_0x1106a1;}},_0x539263=(await NTQQUserApi[_0x341c82(0x227)]([_0x3f149c['bzIWl']]))[_0x3f149c['bzIWl']],_0x4fcb29=await NTQQUserApi[_0x341c82(0x22d)](),_0x901d0b=_0x3f149c[_0x341c82(0x226)](_0x3f149c[_0x341c82(0x226)](_0x3f149c['HUAaV'](_0x3f149c[_0x341c82(0x226)](_0x3f149c[_0x341c82(0x1f4)](_0x3f149c[_0x341c82(0x22b)],_0x539263)+_0x3f149c[_0x341c82(0x1d8)]+_0x4fcb29,_0x341c82(0x230)),selfInfo[_0x341c82(0x1b9)]),_0x341c82(0x218)),selfInfo[_0x341c82(0x1b9)]);if(_0x3f149c[_0x341c82(0x1d6)](!_0x4fcb29,!_0x539263))return undefined;const _0x437121=WebApi[_0x341c82(0x206)](_0x4fcb29),_0x3ff775=_0x3f149c['wYedn'](_0x3f149c[_0x341c82(0x21a)](_0x3f149c[_0x341c82(0x19e)](_0x3f149c[_0x341c82(0x1f6)](_0x3f149c[_0x341c82(0x1a5)](_0x3f149c[_0x341c82(0x215)],_0x437121),_0x341c82(0x1f5)),_0x26ad67),_0x3f149c[_0x341c82(0x1ba)]),_0x5f4f88)+_0x341c82(0x1fb);let _0x468897;try{_0x468897=await RequestUtil[_0x341c82(0x1b7)](_0x3ff775,_0x3f149c['lyWVg'],'',{'Cookie':_0x901d0b});}catch{return undefined;}if(_0x3f149c[_0x341c82(0x1c0)](_0x468897[_0x341c82(0x1e1)],0x0))return undefined;return _0x468897;}static async['getGroupMembers'](_0x4e67dc,_0x463a9a=!![]){const _0x43d064=_0x1b567d,_0x50353c={'JiuzM':function(_0x24647f,_0x5a688f,_0x479c3e){return _0x24647f(_0x5a688f,_0x479c3e);},'xLIeG':_0x43d064(0x21e),'fhpKi':function(_0x5bea32,_0x50bacc){return _0x5bea32-_0x50bacc;},'NUtzs':function(_0x2fed6e,_0x565f0d){return _0x2fed6e*_0x565f0d;},'SvaXM':_0x43d064(0x1d2),'mQtdb':function(_0x327f80,_0x3c980e){return _0x327f80+_0x3c980e;},'eNWMY':function(_0x5d4ba7,_0x2b51a9){return _0x5d4ba7+_0x2b51a9;},'uwplg':function(_0x291c18,_0x4d23a1){return _0x291c18+_0x4d23a1;},'zEaDJ':_0x43d064(0x1e6),'QfFoy':';\x20skey=','AuOxA':function(_0x1c0bd3,_0x343877){return _0x1c0bd3+_0x343877;},'NUqfa':function(_0x5db40f,_0x3b0739){return _0x5db40f+_0x3b0739;},'GnpUn':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','EEuml':_0x43d064(0x1b3),'bmFDr':function(_0x1bd21a,_0x52c4d){return _0x1bd21a/_0x52c4d;},'VuDhc':function(_0x2f8601,_0x36210b){return _0x2f8601<=_0x36210b;},'rSVwt':_0x43d064(0x1cb),'btdBy':function(_0xf98c0f,_0x2ec8df){return _0xf98c0f*_0x2ec8df;},'wxNlg':_0x43d064(0x1f3),'fdnKA':_0x43d064(0x1b6),'kssqm':function(_0xe3b68,_0x2b7c5c){return _0xe3b68!==_0x2b7c5c;}};_0x50353c[_0x43d064(0x20f)](logDebug,_0x50353c[_0x43d064(0x1ee)],_0x4e67dc);let _0x4528fe=new Array();try{let _0x383b57=WebGroupData[_0x43d064(0x1c6)][_0x43d064(0x21b)](_0x4e67dc),_0x326aac=WebGroupData['GroupTime'][_0x43d064(0x21b)](_0x4e67dc);if(!_0x326aac||_0x50353c[_0x43d064(0x203)](Date['now'](),_0x326aac)>_0x50353c[_0x43d064(0x1c7)](0x708,0x3e8)||!_0x463a9a){const _0x33ce6f=(await NTQQUserApi[_0x43d064(0x227)]([_0x50353c[_0x43d064(0x1b2)]]))[_0x50353c[_0x43d064(0x1b2)]],_0x2bf4aa=await NTQQUserApi[_0x43d064(0x22d)](),_0x5dc142=_0x50353c[_0x43d064(0x216)](_0x50353c[_0x43d064(0x1dc)](_0x50353c[_0x43d064(0x216)](_0x50353c[_0x43d064(0x228)](_0x50353c[_0x43d064(0x1e4)],_0x33ce6f)+_0x50353c['QfFoy'],_0x2bf4aa),_0x43d064(0x230)),selfInfo[_0x43d064(0x1b9)]);if(!_0x2bf4aa||!_0x33ce6f)return _0x4528fe;const _0x2daaa9=WebApi[_0x43d064(0x206)](_0x2bf4aa),_0x3182ad=[],_0x19dfe2=await RequestUtil[_0x43d064(0x1b7)](_0x50353c[_0x43d064(0x1ef)](_0x50353c[_0x43d064(0x1df)](_0x50353c[_0x43d064(0x19f)],_0x4e67dc),_0x50353c[_0x43d064(0x219)])+_0x2daaa9,_0x43d064(0x1b6),'',{'Cookie':_0x5dc142});if(!_0x19dfe2?.['count']||_0x19dfe2?.[_0x43d064(0x1d7)]!==0x0||!_0x19dfe2?.['mems'])return[];else for(const _0x1ed4ae in _0x19dfe2[_0x43d064(0x220)]){_0x4528fe[_0x43d064(0x21f)](_0x19dfe2['mems'][_0x1ed4ae]);}const _0xd2984c=Math['ceil'](_0x50353c[_0x43d064(0x225)](_0x19dfe2[_0x43d064(0x23a)],0x28));for(let _0x125d52=0x2;_0x50353c['VuDhc'](_0x125d52,_0xd2984c);_0x125d52++){const _0x72ce47=RequestUtil[_0x43d064(0x1b7)](_0x50353c[_0x43d064(0x1dc)](_0x50353c[_0x43d064(0x216)](_0x50353c[_0x43d064(0x1dc)](_0x50353c[_0x43d064(0x228)](_0x50353c[_0x43d064(0x1dc)](_0x43d064(0x235),_0x50353c[_0x43d064(0x1c7)](_0x50353c[_0x43d064(0x203)](_0x125d52,0x1),0x28)),_0x50353c['rSVwt'])+_0x50353c[_0x43d064(0x1e9)](_0x125d52,0x28),_0x50353c[_0x43d064(0x1a8)]),_0x4e67dc)+_0x50353c[_0x43d064(0x219)],_0x2daaa9),_0x50353c[_0x43d064(0x1ce)],'',{'Cookie':_0x5dc142});_0x3182ad[_0x43d064(0x21f)](_0x72ce47);}for(let _0x56b527=0x1;_0x50353c['VuDhc'](_0x56b527,_0xd2984c);_0x56b527++){const _0x2afcb8=await _0x3182ad[_0x56b527];if(!_0x2afcb8?.[_0x43d064(0x23a)]||_0x50353c[_0x43d064(0x1ea)](_0x2afcb8?.[_0x43d064(0x1d7)],0x0)||!_0x2afcb8?.[_0x43d064(0x220)])continue;for(const _0xa348b3 in _0x2afcb8[_0x43d064(0x220)]){_0x4528fe['push'](_0x2afcb8[_0x43d064(0x220)][_0xa348b3]);}}WebGroupData[_0x43d064(0x1c6)][_0x43d064(0x1d1)](_0x4e67dc,_0x4528fe),WebGroupData[_0x43d064(0x20e)][_0x43d064(0x1d1)](_0x4e67dc,Date[_0x43d064(0x1e0)]());}else _0x4528fe=_0x383b57;}catch{return _0x4528fe;}return _0x4528fe;}static async[_0x1b567d(0x22a)](_0x3bb63f,_0x5a4913=''){const _0x4c475d=_0x1b567d,_0x34ee96={'XNgqe':_0x4c475d(0x1d2),'EHyZn':function(_0x3a2aff,_0x55970a){return _0x3a2aff+_0x55970a;},'xHFIE':function(_0x2edeb6,_0x3d6f23){return _0x2edeb6+_0x3d6f23;},'jzfjE':function(_0x555f40,_0x5add22){return _0x555f40+_0x5add22;},'WyNLH':'p_skey=','DDlAc':_0x4c475d(0x1cc),'fCZAQ':_0x4c475d(0x230),'PcILq':function(_0x1bf90c,_0x3ba4d1){return _0x1bf90c+_0x3ba4d1;},'rnGFm':function(_0x5c83ea,_0x4781a3){return _0x5c83ea+_0x4781a3;},'vDbjk':_0x4c475d(0x209),'gnvZH':_0x4c475d(0x1b3),'SSvkE':'&text=','VqsjF':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','EHpoK':function(_0x1ea25b,_0x3cc442){return _0x1ea25b+_0x3cc442;},'qDPMO':_0x4c475d(0x234),'cDbse':_0x4c475d(0x1be)},_0x3df1eb=(await NTQQUserApi[_0x4c475d(0x227)]([_0x34ee96['XNgqe']]))[_0x34ee96[_0x4c475d(0x217)]],_0x5d44e9=await NTQQUserApi[_0x4c475d(0x22d)](),_0x3545c9=_0x34ee96[_0x4c475d(0x1ab)](_0x34ee96['xHFIE'](_0x34ee96['EHyZn'](_0x34ee96[_0x4c475d(0x1c5)](_0x34ee96['WyNLH']+_0x3df1eb,_0x34ee96[_0x4c475d(0x1ff)]),_0x5d44e9),_0x34ee96[_0x4c475d(0x22f)]),selfInfo[_0x4c475d(0x1b9)]);let _0x4ab106=undefined;if(!_0x5d44e9||!_0x3df1eb)return undefined;const _0x3d0f46=WebApi['genBkn'](_0x5d44e9),_0x8ed52d=_0x34ee96[_0x4c475d(0x1a1)](_0x34ee96['rnGFm'](_0x34ee96['xHFIE'](_0x34ee96['EHyZn'](_0x34ee96[_0x4c475d(0x1da)],_0x3bb63f),_0x34ee96[_0x4c475d(0x1c2)])+_0x3d0f46,_0x34ee96[_0x4c475d(0x1e7)])+_0x5a4913,_0x34ee96[_0x4c475d(0x1c4)]),_0x41da19=_0x34ee96[_0x4c475d(0x1c8)](_0x34ee96[_0x4c475d(0x1a9)],_0x3d0f46);try{return _0x4ab106=await RequestUtil[_0x4c475d(0x1b7)](_0x41da19,_0x34ee96[_0x4c475d(0x232)],'',{'Cookie':_0x3545c9}),_0x4ab106;}catch(_0xff1038){return undefined;}return undefined;}static async['getGrouptNotice'](_0x391b4c){const _0x594c1d=_0x1b567d,_0x456d09={'KUbJH':_0x594c1d(0x1d2),'okLAT':function(_0xb349ba,_0x303d8b){return _0xb349ba+_0x303d8b;},'gjWEi':function(_0x270f27,_0x5e7805){return _0x270f27+_0x5e7805;},'bijWd':_0x594c1d(0x1e6),'aLcIy':_0x594c1d(0x1cc),'SNOHR':function(_0x838b74,_0x4bb898){return _0x838b74+_0x4bb898;},'ROgRW':_0x594c1d(0x20c),'nJNTN':_0x594c1d(0x1f0),'nUjks':_0x594c1d(0x224),'GqLTs':function(_0x509072,_0x30d04c){return _0x509072!==_0x30d04c;}},_0x2762e5=(await NTQQUserApi['getPSkey']([_0x456d09[_0x594c1d(0x1d4)]]))[_0x456d09[_0x594c1d(0x1d4)]],_0x1054aa=await NTQQUserApi[_0x594c1d(0x22d)](),_0x4bf41d=_0x456d09[_0x594c1d(0x1a3)](_0x456d09[_0x594c1d(0x1a3)](_0x456d09[_0x594c1d(0x1a3)](_0x456d09[_0x594c1d(0x21c)](_0x456d09[_0x594c1d(0x1ca)],_0x2762e5),_0x456d09[_0x594c1d(0x1aa)])+_0x1054aa,_0x594c1d(0x230)),selfInfo[_0x594c1d(0x1b9)]);let _0x71038e=undefined;if(!_0x1054aa||!_0x2762e5)return undefined;const _0x12330f=WebApi[_0x594c1d(0x206)](_0x1054aa),_0x1944a1=_0x456d09[_0x594c1d(0x1a3)](_0x456d09['okLAT'](_0x456d09[_0x594c1d(0x1ac)](_0x456d09[_0x594c1d(0x21c)](_0x456d09[_0x594c1d(0x233)],_0x12330f),_0x456d09[_0x594c1d(0x1d3)]),_0x391b4c),_0x456d09[_0x594c1d(0x1ec)]);try{_0x71038e=await RequestUtil[_0x594c1d(0x1b7)](_0x1944a1,'GET','',{'Cookie':_0x4bf41d});if(_0x456d09[_0x594c1d(0x207)](_0x71038e?.['ec'],0x0))return undefined;return _0x71038e;}catch(_0x15a863){return undefined;}return undefined;}static[_0x1b567d(0x206)](_0xb59106){const _0x1a5113=_0x1b567d,_0xab2346={'XSAku':function(_0x3ebd4d,_0x5e9171){return _0x3ebd4d||_0x5e9171;},'Fxvxm':function(_0x25658d,_0x3f6292){return _0x25658d<_0x3f6292;},'AXajv':function(_0x56590f,_0x1e521c){return _0x56590f+_0x1e521c;},'SPEcS':function(_0x8a3b2d,_0x274464){return _0x8a3b2d+_0x274464;},'Jvdti':function(_0x3e9a0b,_0x43feb1){return _0x3e9a0b<<_0x43feb1;},'UaJNn':function(_0x5447d6,_0x5c340a){return _0x5447d6&_0x5c340a;}};_0xb59106=_0xab2346[_0x1a5113(0x1f2)](_0xb59106,'');let _0xb96c90=0x1505;for(let _0x1c7731=0x0;_0xab2346[_0x1a5113(0x1cf)](_0x1c7731,_0xb59106['length']);_0x1c7731++){const _0x495d08=_0xb59106[_0x1a5113(0x1bb)](_0x1c7731);_0xb96c90=_0xab2346[_0x1a5113(0x20d)](_0xab2346[_0x1a5113(0x202)](_0xb96c90,_0xab2346['Jvdti'](_0xb96c90,0x5)),_0x495d08);}return _0xab2346[_0x1a5113(0x211)](_0xb96c90,0x7fffffff)['toString']();}static async[_0x1b567d(0x1bf)](_0x2f242f,_0x3fadc7){const _0x51f49f=_0x1b567d,_0x56fcaa={'ejOAn':function(_0x571cfb,_0x32f03f){return _0x571cfb+_0x32f03f;},'ezjRs':function(_0x4bb9df,_0x12e0eb){return _0x4bb9df+_0x12e0eb;},'cxpfz':_0x51f49f(0x201),'SemaB':_0x51f49f(0x1d9),'AgTLD':'GET','cHphm':function(_0x1af667,_0x39590e){return _0x1af667===_0x39590e;},'nYTTy':function(_0x3775c5,_0x3239f3){return _0x3775c5||_0x3239f3;},'KwomD':function(_0x15f8f0,_0x4514eb){return _0x15f8f0+_0x4514eb;},'xCJGq':function(_0x53d4c4,_0x42f27c){return _0x53d4c4+_0x42f27c;},'ChCIz':function(_0xc35148,_0x1ba401){return _0xc35148+_0x1ba401;},'JnqjL':';\x20p_uin=o','oIWYo':function(_0x4497cc,_0x5499bd,_0xdfa521){return _0x4497cc(_0x5499bd,_0xdfa521);},'Tsngw':'获取龙王信息失败','wrRwV':function(_0x25e7c1,_0x28ef94){return _0x25e7c1===_0x28ef94;},'LbQsD':function(_0x3f16a7,_0x5680de,_0xbbc889){return _0x3f16a7(_0x5680de,_0xbbc889);},'qEOFB':_0x51f49f(0x210),'Qgidj':function(_0x28dd07,_0x223f85){return _0x28dd07===_0x223f85;},'KRcIe':function(_0x24949b,_0x5dc1dc){return _0x24949b===_0x5dc1dc;},'uXxbO':_0x51f49f(0x239),'MAlLm':function(_0x5319b7,_0x1e2e32){return _0x5319b7===_0x1e2e32;},'tBHnX':'获取快乐源泉失败','KRBnG':function(_0x34dca8,_0x1123aa){return _0x34dca8===_0x1123aa;}},_0x19f3bd=(await NTQQUserApi[_0x51f49f(0x227)]([_0x51f49f(0x1d2)]))[_0x51f49f(0x1d2)],_0x236277=await NTQQUserApi[_0x51f49f(0x22d)]();if(_0x56fcaa['nYTTy'](!_0x236277,!_0x19f3bd))return undefined;async function _0xc3cadd(_0x4132fe,_0x26c05e){const _0x1d08b8=_0x51f49f;let _0x2b73e8=_0x56fcaa['ejOAn'](_0x56fcaa['ejOAn'](_0x56fcaa[_0x1d08b8(0x231)](_0x56fcaa['cxpfz'],_0x4132fe),_0x56fcaa['SemaB']),_0x26c05e['toString']()),_0x18cfb5='',_0x572229;try{_0x18cfb5=await RequestUtil[_0x1d08b8(0x214)](_0x2b73e8,_0x56fcaa[_0x1d08b8(0x1f9)],'',{'Cookie':_0x597f8f});const _0xc7a45e=_0x18cfb5[_0x1d08b8(0x1fd)](/window\.__INITIAL_STATE__=(.*?);/);return _0xc7a45e&&(_0x572229=JSON[_0x1d08b8(0x1eb)](_0xc7a45e[0x1][_0x1d08b8(0x1c9)]())),_0x56fcaa[_0x1d08b8(0x1e3)](_0x26c05e,0x1)?_0x572229?.[_0x1d08b8(0x1b4)]:_0x572229?.['actorList'];}catch(_0x2d708f){logDebug('获取当前群荣耀失败',_0x2b73e8,_0x2d708f);}return undefined;}let _0x657805={'group_id':_0x2f242f};const _0x597f8f=_0x56fcaa[_0x51f49f(0x1c1)](_0x56fcaa[_0x51f49f(0x231)](_0x56fcaa['KwomD'](_0x56fcaa[_0x51f49f(0x238)](_0x56fcaa[_0x51f49f(0x231)](_0x56fcaa[_0x51f49f(0x1b0)](_0x51f49f(0x1e6),_0x19f3bd),_0x51f49f(0x1cc)),_0x236277)+_0x56fcaa[_0x51f49f(0x229)],selfInfo['uin']),_0x51f49f(0x218)),selfInfo[_0x51f49f(0x1b9)]);if(_0x3fadc7===WebHonorType['TALKACTIVE']||_0x56fcaa[_0x51f49f(0x1e3)](_0x3fadc7,WebHonorType['ALL']))try{let _0x496749=await _0x56fcaa[_0x51f49f(0x1b8)](_0xc3cadd,_0x2f242f,0x1);if(!_0x496749)throw new Error(_0x56fcaa[_0x51f49f(0x1ae)]);_0x657805[_0x51f49f(0x213)]={'user_id':_0x496749[0x0]?.[_0x51f49f(0x1b9)],'avatar':_0x496749[0x0]?.[_0x51f49f(0x1de)],'nickname':_0x496749[0x0]?.[_0x51f49f(0x1e2)],'day_count':0x0,'description':_0x496749[0x0]?.['desc']},_0x657805[_0x51f49f(0x1fa)]=[];for(const _0x1b63c3 of _0x496749){_0x657805[_0x51f49f(0x1fa)]['push']({'user_id':_0x1b63c3?.['uin'],'avatar':_0x1b63c3?.[_0x51f49f(0x1de)],'description':_0x1b63c3?.[_0x51f49f(0x1e5)],'day_count':0x0,'nickname':_0x1b63c3?.[_0x51f49f(0x1e2)]});}}catch(_0x4d1905){logDebug(_0x4d1905);}if(_0x3fadc7===WebHonorType[_0x51f49f(0x20a)]||_0x56fcaa['wrRwV'](_0x3fadc7,WebHonorType[_0x51f49f(0x1ed)]))try{let _0x147ae5=await _0x56fcaa['LbQsD'](_0xc3cadd,_0x2f242f,0x2);if(!_0x147ae5)throw new Error(_0x56fcaa[_0x51f49f(0x1a7)]);_0x657805[_0x51f49f(0x204)]=[];for(const _0x107455 of _0x147ae5){_0x657805['performer_list'][_0x51f49f(0x21f)]({'user_id':_0x107455?.[_0x51f49f(0x1b9)],'nickname':_0x107455?.[_0x51f49f(0x1e2)],'avatar':_0x107455?.['avatar'],'description':_0x107455?.[_0x51f49f(0x1e5)]});}}catch(_0x17c9dd){logDebug(_0x17c9dd);}if(_0x56fcaa['Qgidj'](_0x3fadc7,WebHonorType[_0x51f49f(0x20a)])||_0x56fcaa[_0x51f49f(0x1cd)](_0x3fadc7,WebHonorType['ALL']))try{let _0x29045f=await _0x56fcaa['oIWYo'](_0xc3cadd,_0x2f242f,0x3);if(!_0x29045f)throw new Error(_0x56fcaa[_0x51f49f(0x1c3)]);_0x657805[_0x51f49f(0x1a0)]=[];for(const _0x324b64 of _0x29045f){_0x657805[_0x51f49f(0x1a0)][_0x51f49f(0x21f)]({'user_id':_0x324b64?.[_0x51f49f(0x1b9)],'nickname':_0x324b64?.['name'],'avatar':_0x324b64?.[_0x51f49f(0x1de)],'desc':_0x324b64?.[_0x51f49f(0x237)]});}}catch(_0x31b812){logDebug(_0x56fcaa[_0x51f49f(0x1c3)],_0x31b812);}if(_0x56fcaa[_0x51f49f(0x1cd)](_0x3fadc7,WebHonorType[_0x51f49f(0x20b)])||_0x56fcaa[_0x51f49f(0x208)](_0x3fadc7,WebHonorType[_0x51f49f(0x1ed)]))try{let _0x23001c=await _0x56fcaa[_0x51f49f(0x1a6)](_0xc3cadd,_0x2f242f,0x6);if(!_0x23001c)throw new Error(_0x56fcaa[_0x51f49f(0x22c)]);_0x657805['emotion_list']=[];for(const _0x478be1 of _0x23001c){_0x657805[_0x51f49f(0x1a2)]['push']({'user_id':_0x478be1?.[_0x51f49f(0x1b9)],'nickname':_0x478be1?.[_0x51f49f(0x1e2)],'avatar':_0x478be1?.['avatar'],'desc':_0x478be1?.['description']});}}catch(_0x1bd6c0){_0x56fcaa[_0x51f49f(0x1b8)](logDebug,_0x56fcaa['tBHnX'],_0x1bd6c0);}return(_0x56fcaa[_0x51f49f(0x1db)](_0x3fadc7,WebHonorType['EMOTION'])||_0x56fcaa[_0x51f49f(0x208)](_0x3fadc7,WebHonorType[_0x51f49f(0x1ed)]))&&(_0x657805['strong_newbie_list']=[]),_0x657805;}} \ No newline at end of file +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 diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 3ee37092..8083b929 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -function _0x82ed(){const _0x3fae62=['getNTUserDataInfoConfig','./nt_qq/global','qrcodeUrl','from','1093296gnstSf','addKernelProfileListener','NodeIQQNTWrapperEngine','loginService','zrZdA','update','ScPjM','uid','split','onKickedOffLine','onProfileDetailInfoChanged','onQRCodeSessionFailed','startNT','loginListener','onUserLoggedIn','set','gkTGl','Picrw','dkrwN','addKernelGroupListener','dataPathGlobal','initWithDeskTopConfig','util','groupMemberList_MainWindow','initConfig','packet_received','hex','SvZKX','ZlzwT','NodeIKernelMsgListener','getNextMemberList','MoTPg','engine','addMsg','jWGPB','_GW_B','./NapCat/data','NDKSH','594405hJEiiW','createMemberListScene','FiHya','packet_sent','NodeIKernelLoginService','addKernelLoginListener','getQRCodePicture','onMemberListChange','198KYdsJB','quickLogin','forEach','getGroupService','Fnmre','onLoginSuccess','数据库初始化失败','当前账号(','FuceC','fileLog','311556SQytNP','yBhWT','onRecvSysMsg','onQRCodeGetPicture','sjdBC','eoBvU','getMsgService','initDataListener','KMFIx','constructor','veOdC','clientType','find','siOhr','onRecvMsg','GroupListener','proxyHandler','BuddyListener','assign','passwordLogin','groupCode','22394FdUdFZ','msgId','CVHYk','43jSgmPT','has','getMsgByLongId','xXiEM','errMsg','session','read','NodeQQNTWrapperUtil','name','NodeIQQNTWrapperSession','ZYDrL','onBuddyListChange','buddyList','ProfileListener','JFOrJ','push','NodeIKernelSessionListener','快速登录不可用','updateMsg','getQuickLoginList','sZTKW','addListener','HOvGv','digest','V1_WIN_NQ_','KcgTA','onLoginFailed','now','YurpS','pngBase64QrcodeData','3361455RLxBBy','homedir','map','base64','gryYS','qnRAf','sBCma','登录失败','get','uin','XlMXd','getBuddyService','createHash','Qdzhs','consoleLog','NodeIDispatcherAdapter','mkdirSync','BJRST','onMemberInfoChange','infos','BBBee','jFkFy','1797741HYELuw','resolve','suZyo','oDeJO','onGroupListUpdate','dNpGO','result','NodeIDependsAdapter','nKAXD','isQuickLogin','dyxhj','wZvyB','tipsTitle','140022008','[KickedOffLine]\x20[','initSession','addKernelMsgListener','gJdlO','init','quickLoginWithUin','init\x20failed\x20','onLineDev','没有可快速登录的QQ号','replace','isDelete','catch','NodeIKernelBuddyListener','then','13028Qglgna','length','./.config/QQ','getLoginList','akyci','delete','sceneId','ZaFqH','fileLogLevel','last_message_time','30HYPvhx','yxNYX','undefined','NodeIKernelGroupListener','21nPLZwW','BVGfm','MsgListener','Qpmrd','curVersion','账号设备(','本账号数据/缓存目录:','duOHq','dataPath','onLoginSuccessFuncList','onQRCodeLoginSucceed'];_0x82ed=function(){return _0x3fae62;};return _0x82ed();}const _0x3216c3=_0x3849;(function(_0x47f7e7,_0x591954){const _0x19e8cd=_0x3849,_0x512320=_0x47f7e7();while(!![]){try{const _0x1ab2a0=-parseInt(_0x19e8cd(0x11a))/0x1*(-parseInt(_0x19e8cd(0x117))/0x2)+parseInt(_0x19e8cd(0xf8))/0x3*(-parseInt(_0x19e8cd(0xad))/0x4)+-parseInt(_0x19e8cd(0xf0))/0x5+-parseInt(_0x19e8cd(0x102))/0x6*(-parseInt(_0x19e8cd(0xbb))/0x7)+-parseInt(_0x19e8cd(0xca))/0x8+-parseInt(_0x19e8cd(0x7b))/0x9+parseInt(_0x19e8cd(0xb7))/0xa*(parseInt(_0x19e8cd(0x91))/0xb);if(_0x1ab2a0===_0x591954)break;else _0x512320['push'](_0x512320['shift']());}catch(_0x1eaa66){_0x512320['push'](_0x512320['shift']());}}}(_0x82ed,0x45396));import _0x5b88cd from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x2bd0fd from'node:path';import _0x42dcbc from'node:os';import _0xeea940 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';function _0x3849(_0x392d00,_0x4b8e4b){const _0x82edb8=_0x82ed();return _0x3849=function(_0x38492c,_0xced066){_0x38492c=_0x38492c-0x69;let _0x18d742=_0x82edb8[_0x38492c];return _0x18d742;},_0x3849(_0x392d00,_0x4b8e4b);}import{sleep}from'@/common/utils/helper';import _0x57d888 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{['session'];['util'];[_0x3216c3(0xea)];['loginListener'];[_0x3216c3(0xcd)];[_0x3216c3(0xc4)]=[];[_0x3216c3(0x112)]={'get'(target,prop,receiver){const _0x2272c9=_0x3216c3,hRohXN={'doVOn':function(callee,param1){return callee(param1);},'BJRST':function(x,y){return x===y;},'HOvGv':_0x2272c9(0xb9)};if(hRohXN[_0x2272c9(0x8c)](typeof target[prop],hRohXN[_0x2272c9(0x73)]))return(...args)=>{const _0x212f24=_0x2272c9;hRohXN['doVOn'](logDebug,target[_0x212f24(0x10b)][_0x212f24(0x122)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x2272c9(0x83)](target,prop,receiver);}};constructor(){const _0xae6818=_0x3216c3,_0xcd813c={'XuEOJ':function(_0x2c8d7a,_0x3bbaa2){return _0x2c8d7a+_0x3bbaa2;},'BgOqR':_0xae6818(0xff),'duOHq':')已登录,无法重复登录','sZTKW':function(_0x53d815,_0x49d35a,_0x3cfbcd){return _0x53d815(_0x49d35a,_0x3cfbcd);},'KcgTA':function(_0x17f3a7,_0x373bfb){return _0x17f3a7(_0x373bfb);},'FuceC':function(_0x249d7a,_0x1fa3ca){return _0x249d7a(_0x1fa3ca);},'JFOrJ':function(_0x14b8c0,_0x95777f){return _0x14b8c0(_0x95777f);},'SvZKX':_0xae6818(0xee),'eoBvU':function(_0x1174d8,_0x10b331,_0x2e582e){return _0x1174d8(_0x10b331,_0x2e582e);},'NDKSH':_0xae6818(0xc1),'gJdlO':'initSession\x20failed','ZaFqH':_0xae6818(0xfe),'rgKNm':_0xae6818(0x82),'oDeJO':function(_0x2e8b2a,_0x2e37e0){return _0x2e8b2a==_0x2e37e0;},'MoTPg':function(_0xf88f5,_0x4ed9cf){return _0xf88f5==_0x4ed9cf;}};this['engine']=new _0x5b88cd[(_0xae6818(0xcc))](),this[_0xae6818(0xe0)]=new _0x5b88cd[(_0xae6818(0x121))](),this[_0xae6818(0xcd)]=new _0x5b88cd[(_0xae6818(0xf4))](),this[_0xae6818(0x11f)]=new _0x5b88cd[(_0xae6818(0x123))](),this['loginListener']=new LoginListener(),this[_0xae6818(0xd7)][_0xae6818(0xd8)]=_0x4e6b43=>{const _0x26abb2=_0xae6818;logError(_0xcd813c['XuEOJ'](_0xcd813c['BgOqR'],_0x4e6b43)+_0xcd813c[_0x26abb2(0xc2)]);},this[_0xae6818(0xd7)][_0xae6818(0xc5)]=_0x1dae2d=>{const _0x14fd65=_0xae6818,_0x1e3779={'jWGPB':function(_0x4206d7,_0x1d0077,_0x4c1814){return _0x4206d7(_0x1d0077,_0x4c1814);},'QZjqn':function(_0xa7c2b0,_0x354d00){return _0xa7c2b0 instanceof _0x354d00;},'jFkFy':function(_0x265313,_0x4487bb,_0x12b983){const _0xd31449=_0x3849;return _0xcd813c[_0xd31449(0x71)](_0x265313,_0x4487bb,_0x12b983);},'ScPjM':_0xcd813c[_0x14fd65(0xb4)]};this[_0x14fd65(0xa0)](_0x1dae2d[_0x14fd65(0x84)],_0x1dae2d[_0x14fd65(0xd1)])['then'](_0x55d81a=>{const _0x478358=_0x14fd65;selfInfo[_0x478358(0x84)]=_0x1dae2d[_0x478358(0x84)],selfInfo[_0x478358(0xd1)]=_0x1dae2d[_0x478358(0xd1)],napCatConfig[_0x478358(0x120)](),_0xcd813c['sZTKW'](setLogLevel,napCatConfig[_0x478358(0xb5)],napCatConfig['consoleLogLevel']),_0xcd813c[_0x478358(0x76)](enableFileLog,napCatConfig[_0x478358(0x101)]),_0xcd813c[_0x478358(0x100)](enableConsoleLog,napCatConfig[_0x478358(0x89)]),_0xcd813c[_0x478358(0x6b)](setLogSelfInfo,selfInfo);const _0x4ae4f0=_0x2bd0fd[_0x478358(0x92)](this[_0x478358(0xc3)],_0xcd813c[_0x478358(0xe5)]);_0xeea940[_0x478358(0x8b)](_0x4ae4f0,{'recursive':!![]}),_0xcd813c[_0x478358(0x107)](logDebug,_0xcd813c[_0x478358(0xef)],_0x4ae4f0),dbUtil[_0x478358(0xa3)](_0x2bd0fd[_0x478358(0x92)](_0x4ae4f0,'./'+_0x1dae2d['uin']+'-v2.db'))[_0x478358(0xac)](()=>{const _0x35b074=_0x478358,_0x4c6ff7={'sBCma':function(_0x34f149,_0x4b6c26,_0x2a4b7d){const _0x3f2fc5=_0x3849;return _0x1e3779[_0x3f2fc5(0xec)](_0x34f149,_0x4b6c26,_0x2a4b7d);},'dkrwN':function(_0x172522,_0x2b53c3){return _0x1e3779['QZjqn'](_0x172522,_0x2b53c3);}};this[_0x35b074(0x109)](),this[_0x35b074(0xc4)]['map'](_0x434aea=>{const _0x35589f=_0x35b074;new Promise((_0x2b4b5b,_0x4c9161)=>{const _0x1c8a65=_0x3849,_0x166202=_0x4c6ff7[_0x1c8a65(0x81)](_0x434aea,_0x1dae2d[_0x1c8a65(0x84)],_0x1dae2d[_0x1c8a65(0xd1)]);_0x4c6ff7[_0x1c8a65(0xdc)](_0x166202,Promise)&&_0x166202['then'](_0x2b4b5b)[_0x1c8a65(0xaa)](_0x4c9161);})[_0x35589f(0xac)]();});})['catch'](_0x426382=>{const _0x1e0f04=_0x478358;_0x1e3779[_0x1e0f04(0x90)](logError,_0x1e3779[_0x1e0f04(0xd0)],_0x426382);});})[_0x14fd65(0xaa)](_0xb1448b=>{const _0x59e3b4=_0x14fd65;_0xcd813c[_0x59e3b4(0x71)](logError,_0xcd813c[_0x59e3b4(0xa2)],_0xb1448b);throw new Error('启动失败:\x20'+JSON['stringify'](_0xb1448b));});},this['loginListener'][_0xae6818(0xd5)]=(_0x3ee4f3,_0xf8b098,_0x2ac939)=>{const _0x75ef79=_0xae6818;logError(_0xcd813c['rgKNm'],_0x2ac939),_0xcd813c[_0x75ef79(0x94)](_0x3ee4f3,0x1)&&_0xcd813c[_0x75ef79(0xe9)](_0xf8b098,0x3)&&this[_0x75ef79(0xcd)]['getQRCodePicture']();},this[_0xae6818(0xd7)][_0xae6818(0x77)]=_0x3773b8=>{logError('登录失败',_0x3773b8);},this[_0xae6818(0xd7)]=new Proxy(this[_0xae6818(0xd7)],this[_0xae6818(0x112)]),this['loginService'][_0xae6818(0xf5)](new _0x5b88cd['NodeIKernelLoginListener'](this['loginListener'])),this['initConfig']();}get[_0x3216c3(0xc3)](){const _0x876396=_0x3216c3;let _0x5a3cbb=this[_0x876396(0xe0)][_0x876396(0xc6)]();return!_0x5a3cbb&&(_0x5a3cbb=_0x2bd0fd[_0x876396(0x92)](_0x42dcbc[_0x876396(0x7c)](),_0x876396(0xaf)),_0xeea940[_0x876396(0x8b)](_0x5a3cbb,{'recursive':!![]})),_0x5a3cbb;}get[_0x3216c3(0xde)](){const _0x2f21e2=_0x3216c3,_0xa2a5a6={'Fnmre':_0x2f21e2(0xc7)};return _0x2bd0fd[_0x2f21e2(0x92)](this['dataPath'],_0xa2a5a6[_0x2f21e2(0xfc)]);}[_0x3216c3(0xe2)](){const _0x135d62=_0x3216c3,_0x1afebc={'xXiEM':'Windows\x2010\x20Pro'};this[_0x135d62(0xea)][_0x135d62(0xdf)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x1afebc[_0x135d62(0x11d)],'use_xlog':!![],'qua':_0x135d62(0x75)+qqVersionConfigInfo['curVersion'][_0x135d62(0xa8)]('-','_')+_0x135d62(0xed),'global_path_config':{'desktopGlobalPath':this[_0x135d62(0xde)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x5b88cd['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService'][_0x135d62(0xe2)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x135d62(0xde)],'clientVer':qqVersionConfigInfo[_0x135d62(0xbf)],'hostName':hostname});}['initSession'](_0x13b19d,_0x2db48e){const _0x154b9d=_0x3216c3,_0x5a9e85={'veOdC':function(_0x1f1839,_0x58e1a7){return _0x1f1839(_0x58e1a7);},'GejBu':function(_0x3f2d3c,_0x43f188){return _0x3f2d3c(_0x43f188);},'BVGfm':function(_0x59589f,_0x1b738e){return _0x59589f+_0x1b738e;},'gryYS':_0x154b9d(0xa5)};return new Promise((_0x409c79,_0x2bed8e)=>{const _0x53c2ae=_0x154b9d,_0x31982b=genSessionConfig(_0x13b19d,_0x2db48e,this[_0x53c2ae(0xc3)]),_0x208f5d=new SessionListener();_0x208f5d['onSessionInitComplete']=_0x5bf39e=>{const _0x4196a0=_0x53c2ae;if(_0x5bf39e===0x0)return _0x5a9e85[_0x4196a0(0x10c)](_0x409c79,0x0);_0x5a9e85['veOdC'](_0x2bed8e,_0x5bf39e);},this[_0x53c2ae(0x11f)][_0x53c2ae(0xa3)](_0x31982b,new _0x5b88cd[(_0x53c2ae(0x98))](new DependsAdapter()),new _0x5b88cd[(_0x53c2ae(0x8a))](new DispatcherAdapter()),new _0x5b88cd[(_0x53c2ae(0x6d))](_0x208f5d));try{this[_0x53c2ae(0x11f)][_0x53c2ae(0xd6)](0x0);}catch(_0x4a6dd1){try{this[_0x53c2ae(0x11f)][_0x53c2ae(0xd6)]();}catch(_0x3e8a02){_0x5a9e85['GejBu'](_0x2bed8e,_0x5a9e85[_0x53c2ae(0xbc)](_0x5a9e85[_0x53c2ae(0x7f)],_0x3e8a02));}}});}[_0x3216c3(0x109)](){const _0x2d3a57=_0x3216c3,_0x311d36={'yBhWT':function(_0x435644,_0x73994f){return _0x435644(_0x73994f);},'Qpmrd':')\x20在线状态变更','qnRAf':function(_0x409860,_0x15365c){return _0x409860+_0x15365c;},'ZlzwT':_0x2d3a57(0x9f),'Qdzhs':function(_0x1c2179,_0xcca574){return _0x1c2179/_0xcca574;},'nKAXD':function(_0xec78b1,_0x3803c1){return _0xec78b1===_0x3803c1;},'dyxhj':_0x2d3a57(0xe1),'suZyo':function(_0x2822de,_0x38f2f2,_0x441751){return _0x2822de(_0x38f2f2,_0x441751);}},_0x54f23c=new MsgListener();_0x54f23c[_0x2d3a57(0xa6)]=_0x4a1a01=>{const _0x1321db=_0x2d3a57,_0x51fae9={'QMyQn':function(_0x5bb474,_0x4e5fcf){return _0x5bb474===_0x4e5fcf;},'akyci':function(_0x2fa99f,_0x4a6a78){const _0x1ecaec=_0x3849;return _0x311d36[_0x1ecaec(0x103)](_0x2fa99f,_0x4a6a78);},'sjdBC':function(_0x9cd2d8,_0xbb6d6b){return _0x9cd2d8+_0xbb6d6b;},'elpqv':_0x1321db(0xc0),'wZvyB':_0x311d36[_0x1321db(0xbe)]};_0x4a1a01['map'](_0x560d87=>{const _0x8a328f=_0x1321db;_0x51fae9['QMyQn'](_0x560d87[_0x8a328f(0x10d)],0x2)&&_0x51fae9[_0x8a328f(0xb1)](log,_0x51fae9[_0x8a328f(0x106)](_0x51fae9['elpqv']+_0x560d87['devUid'],_0x51fae9[_0x8a328f(0x9c)]));});},_0x54f23c[_0x2d3a57(0xd3)]=_0x436279=>{const _0x3777c6=_0x2d3a57;log(_0x311d36[_0x3777c6(0x80)](_0x311d36['qnRAf'](_0x311d36[_0x3777c6(0xe6)],_0x436279[_0x3777c6(0x9d)]),']\x20')+_0x436279['tipsDesc']);},_0x54f23c['onMsgInfoListUpdate']=_0x39716a=>{const _0x1de403=_0x2d3a57;stat[_0x1de403(0xe3)]+=0x1,_0x39716a[_0x1de403(0x7d)](_0xe350e1=>{const _0x31a672=_0x1de403;_0xe350e1['recallTime']==='0'?dbUtil[_0x31a672(0xeb)](_0xe350e1)[_0x31a672(0xac)]()['catch']():dbUtil[_0x31a672(0x11c)](_0xe350e1[_0x31a672(0x118)])[_0x31a672(0xac)](_0x1dede0=>{const _0x5432f7=_0x31a672;_0x1dede0&&(_0x1dede0['recallTime']=_0xe350e1['recallTime'],dbUtil[_0x5432f7(0x6f)](_0x1dede0)[_0x5432f7(0xac)]());});});},_0x54f23c['onAddSendMsg']=_0xe38995=>{const _0x1039a8=_0x2d3a57;stat[_0x1039a8(0xf3)]+=0x1,stat['message_sent']+=0x1,stat['last_message_time']=Math['floor'](_0x311d36[_0x1039a8(0x88)](Date[_0x1039a8(0x78)](),0x3e8));},_0x54f23c[_0x2d3a57(0x110)]=_0x323851=>{const _0x224063=_0x2d3a57;stat[_0x224063(0xe3)]+=0x1,stat['message_received']+=_0x323851[_0x224063(0xae)],stat[_0x224063(0xb6)]=Math['floor'](Date[_0x224063(0x78)]()/0x3e8);},_0x54f23c[_0x2d3a57(0x104)]=(..._0x3881e1)=>{stat['packet_received']+=0x1;},this[_0x2d3a57(0x72)](_0x54f23c);const _0x53e0af=new BuddyListener();_0x53e0af[_0x2d3a57(0x125)]=_0x4082b8=>{const _0x29faa2=_0x2d3a57;rawFriends[_0x29faa2(0xae)]=0x0,rawFriends[_0x29faa2(0x6c)](..._0x4082b8);for(const _0x506660 of _0x4082b8){for(const _0x1adbac of _0x506660[_0x29faa2(0x69)]){const _0x3f3909=friends[_0x29faa2(0x83)](_0x1adbac[_0x29faa2(0xd1)]);uid2UinMap[_0x1adbac[_0x29faa2(0xd1)]]=_0x1adbac[_0x29faa2(0x84)],_0x3f3909?Object[_0x29faa2(0x114)](_0x3f3909,_0x1adbac):friends['set'](_0x1adbac[_0x29faa2(0xd1)],_0x1adbac);}}},this['addListener'](_0x53e0af),this[_0x2d3a57(0x11f)][_0x2d3a57(0x86)]()['getBuddyList'](!![])[_0x2d3a57(0xac)](_0x1b9933=>{});const _0x5369d3=new ProfileListener();_0x5369d3[_0x2d3a57(0xd4)]=_0x3c8544=>{const _0x193003=_0x2d3a57;_0x311d36[_0x193003(0x99)](_0x3c8544[_0x193003(0xd1)],selfInfo[_0x193003(0xd1)])&&Object[_0x193003(0x114)](selfInfo,_0x3c8544);},_0x5369d3['onSelfStatusChanged']=_0x233c17=>{},this['addListener'](_0x5369d3);const _0xe3c153=new GroupListener();_0xe3c153[_0x2d3a57(0x95)]=(_0x19cd02,_0x219f77)=>{const _0x10fdcb=_0x2d3a57,_0x5bbb40={'mMeFf':_0x311d36[_0x10fdcb(0x9b)]};_0x219f77[_0x10fdcb(0x7d)](_0x41e247=>{const _0x51f6f8=_0x10fdcb,_0x14addb=groups[_0x51f6f8(0x83)](_0x41e247[_0x51f6f8(0x116)]);if(_0x14addb)Object[_0x51f6f8(0x114)](_0x14addb,_0x41e247);else{groups[_0x51f6f8(0xd9)](_0x41e247['groupCode'],_0x41e247);const _0xb7a974=this[_0x51f6f8(0x11f)][_0x51f6f8(0xfb)]()[_0x51f6f8(0xf1)](_0x41e247[_0x51f6f8(0x116)],_0x5bbb40['mMeFf']);this[_0x51f6f8(0x11f)][_0x51f6f8(0xfb)]()[_0x51f6f8(0xe8)](_0xb7a974,undefined,0xbb8)['then'](_0x333149=>{});}});},_0xe3c153[_0x2d3a57(0xf7)]=_0x32f751=>{const _0x166f9f=_0x2d3a57,_0x1b77a7=_0x32f751[_0x166f9f(0xb3)][_0x166f9f(0xd2)]('_')[0x0];if(groupMembers[_0x166f9f(0x11b)](_0x1b77a7)){const _0x5be5da=groupMembers[_0x166f9f(0x83)](_0x1b77a7);_0x32f751[_0x166f9f(0x8e)][_0x166f9f(0xfa)]((_0x47c074,_0xcc6db3)=>{const _0x205e7c=_0x166f9f,_0xea2e55=_0x5be5da[_0x205e7c(0x83)](_0xcc6db3);_0xea2e55?Object[_0x205e7c(0x114)](_0xea2e55,_0x47c074):_0x5be5da[_0x205e7c(0xd9)](_0xcc6db3,_0x47c074);});}else groupMembers['set'](_0x1b77a7,_0x32f751[_0x166f9f(0x8e)]);},_0xe3c153[_0x2d3a57(0x8d)]=(_0x50ea4e,_0x1bf3a8,_0x5bfc9e)=>{const _0x43c179=_0x2d3a57;_0x311d36['nKAXD'](_0x1bf3a8,0x0)&&_0x5bfc9e[_0x43c179(0x83)](selfInfo[_0x43c179(0xd1)])&&_0x5bfc9e['get'](selfInfo[_0x43c179(0xd1)])?.[_0x43c179(0xa9)]&&_0x311d36[_0x43c179(0x93)](setTimeout,()=>{const _0x4c75aa=_0x43c179;groups[_0x4c75aa(0xb2)](_0x50ea4e);},0x1388);_0x5bfc9e[_0x43c179(0xfa)]((_0x3c0510,_0x31a6ee)=>{const _0x4b8fbd=_0x43c179;uid2UinMap[_0x31a6ee]=_0x3c0510[_0x4b8fbd(0x84)];});const _0x5100f6=groupMembers[_0x43c179(0x83)](_0x50ea4e);_0x5100f6?_0x5bfc9e[_0x43c179(0xfa)]((_0x20a4cb,_0x3893f1)=>{const _0x5b3790=_0x43c179,_0x1eedb8=_0x5100f6[_0x5b3790(0x83)](_0x3893f1);_0x1eedb8?Object['assign'](_0x1eedb8,_0x20a4cb):_0x5100f6[_0x5b3790(0xd9)](_0x3893f1,_0x20a4cb);}):groupMembers[_0x43c179(0xd9)](_0x50ea4e,_0x5bfc9e);},this[_0x2d3a57(0x72)](_0xe3c153);}['addListener'](_0x161ac0){const _0x1f6967=_0x3216c3,_0x355192={'BBBee':_0x1f6967(0x113),'gkTGl':_0x1f6967(0x111),'XlMXd':_0x1f6967(0xbd),'yxNYX':_0x1f6967(0x6a)};_0x161ac0=new Proxy(_0x161ac0,this[_0x1f6967(0x112)]);switch(_0x161ac0[_0x1f6967(0x10b)][_0x1f6967(0x122)]){case _0x355192[_0x1f6967(0x8f)]:{return this[_0x1f6967(0x11f)][_0x1f6967(0x86)]()['addKernelBuddyListener'](new _0x5b88cd[(_0x1f6967(0xab))](_0x161ac0));}case _0x355192[_0x1f6967(0xda)]:{return this[_0x1f6967(0x11f)][_0x1f6967(0xfb)]()[_0x1f6967(0xdd)](new _0x5b88cd[(_0x1f6967(0xba))](_0x161ac0));}case _0x355192[_0x1f6967(0x85)]:{return this[_0x1f6967(0x11f)][_0x1f6967(0x108)]()[_0x1f6967(0xa1)](new _0x5b88cd[(_0x1f6967(0xe7))](_0x161ac0));}case _0x355192[_0x1f6967(0xb8)]:{return this['session']['getProfileService']()[_0x1f6967(0xcb)](new _0x5b88cd['NodeIKernelProfileListener'](_0x161ac0));}default:return-0x1;}}[_0x3216c3(0xfd)](_0x43fcf8){const _0x4b24dc=_0x3216c3;this[_0x4b24dc(0xc4)]['push'](_0x43fcf8);}async[_0x3216c3(0xf9)](_0x53fb49){const _0x36d9ea=_0x3216c3,_0x5e18ee={'Picrw':function(_0x517dbc,_0x55e48d){return _0x517dbc!==_0x55e48d;},'siOhr':function(_0x49ad60,_0x538380){return _0x49ad60(_0x538380);},'rgOpF':function(_0x11c296,_0x5def7c){return _0x11c296+_0x5def7c;},'ZYDrL':'快速登录失败\x20'},_0x1fb2d0=await this[_0x36d9ea(0xcd)][_0x36d9ea(0xb0)]();if(_0x5e18ee[_0x36d9ea(0xdb)](_0x1fb2d0['result'],0x0))throw new Error(_0x36d9ea(0xa7));const _0x25a221=_0x1fb2d0['LocalLoginInfoList'][_0x36d9ea(0x10e)](_0x5a5133=>_0x5a5133[_0x36d9ea(0x84)]===_0x53fb49);if(!_0x25a221||!_0x25a221?.[_0x36d9ea(0x9a)])throw new Error(_0x53fb49+_0x36d9ea(0x6e));await _0x5e18ee[_0x36d9ea(0x10f)](sleep,0x3e8);const _0x23b305=await this[_0x36d9ea(0xcd)][_0x36d9ea(0xa4)](_0x53fb49);if(!_0x23b305[_0x36d9ea(0x97)])throw new Error(_0x5e18ee['rgOpF'](_0x5e18ee[_0x36d9ea(0x124)],_0x23b305['loginErrorInfo'][_0x36d9ea(0x11e)]));return _0x23b305;}async['qrLogin'](_0x3c3b4a){const _0x1edb63=_0x3216c3,_0x17b359={'KMFIx':'data:image/png;base64,','ONCFJ':_0x1edb63(0x7e),'YurpS':function(_0x2d2642,_0x31c0e5,_0xbb3d92,_0x4e0606){return _0x2d2642(_0x31c0e5,_0xbb3d92,_0x4e0606);}};return new Promise((_0x1eba41,_0x2cf5ba)=>{const _0x5e44a4=_0x1edb63;this[_0x5e44a4(0xd7)][_0x5e44a4(0x105)]=_0x4b0789=>{const _0x4ba6b6=_0x5e44a4,_0x4eddcc=_0x4b0789[_0x4ba6b6(0x7a)][_0x4ba6b6(0xd2)](_0x17b359[_0x4ba6b6(0x10a)])[0x1],_0x185b24=Buffer[_0x4ba6b6(0xc9)](_0x4eddcc,_0x17b359['ONCFJ']);_0x17b359[_0x4ba6b6(0x79)](_0x3c3b4a,_0x4b0789[_0x4ba6b6(0xc8)],_0x4b0789[_0x4ba6b6(0x7a)],_0x185b24);},this[_0x5e44a4(0xcd)][_0x5e44a4(0xf6)]();});}async[_0x3216c3(0x115)](_0x5e480b,_0x46659d,_0x15108f,_0x447cf8,_0x91c907){const _0xb9781d=_0x3216c3,_0x340210={'FiHya':'md5','dNpGO':_0xb9781d(0xe4),'CVHYk':function(_0x15d672,_0x38232a){return _0x15d672||_0x38232a;},'zrZdA':_0xb9781d(0x9e),'NGMdf':'140022013'},_0x50ddd3=_0x57d888[_0xb9781d(0x87)](_0x340210[_0xb9781d(0xf2)])[_0xb9781d(0xcf)](_0x46659d)[_0xb9781d(0x74)](_0x340210[_0xb9781d(0x96)]),_0x1857d9={'uin':_0x5e480b,'passwordMd5':_0x50ddd3,'step':_0x15108f&&_0x447cf8&&_0x91c907?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x340210[_0xb9781d(0x119)](_0x15108f,''),'proofWaterRand':_0x447cf8||'','proofWaterSid':_0x340210[_0xb9781d(0x119)](_0x91c907,'')};await this[_0xb9781d(0xcd)][_0xb9781d(0xb0)](),await sleep(0x3e8);const _0x55a38b=await this['loginService']['passwordLogin'](_0x1857d9);switch(_0x55a38b[_0xb9781d(0x97)]){case'0':{break;}case _0x340210[_0xb9781d(0xce)]:{break;}case'4':case _0x340210['NGMdf']:default:}}async[_0x3216c3(0x70)](){const _0x187ea4=_0x3216c3,_0xf6f0f0=await this[_0x187ea4(0xcd)][_0x187ea4(0xb0)]();return _0xf6f0f0;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +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 diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 06c02829..b7c8bb1b 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x251af2=_0x1eed;(function(_0x3c53af,_0x5390c2){const _0xae225d=_0x1eed,_0x2a5efb=_0x3c53af();while(!![]){try{const _0x572eec=parseInt(_0xae225d(0x146))/0x1*(-parseInt(_0xae225d(0x142))/0x2)+parseInt(_0xae225d(0x147))/0x3+-parseInt(_0xae225d(0x14a))/0x4+parseInt(_0xae225d(0x139))/0x5+parseInt(_0xae225d(0x136))/0x6+parseInt(_0xae225d(0x143))/0x7*(parseInt(_0xae225d(0x13c))/0x8)+parseInt(_0xae225d(0x140))/0x9*(-parseInt(_0xae225d(0x14b))/0xa);if(_0x572eec===_0x5390c2)break;else _0x2a5efb['push'](_0x2a5efb['shift']());}catch(_0x46d808){_0x2a5efb['push'](_0x2a5efb['shift']());}}}(_0x25ac,0xf3ebe));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 _0x1eed(_0x51220c,_0x41e2e9){const _0x25ac5b=_0x25ac();return _0x1eed=function(_0x1eed80,_0x2412bd){_0x1eed80=_0x1eed80-0x136;let _0x2af393=_0x25ac5b[_0x1eed80];return _0x2af393;},_0x1eed(_0x51220c,_0x41e2e9);}export function deleteGroup(_0x51f4a0){const _0x44d1b1=_0x1eed;groups[_0x44d1b1(0x14f)](_0x51f4a0),groupMembers[_0x44d1b1(0x14f)](_0x51f4a0);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x251af2(0x144)};export async function getFriend(_0x708576){const _0x294302=_0x251af2;_0x708576=_0x708576[_0x294302(0x13a)]();if(isNumeric(_0x708576)){const _0x41d6a5=Array[_0x294302(0x150)](friends['values']());return _0x41d6a5[_0x294302(0x141)](_0x180da=>_0x180da[_0x294302(0x137)]===_0x708576);}else return friends[_0x294302(0x13e)](_0x708576);}export async function getGroup(_0x628852){const _0x3e4fff=_0x251af2;let _0x402410=groups['get'](_0x628852[_0x3e4fff(0x13a)]());if(!_0x402410)try{const _0xfe3862=await NTQQGroupApi[_0x3e4fff(0x14e)]();_0xfe3862[_0x3e4fff(0x13f)]&&_0xfe3862[_0x3e4fff(0x13b)](_0x50c5ca=>{const _0x391822=_0x3e4fff;groups[_0x391822(0x138)](_0x50c5ca[_0x391822(0x149)],_0x50c5ca);});}catch(_0x234e42){return undefined;}return _0x402410=groups['get'](_0x628852[_0x3e4fff(0x13a)]()),_0x402410;}export async function getGroupMember(_0x539b52,_0x417cac){const _0x274b16=_0x251af2,_0x18ea41={'nOeMb':function(_0x4a1d83,_0x4df776){return _0x4a1d83(_0x4df776);},'PGKvq':function(_0x30d8c9){return _0x30d8c9();}};_0x539b52=_0x539b52[_0x274b16(0x13a)](),_0x417cac=_0x417cac[_0x274b16(0x13a)]();let _0x3c3053=groupMembers[_0x274b16(0x13e)](_0x539b52);if(!_0x3c3053)try{_0x3c3053=await NTQQGroupApi[_0x274b16(0x14c)](_0x539b52),groupMembers[_0x274b16(0x138)](_0x539b52,_0x3c3053);}catch(_0x31bfba){return null;}const _0x2b9e3a=()=>{const _0x6b3537=_0x274b16;let _0x23b64d=undefined;return _0x18ea41[_0x6b3537(0x13d)](isNumeric,_0x417cac)?_0x23b64d=Array[_0x6b3537(0x150)](_0x3c3053[_0x6b3537(0x148)]())[_0x6b3537(0x141)](_0x583b73=>_0x583b73[_0x6b3537(0x137)]===_0x417cac):_0x23b64d=_0x3c3053[_0x6b3537(0x13e)](_0x417cac),_0x23b64d;};let _0x1241be=_0x18ea41[_0x274b16(0x14d)](_0x2b9e3a);return!_0x1241be&&(_0x3c3053=await NTQQGroupApi[_0x274b16(0x14c)](_0x539b52),_0x1241be=_0x2b9e3a()),_0x1241be;}export const uid2UinMap={};export function getUidByUin(_0xfc90d8){const _0xd62273=_0x251af2,_0x3fb708={'tOxka':function(_0x52d806,_0x237622){return _0x52d806===_0x237622;}};for(const _0x2efb81 in uid2UinMap){if(_0x3fb708[_0xd62273(0x145)](uid2UinMap[_0x2efb81],_0xfc90d8))return _0x2efb81;}}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 _0x25ac(){const _0x2fa3a9=['getGroupMembers','PGKvq','getGroups','delete','from','1311462zmWTAu','uin','set','5747965xFYbqV','toString','forEach','272zcTJzp','nOeMb','get','length','576FKNaOc','find','156122CeKNcs','349741YVUTVh','NapCat未能正常启动,请检查日志查看错误','tOxka','1UXasEL','1741041glpAAb','values','groupCode','4529856AaFpCA','224630hXFvhj'];_0x25ac=function(){return _0x2fa3a9;};return _0x25ac();} \ No newline at end of file +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 diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index f5d10341..514761a9 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x1940f8,_0x41bbea){var _0x517b8c=_0x5526,_0x4acb90=_0x1940f8();while(!![]){try{var _0x197ec1=parseInt(_0x517b8c(0x1f9))/0x1*(parseInt(_0x517b8c(0x1ee))/0x2)+parseInt(_0x517b8c(0x1ed))/0x3*(parseInt(_0x517b8c(0x1f3))/0x4)+parseInt(_0x517b8c(0x1fa))/0x5+-parseInt(_0x517b8c(0x1f4))/0x6*(-parseInt(_0x517b8c(0x1f0))/0x7)+parseInt(_0x517b8c(0x1f2))/0x8*(parseInt(_0x517b8c(0x1ec))/0x9)+-parseInt(_0x517b8c(0x1f6))/0xa*(-parseInt(_0x517b8c(0x1fb))/0xb)+-parseInt(_0x517b8c(0x1f5))/0xc;if(_0x197ec1===_0x41bbea)break;else _0x4acb90['push'](_0x4acb90['shift']());}catch(_0x451380){_0x4acb90['push'](_0x4acb90['shift']());}}}(_0x6793,0xeb961));function _0x6793(){var _0x444fde=['5447035vJfYYG','9873490jKBghG','SFsSv','RZkHp','3843GHLiqW','24117ltwfYG','536PlezSV','IMAGE','84336hEgVQa','AUDIO','28936ekERrf','532BiycXd','678suesFY','79056144NPqKrJ','20SgESOL','VIDEO','Ladfa','2587YClIOW'];_0x6793=function(){return _0x444fde;};return _0x6793();}function _0x5526(_0x17ab39,_0x4c1094){var _0x6793cd=_0x6793();return _0x5526=function(_0x5526b5,_0x4e75ef){_0x5526b5=_0x5526b5-0x1ea;var _0x3af832=_0x6793cd[_0x5526b5];return _0x3af832;},_0x5526(_0x17ab39,_0x4c1094);};export var CacheFileType;(function(_0x5edab5){var _0x402547=_0x5526,_0x17851d={'RZkHp':_0x402547(0x1ef),'SFsSv':_0x402547(0x1f1),'Ladfa':'DOCUMENT','Ltbnn':'OTHER'};_0x5edab5[_0x5edab5[_0x402547(0x1ef)]=0x0]=_0x17851d[_0x402547(0x1eb)],_0x5edab5[_0x5edab5[_0x402547(0x1f7)]=0x1]=_0x402547(0x1f7),_0x5edab5[_0x5edab5[_0x402547(0x1f1)]=0x2]=_0x17851d[_0x402547(0x1ea)],_0x5edab5[_0x5edab5[_0x17851d[_0x402547(0x1f8)]]=0x3]=_0x17851d[_0x402547(0x1f8)],_0x5edab5[_0x5edab5[_0x17851d['Ltbnn']]=0x4]=_0x17851d['Ltbnn'];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(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 diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index e23295e2..352894d3 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x4cb11f=_0x3d62;(function(_0xe7769b,_0x4c841d){const _0x412da8=_0x3d62,_0x39fe13=_0xe7769b();while(!![]){try{const _0x46c558=-parseInt(_0x412da8(0x249))/0x1+-parseInt(_0x412da8(0x238))/0x2*(parseInt(_0x412da8(0x23d))/0x3)+parseInt(_0x412da8(0x217))/0x4+parseInt(_0x412da8(0x224))/0x5+-parseInt(_0x412da8(0x220))/0x6*(parseInt(_0x412da8(0x23a))/0x7)+-parseInt(_0x412da8(0x203))/0x8+parseInt(_0x412da8(0x210))/0x9;if(_0x46c558===_0x4c841d)break;else _0x39fe13['push'](_0x39fe13['shift']());}catch(_0x495605){_0x39fe13['push'](_0x39fe13['shift']());}}}(_0x3a35,0x4c01d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x65da19}from'node:fs';import _0x44b849 from'fluent-ffmpeg';function _0x3a35(){const _0x24c890=['20524qRxhwa','[商城表情]','43995mlPhqL','cwLKd','find','33jGCpwg','图片信息','skjua','[骰子]','stat','height','TYIFa','crnUD','writeFile','PIC','Thumb','ZrKms','424350NDyhmL','unlink','DrADy','size','lJHFJ','jlqzX','VIDEO','dirname','文件异常,大小为0','jyoCi','catch','cHciP','toString','video','markdown','text','dice','rujmC','face','end','vWzdm','UIToz','set','TEXT','sep','cACjn','PTT','UCuxV','hOgLU','2503136pBQgFq','file','wtlaP','ptt','path','ewkbR','pic','AniStickerId','lBoab','stringify','MjCuO','get','MARKDOWN','6610545MjSheg','sysface','sJfAZ','AniStickerType','QDes','notAt','jpg','2295284hVPoXW','FILE','then','mface','string','emoji','mp4','[包剪锤]','getImageSize','174hqJxyz','rps','gfXyX','AniStickerPackId','176940xdHmjS','SUlNj','gif','QSid','获取视频封面失败,使用默认封面','JFlHc','MFACE','qZUKo','KfMbX','VaOGf','qGjXq','BwRSD','copyFile','FACE','uploadFile','width','UmAeT','reply','error','视频信息'];_0x3a35=function(){return _0x24c890;};return _0x3a35();}import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';function _0x3d62(_0x154fa8,_0x2ac87c){const _0x3a3597=_0x3a35();return _0x3d62=function(_0x3d62cc,_0x24d46c){_0x3d62cc=_0x3d62cc-0x1ef;let _0xad7385=_0x3a3597[_0x3d62cc];return _0xad7385;},_0x3d62(_0x154fa8,_0x2ac87c);}import _0x1263a4 from'./face_config.json';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x4cb11f(0x1f5)](_0x7dd7b5){const _0x315d71=_0x4cb11f;return{'elementType':ElementType[_0x315d71(0x1fd)],'elementId':'','textElement':{'content':_0x7dd7b5,'atType':AtType[_0x315d71(0x215)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x13bf15,_0xc10e94,_0x5e2a00,_0x35fd11){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x35fd11,'atType':_0x5e2a00,'atUid':_0x13bf15,'atTinyId':'','atNtUid':_0xc10e94}};}static[_0x4cb11f(0x235)](_0x494c5b,_0x116741,_0x3850bc,_0x454572){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x494c5b,'replayMsgId':_0x116741,'senderUin':_0x3850bc,'senderUinStr':_0x454572}};}static async[_0x4cb11f(0x209)](_0x109e8c,_0x451568='',_0x3a78c2=0x0){const _0xa71184=_0x4cb11f,_0x3a8289={'qGjXq':function(_0x2c8a92,_0x4b5726){return _0x2c8a92===_0x4b5726;},'hOgLU':_0xa71184(0x251),'UIToz':function(_0x4e7910,_0x47b74a){return _0x4e7910(_0x47b74a);},'KfMbX':function(_0x11e05c,_0x15c7f8,_0x5a9e7f){return _0x11e05c(_0x15c7f8,_0x5a9e7f);},'ewkbR':_0xa71184(0x23e)},{md5:_0xf0bca0,fileName:_0x507808,path:_0x21111d,fileSize:_0x1ec6b8}=await NTQQFileApi[_0xa71184(0x232)](_0x109e8c,ElementType[_0xa71184(0x246)],_0x3a78c2);if(_0x3a8289[_0xa71184(0x22e)](_0x1ec6b8,0x0))throw _0x3a8289[_0xa71184(0x202)];const _0x454ee2=await NTQQFileApi[_0xa71184(0x21f)](_0x109e8c),_0x2a0aea={'md5HexStr':_0xf0bca0,'fileSize':_0x1ec6b8['toString'](),'picWidth':_0x454ee2?.['width'],'picHeight':_0x454ee2?.['height'],'fileName':_0x507808,'sourcePath':_0x21111d,'original':!![],'picType':_0x3a8289[_0xa71184(0x1fb)](isGIF,_0x109e8c)?PicType[_0xa71184(0x226)]:PicType[_0xa71184(0x216)],'picSubType':_0x3a78c2,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x451568};return _0x3a8289[_0xa71184(0x22c)](logDebug,_0x3a8289[_0xa71184(0x208)],_0x2a0aea),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x2a0aea};}static async[_0x4cb11f(0x204)](_0x1780b3,_0x3d418d=''){const _0x408e43=_0x4cb11f,_0x255fe3={'BwRSD':function(_0x1b735f,_0x3046aa){return _0x1b735f===_0x3046aa;},'vWzdm':function(_0x1d18bd,_0x3e96df){return _0x1d18bd||_0x3e96df;}},{md5:_0x1e3634,fileName:_0x121b06,path:_0x5bf31a,fileSize:_0x391737}=await NTQQFileApi['uploadFile'](_0x1780b3,ElementType[_0x408e43(0x218)]);if(_0x255fe3[_0x408e43(0x22f)](_0x391737,0x0))throw'文件异常,大小为0';const _0x30de58={'elementType':ElementType[_0x408e43(0x218)],'elementId':'','fileElement':{'fileName':_0x255fe3[_0x408e43(0x1fa)](_0x3d418d,_0x121b06),'filePath':_0x5bf31a,'fileSize':_0x391737[_0x408e43(0x1f2)]()}};return _0x30de58;}static async[_0x4cb11f(0x1f3)](_0xbbb6ad,_0x31f39e='',_0x485463=''){const _0x623ff5=_0x4cb11f,_0x168f16={'UmAeT':function(_0x23dbcb,_0x30087a){return _0x23dbcb(_0x30087a);},'cwLKd':function(_0x17dee4,_0x1dfa20,_0x5a486e){return _0x17dee4(_0x1dfa20,_0x5a486e);},'sJfAZ':_0x623ff5(0x228),'cACjn':function(_0xa24e94,_0x2bb6a5){return _0xa24e94(_0x2bb6a5);},'SUlNj':function(_0x2c714b,_0x124795){return _0x2c714b(_0x124795);},'wtlaP':function(_0x3f71c2,_0x277dfe){return _0x3f71c2+_0x277dfe;},'rujmC':_0x623ff5(0x1f9),'DrADy':function(_0x497ae4,_0x1b80b5){return _0x497ae4===_0x1b80b5;},'hyLln':_0x623ff5(0x251),'UCuxV':_0x623ff5(0x207),'JFlHc':_0x623ff5(0x21d),'zpQCi':'获取视频信息失败','IKagJ':function(_0x3e1b36,_0x1d2f4a){return _0x3e1b36(_0x1d2f4a);},'NxPNe':function(_0x315766,_0xdbe29d){return _0x315766||_0xdbe29d;},'cHciP':function(_0x32b7d0,_0x178552){return _0x32b7d0+_0x178552;}},{fileName:_0x3f96c3,path:_0x214252,fileSize:_0x18e0b4,md5:_0xec8e99}=await NTQQFileApi[_0x623ff5(0x232)](_0xbbb6ad,ElementType[_0x623ff5(0x24f)]);if(_0x168f16[_0x623ff5(0x24b)](_0x18e0b4,0x0))throw _0x168f16['hyLln'];const _0x2dea58=require(_0x168f16[_0x623ff5(0x201)]);let _0x2c1b3e=_0x214252['replace'](_0x2dea58['sep']+'Ori'+_0x2dea58['sep'],_0x2dea58[_0x623ff5(0x1fe)]+_0x623ff5(0x247)+_0x2dea58[_0x623ff5(0x1fe)]);_0x2c1b3e=_0x2dea58[_0x623ff5(0x250)](_0x2c1b3e);let _0x23bd2a={'width':0x780,'height':0x438,'time':0xf,'format':_0x168f16[_0x623ff5(0x229)],'size':_0x18e0b4,'filePath':_0xbbb6ad};try{_0x23bd2a=await _0x168f16[_0x623ff5(0x234)](getVideoInfo,_0x214252),logDebug(_0x623ff5(0x237),_0x23bd2a);}catch(_0x2c7d78){_0x168f16[_0x623ff5(0x23b)](logError,_0x168f16['zpQCi'],_0x2c7d78);}const _0x2d5b9f=new Promise((_0x534055,_0x1b3273)=>{const _0x479cab=_0x623ff5,_0x15eaa0={'lJHFJ':function(_0x2af60d,_0x2475de){return _0x168f16['UmAeT'](_0x2af60d,_0x2475de);},'qZUKo':function(_0x5b4073,_0x2e9cc0,_0x1c7ae7){const _0x9f20ec=_0x3d62;return _0x168f16[_0x9f20ec(0x23b)](_0x5b4073,_0x2e9cc0,_0x1c7ae7);},'skjua':_0x168f16[_0x479cab(0x212)],'MjCuO':function(_0x15d7f6,_0x5292d4){const _0x11fdf2=_0x479cab;return _0x168f16[_0x11fdf2(0x1ff)](_0x15d7f6,_0x5292d4);}},_0x2128fa=_0xec8e99+'_0.png',_0x3e4de1=_0x2dea58['join'](_0x2c1b3e,_0x2128fa);_0x168f16[_0x479cab(0x225)](_0x44b849,_0xbbb6ad)['on']('end',()=>{})['on'](_0x479cab(0x236),_0x140b4b=>{const _0x583304=_0x479cab;_0x15eaa0[_0x583304(0x22b)](logDebug,_0x15eaa0[_0x583304(0x23f)],_0x140b4b),_0x485463?_0x65da19[_0x583304(0x230)](_0x485463,_0x3e4de1)['then'](()=>{_0x534055(_0x3e4de1);})['catch'](_0x1b3273):_0x65da19[_0x583304(0x245)](_0x3e4de1,defaultVideoThumb)[_0x583304(0x219)](()=>{const _0xb0ed4c=_0x583304;_0x15eaa0[_0xb0ed4c(0x24d)](_0x534055,_0x3e4de1);})[_0x583304(0x1f0)](_0x1b3273);})['screenshots']({'timestamps':[0x0],'filename':_0x2128fa,'folder':_0x2c1b3e,'size':_0x168f16[_0x479cab(0x205)](_0x168f16[_0x479cab(0x205)](_0x23bd2a[_0x479cab(0x233)],'x'),_0x23bd2a[_0x479cab(0x242)])})['on'](_0x168f16[_0x479cab(0x1f7)],()=>{const _0x20044d=_0x479cab;_0x15eaa0[_0x20044d(0x20d)](_0x534055,_0x3e4de1);});}),_0x4c3b4d=new Map(),_0x14bc64=await _0x2d5b9f,_0x2f163e=(await _0x65da19[_0x623ff5(0x241)](_0x14bc64))[_0x623ff5(0x24c)];_0x4c3b4d[_0x623ff5(0x1fc)](0x0,_0x14bc64);const _0x553dfc=await _0x168f16['IKagJ'](calculateFileMD5,_0x14bc64),_0x42e6c7={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x168f16['NxPNe'](_0x31f39e,_0x3f96c3),'filePath':_0x214252,'videoMd5':_0xec8e99,'thumbMd5':_0x553dfc,'fileTime':_0x23bd2a['time'],'thumbPath':_0x4c3b4d,'thumbSize':_0x2f163e,'thumbWidth':_0x23bd2a['width'],'thumbHeight':_0x23bd2a[_0x623ff5(0x242)],'fileSize':_0x168f16[_0x623ff5(0x1f1)]('',_0x18e0b4)}};return _0x42e6c7;}static async[_0x4cb11f(0x206)](_0x18ecc9){const _0x5a1404=_0x4cb11f,_0x212c7b={'jlqzX':function(_0x513a96,_0x3289ca){return _0x513a96(_0x3289ca);},'lBoab':function(_0xe46363,_0x37ebc0){return _0xe46363===_0x37ebc0;},'ZrKms':_0x5a1404(0x251)},{converted:_0x446473,path:_0xc68890,duration:_0x597e1b}=await _0x212c7b[_0x5a1404(0x24e)](encodeSilk,_0x18ecc9);if(!_0xc68890)throw'语音转换失败,\x20请检查语音文件是否正常';const {md5:_0x164098,fileName:_0x28fb8d,path:_0x248de1,fileSize:_0x50aba9}=await NTQQFileApi[_0x5a1404(0x232)](_0xc68890,ElementType[_0x5a1404(0x200)]);if(_0x212c7b[_0x5a1404(0x20b)](_0x50aba9,0x0))throw _0x212c7b[_0x5a1404(0x248)];return _0x446473&&_0x65da19[_0x5a1404(0x24a)](_0xc68890)[_0x5a1404(0x219)](),{'elementType':ElementType[_0x5a1404(0x200)],'elementId':'','pttElement':{'fileName':_0x28fb8d,'filePath':_0x248de1,'md5HexStr':_0x164098,'fileSize':_0x50aba9,'duration':_0x597e1b||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[_0x4cb11f(0x1f8)](_0xff0441){const _0x576dfc=_0x4cb11f,_0x29c8c3={'crnUD':function(_0x4f360c,_0x27d043){return _0x4f360c(_0x27d043);},'VaOGf':function(_0x3993fb,_0x3ff8bd){return _0x3993fb>=_0x3ff8bd;}},_0x28eda9=_0x1263a4[_0x576dfc(0x211)],_0x560792=_0x1263a4[_0x576dfc(0x21c)],_0x5ed701=_0x28eda9[_0x576dfc(0x23c)](_0x4e4148=>_0x4e4148[_0x576dfc(0x227)]===_0xff0441[_0x576dfc(0x1f2)]());_0xff0441=_0x29c8c3[_0x576dfc(0x244)](parseInt,_0xff0441[_0x576dfc(0x1f2)]());let _0x4b189e=0x1;return _0x29c8c3[_0x576dfc(0x22d)](_0xff0441,0xde)&&(_0x4b189e=0x2),_0x5ed701[_0x576dfc(0x213)]&&(_0x4b189e=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0xff0441,'faceType':_0x4b189e,'faceText':_0x5ed701[_0x576dfc(0x214)],'stickerId':_0x5ed701[_0x576dfc(0x20a)],'stickerType':_0x5ed701[_0x576dfc(0x213)],'packId':_0x5ed701[_0x576dfc(0x223)],'sourceType':0x1}};}static[_0x4cb11f(0x21a)](_0x5cc79c,_0x339588,_0x5de7ed,_0x5bff82){const _0x238751=_0x4cb11f,_0x44e4b3={'jyoCi':_0x238751(0x239)};return{'elementType':ElementType[_0x238751(0x22a)],'marketFaceElement':{'emojiPackageId':_0x5cc79c,'emojiId':_0x339588,'key':_0x5de7ed,'faceName':_0x5bff82||mFaceCache[_0x238751(0x20e)](_0x339588)||_0x44e4b3[_0x238751(0x1ef)]}};}static[_0x4cb11f(0x1f6)](_0x3e8fed){const _0x25ca2b=_0x4cb11f,_0x11d080={'exGIE':_0x25ca2b(0x240)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x25ca2b(0x1f6)],'faceType':FaceType[_0x25ca2b(0x1f6)],'faceText':_0x11d080['exGIE'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x4cb11f(0x221)](_0x52bfd2){const _0x2753c6=_0x4cb11f;return{'elementType':ElementType[_0x2753c6(0x231)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x2753c6(0x21e),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0xc71dc9){const _0x567ab2=_0x4cb11f,_0x1e3b7f={'gfXyX':function(_0x410971,_0x29295e){return _0x410971!==_0x29295e;},'TYIFa':_0x567ab2(0x21b)};return _0x1e3b7f[_0x567ab2(0x222)](typeof _0xc71dc9,_0x1e3b7f[_0x567ab2(0x243)])&&(_0xc71dc9=JSON[_0x567ab2(0x20c)](_0xc71dc9)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0xc71dc9,'linkInfo':null,'subElementType':null}};}static[_0x4cb11f(0x1f4)](_0x2f688a){const _0x5003ce=_0x4cb11f;return{'elementType':ElementType[_0x5003ce(0x20f)],'elementId':'','markdownElement':{'content':_0x2f688a}};}} \ No newline at end of file +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 diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 9e61fb34..8253449e 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x103175,_0x3c6022){var _0x23fb97=_0x3dcb,_0x4e9c91=_0x103175();while(!![]){try{var _0x53ab0a=parseInt(_0x23fb97(0xf6))/0x1*(parseInt(_0x23fb97(0xfe))/0x2)+parseInt(_0x23fb97(0xf8))/0x3+-parseInt(_0x23fb97(0xff))/0x4+parseInt(_0x23fb97(0xfc))/0x5*(-parseInt(_0x23fb97(0xf9))/0x6)+-parseInt(_0x23fb97(0xf2))/0x7*(-parseInt(_0x23fb97(0xf5))/0x8)+parseInt(_0x23fb97(0xf1))/0x9+-parseInt(_0x23fb97(0xfa))/0xa*(parseInt(_0x23fb97(0xf7))/0xb);if(_0x53ab0a===_0x3c6022)break;else _0x4e9c91['push'](_0x4e9c91['shift']());}catch(_0x56556a){_0x4e9c91['push'](_0x4e9c91['shift']());}}}(_0x8d66,0xd6b9c));export var GroupMemberRole;function _0x8d66(){var _0x1d27db=['3822932NpeSpP','iecwu','admin','8591004DEiGLK','147147DgigzP','owner','normal','568HqByDI','1wtLJyi','5180263lKjzsu','4800732QAAEkm','2268CSvtUI','30LShAOj','SWdhP','20590ZCqKMX','EQbVx','1514722pMqRou'];_0x8d66=function(){return _0x1d27db;};return _0x8d66();}function _0x3dcb(_0x2c5c02,_0x17d92b){var _0x8d663d=_0x8d66();return _0x3dcb=function(_0x3dcb26,_0x588422){_0x3dcb26=_0x3dcb26-0xf1;var _0x55b1d9=_0x8d663d[_0x3dcb26];return _0x55b1d9;},_0x3dcb(_0x2c5c02,_0x17d92b);}(function(_0x250291){var _0xfda22d=_0x3dcb,_0x102e29={'EQbVx':_0xfda22d(0xf4),'SWdhP':_0xfda22d(0x101),'iecwu':_0xfda22d(0xf3)};_0x250291[_0x250291[_0x102e29[_0xfda22d(0xfd)]]=0x2]=_0x102e29[_0xfda22d(0xfd)],_0x250291[_0x250291[_0x102e29['SWdhP']]=0x3]=_0x102e29[_0xfda22d(0xfb)],_0x250291[_0x250291[_0x102e29['iecwu']]=0x4]=_0x102e29[_0xfda22d(0x100)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(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 diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 58482958..d3911e4f 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x1d4864,_0x1bef43){var _0xb70b9=_0x38cf,_0x5f1732=_0x1d4864();while(!![]){try{var _0x3c02da=-parseInt(_0xb70b9(0x16e))/0x1*(-parseInt(_0xb70b9(0x16c))/0x2)+-parseInt(_0xb70b9(0x173))/0x3*(parseInt(_0xb70b9(0x171))/0x4)+-parseInt(_0xb70b9(0x175))/0x5+-parseInt(_0xb70b9(0x172))/0x6+parseInt(_0xb70b9(0x174))/0x7+-parseInt(_0xb70b9(0x16d))/0x8+parseInt(_0xb70b9(0x16f))/0x9*(parseInt(_0xb70b9(0x170))/0xa);if(_0x3c02da===_0x1bef43)break;else _0x5f1732['push'](_0x5f1732['shift']());}catch(_0x1f1a91){_0x5f1732['push'](_0x5f1732['shift']());}}}(_0x59f9,0x7844b));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x59f9(){var _0x284756=['1991192Jnjhdp','4242810BKhGit','1162198nbcptK','7508680Ubejjx','1teygBh','423wMHQVH','421930FcxgmM','81316UJEfJy','1461576zoRfHd','48lEPOve'];_0x59f9=function(){return _0x284756;};return _0x59f9();}function _0x38cf(_0x3b7e5a,_0x103cb4){var _0x59f9ef=_0x59f9();return _0x38cf=function(_0x38cf7a,_0x258a45){_0x38cf7a=_0x38cf7a-0x16c;var _0x8c6427=_0x59f9ef[_0x38cf7a];return _0x8c6427;},_0x38cf(_0x3b7e5a,_0x103cb4);}export*from'./constructor'; \ No newline at end of file +(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 diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index da564d79..e2a64bac 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x3c2192=_0x561f;(function(_0x41dff1,_0x199c4f){var _0x283da4=_0x561f,_0xa61937=_0x41dff1();while(!![]){try{var _0x1d502b=parseInt(_0x283da4(0x147))/0x1*(parseInt(_0x283da4(0x148))/0x2)+parseInt(_0x283da4(0x144))/0x3*(parseInt(_0x283da4(0x132))/0x4)+parseInt(_0x283da4(0x138))/0x5+-parseInt(_0x283da4(0x12e))/0x6*(-parseInt(_0x283da4(0x12b))/0x7)+parseInt(_0x283da4(0x153))/0x8*(-parseInt(_0x283da4(0x120))/0x9)+-parseInt(_0x283da4(0x117))/0xa*(-parseInt(_0x283da4(0x126))/0xb)+-parseInt(_0x283da4(0x12d))/0xc;if(_0x1d502b===_0x199c4f)break;else _0xa61937['push'](_0xa61937['shift']());}catch(_0x585266){_0xa61937['push'](_0xa61937['shift']());}}}(_0x25fd,0x536e7));export var ElementType;(function(_0x26c340){var _0x1a15ba=_0x561f,_0x443ac5={'ReCrz':_0x1a15ba(0x13c),'hEPEG':_0x1a15ba(0x140),'EkRev':_0x1a15ba(0x11d),'uQutt':_0x1a15ba(0x14c),'pctcO':_0x1a15ba(0x139),'reFkg':_0x1a15ba(0x123),'SavpT':'TEXT','tNmRj':_0x1a15ba(0x14d),'gWhNN':_0x1a15ba(0x13f),'CUWjl':_0x1a15ba(0x12a)},_0x23bfa8=_0x1a15ba(0x13d)[_0x1a15ba(0x11c)]('|'),_0x2891dd=0x0;while(!![]){switch(_0x23bfa8[_0x2891dd++]){case'0':_0x26c340[_0x26c340[_0x443ac5['ReCrz']]=0xa]=_0x443ac5['ReCrz'];continue;case'1':_0x26c340[_0x26c340[_0x443ac5[_0x1a15ba(0x130)]]=0x7]=_0x443ac5[_0x1a15ba(0x130)];continue;case'2':_0x26c340[_0x26c340['MARKDOWN']=0xe]=_0x443ac5[_0x1a15ba(0x13a)];continue;case'3':_0x26c340[_0x26c340[_0x443ac5[_0x1a15ba(0x14f)]]=0x5]=_0x443ac5['uQutt'];continue;case'4':_0x26c340[_0x26c340[_0x443ac5['pctcO']]=0xb]=_0x443ac5[_0x1a15ba(0x12f)];continue;case'5':_0x26c340[_0x26c340[_0x443ac5[_0x1a15ba(0x145)]]=0x6]=_0x443ac5['reFkg'];continue;case'6':_0x26c340[_0x26c340[_0x443ac5[_0x1a15ba(0x155)]]=0x1]=_0x443ac5[_0x1a15ba(0x155)];continue;case'7':_0x26c340[_0x26c340[_0x1a15ba(0x14d)]=0x2]=_0x443ac5[_0x1a15ba(0x146)];continue;case'8':_0x26c340[_0x26c340[_0x443ac5[_0x1a15ba(0x142)]]=0x4]=_0x443ac5['gWhNN'];continue;case'9':_0x26c340[_0x26c340[_0x1a15ba(0x12a)]=0x3]=_0x443ac5[_0x1a15ba(0x11e)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x59cdc1){var _0x5ccfe3=_0x561f,_0x5cd444={'rsNtq':_0x5ccfe3(0x143),'Jpcdz':_0x5ccfe3(0x13b)};_0x59cdc1[_0x59cdc1[_0x5cd444[_0x5ccfe3(0x133)]]=0x7d0]=_0x5ccfe3(0x143),_0x59cdc1[_0x59cdc1[_0x5ccfe3(0x13b)]=0x3e8]=_0x5cd444['Jpcdz'];}(PicType||(PicType={})));export var PicSubType;function _0x25fd(){var _0x125a9a=['geIux','split','MARKDOWN','CUWjl','normal2','117ZhzrHN','dxarr','notAt','FACE','tgZUe','chatDevice','6809xYGohw','atUser','sWQhC','ban','FILE','126uixlXo','lakbl','14640588uneqgZ','219882ZLgQnS','pctcO','hEPEG','MEMBER_NEW_TITLE','8hquoeK','rsNtq','face','YELqF','wXCHv','vNfwz','2151940qGgyYH','MFACE','EkRev','jpg','ARK','6|7|9|8|3|5|1|0|4|2','nzkkk','PTT','REPLY','https://multimedia.nt.qq.com.cn','gWhNN','gif','444399qyfdqs','reFkg','tNmRj','6315uYUAgw','212JXdweF','nIqop','DHssT','vRyPS','VIDEO','PIC','kicked','uQutt','friend','normal','DAGrc','378984USVgwM','https://gchat.qpic.cn','SavpT','seigA','INVITE_NEW_MEMBER','1970NQDOds','RCmrd','aDKrs','dice'];_0x25fd=function(){return _0x125a9a;};return _0x25fd();}(function(_0x1de6cc){var _0x203686=_0x561f,_0xaaf43d={'aDKrs':'normal','YELqF':_0x203686(0x134)};_0x1de6cc[_0x1de6cc[_0x203686(0x151)]=0x0]=_0xaaf43d[_0x203686(0x119)],_0x1de6cc[_0x1de6cc[_0xaaf43d[_0x203686(0x135)]]=0x1]=_0xaaf43d['YELqF'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x2b8d9e){var _0x41f7d3=_0x561f,_0x14b4e7={'geIux':_0x41f7d3(0x122),'DAGrc':'atAll','EVEgh':_0x41f7d3(0x127)};_0x2b8d9e[_0x2b8d9e[_0x14b4e7[_0x41f7d3(0x11b)]]=0x0]=_0x14b4e7[_0x41f7d3(0x11b)],_0x2b8d9e[_0x2b8d9e[_0x14b4e7['DAGrc']]=0x1]=_0x14b4e7[_0x41f7d3(0x152)],_0x2b8d9e[_0x2b8d9e[_0x41f7d3(0x127)]=0x2]=_0x14b4e7['EVEgh'];}(AtType||(AtType={})));export var ChatType;(function(_0x21806a){var _0x15c308=_0x561f,_0x594725={'RCmrd':_0x15c308(0x150),'tgZUe':'group','sWQhC':_0x15c308(0x125),'seigA':'temp'};_0x21806a[_0x21806a[_0x594725[_0x15c308(0x118)]]=0x1]=_0x594725[_0x15c308(0x118)],_0x21806a[_0x21806a[_0x594725[_0x15c308(0x124)]]=0x2]='group',_0x21806a[_0x21806a['chatDevice']=0x8]=_0x594725[_0x15c308(0x128)],_0x21806a[_0x21806a[_0x594725['seigA']]=0x64]=_0x594725[_0x15c308(0x115)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x3c2192(0x154);export const IMAGE_HTTP_HOST_NT=_0x3c2192(0x141);export var GrayTipElementSubType;function _0x561f(_0x4a5a13,_0x483f3a){var _0x25fdbc=_0x25fd();return _0x561f=function(_0x561f0c,_0x1da7bd){_0x561f0c=_0x561f0c-0x115;var _0x3090ea=_0x25fdbc[_0x561f0c];return _0x3090ea;},_0x561f(_0x4a5a13,_0x483f3a);}(function(_0x5756d1){var _0x5bd68d=_0x3c2192,_0x4a7ff0={'nzkkk':_0x5bd68d(0x116),'vRyPS':_0x5bd68d(0x131)};_0x5756d1[_0x5756d1[_0x4a7ff0['nzkkk']]=0xc]=_0x4a7ff0[_0x5bd68d(0x13e)],_0x5756d1[_0x5756d1[_0x4a7ff0[_0x5bd68d(0x14b)]]=0x11]=_0x4a7ff0[_0x5bd68d(0x14b)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x567d28){var _0x4a0ecb=_0x3c2192,_0x6c7dfc={'dxarr':'normal','lakbl':_0x4a0ecb(0x11a)};_0x567d28[_0x567d28[_0x6c7dfc[_0x4a0ecb(0x121)]]=0x1]=_0x6c7dfc['dxarr'],_0x567d28[_0x567d28[_0x4a0ecb(0x11f)]=0x2]=_0x4a0ecb(0x11f),_0x567d28[_0x567d28[_0x6c7dfc['lakbl']]=0x3]=_0x6c7dfc[_0x4a0ecb(0x12c)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3510fa){var _0x53a231=_0x3c2192,_0x39b12c={'DHssT':_0x53a231(0x11a),'vNfwz':'RPS'};_0x3510fa[_0x3510fa[_0x39b12c[_0x53a231(0x14a)]]=0x166]=_0x53a231(0x11a),_0x3510fa[_0x3510fa['RPS']=0x167]=_0x39b12c[_0x53a231(0x137)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0xb03c5d){var _0x5674f3=_0x3c2192,_0x309b71={'wXCHv':'memberIncrease','nIqop':_0x5674f3(0x129)};_0xb03c5d[_0xb03c5d[_0x309b71[_0x5674f3(0x136)]]=0x1]=_0x309b71[_0x5674f3(0x136)],_0xb03c5d[_0xb03c5d['kicked']=0x3]=_0x5674f3(0x14e),_0xb03c5d[_0xb03c5d[_0x309b71[_0x5674f3(0x149)]]=0x8]=_0x309b71['nIqop'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +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 diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index 6c25ee51..093fc38d 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0xc3d3ca,_0x58d673){var _0x31be1b=_0x1d01,_0x5d53ae=_0xc3d3ca();while(!![]){try{var _0x23736e=-parseInt(_0x31be1b(0xb1))/0x1*(-parseInt(_0x31be1b(0xb0))/0x2)+-parseInt(_0x31be1b(0xad))/0x3*(-parseInt(_0x31be1b(0xae))/0x4)+parseInt(_0x31be1b(0xac))/0x5+parseInt(_0x31be1b(0xbd))/0x6+-parseInt(_0x31be1b(0xc2))/0x7+-parseInt(_0x31be1b(0xc3))/0x8*(parseInt(_0x31be1b(0xc6))/0x9)+-parseInt(_0x31be1b(0xb6))/0xa;if(_0x23736e===_0x58d673)break;else _0x5d53ae['push'](_0x5d53ae['shift']());}catch(_0x4d87c6){_0x5d53ae['push'](_0x5d53ae['shift']());}}}(_0x35aa,0xd8251));export var GroupNotifyTypes;(function(_0x2ac37d){var _0x26b6a6=_0x1d01,_0x29fc11={'XgaKl':_0x26b6a6(0xbf),'MIklA':_0x26b6a6(0xb4),'Vvrud':_0x26b6a6(0xc8),'SlKQa':_0x26b6a6(0xb2),'anRCe':'INVITE_ME','JEiyq':'ADMIN_UNSET','eEDdr':_0x26b6a6(0xcb),'pGvFL':_0x26b6a6(0xce),'sfUcK':'INVITED_JOIN'},_0x4de6fe=_0x29fc11[_0x26b6a6(0xb5)][_0x26b6a6(0xd1)]('|'),_0x480b72=0x0;while(!![]){switch(_0x4de6fe[_0x480b72++]){case'0':_0x2ac37d[_0x2ac37d[_0x29fc11['MIklA']]=0xd]=_0x29fc11[_0x26b6a6(0xc0)];continue;case'1':_0x2ac37d[_0x2ac37d[_0x29fc11[_0x26b6a6(0xc4)]]=0x7]='JOIN_REQUEST';continue;case'2':_0x2ac37d[_0x2ac37d[_0x29fc11['SlKQa']]=0xb]=_0x29fc11[_0x26b6a6(0xab)];continue;case'3':_0x2ac37d[_0x2ac37d[_0x26b6a6(0xbb)]=0x1]=_0x29fc11[_0x26b6a6(0xb7)];continue;case'4':_0x2ac37d[_0x2ac37d[_0x29fc11[_0x26b6a6(0xcc)]]=0xc]=_0x26b6a6(0xbc);continue;case'5':_0x2ac37d[_0x2ac37d[_0x29fc11[_0x26b6a6(0xb9)]]=0x9]=_0x29fc11[_0x26b6a6(0xb9)];continue;case'6':_0x2ac37d[_0x2ac37d[_0x29fc11[_0x26b6a6(0xc5)]]=0x8]=_0x29fc11[_0x26b6a6(0xc5)];continue;case'7':_0x2ac37d[_0x2ac37d[_0x26b6a6(0xd0)]=0x4]=_0x29fc11[_0x26b6a6(0xbe)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x3d052d){var _0x236398=_0x1d01,_0xaa337b={'RPcMM':_0x236398(0xaa),'JCKQS':_0x236398(0xca),'CCiDa':_0x236398(0xcd),'TnjOQ':'REJECT'};_0x3d052d[_0x3d052d[_0xaa337b[_0x236398(0xc9)]]=0x0]=_0xaa337b[_0x236398(0xc9)],_0x3d052d[_0x3d052d[_0xaa337b['JCKQS']]=0x1]=_0xaa337b[_0x236398(0xba)],_0x3d052d[_0x3d052d[_0xaa337b['CCiDa']]=0x2]=_0xaa337b[_0x236398(0xcf)],_0x3d052d[_0x3d052d[_0xaa337b[_0x236398(0xc7)]]=0x3]=_0xaa337b['TnjOQ'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x35aa(){var _0x4ee625=['APPROVE','ADMIN_SET','CCiDa','INVITED_JOIN','split','IGNORE','SlKQa','8240590GqnnWM','4670076hfvnTB','4znbqtG','approve','28YnreNv','21281oKxAUF','MEMBER_EXIT','RYAAL','ADMIN_UNSET_OTHER','XgaKl','9085590GYkxLo','anRCe','reject','eEDdr','JCKQS','INVITE_ME','ADMIN_UNSET','738078vuahYn','sfUcK','3|7|1|6|5|2|4|0','MIklA','TZJzK','4405618lhTQqQ','952ejnfUZ','Vvrud','pGvFL','90945ISbncA','TnjOQ','JOIN_REQUEST','RPcMM','WAIT_HANDLE','KICK_MEMBER','JEiyq'];_0x35aa=function(){return _0x4ee625;};return _0x35aa();}function _0x1d01(_0x437ba3,_0xbb290e){var _0x35aa9a=_0x35aa();return _0x1d01=function(_0x1d0154,_0x5aa249){_0x1d0154=_0x1d0154-0xaa;var _0x48f0c0=_0x35aa9a[_0x1d0154];return _0x48f0c0;},_0x1d01(_0x437ba3,_0xbb290e);}(function(_0x43ea24){var _0x4fbd38=_0x1d01,_0x250138={'RYAAL':_0x4fbd38(0xaf),'TZJzK':_0x4fbd38(0xb8)};_0x43ea24[_0x43ea24[_0x250138[_0x4fbd38(0xb3)]]=0x1]=_0x250138[_0x4fbd38(0xb3)],_0x43ea24[_0x43ea24[_0x250138['TZJzK']]=0x2]=_0x250138[_0x4fbd38(0xc1)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(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 diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 7206b4c1..d5675fde 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x40fd(_0x3a0dbe,_0x15b8b6){var _0x1112c4=_0x1112();return _0x40fd=function(_0x40fdc6,_0x2098fa){_0x40fdc6=_0x40fdc6-0x1ee;var _0x11dd6c=_0x1112c4[_0x40fdc6];return _0x11dd6c;},_0x40fd(_0x3a0dbe,_0x15b8b6);}(function(_0x12bc35,_0x168291){var _0x14ace5=_0x40fd,_0x3795c0=_0x12bc35();while(!![]){try{var _0x185b6f=-parseInt(_0x14ace5(0x1f1))/0x1*(parseInt(_0x14ace5(0x1ef))/0x2)+-parseInt(_0x14ace5(0x1f7))/0x3*(parseInt(_0x14ace5(0x1fb))/0x4)+parseInt(_0x14ace5(0x1f9))/0x5+parseInt(_0x14ace5(0x1fa))/0x6+-parseInt(_0x14ace5(0x1f0))/0x7+-parseInt(_0x14ace5(0x1f2))/0x8+parseInt(_0x14ace5(0x1fc))/0x9*(parseInt(_0x14ace5(0x1f4))/0xa);if(_0x185b6f===_0x168291)break;else _0x3795c0['push'](_0x3795c0['shift']());}catch(_0x361893){_0x3795c0['push'](_0x3795c0['shift']());}}}(_0x1112,0x31fed));export var Sex;function _0x1112(){var _0xb7edaa=['fuEBH','5556tBBahg','eswPA','1250255jLBukn','2376960LADyLX','236xqgIpy','2224647zKPoLp','female','10xaOZfI','625310TXWJbJ','46565UAgpjQ','2057520JJutln','male','10UmSTsT','YrhhI'];_0x1112=function(){return _0xb7edaa;};return _0x1112();}(function(_0x103f4a){var _0x3c259f=_0x40fd,_0x4a3224={'fuEBH':_0x3c259f(0x1f3),'YrhhI':'female','eswPA':'unknown'};_0x103f4a[_0x103f4a[_0x3c259f(0x1f3)]=0x1]=_0x4a3224[_0x3c259f(0x1f6)],_0x103f4a[_0x103f4a[_0x4a3224[_0x3c259f(0x1f5)]]=0x2]=_0x3c259f(0x1ee),_0x103f4a[_0x103f4a[_0x4a3224[_0x3c259f(0x1f8)]]=0xff]=_0x4a3224[_0x3c259f(0x1f8)];}(Sex||(Sex={}))); \ No newline at end of file +(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 diff --git a/src/core.lib/src/external/hook.js b/src/core.lib/src/external/hook.js index 868ee267..8c3fcc7f 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -const _0xf42087=_0x3953;function _0x3953(_0x283380,_0x5cb10a){const _0x23f5e0=_0x23f5();return _0x3953=function(_0x39532b,_0x3f406e){_0x39532b=_0x39532b-0x180;let _0x3b41e0=_0x23f5e0[_0x39532b];return _0x3b41e0;},_0x3953(_0x283380,_0x5cb10a);}(function(_0x287677,_0x39e002){const _0x4a0eb7=_0x3953,_0x4ed3f3=_0x287677();while(!![]){try{const _0x1eab54=parseInt(_0x4a0eb7(0x191))/0x1*(parseInt(_0x4a0eb7(0x18c))/0x2)+parseInt(_0x4a0eb7(0x192))/0x3+-parseInt(_0x4a0eb7(0x18b))/0x4+-parseInt(_0x4a0eb7(0x190))/0x5+parseInt(_0x4a0eb7(0x18a))/0x6*(parseInt(_0x4a0eb7(0x184))/0x7)+parseInt(_0x4a0eb7(0x183))/0x8+-parseInt(_0x4a0eb7(0x18f))/0x9*(parseInt(_0x4a0eb7(0x18e))/0xa);if(_0x1eab54===_0x39e002)break;else _0x4ed3f3['push'](_0x4ed3f3['shift']());}catch(_0x40d01a){_0x4ed3f3['push'](_0x4ed3f3['shift']());}}}(_0x23f5,0x6b7e6));import{logError}from'@/common/utils/log';function _0x23f5(){const _0xdd85a2=['2490JpirUm','QGOyQ','790zYhAbU','16830ywrZNQ','3906705mdCoYD','374VBxxUX','1389534QvVDeB','getRKey','XsrBf','nkvns','./MoeHoo.node','2562408wIiZCG','7aKfNFu','moeHook','isAvailable','加载\x20moehoo\x20失败','MoeHoo','wZpWk','4792854VFWHun','2714212uyylMl'];_0x23f5=function(){return _0xdd85a2;};return _0x23f5();}import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0xf42087(0x185)]=null;constructor(){const _0x8d4bd2=_0xf42087,_0x5f0e6d={'wZpWk':_0x8d4bd2(0x188),'nkvns':function(_0x8aa44a,_0x369aa4){return _0x8aa44a(_0x369aa4);},'XsrBf':_0x8d4bd2(0x182),'QGOyQ':function(_0xf32d13,_0x2ee7db,_0x51f82c){return _0xf32d13(_0x2ee7db,_0x51f82c);}};try{cpModule(_0x5f0e6d[_0x8d4bd2(0x189)]),this[_0x8d4bd2(0x185)]=_0x5f0e6d[_0x8d4bd2(0x181)](require,_0x5f0e6d[_0x8d4bd2(0x180)]),this['moeHook']['HookRkey'](qqPkgInfo['version']);}catch(_0x1867bd){_0x5f0e6d[_0x8d4bd2(0x18d)](logError,_0x8d4bd2(0x187),_0x1867bd);}}[_0xf42087(0x193)](){return this['moeHook']?.['GetRkey']()||'';}[_0xf42087(0x186)](){const _0x56070b=_0xf42087;return!!this[_0x56070b(0x185)];}}export const hookApi=new HookApi(); \ No newline at end of file +(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 diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 10510468..462f3ae2 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x45552f,_0xb175e2){var _0x140f65=_0x521f,_0x60e732=_0x45552f();while(!![]){try{var _0x1ee62a=-parseInt(_0x140f65(0x189))/0x1*(-parseInt(_0x140f65(0x190))/0x2)+parseInt(_0x140f65(0x18e))/0x3*(parseInt(_0x140f65(0x188))/0x4)+-parseInt(_0x140f65(0x18a))/0x5+-parseInt(_0x140f65(0x18c))/0x6+parseInt(_0x140f65(0x18f))/0x7+parseInt(_0x140f65(0x18d))/0x8+-parseInt(_0x140f65(0x18b))/0x9;if(_0x1ee62a===_0xb175e2)break;else _0x60e732['push'](_0x60e732['shift']());}catch(_0x53169d){_0x60e732['push'](_0x60e732['shift']());}}}(_0x4a8d,0x61bb5));function _0x4a8d(){var _0x2a8fe3=['28dHoIMg','1VIlbxO','3360035mTwuxy','4773960wZdaLh','127272TWuvWD','582216MEPhEx','242331PVJncH','4455199tfOkhS','698590taNMrU'];_0x4a8d=function(){return _0x2a8fe3;};return _0x4a8d();}import _0x23fdec 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';function _0x521f(_0x10a7c7,_0xaaf60a){var _0x4a8d12=_0x4a8d();return _0x521f=function(_0x521fa0,_0x310898){_0x521fa0=_0x521fa0-0x188;var _0x60cba6=_0x4a8d12[_0x521fa0];return _0x60cba6;},_0x521f(_0x10a7c7,_0xaaf60a);}export*as Listeners from'./listeners';export*as Services from'./services';export{_0x23fdec as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(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 diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 5f48d808..11298feb 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x30e887=_0x1e31;function _0x1e75(){var _0x3e3287=['onSpacePermissionInfos','onSmartInfos','89506gqurxg','232iOBFKD','onAvatarUrlUpdated','36658100mnGTZO','onDoubtBuddyReqUnreadNumChange','onBuddyInfoChange','onAddMeSettingChanged','onBlockChanged','onNickUpdated','630672AgASND','onDelBatchBuddyInfos','6918228sxnkLF','onBuddyReqChange','onAddBuddyNeedVerify','onBuddyDetailInfoChange','5wMunxt','4126872hWyEbJ','onBuddyListChange','onDoubtBuddyReqChange','8vrjGma','4485RSvBWf','onCheckBuddySettingResult','14050638SmQubb','onBuddyRemarkUpdated'];_0x1e75=function(){return _0x3e3287;};return _0x1e75();}(function(_0x30717e,_0x5ca810){var _0x3cf860=_0x1e31,_0x9af258=_0x30717e();while(!![]){try{var _0xa4a964=-parseInt(_0x3cf860(0x8a))/0x1*(-parseInt(_0x3cf860(0x95))/0x2)+parseInt(_0x3cf860(0x8b))/0x3+-parseInt(_0x3cf860(0x96))/0x4*(-parseInt(_0x3cf860(0x8f))/0x5)+parseInt(_0x3cf860(0x86))/0x6+parseInt(_0x3cf860(0x84))/0x7+parseInt(_0x3cf860(0x8e))/0x8*(parseInt(_0x3cf860(0x91))/0x9)+-parseInt(_0x3cf860(0x98))/0xa;if(_0xa4a964===_0x5ca810)break;else _0x9af258['push'](_0x9af258['shift']());}catch(_0x4a93aa){_0x9af258['push'](_0x9af258['shift']());}}}(_0x1e75,0xc0da1));function _0x1e31(_0x4ee035,_0x629888){var _0x1e757b=_0x1e75();return _0x1e31=function(_0x1e3112,_0xaf36ae){_0x1e3112=_0x1e3112-0x82;var _0x5dff7f=_0x1e757b[_0x1e3112];return _0x5dff7f;},_0x1e31(_0x4ee035,_0x629888);}export class BuddyListener{[_0x30e887(0x88)](_0x2e0bf8){}[_0x30e887(0x9b)](_0x4b6a00){}[_0x30e887(0x97)](_0x440ee0){}[_0x30e887(0x82)](_0xa3d85c){}[_0x30e887(0x89)](_0x42d5a0){}[_0x30e887(0x9a)](_0x593431){}[_0x30e887(0x8c)](_0x9a4dec){}[_0x30e887(0x92)](_0x39609e){}[_0x30e887(0x87)](_0x49a0eb){}['onBuddyReqUnreadCntChange'](_0x189ea7){}[_0x30e887(0x90)](_0x460fde){}[_0x30e887(0x85)](_0x2a9f4d){}[_0x30e887(0x8d)](_0x318767){}[_0x30e887(0x99)](_0x1256f9){}[_0x30e887(0x83)](_0x46260a){}[_0x30e887(0x94)](_0x30fd04){}[_0x30e887(0x93)](_0x5cd047){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index d97a4da4..223974f1 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x3c82(){var _0x97b1a1=['3081140rJRxSE','onFileSearch','onFileListChanged','828895cuiLLx','3HKTUTM','12105270ILQRXu','onSessionListChanged','11nxRvcR','13307IDbQEa','8TxIkrU','460164foTqyD','onSessionChanged','130dqtmeL','2838KdFeQN','87422dNEGMC','8PbvEHu','onFileStatusChanged','11296053ydtpBd'];_0x3c82=function(){return _0x97b1a1;};return _0x3c82();}var _0x5428b2=_0x54e3;function _0x54e3(_0x5b6736,_0x1ad92b){var _0x3c8275=_0x3c82();return _0x54e3=function(_0x54e381,_0x24a251){_0x54e381=_0x54e381-0x6c;var _0xc7266b=_0x3c8275[_0x54e381];return _0xc7266b;},_0x54e3(_0x5b6736,_0x1ad92b);}(function(_0x57ff41,_0x38a039){var _0x27958c=_0x54e3,_0x5b04b2=_0x57ff41();while(!![]){try{var _0x4c977c=-parseInt(_0x27958c(0x71))/0x1*(-parseInt(_0x27958c(0x76))/0x2)+parseInt(_0x27958c(0x6c))/0x3*(parseInt(_0x27958c(0x7a))/0x4)+parseInt(_0x27958c(0x7d))/0x5+-parseInt(_0x27958c(0x75))/0x6*(parseInt(_0x27958c(0x70))/0x7)+parseInt(_0x27958c(0x77))/0x8*(-parseInt(_0x27958c(0x79))/0x9)+parseInt(_0x27958c(0x6d))/0xa*(parseInt(_0x27958c(0x6f))/0xb)+parseInt(_0x27958c(0x72))/0xc*(parseInt(_0x27958c(0x74))/0xd);if(_0x4c977c===_0x38a039)break;else _0x5b04b2['push'](_0x5b04b2['shift']());}catch(_0x817165){_0x5b04b2['push'](_0x5b04b2['shift']());}}}(_0x3c82,0xb11d3));export class KernelFileAssistantListener{[_0x5428b2(0x78)](..._0x533ddc){}[_0x5428b2(0x6e)](..._0x500563){}[_0x5428b2(0x73)](..._0x53f4ea){}[_0x5428b2(0x7c)](..._0x3110e8){}[_0x5428b2(0x7b)](..._0x5d942d){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index e37827a1..9250eb75 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x21af74=_0x5d96;function _0x2228(){var _0x224618=['19711840rfAROM','INVqa','onGroupSingleScreenNotifies','onJoinGroupNotify:','onGroupBulletinChange','onGroupAllInfoChange:','fiCjs','NKiue','onJoinGroupNoVerifyFlag:','onMemberInfoChange','onGroupDetailInfoChange','7056WHFilY','onGroupBulletinRichMediaDownloadComplete','JzIwx','onGroupStatisticInfoChange','onGroupNotifiesUpdated:','onGroupArkInviteStateResult:','27628rlzkMM','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinRichMediaProgressUpdate:','jtHUo','onGroupConfMemberChange:','onGroupListUpdate','onGetGroupBulletinListResult:','log','onGroupBulletinRemindNotify:','onGroupExtListUpdate','DRFSZ','Icfza','onGroupArkInviteStateResult','onGroupFirstBulletinNotify:','onMemberInfoChange:','onGroupAllInfoChange','ISmZM','onShutUpMemberListChanged','onGroupBulletinRichMediaProgressUpdate','onGetGroupBulletinListResult','onGroupNotifiesUnreadCountUpdated','zNFMu','onJoinGroupNotify','onJoinGroupNoVerifyFlag','onGroupNotifiesUpdated','7861iYgCRJ','onGroupDetailInfoChange:','onGroupConfMemberChange','onGroupsMsgMaskResult','szciD','onGroupMemberLevelInfoChange','onGroupSingleScreenNotifies:','2JsLqsu','867876lBLWVl','dPWPY','onMemberListChange','xUiun','754407ogfmca','onGroupBulletinRemindNotify','onGroupBulletinChange:','24aeSwne','4503145TfoeWY','onShutUpMemberListChanged:','onSearchMemberChange','ZFLRK','iQqjd','EaSDy','6692463tiJtih','onGroupFirstBulletinNotify','VLPwK'];_0x2228=function(){return _0x224618;};return _0x2228();}function _0x5d96(_0x1e610d,_0x1e7678){var _0x2228ea=_0x2228();return _0x5d96=function(_0x5d96b5,_0x10067f){_0x5d96b5=_0x5d96b5-0x14b;var _0x2b68c2=_0x2228ea[_0x5d96b5];return _0x2b68c2;},_0x5d96(_0x1e610d,_0x1e7678);}(function(_0x5c0e33,_0xafd5de){var _0x404aa5=_0x5d96,_0x3414be=_0x5c0e33();while(!![]){try{var _0x4d4471=-parseInt(_0x404aa5(0x16b))/0x1*(parseInt(_0x404aa5(0x166))/0x2)+-parseInt(_0x404aa5(0x16e))/0x3*(-parseInt(_0x404aa5(0x189))/0x4)+parseInt(_0x404aa5(0x16f))/0x5+parseInt(_0x404aa5(0x167))/0x6+parseInt(_0x404aa5(0x15f))/0x7*(-parseInt(_0x404aa5(0x183))/0x8)+-parseInt(_0x404aa5(0x175))/0x9+parseInt(_0x404aa5(0x178))/0xa;if(_0x4d4471===_0xafd5de)break;else _0x3414be['push'](_0x3414be['shift']());}catch(_0x25b00d){_0x3414be['push'](_0x3414be['shift']());}}}(_0x2228,0x8e62f));export class GroupListener{[_0x21af74(0x164)](..._0x5dfe62){}[_0x21af74(0x159)](..._0x2d67e7){}['onGroupAllInfoChange'](..._0x3cb24d){}['onGroupBulletinChange'](..._0x4b08b7){}[_0x21af74(0x16c)](..._0x4690ff){}[_0x21af74(0x152)](..._0x1fa172){}[_0x21af74(0x184)](..._0xff5795){}[_0x21af74(0x161)](..._0x28ab5d){}[_0x21af74(0x182)](..._0x1bbbe9){}[_0x21af74(0x14f)](..._0x5231e1){}['onGroupFirstBulletinNotify'](..._0x3f6b2a){}[_0x21af74(0x14b)](_0x44524e,_0x4e59c9){}[_0x21af74(0x15e)](_0x17ac7b,_0x5d6713){}[_0x21af74(0x158)](..._0x53fe2){}[_0x21af74(0x15a)](..._0x55ed1f){}['onGroupSingleScreenNotifies'](_0x35f6b5,_0x40b9c7,_0x21b761){}[_0x21af74(0x162)](..._0x2f4eec){}['onGroupStatisticInfoChange'](..._0x175807){}['onJoinGroupNotify'](..._0x21e653){}['onJoinGroupNoVerifyFlag'](..._0x2336e5){}[_0x21af74(0x181)](_0x24d3d9,_0x4ec59b,_0x47f9e3){}[_0x21af74(0x169)](_0x301f74){}[_0x21af74(0x171)](..._0x280c60){}[_0x21af74(0x157)](..._0x351a10){}}export class DebugGroupListener{[_0x21af74(0x164)](..._0x414ada){var _0x20ca1c=_0x21af74,_0x35d9a1={'jtHUo':'onGroupMemberLevelInfoChange:'};console[_0x20ca1c(0x14d)](_0x35d9a1[_0x20ca1c(0x18c)],..._0x414ada);}[_0x21af74(0x159)](..._0x3611a3){var _0x4cbc1f=_0x21af74,_0x3bb039={'VLPwK':_0x4cbc1f(0x14c)};console[_0x4cbc1f(0x14d)](_0x3bb039[_0x4cbc1f(0x177)],..._0x3611a3);}[_0x21af74(0x155)](..._0x23f928){var _0x1fdb84=_0x21af74;console[_0x1fdb84(0x14d)](_0x1fdb84(0x17d),..._0x23f928);}[_0x21af74(0x17c)](..._0x344dcf){var _0x5dd5d7=_0x21af74,_0x2346ee={'xUiun':_0x5dd5d7(0x16d)};console[_0x5dd5d7(0x14d)](_0x2346ee[_0x5dd5d7(0x16a)],..._0x344dcf);}[_0x21af74(0x16c)](..._0x42597b){var _0x29d0a4=_0x21af74;console['log'](_0x29d0a4(0x14e),..._0x42597b);}[_0x21af74(0x152)](..._0x4cbc5e){var _0x2303af=_0x21af74,_0x4f7225={'INVqa':_0x2303af(0x188)};console[_0x2303af(0x14d)](_0x4f7225[_0x2303af(0x179)],..._0x4cbc5e);}['onGroupBulletinRichMediaDownloadComplete'](..._0x28bf34){var _0x4a304e=_0x21af74,_0x4604eb={'AEpgr':_0x4a304e(0x18a)};console[_0x4a304e(0x14d)](_0x4604eb['AEpgr'],..._0x28bf34);}[_0x21af74(0x161)](..._0x31ca4b){var _0x2597e9=_0x21af74,_0x4ff124={'NKiue':_0x2597e9(0x18d)};console[_0x2597e9(0x14d)](_0x4ff124[_0x2597e9(0x17f)],..._0x31ca4b);}[_0x21af74(0x182)](..._0x512b7e){var _0x486105=_0x21af74,_0x54a519={'EkbED':_0x486105(0x160)};console[_0x486105(0x14d)](_0x54a519['EkbED'],..._0x512b7e);}['onGroupExtListUpdate'](..._0x743368){var _0x5294d0=_0x21af74,_0x3f2d8f={'Icfza':'onGroupExtListUpdate:'};console[_0x5294d0(0x14d)](_0x3f2d8f[_0x5294d0(0x151)],..._0x743368);}[_0x21af74(0x176)](..._0x3823e5){var _0x68e3be=_0x21af74,_0x1c0682={'ISmZM':_0x68e3be(0x153)};console[_0x68e3be(0x14d)](_0x1c0682[_0x68e3be(0x156)],..._0x3823e5);}[_0x21af74(0x14b)](..._0x21eed0){var _0x4f0644=_0x21af74,_0xd927a3={'EaSDy':'onGroupListUpdate:'};console[_0x4f0644(0x14d)](_0xd927a3[_0x4f0644(0x174)],..._0x21eed0);}[_0x21af74(0x15e)](..._0x52cfbc){var _0x3f5308=_0x21af74,_0x530d90={'vbaDj':_0x3f5308(0x187)};console[_0x3f5308(0x14d)](_0x530d90['vbaDj'],..._0x52cfbc);}[_0x21af74(0x158)](..._0x2de57d){var _0x30dc1d=_0x21af74,_0x8af492={'JzIwx':_0x30dc1d(0x18b)};console[_0x30dc1d(0x14d)](_0x8af492[_0x30dc1d(0x185)],..._0x2de57d);}[_0x21af74(0x15a)](..._0x5313d4){var _0x3d0328=_0x21af74,_0x5a2acd={'Ftgvv':'onGroupNotifiesUnreadCountUpdated:'};console[_0x3d0328(0x14d)](_0x5a2acd['Ftgvv'],..._0x5313d4);}[_0x21af74(0x17a)](_0x59351d,_0x29dfe8,_0x1e3c07){var _0x35f28d=_0x21af74,_0xe0086c={'OVkKF':_0x35f28d(0x165)};console[_0x35f28d(0x14d)](_0xe0086c['OVkKF']);}[_0x21af74(0x162)](..._0x8a510e){var _0x19658e=_0x21af74,_0x105471={'fiCjs':'onGroupsMsgMaskResult:'};console[_0x19658e(0x14d)](_0x105471[_0x19658e(0x17e)],..._0x8a510e);}[_0x21af74(0x186)](..._0x17dcd6){var _0x193f7d=_0x21af74,_0xc318f9={'szciD':'onGroupStatisticInfoChange:'};console['log'](_0xc318f9[_0x193f7d(0x163)],..._0x17dcd6);}[_0x21af74(0x15c)](..._0x155ef1){var _0x5ccd3b=_0x21af74,_0x41c46b={'ZFLRK':_0x5ccd3b(0x17b)};console[_0x5ccd3b(0x14d)](_0x41c46b[_0x5ccd3b(0x172)],..._0x155ef1);}[_0x21af74(0x15d)](..._0x1ad159){var _0x5a199b=_0x21af74,_0x218b92={'DRFSZ':_0x5a199b(0x180)};console['log'](_0x218b92[_0x5a199b(0x150)],..._0x1ad159);}[_0x21af74(0x181)](_0x100bb9,_0x94abd2,_0x7f6652){var _0x36b105=_0x21af74,_0x31ecfa={'dPWPY':_0x36b105(0x154)};console[_0x36b105(0x14d)](_0x31ecfa[_0x36b105(0x168)],_0x100bb9,_0x94abd2,_0x7f6652);}[_0x21af74(0x169)](..._0x9a13ca){var _0x5b181d=_0x21af74,_0x4cd3d8={'iQqjd':'onMemberListChange:'};console[_0x5b181d(0x14d)](_0x4cd3d8[_0x5b181d(0x173)],..._0x9a13ca);}[_0x21af74(0x171)](..._0x47be24){var _0x1a7815=_0x21af74,_0x39dcc3={'zNFMu':'onSearchMemberChange:'};console['log'](_0x39dcc3[_0x1a7815(0x15b)],..._0x47be24);}[_0x21af74(0x157)](..._0x27d637){var _0x5e1a76=_0x21af74;console[_0x5e1a76(0x14d)](_0x5e1a76(0x170),..._0x27d637);}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 0e5a8424..e70f6403 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x47cb(){var _0x2a91d8=['onPasswordLoginFailed','onQRCodeLoginSucceed','onLoginDisConnected','onLoginConnecting','onQRCodeSessionFailed','onQRCodeLoginPollingStarted','164717mAWqfJ','53219DPbwNB','onLoginState','153372ozAkBN','423LOwVUW','25QsjZGm','onUserLoggedIn','onQQLoginNumLimited','onQRCodeSessionUserScaned','onQRCodeSessionQuickLoginFailed','13422WvZwXE','OnConfirmUnusualDeviceFailed','1998576vQpika','onQRCodeGetPicture','onLogoutFailed','onLoginConnected','1091277TXKqTH','154912KjiTUX'];_0x47cb=function(){return _0x2a91d8;};return _0x47cb();}var _0x182208=_0x246c;(function(_0x3286c8,_0x1aad66){var _0x1a6ed1=_0x246c,_0x56f4b2=_0x3286c8();while(!![]){try{var _0x46a54a=parseInt(_0x1a6ed1(0x12b))/0x1+parseInt(_0x1a6ed1(0x11c))/0x2+-parseInt(_0x1a6ed1(0x122))/0x3+-parseInt(_0x1a6ed1(0x11e))/0x4+-parseInt(_0x1a6ed1(0x12f))/0x5*(-parseInt(_0x1a6ed1(0x12d))/0x6)+parseInt(_0x1a6ed1(0x12a))/0x7+-parseInt(_0x1a6ed1(0x123))/0x8*(-parseInt(_0x1a6ed1(0x12e))/0x9);if(_0x46a54a===_0x1aad66)break;else _0x56f4b2['push'](_0x56f4b2['shift']());}catch(_0xd56ef1){_0x56f4b2['push'](_0x56f4b2['shift']());}}}(_0x47cb,0x3efb8));function _0x246c(_0x42607d,_0x10a9be){var _0x47cb45=_0x47cb();return _0x246c=function(_0x246ce0,_0x3102f5){_0x246ce0=_0x246ce0-0x119;var _0x55c57b=_0x47cb45[_0x246ce0];return _0x55c57b;},_0x246c(_0x42607d,_0x10a9be);}export class LoginListener{[_0x182208(0x121)](..._0x299c4d){}[_0x182208(0x126)](..._0x1c9551){}[_0x182208(0x127)](..._0x1fab82){}[_0x182208(0x11f)](_0x289201){}[_0x182208(0x129)](..._0x53bc12){}[_0x182208(0x11a)](..._0x45fac1){}[_0x182208(0x125)](_0x89e53){}[_0x182208(0x128)](..._0x11b00e){}['onLoginFailed'](..._0x35635a){}['onLogoutSucceed'](..._0x451020){}[_0x182208(0x120)](..._0x2bee71){}[_0x182208(0x130)](..._0x1a55d9){}[_0x182208(0x11b)](..._0x2900b6){}[_0x182208(0x124)](..._0x3a4148){}[_0x182208(0x11d)](..._0xa1d97c){}[_0x182208(0x119)](..._0x26bd4f){}[_0x182208(0x12c)](..._0x198f95){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 48b63120..1c39ff22 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x14b594=_0x58c4;function _0x58c4(_0x4dc9aa,_0x527ee6){var _0x2cb701=_0x2cb7();return _0x58c4=function(_0x58c443,_0x113b5d){_0x58c443=_0x58c443-0x181;var _0x38daff=_0x2cb701[_0x58c443];return _0x38daff;},_0x58c4(_0x4dc9aa,_0x527ee6);}(function(_0x375fd3,_0x19706d){var _0x1ed906=_0x58c4,_0x23338a=_0x375fd3();while(!![]){try{var _0x4c50db=parseInt(_0x1ed906(0x1b6))/0x1+-parseInt(_0x1ed906(0x19b))/0x2+-parseInt(_0x1ed906(0x18a))/0x3+-parseInt(_0x1ed906(0x1a1))/0x4*(parseInt(_0x1ed906(0x18d))/0x5)+-parseInt(_0x1ed906(0x194))/0x6*(-parseInt(_0x1ed906(0x1a7))/0x7)+parseInt(_0x1ed906(0x193))/0x8+-parseInt(_0x1ed906(0x182))/0x9*(parseInt(_0x1ed906(0x181))/0xa);if(_0x4c50db===_0x19706d)break;else _0x23338a['push'](_0x23338a['shift']());}catch(_0x40a8fd){_0x23338a['push'](_0x23338a['shift']());}}}(_0x2cb7,0xea2e5));export class MsgListener{[_0x14b594(0x1b8)](_0x383380){}['onBroadcastHelperDownloadComplete'](_0x24248b){}[_0x14b594(0x1b7)](_0x2b5f0e){}[_0x14b594(0x1a0)](_0x42d160,_0x505d81,_0x2a9555){}[_0x14b594(0x1b5)](_0x3ce4e4){}[_0x14b594(0x1a4)](_0x1317be){}[_0x14b594(0x1ba)](_0x37a8c4,_0x49c316,_0x8521c3){}['onEmojiDownloadComplete'](_0xadfdb5){}[_0x14b594(0x1a2)](_0x1a6578){}[_0x14b594(0x1bb)](_0x175b23){}[_0x14b594(0x1a8)](_0x2bf114){}['onFirstViewDirectMsgUpdate'](_0xba0758){}[_0x14b594(0x1b1)](_0x107c6a){}[_0x14b594(0x185)](_0xeda420,_0x9dc2a2,_0x4224a9,_0x4e98be,_0x188af9){}[_0x14b594(0x18b)](_0x30eb49){}['onGroupFileInfoUpdate'](_0x2f13cd){}['onGroupGuildUpdate'](_0x6bfe10){}[_0x14b594(0x19e)](_0x196739){}['onGroupTransferInfoUpdate'](_0x5114ec){}[_0x14b594(0x184)](_0x295d65){}['onGuildMsgAbFlagChanged'](_0xfdafe0){}['onGuildNotificationAbstractUpdate'](_0x2df699){}[_0x14b594(0x1a6)](_0x49662f){}[_0x14b594(0x195)](_0x65f97c){}['onHitRelatedEmojiResult'](_0x2cfb1c){}[_0x14b594(0x192)](_0x56464d){}[_0x14b594(0x198)](_0x4431d1){}[_0x14b594(0x19d)](_0x19351e){}[_0x14b594(0x1b4)](_0x121e1a){}[_0x14b594(0x18e)](_0x362aa4){}['onMsgAbstractUpdate'](_0x2f3acb){}[_0x14b594(0x188)](_0x4c81df){}[_0x14b594(0x1a3)](_0x1ea907,_0x16b8be){}[_0x14b594(0x187)](_0x5a6235){}[_0x14b594(0x190)](_0x3f3f74){}[_0x14b594(0x1b0)](_0x58eaa2){}[_0x14b594(0x199)](_0x227817){}[_0x14b594(0x19a)](_0x162007,_0xf4592a,_0x2db754){}[_0x14b594(0x18f)](_0x12c707){}[_0x14b594(0x1ab)](_0x292d26){}[_0x14b594(0x183)](){}['onNtMsgSyncEnd'](){}['onNtMsgSyncStart'](){}['onReadFeedEventUpdate'](_0x1dd1f5){}[_0x14b594(0x18c)](_0x2aae1e){}['onRecvMsg'](_0x2e0639){}['onRecvMsgSvrRspTransInfo'](_0x5c96a7,_0x2f940d,_0x95a489,_0x465b41,_0x4ec3a0,_0x1babb2){}[_0x14b594(0x1b2)](_0x4e4487){}[_0x14b594(0x1ac)](_0x3a3860){}[_0x14b594(0x1bd)](_0x59d4ec){}[_0x14b594(0x1aa)](_0x3712d8){}['onRichMediaDownloadComplete'](_0x47ffa9){}[_0x14b594(0x1b9)](_0x5c8baa){}[_0x14b594(0x1a5)](_0x190f10){}[_0x14b594(0x1b3)](_0x122896){}[_0x14b594(0x189)](_0x452766,_0x273dde,_0x194211,_0x5488e4){}[_0x14b594(0x1a9)](_0x2a43d8,_0x1bb727,_0x1bf321,_0x2688a9){}[_0x14b594(0x191)](_0x28c257){}[_0x14b594(0x1ad)](_0x58c941){}['onUnreadCntUpdate'](_0x3a7a51){}[_0x14b594(0x1af)](_0x5d87a0){}['onUserOnlineStatusChanged'](_0x223a40){}[_0x14b594(0x19f)](_0x29ea3b){}[_0x14b594(0x186)](_0x40f450,_0x49dcc7,_0x31ccef){}[_0x14b594(0x19c)](_0x2cf553,_0x4fa359,_0x12cf81){}[_0x14b594(0x1bc)](..._0x2e31a0){}[_0x14b594(0x197)](..._0x21d4b1){}[_0x14b594(0x1ae)](..._0x4d4ca4){}[_0x14b594(0x196)](..._0x16ef07){}}function _0x2cb7(){var _0xd9386e=['onFeedEventUpdate','onUserSecQualityChanged','onRecvSysMsg','751270VxEjff','9lgqHgV','onNtFirstViewMsgSyncEnd','onGuildInteractiveUpdate','onGrabPasswordRedBag','onlineStatusBigIconDownloadPush','onMsgEventListUpdate','onMsgBoxChanged','onSendMsgError','3036168CMxXxb','onGroupFileInfoAdd','onRecvGroupGuildFlag','1108775CGxPmt','onLogLevelChanged','onMsgSecurityNotify','onMsgInfoListAdd','onTempChatInfoUpdate','onImportOldDbProgressUpdate','11465120eVMzYK','24WggZQC','onHitEmojiKeywordResult','onBroadcastHelperProgerssUpdate','onMsgWithRichLinkInfoUpdate','onInputStatusPush','onMsgQRCodeStatusChanged','onMsgRecall','728462yrUEfl','onlineStatusSmallIconDownloadPush','onKickedOffLine','onGroupTransferInfoAdd','onUserTabStatusChanged','onChannelFreqLimitInfoUpdate','28UGCcfM','onEmojiResourceUpdate','onMsgDelete','onCustomWithdrawConfigUpdate','onRichMediaUploadComplete','onHitCsRelatedEmojiResult','3122406uVukJw','onFileMsgCome','onSysMsgNotification','onRecvUDCFlag','onMsgSettingUpdate','onRecvS2CMsg','onUnreadCntAfterFirstView','onRedTouchChanged','onUserChannelTabStatusChanged','onMsgInfoListUpdate','onFirstViewGroupGuildMapping','onRecvOnlineFileMsg','onSearchGroupFileInfoUpdate','onLineDev','onContactUnreadCntUpdate','745532bpAUYF','onBroadcastHelperProgressUpdate','onAddSendMsg','onRichMediaProgerssUpdate','onDraftUpdate'];_0x2cb7=function(){return _0xd9386e;};return _0x2cb7();} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index 2bdfd0a4..0ed7106f 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x309711=_0x41ff;function _0x41ff(_0xfbd59d,_0x555e88){var _0x475a12=_0x475a();return _0x41ff=function(_0x41ff65,_0x5e3dfb){_0x41ff65=_0x41ff65-0x198;var _0x26f13d=_0x475a12[_0x41ff65];return _0x26f13d;},_0x41ff(_0xfbd59d,_0x555e88);}function _0x475a(){var _0x33d0b4=['7fVeYME','22YtHRDj','onProfileSimpleChanged','onSelfStatusChanged','5242003LnrGLF','12yOnqRY','6wpcqVP','49641acLEed','139170MXgOSX','63erYRBc','2359928JFKzPD','1236CQJDTS','1985065yYsoxf','onStrangerRemarkChanged','1864800lLLkKD','609IDLUXN'];_0x475a=function(){return _0x33d0b4;};return _0x475a();}(function(_0x5446ca,_0x367a67){var _0x34f0c5=_0x41ff,_0xe6347a=_0x5446ca();while(!![]){try{var _0x564025=-parseInt(_0x34f0c5(0x19d))/0x1*(-parseInt(_0x34f0c5(0x199))/0x2)+parseInt(_0x34f0c5(0x1a5))/0x3*(-parseInt(_0x34f0c5(0x1a3))/0x4)+parseInt(_0x34f0c5(0x19a))/0x5*(parseInt(_0x34f0c5(0x1a4))/0x6)+-parseInt(_0x34f0c5(0x19e))/0x7*(-parseInt(_0x34f0c5(0x198))/0x8)+-parseInt(_0x34f0c5(0x1a7))/0x9*(parseInt(_0x34f0c5(0x1a6))/0xa)+-parseInt(_0x34f0c5(0x19f))/0xb*(parseInt(_0x34f0c5(0x19c))/0xc)+-parseInt(_0x34f0c5(0x1a2))/0xd;if(_0x564025===_0x367a67)break;else _0xe6347a['push'](_0xe6347a['shift']());}catch(_0x213dc8){_0xe6347a['push'](_0xe6347a['shift']());}}}(_0x475a,0x329ab));export class ProfileListener{[_0x309711(0x1a0)](..._0x1900f1){}['onProfileDetailInfoChanged'](_0x5cf188){}['onStatusUpdate'](..._0x431662){}[_0x309711(0x1a1)](..._0xde2e12){}[_0x309711(0x19b)](..._0x5b2c28){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index 9c3eea41..006f4ec5 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0xf7ae75=_0x1f18;(function(_0x12dcb7,_0x26c39c){var _0x14c9a0=_0x1f18,_0x25d5ce=_0x12dcb7();while(!![]){try{var _0x15befd=parseInt(_0x14c9a0(0x133))/0x1+parseInt(_0x14c9a0(0x13a))/0x2*(parseInt(_0x14c9a0(0x132))/0x3)+-parseInt(_0x14c9a0(0x139))/0x4+parseInt(_0x14c9a0(0x131))/0x5*(parseInt(_0x14c9a0(0x134))/0x6)+-parseInt(_0x14c9a0(0x136))/0x7*(-parseInt(_0x14c9a0(0x138))/0x8)+-parseInt(_0x14c9a0(0x13c))/0x9*(parseInt(_0x14c9a0(0x137))/0xa)+-parseInt(_0x14c9a0(0x13b))/0xb;if(_0x15befd===_0x26c39c)break;else _0x25d5ce['push'](_0x25d5ce['shift']());}catch(_0x4bdce9){_0x25d5ce['push'](_0x25d5ce['shift']());}}}(_0x1c18,0xb5017));function _0x1c18(){var _0x248ada=['6zHfHrG','530879zfrWfc','116682VpWlbV','onRobotListChanged','2208703PAJazw','10uXnQzV','32SXxuwn','2638736jfzuSY','154910KqUaXe','6783469rMzWrP','4096908cEpcAx','135JGopGr'];_0x1c18=function(){return _0x248ada;};return _0x1c18();}function _0x1f18(_0x4594ea,_0x15caab){var _0x1c185e=_0x1c18();return _0x1f18=function(_0x1f186f,_0x35a839){_0x1f186f=_0x1f186f-0x131;var _0x4f674e=_0x1c185e[_0x1f186f];return _0x4f674e;},_0x1f18(_0x4594ea,_0x15caab);}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x1f6678){}[_0xf7ae75(0x135)](..._0x4ef831){}['onRobotProfileChanged'](..._0x533333){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index caf1539d..809f137f 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x84fd(_0x22e93a,_0x3e7a4d){var _0x501f06=_0x501f();return _0x84fd=function(_0x84fd1a,_0x8efbd7){_0x84fd1a=_0x84fd1a-0x133;var _0x17446e=_0x501f06[_0x84fd1a];return _0x17446e;},_0x84fd(_0x22e93a,_0x3e7a4d);}var _0x3cf003=_0x84fd;function _0x501f(){var _0x577512=['12Kcksfq','962OCJvaD','onGProSessionCreate','68528TEsFSZ','1066tfxEjC','onOpentelemetryInit','2739604FKhOZE','111LCOCGu','7977730yoXsXx','onSessionInitComplete','8kVyrPF','27712047ULePAj','3054411SuQqzX','12koJwzT','2937530fCXcaM','onUserOnlineResult'];_0x501f=function(){return _0x577512;};return _0x501f();}(function(_0xc57983,_0x59facd){var _0x556cd9=_0x84fd,_0x15802f=_0xc57983();while(!![]){try{var _0x1cdc5d=-parseInt(_0x556cd9(0x142))/0x1*(parseInt(_0x556cd9(0x135))/0x2)+-parseInt(_0x556cd9(0x138))/0x3*(parseInt(_0x556cd9(0x134))/0x4)+-parseInt(_0x556cd9(0x13f))/0x5+-parseInt(_0x556cd9(0x13e))/0x6*(-parseInt(_0x556cd9(0x137))/0x7)+parseInt(_0x556cd9(0x13b))/0x8*(-parseInt(_0x556cd9(0x13d))/0x9)+-parseInt(_0x556cd9(0x139))/0xa+parseInt(_0x556cd9(0x13c))/0xb*(parseInt(_0x556cd9(0x141))/0xc);if(_0x1cdc5d===_0x59facd)break;else _0x15802f['push'](_0x15802f['shift']());}catch(_0x223279){_0x15802f['push'](_0x15802f['shift']());}}}(_0x501f,0x6928d));export class SessionListener{['onNTSessionCreate'](_0xde9823){}[_0x3cf003(0x133)](_0x4d405d){}[_0x3cf003(0x13a)](_0x354945){}[_0x3cf003(0x136)](_0x2be6b0){}[_0x3cf003(0x140)](_0x4c47c4){}['onGetSelfTinyId'](_0x50884c){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index d6c476e9..20a50f8c 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0xf87958=_0x3d2c;function _0x565a(){var _0xe027b8=['5280072fhVAFU','1654313FRBWGH','onFinishScan','2855QJOowi','27UGXvbd','2ihqlkd','30930780WadUCB','16452rJdKVR','274176OACYbP','6560308Fmoebp','onCleanCacheProgressChanged','onChatCleanDone','2495128HskpvZ'];_0x565a=function(){return _0xe027b8;};return _0x565a();}(function(_0x501b3c,_0x272fa7){var _0x489833=_0x3d2c,_0x4d7157=_0x501b3c();while(!![]){try{var _0x592899=-parseInt(_0x489833(0x120))/0x1*(-parseInt(_0x489833(0x124))/0x2)+-parseInt(_0x489833(0x11f))/0x3+parseInt(_0x489833(0x11b))/0x4+-parseInt(_0x489833(0x122))/0x5*(-parseInt(_0x489833(0x126))/0x6)+parseInt(_0x489833(0x127))/0x7+-parseInt(_0x489833(0x11e))/0x8*(-parseInt(_0x489833(0x123))/0x9)+-parseInt(_0x489833(0x125))/0xa;if(_0x592899===_0x272fa7)break;else _0x4d7157['push'](_0x4d7157['shift']());}catch(_0x415e76){_0x4d7157['push'](_0x4d7157['shift']());}}}(_0x565a,0xefb33));function _0x3d2c(_0xa04a90,_0x10a27d){var _0x565a28=_0x565a();return _0x3d2c=function(_0x3d2c17,_0x92e82d){_0x3d2c17=_0x3d2c17-0x11b;var _0x72f84c=_0x565a28[_0x3d2c17];return _0x72f84c;},_0x3d2c(_0xa04a90,_0x10a27d);}export class StorageCleanListener{[_0xf87958(0x11c)](_0x3c39b3){}['onScanCacheProgressChanged'](_0x4ed329){}['onCleanCacheStorageChanged'](_0xeb91de){}[_0xf87958(0x121)](_0x2487e2){}[_0xf87958(0x11d)](_0x44781b){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index c211791f..31adf857 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x1a43d9,_0x3b65db){var _0x30af52=_0x2e9b,_0x182eb9=_0x1a43d9();while(!![]){try{var _0x1c7350=parseInt(_0x30af52(0x9a))/0x1+parseInt(_0x30af52(0x93))/0x2*(-parseInt(_0x30af52(0x97))/0x3)+parseInt(_0x30af52(0x94))/0x4+parseInt(_0x30af52(0x96))/0x5+-parseInt(_0x30af52(0x99))/0x6*(-parseInt(_0x30af52(0x95))/0x7)+-parseInt(_0x30af52(0x9b))/0x8+parseInt(_0x30af52(0x98))/0x9;if(_0x1c7350===_0x3b65db)break;else _0x182eb9['push'](_0x182eb9['shift']());}catch(_0x591f08){_0x182eb9['push'](_0x182eb9['shift']());}}}(_0x20c0,0x2a5e5));export*from'./NodeIKernelSessionListener';function _0x2e9b(_0x303f52,_0xf96dd3){var _0x20c01c=_0x20c0();return _0x2e9b=function(_0x2e9b6b,_0x3602d9){_0x2e9b6b=_0x2e9b6b-0x93;var _0x283660=_0x20c01c[_0x2e9b6b];return _0x283660;},_0x2e9b(_0x303f52,_0xf96dd3);}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';function _0x20c0(){var _0x1e4be3=['153490yWfsqj','63258fDZGIP','343116DPXACX','703158nQCrvV','185378TMmMkL','1417424cEIIUs','30qXiPrE','1182464jnnRqN','7WRDmvD'];_0x20c0=function(){return _0x1e4be3;};return _0x20c0();} \ No newline at end of file +(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 diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index be2e2716..7807b9f3 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x17b9(_0x19fc1f,_0x55adb9){var _0x16bafa=_0x16ba();return _0x17b9=function(_0x17b968,_0x22099c){_0x17b968=_0x17b968-0x80;var _0x23888e=_0x16bafa[_0x17b968];return _0x23888e;},_0x17b9(_0x19fc1f,_0x55adb9);}(function(_0x8c4cca,_0xbe2b80){var _0x5bd106=_0x17b9,_0x483bc2=_0x8c4cca();while(!![]){try{var _0x515e50=-parseInt(_0x5bd106(0x84))/0x1*(parseInt(_0x5bd106(0x80))/0x2)+-parseInt(_0x5bd106(0x81))/0x3+parseInt(_0x5bd106(0x85))/0x4+parseInt(_0x5bd106(0x88))/0x5+parseInt(_0x5bd106(0x86))/0x6*(parseInt(_0x5bd106(0x83))/0x7)+-parseInt(_0x5bd106(0x82))/0x8*(-parseInt(_0x5bd106(0x89))/0x9)+-parseInt(_0x5bd106(0x87))/0xa;if(_0x515e50===_0xbe2b80)break;else _0x483bc2['push'](_0x483bc2['shift']());}catch(_0x110555){_0x483bc2['push'](_0x483bc2['shift']());}}}(_0x16ba,0xda2a0));function _0x16ba(){var _0x1f01f2=['1682925uGNAoH','144sAwoxz','3591UODaEP','1140591RDSuzd','5845364IMSMAV','16686IDHnoY','35468080IuHAZu','8729880SZtOSK','754002bISQVc','2SSMyYH'];_0x16ba=function(){return _0x1f01f2;};return _0x16ba();}export var GeneralCallResultStatus;(function(_0xfcb677){_0xfcb677[_0xfcb677['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +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 diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index 54776f7f..01e13525 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -function _0x4457(){var _0x2912ab=['44ISZKdX','7xpmrKl','3897906nydfaB','375096JGTbki','9628vROjZZ','1195535GPTEvu','117YpQAVX','70GuATxl','19055760GLZXQc','363nrxgPi','26989WYyazI','4932970ULXgQo'];_0x4457=function(){return _0x2912ab;};return _0x4457();}(function(_0x5357e6,_0x1c7fad){var _0x14659b=_0x3a7f,_0x3d923e=_0x5357e6();while(!![]){try{var _0x596ce4=-parseInt(_0x14659b(0x172))/0x1*(-parseInt(_0x14659b(0x168))/0x2)+parseInt(_0x14659b(0x171))/0x3*(-parseInt(_0x14659b(0x16c))/0x4)+parseInt(_0x14659b(0x173))/0x5+-parseInt(_0x14659b(0x16a))/0x6*(-parseInt(_0x14659b(0x169))/0x7)+-parseInt(_0x14659b(0x16b))/0x8*(parseInt(_0x14659b(0x16e))/0x9)+parseInt(_0x14659b(0x16f))/0xa*(parseInt(_0x14659b(0x16d))/0xb)+-parseInt(_0x14659b(0x170))/0xc;if(_0x596ce4===_0x1c7fad)break;else _0x3d923e['push'](_0x3d923e['shift']());}catch(_0xdd6cc){_0x3d923e['push'](_0x3d923e['shift']());}}}(_0x4457,0x7a918));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x3a7f(_0x4242e1,_0x725637){var _0x445779=_0x4457();return _0x3a7f=function(_0x3a7f9c,_0x286fd){_0x3a7f9c=_0x3a7f9c-0x168;var _0x4b0143=_0x445779[_0x3a7f9c];return _0x4b0143;},_0x3a7f(_0x4242e1,_0x725637);}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(_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 diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 491479c1..8c632897 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x454610,_0x2dc20f){const _0xcc5817=_0xa76a,_0x1938c4=_0x454610();while(!![]){try{const _0x18b175=parseInt(_0xcc5817(0x8b))/0x1*(parseInt(_0xcc5817(0x8a))/0x2)+-parseInt(_0xcc5817(0x94))/0x3+-parseInt(_0xcc5817(0x80))/0x4+-parseInt(_0xcc5817(0x7d))/0x5*(-parseInt(_0xcc5817(0x88))/0x6)+-parseInt(_0xcc5817(0x8e))/0x7*(-parseInt(_0xcc5817(0x93))/0x8)+parseInt(_0xcc5817(0x89))/0x9*(parseInt(_0xcc5817(0x7f))/0xa)+-parseInt(_0xcc5817(0x85))/0xb;if(_0x18b175===_0x2dc20f)break;else _0x1938c4['push'](_0x1938c4['shift']());}catch(_0x33a916){_0x1938c4['push'](_0x1938c4['shift']());}}}(_0x5b56,0x32ac4));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x224e49 from'node:path';import _0x4cbe2e from'node:fs';function _0xa76a(_0x12ea18,_0x340e98){const _0x5b5636=_0x5b56();return _0xa76a=function(_0xa76a91,_0x730734){_0xa76a91=_0xa76a91-0x7d;let _0x11dbac=_0x5b5636[_0xa76a91];return _0x11dbac;},_0xa76a(_0x12ea18,_0x340e98);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x4f92cb,_0x39ad06,_0x47d083){const _0x12fba0=_0xa76a,_0x3d4f82={'JlBHa':_0x12fba0(0x7e),'widZR':_0x12fba0(0x92),'zvLal':function(_0x420736){return _0x420736();},'tELou':_0x12fba0(0x81),'gHopp':_0x12fba0(0x8f)},_0x2acf11=_0x224e49[_0x12fba0(0x8c)](_0x47d083,_0x3d4f82[_0x12fba0(0x8d)],_0x12fba0(0x83));_0x4cbe2e['mkdirSync'](_0x2acf11,{'recursive':!![]});const _0x139d2e=_0x224e49['join'](_0x47d083,_0x12fba0(0x7e),_0x3d4f82[_0x12fba0(0x90)]);let _0x513428=_0x3d4f82[_0x12fba0(0x91)](randomUUID);try{_0x513428=_0x4cbe2e[_0x12fba0(0x84)](_0x224e49[_0x12fba0(0x8c)](_0x139d2e),_0x3d4f82['tELou']);}catch(_0x43a82c){_0x4cbe2e['writeFileSync'](_0x224e49[_0x12fba0(0x8c)](_0x139d2e),_0x513428,'utf-8');}const _0x3b1a24={'selfUin':_0x4f92cb,'selfUid':_0x39ad06,'desktopPathConfig':{'account_path':_0x47d083},'clientVer':qqVersionConfigInfo[_0x12fba0(0x82)],'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':_0x2acf11,'deviceInfo':{'guid':_0x513428,'buildVer':qqPkgInfo[_0x12fba0(0x86)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3d4f82['gHopp']};return Object[_0x12fba0(0x87)](sessionConfig,_0x3b1a24),_0x3b1a24;}function _0x5b56(){const _0x2fdb4a=['readFileSync','5631659lFSsCz','version','assign','275430JgMyuO','5931eBNWaw','40uSoGzV','11773lIryxX','join','JlBHa','7ZHgaif','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','widZR','zvLal','guid.txt','2530408fHlPTq','720933FjMwMw','35pceovD','NapCat','4670dSTEqr','884052LdsgxU','utf-8','curVersion','temp'];_0x5b56=function(){return _0x2fdb4a;};return _0x5b56();} \ No newline at end of file +(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 diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index 21d0c643..e210bbf2 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x11ed1e=_0x17f0;(function(_0x4b46a0,_0x2770d6){const _0x3b532e=_0x17f0,_0x1f46f4=_0x4b46a0();while(!![]){try{const _0x50a6da=-parseInt(_0x3b532e(0xb1))/0x1*(parseInt(_0x3b532e(0xaf))/0x2)+-parseInt(_0x3b532e(0xac))/0x3*(-parseInt(_0x3b532e(0xb4))/0x4)+parseInt(_0x3b532e(0xb2))/0x5*(-parseInt(_0x3b532e(0xb3))/0x6)+parseInt(_0x3b532e(0xb0))/0x7+parseInt(_0x3b532e(0xa9))/0x8+parseInt(_0x3b532e(0xaa))/0x9+-parseInt(_0x3b532e(0xb5))/0xa;if(_0x50a6da===_0x2770d6)break;else _0x1f46f4['push'](_0x1f46f4['shift']());}catch(_0x16af55){_0x1f46f4['push'](_0x1f46f4['shift']());}}}(_0x10a5,0x5a47d));import _0x28268b from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x10a5(){const _0x34c35e=['5GvFTLs','2181750RqVWkU','26724DtnpRW','7605040VtQHoL','getConfigDir','fileLogLevel','napcat_','consoleLog','uin','5710672huGNeX','3001203lUnWeq','DEBUG','240fCkVUJ','fileLog','.json','82TcILQy','2884350HNpgGC','12193pAQSyq'];_0x10a5=function(){return _0x34c35e;};return _0x10a5();}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x11ed1e(0xad)]=!![];[_0x11ed1e(0xb9)]=!![];[_0x11ed1e(0xb7)]=LogLevel[_0x11ed1e(0xab)];['consoleLogLevel']=LogLevel['INFO'];constructor(){super();}['getConfigPath'](){const _0x15aef1=_0x11ed1e;return _0x28268b['join'](this[_0x15aef1(0xb6)](),_0x15aef1(0xb8)+selfInfo[_0x15aef1(0xa8)]+_0x15aef1(0xae));}}function _0x17f0(_0x4d8df7,_0x1d9cc1){const _0x10a5f6=_0x10a5();return _0x17f0=function(_0x17f0a3,_0x3c75ca){_0x17f0a3=_0x17f0a3-0xa8;let _0x40ba39=_0x10a5f6[_0x17f0a3];return _0x40ba39;},_0x17f0(_0x4d8df7,_0x1d9cc1);}export const napCatConfig=new Config(); \ No newline at end of file +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 diff --git a/src/core.lib/src/utils/db.js b/src/core.lib/src/utils/db.js index 30775c78..ca2e63b6 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x3411b9=_0xd379;(function(_0xc18973,_0x3e320d){const _0x444301=_0xd379,_0x44819c=_0xc18973();while(!![]){try{const _0x233bcb=-parseInt(_0x444301(0x8f))/0x1+-parseInt(_0x444301(0xe6))/0x2+parseInt(_0x444301(0x95))/0x3+parseInt(_0x444301(0xd0))/0x4+parseInt(_0x444301(0x92))/0x5*(parseInt(_0x444301(0xe0))/0x6)+parseInt(_0x444301(0x80))/0x7+parseInt(_0x444301(0x76))/0x8*(-parseInt(_0x444301(0xed))/0x9);if(_0x233bcb===_0x3e320d)break;else _0x44819c['push'](_0x44819c['shift']());}catch(_0x1df701){_0x44819c['push'](_0x44819c['shift']());}}}(_0x29c6,0x44142));import _0x5d2361 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';function _0xd379(_0x46e88c,_0x5a3c26){const _0x29c62b=_0x29c6();return _0xd379=function(_0xd379e5,_0x50ea90){_0xd379e5=_0xd379e5-0x73;let _0x1fc5ac=_0x29c62b[_0xd379e5];return _0x1fc5ac;},_0xd379(_0x46e88c,_0x5a3c26);}class DBUtilBase{['db'];async[_0x3411b9(0xd2)](_0x38e6ee){const _0xe2c971=_0x3411b9,_0x408d6f={'OmDix':_0xe2c971(0xc6),'qwhRl':function(_0x2cf480,_0x612d87){return _0x2cf480|_0x612d87;}};if(this['db'])return;return new Promise((_0x260a10,_0x90d9a9)=>{const _0x395a88=_0xe2c971,_0x4d78fd={'daUAO':function(_0x2b5b44,_0x1db107,_0x569b8b){return _0x2b5b44(_0x1db107,_0x569b8b);},'TxrXT':_0x408d6f[_0x395a88(0x75)]};this['db']=new _0x5d2361[(_0x395a88(0xc4))](_0x38e6ee,_0x408d6f[_0x395a88(0xdd)](_0x5d2361[_0x395a88(0xb4)],_0x5d2361['OPEN_CREATE']),_0x3d0c61=>{const _0x4addb6=_0x395a88;if(_0x3d0c61){_0x4d78fd[_0x4addb6(0xe4)](logError,_0x4d78fd[_0x4addb6(0xa3)],_0x3d0c61),_0x90d9a9(_0x3d0c61);return;}this[_0x4addb6(0xb3)](),_0x260a10();});});}[_0x3411b9(0xb3)](){const _0x21b92b={'cgNVu':'Method\x20not\x20implemented.'};throw new Error(_0x21b92b['cgNVu']);}[_0x3411b9(0xb8)](){const _0x13873f=_0x3411b9;this['db']?.[_0x13873f(0xb8)]();}}function _0x29c6(){const _0x213c4e=['path','Cuycp','ETWBS','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','addTempUin','set','mlgbq','OcCQJ','msgList','globalMsgShortId','记录消息到数据库,\x20消息长id:\x20','TxrXT','uid','qpYpL','peerUid','yQiKj','getFileCacheByUuid','Could\x20not\x20create\x20table\x20files','stack','waggf','lHFaw','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','清理消息缓存','addFileCache','msgId','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','maxId','createTable','OPEN_READWRITE','chatType','prepare',',\x20短id:\x20','close','parse','BRbGz','element','stringify','agdNB','has','nUYWx','msgTime','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','elementType','longId','Database','now','Could\x20not\x20connect\x20to\x20database','SELECT\x20*\x20FROM\x20temp_uins','getMsgByLongId','uuid','\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)','elementId','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','errno','bkVSn','bTMEg','572456LGNAQa','csNHF','init','updateFileCache','getMsgBySeq','run','arNbw','gmqMS','jzSLp','getFileCache','ivKGA','Could\x20not\x20get\x20msg','ZHJSd','qwhRl','getReceivedTempUinMap','\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)','6ZpxHkV','aJSmf','then',',\x20msgId:\x20','daUAO','数据库中消息最大短id','474716BZUPUt','msgCache','addMsg','gEkTM','msgSeq','HWZGm','getMsg','9ZQJkrs','rnAvJ','oAXma','db\x20could\x20not\x20get\x20file\x20cache','db\x20could\x20not\x20add\x20msg','db\x20could\x20not\x20update\x20file\x20cache','ULObq','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','getCurrentMaxShortId','getUidByTempUin','url','shortId','bwmjM','xxGpn','OmDix','298568DnAgOh','RpNzv','toString','IEDJF','get','FWoJw','catch','hUtJu','fQjIT','BmJNW','2135413RmpEXD','UZExx','fNWIr','name','db\x20could\x20not\x20add\x20file','updateMsg','db\x20could\x20not\x20add\x20temp\x20uin','BaAHO','roTcj','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','OFYvs','DajRW','DTLZA','all','forEach','213961VxGNye','delete','LYWcE','1338775xvmSeL','WASZS','whBrb','154686EKIGqJ','db\x20could\x20not\x20get\x20temp\x20uin\x20map','\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)'];_0x29c6=function(){return _0x213c4e;};return _0x29c6();}class DBUtil extends DBUtilBase{[_0x3411b9(0xe7)]=new Map();[_0x3411b9(0xa1)]=-0x7ffffff8;constructor(){const _0x39d296=_0x3411b9,_0x4d5a07={'OcCQJ':function(_0xdc9a62,_0x9d523e){return _0xdc9a62*_0x9d523e;},'xxGpn':function(_0x15956e,_0x15ec22){return _0x15956e(_0x15ec22);},'bTMEg':function(_0x395d14,_0x18f760){return _0x395d14(_0x18f760);},'lHFaw':_0x39d296(0xae),'NUgmj':function(_0x4788f9,_0x12b8bc){return _0x4788f9*_0x12b8bc;},'ETWBS':function(_0x5dae73,_0x434df1,_0x485a13){return _0x5dae73(_0x434df1,_0x485a13);}};super();const _0x2a119d=_0x4d5a07['NUgmj'](0x3e8*0x3c,0xa);_0x4d5a07[_0x39d296(0x9a)](setInterval,()=>{const _0x4b1a30=_0x39d296;_0x4d5a07[_0x4b1a30(0xcf)](logDebug,_0x4d5a07[_0x4b1a30(0xac)]),this[_0x4b1a30(0xe7)][_0x4b1a30(0x8e)]((_0x499bf9,_0xd51aef)=>{const _0x3f5e2b=_0x4b1a30;Date[_0x3f5e2b(0xc5)]()-_0x4d5a07[_0x3f5e2b(0x9f)](_0x4d5a07[_0x3f5e2b(0x74)](parseInt,_0x499bf9[_0x3f5e2b(0xc0)]),0x3e8)>_0x2a119d&&this[_0x3f5e2b(0xe7)][_0x3f5e2b(0x90)](_0xd51aef);});},_0x2a119d);}async['init'](_0x1e8b65){const _0x13be99=_0x3411b9;await super['init'](_0x1e8b65),this[_0x13be99(0xa1)]=await this['getCurrentMaxShortId']();}[_0x3411b9(0xb3)](){const _0x43ff91=_0x3411b9,_0x3cc119={'MFtZt':function(_0x189867,_0x43a861,_0x20e685){return _0x189867(_0x43a861,_0x20e685);},'MCzed':'Could\x20not\x20create\x20table\x20msgs','Cuycp':function(_0x1a9612,_0x36b31f,_0x7ffcd6){return _0x1a9612(_0x36b31f,_0x7ffcd6);},'ZHJSd':_0x43ff91(0xa9),'roTcj':'Could\x20not\x20create\x20table\x20temp_uins'},_0xe2ee3b=_0x43ff91(0xdf);this['db']['run'](_0xe2ee3b,function(_0x42ec99){const _0xaf75b0=_0x43ff91;_0x42ec99&&_0x3cc119['MFtZt'](logError,_0x3cc119['MCzed'],_0x42ec99[_0xaf75b0(0xaa)]);});const _0x5b1550=_0x43ff91(0x97);this['db']['run'](_0x5b1550,function(_0x5bc357){const _0x44c561=_0x43ff91;_0x5bc357&&_0x3cc119[_0x44c561(0x99)](logError,_0x3cc119[_0x44c561(0xdc)],_0x5bc357);});const _0x7c930f=_0x43ff91(0xca);this['db'][_0x43ff91(0xd5)](_0x7c930f,function(_0x3ba86a){const _0x18d69e=_0x43ff91;_0x3ba86a&&logError(_0x3cc119[_0x18d69e(0x88)],_0x3ba86a);});}async[_0x3411b9(0xf5)](){const _0x593416=_0x3411b9,_0x3d5ef3={'whBrb':function(_0x31d45b,_0x261822,_0x4975d1){return _0x31d45b(_0x261822,_0x4975d1);},'DTLZA':_0x593416(0xcc),'TKoMi':function(_0x5e3ea5,_0x11c771){return _0x5e3ea5(_0x11c771);},'mlgbq':'SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs'};return new Promise((_0x6aa828,_0x812459)=>{const _0x595e04=_0x593416,_0x2598c1={'DajRW':function(_0x5ecb15,_0xb0621c,_0x2daa09){const _0x27b8ed=_0xd379;return _0x3d5ef3[_0x27b8ed(0x94)](_0x5ecb15,_0xb0621c,_0x2daa09);},'GWKjf':_0x3d5ef3[_0x595e04(0x8c)],'BZbHN':function(_0x179d8b,_0x2cbcaa){return _0x3d5ef3['TKoMi'](_0x179d8b,_0x2cbcaa);}};this['db'][_0x595e04(0x7a)](_0x3d5ef3[_0x595e04(0x9e)],(_0x41b3b0,_0x255ebf)=>{const _0x35866f=_0x595e04;if(_0x41b3b0)return _0x2598c1['DajRW'](logDebug,_0x2598c1['GWKjf'],_0x41b3b0),_0x2598c1['BZbHN'](_0x6aa828,-0x7ffffff8);_0x2598c1[_0x35866f(0x8b)](logDebug,_0x35866f(0xe5),_0x255ebf?.[_0x35866f(0xb2)]),_0x2598c1['BZbHN'](_0x6aa828,_0x255ebf?.[_0x35866f(0xb2)]??-0x7ffffff8);});});}async[_0x3411b9(0xec)](_0x230239,_0x425742){const _0x26cc49=_0x3411b9,_0x1dcf4d={'LYWcE':function(_0x30fc04,_0xbbac32){return _0x30fc04(_0xbbac32);},'pHBrT':function(_0x17ddde,_0x3f121b){return _0x17ddde(_0x3f121b);}},_0x25912d=this['db'][_0x26cc49(0xb6)](_0x230239);return new Promise((_0x1b69c1,_0xa870c1)=>{const _0x2c4b4b=_0x26cc49,_0x2975aa={'oAXma':function(_0xb2b66c,_0x7efa23){const _0x182999=_0xd379;return _0x1dcf4d[_0x182999(0x91)](_0xb2b66c,_0x7efa23);}};_0x25912d[_0x2c4b4b(0x7a)](..._0x425742,(_0x421a87,_0x26aec3)=>{const _0xb29481=_0x2c4b4b,_0x4a45ec={'RpNzv':function(_0x45205d,_0x4984bb){return _0x45205d(_0x4984bb);}};if(_0x421a87)return logError(_0xb29481(0xdb),_0x421a87,_0x230239,_0x425742),_0x1dcf4d['LYWcE'](_0x1b69c1,null);if(!_0x26aec3){_0x1dcf4d['pHBrT'](_0x1b69c1,null);return;}const _0x627dc8=_0x26aec3[_0xb29481(0xc3)];NTQQMsgApi['getMsgsByMsgId']({'peerUid':_0x26aec3[_0xb29481(0xa6)],'chatType':_0x26aec3['chatType']},[_0x627dc8])[_0xb29481(0xe2)](_0xc2e0fa=>{const _0x19b1d5=_0xb29481,_0x5b62eb=_0xc2e0fa[_0x19b1d5(0xa0)][0x0];if(!_0x5b62eb){_0x2975aa['oAXma'](_0x1b69c1,null);return;}_0x5b62eb['id']=_0x26aec3[_0x19b1d5(0xf8)],_0x2975aa[_0x19b1d5(0xef)](_0x1b69c1,_0x5b62eb);})['catch'](_0x5075bc=>{const _0x802501=_0xb29481;_0x4a45ec[_0x802501(0x77)](_0x1b69c1,null);});});});}async['getMsgByShortId'](_0xdbc088){const _0x2ab2b4=_0x3411b9;if(this[_0x2ab2b4(0xe7)][_0x2ab2b4(0xbe)](_0xdbc088))return this[_0x2ab2b4(0xe7)][_0x2ab2b4(0x7a)](_0xdbc088);const _0x381d9d=_0x2ab2b4(0xc1);return this[_0x2ab2b4(0xec)](_0x381d9d,[_0xdbc088]);}async[_0x3411b9(0xc8)](_0x5b0b5b){const _0x5b6e85=_0x3411b9,_0x5356bd={'wXNOX':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?'};if(this[_0x5b6e85(0xe7)][_0x5b6e85(0xbe)](_0x5b0b5b))return this['msgCache'][_0x5b6e85(0x7a)](_0x5b0b5b);return this[_0x5b6e85(0xec)](_0x5356bd['wXNOX'],[_0x5b0b5b]);}async[_0x3411b9(0xd4)](_0x3f53a9,_0x44f9cb){const _0x19898b=_0x3411b9,_0x41f64e={'BaAHO':_0x19898b(0x89)},_0x1cd8a1=_0x41f64e[_0x19898b(0x87)];return this[_0x19898b(0xec)](_0x1cd8a1,[_0x3f53a9,_0x44f9cb]);}async[_0x3411b9(0xe8)](_0x4a0580,_0x5d134c=!![]){const _0x294dc9=_0x3411b9,_0x2866e5={'hUtJu':function(_0x20e8fd,_0x31be90,_0x51268b){return _0x20e8fd(_0x31be90,_0x51268b);},'waggf':_0x294dc9(0xf4),'fNWIr':function(_0x2e40f2,_0x3bb70d){return _0x2e40f2===_0x3bb70d;},'yQiKj':_0x294dc9(0xf1),'jzSLp':function(_0x122887,_0x1190fd){return _0x122887(_0x1190fd);}},_0x40164f=await this[_0x294dc9(0xc8)](_0x4a0580[_0x294dc9(0xb0)]);if(_0x40164f){if(_0x5d134c)this[_0x294dc9(0x85)](_0x4a0580)[_0x294dc9(0xe2)]();return _0x40164f['id'];}const _0x5acad2=this['db'][_0x294dc9(0xb6)](_0x294dc9(0xad)),_0x59759d=++this['globalMsgShortId'];return _0x4a0580['id']=_0x59759d,_0x2866e5[_0x294dc9(0xd8)](logDebug,_0x294dc9(0xa2)+_0x4a0580[_0x294dc9(0xb0)]+_0x294dc9(0xb7)+_0x4a0580['id']),this[_0x294dc9(0xe7)][_0x294dc9(0x9d)](_0x59759d,_0x4a0580),this['msgCache'][_0x294dc9(0x9d)](_0x4a0580['msgId'],_0x4a0580),_0x5acad2['run'](this[_0x294dc9(0xa1)],_0x4a0580[_0x294dc9(0xb0)],_0x4a0580[_0x294dc9(0xea)][_0x294dc9(0x78)](),_0x4a0580[_0x294dc9(0xa6)],_0x4a0580[_0x294dc9(0xb5)],_0x23a7c6=>{const _0x50d4ea=_0x294dc9,_0x5b7b26={'IEDJF':function(_0x53d3bb,_0x2cd66e,_0x3424dd){const _0x72e0a7=_0xd379;return _0x2866e5[_0x72e0a7(0x7d)](_0x53d3bb,_0x2cd66e,_0x3424dd);},'aJSmf':_0x2866e5[_0x50d4ea(0xab)]};_0x23a7c6&&(_0x2866e5[_0x50d4ea(0x82)](_0x23a7c6[_0x50d4ea(0xcd)],0x13)?this[_0x50d4ea(0xc8)](_0x4a0580[_0x50d4ea(0xb0)])[_0x50d4ea(0xe2)](_0x430452=>{const _0x2dda2c=_0x50d4ea;_0x430452?(this[_0x2dda2c(0xe7)][_0x2dda2c(0x9d)](_0x59759d,_0x430452),this[_0x2dda2c(0xe7)][_0x2dda2c(0x9d)](_0x430452[_0x2dda2c(0xb0)],_0x430452)):_0x5b7b26[_0x2dda2c(0x79)](logError,_0x5b7b26[_0x2dda2c(0xe1)],_0x23a7c6);})[_0x50d4ea(0x7c)](_0x22fc57=>logError('db\x20getMsgByLongId\x20error',_0x22fc57)):_0x2866e5['hUtJu'](logError,_0x2866e5[_0x50d4ea(0xa7)],_0x23a7c6));}),_0x59759d;}async[_0x3411b9(0x85)](_0x2f2d76){const _0x3d4742=_0x3411b9,_0x5dc80d={'cknmA':'updateMsg\x20db\x20error','OFYvs':function(_0x2a98a9,_0x423b2d){return _0x2a98a9(_0x423b2d);}},_0x497c18=this['msgCache']['get'](_0x2f2d76[_0x3d4742(0xb0)]);_0x497c18&&Object['assign'](_0x497c18,_0x2f2d76);_0x5dc80d[_0x3d4742(0x8a)](logDebug,'更新消息,\x20shortId:'+_0x2f2d76['id']+',\x20seq:\x20'+_0x2f2d76[_0x3d4742(0xea)]+_0x3d4742(0xe3)+_0x2f2d76[_0x3d4742(0xb0)]);const _0x5f2601=this['db'][_0x3d4742(0xb6)]('UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?');_0x5f2601[_0x3d4742(0xd5)](_0x2f2d76['msgSeq'],_0x2f2d76[_0x3d4742(0xb0)],_0x53c02b=>{_0x53c02b&&logError(_0x5dc80d['cknmA'],_0x53c02b);});}async[_0x3411b9(0xaf)](_0x34e7a9){const _0x10bfc2=_0x3411b9,_0x27fd49={'ZttiX':_0x10bfc2(0x84),'dmlcg':function(_0x935d31,_0x42f9a5){return _0x935d31(_0x42f9a5);}},_0x338597=this['db'][_0x10bfc2(0xb6)](_0x10bfc2(0xb1));return new Promise((_0x5581f1,_0x15e650)=>{const _0x317498=_0x10bfc2;_0x338597[_0x317498(0xd5)](_0x34e7a9[_0x317498(0x83)],_0x34e7a9[_0x317498(0x98)],_0x34e7a9[_0x317498(0xf7)],_0x34e7a9['size'],_0x34e7a9[_0x317498(0xc9)],_0x34e7a9[_0x317498(0xc2)],JSON[_0x317498(0xbc)](_0x34e7a9['element']),_0x34e7a9[_0x317498(0xcb)],_0x34e7a9[_0x317498(0xb0)],function(_0x4d4eed){_0x4d4eed&&(logError(_0x27fd49['ZttiX'],_0x4d4eed),_0x27fd49['dmlcg'](_0x15e650,_0x4d4eed)),_0x5581f1(null);});});}async[_0x3411b9(0xd9)](_0x4b51c0,_0x2cfd48){const _0x43cbe9=_0x3411b9,_0x149bb4={'qpYpL':function(_0x23f9fb,_0x11e747,_0x46f411){return _0x23f9fb(_0x11e747,_0x46f411);},'gmqMS':function(_0x3a97f8,_0x28d691){return _0x3a97f8(_0x28d691);}},_0x18a310=this['db'][_0x43cbe9(0xb6)](_0x4b51c0);return new Promise((_0xc920c2,_0x1b5013)=>{const _0x185517=_0x43cbe9,_0x27a5d7={'rmmZd':function(_0x2cec03,_0x353fb0,_0x298abd){const _0x3f67af=_0xd379;return _0x149bb4[_0x3f67af(0xa5)](_0x2cec03,_0x353fb0,_0x298abd);},'WASZS':function(_0x4f3143,_0x1b7c83){return _0x4f3143(_0x1b7c83);},'HWZGm':function(_0x25a671,_0x243d54){const _0x239110=_0xd379;return _0x149bb4[_0x239110(0xd7)](_0x25a671,_0x243d54);}};_0x18a310[_0x185517(0x7a)](..._0x2cfd48,(_0x50cecf,_0x335ef3)=>{const _0x356a6e=_0x185517;_0x50cecf&&(_0x27a5d7['rmmZd'](logError,_0x356a6e(0xf0),_0x50cecf),_0x27a5d7[_0x356a6e(0x93)](_0x1b5013,_0x50cecf)),_0x335ef3&&(_0x335ef3[_0x356a6e(0xbb)]=JSON[_0x356a6e(0xb9)](_0x335ef3[_0x356a6e(0xbb)])),_0x27a5d7[_0x356a6e(0xeb)](_0xc920c2,_0x335ef3);});});}async['getFileCacheByName'](_0x416737){const _0x4433f7=_0x3411b9,_0x34c2e8={'BRbGz':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?'};return this['getFileCache'](_0x34c2e8[_0x4433f7(0xba)],[_0x416737]);}async[_0x3411b9(0xa8)](_0xc02814){const _0x3aa81c=_0x3411b9;return this[_0x3aa81c(0xd9)]('SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?',[_0xc02814]);}async[_0x3411b9(0xd3)](_0x6c393a){const _0x149924=_0x3411b9,_0x49254e={'UZExx':function(_0x5c2dec,_0x3ebc97){return _0x5c2dec(_0x3ebc97);}},_0x57a9ad=this['db'][_0x149924(0xb6)]('UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?');return new Promise((_0x3e8af0,_0x1c8b0c)=>{const _0x152f6e=_0x149924,_0x2bb62c={'agdNB':function(_0x466868,_0x3ca8a2){const _0x2ad0f8=_0xd379;return _0x49254e[_0x2ad0f8(0x81)](_0x466868,_0x3ca8a2);}};_0x57a9ad[_0x152f6e(0xd5)](_0x6c393a[_0x152f6e(0x98)],_0x6c393a[_0x152f6e(0xf7)],_0x6c393a[_0x152f6e(0xc9)],function(_0x1dbf0d){const _0x3c0c0e=_0x152f6e;_0x1dbf0d&&(logError(_0x3c0c0e(0xf2),_0x1dbf0d),_0x2bb62c['agdNB'](_0x1c8b0c,_0x1dbf0d)),_0x2bb62c[_0x3c0c0e(0xbd)](_0x3e8af0,null);});});}async[_0x3411b9(0xde)](){const _0x7ccd0d=_0x3411b9,_0x5eb636={'BMzLC':function(_0x3bf704,_0x3c29e4,_0x5c5889){return _0x3bf704(_0x3c29e4,_0x5c5889);},'BmJNW':function(_0x1bb6c4,_0x5d869f){return _0x1bb6c4(_0x5d869f);},'bwmjM':function(_0x63d213,_0x359e26){return _0x63d213(_0x359e26);},'nUYWx':_0x7ccd0d(0xc7)},_0x472a9e=_0x5eb636[_0x7ccd0d(0xbf)];return new Promise((_0x2ca814,_0x2c1719)=>{const _0x126f39=_0x7ccd0d;this['db'][_0x126f39(0x8d)](_0x472a9e,(_0xc987bd,_0x11ba15)=>{const _0x404df7=_0x126f39;_0xc987bd&&(_0x5eb636['BMzLC'](logError,'db\x20could\x20not\x20get\x20temp\x20uin\x20map',_0xc987bd),_0x5eb636[_0x404df7(0x7f)](_0x2c1719,_0xc987bd));const _0x20134b={};_0x11ba15[_0x404df7(0x8e)](_0x175275=>{const _0x58c9e6=_0x404df7;_0x20134b[_0x175275['uin']]=_0x175275[_0x58c9e6(0xa4)];}),_0x5eb636[_0x404df7(0x73)](_0x2ca814,_0x20134b);});});}async[_0x3411b9(0xf6)](_0x5a7d56){const _0x2bbdf5=_0x3411b9,_0x4d458c={'FWoJw':function(_0x59a68b,_0x59e35e,_0x497acf){return _0x59a68b(_0x59e35e,_0x497acf);},'xWXGt':function(_0xbb5a3d,_0x1dd540){return _0xbb5a3d(_0x1dd540);},'ivKGA':_0x2bbdf5(0x9b)},_0x3de6cb=_0x4d458c[_0x2bbdf5(0xda)];return new Promise((_0x74dd73,_0x4192cc)=>{const _0x39aafd=_0x2bbdf5,_0x237847={'bkVSn':function(_0x2de1ec,_0x3c7279,_0x213009){const _0x300be7=_0xd379;return _0x4d458c[_0x300be7(0x7b)](_0x2de1ec,_0x3c7279,_0x213009);},'MyCDD':_0x39aafd(0x96),'gEkTM':function(_0x41a9a9,_0x16bb3e){return _0x4d458c['xWXGt'](_0x41a9a9,_0x16bb3e);}};this['db'][_0x39aafd(0x7a)](_0x3de6cb,[_0x5a7d56],(_0x1cc734,_0x45b2a1)=>{const _0x30de05=_0x39aafd;_0x1cc734&&(_0x237847[_0x30de05(0xce)](logError,_0x237847['MyCDD'],_0x1cc734),_0x237847[_0x30de05(0xe9)](_0x4192cc,_0x1cc734)),_0x74dd73(_0x45b2a1?.[_0x30de05(0xa4)]);});});}async[_0x3411b9(0x9c)](_0x69b894,_0xc16ff9){const _0x387ef9=_0x3411b9,_0xd4041e={'fQjIT':function(_0x191562,_0x3169b9,_0x46b2e0){return _0x191562(_0x3169b9,_0x46b2e0);},'ULObq':_0x387ef9(0x86),'arNbw':function(_0x3dc97d,_0x2c97e3){return _0x3dc97d(_0x2c97e3);}},_0x1308d3=await this['getUidByTempUin'](_0x69b894);if(!_0x1308d3){const _0x381a1e=this['db'][_0x387ef9(0xb6)]('INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)');return new Promise((_0x2eb4b9,_0x1c35bc)=>{const _0x2db946=_0x387ef9,_0x2ab30f={'csNHF':function(_0x4d6208,_0x511527,_0x5058cd){const _0x4a201c=_0xd379;return _0xd4041e[_0x4a201c(0x7e)](_0x4d6208,_0x511527,_0x5058cd);},'rkMKN':_0xd4041e[_0x2db946(0xf3)],'rnAvJ':function(_0x2de341,_0x521bc2){const _0x2c2c9a=_0x2db946;return _0xd4041e[_0x2c2c9a(0xd6)](_0x2de341,_0x521bc2);}};_0x381a1e[_0x2db946(0xd5)](_0x69b894,_0xc16ff9,function(_0x3fd615){const _0xd07c0a=_0x2db946;_0x3fd615&&(_0x2ab30f[_0xd07c0a(0xd1)](logError,_0x2ab30f['rkMKN'],_0x3fd615),_0x2ab30f['rnAvJ'](_0x1c35bc,_0x3fd615)),_0x2ab30f[_0xd07c0a(0xee)](_0x2eb4b9,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +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 diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index f8ec8b77..a277ecbe 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x22a2f6=_0x532c;(function(_0x44728e,_0x5d3d08){const _0x239ed8=_0x532c,_0x43ef25=_0x44728e();while(!![]){try{const _0x25f6fc=-parseInt(_0x239ed8(0x117))/0x1*(parseInt(_0x239ed8(0x12d))/0x2)+-parseInt(_0x239ed8(0x11a))/0x3*(parseInt(_0x239ed8(0x11f))/0x4)+parseInt(_0x239ed8(0x129))/0x5*(-parseInt(_0x239ed8(0x11c))/0x6)+parseInt(_0x239ed8(0x128))/0x7+parseInt(_0x239ed8(0x121))/0x8+parseInt(_0x239ed8(0x124))/0x9*(-parseInt(_0x239ed8(0x11b))/0xa)+parseInt(_0x239ed8(0x12a))/0xb;if(_0x25f6fc===_0x5d3d08)break;else _0x43ef25['push'](_0x43ef25['shift']());}catch(_0x3c8902){_0x43ef25['push'](_0x43ef25['shift']());}}}(_0x27b5,0x82ce7));function _0x532c(_0x32f6e1,_0x6d5330){const _0x27b580=_0x27b5();return _0x532c=function(_0x532c01,_0x4a478f){_0x532c01=_0x532c01-0x117;let _0x31c65c=_0x27b580[_0x532c01];return _0x31c65c;},_0x532c(_0x32f6e1,_0x6d5330);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x27b5(){const _0x2f83af=['rkeyData','290392qqQTzQ','3kLdyAi','isExpired','serverUrl','2460xXGVIY','860KxhRmQ','714534nDMHSR','http://napcat-sign.wumiao.wang:2082/rkey','kCkcD','2068ZEeXGe','getRkey','5976744OAEkOt','GET','Grjys','8469CkFmbZ','获取rkey失败','expired_time','refreshRkey','171360lcaEgW','15wJHrpB','11681241hVPJHy','MglnN'];_0x27b5=function(){return _0x2f83af;};return _0x27b5();}class RkeyManager{[_0x22a2f6(0x119)]='';[_0x22a2f6(0x12c)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x34b4b1){const _0x2770ba=_0x22a2f6;this[_0x2770ba(0x119)]=_0x34b4b1;}async[_0x22a2f6(0x120)](){const _0x18d2af=_0x22a2f6,_0x152305={'kCkcD':function(_0x341f0a,_0x5582c1,_0x478791){return _0x341f0a(_0x5582c1,_0x478791);},'zMqaN':_0x18d2af(0x125)};if(this[_0x18d2af(0x118)]())try{await this[_0x18d2af(0x127)]();}catch(_0x539f4f){_0x152305[_0x18d2af(0x11e)](logError,_0x152305['zMqaN'],_0x539f4f);}return this[_0x18d2af(0x12c)];}['isExpired'](){const _0x512c12=_0x22a2f6,_0x43d9e9={'MglnN':function(_0x14fd18,_0x5ce122){return _0x14fd18/_0x5ce122;},'LpBPP':function(_0x45ba40,_0x57ca88){return _0x45ba40>_0x57ca88;}},_0x47c4a2=_0x43d9e9[_0x512c12(0x12b)](new Date()['getTime'](),0x3e8);return _0x43d9e9['LpBPP'](_0x47c4a2,this['rkeyData'][_0x512c12(0x126)]);}async['refreshRkey'](){const _0x256e31=_0x22a2f6,_0xf508d3={'Grjys':_0x256e31(0x122)};this['rkeyData']=await RequestUtil['HttpGetJson'](this[_0x256e31(0x119)],_0xf508d3[_0x256e31(0x123)]);}}export const rkeyManager=new RkeyManager(_0x22a2f6(0x11d)); \ No newline at end of file +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 diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 278c5b98..232c8e89 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x2f3d10=_0x478e;(function(_0x5230db,_0x3272fb){const _0x36ab32=_0x478e,_0x29755c=_0x5230db();while(!![]){try{const _0x47b3e0=parseInt(_0x36ab32(0x1e1))/0x1*(-parseInt(_0x36ab32(0x1e9))/0x2)+-parseInt(_0x36ab32(0x1e6))/0x3*(-parseInt(_0x36ab32(0x1eb))/0x4)+parseInt(_0x36ab32(0x1ef))/0x5*(-parseInt(_0x36ab32(0x1ee))/0x6)+-parseInt(_0x36ab32(0x1e2))/0x7+parseInt(_0x36ab32(0x1ea))/0x8+-parseInt(_0x36ab32(0x1e4))/0x9+-parseInt(_0x36ab32(0x1e8))/0xa*(-parseInt(_0x36ab32(0x1e3))/0xb);if(_0x47b3e0===_0x3272fb)break;else _0x29755c['push'](_0x29755c['shift']());}catch(_0x2395d6){_0x29755c['push'](_0x29755c['shift']());}}}(_0x5f4d,0xb70a8));import _0x38c390 from'node:path';import _0x2acee1 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x38c390['resolve'](_0x38c390[_0x2f3d10(0x1e5)](process[_0x2f3d10(0x1ec)]),_0x2f3d10(0x1f0));!_0x2acee1[_0x2f3d10(0x1f1)](wrapperNodePath)&&(wrapperNodePath=_0x38c390[_0x2f3d10(0x1ed)](_0x38c390['dirname'](process[_0x2f3d10(0x1ec)]),_0x2f3d10(0x1f2)+qqVersionConfigInfo['curVersion']+_0x2f3d10(0x1e7)));function _0x478e(_0x460e7c,_0x37cdb9){const _0x5f4dc9=_0x5f4d();return _0x478e=function(_0x478ee3,_0x4a788b){_0x478ee3=_0x478ee3-0x1e1;let _0x4879c8=_0x5f4dc9[_0x478ee3];return _0x4879c8;},_0x478e(_0x460e7c,_0x37cdb9);}function _0x5f4d(){const _0x436377=['894474vkMcGp','13329921XXzjOy','6517998xtraWM','dirname','6309SVhXFv','/wrapper.node','10NWmEYs','998cLdvGz','10243256SrzLLA','912aOHOOB','execPath','join','72esAzSD','50610pUUWrT','./resources/app/wrapper.node','existsSync','resources/app/versions/','2502YclNmD'];_0x5f4d=function(){return _0x436377;};return _0x5f4d();}const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +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