From 1c9c574a906fc592edf5a662cca022179aa6ea43 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: Sat, 1 Jun 2024 14:08:10 +0800 Subject: [PATCH] refactor: v1.4.6 --- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.d.ts | 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/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 +- 40 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 7b74838f..f0b111e3 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x108847=_0xb945;function _0xb945(_0x557404,_0x5a13d7){var _0x2f9687=_0x2f96();return _0xb945=function(_0xb945ac,_0x218585){_0xb945ac=_0xb945ac-0xc8;var _0x5dcfb4=_0x2f9687[_0xb945ac];return _0x5dcfb4;},_0xb945(_0x557404,_0x5a13d7);}function _0x2f96(){var _0x5980bb=['660312ldEHaI','onMSFSsoError','1394220STGncx','705338BnTxkd','4jIWuuU','521969mcfjft','getGroupCode','1384521ctEccj','40Szrmdy','2003755mAXMpY','1fsIOyH','onMSFStatusChange','2015740Zmennb'];_0x2f96=function(){return _0x5980bb;};return _0x2f96();}(function(_0x4b8ae8,_0x484e5d){var _0x34b16f=_0xb945,_0x1a07d7=_0x4b8ae8();while(!![]){try{var _0x114bc0=-parseInt(_0x34b16f(0xce))/0x1*(parseInt(_0x34b16f(0xd4))/0x2)+parseInt(_0x34b16f(0xcb))/0x3+-parseInt(_0x34b16f(0xc8))/0x4*(-parseInt(_0x34b16f(0xcd))/0x5)+parseInt(_0x34b16f(0xd3))/0x6+-parseInt(_0x34b16f(0xc9))/0x7*(parseInt(_0x34b16f(0xcc))/0x8)+parseInt(_0x34b16f(0xd1))/0x9+-parseInt(_0x34b16f(0xd0))/0xa;if(_0x114bc0===_0x484e5d)break;else _0x1a07d7['push'](_0x1a07d7['shift']());}catch(_0x375d0c){_0x1a07d7['push'](_0x1a07d7['shift']());}}}(_0x2f96,0x3ad16));export class DependsAdapter{[_0x108847(0xcf)](_0x2ff11d,_0x3d171c){}[_0x108847(0xd2)](_0x43dede){}[_0x108847(0xca)](_0x187f1a){}} \ No newline at end of file +function _0x5222(){var _0x3091f8=['6273aTfWba','9981447HMXcwA','2890585oSjsvJ','8TdYIWz','3243588DGNCtB','getGroupCode','43803705QezSUk','1200309ykLrjF','1770620oiFLFj','6070xVmufr','18IROTnB','4AICfZO'];_0x5222=function(){return _0x3091f8;};return _0x5222();}var _0x5fba51=_0x5d34;(function(_0x4bf11c,_0x14198d){var _0x2fd03f=_0x5d34,_0x4d6419=_0x4bf11c();while(!![]){try{var _0x4850c9=parseInt(_0x2fd03f(0xf8))/0x1+-parseInt(_0x2fd03f(0xed))/0x2+-parseInt(_0x2fd03f(0xf5))/0x3*(-parseInt(_0x2fd03f(0xf0))/0x4)+-parseInt(_0x2fd03f(0xf3))/0x5*(-parseInt(_0x2fd03f(0xef))/0x6)+-parseInt(_0x2fd03f(0xf2))/0x7*(-parseInt(_0x2fd03f(0xf4))/0x8)+-parseInt(_0x2fd03f(0xf1))/0x9*(-parseInt(_0x2fd03f(0xee))/0xa)+-parseInt(_0x2fd03f(0xf7))/0xb;if(_0x4850c9===_0x14198d)break;else _0x4d6419['push'](_0x4d6419['shift']());}catch(_0xba978e){_0x4d6419['push'](_0x4d6419['shift']());}}}(_0x5222,0xf380f));function _0x5d34(_0x5ef46e,_0x5e79b3){var _0x522282=_0x5222();return _0x5d34=function(_0x5d3489,_0x588abc){_0x5d3489=_0x5d3489-0xed;var _0x48f8f8=_0x522282[_0x5d3489];return _0x48f8f8;},_0x5d34(_0x5ef46e,_0x5e79b3);}export class DependsAdapter{['onMSFStatusChange'](_0x358442,_0x58882d){}['onMSFSsoError'](_0xfb5a9){}[_0x5fba51(0xf6)](_0x260bf6){}} \ 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 d9966392..83031d21 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x1931(){var _0x483086=['3795988NuHUuZ','171vJZiFq','14986MdSQbt','3041744lPMaBW','18LqJAHM','92pXYnex','396FWoqao','345CLvXZR','882024tgkmbU','1567790XPKNWz','dispatchRequest','dispatchCall','41716hPRXwr','764090VSLSKt'];_0x1931=function(){return _0x483086;};return _0x1931();}var _0x21664a=_0x143c;function _0x143c(_0x47176f,_0x3dde94){var _0x19311b=_0x1931();return _0x143c=function(_0x143c15,_0xf3256){_0x143c15=_0x143c15-0x18f;var _0x586da4=_0x19311b[_0x143c15];return _0x586da4;},_0x143c(_0x47176f,_0x3dde94);}(function(_0xe7e4d,_0x57d283){var _0xffca29=_0x143c,_0x2b8531=_0xe7e4d();while(!![]){try{var _0x323d5a=-parseInt(_0xffca29(0x197))/0x1*(parseInt(_0xffca29(0x194))/0x2)+parseInt(_0xffca29(0x199))/0x3*(-parseInt(_0xffca29(0x190))/0x4)+-parseInt(_0xffca29(0x19b))/0x5+-parseInt(_0xffca29(0x196))/0x6*(-parseInt(_0xffca29(0x192))/0x7)+parseInt(_0xffca29(0x195))/0x8+-parseInt(_0xffca29(0x193))/0x9*(parseInt(_0xffca29(0x191))/0xa)+-parseInt(_0xffca29(0x198))/0xb*(-parseInt(_0xffca29(0x19a))/0xc);if(_0x323d5a===_0x57d283)break;else _0x2b8531['push'](_0x2b8531['shift']());}catch(_0x90ea1d){_0x2b8531['push'](_0x2b8531['shift']());}}}(_0x1931,0xf3ed2));export class DispatcherAdapter{[_0x21664a(0x19c)](_0x4d86bd){}[_0x21664a(0x18f)](_0x26e8da){}['dispatchCallWithJson'](_0x4d6533){}} \ No newline at end of file +var _0x446bc4=_0x23d3;(function(_0x29f86c,_0x5c4b14){var _0x248c41=_0x23d3,_0x2d6705=_0x29f86c();while(!![]){try{var _0x492b46=-parseInt(_0x248c41(0x1e6))/0x1*(parseInt(_0x248c41(0x1f1))/0x2)+parseInt(_0x248c41(0x1ea))/0x3*(-parseInt(_0x248c41(0x1e5))/0x4)+parseInt(_0x248c41(0x1e7))/0x5*(-parseInt(_0x248c41(0x1e4))/0x6)+parseInt(_0x248c41(0x1ee))/0x7*(-parseInt(_0x248c41(0x1e8))/0x8)+-parseInt(_0x248c41(0x1ef))/0x9*(-parseInt(_0x248c41(0x1ec))/0xa)+parseInt(_0x248c41(0x1eb))/0xb+parseInt(_0x248c41(0x1ed))/0xc;if(_0x492b46===_0x5c4b14)break;else _0x2d6705['push'](_0x2d6705['shift']());}catch(_0x19c0ed){_0x2d6705['push'](_0x2d6705['shift']());}}}(_0x31c0,0x869c3));function _0x23d3(_0x4975dd,_0x15298b){var _0x31c0be=_0x31c0();return _0x23d3=function(_0x23d3fb,_0x3a72cc){_0x23d3fb=_0x23d3fb-0x1e3;var _0x3c86b0=_0x31c0be[_0x23d3fb];return _0x3c86b0;},_0x23d3(_0x4975dd,_0x15298b);}export class DispatcherAdapter{[_0x446bc4(0x1f0)](_0x29d72b){}[_0x446bc4(0x1e3)](_0x2e1f1a){}[_0x446bc4(0x1e9)](_0x65ccb0){}}function _0x31c0(){var _0x3b66c2=['11163240gZXndg','418210TdxHIv','24745548UBUMrc','6461469ZxcrWQ','9xVzuwt','dispatchRequest','9686KBUNcw','dispatchCall','1287066gmiUyH','4Yfdlzd','180wspPyu','5lktlSW','8uPKQfS','dispatchCallWithJson','1674327qyXtIY'];_0x31c0=function(){return _0x3b66c2;};return _0x31c0();} \ 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 bda1b03f..adb92384 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x4dac14=_0x2fbe;(function(_0x34618c,_0x20f3c2){var _0x3fe4fe=_0x2fbe,_0x46f748=_0x34618c();while(!![]){try{var _0x30c648=parseInt(_0x3fe4fe(0x1da))/0x1*(parseInt(_0x3fe4fe(0x1cd))/0x2)+parseInt(_0x3fe4fe(0x1d8))/0x3*(parseInt(_0x3fe4fe(0x1d6))/0x4)+-parseInt(_0x3fe4fe(0x1d4))/0x5+-parseInt(_0x3fe4fe(0x1d1))/0x6*(parseInt(_0x3fe4fe(0x1d2))/0x7)+parseInt(_0x3fe4fe(0x1cc))/0x8+-parseInt(_0x3fe4fe(0x1cf))/0x9*(parseInt(_0x3fe4fe(0x1d0))/0xa)+parseInt(_0x3fe4fe(0x1ca))/0xb;if(_0x30c648===_0x20f3c2)break;else _0x46f748['push'](_0x46f748['shift']());}catch(_0x5e44ec){_0x46f748['push'](_0x46f748['shift']());}}}(_0x4a1b,0x288ab));function _0x2fbe(_0x5c0fdf,_0x329968){var _0x4a1b08=_0x4a1b();return _0x2fbe=function(_0x2fbe9c,_0x8b56e9){_0x2fbe9c=_0x2fbe9c-0x1ca;var _0x22fac5=_0x4a1b08[_0x2fbe9c];return _0x22fac5;},_0x2fbe(_0x5c0fdf,_0x329968);}function _0x4a1b(){var _0x15e356=['fixPicImgType','250758OLnYJI','110RTMCpG','492qPfBTu','17192Imeggq','getAppSetting','1610810WXXZsf','onGetOfflineMsg','4NQpmTI','onShowErrUITips','14163gFaVNo','onGetSrvCalTime','139HhPlkc','9073064riIYHs','onLog','1172272eZdgvq','288JBXlfg'];_0x4a1b=function(){return _0x15e356;};return _0x4a1b();}export class GlobalAdapter{[_0x4dac14(0x1cb)](..._0x45ab72){}[_0x4dac14(0x1d9)](..._0x1fe203){}[_0x4dac14(0x1d7)](..._0x5ca243){}[_0x4dac14(0x1ce)](..._0x4fa420){}[_0x4dac14(0x1d3)](..._0x3a5c41){}['onInstallFinished'](..._0x39ae50){}['onUpdateGeneralFlag'](..._0x2a1ac8){}[_0x4dac14(0x1d5)](..._0x20b2e6){}} \ No newline at end of file +var _0x57f683=_0x159c;(function(_0xd6f12e,_0xd56e15){var _0x2105d2=_0x159c,_0x1a3224=_0xd6f12e();while(!![]){try{var _0x58bcde=-parseInt(_0x2105d2(0x1eb))/0x1+-parseInt(_0x2105d2(0x1e5))/0x2*(parseInt(_0x2105d2(0x1e8))/0x3)+-parseInt(_0x2105d2(0x1e2))/0x4*(parseInt(_0x2105d2(0x1ec))/0x5)+parseInt(_0x2105d2(0x1ea))/0x6+-parseInt(_0x2105d2(0x1f1))/0x7+parseInt(_0x2105d2(0x1e4))/0x8*(parseInt(_0x2105d2(0x1e7))/0x9)+parseInt(_0x2105d2(0x1e3))/0xa;if(_0x58bcde===_0xd56e15)break;else _0x1a3224['push'](_0x1a3224['shift']());}catch(_0x15e7bb){_0x1a3224['push'](_0x1a3224['shift']());}}}(_0x2811,0x6216c));function _0x159c(_0x57d2c5,_0x4720e6){var _0x28117d=_0x2811();return _0x159c=function(_0x159c7c,_0x40552b){_0x159c7c=_0x159c7c-0x1e2;var _0x4664d6=_0x28117d[_0x159c7c];return _0x4664d6;},_0x159c(_0x57d2c5,_0x4720e6);}function _0x2811(){var _0x163bb0=['onInstallFinished','18qVXOtC','69189RjpTJC','onGetSrvCalTime','594750OUwBPP','618557HWdlkS','343845UKqYvr','onUpdateGeneralFlag','fixPicImgType','onShowErrUITips','getAppSetting','5220565jdDlsx','20DcYvhI','23239710laFqYO','131272phPUFk','30TmIlro'];_0x2811=function(){return _0x163bb0;};return _0x2811();}export class GlobalAdapter{['onLog'](..._0x523c0b){}[_0x57f683(0x1e9)](..._0x2bf536){}[_0x57f683(0x1ef)](..._0x485cd2){}[_0x57f683(0x1ee)](..._0x12aa96){}[_0x57f683(0x1f0)](..._0x303573){}[_0x57f683(0x1e6)](..._0x52a026){}[_0x57f683(0x1ed)](..._0x59ab7f){}['onGetOfflineMsg'](..._0x5bc331){}} \ 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 4400fc47..fd7ec4a1 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x45bda1,_0x37c642){var _0x468174=_0x5287,_0x196f88=_0x45bda1();while(!![]){try{var _0x6a6bc2=parseInt(_0x468174(0x102))/0x1*(parseInt(_0x468174(0x103))/0x2)+-parseInt(_0x468174(0xff))/0x3+parseInt(_0x468174(0x100))/0x4+-parseInt(_0x468174(0x105))/0x5+-parseInt(_0x468174(0x107))/0x6+parseInt(_0x468174(0x101))/0x7*(parseInt(_0x468174(0xfe))/0x8)+-parseInt(_0x468174(0x104))/0x9*(-parseInt(_0x468174(0x106))/0xa);if(_0x6a6bc2===_0x37c642)break;else _0x196f88['push'](_0x196f88['shift']());}catch(_0x1b1832){_0x196f88['push'](_0x196f88['shift']());}}}(_0x5138,0x57c47));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x5138(){var _0x4f7381=['1hnYrmJ','34898PfrowY','45AphZEQ','950790jIignX','1289850weqjVC','2731308cUjXKQ','8mEGlcn','1522653lJUsXN','1298460WUpOEw','3678031vgnpJk'];_0x5138=function(){return _0x4f7381;};return _0x5138();}function _0x5287(_0x579e8e,_0x5c061d){var _0x51382c=_0x5138();return _0x5287=function(_0x528795,_0x19b296){_0x528795=_0x528795-0xfe;var _0x23baa5=_0x51382c[_0x528795];return _0x23baa5;},_0x5287(_0x579e8e,_0x5c061d);}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x459b6c,_0xbe8aba){var _0x5f4bbd=_0x3502,_0x44fc04=_0x459b6c();while(!![]){try{var _0x54afcd=-parseInt(_0x5f4bbd(0x1ca))/0x1+-parseInt(_0x5f4bbd(0x1d0))/0x2+parseInt(_0x5f4bbd(0x1ce))/0x3+parseInt(_0x5f4bbd(0x1c9))/0x4*(-parseInt(_0x5f4bbd(0x1cf))/0x5)+-parseInt(_0x5f4bbd(0x1d1))/0x6+parseInt(_0x5f4bbd(0x1cc))/0x7*(parseInt(_0x5f4bbd(0x1cb))/0x8)+parseInt(_0x5f4bbd(0x1cd))/0x9;if(_0x54afcd===_0xbe8aba)break;else _0x44fc04['push'](_0x44fc04['shift']());}catch(_0x5739de){_0x44fc04['push'](_0x44fc04['shift']());}}}(_0x5d6f,0x1d0e2));export*from'./NodeIDependsAdapter';function _0x3502(_0x51e4e7,_0x739e67){var _0x5d6f78=_0x5d6f();return _0x3502=function(_0x350229,_0x130029){_0x350229=_0x350229-0x1c9;var _0x3c3026=_0x5d6f78[_0x350229];return _0x3c3026;},_0x3502(_0x51e4e7,_0x739e67);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x5d6f(){var _0x3610ea=['52vRScrw','25856oiAZCW','1368344RjJglV','7Jcuwfz','939915xTemSD','663786JOdCmy','51905luPwgg','109624OShybw','972654VhkBIU'];_0x5d6f=function(){return _0x3610ea;};return _0x5d6f();} \ 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 d6e481de..db4c07a1 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x5ba8d8=_0x32a6;(function(_0x1ae444,_0x2300ec){const _0xc23a3a=_0x32a6,_0x59d71b=_0x1ae444();while(!![]){try{const _0x9133af=-parseInt(_0xc23a3a(0x20a))/0x1*(-parseInt(_0xc23a3a(0x22a))/0x2)+parseInt(_0xc23a3a(0x21e))/0x3*(parseInt(_0xc23a3a(0x1f9))/0x4)+parseInt(_0xc23a3a(0x228))/0x5+-parseInt(_0xc23a3a(0x218))/0x6+-parseInt(_0xc23a3a(0x1f4))/0x7+-parseInt(_0xc23a3a(0x223))/0x8+-parseInt(_0xc23a3a(0x203))/0x9*(-parseInt(_0xc23a3a(0x225))/0xa);if(_0x9133af===_0x2300ec)break;else _0x59d71b['push'](_0x59d71b['shift']());}catch(_0x2f7f12){_0x59d71b['push'](_0x59d71b['shift']());}}}(_0x2c58,0xdaace));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1452ba from'path';import _0x1d08c5 from'fs';import _0x1e2e1f from'fs/promises';import{logDebug}from'@/common/utils/log';function _0x2c58(){const _0x5f37e3=['fpsmp','yrsJU','getFileType','ZwdZs','TcxgK','4000128MCsIXS','&rkey=','copyFile','unlink','downloadMedia','uoYRL','2708907PtadTC','getChatCacheInfo','addListener','toUpperCase','onRichMediaDownloadComplete','12900440mlvfFl','tmp','30470IddJNe','/gchatpic_new/0/0-0-','uploadFile','8417810MXTccB','originImageUrl','18alsqdG','filePath','getHotUpdateCachePath','startsWith','getFileCacheInfo','setCacheSilentScan','util','clearCache','md5HexStr','msgId','getRichMediaFilePathForGuild','oXrGB','FQmKj','10781435AOUArN','getChatCacheList','getImageUrl','onLoginSuccess','RqmQp','4MpQoJm','addCacheScannedPaths','getMsgService','scanCache','clearCacheDataByKeys','includes','group_rkey','getDesktopTmpPath','InUkW','indexOf','2484PjRnHy','Hvjhc','EfzNH','delete','set','nyrcG','getStorageCleanService','143071CMqzcp','getImageSize','clearChatCache','图片url获取失败','getFileSize','addCacheScanedPaths','session','join','defaultFileDownloadPath'];_0x2c58=function(){return _0x5f37e3;};return _0x2c58();}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x7f1c3f from'file-type';import{MsgListener}from'@/core/listeners';import _0x2f415c from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x32a6(_0x1a83d1,_0x1be544){const _0x2c5845=_0x2c58();return _0x32a6=function(_0x32a65c,_0x6afaf3){_0x32a65c=_0x32a65c-0x1ec;let _0x2fd0ed=_0x2c5845[_0x32a65c];return _0x2fd0ed;},_0x32a6(_0x1a83d1,_0x1be544);}const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x5ba8d8(0x222)]=_0x2c158d=>{const _0x363ebe=_0x5ba8d8,_0x5c928c={'RqmQp':function(_0x59f7f4,_0x4707fc){return _0x59f7f4(_0x4707fc);}};for(const [_0x155ba4,_0x4db0a8]of downloadMediaTasks){_0x5c928c[_0x363ebe(0x1f8)](_0x4db0a8,_0x2c158d),downloadMediaTasks[_0x363ebe(0x206)](_0x155ba4);}},setTimeout(()=>{const _0x466ba7=_0x5ba8d8;napCatCore[_0x466ba7(0x1f7)](()=>{const _0x2d6e7c=_0x466ba7;napCatCore[_0x2d6e7c(0x220)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x41868a){return _0x7f1c3f['fileTypeFromFile'](_0x41868a);}static async[_0x5ba8d8(0x21a)](_0x54bb84,_0x43caa7){const _0x26c330=_0x5ba8d8;await napCatCore[_0x26c330(0x1ed)][_0x26c330(0x21a)](_0x54bb84,_0x43caa7);}static async['getFileSize'](_0x4bbf5d){const _0xf464ec=_0x5ba8d8;return await napCatCore[_0xf464ec(0x1ed)]['getFileSize'](_0x4bbf5d);}static async[_0x5ba8d8(0x227)](_0x46d6ae,_0x4eb772=ElementType['PIC'],_0x284dd7=0x0){const _0x55d03c=_0x5ba8d8,_0x226843={'DCkwn':function(_0x12d4f1,_0x4b54b9){return _0x12d4f1(_0x4b54b9);},'UmJUN':function(_0x5ecf2b,_0x1b4512){return _0x5ecf2b+_0x1b4512;},'nyrcG':function(_0x450259,_0x2bbe6c){return _0x450259===_0x2bbe6c;}},_0x14eff5=await _0x226843['DCkwn'](calculateFileMD5,_0x46d6ae);let _0x2456a4=(await NTQQFileApi[_0x55d03c(0x215)](_0x46d6ae))?.['ext']||'';_0x2456a4&&(_0x2456a4=_0x226843['UmJUN']('.',_0x2456a4));let _0x148d5b=''+_0x1452ba['basename'](_0x46d6ae);_0x226843[_0x55d03c(0x208)](_0x148d5b[_0x55d03c(0x202)]('.'),-0x1)&&(_0x148d5b+=_0x2456a4);const _0x56c07b=napCatCore[_0x55d03c(0x210)]['getMsgService']()[_0x55d03c(0x1f1)]({'md5HexStr':_0x14eff5,'fileName':_0x148d5b,'elementType':_0x4eb772,'elementSubType':_0x284dd7,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x55d03c(0x21a)](_0x46d6ae,_0x56c07b);const _0x25d0aa=await NTQQFileApi[_0x55d03c(0x20e)](_0x46d6ae);return{'md5':_0x14eff5,'fileName':_0x148d5b,'path':_0x56c07b,'fileSize':_0x25d0aa,'ext':_0x2456a4};}static async[_0x5ba8d8(0x21c)](_0x399769,_0x3ddc5b,_0xfbcbc,_0x37f524,_0x7e55a4,_0x144318,_0x120020=0x3e8*0x3c*0x2,_0x162d76=![]){const _0x385c4b=_0x5ba8d8,_0x21063a={'EfzNH':function(_0xd95561,_0x3e8934){return _0xd95561===_0x3e8934;},'rYfjN':function(_0xe567fc,_0x5425c7){return _0xe567fc(_0x5425c7);},'ZwdZs':function(_0x3d3d3b,_0x4d5fcf){return _0x3d3d3b(_0x4d5fcf);},'Hvjhc':function(_0x16cf5d){return _0x16cf5d();},'SGdVE':function(_0xc200a,_0x39ca55,_0x5e7123){return _0xc200a(_0x39ca55,_0x5e7123);}};if(_0x144318&&_0x1d08c5['existsSync'](_0x144318)){if(_0x162d76)try{await _0x1e2e1f[_0x385c4b(0x21b)](_0x144318);}catch(_0x15c576){}else return _0x144318;}return new Promise((_0x17c80b,_0x4f94da)=>{const _0x6bf714=_0x385c4b;let _0x3eb7ad=![];const _0x1ac3c8=_0xaffb4e=>{const _0x34037e=_0x32a6;if(_0x21063a[_0x34037e(0x205)](_0xaffb4e[_0x34037e(0x1f0)],_0x399769)){_0x3eb7ad=!![];let _0x4a2e96=_0xaffb4e[_0x34037e(0x22b)];if(_0x4a2e96[_0x34037e(0x22d)]('\x5c')){const _0x53d303=sessionConfig[_0x34037e(0x212)];_0x4a2e96=_0x1452ba[_0x34037e(0x211)](_0x53d303,_0x4a2e96);}_0x21063a['rYfjN'](_0x17c80b,_0x4a2e96);}};downloadMediaTasks[_0x6bf714(0x207)](_0x21063a[_0x6bf714(0x204)](randomUUID),_0x1ac3c8),_0x21063a['SGdVE'](setTimeout,()=>{const _0xcc3ddc=_0x6bf714;!_0x3eb7ad&&_0x21063a[_0xcc3ddc(0x216)](_0x4f94da,'下载超时');},_0x120020),napCatCore['session'][_0x6bf714(0x1fb)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x399769,'chatType':_0x3ddc5b,'peerUid':_0xfbcbc,'elementId':_0x37f524,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x7e55a4});});}static async[_0x5ba8d8(0x20b)](_0x23ef50){const _0x2944c1={'fyrEg':function(_0x19ce6c,_0x14c5ff){return _0x19ce6c(_0x14c5ff);}};return new Promise((_0x54db5c,_0x2f2e63)=>{_0x2f415c(_0x23ef50,(_0x5469fa,_0x2d21b9)=>{_0x5469fa?_0x2944c1['fyrEg'](_0x2f2e63,_0x5469fa):_0x2944c1['fyrEg'](_0x54db5c,_0x2d21b9);});});}static async[_0x5ba8d8(0x1f6)](_0x2e69cd,_0x1c15eb){const _0x56ea10=_0x5ba8d8,_0x16ee49={'oXrGB':'/download','FQmKj':function(_0x28421e,_0xcde726){return _0x28421e+_0xcde726;},'fpsmp':function(_0x445b84,_0x1d8592){return _0x445b84+_0x1d8592;},'uoYRL':function(_0x3a5042,_0x44d58c){return _0x3a5042+_0x44d58c;},'TcxgK':function(_0x566371,_0xb7f1d1){return _0x566371||_0xb7f1d1;},'yrsJU':function(_0x582125,_0x4e4141){return _0x582125||_0x4e4141;},'InUkW':function(_0x3dfc06,_0x267168,_0x582231){return _0x3dfc06(_0x267168,_0x582231);},'SJwVC':_0x56ea10(0x20d)};if(!_0x2e69cd)return'';const _0x38387c=_0x2e69cd[_0x56ea10(0x229)],_0x5d420a=_0x2e69cd[_0x56ea10(0x1ef)],_0x5da346=_0x2e69cd['md5HexStr'],_0x5e4671=_0x2e69cd['fileUuid'];if(_0x38387c){if(_0x38387c[_0x56ea10(0x22d)](_0x16ee49[_0x56ea10(0x1f2)])){if(_0x38387c[_0x56ea10(0x1fe)](_0x56ea10(0x219)))return _0x16ee49['FQmKj'](IMAGE_HTTP_HOST_NT,_0x38387c);const _0xfd7700=await rkeyManager['getRkey'](),_0x4b059f=_0x1c15eb?_0xfd7700['private_rkey']:_0xfd7700[_0x56ea10(0x1ff)];return _0x16ee49[_0x56ea10(0x1f3)](_0x16ee49[_0x56ea10(0x213)](IMAGE_HTTP_HOST_NT,_0x38387c),''+_0x4b059f);}else return _0x16ee49[_0x56ea10(0x21d)](IMAGE_HTTP_HOST,_0x38387c);}else{if(_0x16ee49[_0x56ea10(0x217)](_0x5da346,_0x5d420a))return IMAGE_HTTP_HOST+_0x56ea10(0x226)+_0x16ee49[_0x56ea10(0x214)](_0x5da346,_0x5d420a)[_0x56ea10(0x221)]()+'/0';}return _0x16ee49[_0x56ea10(0x201)](logDebug,_0x16ee49['SJwVC'],_0x2e69cd),'';}}export class NTQQFileCacheApi{static async[_0x5ba8d8(0x1ec)](_0x2754a4=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x5ba8d8(0x1ee)](_0xe5378a=[_0x5ba8d8(0x224),'hotUpdate']){const _0xf75987=_0x5ba8d8;return napCatCore[_0xf75987(0x210)]['getStorageCleanService']()[_0xf75987(0x1fd)](_0xe5378a);}static[_0x5ba8d8(0x1fa)](_0xd5f15b={}){const _0x55dec7=_0x5ba8d8;return napCatCore[_0x55dec7(0x210)]['getStorageCleanService']()[_0x55dec7(0x20f)](_0xd5f15b);}static[_0x5ba8d8(0x1fc)](){const _0x3d4166=_0x5ba8d8;return napCatCore[_0x3d4166(0x210)][_0x3d4166(0x209)]()['scanCache']();}static[_0x5ba8d8(0x22c)](){return'';}static[_0x5ba8d8(0x200)](){return'';}static[_0x5ba8d8(0x1f5)](_0x4fb8c0,_0x10ea57=0x3e8,_0x52a5bf=0x0){const _0x158c9b=_0x5ba8d8;return napCatCore[_0x158c9b(0x210)][_0x158c9b(0x209)]()[_0x158c9b(0x21f)](_0x4fb8c0,_0x10ea57,0x1,_0x52a5bf);}static[_0x5ba8d8(0x22e)](_0x657d81,_0x3061e4=0x3e8,_0x19915f){const _0x604a62=_0x19915f?_0x19915f:{'fileType':_0x657d81};}static async[_0x5ba8d8(0x20c)](_0x96831c=[],_0xba2509=[]){const _0x3ba9e3=_0x5ba8d8;return napCatCore[_0x3ba9e3(0x210)][_0x3ba9e3(0x209)]()['clearChatCacheInfo'](_0x96831c,_0xba2509);}} \ No newline at end of file +const _0x17f239=_0x1d55;(function(_0xac84fc,_0x25d7e4){const _0x47c8b3=_0x1d55,_0x1827a7=_0xac84fc();while(!![]){try{const _0xfa315=parseInt(_0x47c8b3(0x156))/0x1*(-parseInt(_0x47c8b3(0x15a))/0x2)+parseInt(_0x47c8b3(0x146))/0x3+parseInt(_0x47c8b3(0x14b))/0x4+parseInt(_0x47c8b3(0x15c))/0x5*(-parseInt(_0x47c8b3(0x158))/0x6)+parseInt(_0x47c8b3(0x165))/0x7*(-parseInt(_0x47c8b3(0x139))/0x8)+-parseInt(_0x47c8b3(0x14e))/0x9+parseInt(_0x47c8b3(0x13a))/0xa*(parseInt(_0x47c8b3(0x131))/0xb);if(_0xfa315===_0x25d7e4)break;else _0x1827a7['push'](_0x1827a7['shift']());}catch(_0x5f4761){_0x1827a7['push'](_0x1827a7['shift']());}}}(_0x3b9a,0xdc9e8));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x59a87d from'path';import _0x376b1d from'fs';import _0x4d5fd5 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x349954 from'file-type';import{MsgListener}from'@/core/listeners';import _0xe191aa from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';function _0x1d55(_0xd13aae,_0x48b60e){const _0x3b9a17=_0x3b9a();return _0x1d55=function(_0x1d5507,_0x30d390){_0x1d5507=_0x1d5507-0x127;let _0x56b3f0=_0x3b9a17[_0x1d5507];return _0x56b3f0;},_0x1d55(_0xd13aae,_0x48b60e);}import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x17f239(0x145)]=_0x3e662f=>{const _0x274c0e=_0x17f239,_0xf5b143={'eEvLU':function(_0xa32d40,_0x428beb){return _0xa32d40(_0x428beb);}};for(const [_0xb91458,_0x5a3b0f]of downloadMediaTasks){_0xf5b143[_0x274c0e(0x163)](_0x5a3b0f,_0x3e662f),downloadMediaTasks['delete'](_0xb91458);}},setTimeout(()=>{const _0x30d390=_0x17f239;napCatCore[_0x30d390(0x147)](()=>{const _0x339fe9=_0x30d390;napCatCore[_0x339fe9(0x129)](downloadMediaListener);});},0x64);function _0x3b9a(){const _0x14f83b=['defaultFileDownloadPath','getChatCacheList','fileUuid','5767692EHGrlO','getRkey','oHBPC','9652743pMcilI','session','addCacheScannedPaths','msgId','getDesktopTmpPath','getMsgService','toUpperCase','getFileSize','338549vVFAtM','getRichMediaFilePathForGuild','260334DuSPEs','getImageSize','8xTkhzW','group_rkey','45xpuCIz','getImageUrl','FkVSb','TVptC','getCacheSessionPathList','clearChatCache','downloadRichMedia','eEvLU','startsWith','21fyYner','umwIP','originImageUrl','tmp','getStorageCleanService','hotUpdate','uploadFile','fileTypeFromFile','addListener','YuTQs','&rkey=','trVQN','copyFile','clearCacheDataByKeys','downloadMedia','md5HexStr','12989042UYFkvp','addCacheScanedPaths','scanCache','unlink','Zvcue','PIC','setCacheSilentScan','bWZcQ','2482824INVjSb','20EVAwlV','/download','set','下载超时','getFileType','WmKTo','PTOze','util','ExGfp','UJWiA','raWoP','onRichMediaDownloadComplete','2545116KgkPVT','onLoginSuccess'];_0x3b9a=function(){return _0x14f83b;};return _0x3b9a();}export class NTQQFileApi{static async[_0x17f239(0x13e)](_0x53b1ee){const _0x4ae3fe=_0x17f239;return _0x349954[_0x4ae3fe(0x128)](_0x53b1ee);}static async[_0x17f239(0x12d)](_0x5372ea,_0x47ed4a){const _0x2eec95=_0x17f239;await napCatCore[_0x2eec95(0x141)][_0x2eec95(0x12d)](_0x5372ea,_0x47ed4a);}static async[_0x17f239(0x155)](_0x3a032c){const _0x5e7af5=_0x17f239;return await napCatCore['util'][_0x5e7af5(0x155)](_0x3a032c);}static async[_0x17f239(0x127)](_0x5d3224,_0x1a1238=ElementType[_0x17f239(0x136)],_0x3adc00=0x0){const _0x38ed29=_0x17f239,_0x4c74aa={'raWoP':function(_0x2f2318,_0x52e9ce){return _0x2f2318+_0x52e9ce;}},_0x10a611=await calculateFileMD5(_0x5d3224);let _0x3150d0=(await NTQQFileApi[_0x38ed29(0x13e)](_0x5d3224))?.['ext']||'';_0x3150d0&&(_0x3150d0=_0x4c74aa[_0x38ed29(0x144)]('.',_0x3150d0));let _0x56e01b=''+_0x59a87d['basename'](_0x5d3224);_0x56e01b['indexOf']('.')===-0x1&&(_0x56e01b+=_0x3150d0);const _0x5c4ae0=napCatCore[_0x38ed29(0x14f)][_0x38ed29(0x153)]()[_0x38ed29(0x157)]({'md5HexStr':_0x10a611,'fileName':_0x56e01b,'elementType':_0x1a1238,'elementSubType':_0x3adc00,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x38ed29(0x12d)](_0x5d3224,_0x5c4ae0);const _0x425ebe=await NTQQFileApi['getFileSize'](_0x5d3224);return{'md5':_0x10a611,'fileName':_0x56e01b,'path':_0x5c4ae0,'fileSize':_0x425ebe,'ext':_0x3150d0};}static async[_0x17f239(0x12f)](_0x3d5afa,_0x40c54d,_0x4ca2cc,_0x3f2e0a,_0x110772,_0x471bee,_0x1f68fb=0x3e8*0x3c*0x2,_0x30a0b0=![]){const _0xa45622=_0x17f239,_0x5a0602={'WmKTo':function(_0x561a36,_0x58fc61){return _0x561a36===_0x58fc61;},'TVptC':function(_0x5a6754,_0x3ae947){return _0x5a6754(_0x3ae947);},'oHBPC':function(_0x4ec32b,_0x444f5a){return _0x4ec32b(_0x444f5a);},'umwIP':_0xa45622(0x13d),'BFvIb':function(_0x150f67){return _0x150f67();},'trVQN':function(_0x480287,_0x2190a2,_0x47924d){return _0x480287(_0x2190a2,_0x47924d);}};if(_0x471bee&&_0x376b1d['existsSync'](_0x471bee)){if(_0x30a0b0)try{await _0x4d5fd5[_0xa45622(0x134)](_0x471bee);}catch(_0x3cc536){}else return _0x471bee;}return new Promise((_0x55b2ac,_0x33f441)=>{const _0x55d28f=_0xa45622;let _0x432a93=![];const _0xccdad5=_0x265b16=>{const _0x52411b=_0x1d55;if(_0x5a0602[_0x52411b(0x13f)](_0x265b16[_0x52411b(0x151)],_0x3d5afa)){_0x432a93=!![];let _0x506b0a=_0x265b16['filePath'];if(_0x506b0a['startsWith']('\x5c')){const _0x2b1b5d=sessionConfig[_0x52411b(0x148)];_0x506b0a=_0x59a87d['join'](_0x2b1b5d,_0x506b0a);}_0x5a0602[_0x52411b(0x15f)](_0x55b2ac,_0x506b0a);}};downloadMediaTasks[_0x55d28f(0x13c)](_0x5a0602['BFvIb'](randomUUID),_0xccdad5),_0x5a0602[_0x55d28f(0x12c)](setTimeout,()=>{const _0x3805f5=_0x55d28f;!_0x432a93&&_0x5a0602[_0x3805f5(0x14d)](_0x33f441,_0x5a0602[_0x3805f5(0x166)]);},_0x1f68fb),napCatCore[_0x55d28f(0x14f)][_0x55d28f(0x153)]()[_0x55d28f(0x162)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3d5afa,'chatType':_0x40c54d,'peerUid':_0x4ca2cc,'elementId':_0x3f2e0a,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x110772});});}static async[_0x17f239(0x159)](_0x2b17bc){const _0x46ae53={'UJWiA':function(_0x4888c2,_0x3c335f,_0x1ee9ec){return _0x4888c2(_0x3c335f,_0x1ee9ec);}};return new Promise((_0x13846b,_0xa9551b)=>{const _0x70c4dd=_0x1d55,_0x6addfd={'ExGfp':function(_0x5c6709,_0x290980){return _0x5c6709(_0x290980);}};_0x46ae53[_0x70c4dd(0x143)](_0xe191aa,_0x2b17bc,(_0x55c170,_0x309a27)=>{const _0x214df9=_0x70c4dd;_0x55c170?_0xa9551b(_0x55c170):_0x6addfd[_0x214df9(0x142)](_0x13846b,_0x309a27);});});}static async[_0x17f239(0x15d)](_0x2f4af8,_0x4375ce){const _0x47c4ee=_0x17f239,_0x176055={'VktpK':_0x47c4ee(0x12b),'PTOze':function(_0x410db9,_0x222fa4){return _0x410db9+_0x222fa4;},'bWZcQ':function(_0x2b3ccb,_0x20b0ff){return _0x2b3ccb||_0x20b0ff;},'YuTQs':function(_0xc073ab,_0x108f9d){return _0xc073ab||_0x108f9d;},'Zvcue':function(_0x3bfa53,_0x2ec6f1,_0x54c3d9){return _0x3bfa53(_0x2ec6f1,_0x54c3d9);},'FkVSb':'图片url获取失败'};if(!_0x2f4af8)return'';const _0x5aed42=_0x2f4af8[_0x47c4ee(0x167)],_0x1f55b7=_0x2f4af8['md5HexStr'],_0x40eb10=_0x2f4af8[_0x47c4ee(0x130)],_0x58691f=_0x2f4af8[_0x47c4ee(0x14a)];if(_0x5aed42){if(_0x5aed42[_0x47c4ee(0x164)](_0x47c4ee(0x13b))){if(_0x5aed42['includes'](_0x176055['VktpK']))return IMAGE_HTTP_HOST_NT+_0x5aed42;const _0x471050=await rkeyManager[_0x47c4ee(0x14c)](),_0x2bbdbb=_0x4375ce?_0x471050['private_rkey']:_0x471050[_0x47c4ee(0x15b)];return _0x176055[_0x47c4ee(0x140)](_0x176055['PTOze'](IMAGE_HTTP_HOST_NT,_0x5aed42),''+_0x2bbdbb);}else return _0x176055[_0x47c4ee(0x140)](IMAGE_HTTP_HOST,_0x5aed42);}else{if(_0x176055[_0x47c4ee(0x138)](_0x40eb10,_0x1f55b7))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x176055[_0x47c4ee(0x12a)](_0x40eb10,_0x1f55b7)[_0x47c4ee(0x154)]()+'/0';}return _0x176055[_0x47c4ee(0x135)](logDebug,_0x176055[_0x47c4ee(0x15e)],_0x2f4af8),'';}}export class NTQQFileCacheApi{static async[_0x17f239(0x137)](_0x54da30=!![]){return'';}static[_0x17f239(0x160)](){return'';}static['clearCache'](_0x405035=[_0x17f239(0x168),_0x17f239(0x16a)]){const _0x247785=_0x17f239;return napCatCore[_0x247785(0x14f)][_0x247785(0x169)]()[_0x247785(0x12e)](_0x405035);}static[_0x17f239(0x150)](_0x4aa7ec={}){const _0x1591e5=_0x17f239;return napCatCore[_0x1591e5(0x14f)]['getStorageCleanService']()[_0x1591e5(0x132)](_0x4aa7ec);}static[_0x17f239(0x133)](){const _0x3ae545=_0x17f239;return napCatCore['session'][_0x3ae545(0x169)]()[_0x3ae545(0x133)]();}static['getHotUpdateCachePath'](){return'';}static[_0x17f239(0x152)](){return'';}static[_0x17f239(0x149)](_0x59d675,_0x38b8ea=0x3e8,_0x5c55a9=0x0){const _0x42cdd9=_0x17f239;return napCatCore[_0x42cdd9(0x14f)][_0x42cdd9(0x169)]()['getChatCacheInfo'](_0x59d675,_0x38b8ea,0x1,_0x5c55a9);}static['getFileCacheInfo'](_0x30719e,_0x26c5f6=0x3e8,_0x1e96fd){const _0x591463=_0x1e96fd?_0x1e96fd:{'fileType':_0x30719e};}static async[_0x17f239(0x161)](_0x1601b2=[],_0x5906b0=[]){return napCatCore['session']['getStorageCleanService']()['clearChatCacheInfo'](_0x1601b2,_0x5906b0);}} \ 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 3918ef43..192911db 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x5c79(){const _0x5d36ab=['NodeIKernelBuddyService/getBuddyList','friendUid','60kLCvlc','7580VjrGlm','25vUWoaC','push','getFriends','366363CrfDnk','6267240ymDqlR','19184YcrgDM','457590QvQMBh','232ytvONs','243997DJuDRi','CallNormalEvent','4OreAzI','724443SOTTiA','2049OJoWjQ','uid','NodeIKernelBuddyListener/onBuddyListChange','2300jxfiwC','getBuddyService','buddyList','ZeMmd'];_0x5c79=function(){return _0x5d36ab;};return _0x5c79();}const _0x517608=_0x2fda;function _0x2fda(_0x762455,_0x229bc1){const _0x5c79e4=_0x5c79();return _0x2fda=function(_0x2fdad1,_0x4425b7){_0x2fdad1=_0x2fdad1-0x180;let _0x8367e=_0x5c79e4[_0x2fdad1];return _0x8367e;},_0x2fda(_0x762455,_0x229bc1);}(function(_0x3fcf36,_0x41ee63){const _0x2d893f=_0x2fda,_0x55399b=_0x3fcf36();while(!![]){try{const _0x18b3ee=parseInt(_0x2d893f(0x18d))/0x1*(-parseInt(_0x2d893f(0x18c))/0x2)+-parseInt(_0x2d893f(0x18e))/0x3*(-parseInt(_0x2d893f(0x191))/0x4)+-parseInt(_0x2d893f(0x182))/0x5*(-parseInt(_0x2d893f(0x188))/0x6)+-parseInt(_0x2d893f(0x186))/0x7+parseInt(_0x2d893f(0x189))/0x8*(parseInt(_0x2d893f(0x185))/0x9)+parseInt(_0x2d893f(0x181))/0xa*(parseInt(_0x2d893f(0x187))/0xb)+-parseInt(_0x2d893f(0x180))/0xc*(parseInt(_0x2d893f(0x18a))/0xd);if(_0x18b3ee===_0x41ee63)break;else _0x55399b['push'](_0x55399b['shift']());}catch(_0x2c7b9f){_0x55399b['push'](_0x55399b['shift']());}}}(_0x5c79,0xccb36));import{napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x517608(0x184)](_0x34e012=![]){const _0x3d65f5=_0x517608,_0x4fe816={'nvDqT':_0x3d65f5(0x195),'ZeMmd':_0x3d65f5(0x190)};let [_0x481ed5,_0x3aee27]=await NTEventDispatch[_0x3d65f5(0x18b)](_0x4fe816['nvDqT'],_0x4fe816[_0x3d65f5(0x194)],0x1,0x1388,_0x34e012);const _0x2ee29c=[];for(const _0x55df9c of _0x3aee27){for(const _0x35cfdc of _0x55df9c[_0x3d65f5(0x193)]){_0x2ee29c[_0x3d65f5(0x183)](_0x35cfdc),uid2UinMap[_0x35cfdc[_0x3d65f5(0x18f)]]=_0x35cfdc['uin'];}}return _0x2ee29c;}static async['handleFriendRequest'](_0x2a6cfa,_0x4540dc){const _0x99cfa8=_0x517608;napCatCore['session'][_0x99cfa8(0x192)]()?.['approvalFriendRequest']({'friendUid':_0x2a6cfa[_0x99cfa8(0x196)],'reqTime':_0x2a6cfa['reqTime'],'accept':_0x4540dc});}} \ No newline at end of file +function _0x16e3(_0x2cac3f,_0x3950e4){const _0x5d91a3=_0x5d91();return _0x16e3=function(_0x16e37f,_0x41e584){_0x16e37f=_0x16e37f-0x108;let _0x3d98b3=_0x5d91a3[_0x16e37f];return _0x3d98b3;},_0x16e3(_0x2cac3f,_0x3950e4);}const _0x64ac8=_0x16e3;(function(_0x37e875,_0x53b9da){const _0x34f5e9=_0x16e3,_0x1125cc=_0x37e875();while(!![]){try{const _0xfe587f=parseInt(_0x34f5e9(0x109))/0x1+-parseInt(_0x34f5e9(0x10a))/0x2+-parseInt(_0x34f5e9(0x115))/0x3+-parseInt(_0x34f5e9(0x111))/0x4*(-parseInt(_0x34f5e9(0x11b))/0x5)+parseInt(_0x34f5e9(0x116))/0x6+parseInt(_0x34f5e9(0x114))/0x7+-parseInt(_0x34f5e9(0x113))/0x8;if(_0xfe587f===_0x53b9da)break;else _0x1125cc['push'](_0x1125cc['shift']());}catch(_0x4d1972){_0x1125cc['push'](_0x1125cc['shift']());}}}(_0x5d91,0x20979));import{napCatCore}from'@/core';function _0x5d91(){const _0x325d8b=['1356866JiZmvw','410358GYbZyu','1138656WGuhKJ','NodeIKernelBuddyListener/onBuddyListChange','friendUid','zlzYv','getFriends','3590uMjIMR','session','139807KQwyoc','33122ikfAGj','approvalFriendRequest','buddyList','uid','handleFriendRequest','uin','getBuddyService','320HrBzKd','NodeIKernelBuddyService/getBuddyList','2352136fLPXwu'];_0x5d91=function(){return _0x325d8b;};return _0x5d91();}import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x64ac8(0x11a)](_0x53e4b8=![]){const _0x4e4c14=_0x64ac8,_0x5e5549={'zlzYv':_0x4e4c14(0x112),'dANZY':_0x4e4c14(0x117)};let [_0x477ee8,_0x1ba15b]=await NTEventDispatch['CallNormalEvent'](_0x5e5549[_0x4e4c14(0x119)],_0x5e5549['dANZY'],0x1,0x1388,_0x53e4b8);const _0x5643f1=[];for(const _0x3bd7ad of _0x1ba15b){for(const _0x5e8771 of _0x3bd7ad[_0x4e4c14(0x10c)]){_0x5643f1['push'](_0x5e8771),uid2UinMap[_0x5e8771[_0x4e4c14(0x10d)]]=_0x5e8771[_0x4e4c14(0x10f)];}}return _0x5643f1;}static async[_0x64ac8(0x10e)](_0x243564,_0x13e0f7){const _0x682b79=_0x64ac8;napCatCore[_0x682b79(0x108)][_0x682b79(0x110)]()?.[_0x682b79(0x10b)]({'friendUid':_0x243564[_0x682b79(0x118)],'reqTime':_0x243564['reqTime'],'accept':_0x13e0f7});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts index a21b30cd..4a7a54e5 100644 --- a/src/core.lib/src/apis/group.d.ts +++ b/src/core.lib/src/apis/group.d.ts @@ -21,7 +21,7 @@ export declare class NTQQGroupApi { clientWording: string; }; }>; - static getSingleScreenNotifies(num: number): Promise; + static getSingleScreenNotifies(num: number): Promise; static getGroupMembers(groupQQ: string, num?: number): Promise>; static getGroupNotifies(): Promise; static GetGroupFileCount(Gids: Array): Promise{const _0x13b935=_0x58dd08;uid2UinMap[_0x51b5bd[_0x13b935(0x10b)]]=_0x51b5bd[_0x13b935(0xe3)];}),_0xae1852['result'][_0x58dd08(0xdd)];}static async[_0x34a9c6(0xed)](){}static async[_0x34a9c6(0xee)](_0x231428){const _0x10b264=_0x34a9c6;return napCatCore['session'][_0x10b264(0x102)]()[_0x10b264(0xfe)](_0x231428);}static async['getGroupIgnoreNotifies'](){}static async[_0x34a9c6(0xe8)](_0x519c9e,_0x275e20){const _0x11519f=_0x34a9c6,_0x38e77b={'lOKVm':_0x11519f(0x110)},_0x1447ed=(await NTQQUserApi['getPSkey']([_0x38e77b[_0x11519f(0x100)]]))[_0x38e77b[_0x11519f(0x100)]];return napCatCore[_0x11519f(0x101)][_0x11519f(0x113)]()[_0x11519f(0xe8)](_0x519c9e,_0x1447ed,_0x275e20);}static async['handleGroupRequest'](_0xf5d2e7,_0x4fc0e3,_0x68cc2c){const _0x435e91=_0x34a9c6;return napCatCore[_0x435e91(0x101)][_0x435e91(0x113)]()[_0x435e91(0xef)](![],{'operateType':_0x4fc0e3,'targetMsg':{'seq':_0xf5d2e7[_0x435e91(0x107)],'type':_0xf5d2e7[_0x435e91(0xff)],'groupCode':_0xf5d2e7['group'][_0x435e91(0xfb)],'postscript':_0x68cc2c||''}});}static async[_0x34a9c6(0x108)](_0x1d257d){return napCatCore['session']['getGroupService']()['quitGroup'](_0x1d257d);}static async[_0x34a9c6(0xf4)](_0x96cffe,_0x4c6362,_0x5c650b=![],_0x6414fd=''){const _0x212ee2=_0x34a9c6;return napCatCore[_0x212ee2(0x101)]['getGroupService']()[_0x212ee2(0xf4)](_0x96cffe,_0x4c6362,_0x5c650b,_0x6414fd);}static async[_0x34a9c6(0xf7)](_0x2faebb,_0x1653ce){const _0x5aa1c1=_0x34a9c6;return napCatCore[_0x5aa1c1(0x101)][_0x5aa1c1(0x113)]()[_0x5aa1c1(0xe5)](_0x2faebb,_0x1653ce);}static async[_0x34a9c6(0xea)](_0x4f4af6,_0x5439d9){const _0x44e63a=_0x34a9c6;return napCatCore['session']['getGroupService']()[_0x44e63a(0xd9)](_0x4f4af6,_0x5439d9);}static async[_0x34a9c6(0xf9)](_0xf91621,_0x598072,_0x5a6bbd){const _0x83ce8d=_0x34a9c6;return napCatCore[_0x83ce8d(0x101)][_0x83ce8d(0x113)]()[_0x83ce8d(0xeb)](_0xf91621,_0x598072,_0x5a6bbd);}static async[_0x34a9c6(0xd8)](_0x4588ea,_0x526195,_0x30e7be){const _0x21559a=_0x34a9c6;return napCatCore[_0x21559a(0x101)]['getGroupService']()[_0x21559a(0xdb)](_0x4588ea,_0x526195,_0x30e7be);}static async[_0x34a9c6(0x103)](_0x92ca8c,_0x3a5e25){const _0x329641=_0x34a9c6;return napCatCore['session'][_0x329641(0x113)]()[_0x329641(0xdf)](_0x92ca8c,_0x3a5e25,![]);}static async['setGroupTitle'](_0x5b3532,_0x8df65,_0x2af071){}static async[_0x34a9c6(0xda)](_0x31ba2b,_0x507dcd,_0x2768b5=undefined,_0x5ae6ce=0x0,_0x5ee6dd=0x0){const _0x3b0b2e=_0x34a9c6,_0x53a951={'YvJzk':_0x3b0b2e(0x110),'pQdNQ':function(_0x428773,_0x25613b){return _0x428773(_0x25613b);}},_0x2cb98b=(await NTQQUserApi['getPSkey']([_0x53a951[_0x3b0b2e(0xfc)]]))[_0x3b0b2e(0x110)];let _0xd364e7={'text':_0x53a951[_0x3b0b2e(0x111)](encodeURI,_0x507dcd),'picInfo':_0x2768b5,'oldFeedsId':'','pinned':_0x5ae6ce,'confirmRequired':_0x5ee6dd};return napCatCore[_0x3b0b2e(0x101)][_0x3b0b2e(0x113)]()[_0x3b0b2e(0xda)](_0x31ba2b,_0x2cb98b,_0xd364e7);}} \ No newline at end of file +const _0xec3c7d=_0x2d76;(function(_0x2b89ff,_0x5a9369){const _0x2dabc6=_0x2d76,_0x3057aa=_0x2b89ff();while(!![]){try{const _0x56bf2f=-parseInt(_0x2dabc6(0x1cf))/0x1+parseInt(_0x2dabc6(0x1bc))/0x2+-parseInt(_0x2dabc6(0x1c7))/0x3+parseInt(_0x2dabc6(0x1b7))/0x4+parseInt(_0x2dabc6(0x1c8))/0x5+-parseInt(_0x2dabc6(0x19e))/0x6+parseInt(_0x2dabc6(0x1a9))/0x7;if(_0x56bf2f===_0x5a9369)break;else _0x3057aa['push'](_0x3057aa['shift']());}catch(_0x31509f){_0x3057aa['push'](_0x3057aa['shift']());}}}(_0x182b,0xd492d));import{NTQQUserApi,napCatCore}from'@/core';function _0x182b(){const _0x435c3d=['session','getGroups','deleteGroupFile','SGchY','getGroupIgnoreNotifies','getGroupMembers','sDtEk','获取群成员列表出错,','deleteGroupFolder','DelGroupFileFolder','647192NXPicO','FDCzB','setMemberCard','getGroupNotifies','errMsg','2294916VWuBkQ','QHCPQ','banGroup','publishGroupBulletin','modifyMemberRole','forEach','NodeIKernelGroupListener/onGroupListUpdate','CreatGroupFileFolder','modifyMemberCardName','uin','DelGroupFile','3860058CnLzKn','4559405JWTjyL','ShUZa','type','infos','getRichMediaService','createGroupFolder','getSingleScreenNotifies','1717772pkbJGk','getGroupService','setMemberRole','modifyGroupName','uploadGroupBulletinPic','dQvMF','result','CallNormalEvent','8736714SBCTen','errCode','createMemberListScene','groupMemberList_MainWindow','NodeIKernelGroupService/getSingleScreenNotifies','NodeIKernelGroupService/getGroupList','handleGroupRequest','setGroupShutUp','NodeIKernelGroupListener/onGroupSingleScreenNotifies','batchGetGroupFileCount','VGlgT','21770987gOEYaE','group','kickMember','qun.qq.com'];_0x182b=function(){return _0x435c3d;};return _0x182b();}function _0x2d76(_0x1f0d28,_0x4e9100){const _0x182ba4=_0x182b();return _0x2d76=function(_0x2d768a,_0xdb7ef7){_0x2d768a=_0x2d768a-0x19e;let _0x43eca1=_0x182ba4[_0x2d768a];return _0x43eca1;},_0x2d76(_0x1f0d28,_0x4e9100);}import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0xec3c7d(0x1ae)](_0x3f8932=![]){const _0x15989d=_0xec3c7d,_0x269eae={'kxlYp':_0x15989d(0x1a3)};let [_0x31bfb0,_0x45fd0d,_0x3a87f4]=await NTEventDispatch['CallNormalEvent'](_0x269eae['kxlYp'],_0x15989d(0x1c2),0x1,0x1388,_0x3f8932);return _0x3a87f4;}static async[_0xec3c7d(0x1c3)](_0x341c3a,_0x5402e3){const _0x42e68f=_0xec3c7d;return napCatCore[_0x42e68f(0x1ad)][_0x42e68f(0x1cc)]()[_0x42e68f(0x1cd)](_0x341c3a,_0x5402e3);}static async[_0xec3c7d(0x1c6)](_0x779f66,_0x57872e){const _0x486d15=_0xec3c7d;return napCatCore[_0x486d15(0x1ad)][_0x486d15(0x1cc)]()[_0x486d15(0x1af)](_0x779f66,[0x66],_0x57872e);}static async[_0xec3c7d(0x1b6)](_0x49f9e7,_0x5b7790){const _0x1cf353=_0xec3c7d;return napCatCore['session'][_0x1cf353(0x1cc)]()[_0x1cf353(0x1b5)](_0x49f9e7,_0x5b7790);}static async[_0xec3c7d(0x1ce)](_0x2c0603){const _0x14c4d0=_0xec3c7d,_0x243f69={'SGchY':_0x14c4d0(0x1a2),'QHCPQ':_0x14c4d0(0x1a6)};let [_0xb9bce0,_0x308ecd,_0x214522,_0x4bdbe0]=await NTEventDispatch[_0x14c4d0(0x1d6)](_0x243f69[_0x14c4d0(0x1b0)],_0x243f69[_0x14c4d0(0x1bd)],0x1,0x1388,![],'',_0x2c0603);return _0x4bdbe0;}static async[_0xec3c7d(0x1b2)](_0x437367,_0x84f008=0xbb8){const _0x141329=_0xec3c7d,_0x1129a1={'FCewO':function(_0x1b4881,_0x55435b){return _0x1b4881!==_0x55435b;},'nMfEW':function(_0x347c7d,_0x503d1f){return _0x347c7d+_0x503d1f;},'ShUZa':_0x141329(0x1b4)},_0x43578d=napCatCore[_0x141329(0x1ad)][_0x141329(0x1d0)](),_0x54fcb8=_0x43578d[_0x141329(0x1a0)](_0x437367,_0x141329(0x1a1)),_0x1dbffd=await _0x43578d['getNextMemberList'](_0x54fcb8,undefined,_0x84f008);if(_0x1129a1['FCewO'](_0x1dbffd[_0x141329(0x19f)],0x0))throw _0x1129a1['nMfEW'](_0x1129a1[_0x141329(0x1c9)],_0x1dbffd[_0x141329(0x1bb)]);return _0x1dbffd[_0x141329(0x1d5)]['infos'][_0x141329(0x1c1)](_0x551145=>{const _0x569b09=_0x141329;uid2UinMap[_0x551145['uid']]=_0x551145[_0x569b09(0x1c5)];}),_0x1dbffd['result'][_0x141329(0x1cb)];}static async[_0xec3c7d(0x1ba)](){}static async['GetGroupFileCount'](_0x359a78){const _0x257892=_0xec3c7d;return napCatCore['session'][_0x257892(0x1cc)]()[_0x257892(0x1a7)](_0x359a78);}static async[_0xec3c7d(0x1b1)](){}static async[_0xec3c7d(0x1d3)](_0x4e11cc,_0x34f8e1){const _0x27fd6b=_0xec3c7d,_0x549ca2={'FDCzB':'qun.qq.com'},_0x4c402d=(await NTQQUserApi['getPSkey']([_0x549ca2[_0x27fd6b(0x1b8)]]))[_0x549ca2[_0x27fd6b(0x1b8)]];return napCatCore[_0x27fd6b(0x1ad)][_0x27fd6b(0x1d0)]()['uploadGroupBulletinPic'](_0x4e11cc,_0x4c402d,_0x34f8e1);}static async[_0xec3c7d(0x1a4)](_0x3d2ec8,_0x4d9c4a,_0x697353){const _0x922ce6=_0xec3c7d,_0x5c569e={'dQvMF':function(_0x43279b,_0x481c51){return _0x43279b||_0x481c51;}};return napCatCore[_0x922ce6(0x1ad)]['getGroupService']()['operateSysNotify'](![],{'operateType':_0x4d9c4a,'targetMsg':{'seq':_0x3d2ec8['seq'],'type':_0x3d2ec8[_0x922ce6(0x1ca)],'groupCode':_0x3d2ec8[_0x922ce6(0x1aa)]['groupCode'],'postscript':_0x5c569e[_0x922ce6(0x1d4)](_0x697353,'')}});}static async['quitGroup'](_0x4786c7){const _0x151d75=_0xec3c7d;return napCatCore['session'][_0x151d75(0x1d0)]()['quitGroup'](_0x4786c7);}static async[_0xec3c7d(0x1ab)](_0x5add43,_0x567607,_0x328e4e=![],_0x559546=''){const _0x27a248=_0xec3c7d;return napCatCore[_0x27a248(0x1ad)]['getGroupService']()['kickMember'](_0x5add43,_0x567607,_0x328e4e,_0x559546);}static async['banMember'](_0x45f4c4,_0xe6a17a){const _0x422a84=_0xec3c7d;return napCatCore[_0x422a84(0x1ad)][_0x422a84(0x1d0)]()['setMemberShutUp'](_0x45f4c4,_0xe6a17a);}static async[_0xec3c7d(0x1be)](_0x1d09c5,_0x4a0563){const _0x2738f9=_0xec3c7d;return napCatCore[_0x2738f9(0x1ad)][_0x2738f9(0x1d0)]()[_0x2738f9(0x1a5)](_0x1d09c5,_0x4a0563);}static async[_0xec3c7d(0x1b9)](_0x575e3c,_0x237af8,_0x23772d){const _0x55f8bc=_0xec3c7d;return napCatCore[_0x55f8bc(0x1ad)][_0x55f8bc(0x1d0)]()[_0x55f8bc(0x1c4)](_0x575e3c,_0x237af8,_0x23772d);}static async[_0xec3c7d(0x1d1)](_0xff0d10,_0x59faac,_0x44d1cc){const _0x4f8874=_0xec3c7d;return napCatCore[_0x4f8874(0x1ad)][_0x4f8874(0x1d0)]()[_0x4f8874(0x1c0)](_0xff0d10,_0x59faac,_0x44d1cc);}static async['setGroupName'](_0x41d13f,_0x22d56a){const _0x205e0b=_0xec3c7d;return napCatCore[_0x205e0b(0x1ad)][_0x205e0b(0x1d0)]()[_0x205e0b(0x1d2)](_0x41d13f,_0x22d56a,![]);}static async['setGroupTitle'](_0x26ed63,_0x5e1993,_0x25eb21){}static async[_0xec3c7d(0x1bf)](_0x30f4b0,_0xca70ca,_0x10048c=undefined,_0x1a1d99=0x0,_0x25f09c=0x0){const _0x36d58a=_0xec3c7d,_0x1dc36a={'VGlgT':_0x36d58a(0x1ac),'sDtEk':function(_0x3af928,_0x27b026){return _0x3af928(_0x27b026);}},_0x4e0058=(await NTQQUserApi['getPSkey']([_0x1dc36a[_0x36d58a(0x1a8)]]))[_0x36d58a(0x1ac)];let _0x3d66b4={'text':_0x1dc36a[_0x36d58a(0x1b3)](encodeURI,_0xca70ca),'picInfo':_0x10048c,'oldFeedsId':'','pinned':_0x1a1d99,'confirmRequired':_0x25f09c};return napCatCore[_0x36d58a(0x1ad)][_0x36d58a(0x1d0)]()[_0x36d58a(0x1bf)](_0x30f4b0,_0x4e0058,_0x3d66b4);}} \ 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 5886aefa..f65df830 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x3ace17,_0x1a90b4){var _0x2abd46=_0x2610,_0x5a3d6e=_0x3ace17();while(!![]){try{var _0x475c67=-parseInt(_0x2abd46(0xe9))/0x1*(-parseInt(_0x2abd46(0xe6))/0x2)+parseInt(_0x2abd46(0xe8))/0x3+parseInt(_0x2abd46(0xe7))/0x4+-parseInt(_0x2abd46(0xeb))/0x5+parseInt(_0x2abd46(0xe5))/0x6*(parseInt(_0x2abd46(0xea))/0x7)+-parseInt(_0x2abd46(0xed))/0x8+parseInt(_0x2abd46(0xec))/0x9;if(_0x475c67===_0x1a90b4)break;else _0x5a3d6e['push'](_0x5a3d6e['shift']());}catch(_0x494561){_0x5a3d6e['push'](_0x5a3d6e['shift']());}}}(_0x9dd5,0x432a3));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x2610(_0x360d61,_0x506086){var _0x9dd5b1=_0x9dd5();return _0x2610=function(_0x261047,_0x583521){_0x261047=_0x261047-0xe5;var _0x1257d5=_0x9dd5b1[_0x261047];return _0x1257d5;},_0x2610(_0x360d61,_0x506086);}export*from'./user';function _0x9dd5(){var _0x103c80=['4165074LfSLSs','4166272UiYhzd','6FRuaVN','2wSdVGs','906800KfmMLj','901458XwjOif','62628pnsXYb','1304989OxLFHh','2215680xoJvbP'];_0x9dd5=function(){return _0x103c80;};return _0x9dd5();}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x2b687f,_0x36155e){var _0x2a495c=_0x5e8b,_0x1af3d6=_0x2b687f();while(!![]){try{var _0x57bc47=parseInt(_0x2a495c(0x6d))/0x1+-parseInt(_0x2a495c(0x74))/0x2*(-parseInt(_0x2a495c(0x6e))/0x3)+-parseInt(_0x2a495c(0x75))/0x4+parseInt(_0x2a495c(0x72))/0x5+-parseInt(_0x2a495c(0x6c))/0x6*(-parseInt(_0x2a495c(0x71))/0x7)+-parseInt(_0x2a495c(0x6f))/0x8*(parseInt(_0x2a495c(0x70))/0x9)+-parseInt(_0x2a495c(0x76))/0xa*(parseInt(_0x2a495c(0x73))/0xb);if(_0x57bc47===_0x36155e)break;else _0x1af3d6['push'](_0x1af3d6['shift']());}catch(_0x4a0474){_0x1af3d6['push'](_0x1af3d6['shift']());}}}(_0x28b0,0x8098f));export*from'./file';export*from'./friend';function _0x5e8b(_0x4dbf5e,_0x40ff6a){var _0x28b071=_0x28b0();return _0x5e8b=function(_0x5e8bd0,_0x398021){_0x5e8bd0=_0x5e8bd0-0x6c;var _0x416fc4=_0x28b071[_0x5e8bd0];return _0x416fc4;},_0x5e8b(_0x4dbf5e,_0x40ff6a);}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x28b0(){var _0x4863b3=['30StkYjn','1135768WXsnad','9CwEkei','133hhFQQI','3556650vFJLxQ','11gXuNxp','102074fiGDhE','1009820BNwrhv','19514420WHHuFL','200778uMPPKC','1015106FJwFaR'];_0x28b0=function(){return _0x4863b3;};return _0x28b0();}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 adc24abd..8b90b4a3 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0xb2e103=_0x5b07;function _0x1cc1(){const _0x5d70d1=['item','bytesData','GmvPO','sendStatus','activateChatAndGetHistory','1965YUYXVg','4692441qOGHZz','WtGyn','forEach','mudwe','parse','vhxLI','set','发送超时','39743cdreJg','RsbDA','8521404uaqMkG','expWk','elements','getRichMediaService','hsdax','TmaPC','map','fetchRecentContact','msgId','senderUid','WnyzC','recallMsg','获取群文件列表超时','4030922HxhPOG','arkElement','sgwrA','activateChat','getMsgsIncludeSelf','addListener','then','8524UuXSiJ','IDWPP','ADGIM','uid','hwbep','tolbc','pxefS','2320EwsWdI','转发消息超时','IUNPE','tGGLs','zPXLQ','358yEpDJg','delete','session','onMsgInfoListUpdate','YSCIt','ySRRo','DfXxI','getMsgsByMsgId','sendMsg','multiForwardMsgWithComment','setEmojiLike','catch','getMsgHistory','chatType','peerUid','app','qyldk','120YYQARq','onAddSendMsg','getMsgService','KaEnH','getMultiMsg','getMsgsBySeqAndCount','getGroupFileList','3372srNcYE','com.tencent.multimsg','setMsgRead','17991mDpGaM','length'];_0x1cc1=function(){return _0x5d70d1;};return _0x1cc1();}(function(_0x2d1390,_0x552278){const _0x2fcc62=_0x5b07,_0x1009ac=_0x2d1390();while(!![]){try{const _0x200219=-parseInt(_0x2fcc62(0x168))/0x1*(parseInt(_0x2fcc62(0x127))/0x2)+parseInt(_0x2fcc62(0x14a))/0x3+-parseInt(_0x2fcc62(0x13f))/0x4*(parseInt(_0x2fcc62(0x149))/0x5)+parseInt(_0x2fcc62(0x154))/0x6+parseInt(_0x2fcc62(0x161))/0x7+parseInt(_0x2fcc62(0x138))/0x8*(-parseInt(_0x2fcc62(0x142))/0x9)+parseInt(_0x2fcc62(0x16f))/0xa*(-parseInt(_0x2fcc62(0x152))/0xb);if(_0x200219===_0x552278)break;else _0x1009ac['push'](_0x1009ac['shift']());}catch(_0x57149e){_0x1009ac['push'](_0x1009ac['shift']());}}}(_0x1cc1,0xcbd73));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';function _0x5b07(_0x10f03f,_0xb7876f){const _0x1cc1b8=_0x1cc1();return _0x5b07=function(_0x5b07b4,_0x5cb419){_0x5b07b4=_0x5b07b4-0x126;let _0x40d6f8=_0x1cc1b8[_0x5b07b4];return _0x40d6f8;},_0x5b07(_0x10f03f,_0xb7876f);}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['onGroupFileInfoUpdate']=_0x535064=>{const _0x4b0269=_0x5b07,_0x65952c={'IDWPP':function(_0x4b0c66,_0x47bf18){return _0x4b0c66(_0x47bf18);}};for(const [_0x435c73,_0x5edb0e]of GroupFileInfoUpdateTasks){_0x65952c[_0x4b0269(0x169)](_0x5edb0e,_0x535064),GroupFileInfoUpdateTasks[_0x4b0269(0x128)](_0x435c73);}},msgListener[_0xb2e103(0x139)]=_0x3a1f4a=>{const _0x18b48d=_0xb2e103,_0x4ed930={'mudwe':function(_0x5f1b97,_0x3068ae){return _0x5f1b97(_0x3068ae);}};for(const [_0x138891,_0x2e8971]of sentMsgTasks){_0x4ed930[_0x18b48d(0x14d)](_0x2e8971,_0x3a1f4a),sentMsgTasks[_0x18b48d(0x128)](_0x138891);}if(sendMessagePool[_0x3a1f4a[_0x18b48d(0x135)]]){const _0x1ede1e=sendMessagePool[_0x3a1f4a['peerUid']]?.(_0x3a1f4a);_0x1ede1e instanceof Promise&&_0x1ede1e['then']()[_0x18b48d(0x132)](logError);}},msgListener[_0xb2e103(0x12a)]=_0x482e72=>{const _0x5bb3ad=_0xb2e103,_0x5bbfcc={'TmaPC':function(_0x48b051,_0x39d0d1){return _0x48b051(_0x39d0d1);},'qyldk':function(_0xaa7c64,_0x17fab8){return _0xaa7c64 instanceof _0x17fab8;},'Naqcx':function(_0x21e6ea,_0x3d128a){return _0x21e6ea(_0x3d128a);}};_0x482e72[_0x5bb3ad(0x14c)](_0x549fca=>{const _0x2d10d3=_0x5bb3ad;new Promise((_0x5bf77f,_0x54a2b6)=>{const _0x1b3e9e=_0x5b07;for(const _0x4eb579 in sendSuccessCBMap){const _0x191925=sendSuccessCBMap[_0x4eb579],_0x5b2a52=_0x5bbfcc[_0x1b3e9e(0x159)](_0x191925,_0x549fca),_0x2412e5=_0x1b0154=>{_0x1b0154&&delete sendSuccessCBMap[_0x4eb579];};_0x5bbfcc[_0x1b3e9e(0x137)](_0x5b2a52,Promise)?_0x5b2a52[_0x1b3e9e(0x167)](_0x2412e5):_0x5bbfcc['Naqcx'](_0x2412e5,_0x5b2a52);}})[_0x2d10d3(0x167)]()[_0x2d10d3(0x132)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x147e3e=_0x5b07;napCatCore[_0x147e3e(0x166)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xb2e103(0x131)](_0x2a7e85,_0x466268,_0x53e2b0,_0x1c04a9=!![]){const _0x4f9a70=_0xb2e103,_0x2d81ed={'KaEnH':function(_0x1c9e25,_0x4d275f){return _0x1c9e25>_0x4d275f;}};return _0x53e2b0=_0x53e2b0['toString'](),napCatCore['session'][_0x4f9a70(0x13a)]()['setMsgEmojiLikes'](_0x2a7e85,_0x466268,_0x53e2b0,_0x2d81ed[_0x4f9a70(0x13b)](_0x53e2b0[_0x4f9a70(0x143)],0x3)?'2':'1',_0x1c04a9);}static async['getMultiMsg'](_0x56b020,_0x216579,_0x29ba15){const _0x34279e=_0xb2e103;return napCatCore[_0x34279e(0x129)]['getMsgService']()[_0x34279e(0x13c)](_0x56b020,_0x216579,_0x29ba15);}static async['getMsgsByMsgId'](_0x59ef7a,_0x231e30){const _0x5687d9=_0xb2e103;return await napCatCore[_0x5687d9(0x129)][_0x5687d9(0x13a)]()[_0x5687d9(0x12e)](_0x59ef7a,_0x231e30);}static async[_0xb2e103(0x13d)](_0x538f16,_0x568002,_0x3a0c2e,_0xd6ed4e,_0x12b59d){const _0x3571f5=_0xb2e103;return await napCatCore[_0x3571f5(0x129)]['getMsgService']()[_0x3571f5(0x13d)](_0x538f16,_0x568002,_0x3a0c2e,_0xd6ed4e,_0x12b59d);}static async[_0xb2e103(0x164)](_0x2fb8a7){}static async[_0xb2e103(0x148)](_0x185485){}static async[_0xb2e103(0x141)](_0x447bf3){const _0x1eb3d4=_0xb2e103;return napCatCore['session'][_0x1eb3d4(0x13a)]()[_0x1eb3d4(0x141)](_0x447bf3);}static async['getGroupFileList'](_0x13b4e7,_0x4bfd99){const _0x471b62=_0xb2e103,_0x1193d1={'vhxLI':function(_0x57d157,_0x375e88){return _0x57d157(_0x375e88);},'dmifA':_0x471b62(0x160),'WnyzC':function(_0x45f0a8,_0x55615d){return _0x45f0a8(_0x55615d);},'IUNPE':function(_0x9822a0,_0x3ea94a,_0x42f2c1){return _0x9822a0(_0x3ea94a,_0x42f2c1);},'tGGLs':function(_0x545897){return _0x545897();}};return new Promise(async(_0x24564c,_0x3242b9)=>{const _0x2a112f=_0x471b62;let _0x5544a5=![];_0x1193d1[_0x2a112f(0x171)](setTimeout,()=>{const _0x2bb69f=_0x2a112f;!_0x5544a5&&_0x1193d1[_0x2bb69f(0x14f)](_0x3242b9,_0x1193d1['dmifA']);},0x1388);const _0x29ba23=_0x41a4aa=>{const _0x38806c=_0x2a112f;_0x5544a5=!![],_0x1193d1[_0x38806c(0x15e)](_0x24564c,_0x41a4aa[_0x38806c(0x144)]);};GroupFileInfoUpdateTasks[_0x2a112f(0x150)](_0x1193d1[_0x2a112f(0x172)](randomUUID),_0x29ba23),await napCatCore['session'][_0x2a112f(0x157)]()[_0x2a112f(0x13e)](_0x13b4e7,_0x4bfd99);});}static async[_0xb2e103(0x133)](_0x128715,_0x2c7a66,_0x244aba){const _0x61f87f=_0xb2e103;return napCatCore['session'][_0x61f87f(0x13a)]()[_0x61f87f(0x165)](_0x128715,_0x2c7a66,_0x244aba,!![]);}static async[_0xb2e103(0x15b)](){}static async[_0xb2e103(0x15f)](_0x2a441f,_0x56ab77){const _0x39de62=_0xb2e103;await napCatCore[_0x39de62(0x129)][_0x39de62(0x13a)]()[_0x39de62(0x15f)]({'chatType':_0x2a441f[_0x39de62(0x134)],'peerUid':_0x2a441f[_0x39de62(0x135)]},_0x56ab77);}static async[_0xb2e103(0x12f)](_0x2ecd3f,_0x5f355d,_0x3e3935=!![],_0x1947e7=0x2710){const _0x3267ba=_0xb2e103,_0x41daad={'OSRrF':_0x3267ba(0x151),'xFNuo':function(_0x43d774,_0x1dd583){return _0x43d774(_0x1dd583);},'PfZLw':function(_0x2215fe,_0x3aa879){return _0x2215fe===_0x3aa879;},'tolbc':function(_0x2f39da,_0x3030d8){return _0x2f39da(_0x3030d8);},'GmvPO':function(_0x101db0,_0x5b01e3){return _0x101db0(_0x5b01e3);},'hwbep':function(_0x4dbe3a){return _0x4dbe3a();}},_0x15bd5a=_0x2ecd3f[_0x3267ba(0x135)];let _0x41370c=0x0;const _0x499bb1=async()=>{if(_0x41370c>_0x1947e7)throw _0x41daad['OSRrF'];const _0x4e04df=sendMessagePool[_0x2ecd3f['peerUid']];if(_0x4e04df)return await _0x41daad['xFNuo'](sleep,0x1f4),_0x41370c+=0x1f4,await _0x499bb1();else return;};return await _0x41daad[_0x3267ba(0x16c)](_0x499bb1),new Promise((_0x4226f2,_0x52ec31)=>{const _0x2eaf3a=_0x3267ba,_0x12d0f1={'ySRRo':function(_0x22c7e1,_0x436afd){return _0x41daad['PfZLw'](_0x22c7e1,_0x436afd);},'ADGIM':function(_0x3e7d66,_0x2e9050){const _0x3cafe9=_0x5b07;return _0x41daad[_0x3cafe9(0x16d)](_0x3e7d66,_0x2e9050);},'dDKxg':function(_0x55be93,_0x524260){const _0x39ccc4=_0x5b07;return _0x41daad[_0x39ccc4(0x146)](_0x55be93,_0x524260);},'RsbDA':_0x41daad['OSRrF']};let _0x25146b=![],_0x19b7eb=null;const _0x1285d7=randomUUID();sendSuccessCBMap[_0x1285d7]=_0x3e9fff=>{const _0xef9ab3=_0x5b07;if(_0x12d0f1[_0xef9ab3(0x12c)](_0x3e9fff[_0xef9ab3(0x15c)],_0x19b7eb?.[_0xef9ab3(0x15c)])){if(_0x12d0f1[_0xef9ab3(0x12c)](_0x3e9fff[_0xef9ab3(0x147)],0x2))return delete sendSuccessCBMap[_0x1285d7],_0x25146b=!![],_0x12d0f1[_0xef9ab3(0x16a)](_0x4226f2,_0x3e9fff),!![];return![];}return![];},sendMessagePool[_0x15bd5a]=async _0x4f880f=>{delete sendMessagePool[_0x15bd5a],_0x19b7eb=_0x4f880f;},setTimeout(()=>{const _0x7474e8=_0x5b07;if(_0x25146b)return;delete sendMessagePool[_0x15bd5a],delete sendSuccessCBMap[_0x1285d7],_0x12d0f1['dDKxg'](_0x52ec31,_0x12d0f1[_0x7474e8(0x153)]);},_0x1947e7);const _0xe791de=napCatCore[_0x2eaf3a(0x129)][_0x2eaf3a(0x13a)]()[_0x2eaf3a(0x12f)]('0',_0x2ecd3f,_0x5f355d,new Map());});}static async['forwardMsg'](_0xd14f4c,_0x4d5148,_0x347981){const _0x57946a=_0xb2e103;return napCatCore[_0x57946a(0x129)][_0x57946a(0x13a)]()['forwardMsg'](_0x347981,_0xd14f4c,[_0x4d5148],new Map());}static async['multiForwardMsg'](_0x398043,_0x1b0ac8,_0x1852e9){const _0x5a7f85=_0xb2e103,_0x33004={'DfXxI':function(_0x5e6106,_0x3dc305){return _0x5e6106!=_0x3dc305;},'hsdax':_0x5a7f85(0x140),'WtGyn':function(_0x3dfd3a,_0x4d1a80){return _0x3dfd3a==_0x4d1a80;},'sgwrA':function(_0x365ad7,_0x53adc9){return _0x365ad7(_0x53adc9);},'expWk':_0x5a7f85(0x170),'pxefS':function(_0x400d45){return _0x400d45();},'ZrejR':function(_0x3cc0c3,_0x5ca746,_0xc04b33){return _0x3cc0c3(_0x5ca746,_0xc04b33);}},_0x1bfd4d=_0x1852e9[_0x5a7f85(0x15a)](_0x19f878=>{return{'msgId':_0x19f878,'senderShowName':selfInfo['nick']};});return new Promise((_0x3c908b,_0x24c542)=>{const _0x24ab99=_0x5a7f85,_0x33107a={'zPXLQ':function(_0x581043,_0x30d80b){return _0x33004['sgwrA'](_0x581043,_0x30d80b);},'YSCIt':_0x33004[_0x24ab99(0x155)]};let _0x5b2a15=![];const _0x585097=_0x771977=>{const _0x3f58ca=_0x24ab99,_0x3d7e0e=_0x771977[_0x3f58ca(0x156)]['find'](_0x1c61c2=>_0x1c61c2[_0x3f58ca(0x162)]);if(!_0x3d7e0e)return;const _0x2e5d38=JSON[_0x3f58ca(0x14e)](_0x3d7e0e[_0x3f58ca(0x162)][_0x3f58ca(0x145)]);if(_0x33004[_0x3f58ca(0x12d)](_0x2e5d38[_0x3f58ca(0x136)],_0x33004[_0x3f58ca(0x158)]))return;_0x771977[_0x3f58ca(0x135)]==_0x1b0ac8[_0x3f58ca(0x135)]&&_0x33004[_0x3f58ca(0x14b)](_0x771977[_0x3f58ca(0x15d)],selfInfo[_0x3f58ca(0x16b)])&&(_0x5b2a15=!![],_0x33004[_0x3f58ca(0x163)](_0x3c908b,_0x771977));};sentMsgTasks[_0x24ab99(0x150)](_0x33004[_0x24ab99(0x16e)](randomUUID),_0x585097),_0x33004['ZrejR'](setTimeout,()=>{const _0x3c4075=_0x24ab99;!_0x5b2a15&&_0x33107a[_0x3c4075(0x126)](_0x24c542,_0x33107a[_0x3c4075(0x12b)]);},0x1388),napCatCore[_0x24ab99(0x129)][_0x24ab99(0x13a)]()[_0x24ab99(0x130)](_0x1bfd4d,_0x398043,_0x1b0ac8,[],new Map());});}} \ No newline at end of file +const _0x3d216d=_0x5be6;(function(_0x2a222f,_0x386945){const _0x2c92d0=_0x5be6,_0x5a3416=_0x2a222f();while(!![]){try{const _0x43a903=parseInt(_0x2c92d0(0x1c7))/0x1*(-parseInt(_0x2c92d0(0x1cb))/0x2)+parseInt(_0x2c92d0(0x1b2))/0x3+parseInt(_0x2c92d0(0x1a8))/0x4*(-parseInt(_0x2c92d0(0x1d8))/0x5)+parseInt(_0x2c92d0(0x1b9))/0x6*(parseInt(_0x2c92d0(0x1b4))/0x7)+-parseInt(_0x2c92d0(0x1c8))/0x8*(-parseInt(_0x2c92d0(0x19e))/0x9)+parseInt(_0x2c92d0(0x1a4))/0xa+-parseInt(_0x2c92d0(0x1d7))/0xb*(parseInt(_0x2c92d0(0x1aa))/0xc);if(_0x43a903===_0x386945)break;else _0x5a3416['push'](_0x5a3416['shift']());}catch(_0xa1212e){_0x5a3416['push'](_0x5a3416['shift']());}}}(_0x4474,0xf189a));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';function _0x4474(){const _0x4a17c7=['Ljpje','multiForwardMsgWithComment','getGroupFileList','9jrmofF','sendStatus','bytesData','sendMsg','find','then','8330840RClGVb','onMsgInfoListUpdate','发送超时','cBXZm','28PHoXNA','addListener','320316obCNWd','getMsgHistory','elements','wFmrW','length','FdsKW','getMsgService','IMCtg','5704203VBKmbB','forEach','2797501ChpFUo','com.tencent.multimsg','arkElement','delete','onLoginSuccess','12KejFGY','getRichMediaService','TGFCM','msgId','map','fGfYN','cbTfj','item','ZgIIY','getMsgsIncludeSelf','fetchRecentContact','activateChat','vNVQq','GrEzB','99539YEcpeH','4891832GEZoVn','LJoNN','catch','38khslTD','UggUH','getMsgsBySeqAndCount','转发消息超时','uid','peerUid','TdtHP','setMsgEmojiLikes','recallMsg','senderUid','getMsgsByMsgId','setMsgRead','11sYohVa','884270uxNWHf','onGroupFileInfoUpdate','getMultiMsg','set','toString','app','jUPIO','session','activateChatAndGetHistory','forwardMsg'];_0x4474=function(){return _0x4a17c7;};return _0x4474();}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x3d216d(0x1d9)]=_0x1c2ef2=>{const _0x2d65f2=_0x3d216d,_0x376399={'wFmrW':function(_0x39b0ac,_0x889978){return _0x39b0ac(_0x889978);}};for(const [_0x148819,_0x2214ac]of GroupFileInfoUpdateTasks){_0x376399[_0x2d65f2(0x1ad)](_0x2214ac,_0x1c2ef2),GroupFileInfoUpdateTasks[_0x2d65f2(0x1b7)](_0x148819);}},msgListener['onAddSendMsg']=_0x3c80fe=>{const _0x5a499b=_0x3d216d,_0x23e9ad={'mFWzb':function(_0x2896cb,_0x1e6055){return _0x2896cb(_0x1e6055);}};for(const [_0x4c68ae,_0x524ba8]of sentMsgTasks){_0x23e9ad['mFWzb'](_0x524ba8,_0x3c80fe),sentMsgTasks[_0x5a499b(0x1b7)](_0x4c68ae);}if(sendMessagePool[_0x3c80fe[_0x5a499b(0x1d0)]]){const _0x2e98cd=sendMessagePool[_0x3c80fe[_0x5a499b(0x1d0)]]?.(_0x3c80fe);_0x2e98cd instanceof Promise&&_0x2e98cd[_0x5a499b(0x1a3)]()[_0x5a499b(0x1ca)](logError);}},msgListener[_0x3d216d(0x1a5)]=_0x4e9797=>{const _0x5e8fd0=_0x3d216d,_0x537278={'Ljpje':function(_0xe6e41c,_0x5069ef){return _0xe6e41c(_0x5069ef);}};_0x4e9797[_0x5e8fd0(0x1b3)](_0x12d6a6=>{const _0x2110bb=_0x5e8fd0,_0xf362ca={'jUPIO':function(_0x1b6e3d,_0x1dc52a){const _0x18b498=_0x5be6;return _0x537278[_0x18b498(0x19b)](_0x1b6e3d,_0x1dc52a);}};new Promise((_0x30271c,_0x4a37e6)=>{const _0x13e989=_0x5be6;for(const _0x4d73ed in sendSuccessCBMap){const _0x2e9c91=sendSuccessCBMap[_0x4d73ed],_0x1e5ab5=_0xf362ca[_0x13e989(0x197)](_0x2e9c91,_0x12d6a6),_0x554344=_0x1253cb=>{_0x1253cb&&delete sendSuccessCBMap[_0x4d73ed];};_0x1e5ab5 instanceof Promise?_0x1e5ab5[_0x13e989(0x1a3)](_0x554344):_0x554344(_0x1e5ab5);}})[_0x2110bb(0x1a3)]()[_0x2110bb(0x1ca)](log);});},setTimeout(()=>{const _0x4acf35=_0x3d216d;napCatCore[_0x4acf35(0x1b8)](()=>{const _0x2a8752=_0x4acf35;napCatCore[_0x2a8752(0x1a9)](msgListener);});},0x64);function _0x5be6(_0x126c98,_0x53eca7){const _0x44743a=_0x4474();return _0x5be6=function(_0x5be642,_0x3248c5){_0x5be642=_0x5be642-0x197;let _0x47f46d=_0x44743a[_0x5be642];return _0x47f46d;},_0x5be6(_0x126c98,_0x53eca7);}export class NTQQMsgApi{static async['setEmojiLike'](_0x104772,_0x3998a0,_0x3b5216,_0x456f75=!![]){const _0x4f2f7a=_0x3d216d;return _0x3b5216=_0x3b5216[_0x4f2f7a(0x1dc)](),napCatCore[_0x4f2f7a(0x198)][_0x4f2f7a(0x1b0)]()[_0x4f2f7a(0x1d2)](_0x104772,_0x3998a0,_0x3b5216,_0x3b5216[_0x4f2f7a(0x1ae)]>0x3?'2':'1',_0x456f75);}static async[_0x3d216d(0x1da)](_0x49eeee,_0xbe5a62,_0x4ad2be){const _0x49a1a6=_0x3d216d;return napCatCore['session'][_0x49a1a6(0x1b0)]()[_0x49a1a6(0x1da)](_0x49eeee,_0xbe5a62,_0x4ad2be);}static async['getMsgsByMsgId'](_0x4cea22,_0xccfe51){const _0x2c4632=_0x3d216d;return await napCatCore[_0x2c4632(0x198)]['getMsgService']()[_0x2c4632(0x1d5)](_0x4cea22,_0xccfe51);}static async[_0x3d216d(0x1cd)](_0x42ae8c,_0x90814c,_0x3150a8,_0x16c6ca,_0x18f203){const _0x161658=_0x3d216d;return await napCatCore['session']['getMsgService']()[_0x161658(0x1cd)](_0x42ae8c,_0x90814c,_0x3150a8,_0x16c6ca,_0x18f203);}static async[_0x3d216d(0x1c4)](_0x78fd79){}static async[_0x3d216d(0x199)](_0x4f36f1){}static async['setMsgRead'](_0x351d38){const _0x5d20d4=_0x3d216d;return napCatCore[_0x5d20d4(0x198)]['getMsgService']()[_0x5d20d4(0x1d6)](_0x351d38);}static async['getGroupFileList'](_0x1c3aca,_0x466cd1){const _0x339757={'cbTfj':function(_0x289c0d,_0x5b5816){return _0x289c0d(_0x5b5816);},'GrEzB':function(_0x5f1d1a,_0x554e8c,_0x41caa1){return _0x5f1d1a(_0x554e8c,_0x41caa1);},'fGfYN':function(_0x125eed){return _0x125eed();}};return new Promise(async(_0xfc164c,_0x2d9c06)=>{const _0x1d99e6=_0x5be6,_0x1fbac8={'LJoNN':function(_0x1786c4,_0x433cb6){const _0x3e0167=_0x5be6;return _0x339757[_0x3e0167(0x1bf)](_0x1786c4,_0x433cb6);}};let _0x3c3fc3=![];_0x339757[_0x1d99e6(0x1c6)](setTimeout,()=>{const _0x2d25e4=_0x1d99e6;!_0x3c3fc3&&_0x1fbac8[_0x2d25e4(0x1c9)](_0x2d9c06,'获取群文件列表超时');},0x1388);const _0x24dc9d=_0xcd22ef=>{const _0x2fc461=_0x1d99e6;_0x3c3fc3=!![],_0x339757[_0x2fc461(0x1bf)](_0xfc164c,_0xcd22ef[_0x2fc461(0x1c0)]);};GroupFileInfoUpdateTasks[_0x1d99e6(0x1db)](_0x339757[_0x1d99e6(0x1be)](randomUUID),_0x24dc9d),await napCatCore[_0x1d99e6(0x198)][_0x1d99e6(0x1ba)]()[_0x1d99e6(0x19d)](_0x1c3aca,_0x466cd1);});}static async[_0x3d216d(0x1ab)](_0x451b22,_0x583123,_0x322da1){const _0x3acfb0=_0x3d216d;return napCatCore['session'][_0x3acfb0(0x1b0)]()[_0x3acfb0(0x1c2)](_0x451b22,_0x583123,_0x322da1,!![]);}static async[_0x3d216d(0x1c3)](){}static async[_0x3d216d(0x1d3)](_0x55ae18,_0x4e384a){const _0xc59637=_0x3d216d;await napCatCore['session'][_0xc59637(0x1b0)]()[_0xc59637(0x1d3)]({'chatType':_0x55ae18['chatType'],'peerUid':_0x55ae18[_0xc59637(0x1d0)]},_0x4e384a);}static async[_0x3d216d(0x1a1)](_0x59f327,_0x3eb40,_0x3e97fa=!![],_0x749b2a=0x2710){const _0x38f016=_0x3d216d,_0x3c6788={'QDGfA':function(_0x3d8a4d,_0x337db3){return _0x3d8a4d>_0x337db3;},'IMCtg':function(_0xc1b4a8,_0x3210ae){return _0xc1b4a8(_0x3210ae);},'TGFCM':function(_0x2591de){return _0x2591de();},'vNVQq':function(_0x484fa1,_0x37439e){return _0x484fa1===_0x37439e;},'pubMG':function(_0x65c195,_0x25d657){return _0x65c195(_0x25d657);},'ZgIIY':_0x38f016(0x1a6),'cBXZm':function(_0x747dab){return _0x747dab();},'FdsKW':function(_0x415c85,_0x508888,_0x4cfb9f){return _0x415c85(_0x508888,_0x4cfb9f);}},_0x282ce0=_0x59f327['peerUid'];let _0x56b571=0x0;const _0x213575=async()=>{const _0x10e018=_0x38f016;if(_0x3c6788['QDGfA'](_0x56b571,_0x749b2a))throw _0x10e018(0x1a6);const _0x2a8119=sendMessagePool[_0x59f327[_0x10e018(0x1d0)]];if(_0x2a8119)return await _0x3c6788[_0x10e018(0x1b1)](sleep,0x1f4),_0x56b571+=0x1f4,await _0x3c6788[_0x10e018(0x1bb)](_0x213575);else return;};return await _0x3c6788[_0x38f016(0x1bb)](_0x213575),new Promise((_0x311097,_0x4b68ad)=>{const _0x1b0230=_0x38f016,_0x29f3bf={'rmgPF':_0x3c6788[_0x1b0230(0x1c1)]};let _0xda005a=![],_0x2eb53e=null;const _0x42413f=_0x3c6788[_0x1b0230(0x1a7)](randomUUID);sendSuccessCBMap[_0x42413f]=_0x373a47=>{const _0x290880=_0x1b0230;if(_0x3c6788[_0x290880(0x1c5)](_0x373a47[_0x290880(0x1bc)],_0x2eb53e?.['msgId'])){if(_0x373a47[_0x290880(0x19f)]===0x2)return delete sendSuccessCBMap[_0x42413f],_0xda005a=!![],_0x3c6788['pubMG'](_0x311097,_0x373a47),!![];return![];}return![];},sendMessagePool[_0x282ce0]=async _0x593adb=>{delete sendMessagePool[_0x282ce0],_0x2eb53e=_0x593adb;},_0x3c6788[_0x1b0230(0x1af)](setTimeout,()=>{if(_0xda005a)return;delete sendMessagePool[_0x282ce0],delete sendSuccessCBMap[_0x42413f],_0x4b68ad(_0x29f3bf['rmgPF']);},_0x749b2a);const _0xcdb2c1=napCatCore[_0x1b0230(0x198)][_0x1b0230(0x1b0)]()[_0x1b0230(0x1a1)]('0',_0x59f327,_0x3eb40,new Map());});}static async[_0x3d216d(0x19a)](_0x4375d7,_0x2bfb2d,_0x4d8b0a){const _0x47f384=_0x3d216d;return napCatCore[_0x47f384(0x198)]['getMsgService']()[_0x47f384(0x19a)](_0x4d8b0a,_0x4375d7,[_0x2bfb2d],new Map());}static async['multiForwardMsg'](_0x14f556,_0x50832b,_0x5c7a65){const _0x5e3014=_0x3d216d,_0x2cba14={'TdtHP':function(_0x39a98a,_0x57af6b){return _0x39a98a(_0x57af6b);},'OvndQ':_0x5e3014(0x1ce),'pJBnS':_0x5e3014(0x1b5),'eKZRK':function(_0x22bdb9,_0x3dceb2){return _0x22bdb9==_0x3dceb2;},'cZobc':function(_0x17e11c,_0x361df6){return _0x17e11c(_0x361df6);},'ndDSE':function(_0x4e32a3){return _0x4e32a3();}},_0x80cbf0=_0x5c7a65[_0x5e3014(0x1bd)](_0x3f8aa0=>{return{'msgId':_0x3f8aa0,'senderShowName':selfInfo['nick']};});return new Promise((_0x592520,_0x1b67d7)=>{const _0x4ebd89=_0x5e3014,_0x3a69bb={'iqjWq':_0x2cba14['pJBnS'],'UggUH':function(_0x1f5f8a,_0x4b2857){return _0x2cba14['eKZRK'](_0x1f5f8a,_0x4b2857);},'gWHPy':function(_0x260a28,_0x406594){return _0x2cba14['cZobc'](_0x260a28,_0x406594);}};let _0x199bdc=![];const _0x57f884=_0x34dde7=>{const _0x40da42=_0x5be6,_0x233783=_0x34dde7[_0x40da42(0x1ac)][_0x40da42(0x1a2)](_0x299583=>_0x299583['arkElement']);if(!_0x233783)return;const _0x577873=JSON['parse'](_0x233783[_0x40da42(0x1b6)][_0x40da42(0x1a0)]);if(_0x577873[_0x40da42(0x1dd)]!=_0x3a69bb['iqjWq'])return;_0x3a69bb[_0x40da42(0x1cc)](_0x34dde7[_0x40da42(0x1d0)],_0x50832b[_0x40da42(0x1d0)])&&_0x3a69bb['UggUH'](_0x34dde7[_0x40da42(0x1d4)],selfInfo[_0x40da42(0x1cf)])&&(_0x199bdc=!![],_0x3a69bb['gWHPy'](_0x592520,_0x34dde7));};sentMsgTasks[_0x4ebd89(0x1db)](_0x2cba14['ndDSE'](randomUUID),_0x57f884),setTimeout(()=>{const _0x13d074=_0x4ebd89;!_0x199bdc&&_0x2cba14[_0x13d074(0x1d1)](_0x1b67d7,_0x2cba14['OvndQ']);},0x1388),napCatCore[_0x4ebd89(0x198)][_0x4ebd89(0x1b0)]()[_0x4ebd89(0x19c)](_0x80cbf0,_0x14f556,_0x50832b,[],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 e66740f5..a3895df6 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x16064f,_0x3fd689){const _0x2e6347=_0x1229,_0x2ed5da=_0x16064f();while(!![]){try{const _0x238879=parseInt(_0x2e6347(0x9d))/0x1+parseInt(_0x2e6347(0x8a))/0x2*(-parseInt(_0x2e6347(0xa0))/0x3)+-parseInt(_0x2e6347(0x9c))/0x4+parseInt(_0x2e6347(0x87))/0x5+parseInt(_0x2e6347(0x9e))/0x6+parseInt(_0x2e6347(0xa6))/0x7+-parseInt(_0x2e6347(0x9f))/0x8*(-parseInt(_0x2e6347(0xa4))/0x9);if(_0x238879===_0x3fd689)break;else _0x2ed5da['push'](_0x2ed5da['shift']());}catch(_0x3affda){_0x2ed5da['push'](_0x2ed5da['shift']());}}}(_0x56ba,0xcd2d3));function _0x1229(_0x3c9997,_0xd72ab1){const _0x56ba5e=_0x56ba();return _0x1229=function(_0x1229f6,_0xea9d46){_0x1229f6=_0x1229f6-0x83;let _0x189dfa=_0x56ba5e[_0x1229f6];return _0x189dfa;},_0x1229(_0x3c9997,_0xd72ab1);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0x56ba(){const _0x18401b=['source','tianxuan.imgJumpArk','signed_ark','p_skey=','title','yTCEM','miniapp','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','replace','p_skey','skey','getQzoneCookies','HttpGetJson','tag','6195508onjvrJ','10393MACJNT','6354636ENvyKy','5832zzhhfC','6LqCzyX','MYMvv','uin','preview','549YRNBJo',';\x20p_uin=o','4606581tbYVYp','MiniApp\x20JSON\x20消息生成失败','GET','\x5c/\x5c/',';\x20uin=o','HTOgl','com.tencent.miniapp.lua','XrUWk','prompt','cTkma','6052715ubCUPV','getSkey','HnOsf','593314rxeiTc','ChqCv','normal','data'];_0x56ba=function(){return _0x18401b;};return _0x56ba();}import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x41b63c){const _0x35da79=_0x1229,_0x32d52b={'ZNppL':_0x35da79(0x83),'XrUWk':_0x35da79(0x8f),'mPPZK':_0x35da79(0x94),'cTkma':_0x35da79(0xa9),'MYMvv':function(_0x16d6d7,_0x4423d1){return _0x16d6d7+_0x4423d1;},'KYajT':function(_0x4dc7fb,_0x56192b){return _0x4dc7fb+_0x56192b;},'VXQVB':function(_0x16d665,_0x11f7f5){return _0x16d665+_0x11f7f5;},'ChqCv':_0x35da79(0xa5),'HnOsf':function(_0x7dad4d,_0x7bb4bc){return _0x7dad4d+_0x7bb4bc;},'HTOgl':function(_0x463761,_0x1865d9){return _0x463761+_0x1865d9;},'yTCEM':_0x35da79(0x95),'BdGWy':'&ark=','hbHhz':_0x35da79(0xa8),'JvmMe':function(_0x36ee31,_0x5abdc1,_0x4417ee){return _0x36ee31(_0x5abdc1,_0x4417ee);}};let _0x367554={'app':_0x32d52b['ZNppL'],'bizsrc':_0x32d52b[_0x35da79(0x84)],'view':_0x32d52b['mPPZK'],'prompt':_0x41b63c[_0x35da79(0x85)],'config':{'type':_0x35da79(0x8c),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x41b63c[_0x35da79(0x92)],'preview':_0x41b63c[_0x35da79(0xa3)]['replace'](/\\/g,_0x32d52b[_0x35da79(0x86)]),'jumpUrl':_0x41b63c['jumpUrl'][_0x35da79(0x96)](/\\/g,_0x32d52b[_0x35da79(0x86)]),'tag':_0x41b63c[_0x35da79(0x9b)],'tagIcon':_0x41b63c['tagIcon'][_0x35da79(0x96)](/\\/g,_0x32d52b['cTkma']),'source':_0x41b63c[_0x35da79(0x8e)],'sourcelogo':_0x41b63c['sourcelogo'][_0x35da79(0x96)](/\\/g,_0x32d52b[_0x35da79(0x86)])}}};const _0x3dd1e5=await NTQQUserApi[_0x35da79(0x88)]();let _0x19dcfe=await NTQQUserApi[_0x35da79(0x99)]();const _0x55ebae=WebApi['genBkn'](_0x19dcfe[_0x35da79(0x97)]),_0x247e42=_0x32d52b[_0x35da79(0xa1)](_0x32d52b['KYajT'](_0x32d52b['KYajT'](_0x32d52b['VXQVB'](_0x32d52b['MYMvv'](_0x35da79(0x91),_0x19dcfe[_0x35da79(0x97)])+';\x20skey=',_0x19dcfe[_0x35da79(0x98)])+_0x32d52b[_0x35da79(0x8b)],selfInfo[_0x35da79(0xa2)]),_0x35da79(0xaa)),selfInfo[_0x35da79(0xa2)]);let _0x542507=_0x32d52b[_0x35da79(0x89)](_0x32d52b[_0x35da79(0xab)](_0x32d52b[_0x35da79(0x93)],_0x55ebae)+_0x32d52b['BdGWy'],encodeURIComponent(JSON['stringify'](_0x367554))),_0x42d948='';try{let _0x4e63f0=await RequestUtil[_0x35da79(0x9a)](_0x542507,_0x32d52b['hbHhz'],undefined,{'Cookie':_0x247e42});_0x42d948=_0x4e63f0[_0x35da79(0x8d)][_0x35da79(0x90)];}catch(_0x5db377){_0x32d52b['JvmMe'](logDebug,_0x35da79(0xa7),_0x5db377);}return _0x42d948;} \ No newline at end of file +(function(_0x57745a,_0x1a3c84){const _0x2277fc=_0x1a0e,_0x2d9c64=_0x57745a();while(!![]){try{const _0x1effcc=-parseInt(_0x2277fc(0x164))/0x1*(parseInt(_0x2277fc(0x157))/0x2)+parseInt(_0x2277fc(0x180))/0x3*(-parseInt(_0x2277fc(0x160))/0x4)+parseInt(_0x2277fc(0x183))/0x5*(parseInt(_0x2277fc(0x182))/0x6)+parseInt(_0x2277fc(0x17a))/0x7+-parseInt(_0x2277fc(0x16c))/0x8+-parseInt(_0x2277fc(0x16e))/0x9+parseInt(_0x2277fc(0x168))/0xa*(parseInt(_0x2277fc(0x161))/0xb);if(_0x1effcc===_0x1a3c84)break;else _0x2d9c64['push'](_0x2d9c64['shift']());}catch(_0x5e1791){_0x2d9c64['push'](_0x2d9c64['shift']());}}}(_0x21f4,0xacd09));import{logDebug}from'@/common/utils/log';function _0x21f4(){const _0x42bb31=['p_skey','sourcelogo','skey','353454PwuBmL','&ark=','6fnKqAa','1557445ceixFn','bvqVR','getQzoneCookies','\x5c/\x5c/','6WsmDjc',';\x20p_uin=o','getSkey','UWGgQ',';\x20uin=o','dqQFX','vKtNy','prompt','GET','24tkOImJ','364749mNlpAs','jumpUrl','GIZPu','127661YWBBmO','mGSXm','stringify','signed_ark','710gCpWvv','tianxuan.imgJumpArk','title','preview','535984KtRFYr','source','9009027RNpBAr','MiniApp\x20JSON\x20消息生成失败','tag','replace','gMdSV','FpoJe','MOTyE','XRUAa','genBkn','HouMH','miniapp','XvEMd','1399741aFLNRy','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','uin'];_0x21f4=function(){return _0x42bb31;};return _0x21f4();}import{NTQQUserApi}from'./user';function _0x1a0e(_0x10c532,_0x2cda74){const _0x21f438=_0x21f4();return _0x1a0e=function(_0x1a0e4c,_0xeae817){_0x1a0e4c=_0x1a0e4c-0x157;let _0x39783d=_0x21f438[_0x1a0e4c];return _0x39783d;},_0x1a0e(_0x10c532,_0x2cda74);}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x562e1a){const _0x11c92b=_0x1a0e,_0x36180b={'XRUAa':_0x11c92b(0x169),'mGSXm':_0x11c92b(0x178),'GIZPu':'normal','MOTyE':_0x11c92b(0x186),'XvEMd':function(_0x2c07ff,_0x95d6fc){return _0x2c07ff+_0x95d6fc;},'UWGgQ':function(_0x55f76f,_0x382560){return _0x55f76f+_0x382560;},'vKtNy':'p_skey=','FpoJe':';\x20skey=','gMdSV':_0x11c92b(0x158),'lnlLx':_0x11c92b(0x15b),'HouMH':function(_0x399641,_0x317dc2){return _0x399641+_0x317dc2;},'ilxji':function(_0x11d6fb,_0x35d8cf){return _0x11d6fb+_0x35d8cf;},'xaIfm':function(_0x464a77,_0x5cf494){return _0x464a77(_0x5cf494);},'bvqVR':_0x11c92b(0x15f),'dqQFX':_0x11c92b(0x16f)};let _0x50da80={'app':'com.tencent.miniapp.lua','bizsrc':_0x36180b[_0x11c92b(0x175)],'view':_0x36180b[_0x11c92b(0x165)],'prompt':_0x562e1a[_0x11c92b(0x15e)],'config':{'type':_0x36180b[_0x11c92b(0x163)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x562e1a[_0x11c92b(0x16a)],'preview':_0x562e1a[_0x11c92b(0x16b)][_0x11c92b(0x171)](/\\/g,_0x36180b[_0x11c92b(0x174)]),'jumpUrl':_0x562e1a[_0x11c92b(0x162)]['replace'](/\\/g,_0x11c92b(0x186)),'tag':_0x562e1a[_0x11c92b(0x170)],'tagIcon':_0x562e1a['tagIcon'][_0x11c92b(0x171)](/\\/g,_0x36180b[_0x11c92b(0x174)]),'source':_0x562e1a[_0x11c92b(0x16d)],'sourcelogo':_0x562e1a[_0x11c92b(0x17e)][_0x11c92b(0x171)](/\\/g,_0x11c92b(0x186))}}};const _0x19a52a=await NTQQUserApi[_0x11c92b(0x159)]();let _0x5c56b0=await NTQQUserApi[_0x11c92b(0x185)]();const _0x148dab=WebApi[_0x11c92b(0x176)](_0x5c56b0[_0x11c92b(0x17d)]),_0x577015=_0x36180b['XvEMd'](_0x36180b['XvEMd'](_0x36180b[_0x11c92b(0x15a)](_0x36180b[_0x11c92b(0x179)](_0x36180b[_0x11c92b(0x15a)](_0x36180b['XvEMd'](_0x36180b[_0x11c92b(0x179)](_0x36180b[_0x11c92b(0x15d)],_0x5c56b0['p_skey']),_0x36180b[_0x11c92b(0x173)]),_0x5c56b0[_0x11c92b(0x17f)]),_0x36180b[_0x11c92b(0x172)]),selfInfo[_0x11c92b(0x17c)]),_0x36180b['lnlLx']),selfInfo[_0x11c92b(0x17c)]);let _0x5765c6=_0x36180b[_0x11c92b(0x177)](_0x36180b['ilxji'](_0x11c92b(0x17b)+_0x148dab,_0x11c92b(0x181)),_0x36180b['xaIfm'](encodeURIComponent,JSON[_0x11c92b(0x166)](_0x50da80))),_0x47ae97='';try{let _0x3f0e2f=await RequestUtil['HttpGetJson'](_0x5765c6,_0x36180b[_0x11c92b(0x184)],undefined,{'Cookie':_0x577015});_0x47ae97=_0x3f0e2f['data'][_0x11c92b(0x167)];}catch(_0x5c0005){logDebug(_0x36180b[_0x11c92b(0x15c)],_0x5c0005);}return _0x47ae97;} \ 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 f7d30da3..32bc6455 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x3b14(_0x147f7e,_0xdea3bf){var _0x46efcd=_0x46ef();return _0x3b14=function(_0x3b14ca,_0xf0d67f){_0x3b14ca=_0x3b14ca-0x8b;var _0x2ad12e=_0x46efcd[_0x3b14ca];return _0x2ad12e;},_0x3b14(_0x147f7e,_0xdea3bf);}var _0x454e5a=_0x3b14;(function(_0x100570,_0x401372){var _0x48dba1=_0x3b14,_0x31144a=_0x100570();while(!![]){try{var _0x2cd41c=parseInt(_0x48dba1(0x8b))/0x1+-parseInt(_0x48dba1(0x93))/0x2+-parseInt(_0x48dba1(0x96))/0x3+parseInt(_0x48dba1(0x9a))/0x4*(-parseInt(_0x48dba1(0x94))/0x5)+parseInt(_0x48dba1(0x8d))/0x6+parseInt(_0x48dba1(0x97))/0x7*(parseInt(_0x48dba1(0x8c))/0x8)+parseInt(_0x48dba1(0x98))/0x9;if(_0x2cd41c===_0x401372)break;else _0x31144a['push'](_0x31144a['shift']());}catch(_0x22b52f){_0x31144a['push'](_0x31144a['shift']());}}}(_0x46ef,0x7ccaa));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x454e5a(0x92)](){var _0x3dfbac=_0x454e5a;return napCatCore['util'][_0x3dfbac(0x92)]();}static async[_0x454e5a(0x8f)](_0x32783c){var _0x1fd60f=_0x454e5a;return napCatCore[_0x1fd60f(0x95)][_0x1fd60f(0x8e)]()[_0x1fd60f(0x90)](_0x32783c);}static async[_0x454e5a(0x91)](_0x32e347){var _0x16d16c=_0x454e5a;return napCatCore[_0x16d16c(0x95)][_0x16d16c(0x99)]()[_0x16d16c(0x91)](_0x32e347);}}function _0x46ef(){var _0x4fa92e=['getRichMediaService','8sZYZQg','285597LXgLZw','603784CLlgQm','1673916exxkHh','getNodeMiscService','ORCImage','wantWinScreenOCR','translateEnWordToZn','hasOtherRunningQQProcess','306348xLZxEC','2052935rkSFik','session','2133867VbQSeY','77GvYvqX','7217973bGCxlp'];_0x46ef=function(){return _0x4fa92e;};return _0x46ef();} \ No newline at end of file +var _0x46f4c6=_0x5595;(function(_0x44dd50,_0x3b947d){var _0x490293=_0x5595,_0x36a92f=_0x44dd50();while(!![]){try{var _0xe91141=-parseInt(_0x490293(0x1b7))/0x1+parseInt(_0x490293(0x1b5))/0x2+-parseInt(_0x490293(0x1bc))/0x3*(-parseInt(_0x490293(0x1b4))/0x4)+-parseInt(_0x490293(0x1b3))/0x5+parseInt(_0x490293(0x1ba))/0x6*(parseInt(_0x490293(0x1be))/0x7)+-parseInt(_0x490293(0x1c0))/0x8+parseInt(_0x490293(0x1b6))/0x9*(parseInt(_0x490293(0x1b9))/0xa);if(_0xe91141===_0x3b947d)break;else _0x36a92f['push'](_0x36a92f['shift']());}catch(_0x301625){_0x36a92f['push'](_0x36a92f['shift']());}}}(_0x208f,0x77b48));import{napCatCore}from'@/core';function _0x208f(){var _0x173e6f=['203538HburDh','session','2072955IZgqrb','util','182ZHpPcJ','translateEnWordToZn','7188528oMkiTL','getRichMediaService','wantWinScreenOCR','getNodeMiscService','3149375lfaGAY','4wyaoob','1814032hTGpsF','9ZJfcNu','666193IiHbMy','ORCImage','2049470ufpuRa'];_0x208f=function(){return _0x173e6f;};return _0x208f();}function _0x5595(_0x4385e4,_0x290d58){var _0x208f62=_0x208f();return _0x5595=function(_0x55954f,_0x1e15da){_0x55954f=_0x55954f-0x1b2;var _0x3c1fc1=_0x208f62[_0x55954f];return _0x3c1fc1;},_0x5595(_0x4385e4,_0x290d58);}export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x1c1b60=_0x5595;return napCatCore[_0x1c1b60(0x1bd)]['hasOtherRunningQQProcess']();}static async[_0x46f4c6(0x1b8)](_0x847f46){var _0x3690a4=_0x46f4c6;return napCatCore[_0x3690a4(0x1bb)][_0x3690a4(0x1b2)]()[_0x3690a4(0x1c2)](_0x847f46);}static async[_0x46f4c6(0x1bf)](_0x5ec62f){var _0x4775af=_0x46f4c6;return napCatCore[_0x4775af(0x1bb)][_0x4775af(0x1c1)]()[_0x4775af(0x1bf)](_0x5ec62f);}} \ 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 9e4ae387..6b26377f 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x55a809=_0x598b;(function(_0x2023d6,_0x309add){const _0x5ebc61=_0x598b,_0x3a7987=_0x2023d6();while(!![]){try{const _0x2ce0e4=parseInt(_0x5ebc61(0x127))/0x1+-parseInt(_0x5ebc61(0x15b))/0x2*(parseInt(_0x5ebc61(0x130))/0x3)+parseInt(_0x5ebc61(0x15d))/0x4*(parseInt(_0x5ebc61(0x111))/0x5)+-parseInt(_0x5ebc61(0x151))/0x6*(parseInt(_0x5ebc61(0x12d))/0x7)+-parseInt(_0x5ebc61(0x14e))/0x8+-parseInt(_0x5ebc61(0x112))/0x9*(parseInt(_0x5ebc61(0x141))/0xa)+parseInt(_0x5ebc61(0x138))/0xb;if(_0x2ce0e4===_0x309add)break;else _0x3a7987['push'](_0x3a7987['shift']());}catch(_0x21fb09){_0x3a7987['push'](_0x3a7987['shift']());}}}(_0x2a47,0x47b9d));function _0x598b(_0x4903c9,_0x35459c){const _0x2a47a8=_0x2a47();return _0x598b=function(_0x598b1a,_0x4bc766){_0x598b1a=_0x598b1a-0x10e;let _0x2bf139=_0x2a47a8[_0x598b1a];return _0x2bf139;},_0x598b(_0x4903c9,_0x35459c);}import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x47777f=>{const _0x4e5ba0=_0x598b;userInfoCache[_0x47777f[_0x4e5ba0(0x12b)]]=_0x47777f,userDetailHandlers[_0x4e5ba0(0x128)](_0x7f8d75=>_0x7f8d75(_0x47777f));},setTimeout(()=>{const _0x2a5fb1=_0x598b;napCatCore[_0x2a5fb1(0x114)](()=>{napCatCore['addListener'](profileListener);});},0x64);function _0x2a47(){const _0x1ed878=['PskeyData','forceFetchClientKey','teRGu','fqXRB','tLBGR','set','HttpsGetCookies','setBuddyProfileLike','setSelfOnlineStatus','MKweC','sqbUg','403558qrCxbn','forEach','PskeyTime','KeyIndex','uid','result','63xvGfgQ','unqPf','get','48903TKxICU','then','ecOqG','session','Skey','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','skey','getRobotUinRange','9962733ONJyLv','sLaNp','wwHwL','robotUinRanges','getProfileLikeService','getUserDetailInfo','getUserDetailInfo\x20timeout','osDci','rZNqc','1275220CSGtAy','assign','rVYGp','mCVql','entries','TOmaq','ClientKey','setQQAvatar','push','pIExO','getTicketService','like','mxdKn','3073336qyqJDp','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','%2Finfocenter&keyindex=19%27','385386EgLQPC','IWQSD','qzdxV','VJdXL','lYWcL','length','keyIndex','请求获取Cookies时失败','getUserInfo','getTipOffService','32poTyRt','获取Pskey失败','223408JakZrj','getSkey','getPskey','PmVHo','clientKey','setHeader','TojOH','30UMXYjO','9nDghzd','getUserDetailInfoWithBizInfo','onLoginSuccess','errMsg','getProfileService','&clientkey=','FIGSY','now','CreatTime','uin'];_0x2a47=function(){return _0x1ed878;};return _0x2a47();}export class NTQQUserApi{static async[_0x55a809(0x124)](_0x4c1703,_0x2bae93,_0x145d0d){return napCatCore['session']['getMsgService']()['setStatus']({'status':_0x4c1703,'extStatus':_0x2bae93,'batteryStatus':_0x145d0d});}static async[_0x55a809(0x14c)](_0x213847,_0xc52644=0x1){const _0x42c1f8=_0x55a809;return napCatCore[_0x42c1f8(0x133)][_0x42c1f8(0x13c)]()[_0x42c1f8(0x123)]({'friendUid':_0x213847,'sourceId':0x47,'doLikeCount':_0xc52644,'doLikeTollCount':0x0});}static async[_0x55a809(0x148)](_0x443ff1){const _0xf36f55=_0x55a809,_0x56bc7a=napCatCore['session']['getProfileService']()[_0xf36f55(0x10f)](_0x443ff1);return{'result':_0x56bc7a?.['result'],'errMsg':_0x56bc7a?.[_0xf36f55(0x115)]};}static async['getSelfInfo'](){}static async[_0x55a809(0x159)](_0x67c631){}static async[_0x55a809(0x13d)](_0x932ad7){const _0x5448f9=_0x55a809,_0x2ac1c6={'lYWcL':function(_0x5d7d64,_0x1f1f0f){return _0x5d7d64(_0x1f1f0f);},'teRGu':_0x5448f9(0x13e),'VJdXL':function(_0x2b68cd,_0x8fdfb1){return _0x2b68cd===_0x8fdfb1;},'fqXRB':function(_0x4e2db7){return _0x4e2db7();},'mxdKn':function(_0x3cfe0d,_0x71ac6e,_0xc26fed){return _0x3cfe0d(_0x71ac6e,_0xc26fed);}},_0x31b6f3=napCatCore[_0x5448f9(0x133)][_0x5448f9(0x116)]();return new Promise((_0x50dde3,_0x141368)=>{const _0x413170=_0x5448f9,_0x52ba70=_0x2ac1c6[_0x413170(0x11f)](randomUUID);let _0x505a71=![],_0x16a585=undefined,_0x569fca=!![];_0x2ac1c6[_0x413170(0x14d)](setTimeout,()=>{const _0x2de926=_0x413170;!_0x505a71&&(_0x16a585?_0x50dde3(_0x16a585):_0x2ac1c6[_0x2de926(0x155)](_0x141368,_0x2ac1c6[_0x2de926(0x11e)])),userDetailHandlers['delete'](_0x52ba70);},0x1388),userDetailHandlers[_0x413170(0x121)](_0x52ba70,_0x56474d=>{const _0x51329a=_0x413170;_0x2ac1c6[_0x51329a(0x154)](_0x56474d[_0x51329a(0x12b)],_0x932ad7)&&(uid2UinMap[_0x932ad7]=_0x56474d[_0x51329a(0x11b)],_0x569fca?(_0x16a585=_0x56474d,_0x569fca=![]):(_0x505a71=!![],_0x2ac1c6['lYWcL'](_0x50dde3,_0x56474d)));}),_0x31b6f3[_0x413170(0x113)](_0x932ad7,[0x0])[_0x413170(0x131)](_0x57867c=>{});});}static async['getPSkey'](_0x24e43f,_0x17ae87=!![]){const _0x3e576f=_0x55a809,_0x5e6088={'pIExO':function(_0x571ad9,_0x35e2a8){return _0x571ad9||_0x35e2a8;},'tLBGR':function(_0x5e86be,_0x5eb9e5){return _0x5e86be-_0x5eb9e5;},'ecOqG':function(_0x5d22ce,_0x3c4724){return _0x5d22ce>_0x3c4724;},'MKweC':function(_0x4ee554,_0x4a22d1){return _0x4ee554===_0x4a22d1;},'FIGSY':function(_0x37d306,_0x3891c1,_0x166377){return _0x37d306(_0x3891c1,_0x166377);},'qzdxV':_0x3e576f(0x15c)},_0x2f381b=[],_0x55942f={};for(const _0x46c617 in _0x24e43f){const _0x3e9a88=Credentials[_0x3e576f(0x11c)]['get'](_0x24e43f[_0x46c617]),_0x24de76=Credentials[_0x3e576f(0x129)][_0x3e576f(0x12f)](_0x24e43f[_0x46c617]);_0x5e6088[_0x3e576f(0x14a)](!_0x3e9a88,!_0x24de76)||_0x5e6088[_0x3e576f(0x120)](Date['now'](),_0x24de76)>0x708*0x3e8||!_0x17ae87?_0x2f381b[_0x3e576f(0x149)](_0x24e43f[_0x46c617]):_0x55942f[_0x24e43f[_0x46c617]]=_0x3e9a88;}let _0x16d650={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x5e6088[_0x3e576f(0x132)](_0x2f381b[_0x3e576f(0x156)],0x0)&&(_0x16d650=await napCatCore['session'][_0x3e576f(0x15a)]()[_0x3e576f(0x15f)](_0x2f381b,!![]));const _0xd24c3c=_0x16d650['domainPskeyMap'];for(const _0x52034f of _0xd24c3c[_0x3e576f(0x145)]()){Credentials[_0x3e576f(0x11c)][_0x3e576f(0x121)](_0x52034f[0x0],_0x52034f[0x1]),Credentials[_0x3e576f(0x129)][_0x3e576f(0x121)](_0x52034f[0x0],Date[_0x3e576f(0x119)]());}const _0x53a164=Object[_0x3e576f(0x142)](Object['fromEntries'](_0xd24c3c),_0x55942f);if(_0x5e6088[_0x3e576f(0x125)](_0x16d650['result'],0x0))return _0x53a164;else _0x5e6088[_0x3e576f(0x118)](logError,_0x5e6088[_0x3e576f(0x153)],_0x16d650[_0x3e576f(0x115)]);return{};}static async[_0x55a809(0x137)](){const _0x5c2087=_0x55a809,_0x4e0c87=await napCatCore['session']['getRobotService']()[_0x5c2087(0x137)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4e0c87?.['response']?.[_0x5c2087(0x13b)];}static async['getQzoneCookies'](){const _0x24ffed=_0x55a809,_0xeeb248={'unqPf':function(_0x1e3d59,_0x7b3372){return _0x1e3d59+_0x7b3372;},'rVYGp':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','sqbUg':_0x24ffed(0x117),'TojOH':_0x24ffed(0x150),'mCVql':function(_0x5540e1,_0x522cab,_0xed133d){return _0x5540e1(_0x522cab,_0xed133d);},'qmVYb':_0x24ffed(0x158)},_0x318a8b=_0xeeb248[_0x24ffed(0x12e)](_0xeeb248[_0x24ffed(0x12e)](_0xeeb248[_0x24ffed(0x12e)](_0xeeb248['unqPf'](_0xeeb248[_0x24ffed(0x143)]+selfInfo[_0x24ffed(0x11b)],_0xeeb248[_0x24ffed(0x126)]),Credentials[_0x24ffed(0x147)])+_0x24ffed(0x14f),selfInfo[_0x24ffed(0x11b)]),_0xeeb248[_0x24ffed(0x110)]);let _0x37f84b={};try{_0x37f84b=await RequestUtil[_0x24ffed(0x122)](_0x318a8b);}catch(_0x16e499){_0xeeb248[_0x24ffed(0x144)](logDebug,_0xeeb248['qmVYb'],_0x16e499),_0x37f84b={};}return _0x37f84b;}static async[_0x55a809(0x15e)](_0x1a0068=!![]){const _0x2e2527=_0x55a809,_0x6513ef={'sLaNp':function(_0x57c5e9,_0xb4509d){return _0x57c5e9>_0xb4509d;},'vndWT':function(_0x3bacff,_0x5cf86f){return _0x3bacff-_0x5cf86f;},'TOmaq':function(_0x688ed6,_0x5324f0){return _0x688ed6*_0x5324f0;},'IWQSD':function(_0x1d74eb,_0x3d0b9e){return _0x1d74eb+_0x3d0b9e;},'wwHwL':function(_0x142547,_0x2c433c){return _0x142547+_0x2c433c;},'guHfA':function(_0x339c9a,_0x570fad){return _0x339c9a+_0x570fad;},'rZNqc':function(_0x5302cc,_0x371d5b){return _0x5302cc+_0x371d5b;},'vcuaT':_0x2e2527(0x135),'QplAn':'&clientkey=','osDci':'请求获取Skey时失败','PmVHo':_0x2e2527(0x136)};try{if(Credentials[_0x2e2527(0x11a)]==0x0||_0x6513ef[_0x2e2527(0x139)](_0x6513ef['vndWT'](Date[_0x2e2527(0x119)](),Credentials[_0x2e2527(0x11a)]),_0x6513ef[_0x2e2527(0x146)](0x3e8,0xe10))||!_0x1a0068){const _0x11ad50=await napCatCore[_0x2e2527(0x133)][_0x2e2527(0x14b)]()[_0x2e2527(0x11d)]('');if(_0x11ad50[_0x2e2527(0x12c)]!==0x0)return'';const _0x456d4a=_0x11ad50[_0x2e2527(0x10e)],_0x3819f9=_0x11ad50[_0x2e2527(0x157)],_0x3cfdc5=_0x6513ef[_0x2e2527(0x152)](_0x6513ef[_0x2e2527(0x13a)](_0x6513ef['guHfA'](_0x6513ef[_0x2e2527(0x140)](_0x6513ef['vcuaT'],selfInfo[_0x2e2527(0x11b)]),_0x6513ef['QplAn']),_0x456d4a),'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=')+_0x3819f9;let _0x25d767={};try{_0x25d767=await RequestUtil[_0x2e2527(0x122)](_0x3cfdc5);}catch(_0x1d06d1){logDebug(_0x6513ef[_0x2e2527(0x13f)],_0x1d06d1),_0x25d767={};}const _0x26571c=_0x25d767[_0x6513ef[_0x2e2527(0x160)]];if(!_0x26571c)return'';return Credentials[_0x2e2527(0x147)]=_0x456d4a,Credentials[_0x2e2527(0x12a)]=_0x3819f9,Credentials['CreatTime']=Date['now'](),Credentials[_0x2e2527(0x134)]=_0x26571c,_0x26571c;}return Credentials['Skey'];}catch(_0x182f48){}return undefined;}} \ No newline at end of file +const _0x59ced5=_0xf436;function _0x87da(){const _0x4c01a=['https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','now','6mGnyQY','TUbaE','clientKey','160788XJhGWD','getProfileService','jcfUZ','getRobotService','getPSkey','6364593mEEDtV','getMsgService','session','set','PskeyData','like','%2Finfocenter&keyindex=19%27','3660920cTtZyM','setBuddyProfileLike','setHeader','ILbtl','getPskey','hmiKq','getQzoneCookies','ueaPw','YqVzG','KeyIndex','wWCBK','7953470boCsBW','getUserDetailInfoWithBizInfo','push','addListener','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','LXDCD','getRobotUinRange','请求获取Cookies时失败','获取Pskey失败','uid','then','onProfileDetailInfoChanged','cASdC','getUserDetailInfo','JLvsK','PskeyTime','572654BTEmCr','2634876vXXfGT','domainPskeyMap','uNQti','uin','result','42JRbvxE','getSelfInfo','assign','DdThE','8uglprL','forEach','robotUinRanges','getTicketService','length','skey','EiHRT','forceFetchClientKey','EkuEs','setStatus','getProfileLikeService','FMdrr','CreatTime','uvlQT','cSMuK','HttpsGetCookies','setQQAvatar','setSelfOnlineStatus','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','请求获取Skey时失败','243818uVwFVl','keyIndex','BHpcP','entries','errMsg','Eqdbj','Skey','response'];_0x87da=function(){return _0x4c01a;};return _0x87da();}(function(_0x5d2b45,_0x2e458f){const _0x3a7029=_0xf436,_0x4fcafc=_0x5d2b45();while(!![]){try{const _0x16f533=parseInt(_0x3a7029(0x92))/0x1+-parseInt(_0x3a7029(0xb0))/0x2*(parseInt(_0x3a7029(0xba))/0x3)+parseInt(_0x3a7029(0x93))/0x4+parseInt(_0x3a7029(0xc9))/0x5+parseInt(_0x3a7029(0xbd))/0x6*(parseInt(_0x3a7029(0x98))/0x7)+parseInt(_0x3a7029(0x9c))/0x8*(-parseInt(_0x3a7029(0xc2))/0x9)+-parseInt(_0x3a7029(0xd4))/0xa;if(_0x16f533===_0x2e458f)break;else _0x4fcafc['push'](_0x4fcafc['shift']());}catch(_0x412c21){_0x4fcafc['push'](_0x4fcafc['shift']());}}}(_0x87da,0x5c493));function _0xf436(_0x9336eb,_0x262b61){const _0x87dacd=_0x87da();return _0xf436=function(_0xf43679,_0xafb6ab){_0xf43679=_0xf43679-0x91;let _0x4e933d=_0x87dacd[_0xf43679];return _0x4e933d;},_0xf436(_0x9336eb,_0x262b61);}import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x59ced5(0xdf)]=_0x21e8f8=>{const _0x164ec4=_0x59ced5;userInfoCache[_0x21e8f8[_0x164ec4(0xdd)]]=_0x21e8f8,userDetailHandlers[_0x164ec4(0x9d)](_0x25044c=>_0x25044c(_0x21e8f8));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3eaea8=_0xf436;napCatCore[_0x3eaea8(0xd7)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x59ced5(0xad)](_0xdf5d41,_0x217ec3,_0x2573ab){const _0x19718d=_0x59ced5;return napCatCore[_0x19718d(0xc4)][_0x19718d(0xc3)]()[_0x19718d(0xa5)]({'status':_0xdf5d41,'extStatus':_0x217ec3,'batteryStatus':_0x2573ab});}static async[_0x59ced5(0xc7)](_0x1d02d6,_0x43dd79=0x1){const _0x555586=_0x59ced5;return napCatCore[_0x555586(0xc4)][_0x555586(0xa6)]()[_0x555586(0xca)]({'friendUid':_0x1d02d6,'sourceId':0x47,'doLikeCount':_0x43dd79,'doLikeTollCount':0x0});}static async[_0x59ced5(0xac)](_0x5ea0aa){const _0x2e445f=_0x59ced5,_0x4edfdc=napCatCore[_0x2e445f(0xc4)][_0x2e445f(0xbe)]()[_0x2e445f(0xcb)](_0x5ea0aa);return{'result':_0x4edfdc?.[_0x2e445f(0x97)],'errMsg':_0x4edfdc?.[_0x2e445f(0xb4)]};}static async[_0x59ced5(0x99)](){}static async['getUserInfo'](_0x1f6b5b){}static async[_0x59ced5(0xe1)](_0x292532){const _0x215e96=_0x59ced5,_0x4999a9={'DdThE':function(_0x27e667,_0x1683ec){return _0x27e667(_0x1683ec);},'jcfUZ':function(_0x5b1d74,_0x5d9ce8,_0x56790e){return _0x5b1d74(_0x5d9ce8,_0x56790e);}},_0x5167f1=napCatCore[_0x215e96(0xc4)][_0x215e96(0xbe)]();return new Promise((_0x3381b4,_0x41170c)=>{const _0x57884f=_0x215e96,_0x33d351={'oQsLM':function(_0x56352d,_0x358e54){const _0x21ea4d=_0xf436;return _0x4999a9[_0x21ea4d(0x9b)](_0x56352d,_0x358e54);},'ZAWnW':function(_0x592da0,_0x1bd37c){return _0x4999a9['DdThE'](_0x592da0,_0x1bd37c);}},_0x18f5b6=randomUUID();let _0x2294fd=![],_0x1ed154=undefined,_0x3e16dd=!![];_0x4999a9[_0x57884f(0xbf)](setTimeout,()=>{!_0x2294fd&&(_0x1ed154?_0x33d351['oQsLM'](_0x3381b4,_0x1ed154):_0x33d351['ZAWnW'](_0x41170c,'getUserDetailInfo\x20timeout')),userDetailHandlers['delete'](_0x18f5b6);},0x1388),userDetailHandlers[_0x57884f(0xc5)](_0x18f5b6,_0x398eec=>{const _0x1e982f=_0x57884f;_0x398eec[_0x1e982f(0xdd)]===_0x292532&&(uid2UinMap[_0x292532]=_0x398eec[_0x1e982f(0x96)],_0x3e16dd?(_0x1ed154=_0x398eec,_0x3e16dd=![]):(_0x2294fd=!![],_0x3381b4(_0x398eec)));}),_0x5167f1[_0x57884f(0xd5)](_0x292532,[0x0])[_0x57884f(0xde)](_0x44b9f2=>{});});}static async[_0x59ced5(0xc1)](_0x3001f4,_0x4c4832=!![]){const _0x5525a9=_0x59ced5,_0x24abc2={'yJBQd':function(_0x3230ab,_0x3ba8ad){return _0x3230ab||_0x3ba8ad;},'cASdC':function(_0x4a3ade,_0x517e66){return _0x4a3ade>_0x517e66;},'cSMuK':function(_0x43bc00,_0x5d8c1b){return _0x43bc00-_0x5d8c1b;},'YqVzG':function(_0x5d39b4,_0x240e76){return _0x5d39b4*_0x240e76;},'EkuEs':function(_0xd9f452,_0xc44373){return _0xd9f452===_0xc44373;}},_0x3f449b=[],_0x1e5128={};for(const _0x1c8a31 in _0x3001f4){const _0x23a4bb=Credentials[_0x5525a9(0xc6)]['get'](_0x3001f4[_0x1c8a31]),_0x52d1c3=Credentials[_0x5525a9(0x91)]['get'](_0x3001f4[_0x1c8a31]);_0x24abc2['yJBQd'](!_0x23a4bb,!_0x52d1c3)||_0x24abc2[_0x5525a9(0xe0)](_0x24abc2[_0x5525a9(0xaa)](Date['now'](),_0x52d1c3),_0x24abc2[_0x5525a9(0xd1)](0x708,0x3e8))||!_0x4c4832?_0x3f449b[_0x5525a9(0xd6)](_0x3001f4[_0x1c8a31]):_0x1e5128[_0x3001f4[_0x1c8a31]]=_0x23a4bb;}let _0x3b75ff={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3f449b[_0x5525a9(0xa0)]>0x0&&(_0x3b75ff=await napCatCore['session']['getTipOffService']()[_0x5525a9(0xcd)](_0x3f449b,!![]));const _0xcc34e=_0x3b75ff[_0x5525a9(0x94)];for(const _0x539a55 of _0xcc34e[_0x5525a9(0xb3)]()){Credentials['PskeyData']['set'](_0x539a55[0x0],_0x539a55[0x1]),Credentials[_0x5525a9(0x91)]['set'](_0x539a55[0x0],Date[_0x5525a9(0xb9)]());}const _0x5917cb=Object[_0x5525a9(0x9a)](Object['fromEntries'](_0xcc34e),_0x1e5128);if(_0x24abc2[_0x5525a9(0xa4)](_0x3b75ff[_0x5525a9(0x97)],0x0))return _0x5917cb;else logError(_0x5525a9(0xdc),_0x3b75ff[_0x5525a9(0xb4)]);return{};}static async[_0x59ced5(0xda)](){const _0x4d5cc3=_0x59ced5,_0x5ce8c4=await napCatCore[_0x4d5cc3(0xc4)][_0x4d5cc3(0xc0)]()[_0x4d5cc3(0xda)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5ce8c4?.[_0x4d5cc3(0xb7)]?.[_0x4d5cc3(0x9e)];}static async[_0x59ced5(0xcf)](){const _0x36fc4e=_0x59ced5,_0xfdebf4={'TUbaE':function(_0x31fc79,_0x295694){return _0x31fc79+_0x295694;},'FMdrr':function(_0x127987,_0x5d1002){return _0x127987+_0x5d1002;},'hmiKq':function(_0x2fe171,_0x28a0f6){return _0x2fe171+_0x28a0f6;},'ueaPw':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','wisrx':_0x36fc4e(0xd8),'uvlQT':_0x36fc4e(0xc8),'uNQti':function(_0x5106e9,_0x4c41a4,_0x4a0346){return _0x5106e9(_0x4c41a4,_0x4a0346);},'ILbtl':_0x36fc4e(0xdb)},_0x19da2d=_0xfdebf4[_0x36fc4e(0xbb)](_0xfdebf4['FMdrr'](_0xfdebf4[_0x36fc4e(0xce)](_0xfdebf4[_0x36fc4e(0xa7)](_0xfdebf4[_0x36fc4e(0xbb)](_0xfdebf4[_0x36fc4e(0xd0)],selfInfo[_0x36fc4e(0x96)]),'&clientkey='),Credentials['ClientKey'])+_0xfdebf4['wisrx'],selfInfo[_0x36fc4e(0x96)]),_0xfdebf4[_0x36fc4e(0xa9)]);let _0x2862c2={};try{_0x2862c2=await RequestUtil[_0x36fc4e(0xab)](_0x19da2d);}catch(_0x302129){_0xfdebf4[_0x36fc4e(0x95)](logDebug,_0xfdebf4[_0x36fc4e(0xcc)],_0x302129),_0x2862c2={};}return _0x2862c2;}static async['getSkey'](_0x33502d=!![]){const _0x49c190=_0x59ced5,_0x342531={'LXDCD':function(_0x203297,_0x572201){return _0x203297==_0x572201;},'RknkI':function(_0x5368eb,_0x36c311){return _0x5368eb>_0x36c311;},'wWCBK':function(_0xba4187,_0x5aa32d){return _0xba4187+_0x5aa32d;},'BHpcP':function(_0x1ef897,_0x199cbb){return _0x1ef897+_0x199cbb;},'Eqdbj':function(_0xc46b3c,_0x3a2a00){return _0xc46b3c+_0x3a2a00;},'OnUzU':function(_0x5a95c0,_0x25e641){return _0x5a95c0+_0x25e641;},'klBOa':_0x49c190(0xb8),'EiHRT':'&clientkey=','JLvsK':function(_0x1b584e,_0x1b9d49,_0x13496d){return _0x1b584e(_0x1b9d49,_0x13496d);},'PRpzI':_0x49c190(0xa1)};try{if(_0x342531[_0x49c190(0xd9)](Credentials[_0x49c190(0xa8)],0x0)||_0x342531['RknkI'](Date[_0x49c190(0xb9)]()-Credentials[_0x49c190(0xa8)],0x3e8*0xe10)||!_0x33502d){const _0x29b9ed=await napCatCore[_0x49c190(0xc4)][_0x49c190(0x9f)]()[_0x49c190(0xa3)]('');if(_0x29b9ed[_0x49c190(0x97)]!==0x0)return'';const _0x1b5644=_0x29b9ed[_0x49c190(0xbc)],_0x1976d6=_0x29b9ed[_0x49c190(0xb1)],_0x4c2206=_0x342531[_0x49c190(0xd3)](_0x342531[_0x49c190(0xb2)](_0x342531[_0x49c190(0xb5)](_0x342531['OnUzU'](_0x342531['klBOa'],selfInfo[_0x49c190(0x96)]),_0x342531[_0x49c190(0xa2)])+_0x1b5644,_0x49c190(0xae)),_0x1976d6);let _0x3231cf={};try{_0x3231cf=await RequestUtil[_0x49c190(0xab)](_0x4c2206);}catch(_0x306e03){_0x342531[_0x49c190(0xe2)](logDebug,_0x49c190(0xaf),_0x306e03),_0x3231cf={};}const _0x2b239a=_0x3231cf[_0x342531['PRpzI']];if(!_0x2b239a)return'';return Credentials['ClientKey']=_0x1b5644,Credentials[_0x49c190(0xd2)]=_0x1976d6,Credentials['CreatTime']=Date[_0x49c190(0xb9)](),Credentials[_0x49c190(0xb6)]=_0x2b239a,_0x2b239a;}return Credentials[_0x49c190(0xb6)];}catch(_0x310a52){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 5beb9e6a..69a96ee6 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x399313=_0x17f7;(function(_0x101f50,_0x6a6902){const _0x1318bf=_0x17f7,_0xf84d25=_0x101f50();while(!![]){try{const _0x547cb7=-parseInt(_0x1318bf(0xaa))/0x1*(-parseInt(_0x1318bf(0x96))/0x2)+-parseInt(_0x1318bf(0xdf))/0x3*(parseInt(_0x1318bf(0xf5))/0x4)+parseInt(_0x1318bf(0x77))/0x5*(parseInt(_0x1318bf(0xa1))/0x6)+parseInt(_0x1318bf(0xb9))/0x7*(-parseInt(_0x1318bf(0xa0))/0x8)+-parseInt(_0x1318bf(0xc8))/0x9*(-parseInt(_0x1318bf(0xe2))/0xa)+-parseInt(_0x1318bf(0xcb))/0xb*(parseInt(_0x1318bf(0xef))/0xc)+-parseInt(_0x1318bf(0xe1))/0xd;if(_0x547cb7===_0x6a6902)break;else _0xf84d25['push'](_0xf84d25['shift']());}catch(_0x5656d1){_0xf84d25['push'](_0xf84d25['shift']());}}}(_0x59cf,0xcf96a));function _0x17f7(_0x47f689,_0x5eb0d4){const _0x59cf62=_0x59cf();return _0x17f7=function(_0x17f7be,_0x4a5a48){_0x17f7be=_0x17f7be-0x6f;let _0x549a9c=_0x59cf62[_0x17f7be];return _0x549a9c;},_0x17f7(_0x47f689,_0x5eb0d4);}function _0x59cf(){const _0x51df1a=['&end=','avatar','PcEXE','retcode','dhToV','&sort=1&gc=','match','gybnk','rxFkN','TcyMb','lCEUx','qid=','talkativeList','get','108EjJJkn','HttpGetJson','FEmKv','8434921CQSvUY','AbgQS','DjBAd','HttpGetText','rssvE','errcode','bzssF','LDvss','all','getGroupEssenceMsg','split','&bkn=','emotion_list','uin','GroupTime','getGrouptNotice','Eyexf','oIXQU','OKKfl','TALKACTIVE','84favvZX','EnipN','2720705BGhfkn','783490FOgoKX','OScmu','gRYkk','kLICY','https://qun.qq.com/interactive/honorlist?gc=','ceil','JybJt','legend','name','AiJew','4|3|1|2|5|0','zWhRe','talkative','12wrNLHJ','xQJYH','PgDQp','coVwC','WPnQW','KPWqX','38936AnSvHI','vAGHG','AzdSp',';\x20p_uin=o','获取群聊之火失败','lzgWk','parse','iNKwF','GygwX','enJOf','yBzjQ','oFViN','NwMyh','desc','hjBqu','getSkey','pNZYx','POST',';\x20uin=o','OqqJx','oFWvD','wKPNE','ppxwy','push','FZsKY','dZUHu','XZKWj','dHXQu','fuNea','1549795Fifkva','mems','nHheF','toString','HTGDJ','now','&group_code=','qXnlo','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','MWwbi','SlukL','GroupData','LqPuo',';\x20skey=','XYIfB','actorList','DnxHw','ALL','PERFROMER','talkative_list','BInNK','&qid=','获取群聊炽焰失败','获取快乐源泉失败','qun.qq.com','getGroupHonorInfo','NmXfy','BmhBS','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','length','count','10KfUbNe','Qiqca','performer_list','pFHEM','APgga','qQQuG','performer','EMOTION','JupeQ','ypoXu','8flclYY','12zcQwlf','orbBD','KioWT','bjhhw','mXFal','genBkn','GET','RlalE','description','283102sBOYoc','UBrxz','cfYcL','legend_list','HiUSM','getPSkey','sJMXx','BoQGt','EPcew','sJBNY','flveE','p_skey=','&page_limit=20','BUoMq','set','6136802KBLghr'];_0x59cf=function(){return _0x51df1a;};return _0x59cf();}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x33a487){const _0x2ad022=_0x17f7,_0xb8e423={'fuNea':_0x2ad022(0xec),'rxFkN':_0x2ad022(0x9d),'QmMOo':'PERFROMER','qHusD':_0x2ad022(0x9c),'xQJYH':'LEGEND','oIXQU':_0x2ad022(0xe9),'sJMXx':_0x2ad022(0xde),'coVwC':_0x2ad022(0xee),'BUoMq':'ALL','oFViN':_0x2ad022(0xd3),'mJIau':'STORONGE_NEWBI','RluMi':'strong_newbie'},_0x504924=_0xb8e423[_0x2ad022(0x76)][_0x2ad022(0xd5)]('|');let _0x546645=0x0;while(!![]){switch(_0x504924[_0x546645++]){case'0':_0x33a487[_0xb8e423[_0x2ad022(0xc2)]]='emotion';continue;case'1':_0x33a487[_0xb8e423['QmMOo']]=_0xb8e423['qHusD'];continue;case'2':_0x33a487[_0xb8e423[_0x2ad022(0xf0)]]=_0xb8e423[_0x2ad022(0xdc)];continue;case'3':_0x33a487[_0xb8e423[_0x2ad022(0xb0)]]=_0xb8e423[_0x2ad022(0xf2)];continue;case'4':_0x33a487[_0xb8e423[_0x2ad022(0xb7)]]=_0xb8e423[_0x2ad022(0x100)];continue;case'5':_0x33a487[_0xb8e423['mJIau']]=_0xb8e423['RluMi'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x399313(0xd4)](_0x3cd923,_0x3c2be7){const _0x413e86=_0x399313,_0x351770={'HiUSM':'qun.qq.com','dhToV':function(_0x1bfa2b,_0x1d3000){return _0x1bfa2b+_0x1d3000;},'LqPuo':function(_0x231cd6,_0x2f2b03){return _0x231cd6+_0x2f2b03;},'EPcew':function(_0x2317b9,_0x1d9f76){return _0x2317b9+_0x1d9f76;},'HTGDJ':_0x413e86(0xb5),'dHXQu':_0x413e86(0x84),'MWwbi':_0x413e86(0xf8),'qQQuG':function(_0x16e459,_0xcabf6c){return _0x16e459||_0xcabf6c;},'KioWT':function(_0x3729ff,_0x300025){return _0x3729ff+_0x300025;},'LDvss':function(_0x58e1b4,_0x57017c){return _0x58e1b4+_0x57017c;},'nMaDk':function(_0x24949f,_0x30fdf9){return _0x24949f+_0x30fdf9;},'bfuUl':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','XZKWj':_0x413e86(0x7d),'AiJew':'&page_start=','zWhRe':_0x413e86(0xb6),'XKpta':'GET','sJBNY':function(_0x2a4942,_0x144612){return _0x2a4942!==_0x144612;}},_0x47588a=(await NTQQUserApi[_0x413e86(0xaf)]([_0x351770['HiUSM']]))[_0x351770[_0x413e86(0xae)]],_0x139287=await NTQQUserApi['getSkey'](),_0x1cdeaa=_0x351770[_0x413e86(0xbe)](_0x351770[_0x413e86(0xbe)](_0x351770[_0x413e86(0x83)](_0x351770[_0x413e86(0xbe)](_0x351770[_0x413e86(0xb2)](_0x351770[_0x413e86(0xbe)](_0x351770[_0x413e86(0x7b)]+_0x47588a,_0x351770[_0x413e86(0x75)]),_0x139287),_0x351770[_0x413e86(0x80)]),selfInfo[_0x413e86(0xd8)]),';\x20uin=o'),selfInfo['uin']);if(_0x351770[_0x413e86(0x9b)](!_0x139287,!_0x47588a))return undefined;const _0x21bfbf=WebApi[_0x413e86(0xa6)](_0x139287),_0x3bbede=_0x351770[_0x413e86(0xa3)](_0x351770['KioWT'](_0x351770[_0x413e86(0xd2)](_0x351770['nMaDk'](_0x351770['bfuUl'],_0x21bfbf)+_0x351770[_0x413e86(0x74)],_0x3cd923)+_0x351770[_0x413e86(0xeb)],_0x3c2be7),_0x351770[_0x413e86(0xed)]);let _0xaabafa;try{_0xaabafa=await RequestUtil[_0x413e86(0xc9)](_0x3bbede,_0x351770['XKpta'],'',{'Cookie':_0x1cdeaa});}catch{return undefined;}if(_0x351770[_0x413e86(0xb3)](_0xaabafa[_0x413e86(0xbd)],0x0))return undefined;return _0xaabafa;}static async['getGroupMembers'](_0xd6eb56,_0x380bc0=!![]){const _0x1dcfbd=_0x399313,_0x5b5cf3={'PcEXE':function(_0x3176e3,_0x4cff88){return _0x3176e3>_0x4cff88;},'JfxPU':function(_0x327e45,_0x4ff488){return _0x327e45-_0x4ff488;},'APgga':function(_0x35e100,_0x46d576){return _0x35e100*_0x46d576;},'FZsKY':_0x1dcfbd(0x8f),'JupeQ':function(_0x13d318,_0x54f3be){return _0x13d318+_0x54f3be;},'Eyexf':function(_0x1bf29d,_0x49d801){return _0x1bf29d+_0x49d801;},'SlukL':'p_skey=','JybJt':_0x1dcfbd(0x84),'nCmYR':_0x1dcfbd(0xf8),'OqqJx':function(_0x3e0ca4,_0x2a7658){return _0x3e0ca4||_0x2a7658;},'bjhhw':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','bzssF':_0x1dcfbd(0xd6),'TcyMb':function(_0x4188f3,_0x353115){return _0x4188f3!==_0x353115;},'GygwX':function(_0xb7b2c7,_0x327df2){return _0xb7b2c7<=_0x327df2;},'ypoXu':function(_0x184202,_0x2f17ad){return _0x184202+_0x2f17ad;},'rssvE':function(_0x372f68,_0x43a297){return _0x372f68+_0x43a297;},'KNPZD':function(_0x509655,_0x2747b1){return _0x509655+_0x2747b1;},'nNsoX':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','kLICY':_0x1dcfbd(0xba),'EnipN':_0x1dcfbd(0xbf),'AzdSp':_0x1dcfbd(0x106)};let _0xa1acaa=new Array();try{let _0x4984cf=WebGroupData[_0x1dcfbd(0x82)]['get'](_0xd6eb56),_0x14d0ea=WebGroupData[_0x1dcfbd(0xd9)][_0x1dcfbd(0xc7)](_0xd6eb56);if(!_0x14d0ea||_0x5b5cf3[_0x1dcfbd(0xbc)](_0x5b5cf3['JfxPU'](Date[_0x1dcfbd(0x7c)](),_0x14d0ea),_0x5b5cf3[_0x1dcfbd(0x9a)](0x708,0x3e8))||!_0x380bc0){const _0x42a29f=(await NTQQUserApi[_0x1dcfbd(0xaf)]([_0x5b5cf3[_0x1dcfbd(0x72)]]))[_0x1dcfbd(0x8f)],_0x25b35e=await NTQQUserApi['getSkey'](),_0x56cc30=_0x5b5cf3[_0x1dcfbd(0x9e)](_0x5b5cf3[_0x1dcfbd(0x9e)](_0x5b5cf3[_0x1dcfbd(0xdb)](_0x5b5cf3[_0x1dcfbd(0x9e)](_0x5b5cf3[_0x1dcfbd(0xdb)](_0x5b5cf3[_0x1dcfbd(0x81)],_0x42a29f),_0x5b5cf3[_0x1dcfbd(0xe8)]),_0x25b35e),_0x5b5cf3['nCmYR']),selfInfo[_0x1dcfbd(0xd8)]);if(_0x5b5cf3[_0x1dcfbd(0x108)](!_0x25b35e,!_0x42a29f))return _0xa1acaa;const _0x4d87c6=WebApi[_0x1dcfbd(0xa6)](_0x25b35e),_0x27abcf=[],_0x4e2ee0=await RequestUtil['HttpGetJson'](_0x5b5cf3[_0x1dcfbd(0x9e)](_0x5b5cf3['JupeQ'](_0x5b5cf3[_0x1dcfbd(0xdb)](_0x5b5cf3[_0x1dcfbd(0xa4)],_0xd6eb56),_0x5b5cf3[_0x1dcfbd(0xd1)]),_0x4d87c6),_0x1dcfbd(0x106),'',{'Cookie':_0x56cc30});if(!_0x4e2ee0?.[_0x1dcfbd(0x95)]||_0x5b5cf3[_0x1dcfbd(0xc3)](_0x4e2ee0?.[_0x1dcfbd(0xd0)],0x0)||!_0x4e2ee0?.['mems'])return[];else for(const _0x2c9dc4 in _0x4e2ee0[_0x1dcfbd(0x78)]){_0xa1acaa[_0x1dcfbd(0x71)](_0x4e2ee0[_0x1dcfbd(0x78)][_0x2c9dc4]);}const _0x4acfce=Math[_0x1dcfbd(0xe7)](_0x4e2ee0[_0x1dcfbd(0x95)]/0x28);for(let _0x23b4d6=0x2;_0x5b5cf3[_0x1dcfbd(0xfd)](_0x23b4d6,_0x4acfce);_0x23b4d6++){const _0x3fcef5=RequestUtil['HttpGetJson'](_0x5b5cf3[_0x1dcfbd(0x9f)](_0x5b5cf3[_0x1dcfbd(0x9f)](_0x5b5cf3['Eyexf'](_0x5b5cf3[_0x1dcfbd(0xcf)](_0x5b5cf3['KNPZD'](_0x5b5cf3['nNsoX'],_0x5b5cf3['JfxPU'](_0x23b4d6,0x1)*0x28),_0x5b5cf3[_0x1dcfbd(0xe5)]),_0x23b4d6*0x28)+_0x5b5cf3[_0x1dcfbd(0xe0)]+_0xd6eb56,_0x5b5cf3['bzssF']),_0x4d87c6),_0x5b5cf3[_0x1dcfbd(0xf7)],'',{'Cookie':_0x56cc30});_0x27abcf[_0x1dcfbd(0x71)](_0x3fcef5);}for(let _0x147b7f=0x1;_0x5b5cf3[_0x1dcfbd(0xfd)](_0x147b7f,_0x4acfce);_0x147b7f++){const _0x1ad36a=await _0x27abcf[_0x147b7f];if(!_0x1ad36a?.[_0x1dcfbd(0x95)]||_0x1ad36a?.[_0x1dcfbd(0xd0)]!==0x0||!_0x1ad36a?.[_0x1dcfbd(0x78)])continue;for(const _0x459791 in _0x1ad36a[_0x1dcfbd(0x78)]){_0xa1acaa[_0x1dcfbd(0x71)](_0x1ad36a['mems'][_0x459791]);}}WebGroupData['GroupData'][_0x1dcfbd(0xb8)](_0xd6eb56,_0xa1acaa),WebGroupData[_0x1dcfbd(0xd9)]['set'](_0xd6eb56,Date['now']());}else _0xa1acaa=_0x4984cf;}catch{return _0xa1acaa;}return _0xa1acaa;}static async['setGroupNotice'](_0x3fc7d2,_0x48c658=''){const _0x1875c8=_0x399313,_0x33e98b={'wKPNE':_0x1875c8(0x8f),'BInNK':function(_0x8a6dea,_0x387d2a){return _0x8a6dea+_0x387d2a;},'XYIfB':function(_0x269eaa,_0x5bf7d3){return _0x269eaa+_0x5bf7d3;},'orbBD':_0x1875c8(0xb5),'flveE':_0x1875c8(0x84),'RtrsH':';\x20p_uin=o','Qiqca':function(_0x2e1eb7,_0xc81dcf){return _0x2e1eb7||_0xc81dcf;},'hjBqu':function(_0x566294,_0x31d6a4){return _0x566294+_0x31d6a4;},'ppxwy':function(_0x26ec75,_0x317162){return _0x26ec75+_0x317162;},'NwMyh':_0x1875c8(0xc5),'PgDQp':_0x1875c8(0x7f),'BmhBS':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','vAGHG':_0x1875c8(0xa7)},_0xf76b75=(await NTQQUserApi[_0x1875c8(0xaf)]([_0x33e98b[_0x1875c8(0x6f)]]))[_0x1875c8(0x8f)],_0x50a73d=await NTQQUserApi[_0x1875c8(0x104)](),_0x50d01e=_0x33e98b[_0x1875c8(0x8b)](_0x33e98b[_0x1875c8(0x8b)](_0x33e98b[_0x1875c8(0x85)](_0x33e98b[_0x1875c8(0x8b)](_0x33e98b[_0x1875c8(0xa2)],_0xf76b75),_0x33e98b[_0x1875c8(0xb4)])+_0x50a73d,_0x33e98b['RtrsH']),selfInfo[_0x1875c8(0xd8)]);let _0x200d33=undefined;if(_0x33e98b[_0x1875c8(0x97)](!_0x50a73d,!_0xf76b75))return undefined;const _0x43ef9c=WebApi[_0x1875c8(0xa6)](_0x50a73d),_0x33b177=_0x33e98b[_0x1875c8(0x103)](_0x33e98b[_0x1875c8(0x8b)](_0x33e98b[_0x1875c8(0x103)](_0x33e98b[_0x1875c8(0x70)](_0x33e98b[_0x1875c8(0x101)],_0x3fc7d2),_0x1875c8(0xd6))+_0x43ef9c,'&text='),_0x48c658)+_0x33e98b[_0x1875c8(0xf1)],_0x16dadd=_0x33e98b[_0x1875c8(0x92)]+_0x43ef9c;try{return _0x200d33=await RequestUtil[_0x1875c8(0xc9)](_0x16dadd,_0x33e98b[_0x1875c8(0xf6)],'',{'Cookie':_0x50d01e}),_0x200d33;}catch(_0xe99162){return undefined;}return undefined;}static async[_0x399313(0xda)](_0x37cb77){const _0x3fc0a2=_0x399313,_0x12e7af={'KPWqX':'qun.qq.com','gRYkk':function(_0x22bac9,_0x4ae227){return _0x22bac9+_0x4ae227;},'OKKfl':function(_0x2dd3ca,_0x2f4360){return _0x2dd3ca+_0x2f4360;},'hJntj':function(_0xd74c58,_0x4e58c){return _0xd74c58+_0x4e58c;},'aeNGH':function(_0x24685e,_0x20d1a3){return _0x24685e+_0x20d1a3;},'dZUHu':_0x3fc0a2(0xb5),'enJOf':_0x3fc0a2(0x84),'EhOuU':_0x3fc0a2(0xf8),'RlalE':function(_0x31694b,_0x4614eb){return _0x31694b||_0x4614eb;},'gybnk':_0x3fc0a2(0x8c),'yBzjQ':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','ZVRKi':_0x3fc0a2(0xa7)},_0x26dd40=(await NTQQUserApi[_0x3fc0a2(0xaf)](['qun.qq.com']))[_0x12e7af[_0x3fc0a2(0xf4)]],_0x2acc18=await NTQQUserApi[_0x3fc0a2(0x104)](),_0xc34224=_0x12e7af['gRYkk'](_0x12e7af[_0x3fc0a2(0xdd)](_0x12e7af['hJntj'](_0x12e7af['gRYkk'](_0x12e7af['aeNGH'](_0x12e7af[_0x3fc0a2(0x73)],_0x26dd40),_0x12e7af[_0x3fc0a2(0xfe)]),_0x2acc18),_0x12e7af['EhOuU']),selfInfo[_0x3fc0a2(0xd8)]);let _0x37eaa0=undefined;if(_0x12e7af[_0x3fc0a2(0xa8)](!_0x2acc18,!_0x26dd40))return undefined;const _0x529861=WebApi['genBkn'](_0x2acc18),_0x56facf=_0x12e7af[_0x3fc0a2(0xdd)](_0x12e7af[_0x3fc0a2(0xe4)](_0x3fc0a2(0x93),_0x529861)+_0x12e7af[_0x3fc0a2(0xc1)],_0x37cb77)+_0x12e7af[_0x3fc0a2(0xff)];try{_0x37eaa0=await RequestUtil[_0x3fc0a2(0xc9)](_0x56facf,_0x12e7af['ZVRKi'],'',{'Cookie':_0xc34224});if(_0x37eaa0?.['ec']!==0x0)return undefined;return _0x37eaa0;}catch(_0x4a1a2b){return undefined;}return undefined;}static[_0x399313(0xa6)](_0x1fe434){const _0x3a84d7=_0x399313,_0x5b7f84={'xCRuC':function(_0x1a9d90,_0x525675){return _0x1a9d90||_0x525675;},'DnxHw':function(_0x4f994e,_0x5e378e){return _0x4f994e+_0x5e378e;},'nHheF':function(_0x560e15,_0x2a8006){return _0x560e15<<_0x2a8006;}};_0x1fe434=_0x5b7f84['xCRuC'](_0x1fe434,'');let _0x44a8ab=0x1505;for(let _0x6eb44=0x0;_0x6eb44<_0x1fe434[_0x3a84d7(0x94)];_0x6eb44++){const _0x270178=_0x1fe434['charCodeAt'](_0x6eb44);_0x44a8ab=_0x5b7f84[_0x3a84d7(0x87)](_0x5b7f84[_0x3a84d7(0x87)](_0x44a8ab,_0x5b7f84[_0x3a84d7(0x79)](_0x44a8ab,0x5)),_0x270178);}return(_0x44a8ab&0x7fffffff)[_0x3a84d7(0x7a)]();}static async[_0x399313(0x90)](_0x18f2f1,_0xddbd99){const _0x588ece=_0x399313,_0x4e98b8={'BoQGt':function(_0x3a7aac,_0x200392){return _0x3a7aac+_0x200392;},'FEmKv':function(_0xe9e41f,_0x560f87){return _0xe9e41f+_0x560f87;},'gxZio':_0x588ece(0xe6),'NmXfy':'&type=','pNZYx':'GET','cfYcL':function(_0x546e68,_0x389728,_0x17dcb0,_0x2a9b){return _0x546e68(_0x389728,_0x17dcb0,_0x2a9b);},'WPnQW':_0x588ece(0x8f),'lzgWk':_0x588ece(0xb5),'pFHEM':_0x588ece(0x84),'iNKwF':_0x588ece(0x107),'lCEUx':function(_0x3d3d2d,_0x4a3110){return _0x3d3d2d===_0x4a3110;},'OScmu':'获取龙王信息失败','mXFal':function(_0x50fba8,_0xfc6215){return _0x50fba8===_0xfc6215;},'fEXAG':function(_0x1d4ac0,_0x2d8ae3,_0x20eae9){return _0x1d4ac0(_0x2d8ae3,_0x20eae9);},'oFWvD':function(_0x3faf32,_0x88e611){return _0x3faf32(_0x88e611);},'qXnlo':function(_0x1d9c66,_0x4b374f,_0x53dc92){return _0x1d9c66(_0x4b374f,_0x53dc92);},'DjBAd':_0x588ece(0x8d),'UBrxz':function(_0x3bcc25,_0x487c48,_0x335868){return _0x3bcc25(_0x487c48,_0x335868);},'AbgQS':_0x588ece(0x8e),'kaEbC':function(_0x43431f,_0xb8ecce){return _0x43431f===_0xb8ecce;}},_0x2dde40=(await NTQQUserApi[_0x588ece(0xaf)]([_0x4e98b8[_0x588ece(0xf3)]]))[_0x4e98b8[_0x588ece(0xf3)]],_0xba5261=await NTQQUserApi['getSkey']();if(!_0xba5261||!_0x2dde40)return undefined;async function _0x4e860a(_0x27c68a,_0xb2f2d0){const _0x823f65=_0x588ece;let _0xb001f5=_0x4e98b8[_0x823f65(0xb1)](_0x4e98b8['FEmKv'](_0x4e98b8['gxZio']+_0x27c68a,_0x4e98b8[_0x823f65(0x91)]),_0xb2f2d0[_0x823f65(0x7a)]()),_0x3d8f98='',_0x26d232;try{_0x3d8f98=await RequestUtil[_0x823f65(0xce)](_0xb001f5,_0x4e98b8[_0x823f65(0x105)],'',{'Cookie':_0xa523d});const _0x5c154c=_0x3d8f98[_0x823f65(0xc0)](/window\.__INITIAL_STATE__=(.*?);/);return _0x5c154c&&(_0x26d232=JSON[_0x823f65(0xfb)](_0x5c154c[0x1]['trim']())),_0xb2f2d0===0x1?_0x26d232?.[_0x823f65(0xc6)]:_0x26d232?.[_0x823f65(0x86)];}catch(_0x5c5767){_0x4e98b8[_0x823f65(0xac)](logDebug,'获取当前群荣耀失败',_0xb001f5,_0x5c5767);}return undefined;}let _0x49c213={'group_id':_0x18f2f1};const _0xa523d=_0x4e98b8[_0x588ece(0xb1)](_0x4e98b8[_0x588ece(0xb1)](_0x4e98b8['BoQGt'](_0x4e98b8[_0x588ece(0xca)](_0x4e98b8[_0x588ece(0xca)](_0x4e98b8[_0x588ece(0xb1)](_0x4e98b8[_0x588ece(0xfa)],_0x2dde40),_0x4e98b8[_0x588ece(0x99)]),_0xba5261),_0x588ece(0xf8))+selfInfo[_0x588ece(0xd8)],_0x4e98b8[_0x588ece(0xfc)]),selfInfo[_0x588ece(0xd8)]);if(_0x4e98b8['lCEUx'](_0xddbd99,WebHonorType[_0x588ece(0xde)])||_0xddbd99===WebHonorType['ALL'])try{let _0xe09971=await _0x4e860a(_0x18f2f1,0x1);if(!_0xe09971)throw new Error(_0x4e98b8[_0x588ece(0xe3)]);_0x49c213['current_talkative']={'user_id':_0xe09971[0x0]?.['uin'],'avatar':_0xe09971[0x0]?.[_0x588ece(0xbb)],'nickname':_0xe09971[0x0]?.[_0x588ece(0xea)],'day_count':0x0,'description':_0xe09971[0x0]?.[_0x588ece(0x102)]},_0x49c213[_0x588ece(0x8a)]=[];for(const _0x598bac of _0xe09971){_0x49c213['talkative_list'][_0x588ece(0x71)]({'user_id':_0x598bac?.[_0x588ece(0xd8)],'avatar':_0x598bac?.[_0x588ece(0xbb)],'description':_0x598bac?.['desc'],'day_count':0x0,'nickname':_0x598bac?.[_0x588ece(0xea)]});}}catch(_0x29f810){logDebug(_0x29f810);}if(_0xddbd99===WebHonorType[_0x588ece(0x89)]||_0x4e98b8['mXFal'](_0xddbd99,WebHonorType['ALL']))try{let _0x2f999f=await _0x4e98b8['fEXAG'](_0x4e860a,_0x18f2f1,0x2);if(!_0x2f999f)throw new Error(_0x588ece(0xf9));_0x49c213[_0x588ece(0x98)]=[];for(const _0x1da002 of _0x2f999f){_0x49c213[_0x588ece(0x98)][_0x588ece(0x71)]({'user_id':_0x1da002?.[_0x588ece(0xd8)],'nickname':_0x1da002?.[_0x588ece(0xea)],'avatar':_0x1da002?.['avatar'],'description':_0x1da002?.[_0x588ece(0x102)]});}}catch(_0x37c69b){_0x4e98b8[_0x588ece(0x109)](logDebug,_0x37c69b);}if(_0x4e98b8[_0x588ece(0xc4)](_0xddbd99,WebHonorType[_0x588ece(0x89)])||_0xddbd99===WebHonorType[_0x588ece(0x88)])try{let _0x4eda15=await _0x4e98b8[_0x588ece(0x7e)](_0x4e860a,_0x18f2f1,0x3);if(!_0x4eda15)throw new Error(_0x4e98b8[_0x588ece(0xcd)]);_0x49c213[_0x588ece(0xad)]=[];for(const _0x68c114 of _0x4eda15){_0x49c213['legend_list']['push']({'user_id':_0x68c114?.[_0x588ece(0xd8)],'nickname':_0x68c114?.[_0x588ece(0xea)],'avatar':_0x68c114?.[_0x588ece(0xbb)],'desc':_0x68c114?.[_0x588ece(0xa9)]});}}catch(_0x537df4){logDebug(_0x4e98b8[_0x588ece(0xcd)],_0x537df4);}if(_0x4e98b8[_0x588ece(0xc4)](_0xddbd99,WebHonorType[_0x588ece(0x9d)])||_0x4e98b8[_0x588ece(0xa5)](_0xddbd99,WebHonorType[_0x588ece(0x88)]))try{let _0xeb6c53=await _0x4e98b8['fEXAG'](_0x4e860a,_0x18f2f1,0x6);if(!_0xeb6c53)throw new Error(_0x588ece(0x8e));_0x49c213[_0x588ece(0xd7)]=[];for(const _0x26d5a9 of _0xeb6c53){_0x49c213['emotion_list'][_0x588ece(0x71)]({'user_id':_0x26d5a9?.[_0x588ece(0xd8)],'nickname':_0x26d5a9?.[_0x588ece(0xea)],'avatar':_0x26d5a9?.[_0x588ece(0xbb)],'desc':_0x26d5a9?.[_0x588ece(0xa9)]});}}catch(_0x226002){_0x4e98b8[_0x588ece(0xab)](logDebug,_0x4e98b8[_0x588ece(0xcc)],_0x226002);}return(_0x4e98b8['kaEbC'](_0xddbd99,WebHonorType[_0x588ece(0x9d)])||_0x4e98b8['lCEUx'](_0xddbd99,WebHonorType['ALL']))&&(_0x49c213['strong_newbie_list']=[]),_0x49c213;}} \ No newline at end of file +const _0x4ce027=_0x5de1;function _0x5de1(_0x10b4da,_0x41835d){const _0x4bd438=_0x4bd4();return _0x5de1=function(_0x5de1ea,_0x27523f){_0x5de1ea=_0x5de1ea-0xaa;let _0x1dc8c4=_0x4bd438[_0x5de1ea];return _0x1dc8c4;},_0x5de1(_0x10b4da,_0x41835d);}(function(_0x577ffc,_0x295c9){const _0x5c29ae=_0x5de1,_0x13e591=_0x577ffc();while(!![]){try{const _0x9cf89d=parseInt(_0x5c29ae(0xe5))/0x1+-parseInt(_0x5c29ae(0x120))/0x2+parseInt(_0x5c29ae(0x13f))/0x3+parseInt(_0x5c29ae(0xb7))/0x4+-parseInt(_0x5c29ae(0xaa))/0x5*(-parseInt(_0x5c29ae(0xac))/0x6)+parseInt(_0x5c29ae(0x111))/0x7*(parseInt(_0x5c29ae(0x114))/0x8)+-parseInt(_0x5c29ae(0x12c))/0x9;if(_0x9cf89d===_0x295c9)break;else _0x13e591['push'](_0x13e591['shift']());}catch(_0x50c1e6){_0x13e591['push'](_0x13e591['shift']());}}}(_0x4bd4,0x5a8a3));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x4bd4(){const _0x4db29d=['5BEFzML','uXlRO','2722626GNOlDZ','performer_list','get','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','NniOT','emotion','count','NopuH','获取群聊之火失败','match','MooId','917312kkaYCm','EMOTION','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','nTeOK','jUXsO','ZcVwG','all','VOgaF','FbGni',';\x20uin=o','OhAUn','mnsfP','qun.qq.com','bHOjP','OJUZB','genBkn','talkativeList','now','QKLiA','retcode','getGroupHonorInfo','p_skey=','CWiNG','ALL','eZDzi','qRSJK','JjchA','getPSkey','PERFROMER','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','HxpNX',';\x20skey=','UpEwQ','wrxpI','set','获取群聊炽焰失败','emotion_list',';\x20p_uin=o','trim','xGImL','MNoOZ','KYjkP','GroupData','qvHrj','mems','tbopV','555050hSBZKv','TALKACTIVE','sZaoa','WHjTU','STORONGE_NEWBI','description','gqXMu','PNLfU','fovkB','pfgYx','wHsWo','tQVON','push','GET','legend','CmaGp','legend_list','TKUkC','lHwgv','hyyLt','sQzfB','KqHKm','strong_newbie_list','setGroupNotice','talkative_list','FCRkp','MTmNy','ZPdST','avatar','hPeus','TlhUm','PrdQW','gVtgg','current_talkative','EdxgA','wOcok','获取当前群荣耀失败','uTWqU','teRxV','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','desc','bwzDe','HttpGetJson','ieFXn','4254663xCdjHf','DxVkG','kscDr','8lmwbmM','YuJiB','&page_limit=20','name','wqVVu','GroupTime','charCodeAt','FWoXu','GOaKy','VePEr','hlbPK','yPZrS','381816agOsNw','imbXq','uin','actorList','SrLnB','uwhCJ','elpQs','cylNq','POST','ahvUO','getGrouptNotice','LEGEND','17471133OvBohT','toString','https://qun.qq.com/interactive/honorlist?gc=','performer','zmmIY','parse','DADCB','fEgOH','qid=','errcode','talkative','awtvl','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','mXooA','sQNOO','&bkn=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','getSkey','fDgJR','1971114czMPCv','tNVJg','nckre','&qid='];_0x4bd4=function(){return _0x4db29d;};return _0x4bd4();}export var WebHonorType;(function(_0x548e8e){const _0xdb3ccd=_0x5de1,_0x3fb0c1={'PrdQW':_0xdb3ccd(0xce),'GcVPy':_0xdb3ccd(0xbd),'xaeuo':_0xdb3ccd(0xe6),'DxVkG':_0xdb3ccd(0x136),'eiIIe':_0xdb3ccd(0xd3),'DADCB':_0xdb3ccd(0x12b),'wOcok':_0xdb3ccd(0xf3),'lHwgv':_0xdb3ccd(0xe9),'awtvl':'strong_newbie','sQzfB':'EMOTION','xGImL':_0xdb3ccd(0xb1)};_0x548e8e[_0x3fb0c1[_0xdb3ccd(0x104)]]=_0x3fb0c1['GcVPy'],_0x548e8e[_0x3fb0c1['xaeuo']]=_0x3fb0c1[_0xdb3ccd(0x112)],_0x548e8e[_0x3fb0c1['eiIIe']]=_0xdb3ccd(0x12f),_0x548e8e[_0x3fb0c1[_0xdb3ccd(0x132)]]=_0x3fb0c1[_0xdb3ccd(0x108)],_0x548e8e[_0x3fb0c1[_0xdb3ccd(0xf7)]]=_0x3fb0c1[_0xdb3ccd(0x137)],_0x548e8e[_0x3fb0c1[_0xdb3ccd(0xf9)]]=_0x3fb0c1[_0xdb3ccd(0xde)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x36584b,_0x25684d){const _0x142dc9=_0x5de1,_0x23296b={'bwzDe':_0x142dc9(0xc3),'SrLnB':function(_0x1ec5af,_0xcf724e){return _0x1ec5af+_0xcf724e;},'CmaGp':function(_0x5f0854,_0x305d46){return _0x5f0854+_0x305d46;},'WFZRg':function(_0x12e048,_0xfffcbc){return _0x12e048+_0xfffcbc;},'TlhUm':function(_0x53f397,_0x1a525f){return _0x53f397+_0x1a525f;},'qRSJK':function(_0x3472af,_0x43b900){return _0x3472af+_0x43b900;},'KYjkP':_0x142dc9(0xcc),'hkrPA':_0x142dc9(0xd6),'GOaKy':';\x20p_uin=o','pfgYx':';\x20uin=o','OhAUn':function(_0x166245,_0x189c59){return _0x166245+_0x189c59;},'tNVJg':function(_0x47c2b1,_0x1f77ee){return _0x47c2b1+_0x1f77ee;},'hPeus':function(_0x504adf,_0x43b57c){return _0x504adf+_0x43b57c;},'qvHrj':function(_0x4f3a91,_0x154174){return _0x4f3a91+_0x154174;},'ZGuRN':'&group_code=','jUXsO':'&page_start=','nTeOK':_0x142dc9(0x116),'cBQCm':_0x142dc9(0xf2)},_0x259c9d=(await NTQQUserApi[_0x142dc9(0xd2)]([_0x23296b[_0x142dc9(0x10e)]]))[_0x23296b[_0x142dc9(0x10e)]],_0x47cd57=await NTQQUserApi[_0x142dc9(0x13d)](),_0x233f45=_0x23296b[_0x142dc9(0x124)](_0x23296b[_0x142dc9(0xf4)](_0x23296b[_0x142dc9(0x124)](_0x23296b['WFZRg'](_0x23296b[_0x142dc9(0x103)](_0x23296b[_0x142dc9(0xd0)](_0x23296b[_0x142dc9(0xe0)],_0x259c9d)+_0x23296b['hkrPA'],_0x47cd57),_0x23296b[_0x142dc9(0x11c)]),selfInfo[_0x142dc9(0x122)]),_0x23296b[_0x142dc9(0xee)]),selfInfo['uin']);if(!_0x47cd57||!_0x259c9d)return undefined;const _0x434b82=WebApi[_0x142dc9(0xc6)](_0x47cd57),_0x1617cf=_0x23296b[_0x142dc9(0xc1)](_0x23296b[_0x142dc9(0x140)](_0x23296b[_0x142dc9(0x102)](_0x23296b[_0x142dc9(0xe2)](_0x142dc9(0x13c),_0x434b82)+_0x23296b['ZGuRN'],_0x36584b),_0x23296b[_0x142dc9(0xbb)]),_0x25684d)+_0x23296b[_0x142dc9(0xba)];let _0x4c800b;try{_0x4c800b=await RequestUtil[_0x142dc9(0x10f)](_0x1617cf,_0x23296b['cBQCm'],'',{'Cookie':_0x233f45});}catch{return undefined;}if(_0x4c800b[_0x142dc9(0xca)]!==0x0)return undefined;return _0x4c800b;}static async['getGroupMembers'](_0x3e6118,_0x12fd23=!![]){const _0x4064d3=_0x5de1,_0x4b3349={'fYJfH':function(_0xf67eb0,_0x58d07f){return _0xf67eb0>_0x58d07f;},'uTWqU':function(_0x30bc38,_0x1f0043){return _0x30bc38-_0x1f0043;},'sZaoa':function(_0x39fe56,_0x4c9943){return _0x39fe56*_0x4c9943;},'UpEwQ':_0x4064d3(0xc3),'ieFXn':function(_0x20cefb,_0xbf3a38){return _0x20cefb+_0xbf3a38;},'wrxpI':function(_0x3ff021,_0xc19e71){return _0x3ff021+_0xc19e71;},'qDHCA':_0x4064d3(0xcc),'NniOT':';\x20skey=','wHsWo':_0x4064d3(0xdc),'QKLiA':function(_0x515325,_0x4ef101){return _0x515325||_0x4ef101;},'fovkB':function(_0x8390b2,_0x105e9a){return _0x8390b2+_0x105e9a;},'rESbU':_0x4064d3(0x10c),'wqVVu':_0x4064d3(0x13b),'uwhCJ':function(_0x2f1518,_0x5164a2){return _0x2f1518!==_0x5164a2;},'FLAoB':function(_0x648efc,_0x1c1bcb){return _0x648efc/_0x1c1bcb;},'zmmIY':function(_0x5bb43,_0x2d250e){return _0x5bb43<=_0x2d250e;},'FbGni':function(_0x24ae6e,_0x1d5ad1){return _0x24ae6e+_0x1d5ad1;},'yToPk':function(_0x3306ef,_0x2e47ff){return _0x3306ef+_0x2e47ff;},'OJUZB':_0x4064d3(0xb9),'kscDr':function(_0x1ec23a,_0x506a5f){return _0x1ec23a*_0x506a5f;},'eilBw':'&end=','NopuH':'&sort=1&gc=','AQYqf':_0x4064d3(0x128),'ZcVwG':function(_0x28e395,_0xd6bb03){return _0x28e395<=_0xd6bb03;}};let _0x59d357=new Array();try{let _0x475409=WebGroupData[_0x4064d3(0xe1)][_0x4064d3(0xae)](_0x3e6118),_0x5aca16=WebGroupData[_0x4064d3(0x119)][_0x4064d3(0xae)](_0x3e6118);if(!_0x5aca16||_0x4b3349['fYJfH'](_0x4b3349[_0x4064d3(0x10a)](Date['now'](),_0x5aca16),_0x4b3349[_0x4064d3(0xe7)](0x708,0x3e8))||!_0x12fd23){const _0x11dce2=(await NTQQUserApi[_0x4064d3(0xd2)]([_0x4064d3(0xc3)]))[_0x4b3349[_0x4064d3(0xd7)]],_0x3a55b7=await NTQQUserApi['getSkey'](),_0x122149=_0x4b3349[_0x4064d3(0x110)](_0x4b3349[_0x4064d3(0xd8)](_0x4b3349[_0x4064d3(0x110)](_0x4b3349['wrxpI'](_0x4b3349['qDHCA']+_0x11dce2,_0x4b3349[_0x4064d3(0xb0)]),_0x3a55b7),_0x4b3349[_0x4064d3(0xef)]),selfInfo[_0x4064d3(0x122)]);if(_0x4b3349[_0x4064d3(0xc9)](!_0x3a55b7,!_0x11dce2))return _0x59d357;const _0x447ee4=WebApi[_0x4064d3(0xc6)](_0x3a55b7),_0x2db4ba=[],_0x523e5d=await RequestUtil['HttpGetJson'](_0x4b3349['wrxpI'](_0x4b3349[_0x4064d3(0xed)](_0x4b3349['wrxpI'](_0x4b3349['rESbU'],_0x3e6118),_0x4b3349[_0x4064d3(0x118)]),_0x447ee4),_0x4064d3(0x128),'',{'Cookie':_0x122149});if(!_0x523e5d?.[_0x4064d3(0xb2)]||_0x4b3349[_0x4064d3(0x125)](_0x523e5d?.[_0x4064d3(0x135)],0x0)||!_0x523e5d?.[_0x4064d3(0xe3)])return[];else for(const _0x220e7d in _0x523e5d[_0x4064d3(0xe3)]){_0x59d357[_0x4064d3(0xf1)](_0x523e5d[_0x4064d3(0xe3)][_0x220e7d]);}const _0x1bc591=Math['ceil'](_0x4b3349['FLAoB'](_0x523e5d[_0x4064d3(0xb2)],0x28));for(let _0x38c6a0=0x2;_0x4b3349[_0x4064d3(0x130)](_0x38c6a0,_0x1bc591);_0x38c6a0++){const _0xf1c398=RequestUtil[_0x4064d3(0x10f)](_0x4b3349[_0x4064d3(0xd8)](_0x4b3349['ieFXn'](_0x4b3349[_0x4064d3(0xd8)](_0x4b3349[_0x4064d3(0xbf)](_0x4b3349[_0x4064d3(0xed)](_0x4b3349['yToPk'](_0x4b3349[_0x4064d3(0xc5)],_0x4b3349[_0x4064d3(0x113)](_0x38c6a0-0x1,0x28)),_0x4b3349['eilBw']),_0x38c6a0*0x28),_0x4b3349[_0x4064d3(0xb3)]),_0x3e6118)+_0x4b3349['wqVVu'],_0x447ee4),_0x4b3349['AQYqf'],'',{'Cookie':_0x122149});_0x2db4ba[_0x4064d3(0xf1)](_0xf1c398);}for(let _0x1a4b04=0x1;_0x4b3349[_0x4064d3(0xbc)](_0x1a4b04,_0x1bc591);_0x1a4b04++){const _0x4ab890=await _0x2db4ba[_0x1a4b04];if(!_0x4ab890?.[_0x4064d3(0xb2)]||_0x4b3349['uwhCJ'](_0x4ab890?.[_0x4064d3(0x135)],0x0)||!_0x4ab890?.[_0x4064d3(0xe3)])continue;for(const _0x33040c in _0x4ab890[_0x4064d3(0xe3)]){_0x59d357[_0x4064d3(0xf1)](_0x4ab890[_0x4064d3(0xe3)][_0x33040c]);}}WebGroupData['GroupData'][_0x4064d3(0xd9)](_0x3e6118,_0x59d357),WebGroupData[_0x4064d3(0x119)][_0x4064d3(0xd9)](_0x3e6118,Date[_0x4064d3(0xc8)]());}else _0x59d357=_0x475409;}catch{return _0x59d357;}return _0x59d357;}static async[_0x4ce027(0xfc)](_0x4caef9,_0x2910ee=''){const _0x1de3ba=_0x4ce027,_0x4eeb8b={'tQVON':_0x1de3ba(0xc3),'mnsfP':function(_0x2641d7,_0x36d97c){return _0x2641d7+_0x36d97c;},'MooId':function(_0x94d9ab,_0x5bab35){return _0x94d9ab+_0x5bab35;},'FWoXu':'p_skey=','tsKBJ':_0x1de3ba(0xd6),'KqHKm':_0x1de3ba(0xdc),'rkLFO':function(_0x2bcb3e,_0x2ce086){return _0x2bcb3e||_0x2ce086;},'ahvUO':function(_0xe5e988,_0x18c173){return _0xe5e988+_0x18c173;},'hlbPK':_0x1de3ba(0x134),'MJBTe':'&bkn=','JjchA':'&text=','LgURb':_0x1de3ba(0x138),'PNLfU':function(_0x142b7d,_0x365e51){return _0x142b7d+_0x365e51;},'EdxgA':_0x1de3ba(0xd4)},_0x598de7=(await NTQQUserApi[_0x1de3ba(0xd2)]([_0x4eeb8b['tQVON']]))[_0x4eeb8b[_0x1de3ba(0xf0)]],_0x1eb823=await NTQQUserApi[_0x1de3ba(0x13d)](),_0x501f3d=_0x4eeb8b[_0x1de3ba(0xc2)](_0x4eeb8b[_0x1de3ba(0xc2)](_0x4eeb8b[_0x1de3ba(0xb6)](_0x4eeb8b[_0x1de3ba(0xc2)](_0x4eeb8b[_0x1de3ba(0x11b)],_0x598de7),_0x4eeb8b['tsKBJ']),_0x1eb823)+_0x4eeb8b[_0x1de3ba(0xfa)],selfInfo[_0x1de3ba(0x122)]);let _0x18ad09=undefined;if(_0x4eeb8b['rkLFO'](!_0x1eb823,!_0x598de7))return undefined;const _0x17c88c=WebApi[_0x1de3ba(0xc6)](_0x1eb823),_0x56f5f8=_0x4eeb8b[_0x1de3ba(0xb6)](_0x4eeb8b[_0x1de3ba(0x129)](_0x4eeb8b[_0x1de3ba(0x11e)]+_0x4caef9+_0x4eeb8b['MJBTe']+_0x17c88c,_0x4eeb8b[_0x1de3ba(0xd1)])+_0x2910ee,_0x4eeb8b['LgURb']),_0x294a1c=_0x4eeb8b[_0x1de3ba(0xec)](_0x4eeb8b[_0x1de3ba(0x107)],_0x17c88c);try{return _0x18ad09=await RequestUtil[_0x1de3ba(0x10f)](_0x294a1c,_0x1de3ba(0xf2),'',{'Cookie':_0x501f3d}),_0x18ad09;}catch(_0x37980e){return undefined;}return undefined;}static async[_0x4ce027(0x12a)](_0x26f1da){const _0x2e216e=_0x4ce027,_0x18e36f={'WHjTU':_0x2e216e(0xc3),'hyyLt':function(_0x1f9276,_0x3d8b60){return _0x1f9276+_0x3d8b60;},'bHOjP':function(_0x42828e,_0x188a33){return _0x42828e+_0x188a33;},'fEgOH':_0x2e216e(0xcc),'eZDzi':_0x2e216e(0xd6),'ZPdST':function(_0x690630,_0x334ba9){return _0x690630||_0x334ba9;},'yPZrS':function(_0x5755cd,_0x465e82){return _0x5755cd+_0x465e82;},'aPCqV':function(_0x56320c,_0x33175a){return _0x56320c+_0x33175a;},'lxCaQ':function(_0x56587e,_0x1571d6){return _0x56587e+_0x1571d6;},'CWiNG':_0x2e216e(0x142),'eOTyS':_0x2e216e(0xaf),'FCRkp':_0x2e216e(0xf2),'MTmNy':function(_0x4dc8a8,_0x2cee61){return _0x4dc8a8!==_0x2cee61;}},_0x42b61d=(await NTQQUserApi['getPSkey']([_0x2e216e(0xc3)]))[_0x18e36f[_0x2e216e(0xe8)]],_0x478cb1=await NTQQUserApi[_0x2e216e(0x13d)](),_0x20c8cd=_0x18e36f[_0x2e216e(0xf8)](_0x18e36f[_0x2e216e(0xc4)](_0x18e36f[_0x2e216e(0x133)]+_0x42b61d+_0x18e36f[_0x2e216e(0xcf)],_0x478cb1),_0x2e216e(0xdc))+selfInfo['uin'];let _0x569af3=undefined;if(_0x18e36f[_0x2e216e(0x100)](!_0x478cb1,!_0x42b61d))return undefined;const _0xa4ddf6=WebApi[_0x2e216e(0xc6)](_0x478cb1),_0x243e9d=_0x18e36f[_0x2e216e(0x11f)](_0x18e36f['aPCqV'](_0x18e36f[_0x2e216e(0x11f)](_0x18e36f['lxCaQ']('https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',_0xa4ddf6),_0x18e36f[_0x2e216e(0xcd)]),_0x26f1da),_0x18e36f['eOTyS']);try{_0x569af3=await RequestUtil[_0x2e216e(0x10f)](_0x243e9d,_0x18e36f[_0x2e216e(0xfe)],'',{'Cookie':_0x20c8cd});if(_0x18e36f[_0x2e216e(0xff)](_0x569af3?.['ec'],0x0))return undefined;return _0x569af3;}catch(_0x5ad553){return undefined;}return undefined;}static[_0x4ce027(0xc6)](_0x2f7c75){const _0x51b562=_0x4ce027,_0x51eac9={'VePEr':function(_0x1d75b5,_0x381b31){return _0x1d75b5||_0x381b31;},'MNoOZ':function(_0x5bb586,_0x343cf4){return _0x5bb586+_0x343cf4;},'gVtgg':function(_0x3ff52c,_0x103d80){return _0x3ff52c<<_0x103d80;}};_0x2f7c75=_0x51eac9[_0x51b562(0x11d)](_0x2f7c75,'');let _0x353c27=0x1505;for(let _0x5885f3=0x0;_0x5885f3<_0x2f7c75['length'];_0x5885f3++){const _0x3d7746=_0x2f7c75[_0x51b562(0x11a)](_0x5885f3);_0x353c27=_0x51eac9[_0x51b562(0xdf)](_0x353c27,_0x51eac9[_0x51b562(0x105)](_0x353c27,0x5))+_0x3d7746;}return(_0x353c27&0x7fffffff)[_0x51b562(0x12d)]();}static async[_0x4ce027(0xcb)](_0x5b6795,_0x51f1a2){const _0x5cfa4b=_0x4ce027,_0x5a6b1d={'zrwyR':function(_0x177a35,_0x46dd6e){return _0x177a35+_0x46dd6e;},'fDgJR':function(_0x3a1caa,_0x1d63b9){return _0x3a1caa+_0x1d63b9;},'YuJiB':_0x5cfa4b(0xf2),'ZNWBe':function(_0x14568f,_0x31bf5e,_0x47fc73,_0x113f3e){return _0x14568f(_0x31bf5e,_0x47fc73,_0x113f3e);},'oOrGi':function(_0x158f8a,_0x5efbd5){return _0x158f8a||_0x5efbd5;},'CMvuk':function(_0xef9ea6,_0x4856e9){return _0xef9ea6+_0x4856e9;},'HxpNX':function(_0x5a751e,_0xba64a3){return _0x5a751e+_0xba64a3;},'gqXMu':function(_0xb65ba7,_0x37b4ef){return _0xb65ba7+_0x37b4ef;},'mXooA':'p_skey=','GmJYd':_0x5cfa4b(0xd6),'cylNq':';\x20p_uin=o','elpQs':_0x5cfa4b(0xc0),'sQNOO':function(_0x1d2322,_0x31539b){return _0x1d2322===_0x31539b;},'VOgaF':function(_0x439174,_0x8a4353){return _0x439174===_0x8a4353;},'TKUkC':'获取龙王信息失败','tbopV':function(_0x48a270,_0x251c8d){return _0x48a270(_0x251c8d);},'uXlRO':function(_0xcf9799,_0x3bfb90,_0x128d47){return _0xcf9799(_0x3bfb90,_0x128d47);},'PBiRh':_0x5cfa4b(0xb4),'nckre':_0x5cfa4b(0xda),'teRxV':function(_0x197fc5,_0x29d944){return _0x197fc5===_0x29d944;},'imbXq':'获取快乐源泉失败'},_0x1db4e7=(await NTQQUserApi[_0x5cfa4b(0xd2)]([_0x5cfa4b(0xc3)]))[_0x5cfa4b(0xc3)],_0x32dec8=await NTQQUserApi[_0x5cfa4b(0x13d)]();if(_0x5a6b1d['oOrGi'](!_0x32dec8,!_0x1db4e7))return undefined;async function _0x5e0f5d(_0x50cc4a,_0x5ceff4){const _0x2ce175=_0x5cfa4b;let _0x40ddbc=_0x5a6b1d['zrwyR'](_0x5a6b1d[_0x2ce175(0x13e)](_0x2ce175(0x12e),_0x50cc4a)+'&type=',_0x5ceff4[_0x2ce175(0x12d)]()),_0x30b45c='',_0xc20f43;try{_0x30b45c=await RequestUtil['HttpGetText'](_0x40ddbc,_0x5a6b1d[_0x2ce175(0x115)],'',{'Cookie':_0x13cdf6});const _0x3570c2=_0x30b45c[_0x2ce175(0xb5)](/window\.__INITIAL_STATE__=(.*?);/);return _0x3570c2&&(_0xc20f43=JSON[_0x2ce175(0x131)](_0x3570c2[0x1][_0x2ce175(0xdd)]())),_0x5ceff4===0x1?_0xc20f43?.[_0x2ce175(0xc7)]:_0xc20f43?.[_0x2ce175(0x123)];}catch(_0x7295ba){_0x5a6b1d['ZNWBe'](logDebug,_0x2ce175(0x109),_0x40ddbc,_0x7295ba);}return undefined;}let _0x1ff459={'group_id':_0x5b6795};const _0x13cdf6=_0x5a6b1d['CMvuk'](_0x5a6b1d['CMvuk'](_0x5a6b1d[_0x5cfa4b(0xd5)](_0x5a6b1d[_0x5cfa4b(0xeb)](_0x5a6b1d[_0x5cfa4b(0x139)],_0x1db4e7),_0x5a6b1d['GmJYd']),_0x32dec8)+_0x5a6b1d[_0x5cfa4b(0x127)]+selfInfo[_0x5cfa4b(0x122)]+_0x5a6b1d[_0x5cfa4b(0x126)],selfInfo['uin']);if(_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xe6)])||_0x5a6b1d[_0x5cfa4b(0xbe)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))try{let _0x269b8b=await _0x5e0f5d(_0x5b6795,0x1);if(!_0x269b8b)throw new Error(_0x5a6b1d[_0x5cfa4b(0xf6)]);_0x1ff459[_0x5cfa4b(0x106)]={'user_id':_0x269b8b[0x0]?.[_0x5cfa4b(0x122)],'avatar':_0x269b8b[0x0]?.['avatar'],'nickname':_0x269b8b[0x0]?.[_0x5cfa4b(0x117)],'day_count':0x0,'description':_0x269b8b[0x0]?.[_0x5cfa4b(0x10d)]},_0x1ff459[_0x5cfa4b(0xfd)]=[];for(const _0x2fabd0 of _0x269b8b){_0x1ff459['talkative_list']['push']({'user_id':_0x2fabd0?.['uin'],'avatar':_0x2fabd0?.[_0x5cfa4b(0x101)],'description':_0x2fabd0?.[_0x5cfa4b(0x10d)],'day_count':0x0,'nickname':_0x2fabd0?.[_0x5cfa4b(0x117)]});}}catch(_0x522d44){_0x5a6b1d[_0x5cfa4b(0xe4)](logDebug,_0x522d44);}if(_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xd3)])||_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))try{let _0x1ec67a=await _0x5a6b1d['uXlRO'](_0x5e0f5d,_0x5b6795,0x2);if(!_0x1ec67a)throw new Error(_0x5a6b1d['PBiRh']);_0x1ff459[_0x5cfa4b(0xad)]=[];for(const _0x5106a4 of _0x1ec67a){_0x1ff459[_0x5cfa4b(0xad)][_0x5cfa4b(0xf1)]({'user_id':_0x5106a4?.['uin'],'nickname':_0x5106a4?.[_0x5cfa4b(0x117)],'avatar':_0x5106a4?.[_0x5cfa4b(0x101)],'description':_0x5106a4?.['desc']});}}catch(_0x38ffec){logDebug(_0x38ffec);}if(_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xd3)])||_0x5a6b1d[_0x5cfa4b(0x13a)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))try{let _0x555d03=await _0x5e0f5d(_0x5b6795,0x3);if(!_0x555d03)throw new Error(_0x5a6b1d[_0x5cfa4b(0x141)]);_0x1ff459['legend_list']=[];for(const _0x24a40b of _0x555d03){_0x1ff459[_0x5cfa4b(0xf5)][_0x5cfa4b(0xf1)]({'user_id':_0x24a40b?.[_0x5cfa4b(0x122)],'nickname':_0x24a40b?.[_0x5cfa4b(0x117)],'avatar':_0x24a40b?.[_0x5cfa4b(0x101)],'desc':_0x24a40b?.[_0x5cfa4b(0xea)]});}}catch(_0x3f91d7){_0x5a6b1d[_0x5cfa4b(0xab)](logDebug,_0x5a6b1d[_0x5cfa4b(0x141)],_0x3f91d7);}if(_0x5a6b1d['teRxV'](_0x51f1a2,WebHonorType['EMOTION'])||_0x5a6b1d[_0x5cfa4b(0x10b)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))try{let _0x3f83d2=await _0x5e0f5d(_0x5b6795,0x6);if(!_0x3f83d2)throw new Error(_0x5a6b1d[_0x5cfa4b(0x121)]);_0x1ff459['emotion_list']=[];for(const _0x5896d4 of _0x3f83d2){_0x1ff459[_0x5cfa4b(0xdb)][_0x5cfa4b(0xf1)]({'user_id':_0x5896d4?.['uin'],'nickname':_0x5896d4?.[_0x5cfa4b(0x117)],'avatar':_0x5896d4?.[_0x5cfa4b(0x101)],'desc':_0x5896d4?.['description']});}}catch(_0x14b348){logDebug(_0x5a6b1d[_0x5cfa4b(0x121)],_0x14b348);}return(_0x51f1a2===WebHonorType[_0x5cfa4b(0xb8)]||_0x5a6b1d[_0x5cfa4b(0xbe)](_0x51f1a2,WebHonorType[_0x5cfa4b(0xce)]))&&(_0x1ff459[_0x5cfa4b(0xfb)]=[]),_0x1ff459;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index b910e3d0..8eb0d336 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x5078fd=_0x3ed9;(function(_0x5e6983,_0x88fd96){const _0x38b0ec=_0x3ed9,_0xcb60a0=_0x5e6983();while(!![]){try{const _0x4436e8=-parseInt(_0x38b0ec(0x23a))/0x1*(parseInt(_0x38b0ec(0x245))/0x2)+parseInt(_0x38b0ec(0x1f4))/0x3+-parseInt(_0x38b0ec(0x248))/0x4+parseInt(_0x38b0ec(0x232))/0x5+-parseInt(_0x38b0ec(0x1f0))/0x6*(-parseInt(_0x38b0ec(0x228))/0x7)+parseInt(_0x38b0ec(0x257))/0x8*(parseInt(_0x38b0ec(0x1fe))/0x9)+parseInt(_0x38b0ec(0x1e7))/0xa*(parseInt(_0x38b0ec(0x223))/0xb);if(_0x4436e8===_0x88fd96)break;else _0xcb60a0['push'](_0xcb60a0['shift']());}catch(_0x16f397){_0xcb60a0['push'](_0xcb60a0['shift']());}}}(_0x369b,0xedef1));import _0x5044cd from'@/core/wrapper';function _0x369b(){const _0x410a59=['LocalLoginInfoList','V1_WIN_NQ_','XHekb','initConfig','qrLogin','stringify','FhUPg','mRzYB','./.config/QQ','IgaVU','onMsgInfoListUpdate','undefined','getBuddyList','initSession','NodeIDispatcherAdapter','replace','NodeIDependsAdapter','NodeIKernelLoginService','[KickedOffLine]\x20[','PjBBS','118833xahrjc','addKernelGroupListener','YKkJb','onLoginFailed','onLoginSuccess','351337IrIFCM','HSNuv','fileLog','jaEgc','zNUTa','NZIyk','getNTUserDataInfoConfig','WWZDI','infos','_GW_B','198875XYlpXu','gNvmX','createHash','ntqBN','mUnKn','createMemberListScene','GroupListener','ZiRCW','20707mjOJgj','mkdirSync','数据库初始化失败','NodeIKernelSessionListener','quickLogin','message_sent','md5','onQRCodeLoginSucceed','svrVh','qrcodeUrl','dataPathGlobal','28URHYLu','data:image/png;base64,','getBuddyService','7643376JHmmNS','hPZYJ','\x20has\x20no\x20method\x20','NodeIQQNTWrapperEngine','-v2.db','has','consoleLogLevel','jAtsG','initSession\x20failed','BKPbH','getMsgByLongId','util','onGroupListUpdate','onBuddyListChange','tmuTc','1751584jSPKMS','floor','onLoginSuccessFuncList','./nt_qq/global','getQRCodePicture','Ckjfc','packet_received','快速登录不可用','fileLogLevel','curVersion','getProfileService','hex','qCMjw','assign','xeJnl','登录失败','proxyHandler','FjqUI','MbafA','uid','NodeIGlobalAdapter','bVgYN','push','getGroupService','engine','split','XGfGi','BuddyListener','name','tipsDesc','initDataListener','init','message_received','QaolI','uin','groupCode','getMsgService','快速登录失败\x20','onQRCodeSessionFailed','Mywpv','session','resolve','Windows\x2010\x20Pro','EInku','QURRV','ProfileListener','digest','NodeIKernelProfileListener','sWvVc','from','onLineDev','sGwIa','tipsTitle','NodeQQNTWrapperUtil','nBYmX','NodeIKernelGroupListener','vpYne','map','clientType','loginListener','set','dataPath','onMemberInfoChange','catch','passwordLogin','get','init\x20failed\x20','etItw','duhdN','onQRCodeGetPicture','onProfileDetailInfoChanged','packet_sent','140022013','now','opKXH','pngBase64QrcodeData','addKernelLoginListener','nJUaT','memberCount','JXAly','updateMsg','forEach','20uDbGPA','last_message_time','result','then','kGfPx','getLoginList','delete','addKernelMsgListener','startNT','204tavmTS','账号设备(','MplBr','groupMemberList_MainWindow','2251800SeHfRC','loginErrorInfo','homedir','isQuickLogin','getNextMemberList','kUrWo','constructor','quickLoginWithUin','NodeIQQNTWrapperSession','NodeIKernelMsgListener','27jDioVU','sceneId','onUserLoggedIn','当前账号(','msgId','onRecvMsg','loginService','read','isDelete','recallTime','onKickedOffLine','addMsg','base64','find','initWithDeskTopConfig','addListener','addKernelBuddyListener'];_0x369b=function(){return _0x410a59;};return _0x369b();}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x43f16d from'node:path';function _0x3ed9(_0x5c11d9,_0xcf6da8){const _0x369bab=_0x369b();return _0x3ed9=function(_0x3ed9d4,_0x5a4b6d){_0x3ed9d4=_0x3ed9d4-0x19a;let _0xac7128=_0x369bab[_0x3ed9d4];return _0xac7128;},_0x3ed9(_0x5c11d9,_0xcf6da8);}import _0x161a78 from'node:os';import _0x33ba76 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 _0x479c88 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x5078fd(0x1bd)];[_0x5078fd(0x253)];[_0x5078fd(0x1ad)];['loginListener'];['loginService'];[_0x5078fd(0x259)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x9675e9=_0x5078fd,oejxjV={'sGwIa':function(callee,param1){return callee(param1);},'tmuTc':function(x,y){return x===y;},'Ckjfc':_0x9675e9(0x21a)};if(oejxjV[_0x9675e9(0x256)](typeof target[prop],oejxjV[_0x9675e9(0x19a)]))return(...args)=>{const _0x494beb=_0x9675e9;oejxjV[_0x494beb(0x1c8)](logDebug,target[_0x494beb(0x1fa)][_0x494beb(0x1b1)]+_0x494beb(0x24a)+prop);};return Reflect[_0x9675e9(0x1d6)](target,prop,receiver);}};constructor(){const _0x547905=_0x5078fd,_0x2466c6={'WWZDI':function(_0x86f3d8,_0x39e61c){return _0x86f3d8(_0x39e61c);},'JXAly':function(_0x203705,_0x3c09a5){return _0x203705+_0x3c09a5;},'IgaVU':_0x547905(0x201),'QURRV':')已登录,无法重复登录','xeJnl':_0x547905(0x23c),'gNvmX':function(_0x191822,_0x41007d,_0x1c9e4b){return _0x191822(_0x41007d,_0x1c9e4b);},'FjqUI':function(_0x1999ef,_0x38f4bd){return _0x1999ef(_0x38f4bd);},'duhdN':'./NapCat/data','mRzYB':function(_0x5251b0,_0x221c8f,_0x3e6228){return _0x5251b0(_0x221c8f,_0x3e6228);},'HShtr':'本账号数据/缓存目录:','abTnI':function(_0x27cd1b,_0x32329a,_0x50744b){return _0x27cd1b(_0x32329a,_0x50744b);},'BKPbH':_0x547905(0x1a4),'etItw':function(_0x469ded,_0x4ddbdf){return _0x469ded==_0x4ddbdf;},'PlTPc':function(_0x43a15d,_0x27a338){return _0x43a15d==_0x27a338;}};this[_0x547905(0x1ad)]=new _0x5044cd[(_0x547905(0x24b))](),this['util']=new _0x5044cd[(_0x547905(0x1ca))](),this['loginService']=new _0x5044cd[(_0x547905(0x220))](),this['session']=new _0x5044cd[(_0x547905(0x1fc))](),this[_0x547905(0x1d0)]=new LoginListener(),this[_0x547905(0x1d0)][_0x547905(0x200)]=_0x3b5e91=>{const _0x2fe88d=_0x547905;_0x2466c6[_0x2fe88d(0x22f)](logError,_0x2466c6[_0x2fe88d(0x1e4)](_0x2466c6[_0x2fe88d(0x1e4)](_0x2466c6[_0x2fe88d(0x218)],_0x3b5e91),_0x2466c6[_0x2fe88d(0x1c1)]));},this[_0x547905(0x1d0)][_0x547905(0x241)]=_0x562def=>{const _0x31f9b0=_0x547905;this[_0x31f9b0(0x21c)](_0x562def[_0x31f9b0(0x1b7)],_0x562def[_0x31f9b0(0x1a8)])[_0x31f9b0(0x1ea)](_0x23ac34=>{const _0xcebaa8=_0x31f9b0,_0x4db9a3={'vpYne':function(_0x3880d8,_0x197662,_0x3f4c95){return _0x3880d8(_0x197662,_0x3f4c95);},'SBDIO':_0x2466c6[_0xcebaa8(0x1a3)]};selfInfo[_0xcebaa8(0x1b7)]=_0x562def['uin'],selfInfo[_0xcebaa8(0x1a8)]=_0x562def[_0xcebaa8(0x1a8)],napCatConfig[_0xcebaa8(0x205)](),_0x2466c6['gNvmX'](setLogLevel,napCatConfig[_0xcebaa8(0x19d)],napCatConfig[_0xcebaa8(0x24e)]),_0x2466c6[_0xcebaa8(0x22f)](enableFileLog,napCatConfig[_0xcebaa8(0x22a)]),_0x2466c6['WWZDI'](enableConsoleLog,napCatConfig['consoleLog']),_0x2466c6[_0xcebaa8(0x1a6)](setLogSelfInfo,selfInfo);const _0x310c8f=_0x43f16d[_0xcebaa8(0x1be)](this[_0xcebaa8(0x1d2)],_0x2466c6[_0xcebaa8(0x1d9)]);_0x33ba76[_0xcebaa8(0x23b)](_0x310c8f,{'recursive':!![]}),_0x2466c6[_0xcebaa8(0x216)](logDebug,_0x2466c6['HShtr'],_0x310c8f),dbUtil[_0xcebaa8(0x1b4)](_0x43f16d[_0xcebaa8(0x1be)](_0x310c8f,'./'+_0x562def['uin']+_0xcebaa8(0x24c)))['then'](()=>{const _0x2049a0=_0xcebaa8,_0x1409f3={'HSNuv':function(_0x48e185,_0x47ad8e,_0x67c446){const _0x38e06e=_0x3ed9;return _0x4db9a3[_0x38e06e(0x1cd)](_0x48e185,_0x47ad8e,_0x67c446);}};this[_0x2049a0(0x1b3)](),this[_0x2049a0(0x259)][_0x2049a0(0x1ce)](_0x8325ac=>{const _0xf4716e=_0x2049a0,_0x5997b4={'jaEgc':function(_0x1838b6,_0x23a7d4,_0x17c7d2){const _0x472aff=_0x3ed9;return _0x1409f3[_0x472aff(0x229)](_0x1838b6,_0x23a7d4,_0x17c7d2);},'FhUPg':function(_0x1f1c68,_0x4355f8){return _0x1f1c68 instanceof _0x4355f8;}};new Promise((_0xc54a0c,_0x19d7b9)=>{const _0x958d0b=_0x3ed9,_0x548f73=_0x5997b4[_0x958d0b(0x22b)](_0x8325ac,_0x562def[_0x958d0b(0x1b7)],_0x562def[_0x958d0b(0x1a8)]);_0x5997b4[_0x958d0b(0x215)](_0x548f73,Promise)&&_0x548f73['then'](_0xc54a0c)['catch'](_0x19d7b9);})[_0xf4716e(0x1ea)]();});})[_0xcebaa8(0x1d4)](_0x324405=>{const _0x351d45=_0xcebaa8;_0x4db9a3[_0x351d45(0x1cd)](logError,_0x4db9a3['SBDIO'],_0x324405);});})[_0x31f9b0(0x1d4)](_0x3de3fd=>{const _0x4282cd=_0x31f9b0;_0x2466c6[_0x4282cd(0x233)](logError,_0x4282cd(0x250),_0x3de3fd);throw new Error('启动失败:\x20'+JSON[_0x4282cd(0x214)](_0x3de3fd));});},this['loginListener'][_0x547905(0x1bb)]=(_0x47a91d,_0x25aa38,_0x7e3f4f)=>{const _0x3a80c4=_0x547905;_0x2466c6['abTnI'](logError,_0x2466c6['BKPbH'],_0x7e3f4f),_0x2466c6[_0x3a80c4(0x1d8)](_0x47a91d,0x1)&&_0x2466c6['PlTPc'](_0x25aa38,0x3)&&this[_0x3a80c4(0x204)]['getQRCodePicture']();},this[_0x547905(0x1d0)][_0x547905(0x226)]=_0x4382f3=>{const _0x5daf81=_0x547905;_0x2466c6[_0x5daf81(0x233)](logError,_0x2466c6[_0x5daf81(0x251)],_0x4382f3);},this[_0x547905(0x1d0)]=new Proxy(this[_0x547905(0x1d0)],this[_0x547905(0x1a5)]),this[_0x547905(0x204)][_0x547905(0x1e1)](new _0x5044cd['NodeIKernelLoginListener'](this[_0x547905(0x1d0)])),this[_0x547905(0x212)]();}get[_0x5078fd(0x1d2)](){const _0x20bfc3=_0x5078fd;let _0x30842f=this[_0x20bfc3(0x253)][_0x20bfc3(0x22e)]();return!_0x30842f&&(_0x30842f=_0x43f16d[_0x20bfc3(0x1be)](_0x161a78[_0x20bfc3(0x1f6)](),_0x20bfc3(0x217)),_0x33ba76[_0x20bfc3(0x23b)](_0x30842f,{'recursive':!![]})),_0x30842f;}get[_0x5078fd(0x244)](){const _0x57d3ad=_0x5078fd,_0x511278={'svrVh':_0x57d3ad(0x25a)};return _0x43f16d['resolve'](this[_0x57d3ad(0x1d2)],_0x511278[_0x57d3ad(0x242)]);}['initConfig'](){const _0x530763=_0x5078fd,_0x421f0a={'mUnKn':_0x530763(0x1bf)};this['engine'][_0x530763(0x20c)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x530763(0x19e)],'os_version':_0x421f0a[_0x530763(0x236)],'use_xlog':!![],'qua':_0x530763(0x210)+qqVersionConfigInfo[_0x530763(0x19e)][_0x530763(0x21e)]('-','_')+_0x530763(0x231),'global_path_config':{'desktopGlobalPath':this[_0x530763(0x244)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x5044cd[(_0x530763(0x1a9))](new GlobalAdapter())),this[_0x530763(0x204)][_0x530763(0x212)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x530763(0x19e)],'hostName':hostname});}['initSession'](_0xcbd6c4,_0xdfc25e){const _0xa03cc7=_0x5078fd,_0xbce7b5={'XGfGi':function(_0x1d4cd0,_0x3b269c){return _0x1d4cd0(_0x3b269c);},'PjBBS':function(_0x6b80f7,_0xff58e5,_0x42daed,_0x206d97){return _0x6b80f7(_0xff58e5,_0x42daed,_0x206d97);},'uzxhO':_0xa03cc7(0x1d7)};return new Promise((_0x51e1e3,_0x4aa1f4)=>{const _0x3d0af2=_0xa03cc7,_0x5a2788=_0xbce7b5[_0x3d0af2(0x222)](genSessionConfig,_0xcbd6c4,_0xdfc25e,this[_0x3d0af2(0x1d2)]),_0x80d56e=new SessionListener();_0x80d56e['onSessionInitComplete']=_0x51c149=>{const _0x3c3093=_0x3d0af2;if(_0x51c149===0x0)return _0xbce7b5['XGfGi'](_0x51e1e3,0x0);_0xbce7b5[_0x3c3093(0x1af)](_0x4aa1f4,_0x51c149);},this[_0x3d0af2(0x1bd)][_0x3d0af2(0x1b4)](_0x5a2788,new _0x5044cd[(_0x3d0af2(0x21f))](new DependsAdapter()),new _0x5044cd[(_0x3d0af2(0x21d))](new DispatcherAdapter()),new _0x5044cd[(_0x3d0af2(0x23d))](_0x80d56e));try{this[_0x3d0af2(0x1bd)][_0x3d0af2(0x1ef)](0x0);}catch(_0x4d47d7){try{this[_0x3d0af2(0x1bd)][_0x3d0af2(0x1ef)]();}catch(_0x129801){_0x4aa1f4(_0xbce7b5['uzxhO']+_0x129801);}}});}[_0x5078fd(0x1b3)](){const _0x1f5e9f=_0x5078fd,_0x2992b6={'XHekb':function(_0x3851fc,_0x900787){return _0x3851fc===_0x900787;},'EInku':function(_0x44c40a,_0x240291){return _0x44c40a(_0x240291);},'UKCzD':function(_0x181e65,_0x10ed80){return _0x181e65+_0x10ed80;},'YKkJb':')\x20在线状态变更','MplBr':function(_0x13478e,_0x17b4d4){return _0x13478e(_0x17b4d4);},'MbafA':function(_0x132143,_0x378435){return _0x132143+_0x378435;},'sWvVc':_0x1f5e9f(0x221),'QaolI':function(_0x3f28d5,_0x4f5bd5){return _0x3f28d5===_0x4f5bd5;},'ZiRCW':function(_0x50e0ec,_0x491c53){return _0x50e0ec/_0x491c53;},'hPZYJ':function(_0x38056c,_0x4ce089){return _0x38056c/_0x4ce089;},'kdwKs':function(_0xc06d59,_0x4669f0){return _0xc06d59===_0x4669f0;},'opKXH':function(_0x569b69,_0x56daf6,_0x550a7d){return _0x569b69(_0x56daf6,_0x550a7d);}},_0x21b7f3=new MsgListener();_0x21b7f3[_0x1f5e9f(0x1c7)]=_0x5247d3=>{const _0x3b94da=_0x1f5e9f;_0x5247d3[_0x3b94da(0x1ce)](_0x543b98=>{const _0xeb847e=_0x3b94da;_0x2992b6['XHekb'](_0x543b98[_0xeb847e(0x1cf)],0x2)&&_0x2992b6[_0xeb847e(0x1c0)](log,_0x2992b6['UKCzD'](_0x2992b6['UKCzD'](_0xeb847e(0x1f1),_0x543b98['devUid']),_0x2992b6[_0xeb847e(0x225)]));});},_0x21b7f3[_0x1f5e9f(0x208)]=_0x43daef=>{const _0x40e010=_0x1f5e9f;_0x2992b6[_0x40e010(0x1f2)](log,_0x2992b6[_0x40e010(0x1a7)](_0x2992b6[_0x40e010(0x1c5)],_0x43daef[_0x40e010(0x1c9)])+']\x20'+_0x43daef[_0x40e010(0x1b2)]);},_0x21b7f3[_0x1f5e9f(0x219)]=_0x3ce215=>{const _0x5a97db=_0x1f5e9f,_0x3ededb={'eUZXZ':function(_0x415466,_0x21c078){const _0x77cfbb=_0x3ed9;return _0x2992b6[_0x77cfbb(0x1b6)](_0x415466,_0x21c078);}};stat[_0x5a97db(0x19b)]+=0x1,_0x3ce215[_0x5a97db(0x1ce)](_0x90b6f9=>{const _0x28d602=_0x5a97db;_0x3ededb['eUZXZ'](_0x90b6f9['recallTime'],'0')?dbUtil[_0x28d602(0x209)](_0x90b6f9)[_0x28d602(0x1ea)]()[_0x28d602(0x1d4)]():dbUtil[_0x28d602(0x252)](_0x90b6f9[_0x28d602(0x202)])[_0x28d602(0x1ea)](_0x4df40e=>{const _0x40317d=_0x28d602;_0x4df40e&&(_0x4df40e[_0x40317d(0x207)]=_0x90b6f9[_0x40317d(0x207)],dbUtil[_0x40317d(0x1e5)](_0x4df40e)[_0x40317d(0x1ea)]());});});},_0x21b7f3['onAddSendMsg']=_0x1cd3b1=>{const _0x580c42=_0x1f5e9f;stat[_0x580c42(0x1dc)]+=0x1,stat[_0x580c42(0x23f)]+=0x1,stat[_0x580c42(0x1e8)]=Math[_0x580c42(0x258)](_0x2992b6[_0x580c42(0x239)](Date['now'](),0x3e8));},_0x21b7f3[_0x1f5e9f(0x203)]=_0xa670d3=>{const _0x48f537=_0x1f5e9f;stat['packet_received']+=0x1,stat[_0x48f537(0x1b5)]+=_0xa670d3['length'],stat[_0x48f537(0x1e8)]=Math[_0x48f537(0x258)](_0x2992b6[_0x48f537(0x249)](Date[_0x48f537(0x1de)](),0x3e8));},_0x21b7f3['onRecvSysMsg']=(..._0x28236a)=>{const _0x4e0572=_0x1f5e9f;stat[_0x4e0572(0x19b)]+=0x1;},this[_0x1f5e9f(0x20d)](_0x21b7f3);const _0x12f0fa=new BuddyListener();_0x12f0fa[_0x1f5e9f(0x255)]=_0x468437=>{const _0x1e01d1=_0x1f5e9f;rawFriends['length']=0x0,rawFriends[_0x1e01d1(0x1ab)](..._0x468437);for(const _0x4ab2ed of _0x468437){for(const _0x3b9afc of _0x4ab2ed['buddyList']){const _0xe9465c=friends[_0x1e01d1(0x1d6)](_0x3b9afc[_0x1e01d1(0x1a8)]);uid2UinMap[_0x3b9afc[_0x1e01d1(0x1a8)]]=_0x3b9afc['uin'],_0xe9465c?Object[_0x1e01d1(0x1a2)](_0xe9465c,_0x3b9afc):friends[_0x1e01d1(0x1d1)](_0x3b9afc[_0x1e01d1(0x1a8)],_0x3b9afc);}}},this[_0x1f5e9f(0x20d)](_0x12f0fa),this[_0x1f5e9f(0x1bd)][_0x1f5e9f(0x247)]()[_0x1f5e9f(0x21b)](!![])[_0x1f5e9f(0x1ea)](_0x2e694d=>{});const _0x1c9f99=new ProfileListener();_0x1c9f99[_0x1f5e9f(0x1db)]=_0x35ecef=>{const _0x23c30d=_0x1f5e9f;_0x35ecef['uid']===selfInfo[_0x23c30d(0x1a8)]&&Object[_0x23c30d(0x1a2)](selfInfo,_0x35ecef);},_0x1c9f99['onSelfStatusChanged']=_0x2b48c3=>{},this['addListener'](_0x1c9f99);const _0x206585=new GroupListener();_0x206585[_0x1f5e9f(0x254)]=(_0x13ad8f,_0x1594b6)=>{const _0x26b955=_0x1f5e9f;_0x1594b6[_0x26b955(0x1ce)](_0x24e187=>{const _0xf3fea=_0x26b955,_0xeecfb9=groups[_0xf3fea(0x1d6)](_0x24e187[_0xf3fea(0x1b8)]);_0xeecfb9&&_0x2992b6['kdwKs'](_0x24e187[_0xf3fea(0x1e3)],_0xeecfb9['memberCount'])?Object[_0xf3fea(0x1a2)](_0xeecfb9,_0x24e187):groups['set'](_0x24e187[_0xf3fea(0x1b8)],_0x24e187);const _0x27b84e=this['session']['getGroupService']()[_0xf3fea(0x237)](_0x24e187['groupCode'],_0xf3fea(0x1f3));this[_0xf3fea(0x1bd)][_0xf3fea(0x1ac)]()[_0xf3fea(0x1f8)](_0x27b84e,undefined,0xbb8)[_0xf3fea(0x1ea)](_0x544e78=>{});});},_0x206585['onMemberListChange']=_0x3328fa=>{const _0x25b27a=_0x1f5e9f,_0x383f9e=_0x3328fa[_0x25b27a(0x1ff)][_0x25b27a(0x1ae)]('_')[0x0];if(groupMembers[_0x25b27a(0x24d)](_0x383f9e)){const _0x274b2c=groupMembers[_0x25b27a(0x1d6)](_0x383f9e);_0x3328fa[_0x25b27a(0x230)][_0x25b27a(0x1e6)]((_0x435901,_0x5d6111)=>{const _0x11c15b=_0x25b27a,_0x159564=_0x274b2c['get'](_0x5d6111);_0x159564?Object[_0x11c15b(0x1a2)](_0x159564,_0x435901):_0x274b2c['set'](_0x5d6111,_0x435901);});}else groupMembers[_0x25b27a(0x1d1)](_0x383f9e,_0x3328fa['infos']);},_0x206585[_0x1f5e9f(0x1d3)]=(_0x2e4a45,_0x3ea73b,_0x3e6014)=>{const _0x33760a=_0x1f5e9f;_0x2992b6[_0x33760a(0x211)](_0x3ea73b,0x0)&&_0x3e6014['get'](selfInfo[_0x33760a(0x1a8)])&&_0x3e6014[_0x33760a(0x1d6)](selfInfo[_0x33760a(0x1a8)])?.[_0x33760a(0x206)]&&_0x2992b6[_0x33760a(0x1df)](setTimeout,()=>{const _0x26e1c8=_0x33760a;groups[_0x26e1c8(0x1ed)](_0x2e4a45);},0x1388);_0x3e6014['forEach']((_0x33bb73,_0x1d35fb)=>{const _0x3fae16=_0x33760a;uid2UinMap[_0x1d35fb]=_0x33bb73[_0x3fae16(0x1b7)];});const _0x3b81bf=groupMembers[_0x33760a(0x1d6)](_0x2e4a45);_0x3b81bf?_0x3e6014[_0x33760a(0x1e6)]((_0xd4e8ad,_0x1431df)=>{const _0x17ac5a=_0x33760a,_0x35d386=_0x3b81bf[_0x17ac5a(0x1d6)](_0x1431df);_0x35d386?Object[_0x17ac5a(0x1a2)](_0x35d386,_0xd4e8ad):_0x3b81bf[_0x17ac5a(0x1d1)](_0x1431df,_0xd4e8ad);}):groupMembers['set'](_0x2e4a45,_0x3e6014);},this[_0x1f5e9f(0x20d)](_0x206585);}[_0x5078fd(0x20d)](_0x36f54f){const _0x416baf=_0x5078fd,_0x3124ff={'NZIyk':_0x416baf(0x238),'zNUTa':'MsgListener','wTLqL':_0x416baf(0x1c2)};_0x36f54f=new Proxy(_0x36f54f,this['proxyHandler']);switch(_0x36f54f[_0x416baf(0x1fa)]['name']){case _0x416baf(0x1b0):{return this['session'][_0x416baf(0x247)]()[_0x416baf(0x20e)](new _0x5044cd['NodeIKernelBuddyListener'](_0x36f54f));}case _0x3124ff[_0x416baf(0x22d)]:{return this[_0x416baf(0x1bd)][_0x416baf(0x1ac)]()[_0x416baf(0x224)](new _0x5044cd[(_0x416baf(0x1cc))](_0x36f54f));}case _0x3124ff[_0x416baf(0x22c)]:{return this['session'][_0x416baf(0x1b9)]()[_0x416baf(0x1ee)](new _0x5044cd[(_0x416baf(0x1fd))](_0x36f54f));}case _0x3124ff['wTLqL']:{return this[_0x416baf(0x1bd)][_0x416baf(0x19f)]()['addKernelProfileListener'](new _0x5044cd[(_0x416baf(0x1c4))](_0x36f54f));}default:return-0x1;}}[_0x5078fd(0x227)](_0x3156c1){const _0x55b091=_0x5078fd;NTEventDispatch[_0x55b091(0x1b4)]({'ListenerMap':_0x5044cd,'WrapperSession':this[_0x55b091(0x1bd)]}),this[_0x55b091(0x259)][_0x55b091(0x1ab)](_0x3156c1);}async[_0x5078fd(0x23e)](_0x54741d){const _0x5918fb=_0x5078fd,_0x72749e={'bVgYN':function(_0x41f9cd,_0x2669a3){return _0x41f9cd!==_0x2669a3;},'nBYmX':'没有可快速登录的QQ号','kUrWo':function(_0x13e205,_0x2e9f73){return _0x13e205+_0x2e9f73;},'jAtsG':_0x5918fb(0x1ba)},_0x691f50=await this[_0x5918fb(0x204)][_0x5918fb(0x1ec)]();if(_0x72749e[_0x5918fb(0x1aa)](_0x691f50[_0x5918fb(0x1e9)],0x0))throw new Error(_0x72749e[_0x5918fb(0x1cb)]);const _0x435399=_0x691f50[_0x5918fb(0x20f)][_0x5918fb(0x20b)](_0x331f9e=>_0x331f9e[_0x5918fb(0x1b7)]===_0x54741d);if(!_0x435399||!_0x435399?.[_0x5918fb(0x1f7)])throw new Error(_0x54741d+_0x5918fb(0x19c));await sleep(0x3e8);const _0x1f4eca=await this[_0x5918fb(0x204)][_0x5918fb(0x1fb)](_0x54741d);if(!_0x1f4eca['result'])throw new Error(_0x72749e[_0x5918fb(0x1f9)](_0x72749e[_0x5918fb(0x24f)],_0x1f4eca[_0x5918fb(0x1f5)]['errMsg']));return _0x1f4eca;}async[_0x5078fd(0x213)](_0xfa0256){const _0x536fe4=_0x5078fd,_0x15073b={'nJUaT':_0x536fe4(0x20a),'Mywpv':function(_0x48c16d,_0x598a45,_0x5342d0,_0x20898b){return _0x48c16d(_0x598a45,_0x5342d0,_0x20898b);}};return new Promise((_0x27185d,_0x37d210)=>{const _0x4d206c=_0x536fe4;this[_0x4d206c(0x1d0)][_0x4d206c(0x1da)]=_0x1b33ae=>{const _0x3c7eab=_0x4d206c,_0x4cf935=_0x1b33ae[_0x3c7eab(0x1e0)]['split'](_0x3c7eab(0x246))[0x1],_0x22e159=Buffer[_0x3c7eab(0x1c6)](_0x4cf935,_0x15073b[_0x3c7eab(0x1e2)]);_0x15073b[_0x3c7eab(0x1bc)](_0xfa0256,_0x1b33ae[_0x3c7eab(0x243)],_0x1b33ae[_0x3c7eab(0x1e0)],_0x22e159);},this['loginService'][_0x4d206c(0x25b)]();});}async[_0x5078fd(0x1d5)](_0x2de3a6,_0x5702ef,_0x1e8819,_0xbd8adf,_0x2fa1d7){const _0x47dced=_0x5078fd,_0x3cbf3a={'kGfPx':function(_0x5f33b9,_0x159812){return _0x5f33b9&&_0x159812;},'YZKvl':function(_0xa7044a,_0x3d4e48){return _0xa7044a||_0x3d4e48;},'ntqBN':'140022008','qCMjw':_0x47dced(0x1dd)},_0x87509b=_0x479c88[_0x47dced(0x234)](_0x47dced(0x240))['update'](_0x5702ef)[_0x47dced(0x1c3)](_0x47dced(0x1a0)),_0x2fcc1b={'uin':_0x2de3a6,'passwordMd5':_0x87509b,'step':_0x3cbf3a[_0x47dced(0x1eb)](_0x1e8819,_0xbd8adf)&&_0x2fa1d7?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x3cbf3a['YZKvl'](_0x1e8819,''),'proofWaterRand':_0x3cbf3a['YZKvl'](_0xbd8adf,''),'proofWaterSid':_0x2fa1d7||''};await this[_0x47dced(0x204)][_0x47dced(0x1ec)](),await sleep(0x3e8);const _0x4c2e90=await this['loginService']['passwordLogin'](_0x2fcc1b);switch(_0x4c2e90[_0x47dced(0x1e9)]){case'0':{break;}case _0x3cbf3a[_0x47dced(0x235)]:{break;}case'4':case _0x3cbf3a[_0x47dced(0x1a1)]:default:}}async['getQuickLoginList'](){const _0x225170=_0x5078fd,_0x3c489d=await this[_0x225170(0x204)][_0x225170(0x1ec)]();return _0x3c489d;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x4bfa7e=_0x136f;(function(_0x1bfaea,_0x48091b){const _0x3f9717=_0x136f,_0x3463ab=_0x1bfaea();while(!![]){try{const _0x5b69f7=-parseInt(_0x3f9717(0x22c))/0x1+-parseInt(_0x3f9717(0x1f5))/0x2*(parseInt(_0x3f9717(0x1d2))/0x3)+parseInt(_0x3f9717(0x19a))/0x4*(-parseInt(_0x3f9717(0x229))/0x5)+-parseInt(_0x3f9717(0x21e))/0x6+-parseInt(_0x3f9717(0x1d3))/0x7*(-parseInt(_0x3f9717(0x1bc))/0x8)+-parseInt(_0x3f9717(0x1c1))/0x9+parseInt(_0x3f9717(0x21f))/0xa*(parseInt(_0x3f9717(0x180))/0xb);if(_0x5b69f7===_0x48091b)break;else _0x3463ab['push'](_0x3463ab['shift']());}catch(_0x23dd72){_0x3463ab['push'](_0x3463ab['shift']());}}}(_0x18ad,0x61db3));import _0x4f1f4d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x55ffbb from'node:path';import _0x269004 from'node:os';import _0x21a7c4 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';function _0x136f(_0x584933,_0x3608b2){const _0x18ad47=_0x18ad();return _0x136f=function(_0x136ff3,_0x10e6f5){_0x136ff3=_0x136ff3-0x178;let _0x4163e5=_0x18ad47[_0x136ff3];return _0x4163e5;},_0x136f(_0x584933,_0x3608b2);}import{sleep}from'@/common/utils/helper';import _0x2b526e from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x4bfa7e(0x191)];[_0x4bfa7e(0x213)];[_0x4bfa7e(0x190)];['loginListener'];[_0x4bfa7e(0x1e9)];[_0x4bfa7e(0x20b)]=[];[_0x4bfa7e(0x20c)]={'get'(target,prop,receiver){const _0x2727c9=_0x4bfa7e,yjpmWs={'HybrR':function(callee,param1){return callee(param1);},'THMGa':function(x,y){return x===y;},'gANlG':_0x2727c9(0x1db)};if(yjpmWs[_0x2727c9(0x1f3)](typeof target[prop],yjpmWs[_0x2727c9(0x20a)]))return(...args)=>{const _0x2b8c27=_0x2727c9;yjpmWs[_0x2b8c27(0x1ba)](logDebug,target[_0x2b8c27(0x195)]['name']+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x2727c9(0x1e4)](target,prop,receiver);}};constructor(){const _0x309518=_0x4bfa7e,_0x1ae7d7={'PAdNp':function(_0x13eb7e,_0x158ae6){return _0x13eb7e(_0x158ae6);},'qoPwy':function(_0x1ce670,_0x4769c3){return _0x1ce670+_0x4769c3;},'ZuNtd':function(_0x131deb,_0x5a9b66){return _0x131deb+_0x5a9b66;},'ljDBu':_0x309518(0x228),'qxAZE':function(_0x26cc5e,_0x228f6e,_0xc78791){return _0x26cc5e(_0x228f6e,_0xc78791);},'QILoU':function(_0x723138,_0x4dde56){return _0x723138(_0x4dde56);},'SUqoX':_0x309518(0x1fe),'MMTGl':function(_0x4fa5bc,_0x22ffb2,_0x318e26){return _0x4fa5bc(_0x22ffb2,_0x318e26);},'zXAkl':_0x309518(0x22b),'mCTHj':_0x309518(0x231),'jZKZE':function(_0x5e0f87,_0x5a5788){return _0x5e0f87==_0x5a5788;},'qiQSd':'登录失败'};this[_0x309518(0x190)]=new _0x4f1f4d[(_0x309518(0x1f0))](),this[_0x309518(0x213)]=new _0x4f1f4d[(_0x309518(0x1a5))](),this[_0x309518(0x1e9)]=new _0x4f1f4d[(_0x309518(0x1d7))](),this[_0x309518(0x191)]=new _0x4f1f4d['NodeIQQNTWrapperSession'](),this[_0x309518(0x1ab)]=new LoginListener(),this[_0x309518(0x1ab)][_0x309518(0x1e5)]=_0x4415f0=>{const _0xf080ea=_0x309518;_0x1ae7d7['PAdNp'](logError,_0x1ae7d7['qoPwy'](_0x1ae7d7[_0xf080ea(0x1b9)](_0x1ae7d7['ljDBu'],_0x4415f0),_0xf080ea(0x1cb)));},this[_0x309518(0x1ab)]['onQRCodeLoginSucceed']=_0x3b089c=>{const _0x1ba277=_0x309518,_0x3ca676={'DHSMc':_0x1ae7d7[_0x1ba277(0x1e6)]};this[_0x1ba277(0x206)](_0x3b089c[_0x1ba277(0x1ed)],_0x3b089c[_0x1ba277(0x226)])['then'](_0x457bba=>{const _0x55cd9d=_0x1ba277,_0x371674={'OMCDY':function(_0x1fce9e,_0x43ccf5,_0xfa49a4){const _0x36da23=_0x136f;return _0x1ae7d7[_0x36da23(0x225)](_0x1fce9e,_0x43ccf5,_0xfa49a4);}};selfInfo['uin']=_0x3b089c[_0x55cd9d(0x1ed)],selfInfo[_0x55cd9d(0x226)]=_0x3b089c[_0x55cd9d(0x226)],napCatConfig['read'](),_0x1ae7d7[_0x55cd9d(0x225)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig[_0x55cd9d(0x184)]),_0x1ae7d7['QILoU'](enableConsoleLog,napCatConfig[_0x55cd9d(0x1c6)]),setLogSelfInfo(selfInfo);const _0x139eca=_0x55ffbb[_0x55cd9d(0x1c3)](this[_0x55cd9d(0x1ea)],_0x1ae7d7[_0x55cd9d(0x19d)]);_0x21a7c4[_0x55cd9d(0x1e8)](_0x139eca,{'recursive':!![]}),_0x1ae7d7['MMTGl'](logDebug,_0x1ae7d7[_0x55cd9d(0x1c7)],_0x139eca),dbUtil[_0x55cd9d(0x17a)](_0x55ffbb[_0x55cd9d(0x1c3)](_0x139eca,'./'+_0x3b089c[_0x55cd9d(0x1ed)]+_0x55cd9d(0x1ce)))[_0x55cd9d(0x215)](()=>{const _0x4a4d15=_0x55cd9d;this[_0x4a4d15(0x1b0)](),this[_0x4a4d15(0x20b)][_0x4a4d15(0x1f1)](_0x5a71e5=>{const _0x3e9769=_0x4a4d15,_0x3920ad={'ouaPB':function(_0xf42a0c,_0x4b75db,_0x25f215){return _0x371674['OMCDY'](_0xf42a0c,_0x4b75db,_0x25f215);},'zsPjP':function(_0x3787d6,_0x29593d){return _0x3787d6 instanceof _0x29593d;}};new Promise((_0x38cab9,_0x3a88ec)=>{const _0x3ae44b=_0x136f,_0x1fe520=_0x3920ad[_0x3ae44b(0x18d)](_0x5a71e5,_0x3b089c[_0x3ae44b(0x1ed)],_0x3b089c[_0x3ae44b(0x226)]);_0x3920ad[_0x3ae44b(0x1fa)](_0x1fe520,Promise)&&_0x1fe520[_0x3ae44b(0x215)](_0x38cab9)[_0x3ae44b(0x189)](_0x3a88ec);})[_0x3e9769(0x215)]();});})[_0x55cd9d(0x189)](_0x2176f8=>{const _0x6f68a5=_0x55cd9d;logError(_0x3ca676[_0x6f68a5(0x1de)],_0x2176f8);});})[_0x1ba277(0x189)](_0xcbc36d=>{const _0xcf807e=_0x1ba277;logError(_0xcf807e(0x1b7),_0xcbc36d);throw new Error('启动失败:\x20'+JSON[_0xcf807e(0x1bf)](_0xcbc36d));});},this[_0x309518(0x1ab)][_0x309518(0x212)]=(_0x55108e,_0x59233c,_0x3f3cce)=>{const _0x30bf4c=_0x309518;_0x1ae7d7[_0x30bf4c(0x204)](logError,_0x30bf4c(0x21a),_0x3f3cce),_0x55108e==0x1&&_0x1ae7d7['jZKZE'](_0x59233c,0x3)&&this[_0x30bf4c(0x1e9)][_0x30bf4c(0x19e)]();},this[_0x309518(0x1ab)][_0x309518(0x1fc)]=_0x16d9a9=>{const _0x2662f=_0x309518;_0x1ae7d7[_0x2662f(0x225)](logError,_0x1ae7d7[_0x2662f(0x20e)],_0x16d9a9);},this[_0x309518(0x1ab)]=new Proxy(this[_0x309518(0x1ab)],this[_0x309518(0x20c)]),this[_0x309518(0x1e9)][_0x309518(0x1d0)](new _0x4f1f4d[(_0x309518(0x21d))](this[_0x309518(0x1ab)])),this[_0x309518(0x223)]();}get[_0x4bfa7e(0x1ea)](){const _0x147c55=_0x4bfa7e,_0x624c90={'cyfgq':_0x147c55(0x220)};let _0x1a04aa=this[_0x147c55(0x213)][_0x147c55(0x221)]();return!_0x1a04aa&&(_0x1a04aa=_0x55ffbb[_0x147c55(0x1c3)](_0x269004['homedir'](),_0x624c90[_0x147c55(0x1ef)]),_0x21a7c4[_0x147c55(0x1e8)](_0x1a04aa,{'recursive':!![]})),_0x1a04aa;}get[_0x4bfa7e(0x1a1)](){const _0x36edfc=_0x4bfa7e;return _0x55ffbb[_0x36edfc(0x1c3)](this[_0x36edfc(0x1ea)],_0x36edfc(0x198));}[_0x4bfa7e(0x223)](){const _0x3378e9=_0x4bfa7e,_0x289e18={'hCzQb':_0x3378e9(0x1cc)};this['engine'][_0x3378e9(0x200)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x3378e9(0x1a3)],'os_version':_0x289e18[_0x3378e9(0x1ec)],'use_xlog':!![],'qua':_0x3378e9(0x1f7)+qqVersionConfigInfo[_0x3378e9(0x1a3)][_0x3378e9(0x1cf)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x3378e9(0x1a1)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4f1f4d[(_0x3378e9(0x1c5))](new GlobalAdapter())),this[_0x3378e9(0x1e9)][_0x3378e9(0x223)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x3378e9(0x1a1)],'clientVer':qqVersionConfigInfo[_0x3378e9(0x1a3)],'hostName':hostname});}[_0x4bfa7e(0x206)](_0x4e9c73,_0x435f97){const _0x31434f={'tHAwU':function(_0x69bf5d,_0x3b09e4){return _0x69bf5d===_0x3b09e4;},'MrQTJ':function(_0x3be44f,_0x2425a4){return _0x3be44f(_0x2425a4);},'nqIIc':function(_0x1a4655,_0x127e22,_0x3b4e95,_0x2ea914){return _0x1a4655(_0x127e22,_0x3b4e95,_0x2ea914);}};return new Promise((_0x1d392e,_0x5426fa)=>{const _0x30470f=_0x136f,_0x232bc0={'LgIqk':function(_0xd6f0dc,_0x2517c0){const _0x5e3980=_0x136f;return _0x31434f[_0x5e3980(0x202)](_0xd6f0dc,_0x2517c0);},'IOIby':function(_0x511d27,_0x21eed0){const _0x5793b2=_0x136f;return _0x31434f[_0x5793b2(0x1f4)](_0x511d27,_0x21eed0);}},_0xd2d446=_0x31434f[_0x30470f(0x18b)](genSessionConfig,_0x4e9c73,_0x435f97,this[_0x30470f(0x1ea)]),_0x3e7c73=new SessionListener();_0x3e7c73[_0x30470f(0x19c)]=_0x207612=>{if(_0x232bc0['LgIqk'](_0x207612,0x0))return _0x232bc0['IOIby'](_0x1d392e,0x0);_0x232bc0['IOIby'](_0x5426fa,_0x207612);},this['session'][_0x30470f(0x17a)](_0xd2d446,new _0x4f1f4d[(_0x30470f(0x21c))](new DependsAdapter()),new _0x4f1f4d[(_0x30470f(0x17f))](new DispatcherAdapter()),new _0x4f1f4d[(_0x30470f(0x1eb))](_0x3e7c73));try{this[_0x30470f(0x191)][_0x30470f(0x210)](0x0);}catch(_0x3be038){try{this[_0x30470f(0x191)][_0x30470f(0x210)]();}catch(_0x41eab5){_0x31434f['MrQTJ'](_0x5426fa,_0x30470f(0x201)+_0x41eab5);}}});}[_0x4bfa7e(0x1b0)](){const _0x2f472f=_0x4bfa7e,_0x18de7b={'TORpS':function(_0x1c5d46,_0x4e6693){return _0x1c5d46===_0x4e6693;},'mArtC':function(_0x583aeb,_0x2001f1){return _0x583aeb(_0x2001f1);},'eZSjC':function(_0x212d64,_0x6decdb){return _0x212d64+_0x6decdb;},'gScZX':'账号设备(','xpmKy':function(_0x431dda,_0x243819){return _0x431dda+_0x243819;},'FYUDA':function(_0x402e7c,_0x2488f6){return _0x402e7c+_0x2488f6;},'XZmbr':_0x2f472f(0x183),'LvmXk':function(_0x16552f,_0x32abc0){return _0x16552f===_0x32abc0;},'XOKVp':function(_0x5b53bd,_0x12c9f0){return _0x5b53bd/_0x12c9f0;},'ERbSo':function(_0x2bd0fb,_0x30a306){return _0x2bd0fb===_0x30a306;},'nTorV':function(_0x2c8a5e,_0x370f43,_0x40ecb1){return _0x2c8a5e(_0x370f43,_0x40ecb1);}},_0x3bdc48=new MsgListener();_0x3bdc48['onLineDev']=_0x51c700=>{const _0x3778c6=_0x2f472f;_0x51c700[_0x3778c6(0x1f1)](_0x5515d8=>{const _0x2ff96a=_0x3778c6;_0x18de7b['TORpS'](_0x5515d8[_0x2ff96a(0x17d)],0x2)&&_0x18de7b[_0x2ff96a(0x186)](log,_0x18de7b[_0x2ff96a(0x192)](_0x18de7b[_0x2ff96a(0x192)](_0x18de7b['gScZX'],_0x5515d8[_0x2ff96a(0x1d4)]),_0x2ff96a(0x1d8)));});},_0x3bdc48[_0x2f472f(0x1a9)]=_0x24c342=>{const _0x3c6861=_0x2f472f;log(_0x18de7b[_0x3c6861(0x21b)](_0x18de7b[_0x3c6861(0x233)](_0x18de7b[_0x3c6861(0x1b8)],_0x24c342[_0x3c6861(0x185)]),']\x20')+_0x24c342[_0x3c6861(0x1ac)]);},_0x3bdc48[_0x2f472f(0x214)]=_0x8024b7=>{const _0x4533c1=_0x2f472f,_0x5ba42f={'LBXHI':function(_0x111f9a,_0xcd4119){const _0x5a9975=_0x136f;return _0x18de7b[_0x5a9975(0x1ae)](_0x111f9a,_0xcd4119);}};stat[_0x4533c1(0x1dc)]+=0x1,_0x8024b7['map'](_0x5b8f96=>{const _0x4afa67=_0x4533c1;_0x5ba42f[_0x4afa67(0x1ca)](_0x5b8f96[_0x4afa67(0x1d5)],'0')?dbUtil[_0x4afa67(0x199)](_0x5b8f96)['then']()[_0x4afa67(0x189)]():dbUtil[_0x4afa67(0x216)](_0x5b8f96[_0x4afa67(0x224)])[_0x4afa67(0x215)](_0x802205=>{const _0x1aa42f=_0x4afa67;_0x802205&&(_0x802205[_0x1aa42f(0x1d5)]=_0x5b8f96[_0x1aa42f(0x1d5)],dbUtil[_0x1aa42f(0x1f6)](_0x802205)[_0x1aa42f(0x215)]());});});},_0x3bdc48[_0x2f472f(0x178)]=_0x3b6fb6=>{const _0xd25b04=_0x2f472f;stat[_0xd25b04(0x1a0)]+=0x1,stat['message_sent']+=0x1,stat[_0xd25b04(0x1f9)]=Math['floor'](_0x18de7b[_0xd25b04(0x207)](Date[_0xd25b04(0x235)](),0x3e8));},_0x3bdc48[_0x2f472f(0x1b2)]=_0x437682=>{const _0x522b96=_0x2f472f;stat[_0x522b96(0x1dc)]+=0x1,stat['message_received']+=_0x437682[_0x522b96(0x203)],stat[_0x522b96(0x1f9)]=Math[_0x522b96(0x1e0)](Date[_0x522b96(0x235)]()/0x3e8);},_0x3bdc48['onRecvSysMsg']=(..._0xb6064c)=>{const _0x5719c2=_0x2f472f;stat[_0x5719c2(0x1dc)]+=0x1;},this[_0x2f472f(0x1a2)](_0x3bdc48);const _0x2b9e33=new BuddyListener();_0x2b9e33[_0x2f472f(0x188)]=_0x58e5a0=>{const _0x603c6c=_0x2f472f;rawFriends[_0x603c6c(0x203)]=0x0,rawFriends['push'](..._0x58e5a0);for(const _0x49bf9c of _0x58e5a0){for(const _0x2b1852 of _0x49bf9c['buddyList']){const _0x2dea64=friends[_0x603c6c(0x1e4)](_0x2b1852['uid']);uid2UinMap[_0x2b1852['uid']]=_0x2b1852[_0x603c6c(0x1ed)],_0x2dea64?Object[_0x603c6c(0x194)](_0x2dea64,_0x2b1852):friends[_0x603c6c(0x1c2)](_0x2b1852['uid'],_0x2b1852);}}},this[_0x2f472f(0x1a2)](_0x2b9e33),this[_0x2f472f(0x191)][_0x2f472f(0x1df)]()[_0x2f472f(0x22e)](!![])[_0x2f472f(0x215)](_0x146ea0=>{});const _0x28c90b=new ProfileListener();_0x28c90b[_0x2f472f(0x18e)]=_0x44f01d=>{const _0x5de4f8=_0x2f472f;_0x18de7b['ERbSo'](_0x44f01d[_0x5de4f8(0x226)],selfInfo[_0x5de4f8(0x226)])&&Object['assign'](selfInfo,_0x44f01d);},_0x28c90b['onSelfStatusChanged']=_0x3b9fba=>{},this['addListener'](_0x28c90b);const _0x5adb45=new GroupListener();_0x5adb45[_0x2f472f(0x1cd)]=(_0x3b77c4,_0x5edcce)=>{const _0xe167e6=_0x2f472f,_0x491a34={'rZkpz':function(_0x2907f4,_0x20f095){const _0x26f3f9=_0x136f;return _0x18de7b[_0x26f3f9(0x1f2)](_0x2907f4,_0x20f095);}};_0x5edcce[_0xe167e6(0x1f1)](_0xe7fe6a=>{const _0x463e1d=_0xe167e6,_0x559d8f=groups[_0x463e1d(0x1e4)](_0xe7fe6a['groupCode']);_0x559d8f&&_0x491a34[_0x463e1d(0x1b5)](_0xe7fe6a[_0x463e1d(0x193)],_0x559d8f['memberCount'])?Object[_0x463e1d(0x194)](_0x559d8f,_0xe7fe6a):groups[_0x463e1d(0x1c2)](_0xe7fe6a['groupCode'],_0xe7fe6a);const _0x2a1647=this[_0x463e1d(0x191)][_0x463e1d(0x236)]()[_0x463e1d(0x18c)](_0xe7fe6a[_0x463e1d(0x17b)],_0x463e1d(0x1aa));this['session'][_0x463e1d(0x236)]()[_0x463e1d(0x217)](_0x2a1647,undefined,0xbb8)[_0x463e1d(0x215)](_0x3c3f0c=>{});});},_0x5adb45[_0x2f472f(0x205)]=_0x516857=>{const _0x4d1262=_0x2f472f,_0x388e76=_0x516857[_0x4d1262(0x1dd)]['split']('_')[0x0];if(groupMembers[_0x4d1262(0x209)](_0x388e76)){const _0x20e9da=groupMembers[_0x4d1262(0x1e4)](_0x388e76);_0x516857[_0x4d1262(0x1da)][_0x4d1262(0x1ff)]((_0x59c041,_0x5e3b75)=>{const _0x17707e=_0x4d1262,_0x42fa69=_0x20e9da[_0x17707e(0x1e4)](_0x5e3b75);_0x42fa69?Object['assign'](_0x42fa69,_0x59c041):_0x20e9da['set'](_0x5e3b75,_0x59c041);});}else groupMembers[_0x4d1262(0x1c2)](_0x388e76,_0x516857[_0x4d1262(0x1da)]);},_0x5adb45[_0x2f472f(0x1e7)]=(_0x228937,_0x401d33,_0x268d3b)=>{const _0x424d9f=_0x2f472f;_0x18de7b[_0x424d9f(0x211)](_0x401d33,0x0)&&_0x268d3b[_0x424d9f(0x1e4)](selfInfo[_0x424d9f(0x226)])&&_0x268d3b[_0x424d9f(0x1e4)](selfInfo[_0x424d9f(0x226)])?.[_0x424d9f(0x1b4)]&&_0x18de7b['nTorV'](setTimeout,()=>{const _0x53caf=_0x424d9f;groups[_0x53caf(0x1b3)](_0x228937);},0x1388);_0x268d3b['forEach']((_0x4e5c29,_0x1cf43d)=>{const _0x220a0c=_0x424d9f;uid2UinMap[_0x1cf43d]=_0x4e5c29[_0x220a0c(0x1ed)];});const _0x4dbfd1=groupMembers['get'](_0x228937);_0x4dbfd1?_0x268d3b['forEach']((_0x172ecf,_0x238bf5)=>{const _0x3e2ad2=_0x424d9f,_0xb12adc=_0x4dbfd1[_0x3e2ad2(0x1e4)](_0x238bf5);_0xb12adc?Object['assign'](_0xb12adc,_0x172ecf):_0x4dbfd1[_0x3e2ad2(0x1c2)](_0x238bf5,_0x172ecf);}):groupMembers[_0x424d9f(0x1c2)](_0x228937,_0x268d3b);},this[_0x2f472f(0x1a2)](_0x5adb45);}[_0x4bfa7e(0x1a2)](_0x1684e6){const _0x27aa03=_0x4bfa7e,_0x356bcf={'nbPRu':_0x27aa03(0x187),'BNfOL':'GroupListener','Staqf':_0x27aa03(0x1e2),'qbZze':_0x27aa03(0x1f8)};_0x1684e6=new Proxy(_0x1684e6,this[_0x27aa03(0x20c)]);switch(_0x1684e6[_0x27aa03(0x195)]['name']){case _0x356bcf[_0x27aa03(0x1bb)]:{return this[_0x27aa03(0x191)]['getBuddyService']()['addKernelBuddyListener'](new _0x4f1f4d[(_0x27aa03(0x219))](_0x1684e6));}case _0x356bcf[_0x27aa03(0x1b1)]:{return this[_0x27aa03(0x191)][_0x27aa03(0x236)]()['addKernelGroupListener'](new _0x4f1f4d['NodeIKernelGroupListener'](_0x1684e6));}case _0x356bcf[_0x27aa03(0x1d6)]:{return this['session'][_0x27aa03(0x1af)]()['addKernelMsgListener'](new _0x4f1f4d[(_0x27aa03(0x1ad))](_0x1684e6));}case _0x356bcf[_0x27aa03(0x19b)]:{return this[_0x27aa03(0x191)][_0x27aa03(0x1a6)]()[_0x27aa03(0x1c9)](new _0x4f1f4d['NodeIKernelProfileListener'](_0x1684e6));}default:return-0x1;}}[_0x4bfa7e(0x197)](_0x20b255){const _0x537f2e=_0x4bfa7e;NTEventDispatch[_0x537f2e(0x17a)]({'ListenerMap':_0x4f1f4d,'WrapperSession':this[_0x537f2e(0x191)]}),this[_0x537f2e(0x20b)][_0x537f2e(0x1fd)](_0x20b255);}async[_0x4bfa7e(0x222)](_0x43adef){const _0x58736a=_0x4bfa7e,_0x31f335={'KcWhF':function(_0x31ef4a,_0xf524fd){return _0x31ef4a!==_0xf524fd;},'PxKhb':_0x58736a(0x218),'pQqJa':function(_0x5fc85f,_0x585db2){return _0x5fc85f(_0x585db2);},'ELyaV':function(_0x57a316,_0x4b1b9b){return _0x57a316+_0x4b1b9b;},'nYwUd':_0x58736a(0x227)},_0x33bba4=await this[_0x58736a(0x1e9)]['getLoginList']();if(_0x31f335['KcWhF'](_0x33bba4['result'],0x0))throw new Error(_0x31f335[_0x58736a(0x1fb)]);const _0x5370ca=_0x33bba4['LocalLoginInfoList'][_0x58736a(0x18f)](_0xd75bfc=>_0xd75bfc['uin']===_0x43adef);if(!_0x5370ca||!_0x5370ca?.[_0x58736a(0x1bd)])throw new Error(_0x43adef+_0x58736a(0x17e));await _0x31f335[_0x58736a(0x1c0)](sleep,0x3e8);const _0x3d57c0=await this[_0x58736a(0x1e9)][_0x58736a(0x230)](_0x43adef);if(!_0x3d57c0[_0x58736a(0x181)])throw new Error(_0x31f335[_0x58736a(0x1c4)](_0x31f335[_0x58736a(0x22a)],_0x3d57c0[_0x58736a(0x1a7)][_0x58736a(0x1d1)]));return _0x3d57c0;}async[_0x4bfa7e(0x22d)](_0x7afbbc){const _0x219282=_0x4bfa7e,_0x30358e={'DWIjw':_0x219282(0x1ee),'HyMRF':function(_0x1eb19a,_0x49ce17,_0x11ebb9,_0x5cea53){return _0x1eb19a(_0x49ce17,_0x11ebb9,_0x5cea53);}};return new Promise((_0xd90170,_0x362ce9)=>{const _0x17159c=_0x219282;this[_0x17159c(0x1ab)][_0x17159c(0x237)]=_0x2525a7=>{const _0x21eba8=_0x17159c,_0x2941f2=_0x2525a7[_0x21eba8(0x1c8)][_0x21eba8(0x234)]('data:image/png;base64,')[0x1],_0x140d4f=Buffer[_0x21eba8(0x1d9)](_0x2941f2,_0x30358e[_0x21eba8(0x19f)]);_0x30358e[_0x21eba8(0x208)](_0x7afbbc,_0x2525a7[_0x21eba8(0x20d)],_0x2525a7[_0x21eba8(0x1c8)],_0x140d4f);},this['loginService'][_0x17159c(0x19e)]();});}async['passwordLogin'](_0x4512e0,_0x6bfa7d,_0x782fe2,_0x53a545,_0x459d74){const _0x167cad=_0x4bfa7e,_0x30ec5e={'gocqS':_0x167cad(0x232),'MqznA':function(_0x1d21d0,_0x4508b3){return _0x1d21d0&&_0x4508b3;},'VjCVz':function(_0x584541,_0xe352b8){return _0x584541||_0xe352b8;},'tNrZy':function(_0xd8a794,_0x4a04a2){return _0xd8a794||_0x4a04a2;},'ifZzk':function(_0x5e633b,_0x4915da){return _0x5e633b(_0x4915da);},'oCYuZ':_0x167cad(0x17c),'qOanl':_0x167cad(0x179)},_0x28744e=_0x2b526e[_0x167cad(0x1a8)](_0x30ec5e[_0x167cad(0x1e3)])[_0x167cad(0x18a)](_0x6bfa7d)[_0x167cad(0x182)](_0x167cad(0x1a4)),_0x21366d={'uin':_0x4512e0,'passwordMd5':_0x28744e,'step':_0x30ec5e[_0x167cad(0x1e1)](_0x782fe2,_0x53a545)&&_0x459d74?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x782fe2||'','proofWaterRand':_0x30ec5e['VjCVz'](_0x53a545,''),'proofWaterSid':_0x30ec5e[_0x167cad(0x1be)](_0x459d74,'')};await this['loginService'][_0x167cad(0x22f)](),await _0x30ec5e[_0x167cad(0x196)](sleep,0x3e8);const _0x1671f4=await this['loginService']['passwordLogin'](_0x21366d);switch(_0x1671f4[_0x167cad(0x181)]){case'0':{break;}case _0x30ec5e[_0x167cad(0x1b6)]:{break;}case'4':case _0x30ec5e['qOanl']:default:}}async[_0x4bfa7e(0x20f)](){const _0x11e8d9=await this['loginService']['getLoginList']();return _0x11e8d9;}}function _0x18ad(){const _0x276e48=['HyMRF','has','gANlG','onLoginSuccessFuncList','proxyHandler','qrcodeUrl','qiQSd','getQuickLoginList','startNT','TORpS','onQRCodeSessionFailed','util','onMsgInfoListUpdate','then','getMsgByLongId','getNextMemberList','没有可快速登录的QQ号','NodeIKernelBuddyListener','登录失败','xpmKy','NodeIDependsAdapter','NodeIKernelLoginListener','1120626vMHDyc','35510PhmVxw','./.config/QQ','getNTUserDataInfoConfig','quickLogin','initConfig','msgId','qxAZE','uid','快速登录失败\x20','当前账号(','70bYiYrG','nYwUd','本账号数据/缓存目录:','523073uOBxJR','qrLogin','getBuddyList','getLoginList','quickLoginWithUin','数据库初始化失败','md5','FYUDA','split','now','getGroupService','onQRCodeGetPicture','onAddSendMsg','140022013','init','groupCode','140022008','clientType','快速登录不可用','NodeIDispatcherAdapter','6655IwHzkp','result','digest','[KickedOffLine]\x20[','fileLog','tipsTitle','mArtC','BuddyListener','onBuddyListChange','catch','update','nqIIc','createMemberListScene','ouaPB','onProfileDetailInfoChanged','find','engine','session','eZSjC','memberCount','assign','constructor','ifZzk','onLoginSuccess','./nt_qq/global','addMsg','129724APBety','qbZze','onSessionInitComplete','SUqoX','getQRCodePicture','DWIjw','packet_sent','dataPathGlobal','addListener','curVersion','hex','NodeQQNTWrapperUtil','getProfileService','loginErrorInfo','createHash','onKickedOffLine','groupMemberList_MainWindow','loginListener','tipsDesc','NodeIKernelMsgListener','LvmXk','getMsgService','initDataListener','BNfOL','onRecvMsg','delete','isDelete','rZkpz','oCYuZ','initSession\x20failed','XZmbr','ZuNtd','HybrR','nbPRu','192YFTJBT','isQuickLogin','tNrZy','stringify','pQqJa','6109128QFGOku','set','resolve','ELyaV','NodeIGlobalAdapter','consoleLog','zXAkl','pngBase64QrcodeData','addKernelProfileListener','LBXHI',')已登录,无法重复登录','Windows\x2010\x20Pro','onGroupListUpdate','-v2.db','replace','addKernelLoginListener','errMsg','3qpGkpy','77749mjleEs','devUid','recallTime','Staqf','NodeIKernelLoginService',')\x20在线状态变更','from','infos','undefined','packet_received','sceneId','DHSMc','getBuddyService','floor','MqznA','MsgListener','gocqS','get','onUserLoggedIn','mCTHj','onMemberInfoChange','mkdirSync','loginService','dataPath','NodeIKernelSessionListener','hCzQb','uin','base64','cyfgq','NodeIQQNTWrapperEngine','map','ERbSo','THMGa','MrQTJ','342868eEudQF','updateMsg','V1_WIN_NQ_','ProfileListener','last_message_time','zsPjP','PxKhb','onLoginFailed','push','./NapCat/data','forEach','initWithDeskTopConfig','init\x20failed\x20','tHAwU','length','MMTGl','onMemberListChange','initSession','XOKVp'];_0x18ad=function(){return _0x276e48;};return _0x18ad();}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 8384bb09..f80d8c4d 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x2ec843,_0x1d276e){const _0x11037b=_0x2b6a,_0x782529=_0x2ec843();while(!![]){try{const _0x7aad7c=parseInt(_0x11037b(0x202))/0x1*(-parseInt(_0x11037b(0x1f9))/0x2)+-parseInt(_0x11037b(0x1f1))/0x3*(-parseInt(_0x11037b(0x1f8))/0x4)+parseInt(_0x11037b(0x1f3))/0x5*(parseInt(_0x11037b(0x1fe))/0x6)+-parseInt(_0x11037b(0x1eb))/0x7+parseInt(_0x11037b(0x1ed))/0x8*(parseInt(_0x11037b(0x1fa))/0x9)+parseInt(_0x11037b(0x1ea))/0xa+-parseInt(_0x11037b(0x1f7))/0xb;if(_0x7aad7c===_0x1d276e)break;else _0x782529['push'](_0x782529['shift']());}catch(_0x40bc61){_0x782529['push'](_0x782529['shift']());}}}(_0x851f,0xaa35c));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x965a69){const _0x327391=_0x2b6a;groups['delete'](_0x965a69),groupMembers[_0x327391(0x1fc)](_0x965a69);}function _0x2b6a(_0x43f2a7,_0x244065){const _0x851f93=_0x851f();return _0x2b6a=function(_0x2b6a86,_0x45c108){_0x2b6a86=_0x2b6a86-0x1ea;let _0x20ffb3=_0x851f93[_0x2b6a86];return _0x20ffb3;},_0x2b6a(_0x43f2a7,_0x244065);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};function _0x851f(){const _0x284b12=['6197719hoihzu','235588zqIpFA','26VGlXkr','4820364WUTodd','zPLvl','delete','getGroupMembers','90ZPEOIH','uin','forEach','toString','23957SeAUmO','10663790HyjmWZ','6933864kwDeDh','find','8wcRiuO','EdoRN','get','set','18aOpnaI','length','202415swPjFE','bJlOC','values','kXoWO'];_0x851f=function(){return _0x284b12;};return _0x851f();}export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x175bd5){const _0x3a07e6=_0x2b6a,_0x3fbac2={'bJlOC':function(_0x2f75ff,_0x1139bd){return _0x2f75ff(_0x1139bd);}};_0x175bd5=_0x175bd5[_0x3a07e6(0x201)]();if(_0x3fbac2[_0x3a07e6(0x1f4)](isNumeric,_0x175bd5)){const _0x4007dd=Array['from'](friends[_0x3a07e6(0x1f5)]());return _0x4007dd[_0x3a07e6(0x1ec)](_0x17b83b=>_0x17b83b[_0x3a07e6(0x1ff)]===_0x175bd5);}else return friends[_0x3a07e6(0x1ef)](_0x175bd5);}export async function getGroup(_0x3f6997){const _0x18ade9=_0x2b6a;let _0x150acf=groups[_0x18ade9(0x1ef)](_0x3f6997['toString']());if(!_0x150acf)try{const _0x5de417=await NTQQGroupApi['getGroups']();_0x5de417[_0x18ade9(0x1f2)]&&_0x5de417[_0x18ade9(0x200)](_0xc97d60=>{const _0x560ed1=_0x18ade9;groups[_0x560ed1(0x1f0)](_0xc97d60['groupCode'],_0xc97d60);});}catch(_0x48529c){return undefined;}return _0x150acf=groups[_0x18ade9(0x1ef)](_0x3f6997[_0x18ade9(0x201)]()),_0x150acf;}export async function getGroupMember(_0x491209,_0x3784ce){const _0x71fa51=_0x2b6a,_0x3c57e1={'EdoRN':function(_0x1b05fa,_0x301dc5){return _0x1b05fa(_0x301dc5);},'zPLvl':function(_0x41d975){return _0x41d975();}};_0x491209=_0x491209[_0x71fa51(0x201)](),_0x3784ce=_0x3784ce['toString']();let _0x6d4610=groupMembers[_0x71fa51(0x1ef)](_0x491209);if(!_0x6d4610)try{_0x6d4610=await NTQQGroupApi[_0x71fa51(0x1fd)](_0x491209),groupMembers[_0x71fa51(0x1f0)](_0x491209,_0x6d4610);}catch(_0x1f9c3e){return null;}const _0x4192ff=()=>{const _0x370ed5=_0x71fa51;let _0x1d3d52=undefined;return _0x3c57e1[_0x370ed5(0x1ee)](isNumeric,_0x3784ce)?_0x1d3d52=Array['from'](_0x6d4610[_0x370ed5(0x1f5)]())['find'](_0x307e6d=>_0x307e6d[_0x370ed5(0x1ff)]===_0x3784ce):_0x1d3d52=_0x6d4610[_0x370ed5(0x1ef)](_0x3784ce),_0x1d3d52;};let _0x135f21=_0x3c57e1[_0x71fa51(0x1fb)](_0x4192ff);return!_0x135f21&&(_0x6d4610=await NTQQGroupApi[_0x71fa51(0x1fd)](_0x491209),_0x135f21=_0x3c57e1[_0x71fa51(0x1fb)](_0x4192ff)),_0x135f21;}export const uid2UinMap={};export function getUidByUin(_0x468866){const _0x2810b1=_0x2b6a,_0x1510bb={'kXoWO':function(_0x502c62,_0x368da9){return _0x502c62===_0x368da9;}};for(const _0x3ebfe6 in uid2UinMap){if(_0x1510bb[_0x2810b1(0x1f6)](uid2UinMap[_0x3ebfe6],_0x468866))return _0x3ebfe6;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +const _0xf372a0=_0xbd24;(function(_0x3e7981,_0x228726){const _0x1a5d46=_0xbd24,_0x1c2d45=_0x3e7981();while(!![]){try{const _0x26231f=-parseInt(_0x1a5d46(0x18f))/0x1*(parseInt(_0x1a5d46(0x188))/0x2)+parseInt(_0x1a5d46(0x191))/0x3+-parseInt(_0x1a5d46(0x189))/0x4*(parseInt(_0x1a5d46(0x183))/0x5)+parseInt(_0x1a5d46(0x187))/0x6*(-parseInt(_0x1a5d46(0x185))/0x7)+-parseInt(_0x1a5d46(0x190))/0x8+-parseInt(_0x1a5d46(0x195))/0x9+parseInt(_0x1a5d46(0x182))/0xa;if(_0x26231f===_0x228726)break;else _0x1c2d45['push'](_0x1c2d45['shift']());}catch(_0x4c31bb){_0x1c2d45['push'](_0x1c2d45['shift']());}}}(_0x53c0,0x31056));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 _0xbd24(_0x386d08,_0x3a5679){const _0x53c0b9=_0x53c0();return _0xbd24=function(_0xbd2468,_0x30994c){_0xbd2468=_0xbd2468-0x180;let _0x5309a2=_0x53c0b9[_0xbd2468];return _0x5309a2;},_0xbd24(_0x386d08,_0x3a5679);}function _0x53c0(){const _0x4d7054=['30QOAcfs','2Fjxgjr','1520812BRiGik','bUUgz','bXFGX','from','find','groupCode','15607cNybRu','21984BYlzgr','532536VNnsba','getGroups','delete','set','1476495EtOflf','values','NapCat未能正常启动,请检查日志查看错误','get','jVafp','toString','8484360XCdQxu','5geFPmQ','getGroupMembers','367563TfUgrq','forEach'];_0x53c0=function(){return _0x4d7054;};return _0x53c0();}export function deleteGroup(_0x333bf8){const _0x1e6460=_0xbd24;groups[_0x1e6460(0x193)](_0x333bf8),groupMembers['delete'](_0x333bf8);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0xf372a0(0x197)};export async function getFriend(_0x12e8fc){const _0x5a0140=_0xf372a0;_0x12e8fc=_0x12e8fc[_0x5a0140(0x181)]();if(isNumeric(_0x12e8fc)){const _0x1e7c70=Array[_0x5a0140(0x18c)](friends[_0x5a0140(0x196)]());return _0x1e7c70[_0x5a0140(0x18d)](_0x12c5d9=>_0x12c5d9['uin']===_0x12e8fc);}else return friends['get'](_0x12e8fc);}export async function getGroup(_0x5f1736){const _0x559836=_0xf372a0;let _0x4421ac=groups[_0x559836(0x198)](_0x5f1736[_0x559836(0x181)]());if(!_0x4421ac)try{const _0x3268ea=await NTQQGroupApi[_0x559836(0x192)]();_0x3268ea['length']&&_0x3268ea[_0x559836(0x186)](_0x36820a=>{const _0x255e64=_0x559836;groups[_0x255e64(0x194)](_0x36820a[_0x255e64(0x18e)],_0x36820a);});}catch(_0x4a9f99){return undefined;}return _0x4421ac=groups[_0x559836(0x198)](_0x5f1736[_0x559836(0x181)]()),_0x4421ac;}export async function getGroupMember(_0x35af6d,_0x265e58){const _0x1ec259=_0xf372a0,_0x5b18a9={'bXFGX':function(_0x407b83,_0x4a3f90){return _0x407b83(_0x4a3f90);},'jVafp':function(_0x402926){return _0x402926();},'bUUgz':function(_0x4ef7ea){return _0x4ef7ea();}};_0x35af6d=_0x35af6d['toString'](),_0x265e58=_0x265e58[_0x1ec259(0x181)]();let _0x27e98f=groupMembers[_0x1ec259(0x198)](_0x35af6d);if(!_0x27e98f)try{_0x27e98f=await NTQQGroupApi['getGroupMembers'](_0x35af6d),groupMembers[_0x1ec259(0x194)](_0x35af6d,_0x27e98f);}catch(_0x49ba5f){return null;}const _0x2e7c74=()=>{const _0x3e98f2=_0x1ec259;let _0x39969a=undefined;return _0x5b18a9[_0x3e98f2(0x18b)](isNumeric,_0x265e58)?_0x39969a=Array[_0x3e98f2(0x18c)](_0x27e98f[_0x3e98f2(0x196)]())[_0x3e98f2(0x18d)](_0x12ef65=>_0x12ef65['uin']===_0x265e58):_0x39969a=_0x27e98f[_0x3e98f2(0x198)](_0x265e58),_0x39969a;};let _0x3521a5=_0x5b18a9[_0x1ec259(0x180)](_0x2e7c74);return!_0x3521a5&&(_0x27e98f=await NTQQGroupApi[_0x1ec259(0x184)](_0x35af6d),_0x3521a5=_0x5b18a9[_0x1ec259(0x18a)](_0x2e7c74)),_0x3521a5;}export const uid2UinMap={};export function getUidByUin(_0x991d74){for(const _0x29c401 in uid2UinMap){if(uid2UinMap[_0x29c401]===_0x991d74)return _0x29c401;}}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 12915ad4..c7975154 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x193417,_0x317dfd){var _0x56f094=_0xcfcf,_0x35cc8c=_0x193417();while(!![]){try{var _0x13d832=-parseInt(_0x56f094(0x158))/0x1*(-parseInt(_0x56f094(0x165))/0x2)+parseInt(_0x56f094(0x167))/0x3*(-parseInt(_0x56f094(0x15d))/0x4)+parseInt(_0x56f094(0x15b))/0x5*(parseInt(_0x56f094(0x160))/0x6)+parseInt(_0x56f094(0x166))/0x7+-parseInt(_0x56f094(0x16b))/0x8+-parseInt(_0x56f094(0x162))/0x9+parseInt(_0x56f094(0x15a))/0xa*(parseInt(_0x56f094(0x169))/0xb);if(_0x13d832===_0x317dfd)break;else _0x35cc8c['push'](_0x35cc8c['shift']());}catch(_0x2a2e4e){_0x35cc8c['push'](_0x35cc8c['shift']());}}}(_0x1ed2,0xd606f));function _0x1ed2(){var _0x44e884=['1664ygrVFQ','2246146lLAjVt','24zddFuw','OTHER','8525fUytzR','SSkPg','12898160HDTfLj','jcgVa','AUDIO','1602PvPdtF','ZugpZ','27310BqXdyo','730FNYXgk','VIDEO','779788ONRPSW','DOCUMENT','fQTaH','32178HpsJFF','sLIhR','4542876cnCOYL','4|0|3|1|2','IMAGE'];_0x1ed2=function(){return _0x44e884;};return _0x1ed2();};function _0xcfcf(_0x15f138,_0x2eb230){var _0x1ed2cd=_0x1ed2();return _0xcfcf=function(_0xcfcf20,_0x17559a){_0xcfcf20=_0xcfcf20-0x156;var _0x589324=_0x1ed2cd[_0xcfcf20];return _0x589324;},_0xcfcf(_0x15f138,_0x2eb230);}export var CacheFileType;(function(_0x3b67de){var _0x3ac845=_0xcfcf,_0xc4d604={'jcgVa':_0x3ac845(0x163),'sLIhR':_0x3ac845(0x15c),'fQTaH':_0x3ac845(0x168),'ZugpZ':_0x3ac845(0x157),'SSkPg':'IMAGE'},_0x543427=_0xc4d604[_0x3ac845(0x156)]['split']('|'),_0x32c993=0x0;while(!![]){switch(_0x543427[_0x32c993++]){case'0':_0x3b67de[_0x3b67de[_0xc4d604[_0x3ac845(0x161)]]=0x1]=_0xc4d604[_0x3ac845(0x161)];continue;case'1':_0x3b67de[_0x3b67de[_0x3ac845(0x15e)]=0x3]='DOCUMENT';continue;case'2':_0x3b67de[_0x3b67de[_0xc4d604['fQTaH']]=0x4]=_0xc4d604[_0x3ac845(0x15f)];continue;case'3':_0x3b67de[_0x3b67de[_0xc4d604[_0x3ac845(0x159)]]=0x2]=_0x3ac845(0x157);continue;case'4':_0x3b67de[_0x3b67de[_0x3ac845(0x164)]=0x0]=_0xc4d604[_0x3ac845(0x16a)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x3afc(_0x339f7b,_0x2d3197){var _0x3890e9=_0x3890();return _0x3afc=function(_0x3afc68,_0x568dd3){_0x3afc68=_0x3afc68-0x1ba;var _0x5d2a8f=_0x3890e9[_0x3afc68];return _0x5d2a8f;},_0x3afc(_0x339f7b,_0x2d3197);}(function(_0x813259,_0x59d305){var _0xf6b0d4=_0x3afc,_0x420b92=_0x813259();while(!![]){try{var _0x45f709=parseInt(_0xf6b0d4(0x1bf))/0x1+parseInt(_0xf6b0d4(0x1c7))/0x2+-parseInt(_0xf6b0d4(0x1ba))/0x3*(parseInt(_0xf6b0d4(0x1bb))/0x4)+parseInt(_0xf6b0d4(0x1bd))/0x5+parseInt(_0xf6b0d4(0x1ca))/0x6+parseInt(_0xf6b0d4(0x1c0))/0x7+-parseInt(_0xf6b0d4(0x1c5))/0x8;if(_0x45f709===_0x59d305)break;else _0x420b92['push'](_0x420b92['shift']());}catch(_0x1c0de7){_0x420b92['push'](_0x420b92['shift']());}}}(_0x3890,0x51640));;export var CacheFileType;function _0x3890(){var _0x5667bc=['AUDIO','VIDEO','VNAOd','3EFXDUt','819440dYOngK','RRJLQ','3304360WpQtDY','pJUfq','643732YtJvcM','1292914DfkATi','split','kVROy','aYbVD','4|3|1|2|0','11147064wIOeLU','IMAGE','558050ToVTct','PvwdK','DOCUMENT','979728KIcJDF'];_0x3890=function(){return _0x5667bc;};return _0x3890();}(function(_0xc8c05a){var _0x36b80d=_0x3afc,_0xbf6ae0={'kVROy':_0x36b80d(0x1c4),'VNAOd':'OTHER','RRJLQ':_0x36b80d(0x1cb),'aYbVD':_0x36b80d(0x1c9),'PvwdK':_0x36b80d(0x1cc),'pJUfq':_0x36b80d(0x1c6)},_0x2986fe=_0xbf6ae0[_0x36b80d(0x1c2)][_0x36b80d(0x1c1)]('|'),_0x493d32=0x0;while(!![]){switch(_0x2986fe[_0x493d32++]){case'0':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1cd)]]=0x4]=_0xbf6ae0[_0x36b80d(0x1cd)];continue;case'1':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1bc)]]=0x2]=_0xbf6ae0[_0x36b80d(0x1bc)];continue;case'2':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1c3)]]=0x3]=_0xbf6ae0[_0x36b80d(0x1c3)];continue;case'3':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1c8)]]=0x1]=_0xbf6ae0[_0x36b80d(0x1c8)];continue;case'4':_0xc8c05a[_0xc8c05a[_0xbf6ae0[_0x36b80d(0x1be)]]=0x0]=_0xbf6ae0[_0x36b80d(0x1be)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index bc7a5955..5d21d249 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x5f0657=_0xe009;(function(_0x335a8b,_0x2f0765){const _0x264181=_0xe009,_0x481ef6=_0x335a8b();while(!![]){try{const _0x27c51d=-parseInt(_0x264181(0x197))/0x1+-parseInt(_0x264181(0x1a2))/0x2+parseInt(_0x264181(0x198))/0x3+-parseInt(_0x264181(0x199))/0x4*(parseInt(_0x264181(0x1b9))/0x5)+-parseInt(_0x264181(0x160))/0x6*(-parseInt(_0x264181(0x19d))/0x7)+parseInt(_0x264181(0x1b5))/0x8+parseInt(_0x264181(0x169))/0x9*(parseInt(_0x264181(0x1ba))/0xa);if(_0x27c51d===_0x2f0765)break;else _0x481ef6['push'](_0x481ef6['shift']());}catch(_0x350d4d){_0x481ef6['push'](_0x481ef6['shift']());}}}(_0x5987,0x316b7));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x530a55}from'node:fs';import _0x5a96e9 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';function _0xe009(_0x2a57da,_0x2e0d52){const _0x5987fb=_0x5987();return _0xe009=function(_0xe00961,_0xb49485){_0xe00961=_0xe00961-0x160;let _0x3c14ed=_0x5987fb[_0xe00961];return _0x3c14ed;},_0xe009(_0x2a57da,_0x2e0d52);}import _0x203081 from'./face_config.json';import*as _0x273d2f from'node:path';import{SignMiniApp}from'../apis';function _0x5987(){const _0x5a68d3=['qsFna','TEXT','find','32854PlDdHo','1098945uqZMYH','10836WANkGw','QSid','VIDEO','stringify','21IoClVh','yKgXG','KStnD','unlink','face','708454IRnAwy','语音转换失败,\x20请检查语音文件是否正常','Cdsgx','height','WRFCS','hKvCp','ZzANe','width','mp4','replace','FILE','_0.png','REPLY','join','dice','文件异常,大小为0','then','QDes','gif','50152bQStDs','kXWiy','writeFile','VSJTx','575GwnyzH','10UtwzPn','FOWPG','error','482694XoKeSX','Bot\x20Test','reply','MXxuY','AniStickerType','catch','pic','ptt','mface','2583972EiYNAI','text','zRQAO','oulmU','ARK','time','xdPQT','MAong','RPS','sep','hWWjU','qbnDl','emoji','iUqYM','markdown','FACE','uploadFile','Thumb','set','copyFile','PIC','[包剪锤]','ark','IcWJu','vDBEh','ZYCuB','[骰子]','miniapp','PlXcV','string','PTT','获取视频信息失败','toString','MARKDOWN','WYYGF','get','IENpe','获取视频封面失败,使用默认封面','KbeiB','rFMci','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','jpg'];_0x5987=function(){return _0x5a68d3;};return _0x5987();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x5f0657(0x16a)](_0x476a07){const _0x607a89=_0x5f0657;return{'elementType':ElementType[_0x607a89(0x195)],'elementId':'','textElement':{'content':_0x476a07,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x29927f,_0x5a89c2,_0x14e441,_0xa11d90){const _0x749fc4=_0x5f0657;return{'elementType':ElementType[_0x749fc4(0x195)],'elementId':'','textElement':{'content':'@'+_0xa11d90,'atType':_0x14e441,'atUid':_0x29927f,'atTinyId':'','atNtUid':_0x5a89c2}};}static[_0x5f0657(0x162)](_0x2a6849,_0x1f9dcd,_0x335ce2,_0x1cb77a){const _0x281490=_0x5f0657;return{'elementType':ElementType[_0x281490(0x1ae)],'elementId':'','replyElement':{'replayMsgSeq':_0x2a6849,'replayMsgId':_0x1f9dcd,'senderUin':_0x335ce2,'senderUinStr':_0x1cb77a}};}static async[_0x5f0657(0x166)](_0x3a59ce,_0x2acf4a='',_0x14e285=0x0){const _0xbc0c02=_0x5f0657,_0x314916={'KStnD':function(_0x2fbcf1,_0x14cc29){return _0x2fbcf1===_0x14cc29;},'IzOFk':_0xbc0c02(0x1b1),'hWWjU':function(_0x3ddfb0,_0x1d5672){return _0x3ddfb0(_0x1d5672);}},{md5:_0x3218f4,fileName:_0x103d32,path:_0x4f6afd,fileSize:_0x997589}=await NTQQFileApi[_0xbc0c02(0x179)](_0x3a59ce,ElementType[_0xbc0c02(0x17d)],_0x14e285);if(_0x314916[_0xbc0c02(0x19f)](_0x997589,0x0))throw _0x314916['IzOFk'];const _0x243063=await NTQQFileApi['getImageSize'](_0x3a59ce),_0x45f38e={'md5HexStr':_0x3218f4,'fileSize':_0x997589[_0xbc0c02(0x189)](),'picWidth':_0x243063?.[_0xbc0c02(0x1a9)],'picHeight':_0x243063?.[_0xbc0c02(0x1a5)],'fileName':_0x103d32,'sourcePath':_0x4f6afd,'original':!![],'picType':_0x314916[_0xbc0c02(0x173)](isGIF,_0x3a59ce)?PicType[_0xbc0c02(0x1b4)]:PicType[_0xbc0c02(0x193)],'picSubType':_0x14e285,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x2acf4a};return{'elementType':ElementType[_0xbc0c02(0x17d)],'elementId':'','picElement':_0x45f38e};}static async['file'](_0x1e3bbd,_0x26a620=''){const _0x59b5c3=_0x5f0657,_0x42d2f2={'ZzANe':_0x59b5c3(0x1b1),'KbeiB':function(_0xc29f19,_0x166283){return _0xc29f19||_0x166283;}},{md5:_0x424eaf,fileName:_0x40c51f,path:_0x4ca127,fileSize:_0x1e27ba}=await NTQQFileApi[_0x59b5c3(0x179)](_0x1e3bbd,ElementType[_0x59b5c3(0x1ac)]);if(_0x1e27ba===0x0)throw _0x42d2f2[_0x59b5c3(0x1a8)];const _0x2246b3={'elementType':ElementType[_0x59b5c3(0x1ac)],'elementId':'','fileElement':{'fileName':_0x42d2f2[_0x59b5c3(0x18f)](_0x26a620,_0x40c51f),'filePath':_0x4ca127,'fileSize':_0x1e27ba[_0x59b5c3(0x189)]()}};return _0x2246b3;}static async['video'](_0x33076f,_0x28965e='',_0x26aea0=''){const _0x3399b1=_0x5f0657,_0x29f7b1={'yKgXG':function(_0x15ba32,_0x1b551d,_0x134e1b){return _0x15ba32(_0x1b551d,_0x134e1b);},'VSJTx':function(_0x4939aa,_0x54200a){return _0x4939aa(_0x54200a);},'WRFCS':function(_0x106905,_0x20cc93){return _0x106905(_0x20cc93);},'rFMci':function(_0x5e04c6,_0x354dca){return _0x5e04c6(_0x354dca);},'oulmU':'end','hKvCp':_0x3399b1(0x1bc),'MXxuY':function(_0x30e6bf,_0x4a9a69){return _0x30e6bf+_0x4a9a69;},'omlVJ':function(_0x362b55,_0x2d153c){return _0x362b55+_0x2d153c;},'YiUcr':function(_0x4fecf4,_0x34c4ec){return _0x4fecf4===_0x34c4ec;},'ZYCuB':function(_0x42a33a,_0x153a6f){return _0x42a33a(_0x153a6f);},'okmiU':_0x3399b1(0x188),'IENpe':function(_0x3af499,_0x231713){return _0x3af499||_0x231713;},'qbnDl':function(_0x432579,_0x461d44){return _0x432579+_0x461d44;}},{fileName:_0x42cb4d,path:_0xbb1513,fileSize:_0x156b5f,md5:_0x712148}=await NTQQFileApi['uploadFile'](_0x33076f,ElementType[_0x3399b1(0x19b)]);if(_0x29f7b1['YiUcr'](_0x156b5f,0x0))throw _0x3399b1(0x1b1);let _0x1262d1=_0xbb1513[_0x3399b1(0x1ab)](_0x273d2f[_0x3399b1(0x172)]+'Ori'+_0x273d2f[_0x3399b1(0x172)],_0x273d2f['sep']+_0x3399b1(0x17a)+_0x273d2f['sep']);_0x1262d1=_0x273d2f['dirname'](_0x1262d1);let _0x2d3272={'width':0x780,'height':0x438,'time':0xf,'format':_0x3399b1(0x1aa),'size':_0x156b5f,'filePath':_0x33076f};try{_0x2d3272=await _0x29f7b1[_0x3399b1(0x182)](getVideoInfo,_0xbb1513);}catch(_0x2f2a74){_0x29f7b1['yKgXG'](logError,_0x29f7b1['okmiU'],_0x2f2a74);}const _0x502c30=new Promise((_0x306b42,_0x88be3e)=>{const _0x101a9a=_0x3399b1,_0x24b867={'iUqYM':function(_0x4e1b85,_0xa2b0cf){return _0x4e1b85(_0xa2b0cf);},'zRQAO':function(_0x5d7453,_0xcb479b){const _0x533513=_0xe009;return _0x29f7b1[_0x533513(0x1a6)](_0x5d7453,_0xcb479b);}},_0xf04ea3=_0x712148+_0x101a9a(0x1ad),_0x16f35d=_0x273d2f[_0x101a9a(0x1af)](_0x1262d1,_0xf04ea3);_0x29f7b1[_0x101a9a(0x190)](_0x5a96e9,_0x33076f)['on'](_0x29f7b1[_0x101a9a(0x16c)],()=>{})['on'](_0x29f7b1[_0x101a9a(0x1a7)],_0x2c6e55=>{const _0x4194c6=_0x101a9a;_0x29f7b1[_0x4194c6(0x19e)](logDebug,_0x4194c6(0x18e),_0x2c6e55),_0x26aea0?_0x530a55[_0x4194c6(0x17c)](_0x26aea0,_0x16f35d)[_0x4194c6(0x1b2)](()=>{const _0x2a8a76=_0x4194c6;_0x24b867[_0x2a8a76(0x176)](_0x306b42,_0x16f35d);})[_0x4194c6(0x165)](_0x88be3e):_0x530a55[_0x4194c6(0x1b7)](_0x16f35d,defaultVideoThumb)[_0x4194c6(0x1b2)](()=>{const _0x536a7d=_0x4194c6;_0x24b867[_0x536a7d(0x16b)](_0x306b42,_0x16f35d);})[_0x4194c6(0x165)](_0x88be3e);})['screenshots']({'timestamps':[0x0],'filename':_0xf04ea3,'folder':_0x1262d1,'size':_0x29f7b1[_0x101a9a(0x163)](_0x29f7b1['omlVJ'](_0x2d3272[_0x101a9a(0x1a9)],'x'),_0x2d3272['height'])})['on'](_0x29f7b1[_0x101a9a(0x16c)],()=>{const _0xbddb68=_0x101a9a;_0x29f7b1[_0xbddb68(0x1b8)](_0x306b42,_0x16f35d);});}),_0x16bbae=new Map(),_0x524a4c=await _0x502c30,_0x18e246=(await _0x530a55['stat'](_0x524a4c))['size'];_0x16bbae[_0x3399b1(0x17b)](0x0,_0x524a4c);const _0x36077c=await _0x29f7b1['ZYCuB'](calculateFileMD5,_0x524a4c),_0x38b096={'elementType':ElementType[_0x3399b1(0x19b)],'elementId':'','videoElement':{'fileName':_0x29f7b1[_0x3399b1(0x18d)](_0x28965e,_0x42cb4d),'filePath':_0xbb1513,'videoMd5':_0x712148,'thumbMd5':_0x36077c,'fileTime':_0x2d3272[_0x3399b1(0x16e)],'thumbPath':_0x16bbae,'thumbSize':_0x18e246,'thumbWidth':_0x2d3272['width'],'thumbHeight':_0x2d3272[_0x3399b1(0x1a5)],'fileSize':_0x29f7b1[_0x3399b1(0x174)]('',_0x156b5f)}};return _0x38b096;}static async[_0x5f0657(0x167)](_0x13b024){const _0x11830b=_0x5f0657,_0x571008={'vDBEh':function(_0x47bd79,_0xc9b52b){return _0x47bd79(_0xc9b52b);},'PlXcV':_0x11830b(0x1a3),'xdPQT':function(_0x29c084,_0x9a463d){return _0x29c084===_0x9a463d;},'Cdsgx':function(_0x2c31af,_0x4b0bc5){return _0x2c31af||_0x4b0bc5;}},{converted:_0x662867,path:_0x1b22a7,duration:_0x233f53}=await _0x571008[_0x11830b(0x181)](encodeSilk,_0x13b024);if(!_0x1b22a7)throw _0x571008[_0x11830b(0x185)];const {md5:_0xbd4c76,fileName:_0x314e87,path:_0x5e66aa,fileSize:_0x4ded64}=await NTQQFileApi[_0x11830b(0x179)](_0x1b22a7,ElementType[_0x11830b(0x187)]);if(_0x571008[_0x11830b(0x16f)](_0x4ded64,0x0))throw _0x11830b(0x1b1);return _0x662867&&_0x530a55[_0x11830b(0x1a0)](_0x1b22a7)[_0x11830b(0x1b2)](),{'elementType':ElementType[_0x11830b(0x187)],'elementId':'','pttElement':{'fileName':_0x314e87,'filePath':_0x5e66aa,'md5HexStr':_0xbd4c76,'fileSize':_0x4ded64,'duration':_0x571008[_0x11830b(0x1a4)](_0x233f53,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[_0x5f0657(0x1a1)](_0x86ab60){const _0x2a7ed5=_0x5f0657,_0x394486={'WYYGF':function(_0x270035,_0x23d4c6){return _0x270035>=_0x23d4c6;}},_0x57e959=_0x203081['sysface'],_0x21cf18=_0x203081[_0x2a7ed5(0x175)],_0x2ada49=_0x57e959[_0x2a7ed5(0x196)](_0x5df53a=>_0x5df53a[_0x2a7ed5(0x19a)]===_0x86ab60[_0x2a7ed5(0x189)]());_0x86ab60=parseInt(_0x86ab60[_0x2a7ed5(0x189)]());let _0xb7f88c=0x1;return _0x394486[_0x2a7ed5(0x18b)](_0x86ab60,0xde)&&(_0xb7f88c=0x2),_0x2ada49[_0x2a7ed5(0x164)]&&(_0xb7f88c=0x3),{'elementType':ElementType[_0x2a7ed5(0x178)],'elementId':'','faceElement':{'faceIndex':_0x86ab60,'faceType':_0xb7f88c,'faceText':_0x2ada49[_0x2a7ed5(0x1b3)],'stickerId':_0x2ada49['AniStickerId'],'stickerType':_0x2ada49[_0x2a7ed5(0x164)],'packId':_0x2ada49['AniStickerPackId'],'sourceType':0x1}};}static[_0x5f0657(0x168)](_0x2dcc66,_0x54ccdb,_0x430d6e,_0x5626bc){const _0x2ffd90=_0x5f0657,_0x11c85f={'MAong':'[商城表情]'};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x2dcc66,'emojiId':_0x54ccdb,'key':_0x430d6e,'faceName':_0x5626bc||mFaceCache[_0x2ffd90(0x18c)](_0x54ccdb)||_0x11c85f[_0x2ffd90(0x170)]}};}static[_0x5f0657(0x1b0)](_0x19bc19){const _0x1d6c10=_0x5f0657,_0x4ad00a={'SERyt':_0x1d6c10(0x183)};return{'elementType':ElementType[_0x1d6c10(0x178)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1d6c10(0x1b0)],'faceType':FaceType[_0x1d6c10(0x1b0)],'faceText':_0x4ad00a['SERyt'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x138265){const _0x4cce5c=_0x5f0657,_0x1e05ec={'FOWPG':_0x4cce5c(0x17e)};return{'elementType':ElementType[_0x4cce5c(0x178)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x4cce5c(0x171)],'faceText':_0x1e05ec[_0x4cce5c(0x1bb)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5f0657(0x17f)](_0x23ec92){const _0x135b3e=_0x5f0657,_0x10f639={'AKGmR':_0x135b3e(0x186)};return typeof _0x23ec92!==_0x10f639['AKGmR']&&(_0x23ec92=JSON[_0x135b3e(0x19c)](_0x23ec92)),{'elementType':ElementType[_0x135b3e(0x16d)],'elementId':'','arkElement':{'bytesData':_0x23ec92,'linkInfo':null,'subElementType':null}};}static[_0x5f0657(0x177)](_0x19a564){const _0xec9338=_0x5f0657;return{'elementType':ElementType[_0xec9338(0x18a)],'elementId':'','markdownElement':{'content':_0x19a564}};}static async[_0x5f0657(0x184)](){const _0x1a9b27=_0x5f0657,_0x55042c={'GEPaB':function(_0x4400c8,_0x532047){return _0x4400c8(_0x532047);},'IcWJu':_0x1a9b27(0x161),'sJBXq':_0x1a9b27(0x191),'kXWiy':'https://www.bilibili.com/','qsFna':_0x1a9b27(0x192)};let _0x305670=await _0x55042c['GEPaB'](SignMiniApp,{'prompt':_0x55042c[_0x1a9b27(0x180)],'title':_0x55042c['IcWJu'],'preview':_0x55042c['sJBXq'],'jumpUrl':_0x55042c[_0x1a9b27(0x1b6)],'tag':_0x55042c[_0x1a9b27(0x180)],'tagIcon':_0x55042c[_0x1a9b27(0x194)],'source':_0x55042c['IcWJu'],'sourcelogo':_0x55042c[_0x1a9b27(0x194)]});return{'elementType':ElementType[_0x1a9b27(0x16d)],'elementId':'','arkElement':{'bytesData':_0x305670,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x135922=_0x56e5;(function(_0x1d2fd3,_0x2ceda6){const _0x51f264=_0x56e5,_0x53dd99=_0x1d2fd3();while(!![]){try{const _0x304aab=-parseInt(_0x51f264(0x162))/0x1*(-parseInt(_0x51f264(0x134))/0x2)+parseInt(_0x51f264(0x131))/0x3*(-parseInt(_0x51f264(0x148))/0x4)+parseInt(_0x51f264(0x115))/0x5+parseInt(_0x51f264(0x10f))/0x6*(parseInt(_0x51f264(0x14c))/0x7)+parseInt(_0x51f264(0x119))/0x8+parseInt(_0x51f264(0x15c))/0x9*(parseInt(_0x51f264(0x12f))/0xa)+-parseInt(_0x51f264(0x160))/0xb*(parseInt(_0x51f264(0x132))/0xc);if(_0x304aab===_0x2ceda6)break;else _0x53dd99['push'](_0x53dd99['shift']());}catch(_0x145ae3){_0x53dd99['push'](_0x53dd99['shift']());}}}(_0x3d97,0x5070c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3fb0e1}from'node:fs';import _0x3e6fd9 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';function _0x56e5(_0x2ccad7,_0x2684d7){const _0x3d9746=_0x3d97();return _0x56e5=function(_0x56e572,_0x291227){_0x56e572=_0x56e572-0x10f;let _0x3c6e51=_0x3d9746[_0x56e572];return _0x3c6e51;},_0x56e5(_0x2ccad7,_0x2684d7);}import{encodeSilk}from'@/common/utils/audio';import _0x28c71f from'./face_config.json';import*as _0x3406eb from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x5a30ae){const _0x5bf715=_0x56e5;return{'elementType':ElementType[_0x5bf715(0x116)],'elementId':'','textElement':{'content':_0x5a30ae,'atType':AtType[_0x5bf715(0x166)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x10a0d0,_0x22f01c,_0x4e85b1,_0x18ba08){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x18ba08,'atType':_0x4e85b1,'atUid':_0x10a0d0,'atTinyId':'','atNtUid':_0x22f01c}};}static[_0x135922(0x13d)](_0xa28229,_0x2134fc,_0x41e756,_0x1505f5){const _0x35b487=_0x135922;return{'elementType':ElementType[_0x35b487(0x14f)],'elementId':'','replyElement':{'replayMsgSeq':_0xa28229,'replayMsgId':_0x2134fc,'senderUin':_0x41e756,'senderUinStr':_0x1505f5}};}static async['pic'](_0x4f740e,_0x2e8cd1='',_0x44091c=0x0){const _0x328643=_0x135922,_0x47da78={'ycILf':function(_0x2dfffc,_0x2ff439){return _0x2dfffc(_0x2ff439);}},{md5:_0x7ca920,fileName:_0x34681c,path:_0x3d88bf,fileSize:_0x341f7a}=await NTQQFileApi[_0x328643(0x15e)](_0x4f740e,ElementType[_0x328643(0x12e)],_0x44091c);if(_0x341f7a===0x0)throw _0x328643(0x150);const _0xbe979d=await NTQQFileApi['getImageSize'](_0x4f740e),_0x34ec0a={'md5HexStr':_0x7ca920,'fileSize':_0x341f7a[_0x328643(0x158)](),'picWidth':_0xbe979d?.[_0x328643(0x155)],'picHeight':_0xbe979d?.[_0x328643(0x111)],'fileName':_0x34681c,'sourcePath':_0x3d88bf,'original':!![],'picType':_0x47da78[_0x328643(0x167)](isGIF,_0x4f740e)?PicType[_0x328643(0x14a)]:PicType['jpg'],'picSubType':_0x44091c,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x2e8cd1};return{'elementType':ElementType[_0x328643(0x12e)],'elementId':'','picElement':_0x34ec0a};}static async[_0x135922(0x14b)](_0x1b5f71,_0x3bc6df=''){const _0x3ef751=_0x135922,_0x5f0d6e={'kDpPr':function(_0x23ba66,_0x2cd9c7){return _0x23ba66===_0x2cd9c7;},'GBLze':'文件异常,大小为0','eINxA':function(_0x1515f9,_0x5b0b7b){return _0x1515f9||_0x5b0b7b;}},{md5:_0xee521f,fileName:_0x1aca8c,path:_0x39a200,fileSize:_0xaaaf09}=await NTQQFileApi['uploadFile'](_0x1b5f71,ElementType[_0x3ef751(0x165)]);if(_0x5f0d6e[_0x3ef751(0x12c)](_0xaaaf09,0x0))throw _0x5f0d6e[_0x3ef751(0x161)];const _0x384423={'elementType':ElementType[_0x3ef751(0x165)],'elementId':'','fileElement':{'fileName':_0x5f0d6e[_0x3ef751(0x123)](_0x3bc6df,_0x1aca8c),'filePath':_0x39a200,'fileSize':_0xaaaf09['toString']()}};return _0x384423;}static async[_0x135922(0x154)](_0x51a7b0,_0x5b561a='',_0x3cc083=''){const _0x2bad92=_0x135922,_0xd25a20={'npjfe':function(_0x5613c0,_0x82cf17,_0x19f444){return _0x5613c0(_0x82cf17,_0x19f444);},'iFGlA':_0x2bad92(0x152),'JUzXS':_0x2bad92(0x13f),'EfTzC':function(_0x47cb00,_0x3ec6cd){return _0x47cb00===_0x3ec6cd;},'ffYFz':'文件异常,大小为0','mqjRe':function(_0x317b83,_0x349b23){return _0x317b83(_0x349b23);},'Guktl':_0x2bad92(0x168),'bcMRO':function(_0x138cac,_0x1d8ba4){return _0x138cac||_0x1d8ba4;},'KUMVi':function(_0x2cf682,_0x457b4c){return _0x2cf682+_0x457b4c;}},{fileName:_0x529d28,path:_0x7323e2,fileSize:_0x3f1139,md5:_0x1a7817}=await NTQQFileApi['uploadFile'](_0x51a7b0,ElementType[_0x2bad92(0x11a)]);if(_0xd25a20[_0x2bad92(0x16b)](_0x3f1139,0x0))throw _0xd25a20[_0x2bad92(0x13e)];let _0x11a3b7=_0x7323e2[_0x2bad92(0x124)](_0x3406eb['sep']+_0x2bad92(0x113)+_0x3406eb['sep'],_0x3406eb[_0x2bad92(0x151)]+_0x2bad92(0x140)+_0x3406eb[_0x2bad92(0x151)]);_0x11a3b7=_0x3406eb[_0x2bad92(0x14e)](_0x11a3b7);let _0x52b690={'width':0x780,'height':0x438,'time':0xf,'format':_0x2bad92(0x11f),'size':_0x3f1139,'filePath':_0x51a7b0};try{_0x52b690=await _0xd25a20['mqjRe'](getVideoInfo,_0x7323e2);}catch(_0x14c8d6){_0xd25a20['npjfe'](logError,_0xd25a20[_0x2bad92(0x16c)],_0x14c8d6);}const _0x4a1526=new Promise((_0xc9075,_0x118af6)=>{const _0x47f9bb=_0x2bad92,_0x10cd75={'KzMZC':function(_0x57d447,_0x3eead8,_0x26ead2){const _0x253bfe=_0x56e5;return _0xd25a20[_0x253bfe(0x163)](_0x57d447,_0x3eead8,_0x26ead2);}},_0x23fe5f=_0x1a7817+_0x47f9bb(0x11b),_0x1ef672=_0x3406eb['join'](_0x11a3b7,_0x23fe5f);_0x3e6fd9(_0x51a7b0)['on'](_0x47f9bb(0x13f),()=>{})['on'](_0xd25a20[_0x47f9bb(0x11d)],_0x4c585a=>{const _0xad6b08=_0x47f9bb,_0xcd37dc={'VvmqT':function(_0xe8126a,_0x1d7272){return _0xe8126a(_0x1d7272);}};_0x10cd75[_0xad6b08(0x15f)](logDebug,_0xad6b08(0x133),_0x4c585a),_0x3cc083?_0x3fb0e1[_0xad6b08(0x147)](_0x3cc083,_0x1ef672)[_0xad6b08(0x145)](()=>{const _0x4fe196=_0xad6b08;_0xcd37dc[_0x4fe196(0x139)](_0xc9075,_0x1ef672);})[_0xad6b08(0x169)](_0x118af6):_0x3fb0e1['writeFile'](_0x1ef672,defaultVideoThumb)[_0xad6b08(0x145)](()=>{const _0x179453=_0xad6b08;_0xcd37dc[_0x179453(0x139)](_0xc9075,_0x1ef672);})['catch'](_0x118af6);})[_0x47f9bb(0x125)]({'timestamps':[0x0],'filename':_0x23fe5f,'folder':_0x11a3b7,'size':_0x52b690[_0x47f9bb(0x155)]+'x'+_0x52b690[_0x47f9bb(0x111)]})['on'](_0xd25a20[_0x47f9bb(0x12a)],()=>{_0xc9075(_0x1ef672);});}),_0x1576d9=new Map(),_0x17a57a=await _0x4a1526,_0x327a04=(await _0x3fb0e1['stat'](_0x17a57a))[_0x2bad92(0x127)];_0x1576d9['set'](0x0,_0x17a57a);const _0x1eec91=await calculateFileMD5(_0x17a57a),_0x175ca4={'elementType':ElementType[_0x2bad92(0x11a)],'elementId':'','videoElement':{'fileName':_0xd25a20[_0x2bad92(0x156)](_0x5b561a,_0x529d28),'filePath':_0x7323e2,'videoMd5':_0x1a7817,'thumbMd5':_0x1eec91,'fileTime':_0x52b690[_0x2bad92(0x11e)],'thumbPath':_0x1576d9,'thumbSize':_0x327a04,'thumbWidth':_0x52b690[_0x2bad92(0x155)],'thumbHeight':_0x52b690[_0x2bad92(0x111)],'fileSize':_0xd25a20['KUMVi']('',_0x3f1139)}};return _0x175ca4;}static async['ptt'](_0x356c7b){const _0xa12643=_0x135922,_0x73d51f={'HyYyB':function(_0x15167b,_0x2536ac){return _0x15167b(_0x2536ac);},'dhwSz':_0xa12643(0x150),'PdKVI':function(_0x396202,_0x191d01){return _0x396202||_0x191d01;}},{converted:_0x45721b,path:_0x468787,duration:_0x391993}=await _0x73d51f[_0xa12643(0x164)](encodeSilk,_0x356c7b);if(!_0x468787)throw _0xa12643(0x128);const {md5:_0x3dfbc6,fileName:_0x1d233b,path:_0x26ff3a,fileSize:_0x4eb922}=await NTQQFileApi['uploadFile'](_0x468787,ElementType[_0xa12643(0x16a)]);if(_0x4eb922===0x0)throw _0x73d51f['dhwSz'];return _0x45721b&&_0x3fb0e1['unlink'](_0x468787)[_0xa12643(0x145)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x1d233b,'filePath':_0x26ff3a,'md5HexStr':_0x3dfbc6,'fileSize':_0x4eb922,'duration':_0x73d51f[_0xa12643(0x13a)](_0x391993,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[_0x135922(0x135)](_0x3440c0){const _0x52fa98=_0x135922,_0x51e677={'WCpmZ':function(_0x2e59ab,_0x111636){return _0x2e59ab(_0x111636);},'belDX':function(_0x20084a,_0x18ff6e){return _0x20084a>=_0x18ff6e;}},_0x2d4a9c=_0x28c71f[_0x52fa98(0x13c)],_0x2b050c=_0x28c71f[_0x52fa98(0x121)],_0x1b7022=_0x2d4a9c[_0x52fa98(0x149)](_0x26e740=>_0x26e740[_0x52fa98(0x137)]===_0x3440c0[_0x52fa98(0x158)]());_0x3440c0=_0x51e677[_0x52fa98(0x146)](parseInt,_0x3440c0[_0x52fa98(0x158)]());let _0x4200bd=0x1;return _0x51e677[_0x52fa98(0x138)](_0x3440c0,0xde)&&(_0x4200bd=0x2),_0x1b7022[_0x52fa98(0x15b)]&&(_0x4200bd=0x3),{'elementType':ElementType[_0x52fa98(0x141)],'elementId':'','faceElement':{'faceIndex':_0x3440c0,'faceType':_0x4200bd,'faceText':_0x1b7022['QDes'],'stickerId':_0x1b7022[_0x52fa98(0x12b)],'stickerType':_0x1b7022[_0x52fa98(0x15b)],'packId':_0x1b7022[_0x52fa98(0x130)],'sourceType':0x1}};}static['mface'](_0x5da1f1,_0x21df29,_0x366efb,_0x50c874){const _0x298ed3=_0x135922,_0x110a76={'dBYmT':_0x298ed3(0x11c)};return{'elementType':ElementType[_0x298ed3(0x142)],'marketFaceElement':{'emojiPackageId':_0x5da1f1,'emojiId':_0x21df29,'key':_0x366efb,'faceName':_0x50c874||mFaceCache[_0x298ed3(0x118)](_0x21df29)||_0x110a76[_0x298ed3(0x14d)]}};}static['dice'](_0x4013eb){const _0x5503a6=_0x135922,_0x52dd35={'wpTQL':_0x5503a6(0x129)};return{'elementType':ElementType[_0x5503a6(0x141)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x5503a6(0x117)],'faceType':FaceType['dice'],'faceText':_0x52dd35[_0x5503a6(0x120)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x135922(0x12d)](_0x51c162){const _0x1b6a5e=_0x135922,_0x48f062={'QdNBR':_0x1b6a5e(0x114)};return{'elementType':ElementType[_0x1b6a5e(0x141)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1b6a5e(0x144)],'faceText':_0x48f062['QdNBR'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x135922(0x112)](_0x338d39){const _0x23fe00=_0x135922,_0x3ece88={'zMOjR':function(_0x537dae,_0x48f31e){return _0x537dae!==_0x48f31e;},'muLkH':'string'};return _0x3ece88[_0x23fe00(0x16d)](typeof _0x338d39,_0x3ece88['muLkH'])&&(_0x338d39=JSON[_0x23fe00(0x153)](_0x338d39)),{'elementType':ElementType[_0x23fe00(0x13b)],'elementId':'','arkElement':{'bytesData':_0x338d39,'linkInfo':null,'subElementType':null}};}static[_0x135922(0x143)](_0x47512c){const _0xbac18f=_0x135922;return{'elementType':ElementType[_0xbac18f(0x136)],'elementId':'','markdownElement':{'content':_0x47512c}};}static async[_0x135922(0x157)](){const _0x5664bc=_0x135922,_0x4025f1={'fqqfs':function(_0x2f766a,_0x37fed2){return _0x2f766a(_0x37fed2);},'DTvhc':_0x5664bc(0x159),'dhcPD':_0x5664bc(0x126)};let _0x59f859=await _0x4025f1[_0x5664bc(0x15d)](SignMiniApp,{'prompt':_0x4025f1[_0x5664bc(0x15a)],'title':_0x5664bc(0x159),'preview':_0x5664bc(0x122),'jumpUrl':'https://www.bilibili.com/','tag':_0x5664bc(0x159),'tagIcon':_0x4025f1[_0x5664bc(0x110)],'source':_0x4025f1['DTvhc'],'sourcelogo':_0x4025f1[_0x5664bc(0x110)]});return{'elementType':ElementType[_0x5664bc(0x13b)],'elementId':'','arkElement':{'bytesData':_0x59f859,'linkInfo':null,'subElementType':null}};}}function _0x3d97(){const _0x1efd79=['KzMZC','151591NtpeXW','GBLze','1kbxDSy','npjfe','HyYyB','FILE','notAt','ycILf','获取视频信息失败','catch','PTT','EfTzC','Guktl','zMOjR','542046KJQNQy','dhcPD','height','ark','Ori','[包剪锤]','349765qkqjdM','TEXT','dice','get','4060080zUEPYF','VIDEO','_0.png','[商城表情]','iFGlA','time','mp4','wpTQL','emoji','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','eINxA','replace','screenshots','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','size','语音转换失败,\x20请检查语音文件是否正常','[骰子]','JUzXS','AniStickerId','kDpPr','rps','PIC','935730APFBZS','AniStickerPackId','3kgJrgf','1164XdwIuU','获取视频封面失败,使用默认封面','929834CGYeeC','face','MARKDOWN','QSid','belDX','VvmqT','PdKVI','ARK','sysface','reply','ffYFz','end','Thumb','FACE','MFACE','markdown','RPS','then','WCpmZ','copyFile','485964OPsmTZ','find','gif','file','7PetNHy','dBYmT','dirname','REPLY','文件异常,大小为0','sep','error','stringify','video','width','bcMRO','miniapp','toString','Bot\x20Test','DTvhc','AniStickerType','63SVXDkg','fqqfs','uploadFile'];_0x3d97=function(){return _0x1efd79;};return _0x3d97();} \ 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 68736a30..2d7f7469 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x50076d,_0x28f795){var _0xe947f1=_0x549e,_0x3c8e61=_0x50076d();while(!![]){try{var _0x36e701=parseInt(_0xe947f1(0x163))/0x1*(parseInt(_0xe947f1(0x169))/0x2)+-parseInt(_0xe947f1(0x168))/0x3+parseInt(_0xe947f1(0x160))/0x4+parseInt(_0xe947f1(0x16a))/0x5*(parseInt(_0xe947f1(0x167))/0x6)+-parseInt(_0xe947f1(0x15d))/0x7+-parseInt(_0xe947f1(0x15f))/0x8+-parseInt(_0xe947f1(0x162))/0x9*(-parseInt(_0xe947f1(0x161))/0xa);if(_0x36e701===_0x28f795)break;else _0x3c8e61['push'](_0x3c8e61['shift']());}catch(_0x1fc231){_0x3c8e61['push'](_0x3c8e61['shift']());}}}(_0x52fe,0xc0a78));function _0x52fe(){var _0x30c576=['1080dZdsym','117549qYgQZi','7SviAPr','normal','owner','aSSal','996bdjfqV','3035712LnErcP','179238oQFUdx','15220nChTrr','bJpau','7257677DjmMoZ','YzUds','9687704ZmfjyR','6022260CFaijW'];_0x52fe=function(){return _0x30c576;};return _0x52fe();}function _0x549e(_0x2ad2ee,_0x5b5211){var _0x52fe51=_0x52fe();return _0x549e=function(_0x549ed5,_0xa82aaa){_0x549ed5=_0x549ed5-0x15c;var _0x1d534f=_0x52fe51[_0x549ed5];return _0x1d534f;},_0x549e(_0x2ad2ee,_0x5b5211);}export var GroupMemberRole;(function(_0x2325f5){var _0x416699=_0x549e,_0x183bc5={'aSSal':_0x416699(0x164),'YzUds':'admin','bJpau':_0x416699(0x165)};_0x2325f5[_0x2325f5[_0x183bc5['aSSal']]=0x2]=_0x183bc5[_0x416699(0x166)],_0x2325f5[_0x2325f5[_0x183bc5['YzUds']]=0x3]=_0x183bc5[_0x416699(0x15e)],_0x2325f5[_0x2325f5[_0x183bc5[_0x416699(0x15c)]]=0x4]=_0x183bc5[_0x416699(0x15c)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x2034f9,_0x19274f){var _0x3d35c6=_0x3722,_0x293d42=_0x2034f9();while(!![]){try{var _0x53324d=parseInt(_0x3d35c6(0x80))/0x1*(parseInt(_0x3d35c6(0x83))/0x2)+parseInt(_0x3d35c6(0x81))/0x3*(-parseInt(_0x3d35c6(0x8c))/0x4)+-parseInt(_0x3d35c6(0x89))/0x5+parseInt(_0x3d35c6(0x8b))/0x6+parseInt(_0x3d35c6(0x7e))/0x7*(parseInt(_0x3d35c6(0x84))/0x8)+parseInt(_0x3d35c6(0x85))/0x9*(parseInt(_0x3d35c6(0x86))/0xa)+-parseInt(_0x3d35c6(0x8a))/0xb;if(_0x53324d===_0x19274f)break;else _0x293d42['push'](_0x293d42['shift']());}catch(_0x3067f9){_0x293d42['push'](_0x293d42['shift']());}}}(_0x4bd8,0xbe31d));function _0x3722(_0x1ee33e,_0x1c8d2f){var _0x4bd832=_0x4bd8();return _0x3722=function(_0x3722de,_0xbfb13f){_0x3722de=_0x3722de-0x7e;var _0x4c7f92=_0x4bd832[_0x3722de];return _0x4c7f92;},_0x3722(_0x1ee33e,_0x1c8d2f);}function _0x4bd8(){var _0x499e08=['557916UncWRI','msPnC','566034ETvbhF','1068920QuxjKp','9DFTrey','6600010tiUMaF','admin','owner','2810670XsVxro','1191564SPXqPw','2770734abvjpP','8aFuyJZ','normal','7IZobXp','ZOLRT','2NUIJnd'];_0x4bd8=function(){return _0x499e08;};return _0x4bd8();}export var GroupMemberRole;(function(_0x1d3ac7){var _0x2e2fa0=_0x3722,_0x2ee60c={'msPnC':_0x2e2fa0(0x8d),'ZOLRT':_0x2e2fa0(0x87)};_0x1d3ac7[_0x1d3ac7[_0x2ee60c[_0x2e2fa0(0x82)]]=0x2]=_0x2ee60c[_0x2e2fa0(0x82)],_0x1d3ac7[_0x1d3ac7[_0x2ee60c[_0x2e2fa0(0x7f)]]=0x3]=_0x2ee60c[_0x2e2fa0(0x7f)],_0x1d3ac7[_0x1d3ac7[_0x2e2fa0(0x88)]=0x4]=_0x2e2fa0(0x88);}(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 2aabc155..1a1b922c 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x3a2a8d,_0x49cf37){var _0xe0265e=_0x5e69,_0x566348=_0x3a2a8d();while(!![]){try{var _0x57da5c=-parseInt(_0xe0265e(0x7b))/0x1*(parseInt(_0xe0265e(0x7d))/0x2)+parseInt(_0xe0265e(0x7e))/0x3+parseInt(_0xe0265e(0x82))/0x4*(-parseInt(_0xe0265e(0x81))/0x5)+-parseInt(_0xe0265e(0x7f))/0x6*(parseInt(_0xe0265e(0x7a))/0x7)+-parseInt(_0xe0265e(0x79))/0x8+parseInt(_0xe0265e(0x78))/0x9+-parseInt(_0xe0265e(0x80))/0xa*(-parseInt(_0xe0265e(0x7c))/0xb);if(_0x57da5c===_0x49cf37)break;else _0x566348['push'](_0x566348['shift']());}catch(_0x3e9c27){_0x566348['push'](_0x566348['shift']());}}}(_0x43c4,0x9c7b2));export*from'./user';function _0x5e69(_0x635206,_0x421b26){var _0x43c471=_0x43c4();return _0x5e69=function(_0x5e6997,_0x26b0c8){_0x5e6997=_0x5e6997-0x78;var _0x51f9ea=_0x43c471[_0x5e6997];return _0x51f9ea;},_0x5e69(_0x635206,_0x421b26);}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x43c4(){var _0x252a5c=['671ZbHJTe','7582TUvyit','1902972Iqsouu','262278HJdJUI','117890ksXKSh','10YMKHuW','625544iIJFBm','5753979tmfVRO','2123752eMolUY','14BYZZds','181CZPmeC'];_0x43c4=function(){return _0x252a5c;};return _0x43c4();}export*from'./constructor'; \ No newline at end of file +(function(_0x31c8d5,_0x20b270){var _0x1bd470=_0x5704,_0x12e48a=_0x31c8d5();while(!![]){try{var _0x52ebf4=parseInt(_0x1bd470(0xf9))/0x1+-parseInt(_0x1bd470(0xf8))/0x2*(parseInt(_0x1bd470(0xf2))/0x3)+parseInt(_0x1bd470(0xf6))/0x4+parseInt(_0x1bd470(0xfc))/0x5*(parseInt(_0x1bd470(0xf5))/0x6)+parseInt(_0x1bd470(0xf4))/0x7+parseInt(_0x1bd470(0xf3))/0x8*(-parseInt(_0x1bd470(0xfb))/0x9)+parseInt(_0x1bd470(0xf7))/0xa*(parseInt(_0x1bd470(0xfa))/0xb);if(_0x52ebf4===_0x20b270)break;else _0x12e48a['push'](_0x12e48a['shift']());}catch(_0x5c08e6){_0x12e48a['push'](_0x12e48a['shift']());}}}(_0x153a,0xb9dbd));function _0x5704(_0x36b321,_0x596c16){var _0x153a10=_0x153a();return _0x5704=function(_0x570489,_0x2da390){_0x570489=_0x570489-0xf2;var _0x1c99e4=_0x153a10[_0x570489];return _0x1c99e4;},_0x5704(_0x36b321,_0x596c16);}export*from'./user';export*from'./group';export*from'./msg';function _0x153a(){var _0x56ca13=['44YkNSWR','9eCozhL','20zOAQno','3sCByOi','9783536BAXjdW','5570236WYZLPC','518490nctbWJ','1439224evHEdt','977770UAzBYM','2089744gePXAM','1136769hGmpbd'];_0x153a=function(){return _0x56ca13;};return _0x153a();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 8a303982..b2756bce 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x324b22=_0x318e;(function(_0x1a656e,_0x41db86){var _0x1b5d7c=_0x318e,_0xeb57f8=_0x1a656e();while(!![]){try{var _0x2904cc=parseInt(_0x1b5d7c(0x1bc))/0x1+parseInt(_0x1b5d7c(0x1b6))/0x2*(parseInt(_0x1b5d7c(0x1c4))/0x3)+parseInt(_0x1b5d7c(0x1ae))/0x4+parseInt(_0x1b5d7c(0x1b2))/0x5*(parseInt(_0x1b5d7c(0x1c6))/0x6)+-parseInt(_0x1b5d7c(0x1a0))/0x7*(-parseInt(_0x1b5d7c(0x1b3))/0x8)+parseInt(_0x1b5d7c(0x1b4))/0x9+-parseInt(_0x1b5d7c(0x1ba))/0xa;if(_0x2904cc===_0x41db86)break;else _0xeb57f8['push'](_0xeb57f8['shift']());}catch(_0xba4f42){_0xeb57f8['push'](_0xeb57f8['shift']());}}}(_0x20cf,0x38759));export var ElementType;(function(_0xca25e6){var _0x22a758=_0x318e,_0x4a358a={'xHkoO':_0x22a758(0x1b9),'WUYzy':_0x22a758(0x196),'OiqzY':'FILE','nDZgj':'PTT','EtMQY':'VIDEO','QuSpA':_0x22a758(0x195),'UMgmF':_0x22a758(0x198),'LAbut':_0x22a758(0x1b5),'huxnv':_0x22a758(0x1c2),'jnzIT':_0x22a758(0x19e)};_0xca25e6[_0xca25e6[_0x4a358a[_0x22a758(0x1b0)]]=0x1]=_0x22a758(0x1b9),_0xca25e6[_0xca25e6[_0x4a358a['WUYzy']]=0x2]=_0x22a758(0x196),_0xca25e6[_0xca25e6[_0x4a358a[_0x22a758(0x1c5)]]=0x3]=_0x22a758(0x194),_0xca25e6[_0xca25e6[_0x4a358a[_0x22a758(0x1b1)]]=0x4]=_0x4a358a[_0x22a758(0x1b1)],_0xca25e6[_0xca25e6[_0x4a358a[_0x22a758(0x1c9)]]=0x5]=_0x4a358a[_0x22a758(0x1c9)],_0xca25e6[_0xca25e6[_0x4a358a[_0x22a758(0x1bd)]]=0x6]=_0x4a358a[_0x22a758(0x1bd)],_0xca25e6[_0xca25e6[_0x4a358a['UMgmF']]=0x7]=_0x4a358a[_0x22a758(0x1be)],_0xca25e6[_0xca25e6[_0x4a358a[_0x22a758(0x1c0)]]=0xa]=_0x22a758(0x1b5),_0xca25e6[_0xca25e6[_0x4a358a[_0x22a758(0x193)]]=0xb]=_0x4a358a[_0x22a758(0x193)],_0xca25e6[_0xca25e6['MARKDOWN']=0xe]=_0x4a358a[_0x22a758(0x1a9)];}(ElementType||(ElementType={})));export var PicType;(function(_0x2a05fa){var _0x2358ba=_0x318e,_0x36d689={'DHMyg':_0x2358ba(0x1c1),'gepIz':_0x2358ba(0x1aa)};_0x2a05fa[_0x2a05fa[_0x36d689[_0x2358ba(0x197)]]=0x7d0]=_0x36d689[_0x2358ba(0x197)],_0x2a05fa[_0x2a05fa[_0x36d689[_0x2358ba(0x19b)]]=0x3e8]=_0x2358ba(0x1aa);}(PicType||(PicType={})));function _0x318e(_0x10a76e,_0x21219d){var _0x20cf1a=_0x20cf();return _0x318e=function(_0x318ea0,_0x5c0425){_0x318ea0=_0x318ea0-0x191;var _0x26ad20=_0x20cf1a[_0x318ea0];return _0x26ad20;},_0x318e(_0x10a76e,_0x21219d);}export var PicSubType;(function(_0x198186){var _0x4ed14d=_0x318e,_0x30be95={'pKfXc':'normal','sNanE':_0x4ed14d(0x19a)};_0x198186[_0x198186[_0x30be95['pKfXc']]=0x0]=_0x30be95['pKfXc'],_0x198186[_0x198186[_0x30be95[_0x4ed14d(0x1a1)]]=0x1]=_0x30be95['sNanE'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x690164){var _0x18a183=_0x318e,_0x14f332={'uJZDR':_0x18a183(0x1c8),'cmPSv':_0x18a183(0x1ac),'mFVKw':_0x18a183(0x1cd)};_0x690164[_0x690164[_0x14f332['uJZDR']]=0x0]=_0x14f332[_0x18a183(0x1ad)],_0x690164[_0x690164[_0x14f332[_0x18a183(0x1bf)]]=0x1]=_0x14f332['cmPSv'],_0x690164[_0x690164[_0x14f332[_0x18a183(0x1b7)]]=0x2]=_0x14f332[_0x18a183(0x1b7)];}(AtType||(AtType={})));export var ChatType;(function(_0x373080){var _0x5e2fe8=_0x318e,_0x5e829b={'nCyQQ':_0x5e2fe8(0x1a7),'xCFQC':_0x5e2fe8(0x1cb),'PKKss':_0x5e2fe8(0x19d),'lXRCV':'temp'};_0x373080[_0x373080[_0x5e829b[_0x5e2fe8(0x1a3)]]=0x1]=_0x5e829b[_0x5e2fe8(0x1a3)],_0x373080[_0x373080[_0x5e2fe8(0x1cb)]=0x2]=_0x5e829b[_0x5e2fe8(0x1af)],_0x373080[_0x373080[_0x5e2fe8(0x19d)]=0x8]=_0x5e829b[_0x5e2fe8(0x1b8)],_0x373080[_0x373080['temp']=0x64]=_0x5e829b[_0x5e2fe8(0x1ca)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x324b22(0x1a2);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x190669){var _0x163e4b=_0x324b22,_0x4cde51={'uLUOe':_0x163e4b(0x1ce),'KyjyC':_0x163e4b(0x1cc)};_0x190669[_0x190669[_0x4cde51['uLUOe']]=0xc]=_0x163e4b(0x1ce),_0x190669[_0x190669[_0x4cde51[_0x163e4b(0x19c)]]=0x11]='MEMBER_NEW_TITLE';}(GrayTipElementSubType||(GrayTipElementSubType={})));function _0x20cf(){var _0x421aab=['3218IQfuqH','mFVKw','PKKss','TEXT','14213910oqaBbb','dice','410793UROHnH','QuSpA','UMgmF','cmPSv','LAbut','gif','MFACE','wecPD','483Yrfjcm','OiqzY','1146fRQtgs','XRXls','notAt','EtMQY','lXRCV','group','MEMBER_NEW_TITLE','atUser','INVITE_NEW_MEMBER','kicked','normal2','huxnv','FILE','FACE','PIC','DHMyg','REPLY','jkQPV','face','gepIz','KyjyC','chatDevice','MARKDOWN','foGAE','735oEapiu','sNanE','https://gchat.qpic.cn','nCyQQ','LCKyF','memberIncrease','ban','friend','aSvJP','jnzIT','jpg','normal','atAll','uJZDR','1229584jqoFvj','xCFQC','xHkoO','nDZgj','8955vAyeCN','23384zOXdtH','237726liiTvW','ARK'];_0x20cf=function(){return _0x421aab;};return _0x20cf();}export var FaceType;(function(_0x4ba23d){var _0x5ce340=_0x324b22,_0xc0378d={'XRXls':_0x5ce340(0x1ab),'PTnof':_0x5ce340(0x192),'jkQPV':_0x5ce340(0x1bb)};_0x4ba23d[_0x4ba23d[_0x5ce340(0x1ab)]=0x1]=_0xc0378d[_0x5ce340(0x1c7)],_0x4ba23d[_0x4ba23d[_0xc0378d['PTnof']]=0x2]=_0x5ce340(0x192),_0x4ba23d[_0x4ba23d[_0xc0378d[_0x5ce340(0x199)]]=0x3]=_0xc0378d[_0x5ce340(0x199)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x201eff){var _0x15c3fe=_0x324b22,_0x56f570={'LCKyF':_0x15c3fe(0x1bb),'wecPD':'RPS'};_0x201eff[_0x201eff[_0x56f570[_0x15c3fe(0x1a4)]]=0x166]=_0x15c3fe(0x1bb),_0x201eff[_0x201eff[_0x56f570[_0x15c3fe(0x1c3)]]=0x167]=_0x56f570[_0x15c3fe(0x1c3)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x142f28){var _0x343bb2=_0x324b22,_0x43a28e={'foGAE':_0x343bb2(0x1a5),'aSvJP':_0x343bb2(0x191),'XLCMC':_0x343bb2(0x1a6)};_0x142f28[_0x142f28[_0x43a28e[_0x343bb2(0x19f)]]=0x1]=_0x43a28e[_0x343bb2(0x19f)],_0x142f28[_0x142f28[_0x43a28e['aSvJP']]=0x3]=_0x43a28e[_0x343bb2(0x1a8)],_0x142f28[_0x142f28[_0x43a28e['XLCMC']]=0x8]=_0x43a28e['XLCMC'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x359e7d=_0x111f;(function(_0x3cf618,_0x3b1ef8){var _0x3a66eb=_0x111f,_0x42ff6f=_0x3cf618();while(!![]){try{var _0x3c825c=-parseInt(_0x3a66eb(0x145))/0x1+parseInt(_0x3a66eb(0x14c))/0x2+-parseInt(_0x3a66eb(0x122))/0x3*(-parseInt(_0x3a66eb(0x125))/0x4)+-parseInt(_0x3a66eb(0x15a))/0x5+parseInt(_0x3a66eb(0x12b))/0x6*(parseInt(_0x3a66eb(0x158))/0x7)+-parseInt(_0x3a66eb(0x129))/0x8*(parseInt(_0x3a66eb(0x137))/0x9)+parseInt(_0x3a66eb(0x156))/0xa;if(_0x3c825c===_0x3b1ef8)break;else _0x42ff6f['push'](_0x42ff6f['shift']());}catch(_0x17af51){_0x42ff6f['push'](_0x42ff6f['shift']());}}}(_0x4a1c,0xcc6c5));export var ElementType;(function(_0x323015){var _0x1ef983=_0x111f,_0x25e064={'bOXfY':_0x1ef983(0x126),'HaGVk':_0x1ef983(0x14b),'xtGdB':_0x1ef983(0x14e),'WtdZa':_0x1ef983(0x123),'RfpJo':'ARK','Qeamv':_0x1ef983(0x134),'NceHx':_0x1ef983(0x12f),'ZzIdN':_0x1ef983(0x149),'XnQQt':'FACE','vpByb':_0x1ef983(0x132),'wmSZt':_0x1ef983(0x13b)},_0x60214e=_0x25e064[_0x1ef983(0x11f)][_0x1ef983(0x11d)]('|'),_0x4bf470=0x0;while(!![]){switch(_0x60214e[_0x4bf470++]){case'0':_0x323015[_0x323015['PTT']=0x4]=_0x25e064[_0x1ef983(0x14a)];continue;case'1':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x143)]]=0x3]=_0x25e064[_0x1ef983(0x143)];continue;case'2':_0x323015[_0x323015[_0x1ef983(0x123)]=0x2]=_0x25e064[_0x1ef983(0x12c)];continue;case'3':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x13a)]]=0xa]=_0x1ef983(0x154);continue;case'4':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x128)]]=0x5]=_0x1ef983(0x134);continue;case'5':_0x323015[_0x323015[_0x1ef983(0x12f)]=0x1]=_0x25e064[_0x1ef983(0x15b)];continue;case'6':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x11e)]]=0xe]=_0x25e064['ZzIdN'];continue;case'7':_0x323015[_0x323015[_0x25e064['XnQQt']]=0x6]=_0x25e064[_0x1ef983(0x124)];continue;case'8':_0x323015[_0x323015[_0x1ef983(0x132)]=0x7]=_0x25e064[_0x1ef983(0x14f)];continue;case'9':_0x323015[_0x323015[_0x25e064[_0x1ef983(0x135)]]=0xb]=_0x25e064[_0x1ef983(0x135)];continue;}break;}}(ElementType||(ElementType={})));function _0x4a1c(){var _0x4468cd=['friend','3053169tLqphF','atUser','3616300bmfOXh','NceHx','YVMRU','gif','dPxEq','split','ZzIdN','bOXfY','atAll','ITNdP','9ZGcyRc','PIC','XnQQt','921084OXAwUl','5|2|1|0|4|7|8|3|9|6','kicked','Qeamv','8TvyZzR','xYbhZ','12FRIxze','WtdZa','dMJVj','memberIncrease','TEXT','Hbwpk','temp','REPLY','normal2','VIDEO','wmSZt','axJWJ','6353469FxtmId','xELRo','MEMBER_NEW_TITLE','RfpJo','MFACE','snnpE','jpg','INVITE_NEW_MEMBER','LOrMY','https://multimedia.nt.qq.com.cn','RPS','https://gchat.qpic.cn','xtGdB','dice','853371cDnEpk','hQUKS','chatDevice','normal','MARKDOWN','HaGVk','PTT','2500842eLzGgd','ban','FILE','vpByb','BNbQh','JJzmr','UWhRd','EdEjn','ARK','tJhjg','3063210uUrBEY'];_0x4a1c=function(){return _0x4468cd;};return _0x4a1c();}export var PicType;(function(_0x56be8b){var _0x5ababd=_0x111f,_0x33d63b={'maLEd':_0x5ababd(0x11b),'dMJVj':_0x5ababd(0x13d)};_0x56be8b[_0x56be8b[_0x33d63b['maLEd']]=0x7d0]=_0x33d63b['maLEd'],_0x56be8b[_0x56be8b[_0x33d63b[_0x5ababd(0x12d)]]=0x3e8]=_0x33d63b[_0x5ababd(0x12d)];}(PicType||(PicType={})));export var PicSubType;(function(_0x47bccb){var _0x3a66a9=_0x111f,_0x5d78b8={'BNbQh':'normal','xYbhZ':'face'};_0x47bccb[_0x47bccb[_0x3a66a9(0x148)]=0x0]=_0x5d78b8[_0x3a66a9(0x150)],_0x47bccb[_0x47bccb[_0x5d78b8[_0x3a66a9(0x12a)]]=0x1]=_0x5d78b8[_0x3a66a9(0x12a)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x40855e){var _0x3bfe46=_0x111f,_0x2e61cf={'xrcFT':_0x3bfe46(0x120),'igiFS':_0x3bfe46(0x159)};_0x40855e[_0x40855e['notAt']=0x0]='notAt',_0x40855e[_0x40855e[_0x2e61cf['xrcFT']]=0x1]=_0x2e61cf['xrcFT'],_0x40855e[_0x40855e[_0x2e61cf['igiFS']]=0x2]=_0x2e61cf['igiFS'];}(AtType||(AtType={})));function _0x111f(_0x2c94ca,_0x295cd2){var _0x4a1c4f=_0x4a1c();return _0x111f=function(_0x111f6,_0x549a67){_0x111f6=_0x111f6-0x11a;var _0x8b9395=_0x4a1c4f[_0x111f6];return _0x8b9395;},_0x111f(_0x2c94ca,_0x295cd2);}export var ChatType;(function(_0xe08cc0){var _0x92f602=_0x111f,_0x40168c={'ITNdP':'friend','EdEjn':'group','YVMRU':'chatDevice','snnpE':_0x92f602(0x131)};_0xe08cc0[_0xe08cc0[_0x40168c[_0x92f602(0x121)]]=0x1]=_0x92f602(0x157),_0xe08cc0[_0xe08cc0[_0x40168c[_0x92f602(0x153)]]=0x2]=_0x40168c[_0x92f602(0x153)],_0xe08cc0[_0xe08cc0[_0x92f602(0x147)]=0x8]=_0x40168c[_0x92f602(0x11a)],_0xe08cc0[_0xe08cc0[_0x40168c[_0x92f602(0x13c)]]=0x64]=_0x92f602(0x131);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x359e7d(0x142);export const IMAGE_HTTP_HOST_NT=_0x359e7d(0x140);export var GrayTipElementSubType;(function(_0x2d1eba){var _0x3b9788=_0x359e7d,_0x3afe64={'dPxEq':_0x3b9788(0x13e),'UWhRd':_0x3b9788(0x139)};_0x2d1eba[_0x2d1eba['INVITE_NEW_MEMBER']=0xc]=_0x3afe64[_0x3b9788(0x11c)],_0x2d1eba[_0x2d1eba[_0x3afe64[_0x3b9788(0x152)]]=0x11]=_0x3afe64[_0x3b9788(0x152)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x5ad841){var _0x5c23db=_0x359e7d,_0x57ea7f={'Hbwpk':_0x5c23db(0x148),'hQUKS':_0x5c23db(0x133),'LOrMY':'dice'};_0x5ad841[_0x5ad841[_0x57ea7f[_0x5c23db(0x130)]]=0x1]=_0x57ea7f['Hbwpk'],_0x5ad841[_0x5ad841[_0x57ea7f['hQUKS']]=0x2]=_0x57ea7f[_0x5c23db(0x146)],_0x5ad841[_0x5ad841[_0x5c23db(0x144)]=0x3]=_0x57ea7f[_0x5c23db(0x13f)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1ffbf4){var _0x56773a=_0x359e7d,_0x229a0e={'xELRo':_0x56773a(0x144),'tJhjg':_0x56773a(0x141)};_0x1ffbf4[_0x1ffbf4[_0x56773a(0x144)]=0x166]=_0x229a0e[_0x56773a(0x138)],_0x1ffbf4[_0x1ffbf4[_0x229a0e[_0x56773a(0x155)]]=0x167]=_0x229a0e[_0x56773a(0x155)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x4963dc){var _0x3a3c6=_0x359e7d,_0x4e0fff={'oWyZu':'memberIncrease','JJzmr':_0x3a3c6(0x127),'axJWJ':_0x3a3c6(0x14d)};_0x4963dc[_0x4963dc[_0x4e0fff['oWyZu']]=0x1]=_0x3a3c6(0x12e),_0x4963dc[_0x4963dc[_0x3a3c6(0x127)]=0x3]=_0x4e0fff[_0x3a3c6(0x151)],_0x4963dc[_0x4963dc[_0x4e0fff[_0x3a3c6(0x136)]]=0x8]=_0x4e0fff[_0x3a3c6(0x136)];}(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 7476788f..77ef6011 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x1ec0ab,_0x440b06){var _0x1004b8=_0x519b,_0xd12783=_0x1ec0ab();while(!![]){try{var _0xef5ea1=-parseInt(_0x1004b8(0x157))/0x1*(parseInt(_0x1004b8(0x167))/0x2)+-parseInt(_0x1004b8(0x15b))/0x3*(parseInt(_0x1004b8(0x168))/0x4)+-parseInt(_0x1004b8(0x159))/0x5*(-parseInt(_0x1004b8(0x14e))/0x6)+-parseInt(_0x1004b8(0x14b))/0x7*(parseInt(_0x1004b8(0x15c))/0x8)+parseInt(_0x1004b8(0x153))/0x9+-parseInt(_0x1004b8(0x15a))/0xa*(-parseInt(_0x1004b8(0x160))/0xb)+-parseInt(_0x1004b8(0x150))/0xc*(-parseInt(_0x1004b8(0x15e))/0xd);if(_0xef5ea1===_0x440b06)break;else _0xd12783['push'](_0xd12783['shift']());}catch(_0xa3418d){_0xd12783['push'](_0xd12783['shift']());}}}(_0x4549,0xac55a));export var GroupNotifyTypes;(function(_0x12c84e){var _0x43acd9=_0x519b,_0x3f981b={'RBsiS':'7|2|3|6|1|5|0|4','utVzh':'ADMIN_UNSET','Ewdxh':_0x43acd9(0x152),'EPdWD':_0x43acd9(0x165),'jFfFT':'JOIN_REQUEST','XlXPV':_0x43acd9(0x16a),'iKetV':'MEMBER_EXIT','BOPQQ':_0x43acd9(0x16c)},_0x90fe8f=_0x3f981b[_0x43acd9(0x15f)]['split']('|'),_0x3adb87=0x0;while(!![]){switch(_0x90fe8f[_0x3adb87++]){case'0':_0x12c84e[_0x12c84e[_0x3f981b['utVzh']]=0xc]=_0x3f981b[_0x43acd9(0x169)];continue;case'1':_0x12c84e[_0x12c84e[_0x3f981b['Ewdxh']]=0x9]=_0x3f981b['Ewdxh'];continue;case'2':_0x12c84e[_0x12c84e[_0x3f981b['EPdWD']]=0x4]='INVITED_JOIN';continue;case'3':_0x12c84e[_0x12c84e[_0x3f981b['jFfFT']]=0x7]=_0x3f981b[_0x43acd9(0x151)];continue;case'4':_0x12c84e[_0x12c84e[_0x43acd9(0x16a)]=0xd]=_0x3f981b[_0x43acd9(0x156)];continue;case'5':_0x12c84e[_0x12c84e[_0x43acd9(0x164)]=0xb]=_0x3f981b[_0x43acd9(0x161)];continue;case'6':_0x12c84e[_0x12c84e[_0x43acd9(0x14a)]=0x8]=_0x43acd9(0x14a);continue;case'7':_0x12c84e[_0x12c84e[_0x43acd9(0x16c)]=0x1]=_0x3f981b[_0x43acd9(0x163)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x519b(_0x32f5af,_0x46d854){var _0x45495f=_0x4549();return _0x519b=function(_0x519b18,_0x5c473c){_0x519b18=_0x519b18-0x14a;var _0x2ce7f2=_0x45495f[_0x519b18];return _0x2ce7f2;},_0x519b(_0x32f5af,_0x46d854);}export var GroupNotifyStatus;(function(_0x385089){var _0x30519b=_0x519b,_0x8fa567={'AYVyb':'IGNORE','ckFSo':_0x30519b(0x154),'iOOal':_0x30519b(0x158),'SMtaM':'REJECT'};_0x385089[_0x385089[_0x30519b(0x15d)]=0x0]=_0x8fa567['AYVyb'],_0x385089[_0x385089[_0x30519b(0x154)]=0x1]=_0x8fa567[_0x30519b(0x155)],_0x385089[_0x385089[_0x8fa567[_0x30519b(0x14c)]]=0x2]=_0x8fa567[_0x30519b(0x14c)],_0x385089[_0x385089[_0x8fa567[_0x30519b(0x16b)]]=0x3]=_0x8fa567['SMtaM'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x4549(){var _0x43fecf=['SMtaM','INVITE_ME','ADMIN_SET','7iFnaPH','iOOal','reject','1368qsgdNo','PrmRh','1596ZDNnes','jFfFT','KICK_MEMBER','1571436DIFWWP','WAIT_HANDLE','ckFSo','XlXPV','12801KUlZaF','APPROVE','13475UkVHoG','21680lOMCHh','183507FuSkoP','1400632pPuCAk','IGNORE','52312XhpwTq','RBsiS','4730TrtGqt','iKetV','approve','BOPQQ','MEMBER_EXIT','INVITED_JOIN','cQftf','62aVOLYN','64FJzZsz','utVzh','ADMIN_UNSET_OTHER'];_0x4549=function(){return _0x43fecf;};return _0x4549();}(function(_0x1eb4e0){var _0x23a4da=_0x519b,_0x3b0ad={'PrmRh':_0x23a4da(0x162),'cQftf':_0x23a4da(0x14d)};_0x1eb4e0[_0x1eb4e0[_0x3b0ad[_0x23a4da(0x14f)]]=0x1]=_0x3b0ad[_0x23a4da(0x14f)],_0x1eb4e0[_0x1eb4e0[_0x3b0ad['cQftf']]=0x2]=_0x3b0ad[_0x23a4da(0x166)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x11bd49,_0x4a6b55){var _0x1140aa=_0xb159,_0x5488b9=_0x11bd49();while(!![]){try{var _0x281b74=-parseInt(_0x1140aa(0xcf))/0x1*(-parseInt(_0x1140aa(0xe1))/0x2)+parseInt(_0x1140aa(0xea))/0x3*(-parseInt(_0x1140aa(0xf4))/0x4)+parseInt(_0x1140aa(0xec))/0x5+-parseInt(_0x1140aa(0xe4))/0x6+-parseInt(_0x1140aa(0xe2))/0x7+parseInt(_0x1140aa(0xdd))/0x8*(parseInt(_0x1140aa(0xeb))/0x9)+parseInt(_0x1140aa(0xd1))/0xa*(parseInt(_0x1140aa(0xd8))/0xb);if(_0x281b74===_0x4a6b55)break;else _0x5488b9['push'](_0x5488b9['shift']());}catch(_0x6300ee){_0x5488b9['push'](_0x5488b9['shift']());}}}(_0x21b9,0x291cf));export var GroupNotifyTypes;(function(_0x1213d0){var _0x1e2c99=_0xb159,_0x3c6cf9={'KBkLF':_0x1e2c99(0xdc),'ufAPI':_0x1e2c99(0xe6),'jCVFk':_0x1e2c99(0xe9),'szena':'ADMIN_SET','dqDvM':'INVITE_ME','Ecpkw':_0x1e2c99(0xd0),'dSjzj':_0x1e2c99(0xd5),'tJSjf':_0x1e2c99(0xf0)},_0x839c25='4|6|0|3|1|5|2|7'[_0x1e2c99(0xd3)]('|'),_0x55c032=0x0;while(!![]){switch(_0x839c25[_0x55c032++]){case'0':_0x1213d0[_0x1213d0['JOIN_REQUEST']=0x7]=_0x3c6cf9[_0x1e2c99(0xe0)];continue;case'1':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xda)]]=0x9]=_0x3c6cf9[_0x1e2c99(0xda)];continue;case'2':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xdf)]]=0xc]=_0x3c6cf9[_0x1e2c99(0xdf)];continue;case'3':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xef)]]=0x8]=_0x1e2c99(0xe7);continue;case'4':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xe5)]]=0x1]=_0x3c6cf9[_0x1e2c99(0xe5)];continue;case'5':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xd6)]]=0xb]=_0x3c6cf9[_0x1e2c99(0xd6)];continue;case'6':_0x1213d0[_0x1213d0['INVITED_JOIN']=0x4]=_0x3c6cf9[_0x1e2c99(0xd9)];continue;case'7':_0x1213d0[_0x1213d0[_0x3c6cf9[_0x1e2c99(0xf1)]]=0xd]=_0x3c6cf9[_0x1e2c99(0xf1)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0xb159(_0x3693bf,_0xc16c38){var _0x21b991=_0x21b9();return _0xb159=function(_0xb159b1,_0x2f2f3e){_0xb159b1=_0xb159b1-0xce;var _0x2ef46a=_0x21b991[_0xb159b1];return _0x2ef46a;},_0xb159(_0x3693bf,_0xc16c38);}export var GroupNotifyStatus;(function(_0x4adee5){var _0x622076=_0xb159,_0x5efb83={'ZmiXQ':_0x622076(0xee),'rcuor':_0x622076(0xdb),'BAJDf':_0x622076(0xde),'AOCHp':_0x622076(0xe8)};_0x4adee5[_0x4adee5['IGNORE']=0x0]=_0x5efb83[_0x622076(0xf3)],_0x4adee5[_0x4adee5[_0x622076(0xdb)]=0x1]=_0x5efb83[_0x622076(0xed)],_0x4adee5[_0x4adee5[_0x5efb83[_0x622076(0xd2)]]=0x2]=_0x622076(0xde),_0x4adee5[_0x4adee5['REJECT']=0x3]=_0x5efb83[_0x622076(0xe3)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x2faf71){var _0x4896a5=_0xb159,_0xdce34a={'MPvyq':_0x4896a5(0xd7),'oOdGz':_0x4896a5(0xd4)};_0x2faf71[_0x2faf71[_0xdce34a[_0x4896a5(0xce)]]=0x1]=_0x4896a5(0xd7),_0x2faf71[_0x2faf71[_0xdce34a[_0x4896a5(0xf2)]]=0x2]=_0xdce34a[_0x4896a5(0xf2)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));function _0x21b9(){var _0x44cbcf=['1437510HLIpru','rcuor','IGNORE','szena','ADMIN_UNSET_OTHER','tJSjf','oOdGz','ZmiXQ','4yMIRuo','MPvyq','8MnJAun','MEMBER_EXIT','1281070PsMhOV','BAJDf','split','reject','INVITED_JOIN','Ecpkw','approve','11TIHNkM','dSjzj','ufAPI','WAIT_HANDLE','JOIN_REQUEST','576824pVCRPz','APPROVE','jCVFk','KBkLF','3340pPKQVs','581245EIjuhA','AOCHp','1924284fCoUKm','dqDvM','KICK_MEMBER','ADMIN_SET','REJECT','ADMIN_UNSET','219390PfjxtG','27iqVTDB'];_0x21b9=function(){return _0x44cbcf;};return _0x21b9();} \ 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 b8473198..3b9ed24f 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x37d0(){var _0x1c42f8=['male','33IKaoxX','female','jQVqC','1592884tggnXO','1502190RNKUOU','KnReD','244284MUEoDc','unknown','2137020ZdpTFY','26323578wazcBV','kAoPK','729432ZapplT','24VwiLxt','1296967fdIUYp'];_0x37d0=function(){return _0x1c42f8;};return _0x37d0();}(function(_0x17805a,_0x1d3ae2){var _0x28b693=_0x329a,_0x43f54c=_0x17805a();while(!![]){try{var _0x115ece=parseInt(_0x28b693(0x1bc))/0x1+parseInt(_0x28b693(0x1c3))/0x2+-parseInt(_0x28b693(0x1c0))/0x3*(-parseInt(_0x28b693(0x1c6))/0x4)+parseInt(_0x28b693(0x1c4))/0x5+parseInt(_0x28b693(0x1c8))/0x6+-parseInt(_0x28b693(0x1be))/0x7*(-parseInt(_0x28b693(0x1bd))/0x8)+-parseInt(_0x28b693(0x1c9))/0x9;if(_0x115ece===_0x1d3ae2)break;else _0x43f54c['push'](_0x43f54c['shift']());}catch(_0x3948bb){_0x43f54c['push'](_0x43f54c['shift']());}}}(_0x37d0,0x76790));function _0x329a(_0x38cf65,_0x1e120e){var _0x37d006=_0x37d0();return _0x329a=function(_0x329ae4,_0x3f843b){_0x329ae4=_0x329ae4-0x1bb;var _0x54f6ea=_0x37d006[_0x329ae4];return _0x54f6ea;},_0x329a(_0x38cf65,_0x1e120e);}export var Sex;(function(_0x3a9858){var _0x564d47=_0x329a,_0x17c744={'KnReD':_0x564d47(0x1bf),'jQVqC':_0x564d47(0x1c1),'kAoPK':_0x564d47(0x1c7)};_0x3a9858[_0x3a9858[_0x17c744[_0x564d47(0x1c5)]]=0x1]=_0x17c744[_0x564d47(0x1c5)],_0x3a9858[_0x3a9858[_0x17c744[_0x564d47(0x1c2)]]=0x2]=_0x17c744[_0x564d47(0x1c2)],_0x3a9858[_0x3a9858[_0x17c744[_0x564d47(0x1bb)]]=0xff]=_0x17c744[_0x564d47(0x1bb)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x3ee976,_0xa64d14){var _0xec1edf=_0x25c0,_0x2bd8fa=_0x3ee976();while(!![]){try{var _0x5705=-parseInt(_0xec1edf(0xc7))/0x1+parseInt(_0xec1edf(0xcd))/0x2+parseInt(_0xec1edf(0xce))/0x3*(-parseInt(_0xec1edf(0xc6))/0x4)+parseInt(_0xec1edf(0xc2))/0x5+-parseInt(_0xec1edf(0xcb))/0x6*(-parseInt(_0xec1edf(0xc3))/0x7)+-parseInt(_0xec1edf(0xc9))/0x8*(-parseInt(_0xec1edf(0xc5))/0x9)+-parseInt(_0xec1edf(0xcc))/0xa;if(_0x5705===_0xa64d14)break;else _0x2bd8fa['push'](_0x2bd8fa['shift']());}catch(_0x143f7d){_0x2bd8fa['push'](_0x2bd8fa['shift']());}}}(_0x2e55,0x6fb6c));export var Sex;function _0x25c0(_0x17fdd9,_0x2880bb){var _0x2e5508=_0x2e55();return _0x25c0=function(_0x25c032,_0x470880){_0x25c032=_0x25c032-0xc2;var _0x4f2ae6=_0x2e5508[_0x25c032];return _0x4f2ae6;},_0x25c0(_0x17fdd9,_0x2880bb);}function _0x2e55(){var _0x3be66c=['1260096VULntu','129HBtsVI','NFUlN','292765zAIUff','7WruVck','male','341973LBJSdT','76672ShnRlQ','127472rYNDnT','tucCh','104MsmiMj','unknown','1987314GIRmDo','1045050UDRkcl'];_0x2e55=function(){return _0x3be66c;};return _0x2e55();}(function(_0x2dd864){var _0x4790a8=_0x25c0,_0x36e2b1={'eSSAt':_0x4790a8(0xc4),'NFUlN':'female','tucCh':_0x4790a8(0xca)};_0x2dd864[_0x2dd864[_0x36e2b1['eSSAt']]=0x1]=_0x4790a8(0xc4),_0x2dd864[_0x2dd864[_0x36e2b1['NFUlN']]=0x2]=_0x36e2b1[_0x4790a8(0xcf)],_0x2dd864[_0x2dd864[_0x36e2b1[_0x4790a8(0xc8)]]=0xff]='unknown';}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 952a2320..4d237018 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x57e3e3,_0x57cb9e){var _0x28dccc=_0x9416,_0x3c13c5=_0x57e3e3();while(!![]){try{var _0x39426a=parseInt(_0x28dccc(0x13b))/0x1*(-parseInt(_0x28dccc(0x13a))/0x2)+parseInt(_0x28dccc(0x139))/0x3*(parseInt(_0x28dccc(0x138))/0x4)+parseInt(_0x28dccc(0x136))/0x5*(parseInt(_0x28dccc(0x137))/0x6)+-parseInt(_0x28dccc(0x13c))/0x7*(parseInt(_0x28dccc(0x13d))/0x8)+parseInt(_0x28dccc(0x134))/0x9*(-parseInt(_0x28dccc(0x132))/0xa)+parseInt(_0x28dccc(0x133))/0xb*(parseInt(_0x28dccc(0x131))/0xc)+parseInt(_0x28dccc(0x135))/0xd;if(_0x39426a===_0x57cb9e)break;else _0x3c13c5['push'](_0x3c13c5['shift']());}catch(_0x568748){_0x3c13c5['push'](_0x3c13c5['shift']());}}}(_0x2057,0x977de));import _0x4895e3 from'./wrapper';export*from'./adapters';function _0x9416(_0x5c6eef,_0x192ded){var _0x205723=_0x2057();return _0x9416=function(_0x9416d5,_0x5c904c){_0x9416d5=_0x9416d5-0x131;var _0x4e707a=_0x205723[_0x9416d5];return _0x4e707a;},_0x9416(_0x5c6eef,_0x192ded);}export*from'./apis';export*from'./entities';export*from'./listeners';function _0x2057(){var _0x5cddb3=['103092gSPBLs','1337733mKmCTW','4178291CeFZuD','4044305XvKlOl','6CQeWAd','1926560gAeWxU','3Jawnwn','719778ejrqXp','3cedNqu','2155895gNwXIm','8kWDtTH','888CsfCAQ','20BaJRQr'];_0x2057=function(){return _0x5cddb3;};return _0x2057();}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{_0x4895e3 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x37e38c,_0x46b592){var _0x1ad48d=_0x1fc3,_0x3b8733=_0x37e38c();while(!![]){try{var _0x7c7bc0=parseInt(_0x1ad48d(0x1a9))/0x1*(parseInt(_0x1ad48d(0x1a4))/0x2)+-parseInt(_0x1ad48d(0x1a1))/0x3*(parseInt(_0x1ad48d(0x1a6))/0x4)+parseInt(_0x1ad48d(0x1a8))/0x5+-parseInt(_0x1ad48d(0x1a5))/0x6+parseInt(_0x1ad48d(0x1a7))/0x7*(parseInt(_0x1ad48d(0x1a2))/0x8)+parseInt(_0x1ad48d(0x1aa))/0x9*(-parseInt(_0x1ad48d(0x1a0))/0xa)+parseInt(_0x1ad48d(0x1a3))/0xb;if(_0x7c7bc0===_0x46b592)break;else _0x3b8733['push'](_0x3b8733['shift']());}catch(_0x237e37){_0x3b8733['push'](_0x3b8733['shift']());}}}(_0x26db,0x26046));import _0x1f10ff from'./wrapper';export*from'./adapters';function _0x1fc3(_0x516520,_0x465eaa){var _0x26db91=_0x26db();return _0x1fc3=function(_0x1fc324,_0xfeb36d){_0x1fc324=_0x1fc324-0x1a0;var _0x2fc4db=_0x26db91[_0x1fc324];return _0x2fc4db;},_0x1fc3(_0x516520,_0x465eaa);}function _0x26db(){var _0x21f0d7=['45ZpGKQN','466510yoNTNh','9GNsqeC','64PjrFGv','4209821sygikX','6AkkaNJ','1841946OcaNvT','192036YXZJBv','153643jhwZcT','1007925jClIza','26701CaIPmu'];_0x26db=function(){return _0x21f0d7;};return _0x26db();}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{_0x1f10ff as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index ad4684f4..eeae3df4 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x34a4(_0x157975,_0x3fbf2e){var _0x4769b8=_0x4769();return _0x34a4=function(_0x34a472,_0x1479a5){_0x34a472=_0x34a472-0x1a3;var _0x58beae=_0x4769b8[_0x34a472];return _0x58beae;},_0x34a4(_0x157975,_0x3fbf2e);}var _0x3a3a8a=_0x34a4;function _0x4769(){var _0xb415c7=['onAddMeSettingChanged','16407OcWtWp','onBuddyReqChange','232854FoAULn','onBuddyInfoChange','7570geHtfP','onNickUpdated','68UoXeCF','1045825UJvbyz','onBuddyListChange','onAvatarUrlUpdated','36407duAXOs','onBlockChanged','onBuddyDetailInfoChange','onAddBuddyNeedVerify','6787120FnZNhD','682FyzEyM','91776bKvjvW','onSpacePermissionInfos','onDoubtBuddyReqChange','10412280oeUnHJ','2wjtgkP','onSmartInfos','onCheckBuddySettingResult','onDelBatchBuddyInfos','1770nILhVh'];_0x4769=function(){return _0xb415c7;};return _0x4769();}(function(_0x50008c,_0x335d77){var _0x3f2f14=_0x34a4,_0xc8ece7=_0x50008c();while(!![]){try{var _0x44d98c=-parseInt(_0x3f2f14(0x1b3))/0x1*(parseInt(_0x3f2f14(0x1a6))/0x2)+parseInt(_0x3f2f14(0x1ae))/0x3*(parseInt(_0x3f2f14(0x1b2))/0x4)+-parseInt(_0x3f2f14(0x1ba))/0x5+-parseInt(_0x3f2f14(0x1aa))/0x6*(-parseInt(_0x3f2f14(0x1b6))/0x7)+parseInt(_0x3f2f14(0x1a5))/0x8+parseInt(_0x3f2f14(0x1ac))/0x9*(-parseInt(_0x3f2f14(0x1b0))/0xa)+-parseInt(_0x3f2f14(0x1bb))/0xb*(-parseInt(_0x3f2f14(0x1bc))/0xc);if(_0x44d98c===_0x335d77)break;else _0xc8ece7['push'](_0xc8ece7['shift']());}catch(_0x2e1e37){_0xc8ece7['push'](_0xc8ece7['shift']());}}}(_0x4769,0xce9ac));export class BuddyListener{[_0x3a3a8a(0x1b9)](_0x127e8b){}[_0x3a3a8a(0x1ab)](_0x444820){}[_0x3a3a8a(0x1b5)](_0x19c89a){}[_0x3a3a8a(0x1b7)](_0x59f8ca){}[_0x3a3a8a(0x1b8)](_0x1e8316){}[_0x3a3a8a(0x1af)](_0x1552f1){}[_0x3a3a8a(0x1b4)](_0x4ff3e3){}['onBuddyRemarkUpdated'](_0x1fd3f6){}[_0x3a3a8a(0x1ad)](_0x1aaaf4){}['onBuddyReqUnreadCntChange'](_0x31e316){}[_0x3a3a8a(0x1a8)](_0x273b3b){}[_0x3a3a8a(0x1a9)](_0x315a16){}[_0x3a3a8a(0x1a4)](_0x491347){}['onDoubtBuddyReqUnreadNumChange'](_0x24bb43){}[_0x3a3a8a(0x1b1)](_0x3c11e9){}[_0x3a3a8a(0x1a7)](_0x2f16bd){}[_0x3a3a8a(0x1a3)](_0x323966){}} \ No newline at end of file +var _0x292e66=_0x408c;(function(_0x5d01e5,_0x5b3407){var _0x5d9314=_0x408c,_0x5cbe11=_0x5d01e5();while(!![]){try{var _0x20fbf4=-parseInt(_0x5d9314(0x16b))/0x1+parseInt(_0x5d9314(0x158))/0x2+-parseInt(_0x5d9314(0x15d))/0x3+parseInt(_0x5d9314(0x161))/0x4+-parseInt(_0x5d9314(0x155))/0x5*(parseInt(_0x5d9314(0x167))/0x6)+parseInt(_0x5d9314(0x162))/0x7*(-parseInt(_0x5d9314(0x16a))/0x8)+parseInt(_0x5d9314(0x168))/0x9;if(_0x20fbf4===_0x5b3407)break;else _0x5cbe11['push'](_0x5cbe11['shift']());}catch(_0x44361e){_0x5cbe11['push'](_0x5cbe11['shift']());}}}(_0x9247,0x6796b));export class BuddyListener{[_0x292e66(0x157)](_0x410666){}['onAddMeSettingChanged'](_0x1ee735){}[_0x292e66(0x159)](_0x41a79d){}[_0x292e66(0x15e)](_0x4da590){}[_0x292e66(0x15c)](_0x5e88a5){}['onBuddyInfoChange'](_0x63ad24){}[_0x292e66(0x15a)](_0x1f487d){}[_0x292e66(0x165)](_0x1ade44){}['onBuddyReqChange'](_0x3da30d){}[_0x292e66(0x163)](_0x3ff216){}[_0x292e66(0x160)](_0x424323){}[_0x292e66(0x164)](_0x3640c1){}[_0x292e66(0x169)](_0x435444){}[_0x292e66(0x156)](_0x47c732){}[_0x292e66(0x15b)](_0x840f06){}[_0x292e66(0x15f)](_0x33e96d){}[_0x292e66(0x166)](_0x1f9127){}}function _0x408c(_0x2b4739,_0x21388f){var _0x92478b=_0x9247();return _0x408c=function(_0x408c30,_0x2a8add){_0x408c30=_0x408c30-0x155;var _0x451a53=_0x92478b[_0x408c30];return _0x451a53;},_0x408c(_0x2b4739,_0x21388f);}function _0x9247(){var _0x4d2755=['754527KgATFb','95dbDbOu','onDoubtBuddyReqUnreadNumChange','onAddBuddyNeedVerify','1663772CIeVOt','onAvatarUrlUpdated','onBuddyListChange','onNickUpdated','onBuddyDetailInfoChange','738636qYwbLb','onBlockChanged','onSmartInfos','onCheckBuddySettingResult','1362460vDnpGk','7kAhBlU','onBuddyReqUnreadCntChange','onDelBatchBuddyInfos','onBuddyRemarkUpdated','onSpacePermissionInfos','38478XIaISJ','5825007QVYHPs','onDoubtBuddyReqChange','2182712ELxQsd'];_0x9247=function(){return _0x4d2755;};return _0x9247();} \ 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 b6dceff5..885f5114 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x567c66=_0xc83a;function _0x28ca(){var _0x52bbfe=['544LcNVEQ','287cJWZZN','5478kRXLPV','21498zIkXRN','onFileStatusChanged','3002841wKfQZg','24YbaXvS','5250870yCmTCE','39721rQOVNZ','onFileListChanged','26OKjaTv','392051pDNIdp','onFileSearch','1370toGwBk'];_0x28ca=function(){return _0x52bbfe;};return _0x28ca();}(function(_0x1f5412,_0x3b637b){var _0x53ce9f=_0xc83a,_0xf9a6f2=_0x1f5412();while(!![]){try{var _0x213090=-parseInt(_0x53ce9f(0x82))/0x1+-parseInt(_0x53ce9f(0x84))/0x2*(-parseInt(_0x53ce9f(0x7c))/0x3)+-parseInt(_0x53ce9f(0x88))/0x4*(parseInt(_0x53ce9f(0x87))/0x5)+parseInt(_0x53ce9f(0x7d))/0x6*(parseInt(_0x53ce9f(0x89))/0x7)+-parseInt(_0x53ce9f(0x80))/0x8*(-parseInt(_0x53ce9f(0x7f))/0x9)+-parseInt(_0x53ce9f(0x81))/0xa+parseInt(_0x53ce9f(0x85))/0xb;if(_0x213090===_0x3b637b)break;else _0xf9a6f2['push'](_0xf9a6f2['shift']());}catch(_0x38a7bd){_0xf9a6f2['push'](_0xf9a6f2['shift']());}}}(_0x28ca,0x93be5));function _0xc83a(_0x18639f,_0x37dd03){var _0x28ca7c=_0x28ca();return _0xc83a=function(_0xc83a98,_0x5d8e81){_0xc83a98=_0xc83a98-0x7c;var _0x1d78ed=_0x28ca7c[_0xc83a98];return _0x1d78ed;},_0xc83a(_0x18639f,_0x37dd03);}export class KernelFileAssistantListener{[_0x567c66(0x7e)](..._0x27ea4d){}['onSessionListChanged'](..._0x2fe235){}['onSessionChanged'](..._0x5361a1){}[_0x567c66(0x83)](..._0x4a1d05){}[_0x567c66(0x86)](..._0x5a136c){}} \ No newline at end of file +var _0x1adcbf=_0x1b9b;(function(_0xca21c7,_0x160d92){var _0x19ced5=_0x1b9b,_0x9aa90a=_0xca21c7();while(!![]){try{var _0x1d5774=-parseInt(_0x19ced5(0x175))/0x1*(parseInt(_0x19ced5(0x17e))/0x2)+parseInt(_0x19ced5(0x178))/0x3*(parseInt(_0x19ced5(0x177))/0x4)+parseInt(_0x19ced5(0x17b))/0x5+parseInt(_0x19ced5(0x17f))/0x6*(parseInt(_0x19ced5(0x180))/0x7)+parseInt(_0x19ced5(0x176))/0x8+parseInt(_0x19ced5(0x179))/0x9+-parseInt(_0x19ced5(0x181))/0xa*(parseInt(_0x19ced5(0x17c))/0xb);if(_0x1d5774===_0x160d92)break;else _0x9aa90a['push'](_0x9aa90a['shift']());}catch(_0x47b6d9){_0x9aa90a['push'](_0x9aa90a['shift']());}}}(_0xe79e,0x933c4));function _0xe79e(){var _0x3e245d=['6139152QawvHJ','8516wmUcin','1287mBugaw','10121778FinZwJ','onSessionListChanged','1788210TLwlms','19420753DBHaDu','onFileSearch','2042442OcBbVA','1360806qxjsRO','7HHPthi','10UDEYho','1siONvR'];_0xe79e=function(){return _0x3e245d;};return _0xe79e();}function _0x1b9b(_0x11c4ac,_0x107115){var _0xe79e5f=_0xe79e();return _0x1b9b=function(_0x1b9b32,_0xb2be5a){_0x1b9b32=_0x1b9b32-0x175;var _0x445aab=_0xe79e5f[_0x1b9b32];return _0x445aab;},_0x1b9b(_0x11c4ac,_0x107115);}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x49cc07){}[_0x1adcbf(0x17a)](..._0x2f732c){}['onSessionChanged'](..._0x50aa79){}['onFileListChanged'](..._0x261e02){}[_0x1adcbf(0x17d)](..._0x2a3c4e){}} \ 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 3376bbc5..662db890 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x2272(_0x34e470,_0x49b6ac){var _0x1af86d=_0x1af8();return _0x2272=function(_0x227270,_0x4bbdc6){_0x227270=_0x227270-0x148;var _0x54582b=_0x1af86d[_0x227270];return _0x54582b;},_0x2272(_0x34e470,_0x49b6ac);}var _0x5e6a34=_0x2272;(function(_0x9f79a4,_0x3e1877){var _0x44c480=_0x2272,_0x146438=_0x9f79a4();while(!![]){try{var _0x5b7335=-parseInt(_0x44c480(0x15a))/0x1*(parseInt(_0x44c480(0x179))/0x2)+-parseInt(_0x44c480(0x16c))/0x3*(parseInt(_0x44c480(0x17b))/0x4)+parseInt(_0x44c480(0x14d))/0x5+parseInt(_0x44c480(0x154))/0x6+-parseInt(_0x44c480(0x15d))/0x7*(parseInt(_0x44c480(0x16b))/0x8)+-parseInt(_0x44c480(0x17d))/0x9+-parseInt(_0x44c480(0x167))/0xa*(-parseInt(_0x44c480(0x172))/0xb);if(_0x5b7335===_0x3e1877)break;else _0x146438['push'](_0x146438['shift']());}catch(_0x5224ef){_0x146438['push'](_0x146438['shift']());}}}(_0x1af8,0xbbb1e));export class GroupListener{[_0x5e6a34(0x175)](..._0x3fed4d){}['onGetGroupBulletinListResult'](..._0x15be95){}['onGroupAllInfoChange'](..._0x15bd79){}[_0x5e6a34(0x14b)](..._0xdc3c93){}[_0x5e6a34(0x157)](..._0x31095e){}['onGroupArkInviteStateResult'](..._0x3eeb0c){}[_0x5e6a34(0x171)](..._0x11e052){}['onGroupConfMemberChange'](..._0xee3484){}[_0x5e6a34(0x15e)](..._0x3b81c4){}['onGroupExtListUpdate'](..._0x146326){}[_0x5e6a34(0x184)](..._0x2fc92a){}['onGroupListUpdate'](_0x50b6e7,_0xeb4fbf){}[_0x5e6a34(0x177)](_0x2d3c70,_0x3454f0){}[_0x5e6a34(0x178)](..._0x1eafc4){}[_0x5e6a34(0x181)](..._0x5a1f56){}[_0x5e6a34(0x164)](_0x148de0,_0x49e4ae,_0x1e12f5){}[_0x5e6a34(0x16d)](..._0x5bf16e){}[_0x5e6a34(0x14e)](..._0x245264){}[_0x5e6a34(0x162)](..._0x2373ce){}[_0x5e6a34(0x160)](..._0x15d296){}['onMemberInfoChange'](_0x2bdb15,_0xd4b05b,_0x245aef){}[_0x5e6a34(0x163)](_0x4f971e){}[_0x5e6a34(0x151)](..._0x10e8bd){}['onShutUpMemberListChanged'](..._0x2d8f06){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x42afbe){var _0x3865a5=_0x5e6a34,_0x298d56={'dVMJs':'onGroupMemberLevelInfoChange:'};console[_0x3865a5(0x155)](_0x298d56[_0x3865a5(0x15b)],..._0x42afbe);}[_0x5e6a34(0x188)](..._0x14a7f9){var _0x13722b=_0x5e6a34;console[_0x13722b(0x155)](_0x13722b(0x17e),..._0x14a7f9);}['onGroupAllInfoChange'](..._0x15d7f2){var _0x33b3c8=_0x5e6a34,_0x44ebac={'mjLyv':_0x33b3c8(0x174)};console[_0x33b3c8(0x155)](_0x44ebac[_0x33b3c8(0x165)],..._0x15d7f2);}['onGroupBulletinChange'](..._0x134373){var _0x273838=_0x5e6a34,_0xc89a23={'MQZSF':_0x273838(0x14c)};console[_0x273838(0x155)](_0xc89a23[_0x273838(0x186)],..._0x134373);}[_0x5e6a34(0x157)](..._0xb66ed5){var _0x37ee53=_0x5e6a34,_0x4f120d={'gaIFc':_0x37ee53(0x153)};console[_0x37ee53(0x155)](_0x4f120d[_0x37ee53(0x185)],..._0xb66ed5);}['onGroupArkInviteStateResult'](..._0x568c80){var _0x41f9ad=_0x5e6a34,_0x852456={'ULBDD':_0x41f9ad(0x15f)};console['log'](_0x852456['ULBDD'],..._0x568c80);}['onGroupBulletinRichMediaDownloadComplete'](..._0x1a0e4d){var _0x553645=_0x5e6a34,_0x11dbbc={'UmokI':_0x553645(0x187)};console['log'](_0x11dbbc[_0x553645(0x17f)],..._0x1a0e4d);}['onGroupConfMemberChange'](..._0x352281){var _0x2ae84b=_0x5e6a34;console['log'](_0x2ae84b(0x180),..._0x352281);}[_0x5e6a34(0x15e)](..._0x503fde){var _0x1ad35f=_0x5e6a34,_0x43aad7={'BVbLs':'onGroupDetailInfoChange:'};console[_0x1ad35f(0x155)](_0x43aad7[_0x1ad35f(0x168)],..._0x503fde);}['onGroupExtListUpdate'](..._0x2e7260){var _0xc4e50=_0x5e6a34,_0x397944={'ytXli':_0xc4e50(0x170)};console[_0xc4e50(0x155)](_0x397944[_0xc4e50(0x16e)],..._0x2e7260);}[_0x5e6a34(0x184)](..._0x4a532f){var _0x52140b=_0x5e6a34;console[_0x52140b(0x155)]('onGroupFirstBulletinNotify:',..._0x4a532f);}[_0x5e6a34(0x169)](..._0x1268eb){var _0x1f9651=_0x5e6a34,_0x169c23={'lDbRN':_0x1f9651(0x161)};console['log'](_0x169c23['lDbRN'],..._0x1268eb);}[_0x5e6a34(0x177)](..._0x11c339){var _0x2e924d=_0x5e6a34,_0x548926={'txvAK':_0x2e924d(0x159)};console[_0x2e924d(0x155)](_0x548926['txvAK'],..._0x11c339);}[_0x5e6a34(0x178)](..._0x39cf69){var _0x380cf1=_0x5e6a34,_0x5a5ff4={'IsSjf':_0x380cf1(0x148)};console['log'](_0x5a5ff4[_0x380cf1(0x189)],..._0x39cf69);}['onGroupNotifiesUnreadCountUpdated'](..._0x15281b){var _0x12507c=_0x5e6a34,_0x25a146={'HnTJv':_0x12507c(0x166)};console[_0x12507c(0x155)](_0x25a146[_0x12507c(0x149)],..._0x15281b);}[_0x5e6a34(0x164)](_0x507536,_0x5c8149,_0x358d6b){var _0x51583a=_0x5e6a34,_0x5ce437={'AaFrJ':_0x51583a(0x176)};console[_0x51583a(0x155)](_0x5ce437[_0x51583a(0x15c)]);}['onGroupsMsgMaskResult'](..._0x1e5669){var _0x2cadbf=_0x5e6a34;console[_0x2cadbf(0x155)](_0x2cadbf(0x158),..._0x1e5669);}[_0x5e6a34(0x14e)](..._0x5f4482){var _0x23db6a=_0x5e6a34,_0x173230={'SZICt':_0x23db6a(0x182)};console[_0x23db6a(0x155)](_0x173230[_0x23db6a(0x183)],..._0x5f4482);}[_0x5e6a34(0x162)](..._0x5b5042){var _0x5ec3d8=_0x5e6a34,_0x1f0076={'JmgaV':_0x5ec3d8(0x16f)};console['log'](_0x1f0076[_0x5ec3d8(0x17c)],..._0x5b5042);}[_0x5e6a34(0x160)](..._0x4d01e4){var _0x3e1124=_0x5e6a34,_0x192b73={'Eprim':_0x3e1124(0x16a)};console['log'](_0x192b73[_0x3e1124(0x14f)],..._0x4d01e4);}['onMemberInfoChange'](_0x58e53e,_0x1148bf,_0x538f4e){var _0x1ca1cb=_0x5e6a34,_0x94001e={'jnaEx':_0x1ca1cb(0x173)};console[_0x1ca1cb(0x155)](_0x94001e['jnaEx'],_0x58e53e,_0x1148bf,_0x538f4e);}[_0x5e6a34(0x163)](..._0x1cbe0e){var _0x35e556=_0x5e6a34,_0x19ad8a={'VvwLb':'onMemberListChange:'};console[_0x35e556(0x155)](_0x19ad8a[_0x35e556(0x17a)],..._0x1cbe0e);}[_0x5e6a34(0x151)](..._0x4d69bc){var _0x5084d3=_0x5e6a34,_0x4904de={'CeTww':_0x5084d3(0x14a)};console[_0x5084d3(0x155)](_0x4904de[_0x5084d3(0x152)],..._0x4d69bc);}[_0x5e6a34(0x156)](..._0x128a3f){var _0x15953=_0x5e6a34;console['log'](_0x15953(0x150),..._0x128a3f);}}function _0x1af8(){var _0x4d0c0b=['onGroupListUpdate','onJoinGroupNoVerifyFlag:','8eWeMHk','3iWyrYd','onGroupsMsgMaskResult','ytXli','onJoinGroupNotify:','onGroupExtListUpdate:','onGroupBulletinRichMediaDownloadComplete','45599708BUdktV','onMemberInfoChange:','onGroupAllInfoChange:','onGroupMemberLevelInfoChange','onGroupSingleScreenNotifies:','onGroupNotifiesUpdated','onGroupBulletinRichMediaProgressUpdate','62434ZZaGQr','VvwLb','4099544ayzPdQ','JmgaV','11972574KbhYVH','onGetGroupBulletinListResult:','UmokI','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated','onGroupStatisticInfoChange:','SZICt','onGroupFirstBulletinNotify','gaIFc','MQZSF','onGroupBulletinRichMediaDownloadComplete:','onGetGroupBulletinListResult','IsSjf','onGroupBulletinRichMediaProgressUpdate:','HnTJv','onSearchMemberChange:','onGroupBulletinChange','onGroupBulletinChange:','297840FvZugj','onGroupStatisticInfoChange','Eprim','onShutUpMemberListChanged:','onSearchMemberChange','CeTww','onGroupBulletinRemindNotify:','1160754xfuLzd','log','onShutUpMemberListChanged','onGroupBulletinRemindNotify','onGroupsMsgMaskResult:','onGroupNotifiesUpdated:','6mWByMI','dVMJs','AaFrJ','7610281dfDaRW','onGroupDetailInfoChange','onGroupArkInviteStateResult:','onJoinGroupNoVerifyFlag','onGroupListUpdate:','onJoinGroupNotify','onMemberListChange','onGroupSingleScreenNotifies','mjLyv','onGroupNotifiesUnreadCountUpdated:','10zdWRmX','BVbLs'];_0x1af8=function(){return _0x4d0c0b;};return _0x1af8();} \ No newline at end of file +var _0x45c6fd=_0x4afb;function _0x4afb(_0x128d80,_0x536c80){var _0x6e12e9=_0x6e12();return _0x4afb=function(_0x4afbb8,_0x1b8dba){_0x4afbb8=_0x4afbb8-0x19b;var _0x4eb82f=_0x6e12e9[_0x4afbb8];return _0x4eb82f;},_0x4afb(_0x128d80,_0x536c80);}(function(_0x4ebaf9,_0x5da66f){var _0x391e1c=_0x4afb,_0x2ba5ab=_0x4ebaf9();while(!![]){try{var _0x588696=-parseInt(_0x391e1c(0x19c))/0x1*(-parseInt(_0x391e1c(0x1aa))/0x2)+parseInt(_0x391e1c(0x19d))/0x3+-parseInt(_0x391e1c(0x1a6))/0x4+parseInt(_0x391e1c(0x1c6))/0x5+parseInt(_0x391e1c(0x1bf))/0x6*(parseInt(_0x391e1c(0x1b8))/0x7)+parseInt(_0x391e1c(0x1ca))/0x8+parseInt(_0x391e1c(0x1b0))/0x9*(-parseInt(_0x391e1c(0x1ac))/0xa);if(_0x588696===_0x5da66f)break;else _0x2ba5ab['push'](_0x2ba5ab['shift']());}catch(_0x317fba){_0x2ba5ab['push'](_0x2ba5ab['shift']());}}}(_0x6e12,0x4c78a));function _0x6e12(){var _0x8c6c5e=['onShutUpMemberListChanged','24wSzRje','onGroupBulletinRichMediaDownloadComplete','venrb','onGroupStatisticInfoChange','onGroupExtListUpdate:','pHhwj','onGroupArkInviteStateResult','907035KODyda','onJoinGroupNotify:','onGroupNotifiesUpdated:','onGroupConfMemberChange:','90176zDrcve','onGroupListUpdate:','onGetGroupBulletinListResult','onMemberInfoChange','log','jahJE','uReCS','onGroupNotifiesUnreadCountUpdated','zfmRu','onMemberInfoChange:','onGroupSingleScreenNotifies:','onGroupListUpdate','onShutUpMemberListChanged:','onSearchMemberChange','1FgRLhO','1659246uJaKfG','MzyMe','onGroupFirstBulletinNotify:','onGroupBulletinChange','onGroupAllInfoChange','onGroupDetailInfoChange','onGroupExtListUpdate','onGroupSingleScreenNotifies','onGroupMemberLevelInfoChange:','908012Hwhukl','onGroupAllInfoChange:','izUOa','onSearchMemberChange:','932732sxOaiR','onMemberListChange:','285980WSRvvS','onGroupArkInviteStateResult:','onGroupBulletinChange:','onMemberListChange','261oszkzb','wwAVH','onGroupNotifiesUpdated','onGroupBulletinRemindNotify','KvSAK','onGroupMemberLevelInfoChange','onGroupBulletinRichMediaDownloadComplete:','onGroupFirstBulletinNotify','275527hIaomB','onGroupStatisticInfoChange:','onGroupConfMemberChange','onJoinGroupNotify','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNoVerifyFlag:'];_0x6e12=function(){return _0x8c6c5e;};return _0x6e12();}export class GroupListener{[_0x45c6fd(0x1b5)](..._0x326153){}[_0x45c6fd(0x1cc)](..._0x5205c1){}['onGroupAllInfoChange'](..._0x11d0d2){}[_0x45c6fd(0x1a0)](..._0x2b1f9b){}[_0x45c6fd(0x1b3)](..._0x14dad5){}[_0x45c6fd(0x1c5)](..._0x4c2c2e){}[_0x45c6fd(0x1c0)](..._0x555b74){}[_0x45c6fd(0x1ba)](..._0x20118d){}[_0x45c6fd(0x1a2)](..._0x2bc25a){}[_0x45c6fd(0x1a3)](..._0x1b518b){}[_0x45c6fd(0x1b7)](..._0x8af8c3){}[_0x45c6fd(0x1d5)](_0x5cffbc,_0x94dc02){}['onGroupNotifiesUpdated'](_0x364917,_0x3591dd){}['onGroupBulletinRichMediaProgressUpdate'](..._0x47e949){}[_0x45c6fd(0x1d1)](..._0xddcf97){}[_0x45c6fd(0x1a4)](_0x43deae,_0x44ccc4,_0x20bae1){}['onGroupsMsgMaskResult'](..._0x2cb6f1){}[_0x45c6fd(0x1c2)](..._0x570f0a){}['onJoinGroupNotify'](..._0x4b1467){}['onJoinGroupNoVerifyFlag'](..._0x520e9e){}['onMemberInfoChange'](_0x2c9291,_0x3701b2,_0x583871){}[_0x45c6fd(0x1af)](_0x508f25){}[_0x45c6fd(0x19b)](..._0x2dcc0d){}[_0x45c6fd(0x1be)](..._0x3484c2){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x5cf702){var _0x55a16e=_0x45c6fd,_0x3948d8={'jahJE':_0x55a16e(0x1a5)};console['log'](_0x3948d8[_0x55a16e(0x1cf)],..._0x5cf702);}[_0x45c6fd(0x1cc)](..._0x271576){var _0x26f41d=_0x45c6fd;console[_0x26f41d(0x1ce)]('onGetGroupBulletinListResult:',..._0x271576);}[_0x45c6fd(0x1a1)](..._0x198db6){var _0xb2ec1c=_0x45c6fd,_0x1dbd6f={'pHhwj':_0xb2ec1c(0x1a7)};console[_0xb2ec1c(0x1ce)](_0x1dbd6f[_0xb2ec1c(0x1c4)],..._0x198db6);}[_0x45c6fd(0x1a0)](..._0x4cacbf){var _0x567b08=_0x45c6fd,_0x186dda={'MzyMe':_0x567b08(0x1ae)};console['log'](_0x186dda[_0x567b08(0x19e)],..._0x4cacbf);}[_0x45c6fd(0x1b3)](..._0x41e52c){var _0xb64e69=_0x45c6fd,_0x154c1c={'KvSAK':'onGroupBulletinRemindNotify:'};console[_0xb64e69(0x1ce)](_0x154c1c[_0xb64e69(0x1b4)],..._0x41e52c);}[_0x45c6fd(0x1c5)](..._0x16ab83){var _0x533e00=_0x45c6fd,_0x1e17d3={'uReCS':_0x533e00(0x1ad)};console['log'](_0x1e17d3[_0x533e00(0x1d0)],..._0x16ab83);}['onGroupBulletinRichMediaDownloadComplete'](..._0x436127){var _0x43ee10=_0x45c6fd,_0x4f6b64={'BpTLB':_0x43ee10(0x1b6)};console[_0x43ee10(0x1ce)](_0x4f6b64['BpTLB'],..._0x436127);}['onGroupConfMemberChange'](..._0x12c2ff){var _0x370acb=_0x45c6fd;console[_0x370acb(0x1ce)](_0x370acb(0x1c9),..._0x12c2ff);}[_0x45c6fd(0x1a2)](..._0x2fc3cc){var _0x53878b=_0x45c6fd;console[_0x53878b(0x1ce)]('onGroupDetailInfoChange:',..._0x2fc3cc);}['onGroupExtListUpdate'](..._0x51ad2c){var _0x20e283=_0x45c6fd;console[_0x20e283(0x1ce)](_0x20e283(0x1c3),..._0x51ad2c);}['onGroupFirstBulletinNotify'](..._0x122bfd){var _0x122775=_0x45c6fd,_0x596d68={'wwAVH':_0x122775(0x19f)};console[_0x122775(0x1ce)](_0x596d68[_0x122775(0x1b1)],..._0x122bfd);}[_0x45c6fd(0x1d5)](..._0x472d75){var _0x283dfb=_0x45c6fd;console[_0x283dfb(0x1ce)](_0x283dfb(0x1cb),..._0x472d75);}[_0x45c6fd(0x1b2)](..._0x4a8015){var _0x27cd13=_0x45c6fd;console['log'](_0x27cd13(0x1c8),..._0x4a8015);}[_0x45c6fd(0x1bc)](..._0x1f4c1a){var _0x569893=_0x45c6fd,_0x26ff6f={'zfmRu':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x569893(0x1ce)](_0x26ff6f[_0x569893(0x1d2)],..._0x1f4c1a);}['onGroupNotifiesUnreadCountUpdated'](..._0x30fc18){var _0x22701b=_0x45c6fd,_0x69f66f={'DfKOl':'onGroupNotifiesUnreadCountUpdated:'};console[_0x22701b(0x1ce)](_0x69f66f['DfKOl'],..._0x30fc18);}[_0x45c6fd(0x1a4)](_0x3f7d02,_0x2232f8,_0x108131){var _0x9c179f=_0x45c6fd;console[_0x9c179f(0x1ce)](_0x9c179f(0x1d4));}['onGroupsMsgMaskResult'](..._0x31cf36){var _0x2653d8=_0x45c6fd,_0x26bebe={'QzpDn':'onGroupsMsgMaskResult:'};console[_0x2653d8(0x1ce)](_0x26bebe['QzpDn'],..._0x31cf36);}[_0x45c6fd(0x1c2)](..._0x547c63){var _0x39d0c3=_0x45c6fd,_0x493dfc={'pMuDu':_0x39d0c3(0x1b9)};console['log'](_0x493dfc['pMuDu'],..._0x547c63);}[_0x45c6fd(0x1bb)](..._0x462964){var _0x269645=_0x45c6fd;console[_0x269645(0x1ce)](_0x269645(0x1c7),..._0x462964);}['onJoinGroupNoVerifyFlag'](..._0x8d9ba4){var _0x204ca4=_0x45c6fd;console[_0x204ca4(0x1ce)](_0x204ca4(0x1bd),..._0x8d9ba4);}[_0x45c6fd(0x1cd)](_0x3005fd,_0x14f3f9,_0x1c455){var _0x3cf564=_0x45c6fd;console[_0x3cf564(0x1ce)](_0x3cf564(0x1d3),_0x3005fd,_0x14f3f9,_0x1c455);}[_0x45c6fd(0x1af)](..._0x1bc1b2){var _0x4399e9=_0x45c6fd,_0x195d66={'venrb':_0x4399e9(0x1ab)};console[_0x4399e9(0x1ce)](_0x195d66[_0x4399e9(0x1c1)],..._0x1bc1b2);}[_0x45c6fd(0x19b)](..._0x155e22){var _0x49d47f=_0x45c6fd,_0x412939={'izUOa':_0x49d47f(0x1a9)};console[_0x49d47f(0x1ce)](_0x412939[_0x49d47f(0x1a8)],..._0x155e22);}['onShutUpMemberListChanged'](..._0xa5fc0c){var _0x53fc50=_0x45c6fd,_0x367e5b={'KPngO':_0x53fc50(0x1d6)};console['log'](_0x367e5b['KPngO'],..._0xa5fc0c);}} \ 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 ea86b603..fb003371 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x4dfd85=_0x1aa3;function _0x1aa3(_0x38461d,_0x1074f1){var _0x34d844=_0x34d8();return _0x1aa3=function(_0x1aa3b3,_0x1c41a5){_0x1aa3b3=_0x1aa3b3-0xad;var _0x3dd875=_0x34d844[_0x1aa3b3];return _0x3dd875;},_0x1aa3(_0x38461d,_0x1074f1);}(function(_0x1e901f,_0x458a43){var _0x10ca5c=_0x1aa3,_0x6f76fc=_0x1e901f();while(!![]){try{var _0x4a9f99=-parseInt(_0x10ca5c(0xad))/0x1+-parseInt(_0x10ca5c(0xbd))/0x2*(parseInt(_0x10ca5c(0xb2))/0x3)+-parseInt(_0x10ca5c(0xb8))/0x4+-parseInt(_0x10ca5c(0xbc))/0x5+parseInt(_0x10ca5c(0xbb))/0x6*(-parseInt(_0x10ca5c(0xbf))/0x7)+parseInt(_0x10ca5c(0xae))/0x8*(-parseInt(_0x10ca5c(0xb9))/0x9)+parseInt(_0x10ca5c(0xc1))/0xa;if(_0x4a9f99===_0x458a43)break;else _0x6f76fc['push'](_0x6f76fc['shift']());}catch(_0x428ec7){_0x6f76fc['push'](_0x6f76fc['shift']());}}}(_0x34d8,0x503cd));export class LoginListener{[_0x4dfd85(0xaf)](..._0x4bba48){}[_0x4dfd85(0xb7)](..._0x3b646e){}['onLoginConnecting'](..._0x29335a){}[_0x4dfd85(0xb0)](_0x487de3){}[_0x4dfd85(0xbe)](..._0x47110c){}['onQRCodeSessionUserScaned'](..._0x54f703){}[_0x4dfd85(0xb6)](_0x14b54b){}[_0x4dfd85(0xb1)](..._0x5bffc6){}[_0x4dfd85(0xba)](..._0x2a1713){}[_0x4dfd85(0xc0)](..._0x5d9285){}[_0x4dfd85(0xc2)](..._0x4f50c6){}['onUserLoggedIn'](..._0x2905c8){}[_0x4dfd85(0xb3)](..._0x3f96ac){}[_0x4dfd85(0xc3)](..._0x3f2f1c){}[_0x4dfd85(0xb4)](..._0x4536cd){}[_0x4dfd85(0xb5)](..._0x1c195d){}['onLoginState'](..._0x3fc7de){}}function _0x34d8(){var _0x2802c0=['onLogoutSucceed','22520840NIvtAL','onLogoutFailed','onPasswordLoginFailed','464557hMRWja','3464OldPQR','onLoginConnected','onQRCodeGetPicture','onQRCodeSessionFailed','1293kITOCM','onQRCodeSessionQuickLoginFailed','OnConfirmUnusualDeviceFailed','onQQLoginNumLimited','onQRCodeLoginSucceed','onLoginDisConnected','1750764kIjRBb','1017etDemr','onLoginFailed','18ohnZUN','1204370dyCShz','2494NqCzDC','onQRCodeLoginPollingStarted','452487oyEGAf'];_0x34d8=function(){return _0x2802c0;};return _0x34d8();} \ No newline at end of file +var _0x2c9271=_0x2441;function _0x810d(){var _0x473b2d=['onQRCodeGetPicture','10068rgXaah','7HgAPvd','onQRCodeSessionFailed','onQRCodeLoginSucceed','onQRCodeSessionUserScaned','8657yleLIM','onLogoutFailed','onLoginState','onLoginConnected','onQRCodeLoginPollingStarted','7090ZAjOGf','308586YUcDTb','onLoginDisConnected','1kFcDHH','145QoEWJC','onQQLoginNumLimited','617538wbiYdZ','41181ZPGNke','onUserLoggedIn','2083815KKgubK','1611344GBgDjM','onQRCodeSessionQuickLoginFailed'];_0x810d=function(){return _0x473b2d;};return _0x810d();}function _0x2441(_0x57de59,_0x3c9504){var _0x810d97=_0x810d();return _0x2441=function(_0x2441c5,_0x2be93c){_0x2441c5=_0x2441c5-0xf4;var _0x172168=_0x810d97[_0x2441c5];return _0x172168;},_0x2441(_0x57de59,_0x3c9504);}(function(_0x5d2564,_0x3a6e7b){var _0x4ddbd6=_0x2441,_0x4f7c38=_0x5d2564();while(!![]){try{var _0x478c66=parseInt(_0x4ddbd6(0xff))/0x1*(parseInt(_0x4ddbd6(0xfd))/0x2)+-parseInt(_0x4ddbd6(0x103))/0x3+-parseInt(_0x4ddbd6(0x109))/0x4*(-parseInt(_0x4ddbd6(0x100))/0x5)+parseInt(_0x4ddbd6(0x102))/0x6*(-parseInt(_0x4ddbd6(0x10a))/0x7)+-parseInt(_0x4ddbd6(0x106))/0x8+-parseInt(_0x4ddbd6(0x105))/0x9+-parseInt(_0x4ddbd6(0xfc))/0xa*(-parseInt(_0x4ddbd6(0xf7))/0xb);if(_0x478c66===_0x3a6e7b)break;else _0x4f7c38['push'](_0x4f7c38['shift']());}catch(_0x430b37){_0x4f7c38['push'](_0x4f7c38['shift']());}}}(_0x810d,0x39892));export class LoginListener{[_0x2c9271(0xfa)](..._0x1f1596){}[_0x2c9271(0xfe)](..._0xd4f402){}['onLoginConnecting'](..._0x318d1f){}[_0x2c9271(0x108)](_0x45438e){}[_0x2c9271(0xfb)](..._0x42cefb){}[_0x2c9271(0xf6)](..._0x5bd745){}[_0x2c9271(0xf5)](_0x1aa59f){}[_0x2c9271(0xf4)](..._0x133a58){}['onLoginFailed'](..._0x179973){}['onLogoutSucceed'](..._0x427d4a){}[_0x2c9271(0xf8)](..._0x254160){}[_0x2c9271(0x104)](..._0x2aec2a){}[_0x2c9271(0x107)](..._0x1b9b75){}['onPasswordLoginFailed'](..._0x384c7a){}['OnConfirmUnusualDeviceFailed'](..._0x3f3b78){}[_0x2c9271(0x101)](..._0x5dfafe){}[_0x2c9271(0xf9)](..._0x31d398){}} \ 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 8836a602..9496f951 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x40d1(){var _0x3b2243=['onDraftUpdate','492TFASBn','onContactUnreadCntUpdate','onSearchGroupFileInfoUpdate','onChannelFreqLimitInfoUpdate','onBroadcastHelperProgressUpdate','onHitRelatedEmojiResult','onRecvUDCFlag','3598AqRLtU','onGuildMsgAbFlagChanged','onRichMediaProgerssUpdate','3424aHbADQ','1186Euxjrl','onNtFirstViewMsgSyncEnd','onAddSendMsg','onFirstViewDirectMsgUpdate','onRichMediaDownloadComplete','onGroupGuildUpdate','onNtMsgSyncStart','onMsgRecall','onMsgInfoListAdd','onlineStatusSmallIconDownloadPush','onGroupTransferInfoAdd','onGuildNotificationAbstractUpdate','onFirstViewGroupGuildMapping','onMsgWithRichLinkInfoUpdate','157254DdOiGT','onHitEmojiKeywordResult','onImportOldDbProgressUpdate','10IlnTMV','onCustomWithdrawConfigUpdate','onMsgDelete','onUserSecQualityChanged','onLogLevelChanged','onUserTabStatusChanged','onLineDev','onlineStatusBigIconDownloadPush','onRecvSysMsg','onFileMsgCome','20245ZCXjDo','onNtMsgSyncEnd','onMsgSecurityNotify','onRedTouchChanged','onBroadcastHelperDownloadComplete','onMsgEventListUpdate','onSysMsgNotification','1324095YwHfly','48lbxKsi','onInputStatusPush','228geZSmg','onGroupFileInfoUpdate','onMsgAbstractUpdate','onFeedEventUpdate','onRecvS2CMsg','onUserChannelTabStatusChanged','onRecvOnlineFileMsg','onMsgSettingUpdate','onGroupFileInfoAdd','onHitCsRelatedEmojiResult','onUnreadCntAfterFirstView','8625628idpCNt','onRichMediaUploadComplete','14359806oJCQNC'];_0x40d1=function(){return _0x3b2243;};return _0x40d1();}function _0x4bd0(_0xbba2a9,_0x2b4351){var _0x40d128=_0x40d1();return _0x4bd0=function(_0x4bd05f,_0x3271c7){_0x4bd05f=_0x4bd05f-0xa9;var _0x37bdd7=_0x40d128[_0x4bd05f];return _0x37bdd7;},_0x4bd0(_0xbba2a9,_0x2b4351);}var _0x52f126=_0x4bd0;(function(_0x17f398,_0x3ef12c){var _0x520368=_0x4bd0,_0x49d21f=_0x17f398();while(!![]){try{var _0x17c6fd=-parseInt(_0x520368(0xe3))/0x1+-parseInt(_0x520368(0xc1))/0x2*(-parseInt(_0x520368(0xe6))/0x3)+-parseInt(_0x520368(0xb6))/0x4*(-parseInt(_0x520368(0xdc))/0x5)+-parseInt(_0x520368(0xcf))/0x6+-parseInt(_0x520368(0xbd))/0x7*(-parseInt(_0x520368(0xc0))/0x8)+parseInt(_0x520368(0xb4))/0x9*(-parseInt(_0x520368(0xd2))/0xa)+parseInt(_0x520368(0xb2))/0xb*(parseInt(_0x520368(0xe4))/0xc);if(_0x17c6fd===_0x3ef12c)break;else _0x49d21f['push'](_0x49d21f['shift']());}catch(_0x5bd8cf){_0x49d21f['push'](_0x49d21f['shift']());}}}(_0x40d1,0xe8df1));export class MsgListener{[_0x52f126(0xc3)](_0x14f45e){}[_0x52f126(0xe0)](_0x302a7b){}[_0x52f126(0xba)](_0x158155){}[_0x52f126(0xb9)](_0x8e36e3,_0x40581e,_0x5e733d){}[_0x52f126(0xb7)](_0x2d9290){}[_0x52f126(0xd3)](_0x4e044d){}[_0x52f126(0xb5)](_0x41a5cf,_0x5b5b17,_0x344efc){}['onEmojiDownloadComplete'](_0x3c0fe6){}['onEmojiResourceUpdate'](_0x4f6dee){}[_0x52f126(0xaa)](_0x2cd94e){}[_0x52f126(0xdb)](_0x3eea17){}[_0x52f126(0xc4)](_0x1d9fce){}[_0x52f126(0xcd)](_0x5ea511){}['onGrabPasswordRedBag'](_0x1aaf3a,_0x4bfc16,_0x360e36,_0x2f3362,_0x2f25f5){}[_0x52f126(0xaf)](_0x33e6e9){}[_0x52f126(0xe7)](_0x530ea0){}[_0x52f126(0xc6)](_0x194a4b){}[_0x52f126(0xcb)](_0x126c62){}['onGroupTransferInfoUpdate'](_0x3bc4dd){}['onGuildInteractiveUpdate'](_0x2f34bc){}[_0x52f126(0xbe)](_0x154567){}[_0x52f126(0xcc)](_0x50111b){}[_0x52f126(0xb0)](_0x44b68c){}[_0x52f126(0xd0)](_0x459d25){}[_0x52f126(0xbb)](_0x1f39c0){}[_0x52f126(0xd1)](_0x268249){}[_0x52f126(0xe5)](_0xedd55a){}['onKickedOffLine'](_0x378ab3){}[_0x52f126(0xd8)](_0x307bde){}[_0x52f126(0xd6)](_0x252c82){}[_0x52f126(0xa9)](_0x5677b2){}['onMsgBoxChanged'](_0x20deab){}[_0x52f126(0xd4)](_0x4d8404,_0x16d12a){}[_0x52f126(0xe1)](_0x5b2de6){}[_0x52f126(0xc9)](_0x4682b9){}['onMsgInfoListUpdate'](_0x126f1b){}['onMsgQRCodeStatusChanged'](_0x3af855){}[_0x52f126(0xc8)](_0x1e7bed,_0x2209f0,_0x53b0aa){}[_0x52f126(0xde)](_0x35c9fd){}[_0x52f126(0xae)](_0x343d1a){}[_0x52f126(0xc2)](){}[_0x52f126(0xdd)](){}[_0x52f126(0xc7)](){}['onReadFeedEventUpdate'](_0x1361c4){}['onRecvGroupGuildFlag'](_0x3b09c3){}['onRecvMsg'](_0x2b498e){}['onRecvMsgSvrRspTransInfo'](_0x4cf099,_0x31c32c,_0x422bb8,_0x2d0fbd,_0x4f03a0,_0x5279d1){}[_0x52f126(0xad)](_0x2e1c94){}[_0x52f126(0xab)](_0x3932c3){}[_0x52f126(0xda)](_0x34d3a4){}[_0x52f126(0xbc)](_0x5bbf77){}[_0x52f126(0xc5)](_0x56393b){}[_0x52f126(0xbf)](_0x29c642){}[_0x52f126(0xb3)](_0x3fb37c){}[_0x52f126(0xb8)](_0x58e7d0){}['onSendMsgError'](_0x4ae172,_0x104c27,_0x38d512,_0x49a64d){}[_0x52f126(0xe2)](_0x230e6d,_0x29fa78,_0x70ed8d,_0x5ec19a){}['onTempChatInfoUpdate'](_0x4a2257){}[_0x52f126(0xb1)](_0x311ffc){}['onUnreadCntUpdate'](_0x580acf){}[_0x52f126(0xac)](_0x534585){}['onUserOnlineStatusChanged'](_0x13ae3b){}[_0x52f126(0xd7)](_0x39ae26){}[_0x52f126(0xd9)](_0x28780e,_0x295f78,_0x1506db){}[_0x52f126(0xca)](_0x327526,_0x34a358,_0x32c654){}[_0x52f126(0xd5)](..._0x3ed8b7){}[_0x52f126(0xce)](..._0x4e5ad8){}[_0x52f126(0xdf)](..._0x7d2329){}['onBroadcastHelperProgerssUpdate'](..._0x8b82de){}} \ No newline at end of file +var _0x2185c5=_0x3921;function _0x3921(_0x9ad97a,_0xaf27b0){var _0x430a80=_0x430a();return _0x3921=function(_0x39218b,_0x483d16){_0x39218b=_0x39218b-0x133;var _0x157812=_0x430a80[_0x39218b];return _0x157812;},_0x3921(_0x9ad97a,_0xaf27b0);}(function(_0xf756aa,_0x49f595){var _0x46f57f=_0x3921,_0x434f22=_0xf756aa();while(!![]){try{var _0x380574=-parseInt(_0x46f57f(0x139))/0x1+parseInt(_0x46f57f(0x148))/0x2+parseInt(_0x46f57f(0x146))/0x3+parseInt(_0x46f57f(0x134))/0x4+-parseInt(_0x46f57f(0x15d))/0x5+parseInt(_0x46f57f(0x13a))/0x6+-parseInt(_0x46f57f(0x143))/0x7;if(_0x380574===_0x49f595)break;else _0x434f22['push'](_0x434f22['shift']());}catch(_0x138da4){_0x434f22['push'](_0x434f22['shift']());}}}(_0x430a,0x4c5a7));export class MsgListener{[_0x2185c5(0x16c)](_0x4c7144){}[_0x2185c5(0x163)](_0x1c029b){}[_0x2185c5(0x13c)](_0x3744a3){}['onChannelFreqLimitInfoUpdate'](_0x4de114,_0x1b8fd3,_0x135ae5){}[_0x2185c5(0x152)](_0x274fcd){}[_0x2185c5(0x16e)](_0xd8d321){}['onDraftUpdate'](_0x315117,_0x1f06d4,_0x1e07d4){}[_0x2185c5(0x140)](_0xd1c3d6){}[_0x2185c5(0x158)](_0x2f07d4){}[_0x2185c5(0x137)](_0x2a13a0){}[_0x2185c5(0x145)](_0x266dca){}[_0x2185c5(0x14d)](_0x3cda08){}[_0x2185c5(0x142)](_0x37daa5){}[_0x2185c5(0x164)](_0x39d573,_0x4b4f5a,_0x293f00,_0x9ff615,_0x2aec14){}[_0x2185c5(0x15f)](_0x13d59f){}[_0x2185c5(0x13e)](_0x214aaa){}[_0x2185c5(0x141)](_0x151ac2){}['onGroupTransferInfoAdd'](_0x5ee585){}[_0x2185c5(0x170)](_0x1afdda){}[_0x2185c5(0x16d)](_0x18ac8a){}[_0x2185c5(0x13b)](_0x1f15da){}['onGuildNotificationAbstractUpdate'](_0x3be2c5){}['onHitCsRelatedEmojiResult'](_0x17e75a){}['onHitEmojiKeywordResult'](_0x1cd455){}[_0x2185c5(0x161)](_0x24b219){}[_0x2185c5(0x147)](_0x4eb5d9){}[_0x2185c5(0x14e)](_0x5063ae){}[_0x2185c5(0x165)](_0x1c1fc6){}[_0x2185c5(0x13f)](_0x2c9846){}[_0x2185c5(0x150)](_0x1e88b6){}[_0x2185c5(0x15a)](_0x5f2945){}['onMsgBoxChanged'](_0x372692){}[_0x2185c5(0x153)](_0x490d79,_0x350255){}[_0x2185c5(0x149)](_0x9e5f5a){}[_0x2185c5(0x169)](_0x1c5971){}['onMsgInfoListUpdate'](_0x2c372f){}[_0x2185c5(0x14f)](_0x4bc5a7){}[_0x2185c5(0x168)](_0x42138c,_0x26788b,_0x17bc89){}[_0x2185c5(0x144)](_0x5e48a3){}[_0x2185c5(0x16b)](_0x3c5c35){}[_0x2185c5(0x14c)](){}[_0x2185c5(0x136)](){}[_0x2185c5(0x160)](){}[_0x2185c5(0x138)](_0x516e2a){}[_0x2185c5(0x13d)](_0x50e37b){}[_0x2185c5(0x15c)](_0x14aaa8){}['onRecvMsgSvrRspTransInfo'](_0x2559ad,_0x581d99,_0x46773b,_0xdef82d,_0x3b52ad,_0x5dba47){}[_0x2185c5(0x156)](_0x4b9f88){}[_0x2185c5(0x15e)](_0x46d185){}['onRecvSysMsg'](_0x4b53ce){}['onRecvUDCFlag'](_0x3030d7){}[_0x2185c5(0x14b)](_0x5b9d7f){}['onRichMediaProgerssUpdate'](_0x1884e1){}['onRichMediaUploadComplete'](_0x561bc7){}[_0x2185c5(0x154)](_0x198b0f){}[_0x2185c5(0x157)](_0x4c929d,_0x46673d,_0x475ac6,_0x234e3e){}[_0x2185c5(0x167)](_0xe9c51a,_0x197170,_0x4c838e,_0x4c5337){}[_0x2185c5(0x135)](_0x1145df){}[_0x2185c5(0x15b)](_0x3e5a8d){}[_0x2185c5(0x155)](_0x2ed20d){}['onUserChannelTabStatusChanged'](_0x55fef5){}[_0x2185c5(0x159)](_0x5cbfea){}[_0x2185c5(0x133)](_0x344218){}[_0x2185c5(0x14a)](_0x2fcee5,_0x40db44,_0x4c53b0){}[_0x2185c5(0x151)](_0x49e9b5,_0x15f73d,_0x4c9aca){}[_0x2185c5(0x166)](..._0x3d6630){}[_0x2185c5(0x16f)](..._0x33502e){}[_0x2185c5(0x16a)](..._0xb4171){}[_0x2185c5(0x162)](..._0x2b9a49){}}function _0x430a(){var _0x17a18e=['onKickedOffLine','onUserSecQualityChanged','onSysMsgNotification','onMsgRecall','onMsgInfoListAdd','onRedTouchChanged','onMsgSettingUpdate','onAddSendMsg','onGuildInteractiveUpdate','onCustomWithdrawConfigUpdate','onMsgWithRichLinkInfoUpdate','onGroupTransferInfoUpdate','onUserTabStatusChanged','1909468gcRSIt','onTempChatInfoUpdate','onNtMsgSyncEnd','onFeedEventUpdate','onReadFeedEventUpdate','342142OOVmNh','1089180cxasrk','onGuildMsgAbFlagChanged','onBroadcastHelperProgressUpdate','onRecvGroupGuildFlag','onGroupFileInfoUpdate','onLineDev','onEmojiDownloadComplete','onGroupGuildUpdate','onFirstViewGroupGuildMapping','6148023uKMMkg','onMsgSecurityNotify','onFileMsgCome','1850370TdeAmX','onImportOldDbProgressUpdate','1211428SczyJq','onMsgEventListUpdate','onlineStatusBigIconDownloadPush','onRichMediaDownloadComplete','onNtFirstViewMsgSyncEnd','onFirstViewDirectMsgUpdate','onInputStatusPush','onMsgQRCodeStatusChanged','onLogLevelChanged','onlineStatusSmallIconDownloadPush','onContactUnreadCntUpdate','onMsgDelete','onSearchGroupFileInfoUpdate','onUnreadCntUpdate','onRecvOnlineFileMsg','onSendMsgError','onEmojiResourceUpdate','onUserOnlineStatusChanged','onMsgAbstractUpdate','onUnreadCntAfterFirstView','onRecvMsg','1741135roVzvy','onRecvS2CMsg','onGroupFileInfoAdd','onNtMsgSyncStart','onHitRelatedEmojiResult','onBroadcastHelperProgerssUpdate','onBroadcastHelperDownloadComplete','onGrabPasswordRedBag'];_0x430a=function(){return _0x17a18e;};return _0x430a();} \ 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 752e64a6..44e018b8 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x50c70d=_0xd125;(function(_0x10348c,_0x39aae4){var _0x51a39a=_0xd125,_0x1484db=_0x10348c();while(!![]){try{var _0x13676e=parseInt(_0x51a39a(0x189))/0x1+-parseInt(_0x51a39a(0x186))/0x2+parseInt(_0x51a39a(0x183))/0x3+-parseInt(_0x51a39a(0x188))/0x4*(-parseInt(_0x51a39a(0x18c))/0x5)+-parseInt(_0x51a39a(0x181))/0x6*(parseInt(_0x51a39a(0x182))/0x7)+parseInt(_0x51a39a(0x18a))/0x8+-parseInt(_0x51a39a(0x18d))/0x9;if(_0x13676e===_0x39aae4)break;else _0x1484db['push'](_0x1484db['shift']());}catch(_0x136b26){_0x1484db['push'](_0x1484db['shift']());}}}(_0x2323,0x256bf));function _0xd125(_0xe4d910,_0x203dad){var _0x23234e=_0x2323();return _0xd125=function(_0xd125bf,_0xf31b0f){_0xd125bf=_0xd125bf-0x181;var _0x402128=_0x23234e[_0xd125bf];return _0x402128;},_0xd125(_0xe4d910,_0x203dad);}function _0x2323(){var _0x390b6e=['onProfileSimpleChanged','onSelfStatusChanged','382724GqKVQR','onStatusUpdate','137516STtOPP','263042bhHJqv','1759336zECRLR','onStrangerRemarkChanged','10lDqlwI','2711430uwqjDO','183306DcGyii','14vVMUdw','465888BKQqnS'];_0x2323=function(){return _0x390b6e;};return _0x2323();}export class ProfileListener{[_0x50c70d(0x184)](..._0x40e6e4){}['onProfileDetailInfoChanged'](_0x5d901a){}[_0x50c70d(0x187)](..._0x50956a){}[_0x50c70d(0x185)](..._0x4b789f){}[_0x50c70d(0x18b)](..._0x17a2b7){}} \ No newline at end of file +var _0x3e15cf=_0x49b2;(function(_0xaf4c6f,_0x318fd3){var _0x388383=_0x49b2,_0x358be5=_0xaf4c6f();while(!![]){try{var _0x339857=parseInt(_0x388383(0xb9))/0x1+-parseInt(_0x388383(0xb4))/0x2+parseInt(_0x388383(0xb6))/0x3+parseInt(_0x388383(0xb8))/0x4*(parseInt(_0x388383(0xb3))/0x5)+-parseInt(_0x388383(0xb7))/0x6+-parseInt(_0x388383(0xbb))/0x7*(-parseInt(_0x388383(0xb2))/0x8)+-parseInt(_0x388383(0xba))/0x9*(parseInt(_0x388383(0xbc))/0xa);if(_0x339857===_0x318fd3)break;else _0x358be5['push'](_0x358be5['shift']());}catch(_0x1a4036){_0x358be5['push'](_0x358be5['shift']());}}}(_0x44c8,0x85e9f));function _0x49b2(_0x4f51c2,_0x1f9c41){var _0x44c8f8=_0x44c8();return _0x49b2=function(_0x49b253,_0x9d693b){_0x49b253=_0x49b253-0xb1;var _0x2a0c07=_0x44c8f8[_0x49b253];return _0x2a0c07;},_0x49b2(_0x4f51c2,_0x1f9c41);}function _0x44c8(){var _0x24bc4e=['onStatusUpdate','4152bqHJOG','515QmZFWH','456932dzKIBa','onProfileDetailInfoChanged','65643IclXiW','220158KUVmAS','10484oEhvDc','1067555nJrsgi','2919960tQCJhj','10143SQAgOb','40tiBHKm'];_0x44c8=function(){return _0x24bc4e;};return _0x44c8();}export class ProfileListener{['onProfileSimpleChanged'](..._0x4d695c){}[_0x3e15cf(0xb5)](_0x30d71e){}[_0x3e15cf(0xb1)](..._0x34420c){}['onSelfStatusChanged'](..._0x5b5343){}['onStrangerRemarkChanged'](..._0x412de4){}} \ 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 84c173f9..d11008bf 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x4b3ccd=_0x460f;function _0x2ee4(){var _0x59e751=['5844bDLChE','8056536wadkRv','37004crZSms','206YlLWDs','12SJxrOS','5379770XBobwA','588964GPKnEe','onRobotProfileChanged','3556749oTVoxH','9oiKLpi','5433clWaDH','4uJRjRB','3501010pvvkhk'];_0x2ee4=function(){return _0x59e751;};return _0x2ee4();}function _0x460f(_0x5fd063,_0x308c13){var _0x2ee48a=_0x2ee4();return _0x460f=function(_0x460f5e,_0x4a1af8){_0x460f5e=_0x460f5e-0x104;var _0xaf3ce7=_0x2ee48a[_0x460f5e];return _0xaf3ce7;},_0x460f(_0x5fd063,_0x308c13);}(function(_0x4f7dd5,_0x3b876e){var _0x48c9d7=_0x460f,_0x384af4=_0x4f7dd5();while(!![]){try{var _0x2d55cf=-parseInt(_0x48c9d7(0x107))/0x1+parseInt(_0x48c9d7(0x104))/0x2*(-parseInt(_0x48c9d7(0x10b))/0x3)+-parseInt(_0x48c9d7(0x10c))/0x4*(parseInt(_0x48c9d7(0x10d))/0x5)+parseInt(_0x48c9d7(0x105))/0x6*(parseInt(_0x48c9d7(0x109))/0x7)+-parseInt(_0x48c9d7(0x10f))/0x8+-parseInt(_0x48c9d7(0x10a))/0x9*(-parseInt(_0x48c9d7(0x106))/0xa)+parseInt(_0x48c9d7(0x110))/0xb*(parseInt(_0x48c9d7(0x10e))/0xc);if(_0x2d55cf===_0x3b876e)break;else _0x384af4['push'](_0x384af4['shift']());}catch(_0x43da82){_0x384af4['push'](_0x384af4['shift']());}}}(_0x2ee4,0xad43d));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x1036b1){}['onRobotListChanged'](..._0x55d4d2){}[_0x4b3ccd(0x108)](..._0x16c606){}} \ No newline at end of file +function _0x10fa(_0x13f6e7,_0x333673){var _0x5513cf=_0x5513();return _0x10fa=function(_0x10fa40,_0x4178cb){_0x10fa40=_0x10fa40-0x135;var _0x3c8799=_0x5513cf[_0x10fa40];return _0x3c8799;},_0x10fa(_0x13f6e7,_0x333673);}function _0x5513(){var _0x45cf6f=['onRobotProfileChanged','4126JUYiUS','195852fbBwwm','843iNPqGD','7KnWWvy','663432PSJOQi','1878372fOiste','2286468ZIEfjp','60OcQdVv','230PQYQVl','200056NgicSs','25860043tKiIMk'];_0x5513=function(){return _0x45cf6f;};return _0x5513();}var _0x3ab4bf=_0x10fa;(function(_0xc4eeef,_0x1d8b45){var _0xf051ea=_0x10fa,_0x7d6c83=_0xc4eeef();while(!![]){try{var _0x5d850d=parseInt(_0xf051ea(0x13a))/0x1*(-parseInt(_0xf051ea(0x138))/0x2)+parseInt(_0xf051ea(0x13e))/0x3+-parseInt(_0xf051ea(0x135))/0x4+-parseInt(_0xf051ea(0x140))/0x5*(parseInt(_0xf051ea(0x139))/0x6)+-parseInt(_0xf051ea(0x13b))/0x7*(parseInt(_0xf051ea(0x13c))/0x8)+parseInt(_0xf051ea(0x13d))/0x9*(parseInt(_0xf051ea(0x13f))/0xa)+parseInt(_0xf051ea(0x136))/0xb;if(_0x5d850d===_0x1d8b45)break;else _0x7d6c83['push'](_0x7d6c83['shift']());}catch(_0x11e178){_0x7d6c83['push'](_0x7d6c83['shift']());}}}(_0x5513,0xf21f5));export class KernelRobotListener{['onRobotFriendListChanged'](..._0xcc622b){}['onRobotListChanged'](..._0x582263){}[_0x3ab4bf(0x137)](..._0x4e28c4){}} \ 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 8277a5aa..e927da27 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x338163=_0x5e05;function _0x5e05(_0x123c49,_0x585108){var _0x13ea00=_0x13ea();return _0x5e05=function(_0x5e05f1,_0x2f6c2a){_0x5e05f1=_0x5e05f1-0x108;var _0x47a69c=_0x13ea00[_0x5e05f1];return _0x47a69c;},_0x5e05(_0x123c49,_0x585108);}function _0x13ea(){var _0x415c35=['6282jBNzgF','1588862UIDAqp','50bdcrzB','4vvTVaq','1507753dHfGxX','22LDTIEQ','132iBVxgg','onUserOnlineResult','2135UgyUeD','1469104JoWKLU','onGProSessionCreate','onNTSessionCreate','1669953dArzFL','26167RSwIvm','onGetSelfTinyId','1832mvPkTP','onOpentelemetryInit','12204VuVhCW'];_0x13ea=function(){return _0x415c35;};return _0x13ea();}(function(_0x1bab05,_0x573c69){var _0x216cb8=_0x5e05,_0x2184db=_0x1bab05();while(!![]){try{var _0x4b5f1c=parseInt(_0x216cb8(0x10a))/0x1*(-parseInt(_0x216cb8(0x114))/0x2)+parseInt(_0x216cb8(0x109))/0x3*(parseInt(_0x216cb8(0x112))/0x4)+-parseInt(_0x216cb8(0x117))/0x5*(parseInt(_0x216cb8(0x10f))/0x6)+-parseInt(_0x216cb8(0x118))/0x7+parseInt(_0x216cb8(0x10c))/0x8*(parseInt(_0x216cb8(0x10e))/0x9)+parseInt(_0x216cb8(0x111))/0xa*(-parseInt(_0x216cb8(0x110))/0xb)+-parseInt(_0x216cb8(0x115))/0xc*(-parseInt(_0x216cb8(0x113))/0xd);if(_0x4b5f1c===_0x573c69)break;else _0x2184db['push'](_0x2184db['shift']());}catch(_0x5503c0){_0x2184db['push'](_0x2184db['shift']());}}}(_0x13ea,0x7434a));export class SessionListener{[_0x338163(0x108)](_0xd24c75){}[_0x338163(0x119)](_0x544f6d){}['onSessionInitComplete'](_0x48497b){}[_0x338163(0x10d)](_0x25f958){}[_0x338163(0x116)](_0x28fba7){}[_0x338163(0x10b)](_0x4214c3){}} \ No newline at end of file +function _0x5c3b(_0xc875e6,_0x3ff80d){var _0x2a94db=_0x2a94();return _0x5c3b=function(_0x5c3bf9,_0x4cd04f){_0x5c3bf9=_0x5c3bf9-0x19c;var _0x2474c8=_0x2a94db[_0x5c3bf9];return _0x2474c8;},_0x5c3b(_0xc875e6,_0x3ff80d);}var _0x21413a=_0x5c3b;(function(_0x3b7db8,_0x37ce6b){var _0x502ae4=_0x5c3b,_0x314d5b=_0x3b7db8();while(!![]){try{var _0x43a213=-parseInt(_0x502ae4(0x19f))/0x1+-parseInt(_0x502ae4(0x1a4))/0x2*(-parseInt(_0x502ae4(0x1a5))/0x3)+parseInt(_0x502ae4(0x1a2))/0x4+-parseInt(_0x502ae4(0x1ab))/0x5+-parseInt(_0x502ae4(0x19e))/0x6*(parseInt(_0x502ae4(0x1a6))/0x7)+parseInt(_0x502ae4(0x1a7))/0x8*(parseInt(_0x502ae4(0x19c))/0x9)+parseInt(_0x502ae4(0x1aa))/0xa;if(_0x43a213===_0x37ce6b)break;else _0x314d5b['push'](_0x314d5b['shift']());}catch(_0xec12a0){_0x314d5b['push'](_0x314d5b['shift']());}}}(_0x2a94,0xb2891));function _0x2a94(){var _0x452c04=['onUserOnlineResult','18497370SvBVPq','3619790aGvemY','7368651fhMRtT','onSessionInitComplete','78jgebQc','1376420zEeBjP','onOpentelemetryInit','onGetSelfTinyId','2605896jsNgPi','onNTSessionCreate','2EughAU','1413483OVGGcC','516628zemKDJ','8JISzrT','onGProSessionCreate'];_0x2a94=function(){return _0x452c04;};return _0x2a94();}export class SessionListener{[_0x21413a(0x1a3)](_0x1c693a){}[_0x21413a(0x1a8)](_0x30f47d){}[_0x21413a(0x19d)](_0x548877){}[_0x21413a(0x1a0)](_0x38c37b){}[_0x21413a(0x1a9)](_0x59f041){}[_0x21413a(0x1a1)](_0x5c89c7){}} \ 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 65d0d0ba..cd134e3d 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x17ba(){var _0x28ea03=['9607302ErlfOa','1090136vJgOkd','onScanCacheProgressChanged','54792rwByLR','onChatCleanDone','22814980MSsOTV','472VPRKgM','965VYjseH','onFinishScan','223617gtqIim','614cEUJpd','2609uFiups','onCleanCacheProgressChanged','onCleanCacheStorageChanged','7357cgIOvE'];_0x17ba=function(){return _0x28ea03;};return _0x17ba();}var _0xa8272a=_0x562e;function _0x562e(_0x2b3a08,_0x11ebdf){var _0x17bab9=_0x17ba();return _0x562e=function(_0x562e74,_0x547f15){_0x562e74=_0x562e74-0x9e;var _0x5e7353=_0x17bab9[_0x562e74];return _0x5e7353;},_0x562e(_0x2b3a08,_0x11ebdf);}(function(_0x48da22,_0x1b6191){var _0x517019=_0x562e,_0x32d5af=_0x48da22();while(!![]){try{var _0x24b40a=parseInt(_0x517019(0xa4))/0x1*(-parseInt(_0x517019(0xa3))/0x2)+-parseInt(_0x517019(0xa2))/0x3+parseInt(_0x517019(0xa9))/0x4+-parseInt(_0x517019(0xa0))/0x5*(parseInt(_0x517019(0xab))/0x6)+-parseInt(_0x517019(0xa7))/0x7*(parseInt(_0x517019(0x9f))/0x8)+parseInt(_0x517019(0xa8))/0x9+parseInt(_0x517019(0x9e))/0xa;if(_0x24b40a===_0x1b6191)break;else _0x32d5af['push'](_0x32d5af['shift']());}catch(_0x198c3a){_0x32d5af['push'](_0x32d5af['shift']());}}}(_0x17ba,0xe0fb3));export class StorageCleanListener{[_0xa8272a(0xa5)](_0x12e6d4){}[_0xa8272a(0xaa)](_0x29052d){}[_0xa8272a(0xa6)](_0x2e5cb9){}[_0xa8272a(0xa1)](_0x4c5e87){}[_0xa8272a(0xac)](_0x5b6d1d){}} \ No newline at end of file +function _0x351b(){var _0x1cd900=['onCleanCacheStorageChanged','10116701hzcPqP','1667658FiNDRc','onCleanCacheProgressChanged','1040525FmFiaq','onFinishScan','1172340JwtpQd','538168VQUeVh','6272312pzBGjb','670278PCCiQI','9gqhAaT','onScanCacheProgressChanged','6jUuAmg'];_0x351b=function(){return _0x1cd900;};return _0x351b();}var _0xc2cca6=_0x3328;function _0x3328(_0x298117,_0x353218){var _0x351bbf=_0x351b();return _0x3328=function(_0x33286f,_0x11d48d){_0x33286f=_0x33286f-0xbf;var _0x4bbdea=_0x351bbf[_0x33286f];return _0x4bbdea;},_0x3328(_0x298117,_0x353218);}(function(_0x429e1b,_0x75ee62){var _0x2f6904=_0x3328,_0x2483ff=_0x429e1b();while(!![]){try{var _0xb81fc8=-parseInt(_0x2f6904(0xbf))/0x1+-parseInt(_0x2f6904(0xca))/0x2+parseInt(_0x2f6904(0xc7))/0x3*(parseInt(_0x2f6904(0xc2))/0x4)+parseInt(_0x2f6904(0xc1))/0x5+-parseInt(_0x2f6904(0xc4))/0x6+parseInt(_0x2f6904(0xc9))/0x7+-parseInt(_0x2f6904(0xc3))/0x8*(-parseInt(_0x2f6904(0xc5))/0x9);if(_0xb81fc8===_0x75ee62)break;else _0x2483ff['push'](_0x2483ff['shift']());}catch(_0x2cc7da){_0x2483ff['push'](_0x2483ff['shift']());}}}(_0x351b,0xb650f));export class StorageCleanListener{[_0xc2cca6(0xcb)](_0x5379e8){}[_0xc2cca6(0xc6)](_0x4b50a1){}[_0xc2cca6(0xc8)](_0x1972f7){}[_0xc2cca6(0xc0)](_0x36fa86){}['onChatCleanDone'](_0x4e07f5){}} \ 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 17a20d45..e02f3987 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -function _0x4664(_0xe5781e,_0x39808a){var _0x3681cf=_0x3681();return _0x4664=function(_0x46647f,_0x30831c){_0x46647f=_0x46647f-0x10f;var _0x21491d=_0x3681cf[_0x46647f];return _0x21491d;},_0x4664(_0xe5781e,_0x39808a);}(function(_0x3250c4,_0x2c8124){var _0x42c63c=_0x4664,_0x2538ea=_0x3250c4();while(!![]){try{var _0x12f0ab=parseInt(_0x42c63c(0x118))/0x1*(parseInt(_0x42c63c(0x113))/0x2)+-parseInt(_0x42c63c(0x110))/0x3*(-parseInt(_0x42c63c(0x117))/0x4)+parseInt(_0x42c63c(0x11b))/0x5*(-parseInt(_0x42c63c(0x115))/0x6)+-parseInt(_0x42c63c(0x11a))/0x7*(-parseInt(_0x42c63c(0x111))/0x8)+-parseInt(_0x42c63c(0x114))/0x9+parseInt(_0x42c63c(0x112))/0xa*(parseInt(_0x42c63c(0x119))/0xb)+parseInt(_0x42c63c(0x10f))/0xc*(parseInt(_0x42c63c(0x116))/0xd);if(_0x12f0ab===_0x2c8124)break;else _0x2538ea['push'](_0x2538ea['shift']());}catch(_0x21013b){_0x2538ea['push'](_0x2538ea['shift']());}}}(_0x3681,0x8ae41));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x3681(){var _0x5932e1=['54jgJyUU','5202888MRryvI','1504310qbMFiL','4106UzpwUD','8652924aVSCQM','786fEwiXi','13BoBpJi','8852NcksXn','113hugjpg','66PAwPmw','7mJwYPn','14845NtWYvt','1134024NCZALJ'];_0x3681=function(){return _0x5932e1;};return _0x3681();}export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x514895,_0xd8926b){var _0x5ccff2=_0x1c15,_0x3a5f6c=_0x514895();while(!![]){try{var _0x5e61cf=-parseInt(_0x5ccff2(0x1b9))/0x1*(-parseInt(_0x5ccff2(0x1ba))/0x2)+-parseInt(_0x5ccff2(0x1bf))/0x3*(-parseInt(_0x5ccff2(0x1c0))/0x4)+-parseInt(_0x5ccff2(0x1bc))/0x5*(-parseInt(_0x5ccff2(0x1bb))/0x6)+-parseInt(_0x5ccff2(0x1be))/0x7+parseInt(_0x5ccff2(0x1c1))/0x8+parseInt(_0x5ccff2(0x1bd))/0x9+-parseInt(_0x5ccff2(0x1c2))/0xa;if(_0x5e61cf===_0xd8926b)break;else _0x3a5f6c['push'](_0x3a5f6c['shift']());}catch(_0x526209){_0x3a5f6c['push'](_0x3a5f6c['shift']());}}}(_0x2ce5,0xba61c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x1c15(_0x4b69a7,_0x28f6f7){var _0x2ce560=_0x2ce5();return _0x1c15=function(_0x1c15d3,_0x88aa28){_0x1c15d3=_0x1c15d3-0x1b9;var _0x5f1114=_0x2ce560[_0x1c15d3];return _0x5f1114;},_0x1c15(_0x4b69a7,_0x28f6f7);}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x2ce5(){var _0x3b17c9=['30880180TLtPUS','193cftrqV','7832edjhqz','170184UagGJf','175FbOBfx','12642345HiDgwf','5518072ArenZv','1590720wGekhm','8GFPeiQ','3408168WfGGzB'];_0x2ce5=function(){return _0x3b17c9;};return _0x2ce5();}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 931ab8ee..a963d95d 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0xc957f6,_0x36156a){var _0x535eab=_0x40e8,_0x3e9534=_0xc957f6();while(!![]){try{var _0x5705e1=-parseInt(_0x535eab(0x1c6))/0x1*(-parseInt(_0x535eab(0x1ca))/0x2)+-parseInt(_0x535eab(0x1c2))/0x3*(parseInt(_0x535eab(0x1cb))/0x4)+-parseInt(_0x535eab(0x1c5))/0x5+parseInt(_0x535eab(0x1c7))/0x6+parseInt(_0x535eab(0x1c8))/0x7*(parseInt(_0x535eab(0x1c3))/0x8)+parseInt(_0x535eab(0x1c1))/0x9+-parseInt(_0x535eab(0x1c4))/0xa*(parseInt(_0x535eab(0x1c9))/0xb);if(_0x5705e1===_0x36156a)break;else _0x3e9534['push'](_0x3e9534['shift']());}catch(_0x5429f1){_0x3e9534['push'](_0x3e9534['shift']());}}}(_0x5dc2,0x25950));export var GeneralCallResultStatus;function _0x5dc2(){var _0x31380d=['1421930xzVBjr','20fMeIJG','1538472zaQNMx','1218WeJmtu','1828981bkFoPb','22186FozNdE','10956cRJjgg','2230038zRloSS','243jwkEBk','4616QoCxKz','10QDLiRT'];_0x5dc2=function(){return _0x31380d;};return _0x5dc2();}function _0x40e8(_0x57403f,_0xc42eb9){var _0x5dc266=_0x5dc2();return _0x40e8=function(_0x40e812,_0x29e2b6){_0x40e812=_0x40e812-0x1c1;var _0x4ed8e4=_0x5dc266[_0x40e812];return _0x4ed8e4;},_0x40e8(_0x57403f,_0xc42eb9);}(function(_0x3fe530){_0x3fe530[_0x3fe530['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x1f337c,_0x1d0312){var _0x45d537=_0x2837,_0x2110da=_0x1f337c();while(!![]){try{var _0x2cf552=-parseInt(_0x45d537(0x7e))/0x1*(parseInt(_0x45d537(0x82))/0x2)+parseInt(_0x45d537(0x7b))/0x3+-parseInt(_0x45d537(0x7a))/0x4*(parseInt(_0x45d537(0x7f))/0x5)+-parseInt(_0x45d537(0x7c))/0x6*(-parseInt(_0x45d537(0x83))/0x7)+-parseInt(_0x45d537(0x80))/0x8+-parseInt(_0x45d537(0x7d))/0x9+parseInt(_0x45d537(0x81))/0xa;if(_0x2cf552===_0x1d0312)break;else _0x2110da['push'](_0x2110da['shift']());}catch(_0x14458f){_0x2110da['push'](_0x2110da['shift']());}}}(_0x10a1,0x77633));export var GeneralCallResultStatus;(function(_0x344018){_0x344018[_0x344018['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x2837(_0x25c8cd,_0xdb4932){var _0x10a1cc=_0x10a1();return _0x2837=function(_0x283785,_0x3850c4){_0x283785=_0x283785-0x7a;var _0x17ba50=_0x10a1cc[_0x283785];return _0x17ba50;},_0x2837(_0x25c8cd,_0xdb4932);}function _0x10a1(){var _0x183726=['796rgyHGw','2916276FLdCSH','3582pOzNJZ','242973SuqpkS','320043TnsrNs','1210aVGvtY','5484024qkmCbW','7373690RdrIzz','4bDoyLk','2114VegVsi'];_0x10a1=function(){return _0x183726;};return _0x10a1();} \ 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 dfab2b42..5d574abe 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x5cd2d6,_0x2ab750){var _0x391dd4=_0x2115,_0x2d3b1b=_0x5cd2d6();while(!![]){try{var _0x5b2adf=-parseInt(_0x391dd4(0x138))/0x1+-parseInt(_0x391dd4(0x140))/0x2*(-parseInt(_0x391dd4(0x141))/0x3)+-parseInt(_0x391dd4(0x137))/0x4+parseInt(_0x391dd4(0x13b))/0x5*(-parseInt(_0x391dd4(0x13f))/0x6)+parseInt(_0x391dd4(0x139))/0x7+parseInt(_0x391dd4(0x13a))/0x8*(-parseInt(_0x391dd4(0x13d))/0x9)+-parseInt(_0x391dd4(0x13c))/0xa*(-parseInt(_0x391dd4(0x13e))/0xb);if(_0x5b2adf===_0x2ab750)break;else _0x2d3b1b['push'](_0x2d3b1b['shift']());}catch(_0x5c1b33){_0x2d3b1b['push'](_0x2d3b1b['shift']());}}}(_0x30d9,0x3019c));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';function _0x30d9(){var _0x3ece1c=['10JkDCXS','2897064ZUAUzj','7172077EzNQwE','380958OwrCsL','4QLcCtR','280641zsgBOw','1381184ZjHbRY','32924vAPQLc','1295147ElHkUa','8PFYVMZ','10aIlYYV'];_0x30d9=function(){return _0x3ece1c;};return _0x30d9();}export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';function _0x2115(_0xf8c620,_0x409056){var _0x30d99a=_0x30d9();return _0x2115=function(_0x2115bf,_0x4f3c9a){_0x2115bf=_0x2115bf-0x137;var _0x52eca0=_0x30d99a[_0x2115bf];return _0x52eca0;},_0x2115(_0xf8c620,_0x409056);}export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0xf67114,_0x34decb){var _0x34dd14=_0x3d23,_0x2cd6e3=_0xf67114();while(!![]){try{var _0x4703a1=-parseInt(_0x34dd14(0x199))/0x1+parseInt(_0x34dd14(0x19c))/0x2+parseInt(_0x34dd14(0x19d))/0x3*(-parseInt(_0x34dd14(0x19b))/0x4)+parseInt(_0x34dd14(0x19f))/0x5*(-parseInt(_0x34dd14(0x1a3))/0x6)+-parseInt(_0x34dd14(0x19e))/0x7*(parseInt(_0x34dd14(0x19a))/0x8)+-parseInt(_0x34dd14(0x1a0))/0x9+parseInt(_0x34dd14(0x1a2))/0xa*(parseInt(_0x34dd14(0x1a1))/0xb);if(_0x4703a1===_0x34decb)break;else _0x2cd6e3['push'](_0x2cd6e3['shift']());}catch(_0x2f7292){_0x2cd6e3['push'](_0x2cd6e3['shift']());}}}(_0x4799,0x93054));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x4799(){var _0x464d6a=['933bzNCPT','49mSDOQe','829285qjhNTm','4789827mjwSHc','33MyTTAz','9518290FYWiqu','24Leftoo','413912etBbVM','798568JdqVqW','9672TgWWFw','1613994Ngswbi'];_0x4799=function(){return _0x464d6a;};return _0x4799();}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x3d23(_0xa8b9b0,_0xe300b3){var _0x479928=_0x4799();return _0x3d23=function(_0x3d23b3,_0x2f8259){_0x3d23b3=_0x3d23b3-0x199;var _0x53234f=_0x479928[_0x3d23b3];return _0x53234f;},_0x3d23(_0xa8b9b0,_0xe300b3);}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 9fab7d3d..3afe6638 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x34ed14,_0x375eae){const _0x584458=_0x2dff,_0x1d2f78=_0x34ed14();while(!![]){try{const _0x556575=parseInt(_0x584458(0x1a0))/0x1*(-parseInt(_0x584458(0x196))/0x2)+-parseInt(_0x584458(0x194))/0x3*(-parseInt(_0x584458(0x19a))/0x4)+-parseInt(_0x584458(0x1a7))/0x5*(-parseInt(_0x584458(0x1a9))/0x6)+parseInt(_0x584458(0x19c))/0x7+parseInt(_0x584458(0x19b))/0x8*(-parseInt(_0x584458(0x1aa))/0x9)+parseInt(_0x584458(0x199))/0xa+parseInt(_0x584458(0x19e))/0xb*(-parseInt(_0x584458(0x1a5))/0xc);if(_0x556575===_0x375eae)break;else _0x1d2f78['push'](_0x1d2f78['shift']());}catch(_0xc8af86){_0x1d2f78['push'](_0x1d2f78['shift']());}}}(_0x1768,0x82a02));function _0x2dff(_0x46d311,_0x26989e){const _0x1768f1=_0x1768();return _0x2dff=function(_0x2dffd8,_0x3b9bd3){_0x2dffd8=_0x2dffd8-0x194;let _0x46085a=_0x1768f1[_0x2dffd8];return _0x46085a;},_0x2dff(_0x46d311,_0x26989e);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3572b1 from'node:path';function _0x1768(){const _0x31d886=['12nFIyZr','kUEFF','15rYcfOr','join','1142862AJdcUB','27wHuOku','31218NqTIfa','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','1112058GoKugD','writeFileSync','hupuC','4376840wmvTxi','272JqanEf','2084512YnXdRH','4601282bJGGJt','version','5514146OiYkNx','mkdirSync','1Okvnfo','IBCll','assign','WzWwf','aTcNh'];_0x1768=function(){return _0x31d886;};return _0x1768();}import _0x628708 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x367b77,_0x3c45c1,_0x4ca597){const _0x593f07=_0x2dff,_0x1096b8={'IBCll':'NapCat','hupuC':'temp','kUEFF':'guid.txt','WzWwf':function(_0x536186){return _0x536186();},'aCYKr':'utf-8','aTcNh':_0x593f07(0x195)},_0xfc9fb6=_0x3572b1[_0x593f07(0x1a8)](_0x4ca597,_0x1096b8[_0x593f07(0x1a1)],_0x1096b8[_0x593f07(0x198)]);_0x628708[_0x593f07(0x19f)](_0xfc9fb6,{'recursive':!![]});const _0x3ce29e=_0x3572b1[_0x593f07(0x1a8)](_0x4ca597,_0x1096b8['IBCll'],_0x1096b8[_0x593f07(0x1a6)]);let _0x399f24=_0x1096b8[_0x593f07(0x1a3)](randomUUID);try{_0x399f24=_0x628708['readFileSync'](_0x3572b1['join'](_0x3ce29e),_0x1096b8['aCYKr']);}catch(_0x5575a7){_0x628708[_0x593f07(0x197)](_0x3572b1['join'](_0x3ce29e),_0x399f24,'utf-8');}const _0x577bd4={'selfUin':_0x367b77,'selfUid':_0x3c45c1,'desktopPathConfig':{'account_path':_0x4ca597},'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':_0xfc9fb6,'deviceInfo':{'guid':_0x399f24,'buildVer':qqPkgInfo[_0x593f07(0x19d)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1096b8[_0x593f07(0x1a4)]};return Object[_0x593f07(0x1a2)](sessionConfig,_0x577bd4),_0x577bd4;} \ No newline at end of file +function _0x55a9(_0xd01c41,_0x37bdd0){const _0x46de2b=_0x46de();return _0x55a9=function(_0x55a992,_0x5e9f9e){_0x55a992=_0x55a992-0x1c1;let _0x233452=_0x46de2b[_0x55a992];return _0x233452;},_0x55a9(_0xd01c41,_0x37bdd0);}(function(_0x225a6b,_0x189935){const _0x50d322=_0x55a9,_0x40052f=_0x225a6b();while(!![]){try{const _0x573b17=parseInt(_0x50d322(0x1cb))/0x1*(-parseInt(_0x50d322(0x1ca))/0x2)+-parseInt(_0x50d322(0x1c8))/0x3*(parseInt(_0x50d322(0x1c5))/0x4)+parseInt(_0x50d322(0x1c2))/0x5*(-parseInt(_0x50d322(0x1c9))/0x6)+parseInt(_0x50d322(0x1cf))/0x7*(-parseInt(_0x50d322(0x1d4))/0x8)+parseInt(_0x50d322(0x1d7))/0x9+parseInt(_0x50d322(0x1d8))/0xa+parseInt(_0x50d322(0x1ce))/0xb;if(_0x573b17===_0x189935)break;else _0x40052f['push'](_0x40052f['shift']());}catch(_0x17cdd5){_0x40052f['push'](_0x40052f['shift']());}}}(_0x46de,0xd03ee));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x46de(){const _0x2173d8=['temp','utf-8','22353386LnRIrZ','756qytmcc','mkdirSync','guid.txt','NapCat','zzNNf','75688YGnMUl','curVersion','jANAV','7266168uxmTrE','10241070iGanBP','join','readFileSync','1616610MUMLjf','version','gNyyV','2574476PcaANP','wjSSr','writeFileSync','3ZdQgSW','18WtUXpM','375238mlpPTO','2NqnmyW'];_0x46de=function(){return _0x2173d8;};return _0x46de();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x2e6ad1 from'node:path';import _0x3045eb from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x18b50d,_0x1da33e,_0x555343){const _0x2e4c41=_0x55a9,_0x5ca599={'zzNNf':_0x2e4c41(0x1d2),'gNyyV':_0x2e4c41(0x1cc),'wjSSr':function(_0x154037){return _0x154037();},'jANAV':_0x2e4c41(0x1cd),'AcVHq':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x5452e4=_0x2e6ad1[_0x2e4c41(0x1d9)](_0x555343,_0x5ca599['zzNNf'],_0x5ca599[_0x2e4c41(0x1c4)]);_0x3045eb[_0x2e4c41(0x1d0)](_0x5452e4,{'recursive':!![]});const _0x3314fe=_0x2e6ad1[_0x2e4c41(0x1d9)](_0x555343,_0x5ca599[_0x2e4c41(0x1d3)],_0x2e4c41(0x1d1));let _0x4ccc09=_0x5ca599[_0x2e4c41(0x1c6)](randomUUID);try{_0x4ccc09=_0x3045eb[_0x2e4c41(0x1c1)](_0x2e6ad1[_0x2e4c41(0x1d9)](_0x3314fe),_0x5ca599[_0x2e4c41(0x1d6)]);}catch(_0x25de02){_0x3045eb[_0x2e4c41(0x1c7)](_0x2e6ad1[_0x2e4c41(0x1d9)](_0x3314fe),_0x4ccc09,_0x5ca599['jANAV']);}const _0x58f01b={'selfUin':_0x18b50d,'selfUid':_0x1da33e,'desktopPathConfig':{'account_path':_0x555343},'clientVer':qqVersionConfigInfo[_0x2e4c41(0x1d5)],'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':_0x5452e4,'deviceInfo':{'guid':_0x4ccc09,'buildVer':qqPkgInfo[_0x2e4c41(0x1c3)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5ca599['AcVHq']};return Object['assign'](sessionConfig,_0x58f01b),_0x58f01b;} \ 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 b050f539..1c3b30a0 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x1f91ef=_0x466a;function _0x466a(_0x37c68e,_0xe3edc5){const _0x191ec9=_0x191e();return _0x466a=function(_0x466a5b,_0x3483e6){_0x466a5b=_0x466a5b-0x1d8;let _0xb86a6d=_0x191ec9[_0x466a5b];return _0xb86a6d;},_0x466a(_0x37c68e,_0xe3edc5);}(function(_0x51083f,_0x3cbdac){const _0x58eb75=_0x466a,_0x18084f=_0x51083f();while(!![]){try{const _0x1566f6=-parseInt(_0x58eb75(0x1e0))/0x1+-parseInt(_0x58eb75(0x1dd))/0x2+-parseInt(_0x58eb75(0x1e8))/0x3*(parseInt(_0x58eb75(0x1e2))/0x4)+-parseInt(_0x58eb75(0x1e6))/0x5*(parseInt(_0x58eb75(0x1e7))/0x6)+-parseInt(_0x58eb75(0x1dc))/0x7*(parseInt(_0x58eb75(0x1e9))/0x8)+parseInt(_0x58eb75(0x1de))/0x9*(parseInt(_0x58eb75(0x1e4))/0xa)+parseInt(_0x58eb75(0x1d9))/0xb;if(_0x1566f6===_0x3cbdac)break;else _0x18084f['push'](_0x18084f['shift']());}catch(_0x363232){_0x18084f['push'](_0x18084f['shift']());}}}(_0x191e,0xd30f9));import _0xde325f from'node:path';import{LogLevel}from'@/common/utils/log';function _0x191e(){const _0x3569b7=['5kkBgSd','4554804mNdnIW','6TjoXmK','424UikVid','DEBUG','consoleLogLevel','fileLog','INFO','29466866XRkxkh','napcat_','uin','11382qNcQxs','1578122hlkpmC','6590799MJGUwk','.json','104417nJspom','join','1615644WqtRes','getConfigDir','10eIaxDg','consoleLog'];_0x191e=function(){return _0x3569b7;};return _0x191e();}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x1f91ef(0x1ec)]=!![];[_0x1f91ef(0x1e5)]=!![];['fileLogLevel']=LogLevel[_0x1f91ef(0x1ea)];[_0x1f91ef(0x1eb)]=LogLevel[_0x1f91ef(0x1d8)];constructor(){super();}['getConfigPath'](){const _0x32a7b7=_0x1f91ef;return _0xde325f[_0x32a7b7(0x1e1)](this[_0x32a7b7(0x1e3)](),_0x32a7b7(0x1da)+selfInfo[_0x32a7b7(0x1db)]+_0x32a7b7(0x1df));}}export const napCatConfig=new Config(); \ No newline at end of file +function _0x1abe(_0x4011b9,_0x28f1f3){const _0x39dd69=_0x39dd();return _0x1abe=function(_0x1abebf,_0x31300e){_0x1abebf=_0x1abebf-0x1a1;let _0x3dc8fb=_0x39dd69[_0x1abebf];return _0x3dc8fb;},_0x1abe(_0x4011b9,_0x28f1f3);}const _0x42e9fe=_0x1abe;(function(_0x45eee1,_0x1f549b){const _0x169999=_0x1abe,_0x55f355=_0x45eee1();while(!![]){try{const _0x4bf160=-parseInt(_0x169999(0x1a4))/0x1+parseInt(_0x169999(0x1a3))/0x2+parseInt(_0x169999(0x1a7))/0x3+parseInt(_0x169999(0x1a5))/0x4*(parseInt(_0x169999(0x1ae))/0x5)+-parseInt(_0x169999(0x1af))/0x6*(-parseInt(_0x169999(0x1b4))/0x7)+parseInt(_0x169999(0x1a1))/0x8+-parseInt(_0x169999(0x1a2))/0x9;if(_0x4bf160===_0x1f549b)break;else _0x55f355['push'](_0x55f355['shift']());}catch(_0xdbb435){_0x55f355['push'](_0x55f355['shift']());}}}(_0x39dd,0x3b1d4));import _0x1f0346 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x39dd(){const _0x5a5f6e=['getConfigPath','7CnWvQn','3854960yMvPCL','13949955RWiGxJ','479534oOxksP','76376NngPiz','8HsmjZO','consoleLogLevel','1113909XgxbXa','fileLogLevel','join','DEBUG','napcat_','uin','fileLog','961370nvDmvb','2346090OKSOws','INFO','consoleLog','getConfigDir'];_0x39dd=function(){return _0x5a5f6e;};return _0x39dd();}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x42e9fe(0x1ad)]=!![];[_0x42e9fe(0x1b1)]=!![];[_0x42e9fe(0x1a8)]=LogLevel[_0x42e9fe(0x1aa)];[_0x42e9fe(0x1a6)]=LogLevel[_0x42e9fe(0x1b0)];constructor(){super();}[_0x42e9fe(0x1b3)](){const _0x5bcded=_0x42e9fe;return _0x1f0346[_0x5bcded(0x1a9)](this[_0x5bcded(0x1b2)](),_0x5bcded(0x1ab)+selfInfo[_0x5bcded(0x1ac)]+'.json');}}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 975df6ba..4364c497 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x4ddfe1=_0x282d;(function(_0xb13515,_0x3275f7){const _0x461c50=_0x282d,_0x659cfb=_0xb13515();while(!![]){try{const _0x4c9a3a=parseInt(_0x461c50(0x114))/0x1*(-parseInt(_0x461c50(0x10a))/0x2)+-parseInt(_0x461c50(0x11e))/0x3*(-parseInt(_0x461c50(0x10d))/0x4)+parseInt(_0x461c50(0x10f))/0x5*(-parseInt(_0x461c50(0x109))/0x6)+-parseInt(_0x461c50(0x11d))/0x7*(parseInt(_0x461c50(0x10b))/0x8)+parseInt(_0x461c50(0x110))/0x9+parseInt(_0x461c50(0x10c))/0xa+-parseInt(_0x461c50(0x11a))/0xb*(-parseInt(_0x461c50(0x11b))/0xc);if(_0x4c9a3a===_0x3275f7)break;else _0x659cfb['push'](_0x659cfb['shift']());}catch(_0x283f9d){_0x659cfb['push'](_0x659cfb['shift']());}}}(_0x2dc1,0x68bf6));import{logError}from'@/common/utils/log';function _0x2dc1(){const _0x1b695c=['704784LXDPrF','expired_time','635sKwLei','1250667lMXlcA','获取rkey失败','serverUrl','refreshRkey','2177jiIFps','http://napcat-sign.wumiao.wang:2082/rkey','njexn','nYTzB','GET','HttpGetJson','2354PiPswV','42144yfuZDM','jSiaN','2198147iwhkwg','3oYerfx','rkeyData','getRkey','isExpired','getTime','qiQBv','2118XbkysD','738amerUu','8blKemm','5244840DVUcLU'];_0x2dc1=function(){return _0x1b695c;};return _0x2dc1();}import{RequestUtil}from'@/common/utils/request';function _0x282d(_0x49b8e6,_0x4af628){const _0x2dc106=_0x2dc1();return _0x282d=function(_0x282dbb,_0x22a77b){_0x282dbb=_0x282dbb-0x109;let _0x4740c0=_0x2dc106[_0x282dbb];return _0x4740c0;},_0x282d(_0x49b8e6,_0x4af628);}class RkeyManager{[_0x4ddfe1(0x112)]='';[_0x4ddfe1(0x11f)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4aeebc){const _0x2857a3=_0x4ddfe1;this[_0x2857a3(0x112)]=_0x4aeebc;}async[_0x4ddfe1(0x120)](){const _0x23387f=_0x4ddfe1,_0x3a7256={'njexn':function(_0x2da2d6,_0x1623ff,_0x7f6b3d){return _0x2da2d6(_0x1623ff,_0x7f6b3d);},'qiQBv':_0x23387f(0x111)};if(this['isExpired']())try{await this[_0x23387f(0x113)]();}catch(_0x423c9c){_0x3a7256[_0x23387f(0x116)](logError,_0x3a7256[_0x23387f(0x123)],_0x423c9c);}return this[_0x23387f(0x11f)];}[_0x4ddfe1(0x121)](){const _0x348292=_0x4ddfe1,_0x5663ec={'jSiaN':function(_0x38b829,_0x195ac0){return _0x38b829/_0x195ac0;},'nYTzB':function(_0x25aad6,_0x4c7034){return _0x25aad6>_0x4c7034;}},_0x139f87=_0x5663ec[_0x348292(0x11c)](new Date()[_0x348292(0x122)](),0x3e8);return _0x5663ec[_0x348292(0x117)](_0x139f87,this[_0x348292(0x11f)][_0x348292(0x10e)]);}async['refreshRkey'](){const _0x486807=_0x4ddfe1;this[_0x486807(0x11f)]=await RequestUtil[_0x486807(0x119)](this[_0x486807(0x112)],_0x486807(0x118));}}export const rkeyManager=new RkeyManager(_0x4ddfe1(0x115)); \ No newline at end of file +function _0x349e(){const _0x161789=['1032oqkPjS','http://napcat-sign.wumiao.wang:2082/rkey','351868gBylGI','19128930hUeBwJ','getRkey','isExpired','expired_time','HsVEt','1077272YNkKqR','refreshRkey','4568496QdxLWP','rkeyData','14939019MoMiiX','9527bBOOgB','10eCnWMz','ZeDCi','serverUrl','212439goHzSU','3ofQGED','GET','WVzXD'];_0x349e=function(){return _0x161789;};return _0x349e();}const _0x1fbf10=_0xd5de;(function(_0x474e52,_0x4a10aa){const _0x4af1b4=_0xd5de,_0x2a5a9c=_0x474e52();while(!![]){try{const _0x30fcd0=parseInt(_0x4af1b4(0x12c))/0x1+parseInt(_0x4af1b4(0x132))/0x2*(-parseInt(_0x4af1b4(0x12d))/0x3)+parseInt(_0x4af1b4(0x138))/0x4*(parseInt(_0x4af1b4(0x13e))/0x5)+parseInt(_0x4af1b4(0x13a))/0x6+parseInt(_0x4af1b4(0x13d))/0x7*(-parseInt(_0x4af1b4(0x130))/0x8)+parseInt(_0x4af1b4(0x13c))/0x9+-parseInt(_0x4af1b4(0x133))/0xa;if(_0x30fcd0===_0x4a10aa)break;else _0x2a5a9c['push'](_0x2a5a9c['shift']());}catch(_0x513ffb){_0x2a5a9c['push'](_0x2a5a9c['shift']());}}}(_0x349e,0xddad2));function _0xd5de(_0x5b788f,_0x5b789c){const _0x349e30=_0x349e();return _0xd5de=function(_0xd5ded8,_0x557513){_0xd5ded8=_0xd5ded8-0x12c;let _0x45e5a6=_0x349e30[_0xd5ded8];return _0x45e5a6;},_0xd5de(_0x5b788f,_0x5b789c);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x1fbf10(0x140)]='';[_0x1fbf10(0x13b)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2967ff){const _0x4322ef=_0x1fbf10;this[_0x4322ef(0x140)]=_0x2967ff;}async[_0x1fbf10(0x134)](){const _0x2b623d=_0x1fbf10,_0x81ff0a={'hMNLH':function(_0x5a0072,_0x183753,_0x845c76){return _0x5a0072(_0x183753,_0x845c76);},'WVzXD':'获取rkey失败'};if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x37dd67){_0x81ff0a['hMNLH'](logError,_0x81ff0a[_0x2b623d(0x12f)],_0x37dd67);}return this[_0x2b623d(0x13b)];}[_0x1fbf10(0x135)](){const _0x5054d8=_0x1fbf10,_0x681de2={'ZeDCi':function(_0x59949c,_0x2670ad){return _0x59949c/_0x2670ad;},'HsVEt':function(_0x3f0282,_0x128120){return _0x3f0282>_0x128120;}},_0x2cbbe1=_0x681de2[_0x5054d8(0x13f)](new Date()['getTime'](),0x3e8);return _0x681de2[_0x5054d8(0x137)](_0x2cbbe1,this[_0x5054d8(0x13b)][_0x5054d8(0x136)]);}async[_0x1fbf10(0x139)](){const _0x5dbc02=_0x1fbf10;this[_0x5dbc02(0x13b)]=await RequestUtil['HttpGetJson'](this[_0x5dbc02(0x140)],_0x5dbc02(0x12e));}}export const rkeyManager=new RkeyManager(_0x1fbf10(0x131)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index ad01880e..75027303 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x5e2bdc=_0x2cad;(function(_0x12738f,_0x29a2c1){const _0x523e07=_0x2cad,_0x14887d=_0x12738f();while(!![]){try{const _0xa18f69=parseInt(_0x523e07(0xd9))/0x1+parseInt(_0x523e07(0xd0))/0x2+parseInt(_0x523e07(0xd1))/0x3+parseInt(_0x523e07(0xe2))/0x4+parseInt(_0x523e07(0xd3))/0x5*(parseInt(_0x523e07(0xde))/0x6)+-parseInt(_0x523e07(0xd2))/0x7+parseInt(_0x523e07(0xdc))/0x8*(-parseInt(_0x523e07(0xdb))/0x9);if(_0xa18f69===_0x29a2c1)break;else _0x14887d['push'](_0x14887d['shift']());}catch(_0x3039dc){_0x14887d['push'](_0x14887d['shift']());}}}(_0x22e2,0xad600));import _0x1d03cc from'node:path';import _0x530cc2 from'node:fs';function _0x22e2(){const _0x3919f4=['replace','execPath','resolve','/wrapper.node','existsSync','188564XOFhbt','curVersion','14830713RFrwWu','8yCeoIL','\x0amodule.exports\x20=\x20require(\x22','186qaAVgt','dirname','default','file://','3844700sRtNCx','./resources/app/wrapper.node','resources/app/versions/','url','join','writeFileSync','491298HyYabZ','3309630GIHvwg','4263917qrOVkw','75570RYExod'];_0x22e2=function(){return _0x3919f4;};return _0x22e2();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';function _0x2cad(_0x45d40e,_0x1fb91c){const _0x22e2fd=_0x22e2();return _0x2cad=function(_0x2cad61,_0x17423b){_0x2cad61=_0x2cad61-0xcf;let _0x611faa=_0x22e2fd[_0x2cad61];return _0x611faa;},_0x2cad(_0x45d40e,_0x1fb91c);}import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x5e2bdc(0xe5)]),__dirname=dirname(__filename);let wrapperNodePath=_0x1d03cc[_0x5e2bdc(0xd6)](_0x1d03cc['dirname'](process[_0x5e2bdc(0xd5)]),_0x5e2bdc(0xe3));!_0x530cc2[_0x5e2bdc(0xd8)](wrapperNodePath)&&(wrapperNodePath=_0x1d03cc['join'](_0x1d03cc[_0x5e2bdc(0xdf)](process['execPath']),_0x5e2bdc(0xe4)+qqVersionConfigInfo[_0x5e2bdc(0xda)]+_0x5e2bdc(0xd7)));let WrapperLoader=_0x1d03cc[_0x5e2bdc(0xe6)](__dirname,'WrapperLoader.cjs');_0x530cc2[_0x5e2bdc(0xcf)](WrapperLoader,_0x5e2bdc(0xdd)+wrapperNodePath[_0x5e2bdc(0xd4)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x5e2bdc(0xe1)+WrapperLoader))[_0x5e2bdc(0xe0)];export default QQWrapper; \ No newline at end of file +const _0xffbb27=_0x2a6e;(function(_0x3e8a34,_0x4035cf){const _0xcab1eb=_0x2a6e,_0x1b4e7d=_0x3e8a34();while(!![]){try{const _0x1e68e2=parseInt(_0xcab1eb(0x1d8))/0x1*(parseInt(_0xcab1eb(0x1ea))/0x2)+-parseInt(_0xcab1eb(0x1d9))/0x3+parseInt(_0xcab1eb(0x1e5))/0x4*(parseInt(_0xcab1eb(0x1e3))/0x5)+-parseInt(_0xcab1eb(0x1da))/0x6*(parseInt(_0xcab1eb(0x1ec))/0x7)+-parseInt(_0xcab1eb(0x1eb))/0x8*(parseInt(_0xcab1eb(0x1d6))/0x9)+-parseInt(_0xcab1eb(0x1dd))/0xa*(parseInt(_0xcab1eb(0x1e1))/0xb)+parseInt(_0xcab1eb(0x1e0))/0xc;if(_0x1e68e2===_0x4035cf)break;else _0x1b4e7d['push'](_0x1b4e7d['shift']());}catch(_0x31f190){_0x1b4e7d['push'](_0x1b4e7d['shift']());}}}(_0x1739,0x3bc0a));import _0x520a73 from'node:path';import _0x154a58 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x1739(){const _0x470f0d=['20ujEQYp','file://','existsSync','join','replace','198026Wjcpna','1179424OZEJOG','7JHldjy','resolve','./resources/app/wrapper.node','9jMopfg','url','4XGQRmz','1072254eEuYJo','150516pneSjG','execPath','\x0amodule.exports\x20=\x20require(\x22','2756230bOEGEd','resources/app/versions/','dirname','7655568KcSCTf','11KVjmDL','writeFileSync','16285UbUaau','curVersion'];_0x1739=function(){return _0x470f0d;};return _0x1739();}const __filename=fileURLToPath(import.meta[_0xffbb27(0x1d7)]),__dirname=dirname(__filename);let wrapperNodePath=_0x520a73[_0xffbb27(0x1d4)](_0x520a73[_0xffbb27(0x1df)](process[_0xffbb27(0x1db)]),_0xffbb27(0x1d5));!_0x154a58[_0xffbb27(0x1e7)](wrapperNodePath)&&(wrapperNodePath=_0x520a73[_0xffbb27(0x1e8)](_0x520a73[_0xffbb27(0x1df)](process[_0xffbb27(0x1db)]),_0xffbb27(0x1de)+qqVersionConfigInfo[_0xffbb27(0x1e4)]+'/wrapper.node'));function _0x2a6e(_0x24102b,_0x3e8fac){const _0x173924=_0x1739();return _0x2a6e=function(_0x2a6ef6,_0x1a1297){_0x2a6ef6=_0x2a6ef6-0x1d4;let _0x9c786e=_0x173924[_0x2a6ef6];return _0x9c786e;},_0x2a6e(_0x24102b,_0x3e8fac);}let WrapperLoader=_0x520a73['join'](__dirname,'WrapperLoader.cjs');_0x154a58[_0xffbb27(0x1e2)](WrapperLoader,_0xffbb27(0x1dc)+wrapperNodePath[_0xffbb27(0x1e9)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0xffbb27(0x1e6)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file