diff --git a/docs/changelogs/CHANGELOG.v1.4.8.md b/docs/changelogs/CHANGELOG.v1.4.8.md index 1fec4340..51d555a9 100644 --- a/docs/changelogs/CHANGELOG.v1.4.8.md +++ b/docs/changelogs/CHANGELOG.v1.4.8.md @@ -4,6 +4,7 @@ QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361 ## 修复与优化 * 优化Guid的生成方式 +* 支持临时消息获取群来源 ## 新增与调整 diff --git a/src/core b/src/core index dda2a675..9939e877 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit dda2a6754c21c62ee3fdf8e639f23da9bb157cf1 +Subproject commit 9939e8771f77c2ff0a726676d8dedf6855ef710a diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 812504f7..1e3ce592 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0xa693df=_0x1a34;(function(_0x1dede1,_0x43bb7f){var _0xc9fc58=_0x1a34,_0x26082f=_0x1dede1();while(!![]){try{var _0x1d90ae=-parseInt(_0xc9fc58(0x11b))/0x1*(parseInt(_0xc9fc58(0x118))/0x2)+-parseInt(_0xc9fc58(0x119))/0x3+parseInt(_0xc9fc58(0x115))/0x4+-parseInt(_0xc9fc58(0x116))/0x5*(-parseInt(_0xc9fc58(0x113))/0x6)+parseInt(_0xc9fc58(0x11c))/0x7+-parseInt(_0xc9fc58(0x11a))/0x8+parseInt(_0xc9fc58(0x11d))/0x9;if(_0x1d90ae===_0x43bb7f)break;else _0x26082f['push'](_0x26082f['shift']());}catch(_0x4dba99){_0x26082f['push'](_0x26082f['shift']());}}}(_0x7016,0xb32c2));function _0x1a34(_0x38af2e,_0x433ca7){var _0x7016ae=_0x7016();return _0x1a34=function(_0x1a34cd,_0x31c3e1){_0x1a34cd=_0x1a34cd-0x112;var _0x4fb9d6=_0x7016ae[_0x1a34cd];return _0x4fb9d6;},_0x1a34(_0x38af2e,_0x433ca7);}export class DependsAdapter{[_0xa693df(0x114)](_0x1aca82,_0x2d19d6){}[_0xa693df(0x112)](_0xf261ac){}[_0xa693df(0x117)](_0x19c88b){}}function _0x7016(){var _0x1ae6c4=['2676009gDYVfo','4587570JOgKoL','onMSFSsoError','24MHkgcU','onMSFStatusChange','3817552IEcBWK','968530DLKgqJ','getGroupCode','2jcKbrz','1815156ePVNky','6578368zGdmiM','459991miPKEH'];_0x7016=function(){return _0x1ae6c4;};return _0x7016();} \ No newline at end of file +var _0x1061d1=_0x4744;(function(_0x2a10e0,_0x258add){var _0x50331b=_0x4744,_0x314614=_0x2a10e0();while(!![]){try{var _0x527921=-parseInt(_0x50331b(0x19c))/0x1+parseInt(_0x50331b(0x197))/0x2+-parseInt(_0x50331b(0x196))/0x3+-parseInt(_0x50331b(0x19a))/0x4+parseInt(_0x50331b(0x19d))/0x5+parseInt(_0x50331b(0x193))/0x6*(parseInt(_0x50331b(0x199))/0x7)+-parseInt(_0x50331b(0x198))/0x8*(-parseInt(_0x50331b(0x19b))/0x9);if(_0x527921===_0x258add)break;else _0x314614['push'](_0x314614['shift']());}catch(_0x1d7995){_0x314614['push'](_0x314614['shift']());}}}(_0x4a07,0x4d856));function _0x4744(_0x4cb419,_0x5a62cc){var _0x4a0770=_0x4a07();return _0x4744=function(_0x47440c,_0x11aabb){_0x47440c=_0x47440c-0x193;var _0x4b16cf=_0x4a0770[_0x47440c];return _0x4b16cf;},_0x4744(_0x4cb419,_0x5a62cc);}export class DependsAdapter{[_0x1061d1(0x194)](_0x18e985,_0x5071cd){}[_0x1061d1(0x195)](_0x4caa94){}['getGroupCode'](_0x29d708){}}function _0x4a07(){var _0x1b4f91=['onMSFStatusChange','onMSFSsoError','1841751XVxVjf','1225904bwCghB','305336Nplodu','373667tIGowu','2479268AXcKwa','144tdRuJV','266911qPVfpD','2172020sZpiUH','18JoPQNC'];_0x4a07=function(){return _0x1b4f91;};return _0x4a07();} \ 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 eed42c51..e6022bd6 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x29e4(_0x328f85,_0x237684){var _0x2e7960=_0x2e79();return _0x29e4=function(_0x29e46d,_0x3962ff){_0x29e46d=_0x29e46d-0xdf;var _0x47a1e1=_0x2e7960[_0x29e46d];return _0x47a1e1;},_0x29e4(_0x328f85,_0x237684);}var _0x4cda14=_0x29e4;function _0x2e79(){var _0x1eba73=['dispatchCallWithJson','802782fkbeXA','77416qKXIhD','115prumGV','dispatchCall','2091720ZQiExY','5847gxuZDw','2307732gNsABm','150pTMvRi','10659483DtPXFP','8454GNFRQh'];_0x2e79=function(){return _0x1eba73;};return _0x2e79();}(function(_0xa31e71,_0x41a69e){var _0x378dd4=_0x29e4,_0x56e38d=_0xa31e71();while(!![]){try{var _0x2d0389=-parseInt(_0x378dd4(0xe4))/0x1*(parseInt(_0x378dd4(0xe6))/0x2)+parseInt(_0x378dd4(0xe8))/0x3+parseInt(_0x378dd4(0xe0))/0x4*(-parseInt(_0x378dd4(0xe1))/0x5)+-parseInt(_0x378dd4(0xdf))/0x6+parseInt(_0x378dd4(0xe5))/0x7+-parseInt(_0x378dd4(0xe3))/0x8+parseInt(_0x378dd4(0xe7))/0x9;if(_0x2d0389===_0x41a69e)break;else _0x56e38d['push'](_0x56e38d['shift']());}catch(_0x31c2af){_0x56e38d['push'](_0x56e38d['shift']());}}}(_0x2e79,0x3a180));export class DispatcherAdapter{['dispatchRequest'](_0x50cefe){}[_0x4cda14(0xe2)](_0x1eaae0){}[_0x4cda14(0xe9)](_0x2af1d7){}} \ No newline at end of file +function _0x1b0d(_0x227d16,_0x4d3a9c){var _0x5dfe5c=_0x5dfe();return _0x1b0d=function(_0x1b0d57,_0x10ae68){_0x1b0d57=_0x1b0d57-0x1d4;var _0x924160=_0x5dfe5c[_0x1b0d57];return _0x924160;},_0x1b0d(_0x227d16,_0x4d3a9c);}function _0x5dfe(){var _0x4aa4a5=['11743490LgOGHh','6fYiWVv','1958652lmRwYc','1522295TywOnC','4slQRPm','2ynonqR','dispatchCallWithJson','13923JmeQYX','2624251OrQgXp','437992HNmgdY','44447lZumsH','dispatchRequest','11WWcPBS'];_0x5dfe=function(){return _0x4aa4a5;};return _0x5dfe();}var _0x4ce69d=_0x1b0d;(function(_0x132232,_0x193157){var _0x37f43d=_0x1b0d,_0x21da6c=_0x132232();while(!![]){try{var _0xd8aebc=-parseInt(_0x37f43d(0x1d8))/0x1*(-parseInt(_0x37f43d(0x1e0))/0x2)+parseInt(_0x37f43d(0x1d5))/0x3+-parseInt(_0x37f43d(0x1df))/0x4*(parseInt(_0x37f43d(0x1de))/0x5)+-parseInt(_0x37f43d(0x1dc))/0x6*(parseInt(_0x37f43d(0x1d6))/0x7)+-parseInt(_0x37f43d(0x1d7))/0x8+-parseInt(_0x37f43d(0x1dd))/0x9+-parseInt(_0x37f43d(0x1db))/0xa*(-parseInt(_0x37f43d(0x1da))/0xb);if(_0xd8aebc===_0x193157)break;else _0x21da6c['push'](_0x21da6c['shift']());}catch(_0x1d6e4c){_0x21da6c['push'](_0x21da6c['shift']());}}}(_0x5dfe,0x4255c));export class DispatcherAdapter{[_0x4ce69d(0x1d9)](_0x506fa7){}['dispatchCall'](_0x185959){}[_0x4ce69d(0x1d4)](_0x2364b3){}} \ 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 ab4ad152..717069b4 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x4d85(_0x209774,_0x354ec7){var _0x5cc6f7=_0x5cc6();return _0x4d85=function(_0x4d85a8,_0x529002){_0x4d85a8=_0x4d85a8-0x1ae;var _0x38799f=_0x5cc6f7[_0x4d85a8];return _0x38799f;},_0x4d85(_0x209774,_0x354ec7);}var _0x241a1a=_0x4d85;(function(_0x33b866,_0x3a9e82){var _0x42656f=_0x4d85,_0x12b7fc=_0x33b866();while(!![]){try{var _0x2c5d23=parseInt(_0x42656f(0x1b9))/0x1*(-parseInt(_0x42656f(0x1b1))/0x2)+parseInt(_0x42656f(0x1b4))/0x3+-parseInt(_0x42656f(0x1b2))/0x4*(-parseInt(_0x42656f(0x1bf))/0x5)+parseInt(_0x42656f(0x1af))/0x6+parseInt(_0x42656f(0x1b0))/0x7*(-parseInt(_0x42656f(0x1ba))/0x8)+-parseInt(_0x42656f(0x1b8))/0x9*(parseInt(_0x42656f(0x1ae))/0xa)+-parseInt(_0x42656f(0x1bb))/0xb*(-parseInt(_0x42656f(0x1b5))/0xc);if(_0x2c5d23===_0x3a9e82)break;else _0x12b7fc['push'](_0x12b7fc['shift']());}catch(_0x1fe68f){_0x12b7fc['push'](_0x12b7fc['shift']());}}}(_0x5cc6,0x521d4));function _0x5cc6(){var _0x10dc02=['onInstallFinished','9PaFaNH','631329SbwyaM','4544nbMPhr','22wDufar','onLog','fixPicImgType','onUpdateGeneralFlag','14335qYxvya','648710HBSGRk','1482828tUrYhA','595YvOkSi','2ydlAJm','92ndpTCR','getAppSetting','1751451NlLvBH','1103544WCGQde','onGetOfflineMsg'];_0x5cc6=function(){return _0x10dc02;};return _0x5cc6();}export class GlobalAdapter{[_0x241a1a(0x1bc)](..._0x165e62){}['onGetSrvCalTime'](..._0x2764f4){}['onShowErrUITips'](..._0x46018a){}[_0x241a1a(0x1bd)](..._0xd1922c){}[_0x241a1a(0x1b3)](..._0x37f54d){}[_0x241a1a(0x1b7)](..._0x5932c0){}[_0x241a1a(0x1be)](..._0x506854){}[_0x241a1a(0x1b6)](..._0x4c6643){}} \ No newline at end of file +function _0xd4f5(){var _0x60be0=['onLog','8298OZuKLh','onGetSrvCalTime','2775552oXZApV','2698084NlCzDa','31497YLyxAE','686599RSeFHu','6520318zyvnNL','246xOQOBY','onShowErrUITips','onGetOfflineMsg','4620bOOabS','fixPicImgType','getAppSetting','12911616aoxdne'];_0xd4f5=function(){return _0x60be0;};return _0xd4f5();}var _0xe4342=_0x586d;(function(_0x5ebfa4,_0x4f0141){var _0x768f7d=_0x586d,_0x1b212e=_0x5ebfa4();while(!![]){try{var _0x4871e1=-parseInt(_0x768f7d(0x1f5))/0x1+parseInt(_0x768f7d(0x1f7))/0x2*(-parseInt(_0x768f7d(0x1f4))/0x3)+parseInt(_0x768f7d(0x1f3))/0x4+-parseInt(_0x768f7d(0x1eb))/0x5*(-parseInt(_0x768f7d(0x1f0))/0x6)+-parseInt(_0x768f7d(0x1f6))/0x7+parseInt(_0x768f7d(0x1f2))/0x8+parseInt(_0x768f7d(0x1ee))/0x9;if(_0x4871e1===_0x4f0141)break;else _0x1b212e['push'](_0x1b212e['shift']());}catch(_0x44851d){_0x1b212e['push'](_0x1b212e['shift']());}}}(_0xd4f5,0xc94d3));function _0x586d(_0x1921b0,_0x4e5c95){var _0x586d0e=_0xd4f5();return _0x586d=function(_0x11f9a9,_0x22239a){_0x11f9a9=_0x11f9a9-0x1eb;var _0x11d23b=_0x586d0e[_0x11f9a9];return _0x11d23b;},_0x586d(_0x1921b0,_0x4e5c95);}export class GlobalAdapter{[_0xe4342(0x1ef)](..._0x46daa9){}[_0xe4342(0x1f1)](..._0x257496){}[_0xe4342(0x1f8)](..._0xc16111){}[_0xe4342(0x1ec)](..._0x379207){}[_0xe4342(0x1ed)](..._0x175a7b){}['onInstallFinished'](..._0x2ae097){}['onUpdateGeneralFlag'](..._0x1f5c0f){}[_0xe4342(0x1f9)](..._0xe292fd){}} \ 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 a052c2ed..a8cbd3b8 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x58f4(_0x2fdf6a,_0x33d4eb){var _0x29276f=_0x2927();return _0x58f4=function(_0x58f4c5,_0x239135){_0x58f4c5=_0x58f4c5-0xa5;var _0x294c=_0x29276f[_0x58f4c5];return _0x294c;},_0x58f4(_0x2fdf6a,_0x33d4eb);}(function(_0x1bda1c,_0xa727ad){var _0xe801d3=_0x58f4,_0x56ea6e=_0x1bda1c();while(!![]){try{var _0x4e455e=parseInt(_0xe801d3(0xa7))/0x1*(parseInt(_0xe801d3(0xac))/0x2)+parseInt(_0xe801d3(0xaf))/0x3*(parseInt(_0xe801d3(0xa9))/0x4)+parseInt(_0xe801d3(0xab))/0x5*(-parseInt(_0xe801d3(0xa5))/0x6)+-parseInt(_0xe801d3(0xa6))/0x7+parseInt(_0xe801d3(0xa8))/0x8*(-parseInt(_0xe801d3(0xaa))/0x9)+-parseInt(_0xe801d3(0xad))/0xa*(-parseInt(_0xe801d3(0xb1))/0xb)+-parseInt(_0xe801d3(0xae))/0xc*(-parseInt(_0xe801d3(0xb0))/0xd);if(_0x4e455e===_0xa727ad)break;else _0x56ea6e['push'](_0x56ea6e['shift']());}catch(_0x33696e){_0x56ea6e['push'](_0x56ea6e['shift']());}}}(_0x2927,0x72398));export*from'./NodeIDependsAdapter';function _0x2927(){var _0x45ab2e=['6jSfwdn','680qzbQxg','84YaCwqu','21PjxXqS','730366eyWXXx','73733RTyjDB','2178534tcblcP','1580831tRHklg','64459FQOdAi','40wEeREy','273620JWifXZ','182547UmBYUE','10KzBVLg'];_0x2927=function(){return _0x45ab2e;};return _0x2927();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +function _0x31d4(){var _0x1e9bcd=['1161711GrnywJ','770364ojnkYr','37430TJFjvw','5378744OUmIzf','1153566YVVucR','487480ZvAQjI','5vOFGyo','721301SMrTGj'];_0x31d4=function(){return _0x1e9bcd;};return _0x31d4();}(function(_0x5b1d31,_0x4d2e34){var _0x3a75fa=_0x1628,_0x38854b=_0x5b1d31();while(!![]){try{var _0x570c2a=-parseInt(_0x3a75fa(0x12b))/0x1+parseInt(_0x3a75fa(0x12a))/0x2+parseInt(_0x3a75fa(0x129))/0x3+-parseInt(_0x3a75fa(0x12e))/0x4*(parseInt(_0x3a75fa(0x12f))/0x5)+parseInt(_0x3a75fa(0x12d))/0x6+parseInt(_0x3a75fa(0x128))/0x7+-parseInt(_0x3a75fa(0x12c))/0x8;if(_0x570c2a===_0x4d2e34)break;else _0x38854b['push'](_0x38854b['shift']());}catch(_0x141178){_0x38854b['push'](_0x38854b['shift']());}}}(_0x31d4,0x39a30));export*from'./NodeIDependsAdapter';function _0x1628(_0x2a63b8,_0xf0be68){var _0x31d4d3=_0x31d4();return _0x1628=function(_0x162876,_0x2eb280){_0x162876=_0x162876-0x128;var _0x2cbab4=_0x31d4d3[_0x162876];return _0x2cbab4;},_0x1628(_0x2a63b8,_0xf0be68);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 10b21872..ad92b082 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x109239=_0x3e6a;(function(_0x2838a3,_0x2a716a){const _0x41e0f3=_0x3e6a,_0x5596f9=_0x2838a3();while(!![]){try{const _0x46fda6=parseInt(_0x41e0f3(0x1f7))/0x1*(parseInt(_0x41e0f3(0x1cf))/0x2)+-parseInt(_0x41e0f3(0x1c2))/0x3+-parseInt(_0x41e0f3(0x1b9))/0x4+-parseInt(_0x41e0f3(0x1ca))/0x5*(-parseInt(_0x41e0f3(0x1c0))/0x6)+-parseInt(_0x41e0f3(0x1ec))/0x7*(parseInt(_0x41e0f3(0x1db))/0x8)+parseInt(_0x41e0f3(0x1fa))/0x9*(-parseInt(_0x41e0f3(0x1d0))/0xa)+-parseInt(_0x41e0f3(0x1f5))/0xb*(-parseInt(_0x41e0f3(0x1b8))/0xc);if(_0x46fda6===_0x2a716a)break;else _0x5596f9['push'](_0x5596f9['shift']());}catch(_0x4ffe34){_0x5596f9['push'](_0x5596f9['shift']());}}}(_0x5d32,0x7fe41));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x524eb5 from'path';import _0x2a1894 from'fs';import _0x1ac1f7 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x201476 from'file-type';import{MsgListener}from'@/core/listeners';import _0x3b0564 from'image-size';function _0x5d32(){const _0x61d37f=['173200QOIMPN','getImageSize','RxhMo','getCacheSessionPathList','addCacheScanedPaths','startsWith','private_rkey','join','HLuDT','SMACq','setCacheSilentScan','toUpperCase','util','msgId','downloadMedia','图片url获取失败','existsSync','35KPYliG','delete','set','ext','/gchatpic_new/0/0-0-','eJbQI','xAptl','hotUpdate','XobtL','11GyGoin','getFileType','482KVesgq','qYbxe','indexOf','18gwRmdx','session','nclyB','getFileSize','gHuTT','20175852LQXQTh','440044NnWuXF','copyFile','fileTypeFromFile','getStorageCleanService','scanCache','/download','lspmz','2046NOkopx','EsvKn','1246017xWPjKq','getRkey','getChatCacheInfo','downloadRichMedia','getChatCacheList','unlink','vnsEJ','tmp','1450uCwqsz','uploadFile','fileUuid','bzLxv','addListener','1324bRelys','4709270mVncwZ','PIC','basename','getDesktopTmpPath','isbGg','IMZJW','originImageUrl','clearChatCacheInfo','clearCache','addCacheScannedPaths','getImageUrl'];_0x5d32=function(){return _0x61d37f;};return _0x5d32();}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();function _0x3e6a(_0x4ebd15,_0x5d5a4a){const _0x5d329c=_0x5d32();return _0x3e6a=function(_0x3e6aa3,_0x72e993){_0x3e6aa3=_0x3e6aa3-0x1b6;let _0x3d1c58=_0x5d329c[_0x3e6aa3];return _0x3d1c58;},_0x3e6a(_0x4ebd15,_0x5d5a4a);}downloadMediaListener['onRichMediaDownloadComplete']=_0x393f9a=>{const _0x666590=_0x3e6a,_0x10d00a={'RxhMo':function(_0x15ebcb,_0x3a7ccf){return _0x15ebcb(_0x3a7ccf);}};for(const [_0x3f3c76,_0x474a73]of downloadMediaTasks){_0x10d00a[_0x666590(0x1dd)](_0x474a73,_0x393f9a),downloadMediaTasks[_0x666590(0x1ed)](_0x3f3c76);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3879a9=_0x3e6a;napCatCore[_0x3879a9(0x1ce)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x109239(0x1f6)](_0x5beead){const _0x52e871=_0x109239;return _0x201476[_0x52e871(0x1bb)](_0x5beead);}static async[_0x109239(0x1ba)](_0x12424c,_0x20725f){const _0x2d1bf4=_0x109239;await napCatCore['util'][_0x2d1bf4(0x1ba)](_0x12424c,_0x20725f);}static async['getFileSize'](_0x3e0f4b){const _0x3edae4=_0x109239;return await napCatCore[_0x3edae4(0x1e7)][_0x3edae4(0x1b6)](_0x3e0f4b);}static async[_0x109239(0x1cb)](_0x36cb62,_0x345e4e=ElementType[_0x109239(0x1d1)],_0x277ca3=0x0){const _0x4a6b07=_0x109239,_0x541399={'isbGg':function(_0x2798f9,_0x19e1e3){return _0x2798f9+_0x19e1e3;},'eJbQI':function(_0x23c6fe,_0x5ae3e5){return _0x23c6fe===_0x5ae3e5;}},_0x27f1b2=await calculateFileMD5(_0x36cb62);let _0x343698=(await NTQQFileApi['getFileType'](_0x36cb62))?.[_0x4a6b07(0x1ef)]||'';_0x343698&&(_0x343698=_0x541399[_0x4a6b07(0x1d4)]('.',_0x343698));let _0x999ee4=''+_0x524eb5[_0x4a6b07(0x1d2)](_0x36cb62);_0x541399[_0x4a6b07(0x1f1)](_0x999ee4[_0x4a6b07(0x1f9)]('.'),-0x1)&&(_0x999ee4+=_0x343698);const _0x374963=napCatCore['session']['getMsgService']()['getRichMediaFilePathForGuild']({'md5HexStr':_0x27f1b2,'fileName':_0x999ee4,'elementType':_0x345e4e,'elementSubType':_0x277ca3,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x36cb62,_0x374963);const _0x31a363=await NTQQFileApi[_0x4a6b07(0x1b6)](_0x36cb62);return{'md5':_0x27f1b2,'fileName':_0x999ee4,'path':_0x374963,'fileSize':_0x31a363,'ext':_0x343698};}static async[_0x109239(0x1e9)](_0x3ecaec,_0x259421,_0x2eb17f,_0x13c267,_0x4d25ad,_0x1ea968,_0x518657=0x3e8*0x3c*0x2,_0x2756f9=![]){const _0x5448f0=_0x109239,_0x53498f={'qYbxe':function(_0xac8a48,_0x2bb002){return _0xac8a48===_0x2bb002;},'nclyB':function(_0x2d03f2,_0x1dbaaf){return _0x2d03f2(_0x1dbaaf);},'EsvKn':'下载超时','HLuDT':function(_0x59cc8a){return _0x59cc8a();},'igLuD':function(_0x5c814b,_0x149fac,_0x40b596){return _0x5c814b(_0x149fac,_0x40b596);}};if(_0x1ea968&&_0x2a1894[_0x5448f0(0x1eb)](_0x1ea968)){if(_0x2756f9)try{await _0x1ac1f7[_0x5448f0(0x1c7)](_0x1ea968);}catch(_0x19b794){}else return _0x1ea968;}return new Promise((_0x27bb08,_0x3833b7)=>{const _0x25bcb6=_0x5448f0;let _0x79b9e1=![];const _0x5dd12e=_0x37692e=>{const _0x4a215a=_0x3e6a;if(_0x53498f[_0x4a215a(0x1f8)](_0x37692e[_0x4a215a(0x1e8)],_0x3ecaec)){_0x79b9e1=!![];let _0x258d46=_0x37692e['filePath'];if(_0x258d46[_0x4a215a(0x1e0)]('\x5c')){const _0xbb05bc=sessionConfig['defaultFileDownloadPath'];_0x258d46=_0x524eb5[_0x4a215a(0x1e2)](_0xbb05bc,_0x258d46);}_0x53498f[_0x4a215a(0x1fc)](_0x27bb08,_0x258d46);}};downloadMediaTasks[_0x25bcb6(0x1ee)](_0x53498f[_0x25bcb6(0x1e3)](randomUUID),_0x5dd12e),_0x53498f['igLuD'](setTimeout,()=>{const _0x44888f=_0x25bcb6;!_0x79b9e1&&_0x53498f[_0x44888f(0x1fc)](_0x3833b7,_0x53498f[_0x44888f(0x1c1)]);},_0x518657),napCatCore[_0x25bcb6(0x1fb)]['getMsgService']()[_0x25bcb6(0x1c5)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3ecaec,'chatType':_0x259421,'peerUid':_0x2eb17f,'elementId':_0x13c267,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4d25ad});});}static async[_0x109239(0x1dc)](_0x3b42ce){const _0x2e68f4={'bzLxv':function(_0x5e9a6e,_0x3ba793){return _0x5e9a6e(_0x3ba793);},'UNxPL':function(_0x2d82ea,_0x478c17,_0xebc9a5){return _0x2d82ea(_0x478c17,_0xebc9a5);}};return new Promise((_0x492090,_0x2ac25e)=>{const _0x474011={'uyoro':function(_0x2dbcf0,_0x53b65a){return _0x2dbcf0(_0x53b65a);},'SMACq':function(_0xdc3ac2,_0x42bd95){const _0xd34593=_0x3e6a;return _0x2e68f4[_0xd34593(0x1cd)](_0xdc3ac2,_0x42bd95);}};_0x2e68f4['UNxPL'](_0x3b0564,_0x3b42ce,(_0x1dadfa,_0x5f33c8)=>{const _0x57bb48=_0x3e6a;_0x1dadfa?_0x474011['uyoro'](_0x2ac25e,_0x1dadfa):_0x474011[_0x57bb48(0x1e4)](_0x492090,_0x5f33c8);});});}static async[_0x109239(0x1da)](_0x1f7e74,_0x29e639){const _0x19753f=_0x109239,_0x45d12d={'lspmz':_0x19753f(0x1be),'IMZJW':'&rkey=','vnsEJ':function(_0x1dabd7,_0x47aa81){return _0x1dabd7+_0x47aa81;},'gHuTT':function(_0x4ad7e6,_0x4fa67b){return _0x4ad7e6||_0x4fa67b;},'xAptl':function(_0x70f201,_0x13d548,_0x16d895){return _0x70f201(_0x13d548,_0x16d895);},'XobtL':_0x19753f(0x1ea)};if(!_0x1f7e74)return'';const _0x1cc06c=_0x1f7e74[_0x19753f(0x1d6)],_0x3a67ce=_0x1f7e74['md5HexStr'],_0x23e802=_0x1f7e74['md5HexStr'],_0x2ca5b8=_0x1f7e74[_0x19753f(0x1cc)];if(_0x1cc06c){if(_0x1cc06c[_0x19753f(0x1e0)](_0x45d12d[_0x19753f(0x1bf)])){if(_0x1cc06c['includes'](_0x45d12d[_0x19753f(0x1d5)]))return _0x45d12d[_0x19753f(0x1c8)](IMAGE_HTTP_HOST_NT,_0x1cc06c);const _0x11e3c6=await rkeyManager[_0x19753f(0x1c3)](),_0x4d4b41=_0x29e639?_0x11e3c6[_0x19753f(0x1e1)]:_0x11e3c6['group_rkey'];return _0x45d12d[_0x19753f(0x1c8)](_0x45d12d[_0x19753f(0x1c8)](IMAGE_HTTP_HOST_NT,_0x1cc06c),''+_0x4d4b41);}else return _0x45d12d[_0x19753f(0x1c8)](IMAGE_HTTP_HOST,_0x1cc06c);}else{if(_0x45d12d[_0x19753f(0x1b7)](_0x23e802,_0x3a67ce))return IMAGE_HTTP_HOST+_0x19753f(0x1f0)+(_0x23e802||_0x3a67ce)[_0x19753f(0x1e6)]()+'/0';}return _0x45d12d[_0x19753f(0x1f2)](logDebug,_0x45d12d[_0x19753f(0x1f4)],_0x1f7e74),'';}}export class NTQQFileCacheApi{static async[_0x109239(0x1e5)](_0x1b85ec=!![]){return'';}static[_0x109239(0x1de)](){return'';}static[_0x109239(0x1d8)](_0x28dbd8=[_0x109239(0x1c9),_0x109239(0x1f3)]){const _0x1aac39=_0x109239;return napCatCore[_0x1aac39(0x1fb)][_0x1aac39(0x1bc)]()['clearCacheDataByKeys'](_0x28dbd8);}static[_0x109239(0x1d9)](_0x1e5d59={}){const _0x6e860c=_0x109239;return napCatCore[_0x6e860c(0x1fb)][_0x6e860c(0x1bc)]()[_0x6e860c(0x1df)](_0x1e5d59);}static[_0x109239(0x1bd)](){const _0x3362ee=_0x109239;return napCatCore['session'][_0x3362ee(0x1bc)]()['scanCache']();}static['getHotUpdateCachePath'](){return'';}static[_0x109239(0x1d3)](){return'';}static[_0x109239(0x1c6)](_0x2b6493,_0x45be62=0x3e8,_0x1b4d2d=0x0){const _0x2f479c=_0x109239;return napCatCore[_0x2f479c(0x1fb)][_0x2f479c(0x1bc)]()[_0x2f479c(0x1c4)](_0x2b6493,_0x45be62,0x1,_0x1b4d2d);}static['getFileCacheInfo'](_0x113ca7,_0x559067=0x3e8,_0x25f334){const _0x87010=_0x25f334?_0x25f334:{'fileType':_0x113ca7};}static async['clearChatCache'](_0x5c9e26=[],_0x256640=[]){const _0x39858f=_0x109239;return napCatCore[_0x39858f(0x1fb)][_0x39858f(0x1bc)]()[_0x39858f(0x1d7)](_0x5c9e26,_0x256640);}} \ No newline at end of file +const _0x338cc2=_0x4cbf;function _0x4a10(){const _0x50b43f=['delete','BEukc','join','getFileCacheInfo','mKhjt','2296383HWdJOV','private_rkey','existsSync','copyFile','clearChatCache','getDesktopTmpPath','ext','2743454sQhPGK','NuFEc','GFLAQ','PIC','getMsgService','set','getRichMediaFilePathForGuild','下载超时','util','indexOf','fileTypeFromFile','/gchatpic_new/0/0-0-','session','wMxXJ','图片url获取失败','getRkey','&rkey=','EtoRZ','unlink','toUpperCase','2561746bFXsdD','548711JeGIqB','yXoPG','8dOhtvL','includes','msgId','getHotUpdateCachePath','addCacheScanedPaths','5512870byXzVO','filePath','group_rkey','7385712ixDXNi','getStorageCleanService','addCacheScannedPaths','downloadRichMedia','clearCache','addListener','getFileSize','kTlvs','Itiwi','defaultFileDownloadPath','fileUuid','clearCacheDataByKeys','getChatCacheList','hotUpdate','scanCache','originImageUrl','oDOrH','fGtOS','9834376HmZsbu','uploadFile','setCacheSilentScan','getChatCacheInfo','getImageSize','downloadMedia'];_0x4a10=function(){return _0x50b43f;};return _0x4a10();}(function(_0x339db4,_0x1000c6){const _0x378487=_0x4cbf,_0x3d56b5=_0x339db4();while(!![]){try{const _0x5a4a44=parseInt(_0x378487(0x18f))/0x1+-parseInt(_0x378487(0x18e))/0x2+-parseInt(_0x378487(0x173))/0x3*(parseInt(_0x378487(0x191))/0x4)+parseInt(_0x378487(0x196))/0x5+parseInt(_0x378487(0x199))/0x6+-parseInt(_0x378487(0x17a))/0x7+parseInt(_0x378487(0x168))/0x8;if(_0x5a4a44===_0x1000c6)break;else _0x3d56b5['push'](_0x3d56b5['shift']());}catch(_0x2246e6){_0x3d56b5['push'](_0x3d56b5['shift']());}}}(_0x4a10,0xdda29));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2836a8 from'path';import _0x59f0e2 from'fs';import _0x5398ee from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x6e576f from'file-type';function _0x4cbf(_0x47feab,_0x54f40c){const _0x4a10f4=_0x4a10();return _0x4cbf=function(_0x4cbffe,_0x1b9827){_0x4cbffe=_0x4cbffe-0x164;let _0x35d29b=_0x4a10f4[_0x4cbffe];return _0x35d29b;},_0x4cbf(_0x47feab,_0x54f40c);}import{MsgListener}from'@/core/listeners';import _0x549715 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['onRichMediaDownloadComplete']=_0x288a63=>{const _0x2f7430=_0x4cbf;for(const [_0x2ea97e,_0x1ac338]of downloadMediaTasks){_0x1ac338(_0x288a63),downloadMediaTasks[_0x2f7430(0x16e)](_0x2ea97e);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x336bca=_0x4cbf;napCatCore[_0x336bca(0x19e)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x1983a3){const _0x2062ef=_0x4cbf;return _0x6e576f[_0x2062ef(0x184)](_0x1983a3);}static async['copyFile'](_0x4dcb63,_0x33c8dd){const _0x5552d4=_0x4cbf;await napCatCore[_0x5552d4(0x182)][_0x5552d4(0x176)](_0x4dcb63,_0x33c8dd);}static async[_0x338cc2(0x19f)](_0x4eea60){const _0x1fa70a=_0x338cc2;return await napCatCore[_0x1fa70a(0x182)][_0x1fa70a(0x19f)](_0x4eea60);}static async[_0x338cc2(0x169)](_0x5ce74b,_0x4b1fd5=ElementType[_0x338cc2(0x17d)],_0x36945d=0x0){const _0x111599=_0x338cc2,_0x4ab97d={'EtoRZ':function(_0x4e3070,_0x162888){return _0x4e3070(_0x162888);},'NuFEc':function(_0x5caeaa,_0x3f3b05){return _0x5caeaa+_0x3f3b05;},'HsXcu':function(_0x217754,_0x307f36){return _0x217754===_0x307f36;}},_0x4abdf6=await _0x4ab97d[_0x111599(0x18b)](calculateFileMD5,_0x5ce74b);let _0x577e20=(await NTQQFileApi['getFileType'](_0x5ce74b))?.[_0x111599(0x179)]||'';_0x577e20&&(_0x577e20=_0x4ab97d[_0x111599(0x17b)]('.',_0x577e20));let _0x3c01a5=''+_0x2836a8['basename'](_0x5ce74b);_0x4ab97d['HsXcu'](_0x3c01a5[_0x111599(0x183)]('.'),-0x1)&&(_0x3c01a5+=_0x577e20);const _0x3ebdaa=napCatCore['session']['getMsgService']()[_0x111599(0x180)]({'md5HexStr':_0x4abdf6,'fileName':_0x3c01a5,'elementType':_0x4b1fd5,'elementSubType':_0x36945d,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x111599(0x176)](_0x5ce74b,_0x3ebdaa);const _0x3a9646=await NTQQFileApi['getFileSize'](_0x5ce74b);return{'md5':_0x4abdf6,'fileName':_0x3c01a5,'path':_0x3ebdaa,'fileSize':_0x3a9646,'ext':_0x577e20};}static async[_0x338cc2(0x16d)](_0x4b8bde,_0x2dbb65,_0x619437,_0x404c60,_0x2308f4,_0xad9021,_0x29a58b=0x3e8*0x3c*0x2,_0x554b62=![]){const _0x3fcfcd=_0x338cc2,_0xdb2ea7={'mlAwl':function(_0x598d52,_0x3a2e9f){return _0x598d52===_0x3a2e9f;},'kTlvs':function(_0x42ca72,_0x35c41e){return _0x42ca72(_0x35c41e);}};if(_0xad9021&&_0x59f0e2[_0x3fcfcd(0x175)](_0xad9021)){if(_0x554b62)try{await _0x5398ee[_0x3fcfcd(0x18c)](_0xad9021);}catch(_0x415eda){}else return _0xad9021;}return new Promise((_0x4ef1dd,_0x2df638)=>{const _0x1412cd=_0x3fcfcd,_0x1246bc={'yXoPG':function(_0x1274a5,_0x5af7f6){return _0x1274a5(_0x5af7f6);}};let _0x1b00c9=![];const _0x54c530=_0x1b25d3=>{const _0x65477f=_0x4cbf;if(_0xdb2ea7['mlAwl'](_0x1b25d3[_0x65477f(0x193)],_0x4b8bde)){_0x1b00c9=!![];let _0x15dc16=_0x1b25d3[_0x65477f(0x197)];if(_0x15dc16['startsWith']('\x5c')){const _0x142f1a=sessionConfig[_0x65477f(0x1a2)];_0x15dc16=_0x2836a8[_0x65477f(0x170)](_0x142f1a,_0x15dc16);}_0xdb2ea7[_0x65477f(0x1a0)](_0x4ef1dd,_0x15dc16);}};downloadMediaTasks[_0x1412cd(0x17f)](randomUUID(),_0x54c530),setTimeout(()=>{const _0x1634d9=_0x1412cd;!_0x1b00c9&&_0x1246bc[_0x1634d9(0x190)](_0x2df638,_0x1634d9(0x181));},_0x29a58b),napCatCore[_0x1412cd(0x186)][_0x1412cd(0x17e)]()[_0x1412cd(0x19c)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x4b8bde,'chatType':_0x2dbb65,'peerUid':_0x619437,'elementId':_0x404c60,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2308f4});});}static async[_0x338cc2(0x16c)](_0x1b7247){const _0xabc669={'BEukc':function(_0x4759ae,_0x341d8f){return _0x4759ae(_0x341d8f);}};return new Promise((_0x54a25a,_0x264808)=>{const _0x225b95={'wMxXJ':function(_0x429daf,_0xf766da){return _0x429daf(_0xf766da);},'fGtOS':function(_0x48283e,_0x2d8946){const _0x370227=_0x4cbf;return _0xabc669[_0x370227(0x16f)](_0x48283e,_0x2d8946);}};_0x549715(_0x1b7247,(_0x594c92,_0x242557)=>{const _0x3af19e=_0x4cbf;_0x594c92?_0x225b95[_0x3af19e(0x187)](_0x264808,_0x594c92):_0x225b95[_0x3af19e(0x167)](_0x54a25a,_0x242557);});});}static async['getImageUrl'](_0x44163a,_0x543bdd){const _0x23e4fb=_0x338cc2,_0x5a271a={'mKhjt':'/download','GFLAQ':function(_0x48c028,_0x2cff5d){return _0x48c028+_0x2cff5d;},'oDOrH':function(_0x9cb6f8,_0x39f00c){return _0x9cb6f8||_0x39f00c;},'sRMmz':function(_0x15b737,_0xd4d997){return _0x15b737||_0xd4d997;},'qLDXc':function(_0x438912,_0x4e379d,_0xf67286){return _0x438912(_0x4e379d,_0xf67286);},'Itiwi':_0x23e4fb(0x188)};if(!_0x44163a)return'';const _0x3e8bd1=_0x44163a[_0x23e4fb(0x165)],_0x373d1f=_0x44163a['md5HexStr'],_0x4d69dc=_0x44163a['md5HexStr'],_0x19c106=_0x44163a[_0x23e4fb(0x1a3)];if(_0x3e8bd1){if(_0x3e8bd1['startsWith'](_0x5a271a[_0x23e4fb(0x172)])){if(_0x3e8bd1[_0x23e4fb(0x192)](_0x23e4fb(0x18a)))return _0x5a271a['GFLAQ'](IMAGE_HTTP_HOST_NT,_0x3e8bd1);const _0x260075=await rkeyManager[_0x23e4fb(0x189)](),_0x244608=_0x543bdd?_0x260075[_0x23e4fb(0x174)]:_0x260075[_0x23e4fb(0x198)];return _0x5a271a[_0x23e4fb(0x17c)](_0x5a271a[_0x23e4fb(0x17c)](IMAGE_HTTP_HOST_NT,_0x3e8bd1),''+_0x244608);}else return IMAGE_HTTP_HOST+_0x3e8bd1;}else{if(_0x5a271a[_0x23e4fb(0x166)](_0x4d69dc,_0x373d1f))return IMAGE_HTTP_HOST+_0x23e4fb(0x185)+_0x5a271a['sRMmz'](_0x4d69dc,_0x373d1f)[_0x23e4fb(0x18d)]()+'/0';}return _0x5a271a['qLDXc'](logDebug,_0x5a271a[_0x23e4fb(0x1a1)],_0x44163a),'';}}export class NTQQFileCacheApi{static async[_0x338cc2(0x16a)](_0x51b768=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x338cc2(0x19d)](_0x5891ec=['tmp',_0x338cc2(0x1a6)]){const _0x1c54eb=_0x338cc2;return napCatCore[_0x1c54eb(0x186)][_0x1c54eb(0x19a)]()[_0x1c54eb(0x1a4)](_0x5891ec);}static[_0x338cc2(0x19b)](_0x2bf53c={}){const _0x2322a0=_0x338cc2;return napCatCore[_0x2322a0(0x186)]['getStorageCleanService']()[_0x2322a0(0x195)](_0x2bf53c);}static[_0x338cc2(0x164)](){const _0x52e2fd=_0x338cc2;return napCatCore[_0x52e2fd(0x186)][_0x52e2fd(0x19a)]()['scanCache']();}static[_0x338cc2(0x194)](){return'';}static[_0x338cc2(0x178)](){return'';}static[_0x338cc2(0x1a5)](_0x450dbd,_0x587ee8=0x3e8,_0x6fd0be=0x0){const _0x367f74=_0x338cc2;return napCatCore[_0x367f74(0x186)][_0x367f74(0x19a)]()[_0x367f74(0x16b)](_0x450dbd,_0x587ee8,0x1,_0x6fd0be);}static[_0x338cc2(0x171)](_0x1c9b2f,_0x284fd8=0x3e8,_0x2c03f7){const _0x4f67db=_0x2c03f7?_0x2c03f7:{'fileType':_0x1c9b2f};}static async[_0x338cc2(0x177)](_0x3cb814=[],_0x22998a=[]){const _0x5dcee7=_0x338cc2;return napCatCore['session'][_0x5dcee7(0x19a)]()['clearChatCacheInfo'](_0x3cb814,_0x22998a);}} \ 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 cf754dbb..c9d3f5c6 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x54308b=_0x2027;(function(_0x3938ba,_0x3664da){const _0x12c3e8=_0x2027,_0x2c1019=_0x3938ba();while(!![]){try{const _0x2fc59b=parseInt(_0x12c3e8(0x170))/0x1*(-parseInt(_0x12c3e8(0x174))/0x2)+parseInt(_0x12c3e8(0x17f))/0x3+-parseInt(_0x12c3e8(0x175))/0x4*(-parseInt(_0x12c3e8(0x171))/0x5)+parseInt(_0x12c3e8(0x17d))/0x6+parseInt(_0x12c3e8(0x16c))/0x7+-parseInt(_0x12c3e8(0x176))/0x8+-parseInt(_0x12c3e8(0x17e))/0x9;if(_0x2fc59b===_0x3664da)break;else _0x2c1019['push'](_0x2c1019['shift']());}catch(_0x382fe9){_0x2c1019['push'](_0x2c1019['shift']());}}}(_0x18fe,0x3f490));function _0x18fe(){const _0x17cab4=['2644698cwaRIg','NodeIKernelBuddyService/getBuddyList','push','uid','1DKdPgx','10265orwozN','getBuddyService','session','433934PPoqnF','676QzmubI','3136064QuLBNf','CallNormalEvent','NodeIKernelBuddyListener/onBuddyListChange','handleFriendRequest','uin','friendUid','reqTime','2657202GNINGF','6500007FlWXem','1268328akACBX','CCtgM','buddyList'];_0x18fe=function(){return _0x17cab4;};return _0x18fe();}import{napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';function _0x2027(_0x37d829,_0x306944){const _0x18fe65=_0x18fe();return _0x2027=function(_0x202798,_0x4b18fb){_0x202798=_0x202798-0x16a;let _0x346a1f=_0x18fe65[_0x202798];return _0x346a1f;},_0x2027(_0x37d829,_0x306944);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async['getFriends'](_0x5829ad=![]){const _0x5daa15=_0x2027,_0x893f0a={'CCtgM':_0x5daa15(0x16d)};let [_0x4f3279,_0x3bacac]=await NTEventDispatch[_0x5daa15(0x177)](_0x893f0a[_0x5daa15(0x16a)],_0x5daa15(0x178),0x1,0x1388,_0x5829ad);const _0x24a08f=[];for(const _0x32e15d of _0x3bacac){for(const _0x423444 of _0x32e15d[_0x5daa15(0x16b)]){_0x24a08f[_0x5daa15(0x16e)](_0x423444),uid2UinMap[_0x423444[_0x5daa15(0x16f)]]=_0x423444[_0x5daa15(0x17a)];}}return _0x24a08f;}static async[_0x54308b(0x179)](_0x54bc41,_0x1803b7){const _0x1230ab=_0x54308b;napCatCore[_0x1230ab(0x173)][_0x1230ab(0x172)]()?.['approvalFriendRequest']({'friendUid':_0x54bc41[_0x1230ab(0x17b)],'reqTime':_0x54bc41[_0x1230ab(0x17c)],'accept':_0x1803b7});}} \ No newline at end of file +function _0x44cd(){const _0x53bbf6=['415098RcXDEV','push','reqTime','8834749onjeeP','session','CallNormalEvent','buddyList','1676rrWXBy','NodeIKernelBuddyListener/onBuddyListChange','44699280kNSMHB','56gusyin','1964547OiEIxg','5070600vfPmrs','NodeIKernelBuddyService/getBuddyList','1680bhZSZW','approvalFriendRequest','getFriends','582090Nisahp','uin','handleFriendRequest','2sUqxFV','uid','qjTeZ'];_0x44cd=function(){return _0x53bbf6;};return _0x44cd();}const _0x4d614a=_0x5f1e;(function(_0x40a84c,_0x50bfd1){const _0x424a0e=_0x5f1e,_0x2cc564=_0x40a84c();while(!![]){try{const _0x1419f8=-parseInt(_0x424a0e(0x91))/0x1*(parseInt(_0x424a0e(0x94))/0x2)+-parseInt(_0x424a0e(0x8b))/0x3+-parseInt(_0x424a0e(0x87))/0x4*(parseInt(_0x424a0e(0x8e))/0x5)+-parseInt(_0x424a0e(0x8c))/0x6+-parseInt(_0x424a0e(0x9a))/0x7+-parseInt(_0x424a0e(0x8a))/0x8*(parseInt(_0x424a0e(0x97))/0x9)+parseInt(_0x424a0e(0x89))/0xa;if(_0x1419f8===_0x50bfd1)break;else _0x2cc564['push'](_0x2cc564['shift']());}catch(_0x16a0aa){_0x2cc564['push'](_0x2cc564['shift']());}}}(_0x44cd,0xa1a80));import{napCatCore}from'@/core';function _0x5f1e(_0x507db6,_0x315477){const _0x44cd0e=_0x44cd();return _0x5f1e=function(_0x5f1eaa,_0x15fd4d){_0x5f1eaa=_0x5f1eaa-0x84;let _0x3b34ba=_0x44cd0e[_0x5f1eaa];return _0x3b34ba;},_0x5f1e(_0x507db6,_0x315477);}import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x4d614a(0x90)](_0x26e249=![]){const _0x4f81eb=_0x4d614a,_0x36f606={'xOdji':_0x4f81eb(0x8d),'qjTeZ':_0x4f81eb(0x88)};let [_0x436409,_0x2a3559]=await NTEventDispatch[_0x4f81eb(0x85)](_0x36f606['xOdji'],_0x36f606[_0x4f81eb(0x96)],0x1,0x1388,_0x26e249);const _0x3e313e=[];for(const _0x49190b of _0x2a3559){for(const _0x359875 of _0x49190b[_0x4f81eb(0x86)]){_0x3e313e[_0x4f81eb(0x98)](_0x359875),uid2UinMap[_0x359875[_0x4f81eb(0x95)]]=_0x359875[_0x4f81eb(0x92)];}}return _0x3e313e;}static async[_0x4d614a(0x93)](_0x22cf30,_0x2f8ca2){const _0x298616=_0x4d614a;napCatCore[_0x298616(0x84)]['getBuddyService']()?.[_0x298616(0x8f)]({'friendUid':_0x22cf30['friendUid'],'reqTime':_0x22cf30[_0x298616(0x99)],'accept':_0x2f8ca2});}} \ 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 3dc5c3c8..355db1e6 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x19cac7=_0x3491;(function(_0xa3f271,_0x2904bd){const _0x5ad047=_0x3491,_0x2b46fd=_0xa3f271();while(!![]){try{const _0x3eeeb7=-parseInt(_0x5ad047(0x19f))/0x1+-parseInt(_0x5ad047(0x1da))/0x2*(parseInt(_0x5ad047(0x1a3))/0x3)+-parseInt(_0x5ad047(0x1c3))/0x4*(-parseInt(_0x5ad047(0x1ba))/0x5)+parseInt(_0x5ad047(0x1d6))/0x6*(-parseInt(_0x5ad047(0x1c0))/0x7)+parseInt(_0x5ad047(0x1ab))/0x8*(parseInt(_0x5ad047(0x1c7))/0x9)+-parseInt(_0x5ad047(0x1ce))/0xa+-parseInt(_0x5ad047(0x1cb))/0xb*(-parseInt(_0x5ad047(0x1a0))/0xc);if(_0x3eeeb7===_0x2904bd)break;else _0x2b46fd['push'](_0x2b46fd['shift']());}catch(_0x301133){_0x2b46fd['push'](_0x2b46fd['shift']());}}}(_0x35b1,0xe2a44));import{NTQQUserApi,napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x35b1(){const _0x7df339=['publishGroupBulletin','NodeIKernelGroupService/getGroupList','CreatGroupFileFolder','getGroups','modifyMemberCardName','uploadGroupBulletinPic','201606HGDMmu','riQOX','seq','infos','610NaDMrb','getGroupNotifies','NodeIKernelGroupListener/onGroupListUpdate','session','setMemberCard','forEach','NodeIKernelGroupService/getSingleScreenNotifies','dmRJv','1385280tcxTsm','8576388xuDEYm','groupCode','banGroup','8403fOLsrT','GetGroupFileCount','kickMember','getGroupService','获取群成员列表出错,','batchGetGroupFileCount','result','modifyGroupName','4073096mkCshy','deleteGroupFolder','nVHqn','group','setGroupName','banMember','DelGroupFile','groupMemberList_MainWindow','setGroupShutUp','uin','createMemberListScene','createGroupFolder','DelGroupFileFolder','getGroupMembers','QgHqx','8375jdlgHa','handleGroupRequest','setGroupTitle','setMemberShutUp','quitGroup','getGroupIgnoreNotifies','77lpADxt','getSingleScreenNotifies','type','1424XACQzl','getRichMediaService','getPSkey','lsOdV','27Xflapy','qun.qq.com','pbBgC','errCode','44dREBoM','CallNormalEvent','Uoyrr','14449870nzosPh','mxrIo'];_0x35b1=function(){return _0x7df339;};return _0x35b1();}function _0x3491(_0xe9b3c,_0x1654fd){const _0x35b12f=_0x35b1();return _0x3491=function(_0x349163,_0x1ab0f9){_0x349163=_0x349163-0x19c;let _0x546124=_0x35b12f[_0x349163];return _0x546124;},_0x3491(_0xe9b3c,_0x1654fd);}export class NTQQGroupApi{static async[_0x19cac7(0x1d3)](_0x347b95=![]){const _0x96608e=_0x19cac7,_0x13c7af={'nVHqn':_0x96608e(0x1d1),'Geywa':_0x96608e(0x1dc)};let [_0x422c64,_0x55fcde,_0x3682bf]=await NTEventDispatch[_0x96608e(0x1cc)](_0x13c7af[_0x96608e(0x1ad)],_0x13c7af['Geywa'],0x1,0x1388,_0x347b95);return _0x3682bf;}static async[_0x19cac7(0x1d2)](_0x1a6bc8,_0x4722ab){const _0x1b05d9=_0x19cac7;return napCatCore[_0x1b05d9(0x1dd)][_0x1b05d9(0x1c4)]()[_0x1b05d9(0x1b6)](_0x1a6bc8,_0x4722ab);}static async[_0x19cac7(0x1b1)](_0x4d9a3f,_0x2dbbed){const _0x211830=_0x19cac7;return napCatCore[_0x211830(0x1dd)][_0x211830(0x1c4)]()['deleteGroupFile'](_0x4d9a3f,[0x66],_0x2dbbed);}static async[_0x19cac7(0x1b7)](_0x3eb697,_0x11994d){const _0x3f3293=_0x19cac7;return napCatCore[_0x3f3293(0x1dd)]['getRichMediaService']()[_0x3f3293(0x1ac)](_0x3eb697,_0x11994d);}static async[_0x19cac7(0x1c1)](_0x13989f){const _0x2022a7=_0x19cac7;let [_0x2c4829,_0xae2ede,_0x519174,_0x45f610]=await NTEventDispatch[_0x2022a7(0x1cc)](_0x2022a7(0x19d),'NodeIKernelGroupListener/onGroupSingleScreenNotifies',0x1,0x1388,![],'',_0x13989f);return _0x45f610;}static async[_0x19cac7(0x1b8)](_0x1a8e54,_0x569e57=0xbb8){const _0x48df67=_0x19cac7,_0x582caa={'dmRJv':_0x48df67(0x1b2),'riQOX':function(_0x3ae53b,_0x25b3f5){return _0x3ae53b!==_0x25b3f5;},'Uoyrr':function(_0xf51e6f,_0x4f94c8){return _0xf51e6f+_0x4f94c8;}},_0x3a9bec=napCatCore[_0x48df67(0x1dd)][_0x48df67(0x1a6)](),_0x3659c2=_0x3a9bec[_0x48df67(0x1b5)](_0x1a8e54,_0x582caa[_0x48df67(0x19e)]),_0x3ee498=await _0x3a9bec['getNextMemberList'](_0x3659c2,undefined,_0x569e57);if(_0x582caa[_0x48df67(0x1d7)](_0x3ee498[_0x48df67(0x1ca)],0x0))throw _0x582caa[_0x48df67(0x1cd)](_0x48df67(0x1a7),_0x3ee498['errMsg']);return _0x3ee498[_0x48df67(0x1a9)][_0x48df67(0x1d9)][_0x48df67(0x19c)](_0x194b2b=>{const _0x592e4d=_0x48df67;uid2UinMap[_0x194b2b['uid']]=_0x194b2b[_0x592e4d(0x1b4)];}),_0x3ee498[_0x48df67(0x1a9)][_0x48df67(0x1d9)];}static async[_0x19cac7(0x1db)](){}static async[_0x19cac7(0x1a4)](_0x5f0217){const _0x529523=_0x19cac7;return napCatCore['session'][_0x529523(0x1c4)]()[_0x529523(0x1a8)](_0x5f0217);}static async[_0x19cac7(0x1bf)](){}static async[_0x19cac7(0x1d5)](_0x503781,_0x573308){const _0x4d7d44=_0x19cac7,_0x5b18d9={'lsOdV':_0x4d7d44(0x1c8)},_0x54c8ef=(await NTQQUserApi[_0x4d7d44(0x1c5)]([_0x5b18d9['lsOdV']]))[_0x5b18d9[_0x4d7d44(0x1c6)]];return napCatCore['session'][_0x4d7d44(0x1a6)]()[_0x4d7d44(0x1d5)](_0x503781,_0x54c8ef,_0x573308);}static async[_0x19cac7(0x1bb)](_0x10a525,_0x1d0930,_0x2d3983){const _0x74fcdc=_0x19cac7,_0x5aeba0={'QgHqx':function(_0x2c23fc,_0x57ada1){return _0x2c23fc||_0x57ada1;}};return napCatCore[_0x74fcdc(0x1dd)][_0x74fcdc(0x1a6)]()['operateSysNotify'](![],{'operateType':_0x1d0930,'targetMsg':{'seq':_0x10a525[_0x74fcdc(0x1d8)],'type':_0x10a525[_0x74fcdc(0x1c2)],'groupCode':_0x10a525[_0x74fcdc(0x1ae)][_0x74fcdc(0x1a1)],'postscript':_0x5aeba0[_0x74fcdc(0x1b9)](_0x2d3983,'')}});}static async['quitGroup'](_0x396b60){const _0x1f660e=_0x19cac7;return napCatCore[_0x1f660e(0x1dd)]['getGroupService']()[_0x1f660e(0x1be)](_0x396b60);}static async[_0x19cac7(0x1a5)](_0x4d7af7,_0x378d79,_0xe4b417=![],_0x4c05b7=''){const _0x4cc626=_0x19cac7;return napCatCore[_0x4cc626(0x1dd)]['getGroupService']()[_0x4cc626(0x1a5)](_0x4d7af7,_0x378d79,_0xe4b417,_0x4c05b7);}static async[_0x19cac7(0x1b0)](_0x40fef,_0x34426a){const _0x2da374=_0x19cac7;return napCatCore[_0x2da374(0x1dd)][_0x2da374(0x1a6)]()[_0x2da374(0x1bd)](_0x40fef,_0x34426a);}static async[_0x19cac7(0x1a2)](_0x4dcfa5,_0x56b290){const _0x4970e8=_0x19cac7;return napCatCore[_0x4970e8(0x1dd)][_0x4970e8(0x1a6)]()[_0x4970e8(0x1b3)](_0x4dcfa5,_0x56b290);}static async[_0x19cac7(0x1de)](_0x44d90f,_0x19f9b3,_0x4029c2){const _0x6e2df2=_0x19cac7;return napCatCore[_0x6e2df2(0x1dd)][_0x6e2df2(0x1a6)]()[_0x6e2df2(0x1d4)](_0x44d90f,_0x19f9b3,_0x4029c2);}static async['setMemberRole'](_0x183ee6,_0x7953ae,_0x3e4221){const _0x65efd8=_0x19cac7;return napCatCore[_0x65efd8(0x1dd)][_0x65efd8(0x1a6)]()['modifyMemberRole'](_0x183ee6,_0x7953ae,_0x3e4221);}static async[_0x19cac7(0x1af)](_0x640444,_0x37b6e6){const _0x4d0f12=_0x19cac7;return napCatCore[_0x4d0f12(0x1dd)][_0x4d0f12(0x1a6)]()[_0x4d0f12(0x1aa)](_0x640444,_0x37b6e6,![]);}static async[_0x19cac7(0x1bc)](_0x10e3c3,_0x39025e,_0x513c62){}static async['publishGroupBulletin'](_0xc865fb,_0x5075f5,_0x401a70=undefined,_0x47f602=0x0,_0x4b49ef=0x0){const _0x404bb8=_0x19cac7,_0x482520={'mxrIo':_0x404bb8(0x1c8),'pbBgC':function(_0x349e36,_0x4cc78b){return _0x349e36(_0x4cc78b);}},_0x4806a9=(await NTQQUserApi[_0x404bb8(0x1c5)]([_0x482520[_0x404bb8(0x1cf)]]))[_0x404bb8(0x1c8)];let _0x5d0e35={'text':_0x482520[_0x404bb8(0x1c9)](encodeURI,_0x5075f5),'picInfo':_0x401a70,'oldFeedsId':'','pinned':_0x47f602,'confirmRequired':_0x4b49ef};return napCatCore[_0x404bb8(0x1dd)][_0x404bb8(0x1a6)]()[_0x404bb8(0x1d0)](_0xc865fb,_0x4806a9,_0x5d0e35);}} \ No newline at end of file +const _0x31a2b1=_0x30e2;(function(_0x4bbbe5,_0x382d3c){const _0x2cb9f8=_0x30e2,_0x279206=_0x4bbbe5();while(!![]){try{const _0x115e36=parseInt(_0x2cb9f8(0x189))/0x1+parseInt(_0x2cb9f8(0x1a8))/0x2+-parseInt(_0x2cb9f8(0x198))/0x3+parseInt(_0x2cb9f8(0x184))/0x4+parseInt(_0x2cb9f8(0x18f))/0x5*(parseInt(_0x2cb9f8(0x174))/0x6)+parseInt(_0x2cb9f8(0x180))/0x7+-parseInt(_0x2cb9f8(0x1a0))/0x8;if(_0x115e36===_0x382d3c)break;else _0x279206['push'](_0x279206['shift']());}catch(_0x4c480e){_0x279206['push'](_0x279206['shift']());}}}(_0x1265,0x9fbed));import{NTQQUserApi,napCatCore}from'@/core';function _0x30e2(_0x5869c6,_0x1454e2){const _0x1265e3=_0x1265();return _0x30e2=function(_0x30e2d2,_0x2730d2){_0x30e2d2=_0x30e2d2-0x16f;let _0x2b4e91=_0x1265e3[_0x30e2d2];return _0x2b4e91;},_0x30e2(_0x5869c6,_0x1454e2);}function _0x1265(){const _0x107641=['publishGroupBulletin','type','getGroups','errMsg','aTxYD','2041582ubuAZQ','quitGroup','qun.qq.com','CallNormalEvent','batchGetGroupFileCount','getGroupService','kgwqX','6852BZxmfW','kHSyY','getGroupIgnoreNotifies','session','createGroupFolder','groupMemberList_MainWindow','uploadGroupBulletinPic','setMemberCard','xKvez','modifyMemberCardName','NodeIKernelGroupListener/onGroupSingleScreenNotifies','NodeIKernelGroupService/getGroupList','4932655zddUaT','获取群成员列表出错,','setGroupName','deleteGroupFolder','2819532urolHY','setMemberShutUp','infos','operateSysNotify','DelGroupFileFolder','196816JCmPck','deleteGroupFile','createMemberListScene','uid','errCode','DelGroupFile','265mmrmBg','NodeIKernelGroupListener/onGroupListUpdate','GetGroupFileCount','banGroup','getRichMediaService','getNextMemberList','hWMey','forEach','uin','3688038qZpYCW','handleGroupRequest','CreatGroupFileFolder','kickMember','setGroupTitle','setGroupShutUp','result','getPSkey','6432144VYQZas','getGroupNotifies','NodeIKernelGroupService/getSingleScreenNotifies'];_0x1265=function(){return _0x107641;};return _0x1265();}import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x31a2b1(0x1a5)](_0x53665d=![]){const _0xa5f31e=_0x31a2b1,_0x15c22e={'xKvez':_0xa5f31e(0x17f)};let [_0x2a8f7a,_0x8f5c7c,_0x3ff70e]=await NTEventDispatch[_0xa5f31e(0x170)](_0x15c22e[_0xa5f31e(0x17c)],_0xa5f31e(0x190),0x1,0x1388,_0x53665d);return _0x3ff70e;}static async[_0x31a2b1(0x19a)](_0x10e291,_0x1ac7ab){const _0x2527ea=_0x31a2b1;return napCatCore['session'][_0x2527ea(0x193)]()[_0x2527ea(0x178)](_0x10e291,_0x1ac7ab);}static async[_0x31a2b1(0x18e)](_0x1c52cb,_0x51c482){const _0x35df9d=_0x31a2b1;return napCatCore[_0x35df9d(0x177)]['getRichMediaService']()[_0x35df9d(0x18a)](_0x1c52cb,[0x66],_0x51c482);}static async[_0x31a2b1(0x188)](_0x38ed74,_0x2397a9){const _0x298840=_0x31a2b1;return napCatCore[_0x298840(0x177)][_0x298840(0x193)]()[_0x298840(0x183)](_0x38ed74,_0x2397a9);}static async['getSingleScreenNotifies'](_0x100a48){const _0x787d9c=_0x31a2b1,_0x19b8ac={'mtAkU':_0x787d9c(0x1a2),'DeDLa':_0x787d9c(0x17e)};let [_0x1af2c8,_0xcfeac6,_0x2554b6,_0x59fcda]=await NTEventDispatch[_0x787d9c(0x170)](_0x19b8ac['mtAkU'],_0x19b8ac['DeDLa'],0x1,0x1388,![],'',_0x100a48);return _0x59fcda;}static async['getGroupMembers'](_0x2c0f04,_0x52c915=0xbb8){const _0x95c98a=_0x31a2b1,_0x5edd38={'kHSyY':function(_0x4f4c30,_0x476e3e){return _0x4f4c30!==_0x476e3e;},'BABCT':function(_0x38df53,_0x2ee402){return _0x38df53+_0x2ee402;},'TdCRM':_0x95c98a(0x181)},_0x5649b4=napCatCore[_0x95c98a(0x177)][_0x95c98a(0x172)](),_0x20ad67=_0x5649b4[_0x95c98a(0x18b)](_0x2c0f04,_0x95c98a(0x179)),_0x436dc9=await _0x5649b4[_0x95c98a(0x194)](_0x20ad67,undefined,_0x52c915);if(_0x5edd38[_0x95c98a(0x175)](_0x436dc9[_0x95c98a(0x18d)],0x0))throw _0x5edd38['BABCT'](_0x5edd38['TdCRM'],_0x436dc9[_0x95c98a(0x1a6)]);return _0x436dc9[_0x95c98a(0x19e)][_0x95c98a(0x186)][_0x95c98a(0x196)](_0x5b1a48=>{const _0x50a186=_0x95c98a;uid2UinMap[_0x5b1a48[_0x50a186(0x18c)]]=_0x5b1a48[_0x50a186(0x197)];}),_0x436dc9['result']['infos'];}static async[_0x31a2b1(0x1a1)](){}static async[_0x31a2b1(0x191)](_0x3412fd){const _0x5c96ce=_0x31a2b1;return napCatCore[_0x5c96ce(0x177)][_0x5c96ce(0x193)]()[_0x5c96ce(0x171)](_0x3412fd);}static async[_0x31a2b1(0x176)](){}static async[_0x31a2b1(0x17a)](_0x42cf7d,_0x38416d){const _0x265d94=_0x31a2b1,_0x63d82e={'kgwqX':_0x265d94(0x16f)},_0x3237b2=(await NTQQUserApi[_0x265d94(0x19f)]([_0x63d82e['kgwqX']]))[_0x63d82e[_0x265d94(0x173)]];return napCatCore[_0x265d94(0x177)]['getGroupService']()[_0x265d94(0x17a)](_0x42cf7d,_0x3237b2,_0x38416d);}static async[_0x31a2b1(0x199)](_0x4935dc,_0x13a6ae,_0x17946b){const _0x521003=_0x31a2b1;return napCatCore[_0x521003(0x177)][_0x521003(0x172)]()[_0x521003(0x187)](![],{'operateType':_0x13a6ae,'targetMsg':{'seq':_0x4935dc['seq'],'type':_0x4935dc[_0x521003(0x1a4)],'groupCode':_0x4935dc['group']['groupCode'],'postscript':_0x17946b||''}});}static async['quitGroup'](_0x57a169){const _0x3f4349=_0x31a2b1;return napCatCore[_0x3f4349(0x177)][_0x3f4349(0x172)]()[_0x3f4349(0x1a9)](_0x57a169);}static async[_0x31a2b1(0x19b)](_0x390d3a,_0x16b960,_0x19b910=![],_0x43f3ba=''){const _0x33070a=_0x31a2b1;return napCatCore['session'][_0x33070a(0x172)]()[_0x33070a(0x19b)](_0x390d3a,_0x16b960,_0x19b910,_0x43f3ba);}static async['banMember'](_0x63ae5d,_0x26c6a3){const _0x41ace1=_0x31a2b1;return napCatCore[_0x41ace1(0x177)]['getGroupService']()[_0x41ace1(0x185)](_0x63ae5d,_0x26c6a3);}static async[_0x31a2b1(0x192)](_0x160305,_0x6c642c){const _0x481dff=_0x31a2b1;return napCatCore[_0x481dff(0x177)]['getGroupService']()[_0x481dff(0x19d)](_0x160305,_0x6c642c);}static async[_0x31a2b1(0x17b)](_0x3d9384,_0xd5d79e,_0x12a19a){const _0x3c87bf=_0x31a2b1;return napCatCore['session']['getGroupService']()[_0x3c87bf(0x17d)](_0x3d9384,_0xd5d79e,_0x12a19a);}static async['setMemberRole'](_0x151660,_0x125533,_0x52cbeb){const _0x33e3cb=_0x31a2b1;return napCatCore[_0x33e3cb(0x177)][_0x33e3cb(0x172)]()['modifyMemberRole'](_0x151660,_0x125533,_0x52cbeb);}static async[_0x31a2b1(0x182)](_0x5a1351,_0x1733e8){const _0x51a53a=_0x31a2b1;return napCatCore['session'][_0x51a53a(0x172)]()['modifyGroupName'](_0x5a1351,_0x1733e8,![]);}static async[_0x31a2b1(0x19c)](_0x5b7edb,_0x279325,_0x617d5c){}static async['publishGroupBulletin'](_0x4b1479,_0x1767ee,_0x2cf3d6=undefined,_0x245a18=0x0,_0x37560a=0x0){const _0x4d5171=_0x31a2b1,_0x168127={'hWMey':_0x4d5171(0x16f),'aTxYD':function(_0x191507,_0x2c0ff9){return _0x191507(_0x2c0ff9);}},_0x3c7bba=(await NTQQUserApi[_0x4d5171(0x19f)]([_0x168127[_0x4d5171(0x195)]]))[_0x168127['hWMey']];let _0x4bdbaf={'text':_0x168127[_0x4d5171(0x1a7)](encodeURI,_0x1767ee),'picInfo':_0x2cf3d6,'oldFeedsId':'','pinned':_0x245a18,'confirmRequired':_0x37560a};return napCatCore[_0x4d5171(0x177)][_0x4d5171(0x172)]()[_0x4d5171(0x1a3)](_0x4b1479,_0x3c7bba,_0x4bdbaf);}} \ 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 12812ded..64747ce8 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x38832a,_0x9c3a88){var _0x4e58d6=_0x1216,_0x3d9f2b=_0x38832a();while(!![]){try{var _0x81959=parseInt(_0x4e58d6(0x139))/0x1*(parseInt(_0x4e58d6(0x137))/0x2)+parseInt(_0x4e58d6(0x13f))/0x3*(-parseInt(_0x4e58d6(0x13a))/0x4)+parseInt(_0x4e58d6(0x13e))/0x5+-parseInt(_0x4e58d6(0x13d))/0x6+-parseInt(_0x4e58d6(0x13b))/0x7*(-parseInt(_0x4e58d6(0x138))/0x8)+parseInt(_0x4e58d6(0x13c))/0x9+-parseInt(_0x4e58d6(0x136))/0xa;if(_0x81959===_0x9c3a88)break;else _0x3d9f2b['push'](_0x3d9f2b['shift']());}catch(_0x360067){_0x3d9f2b['push'](_0x3d9f2b['shift']());}}}(_0x22bd,0xddc21));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x1216(_0x1969fa,_0x289052){var _0x22bdf6=_0x22bd();return _0x1216=function(_0x1216d1,_0x8c7505){_0x1216d1=_0x1216d1-0x136;var _0x505569=_0x22bdf6[_0x1216d1];return _0x505569;},_0x1216(_0x1969fa,_0x289052);}export*from'./user';function _0x22bd(){var _0x52928c=['13270797kKvEbK','10786422OqzJGZ','7837465nOdLFu','103173nhmQjf','14154920wJcvTR','17590nQvKTo','392MQjecs','109IwxUiK','132OPXEGz','179396JvCOgj'];_0x22bd=function(){return _0x52928c;};return _0x22bd();}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x10c93e,_0x8a35ee){var _0x34e403=_0x2179,_0x293caa=_0x10c93e();while(!![]){try{var _0x27f966=-parseInt(_0x34e403(0x69))/0x1+parseInt(_0x34e403(0x6d))/0x2+-parseInt(_0x34e403(0x67))/0x3*(parseInt(_0x34e403(0x6c))/0x4)+parseInt(_0x34e403(0x68))/0x5*(-parseInt(_0x34e403(0x6a))/0x6)+-parseInt(_0x34e403(0x64))/0x7*(parseInt(_0x34e403(0x6f))/0x8)+parseInt(_0x34e403(0x6b))/0x9*(-parseInt(_0x34e403(0x66))/0xa)+parseInt(_0x34e403(0x65))/0xb*(parseInt(_0x34e403(0x6e))/0xc);if(_0x27f966===_0x8a35ee)break;else _0x293caa['push'](_0x293caa['shift']());}catch(_0x5e43de){_0x293caa['push'](_0x293caa['shift']());}}}(_0x4081,0x824ec));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x2179(_0x23e756,_0x2e99a9){var _0x40814e=_0x4081();return _0x2179=function(_0x217956,_0x39d2cb){_0x217956=_0x217956-0x64;var _0x42e7ab=_0x40814e[_0x217956];return _0x42e7ab;},_0x2179(_0x23e756,_0x2e99a9);}function _0x4081(){var _0x17d96a=['1365088XqpduL','2016976QPUPmG','852VkXjic','8qqxltC','1863463EttXXx','216183gnchEc','1690wZqsVq','3qPGSPr','5wKVTAf','190925tDQMCO','4776396cKKpxL','14679JGMoQt'];_0x4081=function(){return _0x17d96a;};return _0x4081();}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 e581ab09..5d53784e 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x1ef774=_0x4f15;(function(_0x33ca7d,_0x24806a){const _0x46ec78=_0x4f15,_0x11b82e=_0x33ca7d();while(!![]){try{const _0x5d2c9f=-parseInt(_0x46ec78(0x1f0))/0x1*(-parseInt(_0x46ec78(0x20f))/0x2)+-parseInt(_0x46ec78(0x219))/0x3*(parseInt(_0x46ec78(0x1e3))/0x4)+-parseInt(_0x46ec78(0x1ef))/0x5*(-parseInt(_0x46ec78(0x1f6))/0x6)+parseInt(_0x46ec78(0x1da))/0x7+-parseInt(_0x46ec78(0x1f1))/0x8*(-parseInt(_0x46ec78(0x1f5))/0x9)+-parseInt(_0x46ec78(0x1db))/0xa+-parseInt(_0x46ec78(0x1f8))/0xb*(-parseInt(_0x46ec78(0x1e7))/0xc);if(_0x5d2c9f===_0x24806a)break;else _0x11b82e['push'](_0x11b82e['shift']());}catch(_0x22ccf9){_0x11b82e['push'](_0x11b82e['shift']());}}}(_0xd0b0,0x5e886));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x4f15(_0x46ec99,_0x12b866){const _0xd0b00=_0xd0b0();return _0x4f15=function(_0x4f15bf,_0x569753){_0x4f15bf=_0x4f15bf-0x1d1;let _0x108728=_0xd0b00[_0x4f15bf];return _0x108728;},_0x4f15(_0x46ec99,_0x12b866);}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x1ef774(0x21b)]=_0x27d17e=>{const _0x334b7a=_0x1ef774,_0x51440a={'ruzBR':function(_0x4ebc20,_0x5f1842){return _0x4ebc20(_0x5f1842);}};for(const [_0x450308,_0x42e9d3]of GroupFileInfoUpdateTasks){_0x51440a[_0x334b7a(0x1f4)](_0x42e9d3,_0x27d17e),GroupFileInfoUpdateTasks[_0x334b7a(0x20a)](_0x450308);}},msgListener[_0x1ef774(0x1d2)]=_0x561e14=>{const _0x2ad266=_0x1ef774,_0x281e80={'qAUaQ':function(_0x19eb33,_0x5683ab){return _0x19eb33(_0x5683ab);},'wrlCR':function(_0x54e4a5,_0x36d240){return _0x54e4a5 instanceof _0x36d240;}};for(const [_0x1df078,_0x306569]of sentMsgTasks){_0x281e80[_0x2ad266(0x21e)](_0x306569,_0x561e14),sentMsgTasks[_0x2ad266(0x20a)](_0x1df078);}if(sendMessagePool[_0x561e14[_0x2ad266(0x220)]]){const _0x7ac5f7=sendMessagePool[_0x561e14[_0x2ad266(0x220)]]?.(_0x561e14);_0x281e80[_0x2ad266(0x1fe)](_0x7ac5f7,Promise)&&_0x7ac5f7[_0x2ad266(0x1f3)]()[_0x2ad266(0x1e6)](logError);}},msgListener['onMsgInfoListUpdate']=_0x22bd81=>{const _0x507a9a=_0x1ef774,_0x3036e6={'fBbVA':function(_0x2c926a,_0x449adb){return _0x2c926a(_0x449adb);},'JlTiz':function(_0x1b243d,_0x1d0376){return _0x1b243d instanceof _0x1d0376;}};_0x22bd81[_0x507a9a(0x203)](_0x4cfe2f=>{const _0x5df49e=_0x507a9a;new Promise((_0x4b218d,_0xc028e2)=>{const _0x50c481=_0x4f15;for(const _0x57d0f6 in sendSuccessCBMap){const _0xa06938=sendSuccessCBMap[_0x57d0f6],_0x7f0c1d=_0x3036e6[_0x50c481(0x1d1)](_0xa06938,_0x4cfe2f),_0x1e3b8d=_0x3e053a=>{_0x3e053a&&delete sendSuccessCBMap[_0x57d0f6];};_0x3036e6[_0x50c481(0x21f)](_0x7f0c1d,Promise)?_0x7f0c1d[_0x50c481(0x1f3)](_0x1e3b8d):_0x1e3b8d(_0x7f0c1d);}})[_0x5df49e(0x1f3)]()[_0x5df49e(0x1e6)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x30442d=_0x4f15;napCatCore[_0x30442d(0x207)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x1ef774(0x204)](_0x42c92c,_0x5a9cf9,_0x43deb1,_0x296dac=!![]){const _0x39197a=_0x1ef774,_0x4e2477={'YelDC':function(_0x5166da,_0x493890){return _0x5166da>_0x493890;}};return _0x43deb1=_0x43deb1['toString'](),napCatCore[_0x39197a(0x202)][_0x39197a(0x1dc)]()[_0x39197a(0x1f7)](_0x42c92c,_0x5a9cf9,_0x43deb1,_0x4e2477[_0x39197a(0x1e5)](_0x43deb1[_0x39197a(0x212)],0x3)?'2':'1',_0x296dac);}static async[_0x1ef774(0x1de)](_0x3837f7,_0x13d624,_0x179cf8){const _0x40b7ea=_0x1ef774;return napCatCore[_0x40b7ea(0x202)]['getMsgService']()[_0x40b7ea(0x1de)](_0x3837f7,_0x13d624,_0x179cf8);}static async[_0x1ef774(0x20e)](_0x24827d,_0x560098){const _0xf9f65c=_0x1ef774;return await napCatCore[_0xf9f65c(0x202)][_0xf9f65c(0x1dc)]()[_0xf9f65c(0x20e)](_0x24827d,_0x560098);}static async[_0x1ef774(0x1f2)](_0x109346,_0x37c3a9,_0x591ef2,_0x2a2fde,_0x51acfa){const _0x3a59d0=_0x1ef774;return await napCatCore[_0x3a59d0(0x202)]['getMsgService']()['getMsgsBySeqAndCount'](_0x109346,_0x37c3a9,_0x591ef2,_0x2a2fde,_0x51acfa);}static async[_0x1ef774(0x1d5)](_0x3934d1){}static async[_0x1ef774(0x1fb)](_0x56b6cf){}static async[_0x1ef774(0x1fa)](_0x566bb2){const _0x358d91=_0x1ef774;return napCatCore['session'][_0x358d91(0x1dc)]()['setMsgRead'](_0x566bb2);}static async[_0x1ef774(0x21a)](_0xbb89c9,_0x134bcd){const _0x185615=_0x1ef774,_0x265303={'Hxqla':function(_0x30b449,_0xffc352){return _0x30b449(_0xffc352);},'tOtIS':_0x185615(0x213)};return new Promise(async(_0x3dadfb,_0xea998f)=>{const _0x4ccd3b=_0x185615,_0x2758e4={'qzyMy':function(_0x4b400f,_0xb1084f){const _0xec88f8=_0x4f15;return _0x265303[_0xec88f8(0x210)](_0x4b400f,_0xb1084f);},'oKpCa':_0x265303[_0x4ccd3b(0x216)],'FTaFw':function(_0x55959b,_0x2162bb){return _0x265303['Hxqla'](_0x55959b,_0x2162bb);}};let _0x546483=![];setTimeout(()=>{const _0x41c2cc=_0x4ccd3b;!_0x546483&&_0x2758e4[_0x41c2cc(0x218)](_0xea998f,_0x2758e4[_0x41c2cc(0x1eb)]);},0x1388);const _0x38876a=_0x13a39a=>{const _0x158897=_0x4ccd3b;_0x546483=!![],_0x2758e4['FTaFw'](_0x3dadfb,_0x13a39a[_0x158897(0x201)]);};GroupFileInfoUpdateTasks[_0x4ccd3b(0x1ea)](randomUUID(),_0x38876a),await napCatCore['session'][_0x4ccd3b(0x215)]()[_0x4ccd3b(0x21a)](_0xbb89c9,_0x134bcd);});}static async[_0x1ef774(0x1d8)](_0x4313f0,_0x310736,_0x1f720c){const _0x46bd07=_0x1ef774;return napCatCore[_0x46bd07(0x202)][_0x46bd07(0x1dc)]()[_0x46bd07(0x1d4)](_0x4313f0,_0x310736,_0x1f720c,!![]);}static async[_0x1ef774(0x1d3)](){}static async['recallMsg'](_0x44a063,_0x181f08){const _0x40dbc9=_0x1ef774;await napCatCore[_0x40dbc9(0x202)][_0x40dbc9(0x1dc)]()[_0x40dbc9(0x217)]({'chatType':_0x44a063['chatType'],'peerUid':_0x44a063[_0x40dbc9(0x220)]},_0x181f08);}static async[_0x1ef774(0x211)](_0x2e7e39,_0x3a6198,_0x3e550c=!![],_0x53f8b8=0x2710){const _0x589f73=_0x1ef774,_0x2f9e9d={'euZiJ':function(_0x2f4aa4,_0x55aac2){return _0x2f4aa4>_0x55aac2;},'CsUfY':_0x589f73(0x20b),'sTdyc':function(_0xed3bde,_0x2c9b22){return _0xed3bde(_0x2c9b22);},'FFScC':function(_0x15fff0){return _0x15fff0();},'BakfL':function(_0x27a38c,_0x4a7361){return _0x27a38c===_0x4a7361;},'MKwVf':function(_0x5b7d42){return _0x5b7d42();},'Hymzs':function(_0xee8777,_0x4ed5ae,_0x32468b){return _0xee8777(_0x4ed5ae,_0x32468b);},'UnRBO':function(_0x19c829){return _0x19c829();}},_0x783a83=_0x2e7e39[_0x589f73(0x220)];let _0x1f02d2=0x0;const _0xa1076a=async()=>{const _0x4758ed=_0x589f73;if(_0x2f9e9d[_0x4758ed(0x20c)](_0x1f02d2,_0x53f8b8))throw _0x2f9e9d['CsUfY'];const _0x55b04a=sendMessagePool[_0x2e7e39[_0x4758ed(0x220)]];if(_0x55b04a)return await _0x2f9e9d['sTdyc'](sleep,0x1f4),_0x1f02d2+=0x1f4,await _0x2f9e9d[_0x4758ed(0x214)](_0xa1076a);else return;};return await _0x2f9e9d[_0x589f73(0x206)](_0xa1076a),new Promise((_0x4d1ff2,_0x4afb89)=>{const _0x3ada7e=_0x589f73,_0x483231={'fcOMM':function(_0x99d2c7,_0x8974fd){return _0x2f9e9d['BakfL'](_0x99d2c7,_0x8974fd);},'wbQey':function(_0x446cea,_0x4d9fb7){return _0x446cea===_0x4d9fb7;}};let _0x106b0a=![],_0x2059d8=null;const _0x442ded=_0x2f9e9d[_0x3ada7e(0x1e1)](randomUUID);sendSuccessCBMap[_0x442ded]=_0x1f0175=>{const _0x5d8fe0=_0x3ada7e;if(_0x483231[_0x5d8fe0(0x1e0)](_0x1f0175[_0x5d8fe0(0x208)],_0x2059d8?.[_0x5d8fe0(0x208)])){if(_0x483231['wbQey'](_0x1f0175[_0x5d8fe0(0x1d9)],0x2))return delete sendSuccessCBMap[_0x442ded],_0x106b0a=!![],_0x4d1ff2(_0x1f0175),!![];return![];}return![];},sendMessagePool[_0x783a83]=async _0xe41cf=>{delete sendMessagePool[_0x783a83],_0x2059d8=_0xe41cf;},_0x2f9e9d['Hymzs'](setTimeout,()=>{const _0x308a17=_0x3ada7e;if(_0x106b0a)return;delete sendMessagePool[_0x783a83],delete sendSuccessCBMap[_0x442ded],_0x4afb89(_0x308a17(0x20b));},_0x53f8b8);const _0x5452c8=napCatCore[_0x3ada7e(0x202)][_0x3ada7e(0x1dc)]()[_0x3ada7e(0x211)]('0',_0x2e7e39,_0x3a6198,new Map());});}static async[_0x1ef774(0x1ec)](_0x15972f,_0x6427d6,_0x3a60e5){const _0x5389a0=_0x1ef774;return napCatCore['session']['getMsgService']()[_0x5389a0(0x1ec)](_0x3a60e5,_0x15972f,[_0x6427d6],new Map());}static async[_0x1ef774(0x209)](_0x10e3e5,_0xe017f,_0x226f9d){const _0x21397f=_0x1ef774,_0x41b0d0={'kfSgP':function(_0x1fa60b,_0x26bbad){return _0x1fa60b!=_0x26bbad;},'LbOaX':_0x21397f(0x1ff),'qWqGE':function(_0x2d8d46,_0x54e831){return _0x2d8d46==_0x54e831;},'QeXTH':function(_0x21e193,_0x4fe9df){return _0x21e193(_0x4fe9df);},'cjchr':_0x21397f(0x20d),'eqSlZ':function(_0x5bb684){return _0x5bb684();},'miABg':function(_0x15d321,_0x25cd29,_0x328c96){return _0x15d321(_0x25cd29,_0x328c96);}},_0x4089e9=_0x226f9d[_0x21397f(0x1fc)](_0x5462e2=>{const _0x2dec8b=_0x21397f;return{'msgId':_0x5462e2,'senderShowName':selfInfo[_0x2dec8b(0x1e8)]};});return new Promise((_0x530774,_0xa4a27a)=>{const _0x3c149f=_0x21397f,_0x4a7f44={'Zsjry':function(_0x21af2f,_0x516521){const _0x3bea15=_0x4f15;return _0x41b0d0[_0x3bea15(0x1d6)](_0x21af2f,_0x516521);},'lFTYL':_0x41b0d0[_0x3c149f(0x1dd)]};let _0x34e88d=![];const _0x2f2347=_0x5d90c2=>{const _0x32145c=_0x3c149f,_0x43ee67=_0x5d90c2[_0x32145c(0x1ee)]['find'](_0x1c7f31=>_0x1c7f31['arkElement']);if(!_0x43ee67)return;const _0x120e4a=JSON[_0x32145c(0x205)](_0x43ee67[_0x32145c(0x1e9)][_0x32145c(0x1f9)]);if(_0x41b0d0[_0x32145c(0x1ed)](_0x120e4a[_0x32145c(0x21d)],_0x41b0d0[_0x32145c(0x1d7)]))return;_0x41b0d0[_0x32145c(0x1df)](_0x5d90c2[_0x32145c(0x220)],_0xe017f[_0x32145c(0x220)])&&_0x5d90c2['senderUid']==selfInfo[_0x32145c(0x21c)]&&(_0x34e88d=!![],_0x41b0d0[_0x32145c(0x1d6)](_0x530774,_0x5d90c2));};sentMsgTasks[_0x3c149f(0x1ea)](_0x41b0d0[_0x3c149f(0x1e2)](randomUUID),_0x2f2347),_0x41b0d0['miABg'](setTimeout,()=>{const _0x4650b8=_0x3c149f;!_0x34e88d&&_0x4a7f44[_0x4650b8(0x1fd)](_0xa4a27a,_0x4a7f44[_0x4650b8(0x1e4)]);},0x1388),napCatCore[_0x3c149f(0x202)]['getMsgService']()[_0x3c149f(0x200)](_0x4089e9,_0x10e3e5,_0xe017f,[],new Map());});}}function _0xd0b0(){const _0x325433=['sendStatus','341257tcsyuL','4760330juxtzM','getMsgService','cjchr','getMultiMsg','qWqGE','fcOMM','MKwVf','eqSlZ','196YbKUHF','lFTYL','YelDC','catch','124788AYVSRK','nick','arkElement','set','oKpCa','forwardMsg','kfSgP','elements','2041145ntKABW','7LMgfNO','42712Aowttx','getMsgsBySeqAndCount','then','ruzBR','9cSMqbP','6oRFuDR','setMsgEmojiLikes','275KVnGxk','bytesData','setMsgRead','activateChatAndGetHistory','map','Zsjry','wrlCR','com.tencent.multimsg','multiForwardMsgWithComment','item','session','forEach','setEmojiLike','parse','UnRBO','addListener','msgId','multiForwardMsg','delete','发送超时','euZiJ','转发消息超时','getMsgsByMsgId','46262easbbt','Hxqla','sendMsg','length','获取群文件列表超时','FFScC','getRichMediaService','tOtIS','recallMsg','qzyMy','1284TEeboz','getGroupFileList','onGroupFileInfoUpdate','uid','app','qAUaQ','JlTiz','peerUid','fBbVA','onAddSendMsg','fetchRecentContact','getMsgsIncludeSelf','activateChat','QeXTH','LbOaX','getMsgHistory'];_0xd0b0=function(){return _0x325433;};return _0xd0b0();} \ No newline at end of file +const _0xd58e9f=_0x56cb;(function(_0x42dd63,_0x136564){const _0x54f6e1=_0x56cb,_0x11bb5f=_0x42dd63();while(!![]){try{const _0x17c8ac=-parseInt(_0x54f6e1(0x1e7))/0x1*(parseInt(_0x54f6e1(0x217))/0x2)+parseInt(_0x54f6e1(0x21e))/0x3*(parseInt(_0x54f6e1(0x206))/0x4)+-parseInt(_0x54f6e1(0x1eb))/0x5+-parseInt(_0x54f6e1(0x210))/0x6*(parseInt(_0x54f6e1(0x213))/0x7)+parseInt(_0x54f6e1(0x207))/0x8*(parseInt(_0x54f6e1(0x1e4))/0x9)+-parseInt(_0x54f6e1(0x20a))/0xa+parseInt(_0x54f6e1(0x1f6))/0xb;if(_0x17c8ac===_0x136564)break;else _0x11bb5f['push'](_0x11bb5f['shift']());}catch(_0x36f9a4){_0x11bb5f['push'](_0x11bb5f['shift']());}}}(_0x14db,0xa7fbd));import{selfInfo}from'@/core/data';function _0x56cb(_0x3b71ea,_0x227ea7){const _0x14dbf6=_0x14db();return _0x56cb=function(_0x56cbb2,_0x4067ed){_0x56cbb2=_0x56cbb2-0x1e4;let _0x1c7aa1=_0x14dbf6[_0x56cbb2];return _0x1c7aa1;},_0x56cb(_0x3b71ea,_0x227ea7);}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x14db(){const _0x3be266=['app','2EFkeCi','getMsgService','map','set','getMsgsByMsgId','getMsgsBySeqAndCount','msgId','621009EOsCAe','SUVZL','setMsgRead','cFujH','onLoginSuccess','bytesData','CjRZz','getRichMediaService','forwardMsg','9zjnJQl','uRkTC','bZOgL','662557qRTwAF','转发消息超时','wSFJt','peerUid','4634885sgplzv','setEmojiLike','nick','MHdJW','JFQUJ','item','NWcpy','sendMsg','catch','activateChatAndGetHistory','iFjLs','17791807IRpSxl','sendStatus','forEach','setMsgEmojiLikes','multiForwardMsgWithComment','session','rUNvu','tiJHl','发送超时','arkElement','toString','recallMsg','getGroupFileList','chatType','parse','delete','20FIRPPI','7209704QXxUlX','zNuhL','length','3579870ndiAjW','com.tencent.multimsg','senderUid','then','uid','multiForwardMsg','5508498nRGneL','hkgmW','getMultiMsg','7YdGAzP','find','AOpLP'];_0x14db=function(){return _0x3be266;};return _0x14db();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x335385=>{const _0x173fb2=_0x56cb;for(const [_0x444e70,_0x4f1426]of GroupFileInfoUpdateTasks){_0x4f1426(_0x335385),GroupFileInfoUpdateTasks[_0x173fb2(0x205)](_0x444e70);}},msgListener['onAddSendMsg']=_0x55e990=>{const _0x4c6a8b=_0x56cb,_0x21a7bd={'hTIRv':function(_0x2a5e6a,_0x3331a2){return _0x2a5e6a instanceof _0x3331a2;}};for(const [_0x23e82f,_0x3e0fbf]of sentMsgTasks){_0x3e0fbf(_0x55e990),sentMsgTasks[_0x4c6a8b(0x205)](_0x23e82f);}if(sendMessagePool[_0x55e990[_0x4c6a8b(0x1ea)]]){const _0x440a9f=sendMessagePool[_0x55e990[_0x4c6a8b(0x1ea)]]?.(_0x55e990);_0x21a7bd['hTIRv'](_0x440a9f,Promise)&&_0x440a9f[_0x4c6a8b(0x20d)]()[_0x4c6a8b(0x1f3)](logError);}},msgListener['onMsgInfoListUpdate']=_0x166c99=>{const _0x20b672=_0x56cb,_0x289689={'bZOgL':function(_0x104ee6,_0x594bec){return _0x104ee6(_0x594bec);}};_0x166c99[_0x20b672(0x1f8)](_0x1b81cb=>{const _0x34da94=_0x20b672,_0x1974a2={'wSFJt':function(_0x16799c,_0x428916){const _0x453634=_0x56cb;return _0x289689[_0x453634(0x1e6)](_0x16799c,_0x428916);}};new Promise((_0x3d46b9,_0x384ec4)=>{const _0x17ee96=_0x56cb;for(const _0xda943f in sendSuccessCBMap){const _0x274cff=sendSuccessCBMap[_0xda943f],_0x5a6be7=_0x1974a2[_0x17ee96(0x1e9)](_0x274cff,_0x1b81cb),_0x5b68e7=_0x112514=>{_0x112514&&delete sendSuccessCBMap[_0xda943f];};_0x5a6be7 instanceof Promise?_0x5a6be7['then'](_0x5b68e7):_0x1974a2[_0x17ee96(0x1e9)](_0x5b68e7,_0x5a6be7);}})[_0x34da94(0x20d)]()[_0x34da94(0x1f3)](log);});},setTimeout(()=>{const _0x2c6f6b=_0x56cb;napCatCore[_0x2c6f6b(0x222)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xd58e9f(0x1ec)](_0x20beb3,_0x2eeba9,_0x2c6ac1,_0x3848f1=!![]){const _0x184700=_0xd58e9f,_0x33331f={'jVVXy':function(_0x42af0f,_0x3fe8a0){return _0x42af0f>_0x3fe8a0;}};return _0x2c6ac1=_0x2c6ac1[_0x184700(0x200)](),napCatCore[_0x184700(0x1fb)][_0x184700(0x218)]()[_0x184700(0x1f9)](_0x20beb3,_0x2eeba9,_0x2c6ac1,_0x33331f['jVVXy'](_0x2c6ac1[_0x184700(0x209)],0x3)?'2':'1',_0x3848f1);}static async[_0xd58e9f(0x212)](_0xa6194d,_0x2ddbb3,_0x3a43e7){const _0x45236c=_0xd58e9f;return napCatCore['session'][_0x45236c(0x218)]()[_0x45236c(0x212)](_0xa6194d,_0x2ddbb3,_0x3a43e7);}static async[_0xd58e9f(0x21b)](_0x212ee8,_0x2bd6c9){const _0x245888=_0xd58e9f;return await napCatCore[_0x245888(0x1fb)][_0x245888(0x218)]()[_0x245888(0x21b)](_0x212ee8,_0x2bd6c9);}static async[_0xd58e9f(0x21c)](_0x5c5ee6,_0x1eefb6,_0x474b0a,_0x9f747,_0x5bde6e){const _0x39c437=_0xd58e9f;return await napCatCore[_0x39c437(0x1fb)][_0x39c437(0x218)]()['getMsgsBySeqAndCount'](_0x5c5ee6,_0x1eefb6,_0x474b0a,_0x9f747,_0x5bde6e);}static async['activateChat'](_0x5c045a){}static async[_0xd58e9f(0x1f4)](_0x1a376d){}static async[_0xd58e9f(0x220)](_0x4b841b){const _0x58def2=_0xd58e9f;return napCatCore['session'][_0x58def2(0x218)]()['setMsgRead'](_0x4b841b);}static async[_0xd58e9f(0x202)](_0x38627f,_0x49402d){const _0x1305c0={'tiJHl':function(_0x459163,_0x1d76a2){return _0x459163(_0x1d76a2);},'pcXdB':function(_0xe2d62f){return _0xe2d62f();}};return new Promise(async(_0x4daf69,_0x8702c8)=>{const _0x27fb28=_0x56cb,_0xc64c7f={'iFjLs':function(_0x4fae40,_0x42789b){return _0x4fae40(_0x42789b);}};let _0x6a5412=![];setTimeout(()=>{const _0x317f66=_0x56cb;!_0x6a5412&&_0x1305c0[_0x317f66(0x1fd)](_0x8702c8,'获取群文件列表超时');},0x1388);const _0x2c4eb8=_0x204fa3=>{const _0x38450a=_0x56cb;_0x6a5412=!![],_0xc64c7f[_0x38450a(0x1f5)](_0x4daf69,_0x204fa3[_0x38450a(0x1f0)]);};GroupFileInfoUpdateTasks[_0x27fb28(0x21a)](_0x1305c0['pcXdB'](randomUUID),_0x2c4eb8),await napCatCore[_0x27fb28(0x1fb)][_0x27fb28(0x225)]()['getGroupFileList'](_0x38627f,_0x49402d);});}static async['getMsgHistory'](_0x4df171,_0x5377c9,_0x5d072b){const _0x8470db=_0xd58e9f;return napCatCore['session'][_0x8470db(0x218)]()['getMsgsIncludeSelf'](_0x4df171,_0x5377c9,_0x5d072b,!![]);}static async['fetchRecentContact'](){}static async[_0xd58e9f(0x201)](_0x390ce0,_0x25b45){const _0x1d428a=_0xd58e9f;await napCatCore[_0x1d428a(0x1fb)][_0x1d428a(0x218)]()[_0x1d428a(0x201)]({'chatType':_0x390ce0[_0x1d428a(0x203)],'peerUid':_0x390ce0[_0x1d428a(0x1ea)]},_0x25b45);}static async[_0xd58e9f(0x1f2)](_0x35793d,_0x55b297,_0x30f483=!![],_0x3a62da=0x2710){const _0x4c4c2a=_0xd58e9f,_0x515cc4={'hkgmW':function(_0x52c75f,_0x271ad3){return _0x52c75f>_0x271ad3;},'AOpLP':_0x4c4c2a(0x1fe),'jbTLr':function(_0x20fed8,_0x3dbbd5){return _0x20fed8(_0x3dbbd5);},'CjRZz':function(_0x1a5ac9){return _0x1a5ac9();},'lHOnO':function(_0x1ab332,_0x114475){return _0x1ab332===_0x114475;},'rUNvu':function(_0x4c85ed,_0x4e06c5){return _0x4c85ed===_0x4e06c5;},'oCZhr':function(_0x1dcb2e){return _0x1dcb2e();}},_0x645678=_0x35793d['peerUid'];let _0x2e6af6=0x0;const _0x539662=async()=>{const _0x19765d=_0x4c4c2a;if(_0x515cc4[_0x19765d(0x211)](_0x2e6af6,_0x3a62da))throw _0x515cc4[_0x19765d(0x215)];const _0x23b179=sendMessagePool[_0x35793d[_0x19765d(0x1ea)]];if(_0x23b179)return await _0x515cc4['jbTLr'](sleep,0x1f4),_0x2e6af6+=0x1f4,await _0x515cc4[_0x19765d(0x224)](_0x539662);else return;};return await _0x539662(),new Promise((_0xbeb577,_0x58c354)=>{const _0x2ae6c7=_0x4c4c2a;let _0xfb9f69=![],_0xea145f=null;const _0x2c6929=_0x515cc4['oCZhr'](randomUUID);sendSuccessCBMap[_0x2c6929]=_0x52c157=>{const _0x2e64c3=_0x56cb;if(_0x515cc4['lHOnO'](_0x52c157[_0x2e64c3(0x21d)],_0xea145f?.['msgId'])){if(_0x515cc4[_0x2e64c3(0x1fc)](_0x52c157[_0x2e64c3(0x1f7)],0x2))return delete sendSuccessCBMap[_0x2c6929],_0xfb9f69=!![],_0xbeb577(_0x52c157),!![];return![];}return![];},sendMessagePool[_0x645678]=async _0x51b898=>{delete sendMessagePool[_0x645678],_0xea145f=_0x51b898;},setTimeout(()=>{const _0x5dc121=_0x56cb;if(_0xfb9f69)return;delete sendMessagePool[_0x645678],delete sendSuccessCBMap[_0x2c6929],_0x58c354(_0x515cc4[_0x5dc121(0x215)]);},_0x3a62da);const _0x551980=napCatCore[_0x2ae6c7(0x1fb)][_0x2ae6c7(0x218)]()[_0x2ae6c7(0x1f2)]('0',_0x35793d,_0x55b297,new Map());});}static async[_0xd58e9f(0x226)](_0x3e4dc6,_0x35b15a,_0x48777c){const _0x3b5cfa=_0xd58e9f;return napCatCore[_0x3b5cfa(0x1fb)]['getMsgService']()['forwardMsg'](_0x48777c,_0x3e4dc6,[_0x35b15a],new Map());}static async[_0xd58e9f(0x20f)](_0x4f4938,_0x2f90bc,_0x1eb8e0){const _0x375a35=_0xd58e9f,_0x168213={'MHdJW':function(_0x3d6176,_0x1ab865){return _0x3d6176!=_0x1ab865;},'cFujH':function(_0x302623,_0x1081ed){return _0x302623==_0x1081ed;},'zNuhL':function(_0x4e9ddf,_0x4bd3a9){return _0x4e9ddf(_0x4bd3a9);}},_0xe1d91a=_0x1eb8e0[_0x375a35(0x219)](_0x19b9d9=>{const _0x4bab4f=_0x375a35;return{'msgId':_0x19b9d9,'senderShowName':selfInfo[_0x4bab4f(0x1ed)]};});return new Promise((_0xe7ca02,_0x5c90bb)=>{const _0x44ca52=_0x375a35,_0x5358ff={'NWcpy':function(_0x2d909a,_0x5ee08b){const _0x2c4b7e=_0x56cb;return _0x168213[_0x2c4b7e(0x1ee)](_0x2d909a,_0x5ee08b);},'LZgui':_0x44ca52(0x20b),'JFQUJ':function(_0x57d866,_0x11623a){const _0x4f2599=_0x44ca52;return _0x168213[_0x4f2599(0x221)](_0x57d866,_0x11623a);},'uRkTC':function(_0x55d335,_0x4d4910){return _0x55d335==_0x4d4910;},'SUVZL':function(_0x859d0b,_0xfbeccf){const _0x118b52=_0x44ca52;return _0x168213[_0x118b52(0x208)](_0x859d0b,_0xfbeccf);},'hIgFT':function(_0x5a371d,_0xb07f9e){return _0x168213['zNuhL'](_0x5a371d,_0xb07f9e);}};let _0x3432b6=![];const _0x562142=_0x36e435=>{const _0x1e48c1=_0x44ca52,_0x45b2da=_0x36e435['elements'][_0x1e48c1(0x214)](_0x404fc0=>_0x404fc0[_0x1e48c1(0x1ff)]);if(!_0x45b2da)return;const _0x1dddd5=JSON[_0x1e48c1(0x204)](_0x45b2da['arkElement'][_0x1e48c1(0x223)]);if(_0x5358ff[_0x1e48c1(0x1f1)](_0x1dddd5[_0x1e48c1(0x216)],_0x5358ff['LZgui']))return;_0x5358ff[_0x1e48c1(0x1ef)](_0x36e435['peerUid'],_0x2f90bc['peerUid'])&&_0x5358ff[_0x1e48c1(0x1e5)](_0x36e435[_0x1e48c1(0x20c)],selfInfo[_0x1e48c1(0x20e)])&&(_0x3432b6=!![],_0x5358ff[_0x1e48c1(0x21f)](_0xe7ca02,_0x36e435));};sentMsgTasks['set'](randomUUID(),_0x562142),setTimeout(()=>{const _0x2b801d=_0x44ca52;!_0x3432b6&&_0x5358ff['hIgFT'](_0x5c90bb,_0x2b801d(0x1e8));},0x1388),napCatCore['session']['getMsgService']()[_0x44ca52(0x1fa)](_0xe1d91a,_0x4f4938,_0x2f90bc,[],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 89a2504f..3a40b372 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0x5e3d(){const _0x425242=['getSkey','com.tencent.miniapp.lua','p_skey','GCwIH','4835835flkUVS','2065738uGbUiY','jumpUrl','ARbfh','tianxuan.imgJumpArk','pYNqY','miniapp','4374856MPkqYg','\x5c/\x5c/','IZRUd','replace','1760019CkIhhd','stringify','yWuwz','prompt','667582uBgKtV','Calyl','oXKHL','sourcelogo','dZCLr','skey','genBkn','gwAPV','lxcMN',';\x20skey=','getQzoneCookies','uin','IbStf','6057849fbIFEQ','p_skey=','HttpGetJson','gIaBb','tag','source',';\x20p_uin=o',';\x20uin=o','cjopf','signed_ark','1265394InGAqs'];_0x5e3d=function(){return _0x425242;};return _0x5e3d();}function _0x20e4(_0xc47d9d,_0x42baea){const _0x5e3d5c=_0x5e3d();return _0x20e4=function(_0x20e428,_0x66ca1){_0x20e428=_0x20e428-0xa7;let _0x5d9c83=_0x5e3d5c[_0x20e428];return _0x5d9c83;},_0x20e4(_0xc47d9d,_0x42baea);}(function(_0x1669f9,_0x477e15){const _0xef7b5a=_0x20e4,_0x513443=_0x1669f9();while(!![]){try{const _0x35aeea=parseInt(_0xef7b5a(0xaa))/0x1+parseInt(_0xef7b5a(0xc7))/0x2+-parseInt(_0xef7b5a(0xd1))/0x3+parseInt(_0xef7b5a(0xcd))/0x4+-parseInt(_0xef7b5a(0xc6))/0x5+parseInt(_0xef7b5a(0xc1))/0x6+-parseInt(_0xef7b5a(0xb7))/0x7;if(_0x35aeea===_0x477e15)break;else _0x513443['push'](_0x513443['shift']());}catch(_0x2e7e6c){_0x513443['push'](_0x513443['shift']());}}}(_0x5e3d,0x8f059));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x20e6b6){const _0x1480cb=_0x20e4,_0x47d20c={'dZCLr':_0x1480cb(0xca),'xduyF':'normal','ARbfh':_0x1480cb(0xce),'IbStf':function(_0x1dea02,_0x1179d6){return _0x1dea02+_0x1179d6;},'lxcMN':function(_0x219f6a,_0x1c9623){return _0x219f6a+_0x1c9623;},'SVczK':function(_0x3589eb,_0x3882bd){return _0x3589eb+_0x3882bd;},'gIaBb':function(_0x3813f8,_0x46e1f8){return _0x3813f8+_0x46e1f8;},'cjopf':_0x1480cb(0xb3),'IZRUd':_0x1480cb(0xbd),'oXKHL':_0x1480cb(0xbe),'yWuwz':function(_0x52f2f6,_0x4b41c5){return _0x52f2f6+_0x4b41c5;},'Calyl':'https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','pYNqY':'&ark=','GCwIH':'GET','Mgnqn':function(_0x6d568c,_0x4c21c1,_0x951c93){return _0x6d568c(_0x4c21c1,_0x951c93);},'gwAPV':'MiniApp\x20JSON\x20消息生成失败'};let _0x31f788={'app':_0x1480cb(0xc3),'bizsrc':_0x47d20c[_0x1480cb(0xae)],'view':_0x1480cb(0xcc),'prompt':_0x20e6b6[_0x1480cb(0xa9)],'config':{'type':_0x47d20c['xduyF'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x20e6b6['title'],'preview':_0x20e6b6['preview'][_0x1480cb(0xd0)](/\\/g,_0x47d20c[_0x1480cb(0xc9)]),'jumpUrl':_0x20e6b6[_0x1480cb(0xc8)][_0x1480cb(0xd0)](/\\/g,_0x47d20c[_0x1480cb(0xc9)]),'tag':_0x20e6b6[_0x1480cb(0xbb)],'tagIcon':_0x20e6b6['tagIcon']['replace'](/\\/g,_0x1480cb(0xce)),'source':_0x20e6b6[_0x1480cb(0xbc)],'sourcelogo':_0x20e6b6[_0x1480cb(0xad)][_0x1480cb(0xd0)](/\\/g,_0x47d20c[_0x1480cb(0xc9)])}}};const _0x57bd58=await NTQQUserApi[_0x1480cb(0xc2)]();let _0x395ad6=await NTQQUserApi[_0x1480cb(0xb4)]();const _0x3f7de4=WebApi[_0x1480cb(0xb0)](_0x395ad6[_0x1480cb(0xc4)]),_0x2c713b=_0x47d20c['IbStf'](_0x47d20c[_0x1480cb(0xb6)](_0x47d20c[_0x1480cb(0xb6)](_0x47d20c[_0x1480cb(0xb2)](_0x47d20c['SVczK'](_0x47d20c[_0x1480cb(0xb6)](_0x47d20c[_0x1480cb(0xba)](_0x1480cb(0xb8),_0x395ad6[_0x1480cb(0xc4)]),_0x47d20c[_0x1480cb(0xbf)]),_0x395ad6[_0x1480cb(0xaf)]),_0x47d20c[_0x1480cb(0xcf)]),selfInfo[_0x1480cb(0xb5)]),_0x47d20c[_0x1480cb(0xac)]),selfInfo['uin']);let _0x28dd62=_0x47d20c[_0x1480cb(0xb2)](_0x47d20c[_0x1480cb(0xa8)](_0x47d20c[_0x1480cb(0xab)],_0x3f7de4)+_0x47d20c[_0x1480cb(0xcb)],encodeURIComponent(JSON[_0x1480cb(0xa7)](_0x31f788))),_0x4e30b1='';try{let _0xeef550=await RequestUtil[_0x1480cb(0xb9)](_0x28dd62,_0x47d20c[_0x1480cb(0xc5)],undefined,{'Cookie':_0x2c713b});_0x4e30b1=_0xeef550['data'][_0x1480cb(0xc0)];}catch(_0x3bcc3e){_0x47d20c['Mgnqn'](logDebug,_0x47d20c[_0x1480cb(0xb1)],_0x3bcc3e);}return _0x4e30b1;} \ No newline at end of file +function _0x44dc(){const _0x1bef26=['preview','312zyeoRL','uin','4AAfMHW','1731788kNQBWL','GET','hNvYw','normal','FOqhW','getSkey','Itgml','JmkDj',';\x20uin=o',';\x20skey=','miniapp','33047MvPYUD','com.tencent.miniapp.lua','qyeLd','eQgiu','jumpUrl','1169652XZwwjP','&ark=','HttpGetJson','KRhWx','replace','CEPAR','232741bhyWGQ','skey','tag','genBkn','tagIcon','prompt','cssMZ','638390veDYEv','data','171oFcGRg','p_skey=','uAbUg','signed_ark','448857exEpoS','BhFlF','getQzoneCookies','\x5c/\x5c/','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','629880ZiAWSA'];_0x44dc=function(){return _0x1bef26;};return _0x44dc();}(function(_0x545921,_0x23fadc){const _0x2554a7=_0x52c9,_0x862306=_0x545921();while(!![]){try{const _0x45c422=-parseInt(_0x2554a7(0x17c))/0x1*(parseInt(_0x2554a7(0x165))/0x2)+parseInt(_0x2554a7(0x15c))/0x3+-parseInt(_0x2554a7(0x166))/0x4+-parseInt(_0x2554a7(0x161))/0x5+-parseInt(_0x2554a7(0x176))/0x6+-parseInt(_0x2554a7(0x171))/0x7*(-parseInt(_0x2554a7(0x163))/0x8)+-parseInt(_0x2554a7(0x185))/0x9*(-parseInt(_0x2554a7(0x183))/0xa);if(_0x45c422===_0x23fadc)break;else _0x862306['push'](_0x862306['shift']());}catch(_0x53cc57){_0x862306['push'](_0x862306['shift']());}}}(_0x44dc,0x4fea4));import{logDebug}from'@/common/utils/log';function _0x52c9(_0x1dff9d,_0x551d80){const _0x44dc4b=_0x44dc();return _0x52c9=function(_0x52c9fe,_0x4f4bae){_0x52c9fe=_0x52c9fe-0x15b;let _0x5b94f5=_0x44dc4b[_0x52c9fe];return _0x5b94f5;},_0x52c9(_0x1dff9d,_0x551d80);}import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x4ad3b3){const _0x1eb403=_0x52c9,_0x33da63={'JmkDj':_0x1eb403(0x172),'FOqhW':'tianxuan.imgJumpArk','uAbUg':_0x1eb403(0x170),'hNvYw':'\x5c/\x5c/','eQgiu':function(_0x10fd22,_0x404e44){return _0x10fd22+_0x404e44;},'cssMZ':function(_0x72ffc4,_0xc81475){return _0x72ffc4+_0xc81475;},'KRhWx':function(_0x4f4f25,_0xe633dc){return _0x4f4f25+_0xe633dc;},'BhFlF':_0x1eb403(0x16f),'qyeLd':function(_0x3699f4,_0x2a78d2){return _0x3699f4+_0x2a78d2;},'Itgml':_0x1eb403(0x160),'CEPAR':function(_0x3fe661,_0x53468e){return _0x3fe661(_0x53468e);},'HrCRx':function(_0x5628a8,_0x14dfcf,_0x2c1ef2){return _0x5628a8(_0x14dfcf,_0x2c1ef2);},'BntkV':'MiniApp\x20JSON\x20消息生成失败'};let _0x1f001e={'app':_0x33da63[_0x1eb403(0x16d)],'bizsrc':_0x33da63[_0x1eb403(0x16a)],'view':_0x33da63[_0x1eb403(0x187)],'prompt':_0x4ad3b3[_0x1eb403(0x181)],'config':{'type':_0x1eb403(0x169),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x4ad3b3['title'],'preview':_0x4ad3b3[_0x1eb403(0x162)][_0x1eb403(0x17a)](/\\/g,_0x33da63[_0x1eb403(0x168)]),'jumpUrl':_0x4ad3b3[_0x1eb403(0x175)][_0x1eb403(0x17a)](/\\/g,_0x33da63[_0x1eb403(0x168)]),'tag':_0x4ad3b3[_0x1eb403(0x17e)],'tagIcon':_0x4ad3b3[_0x1eb403(0x180)]['replace'](/\\/g,_0x1eb403(0x15f)),'source':_0x4ad3b3['source'],'sourcelogo':_0x4ad3b3['sourcelogo'][_0x1eb403(0x17a)](/\\/g,_0x33da63[_0x1eb403(0x168)])}}};const _0x541be1=await NTQQUserApi[_0x1eb403(0x16b)]();let _0x155982=await NTQQUserApi[_0x1eb403(0x15e)]();const _0x49668d=WebApi[_0x1eb403(0x17f)](_0x155982['p_skey']),_0x2da31c=_0x33da63['eQgiu'](_0x33da63['eQgiu'](_0x33da63[_0x1eb403(0x174)](_0x33da63[_0x1eb403(0x174)](_0x33da63[_0x1eb403(0x182)](_0x33da63[_0x1eb403(0x179)](_0x1eb403(0x186),_0x155982['p_skey']),_0x33da63[_0x1eb403(0x15d)]),_0x155982[_0x1eb403(0x17d)]),';\x20p_uin=o'),selfInfo['uin'])+_0x1eb403(0x16e),selfInfo[_0x1eb403(0x164)]);let _0x522863=_0x33da63[_0x1eb403(0x173)](_0x33da63[_0x1eb403(0x173)](_0x33da63[_0x1eb403(0x174)](_0x33da63[_0x1eb403(0x16c)],_0x49668d),_0x1eb403(0x177)),_0x33da63[_0x1eb403(0x17b)](encodeURIComponent,JSON['stringify'](_0x1f001e))),_0xd55845='';try{let _0x343cb3=await RequestUtil[_0x1eb403(0x178)](_0x522863,_0x1eb403(0x167),undefined,{'Cookie':_0x2da31c});_0xd55845=_0x343cb3[_0x1eb403(0x184)][_0x1eb403(0x15b)];}catch(_0x3e73aa){_0x33da63['HrCRx'](logDebug,_0x33da63['BntkV'],_0x3e73aa);}return _0xd55845;} \ 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 15889c15..12834e36 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x71add8=_0x7ad0;function _0x7ad0(_0x1699b9,_0x418445){var _0x1d38a1=_0x1d38();return _0x7ad0=function(_0x7ad007,_0x51bec8){_0x7ad007=_0x7ad007-0x7a;var _0x653a=_0x1d38a1[_0x7ad007];return _0x653a;},_0x7ad0(_0x1699b9,_0x418445);}function _0x1d38(){var _0x2a3b0c=['4521ZSSmOm','410yaDFoQ','wantWinScreenOCR','10970fXCcIM','hasOtherRunningQQProcess','session','2LSBLjn','util','115458grcBcR','20280vFysgi','738915uzUdyi','1494788PFmzZv','getRichMediaService','296475kTBvHL','40110rIfcaK','117YXAJbd','translateEnWordToZn'];_0x1d38=function(){return _0x2a3b0c;};return _0x1d38();}(function(_0x548d2f,_0x24971d){var _0x2f4103=_0x7ad0,_0x300cb9=_0x548d2f();while(!![]){try{var _0x5dbb58=-parseInt(_0x2f4103(0x84))/0x1*(-parseInt(_0x2f4103(0x7d))/0x2)+parseInt(_0x2f4103(0x81))/0x3+-parseInt(_0x2f4103(0x82))/0x4+-parseInt(_0x2f4103(0x89))/0x5*(-parseInt(_0x2f4103(0x85))/0x6)+-parseInt(_0x2f4103(0x7f))/0x7+-parseInt(_0x2f4103(0x80))/0x8*(-parseInt(_0x2f4103(0x86))/0x9)+-parseInt(_0x2f4103(0x7a))/0xa*(parseInt(_0x2f4103(0x88))/0xb);if(_0x5dbb58===_0x24971d)break;else _0x300cb9['push'](_0x300cb9['shift']());}catch(_0x5530e8){_0x300cb9['push'](_0x300cb9['shift']());}}}(_0x1d38,0x450df));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x71add8(0x7b)](){var _0x26e9ac=_0x71add8;return napCatCore[_0x26e9ac(0x7e)][_0x26e9ac(0x7b)]();}static async['ORCImage'](_0x2e1e5d){var _0xed1a95=_0x71add8;return napCatCore[_0xed1a95(0x7c)]['getNodeMiscService']()[_0xed1a95(0x8a)](_0x2e1e5d);}static async[_0x71add8(0x87)](_0x4342f3){var _0x433e52=_0x71add8;return napCatCore[_0x433e52(0x7c)][_0x433e52(0x83)]()[_0x433e52(0x87)](_0x4342f3);}} \ No newline at end of file +var _0x48fabb=_0x5cdf;function _0x4f01(){var _0x16a11d=['wantWinScreenOCR','678285qErWna','hasOtherRunningQQProcess','7uvBmqp','483438jMCYoh','18992cKhrVp','ORCImage','translateEnWordToZn','util','249953CdtBIb','448392ZhBXuP','39578OGXpGX','session','288728rIRoMw','250BJLnky','getRichMediaService','getNodeMiscService','216QRONSH','3eVoHON'];_0x4f01=function(){return _0x16a11d;};return _0x4f01();}(function(_0x1ae161,_0x5bc7a4){var _0x5b8593=_0x5cdf,_0x1464e5=_0x1ae161();while(!![]){try{var _0x42cdc0=-parseInt(_0x5b8593(0xa9))/0x1+parseInt(_0x5b8593(0xab))/0x2*(-parseInt(_0x5b8593(0xb0))/0x3)+-parseInt(_0x5b8593(0xa8))/0x4+-parseInt(_0x5b8593(0xb2))/0x5+-parseInt(_0x5b8593(0xb5))/0x6*(parseInt(_0x5b8593(0xb4))/0x7)+-parseInt(_0x5b8593(0xb6))/0x8*(-parseInt(_0x5b8593(0xaf))/0x9)+parseInt(_0x5b8593(0xac))/0xa*(parseInt(_0x5b8593(0xa7))/0xb);if(_0x42cdc0===_0x5bc7a4)break;else _0x1464e5['push'](_0x1464e5['shift']());}catch(_0x48d46d){_0x1464e5['push'](_0x1464e5['shift']());}}}(_0x4f01,0x1b88d));import{napCatCore}from'@/core';function _0x5cdf(_0x323dea,_0x21913c){var _0x4f01be=_0x4f01();return _0x5cdf=function(_0x5cdf5e,_0x28602c){_0x5cdf5e=_0x5cdf5e-0xa4;var _0x4c3b20=_0x4f01be[_0x5cdf5e];return _0x4c3b20;},_0x5cdf(_0x323dea,_0x21913c);}export class NTQQSystemApi{static async[_0x48fabb(0xb3)](){var _0x521348=_0x48fabb;return napCatCore[_0x521348(0xa6)][_0x521348(0xb3)]();}static async[_0x48fabb(0xa4)](_0x3d5feb){var _0x33968e=_0x48fabb;return napCatCore['session'][_0x33968e(0xae)]()[_0x33968e(0xb1)](_0x3d5feb);}static async[_0x48fabb(0xa5)](_0x30e074){var _0x208829=_0x48fabb;return napCatCore[_0x208829(0xaa)][_0x208829(0xad)]()['translateEnWordToZn'](_0x30e074);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index ba226c4f..3804cdfc 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -function _0x5802(_0x15e69b,_0x1ce3c3){const _0x3d0966=_0x3d09();return _0x5802=function(_0x58024a,_0x573aa0){_0x58024a=_0x58024a-0xdb;let _0x395c64=_0x3d0966[_0x58024a];return _0x395c64;},_0x5802(_0x15e69b,_0x1ce3c3);}function _0x3d09(){const _0x217a2b=['forceFetchClientKey','get','HttpsGetCookies','gNayy','Xqojt','wkdNj','polDB','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','length','like','result','response','getRobotUinRange','getUserDetailInfo','GcWrd','2138MPxpjx','setQQAvatar','keyIndex','getProfileLikeService','16SjfPMj','session','CBDDf','delete','Skey','请求获取Skey时失败','2819802HvnKrd','setBuddyProfileLike','uid','qfOXW','domainPskeyMap','5465710JJwydJ','KeyIndex','EdQUF','getRobotService','请求获取Cookies时失败','getUserDetailInfoWithBizInfo','LrvLm','XBoZc','CreatTime','PskeyTime','now','YLXbj','getPskey','kGxYm','DKBFp','SwRok','addListener','getPSkey','2062224ocwxmN','forEach','getSelfInfo','push','getUserInfo','PskeyData','486825hxQrgQ','errMsg','setHeader','onLoginSuccess','42wgfSXX','709152XZeuqP','set','oQYsw','IIdvc','fromEntries','getMsgService','setStatus','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','getQzoneCookies','ClientKey','获取Pskey失败','entries','SFqPj','50TXtjYk','uin','getTicketService','Ksfrl','7642593avkVtT','getSkey','getUserDetailInfo\x20timeout'];_0x3d09=function(){return _0x217a2b;};return _0x3d09();}const _0x395722=_0x5802;(function(_0x357c6a,_0x413646){const _0xe2e226=_0x5802,_0x3a274e=_0x357c6a();while(!![]){try{const _0x35f28b=parseInt(_0xe2e226(0x100))/0x1*(parseInt(_0xe2e226(0xea))/0x2)+-parseInt(_0xe2e226(0x121))/0x3+parseInt(_0xe2e226(0x104))/0x4*(parseInt(_0xe2e226(0x127))/0x5)+parseInt(_0xe2e226(0x10a))/0x6+-parseInt(_0xe2e226(0xdc))/0x7*(-parseInt(_0xe2e226(0xdd))/0x8)+-parseInt(_0xe2e226(0xee))/0x9+parseInt(_0xe2e226(0x10f))/0xa;if(_0x35f28b===_0x413646)break;else _0x3a274e['push'](_0x3a274e['shift']());}catch(_0x493338){_0x3a274e['push'](_0x3a274e['shift']());}}}(_0x3d09,0x6f047));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x5d5217=>{const _0x2bff1c=_0x5802;userInfoCache[_0x5d5217[_0x2bff1c(0x10c)]]=_0x5d5217,userDetailHandlers[_0x2bff1c(0x122)](_0x2667f7=>_0x2667f7(_0x5d5217));},setTimeout(()=>{const _0x5731d3=_0x5802;napCatCore[_0x5731d3(0xdb)](()=>{const _0x11beb7=_0x5731d3;napCatCore[_0x11beb7(0x11f)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x14eb2f,_0x50a07c,_0x3b308e){const _0x5addfb=_0x5802;return napCatCore[_0x5addfb(0x105)][_0x5addfb(0xe2)]()[_0x5addfb(0xe3)]({'status':_0x14eb2f,'extStatus':_0x50a07c,'batteryStatus':_0x3b308e});}static async[_0x395722(0xfa)](_0x30cb5d,_0x4255f8=0x1){const _0xc07d3e=_0x395722;return napCatCore[_0xc07d3e(0x105)][_0xc07d3e(0x103)]()[_0xc07d3e(0x10b)]({'friendUid':_0x30cb5d,'sourceId':0x47,'doLikeCount':_0x4255f8,'doLikeTollCount':0x0});}static async[_0x395722(0x101)](_0x5224cb){const _0x45e41e=_0x395722,_0x10cf4c=napCatCore[_0x45e41e(0x105)]['getProfileService']()[_0x45e41e(0x129)](_0x5224cb);return{'result':_0x10cf4c?.[_0x45e41e(0xfb)],'errMsg':_0x10cf4c?.['errMsg']};}static async[_0x395722(0x123)](){}static async[_0x395722(0x125)](_0x58717c){}static async[_0x395722(0xfe)](_0x12c4d5){const _0x33b41b=_0x395722,_0x4a8d9d={'Xeixd':function(_0x4d1597,_0x4085e7){return _0x4d1597===_0x4085e7;},'qfOXW':function(_0x4337a7,_0x50c913){return _0x4337a7(_0x50c913);},'BevCJ':_0x33b41b(0xf0),'IIdvc':function(_0x5e12ae,_0x2c9a39,_0x19be93){return _0x5e12ae(_0x2c9a39,_0x19be93);}},_0x370aa9=napCatCore['session']['getProfileService']();return new Promise((_0x275b6e,_0x10e79c)=>{const _0x1db64e=_0x33b41b,_0x503528={'gNayy':function(_0x1f30c1,_0x382565){return _0x1f30c1(_0x382565);},'Ksfrl':_0x4a8d9d['BevCJ']},_0x1a0333=randomUUID();let _0x4a04fe=![],_0x412ee2=undefined,_0x2c186c=!![];_0x4a8d9d[_0x1db64e(0xe0)](setTimeout,()=>{const _0x15c0ef=_0x1db64e;!_0x4a04fe&&(_0x412ee2?_0x503528[_0x15c0ef(0xf4)](_0x275b6e,_0x412ee2):_0x10e79c(_0x503528[_0x15c0ef(0xed)])),userDetailHandlers[_0x15c0ef(0x107)](_0x1a0333);},0x1388),userDetailHandlers[_0x1db64e(0xde)](_0x1a0333,_0x1ec86a=>{const _0x230b9e=_0x1db64e;_0x4a8d9d['Xeixd'](_0x1ec86a[_0x230b9e(0x10c)],_0x12c4d5)&&(uid2UinMap[_0x12c4d5]=_0x1ec86a[_0x230b9e(0xeb)],_0x2c186c?(_0x412ee2=_0x1ec86a,_0x2c186c=![]):(_0x4a04fe=!![],_0x4a8d9d[_0x230b9e(0x10d)](_0x275b6e,_0x1ec86a)));}),_0x370aa9[_0x1db64e(0x114)](_0x12c4d5,[0x0])['then'](_0x2f3841=>{});});}static async[_0x395722(0x120)](_0xbf2eb6,_0xf54920=!![]){const _0x593a72=_0x395722,_0x4d8f10={'Bgyek':function(_0x17bf6b,_0x31a930){return _0x17bf6b>_0x31a930;},'kGxYm':function(_0x1735bb,_0x49c9e2){return _0x1735bb-_0x49c9e2;},'oQYsw':function(_0x30f7fd,_0x595ce6){return _0x30f7fd*_0x595ce6;},'SFqPj':function(_0x30301b,_0x216fb8){return _0x30301b===_0x216fb8;},'iPgOn':function(_0x4f2fb6,_0x293230,_0x83fe47){return _0x4f2fb6(_0x293230,_0x83fe47);},'Xqojt':_0x593a72(0xe7)},_0x5d6806=[],_0x5926f5={};for(const _0x149ef4 in _0xbf2eb6){const _0x5825df=Credentials['PskeyData'][_0x593a72(0xf2)](_0xbf2eb6[_0x149ef4]),_0x3e97c0=Credentials['PskeyTime'][_0x593a72(0xf2)](_0xbf2eb6[_0x149ef4]);!_0x5825df||!_0x3e97c0||_0x4d8f10['Bgyek'](_0x4d8f10[_0x593a72(0x11c)](Date[_0x593a72(0x119)](),_0x3e97c0),_0x4d8f10[_0x593a72(0xdf)](0x708,0x3e8))||!_0xf54920?_0x5d6806[_0x593a72(0x124)](_0xbf2eb6[_0x149ef4]):_0x5926f5[_0xbf2eb6[_0x149ef4]]=_0x5825df;}let _0x47ffa8={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x5d6806[_0x593a72(0xf9)]>0x0&&(_0x47ffa8=await napCatCore[_0x593a72(0x105)]['getTipOffService']()[_0x593a72(0x11b)](_0x5d6806,!![]));const _0x2c161e=_0x47ffa8[_0x593a72(0x10e)];for(const _0x5c5376 of _0x2c161e[_0x593a72(0xe8)]()){Credentials[_0x593a72(0x126)][_0x593a72(0xde)](_0x5c5376[0x0],_0x5c5376[0x1]),Credentials[_0x593a72(0x118)][_0x593a72(0xde)](_0x5c5376[0x0],Date[_0x593a72(0x119)]());}const _0x259218=Object['assign'](Object[_0x593a72(0xe1)](_0x2c161e),_0x5926f5);if(_0x4d8f10[_0x593a72(0xe9)](_0x47ffa8[_0x593a72(0xfb)],0x0))return _0x259218;else _0x4d8f10['iPgOn'](logError,_0x4d8f10[_0x593a72(0xf5)],_0x47ffa8[_0x593a72(0x128)]);return{};}static async['getRobotUinRange'](){const _0x164c4c=_0x395722,_0x5ab458=await napCatCore['session'][_0x164c4c(0x112)]()[_0x164c4c(0xfd)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5ab458?.[_0x164c4c(0xfc)]?.['robotUinRanges'];}static async[_0x395722(0xe5)](){const _0x2ef709=_0x395722,_0x4c20bb={'SwRok':function(_0x53b4ee,_0xa1c3f9){return _0x53b4ee+_0xa1c3f9;},'YLXbj':function(_0x1fdd8f,_0x2afa19){return _0x1fdd8f+_0x2afa19;},'LrvLm':function(_0x287fd4,_0x1da909){return _0x287fd4+_0x1da909;},'Xyaku':_0x2ef709(0xe4),'CBDDf':'&clientkey=','tZhEc':_0x2ef709(0xf8),'EdQUF':function(_0x46d817,_0x5d1755,_0x6183a8){return _0x46d817(_0x5d1755,_0x6183a8);},'GcWrd':_0x2ef709(0x113)},_0x39c88e=_0x4c20bb[_0x2ef709(0x11e)](_0x4c20bb[_0x2ef709(0x11a)](_0x4c20bb[_0x2ef709(0x115)](_0x4c20bb[_0x2ef709(0x11a)](_0x4c20bb[_0x2ef709(0x11e)](_0x4c20bb['Xyaku']+selfInfo['uin'],_0x4c20bb[_0x2ef709(0x106)]),Credentials['ClientKey']),_0x4c20bb['tZhEc']),selfInfo[_0x2ef709(0xeb)]),'%2Finfocenter&keyindex=19%27');let _0x244d66={};try{_0x244d66=await RequestUtil[_0x2ef709(0xf3)](_0x39c88e);}catch(_0x37026b){_0x4c20bb[_0x2ef709(0x111)](logDebug,_0x4c20bb[_0x2ef709(0xff)],_0x37026b),_0x244d66={};}return _0x244d66;}static async[_0x395722(0xef)](_0x4a3110=!![]){const _0x45fc65=_0x395722,_0x5702e0={'KBmhU':function(_0x4802ff,_0x3f32cc){return _0x4802ff==_0x3f32cc;},'BsorH':function(_0x44ff9c,_0x2dbb85){return _0x44ff9c-_0x2dbb85;},'GLzYF':function(_0x4ac553,_0x523c25){return _0x4ac553*_0x523c25;},'polDB':function(_0x285fa5,_0xf5035e){return _0x285fa5+_0xf5035e;},'DKBFp':function(_0x4e73e7,_0x5e1877){return _0x4e73e7+_0x5e1877;},'wkdNj':function(_0x5173d7,_0x5c3db4){return _0x5173d7+_0x5c3db4;},'ILOij':function(_0x1f3b13,_0x50638e){return _0x1f3b13+_0x50638e;},'XBoZc':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','hoSJc':function(_0x57948f,_0x469c61,_0x19823a){return _0x57948f(_0x469c61,_0x19823a);},'ekrfZ':_0x45fc65(0x109),'oisJE':'skey'};try{if(_0x5702e0['KBmhU'](Credentials[_0x45fc65(0x117)],0x0)||_0x5702e0['BsorH'](Date[_0x45fc65(0x119)](),Credentials[_0x45fc65(0x117)])>_0x5702e0['GLzYF'](0x3e8,0xe10)||!_0x4a3110){const _0x546168=await napCatCore[_0x45fc65(0x105)][_0x45fc65(0xec)]()[_0x45fc65(0xf1)]('');if(_0x546168[_0x45fc65(0xfb)]!==0x0)return'';const _0x150656=_0x546168['clientKey'],_0x47355a=_0x546168[_0x45fc65(0x102)],_0x3b116e=_0x5702e0[_0x45fc65(0xf7)](_0x5702e0[_0x45fc65(0x11d)](_0x5702e0[_0x45fc65(0xf6)](_0x5702e0['ILOij'](_0x45fc65(0xe4),selfInfo[_0x45fc65(0xeb)])+'&clientkey=',_0x150656),_0x5702e0[_0x45fc65(0x116)]),_0x47355a);let _0x6c6754={};try{_0x6c6754=await RequestUtil[_0x45fc65(0xf3)](_0x3b116e);}catch(_0x42f138){_0x5702e0['hoSJc'](logDebug,_0x5702e0['ekrfZ'],_0x42f138),_0x6c6754={};}const _0x5cf1be=_0x6c6754[_0x5702e0['oisJE']];if(!_0x5cf1be)return'';return Credentials[_0x45fc65(0xe6)]=_0x150656,Credentials[_0x45fc65(0x110)]=_0x47355a,Credentials[_0x45fc65(0x117)]=Date[_0x45fc65(0x119)](),Credentials['Skey']=_0x5cf1be,_0x5cf1be;}return Credentials[_0x45fc65(0x108)];}catch(_0x9b7f6d){}return undefined;}} \ No newline at end of file +const _0x3cb41c=_0x3936;(function(_0x3e6feb,_0x1bcb6a){const _0xc9acc0=_0x3936,_0x38e00d=_0x3e6feb();while(!![]){try{const _0x45dccc=-parseInt(_0xc9acc0(0xac))/0x1+parseInt(_0xc9acc0(0xdc))/0x2*(-parseInt(_0xc9acc0(0xba))/0x3)+-parseInt(_0xc9acc0(0xe9))/0x4*(-parseInt(_0xc9acc0(0xf2))/0x5)+-parseInt(_0xc9acc0(0xce))/0x6+-parseInt(_0xc9acc0(0xe1))/0x7+-parseInt(_0xc9acc0(0xed))/0x8+parseInt(_0xc9acc0(0xb0))/0x9*(parseInt(_0xc9acc0(0xe7))/0xa);if(_0x45dccc===_0x1bcb6a)break;else _0x38e00d['push'](_0x38e00d['shift']());}catch(_0x2481e1){_0x38e00d['push'](_0x38e00d['shift']());}}}(_0x3675,0xeb14c));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';function _0x3675(){const _0x2ba3df=['session','set','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','uin','delete','867836KgoYdC','QLkuh','getRobotUinRange','获取Pskey失败','wZaKE','6141513LSJMxK','keyIndex','getMsgService','ibFaJ','clientKey','then','1672190dQfPQx','length','44984tPrMcN','skey','pXXgf','getRobotService','3745704Inqdxm','KeyIndex','&clientkey=','PskeyData','bhwzP','520KEcGhs','BCugT','RcThk','setQQAvatar','PQXuJ','ClientKey','Skey','请求获取Skey时失败','GuqfJ','onProfileDetailInfoChanged','getTipOffService','QMbyW','JgjDe','get','ACLdB','EvKFL','getProfileService','1814175xmfANQ','%2Finfocenter&keyindex=19%27','uid','setHeader','261nNNHVq','getUserDetailInfo','getQzoneCookies','iBMbg','entries','HttpsGetCookies','CreatTime','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getPSkey','now','9mkwCRd','getProfileLikeService','LIDEI','KfbqA','LuFUY','pPIGk','VJCUC','like','ELvdz','ctaPT','getUserDetailInfo\x20timeout','nReyC','fromEntries','CMoWD','getSelfInfo','addListener','RmQOP','errMsg','getPskey','getTicketService','3567252ZcDVjv','DIOtn','setStatus','domainPskeyMap','result','forEach','WDXot','robotUinRanges','mxlGh'];_0x3675=function(){return _0x2ba3df;};return _0x3675();}import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x3936(_0x22e61d,_0x24615e){const _0x36754f=_0x3675();return _0x3936=function(_0x3936ce,_0x17331e){_0x3936ce=_0x3936ce-0xaa;let _0x91fe87=_0x36754f[_0x3936ce];return _0x91fe87;},_0x3936(_0x22e61d,_0x24615e);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x3cb41c(0xfb)]=_0x2afbe8=>{const _0x516e0a=_0x3cb41c;userInfoCache[_0x2afbe8[_0x516e0a(0xae)]]=_0x2afbe8,userDetailHandlers[_0x516e0a(0xd3)](_0x58ad0c=>_0x58ad0c(_0x2afbe8));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x128f5a=_0x3936;napCatCore[_0x128f5a(0xc9)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x4f01c2,_0x22ced9,_0x5b287a){const _0x8a532b=_0x3cb41c;return napCatCore[_0x8a532b(0xd7)][_0x8a532b(0xe3)]()[_0x8a532b(0xd0)]({'status':_0x4f01c2,'extStatus':_0x22ced9,'batteryStatus':_0x5b287a});}static async[_0x3cb41c(0xc1)](_0x5cdf30,_0x48d47c=0x1){const _0x1315e1=_0x3cb41c;return napCatCore['session'][_0x1315e1(0xbb)]()['setBuddyProfileLike']({'friendUid':_0x5cdf30,'sourceId':0x47,'doLikeCount':_0x48d47c,'doLikeTollCount':0x0});}static async[_0x3cb41c(0xf5)](_0x562c24){const _0x4e0e7c=_0x3cb41c,_0x3aedc5=napCatCore[_0x4e0e7c(0xd7)][_0x4e0e7c(0xab)]()[_0x4e0e7c(0xaf)](_0x562c24);return{'result':_0x3aedc5?.[_0x4e0e7c(0xd2)],'errMsg':_0x3aedc5?.['errMsg']};}static async[_0x3cb41c(0xc8)](){}static async['getUserInfo'](_0x3986f0){}static async[_0x3cb41c(0xb1)](_0x3cf6f2){const _0x55887=_0x3cb41c,_0x2f6d90={'bhwzP':function(_0x32bd02,_0x12b688){return _0x32bd02(_0x12b688);},'PQXuJ':_0x55887(0xc4),'KfbqA':function(_0x1252fd){return _0x1252fd();}},_0x373321=napCatCore[_0x55887(0xd7)][_0x55887(0xab)]();return new Promise((_0x1d04b0,_0x393af0)=>{const _0x83030e=_0x55887,_0x3e2700={'ELvdz':function(_0x36fcdb,_0x3aba24){const _0x549cc3=_0x3936;return _0x2f6d90[_0x549cc3(0xf1)](_0x36fcdb,_0x3aba24);},'pXXgf':_0x2f6d90[_0x83030e(0xf6)]},_0x438fb9=_0x2f6d90[_0x83030e(0xbd)](randomUUID);let _0xb86fe7=![],_0x36c494=undefined,_0x37d325=!![];setTimeout(()=>{const _0x1dc3e5=_0x83030e;!_0xb86fe7&&(_0x36c494?_0x3e2700[_0x1dc3e5(0xc2)](_0x1d04b0,_0x36c494):_0x3e2700[_0x1dc3e5(0xc2)](_0x393af0,_0x3e2700[_0x1dc3e5(0xeb)])),userDetailHandlers[_0x1dc3e5(0xdb)](_0x438fb9);},0x1388),userDetailHandlers[_0x83030e(0xd8)](_0x438fb9,_0x5053ba=>{const _0x18c3de=_0x83030e;_0x5053ba[_0x18c3de(0xae)]===_0x3cf6f2&&(uid2UinMap[_0x3cf6f2]=_0x5053ba['uin'],_0x37d325?(_0x36c494=_0x5053ba,_0x37d325=![]):(_0xb86fe7=!![],_0x1d04b0(_0x5053ba)));}),_0x373321['getUserDetailInfoWithBizInfo'](_0x3cf6f2,[0x0])[_0x83030e(0xe6)](_0x54b53d=>{});});}static async[_0x3cb41c(0xb8)](_0x2a9bc2,_0x30fe6c=!![]){const _0xaeed02=_0x3cb41c,_0x651a3={'mZVgI':function(_0x30e83d,_0x943944){return _0x30e83d||_0x943944;},'BCugT':function(_0x4c785a,_0x578748){return _0x4c785a-_0x578748;},'QLkuh':function(_0x5acf01,_0x465eeb){return _0x5acf01*_0x465eeb;},'JgjDe':function(_0x16cb7b,_0x212c45){return _0x16cb7b>_0x212c45;},'ctaPT':function(_0x19bd67,_0x46a8ba){return _0x19bd67===_0x46a8ba;},'WDXot':function(_0x5d7197,_0x5316ab,_0x3f719f){return _0x5d7197(_0x5316ab,_0x3f719f);},'QMbyW':_0xaeed02(0xdf)},_0x2895e0=[],_0x2dcb60={};for(const _0x2deaf5 in _0x2a9bc2){const _0x22c83d=Credentials[_0xaeed02(0xf0)][_0xaeed02(0xff)](_0x2a9bc2[_0x2deaf5]),_0x31c391=Credentials['PskeyTime'][_0xaeed02(0xff)](_0x2a9bc2[_0x2deaf5]);_0x651a3['mZVgI'](!_0x22c83d,!_0x31c391)||_0x651a3[_0xaeed02(0xf3)](Date['now'](),_0x31c391)>_0x651a3[_0xaeed02(0xdd)](0x708,0x3e8)||!_0x30fe6c?_0x2895e0['push'](_0x2a9bc2[_0x2deaf5]):_0x2dcb60[_0x2a9bc2[_0x2deaf5]]=_0x22c83d;}let _0x2c8563={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x651a3[_0xaeed02(0xfe)](_0x2895e0[_0xaeed02(0xe8)],0x0)&&(_0x2c8563=await napCatCore[_0xaeed02(0xd7)][_0xaeed02(0xfc)]()[_0xaeed02(0xcc)](_0x2895e0,!![]));const _0x132b0b=_0x2c8563[_0xaeed02(0xd1)];for(const _0x3d0f58 of _0x132b0b[_0xaeed02(0xb4)]()){Credentials[_0xaeed02(0xf0)]['set'](_0x3d0f58[0x0],_0x3d0f58[0x1]),Credentials['PskeyTime'][_0xaeed02(0xd8)](_0x3d0f58[0x0],Date['now']());}const _0x492baa=Object['assign'](Object[_0xaeed02(0xc6)](_0x132b0b),_0x2dcb60);if(_0x651a3[_0xaeed02(0xc3)](_0x2c8563[_0xaeed02(0xd2)],0x0))return _0x492baa;else _0x651a3[_0xaeed02(0xd4)](logError,_0x651a3[_0xaeed02(0xfd)],_0x2c8563[_0xaeed02(0xcb)]);return{};}static async[_0x3cb41c(0xde)](){const _0x116ebe=_0x3cb41c,_0x13068b=await napCatCore['session'][_0x116ebe(0xec)]()[_0x116ebe(0xde)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x13068b?.['response']?.[_0x116ebe(0xd5)];}static async[_0x3cb41c(0xb2)](){const _0x349bbe=_0x3cb41c,_0x3ccedf={'yvHKD':function(_0x26a19b,_0x4af1bd){return _0x26a19b+_0x4af1bd;},'DIOtn':function(_0x4921b1,_0x5895ca){return _0x4921b1+_0x5895ca;},'mxlGh':function(_0x43356b,_0x1908da){return _0x43356b+_0x1908da;},'pPIGk':function(_0x35c4d7,_0x3a2b9d){return _0x35c4d7+_0x3a2b9d;},'wZaKE':_0x349bbe(0xd9),'VJCUC':_0x349bbe(0xef),'nReyC':'&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','RcThk':_0x349bbe(0xad),'LuFUY':function(_0xc9218d,_0x312ea1,_0x1519a5){return _0xc9218d(_0x312ea1,_0x1519a5);},'xAKql':'请求获取Cookies时失败'},_0x369ef2=_0x3ccedf['yvHKD'](_0x3ccedf[_0x349bbe(0xcf)](_0x3ccedf[_0x349bbe(0xd6)](_0x3ccedf[_0x349bbe(0xbf)](_0x3ccedf[_0x349bbe(0xbf)](_0x3ccedf[_0x349bbe(0xe0)],selfInfo[_0x349bbe(0xda)]),_0x3ccedf[_0x349bbe(0xc0)]),Credentials['ClientKey']),_0x3ccedf[_0x349bbe(0xc5)]),selfInfo[_0x349bbe(0xda)])+_0x3ccedf[_0x349bbe(0xf4)];let _0x4ecc1b={};try{_0x4ecc1b=await RequestUtil[_0x349bbe(0xb5)](_0x369ef2);}catch(_0x5c92f2){_0x3ccedf[_0x349bbe(0xbe)](logDebug,_0x3ccedf['xAKql'],_0x5c92f2),_0x4ecc1b={};}return _0x4ecc1b;}static async['getSkey'](_0x506203=!![]){const _0x42f3a8=_0x3cb41c,_0x3929e4={'RmQOP':function(_0x4b0a84,_0x3c7449){return _0x4b0a84-_0x3c7449;},'CMoWD':function(_0x3a36d2,_0x40d9f2){return _0x3a36d2*_0x40d9f2;},'LIDEI':function(_0x3f4c69,_0x3f6ea1){return _0x3f4c69+_0x3f6ea1;},'iBMbg':function(_0x4e502d,_0x16231d){return _0x4e502d+_0x16231d;},'EvKFL':function(_0x38c9a3,_0x3ecc83){return _0x38c9a3+_0x3ecc83;},'ibFaJ':_0x42f3a8(0xd9),'GuqfJ':_0x42f3a8(0xef),'radTM':_0x42f3a8(0xb7),'ACLdB':_0x42f3a8(0xf9)};try{if(Credentials[_0x42f3a8(0xb6)]==0x0||_0x3929e4[_0x42f3a8(0xca)](Date[_0x42f3a8(0xb9)](),Credentials[_0x42f3a8(0xb6)])>_0x3929e4[_0x42f3a8(0xc7)](0x3e8,0xe10)||!_0x506203){const _0x328abb=await napCatCore[_0x42f3a8(0xd7)][_0x42f3a8(0xcd)]()['forceFetchClientKey']('');if(_0x328abb[_0x42f3a8(0xd2)]!==0x0)return'';const _0x3027b7=_0x328abb[_0x42f3a8(0xe5)],_0x5b17d7=_0x328abb[_0x42f3a8(0xe2)],_0x131ba1=_0x3929e4[_0x42f3a8(0xbc)](_0x3929e4[_0x42f3a8(0xb3)](_0x3929e4['LIDEI'](_0x3929e4[_0x42f3a8(0xaa)](_0x3929e4[_0x42f3a8(0xe4)],selfInfo[_0x42f3a8(0xda)]),_0x3929e4[_0x42f3a8(0xfa)]),_0x3027b7),_0x3929e4['radTM'])+_0x5b17d7;let _0x5141e1={};try{_0x5141e1=await RequestUtil[_0x42f3a8(0xb5)](_0x131ba1);}catch(_0x2421b8){logDebug(_0x3929e4[_0x42f3a8(0x100)],_0x2421b8),_0x5141e1={};}const _0x45657a=_0x5141e1[_0x42f3a8(0xea)];if(!_0x45657a)return'';return Credentials[_0x42f3a8(0xf7)]=_0x3027b7,Credentials[_0x42f3a8(0xee)]=_0x5b17d7,Credentials[_0x42f3a8(0xb6)]=Date[_0x42f3a8(0xb9)](),Credentials[_0x42f3a8(0xf8)]=_0x45657a,_0x45657a;}return Credentials[_0x42f3a8(0xf8)];}catch(_0x544522){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index d469e4e2..fe042f4e 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x56da78=_0x5816;(function(_0x586287,_0x7be50c){const _0x2e077c=_0x5816,_0x5b979d=_0x586287();while(!![]){try{const _0x248136=-parseInt(_0x2e077c(0x10f))/0x1*(parseInt(_0x2e077c(0x98))/0x2)+parseInt(_0x2e077c(0x112))/0x3+parseInt(_0x2e077c(0xd1))/0x4+-parseInt(_0x2e077c(0x78))/0x5*(parseInt(_0x2e077c(0x9d))/0x6)+-parseInt(_0x2e077c(0xf0))/0x7+parseInt(_0x2e077c(0x9f))/0x8+parseInt(_0x2e077c(0x83))/0x9*(parseInt(_0x2e077c(0x105))/0xa);if(_0x248136===_0x7be50c)break;else _0x5b979d['push'](_0x5b979d['shift']());}catch(_0x9c74fb){_0x5b979d['push'](_0x5b979d['shift']());}}}(_0x36bd,0x73356));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x36bd(){const _0x421b86=['HlCxZ','current_talkative','QjFcY','AkhlP','hvbDw','&page_start=','Uolvj','2164412kKetlY','talkative','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','BlekX','&group_code=','UilbG','ArNwF','xeZQy','GdETT','pUuho','count','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','name','ovoNq',';\x20skey=','dDMJF','HttpGetJson','kssAG','oOonM','jVTpF','pqpLN','genBkn','获取当前群荣耀失败','qun.qq.com','JOYlY','strong_newbie','URezF','split','uHiBY','setGroupNotice','talkativeList','1352708qLzHPO','2|0|5|4|1|3','JtAjV','utNzV','&sort=1&gc=','dHOio','getGroupMembers','TODEG','ceil','qKwDC','KAgeH','jWDJr','PaySR','set','avatar','qMjKg','AgkCR','qid=','p_skey=','YTooY','PcJaP','10OiHpRn','tFnXu','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','jgFsj','https://qun.qq.com/interactive/honorlist?gc=','GroupTime','QFDSY','TUHDW','talkative_list','emotion','68351hLLoYs','strong_newbie_list','WLYLI','193857LHVUgL','push','OgvuK','QalgA','sYdbz','BNOct','2656985eWvjHL','emotion_list','UgYul','xFNtl','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','length','getPSkey','chduf','QZwXz','uin','2478654fGmABq','hWdqw','desc','PERFROMER','LeRvd','XOpaj','&type=','fGWgC','&qid=','获取龙王信息失败','sMUBb','actorList',';\x20uin=o','WoxpE','获取群聊之火失败','TALKACTIVE','vSgup','KwXVT','qrncV','WwLeN','获取快乐源泉失败','10NRCUtq','EqKQE','SHYRk','YCvon','GroupData','6uQXgPS','POST','5257296ZwWwjy','IvkoJ','OwRDy','legend','NVODC','tFDsg','legend_list','getGroupHonorInfo','match','mems','OBIAw','&page_limit=20','EjHmq','qBwFD','getSkey','YfQgc','get','&bkn=','YrSup','toString','GET','EMOTION','VQHoe','parse','now','HttpGetText','UThlo','performer_list','performer','AILvV','&text=','errcode','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=',';\x20p_uin=o','pjGMJ','sqqoz','all','ULfSa','NlpJa','STORONGE_NEWBI','LEGEND','ipFvj','ALL'];_0x36bd=function(){return _0x421b86;};return _0x36bd();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x3a40ea){const _0xa71a15=_0x5816,_0x1102c9={'HdxsO':_0xa71a15(0xf1),'BsCfl':_0xa71a15(0xd2),'tFnXu':'ALL','OgvuK':_0xa71a15(0xb4),'ipFvj':_0xa71a15(0x10e),'SPGNt':_0xa71a15(0xc7),'WLYLI':_0xa71a15(0xa2),'AkhlP':_0xa71a15(0x86),'jWDJr':_0xa71a15(0xbb)},_0x640c6c=_0x1102c9['HdxsO'][_0xa71a15(0xec)]('|');let _0x3bef50=0x0;while(!![]){switch(_0x640c6c[_0x3bef50++]){case'0':_0x3a40ea[_0xa71a15(0x92)]=_0x1102c9['BsCfl'];continue;case'1':_0x3a40ea[_0xa71a15(0xc6)]=_0xa71a15(0xea);continue;case'2':_0x3a40ea[_0x1102c9[_0xa71a15(0x106)]]=_0xa71a15(0xc3);continue;case'3':_0x3a40ea[_0x1102c9[_0xa71a15(0x114)]]=_0x1102c9[_0xa71a15(0xc8)];continue;case'4':_0x3a40ea[_0x1102c9['SPGNt']]=_0x1102c9[_0xa71a15(0x111)];continue;case'5':_0x3a40ea[_0x1102c9[_0xa71a15(0xcd)]]=_0x1102c9[_0xa71a15(0xfb)];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x5816(_0x17c5a8,_0x591df1){const _0x36bd0b=_0x36bd();return _0x5816=function(_0x58160e,_0x1c4382){_0x58160e=_0x58160e-0x76;let _0x7f32da=_0x36bd0b[_0x58160e];return _0x7f32da;},_0x5816(_0x17c5a8,_0x591df1);}export class WebApi{static async['getGroupEssenceMsg'](_0x14248a,_0x2e5938){const _0x3832ae=_0x5816,_0x34553f={'YTooY':_0x3832ae(0xe8),'fGWgC':function(_0x38e427,_0x26f133){return _0x38e427+_0x26f133;},'BlekX':function(_0x3eb942,_0x59b974){return _0x3eb942+_0x59b974;},'dHOio':function(_0x5659b3,_0x261c0e){return _0x5659b3+_0x261c0e;},'kssAG':_0x3832ae(0x102),'sYdbz':_0x3832ae(0xdf),'hvbDw':_0x3832ae(0x8f),'hdbQR':function(_0x520720,_0xbc7382){return _0x520720||_0xbc7382;},'KwXVT':function(_0x153d72,_0x57fe73){return _0x153d72+_0x57fe73;},'ovoNq':function(_0x32edcc,_0x5e945d){return _0x32edcc+_0x5e945d;},'GbsBN':function(_0x26c5b8,_0x1e2c7d){return _0x26c5b8+_0x1e2c7d;},'xQmJl':_0x3832ae(0x7d),'eUsET':_0x3832ae(0xd5),'QFDSY':_0x3832ae(0xaa),'fmGDS':_0x3832ae(0xb3),'MkthO':function(_0x431b12,_0x13c370){return _0x431b12!==_0x13c370;}},_0x519be5=(await NTQQUserApi[_0x3832ae(0x7f)]([_0x34553f[_0x3832ae(0x103)]]))[_0x34553f[_0x3832ae(0x103)]],_0x31224f=await NTQQUserApi[_0x3832ae(0xad)](),_0x5ebe14=_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0xd4)](_0x34553f[_0x3832ae(0xf5)](_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0xe2)],_0x519be5),_0x34553f[_0x3832ae(0x76)]),_0x31224f),_0x3832ae(0xc0)),selfInfo['uin']),_0x34553f[_0x3832ae(0xce)]),selfInfo[_0x3832ae(0x82)]);if(_0x34553f['hdbQR'](!_0x31224f,!_0x519be5))return undefined;const _0x24587f=WebApi[_0x3832ae(0xe6)](_0x31224f),_0x349763=_0x34553f[_0x3832ae(0xd4)](_0x34553f[_0x3832ae(0x94)](_0x34553f[_0x3832ae(0xde)](_0x34553f['GbsBN'](_0x34553f['xQmJl'],_0x24587f),_0x34553f['eUsET']),_0x14248a),_0x3832ae(0xcf))+_0x2e5938+_0x34553f[_0x3832ae(0x10b)];let _0xc65a39;try{_0xc65a39=await RequestUtil[_0x3832ae(0xe1)](_0x349763,_0x34553f['fmGDS'],'',{'Cookie':_0x5ebe14});}catch{return undefined;}if(_0x34553f['MkthO'](_0xc65a39['retcode'],0x0))return undefined;return _0xc65a39;}static async[_0x56da78(0xf6)](_0x317a26,_0x2e6c43=!![]){const _0x4f270c=_0x56da78,_0x3c894f={'uHiBY':function(_0x2ce575,_0x28a0ac){return _0x2ce575>_0x28a0ac;},'LeRvd':function(_0x11b67e,_0x3b95da){return _0x11b67e*_0x3b95da;},'qMjKg':'qun.qq.com','YCvon':function(_0x1f02ad,_0x5d9cd4){return _0x1f02ad+_0x5d9cd4;},'ArpYj':_0x4f270c(0x102),'RXwRn':_0x4f270c(0xc0),'SHYRk':function(_0x1eadac,_0x4e4828){return _0x1eadac||_0x4e4828;},'JtAjV':function(_0x73da7f,_0x4eceec){return _0x73da7f+_0x4eceec;},'JOYlY':_0x4f270c(0x7c),'tFDsg':_0x4f270c(0xb0),'EqKQE':_0x4f270c(0x9e),'Bnzkx':function(_0x5c1ab0,_0x2ea389){return _0x5c1ab0!==_0x2ea389;},'AgkCR':function(_0x51dcfd,_0x2dbcbd){return _0x51dcfd/_0x2dbcbd;},'XmvwA':function(_0x5328f9,_0x2b6f26){return _0x5328f9+_0x2b6f26;},'jgFsj':function(_0x5948f9,_0x3da11e){return _0x5948f9+_0x3da11e;},'VQHoe':function(_0x2b13ac,_0x4f8f25){return _0x2b13ac+_0x4f8f25;},'UgYul':function(_0x5561d7,_0x416f3d){return _0x5561d7+_0x416f3d;},'chduf':_0x4f270c(0xbf),'UThlo':function(_0x19f97f,_0x485e98){return _0x19f97f*_0x485e98;},'rfhAw':function(_0x36b677,_0xe06d98){return _0x36b677-_0xe06d98;},'XOpaj':'&end=','qBwFD':_0x4f270c(0xf4)};let _0x4d30bd=new Array();try{let _0x1d888b=WebGroupData[_0x4f270c(0x9c)][_0x4f270c(0xaf)](_0x317a26),_0x5cecad=WebGroupData[_0x4f270c(0x10a)][_0x4f270c(0xaf)](_0x317a26);if(!_0x5cecad||_0x3c894f[_0x4f270c(0xed)](Date[_0x4f270c(0xb7)]()-_0x5cecad,_0x3c894f[_0x4f270c(0x87)](0x708,0x3e8))||!_0x2e6c43){const _0x234dc9=(await NTQQUserApi[_0x4f270c(0x7f)]([_0x3c894f[_0x4f270c(0xff)]]))[_0x3c894f[_0x4f270c(0xff)]],_0x3dd5b7=await NTQQUserApi[_0x4f270c(0xad)](),_0x4e206c=_0x3c894f[_0x4f270c(0x9b)](_0x3c894f['ArpYj']+_0x234dc9+_0x4f270c(0xdf)+_0x3dd5b7,_0x3c894f['RXwRn'])+selfInfo['uin'];if(_0x3c894f[_0x4f270c(0x9a)](!_0x3dd5b7,!_0x234dc9))return _0x4d30bd;const _0x5b974a=WebApi[_0x4f270c(0xe6)](_0x3dd5b7),_0x3a85a9=[],_0x515ce=await RequestUtil[_0x4f270c(0xe1)](_0x3c894f[_0x4f270c(0xf2)](_0x3c894f[_0x4f270c(0x9b)](_0x3c894f[_0x4f270c(0xe9)]+_0x317a26,_0x3c894f[_0x4f270c(0xa4)]),_0x5b974a),_0x3c894f[_0x4f270c(0x99)],'',{'Cookie':_0x4e206c});if(!_0x515ce?.[_0x4f270c(0xdb)]||_0x3c894f['Bnzkx'](_0x515ce?.[_0x4f270c(0xbe)],0x0)||!_0x515ce?.[_0x4f270c(0xa8)])return[];else for(const _0x12d1cf in _0x515ce['mems']){_0x4d30bd[_0x4f270c(0x113)](_0x515ce[_0x4f270c(0xa8)][_0x12d1cf]);}const _0x202734=Math[_0x4f270c(0xf8)](_0x3c894f[_0x4f270c(0x100)](_0x515ce[_0x4f270c(0xdb)],0x28));for(let _0x43f1f8=0x2;_0x43f1f8<=_0x202734;_0x43f1f8++){const _0x2e6e97=RequestUtil[_0x4f270c(0xe1)](_0x3c894f[_0x4f270c(0xf2)](_0x3c894f['XmvwA'](_0x3c894f[_0x4f270c(0x108)](_0x3c894f[_0x4f270c(0x108)](_0x3c894f[_0x4f270c(0xb5)](_0x3c894f[_0x4f270c(0x7a)](_0x3c894f[_0x4f270c(0x80)],_0x3c894f[_0x4f270c(0xb9)](_0x3c894f['rfhAw'](_0x43f1f8,0x1),0x28)),_0x3c894f[_0x4f270c(0x88)])+_0x3c894f[_0x4f270c(0x87)](_0x43f1f8,0x28),_0x3c894f[_0x4f270c(0xac)]),_0x317a26),_0x3c894f['tFDsg']),_0x5b974a),_0x4f270c(0x9e),'',{'Cookie':_0x4e206c});_0x3a85a9[_0x4f270c(0x113)](_0x2e6e97);}for(let _0x15a730=0x1;_0x15a730<=_0x202734;_0x15a730++){const _0x59be93=await _0x3a85a9[_0x15a730];if(!_0x59be93?.['count']||_0x59be93?.[_0x4f270c(0xbe)]!==0x0||!_0x59be93?.[_0x4f270c(0xa8)])continue;for(const _0x17125b in _0x59be93[_0x4f270c(0xa8)]){_0x4d30bd[_0x4f270c(0x113)](_0x59be93[_0x4f270c(0xa8)][_0x17125b]);}}WebGroupData[_0x4f270c(0x9c)][_0x4f270c(0xfd)](_0x317a26,_0x4d30bd),WebGroupData[_0x4f270c(0x10a)][_0x4f270c(0xfd)](_0x317a26,Date[_0x4f270c(0xb7)]());}else _0x4d30bd=_0x1d888b;}catch{return _0x4d30bd;}return _0x4d30bd;}static async[_0x56da78(0xee)](_0x549ec4,_0x498cf7=''){const _0x14abfa=_0x56da78,_0x3931ee={'PcJaP':'qun.qq.com','OwRDy':function(_0x5ef406,_0x21e7ee){return _0x5ef406+_0x21e7ee;},'pqpLN':function(_0x5826da,_0xdd961c){return _0x5826da+_0xdd961c;},'GdETT':_0x14abfa(0x102),'IvkoJ':';\x20skey=','PaySR':function(_0x34d47c,_0x454ef4){return _0x34d47c||_0x454ef4;},'QalgA':function(_0x536bb4,_0x4d55cd){return _0x536bb4+_0x4d55cd;},'xFNtl':function(_0x37c235,_0x50b9d3){return _0x37c235+_0x50b9d3;},'KAgeH':function(_0x2fb9aa,_0xae7c3e){return _0x2fb9aa+_0xae7c3e;},'GzIqC':function(_0x559457,_0x1184db){return _0x559457+_0x1184db;},'QWTCy':_0x14abfa(0x101),'NnVFL':_0x14abfa(0xb0),'qwlYc':_0x14abfa(0xbd),'jVTpF':function(_0x23b91f,_0x2b1a7f){return _0x23b91f+_0x2b1a7f;},'bQlyv':_0x14abfa(0xdc),'YrSup':_0x14abfa(0xb3)},_0x1cd390=(await NTQQUserApi[_0x14abfa(0x7f)]([_0x3931ee[_0x14abfa(0x104)]]))[_0x3931ee[_0x14abfa(0x104)]],_0x3d9671=await NTQQUserApi[_0x14abfa(0xad)](),_0x31e594=_0x3931ee[_0x14abfa(0xa1)](_0x3931ee[_0x14abfa(0xa1)](_0x3931ee[_0x14abfa(0xa1)](_0x3931ee[_0x14abfa(0xe5)](_0x3931ee[_0x14abfa(0xd9)]+_0x1cd390,_0x3931ee[_0x14abfa(0xa0)]),_0x3d9671),';\x20p_uin=o'),selfInfo[_0x14abfa(0x82)]);let _0x189fa1=undefined;if(_0x3931ee[_0x14abfa(0xfc)](!_0x3d9671,!_0x1cd390))return undefined;const _0x1000e0=WebApi[_0x14abfa(0xe6)](_0x3d9671),_0x39b0b3=_0x3931ee[_0x14abfa(0x115)](_0x3931ee[_0x14abfa(0x7b)](_0x3931ee[_0x14abfa(0xfa)](_0x3931ee['xFNtl'](_0x3931ee[_0x14abfa(0x115)](_0x3931ee['GzIqC'](_0x3931ee['QWTCy'],_0x549ec4),_0x3931ee['NnVFL']),_0x1000e0),_0x3931ee['qwlYc']),_0x498cf7),'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}'),_0x3b89f7=_0x3931ee[_0x14abfa(0xe4)](_0x3931ee['bQlyv'],_0x1000e0);try{return _0x189fa1=await RequestUtil[_0x14abfa(0xe1)](_0x3b89f7,_0x3931ee[_0x14abfa(0xb1)],'',{'Cookie':_0x31e594}),_0x189fa1;}catch(_0x21bb22){return undefined;}return undefined;}static async['getGrouptNotice'](_0xfe4ca8){const _0xc8ca93=_0x56da78,_0x7ae35e={'WwLeN':_0xc8ca93(0xe8),'qrncV':function(_0x32d8ae,_0x3aae40){return _0x32d8ae+_0x3aae40;},'oOonM':_0xc8ca93(0x102),'TUHDW':_0xc8ca93(0xdf),'sqqoz':_0xc8ca93(0xc0),'NVODC':function(_0x481a7e,_0xf204cc){return _0x481a7e+_0xf204cc;},'OBIAw':_0xc8ca93(0x8b),'AhFLg':_0xc8ca93(0x107),'vSgup':_0xc8ca93(0xb3),'pUuho':function(_0x361adc,_0x5e4f3b){return _0x361adc!==_0x5e4f3b;}},_0xb20873=(await NTQQUserApi[_0xc8ca93(0x7f)]([_0x7ae35e[_0xc8ca93(0x96)]]))[_0x7ae35e['WwLeN']],_0x5179c4=await NTQQUserApi[_0xc8ca93(0xad)](),_0x220767=_0x7ae35e['qrncV'](_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0xe3)]+_0xb20873,_0x7ae35e[_0xc8ca93(0x10c)]),_0x5179c4),_0x7ae35e[_0xc8ca93(0xc2)]),selfInfo[_0xc8ca93(0x82)]);let _0x518dfa=undefined;if(!_0x5179c4||!_0xb20873)return undefined;const _0x2ad4a4=WebApi[_0xc8ca93(0xe6)](_0x5179c4),_0x56c693=_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0xa3)](_0xc8ca93(0xd3),_0x2ad4a4)+_0x7ae35e[_0xc8ca93(0xa9)],_0xfe4ca8),_0x7ae35e['AhFLg']);try{_0x518dfa=await RequestUtil[_0xc8ca93(0xe1)](_0x56c693,_0x7ae35e[_0xc8ca93(0x93)],'',{'Cookie':_0x220767});if(_0x7ae35e[_0xc8ca93(0xda)](_0x518dfa?.['ec'],0x0))return undefined;return _0x518dfa;}catch(_0x328569){return undefined;}return undefined;}static['genBkn'](_0x30bfd9){const _0x178e8e=_0x56da78,_0x5a8b0c={'sMUBb':function(_0x5ba46e,_0x5f4aa2){return _0x5ba46e<_0x5f4aa2;},'FzoVV':function(_0x4355b0,_0x29fc86){return _0x4355b0+_0x29fc86;},'HlCxZ':function(_0x1039e8,_0x18d5e0){return _0x1039e8<<_0x18d5e0;},'NaPVy':function(_0x55ec12,_0x533306){return _0x55ec12&_0x533306;}};_0x30bfd9=_0x30bfd9||'';let _0x35e24c=0x1505;for(let _0x4490bb=0x0;_0x5a8b0c[_0x178e8e(0x8d)](_0x4490bb,_0x30bfd9[_0x178e8e(0x7e)]);_0x4490bb++){const _0x3875e4=_0x30bfd9['charCodeAt'](_0x4490bb);_0x35e24c=_0x5a8b0c['FzoVV'](_0x35e24c+_0x5a8b0c[_0x178e8e(0xca)](_0x35e24c,0x5),_0x3875e4);}return _0x5a8b0c['NaPVy'](_0x35e24c,0x7fffffff)['toString']();}static async[_0x56da78(0xa6)](_0x141b50,_0x46773d){const _0x360cc6=_0x56da78,_0x9ca9b={'ArNwF':_0x360cc6(0x109),'URezF':_0x360cc6(0xb3),'QZwXz':function(_0x5768cc,_0x2da788){return _0x5768cc===_0x2da788;},'NlpJa':_0x360cc6(0xe7),'BNOct':_0x360cc6(0xe8),'qKwDC':function(_0x4e902b,_0x164c82){return _0x4e902b+_0x164c82;},'yOPGC':function(_0x64efcb,_0x42a200){return _0x64efcb+_0x42a200;},'dDMJF':function(_0x661dd4,_0x2b06e9){return _0x661dd4+_0x2b06e9;},'hWdqw':function(_0x5c8b33,_0x46c0d7){return _0x5c8b33+_0x46c0d7;},'kVOmK':_0x360cc6(0x102),'lOOdJ':_0x360cc6(0xdf),'UilbG':';\x20p_uin=o','TODEG':_0x360cc6(0x8f),'LpmQB':function(_0x4d0fc6,_0x470030){return _0x4d0fc6===_0x470030;},'ULfSa':function(_0x7cf21a,_0x5ed559){return _0x7cf21a===_0x5ed559;},'AILvV':function(_0x105903,_0x16f72d,_0x4e2c55){return _0x105903(_0x16f72d,_0x4e2c55);},'QjFcY':_0x360cc6(0x8c),'xeZQy':_0x360cc6(0x91),'WoxpE':function(_0x22adac,_0xc0c81b){return _0x22adac(_0xc0c81b);},'EjHmq':function(_0x2ba449,_0x2f52e0){return _0x2ba449===_0x2f52e0;},'utNzV':function(_0x340c82,_0x2502be){return _0x340c82===_0x2502be;},'oQDMy':'获取群聊炽焰失败','YfQgc':function(_0x5c276c,_0x5522f4){return _0x5c276c===_0x5522f4;},'Uolvj':function(_0x59dfc1,_0x315066){return _0x59dfc1===_0x315066;},'pjGMJ':_0x360cc6(0x97)},_0x2b7040=(await NTQQUserApi['getPSkey']([_0x9ca9b[_0x360cc6(0x77)]]))[_0x9ca9b[_0x360cc6(0x77)]],_0xbc0ba8=await NTQQUserApi[_0x360cc6(0xad)]();if(!_0xbc0ba8||!_0x2b7040)return undefined;async function _0x23dfc9(_0x3737a0,_0x516a72){const _0x41a6cd=_0x360cc6;let _0x6ad7d1=_0x9ca9b[_0x41a6cd(0xd7)]+_0x3737a0+_0x41a6cd(0x89)+_0x516a72[_0x41a6cd(0xb2)](),_0x13d351='',_0x4d5ffb;try{_0x13d351=await RequestUtil[_0x41a6cd(0xb8)](_0x6ad7d1,_0x9ca9b[_0x41a6cd(0xeb)],'',{'Cookie':_0x3576eb});const _0x462660=_0x13d351[_0x41a6cd(0xa7)](/window\.__INITIAL_STATE__=(.*?);/);return _0x462660&&(_0x4d5ffb=JSON[_0x41a6cd(0xb6)](_0x462660[0x1]['trim']())),_0x9ca9b[_0x41a6cd(0x81)](_0x516a72,0x1)?_0x4d5ffb?.[_0x41a6cd(0xef)]:_0x4d5ffb?.[_0x41a6cd(0x8e)];}catch(_0x2becd9){logDebug(_0x9ca9b[_0x41a6cd(0xc5)],_0x6ad7d1,_0x2becd9);}return undefined;}let _0x13b9e0={'group_id':_0x141b50};const _0x3576eb=_0x9ca9b[_0x360cc6(0xf9)](_0x9ca9b['yOPGC'](_0x9ca9b[_0x360cc6(0xe0)](_0x9ca9b['qKwDC'](_0x9ca9b[_0x360cc6(0x84)](_0x9ca9b['kVOmK']+_0x2b7040,_0x9ca9b['lOOdJ'])+_0xbc0ba8,_0x9ca9b[_0x360cc6(0xd6)]),selfInfo['uin']),_0x9ca9b[_0x360cc6(0xf7)]),selfInfo[_0x360cc6(0x82)]);if(_0x9ca9b['LpmQB'](_0x46773d,WebHonorType[_0x360cc6(0x92)])||_0x9ca9b[_0x360cc6(0xc4)](_0x46773d,WebHonorType[_0x360cc6(0xc9)]))try{let _0x183636=await _0x9ca9b[_0x360cc6(0xbc)](_0x23dfc9,_0x141b50,0x1);if(!_0x183636)throw new Error(_0x9ca9b[_0x360cc6(0xcc)]);_0x13b9e0[_0x360cc6(0xcb)]={'user_id':_0x183636[0x0]?.['uin'],'avatar':_0x183636[0x0]?.[_0x360cc6(0xfe)],'nickname':_0x183636[0x0]?.['name'],'day_count':0x0,'description':_0x183636[0x0]?.['desc']},_0x13b9e0[_0x360cc6(0x10d)]=[];for(const _0x3ac437 of _0x183636){_0x13b9e0[_0x360cc6(0x10d)][_0x360cc6(0x113)]({'user_id':_0x3ac437?.[_0x360cc6(0x82)],'avatar':_0x3ac437?.[_0x360cc6(0xfe)],'description':_0x3ac437?.[_0x360cc6(0x85)],'day_count':0x0,'nickname':_0x3ac437?.[_0x360cc6(0xdd)]});}}catch(_0x39e64d){logDebug(_0x39e64d);}if(_0x9ca9b[_0x360cc6(0xc4)](_0x46773d,WebHonorType[_0x360cc6(0x86)])||_0x46773d===WebHonorType[_0x360cc6(0xc9)])try{let _0x147c9e=await _0x23dfc9(_0x141b50,0x2);if(!_0x147c9e)throw new Error(_0x9ca9b[_0x360cc6(0xd8)]);_0x13b9e0['performer_list']=[];for(const _0x1a989e of _0x147c9e){_0x13b9e0[_0x360cc6(0xba)]['push']({'user_id':_0x1a989e?.[_0x360cc6(0x82)],'nickname':_0x1a989e?.[_0x360cc6(0xdd)],'avatar':_0x1a989e?.[_0x360cc6(0xfe)],'description':_0x1a989e?.[_0x360cc6(0x85)]});}}catch(_0x1ecf11){_0x9ca9b[_0x360cc6(0x90)](logDebug,_0x1ecf11);}if(_0x9ca9b[_0x360cc6(0xab)](_0x46773d,WebHonorType[_0x360cc6(0x86)])||_0x9ca9b[_0x360cc6(0xf3)](_0x46773d,WebHonorType[_0x360cc6(0xc9)]))try{let _0x2756bd=await _0x9ca9b[_0x360cc6(0xbc)](_0x23dfc9,_0x141b50,0x3);if(!_0x2756bd)throw new Error('获取群聊炽焰失败');_0x13b9e0['legend_list']=[];for(const _0x2249ff of _0x2756bd){_0x13b9e0[_0x360cc6(0xa5)]['push']({'user_id':_0x2249ff?.['uin'],'nickname':_0x2249ff?.[_0x360cc6(0xdd)],'avatar':_0x2249ff?.[_0x360cc6(0xfe)],'desc':_0x2249ff?.['description']});}}catch(_0x13e8ee){_0x9ca9b['AILvV'](logDebug,_0x9ca9b['oQDMy'],_0x13e8ee);}if(_0x9ca9b[_0x360cc6(0xae)](_0x46773d,WebHonorType[_0x360cc6(0xb4)])||_0x9ca9b[_0x360cc6(0xd0)](_0x46773d,WebHonorType[_0x360cc6(0xc9)]))try{let _0x21d48e=await _0x9ca9b[_0x360cc6(0xbc)](_0x23dfc9,_0x141b50,0x6);if(!_0x21d48e)throw new Error(_0x9ca9b[_0x360cc6(0xc1)]);_0x13b9e0['emotion_list']=[];for(const _0x23dbf9 of _0x21d48e){_0x13b9e0[_0x360cc6(0x79)][_0x360cc6(0x113)]({'user_id':_0x23dbf9?.[_0x360cc6(0x82)],'nickname':_0x23dbf9?.['name'],'avatar':_0x23dbf9?.[_0x360cc6(0xfe)],'desc':_0x23dbf9?.['description']});}}catch(_0x16101b){_0x9ca9b[_0x360cc6(0xbc)](logDebug,_0x9ca9b[_0x360cc6(0xc1)],_0x16101b);}return(_0x46773d===WebHonorType[_0x360cc6(0xb4)]||_0x9ca9b[_0x360cc6(0xd0)](_0x46773d,WebHonorType[_0x360cc6(0xc9)]))&&(_0x13b9e0[_0x360cc6(0x110)]=[]),_0x13b9e0;}} \ No newline at end of file +const _0x3068d9=_0xff21;function _0xff21(_0x7b9c9d,_0x49749c){const _0x5df368=_0x5df3();return _0xff21=function(_0xff21a8,_0x22acb5){_0xff21a8=_0xff21a8-0x1c4;let _0x2d8bd9=_0x5df368[_0xff21a8];return _0x2d8bd9;},_0xff21(_0x7b9c9d,_0x49749c);}(function(_0x5a9304,_0x3e051c){const _0x1eea28=_0xff21,_0x455407=_0x5a9304();while(!![]){try{const _0x562045=-parseInt(_0x1eea28(0x256))/0x1*(-parseInt(_0x1eea28(0x1c7))/0x2)+-parseInt(_0x1eea28(0x1cf))/0x3*(-parseInt(_0x1eea28(0x1f0))/0x4)+parseInt(_0x1eea28(0x246))/0x5*(-parseInt(_0x1eea28(0x21d))/0x6)+-parseInt(_0x1eea28(0x236))/0x7*(parseInt(_0x1eea28(0x223))/0x8)+-parseInt(_0x1eea28(0x262))/0x9+-parseInt(_0x1eea28(0x22f))/0xa+parseInt(_0x1eea28(0x266))/0xb;if(_0x562045===_0x3e051c)break;else _0x455407['push'](_0x455407['shift']());}catch(_0x1f40b3){_0x455407['push'](_0x455407['shift']());}}}(_0x5df3,0x4c6c1));function _0x5df3(){const _0x309ef4=['6svxtaF','EArTd','strong_newbie','toString','rdSyf','getPSkey','rxHjB','getGrouptNotice','180489JgUrHN','&page_limit=20','yBXdR','aMCxl','AvsVS','ltFCL','获取龙王信息失败','getGroupEssenceMsg','&end=','pULMJ','rDBCT','NeVoX','tHxIb','mAiSc','emotion_list','eLMLB','EMOTION','dRMms','description','xgJNs','PqjZg','OvqFF','1|0|3|4|2|5','qid=','FXuBe','p_skey=','ZmXrB','&group_code=','HwkCl','ALL','nBoRl','legend','GdYAo','32oALRgS','GroupData','all','qCoVk','getGroupHonorInfo','mems','Tpsyu','HttpGetText','name','POST','jskCN','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','&sort=1&gc=','trim','push','ceil','WnhAN','&qid=','dcMxh','frCPC','gLeXV','set','EmMtA',';\x20uin=o','CjTIs','split','rYHDY','XMjmS','LEGEND','errcode','actorList','jjcwW','aZtmh','IfWjB','VLQnM','qcAAU','Qodmb','strong_newbie_list','WNZBi','GET','QEuCm','IYGuV','bOnDY','eqoaB','avatar','720OetaZG','KYWWw','kfcaU','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','VWkMQ','CMcVF','8uKarRA','count','aexfe','QNoNW','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','now','tqdpH','&bkn=','cMyCX','XhuMx','length',';\x20p_uin=o','1573560vFeWmY','genBkn','UuKBr','desc','qAKyj','charCodeAt','cVFkr','144193qwGbHm','USRzF','noJnP','avzMg','TALKACTIVE','hHCkA','EACta','&type=','bjeSQ','GwVar','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','current_talkative','legend_list','DrAoD','tkkiI','FdJVO','1495KJqOeW','uin','talkative_list','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','lYqBR','akMRm','KnbEG','qun.qq.com','retcode','ILlkC','get','VYXkW','RWDDE','BcNcN','parse','jZgBU','40101TiLjUc','kWNsC','getGroupMembers','getSkey','HttpGetJson','buiYd','performer','获取群聊炽焰失败',';\x20skey=','DJFPp','zDEpg','emotion','4069890ldNnYU','performer_list','pjFKw','OWgES','4152093HEwdIS','bfyBy','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ycfSX','KaYOF','CHzNd','talkative'];_0x5df3=function(){return _0x309ef4;};return _0x5df3();}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x922629){const _0x511eef=_0xff21,_0x4b38b4={'QEuCm':'TALKACTIVE','WzIWL':_0x511eef(0x1c6),'avzMg':'ALL','EmMtA':_0x511eef(0x1f2),'XhuMx':'STORONGE_NEWBI','dRMms':_0x511eef(0x1c9),'aZtmh':'PERFROMER','wASfp':_0x511eef(0x25c),'sGGJd':_0x511eef(0x20c),'sbfGo':_0x511eef(0x1ee),'Tpsyu':'EMOTION','oDjmi':_0x511eef(0x261)},_0x38178c=_0x511eef(0x1e5)[_0x511eef(0x209)]('|');let _0x3debd0=0x0;while(!![]){switch(_0x38178c[_0x3debd0++]){case'0':_0x922629[_0x4b38b4[_0x511eef(0x218)]]=_0x4b38b4['WzIWL'];continue;case'1':_0x922629[_0x4b38b4[_0x511eef(0x239)]]=_0x4b38b4[_0x511eef(0x206)];continue;case'2':_0x922629[_0x4b38b4[_0x511eef(0x22c)]]=_0x4b38b4[_0x511eef(0x1e0)];continue;case'3':_0x922629[_0x4b38b4[_0x511eef(0x210)]]=_0x4b38b4['wASfp'];continue;case'4':_0x922629[_0x4b38b4['sGGJd']]=_0x4b38b4['sbfGo'];continue;case'5':_0x922629[_0x4b38b4[_0x511eef(0x1f6)]]=_0x4b38b4['oDjmi'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x3068d9(0x1d6)](_0xbaed77,_0x3a2e0d){const _0x28de75=_0x3068d9,_0x2f6012={'qCoVk':function(_0x357b03,_0x1a5260){return _0x357b03+_0x1a5260;},'KYWWw':function(_0x2c683e,_0x4741a){return _0x2c683e+_0x4741a;},'rDBCT':function(_0x13695c,_0x3cc768){return _0x13695c+_0x3cc768;},'AvsVS':function(_0xe93c80,_0x26e0d7){return _0xe93c80+_0x26e0d7;},'yBXdR':function(_0x190d57,_0x2c4511){return _0x190d57+_0x2c4511;},'OvqFF':_0x28de75(0x25e),'eLMLB':';\x20p_uin=o','CjTIs':';\x20uin=o','dcMxh':function(_0x44d605,_0x3eee53){return _0x44d605||_0x3eee53;},'cGaAi':function(_0x5cbae3,_0x58f4e3){return _0x5cbae3+_0x58f4e3;},'sBmMs':_0x28de75(0x268),'IOdoX':'&page_start=','WNZBi':_0x28de75(0x1d0),'BcNcN':function(_0x38238f,_0x57932a){return _0x38238f!==_0x57932a;}},_0x5a3483=(await NTQQUserApi['getPSkey']([_0x28de75(0x24d)]))[_0x28de75(0x24d)],_0x2e6d6a=await NTQQUserApi[_0x28de75(0x259)](),_0x2ad6d3=_0x2f6012[_0x28de75(0x1f3)](_0x2f6012[_0x28de75(0x21e)](_0x2f6012[_0x28de75(0x1d9)](_0x2f6012[_0x28de75(0x1d3)](_0x2f6012[_0x28de75(0x1d1)](_0x28de75(0x1e8),_0x5a3483),_0x2f6012[_0x28de75(0x1e4)])+_0x2e6d6a,_0x2f6012[_0x28de75(0x1de)])+selfInfo[_0x28de75(0x247)],_0x2f6012[_0x28de75(0x208)]),selfInfo[_0x28de75(0x247)]);if(_0x2f6012[_0x28de75(0x202)](!_0x2e6d6a,!_0x5a3483))return undefined;const _0x18ad3c=WebApi[_0x28de75(0x230)](_0x2e6d6a),_0x165d16=_0x2f6012[_0x28de75(0x21e)](_0x2f6012['rDBCT'](_0x2f6012['cGaAi'](_0x2f6012[_0x28de75(0x1d1)](_0x2f6012[_0x28de75(0x21e)](_0x2f6012['sBmMs'],_0x18ad3c),_0x28de75(0x1ea))+_0xbaed77,_0x2f6012['IOdoX']),_0x3a2e0d),_0x2f6012[_0x28de75(0x216)]);let _0x422958;try{_0x422958=await RequestUtil['HttpGetJson'](_0x165d16,_0x28de75(0x217),'',{'Cookie':_0x2ad6d3});}catch{return undefined;}if(_0x2f6012[_0x28de75(0x253)](_0x422958[_0x28de75(0x24e)],0x0))return undefined;return _0x422958;}static async[_0x3068d9(0x258)](_0x44550c,_0x343515=!![]){const _0x24603b=_0x3068d9,_0x936bf7={'tHxIb':function(_0x88a223,_0x2bc1c5){return _0x88a223>_0x2bc1c5;},'pjFKw':function(_0x478d91,_0x6511f7){return _0x478d91-_0x6511f7;},'PqjZg':function(_0x4b5733,_0x15390c){return _0x4b5733*_0x15390c;},'IfWjB':_0x24603b(0x24d),'EArTd':function(_0x2e208d,_0x1cd767){return _0x2e208d+_0x1cd767;},'mAiSc':function(_0x2dc039,_0x48faba){return _0x2dc039+_0x48faba;},'aMCxl':function(_0x1ecafb,_0x48ddda){return _0x1ecafb+_0x48ddda;},'bOnDY':_0x24603b(0x1e8),'FdJVO':_0x24603b(0x25e),'ycfSX':_0x24603b(0x22e),'buiYd':function(_0x4dfe03,_0x1ddd46){return _0x4dfe03||_0x1ddd46;},'zDEpg':function(_0x18b032,_0x2ad7fc){return _0x18b032+_0x2ad7fc;},'hHCkA':_0x24603b(0x240),'FhkcS':'&bkn=','Qodmb':_0x24603b(0x1f9),'kWNsC':function(_0x5cc53c,_0x1141bd){return _0x5cc53c<=_0x1141bd;},'xgJNs':function(_0x26f463,_0x16e8bf){return _0x26f463+_0x16e8bf;},'kfcaU':function(_0x21c0d4,_0xa735ca){return _0x21c0d4+_0xa735ca;},'noJnP':function(_0x520e18,_0x34f0ed){return _0x520e18+_0x34f0ed;},'QNoNW':_0x24603b(0x249),'GwVar':function(_0x5c8aa1,_0x138ed3){return _0x5c8aa1*_0x138ed3;},'tqdpH':_0x24603b(0x1d7),'DJFPp':function(_0x33cf96,_0x5ace7d){return _0x33cf96!==_0x5ace7d;}};let _0x3abaf2=new Array();try{let _0x4c7500=WebGroupData[_0x24603b(0x1f1)]['get'](_0x44550c),_0x519949=WebGroupData['GroupTime'][_0x24603b(0x250)](_0x44550c);if(!_0x519949||_0x936bf7[_0x24603b(0x1db)](_0x936bf7['pjFKw'](Date[_0x24603b(0x228)](),_0x519949),_0x936bf7[_0x24603b(0x1e3)](0x708,0x3e8))||!_0x343515){const _0x3fa5a5=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0x936bf7[_0x24603b(0x211)]],_0xb29b38=await NTQQUserApi[_0x24603b(0x259)](),_0xdd0048=_0x936bf7['EArTd'](_0x936bf7[_0x24603b(0x1c8)](_0x936bf7[_0x24603b(0x1dc)](_0x936bf7[_0x24603b(0x1c8)](_0x936bf7[_0x24603b(0x1d2)](_0x936bf7[_0x24603b(0x21a)],_0x3fa5a5),_0x936bf7[_0x24603b(0x245)]),_0xb29b38),_0x936bf7[_0x24603b(0x269)]),selfInfo['uin']);if(_0x936bf7[_0x24603b(0x25b)](!_0xb29b38,!_0x3fa5a5))return _0x3abaf2;const _0x32848a=WebApi[_0x24603b(0x230)](_0xb29b38),_0x29038b=[],_0x377db7=await RequestUtil['HttpGetJson'](_0x936bf7['zDEpg'](_0x936bf7[_0x24603b(0x260)](_0x936bf7[_0x24603b(0x23b)],_0x44550c),_0x936bf7['FhkcS'])+_0x32848a,_0x936bf7[_0x24603b(0x214)],'',{'Cookie':_0xdd0048});if(!_0x377db7?.[_0x24603b(0x224)]||_0x377db7?.[_0x24603b(0x20d)]!==0x0||!_0x377db7?.[_0x24603b(0x1f5)])return[];else for(const _0x11e402 in _0x377db7[_0x24603b(0x1f5)]){_0x3abaf2[_0x24603b(0x1fe)](_0x377db7[_0x24603b(0x1f5)][_0x11e402]);}const _0x17d451=Math[_0x24603b(0x1ff)](_0x377db7['count']/0x28);for(let _0x15f69c=0x2;_0x936bf7[_0x24603b(0x257)](_0x15f69c,_0x17d451);_0x15f69c++){const _0x3eea75=RequestUtil[_0x24603b(0x25a)](_0x936bf7[_0x24603b(0x1e2)](_0x936bf7[_0x24603b(0x260)](_0x936bf7[_0x24603b(0x1e2)](_0x936bf7[_0x24603b(0x21f)](_0x936bf7[_0x24603b(0x238)](_0x936bf7[_0x24603b(0x226)],_0x936bf7[_0x24603b(0x23f)](_0x936bf7[_0x24603b(0x264)](_0x15f69c,0x1),0x28))+_0x936bf7[_0x24603b(0x229)]+_0x936bf7[_0x24603b(0x1e3)](_0x15f69c,0x28),_0x24603b(0x1fc)),_0x44550c),_0x24603b(0x22a)),_0x32848a),_0x936bf7[_0x24603b(0x214)],'',{'Cookie':_0xdd0048});_0x29038b[_0x24603b(0x1fe)](_0x3eea75);}for(let _0x116da9=0x1;_0x116da9<=_0x17d451;_0x116da9++){const _0x25993d=await _0x29038b[_0x116da9];if(!_0x25993d?.['count']||_0x936bf7[_0x24603b(0x25f)](_0x25993d?.[_0x24603b(0x20d)],0x0)||!_0x25993d?.[_0x24603b(0x1f5)])continue;for(const _0x1c8bde in _0x25993d[_0x24603b(0x1f5)]){_0x3abaf2[_0x24603b(0x1fe)](_0x25993d['mems'][_0x1c8bde]);}}WebGroupData[_0x24603b(0x1f1)][_0x24603b(0x205)](_0x44550c,_0x3abaf2),WebGroupData['GroupTime'][_0x24603b(0x205)](_0x44550c,Date[_0x24603b(0x228)]());}else _0x3abaf2=_0x4c7500;}catch{return _0x3abaf2;}return _0x3abaf2;}static async['setGroupNotice'](_0xa0f09b,_0x32e3db=''){const _0x3eb683=_0x3068d9,_0x53d0f9={'rdSyf':function(_0x4975ac,_0x48063e){return _0x4975ac+_0x48063e;},'bjeSQ':function(_0x22a7c8,_0x43660a){return _0x22a7c8+_0x43660a;},'OWgES':function(_0xc115a5,_0x5adf8a){return _0xc115a5+_0x5adf8a;},'HwkCl':'p_skey=','jskCN':_0x3eb683(0x25e),'aexfe':_0x3eb683(0x22e),'HuKqq':function(_0x1d6507,_0x447a1c){return _0x1d6507||_0x447a1c;},'jmcEi':function(_0x1751e2,_0x459b4b){return _0x1751e2+_0x459b4b;},'eqoaB':function(_0x4b1ad9,_0x4b9c4d){return _0x4b1ad9+_0x4b9c4d;},'lYqBR':_0x3eb683(0x1e6),'KceKp':_0x3eb683(0x22a),'akMRm':_0x3eb683(0x227),'EACta':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','pULMJ':_0x3eb683(0x217)},_0x2e5491=(await NTQQUserApi[_0x3eb683(0x1cc)](['qun.qq.com']))[_0x3eb683(0x24d)],_0x213396=await NTQQUserApi['getSkey'](),_0x554a63=_0x53d0f9[_0x3eb683(0x1cb)](_0x53d0f9[_0x3eb683(0x23e)](_0x53d0f9[_0x3eb683(0x265)](_0x53d0f9[_0x3eb683(0x23e)](_0x53d0f9[_0x3eb683(0x1eb)],_0x2e5491),_0x53d0f9[_0x3eb683(0x1fa)]),_0x213396),_0x53d0f9[_0x3eb683(0x225)])+selfInfo[_0x3eb683(0x247)];let _0x3967e8=undefined;if(_0x53d0f9['HuKqq'](!_0x213396,!_0x2e5491))return undefined;const _0xd2399=WebApi[_0x3eb683(0x230)](_0x213396),_0xb5d2e4=_0x53d0f9['jmcEi'](_0x53d0f9[_0x3eb683(0x23e)](_0x53d0f9[_0x3eb683(0x265)](_0x53d0f9[_0x3eb683(0x21b)](_0x53d0f9[_0x3eb683(0x21b)](_0x53d0f9[_0x3eb683(0x21b)](_0x53d0f9[_0x3eb683(0x24a)],_0xa0f09b),_0x53d0f9['KceKp']),_0xd2399),'&text='),_0x32e3db),_0x53d0f9[_0x3eb683(0x24b)]),_0x38c97c=_0x53d0f9['eqoaB'](_0x53d0f9[_0x3eb683(0x23c)],_0xd2399);try{return _0x3967e8=await RequestUtil['HttpGetJson'](_0x38c97c,_0x53d0f9[_0x3eb683(0x1d8)],'',{'Cookie':_0x554a63}),_0x3967e8;}catch(_0x28a477){return undefined;}return undefined;}static async[_0x3068d9(0x1ce)](_0x3514a7){const _0x1bf0c2=_0x3068d9,_0xeadbcf={'rYHDY':_0x1bf0c2(0x24d),'VYXkW':function(_0x50f4d2,_0x2e7b9e){return _0x50f4d2+_0x2e7b9e;},'coDvd':_0x1bf0c2(0x1e8),'VLQnM':_0x1bf0c2(0x25e),'IYGuV':_0x1bf0c2(0x22e),'IjhGy':function(_0x206449,_0x4eb8f0){return _0x206449||_0x4eb8f0;},'ZmXrB':function(_0x652bad,_0x23e411){return _0x652bad+_0x23e411;},'tkkiI':_0x1bf0c2(0x220),'ltFCL':_0x1bf0c2(0x1fb),'jjcwW':'GET'},_0x1c08cf=(await NTQQUserApi[_0x1bf0c2(0x1cc)]([_0xeadbcf[_0x1bf0c2(0x20a)]]))[_0x1bf0c2(0x24d)],_0x52896d=await NTQQUserApi[_0x1bf0c2(0x259)](),_0x52ec18=_0xeadbcf[_0x1bf0c2(0x251)](_0xeadbcf[_0x1bf0c2(0x251)](_0xeadbcf['VYXkW'](_0xeadbcf[_0x1bf0c2(0x251)](_0xeadbcf['coDvd'],_0x1c08cf)+_0xeadbcf[_0x1bf0c2(0x212)],_0x52896d),_0xeadbcf[_0x1bf0c2(0x219)]),selfInfo[_0x1bf0c2(0x247)]);let _0x2e3c84=undefined;if(_0xeadbcf['IjhGy'](!_0x52896d,!_0x1c08cf))return undefined;const _0x17e5a5=WebApi['genBkn'](_0x52896d),_0xb4f6c0=_0xeadbcf[_0x1bf0c2(0x251)](_0xeadbcf['ZmXrB'](_0xeadbcf[_0x1bf0c2(0x1e9)](_0xeadbcf[_0x1bf0c2(0x244)],_0x17e5a5),_0x1bf0c2(0x201))+_0x3514a7,_0xeadbcf[_0x1bf0c2(0x1d4)]);try{_0x2e3c84=await RequestUtil[_0x1bf0c2(0x25a)](_0xb4f6c0,_0xeadbcf[_0x1bf0c2(0x20f)],'',{'Cookie':_0x52ec18});if(_0x2e3c84?.['ec']!==0x0)return undefined;return _0x2e3c84;}catch(_0x313564){return undefined;}return undefined;}static['genBkn'](_0x2472fb){const _0x4a450a=_0x3068d9,_0x278e2c={'nBoRl':function(_0x3577d1,_0x136d2a){return _0x3577d1||_0x136d2a;},'qAKyj':function(_0x5ee80c,_0x154184){return _0x5ee80c<_0x154184;},'jdacz':function(_0x2139b3,_0x4dcf08){return _0x2139b3+_0x4dcf08;},'WnhAN':function(_0x3f9040,_0x405649){return _0x3f9040&_0x405649;}};_0x2472fb=_0x278e2c[_0x4a450a(0x1ed)](_0x2472fb,'');let _0xb8623b=0x1505;for(let _0x302b63=0x0;_0x278e2c[_0x4a450a(0x233)](_0x302b63,_0x2472fb[_0x4a450a(0x22d)]);_0x302b63++){const _0x33fbbc=_0x2472fb[_0x4a450a(0x234)](_0x302b63);_0xb8623b=_0x278e2c['jdacz'](_0xb8623b+(_0xb8623b<<0x5),_0x33fbbc);}return _0x278e2c[_0x4a450a(0x200)](_0xb8623b,0x7fffffff)[_0x4a450a(0x1ca)]();}static async[_0x3068d9(0x1f4)](_0x526df0,_0x4bdbb9){const _0x33e5ee=_0x3068d9,_0x10b53c={'KaYOF':function(_0x2c5061,_0x4c1d5c){return _0x2c5061+_0x4c1d5c;},'UuKBr':function(_0x1bdfaa,_0x3bf5b1){return _0x1bdfaa+_0x3bf5b1;},'XMjmS':function(_0x35b6ef,_0x87c912){return _0x35b6ef+_0x87c912;},'yFSRp':'https://qun.qq.com/interactive/honorlist?gc=','ILlkC':_0x33e5ee(0x23d),'GdYAo':function(_0x5de358,_0x2f98d2){return _0x5de358===_0x2f98d2;},'bfyBy':function(_0x4f5903,_0x3aa831,_0x5756c3,_0x531539){return _0x4f5903(_0x3aa831,_0x5756c3,_0x531539);},'KnbEG':'获取当前群荣耀失败','CMcVF':_0x33e5ee(0x24d),'VWkMQ':function(_0x40d70f,_0x461763){return _0x40d70f||_0x461763;},'frCPC':function(_0x4f74fa,_0x622907){return _0x4f74fa+_0x622907;},'RWDDE':function(_0x2b1578,_0xd646f1){return _0x2b1578+_0xd646f1;},'NeVoX':function(_0x550491,_0x4b0e73){return _0x550491+_0x4b0e73;},'jZgBU':_0x33e5ee(0x207),'qcAAU':function(_0x25e072,_0x18f9ec){return _0x25e072===_0x18f9ec;},'USRzF':function(_0x42b56c,_0x469a25,_0x59335a){return _0x42b56c(_0x469a25,_0x59335a);},'iXqVU':_0x33e5ee(0x1d5),'CHzNd':function(_0x4cf6b6,_0x1816b3,_0x4f60c7){return _0x4cf6b6(_0x1816b3,_0x4f60c7);},'ZCvAn':'获取群聊之火失败','gLeXV':function(_0x22da93,_0x265067){return _0x22da93(_0x265067);},'DrAoD':function(_0x165da7,_0x350e72){return _0x165da7===_0x350e72;},'rxHjB':function(_0x246d09,_0xe35cf){return _0x246d09===_0xe35cf;},'FXuBe':_0x33e5ee(0x25d),'cVFkr':'获取快乐源泉失败','cMyCX':function(_0x20ea22,_0x5caca1){return _0x20ea22===_0x5caca1;}},_0x136f2a=(await NTQQUserApi['getPSkey']([_0x33e5ee(0x24d)]))[_0x10b53c[_0x33e5ee(0x222)]],_0x21a851=await NTQQUserApi[_0x33e5ee(0x259)]();if(_0x10b53c[_0x33e5ee(0x221)](!_0x21a851,!_0x136f2a))return undefined;async function _0x3a5261(_0x4a15fb,_0x874db7){const _0x36b7ba=_0x33e5ee;let _0x1ac98f=_0x10b53c[_0x36b7ba(0x1c4)](_0x10b53c[_0x36b7ba(0x231)](_0x10b53c[_0x36b7ba(0x20b)](_0x10b53c['yFSRp'],_0x4a15fb),_0x10b53c[_0x36b7ba(0x24f)]),_0x874db7[_0x36b7ba(0x1ca)]()),_0x202d85='',_0x32c44b;try{_0x202d85=await RequestUtil[_0x36b7ba(0x1f7)](_0x1ac98f,_0x36b7ba(0x217),'',{'Cookie':_0x3a4048});const _0x244e8c=_0x202d85['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x244e8c&&(_0x32c44b=JSON[_0x36b7ba(0x254)](_0x244e8c[0x1][_0x36b7ba(0x1fd)]())),_0x10b53c['GdYAo'](_0x874db7,0x1)?_0x32c44b?.['talkativeList']:_0x32c44b?.[_0x36b7ba(0x20e)];}catch(_0x27d1b3){_0x10b53c[_0x36b7ba(0x267)](logDebug,_0x10b53c[_0x36b7ba(0x24c)],_0x1ac98f,_0x27d1b3);}return undefined;}let _0xfa154d={'group_id':_0x526df0};const _0x3a4048=_0x10b53c[_0x33e5ee(0x203)](_0x10b53c['UuKBr'](_0x10b53c[_0x33e5ee(0x252)](_0x10b53c[_0x33e5ee(0x1da)](_0x10b53c['UuKBr'](_0x10b53c['KaYOF'](_0x33e5ee(0x1e8),_0x136f2a),_0x33e5ee(0x25e)),_0x21a851),_0x33e5ee(0x22e)),selfInfo[_0x33e5ee(0x247)]),_0x10b53c[_0x33e5ee(0x255)])+selfInfo[_0x33e5ee(0x247)];if(_0x10b53c[_0x33e5ee(0x1ef)](_0x4bdbb9,WebHonorType[_0x33e5ee(0x23a)])||_0x10b53c[_0x33e5ee(0x213)](_0x4bdbb9,WebHonorType['ALL']))try{let _0x596ae3=await _0x10b53c['USRzF'](_0x3a5261,_0x526df0,0x1);if(!_0x596ae3)throw new Error(_0x10b53c['iXqVU']);_0xfa154d[_0x33e5ee(0x241)]={'user_id':_0x596ae3[0x0]?.[_0x33e5ee(0x247)],'avatar':_0x596ae3[0x0]?.[_0x33e5ee(0x21c)],'nickname':_0x596ae3[0x0]?.['name'],'day_count':0x0,'description':_0x596ae3[0x0]?.[_0x33e5ee(0x232)]},_0xfa154d[_0x33e5ee(0x248)]=[];for(const _0x907045 of _0x596ae3){_0xfa154d[_0x33e5ee(0x248)][_0x33e5ee(0x1fe)]({'user_id':_0x907045?.[_0x33e5ee(0x247)],'avatar':_0x907045?.[_0x33e5ee(0x21c)],'description':_0x907045?.['desc'],'day_count':0x0,'nickname':_0x907045?.[_0x33e5ee(0x1f8)]});}}catch(_0x5ede30){logDebug(_0x5ede30);}if(_0x10b53c[_0x33e5ee(0x1ef)](_0x4bdbb9,WebHonorType['PERFROMER'])||_0x4bdbb9===WebHonorType['ALL'])try{let _0x40e656=await _0x10b53c[_0x33e5ee(0x1c5)](_0x3a5261,_0x526df0,0x2);if(!_0x40e656)throw new Error(_0x10b53c['ZCvAn']);_0xfa154d['performer_list']=[];for(const _0x46f56d of _0x40e656){_0xfa154d[_0x33e5ee(0x263)][_0x33e5ee(0x1fe)]({'user_id':_0x46f56d?.['uin'],'nickname':_0x46f56d?.[_0x33e5ee(0x1f8)],'avatar':_0x46f56d?.[_0x33e5ee(0x21c)],'description':_0x46f56d?.[_0x33e5ee(0x232)]});}}catch(_0xbc0a1c){_0x10b53c[_0x33e5ee(0x204)](logDebug,_0xbc0a1c);}if(_0x10b53c[_0x33e5ee(0x243)](_0x4bdbb9,WebHonorType['PERFROMER'])||_0x10b53c['rxHjB'](_0x4bdbb9,WebHonorType['ALL']))try{let _0x4a570a=await _0x10b53c[_0x33e5ee(0x237)](_0x3a5261,_0x526df0,0x3);if(!_0x4a570a)throw new Error(_0x10b53c['FXuBe']);_0xfa154d[_0x33e5ee(0x242)]=[];for(const _0x11db53 of _0x4a570a){_0xfa154d[_0x33e5ee(0x242)]['push']({'user_id':_0x11db53?.[_0x33e5ee(0x247)],'nickname':_0x11db53?.[_0x33e5ee(0x1f8)],'avatar':_0x11db53?.[_0x33e5ee(0x21c)],'desc':_0x11db53?.[_0x33e5ee(0x1e1)]});}}catch(_0x3d7485){_0x10b53c[_0x33e5ee(0x237)](logDebug,_0x10b53c[_0x33e5ee(0x1e7)],_0x3d7485);}if(_0x10b53c[_0x33e5ee(0x1cd)](_0x4bdbb9,WebHonorType['EMOTION'])||_0x4bdbb9===WebHonorType[_0x33e5ee(0x1ec)])try{let _0x4d8184=await _0x10b53c[_0x33e5ee(0x237)](_0x3a5261,_0x526df0,0x6);if(!_0x4d8184)throw new Error(_0x10b53c[_0x33e5ee(0x235)]);_0xfa154d[_0x33e5ee(0x1dd)]=[];for(const _0x211535 of _0x4d8184){_0xfa154d[_0x33e5ee(0x1dd)]['push']({'user_id':_0x211535?.['uin'],'nickname':_0x211535?.[_0x33e5ee(0x1f8)],'avatar':_0x211535?.[_0x33e5ee(0x21c)],'desc':_0x211535?.[_0x33e5ee(0x1e1)]});}}catch(_0x28386a){_0x10b53c[_0x33e5ee(0x1c5)](logDebug,_0x10b53c[_0x33e5ee(0x235)],_0x28386a);}return(_0x10b53c[_0x33e5ee(0x22b)](_0x4bdbb9,WebHonorType[_0x33e5ee(0x1df)])||_0x4bdbb9===WebHonorType['ALL'])&&(_0xfa154d[_0x33e5ee(0x215)]=[]),_0xfa154d;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 59465e6b..bc52dd02 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x5e5e36=_0x1a49;(function(_0x1c19fe,_0x2410d7){const _0x5e325b=_0x1a49,_0x1e5b9a=_0x1c19fe();while(!![]){try{const _0x21105b=-parseInt(_0x5e325b(0x22f))/0x1+-parseInt(_0x5e325b(0x19d))/0x2+parseInt(_0x5e325b(0x19b))/0x3*(parseInt(_0x5e325b(0x215))/0x4)+-parseInt(_0x5e325b(0x1ad))/0x5*(parseInt(_0x5e325b(0x22e))/0x6)+-parseInt(_0x5e325b(0x1b7))/0x7*(-parseInt(_0x5e325b(0x1c9))/0x8)+parseInt(_0x5e325b(0x1c0))/0x9+-parseInt(_0x5e325b(0x22a))/0xa*(-parseInt(_0x5e325b(0x203))/0xb);if(_0x21105b===_0x2410d7)break;else _0x1e5b9a['push'](_0x1e5b9a['shift']());}catch(_0x1b6bab){_0x1e5b9a['push'](_0x1e5b9a['shift']());}}}(_0x3657,0xd06c4));import _0x3b754f from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x3657(){const _0x389576=['startNT','QyOac','onKickedOffLine','NJmgC','find','EJOiu','dataPathGlobal','getBuddyList','pngBase64QrcodeData','getGroupService','BmGNP','VXHvj','result','forEach','QqJNj','onLoginFailed','zIRKY','groupCode','NodeIKernelLoginService','getNTUserDataInfoConfig','onSessionInitComplete','GroupListener','qrLogin','_GW_B','data:image/png;base64,','onProfileDetailInfoChanged','session','140022013','diFKX','base64','initDataListener','tipsDesc','proxyHandler','当前账号(','ZpadV','110UVOyHD','LIcmp','XcZbN','loginService','initWithDeskTopConfig','TcMob','buddyList','packet_received','ElEdb','constructor','rCFEW','now','BuddyListener','groupMemberList_MainWindow','passwordLogin','nNFrV','onLoginSuccess','buktX','2119568APXIcP','Windows\x2010\x20Pro','map','getBuddyService','floor','ZqZVZ','Lomsl','LocalLoginInfoList','assign','uin','NodeIKernelLoginListener','init\x20failed\x20','EUynm','resolve','addKernelGroupListener','digest','tipsTitle','has','VadsS','message_sent','quickLogin','2108600wKIbac','twvWK','createHash','addKernelProfileListener','242646vYGXfi','1210389mHhOtb','catch','-v2.db','RbomN','onMsgInfoListUpdate','isQuickLogin','onMemberInfoChange','split','addListener','FPsyi','consoleLog','loginListener','fileLogLevel','dataPath','length','eqKwg','NodeQQNTWrapperUtil','errMsg','RcZFn','read','memberCount','Oqrpe','hex','mtzpI','undefined','YlvQx','V1_WIN_NQ_','mkdirSync','onGroupListUpdate','hoAFu','name','recallTime','quickLoginWithUin','6UlTJCY','homedir','1269390QyDEJi','isDelete','devUid','NodeIQQNTWrapperEngine','HWKhW','NodeIDependsAdapter','快速登录失败\x20','util','engine','CVhsX','getMsgByLongId','数据库初始化失败','stringify','getLoginList','onUserLoggedIn','NodeIQQNTWrapperSession','155iuSwlk','from','get','VbukN','bZPUS','update','addKernelLoginListener','CXRqJ','onMemberListChange','lZFSZ','7tYQmjn','NodeIGlobalAdapter','addKernelBuddyListener','set','nDrhf','push','NodeIDispatcherAdapter','NodeIKernelBuddyListener','infos','3125754kQUUZG','updateMsg','getQRCodePicture','NodeIKernelProfileListener','onLoginSuccessFuncList','initConfig','fkQmQ','then','SDbAO','3494120sjCkyP','onSelfStatusChanged','ErowN','uid','onRecvSysMsg','init','FBkXY','./.config/QQ','onAddSendMsg','sceneId','last_message_time','clientType','getMsgService','onQRCodeSessionFailed','onBuddyListChange','initSession','replace','NodeIKernelGroupListener','没有可快速登录的QQ号','message_received','qrcodeUrl','initSession\x20failed','curVersion'];_0x3657=function(){return _0x389576;};return _0x3657();}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x3f98a0 from'node:path';import _0x3e6ab2 from'node:os';function _0x1a49(_0xe69ad8,_0x8049f2){const _0x365708=_0x3657();return _0x1a49=function(_0x1a497c,_0x248a57){_0x1a497c=_0x1a497c-0x187;let _0x2e31da=_0x365708[_0x1a497c];return _0x2e31da;},_0x1a49(_0xe69ad8,_0x8049f2);}import _0x14b5aa from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x38031d 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{[_0x5e5e36(0x1fa)];['util'];[_0x5e5e36(0x1a5)];[_0x5e5e36(0x23a)];[_0x5e5e36(0x206)];[_0x5e5e36(0x1c4)]=[];[_0x5e5e36(0x200)]={'get'(target,prop,receiver){const _0x391efc=_0x5e5e36,MxOgWL={'SadiB':function(callee,param1){return callee(param1);},'YlvQx':function(x,y){return x===y;},'TcMob':_0x391efc(0x192)};if(MxOgWL[_0x391efc(0x193)](typeof target[prop],MxOgWL[_0x391efc(0x208)]))return(...args)=>{const _0x51b328=_0x391efc;MxOgWL['SadiB'](logDebug,target[_0x51b328(0x20c)][_0x51b328(0x198)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x391efc(0x1af)](target,prop,receiver);}};constructor(){const _0x381bc7=_0x5e5e36,_0x2932e3={'lZFSZ':function(_0x1d3b80,_0xa0bd7c){return _0x1d3b80(_0xa0bd7c);},'asgtC':function(_0x57a33,_0xd652f5){return _0x57a33+_0xd652f5;},'LIcmp':')已登录,无法重复登录','VXPYm':function(_0x3210e7,_0x52f89c){return _0x3210e7 instanceof _0x52f89c;},'lEkfT':function(_0x23a04c,_0x2a6782,_0xa88469){return _0x23a04c(_0x2a6782,_0xa88469);},'eqKwg':function(_0x2d4efd,_0x1c7446,_0x33029e){return _0x2d4efd(_0x1c7446,_0x33029e);},'diFKX':function(_0x283f96,_0x314da4,_0x3a4e6f){return _0x283f96(_0x314da4,_0x3a4e6f);},'RbomN':'登录失败','twvWK':function(_0x186070,_0x150689){return _0x186070==_0x150689;},'hoAFu':function(_0x3cf55d,_0x22f55d,_0x4e2f67){return _0x3cf55d(_0x22f55d,_0x4e2f67);}};this[_0x381bc7(0x1a5)]=new _0x3b754f[(_0x381bc7(0x1a0))](),this[_0x381bc7(0x1a4)]=new _0x3b754f[(_0x381bc7(0x18a))](),this[_0x381bc7(0x206)]=new _0x3b754f[(_0x381bc7(0x1f2))](),this['session']=new _0x3b754f[(_0x381bc7(0x1ac))](),this['loginListener']=new LoginListener(),this['loginListener'][_0x381bc7(0x1ab)]=_0x4ad566=>{const _0x52c1a8=_0x381bc7;_0x2932e3[_0x52c1a8(0x1b6)](logError,_0x2932e3['asgtC'](_0x52c1a8(0x201)+_0x4ad566,_0x2932e3[_0x52c1a8(0x204)]));},this[_0x381bc7(0x23a)]['onQRCodeLoginSucceed']=_0xdc3ef9=>{const _0x107e68=_0x381bc7,_0x2a9398={'XcZbN':function(_0x88c519,_0x3e980b,_0x2bcc8f){return _0x2932e3['lEkfT'](_0x88c519,_0x3e980b,_0x2bcc8f);},'EJOiu':_0x107e68(0x1a8)};this[_0x107e68(0x1d8)](_0xdc3ef9[_0x107e68(0x21e)],_0xdc3ef9[_0x107e68(0x1cc)])[_0x107e68(0x1c7)](_0x288ce8=>{const _0x237b3b=_0x107e68,_0x2fbcf4={'nDrhf':function(_0x3c833a,_0x52e6d9){return _0x2932e3['VXPYm'](_0x3c833a,_0x52e6d9);}};selfInfo[_0x237b3b(0x21e)]=_0xdc3ef9[_0x237b3b(0x21e)],selfInfo[_0x237b3b(0x1cc)]=_0xdc3ef9['uid'],napCatConfig[_0x237b3b(0x18d)](),_0x2932e3['lEkfT'](setLogLevel,napCatConfig[_0x237b3b(0x23b)],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig['fileLog']),enableConsoleLog(napCatConfig[_0x237b3b(0x239)]),_0x2932e3['lZFSZ'](setLogSelfInfo,selfInfo);const _0x89ee46=_0x3f98a0[_0x237b3b(0x222)](this[_0x237b3b(0x187)],'./NapCat/data');_0x14b5aa[_0x237b3b(0x195)](_0x89ee46,{'recursive':!![]}),_0x2932e3[_0x237b3b(0x189)](logDebug,'本账号数据/缓存目录:',_0x89ee46),dbUtil['init'](_0x3f98a0[_0x237b3b(0x222)](_0x89ee46,'./'+_0xdc3ef9[_0x237b3b(0x21e)]+_0x237b3b(0x231)))['then'](()=>{const _0x53cae1=_0x237b3b,_0x15768b={'wBrkQ':function(_0x5a4bd5,_0x407c63){const _0x2110a2=_0x1a49;return _0x2fbcf4[_0x2110a2(0x1bb)](_0x5a4bd5,_0x407c63);}};this[_0x53cae1(0x1fe)](),this[_0x53cae1(0x1c4)]['map'](_0x2a0654=>{const _0x1920b5=_0x53cae1,_0x10b736={'SDbAO':function(_0x4767d3,_0x43a24a){return _0x15768b['wBrkQ'](_0x4767d3,_0x43a24a);}};new Promise((_0x4726cc,_0x33e965)=>{const _0x26f972=_0x1a49,_0x4ed710=_0x2a0654(_0xdc3ef9['uin'],_0xdc3ef9[_0x26f972(0x1cc)]);_0x10b736[_0x26f972(0x1c8)](_0x4ed710,Promise)&&_0x4ed710['then'](_0x4726cc)[_0x26f972(0x230)](_0x33e965);})[_0x1920b5(0x1c7)]();});})[_0x237b3b(0x230)](_0x47bf71=>{const _0x3bc41d=_0x237b3b;_0x2a9398[_0x3bc41d(0x205)](logError,_0x2a9398[_0x3bc41d(0x1e5)],_0x47bf71);});})[_0x107e68(0x230)](_0x23a926=>{const _0x2e4185=_0x107e68;logError(_0x2e4185(0x1de),_0x23a926);throw new Error('启动失败:\x20'+JSON[_0x2e4185(0x1a9)](_0x23a926));});},this[_0x381bc7(0x23a)][_0x381bc7(0x1d6)]=(_0x202468,_0x231285,_0x5c0266)=>{const _0x376ad2=_0x381bc7;_0x2932e3[_0x376ad2(0x1fc)](logError,_0x2932e3[_0x376ad2(0x232)],_0x5c0266),_0x202468==0x1&&_0x2932e3[_0x376ad2(0x22b)](_0x231285,0x3)&&this[_0x376ad2(0x206)]['getQRCodePicture']();},this[_0x381bc7(0x23a)][_0x381bc7(0x1ef)]=_0x1ababf=>{const _0x37fa37=_0x381bc7;_0x2932e3[_0x37fa37(0x197)](logError,_0x2932e3['RbomN'],_0x1ababf);},this[_0x381bc7(0x23a)]=new Proxy(this[_0x381bc7(0x23a)],this[_0x381bc7(0x200)]),this[_0x381bc7(0x206)][_0x381bc7(0x1b3)](new _0x3b754f[(_0x381bc7(0x21f))](this['loginListener'])),this[_0x381bc7(0x1c5)]();}get[_0x5e5e36(0x187)](){const _0xf96d94=_0x5e5e36,_0x337dd3={'ErowN':_0xf96d94(0x1d0)};let _0x624cfc=this[_0xf96d94(0x1a4)][_0xf96d94(0x1f3)]();return!_0x624cfc&&(_0x624cfc=_0x3f98a0[_0xf96d94(0x222)](_0x3e6ab2[_0xf96d94(0x19c)](),_0x337dd3[_0xf96d94(0x1cb)]),_0x14b5aa[_0xf96d94(0x195)](_0x624cfc,{'recursive':!![]})),_0x624cfc;}get[_0x5e5e36(0x1e6)](){const _0x1049f1=_0x5e5e36,_0x19bd26={'dOeGI':'./nt_qq/global'};return _0x3f98a0[_0x1049f1(0x222)](this[_0x1049f1(0x187)],_0x19bd26['dOeGI']);}['initConfig'](){const _0x405038=_0x5e5e36,_0x55e094={'VbukN':_0x405038(0x216)};this[_0x405038(0x1a5)][_0x405038(0x207)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x405038(0x1df)],'os_version':_0x55e094[_0x405038(0x1b0)],'use_xlog':!![],'qua':_0x405038(0x194)+qqVersionConfigInfo[_0x405038(0x1df)][_0x405038(0x1d9)]('-','_')+_0x405038(0x1f7),'global_path_config':{'desktopGlobalPath':this[_0x405038(0x1e6)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x3b754f[(_0x405038(0x1b8))](new GlobalAdapter())),this['loginService'][_0x405038(0x1c5)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x405038(0x1df)],'hostName':hostname});}[_0x5e5e36(0x1d8)](_0x5f4617,_0x2cbefa){const _0x3b3cf4=_0x5e5e36,_0x3421af={'uVStN':function(_0x9d0957,_0x21b166){return _0x9d0957===_0x21b166;},'CVhsX':function(_0x2b19e8,_0x15248a){return _0x2b19e8(_0x15248a);},'VadsS':function(_0xd6c7f8,_0x35e4ed,_0x307037,_0x44bf71){return _0xd6c7f8(_0x35e4ed,_0x307037,_0x44bf71);},'ZqZVZ':function(_0xe9527c,_0x3294da){return _0xe9527c+_0x3294da;},'FPsyi':_0x3b3cf4(0x220)};return new Promise(async(_0x59a00f,_0x57036a)=>{const _0x5a6789=_0x3b3cf4,_0x789dfb={'buktX':function(_0x51aae4,_0x605577){return _0x3421af['uVStN'](_0x51aae4,_0x605577);},'bZPUS':function(_0x2d78e2,_0x3177d2){const _0xe97aee=_0x1a49;return _0x3421af[_0xe97aee(0x1a6)](_0x2d78e2,_0x3177d2);},'EUynm':function(_0x2de9cb,_0x185870){const _0x2f8430=_0x1a49;return _0x3421af[_0x2f8430(0x1a6)](_0x2de9cb,_0x185870);}},_0x47cb6b=await _0x3421af[_0x5a6789(0x227)](genSessionConfig,_0x5f4617,_0x2cbefa,this[_0x5a6789(0x187)]),_0x4f9f03=new SessionListener();_0x4f9f03[_0x5a6789(0x1f4)]=_0x3e6846=>{const _0x58e7cf=_0x5a6789;if(_0x789dfb[_0x58e7cf(0x214)](_0x3e6846,0x0))return _0x789dfb[_0x58e7cf(0x1b1)](_0x59a00f,0x0);_0x789dfb[_0x58e7cf(0x221)](_0x57036a,_0x3e6846);},this[_0x5a6789(0x1fa)][_0x5a6789(0x1ce)](_0x47cb6b,new _0x3b754f[(_0x5a6789(0x1a2))](new DependsAdapter()),new _0x3b754f[(_0x5a6789(0x1bd))](new DispatcherAdapter()),new _0x3b754f['NodeIKernelSessionListener'](_0x4f9f03));try{this['session'][_0x5a6789(0x1e0)](0x0);}catch(_0x2684e2){try{this[_0x5a6789(0x1fa)][_0x5a6789(0x1e0)]();}catch(_0x13d5b0){_0x3421af[_0x5a6789(0x1a6)](_0x57036a,_0x3421af[_0x5a6789(0x21a)](_0x3421af[_0x5a6789(0x238)],_0x13d5b0));}}});}['initDataListener'](){const _0x82e55e=_0x5e5e36,_0x2847f2={'RcZFn':function(_0x15ff84,_0x383651){return _0x15ff84===_0x383651;},'zIRKY':function(_0x4b0bcc,_0x4a0560){return _0x4b0bcc(_0x4a0560);},'Lomsl':function(_0x26b501,_0x3e9023){return _0x26b501+_0x3e9023;},'rCFEW':'账号设备(','HWKhW':')\x20在线状态变更','FBkXY':function(_0x5d4346,_0x3be0d6){return _0x5d4346+_0x3be0d6;},'VXHvj':'[KickedOffLine]\x20[','NJmgC':function(_0x4c8c08,_0x465974){return _0x4c8c08===_0x465974;},'QqJNj':function(_0x1a1e79,_0x36c6ae){return _0x1a1e79/_0x36c6ae;},'Oqrpe':function(_0x58b2ae,_0x27b65b){return _0x58b2ae/_0x27b65b;},'ZpadV':_0x82e55e(0x210)},_0x39c011=new MsgListener();_0x39c011['onLineDev']=_0x2d8e43=>{_0x2d8e43['map'](_0x314d88=>{const _0x5b148c=_0x1a49;_0x2847f2['RcZFn'](_0x314d88[_0x5b148c(0x1d4)],0x2)&&_0x2847f2['zIRKY'](log,_0x2847f2[_0x5b148c(0x21b)](_0x2847f2[_0x5b148c(0x20d)]+_0x314d88[_0x5b148c(0x19f)],_0x2847f2[_0x5b148c(0x1a1)]));});},_0x39c011[_0x82e55e(0x1e2)]=_0x46fa34=>{const _0x444919=_0x82e55e;_0x2847f2[_0x444919(0x1f0)](log,_0x2847f2[_0x444919(0x1cf)](_0x2847f2[_0x444919(0x1eb)]+_0x46fa34[_0x444919(0x225)],']\x20')+_0x46fa34[_0x444919(0x1ff)]);},_0x39c011[_0x82e55e(0x233)]=_0xb1b63d=>{const _0x498197=_0x82e55e;stat['packet_received']+=0x1,_0xb1b63d[_0x498197(0x217)](_0x2252f8=>{const _0x5dbdc4=_0x498197;_0x2847f2[_0x5dbdc4(0x1e3)](_0x2252f8[_0x5dbdc4(0x199)],'0')?dbUtil['addMsg'](_0x2252f8)['then']()[_0x5dbdc4(0x230)]():dbUtil[_0x5dbdc4(0x1a7)](_0x2252f8['msgId'])[_0x5dbdc4(0x1c7)](_0x5665e5=>{const _0x38a31e=_0x5dbdc4;_0x5665e5&&(_0x5665e5['recallTime']=_0x2252f8[_0x38a31e(0x199)],dbUtil[_0x38a31e(0x1c1)](_0x5665e5)[_0x38a31e(0x1c7)]());});});},_0x39c011[_0x82e55e(0x1d1)]=_0x5c451b=>{const _0x514402=_0x82e55e;stat['packet_sent']+=0x1,stat[_0x514402(0x228)]+=0x1,stat[_0x514402(0x1d3)]=Math[_0x514402(0x219)](_0x2847f2[_0x514402(0x1ee)](Date[_0x514402(0x20e)](),0x3e8));},_0x39c011['onRecvMsg']=_0x42d6fd=>{const _0x1cec79=_0x82e55e;stat[_0x1cec79(0x20a)]+=0x1,stat[_0x1cec79(0x1dc)]+=_0x42d6fd[_0x1cec79(0x188)],stat[_0x1cec79(0x1d3)]=Math[_0x1cec79(0x219)](_0x2847f2[_0x1cec79(0x18f)](Date['now'](),0x3e8));},_0x39c011[_0x82e55e(0x1cd)]=(..._0x1d7e99)=>{const _0x5e36fc=_0x82e55e;stat[_0x5e36fc(0x20a)]+=0x1;},this[_0x82e55e(0x237)](_0x39c011);const _0x26154a=new BuddyListener();_0x26154a[_0x82e55e(0x1d7)]=_0x3fc777=>{const _0x1f1e23=_0x82e55e;rawFriends[_0x1f1e23(0x188)]=0x0,rawFriends[_0x1f1e23(0x1bc)](..._0x3fc777);for(const _0x161581 of _0x3fc777){for(const _0x1b0f26 of _0x161581[_0x1f1e23(0x209)]){const _0x24f754=friends[_0x1f1e23(0x1af)](_0x1b0f26[_0x1f1e23(0x1cc)]);uid2UinMap[_0x1b0f26[_0x1f1e23(0x1cc)]]=_0x1b0f26[_0x1f1e23(0x21e)],_0x24f754?Object['assign'](_0x24f754,_0x1b0f26):friends[_0x1f1e23(0x1ba)](_0x1b0f26[_0x1f1e23(0x1cc)],_0x1b0f26);}}},this['addListener'](_0x26154a),this[_0x82e55e(0x1fa)]['getBuddyService']()[_0x82e55e(0x1e7)](!![])['then'](_0x145ee1=>{});const _0x5284a1=new ProfileListener();_0x5284a1[_0x82e55e(0x1f9)]=_0x226a32=>{const _0x5823f0=_0x82e55e;_0x226a32[_0x5823f0(0x1cc)]===selfInfo[_0x5823f0(0x1cc)]&&Object[_0x5823f0(0x21d)](selfInfo,_0x226a32);},_0x5284a1[_0x82e55e(0x1ca)]=_0x10c5b2=>{},this[_0x82e55e(0x237)](_0x5284a1);const _0x629491=new GroupListener();_0x629491[_0x82e55e(0x196)]=(_0x42488e,_0x2dde37)=>{const _0x5c01d3=_0x82e55e;_0x2dde37[_0x5c01d3(0x217)](_0x151547=>{const _0x57b989=_0x5c01d3,_0x281699=groups[_0x57b989(0x1af)](_0x151547[_0x57b989(0x1f1)]);_0x281699&&_0x151547[_0x57b989(0x18e)]===_0x281699[_0x57b989(0x18e)]?Object['assign'](_0x281699,_0x151547):groups['set'](_0x151547[_0x57b989(0x1f1)],_0x151547);const _0x542487=this['session']['getGroupService']()['createMemberListScene'](_0x151547[_0x57b989(0x1f1)],_0x2847f2[_0x57b989(0x202)]);this['session'][_0x57b989(0x1e9)]()['getNextMemberList'](_0x542487,undefined,0xbb8)[_0x57b989(0x1c7)](_0xab7dac=>{});});},_0x629491[_0x82e55e(0x1b5)]=_0xe022ee=>{const _0x5f4406=_0x82e55e,_0x2e6ac8=_0xe022ee[_0x5f4406(0x1d2)][_0x5f4406(0x236)]('_')[0x0];if(groupMembers[_0x5f4406(0x226)](_0x2e6ac8)){const _0x1c71ae=groupMembers[_0x5f4406(0x1af)](_0x2e6ac8);_0xe022ee[_0x5f4406(0x1bf)][_0x5f4406(0x1ed)]((_0x21cbb3,_0xe1dc83)=>{const _0x4a7e65=_0x5f4406,_0x29f896=_0x1c71ae[_0x4a7e65(0x1af)](_0xe1dc83);_0x29f896?Object[_0x4a7e65(0x21d)](_0x29f896,_0x21cbb3):_0x1c71ae[_0x4a7e65(0x1ba)](_0xe1dc83,_0x21cbb3);});}else groupMembers[_0x5f4406(0x1ba)](_0x2e6ac8,_0xe022ee['infos']);},_0x629491[_0x82e55e(0x235)]=(_0xe6ac86,_0x525a46,_0x137536)=>{const _0x2d07aa=_0x82e55e;_0x2847f2[_0x2d07aa(0x18c)](_0x525a46,0x0)&&_0x137536['get'](selfInfo[_0x2d07aa(0x1cc)])&&_0x137536[_0x2d07aa(0x1af)](selfInfo['uid'])?.[_0x2d07aa(0x19e)]&&setTimeout(()=>{groups['delete'](_0xe6ac86);},0x1388);_0x137536['forEach']((_0x21c477,_0x215eed)=>{const _0x54fdc4=_0x2d07aa;uid2UinMap[_0x215eed]=_0x21c477[_0x54fdc4(0x21e)];});const _0x50df95=groupMembers[_0x2d07aa(0x1af)](_0xe6ac86);_0x50df95?_0x137536[_0x2d07aa(0x1ed)]((_0xd3ad04,_0x182615)=>{const _0x5c4088=_0x2d07aa,_0x517809=_0x50df95[_0x5c4088(0x1af)](_0x182615);_0x517809?Object['assign'](_0x517809,_0xd3ad04):_0x50df95[_0x5c4088(0x1ba)](_0x182615,_0xd3ad04);}):groupMembers[_0x2d07aa(0x1ba)](_0xe6ac86,_0x137536);},this['addListener'](_0x629491);}[_0x5e5e36(0x237)](_0x465ae7){const _0x15706e=_0x5e5e36,_0x4975b2={'mtzpI':_0x15706e(0x1f5)};_0x465ae7=new Proxy(_0x465ae7,this[_0x15706e(0x200)]);switch(_0x465ae7[_0x15706e(0x20c)][_0x15706e(0x198)]){case _0x15706e(0x20f):{return this['session'][_0x15706e(0x218)]()[_0x15706e(0x1b9)](new _0x3b754f[(_0x15706e(0x1be))](_0x465ae7));}case _0x4975b2[_0x15706e(0x191)]:{return this[_0x15706e(0x1fa)][_0x15706e(0x1e9)]()[_0x15706e(0x223)](new _0x3b754f[(_0x15706e(0x1da))](_0x465ae7));}case'MsgListener':{return this[_0x15706e(0x1fa)][_0x15706e(0x1d5)]()['addKernelMsgListener'](new _0x3b754f['NodeIKernelMsgListener'](_0x465ae7));}case'ProfileListener':{return this[_0x15706e(0x1fa)]['getProfileService']()[_0x15706e(0x22d)](new _0x3b754f[(_0x15706e(0x1c3))](_0x465ae7));}default:return-0x1;}}[_0x5e5e36(0x213)](_0x542562){const _0x51a4c4=_0x5e5e36;NTEventDispatch[_0x51a4c4(0x1ce)]({'ListenerMap':_0x3b754f,'WrapperSession':this[_0x51a4c4(0x1fa)]}),this[_0x51a4c4(0x1c4)]['push'](_0x542562);}async[_0x5e5e36(0x229)](_0x39e93c){const _0x5e4cfa=_0x5e5e36,_0x4c1b5d={'baIHT':function(_0xe97e2e,_0x3ba5a1){return _0xe97e2e!==_0x3ba5a1;},'SVbdU':_0x5e4cfa(0x1db),'BmGNP':function(_0x2d934b,_0x240429){return _0x2d934b(_0x240429);},'CXRqJ':function(_0x157ff3,_0x460c6a){return _0x157ff3+_0x460c6a;}},_0x48f7d9=await this[_0x5e4cfa(0x206)]['getLoginList']();if(_0x4c1b5d['baIHT'](_0x48f7d9[_0x5e4cfa(0x1ec)],0x0))throw new Error(_0x4c1b5d['SVbdU']);const _0x255049=_0x48f7d9[_0x5e4cfa(0x21c)][_0x5e4cfa(0x1e4)](_0x556ceb=>_0x556ceb[_0x5e4cfa(0x21e)]===_0x39e93c);if(!_0x255049||!_0x255049?.[_0x5e4cfa(0x234)])throw new Error(_0x39e93c+'快速登录不可用');await _0x4c1b5d[_0x5e4cfa(0x1ea)](sleep,0x3e8);const _0x232072=await this['loginService'][_0x5e4cfa(0x19a)](_0x39e93c);if(!_0x232072[_0x5e4cfa(0x1ec)])throw new Error(_0x4c1b5d[_0x5e4cfa(0x1b4)](_0x5e4cfa(0x1a3),_0x232072['loginErrorInfo'][_0x5e4cfa(0x18b)]));return _0x232072;}async[_0x5e5e36(0x1f6)](_0x43f37b){const _0x4c2101=_0x5e5e36,_0x16ab8a={'ElEdb':_0x4c2101(0x1f8)};return new Promise((_0x5ac392,_0x13aa43)=>{const _0x4d6511=_0x4c2101;this[_0x4d6511(0x23a)]['onQRCodeGetPicture']=_0x29664b=>{const _0x192e8b=_0x4d6511,_0x49e164=_0x29664b['pngBase64QrcodeData'][_0x192e8b(0x236)](_0x16ab8a[_0x192e8b(0x20b)])[0x1],_0x1c2cac=Buffer[_0x192e8b(0x1ae)](_0x49e164,_0x192e8b(0x1fd));_0x43f37b(_0x29664b[_0x192e8b(0x1dd)],_0x29664b[_0x192e8b(0x1e8)],_0x1c2cac);},this[_0x4d6511(0x206)][_0x4d6511(0x1c2)]();});}async[_0x5e5e36(0x211)](_0x5b145e,_0x1f7296,_0x82250e,_0x303896,_0x3f9451){const _0xa43cdd=_0x5e5e36,_0x28d64a={'zAUQm':'md5','fkQmQ':_0xa43cdd(0x190),'nNFrV':function(_0x17be9b,_0x5d35e7){return _0x17be9b&&_0x5d35e7;},'QyOac':function(_0x31e315,_0x3d2980){return _0x31e315||_0x3d2980;},'wCBvF':function(_0x225217,_0x4183a6){return _0x225217||_0x4183a6;}},_0x466358=_0x38031d[_0xa43cdd(0x22c)](_0x28d64a['zAUQm'])[_0xa43cdd(0x1b2)](_0x1f7296)[_0xa43cdd(0x224)](_0x28d64a[_0xa43cdd(0x1c6)]),_0x539969={'uin':_0x5b145e,'passwordMd5':_0x466358,'step':_0x28d64a[_0xa43cdd(0x212)](_0x82250e,_0x303896)&&_0x3f9451?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x28d64a[_0xa43cdd(0x1e1)](_0x82250e,''),'proofWaterRand':_0x28d64a['wCBvF'](_0x303896,''),'proofWaterSid':_0x3f9451||''};await this['loginService'][_0xa43cdd(0x1aa)](),await sleep(0x3e8);const _0xf74470=await this[_0xa43cdd(0x206)][_0xa43cdd(0x211)](_0x539969);switch(_0xf74470[_0xa43cdd(0x1ec)]){case'0':{break;}case'140022008':{break;}case'4':case _0xa43cdd(0x1fb):default:}}async['getQuickLoginList'](){const _0x16facd=_0x5e5e36,_0x4b878e=await this[_0x16facd(0x206)][_0x16facd(0x1aa)]();return _0x4b878e;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x21847a=_0x173b;(function(_0x45342f,_0xfd2c83){const _0x2e4d1e=_0x173b,_0x1f69da=_0x45342f();while(!![]){try{const _0x36892b=-parseInt(_0x2e4d1e(0x21f))/0x1+-parseInt(_0x2e4d1e(0x20b))/0x2*(parseInt(_0x2e4d1e(0x1cf))/0x3)+-parseInt(_0x2e4d1e(0x1ea))/0x4+-parseInt(_0x2e4d1e(0x1a7))/0x5+-parseInt(_0x2e4d1e(0x1ee))/0x6*(-parseInt(_0x2e4d1e(0x199))/0x7)+parseInt(_0x2e4d1e(0x220))/0x8+parseInt(_0x2e4d1e(0x22d))/0x9*(parseInt(_0x2e4d1e(0x1c3))/0xa);if(_0x36892b===_0xfd2c83)break;else _0x1f69da['push'](_0x1f69da['shift']());}catch(_0x5fe4f6){_0x1f69da['push'](_0x1f69da['shift']());}}}(_0x463a,0xaf173));function _0x173b(_0x3f2300,_0x514d40){const _0x463a25=_0x463a();return _0x173b=function(_0x173b83,_0x315cc1){_0x173b83=_0x173b83-0x17f;let _0x2fcbe1=_0x463a25[_0x173b83];return _0x2fcbe1;},_0x173b(_0x3f2300,_0x514d40);}import _0x4f5f1b from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x573cd0 from'node:path';import _0x1bcebc from'node:os';import _0x2e580b from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x4ec8b8 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{[_0x21847a(0x20a)];['util'];[_0x21847a(0x1f4)];[_0x21847a(0x1dc)];['loginService'];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x653146=_0x21847a,WjQYVC={'yBMrH':function(callee,param1){return callee(param1);},'YnHWL':function(x,y){return x===y;},'WaxBQ':_0x653146(0x202)};if(WjQYVC['YnHWL'](typeof target[prop],WjQYVC['WaxBQ']))return(...args)=>{const _0x3290c7=_0x653146;WjQYVC[_0x3290c7(0x215)](logDebug,target[_0x3290c7(0x1d7)][_0x3290c7(0x1d9)]+_0x3290c7(0x211)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x5eeb15=_0x21847a,_0xc08eec={'kMFRT':function(_0x580ec1,_0x19810c){return _0x580ec1(_0x19810c);},'oqgKb':function(_0x298050,_0xfc1b64){return _0x298050+_0xfc1b64;},'BUGrq':_0x5eeb15(0x1b2),'FOahU':function(_0x55e349,_0x52c46b,_0x359156){return _0x55e349(_0x52c46b,_0x359156);},'vkvrK':function(_0x5be376,_0x5252b9){return _0x5be376 instanceof _0x5252b9;},'gubHy':_0x5eeb15(0x219),'isUxU':function(_0x46734b,_0x5e520e){return _0x46734b(_0x5e520e);},'lTFGf':function(_0x262b2b,_0x518cf6,_0x4d66dd){return _0x262b2b(_0x518cf6,_0x4d66dd);},'xCjfG':_0x5eeb15(0x20d),'kFkEP':function(_0x45f5f2,_0x160a97){return _0x45f5f2==_0x160a97;}};this[_0x5eeb15(0x1f4)]=new _0x4f5f1b['NodeIQQNTWrapperEngine'](),this[_0x5eeb15(0x1e1)]=new _0x4f5f1b[(_0x5eeb15(0x1be))](),this[_0x5eeb15(0x1d5)]=new _0x4f5f1b[(_0x5eeb15(0x206))](),this['session']=new _0x4f5f1b['NodeIQQNTWrapperSession'](),this[_0x5eeb15(0x1dc)]=new LoginListener(),this[_0x5eeb15(0x1dc)][_0x5eeb15(0x1e0)]=_0x474c57=>{const _0x1e1cfb=_0x5eeb15;_0xc08eec[_0x1e1cfb(0x217)](logError,_0xc08eec[_0x1e1cfb(0x228)](_0xc08eec[_0x1e1cfb(0x1e9)],_0x474c57)+')已登录,无法重复登录');},this[_0x5eeb15(0x1dc)][_0x5eeb15(0x194)]=_0x4531a9=>{const _0x5a4fac=_0x5eeb15,_0x2b4d0a={'CcfhR':function(_0x12ff3f,_0x232a01,_0x471a9d){const _0x37581c=_0x173b;return _0xc08eec[_0x37581c(0x1ba)](_0x12ff3f,_0x232a01,_0x471a9d);},'gTyQw':function(_0x48c6a3,_0x585bdc){const _0x12dd20=_0x173b;return _0xc08eec[_0x12dd20(0x1ae)](_0x48c6a3,_0x585bdc);},'qaEuY':_0xc08eec[_0x5a4fac(0x21e)],'fGxvF':function(_0xae8c47,_0x20198a){const _0x2b456b=_0x5a4fac;return _0xc08eec[_0x2b456b(0x21b)](_0xae8c47,_0x20198a);},'mDXAE':function(_0x551183,_0xd8a510){return _0x551183(_0xd8a510);},'TJnKX':_0x5a4fac(0x223),'BoDrG':'initSession\x20failed'};this[_0x5a4fac(0x227)](_0x4531a9[_0x5a4fac(0x17f)],_0x4531a9[_0x5a4fac(0x21c)])[_0x5a4fac(0x1c4)](_0x145e88=>{const _0xc32116=_0x5a4fac;selfInfo[_0xc32116(0x17f)]=_0x4531a9[_0xc32116(0x17f)],selfInfo['uid']=_0x4531a9[_0xc32116(0x21c)],napCatConfig[_0xc32116(0x22c)](),_0x2b4d0a[_0xc32116(0x1c6)](setLogLevel,napCatConfig[_0xc32116(0x1fd)],napCatConfig['consoleLogLevel']),_0x2b4d0a[_0xc32116(0x207)](enableFileLog,napCatConfig[_0xc32116(0x1d4)]),_0x2b4d0a[_0xc32116(0x195)](enableConsoleLog,napCatConfig[_0xc32116(0x1f9)]),setLogSelfInfo(selfInfo);const _0x3c0185=_0x573cd0[_0xc32116(0x188)](this[_0xc32116(0x18e)],'./NapCat/data');_0x2e580b[_0xc32116(0x226)](_0x3c0185,{'recursive':!![]}),logDebug(_0x2b4d0a[_0xc32116(0x18a)],_0x3c0185),dbUtil['init'](_0x573cd0[_0xc32116(0x188)](_0x3c0185,'./'+_0x4531a9[_0xc32116(0x17f)]+'-v2.db'))[_0xc32116(0x1c4)](()=>{const _0x420e85=_0xc32116,_0x5e1065={'YTQDq':function(_0x40043d,_0x326dea,_0x3b8548){const _0x21b071=_0x173b;return _0x2b4d0a[_0x21b071(0x1c6)](_0x40043d,_0x326dea,_0x3b8548);},'nmvMg':function(_0x125e9d,_0x727070){const _0xa90856=_0x173b;return _0x2b4d0a[_0xa90856(0x1eb)](_0x125e9d,_0x727070);}};this[_0x420e85(0x232)](),this[_0x420e85(0x212)][_0x420e85(0x1e8)](_0x116212=>{new Promise((_0x53f01b,_0x45f685)=>{const _0x37b9f6=_0x173b,_0x175bd1=_0x5e1065[_0x37b9f6(0x20e)](_0x116212,_0x4531a9['uin'],_0x4531a9[_0x37b9f6(0x21c)]);_0x5e1065[_0x37b9f6(0x1ad)](_0x175bd1,Promise)&&_0x175bd1[_0x37b9f6(0x1c4)](_0x53f01b)[_0x37b9f6(0x1bb)](_0x45f685);})['then']();});})[_0xc32116(0x1bb)](_0x1a68cf=>{const _0xdd5bfc=_0xc32116;logError(_0x2b4d0a[_0xdd5bfc(0x233)],_0x1a68cf);});})[_0x5a4fac(0x1bb)](_0x53330f=>{const _0x3afb71=_0x5a4fac;_0x2b4d0a[_0x3afb71(0x1c6)](logError,_0x2b4d0a['BoDrG'],_0x53330f);throw new Error('启动失败:\x20'+JSON['stringify'](_0x53330f));});},this[_0x5eeb15(0x1dc)]['onQRCodeSessionFailed']=(_0x27c066,_0x3b411b,_0x5455a0)=>{const _0x22c9b0=_0x5eeb15;_0xc08eec[_0x22c9b0(0x1e7)](logError,_0xc08eec[_0x22c9b0(0x18f)],_0x5455a0),_0x27c066==0x1&&_0xc08eec[_0x22c9b0(0x1fc)](_0x3b411b,0x3)&&this[_0x22c9b0(0x1d5)][_0x22c9b0(0x1a0)]();},this[_0x5eeb15(0x1dc)][_0x5eeb15(0x1ff)]=_0x5c4304=>{const _0x225e64=_0x5eeb15;logError(_0xc08eec[_0x225e64(0x18f)],_0x5c4304);},this[_0x5eeb15(0x1dc)]=new Proxy(this[_0x5eeb15(0x1dc)],this[_0x5eeb15(0x209)]),this['loginService']['addKernelLoginListener'](new _0x4f5f1b['NodeIKernelLoginListener'](this[_0x5eeb15(0x1dc)])),this[_0x5eeb15(0x19f)]();}get[_0x21847a(0x18e)](){const _0x7cfc44=_0x21847a,_0x19d872={'Xdyqq':_0x7cfc44(0x1a4)};let _0x2e1bb3=this['util'][_0x7cfc44(0x18c)]();return!_0x2e1bb3&&(_0x2e1bb3=_0x573cd0['resolve'](_0x1bcebc[_0x7cfc44(0x1b6)](),_0x19d872[_0x7cfc44(0x1a6)]),_0x2e580b['mkdirSync'](_0x2e1bb3,{'recursive':!![]})),_0x2e1bb3;}get[_0x21847a(0x1fb)](){const _0x3180b1=_0x21847a,_0x306ce8={'eUAhI':_0x3180b1(0x18b)};return _0x573cd0[_0x3180b1(0x188)](this['dataPath'],_0x306ce8[_0x3180b1(0x181)]);}['initConfig'](){const _0x1deceb=_0x21847a,_0xcd311e={'agNaq':'Windows\x2010\x20Pro'};this[_0x1deceb(0x1f4)][_0x1deceb(0x1f3)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1deceb(0x203)],'os_version':_0xcd311e['agNaq'],'use_xlog':!![],'qua':_0x1deceb(0x1e6)+qqVersionConfigInfo[_0x1deceb(0x203)][_0x1deceb(0x183)]('-','_')+_0x1deceb(0x182),'global_path_config':{'desktopGlobalPath':this[_0x1deceb(0x1fb)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4f5f1b[(_0x1deceb(0x19c))](new GlobalAdapter())),this['loginService'][_0x1deceb(0x19f)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1deceb(0x1fb)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}['initSession'](_0x7f99c8,_0x20fde3){const _0x3bec33={'yDgzG':function(_0xc60ce6,_0xf7b8ee){return _0xc60ce6===_0xf7b8ee;},'zbSgo':function(_0x34845b,_0x56ecbc,_0x5ea65e,_0x4b5cc1){return _0x34845b(_0x56ecbc,_0x5ea65e,_0x4b5cc1);},'uVNUN':function(_0x38fc54,_0x37e328){return _0x38fc54(_0x37e328);}};return new Promise(async(_0x19802d,_0x21c6c0)=>{const _0x49c7e6=_0x173b,_0x5bf532={'CoNac':function(_0x8141f0,_0x3b7d60){const _0x548485=_0x173b;return _0x3bec33[_0x548485(0x184)](_0x8141f0,_0x3b7d60);},'IAlqn':function(_0xb32f70,_0x489ebd){return _0xb32f70(_0x489ebd);}},_0x585ee0=await _0x3bec33[_0x49c7e6(0x1d8)](genSessionConfig,_0x7f99c8,_0x20fde3,this[_0x49c7e6(0x18e)]),_0x3703d4=new SessionListener();_0x3703d4['onSessionInitComplete']=_0x357cbb=>{const _0x4d5006=_0x49c7e6;if(_0x5bf532[_0x4d5006(0x1c2)](_0x357cbb,0x0))return _0x19802d(0x0);_0x5bf532[_0x4d5006(0x20c)](_0x21c6c0,_0x357cbb);},this[_0x49c7e6(0x20a)][_0x49c7e6(0x214)](_0x585ee0,new _0x4f5f1b[(_0x49c7e6(0x1d2))](new DependsAdapter()),new _0x4f5f1b['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x4f5f1b[(_0x49c7e6(0x1c5))](_0x3703d4));try{this[_0x49c7e6(0x20a)][_0x49c7e6(0x1b4)](0x0);}catch(_0xcd11ee){try{this[_0x49c7e6(0x20a)][_0x49c7e6(0x1b4)]();}catch(_0xa8b753){_0x3bec33[_0x49c7e6(0x229)](_0x21c6c0,_0x49c7e6(0x19a)+_0xa8b753);}}});}[_0x21847a(0x232)](){const _0x54b0bc=_0x21847a,_0x5773f8={'mRTlK':function(_0x4273ca,_0xd12970){return _0x4273ca(_0xd12970);},'APEPT':function(_0x2d1438,_0x4cbea9){return _0x2d1438+_0x4cbea9;},'IDfmC':function(_0x5416c8,_0x1f59d4){return _0x5416c8(_0x1f59d4);},'RLsDA':function(_0x6d5318,_0x1cc2ab){return _0x6d5318+_0x1cc2ab;},'ZNQlD':_0x54b0bc(0x221),'ETVih':function(_0x494cb8,_0x4e9011){return _0x494cb8===_0x4e9011;},'AGRjr':function(_0x1c71e2,_0x2fc11f,_0x74413d){return _0x1c71e2(_0x2fc11f,_0x74413d);}},_0x42bb84=new MsgListener();_0x42bb84['onLineDev']=_0x272ec2=>{const _0x5d4180=_0x54b0bc,_0x3076d8={'FpNrM':function(_0x5aa3c8,_0x4a519c){return _0x5aa3c8===_0x4a519c;},'exwSf':function(_0xa787c1,_0x4065c2){const _0x32f849=_0x173b;return _0x5773f8[_0x32f849(0x185)](_0xa787c1,_0x4065c2);},'JeXAW':function(_0xe08a09,_0x3ad92b){return _0x5773f8['APEPT'](_0xe08a09,_0x3ad92b);}};_0x272ec2[_0x5d4180(0x1e8)](_0x2d8a65=>{const _0x24bc2f=_0x5d4180;_0x3076d8[_0x24bc2f(0x1b5)](_0x2d8a65['clientType'],0x2)&&_0x3076d8[_0x24bc2f(0x1c8)](log,_0x3076d8[_0x24bc2f(0x1b9)](_0x24bc2f(0x1a8),_0x2d8a65[_0x24bc2f(0x1a3)])+_0x24bc2f(0x1d1));});},_0x42bb84[_0x54b0bc(0x22a)]=_0x5ade27=>{const _0x4a01e5=_0x54b0bc;_0x5773f8[_0x4a01e5(0x1bd)](log,_0x5773f8[_0x4a01e5(0x1de)](_0x5773f8['RLsDA'](_0x5773f8['ZNQlD'],_0x5ade27['tipsTitle'])+']\x20',_0x5ade27[_0x4a01e5(0x22b)]));},_0x42bb84['onMsgInfoListUpdate']=_0x3da9c4=>{const _0x2ae64d=_0x54b0bc;stat[_0x2ae64d(0x1e3)]+=0x1,_0x3da9c4[_0x2ae64d(0x1e8)](_0x4a4e25=>{const _0x384e59=_0x2ae64d;_0x5773f8[_0x384e59(0x21a)](_0x4a4e25[_0x384e59(0x19b)],'0')?dbUtil[_0x384e59(0x1dd)](_0x4a4e25)[_0x384e59(0x1c4)]()[_0x384e59(0x1bb)]():dbUtil['getMsgByLongId'](_0x4a4e25[_0x384e59(0x1b7)])[_0x384e59(0x1c4)](_0x4fd3e4=>{const _0x25356e=_0x384e59;_0x4fd3e4&&(_0x4fd3e4[_0x25356e(0x19b)]=_0x4a4e25[_0x25356e(0x19b)],dbUtil[_0x25356e(0x218)](_0x4fd3e4)[_0x25356e(0x1c4)]());});});},_0x42bb84[_0x54b0bc(0x1b0)]=_0x48f907=>{const _0x369474=_0x54b0bc;stat['packet_sent']+=0x1,stat[_0x369474(0x1f8)]+=0x1,stat['last_message_time']=Math[_0x369474(0x1b1)](Date['now']()/0x3e8);},_0x42bb84['onRecvMsg']=_0x5ce704=>{const _0x4feab2=_0x54b0bc;stat[_0x4feab2(0x1e3)]+=0x1,stat[_0x4feab2(0x231)]+=_0x5ce704['length'],stat[_0x4feab2(0x1db)]=Math[_0x4feab2(0x1b1)](Date[_0x4feab2(0x1ca)]()/0x3e8);},_0x42bb84[_0x54b0bc(0x1a1)]=(..._0x50bd92)=>{stat['packet_received']+=0x1;},this['addListener'](_0x42bb84);const _0x35ccb4=new BuddyListener();_0x35ccb4[_0x54b0bc(0x196)]=_0x509b38=>{const _0x3e4fc1=_0x54b0bc;rawFriends[_0x3e4fc1(0x1ec)]=0x0,rawFriends[_0x3e4fc1(0x205)](..._0x509b38);for(const _0x3cedea of _0x509b38){for(const _0x1f85b9 of _0x3cedea[_0x3e4fc1(0x1fe)]){const _0x1ef5f7=friends[_0x3e4fc1(0x1cb)](_0x1f85b9['uid']);uid2UinMap[_0x1f85b9['uid']]=_0x1f85b9[_0x3e4fc1(0x17f)],_0x1ef5f7?Object[_0x3e4fc1(0x208)](_0x1ef5f7,_0x1f85b9):friends['set'](_0x1f85b9[_0x3e4fc1(0x21c)],_0x1f85b9);}}},this[_0x54b0bc(0x230)](_0x35ccb4),this[_0x54b0bc(0x20a)]['getBuddyService']()[_0x54b0bc(0x198)](!![])[_0x54b0bc(0x1c4)](_0x19527c=>{});const _0x535473=new ProfileListener();_0x535473[_0x54b0bc(0x1d6)]=_0x1828da=>{const _0x47adbc=_0x54b0bc;_0x5773f8[_0x47adbc(0x21a)](_0x1828da[_0x47adbc(0x21c)],selfInfo[_0x47adbc(0x21c)])&&Object[_0x47adbc(0x208)](selfInfo,_0x1828da);},_0x535473[_0x54b0bc(0x1aa)]=_0x261bd5=>{},this[_0x54b0bc(0x230)](_0x535473);const _0x5bb310=new GroupListener();_0x5bb310[_0x54b0bc(0x22f)]=(_0x2a1017,_0x5527c2)=>{const _0x37f8b3=_0x54b0bc,_0x1dfc52={'eWrUe':function(_0x2080cc,_0x1775b5){return _0x2080cc===_0x1775b5;}};_0x5527c2[_0x37f8b3(0x1e8)](_0x166c5e=>{const _0xb5416c=_0x37f8b3,_0x477e9d=groups[_0xb5416c(0x1cb)](_0x166c5e[_0xb5416c(0x20f)]);_0x477e9d&&_0x1dfc52[_0xb5416c(0x1bc)](_0x166c5e[_0xb5416c(0x197)],_0x477e9d['memberCount'])?Object[_0xb5416c(0x208)](_0x477e9d,_0x166c5e):groups['set'](_0x166c5e[_0xb5416c(0x20f)],_0x166c5e);const _0x5c336f=this[_0xb5416c(0x20a)][_0xb5416c(0x193)]()[_0xb5416c(0x1ef)](_0x166c5e[_0xb5416c(0x20f)],_0xb5416c(0x187));this['session'][_0xb5416c(0x193)]()[_0xb5416c(0x22e)](_0x5c336f,undefined,0xbb8)['then'](_0x1a223e=>{});});},_0x5bb310['onMemberListChange']=_0x226af8=>{const _0x329bb4=_0x54b0bc,_0x59ef62=_0x226af8[_0x329bb4(0x1bf)][_0x329bb4(0x1cc)]('_')[0x0];if(groupMembers['has'](_0x59ef62)){const _0x5220cd=groupMembers['get'](_0x59ef62);_0x226af8[_0x329bb4(0x1e4)][_0x329bb4(0x1c7)]((_0x18e838,_0x417849)=>{const _0xba9b84=_0x329bb4,_0x4a7d41=_0x5220cd['get'](_0x417849);_0x4a7d41?Object[_0xba9b84(0x208)](_0x4a7d41,_0x18e838):_0x5220cd[_0xba9b84(0x19e)](_0x417849,_0x18e838);});}else groupMembers['set'](_0x59ef62,_0x226af8['infos']);},_0x5bb310['onMemberInfoChange']=(_0x1a1d37,_0x488aac,_0x5978d6)=>{const _0x6261cf=_0x54b0bc;_0x488aac===0x0&&_0x5978d6[_0x6261cf(0x1cb)](selfInfo[_0x6261cf(0x21c)])&&_0x5978d6[_0x6261cf(0x1cb)](selfInfo[_0x6261cf(0x21c)])?.['isDelete']&&_0x5773f8[_0x6261cf(0x1df)](setTimeout,()=>{const _0x1a1714=_0x6261cf;groups[_0x1a1714(0x19d)](_0x1a1d37);},0x1388);_0x5978d6['forEach']((_0x140a62,_0x228dc7)=>{const _0x51a1ed=_0x6261cf;uid2UinMap[_0x228dc7]=_0x140a62[_0x51a1ed(0x17f)];});const _0x3728cb=groupMembers[_0x6261cf(0x1cb)](_0x1a1d37);_0x3728cb?_0x5978d6[_0x6261cf(0x1c7)]((_0x45b923,_0xd0e03b)=>{const _0x6fd89a=_0x6261cf,_0xfdd01=_0x3728cb[_0x6fd89a(0x1cb)](_0xd0e03b);_0xfdd01?Object[_0x6fd89a(0x208)](_0xfdd01,_0x45b923):_0x3728cb['set'](_0xd0e03b,_0x45b923);}):groupMembers[_0x6261cf(0x19e)](_0x1a1d37,_0x5978d6);},this['addListener'](_0x5bb310);}['addListener'](_0x3aaa58){const _0x5b692e=_0x21847a,_0x1ce733={'QCaOi':_0x5b692e(0x1f1),'QkOYO':_0x5b692e(0x1f2),'PtmzJ':_0x5b692e(0x1a9)};_0x3aaa58=new Proxy(_0x3aaa58,this[_0x5b692e(0x209)]);switch(_0x3aaa58[_0x5b692e(0x1d7)]['name']){case _0x1ce733['QCaOi']:{return this[_0x5b692e(0x20a)]['getBuddyService']()[_0x5b692e(0x216)](new _0x4f5f1b[(_0x5b692e(0x204))](_0x3aaa58));}case _0x1ce733[_0x5b692e(0x192)]:{return this[_0x5b692e(0x20a)][_0x5b692e(0x193)]()[_0x5b692e(0x189)](new _0x4f5f1b['NodeIKernelGroupListener'](_0x3aaa58));}case _0x1ce733['PtmzJ']:{return this[_0x5b692e(0x20a)][_0x5b692e(0x1a5)]()[_0x5b692e(0x1e5)](new _0x4f5f1b['NodeIKernelMsgListener'](_0x3aaa58));}case _0x5b692e(0x224):{return this[_0x5b692e(0x20a)][_0x5b692e(0x1c9)]()['addKernelProfileListener'](new _0x4f5f1b[(_0x5b692e(0x190))](_0x3aaa58));}default:return-0x1;}}[_0x21847a(0x1af)](_0x4ed675){const _0x56a0c3=_0x21847a;NTEventDispatch['init']({'ListenerMap':_0x4f5f1b,'WrapperSession':this[_0x56a0c3(0x20a)]}),this['onLoginSuccessFuncList']['push'](_0x4ed675);}async[_0x21847a(0x1f7)](_0x9c41bc){const _0x164987=_0x21847a,_0x4ba257={'zCSPG':function(_0x1c4fb6,_0x30d9a8){return _0x1c4fb6!==_0x30d9a8;},'ltgoG':function(_0x2caec0,_0x27227c){return _0x2caec0(_0x27227c);},'iohcN':function(_0x3c8bcd,_0x47860d){return _0x3c8bcd+_0x47860d;}},_0xb950c8=await this[_0x164987(0x1d5)][_0x164987(0x1fa)]();if(_0x4ba257[_0x164987(0x21d)](_0xb950c8[_0x164987(0x213)],0x0))throw new Error(_0x164987(0x1c1));const _0x4bb2bd=_0xb950c8['LocalLoginInfoList'][_0x164987(0x222)](_0x172e8f=>_0x172e8f['uin']===_0x9c41bc);if(!_0x4bb2bd||!_0x4bb2bd?.['isQuickLogin'])throw new Error(_0x9c41bc+_0x164987(0x191));await _0x4ba257[_0x164987(0x1d3)](sleep,0x3e8);const _0xde25f=await this[_0x164987(0x1d5)]['quickLoginWithUin'](_0x9c41bc);if(!_0xde25f[_0x164987(0x213)])throw new Error(_0x4ba257[_0x164987(0x1e2)](_0x164987(0x1f6),_0xde25f[_0x164987(0x1f5)]['errMsg']));return _0xde25f;}async[_0x21847a(0x1b3)](_0x5d35ea){const _0x3dd1a4=_0x21847a,_0xa82389={'VvvIP':'data:image/png;base64,','OVWtX':_0x3dd1a4(0x1f0)};return new Promise((_0x254c2b,_0x11e546)=>{const _0x4004da=_0x3dd1a4,_0x93d9a3={'GXiro':_0xa82389['VvvIP'],'uZYNI':_0xa82389[_0x4004da(0x1c0)]};this[_0x4004da(0x1dc)][_0x4004da(0x1da)]=_0x7c1e9c=>{const _0x2e6c6f=_0x4004da,_0x4f401e=_0x7c1e9c[_0x2e6c6f(0x1a2)][_0x2e6c6f(0x1cc)](_0x93d9a3[_0x2e6c6f(0x186)])[0x1],_0x148844=Buffer['from'](_0x4f401e,_0x93d9a3[_0x2e6c6f(0x1ab)]);_0x5d35ea(_0x7c1e9c[_0x2e6c6f(0x1b8)],_0x7c1e9c[_0x2e6c6f(0x1a2)],_0x148844);},this[_0x4004da(0x1d5)]['getQRCodePicture']();});}async[_0x21847a(0x1ed)](_0x447558,_0x25bccb,_0x221fe1,_0x3b711d,_0x47d04f){const _0x118df0=_0x21847a,_0x510f76={'yBbYP':_0x118df0(0x200),'KafQR':'hex','EnPAN':function(_0x257edb,_0x1c2033){return _0x257edb&&_0x1c2033;},'KEIQk':function(_0x388c9b,_0x9fe105){return _0x388c9b||_0x9fe105;},'tGmQo':function(_0x469935,_0x46441c){return _0x469935||_0x46441c;},'vmNKU':function(_0x5b8fed,_0x10c445){return _0x5b8fed||_0x10c445;},'VxuQg':_0x118df0(0x201),'dLjtn':'140022013'},_0x29c970=_0x4ec8b8[_0x118df0(0x1ac)](_0x510f76['yBbYP'])['update'](_0x25bccb)[_0x118df0(0x1d0)](_0x510f76[_0x118df0(0x210)]),_0x144b7={'uin':_0x447558,'passwordMd5':_0x29c970,'step':_0x510f76[_0x118df0(0x1ce)](_0x221fe1,_0x3b711d)&&_0x47d04f?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x510f76['KEIQk'](_0x221fe1,''),'proofWaterRand':_0x510f76[_0x118df0(0x180)](_0x3b711d,''),'proofWaterSid':_0x510f76['vmNKU'](_0x47d04f,'')};await this[_0x118df0(0x1d5)][_0x118df0(0x1fa)](),await sleep(0x3e8);const _0x4cb1c0=await this[_0x118df0(0x1d5)][_0x118df0(0x1ed)](_0x144b7);switch(_0x4cb1c0[_0x118df0(0x213)]){case'0':{break;}case _0x510f76[_0x118df0(0x1cd)]:{break;}case'4':case _0x510f76[_0x118df0(0x18d)]:default:}}async[_0x21847a(0x225)](){const _0x1a3b35=await this['loginService']['getLoginList']();return _0x1a3b35;}}export const napCatCore=new NapCatCore();function _0x463a(){const _0x3d0834=['getQuickLoginList','mkdirSync','initSession','oqgKb','uVNUN','onKickedOffLine','tipsDesc','read','99kEWoVv','getNextMemberList','onGroupListUpdate','addListener','message_received','initDataListener','qaEuY','uin','tGmQo','eUAhI','_GW_B','replace','yDgzG','mRTlK','GXiro','groupMemberList_MainWindow','resolve','addKernelGroupListener','TJnKX','./nt_qq/global','getNTUserDataInfoConfig','dLjtn','dataPath','xCjfG','NodeIKernelProfileListener','快速登录不可用','QkOYO','getGroupService','onQRCodeLoginSucceed','mDXAE','onBuddyListChange','memberCount','getBuddyList','669074zpIfAM','init\x20failed\x20','recallTime','NodeIGlobalAdapter','delete','set','initConfig','getQRCodePicture','onRecvSysMsg','pngBase64QrcodeData','devUid','./.config/QQ','getMsgService','Xdyqq','5272710XiYmRx','账号设备(','MsgListener','onSelfStatusChanged','uZYNI','createHash','nmvMg','vkvrK','onLoginSuccess','onAddSendMsg','floor','当前账号(','qrLogin','startNT','FpNrM','homedir','msgId','qrcodeUrl','JeXAW','FOahU','catch','eWrUe','IDfmC','NodeQQNTWrapperUtil','sceneId','OVWtX','没有可快速登录的QQ号','CoNac','2172250RXStOB','then','NodeIKernelSessionListener','CcfhR','forEach','exwSf','getProfileService','now','get','split','VxuQg','EnPAN','306YdGbxY','digest',')\x20在线状态变更','NodeIDependsAdapter','ltgoG','fileLog','loginService','onProfileDetailInfoChanged','constructor','zbSgo','name','onQRCodeGetPicture','last_message_time','loginListener','addMsg','APEPT','AGRjr','onUserLoggedIn','util','iohcN','packet_received','infos','addKernelMsgListener','V1_WIN_NQ_','lTFGf','map','BUGrq','3664948Vxcrkn','gTyQw','length','passwordLogin','66HCuOWd','createMemberListScene','base64','BuddyListener','GroupListener','initWithDeskTopConfig','engine','loginErrorInfo','快速登录失败\x20','quickLogin','message_sent','consoleLog','getLoginList','dataPathGlobal','kFkEP','fileLogLevel','buddyList','onLoginFailed','md5','140022008','undefined','curVersion','NodeIKernelBuddyListener','push','NodeIKernelLoginService','fGxvF','assign','proxyHandler','session','25528FdXNxr','IAlqn','登录失败','YTQDq','groupCode','KafQR','\x20has\x20no\x20method\x20','onLoginSuccessFuncList','result','init','yBMrH','addKernelBuddyListener','kMFRT','updateMsg','数据库初始化失败','ETVih','isUxU','uid','zCSPG','gubHy','792911VRjsEj','10735296lSbvKI','[KickedOffLine]\x20[','find','本账号数据/缓存目录:','ProfileListener'];_0x463a=function(){return _0x3d0834;};return _0x463a();} \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index ddb0b8e9..80480637 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0xc5677f,_0x239413){const _0x131df=_0x4292,_0x3e4f29=_0xc5677f();while(!![]){try{const _0x2adcf9=-parseInt(_0x131df(0x1ed))/0x1*(parseInt(_0x131df(0x1f1))/0x2)+-parseInt(_0x131df(0x1f7))/0x3*(-parseInt(_0x131df(0x1fb))/0x4)+-parseInt(_0x131df(0x1f8))/0x5*(parseInt(_0x131df(0x1f5))/0x6)+-parseInt(_0x131df(0x1ef))/0x7*(-parseInt(_0x131df(0x1f9))/0x8)+parseInt(_0x131df(0x1f3))/0x9+-parseInt(_0x131df(0x1ea))/0xa*(-parseInt(_0x131df(0x1f6))/0xb)+-parseInt(_0x131df(0x1fa))/0xc;if(_0x2adcf9===_0x239413)break;else _0x3e4f29['push'](_0x3e4f29['shift']());}catch(_0x57c873){_0x3e4f29['push'](_0x3e4f29['shift']());}}}(_0x29f6,0x70d59));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()};function _0x29f6(){const _0x1e7b3c=['nUzdq','168489rhmQhl','get','6uViSTH','469524Lzfvvr','6JVGzoJ','3529730ZaQRca','136LzMznM','11204292RlpuUU','1020932UjBVCb','values','groupCode','forEach','delete','set','160uHdVqg','find','toString','87uPtfFI','uin','377048yosdGU','from','598xrVlzW'];_0x29f6=function(){return _0x1e7b3c;};return _0x29f6();}export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x4292(_0x1590ba,_0x55be2b){const _0x29f68b=_0x29f6();return _0x4292=function(_0x4292a9,_0x85a01c){_0x4292a9=_0x4292a9-0x1e6;let _0x14572e=_0x29f68b[_0x4292a9];return _0x14572e;},_0x4292(_0x1590ba,_0x55be2b);}export const groups=new Map();export function deleteGroup(_0x4e9a07){const _0x2e2016=_0x4292;groups[_0x2e2016(0x1e8)](_0x4e9a07),groupMembers[_0x2e2016(0x1e8)](_0x4e9a07);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x17d684){const _0x248191=_0x4292,_0x321294={'zrqqI':function(_0xa833aa,_0x52b7a0){return _0xa833aa(_0x52b7a0);}};_0x17d684=_0x17d684[_0x248191(0x1ec)]();if(_0x321294['zrqqI'](isNumeric,_0x17d684)){const _0x2f9827=Array[_0x248191(0x1f0)](friends[_0x248191(0x1fc)]());return _0x2f9827[_0x248191(0x1eb)](_0x126b64=>_0x126b64[_0x248191(0x1ee)]===_0x17d684);}else return friends[_0x248191(0x1f4)](_0x17d684);}export async function getGroup(_0x2e9e96){const _0x5a37f4=_0x4292;let _0x31a74c=groups['get'](_0x2e9e96[_0x5a37f4(0x1ec)]());if(!_0x31a74c)try{const _0x18fb36=await NTQQGroupApi['getGroups']();_0x18fb36['length']&&_0x18fb36[_0x5a37f4(0x1e7)](_0xd9d1d6=>{const _0x4d9e02=_0x5a37f4;groups['set'](_0xd9d1d6[_0x4d9e02(0x1e6)],_0xd9d1d6);});}catch(_0x455142){return undefined;}return _0x31a74c=groups[_0x5a37f4(0x1f4)](_0x2e9e96[_0x5a37f4(0x1ec)]()),_0x31a74c;}export async function getGroupMember(_0x57fecc,_0x5d26c8){const _0x8ea8dc=_0x4292,_0x3f2965={'lsmOc':function(_0x4e05e5,_0x4c3d56){return _0x4e05e5(_0x4c3d56);},'nUzdq':function(_0x333cd6){return _0x333cd6();}};_0x57fecc=_0x57fecc[_0x8ea8dc(0x1ec)](),_0x5d26c8=_0x5d26c8[_0x8ea8dc(0x1ec)]();let _0x54b10b=groupMembers[_0x8ea8dc(0x1f4)](_0x57fecc);if(!_0x54b10b)try{_0x54b10b=await NTQQGroupApi['getGroupMembers'](_0x57fecc),groupMembers[_0x8ea8dc(0x1e9)](_0x57fecc,_0x54b10b);}catch(_0xa8fb9a){return null;}const _0x427426=()=>{const _0x1c60a7=_0x8ea8dc;let _0x5e719c=undefined;return _0x3f2965['lsmOc'](isNumeric,_0x5d26c8)?_0x5e719c=Array[_0x1c60a7(0x1f0)](_0x54b10b[_0x1c60a7(0x1fc)]())[_0x1c60a7(0x1eb)](_0x997dc8=>_0x997dc8[_0x1c60a7(0x1ee)]===_0x5d26c8):_0x5e719c=_0x54b10b[_0x1c60a7(0x1f4)](_0x5d26c8),_0x5e719c;};let _0x156855=_0x427426();return!_0x156855&&(_0x54b10b=await NTQQGroupApi['getGroupMembers'](_0x57fecc),_0x156855=_0x3f2965[_0x8ea8dc(0x1f2)](_0x427426)),_0x156855;}export const uid2UinMap={};export function getUidByUin(_0x14c70a){const _0x3fc117={'QXKpg':function(_0x4fee3e,_0x5ad590){return _0x4fee3e===_0x5ad590;}};for(const _0x3a2271 in uid2UinMap){if(_0x3fc117['QXKpg'](uid2UinMap[_0x3a2271],_0x14c70a))return _0x3a2271;}}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 _0x6bd0b7=_0x5682;(function(_0x5053e6,_0x41b045){const _0x9f23b=_0x5682,_0xb64d3b=_0x5053e6();while(!![]){try{const _0x5e3911=-parseInt(_0x9f23b(0x130))/0x1*(-parseInt(_0x9f23b(0x120))/0x2)+parseInt(_0x9f23b(0x12e))/0x3+parseInt(_0x9f23b(0x121))/0x4*(-parseInt(_0x9f23b(0x122))/0x5)+-parseInt(_0x9f23b(0x126))/0x6+parseInt(_0x9f23b(0x135))/0x7+-parseInt(_0x9f23b(0x12d))/0x8+parseInt(_0x9f23b(0x12b))/0x9*(parseInt(_0x9f23b(0x136))/0xa);if(_0x5e3911===_0x41b045)break;else _0xb64d3b['push'](_0xb64d3b['shift']());}catch(_0x45621e){_0xb64d3b['push'](_0xb64d3b['shift']());}}}(_0x2fa1,0x4abf7));function _0x2fa1(){const _0x42dae2=['1769640PEeBID','values','length','4tbsYoy','4dhDaYc','3051905lOUxir','get','set','groupCode','1353348BDxjoC','find','forEach','getGroupMembers','NapCat未能正常启动,请检查日志查看错误','63AhlweG','delete','3773160GOvADv','148476UBFysl','RKkdf','15953JfqnXa','toString','from','uSFWK','getGroups','2055235zKKspX'];_0x2fa1=function(){return _0x42dae2;};return _0x2fa1();}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(_0x2b6c11){const _0x4ae0cf=_0x5682;groups[_0x4ae0cf(0x12c)](_0x2b6c11),groupMembers[_0x4ae0cf(0x12c)](_0x2b6c11);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x6bd0b7(0x12a)};export async function getFriend(_0x226557){const _0x2a007c=_0x6bd0b7,_0x5d6cfd={'RKkdf':function(_0x5e1a81,_0x2cbb63){return _0x5e1a81(_0x2cbb63);}};_0x226557=_0x226557[_0x2a007c(0x131)]();if(_0x5d6cfd[_0x2a007c(0x12f)](isNumeric,_0x226557)){const _0x8209c4=Array[_0x2a007c(0x132)](friends['values']());return _0x8209c4[_0x2a007c(0x127)](_0x4286a8=>_0x4286a8['uin']===_0x226557);}else return friends['get'](_0x226557);}export async function getGroup(_0x573159){const _0x50a5c9=_0x6bd0b7;let _0x3cd395=groups['get'](_0x573159[_0x50a5c9(0x131)]());if(!_0x3cd395)try{const _0x30f9cc=await NTQQGroupApi[_0x50a5c9(0x134)]();_0x30f9cc[_0x50a5c9(0x11f)]&&_0x30f9cc[_0x50a5c9(0x128)](_0x52d51d=>{const _0xa1b696=_0x50a5c9;groups[_0xa1b696(0x124)](_0x52d51d[_0xa1b696(0x125)],_0x52d51d);});}catch(_0x3451de){return undefined;}return _0x3cd395=groups['get'](_0x573159[_0x50a5c9(0x131)]()),_0x3cd395;}export async function getGroupMember(_0x3df171,_0x3303e3){const _0xd2f57d=_0x6bd0b7,_0x4a6968={'uSFWK':function(_0x4d37ba){return _0x4d37ba();}};_0x3df171=_0x3df171[_0xd2f57d(0x131)](),_0x3303e3=_0x3303e3[_0xd2f57d(0x131)]();let _0x47d2f7=groupMembers[_0xd2f57d(0x123)](_0x3df171);if(!_0x47d2f7)try{_0x47d2f7=await NTQQGroupApi[_0xd2f57d(0x129)](_0x3df171),groupMembers[_0xd2f57d(0x124)](_0x3df171,_0x47d2f7);}catch(_0x4e239d){return null;}const _0x361e76=()=>{const _0x2e9f0e=_0xd2f57d;let _0x1b2a61=undefined;return isNumeric(_0x3303e3)?_0x1b2a61=Array[_0x2e9f0e(0x132)](_0x47d2f7[_0x2e9f0e(0x137)]())['find'](_0x3c0116=>_0x3c0116['uin']===_0x3303e3):_0x1b2a61=_0x47d2f7[_0x2e9f0e(0x123)](_0x3303e3),_0x1b2a61;};let _0xf14aca=_0x4a6968[_0xd2f57d(0x133)](_0x361e76);return!_0xf14aca&&(_0x47d2f7=await NTQQGroupApi[_0xd2f57d(0x129)](_0x3df171),_0xf14aca=_0x361e76()),_0xf14aca;}function _0x5682(_0x149775,_0x117f74){const _0x2fa19a=_0x2fa1();return _0x5682=function(_0x56822d,_0x5c0103){_0x56822d=_0x56822d-0x11f;let _0x3f8559=_0x2fa19a[_0x56822d];return _0x3f8559;},_0x5682(_0x149775,_0x117f74);}export const uid2UinMap={};export function getUidByUin(_0x27aba6){const _0x5efe80={'DrudH':function(_0x47f6fb,_0x3bc2c8){return _0x47f6fb===_0x3bc2c8;}};for(const _0x2ab022 in uid2UinMap){if(_0x5efe80['DrudH'](uid2UinMap[_0x2ab022],_0x27aba6))return _0x2ab022;}}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 3d07caad..ab41b34d 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x51d036,_0x293edc){var _0x44684d=_0x22ea,_0x7bca73=_0x51d036();while(!![]){try{var _0x3cc756=parseInt(_0x44684d(0x1d7))/0x1+-parseInt(_0x44684d(0x1e0))/0x2+parseInt(_0x44684d(0x1e1))/0x3+-parseInt(_0x44684d(0x1dc))/0x4+parseInt(_0x44684d(0x1d9))/0x5*(parseInt(_0x44684d(0x1e5))/0x6)+parseInt(_0x44684d(0x1df))/0x7*(-parseInt(_0x44684d(0x1e4))/0x8)+-parseInt(_0x44684d(0x1db))/0x9*(-parseInt(_0x44684d(0x1dd))/0xa);if(_0x3cc756===_0x293edc)break;else _0x7bca73['push'](_0x7bca73['shift']());}catch(_0x2d748c){_0x7bca73['push'](_0x7bca73['shift']());}}}(_0x50da,0xc1dc1));function _0x22ea(_0x39f7ae,_0x5e5df8){var _0x50da22=_0x50da();return _0x22ea=function(_0x22eae4,_0xb4929d){_0x22eae4=_0x22eae4-0x1d6;var _0x195ff3=_0x50da22[_0x22eae4];return _0x195ff3;},_0x22ea(_0x39f7ae,_0x5e5df8);};function _0x50da(){var _0x509edb=['DOCUMENT','23797269otKIpx','4277096wEZtUM','10oRtrTG','ZfmIB','7LzhPCf','2621696SIbHpb','3617133jsHbjf','xSZTX','AUDIO','10838944pwUGJB','30OQgjtB','WAwRB','507222krHzXe','VIDEO','171965tAzfpp'];_0x50da=function(){return _0x509edb;};return _0x50da();}export var CacheFileType;(function(_0x2fe517){var _0x385c05=_0x22ea,_0x14b206={'ZfmIB':'IMAGE','xSZTX':_0x385c05(0x1d8),'WAwRB':_0x385c05(0x1e3),'uQkqT':_0x385c05(0x1da),'LigZk':'OTHER'};_0x2fe517[_0x2fe517[_0x14b206['ZfmIB']]=0x0]=_0x14b206[_0x385c05(0x1de)],_0x2fe517[_0x2fe517[_0x14b206[_0x385c05(0x1e2)]]=0x1]=_0x14b206[_0x385c05(0x1e2)],_0x2fe517[_0x2fe517[_0x14b206['WAwRB']]=0x2]=_0x14b206[_0x385c05(0x1d6)],_0x2fe517[_0x2fe517[_0x14b206['uQkqT']]=0x3]=_0x14b206['uQkqT'],_0x2fe517[_0x2fe517[_0x14b206['LigZk']]=0x4]=_0x14b206['LigZk'];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x1806(){var _0x891ba1=['287998IXXBUH','12969324CpTTHa','415490wvVPTv','split','DOCUMENT','AiULT','IMAGE','2|3|4|1|0','170iDhUDe','104061qIxpag','IdBVd','VIDEO','90tfTGFz','EUtFx','3031owKtcx','OTHER','kwYUI','yQBqy','11XUMvHq','ksAzo','74064SfKygL','10912RSMZir','24CjBDtx','248802Fusayi'];_0x1806=function(){return _0x891ba1;};return _0x1806();}(function(_0x55b185,_0x927958){var _0x283eef=_0x5493,_0x2aa330=_0x55b185();while(!![]){try{var _0x336a10=-parseInt(_0x283eef(0x1ae))/0x1+parseInt(_0x283eef(0x1ad))/0x2+parseInt(_0x283eef(0x1b7))/0x3*(-parseInt(_0x283eef(0x1ac))/0x4)+parseInt(_0x283eef(0x1b6))/0x5*(-parseInt(_0x283eef(0x1aa))/0x6)+parseInt(_0x283eef(0x1bc))/0x7*(parseInt(_0x283eef(0x1ab))/0x8)+-parseInt(_0x283eef(0x1ba))/0x9*(parseInt(_0x283eef(0x1b0))/0xa)+-parseInt(_0x283eef(0x1a8))/0xb*(-parseInt(_0x283eef(0x1af))/0xc);if(_0x336a10===_0x927958)break;else _0x2aa330['push'](_0x2aa330['shift']());}catch(_0x1bdafd){_0x2aa330['push'](_0x2aa330['shift']());}}}(_0x1806,0x71664));;export var CacheFileType;function _0x5493(_0x55a407,_0xd64393){var _0x18060f=_0x1806();return _0x5493=function(_0x549329,_0x176c2d){_0x549329=_0x549329-0x1a5;var _0x205a59=_0x18060f[_0x549329];return _0x205a59;},_0x5493(_0x55a407,_0xd64393);}(function(_0x3e9347){var _0x56628e=_0x5493,_0x42e30f={'EUtFx':_0x56628e(0x1b5),'kwYUI':_0x56628e(0x1a5),'ksAzo':_0x56628e(0x1b2),'yQBqy':_0x56628e(0x1b4),'IdBVd':_0x56628e(0x1b9),'AiULT':'AUDIO'},_0x52b4c0=_0x42e30f[_0x56628e(0x1bb)][_0x56628e(0x1b1)]('|'),_0x111826=0x0;while(!![]){switch(_0x52b4c0[_0x111826++]){case'0':_0x3e9347[_0x3e9347[_0x56628e(0x1a5)]=0x4]=_0x42e30f[_0x56628e(0x1a6)];continue;case'1':_0x3e9347[_0x3e9347[_0x42e30f['ksAzo']]=0x3]=_0x42e30f[_0x56628e(0x1a9)];continue;case'2':_0x3e9347[_0x3e9347[_0x42e30f[_0x56628e(0x1a7)]]=0x0]=_0x42e30f[_0x56628e(0x1a7)];continue;case'3':_0x3e9347[_0x3e9347[_0x42e30f[_0x56628e(0x1b8)]]=0x1]=_0x42e30f[_0x56628e(0x1b8)];continue;case'4':_0x3e9347[_0x3e9347[_0x42e30f[_0x56628e(0x1b3)]]=0x2]=_0x42e30f['AiULT'];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 4356777a..9deb42c9 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x5d3a0d=_0x5b1c;(function(_0x10e587,_0x4b4035){const _0x29b6bf=_0x5b1c,_0x4ae254=_0x10e587();while(!![]){try{const _0x265de9=parseInt(_0x29b6bf(0x169))/0x1*(parseInt(_0x29b6bf(0x150))/0x2)+parseInt(_0x29b6bf(0x14b))/0x3*(-parseInt(_0x29b6bf(0x167))/0x4)+parseInt(_0x29b6bf(0x17b))/0x5+-parseInt(_0x29b6bf(0x12a))/0x6*(-parseInt(_0x29b6bf(0x131))/0x7)+parseInt(_0x29b6bf(0x14c))/0x8*(-parseInt(_0x29b6bf(0x165))/0x9)+-parseInt(_0x29b6bf(0x128))/0xa*(parseInt(_0x29b6bf(0x149))/0xb)+parseInt(_0x29b6bf(0x16a))/0xc*(parseInt(_0x29b6bf(0x133))/0xd);if(_0x265de9===_0x4b4035)break;else _0x4ae254['push'](_0x4ae254['shift']());}catch(_0x18a733){_0x4ae254['push'](_0x4ae254['shift']());}}}(_0x243f,0x56633));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3260ec}from'node:fs';import _0x3c43b0 from'fluent-ffmpeg';function _0x5b1c(_0x247e40,_0x2a2287){const _0x243f9c=_0x243f();return _0x5b1c=function(_0x5b1c77,_0x525d15){_0x5b1c77=_0x5b1c77-0x127;let _0x220ae0=_0x243f9c[_0x5b1c77];return _0x220ae0;},_0x5b1c(_0x247e40,_0x2a2287);}function _0x243f(){const _0x1c305c=['ndFYe','9vosblp','1957744UfXBdQ','join','face','getImageSize','69594TqVWZz','[商城表情]','PTT','writeFile','Ori','TEXT','[骰子]','ptt','BqhHj','AniStickerType','sysface','size','MFACE','uoCKf','LbEba','RPS','width','https://www.bilibili.com/','markdown','copyFile','rps','9mYvIhj','ark','793532XFYZla','PIC','8ohIgSx','96OZrGcs','then','HlSQE','video','oiGDS','QghPE','file','Bot\x20Test','emoji','PmSAz','文件异常,大小为0','FILE','FACE','dice','VIDEO','string','FEHzs','2038080ylzhsR','ZYfBe','jpg','JjfHY','error','toString','270dwespB','screenshots','70806UMtRJu','ySbiY','YmHfp','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','reply','qRRaf','Iqgcw','364hJnBLY','TuLpr','734929fYeHEe','AniStickerId','AniStickerPackId','uploadFile','sep','mp4','_0.png','VgfUe','height','MARKDOWN','Thumb','catch','QDes','replace','bopim','IPhnm','cZKJY','QSid','rHwgu','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','[包剪锤]','xdTvg','227414sneklH'];_0x243f=function(){return _0x1c305c;};return _0x243f();}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 _0xfd1802 from'./face_config.json';import*as _0x11c051 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x5e83bc){const _0x1cdaf2=_0x5b1c;return{'elementType':ElementType[_0x1cdaf2(0x155)],'elementId':'','textElement':{'content':_0x5e83bc,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x30c4e5,_0x5930f4,_0x3f8b25,_0x1d8ae0){const _0x2541e0=_0x5b1c;return{'elementType':ElementType[_0x2541e0(0x155)],'elementId':'','textElement':{'content':'@'+_0x1d8ae0,'atType':_0x3f8b25,'atUid':_0x30c4e5,'atTinyId':'','atNtUid':_0x5930f4}};}static[_0x5d3a0d(0x12e)](_0x37825e,_0x2e1c6e,_0x31e907,_0x57daea){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x37825e,'replayMsgId':_0x2e1c6e,'senderUin':_0x31e907,'senderUinStr':_0x57daea}};}static async['pic'](_0x2218e5,_0x50e9ed='',_0x516c00=0x0){const _0xc785ae=_0x5d3a0d,_0x24b236={'LbEba':function(_0x5deab0,_0x3f7e8e){return _0x5deab0===_0x3f7e8e;},'YmHfp':_0xc785ae(0x174),'qRRaf':function(_0x11ea67,_0x44a4dc){return _0x11ea67(_0x44a4dc);}},{md5:_0x440b18,fileName:_0x1a223a,path:_0x5c42c7,fileSize:_0x3e00f9}=await NTQQFileApi[_0xc785ae(0x136)](_0x2218e5,ElementType[_0xc785ae(0x168)],_0x516c00);if(_0x24b236[_0xc785ae(0x15e)](_0x3e00f9,0x0))throw _0x24b236[_0xc785ae(0x12c)];const _0x21a220=await NTQQFileApi[_0xc785ae(0x14f)](_0x2218e5),_0x37dc6d={'md5HexStr':_0x440b18,'fileSize':_0x3e00f9['toString'](),'picWidth':_0x21a220?.[_0xc785ae(0x160)],'picHeight':_0x21a220?.['height'],'fileName':_0x1a223a,'sourcePath':_0x5c42c7,'original':!![],'picType':_0x24b236[_0xc785ae(0x12f)](isGIF,_0x2218e5)?PicType['gif']:PicType[_0xc785ae(0x17d)],'picSubType':_0x516c00,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x50e9ed};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x37dc6d};}static async[_0x5d3a0d(0x170)](_0x40d761,_0x6efa6='',_0x16fad5=''){const _0x2bfc34=_0x5d3a0d,_0x48390f={'diIrO':function(_0x17335a,_0xfc7b0e){return _0x17335a===_0xfc7b0e;},'rHwgu':_0x2bfc34(0x174),'ySbiY':function(_0x7e5c8d,_0x442d90){return _0x7e5c8d||_0x442d90;}},{md5:_0xb1c7e0,fileName:_0x20e5d8,path:_0x1869ae,fileSize:_0x518a0b}=await NTQQFileApi[_0x2bfc34(0x136)](_0x40d761,ElementType[_0x2bfc34(0x175)]);if(_0x48390f['diIrO'](_0x518a0b,0x0))throw _0x48390f[_0x2bfc34(0x145)];const _0x2dfc06={'elementType':ElementType[_0x2bfc34(0x175)],'elementId':'','fileElement':{'fileName':_0x48390f[_0x2bfc34(0x12b)](_0x6efa6,_0x20e5d8),'folderId':_0x16fad5,'filePath':_0x1869ae,'fileSize':_0x518a0b[_0x2bfc34(0x127)]()}};return _0x2dfc06;}static async[_0x5d3a0d(0x16d)](_0x155ae3,_0x438c28='',_0x573a35=''){const _0x233523=_0x5d3a0d,_0x3a28fb={'TuLpr':function(_0x773b22,_0x379675){return _0x773b22(_0x379675);},'Iqgcw':function(_0x4f876c,_0x119025){return _0x4f876c+_0x119025;},'BqhHj':function(_0x3991ed,_0x205088){return _0x3991ed+_0x205088;},'FEHzs':function(_0x6cdad7,_0x49210d){return _0x6cdad7(_0x49210d);},'QghPE':function(_0x14165e,_0x3caffa,_0x33903f){return _0x14165e(_0x3caffa,_0x33903f);},'xdTvg':function(_0x1baee2,_0x34eee3){return _0x1baee2(_0x34eee3);}},{fileName:_0x1e3bce,path:_0x2ec9e0,fileSize:_0x407f25,md5:_0x204c98}=await NTQQFileApi[_0x233523(0x136)](_0x155ae3,ElementType[_0x233523(0x178)]);if(_0x407f25===0x0)throw _0x233523(0x174);let _0x4f53d5=_0x2ec9e0[_0x233523(0x140)](_0x11c051[_0x233523(0x137)]+_0x233523(0x154)+_0x11c051[_0x233523(0x137)],_0x11c051['sep']+_0x233523(0x13d)+_0x11c051[_0x233523(0x137)]);_0x4f53d5=_0x11c051['dirname'](_0x4f53d5);let _0x508325={'width':0x780,'height':0x438,'time':0xf,'format':_0x233523(0x138),'size':_0x407f25,'filePath':_0x155ae3};try{_0x508325=await _0x3a28fb[_0x233523(0x17a)](getVideoInfo,_0x2ec9e0);}catch(_0x598efb){_0x3a28fb[_0x233523(0x16f)](logError,'获取视频信息失败',_0x598efb);}const _0x1f181f=new Promise((_0x42683e,_0x50076d)=>{const _0x3e174a=_0x233523,_0x2d9963={'PmSAz':function(_0x10443b,_0x1ba0bd){return _0x10443b(_0x1ba0bd);}},_0xf3ec09=_0x204c98+_0x3e174a(0x139),_0x37f628=_0x11c051[_0x3e174a(0x14d)](_0x4f53d5,_0xf3ec09);_0x3a28fb[_0x3e174a(0x132)](_0x3c43b0,_0x155ae3)['on']('end',()=>{})['on'](_0x3e174a(0x17f),_0x552aeb=>{const _0x5f53ed=_0x3e174a,_0xb8c70f={'rPUNj':function(_0x4a4bcc,_0x355a64){const _0x3b6288=_0x5b1c;return _0x3a28fb[_0x3b6288(0x132)](_0x4a4bcc,_0x355a64);},'IPhnm':function(_0x476fd7,_0x2d72bc){const _0x409f73=_0x5b1c;return _0x3a28fb[_0x409f73(0x132)](_0x476fd7,_0x2d72bc);}};logDebug('获取视频封面失败,使用默认封面',_0x552aeb),_0x573a35?_0x3260ec[_0x5f53ed(0x163)](_0x573a35,_0x37f628)[_0x5f53ed(0x16b)](()=>{_0xb8c70f['rPUNj'](_0x42683e,_0x37f628);})[_0x5f53ed(0x13e)](_0x50076d):_0x3260ec[_0x5f53ed(0x153)](_0x37f628,defaultVideoThumb)['then'](()=>{const _0xaff46c=_0x5f53ed;_0xb8c70f[_0xaff46c(0x142)](_0x42683e,_0x37f628);})['catch'](_0x50076d);})[_0x3e174a(0x129)]({'timestamps':[0x0],'filename':_0xf3ec09,'folder':_0x4f53d5,'size':_0x3a28fb[_0x3e174a(0x130)](_0x3a28fb[_0x3e174a(0x158)](_0x508325[_0x3e174a(0x160)],'x'),_0x508325[_0x3e174a(0x13b)])})['on']('end',()=>{const _0x1a2cd6=_0x3e174a;_0x2d9963[_0x1a2cd6(0x173)](_0x42683e,_0x37f628);});}),_0x23ace2=new Map(),_0x31d1d8=await _0x1f181f,_0xbc1d65=(await _0x3260ec['stat'](_0x31d1d8))[_0x233523(0x15b)];_0x23ace2['set'](0x0,_0x31d1d8);const _0x54ea44=await _0x3a28fb[_0x233523(0x148)](calculateFileMD5,_0x31d1d8),_0x193ffb={'elementType':ElementType[_0x233523(0x178)],'elementId':'','videoElement':{'fileName':_0x438c28||_0x1e3bce,'filePath':_0x2ec9e0,'videoMd5':_0x204c98,'thumbMd5':_0x54ea44,'fileTime':_0x508325['time'],'thumbPath':_0x23ace2,'thumbSize':_0xbc1d65,'thumbWidth':_0x508325[_0x233523(0x160)],'thumbHeight':_0x508325[_0x233523(0x13b)],'fileSize':_0x3a28fb[_0x233523(0x158)]('',_0x407f25)}};return _0x193ffb;}static async[_0x5d3a0d(0x157)](_0x3598c9){const _0x2b833a=_0x5d3a0d,_0xa8284={'bopim':function(_0x28d04a,_0x21afdb){return _0x28d04a(_0x21afdb);},'HlSQE':'语音转换失败,\x20请检查语音文件是否正常','cZKJY':function(_0x369ffb,_0xc8ef76){return _0x369ffb===_0xc8ef76;}},{converted:_0x342809,path:_0x30aecd,duration:_0x3ae9bd}=await _0xa8284[_0x2b833a(0x141)](encodeSilk,_0x3598c9);if(!_0x30aecd)throw _0xa8284[_0x2b833a(0x16c)];const {md5:_0x2d6b54,fileName:_0x4ae5c0,path:_0xbcfb01,fileSize:_0x31ec4a}=await NTQQFileApi[_0x2b833a(0x136)](_0x30aecd,ElementType[_0x2b833a(0x152)]);if(_0xa8284[_0x2b833a(0x143)](_0x31ec4a,0x0))throw _0x2b833a(0x174);return _0x342809&&_0x3260ec['unlink'](_0x30aecd)[_0x2b833a(0x16b)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x4ae5c0,'filePath':_0xbcfb01,'md5HexStr':_0x2d6b54,'fileSize':_0x31ec4a,'duration':_0x3ae9bd||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[_0x5d3a0d(0x14e)](_0x237048){const _0x543f18=_0x5d3a0d,_0x594d4b={'JjfHY':function(_0x2052c2,_0x60043a){return _0x2052c2>=_0x60043a;}},_0x3c7b46=_0xfd1802[_0x543f18(0x15a)],_0x2b34b2=_0xfd1802[_0x543f18(0x172)],_0x3afe91=_0x3c7b46['find'](_0x852085=>_0x852085[_0x543f18(0x144)]===_0x237048[_0x543f18(0x127)]());_0x237048=parseInt(_0x237048[_0x543f18(0x127)]());let _0x5df589=0x1;return _0x594d4b[_0x543f18(0x17e)](_0x237048,0xde)&&(_0x5df589=0x2),_0x3afe91[_0x543f18(0x159)]&&(_0x5df589=0x3),{'elementType':ElementType[_0x543f18(0x176)],'elementId':'','faceElement':{'faceIndex':_0x237048,'faceType':_0x5df589,'faceText':_0x3afe91[_0x543f18(0x13f)],'stickerId':_0x3afe91[_0x543f18(0x134)],'stickerType':_0x3afe91[_0x543f18(0x159)],'packId':_0x3afe91[_0x543f18(0x135)],'sourceType':0x1}};}static['mface'](_0x19446f,_0x594d47,_0x573c12,_0x2b01a5){const _0x1d4bc6=_0x5d3a0d;return{'elementType':ElementType[_0x1d4bc6(0x15c)],'marketFaceElement':{'emojiPackageId':_0x19446f,'emojiId':_0x594d47,'key':_0x573c12,'faceName':_0x2b01a5||mFaceCache['get'](_0x594d47)||_0x1d4bc6(0x151)}};}static[_0x5d3a0d(0x177)](_0x1b8725){const _0x2c0ff7=_0x5d3a0d,_0x12ad63={'MKBIC':_0x2c0ff7(0x156)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2c0ff7(0x177)],'faceType':FaceType[_0x2c0ff7(0x177)],'faceText':_0x12ad63['MKBIC'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5d3a0d(0x164)](_0x4b951d){const _0x68b34d=_0x5d3a0d,_0x133ee1={'iiRNW':_0x68b34d(0x147)};return{'elementType':ElementType[_0x68b34d(0x176)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x68b34d(0x15f)],'faceText':_0x133ee1['iiRNW'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5d3a0d(0x166)](_0x11e3e1){const _0x440ac5=_0x5d3a0d,_0x14daad={'ndFYe':function(_0x17e5d7,_0x4473ee){return _0x17e5d7!==_0x4473ee;}};return _0x14daad[_0x440ac5(0x14a)](typeof _0x11e3e1,_0x440ac5(0x179))&&(_0x11e3e1=JSON['stringify'](_0x11e3e1)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x11e3e1,'linkInfo':null,'subElementType':null}};}static[_0x5d3a0d(0x162)](_0xeb064e){const _0x4dccd8=_0x5d3a0d;return{'elementType':ElementType[_0x4dccd8(0x13c)],'elementId':'','markdownElement':{'content':_0xeb064e}};}static async['miniapp'](){const _0x2b37e8=_0x5d3a0d,_0x116f04={'uoCKf':function(_0x4c0827,_0x307cdf){return _0x4c0827(_0x307cdf);},'oiGDS':_0x2b37e8(0x171),'KcCRt':_0x2b37e8(0x12d),'ZYfBe':_0x2b37e8(0x161),'VgfUe':_0x2b37e8(0x146)};let _0x149a7b=await _0x116f04[_0x2b37e8(0x15d)](SignMiniApp,{'prompt':_0x116f04['oiGDS'],'title':_0x116f04[_0x2b37e8(0x16e)],'preview':_0x116f04['KcCRt'],'jumpUrl':_0x116f04[_0x2b37e8(0x17c)],'tag':_0x116f04[_0x2b37e8(0x16e)],'tagIcon':_0x116f04[_0x2b37e8(0x13a)],'source':_0x2b37e8(0x171),'sourcelogo':_0x116f04[_0x2b37e8(0x13a)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x149a7b,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +function _0x74e8(_0x409848,_0x147ff5){const _0x550150=_0x5501();return _0x74e8=function(_0x74e8ec,_0x114bde){_0x74e8ec=_0x74e8ec-0xc9;let _0x1ce0ec=_0x550150[_0x74e8ec];return _0x1ce0ec;},_0x74e8(_0x409848,_0x147ff5);}const _0x9764eb=_0x74e8;(function(_0x5a77c1,_0x66a1c8){const _0xa0074=_0x74e8,_0xcc5c0=_0x5a77c1();while(!![]){try{const _0x5cdc8e=parseInt(_0xa0074(0xe9))/0x1*(parseInt(_0xa0074(0x110))/0x2)+parseInt(_0xa0074(0xfe))/0x3+-parseInt(_0xa0074(0xcf))/0x4*(-parseInt(_0xa0074(0xf6))/0x5)+parseInt(_0xa0074(0xf0))/0x6*(-parseInt(_0xa0074(0xf4))/0x7)+-parseInt(_0xa0074(0x106))/0x8*(parseInt(_0xa0074(0x127))/0x9)+-parseInt(_0xa0074(0xdb))/0xa+-parseInt(_0xa0074(0xe0))/0xb*(-parseInt(_0xa0074(0xf2))/0xc);if(_0x5cdc8e===_0x66a1c8)break;else _0xcc5c0['push'](_0xcc5c0['shift']());}catch(_0x11ffd2){_0xcc5c0['push'](_0xcc5c0['shift']());}}}(_0x5501,0xef266));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x775ab1}from'node:fs';import _0x2266a2 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x5501(){const _0xc66152=['getImageSize','sep','BoNlP','join','Bot\x20Test','set','REPLY','aauBi','10535680eZftiB','ptt','Ori','dxfyB','notAt','5688716kgMJjv','[骰子]','fgLfS','find','string','[商城表情]','FACE','text','https://www.bilibili.com/','1PZWkZW','error','ynRCo','jyGyS','rps','reply','emoji','1258128SJNaBD','DoiYb','48xgKfal','sysface','14yYCtHg','oliar','3505bnLfbd','toString','dirname','ytfil','file','ARK','miniapp','TEXT','3285216Vyyfcw','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','DbWZm','获取视频封面失败,使用默认封面','fXIMs','AniStickerId','tidKM','copyFile','1277624ZmoLxS','stat','HcVts','PTT','FILE','vSksh','文件异常,大小为0','jpg','mp4','stringify','763634rCVFVm','PIC','AniStickerType','RPS','OOpfX','_0.png','markdown','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','MFACE','pxRfx','Idezn','uploadFile','qEgEE','catch','pic','语音转换失败,\x20请检查语音文件是否正常','ark','get','[包剪锤]','unlink','mface','gPlVI','replace','90NmjIhM','width','acLun','NzmHd','VIDEO','then','wUzrI','tCFNI','dice','rcyiP','2876RKBsPs','LHYmG','lZAcH','face'];_0x5501=function(){return _0xc66152;};return _0x5501();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x4e186e from'./face_config.json';import*as _0xdbc921 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x9764eb(0xe7)](_0x3fec8d){const _0x4c6af1=_0x9764eb;return{'elementType':ElementType[_0x4c6af1(0xfd)],'elementId':'','textElement':{'content':_0x3fec8d,'atType':AtType[_0x4c6af1(0xdf)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x5185e5,_0x4d3c4c,_0xbbf0c,_0x5377c8){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x5377c8,'atType':_0xbbf0c,'atUid':_0x5185e5,'atTinyId':'','atNtUid':_0x4d3c4c}};}static[_0x9764eb(0xee)](_0x15a039,_0x14fb61,_0x34bf14,_0x1b3575){const _0xa73712=_0x9764eb;return{'elementType':ElementType[_0xa73712(0xd9)],'elementId':'','replyElement':{'replayMsgSeq':_0x15a039,'replayMsgId':_0x14fb61,'senderUin':_0x34bf14,'senderUinStr':_0x1b3575}};}static async[_0x9764eb(0x11e)](_0x18434a,_0x377bdf='',_0xcbba17=0x0){const _0x17ecef=_0x9764eb,_0x49ede6={'rcyiP':function(_0x484b9c,_0x3623c8){return _0x484b9c===_0x3623c8;},'MhCfh':_0x17ecef(0x10c)},{md5:_0x28a618,fileName:_0x476178,path:_0x1e3639,fileSize:_0x53a569}=await NTQQFileApi['uploadFile'](_0x18434a,ElementType[_0x17ecef(0x111)],_0xcbba17);if(_0x49ede6[_0x17ecef(0xce)](_0x53a569,0x0))throw _0x49ede6['MhCfh'];const _0x22f644=await NTQQFileApi[_0x17ecef(0xd3)](_0x18434a),_0x1cb702={'md5HexStr':_0x28a618,'fileSize':_0x53a569[_0x17ecef(0xf7)](),'picWidth':_0x22f644?.[_0x17ecef(0x128)],'picHeight':_0x22f644?.['height'],'fileName':_0x476178,'sourcePath':_0x1e3639,'original':!![],'picType':isGIF(_0x18434a)?PicType['gif']:PicType[_0x17ecef(0x10d)],'picSubType':_0xcbba17,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x377bdf};return{'elementType':ElementType[_0x17ecef(0x111)],'elementId':'','picElement':_0x1cb702};}static async[_0x9764eb(0xfa)](_0xbe6441,_0xc74bc9='',_0x556286=''){const _0x1b6264=_0x9764eb,_0x573d55={'fXIMs':function(_0x22fc30,_0x7d914e){return _0x22fc30===_0x7d914e;},'aauBi':'文件异常,大小为0','lZAcH':function(_0x57e2b5,_0x11442b){return _0x57e2b5||_0x11442b;}},{md5:_0x1b2202,fileName:_0x1353e6,path:_0x1a3032,fileSize:_0x302afb}=await NTQQFileApi[_0x1b6264(0x11b)](_0xbe6441,ElementType[_0x1b6264(0x10a)]);if(_0x573d55[_0x1b6264(0x102)](_0x302afb,0x0))throw _0x573d55[_0x1b6264(0xda)];const _0x281f07={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x573d55[_0x1b6264(0xd1)](_0xc74bc9,_0x1353e6),'folderId':_0x556286,'filePath':_0x1a3032,'fileSize':_0x302afb['toString']()}};return _0x281f07;}static async['video'](_0x41f854,_0x3f3771='',_0x1cd82a=''){const _0x14865f=_0x9764eb,_0x18192e={'dxfyB':function(_0x1a5d81,_0x15609d){return _0x1a5d81(_0x15609d);},'tidKM':function(_0x455d03,_0x40b9d2,_0x2a4639){return _0x455d03(_0x40b9d2,_0x2a4639);},'OOpfX':_0x14865f(0x101),'LHYmG':'end','gPlVI':_0x14865f(0xea),'vSksh':function(_0x42aca4,_0x28d8bf){return _0x42aca4+_0x28d8bf;},'BoNlP':'文件异常,大小为0','wUzrI':_0x14865f(0x10e),'HcVts':function(_0x5c4ed3,_0x1c6628,_0x4f310a){return _0x5c4ed3(_0x1c6628,_0x4f310a);},'NzmHd':'获取视频信息失败','fdOYV':function(_0x15c4ce,_0x35ea2a){return _0x15c4ce||_0x35ea2a;}},{fileName:_0x3fb994,path:_0x30fc32,fileSize:_0x105298,md5:_0x4a8084}=await NTQQFileApi['uploadFile'](_0x41f854,ElementType[_0x14865f(0xc9)]);if(_0x105298===0x0)throw _0x18192e[_0x14865f(0xd5)];let _0x3a1029=_0x30fc32[_0x14865f(0x126)](_0xdbc921['sep']+_0x14865f(0xdd)+_0xdbc921[_0x14865f(0xd4)],_0xdbc921[_0x14865f(0xd4)]+'Thumb'+_0xdbc921['sep']);_0x3a1029=_0xdbc921[_0x14865f(0xf8)](_0x3a1029);let _0x69f03d={'width':0x780,'height':0x438,'time':0xf,'format':_0x18192e[_0x14865f(0xcb)],'size':_0x105298,'filePath':_0x41f854};try{_0x69f03d=await _0x18192e[_0x14865f(0xde)](getVideoInfo,_0x30fc32);}catch(_0x1ab12e){_0x18192e[_0x14865f(0x108)](logError,_0x18192e[_0x14865f(0x12a)],_0x1ab12e);}const _0x1b466f=new Promise((_0x5b3ce7,_0x4c8870)=>{const _0x84ac2=_0x14865f,_0xac4a22={'fgLfS':function(_0x8374c,_0x44bb4c){const _0x1d261c=_0x74e8;return _0x18192e[_0x1d261c(0xde)](_0x8374c,_0x44bb4c);},'oliar':function(_0x30762a,_0x4b2f23,_0x391401){const _0x29b520=_0x74e8;return _0x18192e[_0x29b520(0x104)](_0x30762a,_0x4b2f23,_0x391401);},'zlnln':_0x18192e[_0x84ac2(0x114)]},_0x119c2c=_0x4a8084+_0x84ac2(0x115),_0x472b2b=_0xdbc921[_0x84ac2(0xd6)](_0x3a1029,_0x119c2c);_0x18192e[_0x84ac2(0xde)](_0x2266a2,_0x41f854)['on'](_0x18192e[_0x84ac2(0xd0)],()=>{})['on'](_0x18192e[_0x84ac2(0x125)],_0x1d841c=>{const _0x31189d=_0x84ac2,_0x31c808={'tCFNI':function(_0x1a99ab,_0x2972c8){const _0x4cb5a2=_0x74e8;return _0xac4a22[_0x4cb5a2(0xe2)](_0x1a99ab,_0x2972c8);}};_0xac4a22[_0x31189d(0xf5)](logDebug,_0xac4a22['zlnln'],_0x1d841c),_0x1cd82a?_0x775ab1[_0x31189d(0x105)](_0x1cd82a,_0x472b2b)[_0x31189d(0xca)](()=>{_0x5b3ce7(_0x472b2b);})[_0x31189d(0x11d)](_0x4c8870):_0x775ab1['writeFile'](_0x472b2b,defaultVideoThumb)['then'](()=>{const _0x307479=_0x31189d;_0x31c808[_0x307479(0xcc)](_0x5b3ce7,_0x472b2b);})[_0x31189d(0x11d)](_0x4c8870);})['screenshots']({'timestamps':[0x0],'filename':_0x119c2c,'folder':_0x3a1029,'size':_0x18192e[_0x84ac2(0x10b)](_0x18192e[_0x84ac2(0x10b)](_0x69f03d[_0x84ac2(0x128)],'x'),_0x69f03d['height'])})['on'](_0x18192e[_0x84ac2(0xd0)],()=>{_0xac4a22['fgLfS'](_0x5b3ce7,_0x472b2b);});}),_0x26b2e2=new Map(),_0x1992ab=await _0x1b466f,_0x142459=(await _0x775ab1[_0x14865f(0x107)](_0x1992ab))['size'];_0x26b2e2[_0x14865f(0xd8)](0x0,_0x1992ab);const _0x2a3aa7=await calculateFileMD5(_0x1992ab),_0x32e87a={'elementType':ElementType[_0x14865f(0xc9)],'elementId':'','videoElement':{'fileName':_0x18192e['fdOYV'](_0x3f3771,_0x3fb994),'filePath':_0x30fc32,'videoMd5':_0x4a8084,'thumbMd5':_0x2a3aa7,'fileTime':_0x69f03d['time'],'thumbPath':_0x26b2e2,'thumbSize':_0x142459,'thumbWidth':_0x69f03d[_0x14865f(0x128)],'thumbHeight':_0x69f03d['height'],'fileSize':_0x18192e['vSksh']('',_0x105298)}};return _0x32e87a;}static async[_0x9764eb(0xdc)](_0x46a433){const _0x552394=_0x9764eb,_0x4bc506={'pxRfx':function(_0x4c210c,_0x5170cd){return _0x4c210c(_0x5170cd);},'jyGyS':function(_0x467b41,_0x5b8465){return _0x467b41===_0x5b8465;},'ytfil':_0x552394(0x10c),'ZEAkb':function(_0x1f0b0e,_0x31fe7c){return _0x1f0b0e||_0x31fe7c;}},{converted:_0x1f2517,path:_0x522097,duration:_0x8c6046}=await _0x4bc506[_0x552394(0x119)](encodeSilk,_0x46a433);if(!_0x522097)throw _0x552394(0x11f);const {md5:_0x34914e,fileName:_0x26a6e3,path:_0x517321,fileSize:_0x86c922}=await NTQQFileApi['uploadFile'](_0x522097,ElementType[_0x552394(0x109)]);if(_0x4bc506[_0x552394(0xec)](_0x86c922,0x0))throw _0x4bc506[_0x552394(0xf9)];return _0x1f2517&&_0x775ab1[_0x552394(0x123)](_0x522097)[_0x552394(0xca)](),{'elementType':ElementType[_0x552394(0x109)],'elementId':'','pttElement':{'fileName':_0x26a6e3,'filePath':_0x517321,'md5HexStr':_0x34914e,'fileSize':_0x86c922,'duration':_0x4bc506['ZEAkb'](_0x8c6046,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[_0x9764eb(0xd2)](_0x2f78f9){const _0x35e02e=_0x9764eb,_0x3a92c2={'SpVys':function(_0x4821c2,_0x16d157){return _0x4821c2>=_0x16d157;}},_0x116fc8=_0x4e186e[_0x35e02e(0xf3)],_0x35a058=_0x4e186e[_0x35e02e(0xef)],_0x45f5d5=_0x116fc8[_0x35e02e(0xe3)](_0x211993=>_0x211993['QSid']===_0x2f78f9[_0x35e02e(0xf7)]());_0x2f78f9=parseInt(_0x2f78f9['toString']());let _0xb85a76=0x1;return _0x3a92c2['SpVys'](_0x2f78f9,0xde)&&(_0xb85a76=0x2),_0x45f5d5[_0x35e02e(0x112)]&&(_0xb85a76=0x3),{'elementType':ElementType[_0x35e02e(0xe6)],'elementId':'','faceElement':{'faceIndex':_0x2f78f9,'faceType':_0xb85a76,'faceText':_0x45f5d5['QDes'],'stickerId':_0x45f5d5[_0x35e02e(0x103)],'stickerType':_0x45f5d5['AniStickerType'],'packId':_0x45f5d5['AniStickerPackId'],'sourceType':0x1}};}static[_0x9764eb(0x124)](_0x1e24e7,_0x2357a9,_0x1bd2b6,_0x2227f5){const _0x100037=_0x9764eb,_0x254c18={'uIcSX':_0x100037(0xe5)};return{'elementType':ElementType[_0x100037(0x118)],'marketFaceElement':{'emojiPackageId':_0x1e24e7,'emojiId':_0x2357a9,'key':_0x1bd2b6,'faceName':_0x2227f5||mFaceCache[_0x100037(0x121)](_0x2357a9)||_0x254c18['uIcSX']}};}static[_0x9764eb(0xcd)](_0xaf2264){const _0x40b36d=_0x9764eb,_0x150056={'ynRCo':_0x40b36d(0xe1)};return{'elementType':ElementType[_0x40b36d(0xe6)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x40b36d(0xcd)],'faceType':FaceType[_0x40b36d(0xcd)],'faceText':_0x150056[_0x40b36d(0xeb)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x9764eb(0xed)](_0x49a607){const _0x56b0c6=_0x9764eb,_0x4ff91f={'WZBGF':_0x56b0c6(0x122)};return{'elementType':ElementType[_0x56b0c6(0xe6)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x56b0c6(0x113)],'faceText':_0x4ff91f['WZBGF'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x9764eb(0x120)](_0x4f874c){const _0x4bf1d5=_0x9764eb,_0x3fbf69={'qEgEE':function(_0x22ff92,_0x456a82){return _0x22ff92!==_0x456a82;}};return _0x3fbf69[_0x4bf1d5(0x11c)](typeof _0x4f874c,_0x4bf1d5(0xe4))&&(_0x4f874c=JSON[_0x4bf1d5(0x10f)](_0x4f874c)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x4f874c,'linkInfo':null,'subElementType':null}};}static[_0x9764eb(0x116)](_0xa97603){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0xa97603}};}static async[_0x9764eb(0xfc)](){const _0x502ed3=_0x9764eb,_0x2e994c={'acLun':function(_0x30c71b,_0x37a826){return _0x30c71b(_0x37a826);},'DoiYb':_0x502ed3(0xd7),'DbWZm':_0x502ed3(0x117),'Idezn':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x4f3099=await _0x2e994c[_0x502ed3(0x129)](SignMiniApp,{'prompt':_0x2e994c[_0x502ed3(0xf1)],'title':_0x2e994c['DoiYb'],'preview':_0x2e994c[_0x502ed3(0x100)],'jumpUrl':_0x502ed3(0xe8),'tag':_0x502ed3(0xd7),'tagIcon':_0x2e994c[_0x502ed3(0x11a)],'source':_0x2e994c[_0x502ed3(0xf1)],'sourcelogo':_0x502ed3(0xff)});return{'elementType':ElementType[_0x502ed3(0xfb)],'elementId':'','arkElement':{'bytesData':_0x4f3099,'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 15bb8a5e..391e5d91 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x5e58f1,_0x301276){var _0x1fe501=_0x2b6a,_0x4a0ddb=_0x5e58f1();while(!![]){try{var _0x4779fc=-parseInt(_0x1fe501(0x17c))/0x1*(parseInt(_0x1fe501(0x17d))/0x2)+parseInt(_0x1fe501(0x181))/0x3+-parseInt(_0x1fe501(0x187))/0x4*(-parseInt(_0x1fe501(0x182))/0x5)+-parseInt(_0x1fe501(0x17b))/0x6+-parseInt(_0x1fe501(0x17a))/0x7*(-parseInt(_0x1fe501(0x17f))/0x8)+parseInt(_0x1fe501(0x185))/0x9+-parseInt(_0x1fe501(0x17e))/0xa*(-parseInt(_0x1fe501(0x184))/0xb);if(_0x4779fc===_0x301276)break;else _0x4a0ddb['push'](_0x4a0ddb['shift']());}catch(_0x2d4848){_0x4a0ddb['push'](_0x4a0ddb['shift']());}}}(_0x43ff,0x19aae));function _0x2b6a(_0x49e240,_0x4b7113){var _0x43ff78=_0x43ff();return _0x2b6a=function(_0x2b6a86,_0x5eabc9){_0x2b6a86=_0x2b6a86-0x17a;var _0x36ba6d=_0x43ff78[_0x2b6a86];return _0x36ba6d;},_0x2b6a(_0x49e240,_0x4b7113);}export var GroupMemberRole;function _0x43ff(){var _0x1524fa=['2gmIxOu','317230gWUpOp','560GCGiPt','TpkTA','538095rIsZMI','1045Rjhkly','kqrJj','11ZlRdZU','1552869EvVbFU','normal','604WlMrVk','owner','2569ETHJdk','1138578aSfpbd','145981xqntwI'];_0x43ff=function(){return _0x1524fa;};return _0x43ff();}(function(_0xbf370f){var _0x35bb7e=_0x2b6a,_0x147c8e={'kqrJj':_0x35bb7e(0x186),'KTsHE':'admin','TpkTA':_0x35bb7e(0x188)};_0xbf370f[_0xbf370f[_0x35bb7e(0x186)]=0x2]=_0x147c8e[_0x35bb7e(0x183)],_0xbf370f[_0xbf370f[_0x147c8e['KTsHE']]=0x3]='admin',_0xbf370f[_0xbf370f[_0x147c8e[_0x35bb7e(0x180)]]=0x4]=_0x147c8e[_0x35bb7e(0x180)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x5cea7d,_0x3780ef){var _0x3f3cae=_0x3e14,_0x240696=_0x5cea7d();while(!![]){try{var _0x29f7cb=-parseInt(_0x3f3cae(0x1d5))/0x1+parseInt(_0x3f3cae(0x1d1))/0x2*(-parseInt(_0x3f3cae(0x1d2))/0x3)+parseInt(_0x3f3cae(0x1d3))/0x4*(parseInt(_0x3f3cae(0x1cb))/0x5)+parseInt(_0x3f3cae(0x1d7))/0x6*(parseInt(_0x3f3cae(0x1d9))/0x7)+parseInt(_0x3f3cae(0x1d4))/0x8*(-parseInt(_0x3f3cae(0x1c9))/0x9)+-parseInt(_0x3f3cae(0x1ca))/0xa+parseInt(_0x3f3cae(0x1cd))/0xb;if(_0x29f7cb===_0x3780ef)break;else _0x240696['push'](_0x240696['shift']());}catch(_0x3307bd){_0x240696['push'](_0x240696['shift']());}}}(_0x2fa1,0x8f0eb));function _0x3e14(_0x4bc52a,_0x1ccb05){var _0x2fa16c=_0x2fa1();return _0x3e14=function(_0x3e14ce,_0x586e30){_0x3e14ce=_0x3e14ce-0x1c9;var _0x44bdcb=_0x2fa16c[_0x3e14ce];return _0x44bdcb;},_0x3e14(_0x4bc52a,_0x1ccb05);}export var GroupMemberRole;function _0x2fa1(){var _0x1073ef=['3kSxGkV','9244pdOUgU','1536oXHVVJ','667847cHkSLE','zVTou','378rJulnI','normal','10801MWhscm','41112LvJCMr','9031120FUvqtH','185ehRkal','admin','33377861uIMIeJ','owner','KpsWZ','nstcS','366178CtSkpi'];_0x2fa1=function(){return _0x1073ef;};return _0x2fa1();}(function(_0xc3b2f0){var _0xa2d1b6=_0x3e14,_0x41bfcf={'nstcS':_0xa2d1b6(0x1d8),'KpsWZ':'admin','zVTou':_0xa2d1b6(0x1ce)};_0xc3b2f0[_0xc3b2f0[_0x41bfcf[_0xa2d1b6(0x1d0)]]=0x2]=_0x41bfcf[_0xa2d1b6(0x1d0)],_0xc3b2f0[_0xc3b2f0[_0x41bfcf[_0xa2d1b6(0x1cf)]]=0x3]=_0xa2d1b6(0x1cc),_0xc3b2f0[_0xc3b2f0[_0xa2d1b6(0x1ce)]=0x4]=_0x41bfcf[_0xa2d1b6(0x1d6)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 103ba7a6..5181aa09 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x10f32c,_0x2e9f3c){var _0x45c571=_0x1933,_0x47b273=_0x10f32c();while(!![]){try{var _0x4ea979=parseInt(_0x45c571(0x17e))/0x1*(parseInt(_0x45c571(0x184))/0x2)+-parseInt(_0x45c571(0x180))/0x3*(parseInt(_0x45c571(0x17a))/0x4)+parseInt(_0x45c571(0x17f))/0x5*(-parseInt(_0x45c571(0x182))/0x6)+parseInt(_0x45c571(0x181))/0x7*(parseInt(_0x45c571(0x185))/0x8)+parseInt(_0x45c571(0x179))/0x9+-parseInt(_0x45c571(0x183))/0xa*(parseInt(_0x45c571(0x17b))/0xb)+parseInt(_0x45c571(0x17c))/0xc*(parseInt(_0x45c571(0x17d))/0xd);if(_0x4ea979===_0x2e9f3c)break;else _0x47b273['push'](_0x47b273['shift']());}catch(_0x30ca12){_0x47b273['push'](_0x47b273['shift']());}}}(_0x2325,0xea61e));function _0x2325(){var _0xfe0dad=['5BmhxND','345297vypbQL','126XkzKyH','9531858YXfFXm','94210SKGnwD','18sfNwaH','584600dHoHMZ','4209066qqXtCk','4MKWrsL','1023YfpXfE','19162788lXKFyG','13SAGRDz','17778UtmykQ'];_0x2325=function(){return _0xfe0dad;};return _0x2325();}export*from'./user';function _0x1933(_0x41d690,_0x3684fa){var _0x23256b=_0x2325();return _0x1933=function(_0x193390,_0x3ed18a){_0x193390=_0x193390-0x179;var _0x54d199=_0x23256b[_0x193390];return _0x54d199;},_0x1933(_0x41d690,_0x3684fa);}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x2f3d80,_0x5e2c40){var _0x1e9cc0=_0x49ac,_0x256817=_0x2f3d80();while(!![]){try{var _0x20c16a=-parseInt(_0x1e9cc0(0x137))/0x1*(-parseInt(_0x1e9cc0(0x134))/0x2)+-parseInt(_0x1e9cc0(0x130))/0x3*(-parseInt(_0x1e9cc0(0x132))/0x4)+parseInt(_0x1e9cc0(0x131))/0x5*(-parseInt(_0x1e9cc0(0x139))/0x6)+parseInt(_0x1e9cc0(0x133))/0x7+parseInt(_0x1e9cc0(0x138))/0x8+parseInt(_0x1e9cc0(0x12f))/0x9+parseInt(_0x1e9cc0(0x136))/0xa*(-parseInt(_0x1e9cc0(0x135))/0xb);if(_0x20c16a===_0x5e2c40)break;else _0x256817['push'](_0x256817['shift']());}catch(_0x48d495){_0x256817['push'](_0x256817['shift']());}}}(_0x11f3,0x8930c));export*from'./user';export*from'./group';function _0x11f3(){var _0x3c7b3a=['4939730aJzutA','181520vBdkvb','8548984oPtrRp','42YCKroo','7846002HqqhMb','3GMVmSV','46615SAJfgJ','956924jibyfN','1339422NvAFsC','8NgNzOW','55JYhmYJ'];_0x11f3=function(){return _0x3c7b3a;};return _0x11f3();}export*from'./msg';export*from'./notify';function _0x49ac(_0x45c297,_0x3aa09b){var _0x11f380=_0x11f3();return _0x49ac=function(_0x49aca0,_0xb40376){_0x49aca0=_0x49aca0-0x12f;var _0x543c4e=_0x11f380[_0x49aca0];return _0x543c4e;},_0x49ac(_0x45c297,_0x3aa09b);}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 4671226d..9dcb7a5b 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x309ab5=_0x115e;(function(_0x51d3cf,_0x297df7){var _0x8b719b=_0x115e,_0x5d5ce9=_0x51d3cf();while(!![]){try{var _0x52b659=parseInt(_0x8b719b(0x7a))/0x1*(parseInt(_0x8b719b(0x92))/0x2)+parseInt(_0x8b719b(0xaa))/0x3*(-parseInt(_0x8b719b(0x90))/0x4)+-parseInt(_0x8b719b(0xa6))/0x5+parseInt(_0x8b719b(0x8e))/0x6*(parseInt(_0x8b719b(0x89))/0x7)+-parseInt(_0x8b719b(0x7d))/0x8*(-parseInt(_0x8b719b(0xa8))/0x9)+-parseInt(_0x8b719b(0x81))/0xa*(parseInt(_0x8b719b(0x8a))/0xb)+parseInt(_0x8b719b(0x83))/0xc;if(_0x52b659===_0x297df7)break;else _0x5d5ce9['push'](_0x5d5ce9['shift']());}catch(_0x1cb4eb){_0x5d5ce9['push'](_0x5d5ce9['shift']());}}}(_0x2f67,0x7240f));export var ElementType;function _0x2f67(){var _0x46ee89=['nkXzq','8|4|6|0|5|1|3|2|7|9','face','FACE','YizTQ','INVITE_NEW_MEMBER','friend','aQYqZ','VItqy','PTT','JLxzg','normal2','temp','ban','xcaeB','jlYZq','kicked','TEXT','VIDEO','efliP','5yrRGFz','gif','LVWjR','297296tIEopC','PTEEY','normal','TkxaQ','3686290hfAxGM','xaLkP','13643748ILqDxR','https://multimedia.nt.qq.com.cn','qXzXg','xLZod','chatDevice','split','28721VEQgvp','11pMcfzr','RMmnq','PIC','hBqcA','36bhtFSq','dice','2388nIAsPQ','MARKDOWN','314922DxGyrB','Zeltt','cSNXK','MFACE','wseAr','REPLY','ARK','group','JiAUX','NtALG','notAt','MEMBER_NEW_TITLE','TGcLp','cwiUh','IsLsf','jHbxw','pxbkF','FILE','UsngD','memberIncrease','2790580sHrIoB','ideNp','63uXHHny','QkAMP','4092KenMGe','atUser'];_0x2f67=function(){return _0x46ee89;};return _0x2f67();}(function(_0x3416e8){var _0x90f9ce=_0x115e,_0x2bf930={'vFNCX':_0x90f9ce(0xad),'xcaeB':_0x90f9ce(0xb5),'jlYZq':_0x90f9ce(0xaf),'PTEEY':'ARK','YizTQ':_0x90f9ce(0x97),'nkXzq':_0x90f9ce(0x8c),'ideNp':_0x90f9ce(0x78),'aQYqZ':_0x90f9ce(0xa3),'cwiUh':_0x90f9ce(0x95),'yjEae':'TEXT','TkxaQ':_0x90f9ce(0x91)},_0x474c86=_0x2bf930['vFNCX'][_0x90f9ce(0x88)]('|'),_0x3f2eb2=0x0;while(!![]){switch(_0x474c86[_0x3f2eb2++]){case'0':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0x74)]]=0x4]=_0x2bf930[_0x90f9ce(0x74)];continue;case'1':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0x75)]]=0x6]=_0x2bf930[_0x90f9ce(0x75)];continue;case'2':_0x3416e8[_0x3416e8[_0x90f9ce(0x98)]=0xa]=_0x2bf930[_0x90f9ce(0x7e)];continue;case'3':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0xb0)]]=0x7]=_0x90f9ce(0x97);continue;case'4':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0xac)]]=0x2]=_0x90f9ce(0x8c);continue;case'5':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0xa7)]]=0x5]=_0x2bf930[_0x90f9ce(0xa7)];continue;case'6':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0xb3)]]=0x3]=_0x2bf930[_0x90f9ce(0xb3)];continue;case'7':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0x9f)]]=0xb]=_0x2bf930[_0x90f9ce(0x9f)];continue;case'8':_0x3416e8[_0x3416e8[_0x90f9ce(0x77)]=0x1]=_0x2bf930['yjEae'];continue;case'9':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0x80)]]=0xe]=_0x2bf930[_0x90f9ce(0x80)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x115e(_0x31ff77,_0x682445){var _0x2f67b3=_0x2f67();return _0x115e=function(_0x115e93,_0xb05966){_0x115e93=_0x115e93-0x70;var _0xe9fa89=_0x2f67b3[_0x115e93];return _0xe9fa89;},_0x115e(_0x31ff77,_0x682445);}(function(_0xf3a97a){var _0xe07e12=_0x115e,_0x547465={'Zeltt':_0xe07e12(0x7b),'LVWjR':'jpg'};_0xf3a97a[_0xf3a97a[_0x547465[_0xe07e12(0x93)]]=0x7d0]=_0x547465[_0xe07e12(0x93)],_0xf3a97a[_0xf3a97a[_0x547465['LVWjR']]=0x3e8]=_0x547465[_0xe07e12(0x7c)];}(PicType||(PicType={})));export var PicSubType;(function(_0x36b4c7){var _0xedce16=_0x115e,_0x115e0a={'RMmnq':_0xedce16(0x7f),'xaLkP':_0xedce16(0xae)};_0x36b4c7[_0x36b4c7[_0x115e0a[_0xedce16(0x8b)]]=0x0]=_0xedce16(0x7f),_0x36b4c7[_0x36b4c7[_0x115e0a[_0xedce16(0x82)]]=0x1]=_0xedce16(0xae);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x24805e){var _0x4c85fa=_0x115e,_0x134769={'hBqcA':_0x4c85fa(0x9c),'NtALG':'atAll','efliP':_0x4c85fa(0xab)};_0x24805e[_0x24805e[_0x134769[_0x4c85fa(0x8d)]]=0x0]='notAt',_0x24805e[_0x24805e['atAll']=0x1]=_0x134769[_0x4c85fa(0x9b)],_0x24805e[_0x24805e[_0x134769['efliP']]=0x2]=_0x134769[_0x4c85fa(0x79)];}(AtType||(AtType={})));export var ChatType;(function(_0x4ddc0b){var _0x339bd2=_0x115e,_0x209c41={'TGcLp':_0x339bd2(0xb2),'JiAUX':_0x339bd2(0x99),'IsLsf':_0x339bd2(0x87),'jHbxw':_0x339bd2(0x72)};_0x4ddc0b[_0x4ddc0b[_0x209c41[_0x339bd2(0x9e)]]=0x1]=_0x209c41[_0x339bd2(0x9e)],_0x4ddc0b[_0x4ddc0b[_0x209c41[_0x339bd2(0x9a)]]=0x2]=_0x209c41[_0x339bd2(0x9a)],_0x4ddc0b[_0x4ddc0b[_0x209c41[_0x339bd2(0xa0)]]=0x8]=_0x209c41[_0x339bd2(0xa0)],_0x4ddc0b[_0x4ddc0b[_0x209c41[_0x339bd2(0xa1)]]=0x64]=_0x209c41[_0x339bd2(0xa1)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x309ab5(0x84);export var GrayTipElementSubType;(function(_0x41fede){var _0x1d94bb=_0x309ab5,_0x22f625={'VItqy':_0x1d94bb(0xb1),'wseAr':_0x1d94bb(0x9d)};_0x41fede[_0x41fede[_0x22f625[_0x1d94bb(0xb4)]]=0xc]=_0x22f625[_0x1d94bb(0xb4)],_0x41fede[_0x41fede[_0x22f625[_0x1d94bb(0x96)]]=0x11]=_0x22f625[_0x1d94bb(0x96)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x209913){var _0x21ed68=_0x309ab5,_0x15c4af={'xLZod':'normal','QkAMP':_0x21ed68(0x71),'JLxzg':_0x21ed68(0x8f)};_0x209913[_0x209913[_0x21ed68(0x7f)]=0x1]=_0x15c4af[_0x21ed68(0x86)],_0x209913[_0x209913[_0x15c4af[_0x21ed68(0xa9)]]=0x2]=_0x15c4af[_0x21ed68(0xa9)],_0x209913[_0x209913[_0x15c4af[_0x21ed68(0x70)]]=0x3]=_0x15c4af['JLxzg'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x4b6e79){var _0x54b827=_0x309ab5,_0x5c18d6={'qXzXg':'dice','cSNXK':'RPS'};_0x4b6e79[_0x4b6e79[_0x5c18d6[_0x54b827(0x85)]]=0x166]=_0x54b827(0x8f),_0x4b6e79[_0x4b6e79['RPS']=0x167]=_0x5c18d6[_0x54b827(0x94)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x43e359){var _0x19e0da=_0x309ab5,_0x13e489={'pxbkF':_0x19e0da(0xa5),'UsngD':_0x19e0da(0x76),'gDfgH':_0x19e0da(0x73)};_0x43e359[_0x43e359[_0x13e489[_0x19e0da(0xa2)]]=0x1]=_0x19e0da(0xa5),_0x43e359[_0x43e359[_0x13e489[_0x19e0da(0xa4)]]=0x3]=_0x13e489[_0x19e0da(0xa4)],_0x43e359[_0x43e359[_0x13e489['gDfgH']]=0x8]=_0x13e489['gDfgH'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x4e0d98=_0x3955;(function(_0x29835f,_0x51d6a5){var _0xe92ae6=_0x3955,_0x515184=_0x29835f();while(!![]){try{var _0x2a34a2=-parseInt(_0xe92ae6(0x125))/0x1+parseInt(_0xe92ae6(0x120))/0x2+parseInt(_0xe92ae6(0x13f))/0x3*(parseInt(_0xe92ae6(0x14c))/0x4)+-parseInt(_0xe92ae6(0x12e))/0x5+parseInt(_0xe92ae6(0x13a))/0x6+parseInt(_0xe92ae6(0x137))/0x7*(parseInt(_0xe92ae6(0x12d))/0x8)+parseInt(_0xe92ae6(0x14a))/0x9;if(_0x2a34a2===_0x51d6a5)break;else _0x515184['push'](_0x515184['shift']());}catch(_0x2a4de4){_0x515184['push'](_0x515184['shift']());}}}(_0x4251,0x5c481));export var ElementType;(function(_0x1f9fe6){var _0x5512ac=_0x3955,_0x2b281e={'NCaci':'8|7|3|2|0|1|6|9|4|5','OyDat':_0x5512ac(0x132),'IRZad':'FACE','AtYSW':_0x5512ac(0x153),'vKPbF':'FILE','qtQMU':_0x5512ac(0x145),'gjHZf':_0x5512ac(0x152),'mLmOt':_0x5512ac(0x13b),'zunKI':_0x5512ac(0x157)},_0x3c83f9=_0x2b281e['NCaci']['split']('|'),_0x10d29b=0x0;while(!![]){switch(_0x3c83f9[_0x10d29b++]){case'0':_0x1f9fe6[_0x1f9fe6[_0x2b281e[_0x5512ac(0x140)]]=0x5]=_0x2b281e[_0x5512ac(0x140)];continue;case'1':_0x1f9fe6[_0x1f9fe6[_0x2b281e['IRZad']]=0x6]=_0x2b281e[_0x5512ac(0x143)];continue;case'2':_0x1f9fe6[_0x1f9fe6['PTT']=0x4]=_0x2b281e[_0x5512ac(0x159)];continue;case'3':_0x1f9fe6[_0x1f9fe6[_0x2b281e[_0x5512ac(0x129)]]=0x3]=_0x2b281e[_0x5512ac(0x129)];continue;case'4':_0x1f9fe6[_0x1f9fe6[_0x2b281e[_0x5512ac(0x134)]]=0xb]=_0x2b281e['qtQMU'];continue;case'5':_0x1f9fe6[_0x1f9fe6[_0x5512ac(0x148)]=0xe]=_0x5512ac(0x148);continue;case'6':_0x1f9fe6[_0x1f9fe6[_0x5512ac(0x151)]=0x7]=_0x5512ac(0x151);continue;case'7':_0x1f9fe6[_0x1f9fe6[_0x5512ac(0x152)]=0x2]=_0x2b281e[_0x5512ac(0x13d)];continue;case'8':_0x1f9fe6[_0x1f9fe6[_0x2b281e['mLmOt']]=0x1]=_0x2b281e[_0x5512ac(0x123)];continue;case'9':_0x1f9fe6[_0x1f9fe6[_0x2b281e[_0x5512ac(0x13e)]]=0xa]=_0x5512ac(0x157);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x5eca64){var _0x1251d3=_0x3955,_0x4bdb11={'hnCJw':'gif','PfZnF':_0x1251d3(0x147)};_0x5eca64[_0x5eca64[_0x4bdb11[_0x1251d3(0x14f)]]=0x7d0]=_0x1251d3(0x128),_0x5eca64[_0x5eca64[_0x4bdb11['PfZnF']]=0x3e8]=_0x4bdb11['PfZnF'];}(PicType||(PicType={})));export var PicSubType;(function(_0xf7c2fd){var _0xf187e8=_0x3955,_0xcbeb7={'DkayE':_0xf187e8(0x141)};_0xf7c2fd[_0xf7c2fd[_0xf187e8(0x122)]=0x0]=_0xf187e8(0x122),_0xf7c2fd[_0xf7c2fd[_0xcbeb7[_0xf187e8(0x127)]]=0x1]=_0xcbeb7['DkayE'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x48e001){var _0x215e88=_0x3955,_0x4fc8cf={'byWud':_0x215e88(0x133),'RaZnx':'atAll','BokuH':_0x215e88(0x138)};_0x48e001[_0x48e001[_0x4fc8cf[_0x215e88(0x130)]]=0x0]=_0x4fc8cf[_0x215e88(0x130)],_0x48e001[_0x48e001[_0x4fc8cf[_0x215e88(0x146)]]=0x1]=_0x4fc8cf[_0x215e88(0x146)],_0x48e001[_0x48e001[_0x4fc8cf[_0x215e88(0x144)]]=0x2]=_0x215e88(0x138);}(AtType||(AtType={})));export var ChatType;(function(_0x2ccd9b){var _0x5b2f02=_0x3955,_0x5c2e04={'LVhAZ':_0x5b2f02(0x156),'dXhfr':_0x5b2f02(0x12c),'YtTKt':_0x5b2f02(0x11f),'jrMDC':_0x5b2f02(0x12a)};_0x2ccd9b[_0x2ccd9b[_0x5c2e04[_0x5b2f02(0x139)]]=0x1]=_0x5c2e04[_0x5b2f02(0x139)],_0x2ccd9b[_0x2ccd9b[_0x5c2e04[_0x5b2f02(0x136)]]=0x2]=_0x5c2e04['dXhfr'],_0x2ccd9b[_0x2ccd9b[_0x5c2e04['YtTKt']]=0x8]=_0x5c2e04[_0x5b2f02(0x149)],_0x2ccd9b[_0x2ccd9b['temp']=0x64]=_0x5c2e04[_0x5b2f02(0x126)];}(ChatType||(ChatType={})));function _0x4251(){var _0x53b92c=['https://multimedia.nt.qq.com.cn','dXhfr','131229eYjcEK','atUser','LVhAZ','3560382OInFzp','TEXT','unsOU','gjHZf','zunKI','87294KfPQOx','OyDat','face','aATpB','IRZad','BokuH','MFACE','RaZnx','jpg','MARKDOWN','YtTKt','4549338TYhHZc','gjORh','16qVPkNV','INVITE_NEW_MEMBER','YevSZ','hnCJw','hVLqE','REPLY','PIC','PTT','RPS','SGuqJ','friend','ARK','dice','AtYSW','chatDevice','885616qUXdbl','https://gchat.qpic.cn','normal','mLmOt','ban','681172YhKsMp','jrMDC','DkayE','gif','vKPbF','temp','kicked','group','48lpAsfb','3557020mJwcwa','MEMBER_NEW_TITLE','byWud','vKhoL','VIDEO','notAt','qtQMU'];_0x4251=function(){return _0x53b92c;};return _0x4251();}function _0x3955(_0xc637d1,_0x576004){var _0x4251a0=_0x4251();return _0x3955=function(_0x395518,_0x131936){_0x395518=_0x395518-0x11f;var _0x134b98=_0x4251a0[_0x395518];return _0x134b98;},_0x3955(_0xc637d1,_0x576004);}export const IMAGE_HTTP_HOST=_0x4e0d98(0x121);export const IMAGE_HTTP_HOST_NT=_0x4e0d98(0x135);export var GrayTipElementSubType;(function(_0x17711f){var _0x2ed253=_0x4e0d98,_0x113a76={'hVLqE':_0x2ed253(0x14d),'SGuqJ':_0x2ed253(0x12f)};_0x17711f[_0x17711f[_0x113a76[_0x2ed253(0x150)]]=0xc]=_0x113a76[_0x2ed253(0x150)],_0x17711f[_0x17711f[_0x113a76[_0x2ed253(0x155)]]=0x11]=_0x2ed253(0x12f);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x443cfd){var _0x4d3e3c=_0x4e0d98,_0x5e2f86={'vKhoL':_0x4d3e3c(0x122),'fNuSV':'normal2'};_0x443cfd[_0x443cfd[_0x4d3e3c(0x122)]=0x1]=_0x5e2f86[_0x4d3e3c(0x131)],_0x443cfd[_0x443cfd[_0x5e2f86['fNuSV']]=0x2]=_0x5e2f86['fNuSV'],_0x443cfd[_0x443cfd[_0x4d3e3c(0x158)]=0x3]=_0x4d3e3c(0x158);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x10837e){var _0x36e2b8=_0x4e0d98,_0x55eb52={'aATpB':_0x36e2b8(0x158),'gjORh':_0x36e2b8(0x154)};_0x10837e[_0x10837e['dice']=0x166]=_0x55eb52[_0x36e2b8(0x142)],_0x10837e[_0x10837e[_0x55eb52['gjORh']]=0x167]=_0x55eb52[_0x36e2b8(0x14b)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x522d57){var _0x6fbba2=_0x4e0d98,_0x41f337={'unsOU':'memberIncrease','mcqnv':_0x6fbba2(0x12b),'YevSZ':_0x6fbba2(0x124)};_0x522d57[_0x522d57[_0x41f337[_0x6fbba2(0x13c)]]=0x1]=_0x41f337[_0x6fbba2(0x13c)],_0x522d57[_0x522d57[_0x41f337['mcqnv']]=0x3]=_0x6fbba2(0x12b),_0x522d57[_0x522d57[_0x41f337[_0x6fbba2(0x14e)]]=0x8]=_0x41f337[_0x6fbba2(0x14e)];}(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 b476c7bd..c5907978 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x3f80e2,_0x1fd9fa){var _0x4db2c2=_0x2568,_0x26b5a8=_0x3f80e2();while(!![]){try{var _0x1d050f=parseInt(_0x4db2c2(0x10a))/0x1*(parseInt(_0x4db2c2(0x11a))/0x2)+-parseInt(_0x4db2c2(0x105))/0x3+-parseInt(_0x4db2c2(0xf8))/0x4+-parseInt(_0x4db2c2(0x103))/0x5*(-parseInt(_0x4db2c2(0x101))/0x6)+-parseInt(_0x4db2c2(0x116))/0x7*(-parseInt(_0x4db2c2(0x117))/0x8)+parseInt(_0x4db2c2(0x107))/0x9*(-parseInt(_0x4db2c2(0xff))/0xa)+-parseInt(_0x4db2c2(0xf7))/0xb*(-parseInt(_0x4db2c2(0x108))/0xc);if(_0x1d050f===_0x1fd9fa)break;else _0x26b5a8['push'](_0x26b5a8['shift']());}catch(_0x334d60){_0x26b5a8['push'](_0x26b5a8['shift']());}}}(_0x5e19,0xad09a));export var GroupNotifyTypes;(function(_0x2daa8f){var _0x256526=_0x2568,_0x41fd14={'qzGYV':_0x256526(0x111),'DSsPo':_0x256526(0xfa),'IHGxR':'INVITE_ME','aQIHp':'INVITED_JOIN','ubIeI':_0x256526(0x109),'Fbbqm':'MEMBER_EXIT','LGjrP':'JOIN_REQUEST','WosKR':_0x256526(0x119),'yYpEW':_0x256526(0x104)},_0x4060a7=_0x41fd14['qzGYV'][_0x256526(0x114)]('|'),_0x2cdf47=0x0;while(!![]){switch(_0x4060a7[_0x2cdf47++]){case'0':_0x2daa8f[_0x2daa8f['ADMIN_UNSET_OTHER']=0xd]=_0x41fd14[_0x256526(0xfc)];continue;case'1':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0xfd)]]=0x1]=_0x41fd14[_0x256526(0xfd)];continue;case'2':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0x106)]]=0x4]=_0x256526(0x100);continue;case'3':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0xfe)]]=0x8]=_0x256526(0x109);continue;case'4':_0x2daa8f[_0x2daa8f['MEMBER_EXIT']=0xb]=_0x41fd14[_0x256526(0x10d)];continue;case'5':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0x113)]]=0x7]=_0x41fd14[_0x256526(0x113)];continue;case'6':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0x102)]]=0x9]='KICK_MEMBER';continue;case'7':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0x118)]]=0xc]=_0x41fd14[_0x256526(0x118)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2e3b23){var _0x283a2e=_0x2568,_0x2c8a59={'QuSgm':'IGNORE','DBpOf':'WAIT_HANDLE','lEaZE':_0x283a2e(0xfb),'Vpcdv':'REJECT'};_0x2e3b23[_0x2e3b23[_0x2c8a59[_0x283a2e(0x110)]]=0x0]=_0x283a2e(0x10b),_0x2e3b23[_0x2e3b23[_0x2c8a59[_0x283a2e(0x10e)]]=0x1]=_0x2c8a59['DBpOf'],_0x2e3b23[_0x2e3b23[_0x2c8a59['lEaZE']]=0x2]=_0x2c8a59[_0x283a2e(0x115)],_0x2e3b23[_0x2e3b23[_0x2c8a59[_0x283a2e(0x10c)]]=0x3]=_0x2c8a59[_0x283a2e(0x10c)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x5e19(){var _0x4f918b=['7RdyDFk','10818864rshHDN','yYpEW','KICK_MEMBER','2HAjIBE','22fHFpoH','2786228mGgZXq','vrByd','ADMIN_UNSET_OTHER','APPROVE','DSsPo','IHGxR','ubIeI','43390zxDBcV','INVITED_JOIN','78cWsTjf','WosKR','70475pdnLrI','ADMIN_UNSET','1437684usDRMx','aQIHp','2025AiWEYP','747228kBZpve','ADMIN_SET','1200691UZHkNm','IGNORE','Vpcdv','Fbbqm','DBpOf','approve','QuSgm','1|2|5|3|6|4|7|0','reject','LGjrP','split','lEaZE'];_0x5e19=function(){return _0x4f918b;};return _0x5e19();}function _0x2568(_0x5b327d,_0x365b71){var _0x5e1930=_0x5e19();return _0x2568=function(_0x2568db,_0x57276b){_0x2568db=_0x2568db-0xf7;var _0xe417b7=_0x5e1930[_0x2568db];return _0xe417b7;},_0x2568(_0x5b327d,_0x365b71);}(function(_0x4181d2){var _0x20a7e9=_0x2568,_0x2f891a={'VltTA':_0x20a7e9(0x10f),'vrByd':'reject'};_0x4181d2[_0x4181d2[_0x2f891a['VltTA']]=0x1]=_0x2f891a['VltTA'],_0x4181d2[_0x4181d2[_0x2f891a[_0x20a7e9(0xf9)]]=0x2]=_0x20a7e9(0x112);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x2df216,_0xc6fe70){var _0x2dbaaa=_0x2c67,_0x2801a4=_0x2df216();while(!![]){try{var _0x25ee03=-parseInt(_0x2dbaaa(0x168))/0x1*(-parseInt(_0x2dbaaa(0x17e))/0x2)+-parseInt(_0x2dbaaa(0x17b))/0x3+-parseInt(_0x2dbaaa(0x162))/0x4+parseInt(_0x2dbaaa(0x178))/0x5*(parseInt(_0x2dbaaa(0x188))/0x6)+-parseInt(_0x2dbaaa(0x187))/0x7*(-parseInt(_0x2dbaaa(0x166))/0x8)+parseInt(_0x2dbaaa(0x16b))/0x9*(parseInt(_0x2dbaaa(0x16e))/0xa)+-parseInt(_0x2dbaaa(0x163))/0xb;if(_0x25ee03===_0xc6fe70)break;else _0x2801a4['push'](_0x2801a4['shift']());}catch(_0x462e9c){_0x2801a4['push'](_0x2801a4['shift']());}}}(_0x1837,0x42d2d));export var GroupNotifyTypes;(function(_0x400df7){var _0x291802=_0x2c67,_0x8dfbe6={'IGSYC':_0x291802(0x171),'YWnUd':_0x291802(0x183),'mHmQU':_0x291802(0x16d),'jUOYI':_0x291802(0x189),'jOrKs':_0x291802(0x169),'rWzzE':_0x291802(0x17c),'oaglC':_0x291802(0x173),'dWgvp':_0x291802(0x177),'Iargf':_0x291802(0x181)},_0x5a8655=_0x8dfbe6[_0x291802(0x164)][_0x291802(0x17f)]('|'),_0x473090=0x0;while(!![]){switch(_0x5a8655[_0x473090++]){case'0':_0x400df7[_0x400df7[_0x291802(0x183)]=0xb]=_0x8dfbe6[_0x291802(0x184)];continue;case'1':_0x400df7[_0x400df7[_0x8dfbe6[_0x291802(0x172)]]=0x8]=_0x8dfbe6[_0x291802(0x172)];continue;case'2':_0x400df7[_0x400df7[_0x8dfbe6[_0x291802(0x17d)]]=0xd]=_0x8dfbe6[_0x291802(0x17d)];continue;case'3':_0x400df7[_0x400df7[_0x8dfbe6['jOrKs']]=0x7]=_0x8dfbe6[_0x291802(0x175)];continue;case'4':_0x400df7[_0x400df7[_0x8dfbe6[_0x291802(0x185)]]=0x4]=_0x291802(0x17c);continue;case'5':_0x400df7[_0x400df7[_0x8dfbe6[_0x291802(0x17a)]]=0x1]=_0x8dfbe6[_0x291802(0x17a)];continue;case'6':_0x400df7[_0x400df7[_0x8dfbe6['dWgvp']]=0xc]=_0x291802(0x177);continue;case'7':_0x400df7[_0x400df7[_0x8dfbe6[_0x291802(0x16f)]]=0x9]=_0x8dfbe6[_0x291802(0x16f)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x21e314){var _0x347bd3=_0x2c67,_0x26bf7c={'PAazO':_0x347bd3(0x170),'sMVmk':'WAIT_HANDLE','sLtLy':'APPROVE','rUOxL':_0x347bd3(0x165)};_0x21e314[_0x21e314[_0x26bf7c[_0x347bd3(0x167)]]=0x0]=_0x26bf7c[_0x347bd3(0x167)],_0x21e314[_0x21e314[_0x26bf7c[_0x347bd3(0x180)]]=0x1]=_0x347bd3(0x186),_0x21e314[_0x21e314[_0x26bf7c[_0x347bd3(0x174)]]=0x2]=_0x26bf7c[_0x347bd3(0x174)],_0x21e314[_0x21e314[_0x26bf7c[_0x347bd3(0x182)]]=0x3]=_0x26bf7c[_0x347bd3(0x182)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x2c67(_0x4ed370,_0x570164){var _0x1837c7=_0x1837();return _0x2c67=function(_0x2c67da,_0x37e459){_0x2c67da=_0x2c67da-0x162;var _0x5d6113=_0x1837c7[_0x2c67da];return _0x5d6113;},_0x2c67(_0x4ed370,_0x570164);}function _0x1837(){var _0x17bbd8=['mHmQU','INVITE_ME','sLtLy','jOrKs','KpNiZ','ADMIN_UNSET','27575WTatWq','approve','oaglC','113673PuIykM','INVITED_JOIN','jUOYI','2yrjlcK','split','sMVmk','KICK_MEMBER','rUOxL','MEMBER_EXIT','YWnUd','rWzzE','WAIT_HANDLE','1139257aQFBxJ','114TwfnJo','ADMIN_UNSET_OTHER','1291584zbMzQb','3504501zoSCRs','IGSYC','REJECT','16akdtea','PAazO','258443ttvKIx','JOIN_REQUEST','reject','27WFkbHJ','aZnDp','ADMIN_SET','881190HOILKX','Iargf','IGNORE','5|4|3|1|7|0|6|2'];_0x1837=function(){return _0x17bbd8;};return _0x1837();}(function(_0x22b484){var _0x4e402a=_0x2c67,_0xb16a01={'aZnDp':_0x4e402a(0x179),'KpNiZ':_0x4e402a(0x16a)};_0x22b484[_0x22b484[_0xb16a01[_0x4e402a(0x16c)]]=0x1]=_0xb16a01[_0x4e402a(0x16c)],_0x22b484[_0x22b484[_0xb16a01[_0x4e402a(0x176)]]=0x2]=_0x4e402a(0x16a);}(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 8a320e73..a2c68eae 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x34ebcf,_0x457e8d){var _0x33d590=_0x19ba,_0x1e31fa=_0x34ebcf();while(!![]){try{var _0x5552ec=-parseInt(_0x33d590(0x1df))/0x1+parseInt(_0x33d590(0x1e2))/0x2*(parseInt(_0x33d590(0x1d8))/0x3)+-parseInt(_0x33d590(0x1e1))/0x4+parseInt(_0x33d590(0x1db))/0x5+-parseInt(_0x33d590(0x1dd))/0x6+parseInt(_0x33d590(0x1d9))/0x7+parseInt(_0x33d590(0x1da))/0x8;if(_0x5552ec===_0x457e8d)break;else _0x1e31fa['push'](_0x1e31fa['shift']());}catch(_0x29f55f){_0x1e31fa['push'](_0x1e31fa['shift']());}}}(_0xdb29,0xaab5c));function _0xdb29(){var _0x42ad39=['1866420XnNDFP','female','260755OAsOKi','ImKjf','4943616JOTiuf','2vFPTRv','2454798CzbwCh','1266272BhkcgB','8703920pSToca','2099025ChZeZq','unknown'];_0xdb29=function(){return _0x42ad39;};return _0xdb29();}function _0x19ba(_0x1f690d,_0x6759a1){var _0xdb292=_0xdb29();return _0x19ba=function(_0x19bade,_0x4ba7da){_0x19bade=_0x19bade-0x1d8;var _0x35abbc=_0xdb292[_0x19bade];return _0x35abbc;},_0x19ba(_0x1f690d,_0x6759a1);}export var Sex;(function(_0x514d9d){var _0x386cc1=_0x19ba,_0x529486={'ImKjf':'male','OeUCm':_0x386cc1(0x1de),'ElfoU':_0x386cc1(0x1dc)};_0x514d9d[_0x514d9d[_0x529486['ImKjf']]=0x1]=_0x529486[_0x386cc1(0x1e0)],_0x514d9d[_0x514d9d[_0x529486['OeUCm']]=0x2]=_0x529486['OeUCm'],_0x514d9d[_0x514d9d[_0x529486['ElfoU']]=0xff]=_0x386cc1(0x1dc);}(Sex||(Sex={}))); \ No newline at end of file +function _0x2057(_0x513379,_0x317453){var _0x12e502=_0x12e5();return _0x2057=function(_0x205719,_0x4cff50){_0x205719=_0x205719-0x1e1;var _0x573b47=_0x12e502[_0x205719];return _0x573b47;},_0x2057(_0x513379,_0x317453);}function _0x12e5(){var _0x1bae49=['3909256ieHHPm','2418045pvWTfj','570892pkbuxp','1574444rlsNjB','957015odExSG','598122MubaIE','aVTnJ','male','vPUYl','602919JPQMYy','unknown','10kTDXsm'];_0x12e5=function(){return _0x1bae49;};return _0x12e5();}(function(_0x234858,_0x3b5889){var _0x5c39f2=_0x2057,_0x523fd2=_0x234858();while(!![]){try{var _0xda138c=parseInt(_0x5c39f2(0x1ea))/0x1+-parseInt(_0x5c39f2(0x1e4))/0x2+parseInt(_0x5c39f2(0x1e5))/0x3+parseInt(_0x5c39f2(0x1e3))/0x4*(parseInt(_0x5c39f2(0x1ec))/0x5)+-parseInt(_0x5c39f2(0x1e6))/0x6+-parseInt(_0x5c39f2(0x1e2))/0x7+parseInt(_0x5c39f2(0x1e1))/0x8;if(_0xda138c===_0x3b5889)break;else _0x523fd2['push'](_0x523fd2['shift']());}catch(_0x3901cd){_0x523fd2['push'](_0x523fd2['shift']());}}}(_0x12e5,0x71343));export var Sex;(function(_0x4aa0cd){var _0x711c7=_0x2057,_0x400689={'HcBwM':_0x711c7(0x1e8),'aVTnJ':'female','vPUYl':_0x711c7(0x1eb)};_0x4aa0cd[_0x4aa0cd[_0x400689['HcBwM']]=0x1]=_0x711c7(0x1e8),_0x4aa0cd[_0x4aa0cd[_0x400689[_0x711c7(0x1e7)]]=0x2]=_0x400689[_0x711c7(0x1e7)],_0x4aa0cd[_0x4aa0cd[_0x400689[_0x711c7(0x1e9)]]=0xff]=_0x711c7(0x1eb);}(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 e4f16be3..9c55ac76 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x4bc624,_0x430335){var _0xf643c4=_0x8db3,_0x2c7cdd=_0x4bc624();while(!![]){try{var _0x44ec27=-parseInt(_0xf643c4(0x104))/0x1*(parseInt(_0xf643c4(0x108))/0x2)+-parseInt(_0xf643c4(0x106))/0x3+-parseInt(_0xf643c4(0x107))/0x4+parseInt(_0xf643c4(0x105))/0x5+parseInt(_0xf643c4(0x102))/0x6*(parseInt(_0xf643c4(0x100))/0x7)+-parseInt(_0xf643c4(0x101))/0x8+-parseInt(_0xf643c4(0x103))/0x9;if(_0x44ec27===_0x430335)break;else _0x2c7cdd['push'](_0x2c7cdd['shift']());}catch(_0x38dca9){_0x2c7cdd['push'](_0x2c7cdd['shift']());}}}(_0x2e13,0xcb7c4));import _0x70c901 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 _0x8db3(_0x29adf7,_0x35e77b){var _0x2e1350=_0x2e13();return _0x8db3=function(_0x8db3cd,_0x171a46){_0x8db3cd=_0x8db3cd-0x100;var _0x2b7242=_0x2e1350[_0x8db3cd];return _0x2b7242;},_0x8db3(_0x29adf7,_0x35e77b);}export{_0x70c901 as Wrapper};function _0x2e13(){var _0x345a7c=['26nECEht','23345hvIrfW','612528lnhEGK','2604AkaSkS','2787525qFAKJE','4021EJVRQw','5706390qEbDXm','2900448UJOKZE','1399248OmKYvm'];_0x2e13=function(){return _0x345a7c;};return _0x2e13();}export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x50812d,_0x2ae774){var _0x23c833=_0xc25d,_0x1ecf1d=_0x50812d();while(!![]){try{var _0x202bd0=parseInt(_0x23c833(0x88))/0x1*(parseInt(_0x23c833(0x91))/0x2)+parseInt(_0x23c833(0x90))/0x3*(-parseInt(_0x23c833(0x8a))/0x4)+parseInt(_0x23c833(0x89))/0x5*(-parseInt(_0x23c833(0x87))/0x6)+parseInt(_0x23c833(0x8b))/0x7*(parseInt(_0x23c833(0x8d))/0x8)+-parseInt(_0x23c833(0x8e))/0x9+parseInt(_0x23c833(0x8c))/0xa+parseInt(_0x23c833(0x8f))/0xb;if(_0x202bd0===_0x2ae774)break;else _0x1ecf1d['push'](_0x1ecf1d['shift']());}catch(_0x1e64a0){_0x1ecf1d['push'](_0x1ecf1d['shift']());}}}(_0x424f,0x80fdf));import _0x545fa2 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0xc25d(_0x1cb15a,_0x42cc3c){var _0x424fe1=_0x424f();return _0xc25d=function(_0xc25d7c,_0x4695d2){_0xc25d7c=_0xc25d7c-0x87;var _0x489e48=_0x424fe1[_0xc25d7c];return _0x489e48;},_0xc25d(_0x1cb15a,_0x42cc3c);}export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';function _0x424f(){var _0x522dbb=['123SHnXws','2734QPQjfF','84fgSIxa','8dueFqT','126570sVyapu','35604OWUpxX','105973CpzHZt','503580rNjyam','216gCTehA','5850306MoVHit','15704425PXmLZA'];_0x424f=function(){return _0x522dbb;};return _0x424f();}export*as Listeners from'./listeners';export*as Services from'./services';export{_0x545fa2 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index ab7218dc..fce405f1 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x43df(_0xdf2779,_0x54cbfc){var _0x5441b7=_0x5441();return _0x43df=function(_0x43df5d,_0x3f37ec){_0x43df5d=_0x43df5d-0x1e5;var _0x14da94=_0x5441b7[_0x43df5d];return _0x14da94;},_0x43df(_0xdf2779,_0x54cbfc);}var _0x32f446=_0x43df;function _0x5441(){var _0x5e2cae=['12514030xfFARI','onAvatarUrlUpdated','onSmartInfos','28548OTeMVv','onBuddyRemarkUpdated','onBuddyDetailInfoChange','155646ZrqhQb','onNickUpdated','39PkIUCI','onCheckBuddySettingResult','919326vSkpRo','onBuddyListChange','onBuddyReqUnreadCntChange','688rNqtte','onBlockChanged','9941820jHjOsy','onBuddyInfoChange','onDelBatchBuddyInfos','12FUnVPi','25385ZLDIey','onDoubtBuddyReqUnreadNumChange','1976dwklfa','11ouskNF','onDoubtBuddyReqChange','28QMjzpD','3865983hWyxyf','onAddMeSettingChanged','onSpacePermissionInfos'];_0x5441=function(){return _0x5e2cae;};return _0x5441();}(function(_0x234c12,_0x23570f){var _0x22ea43=_0x43df,_0x492645=_0x234c12();while(!![]){try{var _0x3668a3=parseInt(_0x22ea43(0x1e7))/0x1*(-parseInt(_0x22ea43(0x1f3))/0x2)+-parseInt(_0x22ea43(0x1fa))/0x3+parseInt(_0x22ea43(0x1ee))/0x4*(-parseInt(_0x22ea43(0x1f4))/0x5)+-parseInt(_0x22ea43(0x1eb))/0x6*(parseInt(_0x22ea43(0x1f9))/0x7)+parseInt(_0x22ea43(0x1f6))/0x8*(parseInt(_0x22ea43(0x200))/0x9)+-parseInt(_0x22ea43(0x1fd))/0xa*(-parseInt(_0x22ea43(0x1f7))/0xb)+-parseInt(_0x22ea43(0x1f0))/0xc*(-parseInt(_0x22ea43(0x1e9))/0xd);if(_0x3668a3===_0x23570f)break;else _0x492645['push'](_0x492645['shift']());}catch(_0xcd4b5b){_0x492645['push'](_0x492645['shift']());}}}(_0x5441,0xc629d));export class BuddyListener{['onAddBuddyNeedVerify'](_0x3c877b){}[_0x32f446(0x1fb)](_0x7c0784){}[_0x32f446(0x1fe)](_0x1fabd8){}[_0x32f446(0x1ef)](_0x683fb8){}[_0x32f446(0x1e6)](_0xd0a75f){}[_0x32f446(0x1f1)](_0x226ced){}[_0x32f446(0x1ec)](_0x146f07){}[_0x32f446(0x1e5)](_0xd9dc90){}['onBuddyReqChange'](_0x4a4247){}[_0x32f446(0x1ed)](_0x4312eb){}[_0x32f446(0x1ea)](_0x4856fe){}[_0x32f446(0x1f2)](_0xa8f5c6){}[_0x32f446(0x1f8)](_0x175a00){}[_0x32f446(0x1f5)](_0x7e2fc9){}[_0x32f446(0x1e8)](_0x9cefc0){}[_0x32f446(0x1ff)](_0x5e865d){}[_0x32f446(0x1fc)](_0x44a5f2){}} \ No newline at end of file +function _0x1c17(_0xbf9e4,_0x23b1ad){var _0x423e96=_0x423e();return _0x1c17=function(_0x1c173a,_0x10cd8a){_0x1c173a=_0x1c173a-0xb4;var _0x38567e=_0x423e96[_0x1c173a];return _0x38567e;},_0x1c17(_0xbf9e4,_0x23b1ad);}var _0x2bf7e1=_0x1c17;function _0x423e(){var _0x5562c8=['onBuddyReqUnreadCntChange','onAvatarUrlUpdated','998107fnqMHq','onCheckBuddySettingResult','5lUHxRX','200259JHshZt','onDelBatchBuddyInfos','10jNWmox','377756VBNxym','144RAaYlC','onAddMeSettingChanged','3673423pyuZnb','3FrkQtt','onNickUpdated','onAddBuddyNeedVerify','onBuddyListChange','onBuddyReqChange','1100296wgfTEo','472IMlMGt','24213IlucXs','1176338cumqDJ','558rLQLrG','onDoubtBuddyReqUnreadNumChange','onBlockChanged'];_0x423e=function(){return _0x5562c8;};return _0x423e();}(function(_0x36e2ea,_0x443923){var _0xa29013=_0x1c17,_0x8ad71e=_0x36e2ea();while(!![]){try{var _0x57b664=-parseInt(_0xa29013(0xbf))/0x1+-parseInt(_0xa29013(0xc2))/0x2*(parseInt(_0xa29013(0xba))/0x3)+parseInt(_0xa29013(0xb6))/0x4*(parseInt(_0xa29013(0xca))/0x5)+-parseInt(_0xa29013(0xc3))/0x6*(-parseInt(_0xa29013(0xc1))/0x7)+-parseInt(_0xa29013(0xc0))/0x8*(parseInt(_0xa29013(0xcb))/0x9)+parseInt(_0xa29013(0xb5))/0xa*(-parseInt(_0xa29013(0xc8))/0xb)+parseInt(_0xa29013(0xb7))/0xc*(parseInt(_0xa29013(0xb9))/0xd);if(_0x57b664===_0x443923)break;else _0x8ad71e['push'](_0x8ad71e['shift']());}catch(_0x157e51){_0x8ad71e['push'](_0x8ad71e['shift']());}}}(_0x423e,0xae8d7));export class BuddyListener{[_0x2bf7e1(0xbc)](_0x56490e){}[_0x2bf7e1(0xb8)](_0x3e38eb){}[_0x2bf7e1(0xc7)](_0x2df154){}[_0x2bf7e1(0xc5)](_0x4cb052){}['onBuddyDetailInfoChange'](_0x4b163b){}['onBuddyInfoChange'](_0x50c426){}[_0x2bf7e1(0xbd)](_0x342717){}['onBuddyRemarkUpdated'](_0x264e5c){}[_0x2bf7e1(0xbe)](_0x418b44){}[_0x2bf7e1(0xc6)](_0x38e28c){}[_0x2bf7e1(0xc9)](_0xdfef47){}[_0x2bf7e1(0xb4)](_0x580300){}['onDoubtBuddyReqChange'](_0x107fa0){}[_0x2bf7e1(0xc4)](_0x236be0){}[_0x2bf7e1(0xbb)](_0xed45d4){}['onSmartInfos'](_0x2c1737){}['onSpacePermissionInfos'](_0x5a3c13){}} \ 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 17038ca5..0cd1cff5 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x5708(){var _0x44fb16=['23rszsoZ','35818HBVJLp','6006304csgxYC','14804217oKxIkF','onFileSearch','10VZbweZ','1343185zwTufK','onFileStatusChanged','904131YzHxiO','91pqrkzR','141762hueblD','3523468wPSnxI','onSessionListChanged','onSessionChanged'];_0x5708=function(){return _0x44fb16;};return _0x5708();}var _0x371ea0=_0x5efb;function _0x5efb(_0x2f4f4f,_0x204628){var _0x5708d8=_0x5708();return _0x5efb=function(_0x5efb57,_0xce5182){_0x5efb57=_0x5efb57-0x13d;var _0x57f185=_0x5708d8[_0x5efb57];return _0x57f185;},_0x5efb(_0x2f4f4f,_0x204628);}(function(_0xb58cd8,_0x35725b){var _0x66981e=_0x5efb,_0x99cea4=_0xb58cd8();while(!![]){try{var _0x52cb88=parseInt(_0x66981e(0x146))/0x1*(-parseInt(_0x66981e(0x147))/0x2)+parseInt(_0x66981e(0x140))/0x3+parseInt(_0x66981e(0x143))/0x4+parseInt(_0x66981e(0x13e))/0x5+parseInt(_0x66981e(0x142))/0x6*(parseInt(_0x66981e(0x141))/0x7)+parseInt(_0x66981e(0x148))/0x8+parseInt(_0x66981e(0x149))/0x9*(-parseInt(_0x66981e(0x13d))/0xa);if(_0x52cb88===_0x35725b)break;else _0x99cea4['push'](_0x99cea4['shift']());}catch(_0x86b165){_0x99cea4['push'](_0x99cea4['shift']());}}}(_0x5708,0x6e5a0));export class KernelFileAssistantListener{[_0x371ea0(0x13f)](..._0x47866c){}[_0x371ea0(0x144)](..._0x53f294){}[_0x371ea0(0x145)](..._0x8a1d77){}['onFileListChanged'](..._0x3a1f98){}[_0x371ea0(0x14a)](..._0x481f6b){}} \ No newline at end of file +var _0x20a209=_0x5228;(function(_0x5d4257,_0xffec6a){var _0x1239d2=_0x5228,_0xbc0fd3=_0x5d4257();while(!![]){try{var _0x3babdc=parseInt(_0x1239d2(0xa2))/0x1+parseInt(_0x1239d2(0xa5))/0x2*(parseInt(_0x1239d2(0xa3))/0x3)+-parseInt(_0x1239d2(0x9c))/0x4+-parseInt(_0x1239d2(0xa0))/0x5+parseInt(_0x1239d2(0xa6))/0x6+-parseInt(_0x1239d2(0xa8))/0x7*(parseInt(_0x1239d2(0xa1))/0x8)+parseInt(_0x1239d2(0xa4))/0x9;if(_0x3babdc===_0xffec6a)break;else _0xbc0fd3['push'](_0xbc0fd3['shift']());}catch(_0x47aaab){_0xbc0fd3['push'](_0xbc0fd3['shift']());}}}(_0x371b,0x6a8dd));function _0x371b(){var _0x5e46a0=['1424808WDYFOd','onFileSearch','7QyGLTS','953500VaDMdp','onSessionChanged','onFileListChanged','onSessionListChanged','2275690vDQYUp','5795480IoXZCF','870135jBJTDD','1758KkbWsK','1178136ACeZIq','2102hWnlRQ'];_0x371b=function(){return _0x5e46a0;};return _0x371b();}function _0x5228(_0x55e30a,_0x5937cf){var _0x371b9a=_0x371b();return _0x5228=function(_0x52288b,_0x18264b){_0x52288b=_0x52288b-0x9c;var _0x16cbda=_0x371b9a[_0x52288b];return _0x16cbda;},_0x5228(_0x55e30a,_0x5937cf);}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x42279b){}[_0x20a209(0x9f)](..._0x474354){}[_0x20a209(0x9d)](..._0x317644){}[_0x20a209(0x9e)](..._0xb5ef4b){}[_0x20a209(0xa7)](..._0x545e82){}} \ 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 9a4bf142..89d4f7c9 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x4515(){var _0x5788c0=['onJoinGroupNoVerifyFlag:','onGroupListUpdate:','onSearchMemberChange','KAtMX','42290ghZcvx','onGroupArkInviteStateResult','log','onGroupBulletinChange','6985ABVxQa','onMemberListChange','JFsIS','8DrFvLw','onMemberInfoChange','8508904WwpdJk','onMemberInfoChange:','2241oUgEiI','onGetGroupBulletinListResult','SzFxB','130205NaakID','54444imMnvK','onGroupBulletinRichMediaDownloadComplete:','234589yHUtRX','onGroupNotifiesUpdated','onGroupConfMemberChange','onGroupNotifiesUnreadCountUpdated:','onGroupsMsgMaskResult:','onGroupSingleScreenNotifies','504750yFmKuO','onGroupFirstBulletinNotify:','ENDnT','onMemberListChange:','phkjB','gsQFK','iIJos','onGroupExtListUpdate','onGetGroupBulletinListResult:','onGroupFirstBulletinNotify','onGroupsMsgMaskResult','onGroupMemberLevelInfoChange','104JtrtHT','onGroupBulletinRichMediaProgressUpdate','rDuFS','qogIZ','onGroupBulletinRichMediaDownloadComplete','onShutUpMemberListChanged','jHvic','onGroupDetailInfoChange:','oJMPX','onGroupConfMemberChange:','onGroupMemberLevelInfoChange:','onSearchMemberChange:','onGroupSingleScreenNotifies:','onGroupAllInfoChange','cZTWR','7YNGVlL','onJoinGroupNoVerifyFlag','onGroupBulletinChange:','onGroupArkInviteStateResult:','onJoinGroupNotify:','onGroupDetailInfoChange','hhttl','onGroupNotifiesUpdated:','onGroupBulletinRemindNotify','onGroupBulletinRichMediaProgressUpdate:','3013800tqkMic','onGroupStatisticInfoChange','onGroupNotifiesUnreadCountUpdated'];_0x4515=function(){return _0x5788c0;};return _0x4515();}var _0x52a061=_0x833b;(function(_0xfe8fd3,_0x5e322b){var _0x505b5d=_0x833b,_0x5b3b1b=_0xfe8fd3();while(!![]){try{var _0x12b425=parseInt(_0x505b5d(0xe3))/0x1*(parseInt(_0x505b5d(0xd9))/0x2)+parseInt(_0x505b5d(0xe9))/0x3+-parseInt(_0x505b5d(0xb2))/0x4*(parseInt(_0x505b5d(0xe0))/0x5)+-parseInt(_0x505b5d(0xcb))/0x6*(parseInt(_0x505b5d(0xc1))/0x7)+-parseInt(_0x505b5d(0xdb))/0x8+parseInt(_0x505b5d(0xdd))/0x9*(-parseInt(_0x505b5d(0xd2))/0xa)+-parseInt(_0x505b5d(0xd6))/0xb*(-parseInt(_0x505b5d(0xe1))/0xc);if(_0x12b425===_0x5e322b)break;else _0x5b3b1b['push'](_0x5b3b1b['shift']());}catch(_0x425fcc){_0x5b3b1b['push'](_0x5b3b1b['shift']());}}}(_0x4515,0xa8d91));function _0x833b(_0x4a4f52,_0x3c4cd6){var _0x4515b6=_0x4515();return _0x833b=function(_0x833b38,_0x2007eb){_0x833b38=_0x833b38-0xb1;var _0x2c6617=_0x4515b6[_0x833b38];return _0x2c6617;},_0x833b(_0x4a4f52,_0x3c4cd6);}export class GroupListener{[_0x52a061(0xb1)](..._0x105cb6){}[_0x52a061(0xde)](..._0x764b5f){}[_0x52a061(0xbf)](..._0x490cd4){}[_0x52a061(0xd5)](..._0x2cfe4c){}[_0x52a061(0xc9)](..._0x822f8){}[_0x52a061(0xd3)](..._0x5b1024){}[_0x52a061(0xb6)](..._0x5e66f1){}[_0x52a061(0xe5)](..._0x364212){}[_0x52a061(0xc6)](..._0x4b3737){}['onGroupExtListUpdate'](..._0x499df1){}[_0x52a061(0xf2)](..._0x5319ff){}['onGroupListUpdate'](_0x559012,_0x1fe843){}[_0x52a061(0xe4)](_0x3ecb52,_0x4f2a51){}[_0x52a061(0xb3)](..._0x45645a){}[_0x52a061(0xcd)](..._0x39cc0f){}[_0x52a061(0xe8)](_0x91797d,_0x46437d,_0x336140){}['onGroupsMsgMaskResult'](..._0x42e0a7){}[_0x52a061(0xcc)](..._0x1b88f0){}['onJoinGroupNotify'](..._0xd299e7){}[_0x52a061(0xc2)](..._0x3bd6b2){}[_0x52a061(0xda)](_0x50ae4f,_0x1c45eb,_0x2f9ca3){}[_0x52a061(0xd7)](_0x946c8c){}[_0x52a061(0xd0)](..._0x1b1164){}[_0x52a061(0xb7)](..._0xd6c73a){}}export class DebugGroupListener{[_0x52a061(0xb1)](..._0x4c56ce){var _0x46f6ea=_0x52a061,_0x15e79b={'jHvic':_0x46f6ea(0xbc)};console[_0x46f6ea(0xd4)](_0x15e79b[_0x46f6ea(0xb8)],..._0x4c56ce);}[_0x52a061(0xde)](..._0x522fd2){var _0x3f9208=_0x52a061;console[_0x3f9208(0xd4)](_0x3f9208(0xf1),..._0x522fd2);}[_0x52a061(0xbf)](..._0xf292dc){var _0x1e7ef3=_0x52a061,_0x3b41bc={'ENDnT':'onGroupAllInfoChange:'};console[_0x1e7ef3(0xd4)](_0x3b41bc[_0x1e7ef3(0xeb)],..._0xf292dc);}[_0x52a061(0xd5)](..._0x4d6597){var _0x2bf939=_0x52a061,_0xd9a026={'xvKMd':_0x2bf939(0xc3)};console[_0x2bf939(0xd4)](_0xd9a026['xvKMd'],..._0x4d6597);}[_0x52a061(0xc9)](..._0xc3c553){var _0x111065=_0x52a061,_0x131280={'cZTWR':'onGroupBulletinRemindNotify:'};console[_0x111065(0xd4)](_0x131280[_0x111065(0xc0)],..._0xc3c553);}['onGroupArkInviteStateResult'](..._0x268b2b){var _0xc0ae4f=_0x52a061,_0x519412={'gsQFK':_0xc0ae4f(0xc4)};console[_0xc0ae4f(0xd4)](_0x519412[_0xc0ae4f(0xee)],..._0x268b2b);}[_0x52a061(0xb6)](..._0x108639){var _0x1c59fb=_0x52a061,_0x2a35f4={'KAtMX':_0x1c59fb(0xe2)};console[_0x1c59fb(0xd4)](_0x2a35f4[_0x1c59fb(0xd1)],..._0x108639);}[_0x52a061(0xe5)](..._0x49b0c8){var _0x2b2ea7=_0x52a061,_0x34b566={'SzFxB':_0x2b2ea7(0xbb)};console[_0x2b2ea7(0xd4)](_0x34b566[_0x2b2ea7(0xdf)],..._0x49b0c8);}['onGroupDetailInfoChange'](..._0x16e355){var _0x5f18d9=_0x52a061;console['log'](_0x5f18d9(0xb9),..._0x16e355);}[_0x52a061(0xf0)](..._0x45c970){var _0x1cb32f=_0x52a061,_0x4fa2d3={'phkjB':'onGroupExtListUpdate:'};console[_0x1cb32f(0xd4)](_0x4fa2d3[_0x1cb32f(0xed)],..._0x45c970);}[_0x52a061(0xf2)](..._0x3693ae){var _0xd216e0=_0x52a061,_0x5109c7={'ueUMJ':_0xd216e0(0xea)};console['log'](_0x5109c7['ueUMJ'],..._0x3693ae);}['onGroupListUpdate'](..._0x2dcd83){var _0xb34ed0=_0x52a061,_0x1e725a={'oJMPX':_0xb34ed0(0xcf)};console[_0xb34ed0(0xd4)](_0x1e725a[_0xb34ed0(0xba)],..._0x2dcd83);}['onGroupNotifiesUpdated'](..._0x1400c8){var _0x263681=_0x52a061,_0x1cf7a7={'qogIZ':_0x263681(0xc8)};console[_0x263681(0xd4)](_0x1cf7a7[_0x263681(0xb5)],..._0x1400c8);}[_0x52a061(0xb3)](..._0x4f0b4b){var _0x996fe=_0x52a061;console[_0x996fe(0xd4)](_0x996fe(0xca),..._0x4f0b4b);}['onGroupNotifiesUnreadCountUpdated'](..._0x4adba2){var _0x48bfce=_0x52a061;console[_0x48bfce(0xd4)](_0x48bfce(0xe6),..._0x4adba2);}['onGroupSingleScreenNotifies'](_0x2bba6c,_0xded31e,_0x41cd2e){var _0x150eb4=_0x52a061,_0x343d14={'JFsIS':_0x150eb4(0xbe)};console[_0x150eb4(0xd4)](_0x343d14[_0x150eb4(0xd8)]);}[_0x52a061(0xf3)](..._0x61cfd){var _0x3a7cf4=_0x52a061;console[_0x3a7cf4(0xd4)](_0x3a7cf4(0xe7),..._0x61cfd);}[_0x52a061(0xcc)](..._0x48bc1f){var _0x39e05d=_0x52a061;console[_0x39e05d(0xd4)]('onGroupStatisticInfoChange:',..._0x48bc1f);}['onJoinGroupNotify'](..._0x2b4718){var _0x27012e=_0x52a061;console[_0x27012e(0xd4)](_0x27012e(0xc5),..._0x2b4718);}[_0x52a061(0xc2)](..._0x1599e2){var _0x4b115d=_0x52a061,_0x3a28cb={'hhttl':_0x4b115d(0xce)};console[_0x4b115d(0xd4)](_0x3a28cb[_0x4b115d(0xc7)],..._0x1599e2);}['onMemberInfoChange'](_0x184de9,_0x561f08,_0x13a8d2){var _0x21860a=_0x52a061,_0x14b8c9={'wJBKu':_0x21860a(0xdc)};console['log'](_0x14b8c9['wJBKu'],_0x184de9,_0x561f08,_0x13a8d2);}['onMemberListChange'](..._0x448a2b){var _0x58eeaf=_0x52a061,_0x1b053d={'ZMpcU':_0x58eeaf(0xec)};console['log'](_0x1b053d['ZMpcU'],..._0x448a2b);}['onSearchMemberChange'](..._0x58edb9){var _0x5d4bf9=_0x52a061,_0x3dfea4={'iIJos':_0x5d4bf9(0xbd)};console[_0x5d4bf9(0xd4)](_0x3dfea4[_0x5d4bf9(0xef)],..._0x58edb9);}[_0x52a061(0xb7)](..._0x27e976){var _0x2cd493=_0x52a061,_0x5bf066={'rDuFS':'onShutUpMemberListChanged:'};console[_0x2cd493(0xd4)](_0x5bf066[_0x2cd493(0xb4)],..._0x27e976);}} \ No newline at end of file +function _0x5ce9(){var _0x3dc7b5=['onGroupNotifiesUnreadCountUpdated','onSearchMemberChange:','dHjyq','onGroupBulletinRichMediaProgressUpdate','uCQGF','onGroupBulletinRichMediaDownloadComplete','4582416UwyoZp','onGroupStatisticInfoChange','ZHnjx','3682iNyHan','725380EajdXW','onGroupDetailInfoChange','onGroupExtListUpdate:','onGroupSingleScreenNotifies:','nEaAc','11784tYrjCC','onJoinGroupNoVerifyFlag','onShutUpMemberListChanged','15792WfMTea','PMhND','eeAgT','FojKs','onGroupBulletinRemindNotify','qpdkL','onMemberInfoChange:','onGroupConfMemberChange','MdOaO','70504mQMfMb','onGroupNotifiesUpdated:','onShutUpMemberListChanged:','onGroupNotifiesUnreadCountUpdated:','onMemberListChange','log','779202YDtzad','468nCkcxE','4yCjbhF','onSearchMemberChange','oruku','onJoinGroupNotify:','onMemberInfoChange','onJoinGroupNotify','EHsYJ','JKXVZ','onGroupAllInfoChange','SoMor','onGroupExtListUpdate','Wxavn','onGroupNotifiesUpdated','onJoinGroupNoVerifyFlag:','onGroupStatisticInfoChange:','onMemberListChange:','onGroupBulletinChange:','onGroupFirstBulletinNotify:','onGroupMemberLevelInfoChange','onGroupBulletinChange','onGroupsMsgMaskResult','onGroupListUpdate','5698lMIcib','1iiBRNS','onGroupDetailInfoChange:','onGroupSingleScreenNotifies','4386675wBjqPi','onGroupFirstBulletinNotify','onGroupMemberLevelInfoChange:','onGroupArkInviteStateResult:','onGetGroupBulletinListResult','onGroupListUpdate:'];_0x5ce9=function(){return _0x3dc7b5;};return _0x5ce9();}var _0x23554f=_0x1af0;(function(_0x3a48f2,_0x4de4ac){var _0x1f0ffa=_0x1af0,_0x2dc5ad=_0x3a48f2();while(!![]){try{var _0x37d13d=parseInt(_0x1f0ffa(0xd4))/0x1*(-parseInt(_0x1f0ffa(0xbb))/0x2)+-parseInt(_0x1f0ffa(0xe3))/0x3*(-parseInt(_0x1f0ffa(0xbd))/0x4)+parseInt(_0x1f0ffa(0xd7))/0x5+-parseInt(_0x1f0ffa(0xec))/0x6*(parseInt(_0x1f0ffa(0xe6))/0x7)+parseInt(_0x1f0ffa(0xf8))/0x8*(parseInt(_0x1f0ffa(0xbc))/0x9)+parseInt(_0x1f0ffa(0xe7))/0xa+parseInt(_0x1f0ffa(0xd3))/0xb*(-parseInt(_0x1f0ffa(0xef))/0xc);if(_0x37d13d===_0x4de4ac)break;else _0x2dc5ad['push'](_0x2dc5ad['shift']());}catch(_0x16cf7c){_0x2dc5ad['push'](_0x2dc5ad['shift']());}}}(_0x5ce9,0xcaf24));function _0x1af0(_0x43a982,_0x57d217){var _0x5ce91c=_0x5ce9();return _0x1af0=function(_0x1af03c,_0x303fc2){_0x1af03c=_0x1af03c-0xb7;var _0x525764=_0x5ce91c[_0x1af03c];return _0x525764;},_0x1af0(_0x43a982,_0x57d217);}export class GroupListener{[_0x23554f(0xcf)](..._0x10b372){}[_0x23554f(0xdb)](..._0x313b8a){}[_0x23554f(0xc5)](..._0xb1b236){}[_0x23554f(0xd0)](..._0xae9960){}[_0x23554f(0xf3)](..._0x26e158){}['onGroupArkInviteStateResult'](..._0x63e6b1){}[_0x23554f(0xe2)](..._0x470538){}[_0x23554f(0xf6)](..._0x258dcf){}[_0x23554f(0xe8)](..._0x62a314){}[_0x23554f(0xc7)](..._0x99d1a7){}[_0x23554f(0xd8)](..._0x20c1d3){}[_0x23554f(0xd2)](_0x1f94ee,_0x239aa1){}[_0x23554f(0xc9)](_0x533ef4,_0x5a2f73){}[_0x23554f(0xe0)](..._0x3b0d2c){}[_0x23554f(0xdd)](..._0x4782f4){}[_0x23554f(0xd6)](_0x58e29b,_0x11ad82,_0x3c34a6){}[_0x23554f(0xd1)](..._0x57fc3e){}[_0x23554f(0xe4)](..._0x24a9e3){}[_0x23554f(0xc2)](..._0x181446){}['onJoinGroupNoVerifyFlag'](..._0x434008){}['onMemberInfoChange'](_0x30b587,_0x2532a4,_0x3a8cff){}[_0x23554f(0xb9)](_0x58fbe4){}[_0x23554f(0xbe)](..._0x15d5fd){}[_0x23554f(0xee)](..._0x4e135e){}}export class DebugGroupListener{[_0x23554f(0xcf)](..._0x12b2cd){var _0x4a1a2c=_0x23554f,_0x6f6bae={'SoMor':_0x4a1a2c(0xd9)};console[_0x4a1a2c(0xba)](_0x6f6bae[_0x4a1a2c(0xc6)],..._0x12b2cd);}[_0x23554f(0xdb)](..._0x164fbf){var _0x545a5d=_0x23554f,_0x269601={'YxUFq':'onGetGroupBulletinListResult:'};console[_0x545a5d(0xba)](_0x269601['YxUFq'],..._0x164fbf);}['onGroupAllInfoChange'](..._0x35ac34){var _0x4dca75=_0x23554f,_0x10dd0c={'kKYYw':'onGroupAllInfoChange:'};console[_0x4dca75(0xba)](_0x10dd0c['kKYYw'],..._0x35ac34);}[_0x23554f(0xd0)](..._0x573dc8){var _0x16c36f=_0x23554f,_0x377534={'JKXVZ':_0x16c36f(0xcd)};console[_0x16c36f(0xba)](_0x377534[_0x16c36f(0xc4)],..._0x573dc8);}[_0x23554f(0xf3)](..._0x1d92e2){var _0x1d0e27=_0x23554f,_0x3a5cc1={'dHjyq':'onGroupBulletinRemindNotify:'};console['log'](_0x3a5cc1[_0x1d0e27(0xdf)],..._0x1d92e2);}['onGroupArkInviteStateResult'](..._0x470ce2){var _0x32a010=_0x23554f,_0x3102ca={'EqZQj':_0x32a010(0xda)};console['log'](_0x3102ca['EqZQj'],..._0x470ce2);}[_0x23554f(0xe2)](..._0x2673fd){var _0x3107b2=_0x23554f,_0x22f09c={'FojKs':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x3107b2(0xba)](_0x22f09c[_0x3107b2(0xf2)],..._0x2673fd);}[_0x23554f(0xf6)](..._0x392a41){var _0x4980e0=_0x23554f,_0x240251={'MdOaO':'onGroupConfMemberChange:'};console[_0x4980e0(0xba)](_0x240251[_0x4980e0(0xf7)],..._0x392a41);}[_0x23554f(0xe8)](..._0x13b729){var _0xb828ca=_0x23554f,_0x4dca4b={'UqfFR':_0xb828ca(0xd5)};console[_0xb828ca(0xba)](_0x4dca4b['UqfFR'],..._0x13b729);}['onGroupExtListUpdate'](..._0x1af86f){var _0x33f238=_0x23554f;console['log'](_0x33f238(0xe9),..._0x1af86f);}[_0x23554f(0xd8)](..._0x3f41a5){var _0x2852f9=_0x23554f,_0x303f4b={'EHsYJ':_0x2852f9(0xce)};console[_0x2852f9(0xba)](_0x303f4b[_0x2852f9(0xc3)],..._0x3f41a5);}[_0x23554f(0xd2)](..._0x2ec3b9){var _0x256497=_0x23554f,_0x3fbe78={'PMhND':_0x256497(0xdc)};console['log'](_0x3fbe78[_0x256497(0xf0)],..._0x2ec3b9);}[_0x23554f(0xc9)](..._0x2ce09c){var _0x72e772=_0x23554f,_0x36773d={'dbyPm':_0x72e772(0xf9)};console['log'](_0x36773d['dbyPm'],..._0x2ce09c);}[_0x23554f(0xe0)](..._0xb7c538){var _0x23722d=_0x23554f,_0x59a723={'uCQGF':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x23722d(0xba)](_0x59a723[_0x23722d(0xe1)],..._0xb7c538);}[_0x23554f(0xdd)](..._0xf7611c){var _0x4b8010=_0x23554f;console[_0x4b8010(0xba)](_0x4b8010(0xb8),..._0xf7611c);}['onGroupSingleScreenNotifies'](_0x159e09,_0x2dc5a4,_0x1f5e49){var _0x2a6f90=_0x23554f,_0x21a108={'nEaAc':_0x2a6f90(0xea)};console['log'](_0x21a108[_0x2a6f90(0xeb)]);}['onGroupsMsgMaskResult'](..._0x2ffc09){var _0x6a96c7=_0x23554f,_0x2a52c1={'oruku':'onGroupsMsgMaskResult:'};console[_0x6a96c7(0xba)](_0x2a52c1[_0x6a96c7(0xbf)],..._0x2ffc09);}[_0x23554f(0xe4)](..._0x308a39){var _0x4e8c1c=_0x23554f,_0x24d101={'ZHnjx':_0x4e8c1c(0xcb)};console['log'](_0x24d101[_0x4e8c1c(0xe5)],..._0x308a39);}[_0x23554f(0xc2)](..._0x3b9c1c){var _0x46d994=_0x23554f;console[_0x46d994(0xba)](_0x46d994(0xc0),..._0x3b9c1c);}[_0x23554f(0xed)](..._0x1ec67f){var _0x43a44a=_0x23554f,_0x3f5a3b={'eeAgT':_0x43a44a(0xca)};console[_0x43a44a(0xba)](_0x3f5a3b[_0x43a44a(0xf1)],..._0x1ec67f);}[_0x23554f(0xc1)](_0xe04a54,_0x5a236e,_0x361b67){var _0x327a4a=_0x23554f,_0x401246={'PkEEw':_0x327a4a(0xf5)};console[_0x327a4a(0xba)](_0x401246['PkEEw'],_0xe04a54,_0x5a236e,_0x361b67);}[_0x23554f(0xb9)](..._0x2bf9c4){var _0x2e6e03=_0x23554f,_0x45b883={'Wxavn':_0x2e6e03(0xcc)};console[_0x2e6e03(0xba)](_0x45b883[_0x2e6e03(0xc8)],..._0x2bf9c4);}[_0x23554f(0xbe)](..._0x560574){var _0x5b1635=_0x23554f,_0x3668c3={'Tucol':_0x5b1635(0xde)};console[_0x5b1635(0xba)](_0x3668c3['Tucol'],..._0x560574);}[_0x23554f(0xee)](..._0x31ad69){var _0x1ce34f=_0x23554f,_0x399c85={'qpdkL':_0x1ce34f(0xb7)};console[_0x1ce34f(0xba)](_0x399c85[_0x1ce34f(0xf4)],..._0x31ad69);}} \ 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 4e7b78da..bbad21f5 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x4190(_0x52c6fd,_0x35130e){var _0x3bf28f=_0x3bf2();return _0x4190=function(_0x4190ae,_0x4838c0){_0x4190ae=_0x4190ae-0x137;var _0x1e052c=_0x3bf28f[_0x4190ae];return _0x1e052c;},_0x4190(_0x52c6fd,_0x35130e);}var _0x38801a=_0x4190;function _0x3bf2(){var _0x2f2677=['onQRCodeSessionFailed','50zmmZQi','2882496CKAOYm','onQRCodeSessionQuickLoginFailed','onLogoutFailed','onLoginConnected','1199286qDdVRv','onPasswordLoginFailed','onLogoutSucceed','onQRCodeLoginSucceed','7dIvNWi','onLoginDisConnected','OnConfirmUnusualDeviceFailed','2242596qPwWxG','onLoginFailed','onUserLoggedIn','44fSfVoA','4638564KNDbTB','76870WXzHaG','14958iWcEYS','onQRCodeSessionUserScaned','onQQLoginNumLimited','136RAqcHF','3494030QLzKNu'];_0x3bf2=function(){return _0x2f2677;};return _0x3bf2();}(function(_0x25cd67,_0x1aefed){var _0x4bc216=_0x4190,_0x4b16a9=_0x25cd67();while(!![]){try{var _0x41a788=-parseInt(_0x4bc216(0x13b))/0x1*(-parseInt(_0x4bc216(0x141))/0x2)+-parseInt(_0x4bc216(0x146))/0x3+-parseInt(_0x4bc216(0x13e))/0x4*(-parseInt(_0x4bc216(0x13a))/0x5)+-parseInt(_0x4bc216(0x14d))/0x6*(-parseInt(_0x4bc216(0x14a))/0x7)+parseInt(_0x4bc216(0x142))/0x8+parseInt(_0x4bc216(0x139))/0x9+parseInt(_0x4bc216(0x13f))/0xa*(-parseInt(_0x4bc216(0x138))/0xb);if(_0x41a788===_0x1aefed)break;else _0x4b16a9['push'](_0x4b16a9['shift']());}catch(_0x2b3764){_0x4b16a9['push'](_0x4b16a9['shift']());}}}(_0x3bf2,0x5525e));export class LoginListener{[_0x38801a(0x145)](..._0x3b15da){}[_0x38801a(0x14b)](..._0xe6399c){}['onLoginConnecting'](..._0x56775f){}['onQRCodeGetPicture'](_0x581f8b){}['onQRCodeLoginPollingStarted'](..._0xa4ae03){}[_0x38801a(0x13c)](..._0xcd7017){}[_0x38801a(0x149)](_0x1d4dfd){}[_0x38801a(0x140)](..._0x3ede02){}[_0x38801a(0x14e)](..._0x1063e2){}[_0x38801a(0x148)](..._0x518d5f){}[_0x38801a(0x144)](..._0x4f4db9){}[_0x38801a(0x137)](..._0x7a6bcc){}[_0x38801a(0x143)](..._0x30d652){}[_0x38801a(0x147)](..._0x417309){}[_0x38801a(0x14c)](..._0x37f0ef){}[_0x38801a(0x13d)](..._0xd93738){}['onLoginState'](..._0x202cc2){}} \ No newline at end of file +function _0x21b9(){var _0x3c401e=['42dOSzsv','onPasswordLoginFailed','185304YCUwhZ','onQRCodeSessionQuickLoginFailed','onQRCodeSessionFailed','onLoginState','2121468ZLMpFC','onQRCodeLoginSucceed','onLoginFailed','onLoginConnecting','onQQLoginNumLimited','onUserLoggedIn','onQRCodeGetPicture','OnConfirmUnusualDeviceFailed','onLoginConnected','onLogoutSucceed','onLogoutFailed','1675758bonJxj','15035400KsURUQ','onQRCodeLoginPollingStarted','onQRCodeSessionUserScaned','62DsxOEE','655090fKPaPi','2725565zoslUm','73203sixFgW'];_0x21b9=function(){return _0x3c401e;};return _0x21b9();}var _0x51964=_0x404e;(function(_0x191392,_0x3295e1){var _0x42cf1e=_0x404e,_0x3bcf84=_0x191392();while(!![]){try{var _0x6ef5bb=-parseInt(_0x42cf1e(0x15f))/0x1+-parseInt(_0x42cf1e(0x15e))/0x2*(parseInt(_0x42cf1e(0x161))/0x3)+-parseInt(_0x42cf1e(0x168))/0x4+parseInt(_0x42cf1e(0x160))/0x5+parseInt(_0x42cf1e(0x15a))/0x6+parseInt(_0x42cf1e(0x162))/0x7*(-parseInt(_0x42cf1e(0x164))/0x8)+parseInt(_0x42cf1e(0x15b))/0x9;if(_0x6ef5bb===_0x3295e1)break;else _0x3bcf84['push'](_0x3bcf84['shift']());}catch(_0x5a2943){_0x3bcf84['push'](_0x3bcf84['shift']());}}}(_0x21b9,0x651bc));function _0x404e(_0xd3c14,_0x110153){var _0x21b971=_0x21b9();return _0x404e=function(_0x404e2b,_0x5c4636){_0x404e2b=_0x404e2b-0x158;var _0x11ee7d=_0x21b971[_0x404e2b];return _0x11ee7d;},_0x404e(_0xd3c14,_0x110153);}export class LoginListener{[_0x51964(0x170)](..._0x2140b4){}['onLoginDisConnected'](..._0x805b53){}[_0x51964(0x16b)](..._0x46fdb6){}[_0x51964(0x16e)](_0x54218c){}[_0x51964(0x15c)](..._0x45822b){}[_0x51964(0x15d)](..._0x4287b7){}[_0x51964(0x169)](_0x25a4ab){}[_0x51964(0x166)](..._0x4da241){}[_0x51964(0x16a)](..._0x414500){}[_0x51964(0x158)](..._0xf5058f){}[_0x51964(0x159)](..._0x3c9b3b){}[_0x51964(0x16d)](..._0x17f1d9){}[_0x51964(0x165)](..._0x531021){}[_0x51964(0x163)](..._0x2a878c){}[_0x51964(0x16f)](..._0x11e50b){}[_0x51964(0x16c)](..._0x4517b3){}[_0x51964(0x167)](..._0x5da17b){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.d.ts b/src/core.lib/src/listeners/NodeIKernelMsgListener.d.ts index b69bc92d..ed547a13 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.d.ts +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.d.ts @@ -1,4 +1,4 @@ -import { RawMessage } from '@/core/entities'; +import { ChatType, RawMessage } from '@/core/entities'; export interface OnRichMediaDownloadCompleteParams { fileModelId: string; msgElementId: string; @@ -31,6 +31,14 @@ export interface onGroupFileInfoUpdateParamType { nextIndex: string; reqId: string; } +export interface TempOnRecvParams { + sessionType: number; + chatType: ChatType; + peerUid: string; + groupCode: string; + fromNick: string; + sig: string; +} export interface IKernelMsgListener { onAddSendMsg(msgRecord: RawMessage): void; onBroadcastHelperDownloadComplete(broadcastHelperTransNotifyInfo: unknown): void; @@ -89,7 +97,7 @@ export interface IKernelMsgListener { onSearchGroupFileInfoUpdate(searchGroupFileResult: unknown): void; onSendMsgError(j2: unknown, contact: unknown, i2: unknown, str: unknown): void; onSysMsgNotification(i2: unknown, j2: unknown, j3: unknown, arrayList: unknown): void; - onTempChatInfoUpdate(tempChatInfo: unknown): void; + onTempChatInfoUpdate(tempChatInfo: TempOnRecvParams): void; onUnreadCntAfterFirstView(hashMap: unknown): void; onUnreadCntUpdate(hashMap: unknown): void; onUserChannelTabStatusChanged(z: unknown): void; @@ -163,7 +171,7 @@ export declare class MsgListener implements IKernelMsgListener { onSearchGroupFileInfoUpdate(searchGroupFileResult: unknown): void; onSendMsgError(j2: unknown, contact: unknown, i2: unknown, str: unknown): void; onSysMsgNotification(i2: unknown, j2: unknown, j3: unknown, arrayList: unknown): void; - onTempChatInfoUpdate(tempChatInfo: unknown): void; + onTempChatInfoUpdate(tempChatInfo: TempOnRecvParams): void; onUnreadCntAfterFirstView(hashMap: unknown): void; onUnreadCntUpdate(hashMap: unknown): void; onUserChannelTabStatusChanged(z: unknown): void; diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 362e1580..7e79bbdf 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x27ebc5=_0x4c84;function _0x4c84(_0x443e7b,_0x433d8d){var _0x19c946=_0x19c9();return _0x4c84=function(_0x4c847b,_0x39639f){_0x4c847b=_0x4c847b-0x13d;var _0x5d816a=_0x19c946[_0x4c847b];return _0x5d816a;},_0x4c84(_0x443e7b,_0x433d8d);}(function(_0x47e632,_0x53a25a){var _0x22b9c7=_0x4c84,_0x410774=_0x47e632();while(!![]){try{var _0x4f4873=parseInt(_0x22b9c7(0x162))/0x1+-parseInt(_0x22b9c7(0x177))/0x2*(parseInt(_0x22b9c7(0x158))/0x3)+-parseInt(_0x22b9c7(0x145))/0x4*(parseInt(_0x22b9c7(0x170))/0x5)+-parseInt(_0x22b9c7(0x165))/0x6*(parseInt(_0x22b9c7(0x140))/0x7)+parseInt(_0x22b9c7(0x160))/0x8*(parseInt(_0x22b9c7(0x13d))/0x9)+-parseInt(_0x22b9c7(0x175))/0xa+-parseInt(_0x22b9c7(0x17b))/0xb*(-parseInt(_0x22b9c7(0x168))/0xc);if(_0x4f4873===_0x53a25a)break;else _0x410774['push'](_0x410774['shift']());}catch(_0x2b699a){_0x410774['push'](_0x410774['shift']());}}}(_0x19c9,0xc6885));export class MsgListener{[_0x27ebc5(0x174)](_0x4d9800){}[_0x27ebc5(0x176)](_0x195fcd){}[_0x27ebc5(0x16e)](_0x5bef35){}['onChannelFreqLimitInfoUpdate'](_0x4b3978,_0x366469,_0x1e7a22){}['onContactUnreadCntUpdate'](_0xf36626){}[_0x27ebc5(0x163)](_0x5932cf){}[_0x27ebc5(0x16c)](_0x52d71c,_0x244cd9,_0x241d78){}['onEmojiDownloadComplete'](_0x3d0569){}[_0x27ebc5(0x13f)](_0x2da44d){}[_0x27ebc5(0x16a)](_0x3d4767){}['onFileMsgCome'](_0x46410c){}[_0x27ebc5(0x144)](_0x2e153){}[_0x27ebc5(0x164)](_0x33deac){}[_0x27ebc5(0x17c)](_0x41ba86,_0x4bc0bc,_0x5335a8,_0x53556b,_0x5392b7){}[_0x27ebc5(0x16f)](_0x45d8dc){}[_0x27ebc5(0x167)](_0x155f1e){}['onGroupGuildUpdate'](_0x2278e1){}[_0x27ebc5(0x169)](_0xf15745){}[_0x27ebc5(0x14a)](_0x108e1d){}[_0x27ebc5(0x15b)](_0xbdc258){}[_0x27ebc5(0x152)](_0x78c562){}[_0x27ebc5(0x178)](_0x29f9bf){}[_0x27ebc5(0x15c)](_0x568acc){}[_0x27ebc5(0x171)](_0x32b10d){}[_0x27ebc5(0x141)](_0x30f9a8){}[_0x27ebc5(0x14b)](_0x5dd7a3){}[_0x27ebc5(0x155)](_0x51af52){}[_0x27ebc5(0x14e)](_0x24763c){}[_0x27ebc5(0x166)](_0xf9173c){}[_0x27ebc5(0x14d)](_0x366fa5){}['onMsgAbstractUpdate'](_0xef5367){}[_0x27ebc5(0x15d)](_0x66be9d){}[_0x27ebc5(0x14f)](_0x50f705,_0x589158){}[_0x27ebc5(0x17d)](_0x2bdfa6){}[_0x27ebc5(0x149)](_0x5128a4){}[_0x27ebc5(0x147)](_0x3dece2){}['onMsgQRCodeStatusChanged'](_0x3d022e){}[_0x27ebc5(0x150)](_0x2ab317,_0x3a20c3,_0x1093b5){}[_0x27ebc5(0x142)](_0x13ec2d){}[_0x27ebc5(0x179)](_0x51eeaa){}[_0x27ebc5(0x180)](){}[_0x27ebc5(0x173)](){}[_0x27ebc5(0x146)](){}[_0x27ebc5(0x15e)](_0x235d01){}[_0x27ebc5(0x17f)](_0x142e45){}[_0x27ebc5(0x157)](_0x284a88){}[_0x27ebc5(0x154)](_0x4bde9d,_0x48d635,_0x317caa,_0x28d6fa,_0x487327,_0x214044){}[_0x27ebc5(0x17e)](_0x532722){}['onRecvS2CMsg'](_0x5075e4){}[_0x27ebc5(0x15a)](_0x26bc34){}[_0x27ebc5(0x161)](_0x1ba849){}['onRichMediaDownloadComplete'](_0x69fea3){}['onRichMediaProgerssUpdate'](_0x330c64){}[_0x27ebc5(0x156)](_0xf6896c){}[_0x27ebc5(0x14c)](_0x4945bb){}[_0x27ebc5(0x153)](_0x1f34f2,_0x40d7a7,_0x1544a2,_0x52e98c){}[_0x27ebc5(0x13e)](_0x7fa4dc,_0x299d3c,_0x196f14,_0x4750a1){}['onTempChatInfoUpdate'](_0x19f610){}[_0x27ebc5(0x172)](_0x15046c){}['onUnreadCntUpdate'](_0x2489c3){}[_0x27ebc5(0x143)](_0x16946e){}[_0x27ebc5(0x16d)](_0x3d1399){}[_0x27ebc5(0x17a)](_0xcd8ca6){}['onlineStatusBigIconDownloadPush'](_0xba802a,_0x4a1c2c,_0x23b68b){}[_0x27ebc5(0x15f)](_0x209cbc,_0xfc5527,_0x4f70a0){}[_0x27ebc5(0x151)](..._0x17e9e5){}[_0x27ebc5(0x159)](..._0x1a03f2){}[_0x27ebc5(0x148)](..._0x5d60e8){}[_0x27ebc5(0x16b)](..._0x270830){}}function _0x19c9(){var _0x44d862=['1062PeKjpC','onMsgWithRichLinkInfoUpdate','onRecvSysMsg','onGuildInteractiveUpdate','onHitCsRelatedEmojiResult','onMsgBoxChanged','onReadFeedEventUpdate','onlineStatusSmallIconDownloadPush','57912CRwOYg','onRecvUDCFlag','993671QdkYeC','onCustomWithdrawConfigUpdate','onFirstViewGroupGuildMapping','1866HQlLmN','onLineDev','onGroupFileInfoUpdate','984uUHvXt','onGroupTransferInfoAdd','onFeedEventUpdate','onBroadcastHelperProgerssUpdate','onDraftUpdate','onUserOnlineStatusChanged','onBroadcastHelperProgressUpdate','onGroupFileInfoAdd','3535ghHdsO','onHitEmojiKeywordResult','onUnreadCntAfterFirstView','onNtMsgSyncEnd','onAddSendMsg','12383060LOGYVY','onBroadcastHelperDownloadComplete','1356SLSDPJ','onGuildNotificationAbstractUpdate','onMsgSettingUpdate','onUserTabStatusChanged','257543UlpHhY','onGrabPasswordRedBag','onMsgEventListUpdate','onRecvOnlineFileMsg','onRecvGroupGuildFlag','onNtFirstViewMsgSyncEnd','1710GTvrAj','onSysMsgNotification','onEmojiResourceUpdate','12782IBWRNp','onHitRelatedEmojiResult','onMsgSecurityNotify','onUserChannelTabStatusChanged','onFirstViewDirectMsgUpdate','8088UHZYpC','onNtMsgSyncStart','onMsgInfoListUpdate','onRedTouchChanged','onMsgInfoListAdd','onGroupTransferInfoUpdate','onImportOldDbProgressUpdate','onSearchGroupFileInfoUpdate','onLogLevelChanged','onKickedOffLine','onMsgDelete','onMsgRecall','onUserSecQualityChanged','onGuildMsgAbFlagChanged','onSendMsgError','onRecvMsgSvrRspTransInfo','onInputStatusPush','onRichMediaUploadComplete','onRecvMsg'];_0x19c9=function(){return _0x44d862;};return _0x19c9();} \ No newline at end of file +var _0x3828d2=_0x4296;function _0x4296(_0x254abf,_0xf62f67){var _0xe47038=_0xe470();return _0x4296=function(_0x4296f6,_0x1fe82e){_0x4296f6=_0x4296f6-0x83;var _0x16cafa=_0xe47038[_0x4296f6];return _0x16cafa;},_0x4296(_0x254abf,_0xf62f67);}(function(_0x4e180e,_0x59ff69){var _0xa64167=_0x4296,_0x947e43=_0x4e180e();while(!![]){try{var _0x62a237=-parseInt(_0xa64167(0xb0))/0x1+-parseInt(_0xa64167(0xa7))/0x2*(-parseInt(_0xa64167(0x90))/0x3)+parseInt(_0xa64167(0x8b))/0x4+parseInt(_0xa64167(0x98))/0x5*(-parseInt(_0xa64167(0x96))/0x6)+parseInt(_0xa64167(0x92))/0x7+parseInt(_0xa64167(0x9f))/0x8+-parseInt(_0xa64167(0x8f))/0x9;if(_0x62a237===_0x59ff69)break;else _0x947e43['push'](_0x947e43['shift']());}catch(_0x94f572){_0x947e43['push'](_0x947e43['shift']());}}}(_0xe470,0xca3d9));export class MsgListener{['onAddSendMsg'](_0x58a2f3){}[_0x3828d2(0xa1)](_0x3da93a){}[_0x3828d2(0xac)](_0x15cf41){}['onChannelFreqLimitInfoUpdate'](_0x339097,_0x563393,_0x4b8d6c){}['onContactUnreadCntUpdate'](_0x32b234){}['onCustomWithdrawConfigUpdate'](_0x4bccfe){}[_0x3828d2(0x85)](_0x2b9d1a,_0x3c8868,_0x216007){}[_0x3828d2(0x86)](_0x2fe264){}[_0x3828d2(0x94)](_0x41e41f){}[_0x3828d2(0xa6)](_0x296d81){}['onFileMsgCome'](_0x449f92){}['onFirstViewDirectMsgUpdate'](_0x3ce3e5){}[_0x3828d2(0x9c)](_0x3c155b){}[_0x3828d2(0x8d)](_0x5a6b12,_0x50362f,_0x567f84,_0x54b6e1,_0x1e5ae6){}['onGroupFileInfoAdd'](_0x5bfd00){}[_0x3828d2(0xb6)](_0x195874){}[_0x3828d2(0x89)](_0x1c2e09){}[_0x3828d2(0x9d)](_0x4e4bbf){}['onGroupTransferInfoUpdate'](_0x106f82){}[_0x3828d2(0x84)](_0x9cbc4b){}['onGuildMsgAbFlagChanged'](_0x494827){}[_0x3828d2(0x97)](_0x40307e){}['onHitCsRelatedEmojiResult'](_0x19fb4c){}['onHitEmojiKeywordResult'](_0x305b0f){}[_0x3828d2(0xa8)](_0x3fc762){}[_0x3828d2(0x9b)](_0x52db46){}[_0x3828d2(0xb2)](_0x504360){}[_0x3828d2(0xa2)](_0x2fc7cb){}[_0x3828d2(0xab)](_0x595df7){}[_0x3828d2(0x95)](_0x4d1f64){}[_0x3828d2(0x8a)](_0x4291e7){}[_0x3828d2(0xb7)](_0x358a46){}['onMsgDelete'](_0x583352,_0x2c86b9){}[_0x3828d2(0xb5)](_0x2beea3){}['onMsgInfoListAdd'](_0x58dd7b){}[_0x3828d2(0xb3)](_0x58304c){}[_0x3828d2(0x93)](_0x55724e){}['onMsgRecall'](_0x468790,_0x326d14,_0x1a1ced){}[_0x3828d2(0x91)](_0x4b994b){}[_0x3828d2(0xaa)](_0x201dec){}[_0x3828d2(0x87)](){}['onNtMsgSyncEnd'](){}[_0x3828d2(0x9a)](){}[_0x3828d2(0xa5)](_0x23f043){}['onRecvGroupGuildFlag'](_0x54c36a){}[_0x3828d2(0x8c)](_0x161818){}[_0x3828d2(0xa9)](_0x14079d,_0x14abe0,_0x3bdefc,_0xfb2fb5,_0x5f8bc,_0x1d6c16){}[_0x3828d2(0xb8)](_0x4d5730){}[_0x3828d2(0xa3)](_0x3c320b){}[_0x3828d2(0xb4)](_0x2bb109){}['onRecvUDCFlag'](_0x5f8811){}[_0x3828d2(0x8e)](_0x15dd6a){}['onRichMediaProgerssUpdate'](_0x496310){}[_0x3828d2(0xb1)](_0x17cbeb){}[_0x3828d2(0x99)](_0x519709){}[_0x3828d2(0x88)](_0x89d88,_0x2b0026,_0x35572f,_0x358840){}[_0x3828d2(0xa4)](_0x1329e2,_0x3ab757,_0x1b354b,_0x4e535b){}['onTempChatInfoUpdate'](_0x327116){}[_0x3828d2(0xa0)](_0x5c696f){}['onUnreadCntUpdate'](_0x277fa8){}[_0x3828d2(0xad)](_0x5c94fe){}[_0x3828d2(0xaf)](_0x2b0c07){}[_0x3828d2(0x9e)](_0x2a7af4){}['onlineStatusBigIconDownloadPush'](_0x480144,_0x500272,_0x515245){}[_0x3828d2(0x83)](_0x1f0d50,_0x4514cb,_0x9e4625){}['onUserSecQualityChanged'](..._0x49e7ab){}['onMsgWithRichLinkInfoUpdate'](..._0x587182){}[_0x3828d2(0xb9)](..._0x4f0a34){}[_0x3828d2(0xae)](..._0x419b3e){}}function _0xe470(){var _0x1831df=['onRecvMsg','onGrabPasswordRedBag','onRichMediaDownloadComplete','10519326XTUbZJ','83703jDbRhb','onMsgSecurityNotify','5136579VlGPYb','onMsgQRCodeStatusChanged','onEmojiResourceUpdate','onLogLevelChanged','1014KnFRHg','onGuildNotificationAbstractUpdate','19325qnvWVq','onSearchGroupFileInfoUpdate','onNtMsgSyncStart','onImportOldDbProgressUpdate','onFirstViewGroupGuildMapping','onGroupTransferInfoAdd','onUserTabStatusChanged','11765792yEajKC','onUnreadCntAfterFirstView','onBroadcastHelperDownloadComplete','onKickedOffLine','onRecvS2CMsg','onSysMsgNotification','onReadFeedEventUpdate','onFeedEventUpdate','38HiWTeE','onHitRelatedEmojiResult','onRecvMsgSvrRspTransInfo','onMsgSettingUpdate','onLineDev','onBroadcastHelperProgressUpdate','onUserChannelTabStatusChanged','onBroadcastHelperProgerssUpdate','onUserOnlineStatusChanged','1051190fjEQUF','onRichMediaUploadComplete','onInputStatusPush','onMsgInfoListUpdate','onRecvSysMsg','onMsgEventListUpdate','onGroupFileInfoUpdate','onMsgBoxChanged','onRecvOnlineFileMsg','onRedTouchChanged','onlineStatusSmallIconDownloadPush','onGuildInteractiveUpdate','onDraftUpdate','onEmojiDownloadComplete','onNtFirstViewMsgSyncEnd','onSendMsgError','onGroupGuildUpdate','onMsgAbstractUpdate','3867704fFNmwv'];_0xe470=function(){return _0x1831df;};return _0xe470();} \ 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 3fa923a2..0322a666 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0xda07(_0x76d43e,_0x49c8ef){var _0x4bb8d8=_0x4bb8();return _0xda07=function(_0xda0739,_0x416cdb){_0xda0739=_0xda0739-0xa0;var _0x477c52=_0x4bb8d8[_0xda0739];return _0x477c52;},_0xda07(_0x76d43e,_0x49c8ef);}function _0x4bb8(){var _0x4120b2=['3582JLkUPV','366CRcbVP','7YenAec','onProfileDetailInfoChanged','59609zwRCAF','545468achbTI','onSelfStatusChanged','onStrangerRemarkChanged','120502SzKoMN','onProfileSimpleChanged','4731SZuLan','182NGLbea','1164eQWTCA','2770gREDBp','47980FymNTE','981928xpsKYL'];_0x4bb8=function(){return _0x4120b2;};return _0x4bb8();}var _0x3b6602=_0xda07;(function(_0x17d59c,_0x403a92){var _0x4f8143=_0xda07,_0x5c08ae=_0x17d59c();while(!![]){try{var _0x30de2a=-parseInt(_0x4f8143(0xac))/0x1+-parseInt(_0x4f8143(0xaf))/0x2*(-parseInt(_0x4f8143(0xae))/0x3)+parseInt(_0x4f8143(0xa9))/0x4+parseInt(_0x4f8143(0xa2))/0x5*(-parseInt(_0x4f8143(0xa5))/0x6)+parseInt(_0x4f8143(0xa6))/0x7*(parseInt(_0x4f8143(0xa3))/0x8)+parseInt(_0x4f8143(0xa4))/0x9*(parseInt(_0x4f8143(0xa1))/0xa)+-parseInt(_0x4f8143(0xa8))/0xb*(-parseInt(_0x4f8143(0xa0))/0xc);if(_0x30de2a===_0x403a92)break;else _0x5c08ae['push'](_0x5c08ae['shift']());}catch(_0x2374e8){_0x5c08ae['push'](_0x5c08ae['shift']());}}}(_0x4bb8,0x51366));export class ProfileListener{[_0x3b6602(0xad)](..._0x13f3ed){}[_0x3b6602(0xa7)](_0x3d664c){}['onStatusUpdate'](..._0x3f4b47){}[_0x3b6602(0xaa)](..._0x4e1bb7){}[_0x3b6602(0xab)](..._0x4cc4f6){}} \ No newline at end of file +function _0x3c75(_0x18563e,_0x3a6b94){var _0x2a756e=_0x2a75();return _0x3c75=function(_0x3c751f,_0x300d80){_0x3c751f=_0x3c751f-0x1aa;var _0x4f5a93=_0x2a756e[_0x3c751f];return _0x4f5a93;},_0x3c75(_0x18563e,_0x3a6b94);}var _0x4c9cf9=_0x3c75;(function(_0x1cb00d,_0x2645d8){var _0x3a73ae=_0x3c75,_0x5859c1=_0x1cb00d();while(!![]){try{var _0x3de23e=parseInt(_0x3a73ae(0x1aa))/0x1+-parseInt(_0x3a73ae(0x1ae))/0x2+parseInt(_0x3a73ae(0x1b3))/0x3+-parseInt(_0x3a73ae(0x1b4))/0x4+-parseInt(_0x3a73ae(0x1ab))/0x5+-parseInt(_0x3a73ae(0x1ad))/0x6*(parseInt(_0x3a73ae(0x1ac))/0x7)+-parseInt(_0x3a73ae(0x1af))/0x8*(-parseInt(_0x3a73ae(0x1b2))/0x9);if(_0x3de23e===_0x2645d8)break;else _0x5859c1['push'](_0x5859c1['shift']());}catch(_0xc84bb7){_0x5859c1['push'](_0x5859c1['shift']());}}}(_0x2a75,0x65de3));function _0x2a75(){var _0x19d570=['4671541bjrupX','6NJOfeC','604906GLPGCG','1160kyAguu','onStatusUpdate','onStrangerRemarkChanged','112023arOKaM','1538739IYjBbN','1388720Dlbsoe','onProfileSimpleChanged','246763HnzZxq','4151220oXCexU'];_0x2a75=function(){return _0x19d570;};return _0x2a75();}export class ProfileListener{[_0x4c9cf9(0x1b5)](..._0x1ae7d2){}['onProfileDetailInfoChanged'](_0x2a7f69){}[_0x4c9cf9(0x1b0)](..._0x57eefe){}['onSelfStatusChanged'](..._0x348550){}[_0x4c9cf9(0x1b1)](..._0x461643){}} \ 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 ec84d323..bd6b3c30 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x80d2(_0x1f3bc7,_0x31cade){var _0x40a087=_0x40a0();return _0x80d2=function(_0x80d2e3,_0x273e9c){_0x80d2e3=_0x80d2e3-0x170;var _0x3373fe=_0x40a087[_0x80d2e3];return _0x3373fe;},_0x80d2(_0x1f3bc7,_0x31cade);}var _0x2856fc=_0x80d2;(function(_0x3b96db,_0x7d6e59){var _0x14c9cf=_0x80d2,_0x549f8d=_0x3b96db();while(!![]){try{var _0x5b48a3=parseInt(_0x14c9cf(0x176))/0x1+parseInt(_0x14c9cf(0x172))/0x2*(parseInt(_0x14c9cf(0x170))/0x3)+-parseInt(_0x14c9cf(0x17c))/0x4*(parseInt(_0x14c9cf(0x17d))/0x5)+parseInt(_0x14c9cf(0x179))/0x6*(parseInt(_0x14c9cf(0x171))/0x7)+parseInt(_0x14c9cf(0x175))/0x8+parseInt(_0x14c9cf(0x17b))/0x9*(-parseInt(_0x14c9cf(0x17e))/0xa)+-parseInt(_0x14c9cf(0x178))/0xb*(-parseInt(_0x14c9cf(0x177))/0xc);if(_0x5b48a3===_0x7d6e59)break;else _0x549f8d['push'](_0x549f8d['shift']());}catch(_0x488277){_0x549f8d['push'](_0x549f8d['shift']());}}}(_0x40a0,0x7aa0c));export class KernelRobotListener{[_0x2856fc(0x173)](..._0x3022fc){}[_0x2856fc(0x174)](..._0x3dc873){}[_0x2856fc(0x17a)](..._0x5c9634){}}function _0x40a0(){var _0x552af4=['301Utthfw','14gzHKDo','onRobotFriendListChanged','onRobotListChanged','7362056BoQnfj','72544ahiFjJ','36sYdPdB','293238LZOGHZ','23442PcndMu','onRobotProfileChanged','9HmIhxk','343648EAyaIR','35essxVv','4671790sLnZch','141459vQvslY'];_0x40a0=function(){return _0x552af4;};return _0x40a0();} \ No newline at end of file +var _0x1f25f4=_0x1296;function _0x1296(_0xe6fa21,_0x56afbe){var _0x4a9037=_0x4a90();return _0x1296=function(_0x129696,_0xf53c3f){_0x129696=_0x129696-0x154;var _0xa47e1c=_0x4a9037[_0x129696];return _0xa47e1c;},_0x1296(_0xe6fa21,_0x56afbe);}(function(_0x576a50,_0x29ec95){var _0x3cdc47=_0x1296,_0xed0b24=_0x576a50();while(!![]){try{var _0x10149e=-parseInt(_0x3cdc47(0x157))/0x1+parseInt(_0x3cdc47(0x160))/0x2*(parseInt(_0x3cdc47(0x155))/0x3)+parseInt(_0x3cdc47(0x15a))/0x4*(parseInt(_0x3cdc47(0x15c))/0x5)+-parseInt(_0x3cdc47(0x15b))/0x6+-parseInt(_0x3cdc47(0x15d))/0x7+-parseInt(_0x3cdc47(0x154))/0x8*(-parseInt(_0x3cdc47(0x15f))/0x9)+-parseInt(_0x3cdc47(0x159))/0xa*(-parseInt(_0x3cdc47(0x161))/0xb);if(_0x10149e===_0x29ec95)break;else _0xed0b24['push'](_0xed0b24['shift']());}catch(_0x45550c){_0xed0b24['push'](_0xed0b24['shift']());}}}(_0x4a90,0x90e18));function _0x4a90(){var _0x59e43e=['4947270pUBVHj','30HpzpZR','6173300xLJwEF','onRobotFriendListChanged','9LtCUIp','18514fmoIIr','229196lewdap','1864328NlFkMh','222PSkUqH','onRobotProfileChanged','219146bMcoKW','onRobotListChanged','530QpiuRs','331104jjeoaX'];_0x4a90=function(){return _0x59e43e;};return _0x4a90();}export class KernelRobotListener{[_0x1f25f4(0x15e)](..._0xa26471){}[_0x1f25f4(0x158)](..._0x3ae689){}[_0x1f25f4(0x156)](..._0x5daa5c){}} \ 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 f07a057e..97490106 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x5bb35e=_0x17d8;function _0x17d8(_0x49c8f8,_0x1dae2d){var _0x4d01ae=_0x4d01();return _0x17d8=function(_0x17d83,_0x282af7){_0x17d83=_0x17d83-0x198;var _0x16ebf=_0x4d01ae[_0x17d83];return _0x16ebf;},_0x17d8(_0x49c8f8,_0x1dae2d);}function _0x4d01(){var _0x260f52=['1208698NWLbAR','4128wHIhMN','1413937cpIRpn','5103609NOPuGX','2950285AmQuJi','10sWWvJh','onOpentelemetryInit','5882262KPYVWx','2480xlYLux','onSessionInitComplete','8vRcRKU','16050123AsrUbt','onUserOnlineResult'];_0x4d01=function(){return _0x260f52;};return _0x4d01();}(function(_0x4166cd,_0x46dc82){var _0x29f49a=_0x17d8,_0x4db757=_0x4166cd();while(!![]){try{var _0x5841bd=-parseInt(_0x29f49a(0x1a0))/0x1+parseInt(_0x29f49a(0x19e))/0x2+-parseInt(_0x29f49a(0x19f))/0x3*(-parseInt(_0x29f49a(0x199))/0x4)+parseInt(_0x29f49a(0x1a2))/0x5+-parseInt(_0x29f49a(0x198))/0x6+parseInt(_0x29f49a(0x1a1))/0x7*(-parseInt(_0x29f49a(0x19b))/0x8)+-parseInt(_0x29f49a(0x19c))/0x9*(-parseInt(_0x29f49a(0x1a3))/0xa);if(_0x5841bd===_0x46dc82)break;else _0x4db757['push'](_0x4db757['shift']());}catch(_0x2c22c8){_0x4db757['push'](_0x4db757['shift']());}}}(_0x4d01,0xacb90));export class SessionListener{['onNTSessionCreate'](_0x384cb4){}['onGProSessionCreate'](_0x19d264){}[_0x5bb35e(0x19a)](_0x7307c1){}[_0x5bb35e(0x1a4)](_0x55e71c){}[_0x5bb35e(0x19d)](_0x9f689b){}['onGetSelfTinyId'](_0x5ee20a){}} \ No newline at end of file +var _0x13bee0=_0x2a8e;function _0x2a8e(_0x1bc68c,_0x76453e){var _0x1f15d2=_0x1f15();return _0x2a8e=function(_0x2a8e9b,_0x5c4ac6){_0x2a8e9b=_0x2a8e9b-0x19d;var _0x2067f5=_0x1f15d2[_0x2a8e9b];return _0x2067f5;},_0x2a8e(_0x1bc68c,_0x76453e);}function _0x1f15(){var _0x3e0f1a=['2086260BiyGJy','1954128DLCMid','onGetSelfTinyId','6ZCQZOu','onOpentelemetryInit','440973FTJPVK','928002WCxavu','onUserOnlineResult','onSessionInitComplete','1661779iqlzto','146636lXtUhd','5fjhlrs','onNTSessionCreate','526300ElywFa'];_0x1f15=function(){return _0x3e0f1a;};return _0x1f15();}(function(_0x32f5b2,_0x1a91f9){var _0x539f5d=_0x2a8e,_0xef8f6f=_0x32f5b2();while(!![]){try{var _0x526d79=parseInt(_0x539f5d(0x19e))/0x1+-parseInt(_0x539f5d(0x1a9))/0x2*(parseInt(_0x539f5d(0x1a2))/0x3)+parseInt(_0x539f5d(0x19f))/0x4+parseInt(_0x539f5d(0x1aa))/0x5*(-parseInt(_0x539f5d(0x1a5))/0x6)+-parseInt(_0x539f5d(0x1a8))/0x7+-parseInt(_0x539f5d(0x1a0))/0x8+parseInt(_0x539f5d(0x1a4))/0x9;if(_0x526d79===_0x1a91f9)break;else _0xef8f6f['push'](_0xef8f6f['shift']());}catch(_0x53aae4){_0xef8f6f['push'](_0xef8f6f['shift']());}}}(_0x1f15,0x4ca28));export class SessionListener{[_0x13bee0(0x19d)](_0x10b7b9){}['onGProSessionCreate'](_0x514062){}[_0x13bee0(0x1a7)](_0x5b31a8){}[_0x13bee0(0x1a3)](_0x32182d){}[_0x13bee0(0x1a6)](_0x4ee906){}[_0x13bee0(0x1a1)](_0x1f38e8){}} \ 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 4482b97a..f82099ec 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x1557ed=_0x5bf6;function _0x4fe8(){var _0x213a89=['1555989XauDhh','onScanCacheProgressChanged','4968875RgbVkB','onChatCleanDone','onFinishScan','433608HZDjVT','568272SNZhEd','4570083uiRFdE','870356LjnjxQ','onCleanCacheProgressChanged','1305552xvReQQ'];_0x4fe8=function(){return _0x213a89;};return _0x4fe8();}(function(_0x58a1ca,_0x2ff835){var _0x1177ef=_0x5bf6,_0xa4e4a2=_0x58a1ca();while(!![]){try{var _0x287c2f=-parseInt(_0x1177ef(0xd9))/0x1+parseInt(_0x1177ef(0xdb))/0x2+parseInt(_0x1177ef(0xdc))/0x3+parseInt(_0x1177ef(0xd7))/0x4+parseInt(_0x1177ef(0xde))/0x5+parseInt(_0x1177ef(0xd6))/0x6+-parseInt(_0x1177ef(0xd8))/0x7;if(_0x287c2f===_0x2ff835)break;else _0xa4e4a2['push'](_0xa4e4a2['shift']());}catch(_0x1c2b08){_0xa4e4a2['push'](_0xa4e4a2['shift']());}}}(_0x4fe8,0xd1105));function _0x5bf6(_0x30474e,_0x51b473){var _0x4fe80e=_0x4fe8();return _0x5bf6=function(_0x5bf699,_0x22a4b3){_0x5bf699=_0x5bf699-0xd6;var _0x270776=_0x4fe80e[_0x5bf699];return _0x270776;},_0x5bf6(_0x30474e,_0x51b473);}export class StorageCleanListener{[_0x1557ed(0xda)](_0x3714e3){}[_0x1557ed(0xdd)](_0x1e7273){}['onCleanCacheStorageChanged'](_0xb87e0e){}[_0x1557ed(0xe0)](_0x45363b){}[_0x1557ed(0xdf)](_0x1165d3){}} \ No newline at end of file +function _0x4bcb(){var _0x2e073d=['402YqOXmJ','1382RLqBrv','onCleanCacheStorageChanged','18242tcCBLx','12876ELYruA','onChatCleanDone','305703RfVtuO','onCleanCacheProgressChanged','11XpuKUf','6411290wlMPZm','5HfXylm','14183ByGyEH','1023477AlXaXF','onFinishScan','879188OIVscd','588RDZJSx','onScanCacheProgressChanged','104ezRsHH'];_0x4bcb=function(){return _0x2e073d;};return _0x4bcb();}var _0x1bfd9a=_0x545f;function _0x545f(_0xc4688d,_0xcf6984){var _0x4bcb74=_0x4bcb();return _0x545f=function(_0x545f14,_0x2306fe){_0x545f14=_0x545f14-0x85;var _0x66053=_0x4bcb74[_0x545f14];return _0x66053;},_0x545f(_0xc4688d,_0xcf6984);}(function(_0x23f49f,_0x3a829c){var _0x4d4ae7=_0x545f,_0x2e0723=_0x23f49f();while(!![]){try{var _0x230df2=-parseInt(_0x4d4ae7(0x8d))/0x1*(parseInt(_0x4d4ae7(0x91))/0x2)+parseInt(_0x4d4ae7(0x8a))/0x3+parseInt(_0x4d4ae7(0x8c))/0x4*(parseInt(_0x4d4ae7(0x88))/0x5)+-parseInt(_0x4d4ae7(0x90))/0x6*(-parseInt(_0x4d4ae7(0x93))/0x7)+-parseInt(_0x4d4ae7(0x8f))/0x8*(parseInt(_0x4d4ae7(0x96))/0x9)+parseInt(_0x4d4ae7(0x87))/0xa*(-parseInt(_0x4d4ae7(0x86))/0xb)+parseInt(_0x4d4ae7(0x94))/0xc*(parseInt(_0x4d4ae7(0x89))/0xd);if(_0x230df2===_0x3a829c)break;else _0x2e0723['push'](_0x2e0723['shift']());}catch(_0x38f78a){_0x2e0723['push'](_0x2e0723['shift']());}}}(_0x4bcb,0x65da9));export class StorageCleanListener{[_0x1bfd9a(0x85)](_0x23cfe2){}[_0x1bfd9a(0x8e)](_0x17e203){}[_0x1bfd9a(0x92)](_0x24d495){}[_0x1bfd9a(0x8b)](_0xb128f1){}[_0x1bfd9a(0x95)](_0x522b52){}} \ 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 f367024f..2f7b543d 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x57346a,_0x3d6087){var _0x8d6a45=_0x1681,_0x1fee45=_0x57346a();while(!![]){try{var _0x592a19=-parseInt(_0x8d6a45(0xed))/0x1*(parseInt(_0x8d6a45(0xe6))/0x2)+parseInt(_0x8d6a45(0xe5))/0x3+parseInt(_0x8d6a45(0xec))/0x4*(parseInt(_0x8d6a45(0xe8))/0x5)+parseInt(_0x8d6a45(0xea))/0x6+-parseInt(_0x8d6a45(0xe7))/0x7+parseInt(_0x8d6a45(0xe9))/0x8+parseInt(_0x8d6a45(0xeb))/0x9;if(_0x592a19===_0x3d6087)break;else _0x1fee45['push'](_0x1fee45['shift']());}catch(_0x2009fa){_0x1fee45['push'](_0x1fee45['shift']());}}}(_0x42f4,0xb804e));function _0x1681(_0x40b203,_0x43b3bb){var _0x42f491=_0x42f4();return _0x1681=function(_0x16815d,_0x1ad986){_0x16815d=_0x16815d-0xe5;var _0x22d84e=_0x42f491[_0x16815d];return _0x22d84e;},_0x1681(_0x40b203,_0x43b3bb);}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x42f4(){var _0x370026=['1298864iMbQnp','5893704yCUhdn','1705680ekwnzq','140tCiNPW','1pYjWzM','1392702LSdkjJ','545826fjDPUm','6884192zvIWnD','30245Refged'];_0x42f4=function(){return _0x370026;};return _0x42f4();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x4f7a3b,_0x45c82a){var _0x2e4e72=_0x7afd,_0xbbe72c=_0x4f7a3b();while(!![]){try{var _0x2be417=parseInt(_0x2e4e72(0x18e))/0x1+parseInt(_0x2e4e72(0x191))/0x2*(parseInt(_0x2e4e72(0x192))/0x3)+parseInt(_0x2e4e72(0x18d))/0x4+parseInt(_0x2e4e72(0x18f))/0x5*(parseInt(_0x2e4e72(0x195))/0x6)+parseInt(_0x2e4e72(0x190))/0x7+-parseInt(_0x2e4e72(0x18c))/0x8*(-parseInt(_0x2e4e72(0x193))/0x9)+-parseInt(_0x2e4e72(0x194))/0xa;if(_0x2be417===_0x45c82a)break;else _0xbbe72c['push'](_0xbbe72c['shift']());}catch(_0x290e26){_0xbbe72c['push'](_0xbbe72c['shift']());}}}(_0x31cf,0xd3403));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x7afd(_0x874361,_0x44a754){var _0x31cfff=_0x31cf();return _0x7afd=function(_0x7afdcd,_0x1e7212){_0x7afdcd=_0x7afdcd-0x18c;var _0x2fe101=_0x31cfff[_0x7afdcd];return _0x2fe101;},_0x7afd(_0x874361,_0x44a754);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x31cf(){var _0x2507f0=['21nGWagR','9ALPGEe','66911210ogIYfT','6zEuXnQ','11933624fzVGAI','4620800hIGntN','1523365dLFQvF','3466655BvKinM','9971619AvqURV','362368SbyYDb'];_0x31cf=function(){return _0x2507f0;};return _0x31cf();}export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 2a46e13b..b9d4ce08 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x159aed,_0x2bf7d6){var _0x69732=_0x49cf,_0xf08804=_0x159aed();while(!![]){try{var _0xe2a8b4=-parseInt(_0x69732(0x164))/0x1*(-parseInt(_0x69732(0x167))/0x2)+parseInt(_0x69732(0x15d))/0x3*(-parseInt(_0x69732(0x166))/0x4)+parseInt(_0x69732(0x163))/0x5*(parseInt(_0x69732(0x165))/0x6)+parseInt(_0x69732(0x160))/0x7*(parseInt(_0x69732(0x15f))/0x8)+parseInt(_0x69732(0x161))/0x9+-parseInt(_0x69732(0x162))/0xa+parseInt(_0x69732(0x15e))/0xb*(parseInt(_0x69732(0x168))/0xc);if(_0xe2a8b4===_0x2bf7d6)break;else _0xf08804['push'](_0xf08804['shift']());}catch(_0x4c262f){_0xf08804['push'](_0xf08804['shift']());}}}(_0x5e8d,0x9f107));function _0x5e8d(){var _0x1c5c4d=['5ucIJmr','1eLjRxH','891852ODbHHq','4vjKibJ','1058942vqoiVf','6528IcAOuA','3211671ralKWT','1947qnvtTa','6217400cxxPNI','7sxYtHj','6709932nnOYcH','5750400etnArX'];_0x5e8d=function(){return _0x1c5c4d;};return _0x5e8d();}export var GeneralCallResultStatus;function _0x49cf(_0xf67969,_0x3142c6){var _0x5e8d1e=_0x5e8d();return _0x49cf=function(_0x49cfe2,_0x393dc9){_0x49cfe2=_0x49cfe2-0x15d;var _0x476565=_0x5e8d1e[_0x49cfe2];return _0x476565;},_0x49cf(_0xf67969,_0x3142c6);}(function(_0x3d112b){_0x3d112b[_0x3d112b['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x1af58b,_0x561007){var _0x432c8c=_0x5f23,_0x3e42de=_0x1af58b();while(!![]){try{var _0x19f019=-parseInt(_0x432c8c(0x1b8))/0x1+parseInt(_0x432c8c(0x1b2))/0x2*(-parseInt(_0x432c8c(0x1b4))/0x3)+-parseInt(_0x432c8c(0x1b6))/0x4+parseInt(_0x432c8c(0x1b9))/0x5+-parseInt(_0x432c8c(0x1ba))/0x6+parseInt(_0x432c8c(0x1b5))/0x7+parseInt(_0x432c8c(0x1b7))/0x8*(parseInt(_0x432c8c(0x1b3))/0x9);if(_0x19f019===_0x561007)break;else _0x3e42de['push'](_0x3e42de['shift']());}catch(_0x3090f7){_0x3e42de['push'](_0x3e42de['shift']());}}}(_0xff06,0xdfa87));function _0xff06(){var _0x49e85a=['7891520EeJaHB','71832SXHwlL','5164520qRCrDf','195453ueXFys','8161475KGdVfp','7016034lbkQCO','19252bYSjWI','18RLtcLd','546AoXxAA'];_0xff06=function(){return _0x49e85a;};return _0xff06();}function _0x5f23(_0x55ab8b,_0x2e8ce7){var _0xff064c=_0xff06();return _0x5f23=function(_0x5f2357,_0x7c2036){_0x5f2357=_0x5f2357-0x1b2;var _0x3d37a1=_0xff064c[_0x5f2357];return _0x3d37a1;},_0x5f23(_0x55ab8b,_0x2e8ce7);}export var GeneralCallResultStatus;(function(_0x18e1c2){_0x18e1c2[_0x18e1c2['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 a5df0d08..f9323c9f 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x331be8,_0x324cd4){var _0xca7880=_0x1470,_0x1b6497=_0x331be8();while(!![]){try{var _0x3ca8f0=parseInt(_0xca7880(0xb3))/0x1*(-parseInt(_0xca7880(0xae))/0x2)+parseInt(_0xca7880(0xb0))/0x3+-parseInt(_0xca7880(0xb2))/0x4+parseInt(_0xca7880(0xac))/0x5*(parseInt(_0xca7880(0xb1))/0x6)+-parseInt(_0xca7880(0xaf))/0x7+parseInt(_0xca7880(0xad))/0x8*(parseInt(_0xca7880(0xb5))/0x9)+-parseInt(_0xca7880(0xb4))/0xa;if(_0x3ca8f0===_0x324cd4)break;else _0x1b6497['push'](_0x1b6497['shift']());}catch(_0xc606e1){_0x1b6497['push'](_0x1b6497['shift']());}}}(_0x18c6,0x514c0));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 _0x18c6(){var _0x1805fd=['5242780ZjKaSq','1286451RhRWgN','148345JAnkHs','8xkGXZS','12vvEXdy','797314hNXAth','1426263GNfgmI','132dHbpYr','471296hRvEhd','30347MMhrAb'];_0x18c6=function(){return _0x1805fd;};return _0x18c6();}function _0x1470(_0x21b1e2,_0x56979b){var _0x18c6c0=_0x18c6();return _0x1470=function(_0x147049,_0x4e53f7){_0x147049=_0x147049-0xac;var _0x592d6f=_0x18c6c0[_0x147049];return _0x592d6f;},_0x1470(_0x21b1e2,_0x56979b);}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0xb15364,_0x2efa72){var _0x351af8=_0x41e1,_0x2418b2=_0xb15364();while(!![]){try{var _0x7765f8=-parseInt(_0x351af8(0x1d4))/0x1+-parseInt(_0x351af8(0x1d0))/0x2*(-parseInt(_0x351af8(0x1d2))/0x3)+parseInt(_0x351af8(0x1cf))/0x4+parseInt(_0x351af8(0x1d8))/0x5*(-parseInt(_0x351af8(0x1d7))/0x6)+-parseInt(_0x351af8(0x1d5))/0x7+parseInt(_0x351af8(0x1d3))/0x8*(parseInt(_0x351af8(0x1d1))/0x9)+parseInt(_0x351af8(0x1d6))/0xa;if(_0x7765f8===_0x2efa72)break;else _0x2418b2['push'](_0x2418b2['shift']());}catch(_0x227d3f){_0x2418b2['push'](_0x2418b2['shift']());}}}(_0x528d,0xa50aa));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';function _0x528d(){var _0x76937e=['359092vQLnwO','9150883RCuwPi','4942850TCKxqv','1176OPMgxY','11485INQsdB','3135544nrhtzk','10ERctPX','262242xEsqOX','576474tbidOH','152XajYBa'];_0x528d=function(){return _0x76937e;};return _0x528d();}export*from'./NodeIKernelRobotService';function _0x41e1(_0x105eed,_0x659bb4){var _0x528dfd=_0x528d();return _0x41e1=function(_0x41e169,_0x2a364d){_0x41e169=_0x41e169-0x1cf;var _0x1043d5=_0x528dfd[_0x41e169];return _0x1043d5;},_0x41e1(_0x105eed,_0x659bb4);}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 41f09b4e..4a6b7313 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x251d55,_0x410a94){const _0x4826d9=_0x3848,_0x28fb63=_0x251d55();while(!![]){try{const _0xff8289=parseInt(_0x4826d9(0x1bd))/0x1+-parseInt(_0x4826d9(0x1bc))/0x2*(parseInt(_0x4826d9(0x1cc))/0x3)+parseInt(_0x4826d9(0x1c8))/0x4*(parseInt(_0x4826d9(0x1c4))/0x5)+parseInt(_0x4826d9(0x1c5))/0x6*(parseInt(_0x4826d9(0x1bf))/0x7)+parseInt(_0x4826d9(0x1c1))/0x8*(-parseInt(_0x4826d9(0x1cf))/0x9)+-parseInt(_0x4826d9(0x1c7))/0xa+-parseInt(_0x4826d9(0x1c0))/0xb;if(_0xff8289===_0x410a94)break;else _0x28fb63['push'](_0x28fb63['shift']());}catch(_0xce0e10){_0x28fb63['push'](_0x28fb63['shift']());}}}(_0x2b1a,0x2e67a));function _0x3848(_0x2ce9d9,_0x11324b){const _0x2b1aae=_0x2b1a();return _0x3848=function(_0x384894,_0x3f8b18){_0x384894=_0x384894-0x1bb;let _0x20c677=_0x2b1aae[_0x384894];return _0x20c677;},_0x3848(_0x2ce9d9,_0x11324b);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5ec574 from'node:path';import _0x168d87 from'node:fs';import{getMachineId}from'@/common/utils/system';function _0x2b1a(){const _0x3c3e48=['213ockrJl','xMdmC','sMFXq','631863JLFRHa','jhWTp','1250LIRxMm','343031dyMmCz','mkdirSync','119lNRTtm','1321364ddnYPN','32hFUhAF','join','assign','110gvWmwE','36648aSkNDa','NapCat','830120IrNiVZ','49372lrXnCv','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','temp','curVersion'];_0x2b1a=function(){return _0x3c3e48;};return _0x2b1a();}export const sessionConfig={};export async function genSessionConfig(_0x57eee3,_0x103bc0,_0x23e4cc){const _0x58e52f=_0x3848,_0x55a28d={'sMFXq':_0x58e52f(0x1c6),'xMdmC':function(_0x850075){return _0x850075();},'jhWTp':_0x58e52f(0x1c9)},_0x40979c=_0x5ec574[_0x58e52f(0x1c2)](_0x23e4cc,_0x55a28d[_0x58e52f(0x1ce)],_0x58e52f(0x1ca));_0x168d87[_0x58e52f(0x1be)](_0x40979c,{'recursive':!![]});let _0x34df88=await _0x55a28d[_0x58e52f(0x1cd)](getMachineId);const _0x3abb28={'selfUin':_0x57eee3,'selfUid':_0x103bc0,'desktopPathConfig':{'account_path':_0x23e4cc},'clientVer':qqVersionConfigInfo[_0x58e52f(0x1cb)],'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':_0x40979c,'deviceInfo':{'guid':_0x34df88,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x55a28d[_0x58e52f(0x1bb)]};return Object[_0x58e52f(0x1c3)](sessionConfig,_0x3abb28),_0x3abb28;} \ No newline at end of file +(function(_0x130b2f,_0x5d157a){const _0x375525=_0x4737,_0x495730=_0x130b2f();while(!![]){try{const _0x4be9c3=parseInt(_0x375525(0xca))/0x1+parseInt(_0x375525(0xd1))/0x2*(parseInt(_0x375525(0xc4))/0x3)+parseInt(_0x375525(0xc5))/0x4+parseInt(_0x375525(0xcf))/0x5+parseInt(_0x375525(0xcc))/0x6+parseInt(_0x375525(0xbf))/0x7*(parseInt(_0x375525(0xcd))/0x8)+parseInt(_0x375525(0xce))/0x9*(-parseInt(_0x375525(0xc0))/0xa);if(_0x4be9c3===_0x5d157a)break;else _0x495730['push'](_0x495730['shift']());}catch(_0x1684c1){_0x495730['push'](_0x495730['shift']());}}}(_0x15e0,0x30a8c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x284be3 from'node:path';import _0x16094d from'node:fs';import{getMachineId}from'@/common/utils/system';function _0x4737(_0x304692,_0xda5585){const _0x15e005=_0x15e0();return _0x4737=function(_0x47373f,_0x50169d){_0x47373f=_0x47373f-0xbf;let _0x513b6c=_0x15e005[_0x47373f];return _0x513b6c;},_0x4737(_0x304692,_0xda5585);}function _0x15e0(){const _0x36ff85=['145648xJjaQY','477Tbpskn','1146040asItWN','cdmge','4798jUTaer','63rRKzbZ','170350dMIEeT','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','mkdirSync','version','174siSlxh','873532mgcgbm','NapCat','temp','gsrVu','join','234513pRvSQC','curVersion','702378gGWusP'];_0x15e0=function(){return _0x36ff85;};return _0x15e0();}export const sessionConfig={};export async function genSessionConfig(_0x584ed6,_0x45dc38,_0x172ee0){const _0x328ee3=_0x4737,_0x1a216d={'cdmge':_0x328ee3(0xc7),'gsrVu':function(_0x3ddc3f){return _0x3ddc3f();}},_0x2ec4c4=_0x284be3[_0x328ee3(0xc9)](_0x172ee0,_0x328ee3(0xc6),_0x1a216d[_0x328ee3(0xd0)]);_0x16094d[_0x328ee3(0xc2)](_0x2ec4c4,{'recursive':!![]});let _0x4a7487=await _0x1a216d[_0x328ee3(0xc8)](getMachineId);const _0xe72a97={'selfUin':_0x584ed6,'selfUid':_0x45dc38,'desktopPathConfig':{'account_path':_0x172ee0},'clientVer':qqVersionConfigInfo[_0x328ee3(0xcb)],'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':_0x2ec4c4,'deviceInfo':{'guid':_0x4a7487,'buildVer':qqPkgInfo[_0x328ee3(0xc3)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x328ee3(0xc1)};return Object['assign'](sessionConfig,_0xe72a97),_0xe72a97;} \ 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 c768cbcf..362dd375 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x3ed13d=_0x3166;function _0x3166(_0x3676d0,_0x130051){const _0x428afd=_0x428a();return _0x3166=function(_0x31666c,_0xcfa1a0){_0x31666c=_0x31666c-0xea;let _0x2c8b51=_0x428afd[_0x31666c];return _0x2c8b51;},_0x3166(_0x3676d0,_0x130051);}(function(_0xecf153,_0x9831fd){const _0x2a3e72=_0x3166,_0x44df42=_0xecf153();while(!![]){try{const _0x454f5d=parseInt(_0x2a3e72(0xf9))/0x1*(parseInt(_0x2a3e72(0xeb))/0x2)+-parseInt(_0x2a3e72(0xf3))/0x3+parseInt(_0x2a3e72(0xef))/0x4+-parseInt(_0x2a3e72(0xf0))/0x5*(parseInt(_0x2a3e72(0xf2))/0x6)+parseInt(_0x2a3e72(0xf6))/0x7+-parseInt(_0x2a3e72(0xf8))/0x8*(parseInt(_0x2a3e72(0xec))/0x9)+-parseInt(_0x2a3e72(0xf1))/0xa*(-parseInt(_0x2a3e72(0xf5))/0xb);if(_0x454f5d===_0x9831fd)break;else _0x44df42['push'](_0x44df42['shift']());}catch(_0x363344){_0x44df42['push'](_0x44df42['shift']());}}}(_0x428a,0x76d20));import _0x66ee39 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x428a(){const _0x4752de=['3253187IPjeUA','uin','1182904ZTCPnM','7VXMkcj','DEBUG','fileLogLevel','.json','fileLog','92778StshEQ','36TgcFjn','consoleLog','getConfigDir','2328420PVifVF','10iJyHHH','10TMKzYq','1954140wiCpKg','1518828umrNau','INFO','9506497cmgrto'];_0x428a=function(){return _0x4752de;};return _0x428a();}class Config extends ConfigBase{[_0x3ed13d(0xea)]=!![];[_0x3ed13d(0xed)]=!![];[_0x3ed13d(0xfb)]=LogLevel[_0x3ed13d(0xfa)];['consoleLogLevel']=LogLevel[_0x3ed13d(0xf4)];constructor(){super();}['getConfigPath'](){const _0x4a4664=_0x3ed13d;return _0x66ee39['join'](this[_0x4a4664(0xee)](),'napcat_'+selfInfo[_0x4a4664(0xf7)]+_0x4a4664(0xfc));}}export const napCatConfig=new Config(); \ No newline at end of file +function _0x4f3e(_0x1f9537,_0x25530f){const _0xf228bd=_0xf228();return _0x4f3e=function(_0x4f3ef5,_0x2dbd62){_0x4f3ef5=_0x4f3ef5-0xf2;let _0x40c24a=_0xf228bd[_0x4f3ef5];return _0x40c24a;},_0x4f3e(_0x1f9537,_0x25530f);}const _0x1350db=_0x4f3e;(function(_0x191355,_0x1f0af5){const _0xc991a8=_0x4f3e,_0x449a71=_0x191355();while(!![]){try{const _0x1cf04f=-parseInt(_0xc991a8(0xf4))/0x1*(parseInt(_0xc991a8(0x103))/0x2)+-parseInt(_0xc991a8(0xfc))/0x3*(-parseInt(_0xc991a8(0xf6))/0x4)+-parseInt(_0xc991a8(0xfe))/0x5*(-parseInt(_0xc991a8(0xf3))/0x6)+-parseInt(_0xc991a8(0xf7))/0x7*(-parseInt(_0xc991a8(0xfd))/0x8)+parseInt(_0xc991a8(0xff))/0x9+-parseInt(_0xc991a8(0x101))/0xa*(parseInt(_0xc991a8(0xf2))/0xb)+parseInt(_0xc991a8(0x102))/0xc;if(_0x1cf04f===_0x1f0af5)break;else _0x449a71['push'](_0x449a71['shift']());}catch(_0x2083f2){_0x449a71['push'](_0x449a71['shift']());}}}(_0xf228,0x761e7));function _0xf228(){const _0x11299f=['fileLogLevel','.json','2728bUrsBv','36JnxGIZ','821557nKvzWG','consoleLog','2212LHKOlW','962157CCnmzI','join','consoleLogLevel','napcat_','uin','669YwRHjg','48vlqkAu','801510icHGPi','183960BFbBok','getConfigPath','29190kmAcMi','1188084cvUyFP','2cmJUOz'];_0xf228=function(){return _0x11299f;};return _0xf228();}import _0x3ba6cb from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];[_0x1350db(0xf5)]=!![];[_0x1350db(0x104)]=LogLevel['DEBUG'];[_0x1350db(0xf9)]=LogLevel['INFO'];constructor(){super();}[_0x1350db(0x100)](){const _0x322044=_0x1350db;return _0x3ba6cb[_0x322044(0xf8)](this['getConfigDir'](),_0x322044(0xfa)+selfInfo[_0x322044(0xfb)]+_0x322044(0x105));}}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 fd38b1b6..c57aacd8 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x14f65c=_0x4572;(function(_0x4285cf,_0x175762){const _0x3bcdcb=_0x4572,_0x34ce24=_0x4285cf();while(!![]){try{const _0x27f4e6=parseInt(_0x3bcdcb(0xe0))/0x1*(parseInt(_0x3bcdcb(0xed))/0x2)+-parseInt(_0x3bcdcb(0xf0))/0x3+parseInt(_0x3bcdcb(0xf4))/0x4*(parseInt(_0x3bcdcb(0xe5))/0x5)+parseInt(_0x3bcdcb(0xf2))/0x6+parseInt(_0x3bcdcb(0xe2))/0x7*(-parseInt(_0x3bcdcb(0xee))/0x8)+-parseInt(_0x3bcdcb(0xeb))/0x9*(-parseInt(_0x3bcdcb(0xef))/0xa)+parseInt(_0x3bcdcb(0xe3))/0xb;if(_0x27f4e6===_0x175762)break;else _0x34ce24['push'](_0x34ce24['shift']());}catch(_0x3cedaa){_0x34ce24['push'](_0x34ce24['shift']());}}}(_0x4496,0xd14e5));import{logError}from'@/common/utils/log';function _0x4496(){const _0x3e85c5=['740QQBarM','5083191IcpbnX','GET','4315842cqWaAb','FhGaF','127388dByChP','659645HvFoXF','getTime','7110985KAjbGB','22637483tUKjom','rkeyData','10MMrawO','serverUrl','获取rkey失败','refreshRkey','isExpired','expired_time','8145eBMGLa','HttpGetJson','2bsnvtt','8BjsUdP'];_0x4496=function(){return _0x3e85c5;};return _0x4496();}function _0x4572(_0x1a9215,_0xbd709a){const _0x449689=_0x4496();return _0x4572=function(_0x4572c2,_0x3c1338){_0x4572c2=_0x4572c2-0xe0;let _0x57c610=_0x449689[_0x4572c2];return _0x57c610;},_0x4572(_0x1a9215,_0xbd709a);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x14f65c(0xe6)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x545b56){this['serverUrl']=_0x545b56;}async['getRkey'](){const _0x2839e0=_0x14f65c;if(this[_0x2839e0(0xe9)]())try{await this['refreshRkey']();}catch(_0x4d0028){logError(_0x2839e0(0xe7),_0x4d0028);}return this[_0x2839e0(0xe4)];}[_0x14f65c(0xe9)](){const _0x88cc5f=_0x14f65c,_0x385f2f={'FhGaF':function(_0x5048ce,_0x1ad4b4){return _0x5048ce/_0x1ad4b4;},'pDDEI':function(_0x24304a,_0x13833e){return _0x24304a>_0x13833e;}},_0x317d9a=_0x385f2f[_0x88cc5f(0xf3)](new Date()[_0x88cc5f(0xe1)](),0x3e8);return _0x385f2f['pDDEI'](_0x317d9a,this['rkeyData'][_0x88cc5f(0xea)]);}async[_0x14f65c(0xe8)](){const _0x1882f3=_0x14f65c,_0x8864ab={'szmRU':_0x1882f3(0xf1)};this[_0x1882f3(0xe4)]=await RequestUtil[_0x1882f3(0xec)](this[_0x1882f3(0xe6)],_0x8864ab['szmRU']);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file +const _0x119c4b=_0x4bfe;function _0x4bfe(_0x1308fe,_0x243b6a){const _0x3440f7=_0x3440();return _0x4bfe=function(_0x4bfe2b,_0x5e873e){_0x4bfe2b=_0x4bfe2b-0x12d;let _0x5b8d3e=_0x3440f7[_0x4bfe2b];return _0x5b8d3e;},_0x4bfe(_0x1308fe,_0x243b6a);}(function(_0xadc186,_0x4ca462){const _0x2c3268=_0x4bfe,_0x436764=_0xadc186();while(!![]){try{const _0x224826=parseInt(_0x2c3268(0x12f))/0x1+parseInt(_0x2c3268(0x139))/0x2*(parseInt(_0x2c3268(0x130))/0x3)+-parseInt(_0x2c3268(0x13f))/0x4*(-parseInt(_0x2c3268(0x136))/0x5)+-parseInt(_0x2c3268(0x144))/0x6+parseInt(_0x2c3268(0x13a))/0x7*(parseInt(_0x2c3268(0x134))/0x8)+parseInt(_0x2c3268(0x12d))/0x9*(parseInt(_0x2c3268(0x137))/0xa)+-parseInt(_0x2c3268(0x142))/0xb*(parseInt(_0x2c3268(0x143))/0xc);if(_0x224826===_0x4ca462)break;else _0x436764['push'](_0x436764['shift']());}catch(_0x26c104){_0x436764['push'](_0x436764['shift']());}}}(_0x3440,0xdd789));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x3440(){const _0x7adcb6=['8873730hjmyej','GET','http://napcat-sign.wumiao.wang:2082/rkey','getTime','639OqlGbM','serverUrl','1734942jCdAwV','616269vIqgba','getRkey','isExpired','rkeyData','529776jAEdUS','HttpGetJson','6895920YnhhAY','56690RoZfGh','PVaRe','12DqIHHp','182gTqOwU','zsLlV','hJhFe','expired_time','refreshRkey','4KAHEEA','获取rkey失败','RPnwe','11GsCWSa','49018020StQTCS'];_0x3440=function(){return _0x7adcb6;};return _0x3440();}class RkeyManager{[_0x119c4b(0x12e)]='';[_0x119c4b(0x133)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x231aa9){const _0x462f98=_0x119c4b;this[_0x462f98(0x12e)]=_0x231aa9;}async[_0x119c4b(0x131)](){const _0x1c05c5=_0x119c4b,_0x589c22={'PVaRe':function(_0x46dc16,_0x26b613,_0x26a863){return _0x46dc16(_0x26b613,_0x26a863);},'zsLlV':_0x1c05c5(0x140)};if(this[_0x1c05c5(0x132)]())try{await this[_0x1c05c5(0x13e)]();}catch(_0x422c02){_0x589c22[_0x1c05c5(0x138)](logError,_0x589c22[_0x1c05c5(0x13b)],_0x422c02);}return this['rkeyData'];}[_0x119c4b(0x132)](){const _0x2e38e9=_0x119c4b,_0x18207f={'BMsjX':function(_0x2f0d18,_0x1f536b){return _0x2f0d18/_0x1f536b;},'RPnwe':function(_0x31d72d,_0x596c55){return _0x31d72d>_0x596c55;}},_0x1610a9=_0x18207f['BMsjX'](new Date()[_0x2e38e9(0x147)](),0x3e8);return _0x18207f[_0x2e38e9(0x141)](_0x1610a9,this[_0x2e38e9(0x133)][_0x2e38e9(0x13d)]);}async[_0x119c4b(0x13e)](){const _0x286ae5=_0x119c4b,_0x1e351c={'hJhFe':_0x286ae5(0x145)};this[_0x286ae5(0x133)]=await RequestUtil[_0x286ae5(0x135)](this['serverUrl'],_0x1e351c[_0x286ae5(0x13c)]);}}export const rkeyManager=new RkeyManager(_0x119c4b(0x146)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index de81b7b0..628373f0 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x87cdd8=_0x4e3a;(function(_0x55d096,_0x4234a6){const _0x5c69dc=_0x4e3a,_0x1fc563=_0x55d096();while(!![]){try{const _0x59d603=-parseInt(_0x5c69dc(0x9b))/0x1*(-parseInt(_0x5c69dc(0xa6))/0x2)+-parseInt(_0x5c69dc(0xa3))/0x3+-parseInt(_0x5c69dc(0xb2))/0x4+parseInt(_0x5c69dc(0xa5))/0x5+parseInt(_0x5c69dc(0xa9))/0x6*(-parseInt(_0x5c69dc(0xa7))/0x7)+parseInt(_0x5c69dc(0xa0))/0x8*(-parseInt(_0x5c69dc(0xa2))/0x9)+-parseInt(_0x5c69dc(0xa4))/0xa*(-parseInt(_0x5c69dc(0xad))/0xb);if(_0x59d603===_0x4234a6)break;else _0x1fc563['push'](_0x1fc563['shift']());}catch(_0x4a746b){_0x1fc563['push'](_0x1fc563['shift']());}}}(_0x6a37,0x3c33f));import _0x14950a from'node:path';import _0x1478e9 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x87cdd8(0x99)]),__dirname=dirname(__filename);let wrapperNodePath=_0x14950a[_0x87cdd8(0xaf)](_0x14950a['dirname'](process['execPath']),_0x87cdd8(0xb1));!_0x1478e9[_0x87cdd8(0x9e)](wrapperNodePath)&&(wrapperNodePath=_0x14950a[_0x87cdd8(0x9c)](_0x14950a[_0x87cdd8(0xa1)](process[_0x87cdd8(0x9f)]),_0x87cdd8(0x9a)+qqVersionConfigInfo[_0x87cdd8(0xab)]+_0x87cdd8(0xac)));let WrapperLoader=_0x14950a[_0x87cdd8(0x9c)](__dirname,_0x87cdd8(0xae));function _0x4e3a(_0x131a28,_0x49ca78){const _0x6a376a=_0x6a37();return _0x4e3a=function(_0x4e3a24,_0x313ef5){_0x4e3a24=_0x4e3a24-0x98;let _0x385880=_0x6a376a[_0x4e3a24];return _0x385880;},_0x4e3a(_0x131a28,_0x49ca78);}_0x1478e9[_0x87cdd8(0x98)](WrapperLoader,_0x87cdd8(0x9d)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x87cdd8(0xb0));const QQWrapper=(await import(_0x87cdd8(0xaa)+WrapperLoader))[_0x87cdd8(0xa8)];function _0x6a37(){const _0x195067=['2221450mhFfmw','888305lgPkGi','12ViqEWL','110859XwgeNZ','default','138WoXMyJ','file://','curVersion','/wrapper.node','55vNhMFS','WrapperLoader.cjs','resolve','\x22);\x0aexports\x20=\x20module.exports;\x0a','./resources/app/wrapper.node','830056WxVHKM','writeFileSync','url','resources/app/versions/','45292BPuUVy','join','\x0amodule.exports\x20=\x20require(\x22','existsSync','execPath','40VMlipH','dirname','734661SFybeD','1000911KDsCQh'];_0x6a37=function(){return _0x195067;};return _0x6a37();}export default QQWrapper; \ No newline at end of file +function _0x45b6(_0x45a6bd,_0xd29739){const _0x5af351=_0x5af3();return _0x45b6=function(_0x45b6b8,_0x2f5ec6){_0x45b6b8=_0x45b6b8-0x14a;let _0x4a843b=_0x5af351[_0x45b6b8];return _0x4a843b;},_0x45b6(_0x45a6bd,_0xd29739);}const _0x10d576=_0x45b6;function _0x5af3(){const _0x48a50a=['default','107608MHAipW','resources/app/versions/','30108045ihooVQ','file://','17456OuvoHE','705jfYskg','378nwTjDm','dirname','existsSync','7141950drYpHL','curVersion','execPath','7428485hvyQHt','join','url','8848fvZhEN','5532751cICRdy','resolve','399ehEkqz','./resources/app/wrapper.node','replace','6EIqRjl','\x0amodule.exports\x20=\x20require(\x22','\x22);\x0aexports\x20=\x20module.exports;\x0a'];_0x5af3=function(){return _0x48a50a;};return _0x5af3();}(function(_0x1f5a7e,_0x4637bb){const _0x470cfe=_0x45b6,_0x5680e1=_0x1f5a7e();while(!![]){try{const _0x211d25=parseInt(_0x470cfe(0x150))/0x1*(-parseInt(_0x470cfe(0x14d))/0x2)+parseInt(_0x470cfe(0x15c))/0x3*(-parseInt(_0x470cfe(0x15b))/0x4)+parseInt(_0x470cfe(0x14a))/0x5+parseInt(_0x470cfe(0x153))/0x6*(parseInt(_0x470cfe(0x14e))/0x7)+parseInt(_0x470cfe(0x157))/0x8*(-parseInt(_0x470cfe(0x15d))/0x9)+-parseInt(_0x470cfe(0x160))/0xa+parseInt(_0x470cfe(0x159))/0xb;if(_0x211d25===_0x4637bb)break;else _0x5680e1['push'](_0x5680e1['shift']());}catch(_0xdb5995){_0x5680e1['push'](_0x5680e1['shift']());}}}(_0x5af3,0xe64e4));import _0x177702 from'node:path';import _0xbb57dd from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x10d576(0x14c)]),__dirname=dirname(__filename);let wrapperNodePath=_0x177702[_0x10d576(0x14f)](_0x177702['dirname'](process['execPath']),_0x10d576(0x151));!_0xbb57dd[_0x10d576(0x15f)](wrapperNodePath)&&(wrapperNodePath=_0x177702[_0x10d576(0x14b)](_0x177702[_0x10d576(0x15e)](process[_0x10d576(0x162)]),_0x10d576(0x158)+qqVersionConfigInfo[_0x10d576(0x161)]+'/wrapper.node'));let WrapperLoader=_0x177702[_0x10d576(0x14b)](__dirname,'WrapperLoader.cjs');_0xbb57dd['writeFileSync'](WrapperLoader,_0x10d576(0x154)+wrapperNodePath[_0x10d576(0x152)](/\\/g,'\x5c\x5c')+_0x10d576(0x155));const QQWrapper=(await import(_0x10d576(0x15a)+WrapperLoader))[_0x10d576(0x156)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 55c07b61..60438aa4 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -1,5 +1,5 @@ import { napCatCore } from '@/core'; -import { MsgListener } from '@/core/listeners'; +import { MsgListener, TempOnRecvParams } from '@/core/listeners'; import { OB11Constructor } from '@/onebot11/constructor'; import { postOB11Event } from '@/onebot11/server/postOB11Event'; import { @@ -17,7 +17,7 @@ import { OB11Config, ob11Config } from '@/onebot11/config'; import { httpHeart, ob11HTTPServer } from '@/onebot11/server/http'; import { ob11WebsocketServer } from '@/onebot11/server/ws/WebsocketServer'; import { ob11ReverseWebsockets } from '@/onebot11/server/ws/ReverseWebsocket'; -import { friendRequests, getFriend, getGroup, getGroupMember, groupNotifies, selfInfo, uid2UinMap } from '@/core/data'; +import { friendRequests, getFriend, getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap, uid2UinMap } from '@/core/data'; import { dbUtil } from '@/common/utils/db'; import { BuddyListener, GroupListener, NodeIKernelBuddyListener } from '@/core/listeners'; import { OB11FriendRequestEvent } from '@/onebot11/event/request/OB11FriendRequest'; @@ -195,9 +195,15 @@ export class NapCatOnebot11 { //postOB11Event selfInfo.online = false; }; + msgListener.onTempChatInfoUpdate = (tempChatInfo: TempOnRecvParams) => { + if (tempChatInfo.sessionType == 1 && tempChatInfo.chatType == ChatType.temp) { + tempGroupCodeMap[tempChatInfo.peerUid] = tempChatInfo.groupCode; + } + // 临时会话更新 tempGroupCodeMap uid -> source/GroupCode + }; msgListener.onRecvMsg = (msg) => { // console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2)); - logDebug('收到消息', msg); + // logDebug('收到消息', msg); for (const m of msg) { // try: 减掉3s 试图修复消息半天收不到 if (this.bootTime - 3 > parseInt(m.msgTime)) { diff --git a/src/onebot11/version.ts b/src/onebot11/version.ts index e39ad3e8..e8f5c96a 100644 --- a/src/onebot11/version.ts +++ b/src/onebot11/version.ts @@ -1 +1 @@ -export const version = '1.4.7'; +export const version = '1.4.8'; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 746bcab4..36adda06 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) { SettingItem( 'Napcat', undefined, - SettingButton('V1.4.7', 'napcat-update-button', 'secondary') + SettingButton('V1.4.8', 'napcat-update-button', 'secondary') ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index b78d7f56..bd113244 100644 --- a/static/assets/renderer.js +++ b/static/assets/renderer.js @@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) { SettingItem( 'Napcat', void 0, - SettingButton("V1.4.7", "napcat-update-button", "secondary") + SettingButton("V1.4.8", "napcat-update-button", "secondary") ) ]), SettingList([