diff --git a/src/common/utils/MessageUnique.ts b/src/common/utils/MessageUnique.ts new file mode 100644 index 00000000..72fd9814 --- /dev/null +++ b/src/common/utils/MessageUnique.ts @@ -0,0 +1,53 @@ +import crypto from 'crypto'; + +class LimitedHashTable { + private keyToValue: Map = new Map(); + private valueToKey: Map = new Map(); + private maxSize: number; + private KeyQueneList: K[] = []; + private ValueQueneList: V[] = []; + constructor(maxSize: number) { + this.maxSize = maxSize; + } + set(key: K, value: V): void { + this.keyToValue.set(key, value); + this.valueToKey.set(value, key); + if (this.KeyQueneList.length >= this.maxSize || this.ValueQueneList.length >= this.maxSize) { + this.KeyQueneList.shift(); + this.ValueQueneList.shift(); + } + } + + getValue(key: K): V | undefined { + return this.keyToValue.get(key); + } + + getKey(value: V): K | undefined { + return this.valueToKey.get(value); + } + + delete(key: K): void { + const value = this.keyToValue.get(key); + if (value !== undefined) { + this.keyToValue.delete(key); + this.valueToKey.delete(value); + } + } +} + +class MessageUniqueWrapper { + private msgIdMap: LimitedHashTable = new LimitedHashTable(1000); + createMsg(MsgId: string) { + let ShortId = parseInt(crypto.createHash('sha1').update('2345').digest('hex').slice(0, 8), 16); + this.msgIdMap.set(ShortId, MsgId); + return ShortId; + } + getMsgIdByShortId(ShortId: number) { + return this.msgIdMap.getValue(ShortId); + } + getShortIdByMsgId(MsgId: string) { + return this.msgIdMap.getKey(MsgId); + } +} + +export const MessageUnique = new MessageUniqueWrapper(); \ No newline at end of file diff --git a/src/core b/src/core index 399e9ae3..560889a9 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 399e9ae3f0c113d0144bcebe3263640fa4471442 +Subproject commit 560889a937161423e03bfe1cf55ec805725011d5 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 62378081..197348b9 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x154b(){var _0x19d84b=['32055380hKAsVE','6601085XpJHUk','78146SLaFUf','8YoryNO','onMSFStatusChange','24ZZyUDk','7645149giBFIa','177IgGXzZ','1862670HTcYlt','16432fDNlzf','8471239jyPyfG'];_0x154b=function(){return _0x19d84b;};return _0x154b();}var _0x26f9b7=_0x36b7;(function(_0x5a1684,_0x328281){var _0xa7ffd5=_0x36b7,_0x5e97b0=_0x5a1684();while(!![]){try{var _0x442b5a=parseInt(_0xa7ffd5(0x13b))/0x1*(-parseInt(_0xa7ffd5(0x13e))/0x2)+parseInt(_0xa7ffd5(0x135))/0x3*(-parseInt(_0xa7ffd5(0x137))/0x4)+-parseInt(_0xa7ffd5(0x13a))/0x5+-parseInt(_0xa7ffd5(0x136))/0x6+parseInt(_0xa7ffd5(0x138))/0x7+parseInt(_0xa7ffd5(0x13c))/0x8*(-parseInt(_0xa7ffd5(0x134))/0x9)+parseInt(_0xa7ffd5(0x139))/0xa;if(_0x442b5a===_0x328281)break;else _0x5e97b0['push'](_0x5e97b0['shift']());}catch(_0x35cf77){_0x5e97b0['push'](_0x5e97b0['shift']());}}}(_0x154b,0xb870c));function _0x36b7(_0x161664,_0x2a89ac){var _0x154b02=_0x154b();return _0x36b7=function(_0x36b71b,_0x20f910){_0x36b71b=_0x36b71b-0x134;var _0x9b769f=_0x154b02[_0x36b71b];return _0x9b769f;},_0x36b7(_0x161664,_0x2a89ac);}export class DependsAdapter{[_0x26f9b7(0x13d)](_0x27e93a,_0x123ff0){}['onMSFSsoError'](_0x27cce9){}['getGroupCode'](_0x552cf4){}} \ No newline at end of file +var _0x348973=_0x3c1e;function _0x3c1e(_0x5ee745,_0x337c0d){var _0x2cbd1f=_0x2cbd();return _0x3c1e=function(_0x3c1e92,_0x3b810c){_0x3c1e92=_0x3c1e92-0x1ab;var _0x37b802=_0x2cbd1f[_0x3c1e92];return _0x37b802;},_0x3c1e(_0x5ee745,_0x337c0d);}function _0x2cbd(){var _0x351c54=['217VpbvZf','623028XLabrC','4201110oWJQHv','4686344hsQdLM','60384cRWWDI','getGroupCode','5753820UbkJGg','onMSFSsoError','8523315Vdgnzi','845698CoLuKP','50iwlXfY','9ENDphd'];_0x2cbd=function(){return _0x351c54;};return _0x2cbd();}(function(_0x137249,_0xf1ab75){var _0x1c8973=_0x3c1e,_0x43f0c9=_0x137249();while(!![]){try{var _0x1b956d=-parseInt(_0x1c8973(0x1ad))/0x1+-parseInt(_0x1c8973(0x1b5))/0x2*(parseInt(_0x1c8973(0x1ab))/0x3)+-parseInt(_0x1c8973(0x1b2))/0x4+-parseInt(_0x1c8973(0x1ae))/0x5+-parseInt(_0x1c8973(0x1b0))/0x6*(parseInt(_0x1c8973(0x1ac))/0x7)+parseInt(_0x1c8973(0x1af))/0x8+parseInt(_0x1c8973(0x1b4))/0x9*(parseInt(_0x1c8973(0x1b6))/0xa);if(_0x1b956d===_0xf1ab75)break;else _0x43f0c9['push'](_0x43f0c9['shift']());}catch(_0x48c912){_0x43f0c9['push'](_0x43f0c9['shift']());}}}(_0x2cbd,0xccc4c));export class DependsAdapter{['onMSFStatusChange'](_0x4a8bc4,_0x2ae48d){}[_0x348973(0x1b3)](_0x2fd458){}[_0x348973(0x1b1)](_0x309ac2){}} \ 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 01e3e0eb..33cca19e 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x2bd2(){var _0x3e6087=['122034pDrLzk','2FNLUqg','30BUEQhw','9RdLkby','19580110PlebGo','669972NjipTE','dispatchCallWithJson','1844359RzjPLH','18882YEepSz','8781210lWznor','dispatchCall','1162pcHSoR','9061088gaPUzT'];_0x2bd2=function(){return _0x3e6087;};return _0x2bd2();}function _0x304b(_0x335c81,_0xc08e00){var _0x2bd290=_0x2bd2();return _0x304b=function(_0x304baa,_0x3835e1){_0x304baa=_0x304baa-0xee;var _0x46af11=_0x2bd290[_0x304baa];return _0x46af11;},_0x304b(_0x335c81,_0xc08e00);}var _0x584809=_0x304b;(function(_0x588af1,_0x422d15){var _0x462c7a=_0x304b,_0x4c9437=_0x588af1();while(!![]){try{var _0x11d093=parseInt(_0x462c7a(0xf1))/0x1*(parseInt(_0x462c7a(0xf8))/0x2)+parseInt(_0x462c7a(0xf9))/0x3*(-parseInt(_0x462c7a(0xef))/0x4)+-parseInt(_0x462c7a(0xf3))/0x5+parseInt(_0x462c7a(0xf2))/0x6*(-parseInt(_0x462c7a(0xf5))/0x7)+parseInt(_0x462c7a(0xf6))/0x8+parseInt(_0x462c7a(0xfa))/0x9*(parseInt(_0x462c7a(0xee))/0xa)+parseInt(_0x462c7a(0xf7))/0xb;if(_0x11d093===_0x422d15)break;else _0x4c9437['push'](_0x4c9437['shift']());}catch(_0x3428df){_0x4c9437['push'](_0x4c9437['shift']());}}}(_0x2bd2,0xf250e));export class DispatcherAdapter{['dispatchRequest'](_0x4be085){}[_0x584809(0xf4)](_0x56ed33){}[_0x584809(0xf0)](_0x3116e0){}} \ No newline at end of file +function _0x5a55(_0x2e45c5,_0x12f27b){var _0xc2cfaa=_0xc2cf();return _0x5a55=function(_0x5a552b,_0x9c1933){_0x5a552b=_0x5a552b-0xe7;var _0x34153b=_0xc2cfaa[_0x5a552b];return _0x34153b;},_0x5a55(_0x2e45c5,_0x12f27b);}var _0x3e8271=_0x5a55;function _0xc2cf(){var _0x5b8906=['dispatchCallWithJson','597285VrcfBe','1413zhUlMy','dispatchRequest','8210685mqBWYB','304168qDyUuR','6017376KwvHtv','2283784VxTjMw','171408VAMbvH','5Rlkgti','1951736RdKeNO'];_0xc2cf=function(){return _0x5b8906;};return _0xc2cf();}(function(_0x4ac8f5,_0x4564a7){var _0x3dce5d=_0x5a55,_0x1d3e23=_0x4ac8f5();while(!![]){try{var _0x46add1=parseInt(_0x3dce5d(0xed))/0x1+-parseInt(_0x3dce5d(0xef))/0x2+-parseInt(_0x3dce5d(0xe9))/0x3+parseInt(_0x3dce5d(0xe7))/0x4*(parseInt(_0x3dce5d(0xf1))/0x5)+-parseInt(_0x3dce5d(0xee))/0x6+-parseInt(_0x3dce5d(0xec))/0x7+-parseInt(_0x3dce5d(0xf0))/0x8*(-parseInt(_0x3dce5d(0xea))/0x9);if(_0x46add1===_0x4564a7)break;else _0x1d3e23['push'](_0x1d3e23['shift']());}catch(_0x4f3f26){_0x1d3e23['push'](_0x1d3e23['shift']());}}}(_0xc2cf,0x9c0aa));export class DispatcherAdapter{[_0x3e8271(0xeb)](_0x297547){}['dispatchCall'](_0x2410c6){}[_0x3e8271(0xe8)](_0x2f95c2){}} \ 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 59fb2aed..cf686eb7 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0xfa0b19=_0x5960;function _0x2c4d(){var _0x4989f6=['2984kmbUNm','onUpdateGeneralFlag','3458497zNOVGL','12251020XKdqJe','4ySCDRG','51RvKBnG','402HsXUKF','47221zqyeWj','onInstallFinished','15006915DQePoM','onGetSrvCalTime','25676232mZKZEv','getAppSetting','fixPicImgType','13rCJDij','8vpOMRn','9ijfema','20905CeNPbn'];_0x2c4d=function(){return _0x4989f6;};return _0x2c4d();}(function(_0x59da3e,_0x39155b){var _0x443774=_0x5960,_0x1d8e85=_0x59da3e();while(!![]){try{var _0x4b8366=-parseInt(_0x443774(0x169))/0x1*(-parseInt(_0x443774(0x166))/0x2)+parseInt(_0x443774(0x167))/0x3*(parseInt(_0x443774(0x162))/0x4)+-parseInt(_0x443774(0x161))/0x5*(parseInt(_0x443774(0x168))/0x6)+-parseInt(_0x443774(0x164))/0x7*(-parseInt(_0x443774(0x15f))/0x8)+parseInt(_0x443774(0x160))/0x9*(parseInt(_0x443774(0x165))/0xa)+parseInt(_0x443774(0x16b))/0xb+-parseInt(_0x443774(0x15b))/0xc*(parseInt(_0x443774(0x15e))/0xd);if(_0x4b8366===_0x39155b)break;else _0x1d8e85['push'](_0x1d8e85['shift']());}catch(_0x4b8ee9){_0x1d8e85['push'](_0x1d8e85['shift']());}}}(_0x2c4d,0xbc2bd));function _0x5960(_0x2c4a86,_0x104d63){var _0x2c4d14=_0x2c4d();return _0x5960=function(_0x596038,_0x3a25c5){_0x596038=_0x596038-0x15a;var _0xab67c8=_0x2c4d14[_0x596038];return _0xab67c8;},_0x5960(_0x2c4a86,_0x104d63);}export class GlobalAdapter{['onLog'](..._0xb52745){}[_0xfa0b19(0x15a)](..._0x2b09a6){}['onShowErrUITips'](..._0x5dce9b){}[_0xfa0b19(0x15d)](..._0x58731a){}[_0xfa0b19(0x15c)](..._0x3e8219){}[_0xfa0b19(0x16a)](..._0x4c2b9f){}[_0xfa0b19(0x163)](..._0x3267a1){}['onGetOfflineMsg'](..._0x1cf55f){}} \ No newline at end of file +function _0x4414(_0x491bbb,_0x4da3f5){var _0x47f06d=_0x47f0();return _0x4414=function(_0x441472,_0x1e87d4){_0x441472=_0x441472-0xce;var _0x1001cf=_0x47f06d[_0x441472];return _0x1001cf;},_0x4414(_0x491bbb,_0x4da3f5);}var _0x51e847=_0x4414;function _0x47f0(){var _0x5c4679=['3146440GkbGwK','onInstallFinished','getAppSetting','63770GrUMQh','354fswJOf','22brvXmU','3360240pOwJim','onGetOfflineMsg','2041956JywvWB','fixPicImgType','onShowErrUITips','2125010prfoPf','9QEsUAh','542338WDZURK','onUpdateGeneralFlag','3JqkKyP','10943824cvtLlO','onLog','8Tsgshb'];_0x47f0=function(){return _0x5c4679;};return _0x47f0();}(function(_0x1b8f36,_0x3f89c4){var _0x510ad6=_0x4414,_0x3766ac=_0x1b8f36();while(!![]){try{var _0x581e43=parseInt(_0x510ad6(0xdd))/0x1*(-parseInt(_0x510ad6(0xdb))/0x2)+parseInt(_0x510ad6(0xd4))/0x3+parseInt(_0x510ad6(0xe0))/0x4*(-parseInt(_0x510ad6(0xd9))/0x5)+parseInt(_0x510ad6(0xd2))/0x6*(parseInt(_0x510ad6(0xd1))/0x7)+parseInt(_0x510ad6(0xde))/0x8+-parseInt(_0x510ad6(0xda))/0x9*(parseInt(_0x510ad6(0xce))/0xa)+parseInt(_0x510ad6(0xd3))/0xb*(-parseInt(_0x510ad6(0xd6))/0xc);if(_0x581e43===_0x3f89c4)break;else _0x3766ac['push'](_0x3766ac['shift']());}catch(_0x5046e9){_0x3766ac['push'](_0x3766ac['shift']());}}}(_0x47f0,0xac9fb));export class GlobalAdapter{[_0x51e847(0xdf)](..._0x2e8508){}['onGetSrvCalTime'](..._0x4019cc){}[_0x51e847(0xd8)](..._0x25499a){}[_0x51e847(0xd7)](..._0x32fd06){}[_0x51e847(0xd0)](..._0x58e97f){}[_0x51e847(0xcf)](..._0x5c8ba6){}[_0x51e847(0xdc)](..._0x5b9901){}[_0x51e847(0xd5)](..._0x4e5be4){}} \ 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 1dfc0eba..85f4c2dd 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x1b522b,_0x2d1e32){var _0x4752b3=_0x4f72,_0x56081d=_0x1b522b();while(!![]){try{var _0x626767=-parseInt(_0x4752b3(0x10a))/0x1*(-parseInt(_0x4752b3(0x10d))/0x2)+-parseInt(_0x4752b3(0x10f))/0x3+-parseInt(_0x4752b3(0x109))/0x4+-parseInt(_0x4752b3(0x10e))/0x5+parseInt(_0x4752b3(0x10b))/0x6*(-parseInt(_0x4752b3(0x10c))/0x7)+parseInt(_0x4752b3(0x110))/0x8+parseInt(_0x4752b3(0x108))/0x9;if(_0x626767===_0x2d1e32)break;else _0x56081d['push'](_0x56081d['shift']());}catch(_0x4f649c){_0x56081d['push'](_0x56081d['shift']());}}}(_0xaffd,0xbdea3));function _0xaffd(){var _0x1cce67=['3207972lNPDIG','4367920vxPcwR','35112978hzsLxI','3690340XMaweL','11wczyay','66324DwiTBw','448NCfyAO','16982irLQtq','5317885dhBlEC'];_0xaffd=function(){return _0x1cce67;};return _0xaffd();}export*from'./NodeIDependsAdapter';function _0x4f72(_0x475b06,_0x558ddc){var _0xaffd73=_0xaffd();return _0x4f72=function(_0x4f72a3,_0x393939){_0x4f72a3=_0x4f72a3-0x108;var _0x29eabb=_0xaffd73[_0x4f72a3];return _0x29eabb;},_0x4f72(_0x475b06,_0x558ddc);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +function _0x4106(_0x7539dd,_0x3a31d1){var _0x4df8c6=_0x4df8();return _0x4106=function(_0x4106af,_0x110401){_0x4106af=_0x4106af-0x178;var _0x4de855=_0x4df8c6[_0x4106af];return _0x4de855;},_0x4106(_0x7539dd,_0x3a31d1);}function _0x4df8(){var _0x2b6efc=['6120051YJJKtM','3620730kzdjzf','412231qRQCEq','11ZtMrdw','3081875IlllMC','4170250PzmiBP','486256eEBBoC','45PcRnsD','3akBsgX','4abIkrd','556246nSTeYg'];_0x4df8=function(){return _0x2b6efc;};return _0x4df8();}(function(_0x4af822,_0x380352){var _0x58b117=_0x4106,_0x5bfcf9=_0x4af822();while(!![]){try{var _0x5e6778=parseInt(_0x58b117(0x181))/0x1+-parseInt(_0x58b117(0x17e))/0x2*(-parseInt(_0x58b117(0x17c))/0x3)+-parseInt(_0x58b117(0x17d))/0x4*(parseInt(_0x58b117(0x178))/0x5)+-parseInt(_0x58b117(0x180))/0x6+parseInt(_0x58b117(0x17f))/0x7+-parseInt(_0x58b117(0x17a))/0x8*(parseInt(_0x58b117(0x17b))/0x9)+-parseInt(_0x58b117(0x179))/0xa*(-parseInt(_0x58b117(0x182))/0xb);if(_0x5e6778===_0x380352)break;else _0x5bfcf9['push'](_0x5bfcf9['shift']());}catch(_0x109686){_0x5bfcf9['push'](_0x5bfcf9['shift']());}}}(_0x4df8,0x6fccc));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index bae62b83..3c55a667 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x463730=_0x5bc9;function _0x254f(){const _0x47b692=['4160886tdRMIQ','getHotUpdateCachePath','addCacheScanedPaths','util','getFileType','clearCache','10419054UZBPSp','toUpperCase','clearChatCache','msgId','getRichMediaFilePathForGuild','includes','Doqxo','clearCacheDataByKeys','set','图片url获取失败','filePath','getChatCacheInfo','startsWith','tmp','6qymWGq','getImageUrl','mZfNp','join','onRichMediaDownloadComplete','defaultFileDownloadPath','rGBdj','4ZFZipf','611389GBLsTq','getImageSize','mySeY','fileUuid','getCacheSessionPathList','uploadFile','md5HexStr','PIC','copyFile','getStorageCleanService','getChatCacheList','getDesktopTmpPath','/download','getFileSize','getRkey','originImageUrl','56prqgRx','hvSBn','ext','CtNoa','scanCache','ZCEmf','getMsgService','addCacheScannedPaths','tFgbc','9187920KFmfbB','AfzMo','fileTypeFromFile','uKGEO','1072184BSaXpe','downloadRichMedia','unlink','JVZWR','7419130AZVHwe','oPlAg','onLoginSuccess','1083699HjXmiZ','getFileCacheInfo','clearChatCacheInfo','session'];_0x254f=function(){return _0x47b692;};return _0x254f();}(function(_0x57cad8,_0x4b2039){const _0x466adf=_0x5bc9,_0x116eef=_0x57cad8();while(!![]){try{const _0x1021a7=parseInt(_0x466adf(0x11f))/0x1*(parseInt(_0x466adf(0x117))/0x2)+-parseInt(_0x466adf(0x103))/0x3+-parseInt(_0x466adf(0x11e))/0x4*(parseInt(_0x466adf(0xfc))/0x5)+parseInt(_0x466adf(0x109))/0x6+-parseInt(_0x466adf(0x12f))/0x7*(-parseInt(_0x466adf(0xf8))/0x8)+parseInt(_0x466adf(0xff))/0x9+-parseInt(_0x466adf(0xf4))/0xa;if(_0x1021a7===_0x4b2039)break;else _0x116eef['push'](_0x116eef['shift']());}catch(_0xbdf136){_0x116eef['push'](_0x116eef['shift']());}}}(_0x254f,0xedb7b));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x30d104 from'path';import _0x14504e from'fs';function _0x5bc9(_0x297afb,_0x1d2ee6){const _0x254fdc=_0x254f();return _0x5bc9=function(_0x5bc915,_0x458799){_0x5bc915=_0x5bc915-0xf4;let _0x407e7b=_0x254fdc[_0x5bc915];return _0x407e7b;},_0x5bc9(_0x297afb,_0x1d2ee6);}import _0x14714a from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x32b25f from'file-type';import{MsgListener}from'@/core/listeners';import _0x418758 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[_0x463730(0x11b)]=_0x1d9b5a=>{for(const [_0x1ed655,_0x4688c5]of downloadMediaTasks){_0x4688c5(_0x1d9b5a),downloadMediaTasks['delete'](_0x1ed655);}},setTimeout(()=>{const _0x52f133=_0x463730;napCatCore[_0x52f133(0xfe)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x463730(0x107)](_0x25f05e){const _0x3466c7=_0x463730;return _0x32b25f[_0x3466c7(0xf6)](_0x25f05e);}static async[_0x463730(0x127)](_0x506a76,_0x2a9a5c){const _0x3559f9=_0x463730;await napCatCore['util'][_0x3559f9(0x127)](_0x506a76,_0x2a9a5c);}static async[_0x463730(0x12c)](_0x1d0f14){const _0x1af303=_0x463730;return await napCatCore[_0x1af303(0x106)][_0x1af303(0x12c)](_0x1d0f14);}static async[_0x463730(0x124)](_0x25f818,_0x509700=ElementType[_0x463730(0x126)],_0x4b6e1c=0x0){const _0x3d7323=_0x463730,_0x4675d4={'Doqxo':function(_0x103348,_0xa39f79){return _0x103348(_0xa39f79);},'tFgbc':function(_0x26d66c,_0x21f5b9){return _0x26d66c+_0x21f5b9;},'mZfNp':function(_0x5cea31,_0x195db9){return _0x5cea31===_0x195db9;}},_0x20a680=await _0x4675d4[_0x3d7323(0x10f)](calculateFileMD5,_0x25f818);let _0x537682=(await NTQQFileApi['getFileType'](_0x25f818))?.[_0x3d7323(0x131)]||'';_0x537682&&(_0x537682=_0x4675d4[_0x3d7323(0x137)]('.',_0x537682));let _0x3d2b3e=''+_0x30d104['basename'](_0x25f818);_0x4675d4[_0x3d7323(0x119)](_0x3d2b3e['indexOf']('.'),-0x1)&&(_0x3d2b3e+=_0x537682);const _0x6687b8=napCatCore['session'][_0x3d7323(0x135)]()[_0x3d7323(0x10d)]({'md5HexStr':_0x20a680,'fileName':_0x3d2b3e,'elementType':_0x509700,'elementSubType':_0x4b6e1c,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x25f818,_0x6687b8);const _0x24c82b=await NTQQFileApi[_0x3d7323(0x12c)](_0x25f818);return{'md5':_0x20a680,'fileName':_0x3d2b3e,'path':_0x6687b8,'fileSize':_0x24c82b,'ext':_0x537682};}static async['downloadMedia'](_0x3ae782,_0x261335,_0x10f5d9,_0x22117f,_0x2b4208,_0x59926a,_0x294f03=0x3e8*0x3c*0x2,_0x3d73ec=![]){const _0x3103af=_0x463730,_0x9ece03={'AfzMo':function(_0x1128a1,_0x33775e){return _0x1128a1===_0x33775e;},'mySeY':function(_0x3293e7,_0x184022){return _0x3293e7(_0x184022);},'bCRXj':function(_0x21fc0c,_0x330d21,_0x48c136){return _0x21fc0c(_0x330d21,_0x48c136);}};if(_0x59926a&&_0x14504e['existsSync'](_0x59926a)){if(_0x3d73ec)try{await _0x14714a[_0x3103af(0xfa)](_0x59926a);}catch(_0x217101){}else return _0x59926a;}return new Promise((_0xd5ee0a,_0x217f6f)=>{const _0x321c8f=_0x3103af,_0x1ed068={'qdIxd':function(_0x102830,_0x150f59){return _0x9ece03['mySeY'](_0x102830,_0x150f59);}};let _0xf63f2e=![];const _0x17fc77=_0x4449b6=>{const _0x2ca264=_0x5bc9;if(_0x9ece03[_0x2ca264(0xf5)](_0x4449b6[_0x2ca264(0x10c)],_0x3ae782)){_0xf63f2e=!![];let _0x1a4b52=_0x4449b6[_0x2ca264(0x113)];if(_0x1a4b52[_0x2ca264(0x115)]('\x5c')){const _0x5465a5=sessionConfig[_0x2ca264(0x11c)];_0x1a4b52=_0x30d104[_0x2ca264(0x11a)](_0x5465a5,_0x1a4b52);}_0x9ece03[_0x2ca264(0x121)](_0xd5ee0a,_0x1a4b52);}};downloadMediaTasks[_0x321c8f(0x111)](randomUUID(),_0x17fc77),_0x9ece03['bCRXj'](setTimeout,()=>{!_0xf63f2e&&_0x1ed068['qdIxd'](_0x217f6f,'下载超时');},_0x294f03),napCatCore[_0x321c8f(0x102)][_0x321c8f(0x135)]()[_0x321c8f(0xf9)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3ae782,'chatType':_0x261335,'peerUid':_0x10f5d9,'elementId':_0x22117f,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2b4208});});}static async[_0x463730(0x120)](_0x4321b0){const _0x13ffd8={'rGBdj':function(_0x46f889,_0x51d483,_0xe96eb){return _0x46f889(_0x51d483,_0xe96eb);}};return new Promise((_0x414124,_0x3e2a95)=>{const _0x149279=_0x5bc9,_0x5a94af={'oPlAg':function(_0x460fc1,_0x453eac){return _0x460fc1(_0x453eac);}};_0x13ffd8[_0x149279(0x11d)](_0x418758,_0x4321b0,(_0x196f32,_0x30db80)=>{const _0x19e203=_0x149279;_0x196f32?_0x5a94af[_0x19e203(0xfd)](_0x3e2a95,_0x196f32):_0x5a94af[_0x19e203(0xfd)](_0x414124,_0x30db80);});});}static async[_0x463730(0x118)](_0x3ca838,_0x30fbaf){const _0x2e56e4=_0x463730,_0x6d30c1={'ZCEmf':'&rkey=','uKGEO':function(_0x697460,_0x26d739){return _0x697460+_0x26d739;},'JVZWR':function(_0x2458b3,_0x1612dd){return _0x2458b3+_0x1612dd;},'CtNoa':function(_0x358fa9,_0x41e522){return _0x358fa9+_0x41e522;},'SKnnn':function(_0x5ea937,_0x102083,_0x5e7629){return _0x5ea937(_0x102083,_0x5e7629);},'hvSBn':_0x2e56e4(0x112)};if(!_0x3ca838)return'';const _0x27a4db=_0x3ca838[_0x2e56e4(0x12e)],_0x41ebeb=_0x3ca838[_0x2e56e4(0x125)],_0x443a4a=_0x3ca838['md5HexStr'],_0x4d9fad=_0x3ca838[_0x2e56e4(0x122)];if(_0x27a4db){if(_0x27a4db['startsWith'](_0x2e56e4(0x12b))){if(_0x27a4db[_0x2e56e4(0x10e)](_0x6d30c1[_0x2e56e4(0x134)]))return _0x6d30c1[_0x2e56e4(0xf7)](IMAGE_HTTP_HOST_NT,_0x27a4db);const _0x20f6a0=await rkeyManager[_0x2e56e4(0x12d)](),_0x1f9ae0=_0x30fbaf?_0x20f6a0['private_rkey']:_0x20f6a0['group_rkey'];return _0x6d30c1[_0x2e56e4(0xf7)](_0x6d30c1[_0x2e56e4(0xfb)](IMAGE_HTTP_HOST_NT,_0x27a4db),''+_0x1f9ae0);}else return _0x6d30c1[_0x2e56e4(0x132)](IMAGE_HTTP_HOST,_0x27a4db);}else{if(_0x443a4a||_0x41ebeb)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+(_0x443a4a||_0x41ebeb)[_0x2e56e4(0x10a)]()+'/0';}return _0x6d30c1['SKnnn'](logDebug,_0x6d30c1[_0x2e56e4(0x130)],_0x3ca838),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x5bc609=!![]){return'';}static[_0x463730(0x123)](){return'';}static[_0x463730(0x108)](_0xa79f9b=[_0x463730(0x116),'hotUpdate']){const _0x5659e4=_0x463730;return napCatCore[_0x5659e4(0x102)][_0x5659e4(0x128)]()[_0x5659e4(0x110)](_0xa79f9b);}static[_0x463730(0x136)](_0xae050e={}){const _0x109227=_0x463730;return napCatCore[_0x109227(0x102)]['getStorageCleanService']()[_0x109227(0x105)](_0xae050e);}static[_0x463730(0x133)](){const _0x3105a5=_0x463730;return napCatCore[_0x3105a5(0x102)]['getStorageCleanService']()[_0x3105a5(0x133)]();}static[_0x463730(0x104)](){return'';}static[_0x463730(0x12a)](){return'';}static[_0x463730(0x129)](_0x4c0dd1,_0x10c3d6=0x3e8,_0x27f7e=0x0){const _0x5302ae=_0x463730;return napCatCore[_0x5302ae(0x102)][_0x5302ae(0x128)]()[_0x5302ae(0x114)](_0x4c0dd1,_0x10c3d6,0x1,_0x27f7e);}static[_0x463730(0x100)](_0x4d2490,_0x5aa851=0x3e8,_0x3e00b0){const _0x5543e5=_0x3e00b0?_0x3e00b0:{'fileType':_0x4d2490};}static async[_0x463730(0x10b)](_0x50db51=[],_0x526c55=[]){const _0x5bf969=_0x463730;return napCatCore[_0x5bf969(0x102)][_0x5bf969(0x128)]()[_0x5bf969(0x101)](_0x50db51,_0x526c55);}} \ No newline at end of file +const _0x3e315b=_0x42d0;(function(_0x200e88,_0x1c4231){const _0x52a654=_0x42d0,_0x569632=_0x200e88();while(!![]){try{const _0x52e819=parseInt(_0x52a654(0x16a))/0x1+parseInt(_0x52a654(0x168))/0x2+-parseInt(_0x52a654(0x177))/0x3+parseInt(_0x52a654(0x181))/0x4+parseInt(_0x52a654(0x171))/0x5+parseInt(_0x52a654(0x17d))/0x6+-parseInt(_0x52a654(0x179))/0x7*(parseInt(_0x52a654(0x153))/0x8);if(_0x52e819===_0x1c4231)break;else _0x569632['push'](_0x569632['shift']());}catch(_0x1c45f1){_0x569632['push'](_0x569632['shift']());}}}(_0x336c,0x766f8));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x321826 from'path';import _0x320991 from'fs';import _0x2abfc6 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x32f6a0 from'file-type';import{MsgListener}from'@/core/listeners';import _0x42fdf5 from'image-size';function _0x42d0(_0x24fde7,_0xdf9c7c){const _0x336c3a=_0x336c();return _0x42d0=function(_0x42d0d3,_0x3b410d){_0x42d0d3=_0x42d0d3-0x14f;let _0x10bf2b=_0x336c3a[_0x42d0d3];return _0x10bf2b;},_0x42d0(_0x24fde7,_0xdf9c7c);}function _0x336c(){const _0x48af0f=['getChatCacheList','fileUuid','下载超时','bUMzx','clearChatCache','eokiy','set','1334094mPAjXE','ext','632476LnRoBg','md5HexStr','indexOf','getImageUrl','private_rkey','hotUpdate','scanCache','3437320AyYczl','fileTypeFromFile','/gchatpic_new/0/0-0-','join','clearCache','existsSync','1717983afZsdK','delete','476wIbXyi','getStorageCleanService','iARkv','ajJIj','2282886uUYxjA','msgId','toUpperCase','vQfcW','3686084djmEYp','startsWith','clearChatCacheInfo','ladrQ','getChatCacheInfo','copyFile','getMsgService','onLoginSuccess','util','unlink','uploadFile','addCacheScanedPaths','/download','ygwIm','session','图片url获取失败','getImageSize','basename','addListener','GWEtr','262496SLIjMW','getFileSize','&rkey=','fnTNC','fYMvF','PIC','getDesktopTmpPath','OEoZw','getRkey','filePath','jjPLN','downloadMedia','setCacheSilentScan','getRichMediaFilePathForGuild'];_0x336c=function(){return _0x48af0f;};return _0x336c();}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']=_0x41d282=>{const _0x4554a4=_0x42d0;for(const [_0x37a6e5,_0x3f7416]of downloadMediaTasks){_0x3f7416(_0x41d282),downloadMediaTasks[_0x4554a4(0x178)](_0x37a6e5);}},setTimeout(()=>{const _0x56939c=_0x42d0;napCatCore[_0x56939c(0x188)](()=>{const _0x3aa370=_0x56939c;napCatCore[_0x3aa370(0x151)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x3059d6){const _0x5f0aef=_0x42d0;return _0x32f6a0[_0x5f0aef(0x172)](_0x3059d6);}static async[_0x3e315b(0x186)](_0x3b2a2d,_0x501a6c){const _0xb010be=_0x3e315b;await napCatCore[_0xb010be(0x189)]['copyFile'](_0x3b2a2d,_0x501a6c);}static async[_0x3e315b(0x154)](_0x32f1da){const _0x3f9e2d=_0x3e315b;return await napCatCore[_0x3f9e2d(0x189)][_0x3f9e2d(0x154)](_0x32f1da);}static async[_0x3e315b(0x18b)](_0x2422b0,_0x137eca=ElementType[_0x3e315b(0x158)],_0x3e4859=0x0){const _0x4c401f=_0x3e315b,_0x41216a={'jjPLN':function(_0x2abe29,_0x38ad8d){return _0x2abe29===_0x38ad8d;}},_0x85f768=await calculateFileMD5(_0x2422b0);let _0x2c43ec=(await NTQQFileApi['getFileType'](_0x2422b0))?.[_0x4c401f(0x169)]||'';_0x2c43ec&&(_0x2c43ec='.'+_0x2c43ec);let _0x289e2a=''+_0x321826[_0x4c401f(0x150)](_0x2422b0);_0x41216a[_0x4c401f(0x15d)](_0x289e2a[_0x4c401f(0x16c)]('.'),-0x1)&&(_0x289e2a+=_0x2c43ec);const _0x134f12=napCatCore['session'][_0x4c401f(0x187)]()[_0x4c401f(0x160)]({'md5HexStr':_0x85f768,'fileName':_0x289e2a,'elementType':_0x137eca,'elementSubType':_0x3e4859,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x4c401f(0x186)](_0x2422b0,_0x134f12);const _0x4dcaac=await NTQQFileApi[_0x4c401f(0x154)](_0x2422b0);return{'md5':_0x85f768,'fileName':_0x289e2a,'path':_0x134f12,'fileSize':_0x4dcaac,'ext':_0x2c43ec};}static async[_0x3e315b(0x15e)](_0xcd4ba2,_0x2c4b06,_0x4065af,_0x5c8565,_0x4c40a6,_0x4a25ae,_0x41077f=0x3e8*0x3c*0x2,_0x54a70a=![]){const _0x11bc65=_0x3e315b,_0xab7095={'fYMvF':function(_0xdd66e4,_0x2f2c11){return _0xdd66e4(_0x2f2c11);},'GWEtr':_0x11bc65(0x163),'eokiy':function(_0x531576){return _0x531576();},'iARkv':function(_0x173418,_0x1f2875,_0x2f4954){return _0x173418(_0x1f2875,_0x2f4954);}};if(_0x4a25ae&&_0x320991[_0x11bc65(0x176)](_0x4a25ae)){if(_0x54a70a)try{await _0x2abfc6[_0x11bc65(0x18a)](_0x4a25ae);}catch(_0x47e307){}else return _0x4a25ae;}return new Promise((_0x29781c,_0x516605)=>{const _0x5ba31a=_0x11bc65;let _0x4fafa7=![];const _0x46fbb4=_0x384825=>{const _0x51a83e=_0x42d0;if(_0x384825[_0x51a83e(0x17e)]===_0xcd4ba2){_0x4fafa7=!![];let _0x362a6d=_0x384825[_0x51a83e(0x15c)];if(_0x362a6d[_0x51a83e(0x182)]('\x5c')){const _0x24f185=sessionConfig['defaultFileDownloadPath'];_0x362a6d=_0x321826[_0x51a83e(0x174)](_0x24f185,_0x362a6d);}_0xab7095[_0x51a83e(0x157)](_0x29781c,_0x362a6d);}};downloadMediaTasks[_0x5ba31a(0x167)](_0xab7095[_0x5ba31a(0x166)](randomUUID),_0x46fbb4),_0xab7095[_0x5ba31a(0x17b)](setTimeout,()=>{const _0x17374a=_0x5ba31a;!_0x4fafa7&&_0xab7095[_0x17374a(0x157)](_0x516605,_0xab7095[_0x17374a(0x152)]);},_0x41077f),napCatCore['session']['getMsgService']()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0xcd4ba2,'chatType':_0x2c4b06,'peerUid':_0x4065af,'elementId':_0x5c8565,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4c40a6});});}static async[_0x3e315b(0x14f)](_0x3cfa4){const _0x44dde1={'OEoZw':function(_0x4198ac,_0x47bc35){return _0x4198ac(_0x47bc35);},'bUMzx':function(_0x19b251,_0x449bdd){return _0x19b251(_0x449bdd);},'ajJIj':function(_0x2f8bc1,_0xc98426,_0x126c5f){return _0x2f8bc1(_0xc98426,_0x126c5f);}};return new Promise((_0x2ae695,_0x36cf23)=>{const _0x51bb0b=_0x42d0;_0x44dde1[_0x51bb0b(0x17c)](_0x42fdf5,_0x3cfa4,(_0x4425cf,_0x13381a)=>{const _0x1c9be9=_0x51bb0b;_0x4425cf?_0x44dde1[_0x1c9be9(0x15a)](_0x36cf23,_0x4425cf):_0x44dde1[_0x1c9be9(0x164)](_0x2ae695,_0x13381a);});});}static async[_0x3e315b(0x16d)](_0x5bec2c,_0x8c2055){const _0x5655b9=_0x3e315b,_0x4417e0={'fnTNC':_0x5655b9(0x18d),'TCrkn':_0x5655b9(0x155),'ladrQ':function(_0x31f190,_0x4a710d){return _0x31f190+_0x4a710d;},'vQfcW':function(_0x5a1645,_0x501997){return _0x5a1645||_0x501997;},'ygwIm':function(_0x100ef3,_0x8a77a1,_0x388d88){return _0x100ef3(_0x8a77a1,_0x388d88);},'wPUlV':_0x5655b9(0x190)};if(!_0x5bec2c)return'';const _0x21cc7b=_0x5bec2c['originImageUrl'],_0x507474=_0x5bec2c[_0x5655b9(0x16b)],_0x206c5d=_0x5bec2c[_0x5655b9(0x16b)],_0x35d013=_0x5bec2c[_0x5655b9(0x162)];if(_0x21cc7b){if(_0x21cc7b['startsWith'](_0x4417e0[_0x5655b9(0x156)])){if(_0x21cc7b['includes'](_0x4417e0['TCrkn']))return IMAGE_HTTP_HOST_NT+_0x21cc7b;const _0x48d90d=await rkeyManager[_0x5655b9(0x15b)](),_0x4e3f5c=_0x8c2055?_0x48d90d[_0x5655b9(0x16e)]:_0x48d90d['group_rkey'];return _0x4417e0[_0x5655b9(0x184)](IMAGE_HTTP_HOST_NT,_0x21cc7b)+(''+_0x4e3f5c);}else return IMAGE_HTTP_HOST+_0x21cc7b;}else{if(_0x206c5d||_0x507474)return IMAGE_HTTP_HOST+_0x5655b9(0x173)+_0x4417e0[_0x5655b9(0x180)](_0x206c5d,_0x507474)[_0x5655b9(0x17f)]()+'/0';}return _0x4417e0[_0x5655b9(0x18e)](logDebug,_0x4417e0['wPUlV'],_0x5bec2c),'';}}export class NTQQFileCacheApi{static async[_0x3e315b(0x15f)](_0x47e404=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x3e315b(0x175)](_0x2d90ca=['tmp',_0x3e315b(0x16f)]){const _0x4293fd=_0x3e315b;return napCatCore[_0x4293fd(0x18f)][_0x4293fd(0x17a)]()['clearCacheDataByKeys'](_0x2d90ca);}static['addCacheScannedPaths'](_0xe49dc2={}){const _0x496618=_0x3e315b;return napCatCore[_0x496618(0x18f)][_0x496618(0x17a)]()[_0x496618(0x18c)](_0xe49dc2);}static[_0x3e315b(0x170)](){const _0x2911c7=_0x3e315b;return napCatCore['session'][_0x2911c7(0x17a)]()[_0x2911c7(0x170)]();}static['getHotUpdateCachePath'](){return'';}static[_0x3e315b(0x159)](){return'';}static[_0x3e315b(0x161)](_0x32115f,_0x5d64dd=0x3e8,_0x4231fa=0x0){const _0x43557b=_0x3e315b;return napCatCore[_0x43557b(0x18f)][_0x43557b(0x17a)]()[_0x43557b(0x185)](_0x32115f,_0x5d64dd,0x1,_0x4231fa);}static['getFileCacheInfo'](_0x257003,_0x4efcb6=0x3e8,_0x925936){const _0x4f93c8=_0x925936?_0x925936:{'fileType':_0x257003};}static async[_0x3e315b(0x165)](_0x12c7cd=[],_0x2abff9=[]){const _0x1f15f7=_0x3e315b;return napCatCore[_0x1f15f7(0x18f)][_0x1f15f7(0x17a)]()[_0x1f15f7(0x183)](_0x12c7cd,_0x2abff9);}} \ 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 0be1234f..a9e83bb0 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x219a86=_0x5576;function _0x1ec7(){const _0x3170e5=['handleFriendRequest','NodeIKernelBuddyService/getBuddyList','getFriends','getBuddyService','377790dyuEYV','668652ZEmwqZ','32913MlVRwZ','YMVry','35623QtzdlA','232919KRvBWY','11090OhxrRs','approvalFriendRequest','NodeIKernelBuddyListener/onBuddyListChange','friendUid','5321796yVJiyx','3918tIGxQM','6085fDstDA','1704vlzLAN','reqTime'];_0x1ec7=function(){return _0x3170e5;};return _0x1ec7();}(function(_0x13ffde,_0x17f4d6){const _0x55b186=_0x5576,_0x3b1d3e=_0x13ffde();while(!![]){try{const _0x3d77a6=-parseInt(_0x55b186(0x7c))/0x1+parseInt(_0x55b186(0x8b))/0x2+-parseInt(_0x55b186(0x8a))/0x3+-parseInt(_0x55b186(0x81))/0x4+parseInt(_0x55b186(0x83))/0x5*(-parseInt(_0x55b186(0x82))/0x6)+parseInt(_0x55b186(0x7b))/0x7*(-parseInt(_0x55b186(0x84))/0x8)+parseInt(_0x55b186(0x8c))/0x9*(parseInt(_0x55b186(0x7d))/0xa);if(_0x3d77a6===_0x17f4d6)break;else _0x3b1d3e['push'](_0x3b1d3e['shift']());}catch(_0x4fd24e){_0x3b1d3e['push'](_0x3b1d3e['shift']());}}}(_0x1ec7,0xc8adf));import{napCatCore}from'@/core';function _0x5576(_0x38849f,_0x34ab84){const _0x1ec7ab=_0x1ec7();return _0x5576=function(_0x55765,_0xb6bd67){_0x55765=_0x55765-0x7b;let _0x437059=_0x1ec7ab[_0x55765];return _0x437059;},_0x5576(_0x38849f,_0x34ab84);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x219a86(0x88)](_0x12d183=![]){const _0x19577c=_0x219a86,_0x27dbd4={'YMVry':_0x19577c(0x87),'arYRR':_0x19577c(0x7f)};let [_0x15af98,_0x4dab10]=await NTEventDispatch['CallNormalEvent'](_0x27dbd4[_0x19577c(0x8d)],_0x27dbd4['arYRR'],0x1,0x1388,_0x12d183);const _0x33c8b0=[];for(const _0x15f868 of _0x4dab10){for(const _0x1d9ae9 of _0x15f868['buddyList']){_0x33c8b0['push'](_0x1d9ae9);}}return _0x33c8b0;}static async[_0x219a86(0x86)](_0xc5275a,_0x5d33a1){const _0xeae37e=_0x219a86;napCatCore['session'][_0xeae37e(0x89)]()?.[_0xeae37e(0x7e)]({'friendUid':_0xc5275a[_0xeae37e(0x80)],'reqTime':_0xc5275a[_0xeae37e(0x85)],'accept':_0x5d33a1});}} \ No newline at end of file +function _0x3c82(_0x3fd853,_0x4cb6e5){const _0x538841=_0x5388();return _0x3c82=function(_0x3c82a0,_0x4a5df6){_0x3c82a0=_0x3c82a0-0xc7;let _0x30abd8=_0x538841[_0x3c82a0];return _0x30abd8;},_0x3c82(_0x3fd853,_0x4cb6e5);}const _0x1fe2d5=_0x3c82;function _0x5388(){const _0x17a9ee=['NodeIKernelBuddyService/getBuddyList','1305220sZeNas','266cjVgkN','CallNormalEvent','getBuddyService','buddyList','222330CpXfiv','handleFriendRequest','approvalFriendRequest','60YuzgNB','reqTime','104UDnoed','13266702kwojoW','837194QFdtwx','getFriends','2224MtsrPy','session','friendUid','2517996WTTyfP','NodeIKernelBuddyListener/onBuddyListChange'];_0x5388=function(){return _0x17a9ee;};return _0x5388();}(function(_0x4be9cb,_0x2084c9){const _0x56a2b7=_0x3c82,_0x4ebde2=_0x4be9cb();while(!![]){try{const _0x44d578=-parseInt(_0x56a2b7(0xd6))/0x1+parseInt(_0x56a2b7(0xd8))/0x2+-parseInt(_0x56a2b7(0xc7))/0x3+parseInt(_0x56a2b7(0xca))/0x4+parseInt(_0x56a2b7(0xd2))/0x5*(parseInt(_0x56a2b7(0xcf))/0x6)+parseInt(_0x56a2b7(0xcb))/0x7*(-parseInt(_0x56a2b7(0xd4))/0x8)+parseInt(_0x56a2b7(0xd5))/0x9;if(_0x44d578===_0x2084c9)break;else _0x4ebde2['push'](_0x4ebde2['shift']());}catch(_0x4ba01c){_0x4ebde2['push'](_0x4ebde2['shift']());}}}(_0x5388,0x8af2f));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x1fe2d5(0xd7)](_0x205af9=![]){const _0x5b6c9c=_0x1fe2d5,_0x2e3bec={'GPfXK':_0x5b6c9c(0xc8)};let [_0x3a5459,_0x75506f]=await NTEventDispatch[_0x5b6c9c(0xcc)](_0x5b6c9c(0xc9),_0x2e3bec['GPfXK'],0x1,0x1388,_0x205af9);const _0x5d27a5=[];for(const _0x4e31a3 of _0x75506f){for(const _0x1d77b1 of _0x4e31a3[_0x5b6c9c(0xce)]){_0x5d27a5['push'](_0x1d77b1);}}return _0x5d27a5;}static async[_0x1fe2d5(0xd0)](_0x2a6601,_0x37f3c7){const _0x529800=_0x1fe2d5;napCatCore[_0x529800(0xd9)][_0x529800(0xcd)]()?.[_0x529800(0xd1)]({'friendUid':_0x2a6601[_0x529800(0xda)],'reqTime':_0x2a6601[_0x529800(0xd3)],'accept':_0x37f3c7});}} \ 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 54f2691a..0689ec4e 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x1f455d=_0x26fb;(function(_0x18f86d,_0x3303df){const _0xb7bd63=_0x26fb,_0x432b67=_0x18f86d();while(!![]){try{const _0x57ba19=-parseInt(_0xb7bd63(0xa4))/0x1+-parseInt(_0xb7bd63(0x82))/0x2*(-parseInt(_0xb7bd63(0x80))/0x3)+parseInt(_0xb7bd63(0xa9))/0x4*(parseInt(_0xb7bd63(0x83))/0x5)+parseInt(_0xb7bd63(0xa6))/0x6*(-parseInt(_0xb7bd63(0xaf))/0x7)+parseInt(_0xb7bd63(0x87))/0x8*(parseInt(_0xb7bd63(0x95))/0x9)+-parseInt(_0xb7bd63(0x8d))/0xa+parseInt(_0xb7bd63(0x84))/0xb;if(_0x57ba19===_0x3303df)break;else _0x432b67['push'](_0x432b67['shift']());}catch(_0x24ac04){_0x432b67['push'](_0x432b67['shift']());}}}(_0x6bde,0xaee84));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x26fb(_0x42a58d,_0x1c9f70){const _0x6bdeb5=_0x6bde();return _0x26fb=function(_0x26fb87,_0x50b008){_0x26fb87=_0x26fb87-0x78;let _0x4a8b4a=_0x6bdeb5[_0x26fb87];return _0x4a8b4a;},_0x26fb(_0x42a58d,_0x1c9f70);}function _0x6bde(){const _0x991eb3=['infos','13616090qojAmp','setMemberRole','CallNormalEvent','getArkJsonGroupShare','handleGroupRequest','type','quitGroup','getRichMediaService','27GPjyUG','deleteGroupFolder','groupCode','setMemberShutUp','vBEXX','CallNoListenerEvent','TITLETYPE','publishGroupBulletin','getGroupRemainAtTimes','getGroupNotifies','createMemberListScene','qun.qq.com','setMemberCard','modifyMemberCardName','getGroupIgnoreNotifies','1289702MeciIG','NodeIKernelGroupListener/onGroupListUpdate','180ZJfRIp','NodeIKernelGroupService/getGroupList','getGroupMembers','4NjVimW','获取群成员列表出错,','getMemberExtInfo','getGroupService','lqugR','batchGetGroupFileCount','192675AHqprO','DelGroupFileFolder','hzOdU','seq','NodeIKernelGroupService/getSingleScreenNotifies','groupMemberList_MainWindow','uploadGroupBulletinPic','banMember','NodeIKernelGroupService/getGroupRecommendContactArkJson','errCode','DelGroupFile','getSingleScreenNotifies','kickMember','getGroups','errMsg','result','svFgt','1220079lDpULo','modifyMemberRole','4JKtcpf','4720670XYWSZF','13346553ThbjbT','arkJson','session','3260368MqFszJ','FhOJA','cLdBc','deleteGroupFile','GetGroupFileCount'];_0x6bde=function(){return _0x991eb3;};return _0x6bde();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x1f455d(0x7c)](_0x61a496=![]){const _0xaf4ef9=_0x1f455d,_0x287b79={'uHNvb':_0xaf4ef9(0xa7)};let [_0x99d37f,_0x3b6303,_0x1b1d28]=await NTEventDispatch['CallNormalEvent'](_0x287b79['uHNvb'],_0xaf4ef9(0xa5),0x1,0x1388,_0x61a496);return _0x1b1d28;}static async['CreatGroupFileFolder'](_0x2f898c,_0x522bf7){const _0x181bb8=_0x1f455d;return napCatCore[_0x181bb8(0x86)][_0x181bb8(0x94)]()['createGroupFolder'](_0x2f898c,_0x522bf7);}static async[_0x1f455d(0x79)](_0x36ca27,_0x4d25be){const _0x379b57=_0x1f455d;return napCatCore[_0x379b57(0x86)]['getRichMediaService']()[_0x379b57(0x8a)](_0x36ca27,[0x66],_0x4d25be);}static async[_0x1f455d(0xb0)](_0x53007c,_0x3b501f){const _0xb8e572=_0x1f455d;return napCatCore['session']['getRichMediaService']()[_0xb8e572(0x96)](_0x53007c,_0x3b501f);}static async[_0x1f455d(0x7a)](_0x55f2a3){const _0x888324=_0x1f455d,_0x11c513={'hzOdU':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x38231b,_0x233bde,_0x14626c,_0x548aa7]=await NTEventDispatch[_0x888324(0x8f)](_0x888324(0xb3),_0x11c513[_0x888324(0xb1)],0x1,0x1388,![],'',_0x55f2a3);return _0x548aa7;}static async[_0x1f455d(0xa8)](_0x13e550,_0x1ad19d=0xbb8){const _0x4450f7=_0x1f455d,_0x341def={'jjHGc':function(_0x1d9089,_0x11a842){return _0x1d9089!==_0x11a842;},'FhOJA':function(_0x4c6b85,_0x59d379){return _0x4c6b85+_0x59d379;}},_0x252d21=napCatCore[_0x4450f7(0x86)][_0x4450f7(0xac)](),_0x2f85e0=_0x252d21[_0x4450f7(0x9f)](_0x13e550,_0x4450f7(0xb4)),_0x3bc088=await _0x252d21['getNextMemberList'](_0x2f85e0,undefined,_0x1ad19d);if(_0x341def['jjHGc'](_0x3bc088[_0x4450f7(0x78)],0x0))throw _0x341def[_0x4450f7(0x88)](_0x4450f7(0xaa),_0x3bc088[_0x4450f7(0x7d)]);return _0x3bc088[_0x4450f7(0x7e)][_0x4450f7(0x8c)];}static async[_0x1f455d(0x9e)](){}static async[_0x1f455d(0x8b)](_0x5db536){const _0x5c2b2b=_0x1f455d;return napCatCore[_0x5c2b2b(0x86)][_0x5c2b2b(0x94)]()[_0x5c2b2b(0xae)](_0x5db536);}static async[_0x1f455d(0xa3)](){}static async[_0x1f455d(0x90)](_0x351114){const _0x34acdb=_0x1f455d,_0x1d32fb={'LRrXX':_0x34acdb(0xb7)};let _0x194a01=await NTEventDispatch[_0x34acdb(0x9a)](_0x1d32fb['LRrXX'],0x1388,_0x351114);return _0x194a01[_0x34acdb(0x85)];}static async[_0x1f455d(0xb5)](_0x19f94a,_0x15319e){const _0x31c939=_0x1f455d,_0x27b4c6={'svFgt':_0x31c939(0xa0)},_0x234230=(await NTQQUserApi['getPSkey']([_0x31c939(0xa0)]))[_0x27b4c6[_0x31c939(0x7f)]];return napCatCore[_0x31c939(0x86)][_0x31c939(0xac)]()[_0x31c939(0xb5)](_0x19f94a,_0x234230,_0x15319e);}static async[_0x1f455d(0x91)](_0x310ffc,_0x21f7c4,_0x25bf23){const _0x50e4c4=_0x1f455d,_0x1ed01d={'cLdBc':function(_0x27a3a4,_0x5bd7f1){return _0x27a3a4||_0x5bd7f1;}};return napCatCore[_0x50e4c4(0x86)][_0x50e4c4(0xac)]()['operateSysNotify'](![],{'operateType':_0x21f7c4,'targetMsg':{'seq':_0x310ffc[_0x50e4c4(0xb2)],'type':_0x310ffc[_0x50e4c4(0x92)],'groupCode':_0x310ffc['group'][_0x50e4c4(0x97)],'postscript':_0x1ed01d[_0x50e4c4(0x89)](_0x25bf23,'')}});}static async[_0x1f455d(0x93)](_0x26063c){const _0x4e8e38=_0x1f455d;return napCatCore[_0x4e8e38(0x86)][_0x4e8e38(0xac)]()[_0x4e8e38(0x93)](_0x26063c);}static async[_0x1f455d(0x7b)](_0x4caab3,_0x4a3bc9,_0x40a3fa=![],_0x58b693=''){const _0x57917e=_0x1f455d;return napCatCore[_0x57917e(0x86)][_0x57917e(0xac)]()['kickMember'](_0x4caab3,_0x4a3bc9,_0x40a3fa,_0x58b693);}static async[_0x1f455d(0xb6)](_0x3cfc94,_0x145535){const _0x37726e=_0x1f455d;return napCatCore['session']['getGroupService']()[_0x37726e(0x98)](_0x3cfc94,_0x145535);}static async['banGroup'](_0xe58f6e,_0x56e3e7){const _0x564b50=_0x1f455d;return napCatCore[_0x564b50(0x86)][_0x564b50(0xac)]()['setGroupShutUp'](_0xe58f6e,_0x56e3e7);}static async[_0x1f455d(0xa1)](_0xf5c2bf,_0x1e5908,_0x1795a6){const _0x339a9b=_0x1f455d;return napCatCore[_0x339a9b(0x86)][_0x339a9b(0xac)]()[_0x339a9b(0xa2)](_0xf5c2bf,_0x1e5908,_0x1795a6);}static async[_0x1f455d(0x8e)](_0x24760f,_0xe05928,_0x22ff2e){const _0x47bf35=_0x1f455d;return napCatCore['session']['getGroupService']()[_0x47bf35(0x81)](_0x24760f,_0xe05928,_0x22ff2e);}static async['setGroupName'](_0x31e7da,_0x5795ed){const _0x29397b=_0x1f455d;return napCatCore[_0x29397b(0x86)][_0x29397b(0xac)]()['modifyGroupName'](_0x31e7da,_0x5795ed,![]);}static async['setGroupTitle'](_0x15c935,_0x2348e8,_0x7baf02){}static async[_0x1f455d(0x9c)](_0x590d46,_0x164b54,_0x5ec8b7=undefined,_0x31dc6e=0x0,_0x3c33fc=0x0){const _0x454695=_0x1f455d,_0x5d6978={'lqugR':'qun.qq.com','vBEXX':function(_0x83e8a4,_0xd72d58){return _0x83e8a4(_0xd72d58);}},_0xa545d=(await NTQQUserApi['getPSkey']([_0x454695(0xa0)]))[_0x5d6978[_0x454695(0xad)]];let _0x1c7957={'text':_0x5d6978[_0x454695(0x99)](encodeURI,_0x164b54),'picInfo':_0x5ec8b7,'oldFeedsId':'','pinned':_0x31dc6e,'confirmRequired':_0x3c33fc};return napCatCore['session']['getGroupService']()[_0x454695(0x9c)](_0x590d46,_0xa545d,_0x1c7957);}static async[_0x1f455d(0x9d)](_0x1536a7){const _0x2435dd=_0x1f455d;napCatCore[_0x2435dd(0x86)][_0x2435dd(0xac)]()['getGroupRemainAtTimes'](_0x1536a7);}static async['getMemberExtInfo'](_0x1cf856,_0x51f45d){const _0x1d1bf7=_0x1f455d;return napCatCore[_0x1d1bf7(0x86)][_0x1d1bf7(0xac)]()[_0x1d1bf7(0xab)]({'groupCode':_0x1cf856,'sourceType':MemberExtSourceType[_0x1d1bf7(0x9b)],'beginUin':'0','dataTime':'0','uinList':[_0x51f45d],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file +const _0x24e769=_0x3573;function _0x3573(_0x1efdfd,_0x4989d6){const _0x8dc709=_0x8dc7();return _0x3573=function(_0x357333,_0x41680e){_0x357333=_0x357333-0x79;let _0x379420=_0x8dc709[_0x357333];return _0x379420;},_0x3573(_0x1efdfd,_0x4989d6);}function _0x8dc7(){const _0x48c901=['errCode','NodeIKernelGroupListener/onGroupListUpdate','createMemberListScene','CallNormalEvent','setGroupShutUp','1765060OAOFsH','quitGroup','49878fCpnZt','getGroupRemainAtTimes','type','EiHuP','750813FmRQgx','getSingleScreenNotifies','getRichMediaService','3623950yxADuk','arkJson','CreatGroupFileFolder','publishGroupBulletin','seq','Mybrk','group','setMemberCard','DelGroupFile','182538ztBNGN','qun.qq.com','9XuCvKr','kickMember','modifyMemberRole','getArkJsonGroupShare','operateSysNotify','session','GetGroupFileCount','getGroupService','groupCode','banGroup','8cKdtHt','getPSkey','RwbGi','240608LDjkyf','NpqVi','batchGetGroupFileCount','groupMemberList_MainWindow','getMemberExtInfo','getGroups','infos','uploadGroupBulletinPic','6rtzCmR','获取群成员列表出错,','NodeIKernelGroupService/getGroupList','setGroupTitle','NodeIKernelGroupService/getSingleScreenNotifies','deleteGroupFile','modifyMemberCardName','541335UOVKkJ','1vohNqP','result','handleGroupRequest','woWxl','DelGroupFileFolder'];_0x8dc7=function(){return _0x48c901;};return _0x8dc7();}(function(_0x1399f8,_0x33442b){const _0x53570=_0x3573,_0x4114e2=_0x1399f8();while(!![]){try{const _0x42fa0a=parseInt(_0x53570(0xa9))/0x1*(parseInt(_0x53570(0x8a))/0x2)+-parseInt(_0x53570(0x7a))/0x3+parseInt(_0x53570(0x96))/0x4*(-parseInt(_0x53570(0xa8))/0x5)+-parseInt(_0x53570(0xa1))/0x6*(-parseInt(_0x53570(0x7e))/0x7)+parseInt(_0x53570(0x99))/0x8+parseInt(_0x53570(0x8c))/0x9*(-parseInt(_0x53570(0xb3))/0xa)+parseInt(_0x53570(0x81))/0xb;if(_0x42fa0a===_0x33442b)break;else _0x4114e2['push'](_0x4114e2['shift']());}catch(_0x25e642){_0x4114e2['push'](_0x4114e2['shift']());}}}(_0x8dc7,0x243a4));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x24e769(0x9e)](_0x57fe4d=![]){const _0x3deac3=_0x24e769,_0x15d2fe={'Mybrk':_0x3deac3(0xa3),'woWxl':_0x3deac3(0xaf)};let [_0x41d890,_0x2ae18e,_0x135136]=await NTEventDispatch[_0x3deac3(0xb1)](_0x15d2fe[_0x3deac3(0x86)],_0x15d2fe[_0x3deac3(0xac)],0x1,0x1388,_0x57fe4d);return _0x135136;}static async[_0x24e769(0x83)](_0x4868b9,_0x44b43d){const _0x489a5d=_0x24e769;return napCatCore[_0x489a5d(0x91)]['getRichMediaService']()['createGroupFolder'](_0x4868b9,_0x44b43d);}static async[_0x24e769(0x89)](_0x563c90,_0x2db3dc){const _0xfcba60=_0x24e769;return napCatCore[_0xfcba60(0x91)][_0xfcba60(0x80)]()[_0xfcba60(0xa6)](_0x563c90,[0x66],_0x2db3dc);}static async[_0x24e769(0xad)](_0x5dfd97,_0x527513){const _0x50bce0=_0x24e769;return napCatCore[_0x50bce0(0x91)][_0x50bce0(0x80)]()['deleteGroupFolder'](_0x5dfd97,_0x527513);}static async[_0x24e769(0x7f)](_0x34acf0){const _0x325931=_0x24e769,_0x2b611b={'EiHuP':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x47d14f,_0x8dc868,_0x435ad3,_0x358ba1]=await NTEventDispatch['CallNormalEvent'](_0x325931(0xa5),_0x2b611b[_0x325931(0x7d)],0x1,0x1388,![],'',_0x34acf0);return _0x358ba1;}static async['getGroupMembers'](_0x4ed997,_0x2d4de6=0xbb8){const _0x5aca06=_0x24e769,_0xa5318e={'RwbGi':_0x5aca06(0xa2)},_0x39f594=napCatCore['session'][_0x5aca06(0x93)](),_0x309ccc=_0x39f594[_0x5aca06(0xb0)](_0x4ed997,_0x5aca06(0x9c)),_0x711435=await _0x39f594['getNextMemberList'](_0x309ccc,undefined,_0x2d4de6);if(_0x711435[_0x5aca06(0xae)]!==0x0)throw _0xa5318e[_0x5aca06(0x98)]+_0x711435['errMsg'];return _0x711435[_0x5aca06(0xaa)][_0x5aca06(0x9f)];}static async['getGroupNotifies'](){}static async[_0x24e769(0x92)](_0x263cac){const _0xe6cf6e=_0x24e769;return napCatCore[_0xe6cf6e(0x91)][_0xe6cf6e(0x80)]()[_0xe6cf6e(0x9b)](_0x263cac);}static async['getGroupIgnoreNotifies'](){}static async[_0x24e769(0x8f)](_0x52d027){const _0x503718=_0x24e769;let _0x405063=await NTEventDispatch['CallNoListenerEvent']('NodeIKernelGroupService/getGroupRecommendContactArkJson',0x1388,_0x52d027);return _0x405063[_0x503718(0x82)];}static async['uploadGroupBulletinPic'](_0x4b2caf,_0x37e32c){const _0x48e430=_0x24e769,_0x52babe={'Ohbgf':_0x48e430(0x8b)},_0x320294=(await NTQQUserApi[_0x48e430(0x97)]([_0x52babe['Ohbgf']]))[_0x48e430(0x8b)];return napCatCore[_0x48e430(0x91)]['getGroupService']()[_0x48e430(0xa0)](_0x4b2caf,_0x320294,_0x37e32c);}static async[_0x24e769(0xab)](_0x2462de,_0x5e653d,_0x5272a1){const _0x3819b9=_0x24e769;return napCatCore['session'][_0x3819b9(0x93)]()[_0x3819b9(0x90)](![],{'operateType':_0x5e653d,'targetMsg':{'seq':_0x2462de[_0x3819b9(0x85)],'type':_0x2462de[_0x3819b9(0x7c)],'groupCode':_0x2462de[_0x3819b9(0x87)][_0x3819b9(0x94)],'postscript':_0x5272a1||''}});}static async[_0x24e769(0x79)](_0x5dc1e1){const _0x527873=_0x24e769;return napCatCore[_0x527873(0x91)][_0x527873(0x93)]()['quitGroup'](_0x5dc1e1);}static async[_0x24e769(0x8d)](_0x38daf9,_0x4b9b1b,_0x9d2977=![],_0xe6a67=''){const _0x2c6aec=_0x24e769;return napCatCore['session'][_0x2c6aec(0x93)]()['kickMember'](_0x38daf9,_0x4b9b1b,_0x9d2977,_0xe6a67);}static async['banMember'](_0x167b1c,_0x4f5af4){const _0x37a2b8=_0x24e769;return napCatCore[_0x37a2b8(0x91)][_0x37a2b8(0x93)]()['setMemberShutUp'](_0x167b1c,_0x4f5af4);}static async[_0x24e769(0x95)](_0x24f475,_0x46be2c){const _0x2fa9b4=_0x24e769;return napCatCore[_0x2fa9b4(0x91)][_0x2fa9b4(0x93)]()[_0x2fa9b4(0xb2)](_0x24f475,_0x46be2c);}static async[_0x24e769(0x88)](_0xc0043c,_0xba594b,_0x2c9b7b){const _0x4f0bf3=_0x24e769;return napCatCore[_0x4f0bf3(0x91)][_0x4f0bf3(0x93)]()[_0x4f0bf3(0xa7)](_0xc0043c,_0xba594b,_0x2c9b7b);}static async['setMemberRole'](_0x4f02b9,_0x5ab76b,_0x26745a){const _0x3c2783=_0x24e769;return napCatCore[_0x3c2783(0x91)][_0x3c2783(0x93)]()[_0x3c2783(0x8e)](_0x4f02b9,_0x5ab76b,_0x26745a);}static async['setGroupName'](_0x1ae1b4,_0x394871){const _0xe4df02=_0x24e769;return napCatCore[_0xe4df02(0x91)]['getGroupService']()['modifyGroupName'](_0x1ae1b4,_0x394871,![]);}static async[_0x24e769(0xa4)](_0x2af60f,_0x4b6058,_0x2de8eb){}static async[_0x24e769(0x84)](_0xd2268e,_0x55cc96,_0x4a89f9=undefined,_0x5d3eab=0x0,_0x541e7e=0x0){const _0x3d53c3=_0x24e769,_0x97b14a={'NpqVi':_0x3d53c3(0x8b),'bFIqW':function(_0xefaf2c,_0x2dcdd5){return _0xefaf2c(_0x2dcdd5);}},_0x2e2b27=(await NTQQUserApi[_0x3d53c3(0x97)]([_0x97b14a[_0x3d53c3(0x9a)]]))[_0x97b14a[_0x3d53c3(0x9a)]];let _0x30eb16={'text':_0x97b14a['bFIqW'](encodeURI,_0x55cc96),'picInfo':_0x4a89f9,'oldFeedsId':'','pinned':_0x5d3eab,'confirmRequired':_0x541e7e};return napCatCore[_0x3d53c3(0x91)][_0x3d53c3(0x93)]()[_0x3d53c3(0x84)](_0xd2268e,_0x2e2b27,_0x30eb16);}static async[_0x24e769(0x7b)](_0x131b10){const _0x473fba=_0x24e769;napCatCore[_0x473fba(0x91)]['getGroupService']()[_0x473fba(0x7b)](_0x131b10);}static async[_0x24e769(0x9d)](_0x214c21,_0x1bb1d4){const _0x40f990=_0x24e769;return napCatCore['session'][_0x40f990(0x93)]()['getMemberExtInfo']({'groupCode':_0x214c21,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x1bb1d4],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ 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 b27bd040..e2c72c10 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x574b3a,_0x57c79c){var _0x4a2e43=_0x967b,_0x4fcd7d=_0x574b3a();while(!![]){try{var _0xf2e4e0=-parseInt(_0x4a2e43(0x147))/0x1*(-parseInt(_0x4a2e43(0x141))/0x2)+parseInt(_0x4a2e43(0x142))/0x3+parseInt(_0x4a2e43(0x140))/0x4*(-parseInt(_0x4a2e43(0x145))/0x5)+parseInt(_0x4a2e43(0x148))/0x6+-parseInt(_0x4a2e43(0x146))/0x7+-parseInt(_0x4a2e43(0x143))/0x8*(-parseInt(_0x4a2e43(0x149))/0x9)+parseInt(_0x4a2e43(0x144))/0xa*(-parseInt(_0x4a2e43(0x13f))/0xb);if(_0xf2e4e0===_0x57c79c)break;else _0x4fcd7d['push'](_0x4fcd7d['shift']());}catch(_0x84a417){_0x4fcd7d['push'](_0x4fcd7d['shift']());}}}(_0x327b,0x4497f));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x967b(_0x373dec,_0x2581c1){var _0x327bee=_0x327b();return _0x967b=function(_0x967b6e,_0x582120){_0x967b6e=_0x967b6e-0x13f;var _0xbfa1bc=_0x327bee[_0x967b6e];return _0xbfa1bc;},_0x967b(_0x373dec,_0x2581c1);}export*from'./webapi';export*from'./sign';function _0x327b(){var _0x1e3d2d=['1438092sLjXKu','496719HRLQvJ','891PrqnBv','1275764CEqTOd','255620zjGdWC','635175kZOrPe','40uJONnJ','6010vTfDJs','5eEdeNK','1446137TQNPqD','1ZwJaOB'];_0x327b=function(){return _0x1e3d2d;};return _0x327b();}export*from'./system'; \ No newline at end of file +(function(_0x3cee53,_0xa4e83b){var _0x48dcea=_0x1ec8,_0x8a73c3=_0x3cee53();while(!![]){try{var _0x511bbb=parseInt(_0x48dcea(0x125))/0x1+-parseInt(_0x48dcea(0x11c))/0x2*(-parseInt(_0x48dcea(0x121))/0x3)+-parseInt(_0x48dcea(0x127))/0x4*(parseInt(_0x48dcea(0x11e))/0x5)+-parseInt(_0x48dcea(0x120))/0x6*(-parseInt(_0x48dcea(0x11d))/0x7)+parseInt(_0x48dcea(0x124))/0x8+-parseInt(_0x48dcea(0x123))/0x9*(parseInt(_0x48dcea(0x126))/0xa)+-parseInt(_0x48dcea(0x11f))/0xb*(parseInt(_0x48dcea(0x122))/0xc);if(_0x511bbb===_0xa4e83b)break;else _0x8a73c3['push'](_0x8a73c3['shift']());}catch(_0x50ca5c){_0x8a73c3['push'](_0x8a73c3['shift']());}}}(_0x1e1c,0x762fa));export*from'./file';export*from'./friend';function _0x1ec8(_0x27b2d1,_0x5e6919){var _0x1e1ca2=_0x1e1c();return _0x1ec8=function(_0x1ec8f9,_0x96813d){_0x1ec8f9=_0x1ec8f9-0x11c;var _0x67dfeb=_0x1e1ca2[_0x1ec8f9];return _0x67dfeb;},_0x1ec8(_0x27b2d1,_0x5e6919);}export*from'./group';function _0x1e1c(){var _0x4b2abc=['1575664hSwZuK','325088ttRLLx','87190PHmdfY','364OYkZcx','530ZuTCeU','56zRuySM','31730yTzfEA','11fGTxOx','247068dsJSPd','8046EKkqLQ','252948vCPMnB','495PHfdQC'];_0x1e1c=function(){return _0x4b2abc;};return _0x1e1c();}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index da1d32d5..a9153cac 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -function _0x38b4(){const _0x20a8ad=['2630340IalzgE','forEach','rELxr','YaTDo','setEmojiLike','onAddSendMsg','multiForwardMsg','getMsgsIncludeSelf','find','6fKYusK','837740SSXgXr','uid','bytesData','ElKaG','QTpCB','then','608083LljcCH','IimDV','map','vRRQV','activateChat','arkElement','IvUvj','VxrFS','onGroupFileInfoUpdate','sflqJ','getMsgsByMsgId','SRPNi','QVSxq','sendMsg','HkeBy','elements','JfNAd','发送超时','forwardMsg','onMsgInfoListUpdate','转发消息超时','224522FwlQuM','getGroupFileList','com.tencent.multimsg','msgId','getRichMediaService','nick','fetchRecentContact','sendStatus','length','getMsgsBySeqAndCount','recallMsg','onLoginSuccess','HArgS','chatType','senderUid','WziOi','getMsgHistory','activateChatAndGetHistory','359175avTmNh','delete','item','session','parse','8BVNLFu','getMultiMsg','nGEXc','getMsgService','peerUid','OZiDT','multiForwardMsgWithComment','QTrBa','toString','setMsgRead','FPQoL','qfJOW','330pnsnRD','879216UWOGhh','270729wkHplB'];_0x38b4=function(){return _0x20a8ad;};return _0x38b4();}const _0x5ca580=_0x3956;(function(_0x2862a8,_0x33abf3){const _0x559417=_0x3956,_0x6e284e=_0x2862a8();while(!![]){try{const _0xd83634=-parseInt(_0x559417(0x77))/0x1*(parseInt(_0x559417(0xa6))/0x2)+parseInt(_0x559417(0x9b))/0x3+parseInt(_0x559417(0xa7))/0x4+parseInt(_0x559417(0x89))/0x5+-parseInt(_0x559417(0x9d))/0x6+parseInt(_0x559417(0xad))/0x7*(-parseInt(_0x559417(0x8e))/0x8)+-parseInt(_0x559417(0x9c))/0x9*(-parseInt(_0x559417(0x9a))/0xa);if(_0xd83634===_0x33abf3)break;else _0x6e284e['push'](_0x6e284e['shift']());}catch(_0x4b8ba8){_0x6e284e['push'](_0x6e284e['shift']());}}}(_0x38b4,0x59e3e));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x3956(_0x3f3346,_0x213906){const _0x38b4cb=_0x38b4();return _0x3956=function(_0x395683,_0x2c3cba){_0x395683=_0x395683-0x6a;let _0x3f6fe5=_0x38b4cb[_0x395683];return _0x3f6fe5;},_0x3956(_0x3f3346,_0x213906);}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x5ca580(0x6a)]=_0xb05ccf=>{const _0x545003=_0x5ca580,_0x3f652f={'HkeBy':function(_0x3924ae,_0x554395){return _0x3924ae(_0x554395);}};for(const [_0x1c117e,_0x140d4f]of GroupFileInfoUpdateTasks){_0x3f652f[_0x545003(0x70)](_0x140d4f,_0xb05ccf),GroupFileInfoUpdateTasks['delete'](_0x1c117e);}},msgListener[_0x5ca580(0xa2)]=_0x42c9df=>{const _0x20f0af=_0x5ca580,_0x59dc6f={'ElKaG':function(_0x2c01e9,_0xafd405){return _0x2c01e9 instanceof _0xafd405;}};for(const [_0x4a4881,_0x5c53e4]of sentMsgTasks){_0x5c53e4(_0x42c9df),sentMsgTasks[_0x20f0af(0x8a)](_0x4a4881);}if(sendMessagePool[_0x42c9df[_0x20f0af(0x92)]]){const _0xd03a80=sendMessagePool[_0x42c9df[_0x20f0af(0x92)]]?.(_0x42c9df);_0x59dc6f[_0x20f0af(0xaa)](_0xd03a80,Promise)&&_0xd03a80['then']()['catch'](logError);}},msgListener[_0x5ca580(0x75)]=_0x3c5baa=>{const _0x34f8ba=_0x5ca580,_0x176aef={'ReKrA':function(_0x465cee,_0x27bf05){return _0x465cee(_0x27bf05);},'JfNAd':function(_0x18cdb1,_0x52b13c){return _0x18cdb1 instanceof _0x52b13c;}};_0x3c5baa[_0x34f8ba(0x9e)](_0x419039=>{const _0x3d31ae=_0x34f8ba,_0x4100f9={'qfJOW':function(_0x564ad6,_0x55f68a){return _0x176aef['ReKrA'](_0x564ad6,_0x55f68a);},'HArgS':function(_0xed5369,_0x146ef7){const _0x5dfc59=_0x3956;return _0x176aef[_0x5dfc59(0x72)](_0xed5369,_0x146ef7);}};new Promise((_0x5eacab,_0x238c68)=>{const _0x485b9f=_0x3956;for(const _0x4b84f2 in sendSuccessCBMap){const _0x1ec047=sendSuccessCBMap[_0x4b84f2],_0x11731f=_0x4100f9[_0x485b9f(0x99)](_0x1ec047,_0x419039),_0x32d771=_0x574a96=>{_0x574a96&&delete sendSuccessCBMap[_0x4b84f2];};_0x4100f9[_0x485b9f(0x83)](_0x11731f,Promise)?_0x11731f[_0x485b9f(0xac)](_0x32d771):_0x4100f9[_0x485b9f(0x99)](_0x32d771,_0x11731f);}})[_0x3d31ae(0xac)]()['catch'](log);});},setTimeout(()=>{const _0x3fe0f3=_0x5ca580;napCatCore[_0x3fe0f3(0x82)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5ca580(0xa1)](_0x12ceeb,_0x420ffe,_0x3e285d,_0x21ee1c=!![]){const _0x205e5e=_0x5ca580,_0x455e1c={'QVSxq':function(_0x4758d8,_0x48295f){return _0x4758d8>_0x48295f;}};return _0x3e285d=_0x3e285d[_0x205e5e(0x96)](),napCatCore['session']['getMsgService']()['setMsgEmojiLikes'](_0x12ceeb,_0x420ffe,_0x3e285d,_0x455e1c[_0x205e5e(0x6e)](_0x3e285d[_0x205e5e(0x7f)],0x3)?'2':'1',_0x21ee1c);}static async[_0x5ca580(0x8f)](_0x3da458,_0xcd7321,_0x442ac3){const _0xa335fb=_0x5ca580;return napCatCore[_0xa335fb(0x8c)][_0xa335fb(0x91)]()[_0xa335fb(0x8f)](_0x3da458,_0xcd7321,_0x442ac3);}static async['getMsgsByMsgId'](_0x54606,_0x566a7a){const _0x25984d=_0x5ca580;return await napCatCore[_0x25984d(0x8c)][_0x25984d(0x91)]()[_0x25984d(0x6c)](_0x54606,_0x566a7a);}static async[_0x5ca580(0x80)](_0x17cca6,_0x841f36,_0x858f7b,_0x48bb6a,_0x16dfc7){const _0x34db19=_0x5ca580;return await napCatCore[_0x34db19(0x8c)][_0x34db19(0x91)]()[_0x34db19(0x80)](_0x17cca6,_0x841f36,_0x858f7b,_0x48bb6a,_0x16dfc7);}static async[_0x5ca580(0xb1)](_0x3f1205){}static async[_0x5ca580(0x88)](_0x44753e){}static async[_0x5ca580(0x97)](_0x4abfed){const _0x8d5208=_0x5ca580;return napCatCore[_0x8d5208(0x8c)]['getMsgService']()[_0x8d5208(0x97)](_0x4abfed);}static async[_0x5ca580(0x78)](_0x4e7b32,_0x5a0f28){const _0x2a2d40={'rELxr':'获取群文件列表超时','XjZzs':function(_0x41f22e,_0x3bc3c1){return _0x41f22e(_0x3bc3c1);},'myLTe':function(_0x2ec176,_0x599a78,_0x1838de){return _0x2ec176(_0x599a78,_0x1838de);},'vRRQV':function(_0x3ce3ef){return _0x3ce3ef();}};return new Promise(async(_0x202646,_0x1ba1de)=>{const _0x4b0698=_0x3956,_0x42b853={'FPQoL':_0x2a2d40[_0x4b0698(0x9f)],'sflqJ':function(_0x11c357,_0x4526f3){return _0x2a2d40['XjZzs'](_0x11c357,_0x4526f3);}};let _0x50342b=![];_0x2a2d40['myLTe'](setTimeout,()=>{const _0x4ca36d=_0x4b0698;!_0x50342b&&_0x1ba1de(_0x42b853[_0x4ca36d(0x98)]);},0x1388);const _0x137323=_0x3c0646=>{const _0x59835e=_0x4b0698;_0x50342b=!![],_0x42b853[_0x59835e(0x6b)](_0x202646,_0x3c0646[_0x59835e(0x8b)]);};GroupFileInfoUpdateTasks['set'](_0x2a2d40[_0x4b0698(0xb0)](randomUUID),_0x137323),await napCatCore['session'][_0x4b0698(0x7b)]()['getGroupFileList'](_0x4e7b32,_0x5a0f28);});}static async[_0x5ca580(0x87)](_0x216a13,_0x15ed7e,_0x4247b4){const _0x12630c=_0x5ca580;return napCatCore[_0x12630c(0x8c)][_0x12630c(0x91)]()[_0x12630c(0xa4)](_0x216a13,_0x15ed7e,_0x4247b4,!![]);}static async[_0x5ca580(0x7d)](){}static async['recallMsg'](_0x341c00,_0x145eba){const _0x4897df=_0x5ca580;await napCatCore['session'][_0x4897df(0x91)]()[_0x4897df(0x81)]({'chatType':_0x341c00[_0x4897df(0x84)],'peerUid':_0x341c00[_0x4897df(0x92)]},_0x145eba);}static async[_0x5ca580(0x6f)](_0xde42f2,_0x108369,_0x29c84d=!![],_0x9fd84d=0x2710){const _0x91b897=_0x5ca580,_0x23538b={'OZiDT':_0x91b897(0x73),'QTrBa':function(_0xbf6d9b,_0x244a90){return _0xbf6d9b(_0x244a90);},'YaTDo':function(_0x390e2b){return _0x390e2b();},'IvUvj':function(_0x4bfed2,_0x1f3a85){return _0x4bfed2(_0x1f3a85);},'nGEXc':function(_0x3bb10d,_0x32cc5b,_0xcdf2f4){return _0x3bb10d(_0x32cc5b,_0xcdf2f4);}},_0x8a4ade=_0xde42f2[_0x91b897(0x92)];let _0x506675=0x0;const _0x16dc6c=async()=>{const _0x31b121=_0x91b897;if(_0x506675>_0x9fd84d)throw _0x23538b['OZiDT'];const _0xb9cba6=sendMessagePool[_0xde42f2[_0x31b121(0x92)]];if(_0xb9cba6)return await _0x23538b[_0x31b121(0x95)](sleep,0x1f4),_0x506675+=0x1f4,await _0x23538b[_0x31b121(0xa0)](_0x16dc6c);else return;};return await _0x16dc6c(),new Promise((_0x357f6b,_0x25ea7a)=>{const _0x19dc8a=_0x91b897,_0x4b5f28={'WziOi':function(_0x33bc46,_0x1bd20e){return _0x33bc46===_0x1bd20e;},'QTpCB':function(_0xf7d4b9,_0x423d80){const _0x26a2a8=_0x3956;return _0x23538b[_0x26a2a8(0xb3)](_0xf7d4b9,_0x423d80);},'dZdnS':_0x23538b[_0x19dc8a(0x93)]};let _0x54dc86=![],_0x54270a=null;const _0x4cf24a=_0x23538b['YaTDo'](randomUUID);sendSuccessCBMap[_0x4cf24a]=_0x4d40b4=>{const _0x9d8cef=_0x19dc8a;if(_0x4b5f28[_0x9d8cef(0x86)](_0x4d40b4[_0x9d8cef(0x7a)],_0x54270a?.[_0x9d8cef(0x7a)])){if(_0x4d40b4[_0x9d8cef(0x7e)]===0x2)return delete sendSuccessCBMap[_0x4cf24a],_0x54dc86=!![],_0x4b5f28[_0x9d8cef(0xab)](_0x357f6b,_0x4d40b4),!![];return![];}return![];},sendMessagePool[_0x8a4ade]=async _0x4ab9cb=>{delete sendMessagePool[_0x8a4ade],_0x54270a=_0x4ab9cb;},_0x23538b[_0x19dc8a(0x90)](setTimeout,()=>{const _0x33e32a=_0x19dc8a;if(_0x54dc86)return;delete sendMessagePool[_0x8a4ade],delete sendSuccessCBMap[_0x4cf24a],_0x4b5f28[_0x33e32a(0xab)](_0x25ea7a,_0x4b5f28['dZdnS']);},_0x9fd84d);const _0x2c37c6=napCatCore[_0x19dc8a(0x8c)]['getMsgService']()[_0x19dc8a(0x6f)]('0',_0xde42f2,_0x108369,new Map());});}static async[_0x5ca580(0x74)](_0x493d66,_0x127892,_0x5ad4e3){const _0x8d951e=_0x5ca580;return napCatCore[_0x8d951e(0x8c)][_0x8d951e(0x91)]()[_0x8d951e(0x74)](_0x5ad4e3,_0x493d66,[_0x127892],new Map());}static async[_0x5ca580(0xa3)](_0x37edd7,_0x1022a2,_0x34fb24){const _0x333390=_0x5ca580,_0x21a9c0={'IimDV':_0x333390(0x79),'SRPNi':function(_0x270883,_0x256ea1){return _0x270883==_0x256ea1;},'tyDKH':function(_0x5b4965,_0x287bba){return _0x5b4965(_0x287bba);},'VxrFS':function(_0x5d110f){return _0x5d110f();},'wkKFC':function(_0x7ac391,_0x42484f,_0x2ae77e){return _0x7ac391(_0x42484f,_0x2ae77e);}},_0x1def70=_0x34fb24[_0x333390(0xaf)](_0x3ce2ad=>{const _0xcd11f1=_0x333390;return{'msgId':_0x3ce2ad,'senderShowName':selfInfo[_0xcd11f1(0x7c)]};});return new Promise((_0x182aa5,_0x247a09)=>{const _0x303c92=_0x333390;let _0x424474=![];const _0x33dee5=_0x414450=>{const _0x190a06=_0x3956,_0x4bf4dd=_0x414450[_0x190a06(0x71)][_0x190a06(0xa5)](_0x446b09=>_0x446b09[_0x190a06(0xb2)]);if(!_0x4bf4dd)return;const _0x368c47=JSON[_0x190a06(0x8d)](_0x4bf4dd[_0x190a06(0xb2)][_0x190a06(0xa9)]);if(_0x368c47['app']!=_0x21a9c0[_0x190a06(0xae)])return;_0x414450[_0x190a06(0x92)]==_0x1022a2[_0x190a06(0x92)]&&_0x21a9c0[_0x190a06(0x6d)](_0x414450[_0x190a06(0x85)],selfInfo[_0x190a06(0xa8)])&&(_0x424474=!![],_0x21a9c0['tyDKH'](_0x182aa5,_0x414450));};sentMsgTasks['set'](_0x21a9c0[_0x303c92(0xb4)](randomUUID),_0x33dee5),_0x21a9c0['wkKFC'](setTimeout,()=>{const _0x139b16=_0x303c92;!_0x424474&&_0x247a09(_0x139b16(0x76));},0x1388),napCatCore['session']['getMsgService']()[_0x303c92(0x94)](_0x1def70,_0x37edd7,_0x1022a2,[],new Map());});}} \ No newline at end of file +const _0x5ef461=_0x1e1c;(function(_0x25c8c3,_0x3e58ad){const _0x32a64a=_0x1e1c,_0x3bae18=_0x25c8c3();while(!![]){try{const _0x123fc6=parseInt(_0x32a64a(0x110))/0x1+parseInt(_0x32a64a(0xef))/0x2+parseInt(_0x32a64a(0xf6))/0x3*(-parseInt(_0x32a64a(0x119))/0x4)+-parseInt(_0x32a64a(0xee))/0x5*(parseInt(_0x32a64a(0xe9))/0x6)+-parseInt(_0x32a64a(0x11a))/0x7*(-parseInt(_0x32a64a(0xf0))/0x8)+-parseInt(_0x32a64a(0xf4))/0x9+-parseInt(_0x32a64a(0xfb))/0xa*(-parseInt(_0x32a64a(0xdf))/0xb);if(_0x123fc6===_0x3e58ad)break;else _0x3bae18['push'](_0x3bae18['shift']());}catch(_0x55ebf4){_0x3bae18['push'](_0x3bae18['shift']());}}}(_0x2cd0,0x55add));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';function _0x1e1c(_0x52db58,_0x52b146){const _0x2cd041=_0x2cd0();return _0x1e1c=function(_0x1e1cf3,_0x3eb39a){_0x1e1cf3=_0x1e1cf3-0xda;let _0x3bed63=_0x2cd041[_0x1e1cf3];return _0x3bed63;},_0x1e1c(_0x52db58,_0x52b146);}import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x5ef461(0x112)]=_0x278971=>{const _0x3c8011={'DVSxZ':function(_0x59a33a,_0x5c165f){return _0x59a33a(_0x5c165f);}};for(const [_0x550a87,_0x18fb18]of GroupFileInfoUpdateTasks){_0x3c8011['DVSxZ'](_0x18fb18,_0x278971),GroupFileInfoUpdateTasks['delete'](_0x550a87);}},msgListener[_0x5ef461(0x10d)]=_0x2bbb09=>{const _0x549518=_0x5ef461,_0x229afa={'dAZYw':function(_0x8421cd,_0x2ddde3){return _0x8421cd(_0x2ddde3);},'YmrNW':function(_0x511431,_0x5e7b65){return _0x511431 instanceof _0x5e7b65;}};for(const [_0x9895a0,_0x1423e7]of sentMsgTasks){_0x229afa[_0x549518(0xde)](_0x1423e7,_0x2bbb09),sentMsgTasks['delete'](_0x9895a0);}if(sendMessagePool[_0x2bbb09[_0x549518(0x101)]]){const _0x4b0512=sendMessagePool[_0x2bbb09[_0x549518(0x101)]]?.(_0x2bbb09);_0x229afa[_0x549518(0x10a)](_0x4b0512,Promise)&&_0x4b0512[_0x549518(0xf2)]()[_0x549518(0x111)](logError);}},msgListener[_0x5ef461(0xf3)]=_0x4472b1=>{const _0x47c937={'FRaWd':function(_0xddd3a1,_0x31670a){return _0xddd3a1(_0x31670a);},'ZnEbx':function(_0xa8a83c,_0x58688b){return _0xa8a83c instanceof _0x58688b;}};_0x4472b1['forEach'](_0x1d7b70=>{const _0x61bcd6=_0x1e1c;new Promise((_0x18b49e,_0x166844)=>{const _0x5f4c6e=_0x1e1c;for(const _0x5e7f9f in sendSuccessCBMap){const _0x1d28ff=sendSuccessCBMap[_0x5e7f9f],_0x44d170=_0x47c937[_0x5f4c6e(0x116)](_0x1d28ff,_0x1d7b70),_0x45c693=_0x11edaf=>{_0x11edaf&&delete sendSuccessCBMap[_0x5e7f9f];};_0x47c937[_0x5f4c6e(0x10c)](_0x44d170,Promise)?_0x44d170[_0x5f4c6e(0xf2)](_0x45c693):_0x45c693(_0x44d170);}})[_0x61bcd6(0xf2)]()[_0x61bcd6(0x111)](log);});},setTimeout(()=>{const _0x10a331=_0x5ef461;napCatCore[_0x10a331(0xe5)](()=>{const _0x2dfd70=_0x10a331;napCatCore[_0x2dfd70(0x10f)](msgListener);});},0x64);function _0x2cd0(){const _0x1d6e75=['egkiW','msgId','CSwqs','aLPmy','75TZzWPZ','92874anHjCh','167576ARwCOp','map','then','onMsgInfoListUpdate','4705614ZrTCTm','XkSAz','3wjCutr','sendStatus','item','app','mDytH','5790pdVdpV','RicWG','getMsgService','getMsgHistory','activateChat','set','peerUid','sendMsg','senderUid','chatType','parse','getMsgsByMsgId','mvGIQ','recallMsg','uid','YmrNW','fetchRecentContact','ZnEbx','onAddSendMsg','VlxqA','addListener','98896uqsgDG','catch','onGroupFileInfoUpdate','session','getRichMediaService','setMsgRead','FRaWd','GKwHw','转发消息超时','1424892jewzzl','21ziLNtV','获取群文件列表超时','pilLW','setEmojiLike','getMsgsBySeqAndCount','elements','arkElement','getMultiMsg','dAZYw','26939mmXlrH','UFcXt','UvIyj','com.tencent.multimsg','multiForwardMsg','multiForwardMsgWithComment','onLoginSuccess','getGroupFileList','find','GVLOK','158454tKXBQI'];_0x2cd0=function(){return _0x1d6e75;};return _0x2cd0();}export class NTQQMsgApi{static async[_0x5ef461(0x11d)](_0x52beee,_0x2105aa,_0x2d332e,_0x4b03ff=!![]){const _0x5b72c2=_0x5ef461;return _0x2d332e=_0x2d332e['toString'](),napCatCore[_0x5b72c2(0x113)]['getMsgService']()['setMsgEmojiLikes'](_0x52beee,_0x2105aa,_0x2d332e,_0x2d332e['length']>0x3?'2':'1',_0x4b03ff);}static async[_0x5ef461(0xdd)](_0x5cdc08,_0x5b76fc,_0x2018ca){const _0x1a27dd=_0x5ef461;return napCatCore[_0x1a27dd(0x113)][_0x1a27dd(0xfd)]()['getMultiMsg'](_0x5cdc08,_0x5b76fc,_0x2018ca);}static async[_0x5ef461(0x106)](_0x61caa6,_0x5e6a15){const _0x5f5b14=_0x5ef461;return await napCatCore[_0x5f5b14(0x113)][_0x5f5b14(0xfd)]()['getMsgsByMsgId'](_0x61caa6,_0x5e6a15);}static async['getMsgsBySeqAndCount'](_0x26bdcd,_0x5b09b8,_0x40830e,_0x5d3c1c,_0x388fc2){const _0x41553b=_0x5ef461;return await napCatCore[_0x41553b(0x113)][_0x41553b(0xfd)]()[_0x41553b(0xda)](_0x26bdcd,_0x5b09b8,_0x40830e,_0x5d3c1c,_0x388fc2);}static async[_0x5ef461(0xff)](_0x41f51c){}static async['activateChatAndGetHistory'](_0x38dc06){}static async[_0x5ef461(0x115)](_0x4680bc){const _0x26f833=_0x5ef461;return napCatCore[_0x26f833(0x113)]['getMsgService']()['setMsgRead'](_0x4680bc);}static async[_0x5ef461(0xe6)](_0x4f3673,_0x4de54d){const _0x563606={'pilLW':function(_0x58bb06,_0x825c58,_0x23546e){return _0x58bb06(_0x825c58,_0x23546e);},'CSwqs':function(_0x388735){return _0x388735();}};return new Promise(async(_0x1f9b63,_0x570a4e)=>{const _0x22acb3=_0x1e1c;let _0x13ee2d=![];_0x563606[_0x22acb3(0x11c)](setTimeout,()=>{const _0x587512=_0x22acb3;!_0x13ee2d&&_0x570a4e(_0x587512(0x11b));},0x1388);const _0x13daf6=_0x155c92=>{const _0x24c3bb=_0x22acb3;_0x13ee2d=!![],_0x1f9b63(_0x155c92[_0x24c3bb(0xf8)]);};GroupFileInfoUpdateTasks[_0x22acb3(0x100)](_0x563606[_0x22acb3(0xec)](randomUUID),_0x13daf6),await napCatCore[_0x22acb3(0x113)][_0x22acb3(0x114)]()[_0x22acb3(0xe6)](_0x4f3673,_0x4de54d);});}static async[_0x5ef461(0xfe)](_0x548925,_0x57b616,_0xa1324c){const _0x45f7c5=_0x5ef461;return napCatCore[_0x45f7c5(0x113)][_0x45f7c5(0xfd)]()['getMsgsIncludeSelf'](_0x548925,_0x57b616,_0xa1324c,!![]);}static async[_0x5ef461(0x10b)](){}static async[_0x5ef461(0x108)](_0x5e4501,_0xc49139){const _0x305251=_0x5ef461;await napCatCore[_0x305251(0x113)]['getMsgService']()[_0x305251(0x108)]({'chatType':_0x5e4501[_0x305251(0x104)],'peerUid':_0x5e4501[_0x305251(0x101)]},_0xc49139);}static async[_0x5ef461(0x102)](_0x1fa733,_0x1375ee,_0x4840f2=!![],_0x184e97=0x2710){const _0x2f6a12=_0x5ef461,_0x447cb6={'RicWG':function(_0x5c15e5,_0x3c4b1f){return _0x5c15e5>_0x3c4b1f;},'mDytH':'发送超时','aLPmy':function(_0x4696c2,_0x16844f){return _0x4696c2(_0x16844f);},'UvIyj':function(_0x38aa5f){return _0x38aa5f();},'UFcXt':function(_0x12cc76,_0x17f88d){return _0x12cc76===_0x17f88d;},'VlxqA':function(_0x417d4d,_0x69b4dd,_0x4407cc){return _0x417d4d(_0x69b4dd,_0x4407cc);}},_0x52a2d2=_0x1fa733[_0x2f6a12(0x101)];let _0x58f32c=0x0;const _0x30452a=async()=>{const _0x19c248=_0x2f6a12;if(_0x447cb6[_0x19c248(0xfc)](_0x58f32c,_0x184e97))throw _0x447cb6[_0x19c248(0xfa)];const _0x556291=sendMessagePool[_0x1fa733['peerUid']];if(_0x556291)return await _0x447cb6['aLPmy'](sleep,0x1f4),_0x58f32c+=0x1f4,await _0x447cb6['UvIyj'](_0x30452a);else return;};return await _0x30452a(),new Promise((_0x1dfbb2,_0x13d045)=>{const _0x4aa0ce=_0x2f6a12;let _0x2854f3=![],_0x2b7f05=null;const _0xe66d05=_0x447cb6[_0x4aa0ce(0xe1)](randomUUID);sendSuccessCBMap[_0xe66d05]=_0x4cf8c9=>{const _0x38dab8=_0x4aa0ce;if(_0x447cb6[_0x38dab8(0xe0)](_0x4cf8c9[_0x38dab8(0xeb)],_0x2b7f05?.[_0x38dab8(0xeb)])){if(_0x447cb6[_0x38dab8(0xe0)](_0x4cf8c9[_0x38dab8(0xf7)],0x2))return delete sendSuccessCBMap[_0xe66d05],_0x2854f3=!![],_0x447cb6[_0x38dab8(0xed)](_0x1dfbb2,_0x4cf8c9),!![];return![];}return![];},sendMessagePool[_0x52a2d2]=async _0x3316e4=>{delete sendMessagePool[_0x52a2d2],_0x2b7f05=_0x3316e4;},_0x447cb6[_0x4aa0ce(0x10e)](setTimeout,()=>{const _0x199adc=_0x4aa0ce;if(_0x2854f3)return;delete sendMessagePool[_0x52a2d2],delete sendSuccessCBMap[_0xe66d05],_0x447cb6[_0x199adc(0xed)](_0x13d045,'发送超时');},_0x184e97);const _0x3688dc=napCatCore['session'][_0x4aa0ce(0xfd)]()[_0x4aa0ce(0x102)]('0',_0x1fa733,_0x1375ee,new Map());});}static async['forwardMsg'](_0x16fea9,_0x135cb8,_0x4f4cc0){const _0x2b5702=_0x5ef461;return napCatCore['session'][_0x2b5702(0xfd)]()['forwardMsg'](_0x4f4cc0,_0x16fea9,[_0x135cb8],new Map());}static async[_0x5ef461(0xe3)](_0x393efa,_0x5da67d,_0x1d0f9f){const _0x38b3a9=_0x5ef461,_0x460b1a={'zGJmi':_0x38b3a9(0xe2),'mvGIQ':function(_0x48e1a1,_0x58f4c9){return _0x48e1a1==_0x58f4c9;},'egkiW':function(_0x4e0daa,_0x141416){return _0x4e0daa==_0x141416;},'BSBsH':function(_0x42a278,_0x2182a1){return _0x42a278(_0x2182a1);},'GKwHw':_0x38b3a9(0x118),'GVLOK':function(_0x5e8884){return _0x5e8884();},'XkSAz':function(_0x365839,_0x1ccb9a,_0x784239){return _0x365839(_0x1ccb9a,_0x784239);}},_0x2606d6=_0x1d0f9f[_0x38b3a9(0xf1)](_0x4cdf2e=>{return{'msgId':_0x4cdf2e,'senderShowName':selfInfo['nick']};});return new Promise((_0x21d093,_0xa09a90)=>{const _0x1ef2c9=_0x38b3a9;let _0x22260d=![];const _0x53d251=_0x1382fd=>{const _0x7f5c59=_0x1e1c,_0x1703fb=_0x1382fd[_0x7f5c59(0xdb)][_0x7f5c59(0xe7)](_0x188da2=>_0x188da2[_0x7f5c59(0xdc)]);if(!_0x1703fb)return;const _0x207aef=JSON[_0x7f5c59(0x105)](_0x1703fb[_0x7f5c59(0xdc)]['bytesData']);if(_0x207aef[_0x7f5c59(0xf9)]!=_0x460b1a['zGJmi'])return;_0x460b1a[_0x7f5c59(0x107)](_0x1382fd[_0x7f5c59(0x101)],_0x5da67d[_0x7f5c59(0x101)])&&_0x460b1a[_0x7f5c59(0xea)](_0x1382fd[_0x7f5c59(0x103)],selfInfo[_0x7f5c59(0x109)])&&(_0x22260d=!![],_0x21d093(_0x1382fd));};sentMsgTasks[_0x1ef2c9(0x100)](_0x460b1a[_0x1ef2c9(0xe8)](randomUUID),_0x53d251),_0x460b1a[_0x1ef2c9(0xf5)](setTimeout,()=>{const _0x4e9dcf=_0x1ef2c9;!_0x22260d&&_0x460b1a['BSBsH'](_0xa09a90,_0x460b1a[_0x4e9dcf(0x117)]);},0x1388),napCatCore[_0x1ef2c9(0x113)][_0x1ef2c9(0xfd)]()[_0x1ef2c9(0xe4)](_0x2606d6,_0x393efa,_0x5da67d,[],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 189d9a8f..b5e68331 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x3bd5b5,_0x3fdb14){const _0x13b0a3=_0x33b2,_0x7097bf=_0x3bd5b5();while(!![]){try{const _0x3a5885=-parseInt(_0x13b0a3(0x1da))/0x1+-parseInt(_0x13b0a3(0x1cf))/0x2*(-parseInt(_0x13b0a3(0x1c9))/0x3)+parseInt(_0x13b0a3(0x1d4))/0x4*(parseInt(_0x13b0a3(0x1c2))/0x5)+parseInt(_0x13b0a3(0x1ab))/0x6*(parseInt(_0x13b0a3(0x1c1))/0x7)+-parseInt(_0x13b0a3(0x1cc))/0x8+-parseInt(_0x13b0a3(0x1bf))/0x9*(parseInt(_0x13b0a3(0x1ca))/0xa)+-parseInt(_0x13b0a3(0x1b1))/0xb*(-parseInt(_0x13b0a3(0x1b5))/0xc);if(_0x3a5885===_0x3fdb14)break;else _0x7097bf['push'](_0x7097bf['shift']());}catch(_0x1f0d1e){_0x7097bf['push'](_0x7097bf['shift']());}}}(_0xcd78,0xa5936));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0xcd78(){const _0x3657af=['15podpOS','GET','source','OllyZ','ofslf','dyKID','WUviU','1931865CBKXfV','1510NhyExD',';\x20p_uin=o','6924424zuiytQ','replace','tag','2sBsEtd','normal','UCayw','VfQDy','eSOmH','13840fdmKeD','FyWOF','jumpUrl',';\x20uin=o','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','iFKTY','640162TluPUr','6PFDrxs','sourcelogo','FhraD','WknIi','umtJU','p_skey','22760551bRZVpq','MiniApp\x20JSON\x20消息生成失败','skey','data','12QkSxcP','prompt','HttpGetJson',';\x20skey=','\x5c/\x5c/','&ark=','uin','title','tianxuan.imgJumpArk','oCWXM','76149PjofaK','CcOAE','5166336waiZpT'];_0xcd78=function(){return _0x3657af;};return _0xcd78();}import{RequestUtil}from'@/common/utils/request';function _0x33b2(_0x4c3803,_0x29df50){const _0xcd780b=_0xcd78();return _0x33b2=function(_0x33b26f,_0x33eedf){_0x33b26f=_0x33b26f-0x1ab;let _0x5b77e5=_0xcd780b[_0x33b26f];return _0x5b77e5;},_0x33b2(_0x4c3803,_0x29df50);}import{WebApi}from'./webapi';export async function SignMiniApp(_0x106bff){const _0x5c2623=_0x33b2,_0xef9042={'eSOmH':'com.tencent.miniapp.lua','FhraD':'miniapp','dyKID':_0x5c2623(0x1d0),'ofslf':_0x5c2623(0x1b9),'umtJU':function(_0x3a3484,_0x4d68df){return _0x3a3484+_0x4d68df;},'WUviU':function(_0xb4a365,_0x593442){return _0xb4a365+_0x593442;},'OllyZ':function(_0x45eb04,_0x53e9ec){return _0x45eb04+_0x53e9ec;},'iFKTY':'p_skey=','UCayw':_0x5c2623(0x1cb),'CcOAE':function(_0x4bfd74,_0x50e217){return _0x4bfd74+_0x50e217;},'oCWXM':function(_0x1b301a,_0x2abb6f){return _0x1b301a+_0x2abb6f;},'QXAms':_0x5c2623(0x1d8),'FyWOF':_0x5c2623(0x1ba),'vbQiG':function(_0x25dccd,_0x44ce0e){return _0x25dccd(_0x44ce0e);},'nRimK':_0x5c2623(0x1c3),'WknIi':function(_0x2c3029,_0x4374d7,_0xb3cda7){return _0x2c3029(_0x4374d7,_0xb3cda7);},'VfQDy':_0x5c2623(0x1b2)};let _0x3e03a4={'app':_0xef9042[_0x5c2623(0x1d3)],'bizsrc':_0x5c2623(0x1bd),'view':_0xef9042[_0x5c2623(0x1ad)],'prompt':_0x106bff[_0x5c2623(0x1b6)],'config':{'type':_0xef9042[_0x5c2623(0x1c7)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x106bff[_0x5c2623(0x1bc)],'preview':_0x106bff['preview'][_0x5c2623(0x1cd)](/\\/g,_0xef9042[_0x5c2623(0x1c6)]),'jumpUrl':_0x106bff[_0x5c2623(0x1d6)][_0x5c2623(0x1cd)](/\\/g,_0xef9042[_0x5c2623(0x1c6)]),'tag':_0x106bff[_0x5c2623(0x1ce)],'tagIcon':_0x106bff['tagIcon'][_0x5c2623(0x1cd)](/\\/g,_0xef9042[_0x5c2623(0x1c6)]),'source':_0x106bff[_0x5c2623(0x1c4)],'sourcelogo':_0x106bff[_0x5c2623(0x1ac)]['replace'](/\\/g,_0x5c2623(0x1b9))}}};const _0x392d2c=await NTQQUserApi['getSkey']();let _0x37f819=await NTQQUserApi['getQzoneCookies']();const _0x5db59c=WebApi['genBkn'](_0x37f819[_0x5c2623(0x1b0)]),_0x24b2dd=_0xef9042[_0x5c2623(0x1af)](_0xef9042[_0x5c2623(0x1c8)](_0xef9042[_0x5c2623(0x1af)](_0xef9042['umtJU'](_0xef9042[_0x5c2623(0x1c5)](_0xef9042[_0x5c2623(0x1d9)],_0x37f819['p_skey']),_0x5c2623(0x1b8))+_0x37f819[_0x5c2623(0x1b3)]+_0xef9042[_0x5c2623(0x1d1)],selfInfo[_0x5c2623(0x1bb)]),_0x5c2623(0x1d7)),selfInfo[_0x5c2623(0x1bb)]);let _0x1c4cb0=_0xef9042[_0x5c2623(0x1c0)](_0xef9042[_0x5c2623(0x1c0)](_0xef9042[_0x5c2623(0x1be)](_0xef9042['QXAms'],_0x5db59c),_0xef9042[_0x5c2623(0x1d5)]),_0xef9042['vbQiG'](encodeURIComponent,JSON['stringify'](_0x3e03a4))),_0x181994='';try{let _0x33f1dc=await RequestUtil[_0x5c2623(0x1b7)](_0x1c4cb0,_0xef9042['nRimK'],undefined,{'Cookie':_0x24b2dd});_0x181994=_0x33f1dc[_0x5c2623(0x1b4)]['signed_ark'];}catch(_0x1db524){_0xef9042[_0x5c2623(0x1ae)](logDebug,_0xef9042[_0x5c2623(0x1d2)],_0x1db524);}return _0x181994;} \ No newline at end of file +(function(_0x4f5a6e,_0x4580a2){const _0x40b5d5=_0x2790,_0x597bb7=_0x4f5a6e();while(!![]){try{const _0x38934b=parseInt(_0x40b5d5(0x1a4))/0x1*(-parseInt(_0x40b5d5(0x190))/0x2)+-parseInt(_0x40b5d5(0x187))/0x3+parseInt(_0x40b5d5(0x196))/0x4+-parseInt(_0x40b5d5(0x1a7))/0x5*(-parseInt(_0x40b5d5(0x19d))/0x6)+parseInt(_0x40b5d5(0x18e))/0x7+parseInt(_0x40b5d5(0x195))/0x8+parseInt(_0x40b5d5(0x18f))/0x9*(-parseInt(_0x40b5d5(0x179))/0xa);if(_0x38934b===_0x4580a2)break;else _0x597bb7['push'](_0x597bb7['shift']());}catch(_0x25e27a){_0x597bb7['push'](_0x597bb7['shift']());}}}(_0x27ab,0xa8b9c));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x27ab(){const _0xe68c7f=['https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','MfyFs','replace','signed_ark','tianxuan.imgJumpArk','tagIcon','title','PyTLi','&ark=','uin','miniapp','source','2046378pxuMfC','preview','sourcelogo','tag','genBkn',';\x20uin=o','YhsCN','2085349YaWtdH','487206qKukLr','482QZnXGE','hDOkm',';\x20p_uin=o','data','JbHBz','4495352aIRrZU','372252CFYXtz','OPnoJ','stringify','\x5c/\x5c/','XQHzA','sgFnx','NSHLx','924xrWlpU','normal','skey','getSkey','ZkCZS','GET','xiRjZ','1747kxerqP','com.tencent.miniapp.lua','p_skey','36105yAncNf','ggOjD','50TpZjth',';\x20skey='];_0x27ab=function(){return _0xe68c7f;};return _0x27ab();}function _0x2790(_0x13fdcf,_0x50f8d8){const _0x27ab4d=_0x27ab();return _0x2790=function(_0x2790a8,_0x4e5c48){_0x2790a8=_0x2790a8-0x179;let _0x178420=_0x27ab4d[_0x2790a8];return _0x178420;},_0x2790(_0x13fdcf,_0x50f8d8);}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x232664){const _0x21a46c=_0x2790,_0x397da3={'ggOjD':_0x21a46c(0x1a5),'iHfKS':_0x21a46c(0x17f),'PyTLi':_0x21a46c(0x19e),'MfyFs':_0x21a46c(0x199),'XQHzA':function(_0x9ae3ea,_0x24eed7){return _0x9ae3ea+_0x24eed7;},'sgFnx':function(_0x21d358,_0x16d9a6){return _0x21d358+_0x16d9a6;},'NSHLx':function(_0x12cdf0,_0x1fa5d1){return _0x12cdf0+_0x1fa5d1;},'xiRjZ':'p_skey=','WBeAb':_0x21a46c(0x17a),'YhsCN':_0x21a46c(0x192),'OPnoJ':_0x21a46c(0x18c),'NXDYa':function(_0x5708e9,_0x1c82ea){return _0x5708e9+_0x1c82ea;},'ZkCZS':function(_0x3a4d13,_0x51be20){return _0x3a4d13+_0x51be20;},'JbHBz':function(_0x115522,_0x300352){return _0x115522(_0x300352);},'hDOkm':_0x21a46c(0x1a2),'nyOHa':function(_0x450d4f,_0x43e312,_0x1ed97f){return _0x450d4f(_0x43e312,_0x1ed97f);}};let _0x24b13a={'app':_0x397da3[_0x21a46c(0x1a8)],'bizsrc':_0x397da3['iHfKS'],'view':_0x21a46c(0x185),'prompt':_0x232664['prompt'],'config':{'type':_0x397da3[_0x21a46c(0x182)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x232664[_0x21a46c(0x181)],'preview':_0x232664[_0x21a46c(0x188)]['replace'](/\\/g,_0x397da3[_0x21a46c(0x17c)]),'jumpUrl':_0x232664['jumpUrl'][_0x21a46c(0x17d)](/\\/g,_0x397da3[_0x21a46c(0x17c)]),'tag':_0x232664[_0x21a46c(0x18a)],'tagIcon':_0x232664[_0x21a46c(0x180)]['replace'](/\\/g,_0x21a46c(0x199)),'source':_0x232664[_0x21a46c(0x186)],'sourcelogo':_0x232664[_0x21a46c(0x189)][_0x21a46c(0x17d)](/\\/g,_0x397da3[_0x21a46c(0x17c)])}}};const _0x13a351=await NTQQUserApi[_0x21a46c(0x1a0)]();let _0x36d8d7=await NTQQUserApi['getQzoneCookies']();const _0x4aac9e=WebApi[_0x21a46c(0x18b)](_0x36d8d7[_0x21a46c(0x1a6)]),_0x29dbe9=_0x397da3[_0x21a46c(0x19a)](_0x397da3[_0x21a46c(0x19b)](_0x397da3[_0x21a46c(0x19a)](_0x397da3[_0x21a46c(0x19c)](_0x397da3[_0x21a46c(0x19a)](_0x397da3[_0x21a46c(0x1a3)],_0x36d8d7['p_skey']),_0x397da3['WBeAb']),_0x36d8d7[_0x21a46c(0x19f)])+_0x397da3[_0x21a46c(0x18d)],selfInfo[_0x21a46c(0x184)]),_0x397da3[_0x21a46c(0x197)])+selfInfo[_0x21a46c(0x184)];let _0x25122d=_0x397da3['NXDYa'](_0x397da3[_0x21a46c(0x1a1)](_0x21a46c(0x17b),_0x4aac9e),_0x21a46c(0x183))+_0x397da3[_0x21a46c(0x194)](encodeURIComponent,JSON[_0x21a46c(0x198)](_0x24b13a)),_0x1be9c8='';try{let _0x2e54fe=await RequestUtil['HttpGetJson'](_0x25122d,_0x397da3[_0x21a46c(0x191)],undefined,{'Cookie':_0x29dbe9});_0x1be9c8=_0x2e54fe[_0x21a46c(0x193)][_0x21a46c(0x17e)];}catch(_0x24ad5a){_0x397da3['nyOHa'](logDebug,'MiniApp\x20JSON\x20消息生成失败',_0x24ad5a);}return _0x1be9c8;} \ 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 70db78c2..76c948f2 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x17e7(_0x2d2f41,_0x5a18e8){const _0x546989=_0x5469();return _0x17e7=function(_0x17e791,_0x347fb2){_0x17e791=_0x17e791-0x167;let _0x292034=_0x546989[_0x17e791];return _0x292034;},_0x17e7(_0x2d2f41,_0x5a18e8);}const _0x350bb5=_0x17e7;(function(_0xddfe48,_0x34897a){const _0xae6492=_0x17e7,_0x52bd72=_0xddfe48();while(!![]){try{const _0x359690=parseInt(_0xae6492(0x173))/0x1+parseInt(_0xae6492(0x17a))/0x2*(-parseInt(_0xae6492(0x17c))/0x3)+parseInt(_0xae6492(0x172))/0x4*(parseInt(_0xae6492(0x177))/0x5)+-parseInt(_0xae6492(0x17b))/0x6+-parseInt(_0xae6492(0x169))/0x7+-parseInt(_0xae6492(0x167))/0x8*(-parseInt(_0xae6492(0x171))/0x9)+parseInt(_0xae6492(0x16c))/0xa;if(_0x359690===_0x34897a)break;else _0x52bd72['push'](_0x52bd72['shift']());}catch(_0x16c9f5){_0x52bd72['push'](_0x52bd72['shift']());}}}(_0x5469,0xf3a4b));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x5469(){const _0x17a2e0=['18825320cPpRLv','hasOtherRunningQQProcess','CallNoListenerEvent','PYaRD','session','432LYwZIA','124iIthFc','757274XaZldP','getOnLineDev','getMsgService','translateEnWordToZn','137835AUsTbn','util','getRichMediaService','525338BonnBP','11091138pLdYFx','3lfCUeI','6392HFadsp','getNodeMiscService','2965060AbrZyg','getArkJsonCollection','getOnlineDev'];_0x5469=function(){return _0x17a2e0;};return _0x5469();}import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x4487ce=_0x17e7;return napCatCore[_0x4487ce(0x178)][_0x4487ce(0x16d)]();}static async['ORCImage'](_0x2f5a74){const _0x74462f=_0x17e7;return napCatCore[_0x74462f(0x170)][_0x74462f(0x168)]()['wantWinScreenOCR'](_0x2f5a74);}static async[_0x350bb5(0x176)](_0x20c8c8){const _0x8bc90a=_0x350bb5;return napCatCore[_0x8bc90a(0x170)][_0x8bc90a(0x179)]()[_0x8bc90a(0x176)](_0x20c8c8);}static async[_0x350bb5(0x16b)](){const _0x3b15c4=_0x350bb5;return napCatCore[_0x3b15c4(0x170)][_0x3b15c4(0x175)]()[_0x3b15c4(0x174)]();}static async[_0x350bb5(0x16a)](_0x2e1571){const _0x442973=_0x350bb5,_0x2a6d88={'LifZA':'NodeIKernelCollectionService/collectionArkShare','PYaRD':'1717662698058'};let _0x4d0f2f=await NTEventDispatch[_0x442973(0x16e)](_0x2a6d88['LifZA'],0x1388,_0x2a6d88[_0x442973(0x16f)]);return _0x4d0f2f;}} \ No newline at end of file +const _0x137c62=_0x2534;(function(_0x5f41f6,_0x4af588){const _0x7cb8e9=_0x2534,_0x114515=_0x5f41f6();while(!![]){try{const _0x44a530=-parseInt(_0x7cb8e9(0x1f2))/0x1*(-parseInt(_0x7cb8e9(0x1ed))/0x2)+parseInt(_0x7cb8e9(0x1f6))/0x3+parseInt(_0x7cb8e9(0x1ec))/0x4+parseInt(_0x7cb8e9(0x1f3))/0x5*(parseInt(_0x7cb8e9(0x1ee))/0x6)+-parseInt(_0x7cb8e9(0x1f4))/0x7+-parseInt(_0x7cb8e9(0x1ea))/0x8*(-parseInt(_0x7cb8e9(0x1fc))/0x9)+parseInt(_0x7cb8e9(0x1fa))/0xa*(-parseInt(_0x7cb8e9(0x1f1))/0xb);if(_0x44a530===_0x4af588)break;else _0x114515['push'](_0x114515['shift']());}catch(_0x1d3194){_0x114515['push'](_0x114515['shift']());}}}(_0x3eb3,0x5e729));function _0x2534(_0x5af6e0,_0x2254b4){const _0x3eb321=_0x3eb3();return _0x2534=function(_0x253463,_0x29b08f){_0x253463=_0x253463-0x1ea;let _0x5262f9=_0x3eb321[_0x253463];return _0x5262f9;},_0x2534(_0x5af6e0,_0x2254b4);}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x3eb3(){const _0x11ebd8=['330262iwaLYH','151885EcoZCj','5072718mHiyDo','getOnLineDev','581160sJfncj','getOnlineDev','NodeIKernelCollectionService/collectionArkShare','hasOtherRunningQQProcess','10338630dWupqf','wantWinScreenOCR','30807WtIkGX','getRichMediaService','util','128XwtfSH','getNodeMiscService','2636876AHVAQy','4wOdHtx','114hizssS','1717662698058','session','11rHlOtT'];_0x3eb3=function(){return _0x11ebd8;};return _0x3eb3();}export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x338b99=_0x2534;return napCatCore[_0x338b99(0x1fe)][_0x338b99(0x1f9)]();}static async['ORCImage'](_0x594e1b){const _0x214e95=_0x2534;return napCatCore['session'][_0x214e95(0x1eb)]()[_0x214e95(0x1fb)](_0x594e1b);}static async['translateEnWordToZn'](_0xaea10d){const _0xe55ec0=_0x2534;return napCatCore['session'][_0xe55ec0(0x1fd)]()['translateEnWordToZn'](_0xaea10d);}static async[_0x137c62(0x1f7)](){const _0x617c3=_0x137c62;return napCatCore[_0x617c3(0x1f0)]['getMsgService']()[_0x617c3(0x1f5)]();}static async['getArkJsonCollection'](_0x2535dd){const _0x27ffe8=_0x137c62,_0x3a4c86={'aAVVU':_0x27ffe8(0x1ef)};let _0xe499a0=await NTEventDispatch['CallNoListenerEvent'](_0x27ffe8(0x1f8),0x1388,_0x3a4c86['aAVVU']);return _0xe499a0;}} \ 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 97c82ce1..9b573b90 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x38e534=_0xe429;(function(_0x240aa9,_0x37e6f9){const _0x5a4065=_0xe429,_0x301969=_0x240aa9();while(!![]){try{const _0x45505d=parseInt(_0x5a4065(0x1c8))/0x1+parseInt(_0x5a4065(0x1c2))/0x2+-parseInt(_0x5a4065(0x1a5))/0x3+parseInt(_0x5a4065(0x1ab))/0x4*(-parseInt(_0x5a4065(0x169))/0x5)+parseInt(_0x5a4065(0x1b9))/0x6+-parseInt(_0x5a4065(0x1ae))/0x7*(-parseInt(_0x5a4065(0x17e))/0x8)+-parseInt(_0x5a4065(0x1ad))/0x9*(parseInt(_0x5a4065(0x1b2))/0xa);if(_0x45505d===_0x37e6f9)break;else _0x301969['push'](_0x301969['shift']());}catch(_0x2aabc0){_0x301969['push'](_0x301969['shift']());}}}(_0xd6c6,0xaf4e4));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';function _0xd6c6(){const _0x1a1233=['CreatTime','EMJeb','domainPskeyMap','ymIBI','Magfy','Skey','robotUinRanges','getProfileService','PskeyData','uinInfo','kdzGb','onProfileDetailInfoChanged','entries','KVKyT','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','uid','onLoginSuccess','152EgzHhV','NodeIKernelUixConvertService/getUin','&clientkey=','BiuBC','clientKey','MVchT','biJhL','modifySelfProfile','setStatus','setHeader','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','now','CallNoListenerEvent','PskeyTime','getUserDetailInfoWithBizInfo','setQQAvatar','ayHXM','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','length','%2Finfocenter&keyindex=19%27','getQzoneCookies','getUserDetailInfo\x20timeout','getPskey','qAOph','NodeIKernelProfileService/getUserDetailInfoByUin','getSkey','getBuddyRecommendContactArkJson','forEach','getPSkey','KQnNK','GcJkN','then','getUidByUin','ClientKey','ahtop','mCsmu','getRobotUinRange','getUinByUid','addListener','2274894pgHTAW','请求获取Skey时失败','uin','getUserInfo','setBuddyProfileLike','push','765256feuhHo','lyNbm','8469AvZCKh','427371DxOvYt','ZGmCY','请求获取Cookies时失败','getProfileLikeService','10070VkXsBY','setSelfOnlineStatus','getMsgService','HttpsGetCookies','getTipOffService','set','KeyIndex','815544szzyVO','wOTXC','keyIndex','cMbrP','like','获取Pskey失败','EwwPN','assign','session','2146876iXZOjp','errMsg','CHhiQ','response','SMpcG','IGKMQ','245882YnLNST','VefDj','NodeIKernelUixConvertService/getUid','getBuddyService','getRobotService','result','5kMUaqy','fromEntries','modifyDesktopMiniProfile','get'];_0xd6c6=function(){return _0x1a1233;};return _0xd6c6();}import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0xe429(_0x25bd93,_0x40c155){const _0xd6c639=_0xd6c6();return _0xe429=function(_0xe42969,_0x2d4e66){_0xe42969=_0xe42969-0x167;let _0x31af37=_0xd6c639[_0xe42969];return _0x31af37;},_0xe429(_0x25bd93,_0x40c155);}import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x38e534(0x178)]=_0xd7e8c3=>{const _0x2594e1=_0x38e534;userInfoCache[_0xd7e8c3[_0x2594e1(0x17c)]]=_0xd7e8c3,userDetailHandlers[_0x2594e1(0x199)](_0x583c6c=>_0x583c6c(_0xd7e8c3));},setTimeout(()=>{const _0xa186fd=_0x38e534;napCatCore[_0xa186fd(0x17d)](()=>{const _0x18d9e0=_0xa186fd;napCatCore[_0x18d9e0(0x1a4)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x38e534(0x1b3)](_0x2268f5,_0x1fc003,_0x2ccce5){const _0x3c7a67=_0x38e534;return napCatCore[_0x3c7a67(0x1c1)][_0x3c7a67(0x1b4)]()[_0x3c7a67(0x186)]({'status':_0x2268f5,'extStatus':_0x1fc003,'batteryStatus':_0x2ccce5});}static async[_0x38e534(0x198)](_0x362eb0,_0x5ee2d5=''){const _0x3f0b5e=_0x38e534;return napCatCore[_0x3f0b5e(0x1c1)][_0x3f0b5e(0x1cb)]()[_0x3f0b5e(0x198)](_0x362eb0,_0x5ee2d5);}static async[_0x38e534(0x1bd)](_0x37c690,_0x156d8e=0x1){const _0x1eda1d=_0x38e534;return napCatCore['session'][_0x1eda1d(0x1b1)]()[_0x1eda1d(0x1a9)]({'friendUid':_0x37c690,'sourceId':0x47,'doLikeCount':_0x156d8e,'doLikeTollCount':0x0});}static async[_0x38e534(0x18d)](_0x569e49){const _0x1ee397=_0x38e534,_0x2964e9=napCatCore['session']['getProfileService']()[_0x1ee397(0x187)](_0x569e49);return{'result':_0x2964e9?.[_0x1ee397(0x168)],'errMsg':_0x2964e9?.['errMsg']};}static async['getSelfInfo'](){}static async[_0x38e534(0x1a8)](_0x28bf0c){}static async['getUserDetailInfo'](_0x59f096){const _0x12dfee=_0x38e534,_0x4a1641={'kdzGb':function(_0x509b70,_0x2f343a){return _0x509b70(_0x2f343a);},'KQnNK':function(_0x3b6973,_0x4a84d3){return _0x3b6973(_0x4a84d3);},'wOTXC':_0x12dfee(0x193),'RBozh':function(_0x4921b6,_0x4e655b){return _0x4921b6===_0x4e655b;},'mCsmu':function(_0x4bb4d1){return _0x4bb4d1();}},_0x2c43e6=napCatCore[_0x12dfee(0x1c1)][_0x12dfee(0x174)]();return new Promise((_0x4a6cd6,_0x28084a)=>{const _0x2b4673=_0x12dfee,_0x5f191c=_0x4a1641[_0x2b4673(0x1a1)](randomUUID);let _0x30f84c=![],_0x5320f0=undefined,_0x24fcb8=!![];setTimeout(()=>{const _0x1f03b0=_0x2b4673;!_0x30f84c&&(_0x5320f0?_0x4a1641[_0x1f03b0(0x177)](_0x4a6cd6,_0x5320f0):_0x4a1641[_0x1f03b0(0x19b)](_0x28084a,_0x4a1641[_0x1f03b0(0x1ba)])),userDetailHandlers['delete'](_0x5f191c);},0x1388),userDetailHandlers[_0x2b4673(0x1b7)](_0x5f191c,_0x59a56f=>{const _0x525ca4=_0x2b4673;_0x4a1641['RBozh'](_0x59a56f[_0x525ca4(0x17c)],_0x59f096)&&(_0x24fcb8?(_0x5320f0=_0x59a56f,_0x24fcb8=![]):(_0x30f84c=!![],_0x4a1641[_0x525ca4(0x19b)](_0x4a6cd6,_0x59a56f)));}),_0x2c43e6[_0x2b4673(0x18c)](_0x59f096,[0x0])[_0x2b4673(0x19d)](_0x5de958=>{});});}static async[_0x38e534(0x185)](_0x23009b){const _0x1d1a28=_0x38e534;return napCatCore[_0x1d1a28(0x1c1)][_0x1d1a28(0x174)]()[_0x1d1a28(0x16b)](_0x23009b);}static async[_0x38e534(0x19a)](_0x33b21f,_0x39a070=!![]){const _0x554c0d=_0x38e534,_0x3178ea={'Magfy':function(_0x4bb5e1,_0x7f0a6){return _0x4bb5e1||_0x7f0a6;},'SjAQn':function(_0x1d5639,_0xd49e39){return _0x1d5639>_0xd49e39;},'ahtop':function(_0x2f5273,_0x1bab55){return _0x2f5273-_0x1bab55;},'ayHXM':function(_0x3dfc79,_0x1a34aa){return _0x3dfc79*_0x1a34aa;},'IGKMQ':function(_0x5319a3,_0x4ab5ef){return _0x5319a3===_0x4ab5ef;},'oTgzf':_0x554c0d(0x1be)},_0x4a5819=[],_0x42d2d7={};for(const _0x495390 in _0x33b21f){const _0x5e48e9=Credentials[_0x554c0d(0x175)][_0x554c0d(0x16c)](_0x33b21f[_0x495390]),_0x28c109=Credentials[_0x554c0d(0x18b)][_0x554c0d(0x16c)](_0x33b21f[_0x495390]);_0x3178ea[_0x554c0d(0x171)](!_0x5e48e9,!_0x28c109)||_0x3178ea['SjAQn'](_0x3178ea[_0x554c0d(0x1a0)](Date[_0x554c0d(0x189)](),_0x28c109),_0x3178ea[_0x554c0d(0x18e)](0x708,0x3e8))||!_0x39a070?_0x4a5819[_0x554c0d(0x1aa)](_0x33b21f[_0x495390]):_0x42d2d7[_0x33b21f[_0x495390]]=_0x5e48e9;}let _0xce0b59={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4a5819[_0x554c0d(0x190)]>0x0&&(_0xce0b59=await napCatCore[_0x554c0d(0x1c1)][_0x554c0d(0x1b6)]()[_0x554c0d(0x194)](_0x4a5819,!![]));const _0x47b2ab=_0xce0b59[_0x554c0d(0x16f)];for(const _0x5b2fe7 of _0x47b2ab[_0x554c0d(0x179)]()){Credentials[_0x554c0d(0x175)][_0x554c0d(0x1b7)](_0x5b2fe7[0x0],_0x5b2fe7[0x1]),Credentials[_0x554c0d(0x18b)][_0x554c0d(0x1b7)](_0x5b2fe7[0x0],Date[_0x554c0d(0x189)]());}const _0xa957e5=Object[_0x554c0d(0x1c0)](Object[_0x554c0d(0x16a)](_0x47b2ab),_0x42d2d7);if(_0x3178ea[_0x554c0d(0x1c7)](_0xce0b59[_0x554c0d(0x168)],0x0))return _0xa957e5;else logError(_0x3178ea['oTgzf'],_0xce0b59[_0x554c0d(0x1c3)]);return{};}static async['getRobotUinRange'](){const _0x1beaea=_0x38e534,_0x4e200a=await napCatCore[_0x1beaea(0x1c1)][_0x1beaea(0x167)]()[_0x1beaea(0x1a2)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4e200a?.[_0x1beaea(0x1c5)]?.[_0x1beaea(0x173)];}static async[_0x38e534(0x192)](){const _0x5d424a=_0x38e534,_0x4b2407={'GcJkN':function(_0x1b4241,_0x4f9127){return _0x1b4241+_0x4f9127;},'EwwPN':function(_0x329191,_0x21bb3a){return _0x329191+_0x21bb3a;},'BiuBC':function(_0x162d7e,_0x3d24c8){return _0x162d7e+_0x3d24c8;},'AulWX':_0x5d424a(0x18f),'FCuRh':_0x5d424a(0x180),'IiobU':_0x5d424a(0x17b),'gkNQN':function(_0x6c5f9a,_0x39ba4c,_0x485fa8){return _0x6c5f9a(_0x39ba4c,_0x485fa8);}},_0x4d635e=_0x4b2407[_0x5d424a(0x19c)](_0x4b2407[_0x5d424a(0x1bf)](_0x4b2407[_0x5d424a(0x181)](_0x4b2407[_0x5d424a(0x1bf)](_0x4b2407[_0x5d424a(0x1bf)](_0x4b2407['AulWX'],selfInfo[_0x5d424a(0x1a7)]),_0x4b2407['FCuRh']),Credentials['ClientKey']),_0x4b2407['IiobU']),selfInfo[_0x5d424a(0x1a7)])+_0x5d424a(0x191);let _0x41d1c9={};try{_0x41d1c9=await RequestUtil[_0x5d424a(0x1b5)](_0x4d635e);}catch(_0x4fcbf6){_0x4b2407['gkNQN'](logDebug,_0x5d424a(0x1b0),_0x4fcbf6),_0x41d1c9={};}return _0x41d1c9;}static async[_0x38e534(0x197)](_0x373c98=!![]){const _0x358f88=_0x38e534,_0x154da6={'XPlKk':function(_0x37a6f4,_0x206beb){return _0x37a6f4>_0x206beb;},'MVchT':function(_0x4f487a,_0x52cf12){return _0x4f487a-_0x52cf12;},'lyNbm':function(_0xeee2de,_0x234d6c){return _0xeee2de*_0x234d6c;},'qAOph':function(_0x279fb8,_0x800fe1){return _0x279fb8!==_0x800fe1;},'ZGmCY':function(_0x4e5f16,_0x1884ce){return _0x4e5f16+_0x1884ce;},'biJhL':function(_0x24ae3f,_0x8a88ca){return _0x24ae3f+_0x8a88ca;},'vSdgV':function(_0xd81424,_0x51f829){return _0xd81424+_0x51f829;},'SMpcG':function(_0xd1c388,_0x33e46a){return _0xd1c388+_0x33e46a;},'CHhiQ':_0x358f88(0x18f),'VefDj':_0x358f88(0x188),'ymIBI':function(_0xb5f815,_0x436a10,_0x3e0be4){return _0xb5f815(_0x436a10,_0x3e0be4);},'KVKyT':_0x358f88(0x1a6),'cMbrP':'skey'};try{if(Credentials[_0x358f88(0x16d)]==0x0||_0x154da6['XPlKk'](_0x154da6[_0x358f88(0x183)](Date[_0x358f88(0x189)](),Credentials[_0x358f88(0x16d)]),_0x154da6[_0x358f88(0x1ac)](0x3e8,0xe10))||!_0x373c98){const _0x58a9cc=await napCatCore[_0x358f88(0x1c1)]['getTicketService']()['forceFetchClientKey']('');if(_0x154da6[_0x358f88(0x195)](_0x58a9cc[_0x358f88(0x168)],0x0))return'';const _0x175e24=_0x58a9cc[_0x358f88(0x182)],_0x2bf517=_0x58a9cc[_0x358f88(0x1bb)],_0x2356fe=_0x154da6[_0x358f88(0x1af)](_0x154da6[_0x358f88(0x184)](_0x154da6['vSdgV'](_0x154da6[_0x358f88(0x184)](_0x154da6[_0x358f88(0x1c6)](_0x154da6[_0x358f88(0x1c4)],selfInfo[_0x358f88(0x1a7)]),'&clientkey='),_0x175e24),_0x154da6[_0x358f88(0x1c9)]),_0x2bf517);let _0x52e3e0={};try{_0x52e3e0=await RequestUtil[_0x358f88(0x1b5)](_0x2356fe);}catch(_0x30fc71){_0x154da6[_0x358f88(0x170)](logDebug,_0x154da6[_0x358f88(0x17a)],_0x30fc71),_0x52e3e0={};}const _0x252e81=_0x52e3e0[_0x154da6[_0x358f88(0x1bc)]];if(!_0x252e81)return'';return Credentials[_0x358f88(0x19f)]=_0x175e24,Credentials[_0x358f88(0x1b8)]=_0x2bf517,Credentials['CreatTime']=Date['now'](),Credentials[_0x358f88(0x172)]=_0x252e81,_0x252e81;}return Credentials[_0x358f88(0x172)];}catch(_0x566b94){}return undefined;}static async[_0x38e534(0x19e)](_0x4eade8){const _0x5a9108=_0x38e534,_0x159b31={'EMJeb':_0x5a9108(0x1ca)};let _0x19775d=await NTEventDispatch[_0x5a9108(0x18a)](_0x159b31[_0x5a9108(0x16e)],0x1388,[_0x4eade8]);return _0x19775d['uidInfo'][_0x5a9108(0x16c)](_0x4eade8);}static async[_0x38e534(0x1a3)](_0x2de6b4){const _0x4316c0=_0x38e534;if(!_0x2de6b4)return'';let _0xa29ea2=await NTEventDispatch[_0x4316c0(0x18a)](_0x4316c0(0x17f),0x1388,[_0x2de6b4]);return _0xa29ea2[_0x4316c0(0x176)][_0x4316c0(0x16c)](_0x2de6b4);}static async['getUserDetailInfoByUin'](_0x3419b6){const _0x28b0fe=_0x38e534;return NTEventDispatch[_0x28b0fe(0x18a)](_0x28b0fe(0x196),0x1388,_0x3419b6);}} \ No newline at end of file +const _0x328945=_0x3a10;(function(_0x4b43a8,_0x36348e){const _0x549ed2=_0x3a10,_0x3d609a=_0x4b43a8();while(!![]){try{const _0x532814=-parseInt(_0x549ed2(0x14a))/0x1+parseInt(_0x549ed2(0x153))/0x2*(parseInt(_0x549ed2(0x152))/0x3)+-parseInt(_0x549ed2(0x13b))/0x4+parseInt(_0x549ed2(0x120))/0x5+parseInt(_0x549ed2(0x11a))/0x6+-parseInt(_0x549ed2(0x151))/0x7*(parseInt(_0x549ed2(0x12e))/0x8)+-parseInt(_0x549ed2(0x114))/0x9;if(_0x532814===_0x36348e)break;else _0x3d609a['push'](_0x3d609a['shift']());}catch(_0x1ff5dd){_0x3d609a['push'](_0x3d609a['shift']());}}}(_0x58d8,0xa999d));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x3a10(_0x345901,_0x4055dd){const _0x58d806=_0x58d8();return _0x3a10=function(_0x3a1030,_0x2ba2b7){_0x3a1030=_0x3a1030-0xf4;let _0x565eb0=_0x58d806[_0x3a1030];return _0x565eb0;},_0x3a10(_0x345901,_0x4055dd);}function _0x58d8(){const _0x4c433d=['delete','10318dYuCdI','3pCuzpf','1545550JcOjBY','UyXiU','PskeyData','getPskey','getProfileService','uinInfo','vfXai','session','ClientKey','AryDS','CallNoListenerEvent','EXHWn','setHeader','forEach','CreatTime','vIhNj','lHrDk','getRobotService','haobv','getMsgService','HttpsGetCookies','vnfvj','GGOAk','%2Finfocenter&keyindex=19%27','getQzoneCookies','getBuddyService','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','wOBtu','fromEntries','onLoginSuccess','getRobotUinRange','setStatus','NodeIKernelProfileService/getUserDetailInfoByUin','getUserDetailInfo\x20timeout','13553334JiDiGS','WyBNL','qCawR','result','UObZb','MVGcH','6485928wtVJDQ','push','uidInfo','getUserInfo','getUserDetailInfoWithBizInfo','TnHBP','5723165OaFhXu','OKurw','getBuddyRecommendContactArkJson','获取Pskey失败','domainPskeyMap','like','KeyIndex','NPeSF','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','now','addListener','get','entries','3776Ehcrlb','Skey','getUidByUin','SAGqu','getPSkey','forceFetchClientKey','Eznkx','PskeyTime','&clientkey=','HKOcd','TwrXb','onProfileDetailInfoChanged','getUinByUid','179048FDIpKL','errMsg','then','setSelfOnlineStatus','uid','QlVsC','XTAgo','uin','set','rqtIK','XWTnn','length','getTipOffService','rcKcW','response','57295IiKOCD','getSelfInfo','clientKey','skey','getUserDetailInfo','getProfileLikeService'];_0x58d8=function(){return _0x4c433d;};return _0x58d8();}profileListener[_0x328945(0x139)]=_0x420cb1=>{const _0x24b556=_0x328945;userInfoCache[_0x420cb1[_0x24b556(0x13f)]]=_0x420cb1,userDetailHandlers[_0x24b556(0xff)](_0x55a149=>_0x55a149(_0x420cb1));},setTimeout(()=>{const _0x6bf42b=_0x328945;napCatCore[_0x6bf42b(0x10f)](()=>{const _0x53d5f9=_0x6bf42b;napCatCore[_0x53d5f9(0x12b)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x328945(0x13e)](_0x49025a,_0x3ef031,_0x566385){const _0x3610c9=_0x328945;return napCatCore['session'][_0x3610c9(0x105)]()[_0x3610c9(0x111)]({'status':_0x49025a,'extStatus':_0x3ef031,'batteryStatus':_0x566385});}static async[_0x328945(0x122)](_0x342d9c,_0x544959=''){const _0xc99e6=_0x328945;return napCatCore[_0xc99e6(0xf9)][_0xc99e6(0x10b)]()[_0xc99e6(0x122)](_0x342d9c,_0x544959);}static async[_0x328945(0x125)](_0x23cf57,_0x13eb75=0x1){const _0xa56852=_0x328945;return napCatCore[_0xa56852(0xf9)][_0xa56852(0x14f)]()['setBuddyProfileLike']({'friendUid':_0x23cf57,'sourceId':0x47,'doLikeCount':_0x13eb75,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x1fdbac){const _0x1c2ad1=_0x328945,_0x328e8a=napCatCore[_0x1c2ad1(0xf9)][_0x1c2ad1(0xf6)]()[_0x1c2ad1(0xfe)](_0x1fdbac);return{'result':_0x328e8a?.[_0x1c2ad1(0x117)],'errMsg':_0x328e8a?.[_0x1c2ad1(0x13c)]};}static async[_0x328945(0x14b)](){}static async[_0x328945(0x11d)](_0x3c0564){}static async[_0x328945(0x14e)](_0x25c6a0){const _0xca6ed5=_0x328945,_0x2d02b3={'XTAgo':function(_0x233a0a,_0x1f636e){return _0x233a0a===_0x1f636e;},'rcKcW':function(_0x2123e5,_0x5a9fe1){return _0x2123e5(_0x5a9fe1);},'SAGqu':_0xca6ed5(0x113),'njyAZ':function(_0x4c6807){return _0x4c6807();},'NPeSF':function(_0x2b0ec6,_0x3e6432,_0x16f814){return _0x2b0ec6(_0x3e6432,_0x16f814);}},_0x4b097d=napCatCore[_0xca6ed5(0xf9)][_0xca6ed5(0xf6)]();return new Promise((_0x217609,_0x22d133)=>{const _0xf1d41a=_0xca6ed5,_0x155b25={'lHrDk':function(_0x14afc5,_0x1c4533){const _0x526524=_0x3a10;return _0x2d02b3[_0x526524(0x148)](_0x14afc5,_0x1c4533);},'AryDS':_0x2d02b3[_0xf1d41a(0x131)]},_0x2ba2a8=_0x2d02b3['njyAZ'](randomUUID);let _0x1f4418=![],_0x1b4636=undefined,_0xc7617a=!![];_0x2d02b3[_0xf1d41a(0x127)](setTimeout,()=>{const _0x5666fb=_0xf1d41a;!_0x1f4418&&(_0x1b4636?_0x217609(_0x1b4636):_0x155b25[_0x5666fb(0x102)](_0x22d133,_0x155b25[_0x5666fb(0xfb)])),userDetailHandlers[_0x5666fb(0x150)](_0x2ba2a8);},0x1388),userDetailHandlers[_0xf1d41a(0x143)](_0x2ba2a8,_0x5bf056=>{const _0x3d88be=_0xf1d41a;_0x2d02b3[_0x3d88be(0x141)](_0x5bf056[_0x3d88be(0x13f)],_0x25c6a0)&&(_0xc7617a?(_0x1b4636=_0x5bf056,_0xc7617a=![]):(_0x1f4418=!![],_0x217609(_0x5bf056)));}),_0x4b097d[_0xf1d41a(0x11e)](_0x25c6a0,[0x0])[_0xf1d41a(0x13d)](_0x1231c7=>{});});}static async['modifySelfProfile'](_0x5d3a19){const _0x3d3102=_0x328945;return napCatCore[_0x3d3102(0xf9)][_0x3d3102(0xf6)]()['modifyDesktopMiniProfile'](_0x5d3a19);}static async[_0x328945(0x132)](_0x23a695,_0x53091e=!![]){const _0x567ee1=_0x328945,_0x176955={'HKOcd':function(_0x3b9e10,_0x11814c){return _0x3b9e10||_0x11814c;},'LWysf':function(_0x473fce,_0x5cabb6){return _0x473fce>_0x5cabb6;},'TwrXb':function(_0xf56cc9,_0xb332a0){return _0xf56cc9-_0xb332a0;},'UObZb':function(_0x11d53b,_0x576e16){return _0x11d53b*_0x576e16;},'vIhNj':function(_0x55a419,_0x5444ec){return _0x55a419===_0x5444ec;},'vnfvj':function(_0x322fd1,_0x4c1390,_0x3cbd0e){return _0x322fd1(_0x4c1390,_0x3cbd0e);},'whPME':_0x567ee1(0x123)},_0x5da64f=[],_0x138418={};for(const _0x3c5e28 in _0x23a695){const _0xd1ef74=Credentials[_0x567ee1(0xf4)][_0x567ee1(0x12c)](_0x23a695[_0x3c5e28]),_0x44279e=Credentials[_0x567ee1(0x135)][_0x567ee1(0x12c)](_0x23a695[_0x3c5e28]);_0x176955[_0x567ee1(0x137)](!_0xd1ef74,!_0x44279e)||_0x176955['LWysf'](_0x176955[_0x567ee1(0x138)](Date[_0x567ee1(0x12a)](),_0x44279e),_0x176955[_0x567ee1(0x118)](0x708,0x3e8))||!_0x53091e?_0x5da64f[_0x567ee1(0x11b)](_0x23a695[_0x3c5e28]):_0x138418[_0x23a695[_0x3c5e28]]=_0xd1ef74;}let _0x54c23d={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x5da64f[_0x567ee1(0x146)]>0x0&&(_0x54c23d=await napCatCore[_0x567ee1(0xf9)][_0x567ee1(0x147)]()[_0x567ee1(0xf5)](_0x5da64f,!![]));const _0x476ce5=_0x54c23d[_0x567ee1(0x124)];for(const _0x4791c9 of _0x476ce5[_0x567ee1(0x12d)]()){Credentials[_0x567ee1(0xf4)]['set'](_0x4791c9[0x0],_0x4791c9[0x1]),Credentials[_0x567ee1(0x135)][_0x567ee1(0x143)](_0x4791c9[0x0],Date[_0x567ee1(0x12a)]());}const _0x3c2ca6=Object['assign'](Object[_0x567ee1(0x10e)](_0x476ce5),_0x138418);if(_0x176955[_0x567ee1(0x101)](_0x54c23d[_0x567ee1(0x117)],0x0))return _0x3c2ca6;else _0x176955[_0x567ee1(0x107)](logError,_0x176955['whPME'],_0x54c23d['errMsg']);return{};}static async[_0x328945(0x110)](){const _0x35e4d8=_0x328945,_0xc9f393=await napCatCore['session'][_0x35e4d8(0x103)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xc9f393?.[_0x35e4d8(0x149)]?.['robotUinRanges'];}static async[_0x328945(0x10a)](){const _0x58a777=_0x328945,_0x38de7d={'WyBNL':function(_0x3ebaca,_0x31cd01){return _0x3ebaca+_0x31cd01;},'EXHWn':function(_0x1d98f9,_0x445ec2){return _0x1d98f9+_0x445ec2;},'FkENh':_0x58a777(0x129),'haobv':'&clientkey=','cXkwx':_0x58a777(0x10c),'MVGcH':_0x58a777(0x109),'GGOAk':function(_0x1e528e,_0x5a9ceb,_0x9b443d){return _0x1e528e(_0x5a9ceb,_0x9b443d);},'GmGFx':'请求获取Cookies时失败'},_0x24b6ac=_0x38de7d[_0x58a777(0x115)](_0x38de7d[_0x58a777(0xfd)](_0x38de7d['EXHWn'](_0x38de7d[_0x58a777(0xfd)](_0x38de7d['FkENh']+selfInfo['uin']+_0x38de7d[_0x58a777(0x104)],Credentials[_0x58a777(0xfa)]),_0x38de7d['cXkwx']),selfInfo['uin']),_0x38de7d[_0x58a777(0x119)]);let _0x39317b={};try{_0x39317b=await RequestUtil[_0x58a777(0x106)](_0x24b6ac);}catch(_0x366b25){_0x38de7d[_0x58a777(0x108)](logDebug,_0x38de7d['GmGFx'],_0x366b25),_0x39317b={};}return _0x39317b;}static async['getSkey'](_0xf55ebb=!![]){const _0x3c28ae=_0x328945,_0x39a50e={'XWTnn':function(_0x23505f,_0x40f63e){return _0x23505f>_0x40f63e;},'quAbt':function(_0x3240ef,_0x535e05){return _0x3240ef*_0x535e05;},'OKurw':function(_0x1eb448,_0x2277af){return _0x1eb448!==_0x2277af;},'Eznkx':function(_0x8045e5,_0x215a35){return _0x8045e5+_0x215a35;},'wOBtu':function(_0x36925f,_0xaa0c79){return _0x36925f+_0xaa0c79;},'TnHBP':_0x3c28ae(0x129),'KdcxE':_0x3c28ae(0x128),'qCawR':function(_0x53e340,_0x1848e1,_0x4b7e70){return _0x53e340(_0x1848e1,_0x4b7e70);},'vfXai':'请求获取Skey时失败','rqtIK':_0x3c28ae(0x14d)};try{if(Credentials['CreatTime']==0x0||_0x39a50e[_0x3c28ae(0x145)](Date[_0x3c28ae(0x12a)]()-Credentials['CreatTime'],_0x39a50e['quAbt'](0x3e8,0xe10))||!_0xf55ebb){const _0x18ae49=await napCatCore[_0x3c28ae(0xf9)]['getTicketService']()[_0x3c28ae(0x133)]('');if(_0x39a50e[_0x3c28ae(0x121)](_0x18ae49[_0x3c28ae(0x117)],0x0))return'';const _0x1f20e5=_0x18ae49[_0x3c28ae(0x14c)],_0x2cc7cc=_0x18ae49['keyIndex'],_0x49727f=_0x39a50e[_0x3c28ae(0x134)](_0x39a50e[_0x3c28ae(0x134)](_0x39a50e[_0x3c28ae(0x10d)](_0x39a50e[_0x3c28ae(0x10d)](_0x39a50e[_0x3c28ae(0x11f)]+selfInfo[_0x3c28ae(0x142)],_0x3c28ae(0x136)),_0x1f20e5),_0x39a50e['KdcxE']),_0x2cc7cc);let _0x5bc9a9={};try{_0x5bc9a9=await RequestUtil[_0x3c28ae(0x106)](_0x49727f);}catch(_0x4b40d6){_0x39a50e[_0x3c28ae(0x116)](logDebug,_0x39a50e[_0x3c28ae(0xf8)],_0x4b40d6),_0x5bc9a9={};}const _0x5e0ab0=_0x5bc9a9[_0x39a50e[_0x3c28ae(0x144)]];if(!_0x5e0ab0)return'';return Credentials[_0x3c28ae(0xfa)]=_0x1f20e5,Credentials[_0x3c28ae(0x126)]=_0x2cc7cc,Credentials[_0x3c28ae(0x100)]=Date[_0x3c28ae(0x12a)](),Credentials[_0x3c28ae(0x12f)]=_0x5e0ab0,_0x5e0ab0;}return Credentials[_0x3c28ae(0x12f)];}catch(_0x3bbde5){}return undefined;}static async[_0x328945(0x130)](_0x125410){const _0x1fd237=_0x328945,_0x407eac={'QlVsC':'NodeIKernelUixConvertService/getUid'};let _0x424c0a=await NTEventDispatch[_0x1fd237(0xfc)](_0x407eac[_0x1fd237(0x140)],0x1388,[_0x125410]);return _0x424c0a[_0x1fd237(0x11c)][_0x1fd237(0x12c)](_0x125410);}static async[_0x328945(0x13a)](_0x5c6f5e){const _0x3f31e7=_0x328945;if(!_0x5c6f5e)return'';let _0x3d3cb8=await NTEventDispatch[_0x3f31e7(0xfc)]('NodeIKernelUixConvertService/getUin',0x1388,[_0x5c6f5e]);return _0x3d3cb8[_0x3f31e7(0xf7)]['get'](_0x5c6f5e);}static async['getUserDetailInfoByUin'](_0xcada22){const _0x229008=_0x328945,_0x3e1242={'UyXiU':_0x229008(0x112)};return NTEventDispatch[_0x229008(0xfc)](_0x3e1242[_0x229008(0x154)],0x1388,_0xcada22);}} \ 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 b5ce273c..84afe9ff 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x5a9111=_0x8a82;(function(_0x2c3f61,_0x58e177){const _0x5018ad=_0x8a82,_0x5c264f=_0x2c3f61();while(!![]){try{const _0x4458e7=-parseInt(_0x5018ad(0x191))/0x1+parseInt(_0x5018ad(0x19c))/0x2*(-parseInt(_0x5018ad(0x13e))/0x3)+parseInt(_0x5018ad(0x136))/0x4+parseInt(_0x5018ad(0x10d))/0x5*(parseInt(_0x5018ad(0x190))/0x6)+parseInt(_0x5018ad(0x193))/0x7+-parseInt(_0x5018ad(0x14d))/0x8+-parseInt(_0x5018ad(0x182))/0x9*(-parseInt(_0x5018ad(0x18a))/0xa);if(_0x4458e7===_0x58e177)break;else _0x5c264f['push'](_0x5c264f['shift']());}catch(_0x362205){_0x5c264f['push'](_0x5c264f['shift']());}}}(_0x5c85,0xb975e));function _0x5c85(){const _0x22115f=['HttpGetJson','zVhYL','STORONGE_NEWBI','count','XMGVA','72372KFkSqh','147816iipsAB','JKCYr','8301272RaNDeY','emotion','wTbEj','tdCLC','desc','Myhcz','4|3|5|2|1|0','获取快乐源泉失败','SmphB','2NNreOX','获取当前群荣耀失败','DtPid','legend_list','fpfYb','Mjsfl','TALKACTIVE','&page_start=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','description','swqFg','bbLpF','getGroupMembers','FHuKO','talkative_list','vygvE','uin','eEUxr','charCodeAt','get','EMOTION','dvzlP','mrNvl','25ONqVbM','JMscS','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','HttpGetText','ayhys','HOnbm','VAKfV','emotion_list','获取群聊炽焰失败','RWMgf','trim','hqbjg','length','bvWHk','getPSkey','qun.qq.com','YQCNL','kibCh','set','oPoFh','YDjSI','GroupTime','BEiji','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','mesEz','wxFpx','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','vfFqZ','HxMzh','Apymr','GTpmD','current_talkative','LEGEND','ALL','name','&end=','YEahG','https://qun.qq.com/interactive/honorlist?gc=','getSkey',';\x20p_uin=o','mems','4058484hrXUTr','fTbXw','获取群聊之火失败','parse','tXqtG','now','UeJpo','lyHFm','3762723rvmvDC','LuADu','CYpTW','hqWWc','errcode','fbXwJ','actorList','FMWSK','Acnvk','&bkn=','VmqEl','JJbXk','HVQbT','qziOy','sGqxK','1486848cowAbf','KuLFJ','GroupData','GET','ueBWn','tGptA','ZaemQ','KGfSA','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','toString','qEFYH','fVCtU','p_skey=','PlYyj','push','lhUXB','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','performer','zLdGn','KEpNA','sjxAU','VfsrO','OpfQi','HWMwB','all','AIsLa','gQDuW','获取龙王信息失败','RxUPd','OGSmn','FqhaY','WgvOV','CDRGQ','dVnZA','POST','retcode',';\x20skey=',';\x20uin=o','getGrouptNotice','EkQMW','&page_limit=20','LozBw','uoIom','eAZvI','rCLTf','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','cyTDe','JkwZi','ceil','genBkn','UTxko','avatar','setGroupNotice','18rTSYRM','qCdnO','talkative','talkativeList','jfQnb','PERFROMER','KQVIC','split','433660cUOhwI'];_0x5c85=function(){return _0x22115f;};return _0x5c85();}function _0x8a82(_0x2e5410,_0x5088fa){const _0x5c8569=_0x5c85();return _0x8a82=function(_0x8a827f,_0x453ddf){_0x8a827f=_0x8a827f-0xf8;let _0x53a9a4=_0x5c8569[_0x8a827f];return _0x53a9a4;},_0x8a82(_0x2e5410,_0x5088fa);}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(_0x40c810){const _0x4c8687=_0x8a82,_0x5ceec7={'hJQmg':_0x4c8687(0x199),'JMscS':_0x4c8687(0x194),'oPoFh':_0x4c8687(0x18d),'vygvE':_0x4c8687(0x12d),'wTbEj':_0x4c8687(0xfc),'mrNvl':_0x4c8687(0x184),'PlYyj':_0x4c8687(0x12e),'tGptA':_0x4c8687(0x165),'dvzlP':_0x4c8687(0x187),'JxhNi':_0x4c8687(0x15e)},_0x11a372=_0x5ceec7['hJQmg'][_0x4c8687(0x189)]('|');let _0x4944d5=0x0;while(!![]){switch(_0x11a372[_0x4944d5++]){case'0':_0x40c810[_0x4c8687(0x10a)]=_0x5ceec7[_0x4c8687(0x10e)];continue;case'1':_0x40c810[_0x5ceec7[_0x4c8687(0x120)]]='strong_newbie';continue;case'2':_0x40c810[_0x5ceec7[_0x4c8687(0x105)]]='legend';continue;case'3':_0x40c810[_0x5ceec7[_0x4c8687(0x195)]]=_0x5ceec7[_0x4c8687(0x10c)];continue;case'4':_0x40c810[_0x5ceec7[_0x4c8687(0x15a)]]=_0x5ceec7[_0x4c8687(0x152)];continue;case'5':_0x40c810[_0x5ceec7[_0x4c8687(0x10b)]]=_0x5ceec7['JxhNi'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x583383,_0x140770){const _0x1190d8=_0x8a82,_0x5e4d30={'SmphB':_0x1190d8(0x11c),'WgvOV':function(_0x241291,_0x1898c7){return _0x241291+_0x1898c7;},'CDRGQ':function(_0x1a6c7d,_0x40af43){return _0x1a6c7d+_0x40af43;},'HWMwB':_0x1190d8(0x159),'lhUXB':_0x1190d8(0x134),'FqhaY':_0x1190d8(0x172),'fbXwJ':function(_0x205b32,_0x1ffc57){return _0x205b32||_0x1ffc57;},'FMWSK':function(_0x5c63d8,_0x53c520){return _0x5c63d8+_0x53c520;},'swqFg':function(_0x6287cf,_0x282754){return _0x6287cf+_0x282754;},'XMGVA':function(_0x12acc7,_0x5508fb){return _0x12acc7+_0x5508fb;},'LuADu':_0x1190d8(0x10f),'SqDWS':'&group_code=','YDjSI':_0x1190d8(0x175),'tlued':_0x1190d8(0x150)},_0xa76312=(await NTQQUserApi[_0x1190d8(0x11b)]([_0x5e4d30[_0x1190d8(0x19b)]]))[_0x5e4d30[_0x1190d8(0x19b)]],_0x3ae696=await NTQQUserApi['getSkey'](),_0x50a6f3=_0x5e4d30[_0x1190d8(0x16c)](_0x5e4d30[_0x1190d8(0x16c)](_0x5e4d30[_0x1190d8(0x16c)](_0x5e4d30[_0x1190d8(0x16c)](_0x5e4d30['WgvOV'](_0x5e4d30[_0x1190d8(0x16d)](_0x5e4d30[_0x1190d8(0x164)],_0xa76312),_0x1190d8(0x171)),_0x3ae696),_0x5e4d30[_0x1190d8(0x15c)]),selfInfo['uin'])+_0x5e4d30[_0x1190d8(0x16b)],selfInfo['uin']);if(_0x5e4d30[_0x1190d8(0x143)](!_0x3ae696,!_0xa76312))return undefined;const _0x318339=WebApi[_0x1190d8(0x17e)](_0x3ae696),_0x50c6e7=_0x5e4d30[_0x1190d8(0x145)](_0x5e4d30[_0x1190d8(0x100)](_0x5e4d30[_0x1190d8(0x18f)](_0x5e4d30[_0x1190d8(0x13f)],_0x318339)+_0x5e4d30['SqDWS'],_0x583383)+_0x1190d8(0xfd),_0x140770)+_0x5e4d30[_0x1190d8(0x121)];let _0x1aa0e1;try{_0x1aa0e1=await RequestUtil['HttpGetJson'](_0x50c6e7,_0x5e4d30['tlued'],'',{'Cookie':_0x50a6f3});}catch{return undefined;}if(_0x1aa0e1[_0x1190d8(0x170)]!==0x0)return undefined;return _0x1aa0e1;}static async[_0x5a9111(0x102)](_0xb3f4c4,_0x745677=!![]){const _0x16ef08=_0x5a9111,_0x70d464={'lyHFm':function(_0x218534,_0xbdce2c){return _0x218534>_0xbdce2c;},'HOnbm':function(_0x11497e,_0x96ba7e){return _0x11497e-_0x96ba7e;},'jfQnb':function(_0x3f79c3,_0x2e94ed){return _0x3f79c3*_0x2e94ed;},'UeJpo':_0x16ef08(0x11c),'VAKfV':function(_0x259574,_0x31632c){return _0x259574+_0x31632c;},'RxUPd':function(_0x5ce00e,_0x343d04){return _0x5ce00e+_0x343d04;},'OGSmn':function(_0x4b1d2e,_0x31a66c){return _0x4b1d2e+_0x31a66c;},'YQCNL':_0x16ef08(0x159),'bvWHk':_0x16ef08(0x171),'ueBWn':_0x16ef08(0x134),'fTbXw':function(_0x3c69b2,_0x90a04c){return _0x3c69b2||_0x90a04c;},'JKCYr':function(_0x5b5b91,_0x520bc5){return _0x5b5b91+_0x520bc5;},'OpfQi':_0x16ef08(0xfe),'gQDuW':_0x16ef08(0x16f),'RSoky':function(_0x1de7e7,_0x1fec12){return _0x1de7e7!==_0x1fec12;},'LozBw':function(_0x171551,_0x3722ad){return _0x171551/_0x3722ad;},'kxbCc':function(_0x351ab1,_0xd4425f){return _0x351ab1<=_0xd4425f;},'zVhYL':function(_0x1454c9,_0x560846){return _0x1454c9+_0x560846;},'MawEU':function(_0x11c155,_0xec72d){return _0x11c155+_0xec72d;},'wxNaB':function(_0x983bdc,_0x2a3614){return _0x983bdc+_0x2a3614;},'Mjsfl':function(_0x311bd9,_0x12c7e2){return _0x311bd9-_0x12c7e2;},'GDTqE':_0x16ef08(0x130),'qCdnO':'&sort=1&gc=','ayhys':function(_0x2a31af,_0x7f4953){return _0x2a31af<=_0x7f4953;},'Myhcz':function(_0x27419c,_0x1a3e6b){return _0x27419c!==_0x1a3e6b;}};let _0x1f93b0=new Array();try{let _0x2e5935=WebGroupData[_0x16ef08(0x14f)][_0x16ef08(0x109)](_0xb3f4c4),_0x4d6ea2=WebGroupData[_0x16ef08(0x122)]['get'](_0xb3f4c4);if(!_0x4d6ea2||_0x70d464[_0x16ef08(0x13d)](_0x70d464[_0x16ef08(0x112)](Date[_0x16ef08(0x13b)](),_0x4d6ea2),_0x70d464[_0x16ef08(0x186)](0x708,0x3e8))||!_0x745677){const _0x1695d5=(await NTQQUserApi[_0x16ef08(0x11b)]([_0x16ef08(0x11c)]))[_0x70d464[_0x16ef08(0x13c)]],_0x48df27=await NTQQUserApi[_0x16ef08(0x133)](),_0x42bc5a=_0x70d464[_0x16ef08(0x113)](_0x70d464[_0x16ef08(0x169)](_0x70d464[_0x16ef08(0x113)](_0x70d464[_0x16ef08(0x16a)](_0x70d464[_0x16ef08(0x11d)],_0x1695d5),_0x70d464[_0x16ef08(0x11a)])+_0x48df27,_0x70d464[_0x16ef08(0x151)]),selfInfo[_0x16ef08(0x106)]);if(_0x70d464[_0x16ef08(0x137)](!_0x48df27,!_0x1695d5))return _0x1f93b0;const _0xfbe48e=WebApi[_0x16ef08(0x17e)](_0x48df27),_0x1977a0=[],_0x25da42=await RequestUtil[_0x16ef08(0x18b)](_0x70d464[_0x16ef08(0x192)](_0x70d464[_0x16ef08(0x163)],_0xb3f4c4)+_0x16ef08(0x147)+_0xfbe48e,_0x70d464[_0x16ef08(0x167)],'',{'Cookie':_0x42bc5a});if(!_0x25da42?.['count']||_0x70d464['RSoky'](_0x25da42?.[_0x16ef08(0x142)],0x0)||!_0x25da42?.[_0x16ef08(0x135)])return[];else for(const _0x29127f in _0x25da42[_0x16ef08(0x135)]){_0x1f93b0[_0x16ef08(0x15b)](_0x25da42[_0x16ef08(0x135)][_0x29127f]);}const _0x5e23c4=Math[_0x16ef08(0x17d)](_0x70d464[_0x16ef08(0x176)](_0x25da42['count'],0x28));for(let _0x2b3f5f=0x2;_0x70d464['kxbCc'](_0x2b3f5f,_0x5e23c4);_0x2b3f5f++){const _0x551f61=RequestUtil[_0x16ef08(0x18b)](_0x70d464[_0x16ef08(0x192)](_0x70d464[_0x16ef08(0x18c)](_0x70d464['RxUPd'](_0x70d464['MawEU'](_0x70d464['wxNaB'](_0x16ef08(0x15d),_0x70d464[_0x16ef08(0x186)](_0x70d464[_0x16ef08(0xfb)](_0x2b3f5f,0x1),0x28)),_0x70d464['GDTqE'])+_0x70d464[_0x16ef08(0x186)](_0x2b3f5f,0x28),_0x70d464[_0x16ef08(0x183)])+_0xb3f4c4,_0x16ef08(0x147)),_0xfbe48e),_0x70d464[_0x16ef08(0x167)],'',{'Cookie':_0x42bc5a});_0x1977a0[_0x16ef08(0x15b)](_0x551f61);}for(let _0x4f4b0a=0x1;_0x70d464[_0x16ef08(0x111)](_0x4f4b0a,_0x5e23c4);_0x4f4b0a++){const _0xab16ef=await _0x1977a0[_0x4f4b0a];if(!_0xab16ef?.[_0x16ef08(0x18e)]||_0x70d464[_0x16ef08(0x198)](_0xab16ef?.[_0x16ef08(0x142)],0x0)||!_0xab16ef?.[_0x16ef08(0x135)])continue;for(const _0x1bae37 in _0xab16ef[_0x16ef08(0x135)]){_0x1f93b0[_0x16ef08(0x15b)](_0xab16ef['mems'][_0x1bae37]);}}WebGroupData[_0x16ef08(0x14f)][_0x16ef08(0x11f)](_0xb3f4c4,_0x1f93b0),WebGroupData[_0x16ef08(0x122)][_0x16ef08(0x11f)](_0xb3f4c4,Date[_0x16ef08(0x13b)]());}else _0x1f93b0=_0x2e5935;}catch{return _0x1f93b0;}return _0x1f93b0;}static async[_0x5a9111(0x181)](_0xc0f056,_0x35b78c=''){const _0x5e8621=_0x5a9111,_0x476531={'DtPid':_0x5e8621(0x11c),'ZaemQ':function(_0x35db2c,_0x537dac){return _0x35db2c+_0x537dac;},'YqTIe':function(_0x1b868e,_0x58d853){return _0x1b868e+_0x58d853;},'GTpmD':function(_0x2439f2,_0x287bd2){return _0x2439f2+_0x287bd2;},'MJPdV':_0x5e8621(0x159),'TBkuh':_0x5e8621(0x171),'UTxko':';\x20p_uin=o','HVQbT':function(_0x3f7b99,_0x5ae811){return _0x3f7b99+_0x5ae811;},'uoIom':'&bkn=','rCLTf':_0x5e8621(0x155),'tXqtG':_0x5e8621(0x127),'fVCtU':_0x5e8621(0x150)},_0x1c6789=(await NTQQUserApi[_0x5e8621(0x11b)]([_0x476531['DtPid']]))[_0x476531[_0x5e8621(0xf8)]],_0x25f8bb=await NTQQUserApi[_0x5e8621(0x133)](),_0xaeebd3=_0x476531[_0x5e8621(0x153)](_0x476531['YqTIe'](_0x476531[_0x5e8621(0x12b)](_0x476531['MJPdV'],_0x1c6789),_0x476531['TBkuh'])+_0x25f8bb,_0x476531[_0x5e8621(0x17f)])+selfInfo[_0x5e8621(0x106)];let _0x3fd8c3=undefined;if(!_0x25f8bb||!_0x1c6789)return undefined;const _0x56fb5b=WebApi[_0x5e8621(0x17e)](_0x25f8bb),_0x4c16c9=_0x476531[_0x5e8621(0x153)](_0x476531[_0x5e8621(0x153)](_0x476531[_0x5e8621(0x14a)](_0x476531[_0x5e8621(0x153)](_0x476531[_0x5e8621(0x153)]('qid=',_0xc0f056),_0x476531[_0x5e8621(0x177)])+_0x56fb5b,'&text='),_0x35b78c),_0x476531[_0x5e8621(0x179)]),_0x35803a=_0x476531[_0x5e8621(0x13a)]+_0x56fb5b;try{return _0x3fd8c3=await RequestUtil[_0x5e8621(0x18b)](_0x35803a,_0x476531[_0x5e8621(0x158)],'',{'Cookie':_0xaeebd3}),_0x3fd8c3;}catch(_0x5bc1a2){return undefined;}return undefined;}static async[_0x5a9111(0x173)](_0x56de34){const _0x5ce74c=_0x5a9111,_0x3bac7b={'JJbXk':_0x5ce74c(0x11c),'VmqEl':function(_0x155c4e,_0xcf5f2d){return _0x155c4e+_0xcf5f2d;},'Apymr':function(_0x416c36,_0x104eb6){return _0x416c36+_0x104eb6;},'JkwZi':_0x5ce74c(0x159),'bbLpF':_0x5ce74c(0x171),'sjxAU':_0x5ce74c(0x134),'HxMzh':function(_0x5b799b,_0x3c48a9){return _0x5b799b||_0x3c48a9;},'dVnZA':function(_0x1d788f,_0x527407){return _0x1d788f+_0x527407;},'KEpNA':function(_0x2d6bd6,_0x584436){return _0x2d6bd6+_0x584436;},'Thrmi':_0x5ce74c(0x124),'tdCLC':'&qid=','BEiji':_0x5ce74c(0x150)},_0xe4bf97=(await NTQQUserApi['getPSkey']([_0x3bac7b[_0x5ce74c(0x149)]]))[_0x3bac7b[_0x5ce74c(0x149)]],_0x3c2b90=await NTQQUserApi[_0x5ce74c(0x133)](),_0x101384=_0x3bac7b['VmqEl'](_0x3bac7b[_0x5ce74c(0x148)](_0x3bac7b[_0x5ce74c(0x148)](_0x3bac7b[_0x5ce74c(0x12a)](_0x3bac7b['VmqEl'](_0x3bac7b[_0x5ce74c(0x17c)],_0xe4bf97),_0x3bac7b[_0x5ce74c(0x101)]),_0x3c2b90),_0x3bac7b[_0x5ce74c(0x161)]),selfInfo['uin']);let _0x2bbc0e=undefined;if(_0x3bac7b[_0x5ce74c(0x129)](!_0x3c2b90,!_0xe4bf97))return undefined;const _0x3f2fba=WebApi[_0x5ce74c(0x17e)](_0x3c2b90),_0x33194a=_0x3bac7b[_0x5ce74c(0x12a)](_0x3bac7b['VmqEl'](_0x3bac7b[_0x5ce74c(0x16e)](_0x3bac7b[_0x5ce74c(0x160)](_0x3bac7b['Thrmi'],_0x3f2fba),_0x3bac7b[_0x5ce74c(0x196)]),_0x56de34),_0x5ce74c(0x17a));try{_0x2bbc0e=await RequestUtil[_0x5ce74c(0x18b)](_0x33194a,_0x3bac7b[_0x5ce74c(0x123)],'',{'Cookie':_0x101384});if(_0x2bbc0e?.['ec']!==0x0)return undefined;return _0x2bbc0e;}catch(_0x579624){return undefined;}return undefined;}static[_0x5a9111(0x17e)](_0x184376){const _0x2c715e=_0x5a9111,_0x122640={'GzxjN':function(_0x5da87d,_0x543d88){return _0x5da87d||_0x543d88;},'sGqxK':function(_0x3f3b78,_0x6bdc6a){return _0x3f3b78<_0x6bdc6a;},'VfsrO':function(_0x1d5649,_0x564e8e){return _0x1d5649+_0x564e8e;},'mesEz':function(_0x2bf763,_0x322a46){return _0x2bf763<<_0x322a46;}};_0x184376=_0x122640['GzxjN'](_0x184376,'');let _0x25f8ca=0x1505;for(let _0x4a6571=0x0;_0x122640[_0x2c715e(0x14c)](_0x4a6571,_0x184376[_0x2c715e(0x119)]);_0x4a6571++){const _0x19b7a9=_0x184376[_0x2c715e(0x108)](_0x4a6571);_0x25f8ca=_0x122640[_0x2c715e(0x162)](_0x25f8ca,_0x122640[_0x2c715e(0x125)](_0x25f8ca,0x5))+_0x19b7a9;}return(_0x25f8ca&0x7fffffff)['toString']();}static async['getGroupHonorInfo'](_0x22b6db,_0x17ef10){const _0x4e3560=_0x5a9111,_0x4ec078={'eAZvI':function(_0x2806b1,_0x28a71b){return _0x2806b1+_0x28a71b;},'EkQMW':function(_0x503853,_0x15ecef){return _0x503853+_0x15ecef;},'vfFqZ':_0x4e3560(0x132),'YEahG':'&type=','hqbjg':_0x4e3560(0x150),'RWMgf':function(_0xd3375a,_0x488dcf){return _0xd3375a===_0x488dcf;},'FHuKO':'qun.qq.com','zLdGn':function(_0x5bfdfc,_0x4e0391){return _0x5bfdfc||_0x4e0391;},'KuLFJ':function(_0x5d53e6,_0x4c6600){return _0x5d53e6+_0x4c6600;},'KQVIC':_0x4e3560(0x171),'kibCh':_0x4e3560(0x134),'agFJY':_0x4e3560(0x172),'KGfSA':function(_0x4df09f,_0x16779b){return _0x4df09f===_0x16779b;},'AIsLa':function(_0x564ff7,_0x5c1343,_0x2ee7a2){return _0x564ff7(_0x5c1343,_0x2ee7a2);},'RXfsQ':_0x4e3560(0x168),'eEUxr':function(_0x435243,_0x42e195){return _0x435243(_0x42e195);},'qziOy':function(_0x3c22c4,_0x3f0118){return _0x3c22c4===_0x3f0118;},'cyTDe':function(_0x4aeda5,_0x4bb206,_0x1d74ca){return _0x4aeda5(_0x4bb206,_0x1d74ca);},'Ytwyr':_0x4e3560(0x138),'CYpTW':function(_0x3d6d80,_0x460181){return _0x3d6d80===_0x460181;},'qEFYH':_0x4e3560(0x115),'Acnvk':function(_0xd145b1,_0x368914){return _0xd145b1===_0x368914;},'fpfYb':function(_0x43c99d,_0x465386,_0x30a641){return _0x43c99d(_0x465386,_0x30a641);},'wxFpx':_0x4e3560(0x19a),'hqWWc':function(_0x3fed89,_0x4dad34){return _0x3fed89===_0x4dad34;},'BmMWI':function(_0x19442d,_0x34cb71){return _0x19442d===_0x34cb71;}},_0x570954=(await NTQQUserApi[_0x4e3560(0x11b)]([_0x4e3560(0x11c)]))[_0x4ec078[_0x4e3560(0x103)]],_0x4f7a86=await NTQQUserApi[_0x4e3560(0x133)]();if(_0x4ec078[_0x4e3560(0x15f)](!_0x4f7a86,!_0x570954))return undefined;async function _0x406689(_0x4336ca,_0x35fe4d){const _0x557139=_0x4e3560;let _0x214d21=_0x4ec078['eAZvI'](_0x4ec078[_0x557139(0x174)](_0x4ec078[_0x557139(0x128)],_0x4336ca)+_0x4ec078[_0x557139(0x131)],_0x35fe4d[_0x557139(0x156)]()),_0x19c039='',_0x276a7e;try{_0x19c039=await RequestUtil[_0x557139(0x110)](_0x214d21,_0x4ec078[_0x557139(0x118)],'',{'Cookie':_0x2aa0c8});const _0x190f45=_0x19c039['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x190f45&&(_0x276a7e=JSON[_0x557139(0x139)](_0x190f45[0x1][_0x557139(0x117)]())),_0x4ec078['RWMgf'](_0x35fe4d,0x1)?_0x276a7e?.[_0x557139(0x185)]:_0x276a7e?.[_0x557139(0x144)];}catch(_0x350a29){logDebug(_0x557139(0x19d),_0x214d21,_0x350a29);}return undefined;}let _0x2e690a={'group_id':_0x22b6db};const _0x2aa0c8=_0x4ec078[_0x4e3560(0x178)](_0x4ec078[_0x4e3560(0x174)](_0x4ec078[_0x4e3560(0x174)](_0x4ec078[_0x4e3560(0x174)](_0x4ec078[_0x4e3560(0x174)](_0x4ec078[_0x4e3560(0x14e)](_0x4e3560(0x159)+_0x570954,_0x4ec078[_0x4e3560(0x188)]),_0x4f7a86),_0x4ec078[_0x4e3560(0x11e)]),selfInfo[_0x4e3560(0x106)]),_0x4ec078['agFJY']),selfInfo[_0x4e3560(0x106)]);if(_0x4ec078[_0x4e3560(0x116)](_0x17ef10,WebHonorType[_0x4e3560(0xfc)])||_0x4ec078[_0x4e3560(0x154)](_0x17ef10,WebHonorType[_0x4e3560(0x12e)]))try{let _0x3bc37d=await _0x4ec078[_0x4e3560(0x166)](_0x406689,_0x22b6db,0x1);if(!_0x3bc37d)throw new Error(_0x4ec078['RXfsQ']);_0x2e690a[_0x4e3560(0x12c)]={'user_id':_0x3bc37d[0x0]?.[_0x4e3560(0x106)],'avatar':_0x3bc37d[0x0]?.[_0x4e3560(0x180)],'nickname':_0x3bc37d[0x0]?.[_0x4e3560(0x12f)],'day_count':0x0,'description':_0x3bc37d[0x0]?.['desc']},_0x2e690a[_0x4e3560(0x104)]=[];for(const _0x40f54a of _0x3bc37d){_0x2e690a[_0x4e3560(0x104)][_0x4e3560(0x15b)]({'user_id':_0x40f54a?.[_0x4e3560(0x106)],'avatar':_0x40f54a?.[_0x4e3560(0x180)],'description':_0x40f54a?.[_0x4e3560(0x197)],'day_count':0x0,'nickname':_0x40f54a?.['name']});}}catch(_0x3eafc3){_0x4ec078[_0x4e3560(0x107)](logDebug,_0x3eafc3);}if(_0x4ec078[_0x4e3560(0x14b)](_0x17ef10,WebHonorType[_0x4e3560(0x187)])||_0x4ec078[_0x4e3560(0x14b)](_0x17ef10,WebHonorType[_0x4e3560(0x12e)]))try{let _0x46642a=await _0x4ec078[_0x4e3560(0x17b)](_0x406689,_0x22b6db,0x2);if(!_0x46642a)throw new Error(_0x4ec078['Ytwyr']);_0x2e690a['performer_list']=[];for(const _0x2db6f0 of _0x46642a){_0x2e690a['performer_list'][_0x4e3560(0x15b)]({'user_id':_0x2db6f0?.['uin'],'nickname':_0x2db6f0?.[_0x4e3560(0x12f)],'avatar':_0x2db6f0?.['avatar'],'description':_0x2db6f0?.[_0x4e3560(0x197)]});}}catch(_0x5cff13){_0x4ec078[_0x4e3560(0x107)](logDebug,_0x5cff13);}if(_0x4ec078[_0x4e3560(0x154)](_0x17ef10,WebHonorType[_0x4e3560(0x187)])||_0x4ec078[_0x4e3560(0x140)](_0x17ef10,WebHonorType[_0x4e3560(0x12e)]))try{let _0x12236b=await _0x4ec078[_0x4e3560(0x17b)](_0x406689,_0x22b6db,0x3);if(!_0x12236b)throw new Error(_0x4ec078[_0x4e3560(0x157)]);_0x2e690a[_0x4e3560(0xf9)]=[];for(const _0x3b612f of _0x12236b){_0x2e690a[_0x4e3560(0xf9)][_0x4e3560(0x15b)]({'user_id':_0x3b612f?.[_0x4e3560(0x106)],'nickname':_0x3b612f?.[_0x4e3560(0x12f)],'avatar':_0x3b612f?.[_0x4e3560(0x180)],'desc':_0x3b612f?.[_0x4e3560(0xff)]});}}catch(_0x5ae895){logDebug(_0x4ec078[_0x4e3560(0x157)],_0x5ae895);}if(_0x17ef10===WebHonorType[_0x4e3560(0x10a)]||_0x4ec078[_0x4e3560(0x146)](_0x17ef10,WebHonorType['ALL']))try{let _0x5764f4=await _0x4ec078[_0x4e3560(0xfa)](_0x406689,_0x22b6db,0x6);if(!_0x5764f4)throw new Error(_0x4ec078[_0x4e3560(0x126)]);_0x2e690a[_0x4e3560(0x114)]=[];for(const _0x17c1da of _0x5764f4){_0x2e690a['emotion_list'][_0x4e3560(0x15b)]({'user_id':_0x17c1da?.[_0x4e3560(0x106)],'nickname':_0x17c1da?.[_0x4e3560(0x12f)],'avatar':_0x17c1da?.['avatar'],'desc':_0x17c1da?.['description']});}}catch(_0x3fdff4){logDebug(_0x4ec078[_0x4e3560(0x126)],_0x3fdff4);}return(_0x4ec078[_0x4e3560(0x141)](_0x17ef10,WebHonorType['EMOTION'])||_0x4ec078['BmMWI'](_0x17ef10,WebHonorType['ALL']))&&(_0x2e690a['strong_newbie_list']=[]),_0x2e690a;}} \ No newline at end of file +const _0x5d358=_0xbbd1;function _0xbbd1(_0x1914d4,_0x41a8da){const _0x1f5896=_0x1f58();return _0xbbd1=function(_0xbbd104,_0x216b69){_0xbbd104=_0xbbd104-0x18d;let _0xd6d7c1=_0x1f5896[_0xbbd104];return _0xd6d7c1;},_0xbbd1(_0x1914d4,_0x41a8da);}(function(_0x240bcc,_0x5b2224){const _0x1a2370=_0xbbd1,_0x24fc6e=_0x240bcc();while(!![]){try{const _0x41c01e=-parseInt(_0x1a2370(0x1dd))/0x1+parseInt(_0x1a2370(0x1c3))/0x2+-parseInt(_0x1a2370(0x21d))/0x3+-parseInt(_0x1a2370(0x19e))/0x4+parseInt(_0x1a2370(0x20a))/0x5*(parseInt(_0x1a2370(0x203))/0x6)+parseInt(_0x1a2370(0x211))/0x7*(parseInt(_0x1a2370(0x1c0))/0x8)+-parseInt(_0x1a2370(0x201))/0x9*(-parseInt(_0x1a2370(0x1fb))/0xa);if(_0x41c01e===_0x5b2224)break;else _0x24fc6e['push'](_0x24fc6e['shift']());}catch(_0x11edd4){_0x24fc6e['push'](_0x24fc6e['shift']());}}}(_0x1f58,0x39465));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 _0x1f58(){const _0x38f3eb=['YgvKN','setGroupNotice','TvuAJ','dVIwX','获取当前群荣耀失败','GGEbi','ZIVJh','ANcFp','KaYzH','QZUoO','bneeT','LEGEND','push','KlgLT','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','UnCBg','&group_code=','toString','LUHOc','BoZSj','talkative','128436ayyHuG','&type=','length','cWhZP','name',';\x20skey=','MEDyE','HttpGetJson','&sort=1&gc=','EMOTION','https://qun.qq.com/interactive/honorlist?gc=','count','LDdtY','all','TALKACTIVE','qCwDD','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','Wtitd','xpqQM','HsblT','trim','CUYLs','talkative_list','DVPxj','description','GET','EDnbm','TPfIu',';\x20p_uin=o',';\x20uin=o','retcode','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','strong_newbie','OSEtN','24gPQuaj','pEXtr','&end=','222718WYpKHC','获取群聊炽焰失败','MKJLl','FKgly','get','lUHzc','EMKTD','parse','p_skey=','HwQQd','set','&page_start=','VTEGB','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','nwnEL','fWuLW','mems','LoVfG','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','getSkey','avatar','getPSkey','emotion_list','FTHzq','GroupTime','mRbvX','385422qUWweX','XgfYH','kPWTS','yHOLd','zSYSv','match','LOJNf','nptVS','getGroupMembers','qun.qq.com','pYGdh','charCodeAt','errcode','legend_list','lmhEU','PERFROMER','&qid=','SEMOV','performer','lgomS','vKwRx','RNdho','getGroupEssenceMsg','eEsLt','fnvgU','emotion','npClX','KiYpG','dZnDc','Cbunv','10caKQlm','myqDC','CUFBn','strong_newbie_list','rjVPg','MDQef','427563ItUnso','performer_list','48tnupRm','split','ALL','&text=','uin','kvdid','XBxYu','112615XvzHUx','zsLva','&page_limit=20','QUIBV','HkScJ','desc','neKsz','825867xrwXyU','vSmGI','GroupData','gzSgz','UhGgU','cuaox','OUCiK','&bkn=','current_talkative','UKcFY','xLUHw','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','122595PxaJsk','GPRMp','ifQiC','getGroupHonorInfo','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','genBkn','FVtFo','XxZDg','talkativeList','now','aNqiC'];_0x1f58=function(){return _0x38f3eb;};return _0x1f58();}(function(_0x45faae){const _0x4e99f5=_0xbbd1,_0x5e9581={'LOJNf':'3|2|4|0|1|5','HkScJ':_0x4e99f5(0x194),'LoVfG':'legend','ogUdU':'STORONGE_NEWBI','nwnEL':_0x4e99f5(0x1be),'UhGgU':_0x4e99f5(0x1ac),'Cbunv':_0x4e99f5(0x19d),'Yfgup':_0x4e99f5(0x205),'vBalW':_0x4e99f5(0x1ab),'LeeeC':_0x4e99f5(0x1ec),'YgvKN':_0x4e99f5(0x1ef),'phtwO':_0x4e99f5(0x1f6)},_0x433753=_0x5e9581[_0x4e99f5(0x1e3)][_0x4e99f5(0x204)]('|');let _0x4ca02e=0x0;while(!![]){switch(_0x433753[_0x4ca02e++]){case'0':_0x45faae[_0x5e9581[_0x4e99f5(0x20e)]]=_0x5e9581[_0x4e99f5(0x1d4)];continue;case'1':_0x45faae[_0x5e9581['ogUdU']]=_0x5e9581[_0x4e99f5(0x1d1)];continue;case'2':_0x45faae[_0x5e9581[_0x4e99f5(0x215)]]=_0x5e9581[_0x4e99f5(0x1fa)];continue;case'3':_0x45faae[_0x5e9581['Yfgup']]=_0x5e9581['vBalW'];continue;case'4':_0x45faae[_0x5e9581['LeeeC']]=_0x5e9581[_0x4e99f5(0x228)];continue;case'5':_0x45faae[_0x4e99f5(0x1a7)]=_0x5e9581['phtwO'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x5d358(0x1f3)](_0x2944cf,_0x20e751){const _0x213499=_0x5d358,_0x57e7c4={'ANcFp':'qun.qq.com','rjVPg':function(_0x28cdb7,_0x2569f2){return _0x28cdb7+_0x2569f2;},'EMKTD':function(_0x52a78a,_0x565ffa){return _0x52a78a+_0x565ffa;},'nptVS':function(_0x602d2a,_0xb220fb){return _0x602d2a+_0xb220fb;},'dVIwX':function(_0x309e4b,_0x10d0c3){return _0x309e4b+_0x10d0c3;},'gzSgz':';\x20p_uin=o','lmhEU':_0x213499(0x1bb),'eEsLt':function(_0x16159d,_0x7940fc){return _0x16159d||_0x7940fc;},'xvAOP':function(_0x1293ac,_0x2e2c58){return _0x1293ac+_0x2e2c58;},'vSmGI':function(_0x28ec63,_0x88dbfc){return _0x28ec63+_0x88dbfc;},'HsblT':_0x213499(0x1d0),'VXrCp':_0x213499(0x199),'QUIBV':_0x213499(0x1ce),'gQSSX':_0x213499(0x1b7),'wUSHi':function(_0x4802ca,_0x277da5){return _0x4802ca!==_0x277da5;}},_0x101e89=(await NTQQUserApi[_0x213499(0x1d8)]([_0x57e7c4[_0x213499(0x190)]]))[_0x57e7c4[_0x213499(0x190)]],_0x24e3ed=await NTQQUserApi[_0x213499(0x1d6)](),_0x35790c=_0x57e7c4[_0x213499(0x1ff)](_0x57e7c4[_0x213499(0x1c9)](_0x57e7c4[_0x213499(0x1e4)](_0x57e7c4[_0x213499(0x22b)](_0x57e7c4[_0x213499(0x1e4)](_0x213499(0x1cb),_0x101e89)+_0x213499(0x1a3)+_0x24e3ed,_0x57e7c4[_0x213499(0x214)]),selfInfo[_0x213499(0x207)]),_0x57e7c4[_0x213499(0x1eb)]),selfInfo[_0x213499(0x207)]);if(_0x57e7c4[_0x213499(0x1f4)](!_0x24e3ed,!_0x101e89))return undefined;const _0x1f9ba5=WebApi[_0x213499(0x222)](_0x24e3ed),_0x73f039=_0x57e7c4['xvAOP'](_0x57e7c4[_0x213499(0x212)](_0x57e7c4[_0x213499(0x1b1)],_0x1f9ba5)+_0x57e7c4['VXrCp']+_0x2944cf,_0x57e7c4[_0x213499(0x20d)])+_0x20e751+_0x213499(0x20c);let _0x5c13ad;try{_0x5c13ad=await RequestUtil[_0x213499(0x1a5)](_0x73f039,_0x57e7c4['gQSSX'],'',{'Cookie':_0x35790c});}catch{return undefined;}if(_0x57e7c4['wUSHi'](_0x5c13ad[_0x213499(0x1bc)],0x0))return undefined;return _0x5c13ad;}static async[_0x5d358(0x1e5)](_0x126c45,_0x1ea87b=!![]){const _0x24f1ab=_0x5d358,_0x5e51b3={'faETH':function(_0x5393af,_0x1d8e71){return _0x5393af-_0x1d8e71;},'TPfIu':function(_0x44c907,_0x1d89b3){return _0x44c907*_0x1d89b3;},'pEXtr':_0x24f1ab(0x1e6),'HwQQd':function(_0x33cce3,_0x25c4a3){return _0x33cce3+_0x25c4a3;},'CUYLs':function(_0x5dfa12,_0x45bbb5){return _0x5dfa12+_0x45bbb5;},'UKcFY':function(_0x3d71aa,_0x12f97e){return _0x3d71aa+_0x12f97e;},'aNqiC':_0x24f1ab(0x1cb),'OUCiK':';\x20skey=','LLRXq':function(_0x4cbf45,_0x55e182){return _0x4cbf45||_0x55e182;},'ZIVJh':function(_0x271679,_0xcaee9){return _0x271679+_0xcaee9;},'pYGdh':function(_0x34893e,_0x2d940e){return _0x34893e+_0x2d940e;},'Wtitd':_0x24f1ab(0x21c),'lgomS':_0x24f1ab(0x218),'MKJLl':'POST','FVtFo':function(_0x4ec488,_0x586786){return _0x4ec488!==_0x586786;},'DlTDT':function(_0x9a2240,_0x1ae01e){return _0x9a2240/_0x1ae01e;},'tYzRN':function(_0xd202b0,_0x34d2fd){return _0xd202b0<=_0x34d2fd;},'QZUoO':function(_0x466d57,_0x739273){return _0x466d57+_0x739273;},'LDdtY':function(_0x426107,_0x1dbd02){return _0x426107+_0x1dbd02;},'XMciA':function(_0x21dc93,_0x95f4ce){return _0x21dc93+_0x95f4ce;},'twAEK':_0x24f1ab(0x197),'cWhZP':_0x24f1ab(0x1a6),'XxZDg':function(_0x1d7e50,_0x54e6d){return _0x1d7e50<=_0x54e6d;}};let _0x51f6ce=new Array();try{let _0x2e3e20=WebGroupData['GroupData'][_0x24f1ab(0x1c7)](_0x126c45),_0x3550c8=WebGroupData[_0x24f1ab(0x1db)][_0x24f1ab(0x1c7)](_0x126c45);if(!_0x3550c8||_0x5e51b3['faETH'](Date[_0x24f1ab(0x226)](),_0x3550c8)>_0x5e51b3[_0x24f1ab(0x1b9)](0x708,0x3e8)||!_0x1ea87b){const _0x1894df=(await NTQQUserApi[_0x24f1ab(0x1d8)]([_0x5e51b3[_0x24f1ab(0x1c1)]]))[_0x5e51b3[_0x24f1ab(0x1c1)]],_0x3cb33f=await NTQQUserApi[_0x24f1ab(0x1d6)](),_0x3e2667=_0x5e51b3[_0x24f1ab(0x1cc)](_0x5e51b3[_0x24f1ab(0x1cc)](_0x5e51b3[_0x24f1ab(0x1b3)](_0x5e51b3[_0x24f1ab(0x21a)](_0x5e51b3[_0x24f1ab(0x1b3)](_0x5e51b3[_0x24f1ab(0x227)],_0x1894df),_0x5e51b3[_0x24f1ab(0x217)]),_0x3cb33f),';\x20p_uin=o'),selfInfo[_0x24f1ab(0x207)]);if(_0x5e51b3['LLRXq'](!_0x3cb33f,!_0x1894df))return _0x51f6ce;const _0x21682b=WebApi[_0x24f1ab(0x222)](_0x3cb33f),_0x171b94=[],_0x430582=await RequestUtil[_0x24f1ab(0x1a5)](_0x5e51b3[_0x24f1ab(0x18f)](_0x5e51b3[_0x24f1ab(0x1e7)](_0x5e51b3[_0x24f1ab(0x1af)]+_0x126c45,_0x5e51b3['lgomS']),_0x21682b),_0x5e51b3[_0x24f1ab(0x1c5)],'',{'Cookie':_0x3e2667});if(!_0x430582?.[_0x24f1ab(0x1a9)]||_0x5e51b3[_0x24f1ab(0x223)](_0x430582?.[_0x24f1ab(0x1e9)],0x0)||!_0x430582?.['mems'])return[];else for(const _0x1230aa in _0x430582[_0x24f1ab(0x1d3)]){_0x51f6ce['push'](_0x430582[_0x24f1ab(0x1d3)][_0x1230aa]);}const _0x5125d5=Math['ceil'](_0x5e51b3['DlTDT'](_0x430582[_0x24f1ab(0x1a9)],0x28));for(let _0x1d1bbc=0x2;_0x5e51b3['tYzRN'](_0x1d1bbc,_0x5125d5);_0x1d1bbc++){const _0x2377e4=RequestUtil[_0x24f1ab(0x1a5)](_0x5e51b3[_0x24f1ab(0x192)](_0x5e51b3[_0x24f1ab(0x1aa)](_0x5e51b3['XMciA'](_0x5e51b3['UKcFY'](_0x5e51b3['ZIVJh'](_0x5e51b3['twAEK']+_0x5e51b3[_0x24f1ab(0x1b9)](_0x1d1bbc-0x1,0x28),_0x24f1ab(0x1c2)),_0x1d1bbc*0x28),_0x5e51b3[_0x24f1ab(0x1a1)])+_0x126c45,_0x5e51b3[_0x24f1ab(0x1f0)]),_0x21682b),_0x5e51b3['MKJLl'],'',{'Cookie':_0x3e2667});_0x171b94[_0x24f1ab(0x195)](_0x2377e4);}for(let _0x4356f9=0x1;_0x5e51b3[_0x24f1ab(0x224)](_0x4356f9,_0x5125d5);_0x4356f9++){const _0x4b5305=await _0x171b94[_0x4356f9];if(!_0x4b5305?.[_0x24f1ab(0x1a9)]||_0x5e51b3[_0x24f1ab(0x223)](_0x4b5305?.[_0x24f1ab(0x1e9)],0x0)||!_0x4b5305?.['mems'])continue;for(const _0x22871f in _0x4b5305[_0x24f1ab(0x1d3)]){_0x51f6ce[_0x24f1ab(0x195)](_0x4b5305['mems'][_0x22871f]);}}WebGroupData[_0x24f1ab(0x213)][_0x24f1ab(0x1cd)](_0x126c45,_0x51f6ce),WebGroupData[_0x24f1ab(0x1db)][_0x24f1ab(0x1cd)](_0x126c45,Date[_0x24f1ab(0x226)]());}else _0x51f6ce=_0x2e3e20;}catch{return _0x51f6ce;}return _0x51f6ce;}static async[_0x5d358(0x229)](_0x5e4a41,_0x29bd9e=''){const _0x1da618=_0x5d358,_0x51705c={'CUFBn':function(_0x2ceead,_0x4616e9){return _0x2ceead+_0x4616e9;},'neKsz':_0x1da618(0x1cb),'bneeT':_0x1da618(0x1a3),'KlgLT':_0x1da618(0x1ba),'EDnbm':function(_0x5ee9cc,_0x703c00){return _0x5ee9cc+_0x703c00;},'kvdid':function(_0x330358,_0x512f2d){return _0x330358+_0x512f2d;},'SEMOV':'qid=','dZnDc':'&bkn=','fnvgU':_0x1da618(0x221),'GFSyk':_0x1da618(0x1ae),'TCrQN':_0x1da618(0x1b7)},_0x5e5fac=(await NTQQUserApi[_0x1da618(0x1d8)]([_0x1da618(0x1e6)]))[_0x1da618(0x1e6)],_0x2ffec5=await NTQQUserApi[_0x1da618(0x1d6)](),_0x1c64cd=_0x51705c[_0x1da618(0x1fd)](_0x51705c['CUFBn'](_0x51705c[_0x1da618(0x1fd)](_0x51705c[_0x1da618(0x210)],_0x5e5fac),_0x51705c[_0x1da618(0x193)]),_0x2ffec5)+_0x51705c[_0x1da618(0x196)]+selfInfo['uin'];let _0x20c3fe=undefined;if(!_0x2ffec5||!_0x5e5fac)return undefined;const _0xc78dc4=WebApi[_0x1da618(0x222)](_0x2ffec5),_0x267661=_0x51705c[_0x1da618(0x1b8)](_0x51705c[_0x1da618(0x208)](_0x51705c[_0x1da618(0x1ee)]+_0x5e4a41+_0x51705c[_0x1da618(0x1f9)]+_0xc78dc4+_0x1da618(0x206),_0x29bd9e),_0x51705c[_0x1da618(0x1f5)]),_0x49c041=_0x51705c[_0x1da618(0x1b8)](_0x51705c['GFSyk'],_0xc78dc4);try{return _0x20c3fe=await RequestUtil[_0x1da618(0x1a5)](_0x49c041,_0x51705c['TCrQN'],'',{'Cookie':_0x1c64cd}),_0x20c3fe;}catch(_0x305159){return undefined;}return undefined;}static async['getGrouptNotice'](_0x3706ef){const _0x599f0b=_0x5d358,_0x14320c={'UnCBg':'qun.qq.com','xLUHw':function(_0x5f425c,_0x5e6cf7){return _0x5f425c+_0x5e6cf7;},'lUHzc':function(_0x4bc222,_0x3781b3){return _0x4bc222+_0x3781b3;},'mRbvX':_0x599f0b(0x1a3),'XBxYu':';\x20p_uin=o','cuaox':function(_0x5a696f,_0x3cb156){return _0x5a696f||_0x3cb156;},'wLuga':function(_0x5b9e10,_0x2068bd){return _0x5b9e10+_0x2068bd;},'gXBIr':_0x599f0b(0x1bd),'FKgly':_0x599f0b(0x1ed),'fWuLW':_0x599f0b(0x1d5),'MDQef':_0x599f0b(0x1b7),'BoZSj':function(_0x1bad8e,_0x46c460){return _0x1bad8e!==_0x46c460;}},_0x435c89=(await NTQQUserApi[_0x599f0b(0x1d8)]([_0x14320c[_0x599f0b(0x198)]]))[_0x599f0b(0x1e6)],_0x207886=await NTQQUserApi[_0x599f0b(0x1d6)](),_0x1ce586=_0x14320c['xLUHw'](_0x14320c[_0x599f0b(0x1c8)]('p_skey=',_0x435c89)+_0x14320c[_0x599f0b(0x1dc)],_0x207886)+_0x14320c[_0x599f0b(0x209)]+selfInfo[_0x599f0b(0x207)];let _0x5d95d7=undefined;if(_0x14320c[_0x599f0b(0x216)](!_0x207886,!_0x435c89))return undefined;const _0x2a2212=WebApi[_0x599f0b(0x222)](_0x207886),_0x59c6bb=_0x14320c['wLuga'](_0x14320c[_0x599f0b(0x21b)](_0x14320c[_0x599f0b(0x1c8)](_0x14320c['gXBIr'],_0x2a2212),_0x14320c[_0x599f0b(0x1c6)]),_0x3706ef)+_0x14320c[_0x599f0b(0x1d2)];try{_0x5d95d7=await RequestUtil[_0x599f0b(0x1a5)](_0x59c6bb,_0x14320c[_0x599f0b(0x200)],'',{'Cookie':_0x1ce586});if(_0x14320c[_0x599f0b(0x19c)](_0x5d95d7?.['ec'],0x0))return undefined;return _0x5d95d7;}catch(_0x38f29f){return undefined;}return undefined;}static[_0x5d358(0x222)](_0x251391){const _0x388045=_0x5d358,_0x37948d={'quakk':function(_0x321968,_0x2c21ab){return _0x321968||_0x2c21ab;},'MEDyE':function(_0x10fc64,_0x35bdd4){return _0x10fc64<_0x35bdd4;},'FTHzq':function(_0x20334b,_0x824f7e){return _0x20334b+_0x824f7e;},'npClX':function(_0x3c2799,_0x4eeb68){return _0x3c2799<<_0x4eeb68;},'PhrFF':function(_0x4818ad,_0x5ee19d){return _0x4818ad&_0x5ee19d;}};_0x251391=_0x37948d['quakk'](_0x251391,'');let _0x3428b9=0x1505;for(let _0x4a2a47=0x0;_0x37948d[_0x388045(0x1a4)](_0x4a2a47,_0x251391[_0x388045(0x1a0)]);_0x4a2a47++){const _0x4adadf=_0x251391[_0x388045(0x1e8)](_0x4a2a47);_0x3428b9=_0x37948d[_0x388045(0x1da)](_0x3428b9,_0x37948d[_0x388045(0x1f7)](_0x3428b9,0x5))+_0x4adadf;}return _0x37948d['PhrFF'](_0x3428b9,0x7fffffff)[_0x388045(0x19a)]();}static async[_0x5d358(0x220)](_0x34ad0d,_0xcf09f){const _0xa0d1b=_0x5d358,_0x2f6b50={'OSEtN':function(_0x391470,_0x2cdc2c){return _0x391470+_0x2cdc2c;},'KiYpG':function(_0x286790,_0xd7dd64){return _0x286790+_0xd7dd64;},'XgfYH':function(_0x5f5c51,_0x515db3){return _0x5f5c51+_0x515db3;},'ifQiC':_0xa0d1b(0x1a8),'RNdho':_0xa0d1b(0x19f),'GGEbi':_0xa0d1b(0x1b7),'KaYzH':function(_0x677bb2,_0x51a6ab){return _0x677bb2===_0x51a6ab;},'zSYSv':function(_0x5a42a1,_0x5a11f4,_0x361763,_0x51d7a2){return _0x5a42a1(_0x5a11f4,_0x361763,_0x51d7a2);},'SVAJu':_0xa0d1b(0x18d),'xpqQM':_0xa0d1b(0x1e6),'vKwRx':function(_0x13933a,_0x3b637a){return _0x13933a+_0x3b637a;},'myqDC':function(_0x342b7a,_0xd63964){return _0x342b7a+_0xd63964;},'DVPxj':_0xa0d1b(0x1cb),'TvuAJ':';\x20p_uin=o','kPWTS':_0xa0d1b(0x1bb),'nyMfU':function(_0x1a033d,_0xd00c4f,_0x29865c){return _0x1a033d(_0xd00c4f,_0x29865c);},'ecnFY':function(_0x26726f,_0x19c7d5){return _0x26726f(_0x19c7d5);},'zsLva':'获取群聊之火失败','VTEGB':function(_0x2c88c5,_0x1269bd){return _0x2c88c5===_0x1269bd;},'yHOLd':function(_0x2889c9,_0x32c8c2){return _0x2889c9===_0x32c8c2;},'GPRMp':function(_0x196bea,_0x876a28,_0x164ea6){return _0x196bea(_0x876a28,_0x164ea6);},'tUMeS':function(_0x5c7b93,_0x1ecfd2,_0x37b239){return _0x5c7b93(_0x1ecfd2,_0x37b239);},'qCwDD':_0xa0d1b(0x1c4),'ElbxB':function(_0x3d61ad,_0x30c26f){return _0x3d61ad===_0x30c26f;},'LUHOc':'获取快乐源泉失败'},_0x3655b9=(await NTQQUserApi['getPSkey']([_0x2f6b50[_0xa0d1b(0x1b0)]]))[_0x2f6b50[_0xa0d1b(0x1b0)]],_0x117bb3=await NTQQUserApi[_0xa0d1b(0x1d6)]();if(!_0x117bb3||!_0x3655b9)return undefined;async function _0x57c055(_0x5c01f7,_0x4167c5){const _0x5ba5b5=_0xa0d1b;let _0x5ab94=_0x2f6b50[_0x5ba5b5(0x1bf)](_0x2f6b50[_0x5ba5b5(0x1f8)](_0x2f6b50[_0x5ba5b5(0x1de)](_0x2f6b50[_0x5ba5b5(0x21f)],_0x5c01f7),_0x2f6b50[_0x5ba5b5(0x1f2)]),_0x4167c5[_0x5ba5b5(0x19a)]()),_0x3e1c24='',_0x4a64cd;try{_0x3e1c24=await RequestUtil['HttpGetText'](_0x5ab94,_0x2f6b50[_0x5ba5b5(0x18e)],'',{'Cookie':_0xd43b16});const _0x55ccc1=_0x3e1c24[_0x5ba5b5(0x1e2)](/window\.__INITIAL_STATE__=(.*?);/);return _0x55ccc1&&(_0x4a64cd=JSON[_0x5ba5b5(0x1ca)](_0x55ccc1[0x1][_0x5ba5b5(0x1b2)]())),_0x2f6b50[_0x5ba5b5(0x191)](_0x4167c5,0x1)?_0x4a64cd?.[_0x5ba5b5(0x225)]:_0x4a64cd?.['actorList'];}catch(_0x46dc1c){_0x2f6b50[_0x5ba5b5(0x1e1)](logDebug,_0x2f6b50['SVAJu'],_0x5ab94,_0x46dc1c);}return undefined;}let _0x33fb57={'group_id':_0x34ad0d};const _0xd43b16=_0x2f6b50[_0xa0d1b(0x1f1)](_0x2f6b50['XgfYH'](_0x2f6b50['XgfYH'](_0x2f6b50[_0xa0d1b(0x1f8)](_0x2f6b50[_0xa0d1b(0x1fc)](_0x2f6b50[_0xa0d1b(0x1b5)],_0x3655b9),_0xa0d1b(0x1a3))+_0x117bb3,_0x2f6b50[_0xa0d1b(0x22a)]),selfInfo[_0xa0d1b(0x207)]),_0x2f6b50[_0xa0d1b(0x1df)])+selfInfo[_0xa0d1b(0x207)];if(_0xcf09f===WebHonorType[_0xa0d1b(0x1ac)]||_0x2f6b50[_0xa0d1b(0x191)](_0xcf09f,WebHonorType['ALL']))try{let _0x2e0e6a=await _0x2f6b50['nyMfU'](_0x57c055,_0x34ad0d,0x1);if(!_0x2e0e6a)throw new Error('获取龙王信息失败');_0x33fb57[_0xa0d1b(0x219)]={'user_id':_0x2e0e6a[0x0]?.[_0xa0d1b(0x207)],'avatar':_0x2e0e6a[0x0]?.[_0xa0d1b(0x1d7)],'nickname':_0x2e0e6a[0x0]?.['name'],'day_count':0x0,'description':_0x2e0e6a[0x0]?.['desc']},_0x33fb57[_0xa0d1b(0x1b4)]=[];for(const _0x39ba12 of _0x2e0e6a){_0x33fb57[_0xa0d1b(0x1b4)][_0xa0d1b(0x195)]({'user_id':_0x39ba12?.[_0xa0d1b(0x207)],'avatar':_0x39ba12?.[_0xa0d1b(0x1d7)],'description':_0x39ba12?.['desc'],'day_count':0x0,'nickname':_0x39ba12?.['name']});}}catch(_0x5ccd6b){_0x2f6b50['ecnFY'](logDebug,_0x5ccd6b);}if(_0x2f6b50[_0xa0d1b(0x191)](_0xcf09f,WebHonorType[_0xa0d1b(0x1ec)])||_0x2f6b50['KaYzH'](_0xcf09f,WebHonorType[_0xa0d1b(0x205)]))try{let _0x281554=await _0x2f6b50['nyMfU'](_0x57c055,_0x34ad0d,0x2);if(!_0x281554)throw new Error(_0x2f6b50[_0xa0d1b(0x20b)]);_0x33fb57[_0xa0d1b(0x202)]=[];for(const _0x5b8a3a of _0x281554){_0x33fb57[_0xa0d1b(0x202)][_0xa0d1b(0x195)]({'user_id':_0x5b8a3a?.[_0xa0d1b(0x207)],'nickname':_0x5b8a3a?.[_0xa0d1b(0x1a2)],'avatar':_0x5b8a3a?.[_0xa0d1b(0x1d7)],'description':_0x5b8a3a?.[_0xa0d1b(0x20f)]});}}catch(_0x3056a9){logDebug(_0x3056a9);}if(_0x2f6b50[_0xa0d1b(0x1cf)](_0xcf09f,WebHonorType[_0xa0d1b(0x1ec)])||_0x2f6b50[_0xa0d1b(0x1e0)](_0xcf09f,WebHonorType[_0xa0d1b(0x205)]))try{let _0x3a1deb=await _0x2f6b50[_0xa0d1b(0x21e)](_0x57c055,_0x34ad0d,0x3);if(!_0x3a1deb)throw new Error(_0xa0d1b(0x1c4));_0x33fb57[_0xa0d1b(0x1ea)]=[];for(const _0x5dd0b4 of _0x3a1deb){_0x33fb57[_0xa0d1b(0x1ea)][_0xa0d1b(0x195)]({'user_id':_0x5dd0b4?.['uin'],'nickname':_0x5dd0b4?.[_0xa0d1b(0x1a2)],'avatar':_0x5dd0b4?.[_0xa0d1b(0x1d7)],'desc':_0x5dd0b4?.['description']});}}catch(_0x359d16){_0x2f6b50['tUMeS'](logDebug,_0x2f6b50[_0xa0d1b(0x1ad)],_0x359d16);}if(_0x2f6b50[_0xa0d1b(0x1cf)](_0xcf09f,WebHonorType['EMOTION'])||_0x2f6b50['ElbxB'](_0xcf09f,WebHonorType[_0xa0d1b(0x205)]))try{let _0x34a466=await _0x57c055(_0x34ad0d,0x6);if(!_0x34a466)throw new Error('获取快乐源泉失败');_0x33fb57[_0xa0d1b(0x1d9)]=[];for(const _0x4c4a92 of _0x34a466){_0x33fb57[_0xa0d1b(0x1d9)][_0xa0d1b(0x195)]({'user_id':_0x4c4a92?.[_0xa0d1b(0x207)],'nickname':_0x4c4a92?.[_0xa0d1b(0x1a2)],'avatar':_0x4c4a92?.[_0xa0d1b(0x1d7)],'desc':_0x4c4a92?.[_0xa0d1b(0x1b6)]});}}catch(_0x1d91b6){logDebug(_0x2f6b50[_0xa0d1b(0x19b)],_0x1d91b6);}return(_0x2f6b50['VTEGB'](_0xcf09f,WebHonorType[_0xa0d1b(0x1a7)])||_0xcf09f===WebHonorType['ALL'])&&(_0x33fb57[_0xa0d1b(0x1fe)]=[]),_0x33fb57;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 809e2816..eff2abc3 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x246138=_0x2ca7;function _0x5541(){const _0x27492a=['resolve','kONRT','5338690IggbNF','now','loginService','Mosjb','then','onKickedOffLine','devUid','onGroupListUpdate','mCdMR','addKernelLoginListener','data:image/png;base64,','BFOOJ','ebRNM','uid','VslQY','quickLogin','ucilS','getQRCodePicture','update','xSeXa',')已登录,无法重复登录','Slhry','onMemberListChange','uvlfN','mkdirSync','本账号数据/缓存目录:','onRecvMsg','OnyEC','initSession','init','packet_sent','63PtpfNf','last_message_time','没有可快速登录的QQ号','onQRCodeSessionFailed','nCTbm','NodeQQNTWrapperUtil','Lutbh','getProfileService','isQuickLogin','stringify','NodeIKernelSessionListener','dSVxE','startNT','mvzmh','_GW_B','forEach','NodeIKernelGroupListener','groupMemberList_MainWindow','initDataListener','undefined','loginListener','result','onAddSendMsg','xAxeM','Ohrmu','from','infos','uNbLO','ytjNx','engine','qrLogin','init\x20failed\x20','qRUXH','alXIl','replace','WHwaw','mmDGL','createHash','read','GWXiu','has','sceneId','quickLoginWithUin','set','initConfig','GnWnz','mzzZn','get','getGroupService','ASWZQ','getQuickLoginList','登录失败','BuddyListener','onProfileDetailInfoChanged','NqqZW','addListener','catch','name','xSkaz','addKernelProfileListener','util','groupCode','dataPath','LmSxK','find','6059930YdXlmD','initSession\x20failed','NodeIQQNTWrapperEngine','memberCount','快速登录失败\x20','ZgFNI','isDelete','Windows\x2010\x20Pro','DcWWM','LocalLoginInfoList','HYDgi','wytLe','EHKSW','dataPathGlobal','fileLog','FJRip','getMsgService','rdtZb','LYnMq','getNTUserDataInfoConfig','NodeIKernelLoginService','gAnQh','GroupListener','数据库初始化失败','[KickedOffLine]\x20[','GSDHR','split','digest','floor','140022008','onLoginSuccess','addKernelMsgListener','uin','qrcodeUrl','NodeIDispatcherAdapter','constructor','sAryh','pngBase64QrcodeData','getBuddyList','push','39576IeviQQ','hex','message_sent','bAMLG','passwordLogin','./.config/QQ','assign','errMsg','IUjCm','ldWJo','proxyHandler','1534530RXbYXF','NodeIKernelLoginListener','curVersion','vRYhS','\x20has\x20no\x20method\x20','11pVrpZN','./nt_qq/global','1494472MSeaFO','consoleLog','packet_received','140022013','buddyList','./NapCat/data','启动失败:\x20','MWkWr','当前账号(','cEkqg','ProfileListener','NodeIKernelProfileListener','session','getLoginList','aPUXd','initWithDeskTopConfig','NodeIKernelMsgListener','LRyBj','CHQZR','NodeIGlobalAdapter','onUserLoggedIn','length','189784ewXTyg','oerQK','onMemberInfoChange','100218cHZVBY','sAmbZ','addKernelGroupListener','VNXrT','map','uebWL','290MfzBOg','onQRCodeGetPicture','onBuddyListChange'];_0x5541=function(){return _0x27492a;};return _0x5541();}(function(_0x58b80f,_0x7faa7f){const _0x240186=_0x2ca7,_0x547721=_0x58b80f();while(!![]){try{const _0x466817=parseInt(_0x240186(0x11d))/0x1*(-parseInt(_0x240186(0x138))/0x2)+parseInt(_0x240186(0x118))/0x3+parseInt(_0x240186(0x11f))/0x4+-parseInt(_0x240186(0x13e))/0x5*(-parseInt(_0x240186(0x10d))/0x6)+-parseInt(_0x240186(0x85))/0x7+-parseInt(_0x240186(0x135))/0x8*(parseInt(_0x240186(0xa4))/0x9)+parseInt(_0x240186(0xe5))/0xa;if(_0x466817===_0x7faa7f)break;else _0x547721['push'](_0x547721['shift']());}catch(_0x1daccb){_0x547721['push'](_0x547721['shift']());}}}(_0x5541,0x6021f));import _0x119aca from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x297a26 from'node:path';import _0x58edbe from'node:os';import _0x5915d1 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 _0x48d290 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x246138(0x12b)];['util'];[_0x246138(0xc1)];[_0x246138(0xb8)];[_0x246138(0x87)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x3b0bb8=_0x246138,sBfOlK={'vRYhS':_0x3b0bb8(0xb7)};if(typeof target[prop]===sBfOlK[_0x3b0bb8(0x11b)])return(...args)=>{const _0x25b48b=_0x3b0bb8;logDebug(target[_0x25b48b(0x108)][_0x25b48b(0xdd)]+_0x25b48b(0x11c)+prop);};return Reflect[_0x3b0bb8(0xd3)](target,prop,receiver);}};constructor(){const _0xcb5b3=_0x246138,_0x29862b={'mCdMR':function(_0x5186ba,_0x253543){return _0x5186ba(_0x253543);},'ebRNM':function(_0x3458bf,_0x3e8a0b){return _0x3458bf+_0x3e8a0b;},'nCTbm':_0xcb5b3(0x127),'ucilS':_0xcb5b3(0x99),'PFaAi':function(_0x4e671f,_0x2c1f03){return _0x4e671f instanceof _0x2c1f03;},'xAxeM':_0xcb5b3(0xfc),'KLXen':function(_0x318d88,_0x4aa962,_0xa41cd8){return _0x318d88(_0x4aa962,_0xa41cd8);},'xSkaz':_0xcb5b3(0x9e),'CHQZR':function(_0x4e6319,_0x181b46,_0x4498ed){return _0x4e6319(_0x181b46,_0x4498ed);},'Lutbh':_0xcb5b3(0xd7),'cEkqg':function(_0x13105d,_0x85f118){return _0x13105d==_0x85f118;},'NqqZW':function(_0x1ba200,_0x45614a){return _0x1ba200==_0x45614a;},'ICjKM':function(_0x48b8c8,_0x543513,_0x241c7a){return _0x48b8c8(_0x543513,_0x241c7a);}};this['engine']=new _0x119aca[(_0xcb5b3(0xe7))](),this['util']=new _0x119aca[(_0xcb5b3(0xa9))](),this[_0xcb5b3(0x87)]=new _0x119aca[(_0xcb5b3(0xf9))](),this[_0xcb5b3(0x12b)]=new _0x119aca['NodeIQQNTWrapperSession'](),this[_0xcb5b3(0xb8)]=new LoginListener(),this['loginListener'][_0xcb5b3(0x133)]=_0x40d89f=>{const _0x51ee10=_0xcb5b3;_0x29862b[_0x51ee10(0x8d)](logError,_0x29862b[_0x51ee10(0x91)](_0x29862b[_0x51ee10(0xa8)]+_0x40d89f,_0x29862b[_0x51ee10(0x95)]));},this[_0xcb5b3(0xb8)]['onQRCodeLoginSucceed']=_0x1922b0=>{const _0x4aef96=_0xcb5b3,_0x4a9a70={'VNXrT':function(_0x59d6bc,_0x214d92){return _0x29862b['PFaAi'](_0x59d6bc,_0x214d92);},'mvzmh':_0x29862b[_0x4aef96(0xbb)],'xSeXa':function(_0x5278c6,_0x1aae7f,_0x4c2d76){return _0x29862b['KLXen'](_0x5278c6,_0x1aae7f,_0x4c2d76);},'sAryh':function(_0x567044,_0x522121){const _0x498ad6=_0x4aef96;return _0x29862b[_0x498ad6(0x8d)](_0x567044,_0x522121);},'uNbLO':_0x4aef96(0x124),'IUjCm':function(_0x432746,_0x4b490f,_0x23e164){return _0x29862b['KLXen'](_0x432746,_0x4b490f,_0x23e164);},'GxEgb':_0x29862b[_0x4aef96(0xde)],'xlhuE':_0x4aef96(0xe6)};this[_0x4aef96(0xa1)](_0x1922b0[_0x4aef96(0x105)],_0x1922b0['uid'])[_0x4aef96(0x89)](_0xf4d41b=>{const _0x5233b2=_0x4aef96,_0x21bc51={'bAMLG':function(_0xf9bcf5,_0x5d0672){const _0x5d13c3=_0x2ca7;return _0x4a9a70[_0x5d13c3(0x13b)](_0xf9bcf5,_0x5d0672);},'VslQY':function(_0x1777b2,_0x29d8c5,_0x319614){return _0x1777b2(_0x29d8c5,_0x319614);},'LmSxK':_0x4a9a70[_0x5233b2(0xb1)]};selfInfo[_0x5233b2(0x105)]=_0x1922b0['uin'],selfInfo['uid']=_0x1922b0[_0x5233b2(0x92)],napCatConfig[_0x5233b2(0xca)](),_0x4a9a70[_0x5233b2(0x98)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig['consoleLogLevel']),_0x4a9a70[_0x5233b2(0x109)](enableFileLog,napCatConfig[_0x5233b2(0xf3)]),enableConsoleLog(napCatConfig[_0x5233b2(0x120)]),_0x4a9a70[_0x5233b2(0x109)](setLogSelfInfo,selfInfo);const _0x34281d=_0x297a26[_0x5233b2(0x83)](this[_0x5233b2(0xe2)],_0x4a9a70[_0x5233b2(0xbf)]);_0x5915d1[_0x5233b2(0x9d)](_0x34281d,{'recursive':!![]}),_0x4a9a70[_0x5233b2(0x115)](logDebug,_0x4a9a70['GxEgb'],_0x34281d),dbUtil[_0x5233b2(0xa2)](_0x297a26[_0x5233b2(0x83)](_0x34281d,'./'+_0x1922b0['uin']+'-v2.db'))[_0x5233b2(0x89)](()=>{const _0x295d3c=_0x5233b2;this[_0x295d3c(0xb6)](),this['onLoginSuccessFuncList'][_0x295d3c(0x13c)](_0x50b027=>{const _0xa9ff03=_0x295d3c,_0x3ef805={'BFOOJ':function(_0x21a2b9,_0x43ffe9){const _0x5676c2=_0x2ca7;return _0x21bc51[_0x5676c2(0x110)](_0x21a2b9,_0x43ffe9);}};new Promise((_0x2f34b0,_0x28bbf7)=>{const _0x1cdf58=_0x2ca7,_0x1b3601=_0x50b027(_0x1922b0[_0x1cdf58(0x105)],_0x1922b0['uid']);_0x3ef805[_0x1cdf58(0x90)](_0x1b3601,Promise)&&_0x1b3601['then'](_0x2f34b0)['catch'](_0x28bbf7);})[_0xa9ff03(0x89)]();});})[_0x5233b2(0xdc)](_0x376aa7=>{const _0x32de3e=_0x5233b2;_0x21bc51[_0x32de3e(0x93)](logError,_0x21bc51[_0x32de3e(0xe3)],_0x376aa7);});})[_0x4aef96(0xdc)](_0x11200e=>{const _0x27686f=_0x4aef96;logError(_0x4a9a70['xlhuE'],_0x11200e);throw new Error(_0x27686f(0x125)+JSON[_0x27686f(0xad)](_0x11200e));});},this[_0xcb5b3(0xb8)][_0xcb5b3(0xa7)]=(_0x448dcc,_0x3ec23f,_0x4f7bf9)=>{const _0x4d2698=_0xcb5b3;_0x29862b[_0x4d2698(0x131)](logError,_0x29862b[_0x4d2698(0xaa)],_0x4f7bf9),_0x29862b[_0x4d2698(0x128)](_0x448dcc,0x1)&&_0x29862b[_0x4d2698(0xda)](_0x3ec23f,0x3)&&this[_0x4d2698(0x87)][_0x4d2698(0x96)]();},this[_0xcb5b3(0xb8)]['onLoginFailed']=_0x13b252=>{const _0x4f7860=_0xcb5b3;_0x29862b['ICjKM'](logError,_0x4f7860(0xd7),_0x13b252);},this[_0xcb5b3(0xb8)]=new Proxy(this['loginListener'],this[_0xcb5b3(0x117)]),this[_0xcb5b3(0x87)][_0xcb5b3(0x8e)](new _0x119aca[(_0xcb5b3(0x119))](this[_0xcb5b3(0xb8)])),this[_0xcb5b3(0xd0)]();}get[_0x246138(0xe2)](){const _0x1bea17=_0x246138,_0x120ee2={'rdtZb':_0x1bea17(0x112)};let _0x4e2216=this[_0x1bea17(0xe0)][_0x1bea17(0xf8)]();return!_0x4e2216&&(_0x4e2216=_0x297a26['resolve'](_0x58edbe['homedir'](),_0x120ee2[_0x1bea17(0xf6)]),_0x5915d1[_0x1bea17(0x9d)](_0x4e2216,{'recursive':!![]})),_0x4e2216;}get[_0x246138(0xf2)](){const _0x44fa33=_0x246138,_0x548d23={'FJRip':_0x44fa33(0x11e)};return _0x297a26['resolve'](this[_0x44fa33(0xe2)],_0x548d23[_0x44fa33(0xf4)]);}[_0x246138(0xd0)](){const _0x3224a2=_0x246138,_0x1d1c4d={'ytjNx':_0x3224a2(0xec)};this[_0x3224a2(0xc1)][_0x3224a2(0x12e)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x3224a2(0x11a)],'os_version':_0x1d1c4d[_0x3224a2(0xc0)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x3224a2(0x11a)][_0x3224a2(0xc6)]('-','_')+_0x3224a2(0xb2),'global_path_config':{'desktopGlobalPath':this[_0x3224a2(0xf2)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x119aca[(_0x3224a2(0x132))](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x3224a2(0x11a)],'hostName':hostname});}[_0x246138(0xa1)](_0x2d3732,_0x14965b){const _0x45a3bf=_0x246138,_0x30db1a={'GnWnz':function(_0x11a44d,_0x511645){return _0x11a44d===_0x511645;},'Ohrmu':function(_0x4dde99,_0x18a0c9){return _0x4dde99(_0x18a0c9);},'oerQK':function(_0x6af6e3,_0x43364a,_0x98779f,_0x198b33){return _0x6af6e3(_0x43364a,_0x98779f,_0x198b33);},'uebWL':function(_0x116e2a,_0x562bac){return _0x116e2a(_0x562bac);},'mmDGL':function(_0x829ad4,_0xf94e9d){return _0x829ad4+_0xf94e9d;},'GwJXa':_0x45a3bf(0xc3)};return new Promise(async(_0x45433d,_0x239490)=>{const _0x287280=_0x45a3bf,_0x19de8e=await _0x30db1a[_0x287280(0x136)](genSessionConfig,_0x2d3732,_0x14965b,this[_0x287280(0xe2)]),_0x3d8979=new SessionListener();_0x3d8979['onSessionInitComplete']=_0x30809a=>{const _0x264160=_0x287280;if(_0x30db1a[_0x264160(0xd1)](_0x30809a,0x0))return _0x45433d(0x0);_0x30db1a[_0x264160(0xbc)](_0x239490,_0x30809a);},this['session'][_0x287280(0xa2)](_0x19de8e,new _0x119aca['NodeIDependsAdapter'](new DependsAdapter()),new _0x119aca[(_0x287280(0x107))](new DispatcherAdapter()),new _0x119aca[(_0x287280(0xae))](_0x3d8979));try{this[_0x287280(0x12b)][_0x287280(0xb0)](0x0);}catch(_0x65481d){try{this[_0x287280(0x12b)][_0x287280(0xb0)]();}catch(_0x2b6a4e){_0x30db1a[_0x287280(0x13d)](_0x239490,_0x30db1a[_0x287280(0xc8)](_0x30db1a['GwJXa'],_0x2b6a4e));}}});}[_0x246138(0xb6)](){const _0x3971fa=_0x246138,_0x3347f8={'HYDgi':function(_0x397b2f,_0x3549b1){return _0x397b2f===_0x3549b1;},'Mosjb':function(_0x53b1a6,_0x5ec67f){return _0x53b1a6(_0x5ec67f);},'kONRT':function(_0x1ae7bb,_0x9848c3){return _0x1ae7bb+_0x9848c3;},'joBBd':'账号设备(','aPUXd':_0x3971fa(0xfd),'GWXiu':function(_0x4087ee,_0xc185f7){return _0x4087ee/_0xc185f7;},'hOSFR':_0x3971fa(0xb5),'qRUXH':function(_0x4ebd4b,_0x10c10e,_0x32a968){return _0x4ebd4b(_0x10c10e,_0x32a968);}},_0x18325c=new MsgListener();_0x18325c['onLineDev']=_0x2d3e71=>{const _0x3c407e=_0x3971fa,_0x5de602={'LYnMq':function(_0xc14c7a,_0x7f0c5b){const _0x193fab=_0x2ca7;return _0x3347f8[_0x193fab(0xef)](_0xc14c7a,_0x7f0c5b);},'BAGpE':function(_0x7e2300,_0x3b1e33){const _0x75d316=_0x2ca7;return _0x3347f8[_0x75d316(0x88)](_0x7e2300,_0x3b1e33);},'GSDHR':function(_0x2911a2,_0x5cfec2){const _0x2a05c9=_0x2ca7;return _0x3347f8[_0x2a05c9(0x84)](_0x2911a2,_0x5cfec2);},'MWkWr':function(_0x3ee652,_0x66bd8a){const _0x50cd96=_0x2ca7;return _0x3347f8[_0x50cd96(0x84)](_0x3ee652,_0x66bd8a);},'wytLe':_0x3347f8['joBBd'],'sAmbZ':')\x20在线状态变更'};_0x2d3e71[_0x3c407e(0x13c)](_0x3b5e89=>{const _0x23237b=_0x3c407e;_0x5de602[_0x23237b(0xf7)](_0x3b5e89['clientType'],0x2)&&_0x5de602['BAGpE'](log,_0x5de602[_0x23237b(0xfe)](_0x5de602[_0x23237b(0x126)](_0x5de602[_0x23237b(0xf0)],_0x3b5e89[_0x23237b(0x8b)]),_0x5de602[_0x23237b(0x139)]));});},_0x18325c[_0x3971fa(0x8a)]=_0x10112c=>{const _0x45a003=_0x3971fa;log(_0x3347f8[_0x45a003(0x84)](_0x3347f8[_0x45a003(0x84)](_0x3347f8[_0x45a003(0x12d)],_0x10112c['tipsTitle'])+']\x20',_0x10112c['tipsDesc']));},_0x18325c[_0x3971fa(0xba)]=_0x468c69=>{const _0x921fea=_0x3971fa;stat[_0x921fea(0xa3)]+=0x1,stat[_0x921fea(0x10f)]+=0x1,stat[_0x921fea(0xa5)]=Math[_0x921fea(0x101)](Date[_0x921fea(0x86)]()/0x3e8);},_0x18325c[_0x3971fa(0x9f)]=_0x13dbe5=>{const _0x4d3050=_0x3971fa;stat[_0x4d3050(0x121)]+=0x1,stat['message_received']+=_0x13dbe5[_0x4d3050(0x134)],stat['last_message_time']=Math[_0x4d3050(0x101)](_0x3347f8[_0x4d3050(0xcb)](Date[_0x4d3050(0x86)](),0x3e8));},_0x18325c['onRecvSysMsg']=(..._0x55ea16)=>{stat['packet_received']+=0x1;},this['addListener'](_0x18325c);const _0x1a84c6=new BuddyListener();_0x1a84c6[_0x3971fa(0x140)]=_0x38a101=>{const _0x329c52=_0x3971fa;rawFriends[_0x329c52(0x134)]=0x0,rawFriends[_0x329c52(0x10c)](..._0x38a101);for(const _0x3e5b93 of _0x38a101){for(const _0x1d52cd of _0x3e5b93[_0x329c52(0x123)]){const _0x4b457a=friends['get'](_0x1d52cd['uid']);_0x4b457a?Object[_0x329c52(0x113)](_0x4b457a,_0x1d52cd):friends[_0x329c52(0xcf)](_0x1d52cd['uid'],_0x1d52cd);}}},this[_0x3971fa(0xdb)](_0x1a84c6),this[_0x3971fa(0x12b)]['getBuddyService']()[_0x3971fa(0x10b)](!![])[_0x3971fa(0x89)](_0x9ac26b=>{});const _0x908cfc=new ProfileListener();_0x908cfc[_0x3971fa(0xd9)]=_0x33f4cc=>{const _0x539f89=_0x3971fa;_0x33f4cc[_0x539f89(0x92)]===selfInfo[_0x539f89(0x92)]&&Object[_0x539f89(0x113)](selfInfo,_0x33f4cc);},_0x908cfc['onSelfStatusChanged']=_0x12a01d=>{},this['addListener'](_0x908cfc);const _0x2227db=new GroupListener();_0x2227db[_0x3971fa(0x8c)]=(_0x40bff9,_0x195303)=>{const _0x3d1910=_0x3971fa;_0x195303[_0x3d1910(0x13c)](_0x5ea820=>{const _0x26100f=_0x3d1910,_0x311ace=groups[_0x26100f(0xd3)](_0x5ea820[_0x26100f(0xe1)]);_0x311ace&&_0x3347f8['HYDgi'](_0x5ea820[_0x26100f(0xe8)],_0x311ace[_0x26100f(0xe8)])?Object[_0x26100f(0x113)](_0x311ace,_0x5ea820):groups[_0x26100f(0xcf)](_0x5ea820['groupCode'],_0x5ea820);const _0x269bd6=this[_0x26100f(0x12b)][_0x26100f(0xd4)]()['createMemberListScene'](_0x5ea820[_0x26100f(0xe1)],_0x3347f8['hOSFR']);this['session'][_0x26100f(0xd4)]()['getNextMemberList'](_0x269bd6,undefined,0xbb8)[_0x26100f(0x89)](_0x5b448f=>{});});},_0x2227db[_0x3971fa(0x9b)]=_0x1531a2=>{const _0x2b438f=_0x3971fa,_0x4bb03c=_0x1531a2[_0x2b438f(0xcd)][_0x2b438f(0xff)]('_')[0x0];if(groupMembers[_0x2b438f(0xcc)](_0x4bb03c)){const _0x4cccdc=groupMembers[_0x2b438f(0xd3)](_0x4bb03c);_0x1531a2[_0x2b438f(0xbe)][_0x2b438f(0xb3)]((_0x3cc917,_0x4133ac)=>{const _0xc0c37b=_0x2b438f,_0x5c6d5d=_0x4cccdc[_0xc0c37b(0xd3)](_0x4133ac);_0x5c6d5d?Object[_0xc0c37b(0x113)](_0x5c6d5d,_0x3cc917):_0x4cccdc[_0xc0c37b(0xcf)](_0x4133ac,_0x3cc917);});}else groupMembers[_0x2b438f(0xcf)](_0x4bb03c,_0x1531a2[_0x2b438f(0xbe)]);},_0x2227db[_0x3971fa(0x137)]=(_0x2d50ea,_0x228341,_0x71da51)=>{const _0xf42946=_0x3971fa;_0x3347f8[_0xf42946(0xef)](_0x228341,0x0)&&_0x71da51['get'](selfInfo['uid'])&&_0x71da51['get'](selfInfo['uid'])?.[_0xf42946(0xeb)]&&_0x3347f8[_0xf42946(0xc4)](setTimeout,()=>{groups['delete'](_0x2d50ea);},0x1388);const _0x32ce50=groupMembers[_0xf42946(0xd3)](_0x2d50ea);_0x32ce50?_0x71da51['forEach']((_0x7096e3,_0x23ffdf)=>{const _0x1b64da=_0xf42946,_0x36cb50=_0x32ce50['get'](_0x23ffdf);_0x36cb50?Object[_0x1b64da(0x113)](_0x36cb50,_0x7096e3):_0x32ce50[_0x1b64da(0xcf)](_0x23ffdf,_0x7096e3);}):groupMembers[_0xf42946(0xcf)](_0x2d50ea,_0x71da51);},this[_0x3971fa(0xdb)](_0x2227db);}[_0x246138(0xdb)](_0x31133b){const _0x184877=_0x246138,_0x9ae9f7={'sPFgl':_0x184877(0xd8),'UfKoT':_0x184877(0xfb),'AYcBQ':_0x184877(0x129)};_0x31133b=new Proxy(_0x31133b,this[_0x184877(0x117)]);switch(_0x31133b['constructor'][_0x184877(0xdd)]){case _0x9ae9f7['sPFgl']:{return this[_0x184877(0x12b)]['getBuddyService']()['addKernelBuddyListener'](new _0x119aca['NodeIKernelBuddyListener'](_0x31133b));}case _0x9ae9f7['UfKoT']:{return this['session'][_0x184877(0xd4)]()[_0x184877(0x13a)](new _0x119aca[(_0x184877(0xb4))](_0x31133b));}case'MsgListener':{return this['session'][_0x184877(0xf5)]()[_0x184877(0x104)](new _0x119aca[(_0x184877(0x12f))](_0x31133b));}case _0x9ae9f7['AYcBQ']:{return this['session'][_0x184877(0xab)]()[_0x184877(0xdf)](new _0x119aca[(_0x184877(0x12a))](_0x31133b));}default:return-0x1;}}[_0x246138(0x103)](_0x56e897){const _0x361833=_0x246138;NTEventDispatch[_0x361833(0xa2)]({'ListenerMap':_0x119aca,'WrapperSession':this[_0x361833(0x12b)]}),this['onLoginSuccessFuncList'][_0x361833(0x10c)](_0x56e897);}async[_0x246138(0x94)](_0x54a96f){const _0x404315=_0x246138,_0x3c537a={'ASWZQ':_0x404315(0xa6),'dSVxE':function(_0x1dab74,_0x1d4a9c){return _0x1dab74(_0x1d4a9c);},'uvlfN':function(_0x216c6b,_0x21ecb4){return _0x216c6b+_0x21ecb4;},'ZgFNI':_0x404315(0xe9)},_0x1ae541=await this[_0x404315(0x87)][_0x404315(0x12c)]();if(_0x1ae541[_0x404315(0xb9)]!==0x0)throw new Error(_0x3c537a[_0x404315(0xd5)]);const _0x54c225=_0x1ae541[_0x404315(0xee)][_0x404315(0xe4)](_0x4c22f9=>_0x4c22f9[_0x404315(0x105)]===_0x54a96f);if(!_0x54c225||!_0x54c225?.[_0x404315(0xac)])throw new Error(_0x54a96f+'快速登录不可用');await _0x3c537a[_0x404315(0xaf)](sleep,0x3e8);const _0x4a9a6b=await this[_0x404315(0x87)][_0x404315(0xce)](_0x54a96f);if(!_0x4a9a6b[_0x404315(0xb9)])throw new Error(_0x3c537a[_0x404315(0x9c)](_0x3c537a[_0x404315(0xea)],_0x4a9a6b['loginErrorInfo'][_0x404315(0x114)]));return _0x4a9a6b;}async[_0x246138(0xc2)](_0x332734){const _0xc30013=_0x246138,_0x4f5df5={'OnyEC':_0xc30013(0x8f),'mzzZn':function(_0x1f7973,_0x415746,_0xf62fd,_0x5516de){return _0x1f7973(_0x415746,_0xf62fd,_0x5516de);}};return new Promise((_0x19b0d5,_0x27f9fb)=>{const _0x5653dc=_0xc30013,_0x36ff68={'DcWWM':_0x4f5df5[_0x5653dc(0xa0)],'LRyBj':'base64','MOkTJ':function(_0x468206,_0x3f3aea,_0x758882,_0x2af032){const _0x608d30=_0x5653dc;return _0x4f5df5[_0x608d30(0xd2)](_0x468206,_0x3f3aea,_0x758882,_0x2af032);}};this[_0x5653dc(0xb8)][_0x5653dc(0x13f)]=_0x1a50cf=>{const _0x59f481=_0x5653dc,_0x26583a=_0x1a50cf[_0x59f481(0x10a)][_0x59f481(0xff)](_0x36ff68[_0x59f481(0xed)])[0x1],_0x217daa=Buffer[_0x59f481(0xbd)](_0x26583a,_0x36ff68[_0x59f481(0x130)]);_0x36ff68['MOkTJ'](_0x332734,_0x1a50cf[_0x59f481(0x106)],_0x1a50cf[_0x59f481(0x10a)],_0x217daa);},this[_0x5653dc(0x87)]['getQRCodePicture']();});}async[_0x246138(0x111)](_0x471480,_0x5d7046,_0x4c22e4,_0xfdcab8,_0x54ee80){const _0x2883d6=_0x246138,_0xf4b036={'ldWJo':'md5','alXIl':function(_0x3e4442,_0x3df5b1){return _0x3e4442&&_0x3df5b1;},'kbXwl':function(_0x3a772c,_0x156236){return _0x3a772c||_0x156236;},'gAnQh':function(_0x58a91f,_0x463d12){return _0x58a91f||_0x463d12;},'ovqYV':function(_0x2ad0ae,_0x32aaf5){return _0x2ad0ae||_0x32aaf5;},'Slhry':function(_0x35f434,_0x48ff8d){return _0x35f434(_0x48ff8d);},'EHKSW':_0x2883d6(0x102),'WHwaw':_0x2883d6(0x122)},_0x7139f2=_0x48d290[_0x2883d6(0xc9)](_0xf4b036[_0x2883d6(0x116)])[_0x2883d6(0x97)](_0x5d7046)[_0x2883d6(0x100)](_0x2883d6(0x10e)),_0x335c06={'uin':_0x471480,'passwordMd5':_0x7139f2,'step':_0xf4b036[_0x2883d6(0xc5)](_0x4c22e4,_0xfdcab8)&&_0x54ee80?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xf4b036['kbXwl'](_0x4c22e4,''),'proofWaterRand':_0xf4b036[_0x2883d6(0xfa)](_0xfdcab8,''),'proofWaterSid':_0xf4b036['ovqYV'](_0x54ee80,'')};await this[_0x2883d6(0x87)][_0x2883d6(0x12c)](),await _0xf4b036[_0x2883d6(0x9a)](sleep,0x3e8);const _0x7ecc85=await this[_0x2883d6(0x87)][_0x2883d6(0x111)](_0x335c06);switch(_0x7ecc85['result']){case'0':{break;}case _0xf4b036[_0x2883d6(0xf1)]:{break;}case'4':case _0xf4b036[_0x2883d6(0xc7)]:default:}}async[_0x246138(0xd6)](){const _0x9179af=_0x246138,_0xd01831=await this[_0x9179af(0x87)][_0x9179af(0x12c)]();return _0xd01831;}}function _0x2ca7(_0x4a730e,_0x13f6f7){const _0x554127=_0x5541();return _0x2ca7=function(_0x2ca7a6,_0x42c388){_0x2ca7a6=_0x2ca7a6-0x83;let _0x47e22b=_0x554127[_0x2ca7a6];return _0x47e22b;},_0x2ca7(_0x4a730e,_0x13f6f7);}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x427b55=_0x4b23;function _0x538c(){const _0x29bb48=['KfdnB','isDelete','onQRCodeSessionFailed','HPczS','[KickedOffLine]\x20[','dataPathGlobal','floor','BVsAc','296680natAJw','129815PYEujq','数据库初始化失败','initDataListener','onMemberInfoChange','IvYpR','./.config/QQ','addKernelBuddyListener','-v2.db','GroupListener','nlIDD','启动失败:\x20','md5','getLoginList','onProfileDetailInfoChanged','Xshrl','ghYOb','oWNEu','addKernelMsgListener','buddyList','当前账号(','./nt_qq/global','stringify','fMhRJ','fileLog','proxyHandler','tzjtE','memberCount','addListener','loginService','pngBase64QrcodeData','onLoginFailed','find','forEach','length','fECAH','BuddyListener','pmalO','uin','onLoginSuccessFuncList','Mbcdk','NodeIQQNTWrapperEngine','NodeQQNTWrapperUtil',')\x20在线状态变更','sceneId','onLoginSuccess','onQRCodeLoginSucceed','NodeIKernelMsgListener','快速登录失败\x20','curVersion','dataPath','220705IluBrf','getGroupService','init\x20failed\x20','ProfileListener','VwCzQ','startNT','本账号数据/缓存目录:','mkdirSync','140022008','KzOTG','base64','initWithDeskTopConfig','engine','uid','addKernelGroupListener','没有可快速登录的QQ号','resolve','onLineDev','init','util','xyRLp','jeSBp','1870372YTOvjE','catch','consoleLogLevel','NodeIGlobalAdapter','VagVJ','initSession','loginListener','LocalLoginInfoList','packet_received','15992870kQZouG','CXzyD','fileLogLevel','FpmNb','packet_sent','onBuddyListChange','initSession\x20failed','mFlAy','hXcHd','split','_GW_B','errMsg','qrcodeUrl','114IBFFXh','assign','NodeIQQNTWrapperSession','yRhcp','digest','consoleLog','BLTXq','update','getNTUserDataInfoConfig','loginErrorInfo','then','initConfig','564samFhC','getQRCodePicture','constructor','onQRCodeGetPicture','syuqu','vzdcx','getNextMemberList','push','SuPnh','result','jPJEz','onSessionInitComplete','CFQNu','groupCode','mIrAL','onGroupListUpdate','addKernelLoginListener','207vSlLSt','GIHki','getBuddyService','NodeIKernelLoginListener','iHwyd','GBHVt','onRecvMsg','onRecvSysMsg','jEsxl','createMemberListScene','NodeIKernelProfileListener','782832ncaeFG','tXzjt','has','XPcmQ','tipsDesc','now','clientType','kNBbf','map','MRcZR','passwordLogin','NodeIKernelSessionListener','./NapCat/data','qHsTq','set','session','V1_WIN_NQ_','tipsTitle','账号设备(','isQuickLogin','infos','getBuddyList','devUid','get','getMsgService','undefined','NodeIKernelGroupListener','message_sent','TgxuO','登录失败','140022013','OAPDo','quickLogin','LPNNl','groupMemberList_MainWindow','NodeIDependsAdapter','4228NBjIUO','MsgListener','last_message_time','Windows\x2010\x20Pro'];_0x538c=function(){return _0x29bb48;};return _0x538c();}(function(_0x1fafc9,_0x2b1d27){const _0x1fa75a=_0x4b23,_0x5e1d28=_0x1fafc9();while(!![]){try{const _0xc86d5d=-parseInt(_0x1fa75a(0x1fd))/0x1+-parseInt(_0x1fa75a(0x1f0))/0x2*(-parseInt(_0x1fa75a(0x1b0))/0x3)+-parseInt(_0x1fa75a(0x1cc))/0x4+-parseInt(_0x1fa75a(0x22f))/0x5*(-parseInt(_0x1fa75a(0x1a4))/0x6)+parseInt(_0x1fa75a(0x18e))/0x7+parseInt(_0x1fa75a(0x1fc))/0x8*(parseInt(_0x1fa75a(0x1c1))/0x9)+-parseInt(_0x1fa75a(0x197))/0xa;if(_0xc86d5d===_0x2b1d27)break;else _0x5e1d28['push'](_0x5e1d28['shift']());}catch(_0x4968ed){_0x5e1d28['push'](_0x5e1d28['shift']());}}}(_0x538c,0x6955c));import _0x538e6c from'@/core/wrapper';function _0x4b23(_0x29b768,_0x59dc61){const _0x538cf0=_0x538c();return _0x4b23=function(_0x4b23d4,_0x4f0e7){_0x4b23d4=_0x4b23d4-0x186;let _0x7b9eaa=_0x538cf0[_0x4b23d4];return _0x7b9eaa;},_0x4b23(_0x29b768,_0x59dc61);}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x45cda8 from'node:path';import _0x1ca66 from'node:os';import _0x4d3892 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 _0x323502 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x427b55(0x1db)];[_0x427b55(0x18b)];['engine'];[_0x427b55(0x194)];[_0x427b55(0x219)];[_0x427b55(0x223)]=[];[_0x427b55(0x215)]={'get'(target,prop,receiver){const _0x514806=_0x427b55,YibxBj={'fMhRJ':function(callee,param1){return callee(param1);},'OAPDo':_0x514806(0x1e5)};if(typeof target[prop]===YibxBj[_0x514806(0x1eb)])return(...args)=>{const _0x5e24e8=_0x514806;YibxBj[_0x5e24e8(0x213)](logDebug,target[_0x5e24e8(0x1b2)]['name']+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x514806(0x1e3)](target,prop,receiver);}};constructor(){const _0xe01f42=_0x427b55,_0x5e9e0b={'GIHki':function(_0x2110ca,_0x345e94){return _0x2110ca+_0x345e94;},'sXvuG':_0xe01f42(0x210),'fZAeT':')已登录,无法重复登录','iHwyd':function(_0x356404,_0x55075c,_0x193004){return _0x356404(_0x55075c,_0x193004);},'ghYOb':function(_0x38a53e,_0x4cb6b1){return _0x38a53e(_0x4cb6b1);},'unZUF':function(_0x49dce0,_0x182c66){return _0x49dce0(_0x182c66);},'hXcHd':function(_0x4f17f0,_0x341214){return _0x4f17f0(_0x341214);},'FpmNb':_0xe01f42(0x1d8),'BLTXq':function(_0x294a50,_0x369f67,_0x79f4b2){return _0x294a50(_0x369f67,_0x79f4b2);},'mFlAy':_0xe01f42(0x235),'tzjtE':_0xe01f42(0x19d),'KzOTG':'登录失败','pmalO':function(_0x4a86f4,_0x9e0373){return _0x4a86f4==_0x9e0373;}};this[_0xe01f42(0x23b)]=new _0x538e6c[(_0xe01f42(0x225))](),this[_0xe01f42(0x18b)]=new _0x538e6c[(_0xe01f42(0x226))](),this[_0xe01f42(0x219)]=new _0x538e6c['NodeIKernelLoginService'](),this[_0xe01f42(0x1db)]=new _0x538e6c[(_0xe01f42(0x1a6))](),this['loginListener']=new LoginListener(),this[_0xe01f42(0x194)]['onUserLoggedIn']=_0x565213=>{const _0x26bc23=_0xe01f42;logError(_0x5e9e0b[_0x26bc23(0x1c2)](_0x5e9e0b['sXvuG']+_0x565213,_0x5e9e0b['fZAeT']));},this['loginListener'][_0xe01f42(0x22a)]=_0x32c7e2=>{const _0x5f4890=_0xe01f42,_0x563fe9={'mPZLz':function(_0x4bec5c,_0x1d674c,_0x17ddce){const _0x30996b=_0x4b23;return _0x5e9e0b[_0x30996b(0x1aa)](_0x4bec5c,_0x1d674c,_0x17ddce);}};this['initSession'](_0x32c7e2['uin'],_0x32c7e2[_0x5f4890(0x23c)])[_0x5f4890(0x1ae)](_0x4179a0=>{const _0x5a3ef2=_0x5f4890;selfInfo[_0x5a3ef2(0x222)]=_0x32c7e2[_0x5a3ef2(0x222)],selfInfo[_0x5a3ef2(0x23c)]=_0x32c7e2[_0x5a3ef2(0x23c)],napCatConfig['read'](),_0x5e9e0b[_0x5a3ef2(0x1c5)](setLogLevel,napCatConfig[_0x5a3ef2(0x199)],napCatConfig[_0x5a3ef2(0x190)]),_0x5e9e0b[_0x5a3ef2(0x20c)](enableFileLog,napCatConfig[_0x5a3ef2(0x214)]),_0x5e9e0b['unZUF'](enableConsoleLog,napCatConfig[_0x5a3ef2(0x1a9)]),_0x5e9e0b[_0x5a3ef2(0x19f)](setLogSelfInfo,selfInfo);const _0x398c6=_0x45cda8[_0x5a3ef2(0x188)](this['dataPath'],_0x5e9e0b[_0x5a3ef2(0x19a)]);_0x4d3892['mkdirSync'](_0x398c6,{'recursive':!![]}),_0x5e9e0b['BLTXq'](logDebug,_0x5e9e0b[_0x5a3ef2(0x19e)],_0x398c6),dbUtil[_0x5a3ef2(0x18a)](_0x45cda8[_0x5a3ef2(0x188)](_0x398c6,'./'+_0x32c7e2['uin']+_0x5a3ef2(0x204)))[_0x5a3ef2(0x1ae)](()=>{const _0xd96d2f=_0x5a3ef2,_0x10589e={'TgxuO':function(_0x491b2e,_0x1af48a,_0x3a81b5){return _0x491b2e(_0x1af48a,_0x3a81b5);},'Mbcdk':function(_0x2a43ed,_0x387880){return _0x2a43ed instanceof _0x387880;}};this['initDataListener'](),this['onLoginSuccessFuncList'][_0xd96d2f(0x1d4)](_0x6f62a2=>{const _0x19f0bb=_0xd96d2f;new Promise((_0xaf2ad6,_0x12f7ad)=>{const _0x4b78ec=_0x4b23,_0x63ab39=_0x10589e[_0x4b78ec(0x1e8)](_0x6f62a2,_0x32c7e2[_0x4b78ec(0x222)],_0x32c7e2[_0x4b78ec(0x23c)]);_0x10589e[_0x4b78ec(0x224)](_0x63ab39,Promise)&&_0x63ab39['then'](_0xaf2ad6)['catch'](_0x12f7ad);})[_0x19f0bb(0x1ae)]();});})[_0x5a3ef2(0x18f)](_0x4621de=>{const _0x3bc623=_0x5a3ef2;_0x563fe9['mPZLz'](logError,_0x3bc623(0x1fe),_0x4621de);});})[_0x5f4890(0x18f)](_0x48b5e9=>{const _0x432cbf=_0x5f4890;_0x5e9e0b[_0x432cbf(0x1c5)](logError,_0x5e9e0b[_0x432cbf(0x216)],_0x48b5e9);throw new Error(_0x432cbf(0x207)+JSON[_0x432cbf(0x212)](_0x48b5e9));});},this[_0xe01f42(0x194)][_0xe01f42(0x1f6)]=(_0x3a66d0,_0x56cac6,_0x48c19c)=>{const _0x2a3a44=_0xe01f42;_0x5e9e0b[_0x2a3a44(0x1aa)](logError,_0x5e9e0b[_0x2a3a44(0x238)],_0x48c19c),_0x5e9e0b[_0x2a3a44(0x221)](_0x3a66d0,0x1)&&_0x56cac6==0x3&&this[_0x2a3a44(0x219)][_0x2a3a44(0x1b1)]();},this[_0xe01f42(0x194)][_0xe01f42(0x21b)]=_0x1200a5=>{const _0x477ade=_0xe01f42;_0x5e9e0b[_0x477ade(0x1c5)](logError,_0x477ade(0x1e9),_0x1200a5);},this['loginListener']=new Proxy(this[_0xe01f42(0x194)],this['proxyHandler']),this[_0xe01f42(0x219)][_0xe01f42(0x1c0)](new _0x538e6c[(_0xe01f42(0x1c4))](this['loginListener'])),this[_0xe01f42(0x1af)]();}get['dataPath'](){const _0x521e20=_0x427b55;let _0x195a14=this['util'][_0x521e20(0x1ac)]();return!_0x195a14&&(_0x195a14=_0x45cda8['resolve'](_0x1ca66['homedir'](),_0x521e20(0x202)),_0x4d3892[_0x521e20(0x236)](_0x195a14,{'recursive':!![]})),_0x195a14;}get[_0x427b55(0x1f9)](){const _0x3a97bc=_0x427b55,_0x2d9fa3={'MRcZR':_0x3a97bc(0x211)};return _0x45cda8[_0x3a97bc(0x188)](this[_0x3a97bc(0x22e)],_0x2d9fa3[_0x3a97bc(0x1d5)]);}['initConfig'](){const _0x626af8=_0x427b55,_0x5d3a65={'nmgLG':_0x626af8(0x1f3)};this[_0x626af8(0x23b)][_0x626af8(0x23a)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x5d3a65['nmgLG'],'use_xlog':!![],'qua':_0x626af8(0x1dc)+qqVersionConfigInfo[_0x626af8(0x22d)]['replace']('-','_')+_0x626af8(0x1a1),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x538e6c[(_0x626af8(0x191))](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x626af8(0x22d)],'hostName':hostname});}[_0x427b55(0x193)](_0x1c79b7,_0x3af611){const _0x462226={'HPczS':function(_0x11c1c6,_0x17ac83){return _0x11c1c6===_0x17ac83;},'IvYpR':function(_0x3b2f26,_0xc46fa1){return _0x3b2f26(_0xc46fa1);},'EDKSL':function(_0x3e60dc,_0x141b93){return _0x3e60dc(_0x141b93);},'kNBbf':function(_0x126f21,_0x10ca80,_0x4a5d85,_0xd1d4b3){return _0x126f21(_0x10ca80,_0x4a5d85,_0xd1d4b3);}};return new Promise(async(_0x649eda,_0x33d6c3)=>{const _0x4f92fd=_0x4b23,_0x5a6232=await _0x462226[_0x4f92fd(0x1d3)](genSessionConfig,_0x1c79b7,_0x3af611,this['dataPath']),_0x350011=new SessionListener();_0x350011[_0x4f92fd(0x1bb)]=_0x1db4e9=>{const _0x28cc13=_0x4f92fd;if(_0x462226[_0x28cc13(0x1f7)](_0x1db4e9,0x0))return _0x462226[_0x28cc13(0x201)](_0x649eda,0x0);_0x462226['EDKSL'](_0x33d6c3,_0x1db4e9);},this[_0x4f92fd(0x1db)][_0x4f92fd(0x18a)](_0x5a6232,new _0x538e6c[(_0x4f92fd(0x1ef))](new DependsAdapter()),new _0x538e6c['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x538e6c[(_0x4f92fd(0x1d7))](_0x350011));try{this[_0x4f92fd(0x1db)][_0x4f92fd(0x234)](0x0);}catch(_0x1ac35a){try{this['session'][_0x4f92fd(0x234)]();}catch(_0x11d9fb){_0x33d6c3(_0x4f92fd(0x231)+_0x11d9fb);}}});}[_0x427b55(0x1ff)](){const _0x4faa72=_0x427b55,_0x3ac05a={'CXzyD':function(_0x34415e,_0x4e3126){return _0x34415e===_0x4e3126;},'jPJEz':function(_0x5f5a38,_0x14d6c4){return _0x5f5a38(_0x14d6c4);},'jeSBp':function(_0x2e9fa5,_0x27377f){return _0x2e9fa5+_0x27377f;},'FoksG':_0x4faa72(0x1de),'WQlkA':_0x4faa72(0x227),'yRhcp':function(_0x4c74bd,_0x602a51){return _0x4c74bd+_0x602a51;},'YEdsa':function(_0x4ad7f2,_0x43f5f5){return _0x4ad7f2+_0x43f5f5;},'oWNEu':_0x4faa72(0x1f8),'Xshrl':function(_0x2f143f,_0x13663d){return _0x2f143f/_0x13663d;},'LPNNl':_0x4faa72(0x1ee),'CFQNu':function(_0x3c9e0a,_0x2978e1,_0x1fe506){return _0x3c9e0a(_0x2978e1,_0x1fe506);}},_0x2e73d5=new MsgListener();_0x2e73d5[_0x4faa72(0x189)]=_0x16991a=>{_0x16991a['map'](_0x44c41d=>{const _0x2f4925=_0x4b23;_0x3ac05a[_0x2f4925(0x198)](_0x44c41d[_0x2f4925(0x1d2)],0x2)&&_0x3ac05a[_0x2f4925(0x1ba)](log,_0x3ac05a[_0x2f4925(0x18d)](_0x3ac05a[_0x2f4925(0x18d)](_0x3ac05a['FoksG'],_0x44c41d[_0x2f4925(0x1e2)]),_0x3ac05a['WQlkA']));});},_0x2e73d5['onKickedOffLine']=_0x1c2cc3=>{const _0x4bfc86=_0x4faa72;_0x3ac05a[_0x4bfc86(0x1ba)](log,_0x3ac05a[_0x4bfc86(0x1a7)](_0x3ac05a['YEdsa'](_0x3ac05a[_0x4bfc86(0x20d)],_0x1c2cc3[_0x4bfc86(0x1dd)]),']\x20')+_0x1c2cc3[_0x4bfc86(0x1d0)]);},_0x2e73d5['onAddSendMsg']=_0x2786e7=>{const _0xf7c7a3=_0x4faa72;stat[_0xf7c7a3(0x19b)]+=0x1,stat[_0xf7c7a3(0x1e7)]+=0x1,stat['last_message_time']=Math[_0xf7c7a3(0x1fa)](_0x3ac05a[_0xf7c7a3(0x20b)](Date[_0xf7c7a3(0x1d1)](),0x3e8));},_0x2e73d5[_0x4faa72(0x1c7)]=_0x2a3e36=>{const _0x356452=_0x4faa72;stat[_0x356452(0x196)]+=0x1,stat['message_received']+=_0x2a3e36[_0x356452(0x21e)],stat[_0x356452(0x1f2)]=Math[_0x356452(0x1fa)](_0x3ac05a[_0x356452(0x20b)](Date['now'](),0x3e8));},_0x2e73d5[_0x4faa72(0x1c8)]=(..._0x5aea9c)=>{const _0x148a9d=_0x4faa72;stat[_0x148a9d(0x196)]+=0x1;},this[_0x4faa72(0x218)](_0x2e73d5);const _0x9c7be2=new BuddyListener();_0x9c7be2[_0x4faa72(0x19c)]=_0x2c8c61=>{const _0x435c82=_0x4faa72;rawFriends[_0x435c82(0x21e)]=0x0,rawFriends['push'](..._0x2c8c61);for(const _0x1ad749 of _0x2c8c61){for(const _0xba4ac0 of _0x1ad749[_0x435c82(0x20f)]){const _0x27bf5a=friends[_0x435c82(0x1e3)](_0xba4ac0[_0x435c82(0x23c)]);_0x27bf5a?Object['assign'](_0x27bf5a,_0xba4ac0):friends[_0x435c82(0x1da)](_0xba4ac0[_0x435c82(0x23c)],_0xba4ac0);}}},this[_0x4faa72(0x218)](_0x9c7be2),this[_0x4faa72(0x1db)][_0x4faa72(0x1c3)]()[_0x4faa72(0x1e1)](!![])[_0x4faa72(0x1ae)](_0x3a29ce=>{});const _0x4fb328=new ProfileListener();_0x4fb328[_0x4faa72(0x20a)]=_0x40590f=>{const _0x206c0e=_0x4faa72;_0x40590f[_0x206c0e(0x23c)]===selfInfo['uid']&&Object[_0x206c0e(0x1a5)](selfInfo,_0x40590f);},_0x4fb328['onSelfStatusChanged']=_0x42ebe3=>{},this[_0x4faa72(0x218)](_0x4fb328);const _0x13b647=new GroupListener();_0x13b647[_0x4faa72(0x1bf)]=(_0x3f07ee,_0x340b3d)=>{const _0x117ba6=_0x4faa72,_0x4492c8={'SuPnh':_0x3ac05a[_0x117ba6(0x1ed)]};_0x340b3d[_0x117ba6(0x1d4)](_0x8bd78a=>{const _0x11abff=_0x117ba6,_0x31852f=groups[_0x11abff(0x1e3)](_0x8bd78a[_0x11abff(0x1bd)]);_0x31852f&&_0x8bd78a[_0x11abff(0x217)]===_0x31852f[_0x11abff(0x217)]?Object['assign'](_0x31852f,_0x8bd78a):groups[_0x11abff(0x1da)](_0x8bd78a[_0x11abff(0x1bd)],_0x8bd78a);const _0x3ce785=this[_0x11abff(0x1db)][_0x11abff(0x230)]()[_0x11abff(0x1ca)](_0x8bd78a[_0x11abff(0x1bd)],_0x4492c8[_0x11abff(0x1b8)]);this['session'][_0x11abff(0x230)]()[_0x11abff(0x1b6)](_0x3ce785,undefined,0xbb8)[_0x11abff(0x1ae)](_0x40334a=>{});});},_0x13b647['onMemberListChange']=_0x32f9e8=>{const _0x405ea5=_0x4faa72,_0x48e224=_0x32f9e8[_0x405ea5(0x228)]['split']('_')[0x0];if(groupMembers[_0x405ea5(0x1ce)](_0x48e224)){const _0x5cb66d=groupMembers[_0x405ea5(0x1e3)](_0x48e224);_0x32f9e8['infos'][_0x405ea5(0x21d)]((_0x60468b,_0x348620)=>{const _0x4eedb6=_0x405ea5,_0x1dd25e=_0x5cb66d[_0x4eedb6(0x1e3)](_0x348620);_0x1dd25e?Object[_0x4eedb6(0x1a5)](_0x1dd25e,_0x60468b):_0x5cb66d[_0x4eedb6(0x1da)](_0x348620,_0x60468b);});}else groupMembers[_0x405ea5(0x1da)](_0x48e224,_0x32f9e8[_0x405ea5(0x1e0)]);},_0x13b647[_0x4faa72(0x200)]=(_0x2973af,_0x1c7288,_0x1c1d8a)=>{const _0x47c690=_0x4faa72;_0x3ac05a[_0x47c690(0x198)](_0x1c7288,0x0)&&_0x1c1d8a[_0x47c690(0x1e3)](selfInfo[_0x47c690(0x23c)])&&_0x1c1d8a['get'](selfInfo[_0x47c690(0x23c)])?.[_0x47c690(0x1f5)]&&_0x3ac05a[_0x47c690(0x1bc)](setTimeout,()=>{groups['delete'](_0x2973af);},0x1388);const _0x2373fe=groupMembers[_0x47c690(0x1e3)](_0x2973af);_0x2373fe?_0x1c1d8a[_0x47c690(0x21d)]((_0x2cf75a,_0x2172c5)=>{const _0x1b27f9=_0x47c690,_0x515e68=_0x2373fe[_0x1b27f9(0x1e3)](_0x2172c5);_0x515e68?Object[_0x1b27f9(0x1a5)](_0x515e68,_0x2cf75a):_0x2373fe[_0x1b27f9(0x1da)](_0x2172c5,_0x2cf75a);}):groupMembers['set'](_0x2973af,_0x1c1d8a);},this['addListener'](_0x13b647);}[_0x427b55(0x218)](_0x406851){const _0x391235=_0x427b55,_0x45ef34={'syuqu':_0x391235(0x205),'xyRLp':_0x391235(0x1f1),'nlIDD':_0x391235(0x232)};_0x406851=new Proxy(_0x406851,this[_0x391235(0x215)]);switch(_0x406851['constructor']['name']){case _0x391235(0x220):{return this[_0x391235(0x1db)][_0x391235(0x1c3)]()[_0x391235(0x203)](new _0x538e6c['NodeIKernelBuddyListener'](_0x406851));}case _0x45ef34[_0x391235(0x1b4)]:{return this[_0x391235(0x1db)][_0x391235(0x230)]()[_0x391235(0x186)](new _0x538e6c[(_0x391235(0x1e6))](_0x406851));}case _0x45ef34[_0x391235(0x18c)]:{return this['session'][_0x391235(0x1e4)]()[_0x391235(0x20e)](new _0x538e6c[(_0x391235(0x22b))](_0x406851));}case _0x45ef34[_0x391235(0x206)]:{return this['session']['getProfileService']()['addKernelProfileListener'](new _0x538e6c[(_0x391235(0x1cb))](_0x406851));}default:return-0x1;}}[_0x427b55(0x229)](_0x43e920){const _0x195025=_0x427b55;NTEventDispatch[_0x195025(0x18a)]({'ListenerMap':_0x538e6c,'WrapperSession':this[_0x195025(0x1db)]}),this[_0x195025(0x223)][_0x195025(0x1b7)](_0x43e920);}async[_0x427b55(0x1ec)](_0x182049){const _0x126fea=_0x427b55,_0x4c9bcf={'GBHVt':function(_0xa4ae8a,_0x53fb70){return _0xa4ae8a!==_0x53fb70;},'KfdnB':_0x126fea(0x187),'vzdcx':function(_0x745c49,_0x5c3259){return _0x745c49(_0x5c3259);},'BVsAc':_0x126fea(0x22c)},_0x1f946f=await this[_0x126fea(0x219)][_0x126fea(0x209)]();if(_0x4c9bcf[_0x126fea(0x1c6)](_0x1f946f[_0x126fea(0x1b9)],0x0))throw new Error(_0x4c9bcf[_0x126fea(0x1f4)]);const _0x496b74=_0x1f946f[_0x126fea(0x195)][_0x126fea(0x21c)](_0x400ea2=>_0x400ea2['uin']===_0x182049);if(!_0x496b74||!_0x496b74?.[_0x126fea(0x1df)])throw new Error(_0x182049+'快速登录不可用');await _0x4c9bcf[_0x126fea(0x1b5)](sleep,0x3e8);const _0x12ae4d=await this[_0x126fea(0x219)]['quickLoginWithUin'](_0x182049);if(!_0x12ae4d[_0x126fea(0x1b9)])throw new Error(_0x4c9bcf[_0x126fea(0x1fb)]+_0x12ae4d[_0x126fea(0x1ad)][_0x126fea(0x1a2)]);return _0x12ae4d;}async['qrLogin'](_0x433518){const _0x1f2f8e={'tXzjt':function(_0x51e0d5,_0x3e25bd,_0xf2f742,_0x513c48){return _0x51e0d5(_0x3e25bd,_0xf2f742,_0x513c48);}};return new Promise((_0x122e35,_0x3b9866)=>{const _0x292b31=_0x4b23,_0x4974b7={'jEsxl':_0x292b31(0x239),'VagVJ':function(_0x236854,_0x505c08,_0x2c6398,_0x49d66a){const _0x2057ba=_0x292b31;return _0x1f2f8e[_0x2057ba(0x1cd)](_0x236854,_0x505c08,_0x2c6398,_0x49d66a);}};this[_0x292b31(0x194)][_0x292b31(0x1b3)]=_0x20c87b=>{const _0x4667a8=_0x292b31,_0x867c3=_0x20c87b[_0x4667a8(0x21a)][_0x4667a8(0x1a0)]('data:image/png;base64,')[0x1],_0x198190=Buffer['from'](_0x867c3,_0x4974b7[_0x4667a8(0x1c9)]);_0x4974b7[_0x4667a8(0x192)](_0x433518,_0x20c87b[_0x4667a8(0x1a3)],_0x20c87b['pngBase64QrcodeData'],_0x198190);},this[_0x292b31(0x219)][_0x292b31(0x1b1)]();});}async[_0x427b55(0x1d6)](_0x2bc3be,_0x11331a,_0x13de44,_0x89ec92,_0xa280c3){const _0x435e15=_0x427b55,_0x530ba9={'RYcWu':_0x435e15(0x208),'XPcmQ':'hex','qHsTq':function(_0x40d4b9,_0x1ea98c){return _0x40d4b9&&_0x1ea98c;},'mIrAL':function(_0x5b350a,_0x4aced5){return _0x5b350a||_0x4aced5;},'fECAH':function(_0x3b1407,_0x661520){return _0x3b1407(_0x661520);},'VwCzQ':_0x435e15(0x1ea)},_0x5a9894=_0x323502['createHash'](_0x530ba9['RYcWu'])[_0x435e15(0x1ab)](_0x11331a)[_0x435e15(0x1a8)](_0x530ba9[_0x435e15(0x1cf)]),_0x1fa02c={'uin':_0x2bc3be,'passwordMd5':_0x5a9894,'step':_0x530ba9[_0x435e15(0x1d9)](_0x13de44,_0x89ec92)&&_0xa280c3?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x530ba9[_0x435e15(0x1be)](_0x13de44,''),'proofWaterRand':_0x89ec92||'','proofWaterSid':_0x530ba9[_0x435e15(0x1be)](_0xa280c3,'')};await this[_0x435e15(0x219)]['getLoginList'](),await _0x530ba9[_0x435e15(0x21f)](sleep,0x3e8);const _0x2d2701=await this['loginService'][_0x435e15(0x1d6)](_0x1fa02c);switch(_0x2d2701[_0x435e15(0x1b9)]){case'0':{break;}case _0x435e15(0x237):{break;}case'4':case _0x530ba9[_0x435e15(0x233)]:default:}}async['getQuickLoginList'](){const _0x2d3651=_0x427b55,_0x4f1ff2=await this['loginService'][_0x2d3651(0x209)]();return _0x4f1ff2;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index f2e20ede..34df0080 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x16f57b,_0x3cafb4){const _0x278f8d=_0xd320,_0x4c1a6c=_0x16f57b();while(!![]){try{const _0x48f895=-parseInt(_0x278f8d(0x170))/0x1+-parseInt(_0x278f8d(0x174))/0x2+parseInt(_0x278f8d(0x171))/0x3*(parseInt(_0x278f8d(0x162))/0x4)+parseInt(_0x278f8d(0x16a))/0x5+-parseInt(_0x278f8d(0x175))/0x6*(parseInt(_0x278f8d(0x165))/0x7)+parseInt(_0x278f8d(0x16b))/0x8+-parseInt(_0x278f8d(0x16f))/0x9;if(_0x48f895===_0x3cafb4)break;else _0x4c1a6c['push'](_0x4c1a6c['shift']());}catch(_0x3df3c4){_0x4c1a6c['push'](_0x4c1a6c['shift']());}}}(_0x907f,0xc4d9b));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':!![]};function _0xd320(_0x3cd7fb,_0x4aeb06){const _0x907f17=_0x907f();return _0xd320=function(_0xd320f3,_0x21794b){_0xd320f3=_0xd320f3-0x162;let _0x1221d7=_0x907f17[_0xd320f3];return _0x1221d7;},_0xd320(_0x3cd7fb,_0x4aeb06);}function _0x907f(){const _0x12470a=['find','delete','7031885xEsfbr','10383696SZQzIb','getGroups','uin','set','2685267sOGijp','383595RXABSW','390gmJxhp','toString','aFKgg','1055572vffBbc','8498556QxQrEc','22404BksBJm','forEach','get','7CbIppj','values','YcFri'];_0x907f=function(){return _0x12470a;};return _0x907f();}export const groups=new Map();export function deleteGroup(_0x5010a8){const _0x5f0a42=_0xd320;groups[_0x5f0a42(0x169)](_0x5010a8),groupMembers[_0x5f0a42(0x169)](_0x5010a8);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x1372a8){const _0x1770d5=_0xd320,_0x637f9c={'YcFri':function(_0x46d318,_0x4e8b6d){return _0x46d318(_0x4e8b6d);}};_0x1372a8=_0x1372a8[_0x1770d5(0x172)]();if(_0x637f9c[_0x1770d5(0x167)](isNumeric,_0x1372a8)){const _0x5b7407=Array['from'](friends[_0x1770d5(0x166)]());return _0x5b7407[_0x1770d5(0x168)](_0x5733c2=>_0x5733c2[_0x1770d5(0x16d)]===_0x1372a8);}else return friends[_0x1770d5(0x164)](_0x1372a8);}export async function getGroup(_0x586166){const _0x902284=_0xd320;let _0x31eca6=groups['get'](_0x586166[_0x902284(0x172)]());if(!_0x31eca6)try{const _0x405904=await NTQQGroupApi[_0x902284(0x16c)]();_0x405904['length']&&_0x405904[_0x902284(0x163)](_0x5b63a3=>{const _0x4405e2=_0x902284;groups[_0x4405e2(0x16e)](_0x5b63a3['groupCode'],_0x5b63a3);});}catch(_0x37b631){return undefined;}return _0x31eca6=groups[_0x902284(0x164)](_0x586166['toString']()),_0x31eca6;}export async function getGroupMember(_0x1f4ca8,_0x31e3b7){const _0x9a2c7e=_0xd320,_0x31f531={'aFKgg':function(_0x158595){return _0x158595();}};_0x1f4ca8=_0x1f4ca8['toString'](),_0x31e3b7=_0x31e3b7[_0x9a2c7e(0x172)]();let _0xcaa628=groupMembers['get'](_0x1f4ca8);if(!_0xcaa628)try{_0xcaa628=await NTQQGroupApi['getGroupMembers'](_0x1f4ca8),groupMembers[_0x9a2c7e(0x16e)](_0x1f4ca8,_0xcaa628);}catch(_0x1d75e0){return null;}const _0x2c27a2=()=>{const _0x2648d6=_0x9a2c7e;let _0x1e7b9f=undefined;return isNumeric(_0x31e3b7)?_0x1e7b9f=Array['from'](_0xcaa628[_0x2648d6(0x166)]())[_0x2648d6(0x168)](_0x1146d2=>_0x1146d2[_0x2648d6(0x16d)]===_0x31e3b7):_0x1e7b9f=_0xcaa628[_0x2648d6(0x164)](_0x31e3b7),_0x1e7b9f;};let _0x368367=_0x31f531[_0x9a2c7e(0x173)](_0x2c27a2);return!_0x368367&&(_0xcaa628=await NTQQGroupApi['getGroupMembers'](_0x1f4ca8),_0x368367=_0x31f531[_0x9a2c7e(0x173)](_0x2c27a2)),_0x368367;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x555a4a,_0x33809a){const _0x23dc30=_0x2da6,_0x4d410e=_0x555a4a();while(!![]){try{const _0x22368a=-parseInt(_0x23dc30(0x74))/0x1+parseInt(_0x23dc30(0x76))/0x2*(parseInt(_0x23dc30(0x7f))/0x3)+-parseInt(_0x23dc30(0x6f))/0x4*(-parseInt(_0x23dc30(0x6e))/0x5)+-parseInt(_0x23dc30(0x7c))/0x6*(parseInt(_0x23dc30(0x7d))/0x7)+-parseInt(_0x23dc30(0x70))/0x8+-parseInt(_0x23dc30(0x78))/0x9+parseInt(_0x23dc30(0x77))/0xa*(parseInt(_0x23dc30(0x7b))/0xb);if(_0x22368a===_0x33809a)break;else _0x4d410e['push'](_0x4d410e['shift']());}catch(_0x486757){_0x4d410e['push'](_0x4d410e['shift']());}}}(_0x2fdd,0x68ca3));function _0x2da6(_0x1ad1ea,_0x4ae645){const _0x2fdd08=_0x2fdd();return _0x2da6=function(_0x2da689,_0x3e693b){_0x2da689=_0x2da689-0x6c;let _0x242802=_0x2fdd08[_0x2da689];return _0x242802;},_0x2da6(_0x1ad1ea,_0x4ae645);}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(_0x2d56eb){const _0x3ac5f9=_0x2da6;groups[_0x3ac5f9(0x7e)](_0x2d56eb),groupMembers['delete'](_0x2d56eb);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x4a693e){const _0xf4980c=_0x2da6;_0x4a693e=_0x4a693e[_0xf4980c(0x73)]();if(isNumeric(_0x4a693e)){const _0xdda956=Array[_0xf4980c(0x79)](friends[_0xf4980c(0x80)]());return _0xdda956['find'](_0x2e7920=>_0x2e7920[_0xf4980c(0x6d)]===_0x4a693e);}else return friends['get'](_0x4a693e);}function _0x2fdd(){const _0x26b8f1=['13252jXfeoC','1381328btMkWx','get','YJFiY','toString','408452DHUMUQ','forEach','2728fOSJPk','30PpQdQC','6805899LskMXF','from','getGroupMembers','5666606CSfERR','33084wpUFQr','462IhQyWY','delete','48PRKBMt','values','find','uin','850LCicVP'];_0x2fdd=function(){return _0x26b8f1;};return _0x2fdd();}export async function getGroup(_0x82c25e){const _0x22895b=_0x2da6;let _0xbbf060=groups[_0x22895b(0x71)](_0x82c25e['toString']());if(!_0xbbf060)try{const _0x121d19=await NTQQGroupApi['getGroups']();_0x121d19['length']&&_0x121d19[_0x22895b(0x75)](_0x4765fc=>{groups['set'](_0x4765fc['groupCode'],_0x4765fc);});}catch(_0x4ede98){return undefined;}return _0xbbf060=groups[_0x22895b(0x71)](_0x82c25e[_0x22895b(0x73)]()),_0xbbf060;}export async function getGroupMember(_0x158a45,_0x28fc4d){const _0x5a5376=_0x2da6,_0x47eca1={'YJFiY':function(_0x33d8c5){return _0x33d8c5();}};_0x158a45=_0x158a45['toString'](),_0x28fc4d=_0x28fc4d[_0x5a5376(0x73)]();let _0x1135fa=groupMembers[_0x5a5376(0x71)](_0x158a45);if(!_0x1135fa)try{_0x1135fa=await NTQQGroupApi[_0x5a5376(0x7a)](_0x158a45),groupMembers['set'](_0x158a45,_0x1135fa);}catch(_0xaae308){return null;}const _0x1829d9=()=>{const _0x50a903=_0x5a5376;let _0x7a30e9=undefined;return isNumeric(_0x28fc4d)?_0x7a30e9=Array['from'](_0x1135fa['values']())[_0x50a903(0x6c)](_0x38a2f3=>_0x38a2f3[_0x50a903(0x6d)]===_0x28fc4d):_0x7a30e9=_0x1135fa[_0x50a903(0x71)](_0x28fc4d),_0x7a30e9;};let _0xee124f=_0x1829d9();return!_0xee124f&&(_0x1135fa=await NTQQGroupApi[_0x5a5376(0x7a)](_0x158a45),_0xee124f=_0x47eca1[_0x5a5376(0x72)](_0x1829d9)),_0xee124f;}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 c440df6f..b6e88f6c 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x546327,_0x27d0c){var _0x1c0e93=_0x5ee7,_0x454a1c=_0x546327();while(!![]){try{var _0x5e04eb=parseInt(_0x1c0e93(0xfb))/0x1+-parseInt(_0x1c0e93(0xfe))/0x2+parseInt(_0x1c0e93(0x101))/0x3+parseInt(_0x1c0e93(0xfa))/0x4*(parseInt(_0x1c0e93(0xff))/0x5)+-parseInt(_0x1c0e93(0x102))/0x6+-parseInt(_0x1c0e93(0xf9))/0x7+-parseInt(_0x1c0e93(0xf8))/0x8;if(_0x5e04eb===_0x27d0c)break;else _0x454a1c['push'](_0x454a1c['shift']());}catch(_0x2e7ca5){_0x454a1c['push'](_0x454a1c['shift']());}}}(_0xc626,0xddeba));function _0x5ee7(_0x2702ba,_0x41ff0b){var _0xc626ea=_0xc626();return _0x5ee7=function(_0x5ee746,_0x399b26){_0x5ee746=_0x5ee746-0xf3;var _0x455ce5=_0xc626ea[_0x5ee746];return _0x455ce5;},_0x5ee7(_0x2702ba,_0x41ff0b);};export var CacheFileType;(function(_0x2fe4ad){var _0x55fa31=_0x5ee7,_0xafaac0={'jOjiX':'IMAGE','VLiGR':_0x55fa31(0xf4),'NtzNC':_0x55fa31(0xf6)},_0x11ebc7=_0x55fa31(0x100)[_0x55fa31(0xf3)]('|'),_0x119fad=0x0;while(!![]){switch(_0x11ebc7[_0x119fad++]){case'0':_0x2fe4ad[_0x2fe4ad[_0x55fa31(0xf7)]=0x3]='DOCUMENT';continue;case'1':_0x2fe4ad[_0x2fe4ad[_0xafaac0[_0x55fa31(0xfc)]]=0x0]=_0xafaac0[_0x55fa31(0xfc)];continue;case'2':_0x2fe4ad[_0x2fe4ad[_0xafaac0['VLiGR']]=0x1]=_0x55fa31(0xf4);continue;case'3':_0x2fe4ad[_0x2fe4ad[_0xafaac0[_0x55fa31(0xfd)]]=0x4]=_0xafaac0[_0x55fa31(0xfd)];continue;case'4':_0x2fe4ad[_0x2fe4ad[_0x55fa31(0xf5)]=0x2]='AUDIO';continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xc626(){var _0x2fc20d=['1|2|4|0|3','4687839Zvdxke','2813046GntXlr','split','VIDEO','AUDIO','OTHER','DOCUMENT','3143000zEohsz','3903347VKHOQf','2292afliKf','1814311solTcP','jOjiX','NtzNC','2270248XLAZEF','755IlqiEl'];_0xc626=function(){return _0x2fc20d;};return _0xc626();} \ No newline at end of file +function _0x96c2(){var _0x3e36e8=['192WPekjH','DOCUMENT','plrXj','669924TWbxYk','GIMdC','817798akGxBG','IMAGE','7900480YTGTxr','26463IWXaxS','4198292gthBQD','LyQvw','IWkMr','2591070doYGQt','VIDEO','25372494maBjDn','12EJcHGf'];_0x96c2=function(){return _0x3e36e8;};return _0x96c2();}(function(_0x2b19a9,_0xc7ed21){var _0x11789b=_0x23a1,_0x245319=_0x2b19a9();while(!![]){try{var _0x2ae602=-parseInt(_0x11789b(0xe6))/0x1+-parseInt(_0x11789b(0xe8))/0x2+parseInt(_0x11789b(0xeb))/0x3*(-parseInt(_0x11789b(0xe3))/0x4)+parseInt(_0x11789b(0xef))/0x5*(-parseInt(_0x11789b(0xe2))/0x6)+-parseInt(_0x11789b(0xec))/0x7+parseInt(_0x11789b(0xea))/0x8+parseInt(_0x11789b(0xe1))/0x9;if(_0x2ae602===_0xc7ed21)break;else _0x245319['push'](_0x245319['shift']());}catch(_0x1c6854){_0x245319['push'](_0x245319['shift']());}}}(_0x96c2,0xa3297));;function _0x23a1(_0x272bb,_0x1400e1){var _0x96c21a=_0x96c2();return _0x23a1=function(_0x23a12e,_0xd6e518){_0x23a12e=_0x23a12e-0xe0;var _0x517de0=_0x96c21a[_0x23a12e];return _0x517de0;},_0x23a1(_0x272bb,_0x1400e1);}export var CacheFileType;(function(_0x2e9be1){var _0x5b43fb=_0x23a1,_0x158ae1={'IWkMr':_0x5b43fb(0xe9),'GIMdC':_0x5b43fb(0xe0),'LyQvw':'AUDIO','kmTVl':_0x5b43fb(0xe4),'plrXj':'OTHER'};_0x2e9be1[_0x2e9be1[_0x158ae1[_0x5b43fb(0xee)]]=0x0]=_0x158ae1[_0x5b43fb(0xee)],_0x2e9be1[_0x2e9be1[_0x158ae1[_0x5b43fb(0xe7)]]=0x1]='VIDEO',_0x2e9be1[_0x2e9be1[_0x158ae1['LyQvw']]=0x2]=_0x158ae1[_0x5b43fb(0xed)],_0x2e9be1[_0x2e9be1[_0x158ae1['kmTVl']]=0x3]=_0x5b43fb(0xe4),_0x2e9be1[_0x2e9be1[_0x158ae1['plrXj']]=0x4]=_0x158ae1[_0x5b43fb(0xe5)];}(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 8715affc..01c07475 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x5d8d63=_0x4f61;(function(_0x14eebb,_0x5105a8){const _0x49c520=_0x4f61,_0xcc655=_0x14eebb();while(!![]){try{const _0xa56118=-parseInt(_0x49c520(0x87))/0x1*(parseInt(_0x49c520(0x8a))/0x2)+-parseInt(_0x49c520(0x96))/0x3*(parseInt(_0x49c520(0x8e))/0x4)+parseInt(_0x49c520(0xb5))/0x5*(parseInt(_0x49c520(0x82))/0x6)+parseInt(_0x49c520(0x8c))/0x7*(-parseInt(_0x49c520(0x73))/0x8)+parseInt(_0x49c520(0xae))/0x9*(parseInt(_0x49c520(0xc6))/0xa)+parseInt(_0x49c520(0x95))/0xb*(parseInt(_0x49c520(0x81))/0xc)+parseInt(_0x49c520(0x89))/0xd;if(_0xa56118===_0x5105a8)break;else _0xcc655['push'](_0xcc655['shift']());}catch(_0x2fa5d9){_0xcc655['push'](_0xcc655['shift']());}}}(_0xe651,0x55987));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x4467ce}from'node:fs';function _0xe651(){const _0x22b986=['notAt','uploadFile','DNWSU','ZOzEA','edLdz','https://www.bilibili.com/','oXdzv','end','48XUtQnz','46890dOVNXZ','join','KEPWI','HWIre','video','79QadlNF','QDes','14663675TVWkYB','17036BCdHqU','then','3968251cUTyXI','get','4BGjuwq','stringify','BqsQO','ptt','EqRNm','mEKnd','XVhsp','1573396DRJUfE','1343214xpgslI','copyFile','jpg','REPLY','fWcVF','_0.png','fOgTe','reply','getImageSize','eeWSE','GEkVy','screenshots','width','replace','MSkrN','ARK','AniStickerPackId','find','zPHdN','MFACE','WwVRC','获取视频封面失败,使用默认封面','LBgqG','toString','18bLrbrb','AMNpY','WoorC','OQbsl','mp4','height','time','185cTiutG','MARKDOWN','RPS','[包剪锤]','miniapp','VKjhf','PTT','FACE','PIC','unlink','zXODt','AniStickerId','TEXT','pic','catch','writeFile','dice','244390IbgaQF','获取视频信息失败','DnWsQ','[商城表情]','gif','stat','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','Kjboh','Thumb','VIDEO','[骰子]','ark','error','emoji','AniStickerType','sep','size','BoKNf','FILE','8CkffMB','pyGyE','fPgDZ','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','语音转换失败,\x20请检查语音文件是否正常','NMVXs'];_0xe651=function(){return _0x22b986;};return _0xe651();}import _0x4bf459 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x3894ed from'./face_config.json';import*as _0x5b6c6e from'node:path';function _0x4f61(_0x44cefa,_0x1df44d){const _0xe651df=_0xe651();return _0x4f61=function(_0x4f6142,_0x32c554){_0x4f6142=_0x4f6142-0x69;let _0x3b2451=_0xe651df[_0x4f6142];return _0x3b2451;},_0x4f61(_0x44cefa,_0x1df44d);}import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x229230){const _0x239be6=_0x4f61;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x229230,'atType':AtType[_0x239be6(0x79)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x58de53,_0x1a70c9,_0x3dc342,_0x21ec63){const _0x246776=_0x4f61;return{'elementType':ElementType[_0x246776(0xc1)],'elementId':'','textElement':{'content':'@'+_0x21ec63,'atType':_0x3dc342,'atUid':_0x58de53,'atTinyId':'','atNtUid':_0x1a70c9}};}static[_0x5d8d63(0x9d)](_0x4db0e4,_0x4193dd,_0x1fb576,_0x219a92){const _0x465857=_0x5d8d63;return{'elementType':ElementType[_0x465857(0x99)],'elementId':'','replyElement':{'replayMsgSeq':_0x4db0e4,'replayMsgId':_0x4193dd,'senderUin':_0x1fb576,'senderUinStr':_0x219a92}};}static async[_0x5d8d63(0xc2)](_0x35a756,_0x45b722='',_0x342eb8=0x0){const _0x1ed5a3=_0x5d8d63,_0x398fe5={'ZOzEA':function(_0x431f06,_0x5a9720){return _0x431f06===_0x5a9720;},'YUWSv':'文件异常,大小为0'},{md5:_0x425de9,fileName:_0x5c7122,path:_0x2516b6,fileSize:_0x584300}=await NTQQFileApi[_0x1ed5a3(0x7a)](_0x35a756,ElementType['PIC'],_0x342eb8);if(_0x398fe5[_0x1ed5a3(0x7c)](_0x584300,0x0))throw _0x398fe5['YUWSv'];const _0x599cb9=await NTQQFileApi[_0x1ed5a3(0x9e)](_0x35a756),_0x40f0ae={'md5HexStr':_0x425de9,'fileSize':_0x584300['toString'](),'picWidth':_0x599cb9?.[_0x1ed5a3(0xa2)],'picHeight':_0x599cb9?.['height'],'fileName':_0x5c7122,'sourcePath':_0x2516b6,'original':!![],'picType':isGIF(_0x35a756)?PicType[_0x1ed5a3(0xca)]:PicType[_0x1ed5a3(0x98)],'picSubType':_0x342eb8,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x45b722};return{'elementType':ElementType[_0x1ed5a3(0xbd)],'elementId':'','picElement':_0x40f0ae};}static async['file'](_0x2181c0,_0x15ff4c='',_0x8b5cdd=''){const _0x22dbe1=_0x5d8d63,_0x50e152={'DnWsQ':function(_0x22631d,_0x5e64d9){return _0x22631d===_0x5e64d9;},'NMVXs':function(_0x52f552,_0x3e4e13){return _0x52f552||_0x3e4e13;}},{md5:_0x178d2a,fileName:_0x3a0b7d,path:_0x35c2c0,fileSize:_0x46654c}=await NTQQFileApi[_0x22dbe1(0x7a)](_0x2181c0,ElementType['FILE']);if(_0x50e152[_0x22dbe1(0xc8)](_0x46654c,0x0))throw'文件异常,大小为0';const _0x3fa43c={'elementType':ElementType[_0x22dbe1(0x72)],'elementId':'','fileElement':{'fileName':_0x50e152[_0x22dbe1(0x78)](_0x15ff4c,_0x3a0b7d),'folderId':_0x8b5cdd,'filePath':_0x35c2c0,'fileSize':_0x46654c['toString']()}};return _0x3fa43c;}static async[_0x5d8d63(0x86)](_0x417e3b,_0x4d5e30='',_0x59be62=''){const _0x4b530d=_0x5d8d63,_0x35e902={'BqsQO':function(_0x16da7d,_0x5cc53b){return _0x16da7d(_0x5cc53b);},'WoorC':function(_0x3b9bb3,_0x113d36){return _0x3b9bb3(_0x113d36);},'QxmEg':function(_0x204628,_0x4d64a2){return _0x204628(_0x4d64a2);},'jhyJp':_0x4b530d(0x80),'fPgDZ':_0x4b530d(0x6c),'eeWSE':function(_0x44f3e1,_0x18a195){return _0x44f3e1+_0x18a195;},'HWIre':function(_0xadc118,_0x595e9c){return _0xadc118===_0x595e9c;},'OQbsl':'文件异常,大小为0','AMNpY':_0x4b530d(0xb2),'fOgTe':function(_0x18d9fa,_0x411aa6,_0x5be1ce){return _0x18d9fa(_0x411aa6,_0x5be1ce);},'oXdzv':_0x4b530d(0xc7),'pyGyE':function(_0x105ab4,_0x179167){return _0x105ab4||_0x179167;}},{fileName:_0x9c9f4a,path:_0x578440,fileSize:_0x74c41e,md5:_0x50a228}=await NTQQFileApi[_0x4b530d(0x7a)](_0x417e3b,ElementType[_0x4b530d(0x69)]);if(_0x35e902[_0x4b530d(0x85)](_0x74c41e,0x0))throw _0x35e902[_0x4b530d(0xb1)];let _0x41cad2=_0x578440[_0x4b530d(0xa3)](_0x5b6c6e[_0x4b530d(0x6f)]+'Ori'+_0x5b6c6e['sep'],_0x5b6c6e[_0x4b530d(0x6f)]+_0x4b530d(0xce)+_0x5b6c6e[_0x4b530d(0x6f)]);_0x41cad2=_0x5b6c6e['dirname'](_0x41cad2);let _0x2a3171={'width':0x780,'height':0x438,'time':0xf,'format':_0x35e902[_0x4b530d(0xaf)],'size':_0x74c41e,'filePath':_0x417e3b};try{_0x2a3171=await _0x35e902['QxmEg'](getVideoInfo,_0x578440);}catch(_0x468a67){_0x35e902[_0x4b530d(0x9c)](logError,_0x35e902[_0x4b530d(0x7f)],_0x468a67);}const _0x8a4fb7=new Promise((_0x37f754,_0x34273f)=>{const _0x3a57fb=_0x4b530d,_0x23c192={'zPHdN':function(_0x45a3fd,_0x1c0aa2){const _0x11c055=_0x4f61;return _0x35e902[_0x11c055(0x90)](_0x45a3fd,_0x1c0aa2);},'MSkrN':function(_0x5eea2c,_0x5e8981,_0x237cbe){return _0x5eea2c(_0x5e8981,_0x237cbe);},'VKjhf':_0x3a57fb(0xab),'sZWWX':function(_0x4710ca,_0x13c022){const _0x3911e1=_0x3a57fb;return _0x35e902[_0x3911e1(0xb0)](_0x4710ca,_0x13c022);}},_0x43a809=_0x50a228+_0x3a57fb(0x9b),_0x111a2d=_0x5b6c6e[_0x3a57fb(0x83)](_0x41cad2,_0x43a809);_0x35e902['QxmEg'](_0x4bf459,_0x417e3b)['on'](_0x35e902['jhyJp'],()=>{})['on'](_0x35e902[_0x3a57fb(0x75)],_0x22d6b8=>{const _0x3bf066=_0x3a57fb,_0x4ec8f8={'zXODt':function(_0x5e990e,_0x499218){const _0x19e79a=_0x4f61;return _0x23c192[_0x19e79a(0xa8)](_0x5e990e,_0x499218);}};_0x23c192[_0x3bf066(0xa4)](logDebug,_0x23c192[_0x3bf066(0xba)],_0x22d6b8),_0x59be62?_0x4467ce[_0x3bf066(0x97)](_0x59be62,_0x111a2d)[_0x3bf066(0x8b)](()=>{const _0x158826=_0x3bf066;_0x4ec8f8[_0x158826(0xbf)](_0x37f754,_0x111a2d);})[_0x3bf066(0xc3)](_0x34273f):_0x4467ce[_0x3bf066(0xc4)](_0x111a2d,defaultVideoThumb)[_0x3bf066(0x8b)](()=>{_0x23c192['zPHdN'](_0x37f754,_0x111a2d);})[_0x3bf066(0xc3)](_0x34273f);})[_0x3a57fb(0xa1)]({'timestamps':[0x0],'filename':_0x43a809,'folder':_0x41cad2,'size':_0x35e902[_0x3a57fb(0x9f)](_0x2a3171[_0x3a57fb(0xa2)],'x')+_0x2a3171['height']})['on']('end',()=>{_0x23c192['sZWWX'](_0x37f754,_0x111a2d);});}),_0x1c3c73=new Map(),_0x2cd679=await _0x8a4fb7,_0x29da6d=(await _0x4467ce[_0x4b530d(0xcb)](_0x2cd679))[_0x4b530d(0x70)];_0x1c3c73['set'](0x0,_0x2cd679);const _0xbd7751=await calculateFileMD5(_0x2cd679),_0x59f455={'elementType':ElementType[_0x4b530d(0x69)],'elementId':'','videoElement':{'fileName':_0x35e902[_0x4b530d(0x74)](_0x4d5e30,_0x9c9f4a),'filePath':_0x578440,'videoMd5':_0x50a228,'thumbMd5':_0xbd7751,'fileTime':_0x2a3171[_0x4b530d(0xb4)],'thumbPath':_0x1c3c73,'thumbSize':_0x29da6d,'thumbWidth':_0x2a3171[_0x4b530d(0xa2)],'thumbHeight':_0x2a3171[_0x4b530d(0xb3)],'fileSize':''+_0x74c41e}};return _0x59f455;}static async[_0x5d8d63(0x91)](_0x5363ba){const _0x1405f8=_0x5d8d63,_0x28f9fa={'BoKNf':_0x1405f8(0x77),'Kjboh':function(_0x278870,_0x4cd7c3){return _0x278870===_0x4cd7c3;},'WwVRC':'文件异常,大小为0','KEPWI':function(_0x4eaeef,_0x5402cf){return _0x4eaeef||_0x5402cf;}},{converted:_0x4d456e,path:_0xafa79a,duration:_0x54b5c7}=await encodeSilk(_0x5363ba);if(!_0xafa79a)throw _0x28f9fa[_0x1405f8(0x71)];const {md5:_0x3f5e61,fileName:_0xe1353a,path:_0x4f4df6,fileSize:_0x597b4f}=await NTQQFileApi[_0x1405f8(0x7a)](_0xafa79a,ElementType['PTT']);if(_0x28f9fa[_0x1405f8(0xcd)](_0x597b4f,0x0))throw _0x28f9fa[_0x1405f8(0xaa)];return _0x4d456e&&_0x4467ce[_0x1405f8(0xbe)](_0xafa79a)[_0x1405f8(0x8b)](),{'elementType':ElementType[_0x1405f8(0xbb)],'elementId':'','pttElement':{'fileName':_0xe1353a,'filePath':_0x4f4df6,'md5HexStr':_0x3f5e61,'fileSize':_0x597b4f,'duration':_0x28f9fa[_0x1405f8(0x84)](_0x54b5c7,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static['face'](_0x366877){const _0x57fd2a=_0x5d8d63,_0x3e02a9={'LBgqG':function(_0x39352a,_0x41f949){return _0x39352a(_0x41f949);},'XVhsp':function(_0x1964a8,_0x3ad0e0){return _0x1964a8>=_0x3ad0e0;}},_0x3dd023=_0x3894ed['sysface'],_0x5cff87=_0x3894ed[_0x57fd2a(0x6d)],_0x25edce=_0x3dd023[_0x57fd2a(0xa7)](_0x5e5284=>_0x5e5284['QSid']===_0x366877[_0x57fd2a(0xad)]());_0x366877=_0x3e02a9[_0x57fd2a(0xac)](parseInt,_0x366877['toString']());let _0x5d8342=0x1;return _0x3e02a9[_0x57fd2a(0x94)](_0x366877,0xde)&&(_0x5d8342=0x2),_0x25edce[_0x57fd2a(0x6e)]&&(_0x5d8342=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x366877,'faceType':_0x5d8342,'faceText':_0x25edce[_0x57fd2a(0x88)],'stickerId':_0x25edce[_0x57fd2a(0xc0)],'stickerType':_0x25edce['AniStickerType'],'packId':_0x25edce[_0x57fd2a(0xa6)],'sourceType':0x1}};}static['mface'](_0x41c933,_0x40defa,_0x303bd2,_0x396da4){const _0x5ad9ae=_0x5d8d63;return{'elementType':ElementType[_0x5ad9ae(0xa9)],'marketFaceElement':{'emojiPackageId':_0x41c933,'emojiId':_0x40defa,'key':_0x303bd2,'faceName':_0x396da4||mFaceCache[_0x5ad9ae(0x8d)](_0x40defa)||_0x5ad9ae(0xc9)}};}static['dice'](_0x6943a6){const _0x158360=_0x5d8d63,_0x4020f0={'fWcVF':_0x158360(0x6a)};return{'elementType':ElementType[_0x158360(0xbc)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x158360(0xc5)],'faceType':FaceType['dice'],'faceText':_0x4020f0[_0x158360(0x9a)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x40d72f){const _0x305f83=_0x5d8d63,_0xa3b0f0={'GEkVy':_0x305f83(0xb8)};return{'elementType':ElementType[_0x305f83(0xbc)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x305f83(0xb7)],'faceText':_0xa3b0f0[_0x305f83(0xa0)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5d8d63(0x6b)](_0x2a22ea){const _0x320982=_0x5d8d63,_0x49527a={'edLdz':function(_0x5cd25e,_0x12c57e){return _0x5cd25e!==_0x12c57e;}};return _0x49527a[_0x320982(0x7d)](typeof _0x2a22ea,'string')&&(_0x2a22ea=JSON[_0x320982(0x8f)](_0x2a22ea)),{'elementType':ElementType[_0x320982(0xa5)],'elementId':'','arkElement':{'bytesData':_0x2a22ea,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x33db2a){const _0x49e3b5=_0x5d8d63;return{'elementType':ElementType[_0x49e3b5(0xb6)],'elementId':'','markdownElement':{'content':_0x33db2a}};}static async[_0x5d8d63(0xb9)](){const _0x144a8e=_0x5d8d63,_0x4b3c76={'EqRNm':'Bot\x20Test','mEKnd':_0x144a8e(0x7e),'DNWSU':_0x144a8e(0xcc)};let _0x268d76=await SignMiniApp({'prompt':_0x4b3c76[_0x144a8e(0x92)],'title':_0x4b3c76[_0x144a8e(0x92)],'preview':_0x144a8e(0x76),'jumpUrl':_0x4b3c76[_0x144a8e(0x93)],'tag':_0x4b3c76[_0x144a8e(0x92)],'tagIcon':_0x4b3c76['DNWSU'],'source':_0x4b3c76[_0x144a8e(0x92)],'sourcelogo':_0x4b3c76[_0x144a8e(0x7b)]});return{'elementType':ElementType[_0x144a8e(0xa5)],'elementId':'','arkElement':{'bytesData':_0x268d76,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x10b31b=_0x188f;(function(_0x3c01a0,_0xc2f464){const _0x2c22fe=_0x188f,_0x739fca=_0x3c01a0();while(!![]){try{const _0x4975b7=parseInt(_0x2c22fe(0x17b))/0x1*(-parseInt(_0x2c22fe(0x149))/0x2)+parseInt(_0x2c22fe(0x166))/0x3*(-parseInt(_0x2c22fe(0x180))/0x4)+-parseInt(_0x2c22fe(0x14d))/0x5*(-parseInt(_0x2c22fe(0x165))/0x6)+-parseInt(_0x2c22fe(0x15e))/0x7*(-parseInt(_0x2c22fe(0x189))/0x8)+parseInt(_0x2c22fe(0x13e))/0x9*(parseInt(_0x2c22fe(0x14f))/0xa)+-parseInt(_0x2c22fe(0x159))/0xb+parseInt(_0x2c22fe(0x161))/0xc;if(_0x4975b7===_0xc2f464)break;else _0x739fca['push'](_0x739fca['shift']());}catch(_0x13181f){_0x739fca['push'](_0x739fca['shift']());}}}(_0x286b,0x2d315));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x30d1e5}from'node:fs';import _0x185399 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x4dc413 from'./face_config.json';import*as _0x2ed34a from'node:path';function _0x188f(_0x1d5ac6,_0x133903){const _0x286b3c=_0x286b();return _0x188f=function(_0x188fee,_0x390b62){_0x188fee=_0x188fee-0x12e;let _0x5e3252=_0x286b3c[_0x188fee];return _0x5e3252;},_0x188f(_0x1d5ac6,_0x133903);}import{SignMiniApp}from'../apis';function _0x286b(){const _0x281063=['kqOmo','5naDCnu','mKsFN','2128580mdGHdk','stat','MARKDOWN','DbOvo','FACE','mKMiq','WMODp','getImageSize','[包剪锤]','_0.png','2098756FXKaEB','mp4','zGUyq','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','XMTgF','2365923eCwGrY','gPifQ','unlink','3505260UTKDwK','https://www.bilibili.com/','gif','Ori','58062yPvRvt','11478iQhTgh','markdown','error','end','find','QSid','xIson','uploadFile','width','PIC','file','mhTaI','文件异常,大小为0','gfFhn','ark','aOnSl','then','xZxZa','join','emoji','mface','14RCsmUO','sysface','IOZBU','toString','NMWVe','332lwiHeh','Thumb','pic','set','jgTBf','ARK','PTT','语音转换失败,\x20请检查语音文件是否正常','XWPCc','8TcOGVz','bgFQR','SZZby','QDes','miniapp','ByGBk','size','catch','dice','PSNYD','gXUGP','MFACE','REPLY','rps','text','RPS','height','VIDEO','get','notAt','JuXPw','replace','dirname','获取视频封面失败,使用默认封面','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','9dKTfsx','FILE','face','AniStickerType','TSCaP','Bot\x20Test','nNXST','sep','dVxwD','ptt','NFWab','22738sHiBIc','AniStickerPackId','jpg'];_0x286b=function(){return _0x281063;};return _0x286b();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x10b31b(0x133)](_0xa6f3b5){const _0x1b5418=_0x10b31b;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0xa6f3b5,'atType':AtType[_0x1b5418(0x138)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x12a461,_0x17cd4c,_0x362dac,_0x23c5c6){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x23c5c6,'atType':_0x362dac,'atUid':_0x12a461,'atTinyId':'','atNtUid':_0x17cd4c}};}static['reply'](_0x42200c,_0x1b25c3,_0x933d6a,_0x52d7c9){const _0x1d482e=_0x10b31b;return{'elementType':ElementType[_0x1d482e(0x131)],'elementId':'','replyElement':{'replayMsgSeq':_0x42200c,'replayMsgId':_0x1b25c3,'senderUin':_0x933d6a,'senderUinStr':_0x52d7c9}};}static async[_0x10b31b(0x182)](_0x38e693,_0x3691fa='',_0x2fc1a8=0x0){const _0x2197e8=_0x10b31b,_0x2e73e0={'mhTaI':function(_0xcf08f7,_0x60e024){return _0xcf08f7===_0x60e024;},'TSCaP':'文件异常,大小为0','NFWab':function(_0x5beafd,_0x5596f5){return _0x5beafd(_0x5596f5);}},{md5:_0x2fa1e6,fileName:_0x1fc787,path:_0xcc6aa7,fileSize:_0x1c91fb}=await NTQQFileApi['uploadFile'](_0x38e693,ElementType[_0x2197e8(0x16f)],_0x2fc1a8);if(_0x2e73e0[_0x2197e8(0x171)](_0x1c91fb,0x0))throw _0x2e73e0[_0x2197e8(0x142)];const _0x555235=await NTQQFileApi[_0x2197e8(0x156)](_0x38e693),_0x54157a={'md5HexStr':_0x2fa1e6,'fileSize':_0x1c91fb[_0x2197e8(0x17e)](),'picWidth':_0x555235?.[_0x2197e8(0x16e)],'picHeight':_0x555235?.['height'],'fileName':_0x1fc787,'sourcePath':_0xcc6aa7,'original':!![],'picType':_0x2e73e0[_0x2197e8(0x148)](isGIF,_0x38e693)?PicType[_0x2197e8(0x163)]:PicType[_0x2197e8(0x14b)],'picSubType':_0x2fc1a8,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3691fa};return{'elementType':ElementType[_0x2197e8(0x16f)],'elementId':'','picElement':_0x54157a};}static async[_0x10b31b(0x170)](_0xd23165,_0x482eac='',_0xd11249=''){const _0x27cd5f=_0x10b31b,_0x5b9898={'kqOmo':function(_0x3cca18,_0x49d827){return _0x3cca18===_0x49d827;},'dVxwD':_0x27cd5f(0x172),'QRfnI':function(_0x422d48,_0x11326d){return _0x422d48||_0x11326d;}},{md5:_0x45a623,fileName:_0x22b7cc,path:_0xcd6789,fileSize:_0x79769e}=await NTQQFileApi['uploadFile'](_0xd23165,ElementType[_0x27cd5f(0x13f)]);if(_0x5b9898[_0x27cd5f(0x14c)](_0x79769e,0x0))throw _0x5b9898[_0x27cd5f(0x146)];const _0x309ce6={'elementType':ElementType[_0x27cd5f(0x13f)],'elementId':'','fileElement':{'fileName':_0x5b9898['QRfnI'](_0x482eac,_0x22b7cc),'folderId':_0xd11249,'filePath':_0xcd6789,'fileSize':_0x79769e['toString']()}};return _0x309ce6;}static async['video'](_0x342c54,_0x2f802a='',_0x4d60f8=''){const _0x3ab55d=_0x10b31b,_0x452da4={'IdiBf':_0x3ab55d(0x13c),'jgTBf':function(_0x594576,_0x581a78){return _0x594576(_0x581a78);},'PSNYD':_0x3ab55d(0x169),'xIson':_0x3ab55d(0x168),'zGUyq':function(_0x4a99d4,_0x346aae){return _0x4a99d4+_0x346aae;},'XMTgF':function(_0x1f6358,_0x11d762){return _0x1f6358===_0x11d762;},'IOZBU':_0x3ab55d(0x172),'bgFQR':_0x3ab55d(0x15a),'gfFhn':function(_0x28bb76,_0x1f23cb,_0x387b53){return _0x28bb76(_0x1f23cb,_0x387b53);},'UUWsQ':function(_0x2a7660,_0x3c2454){return _0x2a7660(_0x3c2454);},'gXUGP':function(_0x154534,_0x2d33cd){return _0x154534||_0x2d33cd;},'DbOvo':function(_0x256d93,_0x244439){return _0x256d93+_0x244439;}},{fileName:_0x3f5af4,path:_0x4d91e0,fileSize:_0x28a6c1,md5:_0x29c659}=await NTQQFileApi[_0x3ab55d(0x16d)](_0x342c54,ElementType['VIDEO']);if(_0x452da4[_0x3ab55d(0x15d)](_0x28a6c1,0x0))throw _0x452da4[_0x3ab55d(0x17d)];let _0x1bdf0f=_0x4d91e0[_0x3ab55d(0x13a)](_0x2ed34a[_0x3ab55d(0x145)]+_0x3ab55d(0x164)+_0x2ed34a['sep'],_0x2ed34a[_0x3ab55d(0x145)]+_0x3ab55d(0x181)+_0x2ed34a[_0x3ab55d(0x145)]);_0x1bdf0f=_0x2ed34a[_0x3ab55d(0x13b)](_0x1bdf0f);let _0x2a090e={'width':0x780,'height':0x438,'time':0xf,'format':_0x452da4[_0x3ab55d(0x18a)],'size':_0x28a6c1,'filePath':_0x342c54};try{_0x2a090e=await _0x452da4['jgTBf'](getVideoInfo,_0x4d91e0);}catch(_0x478c55){_0x452da4[_0x3ab55d(0x173)](logError,'获取视频信息失败',_0x478c55);}const _0x9ef66c=new Promise((_0x58b559,_0xafb66c)=>{const _0x2032a6=_0x3ab55d,_0x1e795c={'JuXPw':function(_0x14d2e1,_0x31c482){const _0x87b90f=_0x188f;return _0x452da4[_0x87b90f(0x184)](_0x14d2e1,_0x31c482);}},_0x4a2e6b=_0x29c659+_0x2032a6(0x158),_0x2bd327=_0x2ed34a[_0x2032a6(0x178)](_0x1bdf0f,_0x4a2e6b);_0x452da4[_0x2032a6(0x184)](_0x185399,_0x342c54)['on'](_0x452da4[_0x2032a6(0x12e)],()=>{})['on'](_0x452da4[_0x2032a6(0x16c)],_0x21325b=>{const _0x1512ac=_0x2032a6;logDebug(_0x452da4['IdiBf'],_0x21325b),_0x4d60f8?_0x30d1e5['copyFile'](_0x4d60f8,_0x2bd327)[_0x1512ac(0x176)](()=>{_0x58b559(_0x2bd327);})[_0x1512ac(0x190)](_0xafb66c):_0x30d1e5['writeFile'](_0x2bd327,defaultVideoThumb)[_0x1512ac(0x176)](()=>{const _0x3e8e1d=_0x1512ac;_0x1e795c[_0x3e8e1d(0x139)](_0x58b559,_0x2bd327);})[_0x1512ac(0x190)](_0xafb66c);})['screenshots']({'timestamps':[0x0],'filename':_0x4a2e6b,'folder':_0x1bdf0f,'size':_0x452da4[_0x2032a6(0x15b)](_0x2a090e['width'],'x')+_0x2a090e[_0x2032a6(0x135)]})['on'](_0x452da4['PSNYD'],()=>{_0x1e795c['JuXPw'](_0x58b559,_0x2bd327);});}),_0x1cce02=new Map(),_0x107ad0=await _0x9ef66c,_0x29508a=(await _0x30d1e5[_0x3ab55d(0x150)](_0x107ad0))[_0x3ab55d(0x18f)];_0x1cce02[_0x3ab55d(0x183)](0x0,_0x107ad0);const _0x3dca77=await _0x452da4['UUWsQ'](calculateFileMD5,_0x107ad0),_0x3a6bc0={'elementType':ElementType[_0x3ab55d(0x136)],'elementId':'','videoElement':{'fileName':_0x452da4[_0x3ab55d(0x12f)](_0x2f802a,_0x3f5af4),'filePath':_0x4d91e0,'videoMd5':_0x29c659,'thumbMd5':_0x3dca77,'fileTime':_0x2a090e['time'],'thumbPath':_0x1cce02,'thumbSize':_0x29508a,'thumbWidth':_0x2a090e[_0x3ab55d(0x16e)],'thumbHeight':_0x2a090e[_0x3ab55d(0x135)],'fileSize':_0x452da4[_0x3ab55d(0x152)]('',_0x28a6c1)}};return _0x3a6bc0;}static async[_0x10b31b(0x147)](_0x3c316d){const _0x52ff53=_0x10b31b,_0x290674={'NMWVe':function(_0x58a9fe,_0x4422ba){return _0x58a9fe(_0x4422ba);},'EQcqO':_0x52ff53(0x187),'dkGKT':function(_0x34ed6e,_0x2146bc){return _0x34ed6e===_0x2146bc;},'aOnSl':function(_0x2c9120,_0x5f5594){return _0x2c9120||_0x5f5594;}},{converted:_0x443e1c,path:_0x3a33d2,duration:_0x226378}=await _0x290674[_0x52ff53(0x17f)](encodeSilk,_0x3c316d);if(!_0x3a33d2)throw _0x290674['EQcqO'];const {md5:_0x525980,fileName:_0x5803fe,path:_0xb894f3,fileSize:_0x327495}=await NTQQFileApi[_0x52ff53(0x16d)](_0x3a33d2,ElementType[_0x52ff53(0x186)]);if(_0x290674['dkGKT'](_0x327495,0x0))throw _0x52ff53(0x172);return _0x443e1c&&_0x30d1e5[_0x52ff53(0x160)](_0x3a33d2)[_0x52ff53(0x176)](),{'elementType':ElementType[_0x52ff53(0x186)],'elementId':'','pttElement':{'fileName':_0x5803fe,'filePath':_0xb894f3,'md5HexStr':_0x525980,'fileSize':_0x327495,'duration':_0x290674[_0x52ff53(0x175)](_0x226378,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[_0x10b31b(0x140)](_0x24a50e){const _0x58f2c2=_0x10b31b,_0x179c3c={'SZZby':function(_0x37eb86,_0x2ba951){return _0x37eb86(_0x2ba951);}},_0x4f1c6f=_0x4dc413[_0x58f2c2(0x17c)],_0x45370c=_0x4dc413[_0x58f2c2(0x179)],_0x253cc2=_0x4f1c6f[_0x58f2c2(0x16a)](_0x4b78c8=>_0x4b78c8[_0x58f2c2(0x16b)]===_0x24a50e[_0x58f2c2(0x17e)]());_0x24a50e=_0x179c3c[_0x58f2c2(0x18b)](parseInt,_0x24a50e[_0x58f2c2(0x17e)]());let _0x3b02cf=0x1;return _0x24a50e>=0xde&&(_0x3b02cf=0x2),_0x253cc2[_0x58f2c2(0x141)]&&(_0x3b02cf=0x3),{'elementType':ElementType[_0x58f2c2(0x153)],'elementId':'','faceElement':{'faceIndex':_0x24a50e,'faceType':_0x3b02cf,'faceText':_0x253cc2[_0x58f2c2(0x18c)],'stickerId':_0x253cc2['AniStickerId'],'stickerType':_0x253cc2[_0x58f2c2(0x141)],'packId':_0x253cc2[_0x58f2c2(0x14a)],'sourceType':0x1}};}static[_0x10b31b(0x17a)](_0x308dce,_0x4e3536,_0x4109b3,_0x20b5cf){const _0x2fa207=_0x10b31b,_0x3ab63e={'nNXST':'[商城表情]'};return{'elementType':ElementType[_0x2fa207(0x130)],'marketFaceElement':{'emojiPackageId':_0x308dce,'emojiId':_0x4e3536,'key':_0x4109b3,'faceName':_0x20b5cf||mFaceCache[_0x2fa207(0x137)](_0x4e3536)||_0x3ab63e[_0x2fa207(0x144)]}};}static['dice'](_0x4a813f){const _0x5a5b83=_0x10b31b,_0x2c712e={'xZxZa':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x5a5b83(0x191)],'faceType':FaceType[_0x5a5b83(0x191)],'faceText':_0x2c712e[_0x5a5b83(0x177)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x10b31b(0x132)](_0x5349c0){const _0x5707a6=_0x10b31b,_0x41072d={'mKsFN':_0x5707a6(0x157)};return{'elementType':ElementType[_0x5707a6(0x153)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x5707a6(0x134)],'faceText':_0x41072d[_0x5707a6(0x14e)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x10b31b(0x174)](_0x3d0735){const _0x5eb862=_0x10b31b,_0x11ba24={'mKMiq':'string'};return typeof _0x3d0735!==_0x11ba24[_0x5eb862(0x154)]&&(_0x3d0735=JSON['stringify'](_0x3d0735)),{'elementType':ElementType[_0x5eb862(0x185)],'elementId':'','arkElement':{'bytesData':_0x3d0735,'linkInfo':null,'subElementType':null}};}static[_0x10b31b(0x167)](_0x52a93a){const _0xdba129=_0x10b31b;return{'elementType':ElementType[_0xdba129(0x151)],'elementId':'','markdownElement':{'content':_0x52a93a}};}static async[_0x10b31b(0x18d)](){const _0x413823=_0x10b31b,_0x16b67f={'WMODp':_0x413823(0x143),'gPifQ':_0x413823(0x13d),'XWPCc':_0x413823(0x162),'ByGBk':_0x413823(0x15c)};let _0x45f142=await SignMiniApp({'prompt':_0x16b67f[_0x413823(0x155)],'title':_0x16b67f[_0x413823(0x155)],'preview':_0x16b67f[_0x413823(0x15f)],'jumpUrl':_0x16b67f[_0x413823(0x188)],'tag':_0x413823(0x143),'tagIcon':_0x413823(0x15c),'source':_0x413823(0x143),'sourcelogo':_0x16b67f[_0x413823(0x18e)]});return{'elementType':ElementType[_0x413823(0x185)],'elementId':'','arkElement':{'bytesData':_0x45f142,'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 c016e0a2..d9d2cf4d 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x2d0c52,_0x7d35c5){var _0x1b6eaf=_0xda8a,_0x2761f3=_0x2d0c52();while(!![]){try{var _0x22e1ad=parseInt(_0x1b6eaf(0x1bc))/0x1+-parseInt(_0x1b6eaf(0x1be))/0x2+parseInt(_0x1b6eaf(0x1c6))/0x3+parseInt(_0x1b6eaf(0x1bf))/0x4*(-parseInt(_0x1b6eaf(0x1c5))/0x5)+-parseInt(_0x1b6eaf(0x1bb))/0x6+parseInt(_0x1b6eaf(0x1c4))/0x7+parseInt(_0x1b6eaf(0x1c2))/0x8*(parseInt(_0x1b6eaf(0x1bd))/0x9);if(_0x22e1ad===_0x7d35c5)break;else _0x2761f3['push'](_0x2761f3['shift']());}catch(_0x160e2d){_0x2761f3['push'](_0x2761f3['shift']());}}}(_0x53cc,0x58374));function _0xda8a(_0x1cdd05,_0x53ef70){var _0x53cc0f=_0x53cc();return _0xda8a=function(_0xda8a5c,_0x13d3f4){_0xda8a5c=_0xda8a5c-0x1ba;var _0x4b5c8b=_0x53cc0f[_0xda8a5c];return _0x4b5c8b;},_0xda8a(_0x1cdd05,_0x53ef70);}function _0x53cc(){var _0x4fa624=['16SRwOmQ','SROoR','4184229TAouMa','5KVsefY','632556xodXCL','owner','FgvSk','normal','3579720KmYJpC','120643GpfQhu','3371031ABtlCU','690578lubAZL','1500476AoiHla','admin','eDOaJ'];_0x53cc=function(){return _0x4fa624;};return _0x53cc();}export var GroupMemberRole;(function(_0x3683af){var _0x2adcae=_0xda8a,_0x35c464={'FgvSk':_0x2adcae(0x1ba),'SROoR':_0x2adcae(0x1c0),'eDOaJ':_0x2adcae(0x1c7)};_0x3683af[_0x3683af[_0x35c464[_0x2adcae(0x1c8)]]=0x2]=_0x35c464[_0x2adcae(0x1c8)],_0x3683af[_0x3683af[_0x35c464[_0x2adcae(0x1c3)]]=0x3]=_0x35c464[_0x2adcae(0x1c3)],_0x3683af[_0x3683af[_0x35c464[_0x2adcae(0x1c1)]]=0x4]=_0x35c464[_0x2adcae(0x1c1)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x204729,_0x37c77b){var _0x1d72d0=_0x12c4,_0x464809=_0x204729();while(!![]){try{var _0x2e36de=parseInt(_0x1d72d0(0x17e))/0x1*(parseInt(_0x1d72d0(0x177))/0x2)+-parseInt(_0x1d72d0(0x175))/0x3*(parseInt(_0x1d72d0(0x176))/0x4)+parseInt(_0x1d72d0(0x179))/0x5+parseInt(_0x1d72d0(0x173))/0x6*(-parseInt(_0x1d72d0(0x181))/0x7)+-parseInt(_0x1d72d0(0x17c))/0x8+parseInt(_0x1d72d0(0x182))/0x9*(-parseInt(_0x1d72d0(0x17d))/0xa)+-parseInt(_0x1d72d0(0x17f))/0xb*(-parseInt(_0x1d72d0(0x180))/0xc);if(_0x2e36de===_0x37c77b)break;else _0x464809['push'](_0x464809['shift']());}catch(_0xb37446){_0x464809['push'](_0x464809['shift']());}}}(_0x4093,0x9c055));function _0x4093(){var _0x322082=['owner','31345mXJHIR','admin','normal','2888800JRCRXb','10vxLdur','76627AcAEEr','81202FbbLTa','4200DTkXFs','84SeIWCM','6588261fneEjd','xnZuS','254622fTomXr','PHetd','3lwGQfr','2007156EznjhR','4nuVCkl'];_0x4093=function(){return _0x322082;};return _0x4093();}function _0x12c4(_0x3202ab,_0x37eebb){var _0x409391=_0x4093();return _0x12c4=function(_0x12c44b,_0x663350){_0x12c44b=_0x12c44b-0x173;var _0x4ef161=_0x409391[_0x12c44b];return _0x4ef161;},_0x12c4(_0x3202ab,_0x37eebb);}export var GroupMemberRole;(function(_0x4d7c2f){var _0x234129=_0x12c4,_0x38fe6a={'PHetd':_0x234129(0x17b),'xnZuS':_0x234129(0x17a),'erzet':'owner'};_0x4d7c2f[_0x4d7c2f[_0x38fe6a['PHetd']]=0x2]=_0x38fe6a[_0x234129(0x174)],_0x4d7c2f[_0x4d7c2f[_0x38fe6a[_0x234129(0x183)]]=0x3]=_0x38fe6a[_0x234129(0x183)],_0x4d7c2f[_0x4d7c2f[_0x38fe6a['erzet']]=0x4]=_0x234129(0x178);}(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 75e8000c..c7c70df6 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x39e4ee,_0x4b5618){var _0x558c73=_0x2ec0,_0x226d8a=_0x39e4ee();while(!![]){try{var _0x186d5d=-parseInt(_0x558c73(0x1a8))/0x1*(-parseInt(_0x558c73(0x1a9))/0x2)+parseInt(_0x558c73(0x1a4))/0x3*(-parseInt(_0x558c73(0x1a5))/0x4)+parseInt(_0x558c73(0x1a3))/0x5*(-parseInt(_0x558c73(0x1a7))/0x6)+-parseInt(_0x558c73(0x1aa))/0x7*(-parseInt(_0x558c73(0x1ab))/0x8)+-parseInt(_0x558c73(0x1a6))/0x9*(-parseInt(_0x558c73(0x19f))/0xa)+-parseInt(_0x558c73(0x1a2))/0xb+-parseInt(_0x558c73(0x1a0))/0xc*(-parseInt(_0x558c73(0x1a1))/0xd);if(_0x186d5d===_0x4b5618)break;else _0x226d8a['push'](_0x226d8a['shift']());}catch(_0x2ff4c0){_0x226d8a['push'](_0x226d8a['shift']());}}}(_0x4789,0x6071d));function _0x4789(){var _0x5b3127=['9032AryaqE','1590cnGBJF','2952HxxUnx','31239AdVIsL','4210646HausnQ','15445DflTJC','45KFMuDB','84580ccxFUO','10899fCLRVi','696NOrZrZ','4bcKTFs','229256eOLlBz','1309ujvpzB'];_0x4789=function(){return _0x5b3127;};return _0x4789();}function _0x2ec0(_0x47704e,_0xa42b9c){var _0x478992=_0x4789();return _0x2ec0=function(_0x2ec055,_0x5c7928){_0x2ec055=_0x2ec055-0x19f;var _0xeccc38=_0x478992[_0x2ec055];return _0xeccc38;},_0x2ec0(_0x47704e,_0xa42b9c);}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +function _0x5cb6(_0x83e5b6,_0x31bc30){var _0x21c3f5=_0x21c3();return _0x5cb6=function(_0x5cb67f,_0x3cb5aa){_0x5cb67f=_0x5cb67f-0xd6;var _0x30a36a=_0x21c3f5[_0x5cb67f];return _0x30a36a;},_0x5cb6(_0x83e5b6,_0x31bc30);}(function(_0x1d2749,_0x12ad40){var _0x5a05aa=_0x5cb6,_0x1d67e2=_0x1d2749();while(!![]){try{var _0x5c8480=-parseInt(_0x5a05aa(0xdf))/0x1+-parseInt(_0x5a05aa(0xd8))/0x2+parseInt(_0x5a05aa(0xd9))/0x3+-parseInt(_0x5a05aa(0xd7))/0x4*(-parseInt(_0x5a05aa(0xde))/0x5)+parseInt(_0x5a05aa(0xd6))/0x6+-parseInt(_0x5a05aa(0xdc))/0x7*(parseInt(_0x5a05aa(0xdb))/0x8)+-parseInt(_0x5a05aa(0xda))/0x9*(parseInt(_0x5a05aa(0xdd))/0xa);if(_0x5c8480===_0x12ad40)break;else _0x1d67e2['push'](_0x1d67e2['shift']());}catch(_0x358605){_0x1d67e2['push'](_0x1d67e2['shift']());}}}(_0x21c3,0x54e03));export*from'./user';export*from'./group';function _0x21c3(){var _0x2d292f=['2903176ePDhpd','7HFTEEK','620qgQfdk','1731490xeuGBH','365811qoyNjQ','3224736HKGszR','4FcbjnI','184510UDQSHk','2033262DHfCYO','57033LCaVWr'];_0x21c3=function(){return _0x2d292f;};return _0x21c3();}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.d.ts b/src/core.lib/src/entities/msg.d.ts index ccc226c3..c2bedb55 100644 --- a/src/core.lib/src/entities/msg.d.ts +++ b/src/core.lib/src/entities/msg.d.ts @@ -157,6 +157,48 @@ export declare enum ChatType { chatDevice = 8,//移动设备? temp = 100 } +export declare enum ChatType2 { + KCHATTYPEADELIE = 42, + KCHATTYPEBUDDYNOTIFY = 5, + KCHATTYPEC2C = 1, + KCHATTYPECIRCLE = 113, + KCHATTYPEDATALINE = 8, + KCHATTYPEDATALINEMQQ = 134, + KCHATTYPEDISC = 3, + KCHATTYPEFAV = 41, + KCHATTYPEGAMEMESSAGE = 105, + KCHATTYPEGAMEMESSAGEFOLDER = 116, + KCHATTYPEGROUP = 2, + KCHATTYPEGROUPBLESS = 133, + KCHATTYPEGROUPGUILD = 9, + KCHATTYPEGROUPHELPER = 7, + KCHATTYPEGROUPNOTIFY = 6, + KCHATTYPEGUILD = 4, + KCHATTYPEGUILDMETA = 16, + KCHATTYPEMATCHFRIEND = 104, + KCHATTYPEMATCHFRIENDFOLDER = 109, + KCHATTYPENEARBY = 106, + KCHATTYPENEARBYASSISTANT = 107, + KCHATTYPENEARBYFOLDER = 110, + KCHATTYPENEARBYHELLOFOLDER = 112, + KCHATTYPENEARBYINTERACT = 108, + KCHATTYPEQQNOTIFY = 132, + KCHATTYPERELATEACCOUNT = 131, + KCHATTYPESERVICEASSISTANT = 118, + KCHATTYPESERVICEASSISTANTSUB = 201, + KCHATTYPESQUAREPUBLIC = 115, + KCHATTYPESUBSCRIBEFOLDER = 30, + KCHATTYPETEMPADDRESSBOOK = 111, + KCHATTYPETEMPBUSSINESSCRM = 102, + KCHATTYPETEMPC2CFROMGROUP = 100, + KCHATTYPETEMPC2CFROMUNKNOWN = 99, + KCHATTYPETEMPFRIENDVERIFY = 101, + KCHATTYPETEMPNEARBYPRO = 119, + KCHATTYPETEMPPUBLICACCOUNT = 103, + KCHATTYPETEMPWPA = 117, + KCHATTYPEUNKNOWN = 0, + KCHATTYPEWEIYUN = 40 +} export interface PttElement { canConvert2Text: boolean; duration: number; @@ -273,6 +315,19 @@ export interface VideoElement { import_rich_media_context?: null; sourceVideoCodecFormat?: number; } +export declare enum viedo_type { + VIDEO_FORMAT_AFS = 7, + VIDEO_FORMAT_AVI = 1, + VIDEO_FORMAT_MKV = 4, + VIDEO_FORMAT_MOD = 9, + VIDEO_FORMAT_MOV = 8, + VIDEO_FORMAT_MP4 = 2, + VIDEO_FORMAT_MTS = 11, + VIDEO_FORMAT_RM = 6, + VIDEO_FORMAT_RMVB = 5, + VIDEO_FORMAT_TS = 10, + VIDEO_FORMAT_WMV = 3 +} export interface MarkdownElement { content: string; } diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index f9785f08..211e45e8 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x163719=_0x4738;(function(_0x5886f5,_0x541cdd){var _0x5e4cef=_0x4738,_0x5771e3=_0x5886f5();while(!![]){try{var _0x3d28b5=parseInt(_0x5e4cef(0x1c8))/0x1*(-parseInt(_0x5e4cef(0x1b5))/0x2)+-parseInt(_0x5e4cef(0x19d))/0x3*(parseInt(_0x5e4cef(0x1b8))/0x4)+-parseInt(_0x5e4cef(0x1ba))/0x5*(-parseInt(_0x5e4cef(0x1d1))/0x6)+-parseInt(_0x5e4cef(0x1aa))/0x7+parseInt(_0x5e4cef(0x1d8))/0x8*(parseInt(_0x5e4cef(0x1d2))/0x9)+parseInt(_0x5e4cef(0x1ac))/0xa*(parseInt(_0x5e4cef(0x1de))/0xb)+parseInt(_0x5e4cef(0x1bc))/0xc;if(_0x3d28b5===_0x541cdd)break;else _0x5771e3['push'](_0x5771e3['shift']());}catch(_0x2d174b){_0x5771e3['push'](_0x5771e3['shift']());}}}(_0x2742,0xa214d));function _0x2742(){var _0x320406=['gmkXQ','chatDevice','198034oaOZSp','gwLpo','tAsQL','UdNsB','WMZZI','nLEeQ','split','REPLY','HOaME','1733478UlHbzE','7533rfPhjj','DcmtW','XyqUY','https://gchat.qpic.cn','yyeVN','SUKcX','9032YAmEJI','SWjtN','group','gvzLJ','hgSMv','notAt','561amEBtv','MARKDOWN','jpg','MFACE','3FkrFVN','QXxic','FXQzx','MEMBER_NEW_TITLE','MxaUo','INVITE_NEW_MEMBER','VIDEO','VdTxN','kicked','normal','FlkEf','ARK','gif','8120882EWVqZx','VzwKS','222890HhimAf','PIC','FACE','Cauth','FILE','atUser','atAll','dice','ban','10KMbfJk','temp','BOZoN','3524232htClww','1|9|4|8|0|7|2|5|6|3','20JkMUUp','TEXT','5494500CClRLJ','abmJt','QdUMA','NUoPO','RPS','NmbQW','memberIncrease','zQRzb','https://multimedia.nt.qq.com.cn','fTlYu'];_0x2742=function(){return _0x320406;};return _0x2742();}export var ElementType;(function(_0x37d9c9){var _0x133e70=_0x4738,_0x1d7663={'SWjtN':_0x133e70(0x1b9),'hgSMv':_0x133e70(0x1bb),'NUoPO':_0x133e70(0x1cf),'gvzLJ':_0x133e70(0x1df),'fTlYu':'FILE','Cauth':_0x133e70(0x1a8),'FXQzx':_0x133e70(0x19c),'HZGUK':_0x133e70(0x1ae),'gmkXQ':'PTT','tAsQL':_0x133e70(0x1ad)},_0x3a3789=_0x1d7663[_0x133e70(0x1d9)][_0x133e70(0x1ce)]('|'),_0x48573e=0x0;while(!![]){switch(_0x3a3789[_0x48573e++]){case'0':_0x37d9c9[_0x37d9c9['VIDEO']=0x5]=_0x133e70(0x1a3);continue;case'1':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1dc)]]=0x1]=_0x1d7663[_0x133e70(0x1dc)];continue;case'2':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1bf)]]=0x7]=_0x133e70(0x1cf);continue;case'3':_0x37d9c9[_0x37d9c9[_0x133e70(0x1df)]=0xe]=_0x1d7663[_0x133e70(0x1db)];continue;case'4':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1c5)]]=0x3]=_0x133e70(0x1b0);continue;case'5':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1af)]]=0xa]='ARK';continue;case'6':_0x37d9c9[_0x37d9c9[_0x133e70(0x19c)]=0xb]=_0x1d7663[_0x133e70(0x19f)];continue;case'7':_0x37d9c9[_0x37d9c9[_0x1d7663['HZGUK']]=0x6]='FACE';continue;case'8':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1c6)]]=0x4]=_0x1d7663['gmkXQ'];continue;case'9':_0x37d9c9[_0x37d9c9[_0x1d7663[_0x133e70(0x1ca)]]=0x2]=_0x1d7663[_0x133e70(0x1ca)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x38f964){var _0x1c792b=_0x4738,_0x118a1f={'WMZZI':_0x1c792b(0x1a9),'EyVQn':_0x1c792b(0x19b)};_0x38f964[_0x38f964[_0x118a1f[_0x1c792b(0x1cc)]]=0x7d0]=_0x1c792b(0x1a9),_0x38f964[_0x38f964[_0x1c792b(0x19b)]=0x3e8]=_0x118a1f['EyVQn'];}(PicType||(PicType={})));export var PicSubType;(function(_0xab558a){var _0x4ae615=_0x4738,_0xb066b0={'zQRzb':'normal','gwLpo':'face'};_0xab558a[_0xab558a[_0xb066b0[_0x4ae615(0x1c3)]]=0x0]=_0xb066b0[_0x4ae615(0x1c3)],_0xab558a[_0xab558a[_0xb066b0[_0x4ae615(0x1c9)]]=0x1]=_0xb066b0[_0x4ae615(0x1c9)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x24c5f8){var _0x2be8d6=_0x4738,_0x14152b={'NmbQW':_0x2be8d6(0x1dd),'abmJt':'atAll','yyeVN':'atUser'};_0x24c5f8[_0x24c5f8[_0x2be8d6(0x1dd)]=0x0]=_0x14152b[_0x2be8d6(0x1c1)],_0x24c5f8[_0x24c5f8[_0x14152b[_0x2be8d6(0x1bd)]]=0x1]=_0x2be8d6(0x1b2),_0x24c5f8[_0x24c5f8[_0x2be8d6(0x1b1)]=0x2]=_0x14152b[_0x2be8d6(0x1d6)];}(AtType||(AtType={})));export var ChatType;(function(_0x54888e){var _0xccedb3=_0x4738,_0x467f5d={'SUKcX':'friend','FlkEf':_0xccedb3(0x1da),'HOaME':_0xccedb3(0x1c7),'VdTxN':_0xccedb3(0x1b6)};_0x54888e[_0x54888e[_0x467f5d['SUKcX']]=0x1]=_0x467f5d[_0xccedb3(0x1d7)],_0x54888e[_0x54888e[_0x467f5d['FlkEf']]=0x2]=_0x467f5d[_0xccedb3(0x1a7)],_0x54888e[_0x54888e[_0x467f5d['HOaME']]=0x8]=_0x467f5d[_0xccedb3(0x1d0)],_0x54888e[_0x54888e[_0x467f5d[_0xccedb3(0x1a4)]]=0x64]=_0x467f5d[_0xccedb3(0x1a4)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x163719(0x1d5);export const IMAGE_HTTP_HOST_NT=_0x163719(0x1c4);export var GrayTipElementSubType;(function(_0x2fd2b0){var _0xf6cdb2=_0x163719,_0x564491={'XyqUY':_0xf6cdb2(0x1a2),'QXxic':'MEMBER_NEW_TITLE'};_0x2fd2b0[_0x2fd2b0[_0xf6cdb2(0x1a2)]=0xc]=_0x564491[_0xf6cdb2(0x1d4)],_0x2fd2b0[_0x2fd2b0[_0x564491[_0xf6cdb2(0x19e)]]=0x11]=_0xf6cdb2(0x1a0);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xed4f2a){var _0x1c7357=_0x163719,_0x1208bc={'UdNsB':_0x1c7357(0x1a6),'DcmtW':'normal2','QdUMA':_0x1c7357(0x1b3)};_0xed4f2a[_0xed4f2a[_0x1208bc[_0x1c7357(0x1cb)]]=0x1]=_0x1208bc[_0x1c7357(0x1cb)],_0xed4f2a[_0xed4f2a[_0x1208bc[_0x1c7357(0x1d3)]]=0x2]='normal2',_0xed4f2a[_0xed4f2a[_0x1c7357(0x1b3)]=0x3]=_0x1208bc[_0x1c7357(0x1be)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x42c5b7){var _0x5c13fe=_0x163719,_0x543406={'VzwKS':_0x5c13fe(0x1b3),'MxaUo':_0x5c13fe(0x1c0)};_0x42c5b7[_0x42c5b7[_0x543406[_0x5c13fe(0x1ab)]]=0x166]=_0x543406['VzwKS'],_0x42c5b7[_0x42c5b7[_0x543406[_0x5c13fe(0x1a1)]]=0x167]=_0x543406[_0x5c13fe(0x1a1)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;function _0x4738(_0xc61049,_0x475bf3){var _0x274213=_0x2742();return _0x4738=function(_0x473839,_0x209ab7){_0x473839=_0x473839-0x19b;var _0x4b4c71=_0x274213[_0x473839];return _0x4b4c71;},_0x4738(_0xc61049,_0x475bf3);}(function(_0x479580){var _0x3d5500=_0x163719,_0x7674d0={'BOZoN':_0x3d5500(0x1c2),'nLEeQ':_0x3d5500(0x1a5)};_0x479580[_0x479580[_0x7674d0['BOZoN']]=0x1]=_0x7674d0[_0x3d5500(0x1b7)],_0x479580[_0x479580[_0x3d5500(0x1a5)]=0x3]=_0x7674d0[_0x3d5500(0x1cd)],_0x479580[_0x479580[_0x3d5500(0x1b4)]=0x8]='ban';}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0xe491d6=_0x28c4;(function(_0x3dc1a2,_0x41964d){var _0xdcf107=_0x28c4,_0xb2c930=_0x3dc1a2();while(!![]){try{var _0xa1b675=parseInt(_0xdcf107(0x1ef))/0x1+parseInt(_0xdcf107(0x212))/0x2+parseInt(_0xdcf107(0x23f))/0x3+-parseInt(_0xdcf107(0x1ed))/0x4*(-parseInt(_0xdcf107(0x23a))/0x5)+parseInt(_0xdcf107(0x223))/0x6*(-parseInt(_0xdcf107(0x1e6))/0x7)+parseInt(_0xdcf107(0x20c))/0x8*(parseInt(_0xdcf107(0x1f4))/0x9)+-parseInt(_0xdcf107(0x24a))/0xa*(parseInt(_0xdcf107(0x245))/0xb);if(_0xa1b675===_0x41964d)break;else _0xb2c930['push'](_0xb2c930['shift']());}catch(_0x219e20){_0xb2c930['push'](_0xb2c930['shift']());}}}(_0x5888,0x7472b));export var ElementType;(function(_0x20116d){var _0x5d386e=_0x28c4,_0x89b00e={'Bmudh':'PTT','LGzSx':_0x5d386e(0x1f5),'rSJRr':_0x5d386e(0x214),'kwjxp':_0x5d386e(0x218),'KIcXY':_0x5d386e(0x217),'KVSPI':_0x5d386e(0x21d),'OlIuR':_0x5d386e(0x20f),'fdJXy':'PIC','CTYIf':_0x5d386e(0x221),'HRguX':_0x5d386e(0x1f0)},_0x31ddfc=_0x5d386e(0x1e5)[_0x5d386e(0x23c)]('|'),_0x9147ce=0x0;while(!![]){switch(_0x31ddfc[_0x9147ce++]){case'0':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x227)]]=0x4]=_0x5d386e(0x1d2);continue;case'1':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x248)]]=0x5]=_0x89b00e['LGzSx'];continue;case'2':_0x20116d[_0x20116d[_0x5d386e(0x214)]=0x7]=_0x89b00e[_0x5d386e(0x1da)];continue;case'3':_0x20116d[_0x20116d['TEXT']=0x1]=_0x89b00e[_0x5d386e(0x1f6)];continue;case'4':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x1e2)]]=0x3]=_0x89b00e['KIcXY'];continue;case'5':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x1d6)]]=0xe]=_0x89b00e[_0x5d386e(0x1d6)];continue;case'6':_0x20116d[_0x20116d[_0x89b00e['OlIuR']]=0x6]=_0x89b00e[_0x5d386e(0x1ff)];continue;case'7':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x1cb)]]=0x2]=_0x89b00e['fdJXy'];continue;case'8':_0x20116d[_0x20116d['ARK']=0xa]=_0x89b00e[_0x5d386e(0x1e0)];continue;case'9':_0x20116d[_0x20116d['MFACE']=0xb]=_0x89b00e[_0x5d386e(0x1ca)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x55edaf){var _0xe6d619=_0x28c4,_0x2b084a={'hCxSp':_0xe6d619(0x211),'fJtfQ':_0xe6d619(0x250)};_0x55edaf[_0x55edaf[_0xe6d619(0x211)]=0x7d0]=_0x2b084a[_0xe6d619(0x1ea)],_0x55edaf[_0x55edaf[_0xe6d619(0x250)]=0x3e8]=_0x2b084a['fJtfQ'];}(PicType||(PicType={})));export var PicSubType;(function(_0x267dc0){var _0x4fc29c=_0x28c4,_0x32c32b={'brRzS':'normal','KdVbM':'face'};_0x267dc0[_0x267dc0[_0x32c32b[_0x4fc29c(0x23e)]]=0x0]=_0x32c32b['brRzS'],_0x267dc0[_0x267dc0[_0x32c32b[_0x4fc29c(0x1d9)]]=0x1]=_0x32c32b[_0x4fc29c(0x1d9)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x20f65f){var _0x107dbe=_0x28c4,_0x18e567={'SOLUU':_0x107dbe(0x1cc),'rQDRt':_0x107dbe(0x1e3),'wQPvk':_0x107dbe(0x234)};_0x20f65f[_0x20f65f[_0x107dbe(0x1cc)]=0x0]=_0x18e567[_0x107dbe(0x1d7)],_0x20f65f[_0x20f65f[_0x18e567[_0x107dbe(0x201)]]=0x1]=_0x107dbe(0x1e3),_0x20f65f[_0x20f65f[_0x18e567[_0x107dbe(0x1fc)]]=0x2]=_0x18e567['wQPvk'];}(AtType||(AtType={})));export var ChatType;function _0x5888(){var _0x35040d=['rSJRr','KCHATTYPETEMPFRIENDVERIFY','ZYSYm','AeNHl','INVITE_NEW_MEMBER','chIty','CTYIf','mcRtX','KIcXY','atAll','kicked','3|7|4|0|1|6|2|8|9|5','11081jdqXhC','KCHATTYPETEMPWPA','KCHATTYPEGROUPNOTIFY','normal2','hCxSp','oAlBA','KCHATTYPESERVICEASSISTANTSUB','1107904depHzG','KCHATTYPEGROUPGUILD','440683LSEmSb','MFACE','WKSKT','15|1|26|22|27|14|37|10|19|11|6|33|32|31|21|13|23|28|34|9|38|24|0|3|18|29|7|35|25|16|12|30|2|5|8|20|39|17|4|36','https://multimedia.nt.qq.com.cn','36fbplHZ','VIDEO','kwjxp','VIDEO_FORMAT_MTS','VIDEO_FORMAT_MKV','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPEUNKNOWN','KCHATTYPETEMPBUSSINESSCRM','wQPvk','KYAWG','KjoPV','OlIuR','KCHATTYPENEARBYFOLDER','rQDRt','KCHATTYPEDATALINEMQQ','group','zEAMG','EzCjR','RPS','aomQy','ZXDvS','oaCLu','normal','KCHATTYPENEARBYHELLOFOLDER','775048sMcUAl','yTAdt','MEMBER_NEW_TITLE','FACE','bKiiK','gif','600036wOueve','SUKEp','REPLY','KCHATTYPEGROUPHELPER','OcacZ','FILE','TEXT','satmd','KCHATTYPEGAMEMESSAGE','temp','psBeE','MARKDOWN','KCHATTYPETEMPPUBLICACCOUNT','eVXKz','TbjUu','ARK','VIDEO_FORMAT_MOD','3546AdSkRa','nNOoQ','KCHATTYPESQUAREPUBLIC','KCHATTYPEGUILD','Bmudh','chatDevice','KmOcm','VIDEO_FORMAT_RM','HRHXj','VIDEO_FORMAT_WMV','KCHATTYPESERVICEASSISTANT','TGSam','MVpRC','KCHATTYPEADELIE','friend','FXocC','VIDEO_FORMAT_TS','atUser','OjQoo','KCHATTYPENEARBYASSISTANT','ngUPY','KCHATTYPEDATALINE','KCHATTYPERELATEACCOUNT','10vsKBeS','UDogq','split','iZOOe','brRzS','1172076ILyIvi','NxeyG','KCHATTYPEGROUPBLESS','xTYry','wkNCg','KCHATTYPEMATCHFRIENDFOLDER','2421265hEJGzN','JWbaa','QqGOR','LGzSx','ban','30NiDohX','KCHATTYPEGROUP','VIDEO_FORMAT_RMVB','NwKFZ','KCHATTYPEWEIYUN','hHFih','jpg','lkRRh','KCHATTYPEMATCHFRIEND','KCHATTYPEDISC','FZyjP','BvnMP','dice','KCHATTYPETEMPC2CFROMGROUP','FBDAA','KCHATTYPENEARBYINTERACT','QlHit','KCHATTYPENEARBY','HgdIa','WyHzX','HZUpu','HRguX','fdJXy','notAt','alvlV','RBzGr','oIHCB','KCHATTYPETEMPNEARBYPRO','JqeTg','PTT','KCHATTYPEFAV','VIDEO_FORMAT_MOV','jroAo','KVSPI','SOLUU','VIDEO_FORMAT_MP4','KdVbM'];_0x5888=function(){return _0x35040d;};return _0x5888();}(function(_0xa22997){var _0x40e70f=_0x28c4,_0x20ece9={'NxeyG':_0x40e70f(0x231),'hHFih':_0x40e70f(0x203),'FZyjP':_0x40e70f(0x21b)};_0xa22997[_0xa22997[_0x20ece9[_0x40e70f(0x240)]]=0x1]=_0x40e70f(0x231),_0xa22997[_0xa22997[_0x20ece9['hHFih']]=0x2]=_0x20ece9[_0x40e70f(0x24f)],_0xa22997[_0xa22997[_0x40e70f(0x228)]=0x8]=_0x40e70f(0x228),_0xa22997[_0xa22997[_0x20ece9['FZyjP']]=0x64]=_0x20ece9[_0x40e70f(0x1bf)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x2ad2ac){var _0x51adc4=_0x28c4,_0x5b88c3={'OcacZ':_0x51adc4(0x1f2),'SUKEp':_0x51adc4(0x20b),'VFzMA':'KCHATTYPEBUDDYNOTIFY','oazew':_0x51adc4(0x1c2),'EzCjR':_0x51adc4(0x1c4),'MVpRC':_0x51adc4(0x1fa),'UDogq':'KCHATTYPETEMPC2CFROMUNKNOWN','ejFSc':_0x51adc4(0x24b),'ZYSYm':_0x51adc4(0x22d),'ZXDvS':_0x51adc4(0x1db),'mcRtX':_0x51adc4(0x1c6),'wkNCg':_0x51adc4(0x1d3),'bKiiK':'KCHATTYPEGAMEMESSAGEFOLDER','WyHzX':'KCHATTYPETEMPADDRESSBOOK','oaCLu':_0x51adc4(0x202),'JqeTg':_0x51adc4(0x230),'FXocC':_0x51adc4(0x1f9),'psBeE':_0x51adc4(0x1e7),'KYAWG':'KCHATTYPEQQNOTIFY','FBDAA':_0x51adc4(0x21a),'chIty':_0x51adc4(0x1e8),'satmd':'KCHATTYPECIRCLE','QlHit':'KCHATTYPEGUILDMETA','nNOoQ':_0x51adc4(0x200),'BvnMP':_0x51adc4(0x225),'alvlV':'KCHATTYPEC2C','OjQoo':_0x51adc4(0x238),'xTYry':_0x51adc4(0x1bd),'zEAMG':_0x51adc4(0x239),'HRHXj':_0x51adc4(0x1fb),'jroAo':'KCHATTYPEGROUPHELPER','aomQy':_0x51adc4(0x1ee),'oAlBA':_0x51adc4(0x241),'lNhSu':'KCHATTYPEMATCHFRIENDFOLDER','QqGOR':_0x51adc4(0x1ec),'eDijN':_0x51adc4(0x24e),'JWbaa':_0x51adc4(0x1be),'WKSKT':_0x51adc4(0x236),'IsPeL':_0x51adc4(0x21e)},_0x4e13ff=_0x5b88c3[_0x51adc4(0x216)][_0x51adc4(0x23c)]('|'),_0x46213f=0x0;while(!![]){switch(_0x4e13ff[_0x46213f++]){case'0':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x213)]]=0x70]=_0x5b88c3['SUKEp'];continue;case'1':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['VFzMA']]=0x5]=_0x5b88c3['VFzMA'];continue;case'2':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['oazew']]=0x64]='KCHATTYPETEMPC2CFROMGROUP';continue;case'3':_0x2ad2ac[_0x2ad2ac['KCHATTYPENEARBYINTERACT']=0x6c]=_0x5b88c3[_0x51adc4(0x205)];continue;case'4':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x22f)]]=0x0]=_0x5b88c3[_0x51adc4(0x22f)];continue;case'5':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['UDogq']]=0x63]=_0x5b88c3[_0x51adc4(0x23b)];continue;case'6':_0x2ad2ac[_0x2ad2ac[_0x51adc4(0x24b)]=0x2]=_0x5b88c3['ejFSc'];continue;case'7':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1dc)]]=0x76]=_0x5b88c3[_0x51adc4(0x1dc)];continue;case'8':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x208)]]=0x65]=_0x5b88c3[_0x51adc4(0x208)];continue;case'9':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['mcRtX']]=0x6a]=_0x5b88c3[_0x51adc4(0x1e1)];continue;case'10':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x243)]]=0x29]=_0x5b88c3[_0x51adc4(0x243)];continue;case'11':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x210)]]=0x74]=_0x5b88c3['bKiiK'];continue;case'12':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1c8)]]=0x6f]=_0x5b88c3[_0x51adc4(0x1c8)];continue;case'13':_0x2ad2ac[_0x2ad2ac[_0x51adc4(0x226)]=0x4]=_0x51adc4(0x226);continue;case'14':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x209)]]=0x86]='KCHATTYPEDATALINEMQQ';continue;case'15':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['JqeTg']]=0x2a]=_0x5b88c3[_0x51adc4(0x1d1)];continue;case'16':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x232)]]=0x1e]=_0x5b88c3[_0x51adc4(0x232)];continue;case'17':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['psBeE']]=0x75]=_0x5b88c3[_0x51adc4(0x21c)];continue;case'18':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1fd)]]=0x84]=_0x5b88c3[_0x51adc4(0x1fd)];continue;case'19':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1c3)]]=0x69]=_0x5b88c3['FBDAA'];continue;case'20':_0x2ad2ac[_0x2ad2ac[_0x51adc4(0x1d0)]=0x77]=_0x51adc4(0x1d0);continue;case'21':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1df)]]=0x6]='KCHATTYPEGROUPNOTIFY';continue;case'22':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x219)]]=0x71]=_0x5b88c3['satmd'];continue;case'23':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1c5)]]=0x10]=_0x5b88c3['QlHit'];continue;case'24':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x224)]]=0x6e]=_0x51adc4(0x200);continue;case'25':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1c0)]]=0x73]=_0x5b88c3[_0x51adc4(0x1c0)];continue;case'26':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1cd)]]=0x1]=_0x5b88c3[_0x51adc4(0x1cd)];continue;case'27':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x235)]]=0x8]='KCHATTYPEDATALINE';continue;case'28':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x242)]]=0x68]=_0x5b88c3[_0x51adc4(0x242)];continue;case'29':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x204)]]=0x83]=_0x5b88c3[_0x51adc4(0x204)];continue;case'30':_0x2ad2ac[_0x2ad2ac['KCHATTYPETEMPBUSSINESSCRM']=0x66]=_0x5b88c3[_0x51adc4(0x22b)];continue;case'31':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1d5)]]=0x7]=_0x51adc4(0x215);continue;case'32':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['aomQy']]=0x9]=_0x5b88c3[_0x51adc4(0x207)];continue;case'33':_0x2ad2ac[_0x2ad2ac['KCHATTYPEGROUPBLESS']=0x85]=_0x5b88c3[_0x51adc4(0x1eb)];continue;case'34':_0x2ad2ac[_0x2ad2ac[_0x51adc4(0x244)]=0x6d]=_0x5b88c3['lNhSu'];continue;case'35':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x247)]]=0xc9]=_0x5b88c3[_0x51adc4(0x247)];continue;case'36':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['eDijN']]=0x28]=_0x51adc4(0x24e);continue;case'37':_0x2ad2ac[_0x2ad2ac['KCHATTYPEDISC']=0x3]=_0x5b88c3[_0x51adc4(0x246)];continue;case'38':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1f1)]]=0x6b]=_0x5b88c3[_0x51adc4(0x1f1)];continue;case'39':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['IsPeL']]=0x67]='KCHATTYPETEMPPUBLICACCOUNT';continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0xe491d6(0x1f3);export var GrayTipElementSubType;(function(_0x820136){var _0x2632cd=_0xe491d6,_0x442a18={'eVXKz':_0x2632cd(0x1de),'HZUpu':_0x2632cd(0x20e)};_0x820136[_0x820136['INVITE_NEW_MEMBER']=0xc]=_0x442a18[_0x2632cd(0x21f)],_0x820136[_0x820136[_0x442a18[_0x2632cd(0x1c9)]]=0x11]=_0x442a18[_0x2632cd(0x1c9)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x7442b9){var _0x7bbc46=_0xe491d6,_0x3ac7a9={'TbjUu':_0x7bbc46(0x20a),'HgdIa':'normal2','oIHCB':_0x7bbc46(0x1c1)};_0x7442b9[_0x7442b9[_0x7bbc46(0x20a)]=0x1]=_0x3ac7a9[_0x7bbc46(0x220)],_0x7442b9[_0x7442b9[_0x3ac7a9[_0x7bbc46(0x1c7)]]=0x2]=_0x7bbc46(0x1e9),_0x7442b9[_0x7442b9[_0x3ac7a9['oIHCB']]=0x3]=_0x3ac7a9[_0x7bbc46(0x1cf)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x177237){var _0x568f11=_0xe491d6,_0x1a32cb={'KmOcm':_0x568f11(0x1c1)};_0x177237[_0x177237[_0x1a32cb[_0x568f11(0x229)]]=0x166]=_0x1a32cb[_0x568f11(0x229)],_0x177237[_0x177237[_0x568f11(0x206)]=0x167]=_0x568f11(0x206);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x58d42c){var _0x4cf713=_0xe491d6,_0x341ece={'EXPJQ':'VIDEO_FORMAT_MKV','NwKFZ':_0x4cf713(0x1f7),'ngUPY':_0x4cf713(0x233),'KjoPV':_0x4cf713(0x22c),'iZOOe':_0x4cf713(0x1d8),'lkRRh':_0x4cf713(0x24c),'yTAdt':'VIDEO_FORMAT_AVI','RBzGr':_0x4cf713(0x222),'AeNHl':_0x4cf713(0x1d4)},_0x439c51='8|7|0|9|10|5|1|2|6|3|4'[_0x4cf713(0x23c)]('|'),_0x17fea3=0x0;while(!![]){switch(_0x439c51[_0x17fea3++]){case'0':_0x58d42c[_0x58d42c[_0x4cf713(0x1f8)]=0x4]=_0x341ece['EXPJQ'];continue;case'1':_0x58d42c[_0x58d42c[_0x4cf713(0x1f7)]=0xb]=_0x341ece[_0x4cf713(0x24d)];continue;case'2':_0x58d42c[_0x58d42c[_0x4cf713(0x22a)]=0x6]=_0x4cf713(0x22a);continue;case'3':_0x58d42c[_0x58d42c[_0x4cf713(0x233)]=0xa]=_0x341ece[_0x4cf713(0x237)];continue;case'4':_0x58d42c[_0x58d42c[_0x341ece[_0x4cf713(0x1fe)]]=0x3]=_0x341ece[_0x4cf713(0x1fe)];continue;case'5':_0x58d42c[_0x58d42c['VIDEO_FORMAT_MP4']=0x2]=_0x341ece[_0x4cf713(0x23d)];continue;case'6':_0x58d42c[_0x58d42c[_0x341ece['lkRRh']]=0x5]=_0x341ece[_0x4cf713(0x1bc)];continue;case'7':_0x58d42c[_0x58d42c[_0x341ece[_0x4cf713(0x20d)]]=0x1]=_0x341ece[_0x4cf713(0x20d)];continue;case'8':_0x58d42c[_0x58d42c['VIDEO_FORMAT_AFS']=0x7]='VIDEO_FORMAT_AFS';continue;case'9':_0x58d42c[_0x58d42c[_0x341ece['RBzGr']]=0x9]=_0x341ece[_0x4cf713(0x1ce)];continue;case'10':_0x58d42c[_0x58d42c[_0x341ece[_0x4cf713(0x1dd)]]=0x8]=_0x4cf713(0x1d4);continue;}break;}}(viedo_type||(viedo_type={})));function _0x28c4(_0x1a2797,_0x22bd1d){var _0x588826=_0x5888();return _0x28c4=function(_0x28c426,_0x31a1d7){_0x28c426=_0x28c426-0x1bc;var _0x1ae34e=_0x588826[_0x28c426];return _0x1ae34e;},_0x28c4(_0x1a2797,_0x22bd1d);}export var TipGroupElementType;(function(_0x4f699f){var _0x7e86a6=_0xe491d6,_0x2e1bb6={'TGSam':'memberIncrease','tUklP':'kicked'};_0x4f699f[_0x4f699f[_0x2e1bb6['TGSam']]=0x1]=_0x2e1bb6[_0x7e86a6(0x22e)],_0x4f699f[_0x4f699f[_0x2e1bb6['tUklP']]=0x3]=_0x7e86a6(0x1e4),_0x4f699f[_0x4f699f[_0x7e86a6(0x249)]=0x8]='ban';}(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 dd5e4067..aeb854be 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x10f15e,_0x218085){var _0x4c9d3a=_0x26f3,_0x14b7a=_0x10f15e();while(!![]){try{var _0x3725f1=parseInt(_0x4c9d3a(0x145))/0x1+-parseInt(_0x4c9d3a(0x154))/0x2*(parseInt(_0x4c9d3a(0x150))/0x3)+-parseInt(_0x4c9d3a(0x164))/0x4*(-parseInt(_0x4c9d3a(0x14a))/0x5)+-parseInt(_0x4c9d3a(0x168))/0x6*(-parseInt(_0x4c9d3a(0x15e))/0x7)+-parseInt(_0x4c9d3a(0x167))/0x8+-parseInt(_0x4c9d3a(0x14d))/0x9*(parseInt(_0x4c9d3a(0x13e))/0xa)+-parseInt(_0x4c9d3a(0x160))/0xb;if(_0x3725f1===_0x218085)break;else _0x14b7a['push'](_0x14b7a['shift']());}catch(_0x95ee4e){_0x14b7a['push'](_0x14b7a['shift']());}}}(_0x13d9,0xa379f));export var GroupNotifyTypes;(function(_0x377a7a){var _0x3bb818=_0x26f3,_0x2079f8={'JvNEa':'ADMIN_UNSET_OTHER','UnnoW':_0x3bb818(0x149),'FfdBH':_0x3bb818(0x159),'xwvgk':_0x3bb818(0x153),'LxeWI':_0x3bb818(0x144),'bMxAb':'KICK_MEMBER','SvpoY':_0x3bb818(0x15f),'mwUew':_0x3bb818(0x165)},_0x38e852=_0x3bb818(0x162)[_0x3bb818(0x14f)]('|'),_0x428e67=0x0;while(!![]){switch(_0x38e852[_0x428e67++]){case'0':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x14b)]]=0xd]=_0x2079f8[_0x3bb818(0x14b)];continue;case'1':_0x377a7a[_0x377a7a[_0x3bb818(0x149)]=0x8]=_0x2079f8['UnnoW'];continue;case'2':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x15b)]]=0x1]=_0x2079f8[_0x3bb818(0x15b)];continue;case'3':_0x377a7a[_0x377a7a[_0x2079f8['xwvgk']]=0xb]=_0x2079f8[_0x3bb818(0x163)];continue;case'4':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x155)]]=0xc]=_0x2079f8['LxeWI'];continue;case'5':_0x377a7a[_0x377a7a[_0x3bb818(0x157)]=0x9]=_0x2079f8[_0x3bb818(0x146)];continue;case'6':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x14e)]]=0x7]=_0x2079f8[_0x3bb818(0x14e)];continue;case'7':_0x377a7a[_0x377a7a[_0x2079f8[_0x3bb818(0x161)]]=0x4]=_0x3bb818(0x165);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x26f3(_0x501cbd,_0x3dd0db){var _0x13d992=_0x13d9();return _0x26f3=function(_0x26f33b,_0x12d1ad){_0x26f33b=_0x26f33b-0x13e;var _0xb59162=_0x13d992[_0x26f33b];return _0xb59162;},_0x26f3(_0x501cbd,_0x3dd0db);}function _0x13d9(){var _0x27bafd=['wsXSP','DEFAULTTYPE','ADMIN_SET','20ZPCxNm','JvNEa','APPROVE','979155IFclLq','SvpoY','split','687DMIbsw','approve','sQJWy','MEMBER_EXIT','3294xrmpAc','LxeWI','ejXMG','KICK_MEMBER','TITLETYPE','INVITE_ME','pQyLv','FfdBH','rkoDF','NEWGROUPTYPE','1204MgRRyr','JOIN_REQUEST','9333368lAPOYj','mwUew','2|7|6|1|5|3|4|0','xwvgk','860680mkCqVc','INVITED_JOIN','IGNORE','6208896HNgwin','40920Wqooxi','50ewPjJR','HNoBS','REJECT','sxlXO','TOINM','WAIT_HANDLE','ADMIN_UNSET','1181617ELIAhg','bMxAb'];_0x13d9=function(){return _0x27bafd;};return _0x13d9();}(function(_0x3c6800){var _0x5b6f9f=_0x26f3,_0x54fd58={'TOINM':_0x5b6f9f(0x166),'rkoDF':_0x5b6f9f(0x143),'bFSnm':'APPROVE','sxlXO':_0x5b6f9f(0x140)};_0x3c6800[_0x3c6800[_0x54fd58[_0x5b6f9f(0x142)]]=0x0]=_0x54fd58[_0x5b6f9f(0x142)],_0x3c6800[_0x3c6800[_0x54fd58[_0x5b6f9f(0x15c)]]=0x1]=_0x54fd58[_0x5b6f9f(0x15c)],_0x3c6800[_0x3c6800[_0x5b6f9f(0x14c)]=0x2]=_0x54fd58['bFSnm'],_0x3c6800[_0x3c6800[_0x54fd58[_0x5b6f9f(0x141)]]=0x3]=_0x54fd58[_0x5b6f9f(0x141)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0xcc7b6d){var _0x50ee02=_0x26f3,_0x3a08a6={'ejXMG':_0x50ee02(0x151),'wsXSP':'reject'};_0xcc7b6d[_0xcc7b6d[_0x3a08a6[_0x50ee02(0x156)]]=0x1]=_0x3a08a6[_0x50ee02(0x156)],_0xcc7b6d[_0xcc7b6d[_0x3a08a6[_0x50ee02(0x147)]]=0x2]=_0x3a08a6[_0x50ee02(0x147)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x226ff2){var _0x2a67af=_0x26f3,_0x3ce517={'HNoBS':_0x2a67af(0x148),'sQJWy':_0x2a67af(0x158),'pQyLv':_0x2a67af(0x15d)};_0x226ff2[_0x226ff2[_0x3ce517[_0x2a67af(0x13f)]]=0x0]=_0x3ce517['HNoBS'],_0x226ff2[_0x226ff2[_0x3ce517[_0x2a67af(0x152)]]=0x1]=_0x3ce517[_0x2a67af(0x152)],_0x226ff2[_0x226ff2[_0x3ce517['pQyLv']]=0x2]=_0x3ce517[_0x2a67af(0x15a)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x2ee626,_0x27d9ee){var _0x72cc1a=_0x2cef,_0x121b4e=_0x2ee626();while(!![]){try{var _0x5090a0=-parseInt(_0x72cc1a(0x206))/0x1+parseInt(_0x72cc1a(0x200))/0x2*(-parseInt(_0x72cc1a(0x1df))/0x3)+-parseInt(_0x72cc1a(0x1f0))/0x4+-parseInt(_0x72cc1a(0x1dd))/0x5*(-parseInt(_0x72cc1a(0x203))/0x6)+parseInt(_0x72cc1a(0x1f5))/0x7+parseInt(_0x72cc1a(0x1e0))/0x8*(parseInt(_0x72cc1a(0x1e1))/0x9)+parseInt(_0x72cc1a(0x1ee))/0xa*(-parseInt(_0x72cc1a(0x1f1))/0xb);if(_0x5090a0===_0x27d9ee)break;else _0x121b4e['push'](_0x121b4e['shift']());}catch(_0x33745b){_0x121b4e['push'](_0x121b4e['shift']());}}}(_0x231f,0x9cba8));export var GroupNotifyTypes;(function(_0x32ad13){var _0x5244c1=_0x2cef,_0x5c20c5={'phcyM':'INVITE_ME','JHGJs':'INVITED_JOIN','zkcsX':_0x5244c1(0x1ec),'KfPpT':'ADMIN_SET','SAguL':'KICK_MEMBER','DSpCG':_0x5244c1(0x1ea),'ZGKKm':_0x5244c1(0x201),'KRaCy':_0x5244c1(0x1e4)};_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x204)]]=0x1]=_0x5244c1(0x1fb),_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x202)]]=0x4]=_0x5c20c5['JHGJs'],_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1ff)]]=0x7]=_0x5c20c5[_0x5244c1(0x1ff)],_0x32ad13[_0x32ad13['ADMIN_SET']=0x8]=_0x5c20c5[_0x5244c1(0x1fc)],_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1eb)]]=0x9]=_0x5c20c5[_0x5244c1(0x1eb)],_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1e7)]]=0xb]=_0x5c20c5[_0x5244c1(0x1e7)],_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1f6)]]=0xc]=_0x5244c1(0x201),_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1f3)]]=0xd]=_0x5c20c5[_0x5244c1(0x1f3)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x4ce02b){var _0x5bc659=_0x2cef,_0x477844={'sZziP':_0x5bc659(0x1e8),'hHZdP':_0x5bc659(0x1f9),'HSFde':_0x5bc659(0x1fe),'KzNud':_0x5bc659(0x1ef)};_0x4ce02b[_0x4ce02b[_0x477844['sZziP']]=0x0]=_0x477844[_0x5bc659(0x1f8)],_0x4ce02b[_0x4ce02b[_0x477844[_0x5bc659(0x1e5)]]=0x1]=_0x477844[_0x5bc659(0x1e5)],_0x4ce02b[_0x4ce02b[_0x477844[_0x5bc659(0x1de)]]=0x2]=_0x477844['HSFde'],_0x4ce02b[_0x4ce02b[_0x477844['KzNud']]=0x3]=_0x477844[_0x5bc659(0x1ed)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x231f(){var _0x4cf2ea=['yaktg','MEMBER_EXIT','SAguL','JOIN_REQUEST','KzNud','50sJhxsS','REJECT','3892472qOcJRV','781814YEbVyA','TITLETYPE','KRaCy','dWnYc','8470413MmXWfu','ZGKKm','NIWhj','sZziP','WAIT_HANDLE','reject','INVITE_ME','KfPpT','uSUmO','APPROVE','zkcsX','2446OcsAFj','ADMIN_UNSET','JHGJs','6234222fnOUby','phcyM','NEWGROUPTYPE','1123860traaZe','5ZtboAz','HSFde','807KeEaCS','722584Lbaikw','117cPiZKa','MJYnY','approve','ADMIN_UNSET_OTHER','hHZdP','DEFAULTTYPE','DSpCG','IGNORE'];_0x231f=function(){return _0x4cf2ea;};return _0x231f();}function _0x2cef(_0x805cba,_0x3c8670){var _0x231fb6=_0x231f();return _0x2cef=function(_0x2cef7d,_0x45049e){_0x2cef7d=_0x2cef7d-0x1dd;var _0x4f3a25=_0x231fb6[_0x2cef7d];return _0x4f3a25;},_0x2cef(_0x805cba,_0x3c8670);}export var GroupRequestOperateTypes;(function(_0x5699ae){var _0xc8152b=_0x2cef,_0x5334ca={'dWnYc':_0xc8152b(0x1e3),'MJYnY':_0xc8152b(0x1fa)};_0x5699ae[_0x5699ae[_0x5334ca[_0xc8152b(0x1f4)]]=0x1]=_0x5334ca[_0xc8152b(0x1f4)],_0x5699ae[_0x5699ae[_0x5334ca['MJYnY']]=0x2]=_0x5334ca[_0xc8152b(0x1e2)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x43f326){var _0x34a50d=_0x2cef,_0x4595a0={'uSUmO':_0x34a50d(0x1e6),'NIWhj':_0x34a50d(0x1f2),'yaktg':_0x34a50d(0x205)};_0x43f326[_0x43f326['DEFAULTTYPE']=0x0]=_0x4595a0[_0x34a50d(0x1fd)],_0x43f326[_0x43f326[_0x4595a0[_0x34a50d(0x1f7)]]=0x1]=_0x4595a0[_0x34a50d(0x1f7)],_0x43f326[_0x43f326[_0x34a50d(0x205)]=0x2]=_0x4595a0[_0x34a50d(0x1e9)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ 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 0294e971..47dde227 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x5364(){var _0x4814e7=['33926475gIDozX','IVSdU','2881251nkRqUx','ZnizO','912524xGDlKZ','854hbAbri','unknown','1859340jjSOFx','1346479FMgYPR','10oLDYFC','TXmwr','50oBkPCg','2fpKHug','13728vttdRt','female','3704538ohorDM'];_0x5364=function(){return _0x4814e7;};return _0x5364();}function _0x2501(_0x41085f,_0x52b038){var _0x5364a2=_0x5364();return _0x2501=function(_0x250186,_0x5a39c1){_0x250186=_0x250186-0xc4;var _0x4eaab7=_0x5364a2[_0x250186];return _0x4eaab7;},_0x2501(_0x41085f,_0x52b038);}(function(_0x23416f,_0x2fdd9d){var _0x550516=_0x2501,_0x67c29e=_0x23416f();while(!![]){try{var _0x15743a=-parseInt(_0x550516(0xca))/0x1*(parseInt(_0x550516(0xce))/0x2)+parseInt(_0x550516(0xd1))/0x3+-parseInt(_0x550516(0xc6))/0x4*(parseInt(_0x550516(0xcb))/0x5)+-parseInt(_0x550516(0xc9))/0x6+parseInt(_0x550516(0xc7))/0x7*(parseInt(_0x550516(0xcf))/0x8)+parseInt(_0x550516(0xc4))/0x9*(-parseInt(_0x550516(0xcd))/0xa)+parseInt(_0x550516(0xd2))/0xb;if(_0x15743a===_0x2fdd9d)break;else _0x67c29e['push'](_0x67c29e['shift']());}catch(_0x203db2){_0x67c29e['push'](_0x67c29e['shift']());}}}(_0x5364,0xc6ff9));export var Sex;(function(_0x5018b3){var _0x26ad04=_0x2501,_0x59c773={'ZnizO':'male','TXmwr':_0x26ad04(0xd0),'IVSdU':_0x26ad04(0xc8)};_0x5018b3[_0x5018b3[_0x59c773[_0x26ad04(0xc5)]]=0x1]=_0x59c773[_0x26ad04(0xc5)],_0x5018b3[_0x5018b3[_0x59c773[_0x26ad04(0xcc)]]=0x2]=_0x59c773['TXmwr'],_0x5018b3[_0x5018b3[_0x59c773[_0x26ad04(0xd3)]]=0xff]=_0x59c773[_0x26ad04(0xd3)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0xfeae24,_0x5cf149){var _0x4ccaea=_0x4746,_0x2cd54c=_0xfeae24();while(!![]){try{var _0x2c859b=-parseInt(_0x4ccaea(0x9b))/0x1+-parseInt(_0x4ccaea(0xa2))/0x2*(-parseInt(_0x4ccaea(0x99))/0x3)+parseInt(_0x4ccaea(0xa1))/0x4*(parseInt(_0x4ccaea(0x96))/0x5)+-parseInt(_0x4ccaea(0x9d))/0x6*(parseInt(_0x4ccaea(0x9c))/0x7)+-parseInt(_0x4ccaea(0x9f))/0x8*(parseInt(_0x4ccaea(0xa3))/0x9)+parseInt(_0x4ccaea(0x98))/0xa+-parseInt(_0x4ccaea(0xa0))/0xb;if(_0x2c859b===_0x5cf149)break;else _0x2cd54c['push'](_0x2cd54c['shift']());}catch(_0x4ae779){_0x2cd54c['push'](_0x2cd54c['shift']());}}}(_0x589e,0x1f5ac));function _0x589e(){var _0x20a572=['2mKvTQr','468657RbkXCK','kwwSE','32650LRpDdR','male','1803860pMItEh','723189ypPmAr','female','176685VmsgLm','84wbbEmN','7386BpcfGm','unknown','32HQbWnf','262592rZFYOT','80RLokhx'];_0x589e=function(){return _0x20a572;};return _0x589e();}export var Sex;function _0x4746(_0x36fc85,_0x28814e){var _0x589e18=_0x589e();return _0x4746=function(_0x474685,_0x585278){_0x474685=_0x474685-0x95;var _0x3436a4=_0x589e18[_0x474685];return _0x3436a4;},_0x4746(_0x36fc85,_0x28814e);}(function(_0x43cdf4){var _0x473d1e=_0x4746,_0x39232f={'kwwSE':'male','IpzCW':_0x473d1e(0x9e)};_0x43cdf4[_0x43cdf4[_0x39232f[_0x473d1e(0x95)]]=0x1]=_0x473d1e(0x97),_0x43cdf4[_0x43cdf4[_0x473d1e(0x9a)]=0x2]=_0x473d1e(0x9a),_0x43cdf4[_0x43cdf4[_0x473d1e(0x9e)]=0xff]=_0x39232f['IpzCW'];}(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 62343a05..b1f740b7 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x5e348a,_0x2a70d4){var _0x3430dc=_0x20a8,_0x716267=_0x5e348a();while(!![]){try{var _0x3824a0=parseInt(_0x3430dc(0x1e9))/0x1+-parseInt(_0x3430dc(0x1e4))/0x2*(parseInt(_0x3430dc(0x1e8))/0x3)+parseInt(_0x3430dc(0x1e5))/0x4+parseInt(_0x3430dc(0x1eb))/0x5*(parseInt(_0x3430dc(0x1e6))/0x6)+parseInt(_0x3430dc(0x1ec))/0x7+-parseInt(_0x3430dc(0x1ed))/0x8+parseInt(_0x3430dc(0x1e7))/0x9*(-parseInt(_0x3430dc(0x1ea))/0xa);if(_0x3824a0===_0x2a70d4)break;else _0x716267['push'](_0x716267['shift']());}catch(_0x5b949c){_0x716267['push'](_0x716267['shift']());}}}(_0x4a34,0x4e05a));import _0x40544e from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0x20a8(_0x2a4890,_0x22d643){var _0x4a34b6=_0x4a34();return _0x20a8=function(_0x20a874,_0x49bad8){_0x20a874=_0x20a874-0x1e4;var _0x40ae9d=_0x4a34b6[_0x20a874];return _0x40ae9d;},_0x20a8(_0x2a4890,_0x22d643);}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 _0x4a34(){var _0x41b2eb=['36bUoZFz','372168CxbfNO','1359djlmPV','526513XqUxdT','160vASMWJ','430310dEuATz','216811ubgYsF','1188368toxkGC','548MSratI','720080HiNqNF'];_0x4a34=function(){return _0x41b2eb;};return _0x4a34();}export{_0x40544e as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x52fe78,_0x191236){var _0x2d0c1c=_0x25a8,_0x2c8c5d=_0x52fe78();while(!![]){try{var _0x49487d=parseInt(_0x2d0c1c(0x192))/0x1*(parseInt(_0x2d0c1c(0x194))/0x2)+-parseInt(_0x2d0c1c(0x197))/0x3+parseInt(_0x2d0c1c(0x191))/0x4+parseInt(_0x2d0c1c(0x18f))/0x5*(-parseInt(_0x2d0c1c(0x198))/0x6)+parseInt(_0x2d0c1c(0x190))/0x7*(parseInt(_0x2d0c1c(0x196))/0x8)+parseInt(_0x2d0c1c(0x193))/0x9+-parseInt(_0x2d0c1c(0x195))/0xa;if(_0x49487d===_0x191236)break;else _0x2c8c5d['push'](_0x2c8c5d['shift']());}catch(_0x25c3f3){_0x2c8c5d['push'](_0x2c8c5d['shift']());}}}(_0x43bc,0xbef50));import _0x1eb0a9 from'./wrapper';export*from'./adapters';export*from'./apis';function _0x43bc(){var _0x28962a=['1269180jGuByi','199XOlylB','4613121cAkJbZ','11262ujAmPd','4916120sSwoRH','24odRsXt','578688cwAYOk','60kGUSVz','271815AKADBa','139685VeAJUB'];_0x43bc=function(){return _0x28962a;};return _0x43bc();}export*from'./entities';export*from'./listeners';export*from'./services';function _0x25a8(_0x5f5a29,_0x3c73b1){var _0x43bc04=_0x43bc();return _0x25a8=function(_0x25a899,_0x214b16){_0x25a899=_0x25a899-0x18f;var _0x2756a0=_0x43bc04[_0x25a899];return _0x2756a0;},_0x25a8(_0x5f5a29,_0x3c73b1);}export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1eb0a9 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 31df62a8..525f2848 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x3c4e96=_0x524e;(function(_0x270f16,_0x5c7bb2){var _0x205026=_0x524e,_0x3988ba=_0x270f16();while(!![]){try{var _0x51f0a4=parseInt(_0x205026(0x105))/0x1+-parseInt(_0x205026(0x106))/0x2*(-parseInt(_0x205026(0x10b))/0x3)+parseInt(_0x205026(0x102))/0x4*(parseInt(_0x205026(0x10a))/0x5)+-parseInt(_0x205026(0xfe))/0x6+parseInt(_0x205026(0xf8))/0x7*(parseInt(_0x205026(0x10c))/0x8)+parseInt(_0x205026(0x100))/0x9+-parseInt(_0x205026(0x104))/0xa*(parseInt(_0x205026(0x103))/0xb);if(_0x51f0a4===_0x5c7bb2)break;else _0x3988ba['push'](_0x3988ba['shift']());}catch(_0x25cc94){_0x3988ba['push'](_0x3988ba['shift']());}}}(_0x2950,0x33fd6));function _0x524e(_0x588e3f,_0x2e659b){var _0x295077=_0x2950();return _0x524e=function(_0x524e45,_0x5d194e){_0x524e45=_0x524e45-0xf6;var _0x59c9a7=_0x295077[_0x524e45];return _0x59c9a7;},_0x524e(_0x588e3f,_0x2e659b);}export class BuddyListener{[_0x3c4e96(0x10e)](_0xbe6b7){}[_0x3c4e96(0x101)](_0x18e969){}[_0x3c4e96(0xf7)](_0x5e8840){}[_0x3c4e96(0xfd)](_0x87f589){}[_0x3c4e96(0xff)](_0x584b21){}[_0x3c4e96(0x10d)](_0x5e079f){}['onBuddyListChange'](_0xc2f475){}[_0x3c4e96(0x107)](_0x404120){}['onBuddyReqChange'](_0x31554f){}[_0x3c4e96(0x109)](_0x35778b){}[_0x3c4e96(0x108)](_0x159e10){}[_0x3c4e96(0xfa)](_0x2855c4){}[_0x3c4e96(0xfb)](_0x401050){}[_0x3c4e96(0xf9)](_0x3ddbd8){}[_0x3c4e96(0xfc)](_0xc39d6a){}[_0x3c4e96(0xf6)](_0x37f57e){}[_0x3c4e96(0x10f)](_0x22cd54){}}function _0x2950(){var _0x4f4101=['onDelBatchBuddyInfos','onDoubtBuddyReqChange','onNickUpdated','onBlockChanged','420660RAIYgi','onBuddyDetailInfoChange','46242xGmYdx','onAddMeSettingChanged','1012jzCHus','475739SvbcCf','130eJYswD','164629joXiMP','490044CSNzYq','onBuddyRemarkUpdated','onCheckBuddySettingResult','onBuddyReqUnreadCntChange','5215BrDfeg','3nokyXu','24fCKNHh','onBuddyInfoChange','onAddBuddyNeedVerify','onSpacePermissionInfos','onSmartInfos','onAvatarUrlUpdated','388801zvtNxZ','onDoubtBuddyReqUnreadNumChange'];_0x2950=function(){return _0x4f4101;};return _0x2950();} \ No newline at end of file +var _0x49345d=_0x53be;(function(_0x4b6c86,_0x3c8232){var _0x29c726=_0x53be,_0x1e854f=_0x4b6c86();while(!![]){try{var _0x461716=-parseInt(_0x29c726(0x1e8))/0x1*(parseInt(_0x29c726(0x1eb))/0x2)+parseInt(_0x29c726(0x1fa))/0x3+parseInt(_0x29c726(0x1f0))/0x4+-parseInt(_0x29c726(0x1ea))/0x5+-parseInt(_0x29c726(0x1fd))/0x6*(parseInt(_0x29c726(0x1f5))/0x7)+-parseInt(_0x29c726(0x1f7))/0x8+parseInt(_0x29c726(0x1f1))/0x9*(parseInt(_0x29c726(0x1f9))/0xa);if(_0x461716===_0x3c8232)break;else _0x1e854f['push'](_0x1e854f['shift']());}catch(_0x439b8a){_0x1e854f['push'](_0x1e854f['shift']());}}}(_0x46d3,0x643e9));function _0x46d3(){var _0x2295ca=['onSmartInfos','3777616rPDPOv','onAddMeSettingChanged','13651730OOEMXW','387519MRTrZI','onAvatarUrlUpdated','onSpacePermissionInfos','1083864SjGfyp','onBuddyDetailInfoChange','onBuddyRemarkUpdated','31399VYNwNH','onDoubtBuddyReqUnreadNumChange','1000755SKNppr','2xhlGcg','onDelBatchBuddyInfos','onDoubtBuddyReqChange','onNickUpdated','onBuddyInfoChange','647756YXbSVA','9lzKIOW','onBuddyReqUnreadCntChange','onBlockChanged','onAddBuddyNeedVerify','21RsmPVJ'];_0x46d3=function(){return _0x2295ca;};return _0x46d3();}function _0x53be(_0x497dd1,_0x384ef4){var _0x46d33e=_0x46d3();return _0x53be=function(_0x53be7e,_0x3025af){_0x53be7e=_0x53be7e-0x1e7;var _0x5a38b0=_0x46d33e[_0x53be7e];return _0x5a38b0;},_0x53be(_0x497dd1,_0x384ef4);}export class BuddyListener{[_0x49345d(0x1f4)](_0x4222e2){}[_0x49345d(0x1f8)](_0x2cdfb3){}[_0x49345d(0x1fb)](_0x182cb3){}[_0x49345d(0x1f3)](_0x4f38c9){}[_0x49345d(0x1fe)](_0x53b14c){}[_0x49345d(0x1ef)](_0x14ee2e){}['onBuddyListChange'](_0x3ecf7c){}[_0x49345d(0x1e7)](_0x57147c){}['onBuddyReqChange'](_0x3300d4){}[_0x49345d(0x1f2)](_0x48289){}['onCheckBuddySettingResult'](_0x54de62){}[_0x49345d(0x1ec)](_0xaccc32){}[_0x49345d(0x1ed)](_0x57bef7){}[_0x49345d(0x1e9)](_0x360d3d){}[_0x49345d(0x1ee)](_0x3c98e5){}[_0x49345d(0x1f6)](_0x2c67cd){}[_0x49345d(0x1fc)](_0x3174ee){}} \ 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 02d36f85..b1a7aa60 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0xcc9704=_0x4757;function _0x5875(){var _0x4eab39=['onFileStatusChanged','3177dUGxCD','11031394BUsayC','154664gdgnzx','17224tpJTdZ','53154whmBFi','onFileSearch','10575XcQHYj','onSessionChanged','30534pmiwje','onSessionListChanged','51SdiOqK','115qoVVfa','30edQdEA','12495910ZzbXTW','onFileListChanged'];_0x5875=function(){return _0x4eab39;};return _0x5875();}(function(_0xf62b01,_0x3fc438){var _0x67eb59=_0x4757,_0x5a1e5f=_0xf62b01();while(!![]){try{var _0x32c3a6=-parseInt(_0x67eb59(0xee))/0x1+-parseInt(_0x67eb59(0xf0))/0x2*(-parseInt(_0x67eb59(0xf2))/0x3)+parseInt(_0x67eb59(0xea))/0x4+-parseInt(_0x67eb59(0xf3))/0x5*(-parseInt(_0x67eb59(0xec))/0x6)+-parseInt(_0x67eb59(0xf5))/0x7+parseInt(_0x67eb59(0xeb))/0x8*(-parseInt(_0x67eb59(0xe8))/0x9)+parseInt(_0x67eb59(0xf4))/0xa*(parseInt(_0x67eb59(0xe9))/0xb);if(_0x32c3a6===_0x3fc438)break;else _0x5a1e5f['push'](_0x5a1e5f['shift']());}catch(_0x3b19e5){_0x5a1e5f['push'](_0x5a1e5f['shift']());}}}(_0x5875,0xe91ba));function _0x4757(_0x2c1548,_0x3232ba){var _0x587504=_0x5875();return _0x4757=function(_0x4757fc,_0x396943){_0x4757fc=_0x4757fc-0xe8;var _0x4ffa72=_0x587504[_0x4757fc];return _0x4ffa72;},_0x4757(_0x2c1548,_0x3232ba);}export class KernelFileAssistantListener{[_0xcc9704(0xf7)](..._0x3d1470){}[_0xcc9704(0xf1)](..._0x341c42){}[_0xcc9704(0xef)](..._0x14700c){}[_0xcc9704(0xf6)](..._0x182998){}[_0xcc9704(0xed)](..._0x4f4af0){}} \ No newline at end of file +function _0x55f3(_0x542801,_0x593c59){var _0x18790a=_0x1879();return _0x55f3=function(_0x55f3e9,_0x4f9434){_0x55f3e9=_0x55f3e9-0xfd;var _0x1a5931=_0x18790a[_0x55f3e9];return _0x1a5931;},_0x55f3(_0x542801,_0x593c59);}function _0x1879(){var _0x1ea460=['onFileListChanged','277164qWIeLK','735284WLnDnx','500742GrxkKO','onFileStatusChanged','793pzNuso','4944357syLtxg','1129808DDWiPD','onSessionChanged','35JTbrQP','onSessionListChanged','258wPKCeq','33888fnytnA','249rEnGfq','1jLYYEK','20WkpmBU','161845EaGZhg'];_0x1879=function(){return _0x1ea460;};return _0x1879();}var _0x4cb28a=_0x55f3;(function(_0x1a92f8,_0x7b0774){var _0x5f380a=_0x55f3,_0x5517de=_0x1a92f8();while(!![]){try{var _0x1a842d=-parseInt(_0x5f380a(0x10c))/0x1*(parseInt(_0x5f380a(0x100))/0x2)+-parseInt(_0x5f380a(0x10b))/0x3*(parseInt(_0x5f380a(0x10a))/0x4)+-parseInt(_0x5f380a(0xfd))/0x5*(-parseInt(_0x5f380a(0x109))/0x6)+-parseInt(_0x5f380a(0x107))/0x7*(-parseInt(_0x5f380a(0x105))/0x8)+parseInt(_0x5f380a(0x104))/0x9*(parseInt(_0x5f380a(0x10d))/0xa)+parseInt(_0x5f380a(0x101))/0xb+parseInt(_0x5f380a(0xff))/0xc*(-parseInt(_0x5f380a(0x103))/0xd);if(_0x1a842d===_0x7b0774)break;else _0x5517de['push'](_0x5517de['shift']());}catch(_0x3b9652){_0x5517de['push'](_0x5517de['shift']());}}}(_0x1879,0xba2a2));export class KernelFileAssistantListener{[_0x4cb28a(0x102)](..._0x269a30){}[_0x4cb28a(0x108)](..._0x4b4ff5){}[_0x4cb28a(0x106)](..._0x277975){}[_0x4cb28a(0xfe)](..._0x35e7f5){}['onFileSearch'](..._0x359661){}} \ 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 9dbba2e0..a585759d 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x1f24(){var _0x5d7253=['onGroupArkInviteStateResult','onGroupNotifiesUpdated:','onGroupConfMemberChange:','onShutUpMemberListChanged:','UOemK','onGroupBulletinRemindNotify','AXBUY','AbCXO','siSNU','onShutUpMemberListChanged','onMemberInfoChange','867474cIkeVw','onGroupArkInviteStateResult:','onGroupNotifiesUnreadCountUpdated','DWrwV','onGetGroupBulletinListResult','onGroupDetailInfoChange:','GwnaO','44UVcYDc','nXIgo','onGetGroupBulletinListResult:','onGroupBulletinRichMediaProgressUpdate','log','32876hCuuqG','onGroupAllInfoChange','onJoinGroupNotify:','onGroupExtListUpdate','onMemberListChange','155iNJtFO','onJoinGroupNoVerifyFlag:','onGroupBulletinRichMediaDownloadComplete','onGroupsMsgMaskResult:','onJoinGroupNoVerifyFlag','ePSxk','onGroupMemberLevelInfoChange','onGroupNotifiesUnreadCountUpdated:','fdzfr','onGroupBulletinChange:','15suIYwo','onGroupBulletinChange','dPcWp','49MBZBoq','onGroupListUpdate','onGroupAllInfoChange:','onGroupConfMemberChange','48146MQHsik','jaeEh','onGroupMemberLevelInfoChange:','pSYig','onGroupSingleScreenNotifies','1016172Stikyo','onSearchMemberChange:','onGroupsMsgMaskResult','onGroupFirstBulletinNotify','zwrMH','260582hehxSE','onGroupDetailInfoChange','JPArj','onSearchMemberChange','onGroupNotifiesUpdated','868940guewKb','onGroupBulletinRichMediaProgressUpdate:','onMemberInfoChange:','248720rzreqV','onGroupBulletinRichMediaDownloadComplete:','onGroupStatisticInfoChange'];_0x1f24=function(){return _0x5d7253;};return _0x1f24();}var _0x2fed18=_0x306c;function _0x306c(_0x54ad45,_0x2460b4){var _0x1f245d=_0x1f24();return _0x306c=function(_0x306c9e,_0x4f0cb8){_0x306c9e=_0x306c9e-0x95;var _0x18d32d=_0x1f245d[_0x306c9e];return _0x18d32d;},_0x306c(_0x54ad45,_0x2460b4);}(function(_0xed7dbf,_0x44a235){var _0xdf959a=_0x306c,_0x5bd54e=_0xed7dbf();while(!![]){try{var _0x42ec63=-parseInt(_0xdf959a(0xcb))/0x1+parseInt(_0xdf959a(0xc1))/0x2*(parseInt(_0xdf959a(0xba))/0x3)+-parseInt(_0xdf959a(0xab))/0x4*(parseInt(_0xdf959a(0xb0))/0x5)+-parseInt(_0xdf959a(0x9f))/0x6+-parseInt(_0xdf959a(0xbd))/0x7*(-parseInt(_0xdf959a(0xd3))/0x8)+parseInt(_0xdf959a(0xc6))/0x9+parseInt(_0xdf959a(0xd0))/0xa*(parseInt(_0xdf959a(0xa6))/0xb);if(_0x42ec63===_0x44a235)break;else _0x5bd54e['push'](_0x5bd54e['shift']());}catch(_0x92547b){_0x5bd54e['push'](_0x5bd54e['shift']());}}}(_0x1f24,0x21d21));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x4a991f){}[_0x2fed18(0xa3)](..._0x3f8a58){}[_0x2fed18(0xac)](..._0x40c30b){}[_0x2fed18(0xbb)](..._0x2ba001){}[_0x2fed18(0x99)](..._0x2fba2f){}[_0x2fed18(0xd6)](..._0xae98cc){}[_0x2fed18(0xb2)](..._0x651d5d){}[_0x2fed18(0xc0)](..._0x20bed3){}[_0x2fed18(0xcc)](..._0x161c41){}[_0x2fed18(0xae)](..._0x48e1ff){}[_0x2fed18(0xc9)](..._0x1fa09d){}['onGroupListUpdate'](_0xe88349,_0x31318a){}['onGroupNotifiesUpdated'](_0x208d73,_0x263349){}['onGroupBulletinRichMediaProgressUpdate'](..._0x22598b){}['onGroupNotifiesUnreadCountUpdated'](..._0x3cfb0c){}['onGroupSingleScreenNotifies'](_0x49fd13,_0x23ca28,_0xb09cd3){}[_0x2fed18(0xc8)](..._0x3dd82b){}['onGroupStatisticInfoChange'](..._0x3e7ec9){}['onJoinGroupNotify'](..._0x4cf499){}[_0x2fed18(0xb4)](..._0x4e8fee){}[_0x2fed18(0x9e)](_0x5a3cfa,_0x380ddf,_0x4d5371){}[_0x2fed18(0xaf)](_0x41090c){}[_0x2fed18(0xce)](..._0x3adcd8){}[_0x2fed18(0x9d)](..._0x11be89){}}export class DebugGroupListener{[_0x2fed18(0xb6)](..._0x353d65){var _0x1eed1c=_0x2fed18,_0x54759b={'DWrwV':_0x1eed1c(0xc3)};console[_0x1eed1c(0xaa)](_0x54759b[_0x1eed1c(0xa2)],..._0x353d65);}['onGetGroupBulletinListResult'](..._0x403b9f){var _0xaf6f3=_0x2fed18,_0x343e00={'jaeEh':_0xaf6f3(0xa8)};console[_0xaf6f3(0xaa)](_0x343e00[_0xaf6f3(0xc2)],..._0x403b9f);}[_0x2fed18(0xac)](..._0x285d2e){var _0x14328a=_0x2fed18,_0x599c4f={'GwnaO':_0x14328a(0xbf)};console[_0x14328a(0xaa)](_0x599c4f[_0x14328a(0xa5)],..._0x285d2e);}['onGroupBulletinChange'](..._0xdc6af3){var _0x33c311=_0x2fed18,_0x2a25d4={'pSYig':_0x33c311(0xb9)};console[_0x33c311(0xaa)](_0x2a25d4[_0x33c311(0xc4)],..._0xdc6af3);}[_0x2fed18(0x99)](..._0x33e5ae){var _0x5ec006=_0x2fed18,_0x51f01c={'AbCXO':'onGroupBulletinRemindNotify:'};console[_0x5ec006(0xaa)](_0x51f01c[_0x5ec006(0x9b)],..._0x33e5ae);}[_0x2fed18(0xd6)](..._0x58cd89){var _0x4e2458=_0x2fed18,_0x5e9b0c={'MdyoS':_0x4e2458(0xa0)};console[_0x4e2458(0xaa)](_0x5e9b0c['MdyoS'],..._0x58cd89);}[_0x2fed18(0xb2)](..._0x40b898){var _0x5de069=_0x2fed18,_0xb3c4ea={'UOemK':_0x5de069(0xd4)};console[_0x5de069(0xaa)](_0xb3c4ea[_0x5de069(0x98)],..._0x40b898);}[_0x2fed18(0xc0)](..._0x2ffa66){var _0x42403a=_0x2fed18,_0x19b1aa={'rieSx':_0x42403a(0x96)};console[_0x42403a(0xaa)](_0x19b1aa['rieSx'],..._0x2ffa66);}['onGroupDetailInfoChange'](..._0x4d72b6){var _0x18f08f=_0x2fed18,_0x3c01f7={'zwrMH':_0x18f08f(0xa4)};console[_0x18f08f(0xaa)](_0x3c01f7[_0x18f08f(0xca)],..._0x4d72b6);}[_0x2fed18(0xae)](..._0x4dffa5){console['log']('onGroupExtListUpdate:',..._0x4dffa5);}[_0x2fed18(0xc9)](..._0xb0181d){var _0x304a54=_0x2fed18,_0x221481={'dDRSA':'onGroupFirstBulletinNotify:'};console[_0x304a54(0xaa)](_0x221481['dDRSA'],..._0xb0181d);}[_0x2fed18(0xbe)](..._0x158cda){console['log']('onGroupListUpdate:',..._0x158cda);}[_0x2fed18(0xcf)](..._0x5629f5){var _0x18c260=_0x2fed18,_0x416f9b={'JPArj':_0x18c260(0x95)};console[_0x18c260(0xaa)](_0x416f9b[_0x18c260(0xcd)],..._0x5629f5);}[_0x2fed18(0xa9)](..._0x37aa8c){var _0x43398a=_0x2fed18,_0x1bd4ed={'kbFmm':_0x43398a(0xd1)};console[_0x43398a(0xaa)](_0x1bd4ed['kbFmm'],..._0x37aa8c);}[_0x2fed18(0xa1)](..._0xd985e5){var _0xbc16f4=_0x2fed18,_0x4cf2ca={'siSNU':_0xbc16f4(0xb7)};console[_0xbc16f4(0xaa)](_0x4cf2ca[_0xbc16f4(0x9c)],..._0xd985e5);}[_0x2fed18(0xc5)](_0x5cda44,_0x48c5f8,_0x54ad8d){var _0x89dd7e=_0x2fed18,_0x56aefa={'nXIgo':'onGroupSingleScreenNotifies:'};console[_0x89dd7e(0xaa)](_0x56aefa[_0x89dd7e(0xa7)]);}[_0x2fed18(0xc8)](..._0x41dc6c){var _0x10c3ae=_0x2fed18,_0x2f9789={'fdzfr':_0x10c3ae(0xb3)};console['log'](_0x2f9789[_0x10c3ae(0xb8)],..._0x41dc6c);}[_0x2fed18(0xd5)](..._0xfc961d){var _0x4a4952=_0x2fed18,_0x21a7a5={'dPcWp':'onGroupStatisticInfoChange:'};console[_0x4a4952(0xaa)](_0x21a7a5[_0x4a4952(0xbc)],..._0xfc961d);}['onJoinGroupNotify'](..._0x20b23e){var _0x5147a1=_0x2fed18;console['log'](_0x5147a1(0xad),..._0x20b23e);}[_0x2fed18(0xb4)](..._0x2bf1de){var _0x24ef5f=_0x2fed18,_0x45e19b={'ePSxk':_0x24ef5f(0xb1)};console[_0x24ef5f(0xaa)](_0x45e19b[_0x24ef5f(0xb5)],..._0x2bf1de);}[_0x2fed18(0x9e)](_0x2a0581,_0xe45935,_0x55672f){var _0x454146=_0x2fed18;console[_0x454146(0xaa)](_0x454146(0xd2),_0x2a0581,_0xe45935,_0x55672f);}[_0x2fed18(0xaf)](..._0x20fd50){var _0x1638c6=_0x2fed18,_0xa9d443={'aLQOG':'onMemberListChange:'};console[_0x1638c6(0xaa)](_0xa9d443['aLQOG'],..._0x20fd50);}[_0x2fed18(0xce)](..._0x4efae6){var _0x3bbd7c=_0x2fed18;console[_0x3bbd7c(0xaa)](_0x3bbd7c(0xc7),..._0x4efae6);}[_0x2fed18(0x9d)](..._0x11dea6){var _0x2dc315=_0x2fed18,_0x2b37a5={'AXBUY':_0x2dc315(0x97)};console[_0x2dc315(0xaa)](_0x2b37a5[_0x2dc315(0x9a)],..._0x11dea6);}} \ No newline at end of file +function _0x1f91(){var _0x48addd=['265405hOdsaK','onJoinGroupNotify','709621UHOcpz','104846yOxqxV','jhsUT','onGroupStatisticInfoChange','uliwX','onGroupBulletinRemindNotify:','2646348kPUXpg','onGroupListUpdate:','onGroupNotifiesUnreadCountUpdated:','onMemberInfoChange','onGroupAllInfoChange:','onJoinGroupNotify:','onGroupNotifiesUpdated:','uWyZX','ZsWek','onSearchMemberChange:','yamsy','onJoinGroupNoVerifyFlag:','hbawF','onGroupDetailInfoChange:','2060775GaQKJl','onGroupDetailInfoChange','onGetGroupBulletinListResult','onGroupExtListUpdate','10gfMXhf','rPCuC','onGroupArkInviteStateResult','312XfitoR','QYllQ','onGroupStatisticInfoChange:','onShutUpMemberListChanged','onGroupBulletinRichMediaProgressUpdate','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRichMediaDownloadComplete','qvCSs','onGroupArkInviteStateResult:','2JgSOPC','onGroupBulletinChange','onGroupConfMemberChange','onGroupSingleScreenNotifies:','log','84jtMnLe','onGroupBulletinRichMediaProgressUpdate:','onGroupFirstBulletinNotify:','onMemberInfoChange:','onGroupAllInfoChange','9wTgUjA','onSearchMemberChange','onGroupMemberLevelInfoChange:','syoSz','NlJOG','onGroupListUpdate','onGroupExtListUpdate:','onGroupBulletinRichMediaDownloadComplete:','1610008lMyKSv','xUQej','oLEPr','onGroupsMsgMaskResult','onMemberListChange:','onGroupSingleScreenNotifies','onShutUpMemberListChanged:','onMemberListChange','onGroupMemberLevelInfoChange','onGroupBulletinRemindNotify','onGroupFirstBulletinNotify','1313073uiilup'];_0x1f91=function(){return _0x48addd;};return _0x1f91();}var _0x3a8ed4=_0x3e66;(function(_0x4816e1,_0x3cb48b){var _0x2bec6c=_0x3e66,_0x1233ff=_0x4816e1();while(!![]){try{var _0x29d7be=parseInt(_0x2bec6c(0x174))/0x1*(-parseInt(_0x2bec6c(0x19b))/0x2)+parseInt(_0x2bec6c(0x18b))/0x3+parseInt(_0x2bec6c(0x1a0))/0x4*(parseInt(_0x2bec6c(0x175))/0x5)+-parseInt(_0x2bec6c(0x192))/0x6*(-parseInt(_0x2bec6c(0x178))/0x7)+parseInt(_0x2bec6c(0x169))/0x8*(-parseInt(_0x2bec6c(0x1a5))/0x9)+-parseInt(_0x2bec6c(0x18f))/0xa*(parseInt(_0x2bec6c(0x177))/0xb)+-parseInt(_0x2bec6c(0x17d))/0xc;if(_0x29d7be===_0x3cb48b)break;else _0x1233ff['push'](_0x1233ff['shift']());}catch(_0x117099){_0x1233ff['push'](_0x1233ff['shift']());}}}(_0x1f91,0xbeb3e));function _0x3e66(_0x4fa9d1,_0x47bebb){var _0x1f911e=_0x1f91();return _0x3e66=function(_0x3e6619,_0x3fd335){_0x3e6619=_0x3e6619-0x163;var _0xeedbf6=_0x1f911e[_0x3e6619];return _0xeedbf6;},_0x3e66(_0x4fa9d1,_0x47bebb);}export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x3225c1){}[_0x3a8ed4(0x18d)](..._0xa72a70){}[_0x3a8ed4(0x1a4)](..._0x129648){}[_0x3a8ed4(0x19c)](..._0x1ccd58){}[_0x3a8ed4(0x172)](..._0x1e605a){}[_0x3a8ed4(0x191)](..._0x44995b){}[_0x3a8ed4(0x198)](..._0x5a88d3){}['onGroupConfMemberChange'](..._0xb38b0a){}[_0x3a8ed4(0x18c)](..._0x336274){}[_0x3a8ed4(0x18e)](..._0x25f53c){}[_0x3a8ed4(0x173)](..._0x344822){}['onGroupListUpdate'](_0x277a90,_0x487973){}['onGroupNotifiesUpdated'](_0x589425,_0x390806){}['onGroupBulletinRichMediaProgressUpdate'](..._0x342896){}[_0x3a8ed4(0x197)](..._0xb4fdbe){}['onGroupSingleScreenNotifies'](_0x531446,_0x5c9541,_0x2e4948){}['onGroupsMsgMaskResult'](..._0x600607){}['onGroupStatisticInfoChange'](..._0x4d7fad){}[_0x3a8ed4(0x176)](..._0x442353){}['onJoinGroupNoVerifyFlag'](..._0x5d85e8){}['onMemberInfoChange'](_0x1660c7,_0x9c7d70,_0x158b62){}[_0x3a8ed4(0x170)](_0xafa6d2){}[_0x3a8ed4(0x1a6)](..._0x48cb0b){}[_0x3a8ed4(0x195)](..._0x28a0b3){}}export class DebugGroupListener{[_0x3a8ed4(0x171)](..._0x1936de){var _0x78ea6=_0x3a8ed4,_0x363970={'QYllQ':_0x78ea6(0x163)};console[_0x78ea6(0x19f)](_0x363970[_0x78ea6(0x193)],..._0x1936de);}['onGetGroupBulletinListResult'](..._0x54793f){var _0x1824aa=_0x3a8ed4,_0x370698={'bvHpF':'onGetGroupBulletinListResult:'};console[_0x1824aa(0x19f)](_0x370698['bvHpF'],..._0x54793f);}[_0x3a8ed4(0x1a4)](..._0x51c8a8){var _0x27febd=_0x3a8ed4,_0x58ad6c={'jhsUT':_0x27febd(0x181)};console[_0x27febd(0x19f)](_0x58ad6c[_0x27febd(0x179)],..._0x51c8a8);}[_0x3a8ed4(0x19c)](..._0xb5edbb){var _0x98b7f0=_0x3a8ed4,_0x40ea5c={'syoSz':'onGroupBulletinChange:'};console[_0x98b7f0(0x19f)](_0x40ea5c[_0x98b7f0(0x164)],..._0xb5edbb);}['onGroupBulletinRemindNotify'](..._0x4c5e74){var _0x49f87e=_0x3a8ed4,_0x59f7dc={'oLEPr':_0x49f87e(0x17c)};console[_0x49f87e(0x19f)](_0x59f7dc[_0x49f87e(0x16b)],..._0x4c5e74);}[_0x3a8ed4(0x191)](..._0x3a15e5){var _0x52c5d7=_0x3a8ed4,_0x17cae9={'ZsWek':_0x52c5d7(0x19a)};console['log'](_0x17cae9[_0x52c5d7(0x185)],..._0x3a15e5);}[_0x3a8ed4(0x198)](..._0x35b47d){var _0x1c3d16=_0x3a8ed4;console[_0x1c3d16(0x19f)](_0x1c3d16(0x168),..._0x35b47d);}[_0x3a8ed4(0x19d)](..._0x44f9b9){var _0x43d065=_0x3a8ed4;console[_0x43d065(0x19f)]('onGroupConfMemberChange:',..._0x44f9b9);}['onGroupDetailInfoChange'](..._0x16bd11){var _0x1e9a00=_0x3a8ed4,_0xefc585={'yamsy':_0x1e9a00(0x18a)};console[_0x1e9a00(0x19f)](_0xefc585[_0x1e9a00(0x187)],..._0x16bd11);}[_0x3a8ed4(0x18e)](..._0x45ea34){var _0x1a827a=_0x3a8ed4,_0x21f01b={'uliwX':_0x1a827a(0x167)};console['log'](_0x21f01b[_0x1a827a(0x17b)],..._0x45ea34);}[_0x3a8ed4(0x173)](..._0x405c98){var _0x47da68=_0x3a8ed4,_0x59ee0d={'uWyZX':_0x47da68(0x1a2)};console[_0x47da68(0x19f)](_0x59ee0d[_0x47da68(0x184)],..._0x405c98);}[_0x3a8ed4(0x166)](..._0x355c18){var _0x26451c=_0x3a8ed4,_0x5f08fc={'HRUFb':_0x26451c(0x17e)};console[_0x26451c(0x19f)](_0x5f08fc['HRUFb'],..._0x355c18);}['onGroupNotifiesUpdated'](..._0xd0c01c){var _0x103315=_0x3a8ed4;console[_0x103315(0x19f)](_0x103315(0x183),..._0xd0c01c);}[_0x3a8ed4(0x196)](..._0x43e564){var _0xe23798=_0x3a8ed4,_0x168b3d={'qvCSs':_0xe23798(0x1a1)};console['log'](_0x168b3d[_0xe23798(0x199)],..._0x43e564);}[_0x3a8ed4(0x197)](..._0x1f9b79){var _0x182cb8=_0x3a8ed4;console[_0x182cb8(0x19f)](_0x182cb8(0x17f),..._0x1f9b79);}[_0x3a8ed4(0x16e)](_0x5a9be8,_0x4ee41c,_0x156221){var _0x3da64e=_0x3a8ed4,_0x13c1cb={'DyaEA':_0x3da64e(0x19e)};console['log'](_0x13c1cb['DyaEA']);}[_0x3a8ed4(0x16c)](..._0x304ffc){var _0x4b23b3=_0x3a8ed4,_0x362d45={'hbawF':'onGroupsMsgMaskResult:'};console[_0x4b23b3(0x19f)](_0x362d45[_0x4b23b3(0x189)],..._0x304ffc);}[_0x3a8ed4(0x17a)](..._0x179ac8){var _0x2ec1ef=_0x3a8ed4,_0xf1c6b5={'NlJOG':_0x2ec1ef(0x194)};console[_0x2ec1ef(0x19f)](_0xf1c6b5[_0x2ec1ef(0x165)],..._0x179ac8);}[_0x3a8ed4(0x176)](..._0x3776e9){var _0x584463=_0x3a8ed4,_0x1cf3e2={'xUQej':_0x584463(0x182)};console[_0x584463(0x19f)](_0x1cf3e2[_0x584463(0x16a)],..._0x3776e9);}['onJoinGroupNoVerifyFlag'](..._0x6764e9){var _0x50c582=_0x3a8ed4;console[_0x50c582(0x19f)](_0x50c582(0x188),..._0x6764e9);}[_0x3a8ed4(0x180)](_0x433988,_0x5c781f,_0x23d47a){var _0x544d3b=_0x3a8ed4,_0x3483a7={'LabFB':_0x544d3b(0x1a3)};console[_0x544d3b(0x19f)](_0x3483a7['LabFB'],_0x433988,_0x5c781f,_0x23d47a);}[_0x3a8ed4(0x170)](..._0x4a4209){var _0x3563bb=_0x3a8ed4;console[_0x3563bb(0x19f)](_0x3563bb(0x16d),..._0x4a4209);}['onSearchMemberChange'](..._0x31bcb3){var _0x3c3533=_0x3a8ed4;console[_0x3c3533(0x19f)](_0x3c3533(0x186),..._0x31bcb3);}[_0x3a8ed4(0x195)](..._0x17a2f9){var _0x383a92=_0x3a8ed4,_0x5bf7d1={'rPCuC':_0x383a92(0x16f)};console[_0x383a92(0x19f)](_0x5bf7d1[_0x383a92(0x190)],..._0x17a2f9);}} \ 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 83b0c10d..52a1618d 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x1710a4=_0x353e;(function(_0x489318,_0x2693fc){var _0x2ca3d8=_0x353e,_0x745ee3=_0x489318();while(!![]){try{var _0x4c7ccb=parseInt(_0x2ca3d8(0x1d1))/0x1*(parseInt(_0x2ca3d8(0x1c7))/0x2)+parseInt(_0x2ca3d8(0x1d4))/0x3+-parseInt(_0x2ca3d8(0x1d3))/0x4*(parseInt(_0x2ca3d8(0x1c9))/0x5)+-parseInt(_0x2ca3d8(0x1c6))/0x6*(-parseInt(_0x2ca3d8(0x1cb))/0x7)+parseInt(_0x2ca3d8(0x1ca))/0x8+-parseInt(_0x2ca3d8(0x1d6))/0x9+-parseInt(_0x2ca3d8(0x1c3))/0xa*(parseInt(_0x2ca3d8(0x1cf))/0xb);if(_0x4c7ccb===_0x2693fc)break;else _0x745ee3['push'](_0x745ee3['shift']());}catch(_0x209606){_0x745ee3['push'](_0x745ee3['shift']());}}}(_0x2c07,0xcdc46));function _0x2c07(){var _0x4595e6=['1846107cHprYI','OnConfirmUnusualDeviceFailed','onLoginConnecting','onQRCodeSessionQuickLoginFailed','onQQLoginNumLimited','onQRCodeGetPicture','1739370IrbWMO','onLogoutSucceed','onLogoutFailed','14142lEBnoL','74WQALXh','onLoginFailed','1518565EvoEtn','2985336whwQHp','3997MDGjEU','onQRCodeLoginPollingStarted','onLoginConnected','onQRCodeLoginSucceed','22lOvBQN','onLoginDisConnected','589OmjusZ','onUserLoggedIn','12zWBFRo','1698453RxPAic','onQRCodeSessionUserScaned'];_0x2c07=function(){return _0x4595e6;};return _0x2c07();}function _0x353e(_0x9fbaf4,_0x2ece06){var _0x2c0768=_0x2c07();return _0x353e=function(_0x353eba,_0x252f03){_0x353eba=_0x353eba-0x1c1;var _0x2ca9e9=_0x2c0768[_0x353eba];return _0x2ca9e9;},_0x353e(_0x9fbaf4,_0x2ece06);}export class LoginListener{[_0x1710a4(0x1cd)](..._0x5c339b){}[_0x1710a4(0x1d0)](..._0x24883a){}[_0x1710a4(0x1d8)](..._0x353da6){}[_0x1710a4(0x1c2)](_0x228828){}[_0x1710a4(0x1cc)](..._0x43ad29){}[_0x1710a4(0x1d5)](..._0x35d72d){}[_0x1710a4(0x1ce)](_0x5ee666){}['onQRCodeSessionFailed'](..._0x3533c9){}[_0x1710a4(0x1c8)](..._0x466ecc){}[_0x1710a4(0x1c4)](..._0x39c92d){}[_0x1710a4(0x1c5)](..._0x21b0a9){}[_0x1710a4(0x1d2)](..._0x2109fb){}[_0x1710a4(0x1d9)](..._0x3edeec){}['onPasswordLoginFailed'](..._0x42603f){}[_0x1710a4(0x1d7)](..._0x213d59){}[_0x1710a4(0x1c1)](..._0x5610ee){}['onLoginState'](..._0x50031b){}} \ No newline at end of file +var _0xa2356=_0x1812;function _0x1812(_0x2fc721,_0x3c30e1){var _0x4893f0=_0x4893();return _0x1812=function(_0x181276,_0x2505f7){_0x181276=_0x181276-0x13b;var _0x3f4b28=_0x4893f0[_0x181276];return _0x3f4b28;},_0x1812(_0x2fc721,_0x3c30e1);}(function(_0x2e7765,_0x427a4e){var _0x240e40=_0x1812,_0x7d8325=_0x2e7765();while(!![]){try{var _0x1312c7=-parseInt(_0x240e40(0x14a))/0x1*(-parseInt(_0x240e40(0x140))/0x2)+parseInt(_0x240e40(0x13b))/0x3+parseInt(_0x240e40(0x14b))/0x4+parseInt(_0x240e40(0x14c))/0x5+parseInt(_0x240e40(0x150))/0x6*(-parseInt(_0x240e40(0x145))/0x7)+parseInt(_0x240e40(0x13e))/0x8*(-parseInt(_0x240e40(0x151))/0x9)+parseInt(_0x240e40(0x13f))/0xa;if(_0x1312c7===_0x427a4e)break;else _0x7d8325['push'](_0x7d8325['shift']());}catch(_0x47e977){_0x7d8325['push'](_0x7d8325['shift']());}}}(_0x4893,0x83939));export class LoginListener{[_0xa2356(0x14e)](..._0x57cc08){}[_0xa2356(0x146)](..._0x147b19){}[_0xa2356(0x149)](..._0x3760ff){}[_0xa2356(0x141)](_0x446318){}['onQRCodeLoginPollingStarted'](..._0x4b0086){}[_0xa2356(0x13d)](..._0x5e9694){}[_0xa2356(0x144)](_0x277ea7){}[_0xa2356(0x152)](..._0x426962){}[_0xa2356(0x13c)](..._0x3cf1bf){}[_0xa2356(0x14d)](..._0x23c07e){}[_0xa2356(0x147)](..._0x5e763e){}['onUserLoggedIn'](..._0x210967){}[_0xa2356(0x14f)](..._0x43dcdc){}[_0xa2356(0x148)](..._0x44e7f5){}[_0xa2356(0x142)](..._0x4e81aa){}[_0xa2356(0x143)](..._0x4d4fa9){}['onLoginState'](..._0x5796f0){}}function _0x4893(){var _0x15c6ff=['onLoginConnected','onQRCodeSessionQuickLoginFailed','365160itXJnN','9HCoYjP','onQRCodeSessionFailed','532374lPUmQs','onLoginFailed','onQRCodeSessionUserScaned','7409712BfKggS','4564210idDxEI','906442SqFCTB','onQRCodeGetPicture','OnConfirmUnusualDeviceFailed','onQQLoginNumLimited','onQRCodeLoginSucceed','35USOLdB','onLoginDisConnected','onLogoutFailed','onPasswordLoginFailed','onLoginConnecting','1DzrbFc','1539064gkcFYW','1487925liEfAB','onLogoutSucceed'];_0x4893=function(){return _0x15c6ff;};return _0x4893();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 5d7513c0..22c64ea7 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x1615(){var _0x4a5fb9=['onUserOnlineStatusChanged','1689678RWyAmA','onMsgWithRichLinkInfoUpdate','onRichMediaUploadComplete','onNtMsgSyncStart','onFirstViewGroupGuildMapping','onChannelFreqLimitInfoUpdate','onMsgEventListUpdate','onGroupGuildUpdate','onMsgInfoListAdd','onlineStatusBigIconDownloadPush','onReadFeedEventUpdate','2691999cLjGJk','onRedTouchChanged','onRecvMsgSvrRspTransInfo','6XQSQtR','onHitCsRelatedEmojiResult','onMsgInfoListUpdate','onGuildInteractiveUpdate','onContactUnreadCntUpdate','2052046gnglfk','onGroupFileInfoAdd','onCustomWithdrawConfigUpdate','onInputStatusPush','onNtFirstViewMsgSyncEnd','onMsgSecurityNotify','onSendMsgError','onGroupTransferInfoAdd','onFeedEventUpdate','2485535MiSpIT','onImportOldDbProgressUpdate','onlineStatusSmallIconDownloadPush','37744164XFXpCd','4RBNBok','onMsgRecall','onKickedOffLine','onUnreadCntUpdate','onHitEmojiKeywordResult','onSearchGroupFileInfoUpdate','onBroadcastHelperProgressUpdate','onRecvOnlineFileMsg','onFileMsgCome','onEmojiResourceUpdate','onGrabPasswordRedBag','onBroadcastHelperDownloadComplete','onSysMsgNotification','onRichMediaProgerssUpdate','onRecvSysMsg','onAddSendMsg','onMsgQRCodeStatusChanged','onRecvGroupGuildFlag','onLineDev','onMsgDelete','1000536NfGJiI','9127209nkatKT','onNtMsgSyncEnd','onGuildNotificationAbstractUpdate','onRichMediaDownloadComplete','onMsgAbstractUpdate'];_0x1615=function(){return _0x4a5fb9;};return _0x1615();}function _0x1015(_0x2c650e,_0x3fdf65){var _0x161524=_0x1615();return _0x1015=function(_0x10157f,_0x2b7ea3){_0x10157f=_0x10157f-0x74;var _0x13d5ad=_0x161524[_0x10157f];return _0x13d5ad;},_0x1015(_0x2c650e,_0x3fdf65);}var _0x50d6e8=_0x1015;(function(_0x10ec92,_0x32aef6){var _0x16b975=_0x1015,_0x2e4269=_0x10ec92();while(!![]){try{var _0x20aabd=-parseInt(_0x16b975(0x9c))/0x1+parseInt(_0x16b975(0x74))/0x2+-parseInt(_0x16b975(0xa7))/0x3*(parseInt(_0x16b975(0x81))/0x4)+-parseInt(_0x16b975(0x7d))/0x5+-parseInt(_0x16b975(0xaa))/0x6*(parseInt(_0x16b975(0x96))/0x7)+parseInt(_0x16b975(0x95))/0x8+parseInt(_0x16b975(0x80))/0x9;if(_0x20aabd===_0x32aef6)break;else _0x2e4269['push'](_0x2e4269['shift']());}catch(_0x5acf87){_0x2e4269['push'](_0x2e4269['shift']());}}}(_0x1615,0xe99d1));export class MsgListener{[_0x50d6e8(0x90)](_0x34bf0f){}[_0x50d6e8(0x8c)](_0x311ac6){}[_0x50d6e8(0x87)](_0x3a3c06){}[_0x50d6e8(0xa1)](_0x45de5d,_0xce39d9,_0x43916c){}[_0x50d6e8(0xae)](_0x5bb0be){}[_0x50d6e8(0x76)](_0x2f8c9a){}['onDraftUpdate'](_0x3c4bdf,_0x111ce0,_0x364298){}['onEmojiDownloadComplete'](_0x5ca972){}[_0x50d6e8(0x8a)](_0x39eb7d){}[_0x50d6e8(0x7c)](_0x7d1b9f){}[_0x50d6e8(0x89)](_0x4f6c40){}['onFirstViewDirectMsgUpdate'](_0x5d365b){}[_0x50d6e8(0xa0)](_0x5b95f2){}[_0x50d6e8(0x8b)](_0x1d3a99,_0x1dd2fe,_0x3a8b15,_0x521fcc,_0x2b67f1){}[_0x50d6e8(0x75)](_0x173598){}['onGroupFileInfoUpdate'](_0x3cc72f){}[_0x50d6e8(0xa3)](_0xe521c7){}[_0x50d6e8(0x7b)](_0x30d860){}['onGroupTransferInfoUpdate'](_0x17accf){}[_0x50d6e8(0xad)](_0x11a024){}['onGuildMsgAbFlagChanged'](_0x287b42){}[_0x50d6e8(0x98)](_0x2cfcdf){}[_0x50d6e8(0xab)](_0x204a93){}[_0x50d6e8(0x85)](_0x2548e3){}['onHitRelatedEmojiResult'](_0x2e5a25){}[_0x50d6e8(0x7e)](_0xb17bec){}[_0x50d6e8(0x77)](_0x231e07){}[_0x50d6e8(0x83)](_0x3747c5){}[_0x50d6e8(0x93)](_0x5b59ae){}['onLogLevelChanged'](_0x2adc27){}[_0x50d6e8(0x9a)](_0x1f3559){}['onMsgBoxChanged'](_0x478b19){}[_0x50d6e8(0x94)](_0x572893,_0x130968){}[_0x50d6e8(0xa2)](_0x5f4835){}[_0x50d6e8(0xa4)](_0x283323){}[_0x50d6e8(0xac)](_0x5b4d7d){}[_0x50d6e8(0x91)](_0x83978){}[_0x50d6e8(0x82)](_0xdd8889,_0x4a5de2,_0x3b41f0){}[_0x50d6e8(0x79)](_0x43c812){}['onMsgSettingUpdate'](_0x5c1786){}[_0x50d6e8(0x78)](){}[_0x50d6e8(0x97)](){}[_0x50d6e8(0x9f)](){}[_0x50d6e8(0xa6)](_0x26c507){}[_0x50d6e8(0x92)](_0x5b5213){}['onRecvMsg'](_0x5bf9ab){}[_0x50d6e8(0xa9)](_0x2195ef,_0x3fa329,_0x36a5d3,_0x358843,_0x26bb7d,_0x3ea5e2){}[_0x50d6e8(0x88)](_0x6e4df7){}['onRecvS2CMsg'](_0x2a45a7){}[_0x50d6e8(0x8f)](_0x186b3f){}['onRecvUDCFlag'](_0x37048a){}[_0x50d6e8(0x99)](_0x5126b3){}[_0x50d6e8(0x8e)](_0x3db45e){}[_0x50d6e8(0x9e)](_0x573e92){}[_0x50d6e8(0x86)](_0x296883){}[_0x50d6e8(0x7a)](_0x3887e,_0x1f7017,_0x22a7a9,_0x1c353e){}[_0x50d6e8(0x8d)](_0x4adc22,_0x2ff7e3,_0xe5bf34,_0x252beb){}['onTempChatInfoUpdate'](_0x9146b9){}['onUnreadCntAfterFirstView'](_0x4d5174){}[_0x50d6e8(0x84)](_0x28cffe){}['onUserChannelTabStatusChanged'](_0x419c04){}[_0x50d6e8(0x9b)](_0x14d93c){}['onUserTabStatusChanged'](_0x884011){}[_0x50d6e8(0xa5)](_0x1f4ebe,_0x4712af,_0x1d5a43){}[_0x50d6e8(0x7f)](_0x1a96b9,_0x1e4d27,_0x523188){}['onUserSecQualityChanged'](..._0x35e09a){}[_0x50d6e8(0x9d)](..._0x470ebf){}[_0x50d6e8(0xa8)](..._0x4e1f12){}['onBroadcastHelperProgerssUpdate'](..._0x2ae36b){}} \ No newline at end of file +var _0xc80aa6=_0x116d;(function(_0x316f84,_0x357552){var _0x1ec1a4=_0x116d,_0x371c77=_0x316f84();while(!![]){try{var _0x4e5b83=parseInt(_0x1ec1a4(0x120))/0x1*(parseInt(_0x1ec1a4(0x114))/0x2)+-parseInt(_0x1ec1a4(0x118))/0x3*(parseInt(_0x1ec1a4(0x13a))/0x4)+parseInt(_0x1ec1a4(0x140))/0x5+parseInt(_0x1ec1a4(0x117))/0x6+parseInt(_0x1ec1a4(0x12c))/0x7*(parseInt(_0x1ec1a4(0x125))/0x8)+parseInt(_0x1ec1a4(0x145))/0x9*(parseInt(_0x1ec1a4(0x12d))/0xa)+-parseInt(_0x1ec1a4(0x13e))/0xb;if(_0x4e5b83===_0x357552)break;else _0x371c77['push'](_0x371c77['shift']());}catch(_0x37a06d){_0x371c77['push'](_0x371c77['shift']());}}}(_0x11d4,0xdb10a));export class MsgListener{['onAddSendMsg'](_0x305718){}[_0xc80aa6(0x141)](_0x3f10d6){}['onBroadcastHelperProgressUpdate'](_0x37731b){}[_0xc80aa6(0x123)](_0x1e09c1,_0x5aea6a,_0xf42aaa){}[_0xc80aa6(0x126)](_0x2e6867){}[_0xc80aa6(0x116)](_0x4b48b9){}[_0xc80aa6(0x128)](_0x28ec20,_0x1ff8b3,_0x563b9f){}['onEmojiDownloadComplete'](_0x1d82be){}['onEmojiResourceUpdate'](_0x57f39c){}[_0xc80aa6(0x12a)](_0x5693ae){}[_0xc80aa6(0x122)](_0x352528){}[_0xc80aa6(0x12e)](_0x471f7b){}[_0xc80aa6(0x11b)](_0x1dd51e){}[_0xc80aa6(0x127)](_0x21a380,_0x3d3f8b,_0x7bfffa,_0xe8967,_0x54200d){}[_0xc80aa6(0x115)](_0x11d7bb){}['onGroupFileInfoUpdate'](_0x355588){}[_0xc80aa6(0x11d)](_0x14ca94){}['onGroupTransferInfoAdd'](_0x13263c){}[_0xc80aa6(0x11f)](_0x31f4b3){}[_0xc80aa6(0x135)](_0x14195f){}['onGuildMsgAbFlagChanged'](_0xcba814){}['onGuildNotificationAbstractUpdate'](_0x2a7797){}[_0xc80aa6(0x112)](_0x965426){}[_0xc80aa6(0x129)](_0x5f5573){}['onHitRelatedEmojiResult'](_0x44461b){}['onImportOldDbProgressUpdate'](_0x5ca662){}[_0xc80aa6(0x121)](_0x510120){}[_0xc80aa6(0x139)](_0x1ff138){}['onLineDev'](_0x587bed){}['onLogLevelChanged'](_0x12e002){}[_0xc80aa6(0x119)](_0x503fc1){}[_0xc80aa6(0x11c)](_0x25444f){}[_0xc80aa6(0x124)](_0x50fac9,_0x43f670){}['onMsgEventListUpdate'](_0x3fdb0f){}['onMsgInfoListAdd'](_0x1d388d){}['onMsgInfoListUpdate'](_0x37a97d){}[_0xc80aa6(0x12f)](_0x408fd7){}[_0xc80aa6(0x13c)](_0x13527a,_0x1dbb9e,_0x3e11da){}['onMsgSecurityNotify'](_0x299a92){}[_0xc80aa6(0x131)](_0x38c142){}[_0xc80aa6(0x146)](){}['onNtMsgSyncEnd'](){}[_0xc80aa6(0x13d)](){}['onReadFeedEventUpdate'](_0x626467){}[_0xc80aa6(0x142)](_0x13bba5){}[_0xc80aa6(0x132)](_0x8befc){}[_0xc80aa6(0x113)](_0x1dd64a,_0x1d7b6f,_0x301825,_0x3bc2e6,_0x19eee3,_0x2126a8){}[_0xc80aa6(0x133)](_0x2e90ea){}[_0xc80aa6(0x13f)](_0x48dcfd){}[_0xc80aa6(0x13b)](_0x4a4a26){}[_0xc80aa6(0x137)](_0x17c958){}[_0xc80aa6(0x136)](_0x1ad6df){}['onRichMediaProgerssUpdate'](_0x5dc13a){}[_0xc80aa6(0x144)](_0x5c36fc){}[_0xc80aa6(0x138)](_0x3f8352){}['onSendMsgError'](_0x31a7d1,_0x591356,_0x1da589,_0x452620){}[_0xc80aa6(0x12b)](_0x1ca615,_0x6f94,_0x4bd245,_0x43ac67){}['onTempChatInfoUpdate'](_0x5d5e62){}['onUnreadCntAfterFirstView'](_0x209580){}[_0xc80aa6(0x11e)](_0x2d5394){}[_0xc80aa6(0x134)](_0x1b9624){}['onUserOnlineStatusChanged'](_0xf02bd8){}['onUserTabStatusChanged'](_0x516fc6){}[_0xc80aa6(0x11a)](_0x38b573,_0x57bdac,_0xf50818){}[_0xc80aa6(0x143)](_0x53dd05,_0x57331a,_0x32d659){}['onUserSecQualityChanged'](..._0x4d54e9){}['onMsgWithRichLinkInfoUpdate'](..._0x4c9c6f){}['onRedTouchChanged'](..._0x6217c3){}[_0xc80aa6(0x130)](..._0x2cc693){}}function _0x116d(_0x37176e,_0x2aa8c6){var _0x11d433=_0x11d4();return _0x116d=function(_0x116d0f,_0x552761){_0x116d0f=_0x116d0f-0x112;var _0x11b839=_0x11d433[_0x116d0f];return _0x11b839;},_0x116d(_0x37176e,_0x2aa8c6);}function _0x11d4(){var _0x29be0f=['onDraftUpdate','onHitEmojiKeywordResult','onFeedEventUpdate','onSysMsgNotification','20426anlBcl','30Ngtsrz','onFirstViewDirectMsgUpdate','onMsgQRCodeStatusChanged','onBroadcastHelperProgerssUpdate','onMsgSettingUpdate','onRecvMsg','onRecvOnlineFileMsg','onUserChannelTabStatusChanged','onGuildInteractiveUpdate','onRichMediaDownloadComplete','onRecvUDCFlag','onSearchGroupFileInfoUpdate','onKickedOffLine','24qiOpOb','onRecvSysMsg','onMsgRecall','onNtMsgSyncStart','47983430uLEban','onRecvS2CMsg','4475230JSnQbF','onBroadcastHelperDownloadComplete','onRecvGroupGuildFlag','onlineStatusSmallIconDownloadPush','onRichMediaUploadComplete','2659203tsJADp','onNtFirstViewMsgSyncEnd','onHitCsRelatedEmojiResult','onRecvMsgSvrRspTransInfo','196424GXTnqw','onGroupFileInfoAdd','onCustomWithdrawConfigUpdate','7102242piDvMs','406956ipXrnv','onMsgAbstractUpdate','onlineStatusBigIconDownloadPush','onFirstViewGroupGuildMapping','onMsgBoxChanged','onGroupGuildUpdate','onUnreadCntUpdate','onGroupTransferInfoUpdate','17MXrkLf','onInputStatusPush','onFileMsgCome','onChannelFreqLimitInfoUpdate','onMsgDelete','3944mKxkFh','onContactUnreadCntUpdate','onGrabPasswordRedBag'];_0x11d4=function(){return _0x29be0f;};return _0x11d4();} \ 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 2de2c53a..4267fa9d 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x5563(){var _0x1c9b75=['826810kVUAcV','1nnBHGK','1527666OIHNNL','60aYmnOn','onStrangerRemarkChanged','86656fFIydA','7922173HpXOTi','2219480sueslF','145252UXDTax','onStatusUpdate','12aAfULk','432FwOCFL','30187487pUyXzr','onProfileDetailInfoChanged','12PsucpY'];_0x5563=function(){return _0x1c9b75;};return _0x5563();}function _0x26d5(_0x2f818b,_0x1fa881){var _0x556301=_0x5563();return _0x26d5=function(_0x26d59a,_0x38ee64){_0x26d59a=_0x26d59a-0x171;var _0x4e2347=_0x556301[_0x26d59a];return _0x4e2347;},_0x26d5(_0x2f818b,_0x1fa881);}var _0x52517b=_0x26d5;(function(_0x198bb1,_0x3da096){var _0x3581a9=_0x26d5,_0x35734d=_0x198bb1();while(!![]){try{var _0x1021bc=-parseInt(_0x3581a9(0x174))/0x1*(parseInt(_0x3581a9(0x175))/0x2)+parseInt(_0x3581a9(0x176))/0x3*(-parseInt(_0x3581a9(0x17b))/0x4)+parseInt(_0x3581a9(0x17a))/0x5*(parseInt(_0x3581a9(0x17d))/0x6)+-parseInt(_0x3581a9(0x179))/0x7+parseInt(_0x3581a9(0x178))/0x8*(-parseInt(_0x3581a9(0x17e))/0x9)+parseInt(_0x3581a9(0x173))/0xa+-parseInt(_0x3581a9(0x17f))/0xb*(-parseInt(_0x3581a9(0x172))/0xc);if(_0x1021bc===_0x3da096)break;else _0x35734d['push'](_0x35734d['shift']());}catch(_0x53629a){_0x35734d['push'](_0x35734d['shift']());}}}(_0x5563,0x8be5e));export class ProfileListener{['onProfileSimpleChanged'](..._0x245b82){}[_0x52517b(0x171)](_0x36b1a3){}[_0x52517b(0x17c)](..._0x5e9070){}['onSelfStatusChanged'](..._0x2dd499){}[_0x52517b(0x177)](..._0x2d79dd){}} \ No newline at end of file +function _0xfbd8(_0x5c0468,_0x2a7b33){var _0x211409=_0x2114();return _0xfbd8=function(_0xfbd839,_0x56b06e){_0xfbd839=_0xfbd839-0xaf;var _0x267906=_0x211409[_0xfbd839];return _0x267906;},_0xfbd8(_0x5c0468,_0x2a7b33);}var _0x15700c=_0xfbd8;function _0x2114(){var _0x3bf7b1=['381033zWMlpt','80GGzeTI','onStrangerRemarkChanged','onProfileSimpleChanged','onProfileDetailInfoChanged','5229091oefZgE','11814CdHHQM','5570MvoDtC','34ZCXooj','1740828UWAYhC','47318Klbeza','240552Uqtufu','onStatusUpdate','onSelfStatusChanged','24qbECiM','1483560RaPEGl'];_0x2114=function(){return _0x3bf7b1;};return _0x2114();}(function(_0x51ec55,_0x1128a0){var _0x7c9eea=_0xfbd8,_0x3b1299=_0x51ec55();while(!![]){try{var _0x5ed936=parseInt(_0x7c9eea(0xbb))/0x1*(-parseInt(_0x7c9eea(0xb9))/0x2)+parseInt(_0x7c9eea(0xba))/0x3+parseInt(_0x7c9eea(0xbc))/0x4*(parseInt(_0x7c9eea(0xb2))/0x5)+-parseInt(_0x7c9eea(0xb0))/0x6+parseInt(_0x7c9eea(0xb6))/0x7+parseInt(_0x7c9eea(0xaf))/0x8*(-parseInt(_0x7c9eea(0xb1))/0x9)+parseInt(_0x7c9eea(0xb8))/0xa*(-parseInt(_0x7c9eea(0xb7))/0xb);if(_0x5ed936===_0x1128a0)break;else _0x3b1299['push'](_0x3b1299['shift']());}catch(_0x290456){_0x3b1299['push'](_0x3b1299['shift']());}}}(_0x2114,0x7d25a));export class ProfileListener{[_0x15700c(0xb4)](..._0x3bcd29){}[_0x15700c(0xb5)](_0x3e95be){}[_0x15700c(0xbd)](..._0x521d48){}[_0x15700c(0xbe)](..._0x54bf0d){}[_0x15700c(0xb3)](..._0x55c6e1){}} \ 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 8708b896..8a4afc96 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x600924=_0x4078;function _0x4078(_0x1941dd,_0x100406){var _0x47f75e=_0x47f7();return _0x4078=function(_0x40781e,_0x5cc22a){_0x40781e=_0x40781e-0x8f;var _0x13b88b=_0x47f75e[_0x40781e];return _0x13b88b;},_0x4078(_0x1941dd,_0x100406);}(function(_0x388087,_0xfea8b4){var _0x5b27a5=_0x4078,_0x4a331f=_0x388087();while(!![]){try{var _0x4532af=-parseInt(_0x5b27a5(0x90))/0x1+-parseInt(_0x5b27a5(0x9a))/0x2+parseInt(_0x5b27a5(0x97))/0x3*(parseInt(_0x5b27a5(0x92))/0x4)+-parseInt(_0x5b27a5(0x96))/0x5*(-parseInt(_0x5b27a5(0x99))/0x6)+parseInt(_0x5b27a5(0x95))/0x7+-parseInt(_0x5b27a5(0x94))/0x8*(parseInt(_0x5b27a5(0x98))/0x9)+parseInt(_0x5b27a5(0x8f))/0xa;if(_0x4532af===_0xfea8b4)break;else _0x4a331f['push'](_0x4a331f['shift']());}catch(_0x55d808){_0x4a331f['push'](_0x4a331f['shift']());}}}(_0x47f7,0xc3de5));export class KernelRobotListener{[_0x600924(0x9b)](..._0xcd348b){}[_0x600924(0x91)](..._0x5c26ad){}[_0x600924(0x93)](..._0x4a3cce){}}function _0x47f7(){var _0x3d8dc8=['216450AJoDtx','38313wypLUr','66ykagUF','1627300jEctrV','onRobotFriendListChanged','15808830pFjXPg','602920UooWqg','onRobotListChanged','4SjOMzM','onRobotProfileChanged','48ibrnJM','1389437ibgOZB','178575uLsLcJ'];_0x47f7=function(){return _0x3d8dc8;};return _0x47f7();} \ No newline at end of file +var _0xe48bca=_0x71b5;function _0x1522(){var _0x17c738=['1264032TDEltb','1747792DjCPnF','2519605EdcSVD','323621nJikuz','2813928MBLvIe','2523684bhPlox','onRobotListChanged','1149465NblMMm','onRobotProfileChanged','onRobotFriendListChanged','2KcyLBV'];_0x1522=function(){return _0x17c738;};return _0x1522();}function _0x71b5(_0x3fa398,_0x2ef7e5){var _0x1522f5=_0x1522();return _0x71b5=function(_0x71b513,_0x7c985f){_0x71b513=_0x71b513-0x177;var _0x3424f8=_0x1522f5[_0x71b513];return _0x3424f8;},_0x71b5(_0x3fa398,_0x2ef7e5);}(function(_0x3a7d3a,_0x431e44){var _0x4179ee=_0x71b5,_0x1dec0b=_0x3a7d3a();while(!![]){try{var _0x44cb46=-parseInt(_0x4179ee(0x180))/0x1*(-parseInt(_0x4179ee(0x17c))/0x2)+-parseInt(_0x4179ee(0x179))/0x3+parseInt(_0x4179ee(0x17e))/0x4+parseInt(_0x4179ee(0x17f))/0x5+-parseInt(_0x4179ee(0x177))/0x6+parseInt(_0x4179ee(0x17d))/0x7+-parseInt(_0x4179ee(0x181))/0x8;if(_0x44cb46===_0x431e44)break;else _0x1dec0b['push'](_0x1dec0b['shift']());}catch(_0x4b234d){_0x1dec0b['push'](_0x1dec0b['shift']());}}}(_0x1522,0x46b14));export class KernelRobotListener{[_0xe48bca(0x17b)](..._0x136277){}[_0xe48bca(0x178)](..._0x175403){}[_0xe48bca(0x17a)](..._0xe43d59){}} \ 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 28f6c49c..21dcf2da 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x3c10(_0x4d95da,_0x13fcef){var _0x33391c=_0x3339();return _0x3c10=function(_0x3c10bc,_0xdf145a){_0x3c10bc=_0x3c10bc-0x119;var _0x55862f=_0x33391c[_0x3c10bc];return _0x55862f;},_0x3c10(_0x4d95da,_0x13fcef);}function _0x3339(){var _0x117ad4=['37460ogDLDM','onGetSelfTinyId','6730oZwuPv','357860GNHEuR','537xNopvb','39HQqTuP','onOpentelemetryInit','onSessionInitComplete','onNTSessionCreate','2lHmpqI','440bDfhAt','11772495JiKslY','7758hYpWay','24771828kIkKiz','77rdSlXZ','177296hJzImW','1082319yhRwtU'];_0x3339=function(){return _0x117ad4;};return _0x3339();}var _0x51d4b2=_0x3c10;(function(_0x14a6a2,_0x394cd9){var _0x809cb=_0x3c10,_0x235395=_0x14a6a2();while(!![]){try{var _0x1ed245=parseInt(_0x809cb(0x127))/0x1*(parseInt(_0x809cb(0x120))/0x2)+-parseInt(_0x809cb(0x11b))/0x3*(parseInt(_0x809cb(0x128))/0x4)+-parseInt(_0x809cb(0x119))/0x5*(parseInt(_0x809cb(0x123))/0x6)+-parseInt(_0x809cb(0x126))/0x7*(parseInt(_0x809cb(0x121))/0x8)+-parseInt(_0x809cb(0x122))/0x9+parseInt(_0x809cb(0x11a))/0xa*(-parseInt(_0x809cb(0x125))/0xb)+parseInt(_0x809cb(0x124))/0xc*(parseInt(_0x809cb(0x11c))/0xd);if(_0x1ed245===_0x394cd9)break;else _0x235395['push'](_0x235395['shift']());}catch(_0xfc258c){_0x235395['push'](_0x235395['shift']());}}}(_0x3339,0xdd6d6));export class SessionListener{[_0x51d4b2(0x11f)](_0x300674){}['onGProSessionCreate'](_0x562a6c){}[_0x51d4b2(0x11e)](_0x3dc21b){}[_0x51d4b2(0x11d)](_0x396a3f){}['onUserOnlineResult'](_0xdb546b){}[_0x51d4b2(0x129)](_0x20054b){}} \ No newline at end of file +var _0x2205b5=_0x31e0;(function(_0x5467dd,_0x26d6f4){var _0x1476ab=_0x31e0,_0x58a672=_0x5467dd();while(!![]){try{var _0x4b78b1=-parseInt(_0x1476ab(0xb1))/0x1+parseInt(_0x1476ab(0xaf))/0x2+parseInt(_0x1476ab(0xae))/0x3*(parseInt(_0x1476ab(0xba))/0x4)+parseInt(_0x1476ab(0xad))/0x5*(-parseInt(_0x1476ab(0xb3))/0x6)+parseInt(_0x1476ab(0xb7))/0x7+parseInt(_0x1476ab(0xb8))/0x8*(parseInt(_0x1476ab(0xb6))/0x9)+-parseInt(_0x1476ab(0xb0))/0xa;if(_0x4b78b1===_0x26d6f4)break;else _0x58a672['push'](_0x58a672['shift']());}catch(_0x5cc9f7){_0x58a672['push'](_0x58a672['shift']());}}}(_0x51c5,0x5ef41));export class SessionListener{[_0x2205b5(0xbb)](_0x2f3956){}[_0x2205b5(0xb9)](_0x5c69e7){}[_0x2205b5(0xb5)](_0x2ba17e){}[_0x2205b5(0xb2)](_0x193916){}[_0x2205b5(0xac)](_0x24444c){}[_0x2205b5(0xb4)](_0x59c568){}}function _0x31e0(_0x1a634c,_0xde3cd){var _0x51c53a=_0x51c5();return _0x31e0=function(_0x31e0a9,_0x34a4b4){_0x31e0a9=_0x31e0a9-0xac;var _0xed7775=_0x51c53a[_0x31e0a9];return _0xed7775;},_0x31e0(_0x1a634c,_0xde3cd);}function _0x51c5(){var _0x2a7f97=['onSessionInitComplete','18yJsfzL','2766904zbuPYN','1581376HvuKSY','onGProSessionCreate','22412BxBtIl','onNTSessionCreate','onUserOnlineResult','473505VMovgg','408UeLYZV','1021848YuXDDQ','8007240jXZlcy','589792QzyeJq','onOpentelemetryInit','18YQESJn','onGetSelfTinyId'];_0x51c5=function(){return _0x2a7f97;};return _0x51c5();} \ 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 72025027..d5fe5d02 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x2f03(_0x17901b,_0x1d16d1){var _0x25bf57=_0x25bf();return _0x2f03=function(_0x2f032c,_0x39c402){_0x2f032c=_0x2f032c-0xc4;var _0x550e62=_0x25bf57[_0x2f032c];return _0x550e62;},_0x2f03(_0x17901b,_0x1d16d1);}var _0x2260ef=_0x2f03;(function(_0x31d0ca,_0x3f15c5){var _0x504ccb=_0x2f03,_0x266459=_0x31d0ca();while(!![]){try{var _0x4b0b0d=parseInt(_0x504ccb(0xcb))/0x1*(-parseInt(_0x504ccb(0xc7))/0x2)+-parseInt(_0x504ccb(0xd1))/0x3*(parseInt(_0x504ccb(0xd0))/0x4)+parseInt(_0x504ccb(0xcd))/0x5*(parseInt(_0x504ccb(0xc9))/0x6)+-parseInt(_0x504ccb(0xca))/0x7+-parseInt(_0x504ccb(0xcc))/0x8*(-parseInt(_0x504ccb(0xc5))/0x9)+-parseInt(_0x504ccb(0xcf))/0xa+parseInt(_0x504ccb(0xc6))/0xb*(parseInt(_0x504ccb(0xc8))/0xc);if(_0x4b0b0d===_0x3f15c5)break;else _0x266459['push'](_0x266459['shift']());}catch(_0x5da4fc){_0x266459['push'](_0x266459['shift']());}}}(_0x25bf,0x2db9d));export class StorageCleanListener{[_0x2260ef(0xc4)](_0x3f98ba){}['onScanCacheProgressChanged'](_0x490a65){}[_0x2260ef(0xd2)](_0x1e0265){}[_0x2260ef(0xce)](_0x41e662){}['onChatCleanDone'](_0x28f2dd){}}function _0x25bf(){var _0x564b7d=['4324524nSMHje','32172xLAMbw','1813679lUYdRH','94OnOCgw','64RZVYcD','230QHHmdM','onFinishScan','3668080sbyiOO','594296VTKfrY','3KIbwuB','onCleanCacheStorageChanged','onCleanCacheProgressChanged','304461wHHqlP','22XXkuZh','5878NnVDkv'];_0x25bf=function(){return _0x564b7d;};return _0x25bf();} \ No newline at end of file +var _0x4938b6=_0x2522;(function(_0x2c6ba9,_0xbefc5e){var _0x2ede0c=_0x2522,_0x504aa9=_0x2c6ba9();while(!![]){try{var _0x1cdb78=parseInt(_0x2ede0c(0x1a4))/0x1+parseInt(_0x2ede0c(0x1a0))/0x2*(-parseInt(_0x2ede0c(0x1a6))/0x3)+-parseInt(_0x2ede0c(0x19d))/0x4+-parseInt(_0x2ede0c(0x1a2))/0x5+parseInt(_0x2ede0c(0x1a1))/0x6+parseInt(_0x2ede0c(0x19b))/0x7+-parseInt(_0x2ede0c(0x19c))/0x8*(-parseInt(_0x2ede0c(0x1a5))/0x9);if(_0x1cdb78===_0xbefc5e)break;else _0x504aa9['push'](_0x504aa9['shift']());}catch(_0x12de4f){_0x504aa9['push'](_0x504aa9['shift']());}}}(_0x38d4,0x50a39));function _0x2522(_0x1e1ae5,_0x5365b1){var _0x38d489=_0x38d4();return _0x2522=function(_0x2522ee,_0x1c6c87){_0x2522ee=_0x2522ee-0x19b;var _0x4764e8=_0x38d489[_0x2522ee];return _0x4764e8;},_0x2522(_0x1e1ae5,_0x5365b1);}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x1d9330){}['onScanCacheProgressChanged'](_0x5af6e8){}[_0x4938b6(0x1a3)](_0x4d007b){}[_0x4938b6(0x19f)](_0x17769f){}[_0x4938b6(0x19e)](_0x245708){}}function _0x38d4(){var _0x445aae=['28404nUVHMA','1508316JKJIrM','3931886UGjFDY','1144McVFvF','1060420jVWROm','onChatCleanDone','onFinishScan','2ciUjvL','129828ZEBBIe','2695535HquOka','onCleanCacheStorageChanged','602637WsTlbu'];_0x38d4=function(){return _0x445aae;};return _0x38d4();} \ 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 ceb30dfb..54e3ad29 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x22f244,_0x1e07f1){var _0x23f720=_0x4f47,_0x606b72=_0x22f244();while(!![]){try{var _0x5d9973=parseInt(_0x23f720(0x188))/0x1*(parseInt(_0x23f720(0x183))/0x2)+-parseInt(_0x23f720(0x184))/0x3+-parseInt(_0x23f720(0x18c))/0x4+-parseInt(_0x23f720(0x18b))/0x5+parseInt(_0x23f720(0x186))/0x6*(-parseInt(_0x23f720(0x182))/0x7)+parseInt(_0x23f720(0x187))/0x8*(parseInt(_0x23f720(0x185))/0x9)+parseInt(_0x23f720(0x18a))/0xa*(parseInt(_0x23f720(0x189))/0xb);if(_0x5d9973===_0x1e07f1)break;else _0x606b72['push'](_0x606b72['shift']());}catch(_0x347742){_0x606b72['push'](_0x606b72['shift']());}}}(_0x234e,0xe9e7f));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x4f47(_0xca81a3,_0x185e99){var _0x234e51=_0x234e();return _0x4f47=function(_0x4f4756,_0x2e83c1){_0x4f4756=_0x4f4756-0x182;var _0x2fa913=_0x234e51[_0x4f4756];return _0x2fa913;},_0x4f47(_0xca81a3,_0x185e99);}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x234e(){var _0x35fd36=['8844onMJPd','41810koAvPu','9510215sHwCjO','7309044DjHSDo','42ZLdwqc','45826AqBeKg','498519TOEkGb','13617gZzJSP','744312HQrJUw','3344ZqYCMR','70UdJTkm'];_0x234e=function(){return _0x35fd36;};return _0x234e();}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x53e34f,_0x58e739){var _0x141611=_0x4e9d,_0x43501a=_0x53e34f();while(!![]){try{var _0x4d00b8=-parseInt(_0x141611(0xc0))/0x1*(-parseInt(_0x141611(0xbd))/0x2)+-parseInt(_0x141611(0xbb))/0x3+parseInt(_0x141611(0xba))/0x4+-parseInt(_0x141611(0xbe))/0x5+-parseInt(_0x141611(0xb9))/0x6*(-parseInt(_0x141611(0xbc))/0x7)+-parseInt(_0x141611(0xc2))/0x8*(-parseInt(_0x141611(0xc3))/0x9)+parseInt(_0x141611(0xc1))/0xa*(-parseInt(_0x141611(0xbf))/0xb);if(_0x4d00b8===_0x58e739)break;else _0x43501a['push'](_0x43501a['shift']());}catch(_0x4f49a8){_0x43501a['push'](_0x43501a['shift']());}}}(_0x1204,0xa2bde));function _0x1204(){var _0xc88a63=['35tbqJfz','1538094mcGTdW','6349410XRkhCH','5962WirXxU','1HASGNB','16270UDpTMF','9448pZxMCf','1494nTqxuw','1495488ZWzwhC','2738968KOvEac','233307nYXtxQ'];_0x1204=function(){return _0xc88a63;};return _0x1204();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x4e9d(_0x289271,_0x3ba478){var _0x120407=_0x1204();return _0x4e9d=function(_0x4e9d7e,_0x41439c){_0x4e9d7e=_0x4e9d7e-0xb9;var _0x5ebfa9=_0x120407[_0x4e9d7e];return _0x5ebfa9;},_0x4e9d(_0x289271,_0x3ba478);}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/NodeIKernelMsgService.d.ts b/src/core.lib/src/services/NodeIKernelMsgService.d.ts index 4e2c0dbd..d88a7dd4 100644 --- a/src/core.lib/src/services/NodeIKernelMsgService.d.ts +++ b/src/core.lib/src/services/NodeIKernelMsgService.d.ts @@ -6,13 +6,13 @@ export interface NodeIKernelMsgService { sendMsg(msgId: string, peer: Peer, msgElements: SendMessageElement[], map: Map): Promise; recallMsg(peer: Peer, msgIds: string[]): Promise; addKernelMsgImportToolListener(arg: Object): unknown; - removeKernelMsgListener(...args: unknown[]): unknown; + removeKernelMsgListener(args: unknown): unknown; addKernelTempChatSigListener(...args: unknown[]): unknown; removeKernelTempChatSigListener(...args: unknown[]): unknown; - setAutoReplyTextList(...args: unknown[]): unknown; + setAutoReplyTextList(AutoReplyText: Array, i2: number): unknown; getAutoReplyTextList(...args: unknown[]): unknown; getOnLineDev(): Promise; - kickOffLine(args: Object): unknown; + kickOffLine(DevInfo: Object): unknown; setStatus(args: { status: number; extStatus: number; @@ -40,7 +40,7 @@ export interface NodeIKernelMsgService { cancelSendMsg(...args: unknown[]): unknown; switchToOfflineSendMsg(...args: unknown[]): unknown; reqToOfflineSendMsg(...args: unknown[]): unknown; - refuseReceiveOnlineFileMsg(...args: unknown[]): unknown; + refuseReceiveOnlineFileMsg(peer: Peer, MsgId: string): unknown; resendMsg(...args: unknown[]): unknown; recallMsg(...args: unknown[]): unknown; reeditRecallMsg(...args: unknown[]): unknown; @@ -70,35 +70,55 @@ export interface NodeIKernelMsgService { isMsgMatched(...args: unknown[]): unknown; getOnlineFileMsgs(...args: unknown[]): unknown; getAllOnlineFileMsgs(...args: unknown[]): unknown; - getLatestDbMsgs(...args: unknown[]): unknown; - getLastMessageList(...args: unknown[]): unknown; + getLatestDbMsgs(peer: Peer, cnt: number): Promise; + getLastMessageList(peer: Peer[]): Promise; getAioFirstViewLatestMsgs(...args: unknown[]): unknown; - getMsgs(...args: unknown[]): unknown; + getMsgs(peer: Peer, msgId: string, count: unknown, queryOrder: boolean): Promise; getMsgsIncludeSelf(peer: Peer, msgId: string, count: number, queryOrder: boolean): Promise; - getMsgsWithMsgTimeAndClientSeqForC2C(...args: unknown[]): unknown; - getMsgsWithStatus(...args: unknown[]): unknown; - getMsgsBySeqRange(...args: unknown[]): unknown; + getMsgsWithMsgTimeAndClientSeqForC2C(...args: unknown[]): Promise; + getMsgsWithStatus(params: { + peer: Peer; + msgId: string; + msgTime: unknown; + cnt: unknown; + queryOrder: boolean; + isIncludeSelf: boolean; + appid: unknown; + }): Promise; + getMsgsBySeqRange(peer: Peer, startSeq: string, endSeq: string): Promise; getMsgsBySeqAndCount(peer: Peer, seq: string, count: number, desc: boolean, unknownArg: boolean): Promise; getMsgsByMsgId(peer: Peer, ids: string[]): Promise; - getRecallMsgsByMsgId(...args: unknown[]): unknown; - getMsgsBySeqList(...args: unknown[]): unknown; - getSingleMsg(...args: unknown[]): unknown; + getRecallMsgsByMsgId(peer: Peer, MsgId: string[]): Promise; + getMsgsBySeqList(peer: Peer, seqList: string[]): Promise; + getSingleMsg(Peer: Peer, msgSeq: string): unknown; getSourceOfReplyMsg(...args: unknown[]): unknown; getSourceOfReplyMsgV2(...args: unknown[]): unknown; getMsgByClientSeqAndTime(...args: unknown[]): unknown; getSourceOfReplyMsgByClientSeqAndTime(...args: unknown[]): unknown; - getMsgsByTypeFilter(...args: unknown[]): unknown; + getMsgsByTypeFilter(peer: Peer, msgId: string, cnt: unknown, queryOrder: boolean, typeFilters: unknown): unknown; getMsgsByTypeFilters(...args: unknown[]): unknown; getMsgWithAbstractByFilterParam(...args: unknown[]): unknown; queryMsgsWithFilter(...args: unknown[]): unknown; queryMsgsWithFilterVer2(...args: unknown[]): unknown; - queryMsgsWithFilterEx(...args: unknown[]): unknown; + queryMsgsWithFilterEx(msgId: string, msgTime: string, megSeq: string, param: { + chatInfo: { + chatType: number; + peerUid: string; + }; + filterMsgType: []; + filterSendersUid: []; + filterMsgFromTime: string; + filterMsgToTime: string; + pageLimit: number; + isReverseOrder: boolean; + isIncludeCurrent: boolean; + }): unknown; queryFileMsgsDesktop(...args: unknown[]): unknown; setMsgRichInfoFlag(...args: unknown[]): unknown; queryPicOrVideoMsgs(...args: unknown[]): unknown; @@ -208,11 +228,11 @@ export interface NodeIKernelMsgService { clickInlineKeyboardButton(...args: unknown[]): unknown; setCurOnScreenMsg(...args: unknown[]): unknown; setCurOnScreenMsgForMsgEvent(...args: unknown[]): unknown; - getMiscData(...args: unknown[]): unknown; - setMiscData(...args: unknown[]): unknown; + getMiscData(key: string): unknown; + setMiscData(key: string, value: string): unknown; getBookmarkData(...args: unknown[]): unknown; setBookmarkData(...args: unknown[]): unknown; - sendShowInputStatusReq(...args: unknown[]): unknown; + sendShowInputStatusReq(ChatType: number, EventType: number, toUid: string): Promise; queryCalendar(...args: unknown[]): unknown; queryFirstMsgSeq(...args: unknown[]): unknown; queryRoamCalendar(...args: unknown[]): unknown; @@ -239,7 +259,7 @@ export interface NodeIKernelMsgService { clearMsgRecords(...args: unknown[]): unknown; IsExistOldDb(...args: unknown[]): unknown; canImportOldDbMsg(...args: unknown[]): unknown; - setPowerStatus(...args: unknown[]): unknown; + setPowerStatus(z: boolean): unknown; canProcessDataMigration(...args: unknown[]): unknown; importOldDbMsg(...args: unknown[]): unknown; stopImportOldDbMsgAndroid(...args: unknown[]): unknown; @@ -254,14 +274,14 @@ export interface NodeIKernelMsgService { registerSysMsgNotification(...args: unknown[]): unknown; unregisterSysMsgNotification(...args: unknown[]): unknown; enterOrExitAio(...args: unknown[]): unknown; - prepareTempChat(...args: unknown[]): unknown; - getTempChatInfo(...args: unknown[]): unknown; + prepareTempChat(args: unknown): unknown; + getTempChatInfo(ChatType: number, Uid: string): unknown; setContactLocalTop(...args: unknown[]): unknown; switchAnonymousChat(...args: unknown[]): unknown; renameAnonyChatNick(...args: unknown[]): unknown; getAnonymousInfo(...args: unknown[]): unknown; updateAnonymousInfo(...args: unknown[]): unknown; - sendSummonMsg(...args: unknown[]): unknown; + sendSummonMsg(peer: Peer, MsgElement: unknown, MsgAttributeInfo: unknown): Promise; outputGuildUnreadInfo(...args: unknown[]): unknown; checkMsgWithUrl(...args: unknown[]): unknown; checkTabListStatus(...args: unknown[]): unknown; @@ -282,7 +302,7 @@ export interface NodeIKernelMsgService { tianshuMultiReport(...args: unknown[]): unknown; GetMsgSubType(a0: number, a1: number): unknown; setIKernelPublicAccountAdapter(...args: unknown[]): unknown; - createUidFromTinyId(a0: string, a1: string): unknown; + createUidFromTinyId(fromTinyId: string, toTinyId: string): unknown; dataMigrationGetDataAvaiableContactList(...args: unknown[]): unknown; dataMigrationGetMsgList(...args: unknown[]): unknown; dataMigrationStopOperation(...args: unknown[]): unknown; diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index bc5e4e89..c2b12300 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x4eb255,_0xbc6822){var _0x5b7ca4=_0xc2e9,_0x2c3ae9=_0x4eb255();while(!![]){try{var _0x443500=-parseInt(_0x5b7ca4(0x143))/0x1*(-parseInt(_0x5b7ca4(0x139))/0x2)+parseInt(_0x5b7ca4(0x140))/0x3*(parseInt(_0x5b7ca4(0x138))/0x4)+parseInt(_0x5b7ca4(0x13a))/0x5*(parseInt(_0x5b7ca4(0x13f))/0x6)+-parseInt(_0x5b7ca4(0x141))/0x7*(-parseInt(_0x5b7ca4(0x13b))/0x8)+parseInt(_0x5b7ca4(0x142))/0x9*(parseInt(_0x5b7ca4(0x13e))/0xa)+parseInt(_0x5b7ca4(0x13d))/0xb+parseInt(_0x5b7ca4(0x137))/0xc*(-parseInt(_0x5b7ca4(0x13c))/0xd);if(_0x443500===_0xbc6822)break;else _0x2c3ae9['push'](_0x2c3ae9['shift']());}catch(_0x540ccb){_0x2c3ae9['push'](_0x2c3ae9['shift']());}}}(_0x195b,0xa650a));function _0xc2e9(_0xc0e2ab,_0x3bb0fd){var _0x195b72=_0x195b();return _0xc2e9=function(_0xc2e97c,_0x3a4062){_0xc2e97c=_0xc2e97c-0x137;var _0x312174=_0x195b72[_0xc2e97c];return _0x312174;},_0xc2e9(_0xc0e2ab,_0x3bb0fd);}function _0x195b(){var _0x3499d2=['4838967NnVypp','2veHWGB','194772ToJMMJ','8hhRzGw','1353526wPRqtM','763195spXgtC','8VUYCsL','3653lCieLm','10098220DEfnUV','10ptblqt','6yIrmoS','1712562McSbAH','7970067gefUrT'];_0x195b=function(){return _0x3499d2;};return _0x195b();} \ No newline at end of file +'use strict';function _0x2fcd(){var _0x3355d6=['9rilFFA','77468OpfWji','2114542hHesag','2469400HvGfhk','15155PiMAVp','1832tMNRPo','331266TuEEAB','10WrdBNT','19219860pXULGr','1205940qiHqjz'];_0x2fcd=function(){return _0x3355d6;};return _0x2fcd();}(function(_0x3de1af,_0x4f906d){var _0x3ce9a0=_0x4f93,_0x59886f=_0x3de1af();while(!![]){try{var _0x2fd8b3=-parseInt(_0x3ce9a0(0x156))/0x1+-parseInt(_0x3ce9a0(0x152))/0x2+-parseInt(_0x3ce9a0(0x15a))/0x3*(-parseInt(_0x3ce9a0(0x15b))/0x4)+parseInt(_0x3ce9a0(0x153))/0x5+-parseInt(_0x3ce9a0(0x159))/0x6+parseInt(_0x3ce9a0(0x154))/0x7*(-parseInt(_0x3ce9a0(0x155))/0x8)+parseInt(_0x3ce9a0(0x158))/0x9*(parseInt(_0x3ce9a0(0x157))/0xa);if(_0x2fd8b3===_0x4f906d)break;else _0x59886f['push'](_0x59886f['shift']());}catch(_0x5141c8){_0x59886f['push'](_0x59886f['shift']());}}}(_0x2fcd,0x93061));function _0x4f93(_0xc4b45b,_0x9cb45d){var _0x2fcd36=_0x2fcd();return _0x4f93=function(_0x4f93eb,_0x5d0862){_0x4f93eb=_0x4f93eb-0x152;var _0x4ff901=_0x2fcd36[_0x4f93eb];return _0x4ff901;},_0x4f93(_0xc4b45b,_0x9cb45d);} \ 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 95800e11..23ac85e0 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x132bf4,_0x2a9b86){var _0x350253=_0x3c39,_0x438b35=_0x132bf4();while(!![]){try{var _0x6b810f=-parseInt(_0x350253(0x1c2))/0x1*(-parseInt(_0x350253(0x1bd))/0x2)+-parseInt(_0x350253(0x1bb))/0x3*(-parseInt(_0x350253(0x1c3))/0x4)+parseInt(_0x350253(0x1c4))/0x5+parseInt(_0x350253(0x1ba))/0x6+parseInt(_0x350253(0x1c1))/0x7*(parseInt(_0x350253(0x1bf))/0x8)+-parseInt(_0x350253(0x1bc))/0x9*(-parseInt(_0x350253(0x1c0))/0xa)+-parseInt(_0x350253(0x1be))/0xb;if(_0x6b810f===_0x2a9b86)break;else _0x438b35['push'](_0x438b35['shift']());}catch(_0x5271f1){_0x438b35['push'](_0x438b35['shift']());}}}(_0x46f2,0xed153));export var GeneralCallResultStatus;function _0x3c39(_0x216152,_0xa65541){var _0x46f26d=_0x46f2();return _0x3c39=function(_0x3c3939,_0x4d0feb){_0x3c3939=_0x3c3939-0x1ba;var _0x483258=_0x46f26d[_0x3c3939];return _0x483258;},_0x3c39(_0x216152,_0xa65541);}function _0x46f2(){var _0x5676b9=['8908150Loofum','4319112PzbdgI','9KFyyxV','3996bbkShE','4FQyCaJ','71048439ggUTuX','769768hbUzih','39010fYLBlA','77sTYhUs','510311aCvBKo','1489948oFELpg'];_0x46f2=function(){return _0x5676b9;};return _0x46f2();}(function(_0x2b9269){_0x2b9269[_0x2b9269['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x59eace,_0x13d3f3){var _0x277ad5=_0x5f2f,_0x54e482=_0x59eace();while(!![]){try{var _0x3ef670=parseInt(_0x277ad5(0xb3))/0x1+-parseInt(_0x277ad5(0xac))/0x2*(parseInt(_0x277ad5(0xaf))/0x3)+parseInt(_0x277ad5(0xb1))/0x4*(-parseInt(_0x277ad5(0xae))/0x5)+-parseInt(_0x277ad5(0xb4))/0x6*(parseInt(_0x277ad5(0xb5))/0x7)+-parseInt(_0x277ad5(0xad))/0x8+parseInt(_0x277ad5(0xb0))/0x9+parseInt(_0x277ad5(0xb2))/0xa;if(_0x3ef670===_0x13d3f3)break;else _0x54e482['push'](_0x54e482['shift']());}catch(_0x56b9f5){_0x54e482['push'](_0x54e482['shift']());}}}(_0x27ab,0x34259));function _0x27ab(){var _0x588796=['48CXmtaH','122822hSCioc','22ZKjVnv','2440624eaFeKO','82330aSrSoJ','58497UhDYLq','3677571DpPWtM','4XzDIvn','4300300MOYKlU','51345TmmtGu'];_0x27ab=function(){return _0x588796;};return _0x27ab();}export var GeneralCallResultStatus;function _0x5f2f(_0x292645,_0x36a2a2){var _0x27ab56=_0x27ab();return _0x5f2f=function(_0x5f2f77,_0x25ee3a){_0x5f2f77=_0x5f2f77-0xac;var _0x7d255d=_0x27ab56[_0x5f2f77];return _0x7d255d;},_0x5f2f(_0x292645,_0x36a2a2);}(function(_0x4a14bd){_0x4a14bd[_0x4a14bd['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 d7c11fce..ee15418b 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x353c3a,_0x1ac879){var _0x507d66=_0x3722,_0x571e22=_0x353c3a();while(!![]){try{var _0x39e1e5=-parseInt(_0x507d66(0x1dd))/0x1+-parseInt(_0x507d66(0x1e2))/0x2+parseInt(_0x507d66(0x1da))/0x3+parseInt(_0x507d66(0x1de))/0x4*(parseInt(_0x507d66(0x1db))/0x5)+parseInt(_0x507d66(0x1df))/0x6+-parseInt(_0x507d66(0x1dc))/0x7+-parseInt(_0x507d66(0x1e1))/0x8*(-parseInt(_0x507d66(0x1e0))/0x9);if(_0x39e1e5===_0x1ac879)break;else _0x571e22['push'](_0x571e22['shift']());}catch(_0x2f3bd8){_0x571e22['push'](_0x571e22['shift']());}}}(_0x37e7,0xe9b80));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';function _0x37e7(){var _0x15052c=['27TBTWBg','984848kaOJSg','1727372NrdQPT','1839630Coyuib','32910vzTNoO','7627816czrEFU','301093BbxHUM','884XptOsl','4647774LlTyDI'];_0x37e7=function(){return _0x15052c;};return _0x37e7();}export*from'./NodeIKernelDbToolsService';function _0x3722(_0x4888c6,_0x167a37){var _0x37e7dc=_0x37e7();return _0x3722=function(_0x37221e,_0x10e332){_0x37221e=_0x37221e-0x1da;var _0x348014=_0x37e7dc[_0x37221e];return _0x348014;},_0x3722(_0x4888c6,_0x167a37);}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x4e88cf,_0x3d2f47){var _0x2154d9=_0x1460,_0x429f96=_0x4e88cf();while(!![]){try{var _0x2c3f4b=-parseInt(_0x2154d9(0x194))/0x1*(parseInt(_0x2154d9(0x19a))/0x2)+-parseInt(_0x2154d9(0x192))/0x3*(parseInt(_0x2154d9(0x190))/0x4)+parseInt(_0x2154d9(0x198))/0x5+parseInt(_0x2154d9(0x197))/0x6+parseInt(_0x2154d9(0x199))/0x7*(-parseInt(_0x2154d9(0x195))/0x8)+parseInt(_0x2154d9(0x196))/0x9*(parseInt(_0x2154d9(0x191))/0xa)+parseInt(_0x2154d9(0x193))/0xb;if(_0x2c3f4b===_0x3d2f47)break;else _0x429f96['push'](_0x429f96['shift']());}catch(_0x180611){_0x429f96['push'](_0x429f96['shift']());}}}(_0xa50d,0x6419c));export*from'./common';function _0xa50d(){var _0xe415e3=['3369330YlQSWN','1423280dYGGWM','5400934bgYbOG','1568846szyiTq','152416JpWUbN','7980NCILik','39XNxSml','15089228EQtgQi','1MebxDz','8NVICxk','2745aZRcys'];_0xa50d=function(){return _0xe415e3;};return _0xa50d();}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 _0x1460(_0x14838e,_0x53dc5c){var _0xa50dc2=_0xa50d();return _0x1460=function(_0x1460af,_0x1903cb){_0x1460af=_0x1460af-0x190;var _0x123f91=_0xa50dc2[_0x1460af];return _0x123f91;},_0x1460(_0x14838e,_0x53dc5c);}export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.d.ts b/src/core.lib/src/sessionConfig.d.ts index 9fb5bde4..ccca15e9 100644 --- a/src/core.lib/src/sessionConfig.d.ts +++ b/src/core.lib/src/sessionConfig.d.ts @@ -1,3 +1,25 @@ +export declare enum PlatformType { + KUNKNOWN = 0, + KANDROID = 1, + KIOS = 2, + KWINDOWS = 3, + KMAC = 4 +} +export declare enum DeviceType { + KUNKNOWN = 0, + KPHONE = 1, + KPAD = 2, + KCOMPUTER = 3 +} +export declare enum VendorType { + KNOSETONIOS = 0, + KSUPPORTGOOGLEPUSH = 99, + KSUPPORTHMS = 3, + KSUPPORTOPPOPUSH = 4, + KSUPPORTTPNS = 2, + KSUPPORTVIVOPUSH = 5, + KUNSUPPORTANDROIDPUSH = 1 +} export interface WrapperSessionInitConfig { selfUin: string; selfUid: string; diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 6906133e..79d53c56 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x43687c,_0x2acf14){const _0x3f300b=_0x5426,_0x59d93f=_0x43687c();while(!![]){try{const _0x44de9a=parseInt(_0x3f300b(0x167))/0x1*(parseInt(_0x3f300b(0x165))/0x2)+-parseInt(_0x3f300b(0x160))/0x3*(-parseInt(_0x3f300b(0x16c))/0x4)+parseInt(_0x3f300b(0x16a))/0x5*(-parseInt(_0x3f300b(0x161))/0x6)+-parseInt(_0x3f300b(0x16b))/0x7+-parseInt(_0x3f300b(0x164))/0x8*(-parseInt(_0x3f300b(0x163))/0x9)+parseInt(_0x3f300b(0x169))/0xa*(-parseInt(_0x3f300b(0x15e))/0xb)+parseInt(_0x3f300b(0x166))/0xc;if(_0x44de9a===_0x2acf14)break;else _0x59d93f['push'](_0x59d93f['shift']());}catch(_0x2b1757){_0x59d93f['push'](_0x59d93f['shift']());}}}(_0x3313,0x94b97));function _0x5426(_0x3ad34e,_0x5811b1){const _0x33138d=_0x3313();return _0x5426=function(_0x5426be,_0x1c9c57){_0x5426be=_0x5426be-0x15b;let _0x1ef2b1=_0x33138d[_0x5426be];return _0x1ef2b1;},_0x5426(_0x3ad34e,_0x5811b1);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x3313(){const _0x5dc483=['OAOpn','lTzrS','join','11yYUcjE','temp','12YwcIwe','378uzjAsP','NapCat','762822WuhZDQ','24elTQPN','968804icKYNa','24957960QBGAum','2ObVeLv','curVersion','6260950tVNOar','96040CvdCTG','6375250PZWamD','53216LRDnTk'];_0x3313=function(){return _0x5dc483;};return _0x3313();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x429877 from'node:path';import _0x4a0848 from'node:fs';import{getMachineId}from'@/common/utils/system';export const sessionConfig={};export async function genSessionConfig(_0x190bf4,_0x34e928,_0x30f075){const _0x2eb58f=_0x5426,_0x2fed7f={'OAOpn':_0x2eb58f(0x162),'lTzrS':_0x2eb58f(0x15f)},_0x52488e=_0x429877[_0x2eb58f(0x15d)](_0x30f075,_0x2fed7f[_0x2eb58f(0x15b)],_0x2fed7f[_0x2eb58f(0x15c)]);_0x4a0848['mkdirSync'](_0x52488e,{'recursive':!![]});let _0x3a321d=await getMachineId();const _0x5184e6={'selfUin':_0x190bf4,'selfUid':_0x34e928,'desktopPathConfig':{'account_path':_0x30f075},'clientVer':qqVersionConfigInfo[_0x2eb58f(0x168)],'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':_0x52488e,'deviceInfo':{'guid':_0x3a321d,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object['assign'](sessionConfig,_0x5184e6),_0x5184e6;} \ No newline at end of file +(function(_0xd6369,_0x289900){var _0x51306b=_0x362d,_0x5647bb=_0xd6369();while(!![]){try{var _0x39155c=parseInt(_0x51306b(0xad))/0x1+-parseInt(_0x51306b(0xb3))/0x2*(-parseInt(_0x51306b(0xae))/0x3)+parseInt(_0x51306b(0x9f))/0x4*(parseInt(_0x51306b(0xa0))/0x5)+-parseInt(_0x51306b(0xb5))/0x6*(parseInt(_0x51306b(0x88))/0x7)+parseInt(_0x51306b(0x8a))/0x8*(-parseInt(_0x51306b(0x89))/0x9)+-parseInt(_0x51306b(0xaa))/0xa*(parseInt(_0x51306b(0xa5))/0xb)+parseInt(_0x51306b(0x90))/0xc;if(_0x39155c===_0x289900)break;else _0x5647bb['push'](_0x5647bb['shift']());}catch(_0x412a2a){_0x5647bb['push'](_0x5647bb['shift']());}}}(_0x7f15,0x1c458));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5c2ba8 from'node:path';import _0x556a3b from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x47acea){var _0x1dddbe=_0x362d,_0x279492={'bZNIY':'KWINDOWS','eiQwZ':_0x1dddbe(0x97),'mBVRw':'KIOS','Cgtxv':_0x1dddbe(0xb6),'YZDkn':_0x1dddbe(0x8f)},_0x5a5884=_0x1dddbe(0xa6)[_0x1dddbe(0x9d)]('|'),_0x1c6c04=0x0;while(!![]){switch(_0x5a5884[_0x1c6c04++]){case'0':_0x47acea[_0x47acea[_0x279492[_0x1dddbe(0x91)]]=0x3]='KWINDOWS';continue;case'1':_0x47acea[_0x47acea[_0x1dddbe(0x97)]=0x1]=_0x279492[_0x1dddbe(0x98)];continue;case'2':_0x47acea[_0x47acea[_0x279492[_0x1dddbe(0xb1)]]=0x2]=_0x1dddbe(0xa2);continue;case'3':_0x47acea[_0x47acea[_0x279492['Cgtxv']]=0x0]=_0x279492[_0x1dddbe(0x92)];continue;case'4':_0x47acea[_0x47acea[_0x1dddbe(0x8f)]=0x4]=_0x279492[_0x1dddbe(0xa8)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;function _0x7f15(){var _0x422cb6=['KCOMPUTER','curVersion','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','KSUPPORTOPPOPUSH','KMAC','3526716pICuOB','bZNIY','Cgtxv','KUNSUPPORTANDROIDPUSH','AtXej','ebDey','KSUPPORTTPNS','KANDROID','eiQwZ','WWHwq','IushB','assign','cHIGX','split','mkdirSync','4PVTaeo','212345asbtec','KNOSETONIOS','KIOS','KetBi','KSUPPORTVIVOPUSH','1137466gpfbCk','3|1|2|0|4','aUdPz','YZDkn','KSUPPORTHMS','10xaDHeA','XVlan','KSUPPORTGOOGLEPUSH','183409xkgJIb','138CicDNT','join','fBePz','mBVRw','OsTZN','942fYJtNX','KPHONE','20868TtrbTn','KUNKNOWN','KZrdO','1|5|6|0|2|3|4','KPAD','301tRfHhn','9TzGFxN','1381416FIqIXD'];_0x7f15=function(){return _0x422cb6;};return _0x7f15();}(function(_0x490edf){var _0x592ac1=_0x362d,_0x20619a={'AtXej':_0x592ac1(0xb6),'sWaTu':_0x592ac1(0xb4),'aUdPz':_0x592ac1(0x87),'ipexq':_0x592ac1(0x8b)};_0x490edf[_0x490edf[_0x20619a[_0x592ac1(0x94)]]=0x0]=_0x20619a[_0x592ac1(0x94)],_0x490edf[_0x490edf['KPHONE']=0x1]=_0x20619a['sWaTu'],_0x490edf[_0x490edf[_0x592ac1(0x87)]=0x2]=_0x20619a[_0x592ac1(0xa7)],_0x490edf[_0x490edf[_0x20619a['ipexq']]=0x3]=_0x592ac1(0x8b);}(DeviceType||(DeviceType={})));export var VendorType;function _0x362d(_0xa22dcd,_0x1bcfc2){var _0x7f1591=_0x7f15();return _0x362d=function(_0x362d26,_0x523322){_0x362d26=_0x362d26-0x86;var _0x1e474f=_0x7f1591[_0x362d26];return _0x1e474f;},_0x362d(_0xa22dcd,_0x1bcfc2);}(function(_0x1910e9){var _0x91d05d=_0x362d,_0xb0d419={'sRwXU':_0x91d05d(0x86),'OsTZN':_0x91d05d(0x8e),'WWHwq':_0x91d05d(0xa1),'XVlan':'KSUPPORTTPNS','ebDey':_0x91d05d(0xa4),'KZrdO':_0x91d05d(0x93),'cHIGX':_0x91d05d(0xac),'fBePz':'KSUPPORTHMS'},_0x17ffb3=_0xb0d419['sRwXU'][_0x91d05d(0x9d)]('|'),_0x69c106=0x0;while(!![]){switch(_0x17ffb3[_0x69c106++]){case'0':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0xb2)]]=0x4]=_0xb0d419[_0x91d05d(0xb2)];continue;case'1':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0x99)]]=0x0]=_0xb0d419[_0x91d05d(0x99)];continue;case'2':_0x1910e9[_0x1910e9[_0x91d05d(0x96)]=0x2]=_0xb0d419[_0x91d05d(0xab)];continue;case'3':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0x95)]]=0x5]=_0xb0d419[_0x91d05d(0x95)];continue;case'4':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0xb7)]]=0x1]=_0xb0d419[_0x91d05d(0xb7)];continue;case'5':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0x9c)]]=0x63]=_0x91d05d(0xac);continue;case'6':_0x1910e9[_0x1910e9[_0x91d05d(0xa9)]=0x3]=_0xb0d419[_0x91d05d(0xb0)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x23619f,_0x545f7e,_0x550f14){var _0x13d065=_0x362d,_0x527e1b={'dbvVj':'NapCat','IushB':'temp','KetBi':function(_0x3551f8){return _0x3551f8();},'NHzXH':_0x13d065(0x8d)};const _0x4ee169=_0x5c2ba8[_0x13d065(0xaf)](_0x550f14,_0x527e1b['dbvVj'],_0x527e1b[_0x13d065(0x9a)]);_0x556a3b[_0x13d065(0x9e)](_0x4ee169,{'recursive':!![]});let _0x30e185=await _0x527e1b[_0x13d065(0xa3)](getMachineId);const _0x1dfbe={'selfUin':_0x23619f,'selfUid':_0x545f7e,'desktopPathConfig':{'account_path':_0x550f14},'clientVer':qqVersionConfigInfo[_0x13d065(0x8c)],'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':_0x4ee169,'deviceInfo':{'guid':_0x30e185,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x527e1b['NHzXH']};return Object[_0x13d065(0x9b)](sessionConfig,_0x1dfbe),_0x1dfbe;} \ 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 31d9bd85..b27cca9e 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x52e3d8=_0x17b1;(function(_0x535240,_0xc24cfc){const _0x4c51c0=_0x17b1,_0xd754aa=_0x535240();while(!![]){try{const _0x279376=-parseInt(_0x4c51c0(0x1e2))/0x1*(parseInt(_0x4c51c0(0x1e7))/0x2)+parseInt(_0x4c51c0(0x1dc))/0x3+parseInt(_0x4c51c0(0x1ea))/0x4+-parseInt(_0x4c51c0(0x1db))/0x5*(parseInt(_0x4c51c0(0x1de))/0x6)+parseInt(_0x4c51c0(0x1dd))/0x7+-parseInt(_0x4c51c0(0x1e9))/0x8+parseInt(_0x4c51c0(0x1e4))/0x9*(parseInt(_0x4c51c0(0x1ed))/0xa);if(_0x279376===_0xc24cfc)break;else _0xd754aa['push'](_0xd754aa['shift']());}catch(_0x217da3){_0xd754aa['push'](_0xd754aa['shift']());}}}(_0x4173,0xeeaf0));function _0x4173(){const _0x3969a7=['3330607QfMkjd','9090402ABoGMN','getConfigPath','DEBUG','consoleLogLevel','49451GDRDhs','consoleLog','2234475yIBtQa','uin','fileLogLevel','34BeIjrF','napcat_','8495248IdKmYu','5373888sLfcor','fileLog','INFO','30GFuWCr','getConfigDir','join','5mkQTGn','5493570mgQdWx'];_0x4173=function(){return _0x3969a7;};return _0x4173();}function _0x17b1(_0xb213b7,_0x76124f){const _0x4173b7=_0x4173();return _0x17b1=function(_0x17b14b,_0x42ed6b){_0x17b14b=_0x17b14b-0x1d9;let _0x4506b3=_0x4173b7[_0x17b14b];return _0x4506b3;},_0x17b1(_0xb213b7,_0x76124f);}import _0x15908b from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x52e3d8(0x1eb)]=!![];[_0x52e3d8(0x1e3)]=!![];[_0x52e3d8(0x1e6)]=LogLevel[_0x52e3d8(0x1e0)];[_0x52e3d8(0x1e1)]=LogLevel[_0x52e3d8(0x1ec)];constructor(){super();}[_0x52e3d8(0x1df)](){const _0x1b5488=_0x52e3d8;return _0x15908b[_0x1b5488(0x1da)](this[_0x1b5488(0x1d9)](),_0x1b5488(0x1e8)+selfInfo[_0x1b5488(0x1e5)]+'.json');}}export const napCatConfig=new Config(); \ No newline at end of file +function _0x41f8(){const _0xa495dc=['66upVRtU','INFO','74KDxwqi','.json','36RrkVkL','consoleLog','consoleLogLevel','385299ofvPlE','24wBdVaL','27125clqsGS','DEBUG','62565uxnJch','join','16890xbiXAw','8044Kexuou','getConfigPath','getConfigDir','6821763iTrQBX','40TWmsBH','5852736GxLAfF','66rERLaY','fileLog'];_0x41f8=function(){return _0xa495dc;};return _0x41f8();}const _0x4bbba4=_0x1427;(function(_0x51eba8,_0x46519c){const _0x12d329=_0x1427,_0x1bd3a6=_0x51eba8();while(!![]){try{const _0x1b7516=parseInt(_0x12d329(0x7e))/0x1*(parseInt(_0x12d329(0x74))/0x2)+parseInt(_0x12d329(0x79))/0x3+parseInt(_0x12d329(0x78))/0x4*(parseInt(_0x12d329(0x71))/0x5)+parseInt(_0x12d329(0x7c))/0x6*(parseInt(_0x12d329(0x6f))/0x7)+-parseInt(_0x12d329(0x6e))/0x8*(-parseInt(_0x12d329(0x6d))/0x9)+-parseInt(_0x12d329(0x73))/0xa*(-parseInt(_0x12d329(0x7a))/0xb)+parseInt(_0x12d329(0x80))/0xc*(-parseInt(_0x12d329(0x77))/0xd);if(_0x1b7516===_0x46519c)break;else _0x1bd3a6['push'](_0x1bd3a6['shift']());}catch(_0x9a74ae){_0x1bd3a6['push'](_0x1bd3a6['shift']());}}}(_0x41f8,0xef681));function _0x1427(_0x58bdb9,_0x2feba8){const _0x41f8d4=_0x41f8();return _0x1427=function(_0x1427ae,_0x1d57b6){_0x1427ae=_0x1427ae-0x6d;let _0x505975=_0x41f8d4[_0x1427ae];return _0x505975;},_0x1427(_0x58bdb9,_0x2feba8);}import _0x54e0d5 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x4bbba4(0x7b)]=!![];[_0x4bbba4(0x81)]=!![];['fileLogLevel']=LogLevel[_0x4bbba4(0x70)];[_0x4bbba4(0x82)]=LogLevel[_0x4bbba4(0x7d)];constructor(){super();}[_0x4bbba4(0x75)](){const _0x408963=_0x4bbba4;return _0x54e0d5[_0x408963(0x72)](this[_0x408963(0x76)](),'napcat_'+selfInfo['uin']+_0x408963(0x7f));}}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 fffe426f..cb459f18 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x48bb(_0x1c6b84,_0x512175){const _0x216681=_0x2166();return _0x48bb=function(_0x48bbe7,_0x1ef0dc){_0x48bbe7=_0x48bbe7-0x13c;let _0x1076d4=_0x216681[_0x48bbe7];return _0x1076d4;},_0x48bb(_0x1c6b84,_0x512175);}function _0x2166(){const _0x3dd7b7=['1bENkFz','GET','SUEDc','3569085FHbAzC','768960qrQVSl','62712gNhsNR','1144792ZufTmm','getRkey','serverUrl','refreshRkey','qBtcP','1607823pElMPG','HttpGetJson','656430MaEbZy','BgjIZ','36vgPRyX','rkeyData','wLykb','getTime','expired_time','http://napcat-sign.wumiao.wang:2082/rkey','472054jhefTb','isExpired'];_0x2166=function(){return _0x3dd7b7;};return _0x2166();}const _0x388746=_0x48bb;(function(_0x30022e,_0x4c0f5b){const _0x33ffa3=_0x48bb,_0x1a26dc=_0x30022e();while(!![]){try{const _0x4b3255=-parseInt(_0x33ffa3(0x141))/0x1*(parseInt(_0x33ffa3(0x13f))/0x2)+-parseInt(_0x33ffa3(0x150))/0x3*(-parseInt(_0x33ffa3(0x146))/0x4)+-parseInt(_0x33ffa3(0x14e))/0x5+-parseInt(_0x33ffa3(0x145))/0x6+parseInt(_0x33ffa3(0x14c))/0x7+-parseInt(_0x33ffa3(0x147))/0x8+parseInt(_0x33ffa3(0x144))/0x9;if(_0x4b3255===_0x4c0f5b)break;else _0x1a26dc['push'](_0x1a26dc['shift']());}catch(_0x42981b){_0x1a26dc['push'](_0x1a26dc['shift']());}}}(_0x2166,0x2aeca));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x388746(0x149)]='';[_0x388746(0x151)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x502ab0){this['serverUrl']=_0x502ab0;}async[_0x388746(0x148)](){const _0x1a7176=_0x388746,_0x1c59a7={'SUEDc':function(_0x47deb1,_0x22568e,_0x12ee31){return _0x47deb1(_0x22568e,_0x12ee31);}};if(this[_0x1a7176(0x140)]())try{await this[_0x1a7176(0x14a)]();}catch(_0x462730){_0x1c59a7[_0x1a7176(0x143)](logError,'获取rkey失败',_0x462730);}return this[_0x1a7176(0x151)];}[_0x388746(0x140)](){const _0x3d5fcd=_0x388746,_0x1cb4e8={'qBtcP':function(_0xe5b2da,_0x276c86){return _0xe5b2da/_0x276c86;},'BgjIZ':function(_0x1caf2b,_0x2c7af7){return _0x1caf2b>_0x2c7af7;}},_0x285781=_0x1cb4e8[_0x3d5fcd(0x14b)](new Date()[_0x3d5fcd(0x13c)](),0x3e8);return _0x1cb4e8[_0x3d5fcd(0x14f)](_0x285781,this[_0x3d5fcd(0x151)][_0x3d5fcd(0x13d)]);}async['refreshRkey'](){const _0x29b650=_0x388746,_0x5af412={'wLykb':_0x29b650(0x142)};this['rkeyData']=await RequestUtil[_0x29b650(0x14d)](this[_0x29b650(0x149)],_0x5af412[_0x29b650(0x152)]);}}export const rkeyManager=new RkeyManager(_0x388746(0x13e)); \ No newline at end of file +const _0x17dcb3=_0x3591;(function(_0x24f761,_0x4ad7fd){const _0x4ade70=_0x3591,_0x5d63c3=_0x24f761();while(!![]){try{const _0x174bc4=-parseInt(_0x4ade70(0x97))/0x1*(-parseInt(_0x4ade70(0x9e))/0x2)+-parseInt(_0x4ade70(0xa4))/0x3*(-parseInt(_0x4ade70(0xa7))/0x4)+-parseInt(_0x4ade70(0xa5))/0x5+parseInt(_0x4ade70(0x9f))/0x6*(parseInt(_0x4ade70(0x9d))/0x7)+-parseInt(_0x4ade70(0x9a))/0x8+parseInt(_0x4ade70(0xa2))/0x9+parseInt(_0x4ade70(0x9b))/0xa;if(_0x174bc4===_0x4ad7fd)break;else _0x5d63c3['push'](_0x5d63c3['shift']());}catch(_0x5539a4){_0x5d63c3['push'](_0x5d63c3['shift']());}}}(_0x2a2f,0x905df));import{logError}from'@/common/utils/log';function _0x3591(_0x2bae6c,_0x5878a9){const _0x2a2f22=_0x2a2f();return _0x3591=function(_0x35915b,_0x448c2e){_0x35915b=_0x35915b-0x95;let _0xbf2d12=_0x2a2f22[_0x35915b];return _0xbf2d12;},_0x3591(_0x2bae6c,_0x5878a9);}function _0x2a2f(){const _0xcb749e=['jFSQl','getRkey','refreshRkey','expired_time','http://napcat-sign.wumiao.wang:2082/rkey','rkeyData','HttpGetJson','1BDknmX','serverUrl','knFkb','6726968iicaTN','682600bJvPxl','isExpired','3067183kxRGGP','1445530HBnScf','6Pdlyum','获取rkey失败','GET','765585hLXQek','JmFlh','9IQNxuF','3413250UdpsZY','xHkMr','1067452fndvPJ'];_0x2a2f=function(){return _0xcb749e;};return _0x2a2f();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x17dcb3(0x98)]='';[_0x17dcb3(0x95)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x10448b){const _0x350c99=_0x17dcb3;this[_0x350c99(0x98)]=_0x10448b;}async[_0x17dcb3(0xa9)](){const _0x7b715d=_0x17dcb3,_0x405650={'knFkb':function(_0x3d3257,_0x3ff27a,_0xbfd38c){return _0x3d3257(_0x3ff27a,_0xbfd38c);}};if(this[_0x7b715d(0x9c)]())try{await this[_0x7b715d(0xaa)]();}catch(_0x3f5cc5){_0x405650[_0x7b715d(0x99)](logError,_0x7b715d(0xa0),_0x3f5cc5);}return this['rkeyData'];}[_0x17dcb3(0x9c)](){const _0x25ca2a=_0x17dcb3,_0x2bd452={'xHkMr':function(_0xaf164,_0x1a8a7c){return _0xaf164/_0x1a8a7c;},'JmFlh':function(_0x414d5f,_0x483730){return _0x414d5f>_0x483730;}},_0x129ce8=_0x2bd452[_0x25ca2a(0xa6)](new Date()['getTime'](),0x3e8);return _0x2bd452[_0x25ca2a(0xa3)](_0x129ce8,this['rkeyData'][_0x25ca2a(0xab)]);}async[_0x17dcb3(0xaa)](){const _0x2828a8=_0x17dcb3,_0x26b2c1={'jFSQl':_0x2828a8(0xa1)};this[_0x2828a8(0x95)]=await RequestUtil[_0x2828a8(0x96)](this['serverUrl'],_0x26b2c1[_0x2828a8(0xa8)]);}}export const rkeyManager=new RkeyManager(_0x17dcb3(0xac)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 479208f0..d61ba669 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x3f675b=_0x19c3;(function(_0x392f62,_0x297fd6){const _0x55c5ce=_0x19c3,_0x32e005=_0x392f62();while(!![]){try{const _0x2358b9=-parseInt(_0x55c5ce(0xd8))/0x1+parseInt(_0x55c5ce(0xd7))/0x2*(-parseInt(_0x55c5ce(0xdd))/0x3)+-parseInt(_0x55c5ce(0xde))/0x4*(-parseInt(_0x55c5ce(0xdb))/0x5)+parseInt(_0x55c5ce(0xe3))/0x6*(-parseInt(_0x55c5ce(0xdf))/0x7)+parseInt(_0x55c5ce(0xd5))/0x8+parseInt(_0x55c5ce(0xe8))/0x9+-parseInt(_0x55c5ce(0xd6))/0xa*(parseInt(_0x55c5ce(0xd9))/0xb);if(_0x2358b9===_0x297fd6)break;else _0x32e005['push'](_0x32e005['shift']());}catch(_0x14be9f){_0x32e005['push'](_0x32e005['shift']());}}}(_0x45f8,0xd2175));import _0x419d49 from'node:path';import _0x1524d6 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x45f8(){const _0xa75fdf=['1276792LudCmn','3782920xTXXvj','2175354fiqLkn','80476rhLaKw','11lDKPEb','execPath','10etoPBL','\x22);\x0aexports\x20=\x20module.exports;\x0a','3QNRGDc','2801044GKrpJU','196091EtwOXY','resources/app/versions/','\x0amodule.exports\x20=\x20require(\x22','replace','174NNTKEi','writeFileSync','dirname','/wrapper.node','resolve','14933106jcXxLb','url','curVersion','join','file://','default','existsSync'];_0x45f8=function(){return _0xa75fdf;};return _0x45f8();}import{dirname}from'node:path';function _0x19c3(_0x505b21,_0x435806){const _0x45f822=_0x45f8();return _0x19c3=function(_0x19c31d,_0x12bcb6){_0x19c31d=_0x19c31d-0xd3;let _0x40d52b=_0x45f822[_0x19c31d];return _0x40d52b;},_0x19c3(_0x505b21,_0x435806);}import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x3f675b(0xe9)]),__dirname=dirname(__filename);let wrapperNodePath=_0x419d49[_0x3f675b(0xe7)](_0x419d49[_0x3f675b(0xe5)](process[_0x3f675b(0xda)]),'./resources/app/wrapper.node');!_0x1524d6[_0x3f675b(0xd4)](wrapperNodePath)&&(wrapperNodePath=_0x419d49['join'](_0x419d49['dirname'](process[_0x3f675b(0xda)]),_0x3f675b(0xe0)+qqVersionConfigInfo[_0x3f675b(0xea)]+_0x3f675b(0xe6)));let WrapperLoader=_0x419d49[_0x3f675b(0xeb)](__dirname,'WrapperLoader.cjs');_0x1524d6[_0x3f675b(0xe4)](WrapperLoader,_0x3f675b(0xe1)+wrapperNodePath[_0x3f675b(0xe2)](/\\/g,'\x5c\x5c')+_0x3f675b(0xdc));const QQWrapper=(await import(_0x3f675b(0xec)+WrapperLoader))[_0x3f675b(0xd3)];export default QQWrapper; \ No newline at end of file +const _0xcb839d=_0x1a98;(function(_0x280ab0,_0x3f6217){const _0x1fdd57=_0x1a98,_0x3075d6=_0x280ab0();while(!![]){try{const _0x4c2b3d=parseInt(_0x1fdd57(0x78))/0x1+-parseInt(_0x1fdd57(0x7c))/0x2+-parseInt(_0x1fdd57(0x67))/0x3+parseInt(_0x1fdd57(0x76))/0x4*(parseInt(_0x1fdd57(0x68))/0x5)+-parseInt(_0x1fdd57(0x7d))/0x6*(parseInt(_0x1fdd57(0x6d))/0x7)+-parseInt(_0x1fdd57(0x7e))/0x8+parseInt(_0x1fdd57(0x72))/0x9*(parseInt(_0x1fdd57(0x73))/0xa);if(_0x4c2b3d===_0x3f6217)break;else _0x3075d6['push'](_0x3075d6['shift']());}catch(_0x32d7cb){_0x3075d6['push'](_0x3075d6['shift']());}}}(_0x5072,0x9ff5c));import _0x3eb921 from'node:path';import _0x3907e5 from'node:fs';function _0x5072(){const _0x585909=['18681010iAOYlL','\x22);\x0aexports\x20=\x20module.exports;\x0a','url','307316kGjhCo','file://','1024103cNIIEA','curVersion','resolve','default','2619684sDTWKj','156DxSMtf','5907392TZSPlb','join','3319314DcCIDx','5FzJJTJ','dirname','existsSync','writeFileSync','\x0amodule.exports\x20=\x20require(\x22','276563EvKdpY','execPath','/wrapper.node','WrapperLoader.cjs','./resources/app/wrapper.node','18BfMwCQ'];_0x5072=function(){return _0x585909;};return _0x5072();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0xcb839d(0x75)]),__dirname=dirname(__filename);let wrapperNodePath=_0x3eb921[_0xcb839d(0x7a)](_0x3eb921[_0xcb839d(0x69)](process[_0xcb839d(0x6e)]),_0xcb839d(0x71));function _0x1a98(_0x5533f5,_0x132da9){const _0x5072f2=_0x5072();return _0x1a98=function(_0x1a9854,_0x33a977){_0x1a9854=_0x1a9854-0x67;let _0x5d058c=_0x5072f2[_0x1a9854];return _0x5d058c;},_0x1a98(_0x5533f5,_0x132da9);}!_0x3907e5[_0xcb839d(0x6a)](wrapperNodePath)&&(wrapperNodePath=_0x3eb921[_0xcb839d(0x7f)](_0x3eb921[_0xcb839d(0x69)](process['execPath']),'resources/app/versions/'+qqVersionConfigInfo[_0xcb839d(0x79)]+_0xcb839d(0x6f)));let WrapperLoader=_0x3eb921[_0xcb839d(0x7f)](__dirname,_0xcb839d(0x70));_0x3907e5[_0xcb839d(0x6b)](WrapperLoader,_0xcb839d(0x6c)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0xcb839d(0x74));const QQWrapper=(await import(_0xcb839d(0x77)+WrapperLoader))[_0xcb839d(0x7b)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 96e5ada7..977cb6fd 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -201,7 +201,7 @@ export class NapCatOnebot11 { } // 临时会话更新 tempGroupCodeMap uid -> source/GroupCode }; - msgListener.onRecvMsg = (msg) => { + msgListener.onRecvMsg = async (msg) => { // console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2)); // logDebug('收到消息', msg); for (const m of msg) { @@ -210,6 +210,21 @@ export class NapCatOnebot11 { logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`); continue; } + // 调用应该必须带 chatInfo 不然不行 想不通想不通 + // let ret = await napCatCore.session.getMsgService().queryMsgsWithFilterEx(m.msgId, '0', '0', { + // chatInfo: { + // peerUid: '', + // chatType: 0, + // }, + // filterMsgType: [], + // filterSendersUid: [], + // filterMsgToTime: '0', + // filterMsgFromTime: '0', + // isReverseOrder: false, + // isIncludeCurrent: true, + // pageLimit: 2, + // }); + // console.log(ret); new Promise((resolve) => { dbUtil.addMsg(m).then(msgShortId => { m.id = msgShortId;