diff --git a/src/common/utils/system.ts b/src/common/utils/system.ts index 014115e6..58cfd5a2 100644 --- a/src/common/utils/system.ts +++ b/src/common/utils/system.ts @@ -1,17 +1,73 @@ import os from 'node:os'; import path from 'node:path'; +import { networkInterfaces } from 'os'; +import { v4 as uuidv4 } from 'uuid'; // 缓解Win7设备兼容性问题 let osName: string; +// 设备ID +let machineId: Promise; + try { osName = os.hostname(); } catch (e) { osName = 'NapCat'; // + crypto.randomUUID().substring(0, 4); } + +const invalidMacAddresses = new Set([ + '00:00:00:00:00:00', + 'ff:ff:ff:ff:ff:ff', + 'ac:de:48:00:11:22' +]); + +function validateMacAddress(candidate: string): boolean { + const tempCandidate = candidate.replace(/\-/g, ':').toLowerCase(); + return !invalidMacAddresses.has(tempCandidate); +} + +export async function getMachineId(): Promise { + if (!machineId) { + machineId = (async () => { + const id = await getMacMachineId(); + return id || uuidv4(); // fallback, generate a UUID + })(); + } + + return machineId; +} + +export function getMac(): string { + const ifaces = networkInterfaces(); + for (const name in ifaces) { + const networkInterface = ifaces[name]; + if (networkInterface) { + for (const { mac } of networkInterface) { + if (validateMacAddress(mac)) { + return mac; + } + } + } + } + + throw new Error('Unable to retrieve mac address (unexpected format)'); +} + +async function getMacMachineId(): Promise { + try { + const crypto = await import('crypto'); + const macAddress = getMac(); + return crypto.createHash('sha256').update(macAddress, 'utf8').digest('hex'); + } catch (err) { + return undefined; + } +} + +const homeDir = os.homedir(); + + export const systemPlatform = os.platform(); export const cpuArch = os.arch(); export const systemVersion = os.release(); export const hostname = osName; -const homeDir = os.homedir(); export const downloadsPath = path.join(homeDir, 'Downloads'); -export const systemName = os.type(); +export const systemName = os.type(); \ No newline at end of file diff --git a/src/core b/src/core index f2cbf64f..7843d818 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit f2cbf64f5534aede6c16ba4dc53cdb28f6d5bb3d +Subproject commit 7843d818efd4df7f709b37f8c9ec0c07a3b6b002 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 7f172a6b..812504f7 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x306c(){var _0x7679f0=['180DZdtcA','370398HwYoej','1704332sseMAv','20XNtBxl','onMSFSsoError','477474CPGixQ','onMSFStatusChange','735147lANjQo','5774385sCSDMr','2557268dtzRmb','1770728tCyhsC','77UTtlTM'];_0x306c=function(){return _0x7679f0;};return _0x306c();}var _0x4d077f=_0x1cf9;function _0x1cf9(_0x5e14dc,_0x4a63cd){var _0x306c0f=_0x306c();return _0x1cf9=function(_0x1cf9c3,_0x5f0a2a){_0x1cf9c3=_0x1cf9c3-0x1d3;var _0x327af3=_0x306c0f[_0x1cf9c3];return _0x327af3;},_0x1cf9(_0x5e14dc,_0x4a63cd);}(function(_0xbbb421,_0x3a9ebe){var _0x20df64=_0x1cf9,_0x4d2ca4=_0xbbb421();while(!![]){try{var _0x1eab6f=parseInt(_0x20df64(0x1dd))/0x1+-parseInt(_0x20df64(0x1de))/0x2*(-parseInt(_0x20df64(0x1dc))/0x3)+-parseInt(_0x20df64(0x1d8))/0x4+parseInt(_0x20df64(0x1d7))/0x5+-parseInt(_0x20df64(0x1d4))/0x6*(parseInt(_0x20df64(0x1da))/0x7)+-parseInt(_0x20df64(0x1d9))/0x8+-parseInt(_0x20df64(0x1d6))/0x9*(parseInt(_0x20df64(0x1db))/0xa);if(_0x1eab6f===_0x3a9ebe)break;else _0x4d2ca4['push'](_0x4d2ca4['shift']());}catch(_0xa7166){_0x4d2ca4['push'](_0x4d2ca4['shift']());}}}(_0x306c,0xd8afc));export class DependsAdapter{[_0x4d077f(0x1d5)](_0x6e3797,_0x249111){}[_0x4d077f(0x1d3)](_0x2b2d4c){}['getGroupCode'](_0xe52cb){}} \ No newline at end of file +var _0xa693df=_0x1a34;(function(_0x1dede1,_0x43bb7f){var _0xc9fc58=_0x1a34,_0x26082f=_0x1dede1();while(!![]){try{var _0x1d90ae=-parseInt(_0xc9fc58(0x11b))/0x1*(parseInt(_0xc9fc58(0x118))/0x2)+-parseInt(_0xc9fc58(0x119))/0x3+parseInt(_0xc9fc58(0x115))/0x4+-parseInt(_0xc9fc58(0x116))/0x5*(-parseInt(_0xc9fc58(0x113))/0x6)+parseInt(_0xc9fc58(0x11c))/0x7+-parseInt(_0xc9fc58(0x11a))/0x8+parseInt(_0xc9fc58(0x11d))/0x9;if(_0x1d90ae===_0x43bb7f)break;else _0x26082f['push'](_0x26082f['shift']());}catch(_0x4dba99){_0x26082f['push'](_0x26082f['shift']());}}}(_0x7016,0xb32c2));function _0x1a34(_0x38af2e,_0x433ca7){var _0x7016ae=_0x7016();return _0x1a34=function(_0x1a34cd,_0x31c3e1){_0x1a34cd=_0x1a34cd-0x112;var _0x4fb9d6=_0x7016ae[_0x1a34cd];return _0x4fb9d6;},_0x1a34(_0x38af2e,_0x433ca7);}export class DependsAdapter{[_0xa693df(0x114)](_0x1aca82,_0x2d19d6){}[_0xa693df(0x112)](_0xf261ac){}[_0xa693df(0x117)](_0x19c88b){}}function _0x7016(){var _0x1ae6c4=['2676009gDYVfo','4587570JOgKoL','onMSFSsoError','24MHkgcU','onMSFStatusChange','3817552IEcBWK','968530DLKgqJ','getGroupCode','2jcKbrz','1815156ePVNky','6578368zGdmiM','459991miPKEH'];_0x7016=function(){return _0x1ae6c4;};return _0x7016();} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index 5a5a7c07..eed42c51 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x26eb(){var _0x99e3f=['745448sNyCLr','5464725ajHdmW','2FiSzyt','271516ALkXyM','dispatchCall','3897360vynQvX','740700roGmfZ','66bBDKdS','dispatchRequest','20422629BZFQKJ','10SXWAKc','dispatchCallWithJson','1397349nbQLVf'];_0x26eb=function(){return _0x99e3f;};return _0x26eb();}var _0x8b89f6=_0x2efb;function _0x2efb(_0x737b26,_0x346947){var _0x26eb9b=_0x26eb();return _0x2efb=function(_0x2efbc9,_0x1b8205){_0x2efbc9=_0x2efbc9-0xba;var _0xce63f5=_0x26eb9b[_0x2efbc9];return _0xce63f5;},_0x2efb(_0x737b26,_0x346947);}(function(_0x59524a,_0x460e99){var _0x1dcfe4=_0x2efb,_0x5d34ac=_0x59524a();while(!![]){try{var _0x24ac2d=parseInt(_0x1dcfe4(0xc1))/0x1+-parseInt(_0x1dcfe4(0xbd))/0x2*(parseInt(_0x1dcfe4(0xba))/0x3)+parseInt(_0x1dcfe4(0xc0))/0x4+parseInt(_0x1dcfe4(0xbc))/0x5+parseInt(_0x1dcfe4(0xc2))/0x6*(parseInt(_0x1dcfe4(0xbe))/0x7)+parseInt(_0x1dcfe4(0xbb))/0x8+parseInt(_0x1dcfe4(0xc4))/0x9*(-parseInt(_0x1dcfe4(0xc5))/0xa);if(_0x24ac2d===_0x460e99)break;else _0x5d34ac['push'](_0x5d34ac['shift']());}catch(_0x49e242){_0x5d34ac['push'](_0x5d34ac['shift']());}}}(_0x26eb,0x90be6));export class DispatcherAdapter{[_0x8b89f6(0xc3)](_0x45f5b2){}[_0x8b89f6(0xbf)](_0x297f98){}[_0x8b89f6(0xc6)](_0x47a4b7){}} \ No newline at end of file +function _0x29e4(_0x328f85,_0x237684){var _0x2e7960=_0x2e79();return _0x29e4=function(_0x29e46d,_0x3962ff){_0x29e46d=_0x29e46d-0xdf;var _0x47a1e1=_0x2e7960[_0x29e46d];return _0x47a1e1;},_0x29e4(_0x328f85,_0x237684);}var _0x4cda14=_0x29e4;function _0x2e79(){var _0x1eba73=['dispatchCallWithJson','802782fkbeXA','77416qKXIhD','115prumGV','dispatchCall','2091720ZQiExY','5847gxuZDw','2307732gNsABm','150pTMvRi','10659483DtPXFP','8454GNFRQh'];_0x2e79=function(){return _0x1eba73;};return _0x2e79();}(function(_0xa31e71,_0x41a69e){var _0x378dd4=_0x29e4,_0x56e38d=_0xa31e71();while(!![]){try{var _0x2d0389=-parseInt(_0x378dd4(0xe4))/0x1*(parseInt(_0x378dd4(0xe6))/0x2)+parseInt(_0x378dd4(0xe8))/0x3+parseInt(_0x378dd4(0xe0))/0x4*(-parseInt(_0x378dd4(0xe1))/0x5)+-parseInt(_0x378dd4(0xdf))/0x6+parseInt(_0x378dd4(0xe5))/0x7+-parseInt(_0x378dd4(0xe3))/0x8+parseInt(_0x378dd4(0xe7))/0x9;if(_0x2d0389===_0x41a69e)break;else _0x56e38d['push'](_0x56e38d['shift']());}catch(_0x31c2af){_0x56e38d['push'](_0x56e38d['shift']());}}}(_0x2e79,0x3a180));export class DispatcherAdapter{['dispatchRequest'](_0x50cefe){}[_0x4cda14(0xe2)](_0x1eaae0){}[_0x4cda14(0xe9)](_0x2af1d7){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index 0afedfba..ab4ad152 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x5265(_0x1008b3,_0x5139f9){var _0x5d6b94=_0x5d6b();return _0x5265=function(_0x5265a8,_0x1e5c85){_0x5265a8=_0x5265a8-0x78;var _0x34e54e=_0x5d6b94[_0x5265a8];return _0x34e54e;},_0x5265(_0x1008b3,_0x5139f9);}var _0x426564=_0x5265;(function(_0x571f61,_0x5de1ab){var _0x4b96a8=_0x5265,_0x2d503e=_0x571f61();while(!![]){try{var _0x2222ee=-parseInt(_0x4b96a8(0x79))/0x1*(parseInt(_0x4b96a8(0x7a))/0x2)+-parseInt(_0x4b96a8(0x84))/0x3+parseInt(_0x4b96a8(0x83))/0x4*(-parseInt(_0x4b96a8(0x86))/0x5)+-parseInt(_0x4b96a8(0x80))/0x6*(-parseInt(_0x4b96a8(0x87))/0x7)+-parseInt(_0x4b96a8(0x81))/0x8+parseInt(_0x4b96a8(0x7d))/0x9*(-parseInt(_0x4b96a8(0x7b))/0xa)+parseInt(_0x4b96a8(0x7f))/0xb;if(_0x2222ee===_0x5de1ab)break;else _0x2d503e['push'](_0x2d503e['shift']());}catch(_0xce7f99){_0x2d503e['push'](_0x2d503e['shift']());}}}(_0x5d6b,0xd6ed7));function _0x5d6b(){var _0x586afa=['5201292NAqMYF','onLog','5trgjvd','82243ZONDXp','onGetSrvCalTime','115040YPfARC','4DpaOfq','151190IOXrNM','onGetOfflineMsg','711fsTCTL','onInstallFinished','57800182ezqHrI','594VklOUm','11788088xUcKFT','onUpdateGeneralFlag','3622456XMOdNd'];_0x5d6b=function(){return _0x586afa;};return _0x5d6b();}export class GlobalAdapter{[_0x426564(0x85)](..._0x4e577d){}[_0x426564(0x78)](..._0x1e9f22){}['onShowErrUITips'](..._0x48bb03){}['fixPicImgType'](..._0x3cd2af){}['getAppSetting'](..._0x18e8aa){}[_0x426564(0x7e)](..._0x5459c0){}[_0x426564(0x82)](..._0x3a930f){}[_0x426564(0x7c)](..._0x47ae6d){}} \ No newline at end of file +function _0x4d85(_0x209774,_0x354ec7){var _0x5cc6f7=_0x5cc6();return _0x4d85=function(_0x4d85a8,_0x529002){_0x4d85a8=_0x4d85a8-0x1ae;var _0x38799f=_0x5cc6f7[_0x4d85a8];return _0x38799f;},_0x4d85(_0x209774,_0x354ec7);}var _0x241a1a=_0x4d85;(function(_0x33b866,_0x3a9e82){var _0x42656f=_0x4d85,_0x12b7fc=_0x33b866();while(!![]){try{var _0x2c5d23=parseInt(_0x42656f(0x1b9))/0x1*(-parseInt(_0x42656f(0x1b1))/0x2)+parseInt(_0x42656f(0x1b4))/0x3+-parseInt(_0x42656f(0x1b2))/0x4*(-parseInt(_0x42656f(0x1bf))/0x5)+parseInt(_0x42656f(0x1af))/0x6+parseInt(_0x42656f(0x1b0))/0x7*(-parseInt(_0x42656f(0x1ba))/0x8)+-parseInt(_0x42656f(0x1b8))/0x9*(parseInt(_0x42656f(0x1ae))/0xa)+-parseInt(_0x42656f(0x1bb))/0xb*(-parseInt(_0x42656f(0x1b5))/0xc);if(_0x2c5d23===_0x3a9e82)break;else _0x12b7fc['push'](_0x12b7fc['shift']());}catch(_0x1fe68f){_0x12b7fc['push'](_0x12b7fc['shift']());}}}(_0x5cc6,0x521d4));function _0x5cc6(){var _0x10dc02=['onInstallFinished','9PaFaNH','631329SbwyaM','4544nbMPhr','22wDufar','onLog','fixPicImgType','onUpdateGeneralFlag','14335qYxvya','648710HBSGRk','1482828tUrYhA','595YvOkSi','2ydlAJm','92ndpTCR','getAppSetting','1751451NlLvBH','1103544WCGQde','onGetOfflineMsg'];_0x5cc6=function(){return _0x10dc02;};return _0x5cc6();}export class GlobalAdapter{[_0x241a1a(0x1bc)](..._0x165e62){}['onGetSrvCalTime'](..._0x2764f4){}['onShowErrUITips'](..._0x46018a){}[_0x241a1a(0x1bd)](..._0xd1922c){}[_0x241a1a(0x1b3)](..._0x37f54d){}[_0x241a1a(0x1b7)](..._0x5932c0){}[_0x241a1a(0x1be)](..._0x506854){}[_0x241a1a(0x1b6)](..._0x4c6643){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index 9b841917..a052c2ed 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x5836a4,_0x522d85){var _0x3c656=_0x1c60,_0x19a43e=_0x5836a4();while(!![]){try{var _0x402fd9=parseInt(_0x3c656(0x1ce))/0x1*(parseInt(_0x3c656(0x1ca))/0x2)+-parseInt(_0x3c656(0x1cc))/0x3+parseInt(_0x3c656(0x1d0))/0x4+-parseInt(_0x3c656(0x1d1))/0x5*(-parseInt(_0x3c656(0x1d3))/0x6)+-parseInt(_0x3c656(0x1cd))/0x7*(parseInt(_0x3c656(0x1d4))/0x8)+-parseInt(_0x3c656(0x1cb))/0x9+parseInt(_0x3c656(0x1d2))/0xa*(parseInt(_0x3c656(0x1cf))/0xb);if(_0x402fd9===_0x522d85)break;else _0x19a43e['push'](_0x19a43e['shift']());}catch(_0x495d6a){_0x19a43e['push'](_0x19a43e['shift']());}}}(_0x4f42,0xd6037));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x1c60(_0x3e2811,_0x258d02){var _0x4f4251=_0x4f42();return _0x1c60=function(_0x1c607e,_0x2abc5f){_0x1c607e=_0x1c607e-0x1ca;var _0x1c6507=_0x4f4251[_0x1c607e];return _0x1c6507;},_0x1c60(_0x3e2811,_0x258d02);}export*from'./NodeIGlobalAdapter';function _0x4f42(){var _0x276740=['721oDaKpY','1293127qvLdEf','22FGNuem','4284156ktwEqi','25hEsrke','9416230hMWHXB','453342YEDUwJ','103736bxwfRR','2nExwgn','6395949PUmcdB','5107008yPDxAq'];_0x4f42=function(){return _0x276740;};return _0x4f42();} \ No newline at end of file +function _0x58f4(_0x2fdf6a,_0x33d4eb){var _0x29276f=_0x2927();return _0x58f4=function(_0x58f4c5,_0x239135){_0x58f4c5=_0x58f4c5-0xa5;var _0x294c=_0x29276f[_0x58f4c5];return _0x294c;},_0x58f4(_0x2fdf6a,_0x33d4eb);}(function(_0x1bda1c,_0xa727ad){var _0xe801d3=_0x58f4,_0x56ea6e=_0x1bda1c();while(!![]){try{var _0x4e455e=parseInt(_0xe801d3(0xa7))/0x1*(parseInt(_0xe801d3(0xac))/0x2)+parseInt(_0xe801d3(0xaf))/0x3*(parseInt(_0xe801d3(0xa9))/0x4)+parseInt(_0xe801d3(0xab))/0x5*(-parseInt(_0xe801d3(0xa5))/0x6)+-parseInt(_0xe801d3(0xa6))/0x7+parseInt(_0xe801d3(0xa8))/0x8*(-parseInt(_0xe801d3(0xaa))/0x9)+-parseInt(_0xe801d3(0xad))/0xa*(-parseInt(_0xe801d3(0xb1))/0xb)+-parseInt(_0xe801d3(0xae))/0xc*(-parseInt(_0xe801d3(0xb0))/0xd);if(_0x4e455e===_0xa727ad)break;else _0x56ea6e['push'](_0x56ea6e['shift']());}catch(_0x33696e){_0x56ea6e['push'](_0x56ea6e['shift']());}}}(_0x2927,0x72398));export*from'./NodeIDependsAdapter';function _0x2927(){var _0x45ab2e=['6jSfwdn','680qzbQxg','84YaCwqu','21PjxXqS','730366eyWXXx','73733RTyjDB','2178534tcblcP','1580831tRHklg','64459FQOdAi','40wEeREy','273620JWifXZ','182547UmBYUE','10KzBVLg'];_0x2927=function(){return _0x45ab2e;};return _0x2927();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 233ba6a3..10b21872 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x362676=_0x2c99;(function(_0x1c871f,_0x15b337){const _0x4593f3=_0x2c99,_0x3e989c=_0x1c871f();while(!![]){try{const _0x507edf=-parseInt(_0x4593f3(0xb6))/0x1*(parseInt(_0x4593f3(0x7e))/0x2)+-parseInt(_0x4593f3(0xa1))/0x3*(-parseInt(_0x4593f3(0x83))/0x4)+-parseInt(_0x4593f3(0x89))/0x5+-parseInt(_0x4593f3(0x84))/0x6*(-parseInt(_0x4593f3(0x9a))/0x7)+-parseInt(_0x4593f3(0x7b))/0x8+parseInt(_0x4593f3(0xb9))/0x9+parseInt(_0x4593f3(0xb0))/0xa;if(_0x507edf===_0x15b337)break;else _0x3e989c['push'](_0x3e989c['shift']());}catch(_0x4f8e0c){_0x3e989c['push'](_0x3e989c['shift']());}}}(_0x6141,0x51fd2));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x437193 from'path';import _0x3c74a2 from'fs';import _0x1a5fbc from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0xf83725 from'file-type';function _0x6141(){const _0x28f1d2=['msgId','delete','getFileSize','150437FChBqr','getHotUpdateCachePath','getRichMediaFilePathForGuild','PIC','clearCache','existsSync','WZcYF','69GZkEMb','gXAbb','&rkey=','startsWith','tmp','clearCacheDataByKeys','bODnM','YRdru','clearChatCache','ghhvK','basename','addCacheScanedPaths','set','addListener','onLoginSuccess','9029110wKxdfl','lyqhm','defaultFileDownloadPath','addCacheScannedPaths','includes','SRFnG','543541lCRViM','onRichMediaDownloadComplete','downloadMedia','3896982uJZFSp','getDesktopTmpPath','getChatCacheList','5266416WFQMEN','cMdmc','md5HexStr','2jhNvTe','gHEVu','unlink','getChatCacheInfo','session','42708uxvxjD','6mQCqHj','/download','join','QEElK','gWWHx','326510ndgkkF','group_rkey','copyFile','getFileCacheInfo','setCacheSilentScan','mNWGK','downloadRichMedia','zQdYm','getFileType','toUpperCase','下载超时','getMsgService','ext','getStorageCleanService'];_0x6141=function(){return _0x28f1d2;};return _0x6141();}function _0x2c99(_0x29224e,_0x1969a0){const _0x61412c=_0x6141();return _0x2c99=function(_0x2c99b7,_0x9511b3){_0x2c99b7=_0x2c99b7-0x7b;let _0x4d9227=_0x61412c[_0x2c99b7];return _0x4d9227;},_0x2c99(_0x29224e,_0x1969a0);}import{MsgListener}from'@/core/listeners';import _0x5d9c57 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[_0x362676(0xb7)]=_0x56629a=>{const _0x528de7=_0x362676;for(const [_0x5b9e33,_0x89d8c4]of downloadMediaTasks){_0x89d8c4(_0x56629a),downloadMediaTasks[_0x528de7(0x98)](_0x5b9e33);}},setTimeout(()=>{const _0x566a09=_0x362676;napCatCore[_0x566a09(0xaf)](()=>{const _0x49fd1d=_0x566a09;napCatCore[_0x49fd1d(0xae)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x362676(0x91)](_0x235b6b){return _0xf83725['fileTypeFromFile'](_0x235b6b);}static async[_0x362676(0x8b)](_0x443a1,_0x26029d){const _0x5e3a43=_0x362676;await napCatCore['util'][_0x5e3a43(0x8b)](_0x443a1,_0x26029d);}static async['getFileSize'](_0x5279c4){const _0x858579=_0x362676;return await napCatCore['util'][_0x858579(0x99)](_0x5279c4);}static async['uploadFile'](_0x1d0b0c,_0x58892a=ElementType[_0x362676(0x9d)],_0x407258=0x0){const _0x4b5c35=_0x362676,_0x5356ac={'sxunL':function(_0x298f2c,_0x5294a6){return _0x298f2c(_0x5294a6);},'gXAbb':function(_0x15b7b1,_0x266c96){return _0x15b7b1+_0x266c96;}},_0x34b1cd=await _0x5356ac['sxunL'](calculateFileMD5,_0x1d0b0c);let _0x119107=(await NTQQFileApi[_0x4b5c35(0x91)](_0x1d0b0c))?.[_0x4b5c35(0x95)]||'';_0x119107&&(_0x119107=_0x5356ac[_0x4b5c35(0xa2)]('.',_0x119107));let _0x5eb07f=''+_0x437193[_0x4b5c35(0xab)](_0x1d0b0c);_0x5eb07f['indexOf']('.')===-0x1&&(_0x5eb07f+=_0x119107);const _0x415be5=napCatCore[_0x4b5c35(0x82)][_0x4b5c35(0x94)]()[_0x4b5c35(0x9c)]({'md5HexStr':_0x34b1cd,'fileName':_0x5eb07f,'elementType':_0x58892a,'elementSubType':_0x407258,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x4b5c35(0x8b)](_0x1d0b0c,_0x415be5);const _0x545626=await NTQQFileApi[_0x4b5c35(0x99)](_0x1d0b0c);return{'md5':_0x34b1cd,'fileName':_0x5eb07f,'path':_0x415be5,'fileSize':_0x545626,'ext':_0x119107};}static async[_0x362676(0xb8)](_0x241f2e,_0x34a0a4,_0x5bf85b,_0x2ea169,_0x4d5b9b,_0x39686a,_0x116b6e=0x3e8*0x3c*0x2,_0x4648aa=![]){const _0x1cbe73=_0x362676,_0x338468={'WZcYF':function(_0x19f0ff,_0x5ed53c){return _0x19f0ff===_0x5ed53c;},'YRdru':function(_0x2b2fea,_0x21655f){return _0x2b2fea(_0x21655f);},'SRFnG':_0x1cbe73(0x93),'cMdmc':function(_0x4b1f97){return _0x4b1f97();},'ghhvK':function(_0x11a7e6,_0x4ad01e,_0xf3257e){return _0x11a7e6(_0x4ad01e,_0xf3257e);}};if(_0x39686a&&_0x3c74a2[_0x1cbe73(0x9f)](_0x39686a)){if(_0x4648aa)try{await _0x1a5fbc[_0x1cbe73(0x80)](_0x39686a);}catch(_0x33e03f){}else return _0x39686a;}return new Promise((_0x5b50a6,_0x4031b5)=>{const _0x21cfcc=_0x1cbe73,_0x28b20b={'zQdYm':function(_0x91a1cd,_0x5406d1){return _0x91a1cd(_0x5406d1);},'mNWGK':_0x338468[_0x21cfcc(0xb5)]};let _0x4c8fa3=![];const _0xd72d5f=_0x21d683=>{const _0x8021ac=_0x21cfcc;if(_0x338468[_0x8021ac(0xa0)](_0x21d683[_0x8021ac(0x97)],_0x241f2e)){_0x4c8fa3=!![];let _0xe15b84=_0x21d683['filePath'];if(_0xe15b84[_0x8021ac(0xa4)]('\x5c')){const _0x23cfae=sessionConfig[_0x8021ac(0xb2)];_0xe15b84=_0x437193[_0x8021ac(0x86)](_0x23cfae,_0xe15b84);}_0x338468[_0x8021ac(0xa8)](_0x5b50a6,_0xe15b84);}};downloadMediaTasks[_0x21cfcc(0xad)](_0x338468[_0x21cfcc(0x7c)](randomUUID),_0xd72d5f),_0x338468[_0x21cfcc(0xaa)](setTimeout,()=>{const _0x475509=_0x21cfcc;!_0x4c8fa3&&_0x28b20b[_0x475509(0x90)](_0x4031b5,_0x28b20b[_0x475509(0x8e)]);},_0x116b6e),napCatCore[_0x21cfcc(0x82)]['getMsgService']()[_0x21cfcc(0x8f)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x241f2e,'chatType':_0x34a0a4,'peerUid':_0x5bf85b,'elementId':_0x2ea169,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4d5b9b});});}static async['getImageSize'](_0x12087a){const _0x428942={'gWWHx':function(_0x2e11fa,_0x39f629){return _0x2e11fa(_0x39f629);},'XptGv':function(_0x3d785d,_0x12ba57,_0xec9fb5){return _0x3d785d(_0x12ba57,_0xec9fb5);}};return new Promise((_0x2f305d,_0x30d812)=>{_0x428942['XptGv'](_0x5d9c57,_0x12087a,(_0x3d8a2a,_0x60b142)=>{const _0x3c2421=_0x2c99;_0x3d8a2a?_0x428942[_0x3c2421(0x88)](_0x30d812,_0x3d8a2a):_0x2f305d(_0x60b142);});});}static async['getImageUrl'](_0x4de49a,_0x1e6780){const _0x3c5758=_0x362676,_0x4181d5={'gHEVu':_0x3c5758(0xa3),'QEElK':function(_0x3e5397,_0x361aaa){return _0x3e5397+_0x361aaa;},'lyqhm':function(_0x21f9af,_0x2e700c){return _0x21f9af+_0x2e700c;},'SbhIv':function(_0x3cf066,_0x3cdb71){return _0x3cf066+_0x3cdb71;},'bODnM':function(_0x389a60,_0x58d69b){return _0x389a60||_0x58d69b;},'CddtA':function(_0x27afd2,_0xda9e42){return _0x27afd2||_0xda9e42;},'HPFra':function(_0x18ecfd,_0xdabc97,_0x162191){return _0x18ecfd(_0xdabc97,_0x162191);},'NLyHI':'图片url获取失败'};if(!_0x4de49a)return'';const _0x281d15=_0x4de49a['originImageUrl'],_0xb446f2=_0x4de49a[_0x3c5758(0x7d)],_0x4a3ed5=_0x4de49a['md5HexStr'],_0x47ff6f=_0x4de49a['fileUuid'];if(_0x281d15){if(_0x281d15[_0x3c5758(0xa4)](_0x3c5758(0x85))){if(_0x281d15[_0x3c5758(0xb4)](_0x4181d5[_0x3c5758(0x7f)]))return _0x4181d5[_0x3c5758(0x87)](IMAGE_HTTP_HOST_NT,_0x281d15);const _0x18bcbb=await rkeyManager['getRkey'](),_0x55d06f=_0x1e6780?_0x18bcbb['private_rkey']:_0x18bcbb[_0x3c5758(0x8a)];return _0x4181d5[_0x3c5758(0x87)](_0x4181d5[_0x3c5758(0xb1)](IMAGE_HTTP_HOST_NT,_0x281d15),''+_0x55d06f);}else return _0x4181d5['SbhIv'](IMAGE_HTTP_HOST,_0x281d15);}else{if(_0x4181d5[_0x3c5758(0xa7)](_0x4a3ed5,_0xb446f2))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x4181d5['CddtA'](_0x4a3ed5,_0xb446f2)[_0x3c5758(0x92)]()+'/0';}return _0x4181d5['HPFra'](logDebug,_0x4181d5['NLyHI'],_0x4de49a),'';}}export class NTQQFileCacheApi{static async[_0x362676(0x8d)](_0x1867c7=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x362676(0x9e)](_0x33911a=[_0x362676(0xa5),'hotUpdate']){const _0x148ea7=_0x362676;return napCatCore[_0x148ea7(0x82)][_0x148ea7(0x96)]()[_0x148ea7(0xa6)](_0x33911a);}static[_0x362676(0xb3)](_0x397695={}){const _0x56e3c1=_0x362676;return napCatCore[_0x56e3c1(0x82)][_0x56e3c1(0x96)]()[_0x56e3c1(0xac)](_0x397695);}static['scanCache'](){const _0x29f0cd=_0x362676;return napCatCore[_0x29f0cd(0x82)]['getStorageCleanService']()['scanCache']();}static[_0x362676(0x9b)](){return'';}static[_0x362676(0xba)](){return'';}static[_0x362676(0xbb)](_0x13285f,_0x3dcd49=0x3e8,_0x54cf95=0x0){const _0x4e1ef6=_0x362676;return napCatCore['session'][_0x4e1ef6(0x96)]()[_0x4e1ef6(0x81)](_0x13285f,_0x3dcd49,0x1,_0x54cf95);}static[_0x362676(0x8c)](_0x35409a,_0x7b23dd=0x3e8,_0x41f28c){const _0x2f4cce=_0x41f28c?_0x41f28c:{'fileType':_0x35409a};}static async[_0x362676(0xa9)](_0x291d3f=[],_0x4e50e8=[]){const _0x4ac532=_0x362676;return napCatCore[_0x4ac532(0x82)][_0x4ac532(0x96)]()['clearChatCacheInfo'](_0x291d3f,_0x4e50e8);}} \ No newline at end of file +const _0x109239=_0x3e6a;(function(_0x2838a3,_0x2a716a){const _0x41e0f3=_0x3e6a,_0x5596f9=_0x2838a3();while(!![]){try{const _0x46fda6=parseInt(_0x41e0f3(0x1f7))/0x1*(parseInt(_0x41e0f3(0x1cf))/0x2)+-parseInt(_0x41e0f3(0x1c2))/0x3+-parseInt(_0x41e0f3(0x1b9))/0x4+-parseInt(_0x41e0f3(0x1ca))/0x5*(-parseInt(_0x41e0f3(0x1c0))/0x6)+-parseInt(_0x41e0f3(0x1ec))/0x7*(parseInt(_0x41e0f3(0x1db))/0x8)+parseInt(_0x41e0f3(0x1fa))/0x9*(-parseInt(_0x41e0f3(0x1d0))/0xa)+-parseInt(_0x41e0f3(0x1f5))/0xb*(-parseInt(_0x41e0f3(0x1b8))/0xc);if(_0x46fda6===_0x2a716a)break;else _0x5596f9['push'](_0x5596f9['shift']());}catch(_0x4ffe34){_0x5596f9['push'](_0x5596f9['shift']());}}}(_0x5d32,0x7fe41));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x524eb5 from'path';import _0x2a1894 from'fs';import _0x1ac1f7 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x201476 from'file-type';import{MsgListener}from'@/core/listeners';import _0x3b0564 from'image-size';function _0x5d32(){const _0x61d37f=['173200QOIMPN','getImageSize','RxhMo','getCacheSessionPathList','addCacheScanedPaths','startsWith','private_rkey','join','HLuDT','SMACq','setCacheSilentScan','toUpperCase','util','msgId','downloadMedia','图片url获取失败','existsSync','35KPYliG','delete','set','ext','/gchatpic_new/0/0-0-','eJbQI','xAptl','hotUpdate','XobtL','11GyGoin','getFileType','482KVesgq','qYbxe','indexOf','18gwRmdx','session','nclyB','getFileSize','gHuTT','20175852LQXQTh','440044NnWuXF','copyFile','fileTypeFromFile','getStorageCleanService','scanCache','/download','lspmz','2046NOkopx','EsvKn','1246017xWPjKq','getRkey','getChatCacheInfo','downloadRichMedia','getChatCacheList','unlink','vnsEJ','tmp','1450uCwqsz','uploadFile','fileUuid','bzLxv','addListener','1324bRelys','4709270mVncwZ','PIC','basename','getDesktopTmpPath','isbGg','IMZJW','originImageUrl','clearChatCacheInfo','clearCache','addCacheScannedPaths','getImageUrl'];_0x5d32=function(){return _0x61d37f;};return _0x5d32();}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();function _0x3e6a(_0x4ebd15,_0x5d5a4a){const _0x5d329c=_0x5d32();return _0x3e6a=function(_0x3e6aa3,_0x72e993){_0x3e6aa3=_0x3e6aa3-0x1b6;let _0x3d1c58=_0x5d329c[_0x3e6aa3];return _0x3d1c58;},_0x3e6a(_0x4ebd15,_0x5d5a4a);}downloadMediaListener['onRichMediaDownloadComplete']=_0x393f9a=>{const _0x666590=_0x3e6a,_0x10d00a={'RxhMo':function(_0x15ebcb,_0x3a7ccf){return _0x15ebcb(_0x3a7ccf);}};for(const [_0x3f3c76,_0x474a73]of downloadMediaTasks){_0x10d00a[_0x666590(0x1dd)](_0x474a73,_0x393f9a),downloadMediaTasks[_0x666590(0x1ed)](_0x3f3c76);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3879a9=_0x3e6a;napCatCore[_0x3879a9(0x1ce)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x109239(0x1f6)](_0x5beead){const _0x52e871=_0x109239;return _0x201476[_0x52e871(0x1bb)](_0x5beead);}static async[_0x109239(0x1ba)](_0x12424c,_0x20725f){const _0x2d1bf4=_0x109239;await napCatCore['util'][_0x2d1bf4(0x1ba)](_0x12424c,_0x20725f);}static async['getFileSize'](_0x3e0f4b){const _0x3edae4=_0x109239;return await napCatCore[_0x3edae4(0x1e7)][_0x3edae4(0x1b6)](_0x3e0f4b);}static async[_0x109239(0x1cb)](_0x36cb62,_0x345e4e=ElementType[_0x109239(0x1d1)],_0x277ca3=0x0){const _0x4a6b07=_0x109239,_0x541399={'isbGg':function(_0x2798f9,_0x19e1e3){return _0x2798f9+_0x19e1e3;},'eJbQI':function(_0x23c6fe,_0x5ae3e5){return _0x23c6fe===_0x5ae3e5;}},_0x27f1b2=await calculateFileMD5(_0x36cb62);let _0x343698=(await NTQQFileApi['getFileType'](_0x36cb62))?.[_0x4a6b07(0x1ef)]||'';_0x343698&&(_0x343698=_0x541399[_0x4a6b07(0x1d4)]('.',_0x343698));let _0x999ee4=''+_0x524eb5[_0x4a6b07(0x1d2)](_0x36cb62);_0x541399[_0x4a6b07(0x1f1)](_0x999ee4[_0x4a6b07(0x1f9)]('.'),-0x1)&&(_0x999ee4+=_0x343698);const _0x374963=napCatCore['session']['getMsgService']()['getRichMediaFilePathForGuild']({'md5HexStr':_0x27f1b2,'fileName':_0x999ee4,'elementType':_0x345e4e,'elementSubType':_0x277ca3,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x36cb62,_0x374963);const _0x31a363=await NTQQFileApi[_0x4a6b07(0x1b6)](_0x36cb62);return{'md5':_0x27f1b2,'fileName':_0x999ee4,'path':_0x374963,'fileSize':_0x31a363,'ext':_0x343698};}static async[_0x109239(0x1e9)](_0x3ecaec,_0x259421,_0x2eb17f,_0x13c267,_0x4d25ad,_0x1ea968,_0x518657=0x3e8*0x3c*0x2,_0x2756f9=![]){const _0x5448f0=_0x109239,_0x53498f={'qYbxe':function(_0xac8a48,_0x2bb002){return _0xac8a48===_0x2bb002;},'nclyB':function(_0x2d03f2,_0x1dbaaf){return _0x2d03f2(_0x1dbaaf);},'EsvKn':'下载超时','HLuDT':function(_0x59cc8a){return _0x59cc8a();},'igLuD':function(_0x5c814b,_0x149fac,_0x40b596){return _0x5c814b(_0x149fac,_0x40b596);}};if(_0x1ea968&&_0x2a1894[_0x5448f0(0x1eb)](_0x1ea968)){if(_0x2756f9)try{await _0x1ac1f7[_0x5448f0(0x1c7)](_0x1ea968);}catch(_0x19b794){}else return _0x1ea968;}return new Promise((_0x27bb08,_0x3833b7)=>{const _0x25bcb6=_0x5448f0;let _0x79b9e1=![];const _0x5dd12e=_0x37692e=>{const _0x4a215a=_0x3e6a;if(_0x53498f[_0x4a215a(0x1f8)](_0x37692e[_0x4a215a(0x1e8)],_0x3ecaec)){_0x79b9e1=!![];let _0x258d46=_0x37692e['filePath'];if(_0x258d46[_0x4a215a(0x1e0)]('\x5c')){const _0xbb05bc=sessionConfig['defaultFileDownloadPath'];_0x258d46=_0x524eb5[_0x4a215a(0x1e2)](_0xbb05bc,_0x258d46);}_0x53498f[_0x4a215a(0x1fc)](_0x27bb08,_0x258d46);}};downloadMediaTasks[_0x25bcb6(0x1ee)](_0x53498f[_0x25bcb6(0x1e3)](randomUUID),_0x5dd12e),_0x53498f['igLuD'](setTimeout,()=>{const _0x44888f=_0x25bcb6;!_0x79b9e1&&_0x53498f[_0x44888f(0x1fc)](_0x3833b7,_0x53498f[_0x44888f(0x1c1)]);},_0x518657),napCatCore[_0x25bcb6(0x1fb)]['getMsgService']()[_0x25bcb6(0x1c5)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3ecaec,'chatType':_0x259421,'peerUid':_0x2eb17f,'elementId':_0x13c267,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4d25ad});});}static async[_0x109239(0x1dc)](_0x3b42ce){const _0x2e68f4={'bzLxv':function(_0x5e9a6e,_0x3ba793){return _0x5e9a6e(_0x3ba793);},'UNxPL':function(_0x2d82ea,_0x478c17,_0xebc9a5){return _0x2d82ea(_0x478c17,_0xebc9a5);}};return new Promise((_0x492090,_0x2ac25e)=>{const _0x474011={'uyoro':function(_0x2dbcf0,_0x53b65a){return _0x2dbcf0(_0x53b65a);},'SMACq':function(_0xdc3ac2,_0x42bd95){const _0xd34593=_0x3e6a;return _0x2e68f4[_0xd34593(0x1cd)](_0xdc3ac2,_0x42bd95);}};_0x2e68f4['UNxPL'](_0x3b0564,_0x3b42ce,(_0x1dadfa,_0x5f33c8)=>{const _0x57bb48=_0x3e6a;_0x1dadfa?_0x474011['uyoro'](_0x2ac25e,_0x1dadfa):_0x474011[_0x57bb48(0x1e4)](_0x492090,_0x5f33c8);});});}static async[_0x109239(0x1da)](_0x1f7e74,_0x29e639){const _0x19753f=_0x109239,_0x45d12d={'lspmz':_0x19753f(0x1be),'IMZJW':'&rkey=','vnsEJ':function(_0x1dabd7,_0x47aa81){return _0x1dabd7+_0x47aa81;},'gHuTT':function(_0x4ad7e6,_0x4fa67b){return _0x4ad7e6||_0x4fa67b;},'xAptl':function(_0x70f201,_0x13d548,_0x16d895){return _0x70f201(_0x13d548,_0x16d895);},'XobtL':_0x19753f(0x1ea)};if(!_0x1f7e74)return'';const _0x1cc06c=_0x1f7e74[_0x19753f(0x1d6)],_0x3a67ce=_0x1f7e74['md5HexStr'],_0x23e802=_0x1f7e74['md5HexStr'],_0x2ca5b8=_0x1f7e74[_0x19753f(0x1cc)];if(_0x1cc06c){if(_0x1cc06c[_0x19753f(0x1e0)](_0x45d12d[_0x19753f(0x1bf)])){if(_0x1cc06c['includes'](_0x45d12d[_0x19753f(0x1d5)]))return _0x45d12d[_0x19753f(0x1c8)](IMAGE_HTTP_HOST_NT,_0x1cc06c);const _0x11e3c6=await rkeyManager[_0x19753f(0x1c3)](),_0x4d4b41=_0x29e639?_0x11e3c6[_0x19753f(0x1e1)]:_0x11e3c6['group_rkey'];return _0x45d12d[_0x19753f(0x1c8)](_0x45d12d[_0x19753f(0x1c8)](IMAGE_HTTP_HOST_NT,_0x1cc06c),''+_0x4d4b41);}else return _0x45d12d[_0x19753f(0x1c8)](IMAGE_HTTP_HOST,_0x1cc06c);}else{if(_0x45d12d[_0x19753f(0x1b7)](_0x23e802,_0x3a67ce))return IMAGE_HTTP_HOST+_0x19753f(0x1f0)+(_0x23e802||_0x3a67ce)[_0x19753f(0x1e6)]()+'/0';}return _0x45d12d[_0x19753f(0x1f2)](logDebug,_0x45d12d[_0x19753f(0x1f4)],_0x1f7e74),'';}}export class NTQQFileCacheApi{static async[_0x109239(0x1e5)](_0x1b85ec=!![]){return'';}static[_0x109239(0x1de)](){return'';}static[_0x109239(0x1d8)](_0x28dbd8=[_0x109239(0x1c9),_0x109239(0x1f3)]){const _0x1aac39=_0x109239;return napCatCore[_0x1aac39(0x1fb)][_0x1aac39(0x1bc)]()['clearCacheDataByKeys'](_0x28dbd8);}static[_0x109239(0x1d9)](_0x1e5d59={}){const _0x6e860c=_0x109239;return napCatCore[_0x6e860c(0x1fb)][_0x6e860c(0x1bc)]()[_0x6e860c(0x1df)](_0x1e5d59);}static[_0x109239(0x1bd)](){const _0x3362ee=_0x109239;return napCatCore['session'][_0x3362ee(0x1bc)]()['scanCache']();}static['getHotUpdateCachePath'](){return'';}static[_0x109239(0x1d3)](){return'';}static[_0x109239(0x1c6)](_0x2b6493,_0x45be62=0x3e8,_0x1b4d2d=0x0){const _0x2f479c=_0x109239;return napCatCore[_0x2f479c(0x1fb)][_0x2f479c(0x1bc)]()[_0x2f479c(0x1c4)](_0x2b6493,_0x45be62,0x1,_0x1b4d2d);}static['getFileCacheInfo'](_0x113ca7,_0x559067=0x3e8,_0x25f334){const _0x87010=_0x25f334?_0x25f334:{'fileType':_0x113ca7};}static async['clearChatCache'](_0x5c9e26=[],_0x256640=[]){const _0x39858f=_0x109239;return napCatCore[_0x39858f(0x1fb)][_0x39858f(0x1bc)]()[_0x39858f(0x1d7)](_0x5c9e26,_0x256640);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index e88bc170..cf754dbb 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -(function(_0x40b4f2,_0x12d44a){const _0x551b96=_0x15f8,_0x52b13a=_0x40b4f2();while(!![]){try{const _0x1017f1=parseInt(_0x551b96(0xd5))/0x1*(-parseInt(_0x551b96(0xdc))/0x2)+-parseInt(_0x551b96(0xe6))/0x3*(-parseInt(_0x551b96(0xd4))/0x4)+-parseInt(_0x551b96(0xe3))/0x5*(parseInt(_0x551b96(0xe5))/0x6)+-parseInt(_0x551b96(0xd9))/0x7+-parseInt(_0x551b96(0xe0))/0x8*(parseInt(_0x551b96(0xdf))/0x9)+parseInt(_0x551b96(0xe4))/0xa+parseInt(_0x551b96(0xdd))/0xb;if(_0x1017f1===_0x12d44a)break;else _0x52b13a['push'](_0x52b13a['shift']());}catch(_0x3064c8){_0x52b13a['push'](_0x52b13a['shift']());}}}(_0x5b64,0x7c7b4));import{napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';function _0x15f8(_0x440988,_0x3edceb){const _0x5b6422=_0x5b64();return _0x15f8=function(_0x15f872,_0x529f81){_0x15f872=_0x15f872-0xd3;let _0x28aaf8=_0x5b6422[_0x15f872];return _0x28aaf8;},_0x15f8(_0x440988,_0x3edceb);}function _0x5b64(){const _0x3de48c=['4541243elRICd','NodeIKernelBuddyService/getBuddyList','approvalFriendRequest','46vjRQre','9137722RzXxbY','push','3456801gfZvEJ','16IAnaJn','friendUid','uid','3156280TfCLqq','8553520LHEMmK','6kYKhdr','47163PquTMA','reqTime','getBuddyService','232CgpLJc','1731afuUwN','ixXzl','NodeIKernelBuddyListener/onBuddyListChange','uin'];_0x5b64=function(){return _0x3de48c;};return _0x5b64();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async['getFriends'](_0x14bc2b=![]){const _0x57c4c3=_0x15f8,_0x422091={'ixXzl':_0x57c4c3(0xda),'poYKO':_0x57c4c3(0xd7)};let [_0x2d2a11,_0x1737a7]=await NTEventDispatch['CallNormalEvent'](_0x422091[_0x57c4c3(0xd6)],_0x422091['poYKO'],0x1,0x1388,_0x14bc2b);const _0x41ef71=[];for(const _0x21b22f of _0x1737a7){for(const _0x1bd0cb of _0x21b22f['buddyList']){_0x41ef71[_0x57c4c3(0xde)](_0x1bd0cb),uid2UinMap[_0x1bd0cb[_0x57c4c3(0xe2)]]=_0x1bd0cb[_0x57c4c3(0xd8)];}}return _0x41ef71;}static async['handleFriendRequest'](_0xd0a158,_0x391250){const _0x6bf9c5=_0x15f8;napCatCore['session'][_0x6bf9c5(0xd3)]()?.[_0x6bf9c5(0xdb)]({'friendUid':_0xd0a158[_0x6bf9c5(0xe1)],'reqTime':_0xd0a158[_0x6bf9c5(0xe7)],'accept':_0x391250});}} \ No newline at end of file +const _0x54308b=_0x2027;(function(_0x3938ba,_0x3664da){const _0x12c3e8=_0x2027,_0x2c1019=_0x3938ba();while(!![]){try{const _0x2fc59b=parseInt(_0x12c3e8(0x170))/0x1*(-parseInt(_0x12c3e8(0x174))/0x2)+parseInt(_0x12c3e8(0x17f))/0x3+-parseInt(_0x12c3e8(0x175))/0x4*(-parseInt(_0x12c3e8(0x171))/0x5)+parseInt(_0x12c3e8(0x17d))/0x6+parseInt(_0x12c3e8(0x16c))/0x7+-parseInt(_0x12c3e8(0x176))/0x8+-parseInt(_0x12c3e8(0x17e))/0x9;if(_0x2fc59b===_0x3664da)break;else _0x2c1019['push'](_0x2c1019['shift']());}catch(_0x382fe9){_0x2c1019['push'](_0x2c1019['shift']());}}}(_0x18fe,0x3f490));function _0x18fe(){const _0x17cab4=['2644698cwaRIg','NodeIKernelBuddyService/getBuddyList','push','uid','1DKdPgx','10265orwozN','getBuddyService','session','433934PPoqnF','676QzmubI','3136064QuLBNf','CallNormalEvent','NodeIKernelBuddyListener/onBuddyListChange','handleFriendRequest','uin','friendUid','reqTime','2657202GNINGF','6500007FlWXem','1268328akACBX','CCtgM','buddyList'];_0x18fe=function(){return _0x17cab4;};return _0x18fe();}import{napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';function _0x2027(_0x37d829,_0x306944){const _0x18fe65=_0x18fe();return _0x2027=function(_0x202798,_0x4b18fb){_0x202798=_0x202798-0x16a;let _0x346a1f=_0x18fe65[_0x202798];return _0x346a1f;},_0x2027(_0x37d829,_0x306944);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async['getFriends'](_0x5829ad=![]){const _0x5daa15=_0x2027,_0x893f0a={'CCtgM':_0x5daa15(0x16d)};let [_0x4f3279,_0x3bacac]=await NTEventDispatch[_0x5daa15(0x177)](_0x893f0a[_0x5daa15(0x16a)],_0x5daa15(0x178),0x1,0x1388,_0x5829ad);const _0x24a08f=[];for(const _0x32e15d of _0x3bacac){for(const _0x423444 of _0x32e15d[_0x5daa15(0x16b)]){_0x24a08f[_0x5daa15(0x16e)](_0x423444),uid2UinMap[_0x423444[_0x5daa15(0x16f)]]=_0x423444[_0x5daa15(0x17a)];}}return _0x24a08f;}static async[_0x54308b(0x179)](_0x54bc41,_0x1803b7){const _0x1230ab=_0x54308b;napCatCore[_0x1230ab(0x173)][_0x1230ab(0x172)]()?.['approvalFriendRequest']({'friendUid':_0x54bc41[_0x1230ab(0x17b)],'reqTime':_0x54bc41[_0x1230ab(0x17c)],'accept':_0x1803b7});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index 839eb0bd..3dc5c3c8 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x8fab(_0x26eb0e,_0x61ee1){const _0x2630c0=_0x2630();return _0x8fab=function(_0x8fabe4,_0x27c469){_0x8fabe4=_0x8fabe4-0xaf;let _0x1b12cc=_0x2630c0[_0x8fabe4];return _0x1b12cc;},_0x8fab(_0x26eb0e,_0x61ee1);}function _0x2630(){const _0x24a2ca=['modifyMemberCardName','CreatGroupFileFolder','NodeIKernelGroupListener/onGroupListUpdate','deleteGroupFile','publishGroupBulletin','226753xghmxw','GetGroupFileCount','yKvOx','result','modifyMemberRole','createMemberListScene','uploadGroupBulletinPic','vDFoO','forEach','setMemberShutUp','setMemberCard','group','buAuN','getGroupIgnoreNotifies','DuGma','获取群成员列表出错,','getNextMemberList','getGroupMembers','banMember','1521195tDmytc','setGroupShutUp','kickMember','uin','groupMemberList_MainWindow','operateSysNotify','66HsPQEa','errMsg','RLsUv','banGroup','createGroupFolder','setMemberRole','getRichMediaService','504BnLpmU','getGroupService','240592TClGvl','175390MvdjyO','ycNDm','infos','DnFei','DelGroupFileFolder','setGroupTitle','NodeIKernelGroupService/getGroupList','setGroupName','EZeKp','quitGroup','NodeIKernelGroupListener/onGroupSingleScreenNotifies','getSingleScreenNotifies','qun.qq.com','modifyGroupName','WyPCI','1495420KlEiie','session','handleGroupRequest','CallNormalEvent','94786qsCUmZ','NodeIKernelGroupService/getSingleScreenNotifies','groupCode','seq','getPSkey','3842097GRELGu','getGroups'];_0x2630=function(){return _0x24a2ca;};return _0x2630();}const _0x342582=_0x8fab;(function(_0x12b1f4,_0x2edb3d){const _0x5586d7=_0x8fab,_0x2edfd2=_0x12b1f4();while(!![]){try{const _0x4a1917=-parseInt(_0x5586d7(0xe1))/0x1+-parseInt(_0x5586d7(0xd5))/0x2+-parseInt(_0x5586d7(0xb2))/0x3+-parseInt(_0x5586d7(0xd1))/0x4+-parseInt(_0x5586d7(0xc2))/0x5*(parseInt(_0x5586d7(0xb8))/0x6)+parseInt(_0x5586d7(0xda))/0x7+parseInt(_0x5586d7(0xc1))/0x8*(parseInt(_0x5586d7(0xbf))/0x9);if(_0x4a1917===_0x2edb3d)break;else _0x2edfd2['push'](_0x2edfd2['shift']());}catch(_0xd0931){_0x2edfd2['push'](_0x2edfd2['shift']());}}}(_0x2630,0xa8f7b));import{NTQQUserApi,napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x342582(0xdb)](_0x48e6d1=![]){const _0x2042a1=_0x342582,_0x1c30aa={'tGKxM':_0x2042a1(0xc8),'ycNDm':_0x2042a1(0xde)};let [_0x353723,_0x5debd1,_0x519025]=await NTEventDispatch[_0x2042a1(0xd4)](_0x1c30aa['tGKxM'],_0x1c30aa[_0x2042a1(0xc3)],0x1,0x1388,_0x48e6d1);return _0x519025;}static async[_0x342582(0xdd)](_0x4dfb0b,_0x1eb01f){const _0x385089=_0x342582;return napCatCore[_0x385089(0xd2)][_0x385089(0xbe)]()[_0x385089(0xbc)](_0x4dfb0b,_0x1eb01f);}static async['DelGroupFile'](_0x492911,_0x5e72bd){const _0xd8b2eb=_0x342582;return napCatCore[_0xd8b2eb(0xd2)][_0xd8b2eb(0xbe)]()[_0xd8b2eb(0xdf)](_0x492911,[0x66],_0x5e72bd);}static async[_0x342582(0xc6)](_0x198ed2,_0x3eae53){const _0x33e688=_0x342582;return napCatCore[_0x33e688(0xd2)][_0x33e688(0xbe)]()['deleteGroupFolder'](_0x198ed2,_0x3eae53);}static async[_0x342582(0xcd)](_0x42b9be){const _0x293e72=_0x342582,_0x285872={'yKvOx':_0x293e72(0xd6),'buAuN':_0x293e72(0xcc)};let [_0x21e1b0,_0x59e60d,_0xebae55,_0x39c1ef]=await NTEventDispatch[_0x293e72(0xd4)](_0x285872[_0x293e72(0xe3)],_0x285872[_0x293e72(0xed)],0x1,0x1388,![],'',_0x42b9be);return _0x39c1ef;}static async[_0x342582(0xb0)](_0x5c0c99,_0xfffdc5=0xbb8){const _0xd96781=_0x342582,_0x5ed3a7={'RLsUv':_0xd96781(0xb6),'eaKlo':function(_0x45cf0d,_0xa78430){return _0x45cf0d!==_0xa78430;},'vDFoO':function(_0x117019,_0x32bc80){return _0x117019+_0x32bc80;},'EZeKp':_0xd96781(0xf0)},_0x8e783d=napCatCore[_0xd96781(0xd2)][_0xd96781(0xc0)](),_0x4c92b0=_0x8e783d[_0xd96781(0xe6)](_0x5c0c99,_0x5ed3a7[_0xd96781(0xba)]),_0x37a5db=await _0x8e783d[_0xd96781(0xaf)](_0x4c92b0,undefined,_0xfffdc5);if(_0x5ed3a7['eaKlo'](_0x37a5db['errCode'],0x0))throw _0x5ed3a7[_0xd96781(0xe8)](_0x5ed3a7[_0xd96781(0xca)],_0x37a5db[_0xd96781(0xb9)]);return _0x37a5db[_0xd96781(0xe4)][_0xd96781(0xc4)][_0xd96781(0xe9)](_0x2714f3=>{const _0x1cfce1=_0xd96781;uid2UinMap[_0x2714f3['uid']]=_0x2714f3[_0x1cfce1(0xb5)];}),_0x37a5db['result'][_0xd96781(0xc4)];}static async['getGroupNotifies'](){}static async[_0x342582(0xe2)](_0xe7a49a){const _0x1f98ba=_0x342582;return napCatCore[_0x1f98ba(0xd2)][_0x1f98ba(0xbe)]()['batchGetGroupFileCount'](_0xe7a49a);}static async[_0x342582(0xee)](){}static async[_0x342582(0xe7)](_0x519ea4,_0x187548){const _0x167101=_0x342582,_0x907175={'DuGma':_0x167101(0xce)},_0x3d4a10=(await NTQQUserApi[_0x167101(0xd9)]([_0x907175[_0x167101(0xef)]]))[_0x907175[_0x167101(0xef)]];return napCatCore['session'][_0x167101(0xc0)]()[_0x167101(0xe7)](_0x519ea4,_0x3d4a10,_0x187548);}static async[_0x342582(0xd3)](_0x528ffe,_0x4b4a28,_0x2d1712){const _0x5853c0=_0x342582,_0x9b5f69={'DnFei':function(_0x5ef1b6,_0x1482ca){return _0x5ef1b6||_0x1482ca;}};return napCatCore[_0x5853c0(0xd2)]['getGroupService']()[_0x5853c0(0xb7)](![],{'operateType':_0x4b4a28,'targetMsg':{'seq':_0x528ffe[_0x5853c0(0xd8)],'type':_0x528ffe['type'],'groupCode':_0x528ffe[_0x5853c0(0xec)][_0x5853c0(0xd7)],'postscript':_0x9b5f69[_0x5853c0(0xc5)](_0x2d1712,'')}});}static async[_0x342582(0xcb)](_0x472ab8){const _0x3d4b78=_0x342582;return napCatCore['session']['getGroupService']()[_0x3d4b78(0xcb)](_0x472ab8);}static async[_0x342582(0xb4)](_0x19c72a,_0x400a1b,_0x24f087=![],_0x5cfc5a=''){const _0x5e6699=_0x342582;return napCatCore['session'][_0x5e6699(0xc0)]()[_0x5e6699(0xb4)](_0x19c72a,_0x400a1b,_0x24f087,_0x5cfc5a);}static async[_0x342582(0xb1)](_0x1540dd,_0x32749f){const _0x1551dd=_0x342582;return napCatCore[_0x1551dd(0xd2)]['getGroupService']()[_0x1551dd(0xea)](_0x1540dd,_0x32749f);}static async[_0x342582(0xbb)](_0x312fad,_0x4729a0){const _0xe70c85=_0x342582;return napCatCore[_0xe70c85(0xd2)][_0xe70c85(0xc0)]()[_0xe70c85(0xb3)](_0x312fad,_0x4729a0);}static async[_0x342582(0xeb)](_0x2687d8,_0x14d758,_0x43164d){const _0x4378e6=_0x342582;return napCatCore[_0x4378e6(0xd2)][_0x4378e6(0xc0)]()[_0x4378e6(0xdc)](_0x2687d8,_0x14d758,_0x43164d);}static async[_0x342582(0xbd)](_0x5f41cc,_0xf1ec40,_0x500199){const _0x408a3b=_0x342582;return napCatCore['session'][_0x408a3b(0xc0)]()[_0x408a3b(0xe5)](_0x5f41cc,_0xf1ec40,_0x500199);}static async[_0x342582(0xc9)](_0x474a08,_0x2d56e){const _0x56445f=_0x342582;return napCatCore[_0x56445f(0xd2)][_0x56445f(0xc0)]()[_0x56445f(0xcf)](_0x474a08,_0x2d56e,![]);}static async[_0x342582(0xc7)](_0x3e05f1,_0x4fbd52,_0x1ea5dc){}static async[_0x342582(0xe0)](_0x35c816,_0x49610c,_0x40001f=undefined,_0x5af2e0=0x0,_0x5178c9=0x0){const _0x273259=_0x342582,_0x4dc494={'zbaVS':_0x273259(0xce),'WyPCI':function(_0xe84a80,_0x3845ca){return _0xe84a80(_0x3845ca);}},_0x42e8e2=(await NTQQUserApi[_0x273259(0xd9)]([_0x273259(0xce)]))[_0x4dc494['zbaVS']];let _0x267367={'text':_0x4dc494[_0x273259(0xd0)](encodeURI,_0x49610c),'picInfo':_0x40001f,'oldFeedsId':'','pinned':_0x5af2e0,'confirmRequired':_0x5178c9};return napCatCore['session'][_0x273259(0xc0)]()[_0x273259(0xe0)](_0x35c816,_0x42e8e2,_0x267367);}} \ No newline at end of file +const _0x19cac7=_0x3491;(function(_0xa3f271,_0x2904bd){const _0x5ad047=_0x3491,_0x2b46fd=_0xa3f271();while(!![]){try{const _0x3eeeb7=-parseInt(_0x5ad047(0x19f))/0x1+-parseInt(_0x5ad047(0x1da))/0x2*(parseInt(_0x5ad047(0x1a3))/0x3)+-parseInt(_0x5ad047(0x1c3))/0x4*(-parseInt(_0x5ad047(0x1ba))/0x5)+parseInt(_0x5ad047(0x1d6))/0x6*(-parseInt(_0x5ad047(0x1c0))/0x7)+parseInt(_0x5ad047(0x1ab))/0x8*(parseInt(_0x5ad047(0x1c7))/0x9)+-parseInt(_0x5ad047(0x1ce))/0xa+-parseInt(_0x5ad047(0x1cb))/0xb*(-parseInt(_0x5ad047(0x1a0))/0xc);if(_0x3eeeb7===_0x2904bd)break;else _0x2b46fd['push'](_0x2b46fd['shift']());}catch(_0x301133){_0x2b46fd['push'](_0x2b46fd['shift']());}}}(_0x35b1,0xe2a44));import{NTQQUserApi,napCatCore}from'@/core';import{uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x35b1(){const _0x7df339=['publishGroupBulletin','NodeIKernelGroupService/getGroupList','CreatGroupFileFolder','getGroups','modifyMemberCardName','uploadGroupBulletinPic','201606HGDMmu','riQOX','seq','infos','610NaDMrb','getGroupNotifies','NodeIKernelGroupListener/onGroupListUpdate','session','setMemberCard','forEach','NodeIKernelGroupService/getSingleScreenNotifies','dmRJv','1385280tcxTsm','8576388xuDEYm','groupCode','banGroup','8403fOLsrT','GetGroupFileCount','kickMember','getGroupService','获取群成员列表出错,','batchGetGroupFileCount','result','modifyGroupName','4073096mkCshy','deleteGroupFolder','nVHqn','group','setGroupName','banMember','DelGroupFile','groupMemberList_MainWindow','setGroupShutUp','uin','createMemberListScene','createGroupFolder','DelGroupFileFolder','getGroupMembers','QgHqx','8375jdlgHa','handleGroupRequest','setGroupTitle','setMemberShutUp','quitGroup','getGroupIgnoreNotifies','77lpADxt','getSingleScreenNotifies','type','1424XACQzl','getRichMediaService','getPSkey','lsOdV','27Xflapy','qun.qq.com','pbBgC','errCode','44dREBoM','CallNormalEvent','Uoyrr','14449870nzosPh','mxrIo'];_0x35b1=function(){return _0x7df339;};return _0x35b1();}function _0x3491(_0xe9b3c,_0x1654fd){const _0x35b12f=_0x35b1();return _0x3491=function(_0x349163,_0x1ab0f9){_0x349163=_0x349163-0x19c;let _0x546124=_0x35b12f[_0x349163];return _0x546124;},_0x3491(_0xe9b3c,_0x1654fd);}export class NTQQGroupApi{static async[_0x19cac7(0x1d3)](_0x347b95=![]){const _0x96608e=_0x19cac7,_0x13c7af={'nVHqn':_0x96608e(0x1d1),'Geywa':_0x96608e(0x1dc)};let [_0x422c64,_0x55fcde,_0x3682bf]=await NTEventDispatch[_0x96608e(0x1cc)](_0x13c7af[_0x96608e(0x1ad)],_0x13c7af['Geywa'],0x1,0x1388,_0x347b95);return _0x3682bf;}static async[_0x19cac7(0x1d2)](_0x1a6bc8,_0x4722ab){const _0x1b05d9=_0x19cac7;return napCatCore[_0x1b05d9(0x1dd)][_0x1b05d9(0x1c4)]()[_0x1b05d9(0x1b6)](_0x1a6bc8,_0x4722ab);}static async[_0x19cac7(0x1b1)](_0x4d9a3f,_0x2dbbed){const _0x211830=_0x19cac7;return napCatCore[_0x211830(0x1dd)][_0x211830(0x1c4)]()['deleteGroupFile'](_0x4d9a3f,[0x66],_0x2dbbed);}static async[_0x19cac7(0x1b7)](_0x3eb697,_0x11994d){const _0x3f3293=_0x19cac7;return napCatCore[_0x3f3293(0x1dd)]['getRichMediaService']()[_0x3f3293(0x1ac)](_0x3eb697,_0x11994d);}static async[_0x19cac7(0x1c1)](_0x13989f){const _0x2022a7=_0x19cac7;let [_0x2c4829,_0xae2ede,_0x519174,_0x45f610]=await NTEventDispatch[_0x2022a7(0x1cc)](_0x2022a7(0x19d),'NodeIKernelGroupListener/onGroupSingleScreenNotifies',0x1,0x1388,![],'',_0x13989f);return _0x45f610;}static async[_0x19cac7(0x1b8)](_0x1a8e54,_0x569e57=0xbb8){const _0x48df67=_0x19cac7,_0x582caa={'dmRJv':_0x48df67(0x1b2),'riQOX':function(_0x3ae53b,_0x25b3f5){return _0x3ae53b!==_0x25b3f5;},'Uoyrr':function(_0xf51e6f,_0x4f94c8){return _0xf51e6f+_0x4f94c8;}},_0x3a9bec=napCatCore[_0x48df67(0x1dd)][_0x48df67(0x1a6)](),_0x3659c2=_0x3a9bec[_0x48df67(0x1b5)](_0x1a8e54,_0x582caa[_0x48df67(0x19e)]),_0x3ee498=await _0x3a9bec['getNextMemberList'](_0x3659c2,undefined,_0x569e57);if(_0x582caa[_0x48df67(0x1d7)](_0x3ee498[_0x48df67(0x1ca)],0x0))throw _0x582caa[_0x48df67(0x1cd)](_0x48df67(0x1a7),_0x3ee498['errMsg']);return _0x3ee498[_0x48df67(0x1a9)][_0x48df67(0x1d9)][_0x48df67(0x19c)](_0x194b2b=>{const _0x592e4d=_0x48df67;uid2UinMap[_0x194b2b['uid']]=_0x194b2b[_0x592e4d(0x1b4)];}),_0x3ee498[_0x48df67(0x1a9)][_0x48df67(0x1d9)];}static async[_0x19cac7(0x1db)](){}static async[_0x19cac7(0x1a4)](_0x5f0217){const _0x529523=_0x19cac7;return napCatCore['session'][_0x529523(0x1c4)]()[_0x529523(0x1a8)](_0x5f0217);}static async[_0x19cac7(0x1bf)](){}static async[_0x19cac7(0x1d5)](_0x503781,_0x573308){const _0x4d7d44=_0x19cac7,_0x5b18d9={'lsOdV':_0x4d7d44(0x1c8)},_0x54c8ef=(await NTQQUserApi[_0x4d7d44(0x1c5)]([_0x5b18d9['lsOdV']]))[_0x5b18d9[_0x4d7d44(0x1c6)]];return napCatCore['session'][_0x4d7d44(0x1a6)]()[_0x4d7d44(0x1d5)](_0x503781,_0x54c8ef,_0x573308);}static async[_0x19cac7(0x1bb)](_0x10a525,_0x1d0930,_0x2d3983){const _0x74fcdc=_0x19cac7,_0x5aeba0={'QgHqx':function(_0x2c23fc,_0x57ada1){return _0x2c23fc||_0x57ada1;}};return napCatCore[_0x74fcdc(0x1dd)][_0x74fcdc(0x1a6)]()['operateSysNotify'](![],{'operateType':_0x1d0930,'targetMsg':{'seq':_0x10a525[_0x74fcdc(0x1d8)],'type':_0x10a525[_0x74fcdc(0x1c2)],'groupCode':_0x10a525[_0x74fcdc(0x1ae)][_0x74fcdc(0x1a1)],'postscript':_0x5aeba0[_0x74fcdc(0x1b9)](_0x2d3983,'')}});}static async['quitGroup'](_0x396b60){const _0x1f660e=_0x19cac7;return napCatCore[_0x1f660e(0x1dd)]['getGroupService']()[_0x1f660e(0x1be)](_0x396b60);}static async[_0x19cac7(0x1a5)](_0x4d7af7,_0x378d79,_0xe4b417=![],_0x4c05b7=''){const _0x4cc626=_0x19cac7;return napCatCore[_0x4cc626(0x1dd)]['getGroupService']()[_0x4cc626(0x1a5)](_0x4d7af7,_0x378d79,_0xe4b417,_0x4c05b7);}static async[_0x19cac7(0x1b0)](_0x40fef,_0x34426a){const _0x2da374=_0x19cac7;return napCatCore[_0x2da374(0x1dd)][_0x2da374(0x1a6)]()[_0x2da374(0x1bd)](_0x40fef,_0x34426a);}static async[_0x19cac7(0x1a2)](_0x4dcfa5,_0x56b290){const _0x4970e8=_0x19cac7;return napCatCore[_0x4970e8(0x1dd)][_0x4970e8(0x1a6)]()[_0x4970e8(0x1b3)](_0x4dcfa5,_0x56b290);}static async[_0x19cac7(0x1de)](_0x44d90f,_0x19f9b3,_0x4029c2){const _0x6e2df2=_0x19cac7;return napCatCore[_0x6e2df2(0x1dd)][_0x6e2df2(0x1a6)]()[_0x6e2df2(0x1d4)](_0x44d90f,_0x19f9b3,_0x4029c2);}static async['setMemberRole'](_0x183ee6,_0x7953ae,_0x3e4221){const _0x65efd8=_0x19cac7;return napCatCore[_0x65efd8(0x1dd)][_0x65efd8(0x1a6)]()['modifyMemberRole'](_0x183ee6,_0x7953ae,_0x3e4221);}static async[_0x19cac7(0x1af)](_0x640444,_0x37b6e6){const _0x4d0f12=_0x19cac7;return napCatCore[_0x4d0f12(0x1dd)][_0x4d0f12(0x1a6)]()[_0x4d0f12(0x1aa)](_0x640444,_0x37b6e6,![]);}static async[_0x19cac7(0x1bc)](_0x10e3c3,_0x39025e,_0x513c62){}static async['publishGroupBulletin'](_0xc865fb,_0x5075f5,_0x401a70=undefined,_0x47f602=0x0,_0x4b49ef=0x0){const _0x404bb8=_0x19cac7,_0x482520={'mxrIo':_0x404bb8(0x1c8),'pbBgC':function(_0x349e36,_0x4cc78b){return _0x349e36(_0x4cc78b);}},_0x4806a9=(await NTQQUserApi[_0x404bb8(0x1c5)]([_0x482520[_0x404bb8(0x1cf)]]))[_0x404bb8(0x1c8)];let _0x5d0e35={'text':_0x482520[_0x404bb8(0x1c9)](encodeURI,_0x5075f5),'picInfo':_0x401a70,'oldFeedsId':'','pinned':_0x47f602,'confirmRequired':_0x4b49ef};return napCatCore[_0x404bb8(0x1dd)][_0x404bb8(0x1a6)]()[_0x404bb8(0x1d0)](_0xc865fb,_0x4806a9,_0x5d0e35);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index e0471e42..12812ded 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x12ad52,_0x10827f){var _0x43949a=_0x1d7b,_0x2bdf48=_0x12ad52();while(!![]){try{var _0x52e8ac=-parseInt(_0x43949a(0x1aa))/0x1+-parseInt(_0x43949a(0x1a2))/0x2*(-parseInt(_0x43949a(0x1a4))/0x3)+-parseInt(_0x43949a(0x1a9))/0x4*(parseInt(_0x43949a(0x1a0))/0x5)+-parseInt(_0x43949a(0x1a7))/0x6+-parseInt(_0x43949a(0x1a6))/0x7+-parseInt(_0x43949a(0x1a8))/0x8*(parseInt(_0x43949a(0x1a3))/0x9)+-parseInt(_0x43949a(0x1a1))/0xa*(-parseInt(_0x43949a(0x1a5))/0xb);if(_0x52e8ac===_0x10827f)break;else _0x2bdf48['push'](_0x2bdf48['shift']());}catch(_0x3a614d){_0x2bdf48['push'](_0x2bdf48['shift']());}}}(_0xed69,0x2dc95));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0xed69(){var _0x5b2059=['1339888TLUuiT','721910lrRsxQ','1233648PQobIC','1660168FwCQqX','252QUUgVP','95615bVihYR','7195WWTyCO','50fDRFxy','8inAMwf','9kLYyjv','210774MvXbzw'];_0xed69=function(){return _0x5b2059;};return _0xed69();}export*from'./user';export*from'./webapi';export*from'./sign';function _0x1d7b(_0x115d4f,_0x239f32){var _0xed69ee=_0xed69();return _0x1d7b=function(_0x1d7b96,_0x4d3436){_0x1d7b96=_0x1d7b96-0x1a0;var _0x16b7f5=_0xed69ee[_0x1d7b96];return _0x16b7f5;},_0x1d7b(_0x115d4f,_0x239f32);}export*from'./system'; \ No newline at end of file +(function(_0x38832a,_0x9c3a88){var _0x4e58d6=_0x1216,_0x3d9f2b=_0x38832a();while(!![]){try{var _0x81959=parseInt(_0x4e58d6(0x139))/0x1*(parseInt(_0x4e58d6(0x137))/0x2)+parseInt(_0x4e58d6(0x13f))/0x3*(-parseInt(_0x4e58d6(0x13a))/0x4)+parseInt(_0x4e58d6(0x13e))/0x5+-parseInt(_0x4e58d6(0x13d))/0x6+-parseInt(_0x4e58d6(0x13b))/0x7*(-parseInt(_0x4e58d6(0x138))/0x8)+parseInt(_0x4e58d6(0x13c))/0x9+-parseInt(_0x4e58d6(0x136))/0xa;if(_0x81959===_0x9c3a88)break;else _0x3d9f2b['push'](_0x3d9f2b['shift']());}catch(_0x360067){_0x3d9f2b['push'](_0x3d9f2b['shift']());}}}(_0x22bd,0xddc21));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x1216(_0x1969fa,_0x289052){var _0x22bdf6=_0x22bd();return _0x1216=function(_0x1216d1,_0x8c7505){_0x1216d1=_0x1216d1-0x136;var _0x505569=_0x22bdf6[_0x1216d1];return _0x505569;},_0x1216(_0x1969fa,_0x289052);}export*from'./user';function _0x22bd(){var _0x52928c=['13270797kKvEbK','10786422OqzJGZ','7837465nOdLFu','103173nhmQjf','14154920wJcvTR','17590nQvKTo','392MQjecs','109IwxUiK','132OPXEGz','179396JvCOgj'];_0x22bd=function(){return _0x52928c;};return _0x22bd();}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 79fb1a9b..e581ab09 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x457f07=_0xba3f;(function(_0x29a9bc,_0x4845d6){const _0x171552=_0xba3f,_0x1733b6=_0x29a9bc();while(!![]){try{const _0x18b602=-parseInt(_0x171552(0xee))/0x1*(parseInt(_0x171552(0xda))/0x2)+parseInt(_0x171552(0x103))/0x3*(-parseInt(_0x171552(0xef))/0x4)+parseInt(_0x171552(0xbb))/0x5*(-parseInt(_0x171552(0xdf))/0x6)+-parseInt(_0x171552(0xe8))/0x7*(-parseInt(_0x171552(0xea))/0x8)+parseInt(_0x171552(0xd6))/0x9*(parseInt(_0x171552(0xf5))/0xa)+parseInt(_0x171552(0xbc))/0xb+-parseInt(_0x171552(0xc7))/0xc*(-parseInt(_0x171552(0xe3))/0xd);if(_0x18b602===_0x4845d6)break;else _0x1733b6['push'](_0x1733b6['shift']());}catch(_0xae5a42){_0x1733b6['push'](_0x1733b6['shift']());}}}(_0x3e3c,0xa7261));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0xba3f(_0x523c08,_0x1362b6){const _0x3e3c32=_0x3e3c();return _0xba3f=function(_0xba3f0d,_0x1d729d){_0xba3f0d=_0xba3f0d-0xb9;let _0x5da817=_0x3e3c32[_0xba3f0d];return _0x5da817;},_0xba3f(_0x523c08,_0x1362b6);}function _0x3e3c(){const _0x2eb7aa=['XDdMh','发送超时','multiForwardMsgWithComment','NQCmf','getRichMediaService','yDpiU','onLoginSuccess','90IcuHzJ','forEach','recallMsg','item','106JIHxrQ','delete','QschU','获取群文件列表超时','sendMsg','5302842urZLip','addListener','qzAWp','toString','18341843ZPyBcc','bytesData','rpRws','getMsgsIncludeSelf','multiForwardMsg','14DLHBDC','getGroupFileList','2930912rEhybI','getMsgService','set','arkElement','23887jlnFEt','12eQHqpo','SapMw','XDLfd','catch','getMsgsBySeqAndCount','sendStatus','502070kIqBBv','onAddSendMsg','activateChatAndGetHistory','forwardMsg','GzAjA','SeHGb','SrWaO','chatType','getMsgsByMsgId','EyYQv','session','elements','map','uid','41214rlsPvF','activateChat','OZXBe','nick','5GtftYD','2529604wjwOKP','find','app','setMsgEmojiLikes','vZfiG','setEmojiLike','dpQrd','getMultiMsg','fetchRecentContact','com.tencent.multimsg','setMsgRead','12wzJJef','USSMT','peerUid','getMsgHistory','then','MeyND','msgId','MaFGL'];_0x3e3c=function(){return _0x2eb7aa;};return _0x3e3c();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x4321ae=>{const _0x290cd8=_0xba3f,_0x57bce1={'MeyND':function(_0x4abb6a,_0x139ed6){return _0x4abb6a(_0x139ed6);}};for(const [_0x3ee026,_0x3e5c81]of GroupFileInfoUpdateTasks){_0x57bce1[_0x290cd8(0xcc)](_0x3e5c81,_0x4321ae),GroupFileInfoUpdateTasks[_0x290cd8(0xdb)](_0x3ee026);}},msgListener[_0x457f07(0xf6)]=_0x4d0bda=>{const _0x42a4b8=_0x457f07,_0xe176b1={'znWJt':function(_0x3a9590,_0x4ecffd){return _0x3a9590 instanceof _0x4ecffd;}};for(const [_0x4cb3f0,_0x3fef41]of sentMsgTasks){_0x3fef41(_0x4d0bda),sentMsgTasks[_0x42a4b8(0xdb)](_0x4cb3f0);}if(sendMessagePool[_0x4d0bda[_0x42a4b8(0xc9)]]){const _0x195974=sendMessagePool[_0x4d0bda[_0x42a4b8(0xc9)]]?.(_0x4d0bda);_0xe176b1['znWJt'](_0x195974,Promise)&&_0x195974[_0x42a4b8(0xcb)]()[_0x42a4b8(0xf2)](logError);}},msgListener['onMsgInfoListUpdate']=_0x56e2b0=>{const _0x1c0c8d=_0x457f07;_0x56e2b0[_0x1c0c8d(0xd7)](_0x3ea57a=>{const _0x48c1d0=_0x1c0c8d,_0x5b819b={'yDpiU':function(_0x26746d,_0x267475){return _0x26746d(_0x267475);}};new Promise((_0x688bb6,_0xd8d227)=>{const _0xaf488a=_0xba3f;for(const _0x2dd72b in sendSuccessCBMap){const _0x4566df=sendSuccessCBMap[_0x2dd72b],_0x5e9a53=_0x4566df(_0x3ea57a),_0x3a1dc8=_0x5c4cba=>{_0x5c4cba&&delete sendSuccessCBMap[_0x2dd72b];};_0x5e9a53 instanceof Promise?_0x5e9a53[_0xaf488a(0xcb)](_0x3a1dc8):_0x5b819b[_0xaf488a(0xd4)](_0x3a1dc8,_0x5e9a53);}})['then']()[_0x48c1d0(0xf2)](log);});},setTimeout(()=>{const _0x3caf53=_0x457f07;napCatCore[_0x3caf53(0xd5)](()=>{const _0x14313e=_0x3caf53;napCatCore[_0x14313e(0xe0)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x457f07(0xc1)](_0x296116,_0x1a781f,_0x4d57b4,_0x46f76d=!![]){const _0xba73ce=_0x457f07;return _0x4d57b4=_0x4d57b4[_0xba73ce(0xe2)](),napCatCore['session'][_0xba73ce(0xeb)]()[_0xba73ce(0xbf)](_0x296116,_0x1a781f,_0x4d57b4,_0x4d57b4['length']>0x3?'2':'1',_0x46f76d);}static async[_0x457f07(0xc3)](_0x36b4c1,_0x2ae8b5,_0x3758d8){const _0x47887c=_0x457f07;return napCatCore['session']['getMsgService']()[_0x47887c(0xc3)](_0x36b4c1,_0x2ae8b5,_0x3758d8);}static async[_0x457f07(0xfd)](_0x13e533,_0xa05257){const _0x1a16b7=_0x457f07;return await napCatCore['session'][_0x1a16b7(0xeb)]()[_0x1a16b7(0xfd)](_0x13e533,_0xa05257);}static async[_0x457f07(0xf3)](_0x548fbd,_0x197795,_0x26c915,_0x1cd43b,_0x775088){const _0x39b6db=_0x457f07;return await napCatCore['session'][_0x39b6db(0xeb)]()[_0x39b6db(0xf3)](_0x548fbd,_0x197795,_0x26c915,_0x1cd43b,_0x775088);}static async[_0x457f07(0x104)](_0x43cb61){}static async[_0x457f07(0xf7)](_0x5e1ffb){}static async[_0x457f07(0xc6)](_0x38e5cf){const _0x32a1c9=_0x457f07;return napCatCore[_0x32a1c9(0xff)]['getMsgService']()['setMsgRead'](_0x38e5cf);}static async[_0x457f07(0xe9)](_0x3e4225,_0x4c53da){const _0x2de089=_0x457f07,_0x4c1f3a={'XDdMh':function(_0x1ccc48,_0x21b60f){return _0x1ccc48(_0x21b60f);},'QschU':_0x2de089(0xdd),'SeHGb':function(_0x1ca132,_0x207403){return _0x1ca132(_0x207403);},'tpuRC':function(_0x57f3a5,_0x44869d,_0x255248){return _0x57f3a5(_0x44869d,_0x255248);},'MaFGL':function(_0x22715c){return _0x22715c();}};return new Promise(async(_0x505ba6,_0x24ba84)=>{const _0x58037b=_0x2de089,_0x35a78b={'qzAWp':function(_0x17b62c,_0x3adb02){const _0x5c089e=_0xba3f;return _0x4c1f3a[_0x5c089e(0xfa)](_0x17b62c,_0x3adb02);}};let _0xb3291c=![];_0x4c1f3a['tpuRC'](setTimeout,()=>{const _0x416431=_0xba3f;!_0xb3291c&&_0x4c1f3a[_0x416431(0xcf)](_0x24ba84,_0x4c1f3a[_0x416431(0xdc)]);},0x1388);const _0x12219a=_0x30a1dd=>{const _0x2d4133=_0xba3f;_0xb3291c=!![],_0x35a78b[_0x2d4133(0xe1)](_0x505ba6,_0x30a1dd[_0x2d4133(0xd9)]);};GroupFileInfoUpdateTasks[_0x58037b(0xec)](_0x4c1f3a[_0x58037b(0xce)](randomUUID),_0x12219a),await napCatCore[_0x58037b(0xff)][_0x58037b(0xd3)]()[_0x58037b(0xe9)](_0x3e4225,_0x4c53da);});}static async[_0x457f07(0xca)](_0x47d85d,_0x3f7878,_0x3959fd){const _0x4c3518=_0x457f07;return napCatCore['session'][_0x4c3518(0xeb)]()[_0x4c3518(0xe6)](_0x47d85d,_0x3f7878,_0x3959fd,!![]);}static async[_0x457f07(0xc4)](){}static async[_0x457f07(0xd8)](_0x1f061f,_0x27fbe2){const _0x3358df=_0x457f07;await napCatCore[_0x3358df(0xff)][_0x3358df(0xeb)]()[_0x3358df(0xd8)]({'chatType':_0x1f061f[_0x3358df(0xfc)],'peerUid':_0x1f061f[_0x3358df(0xc9)]},_0x27fbe2);}static async[_0x457f07(0xde)](_0x56b41f,_0x1d515f,_0x3ad492=!![],_0x279236=0x2710){const _0x1c0e80=_0x457f07,_0x44ae2a={'SapMw':_0x1c0e80(0xd0),'SrWaO':function(_0x54aec6,_0x487fb2){return _0x54aec6(_0x487fb2);},'dpQrd':function(_0x2db415){return _0x2db415();},'vZfiG':function(_0x1cabe3,_0x2e5597){return _0x1cabe3(_0x2e5597);},'GzAjA':function(_0x33c79e,_0x325c5e,_0x191416){return _0x33c79e(_0x325c5e,_0x191416);}},_0x48f2a3=_0x56b41f[_0x1c0e80(0xc9)];let _0x4d4fef=0x0;const _0x4d01c8=async()=>{const _0x584045=_0x1c0e80;if(_0x4d4fef>_0x279236)throw _0x44ae2a[_0x584045(0xf0)];const _0x3956f5=sendMessagePool[_0x56b41f[_0x584045(0xc9)]];if(_0x3956f5)return await _0x44ae2a[_0x584045(0xfb)](sleep,0x1f4),_0x4d4fef+=0x1f4,await _0x44ae2a[_0x584045(0xc2)](_0x4d01c8);else return;};return await _0x4d01c8(),new Promise((_0x1d88d5,_0x58c8b0)=>{const _0x1c5c9b=_0x1c0e80;let _0x88d778=![],_0x1be3e3=null;const _0x414d33=_0x44ae2a[_0x1c5c9b(0xc2)](randomUUID);sendSuccessCBMap[_0x414d33]=_0x3f6726=>{const _0x845a2f=_0x1c5c9b;if(_0x3f6726[_0x845a2f(0xcd)]===_0x1be3e3?.[_0x845a2f(0xcd)]){if(_0x3f6726[_0x845a2f(0xf4)]===0x2)return delete sendSuccessCBMap[_0x414d33],_0x88d778=!![],_0x44ae2a[_0x845a2f(0xfb)](_0x1d88d5,_0x3f6726),!![];return![];}return![];},sendMessagePool[_0x48f2a3]=async _0x52b4e4=>{delete sendMessagePool[_0x48f2a3],_0x1be3e3=_0x52b4e4;},_0x44ae2a[_0x1c5c9b(0xf9)](setTimeout,()=>{const _0x3515ae=_0x1c5c9b;if(_0x88d778)return;delete sendMessagePool[_0x48f2a3],delete sendSuccessCBMap[_0x414d33],_0x44ae2a[_0x3515ae(0xc0)](_0x58c8b0,_0x44ae2a[_0x3515ae(0xf0)]);},_0x279236);const _0x4e2660=napCatCore[_0x1c5c9b(0xff)][_0x1c5c9b(0xeb)]()['sendMsg']('0',_0x56b41f,_0x1d515f,new Map());});}static async[_0x457f07(0xf8)](_0x285d19,_0x5169e6,_0x11c79b){const _0x44ef7f=_0x457f07;return napCatCore['session'][_0x44ef7f(0xeb)]()[_0x44ef7f(0xf8)](_0x11c79b,_0x285d19,[_0x5169e6],new Map());}static async[_0x457f07(0xe7)](_0xbcb4ad,_0x4ffe99,_0x3e7055){const _0xb52098=_0x457f07,_0x550e4c={'rpRws':_0xb52098(0xc5),'NQCmf':function(_0x1f1e5e,_0x5b623d){return _0x1f1e5e(_0x5b623d);},'BgYEc':'转发消息超时','rMqFP':function(_0x2ccb5a){return _0x2ccb5a();}},_0xfe0f8b=_0x3e7055[_0xb52098(0x101)](_0x4a04cc=>{const _0x2d370f=_0xb52098;return{'msgId':_0x4a04cc,'senderShowName':selfInfo[_0x2d370f(0xba)]};});return new Promise((_0x30d963,_0x18d144)=>{const _0x3d55a9=_0xb52098,_0x162f85={'lVLeW':_0x550e4c[_0x3d55a9(0xe5)],'USSMT':function(_0x54082a,_0x47a415){return _0x54082a==_0x47a415;},'OZXBe':function(_0x1b2356,_0x5e242f){const _0x3d641f=_0x3d55a9;return _0x550e4c[_0x3d641f(0xd2)](_0x1b2356,_0x5e242f);},'XDLfd':function(_0x43d6c2,_0x52fb00){return _0x550e4c['NQCmf'](_0x43d6c2,_0x52fb00);},'EyYQv':_0x550e4c['BgYEc']};let _0x5ce722=![];const _0x5710f6=_0x3d15df=>{const _0x4ada0c=_0x3d55a9,_0x477b05=_0x3d15df[_0x4ada0c(0x100)][_0x4ada0c(0xbd)](_0x5dc80a=>_0x5dc80a[_0x4ada0c(0xed)]);if(!_0x477b05)return;const _0xeed6e8=JSON['parse'](_0x477b05['arkElement'][_0x4ada0c(0xe4)]);if(_0xeed6e8[_0x4ada0c(0xbe)]!=_0x162f85['lVLeW'])return;_0x162f85[_0x4ada0c(0xc8)](_0x3d15df[_0x4ada0c(0xc9)],_0x4ffe99[_0x4ada0c(0xc9)])&&_0x162f85[_0x4ada0c(0xc8)](_0x3d15df['senderUid'],selfInfo[_0x4ada0c(0x102)])&&(_0x5ce722=!![],_0x162f85[_0x4ada0c(0xb9)](_0x30d963,_0x3d15df));};sentMsgTasks[_0x3d55a9(0xec)](_0x550e4c['rMqFP'](randomUUID),_0x5710f6),setTimeout(()=>{const _0x1a4db4=_0x3d55a9;!_0x5ce722&&_0x162f85[_0x1a4db4(0xf1)](_0x18d144,_0x162f85[_0x1a4db4(0xfe)]);},0x1388),napCatCore[_0x3d55a9(0xff)][_0x3d55a9(0xeb)]()[_0x3d55a9(0xd1)](_0xfe0f8b,_0xbcb4ad,_0x4ffe99,[],new Map());});}} \ No newline at end of file +const _0x1ef774=_0x4f15;(function(_0x33ca7d,_0x24806a){const _0x46ec78=_0x4f15,_0x11b82e=_0x33ca7d();while(!![]){try{const _0x5d2c9f=-parseInt(_0x46ec78(0x1f0))/0x1*(-parseInt(_0x46ec78(0x20f))/0x2)+-parseInt(_0x46ec78(0x219))/0x3*(parseInt(_0x46ec78(0x1e3))/0x4)+-parseInt(_0x46ec78(0x1ef))/0x5*(-parseInt(_0x46ec78(0x1f6))/0x6)+parseInt(_0x46ec78(0x1da))/0x7+-parseInt(_0x46ec78(0x1f1))/0x8*(-parseInt(_0x46ec78(0x1f5))/0x9)+-parseInt(_0x46ec78(0x1db))/0xa+-parseInt(_0x46ec78(0x1f8))/0xb*(-parseInt(_0x46ec78(0x1e7))/0xc);if(_0x5d2c9f===_0x24806a)break;else _0x11b82e['push'](_0x11b82e['shift']());}catch(_0x22ccf9){_0x11b82e['push'](_0x11b82e['shift']());}}}(_0xd0b0,0x5e886));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x4f15(_0x46ec99,_0x12b866){const _0xd0b00=_0xd0b0();return _0x4f15=function(_0x4f15bf,_0x569753){_0x4f15bf=_0x4f15bf-0x1d1;let _0x108728=_0xd0b00[_0x4f15bf];return _0x108728;},_0x4f15(_0x46ec99,_0x12b866);}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x1ef774(0x21b)]=_0x27d17e=>{const _0x334b7a=_0x1ef774,_0x51440a={'ruzBR':function(_0x4ebc20,_0x5f1842){return _0x4ebc20(_0x5f1842);}};for(const [_0x450308,_0x42e9d3]of GroupFileInfoUpdateTasks){_0x51440a[_0x334b7a(0x1f4)](_0x42e9d3,_0x27d17e),GroupFileInfoUpdateTasks[_0x334b7a(0x20a)](_0x450308);}},msgListener[_0x1ef774(0x1d2)]=_0x561e14=>{const _0x2ad266=_0x1ef774,_0x281e80={'qAUaQ':function(_0x19eb33,_0x5683ab){return _0x19eb33(_0x5683ab);},'wrlCR':function(_0x54e4a5,_0x36d240){return _0x54e4a5 instanceof _0x36d240;}};for(const [_0x1df078,_0x306569]of sentMsgTasks){_0x281e80[_0x2ad266(0x21e)](_0x306569,_0x561e14),sentMsgTasks[_0x2ad266(0x20a)](_0x1df078);}if(sendMessagePool[_0x561e14[_0x2ad266(0x220)]]){const _0x7ac5f7=sendMessagePool[_0x561e14[_0x2ad266(0x220)]]?.(_0x561e14);_0x281e80[_0x2ad266(0x1fe)](_0x7ac5f7,Promise)&&_0x7ac5f7[_0x2ad266(0x1f3)]()[_0x2ad266(0x1e6)](logError);}},msgListener['onMsgInfoListUpdate']=_0x22bd81=>{const _0x507a9a=_0x1ef774,_0x3036e6={'fBbVA':function(_0x2c926a,_0x449adb){return _0x2c926a(_0x449adb);},'JlTiz':function(_0x1b243d,_0x1d0376){return _0x1b243d instanceof _0x1d0376;}};_0x22bd81[_0x507a9a(0x203)](_0x4cfe2f=>{const _0x5df49e=_0x507a9a;new Promise((_0x4b218d,_0xc028e2)=>{const _0x50c481=_0x4f15;for(const _0x57d0f6 in sendSuccessCBMap){const _0xa06938=sendSuccessCBMap[_0x57d0f6],_0x7f0c1d=_0x3036e6[_0x50c481(0x1d1)](_0xa06938,_0x4cfe2f),_0x1e3b8d=_0x3e053a=>{_0x3e053a&&delete sendSuccessCBMap[_0x57d0f6];};_0x3036e6[_0x50c481(0x21f)](_0x7f0c1d,Promise)?_0x7f0c1d[_0x50c481(0x1f3)](_0x1e3b8d):_0x1e3b8d(_0x7f0c1d);}})[_0x5df49e(0x1f3)]()[_0x5df49e(0x1e6)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x30442d=_0x4f15;napCatCore[_0x30442d(0x207)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x1ef774(0x204)](_0x42c92c,_0x5a9cf9,_0x43deb1,_0x296dac=!![]){const _0x39197a=_0x1ef774,_0x4e2477={'YelDC':function(_0x5166da,_0x493890){return _0x5166da>_0x493890;}};return _0x43deb1=_0x43deb1['toString'](),napCatCore[_0x39197a(0x202)][_0x39197a(0x1dc)]()[_0x39197a(0x1f7)](_0x42c92c,_0x5a9cf9,_0x43deb1,_0x4e2477[_0x39197a(0x1e5)](_0x43deb1[_0x39197a(0x212)],0x3)?'2':'1',_0x296dac);}static async[_0x1ef774(0x1de)](_0x3837f7,_0x13d624,_0x179cf8){const _0x40b7ea=_0x1ef774;return napCatCore[_0x40b7ea(0x202)]['getMsgService']()[_0x40b7ea(0x1de)](_0x3837f7,_0x13d624,_0x179cf8);}static async[_0x1ef774(0x20e)](_0x24827d,_0x560098){const _0xf9f65c=_0x1ef774;return await napCatCore[_0xf9f65c(0x202)][_0xf9f65c(0x1dc)]()[_0xf9f65c(0x20e)](_0x24827d,_0x560098);}static async[_0x1ef774(0x1f2)](_0x109346,_0x37c3a9,_0x591ef2,_0x2a2fde,_0x51acfa){const _0x3a59d0=_0x1ef774;return await napCatCore[_0x3a59d0(0x202)]['getMsgService']()['getMsgsBySeqAndCount'](_0x109346,_0x37c3a9,_0x591ef2,_0x2a2fde,_0x51acfa);}static async[_0x1ef774(0x1d5)](_0x3934d1){}static async[_0x1ef774(0x1fb)](_0x56b6cf){}static async[_0x1ef774(0x1fa)](_0x566bb2){const _0x358d91=_0x1ef774;return napCatCore['session'][_0x358d91(0x1dc)]()['setMsgRead'](_0x566bb2);}static async[_0x1ef774(0x21a)](_0xbb89c9,_0x134bcd){const _0x185615=_0x1ef774,_0x265303={'Hxqla':function(_0x30b449,_0xffc352){return _0x30b449(_0xffc352);},'tOtIS':_0x185615(0x213)};return new Promise(async(_0x3dadfb,_0xea998f)=>{const _0x4ccd3b=_0x185615,_0x2758e4={'qzyMy':function(_0x4b400f,_0xb1084f){const _0xec88f8=_0x4f15;return _0x265303[_0xec88f8(0x210)](_0x4b400f,_0xb1084f);},'oKpCa':_0x265303[_0x4ccd3b(0x216)],'FTaFw':function(_0x55959b,_0x2162bb){return _0x265303['Hxqla'](_0x55959b,_0x2162bb);}};let _0x546483=![];setTimeout(()=>{const _0x41c2cc=_0x4ccd3b;!_0x546483&&_0x2758e4[_0x41c2cc(0x218)](_0xea998f,_0x2758e4[_0x41c2cc(0x1eb)]);},0x1388);const _0x38876a=_0x13a39a=>{const _0x158897=_0x4ccd3b;_0x546483=!![],_0x2758e4['FTaFw'](_0x3dadfb,_0x13a39a[_0x158897(0x201)]);};GroupFileInfoUpdateTasks[_0x4ccd3b(0x1ea)](randomUUID(),_0x38876a),await napCatCore['session'][_0x4ccd3b(0x215)]()[_0x4ccd3b(0x21a)](_0xbb89c9,_0x134bcd);});}static async[_0x1ef774(0x1d8)](_0x4313f0,_0x310736,_0x1f720c){const _0x46bd07=_0x1ef774;return napCatCore[_0x46bd07(0x202)][_0x46bd07(0x1dc)]()[_0x46bd07(0x1d4)](_0x4313f0,_0x310736,_0x1f720c,!![]);}static async[_0x1ef774(0x1d3)](){}static async['recallMsg'](_0x44a063,_0x181f08){const _0x40dbc9=_0x1ef774;await napCatCore[_0x40dbc9(0x202)][_0x40dbc9(0x1dc)]()[_0x40dbc9(0x217)]({'chatType':_0x44a063['chatType'],'peerUid':_0x44a063[_0x40dbc9(0x220)]},_0x181f08);}static async[_0x1ef774(0x211)](_0x2e7e39,_0x3a6198,_0x3e550c=!![],_0x53f8b8=0x2710){const _0x589f73=_0x1ef774,_0x2f9e9d={'euZiJ':function(_0x2f4aa4,_0x55aac2){return _0x2f4aa4>_0x55aac2;},'CsUfY':_0x589f73(0x20b),'sTdyc':function(_0xed3bde,_0x2c9b22){return _0xed3bde(_0x2c9b22);},'FFScC':function(_0x15fff0){return _0x15fff0();},'BakfL':function(_0x27a38c,_0x4a7361){return _0x27a38c===_0x4a7361;},'MKwVf':function(_0x5b7d42){return _0x5b7d42();},'Hymzs':function(_0xee8777,_0x4ed5ae,_0x32468b){return _0xee8777(_0x4ed5ae,_0x32468b);},'UnRBO':function(_0x19c829){return _0x19c829();}},_0x783a83=_0x2e7e39[_0x589f73(0x220)];let _0x1f02d2=0x0;const _0xa1076a=async()=>{const _0x4758ed=_0x589f73;if(_0x2f9e9d[_0x4758ed(0x20c)](_0x1f02d2,_0x53f8b8))throw _0x2f9e9d['CsUfY'];const _0x55b04a=sendMessagePool[_0x2e7e39[_0x4758ed(0x220)]];if(_0x55b04a)return await _0x2f9e9d['sTdyc'](sleep,0x1f4),_0x1f02d2+=0x1f4,await _0x2f9e9d[_0x4758ed(0x214)](_0xa1076a);else return;};return await _0x2f9e9d[_0x589f73(0x206)](_0xa1076a),new Promise((_0x4d1ff2,_0x4afb89)=>{const _0x3ada7e=_0x589f73,_0x483231={'fcOMM':function(_0x99d2c7,_0x8974fd){return _0x2f9e9d['BakfL'](_0x99d2c7,_0x8974fd);},'wbQey':function(_0x446cea,_0x4d9fb7){return _0x446cea===_0x4d9fb7;}};let _0x106b0a=![],_0x2059d8=null;const _0x442ded=_0x2f9e9d[_0x3ada7e(0x1e1)](randomUUID);sendSuccessCBMap[_0x442ded]=_0x1f0175=>{const _0x5d8fe0=_0x3ada7e;if(_0x483231[_0x5d8fe0(0x1e0)](_0x1f0175[_0x5d8fe0(0x208)],_0x2059d8?.[_0x5d8fe0(0x208)])){if(_0x483231['wbQey'](_0x1f0175[_0x5d8fe0(0x1d9)],0x2))return delete sendSuccessCBMap[_0x442ded],_0x106b0a=!![],_0x4d1ff2(_0x1f0175),!![];return![];}return![];},sendMessagePool[_0x783a83]=async _0xe41cf=>{delete sendMessagePool[_0x783a83],_0x2059d8=_0xe41cf;},_0x2f9e9d['Hymzs'](setTimeout,()=>{const _0x308a17=_0x3ada7e;if(_0x106b0a)return;delete sendMessagePool[_0x783a83],delete sendSuccessCBMap[_0x442ded],_0x4afb89(_0x308a17(0x20b));},_0x53f8b8);const _0x5452c8=napCatCore[_0x3ada7e(0x202)][_0x3ada7e(0x1dc)]()[_0x3ada7e(0x211)]('0',_0x2e7e39,_0x3a6198,new Map());});}static async[_0x1ef774(0x1ec)](_0x15972f,_0x6427d6,_0x3a60e5){const _0x5389a0=_0x1ef774;return napCatCore['session']['getMsgService']()[_0x5389a0(0x1ec)](_0x3a60e5,_0x15972f,[_0x6427d6],new Map());}static async[_0x1ef774(0x209)](_0x10e3e5,_0xe017f,_0x226f9d){const _0x21397f=_0x1ef774,_0x41b0d0={'kfSgP':function(_0x1fa60b,_0x26bbad){return _0x1fa60b!=_0x26bbad;},'LbOaX':_0x21397f(0x1ff),'qWqGE':function(_0x2d8d46,_0x54e831){return _0x2d8d46==_0x54e831;},'QeXTH':function(_0x21e193,_0x4fe9df){return _0x21e193(_0x4fe9df);},'cjchr':_0x21397f(0x20d),'eqSlZ':function(_0x5bb684){return _0x5bb684();},'miABg':function(_0x15d321,_0x25cd29,_0x328c96){return _0x15d321(_0x25cd29,_0x328c96);}},_0x4089e9=_0x226f9d[_0x21397f(0x1fc)](_0x5462e2=>{const _0x2dec8b=_0x21397f;return{'msgId':_0x5462e2,'senderShowName':selfInfo[_0x2dec8b(0x1e8)]};});return new Promise((_0x530774,_0xa4a27a)=>{const _0x3c149f=_0x21397f,_0x4a7f44={'Zsjry':function(_0x21af2f,_0x516521){const _0x3bea15=_0x4f15;return _0x41b0d0[_0x3bea15(0x1d6)](_0x21af2f,_0x516521);},'lFTYL':_0x41b0d0[_0x3c149f(0x1dd)]};let _0x34e88d=![];const _0x2f2347=_0x5d90c2=>{const _0x32145c=_0x3c149f,_0x43ee67=_0x5d90c2[_0x32145c(0x1ee)]['find'](_0x1c7f31=>_0x1c7f31['arkElement']);if(!_0x43ee67)return;const _0x120e4a=JSON[_0x32145c(0x205)](_0x43ee67[_0x32145c(0x1e9)][_0x32145c(0x1f9)]);if(_0x41b0d0[_0x32145c(0x1ed)](_0x120e4a[_0x32145c(0x21d)],_0x41b0d0[_0x32145c(0x1d7)]))return;_0x41b0d0[_0x32145c(0x1df)](_0x5d90c2[_0x32145c(0x220)],_0xe017f[_0x32145c(0x220)])&&_0x5d90c2['senderUid']==selfInfo[_0x32145c(0x21c)]&&(_0x34e88d=!![],_0x41b0d0[_0x32145c(0x1d6)](_0x530774,_0x5d90c2));};sentMsgTasks[_0x3c149f(0x1ea)](_0x41b0d0[_0x3c149f(0x1e2)](randomUUID),_0x2f2347),_0x41b0d0['miABg'](setTimeout,()=>{const _0x4650b8=_0x3c149f;!_0x34e88d&&_0x4a7f44[_0x4650b8(0x1fd)](_0xa4a27a,_0x4a7f44[_0x4650b8(0x1e4)]);},0x1388),napCatCore[_0x3c149f(0x202)]['getMsgService']()[_0x3c149f(0x200)](_0x4089e9,_0x10e3e5,_0xe017f,[],new Map());});}}function _0xd0b0(){const _0x325433=['sendStatus','341257tcsyuL','4760330juxtzM','getMsgService','cjchr','getMultiMsg','qWqGE','fcOMM','MKwVf','eqSlZ','196YbKUHF','lFTYL','YelDC','catch','124788AYVSRK','nick','arkElement','set','oKpCa','forwardMsg','kfSgP','elements','2041145ntKABW','7LMgfNO','42712Aowttx','getMsgsBySeqAndCount','then','ruzBR','9cSMqbP','6oRFuDR','setMsgEmojiLikes','275KVnGxk','bytesData','setMsgRead','activateChatAndGetHistory','map','Zsjry','wrlCR','com.tencent.multimsg','multiForwardMsgWithComment','item','session','forEach','setEmojiLike','parse','UnRBO','addListener','msgId','multiForwardMsg','delete','发送超时','euZiJ','转发消息超时','getMsgsByMsgId','46262easbbt','Hxqla','sendMsg','length','获取群文件列表超时','FFScC','getRichMediaService','tOtIS','recallMsg','qzyMy','1284TEeboz','getGroupFileList','onGroupFileInfoUpdate','uid','app','qAUaQ','JlTiz','peerUid','fBbVA','onAddSendMsg','fetchRecentContact','getMsgsIncludeSelf','activateChat','QeXTH','LbOaX','getMsgHistory'];_0xd0b0=function(){return _0x325433;};return _0xd0b0();} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index f7fb1d12..89a2504f 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0xfc35(){const _0x5dbc93=['400840LDcQkC','prompt','BAuXV','HttpGetJson','GRWzC',';\x20skey=','miniapp','23584cIggMF','signed_ark','xwBsu','jumpUrl','wpFrQ','7754nJTdqP','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','title','tag','7810NTYqyf','uin','7971012POGCAz','nZybw','259810JGIVtb','yonqn','GET','replace','preview','88Evvnre','skey','63EMoZDU','p_skey','\x5c/\x5c/','uWJgm','tagIcon','4mWMTqz','dxsHQ','528792yMDwJD','edVFA','AFikB','genBkn','source','tianxuan.imgJumpArk',';\x20p_uin=o',';\x20uin=o','data','sourcelogo','p_skey=','503839nqiwLI','NUGlB','Ndbda'];_0xfc35=function(){return _0x5dbc93;};return _0xfc35();}(function(_0x2eb5ba,_0x55a43d){const _0x5be0b9=_0x4bc1,_0x4c6747=_0x2eb5ba();while(!![]){try{const _0x2d1705=parseInt(_0x5be0b9(0xad))/0x1+-parseInt(_0x5be0b9(0xb9))/0x2*(-parseInt(_0x5be0b9(0x98))/0x3)+parseInt(_0x5be0b9(0x9d))/0x4*(parseInt(_0x5be0b9(0x91))/0x5)+-parseInt(_0x5be0b9(0x9f))/0x6+parseInt(_0x5be0b9(0xaa))/0x7*(-parseInt(_0x5be0b9(0x96))/0x8)+-parseInt(_0x5be0b9(0xbf))/0x9+-parseInt(_0x5be0b9(0xbd))/0xa*(-parseInt(_0x5be0b9(0xb4))/0xb);if(_0x2d1705===_0x55a43d)break;else _0x4c6747['push'](_0x4c6747['shift']());}catch(_0x260370){_0x4c6747['push'](_0x4c6747['shift']());}}}(_0xfc35,0x6c300));function _0x4bc1(_0x4ed444,_0x2ef58e){const _0xfc35ae=_0xfc35();return _0x4bc1=function(_0x4bc1e7,_0x156ee1){_0x4bc1e7=_0x4bc1e7-0x90;let _0x1e5798=_0xfc35ae[_0x4bc1e7];return _0x1e5798;},_0x4bc1(_0x4ed444,_0x2ef58e);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x8f6b4a){const _0x5e9168=_0x4bc1,_0x3f2867={'BAuXV':'com.tencent.miniapp.lua','Ndbda':_0x5e9168(0xa4),'VkXKz':_0x5e9168(0xb3),'uWJgm':'normal','AFikB':_0x5e9168(0x9a),'NUGlB':function(_0x43ab82,_0xcfd849){return _0x43ab82+_0xcfd849;},'wpFrQ':function(_0x4bb822,_0x46fd09){return _0x4bb822+_0x46fd09;},'Mtjmx':function(_0x88dc84,_0x571558){return _0x88dc84+_0x571558;},'dxsHQ':_0x5e9168(0xa9),'yonqn':_0x5e9168(0xb2),'VDbLA':_0x5e9168(0xa5),'xwBsu':_0x5e9168(0xa6),'nZybw':function(_0x5eb851,_0x3b7e33){return _0x5eb851+_0x3b7e33;},'edVFA':_0x5e9168(0xba),'VGYYO':'&ark=','sGRmg':_0x5e9168(0x93),'kbsfC':function(_0x500a15,_0x54ed58,_0x52939b){return _0x500a15(_0x54ed58,_0x52939b);},'GRWzC':'MiniApp\x20JSON\x20消息生成失败'};let _0x16d176={'app':_0x3f2867[_0x5e9168(0xaf)],'bizsrc':_0x3f2867[_0x5e9168(0xac)],'view':_0x3f2867['VkXKz'],'prompt':_0x8f6b4a[_0x5e9168(0xae)],'config':{'type':_0x3f2867[_0x5e9168(0x9b)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x8f6b4a[_0x5e9168(0xbb)],'preview':_0x8f6b4a[_0x5e9168(0x95)]['replace'](/\\/g,_0x3f2867[_0x5e9168(0xa1)]),'jumpUrl':_0x8f6b4a[_0x5e9168(0xb7)][_0x5e9168(0x94)](/\\/g,_0x3f2867[_0x5e9168(0xa1)]),'tag':_0x8f6b4a[_0x5e9168(0xbc)],'tagIcon':_0x8f6b4a[_0x5e9168(0x9c)][_0x5e9168(0x94)](/\\/g,_0x5e9168(0x9a)),'source':_0x8f6b4a[_0x5e9168(0xa3)],'sourcelogo':_0x8f6b4a[_0x5e9168(0xa8)]['replace'](/\\/g,_0x5e9168(0x9a))}}};const _0x47ca78=await NTQQUserApi['getSkey']();let _0x3cef92=await NTQQUserApi['getQzoneCookies']();const _0x253d74=WebApi[_0x5e9168(0xa2)](_0x3cef92['p_skey']),_0x8984da=_0x3f2867[_0x5e9168(0xab)](_0x3f2867['wpFrQ'](_0x3f2867['NUGlB'](_0x3f2867[_0x5e9168(0xb8)](_0x3f2867['Mtjmx'](_0x3f2867[_0x5e9168(0x9e)],_0x3cef92[_0x5e9168(0x99)])+_0x3f2867[_0x5e9168(0x92)],_0x3cef92[_0x5e9168(0x97)]),_0x3f2867['VDbLA']),selfInfo[_0x5e9168(0xbe)]),_0x3f2867[_0x5e9168(0xb6)])+selfInfo[_0x5e9168(0xbe)];let _0x5f335f=_0x3f2867['nZybw'](_0x3f2867[_0x5e9168(0xb8)](_0x3f2867[_0x5e9168(0x90)](_0x3f2867[_0x5e9168(0xa0)],_0x253d74),_0x3f2867['VGYYO']),encodeURIComponent(JSON['stringify'](_0x16d176))),_0x3092bf='';try{let _0x442f83=await RequestUtil[_0x5e9168(0xb0)](_0x5f335f,_0x3f2867['sGRmg'],undefined,{'Cookie':_0x8984da});_0x3092bf=_0x442f83[_0x5e9168(0xa7)][_0x5e9168(0xb5)];}catch(_0x4ba607){_0x3f2867['kbsfC'](logDebug,_0x3f2867[_0x5e9168(0xb1)],_0x4ba607);}return _0x3092bf;} \ No newline at end of file +function _0x5e3d(){const _0x425242=['getSkey','com.tencent.miniapp.lua','p_skey','GCwIH','4835835flkUVS','2065738uGbUiY','jumpUrl','ARbfh','tianxuan.imgJumpArk','pYNqY','miniapp','4374856MPkqYg','\x5c/\x5c/','IZRUd','replace','1760019CkIhhd','stringify','yWuwz','prompt','667582uBgKtV','Calyl','oXKHL','sourcelogo','dZCLr','skey','genBkn','gwAPV','lxcMN',';\x20skey=','getQzoneCookies','uin','IbStf','6057849fbIFEQ','p_skey=','HttpGetJson','gIaBb','tag','source',';\x20p_uin=o',';\x20uin=o','cjopf','signed_ark','1265394InGAqs'];_0x5e3d=function(){return _0x425242;};return _0x5e3d();}function _0x20e4(_0xc47d9d,_0x42baea){const _0x5e3d5c=_0x5e3d();return _0x20e4=function(_0x20e428,_0x66ca1){_0x20e428=_0x20e428-0xa7;let _0x5d9c83=_0x5e3d5c[_0x20e428];return _0x5d9c83;},_0x20e4(_0xc47d9d,_0x42baea);}(function(_0x1669f9,_0x477e15){const _0xef7b5a=_0x20e4,_0x513443=_0x1669f9();while(!![]){try{const _0x35aeea=parseInt(_0xef7b5a(0xaa))/0x1+parseInt(_0xef7b5a(0xc7))/0x2+-parseInt(_0xef7b5a(0xd1))/0x3+parseInt(_0xef7b5a(0xcd))/0x4+-parseInt(_0xef7b5a(0xc6))/0x5+parseInt(_0xef7b5a(0xc1))/0x6+-parseInt(_0xef7b5a(0xb7))/0x7;if(_0x35aeea===_0x477e15)break;else _0x513443['push'](_0x513443['shift']());}catch(_0x2e7e6c){_0x513443['push'](_0x513443['shift']());}}}(_0x5e3d,0x8f059));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x20e6b6){const _0x1480cb=_0x20e4,_0x47d20c={'dZCLr':_0x1480cb(0xca),'xduyF':'normal','ARbfh':_0x1480cb(0xce),'IbStf':function(_0x1dea02,_0x1179d6){return _0x1dea02+_0x1179d6;},'lxcMN':function(_0x219f6a,_0x1c9623){return _0x219f6a+_0x1c9623;},'SVczK':function(_0x3589eb,_0x3882bd){return _0x3589eb+_0x3882bd;},'gIaBb':function(_0x3813f8,_0x46e1f8){return _0x3813f8+_0x46e1f8;},'cjopf':_0x1480cb(0xb3),'IZRUd':_0x1480cb(0xbd),'oXKHL':_0x1480cb(0xbe),'yWuwz':function(_0x52f2f6,_0x4b41c5){return _0x52f2f6+_0x4b41c5;},'Calyl':'https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','pYNqY':'&ark=','GCwIH':'GET','Mgnqn':function(_0x6d568c,_0x4c21c1,_0x951c93){return _0x6d568c(_0x4c21c1,_0x951c93);},'gwAPV':'MiniApp\x20JSON\x20消息生成失败'};let _0x31f788={'app':_0x1480cb(0xc3),'bizsrc':_0x47d20c[_0x1480cb(0xae)],'view':_0x1480cb(0xcc),'prompt':_0x20e6b6[_0x1480cb(0xa9)],'config':{'type':_0x47d20c['xduyF'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x20e6b6['title'],'preview':_0x20e6b6['preview'][_0x1480cb(0xd0)](/\\/g,_0x47d20c[_0x1480cb(0xc9)]),'jumpUrl':_0x20e6b6[_0x1480cb(0xc8)][_0x1480cb(0xd0)](/\\/g,_0x47d20c[_0x1480cb(0xc9)]),'tag':_0x20e6b6[_0x1480cb(0xbb)],'tagIcon':_0x20e6b6['tagIcon']['replace'](/\\/g,_0x1480cb(0xce)),'source':_0x20e6b6[_0x1480cb(0xbc)],'sourcelogo':_0x20e6b6[_0x1480cb(0xad)][_0x1480cb(0xd0)](/\\/g,_0x47d20c[_0x1480cb(0xc9)])}}};const _0x57bd58=await NTQQUserApi[_0x1480cb(0xc2)]();let _0x395ad6=await NTQQUserApi[_0x1480cb(0xb4)]();const _0x3f7de4=WebApi[_0x1480cb(0xb0)](_0x395ad6[_0x1480cb(0xc4)]),_0x2c713b=_0x47d20c['IbStf'](_0x47d20c[_0x1480cb(0xb6)](_0x47d20c[_0x1480cb(0xb6)](_0x47d20c[_0x1480cb(0xb2)](_0x47d20c['SVczK'](_0x47d20c[_0x1480cb(0xb6)](_0x47d20c[_0x1480cb(0xba)](_0x1480cb(0xb8),_0x395ad6[_0x1480cb(0xc4)]),_0x47d20c[_0x1480cb(0xbf)]),_0x395ad6[_0x1480cb(0xaf)]),_0x47d20c[_0x1480cb(0xcf)]),selfInfo[_0x1480cb(0xb5)]),_0x47d20c[_0x1480cb(0xac)]),selfInfo['uin']);let _0x28dd62=_0x47d20c[_0x1480cb(0xb2)](_0x47d20c[_0x1480cb(0xa8)](_0x47d20c[_0x1480cb(0xab)],_0x3f7de4)+_0x47d20c[_0x1480cb(0xcb)],encodeURIComponent(JSON[_0x1480cb(0xa7)](_0x31f788))),_0x4e30b1='';try{let _0xeef550=await RequestUtil[_0x1480cb(0xb9)](_0x28dd62,_0x47d20c[_0x1480cb(0xc5)],undefined,{'Cookie':_0x2c713b});_0x4e30b1=_0xeef550['data'][_0x1480cb(0xc0)];}catch(_0x3bcc3e){_0x47d20c['Mgnqn'](logDebug,_0x47d20c[_0x1480cb(0xb1)],_0x3bcc3e);}return _0x4e30b1;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 4f9599f5..15889c15 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x4298(_0x1442f8,_0x4ae6f6){var _0x4431ac=_0x4431();return _0x4298=function(_0x4298bb,_0xf78d3b){_0x4298bb=_0x4298bb-0x171;var _0x5cb965=_0x4431ac[_0x4298bb];return _0x5cb965;},_0x4298(_0x1442f8,_0x4ae6f6);}function _0x4431(){var _0x5f13c6=['3JkOwQq','844yQfgPK','wantWinScreenOCR','7bDuzzA','translateEnWordToZn','1597158DjErsG','22090Lrzlor','567rbtsSV','util','session','hasOtherRunningQQProcess','74564dfAreA','1286241VCXoCW','128202bLomWy','3125GMTZfZ','1241544ffcDdb','getNodeMiscService'];_0x4431=function(){return _0x5f13c6;};return _0x4431();}var _0xb712ca=_0x4298;(function(_0x3b5575,_0x455b27){var _0xb69683=_0x4298,_0x449e7c=_0x3b5575();while(!![]){try{var _0x5f2194=parseInt(_0xb69683(0x17e))/0x1+parseInt(_0xb69683(0x17c))/0x2*(parseInt(_0xb69683(0x171))/0x3)+-parseInt(_0xb69683(0x172))/0x4*(-parseInt(_0xb69683(0x17f))/0x5)+parseInt(_0xb69683(0x176))/0x6*(parseInt(_0xb69683(0x174))/0x7)+-parseInt(_0xb69683(0x180))/0x8+-parseInt(_0xb69683(0x178))/0x9*(parseInt(_0xb69683(0x177))/0xa)+-parseInt(_0xb69683(0x17d))/0xb;if(_0x5f2194===_0x455b27)break;else _0x449e7c['push'](_0x449e7c['shift']());}catch(_0x5028ed){_0x449e7c['push'](_0x449e7c['shift']());}}}(_0x4431,0x252c5));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0xb712ca(0x17b)](){var _0x1608c3=_0xb712ca;return napCatCore[_0x1608c3(0x179)][_0x1608c3(0x17b)]();}static async['ORCImage'](_0x51e7da){var _0x1818fb=_0xb712ca;return napCatCore[_0x1818fb(0x17a)][_0x1818fb(0x181)]()[_0x1818fb(0x173)](_0x51e7da);}static async['translateEnWordToZn'](_0x305785){var _0x5686af=_0xb712ca;return napCatCore[_0x5686af(0x17a)]['getRichMediaService']()[_0x5686af(0x175)](_0x305785);}} \ No newline at end of file +var _0x71add8=_0x7ad0;function _0x7ad0(_0x1699b9,_0x418445){var _0x1d38a1=_0x1d38();return _0x7ad0=function(_0x7ad007,_0x51bec8){_0x7ad007=_0x7ad007-0x7a;var _0x653a=_0x1d38a1[_0x7ad007];return _0x653a;},_0x7ad0(_0x1699b9,_0x418445);}function _0x1d38(){var _0x2a3b0c=['4521ZSSmOm','410yaDFoQ','wantWinScreenOCR','10970fXCcIM','hasOtherRunningQQProcess','session','2LSBLjn','util','115458grcBcR','20280vFysgi','738915uzUdyi','1494788PFmzZv','getRichMediaService','296475kTBvHL','40110rIfcaK','117YXAJbd','translateEnWordToZn'];_0x1d38=function(){return _0x2a3b0c;};return _0x1d38();}(function(_0x548d2f,_0x24971d){var _0x2f4103=_0x7ad0,_0x300cb9=_0x548d2f();while(!![]){try{var _0x5dbb58=-parseInt(_0x2f4103(0x84))/0x1*(-parseInt(_0x2f4103(0x7d))/0x2)+parseInt(_0x2f4103(0x81))/0x3+-parseInt(_0x2f4103(0x82))/0x4+-parseInt(_0x2f4103(0x89))/0x5*(-parseInt(_0x2f4103(0x85))/0x6)+-parseInt(_0x2f4103(0x7f))/0x7+-parseInt(_0x2f4103(0x80))/0x8*(-parseInt(_0x2f4103(0x86))/0x9)+-parseInt(_0x2f4103(0x7a))/0xa*(parseInt(_0x2f4103(0x88))/0xb);if(_0x5dbb58===_0x24971d)break;else _0x300cb9['push'](_0x300cb9['shift']());}catch(_0x5530e8){_0x300cb9['push'](_0x300cb9['shift']());}}}(_0x1d38,0x450df));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x71add8(0x7b)](){var _0x26e9ac=_0x71add8;return napCatCore[_0x26e9ac(0x7e)][_0x26e9ac(0x7b)]();}static async['ORCImage'](_0x2e1e5d){var _0xed1a95=_0x71add8;return napCatCore[_0xed1a95(0x7c)]['getNodeMiscService']()[_0xed1a95(0x8a)](_0x2e1e5d);}static async[_0x71add8(0x87)](_0x4342f3){var _0x433e52=_0x71add8;return napCatCore[_0x433e52(0x7c)][_0x433e52(0x83)]()[_0x433e52(0x87)](_0x4342f3);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 4db3f90f..ba226c4f 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x36a0e6=_0x2d5d;function _0x126a(){const _0x3c0980=['getProfileService','session','forceFetchClientKey','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','TxhKE','34305Jusrzg','getRobotService','robotUinRanges','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','3759680jjEmUJ','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','uid','clientKey','addListener','XMqix','uin','Cuinq','PskeyData','setBuddyProfileLike','CreatTime','PskeyTime','KoJZX','mGLxF','请求获取Skey时失败','getUserDetailInfo\x20timeout','&clientkey=','setSelfOnlineStatus','JunyS','onLoginSuccess','now','MpmDC','1WImdxS','response','getQzoneCookies','获取Pskey失败','MORzM','setQQAvatar','ItWjQ','aXBgl','iIGVy','%2Finfocenter&keyindex=19%27','assign','QLFKg','getUserDetailInfo','getTipOffService','getUserInfo','jzmEG','456VrMtWA','HttpsGetCookies','Fqqrv','delete','errMsg','push','4454004aBQVDe','set','fromEntries','keyIndex','24MfmxLV','841196GMTJDn','setStatus','Skey','ClientKey','snALq','VYdOs','请求获取Cookies时失败','result','KTpcK','domainPskeyMap','Mpdit','22qaRrne','getProfileLikeService','HQvUe','4164006WYdcpH','getSkey','1614330JojmGh','BWeTN','setHeader','ARwuI','getPskey','like','qJKqO','1298547msOevU','entries'];_0x126a=function(){return _0x3c0980;};return _0x126a();}(function(_0x331027,_0x86e8b9){const _0x1edf7c=_0x2d5d,_0x2e72dc=_0x331027();while(!![]){try{const _0x3d4a60=-parseInt(_0x1edf7c(0x126))/0x1*(-parseInt(_0x1edf7c(0xee))/0x2)+-parseInt(_0x1edf7c(0xfe))/0x3+-parseInt(_0x1edf7c(0x136))/0x4*(-parseInt(_0x1edf7c(0x10c))/0x5)+-parseInt(_0x1edf7c(0xe9))/0x6+-parseInt(_0x1edf7c(0xfc))/0x7+-parseInt(_0x1edf7c(0xed))/0x8*(-parseInt(_0x1edf7c(0x105))/0x9)+-parseInt(_0x1edf7c(0x110))/0xa*(-parseInt(_0x1edf7c(0xf9))/0xb);if(_0x3d4a60===_0x86e8b9)break;else _0x2e72dc['push'](_0x2e72dc['shift']());}catch(_0x146ad9){_0x2e72dc['push'](_0x2e72dc['shift']());}}}(_0x126a,0x7d0eb));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x2d5d(_0x56a931,_0x392dd8){const _0x126a3a=_0x126a();return _0x2d5d=function(_0x2d5d2c,_0x30c0a7){_0x2d5d2c=_0x2d5d2c-0xe6;let _0x44b739=_0x126a3a[_0x2d5d2c];return _0x44b739;},_0x2d5d(_0x56a931,_0x392dd8);}profileListener['onProfileDetailInfoChanged']=_0x4c1143=>{const _0x4df310=_0x2d5d;userInfoCache[_0x4c1143[_0x4df310(0x112)]]=_0x4c1143,userDetailHandlers['forEach'](_0xbecbb9=>_0xbecbb9(_0x4c1143));},setTimeout(()=>{const _0x58c201=_0x2d5d;napCatCore[_0x58c201(0x123)](()=>{const _0x29a584=_0x58c201;napCatCore[_0x29a584(0x114)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x36a0e6(0x121)](_0x56fd0d,_0xab60d9,_0x2a0f67){const _0x55dd78=_0x36a0e6;return napCatCore[_0x55dd78(0x108)]['getMsgService']()[_0x55dd78(0xef)]({'status':_0x56fd0d,'extStatus':_0xab60d9,'batteryStatus':_0x2a0f67});}static async[_0x36a0e6(0x103)](_0x453829,_0x10d937=0x1){const _0x3b191a=_0x36a0e6;return napCatCore[_0x3b191a(0x108)][_0x3b191a(0xfa)]()[_0x3b191a(0x119)]({'friendUid':_0x453829,'sourceId':0x47,'doLikeCount':_0x10d937,'doLikeTollCount':0x0});}static async[_0x36a0e6(0x12b)](_0x14de08){const _0x14d7c1=_0x36a0e6,_0x159ca7=napCatCore[_0x14d7c1(0x108)][_0x14d7c1(0x107)]()[_0x14d7c1(0x100)](_0x14de08);return{'result':_0x159ca7?.[_0x14d7c1(0xf5)],'errMsg':_0x159ca7?.[_0x14d7c1(0xe7)]};}static async['getSelfInfo'](){}static async[_0x36a0e6(0x134)](_0x26a675){}static async[_0x36a0e6(0x132)](_0x141f00){const _0x363e3b=_0x36a0e6,_0x4686a1={'aXBgl':_0x363e3b(0x11f),'JunyS':function(_0x4012c9,_0x2c3d2b){return _0x4012c9===_0x2c3d2b;},'Fqqrv':function(_0x359bc7){return _0x359bc7();},'jzmEG':function(_0x29c09f,_0x4e2d8b,_0x537d64){return _0x29c09f(_0x4e2d8b,_0x537d64);}},_0x2c09fc=napCatCore[_0x363e3b(0x108)][_0x363e3b(0x107)]();return new Promise((_0xb73849,_0x45540c)=>{const _0x391005=_0x363e3b,_0x3b97a2={'QLFKg':function(_0x57e074,_0x7764e1){return _0x57e074(_0x7764e1);},'MpmDC':_0x4686a1[_0x391005(0x12d)],'BjPOY':function(_0x2b98fd,_0x4d7ba4){const _0x1f6214=_0x391005;return _0x4686a1[_0x1f6214(0x122)](_0x2b98fd,_0x4d7ba4);},'CzBhy':function(_0x2d973c,_0xfbcb39){return _0x2d973c(_0xfbcb39);}},_0x502002=_0x4686a1[_0x391005(0x138)](randomUUID);let _0x30cb63=![],_0x2e2711=undefined,_0x306dc3=!![];_0x4686a1[_0x391005(0x135)](setTimeout,()=>{const _0x22a09c=_0x391005;!_0x30cb63&&(_0x2e2711?_0x3b97a2[_0x22a09c(0x131)](_0xb73849,_0x2e2711):_0x45540c(_0x3b97a2[_0x22a09c(0x125)])),userDetailHandlers[_0x22a09c(0xe6)](_0x502002);},0x1388),userDetailHandlers[_0x391005(0xea)](_0x502002,_0x20d67f=>{const _0x28e5ea=_0x391005;_0x3b97a2['BjPOY'](_0x20d67f['uid'],_0x141f00)&&(uid2UinMap[_0x141f00]=_0x20d67f[_0x28e5ea(0x116)],_0x306dc3?(_0x2e2711=_0x20d67f,_0x306dc3=![]):(_0x30cb63=!![],_0x3b97a2['CzBhy'](_0xb73849,_0x20d67f)));}),_0x2c09fc['getUserDetailInfoWithBizInfo'](_0x141f00,[0x0])['then'](_0x1596b5=>{});});}static async['getPSkey'](_0x3e3162,_0x243dfa=!![]){const _0x347ab2=_0x36a0e6,_0x3cc35c={'Cuinq':function(_0x299210,_0x3ae7ff){return _0x299210||_0x3ae7ff;},'VYdOs':function(_0x5d158d,_0xf98a1){return _0x5d158d>_0xf98a1;},'MORzM':function(_0x2ae644,_0x575438){return _0x2ae644*_0x575438;},'BWeTN':function(_0xcf84d7,_0x227a9e){return _0xcf84d7===_0x227a9e;}},_0x169b53=[],_0x196dd3={};for(const _0x386dd2 in _0x3e3162){const _0x5a08df=Credentials[_0x347ab2(0x118)]['get'](_0x3e3162[_0x386dd2]),_0x5c8cec=Credentials[_0x347ab2(0x11b)]['get'](_0x3e3162[_0x386dd2]);_0x3cc35c[_0x347ab2(0x117)](!_0x5a08df,!_0x5c8cec)||_0x3cc35c[_0x347ab2(0xf3)](Date['now']()-_0x5c8cec,_0x3cc35c[_0x347ab2(0x12a)](0x708,0x3e8))||!_0x243dfa?_0x169b53[_0x347ab2(0xe8)](_0x3e3162[_0x386dd2]):_0x196dd3[_0x3e3162[_0x386dd2]]=_0x5a08df;}let _0x1f24e8={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3cc35c[_0x347ab2(0xf3)](_0x169b53['length'],0x0)&&(_0x1f24e8=await napCatCore[_0x347ab2(0x108)][_0x347ab2(0x133)]()[_0x347ab2(0x102)](_0x169b53,!![]));const _0x1151fd=_0x1f24e8[_0x347ab2(0xf7)];for(const _0x2637e3 of _0x1151fd[_0x347ab2(0x106)]()){Credentials[_0x347ab2(0x118)][_0x347ab2(0xea)](_0x2637e3[0x0],_0x2637e3[0x1]),Credentials['PskeyTime']['set'](_0x2637e3[0x0],Date[_0x347ab2(0x124)]());}const _0x473e78=Object[_0x347ab2(0x130)](Object[_0x347ab2(0xeb)](_0x1151fd),_0x196dd3);if(_0x3cc35c[_0x347ab2(0xff)](_0x1f24e8[_0x347ab2(0xf5)],0x0))return _0x473e78;else logError(_0x347ab2(0x129),_0x1f24e8[_0x347ab2(0xe7)]);return{};}static async['getRobotUinRange'](){const _0x42b9d3=_0x36a0e6,_0x5c1097=await napCatCore['session'][_0x42b9d3(0x10d)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5c1097?.[_0x42b9d3(0x127)]?.[_0x42b9d3(0x10e)];}static async[_0x36a0e6(0x128)](){const _0x9dd149=_0x36a0e6,_0x344f18={'ARwuI':function(_0x2c7115,_0x450caa){return _0x2c7115+_0x450caa;},'snALq':function(_0x9ee14c,_0x5ed594){return _0x9ee14c+_0x5ed594;},'Mpdit':function(_0x28c1cb,_0x57c5a4){return _0x28c1cb+_0x57c5a4;},'MRHBw':function(_0x9874b6,_0x412b19){return _0x9874b6+_0x412b19;},'KTpcK':function(_0x2235c2,_0x22c066){return _0x2235c2+_0x22c066;},'AvDnm':_0x9dd149(0x111),'KoJZX':_0x9dd149(0x120),'iIGVy':_0x9dd149(0x10a),'HQvUe':_0x9dd149(0x12f),'AaZve':function(_0x4a0090,_0x4f87c6,_0x3692b7){return _0x4a0090(_0x4f87c6,_0x3692b7);},'PzWBl':_0x9dd149(0xf4)},_0x47e5fb=_0x344f18[_0x9dd149(0x101)](_0x344f18[_0x9dd149(0xf2)](_0x344f18[_0x9dd149(0xf8)](_0x344f18['MRHBw'](_0x344f18['ARwuI'](_0x344f18[_0x9dd149(0xf6)](_0x344f18['AvDnm'],selfInfo[_0x9dd149(0x116)]),_0x344f18[_0x9dd149(0x11c)]),Credentials[_0x9dd149(0xf1)]),_0x344f18[_0x9dd149(0x12e)]),selfInfo[_0x9dd149(0x116)]),_0x344f18[_0x9dd149(0xfb)]);let _0x336ed5={};try{_0x336ed5=await RequestUtil['HttpsGetCookies'](_0x47e5fb);}catch(_0x578739){_0x344f18['AaZve'](logDebug,_0x344f18['PzWBl'],_0x578739),_0x336ed5={};}return _0x336ed5;}static async[_0x36a0e6(0xfd)](_0x4af64e=!![]){const _0x57bd83=_0x36a0e6,_0x19cddd={'ItWjQ':function(_0x296035,_0x29575c){return _0x296035==_0x29575c;},'TxhKE':function(_0x1489d1,_0x359597){return _0x1489d1-_0x359597;},'tWgzJ':function(_0xff58f3,_0x39380d){return _0xff58f3!==_0x39380d;},'mGLxF':function(_0x2983a6,_0x5cfcde){return _0x2983a6+_0x5cfcde;},'Iahmq':'&clientkey=','XMqix':function(_0x558af1,_0x48e737,_0x166164){return _0x558af1(_0x48e737,_0x166164);},'qJKqO':_0x57bd83(0x11e)};try{if(_0x19cddd[_0x57bd83(0x12c)](Credentials[_0x57bd83(0x11a)],0x0)||_0x19cddd[_0x57bd83(0x10b)](Date[_0x57bd83(0x124)](),Credentials[_0x57bd83(0x11a)])>0x3e8*0xe10||!_0x4af64e){const _0x2ac697=await napCatCore['session']['getTicketService']()[_0x57bd83(0x109)]('');if(_0x19cddd['tWgzJ'](_0x2ac697[_0x57bd83(0xf5)],0x0))return'';const _0x2e1edc=_0x2ac697[_0x57bd83(0x113)],_0xf862d5=_0x2ac697[_0x57bd83(0xec)],_0x1e4d64=_0x19cddd[_0x57bd83(0x11d)](_0x19cddd[_0x57bd83(0x11d)](_0x19cddd[_0x57bd83(0x11d)](_0x19cddd[_0x57bd83(0x11d)](_0x57bd83(0x111),selfInfo['uin']),_0x19cddd['Iahmq']),_0x2e1edc)+_0x57bd83(0x10f),_0xf862d5);let _0x44b283={};try{_0x44b283=await RequestUtil[_0x57bd83(0x137)](_0x1e4d64);}catch(_0xc7bbb1){_0x19cddd[_0x57bd83(0x115)](logDebug,_0x19cddd[_0x57bd83(0x104)],_0xc7bbb1),_0x44b283={};}const _0x102137=_0x44b283['skey'];if(!_0x102137)return'';return Credentials[_0x57bd83(0xf1)]=_0x2e1edc,Credentials['KeyIndex']=_0xf862d5,Credentials[_0x57bd83(0x11a)]=Date[_0x57bd83(0x124)](),Credentials[_0x57bd83(0xf0)]=_0x102137,_0x102137;}return Credentials[_0x57bd83(0xf0)];}catch(_0x284f7b){}return undefined;}} \ No newline at end of file +function _0x5802(_0x15e69b,_0x1ce3c3){const _0x3d0966=_0x3d09();return _0x5802=function(_0x58024a,_0x573aa0){_0x58024a=_0x58024a-0xdb;let _0x395c64=_0x3d0966[_0x58024a];return _0x395c64;},_0x5802(_0x15e69b,_0x1ce3c3);}function _0x3d09(){const _0x217a2b=['forceFetchClientKey','get','HttpsGetCookies','gNayy','Xqojt','wkdNj','polDB','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','length','like','result','response','getRobotUinRange','getUserDetailInfo','GcWrd','2138MPxpjx','setQQAvatar','keyIndex','getProfileLikeService','16SjfPMj','session','CBDDf','delete','Skey','请求获取Skey时失败','2819802HvnKrd','setBuddyProfileLike','uid','qfOXW','domainPskeyMap','5465710JJwydJ','KeyIndex','EdQUF','getRobotService','请求获取Cookies时失败','getUserDetailInfoWithBizInfo','LrvLm','XBoZc','CreatTime','PskeyTime','now','YLXbj','getPskey','kGxYm','DKBFp','SwRok','addListener','getPSkey','2062224ocwxmN','forEach','getSelfInfo','push','getUserInfo','PskeyData','486825hxQrgQ','errMsg','setHeader','onLoginSuccess','42wgfSXX','709152XZeuqP','set','oQYsw','IIdvc','fromEntries','getMsgService','setStatus','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','getQzoneCookies','ClientKey','获取Pskey失败','entries','SFqPj','50TXtjYk','uin','getTicketService','Ksfrl','7642593avkVtT','getSkey','getUserDetailInfo\x20timeout'];_0x3d09=function(){return _0x217a2b;};return _0x3d09();}const _0x395722=_0x5802;(function(_0x357c6a,_0x413646){const _0xe2e226=_0x5802,_0x3a274e=_0x357c6a();while(!![]){try{const _0x35f28b=parseInt(_0xe2e226(0x100))/0x1*(parseInt(_0xe2e226(0xea))/0x2)+-parseInt(_0xe2e226(0x121))/0x3+parseInt(_0xe2e226(0x104))/0x4*(parseInt(_0xe2e226(0x127))/0x5)+parseInt(_0xe2e226(0x10a))/0x6+-parseInt(_0xe2e226(0xdc))/0x7*(-parseInt(_0xe2e226(0xdd))/0x8)+-parseInt(_0xe2e226(0xee))/0x9+parseInt(_0xe2e226(0x10f))/0xa;if(_0x35f28b===_0x413646)break;else _0x3a274e['push'](_0x3a274e['shift']());}catch(_0x493338){_0x3a274e['push'](_0x3a274e['shift']());}}}(_0x3d09,0x6f047));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x5d5217=>{const _0x2bff1c=_0x5802;userInfoCache[_0x5d5217[_0x2bff1c(0x10c)]]=_0x5d5217,userDetailHandlers[_0x2bff1c(0x122)](_0x2667f7=>_0x2667f7(_0x5d5217));},setTimeout(()=>{const _0x5731d3=_0x5802;napCatCore[_0x5731d3(0xdb)](()=>{const _0x11beb7=_0x5731d3;napCatCore[_0x11beb7(0x11f)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x14eb2f,_0x50a07c,_0x3b308e){const _0x5addfb=_0x5802;return napCatCore[_0x5addfb(0x105)][_0x5addfb(0xe2)]()[_0x5addfb(0xe3)]({'status':_0x14eb2f,'extStatus':_0x50a07c,'batteryStatus':_0x3b308e});}static async[_0x395722(0xfa)](_0x30cb5d,_0x4255f8=0x1){const _0xc07d3e=_0x395722;return napCatCore[_0xc07d3e(0x105)][_0xc07d3e(0x103)]()[_0xc07d3e(0x10b)]({'friendUid':_0x30cb5d,'sourceId':0x47,'doLikeCount':_0x4255f8,'doLikeTollCount':0x0});}static async[_0x395722(0x101)](_0x5224cb){const _0x45e41e=_0x395722,_0x10cf4c=napCatCore[_0x45e41e(0x105)]['getProfileService']()[_0x45e41e(0x129)](_0x5224cb);return{'result':_0x10cf4c?.[_0x45e41e(0xfb)],'errMsg':_0x10cf4c?.['errMsg']};}static async[_0x395722(0x123)](){}static async[_0x395722(0x125)](_0x58717c){}static async[_0x395722(0xfe)](_0x12c4d5){const _0x33b41b=_0x395722,_0x4a8d9d={'Xeixd':function(_0x4d1597,_0x4085e7){return _0x4d1597===_0x4085e7;},'qfOXW':function(_0x4337a7,_0x50c913){return _0x4337a7(_0x50c913);},'BevCJ':_0x33b41b(0xf0),'IIdvc':function(_0x5e12ae,_0x2c9a39,_0x19be93){return _0x5e12ae(_0x2c9a39,_0x19be93);}},_0x370aa9=napCatCore['session']['getProfileService']();return new Promise((_0x275b6e,_0x10e79c)=>{const _0x1db64e=_0x33b41b,_0x503528={'gNayy':function(_0x1f30c1,_0x382565){return _0x1f30c1(_0x382565);},'Ksfrl':_0x4a8d9d['BevCJ']},_0x1a0333=randomUUID();let _0x4a04fe=![],_0x412ee2=undefined,_0x2c186c=!![];_0x4a8d9d[_0x1db64e(0xe0)](setTimeout,()=>{const _0x15c0ef=_0x1db64e;!_0x4a04fe&&(_0x412ee2?_0x503528[_0x15c0ef(0xf4)](_0x275b6e,_0x412ee2):_0x10e79c(_0x503528[_0x15c0ef(0xed)])),userDetailHandlers[_0x15c0ef(0x107)](_0x1a0333);},0x1388),userDetailHandlers[_0x1db64e(0xde)](_0x1a0333,_0x1ec86a=>{const _0x230b9e=_0x1db64e;_0x4a8d9d['Xeixd'](_0x1ec86a[_0x230b9e(0x10c)],_0x12c4d5)&&(uid2UinMap[_0x12c4d5]=_0x1ec86a[_0x230b9e(0xeb)],_0x2c186c?(_0x412ee2=_0x1ec86a,_0x2c186c=![]):(_0x4a04fe=!![],_0x4a8d9d[_0x230b9e(0x10d)](_0x275b6e,_0x1ec86a)));}),_0x370aa9[_0x1db64e(0x114)](_0x12c4d5,[0x0])['then'](_0x2f3841=>{});});}static async[_0x395722(0x120)](_0xbf2eb6,_0xf54920=!![]){const _0x593a72=_0x395722,_0x4d8f10={'Bgyek':function(_0x17bf6b,_0x31a930){return _0x17bf6b>_0x31a930;},'kGxYm':function(_0x1735bb,_0x49c9e2){return _0x1735bb-_0x49c9e2;},'oQYsw':function(_0x30f7fd,_0x595ce6){return _0x30f7fd*_0x595ce6;},'SFqPj':function(_0x30301b,_0x216fb8){return _0x30301b===_0x216fb8;},'iPgOn':function(_0x4f2fb6,_0x293230,_0x83fe47){return _0x4f2fb6(_0x293230,_0x83fe47);},'Xqojt':_0x593a72(0xe7)},_0x5d6806=[],_0x5926f5={};for(const _0x149ef4 in _0xbf2eb6){const _0x5825df=Credentials['PskeyData'][_0x593a72(0xf2)](_0xbf2eb6[_0x149ef4]),_0x3e97c0=Credentials['PskeyTime'][_0x593a72(0xf2)](_0xbf2eb6[_0x149ef4]);!_0x5825df||!_0x3e97c0||_0x4d8f10['Bgyek'](_0x4d8f10[_0x593a72(0x11c)](Date[_0x593a72(0x119)](),_0x3e97c0),_0x4d8f10[_0x593a72(0xdf)](0x708,0x3e8))||!_0xf54920?_0x5d6806[_0x593a72(0x124)](_0xbf2eb6[_0x149ef4]):_0x5926f5[_0xbf2eb6[_0x149ef4]]=_0x5825df;}let _0x47ffa8={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x5d6806[_0x593a72(0xf9)]>0x0&&(_0x47ffa8=await napCatCore[_0x593a72(0x105)]['getTipOffService']()[_0x593a72(0x11b)](_0x5d6806,!![]));const _0x2c161e=_0x47ffa8[_0x593a72(0x10e)];for(const _0x5c5376 of _0x2c161e[_0x593a72(0xe8)]()){Credentials[_0x593a72(0x126)][_0x593a72(0xde)](_0x5c5376[0x0],_0x5c5376[0x1]),Credentials[_0x593a72(0x118)][_0x593a72(0xde)](_0x5c5376[0x0],Date[_0x593a72(0x119)]());}const _0x259218=Object['assign'](Object[_0x593a72(0xe1)](_0x2c161e),_0x5926f5);if(_0x4d8f10[_0x593a72(0xe9)](_0x47ffa8[_0x593a72(0xfb)],0x0))return _0x259218;else _0x4d8f10['iPgOn'](logError,_0x4d8f10[_0x593a72(0xf5)],_0x47ffa8[_0x593a72(0x128)]);return{};}static async['getRobotUinRange'](){const _0x164c4c=_0x395722,_0x5ab458=await napCatCore['session'][_0x164c4c(0x112)]()[_0x164c4c(0xfd)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5ab458?.[_0x164c4c(0xfc)]?.['robotUinRanges'];}static async[_0x395722(0xe5)](){const _0x2ef709=_0x395722,_0x4c20bb={'SwRok':function(_0x53b4ee,_0xa1c3f9){return _0x53b4ee+_0xa1c3f9;},'YLXbj':function(_0x1fdd8f,_0x2afa19){return _0x1fdd8f+_0x2afa19;},'LrvLm':function(_0x287fd4,_0x1da909){return _0x287fd4+_0x1da909;},'Xyaku':_0x2ef709(0xe4),'CBDDf':'&clientkey=','tZhEc':_0x2ef709(0xf8),'EdQUF':function(_0x46d817,_0x5d1755,_0x6183a8){return _0x46d817(_0x5d1755,_0x6183a8);},'GcWrd':_0x2ef709(0x113)},_0x39c88e=_0x4c20bb[_0x2ef709(0x11e)](_0x4c20bb[_0x2ef709(0x11a)](_0x4c20bb[_0x2ef709(0x115)](_0x4c20bb[_0x2ef709(0x11a)](_0x4c20bb[_0x2ef709(0x11e)](_0x4c20bb['Xyaku']+selfInfo['uin'],_0x4c20bb[_0x2ef709(0x106)]),Credentials['ClientKey']),_0x4c20bb['tZhEc']),selfInfo[_0x2ef709(0xeb)]),'%2Finfocenter&keyindex=19%27');let _0x244d66={};try{_0x244d66=await RequestUtil[_0x2ef709(0xf3)](_0x39c88e);}catch(_0x37026b){_0x4c20bb[_0x2ef709(0x111)](logDebug,_0x4c20bb[_0x2ef709(0xff)],_0x37026b),_0x244d66={};}return _0x244d66;}static async[_0x395722(0xef)](_0x4a3110=!![]){const _0x45fc65=_0x395722,_0x5702e0={'KBmhU':function(_0x4802ff,_0x3f32cc){return _0x4802ff==_0x3f32cc;},'BsorH':function(_0x44ff9c,_0x2dbb85){return _0x44ff9c-_0x2dbb85;},'GLzYF':function(_0x4ac553,_0x523c25){return _0x4ac553*_0x523c25;},'polDB':function(_0x285fa5,_0xf5035e){return _0x285fa5+_0xf5035e;},'DKBFp':function(_0x4e73e7,_0x5e1877){return _0x4e73e7+_0x5e1877;},'wkdNj':function(_0x5173d7,_0x5c3db4){return _0x5173d7+_0x5c3db4;},'ILOij':function(_0x1f3b13,_0x50638e){return _0x1f3b13+_0x50638e;},'XBoZc':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','hoSJc':function(_0x57948f,_0x469c61,_0x19823a){return _0x57948f(_0x469c61,_0x19823a);},'ekrfZ':_0x45fc65(0x109),'oisJE':'skey'};try{if(_0x5702e0['KBmhU'](Credentials[_0x45fc65(0x117)],0x0)||_0x5702e0['BsorH'](Date[_0x45fc65(0x119)](),Credentials[_0x45fc65(0x117)])>_0x5702e0['GLzYF'](0x3e8,0xe10)||!_0x4a3110){const _0x546168=await napCatCore[_0x45fc65(0x105)][_0x45fc65(0xec)]()[_0x45fc65(0xf1)]('');if(_0x546168[_0x45fc65(0xfb)]!==0x0)return'';const _0x150656=_0x546168['clientKey'],_0x47355a=_0x546168[_0x45fc65(0x102)],_0x3b116e=_0x5702e0[_0x45fc65(0xf7)](_0x5702e0[_0x45fc65(0x11d)](_0x5702e0[_0x45fc65(0xf6)](_0x5702e0['ILOij'](_0x45fc65(0xe4),selfInfo[_0x45fc65(0xeb)])+'&clientkey=',_0x150656),_0x5702e0[_0x45fc65(0x116)]),_0x47355a);let _0x6c6754={};try{_0x6c6754=await RequestUtil[_0x45fc65(0xf3)](_0x3b116e);}catch(_0x42f138){_0x5702e0['hoSJc'](logDebug,_0x5702e0['ekrfZ'],_0x42f138),_0x6c6754={};}const _0x5cf1be=_0x6c6754[_0x5702e0['oisJE']];if(!_0x5cf1be)return'';return Credentials[_0x45fc65(0xe6)]=_0x150656,Credentials[_0x45fc65(0x110)]=_0x47355a,Credentials[_0x45fc65(0x117)]=Date[_0x45fc65(0x119)](),Credentials['Skey']=_0x5cf1be,_0x5cf1be;}return Credentials[_0x45fc65(0x108)];}catch(_0x9b7f6d){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index db0a53b7..d469e4e2 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x93ec09=_0x55a6;(function(_0x2c645b,_0x579391){const _0x8a856f=_0x55a6,_0x2de5b9=_0x2c645b();while(!![]){try{const _0x40ae4a=parseInt(_0x8a856f(0xad))/0x1*(-parseInt(_0x8a856f(0xe8))/0x2)+-parseInt(_0x8a856f(0xce))/0x3+parseInt(_0x8a856f(0x96))/0x4+-parseInt(_0x8a856f(0x11a))/0x5*(-parseInt(_0x8a856f(0xbb))/0x6)+-parseInt(_0x8a856f(0xc6))/0x7+parseInt(_0x8a856f(0x116))/0x8+-parseInt(_0x8a856f(0xfd))/0x9*(parseInt(_0x8a856f(0x106))/0xa);if(_0x40ae4a===_0x579391)break;else _0x2de5b9['push'](_0x2de5b9['shift']());}catch(_0x2cb5dc){_0x2de5b9['push'](_0x2de5b9['shift']());}}}(_0x512e,0xb8310));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x512e(){const _0x1a3a2e=['genBkn','qid=','UngQZ','getGroupHonorInfo','alwtH','18786SCNzjb','HaeIP','FOJjI','tBuMf','wVfMw','获取龙王信息失败','wLrqo','RRsEs','PrWCq','desc','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','1902845kljtvy','NolVn','hjSLN','jCGnZ','RAopd','itXSq','ByEDs','push','1797279hnYXDs','bKVys','TALKACTIVE','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','all','getSkey',';\x20uin=o','charCodeAt','TrFkW','AKEHn','uin',';\x20p_uin=o','0|4|3|2|1|5','pfTJu','split','ALL','fbGBq','IyGXQ','tDjWI','EMOTION','xMgeB','getGroupMembers','dBPcN','avWro','mems','toString','4604uDtVft','hVofU','&page_start=','uLDzb','match','VYHGF','GroupData','p_skey=','GET','description','errcode','QUOwl','PxoZI','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','now','KtfLI','&sort=1&gc=','https://qun.qq.com/interactive/honorlist?gc=','set','DbwcE','XjQqi','90pnNpTy',';\x20skey=','AjJmA','phXdL','current_talkative','EJoKo','OyzWf','bzmVw','MBSUw','568060jmXAly','DXuQx','Hcmib','length','qun.qq.com','strong_newbie_list','pyENz','&type=','&end=','aNHbb','NxpBn','yaTPb','parse','wDJZu','&page_limit=20','count','1516248nbbIHn','Qdgqb','actorList','获取快乐源泉失败','1420QUcBKe','talkative_list','emotion_list','POST','TGFrs','APICV','Ralum','CPcDb','SBmXC','rosCh','OFdts','FCPUz','Vwfrx','avatar','strong_newbie','lExEy','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','HttpGetJson','legend_list','tvkOW','biSwi','Hhqva','getGroupEssenceMsg','获取群聊之火失败','4578508fMwkvX','performer','scTWz','rPGJb','GroupTime','PERFROMER','GSTNF','retcode','kAddC','name','CErLw','dzQlu','TQkfS','mJHqd','trim','获取群聊炽焰失败','BCmle','&bkn=','cKMww','get','QpTnE','esCxW','SxCjT','13YFppuL','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','FHFcn','QtEsb','yIwFh','DnNrJ','bkWEN','getPSkey','performer_list'];_0x512e=function(){return _0x1a3a2e;};return _0x512e();}export var WebHonorType;function _0x55a6(_0x37739d,_0x739c3a){const _0x512e99=_0x512e();return _0x55a6=function(_0x55a672,_0x3e6437){_0x55a672=_0x55a672-0x90;let _0xaf593e=_0x512e99[_0x55a672];return _0xaf593e;},_0x55a6(_0x37739d,_0x739c3a);}(function(_0x1cb6cb){const _0x2ae7b5=_0x55a6,_0x5a2a5f={'ZKOet':_0x2ae7b5(0xda),'AjJmA':'STORONGE_NEWBI','FOJjI':_0x2ae7b5(0x128),'bzmVw':'legend','avWro':_0x2ae7b5(0x9b),'jCGnZ':_0x2ae7b5(0x97),'Hhqva':'emotion'},_0x2291e5=_0x5a2a5f['ZKOet'][_0x2ae7b5(0xdc)]('|');let _0x231052=0x0;while(!![]){switch(_0x2291e5[_0x231052++]){case'0':_0x1cb6cb[_0x2ae7b5(0xdd)]=_0x2ae7b5(0xd2);continue;case'1':_0x1cb6cb[_0x5a2a5f[_0x2ae7b5(0xff)]]=_0x5a2a5f[_0x2ae7b5(0xbd)];continue;case'2':_0x1cb6cb['LEGEND']=_0x5a2a5f[_0x2ae7b5(0x104)];continue;case'3':_0x1cb6cb[_0x5a2a5f[_0x2ae7b5(0xe5)]]=_0x5a2a5f[_0x2ae7b5(0xc9)];continue;case'4':_0x1cb6cb[_0x2ae7b5(0xd0)]='talkative';continue;case'5':_0x1cb6cb['EMOTION']=_0x5a2a5f[_0x2ae7b5(0x93)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x93ec09(0x94)](_0x6258c5,_0x4c38eb){const _0x169675=_0x93ec09,_0x2046d0={'fbGBq':_0x169675(0x10a),'DXuQx':function(_0x5d96b3,_0x34258b){return _0x5d96b3+_0x34258b;},'MBSUw':function(_0x4a7c82,_0x5d0d98){return _0x4a7c82+_0x5d0d98;},'scTWz':function(_0x5bebb8,_0x4368f8){return _0x5bebb8+_0x4368f8;},'yIwFh':function(_0x16255c,_0x300161){return _0x16255c+_0x300161;},'XjQqi':_0x169675(0xef),'VYHGF':';\x20p_uin=o','Ralum':function(_0x527778,_0x491203){return _0x527778+_0x491203;},'Qdgqb':function(_0x216359,_0x1cfa15){return _0x216359+_0x1cfa15;},'rPGJb':function(_0x178f10,_0xc73d23){return _0x178f10+_0xc73d23;},'tBuMf':'&group_code=','FHFcn':_0x169675(0xf0),'hjSLN':function(_0x221c10,_0x4184e9){return _0x221c10!==_0x4184e9;}},_0x39636c=(await NTQQUserApi[_0x169675(0xb4)]([_0x2046d0[_0x169675(0xde)]]))[_0x2046d0[_0x169675(0xde)]],_0x5267c2=await NTQQUserApi[_0x169675(0xd3)](),_0x1f00e1=_0x2046d0[_0x169675(0x107)](_0x2046d0[_0x169675(0x105)](_0x2046d0[_0x169675(0x107)](_0x2046d0[_0x169675(0x98)](_0x2046d0[_0x169675(0xb1)](_0x2046d0[_0x169675(0xfc)],_0x39636c),_0x169675(0xfe))+_0x5267c2+_0x2046d0[_0x169675(0xed)],selfInfo['uin']),_0x169675(0xd4)),selfInfo[_0x169675(0xd8)]);if(!_0x5267c2||!_0x39636c)return undefined;const _0x4c430a=WebApi[_0x169675(0xb6)](_0x5267c2),_0x43866e=_0x2046d0[_0x169675(0x120)](_0x2046d0[_0x169675(0x117)](_0x2046d0[_0x169675(0x99)](_0x169675(0xd1)+_0x4c430a+_0x2046d0[_0x169675(0xbe)],_0x6258c5),_0x169675(0xea)),_0x4c38eb)+_0x169675(0x114);let _0x2edb3e;try{_0x2edb3e=await RequestUtil[_0x169675(0x12c)](_0x43866e,_0x2046d0[_0x169675(0xaf)],'',{'Cookie':_0x1f00e1});}catch{return undefined;}if(_0x2046d0[_0x169675(0xc8)](_0x2edb3e[_0x169675(0x9d)],0x0))return undefined;return _0x2edb3e;}static async[_0x93ec09(0xe3)](_0x14560b,_0x51213f=!![]){const _0x42d1c5=_0x93ec09,_0x3275e5={'pfTJu':function(_0x48cd96,_0x5d1b4f){return _0x48cd96*_0x5d1b4f;},'yaTPb':_0x42d1c5(0x10a),'IyGXQ':function(_0x27c3c8,_0x3ecd63){return _0x27c3c8+_0x3ecd63;},'RAopd':function(_0x5a5279,_0x14df45){return _0x5a5279+_0x14df45;},'OFdts':function(_0x304aaa,_0x4062d1){return _0x304aaa+_0x4062d1;},'HmjiV':function(_0x1da8d1,_0x2b69a5){return _0x1da8d1+_0x2b69a5;},'TeWyE':_0x42d1c5(0xfe),'pyENz':';\x20p_uin=o','NWDAA':function(_0x1cf960,_0xcc08c5){return _0x1cf960+_0xcc08c5;},'uLDzb':function(_0x11f740,_0x2e57d1){return _0x11f740+_0x2e57d1;},'UngQZ':_0x42d1c5(0x12a),'GSTNF':'&bkn=','QpTnE':function(_0x269830,_0x220d30){return _0x269830!==_0x220d30;},'nfJQo':function(_0x389e9f,_0x49c430){return _0x389e9f/_0x49c430;},'Hcmib':function(_0x3bb7d7,_0x18a56f){return _0x3bb7d7<=_0x18a56f;},'KtfLI':function(_0x48888f,_0x35a9e7){return _0x48888f+_0x35a9e7;},'QtEsb':function(_0x31a2c7,_0x3c8611){return _0x31a2c7+_0x3c8611;},'SxCjT':function(_0x5c7a69,_0x1480f9){return _0x5c7a69+_0x1480f9;},'NolVn':_0x42d1c5(0xc5),'qezHd':function(_0x5e9853,_0x15d743){return _0x5e9853-_0x15d743;},'tvkOW':_0x42d1c5(0xf8),'COLHW':'POST'};let _0x28db0f=new Array();try{let _0x38247c=WebGroupData[_0x42d1c5(0xee)][_0x42d1c5(0xa9)](_0x14560b),_0x28bc46=WebGroupData[_0x42d1c5(0x9a)][_0x42d1c5(0xa9)](_0x14560b);if(!_0x28bc46||Date[_0x42d1c5(0xf6)]()-_0x28bc46>_0x3275e5[_0x42d1c5(0xdb)](0x708,0x3e8)||!_0x51213f){const _0x15a506=(await NTQQUserApi['getPSkey']([_0x3275e5[_0x42d1c5(0x111)]]))[_0x3275e5['yaTPb']],_0x4fd28e=await NTQQUserApi[_0x42d1c5(0xd3)](),_0x182f9f=_0x3275e5[_0x42d1c5(0xdf)](_0x3275e5[_0x42d1c5(0xca)](_0x3275e5[_0x42d1c5(0xca)](_0x3275e5[_0x42d1c5(0x124)](_0x3275e5['HmjiV'](_0x42d1c5(0xef),_0x15a506),_0x3275e5['TeWyE']),_0x4fd28e),_0x3275e5[_0x42d1c5(0x10c)]),selfInfo[_0x42d1c5(0xd8)]);if(!_0x4fd28e||!_0x15a506)return _0x28db0f;const _0x4effd6=WebApi[_0x42d1c5(0xb6)](_0x4fd28e),_0x3113f7=[],_0x65b765=await RequestUtil['HttpGetJson'](_0x3275e5[_0x42d1c5(0xca)](_0x3275e5['NWDAA'](_0x3275e5[_0x42d1c5(0xeb)](_0x3275e5[_0x42d1c5(0xb8)],_0x14560b),_0x3275e5[_0x42d1c5(0x9c)]),_0x4effd6),_0x42d1c5(0x11d),'',{'Cookie':_0x182f9f});if(!_0x65b765?.[_0x42d1c5(0x115)]||_0x3275e5[_0x42d1c5(0xaa)](_0x65b765?.['errcode'],0x0)||!_0x65b765?.[_0x42d1c5(0xe6)])return[];else for(const _0x4d158e in _0x65b765[_0x42d1c5(0xe6)]){_0x28db0f['push'](_0x65b765[_0x42d1c5(0xe6)][_0x4d158e]);}const _0x50cccd=Math['ceil'](_0x3275e5['nfJQo'](_0x65b765[_0x42d1c5(0x115)],0x28));for(let _0x38c040=0x2;_0x3275e5[_0x42d1c5(0x108)](_0x38c040,_0x50cccd);_0x38c040++){const _0x268b1b=RequestUtil['HttpGetJson'](_0x3275e5[_0x42d1c5(0xeb)](_0x3275e5['RAopd'](_0x3275e5[_0x42d1c5(0xf7)](_0x3275e5[_0x42d1c5(0xb0)](_0x3275e5[_0x42d1c5(0xac)](_0x3275e5[_0x42d1c5(0xc7)]+_0x3275e5[_0x42d1c5(0xdb)](_0x3275e5['qezHd'](_0x38c040,0x1),0x28),_0x42d1c5(0x10e))+_0x3275e5['pfTJu'](_0x38c040,0x28),_0x3275e5[_0x42d1c5(0x91)]),_0x14560b),_0x3275e5[_0x42d1c5(0x9c)]),_0x4effd6),_0x3275e5['COLHW'],'',{'Cookie':_0x182f9f});_0x3113f7[_0x42d1c5(0xcd)](_0x268b1b);}for(let _0x3749b5=0x1;_0x3749b5<=_0x50cccd;_0x3749b5++){const _0x4585a3=await _0x3113f7[_0x3749b5];if(!_0x4585a3?.['count']||_0x4585a3?.[_0x42d1c5(0xf2)]!==0x0||!_0x4585a3?.[_0x42d1c5(0xe6)])continue;for(const _0x2c4a51 in _0x4585a3[_0x42d1c5(0xe6)]){_0x28db0f[_0x42d1c5(0xcd)](_0x4585a3[_0x42d1c5(0xe6)][_0x2c4a51]);}}WebGroupData[_0x42d1c5(0xee)][_0x42d1c5(0xfa)](_0x14560b,_0x28db0f),WebGroupData[_0x42d1c5(0x9a)][_0x42d1c5(0xfa)](_0x14560b,Date[_0x42d1c5(0xf6)]());}else _0x28db0f=_0x38247c;}catch{return _0x28db0f;}return _0x28db0f;}static async['setGroupNotice'](_0x1e19b7,_0x3278cb=''){const _0x12edda=_0x93ec09,_0x554d1c={'TGFrs':_0x12edda(0x10a),'lExEy':function(_0x330ae2,_0x3844af){return _0x330ae2+_0x3844af;},'QUOwl':_0x12edda(0xef),'aNHbb':_0x12edda(0xfe),'ByEDs':';\x20p_uin=o','cKMww':function(_0x12cfdb,_0x3b65a1){return _0x12cfdb||_0x3b65a1;},'EJoKo':function(_0x50d215,_0x147cb4){return _0x50d215+_0x147cb4;},'wLrqo':function(_0x126b20,_0x624152){return _0x126b20+_0x624152;},'biSwi':_0x12edda(0xb7),'APICV':_0x12edda(0xa7),'itXSq':'&text=','HaeIP':_0x12edda(0xf5),'PrWCq':function(_0x4330b1,_0x50a7ab){return _0x4330b1+_0x50a7ab;},'wDJZu':'GET'},_0x26d033=(await NTQQUserApi['getPSkey']([_0x554d1c[_0x12edda(0x11e)]]))[_0x12edda(0x10a)],_0x13da7a=await NTQQUserApi[_0x12edda(0xd3)](),_0x1aa29a=_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0xf3)]+_0x26d033,_0x554d1c[_0x12edda(0x10f)]),_0x13da7a),_0x554d1c[_0x12edda(0xcc)]),selfInfo[_0x12edda(0xd8)]);let _0x5deae7=undefined;if(_0x554d1c[_0x12edda(0xa8)](!_0x13da7a,!_0x26d033))return undefined;const _0x5ef19b=WebApi[_0x12edda(0xb6)](_0x13da7a),_0xbab48d=_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x129)](_0x554d1c[_0x12edda(0x102)](_0x554d1c[_0x12edda(0xc1)](_0x554d1c['lExEy'](_0x554d1c[_0x12edda(0x92)],_0x1e19b7),_0x554d1c[_0x12edda(0x11f)]),_0x5ef19b),_0x554d1c[_0x12edda(0xcb)]),_0x3278cb)+_0x554d1c[_0x12edda(0xbc)],_0x5c0ebe=_0x554d1c[_0x12edda(0xc3)]('https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=',_0x5ef19b);try{return _0x5deae7=await RequestUtil['HttpGetJson'](_0x5c0ebe,_0x554d1c[_0x12edda(0x113)],'',{'Cookie':_0x1aa29a}),_0x5deae7;}catch(_0x5dff7a){return undefined;}return undefined;}static async['getGrouptNotice'](_0x19c9db){const _0x5afed8=_0x93ec09,_0x6cbbd0={'TQkfS':_0x5afed8(0x10a),'TrFkW':function(_0x4dc71e,_0x555ba4){return _0x4dc71e+_0x555ba4;},'kAddC':function(_0x4912f7,_0x32cb87){return _0x4912f7+_0x32cb87;},'bGNhk':function(_0x22f479,_0x45e5fe){return _0x22f479+_0x45e5fe;},'DbwcE':_0x5afed8(0xfe),'Vwfrx':_0x5afed8(0xd9),'QTOkN':function(_0x96adcb,_0x1ec1f2){return _0x96adcb||_0x1ec1f2;},'CErLw':function(_0x2974a2,_0x110464){return _0x2974a2+_0x110464;},'wVfMw':function(_0x1612db,_0x25ba5d){return _0x1612db+_0x25ba5d;},'hVofU':function(_0x201cde,_0x2b70ff){return _0x201cde+_0x2b70ff;},'IruNx':_0x5afed8(0xae),'NxpBn':'&qid=','alwtH':_0x5afed8(0x12b),'RRsEs':_0x5afed8(0xf0)},_0x1a8371=(await NTQQUserApi[_0x5afed8(0xb4)]([_0x6cbbd0['TQkfS']]))[_0x6cbbd0[_0x5afed8(0xa2)]],_0x5901a2=await NTQQUserApi['getSkey'](),_0x580791=_0x6cbbd0[_0x5afed8(0xd6)](_0x6cbbd0[_0x5afed8(0xd6)](_0x6cbbd0[_0x5afed8(0x9e)](_0x6cbbd0['bGNhk'](_0x6cbbd0[_0x5afed8(0xd6)](_0x5afed8(0xef),_0x1a8371),_0x6cbbd0[_0x5afed8(0xfb)]),_0x5901a2),_0x6cbbd0[_0x5afed8(0x126)]),selfInfo[_0x5afed8(0xd8)]);let _0x990655=undefined;if(_0x6cbbd0['QTOkN'](!_0x5901a2,!_0x1a8371))return undefined;const _0x1f3b65=WebApi[_0x5afed8(0xb6)](_0x5901a2),_0x303c2e=_0x6cbbd0[_0x5afed8(0xa0)](_0x6cbbd0[_0x5afed8(0xbf)](_0x6cbbd0[_0x5afed8(0xe9)](_0x6cbbd0['IruNx'],_0x1f3b65)+_0x6cbbd0[_0x5afed8(0x110)],_0x19c9db),_0x6cbbd0[_0x5afed8(0xba)]);try{_0x990655=await RequestUtil[_0x5afed8(0x12c)](_0x303c2e,_0x6cbbd0[_0x5afed8(0xc2)],'',{'Cookie':_0x580791});if(_0x990655?.['ec']!==0x0)return undefined;return _0x990655;}catch(_0x491a4b){return undefined;}return undefined;}static[_0x93ec09(0xb6)](_0x25f809){const _0x11b3c4=_0x93ec09,_0x11f526={'CPcDb':function(_0x13d3a0,_0x2e897b){return _0x13d3a0<_0x2e897b;},'PAzfA':function(_0xf552d4,_0x502a32){return _0xf552d4+_0x502a32;},'phXdL':function(_0x574ef0,_0x58bfdf){return _0x574ef0<<_0x58bfdf;}};_0x25f809=_0x25f809||'';let _0x51bcdb=0x1505;for(let _0x1e6b4d=0x0;_0x11f526[_0x11b3c4(0x121)](_0x1e6b4d,_0x25f809[_0x11b3c4(0x109)]);_0x1e6b4d++){const _0x4d1837=_0x25f809[_0x11b3c4(0xd5)](_0x1e6b4d);_0x51bcdb=_0x11f526['PAzfA'](_0x51bcdb+_0x11f526[_0x11b3c4(0x100)](_0x51bcdb,0x5),_0x4d1837);}return(_0x51bcdb&0x7fffffff)[_0x11b3c4(0xe7)]();}static async[_0x93ec09(0xb9)](_0x5d9654,_0x4c3007){const _0x312d73=_0x93ec09,_0xd3e0ca={'mJHqd':function(_0x45cdf7,_0x35bc4d){return _0x45cdf7+_0x35bc4d;},'xMgeB':_0x312d73(0x10d),'BqShN':_0x312d73(0xf0),'UamXy':function(_0x2243ba,_0xb8460d,_0x5cd7b6,_0x16d148){return _0x2243ba(_0xb8460d,_0x5cd7b6,_0x16d148);},'OyzWf':'qun.qq.com','dBPcN':function(_0x45393a,_0x4c62b2){return _0x45393a+_0x4c62b2;},'CSGqZ':function(_0x2b1d7a,_0x265af3){return _0x2b1d7a+_0x265af3;},'DnNrJ':function(_0x55c043,_0x1de873){return _0x55c043+_0x1de873;},'esCxW':_0x312d73(0xef),'sBmXK':';\x20skey=','cgwTV':_0x312d73(0xd4),'rosCh':function(_0x2b0de9,_0x13c4b6){return _0x2b0de9===_0x13c4b6;},'FCPUz':function(_0x19b158,_0x477996,_0xfbec7f){return _0x19b158(_0x477996,_0xfbec7f);},'bKVys':function(_0x4ad619,_0x13e471){return _0x4ad619(_0x13e471);},'PxoZI':_0x312d73(0x95),'BCmle':_0x312d73(0xa5),'bkWEN':function(_0x3f9685,_0x2d950a,_0x1a066e){return _0x3f9685(_0x2d950a,_0x1a066e);},'AKEHn':_0x312d73(0x119),'tDjWI':function(_0x1ffeb2,_0x2f6ec7,_0x3f6a9d){return _0x1ffeb2(_0x2f6ec7,_0x3f6a9d);},'SBmXC':function(_0x146efb,_0x20f51b){return _0x146efb===_0x20f51b;},'dzQlu':function(_0x5d9e29,_0x31fbb5){return _0x5d9e29===_0x31fbb5;}},_0x392362=(await NTQQUserApi['getPSkey']([_0xd3e0ca[_0x312d73(0x103)]]))[_0xd3e0ca[_0x312d73(0x103)]],_0x1fd49e=await NTQQUserApi[_0x312d73(0xd3)]();if(!_0x1fd49e||!_0x392362)return undefined;async function _0x5198c2(_0x1c2463,_0x2b352b){const _0x2183eb=_0x312d73;let _0x3c9ad1=_0xd3e0ca['mJHqd'](_0x2183eb(0xf9)+_0x1c2463+_0xd3e0ca[_0x2183eb(0xe2)],_0x2b352b[_0x2183eb(0xe7)]()),_0x4cb573='',_0x2c23a4;try{_0x4cb573=await RequestUtil['HttpGetText'](_0x3c9ad1,_0xd3e0ca['BqShN'],'',{'Cookie':_0x45f95b});const _0x19a11a=_0x4cb573[_0x2183eb(0xec)](/window\.__INITIAL_STATE__=(.*?);/);return _0x19a11a&&(_0x2c23a4=JSON[_0x2183eb(0x112)](_0x19a11a[0x1][_0x2183eb(0xa4)]())),_0x2b352b===0x1?_0x2c23a4?.['talkativeList']:_0x2c23a4?.[_0x2183eb(0x118)];}catch(_0x3c488c){_0xd3e0ca['UamXy'](logDebug,'获取当前群荣耀失败',_0x3c9ad1,_0x3c488c);}return undefined;}let _0x34517c={'group_id':_0x5d9654};const _0x45f95b=_0xd3e0ca[_0x312d73(0xa3)](_0xd3e0ca[_0x312d73(0xa3)](_0xd3e0ca[_0x312d73(0xe4)](_0xd3e0ca['mJHqd'](_0xd3e0ca['CSGqZ'](_0xd3e0ca[_0x312d73(0xb2)](_0xd3e0ca[_0x312d73(0xab)],_0x392362),_0xd3e0ca['sBmXK']),_0x1fd49e),_0x312d73(0xd9)),selfInfo[_0x312d73(0xd8)]),_0xd3e0ca['cgwTV'])+selfInfo[_0x312d73(0xd8)];if(_0xd3e0ca[_0x312d73(0x123)](_0x4c3007,WebHonorType[_0x312d73(0xd0)])||_0xd3e0ca[_0x312d73(0x123)](_0x4c3007,WebHonorType[_0x312d73(0xdd)]))try{let _0xaf3f3f=await _0xd3e0ca[_0x312d73(0x125)](_0x5198c2,_0x5d9654,0x1);if(!_0xaf3f3f)throw new Error(_0x312d73(0xc0));_0x34517c[_0x312d73(0x101)]={'user_id':_0xaf3f3f[0x0]?.[_0x312d73(0xd8)],'avatar':_0xaf3f3f[0x0]?.[_0x312d73(0x127)],'nickname':_0xaf3f3f[0x0]?.[_0x312d73(0x9f)],'day_count':0x0,'description':_0xaf3f3f[0x0]?.[_0x312d73(0xc4)]},_0x34517c['talkative_list']=[];for(const _0x3fe9df of _0xaf3f3f){_0x34517c[_0x312d73(0x11b)][_0x312d73(0xcd)]({'user_id':_0x3fe9df?.[_0x312d73(0xd8)],'avatar':_0x3fe9df?.[_0x312d73(0x127)],'description':_0x3fe9df?.[_0x312d73(0xc4)],'day_count':0x0,'nickname':_0x3fe9df?.[_0x312d73(0x9f)]});}}catch(_0x534260){_0xd3e0ca['bKVys'](logDebug,_0x534260);}if(_0x4c3007===WebHonorType[_0x312d73(0x9b)]||_0x4c3007===WebHonorType[_0x312d73(0xdd)])try{let _0x5d2746=await _0x5198c2(_0x5d9654,0x2);if(!_0x5d2746)throw new Error(_0xd3e0ca[_0x312d73(0xf4)]);_0x34517c[_0x312d73(0xb5)]=[];for(const _0x1e76b8 of _0x5d2746){_0x34517c[_0x312d73(0xb5)][_0x312d73(0xcd)]({'user_id':_0x1e76b8?.[_0x312d73(0xd8)],'nickname':_0x1e76b8?.[_0x312d73(0x9f)],'avatar':_0x1e76b8?.[_0x312d73(0x127)],'description':_0x1e76b8?.[_0x312d73(0xc4)]});}}catch(_0x335790){_0xd3e0ca[_0x312d73(0xcf)](logDebug,_0x335790);}if(_0xd3e0ca[_0x312d73(0x123)](_0x4c3007,WebHonorType[_0x312d73(0x9b)])||_0xd3e0ca['rosCh'](_0x4c3007,WebHonorType[_0x312d73(0xdd)]))try{let _0xc3a6f7=await _0xd3e0ca[_0x312d73(0x125)](_0x5198c2,_0x5d9654,0x3);if(!_0xc3a6f7)throw new Error('获取群聊炽焰失败');_0x34517c[_0x312d73(0x90)]=[];for(const _0x3d4100 of _0xc3a6f7){_0x34517c[_0x312d73(0x90)][_0x312d73(0xcd)]({'user_id':_0x3d4100?.[_0x312d73(0xd8)],'nickname':_0x3d4100?.[_0x312d73(0x9f)],'avatar':_0x3d4100?.[_0x312d73(0x127)],'desc':_0x3d4100?.[_0x312d73(0xf1)]});}}catch(_0x14bd9c){_0xd3e0ca[_0x312d73(0x125)](logDebug,_0xd3e0ca[_0x312d73(0xa6)],_0x14bd9c);}if(_0xd3e0ca['rosCh'](_0x4c3007,WebHonorType[_0x312d73(0xe1)])||_0x4c3007===WebHonorType[_0x312d73(0xdd)])try{let _0x48200c=await _0xd3e0ca[_0x312d73(0xb3)](_0x5198c2,_0x5d9654,0x6);if(!_0x48200c)throw new Error(_0xd3e0ca[_0x312d73(0xd7)]);_0x34517c[_0x312d73(0x11c)]=[];for(const _0x2a4abc of _0x48200c){_0x34517c[_0x312d73(0x11c)]['push']({'user_id':_0x2a4abc?.[_0x312d73(0xd8)],'nickname':_0x2a4abc?.[_0x312d73(0x9f)],'avatar':_0x2a4abc?.['avatar'],'desc':_0x2a4abc?.[_0x312d73(0xf1)]});}}catch(_0x4cbbd5){_0xd3e0ca[_0x312d73(0xe0)](logDebug,'获取快乐源泉失败',_0x4cbbd5);}return(_0xd3e0ca[_0x312d73(0x122)](_0x4c3007,WebHonorType[_0x312d73(0xe1)])||_0xd3e0ca[_0x312d73(0xa1)](_0x4c3007,WebHonorType[_0x312d73(0xdd)]))&&(_0x34517c[_0x312d73(0x10b)]=[]),_0x34517c;}} \ No newline at end of file +const _0x56da78=_0x5816;(function(_0x586287,_0x7be50c){const _0x2e077c=_0x5816,_0x5b979d=_0x586287();while(!![]){try{const _0x248136=-parseInt(_0x2e077c(0x10f))/0x1*(parseInt(_0x2e077c(0x98))/0x2)+parseInt(_0x2e077c(0x112))/0x3+parseInt(_0x2e077c(0xd1))/0x4+-parseInt(_0x2e077c(0x78))/0x5*(parseInt(_0x2e077c(0x9d))/0x6)+-parseInt(_0x2e077c(0xf0))/0x7+parseInt(_0x2e077c(0x9f))/0x8+parseInt(_0x2e077c(0x83))/0x9*(parseInt(_0x2e077c(0x105))/0xa);if(_0x248136===_0x7be50c)break;else _0x5b979d['push'](_0x5b979d['shift']());}catch(_0x9c74fb){_0x5b979d['push'](_0x5b979d['shift']());}}}(_0x36bd,0x73356));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x36bd(){const _0x421b86=['HlCxZ','current_talkative','QjFcY','AkhlP','hvbDw','&page_start=','Uolvj','2164412kKetlY','talkative','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','BlekX','&group_code=','UilbG','ArNwF','xeZQy','GdETT','pUuho','count','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','name','ovoNq',';\x20skey=','dDMJF','HttpGetJson','kssAG','oOonM','jVTpF','pqpLN','genBkn','获取当前群荣耀失败','qun.qq.com','JOYlY','strong_newbie','URezF','split','uHiBY','setGroupNotice','talkativeList','1352708qLzHPO','2|0|5|4|1|3','JtAjV','utNzV','&sort=1&gc=','dHOio','getGroupMembers','TODEG','ceil','qKwDC','KAgeH','jWDJr','PaySR','set','avatar','qMjKg','AgkCR','qid=','p_skey=','YTooY','PcJaP','10OiHpRn','tFnXu','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','jgFsj','https://qun.qq.com/interactive/honorlist?gc=','GroupTime','QFDSY','TUHDW','talkative_list','emotion','68351hLLoYs','strong_newbie_list','WLYLI','193857LHVUgL','push','OgvuK','QalgA','sYdbz','BNOct','2656985eWvjHL','emotion_list','UgYul','xFNtl','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','length','getPSkey','chduf','QZwXz','uin','2478654fGmABq','hWdqw','desc','PERFROMER','LeRvd','XOpaj','&type=','fGWgC','&qid=','获取龙王信息失败','sMUBb','actorList',';\x20uin=o','WoxpE','获取群聊之火失败','TALKACTIVE','vSgup','KwXVT','qrncV','WwLeN','获取快乐源泉失败','10NRCUtq','EqKQE','SHYRk','YCvon','GroupData','6uQXgPS','POST','5257296ZwWwjy','IvkoJ','OwRDy','legend','NVODC','tFDsg','legend_list','getGroupHonorInfo','match','mems','OBIAw','&page_limit=20','EjHmq','qBwFD','getSkey','YfQgc','get','&bkn=','YrSup','toString','GET','EMOTION','VQHoe','parse','now','HttpGetText','UThlo','performer_list','performer','AILvV','&text=','errcode','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=',';\x20p_uin=o','pjGMJ','sqqoz','all','ULfSa','NlpJa','STORONGE_NEWBI','LEGEND','ipFvj','ALL'];_0x36bd=function(){return _0x421b86;};return _0x36bd();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x3a40ea){const _0xa71a15=_0x5816,_0x1102c9={'HdxsO':_0xa71a15(0xf1),'BsCfl':_0xa71a15(0xd2),'tFnXu':'ALL','OgvuK':_0xa71a15(0xb4),'ipFvj':_0xa71a15(0x10e),'SPGNt':_0xa71a15(0xc7),'WLYLI':_0xa71a15(0xa2),'AkhlP':_0xa71a15(0x86),'jWDJr':_0xa71a15(0xbb)},_0x640c6c=_0x1102c9['HdxsO'][_0xa71a15(0xec)]('|');let _0x3bef50=0x0;while(!![]){switch(_0x640c6c[_0x3bef50++]){case'0':_0x3a40ea[_0xa71a15(0x92)]=_0x1102c9['BsCfl'];continue;case'1':_0x3a40ea[_0xa71a15(0xc6)]=_0xa71a15(0xea);continue;case'2':_0x3a40ea[_0x1102c9[_0xa71a15(0x106)]]=_0xa71a15(0xc3);continue;case'3':_0x3a40ea[_0x1102c9[_0xa71a15(0x114)]]=_0x1102c9[_0xa71a15(0xc8)];continue;case'4':_0x3a40ea[_0x1102c9['SPGNt']]=_0x1102c9[_0xa71a15(0x111)];continue;case'5':_0x3a40ea[_0x1102c9[_0xa71a15(0xcd)]]=_0x1102c9[_0xa71a15(0xfb)];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x5816(_0x17c5a8,_0x591df1){const _0x36bd0b=_0x36bd();return _0x5816=function(_0x58160e,_0x1c4382){_0x58160e=_0x58160e-0x76;let _0x7f32da=_0x36bd0b[_0x58160e];return _0x7f32da;},_0x5816(_0x17c5a8,_0x591df1);}export class WebApi{static async['getGroupEssenceMsg'](_0x14248a,_0x2e5938){const _0x3832ae=_0x5816,_0x34553f={'YTooY':_0x3832ae(0xe8),'fGWgC':function(_0x38e427,_0x26f133){return _0x38e427+_0x26f133;},'BlekX':function(_0x3eb942,_0x59b974){return _0x3eb942+_0x59b974;},'dHOio':function(_0x5659b3,_0x261c0e){return _0x5659b3+_0x261c0e;},'kssAG':_0x3832ae(0x102),'sYdbz':_0x3832ae(0xdf),'hvbDw':_0x3832ae(0x8f),'hdbQR':function(_0x520720,_0xbc7382){return _0x520720||_0xbc7382;},'KwXVT':function(_0x153d72,_0x57fe73){return _0x153d72+_0x57fe73;},'ovoNq':function(_0x32edcc,_0x5e945d){return _0x32edcc+_0x5e945d;},'GbsBN':function(_0x26c5b8,_0x1e2c7d){return _0x26c5b8+_0x1e2c7d;},'xQmJl':_0x3832ae(0x7d),'eUsET':_0x3832ae(0xd5),'QFDSY':_0x3832ae(0xaa),'fmGDS':_0x3832ae(0xb3),'MkthO':function(_0x431b12,_0x13c370){return _0x431b12!==_0x13c370;}},_0x519be5=(await NTQQUserApi[_0x3832ae(0x7f)]([_0x34553f[_0x3832ae(0x103)]]))[_0x34553f[_0x3832ae(0x103)]],_0x31224f=await NTQQUserApi[_0x3832ae(0xad)](),_0x5ebe14=_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0xd4)](_0x34553f[_0x3832ae(0xf5)](_0x34553f[_0x3832ae(0x8a)](_0x34553f[_0x3832ae(0xe2)],_0x519be5),_0x34553f[_0x3832ae(0x76)]),_0x31224f),_0x3832ae(0xc0)),selfInfo['uin']),_0x34553f[_0x3832ae(0xce)]),selfInfo[_0x3832ae(0x82)]);if(_0x34553f['hdbQR'](!_0x31224f,!_0x519be5))return undefined;const _0x24587f=WebApi[_0x3832ae(0xe6)](_0x31224f),_0x349763=_0x34553f[_0x3832ae(0xd4)](_0x34553f[_0x3832ae(0x94)](_0x34553f[_0x3832ae(0xde)](_0x34553f['GbsBN'](_0x34553f['xQmJl'],_0x24587f),_0x34553f['eUsET']),_0x14248a),_0x3832ae(0xcf))+_0x2e5938+_0x34553f[_0x3832ae(0x10b)];let _0xc65a39;try{_0xc65a39=await RequestUtil[_0x3832ae(0xe1)](_0x349763,_0x34553f['fmGDS'],'',{'Cookie':_0x5ebe14});}catch{return undefined;}if(_0x34553f['MkthO'](_0xc65a39['retcode'],0x0))return undefined;return _0xc65a39;}static async[_0x56da78(0xf6)](_0x317a26,_0x2e6c43=!![]){const _0x4f270c=_0x56da78,_0x3c894f={'uHiBY':function(_0x2ce575,_0x28a0ac){return _0x2ce575>_0x28a0ac;},'LeRvd':function(_0x11b67e,_0x3b95da){return _0x11b67e*_0x3b95da;},'qMjKg':'qun.qq.com','YCvon':function(_0x1f02ad,_0x5d9cd4){return _0x1f02ad+_0x5d9cd4;},'ArpYj':_0x4f270c(0x102),'RXwRn':_0x4f270c(0xc0),'SHYRk':function(_0x1eadac,_0x4e4828){return _0x1eadac||_0x4e4828;},'JtAjV':function(_0x73da7f,_0x4eceec){return _0x73da7f+_0x4eceec;},'JOYlY':_0x4f270c(0x7c),'tFDsg':_0x4f270c(0xb0),'EqKQE':_0x4f270c(0x9e),'Bnzkx':function(_0x5c1ab0,_0x2ea389){return _0x5c1ab0!==_0x2ea389;},'AgkCR':function(_0x51dcfd,_0x2dbcbd){return _0x51dcfd/_0x2dbcbd;},'XmvwA':function(_0x5328f9,_0x2b6f26){return _0x5328f9+_0x2b6f26;},'jgFsj':function(_0x5948f9,_0x3da11e){return _0x5948f9+_0x3da11e;},'VQHoe':function(_0x2b13ac,_0x4f8f25){return _0x2b13ac+_0x4f8f25;},'UgYul':function(_0x5561d7,_0x416f3d){return _0x5561d7+_0x416f3d;},'chduf':_0x4f270c(0xbf),'UThlo':function(_0x19f97f,_0x485e98){return _0x19f97f*_0x485e98;},'rfhAw':function(_0x36b677,_0xe06d98){return _0x36b677-_0xe06d98;},'XOpaj':'&end=','qBwFD':_0x4f270c(0xf4)};let _0x4d30bd=new Array();try{let _0x1d888b=WebGroupData[_0x4f270c(0x9c)][_0x4f270c(0xaf)](_0x317a26),_0x5cecad=WebGroupData[_0x4f270c(0x10a)][_0x4f270c(0xaf)](_0x317a26);if(!_0x5cecad||_0x3c894f[_0x4f270c(0xed)](Date[_0x4f270c(0xb7)]()-_0x5cecad,_0x3c894f[_0x4f270c(0x87)](0x708,0x3e8))||!_0x2e6c43){const _0x234dc9=(await NTQQUserApi[_0x4f270c(0x7f)]([_0x3c894f[_0x4f270c(0xff)]]))[_0x3c894f[_0x4f270c(0xff)]],_0x3dd5b7=await NTQQUserApi[_0x4f270c(0xad)](),_0x4e206c=_0x3c894f[_0x4f270c(0x9b)](_0x3c894f['ArpYj']+_0x234dc9+_0x4f270c(0xdf)+_0x3dd5b7,_0x3c894f['RXwRn'])+selfInfo['uin'];if(_0x3c894f[_0x4f270c(0x9a)](!_0x3dd5b7,!_0x234dc9))return _0x4d30bd;const _0x5b974a=WebApi[_0x4f270c(0xe6)](_0x3dd5b7),_0x3a85a9=[],_0x515ce=await RequestUtil[_0x4f270c(0xe1)](_0x3c894f[_0x4f270c(0xf2)](_0x3c894f[_0x4f270c(0x9b)](_0x3c894f[_0x4f270c(0xe9)]+_0x317a26,_0x3c894f[_0x4f270c(0xa4)]),_0x5b974a),_0x3c894f[_0x4f270c(0x99)],'',{'Cookie':_0x4e206c});if(!_0x515ce?.[_0x4f270c(0xdb)]||_0x3c894f['Bnzkx'](_0x515ce?.[_0x4f270c(0xbe)],0x0)||!_0x515ce?.[_0x4f270c(0xa8)])return[];else for(const _0x12d1cf in _0x515ce['mems']){_0x4d30bd[_0x4f270c(0x113)](_0x515ce[_0x4f270c(0xa8)][_0x12d1cf]);}const _0x202734=Math[_0x4f270c(0xf8)](_0x3c894f[_0x4f270c(0x100)](_0x515ce[_0x4f270c(0xdb)],0x28));for(let _0x43f1f8=0x2;_0x43f1f8<=_0x202734;_0x43f1f8++){const _0x2e6e97=RequestUtil[_0x4f270c(0xe1)](_0x3c894f[_0x4f270c(0xf2)](_0x3c894f['XmvwA'](_0x3c894f[_0x4f270c(0x108)](_0x3c894f[_0x4f270c(0x108)](_0x3c894f[_0x4f270c(0xb5)](_0x3c894f[_0x4f270c(0x7a)](_0x3c894f[_0x4f270c(0x80)],_0x3c894f[_0x4f270c(0xb9)](_0x3c894f['rfhAw'](_0x43f1f8,0x1),0x28)),_0x3c894f[_0x4f270c(0x88)])+_0x3c894f[_0x4f270c(0x87)](_0x43f1f8,0x28),_0x3c894f[_0x4f270c(0xac)]),_0x317a26),_0x3c894f['tFDsg']),_0x5b974a),_0x4f270c(0x9e),'',{'Cookie':_0x4e206c});_0x3a85a9[_0x4f270c(0x113)](_0x2e6e97);}for(let _0x15a730=0x1;_0x15a730<=_0x202734;_0x15a730++){const _0x59be93=await _0x3a85a9[_0x15a730];if(!_0x59be93?.['count']||_0x59be93?.[_0x4f270c(0xbe)]!==0x0||!_0x59be93?.[_0x4f270c(0xa8)])continue;for(const _0x17125b in _0x59be93[_0x4f270c(0xa8)]){_0x4d30bd[_0x4f270c(0x113)](_0x59be93[_0x4f270c(0xa8)][_0x17125b]);}}WebGroupData[_0x4f270c(0x9c)][_0x4f270c(0xfd)](_0x317a26,_0x4d30bd),WebGroupData[_0x4f270c(0x10a)][_0x4f270c(0xfd)](_0x317a26,Date[_0x4f270c(0xb7)]());}else _0x4d30bd=_0x1d888b;}catch{return _0x4d30bd;}return _0x4d30bd;}static async[_0x56da78(0xee)](_0x549ec4,_0x498cf7=''){const _0x14abfa=_0x56da78,_0x3931ee={'PcJaP':'qun.qq.com','OwRDy':function(_0x5ef406,_0x21e7ee){return _0x5ef406+_0x21e7ee;},'pqpLN':function(_0x5826da,_0xdd961c){return _0x5826da+_0xdd961c;},'GdETT':_0x14abfa(0x102),'IvkoJ':';\x20skey=','PaySR':function(_0x34d47c,_0x454ef4){return _0x34d47c||_0x454ef4;},'QalgA':function(_0x536bb4,_0x4d55cd){return _0x536bb4+_0x4d55cd;},'xFNtl':function(_0x37c235,_0x50b9d3){return _0x37c235+_0x50b9d3;},'KAgeH':function(_0x2fb9aa,_0xae7c3e){return _0x2fb9aa+_0xae7c3e;},'GzIqC':function(_0x559457,_0x1184db){return _0x559457+_0x1184db;},'QWTCy':_0x14abfa(0x101),'NnVFL':_0x14abfa(0xb0),'qwlYc':_0x14abfa(0xbd),'jVTpF':function(_0x23b91f,_0x2b1a7f){return _0x23b91f+_0x2b1a7f;},'bQlyv':_0x14abfa(0xdc),'YrSup':_0x14abfa(0xb3)},_0x1cd390=(await NTQQUserApi[_0x14abfa(0x7f)]([_0x3931ee[_0x14abfa(0x104)]]))[_0x3931ee[_0x14abfa(0x104)]],_0x3d9671=await NTQQUserApi[_0x14abfa(0xad)](),_0x31e594=_0x3931ee[_0x14abfa(0xa1)](_0x3931ee[_0x14abfa(0xa1)](_0x3931ee[_0x14abfa(0xa1)](_0x3931ee[_0x14abfa(0xe5)](_0x3931ee[_0x14abfa(0xd9)]+_0x1cd390,_0x3931ee[_0x14abfa(0xa0)]),_0x3d9671),';\x20p_uin=o'),selfInfo[_0x14abfa(0x82)]);let _0x189fa1=undefined;if(_0x3931ee[_0x14abfa(0xfc)](!_0x3d9671,!_0x1cd390))return undefined;const _0x1000e0=WebApi[_0x14abfa(0xe6)](_0x3d9671),_0x39b0b3=_0x3931ee[_0x14abfa(0x115)](_0x3931ee[_0x14abfa(0x7b)](_0x3931ee[_0x14abfa(0xfa)](_0x3931ee['xFNtl'](_0x3931ee[_0x14abfa(0x115)](_0x3931ee['GzIqC'](_0x3931ee['QWTCy'],_0x549ec4),_0x3931ee['NnVFL']),_0x1000e0),_0x3931ee['qwlYc']),_0x498cf7),'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}'),_0x3b89f7=_0x3931ee[_0x14abfa(0xe4)](_0x3931ee['bQlyv'],_0x1000e0);try{return _0x189fa1=await RequestUtil[_0x14abfa(0xe1)](_0x3b89f7,_0x3931ee[_0x14abfa(0xb1)],'',{'Cookie':_0x31e594}),_0x189fa1;}catch(_0x21bb22){return undefined;}return undefined;}static async['getGrouptNotice'](_0xfe4ca8){const _0xc8ca93=_0x56da78,_0x7ae35e={'WwLeN':_0xc8ca93(0xe8),'qrncV':function(_0x32d8ae,_0x3aae40){return _0x32d8ae+_0x3aae40;},'oOonM':_0xc8ca93(0x102),'TUHDW':_0xc8ca93(0xdf),'sqqoz':_0xc8ca93(0xc0),'NVODC':function(_0x481a7e,_0xf204cc){return _0x481a7e+_0xf204cc;},'OBIAw':_0xc8ca93(0x8b),'AhFLg':_0xc8ca93(0x107),'vSgup':_0xc8ca93(0xb3),'pUuho':function(_0x361adc,_0x5e4f3b){return _0x361adc!==_0x5e4f3b;}},_0xb20873=(await NTQQUserApi[_0xc8ca93(0x7f)]([_0x7ae35e[_0xc8ca93(0x96)]]))[_0x7ae35e['WwLeN']],_0x5179c4=await NTQQUserApi[_0xc8ca93(0xad)](),_0x220767=_0x7ae35e['qrncV'](_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0xe3)]+_0xb20873,_0x7ae35e[_0xc8ca93(0x10c)]),_0x5179c4),_0x7ae35e[_0xc8ca93(0xc2)]),selfInfo[_0xc8ca93(0x82)]);let _0x518dfa=undefined;if(!_0x5179c4||!_0xb20873)return undefined;const _0x2ad4a4=WebApi[_0xc8ca93(0xe6)](_0x5179c4),_0x56c693=_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0x95)](_0x7ae35e[_0xc8ca93(0xa3)](_0xc8ca93(0xd3),_0x2ad4a4)+_0x7ae35e[_0xc8ca93(0xa9)],_0xfe4ca8),_0x7ae35e['AhFLg']);try{_0x518dfa=await RequestUtil[_0xc8ca93(0xe1)](_0x56c693,_0x7ae35e[_0xc8ca93(0x93)],'',{'Cookie':_0x220767});if(_0x7ae35e[_0xc8ca93(0xda)](_0x518dfa?.['ec'],0x0))return undefined;return _0x518dfa;}catch(_0x328569){return undefined;}return undefined;}static['genBkn'](_0x30bfd9){const _0x178e8e=_0x56da78,_0x5a8b0c={'sMUBb':function(_0x5ba46e,_0x5f4aa2){return _0x5ba46e<_0x5f4aa2;},'FzoVV':function(_0x4355b0,_0x29fc86){return _0x4355b0+_0x29fc86;},'HlCxZ':function(_0x1039e8,_0x18d5e0){return _0x1039e8<<_0x18d5e0;},'NaPVy':function(_0x55ec12,_0x533306){return _0x55ec12&_0x533306;}};_0x30bfd9=_0x30bfd9||'';let _0x35e24c=0x1505;for(let _0x4490bb=0x0;_0x5a8b0c[_0x178e8e(0x8d)](_0x4490bb,_0x30bfd9[_0x178e8e(0x7e)]);_0x4490bb++){const _0x3875e4=_0x30bfd9['charCodeAt'](_0x4490bb);_0x35e24c=_0x5a8b0c['FzoVV'](_0x35e24c+_0x5a8b0c[_0x178e8e(0xca)](_0x35e24c,0x5),_0x3875e4);}return _0x5a8b0c['NaPVy'](_0x35e24c,0x7fffffff)['toString']();}static async[_0x56da78(0xa6)](_0x141b50,_0x46773d){const _0x360cc6=_0x56da78,_0x9ca9b={'ArNwF':_0x360cc6(0x109),'URezF':_0x360cc6(0xb3),'QZwXz':function(_0x5768cc,_0x2da788){return _0x5768cc===_0x2da788;},'NlpJa':_0x360cc6(0xe7),'BNOct':_0x360cc6(0xe8),'qKwDC':function(_0x4e902b,_0x164c82){return _0x4e902b+_0x164c82;},'yOPGC':function(_0x64efcb,_0x42a200){return _0x64efcb+_0x42a200;},'dDMJF':function(_0x661dd4,_0x2b06e9){return _0x661dd4+_0x2b06e9;},'hWdqw':function(_0x5c8b33,_0x46c0d7){return _0x5c8b33+_0x46c0d7;},'kVOmK':_0x360cc6(0x102),'lOOdJ':_0x360cc6(0xdf),'UilbG':';\x20p_uin=o','TODEG':_0x360cc6(0x8f),'LpmQB':function(_0x4d0fc6,_0x470030){return _0x4d0fc6===_0x470030;},'ULfSa':function(_0x7cf21a,_0x5ed559){return _0x7cf21a===_0x5ed559;},'AILvV':function(_0x105903,_0x16f72d,_0x4e2c55){return _0x105903(_0x16f72d,_0x4e2c55);},'QjFcY':_0x360cc6(0x8c),'xeZQy':_0x360cc6(0x91),'WoxpE':function(_0x22adac,_0xc0c81b){return _0x22adac(_0xc0c81b);},'EjHmq':function(_0x2ba449,_0x2f52e0){return _0x2ba449===_0x2f52e0;},'utNzV':function(_0x340c82,_0x2502be){return _0x340c82===_0x2502be;},'oQDMy':'获取群聊炽焰失败','YfQgc':function(_0x5c276c,_0x5522f4){return _0x5c276c===_0x5522f4;},'Uolvj':function(_0x59dfc1,_0x315066){return _0x59dfc1===_0x315066;},'pjGMJ':_0x360cc6(0x97)},_0x2b7040=(await NTQQUserApi['getPSkey']([_0x9ca9b[_0x360cc6(0x77)]]))[_0x9ca9b[_0x360cc6(0x77)]],_0xbc0ba8=await NTQQUserApi[_0x360cc6(0xad)]();if(!_0xbc0ba8||!_0x2b7040)return undefined;async function _0x23dfc9(_0x3737a0,_0x516a72){const _0x41a6cd=_0x360cc6;let _0x6ad7d1=_0x9ca9b[_0x41a6cd(0xd7)]+_0x3737a0+_0x41a6cd(0x89)+_0x516a72[_0x41a6cd(0xb2)](),_0x13d351='',_0x4d5ffb;try{_0x13d351=await RequestUtil[_0x41a6cd(0xb8)](_0x6ad7d1,_0x9ca9b[_0x41a6cd(0xeb)],'',{'Cookie':_0x3576eb});const _0x462660=_0x13d351[_0x41a6cd(0xa7)](/window\.__INITIAL_STATE__=(.*?);/);return _0x462660&&(_0x4d5ffb=JSON[_0x41a6cd(0xb6)](_0x462660[0x1]['trim']())),_0x9ca9b[_0x41a6cd(0x81)](_0x516a72,0x1)?_0x4d5ffb?.[_0x41a6cd(0xef)]:_0x4d5ffb?.[_0x41a6cd(0x8e)];}catch(_0x2becd9){logDebug(_0x9ca9b[_0x41a6cd(0xc5)],_0x6ad7d1,_0x2becd9);}return undefined;}let _0x13b9e0={'group_id':_0x141b50};const _0x3576eb=_0x9ca9b[_0x360cc6(0xf9)](_0x9ca9b['yOPGC'](_0x9ca9b[_0x360cc6(0xe0)](_0x9ca9b['qKwDC'](_0x9ca9b[_0x360cc6(0x84)](_0x9ca9b['kVOmK']+_0x2b7040,_0x9ca9b['lOOdJ'])+_0xbc0ba8,_0x9ca9b[_0x360cc6(0xd6)]),selfInfo['uin']),_0x9ca9b[_0x360cc6(0xf7)]),selfInfo[_0x360cc6(0x82)]);if(_0x9ca9b['LpmQB'](_0x46773d,WebHonorType[_0x360cc6(0x92)])||_0x9ca9b[_0x360cc6(0xc4)](_0x46773d,WebHonorType[_0x360cc6(0xc9)]))try{let _0x183636=await _0x9ca9b[_0x360cc6(0xbc)](_0x23dfc9,_0x141b50,0x1);if(!_0x183636)throw new Error(_0x9ca9b[_0x360cc6(0xcc)]);_0x13b9e0[_0x360cc6(0xcb)]={'user_id':_0x183636[0x0]?.['uin'],'avatar':_0x183636[0x0]?.[_0x360cc6(0xfe)],'nickname':_0x183636[0x0]?.['name'],'day_count':0x0,'description':_0x183636[0x0]?.['desc']},_0x13b9e0[_0x360cc6(0x10d)]=[];for(const _0x3ac437 of _0x183636){_0x13b9e0[_0x360cc6(0x10d)][_0x360cc6(0x113)]({'user_id':_0x3ac437?.[_0x360cc6(0x82)],'avatar':_0x3ac437?.[_0x360cc6(0xfe)],'description':_0x3ac437?.[_0x360cc6(0x85)],'day_count':0x0,'nickname':_0x3ac437?.[_0x360cc6(0xdd)]});}}catch(_0x39e64d){logDebug(_0x39e64d);}if(_0x9ca9b[_0x360cc6(0xc4)](_0x46773d,WebHonorType[_0x360cc6(0x86)])||_0x46773d===WebHonorType[_0x360cc6(0xc9)])try{let _0x147c9e=await _0x23dfc9(_0x141b50,0x2);if(!_0x147c9e)throw new Error(_0x9ca9b[_0x360cc6(0xd8)]);_0x13b9e0['performer_list']=[];for(const _0x1a989e of _0x147c9e){_0x13b9e0[_0x360cc6(0xba)]['push']({'user_id':_0x1a989e?.[_0x360cc6(0x82)],'nickname':_0x1a989e?.[_0x360cc6(0xdd)],'avatar':_0x1a989e?.[_0x360cc6(0xfe)],'description':_0x1a989e?.[_0x360cc6(0x85)]});}}catch(_0x1ecf11){_0x9ca9b[_0x360cc6(0x90)](logDebug,_0x1ecf11);}if(_0x9ca9b[_0x360cc6(0xab)](_0x46773d,WebHonorType[_0x360cc6(0x86)])||_0x9ca9b[_0x360cc6(0xf3)](_0x46773d,WebHonorType[_0x360cc6(0xc9)]))try{let _0x2756bd=await _0x9ca9b[_0x360cc6(0xbc)](_0x23dfc9,_0x141b50,0x3);if(!_0x2756bd)throw new Error('获取群聊炽焰失败');_0x13b9e0['legend_list']=[];for(const _0x2249ff of _0x2756bd){_0x13b9e0[_0x360cc6(0xa5)]['push']({'user_id':_0x2249ff?.['uin'],'nickname':_0x2249ff?.[_0x360cc6(0xdd)],'avatar':_0x2249ff?.[_0x360cc6(0xfe)],'desc':_0x2249ff?.['description']});}}catch(_0x13e8ee){_0x9ca9b['AILvV'](logDebug,_0x9ca9b['oQDMy'],_0x13e8ee);}if(_0x9ca9b[_0x360cc6(0xae)](_0x46773d,WebHonorType[_0x360cc6(0xb4)])||_0x9ca9b[_0x360cc6(0xd0)](_0x46773d,WebHonorType[_0x360cc6(0xc9)]))try{let _0x21d48e=await _0x9ca9b[_0x360cc6(0xbc)](_0x23dfc9,_0x141b50,0x6);if(!_0x21d48e)throw new Error(_0x9ca9b[_0x360cc6(0xc1)]);_0x13b9e0['emotion_list']=[];for(const _0x23dbf9 of _0x21d48e){_0x13b9e0[_0x360cc6(0x79)][_0x360cc6(0x113)]({'user_id':_0x23dbf9?.[_0x360cc6(0x82)],'nickname':_0x23dbf9?.['name'],'avatar':_0x23dbf9?.[_0x360cc6(0xfe)],'desc':_0x23dbf9?.['description']});}}catch(_0x16101b){_0x9ca9b[_0x360cc6(0xbc)](logDebug,_0x9ca9b[_0x360cc6(0xc1)],_0x16101b);}return(_0x46773d===WebHonorType[_0x360cc6(0xb4)]||_0x9ca9b[_0x360cc6(0xd0)](_0x46773d,WebHonorType[_0x360cc6(0xc9)]))&&(_0x13b9e0[_0x360cc6(0x110)]=[]),_0x13b9e0;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 5b75f34e..59465e6b 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x20a873=_0x14a0;(function(_0x1393ef,_0x904da6){const _0x5e1672=_0x14a0,_0x102445=_0x1393ef();while(!![]){try{const _0x313d17=parseInt(_0x5e1672(0xea))/0x1*(-parseInt(_0x5e1672(0x138))/0x2)+parseInt(_0x5e1672(0xf8))/0x3*(-parseInt(_0x5e1672(0x13f))/0x4)+parseInt(_0x5e1672(0x142))/0x5*(-parseInt(_0x5e1672(0x13b))/0x6)+parseInt(_0x5e1672(0x123))/0x7+parseInt(_0x5e1672(0xf7))/0x8+parseInt(_0x5e1672(0x96))/0x9*(parseInt(_0x5e1672(0x12b))/0xa)+parseInt(_0x5e1672(0x107))/0xb;if(_0x313d17===_0x904da6)break;else _0x102445['push'](_0x102445['shift']());}catch(_0x4d502b){_0x102445['push'](_0x102445['shift']());}}}(_0x39df,0x7cf37));import _0x42f59a from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x14a0(_0x3e8e19,_0x39b24a){const _0x39df1b=_0x39df();return _0x14a0=function(_0x14a068,_0x3ef5f8){_0x14a068=_0x14a068-0x93;let _0x3479e6=_0x39df1b[_0x14a068];return _0x3479e6;},_0x14a0(_0x3e8e19,_0x39b24a);}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';function _0x39df(){const _0x33d288=['YUlAX','NodeIKernelMsgListener','GnXQd','onLoginSuccessFuncList','now','LocalLoginInfoList','onLoginSuccess','Rfopt','NodeIKernelLoginListener','lAVOk','yxMUQ','bMgrt','groupCode','NodeIQQNTWrapperEngine','isQuickLogin','onMemberInfoChange','ISrcv','init','cMgQD','WcScx','YXplT','update','onSessionInitComplete','get','getBuddyService','IBzTr','V1_WIN_NQ_','GroupListener','from','isDelete','MsgListener','qrcodeUrl','curVersion','ubOvV','tDzvQ','快速登录不可用','result','uin','HBODI','onQRCodeLoginSucceed','bmqno','initConfig','loginService','msgId','onRecvSysMsg','consoleLog','addKernelLoginListener','onGroupListUpdate','addKernelGroupListener','onMsgInfoListUpdate','_GW_B','NodeIDispatcherAdapter','find','passwordLogin','getProfileService','dataPathGlobal','undefined','GhQVp','pSmwy','infos','session','pngBase64QrcodeData','没有可快速登录的QQ号','XTbkP','uid','1yvKLIZ','buddyList','rldfy','has','proxyHandler','Aevna','tipsDesc','NodeIKernelLoginService','当前账号(','length','-v2.db','PnIjN','packet_received','2891224krRyuz','6717lCPAHt','onBuddyListChange','登录失败','AIGBF','JdTcv','quickLoginWithUin','账号设备(','constructor','dataPath','createMemberListScene','split','base64','consoleLogLevel','loginListener','NodeIKernelBuddyListener','6941143bPZgja','./NapCat/data','set','then','getMsgByLongId','xJgBt','onQRCodeGetPicture','util','groupMemberList_MainWindow','getBuddyList','本账号数据/缓存目录:','kcpEX','NPIEU','MEsYF','oogXD','floor','XOXVC','hex','fileLogLevel','onMemberListChange','OqXec','resolve','BjsDN','[KickedOffLine]\x20[','pXMQY','addKernelMsgListener','map','data:image/png;base64,','5105163XErMKZ','addListener','fXcAW','onUserLoggedIn','MtNmV','initSession','md5','packet_sent','820etQzom','forEach','getNextMemberList','loginErrorInfo','./nt_qq/global','ProfileListener','engine','JqtNd','WutXL','zyGUE','aUONM','errMsg','message_sent','74926BcWHLz','last_message_time','ovHmT','228kFPyqM','nenpy','recallTime','push','916CHZZxe','DBABT','getGroupService','93615LlFiiO','assign','devUid','qrLogin','fileLog','mgbDS','140022013','NodeIKernelGroupListener','getQRCodePicture','LLbuQ','ywNcU','sceneId','MyZsR','5679TogWav','YeHdS','startNT','\x20has\x20no\x20method\x20','启动失败:\x20','onProfileDetailInfoChanged','oKLNq','getMsgService','message_received','name','catch','fjDGu','addMsg','BuddyListener','delete','quickLogin','initDataListener','onRecvMsg','getLoginList'];_0x39df=function(){return _0x33d288;};return _0x39df();}import _0x3dcf9c from'node:path';import _0x18fe14 from'node:os';import _0x245f65 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 _0x15887e from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x20a873(0xe5)];['util'];[_0x20a873(0x131)];[_0x20a873(0x105)];['loginService'];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x58a2ae=_0x20a873,CcTngf={'ziScU':function(callee,param1){return callee(param1);},'cMgQD':function(x,y){return x===y;},'rTUjy':_0x58a2ae(0xe1)};if(CcTngf[_0x58a2ae(0xbb)](typeof target[prop],CcTngf['rTUjy']))return(...args)=>{const _0x179769=_0x58a2ae;CcTngf['ziScU'](logDebug,target['constructor'][_0x179769(0x9f)]+_0x179769(0x99)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x2b51e6=_0x20a873,_0x20c4d1={'XTbkP':function(_0x53af47,_0x5cd70a){return _0x53af47+_0x5cd70a;},'GhQVp':_0x2b51e6(0xf2),'kcpEX':function(_0x2e2b6a,_0xcf5715,_0x512598){return _0x2e2b6a(_0xcf5715,_0x512598);},'WkBHn':function(_0x358d1f,_0x35feae,_0x4198c5){return _0x358d1f(_0x35feae,_0x4198c5);},'bmqno':function(_0x35f326,_0x38872e){return _0x35f326(_0x38872e);},'yxMUQ':function(_0x142153,_0x3bf7bf,_0x5c837f){return _0x142153(_0x3bf7bf,_0x5c837f);},'jOFQP':_0x2b51e6(0xfa),'mgbDS':function(_0x24d221,_0x4ab729){return _0x24d221==_0x4ab729;},'lAVOk':function(_0x140a68,_0x4832c6,_0x3fd703){return _0x140a68(_0x4832c6,_0x3fd703);}};this[_0x2b51e6(0x131)]=new _0x42f59a[(_0x2b51e6(0xb6))](),this[_0x2b51e6(0x10e)]=new _0x42f59a['NodeQQNTWrapperUtil'](),this[_0x2b51e6(0xd3)]=new _0x42f59a[(_0x2b51e6(0xf1))](),this[_0x2b51e6(0xe5)]=new _0x42f59a['NodeIQQNTWrapperSession'](),this['loginListener']=new LoginListener(),this[_0x2b51e6(0x105)][_0x2b51e6(0x126)]=_0x23bcdd=>{const _0x2f9821=_0x2b51e6;logError(_0x20c4d1[_0x2f9821(0xe8)](_0x20c4d1[_0x2f9821(0xe2)]+_0x23bcdd,')已登录,无法重复登录'));},this[_0x2b51e6(0x105)][_0x2b51e6(0xd0)]=_0x46b5a9=>{const _0x155834=_0x2b51e6,_0x45e8b7={'pJlkr':function(_0x466136,_0x2f83b2,_0x48e8b4){return _0x20c4d1['WkBHn'](_0x466136,_0x2f83b2,_0x48e8b4);},'XOXVC':'数据库初始化失败','fXcAW':function(_0x10d893,_0x36eddd,_0x36aad5){const _0x1546e6=_0x14a0;return _0x20c4d1[_0x1546e6(0x112)](_0x10d893,_0x36eddd,_0x36aad5);},'DBABT':function(_0x2bc315,_0x4c5634){return _0x2bc315(_0x4c5634);},'aXXpq':function(_0x1c5072,_0x2bddc8){const _0x443439=_0x14a0;return _0x20c4d1[_0x443439(0xd1)](_0x1c5072,_0x2bddc8);},'JdTcv':function(_0x2209cc,_0x31ec2c,_0x4c2edd){const _0x51ee2c=_0x14a0;return _0x20c4d1[_0x51ee2c(0xb3)](_0x2209cc,_0x31ec2c,_0x4c2edd);},'Rfopt':_0x155834(0x111)};this[_0x155834(0x128)](_0x46b5a9[_0x155834(0xce)],_0x46b5a9[_0x155834(0xe9)])[_0x155834(0x10a)](_0x108086=>{const _0x17d4d4=_0x155834,_0x2e30a4={'PnIjN':function(_0x38cead,_0x3e1b14,_0x51b945){return _0x38cead(_0x3e1b14,_0x51b945);},'FAOaZ':_0x45e8b7[_0x17d4d4(0x117)]};selfInfo['uin']=_0x46b5a9[_0x17d4d4(0xce)],selfInfo[_0x17d4d4(0xe9)]=_0x46b5a9[_0x17d4d4(0xe9)],napCatConfig['read'](),_0x45e8b7[_0x17d4d4(0x125)](setLogLevel,napCatConfig[_0x17d4d4(0x119)],napCatConfig[_0x17d4d4(0x104)]),_0x45e8b7[_0x17d4d4(0x140)](enableFileLog,napCatConfig[_0x17d4d4(0x146)]),_0x45e8b7[_0x17d4d4(0x140)](enableConsoleLog,napCatConfig[_0x17d4d4(0xd6)]),_0x45e8b7['aXXpq'](setLogSelfInfo,selfInfo);const _0x53e12e=_0x3dcf9c[_0x17d4d4(0x11c)](this['dataPath'],_0x17d4d4(0x108));_0x245f65['mkdirSync'](_0x53e12e,{'recursive':!![]}),_0x45e8b7[_0x17d4d4(0xfc)](logDebug,_0x45e8b7[_0x17d4d4(0xb0)],_0x53e12e),dbUtil['init'](_0x3dcf9c[_0x17d4d4(0x11c)](_0x53e12e,'./'+_0x46b5a9[_0x17d4d4(0xce)]+_0x17d4d4(0xf4)))[_0x17d4d4(0x10a)](()=>{const _0x16c84c=_0x17d4d4,_0x148e67={'oogXD':function(_0x1e6b8f,_0x9ec8de,_0x228f6d){return _0x45e8b7['pJlkr'](_0x1e6b8f,_0x9ec8de,_0x228f6d);}};this[_0x16c84c(0xa6)](),this[_0x16c84c(0xac)][_0x16c84c(0x121)](_0x1c332e=>{const _0x46beee=_0x16c84c;new Promise((_0x5a0413,_0xf30d0c)=>{const _0x4c0ed2=_0x14a0,_0x25802f=_0x148e67[_0x4c0ed2(0x115)](_0x1c332e,_0x46b5a9['uin'],_0x46b5a9[_0x4c0ed2(0xe9)]);_0x25802f instanceof Promise&&_0x25802f['then'](_0x5a0413)[_0x4c0ed2(0xa0)](_0xf30d0c);})[_0x46beee(0x10a)]();});})[_0x17d4d4(0xa0)](_0x2a613c=>{const _0x161219=_0x17d4d4;_0x2e30a4[_0x161219(0xf5)](logError,_0x2e30a4['FAOaZ'],_0x2a613c);});})[_0x155834(0xa0)](_0x545376=>{const _0xddd9e8=_0x155834;_0x20c4d1[_0xddd9e8(0x112)](logError,'initSession\x20failed',_0x545376);throw new Error(_0xddd9e8(0x9a)+JSON['stringify'](_0x545376));});},this[_0x2b51e6(0x105)]['onQRCodeSessionFailed']=(_0x5ebbd6,_0x546db5,_0x1b33d9)=>{const _0x41f8b0=_0x2b51e6;_0x20c4d1[_0x41f8b0(0x112)](logError,_0x20c4d1['jOFQP'],_0x1b33d9),_0x20c4d1[_0x41f8b0(0x147)](_0x5ebbd6,0x1)&&_0x546db5==0x3&&this[_0x41f8b0(0xd3)][_0x41f8b0(0x14a)]();},this[_0x2b51e6(0x105)]['onLoginFailed']=_0x465c20=>{const _0x521bd8=_0x2b51e6;_0x20c4d1[_0x521bd8(0xb2)](logError,_0x20c4d1['jOFQP'],_0x465c20);},this[_0x2b51e6(0x105)]=new Proxy(this[_0x2b51e6(0x105)],this[_0x2b51e6(0xee)]),this[_0x2b51e6(0xd3)][_0x2b51e6(0xd7)](new _0x42f59a[(_0x2b51e6(0xb1))](this['loginListener'])),this[_0x2b51e6(0xd2)]();}get[_0x20a873(0x100)](){const _0x3aca29=_0x20a873;let _0x37c48f=this['util']['getNTUserDataInfoConfig']();return!_0x37c48f&&(_0x37c48f=_0x3dcf9c[_0x3aca29(0x11c)](_0x18fe14['homedir'](),'./.config/QQ'),_0x245f65['mkdirSync'](_0x37c48f,{'recursive':!![]})),_0x37c48f;}get[_0x20a873(0xe0)](){const _0x566e7a=_0x20a873;return _0x3dcf9c[_0x566e7a(0x11c)](this[_0x566e7a(0x100)],_0x566e7a(0x12f));}[_0x20a873(0xd2)](){const _0x43b9d5=_0x20a873,_0xaa7456={'pSmwy':'Windows\x2010\x20Pro'};this[_0x43b9d5(0x131)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0xaa7456[_0x43b9d5(0xe3)],'use_xlog':!![],'qua':_0x43b9d5(0xc3)+qqVersionConfigInfo[_0x43b9d5(0xc9)]['replace']('-','_')+_0x43b9d5(0xdb),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x42f59a['NodeIGlobalAdapter'](new GlobalAdapter())),this[_0x43b9d5(0xd3)][_0x43b9d5(0xd2)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x43b9d5(0xe0)],'clientVer':qqVersionConfigInfo[_0x43b9d5(0xc9)],'hostName':hostname});}[_0x20a873(0x128)](_0x478540,_0x40229d){const _0x26628f={'Ghbjf':function(_0x25bf86,_0x2fc5b8){return _0x25bf86===_0x2fc5b8;},'WutXL':function(_0x3079fb,_0x168755){return _0x3079fb(_0x168755);},'oKLNq':function(_0x37cc11,_0x9cdd3,_0x4ff166,_0x3123db){return _0x37cc11(_0x9cdd3,_0x4ff166,_0x3123db);},'ywNcU':function(_0x4019c3,_0x4a9132){return _0x4019c3+_0x4a9132;}};return new Promise((_0x179465,_0x5ce739)=>{const _0x421f80=_0x14a0,_0x3ba27a=_0x26628f[_0x421f80(0x9c)](genSessionConfig,_0x478540,_0x40229d,this['dataPath']),_0x4e6a51=new SessionListener();_0x4e6a51[_0x421f80(0xbf)]=_0x42c009=>{const _0x52039b=_0x421f80;if(_0x26628f['Ghbjf'](_0x42c009,0x0))return _0x26628f[_0x52039b(0x133)](_0x179465,0x0);_0x5ce739(_0x42c009);},this[_0x421f80(0xe5)][_0x421f80(0xba)](_0x3ba27a,new _0x42f59a['NodeIDependsAdapter'](new DependsAdapter()),new _0x42f59a[(_0x421f80(0xdc))](new DispatcherAdapter()),new _0x42f59a['NodeIKernelSessionListener'](_0x4e6a51));try{this[_0x421f80(0xe5)][_0x421f80(0x98)](0x0);}catch(_0x4bb30b){try{this[_0x421f80(0xe5)][_0x421f80(0x98)]();}catch(_0x39ec11){_0x5ce739(_0x26628f[_0x421f80(0x93)]('init\x20failed\x20',_0x39ec11));}}});}[_0x20a873(0xa6)](){const _0x560e2c=_0x20a873,_0x5a0c0e={'MEsYF':function(_0x239e87,_0xcb0e5b){return _0x239e87===_0xcb0e5b;},'WcScx':function(_0x623573,_0x2e64c0){return _0x623573+_0x2e64c0;},'BjsDN':_0x560e2c(0xfe),'HBODI':')\x20在线状态变更','ISrcv':function(_0x82088a,_0x119789){return _0x82088a(_0x119789);},'OqXec':function(_0x49b241,_0x284697){return _0x49b241+_0x284697;},'fjDGu':_0x560e2c(0x11e),'nenpy':function(_0x228185,_0x17daba){return _0x228185/_0x17daba;},'LLbuQ':_0x560e2c(0x10f),'aUONM':function(_0x1e3383,_0xd3497b){return _0x1e3383===_0xd3497b;},'YUlAX':function(_0x17163d,_0x4d0207,_0x25dd3c){return _0x17163d(_0x4d0207,_0x25dd3c);}},_0x114f2e=new MsgListener();_0x114f2e['onLineDev']=_0x55aa66=>{const _0x5adaaf=_0x560e2c,_0x25b9df={'ubOvV':function(_0x49b89d,_0x3dfa61){const _0x92a7e0=_0x14a0;return _0x5a0c0e[_0x92a7e0(0x114)](_0x49b89d,_0x3dfa61);},'JqtNd':function(_0x263f65,_0x47af6b){const _0x4a55ff=_0x14a0;return _0x5a0c0e[_0x4a55ff(0xbc)](_0x263f65,_0x47af6b);},'MyZsR':_0x5a0c0e[_0x5adaaf(0x11d)],'GnXQd':_0x5a0c0e[_0x5adaaf(0xcf)]};_0x55aa66[_0x5adaaf(0x121)](_0x224483=>{const _0x131211=_0x5adaaf;_0x25b9df[_0x131211(0xca)](_0x224483['clientType'],0x2)&&log(_0x25b9df[_0x131211(0x132)](_0x25b9df[_0x131211(0x132)](_0x25b9df[_0x131211(0x95)],_0x224483[_0x131211(0x144)]),_0x25b9df[_0x131211(0xab)]));});},_0x114f2e['onKickedOffLine']=_0x58deac=>{const _0x1d9779=_0x560e2c;_0x5a0c0e[_0x1d9779(0xb9)](log,_0x5a0c0e[_0x1d9779(0x11b)](_0x5a0c0e['OqXec'](_0x5a0c0e[_0x1d9779(0xbc)](_0x5a0c0e[_0x1d9779(0xa1)],_0x58deac['tipsTitle']),']\x20'),_0x58deac[_0x1d9779(0xf0)]));},_0x114f2e[_0x560e2c(0xda)]=_0x3f9d98=>{const _0x45ca3d=_0x560e2c,_0x3e4d98={'dpDDy':function(_0x3fe6c0,_0x16ca27){return _0x3fe6c0===_0x16ca27;}};stat['packet_received']+=0x1,_0x3f9d98[_0x45ca3d(0x121)](_0x389c89=>{const _0x51ca27=_0x45ca3d;_0x3e4d98['dpDDy'](_0x389c89[_0x51ca27(0x13d)],'0')?dbUtil[_0x51ca27(0xa2)](_0x389c89)[_0x51ca27(0x10a)]()['catch']():dbUtil[_0x51ca27(0x10b)](_0x389c89[_0x51ca27(0xd4)])[_0x51ca27(0x10a)](_0x55133f=>{const _0x499ce2=_0x51ca27;_0x55133f&&(_0x55133f[_0x499ce2(0x13d)]=_0x389c89[_0x499ce2(0x13d)],dbUtil['updateMsg'](_0x55133f)[_0x499ce2(0x10a)]());});});},_0x114f2e['onAddSendMsg']=_0x368241=>{const _0x4950bf=_0x560e2c;stat[_0x4950bf(0x12a)]+=0x1,stat[_0x4950bf(0x137)]+=0x1,stat[_0x4950bf(0x139)]=Math[_0x4950bf(0x116)](_0x5a0c0e[_0x4950bf(0x13c)](Date['now'](),0x3e8));},_0x114f2e[_0x560e2c(0xa7)]=_0x11da92=>{const _0x52e2ec=_0x560e2c;stat['packet_received']+=0x1,stat[_0x52e2ec(0x9e)]+=_0x11da92[_0x52e2ec(0xf3)],stat[_0x52e2ec(0x139)]=Math[_0x52e2ec(0x116)](_0x5a0c0e['nenpy'](Date[_0x52e2ec(0xad)](),0x3e8));},_0x114f2e[_0x560e2c(0xd5)]=(..._0x345b6d)=>{const _0x39d5b6=_0x560e2c;stat[_0x39d5b6(0xf6)]+=0x1;},this[_0x560e2c(0x124)](_0x114f2e);const _0x2a6127=new BuddyListener();_0x2a6127[_0x560e2c(0xf9)]=_0x21b4de=>{const _0x61df3=_0x560e2c;rawFriends['length']=0x0,rawFriends[_0x61df3(0x13e)](..._0x21b4de);for(const _0x2c312c of _0x21b4de){for(const _0x149b1b of _0x2c312c[_0x61df3(0xeb)]){const _0x41d0d6=friends[_0x61df3(0xc0)](_0x149b1b[_0x61df3(0xe9)]);uid2UinMap[_0x149b1b['uid']]=_0x149b1b[_0x61df3(0xce)],_0x41d0d6?Object[_0x61df3(0x143)](_0x41d0d6,_0x149b1b):friends[_0x61df3(0x109)](_0x149b1b[_0x61df3(0xe9)],_0x149b1b);}}},this[_0x560e2c(0x124)](_0x2a6127),this[_0x560e2c(0xe5)][_0x560e2c(0xc1)]()[_0x560e2c(0x110)](!![])[_0x560e2c(0x10a)](_0x3a6dcd=>{});const _0xfc7390=new ProfileListener();_0xfc7390[_0x560e2c(0x9b)]=_0x3b6543=>{const _0x396785=_0x560e2c;_0x5a0c0e[_0x396785(0x114)](_0x3b6543[_0x396785(0xe9)],selfInfo[_0x396785(0xe9)])&&Object['assign'](selfInfo,_0x3b6543);},_0xfc7390['onSelfStatusChanged']=_0xc39c71=>{},this[_0x560e2c(0x124)](_0xfc7390);const _0x50752b=new GroupListener();_0x50752b[_0x560e2c(0xd8)]=(_0x5c5c15,_0x5a3d62)=>{const _0x2c2ee8=_0x560e2c,_0x5c844b={'ovHmT':function(_0x7a0b70,_0x27dbb2){const _0x2b93a8=_0x14a0;return _0x5a0c0e[_0x2b93a8(0x114)](_0x7a0b70,_0x27dbb2);},'bMgrt':_0x5a0c0e[_0x2c2ee8(0x14b)]};_0x5a3d62['map'](_0x33d124=>{const _0x4c2d4=_0x2c2ee8,_0x5d7f3f=groups[_0x4c2d4(0xc0)](_0x33d124[_0x4c2d4(0xb5)]);_0x5d7f3f&&_0x5c844b[_0x4c2d4(0x13a)](_0x33d124['memberCount'],_0x5d7f3f['memberCount'])?Object[_0x4c2d4(0x143)](_0x5d7f3f,_0x33d124):groups['set'](_0x33d124['groupCode'],_0x33d124);const _0x1c84ad=this[_0x4c2d4(0xe5)][_0x4c2d4(0x141)]()[_0x4c2d4(0x101)](_0x33d124[_0x4c2d4(0xb5)],_0x5c844b[_0x4c2d4(0xb4)]);this['session'][_0x4c2d4(0x141)]()[_0x4c2d4(0x12d)](_0x1c84ad,undefined,0xbb8)[_0x4c2d4(0x10a)](_0x576980=>{});});},_0x50752b[_0x560e2c(0x11a)]=_0x46341c=>{const _0x1e5e22=_0x560e2c,_0x4b1cfc=_0x46341c[_0x1e5e22(0x94)][_0x1e5e22(0x102)]('_')[0x0];if(groupMembers[_0x1e5e22(0xed)](_0x4b1cfc)){const _0x208123=groupMembers[_0x1e5e22(0xc0)](_0x4b1cfc);_0x46341c['infos'][_0x1e5e22(0x12c)]((_0xa3645f,_0x28d0ad)=>{const _0x5512fd=_0x1e5e22,_0x1e2d5f=_0x208123[_0x5512fd(0xc0)](_0x28d0ad);_0x1e2d5f?Object['assign'](_0x1e2d5f,_0xa3645f):_0x208123[_0x5512fd(0x109)](_0x28d0ad,_0xa3645f);});}else groupMembers[_0x1e5e22(0x109)](_0x4b1cfc,_0x46341c[_0x1e5e22(0xe4)]);},_0x50752b[_0x560e2c(0xb8)]=(_0x417bb0,_0x11b3ec,_0x2cfb5b)=>{const _0x33bdf6=_0x560e2c;_0x5a0c0e[_0x33bdf6(0x135)](_0x11b3ec,0x0)&&_0x2cfb5b[_0x33bdf6(0xc0)](selfInfo['uid'])&&_0x2cfb5b[_0x33bdf6(0xc0)](selfInfo[_0x33bdf6(0xe9)])?.[_0x33bdf6(0xc6)]&&_0x5a0c0e[_0x33bdf6(0xa9)](setTimeout,()=>{const _0x169382=_0x33bdf6;groups[_0x169382(0xa4)](_0x417bb0);},0x1388);_0x2cfb5b[_0x33bdf6(0x12c)]((_0x3b62b5,_0x45a653)=>{const _0x16cdcb=_0x33bdf6;uid2UinMap[_0x45a653]=_0x3b62b5[_0x16cdcb(0xce)];});const _0x219845=groupMembers[_0x33bdf6(0xc0)](_0x417bb0);_0x219845?_0x2cfb5b[_0x33bdf6(0x12c)]((_0x7e2530,_0x6dc97b)=>{const _0x31d651=_0x33bdf6,_0x40772d=_0x219845['get'](_0x6dc97b);_0x40772d?Object['assign'](_0x40772d,_0x7e2530):_0x219845[_0x31d651(0x109)](_0x6dc97b,_0x7e2530);}):groupMembers['set'](_0x417bb0,_0x2cfb5b);},this['addListener'](_0x50752b);}[_0x20a873(0x124)](_0x5e923f){const _0x46221e=_0x20a873,_0x3f155c={'YXplT':_0x46221e(0xa3),'MtNmV':_0x46221e(0xc4)};_0x5e923f=new Proxy(_0x5e923f,this[_0x46221e(0xee)]);switch(_0x5e923f[_0x46221e(0xff)][_0x46221e(0x9f)]){case _0x3f155c[_0x46221e(0xbd)]:{return this[_0x46221e(0xe5)][_0x46221e(0xc1)]()['addKernelBuddyListener'](new _0x42f59a[(_0x46221e(0x106))](_0x5e923f));}case _0x3f155c[_0x46221e(0x127)]:{return this['session'][_0x46221e(0x141)]()[_0x46221e(0xd9)](new _0x42f59a[(_0x46221e(0x149))](_0x5e923f));}case _0x46221e(0xc7):{return this[_0x46221e(0xe5)][_0x46221e(0x9d)]()[_0x46221e(0x120)](new _0x42f59a[(_0x46221e(0xaa))](_0x5e923f));}case _0x46221e(0x130):{return this[_0x46221e(0xe5)][_0x46221e(0xdf)]()['addKernelProfileListener'](new _0x42f59a['NodeIKernelProfileListener'](_0x5e923f));}default:return-0x1;}}[_0x20a873(0xaf)](_0x3ec1d9){const _0x5eba0e=_0x20a873;NTEventDispatch[_0x5eba0e(0xba)]({'ListenerMap':_0x42f59a,'WrapperSession':this[_0x5eba0e(0xe5)]}),this['onLoginSuccessFuncList'][_0x5eba0e(0x13e)](_0x3ec1d9);}async[_0x20a873(0xa5)](_0x59cee3){const _0xe4f0a=_0x20a873,_0x73cffd={'Qgywd':function(_0x11c63b,_0x1a610b){return _0x11c63b!==_0x1a610b;},'rldfy':_0xe4f0a(0xe7),'FvfEp':function(_0x401d2e,_0x212b25){return _0x401d2e(_0x212b25);},'tZFtY':'快速登录失败\x20'},_0x32c212=await this[_0xe4f0a(0xd3)][_0xe4f0a(0xa8)]();if(_0x73cffd['Qgywd'](_0x32c212[_0xe4f0a(0xcd)],0x0))throw new Error(_0x73cffd[_0xe4f0a(0xec)]);const _0x5a8226=_0x32c212[_0xe4f0a(0xae)][_0xe4f0a(0xdd)](_0x42a11b=>_0x42a11b[_0xe4f0a(0xce)]===_0x59cee3);if(!_0x5a8226||!_0x5a8226?.[_0xe4f0a(0xb7)])throw new Error(_0x59cee3+_0xe4f0a(0xcc));await _0x73cffd['FvfEp'](sleep,0x3e8);const _0x38f284=await this['loginService'][_0xe4f0a(0xfd)](_0x59cee3);if(!_0x38f284[_0xe4f0a(0xcd)])throw new Error(_0x73cffd['tZFtY']+_0x38f284[_0xe4f0a(0x12e)][_0xe4f0a(0x136)]);return _0x38f284;}async[_0x20a873(0x145)](_0x236b95){const _0x486bd0=_0x20a873,_0x27814d={'pXMQY':_0x486bd0(0x122),'zyGUE':_0x486bd0(0x103),'IBzTr':function(_0x3bfd37,_0x358192,_0x357494,_0x5159b5){return _0x3bfd37(_0x358192,_0x357494,_0x5159b5);}};return new Promise((_0x134bcd,_0x1ab998)=>{const _0x4f6044=_0x486bd0;this['loginListener'][_0x4f6044(0x10d)]=_0xb06d5b=>{const _0x3dcdb6=_0x4f6044,_0x469cbd=_0xb06d5b[_0x3dcdb6(0xe6)][_0x3dcdb6(0x102)](_0x27814d[_0x3dcdb6(0x11f)])[0x1],_0x12689c=Buffer[_0x3dcdb6(0xc5)](_0x469cbd,_0x27814d[_0x3dcdb6(0x134)]);_0x27814d[_0x3dcdb6(0xc2)](_0x236b95,_0xb06d5b[_0x3dcdb6(0xc8)],_0xb06d5b['pngBase64QrcodeData'],_0x12689c);},this[_0x4f6044(0xd3)][_0x4f6044(0x14a)]();});}async[_0x20a873(0xde)](_0x363e53,_0x3169da,_0x370652,_0x91a3bb,_0x3434af){const _0x3aa0b6=_0x20a873,_0x18f847={'AIGBF':_0x3aa0b6(0x129),'NPIEU':function(_0xc04f65,_0x427c40){return _0xc04f65&&_0x427c40;},'Aevna':function(_0x16630d,_0x590f97){return _0x16630d||_0x590f97;},'YeHdS':function(_0x4bbf56,_0x42a788){return _0x4bbf56(_0x42a788);},'xJgBt':'140022008','tDzvQ':_0x3aa0b6(0x148)},_0x808f00=_0x15887e['createHash'](_0x18f847[_0x3aa0b6(0xfb)])[_0x3aa0b6(0xbe)](_0x3169da)['digest'](_0x3aa0b6(0x118)),_0x3bf8c7={'uin':_0x363e53,'passwordMd5':_0x808f00,'step':_0x18f847[_0x3aa0b6(0x113)](_0x370652,_0x91a3bb)&&_0x3434af?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x370652||'','proofWaterRand':_0x91a3bb||'','proofWaterSid':_0x18f847[_0x3aa0b6(0xef)](_0x3434af,'')};await this[_0x3aa0b6(0xd3)][_0x3aa0b6(0xa8)](),await _0x18f847[_0x3aa0b6(0x97)](sleep,0x3e8);const _0x23e862=await this[_0x3aa0b6(0xd3)][_0x3aa0b6(0xde)](_0x3bf8c7);switch(_0x23e862['result']){case'0':{break;}case _0x18f847[_0x3aa0b6(0x10c)]:{break;}case'4':case _0x18f847[_0x3aa0b6(0xcb)]:default:}}async['getQuickLoginList'](){const _0xc46e56=_0x20a873,_0x5844ba=await this[_0xc46e56(0xd3)][_0xc46e56(0xa8)]();return _0x5844ba;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x5e5e36=_0x1a49;(function(_0x1c19fe,_0x2410d7){const _0x5e325b=_0x1a49,_0x1e5b9a=_0x1c19fe();while(!![]){try{const _0x21105b=-parseInt(_0x5e325b(0x22f))/0x1+-parseInt(_0x5e325b(0x19d))/0x2+parseInt(_0x5e325b(0x19b))/0x3*(parseInt(_0x5e325b(0x215))/0x4)+-parseInt(_0x5e325b(0x1ad))/0x5*(parseInt(_0x5e325b(0x22e))/0x6)+-parseInt(_0x5e325b(0x1b7))/0x7*(-parseInt(_0x5e325b(0x1c9))/0x8)+parseInt(_0x5e325b(0x1c0))/0x9+-parseInt(_0x5e325b(0x22a))/0xa*(-parseInt(_0x5e325b(0x203))/0xb);if(_0x21105b===_0x2410d7)break;else _0x1e5b9a['push'](_0x1e5b9a['shift']());}catch(_0x1b6bab){_0x1e5b9a['push'](_0x1e5b9a['shift']());}}}(_0x3657,0xd06c4));import _0x3b754f from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x3657(){const _0x389576=['startNT','QyOac','onKickedOffLine','NJmgC','find','EJOiu','dataPathGlobal','getBuddyList','pngBase64QrcodeData','getGroupService','BmGNP','VXHvj','result','forEach','QqJNj','onLoginFailed','zIRKY','groupCode','NodeIKernelLoginService','getNTUserDataInfoConfig','onSessionInitComplete','GroupListener','qrLogin','_GW_B','data:image/png;base64,','onProfileDetailInfoChanged','session','140022013','diFKX','base64','initDataListener','tipsDesc','proxyHandler','当前账号(','ZpadV','110UVOyHD','LIcmp','XcZbN','loginService','initWithDeskTopConfig','TcMob','buddyList','packet_received','ElEdb','constructor','rCFEW','now','BuddyListener','groupMemberList_MainWindow','passwordLogin','nNFrV','onLoginSuccess','buktX','2119568APXIcP','Windows\x2010\x20Pro','map','getBuddyService','floor','ZqZVZ','Lomsl','LocalLoginInfoList','assign','uin','NodeIKernelLoginListener','init\x20failed\x20','EUynm','resolve','addKernelGroupListener','digest','tipsTitle','has','VadsS','message_sent','quickLogin','2108600wKIbac','twvWK','createHash','addKernelProfileListener','242646vYGXfi','1210389mHhOtb','catch','-v2.db','RbomN','onMsgInfoListUpdate','isQuickLogin','onMemberInfoChange','split','addListener','FPsyi','consoleLog','loginListener','fileLogLevel','dataPath','length','eqKwg','NodeQQNTWrapperUtil','errMsg','RcZFn','read','memberCount','Oqrpe','hex','mtzpI','undefined','YlvQx','V1_WIN_NQ_','mkdirSync','onGroupListUpdate','hoAFu','name','recallTime','quickLoginWithUin','6UlTJCY','homedir','1269390QyDEJi','isDelete','devUid','NodeIQQNTWrapperEngine','HWKhW','NodeIDependsAdapter','快速登录失败\x20','util','engine','CVhsX','getMsgByLongId','数据库初始化失败','stringify','getLoginList','onUserLoggedIn','NodeIQQNTWrapperSession','155iuSwlk','from','get','VbukN','bZPUS','update','addKernelLoginListener','CXRqJ','onMemberListChange','lZFSZ','7tYQmjn','NodeIGlobalAdapter','addKernelBuddyListener','set','nDrhf','push','NodeIDispatcherAdapter','NodeIKernelBuddyListener','infos','3125754kQUUZG','updateMsg','getQRCodePicture','NodeIKernelProfileListener','onLoginSuccessFuncList','initConfig','fkQmQ','then','SDbAO','3494120sjCkyP','onSelfStatusChanged','ErowN','uid','onRecvSysMsg','init','FBkXY','./.config/QQ','onAddSendMsg','sceneId','last_message_time','clientType','getMsgService','onQRCodeSessionFailed','onBuddyListChange','initSession','replace','NodeIKernelGroupListener','没有可快速登录的QQ号','message_received','qrcodeUrl','initSession\x20failed','curVersion'];_0x3657=function(){return _0x389576;};return _0x3657();}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x3f98a0 from'node:path';import _0x3e6ab2 from'node:os';function _0x1a49(_0xe69ad8,_0x8049f2){const _0x365708=_0x3657();return _0x1a49=function(_0x1a497c,_0x248a57){_0x1a497c=_0x1a497c-0x187;let _0x2e31da=_0x365708[_0x1a497c];return _0x2e31da;},_0x1a49(_0xe69ad8,_0x8049f2);}import _0x14b5aa from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x38031d from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x5e5e36(0x1fa)];['util'];[_0x5e5e36(0x1a5)];[_0x5e5e36(0x23a)];[_0x5e5e36(0x206)];[_0x5e5e36(0x1c4)]=[];[_0x5e5e36(0x200)]={'get'(target,prop,receiver){const _0x391efc=_0x5e5e36,MxOgWL={'SadiB':function(callee,param1){return callee(param1);},'YlvQx':function(x,y){return x===y;},'TcMob':_0x391efc(0x192)};if(MxOgWL[_0x391efc(0x193)](typeof target[prop],MxOgWL[_0x391efc(0x208)]))return(...args)=>{const _0x51b328=_0x391efc;MxOgWL['SadiB'](logDebug,target[_0x51b328(0x20c)][_0x51b328(0x198)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x391efc(0x1af)](target,prop,receiver);}};constructor(){const _0x381bc7=_0x5e5e36,_0x2932e3={'lZFSZ':function(_0x1d3b80,_0xa0bd7c){return _0x1d3b80(_0xa0bd7c);},'asgtC':function(_0x57a33,_0xd652f5){return _0x57a33+_0xd652f5;},'LIcmp':')已登录,无法重复登录','VXPYm':function(_0x3210e7,_0x52f89c){return _0x3210e7 instanceof _0x52f89c;},'lEkfT':function(_0x23a04c,_0x2a6782,_0xa88469){return _0x23a04c(_0x2a6782,_0xa88469);},'eqKwg':function(_0x2d4efd,_0x1c7446,_0x33029e){return _0x2d4efd(_0x1c7446,_0x33029e);},'diFKX':function(_0x283f96,_0x314da4,_0x3a4e6f){return _0x283f96(_0x314da4,_0x3a4e6f);},'RbomN':'登录失败','twvWK':function(_0x186070,_0x150689){return _0x186070==_0x150689;},'hoAFu':function(_0x3cf55d,_0x22f55d,_0x4e2f67){return _0x3cf55d(_0x22f55d,_0x4e2f67);}};this[_0x381bc7(0x1a5)]=new _0x3b754f[(_0x381bc7(0x1a0))](),this[_0x381bc7(0x1a4)]=new _0x3b754f[(_0x381bc7(0x18a))](),this[_0x381bc7(0x206)]=new _0x3b754f[(_0x381bc7(0x1f2))](),this['session']=new _0x3b754f[(_0x381bc7(0x1ac))](),this['loginListener']=new LoginListener(),this['loginListener'][_0x381bc7(0x1ab)]=_0x4ad566=>{const _0x52c1a8=_0x381bc7;_0x2932e3[_0x52c1a8(0x1b6)](logError,_0x2932e3['asgtC'](_0x52c1a8(0x201)+_0x4ad566,_0x2932e3[_0x52c1a8(0x204)]));},this[_0x381bc7(0x23a)]['onQRCodeLoginSucceed']=_0xdc3ef9=>{const _0x107e68=_0x381bc7,_0x2a9398={'XcZbN':function(_0x88c519,_0x3e980b,_0x2bcc8f){return _0x2932e3['lEkfT'](_0x88c519,_0x3e980b,_0x2bcc8f);},'EJOiu':_0x107e68(0x1a8)};this[_0x107e68(0x1d8)](_0xdc3ef9[_0x107e68(0x21e)],_0xdc3ef9[_0x107e68(0x1cc)])[_0x107e68(0x1c7)](_0x288ce8=>{const _0x237b3b=_0x107e68,_0x2fbcf4={'nDrhf':function(_0x3c833a,_0x52e6d9){return _0x2932e3['VXPYm'](_0x3c833a,_0x52e6d9);}};selfInfo[_0x237b3b(0x21e)]=_0xdc3ef9[_0x237b3b(0x21e)],selfInfo[_0x237b3b(0x1cc)]=_0xdc3ef9['uid'],napCatConfig[_0x237b3b(0x18d)](),_0x2932e3['lEkfT'](setLogLevel,napCatConfig[_0x237b3b(0x23b)],napCatConfig['consoleLogLevel']),enableFileLog(napCatConfig['fileLog']),enableConsoleLog(napCatConfig[_0x237b3b(0x239)]),_0x2932e3['lZFSZ'](setLogSelfInfo,selfInfo);const _0x89ee46=_0x3f98a0[_0x237b3b(0x222)](this[_0x237b3b(0x187)],'./NapCat/data');_0x14b5aa[_0x237b3b(0x195)](_0x89ee46,{'recursive':!![]}),_0x2932e3[_0x237b3b(0x189)](logDebug,'本账号数据/缓存目录:',_0x89ee46),dbUtil['init'](_0x3f98a0[_0x237b3b(0x222)](_0x89ee46,'./'+_0xdc3ef9[_0x237b3b(0x21e)]+_0x237b3b(0x231)))['then'](()=>{const _0x53cae1=_0x237b3b,_0x15768b={'wBrkQ':function(_0x5a4bd5,_0x407c63){const _0x2110a2=_0x1a49;return _0x2fbcf4[_0x2110a2(0x1bb)](_0x5a4bd5,_0x407c63);}};this[_0x53cae1(0x1fe)](),this[_0x53cae1(0x1c4)]['map'](_0x2a0654=>{const _0x1920b5=_0x53cae1,_0x10b736={'SDbAO':function(_0x4767d3,_0x43a24a){return _0x15768b['wBrkQ'](_0x4767d3,_0x43a24a);}};new Promise((_0x4726cc,_0x33e965)=>{const _0x26f972=_0x1a49,_0x4ed710=_0x2a0654(_0xdc3ef9['uin'],_0xdc3ef9[_0x26f972(0x1cc)]);_0x10b736[_0x26f972(0x1c8)](_0x4ed710,Promise)&&_0x4ed710['then'](_0x4726cc)[_0x26f972(0x230)](_0x33e965);})[_0x1920b5(0x1c7)]();});})[_0x237b3b(0x230)](_0x47bf71=>{const _0x3bc41d=_0x237b3b;_0x2a9398[_0x3bc41d(0x205)](logError,_0x2a9398[_0x3bc41d(0x1e5)],_0x47bf71);});})[_0x107e68(0x230)](_0x23a926=>{const _0x2e4185=_0x107e68;logError(_0x2e4185(0x1de),_0x23a926);throw new Error('启动失败:\x20'+JSON[_0x2e4185(0x1a9)](_0x23a926));});},this[_0x381bc7(0x23a)][_0x381bc7(0x1d6)]=(_0x202468,_0x231285,_0x5c0266)=>{const _0x376ad2=_0x381bc7;_0x2932e3[_0x376ad2(0x1fc)](logError,_0x2932e3[_0x376ad2(0x232)],_0x5c0266),_0x202468==0x1&&_0x2932e3[_0x376ad2(0x22b)](_0x231285,0x3)&&this[_0x376ad2(0x206)]['getQRCodePicture']();},this[_0x381bc7(0x23a)][_0x381bc7(0x1ef)]=_0x1ababf=>{const _0x37fa37=_0x381bc7;_0x2932e3[_0x37fa37(0x197)](logError,_0x2932e3['RbomN'],_0x1ababf);},this[_0x381bc7(0x23a)]=new Proxy(this[_0x381bc7(0x23a)],this[_0x381bc7(0x200)]),this[_0x381bc7(0x206)][_0x381bc7(0x1b3)](new _0x3b754f[(_0x381bc7(0x21f))](this['loginListener'])),this[_0x381bc7(0x1c5)]();}get[_0x5e5e36(0x187)](){const _0xf96d94=_0x5e5e36,_0x337dd3={'ErowN':_0xf96d94(0x1d0)};let _0x624cfc=this[_0xf96d94(0x1a4)][_0xf96d94(0x1f3)]();return!_0x624cfc&&(_0x624cfc=_0x3f98a0[_0xf96d94(0x222)](_0x3e6ab2[_0xf96d94(0x19c)](),_0x337dd3[_0xf96d94(0x1cb)]),_0x14b5aa[_0xf96d94(0x195)](_0x624cfc,{'recursive':!![]})),_0x624cfc;}get[_0x5e5e36(0x1e6)](){const _0x1049f1=_0x5e5e36,_0x19bd26={'dOeGI':'./nt_qq/global'};return _0x3f98a0[_0x1049f1(0x222)](this[_0x1049f1(0x187)],_0x19bd26['dOeGI']);}['initConfig'](){const _0x405038=_0x5e5e36,_0x55e094={'VbukN':_0x405038(0x216)};this[_0x405038(0x1a5)][_0x405038(0x207)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x405038(0x1df)],'os_version':_0x55e094[_0x405038(0x1b0)],'use_xlog':!![],'qua':_0x405038(0x194)+qqVersionConfigInfo[_0x405038(0x1df)][_0x405038(0x1d9)]('-','_')+_0x405038(0x1f7),'global_path_config':{'desktopGlobalPath':this[_0x405038(0x1e6)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x3b754f[(_0x405038(0x1b8))](new GlobalAdapter())),this['loginService'][_0x405038(0x1c5)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x405038(0x1df)],'hostName':hostname});}[_0x5e5e36(0x1d8)](_0x5f4617,_0x2cbefa){const _0x3b3cf4=_0x5e5e36,_0x3421af={'uVStN':function(_0x9d0957,_0x21b166){return _0x9d0957===_0x21b166;},'CVhsX':function(_0x2b19e8,_0x15248a){return _0x2b19e8(_0x15248a);},'VadsS':function(_0xd6c7f8,_0x35e4ed,_0x307037,_0x44bf71){return _0xd6c7f8(_0x35e4ed,_0x307037,_0x44bf71);},'ZqZVZ':function(_0xe9527c,_0x3294da){return _0xe9527c+_0x3294da;},'FPsyi':_0x3b3cf4(0x220)};return new Promise(async(_0x59a00f,_0x57036a)=>{const _0x5a6789=_0x3b3cf4,_0x789dfb={'buktX':function(_0x51aae4,_0x605577){return _0x3421af['uVStN'](_0x51aae4,_0x605577);},'bZPUS':function(_0x2d78e2,_0x3177d2){const _0xe97aee=_0x1a49;return _0x3421af[_0xe97aee(0x1a6)](_0x2d78e2,_0x3177d2);},'EUynm':function(_0x2de9cb,_0x185870){const _0x2f8430=_0x1a49;return _0x3421af[_0x2f8430(0x1a6)](_0x2de9cb,_0x185870);}},_0x47cb6b=await _0x3421af[_0x5a6789(0x227)](genSessionConfig,_0x5f4617,_0x2cbefa,this[_0x5a6789(0x187)]),_0x4f9f03=new SessionListener();_0x4f9f03[_0x5a6789(0x1f4)]=_0x3e6846=>{const _0x58e7cf=_0x5a6789;if(_0x789dfb[_0x58e7cf(0x214)](_0x3e6846,0x0))return _0x789dfb[_0x58e7cf(0x1b1)](_0x59a00f,0x0);_0x789dfb[_0x58e7cf(0x221)](_0x57036a,_0x3e6846);},this[_0x5a6789(0x1fa)][_0x5a6789(0x1ce)](_0x47cb6b,new _0x3b754f[(_0x5a6789(0x1a2))](new DependsAdapter()),new _0x3b754f[(_0x5a6789(0x1bd))](new DispatcherAdapter()),new _0x3b754f['NodeIKernelSessionListener'](_0x4f9f03));try{this['session'][_0x5a6789(0x1e0)](0x0);}catch(_0x2684e2){try{this[_0x5a6789(0x1fa)][_0x5a6789(0x1e0)]();}catch(_0x13d5b0){_0x3421af[_0x5a6789(0x1a6)](_0x57036a,_0x3421af[_0x5a6789(0x21a)](_0x3421af[_0x5a6789(0x238)],_0x13d5b0));}}});}['initDataListener'](){const _0x82e55e=_0x5e5e36,_0x2847f2={'RcZFn':function(_0x15ff84,_0x383651){return _0x15ff84===_0x383651;},'zIRKY':function(_0x4b0bcc,_0x4a0560){return _0x4b0bcc(_0x4a0560);},'Lomsl':function(_0x26b501,_0x3e9023){return _0x26b501+_0x3e9023;},'rCFEW':'账号设备(','HWKhW':')\x20在线状态变更','FBkXY':function(_0x5d4346,_0x3be0d6){return _0x5d4346+_0x3be0d6;},'VXHvj':'[KickedOffLine]\x20[','NJmgC':function(_0x4c8c08,_0x465974){return _0x4c8c08===_0x465974;},'QqJNj':function(_0x1a1e79,_0x36c6ae){return _0x1a1e79/_0x36c6ae;},'Oqrpe':function(_0x58b2ae,_0x27b65b){return _0x58b2ae/_0x27b65b;},'ZpadV':_0x82e55e(0x210)},_0x39c011=new MsgListener();_0x39c011['onLineDev']=_0x2d8e43=>{_0x2d8e43['map'](_0x314d88=>{const _0x5b148c=_0x1a49;_0x2847f2['RcZFn'](_0x314d88[_0x5b148c(0x1d4)],0x2)&&_0x2847f2['zIRKY'](log,_0x2847f2[_0x5b148c(0x21b)](_0x2847f2[_0x5b148c(0x20d)]+_0x314d88[_0x5b148c(0x19f)],_0x2847f2[_0x5b148c(0x1a1)]));});},_0x39c011[_0x82e55e(0x1e2)]=_0x46fa34=>{const _0x444919=_0x82e55e;_0x2847f2[_0x444919(0x1f0)](log,_0x2847f2[_0x444919(0x1cf)](_0x2847f2[_0x444919(0x1eb)]+_0x46fa34[_0x444919(0x225)],']\x20')+_0x46fa34[_0x444919(0x1ff)]);},_0x39c011[_0x82e55e(0x233)]=_0xb1b63d=>{const _0x498197=_0x82e55e;stat['packet_received']+=0x1,_0xb1b63d[_0x498197(0x217)](_0x2252f8=>{const _0x5dbdc4=_0x498197;_0x2847f2[_0x5dbdc4(0x1e3)](_0x2252f8[_0x5dbdc4(0x199)],'0')?dbUtil['addMsg'](_0x2252f8)['then']()[_0x5dbdc4(0x230)]():dbUtil[_0x5dbdc4(0x1a7)](_0x2252f8['msgId'])[_0x5dbdc4(0x1c7)](_0x5665e5=>{const _0x38a31e=_0x5dbdc4;_0x5665e5&&(_0x5665e5['recallTime']=_0x2252f8[_0x38a31e(0x199)],dbUtil[_0x38a31e(0x1c1)](_0x5665e5)[_0x38a31e(0x1c7)]());});});},_0x39c011[_0x82e55e(0x1d1)]=_0x5c451b=>{const _0x514402=_0x82e55e;stat['packet_sent']+=0x1,stat[_0x514402(0x228)]+=0x1,stat[_0x514402(0x1d3)]=Math[_0x514402(0x219)](_0x2847f2[_0x514402(0x1ee)](Date[_0x514402(0x20e)](),0x3e8));},_0x39c011['onRecvMsg']=_0x42d6fd=>{const _0x1cec79=_0x82e55e;stat[_0x1cec79(0x20a)]+=0x1,stat[_0x1cec79(0x1dc)]+=_0x42d6fd[_0x1cec79(0x188)],stat[_0x1cec79(0x1d3)]=Math[_0x1cec79(0x219)](_0x2847f2[_0x1cec79(0x18f)](Date['now'](),0x3e8));},_0x39c011[_0x82e55e(0x1cd)]=(..._0x1d7e99)=>{const _0x5e36fc=_0x82e55e;stat[_0x5e36fc(0x20a)]+=0x1;},this[_0x82e55e(0x237)](_0x39c011);const _0x26154a=new BuddyListener();_0x26154a[_0x82e55e(0x1d7)]=_0x3fc777=>{const _0x1f1e23=_0x82e55e;rawFriends[_0x1f1e23(0x188)]=0x0,rawFriends[_0x1f1e23(0x1bc)](..._0x3fc777);for(const _0x161581 of _0x3fc777){for(const _0x1b0f26 of _0x161581[_0x1f1e23(0x209)]){const _0x24f754=friends[_0x1f1e23(0x1af)](_0x1b0f26[_0x1f1e23(0x1cc)]);uid2UinMap[_0x1b0f26[_0x1f1e23(0x1cc)]]=_0x1b0f26[_0x1f1e23(0x21e)],_0x24f754?Object['assign'](_0x24f754,_0x1b0f26):friends[_0x1f1e23(0x1ba)](_0x1b0f26[_0x1f1e23(0x1cc)],_0x1b0f26);}}},this['addListener'](_0x26154a),this[_0x82e55e(0x1fa)]['getBuddyService']()[_0x82e55e(0x1e7)](!![])['then'](_0x145ee1=>{});const _0x5284a1=new ProfileListener();_0x5284a1[_0x82e55e(0x1f9)]=_0x226a32=>{const _0x5823f0=_0x82e55e;_0x226a32[_0x5823f0(0x1cc)]===selfInfo[_0x5823f0(0x1cc)]&&Object[_0x5823f0(0x21d)](selfInfo,_0x226a32);},_0x5284a1[_0x82e55e(0x1ca)]=_0x10c5b2=>{},this[_0x82e55e(0x237)](_0x5284a1);const _0x629491=new GroupListener();_0x629491[_0x82e55e(0x196)]=(_0x42488e,_0x2dde37)=>{const _0x5c01d3=_0x82e55e;_0x2dde37[_0x5c01d3(0x217)](_0x151547=>{const _0x57b989=_0x5c01d3,_0x281699=groups[_0x57b989(0x1af)](_0x151547[_0x57b989(0x1f1)]);_0x281699&&_0x151547[_0x57b989(0x18e)]===_0x281699[_0x57b989(0x18e)]?Object['assign'](_0x281699,_0x151547):groups['set'](_0x151547[_0x57b989(0x1f1)],_0x151547);const _0x542487=this['session']['getGroupService']()['createMemberListScene'](_0x151547[_0x57b989(0x1f1)],_0x2847f2[_0x57b989(0x202)]);this['session'][_0x57b989(0x1e9)]()['getNextMemberList'](_0x542487,undefined,0xbb8)[_0x57b989(0x1c7)](_0xab7dac=>{});});},_0x629491[_0x82e55e(0x1b5)]=_0xe022ee=>{const _0x5f4406=_0x82e55e,_0x2e6ac8=_0xe022ee[_0x5f4406(0x1d2)][_0x5f4406(0x236)]('_')[0x0];if(groupMembers[_0x5f4406(0x226)](_0x2e6ac8)){const _0x1c71ae=groupMembers[_0x5f4406(0x1af)](_0x2e6ac8);_0xe022ee[_0x5f4406(0x1bf)][_0x5f4406(0x1ed)]((_0x21cbb3,_0xe1dc83)=>{const _0x4a7e65=_0x5f4406,_0x29f896=_0x1c71ae[_0x4a7e65(0x1af)](_0xe1dc83);_0x29f896?Object[_0x4a7e65(0x21d)](_0x29f896,_0x21cbb3):_0x1c71ae[_0x4a7e65(0x1ba)](_0xe1dc83,_0x21cbb3);});}else groupMembers[_0x5f4406(0x1ba)](_0x2e6ac8,_0xe022ee['infos']);},_0x629491[_0x82e55e(0x235)]=(_0xe6ac86,_0x525a46,_0x137536)=>{const _0x2d07aa=_0x82e55e;_0x2847f2[_0x2d07aa(0x18c)](_0x525a46,0x0)&&_0x137536['get'](selfInfo[_0x2d07aa(0x1cc)])&&_0x137536[_0x2d07aa(0x1af)](selfInfo['uid'])?.[_0x2d07aa(0x19e)]&&setTimeout(()=>{groups['delete'](_0xe6ac86);},0x1388);_0x137536['forEach']((_0x21c477,_0x215eed)=>{const _0x54fdc4=_0x2d07aa;uid2UinMap[_0x215eed]=_0x21c477[_0x54fdc4(0x21e)];});const _0x50df95=groupMembers[_0x2d07aa(0x1af)](_0xe6ac86);_0x50df95?_0x137536[_0x2d07aa(0x1ed)]((_0xd3ad04,_0x182615)=>{const _0x5c4088=_0x2d07aa,_0x517809=_0x50df95[_0x5c4088(0x1af)](_0x182615);_0x517809?Object['assign'](_0x517809,_0xd3ad04):_0x50df95[_0x5c4088(0x1ba)](_0x182615,_0xd3ad04);}):groupMembers[_0x2d07aa(0x1ba)](_0xe6ac86,_0x137536);},this['addListener'](_0x629491);}[_0x5e5e36(0x237)](_0x465ae7){const _0x15706e=_0x5e5e36,_0x4975b2={'mtzpI':_0x15706e(0x1f5)};_0x465ae7=new Proxy(_0x465ae7,this[_0x15706e(0x200)]);switch(_0x465ae7[_0x15706e(0x20c)][_0x15706e(0x198)]){case _0x15706e(0x20f):{return this['session'][_0x15706e(0x218)]()[_0x15706e(0x1b9)](new _0x3b754f[(_0x15706e(0x1be))](_0x465ae7));}case _0x4975b2[_0x15706e(0x191)]:{return this[_0x15706e(0x1fa)][_0x15706e(0x1e9)]()[_0x15706e(0x223)](new _0x3b754f[(_0x15706e(0x1da))](_0x465ae7));}case'MsgListener':{return this[_0x15706e(0x1fa)][_0x15706e(0x1d5)]()['addKernelMsgListener'](new _0x3b754f['NodeIKernelMsgListener'](_0x465ae7));}case'ProfileListener':{return this[_0x15706e(0x1fa)]['getProfileService']()[_0x15706e(0x22d)](new _0x3b754f[(_0x15706e(0x1c3))](_0x465ae7));}default:return-0x1;}}[_0x5e5e36(0x213)](_0x542562){const _0x51a4c4=_0x5e5e36;NTEventDispatch[_0x51a4c4(0x1ce)]({'ListenerMap':_0x3b754f,'WrapperSession':this[_0x51a4c4(0x1fa)]}),this[_0x51a4c4(0x1c4)]['push'](_0x542562);}async[_0x5e5e36(0x229)](_0x39e93c){const _0x5e4cfa=_0x5e5e36,_0x4c1b5d={'baIHT':function(_0xe97e2e,_0x3ba5a1){return _0xe97e2e!==_0x3ba5a1;},'SVbdU':_0x5e4cfa(0x1db),'BmGNP':function(_0x2d934b,_0x240429){return _0x2d934b(_0x240429);},'CXRqJ':function(_0x157ff3,_0x460c6a){return _0x157ff3+_0x460c6a;}},_0x48f7d9=await this[_0x5e4cfa(0x206)]['getLoginList']();if(_0x4c1b5d['baIHT'](_0x48f7d9[_0x5e4cfa(0x1ec)],0x0))throw new Error(_0x4c1b5d['SVbdU']);const _0x255049=_0x48f7d9[_0x5e4cfa(0x21c)][_0x5e4cfa(0x1e4)](_0x556ceb=>_0x556ceb[_0x5e4cfa(0x21e)]===_0x39e93c);if(!_0x255049||!_0x255049?.[_0x5e4cfa(0x234)])throw new Error(_0x39e93c+'快速登录不可用');await _0x4c1b5d[_0x5e4cfa(0x1ea)](sleep,0x3e8);const _0x232072=await this['loginService'][_0x5e4cfa(0x19a)](_0x39e93c);if(!_0x232072[_0x5e4cfa(0x1ec)])throw new Error(_0x4c1b5d[_0x5e4cfa(0x1b4)](_0x5e4cfa(0x1a3),_0x232072['loginErrorInfo'][_0x5e4cfa(0x18b)]));return _0x232072;}async[_0x5e5e36(0x1f6)](_0x43f37b){const _0x4c2101=_0x5e5e36,_0x16ab8a={'ElEdb':_0x4c2101(0x1f8)};return new Promise((_0x5ac392,_0x13aa43)=>{const _0x4d6511=_0x4c2101;this[_0x4d6511(0x23a)]['onQRCodeGetPicture']=_0x29664b=>{const _0x192e8b=_0x4d6511,_0x49e164=_0x29664b['pngBase64QrcodeData'][_0x192e8b(0x236)](_0x16ab8a[_0x192e8b(0x20b)])[0x1],_0x1c2cac=Buffer[_0x192e8b(0x1ae)](_0x49e164,_0x192e8b(0x1fd));_0x43f37b(_0x29664b[_0x192e8b(0x1dd)],_0x29664b[_0x192e8b(0x1e8)],_0x1c2cac);},this[_0x4d6511(0x206)][_0x4d6511(0x1c2)]();});}async[_0x5e5e36(0x211)](_0x5b145e,_0x1f7296,_0x82250e,_0x303896,_0x3f9451){const _0xa43cdd=_0x5e5e36,_0x28d64a={'zAUQm':'md5','fkQmQ':_0xa43cdd(0x190),'nNFrV':function(_0x17be9b,_0x5d35e7){return _0x17be9b&&_0x5d35e7;},'QyOac':function(_0x31e315,_0x3d2980){return _0x31e315||_0x3d2980;},'wCBvF':function(_0x225217,_0x4183a6){return _0x225217||_0x4183a6;}},_0x466358=_0x38031d[_0xa43cdd(0x22c)](_0x28d64a['zAUQm'])[_0xa43cdd(0x1b2)](_0x1f7296)[_0xa43cdd(0x224)](_0x28d64a[_0xa43cdd(0x1c6)]),_0x539969={'uin':_0x5b145e,'passwordMd5':_0x466358,'step':_0x28d64a[_0xa43cdd(0x212)](_0x82250e,_0x303896)&&_0x3f9451?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x28d64a[_0xa43cdd(0x1e1)](_0x82250e,''),'proofWaterRand':_0x28d64a['wCBvF'](_0x303896,''),'proofWaterSid':_0x3f9451||''};await this['loginService'][_0xa43cdd(0x1aa)](),await sleep(0x3e8);const _0xf74470=await this[_0xa43cdd(0x206)][_0xa43cdd(0x211)](_0x539969);switch(_0xf74470[_0xa43cdd(0x1ec)]){case'0':{break;}case'140022008':{break;}case'4':case _0xa43cdd(0x1fb):default:}}async['getQuickLoginList'](){const _0x16facd=_0x5e5e36,_0x4b878e=await this[_0x16facd(0x206)][_0x16facd(0x1aa)]();return _0x4b878e;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 6abb2a72..ddb0b8e9 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x5a7240=_0x51b3;(function(_0x4647bd,_0x4c01bf){const _0x2fbd66=_0x51b3,_0x16c38d=_0x4647bd();while(!![]){try{const _0x5c531f=parseInt(_0x2fbd66(0x1a6))/0x1+parseInt(_0x2fbd66(0x1ab))/0x2+parseInt(_0x2fbd66(0x1a9))/0x3+parseInt(_0x2fbd66(0x1a7))/0x4*(-parseInt(_0x2fbd66(0x1b5))/0x5)+-parseInt(_0x2fbd66(0x1b0))/0x6+parseInt(_0x2fbd66(0x1a1))/0x7+parseInt(_0x2fbd66(0x1a3))/0x8;if(_0x5c531f===_0x4c01bf)break;else _0x16c38d['push'](_0x16c38d['shift']());}catch(_0x515d2c){_0x16c38d['push'](_0x16c38d['shift']());}}}(_0x4dd9,0x748c4));function _0x51b3(_0x3ac803,_0x15cfb2){const _0x4dd93c=_0x4dd9();return _0x51b3=function(_0x51b3be,_0x352779){_0x51b3be=_0x51b3be-0x1a1;let _0x437190=_0x4dd93c[_0x51b3be];return _0x437190;},_0x51b3(_0x3ac803,_0x15cfb2);}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(_0x34438d){const _0x47cc56=_0x51b3;groups[_0x47cc56(0x1af)](_0x34438d),groupMembers[_0x47cc56(0x1af)](_0x34438d);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x5a7240(0x1b6)};export async function getFriend(_0x2a5deb){const _0x300792=_0x5a7240,_0x5db21c={'vnSDZ':function(_0x5da41b,_0x24c3ce){return _0x5da41b(_0x24c3ce);}};_0x2a5deb=_0x2a5deb[_0x300792(0x1a4)]();if(_0x5db21c[_0x300792(0x1ae)](isNumeric,_0x2a5deb)){const _0x281347=Array[_0x300792(0x1b1)](friends[_0x300792(0x1b7)]());return _0x281347[_0x300792(0x1aa)](_0x5bf3a5=>_0x5bf3a5['uin']===_0x2a5deb);}else return friends['get'](_0x2a5deb);}export async function getGroup(_0x6254c2){const _0x3924fb=_0x5a7240;let _0x37a2e4=groups[_0x3924fb(0x1b8)](_0x6254c2[_0x3924fb(0x1a4)]());if(!_0x37a2e4)try{const _0x211919=await NTQQGroupApi[_0x3924fb(0x1ac)]();_0x211919[_0x3924fb(0x1b2)]&&_0x211919[_0x3924fb(0x1a5)](_0x34507f=>{groups['set'](_0x34507f['groupCode'],_0x34507f);});}catch(_0x5ec01b){return undefined;}return _0x37a2e4=groups[_0x3924fb(0x1b8)](_0x6254c2[_0x3924fb(0x1a4)]()),_0x37a2e4;}export async function getGroupMember(_0x5af437,_0x34421a){const _0x406e10=_0x5a7240,_0x33ee8e={'ckPWT':function(_0x4f0524){return _0x4f0524();}};_0x5af437=_0x5af437['toString'](),_0x34421a=_0x34421a[_0x406e10(0x1a4)]();let _0x2343f3=groupMembers[_0x406e10(0x1b8)](_0x5af437);if(!_0x2343f3)try{_0x2343f3=await NTQQGroupApi['getGroupMembers'](_0x5af437),groupMembers[_0x406e10(0x1b3)](_0x5af437,_0x2343f3);}catch(_0x121ae7){return null;}const _0x47c921=()=>{const _0x205449=_0x406e10;let _0x5059be=undefined;return isNumeric(_0x34421a)?_0x5059be=Array[_0x205449(0x1b1)](_0x2343f3[_0x205449(0x1b7)]())[_0x205449(0x1aa)](_0x3885cf=>_0x3885cf[_0x205449(0x1ad)]===_0x34421a):_0x5059be=_0x2343f3[_0x205449(0x1b8)](_0x34421a),_0x5059be;};let _0x1752f2=_0x33ee8e[_0x406e10(0x1b4)](_0x47c921);return!_0x1752f2&&(_0x2343f3=await NTQQGroupApi[_0x406e10(0x1a8)](_0x5af437),_0x1752f2=_0x33ee8e['ckPWT'](_0x47c921)),_0x1752f2;}function _0x4dd9(){const _0x399c6b=['get','404740AAtwFZ','dtlbc','7134328pyOICn','toString','forEach','879322KRcTsm','4jXpWTk','getGroupMembers','113961UFMUwd','find','171446bHWEpY','getGroups','uin','vnSDZ','delete','3649968WuqEwi','from','length','set','ckPWT','4334675FDLtAm','NapCat未能正常启动,请检查日志查看错误','values'];_0x4dd9=function(){return _0x399c6b;};return _0x4dd9();}export const uid2UinMap={};export function getUidByUin(_0x18fab2){const _0x5e5520=_0x5a7240,_0x4dd997={'dtlbc':function(_0x1b007d,_0x481edc){return _0x1b007d===_0x481edc;}};for(const _0xffb0b6 in uid2UinMap){if(_0x4dd997[_0x5e5520(0x1a2)](uid2UinMap[_0xffb0b6],_0x18fab2))return _0xffb0b6;}}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(_0xc5677f,_0x239413){const _0x131df=_0x4292,_0x3e4f29=_0xc5677f();while(!![]){try{const _0x2adcf9=-parseInt(_0x131df(0x1ed))/0x1*(parseInt(_0x131df(0x1f1))/0x2)+-parseInt(_0x131df(0x1f7))/0x3*(-parseInt(_0x131df(0x1fb))/0x4)+-parseInt(_0x131df(0x1f8))/0x5*(parseInt(_0x131df(0x1f5))/0x6)+-parseInt(_0x131df(0x1ef))/0x7*(-parseInt(_0x131df(0x1f9))/0x8)+parseInt(_0x131df(0x1f3))/0x9+-parseInt(_0x131df(0x1ea))/0xa*(-parseInt(_0x131df(0x1f6))/0xb)+-parseInt(_0x131df(0x1fa))/0xc;if(_0x2adcf9===_0x239413)break;else _0x3e4f29['push'](_0x3e4f29['shift']());}catch(_0x57c873){_0x3e4f29['push'](_0x3e4f29['shift']());}}}(_0x29f6,0x70d59));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};function _0x29f6(){const _0x1e7b3c=['nUzdq','168489rhmQhl','get','6uViSTH','469524Lzfvvr','6JVGzoJ','3529730ZaQRca','136LzMznM','11204292RlpuUU','1020932UjBVCb','values','groupCode','forEach','delete','set','160uHdVqg','find','toString','87uPtfFI','uin','377048yosdGU','from','598xrVlzW'];_0x29f6=function(){return _0x1e7b3c;};return _0x29f6();}export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x4292(_0x1590ba,_0x55be2b){const _0x29f68b=_0x29f6();return _0x4292=function(_0x4292a9,_0x85a01c){_0x4292a9=_0x4292a9-0x1e6;let _0x14572e=_0x29f68b[_0x4292a9];return _0x14572e;},_0x4292(_0x1590ba,_0x55be2b);}export const groups=new Map();export function deleteGroup(_0x4e9a07){const _0x2e2016=_0x4292;groups[_0x2e2016(0x1e8)](_0x4e9a07),groupMembers[_0x2e2016(0x1e8)](_0x4e9a07);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x17d684){const _0x248191=_0x4292,_0x321294={'zrqqI':function(_0xa833aa,_0x52b7a0){return _0xa833aa(_0x52b7a0);}};_0x17d684=_0x17d684[_0x248191(0x1ec)]();if(_0x321294['zrqqI'](isNumeric,_0x17d684)){const _0x2f9827=Array[_0x248191(0x1f0)](friends[_0x248191(0x1fc)]());return _0x2f9827[_0x248191(0x1eb)](_0x126b64=>_0x126b64[_0x248191(0x1ee)]===_0x17d684);}else return friends[_0x248191(0x1f4)](_0x17d684);}export async function getGroup(_0x2e9e96){const _0x5a37f4=_0x4292;let _0x31a74c=groups['get'](_0x2e9e96[_0x5a37f4(0x1ec)]());if(!_0x31a74c)try{const _0x18fb36=await NTQQGroupApi['getGroups']();_0x18fb36['length']&&_0x18fb36[_0x5a37f4(0x1e7)](_0xd9d1d6=>{const _0x4d9e02=_0x5a37f4;groups['set'](_0xd9d1d6[_0x4d9e02(0x1e6)],_0xd9d1d6);});}catch(_0x455142){return undefined;}return _0x31a74c=groups[_0x5a37f4(0x1f4)](_0x2e9e96[_0x5a37f4(0x1ec)]()),_0x31a74c;}export async function getGroupMember(_0x57fecc,_0x5d26c8){const _0x8ea8dc=_0x4292,_0x3f2965={'lsmOc':function(_0x4e05e5,_0x4c3d56){return _0x4e05e5(_0x4c3d56);},'nUzdq':function(_0x333cd6){return _0x333cd6();}};_0x57fecc=_0x57fecc[_0x8ea8dc(0x1ec)](),_0x5d26c8=_0x5d26c8[_0x8ea8dc(0x1ec)]();let _0x54b10b=groupMembers[_0x8ea8dc(0x1f4)](_0x57fecc);if(!_0x54b10b)try{_0x54b10b=await NTQQGroupApi['getGroupMembers'](_0x57fecc),groupMembers[_0x8ea8dc(0x1e9)](_0x57fecc,_0x54b10b);}catch(_0xa8fb9a){return null;}const _0x427426=()=>{const _0x1c60a7=_0x8ea8dc;let _0x5e719c=undefined;return _0x3f2965['lsmOc'](isNumeric,_0x5d26c8)?_0x5e719c=Array[_0x1c60a7(0x1f0)](_0x54b10b[_0x1c60a7(0x1fc)]())[_0x1c60a7(0x1eb)](_0x997dc8=>_0x997dc8[_0x1c60a7(0x1ee)]===_0x5d26c8):_0x5e719c=_0x54b10b[_0x1c60a7(0x1f4)](_0x5d26c8),_0x5e719c;};let _0x156855=_0x427426();return!_0x156855&&(_0x54b10b=await NTQQGroupApi['getGroupMembers'](_0x57fecc),_0x156855=_0x3f2965[_0x8ea8dc(0x1f2)](_0x427426)),_0x156855;}export const uid2UinMap={};export function getUidByUin(_0x14c70a){const _0x3fc117={'QXKpg':function(_0x4fee3e,_0x5ad590){return _0x4fee3e===_0x5ad590;}};for(const _0x3a2271 in uid2UinMap){if(_0x3fc117['QXKpg'](uid2UinMap[_0x3a2271],_0x14c70a))return _0x3a2271;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 9c8680de..3d07caad 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x3255(){var _0xbd652=['374667rlVvhJ','12yljTEB','311495ftKelm','1157172dZghAt','1|3|4|2|0','70212BLalJv','split','OzTVj','snBtI','bsHkF','18mtqfOj','DOCUMENT','uGAwM','1356285yzcrOi','360872PAvkxF','RDYKX','560130nrBiQS'];_0x3255=function(){return _0xbd652;};return _0x3255();}function _0x1809(_0x21af16,_0xf79f86){var _0x3255a2=_0x3255();return _0x1809=function(_0x1809b4,_0x32c035){_0x1809b4=_0x1809b4-0xf7;var _0x4bcca4=_0x3255a2[_0x1809b4];return _0x4bcca4;},_0x1809(_0x21af16,_0xf79f86);}(function(_0x57cec8,_0x3c84fd){var _0x5e0347=_0x1809,_0x59cc79=_0x57cec8();while(!![]){try{var _0x4791ed=-parseInt(_0x5e0347(0xfe))/0x1+parseInt(_0x5e0347(0xf8))/0x2+-parseInt(_0x5e0347(0xf9))/0x3+parseInt(_0x5e0347(0xfa))/0x4*(parseInt(_0x5e0347(0xfb))/0x5)+-parseInt(_0x5e0347(0xfc))/0x6+parseInt(_0x5e0347(0x106))/0x7+-parseInt(_0x5e0347(0x107))/0x8*(parseInt(_0x5e0347(0x103))/0x9);if(_0x4791ed===_0x3c84fd)break;else _0x59cc79['push'](_0x59cc79['shift']());}catch(_0x42d78d){_0x59cc79['push'](_0x59cc79['shift']());}}}(_0x3255,0x2c908));;export var CacheFileType;(function(_0xfe7494){var _0x8ccabf=_0x1809,_0x1cd349={'bsHkF':_0x8ccabf(0xfd),'OzTVj':'OTHER','jEuOP':'IMAGE','snBtI':_0x8ccabf(0x104),'RDYKX':'VIDEO','uGAwM':'AUDIO'},_0x3601b0=_0x1cd349[_0x8ccabf(0x102)][_0x8ccabf(0xff)]('|'),_0x231274=0x0;while(!![]){switch(_0x3601b0[_0x231274++]){case'0':_0xfe7494[_0xfe7494[_0x1cd349[_0x8ccabf(0x100)]]=0x4]=_0x1cd349['OzTVj'];continue;case'1':_0xfe7494[_0xfe7494[_0x1cd349['jEuOP']]=0x0]=_0x1cd349['jEuOP'];continue;case'2':_0xfe7494[_0xfe7494[_0x1cd349[_0x8ccabf(0x101)]]=0x3]=_0x8ccabf(0x104);continue;case'3':_0xfe7494[_0xfe7494[_0x1cd349[_0x8ccabf(0xf7)]]=0x1]=_0x1cd349[_0x8ccabf(0xf7)];continue;case'4':_0xfe7494[_0xfe7494[_0x1cd349[_0x8ccabf(0x105)]]=0x2]=_0x1cd349[_0x8ccabf(0x105)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x51d036,_0x293edc){var _0x44684d=_0x22ea,_0x7bca73=_0x51d036();while(!![]){try{var _0x3cc756=parseInt(_0x44684d(0x1d7))/0x1+-parseInt(_0x44684d(0x1e0))/0x2+parseInt(_0x44684d(0x1e1))/0x3+-parseInt(_0x44684d(0x1dc))/0x4+parseInt(_0x44684d(0x1d9))/0x5*(parseInt(_0x44684d(0x1e5))/0x6)+parseInt(_0x44684d(0x1df))/0x7*(-parseInt(_0x44684d(0x1e4))/0x8)+-parseInt(_0x44684d(0x1db))/0x9*(-parseInt(_0x44684d(0x1dd))/0xa);if(_0x3cc756===_0x293edc)break;else _0x7bca73['push'](_0x7bca73['shift']());}catch(_0x2d748c){_0x7bca73['push'](_0x7bca73['shift']());}}}(_0x50da,0xc1dc1));function _0x22ea(_0x39f7ae,_0x5e5df8){var _0x50da22=_0x50da();return _0x22ea=function(_0x22eae4,_0xb4929d){_0x22eae4=_0x22eae4-0x1d6;var _0x195ff3=_0x50da22[_0x22eae4];return _0x195ff3;},_0x22ea(_0x39f7ae,_0x5e5df8);};function _0x50da(){var _0x509edb=['DOCUMENT','23797269otKIpx','4277096wEZtUM','10oRtrTG','ZfmIB','7LzhPCf','2621696SIbHpb','3617133jsHbjf','xSZTX','AUDIO','10838944pwUGJB','30OQgjtB','WAwRB','507222krHzXe','VIDEO','171965tAzfpp'];_0x50da=function(){return _0x509edb;};return _0x50da();}export var CacheFileType;(function(_0x2fe517){var _0x385c05=_0x22ea,_0x14b206={'ZfmIB':'IMAGE','xSZTX':_0x385c05(0x1d8),'WAwRB':_0x385c05(0x1e3),'uQkqT':_0x385c05(0x1da),'LigZk':'OTHER'};_0x2fe517[_0x2fe517[_0x14b206['ZfmIB']]=0x0]=_0x14b206[_0x385c05(0x1de)],_0x2fe517[_0x2fe517[_0x14b206[_0x385c05(0x1e2)]]=0x1]=_0x14b206[_0x385c05(0x1e2)],_0x2fe517[_0x2fe517[_0x14b206['WAwRB']]=0x2]=_0x14b206[_0x385c05(0x1d6)],_0x2fe517[_0x2fe517[_0x14b206['uQkqT']]=0x3]=_0x14b206['uQkqT'],_0x2fe517[_0x2fe517[_0x14b206['LigZk']]=0x4]=_0x14b206['LigZk'];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index d1f44b37..4356777a 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -function _0x2f69(){const _0x4ae1d6=['2507595JtyZGS','JyrRQ','end','Ori','5iwjWeR','UhTsV','pic','6545756QLDeUa','mp4','文件异常,大小为0','unlink','copyFile','ARK','getImageSize','sysface','MARKDOWN','HlLcw','获取视频信息失败','3590400pMVKOz','FACE','THIKs','stringify','dice','text','TEXT','miniapp','markdown','1735919CUzjfK','AniStickerType','get','qFmaV','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','[商城表情]','LZvcZ','Bot\x20Test','QDes','LGnTB','Thumb','PIC','reply','join','set','7047425kOjrln','catch','QSid','xvrMU','https://www.bilibili.com/','PTT','18631728KKkDVQ','dbJOF','width','gif','rps','FILE','dirname','FalVx','RPS','LcikQ','ipOXo','error','sep','string','IEoKs','toString','RRdDG','uploadFile','EYgvR','writeFile','VIDEO','emoji','HpbSh','xxpyY','then','screenshots','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','height','2MieJKy','2484104bbYdKc','notAt','pzZnB','QVSKP','mface','time','tbUnl'];_0x2f69=function(){return _0x4ae1d6;};return _0x2f69();}const _0x19cf61=_0x573d;function _0x573d(_0x3793c9,_0x1ebe6e){const _0x2f69de=_0x2f69();return _0x573d=function(_0x573d70,_0x14d6f1){_0x573d70=_0x573d70-0x102;let _0x91f48e=_0x2f69de[_0x573d70];return _0x91f48e;},_0x573d(_0x3793c9,_0x1ebe6e);}(function(_0x21bf80,_0x360777){const _0x2446f9=_0x573d,_0x2f7226=_0x21bf80();while(!![]){try{const _0x57239e=parseInt(_0x2446f9(0x124))/0x1*(-parseInt(_0x2446f9(0x155))/0x2)+parseInt(_0x2446f9(0x109))/0x3+-parseInt(_0x2446f9(0x110))/0x4*(-parseInt(_0x2446f9(0x10d))/0x5)+-parseInt(_0x2446f9(0x11b))/0x6+-parseInt(_0x2446f9(0x133))/0x7+-parseInt(_0x2446f9(0x102))/0x8+parseInt(_0x2446f9(0x139))/0x9;if(_0x57239e===_0x360777)break;else _0x2f7226['push'](_0x2f7226['shift']());}catch(_0x45eceb){_0x2f7226['push'](_0x2f7226['shift']());}}}(_0x2f69,0xd9809));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x48c8e9}from'node:fs';import _0x4dc900 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 _0x14eb8a from'./face_config.json';import*as _0xd4a029 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x19cf61(0x120)](_0x365fda){const _0x12890e=_0x19cf61;return{'elementType':ElementType[_0x12890e(0x121)],'elementId':'','textElement':{'content':_0x365fda,'atType':AtType[_0x12890e(0x103)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2e8edc,_0x30d349,_0x2b2b45,_0x5e6a46){const _0x17cb7e=_0x19cf61;return{'elementType':ElementType[_0x17cb7e(0x121)],'elementId':'','textElement':{'content':'@'+_0x5e6a46,'atType':_0x2b2b45,'atUid':_0x2e8edc,'atTinyId':'','atNtUid':_0x30d349}};}static[_0x19cf61(0x130)](_0x65c3a,_0x2b69b7,_0x1c4840,_0x4a1e0a){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x65c3a,'replayMsgId':_0x2b69b7,'senderUin':_0x1c4840,'senderUinStr':_0x4a1e0a}};}static async[_0x19cf61(0x10f)](_0x443911,_0x4e8ce2='',_0x1dc23e=0x0){const _0x5966f2=_0x19cf61,_0x38e9ee={'LcikQ':_0x5966f2(0x112),'RRdDG':function(_0x5cb3d9,_0x3e3c81){return _0x5cb3d9(_0x3e3c81);}},{md5:_0x10e25d,fileName:_0x143e9d,path:_0x15eede,fileSize:_0x8c0a93}=await NTQQFileApi[_0x5966f2(0x14a)](_0x443911,ElementType[_0x5966f2(0x12f)],_0x1dc23e);if(_0x8c0a93===0x0)throw _0x38e9ee[_0x5966f2(0x142)];const _0x2d4f11=await NTQQFileApi[_0x5966f2(0x116)](_0x443911),_0x5e5acb={'md5HexStr':_0x10e25d,'fileSize':_0x8c0a93[_0x5966f2(0x148)](),'picWidth':_0x2d4f11?.[_0x5966f2(0x13b)],'picHeight':_0x2d4f11?.[_0x5966f2(0x154)],'fileName':_0x143e9d,'sourcePath':_0x15eede,'original':!![],'picType':_0x38e9ee[_0x5966f2(0x149)](isGIF,_0x443911)?PicType[_0x5966f2(0x13c)]:PicType['jpg'],'picSubType':_0x1dc23e,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x4e8ce2};return{'elementType':ElementType[_0x5966f2(0x12f)],'elementId':'','picElement':_0x5e5acb};}static async['file'](_0x16ee2c,_0x23c041='',_0x1d6785=''){const _0x5477af=_0x19cf61,_0x51c2be={'zRsnn':function(_0x214395,_0x537aa9){return _0x214395===_0x537aa9;},'QVSKP':function(_0x4086eb,_0x3aac63){return _0x4086eb||_0x3aac63;}},{md5:_0x15e203,fileName:_0x4a6c71,path:_0x3e6549,fileSize:_0x156da0}=await NTQQFileApi[_0x5477af(0x14a)](_0x16ee2c,ElementType[_0x5477af(0x13e)]);if(_0x51c2be['zRsnn'](_0x156da0,0x0))throw _0x5477af(0x112);const _0x45ae3e={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x51c2be[_0x5477af(0x105)](_0x23c041,_0x4a6c71),'folderId':_0x1d6785,'filePath':_0x3e6549,'fileSize':_0x156da0[_0x5477af(0x148)]()}};return _0x45ae3e;}static async['video'](_0x4b423c,_0x5b504a='',_0x12bd4e=''){const _0x3b7355=_0x19cf61,_0xad7688={'xxpyY':function(_0xecc1b8,_0x4a3212,_0x2dd755){return _0xecc1b8(_0x4a3212,_0x2dd755);},'pzZnB':'获取视频封面失败,使用默认封面','NAdzB':function(_0x5cb99d,_0x2532a3){return _0x5cb99d(_0x2532a3);},'THIKs':_0x3b7355(0x10b),'CGvjT':_0x3b7355(0x144),'UhTsV':function(_0x3bd167,_0x2227a6){return _0x3bd167+_0x2227a6;},'HlLcw':function(_0x1f315c,_0xfd4bca){return _0x1f315c===_0xfd4bca;},'xvrMU':_0x3b7355(0x11a),'qFmaV':function(_0x23aebf,_0x5672d2){return _0x23aebf||_0x5672d2;}},{fileName:_0x54c66a,path:_0x1dc99b,fileSize:_0x3d281e,md5:_0x26d876}=await NTQQFileApi[_0x3b7355(0x14a)](_0x4b423c,ElementType[_0x3b7355(0x14d)]);if(_0xad7688[_0x3b7355(0x119)](_0x3d281e,0x0))throw _0x3b7355(0x112);let _0x52ca7c=_0x1dc99b['replace'](_0xd4a029[_0x3b7355(0x145)]+_0x3b7355(0x10c)+_0xd4a029[_0x3b7355(0x145)],_0xd4a029[_0x3b7355(0x145)]+_0x3b7355(0x12e)+_0xd4a029[_0x3b7355(0x145)]);_0x52ca7c=_0xd4a029[_0x3b7355(0x13f)](_0x52ca7c);let _0x4066f0={'width':0x780,'height':0x438,'time':0xf,'format':_0x3b7355(0x111),'size':_0x3d281e,'filePath':_0x4b423c};try{_0x4066f0=await _0xad7688['NAdzB'](getVideoInfo,_0x1dc99b);}catch(_0x464f61){_0xad7688[_0x3b7355(0x150)](logError,_0xad7688[_0x3b7355(0x136)],_0x464f61);}const _0x4e0559=new Promise((_0x1078ca,_0x9943d6)=>{const _0x1d09e8=_0x3b7355,_0x4d090f={'EYgvR':function(_0x1a653e,_0xa884e5){return _0x1a653e(_0xa884e5);}},_0x3696e3=_0x26d876+'_0.png',_0x37d319=_0xd4a029[_0x1d09e8(0x131)](_0x52ca7c,_0x3696e3);_0xad7688['NAdzB'](_0x4dc900,_0x4b423c)['on'](_0xad7688['THIKs'],()=>{})['on'](_0xad7688['CGvjT'],_0x57fcf8=>{const _0x3d60bf=_0x1d09e8,_0xac2f8a={'IEoKs':function(_0x1a3db9,_0x2630c3){return _0x1a3db9(_0x2630c3);}};_0xad7688[_0x3d60bf(0x150)](logDebug,_0xad7688[_0x3d60bf(0x104)],_0x57fcf8),_0x12bd4e?_0x48c8e9[_0x3d60bf(0x114)](_0x12bd4e,_0x37d319)[_0x3d60bf(0x151)](()=>{const _0x3b2c7e=_0x3d60bf;_0xac2f8a[_0x3b2c7e(0x147)](_0x1078ca,_0x37d319);})[_0x3d60bf(0x134)](_0x9943d6):_0x48c8e9[_0x3d60bf(0x14c)](_0x37d319,defaultVideoThumb)[_0x3d60bf(0x151)](()=>{const _0x801dc6=_0x3d60bf;_0x4d090f[_0x801dc6(0x14b)](_0x1078ca,_0x37d319);})[_0x3d60bf(0x134)](_0x9943d6);})[_0x1d09e8(0x152)]({'timestamps':[0x0],'filename':_0x3696e3,'folder':_0x52ca7c,'size':_0xad7688[_0x1d09e8(0x10e)](_0x4066f0[_0x1d09e8(0x13b)]+'x',_0x4066f0[_0x1d09e8(0x154)])})['on'](_0xad7688[_0x1d09e8(0x11d)],()=>{_0x1078ca(_0x37d319);});}),_0x2b15ee=new Map(),_0x5cdd55=await _0x4e0559,_0x17dcc6=(await _0x48c8e9['stat'](_0x5cdd55))['size'];_0x2b15ee[_0x3b7355(0x132)](0x0,_0x5cdd55);const _0x145c71=await calculateFileMD5(_0x5cdd55),_0x54a6c9={'elementType':ElementType[_0x3b7355(0x14d)],'elementId':'','videoElement':{'fileName':_0xad7688[_0x3b7355(0x127)](_0x5b504a,_0x54c66a),'filePath':_0x1dc99b,'videoMd5':_0x26d876,'thumbMd5':_0x145c71,'fileTime':_0x4066f0[_0x3b7355(0x107)],'thumbPath':_0x2b15ee,'thumbSize':_0x17dcc6,'thumbWidth':_0x4066f0[_0x3b7355(0x13b)],'thumbHeight':_0x4066f0[_0x3b7355(0x154)],'fileSize':''+_0x3d281e}};return _0x54a6c9;}static async['ptt'](_0x4feb98){const _0x47596d=_0x19cf61,_0x13e150={'LZvcZ':function(_0x454dca,_0xd0585d){return _0x454dca(_0xd0585d);},'FalVx':function(_0x37ecd7,_0x1e1968){return _0x37ecd7===_0x1e1968;}},{converted:_0x17809c,path:_0x236013,duration:_0x56f005}=await _0x13e150[_0x47596d(0x12a)](encodeSilk,_0x4feb98);if(!_0x236013)throw'语音转换失败,\x20请检查语音文件是否正常';const {md5:_0x2ca1a1,fileName:_0x4c4202,path:_0x5a701b,fileSize:_0x39a997}=await NTQQFileApi[_0x47596d(0x14a)](_0x236013,ElementType[_0x47596d(0x138)]);if(_0x13e150[_0x47596d(0x140)](_0x39a997,0x0))throw'文件异常,大小为0';return _0x17809c&&_0x48c8e9[_0x47596d(0x113)](_0x236013)[_0x47596d(0x151)](),{'elementType':ElementType[_0x47596d(0x138)],'elementId':'','pttElement':{'fileName':_0x4c4202,'filePath':_0x5a701b,'md5HexStr':_0x2ca1a1,'fileSize':_0x39a997,'duration':_0x56f005||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'](_0x2d0a57){const _0x2d02ec=_0x19cf61,_0x32b336={'ipOXo':function(_0x5e7a8b,_0x1b8bec){return _0x5e7a8b(_0x1b8bec);},'dbJOF':function(_0x294820,_0x299128){return _0x294820>=_0x299128;}},_0x1106f6=_0x14eb8a[_0x2d02ec(0x117)],_0x245a67=_0x14eb8a[_0x2d02ec(0x14e)],_0x528f20=_0x1106f6['find'](_0x1d8206=>_0x1d8206[_0x2d02ec(0x135)]===_0x2d0a57[_0x2d02ec(0x148)]());_0x2d0a57=_0x32b336[_0x2d02ec(0x143)](parseInt,_0x2d0a57[_0x2d02ec(0x148)]());let _0x32c86c=0x1;return _0x32b336[_0x2d02ec(0x13a)](_0x2d0a57,0xde)&&(_0x32c86c=0x2),_0x528f20[_0x2d02ec(0x125)]&&(_0x32c86c=0x3),{'elementType':ElementType[_0x2d02ec(0x11c)],'elementId':'','faceElement':{'faceIndex':_0x2d0a57,'faceType':_0x32c86c,'faceText':_0x528f20[_0x2d02ec(0x12c)],'stickerId':_0x528f20['AniStickerId'],'stickerType':_0x528f20[_0x2d02ec(0x125)],'packId':_0x528f20['AniStickerPackId'],'sourceType':0x1}};}static[_0x19cf61(0x106)](_0x14095d,_0x29d6b2,_0x4dd8e7,_0x271134){const _0x9d3281=_0x19cf61,_0x34595d={'tbUnl':_0x9d3281(0x129)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x14095d,'emojiId':_0x29d6b2,'key':_0x4dd8e7,'faceName':_0x271134||mFaceCache[_0x9d3281(0x126)](_0x29d6b2)||_0x34595d[_0x9d3281(0x108)]}};}static[_0x19cf61(0x11f)](_0x5b296e){const _0x1914ef=_0x19cf61,_0x6d2ccf={'HpbSh':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x1914ef(0x11f)],'faceText':_0x6d2ccf[_0x1914ef(0x14f)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x19cf61(0x13d)](_0x4b15f4){const _0x42e444=_0x19cf61,_0x546eaa={'aGgeu':'[包剪锤]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x42e444(0x141)],'faceText':_0x546eaa['aGgeu'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x30c619){const _0x317afb=_0x19cf61,_0x30d1ad={'JyrRQ':_0x317afb(0x146)};return typeof _0x30c619!==_0x30d1ad[_0x317afb(0x10a)]&&(_0x30c619=JSON[_0x317afb(0x11e)](_0x30c619)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x30c619,'linkInfo':null,'subElementType':null}};}static[_0x19cf61(0x123)](_0x29610b){const _0x197401=_0x19cf61;return{'elementType':ElementType[_0x197401(0x118)],'elementId':'','markdownElement':{'content':_0x29610b}};}static async[_0x19cf61(0x122)](){const _0x106b31=_0x19cf61,_0x38f995={'LGnTB':_0x106b31(0x12b),'DLDVC':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0xc3e83e=await SignMiniApp({'prompt':_0x38f995[_0x106b31(0x12d)],'title':_0x38f995[_0x106b31(0x12d)],'preview':_0x106b31(0x153),'jumpUrl':_0x106b31(0x137),'tag':_0x38f995['LGnTB'],'tagIcon':_0x38f995['DLDVC'],'source':_0x106b31(0x12b),'sourcelogo':_0x106b31(0x128)});return{'elementType':ElementType[_0x106b31(0x115)],'elementId':'','arkElement':{'bytesData':_0xc3e83e,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x5d3a0d=_0x5b1c;(function(_0x10e587,_0x4b4035){const _0x29b6bf=_0x5b1c,_0x4ae254=_0x10e587();while(!![]){try{const _0x265de9=parseInt(_0x29b6bf(0x169))/0x1*(parseInt(_0x29b6bf(0x150))/0x2)+parseInt(_0x29b6bf(0x14b))/0x3*(-parseInt(_0x29b6bf(0x167))/0x4)+parseInt(_0x29b6bf(0x17b))/0x5+-parseInt(_0x29b6bf(0x12a))/0x6*(-parseInt(_0x29b6bf(0x131))/0x7)+parseInt(_0x29b6bf(0x14c))/0x8*(-parseInt(_0x29b6bf(0x165))/0x9)+-parseInt(_0x29b6bf(0x128))/0xa*(parseInt(_0x29b6bf(0x149))/0xb)+parseInt(_0x29b6bf(0x16a))/0xc*(parseInt(_0x29b6bf(0x133))/0xd);if(_0x265de9===_0x4b4035)break;else _0x4ae254['push'](_0x4ae254['shift']());}catch(_0x18a733){_0x4ae254['push'](_0x4ae254['shift']());}}}(_0x243f,0x56633));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3260ec}from'node:fs';import _0x3c43b0 from'fluent-ffmpeg';function _0x5b1c(_0x247e40,_0x2a2287){const _0x243f9c=_0x243f();return _0x5b1c=function(_0x5b1c77,_0x525d15){_0x5b1c77=_0x5b1c77-0x127;let _0x220ae0=_0x243f9c[_0x5b1c77];return _0x220ae0;},_0x5b1c(_0x247e40,_0x2a2287);}function _0x243f(){const _0x1c305c=['ndFYe','9vosblp','1957744UfXBdQ','join','face','getImageSize','69594TqVWZz','[商城表情]','PTT','writeFile','Ori','TEXT','[骰子]','ptt','BqhHj','AniStickerType','sysface','size','MFACE','uoCKf','LbEba','RPS','width','https://www.bilibili.com/','markdown','copyFile','rps','9mYvIhj','ark','793532XFYZla','PIC','8ohIgSx','96OZrGcs','then','HlSQE','video','oiGDS','QghPE','file','Bot\x20Test','emoji','PmSAz','文件异常,大小为0','FILE','FACE','dice','VIDEO','string','FEHzs','2038080ylzhsR','ZYfBe','jpg','JjfHY','error','toString','270dwespB','screenshots','70806UMtRJu','ySbiY','YmHfp','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','reply','qRRaf','Iqgcw','364hJnBLY','TuLpr','734929fYeHEe','AniStickerId','AniStickerPackId','uploadFile','sep','mp4','_0.png','VgfUe','height','MARKDOWN','Thumb','catch','QDes','replace','bopim','IPhnm','cZKJY','QSid','rHwgu','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','[包剪锤]','xdTvg','227414sneklH'];_0x243f=function(){return _0x1c305c;};return _0x243f();}import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0xfd1802 from'./face_config.json';import*as _0x11c051 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x5e83bc){const _0x1cdaf2=_0x5b1c;return{'elementType':ElementType[_0x1cdaf2(0x155)],'elementId':'','textElement':{'content':_0x5e83bc,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x30c4e5,_0x5930f4,_0x3f8b25,_0x1d8ae0){const _0x2541e0=_0x5b1c;return{'elementType':ElementType[_0x2541e0(0x155)],'elementId':'','textElement':{'content':'@'+_0x1d8ae0,'atType':_0x3f8b25,'atUid':_0x30c4e5,'atTinyId':'','atNtUid':_0x5930f4}};}static[_0x5d3a0d(0x12e)](_0x37825e,_0x2e1c6e,_0x31e907,_0x57daea){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x37825e,'replayMsgId':_0x2e1c6e,'senderUin':_0x31e907,'senderUinStr':_0x57daea}};}static async['pic'](_0x2218e5,_0x50e9ed='',_0x516c00=0x0){const _0xc785ae=_0x5d3a0d,_0x24b236={'LbEba':function(_0x5deab0,_0x3f7e8e){return _0x5deab0===_0x3f7e8e;},'YmHfp':_0xc785ae(0x174),'qRRaf':function(_0x11ea67,_0x44a4dc){return _0x11ea67(_0x44a4dc);}},{md5:_0x440b18,fileName:_0x1a223a,path:_0x5c42c7,fileSize:_0x3e00f9}=await NTQQFileApi[_0xc785ae(0x136)](_0x2218e5,ElementType[_0xc785ae(0x168)],_0x516c00);if(_0x24b236[_0xc785ae(0x15e)](_0x3e00f9,0x0))throw _0x24b236[_0xc785ae(0x12c)];const _0x21a220=await NTQQFileApi[_0xc785ae(0x14f)](_0x2218e5),_0x37dc6d={'md5HexStr':_0x440b18,'fileSize':_0x3e00f9['toString'](),'picWidth':_0x21a220?.[_0xc785ae(0x160)],'picHeight':_0x21a220?.['height'],'fileName':_0x1a223a,'sourcePath':_0x5c42c7,'original':!![],'picType':_0x24b236[_0xc785ae(0x12f)](isGIF,_0x2218e5)?PicType['gif']:PicType[_0xc785ae(0x17d)],'picSubType':_0x516c00,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x50e9ed};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x37dc6d};}static async[_0x5d3a0d(0x170)](_0x40d761,_0x6efa6='',_0x16fad5=''){const _0x2bfc34=_0x5d3a0d,_0x48390f={'diIrO':function(_0x17335a,_0xfc7b0e){return _0x17335a===_0xfc7b0e;},'rHwgu':_0x2bfc34(0x174),'ySbiY':function(_0x7e5c8d,_0x442d90){return _0x7e5c8d||_0x442d90;}},{md5:_0xb1c7e0,fileName:_0x20e5d8,path:_0x1869ae,fileSize:_0x518a0b}=await NTQQFileApi[_0x2bfc34(0x136)](_0x40d761,ElementType[_0x2bfc34(0x175)]);if(_0x48390f['diIrO'](_0x518a0b,0x0))throw _0x48390f[_0x2bfc34(0x145)];const _0x2dfc06={'elementType':ElementType[_0x2bfc34(0x175)],'elementId':'','fileElement':{'fileName':_0x48390f[_0x2bfc34(0x12b)](_0x6efa6,_0x20e5d8),'folderId':_0x16fad5,'filePath':_0x1869ae,'fileSize':_0x518a0b[_0x2bfc34(0x127)]()}};return _0x2dfc06;}static async[_0x5d3a0d(0x16d)](_0x155ae3,_0x438c28='',_0x573a35=''){const _0x233523=_0x5d3a0d,_0x3a28fb={'TuLpr':function(_0x773b22,_0x379675){return _0x773b22(_0x379675);},'Iqgcw':function(_0x4f876c,_0x119025){return _0x4f876c+_0x119025;},'BqhHj':function(_0x3991ed,_0x205088){return _0x3991ed+_0x205088;},'FEHzs':function(_0x6cdad7,_0x49210d){return _0x6cdad7(_0x49210d);},'QghPE':function(_0x14165e,_0x3caffa,_0x33903f){return _0x14165e(_0x3caffa,_0x33903f);},'xdTvg':function(_0x1baee2,_0x34eee3){return _0x1baee2(_0x34eee3);}},{fileName:_0x1e3bce,path:_0x2ec9e0,fileSize:_0x407f25,md5:_0x204c98}=await NTQQFileApi[_0x233523(0x136)](_0x155ae3,ElementType[_0x233523(0x178)]);if(_0x407f25===0x0)throw _0x233523(0x174);let _0x4f53d5=_0x2ec9e0[_0x233523(0x140)](_0x11c051[_0x233523(0x137)]+_0x233523(0x154)+_0x11c051[_0x233523(0x137)],_0x11c051['sep']+_0x233523(0x13d)+_0x11c051[_0x233523(0x137)]);_0x4f53d5=_0x11c051['dirname'](_0x4f53d5);let _0x508325={'width':0x780,'height':0x438,'time':0xf,'format':_0x233523(0x138),'size':_0x407f25,'filePath':_0x155ae3};try{_0x508325=await _0x3a28fb[_0x233523(0x17a)](getVideoInfo,_0x2ec9e0);}catch(_0x598efb){_0x3a28fb[_0x233523(0x16f)](logError,'获取视频信息失败',_0x598efb);}const _0x1f181f=new Promise((_0x42683e,_0x50076d)=>{const _0x3e174a=_0x233523,_0x2d9963={'PmSAz':function(_0x10443b,_0x1ba0bd){return _0x10443b(_0x1ba0bd);}},_0xf3ec09=_0x204c98+_0x3e174a(0x139),_0x37f628=_0x11c051[_0x3e174a(0x14d)](_0x4f53d5,_0xf3ec09);_0x3a28fb[_0x3e174a(0x132)](_0x3c43b0,_0x155ae3)['on']('end',()=>{})['on'](_0x3e174a(0x17f),_0x552aeb=>{const _0x5f53ed=_0x3e174a,_0xb8c70f={'rPUNj':function(_0x4a4bcc,_0x355a64){const _0x3b6288=_0x5b1c;return _0x3a28fb[_0x3b6288(0x132)](_0x4a4bcc,_0x355a64);},'IPhnm':function(_0x476fd7,_0x2d72bc){const _0x409f73=_0x5b1c;return _0x3a28fb[_0x409f73(0x132)](_0x476fd7,_0x2d72bc);}};logDebug('获取视频封面失败,使用默认封面',_0x552aeb),_0x573a35?_0x3260ec[_0x5f53ed(0x163)](_0x573a35,_0x37f628)[_0x5f53ed(0x16b)](()=>{_0xb8c70f['rPUNj'](_0x42683e,_0x37f628);})[_0x5f53ed(0x13e)](_0x50076d):_0x3260ec[_0x5f53ed(0x153)](_0x37f628,defaultVideoThumb)['then'](()=>{const _0xaff46c=_0x5f53ed;_0xb8c70f[_0xaff46c(0x142)](_0x42683e,_0x37f628);})['catch'](_0x50076d);})[_0x3e174a(0x129)]({'timestamps':[0x0],'filename':_0xf3ec09,'folder':_0x4f53d5,'size':_0x3a28fb[_0x3e174a(0x130)](_0x3a28fb[_0x3e174a(0x158)](_0x508325[_0x3e174a(0x160)],'x'),_0x508325[_0x3e174a(0x13b)])})['on']('end',()=>{const _0x1a2cd6=_0x3e174a;_0x2d9963[_0x1a2cd6(0x173)](_0x42683e,_0x37f628);});}),_0x23ace2=new Map(),_0x31d1d8=await _0x1f181f,_0xbc1d65=(await _0x3260ec['stat'](_0x31d1d8))[_0x233523(0x15b)];_0x23ace2['set'](0x0,_0x31d1d8);const _0x54ea44=await _0x3a28fb[_0x233523(0x148)](calculateFileMD5,_0x31d1d8),_0x193ffb={'elementType':ElementType[_0x233523(0x178)],'elementId':'','videoElement':{'fileName':_0x438c28||_0x1e3bce,'filePath':_0x2ec9e0,'videoMd5':_0x204c98,'thumbMd5':_0x54ea44,'fileTime':_0x508325['time'],'thumbPath':_0x23ace2,'thumbSize':_0xbc1d65,'thumbWidth':_0x508325[_0x233523(0x160)],'thumbHeight':_0x508325[_0x233523(0x13b)],'fileSize':_0x3a28fb[_0x233523(0x158)]('',_0x407f25)}};return _0x193ffb;}static async[_0x5d3a0d(0x157)](_0x3598c9){const _0x2b833a=_0x5d3a0d,_0xa8284={'bopim':function(_0x28d04a,_0x21afdb){return _0x28d04a(_0x21afdb);},'HlSQE':'语音转换失败,\x20请检查语音文件是否正常','cZKJY':function(_0x369ffb,_0xc8ef76){return _0x369ffb===_0xc8ef76;}},{converted:_0x342809,path:_0x30aecd,duration:_0x3ae9bd}=await _0xa8284[_0x2b833a(0x141)](encodeSilk,_0x3598c9);if(!_0x30aecd)throw _0xa8284[_0x2b833a(0x16c)];const {md5:_0x2d6b54,fileName:_0x4ae5c0,path:_0xbcfb01,fileSize:_0x31ec4a}=await NTQQFileApi[_0x2b833a(0x136)](_0x30aecd,ElementType[_0x2b833a(0x152)]);if(_0xa8284[_0x2b833a(0x143)](_0x31ec4a,0x0))throw _0x2b833a(0x174);return _0x342809&&_0x3260ec['unlink'](_0x30aecd)[_0x2b833a(0x16b)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x4ae5c0,'filePath':_0xbcfb01,'md5HexStr':_0x2d6b54,'fileSize':_0x31ec4a,'duration':_0x3ae9bd||0x1,'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x5d3a0d(0x14e)](_0x237048){const _0x543f18=_0x5d3a0d,_0x594d4b={'JjfHY':function(_0x2052c2,_0x60043a){return _0x2052c2>=_0x60043a;}},_0x3c7b46=_0xfd1802[_0x543f18(0x15a)],_0x2b34b2=_0xfd1802[_0x543f18(0x172)],_0x3afe91=_0x3c7b46['find'](_0x852085=>_0x852085[_0x543f18(0x144)]===_0x237048[_0x543f18(0x127)]());_0x237048=parseInt(_0x237048[_0x543f18(0x127)]());let _0x5df589=0x1;return _0x594d4b[_0x543f18(0x17e)](_0x237048,0xde)&&(_0x5df589=0x2),_0x3afe91[_0x543f18(0x159)]&&(_0x5df589=0x3),{'elementType':ElementType[_0x543f18(0x176)],'elementId':'','faceElement':{'faceIndex':_0x237048,'faceType':_0x5df589,'faceText':_0x3afe91[_0x543f18(0x13f)],'stickerId':_0x3afe91[_0x543f18(0x134)],'stickerType':_0x3afe91[_0x543f18(0x159)],'packId':_0x3afe91[_0x543f18(0x135)],'sourceType':0x1}};}static['mface'](_0x19446f,_0x594d47,_0x573c12,_0x2b01a5){const _0x1d4bc6=_0x5d3a0d;return{'elementType':ElementType[_0x1d4bc6(0x15c)],'marketFaceElement':{'emojiPackageId':_0x19446f,'emojiId':_0x594d47,'key':_0x573c12,'faceName':_0x2b01a5||mFaceCache['get'](_0x594d47)||_0x1d4bc6(0x151)}};}static[_0x5d3a0d(0x177)](_0x1b8725){const _0x2c0ff7=_0x5d3a0d,_0x12ad63={'MKBIC':_0x2c0ff7(0x156)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2c0ff7(0x177)],'faceType':FaceType[_0x2c0ff7(0x177)],'faceText':_0x12ad63['MKBIC'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5d3a0d(0x164)](_0x4b951d){const _0x68b34d=_0x5d3a0d,_0x133ee1={'iiRNW':_0x68b34d(0x147)};return{'elementType':ElementType[_0x68b34d(0x176)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x68b34d(0x15f)],'faceText':_0x133ee1['iiRNW'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5d3a0d(0x166)](_0x11e3e1){const _0x440ac5=_0x5d3a0d,_0x14daad={'ndFYe':function(_0x17e5d7,_0x4473ee){return _0x17e5d7!==_0x4473ee;}};return _0x14daad[_0x440ac5(0x14a)](typeof _0x11e3e1,_0x440ac5(0x179))&&(_0x11e3e1=JSON['stringify'](_0x11e3e1)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x11e3e1,'linkInfo':null,'subElementType':null}};}static[_0x5d3a0d(0x162)](_0xeb064e){const _0x4dccd8=_0x5d3a0d;return{'elementType':ElementType[_0x4dccd8(0x13c)],'elementId':'','markdownElement':{'content':_0xeb064e}};}static async['miniapp'](){const _0x2b37e8=_0x5d3a0d,_0x116f04={'uoCKf':function(_0x4c0827,_0x307cdf){return _0x4c0827(_0x307cdf);},'oiGDS':_0x2b37e8(0x171),'KcCRt':_0x2b37e8(0x12d),'ZYfBe':_0x2b37e8(0x161),'VgfUe':_0x2b37e8(0x146)};let _0x149a7b=await _0x116f04[_0x2b37e8(0x15d)](SignMiniApp,{'prompt':_0x116f04['oiGDS'],'title':_0x116f04[_0x2b37e8(0x16e)],'preview':_0x116f04['KcCRt'],'jumpUrl':_0x116f04[_0x2b37e8(0x17c)],'tag':_0x116f04[_0x2b37e8(0x16e)],'tagIcon':_0x116f04[_0x2b37e8(0x13a)],'source':_0x2b37e8(0x171),'sourcelogo':_0x116f04[_0x2b37e8(0x13a)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x149a7b,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index be0719fe..15bb8a5e 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x16bb00,_0x529479){var _0x58acd3=_0x1f52,_0x83850c=_0x16bb00();while(!![]){try{var _0x4dba7e=parseInt(_0x58acd3(0x9d))/0x1*(parseInt(_0x58acd3(0xa1))/0x2)+parseInt(_0x58acd3(0xa0))/0x3+parseInt(_0x58acd3(0xa3))/0x4+parseInt(_0x58acd3(0x9f))/0x5*(-parseInt(_0x58acd3(0xa7))/0x6)+parseInt(_0x58acd3(0xa4))/0x7*(-parseInt(_0x58acd3(0xa9))/0x8)+-parseInt(_0x58acd3(0xa6))/0x9*(-parseInt(_0x58acd3(0xa2))/0xa)+-parseInt(_0x58acd3(0xa8))/0xb;if(_0x4dba7e===_0x529479)break;else _0x83850c['push'](_0x83850c['shift']());}catch(_0x1fff63){_0x83850c['push'](_0x83850c['shift']());}}}(_0x1b00,0x34834));function _0x1b00(){var _0x10442f=['5504mcwaus','80630UmgXPd','1604756KCBrYF','18529JSUqSe','owner','297HsTJAf','18eDuHWE','7734155TEIoGK','824NBPxaQ','admin','138jwsjMm','zkguU','192185bTvtCe','777315oARlcQ'];_0x1b00=function(){return _0x10442f;};return _0x1b00();}function _0x1f52(_0x4df769,_0x56ba16){var _0x1b0022=_0x1b00();return _0x1f52=function(_0x1f528c,_0x50aa52){_0x1f528c=_0x1f528c-0x9c;var _0x4b787f=_0x1b0022[_0x1f528c];return _0x4b787f;},_0x1f52(_0x4df769,_0x56ba16);}export var GroupMemberRole;(function(_0x1e5125){var _0x1b0d48=_0x1f52,_0x1a252a={'zkguU':'normal'};_0x1e5125[_0x1e5125[_0x1a252a[_0x1b0d48(0x9e)]]=0x2]=_0x1a252a[_0x1b0d48(0x9e)],_0x1e5125[_0x1e5125[_0x1b0d48(0x9c)]=0x3]=_0x1b0d48(0x9c),_0x1e5125[_0x1e5125[_0x1b0d48(0xa5)]=0x4]='owner';}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x5e58f1,_0x301276){var _0x1fe501=_0x2b6a,_0x4a0ddb=_0x5e58f1();while(!![]){try{var _0x4779fc=-parseInt(_0x1fe501(0x17c))/0x1*(parseInt(_0x1fe501(0x17d))/0x2)+parseInt(_0x1fe501(0x181))/0x3+-parseInt(_0x1fe501(0x187))/0x4*(-parseInt(_0x1fe501(0x182))/0x5)+-parseInt(_0x1fe501(0x17b))/0x6+-parseInt(_0x1fe501(0x17a))/0x7*(-parseInt(_0x1fe501(0x17f))/0x8)+parseInt(_0x1fe501(0x185))/0x9+-parseInt(_0x1fe501(0x17e))/0xa*(-parseInt(_0x1fe501(0x184))/0xb);if(_0x4779fc===_0x301276)break;else _0x4a0ddb['push'](_0x4a0ddb['shift']());}catch(_0x2d4848){_0x4a0ddb['push'](_0x4a0ddb['shift']());}}}(_0x43ff,0x19aae));function _0x2b6a(_0x49e240,_0x4b7113){var _0x43ff78=_0x43ff();return _0x2b6a=function(_0x2b6a86,_0x5eabc9){_0x2b6a86=_0x2b6a86-0x17a;var _0x36ba6d=_0x43ff78[_0x2b6a86];return _0x36ba6d;},_0x2b6a(_0x49e240,_0x4b7113);}export var GroupMemberRole;function _0x43ff(){var _0x1524fa=['2gmIxOu','317230gWUpOp','560GCGiPt','TpkTA','538095rIsZMI','1045Rjhkly','kqrJj','11ZlRdZU','1552869EvVbFU','normal','604WlMrVk','owner','2569ETHJdk','1138578aSfpbd','145981xqntwI'];_0x43ff=function(){return _0x1524fa;};return _0x43ff();}(function(_0xbf370f){var _0x35bb7e=_0x2b6a,_0x147c8e={'kqrJj':_0x35bb7e(0x186),'KTsHE':'admin','TpkTA':_0x35bb7e(0x188)};_0xbf370f[_0xbf370f[_0x35bb7e(0x186)]=0x2]=_0x147c8e[_0x35bb7e(0x183)],_0xbf370f[_0xbf370f[_0x147c8e['KTsHE']]=0x3]='admin',_0xbf370f[_0xbf370f[_0x147c8e[_0x35bb7e(0x180)]]=0x4]=_0x147c8e[_0x35bb7e(0x180)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index e332ae83..103ba7a6 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x5f2ac8,_0x5d8d8e){var _0x3101c7=_0x327f,_0x32caa2=_0x5f2ac8();while(!![]){try{var _0x64bad=-parseInt(_0x3101c7(0xd4))/0x1+-parseInt(_0x3101c7(0xd6))/0x2*(-parseInt(_0x3101c7(0xd9))/0x3)+-parseInt(_0x3101c7(0xd7))/0x4+-parseInt(_0x3101c7(0xdd))/0x5+parseInt(_0x3101c7(0xd5))/0x6*(parseInt(_0x3101c7(0xdb))/0x7)+parseInt(_0x3101c7(0xda))/0x8*(parseInt(_0x3101c7(0xd8))/0x9)+parseInt(_0x3101c7(0xdc))/0xa*(parseInt(_0x3101c7(0xd3))/0xb);if(_0x64bad===_0x5d8d8e)break;else _0x32caa2['push'](_0x32caa2['shift']());}catch(_0x5d86a2){_0x32caa2['push'](_0x32caa2['shift']());}}}(_0x41cc,0xe0441));function _0x327f(_0x2fda65,_0xe35b27){var _0x41cc30=_0x41cc();return _0x327f=function(_0x327f3e,_0x394bc0){_0x327f3e=_0x327f3e-0xd3;var _0x46f144=_0x41cc30[_0x327f3e];return _0x46f144;},_0x327f(_0x2fda65,_0xe35b27);}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x41cc(){var _0x547364=['9gIQHEG','3jGVPvE','5733248CfUkZQ','21KJSNsi','337670uhljqk','9048010kQWmuz','979EGshqq','1365686vkzant','844770HRAWuN','1588778jkhksC','3379248sBULpx'];_0x41cc=function(){return _0x547364;};return _0x41cc();}export*from'./constructor'; \ No newline at end of file +(function(_0x10f32c,_0x2e9f3c){var _0x45c571=_0x1933,_0x47b273=_0x10f32c();while(!![]){try{var _0x4ea979=parseInt(_0x45c571(0x17e))/0x1*(parseInt(_0x45c571(0x184))/0x2)+-parseInt(_0x45c571(0x180))/0x3*(parseInt(_0x45c571(0x17a))/0x4)+parseInt(_0x45c571(0x17f))/0x5*(-parseInt(_0x45c571(0x182))/0x6)+parseInt(_0x45c571(0x181))/0x7*(parseInt(_0x45c571(0x185))/0x8)+parseInt(_0x45c571(0x179))/0x9+-parseInt(_0x45c571(0x183))/0xa*(parseInt(_0x45c571(0x17b))/0xb)+parseInt(_0x45c571(0x17c))/0xc*(parseInt(_0x45c571(0x17d))/0xd);if(_0x4ea979===_0x2e9f3c)break;else _0x47b273['push'](_0x47b273['shift']());}catch(_0x30ca12){_0x47b273['push'](_0x47b273['shift']());}}}(_0x2325,0xea61e));function _0x2325(){var _0xfe0dad=['5BmhxND','345297vypbQL','126XkzKyH','9531858YXfFXm','94210SKGnwD','18sfNwaH','584600dHoHMZ','4209066qqXtCk','4MKWrsL','1023YfpXfE','19162788lXKFyG','13SAGRDz','17778UtmykQ'];_0x2325=function(){return _0xfe0dad;};return _0x2325();}export*from'./user';function _0x1933(_0x41d690,_0x3684fa){var _0x23256b=_0x2325();return _0x1933=function(_0x193390,_0x3ed18a){_0x193390=_0x193390-0x179;var _0x54d199=_0x23256b[_0x193390];return _0x54d199;},_0x1933(_0x41d690,_0x3684fa);}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 895932a1..4671226d 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x5a9a58=_0x4949;function _0x37f4(){var _0x380197=['gYlyK','VIDEO','IPqlm','ijUpJ','249909gZpWTw','25JpqGbC','dsKaS','RPS','face','fHbkQ','INVITE_NEW_MEMBER','123366amOmOZ','FILE','414OqtyfN','kMbed','gif','llgpC','YvRnv','tYbiH','60QXNFyg','friend','split','jjLIw','ARK','MARKDOWN','36056PCihym','normal','mHlMn','FACE','528ACoIER','memberIncrease','MEMBER_NEW_TITLE','SrIOG','YPmxy','sjSWz','ADVcm','eBUMU','7966YBZyHY','yXQbu','lhBTv','NbSbj','PIC','211656FQrEpS','PUAeH','REPLY','slDkK','hfqTu','OronX','vkXly','https://gchat.qpic.cn','group','chatDevice','LsIJd','notAt','RhYMb','jpg','Symoi','160444NmLsPM','temp','KccQs','dice','2263790tsqmWZ','8gKpIgC','https://multimedia.nt.qq.com.cn'];_0x37f4=function(){return _0x380197;};return _0x37f4();}(function(_0x4a5777,_0x4ad64e){var _0x53abdc=_0x4949,_0x415f91=_0x4a5777();while(!![]){try{var _0x2a7b58=-parseInt(_0x53abdc(0x17b))/0x1+-parseInt(_0x53abdc(0x18f))/0x2*(-parseInt(_0x53abdc(0x19c))/0x3)+-parseInt(_0x53abdc(0x18a))/0x4*(-parseInt(_0x53abdc(0x196))/0x5)+parseInt(_0x53abdc(0x16e))/0x6*(parseInt(_0x53abdc(0x176))/0x7)+-parseInt(_0x53abdc(0x1aa))/0x8*(-parseInt(_0x53abdc(0x19e))/0x9)+-parseInt(_0x53abdc(0x18e))/0xa+parseInt(_0x53abdc(0x195))/0xb*(-parseInt(_0x53abdc(0x1a4))/0xc);if(_0x2a7b58===_0x4ad64e)break;else _0x415f91['push'](_0x415f91['shift']());}catch(_0x1e2976){_0x415f91['push'](_0x415f91['shift']());}}}(_0x37f4,0x1d82f));export var ElementType;(function(_0x403e2a){var _0x264507=_0x4949,_0x4b29ab={'LsIJd':'3|6|8|2|9|1|4|0|5|7','dsKaS':'ARK','mHlMn':_0x264507(0x16d),'NbSbj':'PTT','eBUMU':'TEXT','ADVcm':_0x264507(0x17d),'tYbiH':'MFACE','lhBTv':_0x264507(0x17a),'vkXly':_0x264507(0x1a9),'tAOeJ':_0x264507(0x19d),'PUAeH':_0x264507(0x192)},_0x402c46=_0x4b29ab[_0x264507(0x185)][_0x264507(0x1a6)]('|'),_0x1e5e6e=0x0;while(!![]){switch(_0x402c46[_0x1e5e6e++]){case'0':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x197)]]=0xa]=_0x264507(0x1a8);continue;case'1':_0x403e2a[_0x403e2a[_0x4b29ab['mHlMn']]=0x6]=_0x4b29ab[_0x264507(0x16c)];continue;case'2':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x179)]]=0x4]=_0x4b29ab['NbSbj'];continue;case'3':_0x403e2a[_0x403e2a[_0x4b29ab['eBUMU']]=0x1]=_0x4b29ab[_0x264507(0x175)];continue;case'4':_0x403e2a[_0x403e2a[_0x4b29ab['ADVcm']]=0x7]=_0x4b29ab[_0x264507(0x174)];continue;case'5':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x1a3)]]=0xb]=_0x4b29ab['tYbiH'];continue;case'6':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x178)]]=0x2]='PIC';continue;case'7':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x181)]]=0xe]='MARKDOWN';continue;case'8':_0x403e2a[_0x403e2a[_0x264507(0x19d)]=0x3]=_0x4b29ab['tAOeJ'];continue;case'9':_0x403e2a[_0x403e2a[_0x4b29ab[_0x264507(0x17c)]]=0x5]=_0x264507(0x192);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x351cd2){var _0x568d33=_0x4949,_0x409023={'KccQs':_0x568d33(0x1a0),'PEAGN':_0x568d33(0x188)};_0x351cd2[_0x351cd2[_0x409023['KccQs']]=0x7d0]=_0x409023[_0x568d33(0x18c)],_0x351cd2[_0x351cd2[_0x409023['PEAGN']]=0x3e8]=_0x409023['PEAGN'];}(PicType||(PicType={})));export var PicSubType;(function(_0x330096){var _0x414679=_0x4949,_0x2b3959={'YPmxy':_0x414679(0x1ab),'Symoi':_0x414679(0x199)};_0x330096[_0x330096[_0x2b3959[_0x414679(0x172)]]=0x0]=_0x2b3959[_0x414679(0x172)],_0x330096[_0x330096[_0x2b3959[_0x414679(0x189)]]=0x1]=_0x414679(0x199);}(PicSubType||(PicSubType={})));function _0x4949(_0x50e004,_0x12cfee){var _0x37f4bd=_0x37f4();return _0x4949=function(_0x49496c,_0x4fb0ff){_0x49496c=_0x49496c-0x16c;var _0x320641=_0x37f4bd[_0x49496c];return _0x320641;},_0x4949(_0x50e004,_0x12cfee);}export var AtType;(function(_0x2e2ccf){var _0xb5b6a4=_0x4949,_0x455b8a={'IPqlm':_0xb5b6a4(0x186),'SrIOG':'atAll','ijUpJ':'atUser'};_0x2e2ccf[_0x2e2ccf[_0xb5b6a4(0x186)]=0x0]=_0x455b8a[_0xb5b6a4(0x193)],_0x2e2ccf[_0x2e2ccf['atAll']=0x1]=_0x455b8a[_0xb5b6a4(0x171)],_0x2e2ccf[_0x2e2ccf[_0x455b8a[_0xb5b6a4(0x194)]]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x1cba8b){var _0x1c0cff=_0x4949,_0x462f87={'jjLIw':_0x1c0cff(0x1a5),'fylbZ':_0x1c0cff(0x183),'hfqTu':_0x1c0cff(0x184),'YvRnv':_0x1c0cff(0x18b)};_0x1cba8b[_0x1cba8b[_0x462f87[_0x1c0cff(0x1a7)]]=0x1]=_0x462f87[_0x1c0cff(0x1a7)],_0x1cba8b[_0x1cba8b[_0x1c0cff(0x183)]=0x2]=_0x462f87['fylbZ'],_0x1cba8b[_0x1cba8b[_0x462f87[_0x1c0cff(0x17f)]]=0x8]=_0x462f87[_0x1c0cff(0x17f)],_0x1cba8b[_0x1cba8b[_0x1c0cff(0x18b)]=0x64]=_0x462f87[_0x1c0cff(0x1a2)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x5a9a58(0x182);export const IMAGE_HTTP_HOST_NT=_0x5a9a58(0x190);export var GrayTipElementSubType;(function(_0x12a09c){var _0x41554f=_0x5a9a58,_0x41e9da={'OronX':_0x41554f(0x19b),'gYlyK':_0x41554f(0x170)};_0x12a09c[_0x12a09c[_0x41e9da[_0x41554f(0x180)]]=0xc]=_0x41554f(0x19b),_0x12a09c[_0x12a09c[_0x41e9da[_0x41554f(0x191)]]=0x11]=_0x41e9da[_0x41554f(0x191)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x5c05f2){var _0x24ad62=_0x5a9a58,_0x335a08={'fHbkQ':_0x24ad62(0x1ab),'yXQbu':'normal2','ZhPJj':_0x24ad62(0x18d)};_0x5c05f2[_0x5c05f2[_0x335a08[_0x24ad62(0x19a)]]=0x1]=_0x335a08[_0x24ad62(0x19a)],_0x5c05f2[_0x5c05f2[_0x335a08['yXQbu']]=0x2]=_0x335a08[_0x24ad62(0x177)],_0x5c05f2[_0x5c05f2[_0x24ad62(0x18d)]=0x3]=_0x335a08['ZhPJj'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x5d7b20){var _0x3d76d7=_0x5a9a58,_0x484995={'RhYMb':_0x3d76d7(0x18d),'llgpC':_0x3d76d7(0x198)};_0x5d7b20[_0x5d7b20[_0x484995[_0x3d76d7(0x187)]]=0x166]=_0x484995[_0x3d76d7(0x187)],_0x5d7b20[_0x5d7b20[_0x3d76d7(0x198)]=0x167]=_0x484995[_0x3d76d7(0x1a1)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x5996ae){var _0x360870=_0x5a9a58,_0x1183cc={'sjSWz':_0x360870(0x16f),'slDkK':'kicked','kMbed':'ban'};_0x5996ae[_0x5996ae[_0x1183cc[_0x360870(0x173)]]=0x1]=_0x1183cc[_0x360870(0x173)],_0x5996ae[_0x5996ae[_0x1183cc['slDkK']]=0x3]=_0x1183cc[_0x360870(0x17e)],_0x5996ae[_0x5996ae[_0x1183cc[_0x360870(0x19f)]]=0x8]=_0x1183cc['kMbed'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x309ab5=_0x115e;(function(_0x51d3cf,_0x297df7){var _0x8b719b=_0x115e,_0x5d5ce9=_0x51d3cf();while(!![]){try{var _0x52b659=parseInt(_0x8b719b(0x7a))/0x1*(parseInt(_0x8b719b(0x92))/0x2)+parseInt(_0x8b719b(0xaa))/0x3*(-parseInt(_0x8b719b(0x90))/0x4)+-parseInt(_0x8b719b(0xa6))/0x5+parseInt(_0x8b719b(0x8e))/0x6*(parseInt(_0x8b719b(0x89))/0x7)+-parseInt(_0x8b719b(0x7d))/0x8*(-parseInt(_0x8b719b(0xa8))/0x9)+-parseInt(_0x8b719b(0x81))/0xa*(parseInt(_0x8b719b(0x8a))/0xb)+parseInt(_0x8b719b(0x83))/0xc;if(_0x52b659===_0x297df7)break;else _0x5d5ce9['push'](_0x5d5ce9['shift']());}catch(_0x1cb4eb){_0x5d5ce9['push'](_0x5d5ce9['shift']());}}}(_0x2f67,0x7240f));export var ElementType;function _0x2f67(){var _0x46ee89=['nkXzq','8|4|6|0|5|1|3|2|7|9','face','FACE','YizTQ','INVITE_NEW_MEMBER','friend','aQYqZ','VItqy','PTT','JLxzg','normal2','temp','ban','xcaeB','jlYZq','kicked','TEXT','VIDEO','efliP','5yrRGFz','gif','LVWjR','297296tIEopC','PTEEY','normal','TkxaQ','3686290hfAxGM','xaLkP','13643748ILqDxR','https://multimedia.nt.qq.com.cn','qXzXg','xLZod','chatDevice','split','28721VEQgvp','11pMcfzr','RMmnq','PIC','hBqcA','36bhtFSq','dice','2388nIAsPQ','MARKDOWN','314922DxGyrB','Zeltt','cSNXK','MFACE','wseAr','REPLY','ARK','group','JiAUX','NtALG','notAt','MEMBER_NEW_TITLE','TGcLp','cwiUh','IsLsf','jHbxw','pxbkF','FILE','UsngD','memberIncrease','2790580sHrIoB','ideNp','63uXHHny','QkAMP','4092KenMGe','atUser'];_0x2f67=function(){return _0x46ee89;};return _0x2f67();}(function(_0x3416e8){var _0x90f9ce=_0x115e,_0x2bf930={'vFNCX':_0x90f9ce(0xad),'xcaeB':_0x90f9ce(0xb5),'jlYZq':_0x90f9ce(0xaf),'PTEEY':'ARK','YizTQ':_0x90f9ce(0x97),'nkXzq':_0x90f9ce(0x8c),'ideNp':_0x90f9ce(0x78),'aQYqZ':_0x90f9ce(0xa3),'cwiUh':_0x90f9ce(0x95),'yjEae':'TEXT','TkxaQ':_0x90f9ce(0x91)},_0x474c86=_0x2bf930['vFNCX'][_0x90f9ce(0x88)]('|'),_0x3f2eb2=0x0;while(!![]){switch(_0x474c86[_0x3f2eb2++]){case'0':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0x74)]]=0x4]=_0x2bf930[_0x90f9ce(0x74)];continue;case'1':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0x75)]]=0x6]=_0x2bf930[_0x90f9ce(0x75)];continue;case'2':_0x3416e8[_0x3416e8[_0x90f9ce(0x98)]=0xa]=_0x2bf930[_0x90f9ce(0x7e)];continue;case'3':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0xb0)]]=0x7]=_0x90f9ce(0x97);continue;case'4':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0xac)]]=0x2]=_0x90f9ce(0x8c);continue;case'5':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0xa7)]]=0x5]=_0x2bf930[_0x90f9ce(0xa7)];continue;case'6':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0xb3)]]=0x3]=_0x2bf930[_0x90f9ce(0xb3)];continue;case'7':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0x9f)]]=0xb]=_0x2bf930[_0x90f9ce(0x9f)];continue;case'8':_0x3416e8[_0x3416e8[_0x90f9ce(0x77)]=0x1]=_0x2bf930['yjEae'];continue;case'9':_0x3416e8[_0x3416e8[_0x2bf930[_0x90f9ce(0x80)]]=0xe]=_0x2bf930[_0x90f9ce(0x80)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x115e(_0x31ff77,_0x682445){var _0x2f67b3=_0x2f67();return _0x115e=function(_0x115e93,_0xb05966){_0x115e93=_0x115e93-0x70;var _0xe9fa89=_0x2f67b3[_0x115e93];return _0xe9fa89;},_0x115e(_0x31ff77,_0x682445);}(function(_0xf3a97a){var _0xe07e12=_0x115e,_0x547465={'Zeltt':_0xe07e12(0x7b),'LVWjR':'jpg'};_0xf3a97a[_0xf3a97a[_0x547465[_0xe07e12(0x93)]]=0x7d0]=_0x547465[_0xe07e12(0x93)],_0xf3a97a[_0xf3a97a[_0x547465['LVWjR']]=0x3e8]=_0x547465[_0xe07e12(0x7c)];}(PicType||(PicType={})));export var PicSubType;(function(_0x36b4c7){var _0xedce16=_0x115e,_0x115e0a={'RMmnq':_0xedce16(0x7f),'xaLkP':_0xedce16(0xae)};_0x36b4c7[_0x36b4c7[_0x115e0a[_0xedce16(0x8b)]]=0x0]=_0xedce16(0x7f),_0x36b4c7[_0x36b4c7[_0x115e0a[_0xedce16(0x82)]]=0x1]=_0xedce16(0xae);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x24805e){var _0x4c85fa=_0x115e,_0x134769={'hBqcA':_0x4c85fa(0x9c),'NtALG':'atAll','efliP':_0x4c85fa(0xab)};_0x24805e[_0x24805e[_0x134769[_0x4c85fa(0x8d)]]=0x0]='notAt',_0x24805e[_0x24805e['atAll']=0x1]=_0x134769[_0x4c85fa(0x9b)],_0x24805e[_0x24805e[_0x134769['efliP']]=0x2]=_0x134769[_0x4c85fa(0x79)];}(AtType||(AtType={})));export var ChatType;(function(_0x4ddc0b){var _0x339bd2=_0x115e,_0x209c41={'TGcLp':_0x339bd2(0xb2),'JiAUX':_0x339bd2(0x99),'IsLsf':_0x339bd2(0x87),'jHbxw':_0x339bd2(0x72)};_0x4ddc0b[_0x4ddc0b[_0x209c41[_0x339bd2(0x9e)]]=0x1]=_0x209c41[_0x339bd2(0x9e)],_0x4ddc0b[_0x4ddc0b[_0x209c41[_0x339bd2(0x9a)]]=0x2]=_0x209c41[_0x339bd2(0x9a)],_0x4ddc0b[_0x4ddc0b[_0x209c41[_0x339bd2(0xa0)]]=0x8]=_0x209c41[_0x339bd2(0xa0)],_0x4ddc0b[_0x4ddc0b[_0x209c41[_0x339bd2(0xa1)]]=0x64]=_0x209c41[_0x339bd2(0xa1)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x309ab5(0x84);export var GrayTipElementSubType;(function(_0x41fede){var _0x1d94bb=_0x309ab5,_0x22f625={'VItqy':_0x1d94bb(0xb1),'wseAr':_0x1d94bb(0x9d)};_0x41fede[_0x41fede[_0x22f625[_0x1d94bb(0xb4)]]=0xc]=_0x22f625[_0x1d94bb(0xb4)],_0x41fede[_0x41fede[_0x22f625[_0x1d94bb(0x96)]]=0x11]=_0x22f625[_0x1d94bb(0x96)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x209913){var _0x21ed68=_0x309ab5,_0x15c4af={'xLZod':'normal','QkAMP':_0x21ed68(0x71),'JLxzg':_0x21ed68(0x8f)};_0x209913[_0x209913[_0x21ed68(0x7f)]=0x1]=_0x15c4af[_0x21ed68(0x86)],_0x209913[_0x209913[_0x15c4af[_0x21ed68(0xa9)]]=0x2]=_0x15c4af[_0x21ed68(0xa9)],_0x209913[_0x209913[_0x15c4af[_0x21ed68(0x70)]]=0x3]=_0x15c4af['JLxzg'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x4b6e79){var _0x54b827=_0x309ab5,_0x5c18d6={'qXzXg':'dice','cSNXK':'RPS'};_0x4b6e79[_0x4b6e79[_0x5c18d6[_0x54b827(0x85)]]=0x166]=_0x54b827(0x8f),_0x4b6e79[_0x4b6e79['RPS']=0x167]=_0x5c18d6[_0x54b827(0x94)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x43e359){var _0x19e0da=_0x309ab5,_0x13e489={'pxbkF':_0x19e0da(0xa5),'UsngD':_0x19e0da(0x76),'gDfgH':_0x19e0da(0x73)};_0x43e359[_0x43e359[_0x13e489[_0x19e0da(0xa2)]]=0x1]=_0x19e0da(0xa5),_0x43e359[_0x43e359[_0x13e489[_0x19e0da(0xa4)]]=0x3]=_0x13e489[_0x19e0da(0xa4)],_0x43e359[_0x43e359[_0x13e489['gDfgH']]=0x8]=_0x13e489['gDfgH'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index 2e87277e..b476c7bd 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0xb61317,_0x270df9){var _0x350d7d=_0x1b82,_0x2c1cb2=_0xb61317();while(!![]){try{var _0x194b80=parseInt(_0x350d7d(0x174))/0x1+-parseInt(_0x350d7d(0x16f))/0x2*(-parseInt(_0x350d7d(0x160))/0x3)+-parseInt(_0x350d7d(0x173))/0x4+-parseInt(_0x350d7d(0x15f))/0x5*(-parseInt(_0x350d7d(0x180))/0x6)+parseInt(_0x350d7d(0x183))/0x7*(parseInt(_0x350d7d(0x17b))/0x8)+-parseInt(_0x350d7d(0x176))/0x9*(parseInt(_0x350d7d(0x184))/0xa)+parseInt(_0x350d7d(0x175))/0xb;if(_0x194b80===_0x270df9)break;else _0x2c1cb2['push'](_0x2c1cb2['shift']());}catch(_0x1009f7){_0x2c1cb2['push'](_0x2c1cb2['shift']());}}}(_0x89dd,0xca22e));function _0x89dd(){var _0x57d508=['APPROVE','2010jFZTzR','BeElz','INVITE_ME','2149bfzEOX','730TZfHBi','1020slbJcN','362301cPXxAV','WAIT_HANDLE','ADMIN_UNSET','sMpYt','ADMIN_SET','split','bgOnP','ADMIN_UNSET_OTHER','6|1|4|0|5|2|7|3','iyMPa','hGoXN','NNALF','INVITED_JOIN','FBDOz','JOIN_REQUEST','2eStTxF','MEMBER_EXIT','QQMNX','approve','3947852BoqHWw','761072uLwvgM','6695612SRMfhu','119187owsdVq','IGNORE','jEdEh','cRrVb','reject','31864azdUYY','kSeDb','KICK_MEMBER','gvXqx'];_0x89dd=function(){return _0x57d508;};return _0x89dd();}export var GroupNotifyTypes;function _0x1b82(_0x1cafcc,_0x7ae8cf){var _0x89dd7f=_0x89dd();return _0x1b82=function(_0x1b82d6,_0x38cf55){_0x1b82d6=_0x1b82d6-0x15f;var _0x5b000b=_0x89dd7f[_0x1b82d6];return _0x5b000b;},_0x1b82(_0x1cafcc,_0x7ae8cf);}(function(_0x284136){var _0x9534f8=_0x1b82,_0x5d3de2={'FBDOz':_0x9534f8(0x168),'gvXqx':_0x9534f8(0x164),'jEdEh':_0x9534f8(0x16c),'NNALF':_0x9534f8(0x170),'cRrVb':_0x9534f8(0x16e),'hGoXN':_0x9534f8(0x17d),'QQMNX':_0x9534f8(0x182),'sMpYt':_0x9534f8(0x162)},_0x32da35=_0x5d3de2[_0x9534f8(0x16d)][_0x9534f8(0x165)]('|'),_0x4900e4=0x0;while(!![]){switch(_0x32da35[_0x4900e4++]){case'0':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x17e)]]=0x8]=_0x5d3de2[_0x9534f8(0x17e)];continue;case'1':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x178)]]=0x4]=_0x5d3de2['jEdEh'];continue;case'2':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x16b)]]=0xb]=_0x5d3de2[_0x9534f8(0x16b)];continue;case'3':_0x284136[_0x284136[_0x9534f8(0x167)]=0xd]='ADMIN_UNSET_OTHER';continue;case'4':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x179)]]=0x7]=_0x5d3de2[_0x9534f8(0x179)];continue;case'5':_0x284136[_0x284136['KICK_MEMBER']=0x9]=_0x5d3de2[_0x9534f8(0x16a)];continue;case'6':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x171)]]=0x1]=_0x5d3de2[_0x9534f8(0x171)];continue;case'7':_0x284136[_0x284136[_0x5d3de2[_0x9534f8(0x163)]]=0xc]=_0x5d3de2['sMpYt'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0xc13542){var _0xfa5986=_0x1b82,_0x1113f8={'iyMPa':_0xfa5986(0x177),'BeElz':_0xfa5986(0x161),'bgOnP':_0xfa5986(0x17f),'nespP':'REJECT'};_0xc13542[_0xc13542[_0x1113f8[_0xfa5986(0x169)]]=0x0]=_0x1113f8[_0xfa5986(0x169)],_0xc13542[_0xc13542[_0x1113f8[_0xfa5986(0x181)]]=0x1]=_0x1113f8[_0xfa5986(0x181)],_0xc13542[_0xc13542[_0x1113f8['bgOnP']]=0x2]=_0x1113f8[_0xfa5986(0x166)],_0xc13542[_0xc13542[_0x1113f8['nespP']]=0x3]=_0x1113f8['nespP'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x1da031){var _0x355448=_0x1b82,_0x556423={'kSeDb':_0x355448(0x172),'PIysw':_0x355448(0x17a)};_0x1da031[_0x1da031[_0x355448(0x172)]=0x1]=_0x556423[_0x355448(0x17c)],_0x1da031[_0x1da031[_0x556423['PIysw']]=0x2]=_0x355448(0x17a);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x3f80e2,_0x1fd9fa){var _0x4db2c2=_0x2568,_0x26b5a8=_0x3f80e2();while(!![]){try{var _0x1d050f=parseInt(_0x4db2c2(0x10a))/0x1*(parseInt(_0x4db2c2(0x11a))/0x2)+-parseInt(_0x4db2c2(0x105))/0x3+-parseInt(_0x4db2c2(0xf8))/0x4+-parseInt(_0x4db2c2(0x103))/0x5*(-parseInt(_0x4db2c2(0x101))/0x6)+-parseInt(_0x4db2c2(0x116))/0x7*(-parseInt(_0x4db2c2(0x117))/0x8)+parseInt(_0x4db2c2(0x107))/0x9*(-parseInt(_0x4db2c2(0xff))/0xa)+-parseInt(_0x4db2c2(0xf7))/0xb*(-parseInt(_0x4db2c2(0x108))/0xc);if(_0x1d050f===_0x1fd9fa)break;else _0x26b5a8['push'](_0x26b5a8['shift']());}catch(_0x334d60){_0x26b5a8['push'](_0x26b5a8['shift']());}}}(_0x5e19,0xad09a));export var GroupNotifyTypes;(function(_0x2daa8f){var _0x256526=_0x2568,_0x41fd14={'qzGYV':_0x256526(0x111),'DSsPo':_0x256526(0xfa),'IHGxR':'INVITE_ME','aQIHp':'INVITED_JOIN','ubIeI':_0x256526(0x109),'Fbbqm':'MEMBER_EXIT','LGjrP':'JOIN_REQUEST','WosKR':_0x256526(0x119),'yYpEW':_0x256526(0x104)},_0x4060a7=_0x41fd14['qzGYV'][_0x256526(0x114)]('|'),_0x2cdf47=0x0;while(!![]){switch(_0x4060a7[_0x2cdf47++]){case'0':_0x2daa8f[_0x2daa8f['ADMIN_UNSET_OTHER']=0xd]=_0x41fd14[_0x256526(0xfc)];continue;case'1':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0xfd)]]=0x1]=_0x41fd14[_0x256526(0xfd)];continue;case'2':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0x106)]]=0x4]=_0x256526(0x100);continue;case'3':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0xfe)]]=0x8]=_0x256526(0x109);continue;case'4':_0x2daa8f[_0x2daa8f['MEMBER_EXIT']=0xb]=_0x41fd14[_0x256526(0x10d)];continue;case'5':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0x113)]]=0x7]=_0x41fd14[_0x256526(0x113)];continue;case'6':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0x102)]]=0x9]='KICK_MEMBER';continue;case'7':_0x2daa8f[_0x2daa8f[_0x41fd14[_0x256526(0x118)]]=0xc]=_0x41fd14[_0x256526(0x118)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2e3b23){var _0x283a2e=_0x2568,_0x2c8a59={'QuSgm':'IGNORE','DBpOf':'WAIT_HANDLE','lEaZE':_0x283a2e(0xfb),'Vpcdv':'REJECT'};_0x2e3b23[_0x2e3b23[_0x2c8a59[_0x283a2e(0x110)]]=0x0]=_0x283a2e(0x10b),_0x2e3b23[_0x2e3b23[_0x2c8a59[_0x283a2e(0x10e)]]=0x1]=_0x2c8a59['DBpOf'],_0x2e3b23[_0x2e3b23[_0x2c8a59['lEaZE']]=0x2]=_0x2c8a59[_0x283a2e(0x115)],_0x2e3b23[_0x2e3b23[_0x2c8a59[_0x283a2e(0x10c)]]=0x3]=_0x2c8a59[_0x283a2e(0x10c)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x5e19(){var _0x4f918b=['7RdyDFk','10818864rshHDN','yYpEW','KICK_MEMBER','2HAjIBE','22fHFpoH','2786228mGgZXq','vrByd','ADMIN_UNSET_OTHER','APPROVE','DSsPo','IHGxR','ubIeI','43390zxDBcV','INVITED_JOIN','78cWsTjf','WosKR','70475pdnLrI','ADMIN_UNSET','1437684usDRMx','aQIHp','2025AiWEYP','747228kBZpve','ADMIN_SET','1200691UZHkNm','IGNORE','Vpcdv','Fbbqm','DBpOf','approve','QuSgm','1|2|5|3|6|4|7|0','reject','LGjrP','split','lEaZE'];_0x5e19=function(){return _0x4f918b;};return _0x5e19();}function _0x2568(_0x5b327d,_0x365b71){var _0x5e1930=_0x5e19();return _0x2568=function(_0x2568db,_0x57276b){_0x2568db=_0x2568db-0xf7;var _0xe417b7=_0x5e1930[_0x2568db];return _0xe417b7;},_0x2568(_0x5b327d,_0x365b71);}(function(_0x4181d2){var _0x20a7e9=_0x2568,_0x2f891a={'VltTA':_0x20a7e9(0x10f),'vrByd':'reject'};_0x4181d2[_0x4181d2[_0x2f891a['VltTA']]=0x1]=_0x2f891a['VltTA'],_0x4181d2[_0x4181d2[_0x2f891a[_0x20a7e9(0xf9)]]=0x2]=_0x20a7e9(0x112);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index b2b3bb95..8a320e73 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x1f8af7,_0x317fdc){var _0x5f1b78=_0x2e63,_0x200bb3=_0x1f8af7();while(!![]){try{var _0x21f0fc=parseInt(_0x5f1b78(0xd2))/0x1+-parseInt(_0x5f1b78(0xdb))/0x2*(parseInt(_0x5f1b78(0xd5))/0x3)+parseInt(_0x5f1b78(0xd6))/0x4*(parseInt(_0x5f1b78(0xcf))/0x5)+-parseInt(_0x5f1b78(0xd4))/0x6*(-parseInt(_0x5f1b78(0xda))/0x7)+parseInt(_0x5f1b78(0xd7))/0x8+-parseInt(_0x5f1b78(0xd1))/0x9*(parseInt(_0x5f1b78(0xd3))/0xa)+-parseInt(_0x5f1b78(0xd8))/0xb;if(_0x21f0fc===_0x317fdc)break;else _0x200bb3['push'](_0x200bb3['shift']());}catch(_0x44f1fb){_0x200bb3['push'](_0x200bb3['shift']());}}}(_0x4075,0x63dd2));export var Sex;function _0x2e63(_0x58fbd9,_0x56d0b1){var _0x4075fb=_0x4075();return _0x2e63=function(_0x2e6325,_0x380b99){_0x2e6325=_0x2e6325-0xcc;var _0x688cd6=_0x4075fb[_0x2e6325];return _0x688cd6;},_0x2e63(_0x58fbd9,_0x56d0b1);}function _0x4075(){var _0x5f5221=['jpbkW','female','47865JwrPne','male','17487iOMuvT','509975CHUXHv','2450XkEnsM','246264IPQEsx','97068WeqSms','36lTYijD','1929040iUZUHl','2278507Qadhle','unknown','49yFGVsm','2DyOUpi','BRJPV'];_0x4075=function(){return _0x5f5221;};return _0x4075();}(function(_0x594a14){var _0x5629ad=_0x2e63,_0x10a9d6={'jpbkW':_0x5629ad(0xd0),'BRJPV':_0x5629ad(0xd9)};_0x594a14[_0x594a14[_0x10a9d6[_0x5629ad(0xcd)]]=0x1]=_0x10a9d6['jpbkW'],_0x594a14[_0x594a14[_0x5629ad(0xce)]=0x2]=_0x5629ad(0xce),_0x594a14[_0x594a14[_0x10a9d6[_0x5629ad(0xcc)]]=0xff]=_0x10a9d6['BRJPV'];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x34ebcf,_0x457e8d){var _0x33d590=_0x19ba,_0x1e31fa=_0x34ebcf();while(!![]){try{var _0x5552ec=-parseInt(_0x33d590(0x1df))/0x1+parseInt(_0x33d590(0x1e2))/0x2*(parseInt(_0x33d590(0x1d8))/0x3)+-parseInt(_0x33d590(0x1e1))/0x4+parseInt(_0x33d590(0x1db))/0x5+-parseInt(_0x33d590(0x1dd))/0x6+parseInt(_0x33d590(0x1d9))/0x7+parseInt(_0x33d590(0x1da))/0x8;if(_0x5552ec===_0x457e8d)break;else _0x1e31fa['push'](_0x1e31fa['shift']());}catch(_0x29f55f){_0x1e31fa['push'](_0x1e31fa['shift']());}}}(_0xdb29,0xaab5c));function _0xdb29(){var _0x42ad39=['1866420XnNDFP','female','260755OAsOKi','ImKjf','4943616JOTiuf','2vFPTRv','2454798CzbwCh','1266272BhkcgB','8703920pSToca','2099025ChZeZq','unknown'];_0xdb29=function(){return _0x42ad39;};return _0xdb29();}function _0x19ba(_0x1f690d,_0x6759a1){var _0xdb292=_0xdb29();return _0x19ba=function(_0x19bade,_0x4ba7da){_0x19bade=_0x19bade-0x1d8;var _0x35abbc=_0xdb292[_0x19bade];return _0x35abbc;},_0x19ba(_0x1f690d,_0x6759a1);}export var Sex;(function(_0x514d9d){var _0x386cc1=_0x19ba,_0x529486={'ImKjf':'male','OeUCm':_0x386cc1(0x1de),'ElfoU':_0x386cc1(0x1dc)};_0x514d9d[_0x514d9d[_0x529486['ImKjf']]=0x1]=_0x529486[_0x386cc1(0x1e0)],_0x514d9d[_0x514d9d[_0x529486['OeUCm']]=0x2]=_0x529486['OeUCm'],_0x514d9d[_0x514d9d[_0x529486['ElfoU']]=0xff]=_0x386cc1(0x1dc);}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index d2793a52..e4f16be3 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x1aee2c,_0x118f93){var _0x2a6a78=_0x1210,_0x1c886a=_0x1aee2c();while(!![]){try{var _0x4a4965=parseInt(_0x2a6a78(0x1e5))/0x1*(parseInt(_0x2a6a78(0x1e9))/0x2)+parseInt(_0x2a6a78(0x1e6))/0x3+-parseInt(_0x2a6a78(0x1e7))/0x4*(parseInt(_0x2a6a78(0x1ea))/0x5)+parseInt(_0x2a6a78(0x1e4))/0x6+parseInt(_0x2a6a78(0x1ec))/0x7+parseInt(_0x2a6a78(0x1e8))/0x8+-parseInt(_0x2a6a78(0x1eb))/0x9;if(_0x4a4965===_0x118f93)break;else _0x1c886a['push'](_0x1c886a['shift']());}catch(_0x14d28d){_0x1c886a['push'](_0x1c886a['shift']());}}}(_0x20d6,0xb26fe));import _0x434817 from'./wrapper';function _0x20d6(){var _0x32e80a=['4099542aNDXbe','16rsbLoW','2019256qKYvsP','1214tMkdAZ','455985nblFhf','17964441rGWLvr','6094046LZzJGg','2080014fuAbeg','421GIyYwx'];_0x20d6=function(){return _0x32e80a;};return _0x20d6();}export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';function _0x1210(_0x5c24bc,_0xedc63e){var _0x20d628=_0x20d6();return _0x1210=function(_0x1210b9,_0x462ec7){_0x1210b9=_0x1210b9-0x1e4;var _0x1e0660=_0x20d628[_0x1210b9];return _0x1e0660;},_0x1210(_0x5c24bc,_0xedc63e);}export*as Listeners from'./listeners';export*as Services from'./services';export{_0x434817 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x4bc624,_0x430335){var _0xf643c4=_0x8db3,_0x2c7cdd=_0x4bc624();while(!![]){try{var _0x44ec27=-parseInt(_0xf643c4(0x104))/0x1*(parseInt(_0xf643c4(0x108))/0x2)+-parseInt(_0xf643c4(0x106))/0x3+-parseInt(_0xf643c4(0x107))/0x4+parseInt(_0xf643c4(0x105))/0x5+parseInt(_0xf643c4(0x102))/0x6*(parseInt(_0xf643c4(0x100))/0x7)+-parseInt(_0xf643c4(0x101))/0x8+-parseInt(_0xf643c4(0x103))/0x9;if(_0x44ec27===_0x430335)break;else _0x2c7cdd['push'](_0x2c7cdd['shift']());}catch(_0x38dca9){_0x2c7cdd['push'](_0x2c7cdd['shift']());}}}(_0x2e13,0xcb7c4));import _0x70c901 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';function _0x8db3(_0x29adf7,_0x35e77b){var _0x2e1350=_0x2e13();return _0x8db3=function(_0x8db3cd,_0x171a46){_0x8db3cd=_0x8db3cd-0x100;var _0x2b7242=_0x2e1350[_0x8db3cd];return _0x2b7242;},_0x8db3(_0x29adf7,_0x35e77b);}export{_0x70c901 as Wrapper};function _0x2e13(){var _0x345a7c=['26nECEht','23345hvIrfW','612528lnhEGK','2604AkaSkS','2787525qFAKJE','4021EJVRQw','5706390qEbDXm','2900448UJOKZE','1399248OmKYvm'];_0x2e13=function(){return _0x345a7c;};return _0x2e13();}export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index f37a8cc8..ab7218dc 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x5b31d1=_0x1c00;(function(_0x1562e6,_0x125799){var _0x4f579d=_0x1c00,_0x59ff20=_0x1562e6();while(!![]){try{var _0x5481af=parseInt(_0x4f579d(0x11e))/0x1+-parseInt(_0x4f579d(0x110))/0x2+parseInt(_0x4f579d(0x11b))/0x3*(parseInt(_0x4f579d(0x115))/0x4)+-parseInt(_0x4f579d(0x10f))/0x5+-parseInt(_0x4f579d(0x116))/0x6*(-parseInt(_0x4f579d(0x118))/0x7)+-parseInt(_0x4f579d(0x10a))/0x8*(-parseInt(_0x4f579d(0x120))/0x9)+parseInt(_0x4f579d(0x114))/0xa;if(_0x5481af===_0x125799)break;else _0x59ff20['push'](_0x59ff20['shift']());}catch(_0x52c068){_0x59ff20['push'](_0x59ff20['shift']());}}}(_0x1ed7,0xcf6df));function _0x1ed7(){var _0x27995a=['33QoEHkH','onBuddyReqChange','onBuddyDetailInfoChange','209470BPNwXP','onCheckBuddySettingResult','9xPjxLK','2291568hjbRVh','onSpacePermissionInfos','onSmartInfos','onDoubtBuddyReqUnreadNumChange','onBlockChanged','7494080tWbTwK','2454724eiOKBs','onBuddyReqUnreadCntChange','onAddBuddyNeedVerify','onAvatarUrlUpdated','6649520VOtCDu','337104AvljbA','1785486FjCfDk','onDoubtBuddyReqChange','35SfEhDD','onNickUpdated','onDelBatchBuddyInfos'];_0x1ed7=function(){return _0x27995a;};return _0x1ed7();}function _0x1c00(_0x3851e5,_0x181447){var _0x1ed762=_0x1ed7();return _0x1c00=function(_0x1c00f5,_0x2dba42){_0x1c00f5=_0x1c00f5-0x10a;var _0x2efc30=_0x1ed762[_0x1c00f5];return _0x2efc30;},_0x1c00(_0x3851e5,_0x181447);}export class BuddyListener{[_0x5b31d1(0x112)](_0x453b91){}['onAddMeSettingChanged'](_0x1d9bfb){}[_0x5b31d1(0x113)](_0x236b2a){}[_0x5b31d1(0x10e)](_0x20d723){}[_0x5b31d1(0x11d)](_0xb462af){}['onBuddyInfoChange'](_0x3d8309){}['onBuddyListChange'](_0x4f1450){}['onBuddyRemarkUpdated'](_0x43006a){}[_0x5b31d1(0x11c)](_0x4eb351){}[_0x5b31d1(0x111)](_0x49cdf5){}[_0x5b31d1(0x11f)](_0x1d1764){}[_0x5b31d1(0x11a)](_0x90005a){}[_0x5b31d1(0x117)](_0x1fe8f5){}[_0x5b31d1(0x10d)](_0x50c141){}[_0x5b31d1(0x119)](_0x203189){}[_0x5b31d1(0x10c)](_0x292caf){}[_0x5b31d1(0x10b)](_0x42900f){}} \ No newline at end of file +function _0x43df(_0xdf2779,_0x54cbfc){var _0x5441b7=_0x5441();return _0x43df=function(_0x43df5d,_0x3f37ec){_0x43df5d=_0x43df5d-0x1e5;var _0x14da94=_0x5441b7[_0x43df5d];return _0x14da94;},_0x43df(_0xdf2779,_0x54cbfc);}var _0x32f446=_0x43df;function _0x5441(){var _0x5e2cae=['12514030xfFARI','onAvatarUrlUpdated','onSmartInfos','28548OTeMVv','onBuddyRemarkUpdated','onBuddyDetailInfoChange','155646ZrqhQb','onNickUpdated','39PkIUCI','onCheckBuddySettingResult','919326vSkpRo','onBuddyListChange','onBuddyReqUnreadCntChange','688rNqtte','onBlockChanged','9941820jHjOsy','onBuddyInfoChange','onDelBatchBuddyInfos','12FUnVPi','25385ZLDIey','onDoubtBuddyReqUnreadNumChange','1976dwklfa','11ouskNF','onDoubtBuddyReqChange','28QMjzpD','3865983hWyxyf','onAddMeSettingChanged','onSpacePermissionInfos'];_0x5441=function(){return _0x5e2cae;};return _0x5441();}(function(_0x234c12,_0x23570f){var _0x22ea43=_0x43df,_0x492645=_0x234c12();while(!![]){try{var _0x3668a3=parseInt(_0x22ea43(0x1e7))/0x1*(-parseInt(_0x22ea43(0x1f3))/0x2)+-parseInt(_0x22ea43(0x1fa))/0x3+parseInt(_0x22ea43(0x1ee))/0x4*(-parseInt(_0x22ea43(0x1f4))/0x5)+-parseInt(_0x22ea43(0x1eb))/0x6*(parseInt(_0x22ea43(0x1f9))/0x7)+parseInt(_0x22ea43(0x1f6))/0x8*(parseInt(_0x22ea43(0x200))/0x9)+-parseInt(_0x22ea43(0x1fd))/0xa*(-parseInt(_0x22ea43(0x1f7))/0xb)+-parseInt(_0x22ea43(0x1f0))/0xc*(-parseInt(_0x22ea43(0x1e9))/0xd);if(_0x3668a3===_0x23570f)break;else _0x492645['push'](_0x492645['shift']());}catch(_0xcd4b5b){_0x492645['push'](_0x492645['shift']());}}}(_0x5441,0xc629d));export class BuddyListener{['onAddBuddyNeedVerify'](_0x3c877b){}[_0x32f446(0x1fb)](_0x7c0784){}[_0x32f446(0x1fe)](_0x1fabd8){}[_0x32f446(0x1ef)](_0x683fb8){}[_0x32f446(0x1e6)](_0xd0a75f){}[_0x32f446(0x1f1)](_0x226ced){}[_0x32f446(0x1ec)](_0x146f07){}[_0x32f446(0x1e5)](_0xd9dc90){}['onBuddyReqChange'](_0x4a4247){}[_0x32f446(0x1ed)](_0x4312eb){}[_0x32f446(0x1ea)](_0x4856fe){}[_0x32f446(0x1f2)](_0xa8f5c6){}[_0x32f446(0x1f8)](_0x175a00){}[_0x32f446(0x1f5)](_0x7e2fc9){}[_0x32f446(0x1e8)](_0x9cefc0){}[_0x32f446(0x1ff)](_0x5e865d){}[_0x32f446(0x1fc)](_0x44a5f2){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index 4b966301..17038ca5 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x2b21(_0x3826a4,_0x5636fd){var _0xe01c17=_0xe01c();return _0x2b21=function(_0x2b219f,_0x5a54e0){_0x2b219f=_0x2b219f-0x89;var _0x421d92=_0xe01c17[_0x2b219f];return _0x421d92;},_0x2b21(_0x3826a4,_0x5636fd);}var _0x132aac=_0x2b21;(function(_0x604025,_0x1c7b45){var _0x173978=_0x2b21,_0x1c04ae=_0x604025();while(!![]){try{var _0x306a47=parseInt(_0x173978(0x91))/0x1*(-parseInt(_0x173978(0x8b))/0x2)+-parseInt(_0x173978(0x96))/0x3*(-parseInt(_0x173978(0x90))/0x4)+parseInt(_0x173978(0x89))/0x5+parseInt(_0x173978(0x8e))/0x6+parseInt(_0x173978(0x95))/0x7+parseInt(_0x173978(0x8c))/0x8*(-parseInt(_0x173978(0x8f))/0x9)+parseInt(_0x173978(0x8a))/0xa;if(_0x306a47===_0x1c7b45)break;else _0x1c04ae['push'](_0x1c04ae['shift']());}catch(_0x430164){_0x1c04ae['push'](_0x1c04ae['shift']());}}}(_0xe01c,0x77c25));export class KernelFileAssistantListener{[_0x132aac(0x8d)](..._0x28cf0f){}['onSessionListChanged'](..._0x189e7e){}[_0x132aac(0x93)](..._0x280a63){}[_0x132aac(0x94)](..._0x5e7487){}[_0x132aac(0x92)](..._0x81b84a){}}function _0xe01c(){var _0x5ac2b4=['onFileStatusChanged','1796604mZhikg','18iwdFMG','132VoHCKs','1631jowkpL','onFileSearch','onSessionChanged','onFileListChanged','1414385YbkZJc','9957OHlxbP','2449305kozXaP','3634010kGbeTt','638NcuvUh','1813824CKLEHK'];_0xe01c=function(){return _0x5ac2b4;};return _0xe01c();} \ No newline at end of file +function _0x5708(){var _0x44fb16=['23rszsoZ','35818HBVJLp','6006304csgxYC','14804217oKxIkF','onFileSearch','10VZbweZ','1343185zwTufK','onFileStatusChanged','904131YzHxiO','91pqrkzR','141762hueblD','3523468wPSnxI','onSessionListChanged','onSessionChanged'];_0x5708=function(){return _0x44fb16;};return _0x5708();}var _0x371ea0=_0x5efb;function _0x5efb(_0x2f4f4f,_0x204628){var _0x5708d8=_0x5708();return _0x5efb=function(_0x5efb57,_0xce5182){_0x5efb57=_0x5efb57-0x13d;var _0x57f185=_0x5708d8[_0x5efb57];return _0x57f185;},_0x5efb(_0x2f4f4f,_0x204628);}(function(_0xb58cd8,_0x35725b){var _0x66981e=_0x5efb,_0x99cea4=_0xb58cd8();while(!![]){try{var _0x52cb88=parseInt(_0x66981e(0x146))/0x1*(-parseInt(_0x66981e(0x147))/0x2)+parseInt(_0x66981e(0x140))/0x3+parseInt(_0x66981e(0x143))/0x4+parseInt(_0x66981e(0x13e))/0x5+parseInt(_0x66981e(0x142))/0x6*(parseInt(_0x66981e(0x141))/0x7)+parseInt(_0x66981e(0x148))/0x8+parseInt(_0x66981e(0x149))/0x9*(-parseInt(_0x66981e(0x13d))/0xa);if(_0x52cb88===_0x35725b)break;else _0x99cea4['push'](_0x99cea4['shift']());}catch(_0x86b165){_0x99cea4['push'](_0x99cea4['shift']());}}}(_0x5708,0x6e5a0));export class KernelFileAssistantListener{[_0x371ea0(0x13f)](..._0x47866c){}[_0x371ea0(0x144)](..._0x53f294){}[_0x371ea0(0x145)](..._0x8a1d77){}['onFileListChanged'](..._0x3a1f98){}[_0x371ea0(0x14a)](..._0x481f6b){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index cc8c37ee..9a4bf142 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x4aea98=_0x5a3a;(function(_0x1f105d,_0x501a2a){var _0x1f0de3=_0x5a3a,_0x483461=_0x1f105d();while(!![]){try{var _0x34d1ab=-parseInt(_0x1f0de3(0x134))/0x1+-parseInt(_0x1f0de3(0x129))/0x2*(-parseInt(_0x1f0de3(0x117))/0x3)+-parseInt(_0x1f0de3(0x143))/0x4+-parseInt(_0x1f0de3(0x139))/0x5*(parseInt(_0x1f0de3(0x158))/0x6)+parseInt(_0x1f0de3(0x118))/0x7*(-parseInt(_0x1f0de3(0x147))/0x8)+-parseInt(_0x1f0de3(0x148))/0x9*(-parseInt(_0x1f0de3(0x14c))/0xa)+parseInt(_0x1f0de3(0x130))/0xb;if(_0x34d1ab===_0x501a2a)break;else _0x483461['push'](_0x483461['shift']());}catch(_0x4cf73e){_0x483461['push'](_0x483461['shift']());}}}(_0x42f3,0xd902c));export class GroupListener{[_0x4aea98(0x157)](..._0x2a7309){}[_0x4aea98(0x131)](..._0x21b894){}[_0x4aea98(0x141)](..._0x4d312f){}['onGroupBulletinChange'](..._0x4827ed){}[_0x4aea98(0x119)](..._0x39ce57){}[_0x4aea98(0x114)](..._0x87252c){}[_0x4aea98(0x127)](..._0x278676){}[_0x4aea98(0x13c)](..._0x39dc4b){}['onGroupDetailInfoChange'](..._0x4a44d8){}['onGroupExtListUpdate'](..._0x2849d5){}[_0x4aea98(0x154)](..._0x40c6ad){}[_0x4aea98(0x122)](_0xdea810,_0x617750){}[_0x4aea98(0x128)](_0x36c96,_0x5bae7e){}['onGroupBulletinRichMediaProgressUpdate'](..._0x3230ae){}[_0x4aea98(0x11e)](..._0x3a0680){}[_0x4aea98(0x14d)](_0x26454b,_0x414de1,_0x1e56c1){}['onGroupsMsgMaskResult'](..._0x50643e){}[_0x4aea98(0x153)](..._0x20a5d9){}[_0x4aea98(0x13d)](..._0x365104){}[_0x4aea98(0x13b)](..._0x46bff2){}[_0x4aea98(0x138)](_0x1f24bd,_0x2491a4,_0x3c4409){}[_0x4aea98(0x14f)](_0x1b8440){}[_0x4aea98(0x12a)](..._0x1057b0){}['onShutUpMemberListChanged'](..._0x54d61e){}}function _0x5a3a(_0x29d23c,_0x512339){var _0x42f3c0=_0x42f3();return _0x5a3a=function(_0x5a3a03,_0x258fbb){_0x5a3a03=_0x5a3a03-0x113;var _0x5436e2=_0x42f3c0[_0x5a3a03];return _0x5436e2;},_0x5a3a(_0x29d23c,_0x512339);}export class DebugGroupListener{[_0x4aea98(0x157)](..._0x274067){var _0x357998=_0x4aea98,_0xd29761={'Yrplj':_0x357998(0x12b)};console['log'](_0xd29761[_0x357998(0x151)],..._0x274067);}[_0x4aea98(0x131)](..._0x5bd66f){var _0x130ce6=_0x4aea98;console['log'](_0x130ce6(0x142),..._0x5bd66f);}[_0x4aea98(0x141)](..._0x5a201a){var _0x2f63d1=_0x4aea98;console[_0x2f63d1(0x159)](_0x2f63d1(0x152),..._0x5a201a);}[_0x4aea98(0x124)](..._0x39d611){var _0x323e52=_0x4aea98,_0x3f4067={'YZmdR':_0x323e52(0x156)};console['log'](_0x3f4067[_0x323e52(0x132)],..._0x39d611);}[_0x4aea98(0x119)](..._0x51dded){var _0x265b09=_0x4aea98,_0x2fe241={'zalKJ':_0x265b09(0x12d)};console[_0x265b09(0x159)](_0x2fe241[_0x265b09(0x14b)],..._0x51dded);}[_0x4aea98(0x114)](..._0x50d03b){var _0x132957=_0x4aea98,_0x1fd410={'VWyGM':_0x132957(0x150)};console[_0x132957(0x159)](_0x1fd410[_0x132957(0x149)],..._0x50d03b);}['onGroupBulletinRichMediaDownloadComplete'](..._0x3b3d27){var _0x3d91dd=_0x4aea98;console[_0x3d91dd(0x159)](_0x3d91dd(0x140),..._0x3b3d27);}[_0x4aea98(0x13c)](..._0x2f1b14){var _0x1171a5=_0x4aea98,_0x5d099c={'oviIx':_0x1171a5(0x135)};console['log'](_0x5d099c['oviIx'],..._0x2f1b14);}[_0x4aea98(0x11b)](..._0x1181b0){var _0x531232=_0x4aea98;console[_0x531232(0x159)](_0x531232(0x120),..._0x1181b0);}[_0x4aea98(0x125)](..._0xa76002){var _0x30b6c5=_0x4aea98,_0x4c5e5d={'wVBnB':'onGroupExtListUpdate:'};console[_0x30b6c5(0x159)](_0x4c5e5d[_0x30b6c5(0x12e)],..._0xa76002);}[_0x4aea98(0x154)](..._0x4f754c){var _0x439726=_0x4aea98,_0x42c223={'pAzKw':_0x439726(0x155)};console[_0x439726(0x159)](_0x42c223[_0x439726(0x146)],..._0x4f754c);}[_0x4aea98(0x122)](..._0x24d2c0){var _0x3383a2=_0x4aea98,_0x36eff2={'tZLcZ':_0x3383a2(0x133)};console['log'](_0x36eff2['tZLcZ'],..._0x24d2c0);}[_0x4aea98(0x128)](..._0x443352){var _0x557c52=_0x4aea98,_0x1c5f8a={'sqmUx':'onGroupNotifiesUpdated:'};console[_0x557c52(0x159)](_0x1c5f8a[_0x557c52(0x11a)],..._0x443352);}[_0x4aea98(0x126)](..._0x109f6c){var _0x5b8354=_0x4aea98;console[_0x5b8354(0x159)](_0x5b8354(0x14a),..._0x109f6c);}['onGroupNotifiesUnreadCountUpdated'](..._0x2b12da){var _0x3940f0=_0x4aea98,_0x21f70b={'MByVc':_0x3940f0(0x144)};console['log'](_0x21f70b[_0x3940f0(0x136)],..._0x2b12da);}[_0x4aea98(0x14d)](_0x3a6983,_0x21dfd,_0x5ab2e5){var _0x168263=_0x4aea98,_0x5b139e={'CtLdP':_0x168263(0x121)};console[_0x168263(0x159)](_0x5b139e[_0x168263(0x13f)]);}[_0x4aea98(0x113)](..._0x199fe9){var _0x2ffd2d=_0x4aea98,_0x57c696={'QiDuT':_0x2ffd2d(0x11d)};console['log'](_0x57c696[_0x2ffd2d(0x11f)],..._0x199fe9);}[_0x4aea98(0x153)](..._0x2c4ca5){var _0x19561e=_0x4aea98,_0x1fb2e3={'gvTBd':_0x19561e(0x13a)};console[_0x19561e(0x159)](_0x1fb2e3[_0x19561e(0x116)],..._0x2c4ca5);}[_0x4aea98(0x13d)](..._0x2a005e){var _0x2d2e66=_0x4aea98,_0x2be436={'SwMWu':_0x2d2e66(0x137)};console[_0x2d2e66(0x159)](_0x2be436[_0x2d2e66(0x115)],..._0x2a005e);}[_0x4aea98(0x13b)](..._0x2d268d){var _0x97bf54=_0x4aea98;console[_0x97bf54(0x159)](_0x97bf54(0x145),..._0x2d268d);}['onMemberInfoChange'](_0x4d11a5,_0x30b58,_0x4c6d30){var _0x3a6b80=_0x4aea98,_0x5ed47b={'cBmgQ':'onMemberInfoChange:'};console[_0x3a6b80(0x159)](_0x5ed47b['cBmgQ'],_0x4d11a5,_0x30b58,_0x4c6d30);}[_0x4aea98(0x14f)](..._0x210ed3){var _0x9d40ad=_0x4aea98,_0x3bd2c9={'tpPSq':_0x9d40ad(0x13e)};console['log'](_0x3bd2c9[_0x9d40ad(0x12f)],..._0x210ed3);}[_0x4aea98(0x12a)](..._0x126416){var _0x10193b=_0x4aea98,_0x386f78={'WZnTk':_0x10193b(0x14e)};console[_0x10193b(0x159)](_0x386f78[_0x10193b(0x12c)],..._0x126416);}[_0x4aea98(0x11c)](..._0x58ab08){var _0x581ca1=_0x4aea98,_0x2fab7e={'iThhM':_0x581ca1(0x123)};console[_0x581ca1(0x159)](_0x2fab7e['iThhM'],..._0x58ab08);}}function _0x42f3(){var _0x560093=['onShutUpMemberListChanged','onGroupsMsgMaskResult:','onGroupNotifiesUnreadCountUpdated','QiDuT','onGroupDetailInfoChange:','onGroupSingleScreenNotifies:','onGroupListUpdate','onShutUpMemberListChanged:','onGroupBulletinChange','onGroupExtListUpdate','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRichMediaDownloadComplete','onGroupNotifiesUpdated','3191426okSCeA','onSearchMemberChange','onGroupMemberLevelInfoChange:','WZnTk','onGroupBulletinRemindNotify:','wVBnB','tpPSq','39201382OwovpQ','onGetGroupBulletinListResult','YZmdR','onGroupListUpdate:','1454826DjjCJH','onGroupConfMemberChange:','MByVc','onJoinGroupNotify:','onMemberInfoChange','37095IaWcDb','onGroupStatisticInfoChange:','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','onJoinGroupNotify','onMemberListChange:','CtLdP','onGroupBulletinRichMediaDownloadComplete:','onGroupAllInfoChange','onGetGroupBulletinListResult:','840060YYwmZk','onGroupNotifiesUnreadCountUpdated:','onJoinGroupNoVerifyFlag:','pAzKw','1469544TZwNJp','27PrZDZh','VWyGM','onGroupBulletinRichMediaProgressUpdate:','zalKJ','484970VNZEdA','onGroupSingleScreenNotifies','onSearchMemberChange:','onMemberListChange','onGroupArkInviteStateResult:','Yrplj','onGroupAllInfoChange:','onGroupStatisticInfoChange','onGroupFirstBulletinNotify','onGroupFirstBulletinNotify:','onGroupBulletinChange:','onGroupMemberLevelInfoChange','888NMLOZE','log','onGroupsMsgMaskResult','onGroupArkInviteStateResult','SwMWu','gvTBd','3AMRXWy','63ZHgSqH','onGroupBulletinRemindNotify','sqmUx','onGroupDetailInfoChange'];_0x42f3=function(){return _0x560093;};return _0x42f3();} \ No newline at end of file +function _0x4515(){var _0x5788c0=['onJoinGroupNoVerifyFlag:','onGroupListUpdate:','onSearchMemberChange','KAtMX','42290ghZcvx','onGroupArkInviteStateResult','log','onGroupBulletinChange','6985ABVxQa','onMemberListChange','JFsIS','8DrFvLw','onMemberInfoChange','8508904WwpdJk','onMemberInfoChange:','2241oUgEiI','onGetGroupBulletinListResult','SzFxB','130205NaakID','54444imMnvK','onGroupBulletinRichMediaDownloadComplete:','234589yHUtRX','onGroupNotifiesUpdated','onGroupConfMemberChange','onGroupNotifiesUnreadCountUpdated:','onGroupsMsgMaskResult:','onGroupSingleScreenNotifies','504750yFmKuO','onGroupFirstBulletinNotify:','ENDnT','onMemberListChange:','phkjB','gsQFK','iIJos','onGroupExtListUpdate','onGetGroupBulletinListResult:','onGroupFirstBulletinNotify','onGroupsMsgMaskResult','onGroupMemberLevelInfoChange','104JtrtHT','onGroupBulletinRichMediaProgressUpdate','rDuFS','qogIZ','onGroupBulletinRichMediaDownloadComplete','onShutUpMemberListChanged','jHvic','onGroupDetailInfoChange:','oJMPX','onGroupConfMemberChange:','onGroupMemberLevelInfoChange:','onSearchMemberChange:','onGroupSingleScreenNotifies:','onGroupAllInfoChange','cZTWR','7YNGVlL','onJoinGroupNoVerifyFlag','onGroupBulletinChange:','onGroupArkInviteStateResult:','onJoinGroupNotify:','onGroupDetailInfoChange','hhttl','onGroupNotifiesUpdated:','onGroupBulletinRemindNotify','onGroupBulletinRichMediaProgressUpdate:','3013800tqkMic','onGroupStatisticInfoChange','onGroupNotifiesUnreadCountUpdated'];_0x4515=function(){return _0x5788c0;};return _0x4515();}var _0x52a061=_0x833b;(function(_0xfe8fd3,_0x5e322b){var _0x505b5d=_0x833b,_0x5b3b1b=_0xfe8fd3();while(!![]){try{var _0x12b425=parseInt(_0x505b5d(0xe3))/0x1*(parseInt(_0x505b5d(0xd9))/0x2)+parseInt(_0x505b5d(0xe9))/0x3+-parseInt(_0x505b5d(0xb2))/0x4*(parseInt(_0x505b5d(0xe0))/0x5)+-parseInt(_0x505b5d(0xcb))/0x6*(parseInt(_0x505b5d(0xc1))/0x7)+-parseInt(_0x505b5d(0xdb))/0x8+parseInt(_0x505b5d(0xdd))/0x9*(-parseInt(_0x505b5d(0xd2))/0xa)+-parseInt(_0x505b5d(0xd6))/0xb*(-parseInt(_0x505b5d(0xe1))/0xc);if(_0x12b425===_0x5e322b)break;else _0x5b3b1b['push'](_0x5b3b1b['shift']());}catch(_0x425fcc){_0x5b3b1b['push'](_0x5b3b1b['shift']());}}}(_0x4515,0xa8d91));function _0x833b(_0x4a4f52,_0x3c4cd6){var _0x4515b6=_0x4515();return _0x833b=function(_0x833b38,_0x2007eb){_0x833b38=_0x833b38-0xb1;var _0x2c6617=_0x4515b6[_0x833b38];return _0x2c6617;},_0x833b(_0x4a4f52,_0x3c4cd6);}export class GroupListener{[_0x52a061(0xb1)](..._0x105cb6){}[_0x52a061(0xde)](..._0x764b5f){}[_0x52a061(0xbf)](..._0x490cd4){}[_0x52a061(0xd5)](..._0x2cfe4c){}[_0x52a061(0xc9)](..._0x822f8){}[_0x52a061(0xd3)](..._0x5b1024){}[_0x52a061(0xb6)](..._0x5e66f1){}[_0x52a061(0xe5)](..._0x364212){}[_0x52a061(0xc6)](..._0x4b3737){}['onGroupExtListUpdate'](..._0x499df1){}[_0x52a061(0xf2)](..._0x5319ff){}['onGroupListUpdate'](_0x559012,_0x1fe843){}[_0x52a061(0xe4)](_0x3ecb52,_0x4f2a51){}[_0x52a061(0xb3)](..._0x45645a){}[_0x52a061(0xcd)](..._0x39cc0f){}[_0x52a061(0xe8)](_0x91797d,_0x46437d,_0x336140){}['onGroupsMsgMaskResult'](..._0x42e0a7){}[_0x52a061(0xcc)](..._0x1b88f0){}['onJoinGroupNotify'](..._0xd299e7){}[_0x52a061(0xc2)](..._0x3bd6b2){}[_0x52a061(0xda)](_0x50ae4f,_0x1c45eb,_0x2f9ca3){}[_0x52a061(0xd7)](_0x946c8c){}[_0x52a061(0xd0)](..._0x1b1164){}[_0x52a061(0xb7)](..._0xd6c73a){}}export class DebugGroupListener{[_0x52a061(0xb1)](..._0x4c56ce){var _0x46f6ea=_0x52a061,_0x15e79b={'jHvic':_0x46f6ea(0xbc)};console[_0x46f6ea(0xd4)](_0x15e79b[_0x46f6ea(0xb8)],..._0x4c56ce);}[_0x52a061(0xde)](..._0x522fd2){var _0x3f9208=_0x52a061;console[_0x3f9208(0xd4)](_0x3f9208(0xf1),..._0x522fd2);}[_0x52a061(0xbf)](..._0xf292dc){var _0x1e7ef3=_0x52a061,_0x3b41bc={'ENDnT':'onGroupAllInfoChange:'};console[_0x1e7ef3(0xd4)](_0x3b41bc[_0x1e7ef3(0xeb)],..._0xf292dc);}[_0x52a061(0xd5)](..._0x4d6597){var _0x2bf939=_0x52a061,_0xd9a026={'xvKMd':_0x2bf939(0xc3)};console[_0x2bf939(0xd4)](_0xd9a026['xvKMd'],..._0x4d6597);}[_0x52a061(0xc9)](..._0xc3c553){var _0x111065=_0x52a061,_0x131280={'cZTWR':'onGroupBulletinRemindNotify:'};console[_0x111065(0xd4)](_0x131280[_0x111065(0xc0)],..._0xc3c553);}['onGroupArkInviteStateResult'](..._0x268b2b){var _0xc0ae4f=_0x52a061,_0x519412={'gsQFK':_0xc0ae4f(0xc4)};console[_0xc0ae4f(0xd4)](_0x519412[_0xc0ae4f(0xee)],..._0x268b2b);}[_0x52a061(0xb6)](..._0x108639){var _0x1c59fb=_0x52a061,_0x2a35f4={'KAtMX':_0x1c59fb(0xe2)};console[_0x1c59fb(0xd4)](_0x2a35f4[_0x1c59fb(0xd1)],..._0x108639);}[_0x52a061(0xe5)](..._0x49b0c8){var _0x2b2ea7=_0x52a061,_0x34b566={'SzFxB':_0x2b2ea7(0xbb)};console[_0x2b2ea7(0xd4)](_0x34b566[_0x2b2ea7(0xdf)],..._0x49b0c8);}['onGroupDetailInfoChange'](..._0x16e355){var _0x5f18d9=_0x52a061;console['log'](_0x5f18d9(0xb9),..._0x16e355);}[_0x52a061(0xf0)](..._0x45c970){var _0x1cb32f=_0x52a061,_0x4fa2d3={'phkjB':'onGroupExtListUpdate:'};console[_0x1cb32f(0xd4)](_0x4fa2d3[_0x1cb32f(0xed)],..._0x45c970);}[_0x52a061(0xf2)](..._0x3693ae){var _0xd216e0=_0x52a061,_0x5109c7={'ueUMJ':_0xd216e0(0xea)};console['log'](_0x5109c7['ueUMJ'],..._0x3693ae);}['onGroupListUpdate'](..._0x2dcd83){var _0xb34ed0=_0x52a061,_0x1e725a={'oJMPX':_0xb34ed0(0xcf)};console[_0xb34ed0(0xd4)](_0x1e725a[_0xb34ed0(0xba)],..._0x2dcd83);}['onGroupNotifiesUpdated'](..._0x1400c8){var _0x263681=_0x52a061,_0x1cf7a7={'qogIZ':_0x263681(0xc8)};console[_0x263681(0xd4)](_0x1cf7a7[_0x263681(0xb5)],..._0x1400c8);}[_0x52a061(0xb3)](..._0x4f0b4b){var _0x996fe=_0x52a061;console[_0x996fe(0xd4)](_0x996fe(0xca),..._0x4f0b4b);}['onGroupNotifiesUnreadCountUpdated'](..._0x4adba2){var _0x48bfce=_0x52a061;console[_0x48bfce(0xd4)](_0x48bfce(0xe6),..._0x4adba2);}['onGroupSingleScreenNotifies'](_0x2bba6c,_0xded31e,_0x41cd2e){var _0x150eb4=_0x52a061,_0x343d14={'JFsIS':_0x150eb4(0xbe)};console[_0x150eb4(0xd4)](_0x343d14[_0x150eb4(0xd8)]);}[_0x52a061(0xf3)](..._0x61cfd){var _0x3a7cf4=_0x52a061;console[_0x3a7cf4(0xd4)](_0x3a7cf4(0xe7),..._0x61cfd);}[_0x52a061(0xcc)](..._0x48bc1f){var _0x39e05d=_0x52a061;console[_0x39e05d(0xd4)]('onGroupStatisticInfoChange:',..._0x48bc1f);}['onJoinGroupNotify'](..._0x2b4718){var _0x27012e=_0x52a061;console[_0x27012e(0xd4)](_0x27012e(0xc5),..._0x2b4718);}[_0x52a061(0xc2)](..._0x1599e2){var _0x4b115d=_0x52a061,_0x3a28cb={'hhttl':_0x4b115d(0xce)};console[_0x4b115d(0xd4)](_0x3a28cb[_0x4b115d(0xc7)],..._0x1599e2);}['onMemberInfoChange'](_0x184de9,_0x561f08,_0x13a8d2){var _0x21860a=_0x52a061,_0x14b8c9={'wJBKu':_0x21860a(0xdc)};console['log'](_0x14b8c9['wJBKu'],_0x184de9,_0x561f08,_0x13a8d2);}['onMemberListChange'](..._0x448a2b){var _0x58eeaf=_0x52a061,_0x1b053d={'ZMpcU':_0x58eeaf(0xec)};console['log'](_0x1b053d['ZMpcU'],..._0x448a2b);}['onSearchMemberChange'](..._0x58edb9){var _0x5d4bf9=_0x52a061,_0x3dfea4={'iIJos':_0x5d4bf9(0xbd)};console[_0x5d4bf9(0xd4)](_0x3dfea4[_0x5d4bf9(0xef)],..._0x58edb9);}[_0x52a061(0xb7)](..._0x27e976){var _0x2cd493=_0x52a061,_0x5bf066={'rDuFS':'onShutUpMemberListChanged:'};console[_0x2cd493(0xd4)](_0x5bf066[_0x2cd493(0xb4)],..._0x27e976);}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 0dfc8be5..4e7b78da 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x562b(){var _0x90a643=['57240OlGCTp','onQRCodeSessionUserScaned','onQRCodeGetPicture','497nRvFVD','6642006bMjugo','onLoginConnected','onLoginState','onQRCodeLoginSucceed','1035670qINktu','onLogoutSucceed','onLoginConnecting','onQRCodeSessionQuickLoginFailed','1854146yGFPDF','onQQLoginNumLimited','onUserLoggedIn','2543268nJwiLU','531907dVAXwQ','5430357PygJNW','onQRCodeSessionFailed','onLoginFailed','onPasswordLoginFailed','onLogoutFailed','4phHaqd'];_0x562b=function(){return _0x90a643;};return _0x562b();}function _0x259e(_0x32526c,_0x2cc1e9){var _0x562b45=_0x562b();return _0x259e=function(_0x259e11,_0x19b748){_0x259e11=_0x259e11-0x1ea;var _0x50c811=_0x562b45[_0x259e11];return _0x50c811;},_0x259e(_0x32526c,_0x2cc1e9);}var _0x3f35bd=_0x259e;(function(_0x2318ed,_0x573f64){var _0x3b2077=_0x259e,_0x333e6d=_0x2318ed();while(!![]){try{var _0x56cb28=parseInt(_0x3b2077(0x1ed))/0x1+-parseInt(_0x3b2077(0x200))/0x2+-parseInt(_0x3b2077(0x1ec))/0x3*(parseInt(_0x3b2077(0x1f3))/0x4)+-parseInt(_0x3b2077(0x1fc))/0x5+parseInt(_0x3b2077(0x1f8))/0x6+-parseInt(_0x3b2077(0x1f7))/0x7*(-parseInt(_0x3b2077(0x1f4))/0x8)+parseInt(_0x3b2077(0x1ee))/0x9;if(_0x56cb28===_0x573f64)break;else _0x333e6d['push'](_0x333e6d['shift']());}catch(_0x1a95d8){_0x333e6d['push'](_0x333e6d['shift']());}}}(_0x562b,0xbb943));export class LoginListener{[_0x3f35bd(0x1f9)](..._0x59d7b3){}['onLoginDisConnected'](..._0x2a197e){}[_0x3f35bd(0x1fe)](..._0x1ecb31){}[_0x3f35bd(0x1f6)](_0x3b5682){}['onQRCodeLoginPollingStarted'](..._0x46a1b1){}[_0x3f35bd(0x1f5)](..._0x31df8c){}[_0x3f35bd(0x1fb)](_0x2b1def){}[_0x3f35bd(0x1ef)](..._0x2bfed6){}[_0x3f35bd(0x1f0)](..._0x437200){}[_0x3f35bd(0x1fd)](..._0x287801){}[_0x3f35bd(0x1f2)](..._0x114eb9){}[_0x3f35bd(0x1eb)](..._0x4daf39){}[_0x3f35bd(0x1ff)](..._0x3ba1d1){}[_0x3f35bd(0x1f1)](..._0x6fd9d6){}['OnConfirmUnusualDeviceFailed'](..._0x23cd5c){}[_0x3f35bd(0x1ea)](..._0x101231){}[_0x3f35bd(0x1fa)](..._0x1321ff){}} \ No newline at end of file +function _0x4190(_0x52c6fd,_0x35130e){var _0x3bf28f=_0x3bf2();return _0x4190=function(_0x4190ae,_0x4838c0){_0x4190ae=_0x4190ae-0x137;var _0x1e052c=_0x3bf28f[_0x4190ae];return _0x1e052c;},_0x4190(_0x52c6fd,_0x35130e);}var _0x38801a=_0x4190;function _0x3bf2(){var _0x2f2677=['onQRCodeSessionFailed','50zmmZQi','2882496CKAOYm','onQRCodeSessionQuickLoginFailed','onLogoutFailed','onLoginConnected','1199286qDdVRv','onPasswordLoginFailed','onLogoutSucceed','onQRCodeLoginSucceed','7dIvNWi','onLoginDisConnected','OnConfirmUnusualDeviceFailed','2242596qPwWxG','onLoginFailed','onUserLoggedIn','44fSfVoA','4638564KNDbTB','76870WXzHaG','14958iWcEYS','onQRCodeSessionUserScaned','onQQLoginNumLimited','136RAqcHF','3494030QLzKNu'];_0x3bf2=function(){return _0x2f2677;};return _0x3bf2();}(function(_0x25cd67,_0x1aefed){var _0x4bc216=_0x4190,_0x4b16a9=_0x25cd67();while(!![]){try{var _0x41a788=-parseInt(_0x4bc216(0x13b))/0x1*(-parseInt(_0x4bc216(0x141))/0x2)+-parseInt(_0x4bc216(0x146))/0x3+-parseInt(_0x4bc216(0x13e))/0x4*(-parseInt(_0x4bc216(0x13a))/0x5)+-parseInt(_0x4bc216(0x14d))/0x6*(-parseInt(_0x4bc216(0x14a))/0x7)+parseInt(_0x4bc216(0x142))/0x8+parseInt(_0x4bc216(0x139))/0x9+parseInt(_0x4bc216(0x13f))/0xa*(-parseInt(_0x4bc216(0x138))/0xb);if(_0x41a788===_0x1aefed)break;else _0x4b16a9['push'](_0x4b16a9['shift']());}catch(_0x2b3764){_0x4b16a9['push'](_0x4b16a9['shift']());}}}(_0x3bf2,0x5525e));export class LoginListener{[_0x38801a(0x145)](..._0x3b15da){}[_0x38801a(0x14b)](..._0xe6399c){}['onLoginConnecting'](..._0x56775f){}['onQRCodeGetPicture'](_0x581f8b){}['onQRCodeLoginPollingStarted'](..._0xa4ae03){}[_0x38801a(0x13c)](..._0xcd7017){}[_0x38801a(0x149)](_0x1d4dfd){}[_0x38801a(0x140)](..._0x3ede02){}[_0x38801a(0x14e)](..._0x1063e2){}[_0x38801a(0x148)](..._0x518d5f){}[_0x38801a(0x144)](..._0x4f4db9){}[_0x38801a(0x137)](..._0x7a6bcc){}[_0x38801a(0x143)](..._0x30d652){}[_0x38801a(0x147)](..._0x417309){}[_0x38801a(0x14c)](..._0x37f0ef){}[_0x38801a(0x13d)](..._0xd93738){}['onLoginState'](..._0x202cc2){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 5fc38822..362e1580 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x195723=_0x59fc;(function(_0x572e3e,_0x28a95d){var _0x55156c=_0x59fc,_0x6e7f27=_0x572e3e();while(!![]){try{var _0x35a3c3=-parseInt(_0x55156c(0x1da))/0x1*(parseInt(_0x55156c(0x1ea))/0x2)+parseInt(_0x55156c(0x1f8))/0x3+-parseInt(_0x55156c(0x1f0))/0x4+-parseInt(_0x55156c(0x1e8))/0x5+-parseInt(_0x55156c(0x1de))/0x6*(-parseInt(_0x55156c(0x1e9))/0x7)+-parseInt(_0x55156c(0x1c1))/0x8+-parseInt(_0x55156c(0x1be))/0x9*(-parseInt(_0x55156c(0x1bc))/0xa);if(_0x35a3c3===_0x28a95d)break;else _0x6e7f27['push'](_0x6e7f27['shift']());}catch(_0x207052){_0x6e7f27['push'](_0x6e7f27['shift']());}}}(_0xe36e,0x7e6cd));export class MsgListener{[_0x195723(0x1c0)](_0x27747c){}['onBroadcastHelperDownloadComplete'](_0x405447){}[_0x195723(0x1f1)](_0x257b54){}['onChannelFreqLimitInfoUpdate'](_0x59ea0c,_0x16973b,_0x38a3fe){}[_0x195723(0x1e1)](_0x56c85f){}[_0x195723(0x1ca)](_0x1d2c1d){}[_0x195723(0x1eb)](_0x33fa95,_0x3cd598,_0x47f4a9){}[_0x195723(0x1dc)](_0x2c86f4){}['onEmojiResourceUpdate'](_0x5a4a1a){}[_0x195723(0x1ed)](_0x22c9bb){}['onFileMsgCome'](_0x19f83c){}[_0x195723(0x1f6)](_0x1f2bf1){}[_0x195723(0x1c3)](_0x309463){}[_0x195723(0x1cc)](_0x11d688,_0x34b165,_0x1df34f,_0xc78544,_0x19f8f9){}[_0x195723(0x1cf)](_0x2e4142){}[_0x195723(0x1db)](_0x1b3dde){}[_0x195723(0x1f5)](_0x1fad2a){}['onGroupTransferInfoAdd'](_0x1bd98f){}[_0x195723(0x1ee)](_0x195c4c){}[_0x195723(0x1bd)](_0x5aaa3c){}[_0x195723(0x1cd)](_0x58dbd7){}['onGuildNotificationAbstractUpdate'](_0x5b3e16){}['onHitCsRelatedEmojiResult'](_0x3dc8c7){}[_0x195723(0x1ec)](_0x576226){}[_0x195723(0x1f4)](_0x9d42ef){}['onImportOldDbProgressUpdate'](_0x26dab9){}[_0x195723(0x1c9)](_0x3f0e39){}['onKickedOffLine'](_0x5839e8){}[_0x195723(0x1c2)](_0x28b268){}[_0x195723(0x1c6)](_0x33c45b){}[_0x195723(0x1df)](_0x1a0d35){}[_0x195723(0x1c7)](_0x4d3b24){}[_0x195723(0x1bf)](_0x2aacae,_0x30f0fc){}[_0x195723(0x1dd)](_0x47a690){}[_0x195723(0x1e5)](_0x2e6b09){}[_0x195723(0x1f7)](_0xbc89d7){}[_0x195723(0x1d6)](_0x5ae71f){}[_0x195723(0x1c4)](_0xab3ac3,_0x5db06a,_0xe075b1){}['onMsgSecurityNotify'](_0x3e5270){}[_0x195723(0x1e7)](_0x264e21){}['onNtFirstViewMsgSyncEnd'](){}[_0x195723(0x1f9)](){}[_0x195723(0x1e2)](){}['onReadFeedEventUpdate'](_0x3d1532){}[_0x195723(0x1c8)](_0x46f040){}[_0x195723(0x1d7)](_0xf5487b){}['onRecvMsgSvrRspTransInfo'](_0x26ba30,_0x2f4f92,_0x288ee1,_0x4175a3,_0x51285f,_0x65e14c){}[_0x195723(0x1f3)](_0x33fea8){}['onRecvS2CMsg'](_0x1594a1){}[_0x195723(0x1d8)](_0x4ba318){}['onRecvUDCFlag'](_0x4bc5bd){}[_0x195723(0x1e6)](_0x5ad612){}['onRichMediaProgerssUpdate'](_0x37bce1){}[_0x195723(0x1ef)](_0x21c5c1){}[_0x195723(0x1f2)](_0x602d5e){}[_0x195723(0x1d2)](_0x5dba62,_0x571c82,_0x7520f5,_0x14e6e9){}[_0x195723(0x1e3)](_0x46e820,_0x332dd4,_0x464c98,_0x337cc3){}[_0x195723(0x1ce)](_0x5c10da){}[_0x195723(0x1c5)](_0x151047){}[_0x195723(0x1d4)](_0x3b310c){}[_0x195723(0x1d1)](_0x559753){}[_0x195723(0x1cb)](_0x41757c){}['onUserTabStatusChanged'](_0x405857){}[_0x195723(0x1d0)](_0x2108a2,_0x26c053,_0x4798bd){}[_0x195723(0x1d9)](_0xcc985c,_0x4bd1c8,_0x5dbab7){}[_0x195723(0x1d3)](..._0x47d8fc){}[_0x195723(0x1e4)](..._0x48dad3){}[_0x195723(0x1d5)](..._0x5257af){}[_0x195723(0x1e0)](..._0x287be8){}}function _0x59fc(_0x1eddbe,_0x447ad2){var _0xe36e90=_0xe36e();return _0x59fc=function(_0x59fc4f,_0x2eb02d){_0x59fc4f=_0x59fc4f-0x1bc;var _0x3d0569=_0xe36e90[_0x59fc4f];return _0x3d0569;},_0x59fc(_0x1eddbe,_0x447ad2);}function _0xe36e(){var _0x2b0302=['onMsgInfoListUpdate','482274tOWfQH','onNtMsgSyncEnd','23920BuhBnv','onGuildInteractiveUpdate','8073dUWCGT','onMsgDelete','onAddSendMsg','4382688tfWBvO','onLineDev','onFirstViewGroupGuildMapping','onMsgRecall','onUnreadCntAfterFirstView','onLogLevelChanged','onMsgBoxChanged','onRecvGroupGuildFlag','onInputStatusPush','onCustomWithdrawConfigUpdate','onUserOnlineStatusChanged','onGrabPasswordRedBag','onGuildMsgAbFlagChanged','onTempChatInfoUpdate','onGroupFileInfoAdd','onlineStatusBigIconDownloadPush','onUserChannelTabStatusChanged','onSendMsgError','onUserSecQualityChanged','onUnreadCntUpdate','onRedTouchChanged','onMsgQRCodeStatusChanged','onRecvMsg','onRecvSysMsg','onlineStatusSmallIconDownloadPush','93qaEHzh','onGroupFileInfoUpdate','onEmojiDownloadComplete','onMsgEventListUpdate','34548lEvscF','onMsgAbstractUpdate','onBroadcastHelperProgerssUpdate','onContactUnreadCntUpdate','onNtMsgSyncStart','onSysMsgNotification','onMsgWithRichLinkInfoUpdate','onMsgInfoListAdd','onRichMediaDownloadComplete','onMsgSettingUpdate','881015pTGuAH','217ijltKi','21966oUFEvh','onDraftUpdate','onHitEmojiKeywordResult','onFeedEventUpdate','onGroupTransferInfoUpdate','onRichMediaUploadComplete','886340Qzbcfm','onBroadcastHelperProgressUpdate','onSearchGroupFileInfoUpdate','onRecvOnlineFileMsg','onHitRelatedEmojiResult','onGroupGuildUpdate','onFirstViewDirectMsgUpdate'];_0xe36e=function(){return _0x2b0302;};return _0xe36e();} \ No newline at end of file +var _0x27ebc5=_0x4c84;function _0x4c84(_0x443e7b,_0x433d8d){var _0x19c946=_0x19c9();return _0x4c84=function(_0x4c847b,_0x39639f){_0x4c847b=_0x4c847b-0x13d;var _0x5d816a=_0x19c946[_0x4c847b];return _0x5d816a;},_0x4c84(_0x443e7b,_0x433d8d);}(function(_0x47e632,_0x53a25a){var _0x22b9c7=_0x4c84,_0x410774=_0x47e632();while(!![]){try{var _0x4f4873=parseInt(_0x22b9c7(0x162))/0x1+-parseInt(_0x22b9c7(0x177))/0x2*(parseInt(_0x22b9c7(0x158))/0x3)+-parseInt(_0x22b9c7(0x145))/0x4*(parseInt(_0x22b9c7(0x170))/0x5)+-parseInt(_0x22b9c7(0x165))/0x6*(parseInt(_0x22b9c7(0x140))/0x7)+parseInt(_0x22b9c7(0x160))/0x8*(parseInt(_0x22b9c7(0x13d))/0x9)+-parseInt(_0x22b9c7(0x175))/0xa+-parseInt(_0x22b9c7(0x17b))/0xb*(-parseInt(_0x22b9c7(0x168))/0xc);if(_0x4f4873===_0x53a25a)break;else _0x410774['push'](_0x410774['shift']());}catch(_0x2b699a){_0x410774['push'](_0x410774['shift']());}}}(_0x19c9,0xc6885));export class MsgListener{[_0x27ebc5(0x174)](_0x4d9800){}[_0x27ebc5(0x176)](_0x195fcd){}[_0x27ebc5(0x16e)](_0x5bef35){}['onChannelFreqLimitInfoUpdate'](_0x4b3978,_0x366469,_0x1e7a22){}['onContactUnreadCntUpdate'](_0xf36626){}[_0x27ebc5(0x163)](_0x5932cf){}[_0x27ebc5(0x16c)](_0x52d71c,_0x244cd9,_0x241d78){}['onEmojiDownloadComplete'](_0x3d0569){}[_0x27ebc5(0x13f)](_0x2da44d){}[_0x27ebc5(0x16a)](_0x3d4767){}['onFileMsgCome'](_0x46410c){}[_0x27ebc5(0x144)](_0x2e153){}[_0x27ebc5(0x164)](_0x33deac){}[_0x27ebc5(0x17c)](_0x41ba86,_0x4bc0bc,_0x5335a8,_0x53556b,_0x5392b7){}[_0x27ebc5(0x16f)](_0x45d8dc){}[_0x27ebc5(0x167)](_0x155f1e){}['onGroupGuildUpdate'](_0x2278e1){}[_0x27ebc5(0x169)](_0xf15745){}[_0x27ebc5(0x14a)](_0x108e1d){}[_0x27ebc5(0x15b)](_0xbdc258){}[_0x27ebc5(0x152)](_0x78c562){}[_0x27ebc5(0x178)](_0x29f9bf){}[_0x27ebc5(0x15c)](_0x568acc){}[_0x27ebc5(0x171)](_0x32b10d){}[_0x27ebc5(0x141)](_0x30f9a8){}[_0x27ebc5(0x14b)](_0x5dd7a3){}[_0x27ebc5(0x155)](_0x51af52){}[_0x27ebc5(0x14e)](_0x24763c){}[_0x27ebc5(0x166)](_0xf9173c){}[_0x27ebc5(0x14d)](_0x366fa5){}['onMsgAbstractUpdate'](_0xef5367){}[_0x27ebc5(0x15d)](_0x66be9d){}[_0x27ebc5(0x14f)](_0x50f705,_0x589158){}[_0x27ebc5(0x17d)](_0x2bdfa6){}[_0x27ebc5(0x149)](_0x5128a4){}[_0x27ebc5(0x147)](_0x3dece2){}['onMsgQRCodeStatusChanged'](_0x3d022e){}[_0x27ebc5(0x150)](_0x2ab317,_0x3a20c3,_0x1093b5){}[_0x27ebc5(0x142)](_0x13ec2d){}[_0x27ebc5(0x179)](_0x51eeaa){}[_0x27ebc5(0x180)](){}[_0x27ebc5(0x173)](){}[_0x27ebc5(0x146)](){}[_0x27ebc5(0x15e)](_0x235d01){}[_0x27ebc5(0x17f)](_0x142e45){}[_0x27ebc5(0x157)](_0x284a88){}[_0x27ebc5(0x154)](_0x4bde9d,_0x48d635,_0x317caa,_0x28d6fa,_0x487327,_0x214044){}[_0x27ebc5(0x17e)](_0x532722){}['onRecvS2CMsg'](_0x5075e4){}[_0x27ebc5(0x15a)](_0x26bc34){}[_0x27ebc5(0x161)](_0x1ba849){}['onRichMediaDownloadComplete'](_0x69fea3){}['onRichMediaProgerssUpdate'](_0x330c64){}[_0x27ebc5(0x156)](_0xf6896c){}[_0x27ebc5(0x14c)](_0x4945bb){}[_0x27ebc5(0x153)](_0x1f34f2,_0x40d7a7,_0x1544a2,_0x52e98c){}[_0x27ebc5(0x13e)](_0x7fa4dc,_0x299d3c,_0x196f14,_0x4750a1){}['onTempChatInfoUpdate'](_0x19f610){}[_0x27ebc5(0x172)](_0x15046c){}['onUnreadCntUpdate'](_0x2489c3){}[_0x27ebc5(0x143)](_0x16946e){}[_0x27ebc5(0x16d)](_0x3d1399){}[_0x27ebc5(0x17a)](_0xcd8ca6){}['onlineStatusBigIconDownloadPush'](_0xba802a,_0x4a1c2c,_0x23b68b){}[_0x27ebc5(0x15f)](_0x209cbc,_0xfc5527,_0x4f70a0){}[_0x27ebc5(0x151)](..._0x17e9e5){}[_0x27ebc5(0x159)](..._0x1a03f2){}[_0x27ebc5(0x148)](..._0x5d60e8){}[_0x27ebc5(0x16b)](..._0x270830){}}function _0x19c9(){var _0x44d862=['1062PeKjpC','onMsgWithRichLinkInfoUpdate','onRecvSysMsg','onGuildInteractiveUpdate','onHitCsRelatedEmojiResult','onMsgBoxChanged','onReadFeedEventUpdate','onlineStatusSmallIconDownloadPush','57912CRwOYg','onRecvUDCFlag','993671QdkYeC','onCustomWithdrawConfigUpdate','onFirstViewGroupGuildMapping','1866HQlLmN','onLineDev','onGroupFileInfoUpdate','984uUHvXt','onGroupTransferInfoAdd','onFeedEventUpdate','onBroadcastHelperProgerssUpdate','onDraftUpdate','onUserOnlineStatusChanged','onBroadcastHelperProgressUpdate','onGroupFileInfoAdd','3535ghHdsO','onHitEmojiKeywordResult','onUnreadCntAfterFirstView','onNtMsgSyncEnd','onAddSendMsg','12383060LOGYVY','onBroadcastHelperDownloadComplete','1356SLSDPJ','onGuildNotificationAbstractUpdate','onMsgSettingUpdate','onUserTabStatusChanged','257543UlpHhY','onGrabPasswordRedBag','onMsgEventListUpdate','onRecvOnlineFileMsg','onRecvGroupGuildFlag','onNtFirstViewMsgSyncEnd','1710GTvrAj','onSysMsgNotification','onEmojiResourceUpdate','12782IBWRNp','onHitRelatedEmojiResult','onMsgSecurityNotify','onUserChannelTabStatusChanged','onFirstViewDirectMsgUpdate','8088UHZYpC','onNtMsgSyncStart','onMsgInfoListUpdate','onRedTouchChanged','onMsgInfoListAdd','onGroupTransferInfoUpdate','onImportOldDbProgressUpdate','onSearchGroupFileInfoUpdate','onLogLevelChanged','onKickedOffLine','onMsgDelete','onMsgRecall','onUserSecQualityChanged','onGuildMsgAbFlagChanged','onSendMsgError','onRecvMsgSvrRspTransInfo','onInputStatusPush','onRichMediaUploadComplete','onRecvMsg'];_0x19c9=function(){return _0x44d862;};return _0x19c9();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index 30e37e9e..3fa923a2 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x3e3e82=_0x4618;function _0x4618(_0x1801b3,_0xdfa0b4){var _0x6a9dfa=_0x6a9d();return _0x4618=function(_0x461881,_0xa3ae68){_0x461881=_0x461881-0xe7;var _0x108efa=_0x6a9dfa[_0x461881];return _0x108efa;},_0x4618(_0x1801b3,_0xdfa0b4);}function _0x6a9d(){var _0x29e051=['onSelfStatusChanged','4whDuuY','onProfileSimpleChanged','25768mjFCVd','298182tvKpnI','2454OatKnq','onStatusUpdate','onStrangerRemarkChanged','345910fNRWgE','163040phJyvm','117jwKPym','94GBOfpn','78396PUpqvG','84bmrSSr','onProfileDetailInfoChanged','1573524drneuF','1617Qhrtxm'];_0x6a9d=function(){return _0x29e051;};return _0x6a9d();}(function(_0xea72d1,_0x3ea427){var _0xb88b83=_0x4618,_0x40f3f7=_0xea72d1();while(!![]){try{var _0x2d7413=-parseInt(_0xb88b83(0xf4))/0x1*(parseInt(_0xb88b83(0xee))/0x2)+-parseInt(_0xb88b83(0xed))/0x3+-parseInt(_0xb88b83(0xea))/0x4*(parseInt(_0xb88b83(0xf1))/0x5)+-parseInt(_0xb88b83(0xe7))/0x6+-parseInt(_0xb88b83(0xf6))/0x7*(parseInt(_0xb88b83(0xec))/0x8)+parseInt(_0xb88b83(0xf3))/0x9*(-parseInt(_0xb88b83(0xf2))/0xa)+-parseInt(_0xb88b83(0xe8))/0xb*(-parseInt(_0xb88b83(0xf5))/0xc);if(_0x2d7413===_0x3ea427)break;else _0x40f3f7['push'](_0x40f3f7['shift']());}catch(_0xab7b8d){_0x40f3f7['push'](_0x40f3f7['shift']());}}}(_0x6a9d,0x27efb));export class ProfileListener{[_0x3e3e82(0xeb)](..._0x15c1b2){}[_0x3e3e82(0xf7)](_0x168177){}[_0x3e3e82(0xef)](..._0x8c5fae){}[_0x3e3e82(0xe9)](..._0x1efa72){}[_0x3e3e82(0xf0)](..._0xf74f39){}} \ No newline at end of file +function _0xda07(_0x76d43e,_0x49c8ef){var _0x4bb8d8=_0x4bb8();return _0xda07=function(_0xda0739,_0x416cdb){_0xda0739=_0xda0739-0xa0;var _0x477c52=_0x4bb8d8[_0xda0739];return _0x477c52;},_0xda07(_0x76d43e,_0x49c8ef);}function _0x4bb8(){var _0x4120b2=['3582JLkUPV','366CRcbVP','7YenAec','onProfileDetailInfoChanged','59609zwRCAF','545468achbTI','onSelfStatusChanged','onStrangerRemarkChanged','120502SzKoMN','onProfileSimpleChanged','4731SZuLan','182NGLbea','1164eQWTCA','2770gREDBp','47980FymNTE','981928xpsKYL'];_0x4bb8=function(){return _0x4120b2;};return _0x4bb8();}var _0x3b6602=_0xda07;(function(_0x17d59c,_0x403a92){var _0x4f8143=_0xda07,_0x5c08ae=_0x17d59c();while(!![]){try{var _0x30de2a=-parseInt(_0x4f8143(0xac))/0x1+-parseInt(_0x4f8143(0xaf))/0x2*(-parseInt(_0x4f8143(0xae))/0x3)+parseInt(_0x4f8143(0xa9))/0x4+parseInt(_0x4f8143(0xa2))/0x5*(-parseInt(_0x4f8143(0xa5))/0x6)+parseInt(_0x4f8143(0xa6))/0x7*(parseInt(_0x4f8143(0xa3))/0x8)+parseInt(_0x4f8143(0xa4))/0x9*(parseInt(_0x4f8143(0xa1))/0xa)+-parseInt(_0x4f8143(0xa8))/0xb*(-parseInt(_0x4f8143(0xa0))/0xc);if(_0x30de2a===_0x403a92)break;else _0x5c08ae['push'](_0x5c08ae['shift']());}catch(_0x2374e8){_0x5c08ae['push'](_0x5c08ae['shift']());}}}(_0x4bb8,0x51366));export class ProfileListener{[_0x3b6602(0xad)](..._0x13f3ed){}[_0x3b6602(0xa7)](_0x3d664c){}['onStatusUpdate'](..._0x3f4b47){}[_0x3b6602(0xaa)](..._0x4e1bb7){}[_0x3b6602(0xab)](..._0x4cc4f6){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index 5a07d132..ec84d323 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x5230(_0x494357,_0x36de1b){var _0x3e98f6=_0x3e98();return _0x5230=function(_0x5230c0,_0x3d58fd){_0x5230c0=_0x5230c0-0x18e;var _0x425717=_0x3e98f6[_0x5230c0];return _0x425717;},_0x5230(_0x494357,_0x36de1b);}var _0xa945ed=_0x5230;function _0x3e98(){var _0x57551c=['onRobotListChanged','826336GrfPkz','17710ObIzMw','1028ssdnAD','onRobotProfileChanged','511313aINpof','35476pBkWGC','42290EwunDU','4821FUrQvJ','66MFGrIg','2354YEDGNq','270632ERgvUC','27rfquSH','onRobotFriendListChanged'];_0x3e98=function(){return _0x57551c;};return _0x3e98();}(function(_0x4a39b0,_0x5bd9ef){var _0x423da7=_0x5230,_0x4671ef=_0x4a39b0();while(!![]){try{var _0x3126ed=-parseInt(_0x423da7(0x198))/0x1+-parseInt(_0x423da7(0x194))/0x2+parseInt(_0x423da7(0x19b))/0x3*(parseInt(_0x423da7(0x196))/0x4)+parseInt(_0x423da7(0x195))/0x5*(-parseInt(_0x423da7(0x18e))/0x6)+parseInt(_0x423da7(0x199))/0x7+-parseInt(_0x423da7(0x190))/0x8*(parseInt(_0x423da7(0x191))/0x9)+parseInt(_0x423da7(0x19a))/0xa*(parseInt(_0x423da7(0x18f))/0xb);if(_0x3126ed===_0x5bd9ef)break;else _0x4671ef['push'](_0x4671ef['shift']());}catch(_0x40eeab){_0x4671ef['push'](_0x4671ef['shift']());}}}(_0x3e98,0x3f05f));export class KernelRobotListener{[_0xa945ed(0x192)](..._0x27d656){}[_0xa945ed(0x193)](..._0x4c1e3c){}[_0xa945ed(0x197)](..._0x4a8cc6){}} \ No newline at end of file +function _0x80d2(_0x1f3bc7,_0x31cade){var _0x40a087=_0x40a0();return _0x80d2=function(_0x80d2e3,_0x273e9c){_0x80d2e3=_0x80d2e3-0x170;var _0x3373fe=_0x40a087[_0x80d2e3];return _0x3373fe;},_0x80d2(_0x1f3bc7,_0x31cade);}var _0x2856fc=_0x80d2;(function(_0x3b96db,_0x7d6e59){var _0x14c9cf=_0x80d2,_0x549f8d=_0x3b96db();while(!![]){try{var _0x5b48a3=parseInt(_0x14c9cf(0x176))/0x1+parseInt(_0x14c9cf(0x172))/0x2*(parseInt(_0x14c9cf(0x170))/0x3)+-parseInt(_0x14c9cf(0x17c))/0x4*(parseInt(_0x14c9cf(0x17d))/0x5)+parseInt(_0x14c9cf(0x179))/0x6*(parseInt(_0x14c9cf(0x171))/0x7)+parseInt(_0x14c9cf(0x175))/0x8+parseInt(_0x14c9cf(0x17b))/0x9*(-parseInt(_0x14c9cf(0x17e))/0xa)+-parseInt(_0x14c9cf(0x178))/0xb*(-parseInt(_0x14c9cf(0x177))/0xc);if(_0x5b48a3===_0x7d6e59)break;else _0x549f8d['push'](_0x549f8d['shift']());}catch(_0x488277){_0x549f8d['push'](_0x549f8d['shift']());}}}(_0x40a0,0x7aa0c));export class KernelRobotListener{[_0x2856fc(0x173)](..._0x3022fc){}[_0x2856fc(0x174)](..._0x3dc873){}[_0x2856fc(0x17a)](..._0x5c9634){}}function _0x40a0(){var _0x552af4=['301Utthfw','14gzHKDo','onRobotFriendListChanged','onRobotListChanged','7362056BoQnfj','72544ahiFjJ','36sYdPdB','293238LZOGHZ','23442PcndMu','onRobotProfileChanged','9HmIhxk','343648EAyaIR','35essxVv','4671790sLnZch','141459vQvslY'];_0x40a0=function(){return _0x552af4;};return _0x40a0();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index 6faca509..f07a057e 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x14545d=_0x77f2;function _0x3054(){var _0x22b301=['onUserOnlineResult','3565LYKtsS','onOpentelemetryInit','9212624aVaeep','1996956ncRKgX','302HFaoEt','5070247nUteuQ','3709768smyIQT','10LJMZPx','6217SgniKQ','onGetSelfTinyId','onSessionInitComplete','3851703WNAsDc','onGProSessionCreate','5010pklByx'];_0x3054=function(){return _0x22b301;};return _0x3054();}function _0x77f2(_0x41aa2d,_0x1775b3){var _0x30549f=_0x3054();return _0x77f2=function(_0x138a06,_0x424ffa){_0x138a06=_0x138a06-0x1dc;var _0x37e552=_0x30549f[_0x138a06];return _0x37e552;},_0x77f2(_0x41aa2d,_0x1775b3);}(function(_0x2547dd,_0x202320){var _0x38eb84=_0x77f2,_0x2e8209=_0x2547dd();while(!![]){try{var _0x2ef53d=-parseInt(_0x38eb84(0x1e0))/0x1*(-parseInt(_0x38eb84(0x1dc))/0x2)+parseInt(_0x38eb84(0x1ea))/0x3+-parseInt(_0x38eb84(0x1de))/0x4+-parseInt(_0x38eb84(0x1e7))/0x5*(parseInt(_0x38eb84(0x1e5))/0x6)+-parseInt(_0x38eb84(0x1dd))/0x7+parseInt(_0x38eb84(0x1e9))/0x8+-parseInt(_0x38eb84(0x1e3))/0x9*(-parseInt(_0x38eb84(0x1df))/0xa);if(_0x2ef53d===_0x202320)break;else _0x2e8209['push'](_0x2e8209['shift']());}catch(_0x546d7e){_0x2e8209['push'](_0x2e8209['shift']());}}}(_0x3054,0xe4b8e));export class SessionListener{['onNTSessionCreate'](_0x49bafc){}[_0x14545d(0x1e4)](_0x50fe41){}[_0x14545d(0x1e2)](_0x408525){}[_0x14545d(0x1e8)](_0x16f334){}[_0x14545d(0x1e6)](_0xcf94a2){}[_0x14545d(0x1e1)](_0x3876e7){}} \ No newline at end of file +var _0x5bb35e=_0x17d8;function _0x17d8(_0x49c8f8,_0x1dae2d){var _0x4d01ae=_0x4d01();return _0x17d8=function(_0x17d83,_0x282af7){_0x17d83=_0x17d83-0x198;var _0x16ebf=_0x4d01ae[_0x17d83];return _0x16ebf;},_0x17d8(_0x49c8f8,_0x1dae2d);}function _0x4d01(){var _0x260f52=['1208698NWLbAR','4128wHIhMN','1413937cpIRpn','5103609NOPuGX','2950285AmQuJi','10sWWvJh','onOpentelemetryInit','5882262KPYVWx','2480xlYLux','onSessionInitComplete','8vRcRKU','16050123AsrUbt','onUserOnlineResult'];_0x4d01=function(){return _0x260f52;};return _0x4d01();}(function(_0x4166cd,_0x46dc82){var _0x29f49a=_0x17d8,_0x4db757=_0x4166cd();while(!![]){try{var _0x5841bd=-parseInt(_0x29f49a(0x1a0))/0x1+parseInt(_0x29f49a(0x19e))/0x2+-parseInt(_0x29f49a(0x19f))/0x3*(-parseInt(_0x29f49a(0x199))/0x4)+parseInt(_0x29f49a(0x1a2))/0x5+-parseInt(_0x29f49a(0x198))/0x6+parseInt(_0x29f49a(0x1a1))/0x7*(-parseInt(_0x29f49a(0x19b))/0x8)+-parseInt(_0x29f49a(0x19c))/0x9*(-parseInt(_0x29f49a(0x1a3))/0xa);if(_0x5841bd===_0x46dc82)break;else _0x4db757['push'](_0x4db757['shift']());}catch(_0x2c22c8){_0x4db757['push'](_0x4db757['shift']());}}}(_0x4d01,0xacb90));export class SessionListener{['onNTSessionCreate'](_0x384cb4){}['onGProSessionCreate'](_0x19d264){}[_0x5bb35e(0x19a)](_0x7307c1){}[_0x5bb35e(0x1a4)](_0x55e71c){}[_0x5bb35e(0x19d)](_0x9f689b){}['onGetSelfTinyId'](_0x5ee20a){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index ec521e2f..4482b97a 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x3a63d9=_0x713f;(function(_0x299eb9,_0x388ca4){var _0x321793=_0x713f,_0x4c8598=_0x299eb9();while(!![]){try{var _0x50818e=parseInt(_0x321793(0x184))/0x1*(parseInt(_0x321793(0x188))/0x2)+-parseInt(_0x321793(0x185))/0x3*(parseInt(_0x321793(0x180))/0x4)+parseInt(_0x321793(0x18b))/0x5+parseInt(_0x321793(0x183))/0x6*(parseInt(_0x321793(0x18a))/0x7)+-parseInt(_0x321793(0x187))/0x8*(parseInt(_0x321793(0x189))/0x9)+parseInt(_0x321793(0x17f))/0xa+parseInt(_0x321793(0x182))/0xb;if(_0x50818e===_0x388ca4)break;else _0x4c8598['push'](_0x4c8598['shift']());}catch(_0xe220b7){_0x4c8598['push'](_0x4c8598['shift']());}}}(_0x1f32,0xe3c8c));function _0x713f(_0x38a368,_0x552bd7){var _0x1f324d=_0x1f32();return _0x713f=function(_0x713f90,_0x542a66){_0x713f90=_0x713f90-0x17f;var _0x69a77c=_0x1f324d[_0x713f90];return _0x69a77c;},_0x713f(_0x38a368,_0x552bd7);}function _0x1f32(){var _0x2854a7=['7619416pdBWwN','108IIKXJE','9GEzSho','7OwCQjR','3908325kHegmq','onCleanCacheProgressChanged','2802810sQTlfG','124ybmBcJ','onChatCleanDone','9706697fjYfOq','1603566oFrEgh','17010LFAzjW','120459nGvITK','onCleanCacheStorageChanged'];_0x1f32=function(){return _0x2854a7;};return _0x1f32();}export class StorageCleanListener{[_0x3a63d9(0x18c)](_0x29167f){}['onScanCacheProgressChanged'](_0x173efc){}[_0x3a63d9(0x186)](_0x17be5f){}['onFinishScan'](_0x5f2b8){}[_0x3a63d9(0x181)](_0x545c0c){}} \ No newline at end of file +var _0x1557ed=_0x5bf6;function _0x4fe8(){var _0x213a89=['1555989XauDhh','onScanCacheProgressChanged','4968875RgbVkB','onChatCleanDone','onFinishScan','433608HZDjVT','568272SNZhEd','4570083uiRFdE','870356LjnjxQ','onCleanCacheProgressChanged','1305552xvReQQ'];_0x4fe8=function(){return _0x213a89;};return _0x4fe8();}(function(_0x58a1ca,_0x2ff835){var _0x1177ef=_0x5bf6,_0xa4e4a2=_0x58a1ca();while(!![]){try{var _0x287c2f=-parseInt(_0x1177ef(0xd9))/0x1+parseInt(_0x1177ef(0xdb))/0x2+parseInt(_0x1177ef(0xdc))/0x3+parseInt(_0x1177ef(0xd7))/0x4+parseInt(_0x1177ef(0xde))/0x5+parseInt(_0x1177ef(0xd6))/0x6+-parseInt(_0x1177ef(0xd8))/0x7;if(_0x287c2f===_0x2ff835)break;else _0xa4e4a2['push'](_0xa4e4a2['shift']());}catch(_0x1c2b08){_0xa4e4a2['push'](_0xa4e4a2['shift']());}}}(_0x4fe8,0xd1105));function _0x5bf6(_0x30474e,_0x51b473){var _0x4fe80e=_0x4fe8();return _0x5bf6=function(_0x5bf699,_0x22a4b3){_0x5bf699=_0x5bf699-0xd6;var _0x270776=_0x4fe80e[_0x5bf699];return _0x270776;},_0x5bf6(_0x30474e,_0x51b473);}export class StorageCleanListener{[_0x1557ed(0xda)](_0x3714e3){}[_0x1557ed(0xdd)](_0x1e7273){}['onCleanCacheStorageChanged'](_0xb87e0e){}[_0x1557ed(0xe0)](_0x45363b){}[_0x1557ed(0xdf)](_0x1165d3){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index 06bf05a6..f367024f 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x4fc92d,_0xfa18fb){var _0x5db599=_0xe036,_0xa14bdc=_0x4fc92d();while(!![]){try{var _0x5010b7=-parseInt(_0x5db599(0x10f))/0x1*(parseInt(_0x5db599(0x114))/0x2)+parseInt(_0x5db599(0x111))/0x3*(-parseInt(_0x5db599(0x110))/0x4)+parseInt(_0x5db599(0x117))/0x5+-parseInt(_0x5db599(0x115))/0x6+parseInt(_0x5db599(0x116))/0x7+-parseInt(_0x5db599(0x113))/0x8+parseInt(_0x5db599(0x112))/0x9;if(_0x5010b7===_0xfa18fb)break;else _0xa14bdc['push'](_0xa14bdc['shift']());}catch(_0x40a1bc){_0xa14bdc['push'](_0xa14bdc['shift']());}}}(_0x2889,0x3c103));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0xe036(_0x56af6c,_0x11eebc){var _0x2889ed=_0x2889();return _0xe036=function(_0xe036ce,_0x5df7f0){_0xe036ce=_0xe036ce-0x10f;var _0x275624=_0x2889ed[_0xe036ce];return _0x275624;},_0xe036(_0x56af6c,_0x11eebc);}export*from'./NodeIKernelRobotListener';function _0x2889(){var _0xbfa6a7=['6051726yrPHUK','1499760vxRyol','2mXQiUe','833994aIbiRf','1410108AWYPXn','1366605DccmOd','172622npSgIm','2404TxBQMj','2007qZLHDl'];_0x2889=function(){return _0xbfa6a7;};return _0x2889();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x57346a,_0x3d6087){var _0x8d6a45=_0x1681,_0x1fee45=_0x57346a();while(!![]){try{var _0x592a19=-parseInt(_0x8d6a45(0xed))/0x1*(parseInt(_0x8d6a45(0xe6))/0x2)+parseInt(_0x8d6a45(0xe5))/0x3+parseInt(_0x8d6a45(0xec))/0x4*(parseInt(_0x8d6a45(0xe8))/0x5)+parseInt(_0x8d6a45(0xea))/0x6+-parseInt(_0x8d6a45(0xe7))/0x7+parseInt(_0x8d6a45(0xe9))/0x8+parseInt(_0x8d6a45(0xeb))/0x9;if(_0x592a19===_0x3d6087)break;else _0x1fee45['push'](_0x1fee45['shift']());}catch(_0x2009fa){_0x1fee45['push'](_0x1fee45['shift']());}}}(_0x42f4,0xb804e));function _0x1681(_0x40b203,_0x43b3bb){var _0x42f491=_0x42f4();return _0x1681=function(_0x16815d,_0x1ad986){_0x16815d=_0x16815d-0xe5;var _0x22d84e=_0x42f491[_0x16815d];return _0x22d84e;},_0x1681(_0x40b203,_0x43b3bb);}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x42f4(){var _0x370026=['1298864iMbQnp','5893704yCUhdn','1705680ekwnzq','140tCiNPW','1pYjWzM','1392702LSdkjJ','545826fjDPUm','6884192zvIWnD','30245Refged'];_0x42f4=function(){return _0x370026;};return _0x42f4();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 57c8d3aa..2a46e13b 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x3bbe0d,_0xa3732){var _0x46fdea=_0xd4c8,_0x25c019=_0x3bbe0d();while(!![]){try{var _0x5142b1=-parseInt(_0x46fdea(0x199))/0x1*(-parseInt(_0x46fdea(0x19c))/0x2)+parseInt(_0x46fdea(0x197))/0x3+parseInt(_0x46fdea(0x1a0))/0x4*(parseInt(_0x46fdea(0x19f))/0x5)+-parseInt(_0x46fdea(0x1a1))/0x6*(parseInt(_0x46fdea(0x1a2))/0x7)+-parseInt(_0x46fdea(0x19b))/0x8*(parseInt(_0x46fdea(0x198))/0x9)+-parseInt(_0x46fdea(0x19d))/0xa*(-parseInt(_0x46fdea(0x19a))/0xb)+parseInt(_0x46fdea(0x19e))/0xc*(parseInt(_0x46fdea(0x1a3))/0xd);if(_0x5142b1===_0xa3732)break;else _0x25c019['push'](_0x25c019['shift']());}catch(_0x35a6ce){_0x25c019['push'](_0x25c019['shift']());}}}(_0x11f4,0xbec5d));export var GeneralCallResultStatus;(function(_0x5619d4){_0x5619d4[_0x5619d4['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0xd4c8(_0x58deb5,_0x544349){var _0x11f4af=_0x11f4();return _0xd4c8=function(_0xd4c85e,_0x23b0d0){_0xd4c85e=_0xd4c85e-0x197;var _0x58b5dc=_0x11f4af[_0xd4c85e];return _0x58b5dc;},_0xd4c8(_0x58deb5,_0x544349);}function _0x11f4(){var _0xdc00fd=['24CoazCV','40FVFNZU','7332gJiuum','6gOiXEN','7496377qpxKkM','14528215buwKPZ','16413XXnpbd','13826727ybxDrT','1041739tffDOR','67199EIPMVa','8mUeMey','2cKtwAg','150UphCNQ'];_0x11f4=function(){return _0xdc00fd;};return _0x11f4();} \ No newline at end of file +(function(_0x159aed,_0x2bf7d6){var _0x69732=_0x49cf,_0xf08804=_0x159aed();while(!![]){try{var _0xe2a8b4=-parseInt(_0x69732(0x164))/0x1*(-parseInt(_0x69732(0x167))/0x2)+parseInt(_0x69732(0x15d))/0x3*(-parseInt(_0x69732(0x166))/0x4)+parseInt(_0x69732(0x163))/0x5*(parseInt(_0x69732(0x165))/0x6)+parseInt(_0x69732(0x160))/0x7*(parseInt(_0x69732(0x15f))/0x8)+parseInt(_0x69732(0x161))/0x9+-parseInt(_0x69732(0x162))/0xa+parseInt(_0x69732(0x15e))/0xb*(parseInt(_0x69732(0x168))/0xc);if(_0xe2a8b4===_0x2bf7d6)break;else _0xf08804['push'](_0xf08804['shift']());}catch(_0x4c262f){_0xf08804['push'](_0xf08804['shift']());}}}(_0x5e8d,0x9f107));function _0x5e8d(){var _0x1c5c4d=['5ucIJmr','1eLjRxH','891852ODbHHq','4vjKibJ','1058942vqoiVf','6528IcAOuA','3211671ralKWT','1947qnvtTa','6217400cxxPNI','7sxYtHj','6709932nnOYcH','5750400etnArX'];_0x5e8d=function(){return _0x1c5c4d;};return _0x5e8d();}export var GeneralCallResultStatus;function _0x49cf(_0xf67969,_0x3142c6){var _0x5e8d1e=_0x5e8d();return _0x49cf=function(_0x49cfe2,_0x393dc9){_0x49cfe2=_0x49cfe2-0x15d;var _0x476565=_0x5e8d1e[_0x49cfe2];return _0x476565;},_0x49cf(_0xf67969,_0x3142c6);}(function(_0x3d112b){_0x3d112b[_0x3d112b['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index 36f6d150..a5df0d08 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x2a0403,_0x3f3b30){var _0x3668fb=_0xa178,_0x33a5db=_0x2a0403();while(!![]){try{var _0x2ae572=parseInt(_0x3668fb(0x103))/0x1+-parseInt(_0x3668fb(0x104))/0x2*(parseInt(_0x3668fb(0xff))/0x3)+parseInt(_0x3668fb(0xfb))/0x4*(-parseInt(_0x3668fb(0x105))/0x5)+-parseInt(_0x3668fb(0x101))/0x6*(-parseInt(_0x3668fb(0x102))/0x7)+parseInt(_0x3668fb(0xfd))/0x8+parseInt(_0x3668fb(0xfe))/0x9*(parseInt(_0x3668fb(0x100))/0xa)+-parseInt(_0x3668fb(0xfc))/0xb;if(_0x2ae572===_0x3f3b30)break;else _0x33a5db['push'](_0x33a5db['shift']());}catch(_0x13a950){_0x33a5db['push'](_0x33a5db['shift']());}}}(_0x1fc0,0xcf6b5));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0xa178(_0x548947,_0x477708){var _0x1fc058=_0x1fc0();return _0xa178=function(_0xa178b,_0x3ebd1d){_0xa178b=_0xa178b-0xfb;var _0x26d081=_0x1fc058[_0xa178b];return _0x26d081;},_0xa178(_0x548947,_0x477708);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x1fc0(){var _0x39334a=['8476512BXvfHk','9HEXZJg','3389133yeaCVe','9500290pQtlol','8982iIUhtE','3731eroQZh','1021610ivDyJH','2AxOITp','885hRfWye','25948NWsFVX','7717655KqeDxn'];_0x1fc0=function(){return _0x39334a;};return _0x1fc0();}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x331be8,_0x324cd4){var _0xca7880=_0x1470,_0x1b6497=_0x331be8();while(!![]){try{var _0x3ca8f0=parseInt(_0xca7880(0xb3))/0x1*(-parseInt(_0xca7880(0xae))/0x2)+parseInt(_0xca7880(0xb0))/0x3+-parseInt(_0xca7880(0xb2))/0x4+parseInt(_0xca7880(0xac))/0x5*(parseInt(_0xca7880(0xb1))/0x6)+-parseInt(_0xca7880(0xaf))/0x7+parseInt(_0xca7880(0xad))/0x8*(parseInt(_0xca7880(0xb5))/0x9)+-parseInt(_0xca7880(0xb4))/0xa;if(_0x3ca8f0===_0x324cd4)break;else _0x1b6497['push'](_0x1b6497['shift']());}catch(_0xc606e1){_0x1b6497['push'](_0x1b6497['shift']());}}}(_0x18c6,0x514c0));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0x18c6(){var _0x1805fd=['5242780ZjKaSq','1286451RhRWgN','148345JAnkHs','8xkGXZS','12vvEXdy','797314hNXAth','1426263GNfgmI','132dHbpYr','471296hRvEhd','30347MMhrAb'];_0x18c6=function(){return _0x1805fd;};return _0x18c6();}function _0x1470(_0x21b1e2,_0x56979b){var _0x18c6c0=_0x18c6();return _0x1470=function(_0x147049,_0x4e53f7){_0x147049=_0x147049-0xac;var _0x592d6f=_0x18c6c0[_0x147049];return _0x592d6f;},_0x1470(_0x21b1e2,_0x56979b);}export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.d.ts b/src/core.lib/src/sessionConfig.d.ts index 659deeb9..9fb5bde4 100644 --- a/src/core.lib/src/sessionConfig.d.ts +++ b/src/core.lib/src/sessionConfig.d.ts @@ -43,4 +43,4 @@ export interface WrapperSessionInitConfig { 'deviceConfig': '{"appearance":{"isSplitViewMode":true},"msg":{}}'; } export declare const sessionConfig: WrapperSessionInitConfig | any; -export declare function genSessionConfig(selfUin: string, selfUid: string, account_path: string): WrapperSessionInitConfig; +export declare function genSessionConfig(selfUin: string, selfUid: string, account_path: string): Promise; diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 81380f52..41f09b4e 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x48581c,_0x5bbf97){const _0xd7c50a=_0x1f0e,_0x612207=_0x48581c();while(!![]){try{const _0x231755=-parseInt(_0xd7c50a(0x8d))/0x1+-parseInt(_0xd7c50a(0x82))/0x2*(-parseInt(_0xd7c50a(0x8e))/0x3)+parseInt(_0xd7c50a(0x7f))/0x4*(parseInt(_0xd7c50a(0x8b))/0x5)+parseInt(_0xd7c50a(0x7d))/0x6+parseInt(_0xd7c50a(0x77))/0x7*(-parseInt(_0xd7c50a(0x81))/0x8)+parseInt(_0xd7c50a(0x88))/0x9*(parseInt(_0xd7c50a(0x86))/0xa)+-parseInt(_0xd7c50a(0x89))/0xb*(parseInt(_0xd7c50a(0x8a))/0xc);if(_0x231755===_0x5bbf97)break;else _0x612207['push'](_0x612207['shift']());}catch(_0x59488e){_0x612207['push'](_0x612207['shift']());}}}(_0x1c99,0x714f0));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3bef8d from'node:path';import _0x28e6da from'node:fs';function _0x1c99(){const _0x329298=['540zGlRIi','25dgfjvF','CMKEM','764003vKjboy','814623SYiuAt','utf-8','guid.txt','XZUnR','curVersion','51303EOXTUY','version','aNojh','sBIch','temp','dNiUk','3151530Ngtjui','writeFileSync','296172GNJXIz','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','536lYihQV','2NeaddG','readFileSync','join','assign','30dZpVAK','mkdirSync','2478726MDLIDP','67001nJrpWf'];_0x1c99=function(){return _0x329298;};return _0x1c99();}function _0x1f0e(_0x3d28bc,_0x14a651){const _0x1c993c=_0x1c99();return _0x1f0e=function(_0x1f0e84,_0x50e875){_0x1f0e84=_0x1f0e84-0x76;let _0x3daa6b=_0x1c993c[_0x1f0e84];return _0x3daa6b;},_0x1f0e(_0x3d28bc,_0x14a651);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x1d87e2,_0x27f531,_0x129402){const _0x1d9b34=_0x1f0e,_0x2de6ad={'dNiUk':'NapCat','MfoKD':_0x1d9b34(0x7b),'aNojh':_0x1d9b34(0x90),'XZUnR':function(_0x49bd3c){return _0x49bd3c();},'CMKEM':_0x1d9b34(0x8f),'sBIch':_0x1d9b34(0x80)},_0x29b3cd=_0x3bef8d[_0x1d9b34(0x84)](_0x129402,_0x2de6ad[_0x1d9b34(0x7c)],_0x2de6ad['MfoKD']);_0x28e6da[_0x1d9b34(0x87)](_0x29b3cd,{'recursive':!![]});const _0x15336b=_0x3bef8d['join'](_0x129402,_0x2de6ad[_0x1d9b34(0x7c)],_0x2de6ad[_0x1d9b34(0x79)]);let _0x1670bc=_0x2de6ad[_0x1d9b34(0x91)](randomUUID);try{_0x1670bc=_0x28e6da[_0x1d9b34(0x83)](_0x3bef8d[_0x1d9b34(0x84)](_0x15336b),_0x2de6ad[_0x1d9b34(0x8c)]);}catch(_0x30baeb){_0x28e6da[_0x1d9b34(0x7e)](_0x3bef8d[_0x1d9b34(0x84)](_0x15336b),_0x1670bc,_0x2de6ad[_0x1d9b34(0x8c)]);}const _0x207701={'selfUin':_0x1d87e2,'selfUid':_0x27f531,'desktopPathConfig':{'account_path':_0x129402},'clientVer':qqVersionConfigInfo[_0x1d9b34(0x76)],'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':_0x29b3cd,'deviceInfo':{'guid':_0x1670bc,'buildVer':qqPkgInfo[_0x1d9b34(0x78)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x2de6ad[_0x1d9b34(0x7a)]};return Object[_0x1d9b34(0x85)](sessionConfig,_0x207701),_0x207701;} \ No newline at end of file +(function(_0x251d55,_0x410a94){const _0x4826d9=_0x3848,_0x28fb63=_0x251d55();while(!![]){try{const _0xff8289=parseInt(_0x4826d9(0x1bd))/0x1+-parseInt(_0x4826d9(0x1bc))/0x2*(parseInt(_0x4826d9(0x1cc))/0x3)+parseInt(_0x4826d9(0x1c8))/0x4*(parseInt(_0x4826d9(0x1c4))/0x5)+parseInt(_0x4826d9(0x1c5))/0x6*(parseInt(_0x4826d9(0x1bf))/0x7)+parseInt(_0x4826d9(0x1c1))/0x8*(-parseInt(_0x4826d9(0x1cf))/0x9)+-parseInt(_0x4826d9(0x1c7))/0xa+-parseInt(_0x4826d9(0x1c0))/0xb;if(_0xff8289===_0x410a94)break;else _0x28fb63['push'](_0x28fb63['shift']());}catch(_0xce0e10){_0x28fb63['push'](_0x28fb63['shift']());}}}(_0x2b1a,0x2e67a));function _0x3848(_0x2ce9d9,_0x11324b){const _0x2b1aae=_0x2b1a();return _0x3848=function(_0x384894,_0x3f8b18){_0x384894=_0x384894-0x1bb;let _0x20c677=_0x2b1aae[_0x384894];return _0x20c677;},_0x3848(_0x2ce9d9,_0x11324b);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5ec574 from'node:path';import _0x168d87 from'node:fs';import{getMachineId}from'@/common/utils/system';function _0x2b1a(){const _0x3c3e48=['213ockrJl','xMdmC','sMFXq','631863JLFRHa','jhWTp','1250LIRxMm','343031dyMmCz','mkdirSync','119lNRTtm','1321364ddnYPN','32hFUhAF','join','assign','110gvWmwE','36648aSkNDa','NapCat','830120IrNiVZ','49372lrXnCv','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','temp','curVersion'];_0x2b1a=function(){return _0x3c3e48;};return _0x2b1a();}export const sessionConfig={};export async function genSessionConfig(_0x57eee3,_0x103bc0,_0x23e4cc){const _0x58e52f=_0x3848,_0x55a28d={'sMFXq':_0x58e52f(0x1c6),'xMdmC':function(_0x850075){return _0x850075();},'jhWTp':_0x58e52f(0x1c9)},_0x40979c=_0x5ec574[_0x58e52f(0x1c2)](_0x23e4cc,_0x55a28d[_0x58e52f(0x1ce)],_0x58e52f(0x1ca));_0x168d87[_0x58e52f(0x1be)](_0x40979c,{'recursive':!![]});let _0x34df88=await _0x55a28d[_0x58e52f(0x1cd)](getMachineId);const _0x3abb28={'selfUin':_0x57eee3,'selfUid':_0x103bc0,'desktopPathConfig':{'account_path':_0x23e4cc},'clientVer':qqVersionConfigInfo[_0x58e52f(0x1cb)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x40979c,'deviceInfo':{'guid':_0x34df88,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x55a28d[_0x58e52f(0x1bb)]};return Object[_0x58e52f(0x1c3)](sessionConfig,_0x3abb28),_0x3abb28;} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index 5eca4857..c768cbcf 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x1e92de=_0x4747;(function(_0x32365f,_0xaa6f79){const _0x2171ac=_0x4747,_0x59662e=_0x32365f();while(!![]){try{const _0x9a7e13=parseInt(_0x2171ac(0x76))/0x1*(-parseInt(_0x2171ac(0x71))/0x2)+parseInt(_0x2171ac(0x7a))/0x3+parseInt(_0x2171ac(0x7c))/0x4*(parseInt(_0x2171ac(0x77))/0x5)+-parseInt(_0x2171ac(0x7b))/0x6+-parseInt(_0x2171ac(0x82))/0x7*(-parseInt(_0x2171ac(0x73))/0x8)+parseInt(_0x2171ac(0x72))/0x9+parseInt(_0x2171ac(0x79))/0xa*(-parseInt(_0x2171ac(0x78))/0xb);if(_0x9a7e13===_0xaa6f79)break;else _0x59662e['push'](_0x59662e['shift']());}catch(_0x401df5){_0x59662e['push'](_0x59662e['shift']());}}}(_0x4a90,0x8f236));import _0x4e7af8 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x4747(_0x4f237a,_0x2f5aa2){const _0x4a90bb=_0x4a90();return _0x4747=function(_0x4747d1,_0x331ac2){_0x4747d1=_0x4747d1-0x70;let _0x5380f1=_0x4a90bb[_0x4747d1];return _0x5380f1;},_0x4747(_0x4f237a,_0x2f5aa2);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x4a90(){const _0x3c3e38=['join','2049992rNcedo','8793423gWTeDA','7976ZQWrTz','napcat_','fileLogLevel','1ivvFZk','5AGkuPk','33kHkOzI','5828110dkUcbK','2650986jjlQiO','229284dPUaUu','1558724cuxmjs','.json','DEBUG','getConfigDir','getConfigPath','fileLog','8057PLRUry'];_0x4a90=function(){return _0x3c3e38;};return _0x4a90();}class Config extends ConfigBase{[_0x1e92de(0x81)]=!![];['consoleLog']=!![];[_0x1e92de(0x75)]=LogLevel[_0x1e92de(0x7e)];['consoleLogLevel']=LogLevel['INFO'];constructor(){super();}[_0x1e92de(0x80)](){const _0x4e85d2=_0x1e92de;return _0x4e7af8[_0x4e85d2(0x70)](this[_0x4e85d2(0x7f)](),_0x4e85d2(0x74)+selfInfo['uin']+_0x4e85d2(0x7d));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x3ed13d=_0x3166;function _0x3166(_0x3676d0,_0x130051){const _0x428afd=_0x428a();return _0x3166=function(_0x31666c,_0xcfa1a0){_0x31666c=_0x31666c-0xea;let _0x2c8b51=_0x428afd[_0x31666c];return _0x2c8b51;},_0x3166(_0x3676d0,_0x130051);}(function(_0xecf153,_0x9831fd){const _0x2a3e72=_0x3166,_0x44df42=_0xecf153();while(!![]){try{const _0x454f5d=parseInt(_0x2a3e72(0xf9))/0x1*(parseInt(_0x2a3e72(0xeb))/0x2)+-parseInt(_0x2a3e72(0xf3))/0x3+parseInt(_0x2a3e72(0xef))/0x4+-parseInt(_0x2a3e72(0xf0))/0x5*(parseInt(_0x2a3e72(0xf2))/0x6)+parseInt(_0x2a3e72(0xf6))/0x7+-parseInt(_0x2a3e72(0xf8))/0x8*(parseInt(_0x2a3e72(0xec))/0x9)+-parseInt(_0x2a3e72(0xf1))/0xa*(-parseInt(_0x2a3e72(0xf5))/0xb);if(_0x454f5d===_0x9831fd)break;else _0x44df42['push'](_0x44df42['shift']());}catch(_0x363344){_0x44df42['push'](_0x44df42['shift']());}}}(_0x428a,0x76d20));import _0x66ee39 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x428a(){const _0x4752de=['3253187IPjeUA','uin','1182904ZTCPnM','7VXMkcj','DEBUG','fileLogLevel','.json','fileLog','92778StshEQ','36TgcFjn','consoleLog','getConfigDir','2328420PVifVF','10iJyHHH','10TMKzYq','1954140wiCpKg','1518828umrNau','INFO','9506497cmgrto'];_0x428a=function(){return _0x4752de;};return _0x428a();}class Config extends ConfigBase{[_0x3ed13d(0xea)]=!![];[_0x3ed13d(0xed)]=!![];[_0x3ed13d(0xfb)]=LogLevel[_0x3ed13d(0xfa)];['consoleLogLevel']=LogLevel[_0x3ed13d(0xf4)];constructor(){super();}['getConfigPath'](){const _0x4a4664=_0x3ed13d;return _0x66ee39['join'](this[_0x4a4664(0xee)](),'napcat_'+selfInfo[_0x4a4664(0xf7)]+_0x4a4664(0xfc));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 18a2fe12..fd38b1b6 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x571a(_0x57c6ea,_0x404654){const _0x52f9fa=_0x52f9();return _0x571a=function(_0x571ac5,_0x281780){_0x571ac5=_0x571ac5-0x104;let _0x526742=_0x52f9fa[_0x571ac5];return _0x526742;},_0x571a(_0x57c6ea,_0x404654);}const _0x1dcf87=_0x571a;(function(_0x1b74d4,_0x53dd5c){const _0x3c4bdb=_0x571a,_0x121dac=_0x1b74d4();while(!![]){try{const _0x5950fc=-parseInt(_0x3c4bdb(0x10d))/0x1*(parseInt(_0x3c4bdb(0x10c))/0x2)+parseInt(_0x3c4bdb(0x109))/0x3+parseInt(_0x3c4bdb(0x111))/0x4+parseInt(_0x3c4bdb(0x115))/0x5+-parseInt(_0x3c4bdb(0x116))/0x6*(parseInt(_0x3c4bdb(0x107))/0x7)+-parseInt(_0x3c4bdb(0x114))/0x8*(parseInt(_0x3c4bdb(0x110))/0x9)+parseInt(_0x3c4bdb(0x105))/0xa*(parseInt(_0x3c4bdb(0x108))/0xb);if(_0x5950fc===_0x53dd5c)break;else _0x121dac['push'](_0x121dac['shift']());}catch(_0x1a9ad5){_0x121dac['push'](_0x121dac['shift']());}}}(_0x52f9,0xee919));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x1dcf87(0x10b)]='';[_0x1dcf87(0x104)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x202626){const _0x3ee07d=_0x1dcf87;this[_0x3ee07d(0x10b)]=_0x202626;}async[_0x1dcf87(0x10a)](){const _0x3d7c7f=_0x1dcf87,_0x3f0ae9={'TZOgb':function(_0x473ff4,_0x210f41,_0x521abd){return _0x473ff4(_0x210f41,_0x521abd);}};if(this[_0x3d7c7f(0x117)]())try{await this[_0x3d7c7f(0x112)]();}catch(_0x38ef37){_0x3f0ae9['TZOgb'](logError,_0x3d7c7f(0x10e),_0x38ef37);}return this['rkeyData'];}[_0x1dcf87(0x117)](){const _0xbe5d70=new Date()['getTime']()/0x3e8;return _0xbe5d70>this['rkeyData']['expired_time'];}async[_0x1dcf87(0x112)](){const _0x32f9f0=_0x1dcf87,_0x5d1d79={'rDGIG':'GET'};this['rkeyData']=await RequestUtil[_0x32f9f0(0x10f)](this['serverUrl'],_0x5d1d79[_0x32f9f0(0x113)]);}}function _0x52f9(){const _0x23c069=['16bPOzqP','获取rkey失败','HttpGetJson','171qAvkNy','1388972epivdq','refreshRkey','rDGIG','15704iwcZeA','842670BRxoDp','4085808dnmIlv','isExpired','rkeyData','930CHiFcu','http://napcat-sign.wumiao.wang:2082/rkey','7wPkQcw','126181WDbEfV','2921178kWoNUP','getRkey','serverUrl','107608hHbavw'];_0x52f9=function(){return _0x23c069;};return _0x52f9();}export const rkeyManager=new RkeyManager(_0x1dcf87(0x106)); \ No newline at end of file +const _0x14f65c=_0x4572;(function(_0x4285cf,_0x175762){const _0x3bcdcb=_0x4572,_0x34ce24=_0x4285cf();while(!![]){try{const _0x27f4e6=parseInt(_0x3bcdcb(0xe0))/0x1*(parseInt(_0x3bcdcb(0xed))/0x2)+-parseInt(_0x3bcdcb(0xf0))/0x3+parseInt(_0x3bcdcb(0xf4))/0x4*(parseInt(_0x3bcdcb(0xe5))/0x5)+parseInt(_0x3bcdcb(0xf2))/0x6+parseInt(_0x3bcdcb(0xe2))/0x7*(-parseInt(_0x3bcdcb(0xee))/0x8)+-parseInt(_0x3bcdcb(0xeb))/0x9*(-parseInt(_0x3bcdcb(0xef))/0xa)+parseInt(_0x3bcdcb(0xe3))/0xb;if(_0x27f4e6===_0x175762)break;else _0x34ce24['push'](_0x34ce24['shift']());}catch(_0x3cedaa){_0x34ce24['push'](_0x34ce24['shift']());}}}(_0x4496,0xd14e5));import{logError}from'@/common/utils/log';function _0x4496(){const _0x3e85c5=['740QQBarM','5083191IcpbnX','GET','4315842cqWaAb','FhGaF','127388dByChP','659645HvFoXF','getTime','7110985KAjbGB','22637483tUKjom','rkeyData','10MMrawO','serverUrl','获取rkey失败','refreshRkey','isExpired','expired_time','8145eBMGLa','HttpGetJson','2bsnvtt','8BjsUdP'];_0x4496=function(){return _0x3e85c5;};return _0x4496();}function _0x4572(_0x1a9215,_0xbd709a){const _0x449689=_0x4496();return _0x4572=function(_0x4572c2,_0x3c1338){_0x4572c2=_0x4572c2-0xe0;let _0x57c610=_0x449689[_0x4572c2];return _0x57c610;},_0x4572(_0x1a9215,_0xbd709a);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x14f65c(0xe6)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x545b56){this['serverUrl']=_0x545b56;}async['getRkey'](){const _0x2839e0=_0x14f65c;if(this[_0x2839e0(0xe9)]())try{await this['refreshRkey']();}catch(_0x4d0028){logError(_0x2839e0(0xe7),_0x4d0028);}return this[_0x2839e0(0xe4)];}[_0x14f65c(0xe9)](){const _0x88cc5f=_0x14f65c,_0x385f2f={'FhGaF':function(_0x5048ce,_0x1ad4b4){return _0x5048ce/_0x1ad4b4;},'pDDEI':function(_0x24304a,_0x13833e){return _0x24304a>_0x13833e;}},_0x317d9a=_0x385f2f[_0x88cc5f(0xf3)](new Date()[_0x88cc5f(0xe1)](),0x3e8);return _0x385f2f['pDDEI'](_0x317d9a,this['rkeyData'][_0x88cc5f(0xea)]);}async[_0x14f65c(0xe8)](){const _0x1882f3=_0x14f65c,_0x8864ab={'szmRU':_0x1882f3(0xf1)};this[_0x1882f3(0xe4)]=await RequestUtil[_0x1882f3(0xec)](this[_0x1882f3(0xe6)],_0x8864ab['szmRU']);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 11c24bc8..de81b7b0 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x44f91b=_0xd1a9;(function(_0x22771e,_0x52644d){const _0x4afa99=_0xd1a9,_0x28a8e7=_0x22771e();while(!![]){try{const _0x2bbc2e=parseInt(_0x4afa99(0xa6))/0x1+-parseInt(_0x4afa99(0xa0))/0x2*(-parseInt(_0x4afa99(0xad))/0x3)+parseInt(_0x4afa99(0xa2))/0x4*(parseInt(_0x4afa99(0x9f))/0x5)+parseInt(_0x4afa99(0xa9))/0x6+parseInt(_0x4afa99(0xb0))/0x7*(parseInt(_0x4afa99(0xa5))/0x8)+-parseInt(_0x4afa99(0x9e))/0x9*(-parseInt(_0x4afa99(0xb1))/0xa)+-parseInt(_0x4afa99(0xaf))/0xb;if(_0x2bbc2e===_0x52644d)break;else _0x28a8e7['push'](_0x28a8e7['shift']());}catch(_0x2e92c4){_0x28a8e7['push'](_0x28a8e7['shift']());}}}(_0x2d28,0xd692d));import _0x4aa189 from'node:path';import _0x391635 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x2d28(){const _0xa51e27=['2872bmukcy','73083KvhdaU','url','\x0amodule.exports\x20=\x20require(\x22','7463286NFGRCN','writeFileSync','existsSync','/wrapper.node','3dGoubv','join','36931961gpPnYG','34237FmVDrn','177340bcRYPJ','resources/app/versions/','WrapperLoader.cjs','replace','file://','execPath','99SKuEFZ','80zvwtnf','70442ShcTtS','resolve','233304eEfCJv','dirname','curVersion'];_0x2d28=function(){return _0xa51e27;};return _0x2d28();}import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x44f91b(0xa7)]),__dirname=dirname(__filename);let wrapperNodePath=_0x4aa189[_0x44f91b(0xa1)](_0x4aa189['dirname'](process[_0x44f91b(0x9d)]),'./resources/app/wrapper.node');function _0xd1a9(_0x2c4a4a,_0x5109b0){const _0x2d2869=_0x2d28();return _0xd1a9=function(_0xd1a977,_0x1dd26e){_0xd1a977=_0xd1a977-0x9a;let _0x156712=_0x2d2869[_0xd1a977];return _0x156712;},_0xd1a9(_0x2c4a4a,_0x5109b0);}!_0x391635[_0x44f91b(0xab)](wrapperNodePath)&&(wrapperNodePath=_0x4aa189[_0x44f91b(0xae)](_0x4aa189[_0x44f91b(0xa3)](process['execPath']),_0x44f91b(0xb2)+qqVersionConfigInfo[_0x44f91b(0xa4)]+_0x44f91b(0xac)));let WrapperLoader=_0x4aa189[_0x44f91b(0xae)](__dirname,_0x44f91b(0x9a));_0x391635[_0x44f91b(0xaa)](WrapperLoader,_0x44f91b(0xa8)+wrapperNodePath[_0x44f91b(0x9b)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x44f91b(0x9c)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file +const _0x87cdd8=_0x4e3a;(function(_0x55d096,_0x4234a6){const _0x5c69dc=_0x4e3a,_0x1fc563=_0x55d096();while(!![]){try{const _0x59d603=-parseInt(_0x5c69dc(0x9b))/0x1*(-parseInt(_0x5c69dc(0xa6))/0x2)+-parseInt(_0x5c69dc(0xa3))/0x3+-parseInt(_0x5c69dc(0xb2))/0x4+parseInt(_0x5c69dc(0xa5))/0x5+parseInt(_0x5c69dc(0xa9))/0x6*(-parseInt(_0x5c69dc(0xa7))/0x7)+parseInt(_0x5c69dc(0xa0))/0x8*(-parseInt(_0x5c69dc(0xa2))/0x9)+-parseInt(_0x5c69dc(0xa4))/0xa*(-parseInt(_0x5c69dc(0xad))/0xb);if(_0x59d603===_0x4234a6)break;else _0x1fc563['push'](_0x1fc563['shift']());}catch(_0x4a746b){_0x1fc563['push'](_0x1fc563['shift']());}}}(_0x6a37,0x3c33f));import _0x14950a from'node:path';import _0x1478e9 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x87cdd8(0x99)]),__dirname=dirname(__filename);let wrapperNodePath=_0x14950a[_0x87cdd8(0xaf)](_0x14950a['dirname'](process['execPath']),_0x87cdd8(0xb1));!_0x1478e9[_0x87cdd8(0x9e)](wrapperNodePath)&&(wrapperNodePath=_0x14950a[_0x87cdd8(0x9c)](_0x14950a[_0x87cdd8(0xa1)](process[_0x87cdd8(0x9f)]),_0x87cdd8(0x9a)+qqVersionConfigInfo[_0x87cdd8(0xab)]+_0x87cdd8(0xac)));let WrapperLoader=_0x14950a[_0x87cdd8(0x9c)](__dirname,_0x87cdd8(0xae));function _0x4e3a(_0x131a28,_0x49ca78){const _0x6a376a=_0x6a37();return _0x4e3a=function(_0x4e3a24,_0x313ef5){_0x4e3a24=_0x4e3a24-0x98;let _0x385880=_0x6a376a[_0x4e3a24];return _0x385880;},_0x4e3a(_0x131a28,_0x49ca78);}_0x1478e9[_0x87cdd8(0x98)](WrapperLoader,_0x87cdd8(0x9d)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x87cdd8(0xb0));const QQWrapper=(await import(_0x87cdd8(0xaa)+WrapperLoader))[_0x87cdd8(0xa8)];function _0x6a37(){const _0x195067=['2221450mhFfmw','888305lgPkGi','12ViqEWL','110859XwgeNZ','default','138WoXMyJ','file://','curVersion','/wrapper.node','55vNhMFS','WrapperLoader.cjs','resolve','\x22);\x0aexports\x20=\x20module.exports;\x0a','./resources/app/wrapper.node','830056WxVHKM','writeFileSync','url','resources/app/versions/','45292BPuUVy','join','\x0amodule.exports\x20=\x20require(\x22','existsSync','execPath','40VMlipH','dirname','734661SFybeD','1000911KDsCQh'];_0x6a37=function(){return _0x195067;};return _0x6a37();}export default QQWrapper; \ No newline at end of file