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