From dabe1e29ed3ff4419586d67ceb7c469c201579ef 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: Tue, 21 May 2024 19:27:59 +0800 Subject: [PATCH] feat: GroupMemberDetailInfo --- 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 | 4 ++-- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/external/hook.js | 2 +- src/core.lib/src/index.js | 2 +- src/core.lib/src/listeners/NodeIKernelBuddyListener.js | 2 +- .../src/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/listeners/NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/db.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- src/onebot11/action/group/GetGroupMemberList.ts | 8 +++++--- 42 files changed, 47 insertions(+), 45 deletions(-) diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 5dda3d18..4d44d629 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x312801=_0x226a;(function(_0x2467bd,_0x1ea46c){var _0x55b3b9=_0x226a,_0xc5a225=_0x2467bd();while(!![]){try{var _0x37ca7d=-parseInt(_0x55b3b9(0xb8))/0x1*(-parseInt(_0x55b3b9(0xb7))/0x2)+parseInt(_0x55b3b9(0xbe))/0x3*(-parseInt(_0x55b3b9(0xb6))/0x4)+-parseInt(_0x55b3b9(0xba))/0x5*(parseInt(_0x55b3b9(0xbd))/0x6)+parseInt(_0x55b3b9(0xbf))/0x7+-parseInt(_0x55b3b9(0xbb))/0x8+-parseInt(_0x55b3b9(0xc0))/0x9+-parseInt(_0x55b3b9(0xbc))/0xa*(-parseInt(_0x55b3b9(0xb9))/0xb);if(_0x37ca7d===_0x1ea46c)break;else _0xc5a225['push'](_0xc5a225['shift']());}catch(_0x37c00a){_0xc5a225['push'](_0xc5a225['shift']());}}}(_0x3f33,0xa7262));function _0x226a(_0x147607,_0x4d8036){var _0x3f3311=_0x3f33();return _0x226a=function(_0x226afb,_0x3c304e){_0x226afb=_0x226afb-0xb5;var _0x4481fe=_0x3f3311[_0x226afb];return _0x4481fe;},_0x226a(_0x147607,_0x4d8036);}function _0x3f33(){var _0x49480f=['109615yGGBGb','417840uZphAj','6916336dArrkB','3280WaNFfO','84tMzoBS','2219037UDDDKL','8472464uELZIr','11638368bueewF','onMSFStatusChange','getGroupCode','4vhGRRP','546190CcHtON','1ZYSbWg'];_0x3f33=function(){return _0x49480f;};return _0x3f33();}export class DependsAdapter{[_0x312801(0xc1)](_0x1bb24c,_0x487012){}['onMSFSsoError'](_0x41a22e){}[_0x312801(0xb5)](_0x487b3b){}} \ No newline at end of file +function _0x43af(_0x2bb946,_0x4288b0){var _0x2a36b6=_0x2a36();return _0x43af=function(_0x43af2d,_0x43f61d){_0x43af2d=_0x43af2d-0x142;var _0x4b6f6f=_0x2a36b6[_0x43af2d];return _0x4b6f6f;},_0x43af(_0x2bb946,_0x4288b0);}var _0x3af5df=_0x43af;(function(_0x588052,_0x39ba3f){var _0x32b872=_0x43af,_0x37897b=_0x588052();while(!![]){try{var _0x23f0e3=parseInt(_0x32b872(0x14e))/0x1+parseInt(_0x32b872(0x148))/0x2*(-parseInt(_0x32b872(0x145))/0x3)+-parseInt(_0x32b872(0x142))/0x4+parseInt(_0x32b872(0x143))/0x5*(-parseInt(_0x32b872(0x14c))/0x6)+parseInt(_0x32b872(0x14b))/0x7*(-parseInt(_0x32b872(0x146))/0x8)+parseInt(_0x32b872(0x147))/0x9*(-parseInt(_0x32b872(0x14a))/0xa)+parseInt(_0x32b872(0x14d))/0xb;if(_0x23f0e3===_0x39ba3f)break;else _0x37897b['push'](_0x37897b['shift']());}catch(_0x3a798f){_0x37897b['push'](_0x37897b['shift']());}}}(_0x2a36,0xbfdf6));export class DependsAdapter{[_0x3af5df(0x149)](_0x2f7846,_0x1b3ecd){}[_0x3af5df(0x144)](_0x3ddbac){}[_0x3af5df(0x14f)](_0x55d883){}}function _0x2a36(){var _0x9a6ce6=['getGroupCode','6237196WTiayU','97795qLqyDJ','onMSFSsoError','6KNTfxQ','8PuiRFk','13707zrTuKW','1276172yjQaTu','onMSFStatusChange','4070UpUmWL','10386397IJZLqE','54QdGSqq','47964257idcWiJ','1540657UtgNEU'];_0x2a36=function(){return _0x9a6ce6;};return _0x2a36();} \ 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 5a0b693e..fbfe38dd 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0xd918(_0x41483d,_0x889907){var _0x58bf19=_0x58bf();return _0xd918=function(_0xd918d8,_0x1ca855){_0xd918d8=_0xd918d8-0x1a8;var _0x922fac=_0x58bf19[_0xd918d8];return _0x922fac;},_0xd918(_0x41483d,_0x889907);}var _0x2ff274=_0xd918;(function(_0x4e51bb,_0x3ea197){var _0x37f53a=_0xd918,_0x443375=_0x4e51bb();while(!![]){try{var _0x1e5344=-parseInt(_0x37f53a(0x1ad))/0x1+parseInt(_0x37f53a(0x1af))/0x2+parseInt(_0x37f53a(0x1ac))/0x3*(parseInt(_0x37f53a(0x1b0))/0x4)+-parseInt(_0x37f53a(0x1b4))/0x5*(parseInt(_0x37f53a(0x1ae))/0x6)+parseInt(_0x37f53a(0x1a9))/0x7*(-parseInt(_0x37f53a(0x1ab))/0x8)+-parseInt(_0x37f53a(0x1aa))/0x9+parseInt(_0x37f53a(0x1b2))/0xa;if(_0x1e5344===_0x3ea197)break;else _0x443375['push'](_0x443375['shift']());}catch(_0x35dc93){_0x443375['push'](_0x443375['shift']());}}}(_0x58bf,0x469fd));export class DispatcherAdapter{[_0x2ff274(0x1b3)](_0x1d95f2){}[_0x2ff274(0x1a8)](_0x3ea26c){}[_0x2ff274(0x1b1)](_0x10acdf){}}function _0x58bf(){var _0x4f3322=['dispatchRequest','2046670cXvFGX','dispatchCall','21STBWCf','2445264sDyRrR','2408lpMgBD','294726nxCwLq','374542jqZJvb','6PeQMDn','1135130cwIbEO','8xmGioW','dispatchCallWithJson','5817030ZXbzaz'];_0x58bf=function(){return _0x4f3322;};return _0x58bf();} \ No newline at end of file +var _0x396979=_0x37a8;(function(_0x545f5b,_0x321695){var _0x2d75fb=_0x37a8,_0x5d24d9=_0x545f5b();while(!![]){try{var _0xa5b2ed=-parseInt(_0x2d75fb(0xb6))/0x1*(-parseInt(_0x2d75fb(0xb8))/0x2)+parseInt(_0x2d75fb(0xbe))/0x3*(-parseInt(_0x2d75fb(0xbd))/0x4)+parseInt(_0x2d75fb(0xb9))/0x5*(-parseInt(_0x2d75fb(0xc0))/0x6)+-parseInt(_0x2d75fb(0xc4))/0x7*(parseInt(_0x2d75fb(0xb7))/0x8)+parseInt(_0x2d75fb(0xbc))/0x9*(parseInt(_0x2d75fb(0xbb))/0xa)+parseInt(_0x2d75fb(0xba))/0xb+parseInt(_0x2d75fb(0xc2))/0xc*(parseInt(_0x2d75fb(0xc1))/0xd);if(_0xa5b2ed===_0x321695)break;else _0x5d24d9['push'](_0x5d24d9['shift']());}catch(_0x139b64){_0x5d24d9['push'](_0x5d24d9['shift']());}}}(_0x4c03,0x4e513));function _0x37a8(_0x5634c9,_0x209078){var _0x4c039c=_0x4c03();return _0x37a8=function(_0x37a81d,_0x25c565){_0x37a81d=_0x37a81d-0xb6;var _0x5b8f9e=_0x4c039c[_0x37a81d];return _0x5b8f9e;},_0x37a8(_0x5634c9,_0x209078);}export class DispatcherAdapter{[_0x396979(0xbf)](_0x425e0b){}[_0x396979(0xc5)](_0x527814){}[_0x396979(0xc3)](_0x55ea71){}}function _0x4c03(){var _0x151d90=['5WPhNUM','15763HSvrFN','5801340LONlHc','9KCvKhG','1575748fHFsSN','3pdUkWj','dispatchRequest','3623340ecqAGa','2563379QEPVqF','12rKzzpR','dispatchCallWithJson','12607QcLjtT','dispatchCall','681NHiHnH','152hRqQbA','1686FndvZw'];_0x4c03=function(){return _0x151d90;};return _0x4c03();} \ 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 f1f6aa4d..8f161549 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x542e(_0x24d725,_0x626b2e){var _0x560aad=_0x560a();return _0x542e=function(_0x542ed4,_0x34edc1){_0x542ed4=_0x542ed4-0x76;var _0x635f00=_0x560aad[_0x542ed4];return _0x635f00;},_0x542e(_0x24d725,_0x626b2e);}var _0x12c22c=_0x542e;(function(_0x5f520f,_0x2af615){var _0x261cf6=_0x542e,_0x19e611=_0x5f520f();while(!![]){try{var _0x4f968b=parseInt(_0x261cf6(0x7c))/0x1+-parseInt(_0x261cf6(0x78))/0x2+parseInt(_0x261cf6(0x82))/0x3+parseInt(_0x261cf6(0x7e))/0x4+-parseInt(_0x261cf6(0x7b))/0x5*(-parseInt(_0x261cf6(0x7d))/0x6)+parseInt(_0x261cf6(0x7a))/0x7+parseInt(_0x261cf6(0x84))/0x8*(-parseInt(_0x261cf6(0x80))/0x9);if(_0x4f968b===_0x2af615)break;else _0x19e611['push'](_0x19e611['shift']());}catch(_0x364fba){_0x19e611['push'](_0x19e611['shift']());}}}(_0x560a,0x219d4));export class GlobalAdapter{[_0x12c22c(0x76)](..._0x2596f6){}[_0x12c22c(0x85)](..._0x5aa245){}['onShowErrUITips'](..._0x30bb0b){}[_0x12c22c(0x81)](..._0x526a26){}[_0x12c22c(0x7f)](..._0xda6e56){}[_0x12c22c(0x83)](..._0x24f600){}[_0x12c22c(0x79)](..._0x4642b6){}[_0x12c22c(0x77)](..._0x4dc1b2){}}function _0x560a(){var _0x8b3fc=['15ChtyeH','20320Tkwggx','310938UySqVX','724892uXQoPU','getAppSetting','7299JGoYfC','fixPicImgType','78327jdPzcS','onInstallFinished','3488ttTWCp','onGetSrvCalTime','onLog','onGetOfflineMsg','82140zEVtjW','onUpdateGeneralFlag','1044603ksIwqi'];_0x560a=function(){return _0x8b3fc;};return _0x560a();} \ No newline at end of file +function _0x1d3a(_0x4a6269,_0x5220b0){var _0x386026=_0x3860();return _0x1d3a=function(_0x1d3a32,_0x259848){_0x1d3a32=_0x1d3a32-0x75;var _0x424ffc=_0x386026[_0x1d3a32];return _0x424ffc;},_0x1d3a(_0x4a6269,_0x5220b0);}function _0x3860(){var _0x10caa9=['onInstallFinished','25191HyHSGR','17166gwpJub','onLog','5160mAZZbf','onGetOfflineMsg','8855208tjHRSN','getAppSetting','onShowErrUITips','35618rNZmRd','2693614jdTLtk','2149504MlARGO','onUpdateGeneralFlag','221507SAvWPY','141ynTAzI','700WTrjNN'];_0x3860=function(){return _0x10caa9;};return _0x3860();}var _0x161771=_0x1d3a;(function(_0x5e770b,_0x5c8338){var _0xfbe4f2=_0x1d3a,_0x2c1c73=_0x5e770b();while(!![]){try{var _0x26b875=-parseInt(_0xfbe4f2(0x79))/0x1+-parseInt(_0xfbe4f2(0x75))/0x2*(parseInt(_0xfbe4f2(0x7a))/0x3)+parseInt(_0xfbe4f2(0x77))/0x4+-parseInt(_0xfbe4f2(0x7b))/0x5*(-parseInt(_0xfbe4f2(0x7e))/0x6)+parseInt(_0xfbe4f2(0x76))/0x7+-parseInt(_0xfbe4f2(0x82))/0x8+-parseInt(_0xfbe4f2(0x7d))/0x9*(-parseInt(_0xfbe4f2(0x80))/0xa);if(_0x26b875===_0x5c8338)break;else _0x2c1c73['push'](_0x2c1c73['shift']());}catch(_0x1a3f8f){_0x2c1c73['push'](_0x2c1c73['shift']());}}}(_0x3860,0x92de3));export class GlobalAdapter{[_0x161771(0x7f)](..._0x449166){}['onGetSrvCalTime'](..._0x32a664){}[_0x161771(0x84)](..._0x1e5c79){}['fixPicImgType'](..._0x371445){}[_0x161771(0x83)](..._0x1c08b5){}[_0x161771(0x7c)](..._0x385e9d){}[_0x161771(0x78)](..._0x405a13){}[_0x161771(0x81)](..._0x4123d9){}} \ 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 dda23121..72e50650 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x3c69(_0x3bcbf7,_0x5062f6){var _0x18dfde=_0x18df();return _0x3c69=function(_0x3c698a,_0x2be4a1){_0x3c698a=_0x3c698a-0x18d;var _0x4fa004=_0x18dfde[_0x3c698a];return _0x4fa004;},_0x3c69(_0x3bcbf7,_0x5062f6);}(function(_0x10db25,_0x5cfed7){var _0x503822=_0x3c69,_0x22f0ac=_0x10db25();while(!![]){try{var _0x4c1fac=parseInt(_0x503822(0x192))/0x1+-parseInt(_0x503822(0x191))/0x2*(-parseInt(_0x503822(0x18d))/0x3)+-parseInt(_0x503822(0x18e))/0x4+-parseInt(_0x503822(0x18f))/0x5+parseInt(_0x503822(0x195))/0x6*(parseInt(_0x503822(0x190))/0x7)+-parseInt(_0x503822(0x193))/0x8*(-parseInt(_0x503822(0x196))/0x9)+-parseInt(_0x503822(0x194))/0xa;if(_0x4c1fac===_0x5cfed7)break;else _0x22f0ac['push'](_0x22f0ac['shift']());}catch(_0x1ef1d6){_0x22f0ac['push'](_0x22f0ac['shift']());}}}(_0x18df,0x6ee29));function _0x18df(){var _0x306bf8=['85099McqKSS','446612gfPezC','628119vRfteW','16UHyByL','9280230MKmgnk','312AXqpyn','1833957mTigZj','6zFIsSs','244244XMOWDt','3355860pyDEWQ'];_0x18df=function(){return _0x306bf8;};return _0x18df();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x5f1f2a,_0x137db0){var _0x307402=_0x5254,_0x1d846d=_0x5f1f2a();while(!![]){try{var _0x59d732=parseInt(_0x307402(0x13c))/0x1+parseInt(_0x307402(0x139))/0x2+-parseInt(_0x307402(0x135))/0x3*(-parseInt(_0x307402(0x137))/0x4)+parseInt(_0x307402(0x13a))/0x5*(parseInt(_0x307402(0x136))/0x6)+parseInt(_0x307402(0x138))/0x7+parseInt(_0x307402(0x13e))/0x8+parseInt(_0x307402(0x13d))/0x9*(-parseInt(_0x307402(0x13b))/0xa);if(_0x59d732===_0x137db0)break;else _0x1d846d['push'](_0x1d846d['shift']());}catch(_0x136f76){_0x1d846d['push'](_0x1d846d['shift']());}}}(_0x2975,0x9fb15));function _0x5254(_0x5a831b,_0x482ced){var _0x2975b9=_0x2975();return _0x5254=function(_0x5254a7,_0x44bed8){_0x5254a7=_0x5254a7-0x135;var _0x47f0ac=_0x2975b9[_0x5254a7];return _0x47f0ac;},_0x5254(_0x5a831b,_0x482ced);}function _0x2975(){var _0x1dc029=['8905050cCRznn','1211650TnSgUy','20ajGaNa','8650ccNUUl','938744PNKUyq','31599PCxXWJ','100288nZgdjJ','28521giqwLf','679590bEhlut','172FcyYxD'];_0x2975=function(){return _0x1dc029;};return _0x2975();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index c1fe22be..2053895e 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x23835f=_0x1f26;(function(_0x178da4,_0x4cca5a){const _0x3c5f88=_0x1f26,_0x9fc8f9=_0x178da4();while(!![]){try{const _0x4ff37a=parseInt(_0x3c5f88(0x123))/0x1+-parseInt(_0x3c5f88(0x13e))/0x2*(parseInt(_0x3c5f88(0x119))/0x3)+parseInt(_0x3c5f88(0x157))/0x4+-parseInt(_0x3c5f88(0x111))/0x5*(parseInt(_0x3c5f88(0x112))/0x6)+-parseInt(_0x3c5f88(0x128))/0x7*(parseInt(_0x3c5f88(0x13c))/0x8)+parseInt(_0x3c5f88(0x156))/0x9+parseInt(_0x3c5f88(0x164))/0xa*(parseInt(_0x3c5f88(0x11f))/0xb);if(_0x4ff37a===_0x4cca5a)break;else _0x9fc8f9['push'](_0x9fc8f9['shift']());}catch(_0xc239fc){_0x9fc8f9['push'](_0x9fc8f9['shift']());}}}(_0x9854,0xbf7b8));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x545920 from'path';function _0x1f26(_0xa75469,_0x569cb3){const _0x9854db=_0x9854();return _0x1f26=function(_0x1f2652,_0x57d6ba){_0x1f2652=_0x1f2652-0x10f;let _0x461048=_0x9854db[_0x1f2652];return _0x461048;},_0x1f26(_0xa75469,_0x569cb3);}import _0x2a4001 from'fs';function _0x9854(){const _0x21cba8=['addCacheScannedPaths','util','addCacheScanedPaths','MlTzQ','oigbW','GvZKk','/gchatpic_new/0/0-0-','wmBiP','3920wBOBZp','rbVOr','downloadRichMedia','5YUtirx','7883334GQRYIX','clearCache','irzSL','md5HexStr','getRkey','includes','start\x20downloadMedia','9hcfiVF','MaCnP','getRichMediaFilePathForGuild','copyFile','uploadFile','wUTNy','29579QKszHJ','getMsgService','getImageUrl','下载超时','915870AurKDO','downloadMedia\x20complete','join','getDesktopTmpPath','图片url获取失败','7rFIwOc','zVwGI','MWRjx','kIiqd','KzTIf','cKrCK','unlink','toUpperCase','LUwhH','downloadMedia','onRichMediaDownloadComplete','qZHeu','msgId','ext','HObqD','receive\x20downloadMedia\x20task','hJXoc','delete','IGFZw','group_rkey','348136wSRVgX','setCacheSilentScan','819600vxoxon','session','onLoginSuccess','startsWith','getHotUpdateCachePath','getFileCacheInfo','fileTypeFromFile','downloadPath','OTAXf','DetYr','noPNY','PIC','getFileType','getCacheSessionPathList','getStorageCleanService','existsSync','EZidG','clearCacheDataByKeys','filePath','tmp','clearChatCacheInfo','set','getChatCacheInfo','hotUpdate','4207752oISxVi','3734528YCJMVr','scanCache','getImageSize','getChatCacheList','getFileSize'];_0x9854=function(){return _0x21cba8;};return _0x9854();}import _0x1bd36a from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x2e75cd from'file-type';import{MsgListener}from'@/core/listeners';import _0x56f517 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[_0x23835f(0x132)]=_0x2c2874=>{const _0x445d7e=_0x23835f;for(const [_0x5081b6,_0x483fb9]of downloadMediaTasks){_0x483fb9(_0x2c2874),downloadMediaTasks[_0x445d7e(0x139)](_0x5081b6);}},setTimeout(()=>{const _0x549b0b=_0x23835f;napCatCore[_0x549b0b(0x140)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x23835f(0x14a)](_0x2b5fcc){const _0x16fc3c=_0x23835f;return _0x2e75cd[_0x16fc3c(0x144)](_0x2b5fcc);}static async[_0x23835f(0x11c)](_0x2ce61f,_0x3af45a){const _0xbb07b1=_0x23835f;await napCatCore[_0xbb07b1(0x15d)][_0xbb07b1(0x11c)](_0x2ce61f,_0x3af45a);}static async['getFileSize'](_0x32dddb){const _0x540623=_0x23835f;return await napCatCore['util'][_0x540623(0x15b)](_0x32dddb);}static async[_0x23835f(0x11d)](_0x378c18,_0xfb5c8d=ElementType[_0x23835f(0x149)],_0x33c008=0x0){const _0x117ad7=_0x23835f,_0x25d04e={'hJXoc':function(_0x11970b,_0x3cc7fe){return _0x11970b(_0x3cc7fe);},'KzTIf':function(_0x167a89,_0x4a9414){return _0x167a89===_0x4a9414;}},_0x4cf355=await _0x25d04e[_0x117ad7(0x138)](calculateFileMD5,_0x378c18);let _0x5a21f8=(await NTQQFileApi[_0x117ad7(0x14a)](_0x378c18))?.[_0x117ad7(0x135)]||'';_0x5a21f8&&(_0x5a21f8='.'+_0x5a21f8);let _0x4c96fb=''+_0x545920['basename'](_0x378c18);_0x25d04e[_0x117ad7(0x12c)](_0x4c96fb['indexOf']('.'),-0x1)&&(_0x4c96fb+=_0x5a21f8);const _0x3f98c7=napCatCore[_0x117ad7(0x13f)][_0x117ad7(0x120)]()[_0x117ad7(0x11b)]({'md5HexStr':_0x4cf355,'fileName':_0x4c96fb,'elementType':_0xfb5c8d,'elementSubType':_0x33c008,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x117ad7(0x11c)](_0x378c18,_0x3f98c7);const _0x2c4a18=await NTQQFileApi['getFileSize'](_0x378c18);return{'md5':_0x4cf355,'fileName':_0x4c96fb,'path':_0x3f98c7,'fileSize':_0x2c4a18,'ext':_0x5a21f8};}static async[_0x23835f(0x131)](_0x285687,_0x4f0f64,_0x4d66e0,_0x88e329,_0x1b3226,_0x160486,_0x2597e2=0x3e8*0x3c*0x2,_0xb2ef99=![]){const _0xf52bc8=_0x23835f,_0x411664={'kIiqd':_0xf52bc8(0x124),'wUTNy':_0xf52bc8(0x145),'RtHIB':function(_0x1ff8a8){return _0x1ff8a8();},'MGgNC':function(_0x662d7a,_0x9b07fe,_0x3e994b){return _0x662d7a(_0x9b07fe,_0x3e994b);},'zVwGI':function(_0x6228f0,_0x38438c,_0x2ed0e6,_0x38b048,_0x183da7,_0x3853ea,_0x5a7335,_0x39f789,_0x4e10d1,_0x35f638){return _0x6228f0(_0x38438c,_0x2ed0e6,_0x38b048,_0x183da7,_0x3853ea,_0x5a7335,_0x39f789,_0x4e10d1,_0x35f638);},'oigbW':_0xf52bc8(0x118)};logDebug(_0xf52bc8(0x137),_0x285687,_0x4f0f64,_0x4d66e0,_0x88e329,_0x1b3226,_0x160486,_0x2597e2,_0xb2ef99);if(_0x160486&&_0x2a4001[_0xf52bc8(0x14d)](_0x160486)){if(_0xb2ef99)try{await _0x1bd36a[_0xf52bc8(0x12e)](_0x160486);}catch(_0x2e77c6){}else return _0x160486;}return _0x411664[_0xf52bc8(0x129)](logDebug,_0x411664[_0xf52bc8(0x160)],_0x285687,_0x4f0f64,_0x4d66e0,_0x88e329,_0x1b3226,_0x160486,_0x2597e2,_0xb2ef99),new Promise((_0xf9926c,_0x4ac890)=>{const _0x303c28=_0xf52bc8,_0x527b77={'noPNY':function(_0x118ed2,_0x4cc46a,_0x4a4151,_0x58902f){return _0x118ed2(_0x4cc46a,_0x4a4151,_0x58902f);},'rbVOr':_0x411664[_0x303c28(0x12b)],'Bolgi':_0x411664[_0x303c28(0x11e)],'DetYr':function(_0x479f53,_0x4ceab3){return _0x479f53(_0x4ceab3);},'wmBiP':_0x303c28(0x122)};let _0x430512=![];const _0x2fab12=_0x262c59=>{const _0x27942c=_0x303c28;_0x527b77[_0x27942c(0x148)](logDebug,_0x527b77[_0x27942c(0x10f)],_0x262c59,_0x285687);if(_0x262c59[_0x27942c(0x134)]===_0x285687){_0x430512=!![];let _0x54c720=_0x262c59[_0x27942c(0x150)];if(_0x54c720[_0x27942c(0x141)]('\x5c')){const _0x17b16f=sessionConfig['defaultFileDownloadPath'];logDebug(_0x527b77['Bolgi'],_0x17b16f),_0x54c720=_0x545920[_0x27942c(0x125)](_0x17b16f,_0x54c720);}_0xf9926c(_0x54c720);}};downloadMediaTasks[_0x303c28(0x153)](_0x411664['RtHIB'](randomUUID),_0x2fab12),_0x411664['MGgNC'](setTimeout,()=>{const _0x32e0ec=_0x303c28;!_0x430512&&_0x527b77[_0x32e0ec(0x147)](_0x4ac890,_0x527b77[_0x32e0ec(0x163)]);},_0x2597e2),napCatCore[_0x303c28(0x13f)]['getMsgService']()[_0x303c28(0x110)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x285687,'chatType':_0x4f0f64,'peerUid':_0x4d66e0,'elementId':_0x88e329,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1b3226});});}static async[_0x23835f(0x159)](_0x56ce14){const _0x4adb33={'cKrCK':function(_0x7654ea,_0x5c5b1c){return _0x7654ea(_0x5c5b1c);},'irzSL':function(_0x1aad0f,_0x566981,_0x1bb26a){return _0x1aad0f(_0x566981,_0x1bb26a);}};return new Promise((_0x12e409,_0x4b508c)=>{const _0x3c9e1b=_0x1f26;_0x4adb33[_0x3c9e1b(0x114)](_0x56f517,_0x56ce14,(_0x137a16,_0x550b0d)=>{const _0x39c6ed=_0x3c9e1b;_0x137a16?_0x4adb33[_0x39c6ed(0x12d)](_0x4b508c,_0x137a16):_0x4adb33[_0x39c6ed(0x12d)](_0x12e409,_0x550b0d);});});}static async[_0x23835f(0x121)](_0x4fbcc0,_0x25df88){const _0x36dc61=_0x23835f,_0x464ac9={'IGFZw':'/download','MlTzQ':'&rkey=','EZidG':function(_0x1bd3ad,_0x49279e){return _0x1bd3ad+_0x49279e;},'OTAXf':function(_0x5e483b,_0x3d5ab5){return _0x5e483b+_0x3d5ab5;},'MaCnP':function(_0x21bacc,_0x587893){return _0x21bacc+_0x587893;},'qZHeu':function(_0x7e088d,_0x328367){return _0x7e088d+_0x328367;},'LUwhH':function(_0x4727e5,_0x536f45){return _0x4727e5||_0x536f45;},'MWRjx':function(_0x10ba6f,_0x3a06e4){return _0x10ba6f||_0x3a06e4;},'GvZKk':function(_0x38b8bb,_0x542955,_0x2ba5fa){return _0x38b8bb(_0x542955,_0x2ba5fa);},'HObqD':_0x36dc61(0x127)};if(!_0x4fbcc0)return'';const _0x2fc8d2=_0x4fbcc0['originImageUrl'],_0x52941f=_0x4fbcc0[_0x36dc61(0x115)],_0x355253=_0x4fbcc0[_0x36dc61(0x115)],_0x2441f7=_0x4fbcc0['fileUuid'];if(_0x2fc8d2){if(_0x2fc8d2[_0x36dc61(0x141)](_0x464ac9[_0x36dc61(0x13a)])){if(_0x2fc8d2[_0x36dc61(0x117)](_0x464ac9[_0x36dc61(0x15f)]))return _0x464ac9[_0x36dc61(0x14e)](IMAGE_HTTP_HOST_NT,_0x2fc8d2);const _0x52fc1a=await rkeyManager[_0x36dc61(0x116)](),_0x228a54=_0x25df88?_0x52fc1a['private_rkey']:_0x52fc1a[_0x36dc61(0x13b)];return _0x464ac9[_0x36dc61(0x146)](_0x464ac9[_0x36dc61(0x11a)](IMAGE_HTTP_HOST_NT,_0x2fc8d2),''+_0x228a54);}else return _0x464ac9[_0x36dc61(0x133)](IMAGE_HTTP_HOST,_0x2fc8d2);}else{if(_0x464ac9[_0x36dc61(0x130)](_0x355253,_0x52941f))return IMAGE_HTTP_HOST+_0x36dc61(0x162)+_0x464ac9[_0x36dc61(0x12a)](_0x355253,_0x52941f)[_0x36dc61(0x12f)]()+'/0';}return _0x464ac9[_0x36dc61(0x161)](logDebug,_0x464ac9[_0x36dc61(0x136)],_0x4fbcc0),'';}}export class NTQQFileCacheApi{static async[_0x23835f(0x13d)](_0x241a9c=!![]){return'';}static[_0x23835f(0x14b)](){return'';}static[_0x23835f(0x113)](_0x4272be=[_0x23835f(0x151),_0x23835f(0x155)]){const _0x10310e=_0x23835f;return napCatCore[_0x10310e(0x13f)][_0x10310e(0x14c)]()[_0x10310e(0x14f)](_0x4272be);}static[_0x23835f(0x15c)](_0x6a5ab3={}){const _0xec31af=_0x23835f;return napCatCore[_0xec31af(0x13f)]['getStorageCleanService']()[_0xec31af(0x15e)](_0x6a5ab3);}static[_0x23835f(0x158)](){const _0x4276c2=_0x23835f;return napCatCore[_0x4276c2(0x13f)][_0x4276c2(0x14c)]()['scanCache']();}static[_0x23835f(0x142)](){return'';}static[_0x23835f(0x126)](){return'';}static[_0x23835f(0x15a)](_0x23ef51,_0x2bee90=0x3e8,_0x3ba9f7=0x0){const _0x18d1c6=_0x23835f;return napCatCore[_0x18d1c6(0x13f)][_0x18d1c6(0x14c)]()[_0x18d1c6(0x154)](_0x23ef51,_0x2bee90,0x1,_0x3ba9f7);}static[_0x23835f(0x143)](_0x1e6703,_0x47eb51=0x3e8,_0x36f61f){const _0x2d5795=_0x36f61f?_0x36f61f:{'fileType':_0x1e6703};}static async['clearChatCache'](_0x234cda=[],_0x774559=[]){const _0x4ab0e2=_0x23835f;return napCatCore[_0x4ab0e2(0x13f)]['getStorageCleanService']()[_0x4ab0e2(0x152)](_0x234cda,_0x774559);}} \ No newline at end of file +const _0x1d6ea8=_0x388c;(function(_0x4b5450,_0x6bf315){const _0x123847=_0x388c,_0x377bb8=_0x4b5450();while(!![]){try{const _0x49c1e1=-parseInt(_0x123847(0xb4))/0x1*(parseInt(_0x123847(0x95))/0x2)+-parseInt(_0x123847(0x80))/0x3+-parseInt(_0x123847(0x7f))/0x4+parseInt(_0x123847(0x9e))/0x5*(parseInt(_0x123847(0x83))/0x6)+-parseInt(_0x123847(0xa9))/0x7+parseInt(_0x123847(0x98))/0x8*(-parseInt(_0x123847(0x85))/0x9)+parseInt(_0x123847(0xb9))/0xa*(parseInt(_0x123847(0xb7))/0xb);if(_0x49c1e1===_0x6bf315)break;else _0x377bb8['push'](_0x377bb8['shift']());}catch(_0x8afef4){_0x377bb8['push'](_0x377bb8['shift']());}}}(_0x2be8,0x8041a));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x14738e from'path';import _0x390ea6 from'fs';import _0x4e49fd from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4f7022 from'file-type';import{MsgListener}from'@/core/listeners';import _0x270f1d from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x388c(_0x79dcb,_0x27a1c2){const _0x2be8f6=_0x2be8();return _0x388c=function(_0x388cc8,_0x5de01c){_0x388cc8=_0x388cc8-0x70;let _0x1328d6=_0x2be8f6[_0x388cc8];return _0x1328d6;},_0x388c(_0x79dcb,_0x27a1c2);}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[_0x1d6ea8(0x8a)]=_0x222d06=>{const _0x59b0be=_0x1d6ea8,_0x251c27={'VJdzh':function(_0x2355b8,_0x11c101){return _0x2355b8(_0x11c101);}};for(const [_0x16b8a2,_0x1491ae]of downloadMediaTasks){_0x251c27[_0x59b0be(0x7b)](_0x1491ae,_0x222d06),downloadMediaTasks[_0x59b0be(0xa8)](_0x16b8a2);}},setTimeout(()=>{const _0x1d6e5c=_0x1d6ea8;napCatCore[_0x1d6e5c(0x88)](()=>{const _0x1fafaa=_0x1d6e5c;napCatCore[_0x1fafaa(0x74)](downloadMediaListener);});},0x64);function _0x2be8(){const _0x4680e8=['indexOf','join','qizWq','set','setCacheSilentScan','pnLSZ','xQHHS','addListener','getFileCacheInfo','clearChatCacheInfo','startsWith','&rkey=','unlink','dwpsr','VJdzh','getCacheSessionPathList','defaultFileDownloadPath','图片url获取失败','2007208gmlNrp','1572291gUTzqP','group_rkey','includes','3584616CxHzJU','qzjvo','4183038Piycbu','downloadMedia\x20complete','CktSD','onLoginSuccess','getHotUpdateCachePath','onRichMediaDownloadComplete','downloadPath','downloadMedia','qCpIf','start\x20downloadMedia','private_rkey','copyFile','toUpperCase','util','getChatCacheInfo','addCacheScanedPaths','6026YeJeNQ','getFileSize','receive\x20downloadMedia\x20task','16PqSLhV','fileUuid','tXBih','IXZKG','jdvAZ','tmp','5pjrqNL','clearCacheDataByKeys','LhXur','basename','uploadFile','session','wvsFv','getStorageCleanService','msgId','aeBIQ','delete','1601131AOppDj','getFileType','hfgEb','scanCache','getMsgService','getRkey','fdzDz','getDesktopTmpPath','wKnsL','clearCache','originImageUrl','46iOfrZH','existsSync','getChatCacheList','308QBXXUc','clearChatCache','803820iMhfeo','downloadRichMedia','hotUpdate','Djzsh','fileTypeFromFile'];_0x2be8=function(){return _0x4680e8;};return _0x2be8();}export class NTQQFileApi{static async[_0x1d6ea8(0xaa)](_0x46f667){const _0x6a8e69=_0x1d6ea8;return _0x4f7022[_0x6a8e69(0xbd)](_0x46f667);}static async[_0x1d6ea8(0x90)](_0x733998,_0x2faca5){const _0x1b3bf3=_0x1d6ea8;await napCatCore[_0x1b3bf3(0x92)][_0x1b3bf3(0x90)](_0x733998,_0x2faca5);}static async[_0x1d6ea8(0x96)](_0x5b4770){const _0x41e4b5=_0x1d6ea8;return await napCatCore[_0x41e4b5(0x92)][_0x41e4b5(0x96)](_0x5b4770);}static async[_0x1d6ea8(0xa2)](_0x284f1b,_0x3e0022=ElementType['PIC'],_0x51f588=0x0){const _0x522c3b=_0x1d6ea8,_0x25732e={'Djzsh':function(_0x59f0cd,_0x44534d){return _0x59f0cd(_0x44534d);},'LhXur':function(_0x33cb93,_0x2be39d){return _0x33cb93+_0x2be39d;},'jdvAZ':function(_0xd2a9e2,_0x261e53){return _0xd2a9e2===_0x261e53;}},_0x526f04=await _0x25732e[_0x522c3b(0xbc)](calculateFileMD5,_0x284f1b);let _0x22c8ed=(await NTQQFileApi[_0x522c3b(0xaa)](_0x284f1b))?.['ext']||'';_0x22c8ed&&(_0x22c8ed=_0x25732e[_0x522c3b(0xa0)]('.',_0x22c8ed));let _0x2b7cbd=''+_0x14738e[_0x522c3b(0xa1)](_0x284f1b);_0x25732e[_0x522c3b(0x9c)](_0x2b7cbd[_0x522c3b(0xbe)]('.'),-0x1)&&(_0x2b7cbd+=_0x22c8ed);const _0x52032c=napCatCore[_0x522c3b(0xa3)]['getMsgService']()['getRichMediaFilePathForGuild']({'md5HexStr':_0x526f04,'fileName':_0x2b7cbd,'elementType':_0x3e0022,'elementSubType':_0x51f588,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x284f1b,_0x52032c);const _0x20d235=await NTQQFileApi[_0x522c3b(0x96)](_0x284f1b);return{'md5':_0x526f04,'fileName':_0x2b7cbd,'path':_0x52032c,'fileSize':_0x20d235,'ext':_0x22c8ed};}static async[_0x1d6ea8(0x8c)](_0x341bfa,_0x21ced9,_0x1d34ae,_0x1198ad,_0x9f353c,_0x130157,_0x145ce4=0x3e8*0x3c*0x2,_0x31203b=![]){const _0x33759a=_0x1d6ea8,_0x2ea01a={'hfgEb':function(_0x131f8c,_0x34f511,_0x47fa0e,_0x3107c3){return _0x131f8c(_0x34f511,_0x47fa0e,_0x3107c3);},'aeBIQ':function(_0x3e513c,_0x3df53d,_0xbaba04){return _0x3e513c(_0x3df53d,_0xbaba04);},'qzjvo':function(_0x485b5c,_0x2c71e1){return _0x485b5c(_0x2c71e1);},'tXBih':'下载超时','kpwmF':function(_0x38ca02,_0x354407,_0x3533d3,_0x2d81b0,_0x476b68,_0x51ad59,_0x199d70,_0x552d2d,_0x35ecdc,_0x2a67fa){return _0x38ca02(_0x354407,_0x3533d3,_0x2d81b0,_0x476b68,_0x51ad59,_0x199d70,_0x552d2d,_0x35ecdc,_0x2a67fa);},'IXZKG':_0x33759a(0x97),'fdzDz':_0x33759a(0x8e)};_0x2ea01a['kpwmF'](logDebug,_0x2ea01a[_0x33759a(0x9b)],_0x341bfa,_0x21ced9,_0x1d34ae,_0x1198ad,_0x9f353c,_0x130157,_0x145ce4,_0x31203b);if(_0x130157&&_0x390ea6[_0x33759a(0xb5)](_0x130157)){if(_0x31203b)try{await _0x4e49fd[_0x33759a(0x79)](_0x130157);}catch(_0x1bcf4d){}else return _0x130157;}return logDebug(_0x2ea01a[_0x33759a(0xaf)],_0x341bfa,_0x21ced9,_0x1d34ae,_0x1198ad,_0x9f353c,_0x130157,_0x145ce4,_0x31203b),new Promise((_0x131b7b,_0x568f51)=>{const _0x5ca829=_0x33759a;let _0x707cca=![];const _0x8837dc=_0x5223d6=>{const _0x3a8f00=_0x388c;_0x2ea01a[_0x3a8f00(0xab)](logDebug,_0x3a8f00(0x86),_0x5223d6,_0x341bfa);if(_0x5223d6[_0x3a8f00(0xa6)]===_0x341bfa){_0x707cca=!![];let _0x593af1=_0x5223d6['filePath'];if(_0x593af1['startsWith']('\x5c')){const _0x1de0bf=sessionConfig[_0x3a8f00(0x7d)];_0x2ea01a[_0x3a8f00(0xa7)](logDebug,_0x3a8f00(0x8b),_0x1de0bf),_0x593af1=_0x14738e[_0x3a8f00(0xbf)](_0x1de0bf,_0x593af1);}_0x2ea01a[_0x3a8f00(0x84)](_0x131b7b,_0x593af1);}};downloadMediaTasks[_0x5ca829(0x70)](randomUUID(),_0x8837dc),_0x2ea01a[_0x5ca829(0xa7)](setTimeout,()=>{const _0xd29162=_0x5ca829;!_0x707cca&&_0x2ea01a['qzjvo'](_0x568f51,_0x2ea01a[_0xd29162(0x9a)]);},_0x145ce4),napCatCore[_0x5ca829(0xa3)][_0x5ca829(0xad)]()[_0x5ca829(0xba)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x341bfa,'chatType':_0x21ced9,'peerUid':_0x1d34ae,'elementId':_0x1198ad,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x9f353c});});}static async['getImageSize'](_0x3d78cd){const _0x421099={'PmuCj':function(_0x1950a9,_0x552ffa){return _0x1950a9(_0x552ffa);},'qizWq':function(_0x3eb8de,_0x1c486f,_0x2cc241){return _0x3eb8de(_0x1c486f,_0x2cc241);}};return new Promise((_0x4465af,_0x3bf9ba)=>{const _0x4e744e=_0x388c,_0x2d6a41={'xQHHS':function(_0x40e7ce,_0x5e9862){return _0x421099['PmuCj'](_0x40e7ce,_0x5e9862);},'wvsFv':function(_0xd1da06,_0x4f5e44){return _0xd1da06(_0x4f5e44);}};_0x421099[_0x4e744e(0xc0)](_0x270f1d,_0x3d78cd,(_0x4384b5,_0x6b00a0)=>{const _0x1606b7=_0x4e744e;_0x4384b5?_0x2d6a41[_0x1606b7(0x73)](_0x3bf9ba,_0x4384b5):_0x2d6a41[_0x1606b7(0xa4)](_0x4465af,_0x6b00a0);});});}static async['getImageUrl'](_0x44734a,_0xbd25d0){const _0x59bba4=_0x1d6ea8,_0x13ba8e={'kRKYM':'/download','dwpsr':_0x59bba4(0x78),'wKnsL':function(_0x3398a6,_0x5a339a){return _0x3398a6+_0x5a339a;},'qCpIf':function(_0x2179af,_0x34de6b){return _0x2179af+_0x34de6b;},'pnLSZ':function(_0x5041ff,_0x5604fd){return _0x5041ff||_0x5604fd;},'STjii':function(_0x494199,_0x33c755,_0x509645){return _0x494199(_0x33c755,_0x509645);},'CktSD':_0x59bba4(0x7e)};if(!_0x44734a)return'';const _0x388bab=_0x44734a[_0x59bba4(0xb3)],_0x3dbe0d=_0x44734a['md5HexStr'],_0x4ecd3f=_0x44734a['md5HexStr'],_0x219e98=_0x44734a[_0x59bba4(0x99)];if(_0x388bab){if(_0x388bab[_0x59bba4(0x77)](_0x13ba8e['kRKYM'])){if(_0x388bab[_0x59bba4(0x82)](_0x13ba8e[_0x59bba4(0x7a)]))return _0x13ba8e[_0x59bba4(0xb1)](IMAGE_HTTP_HOST_NT,_0x388bab);const _0x22792b=await rkeyManager[_0x59bba4(0xae)](),_0x3b0a24=_0xbd25d0?_0x22792b[_0x59bba4(0x8f)]:_0x22792b[_0x59bba4(0x81)];return _0x13ba8e[_0x59bba4(0xb1)](_0x13ba8e[_0x59bba4(0x8d)](IMAGE_HTTP_HOST_NT,_0x388bab),''+_0x3b0a24);}else return _0x13ba8e[_0x59bba4(0xb1)](IMAGE_HTTP_HOST,_0x388bab);}else{if(_0x13ba8e[_0x59bba4(0x72)](_0x4ecd3f,_0x3dbe0d))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x13ba8e[_0x59bba4(0x72)](_0x4ecd3f,_0x3dbe0d)[_0x59bba4(0x91)]()+'/0';}return _0x13ba8e['STjii'](logDebug,_0x13ba8e[_0x59bba4(0x87)],_0x44734a),'';}}export class NTQQFileCacheApi{static async[_0x1d6ea8(0x71)](_0x286564=!![]){return'';}static[_0x1d6ea8(0x7c)](){return'';}static[_0x1d6ea8(0xb2)](_0x43e21c=[_0x1d6ea8(0x9d),_0x1d6ea8(0xbb)]){const _0x29f11c=_0x1d6ea8;return napCatCore['session'][_0x29f11c(0xa5)]()[_0x29f11c(0x9f)](_0x43e21c);}static['addCacheScannedPaths'](_0x23c3d1={}){const _0x55483e=_0x1d6ea8;return napCatCore['session'][_0x55483e(0xa5)]()[_0x55483e(0x94)](_0x23c3d1);}static[_0x1d6ea8(0xac)](){const _0x22669a=_0x1d6ea8;return napCatCore[_0x22669a(0xa3)][_0x22669a(0xa5)]()[_0x22669a(0xac)]();}static[_0x1d6ea8(0x89)](){return'';}static[_0x1d6ea8(0xb0)](){return'';}static[_0x1d6ea8(0xb6)](_0x77eaa8,_0x4163a1=0x3e8,_0xfc8bc1=0x0){const _0xc732b5=_0x1d6ea8;return napCatCore[_0xc732b5(0xa3)][_0xc732b5(0xa5)]()[_0xc732b5(0x93)](_0x77eaa8,_0x4163a1,0x1,_0xfc8bc1);}static[_0x1d6ea8(0x75)](_0x12e5a5,_0x48af06=0x3e8,_0x1a9849){const _0x4cc92d=_0x1a9849?_0x1a9849:{'fileType':_0x12e5a5};}static async[_0x1d6ea8(0xb8)](_0x33337f=[],_0x164f91=[]){const _0x2fa186=_0x1d6ea8;return napCatCore['session'][_0x2fa186(0xa5)]()[_0x2fa186(0x76)](_0x33337f,_0x164f91);}} \ 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 50c7d3dd..aaaee597 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x200bce=_0x521e;function _0xbabf(){const _0x211bb5=['addListener','2865738XvhlRl','set','66454YjOygA','uid','获取好友列表完成','reqTime','829616gfjVgA','push','3355675vCCGpI','getBuddyService','QypPz','handleFriendRequest','117iGJzXo','onBuddyListChange','delete','buddyList','获取好友列表超时','gJDqR','getFriends','friendUid','uin','onLoginSuccess','70828vHbuOz','getBuddyList','EHncv','approvalFriendRequest','session','iWgub','qlebO','开始获取好友列表','19828488yGaGlA','3392438TVQZNU'];_0xbabf=function(){return _0x211bb5;};return _0xbabf();}(function(_0x2df1dc,_0x19f282){const _0x6bf846=_0x521e,_0x80a8c=_0x2df1dc();while(!![]){try{const _0x44b977=-parseInt(_0x6bf846(0x16a))/0x1+parseInt(_0x6bf846(0x14d))/0x2+parseInt(_0x6bf846(0x153))/0x3*(-parseInt(_0x6bf846(0x15d))/0x4)+-parseInt(_0x6bf846(0x14f))/0x5+-parseInt(_0x6bf846(0x168))/0x6+-parseInt(_0x6bf846(0x166))/0x7+parseInt(_0x6bf846(0x165))/0x8;if(_0x44b977===_0x19f282)break;else _0x80a8c['push'](_0x80a8c['shift']());}catch(_0x59682b){_0x80a8c['push'](_0x80a8c['shift']());}}}(_0xbabf,0x7aca6));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();function _0x521e(_0x32b35a,_0x4316c1){const _0xbabf17=_0xbabf();return _0x521e=function(_0x521e87,_0x464bc2){_0x521e87=_0x521e87-0x14a;let _0x4e917c=_0xbabf17[_0x521e87];return _0x4e917c;},_0x521e(_0x32b35a,_0x4316c1);}buddyListener[_0x200bce(0x154)]=_0xf2c49a=>{const _0x4a6b60=_0x200bce;for(const [_0x58ff70,_0x533778]of buddyChangeTasks){_0x533778(_0xf2c49a),buddyChangeTasks[_0x4a6b60(0x155)](_0x58ff70);}},setTimeout(()=>{const _0x331f78=_0x200bce;napCatCore[_0x331f78(0x15c)](()=>{const _0x148e1d=_0x331f78;napCatCore[_0x148e1d(0x167)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x200bce(0x159)](_0x29cefa=![]){const _0x2c974d=_0x200bce,_0x1fd5d8={'qlebO':_0x2c974d(0x157),'gJDqR':function(_0x43b2bf,_0x49881f,_0x2b7903){return _0x43b2bf(_0x49881f,_0x2b7903);},'yvXxm':function(_0x10044e,_0x44494e){return _0x10044e(_0x44494e);},'EHncv':function(_0x577260,_0x33e923,_0x293431){return _0x577260(_0x33e923,_0x293431);},'iWgub':function(_0x43c87a){return _0x43c87a();}};return new Promise((_0x17a917,_0x2dd79f)=>{const _0x533a8b=_0x2c974d,_0x301724={'QypPz':function(_0x3f9258,_0x1fa332,_0x32a466){const _0x3a40f2=_0x521e;return _0x1fd5d8[_0x3a40f2(0x15f)](_0x3f9258,_0x1fa332,_0x32a466);}};let _0x3f2664=![];_0x1fd5d8[_0x533a8b(0x158)](setTimeout,()=>{const _0x51eb22=_0x533a8b;!_0x3f2664&&(logDebug(_0x1fd5d8['qlebO']),_0x2dd79f(_0x1fd5d8[_0x51eb22(0x163)]));},0x1388);const _0x21371c=[],_0x4d537d=_0x2686ce=>{const _0x258077=_0x533a8b;for(const _0x1a06c1 of _0x2686ce){for(const _0x2da3ba of _0x1a06c1[_0x258077(0x156)]){_0x21371c[_0x258077(0x14e)](_0x2da3ba),uid2UinMap[_0x2da3ba[_0x258077(0x14a)]]=_0x2da3ba[_0x258077(0x15b)];}}_0x3f2664=!![],_0x1fd5d8[_0x258077(0x158)](logDebug,_0x258077(0x14b),_0x21371c),_0x1fd5d8['yvXxm'](_0x17a917,_0x21371c);};buddyChangeTasks[_0x533a8b(0x169)](_0x1fd5d8[_0x533a8b(0x162)](randomUUID),_0x4d537d),napCatCore[_0x533a8b(0x161)]['getBuddyService']()[_0x533a8b(0x15e)](_0x29cefa)['then'](_0x1e52f8=>{const _0x1724cc=_0x533a8b;_0x301724[_0x1724cc(0x151)](logDebug,_0x1724cc(0x164),_0x1e52f8);});});}static async[_0x200bce(0x152)](_0x5c339a,_0x2b7159){const _0x223df1=_0x200bce;napCatCore[_0x223df1(0x161)][_0x223df1(0x150)]()?.[_0x223df1(0x160)]({'friendUid':_0x5c339a[_0x223df1(0x15a)],'reqTime':_0x5c339a[_0x223df1(0x14c)],'accept':_0x2b7159});}} \ No newline at end of file +const _0x5714e9=_0x3eff;(function(_0x5d8342,_0x418ba8){const _0x219087=_0x3eff,_0x259e85=_0x5d8342();while(!![]){try{const _0x2ea539=parseInt(_0x219087(0xbe))/0x1+-parseInt(_0x219087(0xc7))/0x2+parseInt(_0x219087(0xab))/0x3*(parseInt(_0x219087(0xcc))/0x4)+-parseInt(_0x219087(0xb2))/0x5*(-parseInt(_0x219087(0xc1))/0x6)+-parseInt(_0x219087(0xaf))/0x7*(parseInt(_0x219087(0xca))/0x8)+parseInt(_0x219087(0xb4))/0x9*(parseInt(_0x219087(0xc2))/0xa)+-parseInt(_0x219087(0xb6))/0xb*(parseInt(_0x219087(0xbf))/0xc);if(_0x2ea539===_0x418ba8)break;else _0x259e85['push'](_0x259e85['shift']());}catch(_0x4323fe){_0x259e85['push'](_0x259e85['shift']());}}}(_0x3a35,0x2dc70));function _0x3a35(){const _0x50beb9=['buddyList','MwYex','获取好友列表超时','HzeCo','getBuddyList','165432QvYOfq','1036824vQrnaD','onBuddyListChange','552744NacNlR','170fyOYDz','LPoyk','set','handleFriendRequest','addListener','330162sYccNT','ovtag','session','32YsBXlW','bGQNI','57604zciNTU','friendUid','获取好友列表完成','开始获取好友列表','iNWlB','36QwCUzs','approvalFriendRequest','getFriends','push','208579AakSQR','TBLTE','THAPY','10OqDEAP','getBuddyService','18891vmEewV','uin','11WnTeGI','vtgOs','gSNgQ'];_0x3a35=function(){return _0x50beb9;};return _0x3a35();}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[_0x5714e9(0xc0)]=_0x727698=>{const _0x6d2f3f=_0x5714e9,_0x25d01b={'LPoyk':function(_0x29a405,_0x143344){return _0x29a405(_0x143344);}};for(const [_0x1b3e13,_0x4e9d2e]of buddyChangeTasks){_0x25d01b[_0x6d2f3f(0xc3)](_0x4e9d2e,_0x727698),buddyChangeTasks['delete'](_0x1b3e13);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x4e15d8=_0x3eff;napCatCore[_0x4e15d8(0xc6)](buddyListener);});},0x64);function _0x3eff(_0x4fbe04,_0x1c8ac5){const _0x3a352a=_0x3a35();return _0x3eff=function(_0x3effc2,_0x276f8e){_0x3effc2=_0x3effc2-0xab;let _0x4cd02d=_0x3a352a[_0x3effc2];return _0x4cd02d;},_0x3eff(_0x4fbe04,_0x1c8ac5);}export class NTQQFriendApi{static async[_0x5714e9(0xad)](_0x3d1d6d=![]){const _0xed3cf2=_0x5714e9,_0x24416c={'Emetm':function(_0x2fbfa3,_0x66bdc6){return _0x2fbfa3(_0x66bdc6);},'gSNgQ':function(_0x39ec33,_0x3ad822,_0x471e85){return _0x39ec33(_0x3ad822,_0x471e85);},'TBLTE':_0xed3cf2(0xce),'vtgOs':function(_0x4a0d0e,_0x57c437,_0xa9468a){return _0x4a0d0e(_0x57c437,_0xa9468a);},'ovtag':function(_0x181c05){return _0x181c05();}};return new Promise((_0x5d6356,_0x6bc4b6)=>{const _0x5a6a6e=_0xed3cf2,_0x59a371={'bGQNI':function(_0x1d85b7,_0x252809){return _0x1d85b7(_0x252809);},'iNWlB':_0x5a6a6e(0xbb),'MwYex':function(_0x2ed263,_0x3009cd){return _0x24416c['Emetm'](_0x2ed263,_0x3009cd);},'THAPY':function(_0x4e9ba3,_0x21469a,_0x4ecea7){const _0x5de675=_0x5a6a6e;return _0x24416c[_0x5de675(0xb8)](_0x4e9ba3,_0x21469a,_0x4ecea7);},'ObdlV':_0x24416c[_0x5a6a6e(0xb0)],'HzeCo':function(_0x2e6580,_0x4ecb21){return _0x24416c['Emetm'](_0x2e6580,_0x4ecb21);}};let _0x6a3dcc=![];_0x24416c[_0x5a6a6e(0xb7)](setTimeout,()=>{const _0x168942=_0x5a6a6e;!_0x6a3dcc&&(_0x59a371[_0x168942(0xcb)](logDebug,_0x59a371['iNWlB']),_0x59a371[_0x168942(0xba)](_0x6bc4b6,_0x59a371[_0x168942(0xd0)]));},0x1388);const _0x5448fe=[],_0x18aa12=_0x21f9d7=>{const _0x3a7627=_0x5a6a6e;for(const _0x82ce21 of _0x21f9d7){for(const _0x55d2e3 of _0x82ce21[_0x3a7627(0xb9)]){_0x5448fe[_0x3a7627(0xae)](_0x55d2e3),uid2UinMap[_0x55d2e3['uid']]=_0x55d2e3[_0x3a7627(0xb5)];}}_0x6a3dcc=!![],_0x59a371[_0x3a7627(0xb1)](logDebug,_0x59a371['ObdlV'],_0x5448fe),_0x59a371[_0x3a7627(0xbc)](_0x5d6356,_0x5448fe);};buddyChangeTasks[_0x5a6a6e(0xc4)](_0x24416c[_0x5a6a6e(0xc8)](randomUUID),_0x18aa12),napCatCore[_0x5a6a6e(0xc9)][_0x5a6a6e(0xb3)]()[_0x5a6a6e(0xbd)](_0x3d1d6d)['then'](_0x4d1aeb=>{const _0xf8ba5=_0x5a6a6e;logDebug(_0xf8ba5(0xcf),_0x4d1aeb);});});}static async[_0x5714e9(0xc5)](_0x3c9c67,_0x5f3795){const _0x444f7c=_0x5714e9;napCatCore[_0x444f7c(0xc9)][_0x444f7c(0xb3)]()?.[_0x444f7c(0xac)]({'friendUid':_0x3c9c67[_0x444f7c(0xcd)],'reqTime':_0x3c9c67['reqTime'],'accept':_0x5f3795});}} \ 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 9a8e6329..ef34a3b1 100644 --- a/src/core.lib/src/apis/group.d.ts +++ b/src/core.lib/src/apis/group.d.ts @@ -1,8 +1,8 @@ import { GroupMember, GroupRequestOperateTypes, GroupMemberRole, GroupNotify, Group } from '../entities'; export declare class NTQQGroupApi { static getGroups(forced?: boolean): Promise; - static getSingleScreenNotifies(num: number): Promise; - static getGroupMembers(groupQQ: string, num?: number): Promise>; + static getSingleScreenNotifies(num: number): Promise; + static getGroupMembers(groupQQ: string, detailInfo?: boolean, num?: number): Promise>; static getGroupNotifies(): Promise; static getGroupIgnoreNotifies(): Promise; static uploadGroupBulletinPic(GroupCode: string, imageurl: string): Promise{const _0x4ebc31=_0x77b2fe,_0x58962f={'hxgrq':function(_0x345c7b,_0x20ba9e,_0x51e4fb,_0x473d55){return _0x345c7b(_0x20ba9e,_0x51e4fb,_0x473d55);}};for(const [_0x490d2c,_0x4a1500]of SingleScreenNotifiesTasks){_0x58962f['hxgrq'](_0x4a1500,_0x6a51e9,_0x410388,_0x430c44),groupMemberTasks[_0x4ebc31(0x1c7)](_0x490d2c);}},groupListener[_0x77b2fe(0x1bb)]=(_0x8609a7,_0xd409e5)=>{const _0x525eb2=_0x77b2fe;for(const [_0x4c15fc,_0x1975bb]of groupMemberTasks){_0x1975bb(_0x8609a7,_0xd409e5),groupMemberTasks[_0x525eb2(0x1c7)](_0x4c15fc);}},setTimeout(()=>{const _0x42e0f5=_0x77b2fe;napCatCore[_0x42e0f5(0x1ae)](()=>{napCatCore['addListener'](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x77b2fe(0x1c3)](_0x1c931a=![]){const _0x12ed09=_0x77b2fe,_0x133521={'mCwvO':function(_0x35689b,_0x39f173){return _0x35689b(_0x39f173);},'fCuyV':'获取群列表超时','RiQKz':function(_0x5db866,_0x3dfdd3,_0x5c9c77){return _0x5db866(_0x3dfdd3,_0x5c9c77);},'gHAtq':_0x12ed09(0x19b),'coMfj':function(_0x30b490){return _0x30b490();}};let _0x1af238=![];return new Promise((_0x5e4330,_0x404191)=>{const _0x4ddd94=_0x12ed09,_0x145e8b={'Stamw':function(_0x56b4f7,_0x58340c,_0x12270d){const _0x4c5acc=_0x178f;return _0x133521[_0x4c5acc(0x19d)](_0x56b4f7,_0x58340c,_0x12270d);},'gIdUm':_0x133521['gHAtq']};setTimeout(()=>{const _0x419492=_0x178f;!_0x1af238&&(_0x133521[_0x419492(0x1c2)](logDebug,'获取群列表超时'),_0x133521[_0x419492(0x1c2)](_0x404191,_0x133521[_0x419492(0x191)]));},0x1388);const _0x3d59b3=(_0x128b26,_0x346a5c)=>{const _0x28bd0c=_0x178f;_0x1af238=!![],_0x145e8b[_0x28bd0c(0x1b4)](logDebug,_0x145e8b['gIdUm'],_0x346a5c),_0x5e4330(_0x346a5c);};groupMemberTasks[_0x4ddd94(0x189)](_0x133521[_0x4ddd94(0x196)](randomUUID),_0x3d59b3),napCatCore[_0x4ddd94(0x1c6)]['getGroupService']()['getGroupList'](_0x1c931a)[_0x4ddd94(0x1b0)]();});}static async[_0x77b2fe(0x1a8)](_0x187ede){const _0x1ee9c6=_0x77b2fe,_0x405105={'DGVMH':function(_0x514982,_0x9a2956,_0x17a96c){return _0x514982(_0x9a2956,_0x17a96c);},'HoCqF':function(_0x2a0036,_0x5786d1){return _0x2a0036(_0x5786d1);},'kJjdP':_0x1ee9c6(0x18b),'tSmZJ':function(_0x1b5daf){return _0x1b5daf();}},_0x9e8ae1=napCatCore['session'][_0x1ee9c6(0x1c0)]();return new Promise((_0x342f47,_0x22baec)=>{const _0x239cdf={'MOgze':function(_0x3f3b45,_0x40724d){return _0x3f3b45(_0x40724d);},'AgvpP':_0x405105['kJjdP']};let _0x2ae656=![];setTimeout(()=>{const _0x3871db=_0x178f;!_0x2ae656&&(_0x239cdf[_0x3871db(0x1a1)](logDebug,_0x239cdf[_0x3871db(0x1b6)]),_0x239cdf['MOgze'](_0x22baec,_0x3871db(0x18b)));},0x1388);const _0x27550f=(_0x551cbe,_0x140ba4,_0x517426)=>{const _0x423bf3=_0x178f;_0x2ae656=!![],_0x405105[_0x423bf3(0x199)](logDebug,'获取群系统消息列表完成',_0x517426),_0x405105['HoCqF'](_0x342f47,_0x517426);};SingleScreenNotifiesTasks['set'](_0x405105['tSmZJ'](randomUUID),_0x27550f),_0x9e8ae1['getSingleScreenNotifies'](![],'',_0x187ede);});}static async[_0x77b2fe(0x1a4)](_0x5dd642,_0x4eba19=0xbb8){const _0x1fc51a=_0x77b2fe,_0x47e33b={'CoPjm':'groupMemberList_MainWindow','Iudks':function(_0x32fec4,_0x11b3f1){return _0x32fec4!==_0x11b3f1;},'HNAvX':_0x1fc51a(0x19c),'qcYyy':function(_0x10eabe,_0x4e9e62,_0x3224bd){return _0x10eabe(_0x4e9e62,_0x3224bd);}},_0x2b9495=napCatCore['session'][_0x1fc51a(0x1c0)](),_0x42b7e5=_0x2b9495[_0x1fc51a(0x1b8)](_0x5dd642,_0x47e33b['CoPjm']),_0x22f528=await _0x2b9495[_0x1fc51a(0x18e)](_0x42b7e5,undefined,_0x4eba19);if(_0x47e33b[_0x1fc51a(0x1bc)](_0x22f528['errCode'],0x0))throw _0x47e33b[_0x1fc51a(0x1aa)]+_0x22f528[_0x1fc51a(0x198)];return _0x47e33b[_0x1fc51a(0x195)](logDebug,_0x1fc51a(0x1b3)+_0x5dd642+')成员列表结果:',_0x1fc51a(0x197)+_0x22f528[_0x1fc51a(0x193)][_0x1fc51a(0x1c5)]),_0x22f528['result'][_0x1fc51a(0x19a)][_0x1fc51a(0x1a7)](_0x5424b0=>{const _0x1179d2=_0x1fc51a;uid2UinMap[_0x5424b0[_0x1179d2(0x190)]]=_0x5424b0[_0x1179d2(0x1b9)];}),_0x22f528[_0x1fc51a(0x193)]['infos'];}static async[_0x77b2fe(0x1c4)](){}static async['getGroupIgnoreNotifies'](){}static async[_0x77b2fe(0x18a)](_0x1ab99f,_0x1957ad){const _0x23ec60=_0x77b2fe,_0x420373={'EVZtQ':_0x23ec60(0x1ab)},_0x3a7b2f=(await NTQQUserApi[_0x23ec60(0x1cb)](['qun.qq.com']))[_0x420373[_0x23ec60(0x19f)]];return napCatCore['session'][_0x23ec60(0x1c0)]()[_0x23ec60(0x18a)](_0x1ab99f,_0x3a7b2f,_0x1957ad);}static async[_0x77b2fe(0x1af)](_0x3c5853,_0x3cd077,_0x2a2e75){const _0x11816d=_0x77b2fe,_0x268701={'Qiuau':function(_0x50c817,_0x2d636b){return _0x50c817||_0x2d636b;}};return napCatCore['session'][_0x11816d(0x1c0)]()[_0x11816d(0x1c8)](![],{'operateType':_0x3cd077,'targetMsg':{'seq':_0x3c5853[_0x11816d(0x1c1)],'type':_0x3c5853['type'],'groupCode':_0x3c5853[_0x11816d(0x1ad)][_0x11816d(0x1ca)],'postscript':_0x268701[_0x11816d(0x19e)](_0x2a2e75,'')}});}static async[_0x77b2fe(0x1a6)](_0xb49b5d){const _0x5b02c0=_0x77b2fe;return napCatCore[_0x5b02c0(0x1c6)]['getGroupService']()[_0x5b02c0(0x1a6)](_0xb49b5d);}static async[_0x77b2fe(0x1cf)](_0x177ff6,_0x35e157,_0x279624=![],_0x467a5c=''){const _0x238db2=_0x77b2fe;return napCatCore[_0x238db2(0x1c6)][_0x238db2(0x1c0)]()['kickMember'](_0x177ff6,_0x35e157,_0x279624,_0x467a5c);}static async[_0x77b2fe(0x1ba)](_0x941a4a,_0x2c4a8a){const _0xaf8988=_0x77b2fe;return napCatCore[_0xaf8988(0x1c6)][_0xaf8988(0x1c0)]()[_0xaf8988(0x194)](_0x941a4a,_0x2c4a8a);}static async[_0x77b2fe(0x1b7)](_0x544083,_0x5aa564){const _0x49281d=_0x77b2fe;return napCatCore[_0x49281d(0x1c6)][_0x49281d(0x1c0)]()['setGroupShutUp'](_0x544083,_0x5aa564);}static async[_0x77b2fe(0x1be)](_0x367b18,_0x4cbebc,_0x39e703){const _0x2c1166=_0x77b2fe;return napCatCore[_0x2c1166(0x1c6)]['getGroupService']()[_0x2c1166(0x1d0)](_0x367b18,_0x4cbebc,_0x39e703);}static async[_0x77b2fe(0x1ac)](_0x364398,_0x16ecc2,_0x593196){const _0x58ad60=_0x77b2fe;return napCatCore['session'][_0x58ad60(0x1c0)]()[_0x58ad60(0x18f)](_0x364398,_0x16ecc2,_0x593196);}static async['setGroupName'](_0x55a89c,_0x538582){const _0x1601fe=_0x77b2fe;return napCatCore[_0x1601fe(0x1c6)][_0x1601fe(0x1c0)]()[_0x1601fe(0x1c9)](_0x55a89c,_0x538582,![]);}static async[_0x77b2fe(0x1a9)](_0xe0d16b,_0x2707d8,_0x4651c4){}static async[_0x77b2fe(0x1cc)](_0x1f4d6e,_0x137df4,_0x11cfcf=undefined,_0x502788=0x0,_0xedfaea=0x0){const _0x4e4258=_0x77b2fe,_0x14d85b={'jBLeP':'qun.qq.com'},_0x150012=(await NTQQUserApi['getPSkey']([_0x14d85b[_0x4e4258(0x18d)]]))[_0x14d85b[_0x4e4258(0x18d)]];let _0x50c20b={'text':encodeURI(_0x137df4),'picInfo':_0x11cfcf,'oldFeedsId':'','pinned':_0x502788,'confirmRequired':_0xedfaea};return napCatCore[_0x4e4258(0x1c6)][_0x4e4258(0x1c0)]()['publishGroupBulletin'](_0x1f4d6e,_0x150012,_0x50c20b);}}function _0xa111(){const _0x156876=['获取群(','Stamw','160086ijhPZL','AgvpP','banGroup','createMemberListScene','uin','banMember','onGroupListUpdate','Iudks','184bqMsHB','setMemberCard','2djKsGZ','getGroupService','seq','mCwvO','getGroups','getGroupNotifies','finish','session','delete','operateSysNotify','modifyGroupName','groupCode','getPSkey','publishGroupBulletin','1233GHcxjm','24588ijzhww','kickMember','modifyMemberCardName','set','uploadGroupBulletinPic','获取群系统消息列表超时','22311984Zcoycy','jBLeP','getNextMemberList','modifyMemberRole','uid','fCuyV','4234791nuyStT','result','setMemberShutUp','qcYyy','coMfj','finish:\x20','errMsg','DGVMH','infos','获取群列表完成','获取群成员列表出错,','RiQKz','Qiuau','EVZtQ','onGroupSingleScreenNotifies','MOgze','61173kXsCaM','465823bigiJi','getGroupMembers','1064uohOAy','quitGroup','forEach','getSingleScreenNotifies','setGroupTitle','HNAvX','qun.qq.com','setMemberRole','group','onLoginSuccess','handleGroupRequest','then','51010uVtxgS','20hkGpDe'];_0xa111=function(){return _0x156876;};return _0xa111();} \ No newline at end of file +const _0x2b4ca2=_0x4519;(function(_0x37cde0,_0x218ee7){const _0x4075cb=_0x4519,_0x2dd8ba=_0x37cde0();while(!![]){try{const _0x1236b7=-parseInt(_0x4075cb(0x1c7))/0x1*(parseInt(_0x4075cb(0x1e7))/0x2)+-parseInt(_0x4075cb(0x1d0))/0x3*(parseInt(_0x4075cb(0x1d4))/0x4)+parseInt(_0x4075cb(0x1d2))/0x5*(-parseInt(_0x4075cb(0x1ab))/0x6)+-parseInt(_0x4075cb(0x1e8))/0x7*(parseInt(_0x4075cb(0x1cf))/0x8)+parseInt(_0x4075cb(0x1d9))/0x9+parseInt(_0x4075cb(0x1a9))/0xa*(-parseInt(_0x4075cb(0x1b0))/0xb)+parseInt(_0x4075cb(0x1a7))/0xc;if(_0x1236b7===_0x218ee7)break;else _0x2dd8ba['push'](_0x2dd8ba['shift']());}catch(_0x7bd0ac){_0x2dd8ba['push'](_0x2dd8ba['shift']());}}}(_0x5cce,0x3a9c4));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';function _0x5cce(){const _0x5490ed=['banGroup','onGroupSingleScreenNotifies','Xpvnw','modifyGroupName','cvkQD','tbWUI','okqfe','655016wgaFgI','3hnMIqe','WDGpC','105GEEduU','getGroupService','228188NCmEOJ','publishGroupBulletin','setMemberRole','set','aupGj','2285865NgbjnE','获取群列表超时','session','getGroupNotifies','push','errMsg','getSingleScreenNotifies','getNextMemberList','xyKwe','delete','kfJug','then','onGroupListUpdate','mFGDW','12662EHdTLu','7JFCUGs','getPSkey','setGroupTitle','获取群成员列表出错,','length','getGroupMembers','zOFoq','quitGroup','kickMember','modifyMemberCardName','setGroupShutUp','yjUEL','获取群(','XKFWK','sMXWy','getGroupIgnoreNotifies','QMjBo','qun.qq.com','FrEqE','getUserDetailInfo','finish:\x20','result','10625556sQHyOH','seq','518530JZNhcd','LSYRK','59214VSIVLt','infos','groupMemberList_MainWindow',')成员列表结果:','operateSysNotify','22FVUfxv','values','setMemberShutUp','get','banMember','idYRb','wylGD','xULYI','获取群系统消息列表超时','finish','xPdUB','log','NZoSP','handleGroupRequest','getGroupList','usujC','onLoginSuccess','setMemberCard','type','获取群系统消息列表完成','modifyMemberRole','addListener','uid','71wlRHwW'];_0x5cce=function(){return _0x5490ed;};return _0x5cce();}import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();function _0x4519(_0xa117c2,_0x3b2611){const _0x5cce75=_0x5cce();return _0x4519=function(_0x45198d,_0x245bdb){_0x45198d=_0x45198d-0x1a7;let _0x305818=_0x5cce75[_0x45198d];return _0x305818;},_0x4519(_0xa117c2,_0x3b2611);}groupListener[_0x2b4ca2(0x1c9)]=(_0x54a647,_0x3b2f39,_0x187d02)=>{const _0x493c2d=_0x2b4ca2;for(const [_0x2fe761,_0x501ba5]of SingleScreenNotifiesTasks){_0x501ba5(_0x54a647,_0x3b2f39,_0x187d02),groupMemberTasks[_0x493c2d(0x1e2)](_0x2fe761);}},groupListener[_0x2b4ca2(0x1e5)]=(_0x362270,_0x1e0292)=>{const _0x41928a=_0x2b4ca2,_0x9e182c={'aupGj':function(_0x32be08,_0x3ebe7b,_0x5ca869){return _0x32be08(_0x3ebe7b,_0x5ca869);}};for(const [_0x19a444,_0x35010c]of groupMemberTasks){_0x9e182c[_0x41928a(0x1d8)](_0x35010c,_0x362270,_0x1e0292),groupMemberTasks[_0x41928a(0x1e2)](_0x19a444);}},setTimeout(()=>{const _0x23c5ee=_0x2b4ca2;napCatCore[_0x23c5ee(0x1c0)](()=>{const _0x195202=_0x23c5ee;napCatCore[_0x195202(0x1c5)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x8c5a57=![]){const _0x1194c9=_0x2b4ca2,_0x1a9be4={'okqfe':function(_0x5e0192,_0x461f37){return _0x5e0192(_0x461f37);},'wylGD':_0x1194c9(0x1da),'yjUEL':function(_0x4abca3,_0x2fcbc4){return _0x4abca3(_0x2fcbc4);},'tbWUI':function(_0x2a2169,_0x59a9e5,_0x452f88){return _0x2a2169(_0x59a9e5,_0x452f88);},'kfJug':function(_0x2667c8){return _0x2667c8();}};let _0x3ba9a4=![];return new Promise((_0x10bfd7,_0x774724)=>{const _0x1152bc=_0x1194c9,_0x50b525={'cvkQD':function(_0x67edb9,_0xf0b635,_0x4eee71){return _0x67edb9(_0xf0b635,_0x4eee71);},'xPdUB':'获取群列表完成','QMjBo':function(_0x520415,_0x653389){return _0x520415(_0x653389);}};_0x1a9be4[_0x1152bc(0x1cd)](setTimeout,()=>{const _0x100bd3=_0x1152bc;!_0x3ba9a4&&(_0x1a9be4[_0x100bd3(0x1ce)](logDebug,_0x1a9be4[_0x100bd3(0x1b6)]),_0x1a9be4[_0x100bd3(0x1f3)](_0x774724,_0x1a9be4[_0x100bd3(0x1b6)]));},0x1388);const _0x1e52d5=(_0x10db00,_0x54723c)=>{const _0x3b6708=_0x1152bc;_0x3ba9a4=!![],_0x50b525[_0x3b6708(0x1cc)](logDebug,_0x50b525[_0x3b6708(0x1ba)],_0x54723c),_0x50b525[_0x3b6708(0x1f8)](_0x10bfd7,_0x54723c);};groupMemberTasks[_0x1152bc(0x1d7)](_0x1a9be4[_0x1152bc(0x1e3)](randomUUID),_0x1e52d5),napCatCore[_0x1152bc(0x1db)][_0x1152bc(0x1d3)]()[_0x1152bc(0x1be)](_0x8c5a57)[_0x1152bc(0x1e4)]();});}static async[_0x2b4ca2(0x1df)](_0x1acb0c){const _0x17f4b9=_0x2b4ca2,_0x46a93d={'sMXWy':function(_0x2dd8fc,_0x4aacc4){return _0x2dd8fc(_0x4aacc4);},'usujC':_0x17f4b9(0x1b8),'mFGDW':function(_0x186e66,_0x489910){return _0x186e66(_0x489910);},'LSYRK':function(_0x162fea,_0x5122ff,_0x280f7d){return _0x162fea(_0x5122ff,_0x280f7d);},'FrEqE':_0x17f4b9(0x1c3),'zOFoq':function(_0x51e3e8){return _0x51e3e8();}},_0x14948a=napCatCore[_0x17f4b9(0x1db)]['getGroupService']();return new Promise((_0xb5b622,_0x468ed7)=>{const _0x4c2267=_0x17f4b9;let _0xc9a391=![];_0x46a93d[_0x4c2267(0x1aa)](setTimeout,()=>{const _0x5386ad=_0x4c2267;!_0xc9a391&&(_0x46a93d['sMXWy'](logDebug,_0x46a93d[_0x5386ad(0x1bf)]),_0x46a93d[_0x5386ad(0x1e6)](_0x468ed7,_0x46a93d[_0x5386ad(0x1bf)]));},0x1388);const _0x2e7e23=(_0x3ab233,_0x35655c,_0x413239)=>{const _0x2c65f4=_0x4c2267;_0xc9a391=!![],_0x46a93d[_0x2c65f4(0x1aa)](logDebug,_0x46a93d[_0x2c65f4(0x1fa)],_0x413239),_0x46a93d[_0x2c65f4(0x1f6)](_0xb5b622,_0x413239);};SingleScreenNotifiesTasks[_0x4c2267(0x1d7)](_0x46a93d[_0x4c2267(0x1ee)](randomUUID),_0x2e7e23),_0x14948a['getSingleScreenNotifies'](![],'',_0x1acb0c);});}static async[_0x2b4ca2(0x1ed)](_0x205556,_0x4f10ca=!![],_0x355738=0xbb8){const _0x4fcb01=_0x2b4ca2,_0x43f786={'xULYI':_0x4fcb01(0x1ad),'idYRb':function(_0x2a2c36,_0x2e961d){return _0x2a2c36!==_0x2e961d;},'awmCA':function(_0x4714ea,_0x4a43b4){return _0x4714ea+_0x4a43b4;},'xyKwe':_0x4fcb01(0x1eb),'NZoSP':function(_0x4971b9,_0x5e9a19,_0x3e02cc){return _0x4971b9(_0x5e9a19,_0x3e02cc);}},_0x5c2aa9=napCatCore[_0x4fcb01(0x1db)][_0x4fcb01(0x1d3)](),_0x1595ff=_0x5c2aa9['createMemberListScene'](_0x205556,_0x43f786[_0x4fcb01(0x1b7)]),_0x47e501=await _0x5c2aa9[_0x4fcb01(0x1e0)](_0x1595ff,undefined,_0x355738);if(_0x43f786[_0x4fcb01(0x1b5)](_0x47e501['errCode'],0x0))throw _0x43f786['awmCA'](_0x43f786[_0x4fcb01(0x1e1)],_0x47e501[_0x4fcb01(0x1de)]);_0x43f786[_0x4fcb01(0x1bc)](logDebug,_0x4fcb01(0x1f4)+_0x205556+_0x4fcb01(0x1ae),_0x4fcb01(0x1fc)+_0x47e501[_0x4fcb01(0x1fd)][_0x4fcb01(0x1b9)]),_0x47e501['result'][_0x4fcb01(0x1ac)]['forEach'](_0x235573=>{const _0x5d4739=_0x4fcb01;uid2UinMap[_0x235573[_0x5d4739(0x1c6)]]=_0x235573['uin'];});if(_0x4f10ca){let _0x1360bd=[];for(let _0x1143b2 of _0x47e501[_0x4fcb01(0x1fd)][_0x4fcb01(0x1ac)][_0x4fcb01(0x1b1)]()){_0x1360bd[_0x4fcb01(0x1dd)](NTQQUserApi[_0x4fcb01(0x1fb)](_0x1143b2[_0x4fcb01(0x1c6)]));}for(let _0x1a60b5=0x0;_0x1a60b5<_0x1360bd[_0x4fcb01(0x1ec)];_0x1a60b5++){try{let _0x2ec814=await _0x1360bd[_0x1a60b5],_0x196ec5=_0x47e501[_0x4fcb01(0x1fd)][_0x4fcb01(0x1ac)][_0x4fcb01(0x1b3)](_0x2ec814['uid']);_0x196ec5&&(Object['assign'](_0x196ec5,_0x2ec814),_0x47e501[_0x4fcb01(0x1fd)][_0x4fcb01(0x1ac)][_0x4fcb01(0x1d7)](_0x2ec814[_0x4fcb01(0x1c6)],_0x196ec5));}catch(_0x2b4347){console[_0x4fcb01(0x1bb)](_0x2b4347);}}}return _0x47e501['result'][_0x4fcb01(0x1ac)];}static async[_0x2b4ca2(0x1dc)](){}static async[_0x2b4ca2(0x1f7)](){}static async['uploadGroupBulletinPic'](_0x375bc1,_0x44e756){const _0x11f283=_0x2b4ca2,_0x244826={'Xpvnw':_0x11f283(0x1f9)},_0x2d0634=(await NTQQUserApi[_0x11f283(0x1e9)]([_0x244826['Xpvnw']]))[_0x244826[_0x11f283(0x1ca)]];return napCatCore[_0x11f283(0x1db)][_0x11f283(0x1d3)]()['uploadGroupBulletinPic'](_0x375bc1,_0x2d0634,_0x44e756);}static async[_0x2b4ca2(0x1bd)](_0x3a42a7,_0x4ae175,_0x535f18){const _0x20af9e=_0x2b4ca2;return napCatCore['session'][_0x20af9e(0x1d3)]()[_0x20af9e(0x1af)](![],{'operateType':_0x4ae175,'targetMsg':{'seq':_0x3a42a7[_0x20af9e(0x1a8)],'type':_0x3a42a7[_0x20af9e(0x1c2)],'groupCode':_0x3a42a7['group']['groupCode'],'postscript':_0x535f18||''}});}static async[_0x2b4ca2(0x1ef)](_0x5d40d8){const _0x48252e=_0x2b4ca2;return napCatCore['session'][_0x48252e(0x1d3)]()[_0x48252e(0x1ef)](_0x5d40d8);}static async[_0x2b4ca2(0x1f0)](_0x582582,_0x157774,_0xfe044d=![],_0x5e7a48=''){const _0x4e4fe5=_0x2b4ca2;return napCatCore['session'][_0x4e4fe5(0x1d3)]()[_0x4e4fe5(0x1f0)](_0x582582,_0x157774,_0xfe044d,_0x5e7a48);}static async[_0x2b4ca2(0x1b4)](_0x1cb6f0,_0x15ed1a){const _0x5a3e2d=_0x2b4ca2;return napCatCore[_0x5a3e2d(0x1db)][_0x5a3e2d(0x1d3)]()[_0x5a3e2d(0x1b2)](_0x1cb6f0,_0x15ed1a);}static async[_0x2b4ca2(0x1c8)](_0x304475,_0x2649dc){const _0x47cf95=_0x2b4ca2;return napCatCore['session']['getGroupService']()[_0x47cf95(0x1f2)](_0x304475,_0x2649dc);}static async[_0x2b4ca2(0x1c1)](_0x4c1907,_0x575ded,_0x201b9f){const _0x37ddd3=_0x2b4ca2;return napCatCore[_0x37ddd3(0x1db)][_0x37ddd3(0x1d3)]()[_0x37ddd3(0x1f1)](_0x4c1907,_0x575ded,_0x201b9f);}static async[_0x2b4ca2(0x1d6)](_0x341c4b,_0xa582f3,_0x5cc13f){const _0x36ef84=_0x2b4ca2;return napCatCore['session'][_0x36ef84(0x1d3)]()[_0x36ef84(0x1c4)](_0x341c4b,_0xa582f3,_0x5cc13f);}static async['setGroupName'](_0x24c29b,_0x140d21){const _0x1fcef7=_0x2b4ca2;return napCatCore[_0x1fcef7(0x1db)][_0x1fcef7(0x1d3)]()[_0x1fcef7(0x1cb)](_0x24c29b,_0x140d21,![]);}static async[_0x2b4ca2(0x1ea)](_0x5e9615,_0x2e9819,_0x32d2db){}static async[_0x2b4ca2(0x1d5)](_0xb12276,_0x5615be,_0x497ea3=undefined,_0x1afdf4=0x0,_0x30c6fe=0x0){const _0x32db0d=_0x2b4ca2,_0x59619c={'WDGpC':'qun.qq.com','XKFWK':function(_0x161975,_0x30fbd4){return _0x161975(_0x30fbd4);}},_0xe39215=(await NTQQUserApi['getPSkey']([_0x59619c[_0x32db0d(0x1d1)]]))[_0x32db0d(0x1f9)];let _0xc7d884={'text':_0x59619c[_0x32db0d(0x1f5)](encodeURI,_0x5615be),'picInfo':_0x497ea3,'oldFeedsId':'','pinned':_0x1afdf4,'confirmRequired':_0x30c6fe};return napCatCore['session'][_0x32db0d(0x1d3)]()[_0x32db0d(0x1d5)](_0xb12276,_0xe39215,_0xc7d884);}} \ 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 61a9b16e..ffcb2a00 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x42ec9e,_0x3c5d53){var _0x26790a=_0x4120,_0x1cf0b9=_0x42ec9e();while(!![]){try{var _0x12ccdb=parseInt(_0x26790a(0xa1))/0x1*(-parseInt(_0x26790a(0xa8))/0x2)+parseInt(_0x26790a(0xa3))/0x3+-parseInt(_0x26790a(0xa4))/0x4+parseInt(_0x26790a(0x9e))/0x5*(-parseInt(_0x26790a(0xa5))/0x6)+parseInt(_0x26790a(0xa2))/0x7+parseInt(_0x26790a(0xa0))/0x8*(-parseInt(_0x26790a(0xa7))/0x9)+-parseInt(_0x26790a(0xa6))/0xa*(-parseInt(_0x26790a(0x9f))/0xb);if(_0x12ccdb===_0x3c5d53)break;else _0x1cf0b9['push'](_0x1cf0b9['shift']());}catch(_0xbba197){_0x1cf0b9['push'](_0x1cf0b9['shift']());}}}(_0x5bf8,0x5d7c7));export*from'./file';function _0x4120(_0x5e1952,_0x137c1b){var _0x5bf8fe=_0x5bf8();return _0x4120=function(_0x41206d,_0x213e6a){_0x41206d=_0x41206d-0x9e;var _0x9c8c9=_0x5bf8fe[_0x41206d];return _0x9c8c9;},_0x4120(_0x5e1952,_0x137c1b);}export*from'./friend';export*from'./group';function _0x5bf8(){var _0x25fec3=['1084932TAbQsr','5687800qhIJgq','1773ZjlHgT','272378dWjIPd','10DlCeMH','33tXMZNU','25336ZEgeJd','1DQMToq','976647qkfmox','941649ujvmGm','2620372YxyMrf'];_0x5bf8=function(){return _0x25fec3;};return _0x5bf8();}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x4f86c3,_0x5ad4e3){var _0x5cb070=_0x7d88,_0x4414d4=_0x4f86c3();while(!![]){try{var _0xb239ee=parseInt(_0x5cb070(0x1b9))/0x1+parseInt(_0x5cb070(0x1ba))/0x2+parseInt(_0x5cb070(0x1b7))/0x3*(-parseInt(_0x5cb070(0x1bc))/0x4)+-parseInt(_0x5cb070(0x1b8))/0x5*(parseInt(_0x5cb070(0x1be))/0x6)+parseInt(_0x5cb070(0x1bb))/0x7+parseInt(_0x5cb070(0x1c1))/0x8*(-parseInt(_0x5cb070(0x1c0))/0x9)+parseInt(_0x5cb070(0x1bd))/0xa*(parseInt(_0x5cb070(0x1bf))/0xb);if(_0xb239ee===_0x5ad4e3)break;else _0x4414d4['push'](_0x4414d4['shift']());}catch(_0x30f0f5){_0x4414d4['push'](_0x4414d4['shift']());}}}(_0x391c,0x8c3c8));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';function _0x7d88(_0x45bbbf,_0x137a07){var _0x391cbd=_0x391c();return _0x7d88=function(_0x7d880,_0x36379c){_0x7d880=_0x7d880-0x1b7;var _0x3c2e42=_0x391cbd[_0x7d880];return _0x3c2e42;},_0x7d88(_0x45bbbf,_0x137a07);}function _0x391c(){var _0x4cead8=['8762568akNWsL','21KMybwE','10aMOmBE','1001184OmYKwR','489494pXCuzE','4754456koCoxY','214168UvFrUv','6540cfnZlj','197094cNnjdi','3113qfqOvt','9nNJOOJ'];_0x391c=function(){return _0x4cead8;};return _0x391c();} \ 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 a2aa34c0..ce3ce08b 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x5bac7f=_0x31d1;function _0x31d1(_0x5f5cbf,_0x366566){const _0xc08493=_0xc084();return _0x31d1=function(_0x31d1fc,_0x1e41fc){_0x31d1fc=_0x31d1fc-0x10d;let _0x2dbd46=_0xc08493[_0x31d1fc];return _0x2dbd46;},_0x31d1(_0x5f5cbf,_0x366566);}(function(_0x1c6e21,_0x5b0de7){const _0x4cb410=_0x31d1,_0x5afdca=_0x1c6e21();while(!![]){try{const _0x5d4a26=parseInt(_0x4cb410(0x111))/0x1+-parseInt(_0x4cb410(0x11f))/0x2*(-parseInt(_0x4cb410(0x113))/0x3)+-parseInt(_0x4cb410(0x123))/0x4+parseInt(_0x4cb410(0x143))/0x5*(-parseInt(_0x4cb410(0x13f))/0x6)+parseInt(_0x4cb410(0x11d))/0x7+-parseInt(_0x4cb410(0x10f))/0x8+parseInt(_0x4cb410(0x12b))/0x9;if(_0x5d4a26===_0x5b0de7)break;else _0x5afdca['push'](_0x5afdca['shift']());}catch(_0x10ce67){_0x5afdca['push'](_0x5afdca['shift']());}}}(_0xc084,0x2ce59));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0xc084(){const _0x4f960f=['map','83590gwXBQC','getMsgsByMsgId','forwardMsg','364728URBogs','KsONx','193157toocgM','getMsgsBySeqAndCount','95661AJZbOa','multiForwardMsg','xMXZa','com.tencent.multimsg','find','bytesData','setMsgRead','getMsgsIncludeSelf','WXOXE','session','976192guLGPo','RIMUJ','10yupeYh','setEmojiLike','getMsgService','recallMsg','21292PMtRXv','sendMsg','peerUid','YhhTU','app','nick','chatType','arkElement','543645zhspeH','chOoL','fetchRecentContact','multiForwardMsgWithComment','msgId','jRKxa','onLoginSuccess','IGgTl','delete','DKvrg','sendStatus','then','SxGZQ','activateChat','catch','XnZbZ','onMsgInfoListUpdate','addListener','PCThX','forEach','114FcjUjk','onAddSendMsg','getMsgHistory'];_0xc084=function(){return _0x4f960f;};return _0xc084();}const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x5bac7f(0x140)]=_0x3714be=>{const _0x4f5bd2=_0x5bac7f;for(const [_0x41a6a2,_0x46ccec]of sentMsgTasks){_0x46ccec(_0x3714be),sentMsgTasks[_0x4f5bd2(0x133)](_0x41a6a2);}if(sendMessagePool[_0x3714be[_0x4f5bd2(0x125)]]){const _0x42b1a6=sendMessagePool[_0x3714be['peerUid']]?.(_0x3714be);_0x42b1a6 instanceof Promise&&_0x42b1a6[_0x4f5bd2(0x136)]()[_0x4f5bd2(0x139)](logError);}},msgListener[_0x5bac7f(0x13b)]=_0x466ae2=>{const _0x33773b=_0x5bac7f,_0x5bf7a9={'UuFuP':function(_0x29a5f9,_0x3e4dd3){return _0x29a5f9 instanceof _0x3e4dd3;},'IGgTl':function(_0x46eee5,_0x3c7a7e){return _0x46eee5(_0x3c7a7e);}};_0x466ae2[_0x33773b(0x13e)](_0x1f9387=>{const _0x2f896a=_0x33773b,_0xac9822={'SxGZQ':function(_0x1f0c81,_0x3d4682){return _0x5bf7a9['UuFuP'](_0x1f0c81,_0x3d4682);},'DKvrg':function(_0x518041,_0x48a319){const _0xcfe14a=_0x31d1;return _0x5bf7a9[_0xcfe14a(0x132)](_0x518041,_0x48a319);}};new Promise((_0x1fd9b2,_0x67ee72)=>{const _0x277e1f=_0x31d1;for(const _0x546a3b in sendSuccessCBMap){const _0x261738=sendSuccessCBMap[_0x546a3b],_0x2cecfd=_0x261738(_0x1f9387),_0x4c3adc=_0x4ecbbc=>{_0x4ecbbc&&delete sendSuccessCBMap[_0x546a3b];};_0xac9822[_0x277e1f(0x137)](_0x2cecfd,Promise)?_0x2cecfd[_0x277e1f(0x136)](_0x4c3adc):_0xac9822[_0x277e1f(0x134)](_0x4c3adc,_0x2cecfd);}})[_0x2f896a(0x136)]()[_0x2f896a(0x139)](log);});},setTimeout(()=>{const _0x338427=_0x5bac7f;napCatCore[_0x338427(0x131)](()=>{const _0x24db68=_0x338427;napCatCore[_0x24db68(0x13c)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5bac7f(0x120)](_0x4682c3,_0x534e7a,_0x5eef8c,_0x5c294c=!![]){const _0x25682a=_0x5bac7f,_0x28a497={'KsONx':function(_0x12b68a,_0x5657a9){return _0x12b68a>_0x5657a9;}};return _0x5eef8c=_0x5eef8c['toString'](),napCatCore[_0x25682a(0x11c)][_0x25682a(0x121)]()['setMsgEmojiLikes'](_0x4682c3,_0x534e7a,_0x5eef8c,_0x28a497[_0x25682a(0x110)](_0x5eef8c['length'],0x3)?'2':'1',_0x5c294c);}static async['getMultiMsg'](_0x525191,_0x32163d,_0x80928a){const _0x57f7e3=_0x5bac7f;return napCatCore['session'][_0x57f7e3(0x121)]()['getMultiMsg'](_0x525191,_0x32163d,_0x80928a);}static async['getMsgsByMsgId'](_0x522d29,_0x22b9e6){const _0x27bc5d=_0x5bac7f;return await napCatCore[_0x27bc5d(0x11c)][_0x27bc5d(0x121)]()[_0x27bc5d(0x10d)](_0x522d29,_0x22b9e6);}static async[_0x5bac7f(0x112)](_0xbfc3e9,_0x47013e,_0x58cca4,_0x105e6d,_0x11bd7e){const _0x3093f0=_0x5bac7f;return await napCatCore[_0x3093f0(0x11c)][_0x3093f0(0x121)]()['getMsgsBySeqAndCount'](_0xbfc3e9,_0x47013e,_0x58cca4,_0x105e6d,_0x11bd7e);}static async[_0x5bac7f(0x138)](_0x5a974d){}static async['activateChatAndGetHistory'](_0x107143){}static async[_0x5bac7f(0x119)](_0x2c9252){const _0x145b0b=_0x5bac7f;return napCatCore[_0x145b0b(0x11c)][_0x145b0b(0x121)]()[_0x145b0b(0x119)](_0x2c9252);}static async[_0x5bac7f(0x141)](_0x292b68,_0x52d699,_0x308329){const _0x5ec9e5=_0x5bac7f;return napCatCore['session'][_0x5ec9e5(0x121)]()[_0x5ec9e5(0x11a)](_0x292b68,_0x52d699,_0x308329,!![]);}static async[_0x5bac7f(0x12d)](){}static async['recallMsg'](_0x252dcf,_0x21ac7c){const _0x106c8c=_0x5bac7f;await napCatCore['session'][_0x106c8c(0x121)]()[_0x106c8c(0x122)]({'chatType':_0x252dcf[_0x106c8c(0x129)],'peerUid':_0x252dcf['peerUid']},_0x21ac7c);}static async[_0x5bac7f(0x124)](_0x393690,_0x179003,_0x564d3c=!![],_0x1437a7=0x2710){const _0x57f082=_0x5bac7f,_0x5ad8ff={'chOoL':function(_0x1e66dd,_0xbe399a){return _0x1e66dd>_0xbe399a;},'RIMUJ':'发送超时','WXOXE':function(_0x27e283,_0x32e1d9){return _0x27e283(_0x32e1d9);},'jRKxa':function(_0x2b6249){return _0x2b6249();},'YhhTU':function(_0x230546,_0x3edca0){return _0x230546===_0x3edca0;},'XnZbZ':function(_0x1f3a9e){return _0x1f3a9e();},'uPKpc':function(_0x47a67c,_0x5a04ea,_0x2121c8){return _0x47a67c(_0x5a04ea,_0x2121c8);}},_0x3261d9=_0x393690[_0x57f082(0x125)];let _0x29916d=0x0;const _0x4754b7=async()=>{const _0x32e776=_0x57f082;if(_0x5ad8ff[_0x32e776(0x12c)](_0x29916d,_0x1437a7))throw _0x5ad8ff[_0x32e776(0x11e)];const _0x1e6696=sendMessagePool[_0x393690['peerUid']];if(_0x1e6696)return await _0x5ad8ff[_0x32e776(0x11b)](sleep,0x1f4),_0x29916d+=0x1f4,await _0x5ad8ff[_0x32e776(0x130)](_0x4754b7);else return;};return await _0x4754b7(),new Promise((_0x5177d6,_0xbaa2c9)=>{const _0x22f87a=_0x57f082;let _0x5f2473=![],_0x36fb65=null;const _0x212718=_0x5ad8ff[_0x22f87a(0x13a)](randomUUID);sendSuccessCBMap[_0x212718]=_0x385204=>{const _0x1cd0e9=_0x22f87a;if(_0x385204[_0x1cd0e9(0x12f)]===_0x36fb65?.[_0x1cd0e9(0x12f)]){if(_0x5ad8ff[_0x1cd0e9(0x126)](_0x385204[_0x1cd0e9(0x135)],0x2))return delete sendSuccessCBMap[_0x212718],_0x5f2473=!![],_0x5ad8ff[_0x1cd0e9(0x11b)](_0x5177d6,_0x385204),!![];return![];}return![];},sendMessagePool[_0x3261d9]=async _0x218b2c=>{delete sendMessagePool[_0x3261d9],_0x36fb65=_0x218b2c;},_0x5ad8ff['uPKpc'](setTimeout,()=>{const _0xafde84=_0x22f87a;if(_0x5f2473)return;delete sendMessagePool[_0x3261d9],delete sendSuccessCBMap[_0x212718],_0x5ad8ff[_0xafde84(0x11b)](_0xbaa2c9,_0x5ad8ff[_0xafde84(0x11e)]);},_0x1437a7);const _0x337b2e=napCatCore['session'][_0x22f87a(0x121)]()[_0x22f87a(0x124)]('0',_0x393690,_0x179003,new Map());});}static async[_0x5bac7f(0x10e)](_0x30b87b,_0x310c01,_0x519b71){const _0x10be44=_0x5bac7f;return napCatCore[_0x10be44(0x11c)][_0x10be44(0x121)]()['forwardMsg'](_0x519b71,_0x30b87b,[_0x310c01],new Map());}static async[_0x5bac7f(0x114)](_0x4ba57e,_0x4275c0,_0x297385){const _0x4c7354=_0x5bac7f,_0x4de953={'TXDhC':function(_0xe25921,_0x188c31){return _0xe25921!=_0x188c31;},'PCThX':function(_0x14b851,_0x473a37){return _0x14b851==_0x473a37;},'xMXZa':function(_0x5a5992,_0xe83867){return _0x5a5992==_0xe83867;}},_0x3267b3=_0x297385[_0x4c7354(0x142)](_0x18e081=>{const _0x37a748=_0x4c7354;return{'msgId':_0x18e081,'senderShowName':selfInfo[_0x37a748(0x128)]};});return new Promise((_0x3ee664,_0xde4702)=>{const _0x42139f=_0x4c7354;let _0x5ca539=![];const _0x14cb98=_0x4d2073=>{const _0x334821=_0x31d1,_0x49177b=_0x4d2073['elements'][_0x334821(0x117)](_0x50a010=>_0x50a010[_0x334821(0x12a)]);if(!_0x49177b)return;const _0x352715=JSON['parse'](_0x49177b[_0x334821(0x12a)][_0x334821(0x118)]);if(_0x4de953['TXDhC'](_0x352715[_0x334821(0x127)],_0x334821(0x116)))return;_0x4de953[_0x334821(0x13d)](_0x4d2073['peerUid'],_0x4275c0[_0x334821(0x125)])&&_0x4de953[_0x334821(0x115)](_0x4d2073['senderUid'],selfInfo['uid'])&&(_0x5ca539=!![],_0x3ee664(_0x4d2073));};sentMsgTasks['set'](randomUUID(),_0x14cb98),setTimeout(()=>{!_0x5ca539&&_0xde4702('转发消息超时');},0x1388),napCatCore[_0x42139f(0x11c)]['getMsgService']()[_0x42139f(0x12e)](_0x3267b3,_0x4ba57e,_0x4275c0,[],new Map());});}} \ No newline at end of file +const _0x2e9d65=_0x3102;(function(_0x11f441,_0x48573f){const _0x535b31=_0x3102,_0x521051=_0x11f441();while(!![]){try{const _0xd864af=parseInt(_0x535b31(0x130))/0x1+-parseInt(_0x535b31(0x12b))/0x2+parseInt(_0x535b31(0x114))/0x3+-parseInt(_0x535b31(0x112))/0x4+parseInt(_0x535b31(0x136))/0x5*(parseInt(_0x535b31(0x115))/0x6)+-parseInt(_0x535b31(0x109))/0x7*(parseInt(_0x535b31(0x135))/0x8)+parseInt(_0x535b31(0x125))/0x9;if(_0xd864af===_0x48573f)break;else _0x521051['push'](_0x521051['shift']());}catch(_0x26fde1){_0x521051['push'](_0x521051['shift']());}}}(_0x3ef9,0x2b0d8));function _0x3102(_0x408cb3,_0x2d3efb){const _0x3ef901=_0x3ef9();return _0x3102=function(_0x3102a6,_0x26062e){_0x3102a6=_0x3102a6-0x105;let _0x363c59=_0x3ef901[_0x3102a6];return _0x363c59;},_0x3102(_0x408cb3,_0x2d3efb);}import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x3ef9(){const _0xe47ca=['multiForwardMsg','arkElement','yTURY','forEach','发送超时','elements','forwardMsg','mvAoj','getMsgsBySeqAndCount','转发消息超时','getMsgsIncludeSelf','toString','NuwDl','epniU','setEmojiLike','1761246MhQpQv','parse','getMsgHistory','catch','length','xSrgJ','106244BVlFaY','fetchRecentContact','onMsgInfoListUpdate','delete','paxSs','163630RiAFJG','app','addListener','JOIbI','chatType','8TvVmbF','269745FyzKbA','find','setMsgRead','setMsgEmojiLikes','MfSXq','then','onAddSendMsg','recallMsg','multiForwardMsgWithComment','sendMsg','bytesData','session','activateChatAndGetHistory','cWCzX','getMultiMsg','mcOdb','activateChat','set','NWhYk','536270gxRwKH','getMsgService','nick','onLoginSuccess','ePdcB','peerUid','getMsgsByMsgId','map','senderUid','978932tzENgL','msgId','412608ESPWOD','6MosYJD'];_0x3ef9=function(){return _0xe47ca;};return _0x3ef9();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x2e9d65(0x13c)]=_0x38c0e0=>{const _0x4e0be8=_0x2e9d65,_0x4ae544={'MfSXq':function(_0x2e2219,_0x4958ed){return _0x2e2219(_0x4958ed);}};for(const [_0x41a0e5,_0xa372c5]of sentMsgTasks){_0x4ae544[_0x4e0be8(0x13a)](_0xa372c5,_0x38c0e0),sentMsgTasks[_0x4e0be8(0x12e)](_0x41a0e5);}if(sendMessagePool[_0x38c0e0[_0x4e0be8(0x10e)]]){const _0x569194=sendMessagePool[_0x38c0e0['peerUid']]?.(_0x38c0e0);_0x569194 instanceof Promise&&_0x569194[_0x4e0be8(0x13b)]()[_0x4e0be8(0x128)](logError);}},msgListener[_0x2e9d65(0x12d)]=_0x5ad43a=>{const _0x300e78=_0x2e9d65,_0x59482f={'lbyKg':function(_0x44cc49,_0x18e7b7){return _0x44cc49(_0x18e7b7);},'paxSs':function(_0x264895,_0x2bad14){return _0x264895 instanceof _0x2bad14;},'fRtCJ':function(_0x14bbfc,_0x127274){return _0x14bbfc(_0x127274);}};_0x5ad43a[_0x300e78(0x119)](_0x203a59=>{const _0x24a581=_0x300e78;new Promise((_0x5de525,_0x5a1c2c)=>{const _0x5aa473=_0x3102;for(const _0x26355d in sendSuccessCBMap){const _0x2c8a07=sendSuccessCBMap[_0x26355d],_0x405e42=_0x59482f['lbyKg'](_0x2c8a07,_0x203a59),_0x56f76a=_0x352c9b=>{_0x352c9b&&delete sendSuccessCBMap[_0x26355d];};_0x59482f[_0x5aa473(0x12f)](_0x405e42,Promise)?_0x405e42[_0x5aa473(0x13b)](_0x56f76a):_0x59482f['fRtCJ'](_0x56f76a,_0x405e42);}})['then']()[_0x24a581(0x128)](log);});},setTimeout(()=>{const _0x3e1072=_0x2e9d65;napCatCore[_0x3e1072(0x10c)](()=>{const _0x375ee8=_0x3e1072;napCatCore[_0x375ee8(0x132)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x2e9d65(0x124)](_0x7dd64f,_0x176619,_0x369a89,_0x1ddabc=!![]){const _0x35628e=_0x2e9d65,_0x4a19da={'mcOdb':function(_0x29384d,_0x18a86c){return _0x29384d>_0x18a86c;}};return _0x369a89=_0x369a89[_0x35628e(0x121)](),napCatCore[_0x35628e(0x141)]['getMsgService']()[_0x35628e(0x139)](_0x7dd64f,_0x176619,_0x369a89,_0x4a19da[_0x35628e(0x105)](_0x369a89[_0x35628e(0x129)],0x3)?'2':'1',_0x1ddabc);}static async[_0x2e9d65(0x144)](_0x1871c5,_0x1681c0,_0xe4711d){const _0x660106=_0x2e9d65;return napCatCore[_0x660106(0x141)]['getMsgService']()[_0x660106(0x144)](_0x1871c5,_0x1681c0,_0xe4711d);}static async[_0x2e9d65(0x10f)](_0x2fd946,_0xbb9f90){const _0xb40d9e=_0x2e9d65;return await napCatCore[_0xb40d9e(0x141)]['getMsgService']()[_0xb40d9e(0x10f)](_0x2fd946,_0xbb9f90);}static async['getMsgsBySeqAndCount'](_0x4e4c3d,_0x2d7307,_0x55f3ae,_0x142129,_0x376206){const _0x10c166=_0x2e9d65;return await napCatCore[_0x10c166(0x141)][_0x10c166(0x10a)]()[_0x10c166(0x11e)](_0x4e4c3d,_0x2d7307,_0x55f3ae,_0x142129,_0x376206);}static async[_0x2e9d65(0x106)](_0xb72484){}static async[_0x2e9d65(0x142)](_0x5a755b){}static async[_0x2e9d65(0x138)](_0x343265){const _0xd7302=_0x2e9d65;return napCatCore['session'][_0xd7302(0x10a)]()[_0xd7302(0x138)](_0x343265);}static async[_0x2e9d65(0x127)](_0x235278,_0x40e24f,_0x86d39e){const _0x12fe39=_0x2e9d65;return napCatCore[_0x12fe39(0x141)][_0x12fe39(0x10a)]()[_0x12fe39(0x120)](_0x235278,_0x40e24f,_0x86d39e,!![]);}static async[_0x2e9d65(0x12c)](){}static async[_0x2e9d65(0x13d)](_0x189662,_0x16c966){const _0x17e55c=_0x2e9d65;await napCatCore[_0x17e55c(0x141)][_0x17e55c(0x10a)]()[_0x17e55c(0x13d)]({'chatType':_0x189662[_0x17e55c(0x134)],'peerUid':_0x189662[_0x17e55c(0x10e)]},_0x16c966);}static async[_0x2e9d65(0x13f)](_0x912a58,_0x1358be,_0x479059=!![],_0x54f8f4=0x2710){const _0x44c258=_0x2e9d65,_0x16a3a4={'oazsZ':function(_0x164d00,_0x4c3225){return _0x164d00>_0x4c3225;},'NuwDl':_0x44c258(0x11a),'ePdcB':function(_0x1f00bf,_0x120ff5){return _0x1f00bf(_0x120ff5);},'NWhYk':function(_0x17af05,_0x2dd5d2){return _0x17af05===_0x2dd5d2;},'yRKtH':function(_0x1811d9,_0x128c40){return _0x1811d9===_0x128c40;},'epniU':function(_0x16f971,_0x5c12a8,_0x576f42){return _0x16f971(_0x5c12a8,_0x576f42);},'nJXjB':function(_0x499e70){return _0x499e70();}},_0x309d00=_0x912a58[_0x44c258(0x10e)];let _0x2eb064=0x0;const _0x137e35=async()=>{const _0xb63d40=_0x44c258;if(_0x16a3a4['oazsZ'](_0x2eb064,_0x54f8f4))throw _0x16a3a4[_0xb63d40(0x122)];const _0x3c035a=sendMessagePool[_0x912a58[_0xb63d40(0x10e)]];if(_0x3c035a)return await _0x16a3a4['ePdcB'](sleep,0x1f4),_0x2eb064+=0x1f4,await _0x137e35();else return;};return await _0x16a3a4['nJXjB'](_0x137e35),new Promise((_0x29a270,_0x2787b3)=>{const _0x6124ad=_0x44c258;let _0x2a3eb9=![],_0x4a5def=null;const _0x5a7a22=randomUUID();sendSuccessCBMap[_0x5a7a22]=_0x115bff=>{const _0x5789c8=_0x3102;if(_0x16a3a4[_0x5789c8(0x108)](_0x115bff['msgId'],_0x4a5def?.[_0x5789c8(0x113)])){if(_0x16a3a4['yRKtH'](_0x115bff['sendStatus'],0x2))return delete sendSuccessCBMap[_0x5a7a22],_0x2a3eb9=!![],_0x16a3a4[_0x5789c8(0x10d)](_0x29a270,_0x115bff),!![];return![];}return![];},sendMessagePool[_0x309d00]=async _0x21dd32=>{delete sendMessagePool[_0x309d00],_0x4a5def=_0x21dd32;},_0x16a3a4[_0x6124ad(0x123)](setTimeout,()=>{const _0x2c595e=_0x6124ad;if(_0x2a3eb9)return;delete sendMessagePool[_0x309d00],delete sendSuccessCBMap[_0x5a7a22],_0x2787b3(_0x16a3a4[_0x2c595e(0x122)]);},_0x54f8f4);const _0x2588aa=napCatCore[_0x6124ad(0x141)][_0x6124ad(0x10a)]()[_0x6124ad(0x13f)]('0',_0x912a58,_0x1358be,new Map());});}static async['forwardMsg'](_0x5c5077,_0x4deff6,_0x5e7e53){const _0x336662=_0x2e9d65;return napCatCore[_0x336662(0x141)][_0x336662(0x10a)]()[_0x336662(0x11c)](_0x5e7e53,_0x5c5077,[_0x4deff6],new Map());}static async[_0x2e9d65(0x116)](_0x445ef0,_0x3a5f46,_0x452e7b){const _0x289a2b=_0x2e9d65,_0x15e7ca={'XgMbk':_0x289a2b(0x11f),'xSrgJ':function(_0x356d86){return _0x356d86();},'cWCzX':function(_0x2f0424,_0x2165e8,_0x1eff2c){return _0x2f0424(_0x2165e8,_0x1eff2c);}},_0x1bbd98=_0x452e7b[_0x289a2b(0x110)](_0x3e6521=>{const _0x227b3b=_0x289a2b;return{'msgId':_0x3e6521,'senderShowName':selfInfo[_0x227b3b(0x10b)]};});return new Promise((_0x44805e,_0x485a92)=>{const _0x303e14=_0x289a2b,_0x2be8b8={'mvAoj':'com.tencent.multimsg','JOIbI':function(_0x2262bb,_0x44b555){return _0x2262bb==_0x44b555;},'NVOpb':function(_0x199c59,_0x273062){return _0x199c59==_0x273062;},'yTURY':function(_0x5922fe,_0x3df2a5){return _0x5922fe(_0x3df2a5);},'XnMgL':_0x15e7ca['XgMbk']};let _0x27a313=![];const _0x40021d=_0x436daa=>{const _0x13776b=_0x3102,_0xaff38f=_0x436daa[_0x13776b(0x11b)][_0x13776b(0x137)](_0x342c80=>_0x342c80[_0x13776b(0x117)]);if(!_0xaff38f)return;const _0x3bd073=JSON[_0x13776b(0x126)](_0xaff38f[_0x13776b(0x117)][_0x13776b(0x140)]);if(_0x3bd073[_0x13776b(0x131)]!=_0x2be8b8[_0x13776b(0x11d)])return;_0x2be8b8[_0x13776b(0x133)](_0x436daa['peerUid'],_0x3a5f46['peerUid'])&&_0x2be8b8['NVOpb'](_0x436daa[_0x13776b(0x111)],selfInfo['uid'])&&(_0x27a313=!![],_0x2be8b8[_0x13776b(0x118)](_0x44805e,_0x436daa));};sentMsgTasks[_0x303e14(0x107)](_0x15e7ca[_0x303e14(0x12a)](randomUUID),_0x40021d),_0x15e7ca[_0x303e14(0x143)](setTimeout,()=>{!_0x27a313&&_0x2be8b8['yTURY'](_0x485a92,_0x2be8b8['XnMgL']);},0x1388),napCatCore[_0x303e14(0x141)]['getMsgService']()[_0x303e14(0x13e)](_0x1bbd98,_0x445ef0,_0x3a5f46,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index e5451155..23608bfc 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0xe208(_0x239302,_0x48d04f){var _0x34ef9f=_0x34ef();return _0xe208=function(_0xe20843,_0x541c07){_0xe20843=_0xe20843-0x13e;var _0x19a61e=_0x34ef9f[_0xe20843];return _0x19a61e;},_0xe208(_0x239302,_0x48d04f);}var _0x3f60c9=_0xe208;function _0x34ef(){var _0x406d51=['4900240iHNPdG','1370170vDQCth','2972523tLPDlP','4203250HeADmm','908327esyrES','4ZClBmZ','hasOtherRunningQQProcess','5169774BrFFYi','8558163ynHfmc','10JnedOb','7nGjUnb','util'];_0x34ef=function(){return _0x406d51;};return _0x34ef();}(function(_0x1f3083,_0xe1cf2e){var _0xf220e2=_0xe208,_0x6caf01=_0x1f3083();while(!![]){try{var _0x2e3826=-parseInt(_0xf220e2(0x144))/0x1+parseInt(_0xf220e2(0x141))/0x2+-parseInt(_0xf220e2(0x142))/0x3*(-parseInt(_0xf220e2(0x145))/0x4)+-parseInt(_0xf220e2(0x143))/0x5+-parseInt(_0xf220e2(0x147))/0x6*(parseInt(_0xf220e2(0x13e))/0x7)+parseInt(_0xf220e2(0x140))/0x8+-parseInt(_0xf220e2(0x148))/0x9*(-parseInt(_0xf220e2(0x149))/0xa);if(_0x2e3826===_0xe1cf2e)break;else _0x6caf01['push'](_0x6caf01['shift']());}catch(_0x5d654c){_0x6caf01['push'](_0x6caf01['shift']());}}}(_0x34ef,0x99815));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x3f60c9(0x146)](){var _0x1497e8=_0x3f60c9;return napCatCore[_0x1497e8(0x13f)][_0x1497e8(0x146)]();}} \ No newline at end of file +function _0x3e53(_0x5b556a,_0x5e3584){var _0x52dde3=_0x52dd();return _0x3e53=function(_0x3e53f2,_0xcf0509){_0x3e53f2=_0x3e53f2-0x152;var _0x1cc70a=_0x52dde3[_0x3e53f2];return _0x1cc70a;},_0x3e53(_0x5b556a,_0x5e3584);}var _0x35e2a1=_0x3e53;function _0x52dd(){var _0x3b0164=['758464RxTEGV','1462773qZjsHr','util','10888uNMEKJ','54HLedDR','6453LKDizb','420175UxrhKY','287032xPXdhS','hasOtherRunningQQProcess','2686230BMXzZo','531980AWYoFr'];_0x52dd=function(){return _0x3b0164;};return _0x52dd();}(function(_0x390c6c,_0x8cb41d){var _0x2b9374=_0x3e53,_0x3a31e5=_0x390c6c();while(!![]){try{var _0x54539c=-parseInt(_0x2b9374(0x15b))/0x1+parseInt(_0x2b9374(0x15c))/0x2+parseInt(_0x2b9374(0x152))/0x3+-parseInt(_0x2b9374(0x158))/0x4+parseInt(_0x2b9374(0x15a))/0x5+-parseInt(_0x2b9374(0x155))/0x6*(-parseInt(_0x2b9374(0x157))/0x7)+-parseInt(_0x2b9374(0x154))/0x8*(parseInt(_0x2b9374(0x156))/0x9);if(_0x54539c===_0x8cb41d)break;else _0x3a31e5['push'](_0x3a31e5['shift']());}catch(_0x1814b1){_0x3a31e5['push'](_0x3a31e5['shift']());}}}(_0x52dd,0x590af));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x35e2a1(0x159)](){var _0x3cbf7c=_0x35e2a1;return napCatCore[_0x3cbf7c(0x153)][_0x3cbf7c(0x159)]();}} \ 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 240f0d2a..74b29216 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -function _0x5091(){const _0x2695a7=['keyIndex','onLoginSuccess','addListener','result','ZzKiI','16590624HvtldO','5KPkJJh','getUserInfo','JtbkY','3016TsoJJx','forEach','getUserDetailInfoWithBizInfo','AeOJY','getUserDetailInfo','setHeader','entries','setStatus','PskeyTime','now','43430AozgmG','then','CreatTime','uin','&clientkey=','ENDme','mCgdx','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','response','获取Pskey失败','QFMbe','Skey','set','clientKey','19017LHGyHs','forceFetchClientKey','19906oagUQs','getTipOffService','getRobotUinRange','HttpsGetCookies','robotUinRanges','694099BvevCm','6MENQiC','onProfileDetailInfoChanged','getUserDetailInfo\x20timeout','push','getProfileService','delete','session','1418523KjoLro','HupMq','getSelfInfo','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','tXAcB','get','473YYypcL','setBuddyProfileLike','NTEfn','bKmfO','errMsg','getProfileLikeService','DeLkZ','3019028UtRZDp','length','qIdmx','318CoRLdF','uid','skey','PskeyData','请求获取Skey时失败','getRobotService'];_0x5091=function(){return _0x2695a7;};return _0x5091();}const _0x428a8a=_0x2186;(function(_0xbf0536,_0x498bbb){const _0x10cba1=_0x2186,_0x2abeca=_0xbf0536();while(!![]){try{const _0x3cf59b=parseInt(_0x10cba1(0x18c))/0x1+-parseInt(_0x10cba1(0x17f))/0x2*(-parseInt(_0x10cba1(0x156))/0x3)+parseInt(_0x10cba1(0x153))/0x4*(parseInt(_0x10cba1(0x162))/0x5)+parseInt(_0x10cba1(0x185))/0x6*(-parseInt(_0x10cba1(0x184))/0x7)+-parseInt(_0x10cba1(0x165))/0x8*(parseInt(_0x10cba1(0x17d))/0x9)+parseInt(_0x10cba1(0x16f))/0xa*(-parseInt(_0x10cba1(0x14c))/0xb)+-parseInt(_0x10cba1(0x161))/0xc;if(_0x3cf59b===_0x498bbb)break;else _0x2abeca['push'](_0x2abeca['shift']());}catch(_0x3d852b){_0x2abeca['push'](_0x2abeca['shift']());}}}(_0x5091,0xba567));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';function _0x2186(_0x47a9b9,_0x51e497){const _0x509166=_0x5091();return _0x2186=function(_0x2186a0,_0x23dc2c){_0x2186a0=_0x2186a0-0x147;let _0x4caccf=_0x509166[_0x2186a0];return _0x4caccf;},_0x2186(_0x47a9b9,_0x51e497);}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[_0x428a8a(0x186)]=_0x2f5929=>{const _0x19640b=_0x428a8a;userInfoCache[_0x2f5929[_0x19640b(0x157)]]=_0x2f5929,userDetailHandlers[_0x19640b(0x166)](_0x549660=>_0x549660(_0x2f5929));},setTimeout(()=>{const _0x280a45=_0x428a8a;napCatCore[_0x280a45(0x15d)](()=>{const _0x2fb566=_0x280a45;napCatCore[_0x2fb566(0x15e)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x56e1ba,_0x239419,_0x545204){const _0x171312=_0x428a8a;return napCatCore[_0x171312(0x18b)]['getMsgService']()[_0x171312(0x16c)]({'status':_0x56e1ba,'extStatus':_0x239419,'batteryStatus':_0x545204});}static async['like'](_0x359743,_0x3b1e9f=0x1){const _0x337c5a=_0x428a8a;return napCatCore[_0x337c5a(0x18b)][_0x337c5a(0x151)]()[_0x337c5a(0x14d)]({'friendUid':_0x359743,'sourceId':0x47,'doLikeCount':_0x3b1e9f,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x1730a1){const _0x13a5e3=_0x428a8a,_0xbcad8d=napCatCore[_0x13a5e3(0x18b)][_0x13a5e3(0x189)]()[_0x13a5e3(0x16a)](_0x1730a1);return{'result':_0xbcad8d?.[_0x13a5e3(0x15f)],'errMsg':_0xbcad8d?.[_0x13a5e3(0x150)]};}static async[_0x428a8a(0x148)](){}static async[_0x428a8a(0x163)](_0x29d86f){}static async[_0x428a8a(0x169)](_0x1d7f33){const _0x356779=_0x428a8a,_0x227815={'GEKsW':function(_0x2c4fb3,_0x25a729){return _0x2c4fb3(_0x25a729);},'mCgdx':_0x356779(0x187)},_0x36c56d=napCatCore[_0x356779(0x18b)]['getProfileService']();return new Promise((_0x2dd7af,_0x3e3f41)=>{const _0x386a40=_0x356779,_0xea282f=randomUUID();let _0x803334=![];setTimeout(()=>{const _0x198f68=_0x2186;!_0x803334&&_0x227815['GEKsW'](_0x3e3f41,_0x227815[_0x198f68(0x175)]);},0x1388),userDetailHandlers[_0x386a40(0x17b)](_0xea282f,_0xc6a4ca=>{const _0x2a6b4d=_0x386a40;_0xc6a4ca[_0x2a6b4d(0x157)]===_0x1d7f33&&(_0x803334=!![],userDetailHandlers[_0x2a6b4d(0x18a)](_0xea282f),uid2UinMap[_0x1d7f33]=_0xc6a4ca[_0x2a6b4d(0x172)],_0x2dd7af(_0xc6a4ca));}),_0x36c56d[_0x386a40(0x167)](_0x1d7f33,[0x0])[_0x386a40(0x170)](_0x5cdaf7=>{});});}static async['getPSkey'](_0x4c6044,_0x35f3bd=!![]){const _0x5a2347=_0x428a8a,_0x1536ca={'ENDme':function(_0x1f3998,_0x58df55){return _0x1f3998||_0x58df55;},'qIdmx':function(_0x204f70,_0x2e452e){return _0x204f70>_0x2e452e;},'clLwJ':function(_0x38b54b,_0x1e2be7){return _0x38b54b-_0x1e2be7;},'HybHZ':function(_0x594af,_0x49fa3a){return _0x594af*_0x49fa3a;},'AeOJY':function(_0x33cbb7,_0x10551b){return _0x33cbb7===_0x10551b;},'ZzKiI':function(_0x561191,_0x10839d,_0x26fc36){return _0x561191(_0x10839d,_0x26fc36);}},_0x46c870=[],_0x54d9b8={};for(const _0x3d766d in _0x4c6044){const _0x34d9d2=Credentials[_0x5a2347(0x159)][_0x5a2347(0x14b)](_0x4c6044[_0x3d766d]),_0x1c98ec=Credentials[_0x5a2347(0x16d)][_0x5a2347(0x14b)](_0x4c6044[_0x3d766d]);_0x1536ca[_0x5a2347(0x174)](!_0x34d9d2,!_0x1c98ec)||_0x1536ca[_0x5a2347(0x155)](_0x1536ca['clLwJ'](Date[_0x5a2347(0x16e)](),_0x1c98ec),_0x1536ca['HybHZ'](0x708,0x3e8))||!_0x35f3bd?_0x46c870[_0x5a2347(0x188)](_0x4c6044[_0x3d766d]):_0x54d9b8[_0x4c6044[_0x3d766d]]=_0x34d9d2;}let _0x851080={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x1536ca[_0x5a2347(0x155)](_0x46c870[_0x5a2347(0x154)],0x0)&&(_0x851080=await napCatCore[_0x5a2347(0x18b)][_0x5a2347(0x180)]()['getPskey'](_0x46c870,!![]));const _0x1e9f15=_0x851080['domainPskeyMap'];for(const _0x2fb2ad of _0x1e9f15[_0x5a2347(0x16b)]()){Credentials['PskeyData'][_0x5a2347(0x17b)](_0x2fb2ad[0x0],_0x2fb2ad[0x1]),Credentials['PskeyTime']['set'](_0x2fb2ad[0x0],Date['now']());}const _0x3ecee7=Object['assign'](Object['fromEntries'](_0x1e9f15),_0x54d9b8);if(_0x1536ca[_0x5a2347(0x168)](_0x851080[_0x5a2347(0x15f)],0x0))return _0x3ecee7;else _0x1536ca[_0x5a2347(0x160)](logError,_0x5a2347(0x178),_0x851080[_0x5a2347(0x150)]);return{};}static async[_0x428a8a(0x181)](){const _0x5f303d=_0x428a8a,_0x3f9f26=await napCatCore[_0x5f303d(0x18b)][_0x5f303d(0x15b)]()[_0x5f303d(0x181)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x3f9f26?.[_0x5f303d(0x177)]?.[_0x5f303d(0x183)];}static async['getSkey'](_0x4a373f=!![]){const _0x19b60d=_0x428a8a,_0x5b7cb6={'kndTI':function(_0x467582,_0x5e3266){return _0x467582==_0x5e3266;},'BzrNr':function(_0x41fba1,_0x263dce){return _0x41fba1>_0x263dce;},'JtbkY':function(_0x59dd62,_0x5569a1){return _0x59dd62-_0x5569a1;},'tXAcB':function(_0x4a9ac8,_0x5ed1ee){return _0x4a9ac8*_0x5ed1ee;},'EEVHT':function(_0x256ac5,_0x4e449d){return _0x256ac5!==_0x4e449d;},'PJveN':function(_0x1d5f89,_0x320e9a){return _0x1d5f89+_0x320e9a;},'uJahB':function(_0xc32579,_0xed6f1f){return _0xc32579+_0xed6f1f;},'NTEfn':function(_0x61a40f,_0x1cb542){return _0x61a40f+_0x1cb542;},'QFMbe':function(_0x591adb,_0x44cfa2){return _0x591adb+_0x44cfa2;},'HupMq':_0x19b60d(0x149),'DeLkZ':_0x19b60d(0x173),'bKmfO':_0x19b60d(0x176),'fUlHy':_0x19b60d(0x15a)};try{if(_0x5b7cb6['kndTI'](Credentials[_0x19b60d(0x171)],0x0)||_0x5b7cb6['BzrNr'](_0x5b7cb6[_0x19b60d(0x164)](Date[_0x19b60d(0x16e)](),Credentials[_0x19b60d(0x171)]),_0x5b7cb6[_0x19b60d(0x14a)](0x3e8,0xe10))||!_0x4a373f){const _0xaa18b5=await napCatCore[_0x19b60d(0x18b)]['getTicketService']()[_0x19b60d(0x17e)]('');if(_0x5b7cb6['EEVHT'](_0xaa18b5[_0x19b60d(0x15f)],0x0))return'';const _0x3efed8=_0xaa18b5[_0x19b60d(0x17c)],_0x453bf2=_0xaa18b5[_0x19b60d(0x15c)],_0x51a38a=_0x5b7cb6['PJveN'](_0x5b7cb6['uJahB'](_0x5b7cb6[_0x19b60d(0x14e)](_0x5b7cb6[_0x19b60d(0x179)](_0x5b7cb6[_0x19b60d(0x147)],selfInfo['uin']),_0x5b7cb6[_0x19b60d(0x152)])+_0x3efed8,_0x5b7cb6[_0x19b60d(0x14f)]),_0x453bf2);let _0x13f96f;try{_0x13f96f=await RequestUtil[_0x19b60d(0x182)](_0x51a38a);}catch(_0x317301){logDebug(_0x5b7cb6['fUlHy'],_0x317301),_0x13f96f=new Map();}const _0x47b111=_0x13f96f[_0x19b60d(0x14b)](_0x19b60d(0x158));if(!_0x47b111)return'';return Credentials['CreatTime']=Date[_0x19b60d(0x16e)](),Credentials[_0x19b60d(0x17a)]=_0x47b111,_0x47b111;}return Credentials[_0x19b60d(0x17a)];}catch(_0x1ab182){}return undefined;}} \ No newline at end of file +const _0x1e47c8=_0x48da;(function(_0x5c9fb6,_0x4c5d80){const _0x4c22c7=_0x48da,_0x665a75=_0x5c9fb6();while(!![]){try{const _0x4ebf97=-parseInt(_0x4c22c7(0xbb))/0x1+parseInt(_0x4c22c7(0x8a))/0x2*(parseInt(_0x4c22c7(0x84))/0x3)+parseInt(_0x4c22c7(0xba))/0x4+parseInt(_0x4c22c7(0xb9))/0x5*(-parseInt(_0x4c22c7(0x7a))/0x6)+parseInt(_0x4c22c7(0xbc))/0x7*(parseInt(_0x4c22c7(0x8b))/0x8)+parseInt(_0x4c22c7(0x9e))/0x9+-parseInt(_0x4c22c7(0x75))/0xa*(parseInt(_0x4c22c7(0x8f))/0xb);if(_0x4ebf97===_0x4c5d80)break;else _0x665a75['push'](_0x665a75['shift']());}catch(_0x40c142){_0x665a75['push'](_0x665a75['shift']());}}}(_0x2197,0x46f01));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();function _0x2197(){const _0x519e04=['pYfxS','then','setQQAvatar','setSelfOnlineStatus','forEach','getUserDetailInfo\x20timeout','3865194DVSAUE','onProfileDetailInfoChanged','getPskey','PskeyTime','keyIndex','getMsgService','uid','delete','like','length','setHeader','getTicketService','tjCUj','getSkey','fromEntries','JYUgO','vrFNS','getRobotService','CreatTime','getSelfInfo','getUserDetailInfoWithBizInfo','bcDlN','forceFetchClientKey','assign','WPrEJ','push','Skey','5DccXkS','1892164CMPYjY','302726uUeTvF','734825ixwIeL','response','rrwPK','setStatus','79930FqTxDT','onLoginSuccess','getProfileLikeService','errMsg','getProfileService','856134vcvfIQ','PskeyData','set','session','getRobotUinRange','domainPskeyMap','获取Pskey失败','hAkCK','getUserInfo','result','6mATPUG','BUekO','getPSkey','HttpsGetCookies','请求获取Skey时失败','getTipOffService','16242SPnSfD','8iEhlHs','PwLYv','BvKgh','now','396hnmzlv','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','clientKey','AsajM','get','uin','skey','SRvvJ','robotUinRanges'];_0x2197=function(){return _0x519e04;};return _0x2197();}profileListener[_0x1e47c8(0x9f)]=_0x29b628=>{const _0x271e8c=_0x1e47c8;userInfoCache[_0x29b628['uid']]=_0x29b628,userDetailHandlers[_0x271e8c(0x9c)](_0x3854ee=>_0x3854ee(_0x29b628));},setTimeout(()=>{const _0x538322=_0x1e47c8;napCatCore[_0x538322(0x76)](()=>{napCatCore['addListener'](profileListener);});},0x64);function _0x48da(_0x201f23,_0x970381){const _0x219745=_0x2197();return _0x48da=function(_0x48da65,_0x20f656){_0x48da65=_0x48da65-0x75;let _0x562b15=_0x219745[_0x48da65];return _0x562b15;},_0x48da(_0x201f23,_0x970381);}export class NTQQUserApi{static async[_0x1e47c8(0x9b)](_0x310ea0,_0x43d121,_0x27941a){const _0x5ad966=_0x1e47c8;return napCatCore['session'][_0x5ad966(0xa3)]()[_0x5ad966(0xbf)]({'status':_0x310ea0,'extStatus':_0x43d121,'batteryStatus':_0x27941a});}static async[_0x1e47c8(0xa6)](_0x134b3b,_0x112dcd=0x1){const _0x5021d7=_0x1e47c8;return napCatCore['session'][_0x5021d7(0x77)]()['setBuddyProfileLike']({'friendUid':_0x134b3b,'sourceId':0x47,'doLikeCount':_0x112dcd,'doLikeTollCount':0x0});}static async[_0x1e47c8(0x9a)](_0x2564bd){const _0x42ea8a=_0x1e47c8,_0x28b3c2=napCatCore[_0x42ea8a(0x7d)][_0x42ea8a(0x79)]()[_0x42ea8a(0xa8)](_0x2564bd);return{'result':_0x28b3c2?.[_0x42ea8a(0x83)],'errMsg':_0x28b3c2?.[_0x42ea8a(0x78)]};}static async[_0x1e47c8(0xb1)](){}static async[_0x1e47c8(0x82)](_0x315e15){}static async['getUserDetailInfo'](_0x3c9041){const _0x2b5486=_0x1e47c8,_0x2686e2={'BUekO':_0x2b5486(0x9d),'XUswE':function(_0x5efb1b,_0x922eb9){return _0x5efb1b===_0x922eb9;},'gVmDW':function(_0x1173d2){return _0x1173d2();},'MJNBY':function(_0x22e182,_0x4ac434,_0x34515c){return _0x22e182(_0x4ac434,_0x34515c);}},_0x2113d0=napCatCore[_0x2b5486(0x7d)][_0x2b5486(0x79)]();return new Promise((_0x2b7d62,_0x2ef705)=>{const _0x7d404a=_0x2b5486,_0x3711e7={'MHRJS':function(_0xb1af11,_0x55f2d5){return _0x2686e2['XUswE'](_0xb1af11,_0x55f2d5);}},_0x2c71b9=_0x2686e2['gVmDW'](randomUUID);let _0x50e76f=![];_0x2686e2['MJNBY'](setTimeout,()=>{const _0x3784d7=_0x48da;!_0x50e76f&&_0x2ef705(_0x2686e2[_0x3784d7(0x85)]);},0x1388),userDetailHandlers[_0x7d404a(0x7c)](_0x2c71b9,_0x28f6d7=>{const _0x5c8cda=_0x7d404a;_0x3711e7['MHRJS'](_0x28f6d7[_0x5c8cda(0xa4)],_0x3c9041)&&(_0x50e76f=!![],userDetailHandlers[_0x5c8cda(0xa5)](_0x2c71b9),uid2UinMap[_0x3c9041]=_0x28f6d7['uin'],_0x2b7d62(_0x28f6d7));}),_0x2113d0[_0x7d404a(0xb2)](_0x3c9041,[0x0])[_0x7d404a(0x99)](_0x7dc640=>{});});}static async[_0x1e47c8(0x86)](_0x3d5828,_0x223f55=!![]){const _0x9c31b1=_0x1e47c8,_0x1e4831={'rrwPK':function(_0x33eba6,_0x391b50){return _0x33eba6||_0x391b50;},'UmTev':function(_0x5ca5ed,_0x5d3ac1){return _0x5ca5ed>_0x5d3ac1;},'EEzqR':function(_0x54d50a,_0x617811){return _0x54d50a-_0x617811;},'spzxU':function(_0x31dbd2,_0xf2ad43){return _0x31dbd2*_0xf2ad43;},'hAkCK':function(_0x7eb02e,_0x1d8d62){return _0x7eb02e===_0x1d8d62;},'BvKgh':function(_0x59dfe4,_0x56beec,_0x4922c2){return _0x59dfe4(_0x56beec,_0x4922c2);},'SRvvJ':_0x9c31b1(0x80)},_0x21c3b9=[],_0x432ca8={};for(const _0xd2575c in _0x3d5828){const _0x41bb8c=Credentials[_0x9c31b1(0x7b)][_0x9c31b1(0x93)](_0x3d5828[_0xd2575c]),_0x28fe0a=Credentials[_0x9c31b1(0xa1)][_0x9c31b1(0x93)](_0x3d5828[_0xd2575c]);_0x1e4831[_0x9c31b1(0xbe)](!_0x41bb8c,!_0x28fe0a)||_0x1e4831['UmTev'](_0x1e4831['EEzqR'](Date[_0x9c31b1(0x8e)](),_0x28fe0a),_0x1e4831['spzxU'](0x708,0x3e8))||!_0x223f55?_0x21c3b9[_0x9c31b1(0xb7)](_0x3d5828[_0xd2575c]):_0x432ca8[_0x3d5828[_0xd2575c]]=_0x41bb8c;}let _0x49e1b2={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x1e4831['UmTev'](_0x21c3b9[_0x9c31b1(0xa7)],0x0)&&(_0x49e1b2=await napCatCore['session'][_0x9c31b1(0x89)]()[_0x9c31b1(0xa0)](_0x21c3b9,!![]));const _0x211969=_0x49e1b2[_0x9c31b1(0x7f)];for(const _0x3ba407 of _0x211969['entries']()){Credentials[_0x9c31b1(0x7b)][_0x9c31b1(0x7c)](_0x3ba407[0x0],_0x3ba407[0x1]),Credentials[_0x9c31b1(0xa1)]['set'](_0x3ba407[0x0],Date[_0x9c31b1(0x8e)]());}const _0x2a0d15=Object[_0x9c31b1(0xb5)](Object[_0x9c31b1(0xac)](_0x211969),_0x432ca8);if(_0x1e4831[_0x9c31b1(0x81)](_0x49e1b2[_0x9c31b1(0x83)],0x0))return _0x2a0d15;else _0x1e4831[_0x9c31b1(0x8d)](logError,_0x1e4831[_0x9c31b1(0x96)],_0x49e1b2[_0x9c31b1(0x78)]);return{};}static async['getRobotUinRange'](){const _0x3bdb3c=_0x1e47c8,_0x6a6b22=await napCatCore['session'][_0x3bdb3c(0xaf)]()[_0x3bdb3c(0x7e)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x6a6b22?.[_0x3bdb3c(0xbd)]?.[_0x3bdb3c(0x97)];}static async[_0x1e47c8(0xab)](_0x54df6a=!![]){const _0x3b3d90=_0x1e47c8,_0x1c8fad={'mwUvi':function(_0x49f9f5,_0x7143a3){return _0x49f9f5==_0x7143a3;},'PwLYv':function(_0x529933,_0x14c2b0){return _0x529933>_0x14c2b0;},'tjCUj':function(_0x3c4df5,_0x453b91){return _0x3c4df5-_0x453b91;},'WPrEJ':function(_0x18594f,_0x1d0089){return _0x18594f*_0x1d0089;},'bcDlN':function(_0x210ab2,_0x55bcb9){return _0x210ab2+_0x55bcb9;},'pYfxS':function(_0x49e275,_0x88b030){return _0x49e275+_0x88b030;},'qrBvZ':_0x3b3d90(0x90),'JYUgO':'&clientkey=','AsajM':function(_0x2be63a,_0x3c8b96,_0xa70a46){return _0x2be63a(_0x3c8b96,_0xa70a46);},'vrFNS':_0x3b3d90(0x95)};try{if(_0x1c8fad['mwUvi'](Credentials['CreatTime'],0x0)||_0x1c8fad[_0x3b3d90(0x8c)](_0x1c8fad[_0x3b3d90(0xaa)](Date[_0x3b3d90(0x8e)](),Credentials[_0x3b3d90(0xb0)]),_0x1c8fad[_0x3b3d90(0xb6)](0x3e8,0xe10))||!_0x54df6a){const _0x4fbc2a=await napCatCore[_0x3b3d90(0x7d)][_0x3b3d90(0xa9)]()[_0x3b3d90(0xb4)]('');if(_0x4fbc2a['result']!==0x0)return'';const _0x1ddb8b=_0x4fbc2a[_0x3b3d90(0x91)],_0x18c892=_0x4fbc2a[_0x3b3d90(0xa2)],_0x1e5d6d=_0x1c8fad[_0x3b3d90(0xb3)](_0x1c8fad[_0x3b3d90(0xb3)](_0x1c8fad[_0x3b3d90(0x98)](_0x1c8fad['bcDlN'](_0x1c8fad['qrBvZ']+selfInfo[_0x3b3d90(0x94)],_0x1c8fad[_0x3b3d90(0xad)]),_0x1ddb8b),'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex='),_0x18c892);let _0x2a01d5;try{_0x2a01d5=await RequestUtil[_0x3b3d90(0x87)](_0x1e5d6d);}catch(_0x2bad4f){_0x1c8fad[_0x3b3d90(0x92)](logDebug,_0x3b3d90(0x88),_0x2bad4f),_0x2a01d5=new Map();}const _0x49c3e5=_0x2a01d5[_0x3b3d90(0x93)](_0x1c8fad[_0x3b3d90(0xae)]);if(!_0x49c3e5)return'';return Credentials[_0x3b3d90(0xb0)]=Date[_0x3b3d90(0x8e)](),Credentials['Skey']=_0x49c3e5,_0x49c3e5;}return Credentials[_0x3b3d90(0xb8)];}catch(_0x55a889){}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 155015dd..611d8fba 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x156f26=_0x53ee;(function(_0x455ae0,_0xdd8e6d){const _0x4ee67b=_0x53ee,_0x206e2c=_0x455ae0();while(!![]){try{const _0x1fa904=parseInt(_0x4ee67b(0xbc))/0x1+parseInt(_0x4ee67b(0xb8))/0x2*(parseInt(_0x4ee67b(0x104))/0x3)+parseInt(_0x4ee67b(0x127))/0x4*(-parseInt(_0x4ee67b(0xf4))/0x5)+-parseInt(_0x4ee67b(0xa0))/0x6*(parseInt(_0x4ee67b(0x9c))/0x7)+parseInt(_0x4ee67b(0x9b))/0x8+-parseInt(_0x4ee67b(0xf5))/0x9+parseInt(_0x4ee67b(0x11f))/0xa;if(_0x1fa904===_0xdd8e6d)break;else _0x206e2c['push'](_0x206e2c['shift']());}catch(_0x53183f){_0x206e2c['push'](_0x206e2c['shift']());}}}(_0x599f,0x8fc59));function _0x53ee(_0x22dd85,_0x328df8){const _0x599f3d=_0x599f();return _0x53ee=function(_0x53ee47,_0x5e8888){_0x53ee47=_0x53ee47-0x8a;let _0x4d2db8=_0x599f3d[_0x53ee47];return _0x4d2db8;},_0x53ee(_0x22dd85,_0x328df8);}import{WebGroupData,selfInfo}from'@/core/data';function _0x599f(){const _0x4fde82=['name','getGrouptNotice','qid=','legend_list','rNMhl','jAeyT','kIDFT','desc','&end=','SCInI','dcZGH','BAfAk','strong_newbie','116OtVtHL','xBBID','all','&page_start=','1044515kXWFOz',';\x20uin=o','length','woaUG','POST','ssjnu','PUtVe','&text=','mems','EEKya','TyLtF','cjrXt','https://qun.qq.com/interactive/honorlist?gc=','pZXwW','errcode','HEAUa','mHssn','AuCYg','AdRVE','eJVSO','JWVVc','&group_code=','p_skey=','oJcaf','upbvU','CjPGU','ivGli','GroupData','yGjjT','获取快乐源泉失败','BlvYu','eGinJ','KQTxT','KoKUr','dekXE','EMOTION','push','4|5|3|2|1|0','jBCRo','getSkey','fpJCH','MvfBl','&bkn=','trim','UEwki','emotion_list','KqKla','actorList','KQyvw','获取当前群荣耀失败','eeZfv','cmGme',';\x20p_uin=o','parse','iEikN','doOFG','456355HFZIrU','10007937PXIDUh','getPSkey','tJUlc','avatar','toString','ALL','fBXjZ','set','HOMLL','HttpGetJson','Vgooy','hfjja','sDhUn','ExheG','TALKACTIVE','10776bZuSLB','getGroupEssenceMsg','GET','ZJyIO','&type=','nTbwK','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','JKoxw','CrzPq','GVTln','upMKZ','KNdQF','LsHNn','&page_limit=20','ihCeO','HttpGetText','description','jKdCZ','kYvnr','talkative_list','cvsGh','performer','strong_newbie_list','bDSsl','获取群聊炽焰失败','JapPW','KVGEr','9780940CXQrlX','genBkn','talkativeList','get','xAeFJ','tXyQo','now','wBAQk','4VkJieS','webapi\x20获取群成员','legend','hxxZv','ulwfH','DkAFu','npsmF','KukbZ','current_talkative','aizgg','mFfME','hHGhP','ozlVW','vCAxX','qvHkP','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','PERFROMER','eAtqM','gdDvD','FiLBN','UWjtG','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','qfcfU','imTEM','qun.qq.com','LEGEND','2131128yKdaQL','777YSNZLn','count','YelLR','KkxIR','38118aJBPQo','fiSAx','eMTxt',';\x20skey=','EDVzF','uin','vdxLp','performer_list','获取龙王信息失败','owSol','GroupTime'];_0x599f=function(){return _0x4fde82;};return _0x599f();}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x4d4bcc){const _0x310036=_0x53ee,_0x171930={'FiLBN':_0x310036(0xe1),'KkxIR':'EMOTION','HEAUa':'emotion','EEKya':'STORONGE_NEWBI','KoKUr':_0x310036(0x9a),'eeZfv':_0x310036(0x129),'yGjjT':_0x310036(0x91),'wBAQk':_0x310036(0x119),'jAeyT':'ALL','KukbZ':_0x310036(0xba),'hHGhP':_0x310036(0x103),'DkAFu':'talkative'},_0x3a086c=_0x171930[_0x310036(0x94)]['split']('|');let _0x51312a=0x0;while(!![]){switch(_0x3a086c[_0x51312a++]){case'0':_0x4d4bcc[_0x171930[_0x310036(0x9f)]]=_0x171930[_0x310036(0xcb)];continue;case'1':_0x4d4bcc[_0x171930[_0x310036(0xc5)]]=_0x310036(0xb7);continue;case'2':_0x4d4bcc[_0x171930[_0x310036(0xdd)]]=_0x171930[_0x310036(0xee)];continue;case'3':_0x4d4bcc[_0x171930[_0x310036(0xd8)]]=_0x171930[_0x310036(0x126)];continue;case'4':_0x4d4bcc[_0x171930[_0x310036(0xb0)]]=_0x171930[_0x310036(0x12e)];continue;case'5':_0x4d4bcc[_0x171930[_0x310036(0x8c)]]=_0x171930[_0x310036(0x12c)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x156f26(0x105)](_0x246b1d,_0x5417d6){const _0x1ce665=_0x156f26,_0x33dca1={'mHssn':_0x1ce665(0x99),'SCInI':function(_0x3e40fa,_0x57f55b){return _0x3e40fa+_0x57f55b;},'ozlVW':function(_0x2ba448,_0x2e15d6){return _0x2ba448+_0x2e15d6;},'jKdCZ':function(_0x316e30,_0x8e533a){return _0x316e30+_0x8e533a;},'KVGEr':_0x1ce665(0xd2),'KkjCG':';\x20skey=','fpJCH':_0x1ce665(0xf0),'upbvU':_0x1ce665(0xbd),'xBBID':function(_0x2c7eed,_0x48903a){return _0x2c7eed||_0x48903a;},'gdDvD':function(_0x270db2,_0x1f60d3){return _0x270db2+_0x1f60d3;},'upMKZ':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ivGli':_0x1ce665(0xd1),'AuCYg':_0x1ce665(0xbb),'BlvYu':_0x1ce665(0x111),'CjPGU':'GET','owSol':function(_0x3d7a27,_0x1679b7){return _0x3d7a27!==_0x1679b7;}},_0x305f28=(await NTQQUserApi[_0x1ce665(0xf6)]([_0x33dca1[_0x1ce665(0xcc)]]))[_0x33dca1[_0x1ce665(0xcc)]],_0x3e3060=await NTQQUserApi[_0x1ce665(0xe3)](),_0x36e264=_0x33dca1[_0x1ce665(0xb4)](_0x33dca1[_0x1ce665(0x8d)](_0x33dca1['ozlVW'](_0x33dca1[_0x1ce665(0x115)](_0x33dca1['jKdCZ'](_0x33dca1[_0x1ce665(0xb4)](_0x33dca1[_0x1ce665(0x11e)],_0x305f28),_0x33dca1['KkjCG']),_0x3e3060),_0x33dca1[_0x1ce665(0xe4)]),selfInfo[_0x1ce665(0xa5)])+_0x33dca1[_0x1ce665(0xd4)],selfInfo[_0x1ce665(0xa5)]);if(_0x33dca1[_0x1ce665(0xb9)](!_0x3e3060,!_0x305f28))return undefined;const _0x1cb49b=WebApi['genBkn'](_0x3e3060),_0xac6a8b=_0x33dca1[_0x1ce665(0x115)](_0x33dca1[_0x1ce665(0x8d)](_0x33dca1['jKdCZ'](_0x33dca1[_0x1ce665(0x8d)](_0x33dca1[_0x1ce665(0x93)](_0x33dca1[_0x1ce665(0x10e)],_0x1cb49b)+_0x33dca1[_0x1ce665(0xd6)],_0x246b1d),_0x33dca1[_0x1ce665(0xcd)]),_0x5417d6),_0x33dca1[_0x1ce665(0xda)]);let _0x2c377d;try{_0x2c377d=await RequestUtil['HttpGetJson'](_0xac6a8b,_0x33dca1[_0x1ce665(0xd5)],'',{'Cookie':_0x36e264});}catch{return undefined;}if(_0x33dca1[_0x1ce665(0xa9)](_0x2c377d['retcode'],0x0))return undefined;return _0x2c377d;}static async['getGroupMembers'](_0x29e706,_0x29ad4a=!![]){const _0x201376=_0x156f26,_0x4cceed={'KqKla':function(_0xf674b,_0x5d2d8b,_0x1d0c8c){return _0xf674b(_0x5d2d8b,_0x1d0c8c);},'qfcfU':_0x201376(0x128),'eAtqM':function(_0x38db67,_0x3faf74){return _0x38db67>_0x3faf74;},'aTdDc':function(_0x583d13,_0x3fa513){return _0x583d13-_0x3fa513;},'cvsGh':function(_0x1b68ce,_0x3a8927){return _0x1b68ce*_0x3a8927;},'cmGme':_0x201376(0x99),'ihCeO':function(_0x1b1d82,_0x1f188b){return _0x1b1d82+_0x1f188b;},'Vgooy':function(_0x324c13,_0x493ddf){return _0x324c13+_0x493ddf;},'eJVSO':function(_0x56ec02,_0x32abc7){return _0x56ec02+_0x32abc7;},'iEikN':_0x201376(0xa3),'mFfME':';\x20p_uin=o','hxxZv':function(_0x4766fb,_0x21bc4b){return _0x4766fb||_0x21bc4b;},'WkMhg':function(_0x485249,_0x58a702){return _0x485249+_0x58a702;},'doOFG':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','kIDFT':_0x201376(0xc0),'nTbwK':function(_0x2c6071,_0x4af5bb){return _0x2c6071!==_0x4af5bb;},'NwCRS':function(_0x3da748,_0x23b4af){return _0x3da748<=_0x23b4af;},'bDSsl':function(_0x4ccd9c,_0x2475fe){return _0x4ccd9c+_0x2475fe;},'rNMhl':function(_0x50127a,_0x588b2b){return _0x50127a+_0x588b2b;},'pKHOn':_0x201376(0x96),'PUtVe':function(_0x3d5906,_0x345cef){return _0x3d5906-_0x345cef;},'dekXE':_0x201376(0xb3),'CrzPq':function(_0x56ac86,_0x3505e1){return _0x56ac86*_0x3505e1;},'vCAxX':'&sort=1&gc=','YelLR':'&bkn=','eMTxt':function(_0x297211,_0x561cf1){return _0x297211<=_0x561cf1;}};_0x4cceed[_0x201376(0xea)](logDebug,_0x4cceed[_0x201376(0x97)],_0x29e706);let _0x467cd0=new Array();try{let _0x27f711=WebGroupData['GroupData'][_0x201376(0x122)](_0x29e706),_0x2c5538=WebGroupData[_0x201376(0xaa)][_0x201376(0x122)](_0x29e706);if(!_0x2c5538||_0x4cceed[_0x201376(0x92)](_0x4cceed['aTdDc'](Date[_0x201376(0x125)](),_0x2c5538),_0x4cceed[_0x201376(0x118)](0x708,0x3e8))||!_0x29ad4a){const _0x2132af=(await NTQQUserApi[_0x201376(0xf6)]([_0x4cceed['cmGme']]))[_0x4cceed[_0x201376(0xef)]],_0x2f0798=await NTQQUserApi[_0x201376(0xe3)](),_0x38aa75=_0x4cceed[_0x201376(0x112)](_0x4cceed[_0x201376(0xff)](_0x4cceed[_0x201376(0xcf)](_0x201376(0xd2),_0x2132af)+_0x4cceed[_0x201376(0xf2)],_0x2f0798),_0x4cceed[_0x201376(0x8b)])+selfInfo[_0x201376(0xa5)];if(_0x4cceed[_0x201376(0x12a)](!_0x2f0798,!_0x2132af))return _0x467cd0;const _0x486a6c=WebApi[_0x201376(0x120)](_0x2f0798),_0x1afa66=[],_0x58e224=await RequestUtil[_0x201376(0xfe)](_0x4cceed[_0x201376(0xcf)](_0x4cceed[_0x201376(0xcf)](_0x4cceed['WkMhg'](_0x4cceed[_0x201376(0xf3)],_0x29e706),_0x201376(0xe6)),_0x486a6c),_0x4cceed[_0x201376(0xb1)],'',{'Cookie':_0x38aa75});if(!_0x58e224?.[_0x201376(0x9d)]||_0x4cceed['nTbwK'](_0x58e224?.['errcode'],0x0)||!_0x58e224?.['mems'])return[];else for(const _0x2b305f in _0x58e224[_0x201376(0xc4)]){_0x467cd0[_0x201376(0xe0)](_0x58e224[_0x201376(0xc4)][_0x2b305f]);}const _0x583869=Math['ceil'](_0x58e224[_0x201376(0x9d)]/0x28);for(let _0x1148e7=0x2;_0x4cceed['NwCRS'](_0x1148e7,_0x583869);_0x1148e7++){const _0x25a79d=RequestUtil[_0x201376(0xfe)](_0x4cceed[_0x201376(0x11b)](_0x4cceed[_0x201376(0xff)](_0x4cceed['Vgooy'](_0x4cceed[_0x201376(0xaf)](_0x4cceed['pKHOn']+_0x4cceed['cvsGh'](_0x4cceed[_0x201376(0xc2)](_0x1148e7,0x1),0x28),_0x4cceed[_0x201376(0xde)]),_0x4cceed[_0x201376(0x10c)](_0x1148e7,0x28)),_0x4cceed[_0x201376(0x8e)]),_0x29e706)+_0x4cceed[_0x201376(0x9e)]+_0x486a6c,_0x4cceed['kIDFT'],'',{'Cookie':_0x38aa75});_0x1afa66[_0x201376(0xe0)](_0x25a79d);}for(let _0xacbdb7=0x1;_0x4cceed[_0x201376(0xa2)](_0xacbdb7,_0x583869);_0xacbdb7++){const _0x24fd34=await _0x1afa66[_0xacbdb7];if(!_0x24fd34?.[_0x201376(0x9d)]||_0x4cceed[_0x201376(0x109)](_0x24fd34?.[_0x201376(0xca)],0x0)||!_0x24fd34?.[_0x201376(0xc4)])continue;for(const _0x169f76 in _0x24fd34[_0x201376(0xc4)]){_0x467cd0['push'](_0x24fd34[_0x201376(0xc4)][_0x169f76]);}}WebGroupData[_0x201376(0xd7)][_0x201376(0xfc)](_0x29e706,_0x467cd0),WebGroupData['GroupTime'][_0x201376(0xfc)](_0x29e706,Date[_0x201376(0x125)]());}else _0x467cd0=_0x27f711;}catch{return _0x467cd0;}return _0x467cd0;}static async['setGroupNotice'](_0x4fc8c8,_0x3e117a=''){const _0x87577a=_0x156f26,_0xfd1f29={'JKoxw':_0x87577a(0x99),'aizgg':function(_0x466a0f,_0x32f56){return _0x466a0f+_0x32f56;},'EDVzF':function(_0x44b0a2,_0x267ea9){return _0x44b0a2+_0x267ea9;},'imTEM':_0x87577a(0xd2),'fiSAx':_0x87577a(0xa3),'eGinJ':_0x87577a(0xf0),'lvzDp':function(_0x6c2225,_0x2c8079){return _0x6c2225||_0x2c8079;},'hfjja':function(_0x1b565f,_0x45f320){return _0x1b565f+_0x45f320;},'BAfAk':function(_0x5675ba,_0x3ffa7d){return _0x5675ba+_0x3ffa7d;},'npsmF':function(_0x4d2013,_0x38c68a){return _0x4d2013+_0x38c68a;},'qvHkP':_0x87577a(0xe6),'GVTln':_0x87577a(0xc3),'sDhUn':function(_0x3c2bbf,_0x1f4fd6){return _0x3c2bbf+_0x1f4fd6;},'woaUG':_0x87577a(0x10a),'tZezU':_0x87577a(0x106)},_0x15f0f1=(await NTQQUserApi['getPSkey']([_0xfd1f29[_0x87577a(0x10b)]]))[_0xfd1f29[_0x87577a(0x10b)]],_0x19fd28=await NTQQUserApi[_0x87577a(0xe3)](),_0x4194b3=_0xfd1f29[_0x87577a(0x8a)](_0xfd1f29[_0x87577a(0x8a)](_0xfd1f29[_0x87577a(0xa4)](_0xfd1f29[_0x87577a(0x8a)](_0xfd1f29[_0x87577a(0x98)],_0x15f0f1),_0xfd1f29[_0x87577a(0xa1)]),_0x19fd28)+_0xfd1f29[_0x87577a(0xdb)],selfInfo['uin']);let _0xa5e337=undefined;if(_0xfd1f29['lvzDp'](!_0x19fd28,!_0x15f0f1))return undefined;const _0xc33357=WebApi[_0x87577a(0x120)](_0x19fd28),_0x2183f1=_0xfd1f29[_0x87577a(0xa4)](_0xfd1f29['aizgg'](_0xfd1f29[_0x87577a(0x100)](_0xfd1f29[_0x87577a(0xb6)](_0xfd1f29[_0x87577a(0x12d)](_0x87577a(0xad)+_0x4fc8c8,_0xfd1f29[_0x87577a(0x8f)]),_0xc33357),_0xfd1f29[_0x87577a(0x10d)]),_0x3e117a),'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}'),_0xdf0a07=_0xfd1f29[_0x87577a(0x101)](_0xfd1f29[_0x87577a(0xbf)],_0xc33357);try{return _0xa5e337=await RequestUtil['HttpGetJson'](_0xdf0a07,_0xfd1f29['tZezU'],'',{'Cookie':_0x4194b3}),_0xa5e337;}catch(_0x2674f6){return undefined;}return undefined;}static async[_0x156f26(0xac)](_0x14e474){const _0x2a255a=_0x156f26,_0x3ae682={'fBXjZ':_0x2a255a(0x99),'ExheG':function(_0x45402b,_0x55261a){return _0x45402b+_0x55261a;},'UWjtG':'p_skey=','tXyQo':';\x20skey=','HVxxN':';\x20p_uin=o','cjrXt':'&qid=','AdRVE':_0x2a255a(0x90),'tJUlc':_0x2a255a(0x106),'gjUQT':function(_0x15bfe9,_0x22a3fa){return _0x15bfe9!==_0x22a3fa;}},_0x34e83c=(await NTQQUserApi['getPSkey']([_0x3ae682[_0x2a255a(0xfb)]]))[_0x3ae682['fBXjZ']],_0x2a0b8c=await NTQQUserApi[_0x2a255a(0xe3)](),_0x12dc81=_0x3ae682[_0x2a255a(0x102)](_0x3ae682[_0x2a255a(0x102)](_0x3ae682[_0x2a255a(0x102)](_0x3ae682[_0x2a255a(0x102)](_0x3ae682[_0x2a255a(0x95)],_0x34e83c),_0x3ae682[_0x2a255a(0x124)]),_0x2a0b8c)+_0x3ae682['HVxxN'],selfInfo['uin']);let _0x23439c=undefined;if(!_0x2a0b8c||!_0x34e83c)return undefined;const _0x54870a=WebApi[_0x2a255a(0x120)](_0x2a0b8c),_0x364f50=_0x3ae682[_0x2a255a(0x102)]('https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn='+_0x54870a+_0x3ae682[_0x2a255a(0xc7)],_0x14e474)+_0x3ae682[_0x2a255a(0xce)];try{_0x23439c=await RequestUtil['HttpGetJson'](_0x364f50,_0x3ae682[_0x2a255a(0xf7)],'',{'Cookie':_0x12dc81});if(_0x3ae682['gjUQT'](_0x23439c?.['ec'],0x0))return undefined;return _0x23439c;}catch(_0x2ba8fb){return undefined;}return undefined;}static[_0x156f26(0x120)](_0x395d93){const _0x4eba6a=_0x156f26,_0x272fd0={'vdxLp':function(_0x3f278a,_0x144db9){return _0x3f278a||_0x144db9;},'ulwfH':function(_0x189276,_0x1333b4){return _0x189276<_0x1333b4;},'HOMLL':function(_0x20a4aa,_0x506a5f){return _0x20a4aa+_0x506a5f;},'kYvnr':function(_0x3ca2bc,_0x27e477){return _0x3ca2bc<<_0x27e477;},'dcZGH':function(_0x572aa7,_0x185941){return _0x572aa7&_0x185941;}};_0x395d93=_0x272fd0[_0x4eba6a(0xa6)](_0x395d93,'');let _0x2c11dd=0x1505;for(let _0x303229=0x0;_0x272fd0[_0x4eba6a(0x12b)](_0x303229,_0x395d93[_0x4eba6a(0xbe)]);_0x303229++){const _0x6f8c25=_0x395d93['charCodeAt'](_0x303229);_0x2c11dd=_0x272fd0[_0x4eba6a(0xfd)](_0x2c11dd+_0x272fd0[_0x4eba6a(0x116)](_0x2c11dd,0x5),_0x6f8c25);}return _0x272fd0[_0x4eba6a(0xb5)](_0x2c11dd,0x7fffffff)[_0x4eba6a(0xf9)]();}static async['getGroupHonorInfo'](_0x2ee1df,_0x31fea5){const _0x4f14cd=_0x156f26,_0x370652={'JWVVc':function(_0xb78963,_0x103b4a){return _0xb78963+_0x103b4a;},'dAMLO':_0x4f14cd(0xc8),'oJcaf':function(_0x4a7f28,_0x50cd9b,_0x3c3782,_0x431330){return _0x4a7f28(_0x50cd9b,_0x3c3782,_0x431330);},'KQyvw':_0x4f14cd(0xed),'TyLtF':_0x4f14cd(0x99),'KQTxT':function(_0xb8c95b,_0x2c3aa2){return _0xb8c95b+_0x2c3aa2;},'KNdQF':function(_0x3f0bdf,_0x1143a7){return _0x3f0bdf+_0x1143a7;},'pZXwW':function(_0x1e23db,_0x27e6a2){return _0x1e23db+_0x27e6a2;},'LsHNn':';\x20skey=','pvSfS':';\x20uin=o','pfROw':function(_0x1c0949,_0x9b45dc){return _0x1c0949===_0x9b45dc;},'JapPW':function(_0x1cd94d,_0x25a2dd){return _0x1cd94d===_0x25a2dd;},'ssjnu':_0x4f14cd(0xa8),'MvfBl':function(_0x1d1d4b,_0x554e37){return _0x1d1d4b===_0x554e37;},'xAeFJ':function(_0x1ca2d6,_0x3125eb,_0x569b55){return _0x1ca2d6(_0x3125eb,_0x569b55);},'jBCRo':function(_0x1c0554,_0x3d7c08){return _0x1c0554(_0x3d7c08);},'ZJyIO':function(_0x44ac17,_0x4f405f){return _0x44ac17===_0x4f405f;},'xhtlN':'获取群聊炽焰失败','XozbP':function(_0x176bbc,_0x302639){return _0x176bbc===_0x302639;},'UEwki':_0x4f14cd(0xd9),'tlWzt':function(_0x1b9016,_0x360951,_0x3afa61){return _0x1b9016(_0x360951,_0x3afa61);}},_0x3b405b=(await NTQQUserApi[_0x4f14cd(0xf6)]([_0x370652[_0x4f14cd(0xc6)]]))[_0x370652[_0x4f14cd(0xc6)]],_0x82b969=await NTQQUserApi['getSkey']();if(!_0x82b969||!_0x3b405b)return undefined;async function _0x395647(_0x1b802f,_0x30dd1d){const _0x3f5c43=_0x4f14cd;let _0x15acde=_0x370652[_0x3f5c43(0xd0)](_0x370652[_0x3f5c43(0xd0)](_0x370652[_0x3f5c43(0xd0)](_0x370652['dAMLO'],_0x1b802f),_0x3f5c43(0x108)),_0x30dd1d[_0x3f5c43(0xf9)]()),_0x5cf8bb='',_0x313f8c;try{_0x5cf8bb=await RequestUtil[_0x3f5c43(0x113)](_0x15acde,_0x3f5c43(0x106),'',{'Cookie':_0x3b3ee7});const _0x44b96b=_0x5cf8bb['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x44b96b&&(_0x313f8c=JSON[_0x3f5c43(0xf1)](_0x44b96b[0x1][_0x3f5c43(0xe7)]())),_0x30dd1d===0x1?_0x313f8c?.[_0x3f5c43(0x121)]:_0x313f8c?.[_0x3f5c43(0xeb)];}catch(_0x180659){_0x370652[_0x3f5c43(0xd3)](logDebug,_0x370652[_0x3f5c43(0xec)],_0x15acde,_0x180659);}return undefined;}let _0x37be4a={'group_id':_0x2ee1df};const _0x3b3ee7=_0x370652[_0x4f14cd(0xd0)](_0x370652[_0x4f14cd(0xdc)](_0x370652['KQTxT'](_0x370652[_0x4f14cd(0x10f)](_0x370652['JWVVc'](_0x370652[_0x4f14cd(0xc9)](_0x4f14cd(0xd2)+_0x3b405b,_0x370652[_0x4f14cd(0x110)]),_0x82b969),';\x20p_uin=o'),selfInfo[_0x4f14cd(0xa5)]),_0x370652['pvSfS']),selfInfo[_0x4f14cd(0xa5)]);if(_0x370652['pfROw'](_0x31fea5,WebHonorType[_0x4f14cd(0x103)])||_0x370652[_0x4f14cd(0x11d)](_0x31fea5,WebHonorType[_0x4f14cd(0xfa)]))try{let _0x927211=await _0x395647(_0x2ee1df,0x1);if(!_0x927211)throw new Error(_0x370652[_0x4f14cd(0xc1)]);_0x37be4a[_0x4f14cd(0x12f)]={'user_id':_0x927211[0x0]?.[_0x4f14cd(0xa5)],'avatar':_0x927211[0x0]?.[_0x4f14cd(0xf8)],'nickname':_0x927211[0x0]?.[_0x4f14cd(0xab)],'day_count':0x0,'description':_0x927211[0x0]?.[_0x4f14cd(0xb2)]},_0x37be4a[_0x4f14cd(0x117)]=[];for(const _0x4d29bc of _0x927211){_0x37be4a[_0x4f14cd(0x117)][_0x4f14cd(0xe0)]({'user_id':_0x4d29bc?.[_0x4f14cd(0xa5)],'avatar':_0x4d29bc?.[_0x4f14cd(0xf8)],'description':_0x4d29bc?.[_0x4f14cd(0xb2)],'day_count':0x0,'nickname':_0x4d29bc?.['name']});}}catch(_0x4c90ea){logDebug(_0x4c90ea);}if(_0x31fea5===WebHonorType['PERFROMER']||_0x370652[_0x4f14cd(0xe5)](_0x31fea5,WebHonorType[_0x4f14cd(0xfa)]))try{let _0x59aab1=await _0x370652[_0x4f14cd(0x123)](_0x395647,_0x2ee1df,0x2);if(!_0x59aab1)throw new Error('获取群聊之火失败');_0x37be4a[_0x4f14cd(0xa7)]=[];for(const _0x2ba721 of _0x59aab1){_0x37be4a[_0x4f14cd(0xa7)]['push']({'user_id':_0x2ba721?.[_0x4f14cd(0xa5)],'nickname':_0x2ba721?.[_0x4f14cd(0xab)],'avatar':_0x2ba721?.['avatar'],'description':_0x2ba721?.[_0x4f14cd(0xb2)]});}}catch(_0x443d09){_0x370652[_0x4f14cd(0xe2)](logDebug,_0x443d09);}if(_0x370652[_0x4f14cd(0xe5)](_0x31fea5,WebHonorType[_0x4f14cd(0x91)])||_0x370652[_0x4f14cd(0x107)](_0x31fea5,WebHonorType[_0x4f14cd(0xfa)]))try{let _0x1d5433=await _0x370652[_0x4f14cd(0x123)](_0x395647,_0x2ee1df,0x3);if(!_0x1d5433)throw new Error(_0x370652['xhtlN']);_0x37be4a[_0x4f14cd(0xae)]=[];for(const _0x3075ca of _0x1d5433){_0x37be4a[_0x4f14cd(0xae)][_0x4f14cd(0xe0)]({'user_id':_0x3075ca?.[_0x4f14cd(0xa5)],'nickname':_0x3075ca?.[_0x4f14cd(0xab)],'avatar':_0x3075ca?.['avatar'],'desc':_0x3075ca?.[_0x4f14cd(0x114)]});}}catch(_0x3c99b4){_0x370652[_0x4f14cd(0x123)](logDebug,_0x4f14cd(0x11c),_0x3c99b4);}if(_0x370652['JapPW'](_0x31fea5,WebHonorType[_0x4f14cd(0xdf)])||_0x370652['XozbP'](_0x31fea5,WebHonorType[_0x4f14cd(0xfa)]))try{let _0x18df87=await _0x370652[_0x4f14cd(0x123)](_0x395647,_0x2ee1df,0x6);if(!_0x18df87)throw new Error(_0x370652[_0x4f14cd(0xe8)]);_0x37be4a[_0x4f14cd(0xe9)]=[];for(const _0x92898c of _0x18df87){_0x37be4a['emotion_list']['push']({'user_id':_0x92898c?.['uin'],'nickname':_0x92898c?.[_0x4f14cd(0xab)],'avatar':_0x92898c?.[_0x4f14cd(0xf8)],'desc':_0x92898c?.['description']});}}catch(_0x31d688){_0x370652['tlWzt'](logDebug,_0x370652[_0x4f14cd(0xe8)],_0x31d688);}return(_0x31fea5===WebHonorType[_0x4f14cd(0xdf)]||_0x370652[_0x4f14cd(0x107)](_0x31fea5,WebHonorType['ALL']))&&(_0x37be4a[_0x4f14cd(0x11a)]=[]),_0x37be4a;}} \ No newline at end of file +const _0xb48b19=_0x698a;(function(_0x284c78,_0x5e8eb4){const _0x55aa40=_0x698a,_0x1c88fa=_0x284c78();while(!![]){try{const _0x1d6b2c=-parseInt(_0x55aa40(0x209))/0x1+-parseInt(_0x55aa40(0x1fb))/0x2*(-parseInt(_0x55aa40(0x20b))/0x3)+-parseInt(_0x55aa40(0x1c5))/0x4*(-parseInt(_0x55aa40(0x1f0))/0x5)+parseInt(_0x55aa40(0x1c2))/0x6+-parseInt(_0x55aa40(0x22d))/0x7+-parseInt(_0x55aa40(0x24e))/0x8+-parseInt(_0x55aa40(0x1cb))/0x9*(-parseInt(_0x55aa40(0x211))/0xa);if(_0x1d6b2c===_0x5e8eb4)break;else _0x1c88fa['push'](_0x1c88fa['shift']());}catch(_0x37cab3){_0x1c88fa['push'](_0x1c88fa['shift']());}}}(_0x1f29,0x25387));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x1f29(){const _0x1d09e0=['qun.qq.com','qid=','nUOWE','JXQpC','legend_list','getPSkey',';\x20skey=','xWOsA','StJvs','OclMx','JEEeT','aidzc','ycirP','ZjtEc','CRTIb','YODKt','actorList','GET','ugtfy','now','206755ZqqmiV','&text=','&page_limit=20','QwLuo','strong_newbie','jyban','parse','WdXeX','auhQx','smVkX','qxEra','83282cadBug','cyTWN','getSkey','zJRHL','BBNiV','jscns','legend','WDHGX','dvXKE','kljhR','获取当前群荣耀失败','zsSst','获取龙王信息失败','TrZhp','225036QUSvqw','eVuWe','3izFNWd','p_skey=','qGISa','RfKiq','POST','IYJVM','44230QPCSuz','gIiww','&qid=','emotion_list','genBkn','zKsBy','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=',';\x20uin=o','dryOj','emotion','JugFN','LDiKg','LEGEND','GroupTime','获取群聊之火失败','nOeEi','EMOTION','qYqdX','charCodeAt','https://qun.qq.com/interactive/honorlist?gc=','jFgtV','yIZAd','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','uin','get','sOFKL','IfuoG','push','1597918mWgSWP','ceil','getGroupMembers','anstu','oyoqh','avatar','getGroupEssenceMsg','vwhHI','获取群聊炽焰失败','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','JASjS','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','NWnRG','ZLrzZ','dUUog','nHzvX','length','all','TALKACTIVE','dyEzc','BwJDQ','&page_start=','HttpGetJson','vwbXc','&type=','zValZ','count','KRfgP','&bkn=','sYuVS','enIJY','trim','hiumD','254032IUxcJj','获取快乐源泉失败','XvamU','webapi\x20获取群成员','getGrouptNotice','RVLGU','PERFROMER','performer','JvrKd','QRptJ','RJyrn','retcode',';\x20p_uin=o','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','fEwOg','current_talkative','yABBS','qCbMB','meXHW','FkSxV','GajlQ','toString','nDoLZ','getGroupHonorInfo','lOLmi','talkative','performer_list','mems','errcode','133338GKSrlS','name','HttpGetText','8fuRKvN','MMQYY','AhXCS','mbOQg','OfLfi','tWMnv','999DgSafU','description','TEXFA','jseGz','UGkju','yCjqV','UNisn','GroupData','htHJL','&sort=1&gc=','kUdRK','ALL','desc','FSHBr','ZmGam','STORONGE_NEWBI','set'];_0x1f29=function(){return _0x1d09e0;};return _0x1f29();}function _0x698a(_0x241401,_0x39baa0){const _0x1f29e4=_0x1f29();return _0x698a=function(_0x698a38,_0x2dcae7){_0x698a38=_0x698a38-0x1b8;let _0x23920=_0x1f29e4[_0x698a38];return _0x23920;},_0x698a(_0x241401,_0x39baa0);}import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x4ff9ae){const _0x2d3fa1=_0x698a,_0x3736d9={'smVkX':_0x2d3fa1(0x1d6),'sOFKL':_0x2d3fa1(0x23e),'qxEra':_0x2d3fa1(0x23f),'dUUog':_0x2d3fa1(0x1be),'IfuoG':'PERFROMER','jseGz':_0x2d3fa1(0x255),'FSHBr':_0x2d3fa1(0x21d),'YODKt':_0x2d3fa1(0x201),'vEmWz':_0x2d3fa1(0x1da),'ywpnm':_0x2d3fa1(0x221),'hiumD':_0x2d3fa1(0x21a)};_0x4ff9ae[_0x3736d9[_0x2d3fa1(0x1f9)]]=_0x3736d9[_0x2d3fa1(0x22a)],_0x4ff9ae[_0x3736d9[_0x2d3fa1(0x1fa)]]=_0x3736d9[_0x2d3fa1(0x23b)],_0x4ff9ae[_0x3736d9[_0x2d3fa1(0x22b)]]=_0x3736d9[_0x2d3fa1(0x1ce)],_0x4ff9ae[_0x3736d9[_0x2d3fa1(0x1d8)]]=_0x3736d9[_0x2d3fa1(0x1eb)],_0x4ff9ae[_0x3736d9['vEmWz']]=_0x2d3fa1(0x1f4),_0x4ff9ae[_0x3736d9['ywpnm']]=_0x3736d9[_0x2d3fa1(0x24d)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0xb48b19(0x233)](_0xe8909,_0x59651e){const _0x57ca57=_0xb48b19,_0x5aa334={'aidzc':_0x57ca57(0x1dc),'jyban':function(_0x29cdf4,_0x586827){return _0x29cdf4+_0x586827;},'mbOQg':function(_0x3842dc,_0x3223a5){return _0x3842dc+_0x3223a5;},'nUOWE':function(_0x5008e9,_0x50bb46){return _0x5008e9+_0x50bb46;},'auhQx':_0x57ca57(0x20c),'RJyrn':_0x57ca57(0x1e2),'tSZHD':function(_0x5ea19d,_0xc18d75){return _0x5ea19d||_0xc18d75;},'htHJL':function(_0x197c30,_0x190a58){return _0x197c30+_0x190a58;},'RVLGU':function(_0x4979e4,_0x1380dc){return _0x4979e4+_0x1380dc;},'vwbXc':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','KHVKO':'&group_code=','QRptJ':_0x57ca57(0x242),'ZmGam':_0x57ca57(0x1f2),'yCjqV':_0x57ca57(0x1ed),'IYJVM':function(_0x43d020,_0x543c78){return _0x43d020!==_0x543c78;}},_0x136c7d=(await NTQQUserApi[_0x57ca57(0x1e1)]([_0x57ca57(0x1dc)]))[_0x5aa334[_0x57ca57(0x1e7)]],_0xa9b7dc=await NTQQUserApi[_0x57ca57(0x1fd)](),_0x1c8a73=_0x5aa334[_0x57ca57(0x1f5)](_0x5aa334['mbOQg'](_0x5aa334[_0x57ca57(0x1c8)](_0x5aa334['mbOQg'](_0x5aa334[_0x57ca57(0x1de)](_0x5aa334[_0x57ca57(0x1c8)](_0x5aa334[_0x57ca57(0x1f8)]+_0x136c7d,_0x5aa334[_0x57ca57(0x258)]),_0xa9b7dc),';\x20p_uin=o'),selfInfo['uin']),_0x57ca57(0x218)),selfInfo[_0x57ca57(0x228)]);if(_0x5aa334['tSZHD'](!_0xa9b7dc,!_0x136c7d))return undefined;const _0x15fcc4=WebApi[_0x57ca57(0x215)](_0xa9b7dc),_0x2d8ea1=_0x5aa334[_0x57ca57(0x1de)](_0x5aa334[_0x57ca57(0x1c8)](_0x5aa334[_0x57ca57(0x1d3)](_0x5aa334[_0x57ca57(0x253)](_0x5aa334[_0x57ca57(0x253)](_0x5aa334[_0x57ca57(0x244)],_0x15fcc4)+_0x5aa334['KHVKO'],_0xe8909),_0x5aa334[_0x57ca57(0x257)]),_0x59651e),_0x5aa334[_0x57ca57(0x1d9)]);let _0x25c166;try{_0x25c166=await RequestUtil['HttpGetJson'](_0x2d8ea1,_0x5aa334[_0x57ca57(0x1d0)],'',{'Cookie':_0x1c8a73});}catch{return undefined;}if(_0x5aa334[_0x57ca57(0x210)](_0x25c166[_0x57ca57(0x259)],0x0))return undefined;return _0x25c166;}static async[_0xb48b19(0x22f)](_0x153fd9,_0x43af00=!![]){const _0x4cfcec=_0xb48b19,_0x1e46b2={'UwWrE':function(_0x2d79be,_0x3e7be4,_0x42837a){return _0x2d79be(_0x3e7be4,_0x42837a);},'zsSst':_0x4cfcec(0x251),'NWnRG':function(_0x2ac0e7,_0x243c0c){return _0x2ac0e7-_0x243c0c;},'WDHGX':function(_0xd49635,_0x301c8c){return _0xd49635*_0x301c8c;},'nOeEi':'qun.qq.com','xWOsA':function(_0x1a6015,_0x5d2fee){return _0x1a6015+_0x5d2fee;},'nHzvX':function(_0x556cd9,_0x35ad12){return _0x556cd9+_0x35ad12;},'RfKiq':_0x4cfcec(0x20c),'oyoqh':_0x4cfcec(0x1e2),'FkSxV':function(_0x58a5d5,_0x23f145){return _0x58a5d5||_0x23f145;},'nDoLZ':function(_0x47cb89,_0x1573a4){return _0x47cb89+_0x1573a4;},'eVuWe':function(_0x39291b,_0xdac9b9){return _0x39291b+_0xdac9b9;},'kljhR':function(_0x3d51d3,_0xe83903){return _0x3d51d3+_0xe83903;},'fEwOg':_0x4cfcec(0x236),'AhXCS':_0x4cfcec(0x249),'JEEeT':_0x4cfcec(0x20f),'MMQYY':function(_0x41a541,_0x5e1c65){return _0x41a541!==_0x5e1c65;},'DqFLI':function(_0x1d55e7,_0x3c4575){return _0x1d55e7/_0x3c4575;},'UNisn':function(_0x8c057f,_0x1afef6){return _0x8c057f<=_0x1afef6;},'Zmxre':function(_0x24c58e,_0x46dee6){return _0x24c58e+_0x46dee6;},'zJRHL':function(_0x18d87a,_0x2c84c4){return _0x18d87a+_0x2c84c4;},'ZjtEc':function(_0x22f3e1,_0x45c86b){return _0x22f3e1+_0x45c86b;},'dSDgB':_0x4cfcec(0x217),'anstu':function(_0x41bfb5,_0x1819dc){return _0x41bfb5*_0x1819dc;},'qYqdX':'&end='};_0x1e46b2['UwWrE'](logDebug,_0x1e46b2[_0x4cfcec(0x206)],_0x153fd9);let _0x1b7857=new Array();try{let _0x5cf8ef=WebGroupData['GroupData'][_0x4cfcec(0x229)](_0x153fd9),_0x425b67=WebGroupData[_0x4cfcec(0x21e)][_0x4cfcec(0x229)](_0x153fd9);if(!_0x425b67||_0x1e46b2[_0x4cfcec(0x239)](Date[_0x4cfcec(0x1ef)](),_0x425b67)>_0x1e46b2[_0x4cfcec(0x202)](0x708,0x3e8)||!_0x43af00){const _0x1a27f6=(await NTQQUserApi[_0x4cfcec(0x1e1)]([_0x1e46b2[_0x4cfcec(0x220)]]))[_0x1e46b2[_0x4cfcec(0x220)]],_0x29c495=await NTQQUserApi[_0x4cfcec(0x1fd)](),_0x4d0606=_0x1e46b2[_0x4cfcec(0x1e3)](_0x1e46b2[_0x4cfcec(0x1e3)](_0x1e46b2[_0x4cfcec(0x23c)](_0x1e46b2[_0x4cfcec(0x20e)],_0x1a27f6),_0x1e46b2[_0x4cfcec(0x231)])+_0x29c495+_0x4cfcec(0x25a),selfInfo[_0x4cfcec(0x228)]);if(_0x1e46b2[_0x4cfcec(0x1b8)](!_0x29c495,!_0x1a27f6))return _0x1b7857;const _0x7691da=WebApi[_0x4cfcec(0x215)](_0x29c495),_0x29cdaa=[],_0x1f6e15=await RequestUtil[_0x4cfcec(0x243)](_0x1e46b2[_0x4cfcec(0x1bb)](_0x1e46b2[_0x4cfcec(0x20a)](_0x1e46b2[_0x4cfcec(0x204)](_0x1e46b2[_0x4cfcec(0x25c)],_0x153fd9),_0x1e46b2[_0x4cfcec(0x1c7)]),_0x7691da),_0x1e46b2[_0x4cfcec(0x1e6)],'',{'Cookie':_0x4d0606});if(!_0x1f6e15?.[_0x4cfcec(0x247)]||_0x1e46b2['MMQYY'](_0x1f6e15?.[_0x4cfcec(0x1c1)],0x0)||!_0x1f6e15?.[_0x4cfcec(0x1c0)])return[];else for(const _0xad843d in _0x1f6e15['mems']){_0x1b7857[_0x4cfcec(0x22c)](_0x1f6e15[_0x4cfcec(0x1c0)][_0xad843d]);}const _0x593b58=Math[_0x4cfcec(0x22e)](_0x1e46b2['DqFLI'](_0x1f6e15[_0x4cfcec(0x247)],0x28));for(let _0x2b131f=0x2;_0x1e46b2[_0x4cfcec(0x1d1)](_0x2b131f,_0x593b58);_0x2b131f++){const _0x4e3dd4=RequestUtil['HttpGetJson'](_0x1e46b2[_0x4cfcec(0x1bb)](_0x1e46b2['Zmxre'](_0x1e46b2[_0x4cfcec(0x1fe)](_0x1e46b2[_0x4cfcec(0x1fe)](_0x1e46b2['eVuWe'](_0x1e46b2[_0x4cfcec(0x23c)](_0x1e46b2[_0x4cfcec(0x1e9)](_0x1e46b2['dSDgB'],_0x1e46b2[_0x4cfcec(0x230)](_0x2b131f-0x1,0x28)),_0x1e46b2[_0x4cfcec(0x222)]),_0x2b131f*0x28),_0x4cfcec(0x1d4)),_0x153fd9),_0x1e46b2[_0x4cfcec(0x1c7)]),_0x7691da),_0x1e46b2[_0x4cfcec(0x1e6)],'',{'Cookie':_0x4d0606});_0x29cdaa[_0x4cfcec(0x22c)](_0x4e3dd4);}for(let _0x34a833=0x1;_0x34a833<=_0x593b58;_0x34a833++){const _0x5cb258=await _0x29cdaa[_0x34a833];if(!_0x5cb258?.[_0x4cfcec(0x247)]||_0x1e46b2[_0x4cfcec(0x1c6)](_0x5cb258?.['errcode'],0x0)||!_0x5cb258?.[_0x4cfcec(0x1c0)])continue;for(const _0x550837 in _0x5cb258[_0x4cfcec(0x1c0)]){_0x1b7857['push'](_0x5cb258[_0x4cfcec(0x1c0)][_0x550837]);}}WebGroupData[_0x4cfcec(0x1d2)][_0x4cfcec(0x1db)](_0x153fd9,_0x1b7857),WebGroupData[_0x4cfcec(0x21e)]['set'](_0x153fd9,Date['now']());}else _0x1b7857=_0x5cf8ef;}catch{return _0x1b7857;}return _0x1b7857;}static async['setGroupNotice'](_0x25f4a1,_0x1b8531=''){const _0x4e67bd=_0xb48b19,_0x301185={'KRfgP':_0x4e67bd(0x1dc),'jscns':function(_0x42fab2,_0x48a226){return _0x42fab2+_0x48a226;},'qCbMB':function(_0x519b21,_0x573c0a){return _0x519b21+_0x573c0a;},'qGISa':function(_0xd42edd,_0x5e24f6){return _0xd42edd+_0x5e24f6;},'LDiKg':_0x4e67bd(0x1e2),'meXHW':_0x4e67bd(0x25a),'nkCKD':function(_0x44c32a,_0x5c5849){return _0x44c32a||_0x5c5849;},'JugFN':function(_0x404cf0,_0x247c30){return _0x404cf0+_0x247c30;},'xOJPz':function(_0x598302,_0x137918){return _0x598302+_0x137918;},'yABBS':function(_0x1fde90,_0x5d6ca5){return _0x1fde90+_0x5d6ca5;},'enIJY':function(_0x4fe3b4,_0x4c9b89){return _0x4fe3b4+_0x4c9b89;},'yIZAd':_0x4e67bd(0x1dd),'UGkju':_0x4e67bd(0x249),'ORIJD':_0x4e67bd(0x1f1),'QwLuo':_0x4e67bd(0x238),'XvamU':_0x4e67bd(0x25b),'ukEay':'GET'},_0x386640=(await NTQQUserApi[_0x4e67bd(0x1e1)]([_0x301185[_0x4e67bd(0x248)]]))[_0x4e67bd(0x1dc)],_0x4c8663=await NTQQUserApi[_0x4e67bd(0x1fd)](),_0x4fb688=_0x301185['jscns'](_0x301185[_0x4e67bd(0x200)](_0x301185[_0x4e67bd(0x25f)](_0x301185[_0x4e67bd(0x20d)](_0x4e67bd(0x20c)+_0x386640,_0x301185[_0x4e67bd(0x21c)]),_0x4c8663),_0x301185[_0x4e67bd(0x260)]),selfInfo[_0x4e67bd(0x228)]);let _0x43b06d=undefined;if(_0x301185['nkCKD'](!_0x4c8663,!_0x386640))return undefined;const _0x5debe8=WebApi[_0x4e67bd(0x215)](_0x4c8663),_0x2952ed=_0x301185[_0x4e67bd(0x21b)](_0x301185[_0x4e67bd(0x20d)](_0x301185['xOJPz'](_0x301185[_0x4e67bd(0x25e)](_0x301185[_0x4e67bd(0x24b)](_0x301185[_0x4e67bd(0x226)]+_0x25f4a1,_0x301185[_0x4e67bd(0x1cf)]),_0x5debe8),_0x301185['ORIJD']),_0x1b8531),_0x301185[_0x4e67bd(0x1f3)]),_0x1fd395=_0x301185[_0x4e67bd(0x250)]+_0x5debe8;try{return _0x43b06d=await RequestUtil[_0x4e67bd(0x243)](_0x1fd395,_0x301185['ukEay'],'',{'Cookie':_0x4fb688}),_0x43b06d;}catch(_0x1776a6){return undefined;}return undefined;}static async[_0xb48b19(0x252)](_0x1f05e7){const _0x3249d7=_0xb48b19,_0x57053c={'StJvs':function(_0x126e0f,_0x5c853d){return _0x126e0f+_0x5c853d;},'kUdRK':'p_skey=','NdKNa':_0x3249d7(0x1e2),'TrZhp':';\x20p_uin=o','OfLfi':function(_0x32e7dd,_0x373201){return _0x32e7dd||_0x373201;},'CRTIb':function(_0x5ab920,_0x1fa41a){return _0x5ab920+_0x1fa41a;},'ycirP':_0x3249d7(0x227),'hNstB':_0x3249d7(0x1ed),'UEBRU':function(_0x201b2c,_0xd6d728){return _0x201b2c!==_0xd6d728;}},_0x40daa3=(await NTQQUserApi[_0x3249d7(0x1e1)]([_0x3249d7(0x1dc)]))[_0x3249d7(0x1dc)],_0x10cd23=await NTQQUserApi[_0x3249d7(0x1fd)](),_0x1a038c=_0x57053c['StJvs'](_0x57053c[_0x3249d7(0x1e4)](_0x57053c[_0x3249d7(0x1e4)](_0x57053c[_0x3249d7(0x1e4)](_0x57053c[_0x3249d7(0x1d5)],_0x40daa3),_0x57053c['NdKNa'])+_0x10cd23,_0x57053c[_0x3249d7(0x208)]),selfInfo[_0x3249d7(0x228)]);let _0x50a71c=undefined;if(_0x57053c[_0x3249d7(0x1c9)](!_0x10cd23,!_0x40daa3))return undefined;const _0x194e29=WebApi[_0x3249d7(0x215)](_0x10cd23),_0x172c65=_0x57053c[_0x3249d7(0x1e4)](_0x57053c[_0x3249d7(0x1ea)](_0x57053c[_0x3249d7(0x1ea)]('https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',_0x194e29),_0x3249d7(0x213)),_0x1f05e7)+_0x57053c[_0x3249d7(0x1e8)];try{_0x50a71c=await RequestUtil[_0x3249d7(0x243)](_0x172c65,_0x57053c['hNstB'],'',{'Cookie':_0x1a038c});if(_0x57053c['UEBRU'](_0x50a71c?.['ec'],0x0))return undefined;return _0x50a71c;}catch(_0x1a4fb5){return undefined;}return undefined;}static[_0xb48b19(0x215)](_0x347394){const _0x1248e1=_0xb48b19,_0x58c18c={'xNdTM':function(_0x3dbf95,_0x4731c2){return _0x3dbf95||_0x4731c2;},'cyTWN':function(_0x594fe8,_0x2c2a60){return _0x594fe8+_0x2c2a60;},'ugtfy':function(_0x27fa8e,_0x2c1507){return _0x27fa8e+_0x2c1507;},'IqzVy':function(_0x24b10e,_0x1029bc){return _0x24b10e<<_0x1029bc;}};_0x347394=_0x58c18c['xNdTM'](_0x347394,'');let _0x2d0ae6=0x1505;for(let _0x281183=0x0;_0x281183<_0x347394[_0x1248e1(0x23d)];_0x281183++){const _0x24676e=_0x347394[_0x1248e1(0x223)](_0x281183);_0x2d0ae6=_0x58c18c[_0x1248e1(0x1fc)](_0x58c18c[_0x1248e1(0x1ee)](_0x2d0ae6,_0x58c18c['IqzVy'](_0x2d0ae6,0x5)),_0x24676e);}return(_0x2d0ae6&0x7fffffff)[_0x1248e1(0x1ba)]();}static async[_0xb48b19(0x1bc)](_0x58b411,_0x31a9c4){const _0x51cc70=_0xb48b19,_0x144961={'zKsBy':function(_0x18f6df,_0x9444a7){return _0x18f6df+_0x9444a7;},'vwhHI':function(_0x4bb40c,_0x592e2b){return _0x4bb40c+_0x592e2b;},'zValZ':function(_0x50b7eb,_0x41f54){return _0x50b7eb+_0x41f54;},'bumdr':_0x51cc70(0x224),'jFgtV':_0x51cc70(0x245),'OclMx':function(_0x22a7e6,_0x11f8bc,_0x529b1b,_0xf7d095){return _0x22a7e6(_0x11f8bc,_0x529b1b,_0xf7d095);},'fRufH':_0x51cc70(0x205),'JvrKd':'qun.qq.com','JXQpC':function(_0x1f1c25,_0x197c1e){return _0x1f1c25+_0x197c1e;},'tWMnv':function(_0x307f04,_0x190143){return _0x307f04+_0x190143;},'JASjS':function(_0x4f2366,_0x16c735){return _0x4f2366+_0x16c735;},'lOLmi':_0x51cc70(0x20c),'fjfXE':_0x51cc70(0x25a),'WdXeX':_0x51cc70(0x218),'dvXKE':function(_0x3bae67,_0x2bf2c4){return _0x3bae67===_0x2bf2c4;},'BwJDQ':function(_0x5cd07a,_0x175c2a,_0x285018){return _0x5cd07a(_0x175c2a,_0x285018);},'sYuVS':function(_0x18a765,_0x4fe451){return _0x18a765(_0x4fe451);},'TEXFA':function(_0x316fb1,_0xdcf798){return _0x316fb1===_0xdcf798;},'mVrCM':_0x51cc70(0x21f),'dryOj':function(_0x3db147,_0x231765){return _0x3db147===_0x231765;},'dyEzc':_0x51cc70(0x235),'gIiww':function(_0x22df58,_0x35892c){return _0x22df58===_0x35892c;},'GajlQ':function(_0x4d8778,_0x31927f){return _0x4d8778===_0x31927f;},'BBNiV':function(_0xfa0ebf,_0x13780b,_0x1e1295){return _0xfa0ebf(_0x13780b,_0x1e1295);},'ZLrzZ':_0x51cc70(0x24f),'eWCOM':function(_0x3178ed,_0x2ff683){return _0x3178ed===_0x2ff683;},'RzVow':function(_0x2ce0b2,_0x1d4a9c){return _0x2ce0b2===_0x1d4a9c;}},_0xdc72f7=(await NTQQUserApi[_0x51cc70(0x1e1)]([_0x144961[_0x51cc70(0x256)]]))[_0x144961[_0x51cc70(0x256)]],_0xd34c68=await NTQQUserApi['getSkey']();if(!_0xd34c68||!_0xdc72f7)return undefined;async function _0x75acf9(_0x323b93,_0x1ddff2){const _0x160c9c=_0x51cc70;let _0x174902=_0x144961[_0x160c9c(0x216)](_0x144961[_0x160c9c(0x234)](_0x144961[_0x160c9c(0x246)](_0x144961['bumdr'],_0x323b93),_0x144961[_0x160c9c(0x225)]),_0x1ddff2[_0x160c9c(0x1ba)]()),_0x4b4465='',_0x2d524b;try{_0x4b4465=await RequestUtil[_0x160c9c(0x1c4)](_0x174902,_0x160c9c(0x1ed),'',{'Cookie':_0x569eba});const _0x3f8ebe=_0x4b4465['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x3f8ebe&&(_0x2d524b=JSON[_0x160c9c(0x1f6)](_0x3f8ebe[0x1][_0x160c9c(0x24c)]())),_0x1ddff2===0x1?_0x2d524b?.['talkativeList']:_0x2d524b?.[_0x160c9c(0x1ec)];}catch(_0x4ae0d3){_0x144961[_0x160c9c(0x1e5)](logDebug,_0x144961['fRufH'],_0x174902,_0x4ae0d3);}return undefined;}let _0x4903ea={'group_id':_0x58b411};const _0x569eba=_0x144961[_0x51cc70(0x1df)](_0x144961[_0x51cc70(0x1df)](_0x144961[_0x51cc70(0x234)](_0x144961['vwhHI'](_0x144961[_0x51cc70(0x1ca)](_0x144961[_0x51cc70(0x237)](_0x144961[_0x51cc70(0x1bd)],_0xdc72f7),_0x51cc70(0x1e2))+_0xd34c68,_0x144961['fjfXE']),selfInfo['uin']),_0x144961[_0x51cc70(0x1f7)]),selfInfo['uin']);if(_0x144961[_0x51cc70(0x203)](_0x31a9c4,WebHonorType[_0x51cc70(0x23f)])||_0x31a9c4===WebHonorType[_0x51cc70(0x1d6)])try{let _0x34f509=await _0x144961[_0x51cc70(0x241)](_0x75acf9,_0x58b411,0x1);if(!_0x34f509)throw new Error(_0x51cc70(0x207));_0x4903ea[_0x51cc70(0x25d)]={'user_id':_0x34f509[0x0]?.[_0x51cc70(0x228)],'avatar':_0x34f509[0x0]?.[_0x51cc70(0x232)],'nickname':_0x34f509[0x0]?.['name'],'day_count':0x0,'description':_0x34f509[0x0]?.['desc']},_0x4903ea['talkative_list']=[];for(const _0x1ac943 of _0x34f509){_0x4903ea['talkative_list'][_0x51cc70(0x22c)]({'user_id':_0x1ac943?.[_0x51cc70(0x228)],'avatar':_0x1ac943?.[_0x51cc70(0x232)],'description':_0x1ac943?.[_0x51cc70(0x1d7)],'day_count':0x0,'nickname':_0x1ac943?.[_0x51cc70(0x1c3)]});}}catch(_0x2535a8){_0x144961[_0x51cc70(0x24a)](logDebug,_0x2535a8);}if(_0x144961[_0x51cc70(0x1cd)](_0x31a9c4,WebHonorType['PERFROMER'])||_0x144961[_0x51cc70(0x203)](_0x31a9c4,WebHonorType[_0x51cc70(0x1d6)]))try{let _0xdb457f=await _0x144961[_0x51cc70(0x241)](_0x75acf9,_0x58b411,0x2);if(!_0xdb457f)throw new Error(_0x144961['mVrCM']);_0x4903ea[_0x51cc70(0x1bf)]=[];for(const _0x412951 of _0xdb457f){_0x4903ea[_0x51cc70(0x1bf)][_0x51cc70(0x22c)]({'user_id':_0x412951?.['uin'],'nickname':_0x412951?.[_0x51cc70(0x1c3)],'avatar':_0x412951?.[_0x51cc70(0x232)],'description':_0x412951?.[_0x51cc70(0x1d7)]});}}catch(_0x6ca131){logDebug(_0x6ca131);}if(_0x144961[_0x51cc70(0x203)](_0x31a9c4,WebHonorType[_0x51cc70(0x254)])||_0x144961[_0x51cc70(0x219)](_0x31a9c4,WebHonorType[_0x51cc70(0x1d6)]))try{let _0x30728d=await _0x144961[_0x51cc70(0x241)](_0x75acf9,_0x58b411,0x3);if(!_0x30728d)throw new Error(_0x144961[_0x51cc70(0x240)]);_0x4903ea[_0x51cc70(0x1e0)]=[];for(const _0x24412d of _0x30728d){_0x4903ea[_0x51cc70(0x1e0)]['push']({'user_id':_0x24412d?.[_0x51cc70(0x228)],'nickname':_0x24412d?.['name'],'avatar':_0x24412d?.[_0x51cc70(0x232)],'desc':_0x24412d?.[_0x51cc70(0x1cc)]});}}catch(_0x3d55af){_0x144961['BwJDQ'](logDebug,_0x144961[_0x51cc70(0x240)],_0x3d55af);}if(_0x144961[_0x51cc70(0x212)](_0x31a9c4,WebHonorType[_0x51cc70(0x221)])||_0x144961[_0x51cc70(0x1b9)](_0x31a9c4,WebHonorType[_0x51cc70(0x1d6)]))try{let _0xb01a22=await _0x144961[_0x51cc70(0x1ff)](_0x75acf9,_0x58b411,0x6);if(!_0xb01a22)throw new Error(_0x51cc70(0x24f));_0x4903ea[_0x51cc70(0x214)]=[];for(const _0x216c9d of _0xb01a22){_0x4903ea[_0x51cc70(0x214)]['push']({'user_id':_0x216c9d?.[_0x51cc70(0x228)],'nickname':_0x216c9d?.[_0x51cc70(0x1c3)],'avatar':_0x216c9d?.['avatar'],'desc':_0x216c9d?.[_0x51cc70(0x1cc)]});}}catch(_0xe190){logDebug(_0x144961[_0x51cc70(0x23a)],_0xe190);}return(_0x144961['eWCOM'](_0x31a9c4,WebHonorType['EMOTION'])||_0x144961['RzVow'](_0x31a9c4,WebHonorType[_0x51cc70(0x1d6)]))&&(_0x4903ea['strong_newbie_list']=[]),_0x4903ea;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 9a7093ac..2e582591 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x240855=_0x815b;(function(_0x470432,_0x101429){const _0x55a88f=_0x815b,_0x2499a0=_0x470432();while(!![]){try{const _0x85096b=-parseInt(_0x55a88f(0xb2))/0x1*(parseInt(_0x55a88f(0xb9))/0x2)+parseInt(_0x55a88f(0x144))/0x3+-parseInt(_0x55a88f(0x159))/0x4+-parseInt(_0x55a88f(0xf5))/0x5+parseInt(_0x55a88f(0xda))/0x6*(parseInt(_0x55a88f(0x143))/0x7)+parseInt(_0x55a88f(0x129))/0x8+parseInt(_0x55a88f(0x141))/0x9;if(_0x85096b===_0x101429)break;else _0x2499a0['push'](_0x2499a0['shift']());}catch(_0x588812){_0x2499a0['push'](_0x2499a0['shift']());}}}(_0x5b58,0x7818c));import _0xad918e from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x34dc6e from'node:path';function _0x815b(_0x1eab5e,_0x2d4fa3){const _0x5b580d=_0x5b58();return _0x815b=function(_0x815b5d,_0xcca38e){_0x815b5d=_0x815b5d-0xa3;let _0x1cee29=_0x5b580d[_0x815b5d];return _0x1cee29;},_0x815b(_0x1eab5e,_0x2d4fa3);}import _0x238ed8 from'node:os';import _0x1f5aff from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x495ab2 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x5b58(){const _0x1d35ae=['packet_received','loginService','getBuddyService','快速登录失败\x20','initSession','pngBase64QrcodeData','2891484WBLlum','EElwq','850087MbdOQI','1086321oCgsFn','fileLog','FeQBD','session','homedir','then','没有可快速登录的QQ号','initConfig','LocalLoginInfoList','getNTUserDataInfoConfig','GroupListener','_GW_B','recallTime','iLugb','LWkyb','xTbiG','BuddyListener','has','onQRCodeSessionFailed','errMsg','resolve','43684OLNLDM','IiVLC','message_sent','digest','OLPdF','XkIxr','TMqag','qrLogin','NodeIKernelBuddyListener','getQuickLoginList','quickLoginWithUin','NodeIKernelSessionListener','数据库初始化失败','length','./.config/QQ','getQRCodePicture','groupCode','onSessionInitComplete','[KickedOffLine]\x20[','QpghH','ERFaU','tipsTitle','pAnjg','fSLKE','packet_sent','xsPeJ','4225TfdtzK','buddyList','eZBhh','MYRwV','update','addListener','getProfileService','242WCKlVZ','tipsDesc','dataPath','qrcodeUrl','consoleLogLevel',')\x20在线状态变更','getNextMemberList','VGdbk','createHash','NodeIQQNTWrapperSession','启动失败:\x20','onQRCodeLoginSucceed','bIaRk','passwordLogin','WEiMJ','replace','uid','Windows\x2010\x20Pro','LhIvU','onRecvMsg','NodeIQQNTWrapperEngine','dAgGe','hex','onProfileDetailInfoChanged','getMsgByLongId','onLoginFailed','util','GoBTz','当前账号(','getGroupService','账号设备(','\x20has\x20no\x20method\x20','onSelfStatusChanged','42tFjgyf','result','IJwWi','-v2.db','knNeZ','addKernelLoginListener','本账号数据/缓存目录:','lampe','BDIkI','push','qZaFx','md5','onQRCodeGetPicture','TQMvm','now','onLineDev','niPgw','initDataListener','wLAPc','NodeIDispatcherAdapter','mkdirSync','proxyHandler','vFQeL','undefined','loginListener','CSdfp','dataPathGlobal','2608650FvDNgG','addMsg','140022013','onLoginSuccessFuncList','assign','140022008','addKernelGroupListener','initWithDeskTopConfig','uin','RYPwS','oLPuP','wraGc','getLoginList','kKkDw','engine',')已登录,无法重复登录','VIrfy','infos','updateMsg','name','MsgListener','sceneId','onGroupListUpdate','nkHlc','devUid','fileLogLevel','getMsgService','nMriu','NXarO','addKernelBuddyListener','consoleLog','stringify','YhZjT','NodeIKernelMsgListener','KnmSd','uQVqd','V1_WIN_NQ_','mdMZM','catch','onAddSendMsg','get','ysPNe','onLoginSuccess','data:image/png;base64,','set','createMemberListScene','quickLogin','forEach','bDmGr','dgLNQ','loginErrorInfo','constructor','18576OcgZbS','NodeIKernelGroupListener','base64','NodeIGlobalAdapter','groupMemberList_MainWindow','init','qXLnT','clientType','map','onKickedOffLine','fGqwb','onMemberInfoChange','./NapCat/data','addKernelProfileListener','floor','fCZRb','curVersion','getBuddyList'];_0x5b58=function(){return _0x1d35ae;};return _0x5b58();}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x240855(0x147)];[_0x240855(0xd3)];[_0x240855(0x103)];[_0x240855(0xf2)];[_0x240855(0x13c)];[_0x240855(0xf8)]=[];[_0x240855(0xef)]={'get'(target,prop,receiver){const _0x16d6ce=_0x240855,YcXyAw={'oLPuP':function(callee,param1){return callee(param1);},'zcYpn':_0x16d6ce(0xf1)};if(typeof target[prop]===YcXyAw['zcYpn'])return(...args)=>{const _0x57ee6f=_0x16d6ce;YcXyAw[_0x57ee6f(0xff)](logDebug,target[_0x57ee6f(0x128)][_0x57ee6f(0x108)]+_0x57ee6f(0xd8)+prop);};return Reflect[_0x16d6ce(0x11d)](target,prop,receiver);}};constructor(){const _0x2c719d=_0x240855,_0x225eb8={'mdMZM':function(_0x3c0283,_0x1218e9){return _0x3c0283+_0x1218e9;},'qZaFx':_0x2c719d(0xd5),'LJzmK':_0x2c719d(0x104),'fGqwb':'initSession\x20failed','NXarO':function(_0x134ae7,_0x49a597,_0x246dc1){return _0x134ae7(_0x49a597,_0x246dc1);},'CSdfp':_0x2c719d(0xa4),'pAnjg':function(_0x55f527,_0x1a2a42){return _0x55f527(_0x1a2a42);},'FeQBD':_0x2c719d(0x135),'LWkyb':function(_0x2a6bb1,_0x49ff2b,_0x115172){return _0x2a6bb1(_0x49ff2b,_0x115172);},'VGdbk':'登录失败','jtPkF':function(_0x2b9b97,_0x4f1b99){return _0x2b9b97==_0x4f1b99;},'qXLnT':function(_0x38e10b,_0x1758c6,_0x2d367b){return _0x38e10b(_0x1758c6,_0x2d367b);}};this[_0x2c719d(0x103)]=new _0xad918e[(_0x2c719d(0xcd))](),this[_0x2c719d(0xd3)]=new _0xad918e['NodeQQNTWrapperUtil'](),this[_0x2c719d(0x13c)]=new _0xad918e['NodeIKernelLoginService'](),this[_0x2c719d(0x147)]=new _0xad918e[(_0x2c719d(0xc2))](),this[_0x2c719d(0xf2)]=new LoginListener(),this[_0x2c719d(0xf2)]['onUserLoggedIn']=_0x37246f=>{const _0x5cbcd1=_0x2c719d;logError(_0x225eb8[_0x5cbcd1(0x11a)](_0x225eb8[_0x5cbcd1(0xe4)],_0x37246f)+_0x225eb8['LJzmK']);},this[_0x2c719d(0xf2)][_0x2c719d(0xc4)]=_0x19da8b=>{const _0x31be23=_0x2c719d,_0x4e4583={'fSLKE':function(_0x48294f,_0x151fdf,_0x13630c){const _0xe678f4=_0x815b;return _0x225eb8[_0xe678f4(0x111)](_0x48294f,_0x151fdf,_0x13630c);},'wraGc':_0x225eb8[_0x31be23(0xf3)],'EElwq':function(_0x38932c,_0x4283b2){return _0x38932c instanceof _0x4283b2;},'dAgGe':function(_0x523910,_0x387fdc){const _0x3b0e45=_0x31be23;return _0x225eb8[_0x3b0e45(0xae)](_0x523910,_0x387fdc);},'TMqag':_0x225eb8[_0x31be23(0x146)],'AWRCt':function(_0x47d449,_0x1923fe,_0xe6f00a){return _0x47d449(_0x1923fe,_0xe6f00a);},'LSVbB':_0x31be23(0xe0)};this[_0x31be23(0x13f)](_0x19da8b[_0x31be23(0xfd)],_0x19da8b['uid'])[_0x31be23(0x149)](_0x424db8=>{const _0x123f80=_0x31be23,_0x4b7b4f={'bIaRk':function(_0xca26b5,_0x4f466e){const _0x2b4313=_0x815b;return _0x4e4583[_0x2b4313(0x142)](_0xca26b5,_0x4f466e);}};selfInfo[_0x123f80(0xfd)]=_0x19da8b[_0x123f80(0xfd)],selfInfo[_0x123f80(0xc9)]=_0x19da8b[_0x123f80(0xc9)],napCatConfig['read'](),_0x4e4583[_0x123f80(0xaf)](setLogLevel,napCatConfig[_0x123f80(0x10e)],napCatConfig[_0x123f80(0xbd)]),_0x4e4583[_0x123f80(0xce)](enableFileLog,napCatConfig[_0x123f80(0x145)]),_0x4e4583[_0x123f80(0xce)](enableConsoleLog,napCatConfig[_0x123f80(0x113)]),setLogSelfInfo(selfInfo);const _0x27e21c=_0x34dc6e['resolve'](this[_0x123f80(0xbb)],_0x4e4583[_0x123f80(0x15f)]);_0x1f5aff[_0x123f80(0xee)](_0x27e21c,{'recursive':!![]}),_0x4e4583['AWRCt'](logDebug,_0x4e4583['LSVbB'],_0x27e21c),dbUtil[_0x123f80(0x12e)](_0x34dc6e['resolve'](_0x27e21c,'./'+_0x19da8b[_0x123f80(0xfd)]+_0x123f80(0xdd)))[_0x123f80(0x149)](()=>{const _0x281335=_0x123f80,_0x4dce8b={'GoBTz':function(_0x3b3fa6,_0x97ed41,_0x5b2ecf){return _0x3b3fa6(_0x97ed41,_0x5b2ecf);},'WEiMJ':function(_0x1bbcad,_0x1b5d20){const _0x1006f1=_0x815b;return _0x4b7b4f[_0x1006f1(0xc5)](_0x1bbcad,_0x1b5d20);}};this[_0x281335(0xeb)](),this['onLoginSuccessFuncList'][_0x281335(0x131)](_0x9a89fc=>{const _0x7f5191=_0x281335;new Promise((_0x20742e,_0x3813e5)=>{const _0x348ce5=_0x815b,_0x114c0c=_0x4dce8b[_0x348ce5(0xd4)](_0x9a89fc,_0x19da8b['uin'],_0x19da8b[_0x348ce5(0xc9)]);_0x4dce8b[_0x348ce5(0xc7)](_0x114c0c,Promise)&&_0x114c0c[_0x348ce5(0x149)](_0x20742e)[_0x348ce5(0x11b)](_0x3813e5);})[_0x7f5191(0x149)]();});})[_0x123f80(0x11b)](_0x5c2796=>{const _0x23fb9e=_0x123f80;_0x4e4583[_0x23fb9e(0xaf)](logError,_0x4e4583[_0x23fb9e(0x100)],_0x5c2796);});})[_0x31be23(0x11b)](_0x2f5337=>{const _0x36dc0d=_0x31be23;logError(_0x225eb8[_0x36dc0d(0x133)],_0x2f5337);throw new Error(_0x36dc0d(0xc3)+JSON[_0x36dc0d(0x114)](_0x2f5337));});},this[_0x2c719d(0xf2)][_0x2c719d(0x156)]=(_0x47a1c1,_0x4b845f,_0x592acb)=>{const _0x4ee7ca=_0x2c719d;_0x225eb8[_0x4ee7ca(0x152)](logError,_0x225eb8['VGdbk'],_0x592acb),_0x225eb8['jtPkF'](_0x47a1c1,0x1)&&_0x4b845f==0x3&&this[_0x4ee7ca(0x13c)]['getQRCodePicture']();},this[_0x2c719d(0xf2)][_0x2c719d(0xd2)]=_0x5937ba=>{const _0x1e79a3=_0x2c719d;_0x225eb8[_0x1e79a3(0x12f)](logError,_0x225eb8[_0x1e79a3(0xc0)],_0x5937ba);},this[_0x2c719d(0xf2)]=new Proxy(this['loginListener'],this[_0x2c719d(0xef)]),this[_0x2c719d(0x13c)][_0x2c719d(0xdf)](new _0xad918e['NodeIKernelLoginListener'](this[_0x2c719d(0xf2)])),this[_0x2c719d(0x14b)]();}get[_0x240855(0xbb)](){const _0x418751=_0x240855,_0x2574ae={'wLAPc':_0x418751(0xa6)};let _0x4b3f0c=this[_0x418751(0xd3)][_0x418751(0x14d)]();return!_0x4b3f0c&&(_0x4b3f0c=_0x34dc6e[_0x418751(0x158)](_0x238ed8[_0x418751(0x148)](),_0x2574ae[_0x418751(0xec)]),_0x1f5aff['mkdirSync'](_0x4b3f0c,{'recursive':!![]})),_0x4b3f0c;}get[_0x240855(0xf4)](){const _0x51b793=_0x240855,_0x4c1828={'qDHwI':'./nt_qq/global'};return _0x34dc6e['resolve'](this[_0x51b793(0xbb)],_0x4c1828['qDHwI']);}[_0x240855(0x14b)](){const _0x5da83e=_0x240855,_0x11e6ba={'IiVLC':_0x5da83e(0xca)};this[_0x5da83e(0x103)][_0x5da83e(0xfc)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x5da83e(0x139)],'os_version':_0x11e6ba[_0x5da83e(0x15a)],'use_xlog':!![],'qua':_0x5da83e(0x119)+qqVersionConfigInfo[_0x5da83e(0x139)][_0x5da83e(0xc8)]('-','_')+_0x5da83e(0x14f),'global_path_config':{'desktopGlobalPath':this[_0x5da83e(0xf4)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0xad918e[(_0x5da83e(0x12c))](new GlobalAdapter())),this[_0x5da83e(0x13c)][_0x5da83e(0x14b)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x5da83e(0xf4)],'clientVer':qqVersionConfigInfo[_0x5da83e(0x139)],'hostName':hostname});}[_0x240855(0x13f)](_0x18612c,_0x11a8b9){const _0xfde3f0={'dgLNQ':function(_0x59c192,_0x19e1e3){return _0x59c192===_0x19e1e3;},'fCZRb':function(_0x342848,_0xfa3c80,_0x20d0a4,_0x5646ad){return _0x342848(_0xfa3c80,_0x20d0a4,_0x5646ad);},'QpghH':function(_0x18da2b,_0x9a70f1){return _0x18da2b(_0x9a70f1);},'ClmJx':function(_0x7d89a7,_0x5b7c69){return _0x7d89a7+_0x5b7c69;},'RYPwS':'init\x20failed\x20'};return new Promise((_0x230540,_0x4861b9)=>{const _0x2ed76c=_0x815b,_0x204722={'ysPNe':function(_0x795137,_0x235d0d){const _0x277229=_0x815b;return _0xfde3f0[_0x277229(0x126)](_0x795137,_0x235d0d);},'LhIvU':function(_0x4ff43c,_0x4b7ed5){return _0x4ff43c(_0x4b7ed5);}},_0x33ec4c=_0xfde3f0[_0x2ed76c(0x138)](genSessionConfig,_0x18612c,_0x11a8b9,this[_0x2ed76c(0xbb)]),_0x1d8745=new SessionListener();_0x1d8745[_0x2ed76c(0xa9)]=_0x2b73f2=>{const _0x1082e5=_0x2ed76c;if(_0x204722[_0x1082e5(0x11e)](_0x2b73f2,0x0))return _0x204722[_0x1082e5(0xcb)](_0x230540,0x0);_0x204722[_0x1082e5(0xcb)](_0x4861b9,_0x2b73f2);},this[_0x2ed76c(0x147)][_0x2ed76c(0x12e)](_0x33ec4c,new _0xad918e['NodeIDependsAdapter'](new DependsAdapter()),new _0xad918e[(_0x2ed76c(0xed))](new DispatcherAdapter()),new _0xad918e[(_0x2ed76c(0xa3))](_0x1d8745));try{this[_0x2ed76c(0x147)]['startNT'](0x0);}catch(_0x45da22){try{this[_0x2ed76c(0x147)]['startNT']();}catch(_0x2e7496){_0xfde3f0[_0x2ed76c(0xab)](_0x4861b9,_0xfde3f0['ClmJx'](_0xfde3f0[_0x2ed76c(0xfe)],_0x2e7496));}}});}['initDataListener'](){const _0x4eeaf7=_0x240855,_0x7e7084={'MYRwV':function(_0x38fe0c,_0x1215b3){return _0x38fe0c===_0x1215b3;},'OLPdF':function(_0x35cbd6,_0x2bb776){return _0x35cbd6+_0x2bb776;},'niPgw':function(_0x587972,_0x93f40){return _0x587972+_0x93f40;},'KnmSd':_0x4eeaf7(0xd7),'iLugb':function(_0x1bde25,_0x43946d){return _0x1bde25(_0x43946d);},'BDIkI':_0x4eeaf7(0xaa),'nDZhK':function(_0x198bcc,_0x1a8a8f){return _0x198bcc/_0x1a8a8f;},'ERFaU':function(_0x1df91a,_0x4787af){return _0x1df91a/_0x4787af;},'nkHlc':_0x4eeaf7(0x12d),'KtcZi':function(_0x255315,_0xf35784,_0x5b2196){return _0x255315(_0xf35784,_0x5b2196);}},_0x6c4140=new MsgListener();_0x6c4140[_0x4eeaf7(0xe9)]=_0x5bfda0=>{_0x5bfda0['map'](_0x25c28a=>{const _0x445020=_0x815b;_0x7e7084[_0x445020(0xb5)](_0x25c28a[_0x445020(0x130)],0x2)&&log(_0x7e7084[_0x445020(0x15d)](_0x7e7084[_0x445020(0xea)](_0x7e7084[_0x445020(0x117)],_0x25c28a[_0x445020(0x10d)]),_0x445020(0xbe)));});},_0x6c4140[_0x4eeaf7(0x132)]=_0x20f8e3=>{const _0x5323d2=_0x4eeaf7;_0x7e7084[_0x5323d2(0x151)](log,_0x7e7084[_0x5323d2(0xea)](_0x7e7084[_0x5323d2(0xe2)]+_0x20f8e3[_0x5323d2(0xad)]+']\x20',_0x20f8e3[_0x5323d2(0xba)]));},_0x6c4140['onMsgInfoListUpdate']=_0x3caada=>{const _0x1e8334=_0x4eeaf7;stat[_0x1e8334(0x13b)]+=0x1,_0x3caada['map'](_0x3a31f8=>{const _0x267d28=_0x1e8334;_0x3a31f8[_0x267d28(0x150)]==='0'?dbUtil[_0x267d28(0xf6)](_0x3a31f8)[_0x267d28(0x149)]()['catch']():dbUtil[_0x267d28(0xd1)](_0x3a31f8['msgId'])[_0x267d28(0x149)](_0x1dd22e=>{const _0x55e3bf=_0x267d28;_0x1dd22e&&(_0x1dd22e[_0x55e3bf(0x150)]=_0x3a31f8[_0x55e3bf(0x150)],dbUtil[_0x55e3bf(0x107)](_0x1dd22e)[_0x55e3bf(0x149)]());});});},_0x6c4140[_0x4eeaf7(0x11c)]=_0x3669a4=>{const _0x4745d2=_0x4eeaf7;stat[_0x4745d2(0xb0)]+=0x1,stat[_0x4745d2(0x15b)]+=0x1,stat['last_message_time']=Math[_0x4745d2(0x137)](_0x7e7084['nDZhK'](Date['now'](),0x3e8));},_0x6c4140[_0x4eeaf7(0xcc)]=_0x3ce01c=>{const _0x1a5ca2=_0x4eeaf7;stat[_0x1a5ca2(0x13b)]+=0x1,stat['message_received']+=_0x3ce01c[_0x1a5ca2(0xa5)],stat['last_message_time']=Math[_0x1a5ca2(0x137)](_0x7e7084[_0x1a5ca2(0xac)](Date[_0x1a5ca2(0xe8)](),0x3e8));},_0x6c4140['onRecvSysMsg']=(..._0x259503)=>{const _0x32d54e=_0x4eeaf7;stat[_0x32d54e(0x13b)]+=0x1;},this[_0x4eeaf7(0xb7)](_0x6c4140);const _0x751225=new BuddyListener();_0x751225['onBuddyListChange']=_0x2df251=>{const _0xdd1298=_0x4eeaf7;rawFriends[_0xdd1298(0xa5)]=0x0,rawFriends[_0xdd1298(0xe3)](..._0x2df251);for(const _0x2e97fe of _0x2df251){for(const _0x3c7b81 of _0x2e97fe[_0xdd1298(0xb3)]){const _0x219303=friends[_0xdd1298(0x11d)](_0x3c7b81[_0xdd1298(0xc9)]);uid2UinMap[_0x3c7b81[_0xdd1298(0xc9)]]=_0x3c7b81['uin'],_0x219303?Object[_0xdd1298(0xf9)](_0x219303,_0x3c7b81):friends[_0xdd1298(0x121)](_0x3c7b81[_0xdd1298(0xc9)],_0x3c7b81);}}},this[_0x4eeaf7(0xb7)](_0x751225),this[_0x4eeaf7(0x147)][_0x4eeaf7(0x13d)]()[_0x4eeaf7(0x13a)](!![])[_0x4eeaf7(0x149)](_0x1885de=>{});const _0x4bf746=new ProfileListener();_0x4bf746[_0x4eeaf7(0xd0)]=_0x47b316=>{const _0x455ec8=_0x4eeaf7;_0x47b316[_0x455ec8(0xc9)]===selfInfo[_0x455ec8(0xc9)]&&Object[_0x455ec8(0xf9)](selfInfo,_0x47b316);},_0x4bf746[_0x4eeaf7(0xd9)]=_0x3a1b53=>{},this[_0x4eeaf7(0xb7)](_0x4bf746);const _0x53a9b3=new GroupListener();_0x53a9b3[_0x4eeaf7(0x10b)]=(_0x3668c6,_0x2bf2f8)=>{const _0x1b0f1c=_0x4eeaf7;_0x2bf2f8[_0x1b0f1c(0x131)](_0x24f693=>{const _0x510cac=_0x1b0f1c,_0x348ca1=groups[_0x510cac(0x11d)](_0x24f693[_0x510cac(0xa8)]);if(_0x348ca1)Object[_0x510cac(0xf9)](_0x348ca1,_0x24f693);else{groups['set'](_0x24f693[_0x510cac(0xa8)],_0x24f693);const _0x1fc7d8=this[_0x510cac(0x147)]['getGroupService']()[_0x510cac(0x122)](_0x24f693[_0x510cac(0xa8)],_0x7e7084[_0x510cac(0x10c)]);this[_0x510cac(0x147)][_0x510cac(0xd6)]()[_0x510cac(0xbf)](_0x1fc7d8,undefined,0xbb8)[_0x510cac(0x149)](_0x24a9bb=>{});}});},_0x53a9b3['onMemberListChange']=_0x9b0d8=>{const _0x50b4a7=_0x4eeaf7,_0xdfe37c=_0x9b0d8[_0x50b4a7(0x10a)]['split']('_')[0x0];if(groupMembers[_0x50b4a7(0x155)](_0xdfe37c)){const _0x4a8185=groupMembers[_0x50b4a7(0x11d)](_0xdfe37c);_0x9b0d8['infos'][_0x50b4a7(0x124)]((_0x1db8c3,_0x4b1956)=>{const _0x56074b=_0x50b4a7,_0x704db4=_0x4a8185[_0x56074b(0x11d)](_0x4b1956);_0x704db4?Object['assign'](_0x704db4,_0x1db8c3):_0x4a8185['set'](_0x4b1956,_0x1db8c3);});}else groupMembers[_0x50b4a7(0x121)](_0xdfe37c,_0x9b0d8[_0x50b4a7(0x106)]);},_0x53a9b3[_0x4eeaf7(0x134)]=(_0x595dd3,_0x2c33f2,_0x31b106)=>{const _0x3b1cac=_0x4eeaf7;_0x7e7084[_0x3b1cac(0xb5)](_0x2c33f2,0x0)&&_0x31b106[_0x3b1cac(0x11d)](selfInfo[_0x3b1cac(0xc9)])&&_0x31b106[_0x3b1cac(0x11d)](selfInfo[_0x3b1cac(0xc9)])?.['isDelete']&&_0x7e7084['KtcZi'](setTimeout,()=>{groups['delete'](_0x595dd3);},0x1388);_0x31b106[_0x3b1cac(0x124)]((_0xb2eb28,_0x1eb700)=>{const _0x44009e=_0x3b1cac;uid2UinMap[_0x1eb700]=_0xb2eb28[_0x44009e(0xfd)];});const _0x1c9a0a=groupMembers[_0x3b1cac(0x11d)](_0x595dd3);_0x1c9a0a?_0x31b106[_0x3b1cac(0x124)]((_0x5e4ef6,_0x2e7b43)=>{const _0x21a25b=_0x3b1cac,_0x7e3e8e=_0x1c9a0a[_0x21a25b(0x11d)](_0x2e7b43);_0x7e3e8e?Object['assign'](_0x7e3e8e,_0x5e4ef6):_0x1c9a0a[_0x21a25b(0x121)](_0x2e7b43,_0x5e4ef6);}):groupMembers[_0x3b1cac(0x121)](_0x595dd3,_0x31b106);},this['addListener'](_0x53a9b3);}[_0x240855(0xb7)](_0xaeb1a4){const _0x26a210=_0x240855,_0x1a308f={'cyhPr':_0x26a210(0x154),'IJwWi':_0x26a210(0x14e),'vlDLd':_0x26a210(0x109)};_0xaeb1a4=new Proxy(_0xaeb1a4,this[_0x26a210(0xef)]);switch(_0xaeb1a4[_0x26a210(0x128)][_0x26a210(0x108)]){case _0x1a308f['cyhPr']:{return this[_0x26a210(0x147)][_0x26a210(0x13d)]()[_0x26a210(0x112)](new _0xad918e[(_0x26a210(0x161))](_0xaeb1a4));}case _0x1a308f[_0x26a210(0xdc)]:{return this[_0x26a210(0x147)][_0x26a210(0xd6)]()[_0x26a210(0xfb)](new _0xad918e[(_0x26a210(0x12a))](_0xaeb1a4));}case _0x1a308f['vlDLd']:{return this[_0x26a210(0x147)][_0x26a210(0x10f)]()['addKernelMsgListener'](new _0xad918e[(_0x26a210(0x116))](_0xaeb1a4));}case'ProfileListener':{return this[_0x26a210(0x147)][_0x26a210(0xb8)]()[_0x26a210(0x136)](new _0xad918e['NodeIKernelProfileListener'](_0xaeb1a4));}default:return-0x1;}}[_0x240855(0x11f)](_0x31cc97){this['onLoginSuccessFuncList']['push'](_0x31cc97);}async[_0x240855(0x123)](_0x1ddbba){const _0x4711df=_0x240855,_0x42263b={'kFXEV':function(_0x1e60b1,_0x3fc95c){return _0x1e60b1!==_0x3fc95c;},'eZBhh':_0x4711df(0x14a),'bDmGr':function(_0x579683,_0x2f77bd){return _0x579683(_0x2f77bd);},'kKkDw':function(_0x4f6be2,_0x1d026a){return _0x4f6be2+_0x1d026a;},'knNeZ':_0x4711df(0x13e)},_0x27410a=await this['loginService'][_0x4711df(0x101)]();if(_0x42263b['kFXEV'](_0x27410a['result'],0x0))throw new Error(_0x42263b[_0x4711df(0xb4)]);const _0x40d3f5=_0x27410a[_0x4711df(0x14c)]['find'](_0x5dce4c=>_0x5dce4c[_0x4711df(0xfd)]===_0x1ddbba);if(!_0x40d3f5||!_0x40d3f5?.['isQuickLogin'])throw new Error(_0x1ddbba+'快速登录不可用');await _0x42263b[_0x4711df(0x125)](sleep,0x3e8);const _0x51f15b=await this['loginService'][_0x4711df(0x163)](_0x1ddbba);if(!_0x51f15b[_0x4711df(0xdb)])throw new Error(_0x42263b[_0x4711df(0x102)](_0x42263b[_0x4711df(0xde)],_0x51f15b[_0x4711df(0x127)][_0x4711df(0x157)]));return _0x51f15b;}async[_0x240855(0x160)](_0x11a6aa){const _0x351707=_0x240855,_0x4207ac={'YhZjT':_0x351707(0x120),'nMriu':_0x351707(0x12b),'xTbiG':function(_0x291169,_0x456681,_0x27638e,_0x421854){return _0x291169(_0x456681,_0x27638e,_0x421854);}};return new Promise((_0x522d1b,_0x28cec5)=>{const _0x20c77c=_0x351707,_0x22dda7={'xsPeJ':_0x4207ac[_0x20c77c(0x115)],'VIrfy':_0x4207ac[_0x20c77c(0x110)],'AyeWC':function(_0x86071,_0x5804d5,_0x2fdb4f,_0x14bd0d){const _0x2d3892=_0x20c77c;return _0x4207ac[_0x2d3892(0x153)](_0x86071,_0x5804d5,_0x2fdb4f,_0x14bd0d);}};this[_0x20c77c(0xf2)][_0x20c77c(0xe6)]=_0xb97cab=>{const _0x549055=_0x20c77c,_0x4e74d3=_0xb97cab[_0x549055(0x140)]['split'](_0x22dda7[_0x549055(0xb1)])[0x1],_0x156561=Buffer['from'](_0x4e74d3,_0x22dda7[_0x549055(0x105)]);_0x22dda7['AyeWC'](_0x11a6aa,_0xb97cab[_0x549055(0xbc)],_0xb97cab[_0x549055(0x140)],_0x156561);},this[_0x20c77c(0x13c)][_0x20c77c(0xa7)]();});}async[_0x240855(0xc6)](_0x3a3a6c,_0x57cfa5,_0xd28692,_0x2aa840,_0x1d8a75){const _0x5e9a74=_0x240855,_0x2831d3={'TQMvm':_0x5e9a74(0xcf),'vFQeL':function(_0x3133f7,_0x590778){return _0x3133f7&&_0x590778;},'AVziu':function(_0x3ce8cf,_0x45478f){return _0x3ce8cf||_0x45478f;},'XkIxr':function(_0x5b4f57,_0x55d28f){return _0x5b4f57||_0x55d28f;},'lampe':function(_0x28f9ee,_0x3afb23){return _0x28f9ee(_0x3afb23);},'uQVqd':_0x5e9a74(0xfa),'KaqlI':_0x5e9a74(0xf7)},_0x1d9a3c=_0x495ab2[_0x5e9a74(0xc1)](_0x5e9a74(0xe5))[_0x5e9a74(0xb6)](_0x57cfa5)[_0x5e9a74(0x15c)](_0x2831d3[_0x5e9a74(0xe7)]),_0x152471={'uin':_0x3a3a6c,'passwordMd5':_0x1d9a3c,'step':_0x2831d3[_0x5e9a74(0xf0)](_0xd28692,_0x2aa840)&&_0x1d8a75?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x2831d3['AVziu'](_0xd28692,''),'proofWaterRand':_0x2aa840||'','proofWaterSid':_0x2831d3[_0x5e9a74(0x15e)](_0x1d8a75,'')};await this['loginService'][_0x5e9a74(0x101)](),await _0x2831d3[_0x5e9a74(0xe1)](sleep,0x3e8);const _0x173259=await this[_0x5e9a74(0x13c)][_0x5e9a74(0xc6)](_0x152471);switch(_0x173259['result']){case'0':{break;}case _0x2831d3[_0x5e9a74(0x118)]:{break;}case'4':case _0x2831d3['KaqlI']:default:}}async[_0x240855(0x162)](){const _0x3b1bc7=_0x240855,_0x34b87e=await this[_0x3b1bc7(0x13c)][_0x3b1bc7(0x101)]();return _0x34b87e;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +function _0x1d12(){const _0x40ff4d=['onLoginSuccess','errMsg','AnwVu','FeSRL','onGroupListUpdate','登录失败','onLoginFailed','consoleLogLevel','get','1164430szAGfO','jRFJC','NFQVN','ESuWy','./nt_qq/global','JMGal','curVersion','数据库初始化失败','getLoginList','qrcodeUrl','LocalLoginInfoList','session','length','getBuddyList','catch','sVbNi','ybGDn','NodeQQNTWrapperUtil','6FjIOtW','YjjiW','uid','read','floor','CHegj','-v2.db','140022013','onUserLoggedIn','ZwjZI','base64','HvOyg','bkjxk','addKernelGroupListener','NodeIDispatcherAdapter','fUbVZ','has','result','OeeVm','yCoIZ','9QPwTwW','NodeIKernelLoginListener','createMemberListScene','devUid','onSessionInitComplete','GMjhj','140022008','constructor','NpxeP','GBQTI','updateMsg','upnJJ','pngBase64QrcodeData','kkJQc','启动失败:\x20','loginListener','没有可快速登录的QQ号','XmSvL','ynjil','NodeIQQNTWrapperSession','lZnEG','_GW_B','packet_received','XzYLT','map','onQRCodeLoginSucceed','fileLogLevel','gYaRg','ProfileListener','isDelete','getGroupService','recallTime','NodeIKernelMsgListener','\x20has\x20no\x20method\x20','kJjnP','addListener','then','init','packet_sent','tMVxV','data:image/png;base64,','WfDwn','当前账号(','[KickedOffLine]\x20[','YGPGb','1832368intdUa','getBuddyService',')\x20在线状态变更','consoleLog','NOYHU','EzMac','replace','init\x20failed\x20','VEbLN','groupMemberList_MainWindow','dataPathGlobal','initSession','135331sTccWZ','initDataListener','onRecvMsg','GoBer','buddyList','proxyHandler','onMsgInfoListUpdate','getMsgByLongId','MsgListener','engine','message_received','onQRCodeSessionFailed','onProfileDetailInfoChanged','createHash','TXAmA','passwordLogin','util','快速登录失败\x20','LtKkq','uin','initWithDeskTopConfig','md5','54146fRbGPm','getQRCodePicture','initConfig','quickLogin','JcmfS','onBuddyListChange','onLoginSuccessFuncList','cVjBy','MvBlc','42JJgiCa','name','iQDhi','forEach','eRzcM','dEyKt','assign','Windows\x2010\x20Pro','split','vngeD','sceneId','infos','mCzYV',')已登录,无法重复登录','1064804RssmxW','onMemberInfoChange','hZnRR','addKernelMsgListener','onLineDev','addKernelBuddyListener','loginService','账号设备(','93465yaniMY','initSession\x20failed','onMemberListChange','Hvihd','./NapCat/data','GroupListener','last_message_time','本账号数据/缓存目录:','startNT','addKernelProfileListener','tipsDesc','dataPath','resolve','onKickedOffLine','getQuickLoginList','nRRSb','onQRCodeGetPicture','delete','fMsEs','Srmyi','getNextMemberList','gGsEX','353095blpNXt','message_sent','bQriD','NodeIQQNTWrapperEngine','NodeIGlobalAdapter','vcIcA','mkdirSync','YyUnS','getProfileService','getNTUserDataInfoConfig','V1_WIN_NQ_','CagEo','set','tipsTitle','hex','now','groupCode','NodeIDependsAdapter','find','HSqDo'];_0x1d12=function(){return _0x40ff4d;};return _0x1d12();}const _0x2911ea=_0x3fa5;(function(_0x37a430,_0x32d237){const _0x4463f0=_0x3fa5,_0x46457d=_0x37a430();while(!![]){try{const _0x5b0536=-parseInt(_0x4463f0(0x11a))/0x1+parseInt(_0x4463f0(0xfb))/0x2*(parseInt(_0x4463f0(0x98))/0x3)+parseInt(_0x4463f0(0x112))/0x4+-parseInt(_0x4463f0(0x130))/0x5+-parseInt(_0x4463f0(0x104))/0x6*(parseInt(_0x4463f0(0xe5))/0x7)+parseInt(_0x4463f0(0xd9))/0x8+-parseInt(_0x4463f0(0xac))/0x9*(parseInt(_0x4463f0(0x86))/0xa);if(_0x5b0536===_0x32d237)break;else _0x46457d['push'](_0x46457d['shift']());}catch(_0x417ea8){_0x46457d['push'](_0x46457d['shift']());}}}(_0x1d12,0x2099f));import _0x583b7a from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x237c05 from'node:path';function _0x3fa5(_0x1aeb19,_0x1d3e15){const _0x1d121f=_0x1d12();return _0x3fa5=function(_0x3fa5cc,_0x39c0b8){_0x3fa5cc=_0x3fa5cc-0x75;let _0x3f611e=_0x1d121f[_0x3fa5cc];return _0x3f611e;},_0x3fa5(_0x1aeb19,_0x1d3e15);}import _0x3dff12 from'node:os';import _0x35445a from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x119ded from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x2911ea(0x91)];[_0x2911ea(0xf5)];[_0x2911ea(0xee)];['loginListener'];[_0x2911ea(0x118)];[_0x2911ea(0x101)]=[];[_0x2911ea(0xea)]={'get'(target,prop,receiver){const _0x3d2c8f=_0x2911ea,LsOZdu={'GPVlK':function(callee,param1){return callee(param1);},'YjjiW':function(x,y){return x===y;},'WfDwn':'undefined'};if(LsOZdu[_0x3d2c8f(0x99)](typeof target[prop],LsOZdu[_0x3d2c8f(0xd5)]))return(...args)=>{const _0x4f4057=_0x3d2c8f;LsOZdu['GPVlK'](logDebug,target[_0x4f4057(0xb3)][_0x4f4057(0x105)]+_0x4f4057(0xcd)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x1a7a20=_0x2911ea,_0x2316fb={'YyUnS':function(_0x352c38,_0x3cf685){return _0x352c38(_0x3cf685);},'cVjBy':function(_0x31ce86,_0x1706a9){return _0x31ce86+_0x1706a9;},'yCoIZ':_0x1a7a20(0xd6),'GoBer':_0x1a7a20(0x111),'mqxSq':_0x1a7a20(0x8d),'jRFJC':function(_0x14ea9d,_0x260ed1,_0x2b9879){return _0x14ea9d(_0x260ed1,_0x2b9879);},'OeeVm':function(_0x465fe1,_0x3ced88,_0x1d57e5){return _0x465fe1(_0x3ced88,_0x1d57e5);},'PBRSi':function(_0x53b9a4,_0x5d07f9){return _0x53b9a4==_0x5d07f9;},'JcmfS':function(_0x23f353,_0x4a9604){return _0x23f353==_0x4a9604;},'NpxeP':function(_0x173539,_0x342a78,_0x311b2d){return _0x173539(_0x342a78,_0x311b2d);},'XmSvL':_0x1a7a20(0x82)};this['engine']=new _0x583b7a[(_0x1a7a20(0x133))](),this['util']=new _0x583b7a[(_0x1a7a20(0x97))](),this[_0x1a7a20(0x118)]=new _0x583b7a['NodeIKernelLoginService'](),this[_0x1a7a20(0x91)]=new _0x583b7a[(_0x1a7a20(0xbf))](),this['loginListener']=new LoginListener(),this[_0x1a7a20(0xbb)][_0x1a7a20(0xa0)]=_0x119efd=>{const _0x520e2c=_0x1a7a20;_0x2316fb['YyUnS'](logError,_0x2316fb[_0x520e2c(0x102)](_0x2316fb[_0x520e2c(0xab)],_0x119efd)+_0x2316fb[_0x520e2c(0xe8)]);},this[_0x1a7a20(0xbb)][_0x1a7a20(0xc5)]=_0x5a4dcc=>{const _0x4c6882=_0x1a7a20,_0x333e0a={'CHegj':function(_0x3ffaeb,_0x467908,_0x3bad6b){return _0x3ffaeb(_0x467908,_0x3bad6b);},'Srmyi':_0x2316fb['mqxSq'],'zbuEp':function(_0x350aa5,_0x21369a,_0x5034b8){return _0x2316fb['jRFJC'](_0x350aa5,_0x21369a,_0x5034b8);},'HvOyg':function(_0x3d07e2,_0xc6481c){return _0x3d07e2(_0xc6481c);},'upnJJ':function(_0x14a531,_0x3f9453){const _0x13c60c=_0x3fa5;return _0x2316fb[_0x13c60c(0x137)](_0x14a531,_0x3f9453);},'ybGDn':function(_0x463522,_0x3aa70c,_0x559bc3){const _0xd1045c=_0x3fa5;return _0x2316fb[_0xd1045c(0x87)](_0x463522,_0x3aa70c,_0x559bc3);},'nRRSb':_0x4c6882(0x121)};this[_0x4c6882(0xe4)](_0x5a4dcc['uin'],_0x5a4dcc['uid'])[_0x4c6882(0xd0)](_0x87289e=>{const _0x3cc5b4=_0x4c6882,_0x484e71={'NFQVN':function(_0x57fa9d,_0x2fc923,_0x11e2ab){return _0x57fa9d(_0x2fc923,_0x11e2ab);},'gYaRg':_0x333e0a[_0x3cc5b4(0x12d)]};selfInfo['uin']=_0x5a4dcc[_0x3cc5b4(0xf8)],selfInfo[_0x3cc5b4(0x9a)]=_0x5a4dcc[_0x3cc5b4(0x9a)],napCatConfig[_0x3cc5b4(0x9b)](),_0x333e0a['zbuEp'](setLogLevel,napCatConfig[_0x3cc5b4(0xc6)],napCatConfig[_0x3cc5b4(0x84)]),_0x333e0a[_0x3cc5b4(0xa3)](enableFileLog,napCatConfig['fileLog']),_0x333e0a[_0x3cc5b4(0xa3)](enableConsoleLog,napCatConfig[_0x3cc5b4(0xdc)]),_0x333e0a[_0x3cc5b4(0xb7)](setLogSelfInfo,selfInfo);const _0x47a101=_0x237c05['resolve'](this[_0x3cc5b4(0x125)],_0x3cc5b4(0x11e));_0x35445a[_0x3cc5b4(0x136)](_0x47a101,{'recursive':!![]}),_0x333e0a[_0x3cc5b4(0x96)](logDebug,_0x333e0a[_0x3cc5b4(0x129)],_0x47a101),dbUtil[_0x3cc5b4(0xd1)](_0x237c05[_0x3cc5b4(0x126)](_0x47a101,'./'+_0x5a4dcc['uin']+_0x3cc5b4(0x9e)))[_0x3cc5b4(0xd0)](()=>{const _0x559cae=_0x3cc5b4,_0xc92918={'tMVxV':function(_0x4a2f92,_0x2d88be,_0x43b0b1){const _0x26115a=_0x3fa5;return _0x333e0a[_0x26115a(0x9d)](_0x4a2f92,_0x2d88be,_0x43b0b1);},'AnwVu':function(_0x39946e,_0x4586cf){return _0x39946e instanceof _0x4586cf;}};this[_0x559cae(0xe6)](),this[_0x559cae(0x101)][_0x559cae(0xc4)](_0x48d28f=>{const _0x5cc720=_0x559cae;new Promise((_0x2d8760,_0x3bfd1e)=>{const _0xf4ddd4=_0x3fa5,_0x45fb68=_0xc92918[_0xf4ddd4(0xd3)](_0x48d28f,_0x5a4dcc['uin'],_0x5a4dcc[_0xf4ddd4(0x9a)]);_0xc92918[_0xf4ddd4(0x7f)](_0x45fb68,Promise)&&_0x45fb68['then'](_0x2d8760)['catch'](_0x3bfd1e);})[_0x5cc720(0xd0)]();});})[_0x3cc5b4(0x94)](_0x3b62e3=>{const _0x518e6f=_0x3cc5b4;_0x484e71[_0x518e6f(0x88)](logError,_0x484e71[_0x518e6f(0xc7)],_0x3b62e3);});})['catch'](_0x478f00=>{const _0x15f529=_0x4c6882;logError(_0x15f529(0x11b),_0x478f00);throw new Error(_0x15f529(0xba)+JSON['stringify'](_0x478f00));});},this[_0x1a7a20(0xbb)][_0x1a7a20(0xf0)]=(_0x5a6078,_0x4909cb,_0xd52686)=>{const _0x389ecb=_0x1a7a20;_0x2316fb[_0x389ecb(0xaa)](logError,_0x389ecb(0x82),_0xd52686),_0x2316fb['PBRSi'](_0x5a6078,0x1)&&_0x2316fb[_0x389ecb(0xff)](_0x4909cb,0x3)&&this[_0x389ecb(0x118)]['getQRCodePicture']();},this[_0x1a7a20(0xbb)][_0x1a7a20(0x83)]=_0xbd540=>{const _0x48655b=_0x1a7a20;_0x2316fb[_0x48655b(0xb4)](logError,_0x2316fb[_0x48655b(0xbd)],_0xbd540);},this['loginListener']=new Proxy(this[_0x1a7a20(0xbb)],this[_0x1a7a20(0xea)]),this[_0x1a7a20(0x118)]['addKernelLoginListener'](new _0x583b7a[(_0x1a7a20(0xad))](this['loginListener'])),this[_0x1a7a20(0xfd)]();}get['dataPath'](){const _0x30c8fd=_0x2911ea;let _0x31100c=this[_0x30c8fd(0xf5)][_0x30c8fd(0x139)]();return!_0x31100c&&(_0x31100c=_0x237c05[_0x30c8fd(0x126)](_0x3dff12['homedir'](),'./.config/QQ'),_0x35445a[_0x30c8fd(0x136)](_0x31100c,{'recursive':!![]})),_0x31100c;}get[_0x2911ea(0xe3)](){const _0x215a13=_0x2911ea,_0x4a5a38={'ynjil':_0x215a13(0x8a)};return _0x237c05[_0x215a13(0x126)](this['dataPath'],_0x4a5a38[_0x215a13(0xbe)]);}[_0x2911ea(0xfd)](){const _0x26c002=_0x2911ea,_0x5e3b1d={'GBQTI':_0x26c002(0x10b)};this[_0x26c002(0xee)][_0x26c002(0xf9)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x26c002(0x8c)],'os_version':_0x5e3b1d[_0x26c002(0xb5)],'use_xlog':!![],'qua':_0x26c002(0x13a)+qqVersionConfigInfo[_0x26c002(0x8c)][_0x26c002(0xdf)]('-','_')+_0x26c002(0xc1),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x583b7a[(_0x26c002(0x134))](new GlobalAdapter())),this[_0x26c002(0x118)][_0x26c002(0xfd)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x26c002(0xe3)],'clientVer':qqVersionConfigInfo[_0x26c002(0x8c)],'hostName':hostname});}[_0x2911ea(0xe4)](_0x3e161d,_0x400539){const _0x33bf22=_0x2911ea,_0xd78f0={'Hvihd':function(_0x2373d9,_0x7f39ae){return _0x2373d9===_0x7f39ae;},'lZnEG':function(_0x472488,_0x180d73){return _0x472488(_0x180d73);},'HSqDo':function(_0x503fea,_0x1f8984,_0x3cf7d4,_0x19f246){return _0x503fea(_0x1f8984,_0x3cf7d4,_0x19f246);},'XzYLT':function(_0x46106f,_0x5b6624){return _0x46106f+_0x5b6624;},'FeSRL':_0x33bf22(0xe0)};return new Promise((_0x5eff25,_0x145e3f)=>{const _0x2c0d69=_0x33bf22,_0x4914c8=_0xd78f0[_0x2c0d69(0x7c)](genSessionConfig,_0x3e161d,_0x400539,this['dataPath']),_0x26adc5=new SessionListener();_0x26adc5[_0x2c0d69(0xb0)]=_0x429e63=>{const _0x279754=_0x2c0d69;if(_0xd78f0[_0x279754(0x11d)](_0x429e63,0x0))return _0xd78f0[_0x279754(0xc0)](_0x5eff25,0x0);_0x145e3f(_0x429e63);},this[_0x2c0d69(0x91)][_0x2c0d69(0xd1)](_0x4914c8,new _0x583b7a[(_0x2c0d69(0x7a))](new DependsAdapter()),new _0x583b7a[(_0x2c0d69(0xa6))](new DispatcherAdapter()),new _0x583b7a['NodeIKernelSessionListener'](_0x26adc5));try{this['session'][_0x2c0d69(0x122)](0x0);}catch(_0x31d97d){try{this['session']['startNT']();}catch(_0x266a11){_0xd78f0['lZnEG'](_0x145e3f,_0xd78f0[_0x2c0d69(0xc3)](_0xd78f0[_0x2c0d69(0x80)],_0x266a11));}}});}['initDataListener'](){const _0x540519=_0x2911ea,_0x4ec9aa={'TGYss':function(_0x277e3f,_0x417b79){return _0x277e3f(_0x417b79);},'fUbVZ':function(_0x158f16,_0x3a4e90){return _0x158f16+_0x3a4e90;},'ESuWy':_0x540519(0x119),'uwhqT':_0x540519(0xdb),'GapAd':function(_0x1c082e,_0x3d60f5){return _0x1c082e(_0x3d60f5);},'eRzcM':function(_0x122f77,_0x3baba6){return _0x122f77+_0x3baba6;},'kJjnP':_0x540519(0xd7),'GMjhj':function(_0x131d9c,_0xe9e96e){return _0x131d9c===_0xe9e96e;},'MllsC':function(_0x285975,_0x580344){return _0x285975/_0x580344;},'dEyKt':function(_0x18cb61,_0x4b5895){return _0x18cb61/_0x4b5895;},'bQriD':function(_0x2d2998,_0x25bdf9){return _0x2d2998===_0x25bdf9;},'gJMTQ':_0x540519(0xe2),'sVbNi':function(_0x1e1763,_0x3263ef,_0x3021e4){return _0x1e1763(_0x3263ef,_0x3021e4);}},_0x3cb479=new MsgListener();_0x3cb479[_0x540519(0x116)]=_0x293084=>{_0x293084['map'](_0x652950=>{const _0x4bb28e=_0x3fa5;_0x652950['clientType']===0x2&&_0x4ec9aa['TGYss'](log,_0x4ec9aa[_0x4bb28e(0xa7)](_0x4ec9aa[_0x4bb28e(0x89)]+_0x652950[_0x4bb28e(0xaf)],_0x4ec9aa['uwhqT']));});},_0x3cb479[_0x540519(0x127)]=_0xbe75c=>{const _0xfd642e=_0x540519;_0x4ec9aa['GapAd'](log,_0x4ec9aa[_0xfd642e(0x108)](_0x4ec9aa[_0xfd642e(0xce)]+_0xbe75c[_0xfd642e(0x76)]+']\x20',_0xbe75c[_0xfd642e(0x124)]));},_0x3cb479[_0x540519(0xeb)]=_0x3de20a=>{const _0x46bafa=_0x540519,_0xf44ded={'kkJQc':function(_0x413a2c,_0x1ec906){const _0x420725=_0x3fa5;return _0x4ec9aa[_0x420725(0xb1)](_0x413a2c,_0x1ec906);}};stat[_0x46bafa(0xc2)]+=0x1,_0x3de20a[_0x46bafa(0xc4)](_0x1921f6=>{const _0x3b785b=_0x46bafa;_0xf44ded[_0x3b785b(0xb9)](_0x1921f6[_0x3b785b(0xcb)],'0')?dbUtil['addMsg'](_0x1921f6)['then']()[_0x3b785b(0x94)]():dbUtil[_0x3b785b(0xec)](_0x1921f6['msgId'])[_0x3b785b(0xd0)](_0xa136f=>{const _0x224236=_0x3b785b;_0xa136f&&(_0xa136f[_0x224236(0xcb)]=_0x1921f6['recallTime'],dbUtil[_0x224236(0xb6)](_0xa136f)[_0x224236(0xd0)]());});});},_0x3cb479['onAddSendMsg']=_0x40cef8=>{const _0x3efa72=_0x540519;stat[_0x3efa72(0xd2)]+=0x1,stat[_0x3efa72(0x131)]+=0x1,stat[_0x3efa72(0x120)]=Math['floor'](_0x4ec9aa['MllsC'](Date['now'](),0x3e8));},_0x3cb479[_0x540519(0xe7)]=_0x27af53=>{const _0x5cd5ed=_0x540519;stat[_0x5cd5ed(0xc2)]+=0x1,stat[_0x5cd5ed(0xef)]+=_0x27af53[_0x5cd5ed(0x92)],stat[_0x5cd5ed(0x120)]=Math[_0x5cd5ed(0x9c)](_0x4ec9aa[_0x5cd5ed(0x109)](Date[_0x5cd5ed(0x78)](),0x3e8));},_0x3cb479['onRecvSysMsg']=(..._0x45fd97)=>{const _0x74f245=_0x540519;stat[_0x74f245(0xc2)]+=0x1;},this[_0x540519(0xcf)](_0x3cb479);const _0x515ffd=new BuddyListener();_0x515ffd[_0x540519(0x100)]=_0x5819b1=>{const _0x5616f0=_0x540519;rawFriends[_0x5616f0(0x92)]=0x0,rawFriends['push'](..._0x5819b1);for(const _0x8d4a50 of _0x5819b1){for(const _0x3f4a4d of _0x8d4a50[_0x5616f0(0xe9)]){const _0x5ad559=friends[_0x5616f0(0x85)](_0x3f4a4d[_0x5616f0(0x9a)]);uid2UinMap[_0x3f4a4d[_0x5616f0(0x9a)]]=_0x3f4a4d[_0x5616f0(0xf8)],_0x5ad559?Object[_0x5616f0(0x10a)](_0x5ad559,_0x3f4a4d):friends[_0x5616f0(0x75)](_0x3f4a4d[_0x5616f0(0x9a)],_0x3f4a4d);}}},this[_0x540519(0xcf)](_0x515ffd),this['session'][_0x540519(0xda)]()[_0x540519(0x93)](!![])[_0x540519(0xd0)](_0x237b2b=>{});const _0x2d9a74=new ProfileListener();_0x2d9a74[_0x540519(0xf1)]=_0x1b886d=>{const _0x5ea93c=_0x540519;_0x4ec9aa[_0x5ea93c(0x132)](_0x1b886d[_0x5ea93c(0x9a)],selfInfo[_0x5ea93c(0x9a)])&&Object[_0x5ea93c(0x10a)](selfInfo,_0x1b886d);},_0x2d9a74['onSelfStatusChanged']=_0x528e33=>{},this['addListener'](_0x2d9a74);const _0x47a961=new GroupListener();_0x47a961[_0x540519(0x81)]=(_0x46acce,_0x980136)=>{const _0x406dd3=_0x540519;_0x980136[_0x406dd3(0xc4)](_0x414ac5=>{const _0x3bdc31=_0x406dd3,_0x273fde=groups[_0x3bdc31(0x85)](_0x414ac5['groupCode']);if(_0x273fde)Object[_0x3bdc31(0x10a)](_0x273fde,_0x414ac5);else{groups['set'](_0x414ac5[_0x3bdc31(0x79)],_0x414ac5);const _0x145e2b=this[_0x3bdc31(0x91)][_0x3bdc31(0xca)]()[_0x3bdc31(0xae)](_0x414ac5[_0x3bdc31(0x79)],_0x4ec9aa['gJMTQ']);this[_0x3bdc31(0x91)][_0x3bdc31(0xca)]()[_0x3bdc31(0x12e)](_0x145e2b,undefined,0xbb8)['then'](_0xcd1019=>{});}});},_0x47a961[_0x540519(0x11c)]=_0x5afb45=>{const _0x44bdb7=_0x540519,_0x58dc41=_0x5afb45[_0x44bdb7(0x10e)]['split']('_')[0x0];if(groupMembers[_0x44bdb7(0xa8)](_0x58dc41)){const _0x21c936=groupMembers[_0x44bdb7(0x85)](_0x58dc41);_0x5afb45[_0x44bdb7(0x10f)][_0x44bdb7(0x107)]((_0x2f882d,_0x28f4fd)=>{const _0x433898=_0x44bdb7,_0x250e11=_0x21c936[_0x433898(0x85)](_0x28f4fd);_0x250e11?Object[_0x433898(0x10a)](_0x250e11,_0x2f882d):_0x21c936[_0x433898(0x75)](_0x28f4fd,_0x2f882d);});}else groupMembers[_0x44bdb7(0x75)](_0x58dc41,_0x5afb45[_0x44bdb7(0x10f)]);},_0x47a961[_0x540519(0x113)]=(_0x5d06e3,_0x4e259a,_0x2fd7fb)=>{const _0x128c75=_0x540519;_0x4ec9aa[_0x128c75(0xb1)](_0x4e259a,0x0)&&_0x2fd7fb[_0x128c75(0x85)](selfInfo['uid'])&&_0x2fd7fb[_0x128c75(0x85)](selfInfo[_0x128c75(0x9a)])?.[_0x128c75(0xc9)]&&_0x4ec9aa[_0x128c75(0x95)](setTimeout,()=>{const _0x20ed04=_0x128c75;groups[_0x20ed04(0x12b)](_0x5d06e3);},0x1388);_0x2fd7fb[_0x128c75(0x107)]((_0x417daa,_0x2afbec)=>{const _0x133a45=_0x128c75;uid2UinMap[_0x2afbec]=_0x417daa[_0x133a45(0xf8)];});const _0xff2e39=groupMembers['get'](_0x5d06e3);_0xff2e39?_0x2fd7fb[_0x128c75(0x107)]((_0x5a2c71,_0x54084b)=>{const _0x18d9ab=_0x128c75,_0x2d5406=_0xff2e39[_0x18d9ab(0x85)](_0x54084b);_0x2d5406?Object[_0x18d9ab(0x10a)](_0x2d5406,_0x5a2c71):_0xff2e39[_0x18d9ab(0x75)](_0x54084b,_0x5a2c71);}):groupMembers[_0x128c75(0x75)](_0x5d06e3,_0x2fd7fb);},this[_0x540519(0xcf)](_0x47a961);}['addListener'](_0x51ff59){const _0x222254=_0x2911ea,_0x3a7469={'TXAmA':'BuddyListener','vngeD':_0x222254(0x11f),'JMGal':_0x222254(0xed),'mCzYV':_0x222254(0xc8)};_0x51ff59=new Proxy(_0x51ff59,this[_0x222254(0xea)]);switch(_0x51ff59[_0x222254(0xb3)][_0x222254(0x105)]){case _0x3a7469[_0x222254(0xf3)]:{return this['session']['getBuddyService']()[_0x222254(0x117)](new _0x583b7a['NodeIKernelBuddyListener'](_0x51ff59));}case _0x3a7469[_0x222254(0x10d)]:{return this[_0x222254(0x91)]['getGroupService']()[_0x222254(0xa5)](new _0x583b7a['NodeIKernelGroupListener'](_0x51ff59));}case _0x3a7469[_0x222254(0x8b)]:{return this[_0x222254(0x91)]['getMsgService']()[_0x222254(0x115)](new _0x583b7a[(_0x222254(0xcc))](_0x51ff59));}case _0x3a7469[_0x222254(0x110)]:{return this[_0x222254(0x91)][_0x222254(0x138)]()[_0x222254(0x123)](new _0x583b7a['NodeIKernelProfileListener'](_0x51ff59));}default:return-0x1;}}[_0x2911ea(0x7d)](_0x361007){const _0x264df3=_0x2911ea;this[_0x264df3(0x101)]['push'](_0x361007);}async[_0x2911ea(0xfe)](_0x464698){const _0x5b4160=_0x2911ea,_0x281c5b={'MvBlc':function(_0x1deb47,_0x999498){return _0x1deb47!==_0x999498;},'CagEo':_0x5b4160(0xbc),'LtKkq':function(_0x242ff1,_0x176487){return _0x242ff1(_0x176487);},'iQDhi':function(_0x36e001,_0x4fd61a){return _0x36e001+_0x4fd61a;},'fMsEs':_0x5b4160(0xf6)},_0x36f25a=await this['loginService']['getLoginList']();if(_0x281c5b[_0x5b4160(0x103)](_0x36f25a[_0x5b4160(0xa9)],0x0))throw new Error(_0x281c5b[_0x5b4160(0x13b)]);const _0x4e25d1=_0x36f25a[_0x5b4160(0x90)][_0x5b4160(0x7b)](_0x2d2047=>_0x2d2047['uin']===_0x464698);if(!_0x4e25d1||!_0x4e25d1?.['isQuickLogin'])throw new Error(_0x464698+'快速登录不可用');await _0x281c5b[_0x5b4160(0xf7)](sleep,0x3e8);const _0xf14373=await this['loginService']['quickLoginWithUin'](_0x464698);if(!_0xf14373[_0x5b4160(0xa9)])throw new Error(_0x281c5b[_0x5b4160(0x106)](_0x281c5b[_0x5b4160(0x12c)],_0xf14373['loginErrorInfo'][_0x5b4160(0x7e)]));return _0xf14373;}async['qrLogin'](_0x260cd6){const _0x2b8e20=_0x2911ea,_0x3c87ff={'ZPGNn':_0x2b8e20(0xd4),'VEbLN':_0x2b8e20(0xa2)};return new Promise((_0x55a7d8,_0x49f197)=>{const _0x1d24c2=_0x2b8e20,_0xe7ca8f={'vcIcA':_0x3c87ff['ZPGNn'],'NOYHU':_0x3c87ff[_0x1d24c2(0xe1)]};this[_0x1d24c2(0xbb)][_0x1d24c2(0x12a)]=_0xd8e1eb=>{const _0x1869df=_0x1d24c2,_0x4c92f0=_0xd8e1eb[_0x1869df(0xb8)][_0x1869df(0x10c)](_0xe7ca8f[_0x1869df(0x135)])[0x1],_0x13a542=Buffer['from'](_0x4c92f0,_0xe7ca8f[_0x1869df(0xdd)]);_0x260cd6(_0xd8e1eb[_0x1869df(0x8f)],_0xd8e1eb[_0x1869df(0xb8)],_0x13a542);},this['loginService'][_0x1d24c2(0xfc)]();});}async['passwordLogin'](_0x1e714f,_0x1459eb,_0x923629,_0x4bb2c4,_0x254d7c){const _0x4e7c85=_0x2911ea,_0x1d0203={'hZnRR':_0x4e7c85(0xfa),'YGPGb':_0x4e7c85(0x77),'NqEtp':function(_0x50a559,_0x110030){return _0x50a559&&_0x110030;},'EzMac':function(_0xe91729,_0x24fdbe){return _0xe91729||_0x24fdbe;},'gGsEX':function(_0x49a14c,_0x3d04fc){return _0x49a14c||_0x3d04fc;},'ZwjZI':function(_0x5d8da8,_0x2883b8){return _0x5d8da8(_0x2883b8);},'bkjxk':_0x4e7c85(0x9f)},_0x1a91aa=_0x119ded[_0x4e7c85(0xf2)](_0x1d0203[_0x4e7c85(0x114)])['update'](_0x1459eb)['digest'](_0x1d0203[_0x4e7c85(0xd8)]),_0xdd435d={'uin':_0x1e714f,'passwordMd5':_0x1a91aa,'step':_0x1d0203['NqEtp'](_0x923629,_0x4bb2c4)&&_0x254d7c?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x1d0203[_0x4e7c85(0xde)](_0x923629,''),'proofWaterRand':_0x4bb2c4||'','proofWaterSid':_0x1d0203[_0x4e7c85(0x12f)](_0x254d7c,'')};await this['loginService'][_0x4e7c85(0x8e)](),await _0x1d0203[_0x4e7c85(0xa1)](sleep,0x3e8);const _0x331a45=await this['loginService'][_0x4e7c85(0xf4)](_0xdd435d);switch(_0x331a45[_0x4e7c85(0xa9)]){case'0':{break;}case _0x4e7c85(0xb2):{break;}case'4':case _0x1d0203[_0x4e7c85(0xa4)]:default:}}async[_0x2911ea(0x128)](){const _0x147c8b=_0x2911ea,_0x148d3a=await this['loginService'][_0x147c8b(0x8e)]();return _0x148d3a;}}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 b525aff7..379b057a 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x3ebc58,_0x278ca2){const _0x3a0376=_0x1e30,_0x83a85e=_0x3ebc58();while(!![]){try{const _0x51f1e1=parseInt(_0x3a0376(0x1ef))/0x1*(-parseInt(_0x3a0376(0x1f9))/0x2)+parseInt(_0x3a0376(0x1fe))/0x3+-parseInt(_0x3a0376(0x1fc))/0x4*(-parseInt(_0x3a0376(0x202))/0x5)+parseInt(_0x3a0376(0x200))/0x6+parseInt(_0x3a0376(0x1fd))/0x7*(parseInt(_0x3a0376(0x1fa))/0x8)+parseInt(_0x3a0376(0x1f0))/0x9+-parseInt(_0x3a0376(0x1f1))/0xa;if(_0x51f1e1===_0x278ca2)break;else _0x83a85e['push'](_0x83a85e['shift']());}catch(_0x3fa2ad){_0x83a85e['push'](_0x83a85e['shift']());}}}(_0x6135,0x5b287));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x6135(){const _0x218b47=['pLLqI','3612348Oiugmy','hCecN','230445pEsdgN','FcJLn','uin','forEach','set','length','1gjXCGZ','4420674SlOtlx','16691040XGhKNZ','find','toString','delete','from','getGroups','values','getGroupMembers','560130rgiveV','5665448XbQjyg','get','44qFlfFy','7YgvFyk','42444dRbilI'];_0x6135=function(){return _0x218b47;};return _0x6135();}export const groups=new Map();export function deleteGroup(_0x33ed07){const _0x482ae5=_0x1e30;groups['delete'](_0x33ed07),groupMembers[_0x482ae5(0x1f4)](_0x33ed07);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};function _0x1e30(_0x45c4ed,_0x2bf4ae){const _0x6135fc=_0x6135();return _0x1e30=function(_0x1e30df,_0x20883c){_0x1e30df=_0x1e30df-0x1ee;let _0x5a103e=_0x6135fc[_0x1e30df];return _0x5a103e;},_0x1e30(_0x45c4ed,_0x2bf4ae);}export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0xbd6485){const _0x3c07e8=_0x1e30,_0x34bab0={'pLLqI':function(_0x1d9813,_0xaaadf){return _0x1d9813(_0xaaadf);}};_0xbd6485=_0xbd6485[_0x3c07e8(0x1f3)]();if(_0x34bab0[_0x3c07e8(0x1ff)](isNumeric,_0xbd6485)){const _0x439346=Array[_0x3c07e8(0x1f5)](friends[_0x3c07e8(0x1f7)]());return _0x439346[_0x3c07e8(0x1f2)](_0x4b18cb=>_0x4b18cb[_0x3c07e8(0x204)]===_0xbd6485);}else return friends[_0x3c07e8(0x1fb)](_0xbd6485);}export async function getGroup(_0x293a95){const _0x33890d=_0x1e30;let _0xa7774a=groups['get'](_0x293a95[_0x33890d(0x1f3)]());if(!_0xa7774a)try{const _0x4be3f3=await NTQQGroupApi[_0x33890d(0x1f6)]();_0x4be3f3[_0x33890d(0x1ee)]&&_0x4be3f3[_0x33890d(0x205)](_0x92d757=>{const _0xba692b=_0x33890d;groups[_0xba692b(0x206)](_0x92d757['groupCode'],_0x92d757);});}catch(_0x20ea00){return undefined;}return _0xa7774a=groups[_0x33890d(0x1fb)](_0x293a95[_0x33890d(0x1f3)]()),_0xa7774a;}export async function getGroupMember(_0x18480c,_0x2125ec){const _0x471e2e=_0x1e30,_0x223a78={'hCecN':function(_0x331209){return _0x331209();}};_0x18480c=_0x18480c[_0x471e2e(0x1f3)](),_0x2125ec=_0x2125ec[_0x471e2e(0x1f3)]();let _0x452426=groupMembers[_0x471e2e(0x1fb)](_0x18480c);if(!_0x452426)try{_0x452426=await NTQQGroupApi[_0x471e2e(0x1f8)](_0x18480c),groupMembers[_0x471e2e(0x206)](_0x18480c,_0x452426);}catch(_0x1b0ef7){return null;}const _0x216782=()=>{const _0x31689d=_0x471e2e;let _0x14adc1=undefined;return isNumeric(_0x2125ec)?_0x14adc1=Array[_0x31689d(0x1f5)](_0x452426['values']())[_0x31689d(0x1f2)](_0x677c22=>_0x677c22[_0x31689d(0x204)]===_0x2125ec):_0x14adc1=_0x452426['get'](_0x2125ec),_0x14adc1;};let _0x520321=_0x223a78[_0x471e2e(0x201)](_0x216782);return!_0x520321&&(_0x452426=await NTQQGroupApi['getGroupMembers'](_0x18480c),_0x520321=_0x223a78[_0x471e2e(0x201)](_0x216782)),_0x520321;}export const uid2UinMap={};export function getUidByUin(_0x28d7ba){const _0x29d819=_0x1e30,_0x58327d={'FcJLn':function(_0x17f83d,_0x349a01){return _0x17f83d===_0x349a01;}};for(const _0x28ccc4 in uid2UinMap){if(_0x58327d[_0x29d819(0x203)](uid2UinMap[_0x28ccc4],_0x28d7ba))return _0x28ccc4;}}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 +(function(_0x14e236,_0x152c3f){const _0x1cee8f=_0x4096,_0x4f54cc=_0x14e236();while(!![]){try{const _0x4e78a9=-parseInt(_0x1cee8f(0x14e))/0x1+parseInt(_0x1cee8f(0x156))/0x2+parseInt(_0x1cee8f(0x15f))/0x3*(parseInt(_0x1cee8f(0x15c))/0x4)+-parseInt(_0x1cee8f(0x163))/0x5*(-parseInt(_0x1cee8f(0x155))/0x6)+parseInt(_0x1cee8f(0x157))/0x7+-parseInt(_0x1cee8f(0x154))/0x8*(-parseInt(_0x1cee8f(0x159))/0x9)+-parseInt(_0x1cee8f(0x14d))/0xa*(parseInt(_0x1cee8f(0x152))/0xb);if(_0x4e78a9===_0x152c3f)break;else _0x4f54cc['push'](_0x4f54cc['shift']());}catch(_0x414415){_0x4f54cc['push'](_0x4f54cc['shift']());}}}(_0x309c,0xd24b2));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';function _0x4096(_0x4427ef,_0x3de653){const _0x309c23=_0x309c();return _0x4096=function(_0x4096a6,_0x217f6b){_0x4096a6=_0x4096a6-0x14b;let _0x34bd09=_0x309c23[_0x4096a6];return _0x34bd09;},_0x4096(_0x4427ef,_0x3de653);}function _0x309c(){const _0x2d6f9e=['3uSGvpt','from','getGroups','find','5azTwHN','uin','KyuTl','67690rzbHSH','1141069UHxBwI','values','set','forEach','5379LQblIy','get','264rgDJaF','9325122RAIHiC','2408528VtBAxT','310800WdCvAp','getGroupMembers','227034MZRFTq','toString','delete','6708652iHtJKC','length','rxfqr'];_0x309c=function(){return _0x2d6f9e;};return _0x309c();}export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0xa57ddb){const _0x51b5ae=_0x4096;groups['delete'](_0xa57ddb),groupMembers[_0x51b5ae(0x15b)](_0xa57ddb);}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(_0x30c93e){const _0x6d3820=_0x4096,_0x15fb56={'KyuTl':function(_0x500dbf,_0x4faa99){return _0x500dbf(_0x4faa99);}};_0x30c93e=_0x30c93e[_0x6d3820(0x15a)]();if(_0x15fb56[_0x6d3820(0x14c)](isNumeric,_0x30c93e)){const _0x147532=Array[_0x6d3820(0x160)](friends[_0x6d3820(0x14f)]());return _0x147532[_0x6d3820(0x162)](_0x12a989=>_0x12a989[_0x6d3820(0x14b)]===_0x30c93e);}else return friends[_0x6d3820(0x153)](_0x30c93e);}export async function getGroup(_0x3a1d04){const _0x147ef1=_0x4096;let _0x51f7a8=groups[_0x147ef1(0x153)](_0x3a1d04['toString']());if(!_0x51f7a8)try{const _0x35d9ca=await NTQQGroupApi[_0x147ef1(0x161)]();_0x35d9ca[_0x147ef1(0x15d)]&&_0x35d9ca[_0x147ef1(0x151)](_0x45a65c=>{const _0x27a890=_0x147ef1;groups[_0x27a890(0x150)](_0x45a65c['groupCode'],_0x45a65c);});}catch(_0x2db581){return undefined;}return _0x51f7a8=groups[_0x147ef1(0x153)](_0x3a1d04[_0x147ef1(0x15a)]()),_0x51f7a8;}export async function getGroupMember(_0x2f5436,_0x16d00f){const _0x1e8b80=_0x4096,_0x20429b={'sVDkc':function(_0x12587f,_0x2fcc04){return _0x12587f(_0x2fcc04);},'rxfqr':function(_0x424f4c){return _0x424f4c();},'YRebj':function(_0x37e573){return _0x37e573();}};_0x2f5436=_0x2f5436[_0x1e8b80(0x15a)](),_0x16d00f=_0x16d00f[_0x1e8b80(0x15a)]();let _0x4ea010=groupMembers[_0x1e8b80(0x153)](_0x2f5436);if(!_0x4ea010)try{_0x4ea010=await NTQQGroupApi['getGroupMembers'](_0x2f5436,!![]),groupMembers[_0x1e8b80(0x150)](_0x2f5436,_0x4ea010);}catch(_0x4694ee){return null;}const _0xd5f6b2=()=>{const _0x24d629=_0x1e8b80;let _0x13ed96=undefined;return _0x20429b['sVDkc'](isNumeric,_0x16d00f)?_0x13ed96=Array[_0x24d629(0x160)](_0x4ea010[_0x24d629(0x14f)]())[_0x24d629(0x162)](_0x52a9dc=>_0x52a9dc['uin']===_0x16d00f):_0x13ed96=_0x4ea010[_0x24d629(0x153)](_0x16d00f),_0x13ed96;};let _0x315915=_0x20429b[_0x1e8b80(0x15e)](_0xd5f6b2);return!_0x315915&&(_0x4ea010=await NTQQGroupApi[_0x1e8b80(0x158)](_0x2f5436,!![]),_0x315915=_0x20429b['YRebj'](_0xd5f6b2)),_0x315915;}export const uid2UinMap={};export function getUidByUin(_0x35b693){for(const _0x41de7e in uid2UinMap){if(uid2UinMap[_0x41de7e]===_0x35b693)return _0x41de7e;}}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 0914286e..ec6d2e22 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x494d(_0x4d76f4,_0x322ab9){var _0xeb019b=_0xeb01();return _0x494d=function(_0x494df3,_0x3be8f4){_0x494df3=_0x494df3-0x108;var _0xf939f4=_0xeb019b[_0x494df3];return _0xf939f4;},_0x494d(_0x4d76f4,_0x322ab9);}(function(_0x1096ee,_0x502f76){var _0x31a750=_0x494d,_0x3d4a95=_0x1096ee();while(!![]){try{var _0x1c0149=-parseInt(_0x31a750(0x10b))/0x1+parseInt(_0x31a750(0x119))/0x2+parseInt(_0x31a750(0x113))/0x3*(-parseInt(_0x31a750(0x11d))/0x4)+parseInt(_0x31a750(0x11c))/0x5+-parseInt(_0x31a750(0x10c))/0x6*(parseInt(_0x31a750(0x11a))/0x7)+-parseInt(_0x31a750(0x10a))/0x8*(parseInt(_0x31a750(0x117))/0x9)+-parseInt(_0x31a750(0x112))/0xa*(-parseInt(_0x31a750(0x10e))/0xb);if(_0x1c0149===_0x502f76)break;else _0x3d4a95['push'](_0x3d4a95['shift']());}catch(_0x59109d){_0x3d4a95['push'](_0x3d4a95['shift']());}}}(_0xeb01,0x89c6c));;export var CacheFileType;(function(_0x1f9549){var _0x143626=_0x494d,_0x43595b={'Duvec':_0x143626(0x114),'zqthz':_0x143626(0x11e),'IZMwB':_0x143626(0x10d),'KIqaE':_0x143626(0x108),'yibUK':_0x143626(0x115),'vPdgO':_0x143626(0x111)},_0x17a434=_0x43595b['Duvec'][_0x143626(0x116)]('|'),_0x54a2d8=0x0;while(!![]){switch(_0x17a434[_0x54a2d8++]){case'0':_0x1f9549[_0x1f9549[_0x43595b[_0x143626(0x10f)]]=0x2]=_0x43595b['zqthz'];continue;case'1':_0x1f9549[_0x1f9549[_0x143626(0x10d)]=0x0]=_0x43595b[_0x143626(0x109)];continue;case'2':_0x1f9549[_0x1f9549[_0x43595b['KIqaE']]=0x3]=_0x43595b[_0x143626(0x11b)];continue;case'3':_0x1f9549[_0x1f9549[_0x43595b[_0x143626(0x110)]]=0x4]=_0x43595b[_0x143626(0x110)];continue;case'4':_0x1f9549[_0x1f9549[_0x43595b[_0x143626(0x118)]]=0x1]=_0x43595b['vPdgO'];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xeb01(){var _0x9fa370=['14742aDCGKh','KIqaE','1681495lCHQMn','1831352CCQYHC','AUDIO','DOCUMENT','IZMwB','5567960pFNaKM','561245nvVGFv','1374qTyxIN','IMAGE','4906nOgtqm','zqthz','yibUK','VIDEO','35500mtzNbb','3aFFliJ','1|4|0|2|3','OTHER','split','9JfIniE','vPdgO','1684170vPYujA'];_0xeb01=function(){return _0x9fa370;};return _0xeb01();} \ No newline at end of file +(function(_0x58a831,_0x229112){var _0x53e86e=_0x1d2a,_0x37038=_0x58a831();while(!![]){try{var _0x1a1234=parseInt(_0x53e86e(0x121))/0x1+-parseInt(_0x53e86e(0x11f))/0x2+-parseInt(_0x53e86e(0x11c))/0x3*(-parseInt(_0x53e86e(0x120))/0x4)+-parseInt(_0x53e86e(0x124))/0x5*(parseInt(_0x53e86e(0x12c))/0x6)+-parseInt(_0x53e86e(0x125))/0x7+-parseInt(_0x53e86e(0x12b))/0x8+-parseInt(_0x53e86e(0x129))/0x9*(-parseInt(_0x53e86e(0x127))/0xa);if(_0x1a1234===_0x229112)break;else _0x37038['push'](_0x37038['shift']());}catch(_0x44ee39){_0x37038['push'](_0x37038['shift']());}}}(_0xb199,0x51988));;export var CacheFileType;function _0x1d2a(_0x43c225,_0x1a52b0){var _0xb199f8=_0xb199();return _0x1d2a=function(_0x1d2afb,_0x5d563f){_0x1d2afb=_0x1d2afb-0x119;var _0x67912=_0xb199f8[_0x1d2afb];return _0x67912;},_0x1d2a(_0x43c225,_0x1a52b0);}(function(_0x2a7174){var _0x20efc1=_0x1d2a,_0x2ff25e={'SimuS':'4|0|3|1|2','sgWiC':_0x20efc1(0x126),'odODu':_0x20efc1(0x119),'muFsB':_0x20efc1(0x11a),'hyARQ':_0x20efc1(0x11e),'SqwsS':_0x20efc1(0x123)},_0x1720ae=_0x2ff25e['SimuS'][_0x20efc1(0x128)]('|'),_0x363319=0x0;while(!![]){switch(_0x1720ae[_0x363319++]){case'0':_0x2a7174[_0x2a7174[_0x2ff25e[_0x20efc1(0x12a)]]=0x1]=_0x2ff25e[_0x20efc1(0x12a)];continue;case'1':_0x2a7174[_0x2a7174[_0x2ff25e[_0x20efc1(0x11b)]]=0x3]=_0x20efc1(0x119);continue;case'2':_0x2a7174[_0x2a7174[_0x2ff25e['muFsB']]=0x4]=_0x20efc1(0x11a);continue;case'3':_0x2a7174[_0x2a7174[_0x2ff25e[_0x20efc1(0x11d)]]=0x2]=_0x2ff25e[_0x20efc1(0x11d)];continue;case'4':_0x2a7174[_0x2a7174['IMAGE']=0x0]=_0x2ff25e[_0x20efc1(0x122)];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xb199(){var _0x1957ff=['1009202rRchPv','32616KoBkCl','596632bvBCTd','SqwsS','IMAGE','2750ugiCkV','4075050zKOPAf','VIDEO','480rqYiPD','split','136251eYhVme','sgWiC','353560AUJlQA','3078XPpRRA','DOCUMENT','OTHER','odODu','156oWszUe','hyARQ','AUDIO'];_0xb199=function(){return _0x1957ff;};return _0xb199();} \ 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 038b3885..fc36c849 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -function _0x3d6d(){const _0x442260=['98132KCnpbx','stringify','获取视频信息失败','time','Thumb','图片信息','hVyVc','[包剪锤]','TEXT','get','QDes','bsOVA','screenshots','size','视频信息','width','path','mface','writeFile','owZrK','134123EYQlzD','sysface','sep','PTT','ptt','VIDEO','catch','QSid','error','kzgif','zYmlP','27JsSTst','pBUQy','gif','toString','Lfhnv','OxFfS','获取视频封面失败,使用默认封面','Miwix','wwinL','find','QUpOJ','stat','ark','20vLMfIs','itfNH','652797UXzmWO','PIC','FACE','text','video','face','KrfaP','AniStickerId','dirname','getImageSize','AZhlx','height','Ori','ZvFxe','RPS','语音转换失败,\x20请检查语音文件是否正常','pic','then','emoji','306438emhNOd','uploadFile','AniStickerType','[骰子]','1295315OgzsLv','replace','WKAiZ','FILE','eMykT','311610tiblNZ','mp4','jpg','VkxpX','dice','UkMUl','1282584OkCkyr','MFACE','copyFile','ARK','notAt','file'];_0x3d6d=function(){return _0x442260;};return _0x3d6d();}const _0x44b0df=_0x521b;(function(_0x1deeb9,_0x50364e){const _0x369a7f=_0x521b,_0x5710cd=_0x1deeb9();while(!![]){try{const _0x28b71c=-parseInt(_0x369a7f(0x165))/0x1+parseInt(_0x369a7f(0x145))/0x2+parseInt(_0x369a7f(0x11a))/0x3*(parseInt(_0x369a7f(0x151))/0x4)+-parseInt(_0x369a7f(0x127))/0x5*(parseInt(_0x369a7f(0x13c))/0x6)+parseInt(_0x369a7f(0x140))/0x7+-parseInt(_0x369a7f(0x14b))/0x8+parseInt(_0x369a7f(0x129))/0x9;if(_0x28b71c===_0x50364e)break;else _0x5710cd['push'](_0x5710cd['shift']());}catch(_0x4cd10d){_0x5710cd['push'](_0x5710cd['shift']());}}}(_0x3d6d,0x21112));function _0x521b(_0x124e63,_0xd5a107){const _0x3d6d77=_0x3d6d();return _0x521b=function(_0x521b3a,_0x58b533){_0x521b3a=_0x521b3a-0x113;let _0x1e1a0e=_0x3d6d77[_0x521b3a];return _0x1e1a0e;},_0x521b(_0x124e63,_0xd5a107);}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x22d392}from'node:fs';import _0x2ee0f6 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x4f2513 from'./face_config.json';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x44b0df(0x12c)](_0x4c624c){const _0x29b0ad=_0x44b0df;return{'elementType':ElementType[_0x29b0ad(0x159)],'elementId':'','textElement':{'content':_0x4c624c,'atType':AtType[_0x29b0ad(0x14f)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x49dc32,_0x2eb998,_0x3ae47b,_0x186ef2){const _0x3b5b9a=_0x44b0df;return{'elementType':ElementType[_0x3b5b9a(0x159)],'elementId':'','textElement':{'content':'@'+_0x186ef2,'atType':_0x3ae47b,'atUid':_0x49dc32,'atTinyId':'','atNtUid':_0x2eb998}};}static['reply'](_0x2c1e4b,_0x477cd2,_0x24e52e,_0x11c22a){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x2c1e4b,'replayMsgId':_0x477cd2,'senderUin':_0x24e52e,'senderUinStr':_0x11c22a}};}static async[_0x44b0df(0x139)](_0x2a33a8,_0x5c9837='',_0x3f08fb=0x0){const _0x439e9f=_0x44b0df,_0x3167cd={'ZvFxe':'文件异常,大小为0','hVyVc':function(_0x50131b,_0xdfbff9){return _0x50131b(_0xdfbff9);},'Miwix':_0x439e9f(0x156)},{md5:_0x3d480e,fileName:_0x26c7fa,path:_0x1e94f0,fileSize:_0x4d421e}=await NTQQFileApi[_0x439e9f(0x13d)](_0x2a33a8,ElementType[_0x439e9f(0x12a)],_0x3f08fb);if(_0x4d421e===0x0)throw _0x3167cd[_0x439e9f(0x136)];const _0x1f7573=await NTQQFileApi[_0x439e9f(0x132)](_0x2a33a8),_0x34f8fe={'md5HexStr':_0x3d480e,'fileSize':_0x4d421e[_0x439e9f(0x11d)](),'picWidth':_0x1f7573?.[_0x439e9f(0x160)],'picHeight':_0x1f7573?.[_0x439e9f(0x134)],'fileName':_0x26c7fa,'sourcePath':_0x1e94f0,'original':!![],'picType':_0x3167cd[_0x439e9f(0x157)](isGIF,_0x2a33a8)?PicType[_0x439e9f(0x11c)]:PicType[_0x439e9f(0x147)],'picSubType':_0x3f08fb,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5c9837};return logDebug(_0x3167cd[_0x439e9f(0x121)],_0x34f8fe),{'elementType':ElementType[_0x439e9f(0x12a)],'elementId':'','picElement':_0x34f8fe};}static async[_0x44b0df(0x150)](_0x3c50ba,_0x53f1ae=''){const _0x1be519=_0x44b0df,_0xad26f5={'UnHjs':function(_0x434f34,_0x5db3be){return _0x434f34===_0x5db3be;},'mPSpa':'文件异常,大小为0','PiFLD':function(_0x38f791,_0x6d784){return _0x38f791||_0x6d784;}},{md5:_0x4ed230,fileName:_0x4d03b1,path:_0x9de2ff,fileSize:_0x1acf76}=await NTQQFileApi[_0x1be519(0x13d)](_0x3c50ba,ElementType[_0x1be519(0x143)]);if(_0xad26f5['UnHjs'](_0x1acf76,0x0))throw _0xad26f5['mPSpa'];const _0x42d6c3={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0xad26f5['PiFLD'](_0x53f1ae,_0x4d03b1),'filePath':_0x9de2ff,'fileSize':_0x1acf76[_0x1be519(0x11d)]()}};return _0x42d6c3;}static async[_0x44b0df(0x12d)](_0x294128,_0x5598aa='',_0x54efb6=''){const _0x2c0998=_0x44b0df,_0x9daecc={'WKAiZ':function(_0x3fda4e,_0xdcd794){return _0x3fda4e(_0xdcd794);},'AZhlx':_0x2c0998(0x120),'eMykT':function(_0x4de638,_0x54b602){return _0x4de638(_0x54b602);},'pBUQy':function(_0x8f8f3c,_0x4f2a99){return _0x8f8f3c(_0x4f2a99);},'zYmlP':function(_0x160303,_0x1a9faf){return _0x160303+_0x1a9faf;},'UkMUl':'end','kzgif':function(_0x15af4e,_0x439dcb){return _0x15af4e===_0x439dcb;},'QUpOJ':'文件异常,大小为0','KrfaP':_0x2c0998(0x15f),'gKCnp':function(_0xf6b5cb,_0x4109b3,_0x43a55c){return _0xf6b5cb(_0x4109b3,_0x43a55c);},'OxFfS':function(_0x2d9eb6,_0x144d18){return _0x2d9eb6||_0x144d18;},'ezffX':function(_0x1bf5c8,_0x14a20d){return _0x1bf5c8+_0x14a20d;}},{fileName:_0x35b11b,path:_0x5cfc0a,fileSize:_0x39db6c,md5:_0x213e6d}=await NTQQFileApi[_0x2c0998(0x13d)](_0x294128,ElementType[_0x2c0998(0x114)]);if(_0x9daecc[_0x2c0998(0x118)](_0x39db6c,0x0))throw _0x9daecc[_0x2c0998(0x124)];const _0x533947=_0x9daecc[_0x2c0998(0x144)](require,_0x2c0998(0x161));let _0x1a8fe0=_0x5cfc0a[_0x2c0998(0x141)](_0x533947[_0x2c0998(0x167)]+_0x2c0998(0x135)+_0x533947['sep'],_0x533947[_0x2c0998(0x167)]+_0x2c0998(0x155)+_0x533947['sep']);_0x1a8fe0=_0x533947[_0x2c0998(0x131)](_0x1a8fe0);let _0x1a2b06={'width':0x780,'height':0x438,'time':0xf,'format':_0x2c0998(0x146),'size':_0x39db6c,'filePath':_0x294128};try{_0x1a2b06=await _0x9daecc[_0x2c0998(0x11b)](getVideoInfo,_0x5cfc0a),logDebug(_0x9daecc[_0x2c0998(0x12f)],_0x1a2b06);}catch(_0xaf55b4){_0x9daecc['gKCnp'](logError,_0x2c0998(0x153),_0xaf55b4);}const _0x939c09=new Promise((_0x5f4260,_0x17351b)=>{const _0x374b9c=_0x2c0998,_0x2df76d={'bXmIk':function(_0x5ba69e,_0x226e63){const _0x5991c7=_0x521b;return _0x9daecc[_0x5991c7(0x144)](_0x5ba69e,_0x226e63);}},_0x41baec=_0x213e6d+'_0.png',_0x3d4925=_0x533947['join'](_0x1a8fe0,_0x41baec);_0x9daecc[_0x374b9c(0x11b)](_0x2ee0f6,_0x294128)['on']('end',()=>{})['on'](_0x374b9c(0x117),_0x1a23c5=>{const _0x429a0f=_0x374b9c,_0x9860c3={'owZrK':function(_0x4580bb,_0x405784){const _0x146314=_0x521b;return _0x9daecc[_0x146314(0x142)](_0x4580bb,_0x405784);}};logDebug(_0x9daecc[_0x429a0f(0x133)],_0x1a23c5),_0x54efb6?_0x22d392[_0x429a0f(0x14d)](_0x54efb6,_0x3d4925)[_0x429a0f(0x13a)](()=>{_0x2df76d['bXmIk'](_0x5f4260,_0x3d4925);})[_0x429a0f(0x115)](_0x17351b):_0x22d392[_0x429a0f(0x163)](_0x3d4925,defaultVideoThumb)[_0x429a0f(0x13a)](()=>{const _0x3fb272=_0x429a0f;_0x9860c3[_0x3fb272(0x164)](_0x5f4260,_0x3d4925);})[_0x429a0f(0x115)](_0x17351b);})[_0x374b9c(0x15d)]({'timestamps':[0x0],'filename':_0x41baec,'folder':_0x1a8fe0,'size':_0x9daecc[_0x374b9c(0x119)](_0x1a2b06[_0x374b9c(0x160)]+'x',_0x1a2b06[_0x374b9c(0x134)])})['on'](_0x9daecc[_0x374b9c(0x14a)],()=>{_0x9daecc['eMykT'](_0x5f4260,_0x3d4925);});}),_0x58b46d=new Map(),_0x5465bb=await _0x939c09,_0xcd6770=(await _0x22d392[_0x2c0998(0x125)](_0x5465bb))[_0x2c0998(0x15e)];_0x58b46d['set'](0x0,_0x5465bb);const _0x4ee6f4=await calculateFileMD5(_0x5465bb),_0xd18c3d={'elementType':ElementType[_0x2c0998(0x114)],'elementId':'','videoElement':{'fileName':_0x9daecc[_0x2c0998(0x11f)](_0x5598aa,_0x35b11b),'filePath':_0x5cfc0a,'videoMd5':_0x213e6d,'thumbMd5':_0x4ee6f4,'fileTime':_0x1a2b06[_0x2c0998(0x154)],'thumbPath':_0x58b46d,'thumbSize':_0xcd6770,'thumbWidth':_0x1a2b06[_0x2c0998(0x160)],'thumbHeight':_0x1a2b06['height'],'fileSize':_0x9daecc['ezffX']('',_0x39db6c)}};return _0xd18c3d;}static async[_0x44b0df(0x113)](_0x2e6297){const _0x170e73=_0x44b0df,_0x434085={'wwinL':function(_0x4d3e16,_0xa73c69){return _0x4d3e16===_0xa73c69;},'bnsBC':'文件异常,大小为0','bsOVA':function(_0x5233b7,_0x1d7b4f){return _0x5233b7||_0x1d7b4f;}},{converted:_0x330e3b,path:_0x550a2e,duration:_0x5cfbae}=await encodeSilk(_0x2e6297);if(!_0x550a2e)throw _0x170e73(0x138);const {md5:_0x2856b9,fileName:_0x1b7157,path:_0x50b727,fileSize:_0x4b4d3c}=await NTQQFileApi[_0x170e73(0x13d)](_0x550a2e,ElementType['PTT']);if(_0x434085[_0x170e73(0x122)](_0x4b4d3c,0x0))throw _0x434085['bnsBC'];return _0x330e3b&&_0x22d392['unlink'](_0x550a2e)[_0x170e73(0x13a)](),{'elementType':ElementType[_0x170e73(0x168)],'elementId':'','pttElement':{'fileName':_0x1b7157,'filePath':_0x50b727,'md5HexStr':_0x2856b9,'fileSize':_0x4b4d3c,'duration':_0x434085[_0x170e73(0x15c)](_0x5cfbae,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[_0x44b0df(0x12e)](_0x8339df){const _0x164780=_0x44b0df,_0x6694dc={'itfNH':function(_0x23a78b,_0x4f131a){return _0x23a78b>=_0x4f131a;}},_0x161c6e=_0x4f2513[_0x164780(0x166)],_0x380470=_0x4f2513[_0x164780(0x13b)],_0x5d3882=_0x161c6e[_0x164780(0x123)](_0x7ebc4b=>_0x7ebc4b[_0x164780(0x116)]===_0x8339df[_0x164780(0x11d)]());_0x8339df=parseInt(_0x8339df[_0x164780(0x11d)]());let _0x55b566=0x1;return _0x6694dc[_0x164780(0x128)](_0x8339df,0xde)&&(_0x55b566=0x2),_0x5d3882[_0x164780(0x13e)]&&(_0x55b566=0x3),{'elementType':ElementType[_0x164780(0x12b)],'elementId':'','faceElement':{'faceIndex':_0x8339df,'faceType':_0x55b566,'faceText':_0x5d3882[_0x164780(0x15b)],'stickerId':_0x5d3882[_0x164780(0x130)],'stickerType':_0x5d3882[_0x164780(0x13e)],'packId':_0x5d3882['AniStickerPackId'],'sourceType':0x1}};}static[_0x44b0df(0x162)](_0x427bab,_0x10f7eb,_0x3e6e16,_0x1743ee){const _0x59a6b0=_0x44b0df;return{'elementType':ElementType[_0x59a6b0(0x14c)],'marketFaceElement':{'emojiPackageId':_0x427bab,'emojiId':_0x10f7eb,'key':_0x3e6e16,'faceName':_0x1743ee||mFaceCache[_0x59a6b0(0x15a)](_0x10f7eb)||'[商城表情]'}};}static[_0x44b0df(0x149)](_0x15881a){const _0x229276=_0x44b0df,_0x30d49b={'VkxpX':_0x229276(0x13f)};return{'elementType':ElementType[_0x229276(0x12b)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x229276(0x149)],'faceType':FaceType[_0x229276(0x149)],'faceText':_0x30d49b[_0x229276(0x148)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x24cdbc){const _0x17d204=_0x44b0df,_0x23f865={'YqoIB':_0x17d204(0x158)};return{'elementType':ElementType[_0x17d204(0x12b)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x17d204(0x137)],'faceText':_0x23f865['YqoIB'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x44b0df(0x126)](_0x5cdd14){const _0x349189=_0x44b0df,_0x1f2a74={'Lfhnv':function(_0x326f06,_0x2556b9){return _0x326f06!==_0x2556b9;},'tuYBn':'string'};return _0x1f2a74[_0x349189(0x11e)](typeof _0x5cdd14,_0x1f2a74['tuYBn'])&&(_0x5cdd14=JSON[_0x349189(0x152)](_0x5cdd14)),{'elementType':ElementType[_0x349189(0x14e)],'elementId':'','arkElement':{'bytesData':_0x5cdd14,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x17743c){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x17743c}};}} \ No newline at end of file +const _0x23dd7c=_0x3d82;(function(_0x3408d4,_0xe70e71){const _0x49e3e1=_0x3d82,_0x39c040=_0x3408d4();while(!![]){try{const _0x4943b3=parseInt(_0x49e3e1(0x117))/0x1+-parseInt(_0x49e3e1(0x127))/0x2+-parseInt(_0x49e3e1(0x121))/0x3*(-parseInt(_0x49e3e1(0x119))/0x4)+-parseInt(_0x49e3e1(0x12c))/0x5*(-parseInt(_0x49e3e1(0xff))/0x6)+parseInt(_0x49e3e1(0xf1))/0x7+-parseInt(_0x49e3e1(0x11f))/0x8+parseInt(_0x49e3e1(0xf2))/0x9*(-parseInt(_0x49e3e1(0x114))/0xa);if(_0x4943b3===_0xe70e71)break;else _0x39c040['push'](_0x39c040['shift']());}catch(_0x319fd6){_0x39c040['push'](_0x39c040['shift']());}}}(_0x2d82,0x3cdd0));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x33387d}from'node:fs';import _0x410d9c from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x2d82(){const _0x12d29f=['markdown','stringify','reply','height','qMWug','10182UIYYgF','zMMAN','notAt','ark','DkUaE','图片信息','rps','[包剪锤]','dice','获取视频信息失败','ptt','upstM','hRwhi','JFiQk','qcWrP','OLhXM','stat','size','emoji','KytIi','writeFile','1607890OtcJnk','screenshots','aaGaY','488687NJqwsO','kMdyp','68IwqAex','uploadFile','AniStickerPackId','QDes','find','unlink','1516480mBCele','Ori','23739vNFktR','mface','Thumb','wRSdf','Tvbsu','catch','715752CNwXqw','oGpxM','toString','wjTWn','ARK','1150rJhLbH','XXNqZ','eBFKT','error','sep','cBaGu','mp4','TeAdg','gENeA','REPLY','sysface','join','HGFCR','text','VIDEO','文件异常,大小为0','gif','fjUEp','WtBBQ','MFACE','BlcZq','_0.png','file','jpg','FMqGx','PIC','width','then','视频信息','jQzaV','end','FILE','FtgPn','dirname','video','1859067Idqosu','27qXkXvW','bSIzw','NRHHp','FACE','[商城表情]','RzMWx','time','AniStickerType'];_0x2d82=function(){return _0x12d29f;};return _0x2d82();}import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x145295 from'./face_config.json';export const mFaceCache=new Map();function _0x3d82(_0x57d410,_0x1e9a38){const _0x2d826c=_0x2d82();return _0x3d82=function(_0x3d823d,_0xcbefa1){_0x3d823d=_0x3d823d-0xf1;let _0x1738cd=_0x2d826c[_0x3d823d];return _0x1738cd;},_0x3d82(_0x57d410,_0x1e9a38);}export class SendMsgElementConstructor{static[_0x23dd7c(0x139)](_0x5d8d17){const _0xc430ec=_0x23dd7c;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x5d8d17,'atType':AtType[_0xc430ec(0x101)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x33c9f2,_0xbbc198,_0x3e1531,_0x8de6a2){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x8de6a2,'atType':_0x3e1531,'atUid':_0x33c9f2,'atTinyId':'','atNtUid':_0xbbc198}};}static[_0x23dd7c(0xfc)](_0x2f72ca,_0x25689f,_0x44b862,_0x518093){const _0x178b76=_0x23dd7c;return{'elementType':ElementType[_0x178b76(0x135)],'elementId':'','replyElement':{'replayMsgSeq':_0x2f72ca,'replayMsgId':_0x25689f,'senderUin':_0x44b862,'senderUinStr':_0x518093}};}static async['pic'](_0x46314a,_0x44c257='',_0x209bf4=0x0){const _0x57fee0=_0x23dd7c,_0x23dda7={'JFiQk':function(_0x145f96,_0x9780a1){return _0x145f96===_0x9780a1;},'yyIrw':'文件异常,大小为0','RzMWx':function(_0x55cf92,_0x1bed68){return _0x55cf92(_0x1bed68);},'NRHHp':_0x57fee0(0x104)},{md5:_0x4f99c2,fileName:_0x3ee7df,path:_0x17d57a,fileSize:_0x18741d}=await NTQQFileApi[_0x57fee0(0x11a)](_0x46314a,ElementType['PIC'],_0x209bf4);if(_0x23dda7[_0x57fee0(0x10c)](_0x18741d,0x0))throw _0x23dda7['yyIrw'];const _0x523db9=await NTQQFileApi['getImageSize'](_0x46314a),_0x35478b={'md5HexStr':_0x4f99c2,'fileSize':_0x18741d[_0x57fee0(0x129)](),'picWidth':_0x523db9?.['width'],'picHeight':_0x523db9?.[_0x57fee0(0xfd)],'fileName':_0x3ee7df,'sourcePath':_0x17d57a,'original':!![],'picType':_0x23dda7[_0x57fee0(0xf7)](isGIF,_0x46314a)?PicType[_0x57fee0(0x13c)]:PicType[_0x57fee0(0x143)],'picSubType':_0x209bf4,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x44c257};return logDebug(_0x23dda7[_0x57fee0(0xf4)],_0x35478b),{'elementType':ElementType[_0x57fee0(0x145)],'elementId':'','picElement':_0x35478b};}static async[_0x23dd7c(0x142)](_0xbee264,_0x335c4b=''){const _0x2cd623=_0x23dd7c,_0x24874c={'KytIi':function(_0x4dca19,_0x3977d1){return _0x4dca19===_0x3977d1;},'oGpxM':_0x2cd623(0x13b),'WhIOA':function(_0x576bcc,_0xd1287d){return _0x576bcc||_0xd1287d;}},{md5:_0x1b2f31,fileName:_0x57bc2b,path:_0x4986b8,fileSize:_0x1c92d9}=await NTQQFileApi[_0x2cd623(0x11a)](_0xbee264,ElementType[_0x2cd623(0x14b)]);if(_0x24874c[_0x2cd623(0x112)](_0x1c92d9,0x0))throw _0x24874c[_0x2cd623(0x128)];const _0x3cb925={'elementType':ElementType[_0x2cd623(0x14b)],'elementId':'','fileElement':{'fileName':_0x24874c['WhIOA'](_0x335c4b,_0x57bc2b),'filePath':_0x4986b8,'fileSize':_0x1c92d9[_0x2cd623(0x129)]()}};return _0x3cb925;}static async[_0x23dd7c(0x14e)](_0x7a650c,_0x47059f='',_0x5cec6a=''){const _0x54698c=_0x23dd7c,_0x47acd0={'fjUEp':function(_0x110597,_0x195249){return _0x110597(_0x195249);},'XXNqZ':function(_0x286c2f,_0x274415,_0x1ebcc8){return _0x286c2f(_0x274415,_0x1ebcc8);},'wRSdf':'获取视频封面失败,使用默认封面','HGFCR':function(_0x28d7b1,_0x514124){return _0x28d7b1(_0x514124);},'FMqGx':_0x54698c(0x14a),'kMdyp':_0x54698c(0x12f),'zMMAN':function(_0x1ec7bb,_0x45f274){return _0x1ec7bb+_0x45f274;},'BlcZq':function(_0x4cdeb6,_0x514abd){return _0x4cdeb6+_0x514abd;},'DkUaE':_0x54698c(0x13b),'wjTWn':function(_0x2f5bc4,_0x1e7f97){return _0x2f5bc4(_0x1e7f97);},'WtBBQ':'path','jQzaV':_0x54698c(0x132),'cBaGu':_0x54698c(0x148),'qcWrP':function(_0x22b856,_0x2068bf,_0x12aead){return _0x22b856(_0x2068bf,_0x12aead);},'aaGaY':_0x54698c(0x108),'bSIzw':function(_0x56231c,_0xc9f845){return _0x56231c||_0xc9f845;}},{fileName:_0x5701b3,path:_0x7369ec,fileSize:_0x36780e,md5:_0x5470e1}=await NTQQFileApi['uploadFile'](_0x7a650c,ElementType[_0x54698c(0x13a)]);if(_0x36780e===0x0)throw _0x47acd0[_0x54698c(0x103)];const _0x2dc93f=_0x47acd0[_0x54698c(0x12a)](require,_0x47acd0[_0x54698c(0x13e)]);let _0x2d7bd7=_0x7369ec['replace'](_0x2dc93f['sep']+_0x54698c(0x120)+_0x2dc93f[_0x54698c(0x130)],_0x2dc93f[_0x54698c(0x130)]+_0x54698c(0x123)+_0x2dc93f[_0x54698c(0x130)]);_0x2d7bd7=_0x2dc93f[_0x54698c(0x14d)](_0x2d7bd7);let _0x43778a={'width':0x780,'height':0x438,'time':0xf,'format':_0x47acd0[_0x54698c(0x149)],'size':_0x36780e,'filePath':_0x7a650c};try{_0x43778a=await _0x47acd0[_0x54698c(0x13d)](getVideoInfo,_0x7369ec),logDebug(_0x47acd0[_0x54698c(0x131)],_0x43778a);}catch(_0x4896e3){_0x47acd0[_0x54698c(0x10d)](logError,_0x47acd0[_0x54698c(0x116)],_0x4896e3);}const _0x1cf7c7=new Promise((_0x5463c6,_0x57389d)=>{const _0x39e0e4=_0x54698c,_0xa13849={'nKaLU':function(_0xb0e14b,_0x577da6){const _0x486402=_0x3d82;return _0x47acd0[_0x486402(0x13d)](_0xb0e14b,_0x577da6);},'OLhXM':function(_0x5c3800,_0x1648d0,_0x592634){const _0x31efed=_0x3d82;return _0x47acd0[_0x31efed(0x12d)](_0x5c3800,_0x1648d0,_0x592634);},'qMWug':_0x47acd0[_0x39e0e4(0x124)]},_0x12af08=_0x5470e1+_0x39e0e4(0x141),_0x2b5be6=_0x2dc93f[_0x39e0e4(0x137)](_0x2d7bd7,_0x12af08);_0x47acd0[_0x39e0e4(0x138)](_0x410d9c,_0x7a650c)['on'](_0x47acd0[_0x39e0e4(0x144)],()=>{})['on'](_0x47acd0[_0x39e0e4(0x118)],_0xa3f59d=>{const _0x5b8e30=_0x39e0e4;_0xa13849[_0x5b8e30(0x10e)](logDebug,_0xa13849[_0x5b8e30(0xfe)],_0xa3f59d),_0x5cec6a?_0x33387d['copyFile'](_0x5cec6a,_0x2b5be6)['then'](()=>{_0xa13849['nKaLU'](_0x5463c6,_0x2b5be6);})[_0x5b8e30(0x126)](_0x57389d):_0x33387d[_0x5b8e30(0x113)](_0x2b5be6,defaultVideoThumb)[_0x5b8e30(0x147)](()=>{_0x5463c6(_0x2b5be6);})['catch'](_0x57389d);})[_0x39e0e4(0x115)]({'timestamps':[0x0],'filename':_0x12af08,'folder':_0x2d7bd7,'size':_0x47acd0[_0x39e0e4(0x100)](_0x47acd0[_0x39e0e4(0x140)](_0x43778a[_0x39e0e4(0x146)],'x'),_0x43778a[_0x39e0e4(0xfd)])})['on'](_0x39e0e4(0x14a),()=>{_0x5463c6(_0x2b5be6);});}),_0x4c00cb=new Map(),_0x48c534=await _0x1cf7c7,_0x4b60cb=(await _0x33387d[_0x54698c(0x10f)](_0x48c534))[_0x54698c(0x110)];_0x4c00cb['set'](0x0,_0x48c534);const _0x1e5841=await calculateFileMD5(_0x48c534),_0x292656={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x47acd0[_0x54698c(0xf3)](_0x47059f,_0x5701b3),'filePath':_0x7369ec,'videoMd5':_0x5470e1,'thumbMd5':_0x1e5841,'fileTime':_0x43778a[_0x54698c(0xf8)],'thumbPath':_0x4c00cb,'thumbSize':_0x4b60cb,'thumbWidth':_0x43778a[_0x54698c(0x146)],'thumbHeight':_0x43778a[_0x54698c(0xfd)],'fileSize':_0x47acd0[_0x54698c(0x100)]('',_0x36780e)}};return _0x292656;}static async[_0x23dd7c(0x109)](_0x71a14b){const _0x954ad2=_0x23dd7c,_0x58194b={'Tvbsu':function(_0x1c681a,_0x287cb0){return _0x1c681a(_0x287cb0);},'RTueo':'语音转换失败,\x20请检查语音文件是否正常','TeAdg':function(_0xd2403c,_0x40b23b){return _0xd2403c===_0x40b23b;},'gENeA':'文件异常,大小为0','FtgPn':function(_0x47603c,_0x25de7d){return _0x47603c||_0x25de7d;}},{converted:_0x48cb03,path:_0x2f05c7,duration:_0x1ae5f4}=await _0x58194b[_0x954ad2(0x125)](encodeSilk,_0x71a14b);if(!_0x2f05c7)throw _0x58194b['RTueo'];const {md5:_0xcd1574,fileName:_0x2fb2c4,path:_0x1e55a1,fileSize:_0x30eaec}=await NTQQFileApi['uploadFile'](_0x2f05c7,ElementType['PTT']);if(_0x58194b[_0x954ad2(0x133)](_0x30eaec,0x0))throw _0x58194b[_0x954ad2(0x134)];return _0x48cb03&&_0x33387d[_0x954ad2(0x11e)](_0x2f05c7)['then'](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x2fb2c4,'filePath':_0x1e55a1,'md5HexStr':_0xcd1574,'fileSize':_0x30eaec,'duration':_0x58194b[_0x954ad2(0x14c)](_0x1ae5f4,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static['face'](_0x120a34){const _0x56ab37=_0x23dd7c,_0x43543c=_0x145295[_0x56ab37(0x136)],_0x16b22f=_0x145295[_0x56ab37(0x111)],_0x561a6c=_0x43543c[_0x56ab37(0x11d)](_0x101184=>_0x101184['QSid']===_0x120a34[_0x56ab37(0x129)]());_0x120a34=parseInt(_0x120a34[_0x56ab37(0x129)]());let _0xd76008=0x1;return _0x120a34>=0xde&&(_0xd76008=0x2),_0x561a6c[_0x56ab37(0xf9)]&&(_0xd76008=0x3),{'elementType':ElementType[_0x56ab37(0xf5)],'elementId':'','faceElement':{'faceIndex':_0x120a34,'faceType':_0xd76008,'faceText':_0x561a6c[_0x56ab37(0x11c)],'stickerId':_0x561a6c['AniStickerId'],'stickerType':_0x561a6c[_0x56ab37(0xf9)],'packId':_0x561a6c[_0x56ab37(0x11b)],'sourceType':0x1}};}static[_0x23dd7c(0x122)](_0x49995c,_0x238db4,_0xf60044,_0x4fd4da){const _0x1e355f=_0x23dd7c;return{'elementType':ElementType[_0x1e355f(0x13f)],'marketFaceElement':{'emojiPackageId':_0x49995c,'emojiId':_0x238db4,'key':_0xf60044,'faceName':_0x4fd4da||mFaceCache['get'](_0x238db4)||_0x1e355f(0xf6)}};}static['dice'](_0x886cee){const _0x5db556=_0x23dd7c,_0x33477d={'upstM':'[骰子]'};return{'elementType':ElementType[_0x5db556(0xf5)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x5db556(0x107)],'faceType':FaceType['dice'],'faceText':_0x33477d[_0x5db556(0x10a)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x23dd7c(0x105)](_0x4e4d24){const _0x48980a=_0x23dd7c;return{'elementType':ElementType[_0x48980a(0xf5)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x48980a(0x106),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x23dd7c(0x102)](_0x27536e){const _0x340661=_0x23dd7c,_0x57b9cb={'eBFKT':function(_0x310c90,_0x521b52){return _0x310c90!==_0x521b52;},'hRwhi':'string'};return _0x57b9cb[_0x340661(0x12e)](typeof _0x27536e,_0x57b9cb[_0x340661(0x10b)])&&(_0x27536e=JSON[_0x340661(0xfb)](_0x27536e)),{'elementType':ElementType[_0x340661(0x12b)],'elementId':'','arkElement':{'bytesData':_0x27536e,'linkInfo':null,'subElementType':null}};}static[_0x23dd7c(0xfa)](_0x37dd4e){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x37dd4e}};}} \ 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 6bb9877f..dd7e8eba 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x2807(){var _0x4ef20b=['owner','21416CUqYdz','266XXrvJN','6906SRQDUL','admin','1020SLsIQz','787310iZgKPa','52VJDNOy','356IfpTxy','2394297ZFaOgj','150648DakNdJ','lerWW','198ZhjMav','9368YnoGlx','1878kbCktK'];_0x2807=function(){return _0x4ef20b;};return _0x2807();}(function(_0x3ba2fc,_0x196bac){var _0x2bc3ed=_0x54db,_0x437ec3=_0x3ba2fc();while(!![]){try{var _0x1ae6f2=-parseInt(_0x2bc3ed(0xfa))/0x1*(-parseInt(_0x2bc3ed(0x100))/0x2)+-parseInt(_0x2bc3ed(0x105))/0x3*(parseInt(_0x2bc3ed(0xfb))/0x4)+-parseInt(_0x2bc3ed(0xf8))/0x5*(-parseInt(_0x2bc3ed(0x101))/0x6)+-parseInt(_0x2bc3ed(0x104))/0x7*(-parseInt(_0x2bc3ed(0x103))/0x8)+-parseInt(_0x2bc3ed(0xfc))/0x9+parseInt(_0x2bc3ed(0xf9))/0xa+-parseInt(_0x2bc3ed(0xff))/0xb*(-parseInt(_0x2bc3ed(0xfd))/0xc);if(_0x1ae6f2===_0x196bac)break;else _0x437ec3['push'](_0x437ec3['shift']());}catch(_0x3ef279){_0x437ec3['push'](_0x437ec3['shift']());}}}(_0x2807,0x3b4fa));export var GroupMemberRole;function _0x54db(_0x27a480,_0x521d94){var _0x28077e=_0x2807();return _0x54db=function(_0x54dbfd,_0x1f85a7){_0x54dbfd=_0x54dbfd-0xf7;var _0x3d90b3=_0x28077e[_0x54dbfd];return _0x3d90b3;},_0x54db(_0x27a480,_0x521d94);}(function(_0x181feb){var _0x173256=_0x54db,_0x2a759a={'lerWW':'normal','leCkQ':_0x173256(0xf7),'QEoRo':_0x173256(0x102)};_0x181feb[_0x181feb[_0x2a759a[_0x173256(0xfe)]]=0x2]=_0x2a759a[_0x173256(0xfe)],_0x181feb[_0x181feb['admin']=0x3]=_0x2a759a['leCkQ'],_0x181feb[_0x181feb[_0x2a759a['QEoRo']]=0x4]=_0x173256(0x102);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x40ad(){var _0x364702=['3asMtSi','1101340deQflw','dHsfF','admin','1313664SsNpBE','owner','367624DZtBbP','243764nTsSEW','783940wpWUKb','3083193NRGEZY','539DTHhbT','normal','rTgei','10812dPraSR'];_0x40ad=function(){return _0x364702;};return _0x40ad();}(function(_0x363f26,_0x19542c){var _0x4f724a=_0x4e30,_0x12c724=_0x363f26();while(!![]){try{var _0x224994=parseInt(_0x4f724a(0x13a))/0x1+parseInt(_0x4f724a(0x139))/0x2*(-parseInt(_0x4f724a(0x133))/0x3)+parseInt(_0x4f724a(0x134))/0x4+parseInt(_0x4f724a(0x13b))/0x5+-parseInt(_0x4f724a(0x132))/0x6*(parseInt(_0x4f724a(0x12f))/0x7)+parseInt(_0x4f724a(0x137))/0x8+-parseInt(_0x4f724a(0x12e))/0x9;if(_0x224994===_0x19542c)break;else _0x12c724['push'](_0x12c724['shift']());}catch(_0x59b783){_0x12c724['push'](_0x12c724['shift']());}}}(_0x40ad,0x2ab68));function _0x4e30(_0x22193c,_0x55ea62){var _0x40adce=_0x40ad();return _0x4e30=function(_0x4e307d,_0x3b10b0){_0x4e307d=_0x4e307d-0x12e;var _0x11f430=_0x40adce[_0x4e307d];return _0x11f430;},_0x4e30(_0x22193c,_0x55ea62);}export var GroupMemberRole;(function(_0x152010){var _0x34b777=_0x4e30,_0xcbe67c={'dHsfF':_0x34b777(0x130),'rTgei':_0x34b777(0x136),'ofVEw':_0x34b777(0x138)};_0x152010[_0x152010[_0xcbe67c[_0x34b777(0x135)]]=0x2]=_0xcbe67c[_0x34b777(0x135)],_0x152010[_0x152010['admin']=0x3]=_0xcbe67c[_0x34b777(0x131)],_0x152010[_0x152010[_0xcbe67c['ofVEw']]=0x4]=_0xcbe67c['ofVEw'];}(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 90518fce..decc8adb 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x483221,_0x43ca14){var _0x5d27d8=_0x9e95,_0x41b2bc=_0x483221();while(!![]){try{var _0x25dafa=-parseInt(_0x5d27d8(0xe0))/0x1+-parseInt(_0x5d27d8(0xe2))/0x2*(-parseInt(_0x5d27d8(0xe4))/0x3)+-parseInt(_0x5d27d8(0xe3))/0x4*(-parseInt(_0x5d27d8(0xe8))/0x5)+-parseInt(_0x5d27d8(0xe9))/0x6*(parseInt(_0x5d27d8(0xe1))/0x7)+parseInt(_0x5d27d8(0xe7))/0x8*(-parseInt(_0x5d27d8(0xe6))/0x9)+parseInt(_0x5d27d8(0xe5))/0xa+-parseInt(_0x5d27d8(0xea))/0xb*(-parseInt(_0x5d27d8(0xdf))/0xc);if(_0x25dafa===_0x43ca14)break;else _0x41b2bc['push'](_0x41b2bc['shift']());}catch(_0x222f73){_0x41b2bc['push'](_0x41b2bc['shift']());}}}(_0x222a,0xb7397));export*from'./user';export*from'./group';export*from'./msg';function _0x9e95(_0x189da4,_0x2fda57){var _0x222a1b=_0x222a();return _0x9e95=function(_0x9e959c,_0x316d0b){_0x9e959c=_0x9e959c-0xdf;var _0x3af864=_0x222a1b[_0x9e959c];return _0x3af864;},_0x9e95(_0x189da4,_0x2fda57);}function _0x222a(){var _0x5f0ff9=['16hwytYu','1955105QngILm','4206tcPTFX','810139NYaiaR','276PcAraa','374245pqZHAZ','13601cbIKCi','718424GphXdX','4vCgNYX','6PtVgbD','4454410FaQwMM','3429171Ypsmhg'];_0x222a=function(){return _0x5f0ff9;};return _0x222a();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +function _0x3954(_0x45c9b3,_0x382838){var _0x5dd151=_0x5dd1();return _0x3954=function(_0x395461,_0x278ee2){_0x395461=_0x395461-0x1b9;var _0xf5d16e=_0x5dd151[_0x395461];return _0xf5d16e;},_0x3954(_0x45c9b3,_0x382838);}(function(_0x1d1508,_0x4e9e81){var _0x155749=_0x3954,_0x58cfed=_0x1d1508();while(!![]){try{var _0x269554=parseInt(_0x155749(0x1bc))/0x1+-parseInt(_0x155749(0x1c1))/0x2*(parseInt(_0x155749(0x1ba))/0x3)+-parseInt(_0x155749(0x1be))/0x4+-parseInt(_0x155749(0x1bd))/0x5+-parseInt(_0x155749(0x1bf))/0x6*(-parseInt(_0x155749(0x1c0))/0x7)+parseInt(_0x155749(0x1c2))/0x8*(parseInt(_0x155749(0x1c3))/0x9)+-parseInt(_0x155749(0x1bb))/0xa*(-parseInt(_0x155749(0x1b9))/0xb);if(_0x269554===_0x4e9e81)break;else _0x58cfed['push'](_0x58cfed['shift']());}catch(_0x20384c){_0x58cfed['push'](_0x58cfed['shift']());}}}(_0x5dd1,0xd41df));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';function _0x5dd1(){var _0x440147=['3643412spjnGQ','108ZlmHQL','623595sQOpuW','132376LPQllS','8hwooZT','10165959tgPanE','10988659yVetmx','78hINVce','10zayfrd','679257OnUhVU','4553675cxwbpJ'];_0x5dd1=function(){return _0x440147;};return _0x5dd1();} \ 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 6bb59e95..7c6bf9e6 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x41b376=_0x339a;(function(_0x23eff5,_0x314e33){var _0x519aea=_0x339a,_0x5e86af=_0x23eff5();while(!![]){try{var _0x221e19=-parseInt(_0x519aea(0x1e1))/0x1+-parseInt(_0x519aea(0x1e7))/0x2+-parseInt(_0x519aea(0x1ef))/0x3+-parseInt(_0x519aea(0x1dc))/0x4*(parseInt(_0x519aea(0x1c6))/0x5)+parseInt(_0x519aea(0x1fa))/0x6*(-parseInt(_0x519aea(0x1d6))/0x7)+parseInt(_0x519aea(0x1dd))/0x8*(-parseInt(_0x519aea(0x1e9))/0x9)+parseInt(_0x519aea(0x1f4))/0xa;if(_0x221e19===_0x314e33)break;else _0x5e86af['push'](_0x5e86af['shift']());}catch(_0x5e4dce){_0x5e86af['push'](_0x5e86af['shift']());}}}(_0x172d,0xca74c));export var ElementType;(function(_0x4f35b8){var _0x28552a=_0x339a,_0x185c6f={'WFyGw':'9|0|7|4|1|8|5|6|2|3','htOcs':_0x28552a(0x1c9),'cqTve':'VIDEO','OpcoM':'MFACE','vXRbJ':_0x28552a(0x1ed),'AkxhS':_0x28552a(0x1ce),'JVUwP':'REPLY','vyTnv':_0x28552a(0x1f8),'xwLnb':_0x28552a(0x1e5),'eMdQN':_0x28552a(0x1d5),'jbGfc':_0x28552a(0x1f7)},_0x316ebd=_0x185c6f['WFyGw']['split']('|'),_0x4a037c=0x0;while(!![]){switch(_0x316ebd[_0x4a037c++]){case'0':_0x4f35b8[_0x4f35b8[_0x28552a(0x1c9)]=0x2]=_0x185c6f[_0x28552a(0x1f3)];continue;case'1':_0x4f35b8[_0x4f35b8[_0x185c6f[_0x28552a(0x1cf)]]=0x5]=_0x185c6f[_0x28552a(0x1cf)];continue;case'2':_0x4f35b8[_0x4f35b8[_0x185c6f['OpcoM']]=0xb]=_0x185c6f[_0x28552a(0x1c1)];continue;case'3':_0x4f35b8[_0x4f35b8[_0x185c6f[_0x28552a(0x1c5)]]=0xe]=_0x185c6f[_0x28552a(0x1c5)];continue;case'4':_0x4f35b8[_0x4f35b8[_0x185c6f[_0x28552a(0x1c7)]]=0x4]=_0x185c6f[_0x28552a(0x1c7)];continue;case'5':_0x4f35b8[_0x4f35b8[_0x185c6f['JVUwP']]=0x7]=_0x28552a(0x1cb);continue;case'6':_0x4f35b8[_0x4f35b8[_0x28552a(0x1f8)]=0xa]=_0x185c6f[_0x28552a(0x1de)];continue;case'7':_0x4f35b8[_0x4f35b8[_0x185c6f[_0x28552a(0x1f0)]]=0x3]=_0x28552a(0x1e5);continue;case'8':_0x4f35b8[_0x4f35b8[_0x185c6f[_0x28552a(0x1d1)]]=0x6]=_0x185c6f[_0x28552a(0x1d1)];continue;case'9':_0x4f35b8[_0x4f35b8[_0x185c6f[_0x28552a(0x1e3)]]=0x1]=_0x185c6f[_0x28552a(0x1e3)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x394856){var _0x515924=_0x339a,_0x5235dd={'yuGmV':'gif','hYhat':_0x515924(0x1c4)};_0x394856[_0x394856['gif']=0x7d0]=_0x5235dd[_0x515924(0x1d4)],_0x394856[_0x394856[_0x5235dd[_0x515924(0x1f5)]]=0x3e8]=_0x5235dd[_0x515924(0x1f5)];}(PicType||(PicType={})));export var PicSubType;(function(_0x3f31e9){var _0x2fd9d4=_0x339a,_0x3b31b8={'JVUrg':_0x2fd9d4(0x1ea),'kMPvK':_0x2fd9d4(0x1d2)};_0x3f31e9[_0x3f31e9[_0x3b31b8[_0x2fd9d4(0x1db)]]=0x0]=_0x3b31b8[_0x2fd9d4(0x1db)],_0x3f31e9[_0x3f31e9[_0x2fd9d4(0x1d2)]=0x1]=_0x3b31b8[_0x2fd9d4(0x1e8)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x2dfd95){var _0x79f2d3=_0x339a,_0x15d245={'xnONZ':_0x79f2d3(0x1cd),'upnKv':_0x79f2d3(0x1da),'hYZms':_0x79f2d3(0x1f1)};_0x2dfd95[_0x2dfd95[_0x15d245['xnONZ']]=0x0]=_0x15d245['xnONZ'],_0x2dfd95[_0x2dfd95[_0x15d245['upnKv']]=0x1]='atAll',_0x2dfd95[_0x2dfd95[_0x79f2d3(0x1f1)]=0x2]=_0x15d245[_0x79f2d3(0x1c8)];}(AtType||(AtType={})));export var ChatType;(function(_0x5eabbf){var _0x48b09b=_0x339a,_0xc81938={'sFGXp':_0x48b09b(0x1e0),'oWaAs':_0x48b09b(0x1c2),'qTWps':_0x48b09b(0x1d3),'ULgms':'temp'};_0x5eabbf[_0x5eabbf[_0xc81938[_0x48b09b(0x1f2)]]=0x1]=_0x48b09b(0x1e0),_0x5eabbf[_0x5eabbf['group']=0x2]=_0xc81938[_0x48b09b(0x1d0)],_0x5eabbf[_0x5eabbf[_0xc81938['qTWps']]=0x8]=_0xc81938[_0x48b09b(0x1f9)],_0x5eabbf[_0x5eabbf[_0xc81938[_0x48b09b(0x1cc)]]=0x64]=_0xc81938[_0x48b09b(0x1cc)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x41b376(0x1ec);export var GrayTipElementSubType;(function(_0x5a4ea5){var _0xbadd79=_0x41b376,_0x2ebf69={'cWGMp':_0xbadd79(0x1e2),'fYqnk':_0xbadd79(0x1df)};_0x5a4ea5[_0x5a4ea5[_0x2ebf69['cWGMp']]=0xc]=_0x2ebf69[_0xbadd79(0x1d7)],_0x5a4ea5[_0x5a4ea5[_0x2ebf69['fYqnk']]=0x11]=_0xbadd79(0x1df);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x438870){var _0x3dfc30=_0x41b376,_0x2eccdb={'XCHcT':_0x3dfc30(0x1ea),'FUJaO':'normal2','HMRgj':'dice'};_0x438870[_0x438870[_0x3dfc30(0x1ea)]=0x1]=_0x2eccdb[_0x3dfc30(0x1c3)],_0x438870[_0x438870[_0x2eccdb[_0x3dfc30(0x1d9)]]=0x2]=_0x2eccdb[_0x3dfc30(0x1d9)],_0x438870[_0x438870[_0x3dfc30(0x1e6)]=0x3]=_0x2eccdb[_0x3dfc30(0x1eb)];}(FaceType||(FaceType={})));function _0x339a(_0x427e28,_0x456d2c){var _0x172da4=_0x172d();return _0x339a=function(_0x339a78,_0xde928d){_0x339a78=_0x339a78-0x1c1;var _0x10f170=_0x172da4[_0x339a78];return _0x10f170;},_0x339a(_0x427e28,_0x456d2c);}export var FaceIndex;function _0x172d(){var _0x2943b6=['cWGMp','ban','FUJaO','atAll','JVUrg','40zSJKtO','8dbLtLp','vyTnv','MEMBER_NEW_TITLE','friend','315420nQxQmF','INVITE_NEW_MEMBER','jbGfc','RPS','FILE','dice','59642dgwVey','kMPvK','2811465ysMxxj','normal','HMRgj','https://multimedia.nt.qq.com.cn','MARKDOWN','kicked','797301NCrdjr','xwLnb','atUser','sFGXp','htOcs','35424180ySvdVn','hYhat','memberIncrease','TEXT','ARK','qTWps','36990pNZgWo','OpcoM','group','XCHcT','jpg','vXRbJ','688355bzseow','AkxhS','hYZms','PIC','nTlaW','REPLY','ULgms','notAt','PTT','cqTve','oWaAs','eMdQN','face','chatDevice','yuGmV','FACE','469NUOyOd'];_0x172d=function(){return _0x2943b6;};return _0x172d();}(function(_0x227062){var _0x5e7a20=_0x41b376,_0x20391d={'nTlaW':_0x5e7a20(0x1e6),'yuPmL':_0x5e7a20(0x1e4)};_0x227062[_0x227062[_0x20391d[_0x5e7a20(0x1ca)]]=0x166]=_0x20391d[_0x5e7a20(0x1ca)],_0x227062[_0x227062[_0x20391d['yuPmL']]=0x167]='RPS';}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x1f52b1){var _0x6d3185=_0x41b376,_0x30d137={'jByMG':_0x6d3185(0x1ee),'OdApB':_0x6d3185(0x1d8)};_0x1f52b1[_0x1f52b1[_0x6d3185(0x1f6)]=0x1]='memberIncrease',_0x1f52b1[_0x1f52b1[_0x6d3185(0x1ee)]=0x3]=_0x30d137['jByMG'],_0x1f52b1[_0x1f52b1[_0x30d137['OdApB']]=0x8]=_0x6d3185(0x1d8);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x2be98b=_0x4bd4;(function(_0x194085,_0x480fc0){var _0x37199f=_0x4bd4,_0x4ddf87=_0x194085();while(!![]){try{var _0x3574ef=parseInt(_0x37199f(0x9f))/0x1*(-parseInt(_0x37199f(0xbf))/0x2)+parseInt(_0x37199f(0x9e))/0x3*(-parseInt(_0x37199f(0xb0))/0x4)+parseInt(_0x37199f(0xb9))/0x5*(-parseInt(_0x37199f(0xc9))/0x6)+parseInt(_0x37199f(0xce))/0x7*(parseInt(_0x37199f(0x91))/0x8)+-parseInt(_0x37199f(0x92))/0x9+-parseInt(_0x37199f(0x98))/0xa*(-parseInt(_0x37199f(0xcf))/0xb)+-parseInt(_0x37199f(0xbe))/0xc*(-parseInt(_0x37199f(0xa1))/0xd);if(_0x3574ef===_0x480fc0)break;else _0x4ddf87['push'](_0x4ddf87['shift']());}catch(_0x33f7cb){_0x4ddf87['push'](_0x4ddf87['shift']());}}}(_0x261d,0xc08bf));export var ElementType;(function(_0x14f3a9){var _0x53a2c3=_0x4bd4,_0x29e3c5={'vLruW':_0x53a2c3(0xaa),'lMuJi':_0x53a2c3(0xad),'KDlpS':_0x53a2c3(0xca),'fSrBp':_0x53a2c3(0x95),'rgWnP':_0x53a2c3(0xbc),'KyGnF':_0x53a2c3(0xc4),'AJHyo':_0x53a2c3(0xa0),'jPiNR':'MFACE','STkPP':'FILE','pnfWU':'MARKDOWN','VgBSm':_0x53a2c3(0x9d)},_0x7d7072=_0x29e3c5[_0x53a2c3(0x9c)]['split']('|'),_0x53cfa6=0x0;while(!![]){switch(_0x7d7072[_0x53cfa6++]){case'0':_0x14f3a9[_0x14f3a9[_0x29e3c5[_0x53a2c3(0xc2)]]=0xa]=_0x29e3c5[_0x53a2c3(0xc2)];continue;case'1':_0x14f3a9[_0x14f3a9[_0x29e3c5['KDlpS']]=0x1]=_0x29e3c5[_0x53a2c3(0xa2)];continue;case'2':_0x14f3a9[_0x14f3a9[_0x29e3c5[_0x53a2c3(0x9b)]]=0x7]=_0x29e3c5['fSrBp'];continue;case'3':_0x14f3a9[_0x14f3a9[_0x29e3c5[_0x53a2c3(0xc0)]]=0x4]=_0x29e3c5[_0x53a2c3(0xc0)];continue;case'4':_0x14f3a9[_0x14f3a9[_0x29e3c5['KyGnF']]=0x2]=_0x29e3c5[_0x53a2c3(0xc7)];continue;case'5':_0x14f3a9[_0x14f3a9[_0x29e3c5[_0x53a2c3(0x9a)]]=0x5]=_0x53a2c3(0xa0);continue;case'6':_0x14f3a9[_0x14f3a9[_0x29e3c5[_0x53a2c3(0xba)]]=0xb]=_0x29e3c5['jPiNR'];continue;case'7':_0x14f3a9[_0x14f3a9[_0x29e3c5[_0x53a2c3(0xa9)]]=0x3]='FILE';continue;case'8':_0x14f3a9[_0x14f3a9[_0x29e3c5[_0x53a2c3(0xc8)]]=0xe]='MARKDOWN';continue;case'9':_0x14f3a9[_0x14f3a9[_0x29e3c5['VgBSm']]=0x6]='FACE';continue;}break;}}(ElementType||(ElementType={})));function _0x261d(){var _0x58376f=['33SRhcgg','atAll','5705832SGsTYw','8755650HMiwTs','CBhwD','DiFbe','REPLY','ban','ezWEG','4033630FxVLKn','RwpsQ','AJHyo','fSrBp','vLruW','FACE','1447899FtBMGL','147UvQLGt','VIDEO','13MDpkiz','KDlpS','friend','veYkp','dice','memberIncrease','INVITE_NEW_MEMBER','ZUgfc','STkPP','1|4|7|3|5|9|2|0|6|8','temp','gif','ARK','rZevo','AvAol','12CBuFTE','kyvZg','https://multimedia.nt.qq.com.cn','MEMBER_NEW_TITLE','jaKRM','jpg','normal','atUser','chatDevice','20iTCFfD','jPiNR','zmlEu','PTT','YDddh','29232924zvUSTU','8592xoofLk','rgWnP','qWvTw','lMuJi','QxCOu','PIC','normal2','crUQu','KyGnF','pnfWU','1847538RbTBWj','TEXT','group','face','NsfGT','14VPpdNG'];_0x261d=function(){return _0x58376f;};return _0x261d();}export var PicType;(function(_0x43e588){var _0x3f3cdd=_0x4bd4,_0x4f01c6={'RwpsQ':_0x3f3cdd(0xac),'QxCOu':_0x3f3cdd(0xb5)};_0x43e588[_0x43e588[_0x4f01c6[_0x3f3cdd(0x99)]]=0x7d0]=_0x3f3cdd(0xac),_0x43e588[_0x43e588[_0x4f01c6[_0x3f3cdd(0xc3)]]=0x3e8]=_0x3f3cdd(0xb5);}(PicType||(PicType={})));export var PicSubType;(function(_0x231b77){var _0x4fb152=_0x4bd4,_0x3c0fb0={'jaKRM':_0x4fb152(0xb6),'rZevo':_0x4fb152(0xcc)};_0x231b77[_0x231b77[_0x3c0fb0[_0x4fb152(0xb4)]]=0x0]=_0x4fb152(0xb6),_0x231b77[_0x231b77[_0x3c0fb0['rZevo']]=0x1]=_0x3c0fb0[_0x4fb152(0xae)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x82a951){var _0x5a5066=_0x4bd4,_0x21f8f9={'zmlEu':'notAt','FJiWv':_0x5a5066(0xd0),'DiFbe':_0x5a5066(0xb7)};_0x82a951[_0x82a951['notAt']=0x0]=_0x21f8f9[_0x5a5066(0xbb)],_0x82a951[_0x82a951[_0x21f8f9['FJiWv']]=0x1]=_0x21f8f9['FJiWv'],_0x82a951[_0x82a951[_0x21f8f9[_0x5a5066(0x94)]]=0x2]=_0x21f8f9[_0x5a5066(0x94)];}(AtType||(AtType={})));export var ChatType;(function(_0x2ac741){var _0x319b94=_0x4bd4,_0x7bda9c={'nKXfo':_0x319b94(0xa3),'ezWEG':_0x319b94(0xcb),'CBhwD':_0x319b94(0xb8),'qWvTw':'temp'};_0x2ac741[_0x2ac741[_0x319b94(0xa3)]=0x1]=_0x7bda9c['nKXfo'],_0x2ac741[_0x2ac741[_0x7bda9c[_0x319b94(0x97)]]=0x2]=_0x7bda9c['ezWEG'],_0x2ac741[_0x2ac741['chatDevice']=0x8]=_0x7bda9c[_0x319b94(0x93)],_0x2ac741[_0x2ac741[_0x7bda9c[_0x319b94(0xc1)]]=0x64]=_0x319b94(0xab);}(ChatType||(ChatType={})));function _0x4bd4(_0x1d5330,_0x430597){var _0x261dca=_0x261d();return _0x4bd4=function(_0x4bd40d,_0x9b60a6){_0x4bd40d=_0x4bd40d-0x91;var _0x35371d=_0x261dca[_0x4bd40d];return _0x35371d;},_0x4bd4(_0x1d5330,_0x430597);}export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x2be98b(0xb2);export var GrayTipElementSubType;(function(_0x375728){var _0x1cc436=_0x2be98b,_0x4529ca={'veYkp':'INVITE_NEW_MEMBER','YDddh':_0x1cc436(0xb3)};_0x375728[_0x375728[_0x1cc436(0xa7)]=0xc]=_0x4529ca[_0x1cc436(0xa4)],_0x375728[_0x375728[_0x4529ca[_0x1cc436(0xbd)]]=0x11]=_0x4529ca[_0x1cc436(0xbd)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x42629e){var _0x351105=_0x2be98b,_0x18b5b7={'ZUgfc':_0x351105(0xb6),'NsfGT':_0x351105(0xc5),'gEBSD':_0x351105(0xa5)};_0x42629e[_0x42629e[_0x18b5b7['ZUgfc']]=0x1]=_0x18b5b7[_0x351105(0xa8)],_0x42629e[_0x42629e['normal2']=0x2]=_0x18b5b7[_0x351105(0xcd)],_0x42629e[_0x42629e[_0x351105(0xa5)]=0x3]=_0x18b5b7['gEBSD'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x2207f2){var _0x4fa341=_0x2be98b,_0x16fe1d={'crUQu':'RPS'};_0x2207f2[_0x2207f2[_0x4fa341(0xa5)]=0x166]=_0x4fa341(0xa5),_0x2207f2[_0x2207f2[_0x16fe1d[_0x4fa341(0xc6)]]=0x167]=_0x16fe1d['crUQu'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x381f79){var _0x3bf20c=_0x2be98b,_0x1a1611={'AvAol':'kicked','kyvZg':_0x3bf20c(0x96)};_0x381f79[_0x381f79['memberIncrease']=0x1]=_0x3bf20c(0xa6),_0x381f79[_0x381f79[_0x1a1611[_0x3bf20c(0xaf)]]=0x3]=_0x1a1611[_0x3bf20c(0xaf)],_0x381f79[_0x381f79[_0x3bf20c(0x96)]=0x8]=_0x1a1611[_0x3bf20c(0xb1)];}(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 13296db5..249d02b7 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x597755,_0x495d5b){var _0x47ee60=_0x3ba9,_0x53437c=_0x597755();while(!![]){try{var _0x1f8aa0=parseInt(_0x47ee60(0x132))/0x1+parseInt(_0x47ee60(0x11e))/0x2+-parseInt(_0x47ee60(0x126))/0x3+parseInt(_0x47ee60(0x129))/0x4+-parseInt(_0x47ee60(0x121))/0x5*(-parseInt(_0x47ee60(0x134))/0x6)+parseInt(_0x47ee60(0x11d))/0x7+-parseInt(_0x47ee60(0x12f))/0x8;if(_0x1f8aa0===_0x495d5b)break;else _0x53437c['push'](_0x53437c['shift']());}catch(_0x47c442){_0x53437c['push'](_0x53437c['shift']());}}}(_0x4f72,0x36c78));export var GroupNotifyTypes;(function(_0x42092b){var _0x146440=_0x3ba9,_0x2d617d={'WmUTX':'1|0|7|3|2|4|6|5','RshSK':'INVITED_JOIN','FiHVa':'INVITE_ME','PVhaW':_0x146440(0x124),'YYbcU':_0x146440(0x12e),'HBYIM':_0x146440(0x133),'hNtNd':'ADMIN_UNSET_OTHER','XzmFW':_0x146440(0x118),'DPknG':_0x146440(0x12b)},_0x556669=_0x2d617d['WmUTX'][_0x146440(0x136)]('|'),_0x210252=0x0;while(!![]){switch(_0x556669[_0x210252++]){case'0':_0x42092b[_0x42092b[_0x2d617d[_0x146440(0x135)]]=0x4]=_0x2d617d[_0x146440(0x135)];continue;case'1':_0x42092b[_0x42092b[_0x2d617d[_0x146440(0x12c)]]=0x1]=_0x2d617d[_0x146440(0x12c)];continue;case'2':_0x42092b[_0x42092b[_0x2d617d[_0x146440(0x130)]]=0x9]=_0x2d617d['PVhaW'];continue;case'3':_0x42092b[_0x42092b[_0x2d617d[_0x146440(0x11a)]]=0x8]=_0x2d617d[_0x146440(0x11a)];continue;case'4':_0x42092b[_0x42092b[_0x2d617d[_0x146440(0x131)]]=0xb]=_0x2d617d[_0x146440(0x131)];continue;case'5':_0x42092b[_0x42092b[_0x2d617d[_0x146440(0x12a)]]=0xd]=_0x146440(0x127);continue;case'6':_0x42092b[_0x42092b[_0x2d617d[_0x146440(0x117)]]=0xc]=_0x146440(0x118);continue;case'7':_0x42092b[_0x42092b[_0x2d617d['DPknG']]=0x7]=_0x2d617d[_0x146440(0x119)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x3ba9(_0x363fa6,_0x4a4417){var _0x4f7201=_0x4f72();return _0x3ba9=function(_0x3ba98f,_0x4940ff){_0x3ba98f=_0x3ba98f-0x117;var _0x1598fa=_0x4f7201[_0x3ba98f];return _0x1598fa;},_0x3ba9(_0x363fa6,_0x4a4417);}export var GroupNotifyStatus;(function(_0x2c1a48){var _0x3cd212=_0x3ba9,_0x108bfa={'FFrqV':_0x3cd212(0x11c),'mmKwz':'APPROVE','MdUSB':_0x3cd212(0x122)};_0x2c1a48[_0x2c1a48[_0x3cd212(0x120)]=0x0]=_0x3cd212(0x120),_0x2c1a48[_0x2c1a48[_0x108bfa[_0x3cd212(0x123)]]=0x1]=_0x108bfa[_0x3cd212(0x123)],_0x2c1a48[_0x2c1a48[_0x108bfa[_0x3cd212(0x12d)]]=0x2]=_0x108bfa[_0x3cd212(0x12d)],_0x2c1a48[_0x2c1a48[_0x3cd212(0x122)]=0x3]=_0x108bfa[_0x3cd212(0x11f)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x4f72(){var _0x477d17=['ADMIN_UNSET_OTHER','approve','1363320mSZoUD','hNtNd','JOIN_REQUEST','FiHVa','mmKwz','ADMIN_SET','8323784ecKLSV','PVhaW','HBYIM','163549FiTSob','MEMBER_EXIT','347946uHQutX','RshSK','split','XzmFW','ADMIN_UNSET','DPknG','YYbcU','reject','WAIT_HANDLE','2885211wbBSFD','598888Pbgtzq','MdUSB','IGNORE','20TIqfla','REJECT','FFrqV','KICK_MEMBER','pNUWl','549333IUIRPO'];_0x4f72=function(){return _0x477d17;};return _0x4f72();}(function(_0x2bd852){var _0x407584=_0x3ba9,_0x316115={'pNUWl':_0x407584(0x128),'fzYUx':_0x407584(0x11b)};_0x2bd852[_0x2bd852[_0x316115[_0x407584(0x125)]]=0x1]=_0x316115[_0x407584(0x125)],_0x2bd852[_0x2bd852[_0x407584(0x11b)]=0x2]=_0x316115['fzYUx'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +function _0x1e04(_0x259e7c,_0x54e210){var _0x475f6c=_0x475f();return _0x1e04=function(_0x1e04cf,_0x27833d){_0x1e04cf=_0x1e04cf-0xf3;var _0x1a58db=_0x475f6c[_0x1e04cf];return _0x1a58db;},_0x1e04(_0x259e7c,_0x54e210);}(function(_0x31b212,_0x135822){var _0x5559da=_0x1e04,_0x21d1b0=_0x31b212();while(!![]){try{var _0x2b9011=parseInt(_0x5559da(0x100))/0x1*(parseInt(_0x5559da(0xf4))/0x2)+-parseInt(_0x5559da(0x112))/0x3*(parseInt(_0x5559da(0x114))/0x4)+-parseInt(_0x5559da(0xf8))/0x5+-parseInt(_0x5559da(0x10c))/0x6*(parseInt(_0x5559da(0x116))/0x7)+parseInt(_0x5559da(0x106))/0x8+parseInt(_0x5559da(0xf7))/0x9+-parseInt(_0x5559da(0x110))/0xa*(-parseInt(_0x5559da(0x109))/0xb);if(_0x2b9011===_0x135822)break;else _0x21d1b0['push'](_0x21d1b0['shift']());}catch(_0x24902e){_0x21d1b0['push'](_0x21d1b0['shift']());}}}(_0x475f,0x9cde7));export var GroupNotifyTypes;(function(_0x5e075b){var _0x245533=_0x1e04,_0x45b6df={'JSwmt':_0x245533(0x104),'ILqxn':_0x245533(0x10b),'LHGzz':_0x245533(0xfa),'nMJQn':'JOIN_REQUEST','PdfxE':_0x245533(0x115),'CdmbI':'ADMIN_UNSET','BQXmo':'INVITE_ME','netdt':_0x245533(0xfc)},_0x1c375b=_0x45b6df[_0x245533(0x102)][_0x245533(0xf3)]('|'),_0x417275=0x0;while(!![]){switch(_0x1c375b[_0x417275++]){case'0':_0x5e075b[_0x5e075b[_0x45b6df['ILqxn']]=0x9]=_0x45b6df[_0x245533(0x108)];continue;case'1':_0x5e075b[_0x5e075b[_0x45b6df['LHGzz']]=0x8]=_0x45b6df['LHGzz'];continue;case'2':_0x5e075b[_0x5e075b['INVITED_JOIN']=0x4]=_0x245533(0x113);continue;case'3':_0x5e075b[_0x5e075b[_0x45b6df[_0x245533(0x10f)]]=0x7]=_0x45b6df[_0x245533(0x10f)];continue;case'4':_0x5e075b[_0x5e075b[_0x45b6df[_0x245533(0x105)]]=0xd]=_0x45b6df[_0x245533(0x105)];continue;case'5':_0x5e075b[_0x5e075b[_0x45b6df[_0x245533(0xfe)]]=0xc]=_0x245533(0xfd);continue;case'6':_0x5e075b[_0x5e075b[_0x45b6df['BQXmo']]=0x1]=_0x45b6df[_0x245533(0x111)];continue;case'7':_0x5e075b[_0x5e075b[_0x245533(0xfc)]=0xb]=_0x45b6df['netdt'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x475f(){var _0x213cad=['MEMBER_EXIT','ADMIN_UNSET','CdmbI','reject','351629aSiAFf','REJECT','JSwmt','CbzkV','6|2|3|1|0|7|5|4','PdfxE','6496400wgFesa','MmqTR','ILqxn','11LTKkZV','IGNORE','KICK_MEMBER','3608670iGgLql','pRTnI','QbyBS','nMJQn','12309710unMRnd','BQXmo','3562698MCainq','INVITED_JOIN','4TZVjCP','ADMIN_UNSET_OTHER','7TDZilz','split','2uKtexR','WAIT_HANDLE','approve','4298517tqoIaa','2203585fFuOvI','APPROVE','ADMIN_SET','nNyyM'];_0x475f=function(){return _0x213cad;};return _0x475f();}export var GroupNotifyStatus;(function(_0x5aa78a){var _0x47d714=_0x1e04,_0x57ea34={'QbyBS':'IGNORE','ZFusV':_0x47d714(0xf5),'CbzkV':_0x47d714(0xf9),'nNyyM':_0x47d714(0x101)};_0x5aa78a[_0x5aa78a[_0x57ea34[_0x47d714(0x10e)]]=0x0]=_0x47d714(0x10a),_0x5aa78a[_0x5aa78a[_0x57ea34['ZFusV']]=0x1]=_0x57ea34['ZFusV'],_0x5aa78a[_0x5aa78a[_0x57ea34[_0x47d714(0x103)]]=0x2]=_0x47d714(0xf9),_0x5aa78a[_0x5aa78a[_0x57ea34[_0x47d714(0xfb)]]=0x3]=_0x57ea34[_0x47d714(0xfb)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x4324b9){var _0x38ebfe=_0x1e04,_0xa53fe3={'pRTnI':_0x38ebfe(0xf6),'MmqTR':_0x38ebfe(0xff)};_0x4324b9[_0x4324b9[_0xa53fe3[_0x38ebfe(0x10d)]]=0x1]=_0xa53fe3[_0x38ebfe(0x10d)],_0x4324b9[_0x4324b9[_0xa53fe3[_0x38ebfe(0x107)]]=0x2]=_0xa53fe3[_0x38ebfe(0x107)];}(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 f91c1f0e..a7c1ead6 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x4121c2,_0x3a8bee){var _0x24f3b6=_0x34b7,_0x1faed3=_0x4121c2();while(!![]){try{var _0x5e0c2d=parseInt(_0x24f3b6(0x188))/0x1+parseInt(_0x24f3b6(0x192))/0x2+-parseInt(_0x24f3b6(0x18f))/0x3*(parseInt(_0x24f3b6(0x187))/0x4)+parseInt(_0x24f3b6(0x185))/0x5+-parseInt(_0x24f3b6(0x189))/0x6*(-parseInt(_0x24f3b6(0x186))/0x7)+-parseInt(_0x24f3b6(0x18e))/0x8+parseInt(_0x24f3b6(0x18a))/0x9*(-parseInt(_0x24f3b6(0x190))/0xa);if(_0x5e0c2d===_0x3a8bee)break;else _0x1faed3['push'](_0x1faed3['shift']());}catch(_0x22b0c3){_0x1faed3['push'](_0x1faed3['shift']());}}}(_0x121a,0xe7e53));function _0x34b7(_0x5436d7,_0xb54fe1){var _0x121ac7=_0x121a();return _0x34b7=function(_0x34b7f3,_0x3bc3fc){_0x34b7f3=_0x34b7f3-0x185;var _0xd1cff6=_0x121ac7[_0x34b7f3];return _0xd1cff6;},_0x34b7(_0x5436d7,_0xb54fe1);}export var Sex;function _0x121a(){var _0x14c1fc=['745026OHeVaF','495174cVhLTD','16551QHrdYN','male','VKQTj','female','1297288AiBdRI','4328151mUPdnO','3620XlDDEF','unknown','960396tcgIpt','4199045zncOin','98OUgwUY','4vkINsT'];_0x121a=function(){return _0x14c1fc;};return _0x121a();}(function(_0x447638){var _0x5f25e4=_0x34b7,_0x25373c={'VKQTj':_0x5f25e4(0x18b),'eYdrQ':_0x5f25e4(0x18d)};_0x447638[_0x447638[_0x25373c[_0x5f25e4(0x18c)]]=0x1]=_0x5f25e4(0x18b),_0x447638[_0x447638[_0x25373c['eYdrQ']]=0x2]=_0x25373c['eYdrQ'],_0x447638[_0x447638[_0x5f25e4(0x191)]=0xff]=_0x5f25e4(0x191);}(Sex||(Sex={}))); \ No newline at end of file +function _0x2059(_0x8f30f1,_0x1648ef){var _0x4144f7=_0x4144();return _0x2059=function(_0x20597b,_0x44debc){_0x20597b=_0x20597b-0xc6;var _0x33a2a7=_0x4144f7[_0x20597b];return _0x33a2a7;},_0x2059(_0x8f30f1,_0x1648ef);}(function(_0x101921,_0x44b45a){var _0x607065=_0x2059,_0x4bb187=_0x101921();while(!![]){try{var _0x266791=-parseInt(_0x607065(0xd3))/0x1*(-parseInt(_0x607065(0xc9))/0x2)+-parseInt(_0x607065(0xce))/0x3+-parseInt(_0x607065(0xd2))/0x4+parseInt(_0x607065(0xca))/0x5+parseInt(_0x607065(0xcf))/0x6+-parseInt(_0x607065(0xc7))/0x7*(-parseInt(_0x607065(0xd4))/0x8)+-parseInt(_0x607065(0xc8))/0x9;if(_0x266791===_0x44b45a)break;else _0x4bb187['push'](_0x4bb187['shift']());}catch(_0x5a0f6b){_0x4bb187['push'](_0x4bb187['shift']());}}}(_0x4144,0x1c46f));export var Sex;function _0x4144(){var _0x1651e5=['FFveT','234264DwKBOP','2bXAXYu','88sWOtam','fIDcO','61145acXDEq','768564GHPACQ','186712ZxuwIR','146185xJxuxO','female','blWLe','unknown','160764OOOkip','8034FMqBeE','male'];_0x4144=function(){return _0x1651e5;};return _0x4144();}(function(_0x1ae79a){var _0x589bcc=_0x2059,_0x30bb20={'FFveT':_0x589bcc(0xd0),'fIDcO':_0x589bcc(0xcb),'blWLe':_0x589bcc(0xcd)};_0x1ae79a[_0x1ae79a[_0x30bb20[_0x589bcc(0xd1)]]=0x1]=_0x30bb20[_0x589bcc(0xd1)],_0x1ae79a[_0x1ae79a[_0x30bb20['fIDcO']]=0x2]=_0x30bb20[_0x589bcc(0xc6)],_0x1ae79a[_0x1ae79a[_0x30bb20[_0x589bcc(0xcc)]]=0xff]=_0x30bb20[_0x589bcc(0xcc)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/external/hook.js b/src/core.lib/src/external/hook.js index 60e8bd6d..30b67e40 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -function _0x1860(){const _0x171781=['38996PiKyUo','11343656SkAewi','1095372nLfwOb','2307390gFAQtZ','moeHook','8050203bfFnxf','./MoeHoo.node','MoeHoo','version','745626COJzYr','加载\x20moehoo\x20失败','GetRkey','919436jphveU','getRKey','rGYgp','lNcMk','21ozlCUD'];_0x1860=function(){return _0x171781;};return _0x1860();}const _0x1ac1a6=_0x280a;(function(_0x58cc48,_0x3a610f){const _0x471a9b=_0x280a,_0x13b615=_0x58cc48();while(!![]){try{const _0x362cb0=-parseInt(_0x471a9b(0x10a))/0x1+-parseInt(_0x471a9b(0x10d))/0x2+-parseInt(_0x471a9b(0x111))/0x3*(-parseInt(_0x471a9b(0x112))/0x4)+-parseInt(_0x471a9b(0x104))/0x5+-parseInt(_0x471a9b(0x114))/0x6+parseInt(_0x471a9b(0x106))/0x7+parseInt(_0x471a9b(0x113))/0x8;if(_0x362cb0===_0x3a610f)break;else _0x13b615['push'](_0x13b615['shift']());}catch(_0x43e270){_0x13b615['push'](_0x13b615['shift']());}}}(_0x1860,0xc019d));function _0x280a(_0x21e7fa,_0x26fb44){const _0x186066=_0x1860();return _0x280a=function(_0x280a76,_0xfe9f97){_0x280a76=_0x280a76-0x104;let _0x1ae29c=_0x186066[_0x280a76];return _0x1ae29c;},_0x280a(_0x21e7fa,_0x26fb44);}import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0x1ac1a6(0x105)]=null;constructor(){const _0x5389f1=_0x1ac1a6,_0x2311a8={'rGYgp':function(_0x5766d3,_0x56c9e7){return _0x5766d3(_0x56c9e7);},'lNcMk':_0x5389f1(0x108),'YLtxV':function(_0x469064,_0x1d0254,_0x3cbacb){return _0x469064(_0x1d0254,_0x3cbacb);},'YxUGF':_0x5389f1(0x10b)};try{_0x2311a8[_0x5389f1(0x10f)](cpModule,_0x2311a8[_0x5389f1(0x110)]),this[_0x5389f1(0x105)]=_0x2311a8['rGYgp'](require,_0x5389f1(0x107)),this[_0x5389f1(0x105)]['HookRkey'](qqPkgInfo[_0x5389f1(0x109)]);}catch(_0x1ce521){_0x2311a8['YLtxV'](logError,_0x2311a8['YxUGF'],_0x1ce521);}}[_0x1ac1a6(0x10e)](){const _0x4cb616=_0x1ac1a6;return this[_0x4cb616(0x105)]?.[_0x4cb616(0x10c)]()||'';}['isAvailable'](){const _0x438ac2=_0x1ac1a6;return!!this[_0x438ac2(0x105)];}}export const hookApi=new HookApi(); \ No newline at end of file +const _0x340516=_0x3471;(function(_0x501a21,_0x99fe5){const _0x4ba6a6=_0x3471,_0x323f13=_0x501a21();while(!![]){try{const _0x97734e=parseInt(_0x4ba6a6(0x1b7))/0x1+parseInt(_0x4ba6a6(0x1ba))/0x2+parseInt(_0x4ba6a6(0x1c5))/0x3+parseInt(_0x4ba6a6(0x1b8))/0x4+-parseInt(_0x4ba6a6(0x1b3))/0x5*(parseInt(_0x4ba6a6(0x1c4))/0x6)+parseInt(_0x4ba6a6(0x1bf))/0x7*(parseInt(_0x4ba6a6(0x1b9))/0x8)+parseInt(_0x4ba6a6(0x1bb))/0x9*(-parseInt(_0x4ba6a6(0x1c1))/0xa);if(_0x97734e===_0x99fe5)break;else _0x323f13['push'](_0x323f13['shift']());}catch(_0x2a1f8b){_0x323f13['push'](_0x323f13['shift']());}}}(_0x50a6,0xe44ca));import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{[_0x340516(0x1c0)]=null;constructor(){const _0x30fc6e=_0x340516,_0x387104={'XxcDi':function(_0x3dbc91,_0x4178f9){return _0x3dbc91(_0x4178f9);},'vfrVw':_0x30fc6e(0x1bc),'VSQcV':function(_0x2dba55,_0x4238e7){return _0x2dba55(_0x4238e7);},'EdTsY':_0x30fc6e(0x1b0),'vOLZE':function(_0x512263,_0x582629,_0x1b22ec){return _0x512263(_0x582629,_0x1b22ec);},'sbQTI':_0x30fc6e(0x1bd)};try{_0x387104[_0x30fc6e(0x1b1)](cpModule,_0x387104[_0x30fc6e(0x1c3)]),this[_0x30fc6e(0x1c0)]=_0x387104[_0x30fc6e(0x1c2)](require,_0x387104[_0x30fc6e(0x1b2)]),this[_0x30fc6e(0x1c0)]['HookRkey'](qqPkgInfo[_0x30fc6e(0x1b6)]);}catch(_0x9d943c){_0x387104[_0x30fc6e(0x1be)](logError,_0x387104['sbQTI'],_0x9d943c);}}['getRKey'](){const _0x5dc586=_0x340516;return this['moeHook']?.[_0x5dc586(0x1b4)]()||'';}[_0x340516(0x1b5)](){const _0x199df7=_0x340516;return!!this[_0x199df7(0x1c0)];}}export const hookApi=new HookApi();function _0x3471(_0x173fff,_0x34943b){const _0x50a6ab=_0x50a6();return _0x3471=function(_0x347144,_0xf8a701){_0x347144=_0x347144-0x1b0;let _0x1081f1=_0x50a6ab[_0x347144];return _0x1081f1;},_0x3471(_0x173fff,_0x34943b);}function _0x50a6(){const _0x2e928e=['1783010MEWdtz','9VrWefR','MoeHoo','加载\x20moehoo\x20失败','vOLZE','32074ACnrzo','moeHook','9527090uDIRrD','VSQcV','vfrVw','654BiJqkX','3299088ZRHZNo','./MoeHoo.node','XxcDi','EdTsY','31945ducAMR','GetRkey','isAvailable','version','241707kRSEdH','213944JzMmQM','520zWlbEe'];_0x50a6=function(){return _0x2e928e;};return _0x50a6();} \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 68543756..f15d6670 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x13a88e,_0x1944b1){var _0x198dbd=_0x4ffc,_0x5ca256=_0x13a88e();while(!![]){try{var _0x56daeb=parseInt(_0x198dbd(0x83))/0x1+-parseInt(_0x198dbd(0x82))/0x2*(-parseInt(_0x198dbd(0x7f))/0x3)+parseInt(_0x198dbd(0x7e))/0x4*(parseInt(_0x198dbd(0x81))/0x5)+parseInt(_0x198dbd(0x80))/0x6*(-parseInt(_0x198dbd(0x7a))/0x7)+-parseInt(_0x198dbd(0x79))/0x8+-parseInt(_0x198dbd(0x7b))/0x9+-parseInt(_0x198dbd(0x7d))/0xa*(-parseInt(_0x198dbd(0x7c))/0xb);if(_0x56daeb===_0x1944b1)break;else _0x5ca256['push'](_0x5ca256['shift']());}catch(_0xb8e0d2){_0x5ca256['push'](_0x5ca256['shift']());}}}(_0x37eb,0x1eb8b));import _0x1319bf from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';function _0x37eb(){var _0x57c55b=['727617qlMurs','10zDAJgz','103468OhYigi','3951rnfBSz','6114xvnsNO','10LhPIzf','326NRtZQp','135744BMQCqH','1008384rXVXgd','1393xJgdoD','122688LmtMUL'];_0x37eb=function(){return _0x57c55b;};return _0x37eb();}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{_0x1319bf as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x4ffc(_0x5d1c44,_0x2e18fb){var _0x37ebf7=_0x37eb();return _0x4ffc=function(_0x4ffc1c,_0x105737){_0x4ffc1c=_0x4ffc1c-0x79;var _0x31e3fb=_0x37ebf7[_0x4ffc1c];return _0x31e3fb;},_0x4ffc(_0x5d1c44,_0x2e18fb);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x2ea9da,_0xc262cd){var _0x325599=_0x305c,_0x53e682=_0x2ea9da();while(!![]){try{var _0x1a8d79=parseInt(_0x325599(0x1aa))/0x1*(parseInt(_0x325599(0x1ab))/0x2)+parseInt(_0x325599(0x1b1))/0x3+parseInt(_0x325599(0x1af))/0x4*(parseInt(_0x325599(0x1ae))/0x5)+-parseInt(_0x325599(0x1a7))/0x6+-parseInt(_0x325599(0x1b0))/0x7*(-parseInt(_0x325599(0x1ad))/0x8)+-parseInt(_0x325599(0x1ac))/0x9+-parseInt(_0x325599(0x1a8))/0xa*(parseInt(_0x325599(0x1a9))/0xb);if(_0x1a8d79===_0xc262cd)break;else _0x53e682['push'](_0x53e682['shift']());}catch(_0x30dc8f){_0x53e682['push'](_0x53e682['shift']());}}}(_0x6822,0x1e943));import _0xf8c758 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';function _0x305c(_0x11f190,_0x111fea){var _0x682264=_0x6822();return _0x305c=function(_0x305ca4,_0xd1773f){_0x305ca4=_0x305ca4-0x1a7;var _0x27fddb=_0x682264[_0x305ca4];return _0x27fddb;},_0x305c(_0x11f190,_0x111fea);}function _0x6822(){var _0xfcb141=['4vXioFf','1183932rFmvey','26168ezFiTe','5ecreEt','500156VFZcpb','329BNXSRM','388857gMffdE','567822QthWYA','2272930hLgnCq','11iOjBKq','85167dRGYTi'];_0x6822=function(){return _0xfcb141;};return _0x6822();}export*as Listeners from'./listeners';export*as Services from'./services';export{_0xf8c758 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 53b4bc19..fc8b92dd 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x5e2e93=_0x448f;function _0x448f(_0x493fe3,_0x2158c3){var _0x4da3dc=_0x4da3();return _0x448f=function(_0x448f39,_0x23216b){_0x448f39=_0x448f39-0xd3;var _0x2e782a=_0x4da3dc[_0x448f39];return _0x2e782a;},_0x448f(_0x493fe3,_0x2158c3);}(function(_0x545901,_0x38fee5){var _0x20c67b=_0x448f,_0x63a21a=_0x545901();while(!![]){try{var _0x5cadd3=-parseInt(_0x20c67b(0xdf))/0x1*(parseInt(_0x20c67b(0xe0))/0x2)+-parseInt(_0x20c67b(0xd5))/0x3*(-parseInt(_0x20c67b(0xe3))/0x4)+parseInt(_0x20c67b(0xe9))/0x5*(-parseInt(_0x20c67b(0xd9))/0x6)+parseInt(_0x20c67b(0xdd))/0x7*(parseInt(_0x20c67b(0xd3))/0x8)+parseInt(_0x20c67b(0xe7))/0x9+-parseInt(_0x20c67b(0xe2))/0xa*(-parseInt(_0x20c67b(0xda))/0xb)+-parseInt(_0x20c67b(0xde))/0xc*(parseInt(_0x20c67b(0xe1))/0xd);if(_0x5cadd3===_0x38fee5)break;else _0x63a21a['push'](_0x63a21a['shift']());}catch(_0x1ff5ce){_0x63a21a['push'](_0x63a21a['shift']());}}}(_0x4da3,0x3bddc));function _0x4da3(){var _0xab4837=['6wiEJYi','11tXxDCE','onAddBuddyNeedVerify','onBuddyReqChange','370132ZvdxgM','154932njpEFz','23SpwXiz','32206wQeyHu','91nMtVLp','1930920ruWvgf','3284Bdtgzo','onBuddyListChange','onAddMeSettingChanged','onBlockChanged','2927817qaYWJQ','onNickUpdated','2241255PDgwLR','48odfIAn','onBuddyRemarkUpdated','1164BDeXzy','onDoubtBuddyReqChange','onDelBatchBuddyInfos','onCheckBuddySettingResult'];_0x4da3=function(){return _0xab4837;};return _0x4da3();}export class BuddyListener{[_0x5e2e93(0xdb)](_0x135116){}[_0x5e2e93(0xe5)](_0x204191){}['onAvatarUrlUpdated'](_0x44c0e9){}[_0x5e2e93(0xe6)](_0x565b23){}['onBuddyDetailInfoChange'](_0x9110f9){}['onBuddyInfoChange'](_0x370f23){}[_0x5e2e93(0xe4)](_0x5e48c9){}[_0x5e2e93(0xd4)](_0x5b2893){}[_0x5e2e93(0xdc)](_0x2d589f){}['onBuddyReqUnreadCntChange'](_0x343d8c){}[_0x5e2e93(0xd8)](_0x16b0c8){}[_0x5e2e93(0xd7)](_0x4bc251){}[_0x5e2e93(0xd6)](_0x47910f){}['onDoubtBuddyReqUnreadNumChange'](_0x52844f){}[_0x5e2e93(0xe8)](_0xf52363){}['onSmartInfos'](_0x5bb423){}['onSpacePermissionInfos'](_0x586f7b){}} \ No newline at end of file +function _0x297c(_0x4072e4,_0x2917e7){var _0x5395f2=_0x5395();return _0x297c=function(_0x297cdb,_0x8cdee8){_0x297cdb=_0x297cdb-0xb9;var _0x58deae=_0x5395f2[_0x297cdb];return _0x58deae;},_0x297c(_0x4072e4,_0x2917e7);}function _0x5395(){var _0x2a9e4a=['4289327LWlLEm','2FAuMkb','10iftOsB','8ELzBkq','onBuddyInfoChange','onBuddyReqChange','6IyvjRt','onBlockChanged','62679vntNpo','onCheckBuddySettingResult','onBuddyReqUnreadCntChange','onDoubtBuddyReqUnreadNumChange','5243337DoqikG','onSmartInfos','4062670XjWOZD','onSpacePermissionInfos','onBuddyListChange','3286916HvPVMh','onDelBatchBuddyInfos','onDoubtBuddyReqChange','22561627rxzobD','onAddMeSettingChanged','884931ZzwOGS','onBuddyRemarkUpdated'];_0x5395=function(){return _0x2a9e4a;};return _0x5395();}var _0x3c411=_0x297c;(function(_0x23e7ba,_0x178bb4){var _0x221656=_0x297c,_0x130fbd=_0x23e7ba();while(!![]){try{var _0x40d7a4=-parseInt(_0x221656(0xbe))/0x1*(parseInt(_0x221656(0xcf))/0x2)+-parseInt(_0x221656(0xcc))/0x3+-parseInt(_0x221656(0xc7))/0x4+parseInt(_0x221656(0xc4))/0x5+-parseInt(_0x221656(0xbc))/0x6*(parseInt(_0x221656(0xce))/0x7)+parseInt(_0x221656(0xb9))/0x8*(-parseInt(_0x221656(0xc2))/0x9)+parseInt(_0x221656(0xd0))/0xa*(parseInt(_0x221656(0xca))/0xb);if(_0x40d7a4===_0x178bb4)break;else _0x130fbd['push'](_0x130fbd['shift']());}catch(_0xc093f6){_0x130fbd['push'](_0x130fbd['shift']());}}}(_0x5395,0x77594));export class BuddyListener{['onAddBuddyNeedVerify'](_0x4ae79e){}[_0x3c411(0xcb)](_0x630926){}['onAvatarUrlUpdated'](_0x445d30){}[_0x3c411(0xbd)](_0x48f0a2){}['onBuddyDetailInfoChange'](_0x18a08d){}[_0x3c411(0xba)](_0xe2dd21){}[_0x3c411(0xc6)](_0x1a32a9){}[_0x3c411(0xcd)](_0x145c0e){}[_0x3c411(0xbb)](_0x5befe4){}[_0x3c411(0xc0)](_0x2c9397){}[_0x3c411(0xbf)](_0xece04f){}[_0x3c411(0xc8)](_0x309625){}[_0x3c411(0xc9)](_0x5fbc19){}[_0x3c411(0xc1)](_0x444148){}['onNickUpdated'](_0x4a0c7c){}[_0x3c411(0xc3)](_0xa1bda1){}[_0x3c411(0xc5)](_0x437688){}} \ 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 274a7e66..b391aac6 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x2d54cf=_0x2959;(function(_0x167b23,_0x6f61fd){var _0x1cc876=_0x2959,_0x408d95=_0x167b23();while(!![]){try{var _0x5dfea5=-parseInt(_0x1cc876(0x1dc))/0x1+-parseInt(_0x1cc876(0x1e4))/0x2+parseInt(_0x1cc876(0x1e0))/0x3+parseInt(_0x1cc876(0x1df))/0x4+-parseInt(_0x1cc876(0x1e3))/0x5+-parseInt(_0x1cc876(0x1dd))/0x6+parseInt(_0x1cc876(0x1de))/0x7*(parseInt(_0x1cc876(0x1e6))/0x8);if(_0x5dfea5===_0x6f61fd)break;else _0x408d95['push'](_0x408d95['shift']());}catch(_0x3c571f){_0x408d95['push'](_0x408d95['shift']());}}}(_0x1319,0xc2e14));function _0x2959(_0xb20dd4,_0x52156a){var _0x131976=_0x1319();return _0x2959=function(_0x2959e3,_0x23de0a){_0x2959e3=_0x2959e3-0x1dc;var _0x43ae27=_0x131976[_0x2959e3];return _0x43ae27;},_0x2959(_0xb20dd4,_0x52156a);}export class KernelFileAssistantListener{[_0x2d54cf(0x1e2)](..._0x3ab31e){}['onSessionListChanged'](..._0x5e3fe4){}[_0x2d54cf(0x1e1)](..._0x58a28b){}[_0x2d54cf(0x1e5)](..._0x105507){}['onFileSearch'](..._0x49457d){}}function _0x1319(){var _0x28da1b=['1289285OCwuYk','4177734lSXatx','112fpnEqa','6279188lRgRGj','3238230FViXtW','onSessionChanged','onFileStatusChanged','1542615nIvDiJ','1012036voICmL','onFileListChanged','474568sPSKXC'];_0x1319=function(){return _0x28da1b;};return _0x1319();} \ No newline at end of file +var _0x306d8a=_0x54d7;function _0x5df3(){var _0x1850c0=['onSessionListChanged','onSessionChanged','2568543UWvwwU','90xlfMdo','128725uIAtlm','2518888LZwlys','1471542PHCtDS','onFileStatusChanged','4tTpSaw','621287YJMTof','onFileSearch','2368944oolUnM','7Pjlcpu','5053530HJNGFZ'];_0x5df3=function(){return _0x1850c0;};return _0x5df3();}function _0x54d7(_0x38f240,_0xa3ec1f){var _0x5df3be=_0x5df3();return _0x54d7=function(_0x54d765,_0x5444c9){_0x54d765=_0x54d765-0x178;var _0x3e967d=_0x5df3be[_0x54d765];return _0x3e967d;},_0x54d7(_0x38f240,_0xa3ec1f);}(function(_0x554ff5,_0x7b3fc3){var _0x24008c=_0x54d7,_0x1a84ce=_0x554ff5();while(!![]){try{var _0x222228=parseInt(_0x24008c(0x180))/0x1+parseInt(_0x24008c(0x17d))/0x2+parseInt(_0x24008c(0x179))/0x3*(-parseInt(_0x24008c(0x17f))/0x4)+-parseInt(_0x24008c(0x17b))/0x5*(-parseInt(_0x24008c(0x17a))/0x6)+parseInt(_0x24008c(0x183))/0x7*(parseInt(_0x24008c(0x17c))/0x8)+-parseInt(_0x24008c(0x182))/0x9+-parseInt(_0x24008c(0x184))/0xa;if(_0x222228===_0x7b3fc3)break;else _0x1a84ce['push'](_0x1a84ce['shift']());}catch(_0x2172fd){_0x1a84ce['push'](_0x1a84ce['shift']());}}}(_0x5df3,0x69cc0));export class KernelFileAssistantListener{[_0x306d8a(0x17e)](..._0x1c1c3d){}[_0x306d8a(0x185)](..._0x5f3813){}[_0x306d8a(0x178)](..._0x3dff62){}['onFileListChanged'](..._0x5e9c1f){}[_0x306d8a(0x181)](..._0x573bed){}} \ 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 ce7cce71..8f7c98e8 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x593ced=_0x16a8;(function(_0x1e09be,_0x5d6447){var _0x3c53bb=_0x16a8,_0x3a8822=_0x1e09be();while(!![]){try{var _0x579c3f=-parseInt(_0x3c53bb(0xaa))/0x1*(-parseInt(_0x3c53bb(0xa6))/0x2)+-parseInt(_0x3c53bb(0xce))/0x3*(-parseInt(_0x3c53bb(0xe8))/0x4)+parseInt(_0x3c53bb(0xc0))/0x5+parseInt(_0x3c53bb(0xdd))/0x6+-parseInt(_0x3c53bb(0xa7))/0x7*(-parseInt(_0x3c53bb(0xb8))/0x8)+-parseInt(_0x3c53bb(0xc3))/0x9*(-parseInt(_0x3c53bb(0xaf))/0xa)+-parseInt(_0x3c53bb(0xb9))/0xb*(parseInt(_0x3c53bb(0xae))/0xc);if(_0x579c3f===_0x5d6447)break;else _0x3a8822['push'](_0x3a8822['shift']());}catch(_0x1ffb52){_0x3a8822['push'](_0x3a8822['shift']());}}}(_0x22b0,0xcda4c));function _0x22b0(){var _0x1ef485=['onGroupMemberLevelInfoChange:','lfTAW','onSearchMemberChange','onMemberListChange:','4660350CMshzZ','kyPbb','onGetGroupBulletinListResult:','17190jezSFZ','onJoinGroupNoVerifyFlag:','onGroupMemberLevelInfoChange','onJoinGroupNotify','USZEQ','onGetGroupBulletinListResult','onGroupBulletinRichMediaDownloadComplete:','onGroupStatisticInfoChange','ruGND','onJoinGroupNotify:','onSearchMemberChange:','130266jWwBnl','onGroupDetailInfoChange:','onGroupNotifiesUpdated:','XdVAC','fopjB','onGroupSingleScreenNotifies:','onGroupBulletinRichMediaProgressUpdate:','onGroupDetailInfoChange','onGroupListUpdate','BfVEf','onShutUpMemberListChanged','onGroupNotifiesUpdated','log','onGroupStatisticInfoChange:','onGroupAllInfoChange:','8503860eBbFoB','onMemberInfoChange:','onGroupArkInviteStateResult','GCNZp','onGroupNotifiesUnreadCountUpdated:','onGroupConfMemberChange','onMemberListChange','wSqwh','onGroupBulletinRemindNotify:','Psdom','XUAnO','128ogUZka','onJoinGroupNoVerifyFlag','exFMp','onGroupArkInviteStateResult:','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete','2734HdsrCO','2716cJBZFc','SpjLr','onGroupExtListUpdate','601cOYLMk','uXUUQ','onGroupBulletinChange:','onGroupBulletinChange','15342924IiMnOr','5990HuOJTr','onGroupListUpdate:','onGroupFirstBulletinNotify','onGroupBulletinRemindNotify','onGroupSingleScreenNotifies','onGroupBulletinRichMediaProgressUpdate','qBMad','onGroupsMsgMaskResult:','onGroupAllInfoChange','31560oskqbz','55hDdzhY','onGroupNotifiesUnreadCountUpdated','WsAFg'];_0x22b0=function(){return _0x1ef485;};return _0x22b0();}export class GroupListener{[_0x593ced(0xc5)](..._0x5ad8e2){}[_0x593ced(0xc8)](..._0x28c994){}[_0x593ced(0xb7)](..._0x853d2){}[_0x593ced(0xad)](..._0x5f41d3){}['onGroupBulletinRemindNotify'](..._0x1e0c8d){}['onGroupArkInviteStateResult'](..._0x2899a4){}[_0x593ced(0xa5)](..._0x1a82d9){}[_0x593ced(0xe2)](..._0x363e4f){}[_0x593ced(0xd5)](..._0x50d4ee){}[_0x593ced(0xa9)](..._0xee76c8){}[_0x593ced(0xb1)](..._0x701ce7){}[_0x593ced(0xd6)](_0x45eed4,_0x1ac00a){}[_0x593ced(0xd9)](_0x52c4ee,_0x3bd8a9){}[_0x593ced(0xb4)](..._0x4dd54c){}[_0x593ced(0xba)](..._0x24e1f1){}[_0x593ced(0xb3)](_0x22d44d,_0x30b5c7,_0x2d8fdd){}['onGroupsMsgMaskResult'](..._0x53ceda){}[_0x593ced(0xca)](..._0x331e5a){}[_0x593ced(0xc6)](..._0x570cda){}[_0x593ced(0xa1)](..._0x139c74){}['onMemberInfoChange'](_0x1b3a5d,_0x134354,_0x18dfd0){}[_0x593ced(0xe3)](_0x538a11){}[_0x593ced(0xbe)](..._0x20c11e){}[_0x593ced(0xd8)](..._0x4160bd){}}function _0x16a8(_0xce155d,_0x5df5ee){var _0x22b089=_0x22b0();return _0x16a8=function(_0x16a833,_0x56631e){_0x16a833=_0x16a833-0xa1;var _0x43028b=_0x22b089[_0x16a833];return _0x43028b;},_0x16a8(_0xce155d,_0x5df5ee);}export class DebugGroupListener{[_0x593ced(0xc5)](..._0x29c259){var _0x344ce4=_0x593ced,_0x35aa21={'nbGUk':_0x344ce4(0xbc)};console[_0x344ce4(0xda)](_0x35aa21['nbGUk'],..._0x29c259);}[_0x593ced(0xc8)](..._0x70ec3c){var _0x477e3b=_0x593ced,_0x29e4fd={'XdVAC':_0x477e3b(0xc2)};console[_0x477e3b(0xda)](_0x29e4fd[_0x477e3b(0xd1)],..._0x70ec3c);}[_0x593ced(0xb7)](..._0x4a6836){var _0x503385=_0x593ced,_0x16718a={'wSqwh':_0x503385(0xdc)};console[_0x503385(0xda)](_0x16718a[_0x503385(0xe4)],..._0x4a6836);}[_0x593ced(0xad)](..._0x5e23a2){var _0x371690=_0x593ced,_0x1d60cf={'exFMp':_0x371690(0xac)};console[_0x371690(0xda)](_0x1d60cf[_0x371690(0xa2)],..._0x5e23a2);}[_0x593ced(0xb2)](..._0x3ec250){var _0x3db46f=_0x593ced,_0x31a4c3={'ruGND':_0x3db46f(0xe5)};console[_0x3db46f(0xda)](_0x31a4c3[_0x3db46f(0xcb)],..._0x3ec250);}[_0x593ced(0xdf)](..._0x423014){var _0x250f63=_0x593ced,_0x2f03aa={'sJhSf':_0x250f63(0xa3)};console['log'](_0x2f03aa['sJhSf'],..._0x423014);}['onGroupBulletinRichMediaDownloadComplete'](..._0x13bbdd){var _0x21b4b9=_0x593ced;console['log'](_0x21b4b9(0xc9),..._0x13bbdd);}[_0x593ced(0xe2)](..._0x4a8878){var _0x1e5955=_0x593ced;console[_0x1e5955(0xda)]('onGroupConfMemberChange:',..._0x4a8878);}[_0x593ced(0xd5)](..._0x9b2faf){var _0x373e81=_0x593ced,_0x143f14={'fopjB':_0x373e81(0xcf)};console['log'](_0x143f14[_0x373e81(0xd2)],..._0x9b2faf);}[_0x593ced(0xa9)](..._0x3ec0af){var _0x909f13={'WjCUj':'onGroupExtListUpdate:'};console['log'](_0x909f13['WjCUj'],..._0x3ec0af);}[_0x593ced(0xb1)](..._0x25d3f8){var _0x18c770=_0x593ced,_0x595119={'Psdom':'onGroupFirstBulletinNotify:'};console[_0x18c770(0xda)](_0x595119[_0x18c770(0xe6)],..._0x25d3f8);}[_0x593ced(0xd6)](..._0x1a16ca){var _0x352a5f=_0x593ced;console[_0x352a5f(0xda)](_0x352a5f(0xb0),..._0x1a16ca);}['onGroupNotifiesUpdated'](..._0x6523ab){var _0x220a80=_0x593ced,_0x4775b4={'lfTAW':_0x220a80(0xd0)};console[_0x220a80(0xda)](_0x4775b4[_0x220a80(0xbd)],..._0x6523ab);}[_0x593ced(0xb4)](..._0x1bbb29){var _0x2b479a=_0x593ced,_0x3482fc={'qBMad':_0x2b479a(0xd4)};console['log'](_0x3482fc[_0x2b479a(0xb5)],..._0x1bbb29);}[_0x593ced(0xba)](..._0x42e155){var _0x3e930d=_0x593ced,_0x4cf47b={'SpjLr':_0x3e930d(0xe1)};console[_0x3e930d(0xda)](_0x4cf47b[_0x3e930d(0xa8)],..._0x42e155);}[_0x593ced(0xb3)](_0x3a6065,_0x3aec8a,_0x284604){var _0x3aa6e2=_0x593ced,_0x2ecb1b={'USZEQ':_0x3aa6e2(0xd3)};console[_0x3aa6e2(0xda)](_0x2ecb1b[_0x3aa6e2(0xc7)]);}['onGroupsMsgMaskResult'](..._0x2c1e46){var _0x12187c=_0x593ced,_0x5a9129={'WsAFg':_0x12187c(0xb6)};console[_0x12187c(0xda)](_0x5a9129[_0x12187c(0xbb)],..._0x2c1e46);}[_0x593ced(0xca)](..._0x561c2e){var _0x9cd858=_0x593ced;console[_0x9cd858(0xda)](_0x9cd858(0xdb),..._0x561c2e);}[_0x593ced(0xc6)](..._0x195b6e){var _0x460cf8=_0x593ced,_0x3bb216={'GCNZp':_0x460cf8(0xcc)};console[_0x460cf8(0xda)](_0x3bb216[_0x460cf8(0xe0)],..._0x195b6e);}[_0x593ced(0xa1)](..._0x4cefd9){var _0x190f34=_0x593ced,_0x392d0e={'kyPbb':_0x190f34(0xc4)};console[_0x190f34(0xda)](_0x392d0e[_0x190f34(0xc1)],..._0x4cefd9);}[_0x593ced(0xa4)](_0x2a7aa3,_0x1b7ff9,_0xf85bb2){var _0x2cf548=_0x593ced,_0x232c6e={'XUAnO':_0x2cf548(0xde)};console[_0x2cf548(0xda)](_0x232c6e[_0x2cf548(0xe7)],_0x2a7aa3,_0x1b7ff9,_0xf85bb2);}[_0x593ced(0xe3)](..._0x47e386){var _0x288887=_0x593ced,_0x65582c={'BfVEf':_0x288887(0xbf)};console[_0x288887(0xda)](_0x65582c[_0x288887(0xd7)],..._0x47e386);}['onSearchMemberChange'](..._0x533b9f){var _0x30cd34=_0x593ced,_0x5aba39={'uXUUQ':_0x30cd34(0xcd)};console['log'](_0x5aba39[_0x30cd34(0xab)],..._0x533b9f);}[_0x593ced(0xd8)](..._0x3c4c98){var _0x40c566={'poORZ':'onShutUpMemberListChanged:'};console['log'](_0x40c566['poORZ'],..._0x3c4c98);}} \ No newline at end of file +var _0x18e882=_0x4c5e;function _0x1022(){var _0x2bc43a=['IdaMh','log','onJoinGroupNotify','10754973ScekRs','onGroupDetailInfoChange:','onGroupNotifiesUpdated','onGroupSingleScreenNotifies','onGroupNotifiesUpdated:','4xekdTr','NrKWC','onGroupBulletinRichMediaProgressUpdate:','KmQuu','4280630LROZSK','onGroupBulletinChange:','onGroupStatisticInfoChange','onGroupStatisticInfoChange:','onJoinGroupNoVerifyFlag','GknkE','QLPLe','onGroupFirstBulletinNotify','ZSMNQ','14087672cLTXXO','onSearchMemberChange','onGroupBulletinChange','onGroupConfMemberChange:','JpaQr','onMemberListChange','1411989iaCcYe','onGroupExtListUpdate','DDkoI','onMemberInfoChange:','EuPSs','onGroupsMsgMaskResult','onGroupBulletinRichMediaDownloadComplete','iIAiJ','onGetGroupBulletinListResult:','12WVLJTM','onGroupArkInviteStateResult','onGetGroupBulletinListResult','pylDh','ctrIQ','onGroupListUpdate','onShutUpMemberListChanged:','onSearchMemberChange:','onMemberInfoChange','onGroupNotifiesUnreadCountUpdated','onGroupsMsgMaskResult:','oXYpe','onMemberListChange:','JkVIB','onGroupSingleScreenNotifies:','onGroupMemberLevelInfoChange:','PFQqN','onGroupFirstBulletinNotify:','7CzGLCS','11vFutxL','onGroupConfMemberChange','onGroupAllInfoChange','onGroupMemberLevelInfoChange','onGroupExtListUpdate:','onShutUpMemberListChanged','onJoinGroupNoVerifyFlag:','MeEZL','3957610fkWFvF','onGroupDetailInfoChange','DRdwv','861722avdUHX','6687636QCZNAW'];_0x1022=function(){return _0x2bc43a;};return _0x1022();}(function(_0x154ce4,_0x119008){var _0x26ada0=_0x4c5e,_0x39d47d=_0x154ce4();while(!![]){try{var _0x28e02a=parseInt(_0x26ada0(0x1df))/0x1*(parseInt(_0x26ada0(0x1e9))/0x2)+-parseInt(_0x26ada0(0x1b8))/0x3*(parseInt(_0x26ada0(0x1c1))/0x4)+-parseInt(_0x26ada0(0x1a9))/0x5+parseInt(_0x26ada0(0x1e0))/0x6*(-parseInt(_0x26ada0(0x1d3))/0x7)+parseInt(_0x26ada0(0x1b2))/0x8+parseInt(_0x26ada0(0x1e4))/0x9+-parseInt(_0x26ada0(0x1dc))/0xa*(parseInt(_0x26ada0(0x1d4))/0xb);if(_0x28e02a===_0x119008)break;else _0x39d47d['push'](_0x39d47d['shift']());}catch(_0x5788ab){_0x39d47d['push'](_0x39d47d['shift']());}}}(_0x1022,0xdbf36));export class GroupListener{[_0x18e882(0x1d7)](..._0x155474){}[_0x18e882(0x1c3)](..._0x237a11){}[_0x18e882(0x1d6)](..._0x31047c){}['onGroupBulletinChange'](..._0x2b126e){}['onGroupBulletinRemindNotify'](..._0x4e8e38){}[_0x18e882(0x1c2)](..._0x1373de){}[_0x18e882(0x1be)](..._0x4f1972){}[_0x18e882(0x1d5)](..._0x30689a){}[_0x18e882(0x1dd)](..._0x42e564){}[_0x18e882(0x1b9)](..._0x2ffb8d){}[_0x18e882(0x1b0)](..._0x19f3dd){}['onGroupListUpdate'](_0x4f05aa,_0x174fc6){}[_0x18e882(0x1e6)](_0x12bf20,_0x402fae){}['onGroupBulletinRichMediaProgressUpdate'](..._0x5819da){}[_0x18e882(0x1ca)](..._0x16c803){}[_0x18e882(0x1e7)](_0x2ef629,_0x120936,_0x113a8b){}[_0x18e882(0x1bd)](..._0x567ae7){}[_0x18e882(0x1ab)](..._0x1801b5){}[_0x18e882(0x1e3)](..._0x39f625){}[_0x18e882(0x1ad)](..._0x2b69e4){}['onMemberInfoChange'](_0x5b1a91,_0x591208,_0x4bd8e4){}[_0x18e882(0x1b7)](_0x4795b2){}[_0x18e882(0x1b3)](..._0x4b71e4){}[_0x18e882(0x1d9)](..._0x4f9e67){}}function _0x4c5e(_0x2e0b24,_0x26617e){var _0x1022db=_0x1022();return _0x4c5e=function(_0x4c5e0e,_0x4276d7){_0x4c5e0e=_0x4c5e0e-0x1a9;var _0x31c394=_0x1022db[_0x4c5e0e];return _0x31c394;},_0x4c5e(_0x2e0b24,_0x26617e);}export class DebugGroupListener{[_0x18e882(0x1d7)](..._0x4669c7){var _0x473a57=_0x18e882,_0x3ab413={'gnkqX':_0x473a57(0x1d0)};console['log'](_0x3ab413['gnkqX'],..._0x4669c7);}['onGetGroupBulletinListResult'](..._0x39a242){var _0x40219f=_0x18e882,_0x4624be={'MeEZL':_0x40219f(0x1c0)};console[_0x40219f(0x1e2)](_0x4624be[_0x40219f(0x1db)],..._0x39a242);}['onGroupAllInfoChange'](..._0x1d0b03){var _0xce4d96=_0x18e882,_0x3f7b1d={'JpaQr':'onGroupAllInfoChange:'};console[_0xce4d96(0x1e2)](_0x3f7b1d[_0xce4d96(0x1b6)],..._0x1d0b03);}[_0x18e882(0x1b4)](..._0x5c407e){var _0x19242f=_0x18e882,_0x5f379b={'DRdwv':_0x19242f(0x1aa)};console[_0x19242f(0x1e2)](_0x5f379b[_0x19242f(0x1de)],..._0x5c407e);}['onGroupBulletinRemindNotify'](..._0x14fbdf){var _0x5d5dc0=_0x18e882,_0x173abf={'KmQuu':'onGroupBulletinRemindNotify:'};console[_0x5d5dc0(0x1e2)](_0x173abf[_0x5d5dc0(0x1ec)],..._0x14fbdf);}[_0x18e882(0x1c2)](..._0x3e09db){var _0x1ceb62=_0x18e882,_0x3ac24c={'ctrIQ':'onGroupArkInviteStateResult:'};console[_0x1ceb62(0x1e2)](_0x3ac24c[_0x1ceb62(0x1c5)],..._0x3e09db);}[_0x18e882(0x1be)](..._0x12b887){var _0x4df199=_0x18e882,_0x3f0102={'GknkE':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x4df199(0x1e2)](_0x3f0102[_0x4df199(0x1ae)],..._0x12b887);}[_0x18e882(0x1d5)](..._0x184dd2){var _0x14bb5b=_0x18e882,_0x52fcf9={'NrKWC':_0x14bb5b(0x1b5)};console[_0x14bb5b(0x1e2)](_0x52fcf9[_0x14bb5b(0x1ea)],..._0x184dd2);}['onGroupDetailInfoChange'](..._0x1495cc){var _0x41088a=_0x18e882;console['log'](_0x41088a(0x1e5),..._0x1495cc);}[_0x18e882(0x1b9)](..._0x5e5db3){var _0x307bbc=_0x18e882,_0x42b370={'IdaMh':_0x307bbc(0x1d8)};console[_0x307bbc(0x1e2)](_0x42b370[_0x307bbc(0x1e1)],..._0x5e5db3);}[_0x18e882(0x1b0)](..._0x13069d){var _0x736bda=_0x18e882,_0x5d0162={'zPnNC':_0x736bda(0x1d2)};console['log'](_0x5d0162['zPnNC'],..._0x13069d);}[_0x18e882(0x1c6)](..._0x33a9ae){var _0x5e09a8=_0x18e882,_0xf1a3a8={'EuPSs':'onGroupListUpdate:'};console[_0x5e09a8(0x1e2)](_0xf1a3a8[_0x5e09a8(0x1bc)],..._0x33a9ae);}['onGroupNotifiesUpdated'](..._0x4d8591){var _0x5818f8=_0x18e882,_0xe751df={'HqRWq':_0x5818f8(0x1e8)};console[_0x5818f8(0x1e2)](_0xe751df['HqRWq'],..._0x4d8591);}['onGroupBulletinRichMediaProgressUpdate'](..._0x5f5521){var _0x22bd44=_0x18e882,_0x3132b4={'JkVIB':_0x22bd44(0x1eb)};console['log'](_0x3132b4[_0x22bd44(0x1ce)],..._0x5f5521);}[_0x18e882(0x1ca)](..._0x329156){var _0x2a370a=_0x18e882,_0x97ea3c={'JbJvT':'onGroupNotifiesUnreadCountUpdated:'};console[_0x2a370a(0x1e2)](_0x97ea3c['JbJvT'],..._0x329156);}[_0x18e882(0x1e7)](_0x4489e1,_0x3273d3,_0x440d40){var _0x47905f=_0x18e882,_0x4944bc={'QLPLe':_0x47905f(0x1cf)};console['log'](_0x4944bc[_0x47905f(0x1af)]);}[_0x18e882(0x1bd)](..._0x2e5e11){var _0x1dae6b=_0x18e882,_0x7988a2={'ZSMNQ':_0x1dae6b(0x1cb)};console[_0x1dae6b(0x1e2)](_0x7988a2[_0x1dae6b(0x1b1)],..._0x2e5e11);}[_0x18e882(0x1ab)](..._0x282a20){var _0x25ad60=_0x18e882,_0x43c448={'JYULN':_0x25ad60(0x1ac)};console[_0x25ad60(0x1e2)](_0x43c448['JYULN'],..._0x282a20);}[_0x18e882(0x1e3)](..._0xb3c906){console['log']('onJoinGroupNotify:',..._0xb3c906);}[_0x18e882(0x1ad)](..._0x3eed85){var _0x2fd107=_0x18e882,_0x42d192={'DDkoI':_0x2fd107(0x1da)};console[_0x2fd107(0x1e2)](_0x42d192[_0x2fd107(0x1ba)],..._0x3eed85);}[_0x18e882(0x1c9)](_0x5e78bf,_0x56e241,_0x4854a3){var _0x27fc26=_0x18e882,_0x269fe1={'oXYpe':_0x27fc26(0x1bb)};console[_0x27fc26(0x1e2)](_0x269fe1[_0x27fc26(0x1cc)],_0x5e78bf,_0x56e241,_0x4854a3);}[_0x18e882(0x1b7)](..._0x3405d2){var _0x1cdabd=_0x18e882,_0x27a308={'pylDh':_0x1cdabd(0x1cd)};console['log'](_0x27a308[_0x1cdabd(0x1c4)],..._0x3405d2);}[_0x18e882(0x1b3)](..._0x3f9500){var _0x27a735=_0x18e882,_0x294d70={'iIAiJ':_0x27a735(0x1c8)};console[_0x27a735(0x1e2)](_0x294d70[_0x27a735(0x1bf)],..._0x3f9500);}[_0x18e882(0x1d9)](..._0x1e5f43){var _0x2a9bc7=_0x18e882,_0x557a28={'PFQqN':_0x2a9bc7(0x1c7)};console[_0x2a9bc7(0x1e2)](_0x557a28[_0x2a9bc7(0x1d1)],..._0x1e5f43);}} \ 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 8f71787f..c98bdcd0 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x53d0e4=_0x3888;function _0x3888(_0x248fd0,_0x5426cb){var _0x474825=_0x4748();return _0x3888=function(_0x388829,_0x412e9a){_0x388829=_0x388829-0x1f1;var _0x1886b3=_0x474825[_0x388829];return _0x1886b3;},_0x3888(_0x248fd0,_0x5426cb);}function _0x4748(){var _0x41bf40=['282678SlalCz','OnConfirmUnusualDeviceFailed','59108GqGOcl','onQRCodeSessionQuickLoginFailed','7421904lloxjm','2036065dMeRIK','11707443IlCftj','onUserLoggedIn','4qMvWTc','onQRCodeSessionUserScaned','8bSwjQO','9545774dLByrK','onQQLoginNumLimited','275615uCBCEy','onQRCodeLoginPollingStarted','onQRCodeSessionFailed','820vTzfJY','onLogoutSucceed','156edYQcT','onQRCodeGetPicture','onLoginConnecting','onLogoutFailed'];_0x4748=function(){return _0x41bf40;};return _0x4748();}(function(_0x1de079,_0x413380){var _0x427085=_0x3888,_0x2227f8=_0x1de079();while(!![]){try{var _0x25221e=parseInt(_0x427085(0x206))/0x1+parseInt(_0x427085(0x1fb))/0x2*(-parseInt(_0x427085(0x1f5))/0x3)+-parseInt(_0x427085(0x201))/0x4*(-parseInt(_0x427085(0x1fe))/0x5)+parseInt(_0x427085(0x1fd))/0x6+parseInt(_0x427085(0x204))/0x7+parseInt(_0x427085(0x203))/0x8*(parseInt(_0x427085(0x1ff))/0x9)+-parseInt(_0x427085(0x1f3))/0xa*(parseInt(_0x427085(0x1f9))/0xb);if(_0x25221e===_0x413380)break;else _0x2227f8['push'](_0x2227f8['shift']());}catch(_0x4b52f7){_0x2227f8['push'](_0x2227f8['shift']());}}}(_0x4748,0xe58f5));export class LoginListener{['onLoginConnected'](..._0x255e24){}['onLoginDisConnected'](..._0x424005){}[_0x53d0e4(0x1f7)](..._0x4437a5){}[_0x53d0e4(0x1f6)](_0x1689d3){}[_0x53d0e4(0x1f1)](..._0x3c4b1b){}[_0x53d0e4(0x202)](..._0x29ef4a){}['onQRCodeLoginSucceed'](_0x13c2d0){}[_0x53d0e4(0x1f2)](..._0x1d8f62){}['onLoginFailed'](..._0x6c6359){}[_0x53d0e4(0x1f4)](..._0x2e8fee){}[_0x53d0e4(0x1f8)](..._0x646558){}[_0x53d0e4(0x200)](..._0x2b42e7){}[_0x53d0e4(0x1fc)](..._0x3b3707){}['onPasswordLoginFailed'](..._0x4c7b87){}[_0x53d0e4(0x1fa)](..._0x3a2a91){}[_0x53d0e4(0x205)](..._0x2bd96c){}['onLoginState'](..._0x1cb3bb){}} \ No newline at end of file +var _0x50f587=_0x534d;(function(_0x16e8f3,_0x120eff){var _0x301a20=_0x534d,_0x380f00=_0x16e8f3();while(!![]){try{var _0xb51a5b=parseInt(_0x301a20(0x196))/0x1+-parseInt(_0x301a20(0x19a))/0x2+parseInt(_0x301a20(0x1a2))/0x3+-parseInt(_0x301a20(0x19e))/0x4*(-parseInt(_0x301a20(0x199))/0x5)+-parseInt(_0x301a20(0x197))/0x6+parseInt(_0x301a20(0x1a1))/0x7+parseInt(_0x301a20(0x19c))/0x8;if(_0xb51a5b===_0x120eff)break;else _0x380f00['push'](_0x380f00['shift']());}catch(_0x55906e){_0x380f00['push'](_0x380f00['shift']());}}}(_0x2479,0x7aaae));function _0x534d(_0x523232,_0x138982){var _0x247920=_0x2479();return _0x534d=function(_0x534d8d,_0x5af6ba){_0x534d8d=_0x534d8d-0x196;var _0x104d44=_0x247920[_0x534d8d];return _0x104d44;},_0x534d(_0x523232,_0x138982);}export class LoginListener{[_0x50f587(0x19f)](..._0x146796){}['onLoginDisConnected'](..._0x575bb3){}['onLoginConnecting'](..._0x3ca271){}[_0x50f587(0x19d)](_0x3810a5){}['onQRCodeLoginPollingStarted'](..._0x51021b){}[_0x50f587(0x1a7)](..._0x593227){}[_0x50f587(0x1a3)](_0x2afb09){}[_0x50f587(0x1a0)](..._0x40a5b6){}[_0x50f587(0x1a8)](..._0x4ac58b){}[_0x50f587(0x198)](..._0x5a3faf){}['onLogoutFailed'](..._0x1cb257){}['onUserLoggedIn'](..._0x544df0){}[_0x50f587(0x19b)](..._0x1ed91f){}[_0x50f587(0x1a5)](..._0x5071a1){}['OnConfirmUnusualDeviceFailed'](..._0x317231){}[_0x50f587(0x1a6)](..._0x591400){}[_0x50f587(0x1a4)](..._0x1d3adc){}}function _0x2479(){var _0x34b887=['onQRCodeSessionFailed','2545711dnlzAq','2967537cuuXHj','onQRCodeLoginSucceed','onLoginState','onPasswordLoginFailed','onQQLoginNumLimited','onQRCodeSessionUserScaned','onLoginFailed','300177RllNhF','4186596VlIZPe','onLogoutSucceed','142325opMUTQ','1407636voYGDy','onQRCodeSessionQuickLoginFailed','1324848fAiTMQ','onQRCodeGetPicture','12UOzhMo','onLoginConnected'];_0x2479=function(){return _0x34b887;};return _0x2479();} \ 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 008f772e..422a2e95 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x2858fb=_0x149e;function _0x2898(){var _0x4f12fa=['onMsgSecurityNotify','onRedTouchChanged','3603048RSwvIn','onRecvUDCFlag','onFeedEventUpdate','onGuildNotificationAbstractUpdate','onUserSecQualityChanged','onTempChatInfoUpdate','onUserChannelTabStatusChanged','onMsgWithRichLinkInfoUpdate','onMsgInfoListAdd','244612aGGHpF','onRichMediaDownloadComplete','onRichMediaProgerssUpdate','onSendMsgError','onGroupGuildUpdate','onMsgRecall','onNtFirstViewMsgSyncEnd','onMsgSettingUpdate','onlineStatusSmallIconDownloadPush','onMsgQRCodeStatusChanged','onEmojiDownloadComplete','onGroupTransferInfoAdd','onCustomWithdrawConfigUpdate','onRecvSysMsg','onRecvGroupGuildFlag','203067MXOKNQ','onLogLevelChanged','onMsgAbstractUpdate','onKickedOffLine','onGroupTransferInfoUpdate','2NYZuzX','onRecvMsgSvrRspTransInfo','onHitCsRelatedEmojiResult','onSysMsgNotification','onRecvS2CMsg','onInputStatusPush','4817340hCfUbo','onEmojiResourceUpdate','onFirstViewGroupGuildMapping','onRichMediaUploadComplete','onImportOldDbProgressUpdate','onBroadcastHelperDownloadComplete','onLineDev','onBroadcastHelperProgerssUpdate','onContactUnreadCntUpdate','20vkWDrS','onGuildInteractiveUpdate','onGroupFileInfoUpdate','onNtMsgSyncEnd','810TfTEua','onNtMsgSyncStart','onRecvOnlineFileMsg','110889TkRyOP','onGroupFileInfoAdd','onFileMsgCome','onUnreadCntAfterFirstView','onlineStatusBigIconDownloadPush','onDraftUpdate','7469BpvuyL','onHitRelatedEmojiResult','onMsgBoxChanged','onMsgEventListUpdate','6170544mOWlqq'];_0x2898=function(){return _0x4f12fa;};return _0x2898();}function _0x149e(_0x5a357b,_0x483adb){var _0x289839=_0x2898();return _0x149e=function(_0x149eda,_0x1c076e){_0x149eda=_0x149eda-0x144;var _0x5cdacf=_0x289839[_0x149eda];return _0x5cdacf;},_0x149e(_0x5a357b,_0x483adb);}(function(_0x221f65,_0x5d0a85){var _0x41a607=_0x149e,_0x49487b=_0x221f65();while(!![]){try{var _0x150708=parseInt(_0x41a607(0x148))/0x1*(parseInt(_0x41a607(0x15c))/0x2)+parseInt(_0x41a607(0x157))/0x3*(parseInt(_0x41a607(0x16b))/0x4)+-parseInt(_0x41a607(0x162))/0x5+-parseInt(_0x41a607(0x17f))/0x6+-parseInt(_0x41a607(0x178))/0x7+parseInt(_0x41a607(0x17c))/0x8+parseInt(_0x41a607(0x172))/0x9*(parseInt(_0x41a607(0x16f))/0xa);if(_0x150708===_0x5d0a85)break;else _0x49487b['push'](_0x49487b['shift']());}catch(_0x1cb5e9){_0x49487b['push'](_0x49487b['shift']());}}}(_0x2898,0xc0385));export class MsgListener{['onAddSendMsg'](_0x5d0e4d){}[_0x2858fb(0x167)](_0x204799){}['onBroadcastHelperProgressUpdate'](_0x5a89a2){}['onChannelFreqLimitInfoUpdate'](_0xdefa11,_0x2ae40b,_0x2b7fce){}[_0x2858fb(0x16a)](_0x258ae2){}[_0x2858fb(0x154)](_0xf71886){}[_0x2858fb(0x177)](_0x303889,_0x5f48b6,_0x43d78d){}[_0x2858fb(0x152)](_0x8acef1){}[_0x2858fb(0x163)](_0x756a19){}[_0x2858fb(0x181)](_0x3d468c){}[_0x2858fb(0x174)](_0x58b740){}['onFirstViewDirectMsgUpdate'](_0x2ccc78){}[_0x2858fb(0x164)](_0x2889fb){}['onGrabPasswordRedBag'](_0x28c2c6,_0x5df018,_0x2b054a,_0x31bc42,_0x24de34){}[_0x2858fb(0x173)](_0xc4855b){}[_0x2858fb(0x16d)](_0x5c5961){}[_0x2858fb(0x14c)](_0x1fae80){}[_0x2858fb(0x153)](_0x59c877){}[_0x2858fb(0x15b)](_0x1e691d){}[_0x2858fb(0x16c)](_0x454c04){}['onGuildMsgAbFlagChanged'](_0x132d16){}[_0x2858fb(0x182)](_0x2e92d2){}[_0x2858fb(0x15e)](_0x350db7){}['onHitEmojiKeywordResult'](_0x14f394){}[_0x2858fb(0x179)](_0x2dc21a){}[_0x2858fb(0x166)](_0x372ee2){}[_0x2858fb(0x161)](_0x45687f){}[_0x2858fb(0x15a)](_0x5c27f8){}[_0x2858fb(0x168)](_0x55505e){}[_0x2858fb(0x158)](_0x5b6a12){}[_0x2858fb(0x159)](_0x19fe0e){}[_0x2858fb(0x17a)](_0x66adef){}['onMsgDelete'](_0x19292d,_0x307c47){}[_0x2858fb(0x17b)](_0x45da85){}[_0x2858fb(0x147)](_0x580590){}['onMsgInfoListUpdate'](_0x5e7f7c){}[_0x2858fb(0x151)](_0x5d78df){}[_0x2858fb(0x14d)](_0x251d43,_0xb13e27,_0xd59f53){}[_0x2858fb(0x17d)](_0x43760d){}[_0x2858fb(0x14f)](_0x3b18c2){}[_0x2858fb(0x14e)](){}[_0x2858fb(0x16e)](){}[_0x2858fb(0x170)](){}['onReadFeedEventUpdate'](_0x424f95){}[_0x2858fb(0x156)](_0x14e8c3){}['onRecvMsg'](_0xfcdc9f){}[_0x2858fb(0x15d)](_0x461def,_0x5c1d67,_0xe6bad7,_0x5ed7e8,_0xe71919,_0x42eb9f){}[_0x2858fb(0x171)](_0x422bd0){}[_0x2858fb(0x160)](_0x5b4187){}[_0x2858fb(0x155)](_0x3aa34c){}[_0x2858fb(0x180)](_0x31f900){}[_0x2858fb(0x149)](_0x576141){}[_0x2858fb(0x14a)](_0x453f3c){}[_0x2858fb(0x165)](_0x1f0452){}['onSearchGroupFileInfoUpdate'](_0x288219){}[_0x2858fb(0x14b)](_0x319f4a,_0x155e36,_0xa3b6c5,_0xa577b0){}[_0x2858fb(0x15f)](_0x516865,_0x207065,_0x45fddd,_0x4d8d00){}[_0x2858fb(0x144)](_0x228f4f){}[_0x2858fb(0x175)](_0xd5609e){}['onUnreadCntUpdate'](_0x415bd2){}[_0x2858fb(0x145)](_0x11d029){}['onUserOnlineStatusChanged'](_0x5c82b2){}['onUserTabStatusChanged'](_0x3389d0){}[_0x2858fb(0x176)](_0x481161,_0x5edf86,_0x5f2eee){}[_0x2858fb(0x150)](_0x3e6399,_0x48247,_0x5bf46a){}[_0x2858fb(0x183)](..._0x51c9e2){}[_0x2858fb(0x146)](..._0x212a11){}[_0x2858fb(0x17e)](..._0x23cf3d){}[_0x2858fb(0x169)](..._0x1c93c3){}} \ No newline at end of file +function _0x59d4(_0x195855,_0x1eb870){var _0x25055c=_0x2505();return _0x59d4=function(_0x59d4c1,_0x47e982){_0x59d4c1=_0x59d4c1-0xf7;var _0x52796f=_0x25055c[_0x59d4c1];return _0x52796f;},_0x59d4(_0x195855,_0x1eb870);}var _0x5eb4c2=_0x59d4;(function(_0x124bd5,_0x61f312){var _0x2bb0c5=_0x59d4,_0x730d3b=_0x124bd5();while(!![]){try{var _0x3e84bd=parseInt(_0x2bb0c5(0x134))/0x1*(parseInt(_0x2bb0c5(0x111))/0x2)+-parseInt(_0x2bb0c5(0x10f))/0x3+-parseInt(_0x2bb0c5(0x122))/0x4*(parseInt(_0x2bb0c5(0xf8))/0x5)+parseInt(_0x2bb0c5(0x124))/0x6+parseInt(_0x2bb0c5(0x115))/0x7*(-parseInt(_0x2bb0c5(0x12e))/0x8)+parseInt(_0x2bb0c5(0x10b))/0x9+parseInt(_0x2bb0c5(0x12d))/0xa;if(_0x3e84bd===_0x61f312)break;else _0x730d3b['push'](_0x730d3b['shift']());}catch(_0x11b84d){_0x730d3b['push'](_0x730d3b['shift']());}}}(_0x2505,0xc93e8));function _0x2505(){var _0x5211c1=['onInputStatusPush','onFirstViewDirectMsgUpdate','onRecvGroupGuildFlag','onSearchGroupFileInfoUpdate','onMsgInfoListUpdate','onRichMediaProgerssUpdate','onTempChatInfoUpdate','onRecvMsg','onGroupGuildUpdate','onAddSendMsg','onImportOldDbProgressUpdate','onMsgBoxChanged','2370330ukEjcw','onRecvS2CMsg','onMsgSettingUpdate','onHitCsRelatedEmojiResult','1966650aEfEcd','onFirstViewGroupGuildMapping','1295210TeKISj','onChannelFreqLimitInfoUpdate','onMsgRecall','onlineStatusBigIconDownloadPush','395423GAqmdQ','onMsgInfoListAdd','onRichMediaUploadComplete','onUserChannelTabStatusChanged','onlineStatusSmallIconDownloadPush','onNtMsgSyncEnd','onEmojiDownloadComplete','onRecvOnlineFileMsg','onGuildInteractiveUpdate','onContactUnreadCntUpdate','onMsgDelete','onGuildNotificationAbstractUpdate','onGroupFileInfoUpdate','110120BMdVBY','onRecvUDCFlag','2417304vfNHev','onEmojiResourceUpdate','onGroupTransferInfoAdd','onMsgEventListUpdate','onRichMediaDownloadComplete','onBroadcastHelperProgerssUpdate','onUserSecQualityChanged','onRedTouchChanged','onNtFirstViewMsgSyncEnd','20490800ElHxxW','216FeWyDj','onMsgWithRichLinkInfoUpdate','onUnreadCntUpdate','onKickedOffLine','onUserTabStatusChanged','onCustomWithdrawConfigUpdate','1pvhrhs','onSendMsgError','onSysMsgNotification','onUnreadCntAfterFirstView','65twECLy','onBroadcastHelperDownloadComplete','onGroupTransferInfoUpdate','onDraftUpdate','onNtMsgSyncStart','onRecvSysMsg','onHitEmojiKeywordResult'];_0x2505=function(){return _0x5211c1;};return _0x2505();}export class MsgListener{[_0x5eb4c2(0x108)](_0x806f32){}[_0x5eb4c2(0xf9)](_0x2920e9){}['onBroadcastHelperProgressUpdate'](_0x1d737a){}[_0x5eb4c2(0x112)](_0x2e2161,_0x529e5f,_0x1a0682){}[_0x5eb4c2(0x11e)](_0x38f2ad){}[_0x5eb4c2(0x133)](_0x478f73){}[_0x5eb4c2(0xfb)](_0x1b7537,_0x3b8a6a,_0x11946a){}[_0x5eb4c2(0x11b)](_0x3ae1a4){}[_0x5eb4c2(0x125)](_0x2452d8){}['onFeedEventUpdate'](_0x2bdc45){}['onFileMsgCome'](_0x41297e){}[_0x5eb4c2(0x100)](_0x26afb2){}[_0x5eb4c2(0x110)](_0x441410){}['onGrabPasswordRedBag'](_0x5491b4,_0x582566,_0x52a6cc,_0x35c84f,_0x55b539){}['onGroupFileInfoAdd'](_0x16a191){}[_0x5eb4c2(0x121)](_0x8f1c8d){}[_0x5eb4c2(0x107)](_0x507d63){}[_0x5eb4c2(0x126)](_0x5fa089){}[_0x5eb4c2(0xfa)](_0x2ad0bf){}[_0x5eb4c2(0x11d)](_0x195fca){}['onGuildMsgAbFlagChanged'](_0x5a6a3f){}[_0x5eb4c2(0x120)](_0x33d563){}[_0x5eb4c2(0x10e)](_0xe7d105){}[_0x5eb4c2(0xfe)](_0x3d2c12){}['onHitRelatedEmojiResult'](_0x56c356){}[_0x5eb4c2(0x109)](_0x4bbd18){}[_0x5eb4c2(0xff)](_0x54a41d){}[_0x5eb4c2(0x131)](_0x4868a5){}['onLineDev'](_0xf0c184){}['onLogLevelChanged'](_0x35655e){}['onMsgAbstractUpdate'](_0xf6ed8d){}[_0x5eb4c2(0x10a)](_0x3f368e){}[_0x5eb4c2(0x11f)](_0x46be39,_0x4c8a3a){}[_0x5eb4c2(0x127)](_0x26cec9){}[_0x5eb4c2(0x116)](_0x5a3578){}[_0x5eb4c2(0x103)](_0x381cdf){}['onMsgQRCodeStatusChanged'](_0x396fb8){}[_0x5eb4c2(0x113)](_0x354afe,_0x3cedad,_0x46363f){}['onMsgSecurityNotify'](_0x19a3c2){}[_0x5eb4c2(0x10d)](_0x4f01e3){}[_0x5eb4c2(0x12c)](){}[_0x5eb4c2(0x11a)](){}[_0x5eb4c2(0xfc)](){}['onReadFeedEventUpdate'](_0x17766f){}[_0x5eb4c2(0x101)](_0x4390a7){}[_0x5eb4c2(0x106)](_0x5f5b0f){}['onRecvMsgSvrRspTransInfo'](_0x206585,_0x3b165d,_0x1e9495,_0x254e41,_0x5c05bb,_0x22e8b6){}[_0x5eb4c2(0x11c)](_0x496b1b){}[_0x5eb4c2(0x10c)](_0x374312){}[_0x5eb4c2(0xfd)](_0x27fa71){}[_0x5eb4c2(0x123)](_0x401463){}[_0x5eb4c2(0x128)](_0x629775){}[_0x5eb4c2(0x104)](_0x4cc084){}[_0x5eb4c2(0x117)](_0x1b7794){}[_0x5eb4c2(0x102)](_0x271931){}[_0x5eb4c2(0x135)](_0x29ea5b,_0x3e3269,_0xa13523,_0x312cfe){}[_0x5eb4c2(0x136)](_0x40525f,_0x51ed19,_0x4dc259,_0x577185){}[_0x5eb4c2(0x105)](_0x5bdbdb){}[_0x5eb4c2(0xf7)](_0x1f66fc){}[_0x5eb4c2(0x130)](_0x5d8dcf){}[_0x5eb4c2(0x118)](_0x5834aa){}['onUserOnlineStatusChanged'](_0x10d937){}[_0x5eb4c2(0x132)](_0x9ef666){}[_0x5eb4c2(0x114)](_0x453bc3,_0x57ba38,_0x49ff92){}[_0x5eb4c2(0x119)](_0x1ca4a5,_0x577c4a,_0x23dbde){}[_0x5eb4c2(0x12a)](..._0x53ed78){}[_0x5eb4c2(0x12f)](..._0x4e20bb){}[_0x5eb4c2(0x12b)](..._0x2f1bc1){}[_0x5eb4c2(0x129)](..._0x9f2f67){}} \ 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 88572793..0794d5bc 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x26cb96=_0x4b2f;(function(_0x2e111b,_0x56d2e0){var _0x258dd7=_0x4b2f,_0x50e740=_0x2e111b();while(!![]){try{var _0x4e5c7f=parseInt(_0x258dd7(0x1d0))/0x1+parseInt(_0x258dd7(0x1d7))/0x2*(-parseInt(_0x258dd7(0x1cc))/0x3)+-parseInt(_0x258dd7(0x1cf))/0x4+-parseInt(_0x258dd7(0x1d1))/0x5*(parseInt(_0x258dd7(0x1cd))/0x6)+-parseInt(_0x258dd7(0x1cb))/0x7+-parseInt(_0x258dd7(0x1d3))/0x8+-parseInt(_0x258dd7(0x1d2))/0x9*(-parseInt(_0x258dd7(0x1ce))/0xa);if(_0x4e5c7f===_0x56d2e0)break;else _0x50e740['push'](_0x50e740['shift']());}catch(_0x44e4b3){_0x50e740['push'](_0x50e740['shift']());}}}(_0x3349,0xacf85));function _0x4b2f(_0x1b7573,_0x142190){var _0x334930=_0x3349();return _0x4b2f=function(_0x4b2f97,_0x2e6988){_0x4b2f97=_0x4b2f97-0x1cb;var _0x3a02ed=_0x334930[_0x4b2f97];return _0x3a02ed;},_0x4b2f(_0x1b7573,_0x142190);}export class ProfileListener{[_0x26cb96(0x1d6)](..._0x1fb431){}[_0x26cb96(0x1d4)](_0x4fe7ab){}['onStatusUpdate'](..._0x57a2f6){}['onSelfStatusChanged'](..._0x2c7701){}[_0x26cb96(0x1d5)](..._0x524af8){}}function _0x3349(){var _0x4cf5d3=['89928DsSQwf','9214048tiErhG','onProfileDetailInfoChanged','onStrangerRemarkChanged','onProfileSimpleChanged','34084ACQMRl','1566600ZcQina','111cERRNu','6iykDXv','3070QKDabH','1213032JHXqqH','997818PvComQ','5237545NyEzET'];_0x3349=function(){return _0x4cf5d3;};return _0x3349();} \ No newline at end of file +function _0x40f2(_0x3f2e73,_0x506713){var _0x485509=_0x4855();return _0x40f2=function(_0x40f216,_0x1dc7f2){_0x40f216=_0x40f216-0x18c;var _0x15e09c=_0x485509[_0x40f216];return _0x15e09c;},_0x40f2(_0x3f2e73,_0x506713);}var _0x13ed34=_0x40f2;(function(_0x575ac4,_0xeea3c7){var _0xa7282=_0x40f2,_0x111cfe=_0x575ac4();while(!![]){try{var _0x3a13d9=parseInt(_0xa7282(0x198))/0x1*(parseInt(_0xa7282(0x197))/0x2)+parseInt(_0xa7282(0x18f))/0x3*(parseInt(_0xa7282(0x18c))/0x4)+parseInt(_0xa7282(0x18e))/0x5+-parseInt(_0xa7282(0x191))/0x6+-parseInt(_0xa7282(0x196))/0x7+-parseInt(_0xa7282(0x194))/0x8*(-parseInt(_0xa7282(0x193))/0x9)+parseInt(_0xa7282(0x192))/0xa;if(_0x3a13d9===_0xeea3c7)break;else _0x111cfe['push'](_0x111cfe['shift']());}catch(_0x54adf8){_0x111cfe['push'](_0x111cfe['shift']());}}}(_0x4855,0x85460));function _0x4855(){var _0x351479=['27408gDBfvd','onProfileDetailInfoChanged','2002332JCsqHX','3378330KnKEHL','1579437CcgAtS','24uQmLAl','onStrangerRemarkChanged','6077687bNUGsh','737496nxDrfS','1lHyMpb','92XXpWhg','onProfileSimpleChanged','1523315qletei'];_0x4855=function(){return _0x351479;};return _0x4855();}export class ProfileListener{[_0x13ed34(0x18d)](..._0x5b36a0){}[_0x13ed34(0x190)](_0x415564){}['onStatusUpdate'](..._0x19cd5e){}['onSelfStatusChanged'](..._0x1f6fb4){}[_0x13ed34(0x195)](..._0x5223d5){}} \ 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 0819f69c..062cc53d 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x380b2e=_0x7275;(function(_0x46856b,_0x5d45f3){var _0xea48c3=_0x7275,_0x16bf3f=_0x46856b();while(!![]){try{var _0x5ed2b9=-parseInt(_0xea48c3(0x195))/0x1*(-parseInt(_0xea48c3(0x198))/0x2)+-parseInt(_0xea48c3(0x196))/0x3+-parseInt(_0xea48c3(0x19a))/0x4*(-parseInt(_0xea48c3(0x19b))/0x5)+parseInt(_0xea48c3(0x197))/0x6+-parseInt(_0xea48c3(0x1a0))/0x7*(parseInt(_0xea48c3(0x199))/0x8)+-parseInt(_0xea48c3(0x19f))/0x9*(parseInt(_0xea48c3(0x19e))/0xa)+parseInt(_0xea48c3(0x193))/0xb*(parseInt(_0xea48c3(0x19d))/0xc);if(_0x5ed2b9===_0x5d45f3)break;else _0x16bf3f['push'](_0x16bf3f['shift']());}catch(_0x312df4){_0x16bf3f['push'](_0x16bf3f['shift']());}}}(_0x37bd,0xe7b2d));export class KernelRobotListener{[_0x380b2e(0x19c)](..._0x119c83){}['onRobotListChanged'](..._0x3fa342){}[_0x380b2e(0x194)](..._0x24d8fb){}}function _0x7275(_0x25247f,_0x7d1c0a){var _0x37bd87=_0x37bd();return _0x7275=function(_0x7275f4,_0x2adac6){_0x7275f4=_0x7275f4-0x193;var _0x467203=_0x37bd87[_0x7275f4];return _0x467203;},_0x7275(_0x25247f,_0x7d1c0a);}function _0x37bd(){var _0x31a4f8=['8870477GAyoME','onRobotProfileChanged','9233EFgZyo','809331DKVFst','3552468mYlSbP','10MwKOMB','24sIUkSQ','2369356KwWFyY','5bCOSNU','onRobotFriendListChanged','24SxCVXO','9656140PbhRqz','9xfBFib','1537592ungsWh'];_0x37bd=function(){return _0x31a4f8;};return _0x37bd();} \ No newline at end of file +function _0x3d4c(_0x557bfc,_0x3fd447){var _0x5c1aba=_0x5c1a();return _0x3d4c=function(_0x3d4c4e,_0x17addb){_0x3d4c4e=_0x3d4c4e-0xda;var _0x3909e7=_0x5c1aba[_0x3d4c4e];return _0x3909e7;},_0x3d4c(_0x557bfc,_0x3fd447);}var _0x157adf=_0x3d4c;(function(_0x42be9b,_0x1535a5){var _0x14bf97=_0x3d4c,_0x4f5daa=_0x42be9b();while(!![]){try{var _0x563fb0=-parseInt(_0x14bf97(0xe1))/0x1*(-parseInt(_0x14bf97(0xe2))/0x2)+-parseInt(_0x14bf97(0xdd))/0x3*(-parseInt(_0x14bf97(0xe3))/0x4)+-parseInt(_0x14bf97(0xe5))/0x5*(-parseInt(_0x14bf97(0xe6))/0x6)+-parseInt(_0x14bf97(0xe0))/0x7+-parseInt(_0x14bf97(0xe4))/0x8*(-parseInt(_0x14bf97(0xdc))/0x9)+parseInt(_0x14bf97(0xda))/0xa+-parseInt(_0x14bf97(0xdf))/0xb*(parseInt(_0x14bf97(0xdb))/0xc);if(_0x563fb0===_0x1535a5)break;else _0x4f5daa['push'](_0x4f5daa['shift']());}catch(_0xbfa456){_0x4f5daa['push'](_0x4f5daa['shift']());}}}(_0x5c1a,0x53855));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x272988){}[_0x157adf(0xde)](..._0x515fb6){}['onRobotProfileChanged'](..._0x10289f){}}function _0x5c1a(){var _0x7e7bbf=['onRobotListChanged','275jElXFX','1699656OVlgXP','1511wcOavM','808oRKKnz','232JSSLZI','10288aSnGxY','355pnJBAq','31386YpRbWe','3079370JuCgSd','716172ePBvrR','3789gAwOlf','12711aFMelO'];_0x5c1a=function(){return _0x7e7bbf;};return _0x5c1a();} \ 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 a8f07036..78881cf3 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x5a32ff=_0x74ad;function _0x74ad(_0x15db47,_0x5f3d55){var _0x48ded2=_0x48de();return _0x74ad=function(_0x74ad61,_0x2f841a){_0x74ad61=_0x74ad61-0x160;var _0x30326b=_0x48ded2[_0x74ad61];return _0x30326b;},_0x74ad(_0x15db47,_0x5f3d55);}(function(_0x26569f,_0x3457cb){var _0x3d8d94=_0x74ad,_0x18f6ac=_0x26569f();while(!![]){try{var _0x30ea5c=-parseInt(_0x3d8d94(0x169))/0x1+-parseInt(_0x3d8d94(0x163))/0x2*(parseInt(_0x3d8d94(0x16b))/0x3)+-parseInt(_0x3d8d94(0x160))/0x4*(parseInt(_0x3d8d94(0x162))/0x5)+-parseInt(_0x3d8d94(0x16d))/0x6+parseInt(_0x3d8d94(0x166))/0x7+-parseInt(_0x3d8d94(0x16f))/0x8*(-parseInt(_0x3d8d94(0x161))/0x9)+parseInt(_0x3d8d94(0x167))/0xa;if(_0x30ea5c===_0x3457cb)break;else _0x18f6ac['push'](_0x18f6ac['shift']());}catch(_0x2facfe){_0x18f6ac['push'](_0x18f6ac['shift']());}}}(_0x48de,0x47c59));export class SessionListener{[_0x5a32ff(0x16e)](_0x591132){}[_0x5a32ff(0x16c)](_0x204426){}[_0x5a32ff(0x164)](_0x3fcd96){}[_0x5a32ff(0x168)](_0x120deb){}[_0x5a32ff(0x165)](_0x2fd2d4){}[_0x5a32ff(0x16a)](_0x516233){}}function _0x48de(){var _0x18e587=['4206MCleuy','onSessionInitComplete','onUserOnlineResult','2862622GfHEsS','10028360cxAMAG','onOpentelemetryInit','326138wUIJdw','onGetSelfTinyId','639takDjq','onGProSessionCreate','3459750csAJuA','onNTSessionCreate','4072axeXoO','472DEahzC','7569MIUHeM','8270tgntiD'];_0x48de=function(){return _0x18e587;};return _0x48de();} \ No newline at end of file +function _0x14dd(_0x268d1e,_0x3c0677){var _0x46b85c=_0x46b8();return _0x14dd=function(_0x14dde4,_0x4b5b9b){_0x14dde4=_0x14dde4-0x9b;var _0x5948fc=_0x46b85c[_0x14dde4];return _0x5948fc;},_0x14dd(_0x268d1e,_0x3c0677);}var _0x1d514e=_0x14dd;function _0x46b8(){var _0x474df0=['onGetSelfTinyId','3675903XCCOpg','4550248NmTOhw','814372iyjfTn','5390568qcDyWM','18EbJgPL','onUserOnlineResult','30pxEsPI','onNTSessionCreate','onGProSessionCreate','137322cIpfcB','onSessionInitComplete','163410EvPGNT','146512TJKcsJ'];_0x46b8=function(){return _0x474df0;};return _0x46b8();}(function(_0x58bf93,_0x428ded){var _0x26f4bd=_0x14dd,_0x582756=_0x58bf93();while(!![]){try{var _0xdceabe=-parseInt(_0x26f4bd(0xa2))/0x1+parseInt(_0x26f4bd(0xa5))/0x2*(-parseInt(_0x26f4bd(0x9d))/0x3)+parseInt(_0x26f4bd(0x9b))/0x4+parseInt(_0x26f4bd(0xa4))/0x5*(parseInt(_0x26f4bd(0x9f))/0x6)+parseInt(_0x26f4bd(0xa7))/0x7+parseInt(_0x26f4bd(0xa8))/0x8+-parseInt(_0x26f4bd(0x9c))/0x9;if(_0xdceabe===_0x428ded)break;else _0x582756['push'](_0x582756['shift']());}catch(_0x17d4e1){_0x582756['push'](_0x582756['shift']());}}}(_0x46b8,0x459af));export class SessionListener{[_0x1d514e(0xa0)](_0xa6a355){}[_0x1d514e(0xa1)](_0x443b9c){}[_0x1d514e(0xa3)](_0x158cc2){}['onOpentelemetryInit'](_0x1cdb3d){}[_0x1d514e(0x9e)](_0x4c220a){}[_0x1d514e(0xa6)](_0x230eba){}} \ 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 954f8c67..5c20bbc5 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x2e13(_0x5afad2,_0x2309b4){var _0x153d3a=_0x153d();return _0x2e13=function(_0x2e1331,_0x9d9577){_0x2e1331=_0x2e1331-0x1ab;var _0xa40500=_0x153d3a[_0x2e1331];return _0xa40500;},_0x2e13(_0x5afad2,_0x2309b4);}var _0x334134=_0x2e13;(function(_0x5e4d26,_0x20c95d){var _0x353371=_0x2e13,_0x4ecb59=_0x5e4d26();while(!![]){try{var _0x49ff82=-parseInt(_0x353371(0x1b8))/0x1*(-parseInt(_0x353371(0x1ae))/0x2)+parseInt(_0x353371(0x1ac))/0x3*(-parseInt(_0x353371(0x1b4))/0x4)+-parseInt(_0x353371(0x1b2))/0x5*(-parseInt(_0x353371(0x1ab))/0x6)+parseInt(_0x353371(0x1b9))/0x7*(parseInt(_0x353371(0x1bb))/0x8)+parseInt(_0x353371(0x1b6))/0x9+parseInt(_0x353371(0x1ad))/0xa*(-parseInt(_0x353371(0x1ba))/0xb)+parseInt(_0x353371(0x1b0))/0xc*(-parseInt(_0x353371(0x1af))/0xd);if(_0x49ff82===_0x20c95d)break;else _0x4ecb59['push'](_0x4ecb59['shift']());}catch(_0x3474fd){_0x4ecb59['push'](_0x4ecb59['shift']());}}}(_0x153d,0x5846f));export class StorageCleanListener{[_0x334134(0x1b5)](_0x5d18ab){}[_0x334134(0x1b1)](_0x992fa0){}[_0x334134(0x1b7)](_0x1eb7b9){}['onFinishScan'](_0x199f50){}[_0x334134(0x1b3)](_0x47421a){}}function _0x153d(){var _0x511b88=['onScanCacheProgressChanged','2289065lacNos','onChatCleanDone','4FUJdrq','onCleanCacheProgressChanged','5311197RxWdMX','onCleanCacheStorageChanged','6883hzvBHB','925827UPKtiz','165XxHIUf','8RJLUur','6XnavMx','322872uHbHix','20500vYoIhI','38UJQotq','91wjdCUI','1390332CRTIIM'];_0x153d=function(){return _0x511b88;};return _0x153d();} \ No newline at end of file +function _0x8dab(){var _0x2389ac=['1241928tSoXVP','431060CzBPED','657944ZyfMIA','3pPAJFP','25848027uGJNTx','onFinishScan','onCleanCacheStorageChanged','8NOZKrG','490720xmkJRa','onCleanCacheProgressChanged','676610ygpWig','onScanCacheProgressChanged','7714380KhUFuZ'];_0x8dab=function(){return _0x2389ac;};return _0x8dab();}var _0x78b0b1=_0xba9b;function _0xba9b(_0x12101e,_0x5557f3){var _0x8dab9b=_0x8dab();return _0xba9b=function(_0xba9b12,_0x1c5bfe){_0xba9b12=_0xba9b12-0x143;var _0x1d7272=_0x8dab9b[_0xba9b12];return _0x1d7272;},_0xba9b(_0x12101e,_0x5557f3);}(function(_0x2c5355,_0x3e39a4){var _0x261b00=_0xba9b,_0x4e688a=_0x2c5355();while(!![]){try{var _0x774d45=-parseInt(_0x261b00(0x14d))/0x1+parseInt(_0x261b00(0x147))/0x2+-parseInt(_0x261b00(0x148))/0x3*(parseInt(_0x261b00(0x145))/0x4)+-parseInt(_0x261b00(0x14f))/0x5+-parseInt(_0x261b00(0x144))/0x6+-parseInt(_0x261b00(0x146))/0x7+parseInt(_0x261b00(0x14c))/0x8*(parseInt(_0x261b00(0x149))/0x9);if(_0x774d45===_0x3e39a4)break;else _0x4e688a['push'](_0x4e688a['shift']());}catch(_0x11efa3){_0x4e688a['push'](_0x4e688a['shift']());}}}(_0x8dab,0xdfe95));export class StorageCleanListener{[_0x78b0b1(0x14e)](_0x3f1b36){}[_0x78b0b1(0x143)](_0x3b937f){}[_0x78b0b1(0x14b)](_0x427b60){}[_0x78b0b1(0x14a)](_0x2eb4c5){}['onChatCleanDone'](_0x2648ea){}} \ 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 f607bc16..73152034 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x22508b,_0x5ebe54){var _0x3dc377=_0x2a4f,_0x18f38f=_0x22508b();while(!![]){try{var _0x95abcd=-parseInt(_0x3dc377(0x1ce))/0x1+-parseInt(_0x3dc377(0x1d5))/0x2*(parseInt(_0x3dc377(0x1d2))/0x3)+-parseInt(_0x3dc377(0x1d0))/0x4*(parseInt(_0x3dc377(0x1cf))/0x5)+parseInt(_0x3dc377(0x1d7))/0x6*(parseInt(_0x3dc377(0x1d3))/0x7)+-parseInt(_0x3dc377(0x1d1))/0x8+parseInt(_0x3dc377(0x1d6))/0x9+parseInt(_0x3dc377(0x1d4))/0xa;if(_0x95abcd===_0x5ebe54)break;else _0x18f38f['push'](_0x18f38f['shift']());}catch(_0x23879b){_0x18f38f['push'](_0x18f38f['shift']());}}}(_0x2a5a,0x2587f));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x2a4f(_0x3fd26c,_0x2fca98){var _0x2a5a74=_0x2a5a();return _0x2a4f=function(_0x2a4f82,_0x18a64f){_0x2a4f82=_0x2a4f82-0x1ce;var _0x225e81=_0x2a5a74[_0x2a4f82];return _0x225e81;},_0x2a4f(_0x3fd26c,_0x2fca98);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x2a5a(){var _0x1642db=['6ArXwni','138559dFkndJ','203055FPHzBT','12DKWHmt','257856SHuDHQ','21cNVYMz','835121VPmjxG','3205030VMewiP','49438VgUUOs','1616202nMoAEZ'];_0x2a5a=function(){return _0x1642db;};return _0x2a5a();} \ No newline at end of file +(function(_0x22084b,_0x469d2a){var _0x3272b0=_0x4328,_0x2c7ce0=_0x22084b();while(!![]){try{var _0x5af215=parseInt(_0x3272b0(0xe2))/0x1+-parseInt(_0x3272b0(0xde))/0x2*(-parseInt(_0x3272b0(0xe0))/0x3)+-parseInt(_0x3272b0(0xdf))/0x4+parseInt(_0x3272b0(0xe3))/0x5*(parseInt(_0x3272b0(0xe1))/0x6)+parseInt(_0x3272b0(0xe6))/0x7+-parseInt(_0x3272b0(0xe4))/0x8+-parseInt(_0x3272b0(0xe5))/0x9;if(_0x5af215===_0x469d2a)break;else _0x2c7ce0['push'](_0x2c7ce0['shift']());}catch(_0x1262b8){_0x2c7ce0['push'](_0x2c7ce0['shift']());}}}(_0x26f6,0x3dfc7));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x4328(_0x43039a,_0x48040a){var _0x26f61a=_0x26f6();return _0x4328=function(_0x4328ee,_0x5b96c6){_0x4328ee=_0x4328ee-0xde;var _0x468833=_0x26f61a[_0x4328ee];return _0x468833;},_0x4328(_0x43039a,_0x48040a);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x26f6(){var _0x4fa37b=['479675KIEuIx','174aXWvzU','1182072oxOeGK','2802lGsmzJ','13152pjdsYq','223517QWVZKw','920AKGths','858720qpJDVr','1078875ApApda'];_0x26f6=function(){return _0x4fa37b;};return _0x26f6();} \ 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 eb9f44fa..84aa9d7f 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x53febb,_0x6cc64a){var _0x4d1d05=_0xc33d,_0x3f8349=_0x53febb();while(!![]){try{var _0x51e4c0=parseInt(_0x4d1d05(0xac))/0x1+-parseInt(_0x4d1d05(0xb4))/0x2*(parseInt(_0x4d1d05(0xad))/0x3)+-parseInt(_0x4d1d05(0xb3))/0x4*(parseInt(_0x4d1d05(0xb0))/0x5)+parseInt(_0x4d1d05(0xb2))/0x6+-parseInt(_0x4d1d05(0xaf))/0x7*(parseInt(_0x4d1d05(0xae))/0x8)+parseInt(_0x4d1d05(0xb6))/0x9+-parseInt(_0x4d1d05(0xb1))/0xa*(-parseInt(_0x4d1d05(0xb5))/0xb);if(_0x51e4c0===_0x6cc64a)break;else _0x3f8349['push'](_0x3f8349['shift']());}catch(_0x2ee77d){_0x3f8349['push'](_0x3f8349['shift']());}}}(_0xb493,0x82cdb));export var GeneralCallResultStatus;function _0xc33d(_0x2ba33a,_0xf2f9a5){var _0xb4933a=_0xb493();return _0xc33d=function(_0xc33db4,_0x292c82){_0xc33db4=_0xc33db4-0xac;var _0x5c1073=_0xb4933a[_0xc33db4];return _0x5c1073;},_0xc33d(_0x2ba33a,_0xf2f9a5);}(function(_0x31716e){_0x31716e[_0x31716e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0xb493(){var _0x370fda=['827964NMMhTu','68sDgyRb','512JRjfZC','2292235MaTdal','2439513OgAGwu','117865LiTNYr','9726ylPaIc','152GszClx','332108busvFt','284930SeftPv','130XubsLF'];_0xb493=function(){return _0x370fda;};return _0xb493();} \ No newline at end of file +(function(_0x3a0d89,_0x133a41){var _0x2d4856=_0x1985,_0x2146a7=_0x3a0d89();while(!![]){try{var _0x4eb6a1=-parseInt(_0x2d4856(0xd8))/0x1+parseInt(_0x2d4856(0xd4))/0x2*(-parseInt(_0x2d4856(0xdc))/0x3)+parseInt(_0x2d4856(0xd5))/0x4+-parseInt(_0x2d4856(0xd6))/0x5+-parseInt(_0x2d4856(0xd7))/0x6+-parseInt(_0x2d4856(0xdb))/0x7*(parseInt(_0x2d4856(0xd9))/0x8)+-parseInt(_0x2d4856(0xd3))/0x9*(-parseInt(_0x2d4856(0xda))/0xa);if(_0x4eb6a1===_0x133a41)break;else _0x2146a7['push'](_0x2146a7['shift']());}catch(_0x22d811){_0x2146a7['push'](_0x2146a7['shift']());}}}(_0x1201,0xce0de));function _0x1985(_0x2513df,_0x130974){var _0x120138=_0x1201();return _0x1985=function(_0x198564,_0x1624b6){_0x198564=_0x198564-0xd3;var _0x3af2b9=_0x120138[_0x198564];return _0x3af2b9;},_0x1985(_0x2513df,_0x130974);}export var GeneralCallResultStatus;(function(_0x35685d){_0x35685d[_0x35685d['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x1201(){var _0xa57162=['41864YmPMwS','8yySElV','28984180bQgfIo','5201364rxpwmU','30819xBjkHj','9WzPCGW','50lqJAkI','4647624HgXraO','4129015HGxaaj','8092692caWoYL'];_0x1201=function(){return _0xa57162;};return _0x1201();} \ 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 7558d1cf..d3ae4510 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x48e64a,_0x2ae223){var _0x11235c=_0x3c27,_0x3dba65=_0x48e64a();while(!![]){try{var _0x391cf6=-parseInt(_0x11235c(0x184))/0x1*(-parseInt(_0x11235c(0x182))/0x2)+parseInt(_0x11235c(0x187))/0x3*(parseInt(_0x11235c(0x185))/0x4)+-parseInt(_0x11235c(0x18b))/0x5+parseInt(_0x11235c(0x18a))/0x6+-parseInt(_0x11235c(0x18c))/0x7*(parseInt(_0x11235c(0x186))/0x8)+-parseInt(_0x11235c(0x188))/0x9+-parseInt(_0x11235c(0x189))/0xa*(-parseInt(_0x11235c(0x183))/0xb);if(_0x391cf6===_0x2ae223)break;else _0x3dba65['push'](_0x3dba65['shift']());}catch(_0x1715ff){_0x3dba65['push'](_0x3dba65['shift']());}}}(_0x4e9b,0xcb776));export*from'./common';function _0x4e9b(){var _0x384642=['1583325DdQxDb','21lnkOgI','8ZsqtQS','750871kqeRKH','42022ygssjc','141244azvbjB','3095912czhJoE','69mSXfla','1150056MzKIqS','30yWNbiF','7522740Xidfwf'];_0x4e9b=function(){return _0x384642;};return _0x4e9b();}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x3c27(_0x2e43f2,_0x3298a0){var _0x4e9bb1=_0x4e9b();return _0x3c27=function(_0x3c273b,_0x25802b){_0x3c273b=_0x3c273b-0x182;var _0x55685b=_0x4e9bb1[_0x3c273b];return _0x55685b;},_0x3c27(_0x2e43f2,_0x3298a0);}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x29a431,_0x48bac7){var _0x3e8096=_0x43c1,_0x14c8bb=_0x29a431();while(!![]){try{var _0x382ef9=-parseInt(_0x3e8096(0x16c))/0x1*(-parseInt(_0x3e8096(0x16e))/0x2)+parseInt(_0x3e8096(0x166))/0x3+parseInt(_0x3e8096(0x167))/0x4*(-parseInt(_0x3e8096(0x16b))/0x5)+-parseInt(_0x3e8096(0x169))/0x6+-parseInt(_0x3e8096(0x16a))/0x7+-parseInt(_0x3e8096(0x168))/0x8*(-parseInt(_0x3e8096(0x16d))/0x9)+parseInt(_0x3e8096(0x165))/0xa;if(_0x382ef9===_0x48bac7)break;else _0x14c8bb['push'](_0x14c8bb['shift']());}catch(_0x235144){_0x14c8bb['push'](_0x14c8bb['shift']());}}}(_0x4837,0xec363));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x43c1(_0x40158a,_0x3e19b2){var _0x483740=_0x4837();return _0x43c1=function(_0x43c14b,_0xe1ddea){_0x43c14b=_0x43c14b-0x165;var _0x3af262=_0x483740[_0x43c14b];return _0x3af262;},_0x43c1(_0x40158a,_0x3e19b2);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x4837(){var _0x40134d=['5134610FFjJGs','198097ZoPAXe','9CFDZtG','6oqSkph','19618680XzXKxu','933588lesUGG','4BELCUI','6147536gkSxkw','8808006fwvqAk','1213457PalBhp'];_0x4837=function(){return _0x40134d;};return _0x4837();}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 6660bdbb..c630a85f 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x1c4c(_0x4567a9,_0x4247a3){const _0x3ce4a2=_0x3ce4();return _0x1c4c=function(_0x1c4c4f,_0xdd2211){_0x1c4c4f=_0x1c4c4f-0x165;let _0xc91372=_0x3ce4a2[_0x1c4c4f];return _0xc91372;},_0x1c4c(_0x4567a9,_0x4247a3);}function _0x3ce4(){const _0x46573f=['join','17LtKalw','kcFPh','temp','readFileSync','KkaPh','guid.txt','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','xvhOU','215176fwBaWY','writeFileSync','929504JhDVjF','98970dDBOsK','NapCat','version','assign','1129415SYOrHi','14bZjwMz','9458DqCvgk','70443nwXNvw','mkdirSync','387JkWwhX','380796KhuqEf'];_0x3ce4=function(){return _0x46573f;};return _0x3ce4();}(function(_0x4b9768,_0xe4f487){const _0x361970=_0x1c4c,_0x25b497=_0x4b9768();while(!![]){try{const _0x351578=-parseInt(_0x361970(0x172))/0x1*(parseInt(_0x361970(0x16c))/0x2)+parseInt(_0x361970(0x16d))/0x3+parseInt(_0x361970(0x165))/0x4+parseInt(_0x361970(0x16a))/0x5+parseInt(_0x361970(0x170))/0x6*(parseInt(_0x361970(0x16b))/0x7)+parseInt(_0x361970(0x17a))/0x8+-parseInt(_0x361970(0x16f))/0x9*(parseInt(_0x361970(0x166))/0xa);if(_0x351578===_0xe4f487)break;else _0x25b497['push'](_0x25b497['shift']());}catch(_0x9f0344){_0x25b497['push'](_0x25b497['shift']());}}}(_0x3ce4,0x1fa45));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x41d46c from'node:path';import _0x412bb7 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x356298,_0x5ae6a8,_0x23d4ba){const _0x41d387=_0x1c4c,_0x56d8c6={'KkaPh':_0x41d387(0x167),'xvhOU':_0x41d387(0x174),'vUUjF':function(_0xcad4ee){return _0xcad4ee();},'kcFPh':'utf-8'},_0x465dba=_0x41d46c[_0x41d387(0x171)](_0x23d4ba,_0x56d8c6[_0x41d387(0x176)],_0x56d8c6[_0x41d387(0x179)]);_0x412bb7[_0x41d387(0x16e)](_0x465dba,{'recursive':!![]});const _0x401268=_0x41d46c[_0x41d387(0x171)](_0x23d4ba,_0x56d8c6['KkaPh'],_0x41d387(0x177));let _0x3016b7=_0x56d8c6['vUUjF'](randomUUID);try{_0x3016b7=_0x412bb7[_0x41d387(0x175)](_0x41d46c['join'](_0x401268),_0x56d8c6[_0x41d387(0x173)]);}catch(_0x302ea2){_0x412bb7[_0x41d387(0x17b)](_0x41d46c[_0x41d387(0x171)](_0x401268),_0x3016b7,_0x56d8c6[_0x41d387(0x173)]);}const _0x4c96e9={'selfUin':_0x356298,'selfUid':_0x5ae6a8,'desktopPathConfig':{'account_path':_0x23d4ba},'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':_0x465dba,'deviceInfo':{'guid':_0x3016b7,'buildVer':qqPkgInfo[_0x41d387(0x168)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x41d387(0x178)};return Object[_0x41d387(0x169)](sessionConfig,_0x4c96e9),_0x4c96e9;} \ No newline at end of file +(function(_0x2028cd,_0x4cfd85){const _0x50a87e=_0x4782,_0x45f1b3=_0x2028cd();while(!![]){try{const _0x4ad050=-parseInt(_0x50a87e(0x179))/0x1*(-parseInt(_0x50a87e(0x173))/0x2)+-parseInt(_0x50a87e(0x16a))/0x3+-parseInt(_0x50a87e(0x176))/0x4*(parseInt(_0x50a87e(0x174))/0x5)+parseInt(_0x50a87e(0x168))/0x6*(parseInt(_0x50a87e(0x181))/0x7)+-parseInt(_0x50a87e(0x16d))/0x8*(parseInt(_0x50a87e(0x172))/0x9)+-parseInt(_0x50a87e(0x17e))/0xa*(-parseInt(_0x50a87e(0x180))/0xb)+parseInt(_0x50a87e(0x17c))/0xc;if(_0x4ad050===_0x4cfd85)break;else _0x45f1b3['push'](_0x45f1b3['shift']());}catch(_0x31a837){_0x45f1b3['push'](_0x45f1b3['shift']());}}}(_0x27db,0x7c8e7));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x8e4419 from'node:path';import _0x433c91 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x479e43,_0x530974,_0x52b092){const _0x508966=_0x4782,_0xaf8b49={'extiT':_0x508966(0x17b),'gIebb':_0x508966(0x17d),'NnQZK':_0x508966(0x177),'zmseF':'utf-8','MmFhj':_0x508966(0x178)},_0x4334ec=_0x8e4419['join'](_0x52b092,_0xaf8b49['extiT'],_0xaf8b49[_0x508966(0x170)]);_0x433c91[_0x508966(0x16e)](_0x4334ec,{'recursive':!![]});const _0x131585=_0x8e4419[_0x508966(0x17f)](_0x52b092,_0xaf8b49[_0x508966(0x171)],_0xaf8b49['NnQZK']);let _0x329836=randomUUID();try{_0x329836=_0x433c91[_0x508966(0x16f)](_0x8e4419['join'](_0x131585),_0xaf8b49[_0x508966(0x17a)]);}catch(_0x554b62){_0x433c91[_0x508966(0x175)](_0x8e4419[_0x508966(0x17f)](_0x131585),_0x329836,_0xaf8b49[_0x508966(0x17a)]);}const _0x1e94c2={'selfUin':_0x479e43,'selfUid':_0x530974,'desktopPathConfig':{'account_path':_0x52b092},'clientVer':qqVersionConfigInfo[_0x508966(0x16b)],'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':_0x4334ec,'deviceInfo':{'guid':_0x329836,'buildVer':qqPkgInfo[_0x508966(0x16c)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xaf8b49['MmFhj']};return Object[_0x508966(0x169)](sessionConfig,_0x1e94c2),_0x1e94c2;}function _0x4782(_0x26e21e,_0x4d4f19){const _0x27db73=_0x27db();return _0x4782=function(_0x47825e,_0x457fc0){_0x47825e=_0x47825e-0x168;let _0x586dc3=_0x27db73[_0x47825e];return _0x586dc3;},_0x4782(_0x26e21e,_0x4d4f19);}function _0x27db(){const _0x5dc7c9=['version','4831352nYjvaK','mkdirSync','readFileSync','gIebb','extiT','9OOiDLi','1998298nqAahJ','1611205Cwtcuq','writeFileSync','4MzMIie','guid.txt','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','1ehxhMQ','zmseF','NapCat','3704316wfUjXG','temp','2795330enpzlw','join','33PrdkKe','14fKonmD','30822FYJsuJ','assign','2161116eBoJqV','curVersion'];_0x27db=function(){return _0x5dc7c9;};return _0x27db();} \ 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 2d728568..36265bda 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x2f5f5a=_0x1d53;(function(_0x5c6cd1,_0x1ebc55){const _0x378088=_0x1d53,_0x53c403=_0x5c6cd1();while(!![]){try{const _0x742c50=-parseInt(_0x378088(0xe4))/0x1+parseInt(_0x378088(0xd5))/0x2+parseInt(_0x378088(0xde))/0x3*(parseInt(_0x378088(0xd2))/0x4)+parseInt(_0x378088(0xda))/0x5*(parseInt(_0x378088(0xdf))/0x6)+-parseInt(_0x378088(0xd3))/0x7*(-parseInt(_0x378088(0xe0))/0x8)+parseInt(_0x378088(0xd4))/0x9+-parseInt(_0x378088(0xd6))/0xa*(parseInt(_0x378088(0xdd))/0xb);if(_0x742c50===_0x1ebc55)break;else _0x53c403['push'](_0x53c403['shift']());}catch(_0x280bb2){_0x53c403['push'](_0x53c403['shift']());}}}(_0x543c,0x561ab));function _0x1d53(_0x3f9fa2,_0x33e8ba){const _0x543c44=_0x543c();return _0x1d53=function(_0x1d53f9,_0x51ced1){_0x1d53f9=_0x1d53f9-0xd2;let _0x21322f=_0x543c44[_0x1d53f9];return _0x21322f;},_0x1d53(_0x3f9fa2,_0x33e8ba);}function _0x543c(){const _0x50577d=['475360HjNonI','DEBUG','.json','fileLogLevel','2609465YCmmlr','consoleLogLevel','napcat_','66Deeqvo','192HhcHFF','6HSlLjw','20032wdsaAB','fileLog','getConfigPath','consoleLog','643407YUqswF','16084IEJpmS','1092dRTdJS','672264BesQjG','73498ALPaXX'];_0x543c=function(){return _0x50577d;};return _0x543c();}import _0x56f8cd from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2f5f5a(0xe1)]=!![];[_0x2f5f5a(0xe3)]=!![];[_0x2f5f5a(0xd9)]=LogLevel[_0x2f5f5a(0xd7)];[_0x2f5f5a(0xdb)]=LogLevel['INFO'];constructor(){super();}[_0x2f5f5a(0xe2)](){const _0x258ad1=_0x2f5f5a;return _0x56f8cd['join'](this['getConfigDir'](),_0x258ad1(0xdc)+selfInfo['uin']+_0x258ad1(0xd8));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x532060=_0x4e4e;(function(_0x5b9e8d,_0x5d3e9d){const _0x4bec69=_0x4e4e,_0x28789b=_0x5b9e8d();while(!![]){try{const _0xaf0112=-parseInt(_0x4bec69(0xb4))/0x1*(parseInt(_0x4bec69(0xbf))/0x2)+parseInt(_0x4bec69(0xb9))/0x3*(parseInt(_0x4bec69(0xb5))/0x4)+parseInt(_0x4bec69(0xc2))/0x5*(-parseInt(_0x4bec69(0xb0))/0x6)+-parseInt(_0x4bec69(0xb3))/0x7*(-parseInt(_0x4bec69(0xaf))/0x8)+parseInt(_0x4bec69(0xc1))/0x9*(-parseInt(_0x4bec69(0xbc))/0xa)+parseInt(_0x4bec69(0xb2))/0xb+-parseInt(_0x4bec69(0xc3))/0xc;if(_0xaf0112===_0x5d3e9d)break;else _0x28789b['push'](_0x28789b['shift']());}catch(_0x346e8e){_0x28789b['push'](_0x28789b['shift']());}}}(_0x36a9,0x37ee9));import _0x642ef5 from'node:path';function _0x36a9(){const _0x47b432=['consoleLogLevel','53694UfJwKM','1905zhdDPH','1297524VVLrUz','16nUfCKg','2250mjottV','consoleLog','3019698lNkmxO','1400525QKpmpe','1yYPADy','1178460pzLigg','fileLog','getConfigDir','getConfigPath','3LBMtZP','uin','napcat_','230VnleEH','join','.json','703932XRNUeL'];_0x36a9=function(){return _0x47b432;};return _0x36a9();}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x4e4e(_0x47f10c,_0x315eca){const _0x36a9dd=_0x36a9();return _0x4e4e=function(_0x4e4e74,_0x56b762){_0x4e4e74=_0x4e4e74-0xaf;let _0x538f0b=_0x36a9dd[_0x4e4e74];return _0x538f0b;},_0x4e4e(_0x47f10c,_0x315eca);}class Config extends ConfigBase{[_0x532060(0xb6)]=!![];[_0x532060(0xb1)]=!![];['fileLogLevel']=LogLevel['DEBUG'];[_0x532060(0xc0)]=LogLevel['INFO'];constructor(){super();}[_0x532060(0xb8)](){const _0x439cd7=_0x532060;return _0x642ef5[_0x439cd7(0xbd)](this[_0x439cd7(0xb7)](),_0x439cd7(0xbb)+selfInfo[_0x439cd7(0xba)]+_0x439cd7(0xbe));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/db.js b/src/core.lib/src/utils/db.js index 0e8992d7..262c9957 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x28bd2f=_0x1eec;(function(_0x16c803,_0x37b0d0){const _0xb5ee82=_0x1eec,_0x5cb0b7=_0x16c803();while(!![]){try{const _0x12f12d=parseInt(_0xb5ee82(0xa2))/0x1+parseInt(_0xb5ee82(0xb6))/0x2*(parseInt(_0xb5ee82(0xef))/0x3)+-parseInt(_0xb5ee82(0x116))/0x4*(parseInt(_0xb5ee82(0x11e))/0x5)+parseInt(_0xb5ee82(0x12c))/0x6+parseInt(_0xb5ee82(0x12d))/0x7+parseInt(_0xb5ee82(0x122))/0x8*(-parseInt(_0xb5ee82(0xe8))/0x9)+parseInt(_0xb5ee82(0xa9))/0xa*(-parseInt(_0xb5ee82(0xa3))/0xb);if(_0x12f12d===_0x37b0d0)break;else _0x5cb0b7['push'](_0x5cb0b7['shift']());}catch(_0x331d1a){_0x5cb0b7['push'](_0x5cb0b7['shift']());}}}(_0xcd02,0x22733));function _0xcd02(){const _0x1fb751=['updateMsg\x20db\x20error','TuHtP','157035zxyHip','init','getMsgsByMsgId','chatType','2225128DmBTOa','getFileCacheByUuid','getFileCacheByName','get','msgTime','GAaXD','AHHYm','TgXMw','db\x20could\x20not\x20get\x20temp\x20uin\x20map','iKLtb','1640826ENdzgV','1176805oCSAxK','更新消息,\x20shortId:','addTempUin','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','清理消息缓存','getMsgBySeq','PSbuk','KyIss','sEILe','138384IBfZxZ','22xNGIth','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','xAVZD','now','384910pmDegN','uuid','YUdSD','XvxkT','GAXmy','eTPMC','kqAkG','KPwQo','db\x20could\x20not\x20update\x20file\x20cache','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','Lnpod','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','2eAtito','msgSeq','JNuMk','WJcEM','globalMsgShortId','all','MBsKB','FuQsF','MLbBB','CsPLk','size','Could\x20not\x20create\x20table\x20files','element','KdjXj','longId','getUidByTempUin','Method\x20not\x20implemented.','XwyoX','Could\x20not\x20create\x20table\x20msgs','zGTcg','eqWGG','onowA','nlLyG','db\x20could\x20not\x20add\x20file','GMXsX','yYQrE','toString','forEach','getMsgByLongId','pQtfI','parse','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','stringify','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','getFileCache','createTable','yOPei','set','nMaki','uaFEb','eopQn','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','scySS','XzRsY','peerUid','msgList','QVDoe','RjyqH','elementType','9vOGaax','maxId','ZWuBH','db\x20could\x20not\x20add\x20msg','getCurrentMaxShortId','getReceivedTempUinMap','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','31443wDkphM','updateFileCache','PVbbZ','ayfWn','db\x20getMsgByLongId\x20error','then','Could\x20not\x20connect\x20to\x20database','addMsg','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','url','FRjBV','eMHED',',\x20seq:\x20','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','eXLoo','close','ErRTT','Could\x20not\x20create\x20table\x20temp_uins','cntqQ','catch','VQmwc','updateMsg','db\x20could\x20not\x20add\x20temp\x20uin','msgId','getMsg','EAjSl','path','errno','nWVzY','uid','name',',\x20短id:\x20','JoYyr','OPEN_CREATE','Database','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?',',\x20msgId:\x20','aDDSr','phidS','12qfFAei','run','msgCache','EDCJR','prepare','Could\x20not\x20get\x20msg'];_0xcd02=function(){return _0x1fb751;};return _0xcd02();}import _0x41597f from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0x28bd2f(0x11f)](_0x5c6360){const _0x4cb068={'XvxkT':function(_0x36e9bb,_0x558a5f,_0x338b96){return _0x36e9bb(_0x558a5f,_0x338b96);},'WouNp':function(_0xef1171,_0xeb4b14){return _0xef1171(_0xeb4b14);},'ximUJ':function(_0x2dab1e,_0x69c26d){return _0x2dab1e|_0x69c26d;}};if(this['db'])return;return new Promise((_0x4050ea,_0x5a8bac)=>{const _0x28dd75=_0x1eec;this['db']=new _0x41597f[(_0x28dd75(0x111))](_0x5c6360,_0x4cb068['ximUJ'](_0x41597f['OPEN_READWRITE'],_0x41597f[_0x28dd75(0x110)]),_0x1f64d9=>{const _0x4c9c0b=_0x28dd75;if(_0x1f64d9){_0x4cb068[_0x4c9c0b(0xac)](logError,_0x4c9c0b(0xf5),_0x1f64d9),_0x4cb068['WouNp'](_0x5a8bac,_0x1f64d9);return;}this['createTable'](),_0x4050ea();});});}[_0x28bd2f(0xda)](){const _0x39899d=_0x28bd2f,_0xd300ca={'JoYyr':_0x39899d(0xc6)};throw new Error(_0xd300ca[_0x39899d(0x10f)]);}['close'](){const _0x1df371=_0x28bd2f;this['db']?.[_0x1df371(0xfe)]();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();[_0x28bd2f(0xba)]=-0x7ffffff8;constructor(){const _0x14eb32=_0x28bd2f,_0x4e51f9={'sEILe':function(_0x2398e3,_0x3ed547){return _0x2398e3>_0x3ed547;},'eTPMC':function(_0x4ea408,_0x4dd340){return _0x4ea408(_0x4dd340);},'ZXMrl':function(_0x355727,_0x2ec51b){return _0x355727(_0x2ec51b);},'GMXsX':function(_0x28295d,_0x48f4b9){return _0x28295d*_0x48f4b9;},'PVbbZ':function(_0x3cf439,_0x2f8ef9,_0x1140d8){return _0x3cf439(_0x2f8ef9,_0x1140d8);}};super();const _0x41fe16=_0x4e51f9[_0x14eb32(0xce)](0x3e8*0x3c,0xa);_0x4e51f9[_0x14eb32(0xf1)](setInterval,()=>{const _0x2360f6=_0x14eb32;_0x4e51f9['ZXMrl'](logDebug,_0x2360f6(0x131)),this[_0x2360f6(0x118)][_0x2360f6(0xd1)]((_0x35daaa,_0x1e8443)=>{const _0x1d23b0=_0x2360f6;_0x4e51f9[_0x1d23b0(0xa1)](Date[_0x1d23b0(0xa8)]()-_0x4e51f9[_0x1d23b0(0xae)](parseInt,_0x35daaa[_0x1d23b0(0x126)])*0x3e8,_0x41fe16)&&this[_0x1d23b0(0x118)]['delete'](_0x1e8443);});},_0x41fe16);}async['init'](_0x28e8c8){const _0x53e50e=_0x28bd2f;await super[_0x53e50e(0x11f)](_0x28e8c8),this[_0x53e50e(0xba)]=await this[_0x53e50e(0xec)]();}[_0x28bd2f(0xda)](){const _0x51bd25=_0x28bd2f,_0xb33ee9={'uLXzb':function(_0x18caea,_0x3268fe,_0x324410){return _0x18caea(_0x3268fe,_0x324410);},'FYUoW':_0x51bd25(0xc8),'nMaki':function(_0x47aa6e,_0x25cb2f,_0x5e79d4){return _0x47aa6e(_0x25cb2f,_0x5e79d4);},'cntqQ':_0x51bd25(0xc1),'XcpVQ':_0x51bd25(0x100)},_0x45ec2c=_0x51bd25(0xd5);this['db'][_0x51bd25(0x117)](_0x45ec2c,function(_0x59b83f){_0x59b83f&&_0xb33ee9['uLXzb'](logError,_0xb33ee9['FYUoW'],_0x59b83f['stack']);});const _0x4b303f=_0x51bd25(0xb5);this['db']['run'](_0x4b303f,function(_0x45a4f8){const _0x12d3f2=_0x51bd25;_0x45a4f8&&_0xb33ee9[_0x12d3f2(0xdd)](logError,_0xb33ee9[_0x12d3f2(0x101)],_0x45a4f8);});const _0x2c841f=_0x51bd25(0xd8);this['db'][_0x51bd25(0x117)](_0x2c841f,function(_0x19a9b1){_0x19a9b1&&logError(_0xb33ee9['XcpVQ'],_0x19a9b1);});}async['getCurrentMaxShortId'](){const _0x315f74={'CsPLk':function(_0x165af2,_0x4e08c1,_0x4ae183){return _0x165af2(_0x4e08c1,_0x4ae183);},'MLbBB':function(_0x21f4c8,_0x6be945){return _0x21f4c8(_0x6be945);},'scySS':function(_0xb4802,_0xcf215,_0x2a4c72){return _0xb4802(_0xcf215,_0x2a4c72);},'VQmwc':'数据库中消息最大短id','FSnmy':'SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs'};return new Promise((_0x5bfd23,_0x505b83)=>{const _0x114566=_0x1eec,_0xd11029={'nlLyG':function(_0x26fd22,_0xbce66c,_0x4099da){const _0x178855=_0x1eec;return _0x315f74[_0x178855(0xbf)](_0x26fd22,_0xbce66c,_0x4099da);},'ThGYK':_0x114566(0xee),'eqWGG':function(_0x425f05,_0x4e4da7){const _0x25618a=_0x114566;return _0x315f74[_0x25618a(0xbe)](_0x425f05,_0x4e4da7);},'YUdSD':function(_0x24f0b0,_0x13e2d6,_0x4e20bb){const _0x40c8a4=_0x114566;return _0x315f74[_0x40c8a4(0xe1)](_0x24f0b0,_0x13e2d6,_0x4e20bb);},'aDDSr':_0x315f74[_0x114566(0x103)]};this['db'][_0x114566(0x125)](_0x315f74['FSnmy'],(_0x5cfcab,_0x3c8725)=>{const _0x4d4025=_0x114566;if(_0x5cfcab)return _0xd11029[_0x4d4025(0xcc)](logDebug,_0xd11029['ThGYK'],_0x5cfcab),_0xd11029[_0x4d4025(0xca)](_0x5bfd23,-0x7ffffff8);_0xd11029[_0x4d4025(0xab)](logDebug,_0xd11029[_0x4d4025(0x114)],_0x3c8725?.[_0x4d4025(0xe9)]),_0xd11029['eqWGG'](_0x5bfd23,_0x3c8725?.[_0x4d4025(0xe9)]??-0x7ffffff8);});});}async[_0x28bd2f(0x107)](_0x1e0b7b,_0x1f8d0c){const _0x1d0ee7=_0x28bd2f,_0x2f9144={'eopQn':function(_0x244fcf,_0x4e3e59){return _0x244fcf(_0x4e3e59);},'JNuMk':_0x1d0ee7(0x11b),'ErRTT':function(_0x4e67d2,_0x572bf3){return _0x4e67d2(_0x572bf3);}},_0x49f481=this['db'][_0x1d0ee7(0x11a)](_0x1e0b7b);return new Promise((_0x2f5019,_0x416442)=>{const _0x55cfbb=_0x1d0ee7,_0x46ad38={'MBsKB':function(_0x601eeb,_0x307953){const _0x172701=_0x1eec;return _0x2f9144[_0x172701(0xdf)](_0x601eeb,_0x307953);},'WJcEM':function(_0x56f1d9,_0x43d060,_0x5b47a7,_0xae358e,_0x1705ca){return _0x56f1d9(_0x43d060,_0x5b47a7,_0xae358e,_0x1705ca);},'KyIss':_0x2f9144[_0x55cfbb(0xb8)],'Lnpod':function(_0x5bdee6,_0x5b7de5){const _0x5b6065=_0x55cfbb;return _0x2f9144[_0x5b6065(0xff)](_0x5bdee6,_0x5b7de5);}};_0x49f481[_0x55cfbb(0x125)](..._0x1f8d0c,(_0x5d83e5,_0x597bc4)=>{const _0x1f583f=_0x55cfbb,_0x2674f0={'nWVzY':function(_0x4925ad,_0x63f542){const _0x4aa922=_0x1eec;return _0x46ad38[_0x4aa922(0xbc)](_0x4925ad,_0x63f542);}};if(_0x5d83e5)return _0x46ad38[_0x1f583f(0xb9)](logError,_0x46ad38[_0x1f583f(0x134)],_0x5d83e5,_0x1e0b7b,_0x1f8d0c),_0x46ad38[_0x1f583f(0xbc)](_0x2f5019,null);if(!_0x597bc4){_0x46ad38[_0x1f583f(0xb3)](_0x2f5019,null);return;}const _0x45d44a=_0x597bc4[_0x1f583f(0xc4)];NTQQMsgApi[_0x1f583f(0x120)]({'peerUid':_0x597bc4[_0x1f583f(0xe3)],'chatType':_0x597bc4['chatType']},[_0x45d44a])[_0x1f583f(0xf4)](_0x4af1ef=>{const _0x50bf1b=_0x1f583f,_0x2335ff=_0x4af1ef[_0x50bf1b(0xe4)][0x0];if(!_0x2335ff){_0x2674f0[_0x50bf1b(0x10b)](_0x2f5019,null);return;}_0x2335ff['id']=_0x597bc4['shortId'],_0x2674f0[_0x50bf1b(0x10b)](_0x2f5019,_0x2335ff);})[_0x1f583f(0x102)](_0x3769a4=>{const _0x13e3a0=_0x1f583f;_0x46ad38[_0x13e3a0(0xbc)](_0x2f5019,null);});});});}async['getMsgByShortId'](_0x306641){const _0x11ce91=_0x28bd2f,_0x4af219={'FRjBV':_0x11ce91(0x130)};if(this[_0x11ce91(0x118)]['has'](_0x306641))return this[_0x11ce91(0x118)]['get'](_0x306641);const _0x295d9a=_0x4af219[_0x11ce91(0xf9)];return this['getMsg'](_0x295d9a,[_0x306641]);}async[_0x28bd2f(0xd2)](_0x406655){const _0x4b9463=_0x28bd2f,_0x107992={'RjyqH':_0x4b9463(0xd6)};if(this['msgCache']['has'](_0x406655))return this['msgCache'][_0x4b9463(0x125)](_0x406655);return this[_0x4b9463(0x107)](_0x107992[_0x4b9463(0xe6)],[_0x406655]);}async[_0x28bd2f(0x132)](_0x328ad5,_0x5bf732){const _0x1d8c67=_0x28bd2f,_0x2021b1=_0x1d8c67(0xe0);return this['getMsg'](_0x2021b1,[_0x328ad5,_0x5bf732]);}async[_0x28bd2f(0xf6)](_0x5aa7a8,_0x578e05=!![]){const _0x4eabd8=_0x28bd2f,_0x2a3365={'TgXMw':function(_0x195fc7,_0x10f01d){return _0x195fc7===_0x10f01d;},'TuHtP':function(_0x5301d3,_0x549db5,_0xec281){return _0x5301d3(_0x549db5,_0xec281);},'yOPei':_0x4eabd8(0xeb),'kqAkG':function(_0x99c73c,_0x2d0c52){return _0x99c73c(_0x2d0c52);}},_0x3500bf=await this[_0x4eabd8(0xd2)](_0x5aa7a8['msgId']);if(_0x3500bf){if(_0x578e05)this['updateMsg'](_0x5aa7a8)['then']();return _0x3500bf['id'];}const _0x73d4e0=this['db'][_0x4eabd8(0x11a)]('INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)'),_0x3ce2c8=++this['globalMsgShortId'];return _0x5aa7a8['id']=_0x3ce2c8,_0x2a3365[_0x4eabd8(0xaf)](logDebug,'记录消息到数据库,\x20消息长id:\x20'+_0x5aa7a8[_0x4eabd8(0x106)]+_0x4eabd8(0x10e)+_0x5aa7a8['id']),this[_0x4eabd8(0x118)]['set'](_0x3ce2c8,_0x5aa7a8),this[_0x4eabd8(0x118)][_0x4eabd8(0xdc)](_0x5aa7a8[_0x4eabd8(0x106)],_0x5aa7a8),_0x73d4e0[_0x4eabd8(0x117)](this[_0x4eabd8(0xba)],_0x5aa7a8[_0x4eabd8(0x106)],_0x5aa7a8[_0x4eabd8(0xb7)][_0x4eabd8(0xd0)](),_0x5aa7a8[_0x4eabd8(0xe3)],_0x5aa7a8[_0x4eabd8(0x121)],_0x4c523c=>{const _0xc9602c=_0x4eabd8,_0x4769d1={'XwyoX':function(_0x42102b,_0x50fbc3,_0x55fcf0){return _0x42102b(_0x50fbc3,_0x55fcf0);}};_0x4c523c&&(_0x2a3365[_0xc9602c(0x129)](_0x4c523c[_0xc9602c(0x10a)],0x13)?this[_0xc9602c(0xd2)](_0x5aa7a8['msgId'])[_0xc9602c(0xf4)](_0x36f3ee=>{const _0x1dd289=_0xc9602c;_0x36f3ee?(this[_0x1dd289(0x118)][_0x1dd289(0xdc)](_0x3ce2c8,_0x36f3ee),this[_0x1dd289(0x118)][_0x1dd289(0xdc)](_0x36f3ee['msgId'],_0x36f3ee)):_0x4769d1[_0x1dd289(0xc7)](logError,_0x1dd289(0xfc),_0x4c523c);})[_0xc9602c(0x102)](_0x2f947d=>logError(_0xc9602c(0xf3),_0x2f947d)):_0x2a3365[_0xc9602c(0x11d)](logError,_0x2a3365[_0xc9602c(0xdb)],_0x4c523c));}),_0x3ce2c8;}async[_0x28bd2f(0x104)](_0x137cc6){const _0x247584=_0x28bd2f,_0x40653a={'AHHYm':_0x247584(0x11c),'uaFEb':_0x247584(0xa5)},_0x1fefbd=this['msgCache'][_0x247584(0x125)](_0x137cc6[_0x247584(0x106)]);_0x1fefbd&&Object['assign'](_0x1fefbd,_0x137cc6);logDebug(_0x247584(0x12e)+_0x137cc6['id']+_0x247584(0xfb)+_0x137cc6[_0x247584(0xb7)]+_0x247584(0x113)+_0x137cc6[_0x247584(0x106)]);const _0x1abf12=this['db'][_0x247584(0x11a)](_0x40653a[_0x247584(0xde)]);_0x1abf12[_0x247584(0x117)](_0x137cc6[_0x247584(0xb7)],_0x137cc6['msgId'],_0x17637a=>{const _0x55f0ca=_0x247584;_0x17637a&&logError(_0x40653a[_0x55f0ca(0x128)],_0x17637a);});}async['addFileCache'](_0x1eda82){const _0x46c8c6=_0x28bd2f,_0x3955e1={'eXLoo':function(_0x1bea1f,_0x45e3f0,_0x3a8444){return _0x1bea1f(_0x45e3f0,_0x3a8444);},'yYQrE':function(_0x119886,_0x264084){return _0x119886(_0x264084);},'zGTcg':_0x46c8c6(0xa4)},_0x581212=this['db'][_0x46c8c6(0x11a)](_0x3955e1[_0x46c8c6(0xc9)]);return new Promise((_0x514146,_0xcb7068)=>{const _0x9c816a=_0x46c8c6,_0x275f61={'GAXmy':function(_0x4ab9a7,_0x5e8e9f,_0x8351e){const _0x18074d=_0x1eec;return _0x3955e1[_0x18074d(0xfd)](_0x4ab9a7,_0x5e8e9f,_0x8351e);},'pQtfI':function(_0x230717,_0x5f2e7a){const _0x1ca48e=_0x1eec;return _0x3955e1[_0x1ca48e(0xcf)](_0x230717,_0x5f2e7a);},'ayfWn':function(_0xea1b3a,_0x2ef3ce){const _0x1871b3=_0x1eec;return _0x3955e1[_0x1871b3(0xcf)](_0xea1b3a,_0x2ef3ce);}};_0x581212[_0x9c816a(0x117)](_0x1eda82[_0x9c816a(0x10d)],_0x1eda82[_0x9c816a(0x109)],_0x1eda82[_0x9c816a(0xf8)],_0x1eda82[_0x9c816a(0xc0)],_0x1eda82[_0x9c816a(0xaa)],_0x1eda82[_0x9c816a(0xe7)],JSON[_0x9c816a(0xd7)](_0x1eda82['element']),_0x1eda82['elementId'],_0x1eda82[_0x9c816a(0x106)],function(_0x561fde){const _0x1530d8=_0x9c816a;_0x561fde&&(_0x275f61[_0x1530d8(0xad)](logError,_0x1530d8(0xcd),_0x561fde),_0x275f61[_0x1530d8(0xd3)](_0xcb7068,_0x561fde)),_0x275f61[_0x1530d8(0xf2)](_0x514146,null);});});}async['getFileCache'](_0x5752bd,_0x2d633d){const _0x53fd65=_0x28bd2f,_0x355984={'XzRsY':function(_0x3d20ef,_0x5848fe,_0x5d84fa){return _0x3d20ef(_0x5848fe,_0x5d84fa);}},_0x4f92c0=this['db'][_0x53fd65(0x11a)](_0x5752bd);return new Promise((_0x5b8ef4,_0x165a81)=>{const _0x1b226e={'pGvWV':function(_0x248845,_0x133b13,_0x320784){const _0x35ce74=_0x1eec;return _0x355984[_0x35ce74(0xe2)](_0x248845,_0x133b13,_0x320784);},'ZWuBH':'db\x20could\x20not\x20get\x20file\x20cache','KPwQo':function(_0x425b2c,_0x207907){return _0x425b2c(_0x207907);}};_0x4f92c0['get'](..._0x2d633d,(_0x162d3e,_0xb5c3dd)=>{const _0x307160=_0x1eec;_0x162d3e&&(_0x1b226e['pGvWV'](logError,_0x1b226e[_0x307160(0xea)],_0x162d3e),_0x1b226e[_0x307160(0xb0)](_0x165a81,_0x162d3e)),_0xb5c3dd&&(_0xb5c3dd[_0x307160(0xc2)]=JSON[_0x307160(0xd4)](_0xb5c3dd['element'])),_0x5b8ef4(_0xb5c3dd);});});}async[_0x28bd2f(0x124)](_0x5856ec){const _0x503271=_0x28bd2f;return this[_0x503271(0xd9)](_0x503271(0xb2),[_0x5856ec]);}async[_0x28bd2f(0x123)](_0x3ac8ad){const _0x1fb28f=_0x28bd2f;return this['getFileCache'](_0x1fb28f(0x112),[_0x3ac8ad]);}async[_0x28bd2f(0xf0)](_0x426485){const _0x4e4f65=_0x28bd2f,_0x2c946d={'onowA':_0x4e4f65(0xb1),'gHkfv':function(_0x15586a,_0x12cb0d){return _0x15586a(_0x12cb0d);},'eMHED':function(_0x1d67ff,_0x530524){return _0x1d67ff(_0x530524);},'phidS':_0x4e4f65(0xa6)},_0x2599cd=this['db']['prepare'](_0x2c946d[_0x4e4f65(0x115)]);return new Promise((_0x589625,_0x5ac910)=>{const _0x3f1a6f=_0x4e4f65;_0x2599cd['run'](_0x426485[_0x3f1a6f(0x109)],_0x426485['url'],_0x426485[_0x3f1a6f(0xaa)],function(_0x42c37c){const _0x3a98cd=_0x3f1a6f;_0x42c37c&&(logError(_0x2c946d[_0x3a98cd(0xcb)],_0x42c37c),_0x2c946d['gHkfv'](_0x5ac910,_0x42c37c)),_0x2c946d[_0x3a98cd(0xfa)](_0x589625,null);});});}async[_0x28bd2f(0xed)](){const _0x206a3b={'KdjXj':function(_0x4aff71,_0x8c6e9e,_0x15691c){return _0x4aff71(_0x8c6e9e,_0x15691c);},'EAjSl':function(_0x43d141,_0x1f3acc){return _0x43d141(_0x1f3acc);},'pUckY':function(_0x4db2e5,_0xff6401){return _0x4db2e5(_0xff6401);},'EbikO':'SELECT\x20*\x20FROM\x20temp_uins'},_0x4a543e=_0x206a3b['EbikO'];return new Promise((_0x4f41db,_0x4e454b)=>{const _0x2abe5c=_0x1eec;this['db'][_0x2abe5c(0xbb)](_0x4a543e,(_0x3afa08,_0x5186b7)=>{const _0x5009af=_0x2abe5c;_0x3afa08&&(_0x206a3b[_0x5009af(0xc3)](logError,_0x5009af(0x12a),_0x3afa08),_0x206a3b[_0x5009af(0x108)](_0x4e454b,_0x3afa08));const _0x1803db={};_0x5186b7[_0x5009af(0xd1)](_0x50988a=>{_0x1803db[_0x50988a['uin']]=_0x50988a['uid'];}),_0x206a3b['pUckY'](_0x4f41db,_0x1803db);});});}async[_0x28bd2f(0xc5)](_0x3e9871){const _0x311d2a=_0x28bd2f,_0x43d95b={'PSbuk':function(_0xc53816,_0x4bf11a,_0x3bd78d){return _0xc53816(_0x4bf11a,_0x3bd78d);},'FuQsF':function(_0x1fe26a,_0x3a7d0a){return _0x1fe26a(_0x3a7d0a);},'iKLtb':_0x311d2a(0xb4)},_0x15e294=_0x43d95b[_0x311d2a(0x12b)];return new Promise((_0x47a0ac,_0x8ebd9d)=>{this['db']['get'](_0x15e294,[_0x3e9871],(_0x56df6a,_0x31f3ac)=>{const _0xfda570=_0x1eec;_0x56df6a&&(_0x43d95b[_0xfda570(0x133)](logError,_0xfda570(0x12a),_0x56df6a),_0x8ebd9d(_0x56df6a)),_0x43d95b[_0xfda570(0xbd)](_0x47a0ac,_0x31f3ac?.[_0xfda570(0x10c)]);});});}async[_0x28bd2f(0x12f)](_0xbc3103,_0x7c98bc){const _0x49690a=_0x28bd2f,_0x47e9bd={'xAVZD':function(_0x188331,_0x58f0c8,_0x3cc655){return _0x188331(_0x58f0c8,_0x3cc655);},'EDCJR':_0x49690a(0x105),'GAaXD':function(_0xf51d48,_0x1167c6){return _0xf51d48(_0x1167c6);},'QVDoe':function(_0x202765,_0x11b7da){return _0x202765(_0x11b7da);},'pqrru':_0x49690a(0xf7)},_0x480c1b=await this[_0x49690a(0xc5)](_0xbc3103);if(!_0x480c1b){const _0x582a85=this['db'][_0x49690a(0x11a)](_0x47e9bd['pqrru']);return new Promise((_0x3f1bf4,_0x1aa619)=>{const _0x2b8bbd=_0x49690a;_0x582a85[_0x2b8bbd(0x117)](_0xbc3103,_0x7c98bc,function(_0x4856ed){const _0x504eee=_0x2b8bbd;_0x4856ed&&(_0x47e9bd[_0x504eee(0xa7)](logError,_0x47e9bd[_0x504eee(0x119)],_0x4856ed),_0x47e9bd[_0x504eee(0x127)](_0x1aa619,_0x4856ed)),_0x47e9bd[_0x504eee(0xe5)](_0x3f1bf4,null);});});}}}function _0x1eec(_0x43a1e6,_0x383e0b){const _0xcd0240=_0xcd02();return _0x1eec=function(_0x1eec44,_0x145c31){_0x1eec44=_0x1eec44-0xa1;let _0x53f63b=_0xcd0240[_0x1eec44];return _0x53f63b;},_0x1eec(_0x43a1e6,_0x383e0b);}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x96fad1=_0x2177;(function(_0x1a0c75,_0x184716){const _0x21838f=_0x2177,_0x3ccf9d=_0x1a0c75();while(!![]){try{const _0x548628=-parseInt(_0x21838f(0x1ce))/0x1+parseInt(_0x21838f(0x170))/0x2*(-parseInt(_0x21838f(0x187))/0x3)+parseInt(_0x21838f(0x1dd))/0x4*(-parseInt(_0x21838f(0x199))/0x5)+-parseInt(_0x21838f(0x152))/0x6+parseInt(_0x21838f(0x1bd))/0x7+parseInt(_0x21838f(0x1b6))/0x8+parseInt(_0x21838f(0x184))/0x9;if(_0x548628===_0x184716)break;else _0x3ccf9d['push'](_0x3ccf9d['shift']());}catch(_0x2261d9){_0x3ccf9d['push'](_0x3ccf9d['shift']());}}}(_0x2978,0xc068b));function _0x2978(){const _0x552bb8=['2luyLFu','oZQWc','DCwAz','Urzss','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','db\x20could\x20not\x20add\x20file','delete','updateMsg\x20db\x20error','msgList',',\x20seq:\x20','WNQbF','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','echCu','uuid','kcSNk','db\x20getMsgByLongId\x20error','Could\x20not\x20create\x20table\x20temp_uins','fbast','has','FkoiR','26278830ylDIKF','get','yTUxQ','1145067GGFFZY','longId','set','forEach','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','数据库中消息最大短id','uid','getMsgBySeq','oXeFS','catch','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','all','OPEN_READWRITE','then','eMWvJ','url','aIpxg','chatType','25IbGoUL','peerUid','elementId','tSJbN','gDMTy','db\x20could\x20not\x20get\x20file\x20cache','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','name','shortId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','Database','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','GYDGv','tnnTO','msgSeq','stack','OkwRp','Could\x20not\x20create\x20table\x20msgs','updateMsg','pHrmi','toString','msgId','db\x20could\x20not\x20update\x20file\x20cache','qMnoJ','aCoYC','getMsg','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','addTempUin','getMsgByLongId','4633024yMsKOv','msgCache','HbaSb','lZCMZ','assign','nxffa','UHQsH','906913piqZjm','bdscE','记录消息到数据库,\x20消息长id:\x20','MvCIq','now','更新消息,\x20shortId:','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','pIuzO','close',',\x20短id:\x20','aNhAD','getFileCacheByName','XKOWZ','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','jlvyb','OYdgR','updateFileCache','1326964zQwuHW','kQMBd','getCurrentMaxShortId','jkNBA','init','getFileCacheByUuid','getUidByTempUin','YLDPG','cifbW','getMsgsByMsgId','ATTXQ','addMsg','element','path','oZPTe','657776PGddks','voehp','elementType','CvJpJ','wEchR','db\x20could\x20not\x20get\x20temp\x20uin\x20map','bdpWy','CTutd','AOetC','Could\x20not\x20create\x20table\x20files','清理消息缓存','1857462yINAII','frBwt','DFwfL','createTable','prepare','xXYnY','getMsgByShortId','db\x20could\x20not\x20add\x20temp\x20uin','db\x20could\x20not\x20add\x20msg','GenST','lOUta','aLmfV','vPVHx','xdRWd','SELECT\x20*\x20FROM\x20temp_uins','TNRYA','run','stringify','uin','WrRkI','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','Could\x20not\x20get\x20msg','getFileCache','getReceivedTempUinMap','msgTime','xQzsS','VLGfR','qSCqV','maxId','size'];_0x2978=function(){return _0x552bb8;};return _0x2978();}function _0x2177(_0x36f219,_0x5efbe3){const _0x2978ec=_0x2978();return _0x2177=function(_0x2177a9,_0x30111d){_0x2177a9=_0x2177a9-0x149;let _0x3cf4d3=_0x2978ec[_0x2177a9];return _0x3cf4d3;},_0x2177(_0x36f219,_0x5efbe3);}import _0x2abe1b from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0x96fad1(0x1d2)](_0x44cdd4){const _0x4883ed={'KMylo':function(_0x2dc51f,_0xce554d,_0x3a4611){return _0x2dc51f(_0xce554d,_0x3a4611);},'gsxqC':'Could\x20not\x20connect\x20to\x20database','bdscE':function(_0x24f645,_0x3d7519){return _0x24f645(_0x3d7519);},'WNQbF':function(_0x48739b){return _0x48739b();},'echCu':function(_0x3bafff,_0x3bd813){return _0x3bafff|_0x3bd813;}};if(this['db'])return;return new Promise((_0x434bdb,_0x2ae8fb)=>{const _0x420712=_0x2177,_0x482ef1={'Urzss':function(_0x2d2056,_0x44bcb3,_0x1641e0){return _0x4883ed['KMylo'](_0x2d2056,_0x44bcb3,_0x1641e0);},'WiIHF':_0x4883ed['gsxqC'],'aIpxg':function(_0x86df7c,_0xe64d03){const _0x1a4b59=_0x2177;return _0x4883ed[_0x1a4b59(0x1be)](_0x86df7c,_0xe64d03);},'YLDPG':function(_0x810c92){const _0x254772=_0x2177;return _0x4883ed[_0x254772(0x17a)](_0x810c92);}};this['db']=new _0x2abe1b[(_0x420712(0x1a3))](_0x44cdd4,_0x4883ed[_0x420712(0x17c)](_0x2abe1b[_0x420712(0x193)],_0x2abe1b['OPEN_CREATE']),_0x12c1af=>{const _0x50a82a=_0x420712;if(_0x12c1af){_0x482ef1[_0x50a82a(0x173)](logError,_0x482ef1['WiIHF'],_0x12c1af),_0x482ef1[_0x50a82a(0x197)](_0x2ae8fb,_0x12c1af);return;}this[_0x50a82a(0x155)](),_0x482ef1[_0x50a82a(0x1d5)](_0x434bdb);});});}[_0x96fad1(0x155)](){const _0x145fde=_0x96fad1,_0x49a551={'frBwt':'Method\x20not\x20implemented.'};throw new Error(_0x49a551[_0x145fde(0x153)]);}['close'](){const _0x1506da=_0x96fad1;this['db']?.[_0x1506da(0x1c5)]();}}class DBUtil extends DBUtilBase{[_0x96fad1(0x1b7)]=new Map();['globalMsgShortId']=-0x7ffffff8;constructor(){const _0x3aee2f=_0x96fad1,_0x2769d2={'OkwRp':function(_0x389031,_0x597247){return _0x389031>_0x597247;},'oXeFS':function(_0x40d9d1,_0x29b182){return _0x40d9d1-_0x29b182;},'aNhAD':function(_0x41beb3,_0x350eff){return _0x41beb3*_0x350eff;},'TkiKR':function(_0x465795,_0x48d977){return _0x465795(_0x48d977);},'fbast':function(_0x45a698,_0x169f14){return _0x45a698*_0x169f14;}};super();const _0x48258c=_0x2769d2[_0x3aee2f(0x181)](_0x2769d2[_0x3aee2f(0x181)](0x3e8,0x3c),0xa);setInterval(()=>{const _0x1d9456=_0x3aee2f,_0x385fbf={'MvCIq':function(_0x1df6d1,_0x1f79e5){const _0x55a26a=_0x2177;return _0x2769d2[_0x55a26a(0x1a9)](_0x1df6d1,_0x1f79e5);},'nxffa':function(_0x2326a7,_0x132388){const _0x1d8dc5=_0x2177;return _0x2769d2[_0x1d8dc5(0x18f)](_0x2326a7,_0x132388);},'cMKVR':function(_0xb751c,_0x40ea9b){const _0x533bc8=_0x2177;return _0x2769d2[_0x533bc8(0x1c7)](_0xb751c,_0x40ea9b);},'voehp':function(_0x2cce09,_0x104d07){return _0x2cce09(_0x104d07);}};_0x2769d2['TkiKR'](logDebug,_0x1d9456(0x151)),this[_0x1d9456(0x1b7)][_0x1d9456(0x18a)]((_0x16f42e,_0x41a868)=>{const _0x4072c4=_0x1d9456;_0x385fbf[_0x4072c4(0x1c0)](_0x385fbf[_0x4072c4(0x1bb)](Date[_0x4072c4(0x1c1)](),_0x385fbf['cMKVR'](_0x385fbf[_0x4072c4(0x1de)](parseInt,_0x16f42e[_0x4072c4(0x16a)]),0x3e8)),_0x48258c)&&this['msgCache'][_0x4072c4(0x176)](_0x41a868);});},_0x48258c);}async[_0x96fad1(0x1d2)](_0x33d767){await super['init'](_0x33d767),this['globalMsgShortId']=await this['getCurrentMaxShortId']();}['createTable'](){const _0x2c9ffb=_0x96fad1,_0x3afe08={'tSJbN':_0x2c9ffb(0x1aa),'LcxMG':_0x2c9ffb(0x150),'VPzAU':function(_0x4a2d3f,_0x59fa97,_0x7bc500){return _0x4a2d3f(_0x59fa97,_0x7bc500);}},_0x17f60f=_0x2c9ffb(0x1a2);this['db'][_0x2c9ffb(0x162)](_0x17f60f,function(_0x430c4b){const _0x2b85fe=_0x2c9ffb;_0x430c4b&&logError(_0x3afe08[_0x2b85fe(0x19c)],_0x430c4b[_0x2b85fe(0x1a8)]);});const _0x9de920=_0x2c9ffb(0x18b);this['db'][_0x2c9ffb(0x162)](_0x9de920,function(_0x2694e5){_0x2694e5&&logError(_0x3afe08['LcxMG'],_0x2694e5);});const _0xaa0c7e=_0x2c9ffb(0x166);this['db']['run'](_0xaa0c7e,function(_0x38829b){const _0x1403c2=_0x2c9ffb;_0x38829b&&_0x3afe08['VPzAU'](logError,_0x1403c2(0x180),_0x38829b);});}async[_0x96fad1(0x1d0)](){const _0x34d0c6=_0x96fad1,_0x1a3d1b={'TNRYA':function(_0x1e9d35,_0x909b1e,_0xbe24df){return _0x1e9d35(_0x909b1e,_0xbe24df);},'reiCS':_0x34d0c6(0x18c),'xdRWd':function(_0x4e8e15,_0x2c8295){return _0x4e8e15(_0x2c8295);},'HbaSb':_0x34d0c6(0x174)};return new Promise((_0x583ba3,_0x30da59)=>{const _0x4bf9f4=_0x34d0c6;this['db'][_0x4bf9f4(0x185)](_0x1a3d1b[_0x4bf9f4(0x1b8)],(_0x25aa8a,_0xc03f34)=>{const _0x113206=_0x4bf9f4;if(_0x25aa8a)return logDebug(_0x113206(0x19f),_0x25aa8a),_0x583ba3(-0x7ffffff8);_0x1a3d1b[_0x113206(0x161)](logDebug,_0x1a3d1b['reiCS'],_0xc03f34?.[_0x113206(0x16e)]),_0x1a3d1b[_0x113206(0x15f)](_0x583ba3,_0xc03f34?.[_0x113206(0x16e)]??-0x7ffffff8);});});}async['getMsg'](_0x323024,_0x55ca4a){const _0x2ff8f6=_0x96fad1,_0x24e5e5={'mSZqg':function(_0x443a0d,_0x5746a7){return _0x443a0d(_0x5746a7);},'OYdgR':_0x2ff8f6(0x167),'qSCqV':function(_0x40429a,_0x2957a9){return _0x40429a(_0x2957a9);},'cifbW':function(_0x5b3651,_0x372e26){return _0x5b3651(_0x372e26);}},_0xa05beb=this['db']['prepare'](_0x323024);return new Promise((_0x4562ac,_0x3fdb4c)=>{const _0x2f4bb0=_0x2ff8f6,_0x5f26c8={'SDanB':function(_0x5545bf,_0x5453de){const _0xa595c4=_0x2177;return _0x24e5e5[_0xa595c4(0x1d6)](_0x5545bf,_0x5453de);}};_0xa05beb[_0x2f4bb0(0x185)](..._0x55ca4a,(_0x2434e0,_0x14b5c6)=>{const _0x392efb=_0x2f4bb0,_0x29adaa={'XKOWZ':function(_0x7031a1,_0x31ca4f){return _0x24e5e5['mSZqg'](_0x7031a1,_0x31ca4f);}};if(_0x2434e0)return logError(_0x24e5e5[_0x392efb(0x1cc)],_0x2434e0,_0x323024,_0x55ca4a),_0x24e5e5[_0x392efb(0x16d)](_0x4562ac,null);if(!_0x14b5c6){_0x24e5e5['mSZqg'](_0x4562ac,null);return;}const _0x5070da=_0x14b5c6[_0x392efb(0x188)];NTQQMsgApi[_0x392efb(0x1d7)]({'peerUid':_0x14b5c6[_0x392efb(0x19a)],'chatType':_0x14b5c6[_0x392efb(0x198)]},[_0x5070da])[_0x392efb(0x194)](_0x383563=>{const _0x434aed=_0x392efb,_0x160c39=_0x383563[_0x434aed(0x178)][0x0];if(!_0x160c39){_0x29adaa[_0x434aed(0x1c9)](_0x4562ac,null);return;}_0x160c39['id']=_0x14b5c6[_0x434aed(0x1a1)],_0x4562ac(_0x160c39);})['catch'](_0x175670=>{_0x5f26c8['SDanB'](_0x4562ac,null);});});});}async[_0x96fad1(0x158)](_0x363d2b){const _0x3b7b9a=_0x96fad1;if(this[_0x3b7b9a(0x1b7)][_0x3b7b9a(0x182)](_0x363d2b))return this[_0x3b7b9a(0x1b7)][_0x3b7b9a(0x185)](_0x363d2b);const _0x2201f2=_0x3b7b9a(0x17b);return this[_0x3b7b9a(0x1b2)](_0x2201f2,[_0x363d2b]);}async[_0x96fad1(0x1b5)](_0x37a120){const _0x85e428=_0x96fad1,_0x460c29={'pIuzO':_0x85e428(0x191)};if(this[_0x85e428(0x1b7)][_0x85e428(0x182)](_0x37a120))return this[_0x85e428(0x1b7)][_0x85e428(0x185)](_0x37a120);return this[_0x85e428(0x1b2)](_0x460c29[_0x85e428(0x1c4)],[_0x37a120]);}async[_0x96fad1(0x18e)](_0x23aa38,_0x465763){const _0x4e5be7=_0x96fad1,_0x3fd77b={'gDMTy':_0x4e5be7(0x1b3)},_0x2e1112=_0x3fd77b[_0x4e5be7(0x19d)];return this[_0x4e5be7(0x1b2)](_0x2e1112,[_0x23aa38,_0x465763]);}async[_0x96fad1(0x1d9)](_0x596ab8,_0x38430f=!![]){const _0x49af4f=_0x96fad1,_0x556d4d={'GenST':function(_0xc791ab,_0x4365aa,_0x5b84c4){return _0xc791ab(_0x4365aa,_0x5b84c4);},'DCwAz':function(_0x214493,_0x49c2b4){return _0x214493===_0x49c2b4;},'FkoiR':_0x49af4f(0x15a),'CTutd':_0x49af4f(0x1ca),'jkNBA':function(_0x1f13c4,_0x105157){return _0x1f13c4(_0x105157);}},_0x584053=await this['getMsgByLongId'](_0x596ab8['msgId']);if(_0x584053){if(_0x38430f)this[_0x49af4f(0x1ab)](_0x596ab8)[_0x49af4f(0x194)]();return _0x584053['id'];}const _0x51250f=this['db'][_0x49af4f(0x156)](_0x556d4d[_0x49af4f(0x14e)]),_0xc69729=++this['globalMsgShortId'];return _0x596ab8['id']=_0xc69729,_0x556d4d[_0x49af4f(0x1d1)](logDebug,_0x49af4f(0x1bf)+_0x596ab8[_0x49af4f(0x1ae)]+_0x49af4f(0x1c6)+_0x596ab8['id']),this['msgCache'][_0x49af4f(0x189)](_0xc69729,_0x596ab8),this['msgCache'][_0x49af4f(0x189)](_0x596ab8['msgId'],_0x596ab8),_0x51250f[_0x49af4f(0x162)](this['globalMsgShortId'],_0x596ab8['msgId'],_0x596ab8['msgSeq'][_0x49af4f(0x1ad)](),_0x596ab8['peerUid'],_0x596ab8[_0x49af4f(0x198)],_0x48eaf0=>{const _0x379267=_0x49af4f;_0x48eaf0&&(_0x556d4d[_0x379267(0x172)](_0x48eaf0['errno'],0x13)?this[_0x379267(0x1b5)](_0x596ab8['msgId'])['then'](_0x5ed8a0=>{const _0x1ffe36=_0x379267;_0x5ed8a0?(this[_0x1ffe36(0x1b7)][_0x1ffe36(0x189)](_0xc69729,_0x5ed8a0),this[_0x1ffe36(0x1b7)][_0x1ffe36(0x189)](_0x5ed8a0[_0x1ffe36(0x1ae)],_0x5ed8a0)):_0x556d4d[_0x1ffe36(0x15b)](logError,'db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id',_0x48eaf0);})[_0x379267(0x190)](_0x170fdd=>logError(_0x379267(0x17f),_0x170fdd)):_0x556d4d[_0x379267(0x15b)](logError,_0x556d4d[_0x379267(0x183)],_0x48eaf0));}),_0xc69729;}async[_0x96fad1(0x1ab)](_0x305e93){const _0x268f72=_0x96fad1,_0xee907={'rJzRG':function(_0x195d3d,_0x5c2543,_0x23fca9){return _0x195d3d(_0x5c2543,_0x23fca9);},'AOetC':_0x268f72(0x177),'fYTTC':function(_0x433fe1,_0x477734){return _0x433fe1(_0x477734);},'jlvyb':'UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?'},_0x116a1e=this[_0x268f72(0x1b7)][_0x268f72(0x185)](_0x305e93[_0x268f72(0x1ae)]);_0x116a1e&&Object[_0x268f72(0x1ba)](_0x116a1e,_0x305e93);_0xee907['fYTTC'](logDebug,_0x268f72(0x1c2)+_0x305e93['id']+_0x268f72(0x179)+_0x305e93[_0x268f72(0x1a7)]+',\x20msgId:\x20'+_0x305e93[_0x268f72(0x1ae)]);const _0x2bebba=this['db'][_0x268f72(0x156)](_0xee907[_0x268f72(0x1cb)]);_0x2bebba['run'](_0x305e93[_0x268f72(0x1a7)],_0x305e93[_0x268f72(0x1ae)],_0x135656=>{const _0xea3977=_0x268f72;_0x135656&&_0xee907['rJzRG'](logError,_0xee907[_0xea3977(0x14f)],_0x135656);});}async['addFileCache'](_0x250b6e){const _0x5d2c05=_0x96fad1,_0x173aa1={'GmOeP':function(_0x406970,_0x10f7c3,_0x12e240){return _0x406970(_0x10f7c3,_0x12e240);},'vPVHx':_0x5d2c05(0x175),'wEchR':function(_0x249344,_0x54cf88){return _0x249344(_0x54cf88);}},_0x509b20=this['db']['prepare'](_0x5d2c05(0x1c3));return new Promise((_0x52ba96,_0x4711e4)=>{const _0x5a17a6=_0x5d2c05;_0x509b20[_0x5a17a6(0x162)](_0x250b6e[_0x5a17a6(0x1a0)],_0x250b6e[_0x5a17a6(0x1db)],_0x250b6e[_0x5a17a6(0x196)],_0x250b6e[_0x5a17a6(0x16f)],_0x250b6e['uuid'],_0x250b6e[_0x5a17a6(0x149)],JSON[_0x5a17a6(0x163)](_0x250b6e[_0x5a17a6(0x1da)]),_0x250b6e[_0x5a17a6(0x19b)],_0x250b6e['msgId'],function(_0x248208){const _0x41cbd0=_0x5a17a6;_0x248208&&(_0x173aa1['GmOeP'](logError,_0x173aa1[_0x41cbd0(0x15e)],_0x248208),_0x173aa1[_0x41cbd0(0x14b)](_0x4711e4,_0x248208)),_0x173aa1[_0x41cbd0(0x14b)](_0x52ba96,null);});});}async['getFileCache'](_0x3473ef,_0x477afa){const _0x27fe00=_0x96fad1,_0x279184={'kcSNk':function(_0x341d53,_0xf1f25e,_0x15738e){return _0x341d53(_0xf1f25e,_0x15738e);},'xXYnY':_0x27fe00(0x19e),'cNvMb':function(_0x4e3be7,_0x230ecc){return _0x4e3be7(_0x230ecc);}},_0x885366=this['db']['prepare'](_0x3473ef);return new Promise((_0x16dde7,_0xbd0a34)=>{const _0x25e766=_0x27fe00,_0x2db187={'UHQsH':function(_0x304dfa,_0x42b657,_0x39f6f7){const _0x1a4927=_0x2177;return _0x279184[_0x1a4927(0x17e)](_0x304dfa,_0x42b657,_0x39f6f7);},'lZCMZ':_0x279184[_0x25e766(0x157)],'kQMBd':function(_0x3d8da6,_0x75f225){return _0x279184['cNvMb'](_0x3d8da6,_0x75f225);}};_0x885366['get'](..._0x477afa,(_0x2cfaa7,_0x2d765d)=>{const _0x20516d=_0x25e766;_0x2cfaa7&&(_0x2db187[_0x20516d(0x1bc)](logError,_0x2db187[_0x20516d(0x1b9)],_0x2cfaa7),_0x2db187['kQMBd'](_0xbd0a34,_0x2cfaa7)),_0x2d765d&&(_0x2d765d['element']=JSON['parse'](_0x2d765d[_0x20516d(0x1da)])),_0x2db187[_0x20516d(0x1cf)](_0x16dde7,_0x2d765d);});});}async[_0x96fad1(0x1c8)](_0x1470f5){const _0x212cd0=_0x96fad1;return this[_0x212cd0(0x168)](_0x212cd0(0x1a4),[_0x1470f5]);}async[_0x96fad1(0x1d3)](_0x5011c8){const _0x3cab01=_0x96fad1;return this[_0x3cab01(0x168)]('SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?',[_0x5011c8]);}async[_0x96fad1(0x1cd)](_0x624c58){const _0x50da4d=_0x96fad1,_0xd63bfb={'lOUta':function(_0x4148c5,_0x301744,_0x4d4413){return _0x4148c5(_0x301744,_0x4d4413);},'ATTXQ':_0x50da4d(0x1af),'fkPTP':function(_0x4bd826,_0x388460){return _0x4bd826(_0x388460);},'VLGfR':function(_0x2008d3,_0x161285){return _0x2008d3(_0x161285);}},_0x369057=this['db'][_0x50da4d(0x156)]('UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?');return new Promise((_0xe4742b,_0x25ece3)=>{const _0x5d60a3=_0x50da4d;_0x369057['run'](_0x624c58['path'],_0x624c58['url'],_0x624c58[_0x5d60a3(0x17d)],function(_0x3f7305){const _0x3673c9=_0x5d60a3;_0x3f7305&&(_0xd63bfb[_0x3673c9(0x15c)](logError,_0xd63bfb[_0x3673c9(0x1d8)],_0x3f7305),_0xd63bfb['fkPTP'](_0x25ece3,_0x3f7305)),_0xd63bfb[_0x3673c9(0x16c)](_0xe4742b,null);});});}async[_0x96fad1(0x169)](){const _0x35f455=_0x96fad1,_0x20e409={'yTUxQ':function(_0x559cc1,_0x50137c,_0x4e2402){return _0x559cc1(_0x50137c,_0x4e2402);},'DFwfL':function(_0x29ed94,_0x1be72c){return _0x29ed94(_0x1be72c);},'WrRkI':_0x35f455(0x160)},_0x66837c=_0x20e409[_0x35f455(0x165)];return new Promise((_0x168c92,_0xc99f70)=>{const _0x4920ae=_0x35f455,_0x3b255e={'oZQWc':function(_0x5868e7,_0x992d82,_0x46d80c){const _0xfc1894=_0x2177;return _0x20e409[_0xfc1894(0x186)](_0x5868e7,_0x992d82,_0x46d80c);},'GYDGv':function(_0x23099c,_0x4069bd){const _0x140800=_0x2177;return _0x20e409[_0x140800(0x154)](_0x23099c,_0x4069bd);}};this['db'][_0x4920ae(0x192)](_0x66837c,(_0x4798d4,_0x23a032)=>{const _0x39bb89=_0x4920ae;_0x4798d4&&(_0x3b255e[_0x39bb89(0x171)](logError,_0x39bb89(0x14c),_0x4798d4),_0x3b255e['GYDGv'](_0xc99f70,_0x4798d4));const _0x23e17e={};_0x23a032['forEach'](_0x4db3b3=>{const _0x12d4bf=_0x39bb89;_0x23e17e[_0x4db3b3[_0x12d4bf(0x164)]]=_0x4db3b3[_0x12d4bf(0x18d)];}),_0x3b255e[_0x39bb89(0x1a5)](_0x168c92,_0x23e17e);});});}async[_0x96fad1(0x1d4)](_0xf17617){const _0x378690=_0x96fad1,_0x10d385={'aCoYC':function(_0x200e85,_0x555271,_0x45baba){return _0x200e85(_0x555271,_0x45baba);},'UHGeN':_0x378690(0x14c),'CvJpJ':function(_0x22db90,_0xf18bbd){return _0x22db90(_0xf18bbd);},'pHrmi':'SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?'},_0xd8e31a=_0x10d385[_0x378690(0x1ac)];return new Promise((_0x315451,_0x56092a)=>{const _0x2232cd=_0x378690,_0x37fedc={'aLmfV':function(_0x3b62ad,_0x54282b,_0x1764df){const _0x48aab7=_0x2177;return _0x10d385[_0x48aab7(0x1b1)](_0x3b62ad,_0x54282b,_0x1764df);},'brUWg':_0x10d385['UHGeN'],'oZPTe':function(_0x3b9db7,_0x4b5cdc){const _0x49f76d=_0x2177;return _0x10d385[_0x49f76d(0x14a)](_0x3b9db7,_0x4b5cdc);}};this['db'][_0x2232cd(0x185)](_0xd8e31a,[_0xf17617],(_0x5f700,_0x83efb5)=>{const _0x5e1f71=_0x2232cd;_0x5f700&&(_0x37fedc[_0x5e1f71(0x15d)](logError,_0x37fedc['brUWg'],_0x5f700),_0x37fedc[_0x5e1f71(0x1dc)](_0x56092a,_0x5f700)),_0x315451(_0x83efb5?.[_0x5e1f71(0x18d)]);});});}async[_0x96fad1(0x1b4)](_0x1ad266,_0x653a8a){const _0x2885bf=_0x96fad1,_0x581a19={'eMWvJ':function(_0x5f429e,_0xa75950,_0x333423){return _0x5f429e(_0xa75950,_0x333423);},'qMnoJ':_0x2885bf(0x159),'ZzrTR':function(_0x31e7e6,_0x40033b){return _0x31e7e6(_0x40033b);},'eFHkN':'INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)'},_0x230f11=await this['getUidByTempUin'](_0x1ad266);if(!_0x230f11){const _0xd477d6=this['db']['prepare'](_0x581a19['eFHkN']);return new Promise((_0x4152bb,_0x1812f0)=>{const _0x110976=_0x2885bf,_0x2a9255={'xQzsS':function(_0x1363ab,_0x1a1e62,_0xeb3bba){const _0x2445a2=_0x2177;return _0x581a19[_0x2445a2(0x195)](_0x1363ab,_0x1a1e62,_0xeb3bba);},'tnnTO':_0x581a19[_0x110976(0x1b0)],'bdpWy':function(_0x11498c,_0x24a931){return _0x581a19['ZzrTR'](_0x11498c,_0x24a931);}};_0xd477d6[_0x110976(0x162)](_0x1ad266,_0x653a8a,function(_0xecccf3){const _0x39dae2=_0x110976;_0xecccf3&&(_0x2a9255[_0x39dae2(0x16b)](logError,_0x2a9255[_0x39dae2(0x1a6)],_0xecccf3),_0x1812f0(_0xecccf3)),_0x2a9255[_0x39dae2(0x14d)](_0x4152bb,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 5f29055b..e3c8b919 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x7e42(_0x27159f,_0x771883){const _0x134f72=_0x134f();return _0x7e42=function(_0x7e426,_0x1db690){_0x7e426=_0x7e426-0x1dc;let _0x294b7c=_0x134f72[_0x7e426];return _0x294b7c;},_0x7e42(_0x27159f,_0x771883);}const _0x2b45bc=_0x7e42;function _0x134f(){const _0x485dd1=['hoCoC','rkeyData','NiBjE','1004750qQhPZi','获取rkey失败','refreshRkey','20936xXrHnF','9IEqrGc','getRkey','3934570CpiMCc','2zQLldJ','http://napcat-sign.wumiao.wang:2082/rkey','serverUrl','511UtfsSN','183432FTQmmN','396743lNDSvc','isExpired','HttpGetJson','666420voTxnK','321yKxcZZ','expired_time','13644mOcccC','1265zwxVMS','getTime'];_0x134f=function(){return _0x485dd1;};return _0x134f();}(function(_0x4b9229,_0x168892){const _0xeb3d7d=_0x7e42,_0x3ec80e=_0x4b9229();while(!![]){try{const _0x412e7a=parseInt(_0xeb3d7d(0x1f0))/0x1*(-parseInt(_0xeb3d7d(0x1eb))/0x2)+parseInt(_0xeb3d7d(0x1dc))/0x3*(-parseInt(_0xeb3d7d(0x1de))/0x4)+-parseInt(_0xeb3d7d(0x1e4))/0x5+-parseInt(_0xeb3d7d(0x1f3))/0x6+parseInt(_0xeb3d7d(0x1ee))/0x7*(parseInt(_0xeb3d7d(0x1e7))/0x8)+-parseInt(_0xeb3d7d(0x1e8))/0x9*(parseInt(_0xeb3d7d(0x1ea))/0xa)+parseInt(_0xeb3d7d(0x1df))/0xb*(parseInt(_0xeb3d7d(0x1ef))/0xc);if(_0x412e7a===_0x168892)break;else _0x3ec80e['push'](_0x3ec80e['shift']());}catch(_0x26f873){_0x3ec80e['push'](_0x3ec80e['shift']());}}}(_0x134f,0x759c6));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x2b45bc(0x1ed)]='';[_0x2b45bc(0x1e2)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x30b7aa){const _0x1591c5=_0x2b45bc;this[_0x1591c5(0x1ed)]=_0x30b7aa;}async[_0x2b45bc(0x1e9)](){const _0x5f1ea4=_0x2b45bc;if(this[_0x5f1ea4(0x1f1)]())try{await this['refreshRkey']();}catch(_0x1f8937){logError(_0x5f1ea4(0x1e5),_0x1f8937);}return this[_0x5f1ea4(0x1e2)];}['isExpired'](){const _0x3cbc03=_0x2b45bc,_0x54f8cd={'hoCoC':function(_0x12a600,_0x4bf8c2){return _0x12a600/_0x4bf8c2;},'NiBjE':function(_0x552a61,_0x34a18a){return _0x552a61>_0x34a18a;}},_0x267394=_0x54f8cd[_0x3cbc03(0x1e1)](new Date()[_0x3cbc03(0x1e0)](),0x3e8);return _0x54f8cd[_0x3cbc03(0x1e3)](_0x267394,this[_0x3cbc03(0x1e2)][_0x3cbc03(0x1dd)]);}async[_0x2b45bc(0x1e6)](){const _0x1534f5=_0x2b45bc;this['rkeyData']=await RequestUtil[_0x1534f5(0x1f2)](this[_0x1534f5(0x1ed)],'GET');}}export const rkeyManager=new RkeyManager(_0x2b45bc(0x1ec)); \ No newline at end of file +function _0x5548(){const _0x1f750e=['24Yswiqd','rkeyData','2604716mdBfkZ','Yuwib','getRkey','3474144UonrxH','http://napcat-sign.wumiao.wang:2082/rkey','serverUrl','531907zKRdje','rIVhH','2394973QsHWba','1976343pBjshf','5kMSVLK','获取rkey失败','XbQyA','975772UvlCFr','eNbFQ','getTime','isExpired','refreshRkey','HttpGetJson','8347870RwcfiQ','27OiCvvQ'];_0x5548=function(){return _0x1f750e;};return _0x5548();}const _0x5798ba=_0x2992;(function(_0x48d10a,_0x327480){const _0x4a24ca=_0x2992,_0x425246=_0x48d10a();while(!![]){try{const _0xb7b93f=parseInt(_0x4a24ca(0xd4))/0x1+parseInt(_0x4a24ca(0xc4))/0x2+-parseInt(_0x4a24ca(0xd7))/0x3+parseInt(_0x4a24ca(0xce))/0x4*(-parseInt(_0x4a24ca(0xd8))/0x5)+-parseInt(_0x4a24ca(0xd1))/0x6+-parseInt(_0x4a24ca(0xd6))/0x7*(parseInt(_0x4a24ca(0xcc))/0x8)+-parseInt(_0x4a24ca(0xcb))/0x9*(-parseInt(_0x4a24ca(0xca))/0xa);if(_0xb7b93f===_0x327480)break;else _0x425246['push'](_0x425246['shift']());}catch(_0x47ca1c){_0x425246['push'](_0x425246['shift']());}}}(_0x5548,0x949f1));function _0x2992(_0x48440c,_0x5b4584){const _0x554862=_0x5548();return _0x2992=function(_0x29923e,_0x18a37f){_0x29923e=_0x29923e-0xc2;let _0x241206=_0x554862[_0x29923e];return _0x241206;},_0x2992(_0x48440c,_0x5b4584);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x5798ba(0xd3)]='';[_0x5798ba(0xcd)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x54bf8d){const _0x2d1f63=_0x5798ba;this[_0x2d1f63(0xd3)]=_0x54bf8d;}async[_0x5798ba(0xd0)](){const _0xbc097a=_0x5798ba,_0x34f804={'XbQyA':function(_0x7a816d,_0x3ec1ff,_0x231113){return _0x7a816d(_0x3ec1ff,_0x231113);},'Yuwib':_0xbc097a(0xc2)};if(this[_0xbc097a(0xc7)]())try{await this[_0xbc097a(0xc8)]();}catch(_0x424cd1){_0x34f804[_0xbc097a(0xc3)](logError,_0x34f804[_0xbc097a(0xcf)],_0x424cd1);}return this[_0xbc097a(0xcd)];}[_0x5798ba(0xc7)](){const _0x1377b3=_0x5798ba,_0x27feb7={'eNbFQ':function(_0x4acec0,_0x45cb97){return _0x4acec0>_0x45cb97;}},_0x324fb7=new Date()[_0x1377b3(0xc6)]()/0x3e8;return _0x27feb7[_0x1377b3(0xc5)](_0x324fb7,this[_0x1377b3(0xcd)]['expired_time']);}async[_0x5798ba(0xc8)](){const _0x458014=_0x5798ba,_0x7b399={'rIVhH':'GET'};this[_0x458014(0xcd)]=await RequestUtil[_0x458014(0xc9)](this[_0x458014(0xd3)],_0x7b399[_0x458014(0xd5)]);}}export const rkeyManager=new RkeyManager(_0x5798ba(0xd2)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index f581b681..bd2e6f33 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x14196f=_0x8deb;function _0x8deb(_0x1f62b8,_0x459a8e){const _0x4a1abb=_0x4a1a();return _0x8deb=function(_0x8deb2d,_0x2256da){_0x8deb2d=_0x8deb2d-0x116;let _0x3391ff=_0x4a1abb[_0x8deb2d];return _0x3391ff;},_0x8deb(_0x1f62b8,_0x459a8e);}function _0x4a1a(){const _0x129444=['2149443ZQBgcq','curVersion','14113980NxFjrT','16lBQmKc','join','/wrapper.node','34764aAOXzD','execPath','15010ZYoxRB','732iVaDem','./resources/app/wrapper.node','resolve','4304986Fnuuhb','1919388lsgwgc','427574mQPocN','24AosIWH','resources/app/versions/'];_0x4a1a=function(){return _0x129444;};return _0x4a1a();}(function(_0x51b502,_0xeae0d4){const _0x560c77=_0x8deb,_0x2e9a70=_0x51b502();while(!![]){try{const _0x3d5b76=-parseInt(_0x560c77(0x126))/0x1+-parseInt(_0x560c77(0x11b))/0x2*(parseInt(_0x560c77(0x11e))/0x3)+-parseInt(_0x560c77(0x121))/0x4*(-parseInt(_0x560c77(0x120))/0x5)+parseInt(_0x560c77(0x125))/0x6+-parseInt(_0x560c77(0x124))/0x7+-parseInt(_0x560c77(0x116))/0x8*(parseInt(_0x560c77(0x118))/0x9)+parseInt(_0x560c77(0x11a))/0xa;if(_0x3d5b76===_0xeae0d4)break;else _0x2e9a70['push'](_0x2e9a70['shift']());}catch(_0x96603a){_0x2e9a70['push'](_0x2e9a70['shift']());}}}(_0x4a1a,0x68b69));import _0x26f032 from'node:path';import _0x2b5d9b from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x26f032[_0x14196f(0x123)](_0x26f032['dirname'](process[_0x14196f(0x11f)]),_0x14196f(0x122));!_0x2b5d9b['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x26f032[_0x14196f(0x11c)](_0x26f032['dirname'](process[_0x14196f(0x11f)]),_0x14196f(0x117)+qqVersionConfigInfo[_0x14196f(0x119)]+_0x14196f(0x11d)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +function _0x224c(){const _0x40b682=['existsSync','dirname','276465pfeQYm','117090pKKhSK','execPath','16zbMHNB','989910SAOhmb','2494EaOxeA','/wrapper.node','./resources/app/wrapper.node','1615210gIIKBb','resources/app/versions/','1764161HJhsYU','4qYSVWW','join','17352AkxnWW','153poLOVn','curVersion'];_0x224c=function(){return _0x40b682;};return _0x224c();}const _0x31a416=_0x31c5;function _0x31c5(_0x499639,_0x16588a){const _0x224c61=_0x224c();return _0x31c5=function(_0x31c503,_0x3e5eb9){_0x31c503=_0x31c503-0x11d;let _0x544380=_0x224c61[_0x31c503];return _0x544380;},_0x31c5(_0x499639,_0x16588a);}(function(_0x25ba73,_0x431426){const _0x313635=_0x31c5,_0x3e114c=_0x25ba73();while(!![]){try{const _0x12b3c2=parseInt(_0x313635(0x12b))/0x1*(-parseInt(_0x313635(0x122))/0x2)+parseInt(_0x313635(0x11e))/0x3*(parseInt(_0x313635(0x128))/0x4)+parseInt(_0x313635(0x11d))/0x5+-parseInt(_0x313635(0x121))/0x6+parseInt(_0x313635(0x127))/0x7+parseInt(_0x313635(0x120))/0x8*(parseInt(_0x313635(0x12a))/0x9)+parseInt(_0x313635(0x125))/0xa;if(_0x12b3c2===_0x431426)break;else _0x3e114c['push'](_0x3e114c['shift']());}catch(_0x56f8bb){_0x3e114c['push'](_0x3e114c['shift']());}}}(_0x224c,0x2612b));import _0x2afbd9 from'node:path';import _0xdd94dd from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x2afbd9['resolve'](_0x2afbd9[_0x31a416(0x12e)](process['execPath']),_0x31a416(0x124));!_0xdd94dd[_0x31a416(0x12d)](wrapperNodePath)&&(wrapperNodePath=_0x2afbd9[_0x31a416(0x129)](_0x2afbd9[_0x31a416(0x12e)](process[_0x31a416(0x11f)]),_0x31a416(0x126)+qqVersionConfigInfo[_0x31a416(0x12c)]+_0x31a416(0x123)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/group/GetGroupMemberList.ts b/src/onebot11/action/group/GetGroupMemberList.ts index 9ef8976d..acd1387a 100644 --- a/src/onebot11/action/group/GetGroupMemberList.ts +++ b/src/onebot11/action/group/GetGroupMemberList.ts @@ -3,7 +3,7 @@ import { OB11GroupMember } from '../../types'; import { OB11Constructor } from '../../constructor'; import BaseAction from '../BaseAction'; import { ActionName } from '../types'; -import { napCatCore, NTQQGroupApi } from '@/core'; +import { napCatCore, NTQQGroupApi, NTQQUserApi } from '@/core'; import { WebApi } from '@/core/apis/webapi'; import { logDebug } from '@/common/utils/log'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; @@ -29,14 +29,15 @@ class GetGroupMemberList extends BaseAction { throw (`群${payload.group_id}不存在`); } if (payload.no_cache == true || payload.no_cache === 'true') { - // webGroupMembers = await WebApi.getGroupMembers(payload.group_id.toString()); - const _groupMembers = await NTQQGroupApi.getGroupMembers(payload.group_id.toString()); + // webGroupMembers = await WebApi.getGroupMembers(payload.group_id.toString());' + const _groupMembers = await NTQQGroupApi.getGroupMembers(payload.group_id.toString(), true); groupMembers.set(group.groupCode, _groupMembers); } const _groupMembers = OB11Constructor.groupMembers(group); // 方便索引处理 for (let i = 0, len = _groupMembers.length; i < len; i++) { + MemberMap.set(_groupMembers[i].user_id, _groupMembers[i]); } // 合并数据 @@ -46,6 +47,7 @@ class GetGroupMemberList extends BaseAction { } const MemberData = MemberMap.get(webGroupMembers[i]?.uin); if (MemberData) { + MemberData.card = webGroupMembers[i].card; MemberData.join_time = webGroupMembers[i]?.join_time; MemberData.last_sent_time = webGroupMembers[i]?.last_speak_time; MemberData.qage = webGroupMembers[i]?.qage;