From 52eb6ed5ab90502f4ed77c4e0326a3d9e329ef48 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:02:43 +0800 Subject: [PATCH] refactor: group call --- src/common/utils/EventTask.ts | 2 -- src/core | 2 +- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.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 +- 42 files changed, 41 insertions(+), 43 deletions(-) diff --git a/src/common/utils/EventTask.ts b/src/common/utils/EventTask.ts index e0e02aa4..57cf9daf 100644 --- a/src/common/utils/EventTask.ts +++ b/src/common/utils/EventTask.ts @@ -1,6 +1,5 @@ import { NodeIKernelMsgListener } from "@/core"; import { NodeIQQNTWrapperSession } from "@/core/wrapper"; - import { randomUUID } from "crypto"; interface Internal_MapKey { @@ -152,7 +151,6 @@ export class NTEventWrapper { retEvent = await EventFunc!(...args); }); } - } export const NTEventDispatch = new NTEventWrapper(); diff --git a/src/core b/src/core index 541008ed..87f7b7a0 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 541008ed02575529a42ff106820911d17c1e5e29 +Subproject commit 87f7b7a0a15b1c94420e69c7761365b25dd3a56c diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index e1af7747..7b74838f 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x289110=_0x313c;(function(_0x16b609,_0x1c63a2){var _0x23dacb=_0x313c,_0x164f62=_0x16b609();while(!![]){try{var _0x3219ad=parseInt(_0x23dacb(0xfe))/0x1+-parseInt(_0x23dacb(0xf7))/0x2+-parseInt(_0x23dacb(0xf9))/0x3+-parseInt(_0x23dacb(0xff))/0x4+parseInt(_0x23dacb(0xfc))/0x5+parseInt(_0x23dacb(0x100))/0x6*(-parseInt(_0x23dacb(0xfa))/0x7)+parseInt(_0x23dacb(0xfd))/0x8;if(_0x3219ad===_0x1c63a2)break;else _0x164f62['push'](_0x164f62['shift']());}catch(_0x140765){_0x164f62['push'](_0x164f62['shift']());}}}(_0x4343,0x3172e));function _0x313c(_0x56030e,_0x72363a){var _0x43435c=_0x4343();return _0x313c=function(_0x313cc4,_0x1cd686){_0x313cc4=_0x313cc4-0xf7;var _0x12ec22=_0x43435c[_0x313cc4];return _0x12ec22;},_0x313c(_0x56030e,_0x72363a);}export class DependsAdapter{[_0x289110(0xfb)](_0x798819,_0x4907b7){}[_0x289110(0xf8)](_0x5cea02){}['getGroupCode'](_0xef95b4){}}function _0x4343(){var _0x3f1339=['80760TcOxmY','2326290ZxbzAV','615826PxZviH','onMSFSsoError','557112wwXgme','7EGqMZU','onMSFStatusChange','1340310cEmQSM','4310808EjduMS','297151DlPCFH'];_0x4343=function(){return _0x3f1339;};return _0x4343();} \ No newline at end of file +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 diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index d1a0d60f..d9966392 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x47f11d=_0x5b72;(function(_0x76549c,_0x4a4f29){var _0x344f31=_0x5b72,_0x545ffb=_0x76549c();while(!![]){try{var _0x50155d=parseInt(_0x344f31(0x73))/0x1+-parseInt(_0x344f31(0x6f))/0x2+parseInt(_0x344f31(0x70))/0x3*(parseInt(_0x344f31(0x72))/0x4)+-parseInt(_0x344f31(0x74))/0x5+parseInt(_0x344f31(0x71))/0x6*(parseInt(_0x344f31(0x75))/0x7)+parseInt(_0x344f31(0x77))/0x8+-parseInt(_0x344f31(0x78))/0x9;if(_0x50155d===_0x4a4f29)break;else _0x545ffb['push'](_0x545ffb['shift']());}catch(_0x3b1386){_0x545ffb['push'](_0x545ffb['shift']());}}}(_0x3d5e,0xc75bb));function _0x3d5e(){var _0xedd58=['44kLKfzy','1461009fOOrNq','8124850oyKtdu','1598513uzINkO','dispatchCallWithJson','10581880tXtgLh','138591zouwnm','dispatchRequest','1586888SXLclZ','2706KmqCjY','12VGvsVC'];_0x3d5e=function(){return _0xedd58;};return _0x3d5e();}function _0x5b72(_0x1b2f23,_0x18aa01){var _0x3d5e6e=_0x3d5e();return _0x5b72=function(_0x5b725c,_0x3df75b){_0x5b725c=_0x5b725c-0x6e;var _0x4f8f9b=_0x3d5e6e[_0x5b725c];return _0x4f8f9b;},_0x5b72(_0x1b2f23,_0x18aa01);}export class DispatcherAdapter{[_0x47f11d(0x6e)](_0x203434){}['dispatchCall'](_0x3ccab5){}[_0x47f11d(0x76)](_0x248106){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index a0f95c43..bda1b03f 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x5bf63a=_0x505a;function _0x505a(_0x25974a,_0x51e508){var _0x767249=_0x7672();return _0x505a=function(_0x505ab1,_0x53f3b4){_0x505ab1=_0x505ab1-0x16b;var _0x8eb964=_0x767249[_0x505ab1];return _0x8eb964;},_0x505a(_0x25974a,_0x51e508);}function _0x7672(){var _0x582db0=['34068DoGmRM','6TmncpP','27207qzMLmF','getAppSetting','onLog','260AKEDTL','onGetOfflineMsg','2065ycSrhx','10SuTYgR','fixPicImgType','24841TeoaUO','5126YDCcSH','2050048MdaBcZ','onShowErrUITips','onInstallFinished','2421762PSNjRe','onGetSrvCalTime','512547lwmEFZ','onUpdateGeneralFlag','8icOOwR'];_0x7672=function(){return _0x582db0;};return _0x7672();}(function(_0x576853,_0x4db877){var _0x5e3f29=_0x505a,_0x1a34fb=_0x576853();while(!![]){try{var _0x523e6b=-parseInt(_0x5e3f29(0x171))/0x1*(parseInt(_0x5e3f29(0x16f))/0x2)+-parseInt(_0x5e3f29(0x178))/0x3*(parseInt(_0x5e3f29(0x17a))/0x4)+parseInt(_0x5e3f29(0x16e))/0x5*(-parseInt(_0x5e3f29(0x17c))/0x6)+-parseInt(_0x5e3f29(0x176))/0x7+-parseInt(_0x5e3f29(0x173))/0x8+parseInt(_0x5e3f29(0x17d))/0x9*(-parseInt(_0x5e3f29(0x16c))/0xa)+-parseInt(_0x5e3f29(0x172))/0xb*(-parseInt(_0x5e3f29(0x17b))/0xc);if(_0x523e6b===_0x4db877)break;else _0x1a34fb['push'](_0x1a34fb['shift']());}catch(_0x482fbf){_0x1a34fb['push'](_0x1a34fb['shift']());}}}(_0x7672,0x2aede));export class GlobalAdapter{[_0x5bf63a(0x16b)](..._0x2b6b02){}[_0x5bf63a(0x177)](..._0x21bcbc){}[_0x5bf63a(0x174)](..._0x4f10dc){}[_0x5bf63a(0x170)](..._0xb2427b){}[_0x5bf63a(0x17e)](..._0x290d3f){}[_0x5bf63a(0x175)](..._0x28ad1){}[_0x5bf63a(0x179)](..._0x40c8db){}[_0x5bf63a(0x16d)](..._0x2d0c2a){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index c2ba884e..4400fc47 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x5a85c8,_0xc66f94){var _0x3762ff=_0xa841,_0x30cd4d=_0x5a85c8();while(!![]){try{var _0x4cd67d=-parseInt(_0x3762ff(0x9f))/0x1*(parseInt(_0x3762ff(0x9e))/0x2)+parseInt(_0x3762ff(0x99))/0x3+-parseInt(_0x3762ff(0x9b))/0x4*(parseInt(_0x3762ff(0x9d))/0x5)+parseInt(_0x3762ff(0x9c))/0x6*(-parseInt(_0x3762ff(0xa0))/0x7)+parseInt(_0x3762ff(0x98))/0x8+parseInt(_0x3762ff(0x9a))/0x9+-parseInt(_0x3762ff(0xa1))/0xa;if(_0x4cd67d===_0xc66f94)break;else _0x30cd4d['push'](_0x30cd4d['shift']());}catch(_0x57b860){_0x30cd4d['push'](_0x30cd4d['shift']());}}}(_0x1148,0x24a60));function _0xa841(_0x1a1cde,_0x54d6e5){var _0x1148eb=_0x1148();return _0xa841=function(_0xa84189,_0x5abb1e){_0xa84189=_0xa84189-0x98;var _0x5cbc8f=_0x1148eb[_0xa84189];return _0x5cbc8f;},_0xa841(_0x1a1cde,_0x54d6e5);}function _0x1148(){var _0x4bd6bc=['210OjHDSj','9198lxeHAY','13PhSWUB','77vQbKzn','1082090dQNQAz','1680848WCtSwf','145023PWPKmG','1849968jnwWQH','2468MbOyNO','65442LWGHpy'];_0x1148=function(){return _0x4bd6bc;};return _0x1148();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(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 diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index ba0c5130..d6e481de 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -function _0xf342(_0x1ba534,_0x5321e0){const _0xe321e7=_0xe321();return _0xf342=function(_0xf3428a,_0x4f953d){_0xf3428a=_0xf3428a-0x167;let _0x3ba2b1=_0xe321e7[_0xf3428a];return _0x3ba2b1;},_0xf342(_0x1ba534,_0x5321e0);}const _0x40d7a0=_0xf342;(function(_0x26c3cc,_0x2af59b){const _0x1659af=_0xf342,_0x102626=_0x26c3cc();while(!![]){try{const _0x38fbdd=-parseInt(_0x1659af(0x192))/0x1*(-parseInt(_0x1659af(0x17f))/0x2)+parseInt(_0x1659af(0x187))/0x3*(parseInt(_0x1659af(0x191))/0x4)+-parseInt(_0x1659af(0x18a))/0x5+-parseInt(_0x1659af(0x16f))/0x6*(-parseInt(_0x1659af(0x199))/0x7)+parseInt(_0x1659af(0x169))/0x8+parseInt(_0x1659af(0x1a4))/0x9*(-parseInt(_0x1659af(0x174))/0xa)+parseInt(_0x1659af(0x18e))/0xb*(-parseInt(_0x1659af(0x193))/0xc);if(_0x38fbdd===_0x2af59b)break;else _0x102626['push'](_0x102626['shift']());}catch(_0x318b1d){_0x102626['push'](_0x102626['shift']());}}}(_0xe321,0xf23ca));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x4a3dd3 from'path';import _0x38b095 from'fs';import _0x309a96 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4bf983 from'file-type';import{MsgListener}from'@/core/listeners';import _0x3cbc54 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x40d7a0(0x16b)]=_0x5fc3dc=>{for(const [_0x91ad9e,_0xc4ded6]of downloadMediaTasks){_0xc4ded6(_0x5fc3dc),downloadMediaTasks['delete'](_0x91ad9e);}},setTimeout(()=>{const _0x3e87a2=_0x40d7a0;napCatCore[_0x3e87a2(0x1a9)](()=>{const _0x4de440=_0x3e87a2;napCatCore[_0x4de440(0x1ac)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x255ad2){const _0x24fbbc=_0x40d7a0;return _0x4bf983[_0x24fbbc(0x19a)](_0x255ad2);}static async[_0x40d7a0(0x180)](_0x3f4ad2,_0x6a9289){const _0x278f19=_0x40d7a0;await napCatCore[_0x278f19(0x1a6)][_0x278f19(0x180)](_0x3f4ad2,_0x6a9289);}static async[_0x40d7a0(0x196)](_0x224d90){const _0x372181=_0x40d7a0;return await napCatCore[_0x372181(0x1a6)][_0x372181(0x196)](_0x224d90);}static async[_0x40d7a0(0x185)](_0x2aeda3,_0x4788e0=ElementType[_0x40d7a0(0x17d)],_0x58beeb=0x0){const _0x27cf42=_0x40d7a0,_0x4b6854={'TsciD':function(_0x38e24b,_0x4c51d6){return _0x38e24b(_0x4c51d6);},'IGYJM':function(_0x4e5588,_0x2bcd85){return _0x4e5588+_0x2bcd85;},'eLHct':function(_0x1635cf,_0x4013ac){return _0x1635cf===_0x4013ac;}},_0xc0cda7=await _0x4b6854['TsciD'](calculateFileMD5,_0x2aeda3);let _0x1074de=(await NTQQFileApi[_0x27cf42(0x178)](_0x2aeda3))?.[_0x27cf42(0x17e)]||'';_0x1074de&&(_0x1074de=_0x4b6854[_0x27cf42(0x168)]('.',_0x1074de));let _0x1344fc=''+_0x4a3dd3[_0x27cf42(0x19c)](_0x2aeda3);_0x4b6854[_0x27cf42(0x1ab)](_0x1344fc['indexOf']('.'),-0x1)&&(_0x1344fc+=_0x1074de);const _0x4abd7b=napCatCore[_0x27cf42(0x197)][_0x27cf42(0x18b)]()[_0x27cf42(0x18d)]({'md5HexStr':_0xc0cda7,'fileName':_0x1344fc,'elementType':_0x4788e0,'elementSubType':_0x58beeb,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x27cf42(0x180)](_0x2aeda3,_0x4abd7b);const _0x119e96=await NTQQFileApi['getFileSize'](_0x2aeda3);return{'md5':_0xc0cda7,'fileName':_0x1344fc,'path':_0x4abd7b,'fileSize':_0x119e96,'ext':_0x1074de};}static async[_0x40d7a0(0x188)](_0x575f78,_0x72290b,_0x3d412a,_0x417df4,_0x1e2a48,_0x2802af,_0x5b16fb=0x3e8*0x3c*0x2,_0x5c52d9=![]){const _0x6ca5a7=_0x40d7a0,_0x157e29={'oFOzh':function(_0x15ae1e,_0x67ce59){return _0x15ae1e(_0x67ce59);},'SBryG':function(_0x39d732,_0x11a772){return _0x39d732===_0x11a772;},'Oqnra':function(_0x290508){return _0x290508();},'IOCmb':function(_0x28bd3d,_0x48c1b4,_0x3fb55b){return _0x28bd3d(_0x48c1b4,_0x3fb55b);}};if(_0x2802af&&_0x38b095[_0x6ca5a7(0x16c)](_0x2802af)){if(_0x5c52d9)try{await _0x309a96[_0x6ca5a7(0x17b)](_0x2802af);}catch(_0x5d090a){}else return _0x2802af;}return new Promise((_0x3f0323,_0x28f1a6)=>{const _0x43a66b=_0x6ca5a7,_0x1e311a={'tGtNn':function(_0x353feb,_0x50467a){const _0x97fb42=_0xf342;return _0x157e29[_0x97fb42(0x1a3)](_0x353feb,_0x50467a);},'FIrcn':function(_0x4a1062,_0x38b630){const _0x360d76=_0xf342;return _0x157e29[_0x360d76(0x184)](_0x4a1062,_0x38b630);}};let _0x427dcf=![];const _0x52d055=_0x1ffc77=>{const _0x4fda50=_0xf342;if(_0x1e311a[_0x4fda50(0x190)](_0x1ffc77[_0x4fda50(0x1a2)],_0x575f78)){_0x427dcf=!![];let _0x33dfbb=_0x1ffc77['filePath'];if(_0x33dfbb[_0x4fda50(0x1a0)]('\x5c')){const _0x7e5132=sessionConfig[_0x4fda50(0x1a1)];_0x33dfbb=_0x4a3dd3[_0x4fda50(0x173)](_0x7e5132,_0x33dfbb);}_0x1e311a[_0x4fda50(0x172)](_0x3f0323,_0x33dfbb);}};downloadMediaTasks[_0x43a66b(0x194)](_0x157e29['Oqnra'](randomUUID),_0x52d055),_0x157e29[_0x43a66b(0x19e)](setTimeout,()=>{const _0x17abf2=_0x43a66b;!_0x427dcf&&_0x157e29[_0x17abf2(0x184)](_0x28f1a6,_0x17abf2(0x189));},_0x5b16fb),napCatCore[_0x43a66b(0x197)]['getMsgService']()[_0x43a66b(0x17c)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x575f78,'chatType':_0x72290b,'peerUid':_0x3d412a,'elementId':_0x417df4,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1e2a48});});}static async[_0x40d7a0(0x176)](_0xa26c62){const _0x327c78={'OotVv':function(_0x5b52c3,_0x25b446,_0x10cee2){return _0x5b52c3(_0x25b446,_0x10cee2);}};return new Promise((_0x4f426c,_0x131c7b)=>{const _0x2fad7f=_0xf342,_0x5b9904={'kkzoE':function(_0x280a69,_0x2fb788){return _0x280a69(_0x2fb788);}};_0x327c78[_0x2fad7f(0x1a7)](_0x3cbc54,_0xa26c62,(_0x4e83b5,_0x4e2780)=>{const _0x457302=_0x2fad7f;_0x4e83b5?_0x5b9904[_0x457302(0x171)](_0x131c7b,_0x4e83b5):_0x5b9904[_0x457302(0x171)](_0x4f426c,_0x4e2780);});});}static async[_0x40d7a0(0x18f)](_0x24ce8c,_0x4b2ec7){const _0x52eacf=_0x40d7a0,_0x34d8a1={'hBHgd':_0x52eacf(0x19d),'puUBO':'&rkey=','dZhaw':function(_0x23d44b,_0x3a82d2){return _0x23d44b+_0x3a82d2;},'CuuAx':function(_0x405077,_0x12e424){return _0x405077+_0x12e424;},'wLLnS':function(_0x2c91ae,_0x92b154){return _0x2c91ae||_0x92b154;},'yhuzF':function(_0x7ef983,_0x42e294,_0x12ea0e){return _0x7ef983(_0x42e294,_0x12ea0e);}};if(!_0x24ce8c)return'';const _0x34040d=_0x24ce8c[_0x52eacf(0x18c)],_0x2c1f2b=_0x24ce8c[_0x52eacf(0x17a)],_0x249db3=_0x24ce8c[_0x52eacf(0x17a)],_0x54fc64=_0x24ce8c[_0x52eacf(0x179)];if(_0x34040d){if(_0x34040d[_0x52eacf(0x1a0)](_0x34d8a1[_0x52eacf(0x167)])){if(_0x34040d[_0x52eacf(0x186)](_0x34d8a1[_0x52eacf(0x183)]))return IMAGE_HTTP_HOST_NT+_0x34040d;const _0x1669a1=await rkeyManager[_0x52eacf(0x16a)](),_0xb4daf7=_0x4b2ec7?_0x1669a1['private_rkey']:_0x1669a1[_0x52eacf(0x181)];return _0x34d8a1[_0x52eacf(0x198)](_0x34d8a1['dZhaw'](IMAGE_HTTP_HOST_NT,_0x34040d),''+_0xb4daf7);}else return _0x34d8a1[_0x52eacf(0x1a8)](IMAGE_HTTP_HOST,_0x34040d);}else{if(_0x34d8a1[_0x52eacf(0x16d)](_0x249db3,_0x2c1f2b))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x34d8a1['wLLnS'](_0x249db3,_0x2c1f2b)[_0x52eacf(0x1a5)]()+'/0';}return _0x34d8a1['yhuzF'](logDebug,_0x52eacf(0x177),_0x24ce8c),'';}}function _0xe321(){const _0x52c7e1=['puUBO','oFOzh','uploadFile','includes','18YdOjxM','downloadMedia','下载超时','6968865fbERNz','getMsgService','originImageUrl','getRichMediaFilePathForGuild','33059367xWRbZv','getImageUrl','tGtNn','1265620rgEYfZ','130nOSaHQ','12AxXXUC','set','getStorageCleanService','getFileSize','session','dZhaw','469opxZCk','fileTypeFromFile','clearCache','basename','/download','IOCmb','scanCache','startsWith','defaultFileDownloadPath','msgId','SBryG','9KqxlfH','toUpperCase','util','OotVv','CuuAx','onLoginSuccess','clearChatCache','eLHct','addListener','tmp','hBHgd','IGYJM','14087072cLxZVo','getRkey','onRichMediaDownloadComplete','existsSync','wLLnS','addCacheScannedPaths','86046jJpeSp','clearChatCacheInfo','kkzoE','FIrcn','join','10729690UsVBNg','addCacheScanedPaths','getImageSize','图片url获取失败','getFileType','fileUuid','md5HexStr','unlink','downloadRichMedia','PIC','ext','28372nNpTuv','copyFile','group_rkey','getFileCacheInfo'];_0xe321=function(){return _0x52c7e1;};return _0xe321();}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x143dee=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x40d7a0(0x19b)](_0x55f8da=[_0x40d7a0(0x1ad),'hotUpdate']){const _0x3f74f1=_0x40d7a0;return napCatCore['session'][_0x3f74f1(0x195)]()['clearCacheDataByKeys'](_0x55f8da);}static[_0x40d7a0(0x16e)](_0x4493a8={}){const _0x92d9a1=_0x40d7a0;return napCatCore[_0x92d9a1(0x197)][_0x92d9a1(0x195)]()[_0x92d9a1(0x175)](_0x4493a8);}static[_0x40d7a0(0x19f)](){const _0x568f6a=_0x40d7a0;return napCatCore[_0x568f6a(0x197)][_0x568f6a(0x195)]()[_0x568f6a(0x19f)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static['getChatCacheList'](_0x588049,_0x8d3c25=0x3e8,_0x207943=0x0){const _0x3f238b=_0x40d7a0;return napCatCore[_0x3f238b(0x197)][_0x3f238b(0x195)]()['getChatCacheInfo'](_0x588049,_0x8d3c25,0x1,_0x207943);}static[_0x40d7a0(0x182)](_0x3a0e0b,_0x329d47=0x3e8,_0x5f4aba){const _0x13aa90=_0x5f4aba?_0x5f4aba:{'fileType':_0x3a0e0b};}static async[_0x40d7a0(0x1aa)](_0x12fa03=[],_0xe8ed3d=[]){const _0x34f4cd=_0x40d7a0;return napCatCore[_0x34f4cd(0x197)][_0x34f4cd(0x195)]()[_0x34f4cd(0x170)](_0x12fa03,_0xe8ed3d);}} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index cae3bcd7..3918ef43 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x17a35a=_0x5ae6;(function(_0x21185b,_0x47fd3a){const _0x17addb=_0x5ae6,_0x3687cc=_0x21185b();while(!![]){try{const _0x5b4614=parseInt(_0x17addb(0xa4))/0x1*(parseInt(_0x17addb(0xb6))/0x2)+-parseInt(_0x17addb(0xa6))/0x3+-parseInt(_0x17addb(0x9e))/0x4*(parseInt(_0x17addb(0xaa))/0x5)+parseInt(_0x17addb(0xa1))/0x6*(parseInt(_0x17addb(0xb7))/0x7)+parseInt(_0x17addb(0xa2))/0x8*(-parseInt(_0x17addb(0x9f))/0x9)+parseInt(_0x17addb(0xa0))/0xa*(-parseInt(_0x17addb(0xa8))/0xb)+parseInt(_0x17addb(0x9b))/0xc*(parseInt(_0x17addb(0xb5))/0xd);if(_0x5b4614===_0x47fd3a)break;else _0x3687cc['push'](_0x3687cc['shift']());}catch(_0x560158){_0x3687cc['push'](_0x3687cc['shift']());}}}(_0x5d6c,0x8758b));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x17a35a(0xae)]=_0x9859c=>{const _0x1c677b=_0x17a35a,_0xc955e4={'iFNSB':function(_0x558cc8,_0x1d750b){return _0x558cc8(_0x1d750b);}};for(const [_0x49f466,_0x200257]of buddyChangeTasks){_0xc955e4[_0x1c677b(0x9c)](_0x200257,_0x9859c),buddyChangeTasks[_0x1c677b(0xa9)](_0x49f466);}},setTimeout(()=>{const _0xbb0e70=_0x17a35a;napCatCore[_0xbb0e70(0xab)](()=>{const _0x5427ec=_0xbb0e70;napCatCore[_0x5427ec(0x94)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x17a35a(0xa5)](_0x21b358=![]){const _0x3aa972={'EpEGX':function(_0x536873,_0x55e8e1){return _0x536873(_0x55e8e1);},'nOiUQ':function(_0x2fbb02,_0x244c3b){return _0x2fbb02(_0x244c3b);},'kwWYE':'获取好友列表超时','RMmUl':function(_0x43267b,_0x4ab9d4,_0x51ba75){return _0x43267b(_0x4ab9d4,_0x51ba75);},'hGYom':function(_0x27e70c,_0x277e7a){return _0x27e70c(_0x277e7a);},'kCsyX':function(_0x16358a){return _0x16358a();}};return new Promise((_0x1b4fcc,_0x5edf7a)=>{const _0x15e5fc=_0x5ae6,_0x429b11={'Oxbca':function(_0x2d2090,_0x5cdc16){const _0xece814=_0x5ae6;return _0x3aa972[_0xece814(0xa7)](_0x2d2090,_0x5cdc16);}};let _0x2e32ad=![];setTimeout(()=>{const _0x5d2eff=_0x5ae6;!_0x2e32ad&&(_0x3aa972[_0x5d2eff(0x95)](logDebug,_0x5d2eff(0x9d)),_0x3aa972[_0x5d2eff(0xb2)](_0x5edf7a,_0x3aa972[_0x5d2eff(0x96)]));},0x1388);const _0x220e0c=[],_0x45e91b=_0x313fbb=>{const _0x25d835=_0x5ae6;for(const _0x339d27 of _0x313fbb){for(const _0x19a54b of _0x339d27['buddyList']){_0x220e0c[_0x25d835(0xb1)](_0x19a54b),uid2UinMap[_0x19a54b['uid']]=_0x19a54b[_0x25d835(0xad)];}}_0x2e32ad=!![],_0x429b11['Oxbca'](_0x1b4fcc,_0x220e0c);};buddyChangeTasks[_0x15e5fc(0xa3)](_0x3aa972['kCsyX'](randomUUID),_0x45e91b),napCatCore['session'][_0x15e5fc(0xb4)]()[_0x15e5fc(0x9a)](_0x21b358)[_0x15e5fc(0xaf)](_0x4c6089=>{const _0x11435a=_0x15e5fc;_0x3aa972[_0x11435a(0x98)](logDebug,_0x11435a(0x99),_0x4c6089);});});}static async[_0x17a35a(0xb0)](_0x503449,_0x22a834){const _0x4936bb=_0x17a35a;napCatCore[_0x4936bb(0x97)][_0x4936bb(0xb4)]()?.[_0x4936bb(0xb3)]({'friendUid':_0x503449['friendUid'],'reqTime':_0x503449[_0x4936bb(0xac)],'accept':_0x22a834});}}function _0x5ae6(_0x2c1d45,_0x549caf){const _0x5d6cd1=_0x5d6c();return _0x5ae6=function(_0x5ae62a,_0x5a3afe){_0x5ae62a=_0x5ae62a-0x94;let _0x232e2d=_0x5d6cd1[_0x5ae62a];return _0x232e2d;},_0x5ae6(_0x2c1d45,_0x549caf);}function _0x5d6c(){const _0x4af6c0=['2922yYpxfn','1880752jSkklv','set','1OyXkTq','getFriends','2233680gmavEP','hGYom','11epUBIq','delete','226005BiVCVA','onLoginSuccess','reqTime','uin','onBuddyListChange','then','handleFriendRequest','push','nOiUQ','approvalFriendRequest','getBuddyService','475579UzaXqG','1126956EfmAOH','2471ugjNre','addListener','EpEGX','kwWYE','session','RMmUl','开始获取好友列表','getBuddyList','708HEjZKb','iFNSB','获取好友列表超时','40wvzsOJ','9WugYmZ','9077430DktAWn'];_0x5d6c=function(){return _0x4af6c0;};return _0x5d6c();} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts index 4a7a54e5..a21b30cd 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{for(const [_0x4cf2ef,_0x2935f9]of SingleScreenNotifiesTasks){_0x2935f9(_0x21148c,_0x37b856,_0xf2f70b),SingleScreenNotifiesTasks['delete'](_0x4cf2ef);}},groupListener['onGroupListUpdate']=(_0x529b62,_0x3cb873)=>{const _0x2fd59c=_0x3a0887,_0x37c661={'ONQQT':function(_0x490b30,_0x5c8b9e,_0x29fd7c){return _0x490b30(_0x5c8b9e,_0x29fd7c);}};for(const [_0xeba588,_0x39450e]of groupMemberTasks){_0x37c661[_0x2fd59c(0x1a8)](_0x39450e,_0x529b62,_0x3cb873),groupMemberTasks[_0x2fd59c(0x18f)](_0xeba588);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x32330c=_0x3ad7;napCatCore[_0x32330c(0x1b9)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x40d322=![]){const _0x29105d=_0x3a0887,_0x2e0401={'Lbhrq':_0x29105d(0x1bc),'Eihmo':_0x29105d(0x1a1)};let [_0xc78cc8,_0x388124,_0xf3ff09]=await NTEventDispatch[_0x29105d(0x1ad)](_0x2e0401[_0x29105d(0x1ab)],_0x2e0401['Eihmo'],0x1,0x3a98,_0x40d322);return _0xf3ff09;}static async[_0x3a0887(0x199)](_0x2b5822,_0x4f6347){const _0x28bfbd=_0x3a0887;return napCatCore[_0x28bfbd(0x1b4)][_0x28bfbd(0x19d)]()[_0x28bfbd(0x1ca)](_0x2b5822,_0x4f6347);}static async['DelGroupFile'](_0x1214ca,_0x478230){const _0x59d367=_0x3a0887;return napCatCore[_0x59d367(0x1b4)][_0x59d367(0x19d)]()['deleteGroupFile'](_0x1214ca,[0x66],_0x478230);}static async[_0x3a0887(0x198)](_0xe1c67b,_0x4a19db){return napCatCore['session']['getRichMediaService']()['deleteGroupFolder'](_0xe1c67b,_0x4a19db);}static async[_0x3a0887(0x1aa)](_0x40092b){const _0x40286a=_0x3a0887,_0x25035c={'AFOrb':function(_0xad6d19,_0x4b5799){return _0xad6d19(_0x4b5799);},'oJzRG':function(_0x3b69a5,_0x39e7f0,_0x47da4f){return _0x3b69a5(_0x39e7f0,_0x47da4f);},'tttVs':function(_0x3b3348){return _0x3b3348();}},_0x2dbb8b=napCatCore[_0x40286a(0x1b4)][_0x40286a(0x1b8)]();return new Promise((_0x4c4f2e,_0x2c366d)=>{const _0x10e119=_0x40286a,_0x4f52c1={'RyCSS':function(_0x38094f,_0x46ccc1){const _0xbae33c=_0x3ad7;return _0x25035c[_0xbae33c(0x1cd)](_0x38094f,_0x46ccc1);}};let _0x3234cf=![];_0x25035c[_0x10e119(0x1a0)](setTimeout,()=>{const _0x3a1983=_0x10e119;!_0x3234cf&&_0x4f52c1[_0x3a1983(0x1c2)](_0x2c366d,'获取群系统消息列表超时');},0x1388);const _0x54fed1=(_0x243396,_0x4651be,_0x177532)=>{_0x3234cf=!![],_0x25035c['AFOrb'](_0x4c4f2e,_0x177532);};SingleScreenNotifiesTasks[_0x10e119(0x1a5)](_0x25035c[_0x10e119(0x1ae)](randomUUID),_0x54fed1),_0x2dbb8b[_0x10e119(0x1aa)](![],'',_0x40092b);});}static async[_0x3a0887(0x1b0)](_0x3728e2,_0x19e5e0=0xbb8){const _0x1bef46=_0x3a0887,_0x1a4dd8={'UWlXX':'groupMemberList_MainWindow','SzWtX':function(_0x433150,_0x92855f){return _0x433150!==_0x92855f;},'QWaYE':function(_0x4e1994,_0x23273c){return _0x4e1994+_0x23273c;},'SozUZ':'获取群成员列表出错,'},_0x381321=napCatCore[_0x1bef46(0x1b4)]['getGroupService'](),_0x2c438c=_0x381321[_0x1bef46(0x1c0)](_0x3728e2,_0x1a4dd8[_0x1bef46(0x19c)]),_0x579712=await _0x381321['getNextMemberList'](_0x2c438c,undefined,_0x19e5e0);if(_0x1a4dd8[_0x1bef46(0x196)](_0x579712['errCode'],0x0))throw _0x1a4dd8[_0x1bef46(0x1b2)](_0x1a4dd8['SozUZ'],_0x579712[_0x1bef46(0x197)]);return _0x579712[_0x1bef46(0x1bd)][_0x1bef46(0x19e)]['forEach'](_0x433f84=>{const _0x34fcce=_0x1bef46;uid2UinMap[_0x433f84[_0x34fcce(0x1b6)]]=_0x433f84['uin'];}),_0x579712[_0x1bef46(0x1bd)][_0x1bef46(0x19e)];}static async['getGroupNotifies'](){}static async[_0x3a0887(0x1b1)](_0x3073e8){const _0x37d937=_0x3a0887;return napCatCore[_0x37d937(0x1b4)]['getRichMediaService']()[_0x37d937(0x1c1)](_0x3073e8);}static async[_0x3a0887(0x19f)](){}static async[_0x3a0887(0x1af)](_0x581403,_0x355f4c){const _0x21526d=_0x3a0887,_0x4839dd={'vINHx':'qun.qq.com'},_0x4f74d6=(await NTQQUserApi[_0x21526d(0x1be)]([_0x4839dd[_0x21526d(0x1bf)]]))[_0x4839dd[_0x21526d(0x1bf)]];return napCatCore[_0x21526d(0x1b4)][_0x21526d(0x1b8)]()[_0x21526d(0x1af)](_0x581403,_0x4f74d6,_0x355f4c);}static async[_0x3a0887(0x1bb)](_0xfd0ba,_0x595582,_0x26c1c0){const _0x3f0f87=_0x3a0887,_0x32d63c={'zBSOy':function(_0x4e5602,_0x29e700){return _0x4e5602||_0x29e700;}};return napCatCore['session'][_0x3f0f87(0x1b8)]()[_0x3f0f87(0x1a6)](![],{'operateType':_0x595582,'targetMsg':{'seq':_0xfd0ba[_0x3f0f87(0x1c4)],'type':_0xfd0ba[_0x3f0f87(0x1cc)],'groupCode':_0xfd0ba['group'][_0x3f0f87(0x19b)],'postscript':_0x32d63c[_0x3f0f87(0x191)](_0x26c1c0,'')}});}static async[_0x3a0887(0x195)](_0x3fbd0d){const _0x32368a=_0x3a0887;return napCatCore[_0x32368a(0x1b4)][_0x32368a(0x1b8)]()[_0x32368a(0x195)](_0x3fbd0d);}static async['kickMember'](_0x337a54,_0x2931ae,_0x217ddf=![],_0x59128f=''){const _0x41b1bc=_0x3a0887;return napCatCore['session'][_0x41b1bc(0x1b8)]()[_0x41b1bc(0x1a9)](_0x337a54,_0x2931ae,_0x217ddf,_0x59128f);}static async[_0x3a0887(0x1a7)](_0x5a999c,_0x4f732f){const _0x14ed13=_0x3a0887;return napCatCore[_0x14ed13(0x1b4)][_0x14ed13(0x1b8)]()[_0x14ed13(0x1c8)](_0x5a999c,_0x4f732f);}static async['banGroup'](_0x5e275d,_0x58a1ac){return napCatCore['session']['getGroupService']()['setGroupShutUp'](_0x5e275d,_0x58a1ac);}static async[_0x3a0887(0x193)](_0x302c0d,_0x1a0287,_0x362d6d){const _0x543aff=_0x3a0887;return napCatCore[_0x543aff(0x1b4)][_0x543aff(0x1b8)]()['modifyMemberCardName'](_0x302c0d,_0x1a0287,_0x362d6d);}static async[_0x3a0887(0x1c6)](_0x2157d4,_0x5b40a5,_0x43cb87){const _0xac720=_0x3a0887;return napCatCore[_0xac720(0x1b4)][_0xac720(0x1b8)]()[_0xac720(0x1ba)](_0x2157d4,_0x5b40a5,_0x43cb87);}static async[_0x3a0887(0x192)](_0x1fdd62,_0x19e5ca){const _0x10cf67=_0x3a0887;return napCatCore['session'][_0x10cf67(0x1b8)]()['modifyGroupName'](_0x1fdd62,_0x19e5ca,![]);}static async[_0x3a0887(0x1c3)](_0x3973ec,_0x54d02b,_0x11ee87){}static async[_0x3a0887(0x1b5)](_0x5402be,_0x41544b,_0x5becb8=undefined,_0x57b961=0x0,_0x41a39b=0x0){const _0x30013e=_0x3a0887,_0x26b444={'wqaeO':_0x30013e(0x1b7),'ckCHY':function(_0x43abbc,_0x56d8ab){return _0x43abbc(_0x56d8ab);}},_0x51b713=(await NTQQUserApi[_0x30013e(0x1be)]([_0x26b444[_0x30013e(0x194)]]))[_0x30013e(0x1b7)];let _0x548ef4={'text':_0x26b444[_0x30013e(0x1ce)](encodeURI,_0x41544b),'picInfo':_0x5becb8,'oldFeedsId':'','pinned':_0x57b961,'confirmRequired':_0x41a39b};return napCatCore[_0x30013e(0x1b4)][_0x30013e(0x1b8)]()[_0x30013e(0x1b5)](_0x5402be,_0x51b713,_0x548ef4);}} \ No newline at end of file +const _0x34a9c6=_0x552b;(function(_0x545710,_0x15c917){const _0x3910e3=_0x552b,_0x58057b=_0x545710();while(!![]){try{const _0x3aee08=parseInt(_0x3910e3(0x10a))/0x1*(parseInt(_0x3910e3(0x114))/0x2)+-parseInt(_0x3910e3(0x10c))/0x3*(parseInt(_0x3910e3(0xe6))/0x4)+-parseInt(_0x3910e3(0xde))/0x5+parseInt(_0x3910e3(0x106))/0x6*(-parseInt(_0x3910e3(0xf6))/0x7)+parseInt(_0x3910e3(0xe7))/0x8*(parseInt(_0x3910e3(0xf5))/0x9)+parseInt(_0x3910e3(0x112))/0xa+parseInt(_0x3910e3(0x109))/0xb;if(_0x3aee08===_0x15c917)break;else _0x58057b['push'](_0x58057b['shift']());}catch(_0x7ad986){_0x58057b['push'](_0x58057b['shift']());}}}(_0x30a5,0x526a1));function _0x552b(_0x8bfb4f,_0x18b867){const _0x30a56e=_0x30a5();return _0x552b=function(_0x552b34,_0x240270){_0x552b34=_0x552b34-0xd7;let _0x353a22=_0x30a56e[_0x552b34];return _0x353a22;},_0x552b(_0x8bfb4f,_0x18b867);}function _0x30a5(){const _0x368b52=['quitGroup','4723972DGvoNw','257ELRbGr','uid','3CNxEdw','LQdEA','YZmmD','getSingleScreenNotifies','qun.qq.com','pQdNQ','1895510kNMTgI','getGroupService','1230xduJup','forEach','setMemberRole','setGroupShutUp','publishGroupBulletin','modifyMemberRole','getGroupMembers','infos','2604075GDlRKH','modifyGroupName','errCode','NodeIKernelGroupListener/onGroupSingleScreenNotifies','CallNormalEvent','uin','groupMemberList_MainWindow','setMemberShutUp','899668CzGaMU','376bZBDsu','uploadGroupBulletinPic','createGroupFolder','banGroup','modifyMemberCardName','RyvbP','getGroupNotifies','GetGroupFileCount','operateSysNotify','deleteGroupFile','ckHhW','DelGroupFile','rtyoH','kickMember','106677rXKytC','48776RAYxCq','banMember','getGroups','setMemberCard','getNextMemberList','groupCode','YvJzk','Crvsk','batchGetGroupFileCount','type','lOKVm','session','getRichMediaService','setGroupName','createMemberListScene','CreatGroupFileFolder','216MuLGVv','seq'];_0x30a5=function(){return _0x368b52;};return _0x30a5();}import{NTQQUserApi,napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x34a9c6(0xf8)](_0x25499d=![]){const _0x564c10=_0x34a9c6,_0x557266={'sjxzv':'NodeIKernelGroupService/getGroupList','RyvbP':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x31dc8d,_0x38a8d8,_0x5bf836]=await NTEventDispatch['CallNormalEvent'](_0x557266['sjxzv'],_0x557266[_0x564c10(0xec)],0x1,0x1388,_0x25499d);return _0x5bf836;}static async[_0x34a9c6(0x105)](_0x5938d2,_0x1c6fe7){const _0x1ca9f1=_0x34a9c6;return napCatCore[_0x1ca9f1(0x101)]['getRichMediaService']()[_0x1ca9f1(0xe9)](_0x5938d2,_0x1c6fe7);}static async[_0x34a9c6(0xf2)](_0x401ac4,_0xdab09e){const _0x26314f=_0x34a9c6;return napCatCore[_0x26314f(0x101)][_0x26314f(0x102)]()[_0x26314f(0xf0)](_0x401ac4,[0x66],_0xdab09e);}static async['DelGroupFileFolder'](_0x4f6a98,_0x426220){const _0x48e0c3=_0x34a9c6;return napCatCore[_0x48e0c3(0x101)][_0x48e0c3(0x102)]()['deleteGroupFolder'](_0x4f6a98,_0x426220);}static async[_0x34a9c6(0x10f)](_0x2c8ff2){const _0x3298de=_0x34a9c6,_0x55670e={'YZmmD':'NodeIKernelGroupService/getSingleScreenNotifies','Crvsk':_0x3298de(0xe1)};let [_0x50084c,_0x498f44,_0x335f4e]=await NTEventDispatch[_0x3298de(0xe2)](_0x55670e[_0x3298de(0x10e)],_0x55670e[_0x3298de(0xfd)],0x1,0x1388,![],'',_0x2c8ff2);return _0x335f4e;}static async[_0x34a9c6(0xdc)](_0x1e6428,_0x1c6ded=0xbb8){const _0x58dd08=_0x34a9c6,_0x731359={'ckHhW':function(_0x1e39fd,_0x9d8db7){return _0x1e39fd!==_0x9d8db7;},'rtyoH':function(_0x184d5b,_0x5570b7){return _0x184d5b+_0x5570b7;},'LQdEA':'获取群成员列表出错,'},_0x18e6a3=napCatCore[_0x58dd08(0x101)][_0x58dd08(0x113)](),_0x9313b3=_0x18e6a3[_0x58dd08(0x104)](_0x1e6428,_0x58dd08(0xe4)),_0xae1852=await _0x18e6a3[_0x58dd08(0xfa)](_0x9313b3,undefined,_0x1c6ded);if(_0x731359[_0x58dd08(0xf1)](_0xae1852[_0x58dd08(0xe0)],0x0))throw _0x731359[_0x58dd08(0xf3)](_0x731359[_0x58dd08(0x10d)],_0xae1852['errMsg']);return _0xae1852['result']['infos'][_0x58dd08(0xd7)](_0x51b5bd=>{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 diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 50deea23..5886aefa 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x5d62b3,_0x3e031c){var _0x484042=_0x3cdb,_0x47ffe2=_0x5d62b3();while(!![]){try{var _0x2196b2=parseInt(_0x484042(0x19f))/0x1*(-parseInt(_0x484042(0x1a1))/0x2)+-parseInt(_0x484042(0x19d))/0x3*(-parseInt(_0x484042(0x1a2))/0x4)+-parseInt(_0x484042(0x198))/0x5*(-parseInt(_0x484042(0x1a3))/0x6)+-parseInt(_0x484042(0x19c))/0x7+parseInt(_0x484042(0x19a))/0x8*(parseInt(_0x484042(0x199))/0x9)+parseInt(_0x484042(0x1a0))/0xa+parseInt(_0x484042(0x19b))/0xb*(-parseInt(_0x484042(0x19e))/0xc);if(_0x2196b2===_0x3e031c)break;else _0x47ffe2['push'](_0x47ffe2['shift']());}catch(_0x3502d2){_0x47ffe2['push'](_0x47ffe2['shift']());}}}(_0x2898,0x4b6be));export*from'./file';export*from'./friend';export*from'./group';function _0x3cdb(_0x53c142,_0x3799b1){var _0x28984c=_0x2898();return _0x3cdb=function(_0x3cdb40,_0x35768e){_0x3cdb40=_0x3cdb40-0x198;var _0x12e3f0=_0x28984c[_0x3cdb40];return _0x12e3f0;},_0x3cdb(_0x53c142,_0x3799b1);}export*from'./msg';export*from'./user';function _0x2898(){var _0x2f302a=['2331575fvSpca','1059183KHwGpW','24JlbHFP','11EgKjIE','3535735NfABAC','9hxdxpW','7607412JBQter','19NtPWTs','3912410HOLMwX','3644ZuHTPT','362644ZWnjGf','6FwoBbV'];_0x2898=function(){return _0x2f302a;};return _0x2898();}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(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 diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 256cc559..adc24abd 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x2ecb22=_0x52d1;(function(_0xa3f3a9,_0xb5919d){const _0x832015=_0x52d1,_0x351f1d=_0xa3f3a9();while(!![]){try{const _0x1a72d9=-parseInt(_0x832015(0x12a))/0x1*(parseInt(_0x832015(0x123))/0x2)+-parseInt(_0x832015(0x15b))/0x3*(-parseInt(_0x832015(0x11e))/0x4)+-parseInt(_0x832015(0x136))/0x5+parseInt(_0x832015(0x14d))/0x6*(parseInt(_0x832015(0x15a))/0x7)+parseInt(_0x832015(0x149))/0x8*(-parseInt(_0x832015(0x15c))/0x9)+parseInt(_0x832015(0x133))/0xa+parseInt(_0x832015(0x15d))/0xb;if(_0x1a72d9===_0xb5919d)break;else _0x351f1d['push'](_0x351f1d['shift']());}catch(_0x56d72e){_0x351f1d['push'](_0x351f1d['shift']());}}}(_0x1258,0x40e06));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x2ecb22(0x118)]=_0x12711f=>{const _0x5325e6=_0x2ecb22,_0x50fa01={'Vrrbr':function(_0x2a709a,_0x3cc9c8){return _0x2a709a(_0x3cc9c8);}};for(const [_0x5b5150,_0x42fd25]of GroupFileInfoUpdateTasks){_0x50fa01['Vrrbr'](_0x42fd25,_0x12711f),GroupFileInfoUpdateTasks[_0x5325e6(0x116)](_0x5b5150);}},msgListener[_0x2ecb22(0x119)]=_0x8662f8=>{const _0x54e7df=_0x2ecb22,_0x239267={'gLvZk':function(_0x170e58,_0x46fae2){return _0x170e58(_0x46fae2);},'fDMnD':function(_0x2ba8bf,_0x1a02fc){return _0x2ba8bf instanceof _0x1a02fc;}};for(const [_0x535cd8,_0x5be72d]of sentMsgTasks){_0x239267[_0x54e7df(0x148)](_0x5be72d,_0x8662f8),sentMsgTasks[_0x54e7df(0x116)](_0x535cd8);}if(sendMessagePool[_0x8662f8['peerUid']]){const _0x11983c=sendMessagePool[_0x8662f8[_0x54e7df(0x13c)]]?.(_0x8662f8);_0x239267[_0x54e7df(0x13d)](_0x11983c,Promise)&&_0x11983c[_0x54e7df(0x132)]()[_0x54e7df(0x159)](logError);}},msgListener['onMsgInfoListUpdate']=_0x22c617=>{const _0x18195d=_0x2ecb22,_0x28cee1={'BpdxZ':function(_0x519c43,_0x289945){return _0x519c43(_0x289945);},'hocRA':function(_0x322df6,_0x2e6da6){return _0x322df6 instanceof _0x2e6da6;}};_0x22c617[_0x18195d(0x130)](_0x477586=>{const _0x1902cf=_0x18195d;new Promise((_0x50b3f2,_0x56ff14)=>{const _0xf89935=_0x52d1;for(const _0x3b55b8 in sendSuccessCBMap){const _0x51a923=sendSuccessCBMap[_0x3b55b8],_0x4c2823=_0x28cee1[_0xf89935(0x14f)](_0x51a923,_0x477586),_0x34a19=_0x20ed88=>{_0x20ed88&&delete sendSuccessCBMap[_0x3b55b8];};_0x28cee1[_0xf89935(0x12f)](_0x4c2823,Promise)?_0x4c2823['then'](_0x34a19):_0x34a19(_0x4c2823);}})['then']()[_0x1902cf(0x159)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x394ce4=_0x52d1;napCatCore[_0x394ce4(0x12b)](msgListener);});},0x64);function _0x52d1(_0x556c30,_0x1faa0c){const _0x1258eb=_0x1258();return _0x52d1=function(_0x52d1fb,_0x2a5683){_0x52d1fb=_0x52d1fb-0x116;let _0x44d810=_0x1258eb[_0x52d1fb];return _0x44d810;},_0x52d1(_0x556c30,_0x1faa0c);}export class NTQQMsgApi{static async['setEmojiLike'](_0x409632,_0x3ac884,_0xb4016a,_0x293070=!![]){const _0x34a82b=_0x2ecb22,_0x51bcd2={'FgYIq':function(_0x163185,_0x22f452){return _0x163185>_0x22f452;}};return _0xb4016a=_0xb4016a[_0x34a82b(0x142)](),napCatCore['session']['getMsgService']()[_0x34a82b(0x128)](_0x409632,_0x3ac884,_0xb4016a,_0x51bcd2[_0x34a82b(0x14a)](_0xb4016a[_0x34a82b(0x14b)],0x3)?'2':'1',_0x293070);}static async[_0x2ecb22(0x156)](_0x3ed1f0,_0x4cd9af,_0x3b0fc3){const _0x1e46ba=_0x2ecb22;return napCatCore['session'][_0x1e46ba(0x129)]()['getMultiMsg'](_0x3ed1f0,_0x4cd9af,_0x3b0fc3);}static async[_0x2ecb22(0x12e)](_0x373808,_0x34e871){const _0xb42680=_0x2ecb22;return await napCatCore[_0xb42680(0x13f)][_0xb42680(0x129)]()[_0xb42680(0x12e)](_0x373808,_0x34e871);}static async[_0x2ecb22(0x143)](_0x2516d5,_0x4331f8,_0x5d67a3,_0x55d7b2,_0x2b162f){const _0x362b8d=_0x2ecb22;return await napCatCore[_0x362b8d(0x13f)][_0x362b8d(0x129)]()[_0x362b8d(0x143)](_0x2516d5,_0x4331f8,_0x5d67a3,_0x55d7b2,_0x2b162f);}static async['activateChat'](_0x5989be){}static async[_0x2ecb22(0x124)](_0x211872){}static async[_0x2ecb22(0x146)](_0x564317){const _0x33fcc8=_0x2ecb22;return napCatCore[_0x33fcc8(0x13f)][_0x33fcc8(0x129)]()[_0x33fcc8(0x146)](_0x564317);}static async[_0x2ecb22(0x121)](_0x1929c7,_0x4e9682){const _0x83fd5a=_0x2ecb22,_0x2aa6b={'JMpmy':function(_0x49ff8b,_0x3158f6){return _0x49ff8b(_0x3158f6);},'VUWvS':_0x83fd5a(0x14c),'HEItR':function(_0x55ead6,_0x1d7f8f,_0x2aee3a){return _0x55ead6(_0x1d7f8f,_0x2aee3a);},'dHHfz':function(_0x171af4){return _0x171af4();}};return new Promise(async(_0xd3fc3b,_0x273698)=>{const _0x15ed7b=_0x83fd5a;let _0x381e04=![];_0x2aa6b[_0x15ed7b(0x126)](setTimeout,()=>{const _0x1ab83b=_0x15ed7b;!_0x381e04&&_0x2aa6b[_0x1ab83b(0x153)](_0x273698,_0x2aa6b[_0x1ab83b(0x117)]);},0x1388);const _0x491e2a=_0x10442b=>{const _0x4f4bce=_0x15ed7b;_0x381e04=!![],_0x2aa6b[_0x4f4bce(0x153)](_0xd3fc3b,_0x10442b[_0x4f4bce(0x11c)]);};GroupFileInfoUpdateTasks['set'](_0x2aa6b[_0x15ed7b(0x13a)](randomUUID),_0x491e2a),await napCatCore[_0x15ed7b(0x13f)][_0x15ed7b(0x150)]()[_0x15ed7b(0x121)](_0x1929c7,_0x4e9682);});}static async['getMsgHistory'](_0x15b168,_0x472929,_0x1d22dc){const _0x4592e1=_0x2ecb22;return napCatCore[_0x4592e1(0x13f)][_0x4592e1(0x129)]()[_0x4592e1(0x120)](_0x15b168,_0x472929,_0x1d22dc,!![]);}static async[_0x2ecb22(0x141)](){}static async[_0x2ecb22(0x157)](_0x4e7951,_0x39f495){const _0x512b59=_0x2ecb22;await napCatCore[_0x512b59(0x13f)][_0x512b59(0x129)]()[_0x512b59(0x157)]({'chatType':_0x4e7951[_0x512b59(0x12d)],'peerUid':_0x4e7951['peerUid']},_0x39f495);}static async['sendMsg'](_0x143930,_0x509ef1,_0x3d5df9=!![],_0x5d5ecf=0x2710){const _0x1d46b1=_0x2ecb22,_0x4b5e5e={'Gxtnr':function(_0x50bbc6,_0x467a2a){return _0x50bbc6>_0x467a2a;},'ivPwv':_0x1d46b1(0x145),'dvCAm':function(_0xed706a,_0x1abd15){return _0xed706a(_0x1abd15);},'JrIlT':function(_0x3f6c5e){return _0x3f6c5e();},'XnZRu':function(_0x4ebd83,_0x22eef7){return _0x4ebd83===_0x22eef7;},'Gllxd':function(_0x16850b,_0x4dd377){return _0x16850b(_0x4dd377);},'TUMcy':function(_0x546125,_0x19350f,_0x49e2fb){return _0x546125(_0x19350f,_0x49e2fb);}},_0x447f2c=_0x143930['peerUid'];let _0x10fcbd=0x0;const _0x30ab4c=async()=>{const _0x5ea8da=_0x1d46b1;if(_0x4b5e5e[_0x5ea8da(0x122)](_0x10fcbd,_0x5d5ecf))throw _0x4b5e5e[_0x5ea8da(0x12c)];const _0x5bc647=sendMessagePool[_0x143930[_0x5ea8da(0x13c)]];if(_0x5bc647)return await _0x4b5e5e[_0x5ea8da(0x138)](sleep,0x1f4),_0x10fcbd+=0x1f4,await _0x4b5e5e[_0x5ea8da(0x139)](_0x30ab4c);else return;};return await _0x4b5e5e['JrIlT'](_0x30ab4c),new Promise((_0x548634,_0x5d6b37)=>{const _0x273cb1=_0x1d46b1;let _0x23fd80=![],_0x384274=null;const _0x5a4d0a=_0x4b5e5e[_0x273cb1(0x139)](randomUUID);sendSuccessCBMap[_0x5a4d0a]=_0x266945=>{const _0x2dc752=_0x273cb1;if(_0x4b5e5e['XnZRu'](_0x266945[_0x2dc752(0x134)],_0x384274?.['msgId'])){if(_0x4b5e5e[_0x2dc752(0x140)](_0x266945[_0x2dc752(0x154)],0x2))return delete sendSuccessCBMap[_0x5a4d0a],_0x23fd80=!![],_0x4b5e5e[_0x2dc752(0x11a)](_0x548634,_0x266945),!![];return![];}return![];},sendMessagePool[_0x447f2c]=async _0x482e79=>{delete sendMessagePool[_0x447f2c],_0x384274=_0x482e79;},_0x4b5e5e['TUMcy'](setTimeout,()=>{const _0x40d229=_0x273cb1;if(_0x23fd80)return;delete sendMessagePool[_0x447f2c],delete sendSuccessCBMap[_0x5a4d0a],_0x5d6b37(_0x40d229(0x145));},_0x5d5ecf);const _0x5e15bc=napCatCore[_0x273cb1(0x13f)][_0x273cb1(0x129)]()[_0x273cb1(0x152)]('0',_0x143930,_0x509ef1,new Map());});}static async['forwardMsg'](_0x3c6225,_0x52bbfe,_0x1327e1){const _0x42ecc1=_0x2ecb22;return napCatCore[_0x42ecc1(0x13f)][_0x42ecc1(0x129)]()[_0x42ecc1(0x11d)](_0x1327e1,_0x3c6225,[_0x52bbfe],new Map());}static async['multiForwardMsg'](_0x1e9b54,_0x58bb41,_0x2415d0){const _0x5c0336=_0x2ecb22,_0x5b7c1b={'IIjNu':'转发消息超时','ekHIa':function(_0x21285c,_0x34db78){return _0x21285c==_0x34db78;},'EMeqx':function(_0x47f253,_0x1784b8){return _0x47f253(_0x1784b8);},'vKgld':function(_0x4b1c02){return _0x4b1c02();},'QFVCw':function(_0x947d64,_0x2ade95,_0x2124b9){return _0x947d64(_0x2ade95,_0x2124b9);}},_0x1c65ee=_0x2415d0[_0x5c0336(0x135)](_0x56e992=>{const _0x52df97=_0x5c0336;return{'msgId':_0x56e992,'senderShowName':selfInfo[_0x52df97(0x13e)]};});return new Promise((_0x342b74,_0x1ad586)=>{const _0x278d0e=_0x5c0336,_0x220769={'NhRxv':'com.tencent.multimsg','LiLdX':function(_0x12032f,_0x591b3e){const _0x3eecec=_0x52d1;return _0x5b7c1b[_0x3eecec(0x11b)](_0x12032f,_0x591b3e);},'IOvrR':function(_0x1db2c5,_0x15c75c){return _0x5b7c1b['EMeqx'](_0x1db2c5,_0x15c75c);}};let _0xca57d6=![];const _0x537a5b=_0x246c09=>{const _0x557b62=_0x52d1,_0x5ca559=_0x246c09['elements'][_0x557b62(0x125)](_0x232825=>_0x232825[_0x557b62(0x131)]);if(!_0x5ca559)return;const _0xedcc92=JSON[_0x557b62(0x127)](_0x5ca559[_0x557b62(0x131)][_0x557b62(0x137)]);if(_0xedcc92[_0x557b62(0x144)]!=_0x220769[_0x557b62(0x11f)])return;_0x246c09[_0x557b62(0x13c)]==_0x58bb41[_0x557b62(0x13c)]&&_0x220769[_0x557b62(0x14e)](_0x246c09['senderUid'],selfInfo[_0x557b62(0x155)])&&(_0xca57d6=!![],_0x220769[_0x557b62(0x151)](_0x342b74,_0x246c09));};sentMsgTasks[_0x278d0e(0x13b)](_0x5b7c1b[_0x278d0e(0x147)](randomUUID),_0x537a5b),_0x5b7c1b[_0x278d0e(0x158)](setTimeout,()=>{!_0xca57d6&&_0x1ad586(_0x5b7c1b['IIjNu']);},0x1388),napCatCore['session']['getMsgService']()[_0x278d0e(0x15e)](_0x1c65ee,_0x1e9b54,_0x58bb41,[],new Map());});}}function _0x1258(){const _0x148d91=['onGroupFileInfoUpdate','onAddSendMsg','Gllxd','ekHIa','item','forwardMsg','30944pkFuXA','NhRxv','getMsgsIncludeSelf','getGroupFileList','Gxtnr','158vsSAPY','activateChatAndGetHistory','find','HEItR','parse','setMsgEmojiLikes','getMsgService','4278dhmmeI','addListener','ivPwv','chatType','getMsgsByMsgId','hocRA','forEach','arkElement','then','4464540SBsePv','msgId','map','457165JwpIdP','bytesData','dvCAm','JrIlT','dHHfz','set','peerUid','fDMnD','nick','session','XnZRu','fetchRecentContact','toString','getMsgsBySeqAndCount','app','发送超时','setMsgRead','vKgld','gLvZk','368lakOsu','FgYIq','length','获取群文件列表超时','6NqhfYC','LiLdX','BpdxZ','getRichMediaService','IOvrR','sendMsg','JMpmy','sendStatus','uid','getMultiMsg','recallMsg','QFVCw','catch','334586QyCyTe','3iGLBiP','82989GfyYfN','6790377pwkykI','multiForwardMsgWithComment','delete','VUWvS'];_0x1258=function(){return _0x148d91;};return _0x1258();} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 2db74858..e66740f5 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0xdc12(_0x471746,_0x310d2e){const _0x48607d=_0x4860();return _0xdc12=function(_0xdc12c,_0xda3fb6){_0xdc12c=_0xdc12c-0x66;let _0x483135=_0x48607d[_0xdc12c];return _0x483135;},_0xdc12(_0x471746,_0x310d2e);}(function(_0x5bdbb1,_0x654bfe){const _0x318b4f=_0xdc12,_0x37836c=_0x5bdbb1();while(!![]){try{const _0x1b2278=parseInt(_0x318b4f(0x86))/0x1*(parseInt(_0x318b4f(0x84))/0x2)+-parseInt(_0x318b4f(0x97))/0x3+parseInt(_0x318b4f(0x96))/0x4*(-parseInt(_0x318b4f(0x71))/0x5)+parseInt(_0x318b4f(0x73))/0x6+-parseInt(_0x318b4f(0x7a))/0x7+parseInt(_0x318b4f(0x80))/0x8*(parseInt(_0x318b4f(0x76))/0x9)+-parseInt(_0x318b4f(0x8b))/0xa*(-parseInt(_0x318b4f(0x69))/0xb);if(_0x1b2278===_0x654bfe)break;else _0x37836c['push'](_0x37836c['shift']());}catch(_0x2a034d){_0x37836c['push'](_0x37836c['shift']());}}}(_0x4860,0xe9c3a));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x4860(){const _0xde957a=['data','208640IwzilM','tianxuan.imgJumpArk','skey','EwPgz','8VIiGAM','HttpGetJson','7763TmrSyh','title','BQYnC','ahUWW','UZPfD','317820StLnmX','EkZiu','OFFRN','VLFhL','YAEsD','aPykr','preview','pmSot','GET','cVkbR','signed_ark','20KzYCAl','3257049CgAShd','p_skey=','uin','EdqFj','484AVFRAU','GfdxM','genBkn','&ark=','prompt','tagIcon','sourcelogo','replace','798935RKRvhu','tag','2096568IoHBSS','MiniApp\x20JSON\x20消息生成失败','NFXLq','522IcWTdk','getQzoneCookies',';\x20p_uin=o','normal','3145884hYCtSm','miniapp','stringify','tMSvl','p_skey'];_0x4860=function(){return _0xde957a;};return _0x4860();}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x35aa00){const _0x4fcd43=_0xdc12,_0x10d0a1={'EkZiu':'com.tencent.miniapp.lua','DvzRX':_0x4fcd43(0x81),'pmSot':_0x4fcd43(0x7b),'tMSvl':_0x4fcd43(0x79),'OFFRN':'\x5c/\x5c/','VLFhL':function(_0x539bdf,_0x2b9b2f){return _0x539bdf+_0x2b9b2f;},'NFXLq':function(_0x26c33f,_0x18027f){return _0x26c33f+_0x18027f;},'EdqFj':function(_0x4820b7,_0xc5fb6e){return _0x4820b7+_0xc5fb6e;},'GfdxM':_0x4fcd43(0x66),'YAEsD':';\x20skey=','cVkbR':_0x4fcd43(0x78),'vRUCM':';\x20uin=o','BQYnC':'https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','ahUWW':function(_0x309415,_0x3bb064){return _0x309415(_0x3bb064);},'UZPfD':_0x4fcd43(0x93),'aPykr':function(_0x2e7b8c,_0x362afd,_0x4b3cd2){return _0x2e7b8c(_0x362afd,_0x4b3cd2);},'EwPgz':_0x4fcd43(0x74)};let _0x5b0481={'app':_0x10d0a1[_0x4fcd43(0x8c)],'bizsrc':_0x10d0a1['DvzRX'],'view':_0x10d0a1[_0x4fcd43(0x92)],'prompt':_0x35aa00[_0x4fcd43(0x6d)],'config':{'type':_0x10d0a1[_0x4fcd43(0x7d)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x35aa00[_0x4fcd43(0x87)],'preview':_0x35aa00[_0x4fcd43(0x91)][_0x4fcd43(0x70)](/\\/g,_0x10d0a1[_0x4fcd43(0x8d)]),'jumpUrl':_0x35aa00['jumpUrl'][_0x4fcd43(0x70)](/\\/g,_0x10d0a1[_0x4fcd43(0x8d)]),'tag':_0x35aa00[_0x4fcd43(0x72)],'tagIcon':_0x35aa00[_0x4fcd43(0x6e)][_0x4fcd43(0x70)](/\\/g,_0x10d0a1['OFFRN']),'source':_0x35aa00['source'],'sourcelogo':_0x35aa00[_0x4fcd43(0x6f)][_0x4fcd43(0x70)](/\\/g,_0x10d0a1[_0x4fcd43(0x8d)])}}};const _0x5b2363=await NTQQUserApi['getSkey']();let _0x125e1b=await NTQQUserApi[_0x4fcd43(0x77)]();const _0x10e665=WebApi[_0x4fcd43(0x6b)](_0x125e1b[_0x4fcd43(0x7e)]),_0x403652=_0x10d0a1[_0x4fcd43(0x8e)](_0x10d0a1['VLFhL'](_0x10d0a1['VLFhL'](_0x10d0a1[_0x4fcd43(0x75)](_0x10d0a1[_0x4fcd43(0x75)](_0x10d0a1[_0x4fcd43(0x8e)](_0x10d0a1['EdqFj'](_0x10d0a1[_0x4fcd43(0x6a)],_0x125e1b[_0x4fcd43(0x7e)]),_0x10d0a1[_0x4fcd43(0x8f)]),_0x125e1b[_0x4fcd43(0x82)]),_0x10d0a1[_0x4fcd43(0x94)]),selfInfo['uin']),_0x10d0a1['vRUCM']),selfInfo[_0x4fcd43(0x67)]);let _0x38d5c6=_0x10d0a1[_0x4fcd43(0x8e)](_0x10d0a1[_0x4fcd43(0x68)](_0x10d0a1[_0x4fcd43(0x88)],_0x10e665),_0x4fcd43(0x6c))+_0x10d0a1[_0x4fcd43(0x89)](encodeURIComponent,JSON[_0x4fcd43(0x7c)](_0x5b0481)),_0x5259f6='';try{let _0x5dbcf7=await RequestUtil[_0x4fcd43(0x85)](_0x38d5c6,_0x10d0a1[_0x4fcd43(0x8a)],undefined,{'Cookie':_0x403652});_0x5259f6=_0x5dbcf7[_0x4fcd43(0x7f)][_0x4fcd43(0x95)];}catch(_0x1c238a){_0x10d0a1[_0x4fcd43(0x90)](logDebug,_0x10d0a1[_0x4fcd43(0x83)],_0x1c238a);}return _0x5259f6;} \ No newline at end of file +(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 diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 4902be83..f7d30da3 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0xba7f(){var _0x53ba1e=['ORCImage','4139802fgbYXu','235qkVPSA','5323960fNnktr','util','translateEnWordToZn','17647630HXDSfj','session','getRichMediaService','hasOtherRunningQQProcess','33692rCmCwm','3vGklIv','4635234RxjaDw','942GoTdem','53186nOStDt','888394THDxGD'];_0xba7f=function(){return _0x53ba1e;};return _0xba7f();}var _0x2245cd=_0x1f55;(function(_0x280d9d,_0x177afd){var _0x5a7b6e=_0x1f55,_0x45682f=_0x280d9d();while(!![]){try{var _0x1f89d8=parseInt(_0x5a7b6e(0x116))/0x1*(parseInt(_0x5a7b6e(0x11a))/0x2)+-parseInt(_0x5a7b6e(0x10c))/0x3+parseInt(_0x5a7b6e(0x115))/0x4*(parseInt(_0x5a7b6e(0x10d))/0x5)+-parseInt(_0x5a7b6e(0x118))/0x6*(parseInt(_0x5a7b6e(0x119))/0x7)+-parseInt(_0x5a7b6e(0x10e))/0x8+parseInt(_0x5a7b6e(0x117))/0x9+parseInt(_0x5a7b6e(0x111))/0xa;if(_0x1f89d8===_0x177afd)break;else _0x45682f['push'](_0x45682f['shift']());}catch(_0x427988){_0x45682f['push'](_0x45682f['shift']());}}}(_0xba7f,0xbbf9a));function _0x1f55(_0x358fff,_0x3dfc52){var _0xba7f91=_0xba7f();return _0x1f55=function(_0x1f5547,_0x38d3d5){_0x1f5547=_0x1f5547-0x10c;var _0x3ef8a0=_0xba7f91[_0x1f5547];return _0x3ef8a0;},_0x1f55(_0x358fff,_0x3dfc52);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x2245cd(0x114)](){var _0x3c6e17=_0x2245cd;return napCatCore[_0x3c6e17(0x10f)][_0x3c6e17(0x114)]();}static async[_0x2245cd(0x11b)](_0x49d6fa){var _0x4e90f8=_0x2245cd;return napCatCore[_0x4e90f8(0x112)]['getNodeMiscService']()['wantWinScreenOCR'](_0x49d6fa);}static async[_0x2245cd(0x110)](_0x23796e){var _0xe1c5b5=_0x2245cd;return napCatCore['session'][_0xe1c5b5(0x113)]()[_0xe1c5b5(0x110)](_0x23796e);}} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index d502ffa9..9e4ae387 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -function _0x2d01(_0x519e30,_0x25ea07){const _0x30825d=_0x3082();return _0x2d01=function(_0x2d0147,_0x1913fd){_0x2d0147=_0x2d0147-0x1e3;let _0x45e5c5=_0x30825d[_0x2d0147];return _0x45e5c5;},_0x2d01(_0x519e30,_0x25ea07);}const _0x42953d=_0x2d01;(function(_0x5dd3e4,_0x44af2d){const _0x13a76d=_0x2d01,_0x1d36b9=_0x5dd3e4();while(!![]){try{const _0x696405=-parseInt(_0x13a76d(0x206))/0x1*(-parseInt(_0x13a76d(0x21b))/0x2)+parseInt(_0x13a76d(0x1f7))/0x3+-parseInt(_0x13a76d(0x1e5))/0x4*(parseInt(_0x13a76d(0x1f0))/0x5)+parseInt(_0x13a76d(0x1ec))/0x6*(parseInt(_0x13a76d(0x1fd))/0x7)+-parseInt(_0x13a76d(0x1fa))/0x8*(-parseInt(_0x13a76d(0x200))/0x9)+-parseInt(_0x13a76d(0x22a))/0xa+-parseInt(_0x13a76d(0x21c))/0xb*(-parseInt(_0x13a76d(0x204))/0xc);if(_0x696405===_0x44af2d)break;else _0x1d36b9['push'](_0x1d36b9['shift']());}catch(_0x239941){_0x1d36b9['push'](_0x1d36b9['shift']());}}}(_0x3082,0x50301));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[_0x42953d(0x1f5)]=_0xb263a3=>{const _0x236bbe=_0x42953d;userInfoCache[_0xb263a3['uid']]=_0xb263a3,userDetailHandlers[_0x236bbe(0x209)](_0x2e53a7=>_0x2e53a7(_0xb263a3));},setTimeout(()=>{const _0x832f77=_0x42953d;napCatCore[_0x832f77(0x22d)](()=>{const _0x3265cc=_0x832f77;napCatCore[_0x3265cc(0x227)](profileListener);});},0x64);function _0x3082(){const _0x263733=['getUserDetailInfo','result','CreatTime','getTipOffService','8rxSgDj','11xbWZHE','YjnCM','getPskey','GbUNS','poKGd','fromEntries','robotUinRanges','获取Pskey失败','FbYPy','forceFetchClientKey','ClientKey','addListener','getPSkey','vzvce','5030280zlSZuc','&clientkey=','session','onLoginSuccess','Skey','set','JhXno','setSelfOnlineStatus','64rXMNDn','getSelfInfo','YPaqv','getProfileService','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','getProfileLikeService','uid','936018btJzhY','PskeyData','oGgfD','getRobotUinRange','94330adfkpe','gRvIA','getRobotService','LCgUd','请求获取Skey时失败','onProfileDetailInfoChanged','uECMR','37473tMMqzr','errMsg','keyIndex','856gqCrbT','uin','HRKii','14bpAJts','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','OCrYs','23301TWVpQQ','getTicketService','XdgCM','请求获取Cookies时失败','1655916nneIzD','clientKey','98455fMXFRM','then','get','forEach','PvWmW','HttpsGetCookies','aoaYW','entries','getUserDetailInfoWithBizInfo','pbYMY','now','getUserDetailInfo\x20timeout','domainPskeyMap','assign','zBXRV','skey','KeyIndex'];_0x3082=function(){return _0x263733;};return _0x3082();}export class NTQQUserApi{static async[_0x42953d(0x1e4)](_0x413ca6,_0x52d957,_0x5c1f04){return napCatCore['session']['getMsgService']()['setStatus']({'status':_0x413ca6,'extStatus':_0x52d957,'batteryStatus':_0x5c1f04});}static async['like'](_0x171e5c,_0x1461fb=0x1){const _0x6a22=_0x42953d;return napCatCore[_0x6a22(0x22c)][_0x6a22(0x1ea)]()['setBuddyProfileLike']({'friendUid':_0x171e5c,'sourceId':0x47,'doLikeCount':_0x1461fb,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x1af29a){const _0x31916c=_0x42953d,_0x313341=napCatCore['session'][_0x31916c(0x1e8)]()['setHeader'](_0x1af29a);return{'result':_0x313341?.[_0x31916c(0x218)],'errMsg':_0x313341?.[_0x31916c(0x1f8)]};}static async[_0x42953d(0x1e6)](){}static async['getUserInfo'](_0x17c909){}static async[_0x42953d(0x217)](_0x419079){const _0x33c2e6=_0x42953d,_0x9f406d={'uECMR':function(_0x2d08f8,_0x2644f3){return _0x2d08f8(_0x2644f3);},'YPaqv':function(_0x3f72f2,_0x5a978f,_0x2f0a28){return _0x3f72f2(_0x5a978f,_0x2f0a28);}},_0x4f8921=napCatCore[_0x33c2e6(0x22c)]['getProfileService']();return new Promise((_0x2ed50a,_0x20c962)=>{const _0x239a3b=_0x33c2e6,_0x2987b5={'FbYPy':function(_0x2dba5a,_0x35fc63){return _0x2dba5a(_0x35fc63);}},_0x19c307=randomUUID();let _0x366c50=![],_0x2b4ff2=undefined,_0x1972cb=!![];_0x9f406d[_0x239a3b(0x1e7)](setTimeout,()=>{const _0xa18b1f=_0x239a3b;!_0x366c50&&(_0x2b4ff2?_0x9f406d[_0xa18b1f(0x1f6)](_0x2ed50a,_0x2b4ff2):_0x9f406d[_0xa18b1f(0x1f6)](_0x20c962,_0xa18b1f(0x211))),userDetailHandlers['delete'](_0x19c307);},0x1388),userDetailHandlers[_0x239a3b(0x22f)](_0x19c307,_0x41211f=>{const _0x9360ed=_0x239a3b;_0x41211f[_0x9360ed(0x1eb)]===_0x419079&&(uid2UinMap[_0x419079]=_0x41211f[_0x9360ed(0x1fb)],_0x1972cb?(_0x2b4ff2=_0x41211f,_0x1972cb=![]):(_0x366c50=!![],_0x2987b5[_0x9360ed(0x224)](_0x2ed50a,_0x41211f)));}),_0x4f8921[_0x239a3b(0x20e)](_0x419079,[0x0])[_0x239a3b(0x207)](_0x415b6d=>{});});}static async[_0x42953d(0x228)](_0x4fb98d,_0x23f94b=!![]){const _0x6db7c1=_0x42953d,_0x293d81={'luHlD':function(_0x2f1506,_0x3a7e98){return _0x2f1506>_0x3a7e98;},'GbUNS':function(_0x2c8515,_0x400125){return _0x2c8515>_0x400125;},'zBXRV':function(_0x198772,_0x434f6e){return _0x198772===_0x434f6e;},'UJTlS':_0x6db7c1(0x223)},_0x284442=[],_0x2e253e={};for(const _0x4eb8f8 in _0x4fb98d){const _0x35f70f=Credentials[_0x6db7c1(0x1ed)][_0x6db7c1(0x208)](_0x4fb98d[_0x4eb8f8]),_0x39a368=Credentials['PskeyTime'][_0x6db7c1(0x208)](_0x4fb98d[_0x4eb8f8]);!_0x35f70f||!_0x39a368||_0x293d81['luHlD'](Date[_0x6db7c1(0x210)]()-_0x39a368,0x708*0x3e8)||!_0x23f94b?_0x284442['push'](_0x4fb98d[_0x4eb8f8]):_0x2e253e[_0x4fb98d[_0x4eb8f8]]=_0x35f70f;}let _0x31ad9c={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x293d81[_0x6db7c1(0x21f)](_0x284442['length'],0x0)&&(_0x31ad9c=await napCatCore[_0x6db7c1(0x22c)][_0x6db7c1(0x21a)]()[_0x6db7c1(0x21e)](_0x284442,!![]));const _0x50981a=_0x31ad9c[_0x6db7c1(0x212)];for(const _0x27c768 of _0x50981a[_0x6db7c1(0x20d)]()){Credentials[_0x6db7c1(0x1ed)]['set'](_0x27c768[0x0],_0x27c768[0x1]),Credentials['PskeyTime'][_0x6db7c1(0x22f)](_0x27c768[0x0],Date['now']());}const _0x4e208c=Object[_0x6db7c1(0x213)](Object[_0x6db7c1(0x221)](_0x50981a),_0x2e253e);if(_0x293d81[_0x6db7c1(0x214)](_0x31ad9c['result'],0x0))return _0x4e208c;else logError(_0x293d81['UJTlS'],_0x31ad9c[_0x6db7c1(0x1f8)]);return{};}static async[_0x42953d(0x1ef)](){const _0x36232d=_0x42953d,_0x418c3b=await napCatCore[_0x36232d(0x22c)][_0x36232d(0x1f2)]()[_0x36232d(0x1ef)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x418c3b?.['response']?.[_0x36232d(0x222)];}static async['getQzoneCookies'](){const _0x633ec0=_0x42953d,_0x50b78d={'gRvIA':function(_0x496912,_0x4ad259){return _0x496912+_0x4ad259;},'pjWwX':function(_0x3a25f4,_0x479895){return _0x3a25f4+_0x479895;},'PvWmW':function(_0x2e9e1c,_0x1e7ac4){return _0x2e9e1c+_0x1e7ac4;},'LUhuN':_0x633ec0(0x22b),'JhXno':_0x633ec0(0x1e9),'oGgfD':function(_0x3ff9d6,_0x40a09c,_0x2cfdca){return _0x3ff9d6(_0x40a09c,_0x2cfdca);},'vzvce':_0x633ec0(0x203)},_0x4ff41f=_0x50b78d[_0x633ec0(0x1f1)](_0x50b78d['gRvIA'](_0x50b78d['gRvIA'](_0x50b78d['gRvIA'](_0x50b78d['pjWwX'](_0x50b78d[_0x633ec0(0x20a)](_0x633ec0(0x1fe),selfInfo['uin']),_0x50b78d['LUhuN']),Credentials[_0x633ec0(0x226)]),_0x50b78d[_0x633ec0(0x1e3)]),selfInfo[_0x633ec0(0x1fb)]),'%2Finfocenter&keyindex=19%27');let _0x56d94e={};try{_0x56d94e=await RequestUtil['HttpsGetCookies'](_0x4ff41f);}catch(_0x139b2c){_0x50b78d[_0x633ec0(0x1ee)](logDebug,_0x50b78d[_0x633ec0(0x229)],_0x139b2c),_0x56d94e={};}return _0x56d94e;}static async['getSkey'](_0x46f967=!![]){const _0x1d860c=_0x42953d,_0x508e2a={'RORyT':function(_0x26cace,_0x3255b7){return _0x26cace-_0x3255b7;},'zAHbx':function(_0x6f3d7,_0x24a86){return _0x6f3d7*_0x24a86;},'yDGOi':function(_0x1c6a59,_0x2c9244){return _0x1c6a59!==_0x2c9244;},'poKGd':function(_0x47792e,_0x3400c0){return _0x47792e+_0x3400c0;},'OCrYs':function(_0x284ff5,_0x745712){return _0x284ff5+_0x745712;},'aoaYW':function(_0x4da865,_0x2e4760){return _0x4da865+_0x2e4760;},'pbYMY':function(_0x372cca,_0x4d24e3){return _0x372cca+_0x4d24e3;},'LCgUd':_0x1d860c(0x1fe),'HRKii':_0x1d860c(0x22b),'YjnCM':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','QZlDL':function(_0x3daac5,_0x54b621,_0x1e173c){return _0x3daac5(_0x54b621,_0x1e173c);},'XdgCM':_0x1d860c(0x215)};try{if(Credentials[_0x1d860c(0x219)]==0x0||_0x508e2a['RORyT'](Date['now'](),Credentials[_0x1d860c(0x219)])>_0x508e2a['zAHbx'](0x3e8,0xe10)||!_0x46f967){const _0x5c3c80=await napCatCore[_0x1d860c(0x22c)][_0x1d860c(0x201)]()[_0x1d860c(0x225)]('');if(_0x508e2a['yDGOi'](_0x5c3c80[_0x1d860c(0x218)],0x0))return'';const _0x2707df=_0x5c3c80[_0x1d860c(0x205)],_0x1ce78f=_0x5c3c80[_0x1d860c(0x1f9)],_0x548669=_0x508e2a[_0x1d860c(0x220)](_0x508e2a[_0x1d860c(0x220)](_0x508e2a[_0x1d860c(0x1ff)](_0x508e2a[_0x1d860c(0x20c)](_0x508e2a[_0x1d860c(0x20f)](_0x508e2a[_0x1d860c(0x1f3)],selfInfo[_0x1d860c(0x1fb)]),_0x508e2a[_0x1d860c(0x1fc)]),_0x2707df),_0x508e2a[_0x1d860c(0x21d)]),_0x1ce78f);let _0x3dcb9e={};try{_0x3dcb9e=await RequestUtil[_0x1d860c(0x20b)](_0x548669);}catch(_0x4d322e){_0x508e2a['QZlDL'](logDebug,_0x1d860c(0x1f4),_0x4d322e),_0x3dcb9e={};}const _0x59119e=_0x3dcb9e[_0x508e2a[_0x1d860c(0x202)]];if(!_0x59119e)return'';return Credentials[_0x1d860c(0x226)]=_0x2707df,Credentials[_0x1d860c(0x216)]=_0x1ce78f,Credentials['CreatTime']=Date[_0x1d860c(0x210)](),Credentials[_0x1d860c(0x22e)]=_0x59119e,_0x59119e;}return Credentials[_0x1d860c(0x22e)];}catch(_0x3c6a82){}return undefined;}} \ No newline at end of file +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 diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index c17f75b3..5beb9e6a 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x3ff975=_0x2e01;(function(_0x14b8b1,_0x819c77){const _0x5f213d=_0x2e01,_0x123adb=_0x14b8b1();while(!![]){try{const _0xc0a2b7=parseInt(_0x5f213d(0x212))/0x1*(-parseInt(_0x5f213d(0x237))/0x2)+-parseInt(_0x5f213d(0x26f))/0x3+-parseInt(_0x5f213d(0x206))/0x4+parseInt(_0x5f213d(0x247))/0x5+parseInt(_0x5f213d(0x20b))/0x6+-parseInt(_0x5f213d(0x243))/0x7+parseInt(_0x5f213d(0x1e7))/0x8*(parseInt(_0x5f213d(0x277))/0x9);if(_0xc0a2b7===_0x819c77)break;else _0x123adb['push'](_0x123adb['shift']());}catch(_0x48a02b){_0x123adb['push'](_0x123adb['shift']());}}}(_0x1f51,0x6a73e));function _0x2e01(_0x3eb7c3,_0x433859){const _0x1f5172=_0x1f51();return _0x2e01=function(_0x2e0184,_0x121096){_0x2e0184=_0x2e0184-0x1d2;let _0x3ba548=_0x1f5172[_0x2e0184];return _0x3ba548;},_0x2e01(_0x3eb7c3,_0x433859);}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 _0x1f51(){const _0x497080=['jyDus','ARcTT','yJOFD','ZNjgh','aElqa',';\x20p_uin=o','lLPQw','push','FWrUT','tnIFh','avatar','getPSkey','hfGOe','ACIpN','getGroupHonorInfo','TJCoQ','getGrouptNotice','ANLsQ','getSkey','rRIFd','SdqdT','QHOhS','&group_code=','2gpNvTx','SGIsH','jpbal','PERFROMER','Rdldx','current_talkative','qjKEo','talkative_list','UERDg','mTuBa','uRiAy','charCodeAt','512981hCkSul','all',';\x20uin=o','kWbmb','548015VICAZY','legend','ALL','bHRJe','TWEcz','vhkfl','VQlxe','jXeSK','IFSSq','DOtzQ','&page_start=','BSeQZ','Gibli','legend_list','HttpGetJson','Bnnck','hlmRK','performer_list','2|5|3|0|1|4','ZOpED','&qid=','RhNDg','talkative','获取当前群荣耀失败','DiNUP','xoGNv','agTxr','tHejt','pxGwF','qun.qq.com','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','mems','getGroupEssenceMsg','count','VXzkO','NPimV','desc','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','SKWPT','nguDc','255021WXulCo','split','&type=','qEIRo','uin','qid=','TgEgt','performer','9MzIqVb','OHcSl','qhBMx','PwLgy','HttpGetText','paDMe','STORONGE_NEWBI','IXmOW','XFJOm','ceil','pYIRK','NvwmF','qygcG','now','https://qun.qq.com/interactive/honorlist?gc=','&page_limit=20','DHVSk','kMIke','LEGEND','CekHk','description','UbROB','UCfcN','9562768noXXkq','huZyq','emotion','PoJzx','TLpwg','jePjB','wiDwe','dKhmw','errcode','&bkn=','OmBQf','PgIeb','length','emotion_list','GET','Gbecl','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','ZHdTE','actorList','genBkn','egcun','XEfTk','TALKACTIVE','GroupData',';\x20skey=','YYxxM','获取龙王信息失败','mXJew','get','GroupTime','tfsvf','3276488uJceAc','TTwIA','setGroupNotice','name','TPcub','4945704FRoeIn','retcode','zyIct','zFdyk','match','eRkJu','toString','715791qlhjXL','MDmfL','获取快乐源泉失败','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','trim','CXXOS','vimiu','McTEd','EMOTION','FZOeI','dKbeV','KEAeE','QHvJh','p_skey='];_0x1f51=function(){return _0x497080;};return _0x1f51();}(function(_0x39eec8){const _0x40bdb2=_0x2e01,_0x350af5={'ACIpN':_0x40bdb2(0x259),'OmBQf':_0x40bdb2(0x1e2),'uyale':_0x40bdb2(0x248),'McTEd':_0x40bdb2(0x1d6),'TWEcz':'strong_newbie','MDmfL':_0x40bdb2(0x249),'paDMe':_0x40bdb2(0x244),'eRkJu':_0x40bdb2(0x276),'ZHdTE':'EMOTION','zyIct':_0x40bdb2(0x1e9),'qjKEo':_0x40bdb2(0x25d)},_0x70db9f=_0x350af5[_0x40bdb2(0x22d)][_0x40bdb2(0x270)]('|');let _0x243bba=0x0;while(!![]){switch(_0x70db9f[_0x243bba++]){case'0':_0x39eec8[_0x350af5[_0x40bdb2(0x1f1)]]=_0x350af5['uyale'];continue;case'1':_0x39eec8[_0x350af5[_0x40bdb2(0x219)]]=_0x350af5[_0x40bdb2(0x24b)];continue;case'2':_0x39eec8[_0x350af5[_0x40bdb2(0x213)]]=_0x350af5[_0x40bdb2(0x1d5)];continue;case'3':_0x39eec8[_0x40bdb2(0x23a)]=_0x350af5[_0x40bdb2(0x210)];continue;case'4':_0x39eec8[_0x350af5[_0x40bdb2(0x1f8)]]=_0x350af5[_0x40bdb2(0x20d)];continue;case'5':_0x39eec8[_0x40bdb2(0x1fd)]=_0x350af5[_0x40bdb2(0x23d)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x3ff975(0x267)](_0x125c22,_0x593a24){const _0x4b9c7b=_0x3ff975,_0x597f30={'YYxxM':_0x4b9c7b(0x264),'PoJzx':function(_0x1c40b8,_0x5d9445){return _0x1c40b8+_0x5d9445;},'yJOFD':function(_0x44604d,_0x36daec){return _0x44604d+_0x36daec;},'Bnnck':function(_0x265c3b,_0x3dfbfc){return _0x265c3b+_0x3dfbfc;},'DOtzQ':function(_0x290100,_0x260874){return _0x290100+_0x260874;},'hfGOe':';\x20skey=','BSeQZ':';\x20p_uin=o','QHOhS':_0x4b9c7b(0x245),'zFdyk':function(_0x2a60a1,_0x4c0371){return _0x2a60a1||_0x4c0371;},'Rdldx':function(_0xcddc6e,_0x4277fd){return _0xcddc6e+_0x4277fd;},'tHesg':function(_0x187166,_0xeb1ba7){return _0x187166+_0xeb1ba7;},'XEfTk':function(_0x2cd6ab,_0x4d50f6){return _0x2cd6ab+_0x4d50f6;},'RAFre':_0x4b9c7b(0x215),'CGhya':_0x4b9c7b(0x1df),'NPimV':_0x4b9c7b(0x1f5),'PgIeb':function(_0x32cfc3,_0x11d23d){return _0x32cfc3!==_0x11d23d;}},_0x4c0a0a=(await NTQQUserApi[_0x4b9c7b(0x22b)]([_0x597f30[_0x4b9c7b(0x200)]]))[_0x4b9c7b(0x264)],_0x114347=await NTQQUserApi[_0x4b9c7b(0x232)](),_0x13bdc0=_0x597f30[_0x4b9c7b(0x1ea)](_0x597f30[_0x4b9c7b(0x222)](_0x597f30[_0x4b9c7b(0x256)](_0x597f30[_0x4b9c7b(0x1ea)](_0x597f30[_0x4b9c7b(0x250)](_0x4b9c7b(0x21f),_0x4c0a0a)+_0x597f30[_0x4b9c7b(0x22c)],_0x114347),_0x597f30[_0x4b9c7b(0x252)])+selfInfo[_0x4b9c7b(0x273)],_0x597f30[_0x4b9c7b(0x235)]),selfInfo[_0x4b9c7b(0x273)]);if(_0x597f30[_0x4b9c7b(0x20e)](!_0x114347,!_0x4c0a0a))return undefined;const _0x3b9e1f=WebApi[_0x4b9c7b(0x1fa)](_0x114347),_0x8d174b=_0x597f30[_0x4b9c7b(0x23b)](_0x597f30['tHesg'](_0x597f30['DOtzQ'](_0x597f30[_0x4b9c7b(0x1fc)](_0x597f30['PoJzx'](_0x597f30['PoJzx'](_0x597f30['RAFre'],_0x3b9e1f),_0x4b9c7b(0x236)),_0x125c22),_0x4b9c7b(0x251)),_0x593a24),_0x597f30['CGhya']);let _0x348e29;try{_0x348e29=await RequestUtil['HttpGetJson'](_0x8d174b,_0x597f30[_0x4b9c7b(0x26a)],'',{'Cookie':_0x13bdc0});}catch{return undefined;}if(_0x597f30[_0x4b9c7b(0x1f2)](_0x348e29[_0x4b9c7b(0x20c)],0x0))return undefined;return _0x348e29;}static async['getGroupMembers'](_0x37df0b,_0x331a5f=!![]){const _0x4d1ccc=_0x3ff975,_0x5e6ef0={'QHvJh':function(_0x40c7f7,_0x46c051){return _0x40c7f7*_0x46c051;},'EiliN':_0x4d1ccc(0x264),'SGIsH':function(_0x41f966,_0x1c8e2c){return _0x41f966+_0x1c8e2c;},'Gibli':function(_0x442e3f,_0x5d6ba6){return _0x442e3f+_0x5d6ba6;},'wiDwe':function(_0x2b2323,_0x2a920c){return _0x2b2323+_0x2a920c;},'qEIRo':_0x4d1ccc(0x21f),'DHVSk':';\x20skey=','jpbal':_0x4d1ccc(0x225),'pxGwF':function(_0x1cd6ee,_0x588dec){return _0x1cd6ee||_0x588dec;},'vhkfl':function(_0x422c0a,_0x4208d9){return _0x422c0a+_0x4208d9;},'TJCoQ':_0x4d1ccc(0x26c),'CekHk':'&bkn=','ANLsQ':'POST','SdqdT':function(_0x2eed09,_0x1f0d33){return _0x2eed09<=_0x1f0d33;},'CXXOS':function(_0x1ba432,_0x582bb9){return _0x1ba432+_0x582bb9;},'VXzkO':function(_0x419469,_0x26a85d){return _0x419469+_0x26a85d;},'tnIFh':'&end=','OHcSl':'&sort=1&gc=','kMIke':function(_0x5d342f,_0x7cd5cb){return _0x5d342f<=_0x7cd5cb;},'FZOeI':function(_0x53f1e8,_0x5b1e3c){return _0x53f1e8!==_0x5b1e3c;}};let _0x536960=new Array();try{let _0x5c111f=WebGroupData[_0x4d1ccc(0x1fe)][_0x4d1ccc(0x203)](_0x37df0b),_0x2a3d04=WebGroupData[_0x4d1ccc(0x204)]['get'](_0x37df0b);if(!_0x2a3d04||Date['now']()-_0x2a3d04>_0x5e6ef0[_0x4d1ccc(0x21e)](0x708,0x3e8)||!_0x331a5f){const _0x30e999=(await NTQQUserApi[_0x4d1ccc(0x22b)]([_0x4d1ccc(0x264)]))[_0x5e6ef0['EiliN']],_0x15cdeb=await NTQQUserApi[_0x4d1ccc(0x232)](),_0x361607=_0x5e6ef0[_0x4d1ccc(0x238)](_0x5e6ef0[_0x4d1ccc(0x238)](_0x5e6ef0[_0x4d1ccc(0x253)](_0x5e6ef0[_0x4d1ccc(0x1ed)](_0x5e6ef0[_0x4d1ccc(0x238)](_0x5e6ef0[_0x4d1ccc(0x272)],_0x30e999),_0x5e6ef0[_0x4d1ccc(0x1e0)]),_0x15cdeb),_0x5e6ef0[_0x4d1ccc(0x239)]),selfInfo[_0x4d1ccc(0x273)]);if(_0x5e6ef0[_0x4d1ccc(0x263)](!_0x15cdeb,!_0x30e999))return _0x536960;const _0x4b5db2=WebApi[_0x4d1ccc(0x1fa)](_0x15cdeb),_0x26ace4=[],_0x24a3b6=await RequestUtil[_0x4d1ccc(0x255)](_0x5e6ef0['SGIsH'](_0x5e6ef0['vhkfl'](_0x5e6ef0[_0x4d1ccc(0x22f)],_0x37df0b)+_0x5e6ef0[_0x4d1ccc(0x1e3)],_0x4b5db2),_0x5e6ef0[_0x4d1ccc(0x231)],'',{'Cookie':_0x361607});if(!_0x24a3b6?.[_0x4d1ccc(0x268)]||_0x24a3b6?.[_0x4d1ccc(0x1ef)]!==0x0||!_0x24a3b6?.[_0x4d1ccc(0x266)])return[];else for(const _0x5165a5 in _0x24a3b6[_0x4d1ccc(0x266)]){_0x536960[_0x4d1ccc(0x227)](_0x24a3b6[_0x4d1ccc(0x266)][_0x5165a5]);}const _0x159462=Math[_0x4d1ccc(0x1d9)](_0x24a3b6[_0x4d1ccc(0x268)]/0x28);for(let _0x13074c=0x2;_0x5e6ef0[_0x4d1ccc(0x234)](_0x13074c,_0x159462);_0x13074c++){const _0x38c8f9=RequestUtil[_0x4d1ccc(0x255)](_0x5e6ef0[_0x4d1ccc(0x217)](_0x5e6ef0[_0x4d1ccc(0x269)](_0x5e6ef0[_0x4d1ccc(0x24c)](_0x4d1ccc(0x265)+_0x5e6ef0[_0x4d1ccc(0x21e)](_0x13074c-0x1,0x28)+_0x5e6ef0[_0x4d1ccc(0x229)],_0x5e6ef0[_0x4d1ccc(0x21e)](_0x13074c,0x28))+_0x5e6ef0[_0x4d1ccc(0x278)]+_0x37df0b,'&bkn='),_0x4b5db2),'POST','',{'Cookie':_0x361607});_0x26ace4[_0x4d1ccc(0x227)](_0x38c8f9);}for(let _0x3b80f=0x1;_0x5e6ef0[_0x4d1ccc(0x1e1)](_0x3b80f,_0x159462);_0x3b80f++){const _0x19f62b=await _0x26ace4[_0x3b80f];if(!_0x19f62b?.[_0x4d1ccc(0x268)]||_0x5e6ef0[_0x4d1ccc(0x21b)](_0x19f62b?.['errcode'],0x0)||!_0x19f62b?.['mems'])continue;for(const _0xb379c5 in _0x19f62b['mems']){_0x536960['push'](_0x19f62b['mems'][_0xb379c5]);}}WebGroupData['GroupData']['set'](_0x37df0b,_0x536960),WebGroupData[_0x4d1ccc(0x204)]['set'](_0x37df0b,Date[_0x4d1ccc(0x1dd)]());}else _0x536960=_0x5c111f;}catch{return _0x536960;}return _0x536960;}static async[_0x3ff975(0x208)](_0xc9c564,_0x1f7ebf=''){const _0x486154=_0x3ff975,_0x6927fa={'RbMZQ':'qun.qq.com','Gbecl':function(_0x2d6232,_0x57c1af){return _0x2d6232+_0x57c1af;},'TLpwg':function(_0x155bab,_0x52a2cd){return _0x155bab+_0x52a2cd;},'IFSSq':function(_0x14e3c7,_0x46ec14){return _0x14e3c7+_0x46ec14;},'rRIFd':_0x486154(0x21f),'bHRJe':_0x486154(0x1ff),'uRiAy':function(_0x4d12fa,_0x53333a){return _0x4d12fa+_0x53333a;},'ZOpED':function(_0x398af6,_0x413e9e){return _0x398af6+_0x413e9e;},'qygcG':function(_0x7ecc38,_0xd82271){return _0x7ecc38+_0xd82271;},'vimiu':_0x486154(0x274),'TTwIA':'&text=','tHejt':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','agTxr':function(_0x362993,_0x103de2){return _0x362993+_0x103de2;},'UERDg':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0x529c4a=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0x6927fa['RbMZQ']],_0x4b50b9=await NTQQUserApi[_0x486154(0x232)](),_0x19b367=_0x6927fa[_0x486154(0x1f6)](_0x6927fa[_0x486154(0x1eb)](_0x6927fa[_0x486154(0x1eb)](_0x6927fa[_0x486154(0x24f)](_0x6927fa[_0x486154(0x24f)](_0x6927fa[_0x486154(0x233)],_0x529c4a),_0x6927fa[_0x486154(0x24a)]),_0x4b50b9),_0x486154(0x225)),selfInfo[_0x486154(0x273)]);let _0x5eba3e=undefined;if(!_0x4b50b9||!_0x529c4a)return undefined;const _0x51ec12=WebApi[_0x486154(0x1fa)](_0x4b50b9),_0x213469=_0x6927fa[_0x486154(0x24f)](_0x6927fa[_0x486154(0x1f6)](_0x6927fa[_0x486154(0x241)](_0x6927fa[_0x486154(0x25a)](_0x6927fa[_0x486154(0x1dc)](_0x6927fa[_0x486154(0x1f6)](_0x6927fa[_0x486154(0x218)],_0xc9c564),_0x486154(0x1f0)),_0x51ec12),_0x6927fa[_0x486154(0x207)]),_0x1f7ebf),_0x6927fa[_0x486154(0x262)]),_0x174979=_0x6927fa[_0x486154(0x261)](_0x6927fa[_0x486154(0x23f)],_0x51ec12);try{return _0x5eba3e=await RequestUtil[_0x486154(0x255)](_0x174979,_0x486154(0x1f5),'',{'Cookie':_0x19b367}),_0x5eba3e;}catch(_0x4286d9){return undefined;}return undefined;}static async[_0x3ff975(0x230)](_0x249b9a){const _0x28f95d=_0x3ff975,_0x258893={'hlmRK':_0x28f95d(0x264),'SKWPT':function(_0x377e2f,_0x35ebe2){return _0x377e2f+_0x35ebe2;},'egcun':function(_0x401ab7,_0x3799e5){return _0x401ab7+_0x3799e5;},'xzuzc':_0x28f95d(0x21f),'lLPQw':_0x28f95d(0x1ff),'DmbXt':function(_0x1f7462,_0x4ce054){return _0x1f7462||_0x4ce054;},'mTuBa':function(_0x102b90,_0x229136){return _0x102b90+_0x229136;},'ggiOz':function(_0x39c731,_0x136add){return _0x39c731+_0x136add;},'qhBMx':_0x28f95d(0x25b),'XFJOm':_0x28f95d(0x1f7),'dKbeV':_0x28f95d(0x1f5),'UCfcN':function(_0x2c9f53,_0x3906fe){return _0x2c9f53!==_0x3906fe;}},_0x4b7ef9=(await NTQQUserApi[_0x28f95d(0x22b)]([_0x258893[_0x28f95d(0x257)]]))[_0x258893[_0x28f95d(0x257)]],_0x576297=await NTQQUserApi['getSkey'](),_0x9d5775=_0x258893[_0x28f95d(0x26d)](_0x258893[_0x28f95d(0x26d)](_0x258893[_0x28f95d(0x1fb)](_0x258893[_0x28f95d(0x26d)](_0x258893['xzuzc'],_0x4b7ef9),_0x258893[_0x28f95d(0x226)]),_0x576297)+';\x20p_uin=o',selfInfo[_0x28f95d(0x273)]);let _0x422a35=undefined;if(_0x258893['DmbXt'](!_0x576297,!_0x4b7ef9))return undefined;const _0x44a1c5=WebApi['genBkn'](_0x576297),_0x52ec36=_0x258893[_0x28f95d(0x1fb)](_0x258893['SKWPT'](_0x258893[_0x28f95d(0x240)](_0x258893['ggiOz']('https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',_0x44a1c5),_0x258893[_0x28f95d(0x1d2)]),_0x249b9a),_0x258893[_0x28f95d(0x1d8)]);try{_0x422a35=await RequestUtil[_0x28f95d(0x255)](_0x52ec36,_0x258893[_0x28f95d(0x21c)],'',{'Cookie':_0x9d5775});if(_0x258893[_0x28f95d(0x1e6)](_0x422a35?.['ec'],0x0))return undefined;return _0x422a35;}catch(_0x4e899){return undefined;}return undefined;}static[_0x3ff975(0x1fa)](_0x350fd3){const _0x3f5781=_0x3ff975,_0x1b8ddb={'kwGHP':function(_0x2e5ab4,_0x3f57b1){return _0x2e5ab4||_0x3f57b1;},'jyDus':function(_0x1ee93a,_0x5075b9){return _0x1ee93a+_0x5075b9;},'IXmOW':function(_0x38b99a,_0x17397c){return _0x38b99a+_0x17397c;},'jSzbK':function(_0x2436d2,_0x752182){return _0x2436d2&_0x752182;}};_0x350fd3=_0x1b8ddb['kwGHP'](_0x350fd3,'');let _0x19926f=0x1505;for(let _0x4065ee=0x0;_0x4065ee<_0x350fd3[_0x3f5781(0x1f3)];_0x4065ee++){const _0xb7f69b=_0x350fd3[_0x3f5781(0x242)](_0x4065ee);_0x19926f=_0x1b8ddb[_0x3f5781(0x220)](_0x1b8ddb[_0x3f5781(0x1d7)](_0x19926f,_0x19926f<<0x5),_0xb7f69b);}return _0x1b8ddb['jSzbK'](_0x19926f,0x7fffffff)[_0x3f5781(0x211)]();}static async[_0x3ff975(0x22e)](_0x4e0ecc,_0x42e53f){const _0x1aec71=_0x3ff975,_0x3c9ac7={'aElqa':function(_0x5cc042,_0x4e75b2){return _0x5cc042+_0x4e75b2;},'ARcTT':_0x1aec71(0x1de),'RhNDg':_0x1aec71(0x271),'pYIRK':_0x1aec71(0x1f5),'PwLgy':function(_0x18d825,_0x16010a){return _0x18d825===_0x16010a;},'TPcub':function(_0x5ead77,_0x12ab51,_0x5a1745,_0x7cd56b){return _0x5ead77(_0x12ab51,_0x5a1745,_0x7cd56b);},'NvwmF':_0x1aec71(0x264),'UbROB':function(_0x5c4818,_0xe7c850){return _0x5c4818||_0xe7c850;},'ypMhb':function(_0x140bbf,_0x504c75){return _0x140bbf+_0x504c75;},'FWrUT':function(_0x6d9af4,_0x190e72){return _0x6d9af4+_0x190e72;},'KEAeE':function(_0x337a16,_0x1187ee){return _0x337a16+_0x1187ee;},'VQlxe':function(_0x47ddfa,_0x3a7b97){return _0x47ddfa+_0x3a7b97;},'ZNjgh':_0x1aec71(0x1ff),'aRrWB':';\x20p_uin=o','tfsvf':_0x1aec71(0x245),'nguDc':function(_0x5cffc7,_0x1cd35a){return _0x5cffc7===_0x1cd35a;},'xoGNv':function(_0x33a22e,_0x5959a9){return _0x33a22e===_0x5959a9;},'jXeSK':function(_0x2577cd,_0x18ee03,_0x3cc136){return _0x2577cd(_0x18ee03,_0x3cc136);},'XydVw':_0x1aec71(0x201),'jePjB':function(_0x4e6db4,_0x12925f,_0x429d6b){return _0x4e6db4(_0x12925f,_0x429d6b);},'TgEgt':'获取群聊之火失败','DiNUP':function(_0x1bee2b,_0x3e4e4c){return _0x1bee2b===_0x3e4e4c;},'kWbmb':function(_0x5f4ad6,_0x13368f){return _0x5f4ad6===_0x13368f;},'huZyq':'获取群聊炽焰失败','mXJew':_0x1aec71(0x214),'dKhmw':function(_0x594d8c,_0x5e390d,_0x161b78){return _0x594d8c(_0x5e390d,_0x161b78);}},_0xe38506=(await NTQQUserApi['getPSkey']([_0x3c9ac7['NvwmF']]))[_0x3c9ac7[_0x1aec71(0x1db)]],_0x4dcc62=await NTQQUserApi['getSkey']();if(_0x3c9ac7[_0x1aec71(0x1e5)](!_0x4dcc62,!_0xe38506))return undefined;async function _0x162b88(_0x351f19,_0xb6b994){const _0x1bc454=_0x1aec71;let _0x444453=_0x3c9ac7['aElqa'](_0x3c9ac7[_0x1bc454(0x224)](_0x3c9ac7['aElqa'](_0x3c9ac7[_0x1bc454(0x221)],_0x351f19),_0x3c9ac7[_0x1bc454(0x25c)]),_0xb6b994[_0x1bc454(0x211)]()),_0x59baa0='',_0x222a84;try{_0x59baa0=await RequestUtil[_0x1bc454(0x1d4)](_0x444453,_0x3c9ac7[_0x1bc454(0x1da)],'',{'Cookie':_0xc851cc});const _0x223445=_0x59baa0[_0x1bc454(0x20f)](/window\.__INITIAL_STATE__=(.*?);/);return _0x223445&&(_0x222a84=JSON['parse'](_0x223445[0x1][_0x1bc454(0x216)]())),_0x3c9ac7['PwLgy'](_0xb6b994,0x1)?_0x222a84?.['talkativeList']:_0x222a84?.[_0x1bc454(0x1f9)];}catch(_0xfad4ac){_0x3c9ac7[_0x1bc454(0x20a)](logDebug,_0x1bc454(0x25e),_0x444453,_0xfad4ac);}return undefined;}let _0x184589={'group_id':_0x4e0ecc};const _0xc851cc=_0x3c9ac7[_0x1aec71(0x224)](_0x3c9ac7['ypMhb'](_0x3c9ac7[_0x1aec71(0x228)](_0x3c9ac7[_0x1aec71(0x21d)](_0x3c9ac7[_0x1aec71(0x24d)](_0x1aec71(0x21f),_0xe38506),_0x3c9ac7[_0x1aec71(0x223)])+_0x4dcc62,_0x3c9ac7['aRrWB'])+selfInfo[_0x1aec71(0x273)],_0x3c9ac7[_0x1aec71(0x205)]),selfInfo[_0x1aec71(0x273)]);if(_0x3c9ac7[_0x1aec71(0x26e)](_0x42e53f,WebHonorType[_0x1aec71(0x1fd)])||_0x3c9ac7[_0x1aec71(0x260)](_0x42e53f,WebHonorType[_0x1aec71(0x249)]))try{let _0x31ce3c=await _0x3c9ac7[_0x1aec71(0x24e)](_0x162b88,_0x4e0ecc,0x1);if(!_0x31ce3c)throw new Error(_0x3c9ac7['XydVw']);_0x184589[_0x1aec71(0x23c)]={'user_id':_0x31ce3c[0x0]?.['uin'],'avatar':_0x31ce3c[0x0]?.[_0x1aec71(0x22a)],'nickname':_0x31ce3c[0x0]?.['name'],'day_count':0x0,'description':_0x31ce3c[0x0]?.[_0x1aec71(0x26b)]},_0x184589[_0x1aec71(0x23e)]=[];for(const _0x3151e0 of _0x31ce3c){_0x184589[_0x1aec71(0x23e)][_0x1aec71(0x227)]({'user_id':_0x3151e0?.[_0x1aec71(0x273)],'avatar':_0x3151e0?.[_0x1aec71(0x22a)],'description':_0x3151e0?.[_0x1aec71(0x26b)],'day_count':0x0,'nickname':_0x3151e0?.[_0x1aec71(0x209)]});}}catch(_0x438497){logDebug(_0x438497);}if(_0x3c9ac7[_0x1aec71(0x1d3)](_0x42e53f,WebHonorType[_0x1aec71(0x23a)])||_0x3c9ac7[_0x1aec71(0x1d3)](_0x42e53f,WebHonorType[_0x1aec71(0x249)]))try{let _0x160688=await _0x3c9ac7[_0x1aec71(0x1ec)](_0x162b88,_0x4e0ecc,0x2);if(!_0x160688)throw new Error(_0x3c9ac7[_0x1aec71(0x275)]);_0x184589[_0x1aec71(0x258)]=[];for(const _0x39115b of _0x160688){_0x184589[_0x1aec71(0x258)][_0x1aec71(0x227)]({'user_id':_0x39115b?.[_0x1aec71(0x273)],'nickname':_0x39115b?.[_0x1aec71(0x209)],'avatar':_0x39115b?.[_0x1aec71(0x22a)],'description':_0x39115b?.['desc']});}}catch(_0x518a10){logDebug(_0x518a10);}if(_0x3c9ac7[_0x1aec71(0x25f)](_0x42e53f,WebHonorType[_0x1aec71(0x23a)])||_0x3c9ac7[_0x1aec71(0x246)](_0x42e53f,WebHonorType['ALL']))try{let _0xcaaaad=await _0x162b88(_0x4e0ecc,0x3);if(!_0xcaaaad)throw new Error(_0x3c9ac7[_0x1aec71(0x1e8)]);_0x184589[_0x1aec71(0x254)]=[];for(const _0x13c485 of _0xcaaaad){_0x184589[_0x1aec71(0x254)][_0x1aec71(0x227)]({'user_id':_0x13c485?.[_0x1aec71(0x273)],'nickname':_0x13c485?.[_0x1aec71(0x209)],'avatar':_0x13c485?.[_0x1aec71(0x22a)],'desc':_0x13c485?.[_0x1aec71(0x1e4)]});}}catch(_0xd5db8){_0x3c9ac7[_0x1aec71(0x1ec)](logDebug,_0x3c9ac7[_0x1aec71(0x1e8)],_0xd5db8);}if(_0x42e53f===WebHonorType[_0x1aec71(0x21a)]||_0x3c9ac7[_0x1aec71(0x26e)](_0x42e53f,WebHonorType[_0x1aec71(0x249)]))try{let _0x249635=await _0x162b88(_0x4e0ecc,0x6);if(!_0x249635)throw new Error(_0x3c9ac7[_0x1aec71(0x202)]);_0x184589[_0x1aec71(0x1f4)]=[];for(const _0x43eefa of _0x249635){_0x184589[_0x1aec71(0x1f4)][_0x1aec71(0x227)]({'user_id':_0x43eefa?.['uin'],'nickname':_0x43eefa?.[_0x1aec71(0x209)],'avatar':_0x43eefa?.[_0x1aec71(0x22a)],'desc':_0x43eefa?.[_0x1aec71(0x1e4)]});}}catch(_0x3b0850){_0x3c9ac7[_0x1aec71(0x1ee)](logDebug,_0x1aec71(0x214),_0x3b0850);}return(_0x3c9ac7[_0x1aec71(0x246)](_0x42e53f,WebHonorType[_0x1aec71(0x21a)])||_0x42e53f===WebHonorType[_0x1aec71(0x249)])&&(_0x184589['strong_newbie_list']=[]),_0x184589;}} \ No newline at end of file +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 diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index faee8f5c..b910e3d0 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x4b3abe=_0x2449;(function(_0x20b741,_0x2a67cf){const _0x48b6b4=_0x2449,_0x1e988c=_0x20b741();while(!![]){try{const _0x443249=-parseInt(_0x48b6b4(0x24e))/0x1+parseInt(_0x48b6b4(0x1d6))/0x2*(parseInt(_0x48b6b4(0x207))/0x3)+parseInt(_0x48b6b4(0x22e))/0x4+parseInt(_0x48b6b4(0x212))/0x5+parseInt(_0x48b6b4(0x213))/0x6+parseInt(_0x48b6b4(0x263))/0x7*(-parseInt(_0x48b6b4(0x23f))/0x8)+-parseInt(_0x48b6b4(0x24a))/0x9;if(_0x443249===_0x2a67cf)break;else _0x1e988c['push'](_0x1e988c['shift']());}catch(_0x36beab){_0x1e988c['push'](_0x1e988c['shift']());}}}(_0xaa47,0xf1793));import _0x36b2a8 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x54f808 from'node:path';import _0x177217 from'node:os';import _0x570f9c from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0xaa47(){const _0x12b733=['140022008','onRecvSysMsg','VlFde','没有可快速登录的QQ号','initDataListener','MsgListener','NodeIQQNTWrapperSession','./.config/QQ','mkdirSync','wiVUI','session','NodeIKernelBuddyListener','NodeIKernelLoginService','NodeIDependsAdapter','onMemberListChange','sLcKs','./nt_qq/global','onBuddyListChange','JhYRm','pzeNr','VNvEl','数据库初始化失败','initWithDeskTopConfig','\x20has\x20no\x20method\x20','isQuickLogin','loginErrorInfo','6695560lQkhGr','util','NEKeC','assign','EGXnX','replace','initSession\x20failed','getNTUserDataInfoConfig','onProfileDetailInfoChanged','VdpuG',')已登录,无法重复登录','dataPath','onSessionInitComplete','Windows\x2010\x20Pro','NodeIDispatcherAdapter','result','uHaZA','27856gNzVjA','tipsTitle','addKernelProfileListener','name','EXmaE','gCvyU','getLoginList','base64','uid','onLoginSuccessFuncList','recallTime','21576159bNTqDF','getQuickLoginList','XDbeU','proxyHandler','877250onNyIR','resolve','message_sent','infos','hHXDZ','loginService','md5','UQpBN','createMemberListScene','catch','xovOf','yiXjS','getBuddyList','map','PsLdf','qrcodeUrl','consoleLog','data:image/png;base64,','onRecvMsg','has','now','2191ttyFWv','digest','onQRCodeSessionFailed','nHzvA','tkwpT','homedir','addMsg','TrAXU','curVersion','addKernelBuddyListener','LJUzs','lOvXE','UuZTF','TMsvg','undefined','split','LocalLoginInfoList','update','VSLfA','UNnCS','fileLog','uin','ZHoZV','quickLoginWithUin','tipsDesc','clientType','NodeIKernelSessionListener','init','UILzd','QVsIf','from','启动失败:\x20','aFaWj','getQRCodePicture','errMsg','getGroupService','groupMemberList_MainWindow','loginListener','NodeIGlobalAdapter','startNT','addKernelMsgListener','delete','EfYXR','set','onGroupListUpdate','pngBase64QrcodeData','passwordLogin','length','609150wpVQWA','addListener','dataPathGlobal','ySfth','onQRCodeGetPicture','isDelete','本账号数据/缓存目录:','当前账号(','sceneId','packet_received','WjITR','IBvjO','message_received','updateMsg','aFfYY','floor','hNnNt','onAddSendMsg','pWbBS','hWFMH','[KickedOffLine]\x20[','then','qrLogin','onSelfStatusChanged','msgId','EGXtG','ULjda','onQRCodeLoginSucceed','lFktd','engine','登录失败','onUserLoggedIn','forEach','快速登录失败\x20','VaIHk','constructor','getMsgService','getBuddyService','hex','addKernelLoginListener','NodeIQQNTWrapperEngine','initConfig','getNextMemberList','get','DVTRp','groupCode','onMemberInfoChange','NodeIKernelGroupListener','140022013','12iwEkOV','onLoginFailed','OCcpr','addKernelGroupListener','push','eLseI','devUid','last_message_time','NodeIKernelLoginListener','onMsgInfoListUpdate','BuddyListener','7804180HWsWKy','5403096AivvPC'];_0xaa47=function(){return _0x12b733;};return _0xaa47();}function _0x2449(_0x220191,_0x7c8178){const _0xaa47be=_0xaa47();return _0x2449=function(_0x2449d5,_0x475e08){_0x2449d5=_0x2449d5-0x1cd;let _0x177026=_0xaa47be[_0x2449d5];return _0x177026;},_0x2449(_0x220191,_0x7c8178);}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0xb997e7 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{['session'];['util'];[_0x4b3abe(0x1f3)];['loginListener'];[_0x4b3abe(0x253)];[_0x4b3abe(0x248)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x1cb94c=_0x4b3abe,zCYLdf={'EGXnX':function(x,y){return x===y;},'AaeTf':_0x1cb94c(0x271)};if(zCYLdf[_0x1cb94c(0x232)](typeof target[prop],zCYLdf['AaeTf']))return(...args)=>{const _0x5bf368=_0x1cb94c;logDebug(target[_0x5bf368(0x1f9)][_0x5bf368(0x242)]+_0x5bf368(0x22b)+prop);};return Reflect[_0x1cb94c(0x201)](target,prop,receiver);}};constructor(){const _0x41df3d=_0x4b3abe,_0x5c87eb={'OCcpr':function(_0x2ed48e,_0x4fa783){return _0x2ed48e+_0x4fa783;},'mwggg':_0x41df3d(0x1dd),'EGXtG':_0x41df3d(0x238),'JhYRm':function(_0x5b9331,_0x19d50a,_0x4e0004){return _0x5b9331(_0x19d50a,_0x4e0004);},'gCvyU':'./NapCat/data','wiVUI':function(_0x5dae58,_0x21487a,_0x48db7b){return _0x5dae58(_0x21487a,_0x48db7b);},'aFaWj':_0x41df3d(0x1dc),'NEKeC':function(_0x4cbc56,_0xc45b3,_0x54c19b){return _0x4cbc56(_0xc45b3,_0x54c19b);},'fKjvo':_0x41df3d(0x234),'QVsIf':function(_0x5e6287,_0x4549b4,_0x44bd41){return _0x5e6287(_0x4549b4,_0x44bd41);},'LJUzs':_0x41df3d(0x1f4),'yiXjS':function(_0x3be11f,_0x415d75){return _0x3be11f==_0x415d75;}};this[_0x41df3d(0x1f3)]=new _0x36b2a8[(_0x41df3d(0x1fe))](),this[_0x41df3d(0x22f)]=new _0x36b2a8['NodeQQNTWrapperUtil'](),this[_0x41df3d(0x253)]=new _0x36b2a8[(_0x41df3d(0x220))](),this[_0x41df3d(0x21e)]=new _0x36b2a8[(_0x41df3d(0x21a))](),this[_0x41df3d(0x288)]=new LoginListener(),this['loginListener'][_0x41df3d(0x1f5)]=_0x163668=>{const _0x5dba88=_0x41df3d;logError(_0x5c87eb[_0x5dba88(0x209)](_0x5c87eb['mwggg'],_0x163668)+_0x5c87eb[_0x5dba88(0x1ef)]);},this['loginListener'][_0x41df3d(0x1f1)]=_0x10cfeb=>{const _0x35a38b=_0x41df3d,_0x257fc0={'eLseI':function(_0x45129e,_0xda28f8,_0x4c9c38){const _0x2a2866=_0x2449;return _0x5c87eb[_0x2a2866(0x280)](_0x45129e,_0xda28f8,_0x4c9c38);}};this['initSession'](_0x10cfeb['uin'],_0x10cfeb[_0x35a38b(0x247)])['then'](_0x4a126a=>{const _0x2c9658=_0x35a38b,_0x2eb12e={'bBFeE':function(_0x37bd7a,_0x319f1b){return _0x37bd7a instanceof _0x319f1b;}};selfInfo['uin']=_0x10cfeb['uin'],selfInfo[_0x2c9658(0x247)]=_0x10cfeb[_0x2c9658(0x247)],napCatConfig['read'](),_0x5c87eb[_0x2c9658(0x226)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig[_0x2c9658(0x277)]),enableConsoleLog(napCatConfig[_0x2c9658(0x25e)]),setLogSelfInfo(selfInfo);const _0x56358d=_0x54f808['resolve'](this[_0x2c9658(0x239)],_0x5c87eb[_0x2c9658(0x244)]);_0x570f9c[_0x2c9658(0x21c)](_0x56358d,{'recursive':!![]}),_0x5c87eb[_0x2c9658(0x21d)](logDebug,_0x5c87eb[_0x2c9658(0x283)],_0x56358d),dbUtil[_0x2c9658(0x27e)](_0x54f808['resolve'](_0x56358d,'./'+_0x10cfeb[_0x2c9658(0x278)]+'-v2.db'))[_0x2c9658(0x1eb)](()=>{const _0x38be4c=_0x2c9658;this[_0x38be4c(0x218)](),this[_0x38be4c(0x248)][_0x38be4c(0x25b)](_0x4a0b72=>{const _0x1f60bd=_0x38be4c,_0xfbf69f={'lOvXE':function(_0x23ca6f,_0x41c6ac){return _0x2eb12e['bBFeE'](_0x23ca6f,_0x41c6ac);}};new Promise((_0x3338f6,_0x210e7d)=>{const _0x510f7f=_0x2449,_0x2c641c=_0x4a0b72(_0x10cfeb['uin'],_0x10cfeb[_0x510f7f(0x247)]);_0xfbf69f[_0x510f7f(0x26e)](_0x2c641c,Promise)&&_0x2c641c[_0x510f7f(0x1eb)](_0x3338f6)[_0x510f7f(0x257)](_0x210e7d);})[_0x1f60bd(0x1eb)]();});})['catch'](_0x413171=>{const _0x21c89e=_0x2c9658;_0x257fc0[_0x21c89e(0x20c)](logError,_0x21c89e(0x229),_0x413171);});})[_0x35a38b(0x257)](_0x4c934d=>{const _0x17cc3f=_0x35a38b;_0x5c87eb[_0x17cc3f(0x230)](logError,_0x5c87eb['fKjvo'],_0x4c934d);throw new Error(_0x17cc3f(0x282)+JSON['stringify'](_0x4c934d));});},this['loginListener'][_0x41df3d(0x265)]=(_0x7347c7,_0x585d8d,_0x3e8d09)=>{const _0x326124=_0x41df3d;_0x5c87eb[_0x326124(0x226)](logError,_0x5c87eb[_0x326124(0x26d)],_0x3e8d09),_0x5c87eb[_0x326124(0x259)](_0x7347c7,0x1)&&_0x5c87eb[_0x326124(0x259)](_0x585d8d,0x3)&&this['loginService'][_0x326124(0x284)]();},this['loginListener'][_0x41df3d(0x208)]=_0x4d2ec6=>{const _0x330609=_0x41df3d;logError(_0x5c87eb[_0x330609(0x26d)],_0x4d2ec6);},this[_0x41df3d(0x288)]=new Proxy(this[_0x41df3d(0x288)],this['proxyHandler']),this[_0x41df3d(0x253)][_0x41df3d(0x1fd)](new _0x36b2a8[(_0x41df3d(0x20f))](this['loginListener'])),this[_0x41df3d(0x1ff)]();}get['dataPath'](){const _0x3daf35=_0x4b3abe,_0x19af8f={'VdpuG':_0x3daf35(0x21b)};let _0x5054f3=this[_0x3daf35(0x22f)][_0x3daf35(0x235)]();return!_0x5054f3&&(_0x5054f3=_0x54f808[_0x3daf35(0x24f)](_0x177217[_0x3daf35(0x268)](),_0x19af8f[_0x3daf35(0x237)]),_0x570f9c[_0x3daf35(0x21c)](_0x5054f3,{'recursive':!![]})),_0x5054f3;}get[_0x4b3abe(0x1d8)](){const _0x31c310=_0x4b3abe,_0xfda0a={'sLcKs':_0x31c310(0x224)};return _0x54f808[_0x31c310(0x24f)](this[_0x31c310(0x239)],_0xfda0a[_0x31c310(0x223)]);}[_0x4b3abe(0x1ff)](){const _0x9ad99a=_0x4b3abe,_0x50be82={'uHaZA':_0x9ad99a(0x23b)};this[_0x9ad99a(0x1f3)][_0x9ad99a(0x22a)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x50be82[_0x9ad99a(0x23e)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion'][_0x9ad99a(0x233)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x36b2a8[(_0x9ad99a(0x289))](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x9ad99a(0x1d8)],'clientVer':qqVersionConfigInfo[_0x9ad99a(0x26b)],'hostName':hostname});}['initSession'](_0x1e57ea,_0xdd4f9e){const _0x21f389={'VlFde':function(_0x24fb59,_0x38c7aa){return _0x24fb59===_0x38c7aa;},'UNnCS':function(_0x5e2f5a,_0x47f7e9){return _0x5e2f5a(_0x47f7e9);},'KQhkW':function(_0xe4ea5d,_0x52ee0f,_0x2f640c,_0x307013){return _0xe4ea5d(_0x52ee0f,_0x2f640c,_0x307013);},'xovOf':function(_0x4015ec,_0x40d385){return _0x4015ec(_0x40d385);},'DVTRp':function(_0x4f1e99,_0x191339){return _0x4f1e99+_0x191339;},'PsLdf':'init\x20failed\x20'};return new Promise((_0x58ee3c,_0x1d9899)=>{const _0x1a6ed5=_0x2449,_0x4cb5b4=_0x21f389['KQhkW'](genSessionConfig,_0x1e57ea,_0xdd4f9e,this[_0x1a6ed5(0x239)]),_0x573d15=new SessionListener();_0x573d15[_0x1a6ed5(0x23a)]=_0x4ca479=>{const _0x50e42a=_0x1a6ed5;if(_0x21f389[_0x50e42a(0x216)](_0x4ca479,0x0))return _0x21f389[_0x50e42a(0x276)](_0x58ee3c,0x0);_0x1d9899(_0x4ca479);},this[_0x1a6ed5(0x21e)][_0x1a6ed5(0x27e)](_0x4cb5b4,new _0x36b2a8[(_0x1a6ed5(0x221))](new DependsAdapter()),new _0x36b2a8[(_0x1a6ed5(0x23c))](new DispatcherAdapter()),new _0x36b2a8[(_0x1a6ed5(0x27d))](_0x573d15));try{this[_0x1a6ed5(0x21e)][_0x1a6ed5(0x1cd)](0x0);}catch(_0x543375){try{this[_0x1a6ed5(0x21e)][_0x1a6ed5(0x1cd)]();}catch(_0x31df94){_0x21f389[_0x1a6ed5(0x258)](_0x1d9899,_0x21f389[_0x1a6ed5(0x202)](_0x21f389[_0x1a6ed5(0x25c)],_0x31df94));}}});}[_0x4b3abe(0x218)](){const _0xc3c355=_0x4b3abe,_0x3d9937={'GrzLx':function(_0x33848,_0x252799){return _0x33848===_0x252799;},'VSLfA':function(_0x56e7bc,_0x4ebb39){return _0x56e7bc(_0x4ebb39);},'ULjda':function(_0x234d6d,_0x5d9218){return _0x234d6d+_0x5d9218;},'VaIHk':function(_0x5e0fae,_0x29b864){return _0x5e0fae(_0x29b864);},'VNvEl':_0xc3c355(0x1ea),'hWFMH':function(_0x1fc1b2,_0x32905c){return _0x1fc1b2===_0x32905c;},'EXmaE':function(_0x1b42d9,_0x27caba){return _0x1b42d9/_0x27caba;},'UuZTF':function(_0x283893,_0x4e9fcb){return _0x283893===_0x4e9fcb;},'ZHoZV':_0xc3c355(0x287),'lFktd':function(_0x347642,_0x261c9e,_0x1b3eef){return _0x347642(_0x261c9e,_0x1b3eef);}},_0x396a3a=new MsgListener();_0x396a3a['onLineDev']=_0x5301e9=>{const _0xafcd31=_0xc3c355;_0x5301e9[_0xafcd31(0x25b)](_0xf78d15=>{const _0x37c49c=_0xafcd31;_0x3d9937['GrzLx'](_0xf78d15[_0x37c49c(0x27c)],0x2)&&_0x3d9937[_0x37c49c(0x275)](log,_0x3d9937[_0x37c49c(0x1f0)](_0x3d9937[_0x37c49c(0x1f0)]('账号设备(',_0xf78d15[_0x37c49c(0x20d)]),')\x20在线状态变更'));});},_0x396a3a['onKickedOffLine']=_0x51176a=>{const _0x3660cf=_0xc3c355;_0x3d9937[_0x3660cf(0x1f8)](log,_0x3d9937[_0x3660cf(0x1f0)](_0x3d9937[_0x3660cf(0x1f0)](_0x3d9937[_0x3660cf(0x1f0)](_0x3d9937[_0x3660cf(0x228)],_0x51176a[_0x3660cf(0x240)]),']\x20'),_0x51176a[_0x3660cf(0x27b)]));},_0x396a3a[_0xc3c355(0x210)]=_0x3dfbab=>{const _0x5a4beb=_0xc3c355;stat[_0x5a4beb(0x1df)]+=0x1,_0x3dfbab['map'](_0x318567=>{const _0x2b7ee9=_0x5a4beb;_0x3d9937[_0x2b7ee9(0x1e9)](_0x318567[_0x2b7ee9(0x249)],'0')?dbUtil[_0x2b7ee9(0x269)](_0x318567)[_0x2b7ee9(0x1eb)]()[_0x2b7ee9(0x257)]():dbUtil['getMsgByLongId'](_0x318567[_0x2b7ee9(0x1ee)])[_0x2b7ee9(0x1eb)](_0x465e66=>{const _0x590383=_0x2b7ee9;_0x465e66&&(_0x465e66[_0x590383(0x249)]=_0x318567[_0x590383(0x249)],dbUtil[_0x590383(0x1e3)](_0x465e66)[_0x590383(0x1eb)]());});});},_0x396a3a[_0xc3c355(0x1e7)]=_0x377cd2=>{const _0x30436c=_0xc3c355;stat['packet_sent']+=0x1,stat[_0x30436c(0x250)]+=0x1,stat[_0x30436c(0x20e)]=Math[_0x30436c(0x1e5)](_0x3d9937['EXmaE'](Date[_0x30436c(0x262)](),0x3e8));},_0x396a3a[_0xc3c355(0x260)]=_0x8f3294=>{const _0x42711c=_0xc3c355;stat[_0x42711c(0x1df)]+=0x1,stat[_0x42711c(0x1e2)]+=_0x8f3294[_0x42711c(0x1d5)],stat[_0x42711c(0x20e)]=Math['floor'](_0x3d9937[_0x42711c(0x243)](Date['now'](),0x3e8));},_0x396a3a[_0xc3c355(0x215)]=(..._0x6936f1)=>{const _0xe2e7bc=_0xc3c355;stat[_0xe2e7bc(0x1df)]+=0x1;},this[_0xc3c355(0x1d7)](_0x396a3a);const _0x3f6494=new BuddyListener();_0x3f6494[_0xc3c355(0x225)]=_0x572742=>{const _0x54ab26=_0xc3c355;rawFriends['length']=0x0,rawFriends[_0x54ab26(0x20b)](..._0x572742);for(const _0x3a89ec of _0x572742){for(const _0x2734e2 of _0x3a89ec['buddyList']){const _0x416fd7=friends[_0x54ab26(0x201)](_0x2734e2[_0x54ab26(0x247)]);uid2UinMap[_0x2734e2[_0x54ab26(0x247)]]=_0x2734e2[_0x54ab26(0x278)],_0x416fd7?Object[_0x54ab26(0x231)](_0x416fd7,_0x2734e2):friends[_0x54ab26(0x1d1)](_0x2734e2['uid'],_0x2734e2);}}},this[_0xc3c355(0x1d7)](_0x3f6494),this[_0xc3c355(0x21e)]['getBuddyService']()[_0xc3c355(0x25a)](!![])[_0xc3c355(0x1eb)](_0xa2e2b1=>{});const _0x30de06=new ProfileListener();_0x30de06[_0xc3c355(0x236)]=_0x209f21=>{const _0x1d8014=_0xc3c355;_0x3d9937[_0x1d8014(0x26f)](_0x209f21[_0x1d8014(0x247)],selfInfo[_0x1d8014(0x247)])&&Object[_0x1d8014(0x231)](selfInfo,_0x209f21);},_0x30de06[_0xc3c355(0x1ed)]=_0x5d4c6c=>{},this[_0xc3c355(0x1d7)](_0x30de06);const _0x4ea9ad=new GroupListener();_0x4ea9ad[_0xc3c355(0x1d2)]=(_0xecf07e,_0x545f3d)=>{_0x545f3d['map'](_0x41defe=>{const _0x5b894e=_0x2449,_0x4460c8=groups[_0x5b894e(0x201)](_0x41defe[_0x5b894e(0x203)]);_0x4460c8&&_0x41defe['memberCount']===_0x4460c8['memberCount']?Object[_0x5b894e(0x231)](_0x4460c8,_0x41defe):groups[_0x5b894e(0x1d1)](_0x41defe[_0x5b894e(0x203)],_0x41defe);const _0x42fd71=this[_0x5b894e(0x21e)]['getGroupService']()[_0x5b894e(0x256)](_0x41defe[_0x5b894e(0x203)],_0x3d9937[_0x5b894e(0x279)]);this['session'][_0x5b894e(0x286)]()[_0x5b894e(0x200)](_0x42fd71,undefined,0xbb8)['then'](_0x47a476=>{});});},_0x4ea9ad[_0xc3c355(0x222)]=_0x986a7c=>{const _0x2d943e=_0xc3c355,_0x3f3079=_0x986a7c[_0x2d943e(0x1de)]['split']('_')[0x0];if(groupMembers[_0x2d943e(0x261)](_0x3f3079)){const _0x27e567=groupMembers[_0x2d943e(0x201)](_0x3f3079);_0x986a7c[_0x2d943e(0x251)][_0x2d943e(0x1f6)]((_0x415b76,_0x568c06)=>{const _0x568d58=_0x2d943e,_0x3ce3c6=_0x27e567[_0x568d58(0x201)](_0x568c06);_0x3ce3c6?Object[_0x568d58(0x231)](_0x3ce3c6,_0x415b76):_0x27e567['set'](_0x568c06,_0x415b76);});}else groupMembers[_0x2d943e(0x1d1)](_0x3f3079,_0x986a7c[_0x2d943e(0x251)]);},_0x4ea9ad[_0xc3c355(0x204)]=(_0x141ad6,_0x166a4d,_0x2deb21)=>{const _0x113916=_0xc3c355;_0x166a4d===0x0&&_0x2deb21[_0x113916(0x201)](selfInfo[_0x113916(0x247)])&&_0x2deb21[_0x113916(0x201)](selfInfo[_0x113916(0x247)])?.[_0x113916(0x1db)]&&_0x3d9937[_0x113916(0x1f2)](setTimeout,()=>{const _0x5b5c09=_0x113916;groups[_0x5b5c09(0x1cf)](_0x141ad6);},0x1388);_0x2deb21[_0x113916(0x1f6)]((_0xcc7f02,_0x3d7f34)=>{uid2UinMap[_0x3d7f34]=_0xcc7f02['uin'];});const _0x260f85=groupMembers['get'](_0x141ad6);_0x260f85?_0x2deb21[_0x113916(0x1f6)]((_0x164a8f,_0x11496d)=>{const _0x597c2f=_0x113916,_0x57f9bb=_0x260f85['get'](_0x11496d);_0x57f9bb?Object[_0x597c2f(0x231)](_0x57f9bb,_0x164a8f):_0x260f85[_0x597c2f(0x1d1)](_0x11496d,_0x164a8f);}):groupMembers[_0x113916(0x1d1)](_0x141ad6,_0x2deb21);},this[_0xc3c355(0x1d7)](_0x4ea9ad);}['addListener'](_0x248a89){const _0x2c28ff=_0x4b3abe,_0x42b2f2={'hHXDZ':_0x2c28ff(0x211)};_0x248a89=new Proxy(_0x248a89,this[_0x2c28ff(0x24d)]);switch(_0x248a89[_0x2c28ff(0x1f9)][_0x2c28ff(0x242)]){case _0x42b2f2[_0x2c28ff(0x252)]:{return this[_0x2c28ff(0x21e)][_0x2c28ff(0x1fb)]()[_0x2c28ff(0x26c)](new _0x36b2a8[(_0x2c28ff(0x21f))](_0x248a89));}case'GroupListener':{return this[_0x2c28ff(0x21e)][_0x2c28ff(0x286)]()[_0x2c28ff(0x20a)](new _0x36b2a8[(_0x2c28ff(0x205))](_0x248a89));}case _0x2c28ff(0x219):{return this['session'][_0x2c28ff(0x1fa)]()[_0x2c28ff(0x1ce)](new _0x36b2a8['NodeIKernelMsgListener'](_0x248a89));}case'ProfileListener':{return this['session']['getProfileService']()[_0x2c28ff(0x241)](new _0x36b2a8['NodeIKernelProfileListener'](_0x248a89));}default:return-0x1;}}['onLoginSuccess'](_0x2282f2){const _0x1b5746=_0x4b3abe;NTEventDispatch[_0x1b5746(0x27e)]({'ListenerMap':_0x36b2a8,'WrapperSession':this[_0x1b5746(0x21e)]}),this[_0x1b5746(0x248)][_0x1b5746(0x20b)](_0x2282f2);}async['quickLogin'](_0x4fd428){const _0x3a9161=_0x4b3abe,_0x45f1fe={'UQpBN':function(_0x290bb2,_0x1e0d10){return _0x290bb2!==_0x1e0d10;},'TrAXU':_0x3a9161(0x217),'HGvgG':function(_0x113cf2,_0x3d57ce){return _0x113cf2(_0x3d57ce);},'XDbeU':_0x3a9161(0x1f7)},_0x2c8a40=await this['loginService'][_0x3a9161(0x245)]();if(_0x45f1fe[_0x3a9161(0x255)](_0x2c8a40[_0x3a9161(0x23d)],0x0))throw new Error(_0x45f1fe[_0x3a9161(0x26a)]);const _0x47acf3=_0x2c8a40[_0x3a9161(0x273)]['find'](_0x4b0e2a=>_0x4b0e2a[_0x3a9161(0x278)]===_0x4fd428);if(!_0x47acf3||!_0x47acf3?.[_0x3a9161(0x22c)])throw new Error(_0x4fd428+'快速登录不可用');await _0x45f1fe['HGvgG'](sleep,0x3e8);const _0x125c65=await this['loginService'][_0x3a9161(0x27a)](_0x4fd428);if(!_0x125c65[_0x3a9161(0x23d)])throw new Error(_0x45f1fe[_0x3a9161(0x24c)]+_0x125c65[_0x3a9161(0x22d)][_0x3a9161(0x285)]);return _0x125c65;}async[_0x4b3abe(0x1ec)](_0x30fab5){const _0x228eb1=_0x4b3abe,_0x45e19c={'TMsvg':_0x228eb1(0x25f),'pWbBS':_0x228eb1(0x246),'UILzd':function(_0x16794f,_0x423c8e,_0x55b4df,_0x3b27f9){return _0x16794f(_0x423c8e,_0x55b4df,_0x3b27f9);}};return new Promise((_0x181b68,_0x54c049)=>{const _0x918afe=_0x228eb1,_0x2667f1={'ySfth':_0x45e19c[_0x918afe(0x270)],'aFfYY':_0x45e19c[_0x918afe(0x1e8)],'nHzvA':function(_0x1b4e14,_0x8ad89e,_0x5d0110,_0x1d3e66){const _0x187081=_0x918afe;return _0x45e19c[_0x187081(0x27f)](_0x1b4e14,_0x8ad89e,_0x5d0110,_0x1d3e66);}};this[_0x918afe(0x288)][_0x918afe(0x1da)]=_0x461a0c=>{const _0x454721=_0x918afe,_0x538b3f=_0x461a0c[_0x454721(0x1d3)][_0x454721(0x272)](_0x2667f1[_0x454721(0x1d9)])[0x1],_0x34e15f=Buffer[_0x454721(0x281)](_0x538b3f,_0x2667f1[_0x454721(0x1e4)]);_0x2667f1[_0x454721(0x266)](_0x30fab5,_0x461a0c[_0x454721(0x25d)],_0x461a0c['pngBase64QrcodeData'],_0x34e15f);},this['loginService'][_0x918afe(0x284)]();});}async[_0x4b3abe(0x1d4)](_0x34ec60,_0x13d762,_0x2cd7bc,_0x2f5956,_0x4f906c){const _0x16ab9d=_0x4b3abe,_0x14e915={'pzeNr':_0x16ab9d(0x254),'tadVk':_0x16ab9d(0x1fc),'hNnNt':function(_0x288d17,_0xde85de){return _0x288d17&&_0xde85de;},'WjITR':function(_0x2cf42d,_0x20ce4f){return _0x2cf42d||_0x20ce4f;},'EfYXR':function(_0x33aa0f,_0x1ffdc5){return _0x33aa0f||_0x1ffdc5;},'IBvjO':_0x16ab9d(0x214),'tkwpT':_0x16ab9d(0x206)},_0x446c6c=_0xb997e7['createHash'](_0x14e915[_0x16ab9d(0x227)])[_0x16ab9d(0x274)](_0x13d762)[_0x16ab9d(0x264)](_0x14e915['tadVk']),_0x54a782={'uin':_0x34ec60,'passwordMd5':_0x446c6c,'step':_0x14e915[_0x16ab9d(0x1e6)](_0x2cd7bc,_0x2f5956)&&_0x4f906c?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x14e915[_0x16ab9d(0x1e0)](_0x2cd7bc,''),'proofWaterRand':_0x14e915[_0x16ab9d(0x1e0)](_0x2f5956,''),'proofWaterSid':_0x14e915[_0x16ab9d(0x1d0)](_0x4f906c,'')};await this[_0x16ab9d(0x253)][_0x16ab9d(0x245)](),await sleep(0x3e8);const _0x58dcb1=await this[_0x16ab9d(0x253)]['passwordLogin'](_0x54a782);switch(_0x58dcb1[_0x16ab9d(0x23d)]){case'0':{break;}case _0x14e915[_0x16ab9d(0x1e1)]:{break;}case'4':case _0x14e915[_0x16ab9d(0x267)]:default:}}async[_0x4b3abe(0x24b)](){const _0x5e4fd0=_0x4b3abe,_0x331d63=await this[_0x5e4fd0(0x253)][_0x5e4fd0(0x245)]();return _0x331d63;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +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 diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 986eef0f..8384bb09 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x4a5d63,_0x278ec6){const _0x59289c=_0x45d5,_0x25fc60=_0x4a5d63();while(!![]){try{const _0x45aea1=parseInt(_0x59289c(0x16c))/0x1+-parseInt(_0x59289c(0x167))/0x2*(parseInt(_0x59289c(0x159))/0x3)+parseInt(_0x59289c(0x169))/0x4+parseInt(_0x59289c(0x155))/0x5+-parseInt(_0x59289c(0x164))/0x6*(-parseInt(_0x59289c(0x165))/0x7)+-parseInt(_0x59289c(0x161))/0x8*(parseInt(_0x59289c(0x16b))/0x9)+-parseInt(_0x59289c(0x157))/0xa*(parseInt(_0x59289c(0x15f))/0xb);if(_0x45aea1===_0x278ec6)break;else _0x25fc60['push'](_0x25fc60['shift']());}catch(_0x5d7a8c){_0x25fc60['push'](_0x25fc60['shift']());}}}(_0x5c47,0x2dc30));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(_0x137838){const _0x4cb770=_0x45d5;groups[_0x4cb770(0x154)](_0x137838),groupMembers['delete'](_0x137838);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x2ae092){const _0x290b59=_0x45d5;_0x2ae092=_0x2ae092[_0x290b59(0x156)]();if(isNumeric(_0x2ae092)){const _0x44a50f=Array[_0x290b59(0x160)](friends[_0x290b59(0x162)]());return _0x44a50f['find'](_0x535043=>_0x535043['uin']===_0x2ae092);}else return friends[_0x290b59(0x15e)](_0x2ae092);}export async function getGroup(_0x1db269){const _0x508187=_0x45d5;let _0x43039a=groups[_0x508187(0x15e)](_0x1db269[_0x508187(0x156)]());if(!_0x43039a)try{const _0x18b398=await NTQQGroupApi['getGroups']();_0x18b398[_0x508187(0x15b)]&&_0x18b398['forEach'](_0x23f668=>{const _0xe86d90=_0x508187;groups[_0xe86d90(0x166)](_0x23f668[_0xe86d90(0x163)],_0x23f668);});}catch(_0x3907ae){return undefined;}return _0x43039a=groups[_0x508187(0x15e)](_0x1db269[_0x508187(0x156)]()),_0x43039a;}function _0x45d5(_0x4fbdfd,_0x38b054){const _0x5c4713=_0x5c47();return _0x45d5=function(_0x45d53a,_0x530497){_0x45d53a=_0x45d53a-0x154;let _0x25a94f=_0x5c4713[_0x45d53a];return _0x25a94f;},_0x45d5(_0x4fbdfd,_0x38b054);}export async function getGroupMember(_0x196e71,_0x13046e){const _0x415589=_0x45d5,_0x5b5a77={'GpJVG':function(_0x29ee88,_0xc83945){return _0x29ee88(_0xc83945);},'bqPdr':function(_0x2e4e8f){return _0x2e4e8f();},'LAaJH':function(_0x4a6b35){return _0x4a6b35();}};_0x196e71=_0x196e71[_0x415589(0x156)](),_0x13046e=_0x13046e[_0x415589(0x156)]();let _0x12b9f4=groupMembers[_0x415589(0x15e)](_0x196e71);if(!_0x12b9f4)try{_0x12b9f4=await NTQQGroupApi[_0x415589(0x15c)](_0x196e71),groupMembers[_0x415589(0x166)](_0x196e71,_0x12b9f4);}catch(_0x50ee00){return null;}const _0x524bef=()=>{const _0x2c40cb=_0x415589;let _0x4c971f=undefined;return _0x5b5a77[_0x2c40cb(0x158)](isNumeric,_0x13046e)?_0x4c971f=Array[_0x2c40cb(0x160)](_0x12b9f4[_0x2c40cb(0x162)]())[_0x2c40cb(0x16a)](_0x5ac6a5=>_0x5ac6a5[_0x2c40cb(0x15a)]===_0x13046e):_0x4c971f=_0x12b9f4[_0x2c40cb(0x15e)](_0x13046e),_0x4c971f;};let _0x1e5a0b=_0x5b5a77[_0x415589(0x168)](_0x524bef);return!_0x1e5a0b&&(_0x12b9f4=await NTQQGroupApi[_0x415589(0x15c)](_0x196e71),_0x1e5a0b=_0x5b5a77[_0x415589(0x15d)](_0x524bef)),_0x1e5a0b;}export const uid2UinMap={};export function getUidByUin(_0x408073){const _0x47d690=_0x45d5,_0x5ee57b={'Afgoe':function(_0x580d57,_0x269b23){return _0x580d57===_0x269b23;}};for(const _0x2018bf in uid2UinMap){if(_0x5ee57b[_0x47d690(0x16d)](uid2UinMap[_0x2018bf],_0x408073))return _0x2018bf;}}export const tempGroupCodeMap={};export const rawFriends=[];function _0x5c47(){const _0x164370=['set','7208lkvrNN','bqPdr','1051548zwwkqX','find','9fTZOxG','184463WknzTm','Afgoe','delete','1130615vRsuxS','toString','150Gtyccs','GpJVG','48rFKYSy','uin','length','getGroupMembers','LAaJH','get','359425IwhXYx','from','237544dRXFpG','values','groupCode','162Imfnme','23709ORZJic'];_0x5c47=function(){return _0x164370;};return _0x5c47();}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 +(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 diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 442c73df..12915ad4 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x3d0adb,_0x5dfe9e){var _0x28624b=_0x5928,_0x5363e8=_0x3d0adb();while(!![]){try{var _0x56a1cf=parseInt(_0x28624b(0x103))/0x1*(-parseInt(_0x28624b(0x111))/0x2)+parseInt(_0x28624b(0x108))/0x3+parseInt(_0x28624b(0x10a))/0x4+parseInt(_0x28624b(0x104))/0x5+parseInt(_0x28624b(0x10e))/0x6+parseInt(_0x28624b(0x110))/0x7+-parseInt(_0x28624b(0x105))/0x8;if(_0x56a1cf===_0x5dfe9e)break;else _0x5363e8['push'](_0x5363e8['shift']());}catch(_0x13cace){_0x5363e8['push'](_0x5363e8['shift']());}}}(_0xf5d5,0x7d5ec));;function _0xf5d5(){var _0x282dec=['AUDIO','1216460dVIcjw','GoeOX','IMAGE','VIwuZ','3310098ahgOYc','OTHER','6151726zfZUAY','218MGLHFL','DOCUMENT','4178KmOgYZ','4219815QFdKRb','14500944dTBnHO','VIDEO','PBYfa','608871zOYcZg'];_0xf5d5=function(){return _0x282dec;};return _0xf5d5();}function _0x5928(_0x185af2,_0x133448){var _0xf5d551=_0xf5d5();return _0x5928=function(_0x5928db,_0x5dec02){_0x5928db=_0x5928db-0x102;var _0x2a6447=_0xf5d551[_0x5928db];return _0x2a6447;},_0x5928(_0x185af2,_0x133448);}export var CacheFileType;(function(_0x2d94af){var _0x1b5974=_0x5928,_0x4ee102={'mRFHG':'1|4|0|2|3','CjMLR':_0x1b5974(0x109),'GoeOX':_0x1b5974(0x10c),'PBYfa':_0x1b5974(0x10f),'VIwuZ':_0x1b5974(0x106)},_0x1eb556=_0x4ee102['mRFHG']['split']('|'),_0x21896b=0x0;while(!![]){switch(_0x1eb556[_0x21896b++]){case'0':_0x2d94af[_0x2d94af['AUDIO']=0x2]=_0x4ee102['CjMLR'];continue;case'1':_0x2d94af[_0x2d94af[_0x4ee102['GoeOX']]=0x0]=_0x4ee102[_0x1b5974(0x10b)];continue;case'2':_0x2d94af[_0x2d94af[_0x1b5974(0x102)]=0x3]=_0x1b5974(0x102);continue;case'3':_0x2d94af[_0x2d94af[_0x4ee102[_0x1b5974(0x107)]]=0x4]=_0x4ee102[_0x1b5974(0x107)];continue;case'4':_0x2d94af[_0x2d94af[_0x4ee102[_0x1b5974(0x10d)]]=0x1]=_0x4ee102[_0x1b5974(0x10d)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(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 diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 6aa673ff..bc7a5955 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x161809=_0x14c1;(function(_0x9ea8a2,_0x52e334){const _0x6fea95=_0x14c1,_0x48dc51=_0x9ea8a2();while(!![]){try{const _0x4c3d7c=-parseInt(_0x6fea95(0x162))/0x1+parseInt(_0x6fea95(0x14e))/0x2+parseInt(_0x6fea95(0x13b))/0x3+parseInt(_0x6fea95(0x125))/0x4*(-parseInt(_0x6fea95(0x131))/0x5)+-parseInt(_0x6fea95(0x163))/0x6*(-parseInt(_0x6fea95(0x145))/0x7)+parseInt(_0x6fea95(0x173))/0x8+-parseInt(_0x6fea95(0x11d))/0x9*(parseInt(_0x6fea95(0x123))/0xa);if(_0x4c3d7c===_0x52e334)break;else _0x48dc51['push'](_0x48dc51['shift']());}catch(_0x472587){_0x48dc51['push'](_0x48dc51['shift']());}}}(_0x2207,0xb6b75));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x2207(){const _0x4d2b66=['string','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','catch','uploadFile','21730jqfTXl','YtUSP','392404xKaLEc','syWDX','VIDEO','jVsao','notAt','dirname','获取视频信息失败','TEXT','miniapp','AniStickerPackId','ONcbC','dice','5eAzxad','FACE','jfIpd','sysface','replace','emoji','sep','jpg','_0.png','FILE','4471581sfXkHR','[包剪锤]','DOvsa','zYdiw','find','https://www.bilibili.com/','PAbAa','wEGek','svgYU','UXImF','7JUYZAk','MFACE','获取视频封面失败,使用默认封面','tWWnZ','set','[骰子]','RJxao','video','getImageSize','189284EpJmNh','QSid','UWkJQ','gif','iVKvY','ARK','GqCWl','HYwtI','Bot\x20Test','writeFile','face','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','PTT','Thumb','markdown','MARKDOWN','unlink','stat','PIC','KTjYI','900458fYtDqO','6797298BQFzTR','REPLY','AniStickerType','ptt','KBdUU','JIXaO','reply','mp4','then','hDwnd','copyFile','text','width','join','get','文件异常,大小为0','9267616pNUclf','NhjMr','toString','[商城表情]','QQnEP','pic','kudFj','stringify','QDes','height','8820stOeGK','size'];_0x2207=function(){return _0x4d2b66;};return _0x2207();}import{promises as _0x3b9366}from'node:fs';import _0x15e56d from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x14c1(_0x1062c9,_0x56decd){const _0x2207ad=_0x2207();return _0x14c1=function(_0x14c180,_0xfb54fe){_0x14c180=_0x14c180-0x119;let _0x38538d=_0x2207ad[_0x14c180];return _0x38538d;},_0x14c1(_0x1062c9,_0x56decd);}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0xb13331 from'./face_config.json';import*as _0x236c3e from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x161809(0x16e)](_0x5ce842){const _0x22f76c=_0x161809;return{'elementType':ElementType[_0x22f76c(0x12c)],'elementId':'','textElement':{'content':_0x5ce842,'atType':AtType[_0x22f76c(0x129)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3cbcae,_0x54d88c,_0x1d4911,_0x217aeb){const _0x2b159b=_0x161809;return{'elementType':ElementType[_0x2b159b(0x12c)],'elementId':'','textElement':{'content':'@'+_0x217aeb,'atType':_0x1d4911,'atUid':_0x3cbcae,'atTinyId':'','atNtUid':_0x54d88c}};}static[_0x161809(0x169)](_0x3ef34f,_0x4f5bd7,_0x461577,_0x57c07f){const _0x8f3479=_0x161809;return{'elementType':ElementType[_0x8f3479(0x164)],'elementId':'','replyElement':{'replayMsgSeq':_0x3ef34f,'replayMsgId':_0x4f5bd7,'senderUin':_0x461577,'senderUinStr':_0x57c07f}};}static async[_0x161809(0x178)](_0x538dd5,_0x6d590c='',_0x2f56a5=0x0){const _0xe79668=_0x161809,_0x35042a={'kudFj':function(_0x36bdf9,_0x324418){return _0x36bdf9===_0x324418;},'YtUSP':_0xe79668(0x172),'gyYoS':function(_0x2792b8,_0x404f72){return _0x2792b8(_0x404f72);}},{md5:_0x5ed8d1,fileName:_0x2860d3,path:_0x113fd3,fileSize:_0x4089e5}=await NTQQFileApi[_0xe79668(0x122)](_0x538dd5,ElementType[_0xe79668(0x160)],_0x2f56a5);if(_0x35042a[_0xe79668(0x119)](_0x4089e5,0x0))throw _0x35042a[_0xe79668(0x124)];const _0x67c127=await NTQQFileApi[_0xe79668(0x14d)](_0x538dd5),_0x436ca9={'md5HexStr':_0x5ed8d1,'fileSize':_0x4089e5[_0xe79668(0x175)](),'picWidth':_0x67c127?.[_0xe79668(0x16f)],'picHeight':_0x67c127?.[_0xe79668(0x11c)],'fileName':_0x2860d3,'sourcePath':_0x113fd3,'original':!![],'picType':_0x35042a['gyYoS'](isGIF,_0x538dd5)?PicType[_0xe79668(0x151)]:PicType[_0xe79668(0x138)],'picSubType':_0x2f56a5,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x6d590c};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x436ca9};}static async['file'](_0x5c6f1c,_0x220801=''){const _0x17c75f=_0x161809,_0x10097e={'HYwtI':function(_0x3c2a1d,_0x2dbc87){return _0x3c2a1d===_0x2dbc87;},'RJxao':_0x17c75f(0x172),'JIXaO':function(_0x54e9c1,_0x55ee61){return _0x54e9c1||_0x55ee61;}},{md5:_0x1c116e,fileName:_0x4e3240,path:_0x5dccc8,fileSize:_0x284f10}=await NTQQFileApi['uploadFile'](_0x5c6f1c,ElementType[_0x17c75f(0x13a)]);if(_0x10097e[_0x17c75f(0x155)](_0x284f10,0x0))throw _0x10097e[_0x17c75f(0x14b)];const _0x46abfd={'elementType':ElementType[_0x17c75f(0x13a)],'elementId':'','fileElement':{'fileName':_0x10097e[_0x17c75f(0x168)](_0x220801,_0x4e3240),'filePath':_0x5dccc8,'fileSize':_0x284f10[_0x17c75f(0x175)]()}};return _0x46abfd;}static async[_0x161809(0x14c)](_0x7370d,_0x492d55='',_0x4df8a7=''){const _0x50a40b=_0x161809,_0x162f2f={'KBdUU':function(_0x4b5f61,_0x1bb277){return _0x4b5f61(_0x1bb277);},'UXImF':function(_0x5c8984,_0x281345){return _0x5c8984(_0x281345);},'NhjMr':'end','tWWnZ':'error','hDwnd':function(_0x159f83,_0x11dd84){return _0x159f83+_0x11dd84;},'jfIpd':function(_0x14da92,_0x21c2af){return _0x14da92===_0x21c2af;},'KTjYI':_0x50a40b(0x172),'DOvsa':function(_0x456a50,_0x1e1065){return _0x456a50(_0x1e1065);},'zYdiw':function(_0x3203c2,_0x4c88e4,_0x42b343){return _0x3203c2(_0x4c88e4,_0x42b343);},'ufMyZ':_0x50a40b(0x12b),'nsTuw':function(_0x37b0a4,_0x76ae27){return _0x37b0a4(_0x76ae27);}},{fileName:_0xf67e52,path:_0x8e1a78,fileSize:_0xda54dd,md5:_0x15b913}=await NTQQFileApi['uploadFile'](_0x7370d,ElementType[_0x50a40b(0x127)]);if(_0x162f2f[_0x50a40b(0x133)](_0xda54dd,0x0))throw _0x162f2f[_0x50a40b(0x161)];let _0x2ac37a=_0x8e1a78[_0x50a40b(0x135)](_0x236c3e[_0x50a40b(0x137)]+'Ori'+_0x236c3e['sep'],_0x236c3e['sep']+_0x50a40b(0x15b)+_0x236c3e[_0x50a40b(0x137)]);_0x2ac37a=_0x236c3e[_0x50a40b(0x12a)](_0x2ac37a);let _0x40e41a={'width':0x780,'height':0x438,'time':0xf,'format':_0x50a40b(0x16a),'size':_0xda54dd,'filePath':_0x7370d};try{_0x40e41a=await _0x162f2f[_0x50a40b(0x13d)](getVideoInfo,_0x8e1a78);}catch(_0x5a342d){_0x162f2f[_0x50a40b(0x13e)](logError,_0x162f2f['ufMyZ'],_0x5a342d);}const _0xf165ce=new Promise((_0x4b6009,_0x5a1969)=>{const _0x131a19=_0x50a40b,_0x2d140a={'NmCNc':function(_0x5e3fcd,_0x3f1261){const _0x51d715=_0x14c1;return _0x162f2f[_0x51d715(0x144)](_0x5e3fcd,_0x3f1261);}},_0x584b8c=_0x15b913+_0x131a19(0x139),_0x12551a=_0x236c3e[_0x131a19(0x170)](_0x2ac37a,_0x584b8c);_0x162f2f['UXImF'](_0x15e56d,_0x7370d)['on'](_0x162f2f[_0x131a19(0x174)],()=>{})['on'](_0x162f2f[_0x131a19(0x148)],_0x4e33a4=>{const _0x43103e=_0x131a19;logDebug(_0x43103e(0x147),_0x4e33a4),_0x4df8a7?_0x3b9366[_0x43103e(0x16d)](_0x4df8a7,_0x12551a)[_0x43103e(0x16b)](()=>{_0x4b6009(_0x12551a);})[_0x43103e(0x121)](_0x5a1969):_0x3b9366[_0x43103e(0x157)](_0x12551a,defaultVideoThumb)['then'](()=>{_0x2d140a['NmCNc'](_0x4b6009,_0x12551a);})[_0x43103e(0x121)](_0x5a1969);})['screenshots']({'timestamps':[0x0],'filename':_0x584b8c,'folder':_0x2ac37a,'size':_0x162f2f['hDwnd'](_0x162f2f[_0x131a19(0x16c)](_0x40e41a[_0x131a19(0x16f)],'x'),_0x40e41a[_0x131a19(0x11c)])})['on'](_0x162f2f[_0x131a19(0x174)],()=>{const _0x53f1da=_0x131a19;_0x162f2f[_0x53f1da(0x167)](_0x4b6009,_0x12551a);});}),_0x59a36f=new Map(),_0xf22b6b=await _0xf165ce,_0x4ede90=(await _0x3b9366[_0x50a40b(0x15f)](_0xf22b6b))[_0x50a40b(0x11e)];_0x59a36f[_0x50a40b(0x149)](0x0,_0xf22b6b);const _0x1c76e6=await _0x162f2f['nsTuw'](calculateFileMD5,_0xf22b6b),_0x440a9a={'elementType':ElementType[_0x50a40b(0x127)],'elementId':'','videoElement':{'fileName':_0x492d55||_0xf67e52,'filePath':_0x8e1a78,'videoMd5':_0x15b913,'thumbMd5':_0x1c76e6,'fileTime':_0x40e41a['time'],'thumbPath':_0x59a36f,'thumbSize':_0x4ede90,'thumbWidth':_0x40e41a[_0x50a40b(0x16f)],'thumbHeight':_0x40e41a[_0x50a40b(0x11c)],'fileSize':''+_0xda54dd}};return _0x440a9a;}static async[_0x161809(0x166)](_0x550b0d){const _0xce9785=_0x161809,_0x490ac7={'svgYU':function(_0x3ced1d,_0x1a98f6){return _0x3ced1d(_0x1a98f6);},'FMtYQ':'语音转换失败,\x20请检查语音文件是否正常','UWkJQ':function(_0x231256,_0x4cc1b9){return _0x231256===_0x4cc1b9;},'wEGek':function(_0xa78e43,_0x48f724){return _0xa78e43||_0x48f724;}},{converted:_0x18196a,path:_0x26b6d5,duration:_0x1d9d3f}=await _0x490ac7[_0xce9785(0x143)](encodeSilk,_0x550b0d);if(!_0x26b6d5)throw _0x490ac7['FMtYQ'];const {md5:_0x18f41b,fileName:_0x3113b6,path:_0x5ad735,fileSize:_0x3e508a}=await NTQQFileApi[_0xce9785(0x122)](_0x26b6d5,ElementType['PTT']);if(_0x490ac7[_0xce9785(0x150)](_0x3e508a,0x0))throw _0xce9785(0x172);return _0x18196a&&_0x3b9366[_0xce9785(0x15e)](_0x26b6d5)[_0xce9785(0x16b)](),{'elementType':ElementType[_0xce9785(0x15a)],'elementId':'','pttElement':{'fileName':_0x3113b6,'filePath':_0x5ad735,'md5HexStr':_0x18f41b,'fileSize':_0x3e508a,'duration':_0x490ac7[_0xce9785(0x142)](_0x1d9d3f,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[_0x161809(0x158)](_0x343b54){const _0x688ef3=_0x161809,_0x1ab908={'PAbAa':function(_0x54982a,_0x10a664){return _0x54982a>=_0x10a664;}},_0x271b3e=_0xb13331[_0x688ef3(0x134)],_0x1722e7=_0xb13331[_0x688ef3(0x136)],_0x224c09=_0x271b3e[_0x688ef3(0x13f)](_0x39d9f2=>_0x39d9f2[_0x688ef3(0x14f)]===_0x343b54[_0x688ef3(0x175)]());_0x343b54=parseInt(_0x343b54[_0x688ef3(0x175)]());let _0x282ea1=0x1;return _0x1ab908[_0x688ef3(0x141)](_0x343b54,0xde)&&(_0x282ea1=0x2),_0x224c09[_0x688ef3(0x165)]&&(_0x282ea1=0x3),{'elementType':ElementType[_0x688ef3(0x132)],'elementId':'','faceElement':{'faceIndex':_0x343b54,'faceType':_0x282ea1,'faceText':_0x224c09[_0x688ef3(0x11b)],'stickerId':_0x224c09['AniStickerId'],'stickerType':_0x224c09['AniStickerType'],'packId':_0x224c09[_0x688ef3(0x12e)],'sourceType':0x1}};}static['mface'](_0x52597f,_0x2ecb6f,_0xc6bc5,_0xadb640){const _0x3e97e0=_0x161809;return{'elementType':ElementType[_0x3e97e0(0x146)],'marketFaceElement':{'emojiPackageId':_0x52597f,'emojiId':_0x2ecb6f,'key':_0xc6bc5,'faceName':_0xadb640||mFaceCache[_0x3e97e0(0x171)](_0x2ecb6f)||_0x3e97e0(0x176)}};}static[_0x161809(0x130)](_0x30b9ba){const _0x115fc9=_0x161809;return{'elementType':ElementType[_0x115fc9(0x132)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x115fc9(0x130)],'faceText':_0x115fc9(0x14a),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x31253f){const _0x120c6a=_0x161809,_0x5f267b={'iVKvY':_0x120c6a(0x13c)};return{'elementType':ElementType[_0x120c6a(0x132)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x5f267b[_0x120c6a(0x152)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x30a6df){const _0x298da4=_0x161809,_0x18a57f={'syWDX':_0x298da4(0x11f)};return typeof _0x30a6df!==_0x18a57f[_0x298da4(0x126)]&&(_0x30a6df=JSON[_0x298da4(0x11a)](_0x30a6df)),{'elementType':ElementType[_0x298da4(0x153)],'elementId':'','arkElement':{'bytesData':_0x30a6df,'linkInfo':null,'subElementType':null}};}static[_0x161809(0x15c)](_0x570a07){const _0x3f01a5=_0x161809;return{'elementType':ElementType[_0x3f01a5(0x15d)],'elementId':'','markdownElement':{'content':_0x570a07}};}static async[_0x161809(0x12d)](){const _0x19e046=_0x161809,_0x20369b={'QQnEP':function(_0x413b22,_0x29c5ad){return _0x413b22(_0x29c5ad);},'ONcbC':_0x19e046(0x156),'jVsao':_0x19e046(0x159),'tRKfE':_0x19e046(0x140),'GqCWl':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x4be3e9=await _0x20369b[_0x19e046(0x177)](SignMiniApp,{'prompt':_0x19e046(0x156),'title':_0x20369b['ONcbC'],'preview':_0x20369b[_0x19e046(0x128)],'jumpUrl':_0x20369b['tRKfE'],'tag':_0x20369b[_0x19e046(0x12f)],'tagIcon':_0x19e046(0x120),'source':_0x20369b[_0x19e046(0x12f)],'sourcelogo':_0x20369b[_0x19e046(0x154)]});return{'elementType':ElementType[_0x19e046(0x153)],'elementId':'','arkElement':{'bytesData':_0x4be3e9,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +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 diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 6a6262ee..68736a30 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x46e2(_0x19cc40,_0x29736c){var _0x18f8f6=_0x18f8();return _0x46e2=function(_0x46e27f,_0x37c927){_0x46e27f=_0x46e27f-0x88;var _0x537b51=_0x18f8f6[_0x46e27f];return _0x537b51;},_0x46e2(_0x19cc40,_0x29736c);}function _0x18f8(){var _0x5d2959=['gDxTc','11SeXzrc','1894vokZLY','6ZLrYOd','3004mwsDwQ','31ABxvDj','18kdsJsE','720KVOiYF','xsfvx','3108931yKLyHM','3gTWcfa','4144860VnoaAL','532632VRQXuZ','admin','owner','817090tlBxFX','IsoBF','141193MhOcpD','normal'];_0x18f8=function(){return _0x5d2959;};return _0x18f8();}(function(_0x3a48b7,_0x4e0867){var _0x8fd9ad=_0x46e2,_0x34e967=_0x3a48b7();while(!![]){try{var _0x5ca655=-parseInt(_0x8fd9ad(0x8b))/0x1*(parseInt(_0x8fd9ad(0x88))/0x2)+parseInt(_0x8fd9ad(0x90))/0x3*(-parseInt(_0x8fd9ad(0x8a))/0x4)+-parseInt(_0x8fd9ad(0x95))/0x5+parseInt(_0x8fd9ad(0x89))/0x6*(parseInt(_0x8fd9ad(0x8f))/0x7)+-parseInt(_0x8fd9ad(0x92))/0x8*(parseInt(_0x8fd9ad(0x8c))/0x9)+-parseInt(_0x8fd9ad(0x91))/0xa*(parseInt(_0x8fd9ad(0x9a))/0xb)+-parseInt(_0x8fd9ad(0x8d))/0xc*(-parseInt(_0x8fd9ad(0x97))/0xd);if(_0x5ca655===_0x4e0867)break;else _0x34e967['push'](_0x34e967['shift']());}catch(_0x32d181){_0x34e967['push'](_0x34e967['shift']());}}}(_0x18f8,0x5693f));export var GroupMemberRole;(function(_0xcad264){var _0xde262e=_0x46e2,_0x4fa1fd={'gDxTc':_0xde262e(0x98),'IsoBF':'admin','xsfvx':_0xde262e(0x94)};_0xcad264[_0xcad264[_0x4fa1fd[_0xde262e(0x99)]]=0x2]=_0x4fa1fd[_0xde262e(0x99)],_0xcad264[_0xcad264[_0xde262e(0x93)]=0x3]=_0x4fa1fd[_0xde262e(0x96)],_0xcad264[_0xcad264[_0x4fa1fd[_0xde262e(0x8e)]]=0x4]=_0x4fa1fd['xsfvx'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(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 diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 362be634..2aabc155 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x5af2ad,_0x4046c6){var _0x1df9e3=_0x1244,_0x36bb4d=_0x5af2ad();while(!![]){try{var _0x3b94f5=-parseInt(_0x1df9e3(0x1a6))/0x1+-parseInt(_0x1df9e3(0x1a1))/0x2*(parseInt(_0x1df9e3(0x1a5))/0x3)+-parseInt(_0x1df9e3(0x1a9))/0x4*(-parseInt(_0x1df9e3(0x1a3))/0x5)+-parseInt(_0x1df9e3(0x1a7))/0x6+-parseInt(_0x1df9e3(0x1a2))/0x7*(parseInt(_0x1df9e3(0x1a8))/0x8)+-parseInt(_0x1df9e3(0x1a0))/0x9+parseInt(_0x1df9e3(0x1a4))/0xa;if(_0x3b94f5===_0x4046c6)break;else _0x36bb4d['push'](_0x36bb4d['shift']());}catch(_0x2bcf95){_0x36bb4d['push'](_0x36bb4d['shift']());}}}(_0x4320,0xccc5e));export*from'./user';function _0x4320(){var _0x347572=['72VubvUo','4815652HFeWzK','5574006oljGVK','2IbbqTz','271033lBlhqt','5SrQXON','44435530oEzEYG','3443007mRCoGO','1224720gGEvBW','8811132IAYGoT'];_0x4320=function(){return _0x347572;};return _0x4320();}export*from'./group';export*from'./msg';export*from'./notify';function _0x1244(_0x23c341,_0x5d4b0a){var _0x432093=_0x4320();return _0x1244=function(_0x1244b2,_0x29ae7e){_0x1244b2=_0x1244b2-0x1a0;var _0x236a87=_0x432093[_0x1244b2];return _0x236a87;},_0x1244(_0x23c341,_0x5d4b0a);}export*from'./cache';export*from'./constructor'; \ No newline at end of file +(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 diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index f756eedd..8a303982 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x8c5a2e=_0x455e;(function(_0x14dac7,_0x24f2e2){var _0x502d47=_0x455e,_0xa6b5f1=_0x14dac7();while(!![]){try{var _0x249efd=parseInt(_0x502d47(0x135))/0x1*(parseInt(_0x502d47(0x131))/0x2)+parseInt(_0x502d47(0x12b))/0x3+-parseInt(_0x502d47(0x156))/0x4+parseInt(_0x502d47(0x122))/0x5*(parseInt(_0x502d47(0x149))/0x6)+-parseInt(_0x502d47(0x11c))/0x7+-parseInt(_0x502d47(0x140))/0x8+-parseInt(_0x502d47(0x124))/0x9*(-parseInt(_0x502d47(0x13f))/0xa);if(_0x249efd===_0x24f2e2)break;else _0xa6b5f1['push'](_0xa6b5f1['shift']());}catch(_0x2e3ef3){_0xa6b5f1['push'](_0xa6b5f1['shift']());}}}(_0x37ad,0x5e812));export var ElementType;(function(_0xf9e135){var _0x2276a3=_0x455e,_0x360069={'IhndG':_0x2276a3(0x14d),'EZRag':_0x2276a3(0x11d),'liYeY':_0x2276a3(0x134),'kBfZo':_0x2276a3(0x126),'SiULF':_0x2276a3(0x11e),'XFqib':_0x2276a3(0x148),'vCyBh':_0x2276a3(0x13e),'RXpLY':_0x2276a3(0x13b),'JfBXz':_0x2276a3(0x120)},_0x536a2d=_0x2276a3(0x154)[_0x2276a3(0x155)]('|'),_0x219950=0x0;while(!![]){switch(_0x536a2d[_0x219950++]){case'0':_0xf9e135[_0xf9e135[_0x360069['IhndG']]=0x5]=_0x2276a3(0x14d);continue;case'1':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x133)]]=0x6]=_0x360069[_0x2276a3(0x133)];continue;case'2':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x136)]]=0x7]=_0x360069['liYeY'];continue;case'3':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x129)]]=0x3]=_0x360069[_0x2276a3(0x129)];continue;case'4':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x12e)]]=0x2]=_0x2276a3(0x11e);continue;case'5':_0xf9e135[_0xf9e135[_0x2276a3(0x148)]=0xa]=_0x360069[_0x2276a3(0x139)];continue;case'6':_0xf9e135[_0xf9e135[_0x360069[_0x2276a3(0x138)]]=0xb]=_0x2276a3(0x13e);continue;case'7':_0xf9e135[_0xf9e135[_0x2276a3(0x144)]=0x4]='PTT';continue;case'8':_0xf9e135[_0xf9e135[_0x2276a3(0x13b)]=0xe]=_0x360069['RXpLY'];continue;case'9':_0xf9e135[_0xf9e135['TEXT']=0x1]=_0x360069[_0x2276a3(0x119)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x455e(_0x48a7d6,_0x4c445e){var _0x37ad07=_0x37ad();return _0x455e=function(_0x455e43,_0x1b1686){_0x455e43=_0x455e43-0x119;var _0x412f3a=_0x37ad07[_0x455e43];return _0x412f3a;},_0x455e(_0x48a7d6,_0x4c445e);}(function(_0x117a7b){var _0x4c62ee=_0x455e,_0x4415b4={'oZTqK':_0x4c62ee(0x13a)};_0x117a7b[_0x117a7b[_0x4c62ee(0x132)]=0x7d0]='gif',_0x117a7b[_0x117a7b[_0x4415b4[_0x4c62ee(0x12c)]]=0x3e8]=_0x4415b4[_0x4c62ee(0x12c)];}(PicType||(PicType={})));export var PicSubType;(function(_0xd1f591){var _0x262875=_0x455e,_0x3dba58={'qVahs':_0x262875(0x13c),'jvKdE':_0x262875(0x150)};_0xd1f591[_0xd1f591[_0x3dba58[_0x262875(0x12d)]]=0x0]='normal',_0xd1f591[_0xd1f591[_0x3dba58['jvKdE']]=0x1]=_0x3dba58[_0x262875(0x13d)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x13c661){var _0x25cc64=_0x455e,_0x254790={'yyCBa':_0x25cc64(0x14e),'GJSRe':_0x25cc64(0x14f),'LpwNy':_0x25cc64(0x123)};_0x13c661[_0x13c661[_0x254790[_0x25cc64(0x145)]]=0x0]=_0x254790[_0x25cc64(0x145)],_0x13c661[_0x13c661[_0x254790[_0x25cc64(0x141)]]=0x1]=_0x254790[_0x25cc64(0x141)],_0x13c661[_0x13c661[_0x254790['LpwNy']]=0x2]=_0x254790[_0x25cc64(0x14c)];}(AtType||(AtType={})));export var ChatType;(function(_0x2c282b){var _0x5ec827=_0x455e,_0x3a2c19={'ssDvZ':_0x5ec827(0x14b),'acXqq':'group','LhtSG':'chatDevice','psDAd':_0x5ec827(0x146)};_0x2c282b[_0x2c282b[_0x3a2c19[_0x5ec827(0x11a)]]=0x1]=_0x3a2c19[_0x5ec827(0x11a)],_0x2c282b[_0x2c282b[_0x3a2c19['acXqq']]=0x2]=_0x3a2c19[_0x5ec827(0x14a)],_0x2c282b[_0x2c282b[_0x3a2c19['LhtSG']]=0x8]=_0x5ec827(0x157),_0x2c282b[_0x2c282b[_0x3a2c19['psDAd']]=0x64]=_0x3a2c19['psDAd'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x8c5a2e(0x11f);export const IMAGE_HTTP_HOST_NT=_0x8c5a2e(0x147);export var GrayTipElementSubType;(function(_0x233f36){var _0x3624c4=_0x8c5a2e,_0x40a9f1={'vMAwW':'INVITE_NEW_MEMBER','uTLzI':'MEMBER_NEW_TITLE'};_0x233f36[_0x233f36[_0x40a9f1[_0x3624c4(0x130)]]=0xc]=_0x40a9f1[_0x3624c4(0x130)],_0x233f36[_0x233f36['MEMBER_NEW_TITLE']=0x11]=_0x40a9f1[_0x3624c4(0x152)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4017d4){var _0x12b00f=_0x8c5a2e,_0x59cee9={'lYUqg':_0x12b00f(0x13c),'VMpeT':_0x12b00f(0x125),'BvDIm':'dice'};_0x4017d4[_0x4017d4[_0x59cee9[_0x12b00f(0x11b)]]=0x1]=_0x59cee9[_0x12b00f(0x11b)],_0x4017d4[_0x4017d4[_0x59cee9['VMpeT']]=0x2]=_0x12b00f(0x125),_0x4017d4[_0x4017d4[_0x59cee9['BvDIm']]=0x3]=_0x59cee9[_0x12b00f(0x137)];}(FaceType||(FaceType={})));export var FaceIndex;function _0x37ad(){var _0x4e80d9=['kBfZo','nUcwb','1386393DfkQtj','oZTqK','qVahs','SiULF','tqHOm','vMAwW','2884ceJkEV','gif','EZRag','REPLY','152bwFiaz','liYeY','BvDIm','vCyBh','XFqib','jpg','MARKDOWN','normal','jvKdE','MFACE','2307850bKyZpt','1480176QcTgBU','GJSRe','RPS','ban','PTT','yyCBa','temp','https://multimedia.nt.qq.com.cn','ARK','915006RuYIVF','acXqq','friend','LpwNy','VIDEO','notAt','atAll','face','dice','uTLzI','CkGZY','9|4|3|7|0|1|2|5|6|8','split','390172PjMAso','chatDevice','JfBXz','ssDvZ','lYUqg','4380117noolmi','FACE','PIC','https://gchat.qpic.cn','TEXT','wvYet','5XyesQN','atUser','18vDnUXz','normal2','FILE','VijZa','kicked'];_0x37ad=function(){return _0x4e80d9;};return _0x37ad();}(function(_0x53202d){var _0x49b14e=_0x8c5a2e,_0x384ffc={'VijZa':_0x49b14e(0x151),'CkGZY':_0x49b14e(0x142)};_0x53202d[_0x53202d[_0x384ffc['VijZa']]=0x166]=_0x384ffc[_0x49b14e(0x127)],_0x53202d[_0x53202d[_0x384ffc[_0x49b14e(0x153)]]=0x167]=_0x384ffc['CkGZY'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x34bec6){var _0x2e7386=_0x8c5a2e,_0x5c2d79={'wvYet':'memberIncrease','nUcwb':_0x2e7386(0x128),'tqHOm':_0x2e7386(0x143)};_0x34bec6[_0x34bec6[_0x5c2d79[_0x2e7386(0x121)]]=0x1]=_0x5c2d79['wvYet'],_0x34bec6[_0x34bec6[_0x5c2d79['nUcwb']]=0x3]=_0x5c2d79[_0x2e7386(0x12a)],_0x34bec6[_0x34bec6[_0x2e7386(0x143)]=0x8]=_0x5c2d79[_0x2e7386(0x12f)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +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 diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index 188431de..7476788f 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x1feac6,_0x2fb00d){var _0x3182ad=_0x5c32,_0x563c35=_0x1feac6();while(!![]){try{var _0x249aa2=-parseInt(_0x3182ad(0x8f))/0x1+parseInt(_0x3182ad(0xa2))/0x2+parseInt(_0x3182ad(0x98))/0x3*(parseInt(_0x3182ad(0x94))/0x4)+-parseInt(_0x3182ad(0x8c))/0x5*(parseInt(_0x3182ad(0x8a))/0x6)+parseInt(_0x3182ad(0x9f))/0x7+-parseInt(_0x3182ad(0x88))/0x8*(-parseInt(_0x3182ad(0x99))/0x9)+-parseInt(_0x3182ad(0x85))/0xa*(parseInt(_0x3182ad(0x8e))/0xb);if(_0x249aa2===_0x2fb00d)break;else _0x563c35['push'](_0x563c35['shift']());}catch(_0x41104c){_0x563c35['push'](_0x563c35['shift']());}}}(_0x2b66,0xefca4));export var GroupNotifyTypes;function _0x2b66(){var _0x29f172=['2273740wFPfnf','feHTG','BuoBi','3898998amSUuW','IGNORE','KICK_MEMBER','WAIT_HANDLE','Zvkdh','wDrur','833310zobGOb','Kouom','ADMIN_SET','5352KOlOYC','split','211656ZqTsED','MEMBER_EXIT','205deNiHa','ADMIN_UNSET_OTHER','132gYwxjS','1325098vQTkki','piUUR','ADMIN_UNSET','reject','INVITED_JOIN','16xTwJdM','lHarF','UmCfr','INVITE_ME','404862NRkfAH','26091xjYWmL','4|6|3|5|2|7|0|1','Enhbw','approve','AVPet','PVokl'];_0x2b66=function(){return _0x29f172;};return _0x2b66();}(function(_0x2a745f){var _0x3d3e80=_0x5c32,_0x2dffc9={'lHarF':_0x3d3e80(0x9a),'AVPet':_0x3d3e80(0x91),'Kouom':_0x3d3e80(0x8d),'Enhbw':_0x3d3e80(0xa4),'LnfIw':'JOIN_REQUEST','Zvkdh':_0x3d3e80(0x97),'PVokl':_0x3d3e80(0x87),'UmCfr':_0x3d3e80(0x8b)},_0x360d49=_0x2dffc9[_0x3d3e80(0x95)][_0x3d3e80(0x89)]('|'),_0x5ed8a9=0x0;while(!![]){switch(_0x360d49[_0x5ed8a9++]){case'0':_0x2a745f[_0x2a745f[_0x3d3e80(0x91)]=0xc]=_0x2dffc9[_0x3d3e80(0x9d)];continue;case'1':_0x2a745f[_0x2a745f[_0x3d3e80(0x8d)]=0xd]=_0x2dffc9[_0x3d3e80(0x86)];continue;case'2':_0x2a745f[_0x2a745f[_0x3d3e80(0xa4)]=0x9]=_0x2dffc9[_0x3d3e80(0x9b)];continue;case'3':_0x2a745f[_0x2a745f[_0x2dffc9['LnfIw']]=0x7]=_0x2dffc9['LnfIw'];continue;case'4':_0x2a745f[_0x2a745f[_0x3d3e80(0x97)]=0x1]=_0x2dffc9[_0x3d3e80(0xa6)];continue;case'5':_0x2a745f[_0x2a745f[_0x2dffc9[_0x3d3e80(0x9e)]]=0x8]=_0x2dffc9[_0x3d3e80(0x9e)];continue;case'6':_0x2a745f[_0x2a745f[_0x3d3e80(0x93)]=0x4]=_0x3d3e80(0x93);continue;case'7':_0x2a745f[_0x2a745f[_0x2dffc9[_0x3d3e80(0x96)]]=0xb]=_0x2dffc9[_0x3d3e80(0x96)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x45a90e){var _0x2b14d0=_0x5c32,_0x38355d={'DAlkG':_0x2b14d0(0xa3),'wDrur':'WAIT_HANDLE','piUUR':'APPROVE','RCLZF':'REJECT'};_0x45a90e[_0x45a90e[_0x38355d['DAlkG']]=0x0]=_0x2b14d0(0xa3),_0x45a90e[_0x45a90e[_0x38355d[_0x2b14d0(0x84)]]=0x1]=_0x2b14d0(0xa5),_0x45a90e[_0x45a90e[_0x38355d[_0x2b14d0(0x90)]]=0x2]=_0x38355d[_0x2b14d0(0x90)],_0x45a90e[_0x45a90e[_0x38355d['RCLZF']]=0x3]=_0x38355d['RCLZF'];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x5c32(_0x53166f,_0x49f9d2){var _0x2b6610=_0x2b66();return _0x5c32=function(_0x5c320f,_0x971696){_0x5c320f=_0x5c320f-0x84;var _0x179e6d=_0x2b6610[_0x5c320f];return _0x179e6d;},_0x5c32(_0x53166f,_0x49f9d2);}export var GroupRequestOperateTypes;(function(_0x872564){var _0x401aa3=_0x5c32,_0x56b431={'feHTG':_0x401aa3(0x9c),'BuoBi':_0x401aa3(0x92)};_0x872564[_0x872564[_0x56b431[_0x401aa3(0xa0)]]=0x1]=_0x56b431[_0x401aa3(0xa0)],_0x872564[_0x872564[_0x401aa3(0x92)]=0x2]=_0x56b431[_0x401aa3(0xa1)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(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 diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index a96f2443..b8473198 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x173d8d,_0x299b3a){var _0x5df841=_0x26f7,_0x4a9523=_0x173d8d();while(!![]){try{var _0x3be069=-parseInt(_0x5df841(0x1c1))/0x1+-parseInt(_0x5df841(0x1c4))/0x2*(parseInt(_0x5df841(0x1cd))/0x3)+parseInt(_0x5df841(0x1cc))/0x4+parseInt(_0x5df841(0x1c6))/0x5*(parseInt(_0x5df841(0x1c2))/0x6)+parseInt(_0x5df841(0x1c9))/0x7+parseInt(_0x5df841(0x1cb))/0x8*(-parseInt(_0x5df841(0x1ca))/0x9)+parseInt(_0x5df841(0x1ce))/0xa;if(_0x3be069===_0x299b3a)break;else _0x4a9523['push'](_0x4a9523['shift']());}catch(_0x53925d){_0x4a9523['push'](_0x4a9523['shift']());}}}(_0x5e1b,0xbd281));function _0x26f7(_0x4d7d35,_0x56e808){var _0x5e1bc6=_0x5e1b();return _0x26f7=function(_0x26f712,_0x1c1265){_0x26f712=_0x26f712-0x1c0;var _0x4597a7=_0x5e1bc6[_0x26f712];return _0x4597a7;},_0x26f7(_0x4d7d35,_0x56e808);}export var Sex;(function(_0x44f593){var _0xbf7011=_0x26f7,_0xb8bb0a={'fSEZp':_0xbf7011(0x1c3),'xqFsC':_0xbf7011(0x1c5),'guvlN':_0xbf7011(0x1c8)};_0x44f593[_0x44f593[_0xbf7011(0x1c3)]=0x1]=_0xb8bb0a[_0xbf7011(0x1c0)],_0x44f593[_0x44f593[_0xb8bb0a[_0xbf7011(0x1c7)]]=0x2]=_0xb8bb0a['xqFsC'],_0x44f593[_0x44f593[_0xb8bb0a['guvlN']]=0xff]=_0xbf7011(0x1c8);}(Sex||(Sex={})));function _0x5e1b(){var _0x143caf=['male','394bfhvLI','female','5yxnrNr','xqFsC','unknown','6746733lhJuuJ','9MhKRYM','6320752DLsXoy','2431924JunZgp','22482VmWEYZ','21478920dvvdIc','fSEZp','1266365SNfmnb','3527220wkpFxl'];_0x5e1b=function(){return _0x143caf;};return _0x5e1b();} \ No newline at end of file +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 diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 4cce7a57..952a2320 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x9b07de,_0x43a80f){var _0x4f3be7=_0x1722,_0x5683c3=_0x9b07de();while(!![]){try{var _0x440d45=parseInt(_0x4f3be7(0x1c1))/0x1*(-parseInt(_0x4f3be7(0x1bf))/0x2)+-parseInt(_0x4f3be7(0x1c3))/0x3*(-parseInt(_0x4f3be7(0x1c2))/0x4)+parseInt(_0x4f3be7(0x1c5))/0x5*(-parseInt(_0x4f3be7(0x1c8))/0x6)+parseInt(_0x4f3be7(0x1c0))/0x7*(-parseInt(_0x4f3be7(0x1c6))/0x8)+-parseInt(_0x4f3be7(0x1c4))/0x9*(parseInt(_0x4f3be7(0x1c7))/0xa)+-parseInt(_0x4f3be7(0x1ca))/0xb*(-parseInt(_0x4f3be7(0x1be))/0xc)+parseInt(_0x4f3be7(0x1c9))/0xd;if(_0x440d45===_0x43a80f)break;else _0x5683c3['push'](_0x5683c3['shift']());}catch(_0x412e8f){_0x5683c3['push'](_0x5683c3['shift']());}}}(_0x3d31,0xe37ab));import _0x59f925 from'./wrapper';export*from'./adapters';export*from'./apis';function _0x3d31(){var _0x22249d=['8zWbIXY','10ALJBim','975642sLrUjc','27311245RzBYJi','20834SEBzVE','8088dvsoBE','958gvZhRd','6417131JYcBsH','2773poMFOd','2643348YHrQBW','6CdqGbO','3456819ZLAkVi','35nvyBtD'];_0x3d31=function(){return _0x22249d;};return _0x3d31();}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';function _0x1722(_0x1935a9,_0x460ef3){var _0x3d315b=_0x3d31();return _0x1722=function(_0x17225d,_0x55b9e3){_0x17225d=_0x17225d-0x1be;var _0x252f00=_0x3d315b[_0x17225d];return _0x252f00;},_0x1722(_0x1935a9,_0x460ef3);}export{_0x59f925 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(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 diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 1513a278..ad4684f4 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x5edf(){var _0x1a0832=['onDelBatchBuddyInfos','16kYYTmv','972111sAEPsT','onSpacePermissionInfos','25476TQyfcd','onAddMeSettingChanged','onAddBuddyNeedVerify','1793615FdtXfU','2181288fTzROG','onDoubtBuddyReqUnreadNumChange','onBuddyListChange','14014qrAWRX','onDoubtBuddyReqChange','onBuddyDetailInfoChange','onBuddyReqChange','onBlockChanged','onSmartInfos','134Uvfdgp','2894zaEquo','onBuddyReqUnreadCntChange','192tAjCzh','2053809rLROpN','1070WeaqSx'];_0x5edf=function(){return _0x1a0832;};return _0x5edf();}var _0xbd4349=_0x1dd7;function _0x1dd7(_0x38e648,_0x49540f){var _0x5edfc6=_0x5edf();return _0x1dd7=function(_0x1dd752,_0xfe6172){_0x1dd752=_0x1dd752-0xac;var _0x159bc5=_0x5edfc6[_0x1dd752];return _0x159bc5;},_0x1dd7(_0x38e648,_0x49540f);}(function(_0x5c7f1e,_0x433458){var _0x2e6c4c=_0x1dd7,_0x32362e=_0x5c7f1e();while(!![]){try{var _0x57e6d9=-parseInt(_0x2e6c4c(0xbe))/0x1*(-parseInt(_0x2e6c4c(0xbd))/0x2)+-parseInt(_0x2e6c4c(0xb0))/0x3*(-parseInt(_0x2e6c4c(0xc0))/0x4)+-parseInt(_0x2e6c4c(0xb3))/0x5+parseInt(_0x2e6c4c(0xb4))/0x6+parseInt(_0x2e6c4c(0xae))/0x7*(-parseInt(_0x2e6c4c(0xad))/0x8)+-parseInt(_0x2e6c4c(0xc1))/0x9+parseInt(_0x2e6c4c(0xc2))/0xa*(parseInt(_0x2e6c4c(0xb7))/0xb);if(_0x57e6d9===_0x433458)break;else _0x32362e['push'](_0x32362e['shift']());}catch(_0x2f79b1){_0x32362e['push'](_0x32362e['shift']());}}}(_0x5edf,0x39ca6));export class BuddyListener{[_0xbd4349(0xb2)](_0x7348a4){}[_0xbd4349(0xb1)](_0x1d4a82){}['onAvatarUrlUpdated'](_0x347919){}[_0xbd4349(0xbb)](_0x485ebd){}[_0xbd4349(0xb9)](_0x258202){}['onBuddyInfoChange'](_0x59a319){}[_0xbd4349(0xb6)](_0x51a6b5){}['onBuddyRemarkUpdated'](_0x2a0c2d){}[_0xbd4349(0xba)](_0x3328f2){}[_0xbd4349(0xbf)](_0x333ed0){}['onCheckBuddySettingResult'](_0x12f705){}[_0xbd4349(0xac)](_0x57d433){}[_0xbd4349(0xb8)](_0x2f8cfc){}[_0xbd4349(0xb5)](_0x4cb127){}['onNickUpdated'](_0x52075f){}[_0xbd4349(0xbc)](_0x1cf4a0){}[_0xbd4349(0xaf)](_0x1c0b0e){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index 77963156..b6dceff5 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0xd2a459=_0x57ce;(function(_0x499c4d,_0x4c9c9a){var _0x42a1ca=_0x57ce,_0x340c35=_0x499c4d();while(!![]){try{var _0x210d44=-parseInt(_0x42a1ca(0x8c))/0x1+-parseInt(_0x42a1ca(0x88))/0x2*(-parseInt(_0x42a1ca(0x8f))/0x3)+-parseInt(_0x42a1ca(0x8d))/0x4*(parseInt(_0x42a1ca(0x91))/0x5)+parseInt(_0x42a1ca(0x90))/0x6*(parseInt(_0x42a1ca(0x95))/0x7)+-parseInt(_0x42a1ca(0x8b))/0x8+-parseInt(_0x42a1ca(0x94))/0x9+parseInt(_0x42a1ca(0x8e))/0xa;if(_0x210d44===_0x4c9c9a)break;else _0x340c35['push'](_0x340c35['shift']());}catch(_0x41d8d1){_0x340c35['push'](_0x340c35['shift']());}}}(_0x4523,0x44098));function _0x4523(){var _0x47fc2b=['onFileSearch','onSessionChanged','3669651rwWskw','63fnouOR','1030282JhFtXL','onFileStatusChanged','onSessionListChanged','209376bNntQM','59466XmxRmZ','19036hXVmEx','762200ESaQxS','3EtHPfc','253716xFkWxs','210pEwcmn'];_0x4523=function(){return _0x47fc2b;};return _0x4523();}function _0x57ce(_0x28031a,_0x1a156b){var _0x452315=_0x4523();return _0x57ce=function(_0x57cea8,_0x2456d4){_0x57cea8=_0x57cea8-0x88;var _0x3e5fe6=_0x452315[_0x57cea8];return _0x3e5fe6;},_0x57ce(_0x28031a,_0x1a156b);}export class KernelFileAssistantListener{[_0xd2a459(0x89)](..._0x371997){}[_0xd2a459(0x8a)](..._0x3ac81c){}[_0xd2a459(0x93)](..._0x2554a8){}['onFileListChanged'](..._0xfdc41){}[_0xd2a459(0x92)](..._0x202ab6){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index 499bd015..3376bbc5 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x2b17(_0x254274,_0x3ad778){var _0x43b4bb=_0x43b4();return _0x2b17=function(_0x2b1764,_0x3c77ed){_0x2b1764=_0x2b1764-0x125;var _0x55709a=_0x43b4bb[_0x2b1764];return _0x55709a;},_0x2b17(_0x254274,_0x3ad778);}var _0x374478=_0x2b17;function _0x43b4(){var _0x8fad64=['1262CYKoWn','cvbbn','onMemberInfoChange','onGroupConfMemberChange','GTQJD','onGroupMemberLevelInfoChange:','onGroupStatisticInfoChange:','onGetGroupBulletinListResult:','onGetGroupBulletinListResult','onShutUpMemberListChanged:','onGroupBulletinRichMediaProgressUpdate','yMfbU','onGroupNotifiesUnreadCountUpdated:','onGroupArkInviteStateResult:','1304388njZaVH','onGroupDetailInfoChange','onGroupExtListUpdate','Vxjpv','374810AHYzeK','onJoinGroupNoVerifyFlag:','oXChS','onGroupNotifiesUpdated:','WJflN','MAMpo','onGroupNotifiesUpdated','onJoinGroupNotify:','onGroupSingleScreenNotifies','WpBve','2611128Hdglln','uMivQ','ESIax','onGroupAllInfoChange','2848510gnlOdG','onGroupBulletinRemindNotify:','onGroupFirstBulletinNotify:','50IkvfAE','onMemberInfoChange:','onGroupDetailInfoChange:','onGroupFirstBulletinNotify','onGroupsMsgMaskResult','498xQxdzr','onGroupBulletinRichMediaProgressUpdate:','onGroupConfMemberChange:','onSearchMemberChange','33159HSdOYA','onGroupListUpdate','84fHeEZy','onGroupMemberLevelInfoChange','onGroupSingleScreenNotifies:','zhxoi','log','onGroupStatisticInfoChange','onGroupsMsgMaskResult:','PIwkJ','onGroupBulletinRichMediaDownloadComplete:','UXeme','ZKwRv','59196rrUEWg','onJoinGroupNoVerifyFlag','HhEVO','onGroupArkInviteStateResult','onGroupBulletinRemindNotify','onJoinGroupNotify','onGroupBulletinChange','onShutUpMemberListChanged','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRichMediaDownloadComplete','onMemberListChange'];_0x43b4=function(){return _0x8fad64;};return _0x43b4();}(function(_0x387f37,_0x447125){var _0x422b5f=_0x2b17,_0x2e7e61=_0x387f37();while(!![]){try{var _0x400d0c=-parseInt(_0x422b5f(0x13a))/0x1+-parseInt(_0x422b5f(0x128))/0x2*(-parseInt(_0x422b5f(0x150))/0x3)+parseInt(_0x422b5f(0x161))/0x4*(parseInt(_0x422b5f(0x14b))/0x5)+parseInt(_0x422b5f(0x156))/0x6*(-parseInt(_0x422b5f(0x154))/0x7)+parseInt(_0x422b5f(0x144))/0x8+-parseInt(_0x422b5f(0x136))/0x9+parseInt(_0x422b5f(0x148))/0xa;if(_0x400d0c===_0x447125)break;else _0x2e7e61['push'](_0x2e7e61['shift']());}catch(_0x343318){_0x2e7e61['push'](_0x2e7e61['shift']());}}}(_0x43b4,0x43d9e));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x4a3c73){}[_0x374478(0x130)](..._0x4671f){}[_0x374478(0x147)](..._0x130562){}[_0x374478(0x167)](..._0x55790e){}[_0x374478(0x165)](..._0x4486b8){}[_0x374478(0x164)](..._0x5ec646){}[_0x374478(0x126)](..._0x1939a8){}['onGroupConfMemberChange'](..._0x1716fb){}[_0x374478(0x137)](..._0x2a528d){}['onGroupExtListUpdate'](..._0x2ad146){}[_0x374478(0x14e)](..._0x5d1312){}[_0x374478(0x155)](_0x581e4b,_0x262f4b){}[_0x374478(0x140)](_0x2e6d57,_0x8a31c8){}[_0x374478(0x132)](..._0x5e8e37){}[_0x374478(0x125)](..._0x1f56f0){}[_0x374478(0x142)](_0x36ee2c,_0x9d205a,_0x80c311){}[_0x374478(0x14f)](..._0x5de77d){}[_0x374478(0x15b)](..._0x16ca5f){}[_0x374478(0x166)](..._0x5e6d1e){}['onJoinGroupNoVerifyFlag'](..._0x55b1ed){}['onMemberInfoChange'](_0x54e76b,_0x532f46,_0x5c641c){}['onMemberListChange'](_0xee6382){}[_0x374478(0x153)](..._0x482a4b){}[_0x374478(0x168)](..._0x2c708){}}export class DebugGroupListener{[_0x374478(0x157)](..._0x9ca427){var _0x3d4edd=_0x374478;console[_0x3d4edd(0x15a)](_0x3d4edd(0x12d),..._0x9ca427);}['onGetGroupBulletinListResult'](..._0x22ff26){var _0x1b0034=_0x374478,_0x5187ad={'WDgPN':_0x1b0034(0x12f)};console['log'](_0x5187ad['WDgPN'],..._0x22ff26);}[_0x374478(0x147)](..._0x5e95dd){var _0x2af38b=_0x374478,_0x1d415e={'xJiGM':'onGroupAllInfoChange:'};console[_0x2af38b(0x15a)](_0x1d415e['xJiGM'],..._0x5e95dd);}['onGroupBulletinChange'](..._0x33f71d){var _0x11cf91=_0x374478,_0x16bd69={'MAMpo':'onGroupBulletinChange:'};console[_0x11cf91(0x15a)](_0x16bd69[_0x11cf91(0x13f)],..._0x33f71d);}[_0x374478(0x165)](..._0x5f5791){var _0x4a30df=_0x374478,_0x23ffad={'yMfbU':_0x4a30df(0x149)};console['log'](_0x23ffad[_0x4a30df(0x133)],..._0x5f5791);}[_0x374478(0x164)](..._0x1ed6a4){var _0x38bd74=_0x374478,_0x5bf735={'PIwkJ':_0x38bd74(0x135)};console['log'](_0x5bf735[_0x38bd74(0x15d)],..._0x1ed6a4);}[_0x374478(0x126)](..._0x3d62f5){var _0x416474=_0x374478,_0x13301a={'odWvS':_0x416474(0x15e)};console[_0x416474(0x15a)](_0x13301a['odWvS'],..._0x3d62f5);}[_0x374478(0x12b)](..._0x224a3c){var _0x5276ca=_0x374478,_0xa62698={'UXeme':_0x5276ca(0x152)};console[_0x5276ca(0x15a)](_0xa62698[_0x5276ca(0x15f)],..._0x224a3c);}[_0x374478(0x137)](..._0x406bdc){var _0x2908a6=_0x374478;console[_0x2908a6(0x15a)](_0x2908a6(0x14d),..._0x406bdc);}[_0x374478(0x138)](..._0x558ccf){var _0x4a52a5=_0x374478;console[_0x4a52a5(0x15a)]('onGroupExtListUpdate:',..._0x558ccf);}[_0x374478(0x14e)](..._0x7bd395){var _0x12aedd=_0x374478,_0x15e88b={'ZKwRv':_0x12aedd(0x14a)};console[_0x12aedd(0x15a)](_0x15e88b[_0x12aedd(0x160)],..._0x7bd395);}[_0x374478(0x155)](..._0x12713b){var _0x7f9923=_0x374478,_0x2a5fe2={'uMivQ':'onGroupListUpdate:'};console[_0x7f9923(0x15a)](_0x2a5fe2[_0x7f9923(0x145)],..._0x12713b);}['onGroupNotifiesUpdated'](..._0x272df0){var _0x3d6275=_0x374478,_0xf5cd27={'Vxjpv':_0x3d6275(0x13d)};console[_0x3d6275(0x15a)](_0xf5cd27[_0x3d6275(0x139)],..._0x272df0);}[_0x374478(0x132)](..._0x19ac09){var _0x146005=_0x374478,_0x14708e={'zhxoi':_0x146005(0x151)};console['log'](_0x14708e[_0x146005(0x159)],..._0x19ac09);}['onGroupNotifiesUnreadCountUpdated'](..._0x402057){var _0x1f6ccb=_0x374478,_0x3cb88a={'oXChS':_0x1f6ccb(0x134)};console[_0x1f6ccb(0x15a)](_0x3cb88a[_0x1f6ccb(0x13c)],..._0x402057);}[_0x374478(0x142)](_0x4df061,_0x4e90a6,_0x23f57e){var _0x500e7d=_0x374478,_0x50a550={'HhEVO':_0x500e7d(0x158)};console['log'](_0x50a550[_0x500e7d(0x163)]);}[_0x374478(0x14f)](..._0x19b48a){var _0x58c595=_0x374478,_0x226772={'WpBve':_0x58c595(0x15c)};console['log'](_0x226772[_0x58c595(0x143)],..._0x19b48a);}[_0x374478(0x15b)](..._0x76e76){var _0x42b3c8=_0x374478;console['log'](_0x42b3c8(0x12e),..._0x76e76);}[_0x374478(0x166)](..._0x5725c8){var _0x34b20d=_0x374478;console[_0x34b20d(0x15a)](_0x34b20d(0x141),..._0x5725c8);}[_0x374478(0x162)](..._0x481a81){var _0x2f1d4a=_0x374478,_0x3d4f80={'Gvgjj':_0x2f1d4a(0x13b)};console[_0x2f1d4a(0x15a)](_0x3d4f80['Gvgjj'],..._0x481a81);}[_0x374478(0x12a)](_0x56ab5e,_0x11f2b9,_0x2a7707){var _0x12b0da=_0x374478,_0x5c36e2={'WJflN':_0x12b0da(0x14c)};console[_0x12b0da(0x15a)](_0x5c36e2[_0x12b0da(0x13e)],_0x56ab5e,_0x11f2b9,_0x2a7707);}[_0x374478(0x127)](..._0x1a64aa){var _0x4898d5=_0x374478,_0x5496db={'cvbbn':'onMemberListChange:'};console['log'](_0x5496db[_0x4898d5(0x129)],..._0x1a64aa);}[_0x374478(0x153)](..._0x45a97c){var _0x14e62c=_0x374478,_0xabb3d0={'GTQJD':'onSearchMemberChange:'};console[_0x14e62c(0x15a)](_0xabb3d0[_0x14e62c(0x12c)],..._0x45a97c);}[_0x374478(0x168)](..._0x254616){var _0xe46129=_0x374478,_0x394758={'ESIax':_0xe46129(0x131)};console['log'](_0x394758[_0xe46129(0x146)],..._0x254616);}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 8810d3cc..ea86b603 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x5b80(_0x1d7304,_0x3582fd){var _0x155d6c=_0x155d();return _0x5b80=function(_0x5b80f9,_0x3596cb){_0x5b80f9=_0x5b80f9-0x10c;var _0x2e369e=_0x155d6c[_0x5b80f9];return _0x2e369e;},_0x5b80(_0x1d7304,_0x3582fd);}var _0x580330=_0x5b80;(function(_0x1a15d0,_0x253b7a){var _0x37f9aa=_0x5b80,_0x5ccd6e=_0x1a15d0();while(!![]){try{var _0xd52605=parseInt(_0x37f9aa(0x115))/0x1+-parseInt(_0x37f9aa(0x111))/0x2*(parseInt(_0x37f9aa(0x114))/0x3)+-parseInt(_0x37f9aa(0x11c))/0x4+parseInt(_0x37f9aa(0x11d))/0x5+parseInt(_0x37f9aa(0x11a))/0x6+parseInt(_0x37f9aa(0x119))/0x7+-parseInt(_0x37f9aa(0x110))/0x8;if(_0xd52605===_0x253b7a)break;else _0x5ccd6e['push'](_0x5ccd6e['shift']());}catch(_0x3b9015){_0x5ccd6e['push'](_0x5ccd6e['shift']());}}}(_0x155d,0xbaebb));export class LoginListener{[_0x580330(0x11f)](..._0x5ea992){}[_0x580330(0x10c)](..._0x3ae299){}[_0x580330(0x10d)](..._0x1c6d5b){}['onQRCodeGetPicture'](_0x88dfd2){}[_0x580330(0x120)](..._0x42c730){}[_0x580330(0x117)](..._0x1bca55){}[_0x580330(0x11e)](_0x951951){}[_0x580330(0x11b)](..._0x29bc1a){}['onLoginFailed'](..._0x48c4b3){}['onLogoutSucceed'](..._0xbc18b1){}[_0x580330(0x10e)](..._0x7eef7c){}[_0x580330(0x112)](..._0x46dfb7){}[_0x580330(0x10f)](..._0x49103b){}[_0x580330(0x118)](..._0xeda4bf){}[_0x580330(0x116)](..._0x8740b1){}['onQQLoginNumLimited'](..._0x5f078c){}[_0x580330(0x113)](..._0x22d907){}}function _0x155d(){var _0x5f26e5=['3141786GvLshz','1383898fnxKoR','OnConfirmUnusualDeviceFailed','onQRCodeSessionUserScaned','onPasswordLoginFailed','2511418DDjJyF','3820536rZRyHQ','onQRCodeSessionFailed','3297076rpWFty','2760200nYujtL','onQRCodeLoginSucceed','onLoginConnected','onQRCodeLoginPollingStarted','onLoginDisConnected','onLoginConnecting','onLogoutFailed','onQRCodeSessionQuickLoginFailed','2354480HULirx','2vhZFBm','onUserLoggedIn','onLoginState'];_0x155d=function(){return _0x5f26e5;};return _0x155d();} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 7b52fb59..8836a602 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x4439ae=_0x2dfb;(function(_0x2d8277,_0x20417d){var _0x3ab2c7=_0x2dfb,_0x38f758=_0x2d8277();while(!![]){try{var _0x4649b4=-parseInt(_0x3ab2c7(0x1b7))/0x1*(-parseInt(_0x3ab2c7(0x1c6))/0x2)+parseInt(_0x3ab2c7(0x1ad))/0x3*(-parseInt(_0x3ab2c7(0x1ca))/0x4)+-parseInt(_0x3ab2c7(0x196))/0x5*(-parseInt(_0x3ab2c7(0x1a0))/0x6)+-parseInt(_0x3ab2c7(0x19f))/0x7+-parseInt(_0x3ab2c7(0x195))/0x8+-parseInt(_0x3ab2c7(0x198))/0x9+parseInt(_0x3ab2c7(0x1ac))/0xa*(parseInt(_0x3ab2c7(0x1b0))/0xb);if(_0x4649b4===_0x20417d)break;else _0x38f758['push'](_0x38f758['shift']());}catch(_0x54002b){_0x38f758['push'](_0x38f758['shift']());}}}(_0x1c5e,0x672f4));function _0x2dfb(_0x4a7c2c,_0x21f7aa){var _0x1c5ead=_0x1c5e();return _0x2dfb=function(_0x2dfb9e,_0xa68348){_0x2dfb9e=_0x2dfb9e-0x18b;var _0x369788=_0x1c5ead[_0x2dfb9e];return _0x369788;},_0x2dfb(_0x4a7c2c,_0x21f7aa);}export class MsgListener{[_0x4439ae(0x1b1)](_0x5a04b5){}[_0x4439ae(0x1b9)](_0x2411e0){}[_0x4439ae(0x1a2)](_0x2ddcf9){}[_0x4439ae(0x191)](_0x347813,_0x25a4b5,_0x35a92a){}[_0x4439ae(0x18c)](_0x3b54e5){}[_0x4439ae(0x1c5)](_0x339114){}[_0x4439ae(0x1b6)](_0x5a5273,_0x5db200,_0x193675){}['onEmojiDownloadComplete'](_0x4ab5db){}[_0x4439ae(0x1b2)](_0x169a26){}[_0x4439ae(0x19d)](_0x5a0d73){}[_0x4439ae(0x197)](_0x427ce8){}[_0x4439ae(0x19c)](_0x4101be){}['onFirstViewGroupGuildMapping'](_0x225aff){}[_0x4439ae(0x1cd)](_0x5c5391,_0x399675,_0x3c31a6,_0x2801d1,_0x5d1b2c){}[_0x4439ae(0x1a5)](_0x457303){}['onGroupFileInfoUpdate'](_0x4b74af){}[_0x4439ae(0x1a8)](_0x4ccbb9){}[_0x4439ae(0x19a)](_0x378075){}[_0x4439ae(0x190)](_0x2b0a29){}[_0x4439ae(0x1b3)](_0xe76f5b){}[_0x4439ae(0x1b8)](_0x5ea419){}[_0x4439ae(0x18e)](_0x3dbbb8){}[_0x4439ae(0x1a1)](_0xd769bd){}['onHitEmojiKeywordResult'](_0x3fd43b){}[_0x4439ae(0x1a7)](_0x33f400){}[_0x4439ae(0x1a6)](_0x2b4d9d){}['onInputStatusPush'](_0x497a29){}[_0x4439ae(0x18d)](_0x41026a){}[_0x4439ae(0x1a9)](_0x2d581a){}['onLogLevelChanged'](_0x5deaea){}[_0x4439ae(0x193)](_0x12e2dd){}[_0x4439ae(0x1a3)](_0x134969){}['onMsgDelete'](_0x5df47d,_0x2d6f80){}[_0x4439ae(0x1a4)](_0x5d8e37){}[_0x4439ae(0x1b4)](_0x4e27ed){}[_0x4439ae(0x1ae)](_0x1aef69){}[_0x4439ae(0x1be)](_0x1052aa){}[_0x4439ae(0x1bb)](_0x415b94,_0x491a3f,_0x10c11c){}[_0x4439ae(0x19e)](_0x142154){}[_0x4439ae(0x1bf)](_0x4132c5){}['onNtFirstViewMsgSyncEnd'](){}[_0x4439ae(0x19b)](){}['onNtMsgSyncStart'](){}['onReadFeedEventUpdate'](_0x1dcf7c){}[_0x4439ae(0x18b)](_0x44b372){}[_0x4439ae(0x192)](_0x2ae7a0){}['onRecvMsgSvrRspTransInfo'](_0x399b2d,_0x5e4263,_0x1337c0,_0x388d50,_0x2ba747,_0x3f8a01){}[_0x4439ae(0x1aa)](_0x2b2cb5){}[_0x4439ae(0x1c7)](_0x5dd267){}[_0x4439ae(0x1c9)](_0x45dde1){}[_0x4439ae(0x1c3)](_0xc62d23){}['onRichMediaDownloadComplete'](_0x4eeefa){}[_0x4439ae(0x1c4)](_0x598ce7){}[_0x4439ae(0x1ba)](_0x5b398e){}[_0x4439ae(0x194)](_0x29ad65){}[_0x4439ae(0x1cc)](_0x2fa851,_0x42408c,_0x48e26e,_0x1d901c){}[_0x4439ae(0x1c1)](_0x59efba,_0x3f0d02,_0x230310,_0x181a72){}[_0x4439ae(0x1cb)](_0x4aa411){}[_0x4439ae(0x1c0)](_0x330d4d){}[_0x4439ae(0x1ab)](_0x2b2a02){}[_0x4439ae(0x1b5)](_0x55acaa){}[_0x4439ae(0x1c2)](_0xa99f2d){}[_0x4439ae(0x18f)](_0x24b4d4){}['onlineStatusBigIconDownloadPush'](_0x56dad6,_0x434e1a,_0x252b94){}[_0x4439ae(0x199)](_0x19ffb2,_0x14e991,_0x4e7812){}[_0x4439ae(0x1bd)](..._0x4741ad){}[_0x4439ae(0x1c8)](..._0x24b17c){}[_0x4439ae(0x1af)](..._0x1b02f9){}[_0x4439ae(0x1bc)](..._0x19d1fe){}}function _0x1c5e(){var _0x1ecbc8=['onHitRelatedEmojiResult','onGroupGuildUpdate','onLineDev','onRecvOnlineFileMsg','onUnreadCntUpdate','610tEnnxZ','6CPenvx','onMsgInfoListUpdate','onRedTouchChanged','284834BHllgt','onAddSendMsg','onEmojiResourceUpdate','onGuildInteractiveUpdate','onMsgInfoListAdd','onUserChannelTabStatusChanged','onDraftUpdate','169Ucfbdo','onGuildMsgAbFlagChanged','onBroadcastHelperDownloadComplete','onRichMediaUploadComplete','onMsgRecall','onBroadcastHelperProgerssUpdate','onUserSecQualityChanged','onMsgQRCodeStatusChanged','onMsgSettingUpdate','onUnreadCntAfterFirstView','onSysMsgNotification','onUserOnlineStatusChanged','onRecvUDCFlag','onRichMediaProgerssUpdate','onCustomWithdrawConfigUpdate','1852HNbbLh','onRecvS2CMsg','onMsgWithRichLinkInfoUpdate','onRecvSysMsg','634704PgxgtH','onTempChatInfoUpdate','onSendMsgError','onGrabPasswordRedBag','onRecvGroupGuildFlag','onContactUnreadCntUpdate','onKickedOffLine','onGuildNotificationAbstractUpdate','onUserTabStatusChanged','onGroupTransferInfoUpdate','onChannelFreqLimitInfoUpdate','onRecvMsg','onMsgAbstractUpdate','onSearchGroupFileInfoUpdate','186672FKYtnK','52505CovYIc','onFileMsgCome','5745105iGeTnn','onlineStatusSmallIconDownloadPush','onGroupTransferInfoAdd','onNtMsgSyncEnd','onFirstViewDirectMsgUpdate','onFeedEventUpdate','onMsgSecurityNotify','4031132MJCddD','138alvXaz','onHitCsRelatedEmojiResult','onBroadcastHelperProgressUpdate','onMsgBoxChanged','onMsgEventListUpdate','onGroupFileInfoAdd','onImportOldDbProgressUpdate'];_0x1c5e=function(){return _0x1ecbc8;};return _0x1c5e();} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index 4c31d702..752e64a6 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x3d5019=_0x4260;(function(_0xc1e379,_0x40a0b8){var _0x3d182a=_0x4260,_0x21cc2b=_0xc1e379();while(!![]){try{var _0x5669dc=-parseInt(_0x3d182a(0x88))/0x1+-parseInt(_0x3d182a(0x8f))/0x2*(-parseInt(_0x3d182a(0x8c))/0x3)+parseInt(_0x3d182a(0x8e))/0x4+-parseInt(_0x3d182a(0x89))/0x5*(parseInt(_0x3d182a(0x8b))/0x6)+-parseInt(_0x3d182a(0x8d))/0x7+-parseInt(_0x3d182a(0x90))/0x8*(parseInt(_0x3d182a(0x87))/0x9)+parseInt(_0x3d182a(0x8a))/0xa;if(_0x5669dc===_0x40a0b8)break;else _0x21cc2b['push'](_0x21cc2b['shift']());}catch(_0x1aba6e){_0x21cc2b['push'](_0x21cc2b['shift']());}}}(_0x1d52,0x54f1d));function _0x1d52(){var _0x4fb3b4=['2240686ZsxbMc','501544hkThOo','66334ivXkgj','188392jUgQxh','onProfileSimpleChanged','onStatusUpdate','onStrangerRemarkChanged','171sJGnru','28383NRdkVT','1518565IVhQJh','11895040bwQFNw','6yaqWaW','12icqOQv'];_0x1d52=function(){return _0x4fb3b4;};return _0x1d52();}function _0x4260(_0x273952,_0x390ff1){var _0x1d52d4=_0x1d52();return _0x4260=function(_0x4260f0,_0x42eebd){_0x4260f0=_0x4260f0-0x86;var _0x2ce4d3=_0x1d52d4[_0x4260f0];return _0x2ce4d3;},_0x4260(_0x273952,_0x390ff1);}export class ProfileListener{[_0x3d5019(0x91)](..._0x56c144){}['onProfileDetailInfoChanged'](_0x3edfdd){}[_0x3d5019(0x92)](..._0x18faeb){}['onSelfStatusChanged'](..._0x5003bf){}[_0x3d5019(0x86)](..._0x6b984f){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index 11685a7f..84c173f9 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x4c23(_0x540215,_0x5e59d8){var _0xef0a5a=_0xef0a();return _0x4c23=function(_0x4c2368,_0x3a659a){_0x4c2368=_0x4c2368-0x14b;var _0x1ed5a1=_0xef0a5a[_0x4c2368];return _0x1ed5a1;},_0x4c23(_0x540215,_0x5e59d8);}var _0x7adef7=_0x4c23;(function(_0x550585,_0x314dc6){var _0x456261=_0x4c23,_0x470dd7=_0x550585();while(!![]){try{var _0x1baad2=-parseInt(_0x456261(0x152))/0x1*(parseInt(_0x456261(0x151))/0x2)+-parseInt(_0x456261(0x14e))/0x3*(parseInt(_0x456261(0x150))/0x4)+-parseInt(_0x456261(0x14f))/0x5*(parseInt(_0x456261(0x14b))/0x6)+-parseInt(_0x456261(0x14d))/0x7*(-parseInt(_0x456261(0x153))/0x8)+-parseInt(_0x456261(0x155))/0x9+parseInt(_0x456261(0x157))/0xa+-parseInt(_0x456261(0x158))/0xb*(-parseInt(_0x456261(0x154))/0xc);if(_0x1baad2===_0x314dc6)break;else _0x470dd7['push'](_0x470dd7['shift']());}catch(_0x1dddcd){_0x470dd7['push'](_0x470dd7['shift']());}}}(_0xef0a,0xccf56));function _0xef0a(){var _0x388c33=['43492ursDPR','5isSHfX','24zUBceQ','12PtZexQ','11458854jeZEXi','onRobotListChanged','4815720SQmSFs','37226717WQTfqc','48yaTYfY','onRobotFriendListChanged','211771OlASoV','132IvmrXx','1006330xdQubP','11364faNuyJ'];_0xef0a=function(){return _0x388c33;};return _0xef0a();}export class KernelRobotListener{[_0x7adef7(0x14c)](..._0x1d353c){}[_0x7adef7(0x156)](..._0xf0e62c){}['onRobotProfileChanged'](..._0x5779e5){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index 2ab9116c..8277a5aa 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x12f4a0=_0x105a;function _0x350d(){var _0x1fdb88=['12464685tzgvHt','1299091LJcaYb','12140410ECLtXa','21Ybbzle','onSessionInitComplete','35IYEGVJ','onGetSelfTinyId','685028PsxPAH','11TSQQaX','2332146DyHrzB','57802aqoLjy','onGProSessionCreate','21dXScVe','onNTSessionCreate','6094944FGrVlQ'];_0x350d=function(){return _0x1fdb88;};return _0x350d();}function _0x105a(_0x1b96fe,_0x5be3c0){var _0x350d7c=_0x350d();return _0x105a=function(_0x105a2e,_0xced1a0){_0x105a2e=_0x105a2e-0x74;var _0x237d85=_0x350d7c[_0x105a2e];return _0x237d85;},_0x105a(_0x1b96fe,_0x5be3c0);}(function(_0x189b1a,_0x15fabc){var _0x20a19a=_0x105a,_0x4809e0=_0x189b1a();while(!![]){try{var _0x452a18=-parseInt(_0x20a19a(0x78))/0x1+parseInt(_0x20a19a(0x81))/0x2*(parseInt(_0x20a19a(0x74))/0x3)+parseInt(_0x20a19a(0x7e))/0x4*(-parseInt(_0x20a19a(0x7c))/0x5)+parseInt(_0x20a19a(0x80))/0x6*(parseInt(_0x20a19a(0x7a))/0x7)+-parseInt(_0x20a19a(0x76))/0x8+parseInt(_0x20a19a(0x77))/0x9+parseInt(_0x20a19a(0x79))/0xa*(parseInt(_0x20a19a(0x7f))/0xb);if(_0x452a18===_0x15fabc)break;else _0x4809e0['push'](_0x4809e0['shift']());}catch(_0x1932a0){_0x4809e0['push'](_0x4809e0['shift']());}}}(_0x350d,0xacc2c));export class SessionListener{[_0x12f4a0(0x75)](_0x51b575){}[_0x12f4a0(0x82)](_0x2139e8){}[_0x12f4a0(0x7b)](_0x16acaf){}['onOpentelemetryInit'](_0xa26691){}['onUserOnlineResult'](_0x127191){}[_0x12f4a0(0x7d)](_0x4bcc1c){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index 9887219a..65d0d0ba 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x4fb5(_0x378570,_0x5ea9f4){var _0x5c0a9c=_0x5c0a();return _0x4fb5=function(_0x4fb522,_0xa203d2){_0x4fb522=_0x4fb522-0x151;var _0x29b9ac=_0x5c0a9c[_0x4fb522];return _0x29b9ac;},_0x4fb5(_0x378570,_0x5ea9f4);}var _0x52b738=_0x4fb5;(function(_0x5811b2,_0x261114){var _0x428b9e=_0x4fb5,_0x3832ca=_0x5811b2();while(!![]){try{var _0x41c718=-parseInt(_0x428b9e(0x15d))/0x1*(parseInt(_0x428b9e(0x152))/0x2)+-parseInt(_0x428b9e(0x161))/0x3*(parseInt(_0x428b9e(0x156))/0x4)+-parseInt(_0x428b9e(0x154))/0x5*(parseInt(_0x428b9e(0x153))/0x6)+-parseInt(_0x428b9e(0x157))/0x7*(parseInt(_0x428b9e(0x15c))/0x8)+-parseInt(_0x428b9e(0x155))/0x9+parseInt(_0x428b9e(0x162))/0xa*(parseInt(_0x428b9e(0x15e))/0xb)+-parseInt(_0x428b9e(0x15a))/0xc*(-parseInt(_0x428b9e(0x158))/0xd);if(_0x41c718===_0x261114)break;else _0x3832ca['push'](_0x3832ca['shift']());}catch(_0x399bc2){_0x3832ca['push'](_0x3832ca['shift']());}}}(_0x5c0a,0x878b2));function _0x5c0a(){var _0x2d7285=['5709CgcEUS','606650iODyFs','onScanCacheProgressChanged','298ieWBmU','12rzzIJE','2177470NogrMO','1620306xJHpAX','1844CXnsPV','371952cuGzTD','97981PzEgEd','onCleanCacheStorageChanged','4692mLdgDz','onFinishScan','136nKzCkt','2341jppWbW','143hVZAmI','onChatCleanDone','onCleanCacheProgressChanged'];_0x5c0a=function(){return _0x2d7285;};return _0x5c0a();}export class StorageCleanListener{[_0x52b738(0x160)](_0x4ab8dd){}[_0x52b738(0x151)](_0x276b76){}[_0x52b738(0x159)](_0x1f32e0){}[_0x52b738(0x15b)](_0x479210){}[_0x52b738(0x15f)](_0x4362d2){}} \ No newline at end of file +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 diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index f8e81b56..17a20d45 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -function _0x2a6f(){var _0x2caf3f=['831171rCmUnQ','8531736SKvMyU','2753085jjUgtc','4wDidKj','48DMFCnL','1956787lgcMXh','111106CAvKBL','3048410QHpIny','90oCWonK','13952241YKympb','2bveEiA'];_0x2a6f=function(){return _0x2caf3f;};return _0x2a6f();}(function(_0x49426c,_0x5ea5dc){var _0x3715d1=_0x4cdd,_0x2ada5d=_0x49426c();while(!![]){try{var _0x32f7c9=parseInt(_0x3715d1(0x1b1))/0x1*(parseInt(_0x3715d1(0x1ad))/0x2)+parseInt(_0x3715d1(0x1a9))/0x3*(-parseInt(_0x3715d1(0x1aa))/0x4)+parseInt(_0x3715d1(0x1ae))/0x5+-parseInt(_0x3715d1(0x1a8))/0x6+parseInt(_0x3715d1(0x1ac))/0x7*(parseInt(_0x3715d1(0x1ab))/0x8)+parseInt(_0x3715d1(0x1b0))/0x9+-parseInt(_0x3715d1(0x1af))/0xa*(parseInt(_0x3715d1(0x1b2))/0xb);if(_0x32f7c9===_0x5ea5dc)break;else _0x2ada5d['push'](_0x2ada5d['shift']());}catch(_0x4d0df9){_0x2ada5d['push'](_0x2ada5d['shift']());}}}(_0x2a6f,0xe2b47));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x4cdd(_0x58a84e,_0x23962c){var _0x2a6f73=_0x2a6f();return _0x4cdd=function(_0x4cdddf,_0x5b2318){_0x4cdddf=_0x4cdddf-0x1a8;var _0x1da17e=_0x2a6f73[_0x4cdddf];return _0x1da17e;},_0x4cdd(_0x58a84e,_0x23962c);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +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 diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index b6a5da4c..931ab8ee 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x41a6dd,_0x5cb689){var _0x1cbdb9=_0x5245,_0x3edcdf=_0x41a6dd();while(!![]){try{var _0x2b752e=-parseInt(_0x1cbdb9(0x180))/0x1+-parseInt(_0x1cbdb9(0x184))/0x2+-parseInt(_0x1cbdb9(0x186))/0x3+parseInt(_0x1cbdb9(0x182))/0x4+-parseInt(_0x1cbdb9(0x187))/0x5+parseInt(_0x1cbdb9(0x183))/0x6*(-parseInt(_0x1cbdb9(0x185))/0x7)+parseInt(_0x1cbdb9(0x181))/0x8*(parseInt(_0x1cbdb9(0x17f))/0x9);if(_0x2b752e===_0x5cb689)break;else _0x3edcdf['push'](_0x3edcdf['shift']());}catch(_0x186cf2){_0x3edcdf['push'](_0x3edcdf['shift']());}}}(_0x8b01,0x89c11));function _0x5245(_0x198a46,_0xf49091){var _0x8b01d5=_0x8b01();return _0x5245=function(_0x5245d6,_0x2c4f30){_0x5245d6=_0x5245d6-0x17f;var _0xeafff9=_0x8b01d5[_0x5245d6];return _0xeafff9;},_0x5245(_0x198a46,_0xf49091);}export var GeneralCallResultStatus;(function(_0x1ccd8b){_0x1ccd8b[_0x1ccd8b['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x8b01(){var _0xefc979=['808696bPHZEi','3044608ZjEhuv','4229144kGzZOT','24esElcn','133630ooBUwl','1461026eWPnRd','201228uVZHEO','4995210wVxjrQ','54fEjbia'];_0x8b01=function(){return _0xefc979;};return _0x8b01();} \ No newline at end of file +(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 diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index ba92f115..dfab2b42 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x509470,_0x5c8291){var _0x131ce8=_0x337f,_0x122a49=_0x509470();while(!![]){try{var _0x40b663=parseInt(_0x131ce8(0x86))/0x1+parseInt(_0x131ce8(0x85))/0x2*(-parseInt(_0x131ce8(0x82))/0x3)+-parseInt(_0x131ce8(0x84))/0x4+parseInt(_0x131ce8(0x87))/0x5*(-parseInt(_0x131ce8(0x8a))/0x6)+-parseInt(_0x131ce8(0x83))/0x7+-parseInt(_0x131ce8(0x88))/0x8+parseInt(_0x131ce8(0x89))/0x9;if(_0x40b663===_0x5c8291)break;else _0x122a49['push'](_0x122a49['shift']());}catch(_0x40bc29){_0x122a49['push'](_0x122a49['shift']());}}}(_0x3973,0x47f48));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x337f(_0x2e4d0f,_0x4025e6){var _0x3973e6=_0x3973();return _0x337f=function(_0x337f7e,_0x34fbb2){_0x337f7e=_0x337f7e-0x82;var _0xfe4892=_0x3973e6[_0x337f7e];return _0xfe4892;},_0x337f(_0x2e4d0f,_0x4025e6);}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x3973(){var _0x4398d4=['8434926zYRTep','6AypZqP','3ZTVRmh','352485FRospP','463276nuZDwH','505496QNPdtK','457878BzRSTn','1413355EKdTIb','3190168XlvZOv'];_0x3973=function(){return _0x4398d4;};return _0x3973();}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(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 diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index fa457a54..9fab7d3d 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x4481(_0x32074e,_0x4797a9){const _0x1c981b=_0x1c98();return _0x4481=function(_0x4481b3,_0x24e9f2){_0x4481b3=_0x4481b3-0x12c;let _0x3a8841=_0x1c981b[_0x4481b3];return _0x3a8841;},_0x4481(_0x32074e,_0x4797a9);}(function(_0x4fd187,_0x4f5d8c){const _0x226495=_0x4481,_0xb7e3c8=_0x4fd187();while(!![]){try{const _0x33c302=-parseInt(_0x226495(0x13d))/0x1+-parseInt(_0x226495(0x13b))/0x2*(-parseInt(_0x226495(0x140))/0x3)+parseInt(_0x226495(0x134))/0x4*(-parseInt(_0x226495(0x12e))/0x5)+parseInt(_0x226495(0x136))/0x6*(-parseInt(_0x226495(0x12f))/0x7)+-parseInt(_0x226495(0x135))/0x8+-parseInt(_0x226495(0x131))/0x9+parseInt(_0x226495(0x13a))/0xa*(parseInt(_0x226495(0x13c))/0xb);if(_0x33c302===_0x4f5d8c)break;else _0xb7e3c8['push'](_0xb7e3c8['shift']());}catch(_0x52077d){_0xb7e3c8['push'](_0xb7e3c8['shift']());}}}(_0x1c98,0x703d3));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1eede8 from'node:path';import _0x3386b8 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x34e04e,_0x271e51,_0x4f238e){const _0xb54cec=_0x4481,_0x23e218={'nrEFu':_0xb54cec(0x139),'uzSGi':_0xb54cec(0x12c),'OpOdh':function(_0x117e45){return _0x117e45();},'MTEtK':_0xb54cec(0x142),'MnzIy':_0xb54cec(0x144)},_0x575954=_0x1eede8[_0xb54cec(0x141)](_0x4f238e,_0x23e218[_0xb54cec(0x138)],'temp');_0x3386b8['mkdirSync'](_0x575954,{'recursive':!![]});const _0x2e895c=_0x1eede8[_0xb54cec(0x141)](_0x4f238e,_0x23e218[_0xb54cec(0x138)],_0x23e218['uzSGi']);let _0x1477e5=_0x23e218[_0xb54cec(0x13e)](randomUUID);try{_0x1477e5=_0x3386b8[_0xb54cec(0x130)](_0x1eede8['join'](_0x2e895c),_0x23e218[_0xb54cec(0x143)]);}catch(_0xc3545f){_0x3386b8[_0xb54cec(0x13f)](_0x1eede8['join'](_0x2e895c),_0x1477e5,'utf-8');}const _0x9cc229={'selfUin':_0x34e04e,'selfUid':_0x271e51,'desktopPathConfig':{'account_path':_0x4f238e},'clientVer':qqVersionConfigInfo[_0xb54cec(0x12d)],'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':_0x575954,'deviceInfo':{'guid':_0x1477e5,'buildVer':qqPkgInfo[_0xb54cec(0x132)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x23e218[_0xb54cec(0x133)]};return Object[_0xb54cec(0x137)](sessionConfig,_0x9cc229),_0x9cc229;}function _0x1c98(){const _0x2d06d3=['5275314dmqTXj','version','MnzIy','2432ecEROA','4962256YYEWWL','2034972hIdKiT','assign','nrEFu','NapCat','20xFzUCe','858122nCgiPw','13924768fktIMW','391900sISVAl','OpOdh','writeFileSync','3UeSpsL','join','utf-8','MTEtK','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','guid.txt','curVersion','4635hAbAKa','7FAsTwc','readFileSync'];_0x1c98=function(){return _0x2d06d3;};return _0x1c98();} \ No newline at end of file +(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 diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index a822e06d..b050f539 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x59a7(){const _0x15f9f3=['2964LaHSHr','getConfigDir','INFO','9574qYpexf','265SimkIx','getConfigPath','join','fileLogLevel','33890LihhES','napcat_','fileLog','8eIGWWA','.json','12264132xGrVnl','consoleLog','1385jfOnlf','20sITbfz','6826977AuJMak','503049EdTPry','4389ZUZkBa','consoleLogLevel','uin','4495127Rdsxhn'];_0x59a7=function(){return _0x15f9f3;};return _0x59a7();}const _0x5c31e8=_0x2ee0;(function(_0x99e45,_0x22cd69){const _0x355cb1=_0x2ee0,_0xf9fd7e=_0x99e45();while(!![]){try{const _0x55bf04=-parseInt(_0x355cb1(0xb4))/0x1*(-parseInt(_0x355cb1(0xb3))/0x2)+-parseInt(_0x355cb1(0xc2))/0x3*(parseInt(_0x355cb1(0xc0))/0x4)+parseInt(_0x355cb1(0xbf))/0x5*(parseInt(_0x355cb1(0xc7))/0x6)+parseInt(_0x355cb1(0xc6))/0x7+parseInt(_0x355cb1(0xbb))/0x8*(-parseInt(_0x355cb1(0xc1))/0x9)+-parseInt(_0x355cb1(0xb8))/0xa*(-parseInt(_0x355cb1(0xc3))/0xb)+-parseInt(_0x355cb1(0xbd))/0xc;if(_0x55bf04===_0x22cd69)break;else _0xf9fd7e['push'](_0xf9fd7e['shift']());}catch(_0x49da59){_0xf9fd7e['push'](_0xf9fd7e['shift']());}}}(_0x59a7,0xbe9f2));import _0x4c1693 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x2ee0(_0x2811fa,_0x1f8fb4){const _0x59a7d0=_0x59a7();return _0x2ee0=function(_0x2ee08f,_0x28a7c5){_0x2ee08f=_0x2ee08f-0xb2;let _0x2b58a0=_0x59a7d0[_0x2ee08f];return _0x2b58a0;},_0x2ee0(_0x2811fa,_0x1f8fb4);}class Config extends ConfigBase{[_0x5c31e8(0xba)]=!![];[_0x5c31e8(0xbe)]=!![];[_0x5c31e8(0xb7)]=LogLevel['DEBUG'];[_0x5c31e8(0xc4)]=LogLevel[_0x5c31e8(0xb2)];constructor(){super();}[_0x5c31e8(0xb5)](){const _0x4dcd6a=_0x5c31e8;return _0x4c1693[_0x4dcd6a(0xb6)](this[_0x4dcd6a(0xc8)](),_0x4dcd6a(0xb9)+selfInfo[_0x4dcd6a(0xc5)]+_0x4dcd6a(0xbc));}}export const napCatConfig=new Config(); \ No newline at end of file +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 diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index a481d9b5..975df6ba 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x298481=_0x1368;function _0x5b4c(){const _0x3a09f5=['96830TaCKqU','748Lmhpmr','998IYBnOz','1146vQODCW','25755HxKcYB','3080248oSVYtt','refreshRkey','getRkey','nCjHO','rkeyData','tEioh','GET','expired_time','774SXHZqZ','getTime','isExpired','48556552ggpSYm','serverUrl','uXXZX','1176615OQxFYI','45731TzeaGn','HttpGetJson','1088FyzVcW','http://napcat-sign.wumiao.wang:2082/rkey'];_0x5b4c=function(){return _0x3a09f5;};return _0x5b4c();}(function(_0x3b437c,_0x41cf21){const _0x172d0e=_0x1368,_0x273949=_0x3b437c();while(!![]){try{const _0x389756=parseInt(_0x172d0e(0x111))/0x1*(-parseInt(_0x172d0e(0x115))/0x2)+-parseInt(_0x172d0e(0x10e))/0x3+parseInt(_0x172d0e(0x114))/0x4*(-parseInt(_0x172d0e(0xff))/0x5)+-parseInt(_0x172d0e(0x116))/0x6*(parseInt(_0x172d0e(0x10f))/0x7)+parseInt(_0x172d0e(0x100))/0x8+-parseInt(_0x172d0e(0x108))/0x9*(parseInt(_0x172d0e(0x113))/0xa)+parseInt(_0x172d0e(0x10b))/0xb;if(_0x389756===_0x41cf21)break;else _0x273949['push'](_0x273949['shift']());}catch(_0x20d98f){_0x273949['push'](_0x273949['shift']());}}}(_0x5b4c,0xc8490));import{logError}from'@/common/utils/log';function _0x1368(_0x25317d,_0x61638e){const _0x5b4caa=_0x5b4c();return _0x1368=function(_0x1368d6,_0x16571a){_0x1368d6=_0x1368d6-0xff;let _0x82c44c=_0x5b4caa[_0x1368d6];return _0x82c44c;},_0x1368(_0x25317d,_0x61638e);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x298481(0x10c)]='';[_0x298481(0x104)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4ea20f){const _0x58a381=_0x298481;this[_0x58a381(0x10c)]=_0x4ea20f;}async[_0x298481(0x102)](){const _0x15bced=_0x298481,_0x222692={'nCjHO':'获取rkey失败'};if(this[_0x15bced(0x10a)]())try{await this['refreshRkey']();}catch(_0x5e25fb){logError(_0x222692[_0x15bced(0x103)],_0x5e25fb);}return this['rkeyData'];}[_0x298481(0x10a)](){const _0x2483e1=_0x298481,_0xd0fead={'ewKaT':function(_0x18df3f,_0xfde9a5){return _0x18df3f/_0xfde9a5;},'uXXZX':function(_0x140d78,_0x1fbff4){return _0x140d78>_0x1fbff4;}},_0xa8e64d=_0xd0fead['ewKaT'](new Date()[_0x2483e1(0x109)](),0x3e8);return _0xd0fead[_0x2483e1(0x10d)](_0xa8e64d,this['rkeyData'][_0x2483e1(0x107)]);}async[_0x298481(0x101)](){const _0x3513e7=_0x298481,_0x4a1600={'tEioh':_0x3513e7(0x106)};this['rkeyData']=await RequestUtil[_0x3513e7(0x110)](this[_0x3513e7(0x10c)],_0x4a1600[_0x3513e7(0x105)]);}}export const rkeyManager=new RkeyManager(_0x298481(0x112)); \ No newline at end of file +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 diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index b807d45c..ad01880e 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x552043=_0x1507;(function(_0x367d01,_0x4531fe){const _0x3c8359=_0x1507,_0x5cc731=_0x367d01();while(!![]){try{const _0x3fea96=-parseInt(_0x3c8359(0xc3))/0x1+-parseInt(_0x3c8359(0xc1))/0x2+parseInt(_0x3c8359(0xce))/0x3*(-parseInt(_0x3c8359(0xd5))/0x4)+parseInt(_0x3c8359(0xc6))/0x5*(parseInt(_0x3c8359(0xc7))/0x6)+parseInt(_0x3c8359(0xca))/0x7*(parseInt(_0x3c8359(0xcb))/0x8)+-parseInt(_0x3c8359(0xd4))/0x9*(-parseInt(_0x3c8359(0xd1))/0xa)+parseInt(_0x3c8359(0xc9))/0xb;if(_0x3fea96===_0x4531fe)break;else _0x5cc731['push'](_0x5cc731['shift']());}catch(_0x4a29c4){_0x5cc731['push'](_0x5cc731['shift']());}}}(_0x2363,0x280b0));import _0x4cc6e1 from'node:path';import _0x2589ac from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);let wrapperNodePath=_0x4cc6e1[_0x552043(0xd7)](_0x4cc6e1[_0x552043(0xcf)](process[_0x552043(0xd6)]),_0x552043(0xc5));!_0x2589ac[_0x552043(0xc8)](wrapperNodePath)&&(wrapperNodePath=_0x4cc6e1[_0x552043(0xd3)](_0x4cc6e1[_0x552043(0xcf)](process[_0x552043(0xd6)]),_0x552043(0xd0)+qqVersionConfigInfo[_0x552043(0xc2)]+_0x552043(0xcc)));function _0x1507(_0x2b4858,_0x2bd511){const _0x2363ee=_0x2363();return _0x1507=function(_0x150746,_0x2bf60e){_0x150746=_0x150746-0xc1;let _0x434404=_0x2363ee[_0x150746];return _0x434404;},_0x1507(_0x2b4858,_0x2bd511);}let WrapperLoader=_0x4cc6e1[_0x552043(0xd3)](__dirname,_0x552043(0xd2));_0x2589ac[_0x552043(0xc4)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');function _0x2363(){const _0x3eb6f9=['9ztlBCT','dirname','resources/app/versions/','50EILwoj','WrapperLoader.cjs','join','302337XHOlod','403892myvyBb','execPath','resolve','505586LOikcx','curVersion','221544UivqSJ','writeFileSync','./resources/app/wrapper.node','15DnEAnJ','195954olqnEY','existsSync','7150330DYpdgI','8855GYCAYp','160BWQhhW','/wrapper.node','default'];_0x2363=function(){return _0x3eb6f9;};return _0x2363();}const QQWrapper=(await import('file://'+WrapperLoader))[_0x552043(0xcd)];export default QQWrapper; \ No newline at end of file +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