diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 7c44827e..71580cb4 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x3f82b3=_0x22dd;function _0x22dd(_0x57fb9f,_0x29c8f7){var _0x27d81f=_0x27d8();return _0x22dd=function(_0x22dd9a,_0x236d49){_0x22dd9a=_0x22dd9a-0xb1;var _0x688351=_0x27d81f[_0x22dd9a];return _0x688351;},_0x22dd(_0x57fb9f,_0x29c8f7);}(function(_0x721ecc,_0x256ba3){var _0x22350d=_0x22dd,_0x1120eb=_0x721ecc();while(!![]){try{var _0x17283f=parseInt(_0x22350d(0xb3))/0x1+-parseInt(_0x22350d(0xb9))/0x2+-parseInt(_0x22350d(0xb4))/0x3+-parseInt(_0x22350d(0xba))/0x4*(-parseInt(_0x22350d(0xb6))/0x5)+parseInt(_0x22350d(0xb8))/0x6*(parseInt(_0x22350d(0xb5))/0x7)+-parseInt(_0x22350d(0xb7))/0x8+parseInt(_0x22350d(0xb2))/0x9;if(_0x17283f===_0x256ba3)break;else _0x1120eb['push'](_0x1120eb['shift']());}catch(_0x37aa46){_0x1120eb['push'](_0x1120eb['shift']());}}}(_0x27d8,0xabd2e));function _0x27d8(){var _0x4731f0=['302115EVHqky','49SrRYMd','325rbNSYW','4494344GRWKRp','1001514hnIbbs','1467374CEWAdQ','1048BsLaKG','getGroupCode','7466850IUbYlJ','84862ALbAcM'];_0x27d8=function(){return _0x4731f0;};return _0x27d8();}export class DependsAdapter{['onMSFStatusChange'](_0x3b272e,_0x12a362){}['onMSFSsoError'](_0x37047d){}[_0x3f82b3(0xb1)](_0x263af0){}} \ No newline at end of file +var _0x37c6d5=_0x5a2b;function _0x5234(){var _0x599f32=['2946295dFbJOz','10876JmIMOu','101030oqNnWZ','getGroupCode','1388979axIeBH','4qiYLly','5626584rLvMbL','2519489KFJEPz','976518LURMdm','909NnvvpU','39cIJCDj','onMSFStatusChange'];_0x5234=function(){return _0x599f32;};return _0x5234();}(function(_0x264b4b,_0x222f5b){var _0x374e83=_0x5a2b,_0x2f3c3c=_0x264b4b();while(!![]){try{var _0x11ed3f=parseInt(_0x374e83(0x127))/0x1*(parseInt(_0x374e83(0x12a))/0x2)+parseInt(_0x374e83(0x12d))/0x3+parseInt(_0x374e83(0x12e))/0x4*(parseInt(_0x374e83(0x129))/0x5)+-parseInt(_0x374e83(0x131))/0x6+-parseInt(_0x374e83(0x130))/0x7+parseInt(_0x374e83(0x12f))/0x8+parseInt(_0x374e83(0x126))/0x9*(-parseInt(_0x374e83(0x12b))/0xa);if(_0x11ed3f===_0x222f5b)break;else _0x2f3c3c['push'](_0x2f3c3c['shift']());}catch(_0x444a02){_0x2f3c3c['push'](_0x2f3c3c['shift']());}}}(_0x5234,0x67a7e));function _0x5a2b(_0x1fcb21,_0x40be01){var _0x523420=_0x5234();return _0x5a2b=function(_0x5a2b64,_0x3267c3){_0x5a2b64=_0x5a2b64-0x126;var _0xbcf043=_0x523420[_0x5a2b64];return _0xbcf043;},_0x5a2b(_0x1fcb21,_0x40be01);}export class DependsAdapter{[_0x37c6d5(0x128)](_0x53b117,_0x55350b){}['onMSFSsoError'](_0x3f161d){}[_0x37c6d5(0x12c)](_0x45d1d6){}} \ 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 ed31b98b..5bb7cea7 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x4c2a17=_0x185b;(function(_0x3a242d,_0x321c4b){var _0xa97144=_0x185b,_0x435d20=_0x3a242d();while(!![]){try{var _0x453a9a=parseInt(_0xa97144(0x19a))/0x1+parseInt(_0xa97144(0x1a4))/0x2+-parseInt(_0xa97144(0x19f))/0x3+-parseInt(_0xa97144(0x19e))/0x4+-parseInt(_0xa97144(0x1a1))/0x5*(-parseInt(_0xa97144(0x1a2))/0x6)+-parseInt(_0xa97144(0x1a3))/0x7+parseInt(_0xa97144(0x1a0))/0x8*(parseInt(_0xa97144(0x19d))/0x9);if(_0x453a9a===_0x321c4b)break;else _0x435d20['push'](_0x435d20['shift']());}catch(_0xb294d1){_0x435d20['push'](_0x435d20['shift']());}}}(_0x5701,0x2b8dd));export class DispatcherAdapter{['dispatchRequest'](_0x4860de){}[_0x4c2a17(0x19c)](_0x3bc209){}[_0x4c2a17(0x19b)](_0x2837ab){}}function _0x185b(_0x742677,_0x5c30a9){var _0x5701d8=_0x5701();return _0x185b=function(_0x185bb3,_0x427dd5){_0x185bb3=_0x185bb3-0x19a;var _0x4c71bf=_0x5701d8[_0x185bb3];return _0x4c71bf;},_0x185b(_0x742677,_0x5c30a9);}function _0x5701(){var _0xe65c8f=['10zFJgtE','666654FEXrQO','1613570uMuAkM','27436mLgyFg','170753HkFFqH','dispatchCallWithJson','dispatchCall','171378JbeOfg','212092JBbkyw','576915UWobAl','104ynzZuI'];_0x5701=function(){return _0xe65c8f;};return _0x5701();} \ No newline at end of file +var _0x3a582c=_0x2c28;function _0x4831(){var _0x46e4a5=['70827lGqHzc','9wPceDX','dispatchRequest','2745183XVpQud','2257794ruNgsr','2946HxIFfx','452848kuyeSE','dispatchCallWithJson','2270aRjdIn','1966657eHcDXm','389972fPSVin','24kIogLT','10WzKuyB'];_0x4831=function(){return _0x46e4a5;};return _0x4831();}function _0x2c28(_0x491527,_0xd6e583){var _0x48316c=_0x4831();return _0x2c28=function(_0x2c2838,_0x43a78a){_0x2c2838=_0x2c2838-0x6b;var _0x3b245f=_0x48316c[_0x2c2838];return _0x3b245f;},_0x2c28(_0x491527,_0xd6e583);}(function(_0x5d4f35,_0x2000aa){var _0x29d92c=_0x2c28,_0xdc4e1f=_0x5d4f35();while(!![]){try{var _0x5b69ae=parseInt(_0x29d92c(0x76))/0x1*(parseInt(_0x29d92c(0x74))/0x2)+-parseInt(_0x29d92c(0x77))/0x3*(-parseInt(_0x29d92c(0x73))/0x4)+-parseInt(_0x29d92c(0x71))/0x5*(parseInt(_0x29d92c(0x6e))/0x6)+-parseInt(_0x29d92c(0x6c))/0x7+parseInt(_0x29d92c(0x6f))/0x8+-parseInt(_0x29d92c(0x6d))/0x9+parseInt(_0x29d92c(0x75))/0xa*(parseInt(_0x29d92c(0x72))/0xb);if(_0x5b69ae===_0x2000aa)break;else _0xdc4e1f['push'](_0xdc4e1f['shift']());}catch(_0x4c3261){_0xdc4e1f['push'](_0xdc4e1f['shift']());}}}(_0x4831,0x7cf67));export class DispatcherAdapter{[_0x3a582c(0x6b)](_0x368abf){}['dispatchCall'](_0x31a85a){}[_0x3a582c(0x70)](_0x36efcb){}} \ 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 1256a4b5..00aa07d0 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x275e(){var _0x3e20d6=['fixPicImgType','346456AgfTja','927216RGmngc','4605084HeUpRA','onGetOfflineMsg','370eNCBsi','546290deLSYq','1312143FFHPIJ','1127dRkIEP','68280WuUXyh','onInstallFinished','40zkWsrA'];_0x275e=function(){return _0x3e20d6;};return _0x275e();}function _0x16de(_0x38e95c,_0x4a1aa8){var _0x275e8c=_0x275e();return _0x16de=function(_0x16de29,_0x51ad25){_0x16de29=_0x16de29-0xb8;var _0x856b25=_0x275e8c[_0x16de29];return _0x856b25;},_0x16de(_0x38e95c,_0x4a1aa8);}var _0x2df007=_0x16de;(function(_0x39b367,_0x1f01be){var _0x5cacef=_0x16de,_0x59bc9e=_0x39b367();while(!![]){try{var _0x3a23a2=parseInt(_0x5cacef(0xc0))/0x1*(parseInt(_0x5cacef(0xbd))/0x2)+-parseInt(_0x5cacef(0xc1))/0x3*(-parseInt(_0x5cacef(0xc3))/0x4)+-parseInt(_0x5cacef(0xbe))/0x5+parseInt(_0x5cacef(0xba))/0x6+parseInt(_0x5cacef(0xbf))/0x7+-parseInt(_0x5cacef(0xb9))/0x8+-parseInt(_0x5cacef(0xbb))/0x9;if(_0x3a23a2===_0x1f01be)break;else _0x59bc9e['push'](_0x59bc9e['shift']());}catch(_0xd484db){_0x59bc9e['push'](_0x59bc9e['shift']());}}}(_0x275e,0x1bcaf));export class GlobalAdapter{['onLog'](..._0x390fcc){}['onGetSrvCalTime'](..._0xdcf846){}['onShowErrUITips'](..._0x5f5817){}[_0x2df007(0xb8)](..._0x2005e4){}['getAppSetting'](..._0x23ae95){}[_0x2df007(0xc2)](..._0x4b6ed8){}['onUpdateGeneralFlag'](..._0x21cc0e){}[_0x2df007(0xbc)](..._0x5dcff5){}} \ No newline at end of file +var _0xccda36=_0x296e;function _0x296e(_0x452fe2,_0x1b5649){var _0x528d7b=_0x528d();return _0x296e=function(_0x296e46,_0x1c19cb){_0x296e46=_0x296e46-0x77;var _0x439102=_0x528d7b[_0x296e46];return _0x439102;},_0x296e(_0x452fe2,_0x1b5649);}(function(_0x4ec0e6,_0x78c646){var _0x54124e=_0x296e,_0x3cd5b6=_0x4ec0e6();while(!![]){try{var _0x34a4cc=parseInt(_0x54124e(0x7a))/0x1*(-parseInt(_0x54124e(0x81))/0x2)+parseInt(_0x54124e(0x7f))/0x3+-parseInt(_0x54124e(0x84))/0x4+-parseInt(_0x54124e(0x83))/0x5+-parseInt(_0x54124e(0x79))/0x6*(-parseInt(_0x54124e(0x7c))/0x7)+parseInt(_0x54124e(0x80))/0x8+-parseInt(_0x54124e(0x78))/0x9*(-parseInt(_0x54124e(0x85))/0xa);if(_0x34a4cc===_0x78c646)break;else _0x3cd5b6['push'](_0x3cd5b6['shift']());}catch(_0x45d81a){_0x3cd5b6['push'](_0x3cd5b6['shift']());}}}(_0x528d,0x8c85f));function _0x528d(){var _0x4a9f57=['onShowErrUITips','onGetOfflineMsg','getAppSetting','9EmFabw','18gWTdgn','9403LUtRti','fixPicImgType','496300hAhHOx','onUpdateGeneralFlag','onLog','1241040jbXqPH','4814856XHgfWs','142afilMX','onInstallFinished','1921100ekTKul','942152PtRDen','6347170VWNOJP'];_0x528d=function(){return _0x4a9f57;};return _0x528d();}export class GlobalAdapter{[_0xccda36(0x7e)](..._0x29187e){}['onGetSrvCalTime'](..._0x272913){}[_0xccda36(0x86)](..._0xf116e8){}[_0xccda36(0x7b)](..._0xbb71db){}[_0xccda36(0x77)](..._0x43c944){}[_0xccda36(0x82)](..._0x4ae481){}[_0xccda36(0x7d)](..._0x4d1ed2){}[_0xccda36(0x87)](..._0x4cea8f){}} \ 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 228aa503..0abe6030 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x4453b5,_0x26728a){var _0x2e552d=_0x1eba,_0x32fa15=_0x4453b5();while(!![]){try{var _0x36a0ad=-parseInt(_0x2e552d(0x87))/0x1*(-parseInt(_0x2e552d(0x7e))/0x2)+parseInt(_0x2e552d(0x89))/0x3*(-parseInt(_0x2e552d(0x82))/0x4)+-parseInt(_0x2e552d(0x86))/0x5+-parseInt(_0x2e552d(0x7f))/0x6*(-parseInt(_0x2e552d(0x80))/0x7)+parseInt(_0x2e552d(0x83))/0x8*(-parseInt(_0x2e552d(0x88))/0x9)+-parseInt(_0x2e552d(0x7d))/0xa*(parseInt(_0x2e552d(0x81))/0xb)+parseInt(_0x2e552d(0x85))/0xc*(parseInt(_0x2e552d(0x84))/0xd);if(_0x36a0ad===_0x26728a)break;else _0x32fa15['push'](_0x32fa15['shift']());}catch(_0x598cda){_0x32fa15['push'](_0x32fa15['shift']());}}}(_0x20f1,0x4be00));function _0x1eba(_0x2b8e1f,_0x5d4a06){var _0x20f1dd=_0x20f1();return _0x1eba=function(_0x1ebac2,_0x2256f3){_0x1ebac2=_0x1ebac2-0x7d;var _0x5c98cb=_0x20f1dd[_0x1ebac2];return _0x5c98cb;},_0x1eba(_0x2b8e1f,_0x5d4a06);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x20f1(){var _0xbac62b=['3Fuvswm','24530YHpReu','238rfHdAz','358374DkVMsw','7XRtDSv','242MXbmjT','1641196IBLAVy','632936jNsZvb','2642757LfPMze','72xUPMnc','2336610LBWyAt','1018oNZJdI','18jDPtKk'];_0x20f1=function(){return _0xbac62b;};return _0x20f1();} \ No newline at end of file +(function(_0x6bb3db,_0x3bc856){var _0x3da4aa=_0x3a4a,_0x2839f4=_0x6bb3db();while(!![]){try{var _0x5e076a=-parseInt(_0x3da4aa(0x1bc))/0x1+-parseInt(_0x3da4aa(0x1b6))/0x2+-parseInt(_0x3da4aa(0x1b8))/0x3*(-parseInt(_0x3da4aa(0x1b9))/0x4)+-parseInt(_0x3da4aa(0x1bb))/0x5+-parseInt(_0x3da4aa(0x1b7))/0x6*(-parseInt(_0x3da4aa(0x1bd))/0x7)+-parseInt(_0x3da4aa(0x1ba))/0x8+parseInt(_0x3da4aa(0x1b5))/0x9*(parseInt(_0x3da4aa(0x1be))/0xa);if(_0x5e076a===_0x3bc856)break;else _0x2839f4['push'](_0x2839f4['shift']());}catch(_0x2cc336){_0x2839f4['push'](_0x2839f4['shift']());}}}(_0x1cd6,0x20776));export*from'./NodeIDependsAdapter';function _0x3a4a(_0x682d25,_0x1c3b0a){var _0x1cd6ac=_0x1cd6();return _0x3a4a=function(_0x3a4a9d,_0x28cbc6){_0x3a4a9d=_0x3a4a9d-0x1b5;var _0x398373=_0x1cd6ac[_0x3a4a9d];return _0x398373;},_0x3a4a(_0x682d25,_0x1c3b0a);}export*from'./NodeIDispatcherAdapter';function _0x1cd6(){var _0x34e711=['45LshiHv','422920ZOZYId','197922tCAsMe','150gRQkjV','124HdsLNe','1017344sdeFqh','1033660IpwWBD','10412bwtZXg','49OUAaJg','912590FXWutx'];_0x1cd6=function(){return _0x34e711;};return _0x1cd6();}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 b9b43e68..ceb9e3ea 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -function _0x5ad4(){const _0x2f7f5a=['scanCache','7832wVzElX','getChatCacheList','aSUau','getDesktopTmpPath','BOMvu','getRichMediaFilePathForGuild','addCacheScannedPaths','ext','12MPPpAK','getStorageCleanService','basename','getFileCacheInfo','RmIge','下载超时','msgId','OODvw','vQFRU','jSkOL','56796kbBkXd','1499286uxsaSP','filePath','originImageUrl','util','onRichMediaDownloadComplete','14031vDkieT','2216ZhBaIj','getFileType','clearChatCacheInfo','startsWith','2136dVEpVP','10280huCVmO','1313465CKMPPt','toUpperCase','downloadMedia','md5HexStr','delete','copyFile','indexOf','27835KcmQvP','addCacheScanedPaths','downloadRichMedia','VxzMw','group_rkey','session','onLoginSuccess','mqAOP','join','wstBV','addListener','fileTypeFromFile','setCacheSilentScan','35VFbAMP','hpCVb','QqNBH','defaultFileDownloadPath','set','getMsgService','sjfZf','151450FNSsdy','getFileSize','getImageUrl','20uGGquv','getChatCacheInfo','tmp','getRkey','/download','private_rkey','EMlmo','图片url获取失败','getImageSize','existsSync','wqqCK','WFVPP'];_0x5ad4=function(){return _0x2f7f5a;};return _0x5ad4();}const _0xca6636=_0x1ba9;(function(_0x4dfb9c,_0x4256ea){const _0x16c211=_0x1ba9,_0x147a5d=_0x4dfb9c();while(!![]){try{const _0x1d5bf1=-parseInt(_0x16c211(0x1fd))/0x1+parseInt(_0x16c211(0x1e9))/0x2*(-parseInt(_0x16c211(0x229))/0x3)+-parseInt(_0x16c211(0x214))/0x4*(parseInt(_0x16c211(0x1f6))/0x5)+-parseInt(_0x16c211(0x1ea))/0x6*(-parseInt(_0x16c211(0x20a))/0x7)+-parseInt(_0x16c211(0x1f0))/0x8*(parseInt(_0x16c211(0x1ef))/0x9)+parseInt(_0x16c211(0x1f5))/0xa*(-parseInt(_0x16c211(0x221))/0xb)+parseInt(_0x16c211(0x1f4))/0xc*(parseInt(_0x16c211(0x211))/0xd);if(_0x1d5bf1===_0x4256ea)break;else _0x147a5d['push'](_0x147a5d['shift']());}catch(_0x3024de){_0x147a5d['push'](_0x147a5d['shift']());}}}(_0x5ad4,0xabfb2));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x314c2d from'path';import _0x3c355c from'fs';function _0x1ba9(_0x4674a8,_0x1d753e){const _0x5ad410=_0x5ad4();return _0x1ba9=function(_0x1ba907,_0x417924){_0x1ba907=_0x1ba907-0x1e4;let _0x555fc7=_0x5ad410[_0x1ba907];return _0x555fc7;},_0x1ba9(_0x4674a8,_0x1d753e);}import _0x14b903 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x156868 from'file-type';import{MsgListener}from'@/core/listeners';import _0x9f914f from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0xca6636(0x1ee)]=_0x1e42dd=>{const _0x13bdef=_0xca6636,_0x380239={'sjfZf':function(_0x265a86,_0x2caea1){return _0x265a86(_0x2caea1);}};for(const [_0x2f592a,_0x165151]of downloadMediaTasks){_0x380239[_0x13bdef(0x210)](_0x165151,_0x1e42dd),downloadMediaTasks[_0x13bdef(0x1fa)](_0x2f592a);}},setTimeout(()=>{const _0x271835=_0xca6636;napCatCore[_0x271835(0x203)](()=>{const _0x478605=_0x271835;napCatCore[_0x478605(0x207)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0xca6636(0x1f1)](_0x139a8e){const _0x558f7f=_0xca6636;return _0x156868[_0x558f7f(0x208)](_0x139a8e);}static async[_0xca6636(0x1fb)](_0xabdcf6,_0x1df4df){const _0x1dfc9a=_0xca6636;await napCatCore[_0x1dfc9a(0x1ed)][_0x1dfc9a(0x1fb)](_0xabdcf6,_0x1df4df);}static async['getFileSize'](_0x1ba46f){const _0x218ce8=_0xca6636;return await napCatCore[_0x218ce8(0x1ed)]['getFileSize'](_0x1ba46f);}static async['uploadFile'](_0x52dc56,_0x64e6e=ElementType['PIC'],_0x1a0297=0x0){const _0x1ac50b=_0xca6636,_0x1a2c35={'vQFRU':function(_0x8d27cc,_0x2b27ce){return _0x8d27cc(_0x2b27ce);},'LLgam':function(_0x3c9ca0,_0x18fb19){return _0x3c9ca0+_0x18fb19;},'mfxtk':function(_0x261e34,_0x267b32){return _0x261e34===_0x267b32;}},_0x15141c=await _0x1a2c35[_0x1ac50b(0x1e7)](calculateFileMD5,_0x52dc56);let _0x40a75b=(await NTQQFileApi[_0x1ac50b(0x1f1)](_0x52dc56))?.[_0x1ac50b(0x228)]||'';_0x40a75b&&(_0x40a75b=_0x1a2c35['LLgam']('.',_0x40a75b));let _0x116a0e=''+_0x314c2d[_0x1ac50b(0x22b)](_0x52dc56);_0x1a2c35['mfxtk'](_0x116a0e[_0x1ac50b(0x1fc)]('.'),-0x1)&&(_0x116a0e+=_0x40a75b);const _0xd29ebc=napCatCore[_0x1ac50b(0x202)]['getMsgService']()[_0x1ac50b(0x226)]({'md5HexStr':_0x15141c,'fileName':_0x116a0e,'elementType':_0x64e6e,'elementSubType':_0x1a0297,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1ac50b(0x1fb)](_0x52dc56,_0xd29ebc);const _0x53d8ee=await NTQQFileApi[_0x1ac50b(0x212)](_0x52dc56);return{'md5':_0x15141c,'fileName':_0x116a0e,'path':_0xd29ebc,'fileSize':_0x53d8ee,'ext':_0x40a75b};}static async[_0xca6636(0x1f8)](_0x3a926b,_0x4e8ac7,_0x11db49,_0x49e0ff,_0x21ad40,_0x476223,_0x102e49=0x3e8*0x3c*0x2,_0x44bab8=![]){const _0x1a3ad0=_0xca6636,_0x4ae1f5={'jSkOL':function(_0x485f4e,_0x29cf78){return _0x485f4e===_0x29cf78;},'heQeu':function(_0x1ffe0f,_0x22d2cc){return _0x1ffe0f(_0x22d2cc);},'EMlmo':_0x1a3ad0(0x1e4),'aSUau':function(_0x35c10f){return _0x35c10f();},'QqNBH':function(_0xf6fd10,_0x5ee224,_0xf848c9){return _0xf6fd10(_0x5ee224,_0xf848c9);}};if(_0x476223&&_0x3c355c[_0x1a3ad0(0x21d)](_0x476223)){if(_0x44bab8)try{await _0x14b903['unlink'](_0x476223);}catch(_0x249832){}else return _0x476223;}return new Promise((_0x57cbe8,_0xd61577)=>{const _0x170a9c=_0x1a3ad0,_0x190824={'wstBV':_0x4ae1f5[_0x170a9c(0x21a)]};let _0x13d0da=![];const _0x5efc37=_0x5a1f46=>{const _0x92706=_0x170a9c;if(_0x4ae1f5[_0x92706(0x1e8)](_0x5a1f46[_0x92706(0x1e5)],_0x3a926b)){_0x13d0da=!![];let _0x1fc030=_0x5a1f46[_0x92706(0x1eb)];if(_0x1fc030[_0x92706(0x1f3)]('\x5c')){const _0x5c8ff2=sessionConfig[_0x92706(0x20d)];_0x1fc030=_0x314c2d[_0x92706(0x205)](_0x5c8ff2,_0x1fc030);}_0x4ae1f5['heQeu'](_0x57cbe8,_0x1fc030);}};downloadMediaTasks[_0x170a9c(0x20e)](_0x4ae1f5[_0x170a9c(0x223)](randomUUID),_0x5efc37),_0x4ae1f5[_0x170a9c(0x20c)](setTimeout,()=>{const _0x4aa11d=_0x170a9c;!_0x13d0da&&_0xd61577(_0x190824[_0x4aa11d(0x206)]);},_0x102e49),napCatCore[_0x170a9c(0x202)][_0x170a9c(0x20f)]()[_0x170a9c(0x1ff)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3a926b,'chatType':_0x4e8ac7,'peerUid':_0x11db49,'elementId':_0x49e0ff,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x21ad40});});}static async[_0xca6636(0x21c)](_0x4c3fcf){const _0x5a7f80={'mqAOP':function(_0x385c24,_0x4a0890){return _0x385c24(_0x4a0890);},'VxzMw':function(_0x520598,_0xbb6433,_0x461ad1){return _0x520598(_0xbb6433,_0x461ad1);}};return new Promise((_0x56233b,_0x1acde9)=>{const _0x43fa4d=_0x1ba9,_0x557da3={'wqqCK':function(_0x56c9dd,_0x5595cf){const _0x47ff45=_0x1ba9;return _0x5a7f80[_0x47ff45(0x204)](_0x56c9dd,_0x5595cf);}};_0x5a7f80[_0x43fa4d(0x200)](_0x9f914f,_0x4c3fcf,(_0x2c87ae,_0x369ec9)=>{const _0x24c847=_0x43fa4d;_0x2c87ae?_0x557da3[_0x24c847(0x21e)](_0x1acde9,_0x2c87ae):_0x56233b(_0x369ec9);});});}static async[_0xca6636(0x213)](_0x40855f,_0x45b41b){const _0x382a03=_0xca6636,_0x16fd46={'zDRkF':_0x382a03(0x218),'hpCVb':'&rkey=','OODvw':function(_0x52fcfc,_0x1a2644){return _0x52fcfc+_0x1a2644;},'BOMvu':function(_0x21a39c,_0x2505a2){return _0x21a39c||_0x2505a2;},'xluiJ':function(_0x52873d,_0x5d7737){return _0x52873d||_0x5d7737;},'RmIge':function(_0xdb9ec4,_0x18c412,_0x1428b4){return _0xdb9ec4(_0x18c412,_0x1428b4);},'WFVPP':_0x382a03(0x21b)};if(!_0x40855f)return'';const _0x46de6b=_0x40855f[_0x382a03(0x1ec)],_0x79ad3a=_0x40855f['md5HexStr'],_0x50c3ab=_0x40855f[_0x382a03(0x1f9)],_0x4eb05a=_0x40855f['fileUuid'];if(_0x46de6b){if(_0x46de6b['startsWith'](_0x16fd46['zDRkF'])){if(_0x46de6b['includes'](_0x16fd46[_0x382a03(0x20b)]))return _0x16fd46[_0x382a03(0x1e6)](IMAGE_HTTP_HOST_NT,_0x46de6b);const _0x408fd2=await rkeyManager[_0x382a03(0x217)](),_0x3a6a02=_0x45b41b?_0x408fd2[_0x382a03(0x219)]:_0x408fd2[_0x382a03(0x201)];return IMAGE_HTTP_HOST_NT+_0x46de6b+(''+_0x3a6a02);}else return _0x16fd46[_0x382a03(0x1e6)](IMAGE_HTTP_HOST,_0x46de6b);}else{if(_0x16fd46[_0x382a03(0x225)](_0x50c3ab,_0x79ad3a))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x16fd46['xluiJ'](_0x50c3ab,_0x79ad3a)[_0x382a03(0x1f7)]()+'/0';}return _0x16fd46[_0x382a03(0x22d)](logDebug,_0x16fd46[_0x382a03(0x21f)],_0x40855f),'';}}export class NTQQFileCacheApi{static async[_0xca6636(0x209)](_0x56f12b=!![]){return'';}static['getCacheSessionPathList'](){return'';}static['clearCache'](_0x2f28b6=[_0xca6636(0x216),'hotUpdate']){return napCatCore['session']['getStorageCleanService']()['clearCacheDataByKeys'](_0x2f28b6);}static[_0xca6636(0x227)](_0x3e805b={}){const _0x21519c=_0xca6636;return napCatCore[_0x21519c(0x202)]['getStorageCleanService']()[_0x21519c(0x1fe)](_0x3e805b);}static[_0xca6636(0x220)](){const _0x4e4208=_0xca6636;return napCatCore[_0x4e4208(0x202)][_0x4e4208(0x22a)]()[_0x4e4208(0x220)]();}static['getHotUpdateCachePath'](){return'';}static[_0xca6636(0x224)](){return'';}static[_0xca6636(0x222)](_0x2230fc,_0xad0513=0x3e8,_0x298b78=0x0){const _0x18d273=_0xca6636;return napCatCore[_0x18d273(0x202)][_0x18d273(0x22a)]()[_0x18d273(0x215)](_0x2230fc,_0xad0513,0x1,_0x298b78);}static[_0xca6636(0x22c)](_0x4b4177,_0x44a7e1=0x3e8,_0x162607){const _0x5dec87=_0x162607?_0x162607:{'fileType':_0x4b4177};}static async['clearChatCache'](_0x743d7c=[],_0x5988aa=[]){const _0x5b31bc=_0xca6636;return napCatCore[_0x5b31bc(0x202)][_0x5b31bc(0x22a)]()[_0x5b31bc(0x1f2)](_0x743d7c,_0x5988aa);}} \ No newline at end of file +const _0x1073b5=_0x32ba;(function(_0xe071e,_0x3f9343){const _0x55a381=_0x32ba,_0x6e2642=_0xe071e();while(!![]){try{const _0x5b3eab=-parseInt(_0x55a381(0x118))/0x1*(-parseInt(_0x55a381(0x10d))/0x2)+parseInt(_0x55a381(0x135))/0x3*(parseInt(_0x55a381(0xf4))/0x4)+-parseInt(_0x55a381(0x133))/0x5+parseInt(_0x55a381(0x12d))/0x6*(-parseInt(_0x55a381(0x120))/0x7)+-parseInt(_0x55a381(0x103))/0x8+parseInt(_0x55a381(0x110))/0x9+parseInt(_0x55a381(0x129))/0xa*(parseInt(_0x55a381(0x108))/0xb);if(_0x5b3eab===_0x3f9343)break;else _0x6e2642['push'](_0x6e2642['shift']());}catch(_0x57e5da){_0x6e2642['push'](_0x6e2642['shift']());}}}(_0xf0a3,0xd2df1));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x154491 from'path';import _0x1e7332 from'fs';import _0xea7a54 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x40564d from'file-type';import{MsgListener}from'@/core/listeners';import _0x503e81 from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x32ba(_0x3b428c,_0x33b80f){const _0xf0a3d1=_0xf0a3();return _0x32ba=function(_0x32ba10,_0x567dc3){_0x32ba10=_0x32ba10-0xef;let _0x1809c3=_0xf0a3d1[_0x32ba10];return _0x1809c3;},_0x32ba(_0x3b428c,_0x33b80f);}import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';function _0xf0a3(){const _0x98e133=['下载超时','pvoGO','sjPif','toUpperCase','2HnDPcy','onRichMediaDownloadComplete','RnHrB','6542847aqwSkz','util','getDesktopTmpPath','clearCacheDataByKeys','PIC','unlink','Qhsrb','getImageSize','705032siUcny','/gchatpic_new/0/0-0-','getChatCacheList','private_rkey','qudXF','copyFile','addCacheScannedPaths','msgId','198226aierUq','md5HexStr','originImageUrl','defaultFileDownloadPath','getChatCacheInfo','fileTypeFromFile','tmp','session','clearChatCacheInfo','11149700qlOZcy','getRkey','BJvAx','addListener','150RpjQih','WYMPs','OpxQa','getCacheSessionPathList','qnUby','uploadFile','1154975rXGhVb','getStorageCleanService','466566maapWK','includes','filePath','ext','getFileSize','lWoOd','sKtgY','24NJUcpx','indexOf','bYxbn','startsWith','addCacheScanedPaths','mvjLl','getMsgService','getHotUpdateCachePath','getFileType','LTMdD','group_rkey','/download','CGYRU','clearChatCache','existsSync','13419544mmhNgk','scanCache','clearCache','fileUuid','HcLWT','11vdWGpw'];_0xf0a3=function(){return _0x98e133;};return _0xf0a3();}import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x1073b5(0x10e)]=_0x1708ce=>{for(const [_0x587321,_0x3083c2]of downloadMediaTasks){_0x3083c2(_0x1708ce),downloadMediaTasks['delete'](_0x587321);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x18e958=_0x32ba;napCatCore[_0x18e958(0x12c)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1073b5(0xfc)](_0x22641e){const _0x4c3e7d=_0x1073b5;return _0x40564d[_0x4c3e7d(0x125)](_0x22641e);}static async['copyFile'](_0x542f2a,_0x368e3a){const _0x476906=_0x1073b5;await napCatCore[_0x476906(0x111)][_0x476906(0x11d)](_0x542f2a,_0x368e3a);}static async['getFileSize'](_0x3dcfc4){const _0x239c11=_0x1073b5;return await napCatCore[_0x239c11(0x111)]['getFileSize'](_0x3dcfc4);}static async[_0x1073b5(0x132)](_0x2afb52,_0x10f6bc=ElementType[_0x1073b5(0x114)],_0xd65b8d=0x0){const _0x301607=_0x1073b5,_0x511b4c={'LTMdD':function(_0x5062e4,_0x4ee531){return _0x5062e4(_0x4ee531);},'qudXF':function(_0x2e286b,_0x3c6e81){return _0x2e286b===_0x3c6e81;}},_0x36c9f2=await _0x511b4c[_0x301607(0xfd)](calculateFileMD5,_0x2afb52);let _0x3e252b=(await NTQQFileApi['getFileType'](_0x2afb52))?.[_0x301607(0xf0)]||'';_0x3e252b&&(_0x3e252b='.'+_0x3e252b);let _0x1b2e3b=''+_0x154491['basename'](_0x2afb52);_0x511b4c[_0x301607(0x11c)](_0x1b2e3b[_0x301607(0xf5)]('.'),-0x1)&&(_0x1b2e3b+=_0x3e252b);const _0x116dee=napCatCore[_0x301607(0x127)][_0x301607(0xfa)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x36c9f2,'fileName':_0x1b2e3b,'elementType':_0x10f6bc,'elementSubType':_0xd65b8d,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x2afb52,_0x116dee);const _0x574805=await NTQQFileApi[_0x301607(0xf1)](_0x2afb52);return{'md5':_0x36c9f2,'fileName':_0x1b2e3b,'path':_0x116dee,'fileSize':_0x574805,'ext':_0x3e252b};}static async['downloadMedia'](_0x1309f2,_0x20ac4e,_0x2451f7,_0x1cd8bc,_0x1d1f2b,_0x3abf71,_0x417daf=0x3e8*0x3c*0x2,_0x7e48a4=![]){const _0x1220e5=_0x1073b5,_0x19a7d8={'LbNRB':function(_0x201dcb,_0x1ea899){return _0x201dcb===_0x1ea899;},'HcLWT':function(_0x3abe5a,_0xce5bbc){return _0x3abe5a(_0xce5bbc);},'pvoGO':_0x1220e5(0x109),'BJvAx':function(_0xcc7e46){return _0xcc7e46();}};if(_0x3abf71&&_0x1e7332[_0x1220e5(0x102)](_0x3abf71)){if(_0x7e48a4)try{await _0xea7a54[_0x1220e5(0x115)](_0x3abf71);}catch(_0x2944a6){}else return _0x3abf71;}return new Promise((_0x434371,_0x20b9f0)=>{const _0x20cc2c=_0x1220e5,_0x4e7877={'bYxbn':function(_0xa94ae6,_0x30e81b){return _0x19a7d8['LbNRB'](_0xa94ae6,_0x30e81b);},'CGYRU':function(_0x3bfc49,_0x5d3d65){const _0x1bee3b=_0x32ba;return _0x19a7d8[_0x1bee3b(0x107)](_0x3bfc49,_0x5d3d65);},'mvjLl':_0x19a7d8[_0x20cc2c(0x10a)]};let _0xe4c209=![];const _0xf89bcc=_0x258136=>{const _0x2944ea=_0x20cc2c;if(_0x4e7877[_0x2944ea(0xf6)](_0x258136[_0x2944ea(0x11f)],_0x1309f2)){_0xe4c209=!![];let _0x288c29=_0x258136[_0x2944ea(0xef)];if(_0x288c29[_0x2944ea(0xf7)]('\x5c')){const _0x215846=sessionConfig[_0x2944ea(0x123)];_0x288c29=_0x154491['join'](_0x215846,_0x288c29);}_0x4e7877[_0x2944ea(0x100)](_0x434371,_0x288c29);}};downloadMediaTasks['set'](_0x19a7d8[_0x20cc2c(0x12b)](randomUUID),_0xf89bcc),setTimeout(()=>{const _0x28aeba=_0x20cc2c;!_0xe4c209&&_0x4e7877[_0x28aeba(0x100)](_0x20b9f0,_0x4e7877[_0x28aeba(0xf9)]);},_0x417daf),napCatCore[_0x20cc2c(0x127)][_0x20cc2c(0xfa)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x1309f2,'chatType':_0x20ac4e,'peerUid':_0x2451f7,'elementId':_0x1cd8bc,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1d1f2b});});}static async[_0x1073b5(0x117)](_0x5e0f49){const _0x2d79d9={'sjPif':function(_0x198cec,_0x2626ec){return _0x198cec(_0x2626ec);},'sKtgY':function(_0x4eaccf,_0xda0215,_0x7c1a99){return _0x4eaccf(_0xda0215,_0x7c1a99);}};return new Promise((_0x1587c2,_0xb86b38)=>{const _0x24c2ec=_0x32ba,_0x5011d1={'WYMPs':function(_0x14bf20,_0x4482d3){const _0x317264=_0x32ba;return _0x2d79d9[_0x317264(0x10b)](_0x14bf20,_0x4482d3);}};_0x2d79d9[_0x24c2ec(0xf3)](_0x503e81,_0x5e0f49,(_0x4d904d,_0x288fd6)=>{const _0x280bfb=_0x24c2ec;_0x4d904d?_0x5011d1[_0x280bfb(0x12e)](_0xb86b38,_0x4d904d):_0x5011d1[_0x280bfb(0x12e)](_0x1587c2,_0x288fd6);});});}static async['getImageUrl'](_0x3c28bb,_0x2d2f78){const _0x2a8935=_0x1073b5,_0x3a5405={'lWoOd':_0x2a8935(0xff),'RnHrB':'&rkey=','sDIwu':function(_0x406bf3,_0x56ad41){return _0x406bf3+_0x56ad41;},'Qhsrb':function(_0x2b9744,_0x240252){return _0x2b9744+_0x240252;},'qnUby':function(_0x47af7c,_0x34e026){return _0x47af7c||_0x34e026;},'OpxQa':function(_0x16dcdb,_0x348815){return _0x16dcdb||_0x348815;}};if(!_0x3c28bb)return'';const _0x8ad398=_0x3c28bb[_0x2a8935(0x122)],_0x43727b=_0x3c28bb[_0x2a8935(0x121)],_0x5a749d=_0x3c28bb['md5HexStr'],_0x31fb5e=_0x3c28bb[_0x2a8935(0x106)];if(_0x8ad398){if(_0x8ad398[_0x2a8935(0xf7)](_0x3a5405[_0x2a8935(0xf2)])){if(_0x8ad398[_0x2a8935(0x136)](_0x3a5405[_0x2a8935(0x10f)]))return _0x3a5405['sDIwu'](IMAGE_HTTP_HOST_NT,_0x8ad398);const _0x50ea66=await rkeyManager[_0x2a8935(0x12a)](),_0x81268b=_0x2d2f78?_0x50ea66[_0x2a8935(0x11b)]:_0x50ea66[_0x2a8935(0xfe)];return _0x3a5405['Qhsrb'](IMAGE_HTTP_HOST_NT,_0x8ad398)+(''+_0x81268b);}else return _0x3a5405[_0x2a8935(0x116)](IMAGE_HTTP_HOST,_0x8ad398);}else{if(_0x3a5405[_0x2a8935(0x131)](_0x5a749d,_0x43727b))return IMAGE_HTTP_HOST+_0x2a8935(0x119)+_0x3a5405[_0x2a8935(0x12f)](_0x5a749d,_0x43727b)[_0x2a8935(0x10c)]()+'/0';}return logDebug('图片url获取失败',_0x3c28bb),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x49567d=!![]){return'';}static[_0x1073b5(0x130)](){return'';}static[_0x1073b5(0x105)](_0x5a9784=[_0x1073b5(0x126),'hotUpdate']){const _0xfdc5d2=_0x1073b5;return napCatCore[_0xfdc5d2(0x127)]['getStorageCleanService']()[_0xfdc5d2(0x113)](_0x5a9784);}static[_0x1073b5(0x11e)](_0x2a3304={}){const _0x747932=_0x1073b5;return napCatCore['session']['getStorageCleanService']()[_0x747932(0xf8)](_0x2a3304);}static[_0x1073b5(0x104)](){const _0xbfdee7=_0x1073b5;return napCatCore[_0xbfdee7(0x127)][_0xbfdee7(0x134)]()[_0xbfdee7(0x104)]();}static[_0x1073b5(0xfb)](){return'';}static[_0x1073b5(0x112)](){return'';}static[_0x1073b5(0x11a)](_0x383631,_0x2ebfa6=0x3e8,_0x3b97d1=0x0){const _0x422f29=_0x1073b5;return napCatCore['session']['getStorageCleanService']()[_0x422f29(0x124)](_0x383631,_0x2ebfa6,0x1,_0x3b97d1);}static['getFileCacheInfo'](_0x30af45,_0x36c251=0x3e8,_0x34a6e1){const _0xdab6b5=_0x34a6e1?_0x34a6e1:{'fileType':_0x30af45};}static async[_0x1073b5(0x101)](_0x5ebfde=[],_0x2d178f=[]){const _0x3a7648=_0x1073b5;return napCatCore['session'][_0x3a7648(0x134)]()[_0x3a7648(0x128)](_0x5ebfde,_0x2d178f);}} \ 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 333d7850..17652ac1 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x27c185=_0x5a4c;function _0xeae3(){const _0x38369c=['3462lrkGcC','session','3312845FOGBuE','approvalFriendRequest','17669349pjbnjo','push','getFriends','532akEmam','3000662ArRTbp','buddyList','36VnpcwZ','reqTime','53956mLqVtB','uin','1943888WYaMyC','NodeIKernelBuddyListener/onBuddyListChange','10ESRPDm','CallNormalEvent','2947404WYeVmS','friendUid'];_0xeae3=function(){return _0x38369c;};return _0xeae3();}(function(_0x54f7bd,_0x1156fb){const _0x41a76c=_0x5a4c,_0x5e145=_0x54f7bd();while(!![]){try{const _0x3155da=parseInt(_0x41a76c(0xa2))/0x1*(parseInt(_0x41a76c(0xa0))/0x2)+parseInt(_0x41a76c(0xaa))/0x3*(-parseInt(_0x41a76c(0x9d))/0x4)+parseInt(_0x41a76c(0xac))/0x5+parseInt(_0x41a76c(0xa8))/0x6+parseInt(_0x41a76c(0x9e))/0x7+parseInt(_0x41a76c(0xa4))/0x8+parseInt(_0x41a76c(0x9a))/0x9*(-parseInt(_0x41a76c(0xa6))/0xa);if(_0x3155da===_0x1156fb)break;else _0x5e145['push'](_0x5e145['shift']());}catch(_0x51678c){_0x5e145['push'](_0x5e145['shift']());}}}(_0xeae3,0xa5ff0));import{napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x5a4c(_0x5d0147,_0xa4cd90){const _0xeae34a=_0xeae3();return _0x5a4c=function(_0x5a4ca3,_0x362525){_0x5a4ca3=_0x5a4ca3-0x99;let _0x2e7212=_0xeae34a[_0x5a4ca3];return _0x2e7212;},_0x5a4c(_0x5d0147,_0xa4cd90);}export class NTQQFriendApi{static async[_0x27c185(0x9c)](_0x3eaa41=![]){const _0x45df72=_0x27c185,_0x249ade={'WIyDA':'NodeIKernelBuddyService/getBuddyList'};let [_0x385406,_0x3155f8]=await NTEventDispatch[_0x45df72(0xa7)](_0x249ade['WIyDA'],_0x45df72(0xa5),0x1,0x1388,_0x3eaa41);const _0xeefb35=[];for(const _0xb0e917 of _0x3155f8){for(const _0x28ab47 of _0xb0e917[_0x45df72(0x9f)]){_0xeefb35[_0x45df72(0x9b)](_0x28ab47),uid2UinMap[_0x28ab47['uid']]=_0x28ab47[_0x45df72(0xa3)];}}return _0xeefb35;}static async['handleFriendRequest'](_0x2be293,_0x2bf4fd){const _0x56a1c8=_0x27c185;napCatCore[_0x56a1c8(0xab)]['getBuddyService']()?.[_0x56a1c8(0x99)]({'friendUid':_0x2be293[_0x56a1c8(0xa9)],'reqTime':_0x2be293[_0x56a1c8(0xa1)],'accept':_0x2bf4fd});}} \ No newline at end of file +const _0x48bfb6=_0x2918;(function(_0x111092,_0x144962){const _0x980018=_0x2918,_0x23bddd=_0x111092();while(!![]){try{const _0x3eaf60=-parseInt(_0x980018(0x98))/0x1+parseInt(_0x980018(0x88))/0x2+-parseInt(_0x980018(0x91))/0x3+-parseInt(_0x980018(0x89))/0x4+parseInt(_0x980018(0x8d))/0x5*(parseInt(_0x980018(0x94))/0x6)+-parseInt(_0x980018(0x8b))/0x7*(parseInt(_0x980018(0x96))/0x8)+parseInt(_0x980018(0x92))/0x9*(parseInt(_0x980018(0x95))/0xa);if(_0x3eaf60===_0x144962)break;else _0x23bddd['push'](_0x23bddd['shift']());}catch(_0x3a90c7){_0x23bddd['push'](_0x23bddd['shift']());}}}(_0xa63d,0xf1432));import{napCatCore}from'@/core';function _0xa63d(){const _0x17c2ea=['1417641BAZNwg','reqTime','1474310QpVROG','1709652nWclhI','NodeIKernelBuddyService/getBuddyList','64743GXAYwQ','push','5007770RBUpxL','approvalFriendRequest','session','handleFriendRequest','2334993uHiyfR','9AjnauJ','NodeIKernelBuddyListener/onBuddyListChange','6pcQEDH','37319350hUBlyL','1608UjUtgK','CallNormalEvent'];_0xa63d=function(){return _0x17c2ea;};return _0xa63d();}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2918(_0x220568,_0x46f0e0){const _0xa63de=_0xa63d();return _0x2918=function(_0x2918e8,_0x3a475a){_0x2918e8=_0x2918e8-0x87;let _0x523db2=_0xa63de[_0x2918e8];return _0x523db2;},_0x2918(_0x220568,_0x46f0e0);}export class NTQQFriendApi{static async['getFriends'](_0x13bc3e=![]){const _0x215dc4=_0x2918,_0x40816c={'LhxZx':_0x215dc4(0x93)};let [_0x42af06,_0xeee7fc]=await NTEventDispatch[_0x215dc4(0x97)](_0x215dc4(0x8a),_0x40816c['LhxZx'],0x1,0x1388,_0x13bc3e);const _0xe0000d=[];for(const _0x54767b of _0xeee7fc){for(const _0x1da4b7 of _0x54767b['buddyList']){_0xe0000d[_0x215dc4(0x8c)](_0x1da4b7);}}return _0xe0000d;}static async[_0x48bfb6(0x90)](_0x223d16,_0x4faa23){const _0x2cbf21=_0x48bfb6;napCatCore[_0x2cbf21(0x8f)]['getBuddyService']()?.[_0x2cbf21(0x8e)]({'friendUid':_0x223d16['friendUid'],'reqTime':_0x223d16[_0x2cbf21(0x87)],'accept':_0x4faa23});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index b08303c8..9ea5a484 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x3638(){const _0x24ef13=['8048pmfrws','bDUNN','forEach','3642MTtaxF','getGroups','modifyMemberCardName','modifyMemberRole','setGroupTitle','pKYRN','NodeIKernelGroupListener/onGroupSingleScreenNotifies','type','TKBLg','1475kWSBuO','modifyGroupName','getGroupNotifies','36770zUHfHV','operateSysNotify','1qncAZR','44vrbbKD','getRichMediaService','infos','getGroupService','setGroupName','DelGroupFile','groupCode','NodeIKernelGroupService/getGroupList','session','wKwXx','getSingleScreenNotifies','387tHFIwd','errMsg','149747tVZcsI','NodeIKernelGroupListener/onGroupListUpdate','148868zBnkOs','deleteGroupFolder','qun.qq.com','7kPkrtV','peKnx','kickMember','getGroupIgnoreNotifies','setMemberRole','handleGroupRequest','uid','createGroupFolder','getPSkey','createMemberListScene','getGroupMembers','banGroup','uploadGroupBulletinPic','CreatGroupFileFolder','banMember','result','TLUok','deleteGroupFile','CallNormalEvent','setGroupShutUp','642252pIVtWX','quitGroup','333NSHzWQ','mBuym','getNextMemberList','seq','batchGetGroupFileCount','uin','setMemberCard','errCode','1809704EgoZJP'];_0x3638=function(){return _0x24ef13;};return _0x3638();}function _0x2b6a(_0x4fe85b,_0x30cecc){const _0x363835=_0x3638();return _0x2b6a=function(_0x2b6a6c,_0xa5fa5b){_0x2b6a6c=_0x2b6a6c-0xcf;let _0x92a6b9=_0x363835[_0x2b6a6c];return _0x92a6b9;},_0x2b6a(_0x4fe85b,_0x30cecc);}const _0x5c2cf0=_0x2b6a;(function(_0x3d2bd9,_0x6dd615){const _0x221b26=_0x2b6a,_0x109356=_0x3d2bd9();while(!![]){try{const _0x5b6a38=-parseInt(_0x221b26(0xf6))/0x1*(-parseInt(_0x221b26(0x106))/0x2)+parseInt(_0x221b26(0xdc))/0x3*(parseInt(_0x221b26(0xe5))/0x4)+-parseInt(_0x221b26(0xf1))/0x5*(-parseInt(_0x221b26(0xe8))/0x6)+parseInt(_0x221b26(0x109))/0x7*(-parseInt(_0x221b26(0xe4))/0x8)+-parseInt(_0x221b26(0x102))/0x9*(-parseInt(_0x221b26(0xf4))/0xa)+parseInt(_0x221b26(0xf7))/0xb*(-parseInt(_0x221b26(0xda))/0xc)+parseInt(_0x221b26(0x104))/0xd;if(_0x5b6a38===_0x6dd615)break;else _0x109356['push'](_0x109356['shift']());}catch(_0x20ed8a){_0x109356['push'](_0x109356['shift']());}}}(_0x3638,0x32554));import{NTQQUserApi,napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x5c2cf0(0xe9)](_0x422bc8=![]){const _0x397bfc=_0x5c2cf0,_0x21e657={'wKwXx':_0x397bfc(0xfe),'bDUNN':_0x397bfc(0x105)};let [_0x2ff26,_0x1a0e3b,_0x48b834]=await NTEventDispatch[_0x397bfc(0xd8)](_0x21e657[_0x397bfc(0x100)],_0x21e657[_0x397bfc(0xe6)],0x1,0x1388,_0x422bc8);return _0x48b834;}static async[_0x5c2cf0(0xd3)](_0x160e91,_0x1644ff){const _0x58efb5=_0x5c2cf0;return napCatCore[_0x58efb5(0xff)][_0x58efb5(0xf8)]()[_0x58efb5(0x110)](_0x160e91,_0x1644ff);}static async[_0x5c2cf0(0xfc)](_0x558f83,_0x36d1e3){const _0x497593=_0x5c2cf0;return napCatCore['session'][_0x497593(0xf8)]()[_0x497593(0xd7)](_0x558f83,[0x66],_0x36d1e3);}static async['DelGroupFileFolder'](_0x3f4b6b,_0x127248){const _0x1583ff=_0x5c2cf0;return napCatCore[_0x1583ff(0xff)][_0x1583ff(0xf8)]()[_0x1583ff(0x107)](_0x3f4b6b,_0x127248);}static async[_0x5c2cf0(0x101)](_0x34d033){const _0x4c1317=_0x5c2cf0,_0x44c7a1={'TKBLg':'NodeIKernelGroupService/getSingleScreenNotifies','mBuym':_0x4c1317(0xee)};let [_0x378053,_0x200fdf,_0x1a3187,_0x2a71f9]=await NTEventDispatch[_0x4c1317(0xd8)](_0x44c7a1[_0x4c1317(0xf0)],_0x44c7a1[_0x4c1317(0xdd)],0x1,0x1388,![],'',_0x34d033);return _0x2a71f9;}static async[_0x5c2cf0(0xd0)](_0x4cf9d0,_0x65587c=0xbb8){const _0x4901fb=_0x5c2cf0,_0x1b2b99={'pKYRN':'获取群成员列表出错,'},_0x42d883=napCatCore['session'][_0x4901fb(0xfa)](),_0xf8c143=_0x42d883[_0x4901fb(0xcf)](_0x4cf9d0,'groupMemberList_MainWindow'),_0x58ec2c=await _0x42d883[_0x4901fb(0xde)](_0xf8c143,undefined,_0x65587c);if(_0x58ec2c[_0x4901fb(0xe3)]!==0x0)throw _0x1b2b99[_0x4901fb(0xed)]+_0x58ec2c[_0x4901fb(0x103)];return _0x58ec2c[_0x4901fb(0xd5)][_0x4901fb(0xf9)][_0x4901fb(0xe7)](_0x128e40=>{const _0x54087e=_0x4901fb;uid2UinMap[_0x128e40[_0x54087e(0x10f)]]=_0x128e40[_0x54087e(0xe1)];}),_0x58ec2c[_0x4901fb(0xd5)][_0x4901fb(0xf9)];}static async[_0x5c2cf0(0xf3)](){}static async['GetGroupFileCount'](_0x596f4b){const _0x1ebf96=_0x5c2cf0;return napCatCore['session'][_0x1ebf96(0xf8)]()[_0x1ebf96(0xe0)](_0x596f4b);}static async[_0x5c2cf0(0x10c)](){}static async[_0x5c2cf0(0xd2)](_0x3e7a48,_0x5b1cc1){const _0x4b9f55=_0x5c2cf0,_0x4cd34d={'TySUk':_0x4b9f55(0x108)},_0x5aeb4a=(await NTQQUserApi[_0x4b9f55(0x111)]([_0x4cd34d['TySUk']]))[_0x4b9f55(0x108)];return napCatCore[_0x4b9f55(0xff)][_0x4b9f55(0xfa)]()[_0x4b9f55(0xd2)](_0x3e7a48,_0x5aeb4a,_0x5b1cc1);}static async[_0x5c2cf0(0x10e)](_0x3a3647,_0x2147c0,_0xb3cf3e){const _0x161363=_0x5c2cf0,_0x2da3c4={'peKnx':function(_0x26ae38,_0x17bcc1){return _0x26ae38||_0x17bcc1;}};return napCatCore[_0x161363(0xff)][_0x161363(0xfa)]()[_0x161363(0xf5)](![],{'operateType':_0x2147c0,'targetMsg':{'seq':_0x3a3647[_0x161363(0xdf)],'type':_0x3a3647[_0x161363(0xef)],'groupCode':_0x3a3647['group'][_0x161363(0xfd)],'postscript':_0x2da3c4[_0x161363(0x10a)](_0xb3cf3e,'')}});}static async[_0x5c2cf0(0xdb)](_0xb28aa6){const _0x1fc141=_0x5c2cf0;return napCatCore['session'][_0x1fc141(0xfa)]()[_0x1fc141(0xdb)](_0xb28aa6);}static async[_0x5c2cf0(0x10b)](_0x3fc910,_0x254b0b,_0x4ed640=![],_0x51f88e=''){const _0x18da6c=_0x5c2cf0;return napCatCore[_0x18da6c(0xff)][_0x18da6c(0xfa)]()[_0x18da6c(0x10b)](_0x3fc910,_0x254b0b,_0x4ed640,_0x51f88e);}static async[_0x5c2cf0(0xd4)](_0x4213a4,_0xc497c6){const _0x94358e=_0x5c2cf0;return napCatCore[_0x94358e(0xff)][_0x94358e(0xfa)]()['setMemberShutUp'](_0x4213a4,_0xc497c6);}static async[_0x5c2cf0(0xd1)](_0x4f4d08,_0x4a119b){const _0x12f3ea=_0x5c2cf0;return napCatCore[_0x12f3ea(0xff)][_0x12f3ea(0xfa)]()[_0x12f3ea(0xd9)](_0x4f4d08,_0x4a119b);}static async[_0x5c2cf0(0xe2)](_0x18d474,_0x1d6594,_0x16015f){const _0x2b5179=_0x5c2cf0;return napCatCore[_0x2b5179(0xff)]['getGroupService']()[_0x2b5179(0xea)](_0x18d474,_0x1d6594,_0x16015f);}static async[_0x5c2cf0(0x10d)](_0x515054,_0x5dc8f2,_0x30b836){const _0x1e831d=_0x5c2cf0;return napCatCore[_0x1e831d(0xff)]['getGroupService']()[_0x1e831d(0xeb)](_0x515054,_0x5dc8f2,_0x30b836);}static async[_0x5c2cf0(0xfb)](_0x2b9f59,_0x3631a7){const _0x456285=_0x5c2cf0;return napCatCore['session'][_0x456285(0xfa)]()[_0x456285(0xf2)](_0x2b9f59,_0x3631a7,![]);}static async[_0x5c2cf0(0xec)](_0x2bb399,_0x3f8fd7,_0x31a1f9){}static async['publishGroupBulletin'](_0x1ad6c9,_0x2da5b8,_0x559066=undefined,_0x42080e=0x0,_0x915e02=0x0){const _0x36afad=_0x5c2cf0,_0x425bf8={'UQVEx':'qun.qq.com','TLUok':function(_0x549da1,_0x51d6bf){return _0x549da1(_0x51d6bf);}},_0x3aa3f4=(await NTQQUserApi[_0x36afad(0x111)]([_0x425bf8['UQVEx']]))[_0x36afad(0x108)];let _0x3f2ca0={'text':_0x425bf8[_0x36afad(0xd6)](encodeURI,_0x2da5b8),'picInfo':_0x559066,'oldFeedsId':'','pinned':_0x42080e,'confirmRequired':_0x915e02};return napCatCore[_0x36afad(0xff)][_0x36afad(0xfa)]()['publishGroupBulletin'](_0x1ad6c9,_0x3aa3f4,_0x3f2ca0);}} \ No newline at end of file +function _0x4183(){const _0xcf3c9e=['setMemberRole','setMemberCard','setMemberShutUp','getNextMemberList','350985FDAqyn','getPSkey','getGroupNotifies','qun.qq.com','FONXP','errMsg','createGroupFolder','21133YiBEMl','type','644904kprmAB','NodeIKernelGroupListener/onGroupListUpdate','result','banGroup','modifyMemberCardName','infos','getGroupIgnoreNotifies','banMember','quitGroup','JozdV','CallNormalEvent','getGroupService','526830FhaATg','kickMember','NodeIKernelGroupService/getSingleScreenNotifies','666pbJOuZ','NfbRM','setGroupShutUp','createMemberListScene','tQoeD','kLbzI','session','3014DvVhvI','getSingleScreenNotifies','getRichMediaService','modifyMemberRole','CreatGroupFileFolder','7piHPlz','23912jcxRmD','JDIQs','yriGY','uploadGroupBulletinPic','78548VdQCZO','693gYDQxs','11290QowDAj','modifyGroupName','ZKkjq','seq','获取群成员列表出错,','groupCode','NodeIKernelGroupService/getGroupList','publishGroupBulletin','batchGetGroupFileCount','DelGroupFileFolder'];_0x4183=function(){return _0xcf3c9e;};return _0x4183();}function _0x235a(_0xb5ac6d,_0x223c88){const _0x418327=_0x4183();return _0x235a=function(_0x235a7d,_0x32fd6e){_0x235a7d=_0x235a7d-0x171;let _0x1a6c24=_0x418327[_0x235a7d];return _0x1a6c24;},_0x235a(_0xb5ac6d,_0x223c88);}const _0x3a4591=_0x235a;(function(_0x2080a7,_0x1cf89a){const _0x159ac0=_0x235a,_0x5cfd65=_0x2080a7();while(!![]){try{const _0x186460=-parseInt(_0x159ac0(0x187))/0x1*(-parseInt(_0x159ac0(0x18c))/0x2)+-parseInt(_0x159ac0(0x178))/0x3+-parseInt(_0x159ac0(0x1a5))/0x4+-parseInt(_0x159ac0(0x19c))/0x5+-parseInt(_0x159ac0(0x17b))/0x6*(-parseInt(_0x159ac0(0x1a3))/0x7)+parseInt(_0x159ac0(0x188))/0x8*(-parseInt(_0x159ac0(0x18d))/0x9)+parseInt(_0x159ac0(0x18e))/0xa*(parseInt(_0x159ac0(0x182))/0xb);if(_0x186460===_0x1cf89a)break;else _0x5cfd65['push'](_0x5cfd65['shift']());}catch(_0x3e6b94){_0x5cfd65['push'](_0x5cfd65['shift']());}}}(_0x4183,0x44e4b));import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x13d887=![]){const _0x5dada9=_0x235a,_0x263b30={'kLbzI':_0x5dada9(0x194),'jJGqB':_0x5dada9(0x1a6)};let [_0x532bc2,_0x2984a3,_0x195391]=await NTEventDispatch[_0x5dada9(0x176)](_0x263b30[_0x5dada9(0x180)],_0x263b30['jJGqB'],0x1,0x1388,_0x13d887);return _0x195391;}static async[_0x3a4591(0x186)](_0x5e3687,_0x386557){const _0x999f98=_0x3a4591;return napCatCore[_0x999f98(0x181)][_0x999f98(0x184)]()[_0x999f98(0x1a2)](_0x5e3687,_0x386557);}static async['DelGroupFile'](_0x2217c9,_0x35067d){const _0x24cf0c=_0x3a4591;return napCatCore[_0x24cf0c(0x181)][_0x24cf0c(0x184)]()['deleteGroupFile'](_0x2217c9,[0x66],_0x35067d);}static async[_0x3a4591(0x197)](_0x3abebd,_0x264ae7){const _0x30d079=_0x3a4591;return napCatCore[_0x30d079(0x181)][_0x30d079(0x184)]()['deleteGroupFolder'](_0x3abebd,_0x264ae7);}static async[_0x3a4591(0x183)](_0x18e0fc){const _0x479a82=_0x3a4591,_0x58147f={'JozdV':_0x479a82(0x17a),'nXnQv':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x4de247,_0x485e95,_0x3b8d31,_0x3270c2]=await NTEventDispatch['CallNormalEvent'](_0x58147f[_0x479a82(0x175)],_0x58147f['nXnQv'],0x1,0x1388,![],'',_0x18e0fc);return _0x3270c2;}static async['getGroupMembers'](_0xd1894d,_0xb60741=0xbb8){const _0x1e9005=_0x3a4591,_0x12e3ad={'JDIQs':'groupMemberList_MainWindow','tQoeD':function(_0x5640ad,_0x43ac2b){return _0x5640ad!==_0x43ac2b;},'ZKkjq':_0x1e9005(0x192)},_0x5ab99f=napCatCore[_0x1e9005(0x181)][_0x1e9005(0x177)](),_0xd59d47=_0x5ab99f[_0x1e9005(0x17e)](_0xd1894d,_0x12e3ad[_0x1e9005(0x189)]),_0xc5d4a6=await _0x5ab99f[_0x1e9005(0x19b)](_0xd59d47,undefined,_0xb60741);if(_0x12e3ad[_0x1e9005(0x17f)](_0xc5d4a6['errCode'],0x0))throw _0x12e3ad[_0x1e9005(0x190)]+_0xc5d4a6[_0x1e9005(0x1a1)];return _0xc5d4a6[_0x1e9005(0x1a7)][_0x1e9005(0x171)];}static async[_0x3a4591(0x19e)](){}static async['GetGroupFileCount'](_0x2dbb04){const _0x35f45e=_0x3a4591;return napCatCore['session']['getRichMediaService']()[_0x35f45e(0x196)](_0x2dbb04);}static async[_0x3a4591(0x172)](){}static async[_0x3a4591(0x18b)](_0x48709b,_0x947379){const _0x516c16=_0x3a4591,_0x357a28={'yriGY':_0x516c16(0x19f)},_0x1eb158=(await NTQQUserApi[_0x516c16(0x19d)]([_0x357a28[_0x516c16(0x18a)]]))[_0x357a28[_0x516c16(0x18a)]];return napCatCore['session'][_0x516c16(0x177)]()[_0x516c16(0x18b)](_0x48709b,_0x1eb158,_0x947379);}static async['handleGroupRequest'](_0x3d21ea,_0x49bc18,_0x9767c3){const _0x421b83=_0x3a4591,_0x3e1a5b={'FONXP':function(_0x4d0ade,_0x430fc3){return _0x4d0ade||_0x430fc3;}};return napCatCore['session'][_0x421b83(0x177)]()['operateSysNotify'](![],{'operateType':_0x49bc18,'targetMsg':{'seq':_0x3d21ea[_0x421b83(0x191)],'type':_0x3d21ea[_0x421b83(0x1a4)],'groupCode':_0x3d21ea['group'][_0x421b83(0x193)],'postscript':_0x3e1a5b[_0x421b83(0x1a0)](_0x9767c3,'')}});}static async[_0x3a4591(0x174)](_0x48c0dc){const _0x3f6b12=_0x3a4591;return napCatCore[_0x3f6b12(0x181)][_0x3f6b12(0x177)]()['quitGroup'](_0x48c0dc);}static async[_0x3a4591(0x179)](_0x28d907,_0x20dfef,_0x3d116b=![],_0x15d579=''){const _0x33f338=_0x3a4591;return napCatCore[_0x33f338(0x181)][_0x33f338(0x177)]()[_0x33f338(0x179)](_0x28d907,_0x20dfef,_0x3d116b,_0x15d579);}static async[_0x3a4591(0x173)](_0x3cfbe3,_0x97ee57){const _0x34d3a3=_0x3a4591;return napCatCore[_0x34d3a3(0x181)][_0x34d3a3(0x177)]()[_0x34d3a3(0x19a)](_0x3cfbe3,_0x97ee57);}static async[_0x3a4591(0x1a8)](_0x437097,_0x4cade8){const _0x13b2ec=_0x3a4591;return napCatCore[_0x13b2ec(0x181)]['getGroupService']()[_0x13b2ec(0x17d)](_0x437097,_0x4cade8);}static async[_0x3a4591(0x199)](_0x48558e,_0x12aa7f,_0x151f62){const _0x2d5c56=_0x3a4591;return napCatCore[_0x2d5c56(0x181)][_0x2d5c56(0x177)]()[_0x2d5c56(0x1a9)](_0x48558e,_0x12aa7f,_0x151f62);}static async[_0x3a4591(0x198)](_0x277525,_0x3b2892,_0x19159f){const _0xa6cc34=_0x3a4591;return napCatCore[_0xa6cc34(0x181)][_0xa6cc34(0x177)]()[_0xa6cc34(0x185)](_0x277525,_0x3b2892,_0x19159f);}static async['setGroupName'](_0x375679,_0x448e2a){const _0x4843a2=_0x3a4591;return napCatCore[_0x4843a2(0x181)]['getGroupService']()[_0x4843a2(0x18f)](_0x375679,_0x448e2a,![]);}static async['setGroupTitle'](_0x403dcd,_0x15989f,_0xe99d12){}static async[_0x3a4591(0x195)](_0x123f16,_0x4527e6,_0x173341=undefined,_0x173551=0x0,_0x59f0ac=0x0){const _0x3eddcf=_0x3a4591,_0x44b578={'NfbRM':'qun.qq.com'},_0x332657=(await NTQQUserApi[_0x3eddcf(0x19d)]([_0x44b578[_0x3eddcf(0x17c)]]))[_0x44b578[_0x3eddcf(0x17c)]];let _0x57bd2b={'text':encodeURI(_0x4527e6),'picInfo':_0x173341,'oldFeedsId':'','pinned':_0x173551,'confirmRequired':_0x59f0ac};return napCatCore[_0x3eddcf(0x181)][_0x3eddcf(0x177)]()[_0x3eddcf(0x195)](_0x123f16,_0x332657,_0x57bd2b);}} \ 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 087ba874..303bdadd 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x20bc9f,_0x1a17d7){var _0xdb4180=_0x3f7b,_0xedd61f=_0x20bc9f();while(!![]){try{var _0x5c9507=parseInt(_0xdb4180(0x98))/0x1*(-parseInt(_0xdb4180(0x95))/0x2)+parseInt(_0xdb4180(0x9a))/0x3+parseInt(_0xdb4180(0x9b))/0x4*(parseInt(_0xdb4180(0x96))/0x5)+parseInt(_0xdb4180(0x99))/0x6+-parseInt(_0xdb4180(0x9c))/0x7+-parseInt(_0xdb4180(0x97))/0x8+parseInt(_0xdb4180(0x9d))/0x9;if(_0x5c9507===_0x1a17d7)break;else _0xedd61f['push'](_0xedd61f['shift']());}catch(_0x725596){_0xedd61f['push'](_0xedd61f['shift']());}}}(_0x41db,0x225c2));export*from'./file';function _0x3f7b(_0x351df5,_0x4a8f78){var _0x41db22=_0x41db();return _0x3f7b=function(_0x3f7bb4,_0x282761){_0x3f7bb4=_0x3f7bb4-0x95;var _0x1546dc=_0x41db22[_0x3f7bb4];return _0x1546dc;},_0x3f7b(_0x351df5,_0x4a8f78);}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x41db(){var _0x81c157=['8hExUeY','454200RhUAZn','498996tIfZPe','4BqjXpg','937223YWNcPO','1462995jgliWA','51438gQeQaD','1119105FbhabX','1184232Zuzdho'];_0x41db=function(){return _0x81c157;};return _0x41db();}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x52ac6d,_0x237ec2){var _0x4a7cfc=_0x1264,_0x5d01f1=_0x52ac6d();while(!![]){try{var _0x332cdb=parseInt(_0x4a7cfc(0x120))/0x1+-parseInt(_0x4a7cfc(0x121))/0x2+parseInt(_0x4a7cfc(0x11f))/0x3+parseInt(_0x4a7cfc(0x126))/0x4*(-parseInt(_0x4a7cfc(0x125))/0x5)+parseInt(_0x4a7cfc(0x124))/0x6*(-parseInt(_0x4a7cfc(0x122))/0x7)+parseInt(_0x4a7cfc(0x123))/0x8+-parseInt(_0x4a7cfc(0x11e))/0x9*(-parseInt(_0x4a7cfc(0x127))/0xa);if(_0x332cdb===_0x237ec2)break;else _0x5d01f1['push'](_0x5d01f1['shift']());}catch(_0xe08deb){_0x5d01f1['push'](_0x5d01f1['shift']());}}}(_0x2ff5,0x21041));function _0x2ff5(){var _0x4330be=['4124dJmfuu','2092030sWcAvy','9qZbQvG','435804WnxOCn','84568MJPvjo','158274BkgXMf','3913WJPYEc','44960VLoTps','834KRZuXN','740fQLcfN'];_0x2ff5=function(){return _0x4330be;};return _0x2ff5();}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x1264(_0x52600e,_0x5209bf){var _0x2ff5bf=_0x2ff5();return _0x1264=function(_0x126497,_0x45d1a3){_0x126497=_0x126497-0x11e;var _0x40e60f=_0x2ff5bf[_0x126497];return _0x40e60f;},_0x1264(_0x52600e,_0x5209bf);}export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index a5b43774..bf2f0921 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x582727=_0x456c;(function(_0x1feabc,_0x1d068b){const _0x41a86e=_0x456c,_0x5c4a86=_0x1feabc();while(!![]){try{const _0xcbb275=parseInt(_0x41a86e(0x90))/0x1*(-parseInt(_0x41a86e(0x8f))/0x2)+parseInt(_0x41a86e(0xaf))/0x3+-parseInt(_0x41a86e(0xb1))/0x4*(-parseInt(_0x41a86e(0xc4))/0x5)+parseInt(_0x41a86e(0xa7))/0x6+parseInt(_0x41a86e(0xb2))/0x7*(-parseInt(_0x41a86e(0x8a))/0x8)+-parseInt(_0x41a86e(0xa9))/0x9*(parseInt(_0x41a86e(0xc7))/0xa)+parseInt(_0x41a86e(0xca))/0xb*(parseInt(_0x41a86e(0xcb))/0xc);if(_0xcbb275===_0x1d068b)break;else _0x5c4a86['push'](_0x5c4a86['shift']());}catch(_0x599b14){_0x5c4a86['push'](_0x5c4a86['shift']());}}}(_0x3ff3,0x5f563));import{selfInfo}from'@/core/data';function _0x456c(_0x5c4917,_0x416739){const _0x3ff356=_0x3ff3();return _0x456c=function(_0x456cd6,_0x2913bf){_0x456cd6=_0x456cd6-0x89;let _0x8db5b5=_0x3ff356[_0x456cd6];return _0x8db5b5;},_0x456c(_0x5c4917,_0x416739);}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x532ccd=>{const _0x55c2c2=_0x456c,_0x4a088d={'TKYeb':function(_0x5d0d54,_0x48ed5a){return _0x5d0d54(_0x48ed5a);}};for(const [_0x5d94fb,_0x3bca3a]of GroupFileInfoUpdateTasks){_0x4a088d[_0x55c2c2(0xa2)](_0x3bca3a,_0x532ccd),GroupFileInfoUpdateTasks['delete'](_0x5d94fb);}},msgListener[_0x582727(0xc9)]=_0x485de7=>{const _0x7086d2=_0x582727,_0x2a70ac={'YXiJn':function(_0x26bc05,_0x4c66bd){return _0x26bc05 instanceof _0x4c66bd;}};for(const [_0x21f425,_0xb7b785]of sentMsgTasks){_0xb7b785(_0x485de7),sentMsgTasks['delete'](_0x21f425);}if(sendMessagePool[_0x485de7[_0x7086d2(0x98)]]){const _0x5d6446=sendMessagePool[_0x485de7[_0x7086d2(0x98)]]?.(_0x485de7);_0x2a70ac['YXiJn'](_0x5d6446,Promise)&&_0x5d6446[_0x7086d2(0x8b)]()[_0x7086d2(0xa4)](logError);}},msgListener['onMsgInfoListUpdate']=_0x5af27d=>{const _0x1190a9=_0x582727,_0x38a059={'zEhEZ':function(_0x419737,_0x5691f4){return _0x419737(_0x5691f4);}};_0x5af27d[_0x1190a9(0x9d)](_0xa79ea5=>{const _0xb96f95=_0x1190a9;new Promise((_0x232546,_0x523831)=>{const _0x5c9dff=_0x456c;for(const _0x3b277f in sendSuccessCBMap){const _0x2655d7=sendSuccessCBMap[_0x3b277f],_0x49f79c=_0x38a059[_0x5c9dff(0xbe)](_0x2655d7,_0xa79ea5),_0x23a8c3=_0x49af8c=>{_0x49af8c&&delete sendSuccessCBMap[_0x3b277f];};_0x49f79c instanceof Promise?_0x49f79c[_0x5c9dff(0x8b)](_0x23a8c3):_0x38a059['zEhEZ'](_0x23a8c3,_0x49f79c);}})[_0xb96f95(0x8b)]()['catch'](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x2c2954,_0x8af953,_0x505d89,_0x4b5fb2=!![]){const _0x18cd6b=_0x582727,_0x2ea831={'HffCn':function(_0xb3026f,_0xe61535){return _0xb3026f>_0xe61535;}};return _0x505d89=_0x505d89[_0x18cd6b(0xb3)](),napCatCore[_0x18cd6b(0xac)][_0x18cd6b(0x91)]()['setMsgEmojiLikes'](_0x2c2954,_0x8af953,_0x505d89,_0x2ea831[_0x18cd6b(0xcc)](_0x505d89[_0x18cd6b(0x89)],0x3)?'2':'1',_0x4b5fb2);}static async['getMultiMsg'](_0x67225,_0x1ab73c,_0x2fc53b){const _0x47320e=_0x582727;return napCatCore[_0x47320e(0xac)][_0x47320e(0x91)]()[_0x47320e(0x92)](_0x67225,_0x1ab73c,_0x2fc53b);}static async[_0x582727(0xba)](_0x5dd06c,_0x4faa7f){const _0x1a16d1=_0x582727;return await napCatCore[_0x1a16d1(0xac)][_0x1a16d1(0x91)]()['getMsgsByMsgId'](_0x5dd06c,_0x4faa7f);}static async[_0x582727(0x9a)](_0x4121d1,_0x587377,_0x3c53fb,_0x2a5f2d,_0xf1971c){const _0x524106=_0x582727;return await napCatCore[_0x524106(0xac)][_0x524106(0x91)]()[_0x524106(0x9a)](_0x4121d1,_0x587377,_0x3c53fb,_0x2a5f2d,_0xf1971c);}static async['activateChat'](_0x15a104){}static async[_0x582727(0x8c)](_0xb89eea){}static async['setMsgRead'](_0x4d0843){const _0x2cc493=_0x582727;return napCatCore[_0x2cc493(0xac)]['getMsgService']()[_0x2cc493(0x95)](_0x4d0843);}static async[_0x582727(0xb9)](_0x25df7d,_0x4cb322){const _0xbe866f={'vOTNZ':function(_0x3b4231,_0x5e657c){return _0x3b4231(_0x5e657c);},'MiNNt':function(_0x266a8b,_0x488682,_0x44efbd){return _0x266a8b(_0x488682,_0x44efbd);},'asawg':function(_0xeff2b4){return _0xeff2b4();}};return new Promise(async(_0x460cf4,_0x90f076)=>{const _0x3c72d6=_0x456c,_0x2ce7cc={'ptZLq':function(_0x1a4847,_0x2f444b){const _0x16bd44=_0x456c;return _0xbe866f[_0x16bd44(0xb8)](_0x1a4847,_0x2f444b);}};let _0x2971a2=![];_0xbe866f[_0x3c72d6(0xad)](setTimeout,()=>{const _0x472143=_0x3c72d6;!_0x2971a2&&_0x90f076(_0x472143(0x99));},0x1388);const _0x4eabd2=_0x322010=>{const _0x236ad9=_0x3c72d6;_0x2971a2=!![],_0x2ce7cc['ptZLq'](_0x460cf4,_0x322010[_0x236ad9(0x8e)]);};GroupFileInfoUpdateTasks['set'](_0xbe866f[_0x3c72d6(0xb6)](randomUUID),_0x4eabd2),await napCatCore[_0x3c72d6(0xac)]['getRichMediaService']()[_0x3c72d6(0xb9)](_0x25df7d,_0x4cb322);});}static async[_0x582727(0xa8)](_0x25de16,_0x2d2cf5,_0x3fb060){const _0x4fffc7=_0x582727;return napCatCore[_0x4fffc7(0xac)][_0x4fffc7(0x91)]()[_0x4fffc7(0xab)](_0x25de16,_0x2d2cf5,_0x3fb060,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x38de82,_0x33e18a){const _0x5e6756=_0x582727;await napCatCore[_0x5e6756(0xac)][_0x5e6756(0x91)]()[_0x5e6756(0xc3)]({'chatType':_0x38de82[_0x5e6756(0xc6)],'peerUid':_0x38de82[_0x5e6756(0x98)]},_0x33e18a);}static async[_0x582727(0x8d)](_0x233cf8,_0x505cd1,_0x1997ec=!![],_0x44867c=0x2710){const _0x4c71fe=_0x582727,_0x3d4758={'IklQo':function(_0x1e8622,_0x388755){return _0x1e8622>_0x388755;},'cBYei':_0x4c71fe(0xb0),'TYZQT':function(_0x1dec20,_0x2793b2){return _0x1dec20(_0x2793b2);},'AtnEZ':function(_0x3cd5d4,_0x11334f){return _0x3cd5d4===_0x11334f;},'JEkWk':function(_0x479c78,_0x48632d){return _0x479c78===_0x48632d;},'ZovcH':function(_0x33599c,_0x28f47c){return _0x33599c(_0x28f47c);},'eLRbt':function(_0x42835b){return _0x42835b();},'GjqeC':function(_0xe26119,_0xf38cf,_0x16bf4c){return _0xe26119(_0xf38cf,_0x16bf4c);}},_0x1ea47b=_0x233cf8[_0x4c71fe(0x98)];let _0x1f31f0=0x0;const _0x146daf=async()=>{const _0x21edc3=_0x4c71fe;if(_0x3d4758[_0x21edc3(0xc0)](_0x1f31f0,_0x44867c))throw _0x3d4758[_0x21edc3(0xb7)];const _0x17d927=sendMessagePool[_0x233cf8['peerUid']];if(_0x17d927)return await _0x3d4758[_0x21edc3(0x9e)](sleep,0x1f4),_0x1f31f0+=0x1f4,await _0x146daf();else return;};return await _0x146daf(),new Promise((_0x84915d,_0xfc04fc)=>{const _0x22ef48=_0x4c71fe;let _0x317c26=![],_0x24d215=null;const _0x408b08=_0x3d4758['eLRbt'](randomUUID);sendSuccessCBMap[_0x408b08]=_0x43ac48=>{const _0x66d1c9=_0x456c;if(_0x3d4758['AtnEZ'](_0x43ac48[_0x66d1c9(0xc2)],_0x24d215?.['msgId'])){if(_0x3d4758['JEkWk'](_0x43ac48[_0x66d1c9(0xae)],0x2))return delete sendSuccessCBMap[_0x408b08],_0x317c26=!![],_0x3d4758['TYZQT'](_0x84915d,_0x43ac48),!![];return![];}return![];},sendMessagePool[_0x1ea47b]=async _0x691707=>{delete sendMessagePool[_0x1ea47b],_0x24d215=_0x691707;},_0x3d4758[_0x22ef48(0xc5)](setTimeout,()=>{const _0x505650=_0x22ef48;if(_0x317c26)return;delete sendMessagePool[_0x1ea47b],delete sendSuccessCBMap[_0x408b08],_0x3d4758[_0x505650(0xb5)](_0xfc04fc,_0x3d4758['cBYei']);},_0x44867c);const _0x5e7a14=napCatCore['session']['getMsgService']()[_0x22ef48(0x8d)]('0',_0x233cf8,_0x505cd1,new Map());});}static async['forwardMsg'](_0x4ff8b3,_0x11f1e1,_0x1d0fc1){const _0x1661ca=_0x582727;return napCatCore[_0x1661ca(0xac)][_0x1661ca(0x91)]()[_0x1661ca(0x94)](_0x1d0fc1,_0x4ff8b3,[_0x11f1e1],new Map());}static async[_0x582727(0xa5)](_0x3c01f6,_0xf2fa21,_0x55df8d){const _0x319477=_0x582727,_0x34741d={'tTrYZ':'转发消息超时','OylWu':function(_0xe42d4b,_0x15278d){return _0xe42d4b!=_0x15278d;},'bUYqS':_0x319477(0xbb),'vqWJs':function(_0x1649bb,_0xf4034){return _0x1649bb(_0xf4034);},'xyQnB':function(_0x6e6393){return _0x6e6393();},'WpcuE':function(_0x4e0868,_0x47fe26,_0x1f81fe){return _0x4e0868(_0x47fe26,_0x1f81fe);}},_0x4d5cfa=_0x55df8d[_0x319477(0xaa)](_0x4a5fa8=>{const _0x173acf=_0x319477;return{'msgId':_0x4a5fa8,'senderShowName':selfInfo[_0x173acf(0x9b)]};});return new Promise((_0x32751f,_0x4faf59)=>{const _0x2bc8b5=_0x319477,_0x35dee1={'VtKHe':function(_0x2e3de8,_0x2f7c77){return _0x34741d['OylWu'](_0x2e3de8,_0x2f7c77);},'SaNMG':_0x34741d[_0x2bc8b5(0x9c)],'GgPxx':function(_0x3d55d7,_0x324858){return _0x3d55d7==_0x324858;},'ZPTWA':function(_0x25ccbf,_0x442012){return _0x34741d['vqWJs'](_0x25ccbf,_0x442012);}};let _0x2fbc0f=![];const _0x45b057=_0x5c2a80=>{const _0xe6b3a9=_0x2bc8b5,_0x32e52e=_0x5c2a80[_0xe6b3a9(0x96)][_0xe6b3a9(0xa1)](_0xdb7353=>_0xdb7353[_0xe6b3a9(0xbf)]);if(!_0x32e52e)return;const _0x477d7a=JSON[_0xe6b3a9(0xbc)](_0x32e52e['arkElement'][_0xe6b3a9(0x9f)]);if(_0x35dee1[_0xe6b3a9(0x93)](_0x477d7a[_0xe6b3a9(0xb4)],_0x35dee1['SaNMG']))return;_0x35dee1[_0xe6b3a9(0xc1)](_0x5c2a80['peerUid'],_0xf2fa21[_0xe6b3a9(0x98)])&&_0x35dee1[_0xe6b3a9(0xc1)](_0x5c2a80[_0xe6b3a9(0xa0)],selfInfo[_0xe6b3a9(0xa6)])&&(_0x2fbc0f=!![],_0x35dee1[_0xe6b3a9(0x97)](_0x32751f,_0x5c2a80));};sentMsgTasks['set'](_0x34741d[_0x2bc8b5(0xc8)](randomUUID),_0x45b057),_0x34741d[_0x2bc8b5(0xa3)](setTimeout,()=>{const _0x55b037=_0x2bc8b5;!_0x2fbc0f&&_0x4faf59(_0x34741d[_0x55b037(0xbd)]);},0x1388),napCatCore['session'][_0x2bc8b5(0x91)]()['multiForwardMsgWithComment'](_0x4d5cfa,_0x3c01f6,_0xf2fa21,[],new Map());});}}function _0x3ff3(){const _0x13705f=['IklQo','GgPxx','msgId','recallMsg','40845WiXhTB','GjqeC','chatType','4280970hxHvuF','xyQnB','onAddSendMsg','30327ElwzpB','2916gEkCYu','HffCn','length','8tEOkiE','then','activateChatAndGetHistory','sendMsg','item','254ujeUlt','2321ylLJMP','getMsgService','getMultiMsg','VtKHe','forwardMsg','setMsgRead','elements','ZPTWA','peerUid','获取群文件列表超时','getMsgsBySeqAndCount','nick','bUYqS','forEach','TYZQT','bytesData','senderUid','find','TKYeb','WpcuE','catch','multiForwardMsg','uid','1503426HaVJxU','getMsgHistory','9uNFwzP','map','getMsgsIncludeSelf','session','MiNNt','sendStatus','1195119WLsUXd','发送超时','148rHcxUe','3554495QxSWce','toString','app','ZovcH','asawg','cBYei','vOTNZ','getGroupFileList','getMsgsByMsgId','com.tencent.multimsg','parse','tTrYZ','zEhEZ','arkElement'];_0x3ff3=function(){return _0x13705f;};return _0x3ff3();} \ No newline at end of file +const _0x59901a=_0x26d5;function _0x26d5(_0xb01e65,_0x2490c7){const _0x5404e1=_0x5404();return _0x26d5=function(_0x26d56e,_0x480798){_0x26d56e=_0x26d56e-0x192;let _0x519ded=_0x5404e1[_0x26d56e];return _0x519ded;},_0x26d5(_0xb01e65,_0x2490c7);}(function(_0x827ccd,_0x2b1503){const _0x145e15=_0x26d5,_0x3c03f6=_0x827ccd();while(!![]){try{const _0x486f38=parseInt(_0x145e15(0x1a5))/0x1*(parseInt(_0x145e15(0x1ac))/0x2)+-parseInt(_0x145e15(0x1af))/0x3+parseInt(_0x145e15(0x198))/0x4+parseInt(_0x145e15(0x1c1))/0x5+parseInt(_0x145e15(0x1b3))/0x6+parseInt(_0x145e15(0x1a1))/0x7+parseInt(_0x145e15(0x1bf))/0x8*(-parseInt(_0x145e15(0x1ad))/0x9);if(_0x486f38===_0x2b1503)break;else _0x3c03f6['push'](_0x3c03f6['shift']());}catch(_0x40d48a){_0x3c03f6['push'](_0x3c03f6['shift']());}}}(_0x5404,0x3724f));import{selfInfo}from'@/core/data';function _0x5404(){const _0xfd9fde=['YRnPi','771370vUfaXy','recallMsg','sendStatus','fkcLX','forEach','onAddSendMsg','delete','item','chatType','getMultiMsg','onLoginSuccess','then','getMsgHistory','VtdHB','YQgrq','senderUid','sendMsg','getMsgsBySeqAndCount','toString','map','LFSMM','session','OgWJU','uid','getGroupFileList','WZqDx','LVJig','setEmojiLike','parse','hBOLs','jxkTK','forwardMsg','PeeYP','1023512MGtjRN','com.tencent.multimsg','LJoVD','getMsgsByMsgId','ZRiGW','qxMCG','multiForwardMsgWithComment','zBvRD','activateChat','256410RktDiC','getRichMediaService','转发消息超时','onMsgInfoListUpdate','41043JFubMx','axHwu','getMsgService','set','setMsgRead','nick','addListener','6hMxTMd','126UrgWLf','app','812118RuIHKV','find','peerUid','ICmJl','2447328gTjTHF','yfNRs','activateChatAndGetHistory','multiForwardMsg','catch','fetchRecentContact','sDdWj','elements','msgId','Yrgve','ZzoVL','Tovmo','274984LfFmNA'];_0x5404=function(){return _0xfd9fde;};return _0x5404();}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x29d03e=>{const _0x43b321=_0x26d5,_0x2a9ea1={'OgWJU':function(_0x5dc375,_0x3fa78b){return _0x5dc375(_0x3fa78b);}};for(const [_0x43cc2b,_0x3cb064]of GroupFileInfoUpdateTasks){_0x2a9ea1[_0x43b321(0x1d7)](_0x3cb064,_0x29d03e),GroupFileInfoUpdateTasks[_0x43b321(0x1c7)](_0x43cc2b);}},msgListener[_0x59901a(0x1c6)]=_0x3f5663=>{const _0x27d205=_0x59901a,_0x5c8e23={'fkcLX':function(_0x3687e4,_0x4a9510){return _0x3687e4(_0x4a9510);},'YQgrq':function(_0x2a3f78,_0x59734b){return _0x2a3f78 instanceof _0x59734b;}};for(const [_0x8e0c4d,_0x33b40b]of sentMsgTasks){_0x5c8e23[_0x27d205(0x1c4)](_0x33b40b,_0x3f5663),sentMsgTasks[_0x27d205(0x1c7)](_0x8e0c4d);}if(sendMessagePool[_0x3f5663[_0x27d205(0x1b1)]]){const _0x70a85d=sendMessagePool[_0x3f5663[_0x27d205(0x1b1)]]?.(_0x3f5663);_0x5c8e23[_0x27d205(0x1cf)](_0x70a85d,Promise)&&_0x70a85d[_0x27d205(0x1cc)]()[_0x27d205(0x1b7)](logError);}},msgListener[_0x59901a(0x1a4)]=_0x376ff9=>{const _0xc5bbf7=_0x59901a,_0x2ed22a={'qxMCG':function(_0x463d5f,_0x343cc9){return _0x463d5f(_0x343cc9);},'LBOeI':function(_0x12fcd3,_0x4342cf){return _0x12fcd3 instanceof _0x4342cf;}};_0x376ff9[_0xc5bbf7(0x1c5)](_0x10e26c=>{const _0x51766f=_0xc5bbf7;new Promise((_0x52568a,_0x46c0a8)=>{const _0x5c0b5d=_0x26d5;for(const _0xb49c67 in sendSuccessCBMap){const _0xc0f1a0=sendSuccessCBMap[_0xb49c67],_0x2429d8=_0x2ed22a[_0x5c0b5d(0x19d)](_0xc0f1a0,_0x10e26c),_0x938006=_0x23f2db=>{_0x23f2db&&delete sendSuccessCBMap[_0xb49c67];};_0x2ed22a['LBOeI'](_0x2429d8,Promise)?_0x2429d8[_0x5c0b5d(0x1cc)](_0x938006):_0x2ed22a['qxMCG'](_0x938006,_0x2429d8);}})[_0x51766f(0x1cc)]()[_0x51766f(0x1b7)](log);});},setTimeout(()=>{const _0x40852c=_0x59901a;napCatCore[_0x40852c(0x1cb)](()=>{const _0x29abee=_0x40852c;napCatCore[_0x29abee(0x1ab)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x59901a(0x192)](_0x16637b,_0x6b0536,_0x1cf36b,_0x46159a=!![]){const _0xb502ac=_0x59901a,_0x161467={'zBvRD':function(_0x3bc57a,_0x5246f4){return _0x3bc57a>_0x5246f4;}};return _0x1cf36b=_0x1cf36b[_0xb502ac(0x1d3)](),napCatCore['session'][_0xb502ac(0x1a7)]()['setMsgEmojiLikes'](_0x16637b,_0x6b0536,_0x1cf36b,_0x161467[_0xb502ac(0x19f)](_0x1cf36b['length'],0x3)?'2':'1',_0x46159a);}static async[_0x59901a(0x1ca)](_0x3f9448,_0x174e16,_0x42b1f9){const _0xf66621=_0x59901a;return napCatCore[_0xf66621(0x1d6)][_0xf66621(0x1a7)]()['getMultiMsg'](_0x3f9448,_0x174e16,_0x42b1f9);}static async[_0x59901a(0x19b)](_0x59c744,_0x5424ba){const _0x5efffb=_0x59901a;return await napCatCore['session'][_0x5efffb(0x1a7)]()['getMsgsByMsgId'](_0x59c744,_0x5424ba);}static async[_0x59901a(0x1d2)](_0x1584cd,_0x33e9d1,_0x266335,_0x4edcb3,_0x87564f){const _0x3f7b2a=_0x59901a;return await napCatCore[_0x3f7b2a(0x1d6)]['getMsgService']()[_0x3f7b2a(0x1d2)](_0x1584cd,_0x33e9d1,_0x266335,_0x4edcb3,_0x87564f);}static async[_0x59901a(0x1a0)](_0x24bbfd){}static async[_0x59901a(0x1b5)](_0x3c6265){}static async[_0x59901a(0x1a9)](_0x34e201){const _0x333319=_0x59901a;return napCatCore[_0x333319(0x1d6)][_0x333319(0x1a7)]()[_0x333319(0x1a9)](_0x34e201);}static async[_0x59901a(0x1d9)](_0x50c095,_0x47be0b){const _0x5291bf={'VEdOY':'获取群文件列表超时','ZzoVL':function(_0x272e9b,_0x20f969){return _0x272e9b(_0x20f969);},'PeeYP':function(_0x5ec076){return _0x5ec076();}};return new Promise(async(_0x47d8e4,_0x3fd13d)=>{const _0x522c62=_0x26d5;let _0x45a01d=![];setTimeout(()=>{!_0x45a01d&&_0x3fd13d(_0x5291bf['VEdOY']);},0x1388);const _0x5b0970=_0x37eb7b=>{const _0x3e9f44=_0x26d5;_0x45a01d=!![],_0x5291bf[_0x3e9f44(0x1bd)](_0x47d8e4,_0x37eb7b[_0x3e9f44(0x1c8)]);};GroupFileInfoUpdateTasks['set'](_0x5291bf[_0x522c62(0x197)](randomUUID),_0x5b0970),await napCatCore[_0x522c62(0x1d6)][_0x522c62(0x1a2)]()['getGroupFileList'](_0x50c095,_0x47be0b);});}static async[_0x59901a(0x1cd)](_0x4942e5,_0x16e7a3,_0x2c3487){const _0x4719a0=_0x59901a;return napCatCore[_0x4719a0(0x1d6)][_0x4719a0(0x1a7)]()['getMsgsIncludeSelf'](_0x4942e5,_0x16e7a3,_0x2c3487,!![]);}static async[_0x59901a(0x1b8)](){}static async['recallMsg'](_0x38d730,_0x3fa09a){const _0xc43864=_0x59901a;await napCatCore[_0xc43864(0x1d6)][_0xc43864(0x1a7)]()[_0xc43864(0x1c2)]({'chatType':_0x38d730[_0xc43864(0x1c9)],'peerUid':_0x38d730[_0xc43864(0x1b1)]},_0x3fa09a);}static async[_0x59901a(0x1d1)](_0x5e9bbd,_0x3be981,_0x2f9d90=!![],_0x353f4e=0x2710){const _0x6710c=_0x59901a,_0x5e17eb={'ZRiGW':'发送超时','UmUSJ':function(_0x737fdf,_0x30d899){return _0x737fdf(_0x30d899);},'LFSMM':function(_0x33633e,_0x380ac2){return _0x33633e(_0x380ac2);},'YRnPi':function(_0x434809,_0x20cc23){return _0x434809===_0x20cc23;},'LVJig':function(_0x544ca4,_0x1a9a04){return _0x544ca4(_0x1a9a04);},'jxkTK':function(_0x4019b0){return _0x4019b0();},'axHwu':function(_0x5adabd,_0x2133a0,_0x2c404a){return _0x5adabd(_0x2133a0,_0x2c404a);},'VtdHB':function(_0x5f2e50){return _0x5f2e50();}},_0x2df515=_0x5e9bbd[_0x6710c(0x1b1)];let _0x212d94=0x0;const _0x2f4215=async()=>{const _0x4aab58=_0x6710c;if(_0x212d94>_0x353f4e)throw _0x5e17eb[_0x4aab58(0x19c)];const _0x5b7f7b=sendMessagePool[_0x5e9bbd[_0x4aab58(0x1b1)]];if(_0x5b7f7b)return await _0x5e17eb['UmUSJ'](sleep,0x1f4),_0x212d94+=0x1f4,await _0x2f4215();else return;};return await _0x5e17eb[_0x6710c(0x1ce)](_0x2f4215),new Promise((_0x5e64bb,_0x596043)=>{const _0x2bab5d=_0x6710c,_0x307200={'NeXau':function(_0x223c80,_0xe2af0c){return _0x5e17eb['YRnPi'](_0x223c80,_0xe2af0c);},'bCVxe':function(_0x2ca8a8,_0x105e34){const _0x1dc064=_0x26d5;return _0x5e17eb[_0x1dc064(0x1c0)](_0x2ca8a8,_0x105e34);},'WZqDx':function(_0x4e04a0,_0x41057f){const _0x53a67d=_0x26d5;return _0x5e17eb[_0x53a67d(0x1db)](_0x4e04a0,_0x41057f);}};let _0x371f65=![],_0x1d000e=null;const _0x349f85=_0x5e17eb[_0x2bab5d(0x195)](randomUUID);sendSuccessCBMap[_0x349f85]=_0x536f3b=>{const _0x39fccf=_0x2bab5d;if(_0x307200['NeXau'](_0x536f3b[_0x39fccf(0x1bb)],_0x1d000e?.['msgId'])){if(_0x307200['bCVxe'](_0x536f3b[_0x39fccf(0x1c3)],0x2))return delete sendSuccessCBMap[_0x349f85],_0x371f65=!![],_0x307200[_0x39fccf(0x1da)](_0x5e64bb,_0x536f3b),!![];return![];}return![];},sendMessagePool[_0x2df515]=async _0x2da937=>{delete sendMessagePool[_0x2df515],_0x1d000e=_0x2da937;},_0x5e17eb[_0x2bab5d(0x1a6)](setTimeout,()=>{const _0x52e17f=_0x2bab5d;if(_0x371f65)return;delete sendMessagePool[_0x2df515],delete sendSuccessCBMap[_0x349f85],_0x5e17eb[_0x52e17f(0x1d5)](_0x596043,_0x5e17eb[_0x52e17f(0x19c)]);},_0x353f4e);const _0x4fb7d7=napCatCore[_0x2bab5d(0x1d6)][_0x2bab5d(0x1a7)]()[_0x2bab5d(0x1d1)]('0',_0x5e9bbd,_0x3be981,new Map());});}static async[_0x59901a(0x196)](_0x11d828,_0x329566,_0x1fd7b5){const _0x4f9ed7=_0x59901a;return napCatCore[_0x4f9ed7(0x1d6)][_0x4f9ed7(0x1a7)]()[_0x4f9ed7(0x196)](_0x1fd7b5,_0x11d828,[_0x329566],new Map());}static async[_0x59901a(0x1b6)](_0x35813a,_0x3ba0b6,_0x396bc9){const _0x4ba72c=_0x59901a,_0x4b1ea1={'mOgKX':_0x4ba72c(0x1a3),'Hrphs':function(_0x1777e9,_0x49b667){return _0x1777e9!=_0x49b667;},'sDdWj':_0x4ba72c(0x199),'LJoVD':function(_0x489335,_0x5a04ab){return _0x489335==_0x5a04ab;},'Tovmo':function(_0x92c7bf){return _0x92c7bf();},'ICmJl':function(_0x4cfba7,_0x5587b2,_0x408f24){return _0x4cfba7(_0x5587b2,_0x408f24);}},_0x9a1949=_0x396bc9[_0x4ba72c(0x1d4)](_0x30823c=>{const _0x441819=_0x4ba72c;return{'msgId':_0x30823c,'senderShowName':selfInfo[_0x441819(0x1aa)]};});return new Promise((_0x5782b4,_0x2e2336)=>{const _0x117eb3=_0x4ba72c,_0x52230d={'hBOLs':function(_0x173a91,_0xce3ee5){return _0x4b1ea1['Hrphs'](_0x173a91,_0xce3ee5);},'yfNRs':_0x4b1ea1[_0x117eb3(0x1b9)],'FRZBX':function(_0x37ac6e,_0x23450c){const _0x44d43c=_0x117eb3;return _0x4b1ea1[_0x44d43c(0x19a)](_0x37ac6e,_0x23450c);},'Yrgve':function(_0x5afd97,_0x65c850){return _0x5afd97==_0x65c850;}};let _0x9f01d5=![];const _0x4851b1=_0x20e8cb=>{const _0x9b0a95=_0x117eb3,_0x50da6a=_0x20e8cb[_0x9b0a95(0x1ba)][_0x9b0a95(0x1b0)](_0x35de49=>_0x35de49['arkElement']);if(!_0x50da6a)return;const _0xd6dd1c=JSON[_0x9b0a95(0x193)](_0x50da6a['arkElement']['bytesData']);if(_0x52230d[_0x9b0a95(0x194)](_0xd6dd1c[_0x9b0a95(0x1ae)],_0x52230d[_0x9b0a95(0x1b4)]))return;_0x52230d['FRZBX'](_0x20e8cb[_0x9b0a95(0x1b1)],_0x3ba0b6[_0x9b0a95(0x1b1)])&&_0x52230d[_0x9b0a95(0x1bc)](_0x20e8cb[_0x9b0a95(0x1d0)],selfInfo[_0x9b0a95(0x1d8)])&&(_0x9f01d5=!![],_0x5782b4(_0x20e8cb));};sentMsgTasks[_0x117eb3(0x1a8)](_0x4b1ea1[_0x117eb3(0x1be)](randomUUID),_0x4851b1),_0x4b1ea1[_0x117eb3(0x1b2)](setTimeout,()=>{!_0x9f01d5&&_0x2e2336(_0x4b1ea1['mOgKX']);},0x1388),napCatCore[_0x117eb3(0x1d6)][_0x117eb3(0x1a7)]()[_0x117eb3(0x19e)](_0x9a1949,_0x35813a,_0x3ba0b6,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 2245b665..31cb55bc 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x296bed,_0x132d8e){const _0x262b81=_0xd46a,_0x244f5f=_0x296bed();while(!![]){try{const _0x579391=-parseInt(_0x262b81(0x7b))/0x1+-parseInt(_0x262b81(0x7a))/0x2+parseInt(_0x262b81(0x91))/0x3+-parseInt(_0x262b81(0x85))/0x4+-parseInt(_0x262b81(0x88))/0x5*(-parseInt(_0x262b81(0x80))/0x6)+-parseInt(_0x262b81(0x8c))/0x7*(parseInt(_0x262b81(0x6f))/0x8)+parseInt(_0x262b81(0x8e))/0x9*(parseInt(_0x262b81(0x78))/0xa);if(_0x579391===_0x132d8e)break;else _0x244f5f['push'](_0x244f5f['shift']());}catch(_0x2b837e){_0x244f5f['push'](_0x244f5f['shift']());}}}(_0x477f,0x57763));function _0xd46a(_0x1b7e74,_0x1d0265){const _0x477ffb=_0x477f();return _0xd46a=function(_0xd46a54,_0x35d3f9){_0xd46a54=_0xd46a54-0x69;let _0x109c92=_0x477ffb[_0xd46a54];return _0x109c92;},_0xd46a(_0x1b7e74,_0x1d0265);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x477f(){const _0x4ef6e0=['genBkn','jumpUrl','12984gcbrvd','nwrMH','EMfLd','p_skey','normal','754520HxGdKH','replace','sourcelogo','1395IpYnyB','com.tencent.miniapp.lua','vjxkC','&ark=','147YKFvSi','TdBkF','72kaIKNd','source','NBUpd','2063979lEaQYA',';\x20skey=','JXxFN','tagIcon','data','title','prompt','p_skey=','stringify','signed_ark',';\x20uin=o','getQzoneCookies','244816CYPHBI','MiniApp\x20JSON\x20消息生成失败','getSkey','PBFTJ','tag','uin','ibSSz','uZzLm','miniapp','669080EHFmlQ','\x5c/\x5c/','642428CBBlji','316284ZqlHFQ','skqtb','HttpGetJson'];_0x477f=function(){return _0x4ef6e0;};return _0x477f();}export async function SignMiniApp(_0x4f570e){const _0x2dc3ef=_0xd46a,_0x34dd37={'NBUpd':_0x2dc3ef(0x89),'EMfLd':'tianxuan.imgJumpArk','uZzLm':_0x2dc3ef(0x84),'JXxFN':_0x2dc3ef(0x79),'PBFTJ':function(_0x2e0d51,_0x2aadfa){return _0x2e0d51+_0x2aadfa;},'AfBYk':_0x2dc3ef(0x6a),'skqtb':_0x2dc3ef(0x92),'nwrMH':_0x2dc3ef(0x6d),'ibSSz':'https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','vjxkC':_0x2dc3ef(0x8b),'TdBkF':function(_0x514095,_0x59a822,_0x52694c){return _0x514095(_0x59a822,_0x52694c);}};let _0x50678d={'app':_0x34dd37[_0x2dc3ef(0x90)],'bizsrc':_0x34dd37[_0x2dc3ef(0x82)],'view':_0x2dc3ef(0x77),'prompt':_0x4f570e[_0x2dc3ef(0x69)],'config':{'type':_0x34dd37[_0x2dc3ef(0x76)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x4f570e[_0x2dc3ef(0x96)],'preview':_0x4f570e['preview'][_0x2dc3ef(0x86)](/\\/g,_0x2dc3ef(0x79)),'jumpUrl':_0x4f570e[_0x2dc3ef(0x7f)][_0x2dc3ef(0x86)](/\\/g,_0x34dd37[_0x2dc3ef(0x93)]),'tag':_0x4f570e[_0x2dc3ef(0x73)],'tagIcon':_0x4f570e[_0x2dc3ef(0x94)]['replace'](/\\/g,_0x2dc3ef(0x79)),'source':_0x4f570e[_0x2dc3ef(0x8f)],'sourcelogo':_0x4f570e[_0x2dc3ef(0x87)]['replace'](/\\/g,_0x2dc3ef(0x79))}}};const _0x224399=await NTQQUserApi[_0x2dc3ef(0x71)]();let _0x19d3e4=await NTQQUserApi[_0x2dc3ef(0x6e)]();const _0x4bf95f=WebApi[_0x2dc3ef(0x7e)](_0x19d3e4[_0x2dc3ef(0x83)]),_0x575fb4=_0x34dd37[_0x2dc3ef(0x72)](_0x34dd37[_0x2dc3ef(0x72)](_0x34dd37['AfBYk']+_0x19d3e4[_0x2dc3ef(0x83)]+_0x34dd37[_0x2dc3ef(0x7c)]+_0x19d3e4['skey'],';\x20p_uin=o')+selfInfo[_0x2dc3ef(0x74)]+_0x34dd37[_0x2dc3ef(0x81)],selfInfo[_0x2dc3ef(0x74)]);let _0x278d24=_0x34dd37[_0x2dc3ef(0x72)](_0x34dd37[_0x2dc3ef(0x75)],_0x4bf95f)+_0x34dd37[_0x2dc3ef(0x8a)]+encodeURIComponent(JSON[_0x2dc3ef(0x6b)](_0x50678d)),_0x4214c0='';try{let _0x5777af=await RequestUtil[_0x2dc3ef(0x7d)](_0x278d24,'GET',undefined,{'Cookie':_0x575fb4});_0x4214c0=_0x5777af[_0x2dc3ef(0x95)][_0x2dc3ef(0x6c)];}catch(_0x317ff0){_0x34dd37[_0x2dc3ef(0x8d)](logDebug,_0x2dc3ef(0x70),_0x317ff0);}return _0x4214c0;} \ No newline at end of file +(function(_0x34c4e4,_0x4b853c){const _0x185f04=_0x1ef7,_0x171e9e=_0x34c4e4();while(!![]){try{const _0x45599b=parseInt(_0x185f04(0x14a))/0x1*(parseInt(_0x185f04(0x14c))/0x2)+parseInt(_0x185f04(0x14e))/0x3+-parseInt(_0x185f04(0x15d))/0x4*(-parseInt(_0x185f04(0x167))/0x5)+-parseInt(_0x185f04(0x15a))/0x6+-parseInt(_0x185f04(0x163))/0x7+parseInt(_0x185f04(0x14d))/0x8*(parseInt(_0x185f04(0x152))/0x9)+-parseInt(_0x185f04(0x143))/0xa;if(_0x45599b===_0x4b853c)break;else _0x171e9e['push'](_0x171e9e['shift']());}catch(_0x406508){_0x171e9e['push'](_0x171e9e['shift']());}}}(_0x11c2,0x56a1f));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x11c2(){const _0x562af2=['jvqgx','120248tFaDjc','jlbfG','laiFf','LSFhm','normal','CZizW','2394133rMEFyT','tagIcon','getSkey','replace','10HNeIDP','\x5c/\x5c/','miniapp','genBkn','vDdKO',';\x20p_uin=o','sourcelogo','p_skey','signed_ark','MiniApp\x20JSON\x20消息生成失败','oCRso','4213230XGRVKL','HttpGetJson','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','Xxofe','getQzoneCookies','XRXlg','ENnrM','545gpcjiF','IfLlf','742nbOOeE','40vCRjCr','1913784tmzqVQ','QGNSS','iztMO','source','845703bmvAHM','tianxuan.imgJumpArk',';\x20uin=o','aEEgb','uin','stringify','ABBqQ','GET','1511358KVvwwt',';\x20skey='];_0x11c2=function(){return _0x562af2;};return _0x11c2();}function _0x1ef7(_0x38d019,_0x42e9fa){const _0x11c235=_0x11c2();return _0x1ef7=function(_0x1ef70c,_0x120b94){_0x1ef70c=_0x1ef70c-0x13d;let _0x11ead=_0x11c235[_0x1ef70c];return _0x11ead;},_0x1ef7(_0x38d019,_0x42e9fa);}export async function SignMiniApp(_0xdb3de9){const _0x363adb=_0x1ef7,_0x50b449={'IfLlf':'com.tencent.miniapp.lua','vDdKO':_0x363adb(0x153),'oCRso':_0x363adb(0x169),'CZizW':_0x363adb(0x161),'jvqgx':_0x363adb(0x168),'XRXlg':function(_0x529298,_0x216db6){return _0x529298+_0x216db6;},'jlbfG':function(_0x49845d,_0x5e1c99){return _0x49845d+_0x5e1c99;},'laiFf':function(_0x5ea9f6,_0x5a083f){return _0x5ea9f6+_0x5a083f;},'QGNSS':function(_0x944406,_0x128da1){return _0x944406+_0x128da1;},'LSFhm':function(_0x3928ad,_0x43f21e){return _0x3928ad+_0x43f21e;},'zvWiK':_0x363adb(0x15b),'iztMO':_0x363adb(0x13d),'Xxofe':_0x363adb(0x154),'EERjw':_0x363adb(0x145),'ABBqQ':'&ark=','ENnrM':function(_0xc7b8e1,_0x3490d4){return _0xc7b8e1(_0x3490d4);},'aEEgb':_0x363adb(0x141)};let _0x5967f0={'app':_0x50b449[_0x363adb(0x14b)],'bizsrc':_0x50b449[_0x363adb(0x16b)],'view':_0x50b449[_0x363adb(0x142)],'prompt':_0xdb3de9['prompt'],'config':{'type':_0x50b449[_0x363adb(0x162)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0xdb3de9['title'],'preview':_0xdb3de9['preview'][_0x363adb(0x166)](/\\/g,_0x50b449[_0x363adb(0x15c)]),'jumpUrl':_0xdb3de9['jumpUrl'][_0x363adb(0x166)](/\\/g,_0x50b449['jvqgx']),'tag':_0xdb3de9['tag'],'tagIcon':_0xdb3de9[_0x363adb(0x164)][_0x363adb(0x166)](/\\/g,_0x50b449[_0x363adb(0x15c)]),'source':_0xdb3de9[_0x363adb(0x151)],'sourcelogo':_0xdb3de9[_0x363adb(0x13e)][_0x363adb(0x166)](/\\/g,_0x50b449[_0x363adb(0x15c)])}}};const _0x367229=await NTQQUserApi[_0x363adb(0x165)]();let _0x21c844=await NTQQUserApi[_0x363adb(0x147)]();const _0x48468b=WebApi[_0x363adb(0x16a)](_0x21c844[_0x363adb(0x13f)]),_0x18745f=_0x50b449[_0x363adb(0x148)](_0x50b449[_0x363adb(0x15e)](_0x50b449[_0x363adb(0x15f)](_0x50b449[_0x363adb(0x14f)](_0x50b449[_0x363adb(0x15f)](_0x50b449[_0x363adb(0x160)]('p_skey=',_0x21c844[_0x363adb(0x13f)]),_0x50b449['zvWiK']),_0x21c844['skey']),_0x50b449[_0x363adb(0x150)])+selfInfo[_0x363adb(0x156)],_0x50b449[_0x363adb(0x146)]),selfInfo[_0x363adb(0x156)]);let _0x4aa02f=_0x50b449[_0x363adb(0x160)](_0x50b449[_0x363adb(0x14f)](_0x50b449['EERjw']+_0x48468b,_0x50b449[_0x363adb(0x158)]),_0x50b449[_0x363adb(0x149)](encodeURIComponent,JSON[_0x363adb(0x157)](_0x5967f0))),_0x5cfdcd='';try{let _0x3e5bb1=await RequestUtil[_0x363adb(0x144)](_0x4aa02f,_0x363adb(0x159),undefined,{'Cookie':_0x18745f});_0x5cfdcd=_0x3e5bb1['data'][_0x363adb(0x140)];}catch(_0x3bca1f){logDebug(_0x50b449[_0x363adb(0x155)],_0x3bca1f);}return _0x5cfdcd;} \ 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 817fc772..ccf05b9d 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x336049=_0x5720;(function(_0x15b8bb,_0x416247){var _0x4989e1=_0x5720,_0x493159=_0x15b8bb();while(!![]){try{var _0x550e07=-parseInt(_0x4989e1(0x18f))/0x1*(-parseInt(_0x4989e1(0x18c))/0x2)+-parseInt(_0x4989e1(0x17f))/0x3*(-parseInt(_0x4989e1(0x181))/0x4)+-parseInt(_0x4989e1(0x189))/0x5*(-parseInt(_0x4989e1(0x190))/0x6)+-parseInt(_0x4989e1(0x188))/0x7*(-parseInt(_0x4989e1(0x18b))/0x8)+parseInt(_0x4989e1(0x180))/0x9+parseInt(_0x4989e1(0x18d))/0xa*(-parseInt(_0x4989e1(0x187))/0xb)+parseInt(_0x4989e1(0x185))/0xc*(-parseInt(_0x4989e1(0x186))/0xd);if(_0x550e07===_0x416247)break;else _0x493159['push'](_0x493159['shift']());}catch(_0x14ae66){_0x493159['push'](_0x493159['shift']());}}}(_0x2e61,0xb55f0));function _0x2e61(){var _0x11fdb7=['52026hipQus','8300853iDIOKG','276sFLIwm','util','getNodeMiscService','translateEnWordToZn','276DFgWvB','1417481YyzuYD','22sjPNuO','77SbEswW','5KiTJNm','hasOtherRunningQQProcess','465232XngmcQ','2eorVqu','2070130VDorNc','getRichMediaService','731751JSSpkv','1046478IaYSbW','session'];_0x2e61=function(){return _0x11fdb7;};return _0x2e61();}function _0x5720(_0x16ee9a,_0x2147bc){var _0x2e61f2=_0x2e61();return _0x5720=function(_0x57209f,_0x40e357){_0x57209f=_0x57209f-0x17f;var _0x251948=_0x2e61f2[_0x57209f];return _0x251948;},_0x5720(_0x16ee9a,_0x2147bc);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x336049(0x18a)](){var _0x35a504=_0x336049;return napCatCore[_0x35a504(0x182)][_0x35a504(0x18a)]();}static async['ORCImage'](_0x12a11d){var _0x53e1b6=_0x336049;return napCatCore[_0x53e1b6(0x191)][_0x53e1b6(0x183)]()['wantWinScreenOCR'](_0x12a11d);}static async[_0x336049(0x184)](_0x4358f7){var _0x4386ea=_0x336049;return napCatCore[_0x4386ea(0x191)][_0x4386ea(0x18e)]()[_0x4386ea(0x184)](_0x4358f7);}} \ No newline at end of file +var _0x5c521f=_0x4593;(function(_0x9e98e2,_0x5c55b5){var _0x158144=_0x4593,_0x92eae0=_0x9e98e2();while(!![]){try{var _0x3281e3=parseInt(_0x158144(0xe4))/0x1+parseInt(_0x158144(0xda))/0x2*(-parseInt(_0x158144(0xe6))/0x3)+parseInt(_0x158144(0xde))/0x4+-parseInt(_0x158144(0xe5))/0x5+parseInt(_0x158144(0xe1))/0x6+parseInt(_0x158144(0xdc))/0x7*(-parseInt(_0x158144(0xe2))/0x8)+parseInt(_0x158144(0xd9))/0x9;if(_0x3281e3===_0x5c55b5)break;else _0x92eae0['push'](_0x92eae0['shift']());}catch(_0x46256b){_0x92eae0['push'](_0x92eae0['shift']());}}}(_0x2db7,0x7d63d));function _0x4593(_0x59dff1,_0xedf04){var _0x2db767=_0x2db7();return _0x4593=function(_0x45937b,_0x137450){_0x45937b=_0x45937b-0xd9;var _0x4f3421=_0x2db767[_0x45937b];return _0x4f3421;},_0x4593(_0x59dff1,_0xedf04);}function _0x2db7(){var _0x557ba9=['793648OHROCN','ORCImage','931446xNuUZX','4768305ejAEzt','537nfjmAl','12462570VcgILE','9640lTvqSA','wantWinScreenOCR','70KTIQZu','hasOtherRunningQQProcess','1801740YaMITS','session','util','3332922PXpQZd'];_0x2db7=function(){return _0x557ba9;};return _0x2db7();}import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x4975e3=_0x4593;return napCatCore[_0x4975e3(0xe0)][_0x4975e3(0xdd)]();}static async[_0x5c521f(0xe3)](_0xc0aa2f){var _0x1ac492=_0x5c521f;return napCatCore[_0x1ac492(0xdf)]['getNodeMiscService']()[_0x1ac492(0xdb)](_0xc0aa2f);}static async['translateEnWordToZn'](_0x3e3b95){return napCatCore['session']['getRichMediaService']()['translateEnWordToZn'](_0x3e3b95);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.d.ts b/src/core.lib/src/apis/user.d.ts index 7cb85eed..217b1de5 100644 --- a/src/core.lib/src/apis/user.d.ts +++ b/src/core.lib/src/apis/user.d.ts @@ -23,4 +23,6 @@ export declare class NTQQUserApi { [key: string]: string; }>; static getSkey(cached?: boolean): Promise; + static getUidByUin(Uin: string): Promise; + static getUinByUid(Uid: string | undefined): Promise; } diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 86c5962c..530d8f81 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x2cf0f2=_0x5262;(function(_0x89377a,_0xa322dd){const _0x331ac3=_0x5262,_0x2a6dc9=_0x89377a();while(!![]){try{const _0x215ad9=-parseInt(_0x331ac3(0x21e))/0x1+parseInt(_0x331ac3(0x212))/0x2*(parseInt(_0x331ac3(0x1dc))/0x3)+-parseInt(_0x331ac3(0x1e4))/0x4*(parseInt(_0x331ac3(0x1e9))/0x5)+-parseInt(_0x331ac3(0x1d0))/0x6+parseInt(_0x331ac3(0x1e5))/0x7+parseInt(_0x331ac3(0x1ea))/0x8+-parseInt(_0x331ac3(0x1f3))/0x9*(-parseInt(_0x331ac3(0x1d7))/0xa);if(_0x215ad9===_0xa322dd)break;else _0x2a6dc9['push'](_0x2a6dc9['shift']());}catch(_0x2439e2){_0x2a6dc9['push'](_0x2a6dc9['shift']());}}}(_0x5896,0xf2d70));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';function _0x5896(){const _0x5dcc07=['请求获取Skey时失败','session','hxIWK','PqRyZ','getSkey','fromEntries','1559584nPTbOO','get','then','response','qdayE','QFHLt','now','CreatTime','2584098GsOKPw','uin','Skey','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','JMNnJ','length','voMYU','17890uMqRUf','PskeyData','setQQAvatar','xHDkQ','GHhdO','348gKTaaL','%2Finfocenter&keyindex=19%27','errMsg','set','assign','onProfileDetailInfoChanged','YQQXK','addListener','404DxWWyf','6567113OUTYhQ','getUserDetailInfoWithBizInfo','HttpsGetCookies','mONZU','91945RraDMp','10411168RRgpVr','STAAu','PskeyTime','dEeZF','oNMAi','entries','znxrT','getUserDetailInfo','ZqgUN','10053BgOWgt','forEach','getProfileLikeService','FQpeZ','forceFetchClientKey','getTipOffService','delete','modifySelfProfile','clientKey','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','onLoginSuccess','getMsgService','getQzoneCookies','cTkDR','getPSkey','qFiYn','&clientkey=','NNUBm','getRobotService','getUserDetailInfo\x20timeout','getUserInfo','ClientKey','orBGX','SfuSe','uid','setHeader','getProfileService','zOgVf','请求获取Cookies时失败','domainPskeyMap','getRobotUinRange','10420dJlgnw','gihIB','robotUinRanges','fRcIn','result','setSelfOnlineStatus'];_0x5896=function(){return _0x5dcc07;};return _0x5896();}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x5262(_0x28f9c0,_0x10a971){const _0x5896e7=_0x5896();return _0x5262=function(_0x526226,_0xbd05f2){_0x526226=_0x526226-0x1c9;let _0x3f5d60=_0x5896e7[_0x526226];return _0x3f5d60;},_0x5262(_0x28f9c0,_0x10a971);}profileListener[_0x2cf0f2(0x1e1)]=_0x4afb63=>{const _0x55550f=_0x2cf0f2;userInfoCache[_0x4afb63[_0x55550f(0x20b)]]=_0x4afb63,userDetailHandlers[_0x55550f(0x1f4)](_0xc407e7=>_0xc407e7(_0x4afb63));},setTimeout(()=>{const _0xf51cc9=_0x2cf0f2;napCatCore[_0xf51cc9(0x1fd)](()=>{const _0x2217e8=_0xf51cc9;napCatCore[_0x2217e8(0x1e3)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2cf0f2(0x217)](_0x324364,_0x769f1d,_0x3ce78a){const _0x4316fd=_0x2cf0f2;return napCatCore[_0x4316fd(0x219)][_0x4316fd(0x1fe)]()['setStatus']({'status':_0x324364,'extStatus':_0x769f1d,'batteryStatus':_0x3ce78a});}static async['like'](_0x284663,_0x51d8fa=0x1){const _0x1872e5=_0x2cf0f2;return napCatCore[_0x1872e5(0x219)][_0x1872e5(0x1f5)]()['setBuddyProfileLike']({'friendUid':_0x284663,'sourceId':0x47,'doLikeCount':_0x51d8fa,'doLikeTollCount':0x0});}static async[_0x2cf0f2(0x1d9)](_0x4dbc75){const _0x31a9cf=_0x2cf0f2,_0x30cd4a=napCatCore[_0x31a9cf(0x219)][_0x31a9cf(0x20d)]()[_0x31a9cf(0x20c)](_0x4dbc75);return{'result':_0x30cd4a?.['result'],'errMsg':_0x30cd4a?.['errMsg']};}static async['getSelfInfo'](){}static async[_0x2cf0f2(0x207)](_0x568f1d){}static async[_0x2cf0f2(0x1f1)](_0x5ec73f){const _0x462533=_0x2cf0f2,_0x724f97={'NNUBm':function(_0x50041c,_0x4c0dd6){return _0x50041c(_0x4c0dd6);},'JMNnJ':function(_0x143e11,_0x1201d2){return _0x143e11===_0x1201d2;},'SfuSe':function(_0x5d0b0c,_0x1f8815){return _0x5d0b0c(_0x1f8815);},'gihIB':function(_0x5b6192){return _0x5b6192();},'qdayE':function(_0x2a76b8,_0x378dc8,_0x5d4dcb){return _0x2a76b8(_0x378dc8,_0x5d4dcb);}},_0x411953=napCatCore[_0x462533(0x219)][_0x462533(0x20d)]();return new Promise((_0x33ef0a,_0x314532)=>{const _0x5ad0ae=_0x462533,_0x37474e=_0x724f97[_0x5ad0ae(0x213)](randomUUID);let _0x2f1182=![],_0x395135=undefined,_0x157aa3=!![];_0x724f97[_0x5ad0ae(0x1cc)](setTimeout,()=>{const _0x5d45dc=_0x5ad0ae;!_0x2f1182&&(_0x395135?_0x33ef0a(_0x395135):_0x724f97[_0x5d45dc(0x204)](_0x314532,_0x5d45dc(0x206))),userDetailHandlers[_0x5d45dc(0x1f9)](_0x37474e);},0x1388),userDetailHandlers[_0x5ad0ae(0x1df)](_0x37474e,_0x2bef10=>{const _0x4094b1=_0x5ad0ae;_0x724f97[_0x4094b1(0x1d4)](_0x2bef10[_0x4094b1(0x20b)],_0x5ec73f)&&(uid2UinMap[_0x5ec73f]=_0x2bef10[_0x4094b1(0x1d1)],_0x157aa3?(_0x395135=_0x2bef10,_0x157aa3=![]):(_0x2f1182=!![],_0x724f97[_0x4094b1(0x20a)](_0x33ef0a,_0x2bef10)));}),_0x411953[_0x5ad0ae(0x1e6)](_0x5ec73f,[0x0])[_0x5ad0ae(0x1ca)](_0x3c0c99=>{});});}static async[_0x2cf0f2(0x1fa)](_0x310271){const _0x2ad777=_0x2cf0f2;return napCatCore[_0x2ad777(0x219)][_0x2ad777(0x20d)]()['modifyDesktopMiniProfile'](_0x310271);}static async[_0x2cf0f2(0x201)](_0x3c1fc1,_0x210324=!![]){const _0xa9f2bc=_0x2cf0f2,_0x1b4f5d={'mONZU':function(_0x270e8e,_0x51ab94){return _0x270e8e||_0x51ab94;},'ZqgUN':function(_0x532133,_0x508dff){return _0x532133>_0x508dff;},'YQQXK':function(_0x134e85,_0x202126){return _0x134e85-_0x202126;},'znxrT':function(_0x5a9482,_0x5f10da){return _0x5a9482===_0x5f10da;},'ktCHq':function(_0x32286d,_0x5f1a8f,_0x22f538){return _0x32286d(_0x5f1a8f,_0x22f538);}},_0x7d5351=[],_0x5d9f73={};for(const _0x2da29a in _0x3c1fc1){const _0x4470b9=Credentials[_0xa9f2bc(0x1d8)][_0xa9f2bc(0x1c9)](_0x3c1fc1[_0x2da29a]),_0x1a3bd0=Credentials[_0xa9f2bc(0x1ec)][_0xa9f2bc(0x1c9)](_0x3c1fc1[_0x2da29a]);_0x1b4f5d[_0xa9f2bc(0x1e8)](!_0x4470b9,!_0x1a3bd0)||_0x1b4f5d[_0xa9f2bc(0x1f2)](_0x1b4f5d[_0xa9f2bc(0x1e2)](Date['now'](),_0x1a3bd0),0x708*0x3e8)||!_0x210324?_0x7d5351['push'](_0x3c1fc1[_0x2da29a]):_0x5d9f73[_0x3c1fc1[_0x2da29a]]=_0x4470b9;}let _0x405742={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x7d5351[_0xa9f2bc(0x1d5)]>0x0&&(_0x405742=await napCatCore[_0xa9f2bc(0x219)][_0xa9f2bc(0x1f8)]()['getPskey'](_0x7d5351,!![]));const _0x599888=_0x405742[_0xa9f2bc(0x210)];for(const _0x27a41b of _0x599888[_0xa9f2bc(0x1ef)]()){Credentials[_0xa9f2bc(0x1d8)][_0xa9f2bc(0x1df)](_0x27a41b[0x0],_0x27a41b[0x1]),Credentials['PskeyTime']['set'](_0x27a41b[0x0],Date['now']());}const _0x14a9f0=Object[_0xa9f2bc(0x1e0)](Object[_0xa9f2bc(0x21d)](_0x599888),_0x5d9f73);if(_0x1b4f5d[_0xa9f2bc(0x1f0)](_0x405742[_0xa9f2bc(0x216)],0x0))return _0x14a9f0;else _0x1b4f5d['ktCHq'](logError,'获取Pskey失败',_0x405742[_0xa9f2bc(0x1de)]);return{};}static async[_0x2cf0f2(0x211)](){const _0x2caec1=_0x2cf0f2,_0xdd773b=await napCatCore['session'][_0x2caec1(0x205)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xdd773b?.[_0x2caec1(0x1cb)]?.[_0x2caec1(0x214)];}static async[_0x2cf0f2(0x1ff)](){const _0x69286=_0x2cf0f2,_0xd04fad={'orBGX':function(_0x3541e9,_0x2677d8){return _0x3541e9+_0x2677d8;},'hxIWK':function(_0x4562be,_0x2a6fc5){return _0x4562be+_0x2a6fc5;},'QFHLt':function(_0x17b6d6,_0xca7c8c){return _0x17b6d6+_0xca7c8c;},'STAAu':_0x69286(0x1fc),'PqRyZ':_0x69286(0x203),'RPqtH':'&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','xHDkQ':function(_0x4a2ab0,_0x20315e,_0x25b891){return _0x4a2ab0(_0x20315e,_0x25b891);},'fRcIn':_0x69286(0x20f)},_0x4fd8da=_0xd04fad[_0x69286(0x209)](_0xd04fad['hxIWK'](_0xd04fad[_0x69286(0x21a)](_0xd04fad[_0x69286(0x21a)](_0xd04fad[_0x69286(0x1cd)](_0xd04fad[_0x69286(0x1eb)],selfInfo[_0x69286(0x1d1)]),_0xd04fad[_0x69286(0x21b)]),Credentials[_0x69286(0x208)]),_0xd04fad['RPqtH'])+selfInfo['uin'],_0x69286(0x1dd));let _0xf2bee6={};try{_0xf2bee6=await RequestUtil[_0x69286(0x1e7)](_0x4fd8da);}catch(_0x2186f6){_0xd04fad[_0x69286(0x1da)](logDebug,_0xd04fad[_0x69286(0x215)],_0x2186f6),_0xf2bee6={};}return _0xf2bee6;}static async[_0x2cf0f2(0x21c)](_0x3a2a68=!![]){const _0x22892a=_0x2cf0f2,_0x5b2010={'cTkDR':function(_0x5b65fa,_0x13b7dd){return _0x5b65fa>_0x13b7dd;},'qFiYn':function(_0x2edbee,_0x5968ac){return _0x2edbee-_0x5968ac;},'zOgVf':function(_0x5512c5,_0x552f6b){return _0x5512c5*_0x552f6b;},'QMTqg':function(_0x550af2,_0x559da1){return _0x550af2!==_0x559da1;},'FQpeZ':function(_0x2635cc,_0x4d8cc2){return _0x2635cc+_0x4d8cc2;},'epnVX':function(_0x2ca5c0,_0x3039cc){return _0x2ca5c0+_0x3039cc;},'oNMAi':function(_0x384811,_0x952391){return _0x384811+_0x952391;},'voMYU':function(_0x4c8e72,_0xb386e){return _0x4c8e72+_0xb386e;},'OvJnS':_0x22892a(0x1d3),'GHhdO':_0x22892a(0x218),'dEeZF':'skey'};try{if(Credentials[_0x22892a(0x1cf)]==0x0||_0x5b2010[_0x22892a(0x200)](_0x5b2010[_0x22892a(0x202)](Date['now'](),Credentials[_0x22892a(0x1cf)]),_0x5b2010[_0x22892a(0x20e)](0x3e8,0xe10))||!_0x3a2a68){const _0x3592c6=await napCatCore['session']['getTicketService']()[_0x22892a(0x1f7)]('');if(_0x5b2010['QMTqg'](_0x3592c6[_0x22892a(0x216)],0x0))return'';const _0x49784e=_0x3592c6[_0x22892a(0x1fb)],_0xcb890=_0x3592c6['keyIndex'],_0x45c8ec=_0x5b2010[_0x22892a(0x1f6)](_0x5b2010['epnVX'](_0x5b2010[_0x22892a(0x1ee)](_0x5b2010[_0x22892a(0x1d6)]('https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin='+selfInfo['uin'],_0x22892a(0x203)),_0x49784e),_0x5b2010['OvJnS']),_0xcb890);let _0x111645={};try{_0x111645=await RequestUtil[_0x22892a(0x1e7)](_0x45c8ec);}catch(_0x36d1f8){logDebug(_0x5b2010[_0x22892a(0x1db)],_0x36d1f8),_0x111645={};}const _0x2c24bb=_0x111645[_0x5b2010[_0x22892a(0x1ed)]];if(!_0x2c24bb)return'';return Credentials[_0x22892a(0x208)]=_0x49784e,Credentials['KeyIndex']=_0xcb890,Credentials['CreatTime']=Date[_0x22892a(0x1ce)](),Credentials[_0x22892a(0x1d2)]=_0x2c24bb,_0x2c24bb;}return Credentials[_0x22892a(0x1d2)];}catch(_0x6adca6){}return undefined;}} \ No newline at end of file +const _0x1857d8=_0x5e13;function _0x5e13(_0x2ad749,_0x218f55){const _0xfd4175=_0xfd41();return _0x5e13=function(_0x5e137d,_0x4be1f7){_0x5e137d=_0x5e137d-0x162;let _0x2ef9b4=_0xfd4175[_0x5e137d];return _0x2ef9b4;},_0x5e13(_0x2ad749,_0x218f55);}(function(_0x4d1711,_0x20fdd6){const _0x19e5e3=_0x5e13,_0x18cba6=_0x4d1711();while(!![]){try{const _0x2a8c79=-parseInt(_0x19e5e3(0x1ac))/0x1*(-parseInt(_0x19e5e3(0x175))/0x2)+-parseInt(_0x19e5e3(0x198))/0x3+parseInt(_0x19e5e3(0x1b9))/0x4+-parseInt(_0x19e5e3(0x195))/0x5*(-parseInt(_0x19e5e3(0x186))/0x6)+parseInt(_0x19e5e3(0x199))/0x7+-parseInt(_0x19e5e3(0x16f))/0x8*(-parseInt(_0x19e5e3(0x1b2))/0x9)+-parseInt(_0x19e5e3(0x179))/0xa;if(_0x2a8c79===_0x20fdd6)break;else _0x18cba6['push'](_0x18cba6['shift']());}catch(_0x572307){_0x18cba6['push'](_0x18cba6['shift']());}}}(_0xfd41,0x1e6fe));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x1857d8(0x18d)]=_0x4f0ba5=>{const _0x9145f1=_0x1857d8;userInfoCache[_0x4f0ba5[_0x9145f1(0x177)]]=_0x4f0ba5,userDetailHandlers[_0x9145f1(0x18e)](_0xa4a5de=>_0xa4a5de(_0x4f0ba5));},setTimeout(()=>{const _0x5f0831=_0x1857d8;napCatCore[_0x5f0831(0x19a)](()=>{const _0x3cc786=_0x5f0831;napCatCore[_0x3cc786(0x18c)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x1857d8(0x16b)](_0x4c0e81,_0x4df6eb,_0x52402d){const _0x3179c3=_0x1857d8;return napCatCore['session']['getMsgService']()[_0x3179c3(0x1b8)]({'status':_0x4c0e81,'extStatus':_0x4df6eb,'batteryStatus':_0x52402d});}static async[_0x1857d8(0x1a1)](_0x5a5db2,_0xb99771=0x1){const _0xc429e7=_0x1857d8;return napCatCore[_0xc429e7(0x183)][_0xc429e7(0x188)]()[_0xc429e7(0x192)]({'friendUid':_0x5a5db2,'sourceId':0x47,'doLikeCount':_0xb99771,'doLikeTollCount':0x0});}static async[_0x1857d8(0x19c)](_0x397f1a){const _0x5a2f76=_0x1857d8,_0x4085ea=napCatCore[_0x5a2f76(0x183)][_0x5a2f76(0x1a9)]()['setHeader'](_0x397f1a);return{'result':_0x4085ea?.[_0x5a2f76(0x1a3)],'errMsg':_0x4085ea?.[_0x5a2f76(0x191)]};}static async[_0x1857d8(0x165)](){}static async[_0x1857d8(0x17c)](_0x515693){}static async['getUserDetailInfo'](_0x404fa5){const _0x2253f3=_0x1857d8,_0xa70efa={'jWAbL':function(_0x1728e7,_0x5f314c){return _0x1728e7(_0x5f314c);},'AkHYv':function(_0xb5cec,_0xdaf15b){return _0xb5cec(_0xdaf15b);},'pASIn':'getUserDetailInfo\x20timeout','yvHnr':function(_0x46ca32){return _0x46ca32();},'ILSrJ':function(_0x52bebf,_0xa793fc,_0x59dd1d){return _0x52bebf(_0xa793fc,_0x59dd1d);}},_0x3fbc73=napCatCore[_0x2253f3(0x183)][_0x2253f3(0x1a9)]();return new Promise((_0xbc474,_0x5be069)=>{const _0x2919dc=_0x2253f3,_0x49e0f3=_0xa70efa[_0x2919dc(0x196)](randomUUID);let _0x523c2e=![],_0x19fd7a=undefined,_0x1bc5c3=!![];_0xa70efa[_0x2919dc(0x19d)](setTimeout,()=>{const _0x3afb73=_0x2919dc;!_0x523c2e&&(_0x19fd7a?_0xa70efa[_0x3afb73(0x18f)](_0xbc474,_0x19fd7a):_0xa70efa[_0x3afb73(0x169)](_0x5be069,_0xa70efa[_0x3afb73(0x163)])),userDetailHandlers[_0x3afb73(0x1a2)](_0x49e0f3);},0x1388),userDetailHandlers[_0x2919dc(0x178)](_0x49e0f3,_0x559b27=>{const _0x460383=_0x2919dc;_0x559b27[_0x460383(0x177)]===_0x404fa5&&(_0x1bc5c3?(_0x19fd7a=_0x559b27,_0x1bc5c3=![]):(_0x523c2e=!![],_0xa70efa[_0x460383(0x169)](_0xbc474,_0x559b27)));}),_0x3fbc73[_0x2919dc(0x1b4)](_0x404fa5,[0x0])[_0x2919dc(0x166)](_0x1be965=>{});});}static async[_0x1857d8(0x17b)](_0x4f515b){const _0x502359=_0x1857d8;return napCatCore[_0x502359(0x183)][_0x502359(0x1a9)]()[_0x502359(0x19b)](_0x4f515b);}static async[_0x1857d8(0x17a)](_0x22c5f8,_0x4c6f53=!![]){const _0x37ca3d=_0x1857d8,_0xa21511={'fknPJ':function(_0x4bdcc1,_0x5be482){return _0x4bdcc1||_0x5be482;},'ziVvt':function(_0x277db0,_0x4f7cfc){return _0x277db0>_0x4f7cfc;},'gWFvI':function(_0x117f0c,_0x4d043b){return _0x117f0c-_0x4d043b;},'RPGRu':function(_0x22e649,_0xe2cd9f,_0x2a80f0){return _0x22e649(_0xe2cd9f,_0x2a80f0);},'xkJzG':_0x37ca3d(0x1bb)},_0x36f8ac=[],_0x4758ec={};for(const _0xd7bc27 in _0x22c5f8){const _0x1eacfd=Credentials[_0x37ca3d(0x1a8)]['get'](_0x22c5f8[_0xd7bc27]),_0x407822=Credentials['PskeyTime'][_0x37ca3d(0x1af)](_0x22c5f8[_0xd7bc27]);_0xa21511[_0x37ca3d(0x1a7)](!_0x1eacfd,!_0x407822)||_0xa21511[_0x37ca3d(0x1b1)](_0xa21511[_0x37ca3d(0x167)](Date[_0x37ca3d(0x16a)](),_0x407822),0x708*0x3e8)||!_0x4c6f53?_0x36f8ac[_0x37ca3d(0x1ab)](_0x22c5f8[_0xd7bc27]):_0x4758ec[_0x22c5f8[_0xd7bc27]]=_0x1eacfd;}let _0x2d4b52={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0xa21511[_0x37ca3d(0x1b1)](_0x36f8ac[_0x37ca3d(0x193)],0x0)&&(_0x2d4b52=await napCatCore[_0x37ca3d(0x183)][_0x37ca3d(0x176)]()[_0x37ca3d(0x1ad)](_0x36f8ac,!![]));const _0x5c40bf=_0x2d4b52['domainPskeyMap'];for(const _0x1cd85d of _0x5c40bf[_0x37ca3d(0x1a0)]()){Credentials[_0x37ca3d(0x1a8)]['set'](_0x1cd85d[0x0],_0x1cd85d[0x1]),Credentials[_0x37ca3d(0x18a)][_0x37ca3d(0x178)](_0x1cd85d[0x0],Date[_0x37ca3d(0x16a)]());}const _0x4cc7af=Object[_0x37ca3d(0x1b5)](Object[_0x37ca3d(0x17f)](_0x5c40bf),_0x4758ec);if(_0x2d4b52[_0x37ca3d(0x1a3)]===0x0)return _0x4cc7af;else _0xa21511['RPGRu'](logError,_0xa21511['xkJzG'],_0x2d4b52['errMsg']);return{};}static async[_0x1857d8(0x184)](){const _0xbfe1a9=_0x1857d8,_0x5cb170=await napCatCore[_0xbfe1a9(0x183)][_0xbfe1a9(0x1b7)]()[_0xbfe1a9(0x184)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5cb170?.[_0xbfe1a9(0x189)]?.[_0xbfe1a9(0x1ae)];}static async[_0x1857d8(0x18b)](){const _0x3c640d=_0x1857d8,_0x47e8e4={'maUnx':function(_0x8dd9de,_0x5b73d2){return _0x8dd9de+_0x5b73d2;},'ePbFx':function(_0x4e05b8,_0x22565c){return _0x4e05b8+_0x22565c;},'VtXhN':function(_0x41d670,_0x4a4363){return _0x41d670+_0x4a4363;},'hFWMW':function(_0x478630,_0x1061d0){return _0x478630+_0x1061d0;},'EVjTf':function(_0x2e954b,_0x524daf){return _0x2e954b+_0x524daf;},'cGREX':_0x3c640d(0x170),'IESrl':_0x3c640d(0x1ba),'wMrLQ':_0x3c640d(0x19e),'TTPqE':_0x3c640d(0x1aa)},_0x1fd6a0=_0x47e8e4['maUnx'](_0x47e8e4[_0x3c640d(0x172)](_0x47e8e4[_0x3c640d(0x173)](_0x47e8e4['hFWMW'](_0x47e8e4[_0x3c640d(0x1be)](_0x47e8e4[_0x3c640d(0x1be)](_0x47e8e4['cGREX'],selfInfo[_0x3c640d(0x180)]),_0x47e8e4[_0x3c640d(0x16d)]),Credentials['ClientKey']),_0x47e8e4[_0x3c640d(0x190)]),selfInfo[_0x3c640d(0x180)]),'%2Finfocenter&keyindex=19%27');let _0x2e35c8={};try{_0x2e35c8=await RequestUtil[_0x3c640d(0x164)](_0x1fd6a0);}catch(_0x339d8a){logDebug(_0x47e8e4[_0x3c640d(0x17e)],_0x339d8a),_0x2e35c8={};}return _0x2e35c8;}static async[_0x1857d8(0x1a4)](_0x4ed638=!![]){const _0x55c01f=_0x1857d8,_0x4628bb={'mBOzr':function(_0x446f6c,_0xc6f9ff){return _0x446f6c>_0xc6f9ff;},'tlvKe':function(_0x2df31e,_0xe59462){return _0x2df31e-_0xe59462;},'ZuaDb':function(_0x13b7cd,_0x29e1d4){return _0x13b7cd*_0x29e1d4;},'FJYcb':function(_0x37a82,_0x12fca0){return _0x37a82!==_0x12fca0;},'uJizO':function(_0x2b9949,_0x3b3302){return _0x2b9949+_0x3b3302;},'Rjjsq':function(_0x1a9d97,_0x21e4d5){return _0x1a9d97+_0x21e4d5;},'BVQKY':function(_0x47eb4f,_0x1ed582){return _0x47eb4f+_0x1ed582;},'JHBOT':_0x55c01f(0x170),'PLcRc':_0x55c01f(0x1ba),'fQDpd':_0x55c01f(0x185),'OMIPj':_0x55c01f(0x171),'xpbXX':_0x55c01f(0x1bd)};try{if(Credentials['CreatTime']==0x0||_0x4628bb[_0x55c01f(0x1b6)](_0x4628bb[_0x55c01f(0x182)](Date['now'](),Credentials['CreatTime']),_0x4628bb['ZuaDb'](0x3e8,0xe10))||!_0x4ed638){const _0x57bcf8=await napCatCore[_0x55c01f(0x183)]['getTicketService']()['forceFetchClientKey']('');if(_0x4628bb[_0x55c01f(0x1b0)](_0x57bcf8[_0x55c01f(0x1a3)],0x0))return'';const _0x4877aa=_0x57bcf8[_0x55c01f(0x16e)],_0x66e007=_0x57bcf8[_0x55c01f(0x16c)],_0x546177=_0x4628bb[_0x55c01f(0x181)](_0x4628bb[_0x55c01f(0x181)](_0x4628bb[_0x55c01f(0x1bc)](_0x4628bb[_0x55c01f(0x174)](_0x4628bb[_0x55c01f(0x1a6)],selfInfo[_0x55c01f(0x180)])+_0x4628bb[_0x55c01f(0x19f)],_0x4877aa),_0x4628bb['fQDpd']),_0x66e007);let _0x44141c={};try{_0x44141c=await RequestUtil[_0x55c01f(0x164)](_0x546177);}catch(_0x106b29){logDebug(_0x4628bb['OMIPj'],_0x106b29),_0x44141c={};}const _0x2411da=_0x44141c[_0x4628bb[_0x55c01f(0x17d)]];if(!_0x2411da)return'';return Credentials[_0x55c01f(0x187)]=_0x4877aa,Credentials[_0x55c01f(0x1b3)]=_0x66e007,Credentials[_0x55c01f(0x1a5)]=Date[_0x55c01f(0x16a)](),Credentials['Skey']=_0x2411da,_0x2411da;}return Credentials[_0x55c01f(0x168)];}catch(_0x1142ba){}return undefined;}static async['getUidByUin'](_0x10dfa9){const _0x53bb1a=_0x1857d8;let _0x20f545=await NTEventDispatch['CallNoListenerEvent']('NodeIKernelUixConvertService/getUid',0x1388,[_0x10dfa9]);return _0x20f545[_0x53bb1a(0x162)]['get'](_0x10dfa9);}static async[_0x1857d8(0x194)](_0x5816c1){const _0x6981c0=_0x1857d8,_0x3e6632={'abEYn':'NodeIKernelUixConvertService/getUin'};if(!_0x5816c1)return'';let _0x4569f8=await NTEventDispatch[_0x6981c0(0x197)](_0x3e6632['abEYn'],0x1388,[_0x5816c1]);return _0x4569f8['uinInfo'][_0x6981c0(0x1af)](_0x5816c1);}}function _0xfd41(){const _0x48f66f=['ClientKey','getProfileLikeService','response','PskeyTime','getQzoneCookies','addListener','onProfileDetailInfoChanged','forEach','jWAbL','wMrLQ','errMsg','setBuddyProfileLike','length','getUinByUid','10xvacdF','yvHnr','CallNoListenerEvent','518286KbxDOK','387877vjsvfb','onLoginSuccess','modifyDesktopMiniProfile','setQQAvatar','ILSrJ','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','PLcRc','entries','like','delete','result','getSkey','CreatTime','JHBOT','fknPJ','PskeyData','getProfileService','请求获取Cookies时失败','push','109FosVwa','getPskey','robotUinRanges','get','FJYcb','ziVvt','9RtLDff','KeyIndex','getUserDetailInfoWithBizInfo','assign','mBOzr','getRobotService','setStatus','90028DoXjxF','&clientkey=','获取Pskey失败','Rjjsq','skey','EVjTf','uidInfo','pASIn','HttpsGetCookies','getSelfInfo','then','gWFvI','Skey','AkHYv','now','setSelfOnlineStatus','keyIndex','IESrl','clientKey','1020152zislDP','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','请求获取Skey时失败','ePbFx','VtXhN','BVQKY','2540pKasPC','getTipOffService','uid','set','1991570sOxBUw','getPSkey','modifySelfProfile','getUserInfo','xpbXX','TTPqE','fromEntries','uin','uJizO','tlvKe','session','getRobotUinRange','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','458166HrKWfo'];_0xfd41=function(){return _0x48f66f;};return _0xfd41();} \ 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 5eddc261..70529b69 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x3b5a00=_0x3dcf;(function(_0x52218f,_0xeabdc){const _0x1e8137=_0x3dcf,_0x56a1f8=_0x52218f();while(!![]){try{const _0x2f2270=parseInt(_0x1e8137(0x24c))/0x1*(parseInt(_0x1e8137(0x1ce))/0x2)+parseInt(_0x1e8137(0x244))/0x3+parseInt(_0x1e8137(0x1de))/0x4*(parseInt(_0x1e8137(0x1c8))/0x5)+-parseInt(_0x1e8137(0x23d))/0x6+parseInt(_0x1e8137(0x1c7))/0x7+-parseInt(_0x1e8137(0x256))/0x8*(-parseInt(_0x1e8137(0x1ff))/0x9)+parseInt(_0x1e8137(0x247))/0xa*(-parseInt(_0x1e8137(0x1d7))/0xb);if(_0x2f2270===_0xeabdc)break;else _0x56a1f8['push'](_0x56a1f8['shift']());}catch(_0x2d1c61){_0x56a1f8['push'](_0x56a1f8['shift']());}}}(_0x14c0,0xb006c));function _0x14c0(){const _0x457126=['10LOeaQb','&type=','LqODU','pxMKU','mems','642206iSJgVU','cSWbu','vyuje','talkative','lIwQZ','&end=',';\x20skey=','dysyH','getGroupMembers','get','16zymGvg','获取群聊之火失败','legend_list','aAbuM','CTvSF','zACTI','setGroupNotice','push','vJAbF','ERRAL','&page_limit=20','HnMgA','talkativeList','avatar','getPSkey','6409683ETvvtM','15MDGCnI','DVzcB','POST','errcode','jBLVf','eLJfU','4iwcOpF','name','description','nBOxZ','RLZxf','Yxumf','p_skey=','https://qun.qq.com/interactive/honorlist?gc=','mPjys','31786381HarXoi',';\x20uin=o','获取龙王信息失败','RiFBW','BiQyG','获取群聊炽焰失败','legend','365716nkatoE','NpawM','vaPdm','ynWUj','mMiGI','strong_newbie_list','getSkey','eUtpb','BCfVL','ThoMM','talkative_list','length','获取当前群荣耀失败','VwkoG','getGrouptNotice','EMOTION','actorList','getGroupEssenceMsg','DqDPx','AvnCV','jlwZA','dsMWQ','NPlNE','genBkn','retcode','arSPI','uSOjf','vzoyx','dLnto','gKeHw','current_talkative','nuxzg','GroupTime','3747699JzEIaR','vPTLx','parse','RdbCt','dAivE','&bkn=','yZzXU','rlpJa','emotion','performer','lFZHX','Bxaap','jySzW','hyygs','GroupData','fJmXV','now','&text=','NYGge','nRbRz','SMHJX','getGroupHonorInfo','desc','&page_start=','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','ziWuK','set','charCodeAt','cAVPf','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','cRCRJ','ATdmc','Xvrsp','count','GET','teYFi','fsvKC','SWfjd','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','pXXGL','mVKNS','TALKACTIVE','&group_code=','qun.qq.com','all','RxFyz','BcReq','XpVyY','uin','mkZsT','KPoJu','HttpGetJson','STORONGE_NEWBI','&sort=1&gc=','dzjyH','YEFnB','1|5|4|0|2|3',';\x20p_uin=o','GCleB','HttpGetText','GSJhn','joiPP','5848686ULKdLI','ALL','FOYnW','fmpmI','PERFROMER','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','performer_list','3834798TeucMZ','获取快乐源泉失败','trim'];_0x14c0=function(){return _0x457126;};return _0x14c0();}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x3dcf(_0x43663d,_0x446a61){const _0x14c089=_0x14c0();return _0x3dcf=function(_0x3dcf87,_0x11d252){_0x3dcf87=_0x3dcf87-0x1b9;let _0x1725bf=_0x14c089[_0x3dcf87];return _0x1725bf;},_0x3dcf(_0x43663d,_0x446a61);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x15262c){const _0x2f661b=_0x3dcf,_0x3be93c={'aAbuM':_0x2f661b(0x237),'XhDrn':'LEGEND','vzoyx':_0x2f661b(0x1dd),'gJQjx':_0x2f661b(0x23e),'cSWbu':_0x2f661b(0x22b),'lFZHX':_0x2f661b(0x233),'vyuje':'strong_newbie','dAivE':_0x2f661b(0x1ed),'teYFi':_0x2f661b(0x207),'fsvKC':'PERFROMER','IovJl':_0x2f661b(0x208),'fmpmI':'TALKACTIVE','DVzcB':_0x2f661b(0x24f)},_0x49528d=_0x3be93c[_0x2f661b(0x1bb)]['split']('|');let _0xd7f733=0x0;while(!![]){switch(_0x49528d[_0xd7f733++]){case'0':_0x15262c[_0x3be93c['XhDrn']]=_0x3be93c[_0x2f661b(0x1f9)];continue;case'1':_0x15262c[_0x3be93c['gJQjx']]=_0x3be93c[_0x2f661b(0x24d)];continue;case'2':_0x15262c[_0x3be93c[_0x2f661b(0x209)]]=_0x3be93c[_0x2f661b(0x24e)];continue;case'3':_0x15262c[_0x3be93c[_0x2f661b(0x203)]]=_0x3be93c[_0x2f661b(0x222)];continue;case'4':_0x15262c[_0x3be93c[_0x2f661b(0x223)]]=_0x3be93c['IovJl'];continue;case'5':_0x15262c[_0x3be93c[_0x2f661b(0x240)]]=_0x3be93c[_0x2f661b(0x1c9)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x3b5a00(0x1ef)](_0x50f3a0,_0x16a2b9){const _0x2d296b=_0x3b5a00,_0x269b7d={'eLJfU':_0x2d296b(0x22a),'SMHJX':function(_0x46b1f1,_0x2b7a59){return _0x46b1f1+_0x2b7a59;},'IZUGt':'p_skey=','mkZsT':_0x2d296b(0x252),'ynWUj':_0x2d296b(0x238),'byTJh':function(_0x453bcb,_0x3154f2){return _0x453bcb+_0x3154f2;},'dLnto':function(_0x156078,_0x5b2e9c){return _0x156078+_0x5b2e9c;},'JvZmp':function(_0x31cffe,_0x1ce79a){return _0x31cffe+_0x1ce79a;},'MfCiN':function(_0x185e94,_0x5b31fc){return _0x185e94+_0x5b31fc;},'BiQyG':_0x2d296b(0x225),'SWfjd':_0x2d296b(0x216),'bRaza':_0x2d296b(0x221)},_0x477be6=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0x269b7d[_0x2d296b(0x1cd)]],_0x32a6cd=await NTQQUserApi[_0x2d296b(0x1e4)](),_0x35a981=_0x269b7d[_0x2d296b(0x213)](_0x269b7d[_0x2d296b(0x213)](_0x269b7d['SMHJX'](_0x269b7d[_0x2d296b(0x213)](_0x269b7d[_0x2d296b(0x213)](_0x269b7d[_0x2d296b(0x213)](_0x269b7d['IZUGt'],_0x477be6),_0x269b7d[_0x2d296b(0x230)]),_0x32a6cd),_0x269b7d[_0x2d296b(0x1e1)]),selfInfo[_0x2d296b(0x22f)])+_0x2d296b(0x1d8),selfInfo[_0x2d296b(0x22f)]);if(!_0x32a6cd||!_0x477be6)return undefined;const _0x5dc5a6=WebApi[_0x2d296b(0x1f5)](_0x32a6cd),_0x25b006=_0x269b7d['byTJh'](_0x269b7d[_0x2d296b(0x1fa)](_0x269b7d['dLnto'](_0x269b7d['JvZmp'](_0x269b7d['MfCiN'](_0x269b7d[_0x2d296b(0x1db)],_0x5dc5a6)+_0x2d296b(0x229),_0x50f3a0),_0x269b7d[_0x2d296b(0x224)]),_0x16a2b9),_0x2d296b(0x1c2));let _0xd77d13;try{_0xd77d13=await RequestUtil[_0x2d296b(0x232)](_0x25b006,_0x269b7d['bRaza'],'',{'Cookie':_0x35a981});}catch{return undefined;}if(_0xd77d13[_0x2d296b(0x1f6)]!==0x0)return undefined;return _0xd77d13;}static async[_0x3b5a00(0x254)](_0x596c42,_0x4ed244=!![]){const _0x47930b=_0x3b5a00,_0x58b8c2={'zACTI':function(_0x5a08e9,_0x181f79){return _0x5a08e9>_0x181f79;},'aWWzw':function(_0x2dbf83,_0x4d3336){return _0x2dbf83-_0x4d3336;},'uSOjf':function(_0x32dfe2,_0x147a3c){return _0x32dfe2*_0x147a3c;},'HnMgA':_0x47930b(0x22a),'RdbCt':function(_0x51cc2d,_0x75e6ec){return _0x51cc2d+_0x75e6ec;},'EuusT':function(_0x26ffde,_0x293b49){return _0x26ffde+_0x293b49;},'ziWuK':function(_0x5bd21c,_0xa61870){return _0x5bd21c+_0xa61870;},'mPjys':_0x47930b(0x1d4),'fJmXV':_0x47930b(0x252),'CTvSF':function(_0x295d35,_0x1c8d28){return _0x295d35||_0x1c8d28;},'nuxzg':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','QkjwE':function(_0x1a8ad0,_0x10ac32){return _0x1a8ad0!==_0x10ac32;},'cRCRJ':function(_0x33c939,_0x16b0fc){return _0x33c939/_0x16b0fc;},'GSJhn':function(_0xd18ceb,_0x451e81){return _0xd18ceb<=_0x451e81;},'XpVyY':function(_0x81c7c2,_0x115a36){return _0x81c7c2+_0x115a36;},'DqxmS':function(_0x540e3d,_0x5cf896){return _0x540e3d+_0x5cf896;},'RiFBW':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','BpipL':function(_0x5d5879,_0x45f00c){return _0x5d5879-_0x45f00c;},'gKeHw':_0x47930b(0x251),'LfbEg':function(_0x486c6d,_0x1f1a14){return _0x486c6d*_0x1f1a14;},'hLPoy':_0x47930b(0x234),'Xvrsp':_0x47930b(0x1ca),'YEFnB':function(_0x37ffca,_0x395282){return _0x37ffca<=_0x395282;},'jlwZA':function(_0x46b0ce,_0x3b5d29){return _0x46b0ce!==_0x3b5d29;}};let _0x2db250=new Array();try{let _0x327202=WebGroupData['GroupData'][_0x47930b(0x255)](_0x596c42),_0x2fb7e9=WebGroupData[_0x47930b(0x1fe)][_0x47930b(0x255)](_0x596c42);if(!_0x2fb7e9||_0x58b8c2[_0x47930b(0x1bd)](_0x58b8c2['aWWzw'](Date['now'](),_0x2fb7e9),_0x58b8c2[_0x47930b(0x1f8)](0x708,0x3e8))||!_0x4ed244){const _0x1a3bce=(await NTQQUserApi['getPSkey']([_0x58b8c2['HnMgA']]))[_0x58b8c2[_0x47930b(0x1c3)]],_0x5c508d=await NTQQUserApi['getSkey'](),_0x41709f=_0x58b8c2[_0x47930b(0x202)](_0x58b8c2['EuusT'](_0x58b8c2[_0x47930b(0x218)](_0x58b8c2[_0x47930b(0x1d6)],_0x1a3bce)+_0x58b8c2[_0x47930b(0x20e)],_0x5c508d),_0x47930b(0x238))+selfInfo['uin'];if(_0x58b8c2[_0x47930b(0x1bc)](!_0x5c508d,!_0x1a3bce))return _0x2db250;const _0x484dbd=WebApi[_0x47930b(0x1f5)](_0x5c508d),_0x1ac4f6=[],_0x413ccd=await RequestUtil[_0x47930b(0x232)](_0x58b8c2[_0x47930b(0x202)](_0x58b8c2[_0x47930b(0x1fd)]+_0x596c42,_0x47930b(0x204))+_0x484dbd,_0x47930b(0x1ca),'',{'Cookie':_0x41709f});if(!_0x413ccd?.[_0x47930b(0x220)]||_0x58b8c2['QkjwE'](_0x413ccd?.[_0x47930b(0x1cb)],0x0)||!_0x413ccd?.[_0x47930b(0x24b)])return[];else for(const _0x5ec97c in _0x413ccd['mems']){_0x2db250[_0x47930b(0x1bf)](_0x413ccd['mems'][_0x5ec97c]);}const _0x5c0b77=Math['ceil'](_0x58b8c2[_0x47930b(0x21d)](_0x413ccd[_0x47930b(0x220)],0x28));for(let _0x53d2ac=0x2;_0x58b8c2[_0x47930b(0x23b)](_0x53d2ac,_0x5c0b77);_0x53d2ac++){const _0xc96a4b=RequestUtil[_0x47930b(0x232)](_0x58b8c2[_0x47930b(0x22e)](_0x58b8c2['RdbCt'](_0x58b8c2[_0x47930b(0x202)](_0x58b8c2['DqxmS'](_0x58b8c2['XpVyY'](_0x58b8c2[_0x47930b(0x1da)],_0x58b8c2[_0x47930b(0x1f8)](_0x58b8c2['BpipL'](_0x53d2ac,0x1),0x28))+_0x58b8c2[_0x47930b(0x1fb)],_0x58b8c2['LfbEg'](_0x53d2ac,0x28))+_0x58b8c2['hLPoy'],_0x596c42),_0x47930b(0x204)),_0x484dbd),_0x58b8c2[_0x47930b(0x21f)],'',{'Cookie':_0x41709f});_0x1ac4f6[_0x47930b(0x1bf)](_0xc96a4b);}for(let _0x4f178a=0x1;_0x58b8c2[_0x47930b(0x236)](_0x4f178a,_0x5c0b77);_0x4f178a++){const _0xf59b76=await _0x1ac4f6[_0x4f178a];if(!_0xf59b76?.[_0x47930b(0x220)]||_0x58b8c2[_0x47930b(0x1f2)](_0xf59b76?.[_0x47930b(0x1cb)],0x0)||!_0xf59b76?.[_0x47930b(0x24b)])continue;for(const _0x37b539 in _0xf59b76[_0x47930b(0x24b)]){_0x2db250['push'](_0xf59b76[_0x47930b(0x24b)][_0x37b539]);}}WebGroupData[_0x47930b(0x20d)]['set'](_0x596c42,_0x2db250),WebGroupData[_0x47930b(0x1fe)][_0x47930b(0x219)](_0x596c42,Date[_0x47930b(0x20f)]());}else _0x2db250=_0x327202;}catch{return _0x2db250;}return _0x2db250;}static async[_0x3b5a00(0x1be)](_0x5ff547,_0xc5cc1c=''){const _0x2245c6=_0x3b5a00,_0x51d4b1={'vJAbF':'qun.qq.com','eUtpb':function(_0x48c619,_0x49eacb){return _0x48c619+_0x49eacb;},'LqODU':function(_0x4fdc38,_0x444a){return _0x4fdc38+_0x444a;},'IawTQ':_0x2245c6(0x1d4),'mVKNS':_0x2245c6(0x252),'GCleB':';\x20p_uin=o','LIMtu':function(_0xe796ac,_0x4848f5){return _0xe796ac+_0x4848f5;},'AvnCV':function(_0x2e952d,_0x383cbe){return _0x2e952d+_0x383cbe;},'xUygb':'qid=','rlpJa':_0x2245c6(0x204),'RLZxf':_0x2245c6(0x210),'uCiHY':function(_0x25652a,_0x40f3b9){return _0x25652a+_0x40f3b9;}},_0x2ff123=(await NTQQUserApi['getPSkey']([_0x2245c6(0x22a)]))[_0x51d4b1[_0x2245c6(0x1c0)]],_0x4d99bb=await NTQQUserApi[_0x2245c6(0x1e4)](),_0x71193a=_0x51d4b1[_0x2245c6(0x1e5)](_0x51d4b1[_0x2245c6(0x249)](_0x51d4b1[_0x2245c6(0x1e5)](_0x51d4b1[_0x2245c6(0x249)](_0x51d4b1[_0x2245c6(0x249)](_0x51d4b1['IawTQ'],_0x2ff123),_0x51d4b1[_0x2245c6(0x227)]),_0x4d99bb),_0x51d4b1[_0x2245c6(0x239)]),selfInfo[_0x2245c6(0x22f)]);let _0x50fc89=undefined;if(!_0x4d99bb||!_0x2ff123)return undefined;const _0x3e741e=WebApi[_0x2245c6(0x1f5)](_0x4d99bb),_0x23c77c=_0x51d4b1[_0x2245c6(0x249)](_0x51d4b1[_0x2245c6(0x1e5)](_0x51d4b1[_0x2245c6(0x1e5)](_0x51d4b1['LIMtu'](_0x51d4b1[_0x2245c6(0x1f1)](_0x51d4b1['xUygb'],_0x5ff547),_0x51d4b1[_0x2245c6(0x206)]),_0x3e741e)+_0x51d4b1[_0x2245c6(0x1d2)],_0xc5cc1c),_0x2245c6(0x242)),_0x2f52ee=_0x51d4b1['uCiHY'](_0x2245c6(0x21c),_0x3e741e);try{return _0x50fc89=await RequestUtil['HttpGetJson'](_0x2f52ee,_0x2245c6(0x221),'',{'Cookie':_0x71193a}),_0x50fc89;}catch(_0x4694e9){return undefined;}return undefined;}static async[_0x3b5a00(0x1ec)](_0x453c61){const _0x7f39ae=_0x3b5a00,_0x34ba5d={'pxMKU':function(_0x38476e,_0xe1502d){return _0x38476e+_0xe1502d;},'Yxumf':function(_0x123b81,_0x169c7d){return _0x123b81+_0x169c7d;},'NYGge':function(_0x42e2eb,_0x39ead8){return _0x42e2eb+_0x39ead8;},'vaPdm':_0x7f39ae(0x1d4),'hyygs':_0x7f39ae(0x252),'nBOxZ':function(_0x3e8e8a,_0x209f50){return _0x3e8e8a+_0x209f50;},'NZgMo':'&qid=','Usrug':_0x7f39ae(0x217),'nRbRz':function(_0x42c481,_0x22c396){return _0x42c481!==_0x22c396;}},_0x3dd006=(await NTQQUserApi['getPSkey']([_0x7f39ae(0x22a)]))[_0x7f39ae(0x22a)],_0x1e9727=await NTQQUserApi[_0x7f39ae(0x1e4)](),_0x109fb8=_0x34ba5d[_0x7f39ae(0x24a)](_0x34ba5d[_0x7f39ae(0x1d3)](_0x34ba5d[_0x7f39ae(0x24a)](_0x34ba5d[_0x7f39ae(0x211)](_0x34ba5d[_0x7f39ae(0x1d3)](_0x34ba5d[_0x7f39ae(0x1e0)],_0x3dd006),_0x34ba5d[_0x7f39ae(0x20c)]),_0x1e9727),_0x7f39ae(0x238)),selfInfo[_0x7f39ae(0x22f)]);let _0x4defc9=undefined;if(!_0x1e9727||!_0x3dd006)return undefined;const _0x3e637c=WebApi['genBkn'](_0x1e9727),_0x1f4b16=_0x34ba5d[_0x7f39ae(0x1d3)](_0x34ba5d[_0x7f39ae(0x24a)](_0x34ba5d[_0x7f39ae(0x1d3)](_0x34ba5d[_0x7f39ae(0x1d1)]('https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',_0x3e637c),_0x34ba5d['NZgMo']),_0x453c61),_0x34ba5d['Usrug']);try{_0x4defc9=await RequestUtil[_0x7f39ae(0x232)](_0x1f4b16,_0x7f39ae(0x221),'',{'Cookie':_0x109fb8});if(_0x34ba5d[_0x7f39ae(0x212)](_0x4defc9?.['ec'],0x0))return undefined;return _0x4defc9;}catch(_0x11479b){return undefined;}return undefined;}static[_0x3b5a00(0x1f5)](_0x3fd1e8){const _0x298f92=_0x3b5a00,_0x34fea5={'joiPP':function(_0x4c044e,_0x182389){return _0x4c044e||_0x182389;},'lIwQZ':function(_0x39eb1a,_0x4d7c36){return _0x39eb1a<_0x4d7c36;},'FOYnW':function(_0x39d6b6,_0x2e36bd){return _0x39d6b6+_0x2e36bd;},'Bxaap':function(_0x3357ae,_0x52f7e4){return _0x3357ae&_0x52f7e4;}};_0x3fd1e8=_0x34fea5[_0x298f92(0x23c)](_0x3fd1e8,'');let _0x11a202=0x1505;for(let _0x1431a7=0x0;_0x34fea5[_0x298f92(0x250)](_0x1431a7,_0x3fd1e8[_0x298f92(0x1e9)]);_0x1431a7++){const _0x108c74=_0x3fd1e8[_0x298f92(0x21a)](_0x1431a7);_0x11a202=_0x34fea5[_0x298f92(0x23f)](_0x11a202+(_0x11a202<<0x5),_0x108c74);}return _0x34fea5[_0x298f92(0x20a)](_0x11a202,0x7fffffff)['toString']();}static async[_0x3b5a00(0x214)](_0x3249a4,_0x481288){const _0x2293ce=_0x3b5a00,_0x10a32c={'DqDPx':function(_0x177d10,_0x2651b1){return _0x177d10+_0x2651b1;},'KPoJu':function(_0x463e2b,_0x57a76a){return _0x463e2b+_0x57a76a;},'NpawM':function(_0x8749c7,_0x55180f){return _0x8749c7+_0x55180f;},'jySzW':_0x2293ce(0x1d5),'cAVPf':_0x2293ce(0x248),'mMiGI':_0x2293ce(0x221),'BcReq':function(_0x4c5feb,_0x10bf5b){return _0x4c5feb===_0x10bf5b;},'dysyH':function(_0x204c1b,_0x3314f5,_0x43e20a,_0x57ef37){return _0x204c1b(_0x3314f5,_0x43e20a,_0x57ef37);},'XEUcu':_0x2293ce(0x1ea),'BCfVL':_0x2293ce(0x22a),'ATdmc':function(_0x1a3b13,_0x1f3d0d){return _0x1a3b13||_0x1f3d0d;},'HHxhf':function(_0x53e94a,_0x3f849b){return _0x53e94a+_0x3f849b;},'dsMWQ':'p_skey=','NPlNE':_0x2293ce(0x252),'LdkrX':_0x2293ce(0x238),'RxFyz':function(_0x3aa698,_0x5eced5){return _0x3aa698===_0x5eced5;},'ERRAL':function(_0x2f6db4,_0x112032,_0x3686ff){return _0x2f6db4(_0x112032,_0x3686ff);},'AxoSf':_0x2293ce(0x1d9),'vPTLx':function(_0xedfd05,_0x40b749){return _0xedfd05(_0x40b749);},'ZZLvZ':function(_0x15a2dc,_0x195421,_0x100416){return _0x15a2dc(_0x195421,_0x100416);},'jBLVf':function(_0x543dd0,_0x108ce8,_0x34964e){return _0x543dd0(_0x108ce8,_0x34964e);},'pXXGL':function(_0xe9beb6,_0x2b19e7,_0x345b88){return _0xe9beb6(_0x2b19e7,_0x345b88);},'arSPI':_0x2293ce(0x1dc),'dzjyH':function(_0x4e1850,_0x28d06f){return _0x4e1850===_0x28d06f;},'ThoMM':function(_0x30dd5d,_0x21d6c6,_0x3f6780){return _0x30dd5d(_0x21d6c6,_0x3f6780);},'VwkoG':_0x2293ce(0x245),'yZzXU':function(_0x4db8d5,_0x13e1d9){return _0x4db8d5===_0x13e1d9;}},_0x307c50=(await NTQQUserApi[_0x2293ce(0x1c6)]([_0x10a32c[_0x2293ce(0x1e6)]]))[_0x10a32c[_0x2293ce(0x1e6)]],_0x3937c2=await NTQQUserApi['getSkey']();if(_0x10a32c[_0x2293ce(0x21e)](!_0x3937c2,!_0x307c50))return undefined;async function _0xa984c(_0x138566,_0x2824bd){const _0x5cff75=_0x2293ce;let _0x1d8052=_0x10a32c[_0x5cff75(0x1f0)](_0x10a32c[_0x5cff75(0x231)](_0x10a32c[_0x5cff75(0x1df)](_0x10a32c[_0x5cff75(0x20b)],_0x138566),_0x10a32c[_0x5cff75(0x21b)]),_0x2824bd['toString']()),_0x4a7eee='',_0x4a929f;try{_0x4a7eee=await RequestUtil[_0x5cff75(0x23a)](_0x1d8052,_0x10a32c[_0x5cff75(0x1e2)],'',{'Cookie':_0x47e5a3});const _0x57d769=_0x4a7eee['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x57d769&&(_0x4a929f=JSON[_0x5cff75(0x201)](_0x57d769[0x1][_0x5cff75(0x246)]())),_0x10a32c[_0x5cff75(0x22d)](_0x2824bd,0x1)?_0x4a929f?.[_0x5cff75(0x1c4)]:_0x4a929f?.[_0x5cff75(0x1ee)];}catch(_0x23b170){_0x10a32c[_0x5cff75(0x253)](logDebug,_0x10a32c['XEUcu'],_0x1d8052,_0x23b170);}return undefined;}let _0x1fedad={'group_id':_0x3249a4};const _0x47e5a3=_0x10a32c[_0x2293ce(0x1f0)](_0x10a32c[_0x2293ce(0x231)](_0x10a32c['KPoJu'](_0x10a32c['HHxhf'](_0x10a32c[_0x2293ce(0x231)](_0x10a32c[_0x2293ce(0x1df)](_0x10a32c[_0x2293ce(0x1f3)],_0x307c50)+_0x10a32c[_0x2293ce(0x1f4)],_0x3937c2),_0x10a32c['LdkrX']),selfInfo[_0x2293ce(0x22f)]),_0x2293ce(0x1d8)),selfInfo['uin']);if(_0x10a32c['RxFyz'](_0x481288,WebHonorType[_0x2293ce(0x228)])||_0x10a32c[_0x2293ce(0x22c)](_0x481288,WebHonorType[_0x2293ce(0x23e)]))try{let _0x546c7d=await _0x10a32c[_0x2293ce(0x1c1)](_0xa984c,_0x3249a4,0x1);if(!_0x546c7d)throw new Error(_0x10a32c['AxoSf']);_0x1fedad[_0x2293ce(0x1fc)]={'user_id':_0x546c7d[0x0]?.[_0x2293ce(0x22f)],'avatar':_0x546c7d[0x0]?.[_0x2293ce(0x1c5)],'nickname':_0x546c7d[0x0]?.[_0x2293ce(0x1cf)],'day_count':0x0,'description':_0x546c7d[0x0]?.[_0x2293ce(0x215)]},_0x1fedad['talkative_list']=[];for(const _0xe939a4 of _0x546c7d){_0x1fedad[_0x2293ce(0x1e8)][_0x2293ce(0x1bf)]({'user_id':_0xe939a4?.['uin'],'avatar':_0xe939a4?.[_0x2293ce(0x1c5)],'description':_0xe939a4?.[_0x2293ce(0x215)],'day_count':0x0,'nickname':_0xe939a4?.[_0x2293ce(0x1cf)]});}}catch(_0x2de8fd){_0x10a32c[_0x2293ce(0x200)](logDebug,_0x2de8fd);}if(_0x10a32c['BcReq'](_0x481288,WebHonorType[_0x2293ce(0x241)])||_0x10a32c['BcReq'](_0x481288,WebHonorType[_0x2293ce(0x23e)]))try{let _0x47f068=await _0x10a32c['ZZLvZ'](_0xa984c,_0x3249a4,0x2);if(!_0x47f068)throw new Error(_0x2293ce(0x1b9));_0x1fedad[_0x2293ce(0x243)]=[];for(const _0x1d32a3 of _0x47f068){_0x1fedad[_0x2293ce(0x243)][_0x2293ce(0x1bf)]({'user_id':_0x1d32a3?.[_0x2293ce(0x22f)],'nickname':_0x1d32a3?.[_0x2293ce(0x1cf)],'avatar':_0x1d32a3?.[_0x2293ce(0x1c5)],'description':_0x1d32a3?.[_0x2293ce(0x215)]});}}catch(_0x55c981){logDebug(_0x55c981);}if(_0x10a32c['RxFyz'](_0x481288,WebHonorType['PERFROMER'])||_0x10a32c['RxFyz'](_0x481288,WebHonorType[_0x2293ce(0x23e)]))try{let _0x1a9746=await _0x10a32c[_0x2293ce(0x1cc)](_0xa984c,_0x3249a4,0x3);if(!_0x1a9746)throw new Error('获取群聊炽焰失败');_0x1fedad[_0x2293ce(0x1ba)]=[];for(const _0x26f0a0 of _0x1a9746){_0x1fedad[_0x2293ce(0x1ba)][_0x2293ce(0x1bf)]({'user_id':_0x26f0a0?.[_0x2293ce(0x22f)],'nickname':_0x26f0a0?.[_0x2293ce(0x1cf)],'avatar':_0x26f0a0?.[_0x2293ce(0x1c5)],'desc':_0x26f0a0?.['description']});}}catch(_0x4fa622){_0x10a32c[_0x2293ce(0x226)](logDebug,_0x10a32c[_0x2293ce(0x1f7)],_0x4fa622);}if(_0x10a32c[_0x2293ce(0x235)](_0x481288,WebHonorType['EMOTION'])||_0x481288===WebHonorType['ALL'])try{let _0x177ebd=await _0x10a32c[_0x2293ce(0x1e7)](_0xa984c,_0x3249a4,0x6);if(!_0x177ebd)throw new Error('获取快乐源泉失败');_0x1fedad['emotion_list']=[];for(const _0x3be1d1 of _0x177ebd){_0x1fedad['emotion_list']['push']({'user_id':_0x3be1d1?.['uin'],'nickname':_0x3be1d1?.[_0x2293ce(0x1cf)],'avatar':_0x3be1d1?.[_0x2293ce(0x1c5)],'desc':_0x3be1d1?.[_0x2293ce(0x1d0)]});}}catch(_0x304a9d){_0x10a32c[_0x2293ce(0x1e7)](logDebug,_0x10a32c[_0x2293ce(0x1eb)],_0x304a9d);}return(_0x10a32c[_0x2293ce(0x205)](_0x481288,WebHonorType[_0x2293ce(0x1ed)])||_0x10a32c['BcReq'](_0x481288,WebHonorType[_0x2293ce(0x23e)]))&&(_0x1fedad[_0x2293ce(0x1e3)]=[]),_0x1fedad;}} \ No newline at end of file +const _0x458c45=_0x37a5;(function(_0x36918e,_0x5cf68f){const _0x129258=_0x37a5,_0xd5f5e9=_0x36918e();while(!![]){try{const _0x3783c3=-parseInt(_0x129258(0x1d3))/0x1+-parseInt(_0x129258(0x15e))/0x2*(-parseInt(_0x129258(0x1bd))/0x3)+-parseInt(_0x129258(0x17f))/0x4*(-parseInt(_0x129258(0x1ac))/0x5)+parseInt(_0x129258(0x15b))/0x6*(parseInt(_0x129258(0x13a))/0x7)+parseInt(_0x129258(0x143))/0x8*(parseInt(_0x129258(0x17c))/0x9)+parseInt(_0x129258(0x1a0))/0xa*(parseInt(_0x129258(0x16a))/0xb)+-parseInt(_0x129258(0x19d))/0xc*(parseInt(_0x129258(0x1be))/0xd);if(_0x3783c3===_0x5cf68f)break;else _0xd5f5e9['push'](_0xd5f5e9['shift']());}catch(_0xa9c5b7){_0xd5f5e9['push'](_0xd5f5e9['shift']());}}}(_0x545b,0x609c4));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x545b(){const _0x2e34ed=['actorList',';\x20uin=o','FhrLx','STORONGE_NEWBI','84kxIlVv','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','kNASS','10860LmZhMN',';\x20p_uin=o','p_skey=','JPvbk','talkative','now','YMScW','cvdtU','KcGaC','strong_newbie','uin','GfPHV','30LSEgyK','QpGhC','wejfG','getGroupMembers','lEcLg','&bkn=','kANBL','JYUoy','legend_list','OlAOn','getPSkey','tDxVi','mRSAF','JyJMJ','NveAW','ixaLb','MYugG','1579536atvzLz','2381431QOFLGC','GAIwp','bRuhO','VRWnd','5|2|0|1|4|3','获取快乐源泉失败','yWcJq','gVdMG','OpFqM','EMOTION','KVDgc','KKaXS','performer_list','errcode','dFtGd','strong_newbie_list','TALKACTIVE','GroupData',';\x20skey=','FbmVg','AknHQ','456246WbuMbU','BYrKF','HttpGetText','cGHpZ','mLkrz','GroupTime','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','dKZff','ZUXuQ','dQevy','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','PERFROMER','ZRLfB','KEcwD','IkSXk','mems','hGhKP','rOrMt','wvJzy','508641fPzrov','获取群聊炽焰失败','iSRTA','getGroupHonorInfo','Dnzcy','geaIF','Ogtbc','GafLN','&qid=','4052032uaCTgz','RzMdq','UxURV','count','rfCFf','MjjLP','performer','TMCMT','getGrouptNotice','BnWjg','获取龙王信息失败','WsiMR','rCIYh','TLwIO','OqVgT','tNmQP','soGce','WjuKQ','desc','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','&type=','dHsfv','parse','gAYEh','18xJuhAI','KmEYf','name','2hGCIxf','emotion_list','&sort=1&gc=','jTZQJ','AzIIP','split','RBYct','get','retcode','pRpjL','QJhiy','talkative_list','6622opNeXp','&group_code=','MkcRM','&page_start=','PdKSZ','获取群聊之火失败','fLqNs','UYocb','set','LuTKz','description','KzMcE','xsVuQ','GET','qun.qq.com','avatar','lqzHe','genBkn','9pzcvYQ','LkODa','omGrK','152996UFacQC','QXskw','&page_limit=20','IWWeB','getSkey','push','NOgvN','MlUhB','RmFcL','tjywl','jhCJQ','yMlcd','获取当前群荣耀失败','match','qid=','ceil','lDamV','iWKWj','emotion','toString','lpiTm','HttpGetJson','ELVzP','tdZMw','talkativeList','ALL'];_0x545b=function(){return _0x2e34ed;};return _0x545b();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x2b764b){const _0xb16166=_0x37a5,_0x3c18dc={'KzMcE':_0xb16166(0x1c2),'xsVuQ':_0xb16166(0x132),'omGrK':_0xb16166(0x149),'gVdMG':'LEGEND','AknHQ':'legend','UxURV':_0xb16166(0x1ce),'RBYct':_0xb16166(0x1a4),'gamXx':_0xb16166(0x1c7),'Ogtbc':_0xb16166(0x19c),'CXUuR':_0xb16166(0x1a9),'KoVhV':_0xb16166(0x198),'HKCmE':'all'},_0x5e53b7=_0x3c18dc[_0xb16166(0x175)][_0xb16166(0x163)]('|');let _0x13d50b=0x0;while(!![]){switch(_0x5e53b7[_0x13d50b++]){case'0':_0x2b764b[_0x3c18dc[_0xb16166(0x176)]]=_0x3c18dc[_0xb16166(0x17e)];continue;case'1':_0x2b764b[_0x3c18dc[_0xb16166(0x1c5)]]=_0x3c18dc[_0xb16166(0x1d2)];continue;case'2':_0x2b764b[_0x3c18dc[_0xb16166(0x145)]]=_0x3c18dc[_0xb16166(0x164)];continue;case'3':_0x2b764b[_0x3c18dc['gamXx']]=_0xb16166(0x191);continue;case'4':_0x2b764b[_0x3c18dc[_0xb16166(0x140)]]=_0x3c18dc['CXUuR'];continue;case'5':_0x2b764b[_0x3c18dc['KoVhV']]=_0x3c18dc['HKCmE'];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x37a5(_0x1b7f1e,_0x40f6ef){const _0x545bc5=_0x545b();return _0x37a5=function(_0x37a5e3,_0x51268e){_0x37a5e3=_0x37a5e3-0x12e;let _0x48d792=_0x545bc5[_0x37a5e3];return _0x48d792;},_0x37a5(_0x1b7f1e,_0x40f6ef);}export class WebApi{static async['getGroupEssenceMsg'](_0x5159b3,_0x330677){const _0x2e2ca0=_0x37a5,_0x2e20d1={'soGce':'qun.qq.com','KcGaC':function(_0x58f502,_0x155dd1){return _0x58f502+_0x155dd1;},'tDxVi':function(_0x2e136e,_0x9076bb){return _0x2e136e+_0x9076bb;},'Dnzcy':_0x2e2ca0(0x1a2),'mvBii':_0x2e2ca0(0x1d0),'IkSXk':_0x2e2ca0(0x19a),'LgiHC':function(_0x285e83,_0x106284){return _0x285e83||_0x106284;},'iWKWj':function(_0xb8b4ad,_0x2758a7){return _0xb8b4ad+_0x2758a7;},'QXskw':function(_0x186c7c,_0xab9599){return _0x186c7c+_0xab9599;},'jhCJQ':_0x2e2ca0(0x1d9),'VRWnd':_0x2e2ca0(0x16b),'lqzHe':_0x2e2ca0(0x16d),'GAIwp':_0x2e2ca0(0x181),'QpGhC':_0x2e2ca0(0x177),'fLqNs':function(_0xfdfd99,_0x194052){return _0xfdfd99!==_0x194052;}},_0x429a37=(await NTQQUserApi['getPSkey']([_0x2e20d1[_0x2e2ca0(0x153)]]))[_0x2e20d1[_0x2e2ca0(0x153)]],_0x21553a=await NTQQUserApi['getSkey'](),_0x1a87bd=_0x2e20d1[_0x2e2ca0(0x1a8)](_0x2e20d1[_0x2e2ca0(0x1b7)](_0x2e20d1[_0x2e2ca0(0x1a8)](_0x2e20d1['tDxVi'](_0x2e20d1['tDxVi'](_0x2e20d1[_0x2e2ca0(0x13e)],_0x429a37),_0x2e20d1['mvBii']),_0x21553a)+_0x2e2ca0(0x1a1),selfInfo['uin'])+_0x2e20d1[_0x2e2ca0(0x135)],selfInfo[_0x2e2ca0(0x1aa)]);if(_0x2e20d1['LgiHC'](!_0x21553a,!_0x429a37))return undefined;const _0x1d8d7c=WebApi[_0x2e2ca0(0x17b)](_0x21553a),_0x56c503=_0x2e20d1[_0x2e2ca0(0x1a8)](_0x2e20d1[_0x2e2ca0(0x190)](_0x2e20d1[_0x2e2ca0(0x180)](_0x2e20d1[_0x2e2ca0(0x1b7)](_0x2e20d1[_0x2e2ca0(0x189)],_0x1d8d7c),_0x2e20d1[_0x2e2ca0(0x1c1)])+_0x5159b3,_0x2e20d1[_0x2e2ca0(0x17a)])+_0x330677,_0x2e20d1[_0x2e2ca0(0x1bf)]);let _0x2ab91b;try{_0x2ab91b=await RequestUtil['HttpGetJson'](_0x56c503,_0x2e20d1[_0x2e2ca0(0x1ad)],'',{'Cookie':_0x1a87bd});}catch{return undefined;}if(_0x2e20d1[_0x2e2ca0(0x170)](_0x2ab91b[_0x2e2ca0(0x166)],0x0))return undefined;return _0x2ab91b;}static async[_0x458c45(0x1af)](_0x58e00c,_0x13c6df=!![]){const _0x3f3a6d=_0x458c45,_0x534e9c={'PCaZC':function(_0x31e963,_0x2fa639){return _0x31e963>_0x2fa639;},'BYrKF':function(_0x1abe1c,_0x5dc1cd){return _0x1abe1c-_0x5dc1cd;},'LuTKz':function(_0x23ac2c,_0x8fde30){return _0x23ac2c*_0x8fde30;},'WCxvt':_0x3f3a6d(0x178),'lpiTm':function(_0xfc45c5,_0x4679fc){return _0xfc45c5+_0x4679fc;},'JYUoy':function(_0x4fab57,_0x5a413d){return _0x4fab57+_0x5a413d;},'QJhiy':function(_0x6ef7e2,_0x56c616){return _0x6ef7e2+_0x56c616;},'OlAOn':_0x3f3a6d(0x1a2),'yWcJq':_0x3f3a6d(0x1d0),'FhrLx':_0x3f3a6d(0x1a1),'VAtzO':function(_0x6cbca4,_0x24bf3f){return _0x6cbca4||_0x24bf3f;},'lEcLg':function(_0x575b2b,_0x4893be){return _0x575b2b+_0x4893be;},'NOgvN':_0x3f3a6d(0x156),'mLkrz':_0x3f3a6d(0x1b1),'jTZQJ':'POST','LkODa':function(_0x445589,_0x3f4bb5){return _0x445589!==_0x3f4bb5;},'AzIIP':function(_0x4b59e1,_0x2e043b){return _0x4b59e1<=_0x2e043b;},'hGhKP':function(_0x580d9a,_0x5f2046){return _0x580d9a+_0x5f2046;},'bRuhO':function(_0x58ae40,_0x4e13c1){return _0x58ae40+_0x4e13c1;},'NveAW':function(_0x59c4a5,_0x839ac3){return _0x59c4a5+_0x839ac3;},'dKZff':function(_0x41d057,_0x515348){return _0x41d057+_0x515348;},'JPvbk':function(_0x1e948f,_0x5a2742){return _0x1e948f+_0x5a2742;},'dFtGd':function(_0x5a2f8e,_0x433b15){return _0x5a2f8e+_0x433b15;},'ixaLb':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','wejfG':function(_0x4b6bb7,_0x2eb59a){return _0x4b6bb7*_0x2eb59a;}};let _0x5a32b3=new Array();try{let _0x33803a=WebGroupData[_0x3f3a6d(0x1cf)][_0x3f3a6d(0x165)](_0x58e00c),_0xeea70d=WebGroupData[_0x3f3a6d(0x1d8)][_0x3f3a6d(0x165)](_0x58e00c);if(!_0xeea70d||_0x534e9c['PCaZC'](_0x534e9c[_0x3f3a6d(0x1d4)](Date[_0x3f3a6d(0x1a5)](),_0xeea70d),_0x534e9c[_0x3f3a6d(0x173)](0x708,0x3e8))||!_0x13c6df){const _0x24fd63=(await NTQQUserApi['getPSkey']([_0x3f3a6d(0x178)]))[_0x534e9c['WCxvt']],_0x9a2bb1=await NTQQUserApi['getSkey'](),_0x3da35e=_0x534e9c[_0x3f3a6d(0x193)](_0x534e9c['lpiTm'](_0x534e9c[_0x3f3a6d(0x1b3)](_0x534e9c[_0x3f3a6d(0x168)](_0x534e9c[_0x3f3a6d(0x1b5)]+_0x24fd63,_0x534e9c[_0x3f3a6d(0x1c4)]),_0x9a2bb1),_0x534e9c[_0x3f3a6d(0x19b)]),selfInfo[_0x3f3a6d(0x1aa)]);if(_0x534e9c['VAtzO'](!_0x9a2bb1,!_0x24fd63))return _0x5a32b3;const _0x4ac400=WebApi[_0x3f3a6d(0x17b)](_0x9a2bb1),_0x21c3cf=[],_0x28d127=await RequestUtil['HttpGetJson'](_0x534e9c[_0x3f3a6d(0x168)](_0x534e9c[_0x3f3a6d(0x1b0)](_0x534e9c[_0x3f3a6d(0x185)],_0x58e00c),_0x534e9c[_0x3f3a6d(0x1d7)])+_0x4ac400,_0x534e9c[_0x3f3a6d(0x161)],'',{'Cookie':_0x3da35e});if(!_0x28d127?.[_0x3f3a6d(0x146)]||_0x534e9c[_0x3f3a6d(0x17d)](_0x28d127?.[_0x3f3a6d(0x1cb)],0x0)||!_0x28d127?.['mems'])return[];else for(const _0x5db099 in _0x28d127[_0x3f3a6d(0x136)]){_0x5a32b3[_0x3f3a6d(0x184)](_0x28d127[_0x3f3a6d(0x136)][_0x5db099]);}const _0x1512a9=Math[_0x3f3a6d(0x18e)](_0x28d127[_0x3f3a6d(0x146)]/0x28);for(let _0x222bb7=0x2;_0x534e9c[_0x3f3a6d(0x162)](_0x222bb7,_0x1512a9);_0x222bb7++){const _0x3fc506=RequestUtil[_0x3f3a6d(0x194)](_0x534e9c[_0x3f3a6d(0x137)](_0x534e9c[_0x3f3a6d(0x1c0)](_0x534e9c[_0x3f3a6d(0x1ba)](_0x534e9c[_0x3f3a6d(0x1ba)](_0x534e9c[_0x3f3a6d(0x12e)](_0x534e9c[_0x3f3a6d(0x1a3)](_0x534e9c[_0x3f3a6d(0x1cc)](_0x534e9c[_0x3f3a6d(0x1bb)],_0x534e9c[_0x3f3a6d(0x173)](_0x534e9c[_0x3f3a6d(0x1d4)](_0x222bb7,0x1),0x28)),'&end='),_0x534e9c[_0x3f3a6d(0x1ae)](_0x222bb7,0x28)),_0x3f3a6d(0x160)),_0x58e00c),_0x3f3a6d(0x1b1)),_0x4ac400),_0x534e9c[_0x3f3a6d(0x161)],'',{'Cookie':_0x3da35e});_0x21c3cf[_0x3f3a6d(0x184)](_0x3fc506);}for(let _0x63dd1a=0x1;_0x63dd1a<=_0x1512a9;_0x63dd1a++){const _0x4690b5=await _0x21c3cf[_0x63dd1a];if(!_0x4690b5?.[_0x3f3a6d(0x146)]||_0x534e9c[_0x3f3a6d(0x17d)](_0x4690b5?.[_0x3f3a6d(0x1cb)],0x0)||!_0x4690b5?.[_0x3f3a6d(0x136)])continue;for(const _0x158b03 in _0x4690b5['mems']){_0x5a32b3['push'](_0x4690b5['mems'][_0x158b03]);}}WebGroupData['GroupData'][_0x3f3a6d(0x172)](_0x58e00c,_0x5a32b3),WebGroupData['GroupTime'][_0x3f3a6d(0x172)](_0x58e00c,Date[_0x3f3a6d(0x1a5)]());}else _0x5a32b3=_0x33803a;}catch{return _0x5a32b3;}return _0x5a32b3;}static async['setGroupNotice'](_0x27a420,_0x112b5c=''){const _0x2ced85=_0x458c45,_0x4bdd98={'RmFcL':_0x2ced85(0x178),'KVDgc':function(_0x45a7a0,_0x36a687){return _0x45a7a0+_0x36a687;},'KFHQT':function(_0x291e14,_0x3dfc26){return _0x291e14+_0x3dfc26;},'MjjLP':function(_0x565f5d,_0xe23e17){return _0x565f5d+_0xe23e17;},'cvdtU':_0x2ced85(0x1d0),'drBIo':_0x2ced85(0x1a1),'BnWjg':function(_0x18f2bb,_0x99692){return _0x18f2bb||_0x99692;},'lJFpV':function(_0xb2e1e,_0x396298){return _0xb2e1e+_0x396298;},'tdZMw':function(_0x17bb42,_0xfcd158){return _0x17bb42+_0xfcd158;},'rfCFf':function(_0x51aa4c,_0x3c6301){return _0x51aa4c+_0x3c6301;},'OpFqM':function(_0x50a80c,_0x1c902c){return _0x50a80c+_0x1c902c;},'bcynT':function(_0x381e10,_0xbbb9e1){return _0x381e10+_0xbbb9e1;},'iSRTA':_0x2ced85(0x18d),'MlUhB':_0x2ced85(0x1b1),'GfPHV':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0x47462e=(await NTQQUserApi[_0x2ced85(0x1b6)]([_0x4bdd98[_0x2ced85(0x187)]]))[_0x4bdd98[_0x2ced85(0x187)]],_0x260cbd=await NTQQUserApi[_0x2ced85(0x183)](),_0x5a9938=_0x4bdd98[_0x2ced85(0x1c8)](_0x4bdd98['KFHQT'](_0x4bdd98[_0x2ced85(0x148)](_0x2ced85(0x1a2),_0x47462e),_0x4bdd98[_0x2ced85(0x1a7)])+_0x260cbd+_0x4bdd98['drBIo'],selfInfo[_0x2ced85(0x1aa)]);let _0x96f5d4=undefined;if(_0x4bdd98[_0x2ced85(0x14c)](!_0x260cbd,!_0x47462e))return undefined;const _0x4e71d3=WebApi[_0x2ced85(0x17b)](_0x260cbd),_0x3ad5ca=_0x4bdd98['lJFpV'](_0x4bdd98['tdZMw'](_0x4bdd98[_0x2ced85(0x147)](_0x4bdd98[_0x2ced85(0x1c6)](_0x4bdd98['bcynT'](_0x4bdd98[_0x2ced85(0x13c)],_0x27a420)+_0x4bdd98[_0x2ced85(0x186)],_0x4e71d3),'&text='),_0x112b5c),_0x2ced85(0x19e)),_0x165554=_0x4bdd98[_0x2ced85(0x196)](_0x4bdd98[_0x2ced85(0x1ab)],_0x4e71d3);try{return _0x96f5d4=await RequestUtil[_0x2ced85(0x194)](_0x165554,_0x2ced85(0x177),'',{'Cookie':_0x5a9938}),_0x96f5d4;}catch(_0x2f2411){return undefined;}return undefined;}static async[_0x458c45(0x14b)](_0x45f899){const _0x3ccdbb=_0x458c45,_0x53a85e={'MYugG':_0x3ccdbb(0x178),'ZRLfB':function(_0x108f82,_0x25df47){return _0x108f82+_0x25df47;},'geaIF':_0x3ccdbb(0x1a2),'KmEYf':_0x3ccdbb(0x1d0),'tjywl':_0x3ccdbb(0x1a1),'VivzQ':function(_0x26d164,_0x58abdc){return _0x26d164+_0x58abdc;},'wvJzy':function(_0x2fb0e2,_0x4af347){return _0x2fb0e2+_0x4af347;},'rCIYh':function(_0x375d8c,_0x24a44e){return _0x375d8c+_0x24a44e;},'rOrMt':function(_0x33bbbe,_0x40a7c3){return _0x33bbbe+_0x40a7c3;},'lDamV':_0x3ccdbb(0x131),'TLwIO':_0x3ccdbb(0x142),'yMlcd':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','GafLN':function(_0x57fc03,_0x260191){return _0x57fc03!==_0x260191;}},_0xbe5923=(await NTQQUserApi[_0x3ccdbb(0x1b6)]([_0x53a85e[_0x3ccdbb(0x1bc)]]))[_0x53a85e[_0x3ccdbb(0x1bc)]],_0x94c5f4=await NTQQUserApi['getSkey'](),_0x2fd7a5=_0x53a85e[_0x3ccdbb(0x133)](_0x53a85e[_0x3ccdbb(0x133)](_0x53a85e[_0x3ccdbb(0x133)](_0x53a85e[_0x3ccdbb(0x133)](_0x53a85e[_0x3ccdbb(0x13f)],_0xbe5923)+_0x53a85e[_0x3ccdbb(0x15c)],_0x94c5f4),_0x53a85e[_0x3ccdbb(0x188)]),selfInfo[_0x3ccdbb(0x1aa)]);let _0x2043af=undefined;if(!_0x94c5f4||!_0xbe5923)return undefined;const _0x2c96fa=WebApi[_0x3ccdbb(0x17b)](_0x94c5f4),_0x474382=_0x53a85e['VivzQ'](_0x53a85e[_0x3ccdbb(0x139)](_0x53a85e[_0x3ccdbb(0x14f)](_0x53a85e[_0x3ccdbb(0x138)](_0x53a85e[_0x3ccdbb(0x18f)],_0x2c96fa),_0x53a85e[_0x3ccdbb(0x150)]),_0x45f899),_0x53a85e[_0x3ccdbb(0x18a)]);try{_0x2043af=await RequestUtil[_0x3ccdbb(0x194)](_0x474382,_0x3ccdbb(0x177),'',{'Cookie':_0x2fd7a5});if(_0x53a85e[_0x3ccdbb(0x141)](_0x2043af?.['ec'],0x0))return undefined;return _0x2043af;}catch(_0x30e6e3){return undefined;}return undefined;}static[_0x458c45(0x17b)](_0x23648e){const _0x1bd5c6=_0x458c45,_0x4f3020={'uRRxu':function(_0x4a3291,_0x36a358){return _0x4a3291||_0x36a358;},'kNASS':function(_0x2e7845,_0x4e433a){return _0x2e7845<_0x4e433a;},'dQevy':function(_0x27f89e,_0xfc047){return _0x27f89e<<_0xfc047;},'dLpHb':function(_0x24071e,_0x49a3bc){return _0x24071e&_0x49a3bc;}};_0x23648e=_0x4f3020['uRRxu'](_0x23648e,'');let _0x40f648=0x1505;for(let _0x1e433a=0x0;_0x4f3020[_0x1bd5c6(0x19f)](_0x1e433a,_0x23648e['length']);_0x1e433a++){const _0x577f70=_0x23648e['charCodeAt'](_0x1e433a);_0x40f648=_0x40f648+_0x4f3020[_0x1bd5c6(0x130)](_0x40f648,0x5)+_0x577f70;}return _0x4f3020['dLpHb'](_0x40f648,0x7fffffff)[_0x1bd5c6(0x192)]();}static async[_0x458c45(0x13d)](_0x3e77ad,_0x5e8430){const _0x4ee9d9=_0x458c45,_0x25f362={'kANBL':function(_0x22728e,_0x25a31e){return _0x22728e+_0x25a31e;},'IWWeB':function(_0x299006,_0x577a7d){return _0x299006+_0x577a7d;},'dHsfv':function(_0x4eea4c,_0x34d794){return _0x4eea4c+_0x34d794;},'PdKSZ':'https://qun.qq.com/interactive/honorlist?gc=','OSjpr':_0x4ee9d9(0x157),'fVwKf':_0x4ee9d9(0x177),'WjuKQ':function(_0x522737,_0x3412ff){return _0x522737===_0x3412ff;},'ZPdLJ':function(_0x3b86c6,_0x1437f1,_0x1992bd,_0x475e98){return _0x3b86c6(_0x1437f1,_0x1992bd,_0x475e98);},'WsiMR':_0x4ee9d9(0x18b),'MkcRM':'qun.qq.com','uRgte':function(_0x2cfd26,_0x55b5ab){return _0x2cfd26||_0x55b5ab;},'RzMdq':function(_0xc6a10c,_0x4e1a60){return _0xc6a10c+_0x4e1a60;},'KKaXS':function(_0x5ec684,_0x39ec1f){return _0x5ec684+_0x39ec1f;},'tNmQP':_0x4ee9d9(0x1a2),'cGHpZ':_0x4ee9d9(0x19a),'JyJMJ':function(_0x50d09a,_0x4961e0){return _0x50d09a===_0x4961e0;},'pRpjL':function(_0x414570,_0x530998,_0x571a6c){return _0x414570(_0x530998,_0x571a6c);},'UYocb':_0x4ee9d9(0x14d),'YMScW':function(_0x5b908e,_0x477a04){return _0x5b908e(_0x477a04);},'FbmVg':function(_0x343b1d,_0x281d8e){return _0x343b1d===_0x281d8e;},'KEcwD':function(_0x7a695f,_0x158aaf){return _0x7a695f===_0x158aaf;},'ELVzP':function(_0x489873,_0x15da56,_0x4182d7){return _0x489873(_0x15da56,_0x4182d7);},'gAYEh':_0x4ee9d9(0x16f),'ZUXuQ':function(_0x42a2c3,_0x214995){return _0x42a2c3===_0x214995;},'TMCMT':function(_0x1ad138,_0x59862b,_0xe3d707){return _0x1ad138(_0x59862b,_0xe3d707);},'dLpsT':function(_0x40b1ed,_0x4f7da7){return _0x40b1ed===_0x4f7da7;},'OqVgT':_0x4ee9d9(0x1c3),'lTLhj':function(_0x4548fb,_0x42e555,_0x2f240b){return _0x4548fb(_0x42e555,_0x2f240b);},'mRSAF':function(_0x1b1c4c,_0x5476d2){return _0x1b1c4c===_0x5476d2;}},_0x2a1628=(await NTQQUserApi[_0x4ee9d9(0x1b6)]([_0x25f362[_0x4ee9d9(0x16c)]]))[_0x25f362[_0x4ee9d9(0x16c)]],_0x160899=await NTQQUserApi['getSkey']();if(_0x25f362['uRgte'](!_0x160899,!_0x2a1628))return undefined;async function _0x3e1249(_0x3aa37d,_0x12d264){const _0x164cc3=_0x4ee9d9;let _0x3e0f3a=_0x25f362[_0x164cc3(0x1b2)](_0x25f362[_0x164cc3(0x182)](_0x25f362[_0x164cc3(0x158)](_0x25f362[_0x164cc3(0x16e)],_0x3aa37d),_0x25f362['OSjpr']),_0x12d264[_0x164cc3(0x192)]()),_0x2abc31='',_0x21464f;try{_0x2abc31=await RequestUtil[_0x164cc3(0x1d5)](_0x3e0f3a,_0x25f362['fVwKf'],'',{'Cookie':_0x3aa232});const _0x1a219d=_0x2abc31[_0x164cc3(0x18c)](/window\.__INITIAL_STATE__=(.*?);/);return _0x1a219d&&(_0x21464f=JSON[_0x164cc3(0x159)](_0x1a219d[0x1]['trim']())),_0x25f362[_0x164cc3(0x154)](_0x12d264,0x1)?_0x21464f?.[_0x164cc3(0x197)]:_0x21464f?.[_0x164cc3(0x199)];}catch(_0x2043d8){_0x25f362['ZPdLJ'](logDebug,_0x25f362[_0x164cc3(0x14e)],_0x3e0f3a,_0x2043d8);}return undefined;}let _0x19cbb1={'group_id':_0x3e77ad};const _0x3aa232=_0x25f362[_0x4ee9d9(0x158)](_0x25f362[_0x4ee9d9(0x144)](_0x25f362[_0x4ee9d9(0x182)](_0x25f362[_0x4ee9d9(0x1c9)](_0x25f362[_0x4ee9d9(0x1c9)](_0x25f362[_0x4ee9d9(0x152)],_0x2a1628)+_0x4ee9d9(0x1d0),_0x160899)+_0x4ee9d9(0x1a1),selfInfo[_0x4ee9d9(0x1aa)]),_0x25f362[_0x4ee9d9(0x1d6)]),selfInfo[_0x4ee9d9(0x1aa)]);if(_0x25f362[_0x4ee9d9(0x1b9)](_0x5e8430,WebHonorType['TALKACTIVE'])||_0x25f362['JyJMJ'](_0x5e8430,WebHonorType[_0x4ee9d9(0x198)]))try{let _0x39ec47=await _0x25f362[_0x4ee9d9(0x167)](_0x3e1249,_0x3e77ad,0x1);if(!_0x39ec47)throw new Error(_0x25f362[_0x4ee9d9(0x171)]);_0x19cbb1['current_talkative']={'user_id':_0x39ec47[0x0]?.[_0x4ee9d9(0x1aa)],'avatar':_0x39ec47[0x0]?.['avatar'],'nickname':_0x39ec47[0x0]?.[_0x4ee9d9(0x15d)],'day_count':0x0,'description':_0x39ec47[0x0]?.[_0x4ee9d9(0x155)]},_0x19cbb1[_0x4ee9d9(0x169)]=[];for(const _0x5f18dc of _0x39ec47){_0x19cbb1[_0x4ee9d9(0x169)][_0x4ee9d9(0x184)]({'user_id':_0x5f18dc?.[_0x4ee9d9(0x1aa)],'avatar':_0x5f18dc?.[_0x4ee9d9(0x179)],'description':_0x5f18dc?.[_0x4ee9d9(0x155)],'day_count':0x0,'nickname':_0x5f18dc?.[_0x4ee9d9(0x15d)]});}}catch(_0x18de5b){_0x25f362[_0x4ee9d9(0x1a6)](logDebug,_0x18de5b);}if(_0x25f362[_0x4ee9d9(0x1d1)](_0x5e8430,WebHonorType[_0x4ee9d9(0x132)])||_0x25f362[_0x4ee9d9(0x134)](_0x5e8430,WebHonorType[_0x4ee9d9(0x198)]))try{let _0x261353=await _0x25f362[_0x4ee9d9(0x195)](_0x3e1249,_0x3e77ad,0x2);if(!_0x261353)throw new Error(_0x25f362[_0x4ee9d9(0x15a)]);_0x19cbb1[_0x4ee9d9(0x1ca)]=[];for(const _0xce0b70 of _0x261353){_0x19cbb1[_0x4ee9d9(0x1ca)][_0x4ee9d9(0x184)]({'user_id':_0xce0b70?.[_0x4ee9d9(0x1aa)],'nickname':_0xce0b70?.[_0x4ee9d9(0x15d)],'avatar':_0xce0b70?.[_0x4ee9d9(0x179)],'description':_0xce0b70?.['desc']});}}catch(_0x2e50fb){logDebug(_0x2e50fb);}if(_0x25f362[_0x4ee9d9(0x12f)](_0x5e8430,WebHonorType[_0x4ee9d9(0x132)])||_0x25f362[_0x4ee9d9(0x1d1)](_0x5e8430,WebHonorType[_0x4ee9d9(0x198)]))try{let _0x36f3cb=await _0x25f362[_0x4ee9d9(0x195)](_0x3e1249,_0x3e77ad,0x3);if(!_0x36f3cb)throw new Error(_0x4ee9d9(0x13b));_0x19cbb1[_0x4ee9d9(0x1b4)]=[];for(const _0x5b1138 of _0x36f3cb){_0x19cbb1[_0x4ee9d9(0x1b4)][_0x4ee9d9(0x184)]({'user_id':_0x5b1138?.['uin'],'nickname':_0x5b1138?.[_0x4ee9d9(0x15d)],'avatar':_0x5b1138?.[_0x4ee9d9(0x179)],'desc':_0x5b1138?.[_0x4ee9d9(0x174)]});}}catch(_0x26589c){_0x25f362[_0x4ee9d9(0x14a)](logDebug,_0x4ee9d9(0x13b),_0x26589c);}if(_0x25f362['dLpsT'](_0x5e8430,WebHonorType[_0x4ee9d9(0x1c7)])||_0x5e8430===WebHonorType['ALL'])try{let _0x58a1bf=await _0x25f362[_0x4ee9d9(0x14a)](_0x3e1249,_0x3e77ad,0x6);if(!_0x58a1bf)throw new Error(_0x25f362[_0x4ee9d9(0x151)]);_0x19cbb1['emotion_list']=[];for(const _0x4bc951 of _0x58a1bf){_0x19cbb1[_0x4ee9d9(0x15f)][_0x4ee9d9(0x184)]({'user_id':_0x4bc951?.['uin'],'nickname':_0x4bc951?.[_0x4ee9d9(0x15d)],'avatar':_0x4bc951?.[_0x4ee9d9(0x179)],'desc':_0x4bc951?.[_0x4ee9d9(0x174)]});}}catch(_0x5b1b1e){_0x25f362['lTLhj'](logDebug,_0x25f362[_0x4ee9d9(0x151)],_0x5b1b1e);}return(_0x25f362['KEcwD'](_0x5e8430,WebHonorType['EMOTION'])||_0x25f362[_0x4ee9d9(0x1b8)](_0x5e8430,WebHonorType[_0x4ee9d9(0x198)]))&&(_0x19cbb1[_0x4ee9d9(0x1cd)]=[]),_0x19cbb1;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 33c92b8a..d3ed1a6c 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x4d5b81=_0x539f;(function(_0x5117f0,_0x59fb1e){const _0x49ead6=_0x539f,_0x46aff5=_0x5117f0();while(!![]){try{const _0x3f45ed=-parseInt(_0x49ead6(0x1d6))/0x1*(parseInt(_0x49ead6(0x213))/0x2)+-parseInt(_0x49ead6(0x20a))/0x3+-parseInt(_0x49ead6(0x240))/0x4+parseInt(_0x49ead6(0x1a2))/0x5*(-parseInt(_0x49ead6(0x216))/0x6)+-parseInt(_0x49ead6(0x1b1))/0x7*(-parseInt(_0x49ead6(0x19c))/0x8)+parseInt(_0x49ead6(0x1d3))/0x9*(-parseInt(_0x49ead6(0x1bd))/0xa)+-parseInt(_0x49ead6(0x239))/0xb*(-parseInt(_0x49ead6(0x209))/0xc);if(_0x3f45ed===_0x59fb1e)break;else _0x46aff5['push'](_0x46aff5['shift']());}catch(_0x417fba){_0x46aff5['push'](_0x46aff5['shift']());}}}(_0x5002,0xb551e));import _0x530a76 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x539f(_0x2daeb7,_0x110210){const _0x5002fc=_0x5002();return _0x539f=function(_0x539fb0,_0x47afdb){_0x539fb0=_0x539fb0-0x189;let _0x360b3c=_0x5002fc[_0x539fb0];return _0x360b3c;},_0x539f(_0x2daeb7,_0x110210);}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x56f79f from'node:path';import _0x849989 from'node:os';import _0x3ec8f3 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';function _0x5002(){const _0x341581=['Iuimk','[KickedOffLine]\x20[','iVFxp','jBfdp','PgTNk','engine','GmXTm','onMemberListChange','getQRCodePicture','getQuickLoginList','启动失败:\x20','uid','find','onGroupListUpdate','data:image/png;base64,','9WZAoEA','constructor','NodeIKernelGroupListener','1oeaRee','addKernelGroupListener','当前账号(','addKernelLoginListener','createMemberListScene','onQRCodeSessionFailed','rJVQd','proxyHandler','kfjPe','assign','NodeIQQNTWrapperEngine','onQRCodeGetPicture','read','digest','getLoginList','wWhNO','fileLog','util','loginErrorInfo','hex','addListener','fileLogLevel','forEach','consoleLog','last_message_time','devUid','qoiyW','fERae','快速登录失败\x20','NodeIKernelLoginService','NodeIDependsAdapter','dtoTY','floor','NodeIKernelMsgListener','now','getBuddyService','rwqlC','yYwIO','HAsWF','Fimrw','HmsqH','passwordLogin','session','LocalLoginInfoList','NodeIDispatcherAdapter','登录失败','undefined','YmQof','startNT','onUserLoggedIn','ProfileListener','1415124SSbzLj','177780hYGqWy','WNASy','onSelfStatusChanged','then','hOzBD','onKickedOffLine','VcXVk','YxDZW','onLoginSuccessFuncList','1458542KlxRNp','dataPath','stringify','6vWOJtm','NodeIKernelProfileListener','rpuOG','init','tipsDesc','MOuwu','push','init\x20failed\x20','recallTime','getProfileService','OEpEY','xcpzV','packet_received','getMsgByLongId','initDataListener','delete','message_received','get','账号设备(','from','iKJIm','Fktoe','MsgListener','NodeQQNTWrapperUtil','addKernelBuddyListener','errMsg','\x20has\x20no\x20method\x20','DIvLL','memberCount','msgId','mkdirSync','QGDpG','resolve','message_sent','_GW_B','187UBfGtX','NodeIGlobalAdapter','oZYEt','IAtsj','TRFcU','tSXqL','createHash','2796124pnhugz','qwIEw','V1_WIN_NQ_','getBuddyList','tipsTitle','xyAoJ','./nt_qq/global','loginService','curVersion','uin','YPCBf','CNErp','onProfileDetailInfoChanged','infos','NodeIKernelSessionListener','dataPathGlobal','Azaua','sKrZZ','NQhtc','quickLogin','base64','vXIxH','quickLoginWithUin','fxfPl',')\x20在线状态变更','initWithDeskTopConfig','qrLogin','packet_sent','huuuR','getNextMemberList','OuwTt','name','8UstOFL','update','onMsgInfoListUpdate','onRecvSysMsg','快速登录不可用','tCRBH','218905ukXyTe','initSession\x20failed','initConfig','catch','map','isQuickLogin','onBuddyListChange','qrcodeUrl','NodeIKernelLoginListener','addMsg','140022008','qvkEU','PolJY','split','groupCode','4903248ITeopP','set','onAddSendMsg','-v2.db','BuddyListener','onQRCodeLoginSucceed','length','result',')已登录,无法重复登录','VXoCl','clientType','NodeIQQNTWrapperSession','4311940kKKZFy','sbWSw','Windows\x2010\x20Pro','onRecvMsg','getMsgService','loginListener','initSession'];_0x5002=function(){return _0x341581;};return _0x5002();}import _0x52fd38 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x4d5b81(0x200)];[_0x4d5b81(0x1e7)];[_0x4d5b81(0x1c9)];[_0x4d5b81(0x1c2)];[_0x4d5b81(0x247)];[_0x4d5b81(0x212)]=[];[_0x4d5b81(0x1dd)]={'get'(target,prop,receiver){const _0xbf5c63=_0x4d5b81,NOOAQQ={'qoiyW':function(x,y){return x===y;},'rJVQd':_0xbf5c63(0x204)};if(NOOAQQ[_0xbf5c63(0x1f0)](typeof target[prop],NOOAQQ[_0xbf5c63(0x1dc)]))return(...args)=>{const _0x9f042c=_0xbf5c63;logDebug(target[_0x9f042c(0x1d4)][_0x9f042c(0x19b)]+_0x9f042c(0x230)+prop);};return Reflect[_0xbf5c63(0x227)](target,prop,receiver);}};constructor(){const _0x4cb538=_0x4d5b81,_0x5edccf={'xcpzV':function(_0x345b4e,_0x4cfc27){return _0x345b4e(_0x4cfc27);},'pZbBN':function(_0x30b015,_0x1d1aba){return _0x30b015+_0x1d1aba;},'UdkgZ':_0x4cb538(0x1d8),'Azaua':_0x4cb538(0x1b9),'qwIEw':function(_0x33f0ba,_0x422032,_0xb0ce1d){return _0x33f0ba(_0x422032,_0xb0ce1d);},'miCoa':'数据库初始化失败','shSVz':function(_0x38ed7f,_0x48f4ac,_0x3866f9){return _0x38ed7f(_0x48f4ac,_0x3866f9);},'tSXqL':function(_0x2da7cb,_0x19f066){return _0x2da7cb(_0x19f066);},'pCTti':'./NapCat/data','MOuwu':function(_0x12ff01,_0x32c6c9,_0x2f107e){return _0x12ff01(_0x32c6c9,_0x2f107e);},'sKrZZ':_0x4cb538(0x203),'OEpEY':function(_0x386692,_0x3662a2){return _0x386692==_0x3662a2;},'yYwIO':function(_0x1a4e5f,_0x3e5796){return _0x1a4e5f==_0x3e5796;}};this[_0x4cb538(0x1c9)]=new _0x530a76[(_0x4cb538(0x1e0))](),this[_0x4cb538(0x1e7)]=new _0x530a76[(_0x4cb538(0x22d))](),this['loginService']=new _0x530a76[(_0x4cb538(0x1f3))](),this[_0x4cb538(0x200)]=new _0x530a76[(_0x4cb538(0x1bc))](),this[_0x4cb538(0x1c2)]=new LoginListener(),this['loginListener'][_0x4cb538(0x207)]=_0x5f2857=>{const _0x2ef5be=_0x4cb538;_0x5edccf[_0x2ef5be(0x221)](logError,_0x5edccf['pZbBN'](_0x5edccf['UdkgZ']+_0x5f2857,_0x5edccf[_0x2ef5be(0x18c)]));},this[_0x4cb538(0x1c2)][_0x4cb538(0x1b6)]=_0x1ccf38=>{const _0xffd9f9=_0x4cb538,_0x33cf7a={'Fimrw':function(_0x3f74ba,_0x3b332d,_0x5b7226){const _0x4fcf35=_0x539f;return _0x5edccf[_0x4fcf35(0x241)](_0x3f74ba,_0x3b332d,_0x5b7226);},'sbWSw':_0x5edccf['miCoa'],'xyAoJ':function(_0x587bc0,_0x5aff0d,_0x2e9e86){return _0x5edccf['shSVz'](_0x587bc0,_0x5aff0d,_0x2e9e86);},'wWhNO':function(_0x4d2871,_0x3fd515){return _0x4d2871(_0x3fd515);},'IAtsj':function(_0x230fe0,_0x14dcb8){const _0x1e5f44=_0x539f;return _0x5edccf[_0x1e5f44(0x23e)](_0x230fe0,_0x14dcb8);},'YxDZW':_0x5edccf['pCTti'],'mtBWe':_0xffd9f9(0x1a3)};this[_0xffd9f9(0x1c3)](_0x1ccf38[_0xffd9f9(0x249)],_0x1ccf38['uid'])[_0xffd9f9(0x20d)](_0x5490c5=>{const _0x12dccc=_0xffd9f9;selfInfo[_0x12dccc(0x249)]=_0x1ccf38['uin'],selfInfo[_0x12dccc(0x1cf)]=_0x1ccf38['uid'],napCatConfig[_0x12dccc(0x1e2)](),_0x33cf7a[_0x12dccc(0x245)](setLogLevel,napCatConfig[_0x12dccc(0x1eb)],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig[_0x12dccc(0x1e6)]),_0x33cf7a[_0x12dccc(0x1e5)](enableConsoleLog,napCatConfig[_0x12dccc(0x1ed)]),_0x33cf7a[_0x12dccc(0x23c)](setLogSelfInfo,selfInfo);const _0x5c1b37=_0x56f79f['resolve'](this[_0x12dccc(0x214)],_0x33cf7a[_0x12dccc(0x211)]);_0x3ec8f3['mkdirSync'](_0x5c1b37,{'recursive':!![]}),logDebug('本账号数据/缓存目录:',_0x5c1b37),dbUtil['init'](_0x56f79f['resolve'](_0x5c1b37,'./'+_0x1ccf38[_0x12dccc(0x249)]+_0x12dccc(0x1b4)))['then'](()=>{const _0x9ea09d=_0x12dccc;this[_0x9ea09d(0x224)](),this[_0x9ea09d(0x212)][_0x9ea09d(0x1a6)](_0x20a191=>{const _0x4b5843=_0x9ea09d,_0x3f9d30={'tCRBH':function(_0x182951,_0x3c5206,_0xe1f764){return _0x182951(_0x3c5206,_0xe1f764);}};new Promise((_0x8da022,_0x237bb0)=>{const _0x524812=_0x539f,_0x5d39e4=_0x3f9d30[_0x524812(0x1a1)](_0x20a191,_0x1ccf38[_0x524812(0x249)],_0x1ccf38[_0x524812(0x1cf)]);_0x5d39e4 instanceof Promise&&_0x5d39e4[_0x524812(0x20d)](_0x8da022)[_0x524812(0x1a5)](_0x237bb0);})[_0x4b5843(0x20d)]();});})[_0x12dccc(0x1a5)](_0x40cec1=>{const _0x25ee8d=_0x12dccc;_0x33cf7a[_0x25ee8d(0x1fd)](logError,_0x33cf7a[_0x25ee8d(0x1be)],_0x40cec1);});})[_0xffd9f9(0x1a5)](_0x3f164f=>{const _0x4c60ce=_0xffd9f9;logError(_0x33cf7a['mtBWe'],_0x3f164f);throw new Error(_0x4c60ce(0x1ce)+JSON[_0x4c60ce(0x215)](_0x3f164f));});},this[_0x4cb538(0x1c2)][_0x4cb538(0x1db)]=(_0xae8d15,_0x2fb3e1,_0xa0a808)=>{const _0x257056=_0x4cb538;_0x5edccf[_0x257056(0x21b)](logError,_0x5edccf[_0x257056(0x18d)],_0xa0a808),_0x5edccf[_0x257056(0x220)](_0xae8d15,0x1)&&_0x5edccf[_0x257056(0x1fb)](_0x2fb3e1,0x3)&&this[_0x257056(0x247)][_0x257056(0x1cc)]();},this[_0x4cb538(0x1c2)]['onLoginFailed']=_0x136283=>{const _0x588e38=_0x4cb538;logError(_0x5edccf[_0x588e38(0x18d)],_0x136283);},this[_0x4cb538(0x1c2)]=new Proxy(this[_0x4cb538(0x1c2)],this[_0x4cb538(0x1dd)]),this[_0x4cb538(0x247)][_0x4cb538(0x1d9)](new _0x530a76[(_0x4cb538(0x1aa))](this[_0x4cb538(0x1c2)])),this[_0x4cb538(0x1a4)]();}get[_0x4d5b81(0x214)](){const _0x7bf907=_0x4d5b81,_0x33d287={'iVFxp':'./.config/QQ'};let _0x1fcbfa=this[_0x7bf907(0x1e7)]['getNTUserDataInfoConfig']();return!_0x1fcbfa&&(_0x1fcbfa=_0x56f79f[_0x7bf907(0x236)](_0x849989['homedir'](),_0x33d287[_0x7bf907(0x1c6)]),_0x3ec8f3[_0x7bf907(0x234)](_0x1fcbfa,{'recursive':!![]})),_0x1fcbfa;}get[_0x4d5b81(0x18b)](){const _0x27b878=_0x4d5b81;return _0x56f79f[_0x27b878(0x236)](this[_0x27b878(0x214)],_0x27b878(0x246));}[_0x4d5b81(0x1a4)](){const _0x263b16=_0x4d5b81,_0x1a131c={'HAsWF':_0x263b16(0x1bf)};this[_0x263b16(0x1c9)][_0x263b16(0x195)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x263b16(0x248)],'os_version':_0x1a131c[_0x263b16(0x1fc)],'use_xlog':!![],'qua':_0x263b16(0x242)+qqVersionConfigInfo['curVersion']['replace']('-','_')+_0x263b16(0x238),'global_path_config':{'desktopGlobalPath':this[_0x263b16(0x18b)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x530a76[(_0x263b16(0x23a))](new GlobalAdapter())),this[_0x263b16(0x247)][_0x263b16(0x1a4)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x263b16(0x18b)],'clientVer':qqVersionConfigInfo[_0x263b16(0x248)],'hostName':hostname});}[_0x4d5b81(0x1c3)](_0x19fb13,_0x3f6034){const _0x26451a=_0x4d5b81,_0x5b52e2={'OuwTt':function(_0x1b9e0e,_0x4e9c21){return _0x1b9e0e===_0x4e9c21;},'fERae':function(_0x5bdae4,_0x3a333d){return _0x5bdae4(_0x3a333d);},'oZYEt':function(_0xd76fd8,_0x299445){return _0xd76fd8+_0x299445;},'kfjPe':_0x26451a(0x21d)};return new Promise(async(_0x402431,_0x1a5969)=>{const _0x5bfa6a=_0x26451a,_0xd84844=await genSessionConfig(_0x19fb13,_0x3f6034,this[_0x5bfa6a(0x214)]),_0x42f714=new SessionListener();_0x42f714['onSessionInitComplete']=_0xb335de=>{const _0x4933eb=_0x5bfa6a;if(_0x5b52e2[_0x4933eb(0x19a)](_0xb335de,0x0))return _0x5b52e2[_0x4933eb(0x1f1)](_0x402431,0x0);_0x5b52e2['fERae'](_0x1a5969,_0xb335de);},this[_0x5bfa6a(0x200)][_0x5bfa6a(0x219)](_0xd84844,new _0x530a76[(_0x5bfa6a(0x1f4))](new DependsAdapter()),new _0x530a76[(_0x5bfa6a(0x202))](new DispatcherAdapter()),new _0x530a76[(_0x5bfa6a(0x18a))](_0x42f714));try{this['session'][_0x5bfa6a(0x206)](0x0);}catch(_0x5c6ae4){try{this['session'][_0x5bfa6a(0x206)]();}catch(_0x1d7dfa){_0x5b52e2['fERae'](_0x1a5969,_0x5b52e2[_0x5bfa6a(0x23b)](_0x5b52e2[_0x5bfa6a(0x1de)],_0x1d7dfa));}}});}[_0x4d5b81(0x224)](){const _0x3c3960=_0x4d5b81,_0x492c06={'vXIxH':function(_0x5d60d4,_0x430050){return _0x5d60d4(_0x430050);},'WNASy':function(_0x14974d,_0x1dc913){return _0x14974d+_0x1dc913;},'waxez':function(_0x357345,_0x268b5b){return _0x357345+_0x268b5b;},'hOzBD':_0x3c3960(0x194),'fvDNV':function(_0x37fbb5,_0x1ac785){return _0x37fbb5(_0x1ac785);},'QGDpG':function(_0x2effb6,_0x2f3b8b){return _0x2effb6+_0x2f3b8b;},'DIvLL':_0x3c3960(0x1c5),'YPCBf':function(_0x279be9,_0x120fcb){return _0x279be9===_0x120fcb;},'dtoTY':function(_0x4291a9,_0x2cfb6a){return _0x4291a9/_0x2cfb6a;},'Fktoe':function(_0x319209,_0xbf5f4f){return _0x319209/_0xbf5f4f;},'rpuOG':function(_0x21fdd5,_0x4c03a8){return _0x21fdd5===_0x4c03a8;},'huuuR':'groupMemberList_MainWindow','NQhtc':function(_0x3f40a2,_0x1fc718,_0x495cb0){return _0x3f40a2(_0x1fc718,_0x495cb0);}},_0x126b57=new MsgListener();_0x126b57['onLineDev']=_0x14eb95=>{const _0x742d7e=_0x3c3960;_0x14eb95[_0x742d7e(0x1a6)](_0x2c442d=>{const _0x744f5c=_0x742d7e;_0x2c442d[_0x744f5c(0x1bb)]===0x2&&_0x492c06[_0x744f5c(0x191)](log,_0x492c06[_0x744f5c(0x20b)](_0x492c06['waxez'](_0x744f5c(0x228),_0x2c442d[_0x744f5c(0x1ef)]),_0x492c06[_0x744f5c(0x20e)]));});},_0x126b57[_0x3c3960(0x20f)]=_0x5d9ec3=>{const _0x489bfb=_0x3c3960;_0x492c06['fvDNV'](log,_0x492c06[_0x489bfb(0x235)](_0x492c06[_0x489bfb(0x20b)](_0x492c06[_0x489bfb(0x231)]+_0x5d9ec3[_0x489bfb(0x244)],']\x20'),_0x5d9ec3[_0x489bfb(0x21a)]));},_0x126b57[_0x3c3960(0x19e)]=_0x5cd523=>{const _0x1dab3c=_0x3c3960,_0x1e3f95={'HmsqH':function(_0x33a70c,_0x3eafc0){const _0x580ad2=_0x539f;return _0x492c06[_0x580ad2(0x24a)](_0x33a70c,_0x3eafc0);}};stat[_0x1dab3c(0x222)]+=0x1,_0x5cd523['map'](_0x44020e=>{const _0x41382b=_0x1dab3c;_0x1e3f95[_0x41382b(0x1fe)](_0x44020e['recallTime'],'0')?dbUtil[_0x41382b(0x1ab)](_0x44020e)[_0x41382b(0x20d)]()['catch']():dbUtil[_0x41382b(0x223)](_0x44020e[_0x41382b(0x233)])[_0x41382b(0x20d)](_0x5500e7=>{const _0x19847c=_0x41382b;_0x5500e7&&(_0x5500e7[_0x19847c(0x21e)]=_0x44020e[_0x19847c(0x21e)],dbUtil['updateMsg'](_0x5500e7)['then']());});});},_0x126b57[_0x3c3960(0x1b3)]=_0x5f3bdb=>{const _0x3e77b6=_0x3c3960;stat[_0x3e77b6(0x197)]+=0x1,stat[_0x3e77b6(0x237)]+=0x1,stat['last_message_time']=Math[_0x3e77b6(0x1f6)](_0x492c06[_0x3e77b6(0x1f5)](Date[_0x3e77b6(0x1f8)](),0x3e8));},_0x126b57[_0x3c3960(0x1c0)]=_0xbe95db=>{const _0xa5fb73=_0x3c3960;stat[_0xa5fb73(0x222)]+=0x1,stat[_0xa5fb73(0x226)]+=_0xbe95db['length'],stat[_0xa5fb73(0x1ee)]=Math[_0xa5fb73(0x1f6)](_0x492c06[_0xa5fb73(0x22b)](Date[_0xa5fb73(0x1f8)](),0x3e8));},_0x126b57[_0x3c3960(0x19f)]=(..._0x52e133)=>{stat['packet_received']+=0x1;},this[_0x3c3960(0x1ea)](_0x126b57);const _0xadc896=new BuddyListener();_0xadc896[_0x3c3960(0x1a8)]=_0x4f776a=>{const _0x1b0853=_0x3c3960;rawFriends[_0x1b0853(0x1b7)]=0x0,rawFriends[_0x1b0853(0x21c)](..._0x4f776a);for(const _0xc38c63 of _0x4f776a){for(const _0x4a7e50 of _0xc38c63['buddyList']){const _0x5156a1=friends[_0x1b0853(0x227)](_0x4a7e50[_0x1b0853(0x1cf)]);uid2UinMap[_0x4a7e50[_0x1b0853(0x1cf)]]=_0x4a7e50[_0x1b0853(0x249)],_0x5156a1?Object['assign'](_0x5156a1,_0x4a7e50):friends[_0x1b0853(0x1b2)](_0x4a7e50[_0x1b0853(0x1cf)],_0x4a7e50);}}},this[_0x3c3960(0x1ea)](_0xadc896),this[_0x3c3960(0x200)][_0x3c3960(0x1f9)]()[_0x3c3960(0x243)](!![])[_0x3c3960(0x20d)](_0x4381ba=>{});const _0x8df30=new ProfileListener();_0x8df30[_0x3c3960(0x24c)]=_0x14a593=>{const _0x378f0f=_0x3c3960;_0x492c06[_0x378f0f(0x218)](_0x14a593['uid'],selfInfo[_0x378f0f(0x1cf)])&&Object['assign'](selfInfo,_0x14a593);},_0x8df30[_0x3c3960(0x20c)]=_0x937f4=>{},this[_0x3c3960(0x1ea)](_0x8df30);const _0x589f47=new GroupListener();_0x589f47[_0x3c3960(0x1d1)]=(_0x3a4cba,_0xb7ccf2)=>{const _0x5ba694=_0x3c3960;_0xb7ccf2[_0x5ba694(0x1a6)](_0x352ea3=>{const _0x100f72=_0x5ba694,_0x4b347b=groups[_0x100f72(0x227)](_0x352ea3['groupCode']);_0x4b347b&&_0x352ea3[_0x100f72(0x232)]===_0x4b347b[_0x100f72(0x232)]?Object['assign'](_0x4b347b,_0x352ea3):groups[_0x100f72(0x1b2)](_0x352ea3[_0x100f72(0x1b0)],_0x352ea3);const _0x3274ea=this[_0x100f72(0x200)]['getGroupService']()[_0x100f72(0x1da)](_0x352ea3[_0x100f72(0x1b0)],_0x492c06[_0x100f72(0x198)]);this[_0x100f72(0x200)]['getGroupService']()[_0x100f72(0x199)](_0x3274ea,undefined,0xbb8)[_0x100f72(0x20d)](_0x3de5b5=>{});});},_0x589f47[_0x3c3960(0x1cb)]=_0x6a42d8=>{const _0x53fd4e=_0x3c3960,_0x27fdd4=_0x6a42d8['sceneId'][_0x53fd4e(0x1af)]('_')[0x0];if(groupMembers['has'](_0x27fdd4)){const _0x586187=groupMembers[_0x53fd4e(0x227)](_0x27fdd4);_0x6a42d8[_0x53fd4e(0x189)][_0x53fd4e(0x1ec)]((_0x3d263d,_0x2cdf30)=>{const _0x387585=_0x53fd4e,_0x1634fb=_0x586187[_0x387585(0x227)](_0x2cdf30);_0x1634fb?Object[_0x387585(0x1df)](_0x1634fb,_0x3d263d):_0x586187[_0x387585(0x1b2)](_0x2cdf30,_0x3d263d);});}else groupMembers[_0x53fd4e(0x1b2)](_0x27fdd4,_0x6a42d8['infos']);},_0x589f47['onMemberInfoChange']=(_0x15b7d6,_0x2ab851,_0x38748b)=>{const _0x103a8a=_0x3c3960;_0x2ab851===0x0&&_0x38748b[_0x103a8a(0x227)](selfInfo[_0x103a8a(0x1cf)])&&_0x38748b[_0x103a8a(0x227)](selfInfo[_0x103a8a(0x1cf)])?.['isDelete']&&_0x492c06[_0x103a8a(0x18e)](setTimeout,()=>{const _0xf68df3=_0x103a8a;groups[_0xf68df3(0x225)](_0x15b7d6);},0x1388);_0x38748b['forEach']((_0x2acfc4,_0x22ea65)=>{const _0x19d713=_0x103a8a;uid2UinMap[_0x22ea65]=_0x2acfc4[_0x19d713(0x249)];});const _0x18b59b=groupMembers['get'](_0x15b7d6);_0x18b59b?_0x38748b[_0x103a8a(0x1ec)]((_0x34a978,_0x472877)=>{const _0x784447=_0x103a8a,_0xa9d079=_0x18b59b[_0x784447(0x227)](_0x472877);_0xa9d079?Object[_0x784447(0x1df)](_0xa9d079,_0x34a978):_0x18b59b[_0x784447(0x1b2)](_0x472877,_0x34a978);}):groupMembers['set'](_0x15b7d6,_0x38748b);},this['addListener'](_0x589f47);}[_0x4d5b81(0x1ea)](_0x49b65d){const _0x2d4d61=_0x4d5b81,_0x54c609={'GmXTm':_0x2d4d61(0x1b5),'VcXVk':'GroupListener','TRFcU':_0x2d4d61(0x22c),'fxfPl':_0x2d4d61(0x208)};_0x49b65d=new Proxy(_0x49b65d,this[_0x2d4d61(0x1dd)]);switch(_0x49b65d['constructor'][_0x2d4d61(0x19b)]){case _0x54c609[_0x2d4d61(0x1ca)]:{return this['session']['getBuddyService']()[_0x2d4d61(0x22e)](new _0x530a76['NodeIKernelBuddyListener'](_0x49b65d));}case _0x54c609[_0x2d4d61(0x210)]:{return this['session']['getGroupService']()[_0x2d4d61(0x1d7)](new _0x530a76[(_0x2d4d61(0x1d5))](_0x49b65d));}case _0x54c609[_0x2d4d61(0x23d)]:{return this[_0x2d4d61(0x200)][_0x2d4d61(0x1c1)]()['addKernelMsgListener'](new _0x530a76[(_0x2d4d61(0x1f7))](_0x49b65d));}case _0x54c609[_0x2d4d61(0x193)]:{return this['session'][_0x2d4d61(0x21f)]()['addKernelProfileListener'](new _0x530a76[(_0x2d4d61(0x217))](_0x49b65d));}default:return-0x1;}}['onLoginSuccess'](_0x54cc77){const _0x12b4df=_0x4d5b81;NTEventDispatch[_0x12b4df(0x219)]({'ListenerMap':_0x530a76,'WrapperSession':this['session']}),this[_0x12b4df(0x212)][_0x12b4df(0x21c)](_0x54cc77);}async[_0x4d5b81(0x18f)](_0x4546fa){const _0x1bfd14=_0x4d5b81,_0x1825a3={'VXoCl':function(_0xf0db58,_0x3ba6b2){return _0xf0db58!==_0x3ba6b2;},'PolJY':_0x1bfd14(0x1f2)},_0x52f44e=await this[_0x1bfd14(0x247)][_0x1bfd14(0x1e4)]();if(_0x1825a3[_0x1bfd14(0x1ba)](_0x52f44e[_0x1bfd14(0x1b8)],0x0))throw new Error('没有可快速登录的QQ号');const _0x3f4710=_0x52f44e[_0x1bfd14(0x201)][_0x1bfd14(0x1d0)](_0x224e34=>_0x224e34['uin']===_0x4546fa);if(!_0x3f4710||!_0x3f4710?.[_0x1bfd14(0x1a7)])throw new Error(_0x4546fa+_0x1bfd14(0x1a0));await sleep(0x3e8);const _0x2a04b3=await this['loginService'][_0x1bfd14(0x192)](_0x4546fa);if(!_0x2a04b3[_0x1bfd14(0x1b8)])throw new Error(_0x1825a3[_0x1bfd14(0x1ae)]+_0x2a04b3[_0x1bfd14(0x1e8)][_0x1bfd14(0x22f)]);return _0x2a04b3;}async[_0x4d5b81(0x196)](_0x34b0fc){const _0x2433cf=_0x4d5b81,_0x11bbd9={'YmQof':_0x2433cf(0x1d2)};return new Promise((_0x56443f,_0x4e1d9e)=>{const _0xeb932c=_0x2433cf,_0x2da0dc={'IHlcL':_0x11bbd9[_0xeb932c(0x205)],'CNErp':_0xeb932c(0x190),'Iuimk':function(_0x522ff6,_0x190072,_0x2abaae,_0x30a29b){return _0x522ff6(_0x190072,_0x2abaae,_0x30a29b);}};this[_0xeb932c(0x1c2)][_0xeb932c(0x1e1)]=_0x4ebd22=>{const _0xc41ecf=_0xeb932c,_0x5d95e2=_0x4ebd22['pngBase64QrcodeData'][_0xc41ecf(0x1af)](_0x2da0dc['IHlcL'])[0x1],_0x54d611=Buffer[_0xc41ecf(0x229)](_0x5d95e2,_0x2da0dc[_0xc41ecf(0x24b)]);_0x2da0dc[_0xc41ecf(0x1c4)](_0x34b0fc,_0x4ebd22[_0xc41ecf(0x1a9)],_0x4ebd22['pngBase64QrcodeData'],_0x54d611);},this['loginService']['getQRCodePicture']();});}async['passwordLogin'](_0x452741,_0x474dab,_0x2f17ef,_0x17e0c7,_0x26ed2e){const _0x383328=_0x4d5b81,_0x2e5d11={'jBfdp':'md5','HevnZ':_0x383328(0x1e9),'qvkEU':function(_0x4df669,_0x33ab99){return _0x4df669&&_0x33ab99;},'xuQrv':function(_0x105a71,_0x4351d7){return _0x105a71||_0x4351d7;},'PgTNk':function(_0x1a5599,_0x28f3ff){return _0x1a5599||_0x28f3ff;},'rwqlC':function(_0x552163,_0x206966){return _0x552163(_0x206966);},'iKJIm':_0x383328(0x1ac),'ICxIh':'140022013'},_0x1d55e0=_0x52fd38[_0x383328(0x23f)](_0x2e5d11[_0x383328(0x1c7)])[_0x383328(0x19d)](_0x474dab)[_0x383328(0x1e3)](_0x2e5d11['HevnZ']),_0x294997={'uin':_0x452741,'passwordMd5':_0x1d55e0,'step':_0x2e5d11[_0x383328(0x1ad)](_0x2f17ef,_0x17e0c7)&&_0x26ed2e?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x2e5d11['xuQrv'](_0x2f17ef,''),'proofWaterRand':_0x17e0c7||'','proofWaterSid':_0x2e5d11[_0x383328(0x1c8)](_0x26ed2e,'')};await this['loginService']['getLoginList'](),await _0x2e5d11[_0x383328(0x1fa)](sleep,0x3e8);const _0x1ef480=await this[_0x383328(0x247)][_0x383328(0x1ff)](_0x294997);switch(_0x1ef480['result']){case'0':{break;}case _0x2e5d11[_0x383328(0x22a)]:{break;}case'4':case _0x2e5d11['ICxIh']:default:}}async[_0x4d5b81(0x1cd)](){const _0x4c096f=_0x4d5b81,_0xf5249b=await this[_0x4c096f(0x247)][_0x4c096f(0x1e4)]();return _0xf5249b;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x4288fa=_0x43c0;(function(_0x8a4285,_0x3db5d2){const _0x15fec6=_0x43c0,_0x7a34f7=_0x8a4285();while(!![]){try{const _0x1c5897=-parseInt(_0x15fec6(0x1e1))/0x1*(-parseInt(_0x15fec6(0x1c1))/0x2)+parseInt(_0x15fec6(0x1da))/0x3+parseInt(_0x15fec6(0x1dc))/0x4*(parseInt(_0x15fec6(0x24e))/0x5)+parseInt(_0x15fec6(0x1e2))/0x6*(parseInt(_0x15fec6(0x1aa))/0x7)+parseInt(_0x15fec6(0x1eb))/0x8+-parseInt(_0x15fec6(0x239))/0x9+-parseInt(_0x15fec6(0x1be))/0xa;if(_0x1c5897===_0x3db5d2)break;else _0x7a34f7['push'](_0x7a34f7['shift']());}catch(_0x5e62c0){_0x7a34f7['push'](_0x7a34f7['shift']());}}}(_0x364f,0x83ca7));import _0xc3364 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x2b3eda from'node:path';import _0x23b557 from'node:os';import _0x1d5b29 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x43c0(_0x8b2145,_0x230328){const _0x364f61=_0x364f();return _0x43c0=function(_0x43c043,_0x29c882){_0x43c043=_0x43c043-0x1a7;let _0x556c79=_0x364f61[_0x43c043];return _0x556c79;},_0x43c0(_0x8b2145,_0x230328);}import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x498bee from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x4288fa(0x203)];['util'];[_0x4288fa(0x252)];['loginListener'];['loginService'];[_0x4288fa(0x224)]=[];[_0x4288fa(0x1c7)]={'get'(target,prop,receiver){const _0x4f0ead=_0x4288fa,aNADgR={'fBpZq':function(callee,param1){return callee(param1);},'stRxz':function(x,y){return x===y;}};if(aNADgR['stRxz'](typeof target[prop],_0x4f0ead(0x1f4)))return(...args)=>{const _0x220756=_0x4f0ead;aNADgR[_0x220756(0x22a)](logDebug,target[_0x220756(0x1b7)][_0x220756(0x21b)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x4f0ead(0x23f)](target,prop,receiver);}};constructor(){const _0x87120b=_0x4288fa,_0x5b4625={'TCnpp':function(_0xa4beda,_0x4c0a70){return _0xa4beda(_0x4c0a70);},'pWdsx':function(_0x492c31,_0x23968c){return _0x492c31+_0x23968c;},'zspmO':function(_0x44be00,_0xcccdf3){return _0x44be00+_0xcccdf3;},'KIpgV':')已登录,无法重复登录','Mgfog':function(_0x26b35c,_0x343bba,_0x55e69b){return _0x26b35c(_0x343bba,_0x55e69b);},'FwEfx':_0x87120b(0x1f9),'fCgNA':function(_0x40d6f0,_0x164e58){return _0x40d6f0 instanceof _0x164e58;},'zzOGD':function(_0x37f20e,_0x5b43e6,_0x5e2241){return _0x37f20e(_0x5b43e6,_0x5e2241);},'ofhWq':function(_0x418c51,_0x31907e){return _0x418c51(_0x31907e);},'BVFyf':_0x87120b(0x1d3),'YKWAc':_0x87120b(0x1b3),'JZQYj':_0x87120b(0x1c8),'dPCSW':function(_0x430e21,_0x3c32bc){return _0x430e21==_0x3c32bc;}};this[_0x87120b(0x252)]=new _0xc3364[(_0x87120b(0x240))](),this[_0x87120b(0x1fb)]=new _0xc3364[(_0x87120b(0x246))](),this[_0x87120b(0x243)]=new _0xc3364['NodeIKernelLoginService'](),this[_0x87120b(0x203)]=new _0xc3364['NodeIQQNTWrapperSession'](),this[_0x87120b(0x216)]=new LoginListener(),this[_0x87120b(0x216)][_0x87120b(0x1ec)]=_0x2b4d5e=>{const _0xc0a91b=_0x87120b;_0x5b4625[_0xc0a91b(0x1ab)](logError,_0x5b4625['pWdsx'](_0x5b4625[_0xc0a91b(0x1ad)](_0xc0a91b(0x22d),_0x2b4d5e),_0x5b4625[_0xc0a91b(0x20f)]));},this[_0x87120b(0x216)][_0x87120b(0x21c)]=_0xb2800c=>{const _0x2af31e=_0x87120b,_0x53aff1={'Ucdat':function(_0x196a8d,_0x3bd906){const _0x21bcc7=_0x43c0;return _0x5b4625[_0x21bcc7(0x228)](_0x196a8d,_0x3bd906);},'JqCLt':function(_0x313c51,_0xeea9fc,_0x1515fe){const _0x30ff30=_0x43c0;return _0x5b4625[_0x30ff30(0x21e)](_0x313c51,_0xeea9fc,_0x1515fe);},'utJMN':function(_0xdd15eb,_0x3ae3d9){const _0x7717ae=_0x43c0;return _0x5b4625[_0x7717ae(0x1ab)](_0xdd15eb,_0x3ae3d9);},'NykLH':function(_0x484530,_0x522163){return _0x5b4625['ofhWq'](_0x484530,_0x522163);},'fPvhJ':function(_0x506f1c,_0x48bd83){return _0x506f1c(_0x48bd83);},'MzeYe':_0x5b4625['BVFyf'],'IpvJM':_0x5b4625[_0x2af31e(0x24d)]};this[_0x2af31e(0x242)](_0xb2800c[_0x2af31e(0x20c)],_0xb2800c[_0x2af31e(0x238)])[_0x2af31e(0x1d4)](_0x483ca0=>{const _0x44f515=_0x2af31e;selfInfo['uin']=_0xb2800c[_0x44f515(0x20c)],selfInfo[_0x44f515(0x238)]=_0xb2800c[_0x44f515(0x238)],napCatConfig[_0x44f515(0x1bd)](),_0x53aff1[_0x44f515(0x22c)](setLogLevel,napCatConfig[_0x44f515(0x1cd)],napCatConfig[_0x44f515(0x22b)]),_0x53aff1[_0x44f515(0x1c4)](enableFileLog,napCatConfig[_0x44f515(0x25a)]),_0x53aff1[_0x44f515(0x215)](enableConsoleLog,napCatConfig[_0x44f515(0x1e4)]),_0x53aff1[_0x44f515(0x1af)](setLogSelfInfo,selfInfo);const _0x2fa628=_0x2b3eda[_0x44f515(0x1e0)](this[_0x44f515(0x258)],_0x53aff1[_0x44f515(0x21d)]);_0x1d5b29[_0x44f515(0x1c2)](_0x2fa628,{'recursive':!![]}),_0x53aff1[_0x44f515(0x22c)](logDebug,_0x53aff1[_0x44f515(0x1f7)],_0x2fa628),dbUtil[_0x44f515(0x1cf)](_0x2b3eda[_0x44f515(0x1e0)](_0x2fa628,'./'+_0xb2800c[_0x44f515(0x20c)]+_0x44f515(0x25b)))[_0x44f515(0x1d4)](()=>{const _0x526d60=_0x44f515,_0x1e85e0={'fwdEo':function(_0x5390a8,_0x21e57e){return _0x53aff1['Ucdat'](_0x5390a8,_0x21e57e);}};this['initDataListener'](),this[_0x526d60(0x224)][_0x526d60(0x1cb)](_0x23cfe0=>{const _0x55cc09=_0x526d60;new Promise((_0x4fdb0d,_0x933702)=>{const _0x4f0282=_0x43c0,_0x4f11e2=_0x23cfe0(_0xb2800c[_0x4f0282(0x20c)],_0xb2800c['uid']);_0x1e85e0[_0x4f0282(0x22e)](_0x4f11e2,Promise)&&_0x4f11e2[_0x4f0282(0x1d4)](_0x4fdb0d)[_0x4f0282(0x236)](_0x933702);})[_0x55cc09(0x1d4)]();});})[_0x44f515(0x236)](_0x5733cc=>{const _0x11a7ea=_0x44f515;_0x53aff1['JqCLt'](logError,_0x11a7ea(0x1ac),_0x5733cc);});})[_0x2af31e(0x236)](_0x182310=>{const _0x1fc142=_0x2af31e;_0x5b4625[_0x1fc142(0x20a)](logError,_0x5b4625[_0x1fc142(0x1dd)],_0x182310);throw new Error('启动失败:\x20'+JSON[_0x1fc142(0x213)](_0x182310));});},this[_0x87120b(0x216)][_0x87120b(0x1d9)]=(_0xf3acac,_0x5ada1b,_0x67c264)=>{const _0x38dfce=_0x87120b;logError(_0x5b4625[_0x38dfce(0x24a)],_0x67c264),_0x5b4625[_0x38dfce(0x1ea)](_0xf3acac,0x1)&&_0x5ada1b==0x3&&this[_0x38dfce(0x243)][_0x38dfce(0x250)]();},this[_0x87120b(0x216)][_0x87120b(0x217)]=_0x4060ea=>{const _0x50d9f8=_0x87120b;logError(_0x5b4625[_0x50d9f8(0x24a)],_0x4060ea);},this['loginListener']=new Proxy(this['loginListener'],this[_0x87120b(0x1c7)]),this[_0x87120b(0x243)][_0x87120b(0x214)](new _0xc3364[(_0x87120b(0x1ae))](this['loginListener'])),this['initConfig']();}get[_0x4288fa(0x258)](){const _0x3c1596=_0x4288fa,_0x4d3d3f={'paxQD':_0x3c1596(0x1d8)};let _0x11c6e5=this['util']['getNTUserDataInfoConfig']();return!_0x11c6e5&&(_0x11c6e5=_0x2b3eda['resolve'](_0x23b557[_0x3c1596(0x23d)](),_0x4d3d3f[_0x3c1596(0x1b6)]),_0x1d5b29[_0x3c1596(0x1c2)](_0x11c6e5,{'recursive':!![]})),_0x11c6e5;}get[_0x4288fa(0x1b9)](){const _0x5612df=_0x4288fa,_0x2f2227={'RIqYI':_0x5612df(0x1b2)};return _0x2b3eda[_0x5612df(0x1e0)](this[_0x5612df(0x258)],_0x2f2227[_0x5612df(0x1cc)]);}[_0x4288fa(0x20b)](){const _0x5fa15d=_0x4288fa,_0x783845={'BYswQ':_0x5fa15d(0x1e9)};this['engine'][_0x5fa15d(0x253)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x5fa15d(0x1ce)],'os_version':_0x783845[_0x5fa15d(0x24f)],'use_xlog':!![],'qua':_0x5fa15d(0x237)+qqVersionConfigInfo[_0x5fa15d(0x1ce)]['replace']('-','_')+_0x5fa15d(0x1ba),'global_path_config':{'desktopGlobalPath':this[_0x5fa15d(0x1b9)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0xc3364['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService'][_0x5fa15d(0x20b)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x5fa15d(0x1b9)],'clientVer':qqVersionConfigInfo[_0x5fa15d(0x1ce)],'hostName':hostname});}[_0x4288fa(0x242)](_0x36540f,_0x19cca1){const _0x4d133c=_0x4288fa,_0x278f65={'vQmox':function(_0x3824af,_0x149dba){return _0x3824af(_0x149dba);},'lCEfj':function(_0x2a3284,_0x32ced9){return _0x2a3284(_0x32ced9);},'oSsSl':function(_0x3478cc,_0x18c71d){return _0x3478cc(_0x18c71d);},'wmQhb':function(_0x5a0af3,_0x1df95e){return _0x5a0af3+_0x1df95e;},'QLcjT':_0x4d133c(0x1d0)};return new Promise(async(_0x4280db,_0x3231d1)=>{const _0x68abde=_0x4d133c,_0x35245f=await genSessionConfig(_0x36540f,_0x19cca1,this[_0x68abde(0x258)]),_0x1eca8f=new SessionListener();_0x1eca8f['onSessionInitComplete']=_0x2ab41a=>{const _0x5d4518=_0x68abde;if(_0x2ab41a===0x0)return _0x278f65[_0x5d4518(0x204)](_0x4280db,0x0);_0x278f65['lCEfj'](_0x3231d1,_0x2ab41a);},this[_0x68abde(0x203)][_0x68abde(0x1cf)](_0x35245f,new _0xc3364[(_0x68abde(0x22f))](new DependsAdapter()),new _0xc3364['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0xc3364['NodeIKernelSessionListener'](_0x1eca8f));try{this['session']['startNT'](0x0);}catch(_0x4f092b){try{this[_0x68abde(0x203)][_0x68abde(0x1e8)]();}catch(_0x3ea868){_0x278f65[_0x68abde(0x1d7)](_0x3231d1,_0x278f65['wmQhb'](_0x278f65['QLcjT'],_0x3ea868));}}});}[_0x4288fa(0x24b)](){const _0x2724f5=_0x4288fa,_0x4100d4={'UADon':function(_0x34c198,_0x5bdd9f){return _0x34c198===_0x5bdd9f;},'jJlcC':function(_0x2121cc,_0x31a4dc){return _0x2121cc(_0x31a4dc);},'hscxD':function(_0x20ba99,_0x5c7601){return _0x20ba99+_0x5c7601;},'XcrUY':'账号设备(','WFPAZ':')\x20在线状态变更','gagMB':function(_0x1117fb,_0x54f3e2){return _0x1117fb+_0x54f3e2;},'TcfKN':_0x2724f5(0x220),'WZYKj':function(_0x632808,_0x265190){return _0x632808/_0x265190;},'ZuGPR':function(_0x55b607,_0x1ec959){return _0x55b607/_0x1ec959;},'QzYIC':function(_0x469cb1,_0x3492e3,_0xc3fab6){return _0x469cb1(_0x3492e3,_0xc3fab6);}},_0x3d296e=new MsgListener();_0x3d296e['onLineDev']=_0x203f72=>{_0x203f72['map'](_0x57fad8=>{const _0x3b07eb=_0x43c0;_0x4100d4['UADon'](_0x57fad8[_0x3b07eb(0x226)],0x2)&&_0x4100d4[_0x3b07eb(0x223)](log,_0x4100d4[_0x3b07eb(0x1f0)](_0x4100d4[_0x3b07eb(0x1f0)](_0x4100d4[_0x3b07eb(0x1d2)],_0x57fad8[_0x3b07eb(0x1b8)]),_0x4100d4[_0x3b07eb(0x233)]));});},_0x3d296e[_0x2724f5(0x1a8)]=_0x3c9eef=>{const _0x2da1ec=_0x2724f5;log(_0x4100d4[_0x2da1ec(0x1f0)](_0x4100d4['gagMB'](_0x4100d4[_0x2da1ec(0x1e6)]+_0x3c9eef[_0x2da1ec(0x231)],']\x20'),_0x3c9eef[_0x2da1ec(0x1c3)]));},_0x3d296e['onMsgInfoListUpdate']=_0x132f8c=>{const _0xd33eb5=_0x2724f5,_0x513b50={'cBRzp':function(_0x2bc545,_0x5ad4d6){const _0x4c5fc7=_0x43c0;return _0x4100d4[_0x4c5fc7(0x1c6)](_0x2bc545,_0x5ad4d6);}};stat[_0xd33eb5(0x222)]+=0x1,_0x132f8c[_0xd33eb5(0x1cb)](_0x189eb3=>{const _0x4ebc66=_0xd33eb5;_0x513b50['cBRzp'](_0x189eb3['recallTime'],'0')?dbUtil[_0x4ebc66(0x1fe)](_0x189eb3)[_0x4ebc66(0x1d4)]()[_0x4ebc66(0x236)]():dbUtil[_0x4ebc66(0x1f3)](_0x189eb3[_0x4ebc66(0x23c)])[_0x4ebc66(0x1d4)](_0x418b72=>{const _0x1c6adb=_0x4ebc66;_0x418b72&&(_0x418b72[_0x1c6adb(0x20e)]=_0x189eb3[_0x1c6adb(0x20e)],dbUtil['updateMsg'](_0x418b72)['then']());});});},_0x3d296e[_0x2724f5(0x1f5)]=_0x204845=>{const _0x4674f9=_0x2724f5;stat[_0x4674f9(0x209)]+=0x1,stat[_0x4674f9(0x207)]+=0x1,stat[_0x4674f9(0x1ff)]=Math['floor'](_0x4100d4['WZYKj'](Date[_0x4674f9(0x200)](),0x3e8));},_0x3d296e[_0x2724f5(0x229)]=_0x1b030f=>{const _0x503cdb=_0x2724f5;stat[_0x503cdb(0x222)]+=0x1,stat[_0x503cdb(0x1c9)]+=_0x1b030f[_0x503cdb(0x225)],stat[_0x503cdb(0x1ff)]=Math['floor'](_0x4100d4['ZuGPR'](Date[_0x503cdb(0x200)](),0x3e8));},_0x3d296e['onRecvSysMsg']=(..._0x2a903e)=>{stat['packet_received']+=0x1;},this[_0x2724f5(0x248)](_0x3d296e);const _0x4b5ee4=new BuddyListener();_0x4b5ee4['onBuddyListChange']=_0x5560ed=>{const _0x74def4=_0x2724f5;rawFriends['length']=0x0,rawFriends['push'](..._0x5560ed);for(const _0x1f9ea4 of _0x5560ed){for(const _0x58591b of _0x1f9ea4['buddyList']){const _0x468360=friends[_0x74def4(0x23f)](_0x58591b[_0x74def4(0x238)]);_0x468360?Object[_0x74def4(0x1fa)](_0x468360,_0x58591b):friends[_0x74def4(0x212)](_0x58591b[_0x74def4(0x238)],_0x58591b);}}},this['addListener'](_0x4b5ee4),this[_0x2724f5(0x203)]['getBuddyService']()[_0x2724f5(0x1b4)](!![])[_0x2724f5(0x1d4)](_0x5eb37d=>{});const _0x267b58=new ProfileListener();_0x267b58['onProfileDetailInfoChanged']=_0xea5366=>{const _0x3a67d3=_0x2724f5;_0x4100d4['UADon'](_0xea5366[_0x3a67d3(0x238)],selfInfo['uid'])&&Object[_0x3a67d3(0x1fa)](selfInfo,_0xea5366);},_0x267b58['onSelfStatusChanged']=_0x55a08a=>{},this[_0x2724f5(0x248)](_0x267b58);const _0xe35149=new GroupListener();_0xe35149[_0x2724f5(0x201)]=(_0x5f35d4,_0x2e3298)=>{_0x2e3298['map'](_0x24f81f=>{const _0x2c1adc=_0x43c0,_0x50c930=groups[_0x2c1adc(0x23f)](_0x24f81f[_0x2c1adc(0x232)]);_0x50c930&&_0x24f81f[_0x2c1adc(0x256)]===_0x50c930['memberCount']?Object[_0x2c1adc(0x1fa)](_0x50c930,_0x24f81f):groups['set'](_0x24f81f[_0x2c1adc(0x232)],_0x24f81f);const _0x180f1c=this[_0x2c1adc(0x203)]['getGroupService']()[_0x2c1adc(0x254)](_0x24f81f['groupCode'],_0x2c1adc(0x1f6));this['session'][_0x2c1adc(0x1fd)]()[_0x2c1adc(0x1b1)](_0x180f1c,undefined,0xbb8)[_0x2c1adc(0x1d4)](_0x4f4928=>{});});},_0xe35149[_0x2724f5(0x1c5)]=_0x43037a=>{const _0x44a7b9=_0x2724f5,_0xf79542=_0x43037a[_0x44a7b9(0x23a)][_0x44a7b9(0x20d)]('_')[0x0];if(groupMembers[_0x44a7b9(0x1bf)](_0xf79542)){const _0x44e4aa=groupMembers['get'](_0xf79542);_0x43037a[_0x44a7b9(0x227)][_0x44a7b9(0x1c0)]((_0x18e175,_0x551e6a)=>{const _0x5303eb=_0x44a7b9,_0x30543a=_0x44e4aa['get'](_0x551e6a);_0x30543a?Object['assign'](_0x30543a,_0x18e175):_0x44e4aa[_0x5303eb(0x212)](_0x551e6a,_0x18e175);});}else groupMembers['set'](_0xf79542,_0x43037a['infos']);},_0xe35149[_0x2724f5(0x230)]=(_0x1dbd1f,_0x8f6438,_0x54f343)=>{const _0x47632d=_0x2724f5;_0x8f6438===0x0&&_0x54f343['get'](selfInfo[_0x47632d(0x238)])&&_0x54f343[_0x47632d(0x23f)](selfInfo[_0x47632d(0x238)])?.[_0x47632d(0x1a9)]&&_0x4100d4[_0x47632d(0x1fc)](setTimeout,()=>{const _0xac4117=_0x47632d;groups[_0xac4117(0x1d1)](_0x1dbd1f);},0x1388);const _0x2102e6=groupMembers['get'](_0x1dbd1f);_0x2102e6?_0x54f343[_0x47632d(0x1c0)]((_0x405274,_0x287cab)=>{const _0xbba59a=_0x47632d,_0x4de9d3=_0x2102e6[_0xbba59a(0x23f)](_0x287cab);_0x4de9d3?Object['assign'](_0x4de9d3,_0x405274):_0x2102e6['set'](_0x287cab,_0x405274);}):groupMembers[_0x47632d(0x212)](_0x1dbd1f,_0x54f343);},this['addListener'](_0xe35149);}['addListener'](_0xd1a8de){const _0x1f1ba3=_0x4288fa,_0x17edf1={'XTqqd':_0x1f1ba3(0x1f1),'qgKBH':'ProfileListener'};_0xd1a8de=new Proxy(_0xd1a8de,this[_0x1f1ba3(0x1c7)]);switch(_0xd1a8de['constructor'][_0x1f1ba3(0x21b)]){case _0x17edf1[_0x1f1ba3(0x255)]:{return this['session']['getBuddyService']()[_0x1f1ba3(0x1df)](new _0xc3364[(_0x1f1ba3(0x1a7))](_0xd1a8de));}case _0x1f1ba3(0x210):{return this[_0x1f1ba3(0x203)]['getGroupService']()[_0x1f1ba3(0x221)](new _0xc3364['NodeIKernelGroupListener'](_0xd1a8de));}case _0x1f1ba3(0x24c):{return this[_0x1f1ba3(0x203)][_0x1f1ba3(0x1d5)]()[_0x1f1ba3(0x23e)](new _0xc3364['NodeIKernelMsgListener'](_0xd1a8de));}case _0x17edf1[_0x1f1ba3(0x21a)]:{return this[_0x1f1ba3(0x203)][_0x1f1ba3(0x208)]()['addKernelProfileListener'](new _0xc3364[(_0x1f1ba3(0x251))](_0xd1a8de));}default:return-0x1;}}[_0x4288fa(0x235)](_0x2f5404){const _0x4607e9=_0x4288fa;NTEventDispatch[_0x4607e9(0x1cf)]({'ListenerMap':_0xc3364,'WrapperSession':this[_0x4607e9(0x203)]}),this[_0x4607e9(0x224)][_0x4607e9(0x1e7)](_0x2f5404);}async[_0x4288fa(0x206)](_0x354b5b){const _0x738e2c=_0x4288fa,_0x205a18={'zjgcD':function(_0x269aab,_0x52192f){return _0x269aab!==_0x52192f;},'uQZoW':function(_0xb3f346,_0x2c51ef){return _0xb3f346(_0x2c51ef);},'npbYk':function(_0x2c4680,_0xf37ad){return _0x2c4680+_0xf37ad;},'PjhWY':_0x738e2c(0x257)},_0x112ad1=await this[_0x738e2c(0x243)]['getLoginList']();if(_0x205a18['zjgcD'](_0x112ad1[_0x738e2c(0x1b5)],0x0))throw new Error(_0x738e2c(0x1bb));const _0x28519c=_0x112ad1[_0x738e2c(0x245)][_0x738e2c(0x205)](_0x59705d=>_0x59705d['uin']===_0x354b5b);if(!_0x28519c||!_0x28519c?.[_0x738e2c(0x1f8)])throw new Error(_0x354b5b+_0x738e2c(0x1d6));await _0x205a18[_0x738e2c(0x1ca)](sleep,0x3e8);const _0x203646=await this['loginService'][_0x738e2c(0x244)](_0x354b5b);if(!_0x203646['result'])throw new Error(_0x205a18[_0x738e2c(0x1f2)](_0x205a18[_0x738e2c(0x1de)],_0x203646['loginErrorInfo'][_0x738e2c(0x202)]));return _0x203646;}async['qrLogin'](_0x26e484){const _0x47a63d={'RLquL':'data:image/png;base64,'};return new Promise((_0x48f9e0,_0x6cb5e7)=>{const _0x256bba=_0x43c0;this[_0x256bba(0x216)][_0x256bba(0x1ee)]=_0x46cef5=>{const _0x1b7658=_0x256bba,_0x296e54=_0x46cef5[_0x1b7658(0x219)][_0x1b7658(0x20d)](_0x47a63d[_0x1b7658(0x1db)])[0x1],_0x462ff5=Buffer[_0x1b7658(0x1ef)](_0x296e54,_0x1b7658(0x1e3));_0x26e484(_0x46cef5[_0x1b7658(0x249)],_0x46cef5[_0x1b7658(0x219)],_0x462ff5);},this['loginService']['getQRCodePicture']();});}async[_0x4288fa(0x1ed)](_0x1c5930,_0x54b23a,_0x2191d7,_0x3d2aa0,_0x153330){const _0x303274=_0x4288fa,_0x4cd1f0={'cpwpr':_0x303274(0x247),'akxZw':_0x303274(0x23b),'srMRN':function(_0x149475,_0x5c45e7){return _0x149475||_0x5c45e7;},'Qzvmp':function(_0x36b66f,_0x1a2f3a){return _0x36b66f(_0x1a2f3a);},'paNdV':'140022008','FPkKc':_0x303274(0x211)},_0x1b0950=_0x498bee[_0x303274(0x234)](_0x4cd1f0[_0x303274(0x218)])[_0x303274(0x259)](_0x54b23a)['digest'](_0x4cd1f0[_0x303274(0x1e5)]),_0x5e13aa={'uin':_0x1c5930,'passwordMd5':_0x1b0950,'step':_0x2191d7&&_0x3d2aa0&&_0x153330?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4cd1f0[_0x303274(0x241)](_0x2191d7,''),'proofWaterRand':_0x4cd1f0[_0x303274(0x241)](_0x3d2aa0,''),'proofWaterSid':_0x4cd1f0[_0x303274(0x241)](_0x153330,'')};await this[_0x303274(0x243)]['getLoginList'](),await _0x4cd1f0[_0x303274(0x21f)](sleep,0x3e8);const _0x54b148=await this['loginService'][_0x303274(0x1ed)](_0x5e13aa);switch(_0x54b148[_0x303274(0x1b5)]){case'0':{break;}case _0x4cd1f0['paNdV']:{break;}case'4':case _0x4cd1f0[_0x303274(0x1b0)]:default:}}async['getQuickLoginList'](){const _0x4bde4b=_0x4288fa,_0x3e8e7a=await this[_0x4bde4b(0x243)][_0x4bde4b(0x1bc)]();return _0x3e8e7a;}}function _0x364f(){const _0x19e2c3=['[KickedOffLine]\x20[','addKernelGroupListener','packet_received','jJlcC','onLoginSuccessFuncList','length','clientType','infos','fCgNA','onRecvMsg','fBpZq','consoleLogLevel','JqCLt','当前账号(','fwdEo','NodeIDependsAdapter','onMemberInfoChange','tipsTitle','groupCode','WFPAZ','createHash','onLoginSuccess','catch','V1_WIN_NQ_','uid','1297971jYzDio','sceneId','hex','msgId','homedir','addKernelMsgListener','get','NodeIQQNTWrapperEngine','srMRN','initSession','loginService','quickLoginWithUin','LocalLoginInfoList','NodeQQNTWrapperUtil','md5','addListener','qrcodeUrl','JZQYj','initDataListener','MsgListener','YKWAc','25QXXcgd','BYswQ','getQRCodePicture','NodeIKernelProfileListener','engine','initWithDeskTopConfig','createMemberListScene','XTqqd','memberCount','快速登录失败\x20','dataPath','update','fileLog','-v2.db','NodeIKernelBuddyListener','onKickedOffLine','isDelete','385mQLSBh','TCnpp','数据库初始化失败','zspmO','NodeIKernelLoginListener','fPvhJ','FPkKc','getNextMemberList','./nt_qq/global','本账号数据/缓存目录:','getBuddyList','result','paxQD','constructor','devUid','dataPathGlobal','_GW_B','没有可快速登录的QQ号','getLoginList','read','16449490wgNKUS','has','forEach','242196XlMddD','mkdirSync','tipsDesc','utJMN','onMemberListChange','UADon','proxyHandler','登录失败','message_received','uQZoW','map','RIqYI','fileLogLevel','curVersion','init','init\x20failed\x20','delete','XcrUY','./NapCat/data','then','getMsgService','快速登录不可用','oSsSl','./.config/QQ','onQRCodeSessionFailed','2598744xIVNKu','RLquL','59356CAeFhN','FwEfx','PjhWY','addKernelBuddyListener','resolve','3njdokL','2244WthxnP','base64','consoleLog','akxZw','TcfKN','push','startNT','Windows\x2010\x20Pro','dPCSW','8037408fIzlGT','onUserLoggedIn','passwordLogin','onQRCodeGetPicture','from','hscxD','BuddyListener','npbYk','getMsgByLongId','undefined','onAddSendMsg','groupMemberList_MainWindow','IpvJM','isQuickLogin','initSession\x20failed','assign','util','QzYIC','getGroupService','addMsg','last_message_time','now','onGroupListUpdate','errMsg','session','vQmox','find','quickLogin','message_sent','getProfileService','packet_sent','Mgfog','initConfig','uin','split','recallTime','KIpgV','GroupListener','140022013','set','stringify','addKernelLoginListener','NykLH','loginListener','onLoginFailed','cpwpr','pngBase64QrcodeData','qgKBH','name','onQRCodeLoginSucceed','MzeYe','zzOGD','Qzvmp'];_0x364f=function(){return _0x19e2c3;};return _0x364f();}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.d.ts b/src/core.lib/src/data.d.ts index aa9c0a8c..5ba0dfbf 100644 --- a/src/core.lib/src/data.d.ts +++ b/src/core.lib/src/data.d.ts @@ -29,8 +29,6 @@ export declare const napCatError: { export declare function getFriend(uinOrUid: string): Promise; export declare function getGroup(qq: string | number): Promise; export declare function getGroupMember(groupQQ: string | number, memberUinOrUid: string | number): Promise; -export declare const uid2UinMap: Record; -export declare function getUidByUin(uin: string): string | undefined; export declare const tempGroupCodeMap: Record; export declare const rawFriends: Array; export declare const stat: { diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index d0126dd9..299a9263 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x12caaa=_0x1bbf;(function(_0x51eeb7,_0x527fef){const _0x1dbc75=_0x1bbf,_0x227393=_0x51eeb7();while(!![]){try{const _0xae1a55=parseInt(_0x1dbc75(0x166))/0x1*(-parseInt(_0x1dbc75(0x160))/0x2)+-parseInt(_0x1dbc75(0x16f))/0x3+parseInt(_0x1dbc75(0x16e))/0x4+-parseInt(_0x1dbc75(0x164))/0x5+parseInt(_0x1dbc75(0x163))/0x6+parseInt(_0x1dbc75(0x167))/0x7*(parseInt(_0x1dbc75(0x15f))/0x8)+parseInt(_0x1dbc75(0x162))/0x9;if(_0xae1a55===_0x527fef)break;else _0x227393['push'](_0x227393['shift']());}catch(_0x2519d6){_0x227393['push'](_0x227393['shift']());}}}(_0x2cf8,0xc3b8c));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x165af3){const _0x5bd4da=_0x1bbf;groups['delete'](_0x165af3),groupMembers[_0x5bd4da(0x168)](_0x165af3);}export const groupMembers=new Map();export const friends=new Map();function _0x2cf8(){const _0x5c8e7a=['toString','ikiht','values','from','set','RthjH','504oNehXV','19582eUEcsu','uin','39386295poXQTB','1748364aJBKSC','7785110Vgzjzz','getGroups','148dgFDfR','27972ALoCHt','delete','getGroupMembers','forEach','length','find','NapCat未能正常启动,请检查日志查看错误','431484wCMOTQ','3658506wZfNNX','get'];_0x2cf8=function(){return _0x5c8e7a;};return _0x2cf8();}export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x12caaa(0x16d)};export async function getFriend(_0x14f4a4){const _0xd274d0=_0x12caaa,_0x13c795={'zpLvi':function(_0x118510,_0x12fde5){return _0x118510(_0x12fde5);}};_0x14f4a4=_0x14f4a4[_0xd274d0(0x159)]();if(_0x13c795['zpLvi'](isNumeric,_0x14f4a4)){const _0x47d8ab=Array[_0xd274d0(0x15c)](friends[_0xd274d0(0x15b)]());return _0x47d8ab[_0xd274d0(0x16c)](_0x3275b1=>_0x3275b1[_0xd274d0(0x161)]===_0x14f4a4);}else return friends[_0xd274d0(0x170)](_0x14f4a4);}export async function getGroup(_0x25b22b){const _0x3dec5a=_0x12caaa;let _0x5ebaeb=groups[_0x3dec5a(0x170)](_0x25b22b[_0x3dec5a(0x159)]());if(!_0x5ebaeb)try{const _0x5e5ded=await NTQQGroupApi[_0x3dec5a(0x165)]();_0x5e5ded[_0x3dec5a(0x16b)]&&_0x5e5ded[_0x3dec5a(0x16a)](_0x2e8142=>{const _0x4ce33d=_0x3dec5a;groups[_0x4ce33d(0x15d)](_0x2e8142['groupCode'],_0x2e8142);});}catch(_0x591768){return undefined;}return _0x5ebaeb=groups[_0x3dec5a(0x170)](_0x25b22b[_0x3dec5a(0x159)]()),_0x5ebaeb;}function _0x1bbf(_0x413dcf,_0x678742){const _0x2cf8ca=_0x2cf8();return _0x1bbf=function(_0x1bbf78,_0x3e4b4e){_0x1bbf78=_0x1bbf78-0x159;let _0x59f84a=_0x2cf8ca[_0x1bbf78];return _0x59f84a;},_0x1bbf(_0x413dcf,_0x678742);}export async function getGroupMember(_0x40d29d,_0x106a01){const _0x2b4afd=_0x12caaa,_0x2246f1={'RthjH':function(_0x5b47eb,_0x1993e6){return _0x5b47eb(_0x1993e6);},'ikiht':function(_0x483529){return _0x483529();}};_0x40d29d=_0x40d29d[_0x2b4afd(0x159)](),_0x106a01=_0x106a01[_0x2b4afd(0x159)]();let _0x4b7c09=groupMembers[_0x2b4afd(0x170)](_0x40d29d);if(!_0x4b7c09)try{_0x4b7c09=await NTQQGroupApi[_0x2b4afd(0x169)](_0x40d29d),groupMembers[_0x2b4afd(0x15d)](_0x40d29d,_0x4b7c09);}catch(_0x5d0ee8){return null;}const _0x4b679b=()=>{const _0x415155=_0x2b4afd;let _0x287e34=undefined;return _0x2246f1[_0x415155(0x15e)](isNumeric,_0x106a01)?_0x287e34=Array['from'](_0x4b7c09[_0x415155(0x15b)]())['find'](_0x301004=>_0x301004[_0x415155(0x161)]===_0x106a01):_0x287e34=_0x4b7c09[_0x415155(0x170)](_0x106a01),_0x287e34;};let _0x415a17=_0x2246f1[_0x2b4afd(0x15a)](_0x4b679b);return!_0x415a17&&(_0x4b7c09=await NTQQGroupApi[_0x2b4afd(0x169)](_0x40d29d),_0x415a17=_0x2246f1[_0x2b4afd(0x15a)](_0x4b679b)),_0x415a17;}export const uid2UinMap={};export function getUidByUin(_0x5c92b1){const _0x39677d={'eXQSl':function(_0x5ec56d,_0x2e8372){return _0x5ec56d===_0x2e8372;}};for(const _0x57e929 in uid2UinMap){if(_0x39677d['eXQSl'](uid2UinMap[_0x57e929],_0x5c92b1))return _0x57e929;}}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 _0x58922d=_0x3f95;(function(_0xc4ad09,_0x587a1c){const _0x300b2=_0x3f95,_0x506817=_0xc4ad09();while(!![]){try{const _0x4b699e=-parseInt(_0x300b2(0xf1))/0x1+parseInt(_0x300b2(0xeb))/0x2+-parseInt(_0x300b2(0xe4))/0x3+parseInt(_0x300b2(0xec))/0x4*(parseInt(_0x300b2(0xf6))/0x5)+parseInt(_0x300b2(0xe0))/0x6*(-parseInt(_0x300b2(0xf4))/0x7)+parseInt(_0x300b2(0xed))/0x8*(parseInt(_0x300b2(0xf3))/0x9)+-parseInt(_0x300b2(0xe5))/0xa*(-parseInt(_0x300b2(0xdf))/0xb);if(_0x4b699e===_0x587a1c)break;else _0x506817['push'](_0x506817['shift']());}catch(_0x2dac91){_0x506817['push'](_0x506817['shift']());}}}(_0x4e8e,0xa03ab));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0xe42886){const _0x3e6b5f=_0x3f95;groups[_0x3e6b5f(0xea)](_0xe42886),groupMembers[_0x3e6b5f(0xea)](_0xe42886);}export const groupMembers=new Map();function _0x4e8e(){const _0x492778=['3617943LtynoE','484560RumVzn','from','find','groupCode','toString','delete','986450OQGaTP','819160xfDnFV','16LcqccN','getGroupMembers','values','set','254385xVNxOk','XyAuy','2583693TniAip','82369BBFvIi','length','10gOWaYa','GNdmk','uin','407bTTdUz','588sUUJcB','get','NapCat未能正常启动,请检查日志查看错误','forEach'];_0x4e8e=function(){return _0x492778;};return _0x4e8e();}export const friends=new Map();export const friendRequests={};function _0x3f95(_0x459f17,_0x3fce6a){const _0x4e8ed7=_0x4e8e();return _0x3f95=function(_0x3f95cf,_0x2c5da0){_0x3f95cf=_0x3f95cf-0xde;let _0x22c6cd=_0x4e8ed7[_0x3f95cf];return _0x22c6cd;},_0x3f95(_0x459f17,_0x3fce6a);}export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x58922d(0xe2)};export async function getFriend(_0x5b79b4){const _0x1b562f=_0x58922d,_0x4b9891={'GNdmk':function(_0xd972c3,_0x1b4a22){return _0xd972c3(_0x1b4a22);}};_0x5b79b4=_0x5b79b4[_0x1b562f(0xe9)]();if(_0x4b9891[_0x1b562f(0xf7)](isNumeric,_0x5b79b4)){const _0x5019be=Array[_0x1b562f(0xe6)](friends[_0x1b562f(0xef)]());return _0x5019be[_0x1b562f(0xe7)](_0xa1f8a4=>_0xa1f8a4[_0x1b562f(0xde)]===_0x5b79b4);}else return friends[_0x1b562f(0xe1)](_0x5b79b4);}export async function getGroup(_0x36e971){const _0x3b9e0a=_0x58922d;let _0x1d3a7b=groups[_0x3b9e0a(0xe1)](_0x36e971['toString']());if(!_0x1d3a7b)try{const _0x139915=await NTQQGroupApi['getGroups']();_0x139915[_0x3b9e0a(0xf5)]&&_0x139915[_0x3b9e0a(0xe3)](_0x3c59c7=>{const _0x1a0631=_0x3b9e0a;groups[_0x1a0631(0xf0)](_0x3c59c7[_0x1a0631(0xe8)],_0x3c59c7);});}catch(_0x403b96){return undefined;}return _0x1d3a7b=groups[_0x3b9e0a(0xe1)](_0x36e971['toString']()),_0x1d3a7b;}export async function getGroupMember(_0x2605c5,_0x3446de){const _0x160a7f=_0x58922d,_0x4d5f74={'XyAuy':function(_0x24ac41,_0x166194){return _0x24ac41(_0x166194);},'nfwGW':function(_0x742364){return _0x742364();},'UBzQc':function(_0x5d94e0){return _0x5d94e0();}};_0x2605c5=_0x2605c5[_0x160a7f(0xe9)](),_0x3446de=_0x3446de[_0x160a7f(0xe9)]();let _0x48a71c=groupMembers[_0x160a7f(0xe1)](_0x2605c5);if(!_0x48a71c)try{_0x48a71c=await NTQQGroupApi[_0x160a7f(0xee)](_0x2605c5),groupMembers['set'](_0x2605c5,_0x48a71c);}catch(_0x1bc42a){return null;}const _0xacbe14=()=>{const _0x524672=_0x160a7f;let _0x4e707c=undefined;return _0x4d5f74[_0x524672(0xf2)](isNumeric,_0x3446de)?_0x4e707c=Array[_0x524672(0xe6)](_0x48a71c[_0x524672(0xef)]())['find'](_0x5b7af2=>_0x5b7af2[_0x524672(0xde)]===_0x3446de):_0x4e707c=_0x48a71c['get'](_0x3446de),_0x4e707c;};let _0x120616=_0x4d5f74['nfwGW'](_0xacbe14);return!_0x120616&&(_0x48a71c=await NTQQGroupApi['getGroupMembers'](_0x2605c5),_0x120616=_0x4d5f74['UBzQc'](_0xacbe14)),_0x120616;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 413778d0..946846bc 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x21a8(){var _0x58f919=['7bwUkkO','cDUOp','127640NKdPkH','30BPcYRR','AUDIO','6050bwmtSY','nSdhG','4108951kIIrpT','split','OTHER','DOCUMENT','104789fWyVGI','29984bjnNej','IMAGE','1843736DhKqob','3177THnZWd','1|3|0|2|4','245685efDevN','VIDEO','42PqUiOR'];_0x21a8=function(){return _0x58f919;};return _0x21a8();}(function(_0x28594b,_0x4d85ba){var _0x1424cd=_0x4207,_0x30e019=_0x28594b();while(!![]){try{var _0x544f6e=parseInt(_0x1424cd(0x17f))/0x1+parseInt(_0x1424cd(0x18a))/0x2+parseInt(_0x1424cd(0x187))/0x3*(parseInt(_0x1424cd(0x180))/0x4)+-parseInt(_0x1424cd(0x185))/0x5*(-parseInt(_0x1424cd(0x18b))/0x6)+-parseInt(_0x1424cd(0x188))/0x7*(parseInt(_0x1424cd(0x182))/0x8)+parseInt(_0x1424cd(0x183))/0x9*(parseInt(_0x1424cd(0x18d))/0xa)+-parseInt(_0x1424cd(0x18f))/0xb;if(_0x544f6e===_0x4d85ba)break;else _0x30e019['push'](_0x30e019['shift']());}catch(_0x5077a2){_0x30e019['push'](_0x30e019['shift']());}}}(_0x21a8,0x1f71b));;function _0x4207(_0xad57e3,_0x57c5e0){var _0x21a88a=_0x21a8();return _0x4207=function(_0x42078e,_0x5aa429){_0x42078e=_0x42078e-0x17e;var _0x5e36c2=_0x21a88a[_0x42078e];return _0x5e36c2;},_0x4207(_0xad57e3,_0x57c5e0);}export var CacheFileType;(function(_0x2b9f6d){var _0x18955e=_0x4207,_0x5c9b7f={'NGSMY':_0x18955e(0x184),'gLvUt':_0x18955e(0x18c),'KXqXX':_0x18955e(0x17e),'nSdhG':_0x18955e(0x186),'cDUOp':_0x18955e(0x191)},_0x583cec=_0x5c9b7f['NGSMY'][_0x18955e(0x190)]('|'),_0x37269a=0x0;while(!![]){switch(_0x583cec[_0x37269a++]){case'0':_0x2b9f6d[_0x2b9f6d['AUDIO']=0x2]=_0x5c9b7f['gLvUt'];continue;case'1':_0x2b9f6d[_0x2b9f6d[_0x18955e(0x181)]=0x0]=_0x18955e(0x181);continue;case'2':_0x2b9f6d[_0x2b9f6d[_0x5c9b7f['KXqXX']]=0x3]=_0x5c9b7f['KXqXX'];continue;case'3':_0x2b9f6d[_0x2b9f6d[_0x5c9b7f[_0x18955e(0x18e)]]=0x1]=_0x18955e(0x186);continue;case'4':_0x2b9f6d[_0x2b9f6d[_0x5c9b7f[_0x18955e(0x189)]]=0x4]=_0x5c9b7f[_0x18955e(0x189)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x28f7cb,_0x24f086){var _0x44a489=_0x2d3f,_0x5f44dc=_0x28f7cb();while(!![]){try{var _0x1d461c=parseInt(_0x44a489(0x121))/0x1+-parseInt(_0x44a489(0x12c))/0x2*(-parseInt(_0x44a489(0x11c))/0x3)+parseInt(_0x44a489(0x11d))/0x4+-parseInt(_0x44a489(0x125))/0x5*(parseInt(_0x44a489(0x11a))/0x6)+-parseInt(_0x44a489(0x11b))/0x7*(parseInt(_0x44a489(0x11e))/0x8)+-parseInt(_0x44a489(0x124))/0x9*(-parseInt(_0x44a489(0x122))/0xa)+-parseInt(_0x44a489(0x128))/0xb;if(_0x1d461c===_0x24f086)break;else _0x5f44dc['push'](_0x5f44dc['shift']());}catch(_0x2067c2){_0x5f44dc['push'](_0x5f44dc['shift']());}}}(_0x4639,0xa6b66));function _0x2d3f(_0x333a8c,_0xa69eb5){var _0x46395b=_0x4639();return _0x2d3f=function(_0x2d3f65,_0xaefd32){_0x2d3f65=_0x2d3f65-0x11a;var _0x66cfe5=_0x46395b[_0x2d3f65];return _0x66cfe5;},_0x2d3f(_0x333a8c,_0xa69eb5);}function _0x4639(){var _0x2216e3=['dtjAw','3888711XhhWCI','210225CYnmTy','DOCUMENT','gzCmc','10063053ixdQop','4|2|3|1|0','azktW','AUDIO','315014JBXpVC','split','IMAGE','6mStrQM','7XqyROE','9LsXauj','1370872NuYvkF','2916312yIKCcf','OTHER','hrnvd','756943vHPyUL','10TFAcEG'];_0x4639=function(){return _0x2216e3;};return _0x4639();};export var CacheFileType;(function(_0x1f0896){var _0x4a9d4f=_0x2d3f,_0x29831a={'azktW':_0x4a9d4f(0x11f),'gzCmc':_0x4a9d4f(0x126),'hrnvd':'VIDEO','dtjAw':_0x4a9d4f(0x12b),'szPxT':_0x4a9d4f(0x12e)},_0x454571=_0x4a9d4f(0x129)[_0x4a9d4f(0x12d)]('|'),_0x23f20b=0x0;while(!![]){switch(_0x454571[_0x23f20b++]){case'0':_0x1f0896[_0x1f0896[_0x29831a[_0x4a9d4f(0x12a)]]=0x4]=_0x4a9d4f(0x11f);continue;case'1':_0x1f0896[_0x1f0896[_0x29831a[_0x4a9d4f(0x127)]]=0x3]=_0x29831a['gzCmc'];continue;case'2':_0x1f0896[_0x1f0896[_0x29831a[_0x4a9d4f(0x120)]]=0x1]=_0x29831a['hrnvd'];continue;case'3':_0x1f0896[_0x1f0896[_0x29831a[_0x4a9d4f(0x123)]]=0x2]=_0x29831a['dtjAw'];continue;case'4':_0x1f0896[_0x1f0896[_0x4a9d4f(0x12e)]=0x0]=_0x29831a['szPxT'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index a3a73bda..c03707b5 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -function _0x188f(){const _0x4493d7=['uzqZR','fgjkN','reply','xDjTp','12796VdFjhm','time','ARK','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','4moyFRi','IRADt','stat','ZPuUB','atXme','Zojdo','RPS','347104wHJEfM','AniStickerId','_0.png','1524heSjLI','dice','2139300sZrFDQ','FACE','eUuac','get','toString','语音转换失败,\x20请检查语音文件是否正常','VIDEO','Ljyai','gif','zZlDY','join','PTT','error','PIC','QDes','ASlzv','获取视频封面失败,使用默认封面','AniStickerType','face','FILE','then','[包剪锤]','Imsyd','notAt','KYvug','markdown','HGFYi','文件异常,大小为0','6600995DiGyJn','find','ark','QSid','MFvMz','Ori','获取视频信息失败','50PyjIhl','QDtSX','RaXPx','NKKev','Bot\x20Test','TEXT','sep','uploadFile','[骰子]','iOaYk','397242TjnwSZ','rps','tlRVg','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','woelX','UCbfo','miniapp','catch','REPLY','height','1435104RLpDDH','ZBOUd','writeFile','copyFile','size','[商城表情]','SozIj','end','Thumb','SaBTD','width','unlink','getImageSize','video','emoji','625691knkJUH','stringify','ptt','MFACE','AniStickerPackId','wspzi','mbNNi','XIyoG'];_0x188f=function(){return _0x4493d7;};return _0x188f();}const _0x10115a=_0x4d3c;(function(_0x353455,_0x5200e6){const _0x58a152=_0x4d3c,_0x5e64eb=_0x353455();while(!![]){try{const _0x516885=-parseInt(_0x58a152(0x14f))/0x1+-parseInt(_0x58a152(0x166))/0x2+-parseInt(_0x58a152(0x16b))/0x3+-parseInt(_0x58a152(0x15f))/0x4*(-parseInt(_0x58a152(0x187))/0x5)+-parseInt(_0x58a152(0x169))/0x6*(-parseInt(_0x58a152(0x15b))/0x7)+parseInt(_0x58a152(0x140))/0x8+-parseInt(_0x58a152(0x136))/0x9*(-parseInt(_0x58a152(0x18e))/0xa);if(_0x516885===_0x5200e6)break;else _0x5e64eb['push'](_0x5e64eb['shift']());}catch(_0x2589f2){_0x5e64eb['push'](_0x5e64eb['shift']());}}}(_0x188f,0xa41f6));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x454880}from'node:fs';import _0x1bb051 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x34f3e3 from'./face_config.json';import*as _0x124c5f from'node:path';import{SignMiniApp}from'../apis';function _0x4d3c(_0x1a8a77,_0x4bc318){const _0x188fd7=_0x188f();return _0x4d3c=function(_0x4d3c54,_0x1d6509){_0x4d3c54=_0x4d3c54-0x135;let _0xe3db31=_0x188fd7[_0x4d3c54];return _0xe3db31;},_0x4d3c(_0x1a8a77,_0x4bc318);}export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x2cd0c5){const _0x2d7280=_0x4d3c;return{'elementType':ElementType[_0x2d7280(0x193)],'elementId':'','textElement':{'content':_0x2cd0c5,'atType':AtType[_0x2d7280(0x182)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x48d4c1,_0x3549e6,_0x4fc4ae,_0x4b9a99){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x4b9a99,'atType':_0x4fc4ae,'atUid':_0x48d4c1,'atTinyId':'','atNtUid':_0x3549e6}};}static[_0x10115a(0x159)](_0x5bcb92,_0x375345,_0x19d27d,_0x4a8b83){const _0x1de126=_0x10115a;return{'elementType':ElementType[_0x1de126(0x13e)],'elementId':'','replyElement':{'replayMsgSeq':_0x5bcb92,'replayMsgId':_0x375345,'senderUin':_0x19d27d,'senderUinStr':_0x4a8b83}};}static async['pic'](_0x326f64,_0x24f6cb='',_0x51ad7=0x0){const _0x317cfd=_0x10115a,_0x5f5bb2={'KYvug':function(_0x189953,_0x1b3af2){return _0x189953===_0x1b3af2;},'ZBOUd':_0x317cfd(0x186),'Imsyd':function(_0x179a94,_0x7b4391){return _0x179a94(_0x7b4391);}},{md5:_0x2edebf,fileName:_0x30782e,path:_0x4d826d,fileSize:_0x3264f5}=await NTQQFileApi['uploadFile'](_0x326f64,ElementType[_0x317cfd(0x178)],_0x51ad7);if(_0x5f5bb2[_0x317cfd(0x183)](_0x3264f5,0x0))throw _0x5f5bb2[_0x317cfd(0x141)];const _0x3824cf=await NTQQFileApi[_0x317cfd(0x14c)](_0x326f64),_0x263f48={'md5HexStr':_0x2edebf,'fileSize':_0x3264f5[_0x317cfd(0x16f)](),'picWidth':_0x3824cf?.['width'],'picHeight':_0x3824cf?.[_0x317cfd(0x13f)],'fileName':_0x30782e,'sourcePath':_0x4d826d,'original':!![],'picType':_0x5f5bb2[_0x317cfd(0x181)](isGIF,_0x326f64)?PicType[_0x317cfd(0x173)]:PicType['jpg'],'picSubType':_0x51ad7,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x24f6cb};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x263f48};}static async['file'](_0x42d5c6,_0xcf3828='',_0x3072b9=''){const _0x706264=_0x10115a,_0x3af377={'fgjkN':function(_0x2ea247,_0x595dec){return _0x2ea247===_0x595dec;},'Ljyai':_0x706264(0x186),'QDtSX':function(_0x2a4433,_0x5dc7d3){return _0x2a4433||_0x5dc7d3;}},{md5:_0x30fc80,fileName:_0x445404,path:_0x2085f9,fileSize:_0x5cdf86}=await NTQQFileApi['uploadFile'](_0x42d5c6,ElementType[_0x706264(0x17e)]);if(_0x3af377[_0x706264(0x158)](_0x5cdf86,0x0))throw _0x3af377[_0x706264(0x172)];const _0x54fb15={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x3af377[_0x706264(0x18f)](_0xcf3828,_0x445404),'folderId':_0x3072b9,'filePath':_0x2085f9,'fileSize':_0x5cdf86[_0x706264(0x16f)]()}};return _0x54fb15;}static async[_0x10115a(0x14d)](_0x14d0b8,_0x5d2aa0='',_0xfe750=''){const _0x25d344=_0x10115a,_0x44c5f6={'tlRVg':function(_0x304255,_0x5025b0){return _0x304255(_0x5025b0);},'IRADt':function(_0x4ad688,_0x3b9df1){return _0x4ad688(_0x3b9df1);},'HGFYi':function(_0xd2e034,_0x13b1d9,_0x3dee7b){return _0xd2e034(_0x13b1d9,_0x3dee7b);},'ZPuUB':_0x25d344(0x17b),'Zojdo':function(_0x4ba679,_0x4ed3ef){return _0x4ba679+_0x4ed3ef;},'iOaYk':_0x25d344(0x147),'zZlDY':function(_0xfc18f8,_0x1b77c5){return _0xfc18f8===_0x1b77c5;},'uzqZR':_0x25d344(0x186),'ZokDU':'mp4','hXqDh':_0x25d344(0x18d),'wspzi':function(_0x504ff3,_0x4afa37){return _0x504ff3||_0x4afa37;}},{fileName:_0x56fc2a,path:_0x4ea91f,fileSize:_0x83cb8d,md5:_0x9b8b66}=await NTQQFileApi[_0x25d344(0x195)](_0x14d0b8,ElementType[_0x25d344(0x171)]);if(_0x44c5f6[_0x25d344(0x174)](_0x83cb8d,0x0))throw _0x44c5f6[_0x25d344(0x157)];let _0x21d354=_0x4ea91f['replace'](_0x124c5f[_0x25d344(0x194)]+_0x25d344(0x18c)+_0x124c5f[_0x25d344(0x194)],_0x124c5f[_0x25d344(0x194)]+_0x25d344(0x148)+_0x124c5f[_0x25d344(0x194)]);_0x21d354=_0x124c5f['dirname'](_0x21d354);let _0xeeead1={'width':0x780,'height':0x438,'time':0xf,'format':_0x44c5f6['ZokDU'],'size':_0x83cb8d,'filePath':_0x14d0b8};try{_0xeeead1=await _0x44c5f6['tlRVg'](getVideoInfo,_0x4ea91f);}catch(_0x37429b){logError(_0x44c5f6['hXqDh'],_0x37429b);}const _0x42eb78=new Promise((_0x56acc9,_0x30e94f)=>{const _0x16d942=_0x25d344,_0x211f0f={'MFvMz':function(_0x23f3ad,_0x22c179){return _0x23f3ad(_0x22c179);},'mbNNi':function(_0x44cdd1,_0x2722b4){const _0x283627=_0x4d3c;return _0x44c5f6[_0x283627(0x160)](_0x44cdd1,_0x2722b4);},'NKKev':function(_0x33db8c,_0x5d720b,_0x5c456e){const _0x2d6f70=_0x4d3c;return _0x44c5f6[_0x2d6f70(0x185)](_0x33db8c,_0x5d720b,_0x5c456e);},'xDjTp':_0x44c5f6[_0x16d942(0x162)]},_0x405d37=_0x9b8b66+_0x16d942(0x168),_0x3c4e33=_0x124c5f[_0x16d942(0x175)](_0x21d354,_0x405d37);_0x44c5f6[_0x16d942(0x160)](_0x1bb051,_0x14d0b8)['on'](_0x16d942(0x147),()=>{})['on'](_0x16d942(0x177),_0x1e0007=>{const _0x1d75ae=_0x16d942,_0x1c974d={'woelX':function(_0x48b23f,_0x50118d){const _0x25de48=_0x4d3c;return _0x211f0f[_0x25de48(0x155)](_0x48b23f,_0x50118d);}};_0x211f0f[_0x1d75ae(0x191)](logDebug,_0x211f0f[_0x1d75ae(0x15a)],_0x1e0007),_0xfe750?_0x454880[_0x1d75ae(0x143)](_0xfe750,_0x3c4e33)[_0x1d75ae(0x17f)](()=>{const _0x1f68de=_0x1d75ae;_0x1c974d[_0x1f68de(0x13a)](_0x56acc9,_0x3c4e33);})[_0x1d75ae(0x13d)](_0x30e94f):_0x454880[_0x1d75ae(0x142)](_0x3c4e33,defaultVideoThumb)['then'](()=>{const _0x4fdf8e=_0x1d75ae;_0x211f0f[_0x4fdf8e(0x18b)](_0x56acc9,_0x3c4e33);})['catch'](_0x30e94f);})['screenshots']({'timestamps':[0x0],'filename':_0x405d37,'folder':_0x21d354,'size':_0x44c5f6[_0x16d942(0x164)](_0x44c5f6['Zojdo'](_0xeeead1[_0x16d942(0x14a)],'x'),_0xeeead1[_0x16d942(0x13f)])})['on'](_0x44c5f6[_0x16d942(0x135)],()=>{const _0x5a4ffe=_0x16d942;_0x44c5f6[_0x5a4ffe(0x138)](_0x56acc9,_0x3c4e33);});}),_0x583c79=new Map(),_0x519d72=await _0x42eb78,_0x1a0b94=(await _0x454880[_0x25d344(0x161)](_0x519d72))[_0x25d344(0x144)];_0x583c79['set'](0x0,_0x519d72);const _0x6c3c33=await _0x44c5f6[_0x25d344(0x138)](calculateFileMD5,_0x519d72),_0x2e1008={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x44c5f6[_0x25d344(0x154)](_0x5d2aa0,_0x56fc2a),'filePath':_0x4ea91f,'videoMd5':_0x9b8b66,'thumbMd5':_0x6c3c33,'fileTime':_0xeeead1[_0x25d344(0x15c)],'thumbPath':_0x583c79,'thumbSize':_0x1a0b94,'thumbWidth':_0xeeead1[_0x25d344(0x14a)],'thumbHeight':_0xeeead1[_0x25d344(0x13f)],'fileSize':_0x44c5f6[_0x25d344(0x164)]('',_0x83cb8d)}};return _0x2e1008;}static async[_0x10115a(0x151)](_0x2d4688){const _0x22b721=_0x10115a,_0x1e0f5c={'XIyoG':function(_0x5e7176,_0x3ad446){return _0x5e7176(_0x3ad446);},'SaBTD':_0x22b721(0x170),'uGizG':function(_0x377c4e,_0x370882){return _0x377c4e===_0x370882;},'DHdJL':_0x22b721(0x186),'ASlzv':function(_0x44feba,_0x38ab78){return _0x44feba||_0x38ab78;}},{converted:_0x43275d,path:_0x1c2719,duration:_0x1f5405}=await _0x1e0f5c[_0x22b721(0x156)](encodeSilk,_0x2d4688);if(!_0x1c2719)throw _0x1e0f5c[_0x22b721(0x149)];const {md5:_0x3e9f9a,fileName:_0x1b630c,path:_0x5d41f4,fileSize:_0x335434}=await NTQQFileApi[_0x22b721(0x195)](_0x1c2719,ElementType[_0x22b721(0x176)]);if(_0x1e0f5c['uGizG'](_0x335434,0x0))throw _0x1e0f5c['DHdJL'];return _0x43275d&&_0x454880[_0x22b721(0x14b)](_0x1c2719)[_0x22b721(0x17f)](),{'elementType':ElementType[_0x22b721(0x176)],'elementId':'','pttElement':{'fileName':_0x1b630c,'filePath':_0x5d41f4,'md5HexStr':_0x3e9f9a,'fileSize':_0x335434,'duration':_0x1e0f5c[_0x22b721(0x17a)](_0x1f5405,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[_0x10115a(0x17d)](_0x1eefb6){const _0x232d3c=_0x10115a,_0x549a68={'zPVCN':function(_0x506ab5,_0x3ac508){return _0x506ab5(_0x3ac508);},'ohMvT':function(_0xdae10f,_0x57040b){return _0xdae10f>=_0x57040b;}},_0x2cccef=_0x34f3e3['sysface'],_0x114d53=_0x34f3e3[_0x232d3c(0x14e)],_0x4c388b=_0x2cccef[_0x232d3c(0x188)](_0x506aae=>_0x506aae[_0x232d3c(0x18a)]===_0x1eefb6[_0x232d3c(0x16f)]());_0x1eefb6=_0x549a68['zPVCN'](parseInt,_0x1eefb6[_0x232d3c(0x16f)]());let _0x23c038=0x1;return _0x549a68['ohMvT'](_0x1eefb6,0xde)&&(_0x23c038=0x2),_0x4c388b[_0x232d3c(0x17c)]&&(_0x23c038=0x3),{'elementType':ElementType[_0x232d3c(0x16c)],'elementId':'','faceElement':{'faceIndex':_0x1eefb6,'faceType':_0x23c038,'faceText':_0x4c388b[_0x232d3c(0x179)],'stickerId':_0x4c388b[_0x232d3c(0x167)],'stickerType':_0x4c388b['AniStickerType'],'packId':_0x4c388b[_0x232d3c(0x153)],'sourceType':0x1}};}static['mface'](_0x3f4d33,_0x1338ee,_0x53e05f,_0x472620){const _0x148dcc=_0x10115a,_0x470c77={'atXme':_0x148dcc(0x145)};return{'elementType':ElementType[_0x148dcc(0x152)],'marketFaceElement':{'emojiPackageId':_0x3f4d33,'emojiId':_0x1338ee,'key':_0x53e05f,'faceName':_0x472620||mFaceCache[_0x148dcc(0x16e)](_0x1338ee)||_0x470c77[_0x148dcc(0x163)]}};}static['dice'](_0x16a01e){const _0x1a623d=_0x10115a,_0x34b65c={'eUuac':_0x1a623d(0x196)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1a623d(0x16a)],'faceType':FaceType[_0x1a623d(0x16a)],'faceText':_0x34b65c[_0x1a623d(0x16d)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x10115a(0x137)](_0x5bd076){const _0x390be9=_0x10115a,_0x41a65c={'SozIj':_0x390be9(0x180)};return{'elementType':ElementType[_0x390be9(0x16c)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x390be9(0x165)],'faceText':_0x41a65c[_0x390be9(0x146)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x10115a(0x189)](_0x370416){const _0x8fc172=_0x10115a,_0x1f5df9={'iwNJY':function(_0x1442f5,_0x5aaf1d){return _0x1442f5!==_0x5aaf1d;},'FicKz':'string'};return _0x1f5df9['iwNJY'](typeof _0x370416,_0x1f5df9['FicKz'])&&(_0x370416=JSON[_0x8fc172(0x150)](_0x370416)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x370416,'linkInfo':null,'subElementType':null}};}static[_0x10115a(0x184)](_0x308d92){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x308d92}};}static async[_0x10115a(0x13c)](){const _0x4f7866=_0x10115a,_0x977c96={'YmXfp':function(_0x4b2954,_0x4e87a7){return _0x4b2954(_0x4e87a7);},'RaXPx':_0x4f7866(0x192),'UUTBB':_0x4f7866(0x15e),'HkwpO':'https://www.bilibili.com/','UCbfo':_0x4f7866(0x139)};let _0x1c3c5c=await _0x977c96['YmXfp'](SignMiniApp,{'prompt':_0x977c96[_0x4f7866(0x190)],'title':_0x977c96[_0x4f7866(0x190)],'preview':_0x977c96['UUTBB'],'jumpUrl':_0x977c96['HkwpO'],'tag':_0x4f7866(0x192),'tagIcon':_0x977c96[_0x4f7866(0x13b)],'source':_0x977c96[_0x4f7866(0x190)],'sourcelogo':_0x977c96[_0x4f7866(0x13b)]});return{'elementType':ElementType[_0x4f7866(0x15d)],'elementId':'','arkElement':{'bytesData':_0x1c3c5c,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x5b59b2=_0x5147;(function(_0x11ee18,_0x16c5ac){const _0x22367a=_0x5147,_0x1536aa=_0x11ee18();while(!![]){try{const _0x15f636=parseInt(_0x22367a(0x1c5))/0x1*(parseInt(_0x22367a(0x1a9))/0x2)+-parseInt(_0x22367a(0x195))/0x3+-parseInt(_0x22367a(0x1d1))/0x4*(parseInt(_0x22367a(0x1c2))/0x5)+-parseInt(_0x22367a(0x182))/0x6*(-parseInt(_0x22367a(0x1ce))/0x7)+parseInt(_0x22367a(0x18b))/0x8+parseInt(_0x22367a(0x18e))/0x9+parseInt(_0x22367a(0x1c7))/0xa*(parseInt(_0x22367a(0x1a5))/0xb);if(_0x15f636===_0x16c5ac)break;else _0x1536aa['push'](_0x1536aa['shift']());}catch(_0x5a4ec8){_0x1536aa['push'](_0x1536aa['shift']());}}}(_0x5e20,0x3eb3a));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2af7f4}from'node:fs';import _0x2ed6e2 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x5147(_0x376e51,_0xb7f5a9){const _0x5e209d=_0x5e20();return _0x5147=function(_0x514732,_0x3895bc){_0x514732=_0x514732-0x173;let _0x2888fb=_0x5e209d[_0x514732];return _0x2888fb;},_0x5147(_0x376e51,_0xb7f5a9);}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 _0x5e20(){const _0x2cfa45=['222IlvsRy','text','screenshots','FFnzI','AniStickerType','iDDYA','catch','QlbzR','AniStickerId','1341784rBlMxV','DdonP','uploadFile','3158928wQWoUr','markdown','VIDEO','FDZHz','https://www.bilibili.com/','toString','notAt','1057182OwFZrN','dice','stat','emoji','fqtDK','string','TEXT','_0.png','[包剪锤]','mface','DIkJv','writeFile','FACE','UBeUe','ark','FILE','22SNTyqf','width','MlDMy','PlUdw','76060qOSBqC','face','QxIkl','rps','ARK','GHDiI','ptt','sep','REPLY','qWbIZ','JAmwy','join','aJUUB','NkoSk','jpg','file','XcgQk','WndpN','cJqZb','Ori','PIC','ramBn','YYaPB','获取视频信息失败','PTT','180gHzYrh','Bot\x20Test','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','4BMCuXw','error','1733140aTLIxA','文件异常,大小为0','height','MOcsq','NTAGX','HOnMw','pic','7035eFoLTS','语音转换失败,\x20请检查语音文件是否正常','find','49492KxCBVG','end','set','hcrqq','video','mwmxm','get','then','time','ofcOw','size','replace','unlink','stringify','RPS','aIiue','reply'];_0x5e20=function(){return _0x2cfa45;};return _0x5e20();}import _0x4e1ad3 from'./face_config.json';import*as _0x2dc826 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x5b59b2(0x183)](_0x2efced){const _0x50df93=_0x5b59b2;return{'elementType':ElementType[_0x50df93(0x19b)],'elementId':'','textElement':{'content':_0x2efced,'atType':AtType[_0x50df93(0x194)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x337f51,_0x5bb13d,_0x11e3f1,_0x203ae3){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x203ae3,'atType':_0x11e3f1,'atUid':_0x337f51,'atTinyId':'','atNtUid':_0x5bb13d}};}static[_0x5b59b2(0x181)](_0x5612d9,_0x4228ec,_0x1151bf,_0x501297){const _0xd730b7=_0x5b59b2;return{'elementType':ElementType[_0xd730b7(0x1b1)],'elementId':'','replyElement':{'replayMsgSeq':_0x5612d9,'replayMsgId':_0x4228ec,'senderUin':_0x1151bf,'senderUinStr':_0x501297}};}static async[_0x5b59b2(0x1cd)](_0x50155b,_0xf271f8='',_0x312e13=0x0){const _0x58e8cc=_0x5b59b2,_0xc83d8c={'mwmxm':function(_0x1ff380,_0x15b6ec){return _0x1ff380===_0x15b6ec;},'aIiue':_0x58e8cc(0x1c8)},{md5:_0x2e526b,fileName:_0x1087bc,path:_0x5aa414,fileSize:_0x1054e0}=await NTQQFileApi[_0x58e8cc(0x18d)](_0x50155b,ElementType[_0x58e8cc(0x1bd)],_0x312e13);if(_0xc83d8c[_0x58e8cc(0x176)](_0x1054e0,0x0))throw _0xc83d8c[_0x58e8cc(0x180)];const _0x54e60a=await NTQQFileApi['getImageSize'](_0x50155b),_0x1028b9={'md5HexStr':_0x2e526b,'fileSize':_0x1054e0[_0x58e8cc(0x193)](),'picWidth':_0x54e60a?.[_0x58e8cc(0x1a6)],'picHeight':_0x54e60a?.['height'],'fileName':_0x1087bc,'sourcePath':_0x5aa414,'original':!![],'picType':isGIF(_0x50155b)?PicType['gif']:PicType[_0x58e8cc(0x1b7)],'picSubType':_0x312e13,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0xf271f8};return{'elementType':ElementType[_0x58e8cc(0x1bd)],'elementId':'','picElement':_0x1028b9};}static async[_0x5b59b2(0x1b8)](_0x29a200,_0x52a64c='',_0x321679=''){const _0x519a2d=_0x5b59b2,_0x27a8f6={'lSBxZ':function(_0x2c6349,_0x320b7d){return _0x2c6349===_0x320b7d;},'PlUdw':_0x519a2d(0x1c8),'DdonP':function(_0x43de7c,_0x24be37){return _0x43de7c||_0x24be37;}},{md5:_0x1fc292,fileName:_0x317a44,path:_0x39e337,fileSize:_0x35bc27}=await NTQQFileApi[_0x519a2d(0x18d)](_0x29a200,ElementType[_0x519a2d(0x1a4)]);if(_0x27a8f6['lSBxZ'](_0x35bc27,0x0))throw _0x27a8f6[_0x519a2d(0x1a8)];const _0x4bca0f={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x27a8f6[_0x519a2d(0x18c)](_0x52a64c,_0x317a44),'folderId':_0x321679,'filePath':_0x39e337,'fileSize':_0x35bc27[_0x519a2d(0x193)]()}};return _0x4bca0f;}static async[_0x5b59b2(0x175)](_0x38126c,_0x56ebf0='',_0x40fc49=''){const _0x485ad7=_0x5b59b2,_0x4d30ab={'NkoSk':function(_0x20ccba,_0x46444a){return _0x20ccba(_0x46444a);},'NTAGX':function(_0x5cc2bd,_0x5cd58a){return _0x5cc2bd(_0x5cd58a);},'UBeUe':function(_0x421063,_0x49bc0c,_0x14e170){return _0x421063(_0x49bc0c,_0x14e170);},'qWbIZ':_0x485ad7(0x1d2),'wjPcF':_0x485ad7(0x1c6),'GHDiI':function(_0x196b83,_0x35f8e9){return _0x196b83+_0x35f8e9;},'iDDYA':function(_0x4c9a3a,_0x482140){return _0x4c9a3a===_0x482140;},'ypbZb':_0x485ad7(0x1c8),'KCBNy':'mp4','ExikU':_0x485ad7(0x1c0),'ofcOw':function(_0x829df0,_0x2938d0){return _0x829df0(_0x2938d0);},'QxIkl':function(_0x595796,_0x5899da){return _0x595796||_0x5899da;}},{fileName:_0x20b843,path:_0x329bdb,fileSize:_0x4a4d9e,md5:_0x14c730}=await NTQQFileApi[_0x485ad7(0x18d)](_0x38126c,ElementType[_0x485ad7(0x190)]);if(_0x4d30ab[_0x485ad7(0x187)](_0x4a4d9e,0x0))throw _0x4d30ab['ypbZb'];let _0xdad26a=_0x329bdb[_0x485ad7(0x17c)](_0x2dc826[_0x485ad7(0x1b0)]+_0x485ad7(0x1bc)+_0x2dc826[_0x485ad7(0x1b0)],_0x2dc826[_0x485ad7(0x1b0)]+'Thumb'+_0x2dc826['sep']);_0xdad26a=_0x2dc826['dirname'](_0xdad26a);let _0x2bc524={'width':0x780,'height':0x438,'time':0xf,'format':_0x4d30ab['KCBNy'],'size':_0x4a4d9e,'filePath':_0x38126c};try{_0x2bc524=await getVideoInfo(_0x329bdb);}catch(_0x395c7e){_0x4d30ab[_0x485ad7(0x1a2)](logError,_0x4d30ab['ExikU'],_0x395c7e);}const _0x46c45f=new Promise((_0x2af7ea,_0x25a0e7)=>{const _0x48b867=_0x485ad7,_0x5b5811={'ramBn':function(_0x85dd90,_0x152eaa){const _0x417ebe=_0x5147;return _0x4d30ab[_0x417ebe(0x1cb)](_0x85dd90,_0x152eaa);},'hcrqq':function(_0x1f850f,_0x105b28,_0x2a01dd){return _0x4d30ab['UBeUe'](_0x1f850f,_0x105b28,_0x2a01dd);},'WndpN':'获取视频封面失败,使用默认封面'},_0x15f564=_0x14c730+_0x48b867(0x19c),_0x50de04=_0x2dc826[_0x48b867(0x1b4)](_0xdad26a,_0x15f564);_0x4d30ab['NTAGX'](_0x2ed6e2,_0x38126c)['on'](_0x4d30ab['qWbIZ'],()=>{})['on'](_0x4d30ab['wjPcF'],_0x200e1d=>{const _0x4d22e5=_0x48b867,_0x3826f8={'QlbzR':function(_0x28b0dd,_0x5455e2){return _0x28b0dd(_0x5455e2);}};_0x5b5811[_0x4d22e5(0x174)](logDebug,_0x5b5811[_0x4d22e5(0x1ba)],_0x200e1d),_0x40fc49?_0x2af7f4['copyFile'](_0x40fc49,_0x50de04)[_0x4d22e5(0x178)](()=>{const _0x21f230=_0x4d22e5;_0x5b5811[_0x21f230(0x1be)](_0x2af7ea,_0x50de04);})[_0x4d22e5(0x188)](_0x25a0e7):_0x2af7f4[_0x4d22e5(0x1a0)](_0x50de04,defaultVideoThumb)['then'](()=>{const _0x143fae=_0x4d22e5;_0x3826f8[_0x143fae(0x189)](_0x2af7ea,_0x50de04);})[_0x4d22e5(0x188)](_0x25a0e7);})[_0x48b867(0x184)]({'timestamps':[0x0],'filename':_0x15f564,'folder':_0xdad26a,'size':_0x4d30ab[_0x48b867(0x1ae)](_0x2bc524['width'],'x')+_0x2bc524['height']})['on'](_0x4d30ab[_0x48b867(0x1b2)],()=>{const _0x139b1f=_0x48b867;_0x4d30ab[_0x139b1f(0x1b6)](_0x2af7ea,_0x50de04);});}),_0x21b38d=new Map(),_0x9ad027=await _0x46c45f,_0x5c736c=(await _0x2af7f4[_0x485ad7(0x197)](_0x9ad027))[_0x485ad7(0x17b)];_0x21b38d[_0x485ad7(0x173)](0x0,_0x9ad027);const _0x3865bb=await _0x4d30ab[_0x485ad7(0x17a)](calculateFileMD5,_0x9ad027),_0x20d3dd={'elementType':ElementType[_0x485ad7(0x190)],'elementId':'','videoElement':{'fileName':_0x4d30ab[_0x485ad7(0x1ab)](_0x56ebf0,_0x20b843),'filePath':_0x329bdb,'videoMd5':_0x14c730,'thumbMd5':_0x3865bb,'fileTime':_0x2bc524[_0x485ad7(0x179)],'thumbPath':_0x21b38d,'thumbSize':_0x5c736c,'thumbWidth':_0x2bc524[_0x485ad7(0x1a6)],'thumbHeight':_0x2bc524[_0x485ad7(0x1c9)],'fileSize':_0x4d30ab[_0x485ad7(0x1ae)]('',_0x4a4d9e)}};return _0x20d3dd;}static async[_0x5b59b2(0x1af)](_0x56a066){const _0x1ac0bd=_0x5b59b2,_0x51094e={'YYaPB':function(_0x2ec28d,_0x584011){return _0x2ec28d(_0x584011);},'MlDMy':_0x1ac0bd(0x1cf),'FDZHz':function(_0x550d3e,_0x57bc48){return _0x550d3e===_0x57bc48;},'DIkJv':'文件异常,大小为0'},{converted:_0x159ca9,path:_0x4df105,duration:_0x3a7a4f}=await _0x51094e[_0x1ac0bd(0x1bf)](encodeSilk,_0x56a066);if(!_0x4df105)throw _0x51094e[_0x1ac0bd(0x1a7)];const {md5:_0x4b9bfa,fileName:_0x2f6d71,path:_0x2f7ded,fileSize:_0x367e3e}=await NTQQFileApi[_0x1ac0bd(0x18d)](_0x4df105,ElementType[_0x1ac0bd(0x1c1)]);if(_0x51094e[_0x1ac0bd(0x191)](_0x367e3e,0x0))throw _0x51094e[_0x1ac0bd(0x19f)];return _0x159ca9&&_0x2af7f4[_0x1ac0bd(0x17d)](_0x4df105)[_0x1ac0bd(0x178)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x2f6d71,'filePath':_0x2f7ded,'md5HexStr':_0x4b9bfa,'fileSize':_0x367e3e,'duration':_0x3a7a4f||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[_0x5b59b2(0x1aa)](_0x1e67b2){const _0x1ee9cc=_0x5b59b2,_0x35cc7a={'XcgQk':function(_0xa4b2f5,_0x265df4){return _0xa4b2f5(_0x265df4);}},_0x178dbe=_0x4e1ad3['sysface'],_0x13daa3=_0x4e1ad3[_0x1ee9cc(0x198)],_0xa9f15=_0x178dbe[_0x1ee9cc(0x1d0)](_0x22cdf9=>_0x22cdf9['QSid']===_0x1e67b2[_0x1ee9cc(0x193)]());_0x1e67b2=_0x35cc7a[_0x1ee9cc(0x1b9)](parseInt,_0x1e67b2['toString']());let _0x1e45a6=0x1;return _0x1e67b2>=0xde&&(_0x1e45a6=0x2),_0xa9f15[_0x1ee9cc(0x186)]&&(_0x1e45a6=0x3),{'elementType':ElementType[_0x1ee9cc(0x1a1)],'elementId':'','faceElement':{'faceIndex':_0x1e67b2,'faceType':_0x1e45a6,'faceText':_0xa9f15['QDes'],'stickerId':_0xa9f15[_0x1ee9cc(0x18a)],'stickerType':_0xa9f15[_0x1ee9cc(0x186)],'packId':_0xa9f15['AniStickerPackId'],'sourceType':0x1}};}static[_0x5b59b2(0x19e)](_0x4c9d26,_0x5249b4,_0x5d37ba,_0x3483b0){const _0x2b98a7=_0x5b59b2,_0x1a4745={'cJqZb':'[商城表情]'};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x4c9d26,'emojiId':_0x5249b4,'key':_0x5d37ba,'faceName':_0x3483b0||mFaceCache[_0x2b98a7(0x177)](_0x5249b4)||_0x1a4745[_0x2b98a7(0x1bb)]}};}static[_0x5b59b2(0x196)](_0x46edf1){const _0x55c2c8=_0x5b59b2,_0x49e225={'aJUUB':'[骰子]'};return{'elementType':ElementType[_0x55c2c8(0x1a1)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x55c2c8(0x196)],'faceType':FaceType[_0x55c2c8(0x196)],'faceText':_0x49e225[_0x55c2c8(0x1b5)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5b59b2(0x1ac)](_0x2165c8){const _0x11fe9a=_0x5b59b2,_0x23ad4d={'jaNGF':_0x11fe9a(0x19d)};return{'elementType':ElementType[_0x11fe9a(0x1a1)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x11fe9a(0x17f)],'faceText':_0x23ad4d['jaNGF'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5b59b2(0x1a3)](_0x3da107){const _0x2b2150=_0x5b59b2,_0x4dc432={'hqWWA':function(_0x4ed626,_0x567075){return _0x4ed626!==_0x567075;}};return _0x4dc432['hqWWA'](typeof _0x3da107,_0x2b2150(0x19a))&&(_0x3da107=JSON[_0x2b2150(0x17e)](_0x3da107)),{'elementType':ElementType[_0x2b2150(0x1ad)],'elementId':'','arkElement':{'bytesData':_0x3da107,'linkInfo':null,'subElementType':null}};}static[_0x5b59b2(0x18f)](_0xe14f2){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0xe14f2}};}static async['miniapp'](){const _0x14e5b8=_0x5b59b2,_0x2f7b32={'JAmwy':function(_0x47bfa0,_0x414f51){return _0x47bfa0(_0x414f51);},'HOnMw':'Bot\x20Test','fqtDK':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','MOcsq':_0x14e5b8(0x192),'FFnzI':_0x14e5b8(0x1c4)};let _0x44b9a4=await _0x2f7b32[_0x14e5b8(0x1b3)](SignMiniApp,{'prompt':_0x2f7b32[_0x14e5b8(0x1cc)],'title':_0x2f7b32[_0x14e5b8(0x1cc)],'preview':_0x2f7b32[_0x14e5b8(0x199)],'jumpUrl':_0x2f7b32[_0x14e5b8(0x1ca)],'tag':_0x2f7b32['HOnMw'],'tagIcon':_0x2f7b32['FFnzI'],'source':_0x14e5b8(0x1c3),'sourcelogo':_0x2f7b32[_0x14e5b8(0x185)]});return{'elementType':ElementType[_0x14e5b8(0x1ad)],'elementId':'','arkElement':{'bytesData':_0x44b9a4,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 907ce671..394b9f57 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0xfe4f(){var _0x22563a=['4674344BzCoGA','normal','1726923XgzrOb','930tRRaAc','108684uWMSuA','2880294kCmpnS','895588SNcOVf','10PjCGul','18boBsDG','admin','1738494rWhaLG','1126141AICXmT','7oBwZxm'];_0xfe4f=function(){return _0x22563a;};return _0xfe4f();}function _0x468d(_0x38a3a0,_0x3ed8b9){var _0xfe4fbf=_0xfe4f();return _0x468d=function(_0x468d66,_0x615a1d){_0x468d66=_0x468d66-0x1c7;var _0x10ed28=_0xfe4fbf[_0x468d66];return _0x10ed28;},_0x468d(_0x38a3a0,_0x3ed8b9);}(function(_0x3c123b,_0x23e233){var _0x44d14d=_0x468d,_0x3bc2c7=_0x3c123b();while(!![]){try{var _0x70698=parseInt(_0x44d14d(0x1ce))/0x1+parseInt(_0x44d14d(0x1cd))/0x2+parseInt(_0x44d14d(0x1cb))/0x3*(parseInt(_0x44d14d(0x1c9))/0x4)+parseInt(_0x44d14d(0x1ca))/0x5*(-parseInt(_0x44d14d(0x1c8))/0x6)+-parseInt(_0x44d14d(0x1cf))/0x7*(parseInt(_0x44d14d(0x1d0))/0x8)+-parseInt(_0x44d14d(0x1c7))/0x9*(parseInt(_0x44d14d(0x1d3))/0xa)+parseInt(_0x44d14d(0x1d2))/0xb;if(_0x70698===_0x23e233)break;else _0x3bc2c7['push'](_0x3bc2c7['shift']());}catch(_0x3b1227){_0x3bc2c7['push'](_0x3bc2c7['shift']());}}}(_0xfe4f,0xca390));export var GroupMemberRole;(function(_0x13eed0){var _0x3be934=_0x468d,_0x2818c5={'UcHmz':_0x3be934(0x1d1),'KWBFj':_0x3be934(0x1cc),'RQBHk':'owner'};_0x13eed0[_0x13eed0[_0x2818c5['UcHmz']]=0x2]='normal',_0x13eed0[_0x13eed0[_0x2818c5['KWBFj']]=0x3]=_0x2818c5['KWBFj'],_0x13eed0[_0x13eed0[_0x2818c5['RQBHk']]=0x4]=_0x2818c5['RQBHk'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x3f3399,_0x532698){var _0x2fc5e4=_0x114e,_0x3b1e89=_0x3f3399();while(!![]){try{var _0x2872d4=-parseInt(_0x2fc5e4(0xb5))/0x1+parseInt(_0x2fc5e4(0xb8))/0x2+parseInt(_0x2fc5e4(0xbb))/0x3+parseInt(_0x2fc5e4(0xbd))/0x4*(parseInt(_0x2fc5e4(0xb4))/0x5)+parseInt(_0x2fc5e4(0xb6))/0x6+-parseInt(_0x2fc5e4(0xbc))/0x7+-parseInt(_0x2fc5e4(0xb7))/0x8;if(_0x2872d4===_0x532698)break;else _0x3b1e89['push'](_0x3b1e89['shift']());}catch(_0x1b43c8){_0x3b1e89['push'](_0x3b1e89['shift']());}}}(_0x10d3,0xa86fe));export var GroupMemberRole;function _0x114e(_0x28052a,_0x239520){var _0x10d3a0=_0x10d3();return _0x114e=function(_0x114e19,_0x4b0c18){_0x114e19=_0x114e19-0xb1;var _0x3a09db=_0x10d3a0[_0x114e19];return _0x3a09db;},_0x114e(_0x28052a,_0x239520);}(function(_0x5c6151){var _0x3effc5=_0x114e,_0x55bbe0={'AmKLJ':_0x3effc5(0xb9),'cXFxg':_0x3effc5(0xb3),'pUHHj':'owner'};_0x5c6151[_0x5c6151[_0x55bbe0['AmKLJ']]=0x2]=_0x3effc5(0xb9),_0x5c6151[_0x5c6151[_0x55bbe0[_0x3effc5(0xb1)]]=0x3]=_0x55bbe0['cXFxg'],_0x5c6151[_0x5c6151[_0x3effc5(0xb2)]=0x4]=_0x55bbe0[_0x3effc5(0xba)];}(GroupMemberRole||(GroupMemberRole={})));function _0x10d3(){var _0x265dfc=['admin','5znHKrw','612218UfhSWB','4410378VhPWKz','16394528mBKneK','2291982IAdzgt','normal','pUHHj','3943854DZmnbs','4063437LNzZUp','2945084AdnItc','cXFxg','owner'];_0x10d3=function(){return _0x265dfc;};return _0x10d3();} \ 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 2a7bbc58..58f5651b 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -function _0x14bc(){var _0x4f49b1=['40684Mxiqpd','885170fQcQyB','274AUVjnY','1224nzbFan','317043yUpRIR','1156736YNRhjK','977607RkiKna','1281972Nmxudk','424UFlGox'];_0x14bc=function(){return _0x4f49b1;};return _0x14bc();}(function(_0x1e121e,_0x4f001d){var _0x1cfe2d=_0x4473,_0x5e4046=_0x1e121e();while(!![]){try{var _0x20ea89=parseInt(_0x1cfe2d(0x14a))/0x1*(-parseInt(_0x1cfe2d(0x149))/0x2)+-parseInt(_0x1cfe2d(0x14b))/0x3+parseInt(_0x1cfe2d(0x14c))/0x4+parseInt(_0x1cfe2d(0x148))/0x5+parseInt(_0x1cfe2d(0x14e))/0x6+-parseInt(_0x1cfe2d(0x147))/0x7*(parseInt(_0x1cfe2d(0x14f))/0x8)+parseInt(_0x1cfe2d(0x14d))/0x9;if(_0x20ea89===_0x4f001d)break;else _0x5e4046['push'](_0x5e4046['shift']());}catch(_0x4fa7ec){_0x5e4046['push'](_0x5e4046['shift']());}}}(_0x14bc,0x328fa));export*from'./user';export*from'./group';export*from'./msg';function _0x4473(_0x5d5188,_0x1b3cfb){var _0x14bc48=_0x14bc();return _0x4473=function(_0x4473d4,_0x1230a6){_0x4473d4=_0x4473d4-0x147;var _0x34458e=_0x14bc48[_0x4473d4];return _0x34458e;},_0x4473(_0x5d5188,_0x1b3cfb);}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +function _0x1fcf(_0x48e868,_0x15bf13){var _0x17328e=_0x1732();return _0x1fcf=function(_0x1fcf92,_0x4d290a){_0x1fcf92=_0x1fcf92-0xcc;var _0x4a03ab=_0x17328e[_0x1fcf92];return _0x4a03ab;},_0x1fcf(_0x48e868,_0x15bf13);}(function(_0x15a80d,_0x4fa214){var _0xf00324=_0x1fcf,_0xbd4be5=_0x15a80d();while(!![]){try{var _0xae7877=parseInt(_0xf00324(0xd4))/0x1*(parseInt(_0xf00324(0xd2))/0x2)+parseInt(_0xf00324(0xd0))/0x3*(-parseInt(_0xf00324(0xce))/0x4)+-parseInt(_0xf00324(0xd1))/0x5+-parseInt(_0xf00324(0xcd))/0x6+-parseInt(_0xf00324(0xd3))/0x7+-parseInt(_0xf00324(0xcf))/0x8+parseInt(_0xf00324(0xcc))/0x9;if(_0xae7877===_0x4fa214)break;else _0xbd4be5['push'](_0xbd4be5['shift']());}catch(_0x537506){_0xbd4be5['push'](_0xbd4be5['shift']());}}}(_0x1732,0x77166));export*from'./user';export*from'./group';function _0x1732(){var _0x471b65=['21782115MqLZvB','3246630DILsmD','88PvYvcD','5738072uyzfxg','15588JYMgat','3617230pmUWnK','14YHEOZC','5387242YRIzfW','133325xEBpkm'];_0x1732=function(){return _0x471b65;};return _0x1732();}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index cf5004ef..404e97b1 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x410d81=_0x4306;(function(_0x3958fa,_0x5b2965){var _0x441de7=_0x4306,_0x211b27=_0x3958fa();while(!![]){try{var _0x4ddf0e=-parseInt(_0x441de7(0x1b4))/0x1+-parseInt(_0x441de7(0x1ba))/0x2*(parseInt(_0x441de7(0x1b5))/0x3)+parseInt(_0x441de7(0x1a1))/0x4*(parseInt(_0x441de7(0x1c6))/0x5)+parseInt(_0x441de7(0x1cd))/0x6*(-parseInt(_0x441de7(0x1a7))/0x7)+parseInt(_0x441de7(0x1bb))/0x8*(parseInt(_0x441de7(0x1b2))/0x9)+parseInt(_0x441de7(0x1cf))/0xa+parseInt(_0x441de7(0x1b1))/0xb*(-parseInt(_0x441de7(0x1a3))/0xc);if(_0x4ddf0e===_0x5b2965)break;else _0x211b27['push'](_0x211b27['shift']());}catch(_0x11c9bf){_0x211b27['push'](_0x211b27['shift']());}}}(_0x30fd,0x1e1c7));export var ElementType;(function(_0xad9376){var _0x4e8806=_0x4306,_0x4a11c7={'KtCxg':_0x4e8806(0x1c2),'BHRuK':'PIC','LUdQH':'FILE','uiurq':_0x4e8806(0x1a6),'ZsSVG':_0x4e8806(0x1c4),'wEkVq':'FACE','HanZW':_0x4e8806(0x1c5),'FIcwZ':'ARK','rSjqK':'MFACE','obzvO':_0x4e8806(0x1bc)};_0xad9376[_0xad9376[_0x4a11c7[_0x4e8806(0x1c1)]]=0x1]=_0x4a11c7['KtCxg'],_0xad9376[_0xad9376[_0x4a11c7['BHRuK']]=0x2]=_0x4e8806(0x1c8),_0xad9376[_0xad9376[_0x4a11c7[_0x4e8806(0x1b0)]]=0x3]=_0x4a11c7[_0x4e8806(0x1b0)],_0xad9376[_0xad9376['PTT']=0x4]=_0x4a11c7[_0x4e8806(0x1cc)],_0xad9376[_0xad9376[_0x4a11c7[_0x4e8806(0x1a0)]]=0x5]=_0x4a11c7['ZsSVG'],_0xad9376[_0xad9376[_0x4a11c7[_0x4e8806(0x19e)]]=0x6]=_0x4e8806(0x1bd),_0xad9376[_0xad9376[_0x4a11c7[_0x4e8806(0x198)]]=0x7]=_0x4a11c7[_0x4e8806(0x198)],_0xad9376[_0xad9376['ARK']=0xa]=_0x4a11c7[_0x4e8806(0x197)],_0xad9376[_0xad9376['MFACE']=0xb]=_0x4a11c7[_0x4e8806(0x1b8)],_0xad9376[_0xad9376[_0x4a11c7[_0x4e8806(0x19d)]]=0xe]=_0x4a11c7['obzvO'];}(ElementType||(ElementType={})));export var PicType;(function(_0x56f39c){var _0x5c6109=_0x4306,_0x1c8e9d={'CLmuJ':_0x5c6109(0x1ab),'cQduj':'jpg'};_0x56f39c[_0x56f39c[_0x1c8e9d[_0x5c6109(0x1b3)]]=0x7d0]=_0x1c8e9d[_0x5c6109(0x1b3)],_0x56f39c[_0x56f39c[_0x1c8e9d['cQduj']]=0x3e8]=_0x1c8e9d['cQduj'];}(PicType||(PicType={})));function _0x30fd(){var _0x9fc313=['OZvpB','LUdQH','11SuQyZL','9wwnopk','CLmuJ','19888zqGmyt','58263zqygCT','https://gchat.qpic.cn','eDAoZ','rSjqK','group','2VUyaqE','1542896mIKPUh','MARKDOWN','FACE','iejqv','YUNhE','INVITE_NEW_MEMBER','KtCxg','TEXT','kicked','VIDEO','REPLY','203135JOlHNa','nFWpI','PIC','chatDevice','PiezC','dice','uiurq','124860FeThdt','atUser','803210kmEFBp','NIsVC','normal','orvqq','FIcwZ','HanZW','https://multimedia.nt.qq.com.cn','RPS','UnFfu','eMgnJ','obzvO','wEkVq','atAll','ZsSVG','8dzFUzm','face','1802076dMQZmF','ptzrc','BUcaR','PTT','14EzCPFN','rduOP','notAt','xeZoU','gif','memberIncrease','pQMJC','ban'];_0x30fd=function(){return _0x9fc313;};return _0x30fd();}export var PicSubType;(function(_0x52db1d){var _0x100fee=_0x4306,_0x9576f6={'OZvpB':_0x100fee(0x195),'yEhBy':_0x100fee(0x1a2)};_0x52db1d[_0x52db1d[_0x9576f6['OZvpB']]=0x0]=_0x9576f6[_0x100fee(0x1af)],_0x52db1d[_0x52db1d[_0x9576f6['yEhBy']]=0x1]=_0x9576f6['yEhBy'];}(PicSubType||(PicSubType={})));export var AtType;function _0x4306(_0x3f5de8,_0x3b85c5){var _0x30fd0b=_0x30fd();return _0x4306=function(_0x43069a,_0x5062cf){_0x43069a=_0x43069a-0x194;var _0x26b851=_0x30fd0b[_0x43069a];return _0x26b851;},_0x4306(_0x3f5de8,_0x3b85c5);}(function(_0x3bebba){var _0x52cd57=_0x4306,_0x248d57={'nFWpI':_0x52cd57(0x1a9),'qGrqN':_0x52cd57(0x19f),'UnFfu':_0x52cd57(0x1ce)};_0x3bebba[_0x3bebba[_0x248d57['nFWpI']]=0x0]=_0x248d57[_0x52cd57(0x1c7)],_0x3bebba[_0x3bebba[_0x248d57['qGrqN']]=0x1]=_0x248d57['qGrqN'],_0x3bebba[_0x3bebba[_0x248d57[_0x52cd57(0x19b)]]=0x2]=_0x248d57[_0x52cd57(0x19b)];}(AtType||(AtType={})));export var ChatType;(function(_0x55f79e){var _0x3dfb3e=_0x4306,_0xaaae72={'BUcaR':'friend','NIsVC':_0x3dfb3e(0x1b9),'rduOP':'chatDevice','xeZoU':'temp'};_0x55f79e[_0x55f79e[_0xaaae72[_0x3dfb3e(0x1a5)]]=0x1]=_0xaaae72[_0x3dfb3e(0x1a5)],_0x55f79e[_0x55f79e[_0xaaae72[_0x3dfb3e(0x194)]]=0x2]=_0xaaae72[_0x3dfb3e(0x194)],_0x55f79e[_0x55f79e[_0x3dfb3e(0x1c9)]=0x8]=_0xaaae72[_0x3dfb3e(0x1a8)],_0x55f79e[_0x55f79e[_0xaaae72['xeZoU']]=0x64]=_0xaaae72[_0x3dfb3e(0x1aa)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x410d81(0x1b6);export const IMAGE_HTTP_HOST_NT=_0x410d81(0x199);export var GrayTipElementSubType;(function(_0x49216d){var _0x4e6f29=_0x410d81,_0x48deb4={'eMgnJ':_0x4e6f29(0x1c0),'YUNhE':'MEMBER_NEW_TITLE'};_0x49216d[_0x49216d['INVITE_NEW_MEMBER']=0xc]=_0x48deb4[_0x4e6f29(0x19c)],_0x49216d[_0x49216d[_0x48deb4[_0x4e6f29(0x1bf)]]=0x11]=_0x48deb4[_0x4e6f29(0x1bf)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3b1bef){var _0x6c8791=_0x410d81,_0x45b890={'ptzrc':'normal2','orvqq':'dice'};_0x3b1bef[_0x3b1bef[_0x6c8791(0x195)]=0x1]='normal',_0x3b1bef[_0x3b1bef[_0x45b890[_0x6c8791(0x1a4)]]=0x2]=_0x45b890[_0x6c8791(0x1a4)],_0x3b1bef[_0x3b1bef[_0x45b890[_0x6c8791(0x196)]]=0x3]=_0x45b890[_0x6c8791(0x196)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x364aef){var _0x5ad9b9=_0x410d81,_0x2ff7ec={'iejqv':_0x5ad9b9(0x1cb),'eDAoZ':_0x5ad9b9(0x19a)};_0x364aef[_0x364aef[_0x2ff7ec[_0x5ad9b9(0x1be)]]=0x166]=_0x2ff7ec['iejqv'],_0x364aef[_0x364aef[_0x2ff7ec[_0x5ad9b9(0x1b7)]]=0x167]=_0x5ad9b9(0x19a);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x5e7903){var _0x54754c=_0x410d81,_0x3a1330={'PiezC':_0x54754c(0x1ac),'pQMJC':_0x54754c(0x1c3),'wvBwc':_0x54754c(0x1ae)};_0x5e7903[_0x5e7903[_0x3a1330[_0x54754c(0x1ca)]]=0x1]=_0x3a1330['PiezC'],_0x5e7903[_0x5e7903[_0x3a1330[_0x54754c(0x1ad)]]=0x3]=_0x54754c(0x1c3),_0x5e7903[_0x5e7903[_0x3a1330['wvBwc']]=0x8]=_0x54754c(0x1ae);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x51709e=_0x1cff;(function(_0x42a7b7,_0x10a67a){var _0xcabf73=_0x1cff,_0xf67dcf=_0x42a7b7();while(!![]){try{var _0x57c7d8=-parseInt(_0xcabf73(0x20d))/0x1*(-parseInt(_0xcabf73(0x219))/0x2)+parseInt(_0xcabf73(0x214))/0x3+parseInt(_0xcabf73(0x221))/0x4*(-parseInt(_0xcabf73(0x202))/0x5)+parseInt(_0xcabf73(0x20b))/0x6*(parseInt(_0xcabf73(0x1fb))/0x7)+parseInt(_0xcabf73(0x1ed))/0x8+-parseInt(_0xcabf73(0x20a))/0x9*(-parseInt(_0xcabf73(0x203))/0xa)+parseInt(_0xcabf73(0x20e))/0xb*(-parseInt(_0xcabf73(0x215))/0xc);if(_0x57c7d8===_0x10a67a)break;else _0xf67dcf['push'](_0xf67dcf['shift']());}catch(_0x4fee93){_0xf67dcf['push'](_0xf67dcf['shift']());}}}(_0xbac5,0x9cff2));export var ElementType;(function(_0x5cf56f){var _0x545c3b=_0x1cff,_0x4e2635={'OZsdu':'7|1|6|8|0|9|5|2|4|3','PnbCh':_0x545c3b(0x217),'bbWtc':_0x545c3b(0x20f),'ofhER':_0x545c3b(0x1eb),'BPcNV':_0x545c3b(0x226),'KTiyx':_0x545c3b(0x218),'JWvnk':_0x545c3b(0x223),'ZqIAy':'FILE','wvHqm':_0x545c3b(0x229),'XefSA':_0x545c3b(0x211)},_0x1f0980=_0x4e2635['OZsdu'][_0x545c3b(0x222)]('|'),_0xd0c08e=0x0;while(!![]){switch(_0x1f0980[_0xd0c08e++]){case'0':_0x5cf56f[_0x5cf56f[_0x4e2635[_0x545c3b(0x209)]]=0x5]=_0x4e2635[_0x545c3b(0x209)];continue;case'1':_0x5cf56f[_0x5cf56f[_0x4e2635['bbWtc']]=0x2]='PIC';continue;case'2':_0x5cf56f[_0x5cf56f[_0x4e2635['ofhER']]=0xa]=_0x4e2635[_0x545c3b(0x210)];continue;case'3':_0x5cf56f[_0x5cf56f[_0x545c3b(0x226)]=0xe]=_0x4e2635['BPcNV'];continue;case'4':_0x5cf56f[_0x5cf56f[_0x4e2635[_0x545c3b(0x1fe)]]=0xb]=_0x4e2635['KTiyx'];continue;case'5':_0x5cf56f[_0x5cf56f[_0x4e2635[_0x545c3b(0x1ff)]]=0x7]='REPLY';continue;case'6':_0x5cf56f[_0x5cf56f[_0x4e2635[_0x545c3b(0x1f5)]]=0x3]=_0x545c3b(0x1f1);continue;case'7':_0x5cf56f[_0x5cf56f[_0x545c3b(0x21c)]=0x1]='TEXT';continue;case'8':_0x5cf56f[_0x5cf56f[_0x4e2635['wvHqm']]=0x4]='PTT';continue;case'9':_0x5cf56f[_0x5cf56f[_0x4e2635['XefSA']]=0x6]=_0x4e2635[_0x545c3b(0x20c)];continue;}break;}}(ElementType||(ElementType={})));function _0xbac5(){var _0xc17d4e=['2DOptvQ','MEMBER_NEW_TITLE','vFrpi','TEXT','byTCX','normal','vTXXN','PuecA','3739180IRToaN','split','REPLY','RPS','https://gchat.qpic.cn','MARKDOWN','SfyXU','gif','PTT','WIftF','ARK','ctkJM','5830464TnZTAK','ITerj','chatDevice','rZqCd','FILE','jpg','zMsQB','dice','ZqIAy','PeJbA','RkEGo','https://multimedia.nt.qq.com.cn','kicked','VNTuT','14dizsDW','friend','GkkRs','KTiyx','JWvnk','face','AXcep','5LyPvET','10hazpWS','atAll','ban','group','LHwSC','temp','PnbCh','7817166HLKoyC','420978DsvelB','XefSA','518647WMNhiJ','11aurFiE','PIC','ofhER','FACE','atUser','notAt','1547949RCrcOn','14333820gncALf','normal2','VIDEO','MFACE'];_0xbac5=function(){return _0xc17d4e;};return _0xbac5();}export var PicType;(function(_0x3347e8){var _0x23eedf=_0x1cff,_0x181104={'PuecA':_0x23eedf(0x228),'byTCX':_0x23eedf(0x1f2)};_0x3347e8[_0x3347e8[_0x181104[_0x23eedf(0x220)]]=0x7d0]=_0x23eedf(0x228),_0x3347e8[_0x3347e8[_0x181104[_0x23eedf(0x21d)]]=0x3e8]=_0x181104[_0x23eedf(0x21d)];}(PicType||(PicType={})));export var PicSubType;(function(_0x2f47f1){var _0x5e1ea3=_0x1cff,_0x2e695f={'LHwSC':_0x5e1ea3(0x21e),'vFrpi':_0x5e1ea3(0x200)};_0x2f47f1[_0x2f47f1[_0x2e695f[_0x5e1ea3(0x207)]]=0x0]=_0x2e695f[_0x5e1ea3(0x207)],_0x2f47f1[_0x2f47f1[_0x2e695f[_0x5e1ea3(0x21b)]]=0x1]='face';}(PicSubType||(PicSubType={})));export var AtType;(function(_0x2375a0){var _0xbae6d2=_0x1cff,_0x35c9f0={'zMsQB':_0xbae6d2(0x213),'fIhjb':_0xbae6d2(0x204),'SfyXU':_0xbae6d2(0x212)};_0x2375a0[_0x2375a0[_0x35c9f0[_0xbae6d2(0x1f3)]]=0x0]=_0x35c9f0[_0xbae6d2(0x1f3)],_0x2375a0[_0x2375a0[_0xbae6d2(0x204)]=0x1]=_0x35c9f0['fIhjb'],_0x2375a0[_0x2375a0[_0x35c9f0[_0xbae6d2(0x227)]]=0x2]=_0x35c9f0[_0xbae6d2(0x227)];}(AtType||(AtType={})));export var ChatType;(function(_0x478546){var _0x5e3cc3=_0x1cff,_0x1335c9={'ITerj':_0x5e3cc3(0x1fc),'VNTuT':_0x5e3cc3(0x206),'RkEGo':_0x5e3cc3(0x1ef),'ctkJM':_0x5e3cc3(0x208)};_0x478546[_0x478546[_0x1335c9[_0x5e3cc3(0x1ee)]]=0x1]=_0x1335c9['ITerj'],_0x478546[_0x478546[_0x1335c9[_0x5e3cc3(0x1fa)]]=0x2]=_0x1335c9[_0x5e3cc3(0x1fa)],_0x478546[_0x478546[_0x1335c9[_0x5e3cc3(0x1f7)]]=0x8]=_0x1335c9[_0x5e3cc3(0x1f7)],_0x478546[_0x478546['temp']=0x64]=_0x1335c9[_0x5e3cc3(0x1ec)];}(ChatType||(ChatType={})));function _0x1cff(_0x556594,_0x257798){var _0xbac5a3=_0xbac5();return _0x1cff=function(_0x1cff79,_0xcdf4c5){_0x1cff79=_0x1cff79-0x1ea;var _0x5dc9cd=_0xbac5a3[_0x1cff79];return _0x5dc9cd;},_0x1cff(_0x556594,_0x257798);}export const IMAGE_HTTP_HOST=_0x51709e(0x225);export const IMAGE_HTTP_HOST_NT=_0x51709e(0x1f8);export var GrayTipElementSubType;(function(_0xca293){var _0x47c243=_0x51709e;_0xca293[_0xca293['INVITE_NEW_MEMBER']=0xc]='INVITE_NEW_MEMBER',_0xca293[_0xca293[_0x47c243(0x21a)]=0x11]=_0x47c243(0x21a);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4c1711){var _0x86baa6=_0x51709e,_0x1da4ef={'vTXXN':_0x86baa6(0x21e),'pWqVS':_0x86baa6(0x216),'WIftF':'dice'};_0x4c1711[_0x4c1711[_0x1da4ef[_0x86baa6(0x21f)]]=0x1]=_0x1da4ef[_0x86baa6(0x21f)],_0x4c1711[_0x4c1711['normal2']=0x2]=_0x1da4ef['pWqVS'],_0x4c1711[_0x4c1711['dice']=0x3]=_0x1da4ef[_0x86baa6(0x1ea)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3437a5){var _0x300168=_0x51709e,_0x152c54={'GkkRs':_0x300168(0x1f4),'AXcep':_0x300168(0x224)};_0x3437a5[_0x3437a5[_0x152c54['GkkRs']]=0x166]=_0x152c54[_0x300168(0x1fd)],_0x3437a5[_0x3437a5[_0x152c54[_0x300168(0x201)]]=0x167]=_0x152c54[_0x300168(0x201)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x44a4c6){var _0x52233e=_0x51709e,_0x394146={'PeJbA':'memberIncrease','HaWey':_0x52233e(0x1f9),'rZqCd':_0x52233e(0x205)};_0x44a4c6[_0x44a4c6[_0x394146[_0x52233e(0x1f6)]]=0x1]=_0x394146[_0x52233e(0x1f6)],_0x44a4c6[_0x44a4c6['kicked']=0x3]=_0x394146['HaWey'],_0x44a4c6[_0x44a4c6[_0x394146[_0x52233e(0x1f0)]]=0x8]=_0x394146[_0x52233e(0x1f0)];}(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 f576d488..d0e1ac4c 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x19adaa,_0x56a38f){var _0x22c269=_0xe6a3,_0x4d1ed1=_0x19adaa();while(!![]){try{var _0x4f42a1=-parseInt(_0x22c269(0x1b5))/0x1*(parseInt(_0x22c269(0x1b4))/0x2)+parseInt(_0x22c269(0x1b0))/0x3*(parseInt(_0x22c269(0x19f))/0x4)+parseInt(_0x22c269(0x19d))/0x5*(parseInt(_0x22c269(0x195))/0x6)+parseInt(_0x22c269(0x1a4))/0x7*(-parseInt(_0x22c269(0x1b3))/0x8)+parseInt(_0x22c269(0x1a8))/0x9+-parseInt(_0x22c269(0x1ad))/0xa+parseInt(_0x22c269(0x1ae))/0xb;if(_0x4f42a1===_0x56a38f)break;else _0x4d1ed1['push'](_0x4d1ed1['shift']());}catch(_0xb738c2){_0x4d1ed1['push'](_0x4d1ed1['shift']());}}}(_0x2b6d,0x9f8e0));export var GroupNotifyTypes;function _0xe6a3(_0x4af4aa,_0x19eda9){var _0x2b6d36=_0x2b6d();return _0xe6a3=function(_0xe6a34,_0x340ef2){_0xe6a34=_0xe6a34-0x193;var _0x263a9c=_0x2b6d36[_0xe6a34];return _0x263a9c;},_0xe6a3(_0x4af4aa,_0x19eda9);}(function(_0x4847c5){var _0x4d0343=_0xe6a3,_0x174d9b={'PRoCv':'JOIN_REQUEST','curNx':_0x4d0343(0x197),'PpLhV':_0x4d0343(0x1a1),'EZAOo':_0x4d0343(0x196),'DdWWY':_0x4d0343(0x19a),'koXXq':'ADMIN_UNSET'},_0x59ba1c=_0x4d0343(0x1ab)['split']('|'),_0xecf760=0x0;while(!![]){switch(_0x59ba1c[_0xecf760++]){case'0':_0x4847c5[_0x4847c5[_0x4d0343(0x193)]=0xd]=_0x4d0343(0x193);continue;case'1':_0x4847c5[_0x4847c5[_0x174d9b[_0x4d0343(0x19e)]]=0x7]=_0x174d9b[_0x4d0343(0x19e)];continue;case'2':_0x4847c5[_0x4847c5[_0x174d9b[_0x4d0343(0x1b1)]]=0x4]=_0x174d9b[_0x4d0343(0x1b1)];continue;case'3':_0x4847c5[_0x4847c5[_0x174d9b[_0x4d0343(0x19b)]]=0x8]=_0x174d9b[_0x4d0343(0x19b)];continue;case'4':_0x4847c5[_0x4847c5[_0x174d9b[_0x4d0343(0x1af)]]=0x9]='KICK_MEMBER';continue;case'5':_0x4847c5[_0x4847c5[_0x4d0343(0x19a)]=0x1]=_0x174d9b[_0x4d0343(0x19c)];continue;case'6':_0x4847c5[_0x4847c5[_0x4d0343(0x1a9)]=0xc]=_0x174d9b['koXXq'];continue;case'7':_0x4847c5[_0x4847c5[_0x4d0343(0x1a3)]=0xb]='MEMBER_EXIT';continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x2b6d(){var _0x53a903=['approve','REJECT','APPROVE','5482062Heixji','ADMIN_UNSET','LczLZ','5|2|1|3|4|7|6|0','XWKXi','4792400ySuoEl','6268229eyujnE','EZAOo','12vLgAOJ','curNx','HdsbK','280CtpltI','675362GKDhHf','2VSJtMd','ADMIN_UNSET_OTHER','YWYwW','816npOrDS','KICK_MEMBER','INVITED_JOIN','lyfuO','JxSKa','INVITE_ME','PpLhV','DdWWY','30640CFAUGu','PRoCv','108428cimJFa','reject','ADMIN_SET','IGNORE','MEMBER_EXIT','62531OeKwRq'];_0x2b6d=function(){return _0x53a903;};return _0x2b6d();}(function(_0x11adf2){var _0xcfc64b=_0xe6a3,_0x403d8b={'LczLZ':_0xcfc64b(0x1a2),'JxSKa':'WAIT_HANDLE','HdsbK':_0xcfc64b(0x1a7),'lyfuO':_0xcfc64b(0x1a6)};_0x11adf2[_0x11adf2[_0x403d8b[_0xcfc64b(0x1aa)]]=0x0]='IGNORE',_0x11adf2[_0x11adf2[_0x403d8b['JxSKa']]=0x1]=_0x403d8b[_0xcfc64b(0x199)],_0x11adf2[_0x11adf2[_0xcfc64b(0x1a7)]=0x2]=_0x403d8b[_0xcfc64b(0x1b2)],_0x11adf2[_0x11adf2[_0x403d8b[_0xcfc64b(0x198)]]=0x3]=_0x403d8b['lyfuO'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0xd75311){var _0x325bbd=_0xe6a3,_0x301890={'XWKXi':_0x325bbd(0x1a5),'YWYwW':_0x325bbd(0x1a0)};_0xd75311[_0xd75311[_0x301890[_0x325bbd(0x1ac)]]=0x1]=_0x325bbd(0x1a5),_0xd75311[_0xd75311[_0x301890[_0x325bbd(0x194)]]=0x2]=_0x301890[_0x325bbd(0x194)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +function _0x5315(_0x5c71b5,_0x4346a3){var _0xa7f47b=_0xa7f4();return _0x5315=function(_0x531552,_0x47f1b1){_0x531552=_0x531552-0x1a3;var _0xf91898=_0xa7f47b[_0x531552];return _0xf91898;},_0x5315(_0x5c71b5,_0x4346a3);}(function(_0x38198b,_0xf87a5b){var _0x545990=_0x5315,_0x1af105=_0x38198b();while(!![]){try{var _0x253a77=-parseInt(_0x545990(0x1ac))/0x1+parseInt(_0x545990(0x1a4))/0x2+parseInt(_0x545990(0x1a7))/0x3+-parseInt(_0x545990(0x1a3))/0x4+parseInt(_0x545990(0x1b2))/0x5*(parseInt(_0x545990(0x1c4))/0x6)+parseInt(_0x545990(0x1a8))/0x7*(-parseInt(_0x545990(0x1c6))/0x8)+-parseInt(_0x545990(0x1a9))/0x9*(-parseInt(_0x545990(0x1c0))/0xa);if(_0x253a77===_0xf87a5b)break;else _0x1af105['push'](_0x1af105['shift']());}catch(_0x295f96){_0x1af105['push'](_0x1af105['shift']());}}}(_0xa7f4,0x40619));export var GroupNotifyTypes;(function(_0x4763b9){var _0x2515bc=_0x5315,_0x5d0b2e={'dGNHG':_0x2515bc(0x1a6),'EPWKb':_0x2515bc(0x1c2),'qdoYn':'ADMIN_SET','bxmFu':_0x2515bc(0x1be),'ZKxlQ':_0x2515bc(0x1c5),'qYNgQ':_0x2515bc(0x1a5),'KGbwL':_0x2515bc(0x1b6),'AAhHL':'MEMBER_EXIT'},_0x30e99f=_0x5d0b2e[_0x2515bc(0x1b0)][_0x2515bc(0x1bb)]('|'),_0x5b88c6=0x0;while(!![]){switch(_0x30e99f[_0x5b88c6++]){case'0':_0x4763b9[_0x4763b9[_0x5d0b2e['EPWKb']]=0xc]=_0x5d0b2e['EPWKb'];continue;case'1':_0x4763b9[_0x4763b9[_0x5d0b2e[_0x2515bc(0x1b7)]]=0x8]=_0x5d0b2e[_0x2515bc(0x1b7)];continue;case'2':_0x4763b9[_0x4763b9['INVITED_JOIN']=0x4]=_0x5d0b2e[_0x2515bc(0x1b3)];continue;case'3':_0x4763b9[_0x4763b9[_0x2515bc(0x1aa)]=0x7]=_0x2515bc(0x1aa);continue;case'4':_0x4763b9[_0x4763b9['ADMIN_UNSET_OTHER']=0xd]=_0x5d0b2e[_0x2515bc(0x1b5)];continue;case'5':_0x4763b9[_0x4763b9[_0x5d0b2e['qYNgQ']]=0x1]=_0x2515bc(0x1a5);continue;case'6':_0x4763b9[_0x4763b9[_0x5d0b2e[_0x2515bc(0x1b9)]]=0x9]=_0x5d0b2e[_0x2515bc(0x1b9)];continue;case'7':_0x4763b9[_0x4763b9[_0x2515bc(0x1bc)]=0xb]=_0x5d0b2e[_0x2515bc(0x1bf)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0xa7f4(){var _0x5923c2=['138520cPbgSn','141288aFTfjW','INVITE_ME','5|2|3|1|6|7|0|4','1231596OgLmfZ','7fnERVg','3870FpmqOA','JOIN_REQUEST','WTKxh','36735WLcIHk','IGNORE','hPAsh','approve','dGNHG','XyjEu','8895zxVtzm','bxmFu','APPROVE','ZKxlQ','KICK_MEMBER','qdoYn','WAIT_HANDLE','KGbwL','reject','split','MEMBER_EXIT','paoSu','INVITED_JOIN','AAhHL','1420HiJnpp','okAEQ','ADMIN_UNSET','nmhmW','786JdAmEI','ADMIN_UNSET_OTHER','3521720DtzGsb'];_0xa7f4=function(){return _0x5923c2;};return _0xa7f4();}export var GroupNotifyStatus;(function(_0x586b48){var _0x255abf=_0x5315,_0x9dac50={'nmhmW':_0x255abf(0x1ad),'WTKxh':_0x255abf(0x1b8),'paoSu':_0x255abf(0x1b4),'XyjEu':'REJECT'};_0x586b48[_0x586b48[_0x9dac50[_0x255abf(0x1c3)]]=0x0]=_0x9dac50[_0x255abf(0x1c3)],_0x586b48[_0x586b48[_0x9dac50[_0x255abf(0x1ab)]]=0x1]=_0x9dac50[_0x255abf(0x1ab)],_0x586b48[_0x586b48[_0x255abf(0x1b4)]=0x2]=_0x9dac50[_0x255abf(0x1bd)],_0x586b48[_0x586b48[_0x9dac50[_0x255abf(0x1b1)]]=0x3]=_0x9dac50[_0x255abf(0x1b1)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x5d0503){var _0x1a3a18=_0x5315,_0x480ce9={'hPAsh':_0x1a3a18(0x1af),'okAEQ':_0x1a3a18(0x1ba)};_0x5d0503[_0x5d0503[_0x480ce9[_0x1a3a18(0x1ae)]]=0x1]=_0x480ce9['hPAsh'],_0x5d0503[_0x5d0503[_0x480ce9[_0x1a3a18(0x1c1)]]=0x2]=_0x1a3a18(0x1ba);}(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 a4d53181..57cc6eb7 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x425abd,_0x1e888d){var _0x176f22=_0x3a30,_0x4eb957=_0x425abd();while(!![]){try{var _0x55b3d4=-parseInt(_0x176f22(0x68))/0x1*(-parseInt(_0x176f22(0x69))/0x2)+-parseInt(_0x176f22(0x6a))/0x3+-parseInt(_0x176f22(0x67))/0x4*(-parseInt(_0x176f22(0x6e))/0x5)+parseInt(_0x176f22(0x6d))/0x6*(parseInt(_0x176f22(0x6f))/0x7)+parseInt(_0x176f22(0x65))/0x8*(-parseInt(_0x176f22(0x6c))/0x9)+parseInt(_0x176f22(0x6b))/0xa*(parseInt(_0x176f22(0x70))/0xb)+-parseInt(_0x176f22(0x71))/0xc;if(_0x55b3d4===_0x1e888d)break;else _0x4eb957['push'](_0x4eb957['shift']());}catch(_0x301dbf){_0x4eb957['push'](_0x4eb957['shift']());}}}(_0x10d9,0xc0c6b));export var Sex;function _0x10d9(){var _0x45bd45=['24TPufBz','female','61524PPefuR','30274SgfYql','2wYyaKc','2551476BRiunw','1069530XXNJIz','2371527aHKuUV','174Ewznuh','135ujiScL','364847LFBbAu','77YfwsAT','3301548qQopWo','male','zQdhj'];_0x10d9=function(){return _0x45bd45;};return _0x10d9();}function _0x3a30(_0x3ec91f,_0x599ffb){var _0x10d945=_0x10d9();return _0x3a30=function(_0x3a3089,_0x1ccb2f){_0x3a3089=_0x3a3089-0x64;var _0x28741a=_0x10d945[_0x3a3089];return _0x28741a;},_0x3a30(_0x3ec91f,_0x599ffb);}(function(_0x59140d){var _0x4927b5=_0x3a30,_0x5741d0={'zQdhj':'male','OFEli':'female','VYGsK':'unknown'};_0x59140d[_0x59140d[_0x4927b5(0x72)]=0x1]=_0x5741d0[_0x4927b5(0x64)],_0x59140d[_0x59140d[_0x5741d0['OFEli']]=0x2]=_0x4927b5(0x66),_0x59140d[_0x59140d[_0x5741d0['VYGsK']]=0xff]=_0x5741d0['VYGsK'];}(Sex||(Sex={}))); \ No newline at end of file +function _0x20f0(){var _0x596a32=['tkXaJ','637496KYYYkl','54430NqpOTl','1621160LobUPN','1443500bmFtFf','female','92739pLtdkf','6bLlxss','1099574fbtSzU','9sQCZPk','rzuLT','1862640jSGSup','unknown','male'];_0x20f0=function(){return _0x596a32;};return _0x20f0();}(function(_0x3edac8,_0x582f32){var _0x15b4cc=_0x252e,_0x180f3e=_0x3edac8();while(!![]){try{var _0x5d8d64=parseInt(_0x15b4cc(0x134))/0x1+parseInt(_0x15b4cc(0x13e))/0x2*(-parseInt(_0x15b4cc(0x135))/0x3)+-parseInt(_0x15b4cc(0x13d))/0x4+parseInt(_0x15b4cc(0x132))/0x5+-parseInt(_0x15b4cc(0x139))/0x6+parseInt(_0x15b4cc(0x136))/0x7+-parseInt(_0x15b4cc(0x131))/0x8*(-parseInt(_0x15b4cc(0x137))/0x9);if(_0x5d8d64===_0x582f32)break;else _0x180f3e['push'](_0x180f3e['shift']());}catch(_0x53512e){_0x180f3e['push'](_0x180f3e['shift']());}}}(_0x20f0,0x34f5a));function _0x252e(_0x4c5e5a,_0x11a53a){var _0x20f017=_0x20f0();return _0x252e=function(_0x252e83,_0x4f1da8){_0x252e83=_0x252e83-0x131;var _0x123500=_0x20f017[_0x252e83];return _0x123500;},_0x252e(_0x4c5e5a,_0x11a53a);}export var Sex;(function(_0xc8f9b2){var _0x1526ab=_0x252e,_0x39fc92={'tkXaJ':_0x1526ab(0x133),'rzuLT':_0x1526ab(0x13a)};_0xc8f9b2[_0xc8f9b2[_0x1526ab(0x13b)]=0x1]=_0x1526ab(0x13b),_0xc8f9b2[_0xc8f9b2[_0x39fc92[_0x1526ab(0x13c)]]=0x2]='female',_0xc8f9b2[_0xc8f9b2[_0x1526ab(0x13a)]=0xff]=_0x39fc92[_0x1526ab(0x138)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index a4d75f87..9eb064e4 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x319fd4,_0x36ebc7){var _0x16c645=_0x1d55,_0x598f2d=_0x319fd4();while(!![]){try{var _0x100f53=-parseInt(_0x16c645(0x9e))/0x1+parseInt(_0x16c645(0x9b))/0x2*(-parseInt(_0x16c645(0x9f))/0x3)+parseInt(_0x16c645(0x9d))/0x4+-parseInt(_0x16c645(0x9a))/0x5*(-parseInt(_0x16c645(0x98))/0x6)+-parseInt(_0x16c645(0xa1))/0x7+parseInt(_0x16c645(0x99))/0x8*(parseInt(_0x16c645(0x9c))/0x9)+parseInt(_0x16c645(0xa0))/0xa*(parseInt(_0x16c645(0x97))/0xb);if(_0x100f53===_0x36ebc7)break;else _0x598f2d['push'](_0x598f2d['shift']());}catch(_0x545faa){_0x598f2d['push'](_0x598f2d['shift']());}}}(_0xf987,0x45f64));import _0x3295a6 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x1d55(_0x492aeb,_0x2def52){var _0xf987b4=_0xf987();return _0x1d55=function(_0x1d55bf,_0x3366cc){_0x1d55bf=_0x1d55bf-0x97;var _0x289d93=_0xf987b4[_0x1d55bf];return _0x289d93;},_0x1d55(_0x492aeb,_0x2def52);}function _0xf987(){var _0x18f69e=['3798pPzyMr','1107212bUtfwn','488277OidVGU','3ZknyDF','590NcbPFy','3117562glWUQw','123409TtdMvU','2182044MHUfbL','424iilEix','5UPtXMP','209114WOuxTa'];_0xf987=function(){return _0x18f69e;};return _0xf987();}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x3295a6 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x116d37,_0x5e592c){var _0x5bbb28=_0x454a,_0x1c76e4=_0x116d37();while(!![]){try{var _0x1ff634=-parseInt(_0x5bbb28(0x85))/0x1*(-parseInt(_0x5bbb28(0x86))/0x2)+-parseInt(_0x5bbb28(0x8c))/0x3+parseInt(_0x5bbb28(0x8b))/0x4+-parseInt(_0x5bbb28(0x8f))/0x5*(-parseInt(_0x5bbb28(0x90))/0x6)+parseInt(_0x5bbb28(0x8e))/0x7*(-parseInt(_0x5bbb28(0x8d))/0x8)+-parseInt(_0x5bbb28(0x8a))/0x9*(parseInt(_0x5bbb28(0x89))/0xa)+parseInt(_0x5bbb28(0x88))/0xb*(parseInt(_0x5bbb28(0x87))/0xc);if(_0x1ff634===_0x5e592c)break;else _0x1c76e4['push'](_0x1c76e4['shift']());}catch(_0x1ef7b7){_0x1c76e4['push'](_0x1c76e4['shift']());}}}(_0x21ec,0x43fbc));import _0x55831d from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';function _0x21ec(){var _0x4fbdc8=['39892aevhfM','67644yKEqNS','946zJAakz','30mPEhTD','862371bChmpP','41608iIzXiF','1660878OjqsMb','1890760eDUXCq','7oRsvDt','10wxiftg','1445190hqtEEV','19Mcpmjv'];_0x21ec=function(){return _0x4fbdc8;};return _0x21ec();}export{_0x55831d as Wrapper};export*as WrapperInterface from'./wrapper';function _0x454a(_0x1d5282,_0x21c74a){var _0x21ec5a=_0x21ec();return _0x454a=function(_0x454ac9,_0xffb4a7){_0x454ac9=_0x454ac9-0x85;var _0x106f07=_0x21ec5a[_0x454ac9];return _0x106f07;},_0x454a(_0x1d5282,_0x21c74a);}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 0c4ff31c..6f613295 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x23ddb8=_0x2807;function _0x2807(_0x50bec3,_0x3a2f12){var _0x37a4a0=_0x37a4();return _0x2807=function(_0x280733,_0x4ca479){_0x280733=_0x280733-0x166;var _0x2b7184=_0x37a4a0[_0x280733];return _0x2b7184;},_0x2807(_0x50bec3,_0x3a2f12);}(function(_0x57b081,_0xcf01f0){var _0x3ea7e8=_0x2807,_0x359b72=_0x57b081();while(!![]){try{var _0x5a72db=parseInt(_0x3ea7e8(0x16d))/0x1+-parseInt(_0x3ea7e8(0x175))/0x2+-parseInt(_0x3ea7e8(0x168))/0x3*(parseInt(_0x3ea7e8(0x166))/0x4)+-parseInt(_0x3ea7e8(0x16a))/0x5+parseInt(_0x3ea7e8(0x16c))/0x6*(-parseInt(_0x3ea7e8(0x174))/0x7)+parseInt(_0x3ea7e8(0x16b))/0x8+parseInt(_0x3ea7e8(0x178))/0x9;if(_0x5a72db===_0xcf01f0)break;else _0x359b72['push'](_0x359b72['shift']());}catch(_0x25c4bb){_0x359b72['push'](_0x359b72['shift']());}}}(_0x37a4,0x56836));function _0x37a4(){var _0x44b3e3=['onSmartInfos','1981011zGKrTe','onAddBuddyNeedVerify','3052675KXxGXu','2443040qOTpUi','33204EgNaVL','181209BklYDD','onDoubtBuddyReqChange','onDelBatchBuddyInfos','onBuddyReqUnreadCntChange','onBuddyRemarkUpdated','onSpacePermissionInfos','onCheckBuddySettingResult','532IUDSdU','147526DehJlD','onNickUpdated','onBuddyInfoChange','14696892FSrlvj','4nGTPMa'];_0x37a4=function(){return _0x44b3e3;};return _0x37a4();}export class BuddyListener{[_0x23ddb8(0x169)](_0x4921b8){}['onAddMeSettingChanged'](_0x29d5ce){}['onAvatarUrlUpdated'](_0x1e1697){}['onBlockChanged'](_0x326261){}['onBuddyDetailInfoChange'](_0x263d09){}[_0x23ddb8(0x177)](_0x326756){}['onBuddyListChange'](_0x1395e7){}[_0x23ddb8(0x171)](_0x8597ba){}['onBuddyReqChange'](_0x313e76){}[_0x23ddb8(0x170)](_0x3d4ac9){}[_0x23ddb8(0x173)](_0x3f8ad8){}[_0x23ddb8(0x16f)](_0x4dac3c){}[_0x23ddb8(0x16e)](_0x33d605){}['onDoubtBuddyReqUnreadNumChange'](_0x51e2e4){}[_0x23ddb8(0x176)](_0x2004d4){}[_0x23ddb8(0x167)](_0x67b91d){}[_0x23ddb8(0x172)](_0x163501){}} \ No newline at end of file +var _0x396a9c=_0x5711;(function(_0x3b9900,_0x33f4a0){var _0x588ac3=_0x5711,_0x543efe=_0x3b9900();while(!![]){try{var _0x2c01a4=parseInt(_0x588ac3(0x170))/0x1+parseInt(_0x588ac3(0x15e))/0x2+-parseInt(_0x588ac3(0x168))/0x3+parseInt(_0x588ac3(0x16b))/0x4*(parseInt(_0x588ac3(0x162))/0x5)+-parseInt(_0x588ac3(0x15f))/0x6+parseInt(_0x588ac3(0x16f))/0x7+-parseInt(_0x588ac3(0x163))/0x8*(parseInt(_0x588ac3(0x16a))/0x9);if(_0x2c01a4===_0x33f4a0)break;else _0x543efe['push'](_0x543efe['shift']());}catch(_0x5a7a04){_0x543efe['push'](_0x543efe['shift']());}}}(_0x5934,0x20519));function _0x5711(_0x16251b,_0x483600){var _0x59342f=_0x5934();return _0x5711=function(_0x5711ce,_0x2ddf66){_0x5711ce=_0x5711ce-0x15c;var _0x1b120a=_0x59342f[_0x5711ce];return _0x1b120a;},_0x5711(_0x16251b,_0x483600);}function _0x5934(){var _0x22877f=['onAvatarUrlUpdated','onAddMeSettingChanged','502526BIkQnR','1357560Gquxnz','onBuddyReqChange','onCheckBuddySettingResult','880SLPItf','56PBeLpP','onDelBatchBuddyInfos','onDoubtBuddyReqUnreadNumChange','onBuddyDetailInfoChange','onBuddyReqUnreadCntChange','251406WmfRFR','onBlockChanged','717525YDvGBG','5080PaBNXM','onDoubtBuddyReqChange','onNickUpdated','onBuddyRemarkUpdated','1848770RfAkqi','261621sSziIL','onBuddyListChange','onBuddyInfoChange'];_0x5934=function(){return _0x22877f;};return _0x5934();}export class BuddyListener{['onAddBuddyNeedVerify'](_0xa5bda5){}[_0x396a9c(0x15d)](_0x179023){}[_0x396a9c(0x15c)](_0x13f40e){}[_0x396a9c(0x169)](_0x365872){}[_0x396a9c(0x166)](_0x338b7e){}[_0x396a9c(0x172)](_0x2659d8){}[_0x396a9c(0x171)](_0x6c33cf){}[_0x396a9c(0x16e)](_0x4ea2c2){}[_0x396a9c(0x160)](_0xee7268){}[_0x396a9c(0x167)](_0x58b32a){}[_0x396a9c(0x161)](_0x5c997c){}[_0x396a9c(0x164)](_0x271174){}[_0x396a9c(0x16c)](_0xac5cba){}[_0x396a9c(0x165)](_0x124592){}[_0x396a9c(0x16d)](_0x364105){}['onSmartInfos'](_0xb6b04b){}['onSpacePermissionInfos'](_0x3dff96){}} \ 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 b04e0917..1924c290 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x432220=_0x5630;(function(_0xb122d2,_0x46fb6a){var _0x8ddffd=_0x5630,_0x6e08d6=_0xb122d2();while(!![]){try{var _0xe651f2=parseInt(_0x8ddffd(0x10d))/0x1*(parseInt(_0x8ddffd(0x11a))/0x2)+-parseInt(_0x8ddffd(0x113))/0x3+parseInt(_0x8ddffd(0x10c))/0x4*(parseInt(_0x8ddffd(0x119))/0x5)+-parseInt(_0x8ddffd(0x114))/0x6*(parseInt(_0x8ddffd(0x118))/0x7)+-parseInt(_0x8ddffd(0x116))/0x8*(-parseInt(_0x8ddffd(0x10b))/0x9)+-parseInt(_0x8ddffd(0x10e))/0xa*(parseInt(_0x8ddffd(0x10f))/0xb)+parseInt(_0x8ddffd(0x110))/0xc*(parseInt(_0x8ddffd(0x117))/0xd);if(_0xe651f2===_0x46fb6a)break;else _0x6e08d6['push'](_0x6e08d6['shift']());}catch(_0x18ac53){_0x6e08d6['push'](_0x6e08d6['shift']());}}}(_0x5cbd,0x8a0e7));function _0x5cbd(){var _0x10d8d5=['3042964gjsjka','12gjKcjb','70SbsBmZ','1211210BFgWNP','12BXOQDj','onFileStatusChanged','onFileSearch','2102988SWouMz','66YhQlqd','onFileListChanged','51568XMiGBC','17939077EJaUxG','552503dZkVib','5RzvUww','115648yQsBhK','99XRZHir'];_0x5cbd=function(){return _0x10d8d5;};return _0x5cbd();}function _0x5630(_0x5d5623,_0x36bebd){var _0x5cbd15=_0x5cbd();return _0x5630=function(_0x5630c1,_0x26aee4){_0x5630c1=_0x5630c1-0x10b;var _0x50110c=_0x5cbd15[_0x5630c1];return _0x50110c;},_0x5630(_0x5d5623,_0x36bebd);}export class KernelFileAssistantListener{[_0x432220(0x111)](..._0x1ae1b1){}['onSessionListChanged'](..._0x1687e5){}['onSessionChanged'](..._0x4fad0f){}[_0x432220(0x115)](..._0x2cf65c){}[_0x432220(0x112)](..._0x53d0d8){}} \ No newline at end of file +var _0x126f4d=_0x5b91;function _0x5b91(_0x2de800,_0x27905d){var _0x12384a=_0x1238();return _0x5b91=function(_0x5b91fe,_0x27df32){_0x5b91fe=_0x5b91fe-0x17b;var _0x2523a8=_0x12384a[_0x5b91fe];return _0x2523a8;},_0x5b91(_0x2de800,_0x27905d);}function _0x1238(){var _0x33d4ba=['32WFlfiT','14745UpzSox','3077405clJTvB','296583JQbgoI','onFileListChanged','onSessionChanged','4527792irtiHh','356yyqRqq','onSessionListChanged','onFileStatusChanged','4399083viYBsx','onFileSearch','1531434ioXMYP','84978vlOreC'];_0x1238=function(){return _0x33d4ba;};return _0x1238();}(function(_0x22ec27,_0x3284de){var _0x26b312=_0x5b91,_0x5ea61c=_0x22ec27();while(!![]){try{var _0x539a90=parseInt(_0x26b312(0x17b))/0x1+-parseInt(_0x26b312(0x188))/0x2+parseInt(_0x26b312(0x17d))/0x3*(parseInt(_0x26b312(0x183))/0x4)+-parseInt(_0x26b312(0x17e))/0x5+-parseInt(_0x26b312(0x182))/0x6+parseInt(_0x26b312(0x17f))/0x7+-parseInt(_0x26b312(0x17c))/0x8*(-parseInt(_0x26b312(0x186))/0x9);if(_0x539a90===_0x3284de)break;else _0x5ea61c['push'](_0x5ea61c['shift']());}catch(_0x2b8d89){_0x5ea61c['push'](_0x5ea61c['shift']());}}}(_0x1238,0x5dc64));export class KernelFileAssistantListener{[_0x126f4d(0x185)](..._0x5251bb){}[_0x126f4d(0x184)](..._0x4e091c){}[_0x126f4d(0x181)](..._0xd5935e){}[_0x126f4d(0x180)](..._0x360ed0){}[_0x126f4d(0x187)](..._0x44a245){}} \ 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 f117bc7b..2016a8de 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x147d(){var _0x5077a1=['onGroupBulletinRichMediaProgressUpdate:','onGroupFirstBulletinNotify:','nqEiF','onJoinGroupNoVerifyFlag','vRutQ','onGroupBulletinRichMediaDownloadComplete','PWqtn','onSearchMemberChange','onGroupMemberLevelInfoChange','log','onMemberListChange','onMemberInfoChange:','8475WzkvXj','20XyANtb','16838JfONNI','onGroupBulletinRichMediaDownloadComplete:','8616uircru','onGroupListUpdate:','CqkOY','onGroupArkInviteStateResult:','172iYlQAy','1195760sOIQOX','onGroupSingleScreenNotifies:','JOZnT','onGroupListUpdate','onGroupExtListUpdate','onMemberInfoChange','onGroupExtListUpdate:','4718SwPYKX','onGetGroupBulletinListResult','onGroupNotifiesUpdated:','onGroupDetailInfoChange:','925524FLgVMd','onGroupNotifiesUpdated','gscAl','xHEmx','onGroupArkInviteStateResult','onGetGroupBulletinListResult:','onShutUpMemberListChanged','onGroupStatisticInfoChange','EWFiq','onGroupBulletinRichMediaProgressUpdate','onGroupMemberLevelInfoChange:','onGroupConfMemberChange:','onGroupBulletinRemindNotify','onGroupNotifiesUnreadCountUpdated:','onGroupsMsgMaskResult:','onGroupConfMemberChange','870935GpAaGu','onGroupAllInfoChange','onJoinGroupNoVerifyFlag:','Wnzrq','onJoinGroupNotify','onGroupBulletinRemindNotify:','onShutUpMemberListChanged:','onGroupNotifiesUnreadCountUpdated','XWlwr','onGroupDetailInfoChange','onGroupSingleScreenNotifies','FUDdX','onGroupFirstBulletinNotify','onGroupsMsgMaskResult','3973326AlQAwr'];_0x147d=function(){return _0x5077a1;};return _0x147d();}var _0x15dae2=_0x2eb6;(function(_0x169387,_0x34701a){var _0x5a8608=_0x2eb6,_0x327519=_0x169387();while(!![]){try{var _0x404498=parseInt(_0x5a8608(0xbc))/0x1+parseInt(_0x5a8608(0xc3))/0x2+-parseInt(_0x5a8608(0xba))/0x3*(parseInt(_0x5a8608(0xc2))/0x4)+parseInt(_0x5a8608(0xde))/0x5+parseInt(_0x5a8608(0xad))/0x6+parseInt(_0x5a8608(0xca))/0x7*(-parseInt(_0x5a8608(0xbe))/0x8)+-parseInt(_0x5a8608(0xce))/0x9*(parseInt(_0x5a8608(0xbb))/0xa);if(_0x404498===_0x34701a)break;else _0x327519['push'](_0x327519['shift']());}catch(_0xf4f306){_0x327519['push'](_0x327519['shift']());}}}(_0x147d,0x61301));export class GroupListener{[_0x15dae2(0xb6)](..._0x247be3){}['onGetGroupBulletinListResult'](..._0x22550c){}[_0x15dae2(0xdf)](..._0x160396){}['onGroupBulletinChange'](..._0x1455c1){}[_0x15dae2(0xda)](..._0x106c73){}[_0x15dae2(0xd2)](..._0x483963){}['onGroupBulletinRichMediaDownloadComplete'](..._0x3de656){}[_0x15dae2(0xdd)](..._0x4f6d2a){}[_0x15dae2(0xe7)](..._0x1b5aac){}[_0x15dae2(0xc7)](..._0x59c142){}['onGroupFirstBulletinNotify'](..._0x40b619){}[_0x15dae2(0xc6)](_0x1aaee7,_0x3e44de){}[_0x15dae2(0xcf)](_0x59b828,_0x5f5451){}[_0x15dae2(0xd7)](..._0x4b12dd){}['onGroupNotifiesUnreadCountUpdated'](..._0x1584bb){}[_0x15dae2(0xa9)](_0x5511e5,_0x4f5be5,_0x393450){}['onGroupsMsgMaskResult'](..._0x381cc3){}[_0x15dae2(0xd5)](..._0x3a4792){}[_0x15dae2(0xe2)](..._0x1869fe){}[_0x15dae2(0xb1)](..._0x5a443a){}[_0x15dae2(0xc8)](_0x38d8b6,_0x454d83,_0x4a7a5d){}[_0x15dae2(0xb8)](_0x3ae07c){}[_0x15dae2(0xb5)](..._0x308d8b){}['onShutUpMemberListChanged'](..._0x22697c){}}function _0x2eb6(_0xd6e0aa,_0x1fefe2){var _0x147d73=_0x147d();return _0x2eb6=function(_0x2eb68c,_0x3a63e0){_0x2eb68c=_0x2eb68c-0xa9;var _0x2e13c1=_0x147d73[_0x2eb68c];return _0x2e13c1;},_0x2eb6(_0xd6e0aa,_0x1fefe2);}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x2d88d2){var _0x2574bb=_0x15dae2;console['log'](_0x2574bb(0xd8),..._0x2d88d2);}[_0x15dae2(0xcb)](..._0x539720){var _0x17ee51=_0x15dae2;console[_0x17ee51(0xb7)](_0x17ee51(0xd3),..._0x539720);}['onGroupAllInfoChange'](..._0x48f10b){var _0x591eb6=_0x15dae2,_0x1e164b={'CqkOY':'onGroupAllInfoChange:'};console[_0x591eb6(0xb7)](_0x1e164b[_0x591eb6(0xc0)],..._0x48f10b);}['onGroupBulletinChange'](..._0x2dbbb4){var _0x259897=_0x15dae2,_0x3a57e2={'rpLuH':'onGroupBulletinChange:'};console[_0x259897(0xb7)](_0x3a57e2['rpLuH'],..._0x2dbbb4);}[_0x15dae2(0xda)](..._0x3d1b22){var _0x3537a2=_0x15dae2,_0x32edba={'FUDdX':_0x3537a2(0xe3)};console[_0x3537a2(0xb7)](_0x32edba[_0x3537a2(0xaa)],..._0x3d1b22);}[_0x15dae2(0xd2)](..._0x47cc05){var _0x2aaa0c=_0x15dae2,_0x3067b3={'vRutQ':_0x2aaa0c(0xc1)};console[_0x2aaa0c(0xb7)](_0x3067b3[_0x2aaa0c(0xb2)],..._0x47cc05);}[_0x15dae2(0xb3)](..._0x43af93){var _0x29b710=_0x15dae2;console['log'](_0x29b710(0xbd),..._0x43af93);}[_0x15dae2(0xdd)](..._0x4ac1c6){var _0x57fea8=_0x15dae2;console[_0x57fea8(0xb7)](_0x57fea8(0xd9),..._0x4ac1c6);}[_0x15dae2(0xe7)](..._0x5b5c1c){var _0x25aea5=_0x15dae2,_0x21ad48={'XWlwr':_0x25aea5(0xcd)};console[_0x25aea5(0xb7)](_0x21ad48[_0x25aea5(0xe6)],..._0x5b5c1c);}['onGroupExtListUpdate'](..._0x1f347a){var _0x3a246e=_0x15dae2;console[_0x3a246e(0xb7)](_0x3a246e(0xc9),..._0x1f347a);}[_0x15dae2(0xab)](..._0x4decd5){var _0x3fe148=_0x15dae2,_0x1be687={'Wnzrq':_0x3fe148(0xaf)};console[_0x3fe148(0xb7)](_0x1be687[_0x3fe148(0xe1)],..._0x4decd5);}[_0x15dae2(0xc6)](..._0x4be557){var _0x5db8a1=_0x15dae2,_0x2a11e5={'EWFiq':_0x5db8a1(0xbf)};console['log'](_0x2a11e5[_0x5db8a1(0xd6)],..._0x4be557);}['onGroupNotifiesUpdated'](..._0x6a16fe){var _0x45d2bf=_0x15dae2,_0x1291f0={'JOZnT':_0x45d2bf(0xcc)};console[_0x45d2bf(0xb7)](_0x1291f0[_0x45d2bf(0xc5)],..._0x6a16fe);}[_0x15dae2(0xd7)](..._0x5e33fb){var _0x4740cb=_0x15dae2;console[_0x4740cb(0xb7)](_0x4740cb(0xae),..._0x5e33fb);}[_0x15dae2(0xe5)](..._0x2c4818){var _0x211d09=_0x15dae2;console[_0x211d09(0xb7)](_0x211d09(0xdb),..._0x2c4818);}[_0x15dae2(0xa9)](_0x3ce11f,_0x3e434b,_0x358822){var _0x3e9d48=_0x15dae2,_0x45790b={'xHEmx':_0x3e9d48(0xc4)};console[_0x3e9d48(0xb7)](_0x45790b[_0x3e9d48(0xd1)]);}[_0x15dae2(0xac)](..._0x20d54d){var _0x4940f5=_0x15dae2;console['log'](_0x4940f5(0xdc),..._0x20d54d);}[_0x15dae2(0xd5)](..._0xcdf343){var _0x32c8f1=_0x15dae2,_0x29b33c={'PWqtn':'onGroupStatisticInfoChange:'};console[_0x32c8f1(0xb7)](_0x29b33c[_0x32c8f1(0xb4)],..._0xcdf343);}[_0x15dae2(0xe2)](..._0x121e81){var _0x2fbdcd=_0x15dae2,_0x9d739c={'gscAl':'onJoinGroupNotify:'};console[_0x2fbdcd(0xb7)](_0x9d739c[_0x2fbdcd(0xd0)],..._0x121e81);}['onJoinGroupNoVerifyFlag'](..._0x2fa0f5){var _0x489e5a=_0x15dae2,_0x3054a9={'nqEiF':_0x489e5a(0xe0)};console[_0x489e5a(0xb7)](_0x3054a9[_0x489e5a(0xb0)],..._0x2fa0f5);}[_0x15dae2(0xc8)](_0x1f7e36,_0x419621,_0x4882fd){var _0x312bb0=_0x15dae2;console[_0x312bb0(0xb7)](_0x312bb0(0xb9),_0x1f7e36,_0x419621,_0x4882fd);}[_0x15dae2(0xb8)](..._0x3bd581){var _0x360526=_0x15dae2,_0x83bd2b={'gJHSD':'onMemberListChange:'};console[_0x360526(0xb7)](_0x83bd2b['gJHSD'],..._0x3bd581);}['onSearchMemberChange'](..._0x2989f7){var _0x23e4b0={'afvtf':'onSearchMemberChange:'};console['log'](_0x23e4b0['afvtf'],..._0x2989f7);}[_0x15dae2(0xd4)](..._0x3f1ef6){var _0x2aea72=_0x15dae2;console[_0x2aea72(0xb7)](_0x2aea72(0xe4),..._0x3f1ef6);}} \ No newline at end of file +var _0x4b591e=_0x104a;(function(_0xe7e0a,_0x2b2af3){var _0x671be6=_0x104a,_0x2293f5=_0xe7e0a();while(!![]){try{var _0x45ab92=-parseInt(_0x671be6(0x118))/0x1+parseInt(_0x671be6(0x103))/0x2+parseInt(_0x671be6(0x119))/0x3+parseInt(_0x671be6(0x10f))/0x4*(-parseInt(_0x671be6(0x117))/0x5)+-parseInt(_0x671be6(0x110))/0x6+-parseInt(_0x671be6(0xf7))/0x7+-parseInt(_0x671be6(0x112))/0x8*(-parseInt(_0x671be6(0x114))/0x9);if(_0x45ab92===_0x2b2af3)break;else _0x2293f5['push'](_0x2293f5['shift']());}catch(_0x44e943){_0x2293f5['push'](_0x2293f5['shift']());}}}(_0x3433,0xd6b07));function _0x104a(_0x261b66,_0x4dcff2){var _0x3433bb=_0x3433();return _0x104a=function(_0x104a6c,_0x2318e4){_0x104a6c=_0x104a6c-0xde;var _0xe34317=_0x3433bb[_0x104a6c];return _0xe34317;},_0x104a(_0x261b66,_0x4dcff2);}function _0x3433(){var _0x536fd0=['onGroupBulletinRichMediaProgressUpdate:','6431299fyJbsw','ctTQj','QBtsm','onJoinGroupNotify:','onGroupStatisticInfoChange','onGroupNotifiesUpdated','onMemberListChange','onGroupSingleScreenNotifies:','onGroupExtListUpdate','onGroupMemberLevelInfoChange:','onGroupDetailInfoChange','VrEFU','116920wapwzH','mZutC','onGroupNotifiesUnreadCountUpdated','onGroupNotifiesUnreadCountUpdated:','onGroupSingleScreenNotifies','GXvov','onGroupAllInfoChange','onGroupAllInfoChange:','onGroupBulletinRichMediaProgressUpdate','onSearchMemberChange','onGroupNotifiesUpdated:','onGroupConfMemberChange:','329876iKjdlv','5863860HBqIKV','onGroupBulletinRichMediaDownloadComplete','8oSYOsc','onMemberInfoChange:','23163219qlxZDZ','onJoinGroupNotify','onGroupFirstBulletinNotify','10yrCTWY','740770VXmMLY','3146973hUrQrv','onGroupBulletinRemindNotify:','onGetGroupBulletinListResult','onGroupConfMemberChange','onMemberListChange:','TGCXn','onGroupDetailInfoChange:','rHyvq','onGroupStatisticInfoChange:','onGroupListUpdate','onJoinGroupNoVerifyFlag:','gKuyL','EheFX','onGroupsMsgMaskResult:','onGetGroupBulletinListResult:','hEGnN','ZTwAQ','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinChange:','onShutUpMemberListChanged','YfHYs','fcmmW','onMemberInfoChange','onJoinGroupNoVerifyFlag','CBVNF','onGroupsMsgMaskResult','onGroupFirstBulletinNotify:','onGroupExtListUpdate:','onGroupListUpdate:','onGroupBulletinChange','onGroupArkInviteStateResult','log','onShutUpMemberListChanged:','onGroupBulletinRemindNotify'];_0x3433=function(){return _0x536fd0;};return _0x3433();}export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x3e55c2){}[_0x4b591e(0x11b)](..._0x1c9069){}[_0x4b591e(0x109)](..._0x5c695a){}['onGroupBulletinChange'](..._0x1ca565){}[_0x4b591e(0xf5)](..._0x10ea86){}[_0x4b591e(0xf2)](..._0x27e0ee){}[_0x4b591e(0x111)](..._0x37e94c){}[_0x4b591e(0x11c)](..._0x5032af){}[_0x4b591e(0x101)](..._0x2ae3b4){}[_0x4b591e(0xff)](..._0x4cdda4){}[_0x4b591e(0x116)](..._0x5b8301){}[_0x4b591e(0x122)](_0x23bf6b,_0x36f444){}['onGroupNotifiesUpdated'](_0x5bbd49,_0x5e0d10){}[_0x4b591e(0x10b)](..._0x4d8747){}[_0x4b591e(0x105)](..._0x5eb236){}[_0x4b591e(0x107)](_0x168983,_0xef8b66,_0x4330f4){}[_0x4b591e(0xed)](..._0x267030){}[_0x4b591e(0xfb)](..._0x36bcf6){}[_0x4b591e(0x115)](..._0x496e2b){}[_0x4b591e(0xeb)](..._0x52b437){}[_0x4b591e(0xea)](_0x13857a,_0x28b375,_0xa94cbc){}[_0x4b591e(0xfd)](_0x57fac4){}[_0x4b591e(0x10c)](..._0x2cd358){}[_0x4b591e(0xe7)](..._0x3ed4ee){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x319c59){var _0x2a3fac=_0x4b591e,_0x5a06c7={'ctTQj':_0x2a3fac(0x100)};console['log'](_0x5a06c7[_0x2a3fac(0xf8)],..._0x319c59);}[_0x4b591e(0x11b)](..._0x2906fe){var _0x29d8fa=_0x4b591e,_0x5d52fe={'hEGnN':_0x29d8fa(0xe2)};console[_0x29d8fa(0xf3)](_0x5d52fe[_0x29d8fa(0xe3)],..._0x2906fe);}[_0x4b591e(0x109)](..._0x10b832){var _0x28aa26=_0x4b591e,_0x369438={'QBtsm':_0x28aa26(0x10a)};console[_0x28aa26(0xf3)](_0x369438[_0x28aa26(0xf9)],..._0x10b832);}[_0x4b591e(0xf1)](..._0x8d6b4){var _0x1b523e=_0x4b591e,_0x216d4b={'gKuyL':_0x1b523e(0xe6)};console[_0x1b523e(0xf3)](_0x216d4b[_0x1b523e(0xdf)],..._0x8d6b4);}[_0x4b591e(0xf5)](..._0x2133bb){var _0x52a464=_0x4b591e,_0xf724c4={'gNQth':_0x52a464(0x11a)};console[_0x52a464(0xf3)](_0xf724c4['gNQth'],..._0x2133bb);}[_0x4b591e(0xf2)](..._0x27c988){var _0x23ec3a=_0x4b591e,_0x3287a3={'EheFX':'onGroupArkInviteStateResult:'};console['log'](_0x3287a3[_0x23ec3a(0xe0)],..._0x27c988);}[_0x4b591e(0x111)](..._0x3b0139){var _0x4e08b5=_0x4b591e,_0x1c2b6d={'ovqZp':_0x4e08b5(0xe5)};console['log'](_0x1c2b6d['ovqZp'],..._0x3b0139);}[_0x4b591e(0x11c)](..._0x277924){var _0x108879=_0x4b591e;console[_0x108879(0xf3)](_0x108879(0x10e),..._0x277924);}[_0x4b591e(0x101)](..._0x210e76){var _0x396de0=_0x4b591e;console[_0x396de0(0xf3)](_0x396de0(0x11f),..._0x210e76);}[_0x4b591e(0xff)](..._0x1c367c){var _0x8e882e=_0x4b591e;console[_0x8e882e(0xf3)](_0x8e882e(0xef),..._0x1c367c);}[_0x4b591e(0x116)](..._0x35309d){var _0x4e72d1=_0x4b591e,_0x1b4939={'GXvov':_0x4e72d1(0xee)};console['log'](_0x1b4939[_0x4e72d1(0x108)],..._0x35309d);}[_0x4b591e(0x122)](..._0x2cceec){var _0x2517f4=_0x4b591e,_0x1f6426={'lAgLC':_0x2517f4(0xf0)};console[_0x2517f4(0xf3)](_0x1f6426['lAgLC'],..._0x2cceec);}[_0x4b591e(0xfc)](..._0x6bf354){var _0x499c56=_0x4b591e;console[_0x499c56(0xf3)](_0x499c56(0x10d),..._0x6bf354);}['onGroupBulletinRichMediaProgressUpdate'](..._0x1d5e92){var _0x5f14a4=_0x4b591e;console[_0x5f14a4(0xf3)](_0x5f14a4(0xf6),..._0x1d5e92);}[_0x4b591e(0x105)](..._0x275d17){var _0x475255=_0x4b591e,_0x55744b={'wfcKK':_0x475255(0x106)};console['log'](_0x55744b['wfcKK'],..._0x275d17);}[_0x4b591e(0x107)](_0x415f26,_0xfa5c74,_0x3d01df){var _0x145ff2=_0x4b591e,_0x2f9df6={'VrEFU':_0x145ff2(0xfe)};console[_0x145ff2(0xf3)](_0x2f9df6[_0x145ff2(0x102)]);}[_0x4b591e(0xed)](..._0x430d4b){var _0x31d3ef=_0x4b591e,_0x1f9cbb={'mZutC':_0x31d3ef(0xe1)};console[_0x31d3ef(0xf3)](_0x1f9cbb[_0x31d3ef(0x104)],..._0x430d4b);}[_0x4b591e(0xfb)](..._0x1049c1){var _0x5d9bcc=_0x4b591e,_0x4845c2={'TGCXn':_0x5d9bcc(0x121)};console[_0x5d9bcc(0xf3)](_0x4845c2[_0x5d9bcc(0x11e)],..._0x1049c1);}[_0x4b591e(0x115)](..._0x297aa3){var _0x39cde0=_0x4b591e,_0x8a8f81={'ZTwAQ':_0x39cde0(0xfa)};console[_0x39cde0(0xf3)](_0x8a8f81[_0x39cde0(0xe4)],..._0x297aa3);}[_0x4b591e(0xeb)](..._0x23476c){var _0x133c24=_0x4b591e,_0xdffec7={'rHyvq':_0x133c24(0xde)};console[_0x133c24(0xf3)](_0xdffec7[_0x133c24(0x120)],..._0x23476c);}[_0x4b591e(0xea)](_0x38b102,_0x8dac23,_0x2c4718){var _0x2c0cac=_0x4b591e,_0x15bf44={'YfHYs':_0x2c0cac(0x113)};console[_0x2c0cac(0xf3)](_0x15bf44[_0x2c0cac(0xe8)],_0x38b102,_0x8dac23,_0x2c4718);}['onMemberListChange'](..._0x1d3e14){var _0x2222ef=_0x4b591e,_0x50143c={'fcmmW':_0x2222ef(0x11d)};console[_0x2222ef(0xf3)](_0x50143c[_0x2222ef(0xe9)],..._0x1d3e14);}[_0x4b591e(0x10c)](..._0x44a408){var _0x2cb5b9=_0x4b591e,_0x1f56bb={'CBVNF':'onSearchMemberChange:'};console[_0x2cb5b9(0xf3)](_0x1f56bb[_0x2cb5b9(0xec)],..._0x44a408);}[_0x4b591e(0xe7)](..._0x18b2f6){var _0x41da6b=_0x4b591e;console[_0x41da6b(0xf3)](_0x41da6b(0xf4),..._0x18b2f6);}} \ 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 073a6573..38be6836 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x526331=_0x48cf;function _0x4366(){var _0x31351d=['onQRCodeSessionUserScaned','2645536nwiURv','4333206PfFywY','onPasswordLoginFailed','OnConfirmUnusualDeviceFailed','3676xSpMzc','25104LqyBpc','onQRCodeLoginPollingStarted','onUserLoggedIn','7765mKaKOu','3fOhoXr','onLoginDisConnected','26956470rjzVNk','onQRCodeSessionQuickLoginFailed','onLoginFailed','onLoginConnecting','1766071BcDeaG','onQRCodeLoginSucceed','onQQLoginNumLimited','721JbzPUH','6479766xeuNsb','onLoginState','onLoginConnected'];_0x4366=function(){return _0x31351d;};return _0x4366();}function _0x48cf(_0x294bd9,_0xf7b11){var _0x4366ba=_0x4366();return _0x48cf=function(_0x48cfbc,_0x36351c){_0x48cfbc=_0x48cfbc-0x166;var _0x39acfc=_0x4366ba[_0x48cfbc];return _0x39acfc;},_0x48cf(_0x294bd9,_0xf7b11);}(function(_0x2b8fc5,_0x4f9216){var _0x599249=_0x48cf,_0x30a1ef=_0x2b8fc5();while(!![]){try{var _0x94f3c6=parseInt(_0x599249(0x173))/0x1+parseInt(_0x599249(0x17b))/0x2*(-parseInt(_0x599249(0x16d))/0x3)+parseInt(_0x599249(0x168))/0x4*(parseInt(_0x599249(0x16c))/0x5)+parseInt(_0x599249(0x17c))/0x6+parseInt(_0x599249(0x176))/0x7*(parseInt(_0x599249(0x169))/0x8)+parseInt(_0x599249(0x177))/0x9+-parseInt(_0x599249(0x16f))/0xa;if(_0x94f3c6===_0x4f9216)break;else _0x30a1ef['push'](_0x30a1ef['shift']());}catch(_0x49d9f0){_0x30a1ef['push'](_0x30a1ef['shift']());}}}(_0x4366,0xe58dc));export class LoginListener{[_0x526331(0x179)](..._0x4c3581){}[_0x526331(0x16e)](..._0x1821f6){}[_0x526331(0x172)](..._0x328165){}['onQRCodeGetPicture'](_0x1a3a16){}[_0x526331(0x16a)](..._0x528305){}[_0x526331(0x17a)](..._0x5383b2){}[_0x526331(0x174)](_0x3d820e){}['onQRCodeSessionFailed'](..._0x5b74b6){}[_0x526331(0x171)](..._0x82ffb3){}['onLogoutSucceed'](..._0x178d23){}['onLogoutFailed'](..._0xc0a9bf){}[_0x526331(0x16b)](..._0x12b31b){}[_0x526331(0x170)](..._0x367aa7){}[_0x526331(0x166)](..._0x28a95f){}[_0x526331(0x167)](..._0x129b85){}[_0x526331(0x175)](..._0x5f5a3b){}[_0x526331(0x178)](..._0x29cc69){}} \ No newline at end of file +var _0x49b68d=_0x5e51;(function(_0x41125d,_0x325cca){var _0x4d71c6=_0x5e51,_0x3a4c1a=_0x41125d();while(!![]){try{var _0xdba51f=-parseInt(_0x4d71c6(0x158))/0x1+-parseInt(_0x4d71c6(0x162))/0x2+parseInt(_0x4d71c6(0x16b))/0x3+-parseInt(_0x4d71c6(0x165))/0x4+-parseInt(_0x4d71c6(0x169))/0x5*(parseInt(_0x4d71c6(0x15d))/0x6)+parseInt(_0x4d71c6(0x15e))/0x7*(-parseInt(_0x4d71c6(0x15c))/0x8)+parseInt(_0x4d71c6(0x15b))/0x9;if(_0xdba51f===_0x325cca)break;else _0x3a4c1a['push'](_0x3a4c1a['shift']());}catch(_0x438a4e){_0x3a4c1a['push'](_0x3a4c1a['shift']());}}}(_0x4db6,0x954f1));function _0x5e51(_0x2acc30,_0x3e3532){var _0x4db6c0=_0x4db6();return _0x5e51=function(_0x5e5156,_0x3bd4bf){_0x5e5156=_0x5e5156-0x158;var _0x24ae1d=_0x4db6c0[_0x5e5156];return _0x24ae1d;},_0x5e51(_0x2acc30,_0x3e3532);}function _0x4db6(){var _0x1f1665=['8vQxDza','2688OxobRM','6968948YflKoL','OnConfirmUnusualDeviceFailed','onLogoutFailed','onQRCodeGetPicture','1186624QCBrAl','onLoginFailed','onLoginState','2794744pEpvmb','onLoginConnecting','onQRCodeSessionFailed','onQRCodeLoginPollingStarted','12430USnqci','onLoginDisConnected','2558469jwhtSX','onQQLoginNumLimited','onPasswordLoginFailed','onLogoutSucceed','onUserLoggedIn','onQRCodeLoginSucceed','595876qoseaQ','onQRCodeSessionUserScaned','onLoginConnected','33803208YvCBqs'];_0x4db6=function(){return _0x1f1665;};return _0x4db6();}export class LoginListener{[_0x49b68d(0x15a)](..._0x3de65d){}[_0x49b68d(0x16a)](..._0x21becf){}[_0x49b68d(0x166)](..._0x2aab3a){}[_0x49b68d(0x161)](_0x39ad95){}[_0x49b68d(0x168)](..._0x4a6254){}[_0x49b68d(0x159)](..._0x42a602){}[_0x49b68d(0x170)](_0x4c2d86){}[_0x49b68d(0x167)](..._0x1cf511){}[_0x49b68d(0x163)](..._0x162507){}[_0x49b68d(0x16e)](..._0x3590c7){}[_0x49b68d(0x160)](..._0x4688c8){}[_0x49b68d(0x16f)](..._0x5099be){}['onQRCodeSessionQuickLoginFailed'](..._0x9c02ba){}[_0x49b68d(0x16d)](..._0x34f709){}[_0x49b68d(0x15f)](..._0x2692fc){}[_0x49b68d(0x16c)](..._0x44b76d){}[_0x49b68d(0x164)](..._0x2ff1fc){}} \ 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 5ad2fc53..f3950f53 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x21255e=_0x30d1;(function(_0x59a79d,_0x571cd9){var _0x5a1aa6=_0x30d1,_0x33b426=_0x59a79d();while(!![]){try{var _0x2e4842=parseInt(_0x5a1aa6(0x135))/0x1*(parseInt(_0x5a1aa6(0x156))/0x2)+-parseInt(_0x5a1aa6(0x14c))/0x3+parseInt(_0x5a1aa6(0x164))/0x4*(parseInt(_0x5a1aa6(0x138))/0x5)+parseInt(_0x5a1aa6(0x169))/0x6+parseInt(_0x5a1aa6(0x146))/0x7*(parseInt(_0x5a1aa6(0x145))/0x8)+-parseInt(_0x5a1aa6(0x150))/0x9*(-parseInt(_0x5a1aa6(0x132))/0xa)+parseInt(_0x5a1aa6(0x142))/0xb*(-parseInt(_0x5a1aa6(0x15a))/0xc);if(_0x2e4842===_0x571cd9)break;else _0x33b426['push'](_0x33b426['shift']());}catch(_0x2a51bb){_0x33b426['push'](_0x33b426['shift']());}}}(_0x175c,0xcc5de));function _0x30d1(_0x3bedf3,_0x3d4d72){var _0x175c14=_0x175c();return _0x30d1=function(_0x30d15f,_0x7edf30){_0x30d15f=_0x30d15f-0x132;var _0x3ddc2f=_0x175c14[_0x30d15f];return _0x3ddc2f;},_0x30d1(_0x3bedf3,_0x3d4d72);}function _0x175c(){var _0x367472=['onGroupFileInfoUpdate','onBroadcastHelperProgressUpdate','onGroupTransferInfoUpdate','onFirstViewGroupGuildMapping','onKickedOffLine','50gCCqMl','onHitRelatedEmojiResult','onContactUnreadCntUpdate','onHitCsRelatedEmojiResult','272376SDgyzZ','onGroupFileInfoAdd','onMsgQRCodeStatusChanged','onSysMsgNotification','onMsgRecall','onRichMediaUploadComplete','onNtMsgSyncEnd','onUserTabStatusChanged','onAddSendMsg','onBroadcastHelperDownloadComplete','4340BnOsvo','onNtMsgSyncStart','onMsgInfoListAdd','onEmojiDownloadComplete','onMsgBoxChanged','1588962guQesa','onLineDev','onImportOldDbProgressUpdate','onSendMsgError','onMsgDelete','onMsgSecurityNotify','onMsgWithRichLinkInfoUpdate','onLogLevelChanged','onlineStatusSmallIconDownloadPush','onDraftUpdate','1461540FidovA','onChannelFreqLimitInfoUpdate','onCustomWithdrawConfigUpdate','37873UaOCUb','onGuildNotificationAbstractUpdate','onUserSecQualityChanged','2245YxUFwH','onGroupGuildUpdate','onRecvGroupGuildFlag','onTempChatInfoUpdate','onlineStatusBigIconDownloadPush','onGrabPasswordRedBag','onFirstViewDirectMsgUpdate','onSearchGroupFileInfoUpdate','onReadFeedEventUpdate','onRecvMsg','572TuOXFZ','onUserOnlineStatusChanged','onRichMediaDownloadComplete','8thbYdy','2827034geYcfN','onGuildMsgAbFlagChanged','onHitEmojiKeywordResult','onMsgEventListUpdate','onUnreadCntAfterFirstView','onRecvMsgSvrRspTransInfo','3325125HahkRg','onUnreadCntUpdate','onMsgAbstractUpdate','onUserChannelTabStatusChanged','63ErZRMB'];_0x175c=function(){return _0x367472;};return _0x175c();}export class MsgListener{[_0x21255e(0x162)](_0x3d50d5){}[_0x21255e(0x163)](_0x416aa9){}[_0x21255e(0x152)](_0x21aa64){}[_0x21255e(0x133)](_0x19730a,_0xb51ad6,_0x5c0c75){}[_0x21255e(0x158)](_0x126d39){}[_0x21255e(0x134)](_0x2e406b){}[_0x21255e(0x172)](_0x3698fa,_0x5a26a0,_0x382537){}[_0x21255e(0x167)](_0x499be6){}['onEmojiResourceUpdate'](_0x503324){}['onFeedEventUpdate'](_0x3070be){}['onFileMsgCome'](_0x5b298b){}[_0x21255e(0x13e)](_0x2390f5){}[_0x21255e(0x154)](_0x13953c){}[_0x21255e(0x13d)](_0x1b13f3,_0x29a0d5,_0x250a09,_0xf5c4a0,_0xeaefa7){}[_0x21255e(0x15b)](_0x1bcde2){}[_0x21255e(0x151)](_0x48465c){}[_0x21255e(0x139)](_0x6d9141){}['onGroupTransferInfoAdd'](_0x3cd6e2){}[_0x21255e(0x153)](_0x440494){}['onGuildInteractiveUpdate'](_0x3ac87b){}[_0x21255e(0x147)](_0x998c01){}[_0x21255e(0x136)](_0x4b4bab){}[_0x21255e(0x159)](_0x4c781f){}[_0x21255e(0x148)](_0x50fef1){}[_0x21255e(0x157)](_0x55eefc){}[_0x21255e(0x16b)](_0x2764ca){}['onInputStatusPush'](_0x45bef5){}[_0x21255e(0x155)](_0x35c209){}[_0x21255e(0x16a)](_0x10f1b0){}[_0x21255e(0x170)](_0x42b5c2){}[_0x21255e(0x14e)](_0x2c7e1f){}[_0x21255e(0x168)](_0x3ecb99){}[_0x21255e(0x16d)](_0x37e8ce,_0x312fdc){}[_0x21255e(0x149)](_0x253c04){}[_0x21255e(0x166)](_0x3f7ecc){}['onMsgInfoListUpdate'](_0x48ff13){}[_0x21255e(0x15c)](_0x1cafe7){}[_0x21255e(0x15e)](_0x24ed23,_0x27184c,_0x22f5e3){}[_0x21255e(0x16e)](_0x36a8e7){}['onMsgSettingUpdate'](_0x1bc59e){}['onNtFirstViewMsgSyncEnd'](){}[_0x21255e(0x160)](){}[_0x21255e(0x165)](){}[_0x21255e(0x140)](_0x4e7a93){}[_0x21255e(0x13a)](_0x2cf2b9){}[_0x21255e(0x141)](_0x2f3e29){}[_0x21255e(0x14b)](_0x3dfbcc,_0xe19862,_0x296b5a,_0x1029ef,_0x47ee94,_0x1fb5b8){}['onRecvOnlineFileMsg'](_0x25564f){}['onRecvS2CMsg'](_0x42fbb4){}['onRecvSysMsg'](_0x5aed40){}['onRecvUDCFlag'](_0x3d9f4b){}[_0x21255e(0x144)](_0x15e17d){}['onRichMediaProgerssUpdate'](_0x508fef){}[_0x21255e(0x15f)](_0x1b7e7a){}[_0x21255e(0x13f)](_0x313088){}[_0x21255e(0x16c)](_0x53db97,_0x1136ec,_0x38b6ff,_0x4b9841){}[_0x21255e(0x15d)](_0xb4e8dd,_0x195cd1,_0x216fab,_0x233eec){}[_0x21255e(0x13b)](_0x2e9974){}[_0x21255e(0x14a)](_0x49c8b7){}[_0x21255e(0x14d)](_0x4d24bf){}[_0x21255e(0x14f)](_0x35f0e5){}[_0x21255e(0x143)](_0x45dc08){}[_0x21255e(0x161)](_0x230374){}[_0x21255e(0x13c)](_0x553bcc,_0x27bd33,_0x1f1cdd){}[_0x21255e(0x171)](_0x1e52c7,_0x48a123,_0x247d63){}[_0x21255e(0x137)](..._0x4a7cca){}[_0x21255e(0x16f)](..._0xfd2679){}['onRedTouchChanged'](..._0x55bffc){}['onBroadcastHelperProgerssUpdate'](..._0x52c509){}} \ No newline at end of file +function _0x10e8(_0x3d4ca0,_0x148d32){var _0x472891=_0x4728();return _0x10e8=function(_0x10e8e9,_0x54be61){_0x10e8e9=_0x10e8e9-0x136;var _0x54b46b=_0x472891[_0x10e8e9];return _0x54b46b;},_0x10e8(_0x3d4ca0,_0x148d32);}var _0x533944=_0x10e8;(function(_0x3dc467,_0x1d9cc8){var _0x19f18f=_0x10e8,_0x29e49f=_0x3dc467();while(!![]){try{var _0x4572ff=-parseInt(_0x19f18f(0x164))/0x1+-parseInt(_0x19f18f(0x15f))/0x2*(-parseInt(_0x19f18f(0x13b))/0x3)+parseInt(_0x19f18f(0x171))/0x4+-parseInt(_0x19f18f(0x13f))/0x5*(parseInt(_0x19f18f(0x157))/0x6)+-parseInt(_0x19f18f(0x148))/0x7+-parseInt(_0x19f18f(0x163))/0x8*(parseInt(_0x19f18f(0x150))/0x9)+-parseInt(_0x19f18f(0x16d))/0xa*(-parseInt(_0x19f18f(0x13c))/0xb);if(_0x4572ff===_0x1d9cc8)break;else _0x29e49f['push'](_0x29e49f['shift']());}catch(_0x3bfe30){_0x29e49f['push'](_0x29e49f['shift']());}}}(_0x4728,0xa8a9d));function _0x4728(){var _0x4008c0=['onReadFeedEventUpdate','5994335FMSbls','onGroupGuildUpdate','onInputStatusPush','onRecvGroupGuildFlag','onRecvMsg','onMsgRecall','onRichMediaDownloadComplete','onUserTabStatusChanged','onGuildInteractiveUpdate','5230589BeXCGX','onNtFirstViewMsgSyncEnd','onMsgAbstractUpdate','onHitCsRelatedEmojiResult','onGuildNotificationAbstractUpdate','onUserOnlineStatusChanged','onGroupTransferInfoUpdate','onKickedOffLine','991026DOdPQQ','onUnreadCntUpdate','onMsgSecurityNotify','onImportOldDbProgressUpdate','onGroupFileInfoAdd','onRecvSysMsg','onHitRelatedEmojiResult','6tdCbiC','onRecvUDCFlag','onEmojiResourceUpdate','onUnreadCntAfterFirstView','onRichMediaUploadComplete','onContactUnreadCntUpdate','onSysMsgNotification','onFeedEventUpdate','53258LMrOPV','onLogLevelChanged','onBroadcastHelperProgerssUpdate','onSearchGroupFileInfoUpdate','32wqbrCT','846826fczNEe','onlineStatusSmallIconDownloadPush','onChannelFreqLimitInfoUpdate','onDraftUpdate','onBroadcastHelperDownloadComplete','onRichMediaProgerssUpdate','onSendMsgError','onGrabPasswordRedBag','onCustomWithdrawConfigUpdate','10fiJIFV','onRedTouchChanged','onLineDev','onNtMsgSyncStart','2877564EVtIWv','onHitEmojiKeywordResult','onFirstViewGroupGuildMapping','onTempChatInfoUpdate','onMsgBoxChanged','onMsgDelete','onMsgWithRichLinkInfoUpdate','onUserSecQualityChanged','21fabeLB','33202697esDJGP','onBroadcastHelperProgressUpdate'];_0x4728=function(){return _0x4008c0;};return _0x4728();}export class MsgListener{['onAddSendMsg'](_0x1799b2){}[_0x533944(0x168)](_0x49219a){}[_0x533944(0x13d)](_0x497a74){}[_0x533944(0x166)](_0x46f1cf,_0x17326d,_0x49e259){}[_0x533944(0x15c)](_0x571284){}[_0x533944(0x16c)](_0x2e1231){}[_0x533944(0x167)](_0x22f3d1,_0x548213,_0x4d2832){}['onEmojiDownloadComplete'](_0x4597e9){}[_0x533944(0x159)](_0x4e24fa){}[_0x533944(0x15e)](_0x4f307c){}['onFileMsgCome'](_0x41236f){}['onFirstViewDirectMsgUpdate'](_0x11f2ae){}[_0x533944(0x173)](_0x2bdaec){}[_0x533944(0x16b)](_0x2bc5b5,_0x5981c9,_0x4a980b,_0x311f3f,_0x194eaa){}[_0x533944(0x154)](_0x9ae08){}['onGroupFileInfoUpdate'](_0x154c73){}[_0x533944(0x140)](_0x2175e2){}['onGroupTransferInfoAdd'](_0x2ee76e){}[_0x533944(0x14e)](_0x42277e){}[_0x533944(0x147)](_0x4d9953){}['onGuildMsgAbFlagChanged'](_0x1f58b3){}[_0x533944(0x14c)](_0x83007b){}[_0x533944(0x14b)](_0x2b61b8){}[_0x533944(0x172)](_0xcfbb5f){}[_0x533944(0x156)](_0x168374){}[_0x533944(0x153)](_0x22f2f1){}[_0x533944(0x141)](_0x514549){}[_0x533944(0x14f)](_0x5cdd0b){}[_0x533944(0x16f)](_0x454e60){}[_0x533944(0x160)](_0x17fad5){}[_0x533944(0x14a)](_0x14b315){}[_0x533944(0x137)](_0x547e6e){}[_0x533944(0x138)](_0x2d4e9a,_0x30ae33){}['onMsgEventListUpdate'](_0x83d38a){}['onMsgInfoListAdd'](_0x26fd63){}['onMsgInfoListUpdate'](_0x14285f){}['onMsgQRCodeStatusChanged'](_0x453be1){}[_0x533944(0x144)](_0x23ae2f,_0x39c4ae,_0x561335){}[_0x533944(0x152)](_0x2737ad){}['onMsgSettingUpdate'](_0x37c180){}[_0x533944(0x149)](){}['onNtMsgSyncEnd'](){}[_0x533944(0x170)](){}[_0x533944(0x13e)](_0xb653c1){}[_0x533944(0x142)](_0x51be96){}[_0x533944(0x143)](_0x2ae19e){}['onRecvMsgSvrRspTransInfo'](_0x42e222,_0x2510a4,_0x3136ee,_0x50f39e,_0x590fc9,_0x2164bd){}['onRecvOnlineFileMsg'](_0x51ca0d){}['onRecvS2CMsg'](_0x581bc7){}[_0x533944(0x155)](_0x2ad57a){}[_0x533944(0x158)](_0x291e30){}[_0x533944(0x145)](_0x42ea7c){}[_0x533944(0x169)](_0x130e40){}[_0x533944(0x15b)](_0x5b6201){}[_0x533944(0x162)](_0xea49b){}[_0x533944(0x16a)](_0x2cbbb3,_0x3cd5d0,_0xa1e527,_0x505b67){}[_0x533944(0x15d)](_0x5e1d62,_0x5de1ec,_0x3824aa,_0x24f861){}[_0x533944(0x136)](_0x15d571){}[_0x533944(0x15a)](_0x2a96ae){}[_0x533944(0x151)](_0xf31497){}['onUserChannelTabStatusChanged'](_0x1b31de){}[_0x533944(0x14d)](_0x5a0fc9){}[_0x533944(0x146)](_0x2df6fe){}['onlineStatusBigIconDownloadPush'](_0x23c21a,_0x4e02f0,_0x4c10eb){}[_0x533944(0x165)](_0xc69024,_0x188985,_0x55aa2f){}[_0x533944(0x13a)](..._0x9ec9bf){}[_0x533944(0x139)](..._0x33808c){}[_0x533944(0x16e)](..._0x4255d9){}[_0x533944(0x161)](..._0x1b9278){}} \ 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 1e7f3457..93383a47 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x52a86e=_0x3a24;function _0x5859(){var _0x187b4a=['552951izkIIU','302KTTKop','3361407bgfOrT','onStatusUpdate','14037AEXuDX','26680760qWvTXa','onProfileSimpleChanged','9wiVvAa','onProfileDetailInfoChanged','3317202XuoRDq','143064dBKhQa','onStrangerRemarkChanged','onSelfStatusChanged','2529700rBrXpY'];_0x5859=function(){return _0x187b4a;};return _0x5859();}function _0x3a24(_0x10a6ed,_0x5373f0){var _0x585933=_0x5859();return _0x3a24=function(_0x3a24e6,_0x5f38b6){_0x3a24e6=_0x3a24e6-0x109;var _0x33def0=_0x585933[_0x3a24e6];return _0x33def0;},_0x3a24(_0x10a6ed,_0x5373f0);}(function(_0x1325fd,_0x33e1d6){var _0x198453=_0x3a24,_0x1725fc=_0x1325fd();while(!![]){try{var _0x9de9a3=-parseInt(_0x198453(0x10b))/0x1+-parseInt(_0x198453(0x10c))/0x2*(parseInt(_0x198453(0x10f))/0x3)+-parseInt(_0x198453(0x115))/0x4+-parseInt(_0x198453(0x10a))/0x5+-parseInt(_0x198453(0x114))/0x6+-parseInt(_0x198453(0x10d))/0x7+-parseInt(_0x198453(0x110))/0x8*(-parseInt(_0x198453(0x112))/0x9);if(_0x9de9a3===_0x33e1d6)break;else _0x1725fc['push'](_0x1725fc['shift']());}catch(_0xb8c588){_0x1725fc['push'](_0x1725fc['shift']());}}}(_0x5859,0x7a469));export class ProfileListener{[_0x52a86e(0x111)](..._0x1cfbf4){}[_0x52a86e(0x113)](_0x35e246){}[_0x52a86e(0x10e)](..._0x522d3c){}[_0x52a86e(0x109)](..._0x55f3aa){}[_0x52a86e(0x116)](..._0x28f2b9){}} \ No newline at end of file +function _0xfc67(_0x330d91,_0x224120){var _0x445df6=_0x445d();return _0xfc67=function(_0xfc674,_0x1a1cec){_0xfc674=_0xfc674-0xd4;var _0x546f03=_0x445df6[_0xfc674];return _0x546f03;},_0xfc67(_0x330d91,_0x224120);}var _0x21fe1c=_0xfc67;function _0x445d(){var _0x5c0d91=['37330764JOluXw','onStatusUpdate','172WXSvlF','70428IXhwTF','8QWgBtQ','8270250GxOhQc','5665617qYdKHF','445TStCda','1438DjSEDN','1032aLpzMM','15720rsqSav','onProfileDetailInfoChanged','onStrangerRemarkChanged','7108675AQmHZm','11IiJWDw'];_0x445d=function(){return _0x5c0d91;};return _0x445d();}(function(_0x1e2f2b,_0x298171){var _0x5316a1=_0xfc67,_0x37886f=_0x1e2f2b();while(!![]){try{var _0xd05948=parseInt(_0x5316a1(0xda))/0x1*(-parseInt(_0x5316a1(0xdb))/0x2)+parseInt(_0x5316a1(0xd6))/0x3*(parseInt(_0x5316a1(0xd5))/0x4)+parseInt(_0x5316a1(0xdd))/0x5*(parseInt(_0x5316a1(0xdc))/0x6)+parseInt(_0x5316a1(0xe0))/0x7+-parseInt(_0x5316a1(0xd7))/0x8*(-parseInt(_0x5316a1(0xd9))/0x9)+parseInt(_0x5316a1(0xd8))/0xa*(parseInt(_0x5316a1(0xe1))/0xb)+-parseInt(_0x5316a1(0xe2))/0xc;if(_0xd05948===_0x298171)break;else _0x37886f['push'](_0x37886f['shift']());}catch(_0x557e71){_0x37886f['push'](_0x37886f['shift']());}}}(_0x445d,0x90657));export class ProfileListener{['onProfileSimpleChanged'](..._0x42ddb9){}[_0x21fe1c(0xde)](_0x2ae6d8){}[_0x21fe1c(0xd4)](..._0x5b648b){}['onSelfStatusChanged'](..._0x4b5bf8){}[_0x21fe1c(0xdf)](..._0x3ae2a2){}} \ 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 fad034c5..0306dd32 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x49d835=_0x4448;(function(_0x2b88d1,_0x165906){var _0x250d41=_0x4448,_0x325332=_0x2b88d1();while(!![]){try{var _0x1fd45a=parseInt(_0x250d41(0x67))/0x1+parseInt(_0x250d41(0x65))/0x2*(-parseInt(_0x250d41(0x66))/0x3)+-parseInt(_0x250d41(0x6a))/0x4+parseInt(_0x250d41(0x6b))/0x5*(-parseInt(_0x250d41(0x69))/0x6)+-parseInt(_0x250d41(0x6e))/0x7+parseInt(_0x250d41(0x68))/0x8*(parseInt(_0x250d41(0x6f))/0x9)+parseInt(_0x250d41(0x6d))/0xa;if(_0x1fd45a===_0x165906)break;else _0x325332['push'](_0x325332['shift']());}catch(_0x29e51e){_0x325332['push'](_0x325332['shift']());}}}(_0xa9c1,0xd5a32));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x59bf7e){}[_0x49d835(0x70)](..._0x2f218c){}[_0x49d835(0x6c)](..._0x454e6d){}}function _0x4448(_0x5cdbae,_0x291bea){var _0xa9c1f9=_0xa9c1();return _0x4448=function(_0x444844,_0x47f211){_0x444844=_0x444844-0x65;var _0x421a11=_0xa9c1f9[_0x444844];return _0x421a11;},_0x4448(_0x5cdbae,_0x291bea);}function _0xa9c1(){var _0x199ed0=['12MkRDKe','200143diImGs','5313584ajUqSY','2202PwMihz','5751848kYsTuG','3715OdHEAk','onRobotProfileChanged','32992000yFegMp','5454428GBdqCG','9qPZjbR','onRobotListChanged','399318XTbeMT'];_0xa9c1=function(){return _0x199ed0;};return _0xa9c1();} \ No newline at end of file +var _0x5b50c4=_0x25e7;function _0x25e7(_0x2201be,_0x4757c9){var _0x144f32=_0x144f();return _0x25e7=function(_0x25e77e,_0x5bc954){_0x25e77e=_0x25e77e-0x18f;var _0x3d7b79=_0x144f32[_0x25e77e];return _0x3d7b79;},_0x25e7(_0x2201be,_0x4757c9);}function _0x144f(){var _0x1c7a5a=['852KsQSea','460456pCsnly','10618gPPdvp','21fByPSI','2084026ydRZVS','onRobotFriendListChanged','547707faBsHe','15539340nHTcNG','90zecwJm','6085CbzYKT','onRobotListChanged','534172HkqjSA'];_0x144f=function(){return _0x1c7a5a;};return _0x144f();}(function(_0x43fad5,_0x24656d){var _0x197401=_0x25e7,_0x3c2d6a=_0x43fad5();while(!![]){try{var _0x2b3d18=parseInt(_0x197401(0x195))/0x1*(parseInt(_0x197401(0x194))/0x2)+-parseInt(_0x197401(0x198))/0x3+-parseInt(_0x197401(0x191))/0x4+-parseInt(_0x197401(0x18f))/0x5*(parseInt(_0x197401(0x192))/0x6)+-parseInt(_0x197401(0x196))/0x7+-parseInt(_0x197401(0x193))/0x8*(parseInt(_0x197401(0x19a))/0x9)+parseInt(_0x197401(0x199))/0xa;if(_0x2b3d18===_0x24656d)break;else _0x3c2d6a['push'](_0x3c2d6a['shift']());}catch(_0xdd90c8){_0x3c2d6a['push'](_0x3c2d6a['shift']());}}}(_0x144f,0x4a069));export class KernelRobotListener{[_0x5b50c4(0x197)](..._0x396149){}[_0x5b50c4(0x190)](..._0x5ccc69){}['onRobotProfileChanged'](..._0x5efba2){}} \ 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 6bc47cdf..9a342835 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x137f(){var _0x5b5ac1=['onGProSessionCreate','16432196uBNnST','onGetSelfTinyId','526083jbVirj','onSessionInitComplete','29300apFeTq','onOpentelemetryInit','35DfXEFj','153lxykfk','3hdoxNU','1512360pbfAch','onNTSessionCreate','1062602KnMDAr','627930OlCDtd','6mFAnvE','998376Dopkgw'];_0x137f=function(){return _0x5b5ac1;};return _0x137f();}function _0x1dec(_0xbc24ba,_0x580a2e){var _0x137fcb=_0x137f();return _0x1dec=function(_0x1decc4,_0x3e3a43){_0x1decc4=_0x1decc4-0xb8;var _0x4250a7=_0x137fcb[_0x1decc4];return _0x4250a7;},_0x1dec(_0xbc24ba,_0x580a2e);}var _0x57fa79=_0x1dec;(function(_0x274a00,_0x4108e1){var _0x375dae=_0x1dec,_0x28c3f2=_0x274a00();while(!![]){try{var _0x15ef38=parseInt(_0x375dae(0xc2))/0x1+parseInt(_0x375dae(0xbb))/0x2*(-parseInt(_0x375dae(0xb8))/0x3)+-parseInt(_0x375dae(0xb9))/0x4+-parseInt(_0x375dae(0xbc))/0x5*(parseInt(_0x375dae(0xbd))/0x6)+-parseInt(_0x375dae(0xc6))/0x7*(parseInt(_0x375dae(0xbe))/0x8)+-parseInt(_0x375dae(0xc7))/0x9*(-parseInt(_0x375dae(0xc4))/0xa)+parseInt(_0x375dae(0xc0))/0xb;if(_0x15ef38===_0x4108e1)break;else _0x28c3f2['push'](_0x28c3f2['shift']());}catch(_0x283e4f){_0x28c3f2['push'](_0x28c3f2['shift']());}}}(_0x137f,0x6448f));export class SessionListener{[_0x57fa79(0xba)](_0x396558){}[_0x57fa79(0xbf)](_0x5d314d){}[_0x57fa79(0xc3)](_0x41451a){}[_0x57fa79(0xc5)](_0x1dc25c){}['onUserOnlineResult'](_0x5bbbfa){}[_0x57fa79(0xc1)](_0x269641){}} \ No newline at end of file +function _0x52cb(_0x5edac3,_0x304db1){var _0xbcd843=_0xbcd8();return _0x52cb=function(_0x52cbd1,_0x13a3c7){_0x52cbd1=_0x52cbd1-0xe7;var _0x2adfb1=_0xbcd843[_0x52cbd1];return _0x2adfb1;},_0x52cb(_0x5edac3,_0x304db1);}var _0x1f1032=_0x52cb;function _0xbcd8(){var _0x42182a=['9Mwexlp','287642sworcg','4659515iVYEaJ','369642emIpPm','420UkHCgL','18982170kPdPoP','12wkoLYp','54063EMiDjF','onNTSessionCreate','onOpentelemetryInit','70odPXVO','onGProSessionCreate','1UaFdbq','3603272rwEpDh','7802707lqMoqm','onGetSelfTinyId'];_0xbcd8=function(){return _0x42182a;};return _0xbcd8();}(function(_0xe0e3e9,_0x331906){var _0x52ec11=_0x52cb,_0x52b97c=_0xe0e3e9();while(!![]){try{var _0x21cbd8=parseInt(_0x52ec11(0xf6))/0x1*(-parseInt(_0x52ec11(0xeb))/0x2)+-parseInt(_0x52ec11(0xf1))/0x3*(-parseInt(_0x52ec11(0xee))/0x4)+-parseInt(_0x52ec11(0xf4))/0x5*(parseInt(_0x52ec11(0xed))/0x6)+-parseInt(_0x52ec11(0xec))/0x7+-parseInt(_0x52ec11(0xe7))/0x8+-parseInt(_0x52ec11(0xea))/0x9*(-parseInt(_0x52ec11(0xef))/0xa)+parseInt(_0x52ec11(0xe8))/0xb*(-parseInt(_0x52ec11(0xf0))/0xc);if(_0x21cbd8===_0x331906)break;else _0x52b97c['push'](_0x52b97c['shift']());}catch(_0xadb34f){_0x52b97c['push'](_0x52b97c['shift']());}}}(_0xbcd8,0xea0f8));export class SessionListener{[_0x1f1032(0xf2)](_0x59e4e7){}[_0x1f1032(0xf5)](_0x50d674){}['onSessionInitComplete'](_0x41d365){}[_0x1f1032(0xf3)](_0x5f4369){}['onUserOnlineResult'](_0x364337){}[_0x1f1032(0xe9)](_0x3fc2d3){}} \ 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 109130e4..7865f052 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x43d177=_0x4364;(function(_0x466b15,_0x1c300e){var _0xd5d638=_0x4364,_0x1770dc=_0x466b15();while(!![]){try{var _0x1ac55a=-parseInt(_0xd5d638(0xec))/0x1*(-parseInt(_0xd5d638(0xf0))/0x2)+parseInt(_0xd5d638(0xeb))/0x3*(-parseInt(_0xd5d638(0xef))/0x4)+-parseInt(_0xd5d638(0xea))/0x5*(parseInt(_0xd5d638(0xf1))/0x6)+-parseInt(_0xd5d638(0xe9))/0x7*(parseInt(_0xd5d638(0xf2))/0x8)+-parseInt(_0xd5d638(0xe7))/0x9*(-parseInt(_0xd5d638(0xee))/0xa)+parseInt(_0xd5d638(0xe6))/0xb*(-parseInt(_0xd5d638(0xed))/0xc)+parseInt(_0xd5d638(0xe5))/0xd*(parseInt(_0xd5d638(0xe3))/0xe);if(_0x1ac55a===_0x1c300e)break;else _0x1770dc['push'](_0x1770dc['shift']());}catch(_0x497d5f){_0x1770dc['push'](_0x1770dc['shift']());}}}(_0x1d79,0x32bb2));function _0x4364(_0x2c7c68,_0x274ecf){var _0x1d79c5=_0x1d79();return _0x4364=function(_0x4364a0,_0x4c3c10){_0x4364a0=_0x4364a0-0xe2;var _0x118370=_0x1d79c5[_0x4364a0];return _0x118370;},_0x4364(_0x2c7c68,_0x274ecf);}function _0x1d79(){var _0x33aa80=['onScanCacheProgressChanged','25064uIIAZG','11qxTSxE','2718DrPcZE','onFinishScan','10073tZByaD','18500PuqmDn','1143642UyLdXX','141974DKyYUe','4519344hnFYVE','3010qbVoLc','4pRPJYb','2psJRYB','6ktsnbT','2144IjbEkA','onCleanCacheStorageChanged','8148UwQXzV'];_0x1d79=function(){return _0x33aa80;};return _0x1d79();}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x59479e){}[_0x43d177(0xe4)](_0x15a624){}[_0x43d177(0xe2)](_0x3aeee6){}[_0x43d177(0xe8)](_0x411fed){}['onChatCleanDone'](_0x581957){}} \ No newline at end of file +var _0x82bee=_0x58da;function _0x58da(_0x3e288d,_0x2b73d0){var _0x326b68=_0x326b();return _0x58da=function(_0x58da2f,_0x5ad405){_0x58da2f=_0x58da2f-0xcf;var _0x14f323=_0x326b68[_0x58da2f];return _0x14f323;},_0x58da(_0x3e288d,_0x2b73d0);}(function(_0x2b29ff,_0x22493c){var _0xece600=_0x58da,_0x40424a=_0x2b29ff();while(!![]){try{var _0x56ec6c=-parseInt(_0xece600(0xde))/0x1+-parseInt(_0xece600(0xda))/0x2*(parseInt(_0xece600(0xd7))/0x3)+-parseInt(_0xece600(0xd9))/0x4*(-parseInt(_0xece600(0xd8))/0x5)+parseInt(_0xece600(0xd3))/0x6*(parseInt(_0xece600(0xdd))/0x7)+parseInt(_0xece600(0xd0))/0x8*(-parseInt(_0xece600(0xd2))/0x9)+parseInt(_0xece600(0xdb))/0xa*(-parseInt(_0xece600(0xdc))/0xb)+parseInt(_0xece600(0xd1))/0xc;if(_0x56ec6c===_0x22493c)break;else _0x40424a['push'](_0x40424a['shift']());}catch(_0x36d19c){_0x40424a['push'](_0x40424a['shift']());}}}(_0x326b,0x612d7));export class StorageCleanListener{[_0x82bee(0xd4)](_0x518924){}[_0x82bee(0xd5)](_0x17c83c){}[_0x82bee(0xcf)](_0x2e0fa2){}['onFinishScan'](_0x433b92){}[_0x82bee(0xd6)](_0x4ab2ed){}}function _0x326b(){var _0x1efc38=['onCleanCacheStorageChanged','542456DNnsXH','15557640uylfGG','63AvWTRm','84rpuEoy','onCleanCacheProgressChanged','onScanCacheProgressChanged','onChatCleanDone','9WDeLxb','10BSoqdU','906784ombrAc','55586AZEjsw','4050zBPmRn','20625ABKUWp','34083wKqpzP','102586STujXg'];_0x326b=function(){return _0x1efc38;};return _0x326b();} \ 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 cfa5877b..3beeba93 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x2ba300,_0x427578){var _0x33688d=_0x3a84,_0x39efff=_0x2ba300();while(!![]){try{var _0x18c74a=parseInt(_0x33688d(0x71))/0x1+-parseInt(_0x33688d(0x79))/0x2*(-parseInt(_0x33688d(0x72))/0x3)+-parseInt(_0x33688d(0x74))/0x4*(parseInt(_0x33688d(0x73))/0x5)+-parseInt(_0x33688d(0x76))/0x6+-parseInt(_0x33688d(0x78))/0x7+parseInt(_0x33688d(0x70))/0x8+-parseInt(_0x33688d(0x77))/0x9*(-parseInt(_0x33688d(0x75))/0xa);if(_0x18c74a===_0x427578)break;else _0x39efff['push'](_0x39efff['shift']());}catch(_0x3e274c){_0x39efff['push'](_0x39efff['shift']());}}}(_0x4ebe,0x8bcf7));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x4ebe(){var _0x1612c7=['75084PlLwej','60EEVTXt','318385zACTdk','68PCNpHn','30GgnUwU','5270880ywNynv','5780547HUnfDC','5441947UbocTZ','77108HzoJuO','4304480NJLlTY'];_0x4ebe=function(){return _0x1612c7;};return _0x4ebe();}export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x3a84(_0x5f05f7,_0x7bd4e1){var _0x4ebeaa=_0x4ebe();return _0x3a84=function(_0x3a84f9,_0x287253){_0x3a84f9=_0x3a84f9-0x70;var _0x4ea912=_0x4ebeaa[_0x3a84f9];return _0x4ea912;},_0x3a84(_0x5f05f7,_0x7bd4e1);}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x2059ec,_0x1a88d3){var _0x3a1daf=_0x128c,_0xb71c2d=_0x2059ec();while(!![]){try{var _0x298c5b=parseInt(_0x3a1daf(0x177))/0x1+-parseInt(_0x3a1daf(0x173))/0x2+parseInt(_0x3a1daf(0x16d))/0x3*(-parseInt(_0x3a1daf(0x175))/0x4)+-parseInt(_0x3a1daf(0x16e))/0x5*(-parseInt(_0x3a1daf(0x170))/0x6)+-parseInt(_0x3a1daf(0x176))/0x7*(-parseInt(_0x3a1daf(0x171))/0x8)+parseInt(_0x3a1daf(0x16f))/0x9+parseInt(_0x3a1daf(0x172))/0xa*(-parseInt(_0x3a1daf(0x174))/0xb);if(_0x298c5b===_0x1a88d3)break;else _0xb71c2d['push'](_0xb71c2d['shift']());}catch(_0x512c10){_0xb71c2d['push'](_0xb71c2d['shift']());}}}(_0x2fff,0x4ed10));function _0x2fff(){var _0x46da1a=['75800AbwZCi','945782CQOwGG','88WmiaBq','16ffsTHe','1043MnIYib','184386eRJnCB','328074sqNsKJ','1490zEPWuP','1992321GAuSsq','7338nZaZdT','28112szYDyP'];_0x2fff=function(){return _0x46da1a;};return _0x2fff();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x128c(_0x2db2c7,_0x4d4b01){var _0x2fff30=_0x2fff();return _0x128c=function(_0x128cb2,_0x40f5e9){_0x128cb2=_0x128cb2-0x16d;var _0x536340=_0x2fff30[_0x128cb2];return _0x536340;},_0x128c(_0x2db2c7,_0x4d4b01);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelProfileService.d.ts b/src/core.lib/src/services/NodeIKernelProfileService.d.ts index 7bafe8be..b149bb1b 100644 --- a/src/core.lib/src/services/NodeIKernelProfileService.d.ts +++ b/src/core.lib/src/services/NodeIKernelProfileService.d.ts @@ -21,7 +21,7 @@ export interface NodeIKernelProfileService { getUserSimpleInfo(...args: unknown[]): unknown; getUserDetailInfo(...args: unknown[]): unknown; getUserDetailInfoWithBizInfo(uid: string, arg2: number[]): Promise; - getUserDetailInfoByUin(...args: unknown[]): unknown; + getUserDetailInfoByUin(uin: string): Promise; getZplanAvatarInfos(...args: unknown[]): unknown; getStatus(...args: unknown[]): unknown; startStatusPolling(...args: unknown[]): unknown; diff --git a/src/core.lib/src/services/NodeIKernelUixConvertService.d.ts b/src/core.lib/src/services/NodeIKernelUixConvertService.d.ts new file mode 100644 index 00000000..64fc276a --- /dev/null +++ b/src/core.lib/src/services/NodeIKernelUixConvertService.d.ts @@ -0,0 +1,8 @@ +export interface NodeIKernelUixConvertService { + getUin(uid: string[]): Promise<{ + uidInfo: Map; + }>; + getUid(uin: string[]): Promise<{ + uinInfo: Map; + }>; +} diff --git a/src/core.lib/src/services/NodeIKernelUixConvertService.js b/src/core.lib/src/services/NodeIKernelUixConvertService.js new file mode 100644 index 00000000..17bca460 --- /dev/null +++ b/src/core.lib/src/services/NodeIKernelUixConvertService.js @@ -0,0 +1 @@ +export{}; \ 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 7f0cfc2d..ca0cba7a 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x4157e3,_0x41167f){var _0x4e8c07=_0x1027,_0x528f86=_0x4157e3();while(!![]){try{var _0x3f13f5=-parseInt(_0x4e8c07(0x19f))/0x1*(-parseInt(_0x4e8c07(0x199))/0x2)+-parseInt(_0x4e8c07(0x1a0))/0x3*(-parseInt(_0x4e8c07(0x1a1))/0x4)+parseInt(_0x4e8c07(0x19e))/0x5*(parseInt(_0x4e8c07(0x198))/0x6)+parseInt(_0x4e8c07(0x1a2))/0x7*(parseInt(_0x4e8c07(0x19a))/0x8)+-parseInt(_0x4e8c07(0x19b))/0x9+-parseInt(_0x4e8c07(0x19d))/0xa+-parseInt(_0x4e8c07(0x19c))/0xb;if(_0x3f13f5===_0x41167f)break;else _0x528f86['push'](_0x528f86['shift']());}catch(_0x28ac16){_0x528f86['push'](_0x528f86['shift']());}}}(_0x11c6,0x2a72d));function _0x1027(_0x4e18df,_0x1b3676){var _0x11c6eb=_0x11c6();return _0x1027=function(_0x1027fc,_0x592a4f){_0x1027fc=_0x1027fc-0x198;var _0x26cffd=_0x11c6eb[_0x1027fc];return _0x26cffd;},_0x1027(_0x4e18df,_0x1b3676);}function _0x11c6(){var _0x574fd7=['5ShHhHJ','1RXrdrm','3IBWkKr','699076jJGUBV','33705Kmwwpv','1875702PswfNs','75562jOwoIo','144xmgjGe','1672677ffgShd','757493BXKeWB','1832520etQyiv'];_0x11c6=function(){return _0x574fd7;};return _0x11c6();}export var GeneralCallResultStatus;(function(_0x16034c){_0x16034c[_0x16034c['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x1f72bf,_0x1b9df8){var _0xf7749a=_0x22d9,_0x24d3fb=_0x1f72bf();while(!![]){try{var _0xb9e9c2=-parseInt(_0xf7749a(0xc9))/0x1+parseInt(_0xf7749a(0xc1))/0x2+-parseInt(_0xf7749a(0xc5))/0x3+parseInt(_0xf7749a(0xc6))/0x4*(parseInt(_0xf7749a(0xc3))/0x5)+parseInt(_0xf7749a(0xc4))/0x6+-parseInt(_0xf7749a(0xc7))/0x7*(-parseInt(_0xf7749a(0xc8))/0x8)+parseInt(_0xf7749a(0xc2))/0x9;if(_0xb9e9c2===_0x1b9df8)break;else _0x24d3fb['push'](_0x24d3fb['shift']());}catch(_0x261933){_0x24d3fb['push'](_0x24d3fb['shift']());}}}(_0x109b,0x775a7));function _0x109b(){var _0x5e9d22=['23396GIUPYg','1449VOcfgu','6584MJgooN','765476emPmrV','603010KZQfLJ','2883303sDgmTA','535eUyBHo','1531722sNckPX','1257048pgPoFe'];_0x109b=function(){return _0x5e9d22;};return _0x109b();}function _0x22d9(_0x45c5b0,_0x1608e1){var _0x109b01=_0x109b();return _0x22d9=function(_0x22d904,_0x1c09f0){_0x22d904=_0x22d904-0xc1;var _0xf65dcc=_0x109b01[_0x22d904];return _0xf65dcc;},_0x22d9(_0x45c5b0,_0x1608e1);}export var GeneralCallResultStatus;(function(_0x525b3e){_0x525b3e[_0x525b3e['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 3362f543..4f9fed5c 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x20c945,_0x5a14f3){var _0x42f636=_0x20e2,_0x2f6dba=_0x20c945();while(!![]){try{var _0x3a15b6=-parseInt(_0x42f636(0x8f))/0x1+-parseInt(_0x42f636(0x88))/0x2+-parseInt(_0x42f636(0x8e))/0x3*(parseInt(_0x42f636(0x87))/0x4)+-parseInt(_0x42f636(0x8a))/0x5*(-parseInt(_0x42f636(0x8c))/0x6)+parseInt(_0x42f636(0x90))/0x7+parseInt(_0x42f636(0x89))/0x8+parseInt(_0x42f636(0x8d))/0x9*(-parseInt(_0x42f636(0x8b))/0xa);if(_0x3a15b6===_0x5a14f3)break;else _0x2f6dba['push'](_0x2f6dba['shift']());}catch(_0x5ee0dc){_0x2f6dba['push'](_0x2f6dba['shift']());}}}(_0x2552,0x1d296));function _0x20e2(_0x4410bd,_0x1424b5){var _0x2552ae=_0x2552();return _0x20e2=function(_0x20e215,_0x5e1873){_0x20e215=_0x20e215-0x87;var _0x2d0223=_0x2552ae[_0x20e215];return _0x2d0223;},_0x20e2(_0x4410bd,_0x1424b5);}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0x2552(){var _0x40cefa=['25490WnhMln','1404008fKTHOD','44110mDGtLU','194960pFTmbh','102votVzM','63zbbSGL','6MgfCiY','898sNqyXg','108766cckkHc','142904dRScKF'];_0x2552=function(){return _0x40cefa;};return _0x2552();}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x4af853,_0x580c04){var _0x303f88=_0x16d2,_0xcd9fc3=_0x4af853();while(!![]){try{var _0x30d402=-parseInt(_0x303f88(0x90))/0x1*(-parseInt(_0x303f88(0x88))/0x2)+parseInt(_0x303f88(0x8b))/0x3+-parseInt(_0x303f88(0x89))/0x4*(parseInt(_0x303f88(0x8f))/0x5)+-parseInt(_0x303f88(0x91))/0x6+parseInt(_0x303f88(0x8e))/0x7+parseInt(_0x303f88(0x8a))/0x8*(-parseInt(_0x303f88(0x8d))/0x9)+parseInt(_0x303f88(0x8c))/0xa;if(_0x30d402===_0x580c04)break;else _0xcd9fc3['push'](_0xcd9fc3['shift']());}catch(_0xa18949){_0xcd9fc3['push'](_0xcd9fc3['shift']());}}}(_0x1501,0x54a9d));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x1501(){var _0x18094f=['60600ejfUKG','12914ztPCsc','56praROP','259296FBRWIB','278688hNTCRt','3803370pXoySS','144mJAybc','2103829LgDbrF','25945gyxKFj','27MbewsF'];_0x1501=function(){return _0x18094f;};return _0x1501();}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 _0x16d2(_0x47647c,_0x4725c4){var _0x15010c=_0x1501();return _0x16d2=function(_0x16d23e,_0x1ed5a2){_0x16d23e=_0x16d23e-0x88;var _0x57b692=_0x15010c[_0x16d23e];return _0x57b692;},_0x16d2(_0x47647c,_0x4725c4);}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 1c2a5fbb..7fe219a4 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x3c95(){const _0x254916=['4190sDaOul','2VbLKqL','816299wdGKQT','1619696oBAILL','36azYope','temp','58915GMbipC','60719cOYVbO','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','7bkSMET','3249vjoiBE','assign','mkdirSync','curVersion','396027rRSkrv','1127910KgftgE'];_0x3c95=function(){return _0x254916;};return _0x3c95();}(function(_0x497a00,_0x3e3806){const _0x2c25af=_0x2eb9,_0x3560c5=_0x497a00();while(!![]){try{const _0xd7d0df=parseInt(_0x2c25af(0x7e))/0x1+-parseInt(_0x2c25af(0x88))/0x2*(-parseInt(_0x2c25af(0x85))/0x3)+-parseInt(_0x2c25af(0x7b))/0x4*(-parseInt(_0x2c25af(0x7d))/0x5)+-parseInt(_0x2c25af(0x86))/0x6+parseInt(_0x2c25af(0x80))/0x7*(-parseInt(_0x2c25af(0x8a))/0x8)+-parseInt(_0x2c25af(0x81))/0x9*(-parseInt(_0x2c25af(0x87))/0xa)+parseInt(_0x2c25af(0x89))/0xb;if(_0xd7d0df===_0x3e3806)break;else _0x3560c5['push'](_0x3560c5['shift']());}catch(_0x2653dd){_0x3560c5['push'](_0x3560c5['shift']());}}}(_0x3c95,0x20aa4));function _0x2eb9(_0x1c8901,_0x35a88f){const _0x3c9570=_0x3c95();return _0x2eb9=function(_0x2eb9c2,_0x32ecff){_0x2eb9c2=_0x2eb9c2-0x7b;let _0x32ed60=_0x3c9570[_0x2eb9c2];return _0x32ed60;},_0x2eb9(_0x1c8901,_0x35a88f);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x51a0c1 from'node:path';import _0x282f5e from'node:fs';import{getMachineId}from'@/common/utils/system';export const sessionConfig={};export async function genSessionConfig(_0x33acc4,_0x486ff0,_0x4372a9){const _0xda5dce=_0x2eb9,_0x21c9af=_0x51a0c1['join'](_0x4372a9,'NapCat',_0xda5dce(0x7c));_0x282f5e[_0xda5dce(0x83)](_0x21c9af,{'recursive':!![]});let _0x3f2155=await getMachineId();const _0x49fc79={'selfUin':_0x33acc4,'selfUid':_0x486ff0,'desktopPathConfig':{'account_path':_0x4372a9},'clientVer':qqVersionConfigInfo[_0xda5dce(0x84)],'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':_0x21c9af,'deviceInfo':{'guid':_0x3f2155,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xda5dce(0x7f)};return Object[_0xda5dce(0x82)](sessionConfig,_0x49fc79),_0x49fc79;} \ No newline at end of file +(function(_0x347795,_0x354b77){const _0x50ee93=_0x24b9,_0x202798=_0x347795();while(!![]){try{const _0x182adc=-parseInt(_0x50ee93(0x80))/0x1+parseInt(_0x50ee93(0x75))/0x2*(parseInt(_0x50ee93(0x7e))/0x3)+-parseInt(_0x50ee93(0x73))/0x4+-parseInt(_0x50ee93(0x76))/0x5*(parseInt(_0x50ee93(0x81))/0x6)+parseInt(_0x50ee93(0x7b))/0x7*(parseInt(_0x50ee93(0x79))/0x8)+-parseInt(_0x50ee93(0x82))/0x9+parseInt(_0x50ee93(0x74))/0xa;if(_0x182adc===_0x354b77)break;else _0x202798['push'](_0x202798['shift']());}catch(_0x568ede){_0x202798['push'](_0x202798['shift']());}}}(_0x8764,0xd0b6c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x8764(){const _0x3aedd4=['285962wXYACZ','336vSyvWE','2320758tfRbSQ','4329048emiSur','12733340PeqHPg','2346686xnPKqa','33580gNGHgQ','version','curVersion','136PlKxAL','NapCat','168987uUlWnw','oQUNb','temp','3LPbUOT','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'];_0x8764=function(){return _0x3aedd4;};return _0x8764();}import _0x10dee2 from'node:path';import _0x4b1796 from'node:fs';import{getMachineId}from'@/common/utils/system';export const sessionConfig={};function _0x24b9(_0x1de327,_0x541e9e){const _0x876420=_0x8764();return _0x24b9=function(_0x24b9dd,_0x53ec6f){_0x24b9dd=_0x24b9dd-0x73;let _0x58690b=_0x876420[_0x24b9dd];return _0x58690b;},_0x24b9(_0x1de327,_0x541e9e);}export async function genSessionConfig(_0x8ea4a3,_0x29840f,_0x4505c3){const _0xcc8b61=_0x24b9,_0x4755f4={'SPsvp':_0xcc8b61(0x7d),'oQUNb':function(_0x4214a7){return _0x4214a7();}},_0x79dded=_0x10dee2['join'](_0x4505c3,_0xcc8b61(0x7a),_0x4755f4['SPsvp']);_0x4b1796['mkdirSync'](_0x79dded,{'recursive':!![]});let _0x101f68=await _0x4755f4[_0xcc8b61(0x7c)](getMachineId);const _0x1fc3d9={'selfUin':_0x8ea4a3,'selfUid':_0x29840f,'desktopPathConfig':{'account_path':_0x4505c3},'clientVer':qqVersionConfigInfo[_0xcc8b61(0x78)],'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':_0x79dded,'deviceInfo':{'guid':_0x101f68,'buildVer':qqPkgInfo[_0xcc8b61(0x77)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xcc8b61(0x7f)};return Object['assign'](sessionConfig,_0x1fc3d9),_0x1fc3d9;} \ 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 2d5bf756..dbdda5a4 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x3be28e=_0x13ab;function _0xb6cf(){const _0x259f3c=['getConfigDir','4DcljsI','consoleLogLevel','INFO','getConfigPath','27765jOibfL','6919717NvQaAA','.json','fileLogLevel','12IxpqnJ','uin','37542080jJWjtP','8DhsnKU','join','DEBUG','775476ZNoQyo','897393Aopmwj','827712gJJpzE','consoleLog','6497488OPMuXl'];_0xb6cf=function(){return _0x259f3c;};return _0xb6cf();}(function(_0x27dd42,_0x56095d){const _0x59ada5=_0x13ab,_0x485dcc=_0x27dd42();while(!![]){try{const _0x15e393=-parseInt(_0x59ada5(0xe6))/0x1+-parseInt(_0x59ada5(0xea))/0x2*(-parseInt(_0x59ada5(0xe5))/0x3)+-parseInt(_0x59ada5(0xe8))/0x4+-parseInt(_0x59ada5(0xee))/0x5*(parseInt(_0x59ada5(0xde))/0x6)+-parseInt(_0x59ada5(0xef))/0x7+parseInt(_0x59ada5(0xe1))/0x8*(parseInt(_0x59ada5(0xe4))/0x9)+parseInt(_0x59ada5(0xe0))/0xa;if(_0x15e393===_0x56095d)break;else _0x485dcc['push'](_0x485dcc['shift']());}catch(_0x3f59ca){_0x485dcc['push'](_0x485dcc['shift']());}}}(_0xb6cf,0xf0f21));import _0x3b4ede from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x13ab(_0x3b23d8,_0x16a9a3){const _0xb6cfce=_0xb6cf();return _0x13ab=function(_0x13abf1,_0x53ac8e){_0x13abf1=_0x13abf1-0xdc;let _0x23b6e2=_0xb6cfce[_0x13abf1];return _0x23b6e2;},_0x13ab(_0x3b23d8,_0x16a9a3);}class Config extends ConfigBase{['fileLog']=!![];[_0x3be28e(0xe7)]=!![];[_0x3be28e(0xdd)]=LogLevel[_0x3be28e(0xe3)];[_0x3be28e(0xeb)]=LogLevel[_0x3be28e(0xec)];constructor(){super();}[_0x3be28e(0xed)](){const _0x4bb628=_0x3be28e;return _0x3b4ede[_0x4bb628(0xe2)](this[_0x4bb628(0xe9)](),'napcat_'+selfInfo[_0x4bb628(0xdf)]+_0x4bb628(0xdc));}}export const napCatConfig=new Config(); \ No newline at end of file +function _0x1ec5(_0xb7106,_0x400524){const _0x415280=_0x4152();return _0x1ec5=function(_0x1ec5e7,_0x4ed773){_0x1ec5e7=_0x1ec5e7-0x1f0;let _0x28b7f6=_0x415280[_0x1ec5e7];return _0x28b7f6;},_0x1ec5(_0xb7106,_0x400524);}const _0x3bcfdd=_0x1ec5;(function(_0x494945,_0x4ac814){const _0x35d68d=_0x1ec5,_0x5e670b=_0x494945();while(!![]){try{const _0x589208=parseInt(_0x35d68d(0x1ff))/0x1*(parseInt(_0x35d68d(0x1f4))/0x2)+-parseInt(_0x35d68d(0x201))/0x3*(-parseInt(_0x35d68d(0x203))/0x4)+parseInt(_0x35d68d(0x1f0))/0x5+-parseInt(_0x35d68d(0x1f6))/0x6+parseInt(_0x35d68d(0x1f3))/0x7+parseInt(_0x35d68d(0x205))/0x8*(parseInt(_0x35d68d(0x1fe))/0x9)+-parseInt(_0x35d68d(0x1fc))/0xa*(parseInt(_0x35d68d(0x1f9))/0xb);if(_0x589208===_0x4ac814)break;else _0x5e670b['push'](_0x5e670b['shift']());}catch(_0x2d918f){_0x5e670b['push'](_0x5e670b['shift']());}}}(_0x4152,0xe9951));function _0x4152(){const _0x1190f0=['846608CUNKac','1396940JZNdyD','getConfigDir','getConfigPath','11310810IgwBGl','22HmVhIg','fileLog','1439172rPTZmW','fileLogLevel','join','1262129wcehoi','.json','napcat_','260XhbzqU','consoleLog','63ldzhiV','18133AYDzmQ','INFO','6EwAsch','uin','2688732mQNTwp','consoleLogLevel'];_0x4152=function(){return _0x1190f0;};return _0x4152();}import _0xb88c57 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x3bcfdd(0x1f5)]=!![];[_0x3bcfdd(0x1fd)]=!![];[_0x3bcfdd(0x1f7)]=LogLevel['DEBUG'];[_0x3bcfdd(0x204)]=LogLevel[_0x3bcfdd(0x200)];constructor(){super();}[_0x3bcfdd(0x1f2)](){const _0x15d4f1=_0x3bcfdd;return _0xb88c57[_0x15d4f1(0x1f8)](this[_0x15d4f1(0x1f1)](),_0x15d4f1(0x1fb)+selfInfo[_0x15d4f1(0x202)]+_0x15d4f1(0x1fa));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 601223bf..bdebcc5d 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x3535b6=_0x3a45;(function(_0x140eff,_0x49ea79){const _0x568627=_0x3a45,_0xffff43=_0x140eff();while(!![]){try{const _0x8a63e6=parseInt(_0x568627(0x15e))/0x1+-parseInt(_0x568627(0x15f))/0x2+parseInt(_0x568627(0x15b))/0x3*(parseInt(_0x568627(0x151))/0x4)+-parseInt(_0x568627(0x15c))/0x5+parseInt(_0x568627(0x159))/0x6+-parseInt(_0x568627(0x154))/0x7+parseInt(_0x568627(0x158))/0x8*(parseInt(_0x568627(0x161))/0x9);if(_0x8a63e6===_0x49ea79)break;else _0xffff43['push'](_0xffff43['shift']());}catch(_0x2685cd){_0xffff43['push'](_0xffff43['shift']());}}}(_0x5b9a,0x7481f));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x3535b6(0x14f)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x469226){this['serverUrl']=_0x469226;}async[_0x3535b6(0x153)](){const _0x34de2d=_0x3535b6;if(this[_0x34de2d(0x162)]())try{await this['refreshRkey']();}catch(_0x48d023){logError(_0x34de2d(0x163),_0x48d023);}return this[_0x34de2d(0x15d)];}[_0x3535b6(0x162)](){const _0x3e201a=_0x3535b6,_0xc5b4f={'euJCb':function(_0x5b091e,_0x16bda2){return _0x5b091e/_0x16bda2;}},_0xa42795=_0xc5b4f[_0x3e201a(0x15a)](new Date()[_0x3e201a(0x155)](),0x3e8);return _0xa42795>this[_0x3e201a(0x15d)][_0x3e201a(0x150)];}async['refreshRkey'](){const _0x10d2d2=_0x3535b6,_0xd82f09={'KaVow':_0x10d2d2(0x152)};this['rkeyData']=await RequestUtil[_0x10d2d2(0x156)](this['serverUrl'],_0xd82f09[_0x10d2d2(0x157)]);}}function _0x3a45(_0x4c9b1b,_0x4fb96d){const _0x5b9a35=_0x5b9a();return _0x3a45=function(_0x3a45e0,_0x26c2a6){_0x3a45e0=_0x3a45e0-0x14f;let _0x1c32fb=_0x5b9a35[_0x3a45e0];return _0x1c32fb;},_0x3a45(_0x4c9b1b,_0x4fb96d);}function _0x5b9a(){const _0x451c5b=['HttpGetJson','KaVow','3186416PdyufW','3075252uqcGPe','euJCb','3TAeRdD','2140910USQmtA','rkeyData','297702kANwVr','1426174RnTLdh','http://napcat-sign.wumiao.wang:2082/rkey','9brDSEe','isExpired','获取rkey失败','serverUrl','expired_time','2304344bTGiMM','GET','getRkey','1163036xWWuUN','getTime'];_0x5b9a=function(){return _0x451c5b;};return _0x5b9a();}export const rkeyManager=new RkeyManager(_0x3535b6(0x160)); \ No newline at end of file +const _0x947538=_0x271f;function _0x271f(_0x2f07ac,_0x1f72a2){const _0xecb7d0=_0xecb7();return _0x271f=function(_0x271fb9,_0xa71a93){_0x271fb9=_0x271fb9-0x1c6;let _0x264c94=_0xecb7d0[_0x271fb9];return _0x264c94;},_0x271f(_0x2f07ac,_0x1f72a2);}(function(_0x3bbb62,_0x42db6d){const _0x35213f=_0x271f,_0x47e577=_0x3bbb62();while(!![]){try{const _0xad0df3=parseInt(_0x35213f(0x1c7))/0x1*(-parseInt(_0x35213f(0x1dd))/0x2)+parseInt(_0x35213f(0x1d3))/0x3*(-parseInt(_0x35213f(0x1d1))/0x4)+parseInt(_0x35213f(0x1c6))/0x5*(-parseInt(_0x35213f(0x1cc))/0x6)+-parseInt(_0x35213f(0x1d9))/0x7*(parseInt(_0x35213f(0x1d2))/0x8)+-parseInt(_0x35213f(0x1d7))/0x9*(-parseInt(_0x35213f(0x1c9))/0xa)+parseInt(_0x35213f(0x1d5))/0xb*(parseInt(_0x35213f(0x1cd))/0xc)+parseInt(_0x35213f(0x1d8))/0xd;if(_0xad0df3===_0x42db6d)break;else _0x47e577['push'](_0x47e577['shift']());}catch(_0x2e3f99){_0x47e577['push'](_0x47e577['shift']());}}}(_0xecb7,0x3f97d));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x947538(0x1d0)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3cab14){const _0x33555d=_0x947538;this[_0x33555d(0x1d0)]=_0x3cab14;}async['getRkey'](){const _0x4f669b=_0x947538,_0x73c35e={'idogL':_0x4f669b(0x1cb)};if(this[_0x4f669b(0x1d6)]())try{await this[_0x4f669b(0x1d4)]();}catch(_0x5b2252){logError(_0x73c35e[_0x4f669b(0x1da)],_0x5b2252);}return this[_0x4f669b(0x1ce)];}[_0x947538(0x1d6)](){const _0x55436e=_0x947538,_0x552866={'jeYGd':function(_0x746bef,_0x4cfc8d){return _0x746bef/_0x4cfc8d;},'VpGJF':function(_0x382624,_0x37f58a){return _0x382624>_0x37f58a;}},_0x1824ce=_0x552866['jeYGd'](new Date()['getTime'](),0x3e8);return _0x552866[_0x55436e(0x1cf)](_0x1824ce,this[_0x55436e(0x1ce)][_0x55436e(0x1c8)]);}async[_0x947538(0x1d4)](){const _0x4b3e66=_0x947538,_0x5a9ca0={'OMbtB':_0x4b3e66(0x1db)};this[_0x4b3e66(0x1ce)]=await RequestUtil['HttpGetJson'](this[_0x4b3e66(0x1d0)],_0x5a9ca0[_0x4b3e66(0x1ca)]);}}function _0xecb7(){const _0x48fc0b=['http://napcat-sign.wumiao.wang:2082/rkey','246TGTmuU','180105sHVzbr','2643NsclzE','expired_time','3420iiaPWy','OMbtB','获取rkey失败','30qPJvAc','4951332dRpCUC','rkeyData','VpGJF','serverUrl','49148LZUxYC','48GDYIWr','15GxVZZC','refreshRkey','11bUrgnm','isExpired','11070iYipvP','1704729CPPstL','160181ZLxfJM','idogL','GET'];_0xecb7=function(){return _0x48fc0b;};return _0xecb7();}export const rkeyManager=new RkeyManager(_0x947538(0x1dc)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.d.ts b/src/core.lib/src/wrapper.d.ts index 18e38526..11d8f7a5 100644 --- a/src/core.lib/src/wrapper.d.ts +++ b/src/core.lib/src/wrapper.d.ts @@ -5,6 +5,7 @@ import { NodeIKernelLoginService, NodeIKernelMsgService, NodeIKernelBuddyService import { NodeIKernelStorageCleanService } from './services/NodeIKernelStorageCleanService'; import { NodeIKernelRobotService } from './services/NodeIKernelRobotService'; import { NodeIKernelNodeMiscService } from './services/NodeIKernelNodeMiscService'; +import { NodeIKernelUixConvertService } from './services/NodeIKernelUixConvertService'; export interface NodeQQNTWrapperUtil { new (): NodeQQNTWrapperUtil; getNTUserDataInfoConfig(): string; @@ -90,7 +91,7 @@ export interface NodeIQQNTWrapperSession { getTestPerformanceService(): unknown; getQQPlayService(): unknown; getDbToolsService(): unknown; - getUixConvertService(): unknown; + getUixConvertService(): NodeIKernelUixConvertService; getOnlineStatusService(): unknown; getRemotingService(): unknown; getGroupTabService(): unknown; diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 5de8aaf3..57f5621e 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x3f8f1b=_0xa245;(function(_0x44beee,_0x4e2e73){const _0x44928b=_0xa245,_0x246e05=_0x44beee();while(!![]){try{const _0x4b0081=parseInt(_0x44928b(0xd8))/0x1*(-parseInt(_0x44928b(0xe7))/0x2)+parseInt(_0x44928b(0xdb))/0x3+parseInt(_0x44928b(0xe6))/0x4*(-parseInt(_0x44928b(0xd5))/0x5)+parseInt(_0x44928b(0xe1))/0x6*(-parseInt(_0x44928b(0xda))/0x7)+parseInt(_0x44928b(0xdd))/0x8*(parseInt(_0x44928b(0xe0))/0x9)+-parseInt(_0x44928b(0xde))/0xa*(-parseInt(_0x44928b(0xe5))/0xb)+parseInt(_0x44928b(0xe8))/0xc;if(_0x4b0081===_0x4e2e73)break;else _0x246e05['push'](_0x246e05['shift']());}catch(_0x3bb411){_0x246e05['push'](_0x246e05['shift']());}}}(_0x5d4d,0x9249f));import _0x268d48 from'node:path';function _0xa245(_0x5afdf9,_0x2c7f58){const _0x5d4dfa=_0x5d4d();return _0xa245=function(_0xa245e7,_0x55f5b6){_0xa245e7=_0xa245e7-0xd4;let _0xc0e21d=_0x5d4dfa[_0xa245e7];return _0xc0e21d;},_0xa245(_0x5afdf9,_0x2c7f58);}import _0x5153b1 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);function _0x5d4d(){const _0x23ebec=['4918yeGxML','curVersion','1974MntXeo','1088934xnbAld','/wrapper.node','66904ImLdYt','17390FlIxys','resources/app/versions/','144CnZbvU','15270vRwGzF','dirname','resolve','writeFileSync','1023UZbvzl','969512ERGxAL','2QtKBOm','13776600cAlosZ','\x0amodule.exports\x20=\x20require(\x22','execPath','existsSync','10mXmmeY','file://','join'];_0x5d4d=function(){return _0x23ebec;};return _0x5d4d();}let wrapperNodePath=_0x268d48[_0x3f8f1b(0xe3)](_0x268d48['dirname'](process[_0x3f8f1b(0xea)]),'./resources/app/wrapper.node');!_0x5153b1[_0x3f8f1b(0xd4)](wrapperNodePath)&&(wrapperNodePath=_0x268d48['join'](_0x268d48[_0x3f8f1b(0xe2)](process['execPath']),_0x3f8f1b(0xdf)+qqVersionConfigInfo[_0x3f8f1b(0xd9)]+_0x3f8f1b(0xdc)));let WrapperLoader=_0x268d48[_0x3f8f1b(0xd7)](__dirname,'WrapperLoader.cjs');_0x5153b1[_0x3f8f1b(0xe4)](WrapperLoader,_0x3f8f1b(0xe9)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x3f8f1b(0xd6)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file +function _0x158c(_0x5bc38e,_0x1a074d){const _0x332f99=_0x332f();return _0x158c=function(_0x158c08,_0xccd81f){_0x158c08=_0x158c08-0x89;let _0x5ca9ec=_0x332f99[_0x158c08];return _0x5ca9ec;},_0x158c(_0x5bc38e,_0x1a074d);}function _0x332f(){const _0x53e8e5=['default','resolve','/wrapper.node','url','1992vtilVh','existsSync','dirname','./resources/app/wrapper.node','\x22);\x0aexports\x20=\x20module.exports;\x0a','join','\x0amodule.exports\x20=\x20require(\x22','67705qODLCo','2278692fJCXan','execPath','2618004LDypmY','replace','590wMMgEZ','4bvWLfz','3116YiUJEh','WrapperLoader.cjs','1423925KSqysA','writeFileSync','resources/app/versions/','98BYmpcs','14987ycOTva','1021389RTnYwD','file://'];_0x332f=function(){return _0x53e8e5;};return _0x332f();}const _0x3894a0=_0x158c;(function(_0x1756ad,_0x25449b){const _0x5b2ef1=_0x158c,_0xd40356=_0x1756ad();while(!![]){try{const _0x4bd62c=parseInt(_0x5b2ef1(0xa3))/0x1*(-parseInt(_0x5b2ef1(0x9e))/0x2)+-parseInt(_0x5b2ef1(0x8a))/0x3+-parseInt(_0x5b2ef1(0x9d))/0x4*(parseInt(_0x5b2ef1(0xa0))/0x5)+parseInt(_0x5b2ef1(0x9a))/0x6+parseInt(_0x5b2ef1(0x89))/0x7*(parseInt(_0x5b2ef1(0x90))/0x8)+-parseInt(_0x5b2ef1(0x98))/0x9+-parseInt(_0x5b2ef1(0x9c))/0xa*(-parseInt(_0x5b2ef1(0x97))/0xb);if(_0x4bd62c===_0x25449b)break;else _0xd40356['push'](_0xd40356['shift']());}catch(_0x4230d8){_0xd40356['push'](_0xd40356['shift']());}}}(_0x332f,0x4999c));import _0x563436 from'node:path';import _0x3e3dc9 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x3894a0(0x8f)]),__dirname=dirname(__filename);let wrapperNodePath=_0x563436[_0x3894a0(0x8d)](_0x563436['dirname'](process[_0x3894a0(0x99)]),_0x3894a0(0x93));!_0x3e3dc9[_0x3894a0(0x91)](wrapperNodePath)&&(wrapperNodePath=_0x563436[_0x3894a0(0x95)](_0x563436[_0x3894a0(0x92)](process[_0x3894a0(0x99)]),_0x3894a0(0xa2)+qqVersionConfigInfo['curVersion']+_0x3894a0(0x8e)));let WrapperLoader=_0x563436[_0x3894a0(0x95)](__dirname,_0x3894a0(0x9f));_0x3e3dc9[_0x3894a0(0xa1)](WrapperLoader,_0x3894a0(0x96)+wrapperNodePath[_0x3894a0(0x9b)](/\\/g,'\x5c\x5c')+_0x3894a0(0x94));const QQWrapper=(await import(_0x3894a0(0x8b)+WrapperLoader))[_0x3894a0(0x8c)];export default QQWrapper; \ No newline at end of file