From 2fc963f9863f0bc342a73c61e08ccb3e99ce6654 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: Fri, 14 Jun 2024 16:43:32 +0800 Subject: [PATCH] =?UTF-8?q?build:=20v1.5.6-=E7=B4=A7=E6=80=A5=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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/collection.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/sign.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/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/NodeIYellowFaceService.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/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 42 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/core b/src/core index c1e00827..4df3fea4 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit c1e008275e4b2de48054c29fbccbaa81f857cf27 +Subproject commit 4df3fea47c518eae6d9f91512f50e0c852a8b1ec diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 7e2dcfa0..746818e4 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x3c8f(_0x2ecaae,_0x2ceb4c){var _0x588542=_0x5885();return _0x3c8f=function(_0x3c8f3f,_0x2d929c){_0x3c8f3f=_0x3c8f3f-0x19a;var _0x414c8e=_0x588542[_0x3c8f3f];return _0x414c8e;},_0x3c8f(_0x2ecaae,_0x2ceb4c);}function _0x5885(){var _0x2a1712=['305850yFDSJe','59596muzjSp','1431282AwrmBO','1190cCqUWG','186LEPYUp','4JUUycs','79981tGNsYY','168KYSunN','168763AyGbhS','onMSFSsoError','12734696mYoCeZ','84591jjpZge','60vDiNGE','onMSFStatusChange','60XTBoAG'];_0x5885=function(){return _0x2a1712;};return _0x5885();}var _0x44d240=_0x3c8f;(function(_0x5d80a2,_0x55dfc3){var _0x1c6158=_0x3c8f,_0x4ccedd=_0x5d80a2();while(!![]){try{var _0x4c2e8e=-parseInt(_0x1c6158(0x1a2))/0x1*(parseInt(_0x1c6158(0x1a6))/0x2)+parseInt(_0x1c6158(0x1a7))/0x3*(parseInt(_0x1c6158(0x19b))/0x4)+-parseInt(_0x1c6158(0x1a5))/0x5*(parseInt(_0x1c6158(0x19a))/0x6)+-parseInt(_0x1c6158(0x19e))/0x7+-parseInt(_0x1c6158(0x19d))/0x8*(-parseInt(_0x1c6158(0x1a1))/0x9)+-parseInt(_0x1c6158(0x1a8))/0xa*(parseInt(_0x1c6158(0x19c))/0xb)+parseInt(_0x1c6158(0x1a4))/0xc*(parseInt(_0x1c6158(0x1a0))/0xd);if(_0x4c2e8e===_0x55dfc3)break;else _0x4ccedd['push'](_0x4ccedd['shift']());}catch(_0xb091b0){_0x4ccedd['push'](_0x4ccedd['shift']());}}}(_0x5885,0xf3e0d));export class DependsAdapter{[_0x44d240(0x1a3)](_0x1a2c55,_0xbcbc2f){}[_0x44d240(0x19f)](_0x1516d2){}['getGroupCode'](_0x3de94f){}} \ No newline at end of file +var _0x5daf60=_0xf130;function _0xf130(_0x5aba6b,_0x2da99a){var _0x33d41a=_0x33d4();return _0xf130=function(_0xf13007,_0x22a283){_0xf13007=_0xf13007-0xe5;var _0x3c4d22=_0x33d41a[_0xf13007];return _0x3c4d22;},_0xf130(_0x5aba6b,_0x2da99a);}(function(_0x766d05,_0x3fb57d){var _0x53e091=_0xf130,_0x489945=_0x766d05();while(!![]){try{var _0xe36748=-parseInt(_0x53e091(0xed))/0x1+parseInt(_0x53e091(0xea))/0x2+-parseInt(_0x53e091(0xe9))/0x3*(-parseInt(_0x53e091(0xeb))/0x4)+-parseInt(_0x53e091(0xe8))/0x5+parseInt(_0x53e091(0xf0))/0x6*(-parseInt(_0x53e091(0xe7))/0x7)+-parseInt(_0x53e091(0xee))/0x8+parseInt(_0x53e091(0xec))/0x9;if(_0xe36748===_0x3fb57d)break;else _0x489945['push'](_0x489945['shift']());}catch(_0x30aacf){_0x489945['push'](_0x489945['shift']());}}}(_0x33d4,0x1ead7));export class DependsAdapter{[_0x5daf60(0xe5)](_0xa0058e,_0x3600a1){}[_0x5daf60(0xe6)](_0x348363){}[_0x5daf60(0xef)](_0x204292){}}function _0x33d4(){var _0x49d45c=['219395XymPAD','33xKAgLL','159856uAUczW','34268fiVkzX','3445191kRIxPL','228722umUXvP','1128496fVpmLM','getGroupCode','18FwcbMu','onMSFStatusChange','onMSFSsoError','41174mHKvzA'];_0x33d4=function(){return _0x49d45c;};return _0x33d4();} \ 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 66714db6..4b1d51f3 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x35eb(){var _0x296a20=['1530561mJVyDI','dispatchCall','121220VrTEao','11245157zUpFiw','3246zsGpsE','2238832WZFYTY','145kSwhyX','130nPiWVu','dispatchRequest','748KyMYVr','290727OxSfGD','412452jsiYqf'];_0x35eb=function(){return _0x296a20;};return _0x35eb();}var _0x3b93d2=_0x339d;(function(_0x4f6e43,_0x1ab230){var _0x360ba1=_0x339d,_0x4f2c6f=_0x4f6e43();while(!![]){try{var _0x2bd2ee=-parseInt(_0x360ba1(0x156))/0x1*(-parseInt(_0x360ba1(0x15b))/0x2)+parseInt(_0x360ba1(0x152))/0x3+parseInt(_0x360ba1(0x154))/0x4*(parseInt(_0x360ba1(0x158))/0x5)+parseInt(_0x360ba1(0x15d))/0x6+-parseInt(_0x360ba1(0x155))/0x7+parseInt(_0x360ba1(0x157))/0x8+parseInt(_0x360ba1(0x15c))/0x9*(-parseInt(_0x360ba1(0x159))/0xa);if(_0x2bd2ee===_0x1ab230)break;else _0x4f2c6f['push'](_0x4f2c6f['shift']());}catch(_0x1cdc57){_0x4f2c6f['push'](_0x4f2c6f['shift']());}}}(_0x35eb,0xe1e3a));function _0x339d(_0x5768c4,_0x32f7c0){var _0x35eb3b=_0x35eb();return _0x339d=function(_0x339dff,_0x5c3a59){_0x339dff=_0x339dff-0x152;var _0x48f70a=_0x35eb3b[_0x339dff];return _0x48f70a;},_0x339d(_0x5768c4,_0x32f7c0);}export class DispatcherAdapter{[_0x3b93d2(0x15a)](_0x5b01fe){}[_0x3b93d2(0x153)](_0x7a40ea){}['dispatchCallWithJson'](_0xaa1c71){}} \ No newline at end of file +var _0x214073=_0x2b60;(function(_0x5e20f9,_0x20e9be){var _0x454329=_0x2b60,_0x300af1=_0x5e20f9();while(!![]){try{var _0x43a03a=-parseInt(_0x454329(0x1ed))/0x1+parseInt(_0x454329(0x1ee))/0x2*(-parseInt(_0x454329(0x1ec))/0x3)+parseInt(_0x454329(0x1f2))/0x4*(-parseInt(_0x454329(0x1f6))/0x5)+-parseInt(_0x454329(0x1f7))/0x6+parseInt(_0x454329(0x1f5))/0x7*(parseInt(_0x454329(0x1f0))/0x8)+parseInt(_0x454329(0x1f3))/0x9*(parseInt(_0x454329(0x1ef))/0xa)+-parseInt(_0x454329(0x1f4))/0xb*(-parseInt(_0x454329(0x1f8))/0xc);if(_0x43a03a===_0x20e9be)break;else _0x300af1['push'](_0x300af1['shift']());}catch(_0x27b22f){_0x300af1['push'](_0x300af1['shift']());}}}(_0x2d6a,0x347a9));function _0x2d6a(){var _0x2818e0=['70861OHGMJT','190378vcnJXJ','20jJxrgK','8ueFxDz','dispatchCall','8376nVDfrE','1098459UJbRaq','267663KVUxuI','904582avcoHF','270NAgmBg','2341452hzQpYq','252zEhNCo','dispatchCallWithJson','3QqtZgA'];_0x2d6a=function(){return _0x2818e0;};return _0x2d6a();}function _0x2b60(_0xc105d,_0xe30940){var _0x2d6a55=_0x2d6a();return _0x2b60=function(_0x2b601f,_0x49675f){_0x2b601f=_0x2b601f-0x1eb;var _0x1d1834=_0x2d6a55[_0x2b601f];return _0x1d1834;},_0x2b60(_0xc105d,_0xe30940);}export class DispatcherAdapter{['dispatchRequest'](_0x111dd9){}[_0x214073(0x1f1)](_0x18169d){}[_0x214073(0x1eb)](_0x51c38b){}} \ 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 12d4deee..2107cdda 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x11ad(){var _0x34d0a6=['6xCDsEr','140mcRkGC','29800tAIvjn','onGetOfflineMsg','2213561yTPzXw','2098768TybPiY','onShowErrUITips','9GhpylT','onUpdateGeneralFlag','1994mZmbfN','getAppSetting','onLog','2709520VILgyr','4616810gonLXN','195UjxGIl','868350uMQVbJ'];_0x11ad=function(){return _0x34d0a6;};return _0x11ad();}var _0xdacd7f=_0x4d4e;(function(_0x540323,_0x1715d3){var _0x5c1808=_0x4d4e,_0x15bdef=_0x540323();while(!![]){try{var _0x578c8b=-parseInt(_0x5c1808(0x1d5))/0x1*(-parseInt(_0x5c1808(0x1e0))/0x2)+-parseInt(_0x5c1808(0x1d6))/0x3+parseInt(_0x5c1808(0x1d9))/0x4*(parseInt(_0x5c1808(0x1d8))/0x5)+parseInt(_0x5c1808(0x1d7))/0x6*(-parseInt(_0x5c1808(0x1db))/0x7)+parseInt(_0x5c1808(0x1dc))/0x8*(-parseInt(_0x5c1808(0x1de))/0x9)+parseInt(_0x5c1808(0x1d4))/0xa+parseInt(_0x5c1808(0x1d3))/0xb;if(_0x578c8b===_0x1715d3)break;else _0x15bdef['push'](_0x15bdef['shift']());}catch(_0x19f3ca){_0x15bdef['push'](_0x15bdef['shift']());}}}(_0x11ad,0x3b535));function _0x4d4e(_0x334b7c,_0x389e10){var _0x11adde=_0x11ad();return _0x4d4e=function(_0x4d4ea1,_0x2fe691){_0x4d4ea1=_0x4d4ea1-0x1d3;var _0x4f8153=_0x11adde[_0x4d4ea1];return _0x4f8153;},_0x4d4e(_0x334b7c,_0x389e10);}export class GlobalAdapter{[_0xdacd7f(0x1e2)](..._0xf2bc04){}['onGetSrvCalTime'](..._0x1db136){}[_0xdacd7f(0x1dd)](..._0x4c7ba5){}['fixPicImgType'](..._0xe3c749){}[_0xdacd7f(0x1e1)](..._0x5db4ef){}['onInstallFinished'](..._0x3931ac){}[_0xdacd7f(0x1df)](..._0xe5bc7f){}[_0xdacd7f(0x1da)](..._0x470274){}} \ No newline at end of file +function _0x29a4(){var _0x4115a3=['onInstallFinished','1713439MGzBmu','onGetSrvCalTime','20871irfequ','onGetOfflineMsg','4417902FqFeVv','1454436HqaUue','32hDspNg','226UKRZEW','onLog','fixPicImgType','890570gYImtR','12QweuxK','11471200nCCMiZ','288797EFwPxm','onShowErrUITips'];_0x29a4=function(){return _0x4115a3;};return _0x29a4();}function _0x3867(_0x57eca4,_0x3eb361){var _0x29a40a=_0x29a4();return _0x3867=function(_0x3867dd,_0x5af69a){_0x3867dd=_0x3867dd-0xcc;var _0x1caec7=_0x29a40a[_0x3867dd];return _0x1caec7;},_0x3867(_0x57eca4,_0x3eb361);}var _0x1d3ddc=_0x3867;(function(_0x4c9783,_0x4e47e2){var _0x336723=_0x3867,_0x409951=_0x4c9783();while(!![]){try{var _0x404267=-parseInt(_0x336723(0xd9))/0x1+-parseInt(_0x336723(0xd3))/0x2*(-parseInt(_0x336723(0xce))/0x3)+parseInt(_0x336723(0xd7))/0x4*(parseInt(_0x336723(0xd6))/0x5)+parseInt(_0x336723(0xd1))/0x6+parseInt(_0x336723(0xcc))/0x7*(parseInt(_0x336723(0xd2))/0x8)+-parseInt(_0x336723(0xd0))/0x9+-parseInt(_0x336723(0xd8))/0xa;if(_0x404267===_0x4e47e2)break;else _0x409951['push'](_0x409951['shift']());}catch(_0x3efa39){_0x409951['push'](_0x409951['shift']());}}}(_0x29a4,0x96322));export class GlobalAdapter{[_0x1d3ddc(0xd4)](..._0x4e53c0){}[_0x1d3ddc(0xcd)](..._0x1a5737){}[_0x1d3ddc(0xda)](..._0x11032a){}[_0x1d3ddc(0xd5)](..._0x4df954){}['getAppSetting'](..._0x68bfa3){}[_0x1d3ddc(0xdb)](..._0x54e795){}['onUpdateGeneralFlag'](..._0x30e16c){}[_0x1d3ddc(0xcf)](..._0x4e0105){}} \ 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 fad9a036..8019c251 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x3ee2c1,_0x22e284){var _0x5de5a5=_0x5b90,_0x29f9cb=_0x3ee2c1();while(!![]){try{var _0x4fce40=-parseInt(_0x5de5a5(0xdf))/0x1+parseInt(_0x5de5a5(0xd8))/0x2*(-parseInt(_0x5de5a5(0xd7))/0x3)+-parseInt(_0x5de5a5(0xdb))/0x4*(parseInt(_0x5de5a5(0xda))/0x5)+parseInt(_0x5de5a5(0xd9))/0x6*(parseInt(_0x5de5a5(0xe0))/0x7)+-parseInt(_0x5de5a5(0xdc))/0x8+-parseInt(_0x5de5a5(0xde))/0x9+parseInt(_0x5de5a5(0xdd))/0xa;if(_0x4fce40===_0x22e284)break;else _0x29f9cb['push'](_0x29f9cb['shift']());}catch(_0x466415){_0x29f9cb['push'](_0x29f9cb['shift']());}}}(_0x3fc6,0x561ff));function _0x5b90(_0x7bf68b,_0x2a163f){var _0x3fc629=_0x3fc6();return _0x5b90=function(_0x5b90b9,_0x30891e){_0x5b90b9=_0x5b90b9-0xd7;var _0x39ca11=_0x3fc629[_0x5b90b9];return _0x39ca11;},_0x5b90(_0x7bf68b,_0x2a163f);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x3fc6(){var _0x4c3af1=['22dzXbYi','480ZLVobT','685925GcxbTx','20HWLwkm','6976GyRYjv','14535020GfCgEQ','2404008GSaJyS','450959nuaUas','36099LPQuWF','29571KucceM'];_0x3fc6=function(){return _0x4c3af1;};return _0x3fc6();} \ No newline at end of file +(function(_0x5f4fa8,_0x494d4d){var _0x5de5e8=_0x301f,_0x5092f2=_0x5f4fa8();while(!![]){try{var _0x35baf9=parseInt(_0x5de5e8(0x174))/0x1*(-parseInt(_0x5de5e8(0x179))/0x2)+parseInt(_0x5de5e8(0x178))/0x3*(parseInt(_0x5de5e8(0x170))/0x4)+parseInt(_0x5de5e8(0x171))/0x5*(-parseInt(_0x5de5e8(0x176))/0x6)+parseInt(_0x5de5e8(0x177))/0x7+parseInt(_0x5de5e8(0x172))/0x8*(parseInt(_0x5de5e8(0x175))/0x9)+-parseInt(_0x5de5e8(0x17a))/0xa+parseInt(_0x5de5e8(0x173))/0xb;if(_0x35baf9===_0x494d4d)break;else _0x5092f2['push'](_0x5092f2['shift']());}catch(_0x4b5a76){_0x5092f2['push'](_0x5092f2['shift']());}}}(_0x20b5,0xb660b));export*from'./NodeIDependsAdapter';function _0x20b5(){var _0xdeaed9=['24407493DhjXSh','46519PWknJP','9EhXwdy','2144580DTVnDt','610302XAFkzu','20676LsqFRK','20JXDzYc','3766870ffaLSo','40WhQAvx','15oiNZsQ','2289736iQxHbn'];_0x20b5=function(){return _0xdeaed9;};return _0x20b5();}function _0x301f(_0x19d93c,_0x4c79fa){var _0x20b560=_0x20b5();return _0x301f=function(_0x301f97,_0x367937){_0x301f97=_0x301f97-0x170;var _0x2758b3=_0x20b560[_0x301f97];return _0x2758b3;},_0x301f(_0x19d93c,_0x4c79fa);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index 8d7f0ac8..a8c60d56 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x5487a7=_0x5085;function _0x2e74(){const _0x46d98e=['16594919HkXQos','1489832DCGmGo','30folMBf','2180492aZhIvN','getCollectionService','toString','createCollection','1891782NSJmjZ','4531910iVkapI','294707GOLBBz','now','createNewCollectionItem','6525360PVaFhk','getAllCollection','12mTXuNp','1BYKoMp','6kNfZgk','50UwMSqL','getCollectionItemList'];_0x2e74=function(){return _0x46d98e;};return _0x2e74();}function _0x5085(_0x5a94df,_0x1c3ddb){const _0x2e74f5=_0x2e74();return _0x5085=function(_0x5085d8,_0x30fc83){_0x5085d8=_0x5085d8-0xad;let _0x20eb8a=_0x2e74f5[_0x5085d8];return _0x20eb8a;},_0x5085(_0x5a94df,_0x1c3ddb);}(function(_0x9e2d51,_0x1eb11c){const _0x37026c=_0x5085,_0x38901b=_0x9e2d51();while(!![]){try{const _0x3cd7c3=parseInt(_0x37026c(0xb3))/0x1*(parseInt(_0x37026c(0xb8))/0x2)+-parseInt(_0x37026c(0xb4))/0x3*(parseInt(_0x37026c(0xba))/0x4)+-parseInt(_0x37026c(0xbf))/0x5+parseInt(_0x37026c(0xb9))/0x6*(parseInt(_0x37026c(0xad))/0x7)+-parseInt(_0x37026c(0xb0))/0x8+parseInt(_0x37026c(0xbe))/0x9*(parseInt(_0x37026c(0xb5))/0xa)+-parseInt(_0x37026c(0xb7))/0xb*(-parseInt(_0x37026c(0xb2))/0xc);if(_0x3cd7c3===_0x1eb11c)break;else _0x38901b['push'](_0x38901b['shift']());}catch(_0x1a4a0a){_0x38901b['push'](_0x38901b['shift']());}}}(_0x2e74,0xab916));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x5487a7(0xbd)](_0x552f14,_0x298ad9,_0x1c29f9,_0x436515,_0x33c134){const _0x49e155=_0x5487a7;let _0x30de78={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x552f14,'strId':_0x1c29f9,'groupId':'0','groupName':'','uid':_0x298ad9},'customGroupId':'0','createTime':Date[_0x49e155(0xae)]()['toString'](),'sequence':Date['now']()[_0x49e155(0xbc)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x436515,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x33c134,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore['session'][_0x49e155(0xbb)]()[_0x49e155(0xaf)](_0x30de78);}static async[_0x5487a7(0xb1)](_0x3b96a5=0x0,_0x5bba58=0x32){const _0x4352a4=_0x5487a7;let _0x5e34eb={'category':_0x3b96a5,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x5bba58,'searchDown':!![]};return napCatCore['session']['getCollectionService']()[_0x4352a4(0xb6)](_0x5e34eb);}} \ No newline at end of file +function _0x35eb(_0x2cb710,_0x5e82c0){const _0x1479e0=_0x1479();return _0x35eb=function(_0x35eb4c,_0x3356e8){_0x35eb4c=_0x35eb4c-0x160;let _0x4e079d=_0x1479e0[_0x35eb4c];return _0x4e079d;},_0x35eb(_0x2cb710,_0x5e82c0);}function _0x1479(){const _0x480c9e=['770292xhxxMd','now','160385kefZUm','toString','6129837DLduDg','session','64SKZecH','48uTLypr','createCollection','2039374zdwDXS','1grdznu','641938iVQvYn','24VBqhlv','458600MjoPNr','182868RkJXOz','10jhlHjH','getCollectionItemList','getCollectionService'];_0x1479=function(){return _0x480c9e;};return _0x1479();}const _0x16047e=_0x35eb;(function(_0x44cc82,_0x173648){const _0x39e690=_0x35eb,_0x206728=_0x44cc82();while(!![]){try{const _0x42ba66=parseInt(_0x39e690(0x170))/0x1*(parseInt(_0x39e690(0x16f))/0x2)+-parseInt(_0x39e690(0x166))/0x3+parseInt(_0x39e690(0x16c))/0x4*(-parseInt(_0x39e690(0x168))/0x5)+-parseInt(_0x39e690(0x160))/0x6*(parseInt(_0x39e690(0x162))/0x7)+parseInt(_0x39e690(0x161))/0x8+-parseInt(_0x39e690(0x16a))/0x9*(-parseInt(_0x39e690(0x163))/0xa)+-parseInt(_0x39e690(0x171))/0xb*(parseInt(_0x39e690(0x16d))/0xc);if(_0x42ba66===_0x173648)break;else _0x206728['push'](_0x206728['shift']());}catch(_0x24420f){_0x206728['push'](_0x206728['shift']());}}}(_0x1479,0x9ebc5));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x16047e(0x16e)](_0x345384,_0x526380,_0x4ca5ac,_0x24f57c,_0x393b53){const _0x179ba0=_0x16047e;let _0x31c83a={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x345384,'strId':_0x4ca5ac,'groupId':'0','groupName':'','uid':_0x526380},'customGroupId':'0','createTime':Date['now']()['toString'](),'sequence':Date[_0x179ba0(0x167)]()[_0x179ba0(0x169)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x24f57c,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x393b53,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x179ba0(0x16b)][_0x179ba0(0x165)]()['createNewCollectionItem'](_0x31c83a);}static async['getAllCollection'](_0x5b62ec=0x0,_0x4ac328=0x32){const _0x5c04b8=_0x16047e;let _0x17dfb2={'category':_0x5b62ec,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x4ac328,'searchDown':!![]};return napCatCore[_0x5c04b8(0x16b)][_0x5c04b8(0x165)]()[_0x5c04b8(0x164)](_0x17dfb2);}} \ 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 91556d9d..55c62678 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x5f31e8=_0x2945;(function(_0x24a8a0,_0x4f1a6c){const _0x40c1cc=_0x2945,_0x490a69=_0x24a8a0();while(!![]){try{const _0x27e068=parseInt(_0x40c1cc(0x1af))/0x1*(-parseInt(_0x40c1cc(0x1ba))/0x2)+-parseInt(_0x40c1cc(0x1b4))/0x3+parseInt(_0x40c1cc(0x1cc))/0x4+-parseInt(_0x40c1cc(0x1dd))/0x5*(parseInt(_0x40c1cc(0x1d1))/0x6)+-parseInt(_0x40c1cc(0x1d0))/0x7+-parseInt(_0x40c1cc(0x1e4))/0x8+parseInt(_0x40c1cc(0x1ea))/0x9;if(_0x27e068===_0x4f1a6c)break;else _0x490a69['push'](_0x490a69['shift']());}catch(_0x2d3368){_0x490a69['push'](_0x490a69['shift']());}}}(_0x3dfe,0x51180));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x47d357 from'path';function _0x3dfe(){const _0x5f198b=['uploadFile','copyFile','chatType','getRkey','clearChatCache','getFileSize','getFileType','PIC','addListener','256671ziyKsl','UlMnQ','clearCache','onRichMediaDownloadComplete','teZsq','937461MJFlot','getDesktopTmpPath','getImageUrl','startsWith','&rkey=','owrHO','4DZhiPP','getHotUpdateCachePath','join','图片url获取失败','getFileCacheInfo','qRRML','defaultFileDownloadPath','EfLPL','urlResult','scanCache','tmp','setCacheSilentScan','basename','toUpperCase','hotUpdate','XmMLG','filePath','onLoginSuccess','91108MVsNfw','addCacheScanedPaths','getStorageCleanService','XPIUW','2568279AtsHLl','222WejWNK','clearChatCacheInfo','indexOf','getImageSize','includes','domainUrl','downloadRichMedia','getChatCacheInfo','下载超时','ATxLr','util','existsSync','70855yILHFK','session','getChatCacheList','private_rkey','/download','delete','getMsgService','2541656gDssQL','url','getRichMediaService','msgId','group_rkey','zCwbJ','21097287mCrDqF','md5HexStr','GUsmd','getCacheSessionPathList','CoVUC'];_0x3dfe=function(){return _0x5f198b;};return _0x3dfe();}import _0x4a9276 from'fs';import _0x183612 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x3eacab from'file-type';import{MsgListener}from'@/core/listeners';import _0x573164 from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x2945(_0x4b1964,_0x39e938){const _0x3dfe97=_0x3dfe();return _0x2945=function(_0x29456a,_0x4986fd){_0x29456a=_0x29456a-0x1a4;let _0x33de03=_0x3dfe97[_0x29456a];return _0x33de03;},_0x2945(_0x4b1964,_0x39e938);}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[_0x5f31e8(0x1b2)]=_0x4fd112=>{const _0xb5d384=_0x5f31e8;for(const [_0x75bdc8,_0x1f0142]of downloadMediaTasks){_0x1f0142(_0x4fd112),downloadMediaTasks[_0xb5d384(0x1e2)](_0x75bdc8);}},setTimeout(()=>{const _0x20fccc=_0x5f31e8;napCatCore[_0x20fccc(0x1cb)](()=>{const _0x6f7c16=_0x20fccc;napCatCore[_0x6f7c16(0x1ae)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x5f31e8(0x1ac)](_0x4e27dd){return _0x3eacab['fileTypeFromFile'](_0x4e27dd);}static async[_0x5f31e8(0x1a7)](_0x25965d,_0xab7a20){const _0x3c0b1d=_0x5f31e8;await napCatCore[_0x3c0b1d(0x1db)]['copyFile'](_0x25965d,_0xab7a20);}static async[_0x5f31e8(0x1ab)](_0x52099a){const _0x870713=_0x5f31e8;return await napCatCore['util'][_0x870713(0x1ab)](_0x52099a);}static async['getVideoUrl'](_0x438231,_0x57db59){const _0x75e63e=_0x5f31e8;return(await napCatCore[_0x75e63e(0x1de)][_0x75e63e(0x1e6)]()['getVideoPlayUrlV2']({'chatType':_0x438231[_0x75e63e(0x1a8)],'peerUid':_0x438231['peerUid'],'guildId':'0'},_0x438231[_0x75e63e(0x1e7)],_0x57db59['elementId'],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x75e63e(0x1c2)][_0x75e63e(0x1d6)][0x0][_0x75e63e(0x1e5)];}static async[_0x5f31e8(0x1a6)](_0x379023,_0x4c2130=ElementType[_0x5f31e8(0x1ad)],_0x30d6ed=0x0){const _0x1b7bf4=_0x5f31e8,_0xb54f55={'EfLPL':function(_0x3cdbe5,_0x48709d){return _0x3cdbe5(_0x48709d);},'UlMnQ':function(_0x349604,_0x113145){return _0x349604+_0x113145;},'GUsmd':function(_0x2fd0d5,_0x425e1e){return _0x2fd0d5===_0x425e1e;}},_0x3cabd7=await _0xb54f55[_0x1b7bf4(0x1c1)](calculateFileMD5,_0x379023);let _0x13682e=(await NTQQFileApi[_0x1b7bf4(0x1ac)](_0x379023))?.['ext']||'';_0x13682e&&(_0x13682e=_0xb54f55[_0x1b7bf4(0x1b0)]('.',_0x13682e));let _0xd7dd55=''+_0x47d357[_0x1b7bf4(0x1c6)](_0x379023);_0xb54f55[_0x1b7bf4(0x1ec)](_0xd7dd55[_0x1b7bf4(0x1d3)]('.'),-0x1)&&(_0xd7dd55+=_0x13682e);const _0x2bc320=napCatCore[_0x1b7bf4(0x1de)][_0x1b7bf4(0x1e3)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x3cabd7,'fileName':_0xd7dd55,'elementType':_0x4c2130,'elementSubType':_0x30d6ed,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x379023,_0x2bc320);const _0xf8ba39=await NTQQFileApi[_0x1b7bf4(0x1ab)](_0x379023);return{'md5':_0x3cabd7,'fileName':_0xd7dd55,'path':_0x2bc320,'fileSize':_0xf8ba39,'ext':_0x13682e};}static async['downloadMedia'](_0x4cdcf3,_0x2d3098,_0x2a0351,_0x1f1eb7,_0x1ba077,_0x284986,_0x1a6344=0x3e8*0x3c*0x2,_0x312c5b=![]){const _0x4cacb4=_0x5f31e8,_0x52cbeb={'kXagC':function(_0xfb917f,_0xe7c579){return _0xfb917f===_0xe7c579;},'owrHO':function(_0x30b4a3){return _0x30b4a3();},'XPIUW':function(_0x4c6e14,_0x512b67,_0xc4729f){return _0x4c6e14(_0x512b67,_0xc4729f);}};if(_0x284986&&_0x4a9276[_0x4cacb4(0x1dc)](_0x284986)){if(_0x312c5b)try{await _0x183612['unlink'](_0x284986);}catch(_0x22c16f){}else return _0x284986;}return new Promise((_0x3d2e1a,_0x1c5121)=>{const _0x104428=_0x4cacb4,_0xa5c5a2={'aeHjH':function(_0x16e14e,_0xe8970d){return _0x52cbeb['kXagC'](_0x16e14e,_0xe8970d);},'hmQxu':function(_0x460b6f,_0x420ed9){return _0x460b6f(_0x420ed9);},'zCwbJ':_0x104428(0x1d9)};let _0x5420e3=![];const _0x2c5a3b=_0x28212f=>{const _0x5a849c=_0x104428;if(_0xa5c5a2['aeHjH'](_0x28212f['msgId'],_0x4cdcf3)){_0x5420e3=!![];let _0x55dc87=_0x28212f[_0x5a849c(0x1ca)];if(_0x55dc87['startsWith']('\x5c')){const _0x2a9027=sessionConfig[_0x5a849c(0x1c0)];_0x55dc87=_0x47d357[_0x5a849c(0x1bc)](_0x2a9027,_0x55dc87);}_0xa5c5a2['hmQxu'](_0x3d2e1a,_0x55dc87);}};downloadMediaTasks['set'](_0x52cbeb[_0x104428(0x1b9)](randomUUID),_0x2c5a3b),_0x52cbeb[_0x104428(0x1cf)](setTimeout,()=>{const _0x5e6545=_0x104428;!_0x5420e3&&_0x1c5121(_0xa5c5a2[_0x5e6545(0x1e9)]);},_0x1a6344),napCatCore[_0x104428(0x1de)]['getMsgService']()[_0x104428(0x1d7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x4cdcf3,'chatType':_0x2d3098,'peerUid':_0x2a0351,'elementId':_0x1f1eb7,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1ba077});});}static async[_0x5f31e8(0x1d4)](_0x327aab){const _0x51ba4c={'aibPD':function(_0x23c199,_0x2381e5){return _0x23c199(_0x2381e5);},'JcwDd':function(_0x19fb55,_0x5cc9f7,_0x442637){return _0x19fb55(_0x5cc9f7,_0x442637);}};return new Promise((_0x34d1f1,_0x4ab2ce)=>{_0x51ba4c['JcwDd'](_0x573164,_0x327aab,(_0x123503,_0xc66f82)=>{_0x123503?_0x51ba4c['aibPD'](_0x4ab2ce,_0x123503):_0x51ba4c['aibPD'](_0x34d1f1,_0xc66f82);});});}static async[_0x5f31e8(0x1b6)](_0x54290a,_0x4fc595){const _0x4ddbf4=_0x5f31e8,_0x16a3d0={'XmMLG':_0x4ddbf4(0x1e1),'ATxLr':function(_0x3ccb92,_0x22fe29){return _0x3ccb92+_0x22fe29;},'CoVUC':function(_0x2bda60,_0xf77fa8){return _0x2bda60+_0xf77fa8;},'teZsq':function(_0x1b91dd,_0x4194a5){return _0x1b91dd||_0x4194a5;},'uozKF':function(_0x27c7a3,_0x1bfea8,_0x571cfd){return _0x27c7a3(_0x1bfea8,_0x571cfd);},'qRRML':_0x4ddbf4(0x1bd)};if(!_0x54290a)return'';const _0x332f41=_0x54290a['originImageUrl'],_0x403c3c=_0x54290a[_0x4ddbf4(0x1eb)],_0x5c4278=_0x54290a[_0x4ddbf4(0x1eb)],_0x56df5c=_0x54290a['fileUuid'];if(_0x332f41){if(_0x332f41[_0x4ddbf4(0x1b7)](_0x16a3d0[_0x4ddbf4(0x1c9)])){if(_0x332f41[_0x4ddbf4(0x1d5)](_0x4ddbf4(0x1b8)))return IMAGE_HTTP_HOST_NT+_0x332f41;const _0x3a2f08=await rkeyManager[_0x4ddbf4(0x1a9)](),_0x51e676=_0x4fc595?_0x3a2f08[_0x4ddbf4(0x1e0)]:_0x3a2f08[_0x4ddbf4(0x1e8)];return _0x16a3d0[_0x4ddbf4(0x1da)](_0x16a3d0[_0x4ddbf4(0x1a5)](IMAGE_HTTP_HOST_NT,_0x332f41),''+_0x51e676);}else return IMAGE_HTTP_HOST+_0x332f41;}else{if(_0x16a3d0[_0x4ddbf4(0x1b3)](_0x5c4278,_0x403c3c))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x16a3d0['teZsq'](_0x5c4278,_0x403c3c)[_0x4ddbf4(0x1c7)]()+'/0';}return _0x16a3d0['uozKF'](logDebug,_0x16a3d0[_0x4ddbf4(0x1bf)],_0x54290a),'';}}export class NTQQFileCacheApi{static async[_0x5f31e8(0x1c5)](_0x5b7614=!![]){return'';}static[_0x5f31e8(0x1a4)](){return'';}static[_0x5f31e8(0x1b1)](_0x376088=[_0x5f31e8(0x1c4),_0x5f31e8(0x1c8)]){const _0x2cc35d=_0x5f31e8;return napCatCore['session'][_0x2cc35d(0x1ce)]()['clearCacheDataByKeys'](_0x376088);}static['addCacheScannedPaths'](_0x1d2334={}){const _0x3088cf=_0x5f31e8;return napCatCore[_0x3088cf(0x1de)][_0x3088cf(0x1ce)]()[_0x3088cf(0x1cd)](_0x1d2334);}static['scanCache'](){const _0x3d5565=_0x5f31e8;return napCatCore['session'][_0x3d5565(0x1ce)]()[_0x3d5565(0x1c3)]();}static[_0x5f31e8(0x1bb)](){return'';}static[_0x5f31e8(0x1b5)](){return'';}static[_0x5f31e8(0x1df)](_0xcd4fc1,_0x457aa6=0x3e8,_0x3a6c7b=0x0){const _0x3f4f7f=_0x5f31e8;return napCatCore[_0x3f4f7f(0x1de)]['getStorageCleanService']()[_0x3f4f7f(0x1d8)](_0xcd4fc1,_0x457aa6,0x1,_0x3a6c7b);}static[_0x5f31e8(0x1be)](_0x203d6b,_0x2c91b6=0x3e8,_0x4fc79a){const _0x34265b=_0x4fc79a?_0x4fc79a:{'fileType':_0x203d6b};}static async[_0x5f31e8(0x1aa)](_0x3d5f7c=[],_0x5e6a98=[]){const _0x52a826=_0x5f31e8;return napCatCore['session'][_0x52a826(0x1ce)]()[_0x52a826(0x1d2)](_0x3d5f7c,_0x5e6a98);}} \ No newline at end of file +const _0x1cf072=_0x74a7;(function(_0x580612,_0x3228fe){const _0x2423e5=_0x74a7,_0x299fd=_0x580612();while(!![]){try{const _0x2a4480=-parseInt(_0x2423e5(0x7c))/0x1+parseInt(_0x2423e5(0x7a))/0x2*(parseInt(_0x2423e5(0x93))/0x3)+-parseInt(_0x2423e5(0xaf))/0x4*(-parseInt(_0x2423e5(0xab))/0x5)+-parseInt(_0x2423e5(0x8b))/0x6+-parseInt(_0x2423e5(0x8c))/0x7*(-parseInt(_0x2423e5(0xb6))/0x8)+parseInt(_0x2423e5(0xbc))/0x9*(-parseInt(_0x2423e5(0x98))/0xa)+-parseInt(_0x2423e5(0xba))/0xb;if(_0x2a4480===_0x3228fe)break;else _0x299fd['push'](_0x299fd['shift']());}catch(_0x358616){_0x299fd['push'](_0x299fd['shift']());}}}(_0x2be8,0x45029));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x4dc024 from'path';import _0x2aa5c4 from'fs';import _0x4fd7f8 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x2be8(){const _0x357db5=['ext','clearChatCache','existsSync','addCacheScanedPaths','getImageUrl','filePath','2259690oPlmsq','868uYshzk','sHZmF','urlResult','hotUpdate','cvhhi','msgId','getDesktopTmpPath','16293RhXDXe','tUfZp','&rkey=','copyFile','XbGbF','2330TLXtkB','getFileType','PPiXF','getFileCacheInfo','getVideoPlayUrlV2','ZQQIa','defaultFileDownloadPath','getHotUpdateCachePath','getRkey','getRichMediaFilePathForGuild','getStorageCleanService','peerUid','includes','indexOf','fileUuid','originImageUrl','addListener','downloadMedia','startsWith','5LsDLIf','clearChatCacheInfo','XNxwC','rCjRN','825748HrBJVU','session','set','unlink','Aljxx','uaMDU','md5HexStr','28264oXNaUo','图片url获取失败','chatType','scanCache','2288FbDGsF','join','4491HRXObJ','getMsgService','下载超时','getFileSize','YJDse','getCacheSessionPathList','getChatCacheList','downloadRichMedia','pdtQU','122JitRKQ','BrcyT','200065BgaUhY','onRichMediaDownloadComplete','setCacheSilentScan','util','basename','getChatCacheInfo','url','onLoginSuccess','getVideoUrl'];_0x2be8=function(){return _0x357db5;};return _0x2be8();}function _0x74a7(_0xf41a58,_0x2e1f6f){const _0x2be83c=_0x2be8();return _0x74a7=function(_0x74a71b,_0x186e73){_0x74a71b=_0x74a71b-0x77;let _0x2ff8b4=_0x2be83c[_0x74a71b];return _0x2ff8b4;},_0x74a7(_0xf41a58,_0x2e1f6f);}import*as _0x51eb2d from'file-type';import{MsgListener}from'@/core/listeners';import _0x496007 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[_0x1cf072(0x7d)]=_0x3cbb7b=>{for(const [_0x38ef9b,_0x46086d]of downloadMediaTasks){_0x46086d(_0x3cbb7b),downloadMediaTasks['delete'](_0x38ef9b);}},setTimeout(()=>{const _0x2eb851=_0x1cf072;napCatCore[_0x2eb851(0x83)](()=>{const _0x3b0bfd=_0x2eb851;napCatCore[_0x3b0bfd(0xa8)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1cf072(0x99)](_0xa1ba10){return _0x51eb2d['fileTypeFromFile'](_0xa1ba10);}static async[_0x1cf072(0x96)](_0x541ba7,_0x97ccc){const _0x5c404f=_0x1cf072;await napCatCore[_0x5c404f(0x7f)]['copyFile'](_0x541ba7,_0x97ccc);}static async[_0x1cf072(0xbf)](_0x12873c){const _0x33179a=_0x1cf072;return await napCatCore[_0x33179a(0x7f)][_0x33179a(0xbf)](_0x12873c);}static async[_0x1cf072(0x84)](_0x24c00f,_0x55413e){const _0x5303e7=_0x1cf072;return(await napCatCore[_0x5303e7(0xb0)]['getRichMediaService']()[_0x5303e7(0x9c)]({'chatType':_0x24c00f[_0x5303e7(0xb8)],'peerUid':_0x24c00f[_0x5303e7(0xa3)],'guildId':'0'},_0x24c00f[_0x5303e7(0x91)],_0x55413e['elementId'],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x5303e7(0x8e)]['domainUrl'][0x0][_0x5303e7(0x82)];}static async['uploadFile'](_0x440860,_0x5e0c91=ElementType['PIC'],_0x432014=0x0){const _0x283785=_0x1cf072,_0x53d495={'dHmqf':function(_0xb95b56,_0x59a169){return _0xb95b56(_0x59a169);},'bFNlB':function(_0xcede37,_0x598f36){return _0xcede37+_0x598f36;},'XtHJY':function(_0xebb48f,_0xce0c19){return _0xebb48f===_0xce0c19;}},_0x222f51=await _0x53d495['dHmqf'](calculateFileMD5,_0x440860);let _0x45fd4d=(await NTQQFileApi[_0x283785(0x99)](_0x440860))?.[_0x283785(0x85)]||'';_0x45fd4d&&(_0x45fd4d=_0x53d495['bFNlB']('.',_0x45fd4d));let _0x5739bb=''+_0x4dc024[_0x283785(0x80)](_0x440860);_0x53d495['XtHJY'](_0x5739bb[_0x283785(0xa5)]('.'),-0x1)&&(_0x5739bb+=_0x45fd4d);const _0x500f35=napCatCore[_0x283785(0xb0)][_0x283785(0xbd)]()[_0x283785(0xa1)]({'md5HexStr':_0x222f51,'fileName':_0x5739bb,'elementType':_0x5e0c91,'elementSubType':_0x432014,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x283785(0x96)](_0x440860,_0x500f35);const _0x21f48b=await NTQQFileApi['getFileSize'](_0x440860);return{'md5':_0x222f51,'fileName':_0x5739bb,'path':_0x500f35,'fileSize':_0x21f48b,'ext':_0x45fd4d};}static async[_0x1cf072(0xa9)](_0x34541a,_0x10bdbb,_0x2f063e,_0x1f9626,_0x2ab3fb,_0x18809f,_0x1ba036=0x3e8*0x3c*0x2,_0x3e1f9d=![]){const _0x25024b=_0x1cf072,_0x31445b={'XbGbF':function(_0x239c15,_0x1e89dc){return _0x239c15(_0x1e89dc);},'XNxwC':_0x25024b(0xbe),'YJDse':function(_0x241328){return _0x241328();},'JOBYT':function(_0x4de03a,_0x5b7672,_0x59742c){return _0x4de03a(_0x5b7672,_0x59742c);}};if(_0x18809f&&_0x2aa5c4[_0x25024b(0x87)](_0x18809f)){if(_0x3e1f9d)try{await _0x4fd7f8[_0x25024b(0xb2)](_0x18809f);}catch(_0x1f18c3){}else return _0x18809f;}return new Promise((_0x2036fe,_0x4909d6)=>{const _0x3c1d11=_0x25024b,_0x243189={'Aljxx':function(_0x523684,_0x5d842e){const _0x3aecbd=_0x74a7;return _0x31445b[_0x3aecbd(0x97)](_0x523684,_0x5d842e);}};let _0x2d1233=![];const _0x4a459b=_0x3c0b79=>{const _0x4a6bbd=_0x74a7;if(_0x3c0b79['msgId']===_0x34541a){_0x2d1233=!![];let _0x3edcc1=_0x3c0b79[_0x4a6bbd(0x8a)];if(_0x3edcc1[_0x4a6bbd(0xaa)]('\x5c')){const _0x3b7b4f=sessionConfig[_0x4a6bbd(0x9e)];_0x3edcc1=_0x4dc024[_0x4a6bbd(0xbb)](_0x3b7b4f,_0x3edcc1);}_0x243189[_0x4a6bbd(0xb3)](_0x2036fe,_0x3edcc1);}};downloadMediaTasks[_0x3c1d11(0xb1)](_0x31445b[_0x3c1d11(0xc0)](randomUUID),_0x4a459b),_0x31445b['JOBYT'](setTimeout,()=>{const _0x562f71=_0x3c1d11;!_0x2d1233&&_0x31445b[_0x562f71(0x97)](_0x4909d6,_0x31445b[_0x562f71(0xad)]);},_0x1ba036),napCatCore[_0x3c1d11(0xb0)]['getMsgService']()[_0x3c1d11(0x78)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x34541a,'chatType':_0x10bdbb,'peerUid':_0x2f063e,'elementId':_0x1f9626,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2ab3fb});});}static async['getImageSize'](_0x19d2a6){const _0x5a4f17={'uaMDU':function(_0x3226d3,_0x2e06ba){return _0x3226d3(_0x2e06ba);},'rCjRN':function(_0x522f58,_0x49cce2,_0x4dbfb7){return _0x522f58(_0x49cce2,_0x4dbfb7);}};return new Promise((_0x13bea8,_0x5bdd0a)=>{const _0x3b453d=_0x74a7;_0x5a4f17[_0x3b453d(0xae)](_0x496007,_0x19d2a6,(_0x48f2de,_0x19e8f7)=>{const _0x26d827=_0x3b453d;_0x48f2de?_0x5bdd0a(_0x48f2de):_0x5a4f17[_0x26d827(0xb4)](_0x13bea8,_0x19e8f7);});});}static async[_0x1cf072(0x89)](_0x3fb69d,_0x50667f){const _0x1e1777=_0x1cf072,_0x502c26={'cvhhi':'/download','tUfZp':_0x1e1777(0x95),'sHZmF':function(_0x11a036,_0x402912){return _0x11a036+_0x402912;},'pdtQU':function(_0x7d1a02,_0x39eaf2){return _0x7d1a02+_0x39eaf2;},'PPiXF':function(_0x4df9a7,_0xb7b061){return _0x4df9a7+_0xb7b061;},'BrcyT':function(_0x5f89cd,_0x2f9991){return _0x5f89cd||_0x2f9991;},'ZQQIa':function(_0x5a799f,_0x5aafe0,_0x1bf966){return _0x5a799f(_0x5aafe0,_0x1bf966);},'HxBCe':_0x1e1777(0xb7)};if(!_0x3fb69d)return'';const _0x2439b2=_0x3fb69d[_0x1e1777(0xa7)],_0xc45994=_0x3fb69d['md5HexStr'],_0x493489=_0x3fb69d[_0x1e1777(0xb5)],_0x48737b=_0x3fb69d[_0x1e1777(0xa6)];if(_0x2439b2){if(_0x2439b2['startsWith'](_0x502c26[_0x1e1777(0x90)])){if(_0x2439b2[_0x1e1777(0xa4)](_0x502c26[_0x1e1777(0x94)]))return _0x502c26[_0x1e1777(0x8d)](IMAGE_HTTP_HOST_NT,_0x2439b2);const _0x210460=await rkeyManager[_0x1e1777(0xa0)](),_0x144412=_0x50667f?_0x210460['private_rkey']:_0x210460['group_rkey'];return _0x502c26[_0x1e1777(0x79)](_0x502c26[_0x1e1777(0x8d)](IMAGE_HTTP_HOST_NT,_0x2439b2),''+_0x144412);}else return _0x502c26[_0x1e1777(0x9a)](IMAGE_HTTP_HOST,_0x2439b2);}else{if(_0x502c26[_0x1e1777(0x7b)](_0x493489,_0xc45994))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+(_0x493489||_0xc45994)['toUpperCase']()+'/0';}return _0x502c26[_0x1e1777(0x9d)](logDebug,_0x502c26['HxBCe'],_0x3fb69d),'';}}export class NTQQFileCacheApi{static async[_0x1cf072(0x7e)](_0x1ef85b=!![]){return'';}static[_0x1cf072(0xc1)](){return'';}static['clearCache'](_0x317158=['tmp',_0x1cf072(0x8f)]){const _0x16fcc3=_0x1cf072;return napCatCore['session'][_0x16fcc3(0xa2)]()['clearCacheDataByKeys'](_0x317158);}static['addCacheScannedPaths'](_0x298fab={}){const _0x19c88a=_0x1cf072;return napCatCore[_0x19c88a(0xb0)][_0x19c88a(0xa2)]()[_0x19c88a(0x88)](_0x298fab);}static[_0x1cf072(0xb9)](){const _0x4f6c6a=_0x1cf072;return napCatCore['session'][_0x4f6c6a(0xa2)]()['scanCache']();}static[_0x1cf072(0x9f)](){return'';}static[_0x1cf072(0x92)](){return'';}static[_0x1cf072(0x77)](_0x622ee8,_0x2982ec=0x3e8,_0x5611b0=0x0){const _0x1e2fa6=_0x1cf072;return napCatCore[_0x1e2fa6(0xb0)][_0x1e2fa6(0xa2)]()[_0x1e2fa6(0x81)](_0x622ee8,_0x2982ec,0x1,_0x5611b0);}static[_0x1cf072(0x9b)](_0x543718,_0x56a041=0x3e8,_0x929c4e){const _0x4363b5=_0x929c4e?_0x929c4e:{'fileType':_0x543718};}static async[_0x1cf072(0x86)](_0x1a6f38=[],_0x396bd8=[]){const _0x1216cf=_0x1cf072;return napCatCore[_0x1216cf(0xb0)][_0x1216cf(0xa2)]()[_0x1216cf(0xac)](_0x1a6f38,_0x396bd8);}} \ 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 ca27b7e6..e705c5eb 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x343597=_0x2fe1;(function(_0x27e301,_0x3dbc31){const _0x354009=_0x2fe1,_0x2df822=_0x27e301();while(!![]){try{const _0x394e71=-parseInt(_0x354009(0x139))/0x1*(parseInt(_0x354009(0x135))/0x2)+parseInt(_0x354009(0x130))/0x3+-parseInt(_0x354009(0x133))/0x4*(parseInt(_0x354009(0x13e))/0x5)+parseInt(_0x354009(0x140))/0x6*(-parseInt(_0x354009(0x13d))/0x7)+-parseInt(_0x354009(0x13a))/0x8*(-parseInt(_0x354009(0x142))/0x9)+parseInt(_0x354009(0x12b))/0xa+parseInt(_0x354009(0x132))/0xb;if(_0x394e71===_0x3dbc31)break;else _0x2df822['push'](_0x2df822['shift']());}catch(_0x325b5b){_0x2df822['push'](_0x2df822['shift']());}}}(_0x1c44,0x34116));function _0x2fe1(_0x4e3995,_0x5cfc6d){const _0x1c44e3=_0x1c44();return _0x2fe1=function(_0x2fe1b9,_0x2da706){_0x2fe1b9=_0x2fe1b9-0x12a;let _0x3cab6e=_0x1c44e3[_0x2fe1b9];return _0x3cab6e;},_0x2fe1(_0x4e3995,_0x5cfc6d);}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x1c44(){const _0x3d27e2=['567069zoyKjE','woktW','3883143TzRnOP','188bHJexU','isBuddy','6770JfFaPv','NodeIKernelBuddyListener/onBuddyListChange','session','WVjRh','58rowUWq','648ERYOba','CallNormalEvent','buddyList','70NGigat','26305ijRuCK','YQvnm','19356pOsRmu','handleFriendRequest','10260VzPXsd','approvalFriendRequest','547510bUQSFS','split','length','push','getFriends'];_0x1c44=function(){return _0x3d27e2;};return _0x1c44();}export class NTQQFriendApi{static async['isBuddy'](_0x122fe7){const _0x36038b=_0x2fe1;return napCatCore['session']['getBuddyService']()[_0x36038b(0x134)](_0x122fe7);}static async[_0x343597(0x12f)](_0x35ab57=![]){const _0x5a689d=_0x343597,_0x32015e={'woktW':'NodeIKernelBuddyService/getBuddyList','WVjRh':_0x5a689d(0x136)};let [_0x3a8119,_0x836d87]=await NTEventDispatch[_0x5a689d(0x13b)](_0x32015e[_0x5a689d(0x131)],_0x32015e[_0x5a689d(0x138)],0x1,0x1388,_0x35ab57);const _0x33f0a7=[];for(const _0xa6a733 of _0x836d87){for(const _0x20e884 of _0xa6a733[_0x5a689d(0x13c)]){_0x33f0a7[_0x5a689d(0x12e)](_0x20e884);}}return _0x33f0a7;}static async[_0x343597(0x141)](_0x146d46,_0x436eb7){const _0x2beb1b=_0x343597,_0xad5228={'YQvnm':function(_0x19264c,_0x1f7e05){return _0x19264c<_0x1f7e05;}};let _0x1e2ab8=_0x146d46[_0x2beb1b(0x12c)]('|');if(_0xad5228[_0x2beb1b(0x13f)](_0x1e2ab8[_0x2beb1b(0x12d)],0x2))return;let _0x46d7d3=_0x1e2ab8[0x0],_0xfa95b3=_0x1e2ab8[0x1];napCatCore[_0x2beb1b(0x137)]['getBuddyService']()?.[_0x2beb1b(0x12a)]({'friendUid':_0x46d7d3,'reqTime':_0xfa95b3,'accept':_0x436eb7});}} \ No newline at end of file +function _0x1a44(_0x1f1675,_0x83bd5){const _0xe9eef=_0xe9ee();return _0x1a44=function(_0x1a4428,_0x1b811b){_0x1a4428=_0x1a4428-0x16f;let _0x3f3d81=_0xe9eef[_0x1a4428];return _0x3f3d81;},_0x1a44(_0x1f1675,_0x83bd5);}const _0x93afbf=_0x1a44;(function(_0xac8491,_0x52fc93){const _0x2d29fa=_0x1a44,_0x5bf2f6=_0xac8491();while(!![]){try{const _0x4acc42=-parseInt(_0x2d29fa(0x179))/0x1+parseInt(_0x2d29fa(0x17d))/0x2*(parseInt(_0x2d29fa(0x170))/0x3)+-parseInt(_0x2d29fa(0x185))/0x4+-parseInt(_0x2d29fa(0x183))/0x5*(-parseInt(_0x2d29fa(0x177))/0x6)+-parseInt(_0x2d29fa(0x178))/0x7*(parseInt(_0x2d29fa(0x186))/0x8)+parseInt(_0x2d29fa(0x16f))/0x9*(-parseInt(_0x2d29fa(0x180))/0xa)+parseInt(_0x2d29fa(0x17c))/0xb;if(_0x4acc42===_0x52fc93)break;else _0x5bf2f6['push'](_0x5bf2f6['shift']());}catch(_0x12996b){_0x5bf2f6['push'](_0x5bf2f6['shift']());}}}(_0xe9ee,0x9a69d));function _0xe9ee(){const _0x2245a0=['71010trKnGM','getFriends','NodeIKernelBuddyService/getBuddyList','approvalFriendRequest','CallNormalEvent','isBuddy','push','275178IrUDoQ','623MMPxwq','408994YFdugo','split','NodeIKernelBuddyListener/onBuddyListChange','32730544MNzYzF','14fHNJfL','length','JIuBh','1410BLNxxK','session','handleFriendRequest','110lmNWnw','buddyList','3855392iETfXK','85928EUZROO','getBuddyService','75888GuQkuN'];_0xe9ee=function(){return _0x2245a0;};return _0xe9ee();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x93afbf(0x175)](_0x268d1e){const _0xd7b31b=_0x93afbf;return napCatCore['session'][_0xd7b31b(0x187)]()[_0xd7b31b(0x175)](_0x268d1e);}static async[_0x93afbf(0x171)](_0x2f6e18=![]){const _0x3007e5=_0x93afbf,_0x43e871={'JIuBh':_0x3007e5(0x17b)};let [_0xb58467,_0x5ebc85]=await NTEventDispatch[_0x3007e5(0x174)](_0x3007e5(0x172),_0x43e871[_0x3007e5(0x17f)],0x1,0x1388,_0x2f6e18);const _0x2d3bd0=[];for(const _0x578294 of _0x5ebc85){for(const _0x5cab41 of _0x578294[_0x3007e5(0x184)]){_0x2d3bd0[_0x3007e5(0x176)](_0x5cab41);}}return _0x2d3bd0;}static async[_0x93afbf(0x182)](_0x529c43,_0x29fa8a){const _0x5be223=_0x93afbf,_0x20323a={'vCgQu':function(_0x247b05,_0x54a1fd){return _0x247b05<_0x54a1fd;}};let _0x23fd0b=_0x529c43[_0x5be223(0x17a)]('|');if(_0x20323a['vCgQu'](_0x23fd0b[_0x5be223(0x17e)],0x2))return;let _0x178ba3=_0x23fd0b[0x0],_0x3ae0ce=_0x23fd0b[0x1];napCatCore[_0x5be223(0x181)][_0x5be223(0x187)]()?.[_0x5be223(0x173)]({'friendUid':_0x178ba3,'reqTime':_0x3ae0ce,'accept':_0x29fa8a});}} \ 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 d8fbb794..a8429804 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x321b95=_0x3e7e;function _0x48c3(){const _0x1a9e0f=['group','qun.qq.com','getMemberExtInfo','getPSkey','5395040EIRrOl','getNextMemberList','8jxqlzh','DelGroupFileFolder','errCode','kickMember','banMember','arkJson','DelGroupFile','BCsmu','320240fAefee','getGroupIgnoreNotifies','seq','AUvwj','CreatGroupFileFolder','deleteGroupFile','session','374838hxiROB','ZdkZK','modifyMemberCardName','getRichMediaService','NodeIKernelGroupListener/onGroupSingleScreenNotifies','operateSysNotify','QzoZL','TAwhs','setGroupName','NodeIKernelGroupService/getGroupList','errMsg','modifyMemberRole','732MYMObp','groupCode','publishGroupBulletin','Axmrs','lKvbq','deleteGroupFolder','22421jplfJj','uploadGroupBulletinPic','setGroupShutUp','getGroupService','YLTYw','NodeIKernelGroupService/getGroupRecommendContactArkJson','banGroup','146EOyxDc','handleGroupRequest','NodeIKernelGroupService/getSingleScreenNotifies','jmkwh','cpeUw','getGroupRemainAtTimes','setMemberShutUp','createMemberListScene','result','9933174CJdPnR','setMemberRole','getGroupNotifies','getGroupMembers','setGroupTitle','quitGroup','getArkJsonGroupShare','6358840KRTzSv','CallNormalEvent','8595MkMfVt','createGroupFolder','getGroupRecommendContactArkJson','FZmrR'];_0x48c3=function(){return _0x1a9e0f;};return _0x48c3();}(function(_0x848672,_0x5aa559){const _0x2b8f2f=_0x3e7e,_0x2327ba=_0x848672();while(!![]){try{const _0x3f30c4=parseInt(_0x2b8f2f(0x1ee))/0x1*(-parseInt(_0x2b8f2f(0x1dc))/0x2)+parseInt(_0x2b8f2f(0x207))/0x3+parseInt(_0x2b8f2f(0x200))/0x4+parseInt(_0x2b8f2f(0x1f6))/0x5+-parseInt(_0x2b8f2f(0x213))/0x6*(-parseInt(_0x2b8f2f(0x219))/0x7)+-parseInt(_0x2b8f2f(0x1f8))/0x8*(parseInt(_0x2b8f2f(0x1e5))/0x9)+parseInt(_0x2b8f2f(0x1ec))/0xa;if(_0x3f30c4===_0x5aa559)break;else _0x2327ba['push'](_0x2327ba['shift']());}catch(_0x43cbfb){_0x2327ba['push'](_0x2327ba['shift']());}}}(_0x48c3,0x8d7d7));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x3e7e(_0x27f68c,_0x90e56d){const _0x48c321=_0x48c3();return _0x3e7e=function(_0x3e7e4c,_0x388270){_0x3e7e4c=_0x3e7e4c-0x1db;let _0x7b5e83=_0x48c321[_0x3e7e4c];return _0x7b5e83;},_0x3e7e(_0x27f68c,_0x90e56d);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x43e43f=![]){const _0x1de80a=_0x3e7e,_0xcae37e={'cpeUw':_0x1de80a(0x210),'AUvwj':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x5a258f,_0x12f63f,_0x52da2e]=await NTEventDispatch[_0x1de80a(0x1ed)](_0xcae37e[_0x1de80a(0x1e0)],_0xcae37e[_0x1de80a(0x203)],0x1,0x1388,_0x43e43f);return _0x52da2e;}static async[_0x321b95(0x1f0)](_0x4a828d){const _0x432ba6=_0x321b95;return napCatCore[_0x432ba6(0x206)][_0x432ba6(0x21c)]()[_0x432ba6(0x1f0)](_0x4a828d);}static async[_0x321b95(0x204)](_0x5b321d,_0x25b8da){const _0x20c903=_0x321b95;return napCatCore[_0x20c903(0x206)][_0x20c903(0x20a)]()[_0x20c903(0x1ef)](_0x5b321d,_0x25b8da);}static async[_0x321b95(0x1fe)](_0x538821,_0x2ac26e){const _0x4c5775=_0x321b95;return napCatCore['session'][_0x4c5775(0x20a)]()[_0x4c5775(0x205)](_0x538821,[0x66],_0x2ac26e);}static async[_0x321b95(0x1f9)](_0x374c8a,_0x2e3550){const _0x17ef22=_0x321b95;return napCatCore['session'][_0x17ef22(0x20a)]()[_0x17ef22(0x218)](_0x374c8a,_0x2e3550);}static async['getSingleScreenNotifies'](_0x4846d9){const _0x41bdb4=_0x321b95,_0x25ed42={'lKvbq':_0x41bdb4(0x1de),'FZmrR':_0x41bdb4(0x20b)};let [_0x37e310,_0xdfe21a,_0x3720bd,_0x49ec1e]=await NTEventDispatch[_0x41bdb4(0x1ed)](_0x25ed42[_0x41bdb4(0x217)],_0x25ed42[_0x41bdb4(0x1f1)],0x1,0x1388,![],'',_0x4846d9);return _0x49ec1e;}static async[_0x321b95(0x1e8)](_0x22762e,_0x50df80=0xbb8){const _0x3adf9c=_0x321b95,_0x3881b1={'Axmrs':'groupMemberList_MainWindow','QzoZL':function(_0x59099e,_0x52001a){return _0x59099e!==_0x52001a;},'jmkwh':'获取群成员列表出错,'},_0x3ecf8a=napCatCore[_0x3adf9c(0x206)][_0x3adf9c(0x21c)](),_0x1ef402=_0x3ecf8a[_0x3adf9c(0x1e3)](_0x22762e,_0x3881b1[_0x3adf9c(0x216)]),_0x32a0d8=await _0x3ecf8a[_0x3adf9c(0x1f7)](_0x1ef402,undefined,_0x50df80);if(_0x3881b1[_0x3adf9c(0x20d)](_0x32a0d8[_0x3adf9c(0x1fa)],0x0))throw _0x3881b1[_0x3adf9c(0x1df)]+_0x32a0d8[_0x3adf9c(0x211)];return _0x32a0d8[_0x3adf9c(0x1e4)]['infos'];}static async[_0x321b95(0x1e7)](){}static async['GetGroupFileCount'](_0x140509){return napCatCore['session']['getRichMediaService']()['batchGetGroupFileCount'](_0x140509);}static async[_0x321b95(0x201)](){}static async[_0x321b95(0x1eb)](_0x1572c0){const _0x57eee1=_0x321b95,_0x53e01b={'TAwhs':_0x57eee1(0x21e)};let _0x25a688=await NTEventDispatch['CallNoListenerEvent'](_0x53e01b[_0x57eee1(0x20e)],0x1388,_0x1572c0);return _0x25a688[_0x57eee1(0x1fd)];}static async['uploadGroupBulletinPic'](_0x107533,_0x1839fa){const _0x39cf08=_0x321b95,_0x6a200a={'BCsmu':_0x39cf08(0x1f3)},_0x1e4220=(await NTQQUserApi[_0x39cf08(0x1f5)]([_0x6a200a[_0x39cf08(0x1ff)]]))[_0x6a200a[_0x39cf08(0x1ff)]];return napCatCore[_0x39cf08(0x206)][_0x39cf08(0x21c)]()[_0x39cf08(0x21a)](_0x107533,_0x1e4220,_0x1839fa);}static async[_0x321b95(0x1dd)](_0x54e14d,_0x29166c,_0x2702f5){const _0x402b62=_0x321b95,_0x46cafb={'YLTYw':function(_0x3ac14a,_0x47ccc3){return _0x3ac14a||_0x47ccc3;}};return napCatCore['session'][_0x402b62(0x21c)]()[_0x402b62(0x20c)](![],{'operateType':_0x29166c,'targetMsg':{'seq':_0x54e14d[_0x402b62(0x202)],'type':_0x54e14d['type'],'groupCode':_0x54e14d[_0x402b62(0x1f2)][_0x402b62(0x214)],'postscript':_0x46cafb[_0x402b62(0x21d)](_0x2702f5,'')}});}static async[_0x321b95(0x1ea)](_0x3e5d1e){const _0x280e15=_0x321b95;return napCatCore[_0x280e15(0x206)][_0x280e15(0x21c)]()['quitGroup'](_0x3e5d1e);}static async['kickMember'](_0x217e4d,_0x3c15a1,_0x12a056=![],_0x18bdf8=''){const _0xd5251f=_0x321b95;return napCatCore[_0xd5251f(0x206)][_0xd5251f(0x21c)]()[_0xd5251f(0x1fb)](_0x217e4d,_0x3c15a1,_0x12a056,_0x18bdf8);}static async[_0x321b95(0x1fc)](_0x541411,_0x265256){const _0x2c98bf=_0x321b95;return napCatCore[_0x2c98bf(0x206)][_0x2c98bf(0x21c)]()[_0x2c98bf(0x1e2)](_0x541411,_0x265256);}static async[_0x321b95(0x1db)](_0x436eaa,_0x22f5c0){const _0x581232=_0x321b95;return napCatCore['session'][_0x581232(0x21c)]()[_0x581232(0x21b)](_0x436eaa,_0x22f5c0);}static async['setMemberCard'](_0xa1c0c,_0x4eb5b5,_0x199f5f){const _0xfb33bb=_0x321b95;return napCatCore[_0xfb33bb(0x206)][_0xfb33bb(0x21c)]()[_0xfb33bb(0x209)](_0xa1c0c,_0x4eb5b5,_0x199f5f);}static async[_0x321b95(0x1e6)](_0xe526ca,_0x2c8b12,_0x53230e){const _0xbf1f61=_0x321b95;return napCatCore[_0xbf1f61(0x206)]['getGroupService']()[_0xbf1f61(0x212)](_0xe526ca,_0x2c8b12,_0x53230e);}static async[_0x321b95(0x20f)](_0x38bcbd,_0x54b997){const _0x4b0375=_0x321b95;return napCatCore['session'][_0x4b0375(0x21c)]()['modifyGroupName'](_0x38bcbd,_0x54b997,![]);}static async[_0x321b95(0x1e9)](_0x12b525,_0x24801e,_0x35d2a6){}static async['publishGroupBulletin'](_0x43a589,_0x22c9b8,_0x22fc0c=undefined,_0x2a5ebd=0x0,_0x3c77f9=0x0){const _0x4bcba6=_0x321b95,_0x2130d1={'nCqpV':_0x4bcba6(0x1f3),'ZdkZK':function(_0x49ddec,_0x4b49ba){return _0x49ddec(_0x4b49ba);}},_0x4d4b26=(await NTQQUserApi[_0x4bcba6(0x1f5)]([_0x2130d1['nCqpV']]))[_0x2130d1['nCqpV']];let _0x3c30fc={'text':_0x2130d1[_0x4bcba6(0x208)](encodeURI,_0x22c9b8),'picInfo':_0x22fc0c,'oldFeedsId':'','pinned':_0x2a5ebd,'confirmRequired':_0x3c77f9};return napCatCore[_0x4bcba6(0x206)]['getGroupService']()[_0x4bcba6(0x215)](_0x43a589,_0x4d4b26,_0x3c30fc);}static async[_0x321b95(0x1e1)](_0x31aeef){const _0x34bd1e=_0x321b95;napCatCore[_0x34bd1e(0x206)][_0x34bd1e(0x21c)]()['getGroupRemainAtTimes'](_0x31aeef);}static async['getMemberExtInfo'](_0x85cb03,_0x54137d){const _0xeb1585=_0x321b95;return napCatCore[_0xeb1585(0x206)]['getGroupService']()[_0xeb1585(0x1f4)]({'groupCode':_0x85cb03,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x54137d],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file +const _0x5341ee=_0xa20b;(function(_0x253b46,_0x225622){const _0xde5053=_0xa20b,_0x2b46b6=_0x253b46();while(!![]){try{const _0x5f3fc6=-parseInt(_0xde5053(0xdf))/0x1*(-parseInt(_0xde5053(0xee))/0x2)+-parseInt(_0xde5053(0xbe))/0x3*(parseInt(_0xde5053(0xea))/0x4)+-parseInt(_0xde5053(0xb5))/0x5*(-parseInt(_0xde5053(0xbc))/0x6)+parseInt(_0xde5053(0xe3))/0x7+parseInt(_0xde5053(0xc9))/0x8*(parseInt(_0xde5053(0xb7))/0x9)+parseInt(_0xde5053(0xe9))/0xa+-parseInt(_0xde5053(0xe7))/0xb;if(_0x5f3fc6===_0x225622)break;else _0x2b46b6['push'](_0x2b46b6['shift']());}catch(_0x4d795d){_0x2b46b6['push'](_0x2b46b6['shift']());}}}(_0x182c,0x3148e));function _0xa20b(_0xa484aa,_0x167905){const _0x182c06=_0x182c();return _0xa20b=function(_0xa20bab,_0x18b40f){_0xa20bab=_0xa20bab-0xb0;let _0x1232e6=_0x182c06[_0xa20bab];return _0x1232e6;},_0xa20b(_0xa484aa,_0x167905);}function _0x182c(){const _0x1b8f86=['9778791omNKrF','errCode','3817100KwryLM','4NAapCy','groupMemberList_MainWindow','publishGroupBulletin','jeGeX','149746AxBSZf','setMemberCard','DelGroupFile','NodeIKernelGroupService/getGroupRecommendContactArkJson','modifyGroupName','handleGroupRequest','NodeIKernelGroupService/getSingleScreenNotifies','getRichMediaService','kickMember','getMemberExtInfo','arkJson','groupCode','12435pyLiPz','type','196884DJBkPI','CallNormalEvent','TITLETYPE','group','CYHQg','540byrDJz','getPSkey','396654hmpfyh','operateSysNotify','vfsPJ','getGroupIgnoreNotifies','errMsg','NodeIKernelGroupListener/onGroupListUpdate','setMemberShutUp','quitGroup','qun.qq.com','TTCKx','seq','112oJxlEW','setGroupName','setMemberRole','result','getGroupRecommendContactArkJson','getGroupService','createGroupFolder','oYAse','LwXqw','NodeIKernelGroupListener/onGroupSingleScreenNotifies','itXpc','session','获取群成员列表出错,','modifyMemberRole','ocCcd','banMember','getArkJsonGroupShare','CallNoListenerEvent','uploadGroupBulletinPic','getGroupRemainAtTimes','modifyMemberCardName','setGroupShutUp','1EjykVT','getGroupNotifies','deleteGroupFolder','getNextMemberList','1654744mwyTBH','infos','DelGroupFileFolder','createMemberListScene'];_0x182c=function(){return _0x1b8f86;};return _0x182c();}import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x348dac=![]){const _0xddfdde=_0xa20b,_0x49388a={'CYHQg':'NodeIKernelGroupService/getGroupList','PBpmD':_0xddfdde(0xc3)};let [_0x418d28,_0x350e39,_0x4c5dcd]=await NTEventDispatch[_0xddfdde(0xb8)](_0x49388a[_0xddfdde(0xbb)],_0x49388a['PBpmD'],0x1,0x1388,_0x348dac);return _0x4c5dcd;}static async['getGroupRecommendContactArkJson'](_0x2b963a){const _0x334e46=_0xa20b;return napCatCore[_0x334e46(0xd4)][_0x334e46(0xce)]()[_0x334e46(0xcd)](_0x2b963a);}static async['CreatGroupFileFolder'](_0x558d0d,_0x390e9b){const _0x4cd0c3=_0xa20b;return napCatCore[_0x4cd0c3(0xd4)][_0x4cd0c3(0xb0)]()[_0x4cd0c3(0xcf)](_0x558d0d,_0x390e9b);}static async[_0x5341ee(0xf0)](_0x11d600,_0x4a96c5){const _0x35ee1b=_0x5341ee;return napCatCore[_0x35ee1b(0xd4)][_0x35ee1b(0xb0)]()['deleteGroupFile'](_0x11d600,[0x66],_0x4a96c5);}static async[_0x5341ee(0xe5)](_0x32d14f,_0x3758f3){const _0x43f090=_0x5341ee;return napCatCore[_0x43f090(0xd4)][_0x43f090(0xb0)]()[_0x43f090(0xe1)](_0x32d14f,_0x3758f3);}static async['getSingleScreenNotifies'](_0xb3e97d){const _0x2480ae=_0x5341ee,_0x33e779={'TTCKx':_0x2480ae(0xd2)};let [_0x18f792,_0x172d4a,_0x2038ca,_0x4cd91b]=await NTEventDispatch['CallNormalEvent'](_0x2480ae(0xf4),_0x33e779[_0x2480ae(0xc7)],0x1,0x1388,![],'',_0xb3e97d);return _0x4cd91b;}static async['getGroupMembers'](_0x315755,_0x4b5947=0xbb8){const _0x40136e=_0x5341ee,_0x4b2760={'oYAse':_0x40136e(0xeb),'lqLop':function(_0x37adc4,_0x553024){return _0x37adc4!==_0x553024;},'ocCcd':function(_0x4c8b8e,_0x1bed64){return _0x4c8b8e+_0x1bed64;}},_0x1d968a=napCatCore[_0x40136e(0xd4)][_0x40136e(0xce)](),_0x6da85c=_0x1d968a[_0x40136e(0xe6)](_0x315755,_0x4b2760[_0x40136e(0xd0)]),_0x4ab68e=await _0x1d968a[_0x40136e(0xe2)](_0x6da85c,undefined,_0x4b5947);if(_0x4b2760['lqLop'](_0x4ab68e[_0x40136e(0xe8)],0x0))throw _0x4b2760[_0x40136e(0xd7)](_0x40136e(0xd5),_0x4ab68e[_0x40136e(0xc2)]);return _0x4ab68e[_0x40136e(0xcc)][_0x40136e(0xe4)];}static async[_0x5341ee(0xe0)](){}static async['GetGroupFileCount'](_0xeb7124){const _0x34fb43=_0x5341ee;return napCatCore['session'][_0x34fb43(0xb0)]()['batchGetGroupFileCount'](_0xeb7124);}static async[_0x5341ee(0xc1)](){}static async[_0x5341ee(0xd9)](_0x2fcf22){const _0x31dc56=_0x5341ee,_0x427870={'itXpc':_0x31dc56(0xf1)};let _0x49b00f=await NTEventDispatch[_0x31dc56(0xda)](_0x427870[_0x31dc56(0xd3)],0x1388,_0x2fcf22);return _0x49b00f[_0x31dc56(0xb3)];}static async[_0x5341ee(0xdb)](_0x5d7018,_0x175bc5){const _0x27f71a=_0x5341ee,_0x3aec73={'jeGeX':_0x27f71a(0xc6)},_0x50d447=(await NTQQUserApi['getPSkey']([_0x3aec73[_0x27f71a(0xed)]]))[_0x3aec73['jeGeX']];return napCatCore[_0x27f71a(0xd4)][_0x27f71a(0xce)]()['uploadGroupBulletinPic'](_0x5d7018,_0x50d447,_0x175bc5);}static async[_0x5341ee(0xf3)](_0x453207,_0x169761,_0x353529){const _0x5081be=_0x5341ee,_0x54fdc2={'vfsPJ':function(_0x3ab43d,_0x4f43c3){return _0x3ab43d||_0x4f43c3;}};return napCatCore[_0x5081be(0xd4)]['getGroupService']()[_0x5081be(0xbf)](![],{'operateType':_0x169761,'targetMsg':{'seq':_0x453207[_0x5081be(0xc8)],'type':_0x453207[_0x5081be(0xb6)],'groupCode':_0x453207[_0x5081be(0xba)][_0x5081be(0xb4)],'postscript':_0x54fdc2[_0x5081be(0xc0)](_0x353529,'')}});}static async[_0x5341ee(0xc5)](_0x4710ab){const _0x1841f0=_0x5341ee;return napCatCore['session'][_0x1841f0(0xce)]()[_0x1841f0(0xc5)](_0x4710ab);}static async[_0x5341ee(0xb1)](_0x74134,_0x4bed4d,_0x1b19d6=![],_0x5b2a86=''){const _0x318b0c=_0x5341ee;return napCatCore['session'][_0x318b0c(0xce)]()['kickMember'](_0x74134,_0x4bed4d,_0x1b19d6,_0x5b2a86);}static async[_0x5341ee(0xd8)](_0x43aed7,_0x18634c){const _0x44cbf6=_0x5341ee;return napCatCore[_0x44cbf6(0xd4)][_0x44cbf6(0xce)]()[_0x44cbf6(0xc4)](_0x43aed7,_0x18634c);}static async['banGroup'](_0x1f0a98,_0x1eeb16){const _0x34a9f1=_0x5341ee;return napCatCore[_0x34a9f1(0xd4)][_0x34a9f1(0xce)]()[_0x34a9f1(0xde)](_0x1f0a98,_0x1eeb16);}static async[_0x5341ee(0xef)](_0x4cce34,_0x545f93,_0x87fda2){const _0x5c8975=_0x5341ee;return napCatCore[_0x5c8975(0xd4)][_0x5c8975(0xce)]()[_0x5c8975(0xdd)](_0x4cce34,_0x545f93,_0x87fda2);}static async[_0x5341ee(0xcb)](_0x2ba7b7,_0x35bb5d,_0xeb0cfa){const _0xd7e851=_0x5341ee;return napCatCore[_0xd7e851(0xd4)][_0xd7e851(0xce)]()[_0xd7e851(0xd6)](_0x2ba7b7,_0x35bb5d,_0xeb0cfa);}static async[_0x5341ee(0xca)](_0x3e8203,_0x4f43f4){const _0x3d4ecf=_0x5341ee;return napCatCore[_0x3d4ecf(0xd4)][_0x3d4ecf(0xce)]()[_0x3d4ecf(0xf2)](_0x3e8203,_0x4f43f4,![]);}static async['setGroupTitle'](_0x46ff32,_0x411d55,_0x2e2ac5){}static async[_0x5341ee(0xec)](_0x3404ae,_0x356d4e,_0xe31609=undefined,_0x514e00=0x0,_0xd90fcd=0x0){const _0x28e1ba=_0x5341ee,_0x100cfb={'LwXqw':'qun.qq.com','IapoU':function(_0x5ae086,_0x109d31){return _0x5ae086(_0x109d31);}},_0x501f31=(await NTQQUserApi[_0x28e1ba(0xbd)]([_0x100cfb[_0x28e1ba(0xd1)]]))[_0x100cfb[_0x28e1ba(0xd1)]];let _0x1f328b={'text':_0x100cfb['IapoU'](encodeURI,_0x356d4e),'picInfo':_0xe31609,'oldFeedsId':'','pinned':_0x514e00,'confirmRequired':_0xd90fcd};return napCatCore['session'][_0x28e1ba(0xce)]()[_0x28e1ba(0xec)](_0x3404ae,_0x501f31,_0x1f328b);}static async['getGroupRemainAtTimes'](_0x2bb236){const _0x266ba0=_0x5341ee;napCatCore['session']['getGroupService']()[_0x266ba0(0xdc)](_0x2bb236);}static async[_0x5341ee(0xb2)](_0x5a4777,_0x35bb9b){const _0x387a3f=_0x5341ee;return napCatCore[_0x387a3f(0xd4)][_0x387a3f(0xce)]()[_0x387a3f(0xb2)]({'groupCode':_0x5a4777,'sourceType':MemberExtSourceType[_0x387a3f(0xb9)],'beginUin':'0','dataTime':'0','uinList':[_0x35bb9b],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 327fd7d5..df9c9dc4 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0xbbd8f3,_0x289d53){var _0x439079=_0xd9fa,_0x4fce38=_0xbbd8f3();while(!![]){try{var _0x1e030f=-parseInt(_0x439079(0xea))/0x1*(-parseInt(_0x439079(0xeb))/0x2)+-parseInt(_0x439079(0xe6))/0x3+-parseInt(_0x439079(0xee))/0x4+-parseInt(_0x439079(0xe5))/0x5*(-parseInt(_0x439079(0xe9))/0x6)+parseInt(_0x439079(0xe7))/0x7*(-parseInt(_0x439079(0xe4))/0x8)+parseInt(_0x439079(0xed))/0x9*(-parseInt(_0x439079(0xec))/0xa)+-parseInt(_0x439079(0xe8))/0xb;if(_0x1e030f===_0x289d53)break;else _0x4fce38['push'](_0x4fce38['shift']());}catch(_0x17d728){_0x4fce38['push'](_0x4fce38['shift']());}}}(_0xad8d,0x9e890));export*from'./file';export*from'./friend';function _0xad8d(){var _0x44de3f=['663111jVmUpR','1279588ttrcct','665744ZpGGuS','3172335JciHUa','1914258inlLlI','35diurnl','1244804ogAozF','12pblUWD','1015021nHFNLT','2lZwcnX','20KHZQAM'];_0xad8d=function(){return _0x44de3f;};return _0xad8d();}export*from'./group';function _0xd9fa(_0x3181ba,_0x24cc98){var _0xad8d4a=_0xad8d();return _0xd9fa=function(_0xd9fa84,_0x28d717){_0xd9fa84=_0xd9fa84-0xe4;var _0x266ec1=_0xad8d4a[_0xd9fa84];return _0x266ec1;},_0xd9fa(_0x3181ba,_0x24cc98);}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x1cbddc,_0x590de3){var _0x68e0d5=_0x4b49,_0x4b8aee=_0x1cbddc();while(!![]){try{var _0x1b5afd=-parseInt(_0x68e0d5(0x1d5))/0x1*(parseInt(_0x68e0d5(0x1d3))/0x2)+parseInt(_0x68e0d5(0x1d4))/0x3+-parseInt(_0x68e0d5(0x1da))/0x4*(parseInt(_0x68e0d5(0x1d8))/0x5)+parseInt(_0x68e0d5(0x1d7))/0x6+parseInt(_0x68e0d5(0x1d9))/0x7+-parseInt(_0x68e0d5(0x1d6))/0x8+parseInt(_0x68e0d5(0x1db))/0x9;if(_0x1b5afd===_0x590de3)break;else _0x4b8aee['push'](_0x4b8aee['shift']());}catch(_0x29807e){_0x4b8aee['push'](_0x4b8aee['shift']());}}}(_0x3215,0x82bea));export*from'./file';function _0x4b49(_0x19865a,_0xdb1188){var _0x3215e1=_0x3215();return _0x4b49=function(_0x4b4913,_0x5acb79){_0x4b4913=_0x4b4913-0x1d3;var _0x5faede=_0x3215e1[_0x4b4913];return _0x5faede;},_0x4b49(_0x19865a,_0xdb1188);}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x3215(){var _0x2fbf37=['9408312sGSrEc','26XIJhMD','1626636oMZwGW','71959foJKOd','8126280vfDvrU','3862014hZwPOx','30YqHcLB','7197365bohcMc','515108dpbXXZ'];_0x3215=function(){return _0x2fbf37;};return _0x3215();}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 b6ad300d..a9c2d457 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x3d1541=_0x4921;(function(_0x1d6f6e,_0x373bb9){const _0xd7f087=_0x4921,_0xbcd50c=_0x1d6f6e();while(!![]){try{const _0x5e5171=parseInt(_0xd7f087(0x117))/0x1*(-parseInt(_0xd7f087(0x123))/0x2)+-parseInt(_0xd7f087(0x147))/0x3+parseInt(_0xd7f087(0x129))/0x4+parseInt(_0xd7f087(0x11b))/0x5*(parseInt(_0xd7f087(0x119))/0x6)+-parseInt(_0xd7f087(0x113))/0x7+-parseInt(_0xd7f087(0x13d))/0x8+parseInt(_0xd7f087(0x120))/0x9;if(_0x5e5171===_0x373bb9)break;else _0xbcd50c['push'](_0xbcd50c['shift']());}catch(_0x50de17){_0xbcd50c['push'](_0xbcd50c['shift']());}}}(_0x46b6,0x2ed35));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();function _0x46b6(){const _0x3006d7=['tYLhu','转发消息超时','bYkVt','parse','activateChatAndGetHistory','getMsgHistory','getMsgsByMsgId','length','sendMsg','SHySO','session','2155024waXNIr','forwardMsg','vnNex','rchiu','onGroupFileInfoUpdate','mrRVB','delete','activateChat','FeAYX','sendStatus','772521XQRBxs','ntsZw','app','multiForwardMsg','msgId','getMsgService','onAddSendMsg','arkElement','uid','com.tencent.multimsg','vnGDg','获取群文件列表超时','dQiLl','bytesData','forEach','catch','map','senderUid','发送超时','peerUid','1678411gNnvZt','recallMsg','onLoginSuccess','wqgdr','1PqoKjn','gmtTr','494958wTrlha','Kyvdv','15eZEuTz','nick','setEmojiLike','ukvxY','QOjfw','7756389Peassv','multiForwardMsgWithComment','elements','724606pLWUgk','Milox','set','then','ygPkW','oxVlT','845832kDKFIH','getMultiMsg','fetchRecentContact','Vxoch','setMsgRead','setMsgEmojiLikes','getGroupFileList','xVmAi','aWLHn'];_0x46b6=function(){return _0x3006d7;};return _0x46b6();}function _0x4921(_0x5e3e79,_0x4ee62b){const _0x46b6c5=_0x46b6();return _0x4921=function(_0x492137,_0xdc01d6){_0x492137=_0x492137-0x10a;let _0x341880=_0x46b6c5[_0x492137];return _0x341880;},_0x4921(_0x5e3e79,_0x4ee62b);}msgListener[_0x3d1541(0x141)]=_0x597190=>{const _0x39d5e3=_0x3d1541;for(const [_0x2566f3,_0x2340eb]of GroupFileInfoUpdateTasks){_0x2340eb(_0x597190),GroupFileInfoUpdateTasks[_0x39d5e3(0x143)](_0x2566f3);}},msgListener[_0x3d1541(0x14d)]=_0x42160e=>{const _0x2e6b1a=_0x3d1541,_0x337218={'vnNex':function(_0x165a74,_0x5b44bf){return _0x165a74(_0x5b44bf);},'ukvxY':function(_0x3be8f9,_0x11a3fb){return _0x3be8f9 instanceof _0x11a3fb;}};for(const [_0x3484af,_0x5964b0]of sentMsgTasks){_0x337218[_0x2e6b1a(0x13f)](_0x5964b0,_0x42160e),sentMsgTasks[_0x2e6b1a(0x143)](_0x3484af);}if(sendMessagePool[_0x42160e[_0x2e6b1a(0x112)]]){const _0x4b6172=sendMessagePool[_0x42160e[_0x2e6b1a(0x112)]]?.(_0x42160e);_0x337218[_0x2e6b1a(0x11e)](_0x4b6172,Promise)&&_0x4b6172[_0x2e6b1a(0x126)]()[_0x2e6b1a(0x10e)](logError);}},msgListener['onMsgInfoListUpdate']=_0x5f01b5=>{const _0x1d21e9=_0x3d1541,_0x1a3e5f={'QOjfw':function(_0x263b42,_0x2d3b62){return _0x263b42(_0x2d3b62);},'xVmAi':function(_0x2817a3,_0x5473b6){return _0x2817a3 instanceof _0x5473b6;},'SHySO':function(_0x592ada,_0x26b40a){return _0x592ada(_0x26b40a);}};_0x5f01b5[_0x1d21e9(0x10d)](_0x31dbb3=>{const _0x1b33c1=_0x1d21e9;new Promise((_0x30de5e,_0x5b61a2)=>{const _0x156074=_0x4921;for(const _0x226ba0 in sendSuccessCBMap){const _0x47a2d0=sendSuccessCBMap[_0x226ba0],_0x18d314=_0x1a3e5f[_0x156074(0x11f)](_0x47a2d0,_0x31dbb3),_0x8d1dd2=_0x4faacc=>{_0x4faacc&&delete sendSuccessCBMap[_0x226ba0];};_0x1a3e5f[_0x156074(0x130)](_0x18d314,Promise)?_0x18d314['then'](_0x8d1dd2):_0x1a3e5f[_0x156074(0x13b)](_0x8d1dd2,_0x18d314);}})[_0x1b33c1(0x126)]()[_0x1b33c1(0x10e)](log);});},setTimeout(()=>{const _0x1467cd=_0x3d1541;napCatCore[_0x1467cd(0x115)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x3d1541(0x11d)](_0x19206c,_0x1c503e,_0x2eb15e,_0x523a96=!![]){const _0xec7222=_0x3d1541,_0x414d53={'Milox':function(_0x5b4e98,_0x49e6a2){return _0x5b4e98>_0x49e6a2;}};return _0x2eb15e=_0x2eb15e['toString'](),napCatCore[_0xec7222(0x13c)]['getMsgService']()[_0xec7222(0x12e)](_0x19206c,_0x1c503e,_0x2eb15e,_0x414d53[_0xec7222(0x124)](_0x2eb15e[_0xec7222(0x139)],0x3)?'2':'1',_0x523a96);}static async[_0x3d1541(0x12a)](_0x283b9d,_0x5084ef,_0x252978){const _0x459082=_0x3d1541;return napCatCore[_0x459082(0x13c)]['getMsgService']()['getMultiMsg'](_0x283b9d,_0x5084ef,_0x252978);}static async[_0x3d1541(0x138)](_0x16bf75,_0x3bf903){const _0x103f99=_0x3d1541;return await napCatCore['session'][_0x103f99(0x14c)]()['getMsgsByMsgId'](_0x16bf75,_0x3bf903);}static async['getMsgsBySeqAndCount'](_0x47b512,_0x5248cd,_0x559d4c,_0x3ab1d9,_0x4c293d){const _0x32db53=_0x3d1541;return await napCatCore[_0x32db53(0x13c)]['getMsgService']()['getMsgsBySeqAndCount'](_0x47b512,_0x5248cd,_0x559d4c,_0x3ab1d9,_0x4c293d);}static async[_0x3d1541(0x144)](_0x47131e){}static async[_0x3d1541(0x136)](_0x621b75){}static async[_0x3d1541(0x12d)](_0x1e0637){const _0x266aaf=_0x3d1541;return napCatCore[_0x266aaf(0x13c)][_0x266aaf(0x14c)]()['setMsgRead'](_0x1e0637);}static async['getGroupFileList'](_0x11a670,_0x30d3ca){const _0x3e7576=_0x3d1541,_0x3493dd={'rchiu':function(_0x37092d,_0x1260be){return _0x37092d(_0x1260be);},'oxVlT':_0x3e7576(0x10a),'bYkVt':function(_0x58ccb6,_0x2f3a4b,_0x1766c1){return _0x58ccb6(_0x2f3a4b,_0x1766c1);},'Kyvdv':function(_0xf63802){return _0xf63802();}};return new Promise(async(_0xe41731,_0x40300d)=>{const _0x44b9b9=_0x3e7576;let _0x2a6bb=![];_0x3493dd[_0x44b9b9(0x134)](setTimeout,()=>{const _0x3c0537=_0x44b9b9;!_0x2a6bb&&_0x3493dd[_0x3c0537(0x140)](_0x40300d,_0x3493dd[_0x3c0537(0x128)]);},0x1388);const _0x1dfccf=_0x57c278=>{const _0x158c3f=_0x44b9b9;_0x2a6bb=!![],_0x3493dd[_0x158c3f(0x140)](_0xe41731,_0x57c278['item']);};GroupFileInfoUpdateTasks[_0x44b9b9(0x125)](_0x3493dd[_0x44b9b9(0x11a)](randomUUID),_0x1dfccf),await napCatCore[_0x44b9b9(0x13c)]['getRichMediaService']()[_0x44b9b9(0x12f)](_0x11a670,_0x30d3ca);});}static async[_0x3d1541(0x137)](_0x2b6214,_0x202b2e,_0x3ac1e9){const _0x531103=_0x3d1541;return napCatCore[_0x531103(0x13c)][_0x531103(0x14c)]()['getMsgsIncludeSelf'](_0x2b6214,_0x202b2e,_0x3ac1e9,!![]);}static async[_0x3d1541(0x12b)](){}static async[_0x3d1541(0x114)](_0x2b74b4,_0x55886a){const _0x55dc2a=_0x3d1541;await napCatCore[_0x55dc2a(0x13c)][_0x55dc2a(0x14c)]()['recallMsg']({'chatType':_0x2b74b4['chatType'],'peerUid':_0x2b74b4['peerUid']},_0x55886a);}static async['sendMsg'](_0x4aac21,_0xc81c03,_0x50f657=!![],_0x5b3a9e=0x2710){const _0x218c82=_0x3d1541,_0x1b2bba={'gmtTr':function(_0x5d7333,_0x18e8fd){return _0x5d7333>_0x18e8fd;},'FeAYX':_0x218c82(0x111),'vnGDg':function(_0x3c2d7d,_0x1f6d4f){return _0x3c2d7d(_0x1f6d4f);},'anOii':function(_0x12b17b,_0x5931af){return _0x12b17b===_0x5931af;},'wqgdr':function(_0x7f73e8){return _0x7f73e8();},'mrRVB':function(_0x2d992b,_0x2063f2,_0x245aa6){return _0x2d992b(_0x2063f2,_0x245aa6);}},_0x2d2f61=_0x4aac21[_0x218c82(0x112)];let _0x561653=0x0;const _0x4d7777=async()=>{const _0x48980e=_0x218c82;if(_0x1b2bba[_0x48980e(0x118)](_0x561653,_0x5b3a9e))throw _0x1b2bba[_0x48980e(0x145)];const _0x250f8f=sendMessagePool[_0x4aac21['peerUid']];if(_0x250f8f)return await _0x1b2bba['vnGDg'](sleep,0x1f4),_0x561653+=0x1f4,await _0x4d7777();else return;};return await _0x1b2bba[_0x218c82(0x116)](_0x4d7777),new Promise((_0x1bf98d,_0x40f693)=>{const _0x57fe1b=_0x218c82;let _0x252e02=![],_0x3e3f9e=null;const _0x5e5d36=_0x1b2bba[_0x57fe1b(0x116)](randomUUID);sendSuccessCBMap[_0x5e5d36]=_0x4e3036=>{const _0x46f6e8=_0x57fe1b;if(_0x1b2bba['anOii'](_0x4e3036[_0x46f6e8(0x14b)],_0x3e3f9e?.['msgId'])){if(_0x4e3036[_0x46f6e8(0x146)]===0x2)return delete sendSuccessCBMap[_0x5e5d36],_0x252e02=!![],_0x1b2bba[_0x46f6e8(0x151)](_0x1bf98d,_0x4e3036),!![];return![];}return![];},sendMessagePool[_0x2d2f61]=async _0x47733c=>{delete sendMessagePool[_0x2d2f61],_0x3e3f9e=_0x47733c;},_0x1b2bba[_0x57fe1b(0x142)](setTimeout,()=>{const _0x411c87=_0x57fe1b;if(_0x252e02)return;delete sendMessagePool[_0x2d2f61],delete sendSuccessCBMap[_0x5e5d36],_0x1b2bba[_0x411c87(0x151)](_0x40f693,_0x411c87(0x111));},_0x5b3a9e);const _0x3d8551=napCatCore['session']['getMsgService']()[_0x57fe1b(0x13a)]('0',_0x4aac21,_0xc81c03,new Map());});}static async['forwardMsg'](_0x2c9be2,_0x5d8bac,_0x253731){const _0x590e33=_0x3d1541;return napCatCore[_0x590e33(0x13c)][_0x590e33(0x14c)]()[_0x590e33(0x13e)](_0x253731,_0x2c9be2,[_0x5d8bac],new Map());}static async[_0x3d1541(0x14a)](_0x2e68f2,_0xf62f94,_0xea18ab){const _0x557fa9=_0x3d1541,_0x1043a8={'RuXfV':function(_0x405591,_0x5eb9c4){return _0x405591!=_0x5eb9c4;},'aWLHn':_0x557fa9(0x150),'ntsZw':function(_0x3758e1,_0x8b18e5){return _0x3758e1==_0x8b18e5;},'tYLhu':function(_0xa59eb5,_0x173e3b){return _0xa59eb5(_0x173e3b);},'dQiLl':function(_0x5e1b5b,_0x28f75f){return _0x5e1b5b(_0x28f75f);},'ygPkW':function(_0x20b6c){return _0x20b6c();},'Vxoch':function(_0x88e298,_0x26d5c4,_0x12e402){return _0x88e298(_0x26d5c4,_0x12e402);}},_0x4a7085=_0xea18ab[_0x557fa9(0x10f)](_0x47878e=>{const _0xc3e8e9=_0x557fa9;return{'msgId':_0x47878e,'senderShowName':selfInfo[_0xc3e8e9(0x11c)]};});return new Promise((_0x590201,_0x2df969)=>{const _0x2a51d6=_0x557fa9;let _0x415f15=![];const _0x1d70e8=_0xf7dfff=>{const _0x399f4e=_0x4921,_0x142905=_0xf7dfff[_0x399f4e(0x122)]['find'](_0x2ddd2b=>_0x2ddd2b[_0x399f4e(0x14e)]);if(!_0x142905)return;const _0x599eb7=JSON[_0x399f4e(0x135)](_0x142905['arkElement'][_0x399f4e(0x10c)]);if(_0x1043a8['RuXfV'](_0x599eb7[_0x399f4e(0x149)],_0x1043a8[_0x399f4e(0x131)]))return;_0xf7dfff[_0x399f4e(0x112)]==_0xf62f94[_0x399f4e(0x112)]&&_0x1043a8[_0x399f4e(0x148)](_0xf7dfff[_0x399f4e(0x110)],selfInfo[_0x399f4e(0x14f)])&&(_0x415f15=!![],_0x1043a8[_0x399f4e(0x132)](_0x590201,_0xf7dfff));};sentMsgTasks[_0x2a51d6(0x125)](_0x1043a8[_0x2a51d6(0x127)](randomUUID),_0x1d70e8),_0x1043a8[_0x2a51d6(0x12c)](setTimeout,()=>{const _0x31b903=_0x2a51d6;!_0x415f15&&_0x1043a8[_0x31b903(0x10b)](_0x2df969,_0x31b903(0x133));},0x1388),napCatCore[_0x2a51d6(0x13c)]['getMsgService']()[_0x2a51d6(0x121)](_0x4a7085,_0x2e68f2,_0xf62f94,[],new Map());});}} \ No newline at end of file +function _0x301f(){const _0x27addb=['49bmXhjo','9xCBJOP','arkElement','Jvesn','then','activateChatAndGetHistory','66909mzGgYP','84839sQEUfe','Qjpyk','1608284jUmTCZ','getMsgsBySeqAndCount','oRxRv','multiForwardMsgWithComment','activateChat','onLoginSuccess','bytesData','XSQCC','7177730SkuDSX','hhNNr','getMultiMsg','map','getMsgsIncludeSelf','dVoIM','onMsgInfoListUpdate','delete','转发消息超时','eMLeO','session','881056FAlQvI','bylMR','tkgEj','getMsgsByMsgId','10ttoQQd','setMsgRead','UzOri','sendMsg','find','ZFjhw','cJCVr','177726atGWtN','multiForwardMsg','nick','onGroupFileInfoUpdate','WPYfP','qVpBb','chatType','toString','dgayJ','1756165dgQRjp','发送超时','msgId','peerUid','xhaxu','set','item','getMsgService','forEach','cogQg','setEmojiLike','VzieP','setMsgEmojiLikes','getGroupFileList','ejIaV','REJVJ','forwardMsg','catch','recallMsg'];_0x301f=function(){return _0x27addb;};return _0x301f();}const _0x1efd8e=_0x5759;function _0x5759(_0x347d02,_0x56a437){const _0x301fea=_0x301f();return _0x5759=function(_0x575901,_0x53ef7b){_0x575901=_0x575901-0xd9;let _0x34e487=_0x301fea[_0x575901];return _0x34e487;},_0x5759(_0x347d02,_0x56a437);}(function(_0xcbf1e1,_0x2a986e){const _0x5503a5=_0x5759,_0x12b305=_0xcbf1e1();while(!![]){try{const _0x16b63d=-parseInt(_0x5503a5(0xe0))/0x1*(-parseInt(_0x5503a5(0xf9))/0x2)+-parseInt(_0x5503a5(0xdf))/0x3+-parseInt(_0x5503a5(0xe2))/0x4+-parseInt(_0x5503a5(0x109))/0x5+parseInt(_0x5503a5(0x100))/0x6*(-parseInt(_0x5503a5(0xd9))/0x7)+parseInt(_0x5503a5(0xf5))/0x8+-parseInt(_0x5503a5(0xda))/0x9*(-parseInt(_0x5503a5(0xea))/0xa);if(_0x16b63d===_0x2a986e)break;else _0x12b305['push'](_0x12b305['shift']());}catch(_0x108e2b){_0x12b305['push'](_0x12b305['shift']());}}}(_0x301f,0x41b5a));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x1efd8e(0x103)]=_0x24954c=>{const _0x491278=_0x1efd8e,_0x1bde53={'iYOGW':function(_0x35e0e5,_0xf747ea){return _0x35e0e5(_0xf747ea);}};for(const [_0x1825cd,_0x2dee65]of GroupFileInfoUpdateTasks){_0x1bde53['iYOGW'](_0x2dee65,_0x24954c),GroupFileInfoUpdateTasks[_0x491278(0xf1)](_0x1825cd);}},msgListener['onAddSendMsg']=_0x526c93=>{const _0xac65b3=_0x1efd8e,_0x40d90b={'REJVJ':function(_0x47309f,_0x3d3228){return _0x47309f(_0x3d3228);},'vHLwa':function(_0x4c5232,_0x4c69cf){return _0x4c5232 instanceof _0x4c69cf;}};for(const [_0x101425,_0x4b029d]of sentMsgTasks){_0x40d90b[_0xac65b3(0x118)](_0x4b029d,_0x526c93),sentMsgTasks[_0xac65b3(0xf1)](_0x101425);}if(sendMessagePool[_0x526c93[_0xac65b3(0x10c)]]){const _0x1dd476=sendMessagePool[_0x526c93[_0xac65b3(0x10c)]]?.(_0x526c93);_0x40d90b['vHLwa'](_0x1dd476,Promise)&&_0x1dd476[_0xac65b3(0xdd)]()[_0xac65b3(0x11a)](logError);}},msgListener[_0x1efd8e(0xf0)]=_0x596adf=>{const _0x48413b=_0x1efd8e,_0x31c662={'KiRGl':function(_0x3ac0f2,_0x3f2b64){return _0x3ac0f2(_0x3f2b64);}};_0x596adf[_0x48413b(0x111)](_0x1d20b0=>{const _0x475269=_0x48413b;new Promise((_0x3db1dc,_0x4489e6)=>{const _0x474042=_0x5759;for(const _0x17e63b in sendSuccessCBMap){const _0x488671=sendSuccessCBMap[_0x17e63b],_0x12f8c2=_0x31c662['KiRGl'](_0x488671,_0x1d20b0),_0x567c0e=_0x154f4e=>{_0x154f4e&&delete sendSuccessCBMap[_0x17e63b];};_0x12f8c2 instanceof Promise?_0x12f8c2[_0x474042(0xdd)](_0x567c0e):_0x31c662['KiRGl'](_0x567c0e,_0x12f8c2);}})[_0x475269(0xdd)]()['catch'](log);});},setTimeout(()=>{const _0x2c1e11=_0x1efd8e;napCatCore[_0x2c1e11(0xe7)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x1efd8e(0x113)](_0xbcdcac,_0x502e87,_0xdd5f75,_0x14ae19=!![]){const _0x1009de=_0x1efd8e,_0x2ff541={'tOmbQ':function(_0x5a7425,_0x404bac){return _0x5a7425>_0x404bac;}};return _0xdd5f75=_0xdd5f75[_0x1009de(0x107)](),napCatCore[_0x1009de(0xf4)][_0x1009de(0x110)]()[_0x1009de(0x115)](_0xbcdcac,_0x502e87,_0xdd5f75,_0x2ff541['tOmbQ'](_0xdd5f75['length'],0x3)?'2':'1',_0x14ae19);}static async[_0x1efd8e(0xec)](_0x5a807c,_0x109cb5,_0x12e25a){const _0x42cf6b=_0x1efd8e;return napCatCore[_0x42cf6b(0xf4)][_0x42cf6b(0x110)]()['getMultiMsg'](_0x5a807c,_0x109cb5,_0x12e25a);}static async[_0x1efd8e(0xf8)](_0x25e254,_0x444c97){const _0x61cbda=_0x1efd8e;return await napCatCore[_0x61cbda(0xf4)]['getMsgService']()['getMsgsByMsgId'](_0x25e254,_0x444c97);}static async['getMsgsBySeqAndCount'](_0x502abd,_0x4186d4,_0x415a60,_0xa01768,_0x5b5e7c){const _0x2f5f12=_0x1efd8e;return await napCatCore[_0x2f5f12(0xf4)][_0x2f5f12(0x110)]()[_0x2f5f12(0xe3)](_0x502abd,_0x4186d4,_0x415a60,_0xa01768,_0x5b5e7c);}static async[_0x1efd8e(0xe6)](_0x12944c){}static async[_0x1efd8e(0xde)](_0x215c4d){}static async[_0x1efd8e(0xfa)](_0x4ad6a9){const _0x55e896=_0x1efd8e;return napCatCore[_0x55e896(0xf4)][_0x55e896(0x110)]()[_0x55e896(0xfa)](_0x4ad6a9);}static async[_0x1efd8e(0x116)](_0x3874e1,_0x409c3d){const _0x7082ed={'Jvesn':'获取群文件列表超时','XSQCC':function(_0xc1507d,_0x560c4c,_0x16d257){return _0xc1507d(_0x560c4c,_0x16d257);}};return new Promise(async(_0x1843c5,_0x528924)=>{const _0x2db4a6=_0x5759,_0x140dc7={'dgayJ':_0x7082ed[_0x2db4a6(0xdc)]};let _0x41ebbc=![];_0x7082ed[_0x2db4a6(0xe9)](setTimeout,()=>{const _0x3a68e5=_0x2db4a6;!_0x41ebbc&&_0x528924(_0x140dc7[_0x3a68e5(0x108)]);},0x1388);const _0x9d667=_0x232078=>{const _0xf2c549=_0x2db4a6;_0x41ebbc=!![],_0x1843c5(_0x232078[_0xf2c549(0x10f)]);};GroupFileInfoUpdateTasks[_0x2db4a6(0x10e)](randomUUID(),_0x9d667),await napCatCore[_0x2db4a6(0xf4)]['getRichMediaService']()[_0x2db4a6(0x116)](_0x3874e1,_0x409c3d);});}static async['getMsgHistory'](_0xb13860,_0x1c98e6,_0x2d449b){const _0x1b9841=_0x1efd8e;return napCatCore[_0x1b9841(0xf4)][_0x1b9841(0x110)]()[_0x1b9841(0xee)](_0xb13860,_0x1c98e6,_0x2d449b,!![]);}static async['fetchRecentContact'](){}static async[_0x1efd8e(0x11b)](_0x1079da,_0x575048){const _0x5b7a57=_0x1efd8e;await napCatCore[_0x5b7a57(0xf4)]['getMsgService']()['recallMsg']({'chatType':_0x1079da[_0x5b7a57(0x106)],'peerUid':_0x1079da['peerUid']},_0x575048);}static async[_0x1efd8e(0xfc)](_0x4a3bd8,_0x40a4c6,_0x357ad8=!![],_0x2e91a9=0x2710){const _0x5d4269=_0x1efd8e,_0x102315={'WPYfP':function(_0x575b1b,_0x262e31){return _0x575b1b>_0x262e31;},'hhNNr':_0x5d4269(0x10a),'xhaxu':function(_0x1cab0a){return _0x1cab0a();},'tkgEj':function(_0xe14d8c,_0x4ff138,_0x1b6b1f){return _0xe14d8c(_0x4ff138,_0x1b6b1f);},'ZFjhw':function(_0x4af5d5){return _0x4af5d5();}},_0x5a32e4=_0x4a3bd8[_0x5d4269(0x10c)];let _0x5141c5=0x0;const _0x51088c=async()=>{const _0x4054d1=_0x5d4269;if(_0x102315[_0x4054d1(0x104)](_0x5141c5,_0x2e91a9))throw _0x102315[_0x4054d1(0xeb)];const _0x221e95=sendMessagePool[_0x4a3bd8[_0x4054d1(0x10c)]];if(_0x221e95)return await sleep(0x1f4),_0x5141c5+=0x1f4,await _0x51088c();else return;};return await _0x102315[_0x5d4269(0xfe)](_0x51088c),new Promise((_0x25224a,_0x4bd4c9)=>{const _0x4fb2e8=_0x5d4269,_0x11a3cb={'qVpBb':function(_0x19bf0c,_0x34a444){return _0x19bf0c(_0x34a444);}};let _0x3eda7f=![],_0x15e179=null;const _0x1019af=_0x102315[_0x4fb2e8(0x10d)](randomUUID);sendSuccessCBMap[_0x1019af]=_0x3e0044=>{const _0x282113=_0x4fb2e8;if(_0x3e0044[_0x282113(0x10b)]===_0x15e179?.[_0x282113(0x10b)]){if(_0x3e0044['sendStatus']===0x2)return delete sendSuccessCBMap[_0x1019af],_0x3eda7f=!![],_0x11a3cb['qVpBb'](_0x25224a,_0x3e0044),!![];return![];}return![];},sendMessagePool[_0x5a32e4]=async _0x3aa644=>{delete sendMessagePool[_0x5a32e4],_0x15e179=_0x3aa644;},_0x102315[_0x4fb2e8(0xf7)](setTimeout,()=>{const _0x37c2d4=_0x4fb2e8;if(_0x3eda7f)return;delete sendMessagePool[_0x5a32e4],delete sendSuccessCBMap[_0x1019af],_0x11a3cb[_0x37c2d4(0x105)](_0x4bd4c9,'发送超时');},_0x2e91a9);const _0xd3d5ee=napCatCore[_0x4fb2e8(0xf4)]['getMsgService']()[_0x4fb2e8(0xfc)]('0',_0x4a3bd8,_0x40a4c6,new Map());});}static async['forwardMsg'](_0x59ca08,_0x5bd764,_0x2b06a9){const _0x1cb0e4=_0x1efd8e;return napCatCore[_0x1cb0e4(0xf4)][_0x1cb0e4(0x110)]()[_0x1cb0e4(0x119)](_0x2b06a9,_0x59ca08,[_0x5bd764],new Map());}static async[_0x1efd8e(0x101)](_0x5b1eba,_0x41925f,_0x98fd84){const _0x55ebaa=_0x1efd8e,_0x5440e1={'UzOri':function(_0x263bee,_0x463754){return _0x263bee(_0x463754);},'htoti':function(_0x16dfa1,_0x144900){return _0x16dfa1!=_0x144900;},'dVoIM':'com.tencent.multimsg','cogQg':function(_0x118b5e,_0x483b1d){return _0x118b5e==_0x483b1d;},'ejIaV':function(_0x8fefa,_0x3a6a63){return _0x8fefa==_0x3a6a63;},'VzieP':function(_0x204d03,_0x3efe46){return _0x204d03(_0x3efe46);},'eMLeO':function(_0x1ad044){return _0x1ad044();}},_0x411f3f=_0x98fd84[_0x55ebaa(0xed)](_0x138dfc=>{const _0xd8d6e1=_0x55ebaa;return{'msgId':_0x138dfc,'senderShowName':selfInfo[_0xd8d6e1(0x102)]};});return new Promise((_0x151df0,_0x7034d7)=>{const _0x25d734=_0x55ebaa,_0x1b5a9d={'cJCVr':function(_0x4c69e9,_0xc9a4fd){return _0x5440e1['htoti'](_0x4c69e9,_0xc9a4fd);},'Qjpyk':_0x5440e1[_0x25d734(0xef)],'bylMR':function(_0x299834,_0x31b4aa){const _0x219f41=_0x25d734;return _0x5440e1[_0x219f41(0x112)](_0x299834,_0x31b4aa);},'oRxRv':function(_0x3eb4df,_0x5d7b21){const _0x4292f3=_0x25d734;return _0x5440e1[_0x4292f3(0x117)](_0x3eb4df,_0x5d7b21);},'vcFhl':function(_0x54b5c0,_0x44386c){const _0x200a49=_0x25d734;return _0x5440e1[_0x200a49(0x114)](_0x54b5c0,_0x44386c);}};let _0x220d54=![];const _0x4606a6=_0x23efe2=>{const _0x30cacc=_0x25d734,_0x10586c=_0x23efe2['elements'][_0x30cacc(0xfd)](_0x2ce77d=>_0x2ce77d[_0x30cacc(0xdb)]);if(!_0x10586c)return;const _0x41f4a5=JSON['parse'](_0x10586c[_0x30cacc(0xdb)][_0x30cacc(0xe8)]);if(_0x1b5a9d[_0x30cacc(0xff)](_0x41f4a5['app'],_0x1b5a9d[_0x30cacc(0xe1)]))return;_0x1b5a9d[_0x30cacc(0xf6)](_0x23efe2['peerUid'],_0x41925f[_0x30cacc(0x10c)])&&_0x1b5a9d[_0x30cacc(0xe4)](_0x23efe2['senderUid'],selfInfo['uid'])&&(_0x220d54=!![],_0x1b5a9d['vcFhl'](_0x151df0,_0x23efe2));};sentMsgTasks[_0x25d734(0x10e)](_0x5440e1[_0x25d734(0xf3)](randomUUID),_0x4606a6),setTimeout(()=>{const _0x3fd20c=_0x25d734;!_0x220d54&&_0x5440e1[_0x3fd20c(0xfb)](_0x7034d7,_0x3fd20c(0xf2));},0x1388),napCatCore[_0x25d734(0xf4)][_0x25d734(0x110)]()[_0x25d734(0xe5)](_0x411f3f,_0x5b1eba,_0x41925f,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 0c3bf028..f31cef14 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x27eb39,_0x542bba){const _0x12a1af=_0xe1fa,_0x175cf9=_0x27eb39();while(!![]){try{const _0x38f769=parseInt(_0x12a1af(0x205))/0x1*(-parseInt(_0x12a1af(0x1f8))/0x2)+parseInt(_0x12a1af(0x1ec))/0x3+-parseInt(_0x12a1af(0x1f0))/0x4+parseInt(_0x12a1af(0x1fe))/0x5*(-parseInt(_0x12a1af(0x1fc))/0x6)+parseInt(_0x12a1af(0x1fa))/0x7*(parseInt(_0x12a1af(0x209))/0x8)+-parseInt(_0x12a1af(0x1f7))/0x9+-parseInt(_0x12a1af(0x1ee))/0xa*(-parseInt(_0x12a1af(0x1fb))/0xb);if(_0x38f769===_0x542bba)break;else _0x175cf9['push'](_0x175cf9['shift']());}catch(_0x5544a5){_0x175cf9['push'](_0x175cf9['shift']());}}}(_0x2672,0xcfa11));function _0xe1fa(_0xf6f19f,_0x32e6da){const _0x267226=_0x2672();return _0xe1fa=function(_0xe1fa92,_0x36c397){_0xe1fa92=_0xe1fa92-0x1e8;let _0x5ca5de=_0x267226[_0xe1fa92];return _0x5ca5de;},_0xe1fa(_0xf6f19f,_0x32e6da);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x2672(){const _0x106989=['594298oubhrF','miniapp','2487737HHIxEf','33mIJSlL','2478vAEjzy','&ark=','2465uHqgON','MlPMD','title','XUYjE','getSkey','adqAQ','jumpUrl','2bPoHyP','source','p_skey','RKvGm','8PqfPGb','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','com.tencent.miniapp.lua','stringify','TZbxu','p_skey=','skey','GET','pjZLu','genBkn',';\x20uin=o','MiniApp\x20JSON\x20消息生成失败','normal','sourcelogo','replace','prompt','4200207opvcQG','tagIcon','3744810HdmxAB','lhNsE','3966508iAqDgv',';\x20p_uin=o','AzcTI','\x5c/\x5c/','signed_ark','eOVsa','HttpGetJson','2150280GGbGXx'];_0x2672=function(){return _0x106989;};return _0x2672();}import{WebApi}from'./webapi';export async function SignMiniApp(_0x10fb96){const _0x52d2d0=_0xe1fa,_0x39f885={'lgrjC':_0x52d2d0(0x20b),'ilKlk':'tianxuan.imgJumpArk','pjZLu':_0x52d2d0(0x1e8),'eOVsa':_0x52d2d0(0x1f3),'TZbxu':function(_0x15c78d,_0x18c2bb){return _0x15c78d+_0x18c2bb;},'adqAQ':function(_0x345eab,_0x5c3670){return _0x345eab+_0x5c3670;},'XUYjE':function(_0x16c3e6,_0x2741a7){return _0x16c3e6+_0x2741a7;},'lhNsE':_0x52d2d0(0x20e),'MlPMD':';\x20skey=','UJUgU':function(_0x25ea5d,_0x46f011){return _0x25ea5d+_0x46f011;},'AzcTI':_0x52d2d0(0x20a),'RKvGm':_0x52d2d0(0x210),'drexj':function(_0x367153,_0x10fa1e,_0x5eed6b){return _0x367153(_0x10fa1e,_0x5eed6b);},'tHuRn':_0x52d2d0(0x214)};let _0x325284={'app':_0x39f885['lgrjC'],'bizsrc':_0x39f885['ilKlk'],'view':_0x52d2d0(0x1f9),'prompt':_0x10fb96[_0x52d2d0(0x1eb)],'config':{'type':_0x39f885[_0x52d2d0(0x211)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x10fb96[_0x52d2d0(0x200)],'preview':_0x10fb96['preview']['replace'](/\\/g,_0x39f885['eOVsa']),'jumpUrl':_0x10fb96[_0x52d2d0(0x204)][_0x52d2d0(0x1ea)](/\\/g,_0x39f885['eOVsa']),'tag':_0x10fb96['tag'],'tagIcon':_0x10fb96[_0x52d2d0(0x1ed)][_0x52d2d0(0x1ea)](/\\/g,_0x39f885[_0x52d2d0(0x1f5)]),'source':_0x10fb96[_0x52d2d0(0x206)],'sourcelogo':_0x10fb96[_0x52d2d0(0x1e9)][_0x52d2d0(0x1ea)](/\\/g,_0x39f885[_0x52d2d0(0x1f5)])}}};const _0x4adfae=await NTQQUserApi[_0x52d2d0(0x202)]();let _0x379f9a=await NTQQUserApi['getQzoneCookies']();const _0x298193=WebApi[_0x52d2d0(0x212)](_0x379f9a['p_skey']),_0x5a071d=_0x39f885['TZbxu'](_0x39f885[_0x52d2d0(0x203)](_0x39f885[_0x52d2d0(0x20d)](_0x39f885[_0x52d2d0(0x20d)](_0x39f885[_0x52d2d0(0x201)](_0x39f885[_0x52d2d0(0x203)](_0x39f885[_0x52d2d0(0x1ef)],_0x379f9a[_0x52d2d0(0x207)]),_0x39f885[_0x52d2d0(0x1ff)])+_0x379f9a[_0x52d2d0(0x20f)],_0x52d2d0(0x1f1)),selfInfo['uin']),_0x52d2d0(0x213)),selfInfo['uin']);let _0x572d7b=_0x39f885['adqAQ'](_0x39f885['UJUgU'](_0x39f885[_0x52d2d0(0x1f2)],_0x298193),_0x52d2d0(0x1fd))+encodeURIComponent(JSON[_0x52d2d0(0x20c)](_0x325284)),_0x22a2b5='';try{let _0x3027d7=await RequestUtil[_0x52d2d0(0x1f6)](_0x572d7b,_0x39f885[_0x52d2d0(0x208)],undefined,{'Cookie':_0x5a071d});_0x22a2b5=_0x3027d7['data'][_0x52d2d0(0x1f4)];}catch(_0x4a59cb){_0x39f885['drexj'](logDebug,_0x39f885['tHuRn'],_0x4a59cb);}return _0x22a2b5;} \ No newline at end of file +(function(_0x49f020,_0x393991){const _0x3d925f=_0x4ecc,_0x5cb184=_0x49f020();while(!![]){try{const _0x47797b=parseInt(_0x3d925f(0x1a2))/0x1+parseInt(_0x3d925f(0x1a7))/0x2*(parseInt(_0x3d925f(0x1a5))/0x3)+parseInt(_0x3d925f(0x19f))/0x4*(parseInt(_0x3d925f(0x1a8))/0x5)+-parseInt(_0x3d925f(0x194))/0x6*(parseInt(_0x3d925f(0x197))/0x7)+-parseInt(_0x3d925f(0x1ad))/0x8*(-parseInt(_0x3d925f(0x1b8))/0x9)+-parseInt(_0x3d925f(0x191))/0xa*(-parseInt(_0x3d925f(0x19e))/0xb)+parseInt(_0x3d925f(0x1a9))/0xc*(-parseInt(_0x3d925f(0x1aa))/0xd);if(_0x47797b===_0x393991)break;else _0x5cb184['push'](_0x5cb184['shift']());}catch(_0xe953f7){_0x5cb184['push'](_0x5cb184['shift']());}}}(_0x38b6,0x4284d));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x38b6(){const _0x4b5a3a=['166415jthWjj','tagIcon','getSkey','75zBpkyA','stringify','15560nOnpiH','5BwxTDn','48JlihVM','4188665RUntkl','cjxRl','oysrS','32TylZAO','p_skey','skey','title','source','CRWcd','normal','com.tencent.miniapp.lua','replace','MiniApp\x20JSON\x20消息生成失败','HttpGetJson','1167633lKOAwM','OFoUq','tag',';\x20skey=','signed_ark','prompt','preview','iKNTe','30YNlHBu','WrExs','miniapp','1851780Rlmlfd','sourcelogo','p_skey=','7VqXrCL','&ark=','jAUqA','GET',';\x20p_uin=o','imnuP','GSLYH','1973059WBcNtP','1807764nWqueD','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','\x5c/\x5c/'];_0x38b6=function(){return _0x4b5a3a;};return _0x38b6();}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x4ecc(_0x662f63,_0x919f5){const _0x38b6f6=_0x38b6();return _0x4ecc=function(_0x4ecc92,_0x1e15ae){_0x4ecc92=_0x4ecc92-0x18d;let _0x42fe17=_0x38b6f6[_0x4ecc92];return _0x42fe17;},_0x4ecc(_0x662f63,_0x919f5);}export async function SignMiniApp(_0x23d49d){const _0x22860a=_0x4ecc,_0x19ea4d={'vGgCA':'tianxuan.imgJumpArk','ieetQ':_0x22860a(0x193),'GSLYH':'\x5c/\x5c/','OFoUq':function(_0x1b3350,_0x52646a){return _0x1b3350+_0x52646a;},'iKNTe':_0x22860a(0x196),'esDMQ':_0x22860a(0x1bb),'imnuP':_0x22860a(0x19b),'cjxRl':_0x22860a(0x198),'CRWcd':function(_0x96acd7,_0x390307){return _0x96acd7(_0x390307);},'jAUqA':_0x22860a(0x19a),'WrExs':function(_0x4b65b1,_0x177981,_0x2292e1){return _0x4b65b1(_0x177981,_0x2292e1);},'oysrS':_0x22860a(0x1b6)};let _0x5808e6={'app':_0x22860a(0x1b4),'bizsrc':_0x19ea4d['vGgCA'],'view':_0x19ea4d['ieetQ'],'prompt':_0x23d49d[_0x22860a(0x18e)],'config':{'type':_0x22860a(0x1b3),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x23d49d[_0x22860a(0x1b0)],'preview':_0x23d49d[_0x22860a(0x18f)][_0x22860a(0x1b5)](/\\/g,_0x19ea4d[_0x22860a(0x19d)]),'jumpUrl':_0x23d49d['jumpUrl']['replace'](/\\/g,_0x19ea4d[_0x22860a(0x19d)]),'tag':_0x23d49d[_0x22860a(0x1ba)],'tagIcon':_0x23d49d[_0x22860a(0x1a3)][_0x22860a(0x1b5)](/\\/g,_0x22860a(0x1a1)),'source':_0x23d49d[_0x22860a(0x1b1)],'sourcelogo':_0x23d49d[_0x22860a(0x195)]['replace'](/\\/g,_0x22860a(0x1a1))}}};const _0x4ead04=await NTQQUserApi[_0x22860a(0x1a4)]();let _0x64fc90=await NTQQUserApi['getQzoneCookies']();const _0x46c782=WebApi['genBkn'](_0x64fc90[_0x22860a(0x1ae)]),_0x42e9e8=_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d['OFoUq'](_0x19ea4d['OFoUq'](_0x19ea4d[_0x22860a(0x190)]+_0x64fc90['p_skey']+_0x19ea4d['esDMQ'],_0x64fc90[_0x22860a(0x1af)]),_0x19ea4d[_0x22860a(0x19c)]),selfInfo['uin']),';\x20uin=o'),selfInfo['uin']);let _0x27627e=_0x19ea4d['OFoUq'](_0x19ea4d[_0x22860a(0x1b9)](_0x22860a(0x1a0)+_0x46c782,_0x19ea4d[_0x22860a(0x1ab)]),_0x19ea4d[_0x22860a(0x1b2)](encodeURIComponent,JSON[_0x22860a(0x1a6)](_0x5808e6))),_0x36e4de='';try{let _0x58d599=await RequestUtil[_0x22860a(0x1b7)](_0x27627e,_0x19ea4d[_0x22860a(0x199)],undefined,{'Cookie':_0x42e9e8});_0x36e4de=_0x58d599['data'][_0x22860a(0x18d)];}catch(_0x2ccfbe){_0x19ea4d[_0x22860a(0x192)](logDebug,_0x19ea4d[_0x22860a(0x1ac)],_0x2ccfbe);}return _0x36e4de;} \ 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 12941a8e..6b24462e 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x3fc7b9=_0x384a;function _0x384a(_0x50589e,_0xbd758d){const _0x47095a=_0x4709();return _0x384a=function(_0x384a3d,_0x1b02dd){_0x384a3d=_0x384a3d-0x76;let _0x4b165e=_0x47095a[_0x384a3d];return _0x4b165e;},_0x384a(_0x50589e,_0xbd758d);}(function(_0x49bff2,_0x2ebc1e){const _0x3c9f83=_0x384a,_0x32eaff=_0x49bff2();while(!![]){try{const _0x3cc04d=parseInt(_0x3c9f83(0x7f))/0x1*(-parseInt(_0x3c9f83(0x7e))/0x2)+-parseInt(_0x3c9f83(0x87))/0x3+-parseInt(_0x3c9f83(0x81))/0x4*(-parseInt(_0x3c9f83(0x84))/0x5)+parseInt(_0x3c9f83(0x83))/0x6*(parseInt(_0x3c9f83(0x8c))/0x7)+-parseInt(_0x3c9f83(0x89))/0x8+parseInt(_0x3c9f83(0x7d))/0x9*(-parseInt(_0x3c9f83(0x8b))/0xa)+parseInt(_0x3c9f83(0x79))/0xb;if(_0x3cc04d===_0x2ebc1e)break;else _0x32eaff['push'](_0x32eaff['shift']());}catch(_0x1fee33){_0x32eaff['push'](_0x32eaff['shift']());}}}(_0x4709,0xae877));function _0x4709(){const _0x12cba7=['19896404jcGDXb','wantWinScreenOCR','translateEnWordToZn','TaqkD','522mgYaaa','654CCYpUT','1419VLNTQE','session','668Kzvzab','getArkJsonCollection','8138226uemieZ','31375PGVfOl','getRichMediaService','1717662698058','1456713HSlLvt','getOnlineDev','9512216qPGtpU','CallNoListenerEvent','234410omYkWn','7liviFl','util','getNodeMiscService','ORCImage','hasOtherRunningQQProcess'];_0x4709=function(){return _0x12cba7;};return _0x4709();}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x3fc7b9(0x78)](){const _0x214987=_0x3fc7b9;return napCatCore[_0x214987(0x8d)][_0x214987(0x78)]();}static async[_0x3fc7b9(0x77)](_0x3d1f2f){const _0x7fc008=_0x3fc7b9;return napCatCore[_0x7fc008(0x80)][_0x7fc008(0x76)]()[_0x7fc008(0x7a)](_0x3d1f2f);}static async[_0x3fc7b9(0x7b)](_0x2294ed){const _0x589fdf=_0x3fc7b9;return napCatCore[_0x589fdf(0x80)][_0x589fdf(0x85)]()[_0x589fdf(0x7b)](_0x2294ed);}static async[_0x3fc7b9(0x88)](){const _0x188b11=_0x3fc7b9;return napCatCore[_0x188b11(0x80)]['getMsgService']()['getOnLineDev']();}static async[_0x3fc7b9(0x82)](_0xec65a2){const _0x1f9ecd=_0x3fc7b9,_0x28aba4={'TaqkD':'NodeIKernelCollectionService/collectionArkShare','tVFFZ':_0x1f9ecd(0x86)};let _0x1e6bde=await NTEventDispatch[_0x1f9ecd(0x8a)](_0x28aba4[_0x1f9ecd(0x7c)],0x1388,_0x28aba4['tVFFZ']);return _0x1e6bde;}} \ No newline at end of file +const _0x155ab2=_0x5adb;(function(_0x4e21ef,_0x353977){const _0x4d8c45=_0x5adb,_0x13ba08=_0x4e21ef();while(!![]){try{const _0x339059=parseInt(_0x4d8c45(0xe6))/0x1+-parseInt(_0x4d8c45(0xd9))/0x2+-parseInt(_0x4d8c45(0xdf))/0x3*(parseInt(_0x4d8c45(0xe2))/0x4)+parseInt(_0x4d8c45(0xe0))/0x5*(-parseInt(_0x4d8c45(0xe5))/0x6)+-parseInt(_0x4d8c45(0xdd))/0x7*(-parseInt(_0x4d8c45(0xda))/0x8)+parseInt(_0x4d8c45(0xd7))/0x9*(parseInt(_0x4d8c45(0xdb))/0xa)+-parseInt(_0x4d8c45(0xe3))/0xb;if(_0x339059===_0x353977)break;else _0x13ba08['push'](_0x13ba08['shift']());}catch(_0x147c6e){_0x13ba08['push'](_0x13ba08['shift']());}}}(_0x2192,0x4c4f5));function _0x5adb(_0x198b62,_0x42d8b5){const _0x219264=_0x2192();return _0x5adb=function(_0x5adbb7,_0x2db35a){_0x5adbb7=_0x5adbb7-0xd5;let _0x562124=_0x219264[_0x5adbb7];return _0x562124;},_0x5adb(_0x198b62,_0x42d8b5);}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2192(){const _0x56bb94=['1717662698058','translateEnWordToZn','hasOtherRunningQQProcess','NodeIKernelCollectionService/collectionArkShare','getOnLineDev','2133774IEvQal','getOnlineDev','196420jwxJYN','4675912BlWOZp','10pKvvsp','ORCImage','7zDtmYQ','CallNoListenerEvent','12795COvfuk','1915BEfeFm','wantWinScreenOCR','112XxtCbO','2363141tceIZY','session','6324SBFcMg','327133OwmYjV','getMsgService'];_0x2192=function(){return _0x56bb94;};return _0x2192();}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x155ab2(0xea)](){return napCatCore['util']['hasOtherRunningQQProcess']();}static async[_0x155ab2(0xdc)](_0x2ea266){const _0x31662e=_0x155ab2;return napCatCore[_0x31662e(0xe4)]['getNodeMiscService']()[_0x31662e(0xe1)](_0x2ea266);}static async['translateEnWordToZn'](_0x143393){const _0x30e5b2=_0x155ab2;return napCatCore[_0x30e5b2(0xe4)]['getRichMediaService']()[_0x30e5b2(0xe9)](_0x143393);}static async[_0x155ab2(0xd8)](){const _0x24d884=_0x155ab2;return napCatCore[_0x24d884(0xe4)][_0x24d884(0xe7)]()[_0x24d884(0xd6)]();}static async['getArkJsonCollection'](_0x5eee27){const _0x5ccd30=_0x155ab2,_0x275cd2={'yKNXB':_0x5ccd30(0xd5),'IWKNN':_0x5ccd30(0xe8)};let _0x2d2f7c=await NTEventDispatch[_0x5ccd30(0xde)](_0x275cd2['yKNXB'],0x1388,_0x275cd2['IWKNN']);return _0x2d2f7c;}} \ 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 f29586d4..8205dfee 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x5d8945=_0x1c31;(function(_0x3b5ac9,_0xa91d75){const _0x3afdd9=_0x1c31,_0x2fa9e3=_0x3b5ac9();while(!![]){try{const _0x5a93e7=parseInt(_0x3afdd9(0x232))/0x1+-parseInt(_0x3afdd9(0x239))/0x2+-parseInt(_0x3afdd9(0x22f))/0x3*(-parseInt(_0x3afdd9(0x21c))/0x4)+-parseInt(_0x3afdd9(0x234))/0x5*(-parseInt(_0x3afdd9(0x208))/0x6)+parseInt(_0x3afdd9(0x20f))/0x7+parseInt(_0x3afdd9(0x1ed))/0x8+-parseInt(_0x3afdd9(0x236))/0x9;if(_0x5a93e7===_0xa91d75)break;else _0x2fa9e3['push'](_0x2fa9e3['shift']());}catch(_0xe90b27){_0x2fa9e3['push'](_0x2fa9e3['shift']());}}}(_0x39e1,0xc752a));import{Credentials,selfInfo}from'@/core/data';function _0x1c31(_0x2e35d8,_0x50ebc7){const _0x39e154=_0x39e1();return _0x1c31=function(_0x1c3185,_0xe52442){_0x1c3185=_0x1c3185-0x1df;let _0x1c610e=_0x39e154[_0x1c3185];return _0x1c610e;},_0x1c31(_0x2e35d8,_0x50ebc7);}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x39e1(){const _0x189029=['ClientKey','PskeyTime','domainPskeyMap','addListener','tqTPJ','%2Finfocenter&keyindex=19%27','skey','WdQWF','entries','fromEntries','qHBag','errMsg','getPSkey','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','CIVCV','onLoginSuccess','AIAyw','EzSaR','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','sCDme','setStatus','setHeader','now','oYqrP','Vmtzq','54kzWcff','NodeIKernelUixConvertService/getUin','get','getTipOffService','VqpCN','uid','uin','2300928BkPzQd','forEach','xWcYs','robotUinRanges','getProfileLikeService','CallNoListenerEvent','vgveW','获取Pskey失败','hiqvR','HttpsGetCookies','assign','&clientkey=','uidInfo','416348SKEDvJ','CreatTime','Skey','getUinByUid','setBuddyProfileLike','modifyDesktopMiniProfile','XSBfD','请求获取Cookies时失败','getSelfInfo','session','getUserDetailInfoByUin','NoDqX','wEItx','请求获取Skey时失败','onProfileDetailInfoChanged','PskeyData','DIKDv','bsCnz','setLongNick','45PgYZAb','getUserDetailInfoWithBizInfo','then','1188432KnoWsf','sgXqX','888495sbrpSV','YXZIY','31457736WKKuvf','getBuddyRecommendContactArkJson','getProfileService','1092502zmxoHz','getRobotUinRange','getUidByUin','getPskey','getTicketService','modifySelfProfile','getBuddyService','NodeIKernelProfileService/getUserDetailInfoByUin','response','keyIndex','FoBcI','getRobotService','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','WrqlJ','bxkuS','JKDyh','result','1441992cdBYYk','set'];_0x39e1=function(){return _0x189029;};return _0x39e1();}profileListener[_0x5d8945(0x22a)]=_0x5a2ab5=>{const _0x4dee9d=_0x5d8945;userInfoCache[_0x5a2ab5[_0x4dee9d(0x20d)]]=_0x5a2ab5,userDetailHandlers[_0x4dee9d(0x210)](_0x4d684e=>_0x4d684e(_0x5a2ab5));},setTimeout(()=>{const _0x3b754d=_0x5d8945;napCatCore[_0x3b754d(0x1fe)](()=>{const _0x2baccc=_0x3b754d;napCatCore[_0x2baccc(0x1f2)](profileListener);});},0x64);export class NTQQUserApi{static async['setLongNick'](_0x2aaa7d){const _0x312ebf=_0x5d8945;return napCatCore[_0x312ebf(0x225)][_0x312ebf(0x238)]()[_0x312ebf(0x22e)](_0x2aaa7d);}static async['setSelfOnlineStatus'](_0x519def,_0x2bacbe,_0x5df501){const _0x1ccc1c=_0x5d8945;return napCatCore['session']['getMsgService']()[_0x1ccc1c(0x203)]({'status':_0x519def,'extStatus':_0x2bacbe,'batteryStatus':_0x5df501});}static async[_0x5d8945(0x237)](_0x20a17f,_0x1b9120=''){const _0x550b6e=_0x5d8945;return napCatCore[_0x550b6e(0x225)][_0x550b6e(0x1e2)]()['getBuddyRecommendContactArkJson'](_0x20a17f,_0x1b9120);}static async['like'](_0x283e2e,_0x533b9c=0x1){const _0x12a9a1=_0x5d8945;return napCatCore[_0x12a9a1(0x225)][_0x12a9a1(0x213)]()[_0x12a9a1(0x220)]({'friendUid':_0x283e2e,'sourceId':0x47,'doLikeCount':_0x533b9c,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x55821c){const _0x1d3881=_0x5d8945,_0x2481fd=await napCatCore[_0x1d3881(0x225)][_0x1d3881(0x238)]()[_0x1d3881(0x204)](_0x55821c);return{'result':_0x2481fd?.[_0x1d3881(0x1ec)],'errMsg':_0x2481fd?.['errMsg']};}static async[_0x5d8945(0x224)](){}static async['getUserInfo'](_0x5d9517){}static async['getUserDetailInfo'](_0xa70aa7){const _0x469dd1=_0x5d8945,_0x4c6e7c={'Vmtzq':function(_0x378379,_0x2390ab){return _0x378379(_0x2390ab);},'hiqvR':function(_0x4e6ca0){return _0x4e6ca0();},'YXZIY':function(_0xf61305,_0xfb68fb,_0x38187f){return _0xf61305(_0xfb68fb,_0x38187f);}},_0x5c8445=napCatCore[_0x469dd1(0x225)][_0x469dd1(0x238)]();return new Promise((_0x5804c1,_0x3f811b)=>{const _0x47a093=_0x469dd1,_0x4d77b7={'vgveW':function(_0x34fefa,_0x41610a){const _0x11009c=_0x1c31;return _0x4c6e7c[_0x11009c(0x207)](_0x34fefa,_0x41610a);},'FoBcI':function(_0x324783,_0x27a279){return _0x324783===_0x27a279;}},_0x2f6cdc=_0x4c6e7c[_0x47a093(0x217)](randomUUID);let _0x494674=![],_0x1bbbdd=undefined,_0x5988b8=!![];_0x4c6e7c[_0x47a093(0x235)](setTimeout,()=>{const _0x3d21a7=_0x47a093;!_0x494674&&(_0x1bbbdd?_0x4d77b7[_0x3d21a7(0x215)](_0x5804c1,_0x1bbbdd):_0x4d77b7[_0x3d21a7(0x215)](_0x3f811b,'getUserDetailInfo\x20timeout')),userDetailHandlers['delete'](_0x2f6cdc);},0x1388),userDetailHandlers[_0x47a093(0x1ee)](_0x2f6cdc,_0x2856da=>{const _0x272fd4=_0x47a093;_0x4d77b7[_0x272fd4(0x1e6)](_0x2856da[_0x272fd4(0x20d)],_0xa70aa7)&&(_0x5988b8?(_0x1bbbdd=_0x2856da,_0x5988b8=![]):(_0x494674=!![],_0x4d77b7[_0x272fd4(0x215)](_0x5804c1,_0x2856da)));}),_0x5c8445[_0x47a093(0x230)](_0xa70aa7,[0x0])[_0x47a093(0x231)](_0x5621fc=>{});});}static async[_0x5d8945(0x1e1)](_0xdfadfa){const _0x529b1b=_0x5d8945;return napCatCore[_0x529b1b(0x225)][_0x529b1b(0x238)]()[_0x529b1b(0x221)](_0xdfadfa);}static async[_0x5d8945(0x1fb)](_0x267528,_0x23d9b1=!![]){const _0x80988a=_0x5d8945,_0x3aeff3={'JKDyh':function(_0x1bdec9,_0x22855c){return _0x1bdec9||_0x22855c;},'CIVCV':function(_0x5ad62d,_0x3b71db){return _0x5ad62d>_0x3b71db;},'tqTPJ':function(_0x442ddc,_0x3e3f82){return _0x442ddc*_0x3e3f82;},'ADjHn':function(_0x61480f,_0x24eacb){return _0x61480f>_0x24eacb;},'XSBfD':function(_0x2db9b9,_0x2c5ec9){return _0x2db9b9===_0x2c5ec9;},'hJIpI':function(_0xc06d96,_0x258286,_0x236f41){return _0xc06d96(_0x258286,_0x236f41);},'qHBag':_0x80988a(0x216)},_0x54f6dc=[],_0x4aac92={};for(const _0x14f2ea in _0x267528){const _0x1d810a=Credentials[_0x80988a(0x22b)]['get'](_0x267528[_0x14f2ea]),_0x4a67e2=Credentials[_0x80988a(0x1f0)][_0x80988a(0x20a)](_0x267528[_0x14f2ea]);_0x3aeff3[_0x80988a(0x1eb)](!_0x1d810a,!_0x4a67e2)||_0x3aeff3[_0x80988a(0x1fd)](Date['now']()-_0x4a67e2,_0x3aeff3[_0x80988a(0x1f3)](0x708,0x3e8))||!_0x23d9b1?_0x54f6dc['push'](_0x267528[_0x14f2ea]):_0x4aac92[_0x267528[_0x14f2ea]]=_0x1d810a;}let _0x514728={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3aeff3['ADjHn'](_0x54f6dc['length'],0x0)&&(_0x514728=await napCatCore[_0x80988a(0x225)][_0x80988a(0x20b)]()[_0x80988a(0x1df)](_0x54f6dc,!![]));const _0x20eec9=_0x514728[_0x80988a(0x1f1)];for(const _0x89d119 of _0x20eec9[_0x80988a(0x1f7)]()){Credentials[_0x80988a(0x22b)][_0x80988a(0x1ee)](_0x89d119[0x0],_0x89d119[0x1]),Credentials[_0x80988a(0x1f0)][_0x80988a(0x1ee)](_0x89d119[0x0],Date[_0x80988a(0x205)]());}const _0x4bc11e=Object[_0x80988a(0x219)](Object[_0x80988a(0x1f8)](_0x20eec9),_0x4aac92);if(_0x3aeff3[_0x80988a(0x222)](_0x514728[_0x80988a(0x1ec)],0x0))return _0x4bc11e;else _0x3aeff3['hJIpI'](logError,_0x3aeff3[_0x80988a(0x1f9)],_0x514728[_0x80988a(0x1fa)]);return{};}static async['getRobotUinRange'](){const _0x507db5=_0x5d8945,_0x1208d7=await napCatCore['session'][_0x507db5(0x1e7)]()[_0x507db5(0x23a)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x1208d7?.[_0x507db5(0x1e4)]?.[_0x507db5(0x212)];}static async['getQzoneCookies'](){const _0x72cbea=_0x5d8945,_0x217b40={'NoDqX':function(_0x1e3a69,_0x305771){return _0x1e3a69+_0x305771;},'asXUD':function(_0x2ad864,_0x22767f){return _0x2ad864+_0x22767f;},'QmUoy':function(_0x2d3f5d,_0xccb019){return _0x2d3f5d+_0xccb019;},'eKhXZ':function(_0x5c6cb5,_0x5b7800){return _0x5c6cb5+_0x5b7800;},'qblGO':_0x72cbea(0x1e8),'bsCnz':_0x72cbea(0x1fc),'WdQWF':_0x72cbea(0x1f4)},_0x286014=_0x217b40[_0x72cbea(0x227)](_0x217b40['asXUD'](_0x217b40['QmUoy'](_0x217b40['eKhXZ'](_0x217b40['qblGO'],selfInfo['uin'])+_0x72cbea(0x21a),Credentials[_0x72cbea(0x1ef)])+_0x217b40[_0x72cbea(0x22d)],selfInfo[_0x72cbea(0x20e)]),_0x217b40[_0x72cbea(0x1f6)]);let _0x280746={};try{_0x280746=await RequestUtil[_0x72cbea(0x218)](_0x286014);}catch(_0x403437){logDebug(_0x72cbea(0x223),_0x403437),_0x280746={};}return _0x280746;}static async['getSkey'](_0xe3b293=!![]){const _0x24423d=_0x5d8945,_0x50db1c={'wEItx':function(_0x45aadf,_0x233663){return _0x45aadf==_0x233663;},'sCDme':function(_0x4140d3,_0x20ac7e){return _0x4140d3>_0x20ac7e;},'VqpCN':function(_0x2f0d8f,_0x3099cc){return _0x2f0d8f-_0x3099cc;},'EzSaR':function(_0x3d2bff,_0x40943f){return _0x3d2bff!==_0x40943f;},'xWcYs':function(_0x5dc6cd,_0x16c213){return _0x5dc6cd+_0x16c213;},'WrqlJ':function(_0x567fd9,_0x51e536){return _0x567fd9+_0x51e536;},'sgXqX':function(_0x3ff5f7,_0x2af20f){return _0x3ff5f7+_0x2af20f;},'DIKDv':_0x24423d(0x1e8),'bxkuS':_0x24423d(0x21a),'octDK':function(_0x464643,_0x4b8f0f,_0x5d2e57){return _0x464643(_0x4b8f0f,_0x5d2e57);},'EJYkq':_0x24423d(0x1f5)};try{if(_0x50db1c[_0x24423d(0x228)](Credentials[_0x24423d(0x21d)],0x0)||_0x50db1c[_0x24423d(0x202)](_0x50db1c[_0x24423d(0x20c)](Date[_0x24423d(0x205)](),Credentials[_0x24423d(0x21d)]),0x3e8*0xe10)||!_0xe3b293){const _0x393e0b=await napCatCore[_0x24423d(0x225)][_0x24423d(0x1e0)]()['forceFetchClientKey']('');if(_0x50db1c[_0x24423d(0x200)](_0x393e0b[_0x24423d(0x1ec)],0x0))return'';const _0x40fac8=_0x393e0b['clientKey'],_0x2443b9=_0x393e0b[_0x24423d(0x1e5)],_0x90c727=_0x50db1c[_0x24423d(0x211)](_0x50db1c['WrqlJ'](_0x50db1c[_0x24423d(0x233)](_0x50db1c[_0x24423d(0x1e9)](_0x50db1c[_0x24423d(0x22c)],selfInfo[_0x24423d(0x20e)]),_0x50db1c[_0x24423d(0x1ea)]),_0x40fac8)+_0x24423d(0x201),_0x2443b9);let _0xe9f633={};try{_0xe9f633=await RequestUtil[_0x24423d(0x218)](_0x90c727);}catch(_0x4cec93){_0x50db1c['octDK'](logDebug,_0x24423d(0x229),_0x4cec93),_0xe9f633={};}const _0x17b467=_0xe9f633[_0x50db1c['EJYkq']];if(!_0x17b467)return'';return Credentials['ClientKey']=_0x40fac8,Credentials['KeyIndex']=_0x2443b9,Credentials[_0x24423d(0x21d)]=Date[_0x24423d(0x205)](),Credentials[_0x24423d(0x21e)]=_0x17b467,_0x17b467;}return Credentials[_0x24423d(0x21e)];}catch(_0x54eba8){}return undefined;}static async[_0x5d8945(0x23b)](_0x316d79){const _0x16f6f5=_0x5d8945,_0x1943e9={'AIAyw':'NodeIKernelUixConvertService/getUid'};let _0x1d067a=await NTEventDispatch[_0x16f6f5(0x214)](_0x1943e9[_0x16f6f5(0x1ff)],0x1388,[_0x316d79]);return _0x1d067a[_0x16f6f5(0x21b)]['get'](_0x316d79);}static async[_0x5d8945(0x21f)](_0x240271){const _0x3a3ba5=_0x5d8945,_0x7d9a01={'qmZNp':_0x3a3ba5(0x209)};if(!_0x240271)return'';let _0x5aaebf=await NTEventDispatch[_0x3a3ba5(0x214)](_0x7d9a01['qmZNp'],0x1388,[_0x240271]);return _0x5aaebf['uinInfo'][_0x3a3ba5(0x20a)](_0x240271);}static async[_0x5d8945(0x226)](_0x1e91c6){const _0x228683=_0x5d8945,_0x4c711f={'oYqrP':_0x228683(0x1e3)};return NTEventDispatch[_0x228683(0x214)](_0x4c711f[_0x228683(0x206)],0x1388,_0x1e91c6);}} \ No newline at end of file +const _0x5a6461=_0x5f81;(function(_0x26f270,_0x2b78d1){const _0x27a8c3=_0x5f81,_0x57b6f7=_0x26f270();while(!![]){try{const _0x34e4cd=parseInt(_0x27a8c3(0x14e))/0x1*(-parseInt(_0x27a8c3(0x10a))/0x2)+parseInt(_0x27a8c3(0x144))/0x3+parseInt(_0x27a8c3(0x104))/0x4+parseInt(_0x27a8c3(0x149))/0x5+parseInt(_0x27a8c3(0x142))/0x6*(parseInt(_0x27a8c3(0x11a))/0x7)+parseInt(_0x27a8c3(0x155))/0x8+-parseInt(_0x27a8c3(0xfa))/0x9;if(_0x34e4cd===_0x2b78d1)break;else _0x57b6f7['push'](_0x57b6f7['shift']());}catch(_0x2a36dd){_0x57b6f7['push'](_0x57b6f7['shift']());}}}(_0x4930,0x2315e));import{Credentials,selfInfo}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';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x5a6461(0xf7)]=_0x3e0781=>{const _0x613eb1=_0x5a6461;userInfoCache[_0x3e0781[_0x613eb1(0x131)]]=_0x3e0781,userDetailHandlers[_0x613eb1(0x150)](_0x58b4eb=>_0x58b4eb(_0x3e0781));},setTimeout(()=>{const _0x4024fe=_0x5a6461;napCatCore[_0x4024fe(0x13f)](()=>{const _0x5301e1=_0x4024fe;napCatCore[_0x5301e1(0x153)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x5a6461(0x145)](_0x3bf402){const _0x6a1f7e=_0x5a6461;return napCatCore[_0x6a1f7e(0x10d)][_0x6a1f7e(0x11d)]()[_0x6a1f7e(0x145)](_0x3bf402);}static async[_0x5a6461(0x133)](_0x1d4889,_0x40f3e9,_0x5420b6){const _0x17e117=_0x5a6461;return napCatCore[_0x17e117(0x10d)][_0x17e117(0x151)]()[_0x17e117(0x11b)]({'status':_0x1d4889,'extStatus':_0x40f3e9,'batteryStatus':_0x5420b6});}static async['getBuddyRecommendContactArkJson'](_0x5a6fb5,_0x32eb94=''){const _0x5700f5=_0x5a6461;return napCatCore[_0x5700f5(0x10d)][_0x5700f5(0x14c)]()[_0x5700f5(0x100)](_0x5a6fb5,_0x32eb94);}static async[_0x5a6461(0x126)](_0x330524,_0x4760bf=0x1){const _0x18bc05=_0x5a6461;return napCatCore[_0x18bc05(0x10d)][_0x18bc05(0x140)]()[_0x18bc05(0x12d)]({'friendUid':_0x330524,'sourceId':0x47,'doLikeCount':_0x4760bf,'doLikeTollCount':0x0});}static async[_0x5a6461(0x13e)](_0x4faa3b){const _0x1c6a11=_0x5a6461,_0x1b05ce=await napCatCore[_0x1c6a11(0x10d)]['getProfileService']()[_0x1c6a11(0x124)](_0x4faa3b);return{'result':_0x1b05ce?.['result'],'errMsg':_0x1b05ce?.['errMsg']};}static async['getSelfInfo'](){}static async[_0x5a6461(0xf8)](_0x3337b1){}static async[_0x5a6461(0xf5)](_0x3bb3a9){const _0x59665b=_0x5a6461,_0x5adfcd={'PiNmA':function(_0x527ebf,_0x126e7b){return _0x527ebf(_0x126e7b);},'PINsI':_0x59665b(0x14b),'jJNkT':function(_0x16b9de,_0x59f8fa){return _0x16b9de===_0x59f8fa;},'caUhC':function(_0x92d49f){return _0x92d49f();},'blQIY':function(_0x510a6e,_0x3339f9,_0x4fcd96){return _0x510a6e(_0x3339f9,_0x4fcd96);}},_0x54ce3f=napCatCore['session'][_0x59665b(0x11d)]();return new Promise((_0x967784,_0x342a18)=>{const _0x404f33=_0x59665b,_0x1070f6={'VqMWh':function(_0x1151af,_0x9efe59){return _0x5adfcd['PiNmA'](_0x1151af,_0x9efe59);},'sYvKu':_0x5adfcd[_0x404f33(0x136)],'gFCNn':function(_0x1098d5,_0x1186b9){return _0x5adfcd['jJNkT'](_0x1098d5,_0x1186b9);},'AwoFK':function(_0x3ff0c1,_0x3e8223){return _0x3ff0c1(_0x3e8223);}},_0x2f0601=_0x5adfcd['caUhC'](randomUUID);let _0x5923ed=![],_0x4ffb10=undefined,_0x57a96d=!![];_0x5adfcd['blQIY'](setTimeout,()=>{const _0x38c7e1=_0x404f33;!_0x5923ed&&(_0x4ffb10?_0x1070f6[_0x38c7e1(0x12a)](_0x967784,_0x4ffb10):_0x1070f6[_0x38c7e1(0x12a)](_0x342a18,_0x1070f6['sYvKu'])),userDetailHandlers[_0x38c7e1(0x154)](_0x2f0601);},0x1388),userDetailHandlers[_0x404f33(0x10b)](_0x2f0601,_0x49c7a4=>{const _0x4535b7=_0x404f33;_0x1070f6[_0x4535b7(0x14d)](_0x49c7a4[_0x4535b7(0x131)],_0x3bb3a9)&&(_0x57a96d?(_0x4ffb10=_0x49c7a4,_0x57a96d=![]):(_0x5923ed=!![],_0x1070f6[_0x4535b7(0x111)](_0x967784,_0x49c7a4)));}),_0x54ce3f[_0x404f33(0x118)](_0x3bb3a9,[0x0])[_0x404f33(0xf9)](_0x5ac670=>{});});}static async[_0x5a6461(0x116)](_0x449a6d){const _0xa56316=_0x5a6461;return napCatCore[_0xa56316(0x10d)][_0xa56316(0x11d)]()[_0xa56316(0x105)](_0x449a6d);}static async[_0x5a6461(0xf6)](_0x17c80a,_0x5470d1=!![]){const _0xc31713=_0x5a6461,_0x55ccb1={'FVwlC':function(_0x43303d,_0x39a4c3){return _0x43303d>_0x39a4c3;},'JGkzI':function(_0x4804cf,_0x62f86b){return _0x4804cf-_0x62f86b;},'drzbk':function(_0xee42a1,_0xca726c){return _0xee42a1*_0xca726c;},'kgSew':function(_0x1fe58a,_0x4634fa){return _0x1fe58a===_0x4634fa;},'cuohP':function(_0x3f637b,_0xeaef67,_0xf14a09){return _0x3f637b(_0xeaef67,_0xf14a09);},'PYLKS':_0xc31713(0x129)},_0x35da4f=[],_0x44918f={};for(const _0x114b5d in _0x17c80a){const _0x1714a6=Credentials[_0xc31713(0x12b)][_0xc31713(0x143)](_0x17c80a[_0x114b5d]),_0x303e59=Credentials['PskeyTime']['get'](_0x17c80a[_0x114b5d]);!_0x1714a6||!_0x303e59||_0x55ccb1[_0xc31713(0x156)](_0x55ccb1[_0xc31713(0x119)](Date['now'](),_0x303e59),_0x55ccb1[_0xc31713(0x102)](0x708,0x3e8))||!_0x5470d1?_0x35da4f[_0xc31713(0x110)](_0x17c80a[_0x114b5d]):_0x44918f[_0x17c80a[_0x114b5d]]=_0x1714a6;}let _0x117c7a={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x55ccb1[_0xc31713(0x156)](_0x35da4f['length'],0x0)&&(_0x117c7a=await napCatCore[_0xc31713(0x10d)][_0xc31713(0x148)]()['getPskey'](_0x35da4f,!![]));const _0x20203b=_0x117c7a[_0xc31713(0x125)];for(const _0x48e7c9 of _0x20203b['entries']()){Credentials[_0xc31713(0x12b)]['set'](_0x48e7c9[0x0],_0x48e7c9[0x1]),Credentials[_0xc31713(0x13d)][_0xc31713(0x10b)](_0x48e7c9[0x0],Date[_0xc31713(0x101)]());}const _0x4c87f7=Object[_0xc31713(0x121)](Object[_0xc31713(0x128)](_0x20203b),_0x44918f);if(_0x55ccb1[_0xc31713(0x138)](_0x117c7a[_0xc31713(0xfd)],0x0))return _0x4c87f7;else _0x55ccb1[_0xc31713(0x10c)](logError,_0x55ccb1['PYLKS'],_0x117c7a[_0xc31713(0x115)]);return{};}static async[_0x5a6461(0xfb)](){const _0x1c3f4c=_0x5a6461,_0x87ec04=await napCatCore['session'][_0x1c3f4c(0x135)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x87ec04?.[_0x1c3f4c(0x103)]?.[_0x1c3f4c(0x117)];}static async[_0x5a6461(0xfe)](){const _0x7a54a1=_0x5a6461,_0x516562={'sCnyv':function(_0x3e6a9e,_0x3f373d){return _0x3e6a9e+_0x3f373d;},'DIRFX':function(_0x5afd2c,_0x2c7ce1){return _0x5afd2c+_0x2c7ce1;},'mfAuL':_0x7a54a1(0x137),'SxaXr':_0x7a54a1(0x127),'mLizj':_0x7a54a1(0x107),'RopcW':function(_0x3562c3,_0xd1be83,_0xf46f92){return _0x3562c3(_0xd1be83,_0xf46f92);},'QHimw':_0x7a54a1(0x13c)},_0x3337ae=_0x516562[_0x7a54a1(0x13a)](_0x516562[_0x7a54a1(0x13a)](_0x516562['DIRFX'](_0x516562[_0x7a54a1(0x120)](_0x516562[_0x7a54a1(0x120)](_0x516562[_0x7a54a1(0x10e)]+selfInfo[_0x7a54a1(0x146)],_0x7a54a1(0x108)),Credentials['ClientKey']),_0x516562[_0x7a54a1(0x11e)]),selfInfo[_0x7a54a1(0x146)]),_0x516562[_0x7a54a1(0x109)]);let _0x1f90aa={};try{_0x1f90aa=await RequestUtil['HttpsGetCookies'](_0x3337ae);}catch(_0x27dc25){_0x516562[_0x7a54a1(0x10f)](logDebug,_0x516562['QHimw'],_0x27dc25),_0x1f90aa={};}return _0x1f90aa;}static async['getSkey'](_0x3662a0=!![]){const _0x388711=_0x5a6461,_0x52196b={'iVQdq':function(_0x126eae,_0x449a49){return _0x126eae>_0x449a49;},'JdMGR':function(_0x127bce,_0x5e657f){return _0x127bce-_0x5e657f;},'POAGS':function(_0x309e54,_0x4330a9){return _0x309e54*_0x4330a9;},'ypdEm':function(_0x4d2128,_0x150ca1){return _0x4d2128!==_0x150ca1;},'WEdWF':function(_0x490157,_0x9bea30){return _0x490157+_0x9bea30;},'KnXkq':_0x388711(0x137),'ZjDUS':_0x388711(0x108),'IBZQO':_0x388711(0x13b),'twuhJ':'请求获取Skey时失败','VlCGH':_0x388711(0x147)};try{if(Credentials[_0x388711(0x14a)]==0x0||_0x52196b[_0x388711(0x12f)](_0x52196b[_0x388711(0x141)](Date[_0x388711(0x101)](),Credentials[_0x388711(0x14a)]),_0x52196b[_0x388711(0x139)](0x3e8,0xe10))||!_0x3662a0){const _0xa84521=await napCatCore[_0x388711(0x10d)][_0x388711(0x152)]()['forceFetchClientKey']('');if(_0x52196b[_0x388711(0x106)](_0xa84521[_0x388711(0xfd)],0x0))return'';const _0xc93a87=_0xa84521[_0x388711(0x134)],_0x510041=_0xa84521['keyIndex'],_0x2e1fdf=_0x52196b[_0x388711(0x130)](_0x52196b[_0x388711(0x123)]+selfInfo[_0x388711(0x146)]+_0x52196b['ZjDUS']+_0xc93a87,_0x52196b[_0x388711(0x132)])+_0x510041;let _0x3f090a={};try{_0x3f090a=await RequestUtil[_0x388711(0x14f)](_0x2e1fdf);}catch(_0x16bcc6){logDebug(_0x52196b[_0x388711(0x122)],_0x16bcc6),_0x3f090a={};}const _0x935847=_0x3f090a[_0x52196b[_0x388711(0xfc)]];if(!_0x935847)return'';return Credentials[_0x388711(0x12c)]=_0xc93a87,Credentials[_0x388711(0x112)]=_0x510041,Credentials[_0x388711(0x14a)]=Date[_0x388711(0x101)](),Credentials['Skey']=_0x935847,_0x935847;}return Credentials['Skey'];}catch(_0xd739c2){}return undefined;}static async['getUidByUin'](_0x2a6de3){const _0x5c8dd6=_0x5a6461,_0x1d346b={'dfnWn':_0x5c8dd6(0x11f)};let _0x291864=await NTEventDispatch[_0x5c8dd6(0xff)](_0x1d346b[_0x5c8dd6(0x12e)],0x1388,[_0x2a6de3]);return _0x291864['uidInfo'][_0x5c8dd6(0x143)](_0x2a6de3);}static async['getUinByUid'](_0x3fe548){const _0x1ee15d=_0x5a6461;if(!_0x3fe548)return'';let _0x1f824b=await NTEventDispatch[_0x1ee15d(0xff)]('NodeIKernelUixConvertService/getUin',0x1388,[_0x3fe548]);return _0x1f824b[_0x1ee15d(0x11c)][_0x1ee15d(0x143)](_0x3fe548);}static async[_0x5a6461(0x113)](_0x31b0fd){const _0x2ab69e=_0x5a6461,_0x5ba3cf={'lYVZU':_0x2ab69e(0x114)};return NTEventDispatch[_0x2ab69e(0xff)](_0x5ba3cf['lYVZU'],0x1388,_0x31b0fd);}}function _0x5f81(_0x58fed5,_0x59d7cc){const _0x4930f0=_0x4930();return _0x5f81=function(_0x5f815f,_0x437713){_0x5f815f=_0x5f815f-0xf5;let _0x3c2f5a=_0x4930f0[_0x5f815f];return _0x3c2f5a;},_0x5f81(_0x58fed5,_0x59d7cc);}function _0x4930(){const _0x34a62f=['PINsI','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','kgSew','POAGS','sCnyv','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','请求获取Cookies时失败','PskeyTime','setQQAvatar','onLoginSuccess','getProfileLikeService','JdMGR','1614InJyiq','get','47898BHZlPu','setLongNick','uin','skey','getTipOffService','623600UQdcEI','CreatTime','getUserDetailInfo\x20timeout','getBuddyService','gFCNn','1gysYgO','HttpsGetCookies','forEach','getMsgService','getTicketService','addListener','delete','2108448AYHIjp','FVwlC','getUserDetailInfo','getPSkey','onProfileDetailInfoChanged','getUserInfo','then','1961118zAWwLo','getRobotUinRange','VlCGH','result','getQzoneCookies','CallNoListenerEvent','getBuddyRecommendContactArkJson','now','drzbk','response','322996BDFSHk','modifyDesktopMiniProfile','ypdEm','%2Finfocenter&keyindex=19%27','&clientkey=','mLizj','270430PLSpWv','set','cuohP','session','mfAuL','RopcW','push','AwoFK','KeyIndex','getUserDetailInfoByUin','NodeIKernelProfileService/getUserDetailInfoByUin','errMsg','modifySelfProfile','robotUinRanges','getUserDetailInfoWithBizInfo','JGkzI','308WqPLxh','setStatus','uinInfo','getProfileService','SxaXr','NodeIKernelUixConvertService/getUid','DIRFX','assign','twuhJ','KnXkq','setHeader','domainPskeyMap','like','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','fromEntries','获取Pskey失败','VqMWh','PskeyData','ClientKey','setBuddyProfileLike','dfnWn','iVQdq','WEdWF','uid','IBZQO','setSelfOnlineStatus','clientKey','getRobotService'];_0x4930=function(){return _0x34a62f;};return _0x4930();} \ 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 953f5836..3bb784b2 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x39bba6=_0x1ba9;(function(_0x5c286a,_0x733fa1){const _0x9c834=_0x1ba9,_0x102e74=_0x5c286a();while(!![]){try{const _0x2028ac=-parseInt(_0x9c834(0x13e))/0x1*(parseInt(_0x9c834(0x173))/0x2)+parseInt(_0x9c834(0x176))/0x3+parseInt(_0x9c834(0x12f))/0x4*(-parseInt(_0x9c834(0x18b))/0x5)+-parseInt(_0x9c834(0x18c))/0x6*(parseInt(_0x9c834(0x15d))/0x7)+-parseInt(_0x9c834(0x139))/0x8*(parseInt(_0x9c834(0x186))/0x9)+-parseInt(_0x9c834(0x1a2))/0xa*(-parseInt(_0x9c834(0x11f))/0xb)+parseInt(_0x9c834(0x170))/0xc;if(_0x2028ac===_0x733fa1)break;else _0x102e74['push'](_0x102e74['shift']());}catch(_0x13e256){_0x102e74['push'](_0x102e74['shift']());}}}(_0x21b9,0x95ec5));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x1ba9(_0x4bfb27,_0x26e874){const _0x21b915=_0x21b9();return _0x1ba9=function(_0x1ba9e2,_0x3851ec){_0x1ba9e2=_0x1ba9e2-0x10b;let _0x2e645e=_0x21b915[_0x1ba9e2];return _0x2e645e;},_0x1ba9(_0x4bfb27,_0x26e874);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x21b9(){const _0x408b6c=['uin','genBkn','&bkn=','AfyNU','match','EmNhQ','lSPSp','QLPYP','LEGEND','620906MyDJyr','count','seBST','vEaUK','talkative','retcode','WxdQh','trFqY','RUXBs','XwQWW','ofhwv','VWnli','HttpGetText','&page_start=','FFrrf','LSQhW','3057412vCRkmC','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','KArkl','hLMlI','获取当前群荣耀失败','getGrouptNotice','emotion_list','hLpCQ','pwjme','fqFWb','16pODJHa','ZvOtG','JyhMY','UfiOd','qun.qq.com','163XRbSCu','ckxGD','bVFZx','LUgKF','now','CKlyX','errcode','VaNtm','JurwQ','MTmnE','HttpGetJson',';\x20uin=o','GET','CYUYQ','push','lGIzK','pUasX','get','eSXcQ','jobqs','NjIUT','BPsDZ','HVpKs','MXxdM','getGroupHonorInfo','VLdIl','EQbxf','p_skey=','legend_list','SbLkL','rAnsa','1255849YKwEZX','&page_limit=20','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','fsVVW','GAYDX','UQERj','bfENv','set','JmTgd','name','iPkyR','toString','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','获取快乐源泉失败','POST','ALL','getPSkey','pAyKI','description','29688564BoLvtx','bsddl','MWtmD','686Hbwmuy','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','GroupData','1205061hYgKxM','raMNz','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','HgKwq','charCodeAt','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','fDmYx','buJto','zmUsE',';\x20p_uin=o','avatar','emotion','desc','获取群聊炽焰失败','mbQWB','getSkey','2957598tOJMGq','mWSYD','actorList','oWPRr','QxFXa','5oZiUEe','30IFRPaz',';\x20skey=','eMTbc','EMOTION','FxzIT','TLvjU','talkative_list','XSVzr','friTk','IQuaW','performer_list','trim','RVHqU','setGroupNotice','BGFgR','svSkn','zaBrj','all','qRyFJ','zeELQ','mvJBm','jRpPY','20XKMQZN','LkckT','length','&text=','获取龙王信息失败','PERFROMER','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','&sort=1&gc=','TALKACTIVE','EGrgi','TaZAs','noWOJ','GroupTime','&end=','mems','lSgnZ'];_0x21b9=function(){return _0x408b6c;};return _0x21b9();}export var WebHonorType;(function(_0x16488c){const _0x44cedc=_0x1ba9,_0x36ecb7={'zmUsE':_0x44cedc(0x19d),'VjEvr':_0x44cedc(0x10e),'buJto':_0x44cedc(0x123),'FFrrf':_0x44cedc(0x10b),'TfjmY':'performer','BPsDZ':_0x44cedc(0x11e),'RKAJX':'legend','mbQWB':'STORONGE_NEWBI','QLPYP':_0x44cedc(0x18f),'GXcUD':_0x44cedc(0x181)};_0x16488c['ALL']=_0x36ecb7[_0x44cedc(0x17e)],_0x16488c[_0x36ecb7['VjEvr']]=_0x36ecb7[_0x44cedc(0x17d)],_0x16488c[_0x36ecb7[_0x44cedc(0x12d)]]=_0x36ecb7['TfjmY'],_0x16488c[_0x36ecb7[_0x44cedc(0x153)]]=_0x36ecb7['RKAJX'],_0x16488c[_0x36ecb7[_0x44cedc(0x184)]]='strong_newbie',_0x16488c[_0x36ecb7[_0x44cedc(0x11d)]]=_0x36ecb7['GXcUD'];}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x2c5bb7,_0x1ea25d){const _0x12f031=_0x1ba9,_0xcc1849={'QxFXa':'qun.qq.com','RVHqU':function(_0x24939d,_0x51ba96){return _0x24939d+_0x51ba96;},'lSPSp':function(_0x3d1b11,_0x22d34a){return _0x3d1b11+_0x22d34a;},'pwjme':_0x12f031(0x159),'zaBrj':_0x12f031(0x18d),'haIWI':_0x12f031(0x17f),'fDmYx':_0x12f031(0x149),'UQERj':function(_0xe4bdb3,_0x4f8dbb){return _0xe4bdb3||_0x4f8dbb;},'CKlyX':function(_0x1e6c3b,_0x56bbc8){return _0x1e6c3b+_0x56bbc8;},'KArkl':function(_0x4ff40e,_0x49ff7b){return _0x4ff40e+_0x49ff7b;},'CYUYQ':_0x12f031(0x174),'RUXBs':'&group_code=','ZvOtG':_0x12f031(0x12c),'bfENv':_0x12f031(0x15e),'JurwQ':_0x12f031(0x14a)},_0x13310e=(await NTQQUserApi[_0x12f031(0x16d)]([_0xcc1849[_0x12f031(0x18a)]]))[_0xcc1849['QxFXa']],_0x3a65f5=await NTQQUserApi[_0x12f031(0x185)](),_0x548da6=_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x11c)](_0xcc1849[_0x12f031(0x137)]+_0x13310e,_0xcc1849[_0x12f031(0x19c)]),_0x3a65f5)+_0xcc1849['haIWI'],selfInfo[_0x12f031(0x116)]),_0xcc1849[_0x12f031(0x17c)]),selfInfo[_0x12f031(0x116)]);if(_0xcc1849[_0x12f031(0x162)](!_0x3a65f5,!_0x13310e))return undefined;const _0x42bcaa=WebApi['genBkn'](_0x3a65f5),_0x297760=_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x143)](_0xcc1849[_0x12f031(0x11c)](_0xcc1849[_0x12f031(0x131)](_0xcc1849[_0x12f031(0x198)](_0xcc1849[_0x12f031(0x14b)],_0x42bcaa),_0xcc1849[_0x12f031(0x127)])+_0x2c5bb7,_0xcc1849[_0x12f031(0x13a)]),_0x1ea25d),_0xcc1849[_0x12f031(0x163)]);let _0x43be6d;try{_0x43be6d=await RequestUtil['HttpGetJson'](_0x297760,_0xcc1849[_0x12f031(0x146)],'',{'Cookie':_0x548da6});}catch{return undefined;}if(_0x43be6d[_0x12f031(0x124)]!==0x0)return undefined;return _0x43be6d;}static async['getGroupMembers'](_0x336030,_0x294621=!![]){const _0x8461b3=_0x1ba9,_0x3f09f3={'BGFgR':function(_0x50f51,_0x2f58d6){return _0x50f51>_0x2f58d6;},'trFqY':function(_0x3641e6,_0x421e80){return _0x3641e6-_0x421e80;},'pUasX':function(_0xbbb5c5,_0x423369){return _0xbbb5c5*_0x423369;},'IQuaW':_0x8461b3(0x13d),'noWOJ':function(_0x5ae5f3,_0x2f5fd1){return _0x5ae5f3+_0x2f5fd1;},'TaZAs':function(_0x57ee77,_0x48396f){return _0x57ee77+_0x48396f;},'JyhMY':function(_0x5ab8b6,_0xd34f38){return _0x5ab8b6||_0xd34f38;},'MTmnE':'&bkn=','NjIUT':_0x8461b3(0x16b),'TLvjU':function(_0x119be3,_0x579d0b){return _0x119be3!==_0x579d0b;},'mWSYD':function(_0xa44319,_0x408407){return _0xa44319/_0x408407;},'LkckT':function(_0x52fd9b,_0x2d17f3){return _0x52fd9b+_0x2d17f3;},'bVFZx':function(_0x1b6465,_0x222738){return _0x1b6465+_0x222738;},'qRyFJ':function(_0x4e3e10,_0x257a85){return _0x4e3e10+_0x257a85;},'RfzlL':_0x8461b3(0x15f),'eSXcQ':function(_0x44eb10,_0x43b009){return _0x44eb10*_0x43b009;},'esvlk':_0x8461b3(0x113),'AfyNU':_0x8461b3(0x10d),'ofhwv':function(_0x4d233e,_0x3475e5){return _0x4d233e!==_0x3475e5;}};let _0x84d08b=new Array();try{let _0x3e80fb=WebGroupData[_0x8461b3(0x175)][_0x8461b3(0x14f)](_0x336030),_0xf39a62=WebGroupData[_0x8461b3(0x112)][_0x8461b3(0x14f)](_0x336030);if(!_0xf39a62||_0x3f09f3[_0x8461b3(0x19a)](_0x3f09f3[_0x8461b3(0x126)](Date[_0x8461b3(0x142)](),_0xf39a62),_0x3f09f3[_0x8461b3(0x14e)](0x708,0x3e8))||!_0x294621){const _0x197f4c=(await NTQQUserApi['getPSkey']([_0x8461b3(0x13d)]))[_0x3f09f3[_0x8461b3(0x195)]],_0xb546a7=await NTQQUserApi['getSkey'](),_0x115284=_0x3f09f3[_0x8461b3(0x111)](_0x3f09f3['noWOJ'](_0x3f09f3[_0x8461b3(0x110)]('p_skey=',_0x197f4c)+_0x8461b3(0x18d),_0xb546a7),_0x8461b3(0x17f))+selfInfo[_0x8461b3(0x116)];if(_0x3f09f3[_0x8461b3(0x13b)](!_0xb546a7,!_0x197f4c))return _0x84d08b;const _0x14e2b0=WebApi[_0x8461b3(0x117)](_0xb546a7),_0x21cf73=[],_0x5ab367=await RequestUtil[_0x8461b3(0x148)](_0x3f09f3['noWOJ'](_0x3f09f3[_0x8461b3(0x111)](_0x3f09f3[_0x8461b3(0x111)](_0x8461b3(0x10c),_0x336030),_0x3f09f3[_0x8461b3(0x147)]),_0x14e2b0),_0x3f09f3[_0x8461b3(0x152)],'',{'Cookie':_0x115284});if(!_0x5ab367?.[_0x8461b3(0x120)]||_0x3f09f3[_0x8461b3(0x191)](_0x5ab367?.[_0x8461b3(0x144)],0x0)||!_0x5ab367?.[_0x8461b3(0x114)])return[];else for(const _0x29df4b in _0x5ab367[_0x8461b3(0x114)]){_0x84d08b[_0x8461b3(0x14c)](_0x5ab367[_0x8461b3(0x114)][_0x29df4b]);}const _0x410b8b=Math['ceil'](_0x3f09f3[_0x8461b3(0x187)](_0x5ab367[_0x8461b3(0x120)],0x28));for(let _0xb2bebd=0x2;_0xb2bebd<=_0x410b8b;_0xb2bebd++){const _0x34c2a3=RequestUtil['HttpGetJson'](_0x3f09f3[_0x8461b3(0x111)](_0x3f09f3['LkckT'](_0x3f09f3[_0x8461b3(0x1a3)](_0x3f09f3[_0x8461b3(0x140)](_0x3f09f3[_0x8461b3(0x19e)](_0x3f09f3['RfzlL'],_0x3f09f3['eSXcQ'](_0x3f09f3[_0x8461b3(0x126)](_0xb2bebd,0x1),0x28)),_0x3f09f3['esvlk']),_0x3f09f3[_0x8461b3(0x150)](_0xb2bebd,0x28))+_0x3f09f3[_0x8461b3(0x119)]+_0x336030,_0x3f09f3[_0x8461b3(0x147)]),_0x14e2b0),_0x8461b3(0x16b),'',{'Cookie':_0x115284});_0x21cf73[_0x8461b3(0x14c)](_0x34c2a3);}for(let _0x40d1a9=0x1;_0x40d1a9<=_0x410b8b;_0x40d1a9++){const _0x361d5f=await _0x21cf73[_0x40d1a9];if(!_0x361d5f?.[_0x8461b3(0x120)]||_0x3f09f3[_0x8461b3(0x129)](_0x361d5f?.['errcode'],0x0)||!_0x361d5f?.[_0x8461b3(0x114)])continue;for(const _0x12e4bc in _0x361d5f[_0x8461b3(0x114)]){_0x84d08b['push'](_0x361d5f['mems'][_0x12e4bc]);}}WebGroupData['GroupData'][_0x8461b3(0x164)](_0x336030,_0x84d08b),WebGroupData[_0x8461b3(0x112)][_0x8461b3(0x164)](_0x336030,Date[_0x8461b3(0x142)]());}else _0x84d08b=_0x3e80fb;}catch{return _0x84d08b;}return _0x84d08b;}static async[_0x39bba6(0x199)](_0x57e4b9,_0x46e386=''){const _0x4857ed=_0x39bba6,_0x1e8b83={'seBST':_0x4857ed(0x13d),'hLMlI':function(_0x4e0a19,_0xcde7fe){return _0x4e0a19+_0xcde7fe;},'ZMrzr':function(_0x27ad53,_0x462915){return _0x27ad53+_0x462915;},'EmNhQ':function(_0x53ebfa,_0x3f2c15){return _0x53ebfa+_0x3f2c15;},'jobqs':function(_0x4ffe35,_0x59f117){return _0x4ffe35+_0x59f117;},'iibyO':_0x4857ed(0x159),'DYJCr':_0x4857ed(0x18d),'VLdIl':_0x4857ed(0x17f),'JmTgd':function(_0x3cbfeb,_0x82da8a){return _0x3cbfeb||_0x82da8a;},'GAYDX':function(_0xc4ebc9,_0x4bf31a){return _0xc4ebc9+_0x4bf31a;},'mvJBm':function(_0x2a5dc7,_0x1675e7){return _0x2a5dc7+_0x1675e7;},'Bggwg':_0x4857ed(0x118),'sIOLK':_0x4857ed(0x1a5),'vTpGl':_0x4857ed(0x17b),'PAWIj':_0x4857ed(0x130),'EGrgi':'GET'},_0x530fc5=(await NTQQUserApi[_0x4857ed(0x16d)]([_0x1e8b83[_0x4857ed(0x121)]]))[_0x1e8b83['seBST']],_0x1a2047=await NTQQUserApi[_0x4857ed(0x185)](),_0x21f867=_0x1e8b83[_0x4857ed(0x132)](_0x1e8b83['ZMrzr'](_0x1e8b83[_0x4857ed(0x11b)](_0x1e8b83[_0x4857ed(0x151)](_0x1e8b83['iibyO'],_0x530fc5),_0x1e8b83['DYJCr']),_0x1a2047)+_0x1e8b83[_0x4857ed(0x157)],selfInfo['uin']);let _0x573280=undefined;if(_0x1e8b83[_0x4857ed(0x165)](!_0x1a2047,!_0x530fc5))return undefined;const _0x797c33=WebApi[_0x4857ed(0x117)](_0x1a2047),_0x4658f0=_0x1e8b83[_0x4857ed(0x11b)](_0x1e8b83['GAYDX'](_0x1e8b83[_0x4857ed(0x1a0)](_0x1e8b83[_0x4857ed(0x161)]('qid=',_0x57e4b9),_0x1e8b83['Bggwg'])+_0x797c33+_0x1e8b83['sIOLK'],_0x46e386),_0x1e8b83['vTpGl']),_0x31723a=_0x1e8b83[_0x4857ed(0x11b)](_0x1e8b83['PAWIj'],_0x797c33);try{return _0x573280=await RequestUtil[_0x4857ed(0x148)](_0x31723a,_0x1e8b83[_0x4857ed(0x10f)],'',{'Cookie':_0x21f867}),_0x573280;}catch(_0x9dddcb){return undefined;}return undefined;}static async[_0x39bba6(0x134)](_0x27a567){const _0x3aeb20=_0x39bba6,_0x8afa09={'VWnli':'qun.qq.com','eMTbc':function(_0x52888a,_0x2a4c9d){return _0x52888a+_0x2a4c9d;},'LUgKF':function(_0x5e8072,_0x54c43a){return _0x5e8072+_0x54c43a;},'jRpPY':_0x3aeb20(0x18d),'lSgnZ':_0x3aeb20(0x17f),'vEaUK':function(_0x5017ce,_0x44e9ab){return _0x5017ce||_0x44e9ab;},'ckxGD':function(_0x45012c,_0x5b21d5){return _0x45012c+_0x5b21d5;},'pAyKI':_0x3aeb20(0x178),'lGIzK':'&qid=','svSkn':_0x3aeb20(0x14a),'raMNz':function(_0x28ac1e,_0x4aa4c2){return _0x28ac1e!==_0x4aa4c2;}},_0x37f1fc=(await NTQQUserApi[_0x3aeb20(0x16d)]([_0x8afa09[_0x3aeb20(0x12a)]]))[_0x8afa09[_0x3aeb20(0x12a)]],_0x524e57=await NTQQUserApi[_0x3aeb20(0x185)](),_0x3c7869=_0x8afa09[_0x3aeb20(0x18e)](_0x8afa09['eMTbc'](_0x8afa09[_0x3aeb20(0x141)](_0x8afa09[_0x3aeb20(0x141)](_0x3aeb20(0x159)+_0x37f1fc,_0x8afa09[_0x3aeb20(0x1a1)]),_0x524e57),_0x8afa09[_0x3aeb20(0x115)]),selfInfo['uin']);let _0x120713=undefined;if(_0x8afa09[_0x3aeb20(0x122)](!_0x524e57,!_0x37f1fc))return undefined;const _0x3c6f05=WebApi['genBkn'](_0x524e57),_0x4c2b79=_0x8afa09['LUgKF'](_0x8afa09[_0x3aeb20(0x13f)](_0x8afa09[_0x3aeb20(0x16e)]+_0x3c6f05+_0x8afa09[_0x3aeb20(0x14d)],_0x27a567),_0x3aeb20(0x169));try{_0x120713=await RequestUtil[_0x3aeb20(0x148)](_0x4c2b79,_0x8afa09[_0x3aeb20(0x19b)],'',{'Cookie':_0x3c7869});if(_0x8afa09[_0x3aeb20(0x177)](_0x120713?.['ec'],0x0))return undefined;return _0x120713;}catch(_0x2a0631){return undefined;}return undefined;}static[_0x39bba6(0x117)](_0x230b5a){const _0x565c09=_0x39bba6,_0x1babef={'rAnsa':function(_0x11966a,_0x1e9026){return _0x11966a||_0x1e9026;},'fqFWb':function(_0x2ae8aa,_0x1c21b2){return _0x2ae8aa<_0x1c21b2;},'MWtmD':function(_0x1d5f14,_0x2786b8){return _0x1d5f14+_0x2786b8;},'lCngB':function(_0x3f7689,_0x5c1a6f){return _0x3f7689<<_0x5c1a6f;}};_0x230b5a=_0x1babef[_0x565c09(0x15c)](_0x230b5a,'');let _0xf6c86d=0x1505;for(let _0xf33f65=0x0;_0x1babef[_0x565c09(0x138)](_0xf33f65,_0x230b5a[_0x565c09(0x1a4)]);_0xf33f65++){const _0x1d79d3=_0x230b5a[_0x565c09(0x17a)](_0xf33f65);_0xf6c86d=_0x1babef[_0x565c09(0x172)](_0xf6c86d+_0x1babef['lCngB'](_0xf6c86d,0x5),_0x1d79d3);}return(_0xf6c86d&0x7fffffff)[_0x565c09(0x168)]();}static async[_0x39bba6(0x156)](_0x13f5e3,_0x3f4eb4){const _0x1c1ec4=_0x39bba6,_0x3388c1={'FxzIT':function(_0x5d3ffe,_0x54310e){return _0x5d3ffe+_0x54310e;},'pBdDm':'https://qun.qq.com/interactive/honorlist?gc=','XwQWW':'&type=','hLpCQ':_0x1c1ec4(0x14a),'UfiOd':function(_0x45c60,_0x5aef1c,_0x5f0989,_0x403788){return _0x45c60(_0x5aef1c,_0x5f0989,_0x403788);},'oWPRr':_0x1c1ec4(0x133),'WxdQh':_0x1c1ec4(0x13d),'XSVzr':function(_0x46d4ba,_0x2a37ba){return _0x46d4ba||_0x2a37ba;},'SbLkL':function(_0x5702ee,_0x24134d){return _0x5702ee+_0x24134d;},'MXxdM':function(_0x3084e8,_0x210ac9){return _0x3084e8+_0x210ac9;},'zeELQ':function(_0x26af2c,_0x583ae9){return _0x26af2c+_0x583ae9;},'LSQhW':_0x1c1ec4(0x159),'friTk':_0x1c1ec4(0x17f),'EQbxf':';\x20uin=o','iPkyR':function(_0x5e0ba1,_0x2538b7){return _0x5e0ba1===_0x2538b7;},'QgyrD':_0x1c1ec4(0x1a6),'HgKwq':function(_0x1dfd35,_0x5f2d61){return _0x1dfd35(_0x5f2d61);},'bsddl':function(_0x490c32,_0xb071e8,_0x32976e){return _0x490c32(_0xb071e8,_0x32976e);},'ZfPBA':'获取群聊之火失败','fsVVW':_0x1c1ec4(0x183),'HVpKs':function(_0x56cd71,_0x6cc613,_0x5f54a7){return _0x56cd71(_0x6cc613,_0x5f54a7);},'VaNtm':function(_0x511277,_0x136f05,_0x470380){return _0x511277(_0x136f05,_0x470380);},'nZaFS':function(_0x565bad,_0x563c13,_0x5a2274){return _0x565bad(_0x563c13,_0x5a2274);},'wJBVQ':function(_0x5c07ee,_0xd0e0b3){return _0x5c07ee===_0xd0e0b3;}},_0x17a55a=(await NTQQUserApi['getPSkey']([_0x3388c1[_0x1c1ec4(0x125)]]))[_0x3388c1['WxdQh']],_0x2911f1=await NTQQUserApi[_0x1c1ec4(0x185)]();if(_0x3388c1[_0x1c1ec4(0x193)](!_0x2911f1,!_0x17a55a))return undefined;async function _0x44d839(_0x6970f8,_0x225a42){const _0x4ca536=_0x1c1ec4;let _0x2e35a9=_0x3388c1['FxzIT'](_0x3388c1['pBdDm']+_0x6970f8,_0x3388c1[_0x4ca536(0x128)])+_0x225a42[_0x4ca536(0x168)](),_0x2c1af3='',_0x57bafb;try{_0x2c1af3=await RequestUtil[_0x4ca536(0x12b)](_0x2e35a9,_0x3388c1[_0x4ca536(0x136)],'',{'Cookie':_0x3817a8});const _0x4ff22d=_0x2c1af3[_0x4ca536(0x11a)](/window\.__INITIAL_STATE__=(.*?);/);return _0x4ff22d&&(_0x57bafb=JSON['parse'](_0x4ff22d[0x1][_0x4ca536(0x197)]())),_0x225a42===0x1?_0x57bafb?.['talkativeList']:_0x57bafb?.[_0x4ca536(0x188)];}catch(_0x54c045){_0x3388c1[_0x4ca536(0x13c)](logDebug,_0x3388c1[_0x4ca536(0x189)],_0x2e35a9,_0x54c045);}return undefined;}let _0x52bfd3={'group_id':_0x13f5e3};const _0x3817a8=_0x3388c1[_0x1c1ec4(0x15b)](_0x3388c1[_0x1c1ec4(0x15b)](_0x3388c1[_0x1c1ec4(0x155)](_0x3388c1[_0x1c1ec4(0x19f)](_0x3388c1[_0x1c1ec4(0x190)](_0x3388c1[_0x1c1ec4(0x12e)],_0x17a55a)+_0x1c1ec4(0x18d),_0x2911f1),_0x3388c1[_0x1c1ec4(0x194)]),selfInfo['uin'])+_0x3388c1[_0x1c1ec4(0x158)],selfInfo[_0x1c1ec4(0x116)]);if(_0x3388c1['iPkyR'](_0x3f4eb4,WebHonorType['TALKACTIVE'])||_0x3f4eb4===WebHonorType['ALL'])try{let _0x54353d=await _0x44d839(_0x13f5e3,0x1);if(!_0x54353d)throw new Error(_0x3388c1['QgyrD']);_0x52bfd3['current_talkative']={'user_id':_0x54353d[0x0]?.[_0x1c1ec4(0x116)],'avatar':_0x54353d[0x0]?.['avatar'],'nickname':_0x54353d[0x0]?.[_0x1c1ec4(0x166)],'day_count':0x0,'description':_0x54353d[0x0]?.[_0x1c1ec4(0x182)]},_0x52bfd3['talkative_list']=[];for(const _0x4241de of _0x54353d){_0x52bfd3[_0x1c1ec4(0x192)][_0x1c1ec4(0x14c)]({'user_id':_0x4241de?.['uin'],'avatar':_0x4241de?.[_0x1c1ec4(0x180)],'description':_0x4241de?.[_0x1c1ec4(0x182)],'day_count':0x0,'nickname':_0x4241de?.['name']});}}catch(_0x4a076a){_0x3388c1[_0x1c1ec4(0x179)](logDebug,_0x4a076a);}if(_0x3f4eb4===WebHonorType['PERFROMER']||_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x16c)]))try{let _0x5064f3=await _0x3388c1[_0x1c1ec4(0x171)](_0x44d839,_0x13f5e3,0x2);if(!_0x5064f3)throw new Error(_0x3388c1['ZfPBA']);_0x52bfd3[_0x1c1ec4(0x196)]=[];for(const _0x49a680 of _0x5064f3){_0x52bfd3[_0x1c1ec4(0x196)]['push']({'user_id':_0x49a680?.['uin'],'nickname':_0x49a680?.[_0x1c1ec4(0x166)],'avatar':_0x49a680?.[_0x1c1ec4(0x180)],'description':_0x49a680?.[_0x1c1ec4(0x182)]});}}catch(_0x123d6c){_0x3388c1['HgKwq'](logDebug,_0x123d6c);}if(_0x3f4eb4===WebHonorType[_0x1c1ec4(0x10b)]||_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x16c)]))try{let _0x235b4c=await _0x44d839(_0x13f5e3,0x3);if(!_0x235b4c)throw new Error(_0x3388c1[_0x1c1ec4(0x160)]);_0x52bfd3[_0x1c1ec4(0x15a)]=[];for(const _0x44b6ec of _0x235b4c){_0x52bfd3[_0x1c1ec4(0x15a)][_0x1c1ec4(0x14c)]({'user_id':_0x44b6ec?.[_0x1c1ec4(0x116)],'nickname':_0x44b6ec?.['name'],'avatar':_0x44b6ec?.[_0x1c1ec4(0x180)],'desc':_0x44b6ec?.['description']});}}catch(_0x1abba0){_0x3388c1[_0x1c1ec4(0x154)](logDebug,_0x3388c1['fsVVW'],_0x1abba0);}if(_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x18f)])||_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x16c)]))try{let _0x1c9c1a=await _0x3388c1[_0x1c1ec4(0x145)](_0x44d839,_0x13f5e3,0x6);if(!_0x1c9c1a)throw new Error(_0x1c1ec4(0x16a));_0x52bfd3[_0x1c1ec4(0x135)]=[];for(const _0x47b7ef of _0x1c9c1a){_0x52bfd3[_0x1c1ec4(0x135)][_0x1c1ec4(0x14c)]({'user_id':_0x47b7ef?.[_0x1c1ec4(0x116)],'nickname':_0x47b7ef?.[_0x1c1ec4(0x166)],'avatar':_0x47b7ef?.[_0x1c1ec4(0x180)],'desc':_0x47b7ef?.[_0x1c1ec4(0x16f)]});}}catch(_0x5c36f7){_0x3388c1['nZaFS'](logDebug,'获取快乐源泉失败',_0x5c36f7);}return(_0x3388c1[_0x1c1ec4(0x167)](_0x3f4eb4,WebHonorType['EMOTION'])||_0x3388c1['wJBVQ'](_0x3f4eb4,WebHonorType[_0x1c1ec4(0x16c)]))&&(_0x52bfd3['strong_newbie_list']=[]),_0x52bfd3;}} \ No newline at end of file +const _0x26b2df=_0x30cf;function _0x8639(){const _0x41d1ff=['HhOrB','ceil','TALKACTIVE','850461NugNOu','mATxr','3GVWmRp','zgtLl','获取当前群荣耀失败','HttpGetText','5fQTSeh','QibzU','emotion','Qvdpd','Plqao','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','THCbP','HttpGetJson','strong_newbie','XCaDK','GET','&type=','push','Jyksm','OqQLR','xijYz','genBkn','toString','&page_limit=20','GroupData','VLurz','STORONGE_NEWBI','VELeQ','oajrP','trim','FELwN','EMOTION','talkative','TaMwe','owFFf','performer_list','ALL','KlYaN','hlOeE','ITwCF','qun.qq.com','getGroupEssenceMsg','description','all','DeUja','3|4|2|5|1|0','yXDXa','errcode','actorList','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','JXwKT','qMQtY','3323610rZYYFx','&sort=1&gc=','XrSsA','nEKuP','AWsYq','bDZEk','aMoxX','iBMaf','aJdGq','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','IXWzR','&bkn=','p_skey=','xGoJs','gbmIY','zsyVm','20175694BoWEhB','smogj','tOHVB','FKMCb','&text=','ZeTpY','koROm','strong_newbie_list','mQDWM','&qid=','aAgJX','count','current_talkative','get','获取龙王信息失败','mems','FGUos','split','parse','avatar','VwWEz','sXRcG','rIuoT','KIcQH','7273089PTrDoX','BByqB','talkative_list','IaDQR','https://qun.qq.com/interactive/honorlist?gc=','545834ixVatY','IauEk','match','setGroupNotice','JKJFv','name','qFdMA','nmdLI','now','qid=','ytwiQ','&group_code=','GroupTime','获取快乐源泉失败','set','ispZP','performer','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','pUNyj','XeavN','TKYAK','uin','SNOrs','4592vgcwgf','vStVT',';\x20skey=','获取群聊炽焰失败','&end=','1731468ewEoZq','获取群聊之火失败','RWcUH','KoHzD',';\x20p_uin=o','4TFbWhQ','emotion_list','legend','&page_start=',';\x20uin=o','POST','yutqB','getPSkey','BfbqH','legend_list','talkativeList','GSiHB','getSkey','vmXZq','FSPMd','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','PERFROMER','Qmmtc','4704QGrMrp','QVkEH','desc','Arjxx','bsWMi','XKEfw','GkcZq','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','pZmFR','pmgrV'];_0x8639=function(){return _0x41d1ff;};return _0x8639();}(function(_0x2fc837,_0x567c02){const _0x249444=_0x30cf,_0x4bfb23=_0x2fc837();while(!![]){try{const _0xc21705=-parseInt(_0x249444(0x1fb))/0x1*(-parseInt(_0x249444(0x1b9))/0x2)+parseInt(_0x249444(0x1f9))/0x3*(-parseInt(_0x249444(0x1da))/0x4)+-parseInt(_0x249444(0x1ff))/0x5*(-parseInt(_0x249444(0x1d5))/0x6)+-parseInt(_0x249444(0x1ec))/0x7*(-parseInt(_0x249444(0x1d0))/0x8)+parseInt(_0x249444(0x1b4))/0x9+parseInt(_0x249444(0x18c))/0xa+-parseInt(_0x249444(0x19c))/0xb;if(_0xc21705===_0x567c02)break;else _0x4bfb23['push'](_0x4bfb23['shift']());}catch(_0xe2de50){_0x4bfb23['push'](_0x4bfb23['shift']());}}}(_0x8639,0x7df3a));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x30cf(_0x302469,_0x325f03){const _0x8639da=_0x8639();return _0x30cf=function(_0x30cff1,_0x19bb89){_0x30cff1=_0x30cff1-0x172;let _0x2ca46e=_0x8639da[_0x30cff1];return _0x2ca46e;},_0x30cf(_0x302469,_0x325f03);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x4e1b2b){const _0xb355c2=_0x30cf,_0x34b02f={'QibzU':'EMOTION','YjJYJ':_0xb355c2(0x172),'nmdLI':'PERFROMER','Jyksm':_0xb355c2(0x1c9),'TaMwe':_0xb355c2(0x17c),'BByqB':_0xb355c2(0x183),'SNOrs':_0xb355c2(0x1f8),'zsyVm':'LEGEND','FKMCb':_0xb355c2(0x1dc)},_0x1ccb9f=_0xb355c2(0x185)[_0xb355c2(0x1ad)]('|');let _0x95d766=0x0;while(!![]){switch(_0x1ccb9f[_0x95d766++]){case'0':_0x4e1b2b[_0x34b02f[_0xb355c2(0x200)]]=_0xb355c2(0x201);continue;case'1':_0x4e1b2b[_0x34b02f['YjJYJ']]=_0xb355c2(0x207);continue;case'2':_0x4e1b2b[_0x34b02f[_0xb355c2(0x1c0)]]=_0x34b02f[_0xb355c2(0x20c)];continue;case'3':_0x4e1b2b[_0x34b02f[_0xb355c2(0x179)]]=_0x34b02f[_0xb355c2(0x1b5)];continue;case'4':_0x4e1b2b[_0x34b02f[_0xb355c2(0x1cf)]]=_0xb355c2(0x178);continue;case'5':_0x4e1b2b[_0x34b02f[_0xb355c2(0x19b)]]=_0x34b02f[_0xb355c2(0x19f)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x26b2df(0x181)](_0x37fbee,_0x5ab9ca){const _0x2a8fea=_0x26b2df,_0x3c0688={'AWsYq':_0x2a8fea(0x180),'QVkEH':function(_0x5e5ed1,_0x29433b){return _0x5e5ed1+_0x29433b;},'VLurz':function(_0x59c336,_0x22de03){return _0x59c336+_0x22de03;},'VDikb':function(_0x229538,_0x3e8787){return _0x229538+_0x3e8787;},'IauEk':'p_skey=','rdFyu':_0x2a8fea(0x1d2),'aAgJX':function(_0x358cff,_0x6ff29b){return _0x358cff||_0x6ff29b;},'xGoJs':function(_0x5e73ed,_0x56d1ee){return _0x5e73ed+_0x56d1ee;},'oroxq':function(_0x19679a,_0x2f3164){return _0x19679a+_0x2f3164;},'HhOrB':function(_0x7c5956,_0x526053){return _0x7c5956+_0x526053;},'Plqao':function(_0xc06dc9,_0x57482f){return _0xc06dc9+_0x57482f;},'XKEfw':_0x2a8fea(0x1dd),'FGUos':_0x2a8fea(0x211),'UyuBS':_0x2a8fea(0x209),'Arjxx':function(_0x2332f8,_0x17b352){return _0x2332f8!==_0x17b352;}},_0x24a355=(await NTQQUserApi['getPSkey']([_0x3c0688[_0x2a8fea(0x190)]]))[_0x3c0688[_0x2a8fea(0x190)]],_0x48e72c=await NTQQUserApi['getSkey'](),_0x3bb505=_0x3c0688[_0x2a8fea(0x1ed)](_0x3c0688[_0x2a8fea(0x1ed)](_0x3c0688[_0x2a8fea(0x213)](_0x3c0688['VDikb'](_0x3c0688[_0x2a8fea(0x1ba)],_0x24a355)+_0x3c0688['rdFyu'],_0x48e72c)+_0x2a8fea(0x1d9),selfInfo[_0x2a8fea(0x1ce)])+_0x2a8fea(0x1de),selfInfo[_0x2a8fea(0x1ce)]);if(_0x3c0688[_0x2a8fea(0x1a6)](!_0x48e72c,!_0x24a355))return undefined;const _0x356e96=WebApi[_0x2a8fea(0x20f)](_0x48e72c),_0x4b0c8e=_0x3c0688[_0x2a8fea(0x199)](_0x3c0688['oroxq'](_0x3c0688[_0x2a8fea(0x1f6)](_0x3c0688['oroxq'](_0x3c0688[_0x2a8fea(0x203)](_0x2a8fea(0x204),_0x356e96),_0x2a8fea(0x1c4)),_0x37fbee),_0x3c0688[_0x2a8fea(0x1f1)]),_0x5ab9ca)+_0x3c0688[_0x2a8fea(0x1ac)];let _0x10b32e;try{_0x10b32e=await RequestUtil['HttpGetJson'](_0x4b0c8e,_0x3c0688['UyuBS'],'',{'Cookie':_0x3bb505});}catch{return undefined;}if(_0x3c0688[_0x2a8fea(0x1ef)](_0x10b32e['retcode'],0x0))return undefined;return _0x10b32e;}static async['getGroupMembers'](_0x374e90,_0x408bed=!![]){const _0x10bfcb=_0x26b2df,_0x1098fc={'yXDXa':function(_0x95f5eb,_0x27cf3f){return _0x95f5eb>_0x27cf3f;},'OqQLR':_0x10bfcb(0x180),'bsWMi':function(_0x39ab38,_0x4e999e){return _0x39ab38+_0x4e999e;},'pmgrV':function(_0x2802c9,_0x3fd470){return _0x2802c9+_0x3fd470;},'DvQyD':_0x10bfcb(0x198),'dwqWd':_0x10bfcb(0x1d2),'bDZEk':';\x20p_uin=o','rTqzt':function(_0x407438,_0x5714e9){return _0x407438||_0x5714e9;},'oajrP':function(_0x14a4c3,_0x28c9cb){return _0x14a4c3+_0x28c9cb;},'wJvOi':function(_0x20efa0,_0x23a6fa){return _0x20efa0/_0x23a6fa;},'Qmmtc':function(_0x2d02b7,_0x832cac){return _0x2d02b7<=_0x832cac;},'VELeQ':function(_0xedb899,_0x2fff94){return _0xedb899+_0x2fff94;},'GcfpZ':function(_0x320dcd,_0x16cfbe){return _0x320dcd+_0x16cfbe;},'gbmIY':function(_0x5e4309,_0x3039dc){return _0x5e4309+_0x3039dc;},'iBMaf':function(_0x5d25a0,_0x4612c7){return _0x5d25a0+_0x4612c7;},'mATxr':_0x10bfcb(0x189),'sXRcG':function(_0x2b461c,_0x5034f2){return _0x2b461c*_0x5034f2;},'owFFf':_0x10bfcb(0x1d4),'ytwiQ':_0x10bfcb(0x197),'GSiHB':_0x10bfcb(0x1df),'rIuoT':function(_0xfc6724,_0x2effe3){return _0xfc6724<=_0x2effe3;},'JXwKT':function(_0x568f15,_0x18e13){return _0x568f15!==_0x18e13;}};let _0x4693d1=new Array();try{let _0x39661d=WebGroupData[_0x10bfcb(0x212)]['get'](_0x374e90),_0x58f598=WebGroupData[_0x10bfcb(0x1c5)][_0x10bfcb(0x1a9)](_0x374e90);if(!_0x58f598||_0x1098fc[_0x10bfcb(0x186)](Date[_0x10bfcb(0x1c1)]()-_0x58f598,0x708*0x3e8)||!_0x408bed){const _0x13fd18=(await NTQQUserApi['getPSkey']([_0x1098fc[_0x10bfcb(0x20d)]]))[_0x1098fc[_0x10bfcb(0x20d)]],_0x255118=await NTQQUserApi[_0x10bfcb(0x1e6)](),_0xfd83de=_0x1098fc[_0x10bfcb(0x1f0)](_0x1098fc[_0x10bfcb(0x1f0)](_0x1098fc[_0x10bfcb(0x1f5)](_0x1098fc['DvQyD']+_0x13fd18+_0x1098fc['dwqWd'],_0x255118),_0x1098fc[_0x10bfcb(0x191)]),selfInfo[_0x10bfcb(0x1ce)]);if(_0x1098fc['rTqzt'](!_0x255118,!_0x13fd18))return _0x4693d1;const _0x59dde7=WebApi[_0x10bfcb(0x20f)](_0x255118),_0x458ff5=[],_0x2d3418=await RequestUtil[_0x10bfcb(0x206)](_0x1098fc[_0x10bfcb(0x174)](_0x1098fc[_0x10bfcb(0x1f5)](_0x10bfcb(0x1ca)+_0x374e90,'&bkn='),_0x59dde7),'POST','',{'Cookie':_0xfd83de});if(!_0x2d3418?.[_0x10bfcb(0x1a7)]||_0x2d3418?.[_0x10bfcb(0x187)]!==0x0||!_0x2d3418?.[_0x10bfcb(0x1ab)])return[];else for(const _0x223a2c in _0x2d3418['mems']){_0x4693d1[_0x10bfcb(0x20b)](_0x2d3418[_0x10bfcb(0x1ab)][_0x223a2c]);}const _0x451feb=Math[_0x10bfcb(0x1f7)](_0x1098fc['wJvOi'](_0x2d3418[_0x10bfcb(0x1a7)],0x28));for(let _0x410ee7=0x2;_0x1098fc[_0x10bfcb(0x1eb)](_0x410ee7,_0x451feb);_0x410ee7++){const _0xbdf08a=RequestUtil[_0x10bfcb(0x206)](_0x1098fc[_0x10bfcb(0x173)](_0x1098fc['GcfpZ'](_0x1098fc[_0x10bfcb(0x1f5)](_0x1098fc[_0x10bfcb(0x19a)](_0x1098fc[_0x10bfcb(0x193)](_0x1098fc['VELeQ'](_0x1098fc[_0x10bfcb(0x1fa)],_0x1098fc[_0x10bfcb(0x1b1)](_0x410ee7-0x1,0x28)),_0x1098fc[_0x10bfcb(0x17a)])+_0x1098fc[_0x10bfcb(0x1b1)](_0x410ee7,0x28),_0x10bfcb(0x18d)),_0x374e90),_0x1098fc[_0x10bfcb(0x1c3)]),_0x59dde7),_0x1098fc[_0x10bfcb(0x1e5)],'',{'Cookie':_0xfd83de});_0x458ff5['push'](_0xbdf08a);}for(let _0x22bade=0x1;_0x1098fc[_0x10bfcb(0x1b2)](_0x22bade,_0x451feb);_0x22bade++){const _0x22f77a=await _0x458ff5[_0x22bade];if(!_0x22f77a?.[_0x10bfcb(0x1a7)]||_0x1098fc[_0x10bfcb(0x18a)](_0x22f77a?.['errcode'],0x0)||!_0x22f77a?.[_0x10bfcb(0x1ab)])continue;for(const _0x15f260 in _0x22f77a['mems']){_0x4693d1[_0x10bfcb(0x20b)](_0x22f77a[_0x10bfcb(0x1ab)][_0x15f260]);}}WebGroupData[_0x10bfcb(0x212)][_0x10bfcb(0x1c7)](_0x374e90,_0x4693d1),WebGroupData[_0x10bfcb(0x1c5)][_0x10bfcb(0x1c7)](_0x374e90,Date[_0x10bfcb(0x1c1)]());}else _0x4693d1=_0x39661d;}catch{return _0x4693d1;}return _0x4693d1;}static async[_0x26b2df(0x1bc)](_0x5ecf72,_0x4e7a50=''){const _0x1bd412=_0x26b2df,_0x2c3728={'aJdGq':_0x1bd412(0x180),'ZeTpY':function(_0x2750f,_0x3b9a22){return _0x2750f+_0x3b9a22;},'zgtLl':function(_0x4e6ce6,_0x2b1a94){return _0x4e6ce6+_0x2b1a94;},'DeUja':_0x1bd412(0x198),'pUNyj':_0x1bd412(0x1d2),'xIZKj':';\x20p_uin=o','Nwifp':function(_0x50c9e1,_0x104ec3){return _0x50c9e1+_0x104ec3;},'smogj':function(_0x1485b7,_0x164238){return _0x1485b7+_0x164238;},'KIcQH':function(_0x2bfa43,_0x4b629d){return _0x2bfa43+_0x4b629d;},'GxSJS':_0x1bd412(0x1c2),'GuQSA':_0x1bd412(0x197),'XeavN':_0x1bd412(0x1e9),'hlOeE':_0x1bd412(0x1f3)},_0x32ccf6=(await NTQQUserApi[_0x1bd412(0x1e1)]([_0x2c3728[_0x1bd412(0x194)]]))[_0x2c3728['aJdGq']],_0x1afd83=await NTQQUserApi['getSkey'](),_0x5c720d=_0x2c3728['ZeTpY'](_0x2c3728[_0x1bd412(0x1fc)](_0x2c3728[_0x1bd412(0x1a1)](_0x2c3728[_0x1bd412(0x1fc)](_0x2c3728[_0x1bd412(0x1fc)](_0x2c3728[_0x1bd412(0x184)],_0x32ccf6),_0x2c3728[_0x1bd412(0x1cb)]),_0x1afd83),_0x2c3728['xIZKj']),selfInfo[_0x1bd412(0x1ce)]);let _0x5a24e9=undefined;if(!_0x1afd83||!_0x32ccf6)return undefined;const _0x1655b4=WebApi[_0x1bd412(0x20f)](_0x1afd83),_0x45fecb=_0x2c3728['ZeTpY'](_0x2c3728['Nwifp'](_0x2c3728[_0x1bd412(0x19d)](_0x2c3728[_0x1bd412(0x1b3)](_0x2c3728['GxSJS']+_0x5ecf72+_0x2c3728['GuQSA'],_0x1655b4),_0x1bd412(0x1a0)),_0x4e7a50),_0x2c3728[_0x1bd412(0x1cc)]),_0x225962=_0x2c3728['zgtLl'](_0x2c3728[_0x1bd412(0x17e)],_0x1655b4);try{return _0x5a24e9=await RequestUtil[_0x1bd412(0x206)](_0x225962,_0x1bd412(0x209),'',{'Cookie':_0x5c720d}),_0x5a24e9;}catch(_0x6b5c83){return undefined;}return undefined;}static async['getGrouptNotice'](_0x3e93b5){const _0x25d7b6=_0x26b2df,_0x384391={'qFdMA':_0x25d7b6(0x180),'yutqB':function(_0x7f39b8,_0xe79709){return _0x7f39b8+_0xe79709;},'THCbP':_0x25d7b6(0x198),'FAZMM':_0x25d7b6(0x1d9),'VwWEz':function(_0x417d23,_0x229267){return _0x417d23||_0x229267;},'koROm':function(_0x4e3a1b,_0x28ff69){return _0x4e3a1b+_0x28ff69;},'FSPMd':function(_0x1ffcc9,_0x30e561){return _0x1ffcc9+_0x30e561;},'SIquF':_0x25d7b6(0x195),'BfbqH':_0x25d7b6(0x209),'KoHzD':function(_0x24da4b,_0x22a7c2){return _0x24da4b!==_0x22a7c2;}},_0x892a56=(await NTQQUserApi['getPSkey']([_0x384391[_0x25d7b6(0x1bf)]]))[_0x384391['qFdMA']],_0x213a92=await NTQQUserApi['getSkey'](),_0x5c50a0=_0x384391[_0x25d7b6(0x1e0)](_0x384391[_0x25d7b6(0x1e0)](_0x384391['yutqB'](_0x384391[_0x25d7b6(0x205)],_0x892a56)+_0x25d7b6(0x1d2)+_0x213a92,_0x384391['FAZMM']),selfInfo[_0x25d7b6(0x1ce)]);let _0x3d5ae8=undefined;if(_0x384391[_0x25d7b6(0x1b0)](!_0x213a92,!_0x892a56))return undefined;const _0x7a80b3=WebApi['genBkn'](_0x213a92),_0x87e0f8=_0x384391[_0x25d7b6(0x1a2)](_0x384391[_0x25d7b6(0x1a2)](_0x384391['koROm'](_0x384391[_0x25d7b6(0x1e8)](_0x384391['SIquF'],_0x7a80b3),_0x25d7b6(0x1a5)),_0x3e93b5),'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20');try{_0x3d5ae8=await RequestUtil['HttpGetJson'](_0x87e0f8,_0x384391[_0x25d7b6(0x1e2)],'',{'Cookie':_0x5c50a0});if(_0x384391[_0x25d7b6(0x1d8)](_0x3d5ae8?.['ec'],0x0))return undefined;return _0x3d5ae8;}catch(_0x553e52){return undefined;}return undefined;}static[_0x26b2df(0x20f)](_0x5a57f0){const _0x5e47e6=_0x26b2df,_0x262c2a={'IaDQR':function(_0x20d5d9,_0x1fe6e4){return _0x20d5d9||_0x1fe6e4;},'KlYaN':function(_0x2a40ba,_0x153085){return _0x2a40ba<_0x153085;},'GkcZq':function(_0x5c1a43,_0xdeb99f){return _0x5c1a43+_0xdeb99f;},'vStVT':function(_0x44c56b,_0x1972cc){return _0x44c56b<<_0x1972cc;},'tOHVB':function(_0x309f7b,_0x5c282e){return _0x309f7b&_0x5c282e;}};_0x5a57f0=_0x262c2a[_0x5e47e6(0x1b7)](_0x5a57f0,'');let _0x2b4533=0x1505;for(let _0x2aaa8c=0x0;_0x262c2a[_0x5e47e6(0x17d)](_0x2aaa8c,_0x5a57f0['length']);_0x2aaa8c++){const _0xc5a8a4=_0x5a57f0['charCodeAt'](_0x2aaa8c);_0x2b4533=_0x262c2a[_0x5e47e6(0x1f2)](_0x262c2a[_0x5e47e6(0x1f2)](_0x2b4533,_0x262c2a[_0x5e47e6(0x1d1)](_0x2b4533,0x5)),_0xc5a8a4);}return _0x262c2a[_0x5e47e6(0x19e)](_0x2b4533,0x7fffffff)[_0x5e47e6(0x210)]();}static async['getGroupHonorInfo'](_0x3fa88d,_0x4f9771){const _0x2f0fba=_0x26b2df,_0x3dcdbf={'QvAXa':function(_0x4c6b3d,_0x136c18){return _0x4c6b3d+_0x136c18;},'JKJFv':_0x2f0fba(0x1b8),'MKzhg':_0x2f0fba(0x20a),'mQDWM':function(_0x3cad0c,_0x40e8f5){return _0x3cad0c===_0x40e8f5;},'PKmRO':_0x2f0fba(0x1fd),'IXWzR':_0x2f0fba(0x180),'FXlzm':function(_0x49ecc5,_0x3c4c6c){return _0x49ecc5||_0x3c4c6c;},'MXHpW':function(_0x263cf5,_0x4d9c74){return _0x263cf5+_0x4d9c74;},'nEKuP':function(_0x41989c,_0xddc6a8){return _0x41989c+_0xddc6a8;},'TKYAK':function(_0x5b1ecb,_0x3eb0c2){return _0x5b1ecb+_0x3eb0c2;},'qMQtY':function(_0x511bb4,_0x331274){return _0x511bb4+_0x331274;},'xijYz':'p_skey=','RWcUH':_0x2f0fba(0x1d2),'XCaDK':_0x2f0fba(0x1d9),'pZmFR':_0x2f0fba(0x1de),'ispZP':function(_0x258fd0,_0x259407){return _0x258fd0===_0x259407;},'ITwCF':function(_0x57f3cf,_0x4ab78a,_0x26fc58){return _0x57f3cf(_0x4ab78a,_0x26fc58);},'XrSsA':function(_0x11e8ab,_0x541d56){return _0x11e8ab(_0x541d56);},'aMoxX':function(_0x1efc1a,_0x40a04e){return _0x1efc1a===_0x40a04e;},'vmXZq':function(_0x25158c,_0x32da02){return _0x25158c===_0x32da02;},'FELwN':function(_0x5d32aa,_0x431e7b,_0x509022){return _0x5d32aa(_0x431e7b,_0x509022);},'FblpQ':_0x2f0fba(0x1d3),'Qvdpd':_0x2f0fba(0x1c6)},_0x183240=(await NTQQUserApi[_0x2f0fba(0x1e1)]([_0x3dcdbf[_0x2f0fba(0x196)]]))[_0x3dcdbf['IXWzR']],_0x44f7fa=await NTQQUserApi['getSkey']();if(_0x3dcdbf['FXlzm'](!_0x44f7fa,!_0x183240))return undefined;async function _0x50262e(_0x40e061,_0x5da768){const _0x40a8ec=_0x2f0fba;let _0x908ef0=_0x3dcdbf['QvAXa'](_0x3dcdbf[_0x40a8ec(0x1bd)]+_0x40e061+_0x3dcdbf['MKzhg'],_0x5da768[_0x40a8ec(0x210)]()),_0x4dd1f9='',_0x58e103;try{_0x4dd1f9=await RequestUtil[_0x40a8ec(0x1fe)](_0x908ef0,_0x40a8ec(0x209),'',{'Cookie':_0x3e3cc8});const _0x57f014=_0x4dd1f9[_0x40a8ec(0x1bb)](/window\.__INITIAL_STATE__=(.*?);/);return _0x57f014&&(_0x58e103=JSON[_0x40a8ec(0x1ae)](_0x57f014[0x1][_0x40a8ec(0x175)]())),_0x3dcdbf[_0x40a8ec(0x1a4)](_0x5da768,0x1)?_0x58e103?.[_0x40a8ec(0x1e4)]:_0x58e103?.[_0x40a8ec(0x188)];}catch(_0x1820ae){logDebug(_0x3dcdbf['PKmRO'],_0x908ef0,_0x1820ae);}return undefined;}let _0x3cc484={'group_id':_0x3fa88d};const _0x3e3cc8=_0x3dcdbf['MXHpW'](_0x3dcdbf[_0x2f0fba(0x18f)](_0x3dcdbf[_0x2f0fba(0x1cd)](_0x3dcdbf[_0x2f0fba(0x18b)](_0x3dcdbf[_0x2f0fba(0x20e)]+_0x183240,_0x3dcdbf[_0x2f0fba(0x1d7)]),_0x44f7fa),_0x3dcdbf[_0x2f0fba(0x208)])+selfInfo['uin']+_0x3dcdbf[_0x2f0fba(0x1f4)],selfInfo[_0x2f0fba(0x1ce)]);if(_0x3dcdbf[_0x2f0fba(0x1c8)](_0x4f9771,WebHonorType[_0x2f0fba(0x1f8)])||_0x3dcdbf[_0x2f0fba(0x1a4)](_0x4f9771,WebHonorType[_0x2f0fba(0x17c)]))try{let _0x42d825=await _0x3dcdbf[_0x2f0fba(0x17f)](_0x50262e,_0x3fa88d,0x1);if(!_0x42d825)throw new Error(_0x2f0fba(0x1aa));_0x3cc484[_0x2f0fba(0x1a8)]={'user_id':_0x42d825[0x0]?.[_0x2f0fba(0x1ce)],'avatar':_0x42d825[0x0]?.[_0x2f0fba(0x1af)],'nickname':_0x42d825[0x0]?.[_0x2f0fba(0x1be)],'day_count':0x0,'description':_0x42d825[0x0]?.['desc']},_0x3cc484[_0x2f0fba(0x1b6)]=[];for(const _0x20b78a of _0x42d825){_0x3cc484['talkative_list'][_0x2f0fba(0x20b)]({'user_id':_0x20b78a?.[_0x2f0fba(0x1ce)],'avatar':_0x20b78a?.[_0x2f0fba(0x1af)],'description':_0x20b78a?.[_0x2f0fba(0x1ee)],'day_count':0x0,'nickname':_0x20b78a?.[_0x2f0fba(0x1be)]});}}catch(_0x292648){logDebug(_0x292648);}if(_0x4f9771===WebHonorType[_0x2f0fba(0x1ea)]||_0x3dcdbf['mQDWM'](_0x4f9771,WebHonorType[_0x2f0fba(0x17c)]))try{let _0xd17c8b=await _0x3dcdbf[_0x2f0fba(0x17f)](_0x50262e,_0x3fa88d,0x2);if(!_0xd17c8b)throw new Error(_0x2f0fba(0x1d6));_0x3cc484['performer_list']=[];for(const _0x53c22c of _0xd17c8b){_0x3cc484[_0x2f0fba(0x17b)][_0x2f0fba(0x20b)]({'user_id':_0x53c22c?.['uin'],'nickname':_0x53c22c?.[_0x2f0fba(0x1be)],'avatar':_0x53c22c?.['avatar'],'description':_0x53c22c?.[_0x2f0fba(0x1ee)]});}}catch(_0x562bcb){_0x3dcdbf[_0x2f0fba(0x18e)](logDebug,_0x562bcb);}if(_0x3dcdbf[_0x2f0fba(0x192)](_0x4f9771,WebHonorType[_0x2f0fba(0x1ea)])||_0x3dcdbf[_0x2f0fba(0x1e7)](_0x4f9771,WebHonorType['ALL']))try{let _0x156838=await _0x3dcdbf[_0x2f0fba(0x176)](_0x50262e,_0x3fa88d,0x3);if(!_0x156838)throw new Error(_0x3dcdbf['FblpQ']);_0x3cc484[_0x2f0fba(0x1e3)]=[];for(const _0x5ce466 of _0x156838){_0x3cc484[_0x2f0fba(0x1e3)][_0x2f0fba(0x20b)]({'user_id':_0x5ce466?.['uin'],'nickname':_0x5ce466?.[_0x2f0fba(0x1be)],'avatar':_0x5ce466?.[_0x2f0fba(0x1af)],'desc':_0x5ce466?.[_0x2f0fba(0x182)]});}}catch(_0x2e9b63){_0x3dcdbf[_0x2f0fba(0x176)](logDebug,_0x3dcdbf['FblpQ'],_0x2e9b63);}if(_0x3dcdbf['ispZP'](_0x4f9771,WebHonorType[_0x2f0fba(0x177)])||_0x4f9771===WebHonorType[_0x2f0fba(0x17c)])try{let _0x13f030=await _0x3dcdbf['FELwN'](_0x50262e,_0x3fa88d,0x6);if(!_0x13f030)throw new Error(_0x3dcdbf[_0x2f0fba(0x202)]);_0x3cc484['emotion_list']=[];for(const _0x5084f0 of _0x13f030){_0x3cc484[_0x2f0fba(0x1db)][_0x2f0fba(0x20b)]({'user_id':_0x5084f0?.[_0x2f0fba(0x1ce)],'nickname':_0x5084f0?.[_0x2f0fba(0x1be)],'avatar':_0x5084f0?.[_0x2f0fba(0x1af)],'desc':_0x5084f0?.[_0x2f0fba(0x182)]});}}catch(_0x5599a7){logDebug(_0x2f0fba(0x1c6),_0x5599a7);}return(_0x3dcdbf[_0x2f0fba(0x1c8)](_0x4f9771,WebHonorType[_0x2f0fba(0x177)])||_0x3dcdbf[_0x2f0fba(0x1a4)](_0x4f9771,WebHonorType[_0x2f0fba(0x17c)]))&&(_0x3cc484[_0x2f0fba(0x1a3)]=[]),_0x3cc484;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index e396636b..a87844e6 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x251aa1=_0x566c;(function(_0x3e3379,_0x53f616){const _0x534602=_0x566c,_0x182b4d=_0x3e3379();while(!![]){try{const _0x2b9792=parseInt(_0x534602(0x13e))/0x1+parseInt(_0x534602(0x109))/0x2+-parseInt(_0x534602(0x10d))/0x3*(-parseInt(_0x534602(0x125))/0x4)+parseInt(_0x534602(0xfb))/0x5*(-parseInt(_0x534602(0x118))/0x6)+-parseInt(_0x534602(0x15c))/0x7*(-parseInt(_0x534602(0xbd))/0x8)+-parseInt(_0x534602(0xc2))/0x9+parseInt(_0x534602(0x115))/0xa*(-parseInt(_0x534602(0x10c))/0xb);if(_0x2b9792===_0x53f616)break;else _0x182b4d['push'](_0x182b4d['shift']());}catch(_0x5d0b0b){_0x182b4d['push'](_0x182b4d['shift']());}}}(_0x47d9,0x8d62f));import _0x8d627 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5d5a5f from'node:path';import _0x1fef52 from'node:os';import _0x316959 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x1268ca from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x47d9(){const _0x4b8570=['isDelete','homedir','clientType','[KickedOffLine]\x20[','INVrh','luCap','140022008','onQRCodeGetPicture','set','NodeIGlobalAdapter','本账号数据/缓存目录:','502643xcbhbE','packet_sent','onGroupListUpdate','getBuddyList','登录失败','read','没有可快速登录的QQ号','tipsDesc','md5','./nt_qq/global','passwordLogin','createMemberListScene','启动失败:\x20','groupMemberList_MainWindow','账号设备(','onMemberInfoChange','util','curVersion','V1_WIN_NQ_','pngBase64QrcodeData','engine','ProfileListener','_GW_B','NodeIKernelLoginService','delete','sceneId',')\x20在线状态变更','startNT','hZBst','qrcodeUrl','1921983FBEnae','message_sent','快速登录失败\x20','quickLogin','addKernelProfileListener','faolv','onSelfStatusChanged','NodeQQNTWrapperUtil','Ljnhx','data:image/png;base64,','QegsG','addKernelGroupListener','当前账号(','floor','constructor','数据库初始化失败','addKernelLoginListener','onKickedOffLine','iRyKc','getMsgService','onSessionInitComplete','init','140022013','MsgListener','loginListener','dataPath','getLoginList','memberCount','nEGqL','KdIiH','NodeIKernelLoginListener','aUkcI','16smnAvN','devUid','getQRCodePicture','JqzYu','getNextMemberList','2479050PeYDhl','then','getNTUserDataInfoConfig','stringify','getProfileService','MWzkS','isQuickLogin','ZbvDW','DOVba','ETiwb','CRgsD','onProfileDetailInfoChanged','TJrfu','FIggH','loginErrorInfo',')已登录,无法重复登录','session','gQyaj','onUserLoggedIn','packet_received','getGroupService','length','has','ZdaXi','NodeIQQNTWrapperSession','PYyNa','BuddyListener','map','addKernelMsgListener','resolve','kOaXS','BRRLn','jiBTx','proxyHandler','onLineDev','uid','onRecvSysMsg','from','digest','initWithDeskTopConfig','lSvxn','groupCode','ZfQwy','SZRzP','NodeIDependsAdapter','zBkCK','onLoginSuccessFuncList','now','SHDeE','catch','快速登录不可用','uin','iyBgL','split','KuzDA','XmXVC','dmbZs','888605GfQkQb','addKernelBuddyListener','addListener','buddyList','getQuickLoginList','NodeIKernelSessionListener','onAddSendMsg','find','update','assign','getBuddyService','NodeIKernelBuddyListener','infos','qrLogin','632708CWHeHF','KjoSS','initDataListener','11ZZkVZg','3360282bOOGaJ','ZBKHm','CHdzq','onLoginSuccess','loginService','consoleLogLevel','consoleLog','initConfig','7450550eFqPqt','replace','get','30OmSebd','vndxW','bzhmX','fileLog','MMFfJ','WXpre','createHash','dataPathGlobal','initSession','forEach','wNokp','mkdirSync','POTmr','4DlmVkR','rDJux','onRecvMsg','onLoginFailed','last_message_time','tipsTitle','NodeIQQNTWrapperEngine','LocalLoginInfoList','name','result','fileLogLevel','init\x20failed\x20','-v2.db','onQRCodeSessionFailed'];_0x47d9=function(){return _0x4b8570;};return _0x47d9();}function _0x566c(_0x6cfd0b,_0x393e6e){const _0x47d980=_0x47d9();return _0x566c=function(_0x566c54,_0x52c166){_0x566c54=_0x566c54-0xae;let _0x2fcf21=_0x47d980[_0x566c54];return _0x2fcf21;},_0x566c(_0x6cfd0b,_0x393e6e);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x251aa1(0xd2)];[_0x251aa1(0x14e)];[_0x251aa1(0x152)];[_0x251aa1(0xb5)];['loginService'];['onLoginSuccessFuncList']=[];[_0x251aa1(0xe3)]={'get'(target,prop,receiver){const _0x524744=_0x251aa1,GujdXa={'ApJGG':function(callee,param1){return callee(param1);},'ZbvDW':function(x,y){return x===y;},'ZBKHm':'undefined'};if(GujdXa[_0x524744(0xc9)](typeof target[prop],GujdXa[_0x524744(0x10e)]))return(...args)=>{const _0x357024=_0x524744;GujdXa['ApJGG'](logDebug,target[_0x357024(0x16a)][_0x357024(0x12d)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0xa55978=_0x251aa1,_0x4c51ee={'INVrh':function(_0x4ca69d,_0x2bf6c2){return _0x4ca69d(_0x2bf6c2);},'CRgsD':function(_0x14ab5a,_0x3512c1){return _0x14ab5a+_0x3512c1;},'iyBgL':_0xa55978(0x168),'ZfQwy':function(_0x6507c9,_0x212dcd,_0x385a88){return _0x6507c9(_0x212dcd,_0x385a88);},'JqzYu':function(_0x413d21,_0x4b73f9){return _0x413d21(_0x4b73f9);},'ETiwb':_0xa55978(0x13d),'QegsG':function(_0x5b9345,_0x36112b,_0x13f522){return _0x5b9345(_0x36112b,_0x13f522);},'wNokp':_0xa55978(0x142),'nEGqL':function(_0x43ce17,_0x4e945f){return _0x43ce17==_0x4e945f;},'dtWct':function(_0x333f06,_0x51715e){return _0x333f06==_0x51715e;}};this[_0xa55978(0x152)]=new _0x8d627[(_0xa55978(0x12b))](),this[_0xa55978(0x14e)]=new _0x8d627[(_0xa55978(0x163))](),this['loginService']=new _0x8d627[(_0xa55978(0x155))](),this[_0xa55978(0xd2)]=new _0x8d627[(_0xa55978(0xda))](),this[_0xa55978(0xb5)]=new LoginListener(),this[_0xa55978(0xb5)][_0xa55978(0xd4)]=_0x2c18c0=>{const _0x5837f4=_0xa55978;_0x4c51ee['INVrh'](logError,_0x4c51ee[_0x5837f4(0xcc)](_0x4c51ee[_0x5837f4(0xf6)]+_0x2c18c0,_0x5837f4(0xd1)));},this[_0xa55978(0xb5)]['onQRCodeLoginSucceed']=_0xcc2365=>{const _0x18ace8=_0xa55978,_0x51cd72={'Ljnhx':function(_0x5100a1,_0x56a206,_0x39fc96){const _0xeb6d46=_0x566c;return _0x4c51ee[_0xeb6d46(0xec)](_0x5100a1,_0x56a206,_0x39fc96);},'JIlTf':function(_0x2e49b8,_0x52934b){return _0x4c51ee['INVrh'](_0x2e49b8,_0x52934b);},'VlJlo':function(_0x419f6a,_0x12aa3d){const _0x425841=_0x566c;return _0x4c51ee[_0x425841(0x137)](_0x419f6a,_0x12aa3d);},'kOaXS':function(_0x27e587,_0x569a89){const _0x5cd0a1=_0x566c;return _0x4c51ee[_0x5cd0a1(0xc0)](_0x27e587,_0x569a89);},'DsCWm':'./NapCat/data','jiBTx':_0x4c51ee[_0x18ace8(0xcb)]};this[_0x18ace8(0x120)](_0xcc2365[_0x18ace8(0xf5)],_0xcc2365[_0x18ace8(0xe5)])[_0x18ace8(0xc3)](_0x56b0e0=>{const _0x52a086=_0x18ace8,_0x4e5d1e={'MWzkS':function(_0x91f9e1,_0x10db01,_0x56eed8){const _0x6dcb6=_0x566c;return _0x51cd72[_0x6dcb6(0x164)](_0x91f9e1,_0x10db01,_0x56eed8);},'POTmr':_0x52a086(0x16b)};selfInfo[_0x52a086(0xf5)]=_0xcc2365[_0x52a086(0xf5)],selfInfo[_0x52a086(0xe5)]=_0xcc2365[_0x52a086(0xe5)],napCatConfig[_0x52a086(0x143)](),_0x51cd72[_0x52a086(0x164)](setLogLevel,napCatConfig[_0x52a086(0x12f)],napCatConfig[_0x52a086(0x112)]),_0x51cd72['JIlTf'](enableFileLog,napCatConfig[_0x52a086(0x11b)]),_0x51cd72['VlJlo'](enableConsoleLog,napCatConfig[_0x52a086(0x113)]),_0x51cd72[_0x52a086(0xe0)](setLogSelfInfo,selfInfo);const _0x5dea6a=_0x5d5a5f[_0x52a086(0xdf)](this[_0x52a086(0xb6)],_0x51cd72['DsCWm']);_0x316959['mkdirSync'](_0x5dea6a,{'recursive':!![]}),_0x51cd72[_0x52a086(0x164)](logDebug,_0x51cd72[_0x52a086(0xe2)],_0x5dea6a),dbUtil[_0x52a086(0xb2)](_0x5d5a5f[_0x52a086(0xdf)](_0x5dea6a,'./'+_0xcc2365[_0x52a086(0xf5)]+_0x52a086(0x131)))[_0x52a086(0xc3)](()=>{const _0x4a98f6=_0x52a086;this[_0x4a98f6(0x10b)](),this['onLoginSuccessFuncList']['map'](_0x118bdf=>{const _0x2c8a0f=_0x4a98f6,_0x4a5a47={'hZBst':function(_0x8f33f5,_0x5388dc,_0x5d52fe){const _0x5c7648=_0x566c;return _0x4e5d1e[_0x5c7648(0xc7)](_0x8f33f5,_0x5388dc,_0x5d52fe);},'luCap':function(_0x591c96,_0x1ff451){return _0x591c96 instanceof _0x1ff451;}};new Promise((_0x1ef09b,_0x1744ac)=>{const _0x19b711=_0x566c,_0x126283=_0x4a5a47[_0x19b711(0x15a)](_0x118bdf,_0xcc2365['uin'],_0xcc2365[_0x19b711(0xe5)]);_0x4a5a47[_0x19b711(0x138)](_0x126283,Promise)&&_0x126283[_0x19b711(0xc3)](_0x1ef09b)['catch'](_0x1744ac);})[_0x2c8a0f(0xc3)]();});})[_0x52a086(0xf3)](_0x2e12a6=>{const _0x53b9a0=_0x52a086;logError(_0x4e5d1e[_0x53b9a0(0x124)],_0x2e12a6);});})[_0x18ace8(0xf3)](_0x2342f0=>{const _0x4b8851=_0x18ace8;logError('initSession\x20failed',_0x2342f0);throw new Error(_0x4b8851(0x14a)+JSON[_0x4b8851(0xc5)](_0x2342f0));});},this[_0xa55978(0xb5)][_0xa55978(0x132)]=(_0x20d7b8,_0x504925,_0x1b382a)=>{const _0x883d0d=_0xa55978;_0x4c51ee[_0x883d0d(0x166)](logError,_0x4c51ee[_0x883d0d(0x122)],_0x1b382a),_0x4c51ee[_0x883d0d(0xb9)](_0x20d7b8,0x1)&&_0x4c51ee['dtWct'](_0x504925,0x3)&&this[_0x883d0d(0x111)][_0x883d0d(0xbf)]();},this['loginListener'][_0xa55978(0x128)]=_0x43ed2a=>{const _0x1ff397=_0xa55978;_0x4c51ee[_0x1ff397(0x166)](logError,_0x4c51ee[_0x1ff397(0x122)],_0x43ed2a);},this['loginListener']=new Proxy(this[_0xa55978(0xb5)],this[_0xa55978(0xe3)]),this[_0xa55978(0x111)][_0xa55978(0x16c)](new _0x8d627[(_0xa55978(0xbb))](this['loginListener'])),this[_0xa55978(0x114)]();}get[_0x251aa1(0xb6)](){const _0x2855dc=_0x251aa1,_0x47ac03={'DOVba':'./.config/QQ'};let _0x35c519=this[_0x2855dc(0x14e)][_0x2855dc(0xc4)]();return!_0x35c519&&(_0x35c519=_0x5d5a5f[_0x2855dc(0xdf)](_0x1fef52[_0x2855dc(0x134)](),_0x47ac03[_0x2855dc(0xca)]),_0x316959[_0x2855dc(0x123)](_0x35c519,{'recursive':!![]})),_0x35c519;}get[_0x251aa1(0x11f)](){const _0x2b02b2=_0x251aa1;return _0x5d5a5f[_0x2b02b2(0xdf)](this[_0x2b02b2(0xb6)],_0x2b02b2(0x147));}['initConfig'](){const _0x6b0329=_0x251aa1,_0x42aed8={'KdIiH':'Windows\x2010\x20Pro'};this[_0x6b0329(0x152)][_0x6b0329(0xe9)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x6b0329(0x14f)],'os_version':_0x42aed8[_0x6b0329(0xba)],'use_xlog':!![],'qua':_0x6b0329(0x150)+qqVersionConfigInfo[_0x6b0329(0x14f)][_0x6b0329(0x116)]('-','_')+_0x6b0329(0x154),'global_path_config':{'desktopGlobalPath':this[_0x6b0329(0x11f)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x8d627[(_0x6b0329(0x13c))](new GlobalAdapter())),this[_0x6b0329(0x111)][_0x6b0329(0x114)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x6b0329(0x11f)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x251aa1(0x120)](_0x382e99,_0x17dab6){const _0x39b757={'CHdzq':function(_0x38bc9d,_0x3b865f){return _0x38bc9d(_0x3b865f);},'FIggH':function(_0x44d7d6,_0x2068bc,_0x3fb571,_0x51b5f8){return _0x44d7d6(_0x2068bc,_0x3fb571,_0x51b5f8);},'BRRLn':function(_0x478abb,_0x7730e2){return _0x478abb(_0x7730e2);},'PYyNa':function(_0x581101,_0x2a7ac0){return _0x581101+_0x2a7ac0;}};return new Promise(async(_0x139f88,_0x25dd86)=>{const _0x1e9a05=_0x566c,_0x22f574={'vndxW':function(_0x459bd5,_0x344f7c){const _0x2ec9b5=_0x566c;return _0x39b757[_0x2ec9b5(0x10f)](_0x459bd5,_0x344f7c);}},_0x35ae21=await _0x39b757[_0x1e9a05(0xcf)](genSessionConfig,_0x382e99,_0x17dab6,this[_0x1e9a05(0xb6)]),_0x2e3219=new SessionListener();_0x2e3219[_0x1e9a05(0xb1)]=_0x18a121=>{const _0x4b073e=_0x1e9a05;if(_0x18a121===0x0)return _0x139f88(0x0);_0x22f574[_0x4b073e(0x119)](_0x25dd86,_0x18a121);},this[_0x1e9a05(0xd2)][_0x1e9a05(0xb2)](_0x35ae21,new _0x8d627[(_0x1e9a05(0xee))](new DependsAdapter()),new _0x8d627['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x8d627[(_0x1e9a05(0x100))](_0x2e3219));try{this[_0x1e9a05(0xd2)]['startNT'](0x0);}catch(_0x301d69){try{this[_0x1e9a05(0xd2)][_0x1e9a05(0x159)]();}catch(_0x4f01dd){_0x39b757[_0x1e9a05(0xe1)](_0x25dd86,_0x39b757[_0x1e9a05(0xdb)](_0x1e9a05(0x130),_0x4f01dd));}}});}['initDataListener'](){const _0x4b45f6=_0x251aa1,_0x5aa7dd={'rDJux':function(_0x2d40d4,_0x592982){return _0x2d40d4(_0x592982);},'MMFfJ':function(_0xe6698e,_0x1e5e7d){return _0xe6698e+_0x1e5e7d;},'zBkCK':_0x4b45f6(0x14c),'CwQmO':_0x4b45f6(0x158),'GPobs':function(_0x30e8f2,_0x2c93c5){return _0x30e8f2(_0x2c93c5);},'faolv':function(_0x4924af,_0x44e2a9){return _0x4924af/_0x44e2a9;},'KuzDA':function(_0x20949a,_0x4cca28){return _0x20949a===_0x4cca28;},'gQyaj':_0x4b45f6(0x14b),'bzhmX':function(_0x4ad062,_0x50ab88,_0x2ae313){return _0x4ad062(_0x50ab88,_0x2ae313);}},_0x4b809e=new MsgListener();_0x4b809e[_0x4b45f6(0xe4)]=_0x42ff17=>{const _0xee9aeb=_0x4b45f6;_0x42ff17[_0xee9aeb(0xdd)](_0x439d8c=>{const _0x208fd8=_0xee9aeb;_0x439d8c[_0x208fd8(0x135)]===0x2&&_0x5aa7dd[_0x208fd8(0x126)](log,_0x5aa7dd[_0x208fd8(0x11c)](_0x5aa7dd['MMFfJ'](_0x5aa7dd[_0x208fd8(0xef)],_0x439d8c[_0x208fd8(0xbe)]),_0x5aa7dd['CwQmO']));});},_0x4b809e[_0x4b45f6(0xae)]=_0x382d64=>{const _0x5d1522=_0x4b45f6;_0x5aa7dd['GPobs'](log,_0x5aa7dd[_0x5d1522(0x11c)](_0x5d1522(0x136)+_0x382d64[_0x5d1522(0x12a)]+']\x20',_0x382d64[_0x5d1522(0x145)]));},_0x4b809e[_0x4b45f6(0x101)]=_0x158612=>{const _0x401f54=_0x4b45f6;stat[_0x401f54(0x13f)]+=0x1,stat[_0x401f54(0x15d)]+=0x1,stat[_0x401f54(0x129)]=Math[_0x401f54(0x169)](_0x5aa7dd[_0x401f54(0x161)](Date[_0x401f54(0xf1)](),0x3e8));},_0x4b809e[_0x4b45f6(0x127)]=_0x1cf0b5=>{const _0x23c1a0=_0x4b45f6;stat['packet_received']+=0x1,stat['message_received']+=_0x1cf0b5[_0x23c1a0(0xd7)],stat[_0x23c1a0(0x129)]=Math['floor'](_0x5aa7dd[_0x23c1a0(0x161)](Date[_0x23c1a0(0xf1)](),0x3e8));},_0x4b809e[_0x4b45f6(0xe6)]=(..._0x55aaed)=>{const _0x395354=_0x4b45f6;stat[_0x395354(0xd5)]+=0x1;},this[_0x4b45f6(0xfd)](_0x4b809e);const _0x119837=new BuddyListener();_0x119837['onBuddyListChange']=_0x2b9dd7=>{const _0x4f1890=_0x4b45f6;rawFriends[_0x4f1890(0xd7)]=0x0,rawFriends['push'](..._0x2b9dd7);for(const _0x3364d9 of _0x2b9dd7){for(const _0x190019 of _0x3364d9[_0x4f1890(0xfe)]){const _0x4424aa=friends[_0x4f1890(0x117)](_0x190019[_0x4f1890(0xe5)]);_0x4424aa?Object['assign'](_0x4424aa,_0x190019):friends[_0x4f1890(0x13b)](_0x190019[_0x4f1890(0xe5)],_0x190019);}}},this[_0x4b45f6(0xfd)](_0x119837),this[_0x4b45f6(0xd2)][_0x4b45f6(0x105)]()[_0x4b45f6(0x141)](!![])[_0x4b45f6(0xc3)](_0x7036f3=>{});const _0x4e166c=new ProfileListener();_0x4e166c[_0x4b45f6(0xcd)]=_0x26d111=>{const _0x174e98=_0x4b45f6;_0x5aa7dd[_0x174e98(0xf8)](_0x26d111['uid'],selfInfo[_0x174e98(0xe5)])&&Object[_0x174e98(0x104)](selfInfo,_0x26d111);},_0x4e166c[_0x4b45f6(0x162)]=_0x595ddf=>{},this['addListener'](_0x4e166c);const _0x507eb7=new GroupListener();_0x507eb7[_0x4b45f6(0x140)]=(_0x26340e,_0x56b22f)=>{const _0x4b618e=_0x4b45f6;_0x56b22f[_0x4b618e(0xdd)](_0x52a9ea=>{const _0x210037=_0x4b618e,_0x26b5a0=groups[_0x210037(0x117)](_0x52a9ea[_0x210037(0xeb)]);_0x26b5a0&&_0x5aa7dd[_0x210037(0xf8)](_0x52a9ea[_0x210037(0xb8)],_0x26b5a0['memberCount'])?Object[_0x210037(0x104)](_0x26b5a0,_0x52a9ea):groups[_0x210037(0x13b)](_0x52a9ea[_0x210037(0xeb)],_0x52a9ea);const _0xfad3ec=this[_0x210037(0xd2)][_0x210037(0xd6)]()[_0x210037(0x149)](_0x52a9ea[_0x210037(0xeb)],_0x5aa7dd[_0x210037(0xd3)]);this[_0x210037(0xd2)][_0x210037(0xd6)]()[_0x210037(0xc1)](_0xfad3ec,undefined,0xbb8)[_0x210037(0xc3)](_0x5351c1=>{});});},_0x507eb7['onMemberListChange']=_0x114d01=>{const _0x27f1f7=_0x4b45f6,_0x350287=_0x114d01[_0x27f1f7(0x157)][_0x27f1f7(0xf7)]('_')[0x0];if(groupMembers[_0x27f1f7(0xd8)](_0x350287)){const _0x35cc79=groupMembers[_0x27f1f7(0x117)](_0x350287);_0x114d01[_0x27f1f7(0x107)][_0x27f1f7(0x121)]((_0x31cc20,_0x24c360)=>{const _0x3d10b8=_0x27f1f7,_0x3bc8dc=_0x35cc79[_0x3d10b8(0x117)](_0x24c360);_0x3bc8dc?Object[_0x3d10b8(0x104)](_0x3bc8dc,_0x31cc20):_0x35cc79['set'](_0x24c360,_0x31cc20);});}else groupMembers[_0x27f1f7(0x13b)](_0x350287,_0x114d01['infos']);},_0x507eb7[_0x4b45f6(0x14d)]=(_0x496276,_0x1a39c7,_0x8c3fc6)=>{const _0x251b30=_0x4b45f6;_0x1a39c7===0x0&&_0x8c3fc6[_0x251b30(0x117)](selfInfo[_0x251b30(0xe5)])&&_0x8c3fc6['get'](selfInfo[_0x251b30(0xe5)])?.[_0x251b30(0x133)]&&_0x5aa7dd[_0x251b30(0x11a)](setTimeout,()=>{const _0x37c653=_0x251b30;groups[_0x37c653(0x156)](_0x496276);},0x1388);const _0x48e653=groupMembers[_0x251b30(0x117)](_0x496276);_0x48e653?_0x8c3fc6[_0x251b30(0x121)]((_0x335e0e,_0x4588c8)=>{const _0x53e89a=_0x251b30,_0x393d5e=_0x48e653['get'](_0x4588c8);_0x393d5e?Object[_0x53e89a(0x104)](_0x393d5e,_0x335e0e):_0x48e653[_0x53e89a(0x13b)](_0x4588c8,_0x335e0e);}):groupMembers[_0x251b30(0x13b)](_0x496276,_0x8c3fc6);},this['addListener'](_0x507eb7);}['addListener'](_0x5dcb81){const _0x541407=_0x251aa1,_0x2254f1={'TOBet':'GroupListener','SHDeE':_0x541407(0xb4),'uuwsM':_0x541407(0x153)};_0x5dcb81=new Proxy(_0x5dcb81,this[_0x541407(0xe3)]);switch(_0x5dcb81['constructor']['name']){case _0x541407(0xdc):{return this[_0x541407(0xd2)][_0x541407(0x105)]()[_0x541407(0xfc)](new _0x8d627[(_0x541407(0x106))](_0x5dcb81));}case _0x2254f1['TOBet']:{return this['session'][_0x541407(0xd6)]()[_0x541407(0x167)](new _0x8d627['NodeIKernelGroupListener'](_0x5dcb81));}case _0x2254f1[_0x541407(0xf2)]:{return this[_0x541407(0xd2)][_0x541407(0xb0)]()[_0x541407(0xde)](new _0x8d627['NodeIKernelMsgListener'](_0x5dcb81));}case _0x2254f1['uuwsM']:{return this[_0x541407(0xd2)][_0x541407(0xc6)]()[_0x541407(0x160)](new _0x8d627['NodeIKernelProfileListener'](_0x5dcb81));}default:return-0x1;}}[_0x251aa1(0x110)](_0x5cc6fd){const _0x2963b7=_0x251aa1;NTEventDispatch[_0x2963b7(0xb2)]({'ListenerMap':_0x8d627,'WrapperSession':this[_0x2963b7(0xd2)]}),this[_0x2963b7(0xf0)]['push'](_0x5cc6fd);}async[_0x251aa1(0x15f)](_0x27bc92){const _0x3f6a97=_0x251aa1,_0x59c07d={'TJrfu':function(_0x32e333,_0x4c6eb5){return _0x32e333!==_0x4c6eb5;},'ibQYM':_0x3f6a97(0x144),'iRyKc':function(_0x25203a,_0x4dd15b){return _0x25203a(_0x4dd15b);},'XmXVC':function(_0x39be8a,_0x463129){return _0x39be8a+_0x463129;},'lSvxn':_0x3f6a97(0x15e)},_0x396935=await this['loginService'][_0x3f6a97(0xb7)]();if(_0x59c07d[_0x3f6a97(0xce)](_0x396935[_0x3f6a97(0x12e)],0x0))throw new Error(_0x59c07d['ibQYM']);const _0x288974=_0x396935[_0x3f6a97(0x12c)][_0x3f6a97(0x102)](_0x293b66=>_0x293b66['uin']===_0x27bc92);if(!_0x288974||!_0x288974?.[_0x3f6a97(0xc8)])throw new Error(_0x27bc92+_0x3f6a97(0xf4));await _0x59c07d[_0x3f6a97(0xaf)](sleep,0x3e8);const _0x1fb711=await this[_0x3f6a97(0x111)]['quickLoginWithUin'](_0x27bc92);if(!_0x1fb711['result'])throw new Error(_0x59c07d[_0x3f6a97(0xf9)](_0x59c07d[_0x3f6a97(0xea)],_0x1fb711[_0x3f6a97(0xd0)]['errMsg']));return _0x1fb711;}async[_0x251aa1(0x108)](_0x5e04d8){const _0xb79828={'ZdaXi':function(_0x24a732,_0x102c96,_0x38ae34,_0x1fc8a4){return _0x24a732(_0x102c96,_0x38ae34,_0x1fc8a4);}};return new Promise((_0x1800cf,_0x145afb)=>{const _0xd340bb=_0x566c,_0x2ed637={'YnNaW':function(_0x51ab32,_0x2e0c3a,_0x19aed2,_0x585502){const _0x538334=_0x566c;return _0xb79828[_0x538334(0xd9)](_0x51ab32,_0x2e0c3a,_0x19aed2,_0x585502);}};this[_0xd340bb(0xb5)][_0xd340bb(0x13a)]=_0x58a171=>{const _0x41425f=_0xd340bb,_0x3d04b5=_0x58a171[_0x41425f(0x151)][_0x41425f(0xf7)](_0x41425f(0x165))[0x1],_0x4c1000=Buffer[_0x41425f(0xe7)](_0x3d04b5,'base64');_0x2ed637['YnNaW'](_0x5e04d8,_0x58a171[_0x41425f(0x15b)],_0x58a171[_0x41425f(0x151)],_0x4c1000);},this[_0xd340bb(0x111)]['getQRCodePicture']();});}async[_0x251aa1(0x148)](_0x696dde,_0x1dfeae,_0x4f7b88,_0x21c26f,_0x34adad){const _0x4f6d4b=_0x251aa1,_0x30f4ad={'dmbZs':_0x4f6d4b(0x146),'kpfrS':'hex','KjoSS':function(_0x1055da,_0x298b55){return _0x1055da||_0x298b55;},'aUkcI':function(_0x5223a6,_0x13b961){return _0x5223a6(_0x13b961);},'SZRzP':_0x4f6d4b(0x139),'WXpre':_0x4f6d4b(0xb3)},_0x3c9c86=_0x1268ca[_0x4f6d4b(0x11e)](_0x30f4ad[_0x4f6d4b(0xfa)])[_0x4f6d4b(0x103)](_0x1dfeae)[_0x4f6d4b(0xe8)](_0x30f4ad['kpfrS']),_0x3f5139={'uin':_0x696dde,'passwordMd5':_0x3c9c86,'step':_0x4f7b88&&_0x21c26f&&_0x34adad?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x30f4ad[_0x4f6d4b(0x10a)](_0x4f7b88,''),'proofWaterRand':_0x30f4ad[_0x4f6d4b(0x10a)](_0x21c26f,''),'proofWaterSid':_0x30f4ad[_0x4f6d4b(0x10a)](_0x34adad,'')};await this['loginService']['getLoginList'](),await _0x30f4ad[_0x4f6d4b(0xbc)](sleep,0x3e8);const _0x1fcb11=await this[_0x4f6d4b(0x111)][_0x4f6d4b(0x148)](_0x3f5139);switch(_0x1fcb11['result']){case'0':{break;}case _0x30f4ad[_0x4f6d4b(0xed)]:{break;}case'4':case _0x30f4ad[_0x4f6d4b(0x11d)]:default:}}async[_0x251aa1(0xff)](){const _0xb4389f=_0x251aa1,_0x42718c=await this[_0xb4389f(0x111)]['getLoginList']();return _0x42718c;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x2a4fc4=_0x3e0d;(function(_0x35c048,_0x3e85e9){const _0x2d3c6a=_0x3e0d,_0x197b0f=_0x35c048();while(!![]){try{const _0x4c0696=parseInt(_0x2d3c6a(0x163))/0x1+parseInt(_0x2d3c6a(0x166))/0x2+-parseInt(_0x2d3c6a(0x107))/0x3*(parseInt(_0x2d3c6a(0x18d))/0x4)+-parseInt(_0x2d3c6a(0x153))/0x5+-parseInt(_0x2d3c6a(0xfd))/0x6+-parseInt(_0x2d3c6a(0x18f))/0x7*(parseInt(_0x2d3c6a(0x124))/0x8)+-parseInt(_0x2d3c6a(0x13b))/0x9*(-parseInt(_0x2d3c6a(0x16b))/0xa);if(_0x4c0696===_0x3e85e9)break;else _0x197b0f['push'](_0x197b0f['shift']());}catch(_0x20dfd3){_0x197b0f['push'](_0x197b0f['shift']());}}}(_0x55ff,0x3eeec));import _0x4cc405 from'@/core/wrapper';function _0x3e0d(_0x1c00c5,_0xefb20f){const _0x55ffb6=_0x55ff();return _0x3e0d=function(_0x3e0d16,_0x1c7034){_0x3e0d16=_0x3e0d16-0xef;let _0x274653=_0x55ffb6[_0x3e0d16];return _0x274653;},_0x3e0d(_0x1c00c5,_0xefb20f);}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5db999 from'node:path';import _0x15c18e from'node:os';import _0x48d252 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x37de2d from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';function _0x55ff(){const _0x14dc53=['117814CgiTRH','ZqsUe','onMemberListChange','onGroupListUpdate','onRecvSysMsg','10lJfTmv','createHash','./nt_qq/global','quickLogin','getNextMemberList','dataPathGlobal','Stfry','Iyfvy','catch','GroupListener','loginErrorInfo','addKernelBuddyListener','split','NodeIKernelProfileListener','forEach','set','util','NgwTp','NndlO','V1_WIN_NQ_','hex','init','onQRCodeSessionFailed','DXApI','constructor','NiJES','undefined','floor','addKernelProfileListener','assign','140022008','update','seqps','ProfileListener','2284bJMWqN','session','843395kWFDCU','NodeIKernelGroupListener','NodeIQQNTWrapperSession','addListener','VEIvV','quickLoginWithUin','NodeIKernelMsgListener','length','CBXlU','MVgKV','initDataListener','delete','curVersion','packet_received','CneAf','isDelete','addKernelGroupListener','dataPath','tipsDesc','init\x20failed\x20','message_received','frxKL','Windows\x2010\x20Pro','onSelfStatusChanged','devUid','result','uin','getMsgService','mBchk','快速登录不可用','BhMdR','onQRCodeLoginSucceed','NodeIKernelLoginListener','pngBase64QrcodeData','onBuddyListChange','digest','GNoUj','DyzOq','KAwzu','2436744ujuTPy','onAddSendMsg','onUserLoggedIn','NodeIKernelBuddyListener','数据库初始化失败','stringify','qrcodeUrl','initWithDeskTopConfig','BuddyListener','getQuickLoginList','1359aDkqxx','goSZy','createMemberListScene','NeWFH','NodeIKernelLoginService','has','getBuddyService','getLoginList','\x20has\x20no\x20method\x20','NodeIDispatcherAdapter','addKernelLoginListener','NodeIKernelSessionListener','KLPJX','loginListener','getProfileService','replace','uid','KDByZ','qrLogin','emnMi','onLoginFailed','moTwJ','aSgLz','map','niQxJ','nvoLH','base64','GSXFe','groupCode','8wyghwg','iziqo','wWJli','sWGSH','loginService','PHJUi','onProfileDetailInfoChanged','onMemberInfoChange','getGroupService','vgUGZ','xuwfE','NodeIGlobalAdapter','sceneId','consoleLog','sTxUO','fReGv','./NapCat/data','memberCount','gUAfm','from','then','NOivQ','resolve','8892981TdYTqB','本账号数据/缓存目录:','-v2.db','push','errMsg','./.config/QQ',')\x20在线状态变更','KvmrQ','MsgListener','[KickedOffLine]\x20[','mkAqA','data:image/png;base64,','clientType','buddyList','getBuddyList','JAKWz','fileLog','fileLogLevel','message_sent','eStOT','登录失败(onLoginFailed)','ZtRDK','get','onQRCodeGetPicture','1363695mcGWDj','name',')已登录,无法重复登录','mkdirSync','JxPqW','proxyHandler','gIMQa','initSession','NfxGe','md5','startNT','NodeIDependsAdapter','packet_sent','BYcNc','find','账号设备(','268767dApfKm','启动失败:\x20','initSession\x20failed'];_0x55ff=function(){return _0x14dc53;};return _0x55ff();}export class NapCatCore{[_0x2a4fc4(0x18e)];['util'];['engine'];[_0x2a4fc4(0x114)];[_0x2a4fc4(0x128)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x359ac4=_0x2a4fc4,ubSzEH={'GNoUj':function(x,y){return x===y;},'sTxUO':_0x359ac4(0x185)};if(ubSzEH[_0x359ac4(0xfa)](typeof target[prop],ubSzEH[_0x359ac4(0x132)]))return(...args)=>{const _0x5882f1=_0x359ac4;logDebug(target[_0x5882f1(0x183)][_0x5882f1(0x154)]+_0x5882f1(0x10f)+prop);};return Reflect[_0x359ac4(0x151)](target,prop,receiver);}};constructor(){const _0x371348=_0x2a4fc4,_0x220aa2={'nvoLH':function(_0x29d557,_0x181c28){return _0x29d557(_0x181c28);},'Stfry':function(_0x419908,_0x42e639){return _0x419908+_0x42e639;},'OCAno':'当前账号(','CBXlU':function(_0x4fc786,_0x26020f,_0x6de4da){return _0x4fc786(_0x26020f,_0x6de4da);},'GSXFe':_0x371348(0x165),'wAiXb':function(_0x2ed5c1,_0xa855df){return _0x2ed5c1(_0xa855df);},'XCQoY':function(_0x46eb61,_0x23e321){return _0x46eb61==_0x23e321;},'VEIvV':function(_0x1f1031,_0x1b6af6){return _0x1f1031==_0x1b6af6;},'KvmrQ':function(_0xe90c8,_0x3568c1,_0x5878ab){return _0xe90c8(_0x3568c1,_0x5878ab);},'KAwzu':_0x371348(0x14f)};this['engine']=new _0x4cc405['NodeIQQNTWrapperEngine'](),this[_0x371348(0x17b)]=new _0x4cc405['NodeQQNTWrapperUtil'](),this[_0x371348(0x128)]=new _0x4cc405[(_0x371348(0x10b))](),this['session']=new _0x4cc405[(_0x371348(0x191))](),this[_0x371348(0x114)]=new LoginListener(),this['loginListener'][_0x371348(0xff)]=_0x56345f=>{const _0x425f73=_0x371348;_0x220aa2[_0x425f73(0x120)](logError,_0x220aa2[_0x425f73(0x171)](_0x220aa2['OCAno'],_0x56345f)+_0x425f73(0x155));},this['initConfig'](),this[_0x371348(0x114)][_0x371348(0xf5)]=_0x309979=>{const _0xd9dff7=_0x371348,_0x12842b={'DyzOq':function(_0x47cfc2,_0x903b47,_0x414ddc){const _0xd34911=_0x3e0d;return _0x220aa2[_0xd34911(0x197)](_0x47cfc2,_0x903b47,_0x414ddc);},'seqps':function(_0x552282,_0xed241a){return _0x552282(_0xed241a);},'xxqAQ':function(_0xe68a93,_0x32f7c8){return _0x220aa2['wAiXb'](_0xe68a93,_0x32f7c8);},'orWOF':_0xd9dff7(0x134),'CneAf':function(_0x5421de,_0xfddfac,_0x1801fc){const _0x3aaeec=_0xd9dff7;return _0x220aa2[_0x3aaeec(0x197)](_0x5421de,_0xfddfac,_0x1801fc);},'PHJUi':_0xd9dff7(0x13c)};this[_0xd9dff7(0x15a)](_0x309979['uin'],_0x309979[_0xd9dff7(0x117)])[_0xd9dff7(0x138)](_0x3454ae=>{const _0xa87294=_0xd9dff7,_0x927c88={'NfxGe':function(_0x565823,_0x4e247c){return _0x565823 instanceof _0x4e247c;},'RrFDV':function(_0x5d4d8f,_0x39b369,_0x482b63){return _0x12842b['DyzOq'](_0x5d4d8f,_0x39b369,_0x482b63);}};selfInfo[_0xa87294(0xf0)]=_0x309979[_0xa87294(0xf0)],selfInfo[_0xa87294(0x117)]=_0x309979[_0xa87294(0x117)],napCatConfig['read'](),_0x12842b[_0xa87294(0xfb)](setLogLevel,napCatConfig[_0xa87294(0x14c)],napCatConfig['consoleLogLevel']),_0x12842b[_0xa87294(0x18b)](enableFileLog,napCatConfig[_0xa87294(0x14b)]),_0x12842b[_0xa87294(0x18b)](enableConsoleLog,napCatConfig[_0xa87294(0x131)]),_0x12842b['xxqAQ'](setLogSelfInfo,selfInfo);const _0x3dd778=_0x5db999[_0xa87294(0x13a)](this[_0xa87294(0x1a0)],_0x12842b['orWOF']);_0x48d252[_0xa87294(0x156)](_0x3dd778,{'recursive':!![]}),_0x12842b[_0xa87294(0x19d)](logDebug,_0x12842b[_0xa87294(0x129)],_0x3dd778),dbUtil[_0xa87294(0x180)](_0x5db999[_0xa87294(0x13a)](_0x3dd778,'./'+_0x309979[_0xa87294(0xf0)]+_0xa87294(0x13d)))[_0xa87294(0x138)](()=>{const _0x352da0=_0xa87294,_0x2547ad={'DXApI':function(_0x42efd1,_0x3ea927,_0x2a9679){return _0x42efd1(_0x3ea927,_0x2a9679);},'gUAfm':function(_0x50c038,_0x4f1cd2){const _0x333df3=_0x3e0d;return _0x927c88[_0x333df3(0x15b)](_0x50c038,_0x4f1cd2);}};this[_0x352da0(0x199)](),this['onLoginSuccessFuncList'][_0x352da0(0x11e)](_0x3f2ad3=>{const _0x47b120=_0x352da0;new Promise((_0xbef1bb,_0x1e9019)=>{const _0x372c8d=_0x3e0d,_0x4aef0c=_0x2547ad[_0x372c8d(0x182)](_0x3f2ad3,_0x309979[_0x372c8d(0xf0)],_0x309979[_0x372c8d(0x117)]);_0x2547ad[_0x372c8d(0x136)](_0x4aef0c,Promise)&&_0x4aef0c['then'](_0xbef1bb)[_0x372c8d(0x173)](_0x1e9019);})[_0x47b120(0x138)]();});})['catch'](_0x385430=>{const _0x20114b=_0xa87294;_0x927c88['RrFDV'](logError,_0x20114b(0x101),_0x385430);});})['catch'](_0x598605=>{const _0x4f6fd0=_0xd9dff7;_0x220aa2[_0x4f6fd0(0x197)](logError,_0x220aa2[_0x4f6fd0(0x122)],_0x598605);throw new Error(_0x4f6fd0(0x164)+JSON[_0x4f6fd0(0x102)](_0x598605));});},this[_0x371348(0x114)][_0x371348(0x181)]=(_0x274681,_0xcd548f,_0x488150)=>{const _0x359d9c=_0x371348;logError('登录失败(onQRCodeSessionFailed)',_0x488150),_0x220aa2['XCQoY'](_0x274681,0x1)&&_0x220aa2[_0x359d9c(0x193)](_0xcd548f,0x3)&&this['loginService']['getQRCodePicture']();},this[_0x371348(0x114)][_0x371348(0x11b)]=_0x2b712c=>{const _0x54e698=_0x371348;_0x220aa2[_0x54e698(0x142)](logError,_0x220aa2[_0x54e698(0xfc)],_0x2b712c);},this[_0x371348(0x114)]=new Proxy(this[_0x371348(0x114)],this[_0x371348(0x158)]),this['loginService'][_0x371348(0x111)](new _0x4cc405[(_0x371348(0xf6))](this['loginListener']));}get[_0x2a4fc4(0x1a0)](){const _0x3f783b=_0x2a4fc4,_0x24947a={'goSZy':_0x3f783b(0x140)};let _0x4d5c2c=this[_0x3f783b(0x17b)]['getNTUserDataInfoConfig']();return!_0x4d5c2c&&(_0x4d5c2c=_0x5db999[_0x3f783b(0x13a)](_0x15c18e['homedir'](),_0x24947a[_0x3f783b(0x108)]),_0x48d252['mkdirSync'](_0x4d5c2c,{'recursive':!![]})),_0x4d5c2c;}get[_0x2a4fc4(0x170)](){const _0x4c29fd=_0x2a4fc4;return _0x5db999[_0x4c29fd(0x13a)](this[_0x4c29fd(0x1a0)],_0x4c29fd(0x16d));}['initConfig'](){const _0x31137c=_0x2a4fc4;this['engine'][_0x31137c(0x104)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x31137c(0x19b)],'os_version':_0x31137c(0x1a5),'use_xlog':!![],'qua':_0x31137c(0x17e)+qqVersionConfigInfo[_0x31137c(0x19b)][_0x31137c(0x116)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x31137c(0x170)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4cc405[(_0x31137c(0x12f))](new GlobalAdapter())),this[_0x31137c(0x128)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x31137c(0x170)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}['initSession'](_0x2366fa,_0xdcdc67){const _0x59166d={'KQvWV':function(_0x412d6e,_0x2b4a06){return _0x412d6e===_0x2b4a06;},'NndlO':function(_0x421fcf,_0x553fe9){return _0x421fcf(_0x553fe9);},'NgwTp':function(_0x4ab08a,_0xc816ad,_0x40d6aa,_0x1b9c69){return _0x4ab08a(_0xc816ad,_0x40d6aa,_0x1b9c69);},'Iyfvy':function(_0x492131,_0x10d59c){return _0x492131+_0x10d59c;}};return new Promise(async(_0x438f9b,_0x192b39)=>{const _0x29c325=_0x3e0d,_0x4a8969={'VIAjb':function(_0x47ba9c,_0x90a886){return _0x59166d['KQvWV'](_0x47ba9c,_0x90a886);},'BYcNc':function(_0xa2b67c,_0x4d5174){const _0x3c9a12=_0x3e0d;return _0x59166d[_0x3c9a12(0x17d)](_0xa2b67c,_0x4d5174);}},_0x1166bd=await _0x59166d[_0x29c325(0x17c)](genSessionConfig,_0x2366fa,_0xdcdc67,this['dataPath']),_0x559033=new SessionListener();_0x559033['onSessionInitComplete']=_0x1f9ec0=>{const _0x2d90f1=_0x29c325;if(_0x4a8969['VIAjb'](_0x1f9ec0,0x0))return _0x4a8969[_0x2d90f1(0x160)](_0x438f9b,0x0);_0x4a8969['BYcNc'](_0x192b39,_0x1f9ec0);},this['session'][_0x29c325(0x180)](_0x1166bd,new _0x4cc405[(_0x29c325(0x15e))](new DependsAdapter()),new _0x4cc405[(_0x29c325(0x110))](new DispatcherAdapter()),new _0x4cc405[(_0x29c325(0x112))](_0x559033));try{this[_0x29c325(0x18e)][_0x29c325(0x15d)](0x0);}catch(_0x4a6418){try{this[_0x29c325(0x18e)][_0x29c325(0x15d)]();}catch(_0x2bdc1f){_0x59166d[_0x29c325(0x17d)](_0x192b39,_0x59166d[_0x29c325(0x172)](_0x29c325(0x1a2),_0x2bdc1f));}}});}['initDataListener'](){const _0x5811df=_0x2a4fc4,_0xd5f88e={'JAKWz':function(_0x52138a,_0x5a28f5){return _0x52138a(_0x5a28f5);},'fReGv':_0x5811df(0x162),'vgUGZ':_0x5811df(0x141),'ZqsUe':function(_0x2ea8c1,_0x1a22a4){return _0x2ea8c1+_0x1a22a4;},'NiJES':function(_0x34a6fe,_0x38e80f){return _0x34a6fe+_0x38e80f;},'wWJli':_0x5811df(0x144),'NeWFH':function(_0x4458ee,_0x3041db){return _0x4458ee/_0x3041db;},'KDByZ':function(_0x5dc75c,_0x5ad008){return _0x5dc75c===_0x5ad008;},'ZtRDK':'groupMemberList_MainWindow','KLPJX':function(_0x3b9184,_0x85d3f7,_0x23b00f){return _0x3b9184(_0x85d3f7,_0x23b00f);}},_0x267c59=new MsgListener();_0x267c59['onLineDev']=_0x20cccb=>{const _0x55b1f0=_0x5811df;_0x20cccb[_0x55b1f0(0x11e)](_0x3ff41c=>{const _0x3e2f12=_0x55b1f0;_0x3ff41c[_0x3e2f12(0x147)]===0x2&&_0xd5f88e[_0x3e2f12(0x14a)](log,_0xd5f88e[_0x3e2f12(0x133)]+_0x3ff41c[_0x3e2f12(0x1a7)]+_0xd5f88e[_0x3e2f12(0x12d)]);});},_0x267c59['onKickedOffLine']=_0x4d529d=>{const _0xd3aa34=_0x5811df;_0xd5f88e['JAKWz'](log,_0xd5f88e[_0xd3aa34(0x167)](_0xd5f88e[_0xd3aa34(0x184)](_0xd5f88e[_0xd3aa34(0x126)],_0x4d529d['tipsTitle'])+']\x20',_0x4d529d[_0xd3aa34(0x1a1)]));},_0x267c59[_0x5811df(0xfe)]=_0x5b4a29=>{const _0x351622=_0x5811df;stat[_0x351622(0x15f)]+=0x1,stat[_0x351622(0x14d)]+=0x1,stat['last_message_time']=Math[_0x351622(0x186)](_0xd5f88e[_0x351622(0x10a)](Date['now'](),0x3e8));},_0x267c59['onRecvMsg']=_0x772f8d=>{const _0x489443=_0x5811df;stat[_0x489443(0x19c)]+=0x1,stat[_0x489443(0x1a3)]+=_0x772f8d[_0x489443(0x196)],stat['last_message_time']=Math[_0x489443(0x186)](_0xd5f88e[_0x489443(0x10a)](Date['now'](),0x3e8));},_0x267c59[_0x5811df(0x16a)]=(..._0xbfce0f)=>{const _0x168146=_0x5811df;stat[_0x168146(0x19c)]+=0x1;},this[_0x5811df(0x192)](_0x267c59);const _0x517a29=new BuddyListener();_0x517a29[_0x5811df(0xf8)]=_0xfec09f=>{const _0x3915d2=_0x5811df;rawFriends['length']=0x0,rawFriends[_0x3915d2(0x13e)](..._0xfec09f);for(const _0x53a5d2 of _0xfec09f){for(const _0x483511 of _0x53a5d2[_0x3915d2(0x148)]){const _0x2a84ab=friends['get'](_0x483511[_0x3915d2(0x117)]);_0x2a84ab?Object[_0x3915d2(0x188)](_0x2a84ab,_0x483511):friends[_0x3915d2(0x17a)](_0x483511[_0x3915d2(0x117)],_0x483511);}}},this[_0x5811df(0x192)](_0x517a29),this['session'][_0x5811df(0x10d)]()[_0x5811df(0x149)](!![])['then'](_0x34fad6=>{});const _0x105c88=new ProfileListener();_0x105c88[_0x5811df(0x12a)]=_0x49346e=>{const _0x3b04bd=_0x5811df;_0xd5f88e[_0x3b04bd(0x118)](_0x49346e[_0x3b04bd(0x117)],selfInfo[_0x3b04bd(0x117)])&&Object[_0x3b04bd(0x188)](selfInfo,_0x49346e);},_0x105c88[_0x5811df(0x1a6)]=_0x109215=>{},this[_0x5811df(0x192)](_0x105c88);const _0x13a008=new GroupListener();_0x13a008[_0x5811df(0x169)]=(_0x56c47b,_0x48979b)=>{const _0x2e2de9=_0x5811df;_0x48979b[_0x2e2de9(0x11e)](_0x425638=>{const _0x3555be=_0x2e2de9,_0x205ca2=groups[_0x3555be(0x151)](_0x425638['groupCode']);_0x205ca2&&_0xd5f88e[_0x3555be(0x118)](_0x425638[_0x3555be(0x135)],_0x205ca2[_0x3555be(0x135)])?Object['assign'](_0x205ca2,_0x425638):groups[_0x3555be(0x17a)](_0x425638[_0x3555be(0x123)],_0x425638);const _0x45a5e5=this[_0x3555be(0x18e)][_0x3555be(0x12c)]()[_0x3555be(0x109)](_0x425638[_0x3555be(0x123)],_0xd5f88e[_0x3555be(0x150)]);this['session'][_0x3555be(0x12c)]()[_0x3555be(0x16f)](_0x45a5e5,undefined,0xbb8)[_0x3555be(0x138)](_0x28b080=>{});});},_0x13a008[_0x5811df(0x168)]=_0x58ce64=>{const _0x3bd5ca=_0x5811df,_0xcb9fa4=_0x58ce64[_0x3bd5ca(0x130)][_0x3bd5ca(0x177)]('_')[0x0];if(groupMembers[_0x3bd5ca(0x10c)](_0xcb9fa4)){const _0x35c3aa=groupMembers[_0x3bd5ca(0x151)](_0xcb9fa4);_0x58ce64['infos'][_0x3bd5ca(0x179)]((_0x79185d,_0x4fa6db)=>{const _0x1612d7=_0x3bd5ca,_0x23150f=_0x35c3aa[_0x1612d7(0x151)](_0x4fa6db);_0x23150f?Object[_0x1612d7(0x188)](_0x23150f,_0x79185d):_0x35c3aa[_0x1612d7(0x17a)](_0x4fa6db,_0x79185d);});}else groupMembers['set'](_0xcb9fa4,_0x58ce64['infos']);},_0x13a008[_0x5811df(0x12b)]=(_0x1dba23,_0x2764bd,_0x3c6b86)=>{const _0x4c55a7=_0x5811df;_0x2764bd===0x0&&_0x3c6b86[_0x4c55a7(0x151)](selfInfo[_0x4c55a7(0x117)])&&_0x3c6b86[_0x4c55a7(0x151)](selfInfo[_0x4c55a7(0x117)])?.[_0x4c55a7(0x19e)]&&_0xd5f88e[_0x4c55a7(0x113)](setTimeout,()=>{const _0x2f397b=_0x4c55a7;groups[_0x2f397b(0x19a)](_0x1dba23);},0x1388);const _0x33c108=groupMembers['get'](_0x1dba23);_0x33c108?_0x3c6b86[_0x4c55a7(0x179)]((_0x3f9ed4,_0x48fa48)=>{const _0x3902af=_0x4c55a7,_0x3a8744=_0x33c108[_0x3902af(0x151)](_0x48fa48);_0x3a8744?Object['assign'](_0x3a8744,_0x3f9ed4):_0x33c108['set'](_0x48fa48,_0x3f9ed4);}):groupMembers['set'](_0x1dba23,_0x3c6b86);},this[_0x5811df(0x192)](_0x13a008);}[_0x2a4fc4(0x192)](_0x368a9d){const _0x1edc97=_0x2a4fc4,_0x47805c={'iziqo':_0x1edc97(0x105),'mBchk':_0x1edc97(0x174),'sWGSH':_0x1edc97(0x18c)};_0x368a9d=new Proxy(_0x368a9d,this[_0x1edc97(0x158)]);switch(_0x368a9d[_0x1edc97(0x183)][_0x1edc97(0x154)]){case _0x47805c[_0x1edc97(0x125)]:{return this[_0x1edc97(0x18e)][_0x1edc97(0x10d)]()[_0x1edc97(0x176)](new _0x4cc405[(_0x1edc97(0x100))](_0x368a9d));}case _0x47805c[_0x1edc97(0xf2)]:{return this[_0x1edc97(0x18e)][_0x1edc97(0x12c)]()[_0x1edc97(0x19f)](new _0x4cc405[(_0x1edc97(0x190))](_0x368a9d));}case _0x1edc97(0x143):{return this[_0x1edc97(0x18e)][_0x1edc97(0xf1)]()['addKernelMsgListener'](new _0x4cc405[(_0x1edc97(0x195))](_0x368a9d));}case _0x47805c[_0x1edc97(0x127)]:{return this[_0x1edc97(0x18e)][_0x1edc97(0x115)]()[_0x1edc97(0x187)](new _0x4cc405[(_0x1edc97(0x178))](_0x368a9d));}default:return-0x1;}}['onLoginSuccess'](_0x1c41a3){const _0x1b6201=_0x2a4fc4;NTEventDispatch[_0x1b6201(0x180)]({'ListenerMap':_0x4cc405,'WrapperSession':this[_0x1b6201(0x18e)]}),this['onLoginSuccessFuncList'][_0x1b6201(0x13e)](_0x1c41a3);}async[_0x2a4fc4(0x16e)](_0x52984a){const _0x553b82=_0x2a4fc4,_0x44c217={'gIMQa':function(_0x47ae62,_0x314a20){return _0x47ae62!==_0x314a20;},'NOivQ':'没有可快速登录的QQ号','eStOT':function(_0x5742f1,_0x4c5fde){return _0x5742f1(_0x4c5fde);},'niQxJ':'快速登录失败\x20'},_0x1a596c=await this[_0x553b82(0x128)][_0x553b82(0x10e)]();if(_0x44c217[_0x553b82(0x159)](_0x1a596c[_0x553b82(0xef)],0x0))throw new Error(_0x44c217[_0x553b82(0x139)]);const _0x10c95a=_0x1a596c['LocalLoginInfoList'][_0x553b82(0x161)](_0x2fdfd9=>_0x2fdfd9[_0x553b82(0xf0)]===_0x52984a);if(!_0x10c95a||!_0x10c95a?.['isQuickLogin'])throw new Error(_0x52984a+_0x553b82(0xf3));await _0x44c217[_0x553b82(0x14e)](sleep,0x3e8);const _0x2585dd=await this[_0x553b82(0x128)][_0x553b82(0x194)](_0x52984a);if(!_0x2585dd[_0x553b82(0xef)])throw new Error(_0x44c217[_0x553b82(0x11f)]+_0x2585dd[_0x553b82(0x175)][_0x553b82(0x13f)]);return _0x2585dd;}async[_0x2a4fc4(0x119)](_0x30730b){const _0x45a11e=_0x2a4fc4,_0x59c41f={'frxKL':_0x45a11e(0x146),'moTwJ':_0x45a11e(0x121)};return new Promise((_0x2d8871,_0x26d287)=>{const _0x56eacb=_0x45a11e,_0x55d8f9={'KckkK':_0x59c41f[_0x56eacb(0x1a4)],'MVgKV':_0x59c41f[_0x56eacb(0x11c)]};this[_0x56eacb(0x114)][_0x56eacb(0x152)]=_0x5b7b21=>{const _0x363d1=_0x56eacb,_0x3b666c=_0x5b7b21[_0x363d1(0xf7)]['split'](_0x55d8f9['KckkK'])[0x1],_0x344ebd=Buffer[_0x363d1(0x137)](_0x3b666c,_0x55d8f9[_0x363d1(0x198)]);_0x30730b(_0x5b7b21[_0x363d1(0x103)],_0x5b7b21[_0x363d1(0xf7)],_0x344ebd);},this['loginService']['getQRCodePicture']();});}async['passwordLogin'](_0x1190ae,_0x15f8a8,_0x1e61b6,_0xd307d1,_0xcba735){const _0x384dae=_0x2a4fc4,_0x129076={'JxPqW':_0x384dae(0x15c),'emnMi':function(_0x12f83f,_0xd38a22){return _0x12f83f&&_0xd38a22;},'BhMdR':function(_0x37cf28,_0x47e80e){return _0x37cf28||_0x47e80e;},'aSgLz':function(_0x25769c,_0x41ba13){return _0x25769c||_0x41ba13;},'mkAqA':_0x384dae(0x189),'xuwfE':'140022013'},_0x5c07cb=_0x37de2d[_0x384dae(0x16c)](_0x129076[_0x384dae(0x157)])[_0x384dae(0x18a)](_0x15f8a8)[_0x384dae(0xf9)](_0x384dae(0x17f)),_0x2f4670={'uin':_0x1190ae,'passwordMd5':_0x5c07cb,'step':_0x129076[_0x384dae(0x11a)](_0x1e61b6,_0xd307d1)&&_0xcba735?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x129076[_0x384dae(0xf4)](_0x1e61b6,''),'proofWaterRand':_0x129076['BhMdR'](_0xd307d1,''),'proofWaterSid':_0x129076[_0x384dae(0x11d)](_0xcba735,'')};await this['loginService'][_0x384dae(0x10e)](),await sleep(0x3e8);const _0x425c97=await this[_0x384dae(0x128)]['passwordLogin'](_0x2f4670);switch(_0x425c97['result']){case'0':{break;}case _0x129076[_0x384dae(0x145)]:{break;}case'4':case _0x129076[_0x384dae(0x12e)]:default:}}async[_0x2a4fc4(0x106)](){const _0x515900=_0x2a4fc4,_0xb7a85b=await this[_0x515900(0x128)]['getLoginList']();return _0xb7a85b;}}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 78a0d1e2..33878e75 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x507c55,_0xe76747){const _0x4e4e9e=_0x2e30,_0x4b62ac=_0x507c55();while(!![]){try{const _0x386c5f=-parseInt(_0x4e4e9e(0x17f))/0x1*(parseInt(_0x4e4e9e(0x189))/0x2)+parseInt(_0x4e4e9e(0x18b))/0x3*(parseInt(_0x4e4e9e(0x183))/0x4)+parseInt(_0x4e4e9e(0x184))/0x5+-parseInt(_0x4e4e9e(0x191))/0x6+parseInt(_0x4e4e9e(0x185))/0x7*(-parseInt(_0x4e4e9e(0x18f))/0x8)+-parseInt(_0x4e4e9e(0x180))/0x9+parseInt(_0x4e4e9e(0x192))/0xa;if(_0x386c5f===_0xe76747)break;else _0x4b62ac['push'](_0x4b62ac['shift']());}catch(_0x254d56){_0x4b62ac['push'](_0x4b62ac['shift']());}}}(_0x1961,0x4906a));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};function _0x2e30(_0x3bed39,_0x5b4501){const _0x1961d0=_0x1961();return _0x2e30=function(_0x2e30f1,_0x15de76){_0x2e30f1=_0x2e30f1-0x17e;let _0x310a9f=_0x1961d0[_0x2e30f1];return _0x310a9f;},_0x2e30(_0x3bed39,_0x5b4501);}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x37e81e){const _0x30124f=_0x2e30;groups[_0x30124f(0x187)](_0x37e81e),groupMembers['delete'](_0x37e81e);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getGroup(_0x467c99){const _0x23a892=_0x2e30;let _0x36554b=groups['get'](_0x467c99[_0x23a892(0x188)]());if(!_0x36554b)try{const _0x31841e=await NTQQGroupApi[_0x23a892(0x17e)]();_0x31841e[_0x23a892(0x190)]&&_0x31841e[_0x23a892(0x18d)](_0x163452=>{const _0x35cc3b=_0x23a892;groups['set'](_0x163452[_0x35cc3b(0x182)],_0x163452);});}catch(_0x404582){return undefined;}return _0x36554b=groups['get'](_0x467c99[_0x23a892(0x188)]()),_0x36554b;}export async function getGroupMember(_0x431789,_0x1ee32c){const _0x6ce565=_0x2e30,_0x5b8518={'dhdHT':function(_0x212e55){return _0x212e55();}};_0x431789=_0x431789[_0x6ce565(0x188)](),_0x1ee32c=_0x1ee32c[_0x6ce565(0x188)]();let _0x3189b5=groupMembers[_0x6ce565(0x181)](_0x431789);if(!_0x3189b5)try{_0x3189b5=await NTQQGroupApi[_0x6ce565(0x18e)](_0x431789),groupMembers[_0x6ce565(0x18c)](_0x431789,_0x3189b5);}catch(_0xe7c056){return null;}const _0x58b980=()=>{const _0x623f3c=_0x6ce565;let _0x30c57c=undefined;return isNumeric(_0x1ee32c)?_0x30c57c=Array[_0x623f3c(0x186)](_0x3189b5[_0x623f3c(0x193)]())['find'](_0xefd20f=>_0xefd20f['uin']===_0x1ee32c):_0x30c57c=_0x3189b5[_0x623f3c(0x181)](_0x1ee32c),_0x30c57c;};let _0x646ab1=_0x5b8518[_0x6ce565(0x18a)](_0x58b980);return!_0x646ab1&&(_0x3189b5=await NTQQGroupApi[_0x6ce565(0x18e)](_0x431789),_0x646ab1=_0x58b980()),_0x646ab1;}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 _0x1961(){const _0x131a36=['4KMlbfN','dhdHT','249HgUmyg','set','forEach','getGroupMembers','8IIghPA','length','492744JRBlUl','10601600sCtxlA','values','getGroups','133906asyCis','4975263mosbVX','get','groupCode','11668XcxsSc','576015bFXbfL','1509319ZecXRM','from','delete','toString'];_0x1961=function(){return _0x131a36;};return _0x1961();} \ No newline at end of file +(function(_0x33edcd,_0x59f747){const _0x564bf5=_0x3317,_0x47eb43=_0x33edcd();while(!![]){try{const _0x594c49=parseInt(_0x564bf5(0xc1))/0x1*(parseInt(_0x564bf5(0xb7))/0x2)+parseInt(_0x564bf5(0xbf))/0x3*(-parseInt(_0x564bf5(0xb2))/0x4)+parseInt(_0x564bf5(0xbe))/0x5+-parseInt(_0x564bf5(0xae))/0x6*(-parseInt(_0x564bf5(0xb5))/0x7)+-parseInt(_0x564bf5(0xb1))/0x8*(parseInt(_0x564bf5(0xbc))/0x9)+parseInt(_0x564bf5(0xac))/0xa*(-parseInt(_0x564bf5(0xb8))/0xb)+-parseInt(_0x564bf5(0xad))/0xc;if(_0x594c49===_0x59f747)break;else _0x47eb43['push'](_0x47eb43['shift']());}catch(_0x4c50b4){_0x47eb43['push'](_0x47eb43['shift']());}}}(_0x1e65,0x64b0b));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();function _0x3317(_0x5624d,_0x169f19){const _0x1e65bc=_0x1e65();return _0x3317=function(_0x331702,_0x127910){_0x331702=_0x331702-0xab;let _0x26db76=_0x1e65bc[_0x331702];return _0x26db76;},_0x3317(_0x5624d,_0x169f19);}export function deleteGroup(_0x34ec55){const _0x355fb1=_0x3317;groups[_0x355fb1(0xbb)](_0x34ec55),groupMembers[_0x355fb1(0xbb)](_0x34ec55);}export const groupMembers=new Map();export const friends=new Map();function _0x1e65(){const _0x81485d=['delete','9NEuGnV','getGroupMembers','1325195dbbExy','7893qOXhEp','toString','17177OMjzYL','get','from','310130kLtpia','5797044YVCHEd','126pxQjBM','groupCode','find','457904IysSoc','4bgvDSm','uin','oznTv','2359hztGXr','AsILF','94DfZXxp','44WLXfRS','set','values'];_0x1e65=function(){return _0x81485d;};return _0x1e65();}export const groupNotifies={};export async function getGroup(_0x4dbc87){const _0x3d3418=_0x3317;let _0x1dc7e8=groups[_0x3d3418(0xc2)](_0x4dbc87[_0x3d3418(0xc0)]());if(!_0x1dc7e8)try{const _0x133c9e=await NTQQGroupApi['getGroups']();_0x133c9e['length']&&_0x133c9e['forEach'](_0x12bf92=>{const _0x5c7dcf=_0x3d3418;groups[_0x5c7dcf(0xb9)](_0x12bf92[_0x5c7dcf(0xaf)],_0x12bf92);});}catch(_0x1991dd){return undefined;}return _0x1dc7e8=groups[_0x3d3418(0xc2)](_0x4dbc87[_0x3d3418(0xc0)]()),_0x1dc7e8;}export async function getGroupMember(_0x520a47,_0x22097e){const _0x36558e=_0x3317,_0x5da2da={'AsILF':function(_0x2272fe,_0x2f93e3){return _0x2272fe(_0x2f93e3);},'oznTv':function(_0x3d4bc8){return _0x3d4bc8();}};_0x520a47=_0x520a47['toString'](),_0x22097e=_0x22097e[_0x36558e(0xc0)]();let _0x20ad89=groupMembers[_0x36558e(0xc2)](_0x520a47);if(!_0x20ad89)try{_0x20ad89=await NTQQGroupApi[_0x36558e(0xbd)](_0x520a47),groupMembers[_0x36558e(0xb9)](_0x520a47,_0x20ad89);}catch(_0x34e000){return null;}const _0x18e1d8=()=>{const _0x31329c=_0x36558e;let _0x91912a=undefined;return _0x5da2da[_0x31329c(0xb6)](isNumeric,_0x22097e)?_0x91912a=Array[_0x31329c(0xab)](_0x20ad89[_0x31329c(0xba)]())[_0x31329c(0xb0)](_0x8b699b=>_0x8b699b[_0x31329c(0xb3)]===_0x22097e):_0x91912a=_0x20ad89[_0x31329c(0xc2)](_0x22097e),_0x91912a;};let _0x4faf63=_0x5da2da['oznTv'](_0x18e1d8);return!_0x4faf63&&(_0x20ad89=await NTQQGroupApi[_0x36558e(0xbd)](_0x520a47),_0x4faf63=_0x5da2da[_0x36558e(0xb4)](_0x18e1d8)),_0x4faf63;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 0ba87095..f8529165 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x3f1f62,_0x2ee11c){var _0x4f4168=_0x1a36,_0x13f90b=_0x3f1f62();while(!![]){try{var _0x2671fe=-parseInt(_0x4f4168(0x18f))/0x1+-parseInt(_0x4f4168(0x19b))/0x2+parseInt(_0x4f4168(0x191))/0x3*(-parseInt(_0x4f4168(0x195))/0x4)+parseInt(_0x4f4168(0x190))/0x5*(-parseInt(_0x4f4168(0x19d))/0x6)+-parseInt(_0x4f4168(0x18d))/0x7*(parseInt(_0x4f4168(0x197))/0x8)+parseInt(_0x4f4168(0x196))/0x9+parseInt(_0x4f4168(0x18e))/0xa;if(_0x2671fe===_0x2ee11c)break;else _0x13f90b['push'](_0x13f90b['shift']());}catch(_0x3dff2d){_0x13f90b['push'](_0x13f90b['shift']());}}}(_0x1645,0x957be));function _0x1645(){var _0x474b8a=['5769VVKndC','4|2|3|1|0','BgcgY','IMAGE','1652VUUNFo','9129204TwgQGp','264200vEySjN','split','vUSKZ','GltZX','441688MlxfaN','VIDEO','66dXPnvb','AUDIO','OTHER','119YQvYnT','21765840vhRuVh','696529ktOaZd','138935zZMdZa'];_0x1645=function(){return _0x474b8a;};return _0x1645();};export var CacheFileType;function _0x1a36(_0x50e87d,_0x5dac65){var _0x164580=_0x1645();return _0x1a36=function(_0x1a3616,_0x3ccc21){_0x1a3616=_0x1a3616-0x18c;var _0x54aac9=_0x164580[_0x1a3616];return _0x54aac9;},_0x1a36(_0x50e87d,_0x5dac65);}(function(_0x1145cd){var _0x820379=_0x1a36,_0x25420a={'ANFeE':_0x820379(0x192),'BgcgY':'DOCUMENT','vUSKZ':_0x820379(0x19e),'GltZX':_0x820379(0x194)},_0x3fc4af=_0x25420a['ANFeE'][_0x820379(0x198)]('|'),_0x257f09=0x0;while(!![]){switch(_0x3fc4af[_0x257f09++]){case'0':_0x1145cd[_0x1145cd[_0x820379(0x18c)]=0x4]=_0x820379(0x18c);continue;case'1':_0x1145cd[_0x1145cd['DOCUMENT']=0x3]=_0x25420a[_0x820379(0x193)];continue;case'2':_0x1145cd[_0x1145cd[_0x820379(0x19c)]=0x1]=_0x820379(0x19c);continue;case'3':_0x1145cd[_0x1145cd[_0x25420a[_0x820379(0x199)]]=0x2]=_0x25420a['vUSKZ'];continue;case'4':_0x1145cd[_0x1145cd[_0x25420a[_0x820379(0x19a)]]=0x0]=_0x820379(0x194);continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x8c32a6,_0x1f8dc1){var _0x31c6bc=_0x5b94,_0x14550f=_0x8c32a6();while(!![]){try{var _0x26cfb0=parseInt(_0x31c6bc(0xce))/0x1*(-parseInt(_0x31c6bc(0xcd))/0x2)+parseInt(_0x31c6bc(0xd6))/0x3*(-parseInt(_0x31c6bc(0xdf))/0x4)+-parseInt(_0x31c6bc(0xdd))/0x5*(-parseInt(_0x31c6bc(0xdb))/0x6)+parseInt(_0x31c6bc(0xd4))/0x7+parseInt(_0x31c6bc(0xd1))/0x8*(-parseInt(_0x31c6bc(0xcc))/0x9)+parseInt(_0x31c6bc(0xc9))/0xa*(-parseInt(_0x31c6bc(0xd9))/0xb)+parseInt(_0x31c6bc(0xd5))/0xc;if(_0x26cfb0===_0x1f8dc1)break;else _0x14550f['push'](_0x14550f['shift']());}catch(_0x9e07f6){_0x14550f['push'](_0x14550f['shift']());}}}(_0x2783,0xdb844));;export var CacheFileType;(function(_0x1feadb){var _0x3b011b=_0x5b94,_0x22fb04={'QwrTm':_0x3b011b(0xda),'khNJK':_0x3b011b(0xd0),'RKBKP':_0x3b011b(0xde),'zowbv':_0x3b011b(0xca),'LdwST':'VIDEO','DxToE':'AUDIO'},_0x1e60b0=_0x22fb04[_0x3b011b(0xd8)][_0x3b011b(0xcf)]('|'),_0x5595d7=0x0;while(!![]){switch(_0x1e60b0[_0x5595d7++]){case'0':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xdc)]]=0x0]=_0x22fb04['khNJK'];continue;case'1':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xd2)]]=0x4]=_0x22fb04[_0x3b011b(0xd2)];continue;case'2':_0x1feadb[_0x1feadb[_0x3b011b(0xca)]=0x3]=_0x22fb04[_0x3b011b(0xcb)];continue;case'3':_0x1feadb[_0x1feadb[_0x22fb04['LdwST']]=0x1]=_0x22fb04[_0x3b011b(0xd3)];continue;case'4':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xd7)]]=0x2]=_0x22fb04['DxToE'];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0x5b94(_0x24b76c,_0x1f89eb){var _0x27837a=_0x2783();return _0x5b94=function(_0x5b94d4,_0x5b297b){_0x5b94d4=_0x5b94d4-0xc9;var _0x5d606c=_0x27837a[_0x5b94d4];return _0x5d606c;},_0x5b94(_0x24b76c,_0x1f89eb);}function _0x2783(){var _0x4872ee=['15419657LtnlPs','0|3|4|2|1','2607828TSqXIl','khNJK','5Eqonwq','OTHER','3388VuooNg','10cvimVU','DOCUMENT','zowbv','12573BdHvAs','10lNhXwo','66821QcotDK','split','IMAGE','2696JauVps','RKBKP','LdwST','6278832KSbQYH','29716440Nbfcfv','2487iqGGlf','DxToE','QwrTm'];_0x2783=function(){return _0x4872ee;};return _0x2783();} \ 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 cf43c237..b0cd5f23 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0xd174d8=_0x4e40;(function(_0x277964,_0x4c41f0){const _0x19a8a3=_0x4e40,_0x3e276e=_0x277964();while(!![]){try{const _0x5dcef0=parseInt(_0x19a8a3(0xe1))/0x1+-parseInt(_0x19a8a3(0xbf))/0x2*(parseInt(_0x19a8a3(0xdd))/0x3)+-parseInt(_0x19a8a3(0xa6))/0x4*(-parseInt(_0x19a8a3(0xcc))/0x5)+-parseInt(_0x19a8a3(0xbd))/0x6+parseInt(_0x19a8a3(0xbe))/0x7*(parseInt(_0x19a8a3(0xbc))/0x8)+-parseInt(_0x19a8a3(0xa9))/0x9+-parseInt(_0x19a8a3(0xb7))/0xa*(parseInt(_0x19a8a3(0xe7))/0xb);if(_0x5dcef0===_0x4c41f0)break;else _0x3e276e['push'](_0x3e276e['shift']());}catch(_0x397427){_0x3e276e['push'](_0x3e276e['shift']());}}}(_0xdea5,0x1ae17));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2b7b8e}from'node:fs';import _0x347e from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x30f932 from'./face_config.json';import*as _0x369c11 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();function _0x4e40(_0x7d696e,_0x29be40){const _0xdea56d=_0xdea5();return _0x4e40=function(_0x4e40c8,_0x2e01f1){_0x4e40c8=_0x4e40c8-0x93;let _0x3fe188=_0xdea56d[_0x4e40c8];return _0x3fe188;},_0x4e40(_0x7d696e,_0x29be40);}function _0xdea5(){const _0x495cd5=['BsLhv','lkoMT','dMmfP','stat','https://www.bilibili.com/','文件异常,大小为0','_0.png','unlink','time','pic','mp4','scdRq','获取视频信息失败','end','[骰子]','sep','toString','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','copyFile','catch','rps','ptt','icOhU','TpGmq','236jziHmH','AniStickerType','string','1800639sKxqDc','HAYda','uhMGi','[包剪锤]','Ori','wadqh','McnIl','Bot\x20Test','gWnYY','join','euLyh','find','QkIea','QDes','100990XWqdvh','fUZBv','UijEp','jNAPk','PzgnR','8ERhKTF','747972DBkWGg','1351014bksFXs','4ckCLtH','uploadFile','RPS','QxPPc','file','lSzDJ','MFACE','text','FILE','replace','size','FLIRH','BdHRe','9610kUGcLI','iOGUy','getImageSize','set','notAt','sxcxq','emoji','QSid','Thumb','width','REPLY','hwRFC','mface','tgrpX','VJpCq','dice','TBBvE','52407gJYOTt','FACE','then','stringify','173473DJWcHP','KUTeF','AniStickerId','height','[商城表情]','CqIHU','11GDpPFe','reply','PIC','gif','error','screenshots'];_0xdea5=function(){return _0x495cd5;};return _0xdea5();}export class SendMsgElementConstructor{static[_0xd174d8(0xc6)](_0x293de2){const _0x1ae10a=_0xd174d8;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x293de2,'atType':AtType[_0x1ae10a(0xd0)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x15dfe6,_0x474f02,_0x3ecfbe,_0x8382b7){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x8382b7,'atType':_0x3ecfbe,'atUid':_0x15dfe6,'atTinyId':'','atNtUid':_0x474f02}};}static[_0xd174d8(0xe8)](_0x1c7df9,_0x4b67b4,_0x4fb57a,_0x4a32eb){const _0x4c7d0a=_0xd174d8;return{'elementType':ElementType[_0x4c7d0a(0xd6)],'elementId':'','replyElement':{'replayMsgSeq':_0x1c7df9,'replayMsgId':_0x4b67b4,'senderUin':_0x4fb57a,'senderUinStr':_0x4a32eb}};}static async[_0xd174d8(0x97)](_0xfda9,_0x509d03='',_0x41f01d=0x0){const _0x247b80=_0xd174d8,_0x424798={'QxPPc':function(_0x3609d2,_0x1869b9){return _0x3609d2===_0x1869b9;},'sxcxq':_0x247b80(0x93),'PzgnR':function(_0x2a8f97,_0x74cf09){return _0x2a8f97(_0x74cf09);}},{md5:_0x206807,fileName:_0x482ebb,path:_0x1b3cf5,fileSize:_0x127005}=await NTQQFileApi[_0x247b80(0xc0)](_0xfda9,ElementType['PIC'],_0x41f01d);if(_0x424798[_0x247b80(0xc2)](_0x127005,0x0))throw _0x424798[_0x247b80(0xd1)];const _0x454102=await NTQQFileApi[_0x247b80(0xce)](_0xfda9),_0x215938={'md5HexStr':_0x206807,'fileSize':_0x127005[_0x247b80(0x9e)](),'picWidth':_0x454102?.[_0x247b80(0xd5)],'picHeight':_0x454102?.[_0x247b80(0xe4)],'fileName':_0x482ebb,'sourcePath':_0x1b3cf5,'original':!![],'picType':_0x424798[_0x247b80(0xbb)](isGIF,_0xfda9)?PicType[_0x247b80(0xea)]:PicType['jpg'],'picSubType':_0x41f01d,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x509d03};return{'elementType':ElementType[_0x247b80(0xe9)],'elementId':'','picElement':_0x215938};}static async[_0xd174d8(0xc3)](_0x85881d,_0xcc591f='',_0x8959be=''){const _0x315735=_0xd174d8,_0x202ca4={'rtWud':_0x315735(0x93)},{md5:_0x321eed,fileName:_0x112db5,path:_0x23ad12,fileSize:_0x3ce084}=await NTQQFileApi[_0x315735(0xc0)](_0x85881d,ElementType[_0x315735(0xc7)]);if(_0x3ce084===0x0)throw _0x202ca4['rtWud'];const _0x5b1506={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0xcc591f||_0x112db5,'folderId':_0x8959be,'filePath':_0x23ad12,'fileSize':_0x3ce084['toString']()}};return _0x5b1506;}static async['video'](_0x37f1ec,_0x50ceb6='',_0xc0cab2=''){const _0x4d7e3b=_0xd174d8,_0xd1330b={'KUTeF':function(_0x2fef6e,_0x1fc126){return _0x2fef6e(_0x1fc126);},'QkIea':'获取视频封面失败,使用默认封面','VJpCq':_0x4d7e3b(0x9b),'euLyh':function(_0x2755ee,_0x521b64){return _0x2755ee+_0x521b64;},'FLIRH':function(_0x1c4487,_0x33742b){return _0x1c4487===_0x33742b;},'BdHRe':_0x4d7e3b(0x93),'TpGmq':_0x4d7e3b(0x98),'UijEp':function(_0x481e33,_0x2a0856,_0x7514b5){return _0x481e33(_0x2a0856,_0x7514b5);},'uhMGi':function(_0xe7f79,_0x1d3129){return _0xe7f79||_0x1d3129;},'yvHRV':function(_0x14d3ac,_0x1c7f4a){return _0x14d3ac+_0x1c7f4a;}},{fileName:_0x4f78ef,path:_0x5f2a76,fileSize:_0x526baf,md5:_0x5494db}=await NTQQFileApi[_0x4d7e3b(0xc0)](_0x37f1ec,ElementType['VIDEO']);if(_0xd1330b[_0x4d7e3b(0xca)](_0x526baf,0x0))throw _0xd1330b[_0x4d7e3b(0xcb)];let _0x4b7768=_0x5f2a76[_0x4d7e3b(0xc8)](_0x369c11[_0x4d7e3b(0x9d)]+_0x4d7e3b(0xad)+_0x369c11[_0x4d7e3b(0x9d)],_0x369c11[_0x4d7e3b(0x9d)]+_0x4d7e3b(0xd4)+_0x369c11[_0x4d7e3b(0x9d)]);_0x4b7768=_0x369c11['dirname'](_0x4b7768);let _0x5f225b={'width':0x780,'height':0x438,'time':0xf,'format':_0xd1330b[_0x4d7e3b(0xa5)],'size':_0x526baf,'filePath':_0x37f1ec};try{_0x5f225b=await _0xd1330b[_0x4d7e3b(0xe2)](getVideoInfo,_0x5f2a76);}catch(_0x218b9c){_0xd1330b[_0x4d7e3b(0xb9)](logError,_0x4d7e3b(0x9a),_0x218b9c);}const _0x33b4e4=new Promise((_0x319919,_0x37173c)=>{const _0x1c4776=_0x4d7e3b,_0x1aaa12={'CqIHU':function(_0xc7a69b,_0xa2b09c){const _0x310e82=_0x4e40;return _0xd1330b[_0x310e82(0xe2)](_0xc7a69b,_0xa2b09c);},'HAYda':function(_0x238c18,_0x381662,_0x49ece8){return _0x238c18(_0x381662,_0x49ece8);},'jNAPk':_0xd1330b[_0x1c4776(0xb5)]},_0x5ef1de=_0x5494db+_0x1c4776(0x94),_0x3d7cc1=_0x369c11[_0x1c4776(0xb2)](_0x4b7768,_0x5ef1de);_0xd1330b['KUTeF'](_0x347e,_0x37f1ec)['on'](_0xd1330b['VJpCq'],()=>{})['on'](_0x1c4776(0xeb),_0x49ebe6=>{const _0x3d483a=_0x1c4776,_0x41b0ca={'lSzDJ':function(_0x4952f8,_0x3e9dc4){const _0x4c082b=_0x4e40;return _0x1aaa12[_0x4c082b(0xe6)](_0x4952f8,_0x3e9dc4);},'wadqh':function(_0x3aa2b1,_0x9ab1dc){return _0x3aa2b1(_0x9ab1dc);}};_0x1aaa12[_0x3d483a(0xaa)](logDebug,_0x1aaa12[_0x3d483a(0xba)],_0x49ebe6),_0xc0cab2?_0x2b7b8e[_0x3d483a(0xa0)](_0xc0cab2,_0x3d7cc1)['then'](()=>{const _0x2c3229=_0x3d483a;_0x41b0ca[_0x2c3229(0xc4)](_0x319919,_0x3d7cc1);})[_0x3d483a(0xa1)](_0x37173c):_0x2b7b8e['writeFile'](_0x3d7cc1,defaultVideoThumb)[_0x3d483a(0xdf)](()=>{const _0x26e464=_0x3d483a;_0x41b0ca[_0x26e464(0xae)](_0x319919,_0x3d7cc1);})[_0x3d483a(0xa1)](_0x37173c);})[_0x1c4776(0xec)]({'timestamps':[0x0],'filename':_0x5ef1de,'folder':_0x4b7768,'size':_0xd1330b[_0x1c4776(0xb3)](_0x5f225b['width'],'x')+_0x5f225b['height']})['on'](_0xd1330b[_0x1c4776(0xda)],()=>{const _0x4d8ea6=_0x1c4776;_0x1aaa12[_0x4d8ea6(0xe6)](_0x319919,_0x3d7cc1);});}),_0x14831c=new Map(),_0x38261e=await _0x33b4e4,_0x11c1ef=(await _0x2b7b8e[_0x4d7e3b(0xf0)](_0x38261e))[_0x4d7e3b(0xc9)];_0x14831c[_0x4d7e3b(0xcf)](0x0,_0x38261e);const _0x9a87f6=await _0xd1330b['KUTeF'](calculateFileMD5,_0x38261e),_0x5b26a2={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0xd1330b[_0x4d7e3b(0xab)](_0x50ceb6,_0x4f78ef),'filePath':_0x5f2a76,'videoMd5':_0x5494db,'thumbMd5':_0x9a87f6,'fileTime':_0x5f225b[_0x4d7e3b(0x96)],'thumbPath':_0x14831c,'thumbSize':_0x11c1ef,'thumbWidth':_0x5f225b[_0x4d7e3b(0xd5)],'thumbHeight':_0x5f225b[_0x4d7e3b(0xe4)],'fileSize':_0xd1330b['yvHRV']('',_0x526baf)}};return _0x5b26a2;}static async[_0xd174d8(0xa3)](_0x543494){const _0x19d89a=_0xd174d8,_0x658ecd={'fUZBv':function(_0x1815ac,_0x3ba824){return _0x1815ac(_0x3ba824);},'gWnYY':'语音转换失败,\x20请检查语音文件是否正常','McnIl':function(_0x1b1f2e,_0x372b4e){return _0x1b1f2e===_0x372b4e;},'CbtcA':_0x19d89a(0x93),'lkoMT':function(_0x3edee5,_0x1b7bc2){return _0x3edee5||_0x1b7bc2;}},{converted:_0x67e015,path:_0x155c44,duration:_0x265e7b}=await _0x658ecd[_0x19d89a(0xb8)](encodeSilk,_0x543494);if(!_0x155c44)throw _0x658ecd[_0x19d89a(0xb1)];const {md5:_0x4fe698,fileName:_0x16b273,path:_0x325536,fileSize:_0xd00b3c}=await NTQQFileApi[_0x19d89a(0xc0)](_0x155c44,ElementType['PTT']);if(_0x658ecd[_0x19d89a(0xaf)](_0xd00b3c,0x0))throw _0x658ecd['CbtcA'];return _0x67e015&&_0x2b7b8e[_0x19d89a(0x95)](_0x155c44)['then'](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x16b273,'filePath':_0x325536,'md5HexStr':_0x4fe698,'fileSize':_0xd00b3c,'duration':_0x658ecd[_0x19d89a(0xee)](_0x265e7b,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'](_0x3dc860){const _0x5d2e7f=_0xd174d8,_0x4021da={'scdRq':function(_0x43ef46,_0x2bdd56){return _0x43ef46>=_0x2bdd56;}},_0x5710b6=_0x30f932['sysface'],_0x45cd7e=_0x30f932[_0x5d2e7f(0xd2)],_0x254b41=_0x5710b6[_0x5d2e7f(0xb4)](_0x4b8ac8=>_0x4b8ac8[_0x5d2e7f(0xd3)]===_0x3dc860[_0x5d2e7f(0x9e)]());_0x3dc860=parseInt(_0x3dc860[_0x5d2e7f(0x9e)]());let _0x2a9445=0x1;return _0x4021da[_0x5d2e7f(0x99)](_0x3dc860,0xde)&&(_0x2a9445=0x2),_0x254b41[_0x5d2e7f(0xa7)]&&(_0x2a9445=0x3),{'elementType':ElementType[_0x5d2e7f(0xde)],'elementId':'','faceElement':{'faceIndex':_0x3dc860,'faceType':_0x2a9445,'faceText':_0x254b41[_0x5d2e7f(0xb6)],'stickerId':_0x254b41[_0x5d2e7f(0xe3)],'stickerType':_0x254b41[_0x5d2e7f(0xa7)],'packId':_0x254b41['AniStickerPackId'],'sourceType':0x1}};}static[_0xd174d8(0xd8)](_0xa34714,_0x26d8ae,_0x584b9f,_0x516aab){const _0x18b444=_0xd174d8,_0x104652={'icOhU':_0x18b444(0xe5)};return{'elementType':ElementType[_0x18b444(0xc5)],'marketFaceElement':{'emojiPackageId':_0xa34714,'emojiId':_0x26d8ae,'key':_0x584b9f,'faceName':_0x516aab||mFaceCache['get'](_0x26d8ae)||_0x104652[_0x18b444(0xa4)]}};}static[_0xd174d8(0xdb)](_0x1c1dcb){const _0x3e44a5=_0xd174d8,_0x50f97b={'hwRFC':_0x3e44a5(0x9c)};return{'elementType':ElementType[_0x3e44a5(0xde)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x50f97b[_0x3e44a5(0xd7)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xd174d8(0xa2)](_0x400895){const _0x46e31a=_0xd174d8,_0xc3192d={'BsLhv':_0x46e31a(0xac)};return{'elementType':ElementType[_0x46e31a(0xde)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x46e31a(0xc1)],'faceText':_0xc3192d[_0x46e31a(0xed)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x746e45){const _0x22d5bc=_0xd174d8,_0xb93702={'TOkXF':function(_0x1822c4,_0x46b331){return _0x1822c4!==_0x46b331;}};return _0xb93702['TOkXF'](typeof _0x746e45,_0x22d5bc(0xa8))&&(_0x746e45=JSON[_0x22d5bc(0xe0)](_0x746e45)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x746e45,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x2e48e5){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x2e48e5}};}static async['miniapp'](){const _0x1db52d=_0xd174d8,_0x2aba2a={'dMmfP':function(_0x5efd39,_0xf5f847){return _0x5efd39(_0xf5f847);},'iOGUy':'Bot\x20Test','tgrpX':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','TBBvE':_0x1db52d(0xf1)};let _0x48a16e=await _0x2aba2a[_0x1db52d(0xef)](SignMiniApp,{'prompt':_0x2aba2a[_0x1db52d(0xcd)],'title':_0x1db52d(0xb0),'preview':_0x2aba2a[_0x1db52d(0xd9)],'jumpUrl':_0x2aba2a[_0x1db52d(0xdc)],'tag':_0x2aba2a['iOGUy'],'tagIcon':_0x1db52d(0x9f),'source':_0x2aba2a[_0x1db52d(0xcd)],'sourcelogo':_0x1db52d(0x9f)});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x48a16e,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x113586=_0x2538;(function(_0x1ef21d,_0x58e444){const _0x140acb=_0x2538,_0x43718a=_0x1ef21d();while(!![]){try{const _0x186bed=parseInt(_0x140acb(0xed))/0x1+parseInt(_0x140acb(0xde))/0x2*(parseInt(_0x140acb(0xfa))/0x3)+parseInt(_0x140acb(0xbd))/0x4+parseInt(_0x140acb(0xca))/0x5+parseInt(_0x140acb(0xba))/0x6+-parseInt(_0x140acb(0xd7))/0x7*(-parseInt(_0x140acb(0xf0))/0x8)+-parseInt(_0x140acb(0xee))/0x9;if(_0x186bed===_0x58e444)break;else _0x43718a['push'](_0x43718a['shift']());}catch(_0x1e3c14){_0x43718a['push'](_0x43718a['shift']());}}}(_0x1d6d,0x1930d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x7655ef}from'node:fs';function _0x2538(_0x12af52,_0x41a37e){const _0x1d6dc1=_0x1d6d();return _0x2538=function(_0x2538f8,_0x1fce52){_0x2538f8=_0x2538f8-0xb2;let _0x1533f0=_0x1d6dc1[_0x2538f8];return _0x1533f0;},_0x2538(_0x12af52,_0x41a37e);}import _0x665fc2 from'fluent-ffmpeg';function _0x1d6d(){const _0x1958f0=['nQlox','HFkLq','egSFp','dirname','toString','文件异常,大小为0','Bot\x20Test','WNWTv','36195WUFWTs','urYEC','text','VIDEO','size','mface','oNSsw','语音转换失败,\x20请检查语音文件是否正常','NNBsY','Brrli','error','_0.png','markdown','kUMxw','JThRZ','FILE','sep','then','pJSUn','height','miniapp','icGvr','xDLny','[骰子]','writeFile','获取视频封面失败,使用默认封面','sysface','pic','width','video','EnkHa','PcaTb','1105728BQMOli','uMxNz','JcFUT','44764FrjjsE','AniStickerType','uploadFile','FACE','[包剪锤]','uSaGO','fpPgi','jpg','PTT','notAt','catch','TEXT','获取视频信息失败','800195ZBobZl','QSid','MARKDOWN','set','PIC','time','xhRMc','face','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','copyFile','EusMA','REPLY','Thumb','28fvQTFO','lpsdk','dice','mhCVH','mp4','stat','ARK','14rtACHf','QDes','AniStickerId','emoji','replace','skIOi','reply','unlink','AniStickerPackId','string','YlFuK','vfFRG','sNbnO','UpEBn','screenshots','172045KnqZli','5305725KUauEC','XnhAQ','161376jCYnSn','paMAT'];_0x1d6d=function(){return _0x1958f0;};return _0x1d6d();}import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x49f245 from'./face_config.json';import*as _0x50305b from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x113586(0xfc)](_0x5e8667){const _0x571cd0=_0x113586;return{'elementType':ElementType[_0x571cd0(0xc8)],'elementId':'','textElement':{'content':_0x5e8667,'atType':AtType[_0x571cd0(0xc6)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2b3067,_0x111b1a,_0x3ce0f8,_0x558933){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x558933,'atType':_0x3ce0f8,'atUid':_0x2b3067,'atTinyId':'','atNtUid':_0x111b1a}};}static[_0x113586(0xe4)](_0x9dd171,_0x6209c1,_0x3f1389,_0x1f62a9){const _0x54afd2=_0x113586;return{'elementType':ElementType[_0x54afd2(0xd5)],'elementId':'','replyElement':{'replayMsgSeq':_0x9dd171,'replayMsgId':_0x6209c1,'senderUin':_0x3f1389,'senderUinStr':_0x1f62a9}};}static async[_0x113586(0xb5)](_0x49194c,_0x3bc817='',_0x195fc7=0x0){const _0x407c55=_0x113586,_0x301216={'paMAT':function(_0x27cd2b,_0x479719){return _0x27cd2b===_0x479719;},'vfFRG':function(_0x5ad510,_0x249a38){return _0x5ad510(_0x249a38);}},{md5:_0xa05117,fileName:_0x1de2c4,path:_0x484b9d,fileSize:_0x47d59c}=await NTQQFileApi[_0x407c55(0xbf)](_0x49194c,ElementType[_0x407c55(0xce)],_0x195fc7);if(_0x301216[_0x407c55(0xf1)](_0x47d59c,0x0))throw _0x407c55(0xf7);const _0x3b71fd=await NTQQFileApi['getImageSize'](_0x49194c),_0x5f263c={'md5HexStr':_0xa05117,'fileSize':_0x47d59c[_0x407c55(0xf6)](),'picWidth':_0x3b71fd?.[_0x407c55(0xb6)],'picHeight':_0x3b71fd?.[_0x407c55(0x10d)],'fileName':_0x1de2c4,'sourcePath':_0x484b9d,'original':!![],'picType':_0x301216[_0x407c55(0xe9)](isGIF,_0x49194c)?PicType['gif']:PicType[_0x407c55(0xc4)],'picSubType':_0x195fc7,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3bc817};return{'elementType':ElementType[_0x407c55(0xce)],'elementId':'','picElement':_0x5f263c};}static async['file'](_0x1de1bc,_0x3c0f5b='',_0x3507db=''){const _0x2bdca1=_0x113586,_0xefa635={'fpPgi':function(_0x594dda,_0x495609){return _0x594dda===_0x495609;},'JcFUT':_0x2bdca1(0xf7)},{md5:_0x406722,fileName:_0x1f85de,path:_0x38f9fd,fileSize:_0x366467}=await NTQQFileApi['uploadFile'](_0x1de1bc,ElementType['FILE']);if(_0xefa635[_0x2bdca1(0xc3)](_0x366467,0x0))throw _0xefa635[_0x2bdca1(0xbc)];const _0x594d59={'elementType':ElementType[_0x2bdca1(0x109)],'elementId':'','fileElement':{'fileName':_0x3c0f5b||_0x1f85de,'folderId':_0x3507db,'filePath':_0x38f9fd,'fileSize':_0x366467[_0x2bdca1(0xf6)]()}};return _0x594d59;}static async[_0x113586(0xb7)](_0x8b99fc,_0x20b2f9='',_0x5203b8=''){const _0x294fa1=_0x113586,_0x461066={'EusMA':function(_0x463678,_0x265da6){return _0x463678(_0x265da6);},'WNWTv':function(_0x3fa185,_0x6d1893,_0x721714){return _0x3fa185(_0x6d1893,_0x721714);},'egSFp':function(_0x11bcc4,_0x154c5d){return _0x11bcc4(_0x154c5d);},'uMxNz':'end','xDLny':function(_0x1072c0,_0x4c69fc){return _0x1072c0+_0x4c69fc;},'YlFuK':function(_0x410ede,_0xeb0c29){return _0x410ede===_0xeb0c29;},'mhCVH':'文件异常,大小为0','IFAtm':_0x294fa1(0xdb),'xhRMc':function(_0x984d5f,_0xcd4b18){return _0x984d5f(_0xcd4b18);},'JThRZ':function(_0x5d4caf,_0x23a2eb){return _0x5d4caf||_0x23a2eb;},'XnhAQ':function(_0x624fbb,_0x358bf7){return _0x624fbb+_0x358bf7;}},{fileName:_0x1fd7c9,path:_0x4a10d6,fileSize:_0x41b606,md5:_0x453768}=await NTQQFileApi[_0x294fa1(0xbf)](_0x8b99fc,ElementType[_0x294fa1(0xfd)]);if(_0x461066[_0x294fa1(0xe8)](_0x41b606,0x0))throw _0x461066[_0x294fa1(0xda)];let _0x1cb422=_0x4a10d6[_0x294fa1(0xe2)](_0x50305b[_0x294fa1(0x10a)]+'Ori'+_0x50305b[_0x294fa1(0x10a)],_0x50305b[_0x294fa1(0x10a)]+_0x294fa1(0xd6)+_0x50305b[_0x294fa1(0x10a)]);_0x1cb422=_0x50305b[_0x294fa1(0xf5)](_0x1cb422);let _0x1acd60={'width':0x780,'height':0x438,'time':0xf,'format':_0x461066['IFAtm'],'size':_0x41b606,'filePath':_0x8b99fc};try{_0x1acd60=await _0x461066[_0x294fa1(0xf4)](getVideoInfo,_0x4a10d6);}catch(_0x256fcf){_0x461066[_0x294fa1(0xf9)](logError,_0x294fa1(0xc9),_0x256fcf);}const _0x261bb6=new Promise((_0x85e00,_0x5956c1)=>{const _0x53cb84=_0x294fa1,_0x4cac8e={'uSaGO':function(_0x5063c8,_0x3f0491){const _0x522da8=_0x2538;return _0x461066[_0x522da8(0xd4)](_0x5063c8,_0x3f0491);},'oNSsw':function(_0x29a0a0,_0x1cf195,_0x28add0){const _0x10c4fa=_0x2538;return _0x461066[_0x10c4fa(0xf9)](_0x29a0a0,_0x1cf195,_0x28add0);}},_0xf66e25=_0x453768+_0x53cb84(0x105),_0x11f422=_0x50305b['join'](_0x1cb422,_0xf66e25);_0x461066[_0x53cb84(0xf4)](_0x665fc2,_0x8b99fc)['on'](_0x461066[_0x53cb84(0xbb)],()=>{})['on'](_0x53cb84(0x104),_0x378239=>{const _0xbdd9a8=_0x53cb84;_0x4cac8e[_0xbdd9a8(0x100)](logDebug,_0xbdd9a8(0xb3),_0x378239),_0x5203b8?_0x7655ef[_0xbdd9a8(0xd3)](_0x5203b8,_0x11f422)[_0xbdd9a8(0x10b)](()=>{const _0x3156a6=_0xbdd9a8;_0x4cac8e[_0x3156a6(0xc2)](_0x85e00,_0x11f422);})[_0xbdd9a8(0xc7)](_0x5956c1):_0x7655ef[_0xbdd9a8(0xb2)](_0x11f422,defaultVideoThumb)[_0xbdd9a8(0x10b)](()=>{_0x85e00(_0x11f422);})[_0xbdd9a8(0xc7)](_0x5956c1);})[_0x53cb84(0xec)]({'timestamps':[0x0],'filename':_0xf66e25,'folder':_0x1cb422,'size':_0x461066[_0x53cb84(0x110)](_0x1acd60['width']+'x',_0x1acd60[_0x53cb84(0x10d)])})['on'](_0x461066[_0x53cb84(0xbb)],()=>{const _0x5e047b=_0x53cb84;_0x461066[_0x5e047b(0xd4)](_0x85e00,_0x11f422);});}),_0x354ec1=new Map(),_0xf9daac=await _0x261bb6,_0x1f1d36=(await _0x7655ef[_0x294fa1(0xdc)](_0xf9daac))[_0x294fa1(0xfe)];_0x354ec1[_0x294fa1(0xcd)](0x0,_0xf9daac);const _0x559db9=await _0x461066[_0x294fa1(0xd0)](calculateFileMD5,_0xf9daac),_0x236c4c={'elementType':ElementType[_0x294fa1(0xfd)],'elementId':'','videoElement':{'fileName':_0x461066[_0x294fa1(0x108)](_0x20b2f9,_0x1fd7c9),'filePath':_0x4a10d6,'videoMd5':_0x453768,'thumbMd5':_0x559db9,'fileTime':_0x1acd60[_0x294fa1(0xcf)],'thumbPath':_0x354ec1,'thumbSize':_0x1f1d36,'thumbWidth':_0x1acd60[_0x294fa1(0xb6)],'thumbHeight':_0x1acd60[_0x294fa1(0x10d)],'fileSize':_0x461066[_0x294fa1(0xef)]('',_0x41b606)}};return _0x236c4c;}static async['ptt'](_0x4f9245){const _0x5cc60c=_0x113586,_0x58b38f={'nQlox':function(_0x253fa1,_0x26f39b){return _0x253fa1(_0x26f39b);},'kUMxw':_0x5cc60c(0x101),'LpFQb':function(_0x192e17,_0x586115){return _0x192e17===_0x586115;},'Brrli':_0x5cc60c(0xf7),'skIOi':function(_0x4d8c47,_0xf232dc){return _0x4d8c47||_0xf232dc;}},{converted:_0x17d468,path:_0x52be3e,duration:_0x4bc0af}=await _0x58b38f[_0x5cc60c(0xf2)](encodeSilk,_0x4f9245);if(!_0x52be3e)throw _0x58b38f[_0x5cc60c(0x107)];const {md5:_0x52edc1,fileName:_0x203bb3,path:_0x3ae1df,fileSize:_0x45da6e}=await NTQQFileApi[_0x5cc60c(0xbf)](_0x52be3e,ElementType['PTT']);if(_0x58b38f['LpFQb'](_0x45da6e,0x0))throw _0x58b38f[_0x5cc60c(0x103)];return _0x17d468&&_0x7655ef[_0x5cc60c(0xe5)](_0x52be3e)[_0x5cc60c(0x10b)](),{'elementType':ElementType[_0x5cc60c(0xc5)],'elementId':'','pttElement':{'fileName':_0x203bb3,'filePath':_0x3ae1df,'md5HexStr':_0x52edc1,'fileSize':_0x45da6e,'duration':_0x58b38f[_0x5cc60c(0xe3)](_0x4bc0af,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[_0x113586(0xd1)](_0x27d1ba){const _0x198ca0=_0x113586,_0x9c8a5a={'HFkLq':function(_0x2572b0,_0x30d740){return _0x2572b0(_0x30d740);}},_0x275238=_0x49f245[_0x198ca0(0xb4)],_0x4c26d8=_0x49f245[_0x198ca0(0xe1)],_0x13c0b5=_0x275238['find'](_0x58f4b7=>_0x58f4b7[_0x198ca0(0xcb)]===_0x27d1ba[_0x198ca0(0xf6)]());_0x27d1ba=_0x9c8a5a[_0x198ca0(0xf3)](parseInt,_0x27d1ba[_0x198ca0(0xf6)]());let _0x3f2e9e=0x1;return _0x27d1ba>=0xde&&(_0x3f2e9e=0x2),_0x13c0b5[_0x198ca0(0xbe)]&&(_0x3f2e9e=0x3),{'elementType':ElementType[_0x198ca0(0xc0)],'elementId':'','faceElement':{'faceIndex':_0x27d1ba,'faceType':_0x3f2e9e,'faceText':_0x13c0b5[_0x198ca0(0xdf)],'stickerId':_0x13c0b5[_0x198ca0(0xe0)],'stickerType':_0x13c0b5[_0x198ca0(0xbe)],'packId':_0x13c0b5[_0x198ca0(0xe6)],'sourceType':0x1}};}static[_0x113586(0xff)](_0x48120f,_0x314538,_0x3baf2a,_0x1785c2){const _0x574b3d=_0x113586,_0x2f8235={'PcaTb':'[商城表情]'};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x48120f,'emojiId':_0x314538,'key':_0x3baf2a,'faceName':_0x1785c2||mFaceCache['get'](_0x314538)||_0x2f8235[_0x574b3d(0xb9)]}};}static['dice'](_0x3f49e3){const _0x18c46b=_0x113586,_0x4db9ba={'EnkHa':_0x18c46b(0x111)};return{'elementType':ElementType[_0x18c46b(0xc0)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x18c46b(0xd9)],'faceType':FaceType[_0x18c46b(0xd9)],'faceText':_0x4db9ba[_0x18c46b(0xb8)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x35a68e){const _0x2ad9fc=_0x113586,_0x29689={'sNbnO':_0x2ad9fc(0xc1)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x29689[_0x2ad9fc(0xea)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x25972f){const _0x4bd4a2=_0x113586,_0x483c26={'icGvr':function(_0x2f564e,_0x33511d){return _0x2f564e!==_0x33511d;},'Majta':_0x4bd4a2(0xe7)};return _0x483c26[_0x4bd4a2(0x10f)](typeof _0x25972f,_0x483c26['Majta'])&&(_0x25972f=JSON['stringify'](_0x25972f)),{'elementType':ElementType[_0x4bd4a2(0xdd)],'elementId':'','arkElement':{'bytesData':_0x25972f,'linkInfo':null,'subElementType':null}};}static[_0x113586(0x106)](_0x360d92){const _0x4072de=_0x113586;return{'elementType':ElementType[_0x4072de(0xcc)],'elementId':'','markdownElement':{'content':_0x360d92}};}static async[_0x113586(0x10e)](){const _0x55c9cc=_0x113586,_0xee638a={'NNBsY':function(_0x1c89dc,_0x23c690){return _0x1c89dc(_0x23c690);},'UpEBn':_0x55c9cc(0xf8),'lpsdk':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','urYEC':'https://www.bilibili.com/','pJSUn':_0x55c9cc(0xd2)};let _0x421f82=await _0xee638a[_0x55c9cc(0x102)](SignMiniApp,{'prompt':_0xee638a[_0x55c9cc(0xeb)],'title':_0x55c9cc(0xf8),'preview':_0xee638a[_0x55c9cc(0xd8)],'jumpUrl':_0xee638a[_0x55c9cc(0xfb)],'tag':_0xee638a[_0x55c9cc(0xeb)],'tagIcon':_0xee638a[_0x55c9cc(0x10c)],'source':_0xee638a['UpEBn'],'sourcelogo':_0x55c9cc(0xd2)});return{'elementType':ElementType[_0x55c9cc(0xdd)],'elementId':'','arkElement':{'bytesData':_0x421f82,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 87231e0d..2851e3a0 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x4fa9(_0x1b8aa4,_0xe764b9){var _0x574dc5=_0x574d();return _0x4fa9=function(_0x4fa96d,_0xa41fd1){_0x4fa96d=_0x4fa96d-0x18d;var _0x1e1e67=_0x574dc5[_0x4fa96d];return _0x1e1e67;},_0x4fa9(_0x1b8aa4,_0xe764b9);}(function(_0x27cc84,_0x27d8d5){var _0x42e11a=_0x4fa9,_0x310382=_0x27cc84();while(!![]){try{var _0x1ebcec=-parseInt(_0x42e11a(0x192))/0x1*(-parseInt(_0x42e11a(0x198))/0x2)+-parseInt(_0x42e11a(0x191))/0x3+parseInt(_0x42e11a(0x19a))/0x4*(parseInt(_0x42e11a(0x18e))/0x5)+parseInt(_0x42e11a(0x18f))/0x6+-parseInt(_0x42e11a(0x197))/0x7+parseInt(_0x42e11a(0x18d))/0x8+parseInt(_0x42e11a(0x193))/0x9;if(_0x1ebcec===_0x27d8d5)break;else _0x310382['push'](_0x310382['shift']());}catch(_0x222867){_0x310382['push'](_0x310382['shift']());}}}(_0x574d,0x74020));export var GroupMemberRole;(function(_0x437fbe){var _0x3fd34e=_0x4fa9,_0x419352={'qinqD':_0x3fd34e(0x199),'TRIDz':_0x3fd34e(0x190),'fjWzM':_0x3fd34e(0x19b)};_0x437fbe[_0x437fbe[_0x419352[_0x3fd34e(0x194)]]=0x2]=_0x419352[_0x3fd34e(0x194)],_0x437fbe[_0x437fbe[_0x419352[_0x3fd34e(0x195)]]=0x3]=_0x419352[_0x3fd34e(0x195)],_0x437fbe[_0x437fbe['owner']=0x4]=_0x419352[_0x3fd34e(0x196)];}(GroupMemberRole||(GroupMemberRole={})));function _0x574d(){var _0x5ab7f4=['1277586OHOfft','admin','2027889ZIVNBv','19993BIGMwG','2169621YDVhPi','qinqD','TRIDz','fjWzM','3525746GeiZUe','44VqhrQR','normal','1802172GkXOoH','owner','2483360aEVIHp','5ttzTHk'];_0x574d=function(){return _0x5ab7f4;};return _0x574d();} \ No newline at end of file +(function(_0x417175,_0x4de361){var _0x2789b3=_0x25ef,_0xfa313f=_0x417175();while(!![]){try{var _0x2c87cb=parseInt(_0x2789b3(0x1c9))/0x1*(parseInt(_0x2789b3(0x1c2))/0x2)+parseInt(_0x2789b3(0x1bf))/0x3*(-parseInt(_0x2789b3(0x1c6))/0x4)+-parseInt(_0x2789b3(0x1c8))/0x5*(parseInt(_0x2789b3(0x1c1))/0x6)+-parseInt(_0x2789b3(0x1bd))/0x7+parseInt(_0x2789b3(0x1c5))/0x8+-parseInt(_0x2789b3(0x1cd))/0x9*(-parseInt(_0x2789b3(0x1c0))/0xa)+-parseInt(_0x2789b3(0x1be))/0xb*(-parseInt(_0x2789b3(0x1cc))/0xc);if(_0x2c87cb===_0x4de361)break;else _0xfa313f['push'](_0xfa313f['shift']());}catch(_0x5b1e8d){_0xfa313f['push'](_0xfa313f['shift']());}}}(_0x2288,0x1e2ee));export var GroupMemberRole;function _0x2288(){var _0x56c90e=['yRnRZ','admin','182640KrHgtm','727488harMFm','1705928tzIZoG','143QJzuMy','3XNnqvf','30ARKrkY','41058tKXGjG','390GVaLNp','spGFL','fVJYL','64408VKXxGU','975724TvJokB','owner','45UsgBRE','1151vfugZN'];_0x2288=function(){return _0x56c90e;};return _0x2288();}function _0x25ef(_0x10d875,_0x3f2b99){var _0x228851=_0x2288();return _0x25ef=function(_0x25efc6,_0x30e83c){_0x25efc6=_0x25efc6-0x1bd;var _0x5d0b00=_0x228851[_0x25efc6];return _0x5d0b00;},_0x25ef(_0x10d875,_0x3f2b99);}(function(_0x38b478){var _0xc76f08=_0x25ef,_0x13610f={'yRnRZ':'normal','fVJYL':_0xc76f08(0x1cb),'spGFL':_0xc76f08(0x1c7)};_0x38b478[_0x38b478[_0x13610f[_0xc76f08(0x1ca)]]=0x2]=_0x13610f[_0xc76f08(0x1ca)],_0x38b478[_0x38b478[_0xc76f08(0x1cb)]=0x3]=_0x13610f[_0xc76f08(0x1c4)],_0x38b478[_0x38b478[_0x13610f[_0xc76f08(0x1c3)]]=0x4]=_0x13610f[_0xc76f08(0x1c3)];}(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 0f2105b4..9d3823b9 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x398a76,_0x4edc0d){var _0x1febae=_0x15a8,_0x7ccf83=_0x398a76();while(!![]){try{var _0x288ef6=-parseInt(_0x1febae(0xfe))/0x1*(parseInt(_0x1febae(0xf8))/0x2)+parseInt(_0x1febae(0xfa))/0x3+parseInt(_0x1febae(0xfd))/0x4*(-parseInt(_0x1febae(0xfc))/0x5)+-parseInt(_0x1febae(0xf9))/0x6+-parseInt(_0x1febae(0x100))/0x7+-parseInt(_0x1febae(0xff))/0x8+-parseInt(_0x1febae(0xf7))/0x9*(-parseInt(_0x1febae(0xfb))/0xa);if(_0x288ef6===_0x4edc0d)break;else _0x7ccf83['push'](_0x7ccf83['shift']());}catch(_0xe88819){_0x7ccf83['push'](_0x7ccf83['shift']());}}}(_0x4607,0x45a64));function _0x15a8(_0x543c74,_0x494cdd){var _0x460773=_0x4607();return _0x15a8=function(_0x15a843,_0x34a8bd){_0x15a843=_0x15a843-0xf7;var _0x23446a=_0x460773[_0x15a843];return _0x23446a;},_0x15a8(_0x543c74,_0x494cdd);}function _0x4607(){var _0x1d7141=['550EjbNQG','63435lAeZpw','24wNkwXj','563147CknCoR','3543824KPiNeO','1742727PvunvK','257625HjFBnz','2GSqeQw','758706HCAzzU','505704CasaQC'];_0x4607=function(){return _0x1d7141;};return _0x4607();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x41e49a,_0x2ebb61){var _0x18c2ba=_0x5930,_0x3b6bbf=_0x41e49a();while(!![]){try{var _0x4a74c0=parseInt(_0x18c2ba(0xda))/0x1*(parseInt(_0x18c2ba(0xd8))/0x2)+-parseInt(_0x18c2ba(0xd9))/0x3*(parseInt(_0x18c2ba(0xd3))/0x4)+-parseInt(_0x18c2ba(0xd7))/0x5*(parseInt(_0x18c2ba(0xd5))/0x6)+parseInt(_0x18c2ba(0xd4))/0x7+-parseInt(_0x18c2ba(0xd1))/0x8+-parseInt(_0x18c2ba(0xd2))/0x9+parseInt(_0x18c2ba(0xd6))/0xa;if(_0x4a74c0===_0x2ebb61)break;else _0x3b6bbf['push'](_0x3b6bbf['shift']());}catch(_0x2092ac){_0x3b6bbf['push'](_0x3b6bbf['shift']());}}}(_0x538c,0x922f2));export*from'./user';export*from'./group';export*from'./msg';function _0x5930(_0x5458e5,_0x4c794c){var _0x538cfe=_0x538c();return _0x5930=function(_0x59309f,_0x351741){_0x59309f=_0x59309f-0xd1;var _0x49f8c1=_0x538cfe[_0x59309f];return _0x49f8c1;},_0x5930(_0x5458e5,_0x4c794c);}export*from'./notify';export*from'./cache';export*from'./constructor';function _0x538c(){var _0x433aab=['50kySWEX','801483kjNMMY','12515LjOXLl','4219976DXPovH','5212116scoMjm','8mMDyuM','3609529dHuMHa','3368454QeNpvL','19726000hhaLjx','5EuLLce'];_0x538c=function(){return _0x433aab;};return _0x538c();} \ 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 377e987f..a7ecf5c3 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x300faa=_0x469a;(function(_0x4cce8f,_0x8c0710){var _0xf86a50=_0x469a,_0x3177a5=_0x4cce8f();while(!![]){try{var _0x58a6cc=-parseInt(_0xf86a50(0xd4))/0x1+parseInt(_0xf86a50(0xb9))/0x2*(parseInt(_0xf86a50(0xda))/0x3)+-parseInt(_0xf86a50(0xa7))/0x4+-parseInt(_0xf86a50(0xb2))/0x5*(parseInt(_0xf86a50(0x8a))/0x6)+parseInt(_0xf86a50(0xcd))/0x7*(-parseInt(_0xf86a50(0x9e))/0x8)+-parseInt(_0xf86a50(0x108))/0x9*(parseInt(_0xf86a50(0xa1))/0xa)+parseInt(_0xf86a50(0x88))/0xb;if(_0x58a6cc===_0x8c0710)break;else _0x3177a5['push'](_0x3177a5['shift']());}catch(_0x3a7a5c){_0x3177a5['push'](_0x3177a5['shift']());}}}(_0x2128,0xe52e9));export var ElementType;(function(_0x4a1290){var _0xf2b92f=_0x469a,_0x564e5f={'Sywts':'6|9|5|1|7|8|4|2|3|0','QnEeD':_0xf2b92f(0xd2),'ZzvvY':_0xf2b92f(0x9a),'eODqw':_0xf2b92f(0xd9),'jOIFB':_0xf2b92f(0x9f),'doStv':'FILE','RRjZJ':'TEXT','PZdiy':_0xf2b92f(0xdb),'VesEA':'FACE','LMUSe':_0xf2b92f(0xcc)},_0x50f3ba=_0x564e5f[_0xf2b92f(0xeb)]['split']('|'),_0x47fb80=0x0;while(!![]){switch(_0x50f3ba[_0x47fb80++]){case'0':_0x4a1290[_0x4a1290[_0x564e5f[_0xf2b92f(0x8b)]]=0xe]=_0x564e5f[_0xf2b92f(0x8b)];continue;case'1':_0x4a1290[_0x4a1290[_0x564e5f[_0xf2b92f(0xc2)]]=0x4]=_0x564e5f[_0xf2b92f(0xc2)];continue;case'2':_0x4a1290[_0x4a1290[_0x564e5f['eODqw']]=0xa]=_0x564e5f['eODqw'];continue;case'3':_0x4a1290[_0x4a1290['MFACE']=0xb]=_0xf2b92f(0xfd);continue;case'4':_0x4a1290[_0x4a1290[_0x564e5f['jOIFB']]=0x7]='REPLY';continue;case'5':_0x4a1290[_0x4a1290[_0x564e5f[_0xf2b92f(0x110)]]=0x3]=_0x564e5f[_0xf2b92f(0x110)];continue;case'6':_0x4a1290[_0x4a1290[_0xf2b92f(0xf2)]=0x1]=_0x564e5f[_0xf2b92f(0xb4)];continue;case'7':_0x4a1290[_0x4a1290[_0xf2b92f(0xdb)]=0x5]=_0x564e5f[_0xf2b92f(0xa3)];continue;case'8':_0x4a1290[_0x4a1290[_0x564e5f['VesEA']]=0x6]=_0x564e5f[_0xf2b92f(0xf4)];continue;case'9':_0x4a1290[_0x4a1290[_0x564e5f[_0xf2b92f(0xea)]]=0x2]='PIC';continue;}break;}}(ElementType||(ElementType={})));function _0x2128(){var _0x298cf4=['VesEA','AzswA','kwLav','ban','kNkKF','KCHATTYPETEMPBUSSINESSCRM','KCHATTYPEGROUP','KCHATTYPEUNKNOWN','aUEDq','MFACE','KCHATTYPEMATCHFRIENDFOLDER','lBluc','hGPnH','hfITR','8|18|35|26|0|31|36|19|1|25|11|15|4|10|32|37|29|27|17|20|24|3|22|21|28|38|30|14|13|9|34|2|5|39|33|16|23|7|6|12','LbYto','KCHATTYPETEMPNEARBYPRO','face','KCHATTYPENEARBYINTERACT','UrTMT','1557WXBQDz','RPS','cQcoD','bkpGX','qhBEj','cPAhd','VIDEO_FORMAT_RMVB','mTtBX','doStv','dpWIJ','VIDEO_FORMAT_AFS','KCHATTYPETEMPWPA','notAt','ZxygX','KCHATTYPETEMPADDRESSBOOK','KCHATTYPESERVICEASSISTANTSUB','cnCMv','67602117iuQqcw','KCHATTYPENEARBYHELLOFOLDER','37032abpHbd','QnEeD','group','KCHATTYPEC2C','KCHATTYPETEMPFRIENDVERIFY','lMyXA','IDJrE','VIDEO_FORMAT_RM','hLDNs','hxAKB','EASJV','INVITE_NEW_MEMBER','KCHATTYPEGROUPHELPER','memberIncrease','VIDEO_FORMAT_MP4','KCHATTYPEGUILD','PTT','AEGsr','atAll','uTCta','376NZJFAI','REPLY','normal','60080HiwqfF','zsboc','PZdiy','MEMBER_NEW_TITLE','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPERELATEACCOUNT','580220iAfvwo','KCHATTYPEGROUPNOTIFY','iCPqI','iejzT','zTYLr','KCHATTYPEGROUPBLESS','VIDEO_FORMAT_MOD','OVOYF','XqsAf','split','KCHATTYPEFAV','905kAmiir','CCIiw','RRjZJ','atUser','kicked','UunKc','dice','4852kIPaHl','pzdqZ','XgxqB','YmLqv','VIDEO_FORMAT_MTS','KCHATTYPETEMPC2CFROMUNKNOWN','wVuUb','KCHATTYPETEMPC2CFROMGROUP','kWsLk','ZzvvY','fPzVh','onWsx','VIDEO_FORMAT_WMV','lyTvC','npSXO','normal2','KCHATTYPEMATCHFRIEND','XsviW','KCHATTYPEDISC','PIC','257383LXpvXw','xchrh','iowZO','temp','VIDEO_FORMAT_MKV','MARKDOWN','Nzddu','1492584Ksmeel','hFXmd','KDBEz','https://multimedia.nt.qq.com.cn','hIzLM','ARK','390NuTICn','VIDEO','KCHATTYPEGROUPGUILD','gNKvr','eUjKQ','KCHATTYPEGUILDMETA','atzIy','KCHATTYPENEARBY','KCHATTYPEGAMEMESSAGE','WqHKr','VIDEO_FORMAT_AVI','KCHATTYPEGAMEMESSAGEFOLDER','KCHATTYPENEARBYFOLDER','ElBGP','xBbEV','VIDEO_FORMAT_MOV','LMUSe','Sywts','chatDevice','KCHATTYPESERVICEASSISTANT','CDbWQ','CXSCU','1|0|7|6|4|9|5|3|2|8|10','ocuqC','TEXT','lDTwr'];_0x2128=function(){return _0x298cf4;};return _0x2128();}export var PicType;(function(_0xad4182){var _0x3de0ca=_0x469a,_0x11f0f2={'mTtBX':'gif','CCIiw':'jpg'};_0xad4182[_0xad4182[_0x11f0f2[_0x3de0ca(0x10f)]]=0x7d0]=_0x11f0f2[_0x3de0ca(0x10f)],_0xad4182[_0xad4182[_0x11f0f2[_0x3de0ca(0xb3)]]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;(function(_0x15457e){var _0x1d3022=_0x469a,_0x46101a={'cPAhd':'normal','Nzddu':_0x1d3022(0x105)};_0x15457e[_0x15457e[_0x46101a[_0x1d3022(0x10d)]]=0x0]=_0x1d3022(0xa0),_0x15457e[_0x15457e[_0x46101a[_0x1d3022(0xd3)]]=0x1]=_0x46101a['Nzddu'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3cf296){var _0x20a106=_0x469a,_0x897d4={'lDTwr':_0x20a106(0x83),'iowZO':_0x20a106(0x9c),'npSXO':_0x20a106(0xb5)};_0x3cf296[_0x3cf296[_0x897d4[_0x20a106(0xf3)]]=0x0]=_0x897d4[_0x20a106(0xf3)],_0x3cf296[_0x3cf296[_0x897d4[_0x20a106(0xcf)]]=0x1]=_0x897d4[_0x20a106(0xcf)],_0x3cf296[_0x3cf296[_0x897d4['npSXO']]=0x2]=_0x897d4[_0x20a106(0xc7)];}(AtType||(AtType={})));export var ChatType;(function(_0x584934){var _0x1d51b9=_0x469a,_0x2f9841={'eUjKQ':'friend','fPzVh':_0x1d51b9(0x8c),'IDJrE':_0x1d51b9(0xec),'hGPnH':_0x1d51b9(0xd0)};_0x584934[_0x584934[_0x2f9841[_0x1d51b9(0xde)]]=0x1]=_0x2f9841[_0x1d51b9(0xde)],_0x584934[_0x584934[_0x2f9841[_0x1d51b9(0xc3)]]=0x2]=_0x2f9841[_0x1d51b9(0xc3)],_0x584934[_0x584934[_0x2f9841[_0x1d51b9(0x90)]]=0x8]=_0x2f9841[_0x1d51b9(0x90)],_0x584934[_0x584934[_0x2f9841[_0x1d51b9(0x100)]]=0x64]=_0x1d51b9(0xd0);}(ChatType||(ChatType={})));export var ChatType2;(function(_0x1f17a1){var _0x447b4f=_0x469a,_0x854c32={'qhBEj':_0x447b4f(0x102),'XsviW':'KCHATTYPEDATALINE','WqHKr':_0x447b4f(0xe2),'OVOYF':_0x447b4f(0xf9),'YmLqv':_0x447b4f(0xe6),'XqsAf':'KCHATTYPEGROUPGUILD','DoOlL':_0x447b4f(0xc0),'NEqpk':_0x447b4f(0xfb),'hIzLM':_0x447b4f(0x113),'UunKc':'KCHATTYPEADELIE','XgxqB':_0x447b4f(0xa5),'iCPqI':_0x447b4f(0x96),'aUEDq':_0x447b4f(0xfa),'atzIy':'KCHATTYPEWEIYUN','xchrh':'KCHATTYPESQUAREPUBLIC','zsboc':_0x447b4f(0x86),'onWsx':_0x447b4f(0xac),'QgglY':_0x447b4f(0x104),'gNKvr':'KCHATTYPEBUDDYNOTIFY','cQcoD':_0x447b4f(0xb1),'kWsLk':_0x447b4f(0xe1),'hxAKB':_0x447b4f(0x106),'hLDNs':'KCHATTYPENEARBYHELLOFOLDER','RDEMy':'KCHATTYPETEMPPUBLICACCOUNT','ocuqC':_0x447b4f(0xe5),'AzswA':'KCHATTYPECIRCLE','KDBEz':'KCHATTYPEMATCHFRIEND','hFXmd':'KCHATTYPEQQNOTIFY','Cdyas':_0x447b4f(0xdf),'EASJV':_0x447b4f(0xed),'cnCMv':'KCHATTYPEDATALINEMQQ','UrTMT':_0x447b4f(0xa8),'kNkKF':_0x447b4f(0x8e),'lBluc':_0x447b4f(0x85),'kwLav':_0x447b4f(0x8d),'zTYLr':_0x447b4f(0xcb),'ElBGP':_0x447b4f(0x99),'YszRw':'KCHATTYPERELATEACCOUNT','lMyXA':_0x447b4f(0xbe)},_0x122afe=_0x854c32[_0x447b4f(0x10c)][_0x447b4f(0xb0)]('|'),_0x212e03=0x0;while(!![]){switch(_0x122afe[_0x212e03++]){case'0':_0x1f17a1[_0x1f17a1[_0x854c32['XsviW']]=0x8]=_0x854c32[_0x447b4f(0xca)];continue;case'1':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xe3)]]=0x69]=_0x447b4f(0xe2);continue;case'2':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xae)]]=0x66]=_0x854c32['OVOYF'];continue;case'3':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xbc)]]=0x6e]=_0x447b4f(0xe6);continue;case'4':_0x1f17a1[_0x1f17a1[_0x447b4f(0xdc)]=0x9]=_0x854c32[_0x447b4f(0xaf)];continue;case'5':_0x1f17a1[_0x1f17a1[_0x854c32['DoOlL']]=0x64]=_0x447b4f(0xc0);continue;case'6':_0x1f17a1[_0x1f17a1[_0x854c32['NEqpk']]=0x0]=_0x447b4f(0xfb);continue;case'7':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xd8)]]=0x75]=_0x854c32[_0x447b4f(0xd8)];continue;case'8':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xb7)]]=0x2a]=_0x854c32[_0x447b4f(0xb7)];continue;case'9':_0x1f17a1[_0x1f17a1[_0x447b4f(0xa5)]=0x1e]=_0x854c32[_0x447b4f(0xbb)];continue;case'10':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xa9)]]=0x7]=_0x854c32['iCPqI'];continue;case'11':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xfc)]]=0x2]=_0x854c32['aUEDq'];continue;case'12':_0x1f17a1[_0x1f17a1[_0x854c32['atzIy']]=0x28]=_0x854c32[_0x447b4f(0xe0)];continue;case'13':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xce)]]=0x73]=_0x854c32['xchrh'];continue;case'14':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xa2)]]=0xc9]=_0x854c32[_0x447b4f(0xa2)];continue;case'15':_0x1f17a1[_0x1f17a1[_0x854c32['onWsx']]=0x85]=_0x854c32[_0x447b4f(0xc4)];continue;case'16':_0x1f17a1[_0x1f17a1[_0x854c32['QgglY']]=0x77]=_0x447b4f(0x104);continue;case'17':_0x1f17a1[_0x1f17a1[_0x447b4f(0xfe)]=0x6d]=_0x447b4f(0xfe);continue;case'18':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xdd)]]=0x5]=_0x854c32[_0x447b4f(0xdd)];continue;case'19':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x10a)]]=0x29]=_0x854c32[_0x447b4f(0x10a)];continue;case'20':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xc1)]]=0x6a]=_0x854c32[_0x447b4f(0xc1)];continue;case'21':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x93)]]=0x6c]=_0x854c32[_0x447b4f(0x93)];continue;case'22':_0x1f17a1[_0x1f17a1[_0x447b4f(0x89)]=0x70]=_0x854c32[_0x447b4f(0x92)];continue;case'23':_0x1f17a1[_0x1f17a1[_0x854c32['RDEMy']]=0x67]='KCHATTYPETEMPPUBLICACCOUNT';continue;case'24':_0x1f17a1[_0x1f17a1['KCHATTYPENEARBYASSISTANT']=0x6b]='KCHATTYPENEARBYASSISTANT';continue;case'25':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xf1)]]=0x74]=_0x854c32['ocuqC'];continue;case'26':_0x1f17a1[_0x1f17a1['KCHATTYPECIRCLE']=0x71]=_0x854c32[_0x447b4f(0xf5)];continue;case'27':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xd6)]]=0x68]=_0x447b4f(0xc9);continue;case'28':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xd5)]]=0x84]=_0x854c32[_0x447b4f(0xd5)];continue;case'29':_0x1f17a1[_0x1f17a1[_0x854c32['Cdyas']]=0x10]=_0x447b4f(0xdf);continue;case'30':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x94)]]=0x76]=_0x447b4f(0xed);continue;case'31':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x87)]]=0x86]=_0x854c32[_0x447b4f(0x87)];continue;case'32':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x107)]]=0x6]=_0x447b4f(0xa8);continue;case'33':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xf8)]]=0x65]=_0x854c32[_0x447b4f(0xf8)];continue;case'34':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xff)]]=0x6f]=_0x854c32[_0x447b4f(0xff)];continue;case'35':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xf6)]]=0x1]=_0x447b4f(0x8d);continue;case'36':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xab)]]=0x3]=_0x447b4f(0xcb);continue;case'37':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0xe7)]]=0x4]=_0x447b4f(0x99);continue;case'38':_0x1f17a1[_0x1f17a1[_0x854c32['YszRw']]=0x83]=_0x447b4f(0xa6);continue;case'39':_0x1f17a1[_0x1f17a1[_0x854c32[_0x447b4f(0x8f)]]=0x63]=_0x854c32[_0x447b4f(0x8f)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x300faa(0xd7);export var GrayTipElementSubType;(function(_0x5672b5){var _0x2475b7=_0x300faa,_0x2027ec={'uTCta':_0x2475b7(0x95),'lyTvC':_0x2475b7(0xa4)};_0x5672b5[_0x5672b5[_0x2475b7(0x95)]=0xc]=_0x2027ec[_0x2475b7(0x9d)],_0x5672b5[_0x5672b5[_0x2027ec[_0x2475b7(0xc6)]]=0x11]=_0x2027ec['lyTvC'];}(GrayTipElementSubType||(GrayTipElementSubType={})));function _0x469a(_0x31b1bc,_0x29f061){var _0x21288b=_0x2128();return _0x469a=function(_0x469a24,_0x424243){_0x469a24=_0x469a24-0x83;var _0x1465db=_0x21288b[_0x469a24];return _0x1465db;},_0x469a(_0x31b1bc,_0x29f061);}export var FaceType;(function(_0x6c2e30){var _0x3e493a=_0x300faa,_0xa96ee2={'wVuUb':_0x3e493a(0xa0),'LbYto':_0x3e493a(0xc8)};_0x6c2e30[_0x6c2e30[_0xa96ee2[_0x3e493a(0xbf)]]=0x1]=_0xa96ee2[_0x3e493a(0xbf)],_0x6c2e30[_0x6c2e30[_0x3e493a(0xc8)]=0x2]=_0xa96ee2[_0x3e493a(0x103)],_0x6c2e30[_0x6c2e30['dice']=0x3]=_0x3e493a(0xb8);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x178c2a){var _0x3ce40d=_0x300faa,_0x132cb2={'ZxygX':_0x3ce40d(0xb8),'iejzT':_0x3ce40d(0x109)};_0x178c2a[_0x178c2a[_0x3ce40d(0xb8)]=0x166]=_0x132cb2[_0x3ce40d(0x84)],_0x178c2a[_0x178c2a[_0x132cb2[_0x3ce40d(0xaa)]]=0x167]='RPS';}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x3d9bde){var _0x27fae2=_0x300faa,_0x474eb2={'qSaGB':_0x27fae2(0xf0),'qybRG':_0x27fae2(0xe4),'pzdqZ':_0x27fae2(0x112),'CXSCU':_0x27fae2(0x10e),'CDbWQ':_0x27fae2(0x91),'NtmqE':_0x27fae2(0xe9),'qkOAP':_0x27fae2(0xbd),'svzWN':_0x27fae2(0xad),'xBbEV':_0x27fae2(0xd1),'AEGsr':'VIDEO_FORMAT_TS','dpWIJ':'VIDEO_FORMAT_MP4','bkpGX':_0x27fae2(0xc5)},_0x10f98b=_0x474eb2['qSaGB'][_0x27fae2(0xb0)]('|'),_0x252566=0x0;while(!![]){switch(_0x10f98b[_0x252566++]){case'0':_0x3d9bde[_0x3d9bde[_0x474eb2['qybRG']]=0x1]=_0x474eb2['qybRG'];continue;case'1':_0x3d9bde[_0x3d9bde[_0x474eb2['pzdqZ']]=0x7]=_0x474eb2[_0x27fae2(0xba)];continue;case'2':_0x3d9bde[_0x3d9bde[_0x27fae2(0x10e)]=0x5]=_0x474eb2[_0x27fae2(0xef)];continue;case'3':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0xee)]]=0x6]=_0x474eb2[_0x27fae2(0xee)];continue;case'4':_0x3d9bde[_0x3d9bde[_0x474eb2['NtmqE']]=0x8]=_0x27fae2(0xe9);continue;case'5':_0x3d9bde[_0x3d9bde[_0x27fae2(0xbd)]=0xb]=_0x474eb2['qkOAP'];continue;case'6':_0x3d9bde[_0x3d9bde[_0x474eb2['svzWN']]=0x9]=_0x474eb2['svzWN'];continue;case'7':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0xe8)]]=0x4]=_0x474eb2['xBbEV'];continue;case'8':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0x9b)]]=0xa]='VIDEO_FORMAT_TS';continue;case'9':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0x111)]]=0x2]=_0x27fae2(0x98);continue;case'10':_0x3d9bde[_0x3d9bde[_0x474eb2[_0x27fae2(0x10b)]]=0x3]=_0x474eb2[_0x27fae2(0x10b)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x237177){var _0x5ed235=_0x300faa,_0x21fd56={'zWXGa':_0x5ed235(0x97),'hfITR':_0x5ed235(0xb6),'VbrEM':_0x5ed235(0xf7)};_0x237177[_0x237177[_0x5ed235(0x97)]=0x1]=_0x21fd56['zWXGa'],_0x237177[_0x237177[_0x21fd56['hfITR']]=0x3]=_0x21fd56[_0x5ed235(0x101)],_0x237177[_0x237177[_0x5ed235(0xf7)]=0x8]=_0x21fd56['VbrEM'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x5b180d=_0x39b5;(function(_0x49c2c6,_0x33cdf4){var _0xa6ee2d=_0x39b5,_0xa8fb15=_0x49c2c6();while(!![]){try{var _0x392c37=-parseInt(_0xa6ee2d(0x19e))/0x1*(parseInt(_0xa6ee2d(0x1bf))/0x2)+parseInt(_0xa6ee2d(0x161))/0x3*(parseInt(_0xa6ee2d(0x163))/0x4)+parseInt(_0xa6ee2d(0x17e))/0x5*(parseInt(_0xa6ee2d(0x1a9))/0x6)+parseInt(_0xa6ee2d(0x179))/0x7+parseInt(_0xa6ee2d(0x1be))/0x8+parseInt(_0xa6ee2d(0x196))/0x9+parseInt(_0xa6ee2d(0x185))/0xa*(-parseInt(_0xa6ee2d(0x19d))/0xb);if(_0x392c37===_0x33cdf4)break;else _0xa8fb15['push'](_0xa8fb15['shift']());}catch(_0x35deaf){_0xa8fb15['push'](_0xa8fb15['shift']());}}}(_0x4346,0xdfeff));export var ElementType;(function(_0x4acd93){var _0x46ace1=_0x39b5,_0x2934d3={'JbWXk':_0x46ace1(0x13b),'ThsCa':'PTT','oUvzC':_0x46ace1(0x13e),'eaaGt':_0x46ace1(0x133),'QTitE':_0x46ace1(0x1a4),'zhFOV':'FACE','TeRDx':_0x46ace1(0x1b3),'JGCMj':_0x46ace1(0x193),'eHPIP':'PIC','rTAei':'MARKDOWN'},_0x6581cc=_0x46ace1(0x153)['split']('|'),_0x26d15f=0x0;while(!![]){switch(_0x6581cc[_0x26d15f++]){case'0':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1ac)]]=0x1]=_0x2934d3[_0x46ace1(0x1ac)];continue;case'1':_0x4acd93[_0x4acd93[_0x2934d3['ThsCa']]=0x4]='PTT';continue;case'2':_0x4acd93[_0x4acd93[_0x2934d3['oUvzC']]=0xb]=_0x2934d3[_0x46ace1(0x147)];continue;case'3':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x139)]]=0xa]=_0x2934d3[_0x46ace1(0x139)];continue;case'4':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x150)]]=0x5]=_0x46ace1(0x1a4);continue;case'5':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x186)]]=0x6]=_0x2934d3['zhFOV'];continue;case'6':_0x4acd93[_0x4acd93[_0x46ace1(0x1b3)]=0x7]=_0x2934d3[_0x46ace1(0x1ba)];continue;case'7':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1b4)]]=0x3]=_0x46ace1(0x193);continue;case'8':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1b9)]]=0x2]=_0x2934d3[_0x46ace1(0x1b9)];continue;case'9':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x14e)]]=0xe]=_0x2934d3[_0x46ace1(0x14e)];continue;}break;}}(ElementType||(ElementType={})));function _0x39b5(_0x33d041,_0x882b26){var _0x43467e=_0x4346();return _0x39b5=function(_0x39b5c7,_0x9ef23e){_0x39b5c7=_0x39b5c7-0x132;var _0x16c59e=_0x43467e[_0x39b5c7];return _0x16c59e;},_0x39b5(_0x33d041,_0x882b26);}export var PicType;(function(_0x2475f1){var _0x1aa6f8=_0x39b5,_0x47ae78={'casdX':_0x1aa6f8(0x158),'QaZYS':_0x1aa6f8(0x187)};_0x2475f1[_0x2475f1[_0x1aa6f8(0x158)]=0x7d0]=_0x47ae78[_0x1aa6f8(0x166)],_0x2475f1[_0x2475f1[_0x47ae78['QaZYS']]=0x3e8]=_0x47ae78[_0x1aa6f8(0x1c8)];}(PicType||(PicType={})));export var PicSubType;(function(_0x51bb37){var _0x2bcfd2=_0x39b5,_0x2e23ad={'krLDN':_0x2bcfd2(0x1ad),'UFZNs':_0x2bcfd2(0x177)};_0x51bb37[_0x51bb37[_0x2e23ad[_0x2bcfd2(0x1a6)]]=0x0]=_0x2bcfd2(0x1ad),_0x51bb37[_0x51bb37[_0x2e23ad[_0x2bcfd2(0x15b)]]=0x1]=_0x2bcfd2(0x177);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x40bf92){var _0x3d27f2=_0x39b5,_0x181721={'Wfkla':'notAt','SjgPy':_0x3d27f2(0x195),'PyhrX':'atUser'};_0x40bf92[_0x40bf92[_0x3d27f2(0x159)]=0x0]=_0x181721[_0x3d27f2(0x1c7)],_0x40bf92[_0x40bf92[_0x181721[_0x3d27f2(0x165)]]=0x1]=_0x181721[_0x3d27f2(0x165)],_0x40bf92[_0x40bf92[_0x3d27f2(0x16e)]=0x2]=_0x181721[_0x3d27f2(0x13a)];}(AtType||(AtType={})));export var ChatType;(function(_0x4bfbdd){var _0x1c75f5=_0x39b5,_0xc4f77e={'kLoMk':_0x1c75f5(0x18d),'meDHF':_0x1c75f5(0x17d),'HxwUt':_0x1c75f5(0x17c),'rIZKI':_0x1c75f5(0x1c0)};_0x4bfbdd[_0x4bfbdd[_0xc4f77e[_0x1c75f5(0x19c)]]=0x1]=_0xc4f77e['kLoMk'],_0x4bfbdd[_0x4bfbdd[_0xc4f77e[_0x1c75f5(0x16f)]]=0x2]=_0xc4f77e[_0x1c75f5(0x16f)],_0x4bfbdd[_0x4bfbdd[_0xc4f77e['HxwUt']]=0x8]=_0xc4f77e['HxwUt'],_0x4bfbdd[_0x4bfbdd['temp']=0x64]=_0xc4f77e[_0x1c75f5(0x168)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x374a86){var _0x2cb323=_0x39b5,_0x591275={'iTgkW':_0x2cb323(0x14b),'RrEdW':_0x2cb323(0x173),'SBuZN':'KCHATTYPEQQNOTIFY','ZjMmm':_0x2cb323(0x16c),'LqNlW':_0x2cb323(0x191),'aCsZg':_0x2cb323(0x18e),'ramVA':_0x2cb323(0x164),'BxcHI':_0x2cb323(0x18a),'gMcby':_0x2cb323(0x180),'XwHui':_0x2cb323(0x1c6),'cQCwc':_0x2cb323(0x1b8),'wkbNN':_0x2cb323(0x1bb),'KeUZu':'KCHATTYPEUNKNOWN','GZTjh':_0x2cb323(0x15d),'IQglN':_0x2cb323(0x199),'qPIbk':'KCHATTYPEBUDDYNOTIFY','IYqfc':_0x2cb323(0x138),'sxzcM':_0x2cb323(0x1bd),'KvxWz':_0x2cb323(0x16b),'ymKJq':_0x2cb323(0x157),'gsHOj':_0x2cb323(0x18c),'EhyfV':'KCHATTYPETEMPPUBLICACCOUNT','abcdl':_0x2cb323(0x188),'cOdDG':_0x2cb323(0x13d),'BUnPa':'KCHATTYPETEMPC2CFROMUNKNOWN','bbMDW':'KCHATTYPEGROUP','SGRyP':'KCHATTYPEMATCHFRIEND','ukwbB':_0x2cb323(0x1a7),'dRMWv':_0x2cb323(0x156),'qKVEg':_0x2cb323(0x160),'swrod':_0x2cb323(0x1b6),'ZPBnT':_0x2cb323(0x1af),'NSeiA':_0x2cb323(0x134),'LfSwQ':_0x2cb323(0x171),'SQefa':_0x2cb323(0x141),'vHLCx':_0x2cb323(0x1a2),'gnqLm':_0x2cb323(0x149),'VdyeE':_0x2cb323(0x198),'XdXLe':'KCHATTYPENEARBYASSISTANT'},_0x4bd200=_0x591275[_0x2cb323(0x144)]['split']('|'),_0x3bb4ee=0x0;while(!![]){switch(_0x4bd200[_0x3bb4ee++]){case'0':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x13f)]]=0x74]=_0x591275[_0x2cb323(0x13f)];continue;case'1':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x169)]]=0x84]='KCHATTYPEQQNOTIFY';continue;case'2':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x190)]]=0x86]=_0x591275[_0x2cb323(0x190)];continue;case'3':_0x374a86[_0x374a86[_0x2cb323(0x191)]=0x6]=_0x591275[_0x2cb323(0x14f)];continue;case'4':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x14a)]]=0xc9]=_0x591275[_0x2cb323(0x14a)];continue;case'5':_0x374a86[_0x374a86[_0x591275['ramVA']]=0x71]='KCHATTYPECIRCLE';continue;case'6':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x140)]]=0x65]=_0x591275[_0x2cb323(0x140)];continue;case'7':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x15e)]]=0x83]=_0x591275[_0x2cb323(0x15e)];continue;case'8':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x18b)]]=0x70]=_0x591275[_0x2cb323(0x18b)];continue;case'9':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x19b)]]=0x66]=_0x591275[_0x2cb323(0x19b)];continue;case'10':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1c3)]]=0x1e]=_0x591275[_0x2cb323(0x1c3)];continue;case'11':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1b1)]]=0x0]='KCHATTYPEUNKNOWN';continue;case'12':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x19a)]]=0x69]=_0x591275['GZTjh'];continue;case'13':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x194)]]=0x29]=_0x591275[_0x2cb323(0x194)];continue;case'14':_0x374a86[_0x374a86[_0x591275['qPIbk']]=0x5]=_0x591275['qPIbk'];continue;case'15':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x146)]]=0x2a]=_0x591275[_0x2cb323(0x146)];continue;case'16':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x15c)]]=0x6e]=_0x591275['sxzcM'];continue;case'17':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x148)]]=0x28]=_0x591275['KvxWz'];continue;case'18':_0x374a86[_0x374a86[_0x2cb323(0x157)]=0x76]=_0x591275['ymKJq'];continue;case'19':_0x374a86[_0x374a86[_0x2cb323(0x18c)]=0x6f]=_0x591275['gsHOj'];continue;case'20':_0x374a86[_0x374a86[_0x2cb323(0x136)]=0x67]=_0x591275[_0x2cb323(0x1bc)];continue;case'21':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x13c)]]=0x3]=_0x591275[_0x2cb323(0x13c)];continue;case'22':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x172)]]=0x10]=_0x591275[_0x2cb323(0x172)];continue;case'23':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x137)]]=0x63]=_0x2cb323(0x178);continue;case'24':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x15a)]]=0x2]=_0x591275[_0x2cb323(0x15a)];continue;case'25':_0x374a86[_0x374a86['KCHATTYPEMATCHFRIEND']=0x68]=_0x591275[_0x2cb323(0x162)];continue;case'26':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x197)]]=0x85]=_0x2cb323(0x1a7);continue;case'27':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x15f)]]=0x1]=_0x2cb323(0x156);continue;case'28':_0x374a86[_0x374a86[_0x2cb323(0x160)]=0x75]=_0x591275[_0x2cb323(0x167)];continue;case'29':_0x374a86[_0x374a86[_0x2cb323(0x1aa)]=0x73]=_0x2cb323(0x1aa);continue;case'30':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x143)]]=0x64]=_0x2cb323(0x1b6);continue;case'31':_0x374a86[_0x374a86[_0x591275['ZPBnT']]=0x6a]=_0x591275[_0x2cb323(0x17a)];continue;case'32':_0x374a86[_0x374a86[_0x2cb323(0x17b)]=0x8]=_0x2cb323(0x17b);continue;case'33':_0x374a86[_0x374a86[_0x591275['NSeiA']]=0x9]=_0x591275[_0x2cb323(0x17f)];continue;case'34':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x181)]]=0x4]=_0x591275['LfSwQ'];continue;case'35':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1a8)]]=0x6c]=_0x591275[_0x2cb323(0x1a8)];continue;case'36':_0x374a86[_0x374a86[_0x2cb323(0x1a2)]=0x6d]=_0x591275[_0x2cb323(0x154)];continue;case'37':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x151)]]=0x77]=_0x591275['gnqLm'];continue;case'38':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1b5)]]=0x7]=_0x2cb323(0x198);continue;case'39':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1a0)]]=0x6b]=_0x591275['XdXLe'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x5b180d(0x155);function _0x4346(){var _0x59577f=['TEXT','abcdl','KCHATTYPEGUILDMETA','MFACE','RrEdW','BxcHI','KCHATTYPENEARBYINTERACT','ban','swrod','iTgkW','AOnUp','IYqfc','oUvzC','KvxWz','KCHATTYPETEMPNEARBYPRO','aCsZg','15|14|27|5|32|2|21|13|12|0|24|26|33|38|3|34|22|25|36|31|39|16|8|35|1|7|18|4|29|10|19|9|30|23|6|37|20|28|11|17','NSnNA','SvPBt','rTAei','LqNlW','QTitE','gnqLm','dice','0|8|7|1|4|5|6|3|2|9','vHLCx','https://gchat.qpic.cn','KCHATTYPEC2C','KCHATTYPESERVICEASSISTANT','gif','notAt','bbMDW','UFZNs','sxzcM','KCHATTYPEGAMEMESSAGE','gMcby','dRMWv','KCHATTYPETEMPWPA','136533rsuyQj','SGRyP','52WFgeqO','KCHATTYPECIRCLE','SjgPy','casdX','qKVEg','rIZKI','SBuZN','ylIww','KCHATTYPEWEIYUN','KCHATTYPEDATALINEMQQ','Wedwp','atUser','meDHF','VIDEO_FORMAT_MTS','KCHATTYPEGUILD','cOdDG','KCHATTYPEGAMEMESSAGEFOLDER','ZAnVo','VIDEO_FORMAT_MOV','VIDEO_FORMAT_RMVB','face','KCHATTYPETEMPC2CFROMUNKNOWN','11656701AzmsCF','ZPBnT','KCHATTYPEDATALINE','chatDevice','group','8430JjNAyX','NSeiA','KCHATTYPERELATEACCOUNT','LfSwQ','BLYAc','memberIncrease','IxXam','10IUxdjH','zhFOV','jpg','KCHATTYPEDISC','VdsQI','KCHATTYPETEMPFRIENDVERIFY','XwHui','KCHATTYPETEMPADDRESSBOOK','friend','KCHATTYPESERVICEASSISTANTSUB','VIDEO_FORMAT_RM','ZjMmm','KCHATTYPEGROUPNOTIFY','ajVfl','FILE','IQglN','atAll','10854900TPwqWa','ukwbB','KCHATTYPEGROUPHELPER','KCHATTYPEFAV','GZTjh','cQCwc','kLoMk','37721519CBDhwP','1aWeBxi','VIDEO_FORMAT_AVI','XdXLe','RPS','KCHATTYPEMATCHFRIENDFOLDER','PdNgB','VIDEO','INVITE_NEW_MEMBER','krLDN','KCHATTYPEGROUPBLESS','SQefa','4518rfZybK','KCHATTYPESQUAREPUBLIC','split','JbWXk','normal','kicked','KCHATTYPENEARBY','GjRRY','KeUZu','cqRFM','REPLY','JGCMj','VdyeE','KCHATTYPETEMPC2CFROMGROUP','VIDEO_FORMAT_WMV','KCHATTYPETEMPBUSSINESSCRM','eHPIP','TeRDx','KCHATTYPESUBSCRIBEFOLDER','EhyfV','KCHATTYPENEARBYFOLDER','5138760Yxdjxi','2056826ZhCOIN','temp','wXzul','MEMBER_NEW_TITLE','wkbNN','KnZvZ','normal2','KCHATTYPENEARBYHELLOFOLDER','Wfkla','QaZYS','VIDEO_FORMAT_MP4','ARK','KCHATTYPEGROUPGUILD','sjhIZ','KCHATTYPETEMPPUBLICACCOUNT','BUnPa','KCHATTYPEADELIE','eaaGt','PyhrX'];_0x4346=function(){return _0x59577f;};return _0x4346();}export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x42ad79){var _0x2360ab=_0x5b180d,_0x2e3003={'KnZvZ':_0x2360ab(0x1a5),'ZAnVo':_0x2360ab(0x1c2)};_0x42ad79[_0x42ad79[_0x2e3003['KnZvZ']]=0xc]=_0x2e3003[_0x2360ab(0x1c4)],_0x42ad79[_0x42ad79[_0x2e3003[_0x2360ab(0x174)]]=0x11]=_0x2360ab(0x1c2);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x77e6f5){var _0x56daa9=_0x5b180d,_0x3c7968={'PdNgB':'normal','ZrjPw':_0x56daa9(0x1c5),'ylIww':_0x56daa9(0x152)};_0x77e6f5[_0x77e6f5[_0x3c7968['PdNgB']]=0x1]=_0x3c7968[_0x56daa9(0x1a3)],_0x77e6f5[_0x77e6f5[_0x56daa9(0x1c5)]=0x2]=_0x3c7968['ZrjPw'],_0x77e6f5[_0x77e6f5[_0x3c7968[_0x56daa9(0x16a)]]=0x3]=_0x3c7968['ylIww'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xa51ca6){var _0x4f52db=_0x5b180d,_0x5d8331={'lLBzq':_0x4f52db(0x152),'GjRRY':'RPS'};_0xa51ca6[_0xa51ca6[_0x5d8331['lLBzq']]=0x166]=_0x4f52db(0x152),_0xa51ca6[_0xa51ca6[_0x5d8331[_0x4f52db(0x1b0)]]=0x167]=_0x4f52db(0x1a1);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x49d0a2){var _0x42f784=_0x5b180d,_0x136a5e={'IxXam':'4|5|1|7|3|6|8|10|0|9|2','Wedwp':_0x42f784(0x176),'kdzCR':'VIDEO_FORMAT_MKV','NSnNA':_0x42f784(0x1b7),'wXzul':_0x42f784(0x175),'ajVfl':'VIDEO_FORMAT_AFS','cqRFM':_0x42f784(0x19f),'AOnUp':_0x42f784(0x132),'sjhIZ':'VIDEO_FORMAT_MOD','BLYAc':_0x42f784(0x170),'bKVZK':'VIDEO_FORMAT_TS'},_0x3d600b=_0x136a5e[_0x42f784(0x184)][_0x42f784(0x1ab)]('|'),_0xb35f6c=0x0;while(!![]){switch(_0x3d600b[_0xb35f6c++]){case'0':_0x49d0a2[_0x49d0a2['VIDEO_FORMAT_RMVB']=0x5]=_0x136a5e[_0x42f784(0x16d)];continue;case'1':_0x49d0a2[_0x49d0a2[_0x136a5e['kdzCR']]=0x4]=_0x136a5e['kdzCR'];continue;case'2':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x14c)]]=0x3]=_0x136a5e[_0x42f784(0x14c)];continue;case'3':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x1c1)]]=0x8]=_0x136a5e[_0x42f784(0x1c1)];continue;case'4':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x192)]]=0x7]=_0x136a5e[_0x42f784(0x192)];continue;case'5':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x1b2)]]=0x1]=_0x42f784(0x19f);continue;case'6':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x145)]]=0x2]=_0x136a5e[_0x42f784(0x145)];continue;case'7':_0x49d0a2[_0x49d0a2[_0x136a5e['sjhIZ']]=0x9]=_0x136a5e[_0x42f784(0x135)];continue;case'8':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x182)]]=0xb]=_0x136a5e['BLYAc'];continue;case'9':_0x49d0a2[_0x49d0a2['VIDEO_FORMAT_TS']=0xa]=_0x136a5e['bKVZK'];continue;case'10':_0x49d0a2[_0x49d0a2[_0x42f784(0x18f)]=0x6]='VIDEO_FORMAT_RM';continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x4e444b){var _0x3176f9=_0x5b180d,_0x3a7044={'pVtWM':_0x3176f9(0x183),'SvPBt':_0x3176f9(0x1ae),'VdsQI':_0x3176f9(0x142)};_0x4e444b[_0x4e444b[_0x3176f9(0x183)]=0x1]=_0x3a7044['pVtWM'],_0x4e444b[_0x4e444b[_0x3a7044[_0x3176f9(0x14d)]]=0x3]=_0x3176f9(0x1ae),_0x4e444b[_0x4e444b[_0x3176f9(0x142)]=0x8]=_0x3a7044[_0x3176f9(0x189)];}(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 314eb079..f106cb7f 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -function _0x38ca(){var _0x3c5438=['hgOZt','1521233UVJUvZ','LCOaM','TITLETYPE','25915tdDgEf','PibOv','jYdEM','eTYlV','LYofv','zwscR','split','fXYnz','DEFAULTTYPE','JOIN_REQUEST','JqyyX','kUyPr','hFxHU','oOuhQ','KMEAGREEANYONE','sobba','LKYjN','gLQTe','WAIT_HANDLE','Wevpw','KMEIGNORED','24OHMJch','JliMD','224mWEXSn','gvMUO','approve','6963YrOiDi','8296340KlhAzW','GnDNR','HsZfW','iQJBu','1410kLgRpm','ADMIN_UNSET','ADMIN_SET','tFHkq','KPEERAGREEDANDADDED','IGNORE','wsvgO','sJvaO','KMEREFUSED','TcgSB','KPEERAGREED','KMSGINFO','8LxbxSN','MEMBER_EXIT','reject','INVITED_JOIN','APPROVE','KMEAGREEDANDADDED','Mzcyh','3079473oGPRLI','KMESETQUESTION','KPEERINITIATOR','13290327cfppwX','NEWGROUPTYPE','39036aWqLsa','422HAPfUl','INVITE_ME','KMEINITIATOR','KMEAGREEANDADDFAILED'];_0x38ca=function(){return _0x3c5438;};return _0x38ca();}(function(_0x41fddb,_0x10210f){var _0x5e76d3=_0x500a,_0x503041=_0x41fddb();while(!![]){try{var _0xfea26e=-parseInt(_0x5e76d3(0xa4))/0x1*(-parseInt(_0x5e76d3(0x8b))/0x2)+-parseInt(_0x5e76d3(0x9e))/0x3+parseInt(_0x5e76d3(0x83))/0x4*(-parseInt(_0x5e76d3(0x6c))/0x5)+-parseInt(_0x5e76d3(0x81))/0x6*(parseInt(_0x5e76d3(0x69))/0x7)+-parseInt(_0x5e76d3(0x97))/0x8*(-parseInt(_0x5e76d3(0xa1))/0x9)+-parseInt(_0x5e76d3(0x87))/0xa+parseInt(_0x5e76d3(0x86))/0xb*(parseInt(_0x5e76d3(0xa3))/0xc);if(_0xfea26e===_0x10210f)break;else _0x503041['push'](_0x503041['shift']());}catch(_0x20dfa4){_0x503041['push'](_0x503041['shift']());}}}(_0x38ca,0xc7a31));export var GroupNotifyTypes;(function(_0x1b33da){var _0x411bcb=_0x500a,_0x1d7a65={'oOuhQ':'5|7|4|1|6|2|0|3','sJvaO':_0x411bcb(0x8c),'SKJUC':_0x411bcb(0x8d),'LKYjN':_0x411bcb(0x98),'GnDNR':'ADMIN_UNSET_OTHER','hgOZt':_0x411bcb(0x75),'Mzcyh':_0x411bcb(0xa5),'jYdEM':'KICK_MEMBER','JliMD':_0x411bcb(0x9a)},_0x55d7a5=_0x1d7a65[_0x411bcb(0x79)][_0x411bcb(0x72)]('|'),_0x477d0f=0x0;while(!![]){switch(_0x55d7a5[_0x477d0f++]){case'0':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x92)]]=0xc]=_0x1d7a65['sJvaO'];continue;case'1':_0x1b33da[_0x1b33da[_0x1d7a65['SKJUC']]=0x8]=_0x1d7a65['SKJUC'];continue;case'2':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x7c)]]=0xb]=_0x1d7a65[_0x411bcb(0x7c)];continue;case'3':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x88)]]=0xd]=_0x1d7a65[_0x411bcb(0x88)];continue;case'4':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0xa8)]]=0x7]=_0x411bcb(0x75);continue;case'5':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x9d)]]=0x1]=_0x1d7a65['Mzcyh'];continue;case'6':_0x1b33da[_0x1b33da['KICK_MEMBER']=0x9]=_0x1d7a65[_0x411bcb(0x6e)];continue;case'7':_0x1b33da[_0x1b33da[_0x1d7a65[_0x411bcb(0x82)]]=0x4]=_0x1d7a65[_0x411bcb(0x82)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x3c6687){var _0x3397c9=_0x500a,_0x8fbea8={'ALPeF':'IGNORE','LCOaM':'WAIT_HANDLE','gvMUO':_0x3397c9(0x9b),'zwscR':'REJECT'};_0x3c6687[_0x3c6687[_0x8fbea8['ALPeF']]=0x0]=_0x3397c9(0x90),_0x3c6687[_0x3c6687[_0x8fbea8[_0x3397c9(0x6a)]]=0x1]=_0x3397c9(0x7e),_0x3c6687[_0x3c6687[_0x8fbea8[_0x3397c9(0x84)]]=0x2]=_0x3397c9(0x9b),_0x3c6687[_0x3c6687['REJECT']=0x3]=_0x8fbea8[_0x3397c9(0x71)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x500a(_0xe46af4,_0xbdbf1b){var _0x38caf5=_0x38ca();return _0x500a=function(_0x500a77,_0xa98310){_0x500a77=_0x500a77-0x69;var _0x252c66=_0x38caf5[_0x500a77];return _0x252c66;},_0x500a(_0xe46af4,_0xbdbf1b);}export var GroupRequestOperateTypes;(function(_0x247b77){var _0x4cf8c5=_0x500a,_0x2b0e79={'iQJBu':_0x4cf8c5(0x85),'tFHkq':_0x4cf8c5(0x99)};_0x247b77[_0x247b77[_0x2b0e79[_0x4cf8c5(0x8a)]]=0x1]='approve',_0x247b77[_0x247b77[_0x4cf8c5(0x99)]=0x2]=_0x2b0e79[_0x4cf8c5(0x8e)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x188425){var _0x320b83=_0x500a,_0x4af79a={'kUyPr':'11|10|0|13|9|1|7|12|8|4|6|2|3|5','sobba':'KMEAGREED','ZSQpc':_0x320b83(0x8f),'QfMpT':_0x320b83(0xa7),'JqyyX':_0x320b83(0x96),'qlNSP':_0x320b83(0x7a),'PibOv':'KMEINITIATORWAITPEERCONFIRM','wsvgO':_0x320b83(0x9f),'HsZfW':'KPEERREFUSED','eTYlV':'KMEIGNORED','hFxHU':_0x320b83(0x95),'vSHJg':_0x320b83(0xa0),'gLQTe':_0x320b83(0xa6),'Wevpw':'KMEREFUSED','fXYnz':_0x320b83(0x9c)},_0x2bf7d8=_0x4af79a[_0x320b83(0x77)][_0x320b83(0x72)]('|'),_0x4aa88c=0x0;while(!![]){switch(_0x2bf7d8[_0x4aa88c++]){case'0':_0x188425[_0x188425[_0x4af79a['sobba']]=0x2]=_0x4af79a[_0x320b83(0x7b)];continue;case'1':_0x188425[_0x188425[_0x320b83(0x8f)]=0x5]=_0x4af79a['ZSQpc'];continue;case'2':_0x188425[_0x188425[_0x4af79a['QfMpT']]=0xb]='KMEAGREEANDADDFAILED';continue;case'3':_0x188425[_0x188425[_0x4af79a[_0x320b83(0x76)]]=0xc]=_0x4af79a[_0x320b83(0x76)];continue;case'4':_0x188425[_0x188425[_0x320b83(0x7a)]=0x9]=_0x4af79a['qlNSP'];continue;case'5':_0x188425[_0x188425['KMEINITIATORWAITPEERCONFIRM']=0xd]=_0x4af79a[_0x320b83(0x6d)];continue;case'6':_0x188425[_0x188425[_0x4af79a[_0x320b83(0x91)]]=0xa]=_0x4af79a[_0x320b83(0x91)];continue;case'7':_0x188425[_0x188425['KPEERREFUSED']=0x6]=_0x4af79a[_0x320b83(0x89)];continue;case'8':_0x188425[_0x188425[_0x320b83(0x80)]=0x8]=_0x4af79a[_0x320b83(0x6f)];continue;case'9':_0x188425[_0x188425[_0x4af79a[_0x320b83(0x78)]]=0x4]=_0x320b83(0x95);continue;case'10':_0x188425[_0x188425[_0x4af79a['vSHJg']]=0x1]=_0x320b83(0xa0);continue;case'11':_0x188425[_0x188425[_0x4af79a[_0x320b83(0x7d)]]=0x0]=_0x4af79a['gLQTe'];continue;case'12':_0x188425[_0x188425[_0x320b83(0x93)]=0x7]=_0x4af79a[_0x320b83(0x7f)];continue;case'13':_0x188425[_0x188425[_0x320b83(0x9c)]=0x3]=_0x4af79a[_0x320b83(0x73)];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x378377){var _0x48c9a4=_0x500a,_0xe2412d={'LYofv':'DEFAULTTYPE','bCtqh':_0x48c9a4(0x6b),'TcgSB':_0x48c9a4(0xa2)};_0x378377[_0x378377[_0xe2412d[_0x48c9a4(0x70)]]=0x0]=_0x48c9a4(0x74),_0x378377[_0x378377[_0x48c9a4(0x6b)]=0x1]=_0xe2412d['bCtqh'],_0x378377[_0x378377[_0xe2412d[_0x48c9a4(0x94)]]=0x2]=_0xe2412d[_0x48c9a4(0x94)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x191e65,_0x5b51cc){var _0x206cc7=_0x1899,_0x3847e2=_0x191e65();while(!![]){try{var _0x12efa8=-parseInt(_0x206cc7(0xda))/0x1+parseInt(_0x206cc7(0xb2))/0x2*(-parseInt(_0x206cc7(0xe1))/0x3)+parseInt(_0x206cc7(0xc2))/0x4*(-parseInt(_0x206cc7(0xd4))/0x5)+parseInt(_0x206cc7(0xcf))/0x6*(parseInt(_0x206cc7(0xc4))/0x7)+-parseInt(_0x206cc7(0xc5))/0x8*(parseInt(_0x206cc7(0xdf))/0x9)+parseInt(_0x206cc7(0xb4))/0xa+parseInt(_0x206cc7(0xcc))/0xb*(parseInt(_0x206cc7(0xd2))/0xc);if(_0x12efa8===_0x5b51cc)break;else _0x3847e2['push'](_0x3847e2['shift']());}catch(_0x341d56){_0x3847e2['push'](_0x3847e2['shift']());}}}(_0x2f24,0x316db));export var GroupNotifyTypes;(function(_0x36bde1){var _0xe1412f=_0x1899,_0x13652d={'cTVkQ':_0xe1412f(0xb7),'grqXY':_0xe1412f(0xb6),'dzPJK':'ADMIN_SET','TLQEJ':_0xe1412f(0xb0),'oJVbB':'ADMIN_UNSET','TMxqd':_0xe1412f(0xab),'lDXqk':_0xe1412f(0xcb),'qfOYk':'INVITED_JOIN','lBYPz':_0xe1412f(0xbb)},_0x19880d=_0x13652d[_0xe1412f(0xe3)][_0xe1412f(0xbf)]('|'),_0x4ca9dd=0x0;while(!![]){switch(_0x19880d[_0x4ca9dd++]){case'0':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xa9)]]=0x7]=_0x13652d[_0xe1412f(0xa9)];continue;case'1':_0x36bde1[_0x36bde1[_0x13652d['dzPJK']]=0x8]=_0x13652d[_0xe1412f(0xe2)];continue;case'2':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xe4)]]=0x1]=_0x13652d[_0xe1412f(0xe4)];continue;case'3':_0x36bde1[_0x36bde1[_0xe1412f(0xa6)]=0xc]=_0x13652d[_0xe1412f(0xca)];continue;case'4':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xae)]]=0x9]=_0x13652d['TMxqd'];continue;case'5':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xad)]]=0xd]=_0x13652d[_0xe1412f(0xad)];continue;case'6':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xd6)]]=0x4]=_0x13652d[_0xe1412f(0xd6)];continue;case'7':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xcd)]]=0xb]=_0x13652d[_0xe1412f(0xcd)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x2f24(){var _0x575b37=['4278fzCscZ','wvYDV','1840270SsVwQw','nQlYN','JOIN_REQUEST','2|6|0|1|4|7|3|5','WAIT_HANDLE','KMEAGREED','KMEREFUSED','MEMBER_EXIT','IoabX','NEWGROUPTYPE','KMESETQUESTION','split','CRYpS','KPEERINITIATOR','530804mUGzxP','KMEAGREEDANDADDED','7YJfNEv','70264HvaXfW','APPROVE','zaswZ','rJZQG','TMcyB','oJVbB','ADMIN_UNSET_OTHER','2410628NWefGr','lBYPz','GKRcW','1095888qASTff','KMEINITIATORWAITPEERCONFIRM','reject','36NrnQEn','KVVys','5RvzXwD','YrYJO','qfOYk','KMEAGREEANDADDFAILED','nzruw','zFhJh','212119OrMpsk','UcaRf','KMSGINFO','KMEIGNORED','NZcqo','333EoziWB','DEFAULTTYPE','213mkFXmq','dzPJK','cTVkQ','TLQEJ','KMEINITIATOR','zHEWj','ADMIN_UNSET','dJQcL','uxSHj','grqXY','KPEERAGREED','KICK_MEMBER','REJECT','lDXqk','TMxqd','IGNORE','INVITE_ME','KPEERAGREEDANDADDED'];_0x2f24=function(){return _0x575b37;};return _0x2f24();}export var GroupNotifyStatus;(function(_0x59c30b){var _0x3ac41c=_0x1899,_0x5db5d8={'CRYpS':_0x3ac41c(0xaf),'wvYDV':_0x3ac41c(0xac)};_0x59c30b[_0x59c30b[_0x5db5d8[_0x3ac41c(0xc0)]]=0x0]=_0x5db5d8['CRYpS'],_0x59c30b[_0x59c30b[_0x3ac41c(0xb8)]=0x1]=_0x3ac41c(0xb8),_0x59c30b[_0x59c30b['APPROVE']=0x2]=_0x3ac41c(0xc6),_0x59c30b[_0x59c30b[_0x3ac41c(0xac)]=0x3]=_0x5db5d8[_0x3ac41c(0xb3)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x1899(_0x599ebc,_0x28c2e0){var _0x2f24d5=_0x2f24();return _0x1899=function(_0x1899b5,_0x3bf2c3){_0x1899b5=_0x1899b5-0xa6;var _0x817b6a=_0x2f24d5[_0x1899b5];return _0x817b6a;},_0x1899(_0x599ebc,_0x28c2e0);}(function(_0x1adf98){var _0x52286e=_0x1899,_0x1db6c6={'NZcqo':'approve','dJQcL':_0x52286e(0xd1)};_0x1adf98[_0x1adf98[_0x1db6c6[_0x52286e(0xde)]]=0x1]=_0x1db6c6['NZcqo'],_0x1adf98[_0x1adf98[_0x1db6c6[_0x52286e(0xa7)]]=0x2]=_0x1db6c6[_0x52286e(0xa7)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x5839b9){var _0x2f5e79=_0x1899,_0x17b4fb={'YrYJO':_0x2f5e79(0xe5),'zaswZ':_0x2f5e79(0xc1),'TMcyB':_0x2f5e79(0xb9),'nQlYN':_0x2f5e79(0xaa),'uxSHj':_0x2f5e79(0xb1),'nzruw':'KPEERREFUSED','wfPJG':_0x2f5e79(0xba),'GKRcW':_0x2f5e79(0xdd),'zHEWj':'KMEAGREEANYONE','zFhJh':_0x2f5e79(0xbe),'zWTla':_0x2f5e79(0xd7),'UcaRf':_0x2f5e79(0xdc),'KmVpQ':'KMEINITIATORWAITPEERCONFIRM'};_0x5839b9[_0x5839b9['KMEINITIATOR']=0x0]=_0x17b4fb[_0x2f5e79(0xd5)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xc7)]]=0x1]=_0x2f5e79(0xc1),_0x5839b9[_0x5839b9[_0x2f5e79(0xb9)]=0x2]=_0x17b4fb[_0x2f5e79(0xc9)],_0x5839b9[_0x5839b9[_0x2f5e79(0xc3)]=0x3]='KMEAGREEDANDADDED',_0x5839b9[_0x5839b9['KPEERAGREED']=0x4]=_0x17b4fb[_0x2f5e79(0xb5)],_0x5839b9[_0x5839b9[_0x17b4fb['uxSHj']]=0x5]=_0x17b4fb[_0x2f5e79(0xa8)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xd8)]]=0x6]=_0x17b4fb[_0x2f5e79(0xd8)],_0x5839b9[_0x5839b9[_0x17b4fb['wfPJG']]=0x7]=_0x17b4fb['wfPJG'],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xce)]]=0x8]=_0x17b4fb[_0x2f5e79(0xce)],_0x5839b9[_0x5839b9['KMEAGREEANYONE']=0x9]=_0x17b4fb[_0x2f5e79(0xe6)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xd9)]]=0xa]=_0x17b4fb['zFhJh'],_0x5839b9[_0x5839b9[_0x2f5e79(0xd7)]=0xb]=_0x17b4fb['zWTla'],_0x5839b9[_0x5839b9[_0x2f5e79(0xdc)]=0xc]=_0x17b4fb[_0x2f5e79(0xdb)],_0x5839b9[_0x5839b9[_0x17b4fb['KmVpQ']]=0xd]=_0x2f5e79(0xd0);}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x6bd5c9){var _0x2827dc=_0x1899,_0x591207={'KVVys':_0x2827dc(0xe0),'rJZQG':'TITLETYPE','IoabX':_0x2827dc(0xbd)};_0x6bd5c9[_0x6bd5c9[_0x591207[_0x2827dc(0xd3)]]=0x0]=_0x2827dc(0xe0),_0x6bd5c9[_0x6bd5c9[_0x591207['rJZQG']]=0x1]=_0x591207[_0x2827dc(0xc8)],_0x6bd5c9[_0x6bd5c9[_0x591207[_0x2827dc(0xbc)]]=0x2]=_0x2827dc(0xbd);}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index d3ca3442..b7852ffd 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0xcbb36a,_0x16d7e2){var _0x40581a=_0x384c,_0x36ae05=_0xcbb36a();while(!![]){try{var _0x351061=-parseInt(_0x40581a(0x7d))/0x1+parseInt(_0x40581a(0x75))/0x2*(parseInt(_0x40581a(0x84))/0x3)+-parseInt(_0x40581a(0x80))/0x4+parseInt(_0x40581a(0x77))/0x5*(-parseInt(_0x40581a(0x7a))/0x6)+-parseInt(_0x40581a(0x74))/0x7+parseInt(_0x40581a(0x78))/0x8+parseInt(_0x40581a(0x7b))/0x9;if(_0x351061===_0x16d7e2)break;else _0x36ae05['push'](_0x36ae05['shift']());}catch(_0x289261){_0x36ae05['push'](_0x36ae05['shift']());}}}(_0x4268,0xc904a));export var Sex;function _0x4268(){var _0x30bfec=['3824064FEUoER','KPHOTOWALL','Troww','urdzG','41706rouBmE','4941132nkRnkx','154ZsDGaP','mAzVH','15HGefOY','8965688nAXyYI','unknown','715014ouhrta','18962010cPnrzu','PcVvq','1455286yfVScl','KPRIVILEGEICON','male'];_0x4268=function(){return _0x30bfec;};return _0x4268();}function _0x384c(_0x4c016f,_0x4adf98){var _0x42683d=_0x4268();return _0x384c=function(_0x384c15,_0x1538af){_0x384c15=_0x384c15-0x74;var _0x49467c=_0x42683d[_0x384c15];return _0x49467c;},_0x384c(_0x4c016f,_0x4adf98);}(function(_0x3a1050){var _0x2b42c5=_0x384c,_0x39ecd8={'qjRxI':_0x2b42c5(0x7f),'PcVvq':'female','Troww':_0x2b42c5(0x79)};_0x3a1050[_0x3a1050['male']=0x1]=_0x39ecd8['qjRxI'],_0x3a1050[_0x3a1050[_0x39ecd8[_0x2b42c5(0x7c)]]=0x2]=_0x39ecd8[_0x2b42c5(0x7c)],_0x3a1050[_0x3a1050[_0x39ecd8[_0x2b42c5(0x82)]]=0xff]=_0x39ecd8['Troww'];}(Sex||(Sex={})));export var BizKey;(function(_0x13d00b){var _0x411529=_0x384c,_0x167647={'mAzVH':'KPRIVILEGEICON','urdzG':_0x411529(0x81)};_0x13d00b[_0x13d00b[_0x411529(0x7e)]=0x0]=_0x167647[_0x411529(0x76)],_0x13d00b[_0x13d00b[_0x167647[_0x411529(0x83)]]=0x1]=_0x167647[_0x411529(0x83)];}(BizKey||(BizKey={}))); \ No newline at end of file +function _0x1486(_0x328b06,_0x117286){var _0x3c6035=_0x3c60();return _0x1486=function(_0x1486a1,_0x3a35dc){_0x1486a1=_0x1486a1-0x1b4;var _0x5ef6be=_0x3c6035[_0x1486a1];return _0x5ef6be;},_0x1486(_0x328b06,_0x117286);}(function(_0x12c93a,_0x54cab3){var _0x37fbfd=_0x1486,_0x558b1d=_0x12c93a();while(!![]){try{var _0x4acca0=parseInt(_0x37fbfd(0x1b8))/0x1+-parseInt(_0x37fbfd(0x1bd))/0x2*(parseInt(_0x37fbfd(0x1b9))/0x3)+parseInt(_0x37fbfd(0x1c4))/0x4+-parseInt(_0x37fbfd(0x1c0))/0x5+parseInt(_0x37fbfd(0x1c3))/0x6*(parseInt(_0x37fbfd(0x1b4))/0x7)+-parseInt(_0x37fbfd(0x1bb))/0x8*(-parseInt(_0x37fbfd(0x1c1))/0x9)+parseInt(_0x37fbfd(0x1b6))/0xa*(-parseInt(_0x37fbfd(0x1c2))/0xb);if(_0x4acca0===_0x54cab3)break;else _0x558b1d['push'](_0x558b1d['shift']());}catch(_0x499218){_0x558b1d['push'](_0x558b1d['shift']());}}}(_0x3c60,0xe9f23));export var Sex;(function(_0x4debb2){var _0x3c1549=_0x1486,_0x5a32c8={'bZrDj':'male','lHsCo':_0x3c1549(0x1bf),'rVSeb':_0x3c1549(0x1b7)};_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1bc)]]=0x1]=_0x5a32c8[_0x3c1549(0x1bc)],_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1c6)]]=0x2]=_0x5a32c8[_0x3c1549(0x1c6)],_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1c5)]]=0xff]=_0x5a32c8[_0x3c1549(0x1c5)];}(Sex||(Sex={})));function _0x3c60(){var _0x2bb498=['1276807nuCQsN','CZvMn','10qTzIjk','unknown','1473897wGReGY','1305177ywbCIB','KPHOTOWALL','8QJpRwl','bZrDj','2Aintpo','NgVPa','female','3581255kgtxZf','2893626fxOpQu','37059638PWKWCU','60SqXFKm','7436760YvxCeV','rVSeb','lHsCo'];_0x3c60=function(){return _0x2bb498;};return _0x3c60();}export var BizKey;(function(_0x1d0b54){var _0x4645b9=_0x1486,_0x56379a={'NgVPa':'KPRIVILEGEICON','CZvMn':_0x4645b9(0x1ba)};_0x1d0b54[_0x1d0b54[_0x56379a[_0x4645b9(0x1be)]]=0x0]=_0x56379a['NgVPa'],_0x1d0b54[_0x1d0b54[_0x56379a[_0x4645b9(0x1b5)]]=0x1]=_0x56379a[_0x4645b9(0x1b5)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index e7837bd3..d70c541d 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x26ee1c,_0x347a8a){var _0x3b74ce=_0x1c2c,_0x5f5006=_0x26ee1c();while(!![]){try{var _0x208979=-parseInt(_0x3b74ce(0x12c))/0x1+parseInt(_0x3b74ce(0x129))/0x2*(parseInt(_0x3b74ce(0x131))/0x3)+-parseInt(_0x3b74ce(0x132))/0x4+parseInt(_0x3b74ce(0x12b))/0x5*(-parseInt(_0x3b74ce(0x130))/0x6)+-parseInt(_0x3b74ce(0x12e))/0x7*(-parseInt(_0x3b74ce(0x12d))/0x8)+-parseInt(_0x3b74ce(0x133))/0x9*(-parseInt(_0x3b74ce(0x12f))/0xa)+parseInt(_0x3b74ce(0x12a))/0xb;if(_0x208979===_0x347a8a)break;else _0x5f5006['push'](_0x5f5006['shift']());}catch(_0x1154ac){_0x5f5006['push'](_0x5f5006['shift']());}}}(_0x2553,0x8aed2));import _0x5bdf5e from'./wrapper';function _0x2553(){var _0x1181a9=['65yTZpQk','1135849odFnGK','8nGmFrx','3470369ygdNlR','16070DGQfHZ','224154dGvkEW','6TStjKL','1572392GIeRbN','1089OjgKVt','93038vMiqFC','19804444KSxapC'];_0x2553=function(){return _0x1181a9;};return _0x2553();}function _0x1c2c(_0x4b199f,_0x2845be){var _0x25538a=_0x2553();return _0x1c2c=function(_0x1c2c2e,_0xd2814d){_0x1c2c2e=_0x1c2c2e-0x129;var _0x188a69=_0x25538a[_0x1c2c2e];return _0x188a69;},_0x1c2c(_0x4b199f,_0x2845be);}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{_0x5bdf5e as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x5a88d9,_0x5ab068){var _0x4173ab=_0x1a06,_0x3036a7=_0x5a88d9();while(!![]){try{var _0x289715=parseInt(_0x4173ab(0x118))/0x1+parseInt(_0x4173ab(0x116))/0x2+-parseInt(_0x4173ab(0x115))/0x3+parseInt(_0x4173ab(0x113))/0x4*(parseInt(_0x4173ab(0x117))/0x5)+-parseInt(_0x4173ab(0x119))/0x6+parseInt(_0x4173ab(0x11a))/0x7*(parseInt(_0x4173ab(0x11b))/0x8)+-parseInt(_0x4173ab(0x114))/0x9;if(_0x289715===_0x5ab068)break;else _0x3036a7['push'](_0x3036a7['shift']());}catch(_0x3977a0){_0x3036a7['push'](_0x3036a7['shift']());}}}(_0x2005,0xed49d));import _0x982f22 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x982f22 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x1a06(_0x49759a,_0x315aa0){var _0x2005fe=_0x2005();return _0x1a06=function(_0x1a064f,_0x283c48){_0x1a064f=_0x1a064f-0x113;var _0x46e9af=_0x2005fe[_0x1a064f];return _0x46e9af;},_0x1a06(_0x49759a,_0x315aa0);}function _0x2005(){var _0x307347=['2986272hbeAEX','155953buaIdy','552ljIjTz','4jEWJhM','23346801GELwep','250023udeCqm','1325890IjnUQP','2914430RWFPoS','1363993GtoguH'];_0x2005=function(){return _0x307347;};return _0x2005();} \ 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 6547e808..c2e2d125 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x2bb7(_0x1ba2fb,_0x1fa335){var _0x5d051e=_0x5d05();return _0x2bb7=function(_0x2bb74a,_0x1eeb6d){_0x2bb74a=_0x2bb74a-0x9f;var _0x13da0f=_0x5d051e[_0x2bb74a];return _0x13da0f;},_0x2bb7(_0x1ba2fb,_0x1fa335);}var _0x55766b=_0x2bb7;(function(_0xed1e81,_0x58aa45){var _0x1ecd44=_0x2bb7,_0xed3926=_0xed1e81();while(!![]){try{var _0x50db8c=parseInt(_0x1ecd44(0xac))/0x1*(-parseInt(_0x1ecd44(0xa8))/0x2)+parseInt(_0x1ecd44(0xa2))/0x3+parseInt(_0x1ecd44(0xae))/0x4+parseInt(_0x1ecd44(0xa4))/0x5+parseInt(_0x1ecd44(0xaf))/0x6*(parseInt(_0x1ecd44(0xb1))/0x7)+-parseInt(_0x1ecd44(0x9f))/0x8+-parseInt(_0x1ecd44(0xad))/0x9;if(_0x50db8c===_0x58aa45)break;else _0xed3926['push'](_0xed3926['shift']());}catch(_0x50877c){_0xed3926['push'](_0xed3926['shift']());}}}(_0x5d05,0x6d31d));function _0x5d05(){var _0x1307df=['2541500wJBiMp','330LepRXY','onCheckBuddySettingResult','72898AXXYfE','onDoubtBuddyReqChange','onBlockChanged','6322944JLcTXf','onBuddyReqChange','onAddMeSettingChanged','1440495ACcsnc','onAddBuddyNeedVerify','3721535OvKkss','onBuddyRemarkUpdated','onDoubtBuddyReqUnreadNumChange','onDelBatchBuddyInfos','2316khtnfV','onAvatarUrlUpdated','onBuddyInfoChange','onBuddyListChange','578XvRoko','4730976cZSniZ'];_0x5d05=function(){return _0x1307df;};return _0x5d05();}export class BuddyListener{[_0x55766b(0xa3)](_0x352285){}[_0x55766b(0xa1)](_0x23e722){}[_0x55766b(0xa9)](_0x30aa2d){}[_0x55766b(0xb3)](_0x37955a){}['onBuddyDetailInfoChange'](_0x31fc44){}[_0x55766b(0xaa)](_0x193460){}[_0x55766b(0xab)](_0x11181b){}[_0x55766b(0xa5)](_0x225269){}[_0x55766b(0xa0)](_0x45dd04){}['onBuddyReqUnreadCntChange'](_0x2a878c){}[_0x55766b(0xb0)](_0x30b930){}[_0x55766b(0xa7)](_0x37a6df){}[_0x55766b(0xb2)](_0x124df8){}[_0x55766b(0xa6)](_0x4ca9b9){}['onNickUpdated'](_0x1065ff){}['onSmartInfos'](_0xb5497f){}['onSpacePermissionInfos'](_0x172c6a){}} \ No newline at end of file +function _0x3fab(){var _0x4d46a2=['273666uuvvYm','7990873CmIdaT','636447FZHmfW','8eqkubd','9WCntbC','onDelBatchBuddyInfos','1614780zkQLyc','20rKtiRl','onCheckBuddySettingResult','4MRFzAJ','onBuddyReqChange','onBuddyRemarkUpdated','onSpacePermissionInfos','264249PuBBOl','985236hsRowp','onBlockChanged','onDoubtBuddyReqUnreadNumChange','onNickUpdated','onAvatarUrlUpdated','onSmartInfos','onBuddyInfoChange','onBuddyReqUnreadCntChange','onDoubtBuddyReqChange','337715WMEKMj','onAddMeSettingChanged'];_0x3fab=function(){return _0x4d46a2;};return _0x3fab();}var _0x88adf8=_0x3d4c;(function(_0x3b1c8a,_0x1e1cb4){var _0x3169fc=_0x3d4c,_0x31dcfd=_0x3b1c8a();while(!![]){try{var _0x19ba97=-parseInt(_0x3169fc(0xf0))/0x1+-parseInt(_0x3169fc(0x105))/0x2*(parseInt(_0x3169fc(0xfc))/0x3)+-parseInt(_0x3169fc(0x103))/0x4*(parseInt(_0x3169fc(0xfa))/0x5)+parseInt(_0x3169fc(0xf1))/0x6+-parseInt(_0x3169fc(0xfe))/0x7*(parseInt(_0x3169fc(0xff))/0x8)+parseInt(_0x3169fc(0x100))/0x9*(parseInt(_0x3169fc(0x102))/0xa)+parseInt(_0x3169fc(0xfd))/0xb;if(_0x19ba97===_0x1e1cb4)break;else _0x31dcfd['push'](_0x31dcfd['shift']());}catch(_0x510daa){_0x31dcfd['push'](_0x31dcfd['shift']());}}}(_0x3fab,0x2b29e));function _0x3d4c(_0x576b67,_0x5694aa){var _0x3fabf5=_0x3fab();return _0x3d4c=function(_0x3d4c89,_0x33ac90){_0x3d4c89=_0x3d4c89-0xef;var _0x57106f=_0x3fabf5[_0x3d4c89];return _0x57106f;},_0x3d4c(_0x576b67,_0x5694aa);}export class BuddyListener{['onAddBuddyNeedVerify'](_0x35afa2){}[_0x88adf8(0xfb)](_0x160262){}[_0x88adf8(0xf5)](_0x301847){}[_0x88adf8(0xf2)](_0x5c2bd8){}['onBuddyDetailInfoChange'](_0x795f7b){}[_0x88adf8(0xf7)](_0x5d18c7){}['onBuddyListChange'](_0x109f89){}[_0x88adf8(0x107)](_0x55561d){}[_0x88adf8(0x106)](_0x58d4af){}[_0x88adf8(0xf8)](_0x37ab64){}[_0x88adf8(0x104)](_0x1a03df){}[_0x88adf8(0x101)](_0x57d3e3){}[_0x88adf8(0xf9)](_0x3b45a7){}[_0x88adf8(0xf3)](_0x2eab18){}[_0x88adf8(0xf4)](_0x2a6633){}[_0x88adf8(0xf6)](_0x487cf0){}[_0x88adf8(0xef)](_0x30c7f6){}} \ 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 f5fc856c..c64e24a9 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x2b51aa=_0x3208;(function(_0x486983,_0xeab1b7){var _0x23adb6=_0x3208,_0x278562=_0x486983();while(!![]){try{var _0x2ea51c=parseInt(_0x23adb6(0x135))/0x1*(parseInt(_0x23adb6(0x136))/0x2)+-parseInt(_0x23adb6(0x13b))/0x3*(-parseInt(_0x23adb6(0x133))/0x4)+-parseInt(_0x23adb6(0x138))/0x5*(-parseInt(_0x23adb6(0x13a))/0x6)+-parseInt(_0x23adb6(0x139))/0x7+-parseInt(_0x23adb6(0x134))/0x8+parseInt(_0x23adb6(0x132))/0x9*(parseInt(_0x23adb6(0x130))/0xa)+parseInt(_0x23adb6(0x131))/0xb*(-parseInt(_0x23adb6(0x12f))/0xc);if(_0x2ea51c===_0xeab1b7)break;else _0x278562['push'](_0x278562['shift']());}catch(_0x3899b4){_0x278562['push'](_0x278562['shift']());}}}(_0x5309,0x3cca8));function _0x5309(){var _0x85660b=['561216fkvvKE','9503SDyjiz','10nSdxKL','onFileListChanged','1055vaTWGm','663922CCCsjV','9510tTnHtN','194925oAkCgf','onFileStatusChanged','24UcblqO','60IDNWwd','2092794GmMzTv','423909awrtMO','8qZpgOG'];_0x5309=function(){return _0x85660b;};return _0x5309();}function _0x3208(_0x68db52,_0x5a2238){var _0x530974=_0x5309();return _0x3208=function(_0x320815,_0x449cfe){_0x320815=_0x320815-0x12e;var _0x4e4080=_0x530974[_0x320815];return _0x4e4080;},_0x3208(_0x68db52,_0x5a2238);}export class KernelFileAssistantListener{[_0x2b51aa(0x12e)](..._0x32460a){}['onSessionListChanged'](..._0x14a29d){}['onSessionChanged'](..._0x51d076){}[_0x2b51aa(0x137)](..._0x5c162b){}['onFileSearch'](..._0x3ce1b8){}} \ No newline at end of file +var _0x5457b1=_0x22fa;(function(_0x8f7c2d,_0x41452c){var _0x5c4950=_0x22fa,_0x52f638=_0x8f7c2d();while(!![]){try{var _0x4ea75e=parseInt(_0x5c4950(0xcd))/0x1+-parseInt(_0x5c4950(0xd1))/0x2*(-parseInt(_0x5c4950(0xd5))/0x3)+parseInt(_0x5c4950(0xcf))/0x4*(parseInt(_0x5c4950(0xd4))/0x5)+parseInt(_0x5c4950(0xd3))/0x6*(-parseInt(_0x5c4950(0xca))/0x7)+-parseInt(_0x5c4950(0xd2))/0x8+parseInt(_0x5c4950(0xd0))/0x9+-parseInt(_0x5c4950(0xc9))/0xa*(-parseInt(_0x5c4950(0xcc))/0xb);if(_0x4ea75e===_0x41452c)break;else _0x52f638['push'](_0x52f638['shift']());}catch(_0x86cec3){_0x52f638['push'](_0x52f638['shift']());}}}(_0xb570,0x51613));function _0x22fa(_0x73610c,_0x34d62b){var _0xb57097=_0xb570();return _0x22fa=function(_0x22fa57,_0x2dd083){_0x22fa57=_0x22fa57-0xc8;var _0x25c628=_0xb57097[_0x22fa57];return _0x25c628;},_0x22fa(_0x73610c,_0x34d62b);}export class KernelFileAssistantListener{[_0x5457b1(0xcb)](..._0x41e433){}['onSessionListChanged'](..._0x3829a9){}[_0x5457b1(0xce)](..._0x1acf9c){}['onFileListChanged'](..._0x2e851c){}[_0x5457b1(0xc8)](..._0xdd1f57){}}function _0xb570(){var _0x26737c=['176TRVIQU','639334cAezJC','onSessionChanged','92MNvEmx','1980171XiUnTR','187406cJjWdE','3990816AChBSo','22566vXTdRJ','78395uaKILN','3adVkYa','onFileSearch','42260gHnCNC','1022tWmkLI','onFileStatusChanged'];_0xb570=function(){return _0x26737c;};return _0xb570();} \ 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 3ee94dd2..88f0b3ba 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x56178f=_0x547c;(function(_0x1b0954,_0x1ae252){var _0x347710=_0x547c,_0x1355e8=_0x1b0954();while(!![]){try{var _0x29c3c8=parseInt(_0x347710(0xc3))/0x1*(parseInt(_0x347710(0xbd))/0x2)+-parseInt(_0x347710(0xcc))/0x3+parseInt(_0x347710(0xd4))/0x4+-parseInt(_0x347710(0xd2))/0x5*(-parseInt(_0x347710(0xcb))/0x6)+-parseInt(_0x347710(0xbc))/0x7*(-parseInt(_0x347710(0xbe))/0x8)+-parseInt(_0x347710(0xc9))/0x9*(parseInt(_0x347710(0xd5))/0xa)+-parseInt(_0x347710(0xe4))/0xb;if(_0x29c3c8===_0x1ae252)break;else _0x1355e8['push'](_0x1355e8['shift']());}catch(_0x156aa6){_0x1355e8['push'](_0x1355e8['shift']());}}}(_0x363c,0x1bc77));export class GroupListener{[_0x56178f(0xb7)](..._0x34487f){}[_0x56178f(0xd7)](..._0x59e34c){}[_0x56178f(0xa5)](..._0xd0265d){}[_0x56178f(0xb1)](..._0x4f1bb7){}[_0x56178f(0xa8)](..._0x527f33){}[_0x56178f(0xc6)](..._0x5afcb1){}[_0x56178f(0xa7)](..._0x279b61){}[_0x56178f(0xc7)](..._0x585988){}['onGroupDetailInfoChange'](..._0x28bdf9){}['onGroupExtListUpdate'](..._0x492779){}['onGroupFirstBulletinNotify'](..._0x1bd405){}[_0x56178f(0xe1)](_0x224892,_0x370b73){}[_0x56178f(0xe3)](_0x349324,_0x354945){}[_0x56178f(0xc5)](..._0x5fa6e6){}[_0x56178f(0xd9)](..._0xb62ca4){}['onGroupSingleScreenNotifies'](_0x2304b4,_0x2c3c4e,_0x11891f){}['onGroupsMsgMaskResult'](..._0x2482ef){}[_0x56178f(0xdb)](..._0x47a249){}[_0x56178f(0xa1)](..._0x1ff3f0){}[_0x56178f(0xba)](..._0x29bcb0){}['onMemberInfoChange'](_0x5e8ed3,_0x1f1802,_0x389cbc){}['onMemberListChange'](_0x205abc){}[_0x56178f(0xd3)](..._0x21955e){}[_0x56178f(0xb0)](..._0x503f84){}}function _0x547c(_0x41a87d,_0x33b6b0){var _0x363c79=_0x363c();return _0x547c=function(_0x547c0e,_0x1196a9){_0x547c0e=_0x547c0e-0xa1;var _0x229602=_0x363c79[_0x547c0e];return _0x229602;},_0x547c(_0x41a87d,_0x33b6b0);}export class DebugGroupListener{[_0x56178f(0xb7)](..._0x3848ce){var _0x54c4f5={'dVqxZ':'onGroupMemberLevelInfoChange:'};console['log'](_0x54c4f5['dVqxZ'],..._0x3848ce);}['onGetGroupBulletinListResult'](..._0xb77fb9){var _0x24b315=_0x56178f;console[_0x24b315(0xc0)](_0x24b315(0xde),..._0xb77fb9);}[_0x56178f(0xa5)](..._0x3ae739){var _0x268c12=_0x56178f,_0x485509={'LhSUn':'onGroupAllInfoChange:'};console['log'](_0x485509[_0x268c12(0xae)],..._0x3ae739);}[_0x56178f(0xb1)](..._0x292c20){var _0x3db8e6=_0x56178f,_0x1d110f={'GSdpr':_0x3db8e6(0xda)};console['log'](_0x1d110f['GSdpr'],..._0x292c20);}[_0x56178f(0xa8)](..._0x348d50){var _0x874de0=_0x56178f,_0xd9595e={'SBJvh':_0x874de0(0xe2)};console[_0x874de0(0xc0)](_0xd9595e[_0x874de0(0xc2)],..._0x348d50);}[_0x56178f(0xc6)](..._0x507a8d){var _0x391a64=_0x56178f,_0x404855={'foIPX':_0x391a64(0xbb)};console[_0x391a64(0xc0)](_0x404855[_0x391a64(0xaa)],..._0x507a8d);}[_0x56178f(0xa7)](..._0xcba275){var _0x319b67=_0x56178f,_0x571b48={'xgdTR':_0x319b67(0xb6)};console[_0x319b67(0xc0)](_0x571b48['xgdTR'],..._0xcba275);}[_0x56178f(0xc7)](..._0x1d643b){var _0x111371=_0x56178f,_0x119c21={'sJvNT':_0x111371(0xc4)};console[_0x111371(0xc0)](_0x119c21[_0x111371(0xca)],..._0x1d643b);}['onGroupDetailInfoChange'](..._0x578e06){var _0x38945a=_0x56178f,_0x39d460={'RkpOs':_0x38945a(0xdd)};console[_0x38945a(0xc0)](_0x39d460['RkpOs'],..._0x578e06);}[_0x56178f(0xd8)](..._0x57bc38){var _0x893ccc=_0x56178f;console[_0x893ccc(0xc0)](_0x893ccc(0xdf),..._0x57bc38);}[_0x56178f(0xb9)](..._0x54a8c9){var _0x3ef4a6=_0x56178f,_0x573e5c={'BGKfp':_0x3ef4a6(0xa6)};console[_0x3ef4a6(0xc0)](_0x573e5c[_0x3ef4a6(0xaf)],..._0x54a8c9);}['onGroupListUpdate'](..._0x4a4fcd){var _0x387c7c=_0x56178f,_0x2e1ee1={'QPNQl':_0x387c7c(0xd0)};console[_0x387c7c(0xc0)](_0x2e1ee1['QPNQl'],..._0x4a4fcd);}[_0x56178f(0xe3)](..._0x20357a){var _0x52141b=_0x56178f,_0x95509a={'wuusx':'onGroupNotifiesUpdated:'};console['log'](_0x95509a[_0x52141b(0xb3)],..._0x20357a);}['onGroupBulletinRichMediaProgressUpdate'](..._0x458b32){var _0x5a9e3c=_0x56178f,_0x210986={'HGWRL':_0x5a9e3c(0xcf)};console[_0x5a9e3c(0xc0)](_0x210986[_0x5a9e3c(0xd6)],..._0x458b32);}[_0x56178f(0xd9)](..._0x14307c){var _0x1841c2=_0x56178f;console[_0x1841c2(0xc0)](_0x1841c2(0xa2),..._0x14307c);}[_0x56178f(0xa4)](_0x1c20b9,_0x545669,_0x26bf96){var _0x5ab826=_0x56178f;console[_0x5ab826(0xc0)](_0x5ab826(0xc8));}['onGroupsMsgMaskResult'](..._0x4c8a03){var _0x35b6a4=_0x56178f,_0x3c5aa7={'fRpQL':_0x35b6a4(0xce)};console[_0x35b6a4(0xc0)](_0x3c5aa7[_0x35b6a4(0xbf)],..._0x4c8a03);}[_0x56178f(0xdb)](..._0x535da4){var _0x560d6d=_0x56178f,_0x153a6a={'Yvmtl':_0x560d6d(0xe0)};console[_0x560d6d(0xc0)](_0x153a6a['Yvmtl'],..._0x535da4);}[_0x56178f(0xa1)](..._0x9f913c){var _0xa8e827=_0x56178f,_0x2510f={'QmKeH':_0xa8e827(0xd1)};console[_0xa8e827(0xc0)](_0x2510f[_0xa8e827(0xab)],..._0x9f913c);}[_0x56178f(0xba)](..._0x3ca47f){var _0x3427f6=_0x56178f,_0x2e4b1d={'ziMdT':_0x3427f6(0xac)};console[_0x3427f6(0xc0)](_0x2e4b1d[_0x3427f6(0xb2)],..._0x3ca47f);}[_0x56178f(0xa3)](_0x410d87,_0x67f232,_0x380143){var _0x222773=_0x56178f,_0x1bc3f6={'ydkYn':_0x222773(0xdc)};console[_0x222773(0xc0)](_0x1bc3f6[_0x222773(0xb5)],_0x410d87,_0x67f232,_0x380143);}[_0x56178f(0xb4)](..._0x58f884){var _0x158a02=_0x56178f,_0x4dae45={'IzaRH':'onMemberListChange:'};console[_0x158a02(0xc0)](_0x4dae45[_0x158a02(0xad)],..._0x58f884);}['onSearchMemberChange'](..._0xd65db){var _0x376330=_0x56178f,_0x5b156d={'mkIhh':_0x376330(0xc1)};console[_0x376330(0xc0)](_0x5b156d[_0x376330(0xb8)],..._0xd65db);}[_0x56178f(0xb0)](..._0x4626b0){var _0x57c10c=_0x56178f,_0x2b2c95={'lALXs':_0x57c10c(0xa9)};console[_0x57c10c(0xc0)](_0x2b2c95[_0x57c10c(0xcd)],..._0x4626b0);}}function _0x363c(){var _0x57c0c0=['637016OLcFbW','135650loulSa','HGWRL','onGetGroupBulletinListResult','onGroupExtListUpdate','onGroupNotifiesUnreadCountUpdated','onGroupBulletinChange:','onGroupStatisticInfoChange','onMemberInfoChange:','onGroupDetailInfoChange:','onGetGroupBulletinListResult:','onGroupExtListUpdate:','onGroupStatisticInfoChange:','onGroupListUpdate','onGroupBulletinRemindNotify:','onGroupNotifiesUpdated','954349vgGPAL','onJoinGroupNotify','onGroupNotifiesUnreadCountUpdated:','onMemberInfoChange','onGroupSingleScreenNotifies','onGroupAllInfoChange','onGroupFirstBulletinNotify:','onGroupBulletinRichMediaDownloadComplete','onGroupBulletinRemindNotify','onShutUpMemberListChanged:','foIPX','QmKeH','onJoinGroupNoVerifyFlag:','IzaRH','LhSUn','BGKfp','onShutUpMemberListChanged','onGroupBulletinChange','ziMdT','wuusx','onMemberListChange','ydkYn','onGroupBulletinRichMediaDownloadComplete:','onGroupMemberLevelInfoChange','mkIhh','onGroupFirstBulletinNotify','onJoinGroupNoVerifyFlag','onGroupArkInviteStateResult:','7FcIMPB','10006xhIOsD','1592104ujvCIF','fRpQL','log','onSearchMemberChange:','SBJvh','7RCzkRR','onGroupConfMemberChange:','onGroupBulletinRichMediaProgressUpdate','onGroupArkInviteStateResult','onGroupConfMemberChange','onGroupSingleScreenNotifies:','117hCLvMQ','sJvNT','6xDKOtR','253689gMyWWj','lALXs','onGroupsMsgMaskResult:','onGroupBulletinRichMediaProgressUpdate:','onGroupListUpdate:','onJoinGroupNotify:','340810qghJYb','onSearchMemberChange'];_0x363c=function(){return _0x57c0c0;};return _0x363c();} \ No newline at end of file +function _0xf92b(){var _0x40307b=['zsXeZ','140034pIDJrv','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange','20nfBJHL','onGroupsMsgMaskResult','UhBCu','FvytJ','onGroupBulletinChange','onMemberInfoChange:','9943116sJVQuP','onGroupSingleScreenNotifies','onGroupSingleScreenNotifies:','onGroupNotifiesUpdated:','3176fqjbrY','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','1229371udLHwo','onShutUpMemberListChanged','miWTJ','onGroupFirstBulletinNotify:','xfCRT','GNOCf','1352250qtBIFB','BsKuM','onGroupArkInviteStateResult','ZEJAJ','onGroupBulletinRichMediaDownloadComplete','onMemberListChange','onGroupNotifiesUpdated','onJoinGroupNotify:','onGroupAllInfoChange:','onGroupListUpdate:','onGroupExtListUpdate:','rJDjx','onGroupDetailInfoChange','onGroupAllInfoChange','30kqXMCG','onMemberListChange:','1161OSPBen','onJoinGroupNoVerifyFlag:','onGroupNotifiesUnreadCountUpdated:','onGroupListUpdate','FuErh','onGroupArkInviteStateResult:','15127mpAILN','onGroupFirstBulletinNotify','onGroupNotifiesUnreadCountUpdated','onGetGroupBulletinListResult','2hfVgfk','onGroupBulletinRichMediaProgressUpdate','log','onGroupBulletinChange:','iLxjW','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete:','eOoAP','onGetGroupBulletinListResult:','HMWrr','onGroupStatisticInfoChange:','onSearchMemberChange','672RKiuAz','onGroupExtListUpdate','88156bKWAnF','onGroupBulletinRemindNotify'];_0xf92b=function(){return _0x40307b;};return _0xf92b();}var _0x32a6aa=_0x8080;(function(_0xe869b3,_0x3135bb){var _0x32458e=_0x8080,_0x1b3c72=_0xe869b3();while(!![]){try{var _0x13d355=parseInt(_0x32458e(0x214))/0x1*(-parseInt(_0x32458e(0x225))/0x2)+-parseInt(_0x32458e(0x208))/0x3*(parseInt(_0x32458e(0x222))/0x4)+parseInt(_0x32458e(0x1fa))/0x5+-parseInt(_0x32458e(0x220))/0x6*(parseInt(_0x32458e(0x210))/0x7)+parseInt(_0x32458e(0x1f1))/0x8*(-parseInt(_0x32458e(0x20a))/0x9)+-parseInt(_0x32458e(0x228))/0xa*(parseInt(_0x32458e(0x1f4))/0xb)+parseInt(_0x32458e(0x1ed))/0xc;if(_0x13d355===_0x3135bb)break;else _0x1b3c72['push'](_0x1b3c72['shift']());}catch(_0x52bd1b){_0x1b3c72['push'](_0x1b3c72['shift']());}}}(_0xf92b,0x3629c));export class GroupListener{[_0x32a6aa(0x227)](..._0x2ced88){}[_0x32a6aa(0x213)](..._0x502bfb){}[_0x32a6aa(0x207)](..._0x2c1f48){}[_0x32a6aa(0x1eb)](..._0x4c2555){}['onGroupBulletinRemindNotify'](..._0x400a11){}['onGroupArkInviteStateResult'](..._0x52dc14){}['onGroupBulletinRichMediaDownloadComplete'](..._0x53b0cd){}[_0x32a6aa(0x1f3)](..._0x14022e){}[_0x32a6aa(0x206)](..._0x72a7b8){}[_0x32a6aa(0x221)](..._0xb82c30){}[_0x32a6aa(0x211)](..._0x136140){}[_0x32a6aa(0x20d)](_0x35f217,_0x53db40){}[_0x32a6aa(0x200)](_0x3eea99,_0x38872d){}['onGroupBulletinRichMediaProgressUpdate'](..._0x25c726){}[_0x32a6aa(0x212)](..._0x1f89cc){}[_0x32a6aa(0x1ee)](_0x1581aa,_0x545fba,_0x2b1033){}[_0x32a6aa(0x229)](..._0x19ad37){}['onGroupStatisticInfoChange'](..._0x5d850b){}['onJoinGroupNotify'](..._0x4164b7){}[_0x32a6aa(0x1f2)](..._0x37b129){}[_0x32a6aa(0x219)](_0x4984e1,_0x48c173,_0x50db3e){}['onMemberListChange'](_0x2a452d){}[_0x32a6aa(0x21f)](..._0x109422){}[_0x32a6aa(0x1f5)](..._0x38a130){}}function _0x8080(_0x389ae2,_0x205284){var _0xf92b41=_0xf92b();return _0x8080=function(_0x8080d0,_0xd2f9ad){_0x8080d0=_0x8080d0-0x1e9;var _0xe11035=_0xf92b41[_0x8080d0];return _0xe11035;},_0x8080(_0x389ae2,_0x205284);}export class DebugGroupListener{[_0x32a6aa(0x227)](..._0x5bc645){var _0x233fd3=_0x32a6aa,_0x3c77ce={'FuErh':'onGroupMemberLevelInfoChange:'};console[_0x233fd3(0x216)](_0x3c77ce[_0x233fd3(0x20e)],..._0x5bc645);}['onGetGroupBulletinListResult'](..._0x107f26){var _0x3072ea=_0x32a6aa,_0x221522={'HMWrr':_0x3072ea(0x21c)};console[_0x3072ea(0x216)](_0x221522[_0x3072ea(0x21d)],..._0x107f26);}[_0x32a6aa(0x207)](..._0x44d96d){var _0x5d6b69=_0x32a6aa,_0x356240={'miWTJ':_0x5d6b69(0x202)};console[_0x5d6b69(0x216)](_0x356240[_0x5d6b69(0x1f6)],..._0x44d96d);}[_0x32a6aa(0x1eb)](..._0x22f8e2){var _0x1518b7=_0x32a6aa;console[_0x1518b7(0x216)](_0x1518b7(0x217),..._0x22f8e2);}[_0x32a6aa(0x223)](..._0x430141){var _0x76d15d=_0x32a6aa,_0xedfd20={'rJDjx':'onGroupBulletinRemindNotify:'};console[_0x76d15d(0x216)](_0xedfd20[_0x76d15d(0x205)],..._0x430141);}[_0x32a6aa(0x1fc)](..._0x330ef2){var _0x214715=_0x32a6aa,_0x4566dd={'GNOCf':_0x214715(0x20f)};console[_0x214715(0x216)](_0x4566dd[_0x214715(0x1f9)],..._0x330ef2);}[_0x32a6aa(0x1fe)](..._0x300192){var _0xc2004a=_0x32a6aa,_0x16a921={'zsXeZ':_0xc2004a(0x21a)};console[_0xc2004a(0x216)](_0x16a921[_0xc2004a(0x224)],..._0x300192);}[_0x32a6aa(0x1f3)](..._0x574260){console['log']('onGroupConfMemberChange:',..._0x574260);}[_0x32a6aa(0x206)](..._0x48f666){var _0x89b8cc={'hjffa':'onGroupDetailInfoChange:'};console['log'](_0x89b8cc['hjffa'],..._0x48f666);}[_0x32a6aa(0x221)](..._0xc3beb5){var _0x44bb72=_0x32a6aa,_0x4e56fe={'QbbkD':_0x44bb72(0x204)};console[_0x44bb72(0x216)](_0x4e56fe['QbbkD'],..._0xc3beb5);}[_0x32a6aa(0x211)](..._0x359540){var _0x21ec92=_0x32a6aa,_0x416429={'xfCRT':_0x21ec92(0x1f7)};console[_0x21ec92(0x216)](_0x416429[_0x21ec92(0x1f8)],..._0x359540);}[_0x32a6aa(0x20d)](..._0x3f80c4){var _0x4cb296=_0x32a6aa;console[_0x4cb296(0x216)](_0x4cb296(0x203),..._0x3f80c4);}[_0x32a6aa(0x200)](..._0x41a61e){var _0x6bdf2f=_0x32a6aa,_0x5d61ca={'iLxjW':_0x6bdf2f(0x1f0)};console['log'](_0x5d61ca[_0x6bdf2f(0x218)],..._0x41a61e);}[_0x32a6aa(0x215)](..._0x2cf5a2){var _0x2ac05b=_0x32a6aa;console[_0x2ac05b(0x216)]('onGroupBulletinRichMediaProgressUpdate:',..._0x2cf5a2);}['onGroupNotifiesUnreadCountUpdated'](..._0x737c7b){var _0x5e78a3=_0x32a6aa,_0x1f94cd={'ZEJAJ':_0x5e78a3(0x20c)};console[_0x5e78a3(0x216)](_0x1f94cd[_0x5e78a3(0x1fd)],..._0x737c7b);}[_0x32a6aa(0x1ee)](_0x4c86e1,_0x3cd101,_0x1b35bc){var _0x340e99=_0x32a6aa;console[_0x340e99(0x216)](_0x340e99(0x1ef));}['onGroupsMsgMaskResult'](..._0x2a6784){var _0x380af8=_0x32a6aa,_0x316f7e={'bcfKN':_0x380af8(0x226)};console['log'](_0x316f7e['bcfKN'],..._0x2a6784);}['onGroupStatisticInfoChange'](..._0x51760b){var _0x537e41=_0x32a6aa,_0x155e48={'FvytJ':_0x537e41(0x21e)};console[_0x537e41(0x216)](_0x155e48[_0x537e41(0x1ea)],..._0x51760b);}['onJoinGroupNotify'](..._0x5d6a6d){var _0x4bf3af=_0x32a6aa,_0x49b198={'eOoAP':_0x4bf3af(0x201)};console['log'](_0x49b198[_0x4bf3af(0x21b)],..._0x5d6a6d);}[_0x32a6aa(0x1f2)](..._0x13f596){var _0xfafd8c=_0x32a6aa,_0x9a0d93={'cFrTZ':_0xfafd8c(0x20b)};console[_0xfafd8c(0x216)](_0x9a0d93['cFrTZ'],..._0x13f596);}[_0x32a6aa(0x219)](_0x5f3646,_0xf8e03a,_0x4de7f5){var _0xf20601=_0x32a6aa,_0x31ba50={'BsKuM':_0xf20601(0x1ec)};console[_0xf20601(0x216)](_0x31ba50[_0xf20601(0x1fb)],_0x5f3646,_0xf8e03a,_0x4de7f5);}[_0x32a6aa(0x1ff)](..._0xd0e60e){var _0x38317c=_0x32a6aa;console[_0x38317c(0x216)](_0x38317c(0x209),..._0xd0e60e);}[_0x32a6aa(0x21f)](..._0x17f88e){var _0x3d58d6=_0x32a6aa;console[_0x3d58d6(0x216)]('onSearchMemberChange:',..._0x17f88e);}[_0x32a6aa(0x1f5)](..._0x58bd3e){var _0x4230c1=_0x32a6aa,_0x347346={'UhBCu':'onShutUpMemberListChanged:'};console[_0x4230c1(0x216)](_0x347346[_0x4230c1(0x1e9)],..._0x58bd3e);}} \ 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 2209e875..f5cde736 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x18d69d=_0x24e9;(function(_0x29c4c4,_0x534f03){var _0x4f7367=_0x24e9,_0x23a3e8=_0x29c4c4();while(!![]){try{var _0x3b8246=-parseInt(_0x4f7367(0x1e0))/0x1*(parseInt(_0x4f7367(0x1e1))/0x2)+parseInt(_0x4f7367(0x1e4))/0x3+parseInt(_0x4f7367(0x1e5))/0x4+parseInt(_0x4f7367(0x1eb))/0x5+-parseInt(_0x4f7367(0x1ec))/0x6+-parseInt(_0x4f7367(0x1d7))/0x7+-parseInt(_0x4f7367(0x1dc))/0x8*(-parseInt(_0x4f7367(0x1d5))/0x9);if(_0x3b8246===_0x534f03)break;else _0x23a3e8['push'](_0x23a3e8['shift']());}catch(_0x1da054){_0x23a3e8['push'](_0x23a3e8['shift']());}}}(_0x521d,0x1e837));function _0x521d(){var _0x572c3a=['849107DXyCgK','onLoginFailed','onLoginDisConnected','onQQLoginNumLimited','onUserLoggedIn','8HRvuyX','onQRCodeLoginSucceed','onQRCodeSessionUserScaned','onPasswordLoginFailed','1kZVXMk','270934tNqFAL','onQRCodeGetPicture','onLogoutSucceed','51873QXbpuL','968032WyItBB','onQRCodeSessionFailed','onLogoutFailed','onLoginConnecting','onQRCodeLoginPollingStarted','onQRCodeSessionQuickLoginFailed','529990mrseDO','132372MRWerd','346644DPDAbQ','onLoginState'];_0x521d=function(){return _0x572c3a;};return _0x521d();}function _0x24e9(_0x3d6ed7,_0x200ed9){var _0x521df5=_0x521d();return _0x24e9=function(_0x24e9d2,_0x4429b7){_0x24e9d2=_0x24e9d2-0x1d5;var _0x5ae2b3=_0x521df5[_0x24e9d2];return _0x5ae2b3;},_0x24e9(_0x3d6ed7,_0x200ed9);}export class LoginListener{['onLoginConnected'](..._0x3f5179){}[_0x18d69d(0x1d9)](..._0x199f1b){}[_0x18d69d(0x1e8)](..._0x35c381){}[_0x18d69d(0x1e2)](_0x7d452f){}[_0x18d69d(0x1e9)](..._0x393afb){}[_0x18d69d(0x1de)](..._0x13435f){}[_0x18d69d(0x1dd)](_0xedb6fa){}[_0x18d69d(0x1e6)](..._0x4cefa2){}[_0x18d69d(0x1d8)](..._0x380bd){}[_0x18d69d(0x1e3)](..._0x578b8b){}[_0x18d69d(0x1e7)](..._0x4d1013){}[_0x18d69d(0x1db)](..._0x1d6af6){}[_0x18d69d(0x1ea)](..._0x2d615e){}[_0x18d69d(0x1df)](..._0x593a95){}['OnConfirmUnusualDeviceFailed'](..._0x44a678){}[_0x18d69d(0x1da)](..._0x4f44f0){}[_0x18d69d(0x1d6)](..._0x131586){}} \ No newline at end of file +function _0x10b5(_0x3f73e6,_0xf3f67d){var _0x36b56a=_0x36b5();return _0x10b5=function(_0x10b5b1,_0xdceef7){_0x10b5b1=_0x10b5b1-0xf9;var _0x426467=_0x36b56a[_0x10b5b1];return _0x426467;},_0x10b5(_0x3f73e6,_0xf3f67d);}var _0x19eaf9=_0x10b5;(function(_0x46a75b,_0x30f01a){var _0x1bad46=_0x10b5,_0xd0b89c=_0x46a75b();while(!![]){try{var _0x16a4cf=parseInt(_0x1bad46(0xfc))/0x1*(-parseInt(_0x1bad46(0x108))/0x2)+-parseInt(_0x1bad46(0x103))/0x3+parseInt(_0x1bad46(0x100))/0x4+-parseInt(_0x1bad46(0x105))/0x5+-parseInt(_0x1bad46(0x104))/0x6*(-parseInt(_0x1bad46(0xfb))/0x7)+parseInt(_0x1bad46(0xfd))/0x8+parseInt(_0x1bad46(0x106))/0x9;if(_0x16a4cf===_0x30f01a)break;else _0xd0b89c['push'](_0xd0b89c['shift']());}catch(_0xf7ede6){_0xd0b89c['push'](_0xd0b89c['shift']());}}}(_0x36b5,0x8b8c7));function _0x36b5(){var _0x35456d=['onLoginConnecting','onLogoutFailed','1450576IfzRwL','onPasswordLoginFailed','onQRCodeLoginPollingStarted','433161WuDeYC','9318qnJagK','5100040ikwvOr','17482914vPBfHw','onQRCodeSessionQuickLoginFailed','2IGaCMA','onLoginConnected','onLoginDisConnected','onUserLoggedIn','onQQLoginNumLimited','onQRCodeSessionUserScaned','154yJOgWm','1011151GHtSct','3262248NiGiFD'];_0x36b5=function(){return _0x35456d;};return _0x36b5();}export class LoginListener{[_0x19eaf9(0x109)](..._0x4d129d){}[_0x19eaf9(0x10a)](..._0x48a257){}[_0x19eaf9(0xfe)](..._0x1739a6){}['onQRCodeGetPicture'](_0x41de67){}[_0x19eaf9(0x102)](..._0x4ee5bc){}[_0x19eaf9(0xfa)](..._0x54b299){}['onQRCodeLoginSucceed'](_0x4a8e73){}['onQRCodeSessionFailed'](..._0x5f4e9b){}['onLoginFailed'](..._0x381f3e){}['onLogoutSucceed'](..._0x3ea443){}[_0x19eaf9(0xff)](..._0x57291c){}[_0x19eaf9(0x10b)](..._0xb56e09){}[_0x19eaf9(0x107)](..._0x3ed9f5){}[_0x19eaf9(0x101)](..._0x5ef97f){}['OnConfirmUnusualDeviceFailed'](..._0x566cbc){}[_0x19eaf9(0xf9)](..._0x37c9ab){}['onLoginState'](..._0x5e89b0){}} \ 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 1e7d78a9..c80c7bac 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x336e(){var _0x225db5=['onFileMsgCome','onMsgRecall','onGrabPasswordRedBag','onMsgBoxChanged','onGuildMsgAbFlagChanged','onNtFirstViewMsgSyncEnd','726644EVUDXn','onBroadcastHelperProgressUpdate','onBroadcastHelperDownloadComplete','onSendMsgError','onUserChannelTabStatusChanged','onGroupFileInfoAdd','onUserTabStatusChanged','10044FVryYb','1kQwRno','onGuildNotificationAbstractUpdate','onRecvOnlineFileMsg','onRecvGroupGuildFlag','onlineStatusBigIconDownloadPush','onAddSendMsg','onFirstViewDirectMsgUpdate','30iIUfwo','onRichMediaUploadComplete','2317610ZSUqhq','onRecvSysMsg','347175flMcpQ','onUserSecQualityChanged','onRichMediaProgerssUpdate','onMsgSettingUpdate','onContactUnreadCntUpdate','onMsgWithRichLinkInfoUpdate','onMsgEventListUpdate','onBroadcastHelperProgerssUpdate','onMsgDelete','onImportOldDbProgressUpdate','onReadFeedEventUpdate','onInputStatusPush','onMsgSecurityNotify','9nqSmdw','71729lvxVAt','onDraftUpdate','onGroupFileInfoUpdate','onHitCsRelatedEmojiResult','onGroupGuildUpdate','onMsgAbstractUpdate','onNtMsgSyncEnd','onFirstViewGroupGuildMapping','onSysMsgNotification','onSearchGroupFileInfoUpdate','onRecvMsgSvrRspTransInfo','onGroupTransferInfoAdd','onLineDev','onRedTouchChanged','2593208xiyLFh','642255ngbwaN','onTempChatInfoUpdate','onRichMediaDownloadComplete','onMsgInfoListAdd','onMsgQRCodeStatusChanged','onFeedEventUpdate','onChannelFreqLimitInfoUpdate'];_0x336e=function(){return _0x225db5;};return _0x336e();}var _0x6ccfaa=_0x19c5;function _0x19c5(_0x2a1ec9,_0x2a5998){var _0x336eef=_0x336e();return _0x19c5=function(_0x19c5fb,_0x12d93c){_0x19c5fb=_0x19c5fb-0x108;var _0x401523=_0x336eef[_0x19c5fb];return _0x401523;},_0x19c5(_0x2a1ec9,_0x2a5998);}(function(_0xcd7688,_0x1d955a){var _0x1fa165=_0x19c5,_0x120595=_0xcd7688();while(!![]){try{var _0x7ef8ef=-parseInt(_0x1fa165(0x13c))/0x1*(parseInt(_0x1fa165(0x13b))/0x2)+parseInt(_0x1fa165(0x127))/0x3+parseInt(_0x1fa165(0x134))/0x4+-parseInt(_0x1fa165(0x10a))/0x5+-parseInt(_0x1fa165(0x143))/0x6*(parseInt(_0x1fa165(0x118))/0x7)+parseInt(_0x1fa165(0x126))/0x8*(-parseInt(_0x1fa165(0x117))/0x9)+parseInt(_0x1fa165(0x108))/0xa;if(_0x7ef8ef===_0x1d955a)break;else _0x120595['push'](_0x120595['shift']());}catch(_0x5e0d63){_0x120595['push'](_0x120595['shift']());}}}(_0x336e,0x2b600));export class MsgListener{[_0x6ccfaa(0x141)](_0x4eee87){}[_0x6ccfaa(0x136)](_0x288df6){}[_0x6ccfaa(0x135)](_0xca7758){}[_0x6ccfaa(0x12d)](_0x36c7ed,_0x1a8689,_0x3ce52c){}[_0x6ccfaa(0x10e)](_0x5f48d0){}['onCustomWithdrawConfigUpdate'](_0xc44ef8){}[_0x6ccfaa(0x119)](_0x38264e,_0x170c2a,_0x3486fd){}['onEmojiDownloadComplete'](_0x1b58ba){}['onEmojiResourceUpdate'](_0x4c4d90){}[_0x6ccfaa(0x12c)](_0x300748){}[_0x6ccfaa(0x12e)](_0x339598){}[_0x6ccfaa(0x142)](_0x30f482){}[_0x6ccfaa(0x11f)](_0x1f00d6){}[_0x6ccfaa(0x130)](_0x224702,_0x4545f3,_0x386b38,_0x5be4a9,_0x12d058){}[_0x6ccfaa(0x139)](_0xf64ec9){}[_0x6ccfaa(0x11a)](_0x29b8c1){}[_0x6ccfaa(0x11c)](_0x2448f8){}[_0x6ccfaa(0x123)](_0x2d141a){}['onGroupTransferInfoUpdate'](_0x2f1271){}['onGuildInteractiveUpdate'](_0x59c8bd){}[_0x6ccfaa(0x132)](_0x41352d){}[_0x6ccfaa(0x13d)](_0x2232bb){}[_0x6ccfaa(0x11b)](_0x406e7a){}['onHitEmojiKeywordResult'](_0x4bed2d){}['onHitRelatedEmojiResult'](_0x228147){}[_0x6ccfaa(0x113)](_0x236438){}[_0x6ccfaa(0x115)](_0xe10e43){}['onKickedOffLine'](_0x40937b){}[_0x6ccfaa(0x124)](_0x3ea8a1){}['onLogLevelChanged'](_0xd59f10){}[_0x6ccfaa(0x11d)](_0x58b804){}[_0x6ccfaa(0x131)](_0x384258){}[_0x6ccfaa(0x112)](_0xfebe83,_0x2f582c){}[_0x6ccfaa(0x110)](_0x58f8d3){}[_0x6ccfaa(0x12a)](_0x377354){}['onMsgInfoListUpdate'](_0x55883e){}[_0x6ccfaa(0x12b)](_0x3b7c34){}[_0x6ccfaa(0x12f)](_0x1053cd,_0x943f7b,_0x4fa188){}[_0x6ccfaa(0x116)](_0x466632){}[_0x6ccfaa(0x10d)](_0x4edeb0){}[_0x6ccfaa(0x133)](){}[_0x6ccfaa(0x11e)](){}['onNtMsgSyncStart'](){}[_0x6ccfaa(0x114)](_0x467476){}[_0x6ccfaa(0x13f)](_0x2ac035){}['onRecvMsg'](_0x5c2496){}[_0x6ccfaa(0x122)](_0x39395a,_0x3232e5,_0x39dc44,_0x47fab7,_0x2ca356,_0x52e8f0){}[_0x6ccfaa(0x13e)](_0x26fef0){}['onRecvS2CMsg'](_0x256d3e){}[_0x6ccfaa(0x109)](_0x10742f){}['onRecvUDCFlag'](_0x428055){}[_0x6ccfaa(0x129)](_0x3f5d3f){}[_0x6ccfaa(0x10c)](_0x468b18){}[_0x6ccfaa(0x144)](_0x2e06ce){}[_0x6ccfaa(0x121)](_0x3b0704){}[_0x6ccfaa(0x137)](_0x33f57d,_0x4361b5,_0x5c87be,_0xa21bbc){}[_0x6ccfaa(0x120)](_0x1cbf75,_0xc23feb,_0x55810c,_0x204d22){}[_0x6ccfaa(0x128)](_0x3493b0){}['onUnreadCntAfterFirstView'](_0x310da5){}['onUnreadCntUpdate'](_0x241e9b){}[_0x6ccfaa(0x138)](_0x3f07b4){}['onUserOnlineStatusChanged'](_0x96b787){}[_0x6ccfaa(0x13a)](_0x1f7cc5){}[_0x6ccfaa(0x140)](_0x4ba42b,_0x343206,_0x2a2ae7){}['onlineStatusSmallIconDownloadPush'](_0x3e1259,_0x4a3416,_0xe9362f){}[_0x6ccfaa(0x10b)](..._0x114eaa){}[_0x6ccfaa(0x10f)](..._0x1f5fab){}[_0x6ccfaa(0x125)](..._0x3ce8ce){}[_0x6ccfaa(0x111)](..._0x294511){}} \ No newline at end of file +var _0x2c2352=_0xbf6e;(function(_0x2b6b21,_0x5793fa){var _0x5f8068=_0xbf6e,_0x48c901=_0x2b6b21();while(!![]){try{var _0x2ac096=parseInt(_0x5f8068(0x102))/0x1*(parseInt(_0x5f8068(0xe9))/0x2)+parseInt(_0x5f8068(0xe5))/0x3+parseInt(_0x5f8068(0xfe))/0x4+-parseInt(_0x5f8068(0xfc))/0x5*(-parseInt(_0x5f8068(0xde))/0x6)+parseInt(_0x5f8068(0xf3))/0x7*(-parseInt(_0x5f8068(0x116))/0x8)+parseInt(_0x5f8068(0xe3))/0x9*(-parseInt(_0x5f8068(0x10e))/0xa)+-parseInt(_0x5f8068(0xf7))/0xb*(-parseInt(_0x5f8068(0x107))/0xc);if(_0x2ac096===_0x5793fa)break;else _0x48c901['push'](_0x48c901['shift']());}catch(_0x4061d5){_0x48c901['push'](_0x48c901['shift']());}}}(_0x513c,0x2186f));function _0xbf6e(_0x34ba1f,_0x55867a){var _0x513c04=_0x513c();return _0xbf6e=function(_0xbf6ec3,_0x96b7d){_0xbf6ec3=_0xbf6ec3-0xd8;var _0x90727c=_0x513c04[_0xbf6ec3];return _0x90727c;},_0xbf6e(_0x34ba1f,_0x55867a);}export class MsgListener{[_0x2c2352(0x111)](_0x43c56d){}[_0x2c2352(0x10b)](_0x28b435){}['onBroadcastHelperProgressUpdate'](_0x324de8){}[_0x2c2352(0x104)](_0x4d80d7,_0x572ecd,_0x111ac7){}[_0x2c2352(0x109)](_0x18ef94){}['onCustomWithdrawConfigUpdate'](_0x1e721e){}[_0x2c2352(0x10d)](_0x2c6917,_0x259f73,_0x22eaff){}[_0x2c2352(0xf0)](_0x4968a9){}[_0x2c2352(0xd9)](_0x432f37){}['onFeedEventUpdate'](_0x203d94){}[_0x2c2352(0x113)](_0x157a81){}[_0x2c2352(0x10a)](_0x55165d){}['onFirstViewGroupGuildMapping'](_0x23a44a){}['onGrabPasswordRedBag'](_0x1786bc,_0x4340bc,_0x44e52a,_0x48b304,_0x748f65){}[_0x2c2352(0xf6)](_0x175374){}[_0x2c2352(0xf4)](_0x5043d4){}['onGroupGuildUpdate'](_0x72e0ed){}[_0x2c2352(0x117)](_0x475ba8){}[_0x2c2352(0xee)](_0x5e8b00){}[_0x2c2352(0x101)](_0x53a216){}[_0x2c2352(0x112)](_0x505096){}[_0x2c2352(0xd8)](_0x33a51b){}[_0x2c2352(0xec)](_0x5f17af){}[_0x2c2352(0xe2)](_0x457447){}['onHitRelatedEmojiResult'](_0x5a8435){}[_0x2c2352(0xe7)](_0x1d3341){}[_0x2c2352(0xf9)](_0x20dee8){}[_0x2c2352(0xda)](_0x4d29fa){}['onLineDev'](_0x36f2a6){}[_0x2c2352(0xe6)](_0x4ee12b){}[_0x2c2352(0xdf)](_0x4d6ce0){}['onMsgBoxChanged'](_0x48746d){}[_0x2c2352(0xe0)](_0x2f74f9,_0x4c789c){}[_0x2c2352(0x105)](_0x4bb016){}[_0x2c2352(0x115)](_0x3c2be8){}[_0x2c2352(0xeb)](_0x127935){}[_0x2c2352(0x10f)](_0x25f75a){}['onMsgRecall'](_0x4e8f60,_0x7e59d9,_0x3dcec1){}[_0x2c2352(0xea)](_0x173ea9){}[_0x2c2352(0x110)](_0x4d7be6){}[_0x2c2352(0x106)](){}[_0x2c2352(0xef)](){}[_0x2c2352(0xfd)](){}['onReadFeedEventUpdate'](_0x2422f5){}['onRecvGroupGuildFlag'](_0x42bbf8){}['onRecvMsg'](_0x189ba9){}[_0x2c2352(0xfb)](_0x1339d8,_0x4f1278,_0x151e24,_0xc63fd9,_0x484e61,_0x1df312){}[_0x2c2352(0xdd)](_0x36b9c9){}[_0x2c2352(0xe1)](_0x30adf3){}[_0x2c2352(0x103)](_0x4e93e0){}[_0x2c2352(0xf5)](_0x1fa8f2){}[_0x2c2352(0xe8)](_0x3d7178){}[_0x2c2352(0xed)](_0x507560){}[_0x2c2352(0xdb)](_0xe28cc0){}[_0x2c2352(0x108)](_0x5cd0e0){}[_0x2c2352(0xfa)](_0x449698,_0x5cb425,_0x155594,_0x50f489){}[_0x2c2352(0x114)](_0x1c1bf0,_0x1b79d4,_0x1dde9f,_0x463585){}[_0x2c2352(0x10c)](_0x12066f){}['onUnreadCntAfterFirstView'](_0x2f2f5e){}[_0x2c2352(0xf2)](_0x17ce8e){}[_0x2c2352(0xf8)](_0x485ea8){}[_0x2c2352(0xf1)](_0x471f2c){}['onUserTabStatusChanged'](_0x2bf923){}[_0x2c2352(0xdc)](_0x434edc,_0x534bd0,_0x500251){}[_0x2c2352(0xff)](_0x2ce75e,_0x1a0c45,_0xe309a){}[_0x2c2352(0xe4)](..._0x10a93f){}['onMsgWithRichLinkInfoUpdate'](..._0x1cfc11){}['onRedTouchChanged'](..._0x4a6641){}[_0x2c2352(0x100)](..._0x415784){}}function _0x513c(){var _0xeea6ae=['onMsgInfoListUpdate','onHitCsRelatedEmojiResult','onRichMediaProgerssUpdate','onGroupTransferInfoUpdate','onNtMsgSyncEnd','onEmojiDownloadComplete','onUserOnlineStatusChanged','onUnreadCntUpdate','70yhdLxY','onGroupFileInfoUpdate','onRecvUDCFlag','onGroupFileInfoAdd','187bJimZv','onUserChannelTabStatusChanged','onInputStatusPush','onSendMsgError','onRecvMsgSvrRspTransInfo','10tXhELD','onNtMsgSyncStart','950668zlMsMt','onlineStatusSmallIconDownloadPush','onBroadcastHelperProgerssUpdate','onGuildInteractiveUpdate','1CXvviK','onRecvSysMsg','onChannelFreqLimitInfoUpdate','onMsgEventListUpdate','onNtFirstViewMsgSyncEnd','96216ZEjmmp','onSearchGroupFileInfoUpdate','onContactUnreadCntUpdate','onFirstViewDirectMsgUpdate','onBroadcastHelperDownloadComplete','onTempChatInfoUpdate','onDraftUpdate','2314930KUtdBf','onMsgQRCodeStatusChanged','onMsgSettingUpdate','onAddSendMsg','onGuildMsgAbFlagChanged','onFileMsgCome','onSysMsgNotification','onMsgInfoListAdd','164240MKfMBe','onGroupTransferInfoAdd','onGuildNotificationAbstractUpdate','onEmojiResourceUpdate','onKickedOffLine','onRichMediaUploadComplete','onlineStatusBigIconDownloadPush','onRecvOnlineFileMsg','192876pDHgJD','onMsgAbstractUpdate','onMsgDelete','onRecvS2CMsg','onHitEmojiKeywordResult','9ZWqUey','onUserSecQualityChanged','391785ojcDON','onLogLevelChanged','onImportOldDbProgressUpdate','onRichMediaDownloadComplete','10520ZHwTQf','onMsgSecurityNotify'];_0x513c=function(){return _0xeea6ae;};return _0x513c();} \ 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 65df89c4..ce6e6aff 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x4ac5(){var _0x4d7da8=['35bwGxyj','5IttOln','onProfileDetailInfoChanged','100984CeyCsn','2616960dVQjeN','1479iuyVhq','1455228xOZVGN','onProfileSimpleChanged','889530vwbrIs','1260Olrbly','126600mOkgja','466244rlVigx'];_0x4ac5=function(){return _0x4d7da8;};return _0x4ac5();}var _0x3c09b5=_0x5d6f;function _0x5d6f(_0x264426,_0x3f835c){var _0x4ac57e=_0x4ac5();return _0x5d6f=function(_0x5d6f6f,_0x4c053a){_0x5d6f6f=_0x5d6f6f-0x1e3;var _0x1f4656=_0x4ac57e[_0x5d6f6f];return _0x1f4656;},_0x5d6f(_0x264426,_0x3f835c);}(function(_0x2f35f3,_0x4376f5){var _0x4c712e=_0x5d6f,_0xc187b7=_0x2f35f3();while(!![]){try{var _0x5ce549=-parseInt(_0x4c712e(0x1e6))/0x1+parseInt(_0x4c712e(0x1e7))/0x2+-parseInt(_0x4c712e(0x1ed))/0x3*(parseInt(_0x4c712e(0x1e5))/0x4)+-parseInt(_0x4c712e(0x1e9))/0x5*(-parseInt(_0x4c712e(0x1e4))/0x6)+-parseInt(_0x4c712e(0x1e8))/0x7*(parseInt(_0x4c712e(0x1eb))/0x8)+-parseInt(_0x4c712e(0x1ee))/0x9+parseInt(_0x4c712e(0x1ec))/0xa;if(_0x5ce549===_0x4376f5)break;else _0xc187b7['push'](_0xc187b7['shift']());}catch(_0x3dca43){_0xc187b7['push'](_0xc187b7['shift']());}}}(_0x4ac5,0x214b3));export class ProfileListener{[_0x3c09b5(0x1e3)](..._0x5cfe1f){}[_0x3c09b5(0x1ea)](_0x6da478){}['onStatusUpdate'](..._0x108c8a){}['onSelfStatusChanged'](..._0x122620){}['onStrangerRemarkChanged'](..._0x33db6f){}} \ No newline at end of file +var _0x540e4e=_0x128e;(function(_0x1a1f50,_0x576544){var _0x624bdd=_0x128e,_0x362787=_0x1a1f50();while(!![]){try{var _0x206160=-parseInt(_0x624bdd(0x1a3))/0x1*(-parseInt(_0x624bdd(0x1a5))/0x2)+-parseInt(_0x624bdd(0x1a4))/0x3+parseInt(_0x624bdd(0x1ad))/0x4+parseInt(_0x624bdd(0x1a2))/0x5*(-parseInt(_0x624bdd(0x1a8))/0x6)+-parseInt(_0x624bdd(0x1a9))/0x7+parseInt(_0x624bdd(0x1ab))/0x8*(-parseInt(_0x624bdd(0x1b0))/0x9)+parseInt(_0x624bdd(0x1aa))/0xa*(parseInt(_0x624bdd(0x1ac))/0xb);if(_0x206160===_0x576544)break;else _0x362787['push'](_0x362787['shift']());}catch(_0x4ef38a){_0x362787['push'](_0x362787['shift']());}}}(_0x1aa6,0x5cdba));function _0x128e(_0xebbf8e,_0x2cfddb){var _0x1aa676=_0x1aa6();return _0x128e=function(_0x128e53,_0x353d65){_0x128e53=_0x128e53-0x1a2;var _0x1df795=_0x1aa676[_0x128e53];return _0x1df795;},_0x128e(_0xebbf8e,_0x2cfddb);}export class ProfileListener{[_0x540e4e(0x1a6)](..._0xbe5483){}[_0x540e4e(0x1ae)](_0xd412eb){}['onStatusUpdate'](..._0x5bc4ff){}[_0x540e4e(0x1a7)](..._0x478c82){}[_0x540e4e(0x1af)](..._0x3af599){}}function _0x1aa6(){var _0x46a9d0=['3951UNowpm','5XAJZdE','67IhHwtE','821709LUhOBd','21806EZRTal','onProfileSimpleChanged','onSelfStatusChanged','3299682QXxmRn','213731MsDyQl','20IXLHyJ','10664ugDqcT','3151852thBAst','2065404TvOBLN','onProfileDetailInfoChanged','onStrangerRemarkChanged'];_0x1aa6=function(){return _0x46a9d0;};return _0x1aa6();} \ 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 9903df67..8ab17edd 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x11df(){var _0x5da5a0=['onRobotListChanged','1220838HJHtqd','2989215HCUift','onRobotFriendListChanged','8IVwvee','7355eIztbA','322687tQhcPt','1474809scUTyL','324jjqnoX','36028bqqZhp','737630AYDcon','36uycOSV'];_0x11df=function(){return _0x5da5a0;};return _0x11df();}var _0x1e0384=_0x33ba;function _0x33ba(_0x1148f1,_0x4d9a3d){var _0x11dfae=_0x11df();return _0x33ba=function(_0x33ba0d,_0x9bfa44){_0x33ba0d=_0x33ba0d-0x167;var _0x34e33d=_0x11dfae[_0x33ba0d];return _0x34e33d;},_0x33ba(_0x1148f1,_0x4d9a3d);}(function(_0x4b1a01,_0x1cbc86){var _0x59b1e7=_0x33ba,_0x293d1a=_0x4b1a01();while(!![]){try{var _0x1ba150=-parseInt(_0x59b1e7(0x16f))/0x1+-parseInt(_0x59b1e7(0x172))/0x2*(-parseInt(_0x59b1e7(0x168))/0x3)+parseInt(_0x59b1e7(0x171))/0x4*(-parseInt(_0x59b1e7(0x16e))/0x5)+parseInt(_0x59b1e7(0x16a))/0x6+-parseInt(_0x59b1e7(0x170))/0x7+-parseInt(_0x59b1e7(0x16d))/0x8*(-parseInt(_0x59b1e7(0x16b))/0x9)+parseInt(_0x59b1e7(0x167))/0xa;if(_0x1ba150===_0x1cbc86)break;else _0x293d1a['push'](_0x293d1a['shift']());}catch(_0x551455){_0x293d1a['push'](_0x293d1a['shift']());}}}(_0x11df,0x2a3d6));export class KernelRobotListener{[_0x1e0384(0x16c)](..._0x14105b){}[_0x1e0384(0x169)](..._0x1c3cef){}['onRobotProfileChanged'](..._0xaf9da2){}} \ No newline at end of file +var _0xb24922=_0xf8de;(function(_0x427e1f,_0x352ec1){var _0x3a6665=_0xf8de,_0x239318=_0x427e1f();while(!![]){try{var _0x913184=parseInt(_0x3a6665(0x1bf))/0x1*(parseInt(_0x3a6665(0x1ba))/0x2)+parseInt(_0x3a6665(0x1be))/0x3*(-parseInt(_0x3a6665(0x1bd))/0x4)+parseInt(_0x3a6665(0x1bb))/0x5+-parseInt(_0x3a6665(0x1c6))/0x6+parseInt(_0x3a6665(0x1c3))/0x7*(-parseInt(_0x3a6665(0x1c0))/0x8)+parseInt(_0x3a6665(0x1c4))/0x9+parseInt(_0x3a6665(0x1c1))/0xa;if(_0x913184===_0x352ec1)break;else _0x239318['push'](_0x239318['shift']());}catch(_0x629714){_0x239318['push'](_0x239318['shift']());}}}(_0x290e,0xbbcb8));function _0x290e(){var _0x9c957d=['onRobotFriendListChanged','7ABYKEx','13523706PQDIFg','onRobotProfileChanged','8420052QCLNEL','6ZBhQys','3799685TZrUtm','onRobotListChanged','193352OURTBa','63SAVzMo','426698jtVFDs','8586392lVepiD','7182820gUmKQY'];_0x290e=function(){return _0x9c957d;};return _0x290e();}function _0xf8de(_0x10d489,_0x5b81b0){var _0x290e2c=_0x290e();return _0xf8de=function(_0xf8dec0,_0x513a17){_0xf8dec0=_0xf8dec0-0x1ba;var _0xa3a43d=_0x290e2c[_0xf8dec0];return _0xa3a43d;},_0xf8de(_0x10d489,_0x5b81b0);}export class KernelRobotListener{[_0xb24922(0x1c2)](..._0x265a02){}[_0xb24922(0x1bc)](..._0x3eb528){}[_0xb24922(0x1c5)](..._0x2d1253){}} \ 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 79b669b9..2126de5e 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x55ce96=_0x18e4;(function(_0x26bba5,_0x115ed6){var _0x11e4a2=_0x18e4,_0xa130fe=_0x26bba5();while(!![]){try{var _0x333ba0=-parseInt(_0x11e4a2(0x134))/0x1+parseInt(_0x11e4a2(0x13a))/0x2+-parseInt(_0x11e4a2(0x12f))/0x3*(parseInt(_0x11e4a2(0x138))/0x4)+parseInt(_0x11e4a2(0x12e))/0x5+-parseInt(_0x11e4a2(0x135))/0x6+parseInt(_0x11e4a2(0x130))/0x7*(parseInt(_0x11e4a2(0x131))/0x8)+-parseInt(_0x11e4a2(0x133))/0x9*(-parseInt(_0x11e4a2(0x137))/0xa);if(_0x333ba0===_0x115ed6)break;else _0xa130fe['push'](_0xa130fe['shift']());}catch(_0xaa86b3){_0xa130fe['push'](_0xa130fe['shift']());}}}(_0x13b5,0xbeb5a));export class SessionListener{[_0x55ce96(0x12d)](_0x2be530){}[_0x55ce96(0x132)](_0x23a063){}[_0x55ce96(0x136)](_0x546783){}['onOpentelemetryInit'](_0x303549){}[_0x55ce96(0x139)](_0x11ac6f){}['onGetSelfTinyId'](_0x166886){}}function _0x18e4(_0x5ce792,_0x5ec3f2){var _0x13b5e8=_0x13b5();return _0x18e4=function(_0x18e4d0,_0x1c3643){_0x18e4d0=_0x18e4d0-0x12d;var _0xfb3696=_0x13b5e8[_0x18e4d0];return _0xfb3696;},_0x18e4(_0x5ce792,_0x5ec3f2);}function _0x13b5(){var _0x7eb07e=['onGProSessionCreate','4171815MqoqKB','521829uQwZBm','4588692KwEbCT','onSessionInitComplete','30XWbslF','292VUMVmn','onUserOnlineResult','273520dWCWIN','onNTSessionCreate','7450505ehsKmr','51099qEzQET','210TOlImG','78320qPdEkQ'];_0x13b5=function(){return _0x7eb07e;};return _0x13b5();} \ No newline at end of file +var _0x1345f7=_0x45fe;function _0x45fe(_0x278706,_0x5b31d6){var _0x42c3fe=_0x42c3();return _0x45fe=function(_0x45fe9a,_0x5a9658){_0x45fe9a=_0x45fe9a-0xb0;var _0x3be7ab=_0x42c3fe[_0x45fe9a];return _0x3be7ab;},_0x45fe(_0x278706,_0x5b31d6);}(function(_0x2374e5,_0x14a920){var _0x34772b=_0x45fe,_0x2b9064=_0x2374e5();while(!![]){try{var _0x17a407=parseInt(_0x34772b(0xba))/0x1+-parseInt(_0x34772b(0xb5))/0x2*(-parseInt(_0x34772b(0xb2))/0x3)+parseInt(_0x34772b(0xb9))/0x4+-parseInt(_0x34772b(0xb3))/0x5+parseInt(_0x34772b(0xbb))/0x6*(-parseInt(_0x34772b(0xb8))/0x7)+parseInt(_0x34772b(0xbc))/0x8*(parseInt(_0x34772b(0xb6))/0x9)+-parseInt(_0x34772b(0xb4))/0xa;if(_0x17a407===_0x14a920)break;else _0x2b9064['push'](_0x2b9064['shift']());}catch(_0x1cd39c){_0x2b9064['push'](_0x2b9064['shift']());}}}(_0x42c3,0xbb952));export class SessionListener{[_0x1345f7(0xbd)](_0x4c3d94){}[_0x1345f7(0xbe)](_0x1e2d33){}[_0x1345f7(0xb0)](_0x506900){}[_0x1345f7(0xbf)](_0x5e5c0e){}[_0x1345f7(0xb7)](_0x27a564){}[_0x1345f7(0xb1)](_0x1153fe){}}function _0x42c3(){var _0x203786=['6440045FQrMik','4974010hyrcBj','66806VgbYsJ','702PXWbLI','onUserOnlineResult','8256052GiiRZw','4993832RqEVCi','625003jiqmEe','6QCkjMX','111944CbozzB','onNTSessionCreate','onGProSessionCreate','onOpentelemetryInit','onSessionInitComplete','onGetSelfTinyId','69gkugqW'];_0x42c3=function(){return _0x203786;};return _0x42c3();} \ 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 cd4d357e..dd3a9080 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x2a5c00=_0x37aa;function _0x37aa(_0x3e647a,_0x1dcb54){var _0x599df8=_0x599d();return _0x37aa=function(_0x37aa33,_0x501e37){_0x37aa33=_0x37aa33-0x6f;var _0x25b485=_0x599df8[_0x37aa33];return _0x25b485;},_0x37aa(_0x3e647a,_0x1dcb54);}function _0x599d(){var _0x34112b=['6qarWqJ','65940GVzqZM','onScanCacheProgressChanged','278782MtHlIh','onFinishScan','963576vKHPsA','238948ClZoVy','302815mNmHku','1FLmVbR','85772RrHDDQ','1740136OshieW','onChatCleanDone','9IRuBbh','onCleanCacheStorageChanged'];_0x599d=function(){return _0x34112b;};return _0x599d();}(function(_0x4b315f,_0x82cd6){var _0x45e574=_0x37aa,_0x449ebe=_0x4b315f();while(!![]){try{var _0x363e75=parseInt(_0x45e574(0x77))/0x1*(parseInt(_0x45e574(0x75))/0x2)+-parseInt(_0x45e574(0x6f))/0x3*(parseInt(_0x45e574(0x78))/0x4)+-parseInt(_0x45e574(0x76))/0x5+-parseInt(_0x45e574(0x74))/0x6+parseInt(_0x45e574(0x72))/0x7+parseInt(_0x45e574(0x79))/0x8*(parseInt(_0x45e574(0x7b))/0x9)+parseInt(_0x45e574(0x70))/0xa;if(_0x363e75===_0x82cd6)break;else _0x449ebe['push'](_0x449ebe['shift']());}catch(_0xea5d50){_0x449ebe['push'](_0x449ebe['shift']());}}}(_0x599d,0x1d246));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x2fa08c){}[_0x2a5c00(0x71)](_0x53e24d){}[_0x2a5c00(0x7c)](_0x713b0a){}[_0x2a5c00(0x73)](_0x192e92){}[_0x2a5c00(0x7a)](_0x4179e4){}} \ No newline at end of file +var _0x188148=_0x5931;function _0x4853(){var _0x42f083=['2082645dOOiZl','1202NZqpjy','18OzAhlI','1613JqLqvB','onChatCleanDone','onCleanCacheProgressChanged','onScanCacheProgressChanged','137187mHaPBP','22pzByxd','2583045sZPlXT','7702696mtylWC','90KibopI','4lGVqmU','5662080tHSnTq','onFinishScan','2133201yeAICL','onCleanCacheStorageChanged'];_0x4853=function(){return _0x42f083;};return _0x4853();}(function(_0x13296c,_0x30b644){var _0xf9314a=_0x5931,_0x25014c=_0x13296c();while(!![]){try{var _0x5f3310=-parseInt(_0xf9314a(0xdb))/0x1*(-parseInt(_0xf9314a(0xea))/0x2)+-parseInt(_0xf9314a(0xe9))/0x3+-parseInt(_0xf9314a(0xe4))/0x4*(parseInt(_0xf9314a(0xe1))/0x5)+-parseInt(_0xf9314a(0xda))/0x6*(-parseInt(_0xf9314a(0xe7))/0x7)+-parseInt(_0xf9314a(0xe2))/0x8+parseInt(_0xf9314a(0xdf))/0x9*(-parseInt(_0xf9314a(0xe3))/0xa)+parseInt(_0xf9314a(0xe0))/0xb*(parseInt(_0xf9314a(0xe5))/0xc);if(_0x5f3310===_0x30b644)break;else _0x25014c['push'](_0x25014c['shift']());}catch(_0x7d6c7){_0x25014c['push'](_0x25014c['shift']());}}}(_0x4853,0x7e17a));function _0x5931(_0x3a7253,_0xffda67){var _0x48539a=_0x4853();return _0x5931=function(_0x59314c,_0x3bf4cb){_0x59314c=_0x59314c-0xda;var _0x57b80f=_0x48539a[_0x59314c];return _0x57b80f;},_0x5931(_0x3a7253,_0xffda67);}export class StorageCleanListener{[_0x188148(0xdd)](_0x580f50){}[_0x188148(0xde)](_0x228651){}[_0x188148(0xe8)](_0x256d3b){}[_0x188148(0xe6)](_0xcface8){}[_0x188148(0xdc)](_0x1be062){}} \ 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 005ad43b..8ba67a58 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -function _0x17a4(_0x116203,_0x38ae56){var _0x39f811=_0x39f8();return _0x17a4=function(_0x17a4eb,_0xa9e3ec){_0x17a4eb=_0x17a4eb-0xc0;var _0x38b8cf=_0x39f811[_0x17a4eb];return _0x38b8cf;},_0x17a4(_0x116203,_0x38ae56);}(function(_0x41c979,_0x3855e3){var _0x4c6f5b=_0x17a4,_0x19a74a=_0x41c979();while(!![]){try{var _0x520d87=-parseInt(_0x4c6f5b(0xc4))/0x1*(parseInt(_0x4c6f5b(0xc7))/0x2)+parseInt(_0x4c6f5b(0xca))/0x3*(parseInt(_0x4c6f5b(0xc1))/0x4)+-parseInt(_0x4c6f5b(0xc8))/0x5+parseInt(_0x4c6f5b(0xc9))/0x6+parseInt(_0x4c6f5b(0xc0))/0x7*(-parseInt(_0x4c6f5b(0xc2))/0x8)+-parseInt(_0x4c6f5b(0xc3))/0x9*(-parseInt(_0x4c6f5b(0xc6))/0xa)+parseInt(_0x4c6f5b(0xc5))/0xb;if(_0x520d87===_0x3855e3)break;else _0x19a74a['push'](_0x19a74a['shift']());}catch(_0x4ea970){_0x19a74a['push'](_0x19a74a['shift']());}}}(_0x39f8,0x69d80));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 _0x39f8(){var _0x24ff62=['1752650TiToho','3502104FZFuQm','258252Lsciey','4558092WFwQnh','20RWKTXZ','8yXMFGx','63ONhuip','75eEQaUz','7837137MVUUCB','538430mOvVuY','17820IionnA'];_0x39f8=function(){return _0x24ff62;};return _0x39f8();}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0xa0d897,_0x20e438){var _0x29c1d5=_0x579b,_0x2728dc=_0xa0d897();while(!![]){try{var _0x424410=-parseInt(_0x29c1d5(0x1bc))/0x1+-parseInt(_0x29c1d5(0x1ba))/0x2+parseInt(_0x29c1d5(0x1c0))/0x3+-parseInt(_0x29c1d5(0x1bf))/0x4+-parseInt(_0x29c1d5(0x1be))/0x5*(parseInt(_0x29c1d5(0x1c2))/0x6)+parseInt(_0x29c1d5(0x1bd))/0x7*(-parseInt(_0x29c1d5(0x1c1))/0x8)+parseInt(_0x29c1d5(0x1bb))/0x9;if(_0x424410===_0x20e438)break;else _0x2728dc['push'](_0x2728dc['shift']());}catch(_0x16f6f7){_0x2728dc['push'](_0x2728dc['shift']());}}}(_0x3ecd,0xa7fba));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 _0x3ecd(){var _0x102ebd=['3780152ICbmOJ','24inaCvP','1236824zehvZx','41122782qMifAE','875827DqWTFc','14kgLLdw','1173135JAweRj','4484064gmbxNL','1852983wjgpeb'];_0x3ecd=function(){return _0x102ebd;};return _0x3ecd();}function _0x579b(_0x2214f6,_0x2b9d73){var _0x3ecdcd=_0x3ecd();return _0x579b=function(_0x579b91,_0x23276f){_0x579b91=_0x579b91-0x1ba;var _0x3be0b=_0x3ecdcd[_0x579b91];return _0x3be0b;},_0x579b(_0x2214f6,_0x2b9d73);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index 5dfd5412..e436fb0a 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';function _0x2d9e(_0x229d3b,_0x5d2201){var _0x1e0fe9=_0x1e0f();return _0x2d9e=function(_0x2d9e67,_0x2cd8f2){_0x2d9e67=_0x2d9e67-0x1d1;var _0x351d7d=_0x1e0fe9[_0x2d9e67];return _0x351d7d;},_0x2d9e(_0x229d3b,_0x5d2201);}(function(_0x3111be,_0x2eb5b1){var _0x12a5fe=_0x2d9e,_0x5c6c91=_0x3111be();while(!![]){try{var _0x534843=-parseInt(_0x12a5fe(0x1da))/0x1+parseInt(_0x12a5fe(0x1d3))/0x2+parseInt(_0x12a5fe(0x1d1))/0x3*(parseInt(_0x12a5fe(0x1d6))/0x4)+parseInt(_0x12a5fe(0x1d5))/0x5*(-parseInt(_0x12a5fe(0x1d8))/0x6)+-parseInt(_0x12a5fe(0x1d7))/0x7+parseInt(_0x12a5fe(0x1d9))/0x8+parseInt(_0x12a5fe(0x1d2))/0x9*(parseInt(_0x12a5fe(0x1d4))/0xa);if(_0x534843===_0x2eb5b1)break;else _0x5c6c91['push'](_0x5c6c91['shift']());}catch(_0x5ad99d){_0x5c6c91['push'](_0x5c6c91['shift']());}}}(_0x1e0f,0xb804a));function _0x1e0f(){var _0x5907a2=['381987ScIHLP','2569096JkfqhL','610MpbPzK','4628995rDKTBP','12ioSZiU','7522788DghjOx','6AusZFp','996816NVGalR','1424954micdnt','181002XwLtXw'];_0x1e0f=function(){return _0x5907a2;};return _0x1e0f();} \ No newline at end of file +'use strict';(function(_0x522b74,_0x3910b8){var _0x5ce351=_0x58ab,_0x44e1fa=_0x522b74();while(!![]){try{var _0x7751be=parseInt(_0x5ce351(0xb7))/0x1+-parseInt(_0x5ce351(0xb8))/0x2*(-parseInt(_0x5ce351(0xb3))/0x3)+-parseInt(_0x5ce351(0xb9))/0x4+parseInt(_0x5ce351(0xb4))/0x5+parseInt(_0x5ce351(0xba))/0x6+parseInt(_0x5ce351(0xb6))/0x7+-parseInt(_0x5ce351(0xb5))/0x8;if(_0x7751be===_0x3910b8)break;else _0x44e1fa['push'](_0x44e1fa['shift']());}catch(_0xc1c7e5){_0x44e1fa['push'](_0x44e1fa['shift']());}}}(_0x3b57,0x89511));function _0x58ab(_0x5087b2,_0x5e120f){var _0x3b5782=_0x3b57();return _0x58ab=function(_0x58ab7b,_0x473954){_0x58ab7b=_0x58ab7b-0xb3;var _0x4b4518=_0x3b5782[_0x58ab7b];return _0x4b4518;},_0x58ab(_0x5087b2,_0x5e120f);}function _0x3b57(){var _0x3cfd7a=['2986460zyCEQe','20107464AhCSCF','4081119ITmMJf','894070ZoddKA','14uthhUt','1241256zwsZZm','5502480WacrFN','169173moFCOA'];_0x3b57=function(){return _0x3cfd7a;};return _0x3b57();} \ 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 6734bf09..1f9966b9 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x4313(_0x270787,_0x1df25f){var _0x3a6c2f=_0x3a6c();return _0x4313=function(_0x43131a,_0x32072b){_0x43131a=_0x43131a-0x1b2;var _0x134148=_0x3a6c2f[_0x43131a];return _0x134148;},_0x4313(_0x270787,_0x1df25f);}(function(_0x1f3460,_0x306f53){var _0x93cec5=_0x4313,_0x40a475=_0x1f3460();while(!![]){try{var _0x4bec9c=parseInt(_0x93cec5(0x1b4))/0x1+parseInt(_0x93cec5(0x1b5))/0x2+-parseInt(_0x93cec5(0x1b2))/0x3+parseInt(_0x93cec5(0x1b9))/0x4*(parseInt(_0x93cec5(0x1ba))/0x5)+parseInt(_0x93cec5(0x1b3))/0x6*(-parseInt(_0x93cec5(0x1b6))/0x7)+-parseInt(_0x93cec5(0x1b7))/0x8*(parseInt(_0x93cec5(0x1bb))/0x9)+parseInt(_0x93cec5(0x1b8))/0xa*(-parseInt(_0x93cec5(0x1bc))/0xb);if(_0x4bec9c===_0x306f53)break;else _0x40a475['push'](_0x40a475['shift']());}catch(_0x19693a){_0x40a475['push'](_0x40a475['shift']());}}}(_0x3a6c,0xf2321));export var GeneralCallResultStatus;function _0x3a6c(){var _0x57d005=['298372CStxHA','55bnjfzR','387OWDAna','2893dYGUik','3584736rIxZOE','72tClWeo','1270091YALsiM','3029462XbfVto','360241UFAZAz','85336GYEeYt','13010KnsqhI'];_0x3a6c=function(){return _0x57d005;};return _0x3a6c();}(function(_0x3901fe){_0x3901fe[_0x3901fe['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x4c57(_0x1266e7,_0x49590e){var _0x4c53da=_0x4c53();return _0x4c57=function(_0x4c5765,_0x4811c9){_0x4c5765=_0x4c5765-0x179;var _0x5186b7=_0x4c53da[_0x4c5765];return _0x5186b7;},_0x4c57(_0x1266e7,_0x49590e);}function _0x4c53(){var _0x1d8843=['90030hvDaDj','2484119MTpURe','30GFZpxu','24dyyxer','533HKfuvx','12124260uBuRhE','954iPgBFD','10Qyygfn','560214ypiQyA','16lCNARQ','168807BfizZp','2088695GOeuRx'];_0x4c53=function(){return _0x1d8843;};return _0x4c53();}(function(_0x574633,_0x114446){var _0x5ea47d=_0x4c57,_0x379eae=_0x574633();while(!![]){try{var _0x4b84c3=parseInt(_0x5ea47d(0x182))/0x1*(-parseInt(_0x5ea47d(0x184))/0x2)+-parseInt(_0x5ea47d(0x17c))/0x3*(-parseInt(_0x5ea47d(0x17b))/0x4)+-parseInt(_0x5ea47d(0x180))/0x5*(parseInt(_0x5ea47d(0x17e))/0x6)+-parseInt(_0x5ea47d(0x17d))/0x7+-parseInt(_0x5ea47d(0x181))/0x8*(parseInt(_0x5ea47d(0x17a))/0x9)+parseInt(_0x5ea47d(0x179))/0xa*(-parseInt(_0x5ea47d(0x17f))/0xb)+parseInt(_0x5ea47d(0x183))/0xc;if(_0x4b84c3===_0x114446)break;else _0x379eae['push'](_0x379eae['shift']());}catch(_0x13a54a){_0x379eae['push'](_0x379eae['shift']());}}}(_0x4c53,0x2bff0));export var GeneralCallResultStatus;(function(_0xc5fdd1){_0xc5fdd1[_0xc5fdd1['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 ff6ea067..9b6e21f2 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x40cce6,_0x3702b2){var _0x4fe55c=_0x21a0,_0x576aa9=_0x40cce6();while(!![]){try{var _0x395305=parseInt(_0x4fe55c(0xc4))/0x1+-parseInt(_0x4fe55c(0xc0))/0x2+-parseInt(_0x4fe55c(0xbb))/0x3*(parseInt(_0x4fe55c(0xbc))/0x4)+-parseInt(_0x4fe55c(0xbd))/0x5*(parseInt(_0x4fe55c(0xc1))/0x6)+parseInt(_0x4fe55c(0xbf))/0x7*(-parseInt(_0x4fe55c(0xc2))/0x8)+parseInt(_0x4fe55c(0xc3))/0x9+parseInt(_0x4fe55c(0xbe))/0xa*(parseInt(_0x4fe55c(0xba))/0xb);if(_0x395305===_0x3702b2)break;else _0x576aa9['push'](_0x576aa9['shift']());}catch(_0xb28c68){_0x576aa9['push'](_0x576aa9['shift']());}}}(_0x575b,0x78882));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x575b(){var _0x2ddb66=['72fxSZzC','5immIpr','20JBOufz','817187gFEQex','73800MlynWq','5795106fHsbgi','8VxPAuc','5384925CfiICC','764733HnmLks','1641442gzzqpf','8052omWwPu'];_0x575b=function(){return _0x2ddb66;};return _0x575b();}function _0x21a0(_0x2376d7,_0x59ff07){var _0x575b64=_0x575b();return _0x21a0=function(_0x21a051,_0x39fff7){_0x21a051=_0x21a051-0xba;var _0x2e0622=_0x575b64[_0x21a051];return _0x2e0622;},_0x21a0(_0x2376d7,_0x59ff07);}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(_0x1e289d,_0x12e67a){var _0x1bbdba=_0x3d43,_0x563117=_0x1e289d();while(!![]){try{var _0x4e12b4=-parseInt(_0x1bbdba(0xfd))/0x1+parseInt(_0x1bbdba(0x104))/0x2*(-parseInt(_0x1bbdba(0x100))/0x3)+-parseInt(_0x1bbdba(0x103))/0x4+-parseInt(_0x1bbdba(0x102))/0x5*(-parseInt(_0x1bbdba(0x101))/0x6)+-parseInt(_0x1bbdba(0x106))/0x7+parseInt(_0x1bbdba(0xfe))/0x8*(-parseInt(_0x1bbdba(0xff))/0x9)+parseInt(_0x1bbdba(0x105))/0xa;if(_0x4e12b4===_0x12e67a)break;else _0x563117['push'](_0x563117['shift']());}catch(_0x12f7b3){_0x563117['push'](_0x563117['shift']());}}}(_0x2ac0,0x69c81));export*from'./common';function _0x3d43(_0x49d727,_0x208422){var _0x2ac0d7=_0x2ac0();return _0x3d43=function(_0x3d43d4,_0xf2fd35){_0x3d43d4=_0x3d43d4-0xfd;var _0x3c28d0=_0x2ac0d7[_0x3d43d4];return _0x3c28d0;},_0x3d43(_0x49d727,_0x208422);}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0x2ac0(){var _0x1f757a=['2619385vRiSYj','3458532CIqyhc','247402SkulDM','22403680NcDMSP','3903473sTePeD','675444mhzXyq','8aymFCK','985923rlExZn','3OIBPOg','6AQJoFy'];_0x2ac0=function(){return _0x1f757a;};return _0x2ac0();}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 d14f74f1..22a62171 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x52d05e,_0x4f1e59){var _0x1b2d7d=_0x4790,_0x34a929=_0x52d05e();while(!![]){try{var _0x1f5138=-parseInt(_0x1b2d7d(0xcb))/0x1+parseInt(_0x1b2d7d(0xdb))/0x2*(-parseInt(_0x1b2d7d(0xd6))/0x3)+-parseInt(_0x1b2d7d(0xb7))/0x4*(parseInt(_0x1b2d7d(0xb6))/0x5)+parseInt(_0x1b2d7d(0xcf))/0x6+parseInt(_0x1b2d7d(0xb0))/0x7+parseInt(_0x1b2d7d(0xd3))/0x8*(parseInt(_0x1b2d7d(0xdc))/0x9)+parseInt(_0x1b2d7d(0xda))/0xa*(-parseInt(_0x1b2d7d(0xc8))/0xb);if(_0x1f5138===_0x4f1e59)break;else _0x34a929['push'](_0x34a929['shift']());}catch(_0x57c0d8){_0x34a929['push'](_0x34a929['shift']());}}}(_0x4bf7,0x61bb7));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1ab77e from'node:path';import _0x4c0d61 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;function _0x4790(_0x15f269,_0x1d99c6){var _0x4bf77f=_0x4bf7();return _0x4790=function(_0x47909a,_0x33032f){_0x47909a=_0x47909a-0xad;var _0x1e5314=_0x4bf77f[_0x47909a];return _0x1e5314;},_0x4790(_0x15f269,_0x1d99c6);}(function(_0x40e558){var _0x54875a=_0x4790,_0x4b4023={'sPxiT':_0x54875a(0xc6),'HZlkS':'KMAC','oHtUn':_0x54875a(0xbd),'frLok':_0x54875a(0xcc),'iwqTa':_0x54875a(0xbb),'EmfsI':_0x54875a(0xc9)},_0x45ad2f=_0x4b4023[_0x54875a(0xc7)][_0x54875a(0xd1)]('|'),_0x303b90=0x0;while(!![]){switch(_0x45ad2f[_0x303b90++]){case'0':_0x40e558[_0x40e558[_0x4b4023[_0x54875a(0xc0)]]=0x4]=_0x54875a(0xb5);continue;case'1':_0x40e558[_0x40e558[_0x54875a(0xbd)]=0x2]=_0x4b4023[_0x54875a(0xcd)];continue;case'2':_0x40e558[_0x40e558[_0x54875a(0xcc)]=0x0]=_0x4b4023['frLok'];continue;case'3':_0x40e558[_0x40e558[_0x4b4023[_0x54875a(0xd4)]]=0x1]=_0x4b4023[_0x54875a(0xd4)];continue;case'4':_0x40e558[_0x40e558[_0x4b4023[_0x54875a(0xb3)]]=0x3]=_0x4b4023['EmfsI'];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x20c398){var _0x467bf4=_0x4790,_0x2e01aa={'jJQOP':'KUNKNOWN','fCnDh':_0x467bf4(0xb1),'xufTD':_0x467bf4(0xd7),'ueuQd':'KCOMPUTER'};_0x20c398[_0x20c398[_0x2e01aa[_0x467bf4(0xbf)]]=0x0]=_0x2e01aa[_0x467bf4(0xbf)],_0x20c398[_0x20c398[_0x2e01aa['fCnDh']]=0x1]=_0x2e01aa['fCnDh'],_0x20c398[_0x20c398[_0x2e01aa[_0x467bf4(0xc5)]]=0x2]=_0x2e01aa[_0x467bf4(0xc5)],_0x20c398[_0x20c398[_0x2e01aa[_0x467bf4(0xc3)]]=0x3]=_0x2e01aa['ueuQd'];}(DeviceType||(DeviceType={})));function _0x4bf7(){var _0x4c8bbe=['297UOnLnn','KPAD','temp','KSUPPORTHMS','570hdfcZg','10624tQuday','36HBtLay','wBfpG','AePbW','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','3632041mshQxb','KPHONE','KUNSUPPORTANDROIDPUSH','EmfsI','NcNVk','KMAC','1247745ednXQP','4WxwyEm','curVersion','KSUPPORTVIVOPUSH','NapCat','KANDROID','assign','KIOS','KSUPPORTTPNS','jJQOP','HZlkS','KSUPPORTGOOGLEPUSH','version','ueuQd','0|4|2|3|5|6|1','xufTD','2|3|1|4|0','sPxiT','113311HGRzme','KWINDOWS','hicmr','198411SOEuWX','KUNKNOWN','oHtUn','pqDle','3958566XMUsAu','Jzuzl','split','tMetu','1565384ZYWMia','iwqTa','XLlVV'];_0x4bf7=function(){return _0x4c8bbe;};return _0x4bf7();}export var VendorType;(function(_0xe60357){var _0x4da6a2=_0x4790,_0x572915={'tMetu':'KNOSETONIOS','aTyeK':_0x4da6a2(0xb2),'wBfpG':'KSUPPORTOPPOPUSH','NcNVk':_0x4da6a2(0xc1),'pqDle':_0x4da6a2(0xbe),'Jzuzl':_0x4da6a2(0xb9)},_0x3a096c=_0x4da6a2(0xc4)[_0x4da6a2(0xd1)]('|'),_0x3ff661=0x0;while(!![]){switch(_0x3a096c[_0x3ff661++]){case'0':_0xe60357[_0xe60357[_0x572915[_0x4da6a2(0xd2)]]=0x0]=_0x572915[_0x4da6a2(0xd2)];continue;case'1':_0xe60357[_0xe60357[_0x4da6a2(0xb2)]=0x1]=_0x572915['aTyeK'];continue;case'2':_0xe60357[_0xe60357[_0x4da6a2(0xd9)]=0x3]=_0x4da6a2(0xd9);continue;case'3':_0xe60357[_0xe60357[_0x572915[_0x4da6a2(0xad)]]=0x4]=_0x572915[_0x4da6a2(0xad)];continue;case'4':_0xe60357[_0xe60357[_0x572915[_0x4da6a2(0xb4)]]=0x63]=_0x4da6a2(0xc1);continue;case'5':_0xe60357[_0xe60357[_0x572915['pqDle']]=0x2]=_0x572915[_0x4da6a2(0xce)];continue;case'6':_0xe60357[_0xe60357[_0x4da6a2(0xb9)]=0x5]=_0x572915[_0x4da6a2(0xd0)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x1010d5,_0x5c0e74,_0x43e0c3){var _0x26b7ec=_0x4790,_0x52038e={'hicmr':_0x26b7ec(0xd8),'XLlVV':function(_0x3f2489){return _0x3f2489();},'AePbW':_0x26b7ec(0xaf)};const _0x41c40e=_0x1ab77e['join'](_0x43e0c3,_0x26b7ec(0xba),_0x52038e[_0x26b7ec(0xca)]);_0x4c0d61['mkdirSync'](_0x41c40e,{'recursive':!![]});let _0x4c36a2=await _0x52038e[_0x26b7ec(0xd5)](getMachineId);const _0x4a8281={'selfUin':_0x1010d5,'selfUid':_0x5c0e74,'desktopPathConfig':{'account_path':_0x43e0c3},'clientVer':qqVersionConfigInfo[_0x26b7ec(0xb8)],'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':_0x41c40e,'deviceInfo':{'guid':_0x4c36a2,'buildVer':qqPkgInfo[_0x26b7ec(0xc2)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x52038e[_0x26b7ec(0xae)]};return Object[_0x26b7ec(0xbc)](sessionConfig,_0x4a8281),_0x4a8281;} \ No newline at end of file +(function(_0x2334d3,_0x5f12be){var _0x1c8e2a=_0x5eb2,_0x427f90=_0x2334d3();while(!![]){try{var _0x3058ea=parseInt(_0x1c8e2a(0x10d))/0x1*(-parseInt(_0x1c8e2a(0x111))/0x2)+parseInt(_0x1c8e2a(0xf9))/0x3*(parseInt(_0x1c8e2a(0x101))/0x4)+parseInt(_0x1c8e2a(0xe7))/0x5+parseInt(_0x1c8e2a(0xef))/0x6+-parseInt(_0x1c8e2a(0xf3))/0x7*(parseInt(_0x1c8e2a(0x104))/0x8)+parseInt(_0x1c8e2a(0x112))/0x9+parseInt(_0x1c8e2a(0xfa))/0xa;if(_0x3058ea===_0x5f12be)break;else _0x427f90['push'](_0x427f90['shift']());}catch(_0x1f670c){_0x427f90['push'](_0x427f90['shift']());}}}(_0x22be,0xd065b));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x5eb2(_0x143188,_0x30fcc8){var _0x22be6a=_0x22be();return _0x5eb2=function(_0x5eb2f7,_0x133aeb){_0x5eb2f7=_0x5eb2f7-0xe6;var _0x57935f=_0x22be6a[_0x5eb2f7];return _0x57935f;},_0x5eb2(_0x143188,_0x30fcc8);}import _0x1eaad0 from'node:path';import _0x483736 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;function _0x22be(){var _0x4563de=['KPAD','assign','NBbjM','35EGGYfl','fWwTV','KANDROID','KSUPPORTVIVOPUSH','KUNSUPPORTANDROIDPUSH','ddfKW','2143947tpabJH','1816760XBxHte','ZLNkM','join','KSUPPORTTPNS','BnTGt','KMAC','temp','8eMYakt','qTCuO','KSUPPORTHMS','490960IIeGGe','GLoOl','VfkDb','KIOS','MiBgC','yYzks','aXodZ','ZxfOo','NygpS','114iorKBC','0|6|3|4|2|5|1','sgufW','AcXNq','15074drhcVV','573705TYDSgF','mkdirSync','JSwJv','572465qXawqb','split','NapCat','QdRom','version','KUNKNOWN','KSUPPORTGOOGLEPUSH','3|2|0|4|1','1382706xKwvcG'];_0x22be=function(){return _0x4563de;};return _0x22be();}(function(_0x5a1c6c){var _0x2abe7a=_0x5eb2,_0x39e597={'NygpS':_0x2abe7a(0x107),'QdRom':_0x2abe7a(0xff),'MiBgC':'KANDROID','BnTGt':_0x2abe7a(0xec),'yYzks':'KWINDOWS'},_0x58be0b=_0x2abe7a(0xee)[_0x2abe7a(0xe8)]('|'),_0x3a67b6=0x0;while(!![]){switch(_0x58be0b[_0x3a67b6++]){case'0':_0x5a1c6c[_0x5a1c6c[_0x39e597[_0x2abe7a(0x10c)]]=0x2]=_0x39e597['NygpS'];continue;case'1':_0x5a1c6c[_0x5a1c6c[_0x39e597[_0x2abe7a(0xea)]]=0x4]=_0x39e597['QdRom'];continue;case'2':_0x5a1c6c[_0x5a1c6c[_0x2abe7a(0xf5)]=0x1]=_0x39e597[_0x2abe7a(0x108)];continue;case'3':_0x5a1c6c[_0x5a1c6c[_0x39e597['BnTGt']]=0x0]=_0x39e597[_0x2abe7a(0xfe)];continue;case'4':_0x5a1c6c[_0x5a1c6c[_0x39e597['yYzks']]=0x3]=_0x39e597[_0x2abe7a(0x109)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x2fa427){var _0x2fbdb6=_0x5eb2,_0x392b67={'qTCuO':'KUNKNOWN','JKYiy':'KPHONE','AcXNq':_0x2fbdb6(0xf0),'fWwTV':'KCOMPUTER'};_0x2fa427[_0x2fa427[_0x392b67[_0x2fbdb6(0x102)]]=0x0]=_0x392b67[_0x2fbdb6(0x102)],_0x2fa427[_0x2fa427[_0x392b67['JKYiy']]=0x1]='KPHONE',_0x2fa427[_0x2fa427[_0x392b67[_0x2fbdb6(0x110)]]=0x2]=_0x392b67[_0x2fbdb6(0x110)],_0x2fa427[_0x2fa427[_0x392b67['fWwTV']]=0x3]=_0x392b67[_0x2fbdb6(0xf4)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x515d1d){var _0x3b313a=_0x5eb2,_0x2148ec={'JSwJv':_0x3b313a(0x10e),'NBbjM':'KNOSETONIOS','RUJcB':_0x3b313a(0xf7),'ddfKW':_0x3b313a(0xfd),'hPGSx':_0x3b313a(0x103),'aXodZ':'KSUPPORTOPPOPUSH','GLoOl':'KSUPPORTVIVOPUSH','ZxfOo':_0x3b313a(0xed)},_0x56f54c=_0x2148ec[_0x3b313a(0xe6)][_0x3b313a(0xe8)]('|'),_0x1c7d3b=0x0;while(!![]){switch(_0x56f54c[_0x1c7d3b++]){case'0':_0x515d1d[_0x515d1d[_0x2148ec['NBbjM']]=0x0]=_0x2148ec[_0x3b313a(0xf2)];continue;case'1':_0x515d1d[_0x515d1d[_0x3b313a(0xf7)]=0x1]=_0x2148ec['RUJcB'];continue;case'2':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0xf8)]]=0x2]=_0x2148ec[_0x3b313a(0xf8)];continue;case'3':_0x515d1d[_0x515d1d[_0x2148ec['hPGSx']]=0x3]=_0x2148ec['hPGSx'];continue;case'4':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0x10a)]]=0x4]=_0x2148ec['aXodZ'];continue;case'5':_0x515d1d[_0x515d1d[_0x3b313a(0xf6)]=0x5]=_0x2148ec[_0x3b313a(0x105)];continue;case'6':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0x10b)]]=0x63]=_0x2148ec[_0x3b313a(0x10b)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x4b819f,_0x403ea9,_0x3bb00c){var _0x567087=_0x5eb2,_0x8e08bb={'VfkDb':_0x567087(0xe9),'sgufW':_0x567087(0x100),'ZLNkM':function(_0xfb607d){return _0xfb607d();}};const _0x3ba065=_0x1eaad0[_0x567087(0xfc)](_0x3bb00c,_0x8e08bb[_0x567087(0x106)],_0x8e08bb[_0x567087(0x10f)]);_0x483736[_0x567087(0x113)](_0x3ba065,{'recursive':!![]});let _0x1c113e=await _0x8e08bb[_0x567087(0xfb)](getMachineId);const _0x440c44={'selfUin':_0x4b819f,'selfUid':_0x403ea9,'desktopPathConfig':{'account_path':_0x3bb00c},'clientVer':qqVersionConfigInfo['curVersion'],'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':_0x3ba065,'deviceInfo':{'guid':_0x1c113e,'buildVer':qqPkgInfo[_0x567087(0xeb)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object[_0x567087(0xf1)](sessionConfig,_0x440c44),_0x440c44;} \ 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 fe1c196f..3ea26b7e 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x2cbcba=_0x17b4;(function(_0x1c97ed,_0x47e4d7){const _0x1ae63c=_0x17b4,_0xb21c5=_0x1c97ed();while(!![]){try{const _0x354cfd=-parseInt(_0x1ae63c(0x8d))/0x1*(parseInt(_0x1ae63c(0x90))/0x2)+-parseInt(_0x1ae63c(0x94))/0x3*(-parseInt(_0x1ae63c(0x89))/0x4)+-parseInt(_0x1ae63c(0x80))/0x5+parseInt(_0x1ae63c(0x8f))/0x6+parseInt(_0x1ae63c(0x8e))/0x7*(parseInt(_0x1ae63c(0x87))/0x8)+-parseInt(_0x1ae63c(0x81))/0x9+-parseInt(_0x1ae63c(0x8b))/0xa*(-parseInt(_0x1ae63c(0x93))/0xb);if(_0x354cfd===_0x47e4d7)break;else _0xb21c5['push'](_0xb21c5['shift']());}catch(_0x2c9189){_0xb21c5['push'](_0xb21c5['shift']());}}}(_0x20a2,0x1f33a));import _0x33cf3 from'node:path';function _0x20a2(){const _0x2e6872=['6901pnpJVU','12607NEgeHH','438330bHrFUk','22vEMxWd','.json','consoleLog','22nNvTnC','7785levirK','napcat_','join','212310CFocUt','1648134cHfAgA','INFO','fileLogLevel','fileLog','uin','getConfigPath','1064fJsuEc','getConfigDir','36YdlCwZ','consoleLogLevel','466790zoJZOY','DEBUG'];_0x20a2=function(){return _0x2e6872;};return _0x20a2();}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x17b4(_0x5159cb,_0x1feeb1){const _0x20a27e=_0x20a2();return _0x17b4=function(_0x17b46b,_0x439250){_0x17b46b=_0x17b46b-0x7f;let _0x4eeb54=_0x20a27e[_0x17b46b];return _0x4eeb54;},_0x17b4(_0x5159cb,_0x1feeb1);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2cbcba(0x84)]=!![];[_0x2cbcba(0x92)]=!![];[_0x2cbcba(0x83)]=LogLevel[_0x2cbcba(0x8c)];[_0x2cbcba(0x8a)]=LogLevel[_0x2cbcba(0x82)];constructor(){super();}[_0x2cbcba(0x86)](){const _0x42c2ab=_0x2cbcba;return _0x33cf3[_0x42c2ab(0x7f)](this[_0x42c2ab(0x88)](),_0x42c2ab(0x95)+selfInfo[_0x42c2ab(0x85)]+_0x42c2ab(0x91));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x162dbf=_0x4f2c;(function(_0x4e97b9,_0x2adc7a){const _0x16e3b9=_0x4f2c,_0xb54d5a=_0x4e97b9();while(!![]){try{const _0x1ba925=-parseInt(_0x16e3b9(0x101))/0x1*(parseInt(_0x16e3b9(0x106))/0x2)+-parseInt(_0x16e3b9(0x100))/0x3*(parseInt(_0x16e3b9(0x103))/0x4)+-parseInt(_0x16e3b9(0x115))/0x5*(parseInt(_0x16e3b9(0x10a))/0x6)+parseInt(_0x16e3b9(0x105))/0x7*(-parseInt(_0x16e3b9(0x10f))/0x8)+parseInt(_0x16e3b9(0x113))/0x9+parseInt(_0x16e3b9(0x111))/0xa+parseInt(_0x16e3b9(0x110))/0xb;if(_0x1ba925===_0x2adc7a)break;else _0xb54d5a['push'](_0xb54d5a['shift']());}catch(_0x354dd3){_0xb54d5a['push'](_0xb54d5a['shift']());}}}(_0x3a5e,0xe7dc3));import _0x3d87c6 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x4f2c(_0x50fd92,_0x9a3520){const _0x3a5e12=_0x3a5e();return _0x4f2c=function(_0x4f2c1a,_0x44c25b){_0x4f2c1a=_0x4f2c1a-0x100;let _0x28f422=_0x3a5e12[_0x4f2c1a];return _0x28f422;},_0x4f2c(_0x50fd92,_0x9a3520);}function _0x3a5e(){const _0x544337=['90ZhFPhO','9bwumFS','9ZlZkZu','DEBUG','754456wPXVny','INFO','299481MQycKx','222502QtmDQo','getConfigPath','join','fileLog','142584HHzIKg','consoleLog','uin','napcat_','consoleLogLevel','40LrjZYo','4153710yYCHQu','18969510urWdeT','fileLogLevel','7955154KvfrhZ','.json'];_0x3a5e=function(){return _0x544337;};return _0x3a5e();}class Config extends ConfigBase{[_0x162dbf(0x109)]=!![];[_0x162dbf(0x10b)]=!![];[_0x162dbf(0x112)]=LogLevel[_0x162dbf(0x102)];[_0x162dbf(0x10e)]=LogLevel[_0x162dbf(0x104)];constructor(){super();}[_0x162dbf(0x107)](){const _0x4c9ee9=_0x162dbf;return _0x3d87c6[_0x4c9ee9(0x108)](this['getConfigDir'](),_0x4c9ee9(0x10d)+selfInfo[_0x4c9ee9(0x10c)]+_0x4c9ee9(0x114));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 6d0fb0ab..62137c2e 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x38691f=_0x2a53;function _0x2a53(_0x437e19,_0x3bbaa4){const _0x5d5ff8=_0x5d5f();return _0x2a53=function(_0x2a5380,_0x5e084c){_0x2a5380=_0x2a5380-0x17b;let _0x4b4ac3=_0x5d5ff8[_0x2a5380];return _0x4b4ac3;},_0x2a53(_0x437e19,_0x3bbaa4);}(function(_0x1ceefd,_0x53ca5c){const _0x2fb566=_0x2a53,_0x15640a=_0x1ceefd();while(!![]){try{const _0x584b05=parseInt(_0x2fb566(0x17b))/0x1*(-parseInt(_0x2fb566(0x18b))/0x2)+parseInt(_0x2fb566(0x17d))/0x3*(parseInt(_0x2fb566(0x185))/0x4)+-parseInt(_0x2fb566(0x182))/0x5*(parseInt(_0x2fb566(0x183))/0x6)+parseInt(_0x2fb566(0x18f))/0x7*(parseInt(_0x2fb566(0x18d))/0x8)+-parseInt(_0x2fb566(0x188))/0x9*(parseInt(_0x2fb566(0x193))/0xa)+parseInt(_0x2fb566(0x181))/0xb+parseInt(_0x2fb566(0x18a))/0xc;if(_0x584b05===_0x53ca5c)break;else _0x15640a['push'](_0x15640a['shift']());}catch(_0x487e1b){_0x15640a['push'](_0x15640a['shift']());}}}(_0x5d5f,0xea155));function _0x5d5f(){const _0x27a715=['http://napcat-sign.wumiao.wang:2082/rkey','897528WjnXsd','isExpired','serverUrl','40887qaEcHv','HpISQ','20165268WUdTye','55034tDQfQh','refreshRkey','10249944wWmKXe','获取rkey失败','7nRnBkm','expired_time','rkeyData','getRkey','1130ESZuRE','EjATx','12RanteP','HttpGetJson','6mwpvJY','XYjam','getTime','GET','2997511BBjTNr','9402895yjUzDw','6AkofZQ'];_0x5d5f=function(){return _0x27a715;};return _0x5d5f();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x38691f(0x187)]='';[_0x38691f(0x191)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3857bc){const _0x5343a7=_0x38691f;this[_0x5343a7(0x187)]=_0x3857bc;}async[_0x38691f(0x192)](){const _0x4e11c9=_0x38691f,_0x511d42={'EjATx':_0x4e11c9(0x18e)};if(this['isExpired']())try{await this[_0x4e11c9(0x18c)]();}catch(_0x169aad){logError(_0x511d42[_0x4e11c9(0x194)],_0x169aad);}return this[_0x4e11c9(0x191)];}[_0x38691f(0x186)](){const _0x3f9610=_0x38691f,_0xdb1c14={'HpISQ':function(_0x473a16,_0x1cd9ce){return _0x473a16>_0x1cd9ce;}},_0x31b387=new Date()[_0x3f9610(0x17f)]()/0x3e8;return _0xdb1c14[_0x3f9610(0x189)](_0x31b387,this['rkeyData'][_0x3f9610(0x190)]);}async['refreshRkey'](){const _0xe5bde0=_0x38691f,_0x517a5e={'XYjam':_0xe5bde0(0x180)};this[_0xe5bde0(0x191)]=await RequestUtil[_0xe5bde0(0x17c)](this['serverUrl'],_0x517a5e[_0xe5bde0(0x17e)]);}}export const rkeyManager=new RkeyManager(_0x38691f(0x184)); \ No newline at end of file +function _0x8bce(){const _0x1d1dd2=['2845xaZPLM','expired_time','650925Qnauzq','http://napcat-sign.wumiao.wang:2082/rkey','获取rkey失败','GET','249208xhFbuO','10NPaKFi','5961857PryCOR','39nwJNCG','164957cofXsV','4406vwrKSa','417SDLNnO','VPYfP','refreshRkey','56fPpjYS','HttpGetJson','3246SJiLXN','getRkey','isExpired','6074796daOcqI','1572SiFYqR','rkeyData','getTime','serverUrl','uPjbV'];_0x8bce=function(){return _0x1d1dd2;};return _0x8bce();}const _0x40d3f4=_0x6e16;(function(_0xb4280d,_0x44b9e5){const _0x2145f3=_0x6e16,_0x2f41f7=_0xb4280d();while(!![]){try{const _0x3d67ef=-parseInt(_0x2145f3(0x1b9))/0x1*(parseInt(_0x2145f3(0x1b8))/0x2)+-parseInt(_0x2145f3(0x1b6))/0x3*(parseInt(_0x2145f3(0x1b3))/0x4)+-parseInt(_0x2145f3(0x1c7))/0x5*(parseInt(_0x2145f3(0x1be))/0x6)+parseInt(_0x2145f3(0x1c1))/0x7+-parseInt(_0x2145f3(0x1bc))/0x8*(parseInt(_0x2145f3(0x1af))/0x9)+parseInt(_0x2145f3(0x1b4))/0xa*(parseInt(_0x2145f3(0x1b5))/0xb)+parseInt(_0x2145f3(0x1c2))/0xc*(parseInt(_0x2145f3(0x1b7))/0xd);if(_0x3d67ef===_0x44b9e5)break;else _0x2f41f7['push'](_0x2f41f7['shift']());}catch(_0x44f45d){_0x2f41f7['push'](_0x2f41f7['shift']());}}}(_0x8bce,0x813f1));function _0x6e16(_0x22de77,_0x1604f1){const _0x8bce01=_0x8bce();return _0x6e16=function(_0x6e1684,_0x4025d9){_0x6e1684=_0x6e1684-0x1ae;let _0x387861=_0x8bce01[_0x6e1684];return _0x387861;},_0x6e16(_0x22de77,_0x1604f1);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x40d3f4(0x1c5)]='';[_0x40d3f4(0x1c3)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4b75e0){const _0x480380=_0x40d3f4;this[_0x480380(0x1c5)]=_0x4b75e0;}async[_0x40d3f4(0x1bf)](){const _0x1b4d98=_0x40d3f4;if(this[_0x1b4d98(0x1c0)]())try{await this[_0x1b4d98(0x1bb)]();}catch(_0x2261d0){logError(_0x1b4d98(0x1b1),_0x2261d0);}return this[_0x1b4d98(0x1c3)];}[_0x40d3f4(0x1c0)](){const _0x5964a6=_0x40d3f4,_0x269b69={'dnPEn':function(_0x29fbd9,_0x37c893){return _0x29fbd9/_0x37c893;},'VPYfP':function(_0x41d483,_0x108134){return _0x41d483>_0x108134;}},_0x35e26a=_0x269b69['dnPEn'](new Date()[_0x5964a6(0x1c4)](),0x3e8);return _0x269b69[_0x5964a6(0x1ba)](_0x35e26a,this[_0x5964a6(0x1c3)][_0x5964a6(0x1ae)]);}async[_0x40d3f4(0x1bb)](){const _0x398914=_0x40d3f4,_0x428495={'uPjbV':_0x398914(0x1b2)};this[_0x398914(0x1c3)]=await RequestUtil[_0x398914(0x1bd)](this[_0x398914(0x1c5)],_0x428495[_0x398914(0x1c6)]);}}export const rkeyManager=new RkeyManager(_0x40d3f4(0x1b0)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 1d18e9a3..f8a28b5f 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x1fbca7=_0x1ea3;function _0x5b43(){const _0x1cb986=['url','join','\x22);\x0aexports\x20=\x20module.exports;\x0a','replace','existsSync','48deKVLY','4015368LBwEuB','./resources/app/wrapper.node','dirname','3749555srvMxk','resources/app/versions/','15258mzoLVG','10SOLUgF','84916eJrtzo','2Jcaveg','119OhMWzD','4xtmiuQ','execPath','resolve','writeFileSync','1558593JstKsh','566931BGEhFW','854436GRImYk'];_0x5b43=function(){return _0x1cb986;};return _0x5b43();}(function(_0x592a6f,_0x347206){const _0x386673=_0x1ea3,_0x1a55a2=_0x592a6f();while(!![]){try{const _0x536245=-parseInt(_0x386673(0xe7))/0x1*(-parseInt(_0x386673(0xe8))/0x2)+parseInt(_0x386673(0xef))/0x3+parseInt(_0x386673(0xea))/0x4*(-parseInt(_0x386673(0xfa))/0x5)+parseInt(_0x386673(0xe5))/0x6*(parseInt(_0x386673(0xe9))/0x7)+parseInt(_0x386673(0xf7))/0x8+parseInt(_0x386673(0xee))/0x9*(parseInt(_0x386673(0xe6))/0xa)+-parseInt(_0x386673(0xf0))/0xb*(-parseInt(_0x386673(0xf6))/0xc);if(_0x536245===_0x347206)break;else _0x1a55a2['push'](_0x1a55a2['shift']());}catch(_0x19a8bb){_0x1a55a2['push'](_0x1a55a2['shift']());}}}(_0x5b43,0x87037));import _0x31e54f from'node:path';import _0xee34c0 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x1fbca7(0xf1)]),__dirname=dirname(__filename);let wrapperNodePath=_0x31e54f[_0x1fbca7(0xec)](_0x31e54f[_0x1fbca7(0xf9)](process['execPath']),_0x1fbca7(0xf8));!_0xee34c0[_0x1fbca7(0xf5)](wrapperNodePath)&&(wrapperNodePath=_0x31e54f['join'](_0x31e54f['dirname'](process[_0x1fbca7(0xeb)]),_0x1fbca7(0xfb)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));let WrapperLoader=_0x31e54f[_0x1fbca7(0xf2)](__dirname,'WrapperLoader.cjs');function _0x1ea3(_0x2030b5,_0x18a4ec){const _0x5b435e=_0x5b43();return _0x1ea3=function(_0x1ea3b5,_0x49a6c3){_0x1ea3b5=_0x1ea3b5-0xe5;let _0x3be324=_0x5b435e[_0x1ea3b5];return _0x3be324;},_0x1ea3(_0x2030b5,_0x18a4ec);}_0xee34c0[_0x1fbca7(0xed)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x1fbca7(0xf4)](/\\/g,'\x5c\x5c')+_0x1fbca7(0xf3));const QQWrapper=(await import('file://'+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file +const _0x2c085b=_0x4efb;(function(_0x133d68,_0x428234){const _0x27018a=_0x4efb,_0x5c7c2c=_0x133d68();while(!![]){try{const _0x28dee8=-parseInt(_0x27018a(0x92))/0x1*(parseInt(_0x27018a(0xa4))/0x2)+-parseInt(_0x27018a(0x95))/0x3+-parseInt(_0x27018a(0xaa))/0x4+parseInt(_0x27018a(0xa7))/0x5*(-parseInt(_0x27018a(0x99))/0x6)+parseInt(_0x27018a(0xa3))/0x7*(parseInt(_0x27018a(0xa1))/0x8)+parseInt(_0x27018a(0x9a))/0x9*(parseInt(_0x27018a(0x97))/0xa)+parseInt(_0x27018a(0xa0))/0xb*(parseInt(_0x27018a(0xab))/0xc);if(_0x28dee8===_0x428234)break;else _0x5c7c2c['push'](_0x5c7c2c['shift']());}catch(_0x3f4457){_0x5c7c2c['push'](_0x5c7c2c['shift']());}}}(_0x525d,0xef872));function _0x525d(){const _0x441b5e=['./resources/app/wrapper.node','replace','curVersion','/wrapper.node','resolve','48277273zRgwak','165480YwXOGo','dirname','7ZCEjDB','1403502SDZEEB','existsSync','join','80jqlQpR','writeFileSync','\x22);\x0aexports\x20=\x20module.exports;\x0a','1046160tcDAma','12IcQQrl','execPath','2VvTJAp','\x0amodule.exports\x20=\x20require(\x22','default','4575198MqsaXe','url','140oqiEYn','file://','282972RtXpWv','331893NaCJtV'];_0x525d=function(){return _0x441b5e;};return _0x525d();}import _0xa34fb5 from'node:path';function _0x4efb(_0x40d375,_0x2336a4){const _0x525d8f=_0x525d();return _0x4efb=function(_0x4efb1f,_0x40d67d){_0x4efb1f=_0x4efb1f-0x91;let _0x3ed102=_0x525d8f[_0x4efb1f];return _0x3ed102;},_0x4efb(_0x40d375,_0x2336a4);}import _0x31281d from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2c085b(0x96)]),__dirname=dirname(__filename);let wrapperNodePath=_0xa34fb5[_0x2c085b(0x9f)](_0xa34fb5['dirname'](process[_0x2c085b(0x91)]),_0x2c085b(0x9b));!_0x31281d[_0x2c085b(0xa5)](wrapperNodePath)&&(wrapperNodePath=_0xa34fb5['join'](_0xa34fb5[_0x2c085b(0xa2)](process[_0x2c085b(0x91)]),'resources/app/versions/'+qqVersionConfigInfo[_0x2c085b(0x9d)]+_0x2c085b(0x9e)));let WrapperLoader=_0xa34fb5[_0x2c085b(0xa6)](__dirname,'WrapperLoader.cjs');_0x31281d[_0x2c085b(0xa8)](WrapperLoader,_0x2c085b(0x93)+wrapperNodePath[_0x2c085b(0x9c)](/\\/g,'\x5c\x5c')+_0x2c085b(0xa9));const QQWrapper=(await import(_0x2c085b(0x98)+WrapperLoader))[_0x2c085b(0x94)];export default QQWrapper; \ No newline at end of file