Compare commits

...
41 Commits
Author SHA1 Message Date
手瓜一十雪 45c922c377 release: 1.6.3
Build Release / check-version (push) Canceled after 0s
Build Release / build-linux (arm64, linux) (push) Canceled after 0s
Build Release / build-linux (x64, linux) (push) Canceled after 0s
Build Release / build-win32 (ia32, win32) (push) Canceled after 0s
Build Release / build-win32 (x64, win32) (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-06-28 14:00:15 +08:00
手瓜一十雪 f854c258bd fix: 清除旧的反向ws 2024-06-28 13:42:09 +08:00
手瓜一十雪 a643fac073 refactor: msg context 2024-06-28 13:38:03 +08:00
手瓜一十雪 861f105bea fix: uid->uin 临时修复方案
uid uin转换需要优化
2024-06-28 13:11:06 +08:00
手瓜一十雪 bf10ce9f1e fix: error
Build Release / check-version (push) Canceled after 0s
Build Release / build-linux (arm64, linux) (push) Canceled after 0s
Build Release / build-linux (x64, linux) (push) Canceled after 0s
Build Release / build-win32 (ia32, win32) (push) Canceled after 0s
Build Release / build-win32 (x64, win32) (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-06-26 18:40:08 +08:00
手瓜一十雪 ccf521d0a8 feat: win ia32支持 2024-06-26 18:13:55 +08:00
手瓜一十雪 6075d98eaa release: v1.6.2 2024-06-26 18:09:41 +08:00
手瓜一十雪 a3801fc243 fix: script 2024-06-26 17:17:33 +08:00
手瓜一十雪 a1f0c05f3a chore: build script 2024-06-26 17:16:54 +08:00
手瓜一十雪 a568c96929 chore: build script 2024-06-26 17:15:46 +08:00
手瓜一十雪 d58bcf3c0e refactor: error catch 2024-06-26 17:14:23 +08:00
手瓜一十雪 985f2e6436 fix: 还原修改 2024-06-25 17:24:42 +08:00
手瓜一十雪 ad441fa793 docs: update 2024-06-24 21:38:28 +08:00
手瓜一十雪 316300cc86 Merge pull request #86 from NapNeko/dependabot/npm_and_yarn/types/uuid-10.0.0
build(deps-dev): bump @types/uuid from 9.0.8 to 10.0.0
2024-06-24 17:44:25 +08:00
dependabot[bot] 5c4f37b234 build(deps-dev): bump @types/uuid from 9.0.8 to 10.0.0
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 9.0.8 to 10.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 08:14:47 +00:00
手瓜一十雪 77b51a072d fix: 增加容错 2024-06-24 12:03:49 +08:00
手瓜一十雪 2536e1ae6a release: v1.6.1
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (ia32, win32) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-22 10:54:58 +08:00
手瓜一十雪 14822c9599 style&fix: lint & poke 2024-06-21 23:04:56 +08:00
手瓜一十雪 e53c37adc9 release: v1.6.0
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (ia32, win32) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-21 22:43:19 +08:00
手瓜一十雪 c37539354c docs: update 2024-06-21 22:35:10 +08:00
手瓜一十雪 ae0277f33c release: 1.5.8
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (ia32, win32) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-19 23:34:09 +08:00
手瓜一十雪 b863896249 refactor: log file limit 2024-06-19 23:26:05 +08:00
手瓜一十雪 5b42f8b743 refactor: qqmusic card & requests 2024-06-19 23:06:57 +08:00
手瓜一十雪 3883fab614 remove: debug 2024-06-19 21:37:13 +08:00
手瓜一十雪 61d6bcec4b refactor: qqmusic card & requests 2024-06-19 21:33:31 +08:00
手瓜一十雪 3b5902b033 refactor: requests 2024-06-19 16:45:20 +08:00
手瓜一十雪 3a88c21a3b refactor: 整理action & data 2024-06-19 13:35:42 +08:00
手瓜一十雪 91a5055dee refactor: qqmusic sign & http post 2024-06-19 13:20:52 +08:00
手瓜一十雪 7befd1469f Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2024-06-19 10:01:37 +08:00
手瓜一十雪 c72ebe495c refactor: remove debug 2024-06-19 10:01:24 +08:00
手瓜一十雪 19e06b97e6 docs: update 2024-06-18 23:57:47 +08:00
手瓜一十雪 7519825303 refactor: test 2024-06-18 23:23:19 +08:00
手瓜一十雪 d9315bf309 refactor: project 2024-06-18 22:49:06 +08:00
手瓜一十雪 8c36c809a0 docs: extend 2024-06-18 11:22:35 +08:00
手瓜一十雪 8138aa3cb2 docs: v1.5.8 2024-06-18 11:21:52 +08:00
手瓜一十雪 87aef3ca78 feat: Util HttpUploadFile 2024-06-18 11:17:09 +08:00
手瓜一十雪 a3f1d26d6b feat: refactor miniapp 2024-06-18 11:08:51 +08:00
手瓜一十雪 06cebc5670 build: try support ia32 2024-06-17 10:03:59 +08:00
手瓜一十雪 867fd62d77 fix: typo 2024-06-16 20:54:52 +08:00
手瓜一十雪 650cdf2916 feat: test 2024-06-16 19:24:42 +08:00
手瓜一十雪 ebf461f2fd feat: 加了一些暂时不能使用的代码 2024-06-16 16:35:09 +08:00
101 changed files with 830 additions and 335 deletions

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
name: "Build"
name: "Build Action"
on:
workflow_dispatch:
push:
@@ -47,7 +47,7 @@ jobs:
fail-fast: false
matrix:
target_platform: [win32]
target_arch: [x64]
target_arch: [x64,ia32]
steps:
- name: Clone Main Repository
uses: actions/checkout@v4
+3 -2
View File
@@ -1,4 +1,4 @@
name: "release"
name: "Build Release"
on:
push:
@@ -72,7 +72,7 @@ jobs:
fail-fast: false
matrix:
target_platform: [win32]
target_arch: [x64]
target_arch: [x64,ia32]
steps:
- name: Clone Main Repository
uses: actions/checkout@v4
@@ -130,6 +130,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
body_path: CHANGELOG.md
files: |
NapCat.win32.ia32.zip
NapCat.win32.x64.zip
NapCat.linux.x64.zip
NapCat.linux.arm64.zip
+69
View File
@@ -0,0 +1,69 @@
name: "Build Test"
on:
workflow_dispatch:
permissions: write-all
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target_platform: [linux]
target_arch: [x64, arm64]
steps:
- name: Clone Main Repository
uses: actions/checkout@v4
with:
repository: 'NapNeko/NapCatQQ'
submodules: true
ref: main
token: ${{ secrets.NAPCAT_BUILD }}
- name: Use Node.js 20.X
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Build NuCat Linux
run: |
npm i --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
npm run build:prod
cd dist
npm i --omit=dev --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
cd ..
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: NapCat.${{ matrix.target_platform }}.${{ matrix.target_arch }}
path: dist
build-win32:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target_platform: [win32]
target_arch: [x64,ia32]
steps:
- name: Clone Main Repository
uses: actions/checkout@v4
with:
repository: 'NapNeko/NapCatQQ'
submodules: true
ref: main
token: ${{ secrets.NAPCAT_BUILD }}
- name: Use Node.js 20.X
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Build NuCat Linux
run: |
npm i --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
npm run build:prod
cd dist
npm i --omit=dev --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
cd ..
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: NapCat.${{ matrix.target_platform }}.${{ matrix.target_arch }}
path: dist
+13
View File
@@ -0,0 +1,13 @@
# v1.6.3
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
* 修复带有groupid的私聊消息异常发送到群聊消息
* 尝试修复rws热重载失效问题
* 尝试修复进群事件无法正常获取uin
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+11
View File
@@ -0,0 +1,11 @@
# v1.5.6
QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-24568
## 修复与优化
* 修复一些问题
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
File renamed without changes.
+14
View File
@@ -0,0 +1,14 @@
# v1.5.8
QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-24568
## 修复与优化
* 修复视频文件残留问题
* 重构 getcookies接口 支持大部分常见域
## 新增与调整
* 日志大小限制
* 支持 QQ音乐 卡片 无签名支持时 启用内置方法(缺点没有封面 限速1min/条)
* 支持Window X86-32机器
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+12
View File
@@ -0,0 +1,12 @@
# v1.5.9
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
* 优化缓存问题
* 修复poke异常上报
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+11
View File
@@ -0,0 +1,11 @@
# v1.6.0
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
## 新增与调整
* 新增图片subtype属性 区分表情图片与商城图片
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+11
View File
@@ -0,0 +1,11 @@
# v1.6.1
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
## 新增与调整
* 修复poke异常事件
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+13
View File
@@ -0,0 +1,13 @@
# v1.6.2
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
* 修复获取Cookies异常崩溃问题
* 尝试修复成员退群缓存问题
* 修复自身退群后群缓存清理问题
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+1
View File
@@ -0,0 +1 @@
getMsgUniqueId 传入时间 产出一个唯一ID 发送消息作为一个参数
+7 -2
View File
@@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
"version": "1.5.7",
"version": "1.6.3",
"scripts": {
"watch:dev": "vite --mode development",
"watch:prod": "vite --mode production",
@@ -18,6 +18,11 @@
"depend": "cd dist && npm install --omit=dev"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"vite-plugin-babel": "^1.2.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@log4js-node/log4js-api": "^1.0.2",
"@protobuf-ts/plugin": "^2.9.4",
"@rollup/plugin-node-resolve": "^15.2.3",
@@ -28,7 +33,7 @@
"@types/fluent-ffmpeg": "^2.1.24",
"@types/node": "^20.11.30",
"@types/qrcode-terminal": "^0.12.2",
"@types/uuid": "^9.0.8",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
+39 -39
View File
@@ -1,53 +1,53 @@
import crypto from 'crypto';
class LimitedHashTable<K, V> {
private keyToValue: Map<K, V> = new Map();
private valueToKey: Map<V, K> = new Map();
private maxSize: number;
private KeyQueneList: K[] = [];
private ValueQueneList: V[] = [];
constructor(maxSize: number) {
this.maxSize = maxSize;
}
set(key: K, value: V): void {
this.keyToValue.set(key, value);
this.valueToKey.set(value, key);
if (this.KeyQueneList.length >= this.maxSize || this.ValueQueneList.length >= this.maxSize) {
this.KeyQueneList.shift();
this.ValueQueneList.shift();
}
private keyToValue: Map<K, V> = new Map();
private valueToKey: Map<V, K> = new Map();
private maxSize: number;
private KeyQueneList: K[] = [];
private ValueQueneList: V[] = [];
constructor(maxSize: number) {
this.maxSize = maxSize;
}
set(key: K, value: V): void {
this.keyToValue.set(key, value);
this.valueToKey.set(value, key);
if (this.KeyQueneList.length >= this.maxSize || this.ValueQueneList.length >= this.maxSize) {
this.KeyQueneList.shift();
this.ValueQueneList.shift();
}
}
getValue(key: K): V | undefined {
return this.keyToValue.get(key);
}
getValue(key: K): V | undefined {
return this.keyToValue.get(key);
}
getKey(value: V): K | undefined {
return this.valueToKey.get(value);
}
getKey(value: V): K | undefined {
return this.valueToKey.get(value);
}
delete(key: K): void {
const value = this.keyToValue.get(key);
if (value !== undefined) {
this.keyToValue.delete(key);
this.valueToKey.delete(value);
}
delete(key: K): void {
const value = this.keyToValue.get(key);
if (value !== undefined) {
this.keyToValue.delete(key);
this.valueToKey.delete(value);
}
}
}
class MessageUniqueWrapper {
private msgIdMap: LimitedHashTable<number, string> = new LimitedHashTable(1000);
createMsg(MsgId: string) {
let ShortId = parseInt(crypto.createHash('sha1').update('2345').digest('hex').slice(0, 8), 16);
this.msgIdMap.set(ShortId, MsgId);
return ShortId;
}
getMsgIdByShortId(ShortId: number) {
return this.msgIdMap.getValue(ShortId);
}
getShortIdByMsgId(MsgId: string) {
return this.msgIdMap.getKey(MsgId);
}
private msgIdMap: LimitedHashTable<number, string> = new LimitedHashTable(1000);
createMsg(MsgId: string) {
const ShortId = parseInt(crypto.createHash('sha1').update('2345').digest('hex').slice(0, 8), 16);
this.msgIdMap.set(ShortId, MsgId);
return ShortId;
}
getMsgIdByShortId(ShortId: number) {
return this.msgIdMap.getValue(ShortId);
}
getShortIdByMsgId(MsgId: string) {
return this.msgIdMap.getKey(MsgId);
}
}
export const MessageUnique = new MessageUniqueWrapper();
+17
View File
@@ -0,0 +1,17 @@
// 方案一 MiniApp发包方案
// 前置条件: 处于GUI环境 存在MiniApp
import { NTQQSystemApi } from '@/core';
// 前排提示: 开发验证仅Win平台开展
export class MiniAppUtil {
static async RunMiniAppWithGUI() {
//process.env.ELECTRON_RUN_AS_NODE = undefined;//没用还是得自己用cpp之类的语言写个程序转发参数
return NTQQSystemApi.BootMiniApp(process.execPath, 'miniapp://open/1007?url=https%3A%2F%2Fm.q.qq.com%2Fa%2Fs%2Fedd0a83d3b8afe233dfa07adaaf8033f%3Fscene%3D1007%26min_refer%3D10001');
}
}
// 方案二 MiniApp发包方案 替代MiniApp方案
// 前置条件: 无
export class MojoMiniAppUtil{
}
+34 -1
View File
@@ -1,5 +1,5 @@
import fs from 'fs';
import fsPromise from 'fs/promises';
import fsPromise, { stat } from 'fs/promises';
import crypto from 'crypto';
import util from 'util';
import path from 'node:path';
@@ -50,7 +50,40 @@ export function checkFileReceived(path: string, timeout: number = 3000): Promise
check();
});
}
// 定义一个异步函数来检查文件是否存在
export async function checkFileReceived2(path: string, timeout: number = 3000): Promise<void> {
// 使用 Promise.race 来同时进行文件状态检查和超时计时
// Promise.race 会返回第一个解决(resolve)或拒绝(reject)的 Promise
await Promise.race([
checkFile(path),
timeoutPromise(timeout, `文件不存在: ${path}`),
]);
}
// 转换超时时间至 Promise
function timeoutPromise(timeout: number, errorMsg: string): Promise<void> {
return new Promise((_, reject) => {
setTimeout(() => {
reject(new Error(errorMsg));
}, timeout);
});
}
// 异步检查文件是否存在
async function checkFile(path: string): Promise<void> {
try {
await stat(path);
} catch (error: any) {
if (error.code === 'ENOENT') {
// 如果文件不存在,则抛出一个错误
throw new Error(`文件不存在: ${path}`);
} else {
// 对于 stat 调用的其他错误,重新抛出
throw error;
}
}
// 如果文件存在,则无需做任何事情,Promise 解决(resolve)自身
}
export async function file2base64(path: string) {
const readFile = util.promisify(fs.readFile);
const result = {
+104 -2
View File
@@ -4,7 +4,7 @@ import fs from 'fs/promises';
import { log, logDebug } from './log';
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import * as fsPromise from 'node:fs/promises';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
@@ -43,8 +43,88 @@ export function truncateString(obj: any, maxLength = 500) {
}
return obj;
}
export function simpleDecorator(target: any, context: any) {
}
// export function CacheClassFunc(ttl: number = 3600 * 1000, customKey: string = '') {
// const cache = new Map<string, { expiry: number; value: any }>();
// return function CacheClassFuncDecorator(originalMethod: Function, context: ClassMethodDecoratorContext) {
// async function CacheClassFuncDecoratorInternal(this: any, ...args: any[]) {
// const key = `${customKey}${String(context.name)}.(${args.map(arg => JSON.stringify(arg)).join(', ')})`;
// const cachedValue = cache.get(key);
// if (cachedValue && cachedValue.expiry > Date.now()) {
// return cachedValue.value;
// }
// const result = originalMethod.call(this, ...args);
// cache.set(key, { expiry: Date.now() + ttl, value: result });
// return result;
// }
// return CacheClassFuncDecoratorInternal;
// }
// }
export function CacheClassFuncAsync(ttl: number = 3600 * 1000, customKey: string = '') {
//console.log('CacheClassFuncAsync', ttl, customKey);
function logExecutionTime(target: any, methodName: string, descriptor: PropertyDescriptor) {
//console.log('logExecutionTime', target, methodName, descriptor);
const cache = new Map<string, { expiry: number; value: any }>();
const originalMethod = descriptor.value;
descriptor.value = async function (...args: any[]) {
const key = `${customKey}${String(methodName)}.(${args.map(arg => JSON.stringify(arg)).join(', ')})`;
cache.forEach((value, key) => {
if (value.expiry < Date.now()) {
cache.delete(key);
}
});
const cachedValue = cache.get(key);
if (cachedValue && cachedValue.expiry > Date.now()) {
return cachedValue.value;
}
// const start = Date.now();
const result = await originalMethod.apply(this, args);
// const end = Date.now();
// console.log(`Method ${methodName} executed in ${end - start} ms.`);
cache.set(key, { expiry: Date.now() + ttl, value: result });
return result;
};
}
return logExecutionTime;
}
// export function CacheClassFuncAsync(ttl: number = 3600 * 1000, customKey: string = ''): any {
// const cache = new Map<string, { expiry: number; value: any }>();
// // 注意:在JavaScript装饰器中,我们通常不直接处理ClassMethodDecoratorContext这样的类型,
// // 因为装饰器的参数通常是目标类(对于类装饰器)、属性名(对于属性装饰器)等。
// // 对于方法装饰器,我们关注的是方法本身及其描述符。
// // 但这里我们维持原逻辑,假设有一个自定义的处理上下文的方式。
// return function (originalMethod: Function): any {
// console.log(originalMethod);
// // 由于JavaScript装饰器原生不支持异步直接定义,我们保持async定义以便处理异步方法。
// async function decoratorWrapper(this: any, ...args: any[]): Promise<any> {
// console.log(...args);
// const key = `${customKey}${originalMethod.name}.(${args.map(arg => JSON.stringify(arg)).join(', ')})`;
// const cachedValue = cache.get(key);
// // 遍历cache 清除expiry内容
// cache.forEach((value, key) => {
// if (value.expiry < Date.now()) {
// cache.delete(key);
// }
// });
// if (cachedValue && cachedValue.expiry > Date.now()) {
// return cachedValue.value;
// }
// // 直接await异步方法的结果
// const result = await originalMethod.apply(this, args);
// cache.set(key, { expiry: Date.now() + ttl, value: result });
// return result;
// }
// // 返回装饰后的方法,保持与原方法相同的名称和描述符(如果需要更精细的控制,可以考虑使用Object.getOwnPropertyDescriptor等)
// return decoratorWrapper;
// };
// }
/**
* 函数缓存装饰器,根据方法名、参数、自定义key生成缓存键,在一定时间内返回缓存结果
@@ -181,4 +261,26 @@ export function isEqual(obj1: any, obj2: any) {
if (!isEqual(obj1[key], obj2[key])) return false;
}
return true;
}
}
export async function deleteOldFiles(directoryPath: string, daysThreshold: number) {
try {
const files = await fsPromise.readdir(directoryPath);
for (const file of files) {
const filePath = path.join(directoryPath, file);
const stats = await fsPromise.stat(filePath);
const lastModifiedTime = stats.mtimeMs;
const currentTime = Date.now();
const timeDifference = currentTime - lastModifiedTime;
const daysDifference = timeDifference / (1000 * 60 * 60 * 24);
if (daysDifference > daysThreshold) {
await fsPromise.unlink(filePath); // Delete the file
//console.log(`Deleted: ${filePath}`);
}
}
} catch (error) {
//console.error('Error deleting files:', error);
}
}
+1 -1
View File
@@ -39,7 +39,7 @@ const logConfig: Configuration = {
FileAppender: { // 输出到文件的appender
type: 'file',
filename: logPath, // 指定日志文件的位置和文件名
maxLoogSize: 10485760, // 日志文件的最大大小(单位:字节),这里设置为10MB
maxLogSize: 10485760, // 日志文件的最大大小(单位:字节),这里设置为10MB
layout: {
type: 'pattern',
pattern: '%d{yyyy-MM-dd hh:mm:ss} [%p] %X{userInfo} | %m'
+94 -7
View File
@@ -1,12 +1,13 @@
import https from 'node:https';
import http from 'node:http';
import { readFileSync } from 'node:fs';
import { NTQQUserApi } from '@/core';
export class RequestUtil {
// 适用于获取服务器下发cookies时获取,仅GET
static async HttpsGetCookies(url: string): Promise<{ [key: string]: string }> {
const client = url.startsWith('https') ? https : http;
return new Promise((resolve, reject) => {
client.get(url, (res) => {
let req = client.get(url, (res) => {
let cookies: { [key: string]: string } = {};
const handleRedirect = (res: http.IncomingMessage) => {
//console.log(res.headers.location);
@@ -17,6 +18,8 @@ export class RequestUtil {
// 合并重定向过程中的cookies
cookies = { ...cookies, ...redirectCookies };
resolve(cookies);
}).catch((err) => {
reject(err);
});
} else {
resolve(cookies);
@@ -40,16 +43,17 @@ export class RequestUtil {
}
});
}
}).on('error', (err) => {
reject(err);
});
req.on('error', (error: any) => {
reject(error);
});
});
}
// 请求和回复都是JSON data传原始内容 自动编码json
static async HttpGetJson<T>(url: string, method: string = 'GET', data?: any, headers: Record<string, string> = {}, isJsonRet: boolean = true, isArgJson: boolean = true): Promise<T> {
static async HttpGetJson<T>(url: string, method: string = 'GET', data?: any, headers: { [key: string]: string } = {}, isJsonRet: boolean = true, isArgJson: boolean = true): Promise<T> {
const option = new URL(url);
const protocol = url.startsWith('https://') ? https : http;
const options = {
@@ -59,6 +63,10 @@ export class RequestUtil {
method: method,
headers: headers
};
// headers: {
// 'Content-Type': 'application/json',
// 'Content-Length': Buffer.byteLength(postData),
// },
return new Promise((resolve, reject) => {
const req = protocol.request(options, (res: any) => {
let responseBody = '';
@@ -100,7 +108,86 @@ export class RequestUtil {
}
// 请求返回都是原始内容
static async HttpGetText(url: string, method: string = 'GET', data?: any, headers: Record<string, string> = {}) {
static async HttpGetText(url: string, method: string = 'GET', data?: any, headers: { [key: string]: string } = {}) {
return this.HttpGetJson<string>(url, method, data, headers, false, false);
}
}
static async createFormData(boundary: string, filePath: string): Promise<Buffer> {
let type = 'image/png';
if (filePath.endsWith('.jpg')) {
type = 'image/jpeg';
}
const formDataParts = [
`------${boundary}\r\n`,
`Content-Disposition: form-data; name="share_image"; filename="${filePath}"\r\n`,
'Content-Type: ' + type + '\r\n\r\n'
];
const fileContent = readFileSync(filePath);
const footer = `\r\n------${boundary}--`;
return Buffer.concat([
Buffer.from(formDataParts.join(''), 'utf8'),
fileContent,
Buffer.from(footer, 'utf8')
]);
}
static async uploadImageForOpenPlatform(filePath: string): Promise<string> {
return new Promise(async (resolve, reject) => {
type retType = { retcode: number, result?: { url: string } };
try {
const cookies = Object.entries(await NTQQUserApi.getCookies('connect.qq.com')).map(([key, value]) => `${key}=${value}`).join('; ');
const options = {
hostname: 'cgi.connect.qq.com',
port: 443,
path: '/qqconnectopen/upload_share_image',
method: 'POST',
headers: {
'Referer': 'https://cgi.connect.qq.com',
'Cookie': cookies,
'Accept': '*/*',
'Connection': 'keep-alive',
'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
}
};
const req = https.request(options, async (res) => {
let responseBody = '';
res.on('data', (chunk: string | Buffer) => {
responseBody += chunk.toString();
});
res.on('end', () => {
try {
if (res.statusCode && res.statusCode >= 200 && res.statusCode < 300) {
const responseJson = JSON.parse(responseBody) as retType;
resolve(responseJson.result!.url!);
} else {
reject(new Error(`Unexpected status code: ${res.statusCode}`));
}
} catch (parseError) {
reject(parseError);
}
});
});
req.on('error', (error) => {
reject(error);
console.error('Error during upload:', error);
});
const body = await RequestUtil.createFormData('WebKitFormBoundary7MA4YWxkTrZu0gW', filePath);
// req.setHeader('Content-Length', Buffer.byteLength(body));
// console.log(`Prepared data size: ${Buffer.byteLength(body)} bytes`);
req.write(body);
req.end();
return;
} catch (error) {
reject(error);
}
return undefined;
});
}
}
Submodule src/core updated: 4df3fea47c...e950e06094.
@@ -1 +1 @@
var _0x5daf60=_0xf130;function _0xf130(_0x5aba6b,_0x2da99a){var _0x33d41a=_0x33d4();return _0xf130=function(_0xf13007,_0x22a283){_0xf13007=_0xf13007-0xe5;var _0x3c4d22=_0x33d41a[_0xf13007];return _0x3c4d22;},_0xf130(_0x5aba6b,_0x2da99a);}(function(_0x766d05,_0x3fb57d){var _0x53e091=_0xf130,_0x489945=_0x766d05();while(!![]){try{var _0xe36748=-parseInt(_0x53e091(0xed))/0x1+parseInt(_0x53e091(0xea))/0x2+-parseInt(_0x53e091(0xe9))/0x3*(-parseInt(_0x53e091(0xeb))/0x4)+-parseInt(_0x53e091(0xe8))/0x5+parseInt(_0x53e091(0xf0))/0x6*(-parseInt(_0x53e091(0xe7))/0x7)+-parseInt(_0x53e091(0xee))/0x8+parseInt(_0x53e091(0xec))/0x9;if(_0xe36748===_0x3fb57d)break;else _0x489945['push'](_0x489945['shift']());}catch(_0x30aacf){_0x489945['push'](_0x489945['shift']());}}}(_0x33d4,0x1ead7));export class DependsAdapter{[_0x5daf60(0xe5)](_0xa0058e,_0x3600a1){}[_0x5daf60(0xe6)](_0x348363){}[_0x5daf60(0xef)](_0x204292){}}function _0x33d4(){var _0x49d45c=['219395XymPAD','33xKAgLL','159856uAUczW','34268fiVkzX','3445191kRIxPL','228722umUXvP','1128496fVpmLM','getGroupCode','18FwcbMu','onMSFStatusChange','onMSFSsoError','41174mHKvzA'];_0x33d4=function(){return _0x49d45c;};return _0x33d4();}
function _0x21a3(){var _0x47a1fd=['248rmfMrR','179622UXIoav','1055459tsnnaS','onMSFStatusChange','689414NaQcNx','316cTYJBC','39830eOEQfH','30260maZsxw','1860726PpRoBo','80NMQPYe','6295452xCWIll','2FgvZer','getGroupCode'];_0x21a3=function(){return _0x47a1fd;};return _0x21a3();}var _0x3d5b59=_0xbbfe;function _0xbbfe(_0x35749d,_0x27b2cc){var _0x21a3b8=_0x21a3();return _0xbbfe=function(_0xbbfe69,_0x206a1e){_0xbbfe69=_0xbbfe69-0x18f;var _0x2155e2=_0x21a3b8[_0xbbfe69];return _0x2155e2;},_0xbbfe(_0x35749d,_0x27b2cc);}(function(_0x4ff99,_0x119e47){var _0x2caf22=_0xbbfe,_0x53ef76=_0x4ff99();while(!![]){try{var _0x8016be=parseInt(_0x2caf22(0x193))/0x1+parseInt(_0x2caf22(0x18f))/0x2*(-parseInt(_0x2caf22(0x199))/0x3)+parseInt(_0x2caf22(0x196))/0x4*(-parseInt(_0x2caf22(0x198))/0x5)+parseInt(_0x2caf22(0x19b))/0x6+parseInt(_0x2caf22(0x197))/0x7*(parseInt(_0x2caf22(0x191))/0x8)+parseInt(_0x2caf22(0x192))/0x9+parseInt(_0x2caf22(0x19a))/0xa*(-parseInt(_0x2caf22(0x195))/0xb);if(_0x8016be===_0x119e47)break;else _0x53ef76['push'](_0x53ef76['shift']());}catch(_0x20106d){_0x53ef76['push'](_0x53ef76['shift']());}}}(_0x21a3,0xab37b));export class DependsAdapter{[_0x3d5b59(0x194)](_0x41e90c,_0x453b93){}['onMSFSsoError'](_0x28ca66){}[_0x3d5b59(0x190)](_0x5c6159){}}
@@ -1 +1 @@
var _0x214073=_0x2b60;(function(_0x5e20f9,_0x20e9be){var _0x454329=_0x2b60,_0x300af1=_0x5e20f9();while(!![]){try{var _0x43a03a=-parseInt(_0x454329(0x1ed))/0x1+parseInt(_0x454329(0x1ee))/0x2*(-parseInt(_0x454329(0x1ec))/0x3)+parseInt(_0x454329(0x1f2))/0x4*(-parseInt(_0x454329(0x1f6))/0x5)+-parseInt(_0x454329(0x1f7))/0x6+parseInt(_0x454329(0x1f5))/0x7*(parseInt(_0x454329(0x1f0))/0x8)+parseInt(_0x454329(0x1f3))/0x9*(parseInt(_0x454329(0x1ef))/0xa)+-parseInt(_0x454329(0x1f4))/0xb*(-parseInt(_0x454329(0x1f8))/0xc);if(_0x43a03a===_0x20e9be)break;else _0x300af1['push'](_0x300af1['shift']());}catch(_0x27b22f){_0x300af1['push'](_0x300af1['shift']());}}}(_0x2d6a,0x347a9));function _0x2d6a(){var _0x2818e0=['70861OHGMJT','190378vcnJXJ','20jJxrgK','8ueFxDz','dispatchCall','8376nVDfrE','1098459UJbRaq','267663KVUxuI','904582avcoHF','270NAgmBg','2341452hzQpYq','252zEhNCo','dispatchCallWithJson','3QqtZgA'];_0x2d6a=function(){return _0x2818e0;};return _0x2d6a();}function _0x2b60(_0xc105d,_0xe30940){var _0x2d6a55=_0x2d6a();return _0x2b60=function(_0x2b601f,_0x49675f){_0x2b601f=_0x2b601f-0x1eb;var _0x1d1834=_0x2d6a55[_0x2b601f];return _0x1d1834;},_0x2b60(_0xc105d,_0xe30940);}export class DispatcherAdapter{['dispatchRequest'](_0x111dd9){}[_0x214073(0x1f1)](_0x18169d){}[_0x214073(0x1eb)](_0x51c38b){}}
var _0x50cc57=_0x2a38;function _0x1d03(){var _0x2f7261=['dispatchRequest','2128QBWYuE','2955ffkndp','21923YnBRfB','26780MQgRHX','260004hKzHAO','dispatchCallWithJson','dispatchCall','290OEvlVE','377BHGwms','2526NtXQEV','33hLvsox','20864pErFVq','37814CFKWXw','180jCyFLb','396MiYFIW'];_0x1d03=function(){return _0x2f7261;};return _0x1d03();}function _0x2a38(_0x55c9aa,_0x2a5536){var _0x1d03d1=_0x1d03();return _0x2a38=function(_0x2a38d7,_0x1266b8){_0x2a38d7=_0x2a38d7-0x1d2;var _0x3a9256=_0x1d03d1[_0x2a38d7];return _0x3a9256;},_0x2a38(_0x55c9aa,_0x2a5536);}(function(_0x469f5e,_0x7cac5f){var _0x530bdc=_0x2a38,_0x2415b5=_0x469f5e();while(!![]){try{var _0x4b6ea3=-parseInt(_0x530bdc(0x1d3))/0x1+parseInt(_0x530bdc(0x1dc))/0x2*(-parseInt(_0x530bdc(0x1da))/0x3)+parseInt(_0x530bdc(0x1de))/0x4*(-parseInt(_0x530bdc(0x1e1))/0x5)+-parseInt(_0x530bdc(0x1d9))/0x6*(parseInt(_0x530bdc(0x1e0))/0x7)+parseInt(_0x530bdc(0x1db))/0x8*(parseInt(_0x530bdc(0x1dd))/0x9)+parseInt(_0x530bdc(0x1d7))/0xa*(-parseInt(_0x530bdc(0x1d2))/0xb)+parseInt(_0x530bdc(0x1d4))/0xc*(parseInt(_0x530bdc(0x1d8))/0xd);if(_0x4b6ea3===_0x7cac5f)break;else _0x2415b5['push'](_0x2415b5['shift']());}catch(_0x10f3ef){_0x2415b5['push'](_0x2415b5['shift']());}}}(_0x1d03,0x312f0));export class DispatcherAdapter{[_0x50cc57(0x1df)](_0x2fbd08){}[_0x50cc57(0x1d6)](_0x42e784){}[_0x50cc57(0x1d5)](_0x490f40){}}
@@ -1 +1 @@
function _0x29a4(){var _0x4115a3=['onInstallFinished','1713439MGzBmu','onGetSrvCalTime','20871irfequ','onGetOfflineMsg','4417902FqFeVv','1454436HqaUue','32hDspNg','226UKRZEW','onLog','fixPicImgType','890570gYImtR','12QweuxK','11471200nCCMiZ','288797EFwPxm','onShowErrUITips'];_0x29a4=function(){return _0x4115a3;};return _0x29a4();}function _0x3867(_0x57eca4,_0x3eb361){var _0x29a40a=_0x29a4();return _0x3867=function(_0x3867dd,_0x5af69a){_0x3867dd=_0x3867dd-0xcc;var _0x1caec7=_0x29a40a[_0x3867dd];return _0x1caec7;},_0x3867(_0x57eca4,_0x3eb361);}var _0x1d3ddc=_0x3867;(function(_0x4c9783,_0x4e47e2){var _0x336723=_0x3867,_0x409951=_0x4c9783();while(!![]){try{var _0x404267=-parseInt(_0x336723(0xd9))/0x1+-parseInt(_0x336723(0xd3))/0x2*(-parseInt(_0x336723(0xce))/0x3)+parseInt(_0x336723(0xd7))/0x4*(parseInt(_0x336723(0xd6))/0x5)+parseInt(_0x336723(0xd1))/0x6+parseInt(_0x336723(0xcc))/0x7*(parseInt(_0x336723(0xd2))/0x8)+-parseInt(_0x336723(0xd0))/0x9+-parseInt(_0x336723(0xd8))/0xa;if(_0x404267===_0x4e47e2)break;else _0x409951['push'](_0x409951['shift']());}catch(_0x3efa39){_0x409951['push'](_0x409951['shift']());}}}(_0x29a4,0x96322));export class GlobalAdapter{[_0x1d3ddc(0xd4)](..._0x4e53c0){}[_0x1d3ddc(0xcd)](..._0x1a5737){}[_0x1d3ddc(0xda)](..._0x11032a){}[_0x1d3ddc(0xd5)](..._0x4df954){}['getAppSetting'](..._0x68bfa3){}[_0x1d3ddc(0xdb)](..._0x54e795){}['onUpdateGeneralFlag'](..._0x30e16c){}[_0x1d3ddc(0xcf)](..._0x4e0105){}}
var _0x53ab7c=_0x3e54;function _0x3e54(_0x55a7ce,_0x234c55){var _0x16d2de=_0x16d2();return _0x3e54=function(_0x3e54c2,_0x22b116){_0x3e54c2=_0x3e54c2-0x191;var _0x725a08=_0x16d2de[_0x3e54c2];return _0x725a08;},_0x3e54(_0x55a7ce,_0x234c55);}(function(_0x1516f6,_0x20436d){var _0x53e987=_0x3e54,_0x492fff=_0x1516f6();while(!![]){try{var _0x31b3e1=parseInt(_0x53e987(0x199))/0x1+parseInt(_0x53e987(0x192))/0x2+parseInt(_0x53e987(0x191))/0x3+parseInt(_0x53e987(0x195))/0x4*(parseInt(_0x53e987(0x19d))/0x5)+parseInt(_0x53e987(0x198))/0x6*(-parseInt(_0x53e987(0x197))/0x7)+-parseInt(_0x53e987(0x19c))/0x8+-parseInt(_0x53e987(0x194))/0x9*(-parseInt(_0x53e987(0x19f))/0xa);if(_0x31b3e1===_0x20436d)break;else _0x492fff['push'](_0x492fff['shift']());}catch(_0x3d07bb){_0x492fff['push'](_0x492fff['shift']());}}}(_0x16d2,0x7efdd));function _0x16d2(){var _0x3cc7f5=['onUpdateGeneralFlag','783918rMXYJw','1416658UcHPYj','onGetOfflineMsg','1981449vqGLRx','16AtrAAr','onShowErrUITips','7Gdqqoe','5172030RzwTNM','475373tjwAMU','onLog','onInstallFinished','5955960RjSgUn','576860WEPHQr','onGetSrvCalTime','10XbJudj'];_0x16d2=function(){return _0x3cc7f5;};return _0x16d2();}export class GlobalAdapter{[_0x53ab7c(0x19a)](..._0x29b5cf){}[_0x53ab7c(0x19e)](..._0x4a6c36){}[_0x53ab7c(0x196)](..._0x4240ec){}['fixPicImgType'](..._0xd9ff03){}['getAppSetting'](..._0x90040e){}[_0x53ab7c(0x19b)](..._0x4764da){}[_0x53ab7c(0x1a0)](..._0x4279ae){}[_0x53ab7c(0x193)](..._0x205a1f){}}
+1 -1
View File
@@ -1 +1 @@
(function(_0x5f4fa8,_0x494d4d){var _0x5de5e8=_0x301f,_0x5092f2=_0x5f4fa8();while(!![]){try{var _0x35baf9=parseInt(_0x5de5e8(0x174))/0x1*(-parseInt(_0x5de5e8(0x179))/0x2)+parseInt(_0x5de5e8(0x178))/0x3*(parseInt(_0x5de5e8(0x170))/0x4)+parseInt(_0x5de5e8(0x171))/0x5*(-parseInt(_0x5de5e8(0x176))/0x6)+parseInt(_0x5de5e8(0x177))/0x7+parseInt(_0x5de5e8(0x172))/0x8*(parseInt(_0x5de5e8(0x175))/0x9)+-parseInt(_0x5de5e8(0x17a))/0xa+parseInt(_0x5de5e8(0x173))/0xb;if(_0x35baf9===_0x494d4d)break;else _0x5092f2['push'](_0x5092f2['shift']());}catch(_0x4b5a76){_0x5092f2['push'](_0x5092f2['shift']());}}}(_0x20b5,0xb660b));export*from'./NodeIDependsAdapter';function _0x20b5(){var _0xdeaed9=['24407493DhjXSh','46519PWknJP','9EhXwdy','2144580DTVnDt','610302XAFkzu','20676LsqFRK','20JXDzYc','3766870ffaLSo','40WhQAvx','15oiNZsQ','2289736iQxHbn'];_0x20b5=function(){return _0xdeaed9;};return _0x20b5();}function _0x301f(_0x19d93c,_0x4c79fa){var _0x20b560=_0x20b5();return _0x301f=function(_0x301f97,_0x367937){_0x301f97=_0x301f97-0x170;var _0x2758b3=_0x20b560[_0x301f97];return _0x2758b3;},_0x301f(_0x19d93c,_0x4c79fa);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';
(function(_0x682d9e,_0x3d3c77){var _0x914757=_0xb9dc,_0x46d2dc=_0x682d9e();while(!![]){try{var _0x1642d7=parseInt(_0x914757(0x12a))/0x1*(-parseInt(_0x914757(0x135))/0x2)+-parseInt(_0x914757(0x12b))/0x3*(-parseInt(_0x914757(0x134))/0x4)+-parseInt(_0x914757(0x131))/0x5+parseInt(_0x914757(0x133))/0x6+parseInt(_0x914757(0x132))/0x7*(parseInt(_0x914757(0x12e))/0x8)+-parseInt(_0x914757(0x130))/0x9*(-parseInt(_0x914757(0x12c))/0xa)+parseInt(_0x914757(0x12f))/0xb*(-parseInt(_0x914757(0x12d))/0xc);if(_0x1642d7===_0x3d3c77)break;else _0x46d2dc['push'](_0x46d2dc['shift']());}catch(_0x18ca27){_0x46d2dc['push'](_0x46d2dc['shift']());}}}(_0x8273,0xf28d8));function _0xb9dc(_0x201754,_0x29d6c8){var _0x82733d=_0x8273();return _0xb9dc=function(_0xb9dc41,_0x575625){_0xb9dc41=_0xb9dc41-0x12a;var _0x58d035=_0x82733d[_0xb9dc41];return _0x58d035;},_0xb9dc(_0x201754,_0x29d6c8);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x8273(){var _0x320e6d=['4XiLOTO','2XNYWKA','921073MzEkWL','3975633NUQwZE','460oTeNeK','2667540UEAMDy','8033768DbuECp','88WDAOSl','228816OIuixa','7846745lFeOyi','7KBrFmZ','10580052GIajAK'];_0x8273=function(){return _0x320e6d;};return _0x8273();}
+1 -1
View File
@@ -1 +1 @@
function _0x35eb(_0x2cb710,_0x5e82c0){const _0x1479e0=_0x1479();return _0x35eb=function(_0x35eb4c,_0x3356e8){_0x35eb4c=_0x35eb4c-0x160;let _0x4e079d=_0x1479e0[_0x35eb4c];return _0x4e079d;},_0x35eb(_0x2cb710,_0x5e82c0);}function _0x1479(){const _0x480c9e=['770292xhxxMd','now','160385kefZUm','toString','6129837DLduDg','session','64SKZecH','48uTLypr','createCollection','2039374zdwDXS','1grdznu','641938iVQvYn','24VBqhlv','458600MjoPNr','182868RkJXOz','10jhlHjH','getCollectionItemList','getCollectionService'];_0x1479=function(){return _0x480c9e;};return _0x1479();}const _0x16047e=_0x35eb;(function(_0x44cc82,_0x173648){const _0x39e690=_0x35eb,_0x206728=_0x44cc82();while(!![]){try{const _0x42ba66=parseInt(_0x39e690(0x170))/0x1*(parseInt(_0x39e690(0x16f))/0x2)+-parseInt(_0x39e690(0x166))/0x3+parseInt(_0x39e690(0x16c))/0x4*(-parseInt(_0x39e690(0x168))/0x5)+-parseInt(_0x39e690(0x160))/0x6*(parseInt(_0x39e690(0x162))/0x7)+parseInt(_0x39e690(0x161))/0x8+-parseInt(_0x39e690(0x16a))/0x9*(-parseInt(_0x39e690(0x163))/0xa)+-parseInt(_0x39e690(0x171))/0xb*(parseInt(_0x39e690(0x16d))/0xc);if(_0x42ba66===_0x173648)break;else _0x206728['push'](_0x206728['shift']());}catch(_0x24420f){_0x206728['push'](_0x206728['shift']());}}}(_0x1479,0x9ebc5));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x16047e(0x16e)](_0x345384,_0x526380,_0x4ca5ac,_0x24f57c,_0x393b53){const _0x179ba0=_0x16047e;let _0x31c83a={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x345384,'strId':_0x4ca5ac,'groupId':'0','groupName':'','uid':_0x526380},'customGroupId':'0','createTime':Date['now']()['toString'](),'sequence':Date[_0x179ba0(0x167)]()[_0x179ba0(0x169)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x24f57c,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x393b53,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x179ba0(0x16b)][_0x179ba0(0x165)]()['createNewCollectionItem'](_0x31c83a);}static async['getAllCollection'](_0x5b62ec=0x0,_0x4ac328=0x32){const _0x5c04b8=_0x16047e;let _0x17dfb2={'category':_0x5b62ec,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x4ac328,'searchDown':!![]};return napCatCore[_0x5c04b8(0x16b)][_0x5c04b8(0x165)]()[_0x5c04b8(0x164)](_0x17dfb2);}}
const _0x5cf374=_0xd04d;(function(_0x16b793,_0x45c1d3){const _0x137c2c=_0xd04d,_0x4f7af2=_0x16b793();while(!![]){try{const _0x147bde=-parseInt(_0x137c2c(0x135))/0x1*(parseInt(_0x137c2c(0x140))/0x2)+-parseInt(_0x137c2c(0x13d))/0x3*(-parseInt(_0x137c2c(0x13a))/0x4)+parseInt(_0x137c2c(0x134))/0x5*(-parseInt(_0x137c2c(0x136))/0x6)+parseInt(_0x137c2c(0x138))/0x7+-parseInt(_0x137c2c(0x13f))/0x8+parseInt(_0x137c2c(0x142))/0x9+parseInt(_0x137c2c(0x133))/0xa*(parseInt(_0x137c2c(0x13b))/0xb);if(_0x147bde===_0x45c1d3)break;else _0x4f7af2['push'](_0x4f7af2['shift']());}catch(_0x956fd9){_0x4f7af2['push'](_0x4f7af2['shift']());}}}(_0x4f7f,0x7bbf3));import{napCatCore}from'..';function _0xd04d(_0x5406d0,_0x3be0be){const _0x4f7f9f=_0x4f7f();return _0xd04d=function(_0xd04dbf,_0x1f7102){_0xd04dbf=_0xd04dbf-0x133;let _0x32c4f2=_0x4f7f9f[_0xd04dbf];return _0x32c4f2;},_0xd04d(_0x5406d0,_0x3be0be);}export class NTQQCollectionApi{static async[_0x5cf374(0x141)](_0x54ce5a,_0xf58136,_0x2e5e5a,_0x9a5c4a,_0x48cdc8){const _0x597558=_0x5cf374;let _0x46df5a={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x54ce5a,'strId':_0x2e5e5a,'groupId':'0','groupName':'','uid':_0xf58136},'customGroupId':'0','createTime':Date['now']()['toString'](),'sequence':Date[_0x597558(0x13c)]()['toString']()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x9a5c4a,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x48cdc8,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x597558(0x137)][_0x597558(0x13e)]()[_0x597558(0x139)](_0x46df5a);}static async['getAllCollection'](_0x4d7222=0x0,_0xc6ea63=0x32){let _0x23ade2={'category':_0x4d7222,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0xc6ea63,'searchDown':!![]};return napCatCore['session']['getCollectionService']()['getCollectionItemList'](_0x23ade2);}}function _0x4f7f(){const _0xa3be7=['590548OTxXpo','createNewCollectionItem','582116xMRIZR','262097hybSXZ','now','3DVrRPX','getCollectionService','6574256ZIiXee','6ZTVyLF','createCollection','8157987jjFOSW','490LuASHU','30GCbyig','292210xXWOBD','98580YKLGTf','session'];_0x4f7f=function(){return _0xa3be7;};return _0x4f7f();}
+1 -1
View File
@@ -1 +1 @@
const _0x1cf072=_0x74a7;(function(_0x580612,_0x3228fe){const _0x2423e5=_0x74a7,_0x299fd=_0x580612();while(!![]){try{const _0x2a4480=-parseInt(_0x2423e5(0x7c))/0x1+parseInt(_0x2423e5(0x7a))/0x2*(parseInt(_0x2423e5(0x93))/0x3)+-parseInt(_0x2423e5(0xaf))/0x4*(-parseInt(_0x2423e5(0xab))/0x5)+-parseInt(_0x2423e5(0x8b))/0x6+-parseInt(_0x2423e5(0x8c))/0x7*(-parseInt(_0x2423e5(0xb6))/0x8)+parseInt(_0x2423e5(0xbc))/0x9*(-parseInt(_0x2423e5(0x98))/0xa)+-parseInt(_0x2423e5(0xba))/0xb;if(_0x2a4480===_0x3228fe)break;else _0x299fd['push'](_0x299fd['shift']());}catch(_0x358616){_0x299fd['push'](_0x299fd['shift']());}}}(_0x2be8,0x45029));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x4dc024 from'path';import _0x2aa5c4 from'fs';import _0x4fd7f8 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x2be8(){const _0x357db5=['ext','clearChatCache','existsSync','addCacheScanedPaths','getImageUrl','filePath','2259690oPlmsq','868uYshzk','sHZmF','urlResult','hotUpdate','cvhhi','msgId','getDesktopTmpPath','16293RhXDXe','tUfZp','&rkey=','copyFile','XbGbF','2330TLXtkB','getFileType','PPiXF','getFileCacheInfo','getVideoPlayUrlV2','ZQQIa','defaultFileDownloadPath','getHotUpdateCachePath','getRkey','getRichMediaFilePathForGuild','getStorageCleanService','peerUid','includes','indexOf','fileUuid','originImageUrl','addListener','downloadMedia','startsWith','5LsDLIf','clearChatCacheInfo','XNxwC','rCjRN','825748HrBJVU','session','set','unlink','Aljxx','uaMDU','md5HexStr','28264oXNaUo','图片url获取失败','chatType','scanCache','2288FbDGsF','join','4491HRXObJ','getMsgService','下载超时','getFileSize','YJDse','getCacheSessionPathList','getChatCacheList','downloadRichMedia','pdtQU','122JitRKQ','BrcyT','200065BgaUhY','onRichMediaDownloadComplete','setCacheSilentScan','util','basename','getChatCacheInfo','url','onLoginSuccess','getVideoUrl'];_0x2be8=function(){return _0x357db5;};return _0x2be8();}function _0x74a7(_0xf41a58,_0x2e1f6f){const _0x2be83c=_0x2be8();return _0x74a7=function(_0x74a71b,_0x186e73){_0x74a71b=_0x74a71b-0x77;let _0x2ff8b4=_0x2be83c[_0x74a71b];return _0x2ff8b4;},_0x74a7(_0xf41a58,_0x2e1f6f);}import*as _0x51eb2d from'file-type';import{MsgListener}from'@/core/listeners';import _0x496007 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[_0x1cf072(0x7d)]=_0x3cbb7b=>{for(const [_0x38ef9b,_0x46086d]of downloadMediaTasks){_0x46086d(_0x3cbb7b),downloadMediaTasks['delete'](_0x38ef9b);}},setTimeout(()=>{const _0x2eb851=_0x1cf072;napCatCore[_0x2eb851(0x83)](()=>{const _0x3b0bfd=_0x2eb851;napCatCore[_0x3b0bfd(0xa8)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1cf072(0x99)](_0xa1ba10){return _0x51eb2d['fileTypeFromFile'](_0xa1ba10);}static async[_0x1cf072(0x96)](_0x541ba7,_0x97ccc){const _0x5c404f=_0x1cf072;await napCatCore[_0x5c404f(0x7f)]['copyFile'](_0x541ba7,_0x97ccc);}static async[_0x1cf072(0xbf)](_0x12873c){const _0x33179a=_0x1cf072;return await napCatCore[_0x33179a(0x7f)][_0x33179a(0xbf)](_0x12873c);}static async[_0x1cf072(0x84)](_0x24c00f,_0x55413e){const _0x5303e7=_0x1cf072;return(await napCatCore[_0x5303e7(0xb0)]['getRichMediaService']()[_0x5303e7(0x9c)]({'chatType':_0x24c00f[_0x5303e7(0xb8)],'peerUid':_0x24c00f[_0x5303e7(0xa3)],'guildId':'0'},_0x24c00f[_0x5303e7(0x91)],_0x55413e['elementId'],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x5303e7(0x8e)]['domainUrl'][0x0][_0x5303e7(0x82)];}static async['uploadFile'](_0x440860,_0x5e0c91=ElementType['PIC'],_0x432014=0x0){const _0x283785=_0x1cf072,_0x53d495={'dHmqf':function(_0xb95b56,_0x59a169){return _0xb95b56(_0x59a169);},'bFNlB':function(_0xcede37,_0x598f36){return _0xcede37+_0x598f36;},'XtHJY':function(_0xebb48f,_0xce0c19){return _0xebb48f===_0xce0c19;}},_0x222f51=await _0x53d495['dHmqf'](calculateFileMD5,_0x440860);let _0x45fd4d=(await NTQQFileApi[_0x283785(0x99)](_0x440860))?.[_0x283785(0x85)]||'';_0x45fd4d&&(_0x45fd4d=_0x53d495['bFNlB']('.',_0x45fd4d));let _0x5739bb=''+_0x4dc024[_0x283785(0x80)](_0x440860);_0x53d495['XtHJY'](_0x5739bb[_0x283785(0xa5)]('.'),-0x1)&&(_0x5739bb+=_0x45fd4d);const _0x500f35=napCatCore[_0x283785(0xb0)][_0x283785(0xbd)]()[_0x283785(0xa1)]({'md5HexStr':_0x222f51,'fileName':_0x5739bb,'elementType':_0x5e0c91,'elementSubType':_0x432014,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x283785(0x96)](_0x440860,_0x500f35);const _0x21f48b=await NTQQFileApi['getFileSize'](_0x440860);return{'md5':_0x222f51,'fileName':_0x5739bb,'path':_0x500f35,'fileSize':_0x21f48b,'ext':_0x45fd4d};}static async[_0x1cf072(0xa9)](_0x34541a,_0x10bdbb,_0x2f063e,_0x1f9626,_0x2ab3fb,_0x18809f,_0x1ba036=0x3e8Line truncated
const _0x513451=_0x36af;(function(_0x4d07d4,_0x36c780){const _0x14b3b3=_0x36af,_0x57b96a=_0x4d07d4();while(!![]){try{const _0x3a8af9=-parseInt(_0x14b3b3(0x1e0))/0x1*(-parseInt(_0x14b3b3(0x21f))/0x2)+-parseInt(_0x14b3b3(0x22a))/0x3+-parseInt(_0x14b3b3(0x1e1))/0x4*(parseInt(_0x14b3b3(0x1fd))/0x5)+parseInt(_0x14b3b3(0x220))/0x6+parseInt(_0x14b3b3(0x20c))/0x7*(-parseInt(_0x14b3b3(0x208))/0x8)+-parseInt(_0x14b3b3(0x213))/0x9*(parseInt(_0x14b3b3(0x1e3))/0xa)+-parseInt(_0x14b3b3(0x1e8))/0xb*(-parseInt(_0x14b3b3(0x221))/0xc);if(_0x3a8af9===_0x36c780)break;else _0x57b96a['push'](_0x57b96a['shift']());}catch(_0x34b491){_0x57b96a['push'](_0x57b96a['shift']());}}}(_0x4ac2,0x3f07c));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2d2243 from'path';import _0x169cb8 from'fs';function _0x36af(_0x3a0f8b,_0x788f9b){const _0x4ac220=_0x4ac2();return _0x36af=function(_0x36afd1,_0x1ab08e){_0x36afd1=_0x36afd1-0x1e0;let _0x147d71=_0x4ac220[_0x36afd1];return _0x147d71;},_0x36af(_0x3a0f8b,_0x788f9b);}import _0x21e4ab from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0xe165f3 from'file-type';import{MsgListener}from'@/core/listeners';function _0x4ac2(){const _0x2a5ef9=['FZLvP','24657FsDLZw','98756oRyFHk','util','10eiZyLP','delete','set','onRichMediaDownloadComplete','onLoginSuccess','38687gLCYtQ','OOnOw','private_rkey','addCacheScanedPaths','chatType','/gchatpic_new/0/0-0-','copyFile','ahdYw','vTgur','getStorageCleanService','fileUuid','addCacheScannedPaths','WFDJl','zIlDk','getChatCacheInfo','getImageUrl','msgId','getFileType','下载超时','wbVai','addListener','15uFHtkl','ext','group_rkey','getChatCacheList','basename','originImageUrl','join','hotUpdate','getMsgService','EFmLi','setCacheSilentScan','1329288VvbWXx','图片url获取失败','existsSync','ZWGNg','21qbHWbP','tmp','MvjNn','filePath','urlResult','downloadMedia','clearChatCacheInfo','75258vqNrfr','elementId','getCacheSessionPathList','tGjSw','puHUL','getFileSize','scanCache','gFyFF','url','downloadRichMedia','fileTypeFromFile','PIC','20SHboYq','1236204tzsFKk','2820ofyglb','md5HexStr','clearCache','getImageSize','uploadFile','rtaYj','startsWith','session','clearCacheDataByKeys','1320045JlgMtk','Tprws','wzKfT'];_0x4ac2=function(){return _0x2a5ef9;};return _0x4ac2();}import _0x1f0475 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[_0x513451(0x1e6)]=_0x527cb6=>{const _0x55e530=_0x513451,_0x22e704={'vTgur':function(_0x27ee64,_0x48e871){return _0x27ee64(_0x48e871);}};for(const [_0x301838,_0x3368eb]of downloadMediaTasks){_0x22e704[_0x55e530(0x1f0)](_0x3368eb,_0x527cb6),downloadMediaTasks[_0x55e530(0x1e4)](_0x301838);}},setTimeout(()=>{const _0x21e2e7=_0x513451;napCatCore[_0x21e2e7(0x1e7)](()=>{const _0x49cd54=_0x21e2e7;napCatCore[_0x49cd54(0x1fc)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x513451(0x1f9)](_0x3df700){const _0x2e2147=_0x513451;return _0xe165f3[_0x2e2147(0x21d)](_0x3df700);}static async[_0x513451(0x1ee)](_0x18058b,_0x2394fc){const _0x1898f8=_0x513451;await napCatCore[_0x1898f8(0x1e2)][_0x1898f8(0x1ee)](_0x18058b,_0x2394fc);}static async['getFileSize'](_0xc6957d){const _0x180b3d=_0x513451;return await napCatCore[_0x180b3d(0x1e2)][_0x180b3d(0x218)](_0xc6957d);}static async['getVideoUrl'](_0x53eaca,_0x73f7f0){const _0x393ee8=_0x513451;return(await napCatCore[_0x393ee8(0x228)]['getRichMediaService']()['getVideoPlayUrlV2']({'chatType':_0x53eaca[_0x393ee8(0x1ec)],'peerUid':_0x53eaca['peerUid'],'guildId':'0'},_0x53eaca[_0x393ee8(0x1f8)],_0x73f7f0[_0x393ee8(0x214)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x393ee8(0x210)]['domainUrl'][0x0][_0x393ee8(0x21b)];}static async[_0x513451(0x225)](_0x3ed508,_0x5bc295=ElementType[_0x513451(0x21e)],_0x49aa6a=0x0){const _0xb0f684=_0x513451,_0xec991a={'FZLvP':function(_0x17efb6,_0x29f5be){return _0x17efb6===_0x29f5be;}},_0x22ba39=await calculateFileMD5(_0x3ed508);let _0x50d7a5=(await NTQQFileApi[_0xb0f684(0x1f9)](_0x3ed508))?.[_0xb0f684(0x1fe)]||'';_0x50d7a5&&(_0x50d7a5='.'+_0x50d7a5);let _0x4430ba=''+_0x2d2243[_0xb0f684(0x201)](_0x3ed508);_0xec991a[_0xb0f684(0x22d)](_0x4430ba['indexOf']('.'),-0x1)&&(_0x4430ba+=_0x50d7a5);const _0x3e735e=napCatCore[_0xb0f684(0x228)][_0xb0f684(0x205)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x22ba39,'fileName':_0x4430ba,'elementType':_0x5bc295,'elementSubType':_0x49aa6a,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0xb0f684(0x1ee)](_0x3ed508,_0x3e735e);const _0x199a43=await NTQQFileApi[_0xb0f684(0x218)](_0x3ed508);return{'md5':_0x22ba39,'fileName':_0x4430ba,'path':_0x3e735e,'fileSize':_0x199a43,'ext':_0x50d7a5};}staLine truncated
+1 -1
View File
@@ -1 +1 @@
function _0x1a44(_0x1f1675,_0x83bd5){const _0xe9eef=_0xe9ee();return _0x1a44=function(_0x1a4428,_0x1b811b){_0x1a4428=_0x1a4428-0x16f;let _0x3f3d81=_0xe9eef[_0x1a4428];return _0x3f3d81;},_0x1a44(_0x1f1675,_0x83bd5);}const _0x93afbf=_0x1a44;(function(_0xac8491,_0x52fc93){const _0x2d29fa=_0x1a44,_0x5bf2f6=_0xac8491();while(!![]){try{const _0x4acc42=-parseInt(_0x2d29fa(0x179))/0x1+parseInt(_0x2d29fa(0x17d))/0x2*(parseInt(_0x2d29fa(0x170))/0x3)+-parseInt(_0x2d29fa(0x185))/0x4+-parseInt(_0x2d29fa(0x183))/0x5*(-parseInt(_0x2d29fa(0x177))/0x6)+-parseInt(_0x2d29fa(0x178))/0x7*(parseInt(_0x2d29fa(0x186))/0x8)+parseInt(_0x2d29fa(0x16f))/0x9*(-parseInt(_0x2d29fa(0x180))/0xa)+parseInt(_0x2d29fa(0x17c))/0xb;if(_0x4acc42===_0x52fc93)break;else _0x5bf2f6['push'](_0x5bf2f6['shift']());}catch(_0x12996b){_0x5bf2f6['push'](_0x5bf2f6['shift']());}}}(_0xe9ee,0x9a69d));function _0xe9ee(){const _0x2245a0=['71010trKnGM','getFriends','NodeIKernelBuddyService/getBuddyList','approvalFriendRequest','CallNormalEvent','isBuddy','push','275178IrUDoQ','623MMPxwq','408994YFdugo','split','NodeIKernelBuddyListener/onBuddyListChange','32730544MNzYzF','14fHNJfL','length','JIuBh','1410BLNxxK','session','handleFriendRequest','110lmNWnw','buddyList','3855392iETfXK','85928EUZROO','getBuddyService','75888GuQkuN'];_0xe9ee=function(){return _0x2245a0;};return _0xe9ee();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x93afbf(0x175)](_0x268d1e){const _0xd7b31b=_0x93afbf;return napCatCore['session'][_0xd7b31b(0x187)]()[_0xd7b31b(0x175)](_0x268d1e);}static async[_0x93afbf(0x171)](_0x2f6e18=![]){const _0x3007e5=_0x93afbf,_0x43e871={'JIuBh':_0x3007e5(0x17b)};let [_0xb58467,_0x5ebc85]=await NTEventDispatch[_0x3007e5(0x174)](_0x3007e5(0x172),_0x43e871[_0x3007e5(0x17f)],0x1,0x1388,_0x2f6e18);const _0x2d3bd0=[];for(const _0x578294 of _0x5ebc85){for(const _0x5cab41 of _0x578294[_0x3007e5(0x184)]){_0x2d3bd0[_0x3007e5(0x176)](_0x5cab41);}}return _0x2d3bd0;}static async[_0x93afbf(0x182)](_0x529c43,_0x29fa8a){const _0x5be223=_0x93afbf,_0x20323a={'vCgQu':function(_0x247b05,_0x54a1fd){return _0x247b05<_0x54a1fd;}};let _0x23fd0b=_0x529c43[_0x5be223(0x17a)]('|');if(_0x20323a['vCgQu'](_0x23fd0b[_0x5be223(0x17e)],0x2))return;let _0x178ba3=_0x23fd0b[0x0],_0x3ae0ce=_0x23fd0b[0x1];napCatCore[_0x5be223(0x181)][_0x5be223(0x187)]()?.[_0x5be223(0x173)]({'friendUid':_0x178ba3,'reqTime':_0x3ae0ce,'accept':_0x29fa8a});}}
function _0x88e9(_0x4fcf94,_0x28cacc){const _0x24ce99=_0x24ce();return _0x88e9=function(_0x88e956,_0x1b5a46){_0x88e956=_0x88e956-0x189;let _0x2633e6=_0x24ce99[_0x88e956];return _0x2633e6;},_0x88e9(_0x4fcf94,_0x28cacc);}const _0x416a46=_0x88e9;(function(_0x2a7047,_0x5a73a9){const _0x2ad60e=_0x88e9,_0x52e6f9=_0x2a7047();while(!![]){try{const _0x148df6=parseInt(_0x2ad60e(0x18d))/0x1+parseInt(_0x2ad60e(0x196))/0x2*(parseInt(_0x2ad60e(0x199))/0x3)+parseInt(_0x2ad60e(0x198))/0x4+-parseInt(_0x2ad60e(0x18b))/0x5*(parseInt(_0x2ad60e(0x194))/0x6)+-parseInt(_0x2ad60e(0x197))/0x7+-parseInt(_0x2ad60e(0x195))/0x8+parseInt(_0x2ad60e(0x19c))/0x9;if(_0x148df6===_0x5a73a9)break;else _0x52e6f9['push'](_0x52e6f9['shift']());}catch(_0x1c70c6){_0x52e6f9['push'](_0x52e6f9['shift']());}}}(_0x24ce,0x652fa));function _0x24ce(){const _0x11fbda=['buddyList','length','session','handleFriendRequest','1482ahvGHE','378408SjpaRD','4766AUCTBx','3904600AbDyZk','1042868KARvdb','153QowOrc','approvalFriendRequest','isBuddy','5023197becfHb','getBuddyService','NodeIKernelBuddyListener/onBuddyListChange','11710nKMnNk','push','657650nfMNrJ','split','getFriends'];_0x24ce=function(){return _0x11fbda;};return _0x24ce();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x416a46(0x19b)](_0x5056d7){const _0x565b81=_0x416a46;return napCatCore[_0x565b81(0x192)]['getBuddyService']()[_0x565b81(0x19b)](_0x5056d7);}static async[_0x416a46(0x18f)](_0xa5e378=![]){const _0x4130b5=_0x416a46;let [_0x3ddef9,_0x1b1ec1]=await NTEventDispatch['CallNormalEvent']('NodeIKernelBuddyService/getBuddyList',_0x4130b5(0x18a),0x1,0x1388,_0xa5e378);const _0x242e75=[];for(const _0x53ecf0 of _0x1b1ec1){for(const _0x38c04c of _0x53ecf0[_0x4130b5(0x190)]){_0x242e75[_0x4130b5(0x18c)](_0x38c04c);}}return _0x242e75;}static async[_0x416a46(0x193)](_0x55c5eb,_0x3aa96f){const _0x39e350=_0x416a46;let _0x9fb45e=_0x55c5eb[_0x39e350(0x18e)]('|');if(_0x9fb45e[_0x39e350(0x191)]<0x2)return;let _0x1c8394=_0x9fb45e[0x0],_0x4b5e4f=_0x9fb45e[0x1];napCatCore[_0x39e350(0x192)][_0x39e350(0x189)]()?.[_0x39e350(0x19a)]({'friendUid':_0x1c8394,'reqTime':_0x4b5e4f,'accept':_0x3aa96f});}}
+1 -1
View File
@@ -1 +1 @@
const _0x5341ee=_0xa20b;(function(_0x253b46,_0x225622){const _0xde5053=_0xa20b,_0x2b46b6=_0x253b46();while(!![]){try{const _0x5f3fc6=-parseInt(_0xde5053(0xdf))/0x1*(-parseInt(_0xde5053(0xee))/0x2)+-parseInt(_0xde5053(0xbe))/0x3*(parseInt(_0xde5053(0xea))/0x4)+-parseInt(_0xde5053(0xb5))/0x5*(-parseInt(_0xde5053(0xbc))/0x6)+parseInt(_0xde5053(0xe3))/0x7+parseInt(_0xde5053(0xc9))/0x8*(parseInt(_0xde5053(0xb7))/0x9)+parseInt(_0xde5053(0xe9))/0xa+-parseInt(_0xde5053(0xe7))/0xb;if(_0x5f3fc6===_0x225622)break;else _0x2b46b6['push'](_0x2b46b6['shift']());}catch(_0x4d795d){_0x2b46b6['push'](_0x2b46b6['shift']());}}}(_0x182c,0x3148e));function _0xa20b(_0xa484aa,_0x167905){const _0x182c06=_0x182c();return _0xa20b=function(_0xa20bab,_0x18b40f){_0xa20bab=_0xa20bab-0xb0;let _0x1232e6=_0x182c06[_0xa20bab];return _0x1232e6;},_0xa20b(_0xa484aa,_0x167905);}function _0x182c(){const _0x1b8f86=['9778791omNKrF','errCode','3817100KwryLM','4NAapCy','groupMemberList_MainWindow','publishGroupBulletin','jeGeX','149746AxBSZf','setMemberCard','DelGroupFile','NodeIKernelGroupService/getGroupRecommendContactArkJson','modifyGroupName','handleGroupRequest','NodeIKernelGroupService/getSingleScreenNotifies','getRichMediaService','kickMember','getMemberExtInfo','arkJson','groupCode','12435pyLiPz','type','196884DJBkPI','CallNormalEvent','TITLETYPE','group','CYHQg','540byrDJz','getPSkey','396654hmpfyh','operateSysNotify','vfsPJ','getGroupIgnoreNotifies','errMsg','NodeIKernelGroupListener/onGroupListUpdate','setMemberShutUp','quitGroup','qun.qq.com','TTCKx','seq','112oJxlEW','setGroupName','setMemberRole','result','getGroupRecommendContactArkJson','getGroupService','createGroupFolder','oYAse','LwXqw','NodeIKernelGroupListener/onGroupSingleScreenNotifies','itXpc','session','获取群成员列表出错,','modifyMemberRole','ocCcd','banMember','getArkJsonGroupShare','CallNoListenerEvent','uploadGroupBulletinPic','getGroupRemainAtTimes','modifyMemberCardName','setGroupShutUp','1EjykVT','getGroupNotifies','deleteGroupFolder','getNextMemberList','1654744mwyTBH','infos','DelGroupFileFolder','createMemberListScene'];_0x182c=function(){return _0x1b8f86;};return _0x182c();}import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x348dac=![]){const _0xddfdde=_0xa20b,_0x49388a={'CYHQg':'NodeIKernelGroupService/getGroupList','PBpmD':_0xddfdde(0xc3)};let [_0x418d28,_0x350e39,_0x4c5dcd]=await NTEventDispatch[_0xddfdde(0xb8)](_0x49388a[_0xddfdde(0xbb)],_0x49388a['PBpmD'],0x1,0x1388,_0x348dac);return _0x4c5dcd;}static async['getGroupRecommendContactArkJson'](_0x2b963a){const _0x334e46=_0xa20b;return napCatCore[_0x334e46(0xd4)][_0x334e46(0xce)]()[_0x334e46(0xcd)](_0x2b963a);}static async['CreatGroupFileFolder'](_0x558d0d,_0x390e9b){const _0x4cd0c3=_0xa20b;return napCatCore[_0x4cd0c3(0xd4)][_0x4cd0c3(0xb0)]()[_0x4cd0c3(0xcf)](_0x558d0d,_0x390e9b);}static async[_0x5341ee(0xf0)](_0x11d600,_0x4a96c5){const _0x35ee1b=_0x5341ee;return napCatCore[_0x35ee1b(0xd4)][_0x35ee1b(0xb0)]()['deleteGroupFile'](_0x11d600,[0x66],_0x4a96c5);}static async[_0x5341ee(0xe5)](_0x32d14f,_0x3758f3){const _0x43f090=_0x5341ee;return napCatCore[_0x43f090(0xd4)][_0x43f090(0xb0)]()[_0x43f090(0xe1)](_0x32d14f,_0x3758f3);}static async['getSingleScreenNotifies'](_0xb3e97d){const _0x2480ae=_0x5341ee,_0x33e779={'TTCKx':_0x2480ae(0xd2)};let [_0x18f792,_0x172d4a,_0x2038ca,_0x4cd91b]=await NTEventDispatch['CallNormalEvent'](_0x2480ae(0xf4),_0x33e779[_0x2480ae(0xc7)],0x1,0x1388,![],'',_0xb3e97d);return _0x4cd91b;}static async['getGroupMembers'](_0x315755,_0x4b5947=0xbb8){const _0x40136e=_0x5341ee,_0x4b2760={'oYAse':_0x40136e(0xeb),'lqLop':function(_0x37adc4,_0x553024){return _0x37adc4!==_0x553024;},'ocCcd':function(_0x4c8b8e,_0x1bed64){return _0x4c8b8e+_0x1bed64;}},_0x1d968a=napCatCore[_0x40136e(0xd4)][_0x40136e(0xce)](),_0x6da85c=_0x1d968a[_0x40136e(0xe6)](_0x315755,_0x4b2760[_0x40136e(0xd0)]),_0x4ab68e=await _0x1d968a[_0x40136e(0xe2)](_0x6da85c,undefined,_0x4b5947);if(_0x4b2760['lqLop'](_0x4ab68e[_0x40136e(0xe8)],0x0))throw _0x4b2760[_0x40136e(0xd7)](_0x40136e(0xd5),_0x4ab68e[_0x40136e(0xc2)]);return _0x4ab68e[_0x40136e(0xcc)][_0x40136e(0xe4)];}static async[_0x5341ee(0xe0)](){}static async['GetGroupFileCount'](_0xeb7124){const _0x34fb43=_0x5341ee;return napCatCore['session'][_0x34fb43(0xb0)]()['batchGetGroupFileCount'](_0xeb7124);}static async[_0x5341ee(0xc1)](){}static async[_0x5341ee(0xd9)](_0x2fcf22){const _0x31dc56=_0x5341ee,_0x427870={'itXpc':_0x31dc56(0xf1)};let _0x49b00f=await NTEventDispatch[_0x31dc56(0xda)](_0x427870[_0x31dc56(0xd3)],0x1388,_0x2fcf22);return _0x49b00f[_0x31dc56(0xb3)];}static async[_0x5341ee(0xdb)](_0x5d7018,_0x175bc5){const _0x27f71a=_0x5341ee,_0x3aec73={'jeGeX':_0x27f71a(0xc6)},_0x50d447=(await NTQQUserApi['getPSkey']([_0x3aec73[_0x27f71a(0xed)]]))[_0x3aec73['jeGeX']];return napCatCore[_0x27f71a(0xd4)][_0x27f71a(0xce)]()['uploadGroupBulLine truncated
const _0x43f500=_0x4084;function _0x17e4(){const _0x299f14=['getGroupNotifies','qun.qq.com','2439983JBlvst','group','RhJdx','NodeIKernelGroupListener/onGroupListUpdate','infos','kqnOt','banGroup','50VDdykI','domainPskeyMap','publishGroupBulletin','3346362uKdCRE','CallNormalEvent','setGroupTitle','setMemberCard','modifyMemberCardName','deleteGroupFolder','4066542JhhOek','errMsg','getGroupRemainAtTimes','getMemberExtInfo','getNextMemberList','get','WnuoH','OPKyf','result','errCode','getSingleScreenNotifies','357317AEENeu','bjKmJ','createMemberListScene','CreatGroupFileFolder','21084848WQjHQd','NodeIKernelGroupService/getSingleScreenNotifies','NodeIKernelGroupService/getGroupList','seq','getGroupService','createGroupFolder','getGroupMembers','2451144krFoPj','getGroupRecommendContactArkJson','RAmJY','setGroupName','FcGyJ','ncXTN','iHrGU','588132drRxNv','operateSysNotify','groupMemberList_MainWindow','arkJson','batchGetGroupFileCount','kickMember','type','NodeIKernelGroupService/getGroupRecommendContactArkJson','获取群成员列表出错,','setMemberShutUp','CallNoListenerEvent','groupCode','modifyMemberRole','getGroupIgnoreNotifies','setMemberRole','getRichMediaService','session','quitGroup','setGroupShutUp','uploadGroupBulletinPic','TITLETYPE','getPSkey','getArkJsonGroupShare'];_0x17e4=function(){return _0x299f14;};return _0x17e4();}function _0x4084(_0x2721cb,_0xa4fc3f){const _0x17e465=_0x17e4();return _0x4084=function(_0x408481,_0x4e71ab){_0x408481=_0x408481-0x16d;let _0x44e0da=_0x17e465[_0x408481];return _0x44e0da;},_0x4084(_0x2721cb,_0xa4fc3f);}(function(_0x14ffe6,_0x5b7eeb){const _0x58c186=_0x4084,_0x53e18a=_0x14ffe6();while(!![]){try{const _0x2e8045=-parseInt(_0x58c186(0x1a5))/0x1+parseInt(_0x58c186(0x1b0))/0x2+-parseInt(_0x58c186(0x19a))/0x3+-parseInt(_0x58c186(0x171))/0x4*(parseInt(_0x58c186(0x191))/0x5)+parseInt(_0x58c186(0x194))/0x6+-parseInt(_0x58c186(0x18a))/0x7+parseInt(_0x58c186(0x1a9))/0x8;if(_0x2e8045===_0x5b7eeb)break;else _0x53e18a['push'](_0x53e18a['shift']());}catch(_0x3de9fa){_0x53e18a['push'](_0x53e18a['shift']());}}}(_0x17e4,0xd8987));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x5cf05c=![]){const _0x38f5e4=_0x4084,_0x56a5b8={'ARCLw':_0x38f5e4(0x1ab),'RAmJY':_0x38f5e4(0x18d)};let [_0x50cbc2,_0x40eb0f,_0x531dc2]=await NTEventDispatch[_0x38f5e4(0x195)](_0x56a5b8['ARCLw'],_0x56a5b8[_0x38f5e4(0x1b2)],0x1,0x1388,_0x5cf05c);return _0x531dc2;}static async[_0x43f500(0x1b1)](_0x33b3c2){const _0x9ef5aa=_0x43f500;return napCatCore['session']['getGroupService']()[_0x9ef5aa(0x1b1)](_0x33b3c2);}static async[_0x43f500(0x1a8)](_0x394ba4,_0x5b9d57){const _0x5870a0=_0x43f500;return napCatCore[_0x5870a0(0x181)]['getRichMediaService']()[_0x5870a0(0x1ae)](_0x394ba4,_0x5b9d57);}static async['DelGroupFile'](_0x3fbaae,_0x1e08e9){const _0x1e0690=_0x43f500;return napCatCore[_0x1e0690(0x181)]['getRichMediaService']()['deleteGroupFile'](_0x3fbaae,[0x66],_0x1e08e9);}static async['DelGroupFileFolder'](_0x1a6dc1,_0xffa11d){const _0x27ddb2=_0x43f500;return napCatCore[_0x27ddb2(0x181)]['getRichMediaService']()[_0x27ddb2(0x199)](_0x1a6dc1,_0xffa11d);}static async[_0x43f500(0x1a4)](_0x523a19){const _0x50b13e=_0x43f500,_0x2ac257={'JeNLS':_0x50b13e(0x1aa),'ncXTN':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x5e1913,_0x36d796,_0x4877d2,_0x42f332]=await NTEventDispatch[_0x50b13e(0x195)](_0x2ac257['JeNLS'],_0x2ac257[_0x50b13e(0x16f)],0x1,0x1388,![],'',_0x523a19);return _0x42f332;}static async[_0x43f500(0x1af)](_0x14c2f6,_0xde9844=0xbb8){const _0x1d7609=_0x43f500,_0x4a90bf={'RhJdx':_0x1d7609(0x173),'WnuoH':function(_0x3e5580,_0x49dd5d){return _0x3e5580!==_0x49dd5d;},'FcGyJ':function(_0x3234d7,_0x2b2323){return _0x3234d7+_0x2b2323;},'iHrGU':_0x1d7609(0x179)},_0x5df85e=napCatCore['session'][_0x1d7609(0x1ad)](),_0x4e661b=_0x5df85e[_0x1d7609(0x1a7)](_0x14c2f6,_0x4a90bf[_0x1d7609(0x18c)]),_0x24f742=await _0x5df85e[_0x1d7609(0x19e)](_0x4e661b,undefined,_0xde9844);if(_0x4a90bf[_0x1d7609(0x1a0)](_0x24f742[_0x1d7609(0x1a3)],0x0))throw _0x4a90bf[_0x1d7609(0x16e)](_0x4a90bf[_0x1d7609(0x170)],_0x24f742[_0x1d7609(0x19b)]);return _0x24f742[_0x1d7609(0x1a2)][_0x1d7609(0x18e)];}static async[_0x43f500(0x188)](){}static async['GetGroupFileCount'](_0x5150e3){const _0x151780=_0x43f500;return napCatCore[_0x151780(0x181)][_0x151780(0x180)]()[_0x151780(0x175)](_0x5150e3);}static async[_0x43f500(0x17e)](){}static async[_0x43f500(0x187)](_0x3339da){const _0x1fb773=_0x43f500,_0x3b0e61={'hDley':_0x1fb773(0x178)};let _0x42430f=await NTEventDispatch[_0x1fb773(0x17b)](_0x3b0e61['hDley'],0x1388,_0x3339da);return _0x42430f[_0x1fb773(0x174)];}static async[_0x43f500(0x184)](_0x40cebd,_0x4e14ca){const _0x1adef8=_0x43f500,_0x4f5d66={'kqnOt':'qun.qq.com'},_0x24959a=(await NTQQUserApi[_0x1adef8(0x186)]([_0x1adef8(0x189)]))[_0x1adef8(0x192)][_0x1adef8(0x19f)](_0x4f5d66[_0x1adef8(0x18f)]);return napLine truncated
+1 -1
View File
@@ -1 +1 @@
(function(_0x1cbddc,_0x590de3){var _0x68e0d5=_0x4b49,_0x4b8aee=_0x1cbddc();while(!![]){try{var _0x1b5afd=-parseInt(_0x68e0d5(0x1d5))/0x1*(parseInt(_0x68e0d5(0x1d3))/0x2)+parseInt(_0x68e0d5(0x1d4))/0x3+-parseInt(_0x68e0d5(0x1da))/0x4*(parseInt(_0x68e0d5(0x1d8))/0x5)+parseInt(_0x68e0d5(0x1d7))/0x6+parseInt(_0x68e0d5(0x1d9))/0x7+-parseInt(_0x68e0d5(0x1d6))/0x8+parseInt(_0x68e0d5(0x1db))/0x9;if(_0x1b5afd===_0x590de3)break;else _0x4b8aee['push'](_0x4b8aee['shift']());}catch(_0x29807e){_0x4b8aee['push'](_0x4b8aee['shift']());}}}(_0x3215,0x82bea));export*from'./file';function _0x4b49(_0x19865a,_0xdb1188){var _0x3215e1=_0x3215();return _0x4b49=function(_0x4b4913,_0x5acb79){_0x4b4913=_0x4b4913-0x1d3;var _0x5faede=_0x3215e1[_0x4b4913];return _0x5faede;},_0x4b49(_0x19865a,_0xdb1188);}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x3215(){var _0x2fbf37=['9408312sGSrEc','26XIJhMD','1626636oMZwGW','71959foJKOd','8126280vfDvrU','3862014hZwPOx','30YqHcLB','7197365bohcMc','515108dpbXXZ'];_0x3215=function(){return _0x2fbf37;};return _0x3215();}export*from'./webapi';export*from'./sign';export*from'./system';
(function(_0x1faeb7,_0x2b5858){var _0x356722=_0x1002,_0x492bfb=_0x1faeb7();while(!![]){try{var _0x40a758=parseInt(_0x356722(0x114))/0x1*(parseInt(_0x356722(0x10d))/0x2)+parseInt(_0x356722(0x10e))/0x3+-parseInt(_0x356722(0x110))/0x4*(-parseInt(_0x356722(0x112))/0x5)+-parseInt(_0x356722(0x115))/0x6*(-parseInt(_0x356722(0x10b))/0x7)+-parseInt(_0x356722(0x10a))/0x8+-parseInt(_0x356722(0x111))/0x9*(-parseInt(_0x356722(0x10c))/0xa)+parseInt(_0x356722(0x113))/0xb*(-parseInt(_0x356722(0x10f))/0xc);if(_0x40a758===_0x2b5858)break;else _0x492bfb['push'](_0x492bfb['shift']());}catch(_0xab1c67){_0x492bfb['push'](_0x492bfb['shift']());}}}(_0x176a,0x1c49e));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x1002(_0x15e09f,_0x1c0031){var _0x176aff=_0x176a();return _0x1002=function(_0x100263,_0x140c07){_0x100263=_0x100263-0x10a;var _0xf86b1=_0x176aff[_0x100263];return _0xf86b1;},_0x1002(_0x15e09f,_0x1c0031);}export*from'./user';export*from'./webapi';function _0x176a(){var _0x564d0f=['372501JoLTtY','895415zIReFp','753577ZGJOnL','1AfzCoH','606FrOVcP','1379240ADjZDA','8519nCQdgC','20zvyVUA','73956jVsDJp','216120DGWWNg','36TthJRO','4TUgtTs'];_0x176a=function(){return _0x564d0f;};return _0x176a();}export*from'./sign';export*from'./system';
+1 -1
View File
@@ -1 +1 @@
function _0x301f(){const _0x27addb=['49bmXhjo','9xCBJOP','arkElement','Jvesn','then','activateChatAndGetHistory','66909mzGgYP','84839sQEUfe','Qjpyk','1608284jUmTCZ','getMsgsBySeqAndCount','oRxRv','multiForwardMsgWithComment','activateChat','onLoginSuccess','bytesData','XSQCC','7177730SkuDSX','hhNNr','getMultiMsg','map','getMsgsIncludeSelf','dVoIM','onMsgInfoListUpdate','delete','转发消息超时','eMLeO','session','881056FAlQvI','bylMR','tkgEj','getMsgsByMsgId','10ttoQQd','setMsgRead','UzOri','sendMsg','find','ZFjhw','cJCVr','177726atGWtN','multiForwardMsg','nick','onGroupFileInfoUpdate','WPYfP','qVpBb','chatType','toString','dgayJ','1756165dgQRjp','发送超时','msgId','peerUid','xhaxu','set','item','getMsgService','forEach','cogQg','setEmojiLike','VzieP','setMsgEmojiLikes','getGroupFileList','ejIaV','REJVJ','forwardMsg','catch','recallMsg'];_0x301f=function(){return _0x27addb;};return _0x301f();}const _0x1efd8e=_0x5759;function _0x5759(_0x347d02,_0x56a437){const _0x301fea=_0x301f();return _0x5759=function(_0x575901,_0x53ef7b){_0x575901=_0x575901-0xd9;let _0x34e487=_0x301fea[_0x575901];return _0x34e487;},_0x5759(_0x347d02,_0x56a437);}(function(_0xcbf1e1,_0x2a986e){const _0x5503a5=_0x5759,_0x12b305=_0xcbf1e1();while(!![]){try{const _0x16b63d=-parseInt(_0x5503a5(0xe0))/0x1*(-parseInt(_0x5503a5(0xf9))/0x2)+-parseInt(_0x5503a5(0xdf))/0x3+-parseInt(_0x5503a5(0xe2))/0x4+-parseInt(_0x5503a5(0x109))/0x5+parseInt(_0x5503a5(0x100))/0x6*(-parseInt(_0x5503a5(0xd9))/0x7)+parseInt(_0x5503a5(0xf5))/0x8+-parseInt(_0x5503a5(0xda))/0x9*(-parseInt(_0x5503a5(0xea))/0xa);if(_0x16b63d===_0x2a986e)break;else _0x12b305['push'](_0x12b305['shift']());}catch(_0x108e2b){_0x12b305['push'](_0x12b305['shift']());}}}(_0x301f,0x41b5a));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x1efd8e(0x103)]=_0x24954c=>{const _0x491278=_0x1efd8e,_0x1bde53={'iYOGW':function(_0x35e0e5,_0xf747ea){return _0x35e0e5(_0xf747ea);}};for(const [_0x1825cd,_0x2dee65]of GroupFileInfoUpdateTasks){_0x1bde53['iYOGW'](_0x2dee65,_0x24954c),GroupFileInfoUpdateTasks[_0x491278(0xf1)](_0x1825cd);}},msgListener['onAddSendMsg']=_0x526c93=>{const _0xac65b3=_0x1efd8e,_0x40d90b={'REJVJ':function(_0x47309f,_0x3d3228){return _0x47309f(_0x3d3228);},'vHLwa':function(_0x4c5232,_0x4c69cf){return _0x4c5232 instanceof _0x4c69cf;}};for(const [_0x101425,_0x4b029d]of sentMsgTasks){_0x40d90b[_0xac65b3(0x118)](_0x4b029d,_0x526c93),sentMsgTasks[_0xac65b3(0xf1)](_0x101425);}if(sendMessagePool[_0x526c93[_0xac65b3(0x10c)]]){const _0x1dd476=sendMessagePool[_0x526c93[_0xac65b3(0x10c)]]?.(_0x526c93);_0x40d90b['vHLwa'](_0x1dd476,Promise)&&_0x1dd476[_0xac65b3(0xdd)]()[_0xac65b3(0x11a)](logError);}},msgListener[_0x1efd8e(0xf0)]=_0x596adf=>{const _0x48413b=_0x1efd8e,_0x31c662={'KiRGl':function(_0x3ac0f2,_0x3f2b64){return _0x3ac0f2(_0x3f2b64);}};_0x596adf[_0x48413b(0x111)](_0x1d20b0=>{const _0x475269=_0x48413b;new Promise((_0x3db1dc,_0x4489e6)=>{const _0x474042=_0x5759;for(const _0x17e63b in sendSuccessCBMap){const _0x488671=sendSuccessCBMap[_0x17e63b],_0x12f8c2=_0x31c662['KiRGl'](_0x488671,_0x1d20b0),_0x567c0e=_0x154f4e=>{_0x154f4e&&delete sendSuccessCBMap[_0x17e63b];};_0x12f8c2 instanceof Promise?_0x12f8c2[_0x474042(0xdd)](_0x567c0e):_0x31c662['KiRGl'](_0x567c0e,_0x12f8c2);}})[_0x475269(0xdd)]()['catch'](log);});},setTimeout(()=>{const _0x2c1e11=_0x1efd8e;napCatCore[_0x2c1e11(0xe7)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x1efd8e(0x113)](_0xbcdcac,_0x502e87,_0xdd5f75,_0x14ae19=!![]){const _0x1009de=_0x1efd8e,_0x2ff541={'tOmbQ':function(_0x5a7425,_0x404bac){return _0x5a7425>_0x404bac;}};return _0xdd5f75=_0xdd5f75[_0x1009de(0x107)](),napCatCore[_0x1009de(0xf4)][_0x1009de(0x110)]()[_0x1009de(0x115)](_0xbcdcac,_0x502e87,_0xdd5f75,_0x2ff541['tOmbQ'](_0xdd5f75['length'],0x3)?'2':'1',_0x14ae19);}static async[_0x1efd8e(0xec)](_0x5a807c,_0x109cb5,_0x12e25a){const _0x42cf6b=_0x1efd8e;return napCatCore[_0x42cf6b(0xf4)][_0x42cf6b(0x110)]()['getMultiMsg'](_0x5a807c,_0x109cb5,_0x12e25a);}static async[_0x1efd8e(0xf8)](_0x25e254,_0x444c97){const _0x61cbda=_0x1efd8e;return await napCatCore[_0x61cbda(0xf4)]['getMsgService']()['getMsgsByMsgId'](_0x25e254,_0x444c97);}static async['getMsgsBySeqAndCount'](_0x502abd,_0x4186d4,_0x415a60,_0xa01768,_0x5b5e7c){const _0x2f5f12=_0x1efd8e;return await napCatCore[_0x2f5f12(0xf4)][_0x2f5f12(0x110)]()[_0x2f5f12(0xe3)](_0x502abd,_0x4186d4,_0x415a60,_0xa01768,_0x5b5e7c);}static async[_0x1efd8e(0xe6)](_0x12944c){}static async[_0x1efd8e(0xde)](_0x215c4d){}static async[_0x1efd8e(0xfa)](_0x4ad6a9){const _0x55e896=_0x1efd8e;return napCatCore[_0x55e896(0xf4)][_0x55e896(0x110)]()[_0x55e896(0xfa)](_0x4ad6a9);}staticLine truncated
const _0x88cb9b=_0x1082;(function(_0x3b354b,_0x1a278e){const _0x183937=_0x1082,_0x172988=_0x3b354b();while(!![]){try{const _0x5221a1=-parseInt(_0x183937(0x11e))/0x1*(parseInt(_0x183937(0xe6))/0x2)+-parseInt(_0x183937(0xe7))/0x3+parseInt(_0x183937(0xf2))/0x4+parseInt(_0x183937(0x10c))/0x5*(parseInt(_0x183937(0xfc))/0x6)+-parseInt(_0x183937(0x12a))/0x7+-parseInt(_0x183937(0x107))/0x8*(-parseInt(_0x183937(0x10f))/0x9)+parseInt(_0x183937(0x101))/0xa*(-parseInt(_0x183937(0xf6))/0xb);if(_0x5221a1===_0x1a278e)break;else _0x172988['push'](_0x172988['shift']());}catch(_0x34abf2){_0x172988['push'](_0x172988['shift']());}}}(_0x23e8,0xd89c5));function _0x23e8(){const _0x3e26f1=['activateChatAndGetHistory','862770qHYqFk','setEmojiLike','FKYnI','getMultiMsg','session','10AoFcVd','KCFta','getMsgHistory','setMsgRead','forwardMsg','sendMsg','8XIPgER','length','Ladtc','activateChat','recallMsg','60NRFNsR','then','multiForwardMsg','2767815pXMNBJ','AejbK','uid','set','getMsgsBySeqAndCount','arkElement','app','afFNW','IxBEW','onLoginSuccess','发送超时','map','msgxR','setMsgEmojiLikes','catch','23441ZuQWKe','elements','获取群文件列表超时','getGroupFileList','转发消息超时','ijxWu','getRichMediaService','LQGUT','addListener','oBwDp','toString','lcGTr','3882305cWdUIK','onAddSendMsg','msgId','150Jewdkr','64887XAgcLA','getMsgsByMsgId','find','delete','xbEbb','onGroupFileInfoUpdate','LCeLN','multiForwardMsgWithComment','xetwe','peerUid','ReGIW','6475568qldXPV','uFvSD','senderUid','parse','4734521KQfHoS','com.tencent.multimsg','sendStatus','getMsgsIncludeSelf','getMsgService'];_0x23e8=function(){return _0x3e26f1;};return _0x23e8();}import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x1082(_0x37b29b,_0x18d416){const _0x23e850=_0x23e8();return _0x1082=function(_0x108292,_0x32a692){_0x108292=_0x108292-0xe4;let _0x3ef506=_0x23e850[_0x108292];return _0x3ef506;},_0x1082(_0x37b29b,_0x18d416);}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x88cb9b(0xec)]=_0x197c58=>{const _0x3958f0=_0x88cb9b;for(const [_0x2850a2,_0x1b6751]of GroupFileInfoUpdateTasks){_0x1b6751(_0x197c58),GroupFileInfoUpdateTasks[_0x3958f0(0xea)](_0x2850a2);}},msgListener[_0x88cb9b(0xe4)]=_0x55c8b8=>{const _0xedfe40=_0x88cb9b,_0x3bf8d9={'KxXxL':function(_0x226246,_0x32a185){return _0x226246(_0x32a185);},'NDtiz':function(_0x551961,_0x232d73){return _0x551961 instanceof _0x232d73;}};for(const [_0x223e32,_0x4b7d79]of sentMsgTasks){_0x3bf8d9['KxXxL'](_0x4b7d79,_0x55c8b8),sentMsgTasks[_0xedfe40(0xea)](_0x223e32);}if(sendMessagePool[_0x55c8b8['peerUid']]){const _0x410bba=sendMessagePool[_0x55c8b8['peerUid']]?.(_0x55c8b8);_0x3bf8d9['NDtiz'](_0x410bba,Promise)&&_0x410bba[_0xedfe40(0x10d)]()['catch'](logError);}},msgListener['onMsgInfoListUpdate']=_0x55a7ed=>{const _0x3928d3={'IxBEW':function(_0xc25105,_0x1b1de8){return _0xc25105(_0x1b1de8);},'Ladtc':function(_0xd0c8ee,_0x2dcdf5){return _0xd0c8ee instanceof _0x2dcdf5;},'LCeLN':function(_0x1b56d4,_0x576959){return _0x1b56d4(_0x576959);}};_0x55a7ed['forEach'](_0x2fbfc8=>{const _0x50e74d=_0x1082;new Promise((_0x4603dd,_0x372ded)=>{const _0x47f0c9=_0x1082;for(const _0x542ca9 in sendSuccessCBMap){const _0x11a8fd=sendSuccessCBMap[_0x542ca9],_0x53ad80=_0x3928d3[_0x47f0c9(0x117)](_0x11a8fd,_0x2fbfc8),_0x148590=_0x582c68=>{_0x582c68&&delete sendSuccessCBMap[_0x542ca9];};_0x3928d3[_0x47f0c9(0x109)](_0x53ad80,Promise)?_0x53ad80[_0x47f0c9(0x10d)](_0x148590):_0x3928d3[_0x47f0c9(0xed)](_0x148590,_0x53ad80);}})[_0x50e74d(0x10d)]()[_0x50e74d(0x11d)](log);});},setTimeout(()=>{const _0x23b5df=_0x88cb9b;napCatCore[_0x23b5df(0x118)](()=>{const _0x4d93cf=_0x23b5df;napCatCore[_0x4d93cf(0x126)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x88cb9b(0xfd)](_0x340934,_0x14b51b,_0x53810d,_0x2b491f=!![]){const _0x1c353=_0x88cb9b;return _0x53810d=_0x53810d[_0x1c353(0x128)](),napCatCore[_0x1c353(0x100)]['getMsgService']()[_0x1c353(0x11c)](_0x340934,_0x14b51b,_0x53810d,_0x53810d[_0x1c353(0x108)]>0x3?'2':'1',_0x2b491f);}static async[_0x88cb9b(0xff)](_0x19a019,_0xa1c37e,_0x82d3f6){const _0x2cb9af=_0x88cb9b;return napCatCore[_0x2cb9af(0x100)]['getMsgService']()[_0x2cb9af(0xff)](_0x19a019,_0xa1c37e,_0x82d3f6);}static async[_0x88cb9b(0xe8)](_0x302d64,_0x3f2ce2){const _0x5e58e5=_0x88cb9b;return await napCatCore[_0x5e58e5(0x100)]['getMsgService']()[_0x5e58e5(0xe8)](_0x302d64,_0x3f2ce2);}static async[_0x88cb9b(0x113)](_0x3845fb,_0x50f485,_0x244a2a,_0x704daa,_0x268d6a){const _0x2de6b4=_0x88cb9b;return await napCatCore['session'][_0x2de6b4(0xfa)]()[_0x2de6b4(0x113)](_0x3845fb,_0x50f485,_0x244a2a,_0x704daa,_0x268d6a);}static async[_0x88cb9b(0x10a)](_0xac8571){}static async[_0x88cb9b(0xfb)](_0x4d8f02){}static async[_0x88cb9b(0x104)](_0x476d51){const _0x3dc143=_0x88Line truncated
+20
View File
@@ -21,3 +21,23 @@ export interface MiniAppLuaJsonType {
sourcelogo: string;
}
export declare function SignMiniApp(CardData: MiniAppLuaJsonType): Promise<string>;
export declare function SignMusicInternal(songname: string, singer: string, cover: string, songmid: string, songmusic: string): Promise<{
code: number;
data: {
arkResult: string;
};
}>;
export declare function CreateMusicThridWay0(id?: string, mid?: string): Promise<{
mid: string;
name?: string | undefined;
singer?: string | undefined;
url?: string | undefined;
cover?: string | undefined;
}>;
export declare function CreateMusicThridWay1(id?: string, mid?: string): Promise<void>;
export declare function SignMusicWrapper(id?: string): Promise<{
code: number;
data: {
arkResult: string;
};
}>;
+1 -1
View File
@@ -1 +1 @@
(function(_0x49f020,_0x393991){const _0x3d925f=_0x4ecc,_0x5cb184=_0x49f020();while(!![]){try{const _0x47797b=parseInt(_0x3d925f(0x1a2))/0x1+parseInt(_0x3d925f(0x1a7))/0x2*(parseInt(_0x3d925f(0x1a5))/0x3)+parseInt(_0x3d925f(0x19f))/0x4*(parseInt(_0x3d925f(0x1a8))/0x5)+-parseInt(_0x3d925f(0x194))/0x6*(parseInt(_0x3d925f(0x197))/0x7)+-parseInt(_0x3d925f(0x1ad))/0x8*(-parseInt(_0x3d925f(0x1b8))/0x9)+-parseInt(_0x3d925f(0x191))/0xa*(-parseInt(_0x3d925f(0x19e))/0xb)+parseInt(_0x3d925f(0x1a9))/0xc*(-parseInt(_0x3d925f(0x1aa))/0xd);if(_0x47797b===_0x393991)break;else _0x5cb184['push'](_0x5cb184['shift']());}catch(_0xe953f7){_0x5cb184['push'](_0x5cb184['shift']());}}}(_0x38b6,0x4284d));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x38b6(){const _0x4b5a3a=['166415jthWjj','tagIcon','getSkey','75zBpkyA','stringify','15560nOnpiH','5BwxTDn','48JlihVM','4188665RUntkl','cjxRl','oysrS','32TylZAO','p_skey','skey','title','source','CRWcd','normal','com.tencent.miniapp.lua','replace','MiniApp\x20JSON\x20消息生成失败','HttpGetJson','1167633lKOAwM','OFoUq','tag',';\x20skey=','signed_ark','prompt','preview','iKNTe','30YNlHBu','WrExs','miniapp','1851780Rlmlfd','sourcelogo','p_skey=','7VqXrCL','&ark=','jAUqA','GET',';\x20p_uin=o','imnuP','GSLYH','1973059WBcNtP','1807764nWqueD','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','\x5c/\x5c/'];_0x38b6=function(){return _0x4b5a3a;};return _0x38b6();}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x4ecc(_0x662f63,_0x919f5){const _0x38b6f6=_0x38b6();return _0x4ecc=function(_0x4ecc92,_0x1e15ae){_0x4ecc92=_0x4ecc92-0x18d;let _0x42fe17=_0x38b6f6[_0x4ecc92];return _0x42fe17;},_0x4ecc(_0x662f63,_0x919f5);}export async function SignMiniApp(_0x23d49d){const _0x22860a=_0x4ecc,_0x19ea4d={'vGgCA':'tianxuan.imgJumpArk','ieetQ':_0x22860a(0x193),'GSLYH':'\x5c/\x5c/','OFoUq':function(_0x1b3350,_0x52646a){return _0x1b3350+_0x52646a;},'iKNTe':_0x22860a(0x196),'esDMQ':_0x22860a(0x1bb),'imnuP':_0x22860a(0x19b),'cjxRl':_0x22860a(0x198),'CRWcd':function(_0x96acd7,_0x390307){return _0x96acd7(_0x390307);},'jAUqA':_0x22860a(0x19a),'WrExs':function(_0x4b65b1,_0x177981,_0x2292e1){return _0x4b65b1(_0x177981,_0x2292e1);},'oysrS':_0x22860a(0x1b6)};let _0x5808e6={'app':_0x22860a(0x1b4),'bizsrc':_0x19ea4d['vGgCA'],'view':_0x19ea4d['ieetQ'],'prompt':_0x23d49d[_0x22860a(0x18e)],'config':{'type':_0x22860a(0x1b3),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x23d49d[_0x22860a(0x1b0)],'preview':_0x23d49d[_0x22860a(0x18f)][_0x22860a(0x1b5)](/\\/g,_0x19ea4d[_0x22860a(0x19d)]),'jumpUrl':_0x23d49d['jumpUrl']['replace'](/\\/g,_0x19ea4d[_0x22860a(0x19d)]),'tag':_0x23d49d[_0x22860a(0x1ba)],'tagIcon':_0x23d49d[_0x22860a(0x1a3)][_0x22860a(0x1b5)](/\\/g,_0x22860a(0x1a1)),'source':_0x23d49d[_0x22860a(0x1b1)],'sourcelogo':_0x23d49d[_0x22860a(0x195)]['replace'](/\\/g,_0x22860a(0x1a1))}}};const _0x4ead04=await NTQQUserApi[_0x22860a(0x1a4)]();let _0x64fc90=await NTQQUserApi['getQzoneCookies']();const _0x46c782=WebApi['genBkn'](_0x64fc90[_0x22860a(0x1ae)]),_0x42e9e8=_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d['OFoUq'](_0x19ea4d['OFoUq'](_0x19ea4d[_0x22860a(0x190)]+_0x64fc90['p_skey']+_0x19ea4d['esDMQ'],_0x64fc90[_0x22860a(0x1af)]),_0x19ea4d[_0x22860a(0x19c)]),selfInfo['uin']),';\x20uin=o'),selfInfo['uin']);let _0x27627e=_0x19ea4d['OFoUq'](_0x19ea4d[_0x22860a(0x1b9)](_0x22860a(0x1a0)+_0x46c782,_0x19ea4d[_0x22860a(0x1ab)]),_0x19ea4d[_0x22860a(0x1b2)](encodeURIComponent,JSON[_0x22860a(0x1a6)](_0x5808e6))),_0x36e4de='';try{let _0x58d599=await RequestUtil[_0x22860a(0x1b7)](_0x27627e,_0x19ea4d[_0x22860a(0x199)],undefined,{'Cookie':_0x42e9e8});_0x36e4de=_0x58d599['data'][_0x22860a(0x18d)];}catch(_0x2ccfbe){_0x19ea4d[_0x22860a(0x192)](logDebug,_0x19ea4d[_0x22860a(0x1ac)],_0x2ccfbe);}return _0x36e4de;}
(function(_0x269d99,_0x4a5ee7){const _0x1eee88=_0x428e,_0xb2c582=_0x269d99();while(!![]){try{const _0x33dd63=-parseInt(_0x1eee88(0x211))/0x1*(-parseInt(_0x1eee88(0x203))/0x2)+-parseInt(_0x1eee88(0x1f5))/0x3+-parseInt(_0x1eee88(0x231))/0x4+-parseInt(_0x1eee88(0x222))/0x5+parseInt(_0x1eee88(0x210))/0x6*(-parseInt(_0x1eee88(0x1f0))/0x7)+parseInt(_0x1eee88(0x229))/0x8*(-parseInt(_0x1eee88(0x233))/0x9)+-parseInt(_0x1eee88(0x20d))/0xa*(-parseInt(_0x1eee88(0x206))/0xb);if(_0x33dd63===_0x4a5ee7)break;else _0xb2c582['push'](_0xb2c582['shift']());}catch(_0x97823c){_0xb2c582['push'](_0xb2c582['shift']());}}}(_0x4473,0xcee67));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(_0x5613e8){const _0x50b96f=_0x428e,_0x1bb771={'HfrOb':_0x50b96f(0x1f7),'xwOjQ':'tianxuan.imgJumpArk','JXdOb':_0x50b96f(0x23b),'yxYPb':_0x50b96f(0x1ec),'YBgiW':function(_0x4b5370,_0x52bdc4){return _0x4b5370+_0x52bdc4;},'Kejdf':function(_0x2a7afe,_0x39ea5f){return _0x2a7afe+_0x39ea5f;},'ilupu':_0x50b96f(0x237),'ElpYC':_0x50b96f(0x1ed),'tHIkZ':_0x50b96f(0x239),'xTXSH':_0x50b96f(0x20f),'kZhCS':function(_0x2154e4,_0xd0a1f5){return _0x2154e4+_0xd0a1f5;},'FSyfJ':_0x50b96f(0x1f6),'QuWMA':'&ark=','KfVoR':_0x50b96f(0x1fe),'RXIgv':function(_0x266064,_0x54d844,_0x585e53){return _0x266064(_0x54d844,_0x585e53);}};let _0x312236={'app':_0x1bb771[_0x50b96f(0x22b)],'bizsrc':_0x1bb771[_0x50b96f(0x21f)],'view':_0x1bb771['JXdOb'],'prompt':_0x5613e8[_0x50b96f(0x1f9)],'config':{'type':_0x50b96f(0x1ef),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x5613e8['title'],'preview':_0x5613e8['preview'][_0x50b96f(0x21a)](/\\/g,_0x1bb771[_0x50b96f(0x218)]),'jumpUrl':_0x5613e8[_0x50b96f(0x207)][_0x50b96f(0x21a)](/\\/g,'\x5c/\x5c/'),'tag':_0x5613e8[_0x50b96f(0x217)],'tagIcon':_0x5613e8[_0x50b96f(0x22a)][_0x50b96f(0x21a)](/\\/g,_0x1bb771[_0x50b96f(0x218)]),'source':_0x5613e8[_0x50b96f(0x1ee)],'sourcelogo':_0x5613e8[_0x50b96f(0x212)][_0x50b96f(0x21a)](/\\/g,_0x1bb771['yxYPb'])}}},_0x439563=await NTQQUserApi[_0x50b96f(0x208)]();const _0x36f24a=WebApi[_0x50b96f(0x20e)](_0x439563[_0x50b96f(0x204)]),_0x343b3d=_0x1bb771[_0x50b96f(0x216)](_0x1bb771['YBgiW'](_0x1bb771[_0x50b96f(0x227)](_0x1bb771[_0x50b96f(0x216)](_0x1bb771[_0x50b96f(0x227)](_0x1bb771['Kejdf'](_0x1bb771[_0x50b96f(0x227)](_0x1bb771['ilupu'],_0x439563['p_skey']),_0x1bb771['ElpYC']),_0x439563['skey']),_0x1bb771[_0x50b96f(0x1f1)]),selfInfo[_0x50b96f(0x21c)]),_0x1bb771['xTXSH']),selfInfo[_0x50b96f(0x21c)]);let _0x58da5d=_0x1bb771['Kejdf'](_0x1bb771[_0x50b96f(0x209)](_0x1bb771[_0x50b96f(0x21b)]+_0x36f24a,_0x1bb771['QuWMA']),encodeURIComponent(JSON[_0x50b96f(0x1ff)](_0x312236))),_0x4f99b9='';try{let _0xcb55dd=await RequestUtil[_0x50b96f(0x1f2)](_0x58da5d,_0x1bb771[_0x50b96f(0x20a)],undefined,{'Cookie':_0x343b3d});_0x4f99b9=_0xcb55dd[_0x50b96f(0x20b)]['signed_ark'];}catch(_0xa5805){_0x1bb771[_0x50b96f(0x1f3)](logDebug,_0x50b96f(0x215),_0xa5805);}return _0x4f99b9;}export async function SignMusicInternal(_0x4622c9,_0x3516a2,_0x49c3ac,_0x1a5bfd,_0x83cbd9){const _0x55a424=_0x428e,_0x24cd5e={'yndou':'com.tencent.qqreader.share','rWdlR':_0x55a424(0x202),'BGCLT':_0x55a424(0x1ef),'vnFoO':function(_0x98b575,_0x1999a7){return _0x98b575+_0x1999a7;},'mCrdq':'https://i.y.qq.com/v8/playsong.html?songmid=','jRUdl':_0x55a424(0x223),'NfHmN':_0x55a424(0x22f),'gqcGb':_0x55a424(0x238),'zpZPU':function(_0xf6fcc4,_0x1ae8a0){return _0xf6fcc4+_0x1ae8a0;},'nqXeP':_0x55a424(0x236),'rGufr':_0x55a424(0x235),'rUKED':_0x55a424(0x225),'NsWSA':'uin=o10086'};let _0x1f34f7=_0x55a424(0x214),_0x4e5911={'app':_0x24cd5e['yndou'],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x24cd5e[_0x55a424(0x1f4)],'type':_0x24cd5e['BGCLT']},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x3516a2,'jumpUrl':_0x24cd5e[_0x55a424(0x22d)](_0x24cd5e[_0x55a424(0x219)],_0x1a5bfd)+_0x24cd5e[_0x55a424(0x213)],'musicUrl':_0x83cbd9,'preview':_0x49c3ac,'cover':_0x49c3ac,'sourceMsgId':'0','source_icon':_0x24cd5e[_0x55a424(0x201)],'source_url':'','tag':_0x24cd5e[_0x55a424(0x1fa)],'title':_0x4622c9,'uin':0x2766}},'prompt':_0x24cd5e[_0x55a424(0x1eb)](_0x55a424(0x200),_0x4622c9),'ver':_0x24cd5e[_0x55a424(0x20c)],'view':_0x24cd5e[_0x55a424(0x220)]},_0x34218e=await RequestUtil['HttpGetJson'](_0x1f34f7,_0x24cd5e['rUKED'],_0x4e5911,{'Cookie':_0x24cd5e[_0x55a424(0x228)],'Content-Type':_0x55a424(0x234)});return _0x34218e;}export async function CreateMusicThridWay0(_0x1d57ef='',_0x9fac1d=''){const _0x3f8de0=_0x428e,_0x247ef6={'KIhiw':function(_0x4209e1,_0x12b48a){return _0x4209e1==_0x12b48a;},'AdwAn':function(_0x3f3f4e,_0x5428fd){return _0x3f3f4e+_0x5428fd;},'tWkgl':_0x3f8de0(0x1fd),'wWIzi':function(_0x42564a,_0x38536d){return _0x42564a+_0x38536d;},'WNaeg':_0x3f8de0(0x23a),'GKoesLine truncated
+1
View File
@@ -9,4 +9,5 @@ export declare class NTQQSystemApi {
static getArkJsonCollection(cid: string): Promise<GeneralCallResult & {
arkJson: string;
}>;
static BootMiniApp(appfile: string, params: string): Promise<unknown>;
}
+1 -1
View File
@@ -1 +1 @@
const _0x155ab2=_0x5adb;(function(_0x4e21ef,_0x353977){const _0x4d8c45=_0x5adb,_0x13ba08=_0x4e21ef();while(!![]){try{const _0x339059=parseInt(_0x4d8c45(0xe6))/0x1+-parseInt(_0x4d8c45(0xd9))/0x2+-parseInt(_0x4d8c45(0xdf))/0x3*(parseInt(_0x4d8c45(0xe2))/0x4)+parseInt(_0x4d8c45(0xe0))/0x5*(-parseInt(_0x4d8c45(0xe5))/0x6)+-parseInt(_0x4d8c45(0xdd))/0x7*(-parseInt(_0x4d8c45(0xda))/0x8)+parseInt(_0x4d8c45(0xd7))/0x9*(parseInt(_0x4d8c45(0xdb))/0xa)+-parseInt(_0x4d8c45(0xe3))/0xb;if(_0x339059===_0x353977)break;else _0x13ba08['push'](_0x13ba08['shift']());}catch(_0x147c6e){_0x13ba08['push'](_0x13ba08['shift']());}}}(_0x2192,0x4c4f5));function _0x5adb(_0x198b62,_0x42d8b5){const _0x219264=_0x2192();return _0x5adb=function(_0x5adbb7,_0x2db35a){_0x5adbb7=_0x5adbb7-0xd5;let _0x562124=_0x219264[_0x5adbb7];return _0x562124;},_0x5adb(_0x198b62,_0x42d8b5);}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2192(){const _0x56bb94=['1717662698058','translateEnWordToZn','hasOtherRunningQQProcess','NodeIKernelCollectionService/collectionArkShare','getOnLineDev','2133774IEvQal','getOnlineDev','196420jwxJYN','4675912BlWOZp','10pKvvsp','ORCImage','7zDtmYQ','CallNoListenerEvent','12795COvfuk','1915BEfeFm','wantWinScreenOCR','112XxtCbO','2363141tceIZY','session','6324SBFcMg','327133OwmYjV','getMsgService'];_0x2192=function(){return _0x56bb94;};return _0x2192();}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x155ab2(0xea)](){return napCatCore['util']['hasOtherRunningQQProcess']();}static async[_0x155ab2(0xdc)](_0x2ea266){const _0x31662e=_0x155ab2;return napCatCore[_0x31662e(0xe4)]['getNodeMiscService']()[_0x31662e(0xe1)](_0x2ea266);}static async['translateEnWordToZn'](_0x143393){const _0x30e5b2=_0x155ab2;return napCatCore[_0x30e5b2(0xe4)]['getRichMediaService']()[_0x30e5b2(0xe9)](_0x143393);}static async[_0x155ab2(0xd8)](){const _0x24d884=_0x155ab2;return napCatCore[_0x24d884(0xe4)][_0x24d884(0xe7)]()[_0x24d884(0xd6)]();}static async['getArkJsonCollection'](_0x5eee27){const _0x5ccd30=_0x155ab2,_0x275cd2={'yKNXB':_0x5ccd30(0xd5),'IWKNN':_0x5ccd30(0xe8)};let _0x2d2f7c=await NTEventDispatch[_0x5ccd30(0xde)](_0x275cd2['yKNXB'],0x1388,_0x275cd2['IWKNN']);return _0x2d2f7c;}}
function _0x16e5(){const _0x246698=['8785bQoZXg','hasOtherRunningQQProcess','startNewMiniApp','getArkJsonCollection','BootMiniApp','418058cctbYb','SCQqt','504nSkYdd','session','getNodeMiscService','154esUxAU','getRichMediaService','12YOSTpl','10615254BolcED','336970avLfUF','setMiniAppVersion','20552cPbIwa','CallNoListenerEvent','translateEnWordToZn','util','123828rFvlkh','getMsgService','3fsDYWO','185765eWNHid','612FofVEs','2.16.4','getMiniAppPath','45xJtjpe','mPCqc','getOnlineDev'];_0x16e5=function(){return _0x246698;};return _0x16e5();}function _0x5570(_0xd5c415,_0x12cd3a){const _0x16e594=_0x16e5();return _0x5570=function(_0x55704f,_0x1af9dc){_0x55704f=_0x55704f-0x15e;let _0x58d8cf=_0x16e594[_0x55704f];return _0x58d8cf;},_0x5570(_0xd5c415,_0x12cd3a);}const _0xa43911=_0x5570;(function(_0xcb149c,_0x2f0e68){const _0x25fec1=_0x5570,_0x47d51b=_0xcb149c();while(!![]){try{const _0x1fea4d=-parseInt(_0x25fec1(0x175))/0x1+parseInt(_0x25fec1(0x163))/0x2*(parseInt(_0x25fec1(0x174))/0x3)+-parseInt(_0x25fec1(0x172))/0x4*(-parseInt(_0x25fec1(0x179))/0x5)+-parseInt(_0x25fec1(0x165))/0x6*(-parseInt(_0x25fec1(0x15e))/0x7)+parseInt(_0x25fec1(0x16e))/0x8*(parseInt(_0x25fec1(0x176))/0x9)+parseInt(_0x25fec1(0x16c))/0xa*(parseInt(_0x25fec1(0x168))/0xb)+parseInt(_0x25fec1(0x16a))/0xc*(-parseInt(_0x25fec1(0x16b))/0xd);if(_0x1fea4d===_0x2f0e68)break;else _0x47d51b['push'](_0x47d51b['shift']());}catch(_0x2ccbf4){_0x47d51b['push'](_0x47d51b['shift']());}}}(_0x16e5,0x39e85));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0xa43911(0x15f)](){const _0x3684ab=_0xa43911;return napCatCore[_0x3684ab(0x171)][_0x3684ab(0x15f)]();}static async['ORCImage'](_0x5b3abc){const _0x2b44c3=_0xa43911;return napCatCore['session'][_0x2b44c3(0x167)]()['wantWinScreenOCR'](_0x5b3abc);}static async[_0xa43911(0x170)](_0x46b089){const _0x5c28f0=_0xa43911;return napCatCore[_0x5c28f0(0x166)][_0x5c28f0(0x169)]()[_0x5c28f0(0x170)](_0x46b089);}static async[_0xa43911(0x17b)](){const _0x4705d1=_0xa43911;return napCatCore[_0x4705d1(0x166)][_0x4705d1(0x173)]()['getOnLineDev']();}static async[_0xa43911(0x161)](_0x225a7f){const _0x25cac4=_0xa43911,_0x28efdf={'ALvZL':'NodeIKernelCollectionService/collectionArkShare','SCQqt':'1717662698058'};let _0xdb2601=await NTEventDispatch[_0x25cac4(0x16f)](_0x28efdf['ALvZL'],0x1388,_0x28efdf[_0x25cac4(0x164)]);return _0xdb2601;}static async[_0xa43911(0x162)](_0x2901a0,_0x2ca296){const _0x233eef=_0xa43911,_0x1cf1fa={'mPCqc':_0x233eef(0x177)};await napCatCore[_0x233eef(0x166)][_0x233eef(0x167)]()[_0x233eef(0x16d)](_0x1cf1fa[_0x233eef(0x17a)]);let _0x3c6d0a=await napCatCore['session'][_0x233eef(0x167)]()[_0x233eef(0x178)]();return console['log'](_0x3c6d0a),napCatCore[_0x233eef(0x166)][_0x233eef(0x167)]()[_0x233eef(0x160)](_0x2901a0,_0x2ca296);}}
+6 -2
View File
@@ -17,15 +17,19 @@ export declare class NTQQUserApi {
static getUserInfo(uid: string): Promise<void>;
static getUserDetailInfo(uid: string): Promise<User>;
static modifySelfProfile(param: ModifyProfileParams): Promise<GeneralCallResult>;
static getPSkey(domainList: string[], cached?: boolean): Promise<{
static getCookies(domain: string): Promise<{
[key: string]: string;
}>;
static getPSkey(domainList: string[]): Promise<GeneralCallResult & {
domainPskeyMap: Map<string, string>;
}>;
static getRobotUinRange(): Promise<Array<any>>;
static getQzoneCookies(): Promise<{
[key: string]: string;
}>;
static getSkey(cached?: boolean): Promise<string | undefined>;
static getSkey(): Promise<string | undefined>;
static getUidByUin(Uin: string): Promise<string | undefined>;
static getUinByUid(Uid: string | undefined): Promise<string | undefined>;
static getUserDetailInfoByUin(Uin: string): Promise<UserDetailInfoByUin>;
static forceFetchClientKey(): Promise<import("@/core").forceFetchClientKeyRetType>;
}
+1 -1
View File
@@ -1 +1 @@
const _0x5a6461=_0x5f81;(function(_0x26f270,_0x2b78d1){const _0x27a8c3=_0x5f81,_0x57b6f7=_0x26f270();while(!![]){try{const _0x34e4cd=parseInt(_0x27a8c3(0x14e))/0x1*(-parseInt(_0x27a8c3(0x10a))/0x2)+parseInt(_0x27a8c3(0x144))/0x3+parseInt(_0x27a8c3(0x104))/0x4+parseInt(_0x27a8c3(0x149))/0x5+parseInt(_0x27a8c3(0x142))/0x6*(parseInt(_0x27a8c3(0x11a))/0x7)+parseInt(_0x27a8c3(0x155))/0x8+-parseInt(_0x27a8c3(0xfa))/0x9;if(_0x34e4cd===_0x2b78d1)break;else _0x57b6f7['push'](_0x57b6f7['shift']());}catch(_0x2a36dd){_0x57b6f7['push'](_0x57b6f7['shift']());}}}(_0x4930,0x2315e));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x5a6461(0xf7)]=_0x3e0781=>{const _0x613eb1=_0x5a6461;userInfoCache[_0x3e0781[_0x613eb1(0x131)]]=_0x3e0781,userDetailHandlers[_0x613eb1(0x150)](_0x58b4eb=>_0x58b4eb(_0x3e0781));},setTimeout(()=>{const _0x4024fe=_0x5a6461;napCatCore[_0x4024fe(0x13f)](()=>{const _0x5301e1=_0x4024fe;napCatCore[_0x5301e1(0x153)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x5a6461(0x145)](_0x3bf402){const _0x6a1f7e=_0x5a6461;return napCatCore[_0x6a1f7e(0x10d)][_0x6a1f7e(0x11d)]()[_0x6a1f7e(0x145)](_0x3bf402);}static async[_0x5a6461(0x133)](_0x1d4889,_0x40f3e9,_0x5420b6){const _0x17e117=_0x5a6461;return napCatCore[_0x17e117(0x10d)][_0x17e117(0x151)]()[_0x17e117(0x11b)]({'status':_0x1d4889,'extStatus':_0x40f3e9,'batteryStatus':_0x5420b6});}static async['getBuddyRecommendContactArkJson'](_0x5a6fb5,_0x32eb94=''){const _0x5700f5=_0x5a6461;return napCatCore[_0x5700f5(0x10d)][_0x5700f5(0x14c)]()[_0x5700f5(0x100)](_0x5a6fb5,_0x32eb94);}static async[_0x5a6461(0x126)](_0x330524,_0x4760bf=0x1){const _0x18bc05=_0x5a6461;return napCatCore[_0x18bc05(0x10d)][_0x18bc05(0x140)]()[_0x18bc05(0x12d)]({'friendUid':_0x330524,'sourceId':0x47,'doLikeCount':_0x4760bf,'doLikeTollCount':0x0});}static async[_0x5a6461(0x13e)](_0x4faa3b){const _0x1c6a11=_0x5a6461,_0x1b05ce=await napCatCore[_0x1c6a11(0x10d)]['getProfileService']()[_0x1c6a11(0x124)](_0x4faa3b);return{'result':_0x1b05ce?.['result'],'errMsg':_0x1b05ce?.['errMsg']};}static async['getSelfInfo'](){}static async[_0x5a6461(0xf8)](_0x3337b1){}static async[_0x5a6461(0xf5)](_0x3bb3a9){const _0x59665b=_0x5a6461,_0x5adfcd={'PiNmA':function(_0x527ebf,_0x126e7b){return _0x527ebf(_0x126e7b);},'PINsI':_0x59665b(0x14b),'jJNkT':function(_0x16b9de,_0x59f8fa){return _0x16b9de===_0x59f8fa;},'caUhC':function(_0x92d49f){return _0x92d49f();},'blQIY':function(_0x510a6e,_0x3339f9,_0x4fcd96){return _0x510a6e(_0x3339f9,_0x4fcd96);}},_0x54ce3f=napCatCore['session'][_0x59665b(0x11d)]();return new Promise((_0x967784,_0x342a18)=>{const _0x404f33=_0x59665b,_0x1070f6={'VqMWh':function(_0x1151af,_0x9efe59){return _0x5adfcd['PiNmA'](_0x1151af,_0x9efe59);},'sYvKu':_0x5adfcd[_0x404f33(0x136)],'gFCNn':function(_0x1098d5,_0x1186b9){return _0x5adfcd['jJNkT'](_0x1098d5,_0x1186b9);},'AwoFK':function(_0x3ff0c1,_0x3e8223){return _0x3ff0c1(_0x3e8223);}},_0x2f0601=_0x5adfcd['caUhC'](randomUUID);let _0x5923ed=![],_0x4ffb10=undefined,_0x57a96d=!![];_0x5adfcd['blQIY'](setTimeout,()=>{const _0x38c7e1=_0x404f33;!_0x5923ed&&(_0x4ffb10?_0x1070f6[_0x38c7e1(0x12a)](_0x967784,_0x4ffb10):_0x1070f6[_0x38c7e1(0x12a)](_0x342a18,_0x1070f6['sYvKu'])),userDetailHandlers[_0x38c7e1(0x154)](_0x2f0601);},0x1388),userDetailHandlers[_0x404f33(0x10b)](_0x2f0601,_0x49c7a4=>{const _0x4535b7=_0x404f33;_0x1070f6[_0x4535b7(0x14d)](_0x49c7a4[_0x4535b7(0x131)],_0x3bb3a9)&&(_0x57a96d?(_0x4ffb10=_0x49c7a4,_0x57a96d=![]):(_0x5923ed=!![],_0x1070f6[_0x4535b7(0x111)](_0x967784,_0x49c7a4)));}),_0x54ce3f[_0x404f33(0x118)](_0x3bb3a9,[0x0])[_0x404f33(0xf9)](_0x5ac670=>{});});}static async[_0x5a6461(0x116)](_0x449a6d){const _0xa56316=_0x5a6461;return napCatCore[_0xa56316(0x10d)][_0xa56316(0x11d)]()[_0xa56316(0x105)](_0x449a6d);}static async[_0x5a6461(0xf6)](_0x17c80a,_0x5470d1=!![]){const _0xc31713=_0x5a6461,_0x55ccb1={'FVwlC':function(_0x43303d,_0x39a4c3){return _0x43303d>_0x39a4c3;},'JGkzI':function(_0x4804cf,_0x62f86b){return _0x4804cf-_0x62f86b;},'drzbk':function(_0xee42a1,_0xca726c){return _0xee42a1*_0xca726c;},'kgSew':function(_0x1fe58a,_0x4634fa){return _0x1fe58a===_0x4634fa;},'cuohP':function(_0x3f637b,_0xeaef67,_0xf14a09){return _0x3f637b(_0xeaef67,_0xf14a09);},'PYLKS':_0xc31713(0x129)},_0x35da4f=[],_0x44918f={};for(const _0x114b5d in _0x17c80a){const _0x1714a6=Credentials[_0xc31713(0x12b)][_0xc31713(0x143)](_0x17c80a[_0x114b5d]),_0x303e59=Credentials['PskeyTime']['get'](_0x17c80a[_0x114b5d]);!_0x1714a6||!_0x303e59||_0x55ccb1[_0xc31713(0x156)](_0x55ccb1[_0xc31713(0x119)](Date['now'](),_0x303e59),_0x55ccb1[_0xc31713(0x102)](0x708,0x3e8))||!_0x5470d1?_0x35da4f[_0xc31713(0x110)](_0x1Line truncated
const _0x4164e7=_0x24e3;(function(_0x470ea0,_0x54cbaf){const _0xfa0bc3=_0x24e3,_0x3f7056=_0x470ea0();while(!![]){try{const _0x256f2e=-parseInt(_0xfa0bc3(0xb7))/0x1+-parseInt(_0xfa0bc3(0xf5))/0x2*(parseInt(_0xfa0bc3(0xd3))/0x3)+parseInt(_0xfa0bc3(0x109))/0x4+parseInt(_0xfa0bc3(0xdf))/0x5*(parseInt(_0xfa0bc3(0xdc))/0x6)+-parseInt(_0xfa0bc3(0xcb))/0x7*(parseInt(_0xfa0bc3(0xe2))/0x8)+-parseInt(_0xfa0bc3(0xe5))/0x9*(parseInt(_0xfa0bc3(0xf7))/0xa)+parseInt(_0xfa0bc3(0x105))/0xb;if(_0x256f2e===_0x54cbaf)break;else _0x3f7056['push'](_0x3f7056['shift']());}catch(_0x1e9425){_0x3f7056['push'](_0x3f7056['shift']());}}}(_0x5563,0xecd00));var __decorate=this&&this[_0x4164e7(0xe3)]||function(_0x4c88c3,_0x41cb48,_0x3c9603,_0x7b92d1){const _0x33c45d=_0x4164e7,_0x312b00={'bEBii':function(_0x542d3a,_0x20e705){return _0x542d3a<_0x20e705;},'TukCx':function(_0x5755b7,_0x4ed4c9){return _0x5755b7===_0x4ed4c9;},'wHHLz':'function','WcDBj':function(_0x64104f,_0x4194d8){return _0x64104f-_0x4194d8;},'UMPBc':function(_0x1810df,_0x4a19cd){return _0x1810df<_0x4a19cd;},'NrOxJ':function(_0x22667f,_0x5dc34f){return _0x22667f>_0x5dc34f;},'juGPV':function(_0x310a98,_0x516931,_0x21f850,_0x3ca85a){return _0x310a98(_0x516931,_0x21f850,_0x3ca85a);},'ZMARY':function(_0x55d451,_0xd09f8a,_0xcdc825){return _0x55d451(_0xd09f8a,_0xcdc825);}};var _0x1d1396=arguments[_0x33c45d(0xb8)],_0x2372c1=_0x312b00['bEBii'](_0x1d1396,0x3)?_0x41cb48:_0x312b00[_0x33c45d(0xcf)](_0x7b92d1,null)?_0x7b92d1=Object[_0x33c45d(0xbe)](_0x41cb48,_0x3c9603):_0x7b92d1,_0x38ca4c;if(typeof Reflect===_0x33c45d(0xce)&&typeof Reflect[_0x33c45d(0x101)]===_0x312b00['wHHLz'])_0x2372c1=Reflect[_0x33c45d(0x101)](_0x4c88c3,_0x41cb48,_0x3c9603,_0x7b92d1);else{for(var _0x2bf32e=_0x312b00['WcDBj'](_0x4c88c3[_0x33c45d(0xb8)],0x1);_0x2bf32e>=0x0;_0x2bf32e--)if(_0x38ca4c=_0x4c88c3[_0x2bf32e])_0x2372c1=(_0x312b00[_0x33c45d(0xc6)](_0x1d1396,0x3)?_0x38ca4c(_0x2372c1):_0x312b00[_0x33c45d(0xf3)](_0x1d1396,0x3)?_0x312b00['juGPV'](_0x38ca4c,_0x41cb48,_0x3c9603,_0x2372c1):_0x312b00[_0x33c45d(0xd4)](_0x38ca4c,_0x41cb48,_0x3c9603))||_0x2372c1;}return _0x312b00[_0x33c45d(0xf3)](_0x1d1396,0x3)&&_0x2372c1&&Object[_0x33c45d(0xf4)](_0x41cb48,_0x3c9603,_0x2372c1),_0x2372c1;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x24e3(_0x1b28e3,_0x30c9c6){const _0x55630b=_0x5563();return _0x24e3=function(_0x24e307,_0x142737){_0x24e307=_0x24e307-0xb3;let _0x568033=_0x55630b[_0x24e307];return _0x568033;},_0x24e3(_0x1b28e3,_0x30c9c6);}import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x5563(){const _0x872fc4=['getUserDetailInfoWithBizInfo','%2F','onLoginSuccess','decorate','getTicketService','setHeader','setLongNick','19488909kyWMIa','keyIndex','kBfXE','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','7474660FbfgcJ','poiqk','getMsgService','hWNhX','uid','fkkGN','NodeIKernelProfileService/getUserDetailInfoByUin','CallNoListenerEvent','1501692mtezSv','length','getClientKey\x20Error','&u1=https%3A%2F%2F','PZkIg','LmHCo','uin','getOwnPropertyDescriptor','like','getUserDetailInfo\x20timeout','onProfileDetailInfoChanged','NodeIKernelUixConvertService/getUin','modifySelfProfile','setStatus','skey','UMPBc','getRobotService','getUserInfo','result','PEtci','35819MinXlR','seYZv','session','object','TukCx','getUinByUid','jUIiS','response','3xrTzAQ','ZMARY','forceFetchClientKey','NxMFe','then','TnPJi','getQzoneCookies','getPSkey','getRobotUinRange','1106934kfDlLW','setBuddyProfileLike','errMsg','45tSZPVL','getProfileLikeService','getTipOffService','24xLPcoa','__decorate','%2Finfocenter&keyindex=19%27','16083WrxyaK','&clientkey=','get','getSkey','getBuddyRecommendContactArkJson','ClientKey','forEach','GXqzO','getSkey\x20Skey\x20is\x20Empty','robotUinRanges','clientKey','getUserDetailInfoByUin','getPskey','HttpsGetCookies','NrOxJ','defineProperty','2278678AeEcOo','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','9370cbYnkI','setQQAvatar','modifyDesktopMiniProfile','RLFVb','eVnPg','OhwGo','JvneL'];_0x5563=function(){return _0x872fc4;};return _0x5563();}profileListener[_0x4164e7(0xc1)]=_0x443c85=>{const _0x42e13d=_0x4164e7;userInfoCache[_0x443c85[_0x42e13d(0xb3)]]=_0x443c85,userDetailHandlers[_0x42e13d(0xeb)](_0x53a8a3=>_0x53a8a3(_0x443c85));},setTimeout(()=>{const _0xc7700b=_0x4164e7;napCatCore[_0xc7700b(0x100)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x4164e7(0x104)](_0x5cc979){const _0x281821=_0x4164e7;return napCatCore[_0x281821(0xcd)]['getProfileService']()[_0x281821(0x104)](_0x5cc979);}static async['setSelfOnlineStatus'](_0x3b98c4,_0x4845b2,_0x338292){const _0x20f9fa=_0x4164e7;return napCatCore[_0x20f9fa(0xcd)][_0x20f9fa(0x10b)]()[_0x20f9fa(0xc4)]({'status':_0x3b98c4,'Line truncated
+1 -1
View File
@@ -1 +1 @@
const _0x26b2df=_0x30cf;function _0x8639(){const _0x41d1ff=['HhOrB','ceil','TALKACTIVE','850461NugNOu','mATxr','3GVWmRp','zgtLl','获取当前群荣耀失败','HttpGetText','5fQTSeh','QibzU','emotion','Qvdpd','Plqao','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','THCbP','HttpGetJson','strong_newbie','XCaDK','GET','&type=','push','Jyksm','OqQLR','xijYz','genBkn','toString','&page_limit=20','GroupData','VLurz','STORONGE_NEWBI','VELeQ','oajrP','trim','FELwN','EMOTION','talkative','TaMwe','owFFf','performer_list','ALL','KlYaN','hlOeE','ITwCF','qun.qq.com','getGroupEssenceMsg','description','all','DeUja','3|4|2|5|1|0','yXDXa','errcode','actorList','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','JXwKT','qMQtY','3323610rZYYFx','&sort=1&gc=','XrSsA','nEKuP','AWsYq','bDZEk','aMoxX','iBMaf','aJdGq','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','IXWzR','&bkn=','p_skey=','xGoJs','gbmIY','zsyVm','20175694BoWEhB','smogj','tOHVB','FKMCb','&text=','ZeTpY','koROm','strong_newbie_list','mQDWM','&qid=','aAgJX','count','current_talkative','get','获取龙王信息失败','mems','FGUos','split','parse','avatar','VwWEz','sXRcG','rIuoT','KIcQH','7273089PTrDoX','BByqB','talkative_list','IaDQR','https://qun.qq.com/interactive/honorlist?gc=','545834ixVatY','IauEk','match','setGroupNotice','JKJFv','name','qFdMA','nmdLI','now','qid=','ytwiQ','&group_code=','GroupTime','获取快乐源泉失败','set','ispZP','performer','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','pUNyj','XeavN','TKYAK','uin','SNOrs','4592vgcwgf','vStVT',';\x20skey=','获取群聊炽焰失败','&end=','1731468ewEoZq','获取群聊之火失败','RWcUH','KoHzD',';\x20p_uin=o','4TFbWhQ','emotion_list','legend','&page_start=',';\x20uin=o','POST','yutqB','getPSkey','BfbqH','legend_list','talkativeList','GSiHB','getSkey','vmXZq','FSPMd','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','PERFROMER','Qmmtc','4704QGrMrp','QVkEH','desc','Arjxx','bsWMi','XKEfw','GkcZq','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','pZmFR','pmgrV'];_0x8639=function(){return _0x41d1ff;};return _0x8639();}(function(_0x2fc837,_0x567c02){const _0x249444=_0x30cf,_0x4bfb23=_0x2fc837();while(!![]){try{const _0xc21705=-parseInt(_0x249444(0x1fb))/0x1*(-parseInt(_0x249444(0x1b9))/0x2)+parseInt(_0x249444(0x1f9))/0x3*(-parseInt(_0x249444(0x1da))/0x4)+-parseInt(_0x249444(0x1ff))/0x5*(-parseInt(_0x249444(0x1d5))/0x6)+-parseInt(_0x249444(0x1ec))/0x7*(-parseInt(_0x249444(0x1d0))/0x8)+parseInt(_0x249444(0x1b4))/0x9+parseInt(_0x249444(0x18c))/0xa+-parseInt(_0x249444(0x19c))/0xb;if(_0xc21705===_0x567c02)break;else _0x4bfb23['push'](_0x4bfb23['shift']());}catch(_0xe2de50){_0x4bfb23['push'](_0x4bfb23['shift']());}}}(_0x8639,0x7df3a));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x30cf(_0x302469,_0x325f03){const _0x8639da=_0x8639();return _0x30cf=function(_0x30cff1,_0x19bb89){_0x30cff1=_0x30cff1-0x172;let _0x2ca46e=_0x8639da[_0x30cff1];return _0x2ca46e;},_0x30cf(_0x302469,_0x325f03);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x4e1b2b){const _0xb355c2=_0x30cf,_0x34b02f={'QibzU':'EMOTION','YjJYJ':_0xb355c2(0x172),'nmdLI':'PERFROMER','Jyksm':_0xb355c2(0x1c9),'TaMwe':_0xb355c2(0x17c),'BByqB':_0xb355c2(0x183),'SNOrs':_0xb355c2(0x1f8),'zsyVm':'LEGEND','FKMCb':_0xb355c2(0x1dc)},_0x1ccb9f=_0xb355c2(0x185)[_0xb355c2(0x1ad)]('|');let _0x95d766=0x0;while(!![]){switch(_0x1ccb9f[_0x95d766++]){case'0':_0x4e1b2b[_0x34b02f[_0xb355c2(0x200)]]=_0xb355c2(0x201);continue;case'1':_0x4e1b2b[_0x34b02f['YjJYJ']]=_0xb355c2(0x207);continue;case'2':_0x4e1b2b[_0x34b02f[_0xb355c2(0x1c0)]]=_0x34b02f[_0xb355c2(0x20c)];continue;case'3':_0x4e1b2b[_0x34b02f[_0xb355c2(0x179)]]=_0x34b02f[_0xb355c2(0x1b5)];continue;case'4':_0x4e1b2b[_0x34b02f[_0xb355c2(0x1cf)]]=_0xb355c2(0x178);continue;case'5':_0x4e1b2b[_0x34b02f[_0xb355c2(0x19b)]]=_0x34b02f[_0xb355c2(0x19f)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x26b2df(0x181)](_0x37fbee,_0x5ab9ca){const _0x2a8fea=_0x26b2df,_0x3c0688={'AWsYq':_0x2a8fea(0x180),'QVkEH':function(_0x5e5ed1,_0x29433b){return _0x5e5ed1+_0x29433b;},'VLurz':function(_0x59c336,_0x22de03){return _0x59c336+_0x22de03;},'VDikb':function(_0x229538,_0x3e8787){return _0x229538+_0x3e8787;},'IauEk':'p_skey=','rdFyu':_0x2a8fea(0x1d2),'aAgJX':function(_0x358cff,_0x6ff29b){return _0x358cff||_0x6ff29b;},'xGoJs':function(_0x5e73ed,_0x56d1ee){return _0x5e73ed+_0x56d1ee;},'oroxq':function(_0x19679a,_0x2f3164){return _0x19679a+_0x2f3164;},'HhOrB':function(_0x7c5956,_0x526053){return _0x7c5956+_0x526053;},'Plqao':function(_0xc06dc9,_0x57482f){return _0xc06dc9+_0x57482f;},'XKEfw':_0x2a8fea(0x1dd),'FGUos':_0x2a8fea(0x211),'UyuBS':_0x2a8fea(0x209),'Arjxx':function(_0x2332f8,_0x17b352){return _0x2332f8!==_0x17b352;}},_0x24a355=(await NTQQUseLine truncated
const _0x206afd=_0x43f9;(function(_0x3ea103,_0x4604bd){const _0x4de134=_0x43f9,_0x43a976=_0x3ea103();while(!![]){try{const _0x202289=-parseInt(_0x4de134(0x18a))/0x1*(-parseInt(_0x4de134(0x14c))/0x2)+-parseInt(_0x4de134(0x192))/0x3+parseInt(_0x4de134(0x14a))/0x4*(-parseInt(_0x4de134(0x1b0))/0x5)+-parseInt(_0x4de134(0x13c))/0x6*(-parseInt(_0x4de134(0x19d))/0x7)+parseInt(_0x4de134(0x147))/0x8+parseInt(_0x4de134(0x1b7))/0x9+parseInt(_0x4de134(0x1a3))/0xa;if(_0x202289===_0x4604bd)break;else _0x43a976['push'](_0x43a976['shift']());}catch(_0x1f6011){_0x43a976['push'](_0x43a976['shift']());}}}(_0x3cd3,0x43a53));var __decorate=this&&this[_0x206afd(0x133)]||function(_0x3ce237,_0x356964,_0x5251bb,_0x4cdb52){const _0x518e24=_0x206afd,_0x5a7b19={'OQaqx':function(_0x34d631,_0x54f547){return _0x34d631===_0x54f547;},'glqKo':_0x518e24(0x191),'jfSYI':function(_0x360896,_0x2380e2){return _0x360896>=_0x2380e2;},'ntYuZ':function(_0x731ddf,_0x1f9743){return _0x731ddf<_0x1f9743;},'liJTm':function(_0x51fc8c,_0x4c829f){return _0x51fc8c>_0x4c829f;},'pArap':function(_0x2d796a,_0xf79647,_0x485fca,_0x33f29c){return _0x2d796a(_0xf79647,_0x485fca,_0x33f29c);}};var _0x323410=arguments[_0x518e24(0x190)],_0x141cc8=_0x323410<0x3?_0x356964:_0x4cdb52===null?_0x4cdb52=Object[_0x518e24(0x160)](_0x356964,_0x5251bb):_0x4cdb52,_0x51dc79;if(typeof Reflect===_0x518e24(0x14f)&&_0x5a7b19[_0x518e24(0x1ac)](typeof Reflect[_0x518e24(0x18d)],_0x5a7b19[_0x518e24(0x17f)]))_0x141cc8=Reflect[_0x518e24(0x18d)](_0x3ce237,_0x356964,_0x5251bb,_0x4cdb52);else{for(var _0x497f3f=_0x3ce237['length']-0x1;_0x5a7b19[_0x518e24(0x17a)](_0x497f3f,0x0);_0x497f3f--)if(_0x51dc79=_0x3ce237[_0x497f3f])_0x141cc8=(_0x5a7b19[_0x518e24(0x176)](_0x323410,0x3)?_0x51dc79(_0x141cc8):_0x5a7b19['liJTm'](_0x323410,0x3)?_0x5a7b19[_0x518e24(0x1b4)](_0x51dc79,_0x356964,_0x5251bb,_0x141cc8):_0x51dc79(_0x356964,_0x5251bb))||_0x141cc8;}return _0x5a7b19[_0x518e24(0x144)](_0x323410,0x3)&&_0x141cc8&&Object[_0x518e24(0x1a0)](_0x356964,_0x5251bb,_0x141cc8),_0x141cc8;};import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x43f9(_0x231757,_0x9d9a8c){const _0x3cd393=_0x3cd3();return _0x43f9=function(_0x43f9a0,_0x5776a1){_0x43f9a0=_0x43f9a0-0x132;let _0x18cf01=_0x3cd393[_0x43f9a0];return _0x18cf01;},_0x43f9(_0x231757,_0x9d9a8c);}import{RequestUtil}from'@/common/utils/request';function _0x3cd3(){const _0x2cdad8=['length','function','435327DXWKni','PERFROMER','获取龙王信息失败','&group_code=','OCRFO','desc','fUdAc','trim','aFQaz','VsigQ','join','28SCWnwb','emotion','talkative_list','defineProperty','qid=','current_talkative','975490WGIgha','sWKbh','KfxLv','ePqeS','HttpGetJson','WYmlf','FIdcQ','match','talkativeList','OQaqx','&end=','oIShY','actorList','370qxFmLU','获取快乐源泉失败','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','TALKACTIVE','pArap','performer_list','QfSyJ','2988828RYvHCN','xsBMW','__decorate','jUwRn','name','cdWfQ','toString','EMOTION','performer','map','webapi_get_group_members','438762klGCHx','yvzTF','POST','description','EKXkT','UfKOg','STORONGE_NEWBI','HQPZv','liJTm','LrQNL','getGrouptNotice','92416eqqSyK','hFxRU','IDwmk','18712PJBajW','ujXrr','69310PQTPJa','dBDIw','UcyqA','object','zdUQq','&sort=1&gc=','legend_list','uin','fzDvb','hfAVT','strong_newbie_list','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','legend','retcode','all','获取群聊炽焰失败','&page_limit=20','HttpGetText','RhLVz','strong_newbie','getOwnPropertyDescriptor','&bkn=','https://qun.qq.com/interactive/honorlist?gc=','YxESh','SxzZA','getGroupMembers','KHvMF','getGroupEssenceMsg','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','Tlwxr','lirgz','tdVkf','avatar','ImovK','emotion_list','mPTdV','qPitc','ThhBD','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','xIImA','&type=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ntYuZ','vIgNq','mems','gKuhu','jfSYI','gZiIl','Obaym','WPtjm','LEGEND','glqKo','ALL','GET','genBkn','skey','FBBRR','entries','qun.qq.com','获取当前群荣耀失败','push','IDsRJ','1KhtFso','axadf','count','decorate','getCookies','talkative'];_0x3cd3=function(){return _0x2cdad8;};return _0x3cd3();}import{CacheClassFuncAsync}from'@/common/utils/helper';export var WebHonorType;(function(_0x96db75){const _0x3b1f84=_0x206afd,_0x55d58d={'xeTBt':_0x3b1f84(0x1b3),'xsBMW':'PERFROMER','UfKOg':_0x3b1f84(0x139),'hfAVT':_0x3b1f84(0x142),'TWyva':_0x3b1f84(0x15f),'BkhvU':_0x3b1f84(0x138),'nSsNP':_0x3b1f84(0x19e)};_0x96db75[_0x3b1f84(0x180)]=_0x3b1f84(0x15a),_0x96db75[_0x55d58d['xeTBt']]=_0x3b1f84(0x18f),_0x96db75[_0x55d58d[_0x3b1f84(0x132)]]=_0x55d58d[_0x3b1f84(0x141)],_0x96db75[_0x3b1f84(0x17e)]=_0x3b1f84(0x158),_0x96db75[_0x55d58d[_0x3b1f84(0x155)]]=_0x55d58d['TWyva'],_0x96db75[_0x55d58d['BkhvU']]=_0x55d58d['nSsNP'];}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x562e9a,_0x241566){const _0x56df6d=_0x206afdLine truncated
+1 -1
View File
@@ -1 +1 @@
const _0x2a4fc4=_0x3e0d;(function(_0x35c048,_0x3e85e9){const _0x2d3c6a=_0x3e0d,_0x197b0f=_0x35c048();while(!![]){try{const _0x4c0696=parseInt(_0x2d3c6a(0x163))/0x1+parseInt(_0x2d3c6a(0x166))/0x2+-parseInt(_0x2d3c6a(0x107))/0x3*(parseInt(_0x2d3c6a(0x18d))/0x4)+-parseInt(_0x2d3c6a(0x153))/0x5+-parseInt(_0x2d3c6a(0xfd))/0x6+-parseInt(_0x2d3c6a(0x18f))/0x7*(parseInt(_0x2d3c6a(0x124))/0x8)+-parseInt(_0x2d3c6a(0x13b))/0x9*(-parseInt(_0x2d3c6a(0x16b))/0xa);if(_0x4c0696===_0x3e85e9)break;else _0x197b0f['push'](_0x197b0f['shift']());}catch(_0x20dfd3){_0x197b0f['push'](_0x197b0f['shift']());}}}(_0x55ff,0x3eeec));import _0x4cc405 from'@/core/wrapper';function _0x3e0d(_0x1c00c5,_0xefb20f){const _0x55ffb6=_0x55ff();return _0x3e0d=function(_0x3e0d16,_0x1c7034){_0x3e0d16=_0x3e0d16-0xef;let _0x274653=_0x55ffb6[_0x3e0d16];return _0x274653;},_0x3e0d(_0x1c00c5,_0xefb20f);}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5db999 from'node:path';import _0x15c18e from'node:os';import _0x48d252 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 _0x37de2d from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';function _0x55ff(){const _0x14dc53=['117814CgiTRH','ZqsUe','onMemberListChange','onGroupListUpdate','onRecvSysMsg','10lJfTmv','createHash','./nt_qq/global','quickLogin','getNextMemberList','dataPathGlobal','Stfry','Iyfvy','catch','GroupListener','loginErrorInfo','addKernelBuddyListener','split','NodeIKernelProfileListener','forEach','set','util','NgwTp','NndlO','V1_WIN_NQ_','hex','init','onQRCodeSessionFailed','DXApI','constructor','NiJES','undefined','floor','addKernelProfileListener','assign','140022008','update','seqps','ProfileListener','2284bJMWqN','session','843395kWFDCU','NodeIKernelGroupListener','NodeIQQNTWrapperSession','addListener','VEIvV','quickLoginWithUin','NodeIKernelMsgListener','length','CBXlU','MVgKV','initDataListener','delete','curVersion','packet_received','CneAf','isDelete','addKernelGroupListener','dataPath','tipsDesc','init\x20failed\x20','message_received','frxKL','Windows\x2010\x20Pro','onSelfStatusChanged','devUid','result','uin','getMsgService','mBchk','快速登录不可用','BhMdR','onQRCodeLoginSucceed','NodeIKernelLoginListener','pngBase64QrcodeData','onBuddyListChange','digest','GNoUj','DyzOq','KAwzu','2436744ujuTPy','onAddSendMsg','onUserLoggedIn','NodeIKernelBuddyListener','数据库初始化失败','stringify','qrcodeUrl','initWithDeskTopConfig','BuddyListener','getQuickLoginList','1359aDkqxx','goSZy','createMemberListScene','NeWFH','NodeIKernelLoginService','has','getBuddyService','getLoginList','\x20has\x20no\x20method\x20','NodeIDispatcherAdapter','addKernelLoginListener','NodeIKernelSessionListener','KLPJX','loginListener','getProfileService','replace','uid','KDByZ','qrLogin','emnMi','onLoginFailed','moTwJ','aSgLz','map','niQxJ','nvoLH','base64','GSXFe','groupCode','8wyghwg','iziqo','wWJli','sWGSH','loginService','PHJUi','onProfileDetailInfoChanged','onMemberInfoChange','getGroupService','vgUGZ','xuwfE','NodeIGlobalAdapter','sceneId','consoleLog','sTxUO','fReGv','./NapCat/data','memberCount','gUAfm','from','then','NOivQ','resolve','8892981TdYTqB','本账号数据/缓存目录:','-v2.db','push','errMsg','./.config/QQ',')\x20在线状态变更','KvmrQ','MsgListener','[KickedOffLine]\x20[','mkAqA','data:image/png;base64,','clientType','buddyList','getBuddyList','JAKWz','fileLog','fileLogLevel','message_sent','eStOT','登录失败(onLoginFailed)','ZtRDK','get','onQRCodeGetPicture','1363695mcGWDj','name',')已登录,无法重复登录','mkdirSync','JxPqW','proxyHandler','gIMQa','initSession','NfxGe','md5','startNT','NodeIDependsAdapter','packet_sent','BYcNc','find','账号设备(','268767dApfKm','启动失败:\x20','initSession\x20failed'];_0x55ff=function(){return _0x14dc53;};return _0x55ff();}export class NapCatCore{[_0x2a4fc4(0x18e)];['util'];['engine'];[_0x2a4fc4(0x114)];[_0x2a4fc4(0x128)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x359ac4=_0x2a4fc4,ubSzEH={'GNoUj':function(x,y){return x===y;},'sTxUO':_0x359ac4(0x185)};if(ubSzEH[_0x359ac4(0xfa)](typeof target[prop],ubSzEH[_0x359ac4(0x132)]))return(...args)=>{const _0x5882f1=_0x359ac4;logDebug(target[_0x5882f1(0x183)][_0x5882f1(0x154)]+_0x5882f1(0x10f)+prop);};return Reflect[_0x359ac4(0x151)](target,prop,receiver);}};constructor(){const _0x371348=_0x2a4fc4,_0x220aa2={'nvoLH':fuLine truncated
const _0x13f1cf=_0x225d;function _0x225d(_0x2b58ff,_0x1eed4a){const _0x24af8a=_0x24af();return _0x225d=function(_0x225d71,_0x825d9a){_0x225d71=_0x225d71-0x7a;let _0x1e077d=_0x24af8a[_0x225d71];return _0x1e077d;},_0x225d(_0x2b58ff,_0x1eed4a);}(function(_0x1326a8,_0x2757d3){const _0xc22873=_0x225d,_0x156db1=_0x1326a8();while(!![]){try{const _0x5cb9c7=-parseInt(_0xc22873(0xd0))/0x1+parseInt(_0xc22873(0xa6))/0x2*(parseInt(_0xc22873(0x129))/0x3)+-parseInt(_0xc22873(0x122))/0x4+-parseInt(_0xc22873(0x8d))/0x5*(-parseInt(_0xc22873(0x10c))/0x6)+parseInt(_0xc22873(0x112))/0x7+parseInt(_0xc22873(0xb2))/0x8*(-parseInt(_0xc22873(0xc7))/0x9)+parseInt(_0xc22873(0xca))/0xa;if(_0x5cb9c7===_0x2757d3)break;else _0x156db1['push'](_0x156db1['shift']());}catch(_0xfaace2){_0x156db1['push'](_0x156db1['shift']());}}}(_0x24af,0x4356b));import _0x243652 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x23bc7f from'node:path';import _0xbc9aae from'node:os';import _0x3528ef from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';function _0x24af(){const _0x4c3cd4=['initWithDeskTopConfig','Windows\x2010\x20Pro','onLoginSuccessFuncList','DVbLP','EUSSw','qrLogin','NodeIGlobalAdapter','length','onKickedOffLine','errMsg','ProfileListener','PQejf','./NapCat/data','getQuickLoginList','message_received','NGska','uin','Hazdx','result','ICHIX','delete','ZsqBW','1002iXVhzb','XaYLc','addKernelBuddyListener','NodeIDispatcherAdapter','TrMfB','find','785029TVGitZ','onAddSendMsg','init','md5','loginListener','nYgAk','没有可快速登录的QQ号','groupCode','NodeIKernelLoginService','hfyLW','NodeQQNTWrapperUtil','resolve','bwnnv','groupMemberList_MainWindow','tipsDesc','getQRCodePicture','1774552XKLNlm','eEZjS','addKernelGroupListener','getProfileService','addKernelMsgListener','SJVMf','POuFZ','4182jmifCP','initSession','map','CTGRX','xBdeW','replace','uid','onMemberInfoChange',')\x20在线状态变更','session','getLoginList','zAGDr','split','onQRCodeGetPicture','NodeIKernelBuddyListener','infos','gfuYv','from','RlXrm','initDataListener','zbKvI','has','init\x20failed\x20','devUid','qrcodeUrl','proxyHandler','now','2995oNufTy','initSession\x20failed','getNTUserDataInfoConfig','sIRxr','isDelete','vuYxF','dataPath','set','constructor','createMemberListScene','onRecvMsg','账号设备(','快速登录不可用','fileLog','initConfig','\x20has\x20no\x20method\x20','本账号数据/缓存目录:','sCfDs','clientType','onQRCodeLoginSucceed','buddyList','engine','message_sent','onMemberListChange','packet_received','272kMBphj','addKernelProfileListener','fmXYH','onProfileDetailInfoChanged','NodeIKernelGroupListener','[KickedOffLine]\x20[','pgPdB','ThBXW','consoleLog','./.config/QQ','read','quickLogin','114168gUDEJr','fmWcQ','nPZSN','onLineDev','dataPathGlobal','./nt_qq/global','Biqxi','wTsMh','当前账号(','sBZCF','登录失败(onQRCodeSessionFailed)','getBuddyList','JNpxj','name','undefined','数据库初始化失败','createHash','vnnDc','loginService','JRYLD','get','279SPZtAg','NodeIKernelMsgListener','BuddyListener','9000790MJPjQq','hex','NodeIQQNTWrapperSession','VeaNN','startNT','iMhXi','139985pjndrq','addKernelLoginListener','sgTvG','fSnvB','catch','NodeIQQNTWrapperEngine','data:image/png;base64,','onSessionInitComplete','base64','floor','memberCount','bfmHE','stringify','aKseA','getGroupService','push','MsgListener','then','curVersion','onSelfStatusChanged','quickLoginWithUin','onGroupListUpdate','onLoginSuccess','V1_WIN_NQ_','addListener','getMsgService','packet_sent','NodeIKernelSessionListener','Nyjkf','ZAspz','getBuddyService','KczlX','hDUJj','XbeHq','last_message_time','mkdirSync','oXvYb','assign'];_0x24af=function(){return _0x4c3cd4;};return _0x24af();}import _0x206213 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];['util'];[_0x13f1cf(0xa2)];[_0x13f1cf(0x116)];[_0x13f1cf(0xc4)];['onLoginSuccessFuncList']=[];[_0x13f1cf(0x8b)]={'get'(target,prop,receiver){const _0x598a51=_0x13f1cf,eMiqlj={'TrMfB':function(callee,param1){return callee(param1);}};if(typeof target[prop]===_0x598a51(0xc0))return(...args)=>{const _0x520f5c=_0x598a51;eMiqlj[_0x520f5c(0x110)](logDebug,target['constructor'][_0x520f5c(0xbf)]+_0x520f5c(0x9c)+prop);};return Reflect[_0x598a51(0xc6)](target,prop,receiver);}};constructor(){const _0x5be96e=_0x13f1cf,_0xe00332={'ICHIX':function(_0x5c7825,_0x524cf9){retuLine truncated
+1 -15
View File
@@ -1,28 +1,14 @@
import { type Friend, type Group, type GroupMember, GroupNotify, type SelfInfo, BuddyCategoryType } from './entities';
import { WebApiGroupMember } from '@/core/apis';
export declare const Credentials: {
Skey: string;
CreatTime: number;
Cookies: Map<string, string>;
ClientKey: string;
KeyIndex: string;
PskeyData: Map<string, string>;
PskeyTime: Map<string, number>;
};
export declare const WebGroupData: {
GroupData: Map<string, WebApiGroupMember[]>;
GroupTime: Map<string, number>;
};
export declare const selfInfo: SelfInfo;
export declare const groups: Map<string, Group>;
export declare function deleteGroup(groupQQ: string): void;
export declare const groupMembers: Map<string, Map<string, GroupMember>>;
export declare const friends: Map<string, Friend>;
export declare const rawFriends: Array<BuddyCategoryType>;
export declare const groupNotifies: Record<string, GroupNotify>;
export declare function getGroup(qq: string | number): Promise<Group | undefined>;
export declare function getGroupMember(groupQQ: string | number, memberUinOrUid: string | number): Promise<GroupMember | null | undefined>;
export declare const tempGroupCodeMap: Record<string, string>;
export declare const rawFriends: Array<BuddyCategoryType>;
export declare const stat: {
packet_received: number;
packet_sent: number;
+1 -1
View File
@@ -1 +1 @@
(function(_0x33edcd,_0x59f747){const _0x564bf5=_0x3317,_0x47eb43=_0x33edcd();while(!![]){try{const _0x594c49=parseInt(_0x564bf5(0xc1))/0x1*(parseInt(_0x564bf5(0xb7))/0x2)+parseInt(_0x564bf5(0xbf))/0x3*(-parseInt(_0x564bf5(0xb2))/0x4)+parseInt(_0x564bf5(0xbe))/0x5+-parseInt(_0x564bf5(0xae))/0x6*(-parseInt(_0x564bf5(0xb5))/0x7)+-parseInt(_0x564bf5(0xb1))/0x8*(parseInt(_0x564bf5(0xbc))/0x9)+parseInt(_0x564bf5(0xac))/0xa*(-parseInt(_0x564bf5(0xb8))/0xb)+-parseInt(_0x564bf5(0xad))/0xc;if(_0x594c49===_0x59f747)break;else _0x47eb43['push'](_0x47eb43['shift']());}catch(_0x4c50b4){_0x47eb43['push'](_0x47eb43['shift']());}}}(_0x1e65,0x64b0b));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();function _0x3317(_0x5624d,_0x169f19){const _0x1e65bc=_0x1e65();return _0x3317=function(_0x331702,_0x127910){_0x331702=_0x331702-0xab;let _0x26db76=_0x1e65bc[_0x331702];return _0x26db76;},_0x3317(_0x5624d,_0x169f19);}export function deleteGroup(_0x34ec55){const _0x355fb1=_0x3317;groups[_0x355fb1(0xbb)](_0x34ec55),groupMembers[_0x355fb1(0xbb)](_0x34ec55);}export const groupMembers=new Map();export const friends=new Map();function _0x1e65(){const _0x81485d=['delete','9NEuGnV','getGroupMembers','1325195dbbExy','7893qOXhEp','toString','17177OMjzYL','get','from','310130kLtpia','5797044YVCHEd','126pxQjBM','groupCode','find','457904IysSoc','4bgvDSm','uin','oznTv','2359hztGXr','AsILF','94DfZXxp','44WLXfRS','set','values'];_0x1e65=function(){return _0x81485d;};return _0x1e65();}export const groupNotifies={};export async function getGroup(_0x4dbc87){const _0x3d3418=_0x3317;let _0x1dc7e8=groups[_0x3d3418(0xc2)](_0x4dbc87[_0x3d3418(0xc0)]());if(!_0x1dc7e8)try{const _0x133c9e=await NTQQGroupApi['getGroups']();_0x133c9e['length']&&_0x133c9e['forEach'](_0x12bf92=>{const _0x5c7dcf=_0x3d3418;groups[_0x5c7dcf(0xb9)](_0x12bf92[_0x5c7dcf(0xaf)],_0x12bf92);});}catch(_0x1991dd){return undefined;}return _0x1dc7e8=groups[_0x3d3418(0xc2)](_0x4dbc87[_0x3d3418(0xc0)]()),_0x1dc7e8;}export async function getGroupMember(_0x520a47,_0x22097e){const _0x36558e=_0x3317,_0x5da2da={'AsILF':function(_0x2272fe,_0x2f93e3){return _0x2272fe(_0x2f93e3);},'oznTv':function(_0x3d4bc8){return _0x3d4bc8();}};_0x520a47=_0x520a47['toString'](),_0x22097e=_0x22097e[_0x36558e(0xc0)]();let _0x20ad89=groupMembers[_0x36558e(0xc2)](_0x520a47);if(!_0x20ad89)try{_0x20ad89=await NTQQGroupApi[_0x36558e(0xbd)](_0x520a47),groupMembers[_0x36558e(0xb9)](_0x520a47,_0x20ad89);}catch(_0x34e000){return null;}const _0x18e1d8=()=>{const _0x31329c=_0x36558e;let _0x91912a=undefined;return _0x5da2da[_0x31329c(0xb6)](isNumeric,_0x22097e)?_0x91912a=Array[_0x31329c(0xab)](_0x20ad89[_0x31329c(0xba)]())[_0x31329c(0xb0)](_0x8b699b=>_0x8b699b[_0x31329c(0xb3)]===_0x22097e):_0x91912a=_0x20ad89[_0x31329c(0xc2)](_0x22097e),_0x91912a;};let _0x4faf63=_0x5da2da['oznTv'](_0x18e1d8);return!_0x4faf63&&(_0x20ad89=await NTQQGroupApi[_0x36558e(0xbd)](_0x520a47),_0x4faf63=_0x5da2da[_0x36558e(0xb4)](_0x18e1d8)),_0x4faf63;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
(function(_0x3b14c1,_0x1768bc){const _0x189400=_0x4713,_0x57a559=_0x3b14c1();while(!![]){try{const _0x5279ec=parseInt(_0x189400(0xaf))/0x1*(parseInt(_0x189400(0x9a))/0x2)+parseInt(_0x189400(0x9b))/0x3*(parseInt(_0x189400(0xa0))/0x4)+parseInt(_0x189400(0xa2))/0x5*(parseInt(_0x189400(0xb0))/0x6)+parseInt(_0x189400(0xa7))/0x7+parseInt(_0x189400(0xae))/0x8+-parseInt(_0x189400(0xaa))/0x9+parseInt(_0x189400(0xa9))/0xa*(-parseInt(_0x189400(0xa4))/0xb);if(_0x5279ec===_0x1768bc)break;else _0x57a559['push'](_0x57a559['shift']());}catch(_0x50656d){_0x57a559['push'](_0x57a559['shift']());}}}(_0x4b9a,0xb89ea));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x46facc){const _0x7b4c8b=_0x4713;groups[_0x7b4c8b(0xa3)](_0x46facc),groupMembers[_0x7b4c8b(0xa3)](_0x46facc);}function _0x4713(_0x1df58e,_0x5aefb){const _0x4b9a5b=_0x4b9a();return _0x4713=function(_0x471333,_0x10d7a0){_0x471333=_0x471333-0x9a;let _0x15555e=_0x4b9a5b[_0x471333];return _0x15555e;},_0x4713(_0x1df58e,_0x5aefb);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x4a554a){const _0x1e47ec=_0x4713;let _0x30a80f=groups[_0x1e47ec(0xa8)](_0x4a554a[_0x1e47ec(0xa6)]());if(!_0x30a80f)try{const _0x3b9d7f=await NTQQGroupApi[_0x1e47ec(0x9d)]();_0x3b9d7f[_0x1e47ec(0xa5)]&&_0x3b9d7f[_0x1e47ec(0xb1)](_0x447b2c=>{const _0x27efb2=_0x1e47ec;groups[_0x27efb2(0x9e)](_0x447b2c[_0x27efb2(0xab)],_0x447b2c);});}catch(_0x39133e){return undefined;}return _0x30a80f=groups['get'](_0x4a554a[_0x1e47ec(0xa6)]()),_0x30a80f;}function _0x4b9a(){const _0x4cbfaa=['14234570wWXNFA','6358158hXtXpj','groupCode','from','values','7287952DZfvAx','38sTbqQT','41718nOxbOc','forEach','45838lZbRTB','24GFrmky','getGroupMembers','getGroups','set','AhfsK','251464kfstie','Wsnlu','45JQQKlK','delete','11BtobFS','length','toString','3770900oIlGlM','get'];_0x4b9a=function(){return _0x4cbfaa;};return _0x4b9a();}export async function getGroupMember(_0x2dc4bb,_0x1b379c){const _0x3e2adc=_0x4713,_0x4623d3={'AhfsK':function(_0x3c3fec,_0x4c3189){return _0x3c3fec(_0x4c3189);},'Wsnlu':function(_0x24c3cc){return _0x24c3cc();},'FYWdT':function(_0x54d39a){return _0x54d39a();}};_0x2dc4bb=_0x2dc4bb[_0x3e2adc(0xa6)](),_0x1b379c=_0x1b379c[_0x3e2adc(0xa6)]();let _0xf9633b=groupMembers['get'](_0x2dc4bb);if(!_0xf9633b)try{_0xf9633b=await NTQQGroupApi[_0x3e2adc(0x9c)](_0x2dc4bb),groupMembers[_0x3e2adc(0x9e)](_0x2dc4bb,_0xf9633b);}catch(_0x2f8ce5){return null;}const _0x40b3ee=()=>{const _0x1d054d=_0x3e2adc;let _0x176546=undefined;return _0x4623d3[_0x1d054d(0x9f)](isNumeric,_0x1b379c)?_0x176546=Array[_0x1d054d(0xac)](_0xf9633b[_0x1d054d(0xad)]())['find'](_0x57fc56=>_0x57fc56['uin']===_0x1b379c):_0x176546=_0xf9633b[_0x1d054d(0xa8)](_0x1b379c),_0x176546;};let _0x4fe8d5=_0x4623d3[_0x3e2adc(0xa1)](_0x40b3ee);return!_0x4fe8d5&&(_0xf9633b=await NTQQGroupApi[_0x3e2adc(0x9c)](_0x2dc4bb),_0x4fe8d5=_0x4623d3['FYWdT'](_0x40b3ee)),_0x4fe8d5;}export const tempGroupCodeMap={};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};
+1 -1
View File
@@ -1 +1 @@
(function(_0x8c32a6,_0x1f8dc1){var _0x31c6bc=_0x5b94,_0x14550f=_0x8c32a6();while(!![]){try{var _0x26cfb0=parseInt(_0x31c6bc(0xce))/0x1*(-parseInt(_0x31c6bc(0xcd))/0x2)+parseInt(_0x31c6bc(0xd6))/0x3*(-parseInt(_0x31c6bc(0xdf))/0x4)+-parseInt(_0x31c6bc(0xdd))/0x5*(-parseInt(_0x31c6bc(0xdb))/0x6)+parseInt(_0x31c6bc(0xd4))/0x7+parseInt(_0x31c6bc(0xd1))/0x8*(-parseInt(_0x31c6bc(0xcc))/0x9)+parseInt(_0x31c6bc(0xc9))/0xa*(-parseInt(_0x31c6bc(0xd9))/0xb)+parseInt(_0x31c6bc(0xd5))/0xc;if(_0x26cfb0===_0x1f8dc1)break;else _0x14550f['push'](_0x14550f['shift']());}catch(_0x9e07f6){_0x14550f['push'](_0x14550f['shift']());}}}(_0x2783,0xdb844));;export var CacheFileType;(function(_0x1feadb){var _0x3b011b=_0x5b94,_0x22fb04={'QwrTm':_0x3b011b(0xda),'khNJK':_0x3b011b(0xd0),'RKBKP':_0x3b011b(0xde),'zowbv':_0x3b011b(0xca),'LdwST':'VIDEO','DxToE':'AUDIO'},_0x1e60b0=_0x22fb04[_0x3b011b(0xd8)][_0x3b011b(0xcf)]('|'),_0x5595d7=0x0;while(!![]){switch(_0x1e60b0[_0x5595d7++]){case'0':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xdc)]]=0x0]=_0x22fb04['khNJK'];continue;case'1':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xd2)]]=0x4]=_0x22fb04[_0x3b011b(0xd2)];continue;case'2':_0x1feadb[_0x1feadb[_0x3b011b(0xca)]=0x3]=_0x22fb04[_0x3b011b(0xcb)];continue;case'3':_0x1feadb[_0x1feadb[_0x22fb04['LdwST']]=0x1]=_0x22fb04[_0x3b011b(0xd3)];continue;case'4':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xd7)]]=0x2]=_0x22fb04['DxToE'];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0x5b94(_0x24b76c,_0x1f89eb){var _0x27837a=_0x2783();return _0x5b94=function(_0x5b94d4,_0x5b297b){_0x5b94d4=_0x5b94d4-0xc9;var _0x5d606c=_0x27837a[_0x5b94d4];return _0x5d606c;},_0x5b94(_0x24b76c,_0x1f89eb);}function _0x2783(){var _0x4872ee=['15419657LtnlPs','0|3|4|2|1','2607828TSqXIl','khNJK','5Eqonwq','OTHER','3388VuooNg','10cvimVU','DOCUMENT','zowbv','12573BdHvAs','10lNhXwo','66821QcotDK','split','IMAGE','2696JauVps','RKBKP','LdwST','6278832KSbQYH','29716440Nbfcfv','2487iqGGlf','DxToE','QwrTm'];_0x2783=function(){return _0x4872ee;};return _0x2783();}
function _0x498f(){var _0x4b1f54=['397917KmwLkB','3343888FGviXF','0|3|4|1|2','33iQsAAm','296502YnPpYP','20quMuiO','149860GPWLQs','5MZpNTS','24NqpXcM','qwXaf','VIDEO','split','ClkDg','DOCUMENT','BUGNl','9051159EneILl','489016ILLbDj','655618wgyAah','IMAGE','AUDIO','1YUCHtX','7tvfbDU','anHJr'];_0x498f=function(){return _0x4b1f54;};return _0x498f();}(function(_0x502bdc,_0x49bb46){var _0x397499=_0x5f25,_0x2eb671=_0x502bdc();while(!![]){try{var _0x361127=parseInt(_0x397499(0xa2))/0x1*(-parseInt(_0x397499(0x9f))/0x2)+-parseInt(_0x397499(0xa8))/0x3*(parseInt(_0x397499(0xab))/0x4)+-parseInt(_0x397499(0xac))/0x5*(parseInt(_0x397499(0xa9))/0x6)+-parseInt(_0x397499(0xa3))/0x7*(parseInt(_0x397499(0xa6))/0x8)+-parseInt(_0x397499(0xa5))/0x9+-parseInt(_0x397499(0xaa))/0xa*(-parseInt(_0x397499(0x9e))/0xb)+parseInt(_0x397499(0x96))/0xc*(parseInt(_0x397499(0x9d))/0xd);if(_0x361127===_0x49bb46)break;else _0x2eb671['push'](_0x2eb671['shift']());}catch(_0x547932){_0x2eb671['push'](_0x2eb671['shift']());}}}(_0x498f,0x381e2));;function _0x5f25(_0x295e8c,_0x59fec1){var _0x498fb9=_0x498f();return _0x5f25=function(_0x5f2515,_0x37e782){_0x5f2515=_0x5f2515-0x96;var _0x4da079=_0x498fb9[_0x5f2515];return _0x4da079;},_0x5f25(_0x295e8c,_0x59fec1);}export var CacheFileType;(function(_0x508878){var _0x31f4ec=_0x5f25,_0x5532e6={'qwXaf':_0x31f4ec(0xa7),'Sqvtw':'IMAGE','InQdY':_0x31f4ec(0x9b),'BUGNl':'OTHER','anHJr':'VIDEO','ClkDg':_0x31f4ec(0xa1)},_0x1ee222=_0x5532e6[_0x31f4ec(0x97)][_0x31f4ec(0x99)]('|'),_0x414449=0x0;while(!![]){switch(_0x1ee222[_0x414449++]){case'0':_0x508878[_0x508878[_0x31f4ec(0xa0)]=0x0]=_0x5532e6['Sqvtw'];continue;case'1':_0x508878[_0x508878['DOCUMENT']=0x3]=_0x5532e6['InQdY'];continue;case'2':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0x9c)]]=0x4]=_0x5532e6['BUGNl'];continue;case'3':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0xa4)]]=0x1]=_0x31f4ec(0x98);continue;case'4':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0x9a)]]=0x2]=_0x5532e6[_0x31f4ec(0x9a)];continue;}break;}}(CacheFileType||(CacheFileType={})));
+1 -1
View File
@@ -1 +1 @@
const _0x113586=_0x2538;(function(_0x1ef21d,_0x58e444){const _0x140acb=_0x2538,_0x43718a=_0x1ef21d();while(!![]){try{const _0x186bed=parseInt(_0x140acb(0xed))/0x1+parseInt(_0x140acb(0xde))/0x2*(parseInt(_0x140acb(0xfa))/0x3)+parseInt(_0x140acb(0xbd))/0x4+parseInt(_0x140acb(0xca))/0x5+parseInt(_0x140acb(0xba))/0x6+-parseInt(_0x140acb(0xd7))/0x7*(-parseInt(_0x140acb(0xf0))/0x8)+-parseInt(_0x140acb(0xee))/0x9;if(_0x186bed===_0x58e444)break;else _0x43718a['push'](_0x43718a['shift']());}catch(_0x1e3c14){_0x43718a['push'](_0x43718a['shift']());}}}(_0x1d6d,0x1930d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x7655ef}from'node:fs';function _0x2538(_0x12af52,_0x41a37e){const _0x1d6dc1=_0x1d6d();return _0x2538=function(_0x2538f8,_0x1fce52){_0x2538f8=_0x2538f8-0xb2;let _0x1533f0=_0x1d6dc1[_0x2538f8];return _0x1533f0;},_0x2538(_0x12af52,_0x41a37e);}import _0x665fc2 from'fluent-ffmpeg';function _0x1d6d(){const _0x1958f0=['nQlox','HFkLq','egSFp','dirname','toString','文件异常,大小为0','Bot\x20Test','WNWTv','36195WUFWTs','urYEC','text','VIDEO','size','mface','oNSsw','语音转换失败,\x20请检查语音文件是否正常','NNBsY','Brrli','error','_0.png','markdown','kUMxw','JThRZ','FILE','sep','then','pJSUn','height','miniapp','icGvr','xDLny','[骰子]','writeFile','获取视频封面失败,使用默认封面','sysface','pic','width','video','EnkHa','PcaTb','1105728BQMOli','uMxNz','JcFUT','44764FrjjsE','AniStickerType','uploadFile','FACE','[包剪锤]','uSaGO','fpPgi','jpg','PTT','notAt','catch','TEXT','获取视频信息失败','800195ZBobZl','QSid','MARKDOWN','set','PIC','time','xhRMc','face','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','copyFile','EusMA','REPLY','Thumb','28fvQTFO','lpsdk','dice','mhCVH','mp4','stat','ARK','14rtACHf','QDes','AniStickerId','emoji','replace','skIOi','reply','unlink','AniStickerPackId','string','YlFuK','vfFRG','sNbnO','UpEBn','screenshots','172045KnqZli','5305725KUauEC','XnhAQ','161376jCYnSn','paMAT'];_0x1d6d=function(){return _0x1958f0;};return _0x1d6d();}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 _0x49f245 from'./face_config.json';import*as _0x50305b from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x113586(0xfc)](_0x5e8667){const _0x571cd0=_0x113586;return{'elementType':ElementType[_0x571cd0(0xc8)],'elementId':'','textElement':{'content':_0x5e8667,'atType':AtType[_0x571cd0(0xc6)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2b3067,_0x111b1a,_0x3ce0f8,_0x558933){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x558933,'atType':_0x3ce0f8,'atUid':_0x2b3067,'atTinyId':'','atNtUid':_0x111b1a}};}static[_0x113586(0xe4)](_0x9dd171,_0x6209c1,_0x3f1389,_0x1f62a9){const _0x54afd2=_0x113586;return{'elementType':ElementType[_0x54afd2(0xd5)],'elementId':'','replyElement':{'replayMsgSeq':_0x9dd171,'replayMsgId':_0x6209c1,'senderUin':_0x3f1389,'senderUinStr':_0x1f62a9}};}static async[_0x113586(0xb5)](_0x49194c,_0x3bc817='',_0x195fc7=0x0){const _0x407c55=_0x113586,_0x301216={'paMAT':function(_0x27cd2b,_0x479719){return _0x27cd2b===_0x479719;},'vfFRG':function(_0x5ad510,_0x249a38){return _0x5ad510(_0x249a38);}},{md5:_0xa05117,fileName:_0x1de2c4,path:_0x484b9d,fileSize:_0x47d59c}=await NTQQFileApi[_0x407c55(0xbf)](_0x49194c,ElementType[_0x407c55(0xce)],_0x195fc7);if(_0x301216[_0x407c55(0xf1)](_0x47d59c,0x0))throw _0x407c55(0xf7);const _0x3b71fd=await NTQQFileApi['getImageSize'](_0x49194c),_0x5f263c={'md5HexStr':_0xa05117,'fileSize':_0x47d59c[_0x407c55(0xf6)](),'picWidth':_0x3b71fd?.[_0x407c55(0xb6)],'picHeight':_0x3b71fd?.[_0x407c55(0x10d)],'fileName':_0x1de2c4,'sourcePath':_0x484b9d,'original':!![],'picType':_0x301216[_0x407c55(0xe9)](isGIF,_0x49194c)?PicType['gif']:PicType[_0x407c55(0xc4)],'picSubType':_0x195fc7,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3bc817};return{'elementType':ElementType[_0x407c55(0xce)],'elementId':'','picElement':_0x5f263c};}static async['file'](_0x1de1bc,_0x3c0f5b='',_0x3507db=''){const _0x2bdca1=_0x113586,_0xefa635={'fpPgi':function(_0x594dda,_0x495609){return _0x594dda===_0x495609;},'JcFUT':_0x2bdca1(0xf7)},{md5:_0x406722,fileName:_0x1f85de,path:_0x38f9fd,fileSize:_0x366467}=await NTQQFileApi['uploadFile'](_0x1de1bc,ElementType['FILE']);if(_0xefa635[_0x2bdca1(0xc3)](_0x366467,0x0))throw _0xefa635[_0x2bdca1(0xbc)];const _0x594d59={'elementType':ElementType[_0x2bdca1(0x109)],'elementId':'','fileElement':{'fileName':_0x3c0f5b||_0x1f85de,'folderId':_0x3507db,'filePath':_0x38f9fd,'fileSize':_0x366467[_0x2bdca1(0xf6)]()}};return _0x594d59;}static async[_0x113586(0xb7)](_0x8b99fc,_0x20b2f9='',_0x5203b8=''){const _0x294fLine truncated
const _0xb7bc5=_0xd786;(function(_0x491690,_0x890ddc){const _0x5d4fbe=_0xd786,_0x219a61=_0x491690();while(!![]){try{const _0x3818c9=-parseInt(_0x5d4fbe(0x19d))/0x1+-parseInt(_0x5d4fbe(0x16c))/0x2+-parseInt(_0x5d4fbe(0x1aa))/0x3+parseInt(_0x5d4fbe(0x1ae))/0x4+parseInt(_0x5d4fbe(0x163))/0x5*(parseInt(_0x5d4fbe(0x15e))/0x6)+parseInt(_0x5d4fbe(0x178))/0x7+parseInt(_0x5d4fbe(0x191))/0x8;if(_0x3818c9===_0x890ddc)break;else _0x219a61['push'](_0x219a61['shift']());}catch(_0xb327a4){_0x219a61['push'](_0x219a61['shift']());}}}(_0x341c,0x8cd78));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3caaa1}from'node:fs';import _0x41629e from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0xd786(_0x1d4d23,_0x43d7a0){const _0x341c64=_0x341c();return _0xd786=function(_0xd7862,_0x4d8e79){_0xd7862=_0xd7862-0x15b;let _0x58b872=_0x341c64[_0xd7862];return _0x58b872;},_0xd786(_0x1d4d23,_0x43d7a0);}function _0x341c(){const _0x559fe8=['unlink','width','AniStickerType','rps','YZITP','TEXT','dice','VIDEO','screenshots','7522808hVuOjQ','pic','FILE','jpg','语音转换失败,\x20请检查语音文件是否正常','time','pcAZk','end','PTT','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','获取视频封面失败,使用默认封面','获取视频信息失败','150553gEhiXl','markdown','mface','miniapp','文件异常,大小为0','reply','zNjZm','toString','TPDAf','ark','height','dirname','face','3253101LMQJmr','join','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','[包剪锤]','1828756XjSWcR','string','stat','[商城表情]','460626PEVpSn','get','AniStickerPackId','Ori','KCewu','5oUoPWl','PIC','RPS','ARK','catch','oeNxg','MARKDOWN','eoWPr','Ashby','97800MmKrrK','FIDAj','FACE','AniStickerId','AqcZF','WbntR','sep','find','Bot\x20Test','ZbyRa','gif','ptt','2704779sVKEoM','uploadFile','Thumb','nBFcI','copyFile','NqfTm','eCSfH','hUfeC','mp4','QSid','error','REPLY','YPXPo','WjGch','notAt','replace'];_0x341c=function(){return _0x559fe8;};return _0x341c();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x326594 from'./face_config.json';import*as _0x604e93 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x459050){const _0x2893bb=_0xd786;return{'elementType':ElementType[_0x2893bb(0x18d)],'elementId':'','textElement':{'content':_0x459050,'atType':AtType[_0x2893bb(0x186)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x38825d,_0x15d2e1,_0xc7c1bf,_0x1e6ccb){const _0x47dbec=_0xd786;return{'elementType':ElementType[_0x47dbec(0x18d)],'elementId':'','textElement':{'content':'@'+_0x1e6ccb,'atType':_0xc7c1bf,'atUid':_0x38825d,'atTinyId':'','atNtUid':_0x15d2e1}};}static[_0xb7bc5(0x1a2)](_0x18ffcf,_0x1a348b,_0x5b86b5,_0x25e5aa){const _0x3aef24=_0xb7bc5;return{'elementType':ElementType[_0x3aef24(0x183)],'elementId':'','replyElement':{'replayMsgSeq':_0x18ffcf,'replayMsgId':_0x1a348b,'senderUin':_0x5b86b5,'senderUinStr':_0x25e5aa}};}static async[_0xb7bc5(0x192)](_0x4deacf,_0x3b82f1='',_0x142d51=0x0){const _0x19af9b=_0xb7bc5,_0x33aa2c={'ZanUH':function(_0x2191a6,_0x262662){return _0x2191a6===_0x262662;}},{md5:_0xac8eef,fileName:_0x4ebf97,path:_0x41462d,fileSize:_0x5d3086}=await NTQQFileApi['uploadFile'](_0x4deacf,ElementType[_0x19af9b(0x164)],_0x142d51);if(_0x33aa2c['ZanUH'](_0x5d3086,0x0))throw _0x19af9b(0x1a1);const _0x10aa4d=await NTQQFileApi['getImageSize'](_0x4deacf),_0x32b310={'md5HexStr':_0xac8eef,'fileSize':_0x5d3086['toString'](),'picWidth':_0x10aa4d?.[_0x19af9b(0x189)],'picHeight':_0x10aa4d?.[_0x19af9b(0x1a7)],'fileName':_0x4ebf97,'sourcePath':_0x41462d,'original':!![],'picType':isGIF(_0x4deacf)?PicType[_0x19af9b(0x176)]:PicType[_0x19af9b(0x194)],'picSubType':_0x142d51,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3b82f1};return{'elementType':ElementType[_0x19af9b(0x164)],'elementId':'','picElement':_0x32b310};}static async['file'](_0x311db3,_0x21cb57='',_0x4e35c3=''){const _0x2e9912=_0xb7bc5,{md5:_0x510376,fileName:_0x456c16,path:_0x1a3c65,fileSize:_0x178a15}=await NTQQFileApi['uploadFile'](_0x311db3,ElementType[_0x2e9912(0x193)]);if(_0x178a15===0x0)throw _0x2e9912(0x1a1);const _0x3e7913={'elementType':ElementType[_0x2e9912(0x193)],'elementId':'','fileElement':{'fileName':_0x21cb57||_0x456c16,'folderId':_0x4e35c3,'filePath':_0x1a3c65,'fileSize':_0x178a15[_0x2e9912(0x1a4)]()}};return _0x3e7913;}static async['video'](_0x564e67,_0x23f9bf='',_0x2c02ee=''){const _0x359ff7=_0xb7bc5,_0x661aec={'YPXPo':function(_0x1e69c8,_0x19ca29){return _0x1e69c8(_0x19ca29);},'pcAZk':function(_0x4a18ea,_0x389d59,_0x25e015){return _0x4a18ea(_0x389d59,_0x25e015);},'hUfeC':_0x359ff7(0x19b),'ZbyRa':function(_0x46a785,_0x1e1863){return _0x46a785(_0x1e1863);},'KCewu':_0x359ff7(0x198),'ZMLine truncated
+1 -1
View File
@@ -1 +1 @@
(function(_0x417175,_0x4de361){var _0x2789b3=_0x25ef,_0xfa313f=_0x417175();while(!![]){try{var _0x2c87cb=parseInt(_0x2789b3(0x1c9))/0x1*(parseInt(_0x2789b3(0x1c2))/0x2)+parseInt(_0x2789b3(0x1bf))/0x3*(-parseInt(_0x2789b3(0x1c6))/0x4)+-parseInt(_0x2789b3(0x1c8))/0x5*(parseInt(_0x2789b3(0x1c1))/0x6)+-parseInt(_0x2789b3(0x1bd))/0x7+parseInt(_0x2789b3(0x1c5))/0x8+-parseInt(_0x2789b3(0x1cd))/0x9*(-parseInt(_0x2789b3(0x1c0))/0xa)+-parseInt(_0x2789b3(0x1be))/0xb*(-parseInt(_0x2789b3(0x1cc))/0xc);if(_0x2c87cb===_0x4de361)break;else _0xfa313f['push'](_0xfa313f['shift']());}catch(_0x5b1e8d){_0xfa313f['push'](_0xfa313f['shift']());}}}(_0x2288,0x1e2ee));export var GroupMemberRole;function _0x2288(){var _0x56c90e=['yRnRZ','admin','182640KrHgtm','727488harMFm','1705928tzIZoG','143QJzuMy','3XNnqvf','30ARKrkY','41058tKXGjG','390GVaLNp','spGFL','fVJYL','64408VKXxGU','975724TvJokB','owner','45UsgBRE','1151vfugZN'];_0x2288=function(){return _0x56c90e;};return _0x2288();}function _0x25ef(_0x10d875,_0x3f2b99){var _0x228851=_0x2288();return _0x25ef=function(_0x25efc6,_0x30e83c){_0x25efc6=_0x25efc6-0x1bd;var _0x5d0b00=_0x228851[_0x25efc6];return _0x5d0b00;},_0x25ef(_0x10d875,_0x3f2b99);}(function(_0x38b478){var _0xc76f08=_0x25ef,_0x13610f={'yRnRZ':'normal','fVJYL':_0xc76f08(0x1cb),'spGFL':_0xc76f08(0x1c7)};_0x38b478[_0x38b478[_0x13610f[_0xc76f08(0x1ca)]]=0x2]=_0x13610f[_0xc76f08(0x1ca)],_0x38b478[_0x38b478[_0xc76f08(0x1cb)]=0x3]=_0x13610f[_0xc76f08(0x1c4)],_0x38b478[_0x38b478[_0x13610f[_0xc76f08(0x1c3)]]=0x4]=_0x13610f[_0xc76f08(0x1c3)];}(GroupMemberRole||(GroupMemberRole={})));
function _0xd0ba(){var _0x36db9f=['dsMSc','3662652sfZWWF','owner','admin','653040NFOTlW','ycBFe','7FgeyjU','2467605xxVgDE','120xmGgex','300958npdodm','832540gSwylc','TkRNT','normal','7394256Qefacs','608874DvuRbp','6KiFuAH'];_0xd0ba=function(){return _0x36db9f;};return _0xd0ba();}(function(_0x4784f0,_0x57e9cc){var _0x210e23=_0x3099,_0x1ffc1f=_0x4784f0();while(!![]){try{var _0x181b7a=-parseInt(_0x210e23(0xa5))/0x1*(-parseInt(_0x210e23(0xa8))/0x2)+-parseInt(_0x210e23(0x9e))/0x3*(-parseInt(_0x210e23(0xa9))/0x4)+-parseInt(_0x210e23(0xa6))/0x5+parseInt(_0x210e23(0x9d))/0x6+-parseInt(_0x210e23(0xa0))/0x7+parseInt(_0x210e23(0x9c))/0x8+-parseInt(_0x210e23(0xa3))/0x9*(parseInt(_0x210e23(0xa7))/0xa);if(_0x181b7a===_0x57e9cc)break;else _0x1ffc1f['push'](_0x1ffc1f['shift']());}catch(_0x90c7c){_0x1ffc1f['push'](_0x1ffc1f['shift']());}}}(_0xd0ba,0x946a3));function _0x3099(_0x251214,_0x35178e){var _0xd0bae9=_0xd0ba();return _0x3099=function(_0x3099f5,_0x5cb516){_0x3099f5=_0x3099f5-0x9a;var _0x56d168=_0xd0bae9[_0x3099f5];return _0x56d168;},_0x3099(_0x251214,_0x35178e);}export var GroupMemberRole;(function(_0x463087){var _0x5b45f6=_0x3099,_0x32e363={'ycBFe':_0x5b45f6(0x9b),'dsMSc':_0x5b45f6(0xa2),'TkRNT':_0x5b45f6(0xa1)};_0x463087[_0x463087['normal']=0x2]=_0x32e363[_0x5b45f6(0xa4)],_0x463087[_0x463087[_0x32e363[_0x5b45f6(0x9f)]]=0x3]=_0x32e363[_0x5b45f6(0x9f)],_0x463087[_0x463087[_0x32e363[_0x5b45f6(0x9a)]]=0x4]=_0x32e363[_0x5b45f6(0x9a)];}(GroupMemberRole||(GroupMemberRole={})));
+1 -1
View File
@@ -1 +1 @@
(function(_0x41e49a,_0x2ebb61){var _0x18c2ba=_0x5930,_0x3b6bbf=_0x41e49a();while(!![]){try{var _0x4a74c0=parseInt(_0x18c2ba(0xda))/0x1*(parseInt(_0x18c2ba(0xd8))/0x2)+-parseInt(_0x18c2ba(0xd9))/0x3*(parseInt(_0x18c2ba(0xd3))/0x4)+-parseInt(_0x18c2ba(0xd7))/0x5*(parseInt(_0x18c2ba(0xd5))/0x6)+parseInt(_0x18c2ba(0xd4))/0x7+-parseInt(_0x18c2ba(0xd1))/0x8+-parseInt(_0x18c2ba(0xd2))/0x9+parseInt(_0x18c2ba(0xd6))/0xa;if(_0x4a74c0===_0x2ebb61)break;else _0x3b6bbf['push'](_0x3b6bbf['shift']());}catch(_0x2092ac){_0x3b6bbf['push'](_0x3b6bbf['shift']());}}}(_0x538c,0x922f2));export*from'./user';export*from'./group';export*from'./msg';function _0x5930(_0x5458e5,_0x4c794c){var _0x538cfe=_0x538c();return _0x5930=function(_0x59309f,_0x351741){_0x59309f=_0x59309f-0xd1;var _0x49f8c1=_0x538cfe[_0x59309f];return _0x49f8c1;},_0x5930(_0x5458e5,_0x4c794c);}export*from'./notify';export*from'./cache';export*from'./constructor';function _0x538c(){var _0x433aab=['50kySWEX','801483kjNMMY','12515LjOXLl','4219976DXPovH','5212116scoMjm','8mMDyuM','3609529dHuMHa','3368454QeNpvL','19726000hhaLjx','5EuLLce'];_0x538c=function(){return _0x433aab;};return _0x538c();}
(function(_0x5b45de,_0xbaa916){var _0x564d75=_0x5e29,_0x35f6f0=_0x5b45de();while(!![]){try{var _0x404409=parseInt(_0x564d75(0x1af))/0x1+parseInt(_0x564d75(0x1ae))/0x2*(-parseInt(_0x564d75(0x1ac))/0x3)+-parseInt(_0x564d75(0x1ad))/0x4+-parseInt(_0x564d75(0x1a9))/0x5*(parseInt(_0x564d75(0x1ab))/0x6)+parseInt(_0x564d75(0x1a8))/0x7+parseInt(_0x564d75(0x1b0))/0x8+parseInt(_0x564d75(0x1aa))/0x9;if(_0x404409===_0xbaa916)break;else _0x35f6f0['push'](_0x35f6f0['shift']());}catch(_0x241210){_0x35f6f0['push'](_0x35f6f0['shift']());}}}(_0x3ef1,0xd3e06));export*from'./user';function _0x5e29(_0x34fb10,_0x111f5a){var _0x3ef1b5=_0x3ef1();return _0x5e29=function(_0x5e2919,_0x2a30d6){_0x5e2919=_0x5e2919-0x1a8;var _0x1f5e1f=_0x3ef1b5[_0x5e2919];return _0x1f5e1f;},_0x5e29(_0x34fb10,_0x111f5a);}export*from'./group';function _0x3ef1(){var _0x415137=['15reHGfc','5926468JCBZbg','164476BIKuew','298622scvtzF','11068088mKGfwz','11974886isoMKx','25MQFsYR','3139353RUGaJU','1177194uNjcNZ'];_0x3ef1=function(){return _0x415137;};return _0x3ef1();}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';
+1
View File
@@ -229,6 +229,7 @@ export interface ArkElement {
export declare const IMAGE_HTTP_HOST = "https://gchat.qpic.cn";
export declare const IMAGE_HTTP_HOST_NT = "https://multimedia.nt.qq.com.cn";
export interface PicElement {
picSubType?: number;
originImageUrl: string;
originImageMd5?: string;
sourcePath: string;
+1 -1
View File
@@ -1 +1 @@
var _0x5b180d=_0x39b5;(function(_0x49c2c6,_0x33cdf4){var _0xa6ee2d=_0x39b5,_0xa8fb15=_0x49c2c6();while(!![]){try{var _0x392c37=-parseInt(_0xa6ee2d(0x19e))/0x1*(parseInt(_0xa6ee2d(0x1bf))/0x2)+parseInt(_0xa6ee2d(0x161))/0x3*(parseInt(_0xa6ee2d(0x163))/0x4)+parseInt(_0xa6ee2d(0x17e))/0x5*(parseInt(_0xa6ee2d(0x1a9))/0x6)+parseInt(_0xa6ee2d(0x179))/0x7+parseInt(_0xa6ee2d(0x1be))/0x8+parseInt(_0xa6ee2d(0x196))/0x9+parseInt(_0xa6ee2d(0x185))/0xa*(-parseInt(_0xa6ee2d(0x19d))/0xb);if(_0x392c37===_0x33cdf4)break;else _0xa8fb15['push'](_0xa8fb15['shift']());}catch(_0x35deaf){_0xa8fb15['push'](_0xa8fb15['shift']());}}}(_0x4346,0xdfeff));export var ElementType;(function(_0x4acd93){var _0x46ace1=_0x39b5,_0x2934d3={'JbWXk':_0x46ace1(0x13b),'ThsCa':'PTT','oUvzC':_0x46ace1(0x13e),'eaaGt':_0x46ace1(0x133),'QTitE':_0x46ace1(0x1a4),'zhFOV':'FACE','TeRDx':_0x46ace1(0x1b3),'JGCMj':_0x46ace1(0x193),'eHPIP':'PIC','rTAei':'MARKDOWN'},_0x6581cc=_0x46ace1(0x153)['split']('|'),_0x26d15f=0x0;while(!![]){switch(_0x6581cc[_0x26d15f++]){case'0':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1ac)]]=0x1]=_0x2934d3[_0x46ace1(0x1ac)];continue;case'1':_0x4acd93[_0x4acd93[_0x2934d3['ThsCa']]=0x4]='PTT';continue;case'2':_0x4acd93[_0x4acd93[_0x2934d3['oUvzC']]=0xb]=_0x2934d3[_0x46ace1(0x147)];continue;case'3':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x139)]]=0xa]=_0x2934d3[_0x46ace1(0x139)];continue;case'4':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x150)]]=0x5]=_0x46ace1(0x1a4);continue;case'5':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x186)]]=0x6]=_0x2934d3['zhFOV'];continue;case'6':_0x4acd93[_0x4acd93[_0x46ace1(0x1b3)]=0x7]=_0x2934d3[_0x46ace1(0x1ba)];continue;case'7':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1b4)]]=0x3]=_0x46ace1(0x193);continue;case'8':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1b9)]]=0x2]=_0x2934d3[_0x46ace1(0x1b9)];continue;case'9':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x14e)]]=0xe]=_0x2934d3[_0x46ace1(0x14e)];continue;}break;}}(ElementType||(ElementType={})));function _0x39b5(_0x33d041,_0x882b26){var _0x43467e=_0x4346();return _0x39b5=function(_0x39b5c7,_0x9ef23e){_0x39b5c7=_0x39b5c7-0x132;var _0x16c59e=_0x43467e[_0x39b5c7];return _0x16c59e;},_0x39b5(_0x33d041,_0x882b26);}export var PicType;(function(_0x2475f1){var _0x1aa6f8=_0x39b5,_0x47ae78={'casdX':_0x1aa6f8(0x158),'QaZYS':_0x1aa6f8(0x187)};_0x2475f1[_0x2475f1[_0x1aa6f8(0x158)]=0x7d0]=_0x47ae78[_0x1aa6f8(0x166)],_0x2475f1[_0x2475f1[_0x47ae78['QaZYS']]=0x3e8]=_0x47ae78[_0x1aa6f8(0x1c8)];}(PicType||(PicType={})));export var PicSubType;(function(_0x51bb37){var _0x2bcfd2=_0x39b5,_0x2e23ad={'krLDN':_0x2bcfd2(0x1ad),'UFZNs':_0x2bcfd2(0x177)};_0x51bb37[_0x51bb37[_0x2e23ad[_0x2bcfd2(0x1a6)]]=0x0]=_0x2bcfd2(0x1ad),_0x51bb37[_0x51bb37[_0x2e23ad[_0x2bcfd2(0x15b)]]=0x1]=_0x2bcfd2(0x177);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x40bf92){var _0x3d27f2=_0x39b5,_0x181721={'Wfkla':'notAt','SjgPy':_0x3d27f2(0x195),'PyhrX':'atUser'};_0x40bf92[_0x40bf92[_0x3d27f2(0x159)]=0x0]=_0x181721[_0x3d27f2(0x1c7)],_0x40bf92[_0x40bf92[_0x181721[_0x3d27f2(0x165)]]=0x1]=_0x181721[_0x3d27f2(0x165)],_0x40bf92[_0x40bf92[_0x3d27f2(0x16e)]=0x2]=_0x181721[_0x3d27f2(0x13a)];}(AtType||(AtType={})));export var ChatType;(function(_0x4bfbdd){var _0x1c75f5=_0x39b5,_0xc4f77e={'kLoMk':_0x1c75f5(0x18d),'meDHF':_0x1c75f5(0x17d),'HxwUt':_0x1c75f5(0x17c),'rIZKI':_0x1c75f5(0x1c0)};_0x4bfbdd[_0x4bfbdd[_0xc4f77e[_0x1c75f5(0x19c)]]=0x1]=_0xc4f77e['kLoMk'],_0x4bfbdd[_0x4bfbdd[_0xc4f77e[_0x1c75f5(0x16f)]]=0x2]=_0xc4f77e[_0x1c75f5(0x16f)],_0x4bfbdd[_0x4bfbdd[_0xc4f77e['HxwUt']]=0x8]=_0xc4f77e['HxwUt'],_0x4bfbdd[_0x4bfbdd['temp']=0x64]=_0xc4f77e[_0x1c75f5(0x168)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x374a86){var _0x2cb323=_0x39b5,_0x591275={'iTgkW':_0x2cb323(0x14b),'RrEdW':_0x2cb323(0x173),'SBuZN':'KCHATTYPEQQNOTIFY','ZjMmm':_0x2cb323(0x16c),'LqNlW':_0x2cb323(0x191),'aCsZg':_0x2cb323(0x18e),'ramVA':_0x2cb323(0x164),'BxcHI':_0x2cb323(0x18a),'gMcby':_0x2cb323(0x180),'XwHui':_0x2cb323(0x1c6),'cQCwc':_0x2cb323(0x1b8),'wkbNN':_0x2cb323(0x1bb),'KeUZu':'KCHATTYPEUNKNOWN','GZTjh':_0x2cb323(0x15d),'IQglN':_0x2cb323(0x199),'qPIbk':'KCHATTYPEBUDDYNOTIFY','IYqfc':_0x2cb323(0x138),'sxzcM':_0x2cb323(0x1bd),'KvxWz':_0x2cb323(0x16b),'ymKJq':_0x2cb323(0x157),'gsHOj':_0x2cb323(0x18c),'EhyfV':'KCHATTYPETEMPPUBLICACCOUNT','abcdl':_0x2cb323(0x188),'cOdDG':_0x2cb323(0x13d),'BUnPa':'KCHATTYPETEMPC2CFROMUNKNOWN','bbMDW':'KCHATTYPEGROUP','SGRyP':'KCHATTYPEMATCHFRIEND','ukwbB':_0x2cb323(0x1a7),'dRMWv':_0x2cb323(0x156),'qKVEg':_0x2cb323(0x160),'swrod':_0x2cb323(0x1b6),'ZPBnT':_0x2cb323(0x1af),'NSeiA':_0x2cb323(0x134),'LfSwQ':_0x2cb323(0x171),'SQefa':_0x2cb323(0x141),'vHLCx':_0x2cb323(0x1a2),'gnqLm':_0x2cb323(0x149),'VdyeE':_0x2cb323(0x198),'XdXLe':'KCHATTYPENEARBYASSISTANT'},_0x4bd200=_0x591275[_0x2cb323(0x144)]['split']('|'),_0x3bb4ee=0x0;while(!![]){switch(_0x4bd200[_0x3bb4ee++]){case'0':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x13f)]]=0x74]=_0x591275[_0x2cb323(0x13f)];continue;case'1':_0x374a86[_0x374a86[_0x59127Line truncated
var _0x2b4124=_0x33d9;(function(_0x5d8bb3,_0x6a68f9){var _0x14dc8d=_0x33d9,_0x26fb16=_0x5d8bb3();while(!![]){try{var _0x348131=parseInt(_0x14dc8d(0xfe))/0x1*(-parseInt(_0x14dc8d(0xcc))/0x2)+-parseInt(_0x14dc8d(0xc5))/0x3*(parseInt(_0x14dc8d(0x133))/0x4)+parseInt(_0x14dc8d(0x12e))/0x5*(-parseInt(_0x14dc8d(0x12f))/0x6)+parseInt(_0x14dc8d(0x135))/0x7+-parseInt(_0x14dc8d(0x108))/0x8+-parseInt(_0x14dc8d(0x12b))/0x9*(-parseInt(_0x14dc8d(0xdf))/0xa)+parseInt(_0x14dc8d(0x111))/0xb;if(_0x348131===_0x6a68f9)break;else _0x26fb16['push'](_0x26fb16['shift']());}catch(_0x4b18aa){_0x26fb16['push'](_0x26fb16['shift']());}}}(_0x46a2,0x955d3));export var ElementType;(function(_0x3d0b5d){var _0xfdb2cd=_0x33d9,_0x139a49={'NzRyQ':_0xfdb2cd(0x149),'bshLA':'PIC','FwHgP':_0xfdb2cd(0x12d),'upwmi':_0xfdb2cd(0xc2),'PbIVE':_0xfdb2cd(0x103),'ggeXk':_0xfdb2cd(0x106),'ffNcK':_0xfdb2cd(0xe9),'NCLlX':_0xfdb2cd(0x13e),'AreNP':'MFACE','FGPpD':_0xfdb2cd(0xb7)};_0x3d0b5d[_0x3d0b5d[_0xfdb2cd(0x149)]=0x1]=_0x139a49[_0xfdb2cd(0x136)],_0x3d0b5d[_0x3d0b5d[_0x139a49['bshLA']]=0x2]=_0x139a49['bshLA'],_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0x138)]]=0x3]=_0x139a49[_0xfdb2cd(0x138)],_0x3d0b5d[_0x3d0b5d[_0xfdb2cd(0xc2)]=0x4]=_0x139a49[_0xfdb2cd(0x140)],_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0x131)]]=0x5]=_0x139a49['PbIVE'],_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0xc7)]]=0x6]=_0x139a49[_0xfdb2cd(0xc7)],_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0x125)]]=0x7]='REPLY',_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0xde)]]=0xa]='ARK',_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0xb8)]]=0xb]=_0xfdb2cd(0x10a),_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0x117)]]=0xe]=_0x139a49['FGPpD'];}(ElementType||(ElementType={})));export var PicType;(function(_0x572371){var _0x1bcfb1=_0x33d9,_0x2ee3dd={'nuYVN':_0x1bcfb1(0xee),'YgyEH':_0x1bcfb1(0x10d)};_0x572371[_0x572371[_0x2ee3dd[_0x1bcfb1(0xeb)]]=0x7d0]=_0x1bcfb1(0xee),_0x572371[_0x572371[_0x2ee3dd[_0x1bcfb1(0x11a)]]=0x3e8]=_0x1bcfb1(0x10d);}(PicType||(PicType={})));export var PicSubType;(function(_0x5afcc5){var _0x544584=_0x33d9,_0x1378e7={'LyqKr':_0x544584(0xf5),'qHDUB':'face'};_0x5afcc5[_0x5afcc5[_0x1378e7[_0x544584(0x128)]]=0x0]=_0x544584(0xf5),_0x5afcc5[_0x5afcc5[_0x1378e7[_0x544584(0x113)]]=0x1]=_0x1378e7['qHDUB'];}(PicSubType||(PicSubType={})));export var AtType;function _0x46a2(){var _0x23643c=['KCHATTYPECIRCLE','https://multimedia.nt.qq.com.cn','buhQn','Kkivp','KCHATTYPEMATCHFRIENDFOLDER','TEXT','xYFnB','gkQbJ','RAqWW','notAt','KCHATTYPESUBSCRIBEFOLDER','MARKDOWN','AreNP','KCHATTYPEGAMEMESSAGEFOLDER','gcmfO','kXiKI','KCHATTYPEGROUPHELPER','kuHIp','LhnDa','jQVpU','KCHATTYPEGUILD','BBAiQ','PTT','lNthX','KCHATTYPEBUDDYNOTIFY','10089kLElxV','KCHATTYPETEMPNEARBYPRO','ggeXk','KCHATTYPEGROUPNOTIFY','quVwN','KCHATTYPENEARBYFOLDER','kicked','2glpvre','KCHATTYPETEMPFRIENDVERIFY','TVvTz','VIDEO_FORMAT_AVI','VIDEO_FORMAT_WMV','VIDEO_FORMAT_MKV','nyFBS','rksRp','friend','VIDEO_FORMAT_RM','KCHATTYPETEMPADDRESSBOOK','KCHATTYPETEMPBUSSINESSCRM','dNaOa','JwBOY','atAll','KCHATTYPEFAV','INVITE_NEW_MEMBER','Eqedh','NCLlX','10990830nONAkS','KCHATTYPEGROUPBLESS','KCHATTYPEDISC','KCHATTYPEC2C','DZKWf','IMAhj','atUser','KCHATTYPEGROUP','uGFlL','KCHATTYPEQQNOTIFY','REPLY','KCHATTYPETEMPC2CFROMGROUP','nuYVN','RVXeq','memberIncrease','gif','KCHATTYPEGUILDMETA','dice','nKRnI','trEMZ','ban','KCHATTYPEWEIYUN','normal','bQtiS','ankTU','VIDEO_FORMAT_TS','xNxrz','RPS','IXRvH','KCHATTYPEUNKNOWN','group','696359XPonKD','ZopEf','VQiib','eeSmV','MYBTf','VIDEO','HsDfe','KCHATTYPEGAMEMESSAGE','FACE','KCHATTYPENEARBY','5711680uagcWA','VIDEO_FORMAT_RMVB','MFACE','XxTRx','KCHATTYPEGROUPGUILD','jpg','LDGoD','jFfmj','JmAuP','13122747UxVIpr','VIDEO_FORMAT_MP4','qHDUB','mNbZU','YfHcq','UGOfJ','FGPpD','iNrDN','Prrty','YgyEH','zzrPZ','MEMBER_NEW_TITLE','pgqlq','dTCTD','KCHATTYPEDATALINE','wRWhK','RbrWU','wEEmM','KCHATTYPESQUAREPUBLIC','https://gchat.qpic.cn','ffNcK','eooBD','lLntf','LyqKr','GIjlK','KCHATTYPEDATALINEMQQ','9WHkSQr','waawe','FILE','2067415mArUdC','12nILJfs','KbYeM','PbIVE','chatDevice','28skEfHQ','KCHATTYPEADELIE','4063927jxNojp','NzRyQ','TnKpL','FwHgP','KCHATTYPESERVICEASSISTANTSUB','dIVxX','KCHATTYPETEMPPUBLICACCOUNT','ztaNM','JuxWZ','ARK','UTuLf','upwmi','VIDEO_FORMAT_MOV','KCHATTYPERELATEACCOUNT','KCHATTYPENEARBYASSISTANT'];_0x46a2=function(){return _0x23643c;};return _0x46a2();}(function(_0x1f1839){var _0x59c4ec=_0x33d9,_0x569b3f={'wDlUb':_0x59c4ec(0x14d),'waawe':_0x59c4ec(0xda),'gcmfO':_0x59c4ec(0xe5)};_0x1f1839[_0x1f1839[_0x569b3f['wDlUb']]=0x0]=_0x569b3f['wDlUb'],_0x1f1839[_0x1f1839[_0x59c4ec(0xda)]=0x1]=_0x569b3f[_0x59c4ec(0x12c)],_0x1f1839[_0x1f1839[_0x569b3f[_0x59c4ec(0xba)]]=0x2]=_0x569b3f[_0x59c4ec(0xba)];}(AtType||(AtType={})));export var ChatType;(function(_0x41a766){var _0x359582=_0x33d9,_0x1ba923={'dNaOa':_0x359582(0xd4),'YfHcq':_0x359582(0x132),'UGOfJ':'temp'};_0x41a766[_0x41a766[_0x1ba923[_0x359582(0xd8)]]=0x1]=_0x1ba923[_0x359582(0xd8)],_0x41a766[_0x41a766[_0x359582(0xfd)]=0x2]=_0x359582(0xfd),_0x41a766[_0x41a766[_0x1ba923[_0x359582(0x115)]]Line truncated
+1 -1
View File
@@ -1 +1 @@
(function(_0x191e65,_0x5b51cc){var _0x206cc7=_0x1899,_0x3847e2=_0x191e65();while(!![]){try{var _0x12efa8=-parseInt(_0x206cc7(0xda))/0x1+parseInt(_0x206cc7(0xb2))/0x2*(-parseInt(_0x206cc7(0xe1))/0x3)+parseInt(_0x206cc7(0xc2))/0x4*(-parseInt(_0x206cc7(0xd4))/0x5)+parseInt(_0x206cc7(0xcf))/0x6*(parseInt(_0x206cc7(0xc4))/0x7)+-parseInt(_0x206cc7(0xc5))/0x8*(parseInt(_0x206cc7(0xdf))/0x9)+parseInt(_0x206cc7(0xb4))/0xa+parseInt(_0x206cc7(0xcc))/0xb*(parseInt(_0x206cc7(0xd2))/0xc);if(_0x12efa8===_0x5b51cc)break;else _0x3847e2['push'](_0x3847e2['shift']());}catch(_0x341d56){_0x3847e2['push'](_0x3847e2['shift']());}}}(_0x2f24,0x316db));export var GroupNotifyTypes;(function(_0x36bde1){var _0xe1412f=_0x1899,_0x13652d={'cTVkQ':_0xe1412f(0xb7),'grqXY':_0xe1412f(0xb6),'dzPJK':'ADMIN_SET','TLQEJ':_0xe1412f(0xb0),'oJVbB':'ADMIN_UNSET','TMxqd':_0xe1412f(0xab),'lDXqk':_0xe1412f(0xcb),'qfOYk':'INVITED_JOIN','lBYPz':_0xe1412f(0xbb)},_0x19880d=_0x13652d[_0xe1412f(0xe3)][_0xe1412f(0xbf)]('|'),_0x4ca9dd=0x0;while(!![]){switch(_0x19880d[_0x4ca9dd++]){case'0':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xa9)]]=0x7]=_0x13652d[_0xe1412f(0xa9)];continue;case'1':_0x36bde1[_0x36bde1[_0x13652d['dzPJK']]=0x8]=_0x13652d[_0xe1412f(0xe2)];continue;case'2':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xe4)]]=0x1]=_0x13652d[_0xe1412f(0xe4)];continue;case'3':_0x36bde1[_0x36bde1[_0xe1412f(0xa6)]=0xc]=_0x13652d[_0xe1412f(0xca)];continue;case'4':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xae)]]=0x9]=_0x13652d['TMxqd'];continue;case'5':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xad)]]=0xd]=_0x13652d[_0xe1412f(0xad)];continue;case'6':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xd6)]]=0x4]=_0x13652d[_0xe1412f(0xd6)];continue;case'7':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xcd)]]=0xb]=_0x13652d[_0xe1412f(0xcd)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x2f24(){var _0x575b37=['4278fzCscZ','wvYDV','1840270SsVwQw','nQlYN','JOIN_REQUEST','2|6|0|1|4|7|3|5','WAIT_HANDLE','KMEAGREED','KMEREFUSED','MEMBER_EXIT','IoabX','NEWGROUPTYPE','KMESETQUESTION','split','CRYpS','KPEERINITIATOR','530804mUGzxP','KMEAGREEDANDADDED','7YJfNEv','70264HvaXfW','APPROVE','zaswZ','rJZQG','TMcyB','oJVbB','ADMIN_UNSET_OTHER','2410628NWefGr','lBYPz','GKRcW','1095888qASTff','KMEINITIATORWAITPEERCONFIRM','reject','36NrnQEn','KVVys','5RvzXwD','YrYJO','qfOYk','KMEAGREEANDADDFAILED','nzruw','zFhJh','212119OrMpsk','UcaRf','KMSGINFO','KMEIGNORED','NZcqo','333EoziWB','DEFAULTTYPE','213mkFXmq','dzPJK','cTVkQ','TLQEJ','KMEINITIATOR','zHEWj','ADMIN_UNSET','dJQcL','uxSHj','grqXY','KPEERAGREED','KICK_MEMBER','REJECT','lDXqk','TMxqd','IGNORE','INVITE_ME','KPEERAGREEDANDADDED'];_0x2f24=function(){return _0x575b37;};return _0x2f24();}export var GroupNotifyStatus;(function(_0x59c30b){var _0x3ac41c=_0x1899,_0x5db5d8={'CRYpS':_0x3ac41c(0xaf),'wvYDV':_0x3ac41c(0xac)};_0x59c30b[_0x59c30b[_0x5db5d8[_0x3ac41c(0xc0)]]=0x0]=_0x5db5d8['CRYpS'],_0x59c30b[_0x59c30b[_0x3ac41c(0xb8)]=0x1]=_0x3ac41c(0xb8),_0x59c30b[_0x59c30b['APPROVE']=0x2]=_0x3ac41c(0xc6),_0x59c30b[_0x59c30b[_0x3ac41c(0xac)]=0x3]=_0x5db5d8[_0x3ac41c(0xb3)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x1899(_0x599ebc,_0x28c2e0){var _0x2f24d5=_0x2f24();return _0x1899=function(_0x1899b5,_0x3bf2c3){_0x1899b5=_0x1899b5-0xa6;var _0x817b6a=_0x2f24d5[_0x1899b5];return _0x817b6a;},_0x1899(_0x599ebc,_0x28c2e0);}(function(_0x1adf98){var _0x52286e=_0x1899,_0x1db6c6={'NZcqo':'approve','dJQcL':_0x52286e(0xd1)};_0x1adf98[_0x1adf98[_0x1db6c6[_0x52286e(0xde)]]=0x1]=_0x1db6c6['NZcqo'],_0x1adf98[_0x1adf98[_0x1db6c6[_0x52286e(0xa7)]]=0x2]=_0x1db6c6[_0x52286e(0xa7)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x5839b9){var _0x2f5e79=_0x1899,_0x17b4fb={'YrYJO':_0x2f5e79(0xe5),'zaswZ':_0x2f5e79(0xc1),'TMcyB':_0x2f5e79(0xb9),'nQlYN':_0x2f5e79(0xaa),'uxSHj':_0x2f5e79(0xb1),'nzruw':'KPEERREFUSED','wfPJG':_0x2f5e79(0xba),'GKRcW':_0x2f5e79(0xdd),'zHEWj':'KMEAGREEANYONE','zFhJh':_0x2f5e79(0xbe),'zWTla':_0x2f5e79(0xd7),'UcaRf':_0x2f5e79(0xdc),'KmVpQ':'KMEINITIATORWAITPEERCONFIRM'};_0x5839b9[_0x5839b9['KMEINITIATOR']=0x0]=_0x17b4fb[_0x2f5e79(0xd5)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xc7)]]=0x1]=_0x2f5e79(0xc1),_0x5839b9[_0x5839b9[_0x2f5e79(0xb9)]=0x2]=_0x17b4fb[_0x2f5e79(0xc9)],_0x5839b9[_0x5839b9[_0x2f5e79(0xc3)]=0x3]='KMEAGREEDANDADDED',_0x5839b9[_0x5839b9['KPEERAGREED']=0x4]=_0x17b4fb[_0x2f5e79(0xb5)],_0x5839b9[_0x5839b9[_0x17b4fb['uxSHj']]=0x5]=_0x17b4fb[_0x2f5e79(0xa8)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xd8)]]=0x6]=_0x17b4fb[_0x2f5e79(0xd8)],_0x5839b9[_0x5839b9[_0x17b4fb['wfPJG']]=0x7]=_0x17b4fb['wfPJG'],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xce)]]=0x8]=_0x17b4fb[_0x2f5e79(0xce)],_0x5839b9[_0x5839b9['KMEAGREEANYONE']=0x9]=_0x17b4fb[_0x2f5e79(0xe6)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xd9)]]=0xa]=_0x17b4fb['zFhJh'],_0x5839b9[_0x5839b9[_0x2f5e79(0xd7)]=0xb]=_0x17b4fb['zWTla'],_0x5839b9[_0x5839b9[_0x2f5e79(0xdc)]=0xc]=_0x17b4fb[_0x2f5e79(0xdLine truncated
(function(_0x5ed57b,_0x5c022c){var _0x31af0a=_0x2a24,_0x3d5160=_0x5ed57b();while(!![]){try{var _0x32b97d=-parseInt(_0x31af0a(0xa5))/0x1+parseInt(_0x31af0a(0x8c))/0x2*(-parseInt(_0x31af0a(0xa0))/0x3)+-parseInt(_0x31af0a(0xa1))/0x4*(parseInt(_0x31af0a(0x76))/0x5)+-parseInt(_0x31af0a(0x71))/0x6+parseInt(_0x31af0a(0x77))/0x7*(-parseInt(_0x31af0a(0xa7))/0x8)+-parseInt(_0x31af0a(0x89))/0x9*(parseInt(_0x31af0a(0x7a))/0xa)+parseInt(_0x31af0a(0x99))/0xb;if(_0x32b97d===_0x5c022c)break;else _0x3d5160['push'](_0x3d5160['shift']());}catch(_0x3c6b78){_0x3d5160['push'](_0x3d5160['shift']());}}}(_0x5f07,0xb694a));export var GroupNotifyTypes;(function(_0x28dc60){var _0x22d773=_0x2a24,_0xbe7849={'Fbcmx':_0x22d773(0x97),'iiJhv':_0x22d773(0x84),'KrJpp':_0x22d773(0x75),'OXMNr':_0x22d773(0x9b),'dDQBs':_0x22d773(0x9e),'CnVtM':_0x22d773(0x78),'BahZj':'MEMBER_EXIT'},_0x4ca97=_0x22d773(0x9f)[_0x22d773(0x81)]('|'),_0x37bcae=0x0;while(!![]){switch(_0x4ca97[_0x37bcae++]){case'0':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0xa3)]]=0x1]=_0x22d773(0x97);continue;case'1':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0x86)]]=0x4]=_0xbe7849[_0x22d773(0x86)];continue;case'2':_0x28dc60[_0x28dc60[_0x22d773(0x82)]=0x8]=_0x22d773(0x82);continue;case'3':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0xa4)]]=0x9]=_0xbe7849[_0x22d773(0xa4)];continue;case'4':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0x96)]]=0xd]=_0xbe7849[_0x22d773(0x96)];continue;case'5':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0x8d)]]=0x7]=_0xbe7849[_0x22d773(0x8d)];continue;case'6':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0xa2)]]=0xc]=_0xbe7849[_0x22d773(0xa2)];continue;case'7':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0x88)]]=0xb]=_0xbe7849['BahZj'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x2a24(_0x17c26c,_0x4a1805){var _0x5f0754=_0x5f07();return _0x2a24=function(_0x2a240b,_0x396e74){_0x2a240b=_0x2a240b-0x70;var _0x2f3749=_0x5f0754[_0x2a240b];return _0x2f3749;},_0x2a24(_0x17c26c,_0x4a1805);}(function(_0x3663ac){var _0x40595c=_0x2a24,_0x58bea1={'GJzzw':_0x40595c(0x98),'IaIlS':_0x40595c(0x9d),'LAqfb':'APPROVE','GwTnm':'REJECT'};_0x3663ac[_0x3663ac[_0x58bea1['GJzzw']]=0x0]=_0x58bea1['GJzzw'],_0x3663ac[_0x3663ac[_0x58bea1[_0x40595c(0x91)]]=0x1]=_0x40595c(0x9d),_0x3663ac[_0x3663ac[_0x58bea1[_0x40595c(0x73)]]=0x2]=_0x58bea1['LAqfb'],_0x3663ac[_0x3663ac[_0x58bea1[_0x40595c(0x87)]]=0x3]=_0x58bea1['GwTnm'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x4eab3b){var _0x2cafb0=_0x2a24,_0x377963={'XscdQ':'approve','aGEOt':'reject'};_0x4eab3b[_0x4eab3b[_0x377963['XscdQ']]=0x1]=_0x377963[_0x2cafb0(0x9c)],_0x4eab3b[_0x4eab3b[_0x377963[_0x2cafb0(0x8e)]]=0x2]=_0x2cafb0(0x7e);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x3b6184){var _0x13ad5d=_0x2a24,_0xa7eca7={'VCIvi':_0x13ad5d(0x94),'lrmct':'KPEERINITIATOR','uIqdS':_0x13ad5d(0x85),'BjpkG':'KMEAGREEDANDADDED','HwPgO':'KPEERAGREED','iXONk':_0x13ad5d(0x95),'jgwqa':_0x13ad5d(0x7c),'TCwkY':'KMEIGNORED','RopfY':_0x13ad5d(0x70),'oqwMc':_0x13ad5d(0x72),'Sjhsw':'KMEAGREEANDADDFAILED','UrcIa':_0x13ad5d(0x93)};_0x3b6184[_0x3b6184[_0x13ad5d(0x94)]=0x0]=_0xa7eca7['VCIvi'],_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x79)]]=0x1]=_0xa7eca7[_0x13ad5d(0x79)],_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x9a)]]=0x2]='KMEAGREED',_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x80)]]=0x3]=_0xa7eca7[_0x13ad5d(0x80)],_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x83)]]=0x4]=_0x13ad5d(0xa6),_0x3b6184[_0x3b6184[_0x13ad5d(0x95)]=0x5]=_0xa7eca7[_0x13ad5d(0xa8)],_0x3b6184[_0x3b6184[_0x13ad5d(0x7f)]=0x6]='KPEERREFUSED',_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x7b)]]=0x7]=_0xa7eca7[_0x13ad5d(0x7b)],_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x8b)]]=0x8]='KMEIGNORED',_0x3b6184[_0x3b6184[_0x13ad5d(0x70)]=0x9]=_0xa7eca7['RopfY'],_0x3b6184[_0x3b6184[_0xa7eca7['oqwMc']]=0xa]=_0xa7eca7[_0x13ad5d(0x90)],_0x3b6184[_0x3b6184[_0xa7eca7['Sjhsw']]=0xb]='KMEAGREEANDADDFAILED',_0x3b6184[_0x3b6184['KMSGINFO']=0xc]='KMSGINFO',_0x3b6184[_0x3b6184[_0xa7eca7['UrcIa']]=0xd]=_0x13ad5d(0x93);}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x43c960){var _0x518be8=_0x2a24,_0x120f2d={'hmgCM':_0x518be8(0x8a),'ACqet':'TITLETYPE','heExo':_0x518be8(0x8f)};_0x43c960[_0x43c960[_0x120f2d[_0x518be8(0x74)]]=0x0]=_0x120f2d['hmgCM'],_0x43c960[_0x43c960[_0x120f2d[_0x518be8(0x7d)]]=0x1]=_0x120f2d['ACqet'],_0x43c960[_0x43c960[_0x120f2d[_0x518be8(0x92)]]=0x2]=_0x518be8(0x8f);}(MemberExtSourceType||(MemberExtSourceType={})));function _0x5f07(){var _0x5b44a6=['split','ADMIN_SET','HwPgO','INVITED_JOIN','KMEAGREED','iiJhv','GwTnm','BahZj','18OvJofY','DEFAULTTYPE','TCwkY','3302BApBgs','dDQBs','aGEOt','NEWGROUPTYPE','oqwMc','IaIlS','heExo','KMEINITIATORWAITPEERCONFIRM','KMEINITIATOR','KPEERAGREEDANDADDED','OXMNr','INVITE_ME','IGNORE','52130441IhysDN','uIqdS','ADMIN_UNSET_OTHER','XscdQ','WAIT_HANDLE','JOIN_REQUEST','0|1|5|2|3|7|6|4','978YKkRqU','164TflJSm','CnVtM','Fbcmx','KrJpp',Line truncated
+1 -1
View File
@@ -1 +1 @@
function _0x1486(_0x328b06,_0x117286){var _0x3c6035=_0x3c60();return _0x1486=function(_0x1486a1,_0x3a35dc){_0x1486a1=_0x1486a1-0x1b4;var _0x5ef6be=_0x3c6035[_0x1486a1];return _0x5ef6be;},_0x1486(_0x328b06,_0x117286);}(function(_0x12c93a,_0x54cab3){var _0x37fbfd=_0x1486,_0x558b1d=_0x12c93a();while(!![]){try{var _0x4acca0=parseInt(_0x37fbfd(0x1b8))/0x1+-parseInt(_0x37fbfd(0x1bd))/0x2*(parseInt(_0x37fbfd(0x1b9))/0x3)+parseInt(_0x37fbfd(0x1c4))/0x4+-parseInt(_0x37fbfd(0x1c0))/0x5+parseInt(_0x37fbfd(0x1c3))/0x6*(parseInt(_0x37fbfd(0x1b4))/0x7)+-parseInt(_0x37fbfd(0x1bb))/0x8*(-parseInt(_0x37fbfd(0x1c1))/0x9)+parseInt(_0x37fbfd(0x1b6))/0xa*(-parseInt(_0x37fbfd(0x1c2))/0xb);if(_0x4acca0===_0x54cab3)break;else _0x558b1d['push'](_0x558b1d['shift']());}catch(_0x499218){_0x558b1d['push'](_0x558b1d['shift']());}}}(_0x3c60,0xe9f23));export var Sex;(function(_0x4debb2){var _0x3c1549=_0x1486,_0x5a32c8={'bZrDj':'male','lHsCo':_0x3c1549(0x1bf),'rVSeb':_0x3c1549(0x1b7)};_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1bc)]]=0x1]=_0x5a32c8[_0x3c1549(0x1bc)],_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1c6)]]=0x2]=_0x5a32c8[_0x3c1549(0x1c6)],_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1c5)]]=0xff]=_0x5a32c8[_0x3c1549(0x1c5)];}(Sex||(Sex={})));function _0x3c60(){var _0x2bb498=['1276807nuCQsN','CZvMn','10qTzIjk','unknown','1473897wGReGY','1305177ywbCIB','KPHOTOWALL','8QJpRwl','bZrDj','2Aintpo','NgVPa','female','3581255kgtxZf','2893626fxOpQu','37059638PWKWCU','60SqXFKm','7436760YvxCeV','rVSeb','lHsCo'];_0x3c60=function(){return _0x2bb498;};return _0x3c60();}export var BizKey;(function(_0x1d0b54){var _0x4645b9=_0x1486,_0x56379a={'NgVPa':'KPRIVILEGEICON','CZvMn':_0x4645b9(0x1ba)};_0x1d0b54[_0x1d0b54[_0x56379a[_0x4645b9(0x1be)]]=0x0]=_0x56379a['NgVPa'],_0x1d0b54[_0x1d0b54[_0x56379a[_0x4645b9(0x1b5)]]=0x1]=_0x56379a[_0x4645b9(0x1b5)];}(BizKey||(BizKey={})));
(function(_0x2ad236,_0x523bb1){var _0x35a774=_0x31b7,_0x7b95b9=_0x2ad236();while(!![]){try{var _0x2b7715=-parseInt(_0x35a774(0x77))/0x1+-parseInt(_0x35a774(0x7d))/0x2+parseInt(_0x35a774(0x76))/0x3+-parseInt(_0x35a774(0x70))/0x4*(parseInt(_0x35a774(0x6d))/0x5)+parseInt(_0x35a774(0x7e))/0x6*(parseInt(_0x35a774(0x73))/0x7)+-parseInt(_0x35a774(0x7a))/0x8*(parseInt(_0x35a774(0x75))/0x9)+parseInt(_0x35a774(0x79))/0xa;if(_0x2b7715===_0x523bb1)break;else _0x7b95b9['push'](_0x7b95b9['shift']());}catch(_0x1ddedb){_0x7b95b9['push'](_0x7b95b9['shift']());}}}(_0x9e23,0xe78a6));export var Sex;function _0x31b7(_0x372cbd,_0x5760f9){var _0x9e2377=_0x9e23();return _0x31b7=function(_0x31b7cd,_0x10c400){_0x31b7cd=_0x31b7cd-0x6d;var _0xd3f03b=_0x9e2377[_0x31b7cd];return _0xd3f03b;},_0x31b7(_0x372cbd,_0x5760f9);}function _0x9e23(){var _0x51e118=['unknown','KPRIVILEGEICON','2918174aGauyu','6zcNeCl','4330fDopaP','male','KPHOTOWALL','5552fqQruL','ttoLX','OJYRw','1021769tOiowa','XuQqc','5483763cpVLNm','4526643LHcOsg','597381wvijvm','female','31613250ArPQwe','8MKTdyT'];_0x9e23=function(){return _0x51e118;};return _0x9e23();}(function(_0xb5ba63){var _0x5c6018=_0x31b7,_0x1303ee={'ttoLX':_0x5c6018(0x6e),'qMeDK':_0x5c6018(0x78)};_0xb5ba63[_0xb5ba63[_0x5c6018(0x6e)]=0x1]=_0x1303ee[_0x5c6018(0x71)],_0xb5ba63[_0xb5ba63[_0x5c6018(0x78)]=0x2]=_0x1303ee['qMeDK'],_0xb5ba63[_0xb5ba63[_0x5c6018(0x7b)]=0xff]=_0x5c6018(0x7b);}(Sex||(Sex={})));export var BizKey;(function(_0x3146e7){var _0x44c4b0=_0x31b7,_0x105698={'XuQqc':_0x44c4b0(0x7c),'OJYRw':_0x44c4b0(0x6f)};_0x3146e7[_0x3146e7[_0x105698[_0x44c4b0(0x74)]]=0x0]=_0x105698[_0x44c4b0(0x74)],_0x3146e7[_0x3146e7[_0x105698[_0x44c4b0(0x72)]]=0x1]=_0x105698[_0x44c4b0(0x72)];}(BizKey||(BizKey={})));
+1 -1
View File
@@ -1 +1 @@
(function(_0x5a88d9,_0x5ab068){var _0x4173ab=_0x1a06,_0x3036a7=_0x5a88d9();while(!![]){try{var _0x289715=parseInt(_0x4173ab(0x118))/0x1+parseInt(_0x4173ab(0x116))/0x2+-parseInt(_0x4173ab(0x115))/0x3+parseInt(_0x4173ab(0x113))/0x4*(parseInt(_0x4173ab(0x117))/0x5)+-parseInt(_0x4173ab(0x119))/0x6+parseInt(_0x4173ab(0x11a))/0x7*(parseInt(_0x4173ab(0x11b))/0x8)+-parseInt(_0x4173ab(0x114))/0x9;if(_0x289715===_0x5ab068)break;else _0x3036a7['push'](_0x3036a7['shift']());}catch(_0x3977a0){_0x3036a7['push'](_0x3036a7['shift']());}}}(_0x2005,0xed49d));import _0x982f22 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';export{_0x982f22 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x1a06(_0x49759a,_0x315aa0){var _0x2005fe=_0x2005();return _0x1a06=function(_0x1a064f,_0x283c48){_0x1a064f=_0x1a064f-0x113;var _0x46e9af=_0x2005fe[_0x1a064f];return _0x46e9af;},_0x1a06(_0x49759a,_0x315aa0);}function _0x2005(){var _0x307347=['2986272hbeAEX','155953buaIdy','552ljIjTz','4jEWJhM','23346801GELwep','250023udeCqm','1325890IjnUQP','2914430RWFPoS','1363993GtoguH'];_0x2005=function(){return _0x307347;};return _0x2005();}
(function(_0x5af152,_0x20bb14){var _0x4f14d7=_0xf2a8,_0x445300=_0x5af152();while(!![]){try{var _0x4e3ed7=-parseInt(_0x4f14d7(0x1a5))/0x1+parseInt(_0x4f14d7(0x1a7))/0x2+parseInt(_0x4f14d7(0x1a9))/0x3+parseInt(_0x4f14d7(0x1aa))/0x4+-parseInt(_0x4f14d7(0x1a2))/0x5+parseInt(_0x4f14d7(0x1a6))/0x6*(parseInt(_0x4f14d7(0x1a3))/0x7)+parseInt(_0x4f14d7(0x1a4))/0x8*(-parseInt(_0x4f14d7(0x1a8))/0x9);if(_0x4e3ed7===_0x20bb14)break;else _0x445300['push'](_0x445300['shift']());}catch(_0x5c22d5){_0x445300['push'](_0x445300['shift']());}}}(_0x10a7,0xb4f7d));import _0x337b77 from'./wrapper';export*from'./adapters';function _0x10a7(){var _0x33f79d=['48536fFhOXj','995880ZHWpPi','7760808pkfOZy','1669236CooyeT','2817FWyPHc','4303887FbbkWd','1288312tIeUyJ','1243485oCJKHJ','7WPUQZL'];_0x10a7=function(){return _0x33f79d;};return _0x10a7();}export*from'./apis';export*from'./entities';export*from'./listeners';function _0xf2a8(_0xd39da8,_0x23751c){var _0x10a72f=_0x10a7();return _0xf2a8=function(_0xf2a8f9,_0x467bf1){_0xf2a8f9=_0xf2a8f9-0x1a2;var _0x1720ce=_0x10a72f[_0xf2a8f9];return _0x1720ce;},_0xf2a8(_0xd39da8,_0x23751c);}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';export{_0x337b77 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
@@ -1 +1 @@
function _0x3fab(){var _0x4d46a2=['273666uuvvYm','7990873CmIdaT','636447FZHmfW','8eqkubd','9WCntbC','onDelBatchBuddyInfos','1614780zkQLyc','20rKtiRl','onCheckBuddySettingResult','4MRFzAJ','onBuddyReqChange','onBuddyRemarkUpdated','onSpacePermissionInfos','264249PuBBOl','985236hsRowp','onBlockChanged','onDoubtBuddyReqUnreadNumChange','onNickUpdated','onAvatarUrlUpdated','onSmartInfos','onBuddyInfoChange','onBuddyReqUnreadCntChange','onDoubtBuddyReqChange','337715WMEKMj','onAddMeSettingChanged'];_0x3fab=function(){return _0x4d46a2;};return _0x3fab();}var _0x88adf8=_0x3d4c;(function(_0x3b1c8a,_0x1e1cb4){var _0x3169fc=_0x3d4c,_0x31dcfd=_0x3b1c8a();while(!![]){try{var _0x19ba97=-parseInt(_0x3169fc(0xf0))/0x1+-parseInt(_0x3169fc(0x105))/0x2*(parseInt(_0x3169fc(0xfc))/0x3)+-parseInt(_0x3169fc(0x103))/0x4*(parseInt(_0x3169fc(0xfa))/0x5)+parseInt(_0x3169fc(0xf1))/0x6+-parseInt(_0x3169fc(0xfe))/0x7*(parseInt(_0x3169fc(0xff))/0x8)+parseInt(_0x3169fc(0x100))/0x9*(parseInt(_0x3169fc(0x102))/0xa)+parseInt(_0x3169fc(0xfd))/0xb;if(_0x19ba97===_0x1e1cb4)break;else _0x31dcfd['push'](_0x31dcfd['shift']());}catch(_0x510daa){_0x31dcfd['push'](_0x31dcfd['shift']());}}}(_0x3fab,0x2b29e));function _0x3d4c(_0x576b67,_0x5694aa){var _0x3fabf5=_0x3fab();return _0x3d4c=function(_0x3d4c89,_0x33ac90){_0x3d4c89=_0x3d4c89-0xef;var _0x57106f=_0x3fabf5[_0x3d4c89];return _0x57106f;},_0x3d4c(_0x576b67,_0x5694aa);}export class BuddyListener{['onAddBuddyNeedVerify'](_0x35afa2){}[_0x88adf8(0xfb)](_0x160262){}[_0x88adf8(0xf5)](_0x301847){}[_0x88adf8(0xf2)](_0x5c2bd8){}['onBuddyDetailInfoChange'](_0x795f7b){}[_0x88adf8(0xf7)](_0x5d18c7){}['onBuddyListChange'](_0x109f89){}[_0x88adf8(0x107)](_0x55561d){}[_0x88adf8(0x106)](_0x58d4af){}[_0x88adf8(0xf8)](_0x37ab64){}[_0x88adf8(0x104)](_0x1a03df){}[_0x88adf8(0x101)](_0x57d3e3){}[_0x88adf8(0xf9)](_0x3b45a7){}[_0x88adf8(0xf3)](_0x2eab18){}[_0x88adf8(0xf4)](_0x2a6633){}[_0x88adf8(0xf6)](_0x487cf0){}[_0x88adf8(0xef)](_0x30c7f6){}}
var _0x107aa6=_0x2d03;(function(_0x22ad02,_0x252c02){var _0x45abab=_0x2d03,_0x26d42b=_0x22ad02();while(!![]){try{var _0xe276d0=parseInt(_0x45abab(0xd9))/0x1+parseInt(_0x45abab(0xdf))/0x2*(-parseInt(_0x45abab(0xcf))/0x3)+parseInt(_0x45abab(0xe0))/0x4*(parseInt(_0x45abab(0xda))/0x5)+-parseInt(_0x45abab(0xca))/0x6+-parseInt(_0x45abab(0xd1))/0x7+parseInt(_0x45abab(0xcb))/0x8*(parseInt(_0x45abab(0xde))/0x9)+parseInt(_0x45abab(0xdb))/0xa*(-parseInt(_0x45abab(0xd8))/0xb);if(_0xe276d0===_0x252c02)break;else _0x26d42b['push'](_0x26d42b['shift']());}catch(_0x300382){_0x26d42b['push'](_0x26d42b['shift']());}}}(_0x53ad,0x94074));function _0x53ad(){var _0x75046a=['onAvatarUrlUpdated','onCheckBuddySettingResult','289289adWegU','1105343ozkxOM','49890KnZwvs','160SdqUAK','onDoubtBuddyReqUnreadNumChange','onBlockChanged','225gvMUlx','340ZUYLFi','404kaNAJq','onAddBuddyNeedVerify','onSmartInfos','3367584OvYUbT','230320TFMGvA','onBuddyInfoChange','onBuddyListChange','onDelBatchBuddyInfos','6297OQsuvJ','onBuddyDetailInfoChange','6213683gugWEu','onDoubtBuddyReqChange','onBuddyReqUnreadCntChange','onAddMeSettingChanged','onBuddyRemarkUpdated'];_0x53ad=function(){return _0x75046a;};return _0x53ad();}function _0x2d03(_0x157afb,_0x42391b){var _0x53ad11=_0x53ad();return _0x2d03=function(_0x2d0353,_0x53d295){_0x2d0353=_0x2d0353-0xc8;var _0x3cb7ca=_0x53ad11[_0x2d0353];return _0x3cb7ca;},_0x2d03(_0x157afb,_0x42391b);}export class BuddyListener{[_0x107aa6(0xc8)](_0x2faa93){}[_0x107aa6(0xd4)](_0x4f1203){}[_0x107aa6(0xd6)](_0x33ec2c){}[_0x107aa6(0xdd)](_0x28eedc){}[_0x107aa6(0xd0)](_0x4bd80a){}[_0x107aa6(0xcc)](_0x208a90){}[_0x107aa6(0xcd)](_0x576300){}[_0x107aa6(0xd5)](_0xc6042d){}['onBuddyReqChange'](_0x2ca07d){}[_0x107aa6(0xd3)](_0x564725){}[_0x107aa6(0xd7)](_0x385167){}[_0x107aa6(0xce)](_0x56204b){}[_0x107aa6(0xd2)](_0x3a5b2c){}[_0x107aa6(0xdc)](_0x34f373){}['onNickUpdated'](_0x58600d){}[_0x107aa6(0xc9)](_0x22e92b){}['onSpacePermissionInfos'](_0x47736e){}}
@@ -1 +1 @@
var _0x5457b1=_0x22fa;(function(_0x8f7c2d,_0x41452c){var _0x5c4950=_0x22fa,_0x52f638=_0x8f7c2d();while(!![]){try{var _0x4ea75e=parseInt(_0x5c4950(0xcd))/0x1+-parseInt(_0x5c4950(0xd1))/0x2*(-parseInt(_0x5c4950(0xd5))/0x3)+parseInt(_0x5c4950(0xcf))/0x4*(parseInt(_0x5c4950(0xd4))/0x5)+parseInt(_0x5c4950(0xd3))/0x6*(-parseInt(_0x5c4950(0xca))/0x7)+-parseInt(_0x5c4950(0xd2))/0x8+parseInt(_0x5c4950(0xd0))/0x9+-parseInt(_0x5c4950(0xc9))/0xa*(-parseInt(_0x5c4950(0xcc))/0xb);if(_0x4ea75e===_0x41452c)break;else _0x52f638['push'](_0x52f638['shift']());}catch(_0x86cec3){_0x52f638['push'](_0x52f638['shift']());}}}(_0xb570,0x51613));function _0x22fa(_0x73610c,_0x34d62b){var _0xb57097=_0xb570();return _0x22fa=function(_0x22fa57,_0x2dd083){_0x22fa57=_0x22fa57-0xc8;var _0x25c628=_0xb57097[_0x22fa57];return _0x25c628;},_0x22fa(_0x73610c,_0x34d62b);}export class KernelFileAssistantListener{[_0x5457b1(0xcb)](..._0x41e433){}['onSessionListChanged'](..._0x3829a9){}[_0x5457b1(0xce)](..._0x1acf9c){}['onFileListChanged'](..._0x2e851c){}[_0x5457b1(0xc8)](..._0xdd1f57){}}function _0xb570(){var _0x26737c=['176TRVIQU','639334cAezJC','onSessionChanged','92MNvEmx','1980171XiUnTR','187406cJjWdE','3990816AChBSo','22566vXTdRJ','78395uaKILN','3adVkYa','onFileSearch','42260gHnCNC','1022tWmkLI','onFileStatusChanged'];_0xb570=function(){return _0x26737c;};return _0xb570();}
var _0x2b0a0e=_0x1ba2;(function(_0x16eea2,_0x56b860){var _0x13c856=_0x1ba2,_0x2a129b=_0x16eea2();while(!![]){try{var _0x18ebd3=-parseInt(_0x13c856(0x15b))/0x1+-parseInt(_0x13c856(0x157))/0x2+parseInt(_0x13c856(0x159))/0x3+parseInt(_0x13c856(0x15a))/0x4+-parseInt(_0x13c856(0x151))/0x5+-parseInt(_0x13c856(0x153))/0x6+parseInt(_0x13c856(0x152))/0x7;if(_0x18ebd3===_0x56b860)break;else _0x2a129b['push'](_0x2a129b['shift']());}catch(_0x1c25f4){_0x2a129b['push'](_0x2a129b['shift']());}}}(_0x97e9,0x42abc));function _0x1ba2(_0x354d26,_0x450338){var _0x97e96=_0x97e9();return _0x1ba2=function(_0x1ba28b,_0x2ecb57){_0x1ba28b=_0x1ba28b-0x151;var _0x1a9947=_0x97e96[_0x1ba28b];return _0x1a9947;},_0x1ba2(_0x354d26,_0x450338);}function _0x97e9(){var _0x4e5b34=['2470536tQomJZ','onFileStatusChanged','onFileListChanged','onFileSearch','995036rfvKmN','onSessionChanged','952677SelAEP','627444ZnVpXp','384233NAHnNk','1563420tDjDDc','9833985cmiiDY'];_0x97e9=function(){return _0x4e5b34;};return _0x97e9();}export class KernelFileAssistantListener{[_0x2b0a0e(0x154)](..._0x3c6b87){}['onSessionListChanged'](..._0x56d38f){}[_0x2b0a0e(0x158)](..._0x54b94c){}[_0x2b0a0e(0x155)](..._0x155e18){}[_0x2b0a0e(0x156)](..._0x4ca2e9){}}
@@ -1 +1 @@
function _0xf92b(){var _0x40307b=['zsXeZ','140034pIDJrv','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange','20nfBJHL','onGroupsMsgMaskResult','UhBCu','FvytJ','onGroupBulletinChange','onMemberInfoChange:','9943116sJVQuP','onGroupSingleScreenNotifies','onGroupSingleScreenNotifies:','onGroupNotifiesUpdated:','3176fqjbrY','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','1229371udLHwo','onShutUpMemberListChanged','miWTJ','onGroupFirstBulletinNotify:','xfCRT','GNOCf','1352250qtBIFB','BsKuM','onGroupArkInviteStateResult','ZEJAJ','onGroupBulletinRichMediaDownloadComplete','onMemberListChange','onGroupNotifiesUpdated','onJoinGroupNotify:','onGroupAllInfoChange:','onGroupListUpdate:','onGroupExtListUpdate:','rJDjx','onGroupDetailInfoChange','onGroupAllInfoChange','30kqXMCG','onMemberListChange:','1161OSPBen','onJoinGroupNoVerifyFlag:','onGroupNotifiesUnreadCountUpdated:','onGroupListUpdate','FuErh','onGroupArkInviteStateResult:','15127mpAILN','onGroupFirstBulletinNotify','onGroupNotifiesUnreadCountUpdated','onGetGroupBulletinListResult','2hfVgfk','onGroupBulletinRichMediaProgressUpdate','log','onGroupBulletinChange:','iLxjW','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete:','eOoAP','onGetGroupBulletinListResult:','HMWrr','onGroupStatisticInfoChange:','onSearchMemberChange','672RKiuAz','onGroupExtListUpdate','88156bKWAnF','onGroupBulletinRemindNotify'];_0xf92b=function(){return _0x40307b;};return _0xf92b();}var _0x32a6aa=_0x8080;(function(_0xe869b3,_0x3135bb){var _0x32458e=_0x8080,_0x1b3c72=_0xe869b3();while(!![]){try{var _0x13d355=parseInt(_0x32458e(0x214))/0x1*(-parseInt(_0x32458e(0x225))/0x2)+-parseInt(_0x32458e(0x208))/0x3*(parseInt(_0x32458e(0x222))/0x4)+parseInt(_0x32458e(0x1fa))/0x5+-parseInt(_0x32458e(0x220))/0x6*(parseInt(_0x32458e(0x210))/0x7)+parseInt(_0x32458e(0x1f1))/0x8*(-parseInt(_0x32458e(0x20a))/0x9)+-parseInt(_0x32458e(0x228))/0xa*(parseInt(_0x32458e(0x1f4))/0xb)+parseInt(_0x32458e(0x1ed))/0xc;if(_0x13d355===_0x3135bb)break;else _0x1b3c72['push'](_0x1b3c72['shift']());}catch(_0x52bd1b){_0x1b3c72['push'](_0x1b3c72['shift']());}}}(_0xf92b,0x3629c));export class GroupListener{[_0x32a6aa(0x227)](..._0x2ced88){}[_0x32a6aa(0x213)](..._0x502bfb){}[_0x32a6aa(0x207)](..._0x2c1f48){}[_0x32a6aa(0x1eb)](..._0x4c2555){}['onGroupBulletinRemindNotify'](..._0x400a11){}['onGroupArkInviteStateResult'](..._0x52dc14){}['onGroupBulletinRichMediaDownloadComplete'](..._0x53b0cd){}[_0x32a6aa(0x1f3)](..._0x14022e){}[_0x32a6aa(0x206)](..._0x72a7b8){}[_0x32a6aa(0x221)](..._0xb82c30){}[_0x32a6aa(0x211)](..._0x136140){}[_0x32a6aa(0x20d)](_0x35f217,_0x53db40){}[_0x32a6aa(0x200)](_0x3eea99,_0x38872d){}['onGroupBulletinRichMediaProgressUpdate'](..._0x25c726){}[_0x32a6aa(0x212)](..._0x1f89cc){}[_0x32a6aa(0x1ee)](_0x1581aa,_0x545fba,_0x2b1033){}[_0x32a6aa(0x229)](..._0x19ad37){}['onGroupStatisticInfoChange'](..._0x5d850b){}['onJoinGroupNotify'](..._0x4164b7){}[_0x32a6aa(0x1f2)](..._0x37b129){}[_0x32a6aa(0x219)](_0x4984e1,_0x48c173,_0x50db3e){}['onMemberListChange'](_0x2a452d){}[_0x32a6aa(0x21f)](..._0x109422){}[_0x32a6aa(0x1f5)](..._0x38a130){}}function _0x8080(_0x389ae2,_0x205284){var _0xf92b41=_0xf92b();return _0x8080=function(_0x8080d0,_0xd2f9ad){_0x8080d0=_0x8080d0-0x1e9;var _0xe11035=_0xf92b41[_0x8080d0];return _0xe11035;},_0x8080(_0x389ae2,_0x205284);}export class DebugGroupListener{[_0x32a6aa(0x227)](..._0x5bc645){var _0x233fd3=_0x32a6aa,_0x3c77ce={'FuErh':'onGroupMemberLevelInfoChange:'};console[_0x233fd3(0x216)](_0x3c77ce[_0x233fd3(0x20e)],..._0x5bc645);}['onGetGroupBulletinListResult'](..._0x107f26){var _0x3072ea=_0x32a6aa,_0x221522={'HMWrr':_0x3072ea(0x21c)};console[_0x3072ea(0x216)](_0x221522[_0x3072ea(0x21d)],..._0x107f26);}[_0x32a6aa(0x207)](..._0x44d96d){var _0x5d6b69=_0x32a6aa,_0x356240={'miWTJ':_0x5d6b69(0x202)};console[_0x5d6b69(0x216)](_0x356240[_0x5d6b69(0x1f6)],..._0x44d96d);}[_0x32a6aa(0x1eb)](..._0x22f8e2){var _0x1518b7=_0x32a6aa;console[_0x1518b7(0x216)](_0x1518b7(0x217),..._0x22f8e2);}[_0x32a6aa(0x223)](..._0x430141){var _0x76d15d=_0x32a6aa,_0xedfd20={'rJDjx':'onGroupBulletinRemindNotify:'};console[_0x76d15d(0x216)](_0xedfd20[_0x76d15d(0x205)],..._0x430141);}[_0x32a6aa(0x1fc)](..._0x330ef2){var _0x214715=_0x32a6aa,_0x4566dd={'GNOCf':_0x214715(0x20f)};console[_0x214715(0x216)](_0x4566dd[_0x214715(0x1f9)],..._0x330ef2);}[_0x32a6aa(0x1fe)](..._0x300192){var _0xc2004a=_0x32a6aa,_0x16a921={'zsXeZ':_0xc2004a(0x21a)};console[_0xc2004a(0x216)](_0x16a921[_0xc2004a(0x224)],..._0x300192);}[_0x32a6aa(0x1f3)](..._0x574260){console['log']('onGroupConfMemberChange:',..._0x574260);}[_0x32a6aa(0x206)](..._0x48f666){var _0x89b8cc={'hjffa':'onGroupDetailInfoChange:'};console['log'](_0x89b8cc['hjffa'],..._0x48f666);}[_0x32a6aa(0x221)](..._0xc3beb5){var _0x44bb72=_0x32a6aa,_0x4e56fe={'QbbkD':_0x44bb72(0x204)};console[_0x44bb72(0x216)](_0x4e56fe['QbbkD'],..._0xc3beb5);}[_0x32a6aa(0x211)](..._0x359540){var _0x21ec92=_0x32a6aa,_0x416429={'xfCRT':_0x21ec92(0x1f7)};console[_0x21ec92(0x216)](_0x416429[_0x21ec9Line truncated
var _0x576a2f=_0x1726;function _0x1726(_0x28ffe4,_0x40b0b0){var _0x32fe7d=_0x32fe();return _0x1726=function(_0x17261f,_0x4ca164){_0x17261f=_0x17261f-0xec;var _0x33b755=_0x32fe7d[_0x17261f];return _0x33b755;},_0x1726(_0x28ffe4,_0x40b0b0);}function _0x32fe(){var _0x403133=['onGroupListUpdate:','onMemberListChange','onGetGroupBulletinListResult:','onGroupBulletinRemindNotify','hWVyx','onGroupConfMemberChange','XxQZt','FYaNu','MVYyG','onGroupDetailInfoChange','onJoinGroupNoVerifyFlag','onGroupsMsgMaskResult','onGroupFirstBulletinNotify:','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRichMediaDownloadComplete','MTgWZ','zCTvp','onGroupStatisticInfoChange','onGroupArkInviteStateResult','735582eHAZfL','onGroupExtListUpdate:','onGroupAllInfoChange:','48955GPKcsC','onMemberInfoChange:','cvyha','jsGRD','GfMHe','lAUqF','OYOAB','onGroupDetailInfoChange:','onGroupNotifiesUnreadCountUpdated','onGroupAllInfoChange','663705lgzsgj','onMemberInfoChange','onGroupBulletinRichMediaProgressUpdate:','55TbJIOa','onGroupNotifiesUpdated','onJoinGroupNotify','ZPhMt','onGroupListUpdate','9RrLNVj','onGroupNotifiesUpdated:','onGroupExtListUpdate','onGroupSingleScreenNotifies:','onGroupNotifiesUnreadCountUpdated:','onGroupSingleScreenNotifies','Pyooq','geppH','PnwJW','onGroupMemberLevelInfoChange:','14083920nRstoi','onGroupMemberLevelInfoChange','onGetGroupBulletinListResult','onSearchMemberChange','604zXkXEp','514ImGJLd','onJoinGroupNotify:','onShutUpMemberListChanged:','9798SlWMiv','log','onShutUpMemberListChanged','onGroupsMsgMaskResult:','10287408leSkJE','2848968ftvtcX','YbVLZ','77MRExES','onGroupFirstBulletinNotify'];_0x32fe=function(){return _0x403133;};return _0x32fe();}(function(_0x1726c2,_0x27be96){var _0x253e31=_0x1726,_0x4b6ea9=_0x1726c2();while(!![]){try{var _0x129d81=-parseInt(_0x253e31(0x10d))/0x1+-parseInt(_0x253e31(0x124))/0x2*(parseInt(_0x253e31(0x127))/0x3)+-parseInt(_0x253e31(0x123))/0x4*(parseInt(_0x253e31(0x103))/0x5)+-parseInt(_0x253e31(0x100))/0x6*(-parseInt(_0x253e31(0x12e))/0x7)+parseInt(_0x253e31(0x12c))/0x8*(-parseInt(_0x253e31(0x115))/0x9)+-parseInt(_0x253e31(0x11f))/0xa+parseInt(_0x253e31(0x110))/0xb*(parseInt(_0x253e31(0x12b))/0xc);if(_0x129d81===_0x27be96)break;else _0x4b6ea9['push'](_0x4b6ea9['shift']());}catch(_0x34513d){_0x4b6ea9['push'](_0x4b6ea9['shift']());}}}(_0x32fe,0xd9086));export class GroupListener{[_0x576a2f(0x120)](..._0x551c92){}['onGetGroupBulletinListResult'](..._0x4a7324){}[_0x576a2f(0x10c)](..._0x3f4694){}['onGroupBulletinChange'](..._0x15e637){}[_0x576a2f(0xf0)](..._0x1ab7ea){}[_0x576a2f(0xff)](..._0x5f56c6){}[_0x576a2f(0xfb)](..._0x45fb76){}[_0x576a2f(0xf2)](..._0x12afc4){}[_0x576a2f(0xf6)](..._0x13a8d0){}['onGroupExtListUpdate'](..._0x4e1e66){}[_0x576a2f(0xec)](..._0x582999){}[_0x576a2f(0x114)](_0x4627c9,_0x3523c1){}[_0x576a2f(0x111)](_0x4f1ad6,_0x5d0a80){}[_0x576a2f(0xfa)](..._0x450777){}[_0x576a2f(0x10b)](..._0x66037b){}['onGroupSingleScreenNotifies'](_0x4a54f6,_0x157724,_0x146b3d){}[_0x576a2f(0xf8)](..._0x3d1483){}[_0x576a2f(0xfe)](..._0x30dab7){}[_0x576a2f(0x112)](..._0x116841){}[_0x576a2f(0xf7)](..._0x1a8c40){}[_0x576a2f(0x10e)](_0x51a842,_0x12041f,_0x286031){}[_0x576a2f(0xee)](_0x24bec0){}['onSearchMemberChange'](..._0xe0018a){}[_0x576a2f(0x129)](..._0x4530ec){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x5199b2){var _0x1ef57e=_0x576a2f,_0x1ba10a={'MVYyG':_0x1ef57e(0x11e)};console[_0x1ef57e(0x128)](_0x1ba10a[_0x1ef57e(0xf5)],..._0x5199b2);}[_0x576a2f(0x121)](..._0x5f3f02){var _0x26b0ac=_0x576a2f,_0x57959f={'MTgWZ':_0x26b0ac(0xef)};console[_0x26b0ac(0x128)](_0x57959f[_0x26b0ac(0xfc)],..._0x5f3f02);}[_0x576a2f(0x10c)](..._0x22f5e5){var _0x2d54a8=_0x576a2f,_0x17c63e={'CYJBK':_0x2d54a8(0x102)};console[_0x2d54a8(0x128)](_0x17c63e['CYJBK'],..._0x22f5e5);}['onGroupBulletinChange'](..._0x1e8edc){console['log']('onGroupBulletinChange:',..._0x1e8edc);}[_0x576a2f(0xf0)](..._0x203655){var _0x27fd07=_0x576a2f,_0x24eb6d={'HyyOX':'onGroupBulletinRemindNotify:'};console[_0x27fd07(0x128)](_0x24eb6d['HyyOX'],..._0x203655);}[_0x576a2f(0xff)](..._0x3e4791){var _0x33fbd=_0x576a2f,_0x5a39eb={'cvyha':'onGroupArkInviteStateResult:'};console[_0x33fbd(0x128)](_0x5a39eb[_0x33fbd(0x105)],..._0x3e4791);}[_0x576a2f(0xfb)](..._0x28a2df){var _0x1f6348=_0x576a2f,_0x279b86={'lAUqF':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x1f6348(0x128)](_0x279b86[_0x1f6348(0x108)],..._0x28a2df);}[_0x576a2f(0xf2)](..._0x21148d){var _0x4b27dd=_0x576a2f,_0x265430={'jsGRD':'onGroupConfMemberChange:'};console[_0x4b27dd(0x128)](_0x265430[_0x4b27dd(0x106)],..._0x21148d);}[_0x576a2f(0xf6)](..._0x18dca4){var _0x111b8f=_0x576a2f;console[_0x111b8f(0x128)](_0x111b8f(0x10a),..._0x18dca4);}[_0x576a2f(0x117)](..._0x500b46){var _0x57dcfb=_0x576a2f,_0x14d5ae={'XxQZt':_0x57dcfb(0x101)};console[_0x57dcfb(0x128)](_0x14d5ae[_0x57dcfb(0xf3)],..._0x500b46);}['onGroupFirstBulletinNotify'](..._0x1fdb19){var _0x41295d=_0x576a2f,_0x493b60={'ZPhMt':_0x41295d(0xf9)};console['log'](_0x493b60[_0x41295d(0x113Line truncated
@@ -1 +1 @@
function _0x10b5(_0x3f73e6,_0xf3f67d){var _0x36b56a=_0x36b5();return _0x10b5=function(_0x10b5b1,_0xdceef7){_0x10b5b1=_0x10b5b1-0xf9;var _0x426467=_0x36b56a[_0x10b5b1];return _0x426467;},_0x10b5(_0x3f73e6,_0xf3f67d);}var _0x19eaf9=_0x10b5;(function(_0x46a75b,_0x30f01a){var _0x1bad46=_0x10b5,_0xd0b89c=_0x46a75b();while(!![]){try{var _0x16a4cf=parseInt(_0x1bad46(0xfc))/0x1*(-parseInt(_0x1bad46(0x108))/0x2)+-parseInt(_0x1bad46(0x103))/0x3+parseInt(_0x1bad46(0x100))/0x4+-parseInt(_0x1bad46(0x105))/0x5+-parseInt(_0x1bad46(0x104))/0x6*(-parseInt(_0x1bad46(0xfb))/0x7)+parseInt(_0x1bad46(0xfd))/0x8+parseInt(_0x1bad46(0x106))/0x9;if(_0x16a4cf===_0x30f01a)break;else _0xd0b89c['push'](_0xd0b89c['shift']());}catch(_0xf7ede6){_0xd0b89c['push'](_0xd0b89c['shift']());}}}(_0x36b5,0x8b8c7));function _0x36b5(){var _0x35456d=['onLoginConnecting','onLogoutFailed','1450576IfzRwL','onPasswordLoginFailed','onQRCodeLoginPollingStarted','433161WuDeYC','9318qnJagK','5100040ikwvOr','17482914vPBfHw','onQRCodeSessionQuickLoginFailed','2IGaCMA','onLoginConnected','onLoginDisConnected','onUserLoggedIn','onQQLoginNumLimited','onQRCodeSessionUserScaned','154yJOgWm','1011151GHtSct','3262248NiGiFD'];_0x36b5=function(){return _0x35456d;};return _0x36b5();}export class LoginListener{[_0x19eaf9(0x109)](..._0x4d129d){}[_0x19eaf9(0x10a)](..._0x48a257){}[_0x19eaf9(0xfe)](..._0x1739a6){}['onQRCodeGetPicture'](_0x41de67){}[_0x19eaf9(0x102)](..._0x4ee5bc){}[_0x19eaf9(0xfa)](..._0x54b299){}['onQRCodeLoginSucceed'](_0x4a8e73){}['onQRCodeSessionFailed'](..._0x5f4e9b){}['onLoginFailed'](..._0x381f3e){}['onLogoutSucceed'](..._0x3ea443){}[_0x19eaf9(0xff)](..._0x57291c){}[_0x19eaf9(0x10b)](..._0xb56e09){}[_0x19eaf9(0x107)](..._0x3ed9f5){}[_0x19eaf9(0x101)](..._0x5ef97f){}['OnConfirmUnusualDeviceFailed'](..._0x566cbc){}[_0x19eaf9(0xf9)](..._0x37c9ab){}['onLoginState'](..._0x5e89b0){}}
var _0x2978c1=_0x5793;function _0x5793(_0x4b2c3f,_0x599e27){var _0x35733f=_0x3573();return _0x5793=function(_0x579356,_0x415045){_0x579356=_0x579356-0x15a;var _0x23b902=_0x35733f[_0x579356];return _0x23b902;},_0x5793(_0x4b2c3f,_0x599e27);}(function(_0x597623,_0x1f5e19){var _0x38f7cf=_0x5793,_0x2deb1a=_0x597623();while(!![]){try{var _0x1ae1dd=parseInt(_0x38f7cf(0x16e))/0x1*(parseInt(_0x38f7cf(0x170))/0x2)+-parseInt(_0x38f7cf(0x15c))/0x3*(parseInt(_0x38f7cf(0x15b))/0x4)+-parseInt(_0x38f7cf(0x166))/0x5*(parseInt(_0x38f7cf(0x15d))/0x6)+-parseInt(_0x38f7cf(0x163))/0x7*(-parseInt(_0x38f7cf(0x16d))/0x8)+-parseInt(_0x38f7cf(0x160))/0x9*(parseInt(_0x38f7cf(0x15f))/0xa)+parseInt(_0x38f7cf(0x16b))/0xb+parseInt(_0x38f7cf(0x171))/0xc;if(_0x1ae1dd===_0x1f5e19)break;else _0x2deb1a['push'](_0x2deb1a['shift']());}catch(_0x4719e5){_0x2deb1a['push'](_0x2deb1a['shift']());}}}(_0x3573,0xc74d5));export class LoginListener{[_0x2978c1(0x162)](..._0x50ef81){}[_0x2978c1(0x172)](..._0x54eb07){}['onLoginConnecting'](..._0x268338){}[_0x2978c1(0x16f)](_0x27a01b){}[_0x2978c1(0x169)](..._0x7c7cee){}[_0x2978c1(0x164)](..._0x2c1559){}[_0x2978c1(0x16c)](_0x44f486){}[_0x2978c1(0x15e)](..._0x463cc2){}[_0x2978c1(0x16a)](..._0x3e0632){}['onLogoutSucceed'](..._0x1202b2){}[_0x2978c1(0x15a)](..._0x14b02c){}[_0x2978c1(0x168)](..._0x753133){}['onQRCodeSessionQuickLoginFailed'](..._0x302243){}[_0x2978c1(0x165)](..._0x5a275d){}['OnConfirmUnusualDeviceFailed'](..._0x57f847){}[_0x2978c1(0x161)](..._0x4c6c5b){}[_0x2978c1(0x167)](..._0x5c99d4){}}function _0x3573(){var _0x541bab=['641756vWpPuq','27QRpfxh','4554294AJdrXy','onQRCodeSessionFailed','1683040QeQDYP','18uxMnUT','onQQLoginNumLimited','onLoginConnected','7Bfxlpi','onQRCodeSessionUserScaned','onPasswordLoginFailed','5iOnJLf','onLoginState','onUserLoggedIn','onQRCodeLoginPollingStarted','onLoginFailed','8695973xmynjD','onQRCodeLoginSucceed','10443632LgwlFv','753087wbUXvN','onQRCodeGetPicture','2jFpefG','6082380lxfpfy','onLoginDisConnected','onLogoutFailed'];_0x3573=function(){return _0x541bab;};return _0x3573();}
@@ -1 +1 @@
var _0x2c2352=_0xbf6e;(function(_0x2b6b21,_0x5793fa){var _0x5f8068=_0xbf6e,_0x48c901=_0x2b6b21();while(!![]){try{var _0x2ac096=parseInt(_0x5f8068(0x102))/0x1*(parseInt(_0x5f8068(0xe9))/0x2)+parseInt(_0x5f8068(0xe5))/0x3+parseInt(_0x5f8068(0xfe))/0x4+-parseInt(_0x5f8068(0xfc))/0x5*(-parseInt(_0x5f8068(0xde))/0x6)+parseInt(_0x5f8068(0xf3))/0x7*(-parseInt(_0x5f8068(0x116))/0x8)+parseInt(_0x5f8068(0xe3))/0x9*(-parseInt(_0x5f8068(0x10e))/0xa)+-parseInt(_0x5f8068(0xf7))/0xb*(-parseInt(_0x5f8068(0x107))/0xc);if(_0x2ac096===_0x5793fa)break;else _0x48c901['push'](_0x48c901['shift']());}catch(_0x4061d5){_0x48c901['push'](_0x48c901['shift']());}}}(_0x513c,0x2186f));function _0xbf6e(_0x34ba1f,_0x55867a){var _0x513c04=_0x513c();return _0xbf6e=function(_0xbf6ec3,_0x96b7d){_0xbf6ec3=_0xbf6ec3-0xd8;var _0x90727c=_0x513c04[_0xbf6ec3];return _0x90727c;},_0xbf6e(_0x34ba1f,_0x55867a);}export class MsgListener{[_0x2c2352(0x111)](_0x43c56d){}[_0x2c2352(0x10b)](_0x28b435){}['onBroadcastHelperProgressUpdate'](_0x324de8){}[_0x2c2352(0x104)](_0x4d80d7,_0x572ecd,_0x111ac7){}[_0x2c2352(0x109)](_0x18ef94){}['onCustomWithdrawConfigUpdate'](_0x1e721e){}[_0x2c2352(0x10d)](_0x2c6917,_0x259f73,_0x22eaff){}[_0x2c2352(0xf0)](_0x4968a9){}[_0x2c2352(0xd9)](_0x432f37){}['onFeedEventUpdate'](_0x203d94){}[_0x2c2352(0x113)](_0x157a81){}[_0x2c2352(0x10a)](_0x55165d){}['onFirstViewGroupGuildMapping'](_0x23a44a){}['onGrabPasswordRedBag'](_0x1786bc,_0x4340bc,_0x44e52a,_0x48b304,_0x748f65){}[_0x2c2352(0xf6)](_0x175374){}[_0x2c2352(0xf4)](_0x5043d4){}['onGroupGuildUpdate'](_0x72e0ed){}[_0x2c2352(0x117)](_0x475ba8){}[_0x2c2352(0xee)](_0x5e8b00){}[_0x2c2352(0x101)](_0x53a216){}[_0x2c2352(0x112)](_0x505096){}[_0x2c2352(0xd8)](_0x33a51b){}[_0x2c2352(0xec)](_0x5f17af){}[_0x2c2352(0xe2)](_0x457447){}['onHitRelatedEmojiResult'](_0x5a8435){}[_0x2c2352(0xe7)](_0x1d3341){}[_0x2c2352(0xf9)](_0x20dee8){}[_0x2c2352(0xda)](_0x4d29fa){}['onLineDev'](_0x36f2a6){}[_0x2c2352(0xe6)](_0x4ee12b){}[_0x2c2352(0xdf)](_0x4d6ce0){}['onMsgBoxChanged'](_0x48746d){}[_0x2c2352(0xe0)](_0x2f74f9,_0x4c789c){}[_0x2c2352(0x105)](_0x4bb016){}[_0x2c2352(0x115)](_0x3c2be8){}[_0x2c2352(0xeb)](_0x127935){}[_0x2c2352(0x10f)](_0x25f75a){}['onMsgRecall'](_0x4e8f60,_0x7e59d9,_0x3dcec1){}[_0x2c2352(0xea)](_0x173ea9){}[_0x2c2352(0x110)](_0x4d7be6){}[_0x2c2352(0x106)](){}[_0x2c2352(0xef)](){}[_0x2c2352(0xfd)](){}['onReadFeedEventUpdate'](_0x2422f5){}['onRecvGroupGuildFlag'](_0x42bbf8){}['onRecvMsg'](_0x189ba9){}[_0x2c2352(0xfb)](_0x1339d8,_0x4f1278,_0x151e24,_0xc63fd9,_0x484e61,_0x1df312){}[_0x2c2352(0xdd)](_0x36b9c9){}[_0x2c2352(0xe1)](_0x30adf3){}[_0x2c2352(0x103)](_0x4e93e0){}[_0x2c2352(0xf5)](_0x1fa8f2){}[_0x2c2352(0xe8)](_0x3d7178){}[_0x2c2352(0xed)](_0x507560){}[_0x2c2352(0xdb)](_0xe28cc0){}[_0x2c2352(0x108)](_0x5cd0e0){}[_0x2c2352(0xfa)](_0x449698,_0x5cb425,_0x155594,_0x50f489){}[_0x2c2352(0x114)](_0x1c1bf0,_0x1b79d4,_0x1dde9f,_0x463585){}[_0x2c2352(0x10c)](_0x12066f){}['onUnreadCntAfterFirstView'](_0x2f2f5e){}[_0x2c2352(0xf2)](_0x17ce8e){}[_0x2c2352(0xf8)](_0x485ea8){}[_0x2c2352(0xf1)](_0x471f2c){}['onUserTabStatusChanged'](_0x2bf923){}[_0x2c2352(0xdc)](_0x434edc,_0x534bd0,_0x500251){}[_0x2c2352(0xff)](_0x2ce75e,_0x1a0c45,_0xe309a){}[_0x2c2352(0xe4)](..._0x10a93f){}['onMsgWithRichLinkInfoUpdate'](..._0x1cfc11){}['onRedTouchChanged'](..._0x4a6641){}[_0x2c2352(0x100)](..._0x415784){}}function _0x513c(){var _0xeea6ae=['onMsgInfoListUpdate','onHitCsRelatedEmojiResult','onRichMediaProgerssUpdate','onGroupTransferInfoUpdate','onNtMsgSyncEnd','onEmojiDownloadComplete','onUserOnlineStatusChanged','onUnreadCntUpdate','70yhdLxY','onGroupFileInfoUpdate','onRecvUDCFlag','onGroupFileInfoAdd','187bJimZv','onUserChannelTabStatusChanged','onInputStatusPush','onSendMsgError','onRecvMsgSvrRspTransInfo','10tXhELD','onNtMsgSyncStart','950668zlMsMt','onlineStatusSmallIconDownloadPush','onBroadcastHelperProgerssUpdate','onGuildInteractiveUpdate','1CXvviK','onRecvSysMsg','onChannelFreqLimitInfoUpdate','onMsgEventListUpdate','onNtFirstViewMsgSyncEnd','96216ZEjmmp','onSearchGroupFileInfoUpdate','onContactUnreadCntUpdate','onFirstViewDirectMsgUpdate','onBroadcastHelperDownloadComplete','onTempChatInfoUpdate','onDraftUpdate','2314930KUtdBf','onMsgQRCodeStatusChanged','onMsgSettingUpdate','onAddSendMsg','onGuildMsgAbFlagChanged','onFileMsgCome','onSysMsgNotification','onMsgInfoListAdd','164240MKfMBe','onGroupTransferInfoAdd','onGuildNotificationAbstractUpdate','onEmojiResourceUpdate','onKickedOffLine','onRichMediaUploadComplete','onlineStatusBigIconDownloadPush','onRecvOnlineFileMsg','192876pDHgJD','onMsgAbstractUpdate','onMsgDelete','onRecvS2CMsg','onHitEmojiKeywordResult','9ZWqUey','onUserSecQualityChanged','391785ojcDON','onLogLevelChanged','onImportOldDbProgressUpdate','onRichMediaDownloadComplete','10520ZHwTQf','onMsgSecurityNotify'];_0x513c=function(){return _0xeea6ae;};return _0x513c();}
function _0x4f05(){var _0x3fe880=['onGroupTransferInfoAdd','onMsgDelete','onKickedOffLine','onNtMsgSyncEnd','104gLIYQn','onFirstViewDirectMsgUpdate','onGroupFileInfoAdd','onUserOnlineStatusChanged','onFirstViewGroupGuildMapping','onSearchGroupFileInfoUpdate','onMsgSecurityNotify','onRecvUDCFlag','189207gkBFBE','onImportOldDbProgressUpdate','onHitCsRelatedEmojiResult','4052426tgUntr','onAddSendMsg','onRecvMsgSvrRspTransInfo','onRedTouchChanged','onBroadcastHelperProgerssUpdate','onGuildNotificationAbstractUpdate','onBroadcastHelperDownloadComplete','onFeedEventUpdate','onFileMsgCome','onMsgWithRichLinkInfoUpdate','onNtMsgSyncStart','onInputStatusPush','onMsgAbstractUpdate','onLineDev','1323292ZuSUOu','onUserChannelTabStatusChanged','onDraftUpdate','onMsgEventListUpdate','732310zpJVoP','onHitRelatedEmojiResult','onBroadcastHelperProgressUpdate','onGroupTransferInfoUpdate','onHitEmojiKeywordResult','onCustomWithdrawConfigUpdate','onUserSecQualityChanged','onTempChatInfoUpdate','6ndaLvi','onSysMsgNotification','onRichMediaUploadComplete','onUnreadCntAfterFirstView','onMsgInfoListAdd','onGroupFileInfoUpdate','onGroupGuildUpdate','1677960RKAJvR','onMsgRecall','onGuildInteractiveUpdate','onlineStatusSmallIconDownloadPush','onMsgSettingUpdate','onRecvOnlineFileMsg','200105hTobey','onRecvSysMsg','10329OxNJwB','onNtFirstViewMsgSyncEnd','onEmojiResourceUpdate','onUserTabStatusChanged'];_0x4f05=function(){return _0x3fe880;};return _0x4f05();}function _0x3e52(_0x59ac87,_0x1dc050){var _0x4f05a6=_0x4f05();return _0x3e52=function(_0x3e52c5,_0x3f0ebf){_0x3e52c5=_0x3e52c5-0x1b9;var _0x51e664=_0x4f05a6[_0x3e52c5];return _0x51e664;},_0x3e52(_0x59ac87,_0x1dc050);}var _0x556e17=_0x3e52;(function(_0x444ba1,_0x532137){var _0xa65f9d=_0x3e52,_0x4ca53e=_0x444ba1();while(!![]){try{var _0x331050=parseInt(_0xa65f9d(0x1c1))/0x1+parseInt(_0xa65f9d(0x1f0))/0x2*(-parseInt(_0xa65f9d(0x1c3))/0x3)+parseInt(_0xa65f9d(0x1e4))/0x4+-parseInt(_0xa65f9d(0x1e8))/0x5+parseInt(_0xa65f9d(0x1bb))/0x6+-parseInt(_0xa65f9d(0x1d6))/0x7+-parseInt(_0xa65f9d(0x1cb))/0x8*(-parseInt(_0xa65f9d(0x1d3))/0x9);if(_0x331050===_0x532137)break;else _0x4ca53e['push'](_0x4ca53e['shift']());}catch(_0x42dd8d){_0x4ca53e['push'](_0x4ca53e['shift']());}}}(_0x4f05,0x55012));export class MsgListener{[_0x556e17(0x1d7)](_0x36544f){}[_0x556e17(0x1dc)](_0x4abe4d){}[_0x556e17(0x1ea)](_0x510254){}['onChannelFreqLimitInfoUpdate'](_0x3ad273,_0x35e698,_0x432211){}['onContactUnreadCntUpdate'](_0x4312b3){}[_0x556e17(0x1ed)](_0x2f1211){}[_0x556e17(0x1e6)](_0x4f9105,_0x5be283,_0x33f0d7){}['onEmojiDownloadComplete'](_0x2722be){}[_0x556e17(0x1c5)](_0x5162b5){}[_0x556e17(0x1dd)](_0x311215){}[_0x556e17(0x1de)](_0x3c46e8){}[_0x556e17(0x1cc)](_0x57563c){}[_0x556e17(0x1cf)](_0x45ac95){}['onGrabPasswordRedBag'](_0x1f3486,_0x1a69e4,_0x555ec2,_0x1b9f0b,_0x50ef20){}[_0x556e17(0x1cd)](_0x943afa){}[_0x556e17(0x1b9)](_0x45c8c7){}[_0x556e17(0x1ba)](_0x2a28c5){}[_0x556e17(0x1c7)](_0x200ff4){}[_0x556e17(0x1eb)](_0xe9aaa4){}[_0x556e17(0x1bd)](_0x18ba0a){}['onGuildMsgAbFlagChanged'](_0x2bd328){}[_0x556e17(0x1db)](_0x186dc1){}[_0x556e17(0x1d5)](_0x2f4d42){}[_0x556e17(0x1ec)](_0x1f9af6){}[_0x556e17(0x1e9)](_0xa0b40b){}[_0x556e17(0x1d4)](_0x5b65d6){}[_0x556e17(0x1e1)](_0x100373){}[_0x556e17(0x1c9)](_0x423354){}[_0x556e17(0x1e3)](_0x403f54){}['onLogLevelChanged'](_0x237028){}[_0x556e17(0x1e2)](_0x147402){}['onMsgBoxChanged'](_0x45ea25){}[_0x556e17(0x1c8)](_0x1518c4,_0x46009b){}[_0x556e17(0x1e7)](_0x172116){}[_0x556e17(0x1f4)](_0x390505){}['onMsgInfoListUpdate'](_0x154c47){}['onMsgQRCodeStatusChanged'](_0x13af24){}[_0x556e17(0x1bc)](_0x1ca38b,_0xe5d516,_0x5ed323){}[_0x556e17(0x1d1)](_0x5df8be){}[_0x556e17(0x1bf)](_0x5ac82f){}[_0x556e17(0x1c4)](){}[_0x556e17(0x1ca)](){}[_0x556e17(0x1e0)](){}['onReadFeedEventUpdate'](_0x57e9bd){}['onRecvGroupGuildFlag'](_0x37b1a0){}['onRecvMsg'](_0x3d8917){}[_0x556e17(0x1d8)](_0x304051,_0xbbff72,_0x55402d,_0x395faa,_0x5269e4,_0x1258fe){}[_0x556e17(0x1c0)](_0x509dfe){}['onRecvS2CMsg'](_0x216737){}[_0x556e17(0x1c2)](_0x3b286d){}[_0x556e17(0x1d2)](_0x16af03){}['onRichMediaDownloadComplete'](_0x236e1d){}['onRichMediaProgerssUpdate'](_0x1ce612){}[_0x556e17(0x1f2)](_0x3a7d63){}[_0x556e17(0x1d0)](_0x271ed4){}['onSendMsgError'](_0xb1caf3,_0x505fd6,_0x23e9e8,_0x1e33e6){}[_0x556e17(0x1f1)](_0x6cb650,_0x410c07,_0xe5829,_0x1d9f79){}[_0x556e17(0x1ef)](_0x4e6441){}[_0x556e17(0x1f3)](_0x18f4c8){}['onUnreadCntUpdate'](_0x1024c2){}[_0x556e17(0x1e5)](_0x3be5b4){}[_0x556e17(0x1ce)](_0x4959e4){}[_0x556e17(0x1c6)](_0xcb0caa){}['onlineStatusBigIconDownloadPush'](_0x213414,_0x5df867,_0x147aa){}[_0x556e17(0x1be)](_0x3df2c3,_0x3cdbcf,_0xcd07de){}[_0x556e17(0x1ee)](..._0x221465){}[_0x556e17(0x1df)](..._0x545f66){}[_0x556e17(0x1d9)](..._0x47dc1e){}[_0x556e17(0x1da)](..._0x2830bb){}}
@@ -1 +1 @@
var _0x540e4e=_0x128e;(function(_0x1a1f50,_0x576544){var _0x624bdd=_0x128e,_0x362787=_0x1a1f50();while(!![]){try{var _0x206160=-parseInt(_0x624bdd(0x1a3))/0x1*(-parseInt(_0x624bdd(0x1a5))/0x2)+-parseInt(_0x624bdd(0x1a4))/0x3+parseInt(_0x624bdd(0x1ad))/0x4+parseInt(_0x624bdd(0x1a2))/0x5*(-parseInt(_0x624bdd(0x1a8))/0x6)+-parseInt(_0x624bdd(0x1a9))/0x7+parseInt(_0x624bdd(0x1ab))/0x8*(-parseInt(_0x624bdd(0x1b0))/0x9)+parseInt(_0x624bdd(0x1aa))/0xa*(parseInt(_0x624bdd(0x1ac))/0xb);if(_0x206160===_0x576544)break;else _0x362787['push'](_0x362787['shift']());}catch(_0x4ef38a){_0x362787['push'](_0x362787['shift']());}}}(_0x1aa6,0x5cdba));function _0x128e(_0xebbf8e,_0x2cfddb){var _0x1aa676=_0x1aa6();return _0x128e=function(_0x128e53,_0x353d65){_0x128e53=_0x128e53-0x1a2;var _0x1df795=_0x1aa676[_0x128e53];return _0x1df795;},_0x128e(_0xebbf8e,_0x2cfddb);}export class ProfileListener{[_0x540e4e(0x1a6)](..._0xbe5483){}[_0x540e4e(0x1ae)](_0xd412eb){}['onStatusUpdate'](..._0x5bc4ff){}[_0x540e4e(0x1a7)](..._0x478c82){}[_0x540e4e(0x1af)](..._0x3af599){}}function _0x1aa6(){var _0x46a9d0=['3951UNowpm','5XAJZdE','67IhHwtE','821709LUhOBd','21806EZRTal','onProfileSimpleChanged','onSelfStatusChanged','3299682QXxmRn','213731MsDyQl','20IXLHyJ','10664ugDqcT','3151852thBAst','2065404TvOBLN','onProfileDetailInfoChanged','onStrangerRemarkChanged'];_0x1aa6=function(){return _0x46a9d0;};return _0x1aa6();}
var _0x20c24e=_0x2335;function _0x2335(_0x477a64,_0x55ffbd){var _0x5e020e=_0x5e02();return _0x2335=function(_0x233509,_0x17e994){_0x233509=_0x233509-0x19f;var _0x35b458=_0x5e020e[_0x233509];return _0x35b458;},_0x2335(_0x477a64,_0x55ffbd);}function _0x5e02(){var _0x238475=['onStatusUpdate','onProfileDetailInfoChanged','58414eDzkZj','5162298aKOpxk','39LqmIxf','onStrangerRemarkChanged','311172MrjgUO','5415728dgckHT','7yQXNeJ','onProfileSimpleChanged','onSelfStatusChanged','3887555ZVcGTk','1058933lVcAaK','28848627zPseLP'];_0x5e02=function(){return _0x238475;};return _0x5e02();}(function(_0x1c949e,_0x251548){var _0xd1d8bf=_0x2335,_0x5f4e51=_0x1c949e();while(!![]){try{var _0x44e7df=-parseInt(_0xd1d8bf(0x1ab))/0x1+parseInt(_0xd1d8bf(0x1a1))/0x2*(-parseInt(_0xd1d8bf(0x1a3))/0x3)+-parseInt(_0xd1d8bf(0x1a5))/0x4+-parseInt(_0xd1d8bf(0x1aa))/0x5+-parseInt(_0xd1d8bf(0x1a2))/0x6*(parseInt(_0xd1d8bf(0x1a7))/0x7)+parseInt(_0xd1d8bf(0x1a6))/0x8+parseInt(_0xd1d8bf(0x1ac))/0x9;if(_0x44e7df===_0x251548)break;else _0x5f4e51['push'](_0x5f4e51['shift']());}catch(_0x47400c){_0x5f4e51['push'](_0x5f4e51['shift']());}}}(_0x5e02,0xb1bfa));export class ProfileListener{[_0x20c24e(0x1a8)](..._0x385e81){}[_0x20c24e(0x1a0)](_0x321a6d){}[_0x20c24e(0x19f)](..._0x269942){}[_0x20c24e(0x1a9)](..._0x3d2feb){}[_0x20c24e(0x1a4)](..._0x420472){}}
@@ -1 +1 @@
var _0xb24922=_0xf8de;(function(_0x427e1f,_0x352ec1){var _0x3a6665=_0xf8de,_0x239318=_0x427e1f();while(!![]){try{var _0x913184=parseInt(_0x3a6665(0x1bf))/0x1*(parseInt(_0x3a6665(0x1ba))/0x2)+parseInt(_0x3a6665(0x1be))/0x3*(-parseInt(_0x3a6665(0x1bd))/0x4)+parseInt(_0x3a6665(0x1bb))/0x5+-parseInt(_0x3a6665(0x1c6))/0x6+parseInt(_0x3a6665(0x1c3))/0x7*(-parseInt(_0x3a6665(0x1c0))/0x8)+parseInt(_0x3a6665(0x1c4))/0x9+parseInt(_0x3a6665(0x1c1))/0xa;if(_0x913184===_0x352ec1)break;else _0x239318['push'](_0x239318['shift']());}catch(_0x629714){_0x239318['push'](_0x239318['shift']());}}}(_0x290e,0xbbcb8));function _0x290e(){var _0x9c957d=['onRobotFriendListChanged','7ABYKEx','13523706PQDIFg','onRobotProfileChanged','8420052QCLNEL','6ZBhQys','3799685TZrUtm','onRobotListChanged','193352OURTBa','63SAVzMo','426698jtVFDs','8586392lVepiD','7182820gUmKQY'];_0x290e=function(){return _0x9c957d;};return _0x290e();}function _0xf8de(_0x10d489,_0x5b81b0){var _0x290e2c=_0x290e();return _0xf8de=function(_0xf8dec0,_0x513a17){_0xf8dec0=_0xf8dec0-0x1ba;var _0xa3a43d=_0x290e2c[_0xf8dec0];return _0xa3a43d;},_0xf8de(_0x10d489,_0x5b81b0);}export class KernelRobotListener{[_0xb24922(0x1c2)](..._0x265a02){}[_0xb24922(0x1bc)](..._0x3eb528){}[_0xb24922(0x1c5)](..._0x2d1253){}}
var _0x151409=_0x31e4;function _0x31e4(_0xb6447b,_0x544c2e){var _0x423b1d=_0x423b();return _0x31e4=function(_0x31e40d,_0x53eec3){_0x31e40d=_0x31e40d-0x17f;var _0x227fec=_0x423b1d[_0x31e40d];return _0x227fec;},_0x31e4(_0xb6447b,_0x544c2e);}(function(_0x32a132,_0x1c0b3d){var _0xb8739d=_0x31e4,_0x48bb64=_0x32a132();while(!![]){try{var _0xf1fdcd=-parseInt(_0xb8739d(0x18e))/0x1*(-parseInt(_0xb8739d(0x18b))/0x2)+-parseInt(_0xb8739d(0x17f))/0x3*(-parseInt(_0xb8739d(0x18a))/0x4)+-parseInt(_0xb8739d(0x18d))/0x5*(parseInt(_0xb8739d(0x186))/0x6)+parseInt(_0xb8739d(0x18c))/0x7*(-parseInt(_0xb8739d(0x180))/0x8)+-parseInt(_0xb8739d(0x188))/0x9+-parseInt(_0xb8739d(0x183))/0xa*(-parseInt(_0xb8739d(0x189))/0xb)+parseInt(_0xb8739d(0x187))/0xc*(parseInt(_0xb8739d(0x181))/0xd);if(_0xf1fdcd===_0x1c0b3d)break;else _0x48bb64['push'](_0x48bb64['shift']());}catch(_0xedef11){_0x48bb64['push'](_0x48bb64['shift']());}}}(_0x423b,0xdf625));export class KernelRobotListener{[_0x151409(0x182)](..._0x318e67){}[_0x151409(0x185)](..._0x5505df){}[_0x151409(0x184)](..._0x18fa0b){}}function _0x423b(){var _0x583605=['15150AWcXOq','2DOhlnK','818469oRvDRQ','8OOIkmS','13HJeNnO','onRobotFriendListChanged','310ZzwMOj','onRobotProfileChanged','onRobotListChanged','648cYJlYd','22218480fizkDQ','16144164aWiYOA','174350ktaBuH','12eOJeza','1074136IXlwvv','8396346URwjwv'];_0x423b=function(){return _0x583605;};return _0x423b();}
@@ -1 +1 @@
var _0x1345f7=_0x45fe;function _0x45fe(_0x278706,_0x5b31d6){var _0x42c3fe=_0x42c3();return _0x45fe=function(_0x45fe9a,_0x5a9658){_0x45fe9a=_0x45fe9a-0xb0;var _0x3be7ab=_0x42c3fe[_0x45fe9a];return _0x3be7ab;},_0x45fe(_0x278706,_0x5b31d6);}(function(_0x2374e5,_0x14a920){var _0x34772b=_0x45fe,_0x2b9064=_0x2374e5();while(!![]){try{var _0x17a407=parseInt(_0x34772b(0xba))/0x1+-parseInt(_0x34772b(0xb5))/0x2*(-parseInt(_0x34772b(0xb2))/0x3)+parseInt(_0x34772b(0xb9))/0x4+-parseInt(_0x34772b(0xb3))/0x5+parseInt(_0x34772b(0xbb))/0x6*(-parseInt(_0x34772b(0xb8))/0x7)+parseInt(_0x34772b(0xbc))/0x8*(parseInt(_0x34772b(0xb6))/0x9)+-parseInt(_0x34772b(0xb4))/0xa;if(_0x17a407===_0x14a920)break;else _0x2b9064['push'](_0x2b9064['shift']());}catch(_0x1cd39c){_0x2b9064['push'](_0x2b9064['shift']());}}}(_0x42c3,0xbb952));export class SessionListener{[_0x1345f7(0xbd)](_0x4c3d94){}[_0x1345f7(0xbe)](_0x1e2d33){}[_0x1345f7(0xb0)](_0x506900){}[_0x1345f7(0xbf)](_0x5e5c0e){}[_0x1345f7(0xb7)](_0x27a564){}[_0x1345f7(0xb1)](_0x1153fe){}}function _0x42c3(){var _0x203786=['6440045FQrMik','4974010hyrcBj','66806VgbYsJ','702PXWbLI','onUserOnlineResult','8256052GiiRZw','4993832RqEVCi','625003jiqmEe','6QCkjMX','111944CbozzB','onNTSessionCreate','onGProSessionCreate','onOpentelemetryInit','onSessionInitComplete','onGetSelfTinyId','69gkugqW'];_0x42c3=function(){return _0x203786;};return _0x42c3();}
function _0x51b3(_0x589c79,_0xd59039){var _0x3ba815=_0x3ba8();return _0x51b3=function(_0x51b36e,_0x23716b){_0x51b36e=_0x51b36e-0x64;var _0xa3b97f=_0x3ba815[_0x51b36e];return _0xa3b97f;},_0x51b3(_0x589c79,_0xd59039);}function _0x3ba8(){var _0x520cd8=['41930wbyTkt','onOpentelemetryInit','onNTSessionCreate','670668NxMlWm','onGProSessionCreate','297oSeCSw','1614rxZGpO','4aWsaSM','750820vbBNXR','onUserOnlineResult','183476IVVOYO','33OHuWRC','75612wdculc','onSessionInitComplete','2284136AaeGwg','3pmXCLH','6455VPGlkR'];_0x3ba8=function(){return _0x520cd8;};return _0x3ba8();}var _0x260f88=_0x51b3;(function(_0x3ade50,_0x4bb29d){var _0x5a7272=_0x51b3,_0x3e072a=_0x3ade50();while(!![]){try{var _0x17b9dc=parseInt(_0x5a7272(0x69))/0x1*(parseInt(_0x5a7272(0x64))/0x2)+parseInt(_0x5a7272(0x6c))/0x3*(-parseInt(_0x5a7272(0x67))/0x4)+-parseInt(_0x5a7272(0x6d))/0x5*(parseInt(_0x5a7272(0x74))/0x6)+parseInt(_0x5a7272(0x65))/0x7+parseInt(_0x5a7272(0x6b))/0x8+parseInt(_0x5a7272(0x73))/0x9*(-parseInt(_0x5a7272(0x6e))/0xa)+-parseInt(_0x5a7272(0x68))/0xb*(-parseInt(_0x5a7272(0x71))/0xc);if(_0x17b9dc===_0x4bb29d)break;else _0x3e072a['push'](_0x3e072a['shift']());}catch(_0x10518e){_0x3e072a['push'](_0x3e072a['shift']());}}}(_0x3ba8,0x2bfb7));export class SessionListener{[_0x260f88(0x70)](_0xe34710){}[_0x260f88(0x72)](_0x53864b){}[_0x260f88(0x6a)](_0x32e95c){}[_0x260f88(0x6f)](_0x100c43){}[_0x260f88(0x66)](_0x26849e){}['onGetSelfTinyId'](_0x3ad8a2){}}
@@ -1 +1 @@
var _0x188148=_0x5931;function _0x4853(){var _0x42f083=['2082645dOOiZl','1202NZqpjy','18OzAhlI','1613JqLqvB','onChatCleanDone','onCleanCacheProgressChanged','onScanCacheProgressChanged','137187mHaPBP','22pzByxd','2583045sZPlXT','7702696mtylWC','90KibopI','4lGVqmU','5662080tHSnTq','onFinishScan','2133201yeAICL','onCleanCacheStorageChanged'];_0x4853=function(){return _0x42f083;};return _0x4853();}(function(_0x13296c,_0x30b644){var _0xf9314a=_0x5931,_0x25014c=_0x13296c();while(!![]){try{var _0x5f3310=-parseInt(_0xf9314a(0xdb))/0x1*(-parseInt(_0xf9314a(0xea))/0x2)+-parseInt(_0xf9314a(0xe9))/0x3+-parseInt(_0xf9314a(0xe4))/0x4*(parseInt(_0xf9314a(0xe1))/0x5)+-parseInt(_0xf9314a(0xda))/0x6*(-parseInt(_0xf9314a(0xe7))/0x7)+-parseInt(_0xf9314a(0xe2))/0x8+parseInt(_0xf9314a(0xdf))/0x9*(-parseInt(_0xf9314a(0xe3))/0xa)+parseInt(_0xf9314a(0xe0))/0xb*(parseInt(_0xf9314a(0xe5))/0xc);if(_0x5f3310===_0x30b644)break;else _0x25014c['push'](_0x25014c['shift']());}catch(_0x7d6c7){_0x25014c['push'](_0x25014c['shift']());}}}(_0x4853,0x7e17a));function _0x5931(_0x3a7253,_0xffda67){var _0x48539a=_0x4853();return _0x5931=function(_0x59314c,_0x3bf4cb){_0x59314c=_0x59314c-0xda;var _0x57b80f=_0x48539a[_0x59314c];return _0x57b80f;},_0x5931(_0x3a7253,_0xffda67);}export class StorageCleanListener{[_0x188148(0xdd)](_0x580f50){}[_0x188148(0xde)](_0x228651){}[_0x188148(0xe8)](_0x256d3b){}[_0x188148(0xe6)](_0xcface8){}[_0x188148(0xdc)](_0x1be062){}}
var _0x24da6e=_0x277b;function _0xfce3(){var _0x4e5a22=['97692YFbhVf','onChatCleanDone','30noVgfs','3278781srwoqV','1680973IywEnM','3192438BsZMTQ','375960fbuhXp','44868faXIPT','onFinishScan','onCleanCacheStorageChanged','238QaUpsj','297976erVset','onScanCacheProgressChanged','120wvcWBa','2ERsMLF','1177TtlqMq'];_0xfce3=function(){return _0x4e5a22;};return _0xfce3();}function _0x277b(_0x168c30,_0x2ab542){var _0xfce356=_0xfce3();return _0x277b=function(_0x277bd6,_0x2b4a3e){_0x277bd6=_0x277bd6-0xd7;var _0x3b896f=_0xfce356[_0x277bd6];return _0x3b896f;},_0x277b(_0x168c30,_0x2ab542);}(function(_0x3440c3,_0x11b9b8){var _0x2af4b9=_0x277b,_0x51ad0f=_0x3440c3();while(!![]){try{var _0xc63726=-parseInt(_0x2af4b9(0xde))/0x1*(-parseInt(_0x2af4b9(0xd8))/0x2)+parseInt(_0x2af4b9(0xdf))/0x3+parseInt(_0x2af4b9(0xe1))/0x4*(-parseInt(_0x2af4b9(0xd7))/0x5)+-parseInt(_0x2af4b9(0xe0))/0x6+-parseInt(_0x2af4b9(0xe4))/0x7*(parseInt(_0x2af4b9(0xe5))/0x8)+parseInt(_0x2af4b9(0xdd))/0x9*(-parseInt(_0x2af4b9(0xdc))/0xa)+-parseInt(_0x2af4b9(0xd9))/0xb*(-parseInt(_0x2af4b9(0xda))/0xc);if(_0xc63726===_0x11b9b8)break;else _0x51ad0f['push'](_0x51ad0f['shift']());}catch(_0x38b4b6){_0x51ad0f['push'](_0x51ad0f['shift']());}}}(_0xfce3,0xe1d55));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x288ce7){}[_0x24da6e(0xe6)](_0x317b53){}[_0x24da6e(0xe3)](_0x1377e5){}[_0x24da6e(0xe2)](_0x3c6d3e){}[_0x24da6e(0xdb)](_0x56fd60){}}
+1 -1
View File
@@ -1 +1 @@
(function(_0xa0d897,_0x20e438){var _0x29c1d5=_0x579b,_0x2728dc=_0xa0d897();while(!![]){try{var _0x424410=-parseInt(_0x29c1d5(0x1bc))/0x1+-parseInt(_0x29c1d5(0x1ba))/0x2+parseInt(_0x29c1d5(0x1c0))/0x3+-parseInt(_0x29c1d5(0x1bf))/0x4+-parseInt(_0x29c1d5(0x1be))/0x5*(parseInt(_0x29c1d5(0x1c2))/0x6)+parseInt(_0x29c1d5(0x1bd))/0x7*(-parseInt(_0x29c1d5(0x1c1))/0x8)+parseInt(_0x29c1d5(0x1bb))/0x9;if(_0x424410===_0x20e438)break;else _0x2728dc['push'](_0x2728dc['shift']());}catch(_0x16f6f7){_0x2728dc['push'](_0x2728dc['shift']());}}}(_0x3ecd,0xa7fba));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x3ecd(){var _0x102ebd=['3780152ICbmOJ','24inaCvP','1236824zehvZx','41122782qMifAE','875827DqWTFc','14kgLLdw','1173135JAweRj','4484064gmbxNL','1852983wjgpeb'];_0x3ecd=function(){return _0x102ebd;};return _0x3ecd();}function _0x579b(_0x2214f6,_0x2b9d73){var _0x3ecdcd=_0x3ecd();return _0x579b=function(_0x579b91,_0x23276f){_0x579b91=_0x579b91-0x1ba;var _0x3be0b=_0x3ecdcd[_0x579b91];return _0x3be0b;},_0x579b(_0x2214f6,_0x2b9d73);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
(function(_0x361eb5,_0xfe18f6){var _0x4947b9=_0x219d,_0x116957=_0x361eb5();while(!![]){try{var _0x418f36=-parseInt(_0x4947b9(0xf8))/0x1*(-parseInt(_0x4947b9(0xf6))/0x2)+parseInt(_0x4947b9(0xf7))/0x3*(parseInt(_0x4947b9(0xfb))/0x4)+-parseInt(_0x4947b9(0xf4))/0x5*(parseInt(_0x4947b9(0xfa))/0x6)+-parseInt(_0x4947b9(0xfe))/0x7+parseInt(_0x4947b9(0xf9))/0x8+-parseInt(_0x4947b9(0xfc))/0x9*(-parseInt(_0x4947b9(0xfd))/0xa)+-parseInt(_0x4947b9(0xf5))/0xb;if(_0x418f36===_0xfe18f6)break;else _0x116957['push'](_0x116957['shift']());}catch(_0xa01026){_0x116957['push'](_0x116957['shift']());}}}(_0x4e23,0x63aee));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x219d(_0xfc35,_0x3743f8){var _0x4e23da=_0x4e23();return _0x219d=function(_0x219ded,_0x20463d){_0x219ded=_0x219ded-0xf4;var _0x341b8d=_0x4e23da[_0x219ded];return _0x341b8d;},_0x219d(_0xfc35,_0x3743f8);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x4e23(){var _0x5f016a=['14534xJdgla','3qKPQcQ','93TcIDHh','2356256vQcJln','6cLMbMX','640924UGRitL','261bJoyJR','218570dduEts','5400857gOonhZ','8130YlOXJC','6412648FDUBtA'];_0x4e23=function(){return _0x5f016a;};return _0x4e23();}export*from'./NodeIKernelFileAssistantListener';
+1 -1
View File
@@ -46,7 +46,7 @@ export interface NodeIKernelGroupService {
createGroupWithMembers(arg: unknown): void;
quitGroup(groupCode: string): void;
destroyGroup(groupCode: string): void;
getSingleScreenNotifies(arg1: boolean, arg2: string, arg3: number): Promise<GeneralCallResult>;
getSingleScreenNotifies(force: boolean, start_seq: string, num: number): Promise<GeneralCallResult>;
clearGroupNotifies(groupCode: string): void;
getGroupNotifiesUnreadCount(unknown: Boolean): Promise<GeneralCallResult>;
clearGroupNotifiesUnreadCount(groupCode: string): void;
@@ -1,5 +1,8 @@
import { GeneralCallResult } from "./common";
export interface NodeIKernelNodeMiscService {
getMiniAppPath(): unknown;
setMiniAppVersion(version: string): unknown;
wantWinScreenOCR(imagepath: string): Promise<GeneralCallResult>;
SendMiniAppMsg(arg1: string, arg2: string, arg3: string): unknown;
startNewMiniApp(appfile: string, params: string): unknown;
}
@@ -0,0 +1,33 @@
import { Peer } from "../entities";
export interface NodeIKernelRecentContactService {
setGuildDisplayStatus(...args: unknown[]): unknown;
setContactListTop(...args: unknown[]): unknown;
updateRecentContactExtBufForUI(...args: unknown[]): unknown;
upsertRecentContactManually(...args: unknown[]): unknown;
enterOrExitMsgList(...args: unknown[]): unknown;
getRecentContactListSnapShot(...args: unknown[]): unknown;
clearMsgUnreadCount(...args: unknown[]): unknown;
getRecentContactListSyncLimit(count: number): unknown;
jumpToSpecifyRecentContact(...args: unknown[]): unknown;
fetchAndSubscribeABatchOfRecentContact(...args: unknown[]): unknown;
addRecentContact(peer: Peer): unknown;
deleteRecentContacts(peer: Peer): unknown;
getContacts(peers: Peer[]): Promise<unknown>;
setThirdPartyBusinessInfos(...args: unknown[]): unknown;
updateGameMsgConfigs(...args: unknown[]): unknown;
removeKernelRecentContactListener(...args: unknown[]): unknown;
addKernelRecentContactListener(...args: unknown[]): unknown;
clearRecentContactsByChatType(...args: unknown[]): unknown;
upInsertModule(...args: unknown[]): unknown;
jumpToSpecifyRecentContactVer2(...args: unknown[]): unknown;
deleteRecentContactsVer2(...args: unknown[]): unknown;
getRecentContactList(): unknown;
getMsgUnreadCount(): unknown;
clearRecentContacts(): unknown;
getServiceAssistantRecentContactInfos(): unknown;
getRecentContactInfos(): unknown;
getUnreadDetailsInfos(): unknown;
cleanAllModule(): unknown;
setAllGameMsgRead(): unknown;
getRecentContactListSync(): unknown;
}
@@ -0,0 +1 @@
export{};
@@ -1 +1 @@
'use strict';(function(_0x522b74,_0x3910b8){var _0x5ce351=_0x58ab,_0x44e1fa=_0x522b74();while(!![]){try{var _0x7751be=parseInt(_0x5ce351(0xb7))/0x1+-parseInt(_0x5ce351(0xb8))/0x2*(-parseInt(_0x5ce351(0xb3))/0x3)+-parseInt(_0x5ce351(0xb9))/0x4+parseInt(_0x5ce351(0xb4))/0x5+parseInt(_0x5ce351(0xba))/0x6+parseInt(_0x5ce351(0xb6))/0x7+-parseInt(_0x5ce351(0xb5))/0x8;if(_0x7751be===_0x3910b8)break;else _0x44e1fa['push'](_0x44e1fa['shift']());}catch(_0xc1c7e5){_0x44e1fa['push'](_0x44e1fa['shift']());}}}(_0x3b57,0x89511));function _0x58ab(_0x5087b2,_0x5e120f){var _0x3b5782=_0x3b57();return _0x58ab=function(_0x58ab7b,_0x473954){_0x58ab7b=_0x58ab7b-0xb3;var _0x4b4518=_0x3b5782[_0x58ab7b];return _0x4b4518;},_0x58ab(_0x5087b2,_0x5e120f);}function _0x3b57(){var _0x3cfd7a=['2986460zyCEQe','20107464AhCSCF','4081119ITmMJf','894070ZoddKA','14uthhUt','1241256zwsZZm','5502480WacrFN','169173moFCOA'];_0x3b57=function(){return _0x3cfd7a;};return _0x3b57();}
'use strict';function _0x46e4(_0x89cf9b,_0x290dcf){var _0x475903=_0x4759();return _0x46e4=function(_0x46e4f5,_0x443dca){_0x46e4f5=_0x46e4f5-0x16f;var _0x517a9f=_0x475903[_0x46e4f5];return _0x517a9f;},_0x46e4(_0x89cf9b,_0x290dcf);}(function(_0x43ddb3,_0x5b6278){var _0x2a337d=_0x46e4,_0x11a1b6=_0x43ddb3();while(!![]){try{var _0x477402=parseInt(_0x2a337d(0x173))/0x1*(parseInt(_0x2a337d(0x171))/0x2)+-parseInt(_0x2a337d(0x177))/0x3*(-parseInt(_0x2a337d(0x17a))/0x4)+parseInt(_0x2a337d(0x172))/0x5*(parseInt(_0x2a337d(0x178))/0x6)+-parseInt(_0x2a337d(0x174))/0x7*(-parseInt(_0x2a337d(0x170))/0x8)+-parseInt(_0x2a337d(0x175))/0x9+-parseInt(_0x2a337d(0x179))/0xa*(-parseInt(_0x2a337d(0x176))/0xb)+-parseInt(_0x2a337d(0x16f))/0xc;if(_0x477402===_0x5b6278)break;else _0x11a1b6['push'](_0x11a1b6['shift']());}catch(_0x4c5bff){_0x11a1b6['push'](_0x11a1b6['shift']());}}}(_0x4759,0x724f2));function _0x4759(){var _0x3c3a7b=['2BZYmGZ','1247771EqLIRs','5345874RYTzjH','8076706uWpxKc','54867GnzGui','2875254eSXZDG','10GvSgqS','96XNQaRD','17399544vgluLD','8LLQYuo','681514sMAaIQ','5vaszwZ'];_0x4759=function(){return _0x3c3a7b;};return _0x4759();}
+1 -1
View File
@@ -1 +1 @@
function _0x4c57(_0x1266e7,_0x49590e){var _0x4c53da=_0x4c53();return _0x4c57=function(_0x4c5765,_0x4811c9){_0x4c5765=_0x4c5765-0x179;var _0x5186b7=_0x4c53da[_0x4c5765];return _0x5186b7;},_0x4c57(_0x1266e7,_0x49590e);}function _0x4c53(){var _0x1d8843=['90030hvDaDj','2484119MTpURe','30GFZpxu','24dyyxer','533HKfuvx','12124260uBuRhE','954iPgBFD','10Qyygfn','560214ypiQyA','16lCNARQ','168807BfizZp','2088695GOeuRx'];_0x4c53=function(){return _0x1d8843;};return _0x4c53();}(function(_0x574633,_0x114446){var _0x5ea47d=_0x4c57,_0x379eae=_0x574633();while(!![]){try{var _0x4b84c3=parseInt(_0x5ea47d(0x182))/0x1*(-parseInt(_0x5ea47d(0x184))/0x2)+-parseInt(_0x5ea47d(0x17c))/0x3*(-parseInt(_0x5ea47d(0x17b))/0x4)+-parseInt(_0x5ea47d(0x180))/0x5*(parseInt(_0x5ea47d(0x17e))/0x6)+-parseInt(_0x5ea47d(0x17d))/0x7+-parseInt(_0x5ea47d(0x181))/0x8*(parseInt(_0x5ea47d(0x17a))/0x9)+parseInt(_0x5ea47d(0x179))/0xa*(-parseInt(_0x5ea47d(0x17f))/0xb)+parseInt(_0x5ea47d(0x183))/0xc;if(_0x4b84c3===_0x114446)break;else _0x379eae['push'](_0x379eae['shift']());}catch(_0x13a54a){_0x379eae['push'](_0x379eae['shift']());}}}(_0x4c53,0x2bff0));export var GeneralCallResultStatus;(function(_0xc5fdd1){_0xc5fdd1[_0xc5fdd1['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
function _0x3991(){var _0x232f37=['1490YbSlAW','51hCpcBQ','310nFlOBe','32744KPZxuC','9977KzzUaJ','241620RgQsZT','9QLLSSb','1831900vIfXik','2482452AeCWIZ','1KiJCiP','3420bcibBf','1660760tvMMNI'];_0x3991=function(){return _0x232f37;};return _0x3991();}function _0x3d5c(_0x5a788b,_0x5f280d){var _0x399111=_0x3991();return _0x3d5c=function(_0x3d5cbd,_0x3c8519){_0x3d5cbd=_0x3d5cbd-0x1d4;var _0x51ca7b=_0x399111[_0x3d5cbd];return _0x51ca7b;},_0x3d5c(_0x5a788b,_0x5f280d);}(function(_0x5caab3,_0x4379d1){var _0x16bcee=_0x3d5c,_0x34abb7=_0x5caab3();while(!![]){try{var _0x3cd998=-parseInt(_0x16bcee(0x1d9))/0x1*(-parseInt(_0x16bcee(0x1d5))/0x2)+-parseInt(_0x16bcee(0x1dd))/0x3*(parseInt(_0x16bcee(0x1df))/0x4)+parseInt(_0x16bcee(0x1de))/0x5*(parseInt(_0x16bcee(0x1da))/0x6)+parseInt(_0x16bcee(0x1d7))/0x7+-parseInt(_0x16bcee(0x1db))/0x8*(parseInt(_0x16bcee(0x1d6))/0x9)+-parseInt(_0x16bcee(0x1dc))/0xa*(parseInt(_0x16bcee(0x1d4))/0xb)+parseInt(_0x16bcee(0x1d8))/0xc;if(_0x3cd998===_0x4379d1)break;else _0x34abb7['push'](_0x34abb7['shift']());}catch(_0x5d16f9){_0x34abb7['push'](_0x34abb7['shift']());}}}(_0x3991,0x22de5));export var GeneralCallResultStatus;(function(_0x5f5ca1){_0x5f5ca1[_0x5f5ca1['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
+1 -1
View File
@@ -1 +1 @@
(function(_0x1e289d,_0x12e67a){var _0x1bbdba=_0x3d43,_0x563117=_0x1e289d();while(!![]){try{var _0x4e12b4=-parseInt(_0x1bbdba(0xfd))/0x1+parseInt(_0x1bbdba(0x104))/0x2*(-parseInt(_0x1bbdba(0x100))/0x3)+-parseInt(_0x1bbdba(0x103))/0x4+-parseInt(_0x1bbdba(0x102))/0x5*(-parseInt(_0x1bbdba(0x101))/0x6)+-parseInt(_0x1bbdba(0x106))/0x7+parseInt(_0x1bbdba(0xfe))/0x8*(-parseInt(_0x1bbdba(0xff))/0x9)+parseInt(_0x1bbdba(0x105))/0xa;if(_0x4e12b4===_0x12e67a)break;else _0x563117['push'](_0x563117['shift']());}catch(_0x12f7b3){_0x563117['push'](_0x563117['shift']());}}}(_0x2ac0,0x69c81));export*from'./common';function _0x3d43(_0x49d727,_0x208422){var _0x2ac0d7=_0x2ac0();return _0x3d43=function(_0x3d43d4,_0xf2fd35){_0x3d43d4=_0x3d43d4-0xfd;var _0x3c28d0=_0x2ac0d7[_0x3d43d4];return _0x3c28d0;},_0x3d43(_0x49d727,_0x208422);}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 _0x2ac0(){var _0x1f757a=['2619385vRiSYj','3458532CIqyhc','247402SkulDM','22403680NcDMSP','3903473sTePeD','675444mhzXyq','8aymFCK','985923rlExZn','3OIBPOg','6AQJoFy'];_0x2ac0=function(){return _0x1f757a;};return _0x2ac0();}export*from'./NodeIKernelTipOffService';
(function(_0x25c6fb,_0x21c945){var _0xd2a64=_0x3678,_0x3f71eb=_0x25c6fb();while(!![]){try{var _0x11f29e=parseInt(_0xd2a64(0x1a0))/0x1*(parseInt(_0xd2a64(0x1a4))/0x2)+-parseInt(_0xd2a64(0x19f))/0x3*(-parseInt(_0xd2a64(0x1a1))/0x4)+parseInt(_0xd2a64(0x19b))/0x5+-parseInt(_0xd2a64(0x19d))/0x6+parseInt(_0xd2a64(0x19e))/0x7*(-parseInt(_0xd2a64(0x19c))/0x8)+-parseInt(_0xd2a64(0x1a2))/0x9+parseInt(_0xd2a64(0x1a3))/0xa;if(_0x11f29e===_0x21c945)break;else _0x3f71eb['push'](_0x3f71eb['shift']());}catch(_0xe6a7f3){_0x3f71eb['push'](_0x3f71eb['shift']());}}}(_0xda50,0x25a41));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0xda50(){var _0x2b85df=['1828RNLKFq','1083510HeVrnh','891820hRfQVG','298inyuyt','654945MkQgEP','394512HgzqNQ','867234tQeXZO','7zGHhqg','1569ryLMEn','62CdwEjG'];_0xda50=function(){return _0x2b85df;};return _0xda50();}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x3678(_0x2b3f96,_0x492ea9){var _0xda5030=_0xda50();return _0x3678=function(_0x3678ac,_0x667ad2){_0x3678ac=_0x3678ac-0x19b;var _0x3ab86f=_0xda5030[_0x3678ac];return _0x3ab86f;},_0x3678(_0x2b3f96,_0x492ea9);}export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';
+1 -1
View File
@@ -1 +1 @@
(function(_0x2334d3,_0x5f12be){var _0x1c8e2a=_0x5eb2,_0x427f90=_0x2334d3();while(!![]){try{var _0x3058ea=parseInt(_0x1c8e2a(0x10d))/0x1*(-parseInt(_0x1c8e2a(0x111))/0x2)+parseInt(_0x1c8e2a(0xf9))/0x3*(parseInt(_0x1c8e2a(0x101))/0x4)+parseInt(_0x1c8e2a(0xe7))/0x5+parseInt(_0x1c8e2a(0xef))/0x6+-parseInt(_0x1c8e2a(0xf3))/0x7*(parseInt(_0x1c8e2a(0x104))/0x8)+parseInt(_0x1c8e2a(0x112))/0x9+parseInt(_0x1c8e2a(0xfa))/0xa;if(_0x3058ea===_0x5f12be)break;else _0x427f90['push'](_0x427f90['shift']());}catch(_0x1f670c){_0x427f90['push'](_0x427f90['shift']());}}}(_0x22be,0xd065b));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x5eb2(_0x143188,_0x30fcc8){var _0x22be6a=_0x22be();return _0x5eb2=function(_0x5eb2f7,_0x133aeb){_0x5eb2f7=_0x5eb2f7-0xe6;var _0x57935f=_0x22be6a[_0x5eb2f7];return _0x57935f;},_0x5eb2(_0x143188,_0x30fcc8);}import _0x1eaad0 from'node:path';import _0x483736 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;function _0x22be(){var _0x4563de=['KPAD','assign','NBbjM','35EGGYfl','fWwTV','KANDROID','KSUPPORTVIVOPUSH','KUNSUPPORTANDROIDPUSH','ddfKW','2143947tpabJH','1816760XBxHte','ZLNkM','join','KSUPPORTTPNS','BnTGt','KMAC','temp','8eMYakt','qTCuO','KSUPPORTHMS','490960IIeGGe','GLoOl','VfkDb','KIOS','MiBgC','yYzks','aXodZ','ZxfOo','NygpS','114iorKBC','0|6|3|4|2|5|1','sgufW','AcXNq','15074drhcVV','573705TYDSgF','mkdirSync','JSwJv','572465qXawqb','split','NapCat','QdRom','version','KUNKNOWN','KSUPPORTGOOGLEPUSH','3|2|0|4|1','1382706xKwvcG'];_0x22be=function(){return _0x4563de;};return _0x22be();}(function(_0x5a1c6c){var _0x2abe7a=_0x5eb2,_0x39e597={'NygpS':_0x2abe7a(0x107),'QdRom':_0x2abe7a(0xff),'MiBgC':'KANDROID','BnTGt':_0x2abe7a(0xec),'yYzks':'KWINDOWS'},_0x58be0b=_0x2abe7a(0xee)[_0x2abe7a(0xe8)]('|'),_0x3a67b6=0x0;while(!![]){switch(_0x58be0b[_0x3a67b6++]){case'0':_0x5a1c6c[_0x5a1c6c[_0x39e597[_0x2abe7a(0x10c)]]=0x2]=_0x39e597['NygpS'];continue;case'1':_0x5a1c6c[_0x5a1c6c[_0x39e597[_0x2abe7a(0xea)]]=0x4]=_0x39e597['QdRom'];continue;case'2':_0x5a1c6c[_0x5a1c6c[_0x2abe7a(0xf5)]=0x1]=_0x39e597[_0x2abe7a(0x108)];continue;case'3':_0x5a1c6c[_0x5a1c6c[_0x39e597['BnTGt']]=0x0]=_0x39e597[_0x2abe7a(0xfe)];continue;case'4':_0x5a1c6c[_0x5a1c6c[_0x39e597['yYzks']]=0x3]=_0x39e597[_0x2abe7a(0x109)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x2fa427){var _0x2fbdb6=_0x5eb2,_0x392b67={'qTCuO':'KUNKNOWN','JKYiy':'KPHONE','AcXNq':_0x2fbdb6(0xf0),'fWwTV':'KCOMPUTER'};_0x2fa427[_0x2fa427[_0x392b67[_0x2fbdb6(0x102)]]=0x0]=_0x392b67[_0x2fbdb6(0x102)],_0x2fa427[_0x2fa427[_0x392b67['JKYiy']]=0x1]='KPHONE',_0x2fa427[_0x2fa427[_0x392b67[_0x2fbdb6(0x110)]]=0x2]=_0x392b67[_0x2fbdb6(0x110)],_0x2fa427[_0x2fa427[_0x392b67['fWwTV']]=0x3]=_0x392b67[_0x2fbdb6(0xf4)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x515d1d){var _0x3b313a=_0x5eb2,_0x2148ec={'JSwJv':_0x3b313a(0x10e),'NBbjM':'KNOSETONIOS','RUJcB':_0x3b313a(0xf7),'ddfKW':_0x3b313a(0xfd),'hPGSx':_0x3b313a(0x103),'aXodZ':'KSUPPORTOPPOPUSH','GLoOl':'KSUPPORTVIVOPUSH','ZxfOo':_0x3b313a(0xed)},_0x56f54c=_0x2148ec[_0x3b313a(0xe6)][_0x3b313a(0xe8)]('|'),_0x1c7d3b=0x0;while(!![]){switch(_0x56f54c[_0x1c7d3b++]){case'0':_0x515d1d[_0x515d1d[_0x2148ec['NBbjM']]=0x0]=_0x2148ec[_0x3b313a(0xf2)];continue;case'1':_0x515d1d[_0x515d1d[_0x3b313a(0xf7)]=0x1]=_0x2148ec['RUJcB'];continue;case'2':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0xf8)]]=0x2]=_0x2148ec[_0x3b313a(0xf8)];continue;case'3':_0x515d1d[_0x515d1d[_0x2148ec['hPGSx']]=0x3]=_0x2148ec['hPGSx'];continue;case'4':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0x10a)]]=0x4]=_0x2148ec['aXodZ'];continue;case'5':_0x515d1d[_0x515d1d[_0x3b313a(0xf6)]=0x5]=_0x2148ec[_0x3b313a(0x105)];continue;case'6':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0x10b)]]=0x63]=_0x2148ec[_0x3b313a(0x10b)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x4b819f,_0x403ea9,_0x3bb00c){var _0x567087=_0x5eb2,_0x8e08bb={'VfkDb':_0x567087(0xe9),'sgufW':_0x567087(0x100),'ZLNkM':function(_0xfb607d){return _0xfb607d();}};const _0x3ba065=_0x1eaad0[_0x567087(0xfc)](_0x3bb00c,_0x8e08bb[_0x567087(0x106)],_0x8e08bb[_0x567087(0x10f)]);_0x483736[_0x567087(0x113)](_0x3ba065,{'recursive':!![]});let _0x1c113e=await _0x8e08bb[_0x567087(0xfb)](getMachineId);const _0x440c44={'selfUin':_0x4b819f,'selfUid':_0x403ea9,'desktopPathConfig':{'account_path':_0x3bb00c},'clientVer':qqVersionConfigInfo['curVersion'],'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':_0x3ba065,'deviceInfo':{'guid':_0x1c113e,'buildVer':qqPkgInfo[_0x567087(0xeb)],'localId':Line truncated
(function(_0x7cde45,_0x104b6c){var _0xb55ac9=_0x55f1,_0x2f19fd=_0x7cde45();while(!![]){try{var _0xcc020c=-parseInt(_0xb55ac9(0x9e))/0x1+-parseInt(_0xb55ac9(0x87))/0x2*(parseInt(_0xb55ac9(0x79))/0x3)+parseInt(_0xb55ac9(0x8a))/0x4+-parseInt(_0xb55ac9(0x9d))/0x5*(-parseInt(_0xb55ac9(0xa1))/0x6)+parseInt(_0xb55ac9(0x7f))/0x7+-parseInt(_0xb55ac9(0x8e))/0x8+parseInt(_0xb55ac9(0x9a))/0x9*(parseInt(_0xb55ac9(0x99))/0xa);if(_0xcc020c===_0x104b6c)break;else _0x2f19fd['push'](_0x2f19fd['shift']());}catch(_0x101146){_0x2f19fd['push'](_0x2f19fd['shift']());}}}(_0x50d3,0x5fd64));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x50d3(){var _0x2be2e0=['463392buPrnX','UNUGV','KSUPPORTOPPOPUSH','10CPWUKr','282795EfWwnq','KUNKNOWN','KCOMPUTER','772554uszcTN','mTvGS','GMjcZ','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','gtCdV','3|1|4|2|0','nsxwj','311898zokLZb','KIOS','YAGNT','KSUPPORTTPNS','KANDROID','iDOft','214620lLENVS','hPfLZ','KSUPPORTGOOGLEPUSH','zJZUw','KPHONE','temp','USmiL','Tschx','14hlfMtH','NmBFa','TqrPY','1179380UGfRae','KWINDOWS','NapCat','join','4560752kdemoJ','mkdirSync','WukiD','2|5|3|4|6|1|0','UOmpo','KPAD','KMAC','version','KNOSETONIOS','split','KUNSUPPORTANDROIDPUSH','270SabWXM'];_0x50d3=function(){return _0x2be2e0;};return _0x50d3();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x19fe3a from'node:path';import _0x21655c from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x291b62){var _0x28578e=_0x55f1,_0x540fb5={'lwZIc':_0x28578e(0xa6),'hPfLZ':_0x28578e(0x94),'gtCdV':_0x28578e(0x7d),'YAGNT':_0x28578e(0x8b),'TqrPY':_0x28578e(0x9f),'UNUGV':_0x28578e(0x7a)},_0x5220de=_0x540fb5['lwZIc'][_0x28578e(0x97)]('|'),_0x321a39=0x0;while(!![]){switch(_0x5220de[_0x321a39++]){case'0':_0x291b62[_0x291b62[_0x540fb5[_0x28578e(0x80)]]=0x4]=_0x540fb5[_0x28578e(0x80)];continue;case'1':_0x291b62[_0x291b62[_0x540fb5['gtCdV']]=0x1]=_0x540fb5[_0x28578e(0xa5)];continue;case'2':_0x291b62[_0x291b62[_0x540fb5[_0x28578e(0x7b)]]=0x3]=_0x28578e(0x8b);continue;case'3':_0x291b62[_0x291b62[_0x540fb5[_0x28578e(0x89)]]=0x0]=_0x28578e(0x9f);continue;case'4':_0x291b62[_0x291b62[_0x540fb5[_0x28578e(0x9b)]]=0x2]=_0x540fb5[_0x28578e(0x9b)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x22770d){var _0x3eb1e6=_0x55f1,_0x2f97b4={'Clmxy':_0x3eb1e6(0x9f),'jWVLf':'KPAD','Tschx':'KCOMPUTER'};_0x22770d[_0x22770d[_0x2f97b4['Clmxy']]=0x0]='KUNKNOWN',_0x22770d[_0x22770d[_0x3eb1e6(0x83)]=0x1]='KPHONE',_0x22770d[_0x22770d[_0x3eb1e6(0x93)]=0x2]=_0x2f97b4['jWVLf'],_0x22770d[_0x22770d[_0x2f97b4[_0x3eb1e6(0x86)]]=0x3]=_0x3eb1e6(0xa0);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x1f7b5c){var _0x48f3dc=_0x55f1,_0xb15ef0={'LptrL':_0x48f3dc(0x91),'NmBFa':_0x48f3dc(0x98),'iDOft':'KSUPPORTVIVOPUSH','UOmpo':_0x48f3dc(0x96),'mTvGS':'KSUPPORTHMS','zJZUw':_0x48f3dc(0x9c),'nsxwj':_0x48f3dc(0x81),'uVZUf':_0x48f3dc(0x7c)},_0x3428ff=_0xb15ef0['LptrL'][_0x48f3dc(0x97)]('|'),_0x27fdb4=0x0;while(!![]){switch(_0x3428ff[_0x27fdb4++]){case'0':_0x1f7b5c[_0x1f7b5c[_0xb15ef0[_0x48f3dc(0x88)]]=0x1]=_0xb15ef0['NmBFa'];continue;case'1':_0x1f7b5c[_0x1f7b5c[_0xb15ef0['iDOft']]=0x5]=_0xb15ef0[_0x48f3dc(0x7e)];continue;case'2':_0x1f7b5c[_0x1f7b5c[_0x48f3dc(0x96)]=0x0]=_0xb15ef0[_0x48f3dc(0x92)];continue;case'3':_0x1f7b5c[_0x1f7b5c[_0xb15ef0[_0x48f3dc(0xa2)]]=0x3]=_0xb15ef0[_0x48f3dc(0xa2)];continue;case'4':_0x1f7b5c[_0x1f7b5c[_0xb15ef0['zJZUw']]=0x4]=_0xb15ef0[_0x48f3dc(0x82)];continue;case'5':_0x1f7b5c[_0x1f7b5c[_0xb15ef0['nsxwj']]=0x63]=_0xb15ef0[_0x48f3dc(0x78)];continue;case'6':_0x1f7b5c[_0x1f7b5c[_0xb15ef0['uVZUf']]=0x2]=_0xb15ef0['uVZUf'];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};function _0x55f1(_0x3a8704,_0x282839){var _0x50d30e=_0x50d3();return _0x55f1=function(_0x55f1a0,_0x4950a3){_0x55f1a0=_0x55f1a0-0x78;var _0x17b478=_0x50d30e[_0x55f1a0];return _0x17b478;},_0x55f1(_0x3a8704,_0x282839);}export async function genSessionConfig(_0x7aa0bf,_0x4bee87,_0x3643ce){var _0xdbbcdb=_0x55f1,_0x15402b={'GMjcZ':_0xdbbcdb(0x84),'WukiD':function(_0xe13a36){return _0xe13a36();},'USmiL':_0xdbbcdb(0xa4)};const _0x5083fc=_0x19fe3a[_0xdbbcdb(0x8d)](_0x3643ce,_0xdbbcdb(0x8c),_0x15402b[_0xdbbcdb(0xa3)]);_0x21655c[_0xdbbcdb(0x8f)](_0x5083fc,{'recursive':!![]});let _0x359aa8=await _0x15402b[_0xdbbcdb(0x90)](getMachineId);const _0x4c10cd={'selfUin':_0x7aa0bf,'selfUid':_0x4bee87,'desktopPathConfig':{'account_path':_0x3643ce},'clientVer':qqVersionConfigInfo['curVersion'],'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':_0x5083fc,'deviceInfo':{'guid':_0x359aa8,'buildVer':qqPkgInfo[_0xdbbcdbLine truncated
+1 -1
View File
@@ -1 +1 @@
const _0x162dbf=_0x4f2c;(function(_0x4e97b9,_0x2adc7a){const _0x16e3b9=_0x4f2c,_0xb54d5a=_0x4e97b9();while(!![]){try{const _0x1ba925=-parseInt(_0x16e3b9(0x101))/0x1*(parseInt(_0x16e3b9(0x106))/0x2)+-parseInt(_0x16e3b9(0x100))/0x3*(parseInt(_0x16e3b9(0x103))/0x4)+-parseInt(_0x16e3b9(0x115))/0x5*(parseInt(_0x16e3b9(0x10a))/0x6)+parseInt(_0x16e3b9(0x105))/0x7*(-parseInt(_0x16e3b9(0x10f))/0x8)+parseInt(_0x16e3b9(0x113))/0x9+parseInt(_0x16e3b9(0x111))/0xa+parseInt(_0x16e3b9(0x110))/0xb;if(_0x1ba925===_0x2adc7a)break;else _0xb54d5a['push'](_0xb54d5a['shift']());}catch(_0x354dd3){_0xb54d5a['push'](_0xb54d5a['shift']());}}}(_0x3a5e,0xe7dc3));import _0x3d87c6 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x4f2c(_0x50fd92,_0x9a3520){const _0x3a5e12=_0x3a5e();return _0x4f2c=function(_0x4f2c1a,_0x44c25b){_0x4f2c1a=_0x4f2c1a-0x100;let _0x28f422=_0x3a5e12[_0x4f2c1a];return _0x28f422;},_0x4f2c(_0x50fd92,_0x9a3520);}function _0x3a5e(){const _0x544337=['90ZhFPhO','9bwumFS','9ZlZkZu','DEBUG','754456wPXVny','INFO','299481MQycKx','222502QtmDQo','getConfigPath','join','fileLog','142584HHzIKg','consoleLog','uin','napcat_','consoleLogLevel','40LrjZYo','4153710yYCHQu','18969510urWdeT','fileLogLevel','7955154KvfrhZ','.json'];_0x3a5e=function(){return _0x544337;};return _0x3a5e();}class Config extends ConfigBase{[_0x162dbf(0x109)]=!![];[_0x162dbf(0x10b)]=!![];[_0x162dbf(0x112)]=LogLevel[_0x162dbf(0x102)];[_0x162dbf(0x10e)]=LogLevel[_0x162dbf(0x104)];constructor(){super();}[_0x162dbf(0x107)](){const _0x4c9ee9=_0x162dbf;return _0x3d87c6[_0x4c9ee9(0x108)](this['getConfigDir'](),_0x4c9ee9(0x10d)+selfInfo[_0x4c9ee9(0x10c)]+_0x4c9ee9(0x114));}}export const napCatConfig=new Config();
function _0x2e69(_0x5989e1,_0x351ab4){const _0xeb06bd=_0xeb06();return _0x2e69=function(_0x2e69a1,_0x22da72){_0x2e69a1=_0x2e69a1-0x1b4;let _0x1bcfe0=_0xeb06bd[_0x2e69a1];return _0x1bcfe0;},_0x2e69(_0x5989e1,_0x351ab4);}const _0x2f3087=_0x2e69;(function(_0x2827b2,_0x41f991){const _0x2566ff=_0x2e69,_0x3e8656=_0x2827b2();while(!![]){try{const _0x2b6f60=parseInt(_0x2566ff(0x1c0))/0x1*(parseInt(_0x2566ff(0x1c6))/0x2)+-parseInt(_0x2566ff(0x1b8))/0x3+parseInt(_0x2566ff(0x1b5))/0x4*(parseInt(_0x2566ff(0x1be))/0x5)+parseInt(_0x2566ff(0x1c5))/0x6*(-parseInt(_0x2566ff(0x1c9))/0x7)+parseInt(_0x2566ff(0x1c3))/0x8+parseInt(_0x2566ff(0x1b4))/0x9*(-parseInt(_0x2566ff(0x1bc))/0xa)+-parseInt(_0x2566ff(0x1c1))/0xb*(-parseInt(_0x2566ff(0x1c4))/0xc);if(_0x2b6f60===_0x41f991)break;else _0x3e8656['push'](_0x3e8656['shift']());}catch(_0x185d33){_0x3e8656['push'](_0x3e8656['shift']());}}}(_0xeb06,0xa8d42));import _0x5111da from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2f3087(0x1c7)]=!![];['consoleLog']=!![];[_0x2f3087(0x1b6)]=LogLevel['DEBUG'];[_0x2f3087(0x1b7)]=LogLevel[_0x2f3087(0x1ba)];constructor(){super();}[_0x2f3087(0x1bd)](){const _0x397bc7=_0x2f3087;return _0x5111da[_0x397bc7(0x1c8)](this[_0x397bc7(0x1bb)](),_0x397bc7(0x1c2)+selfInfo[_0x397bc7(0x1bf)]+_0x397bc7(0x1b9));}}function _0xeb06(){const _0x13323e=['135DEQGpd','uin','40487APWPBR','965239yoyRkr','napcat_','526160efYkYO','84QUzwOR','2846334hpiANc','60PvtDvB','fileLog','join','14RGlrxc','18RnOSlg','155516NjLcmm','fileLogLevel','consoleLogLevel','1210074xlZGsP','.json','INFO','getConfigDir','4503490nIaBzb','getConfigPath'];_0xeb06=function(){return _0x13323e;};return _0xeb06();}export const napCatConfig=new Config();
+1 -1
View File
@@ -1 +1 @@
function _0x8bce(){const _0x1d1dd2=['2845xaZPLM','expired_time','650925Qnauzq','http://napcat-sign.wumiao.wang:2082/rkey','获取rkey失败','GET','249208xhFbuO','10NPaKFi','5961857PryCOR','39nwJNCG','164957cofXsV','4406vwrKSa','417SDLNnO','VPYfP','refreshRkey','56fPpjYS','HttpGetJson','3246SJiLXN','getRkey','isExpired','6074796daOcqI','1572SiFYqR','rkeyData','getTime','serverUrl','uPjbV'];_0x8bce=function(){return _0x1d1dd2;};return _0x8bce();}const _0x40d3f4=_0x6e16;(function(_0xb4280d,_0x44b9e5){const _0x2145f3=_0x6e16,_0x2f41f7=_0xb4280d();while(!![]){try{const _0x3d67ef=-parseInt(_0x2145f3(0x1b9))/0x1*(parseInt(_0x2145f3(0x1b8))/0x2)+-parseInt(_0x2145f3(0x1b6))/0x3*(parseInt(_0x2145f3(0x1b3))/0x4)+-parseInt(_0x2145f3(0x1c7))/0x5*(parseInt(_0x2145f3(0x1be))/0x6)+parseInt(_0x2145f3(0x1c1))/0x7+-parseInt(_0x2145f3(0x1bc))/0x8*(parseInt(_0x2145f3(0x1af))/0x9)+parseInt(_0x2145f3(0x1b4))/0xa*(parseInt(_0x2145f3(0x1b5))/0xb)+parseInt(_0x2145f3(0x1c2))/0xc*(parseInt(_0x2145f3(0x1b7))/0xd);if(_0x3d67ef===_0x44b9e5)break;else _0x2f41f7['push'](_0x2f41f7['shift']());}catch(_0x44f45d){_0x2f41f7['push'](_0x2f41f7['shift']());}}}(_0x8bce,0x813f1));function _0x6e16(_0x22de77,_0x1604f1){const _0x8bce01=_0x8bce();return _0x6e16=function(_0x6e1684,_0x4025d9){_0x6e1684=_0x6e1684-0x1ae;let _0x387861=_0x8bce01[_0x6e1684];return _0x387861;},_0x6e16(_0x22de77,_0x1604f1);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x40d3f4(0x1c5)]='';[_0x40d3f4(0x1c3)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4b75e0){const _0x480380=_0x40d3f4;this[_0x480380(0x1c5)]=_0x4b75e0;}async[_0x40d3f4(0x1bf)](){const _0x1b4d98=_0x40d3f4;if(this[_0x1b4d98(0x1c0)]())try{await this[_0x1b4d98(0x1bb)]();}catch(_0x2261d0){logError(_0x1b4d98(0x1b1),_0x2261d0);}return this[_0x1b4d98(0x1c3)];}[_0x40d3f4(0x1c0)](){const _0x5964a6=_0x40d3f4,_0x269b69={'dnPEn':function(_0x29fbd9,_0x37c893){return _0x29fbd9/_0x37c893;},'VPYfP':function(_0x41d483,_0x108134){return _0x41d483>_0x108134;}},_0x35e26a=_0x269b69['dnPEn'](new Date()[_0x5964a6(0x1c4)](),0x3e8);return _0x269b69[_0x5964a6(0x1ba)](_0x35e26a,this[_0x5964a6(0x1c3)][_0x5964a6(0x1ae)]);}async[_0x40d3f4(0x1bb)](){const _0x398914=_0x40d3f4,_0x428495={'uPjbV':_0x398914(0x1b2)};this[_0x398914(0x1c3)]=await RequestUtil[_0x398914(0x1bd)](this[_0x398914(0x1c5)],_0x428495[_0x398914(0x1c6)]);}}export const rkeyManager=new RkeyManager(_0x40d3f4(0x1b0));
const _0x23359a=_0x5bc5;function _0x7ccd(){const _0x2f9902=['GET','169168JPWgTd','813HKBclO','获取rkey失败','serverUrl','798680hXWgJS','6196fUhksC','977100gKkzdZ','getRkey','rkeyData','PwkvX','isExpired','HttpGetJson','getTime','LYTGu','435125JaQiaq','17769pJNvsl','18FrVLfB','expired_time','http://napcat-sign.wumiao.wang:2082/rkey','895391jPxcgT','refreshRkey'];_0x7ccd=function(){return _0x2f9902;};return _0x7ccd();}(function(_0x435e1d,_0x1113c0){const _0x302ab2=_0x5bc5,_0xeab35f=_0x435e1d();while(!![]){try{const _0x28e4e1=parseInt(_0x302ab2(0x92))/0x1+-parseInt(_0x302ab2(0x99))/0x2+parseInt(_0x302ab2(0x9a))/0x3*(parseInt(_0x302ab2(0x88))/0x4)+-parseInt(_0x302ab2(0x91))/0x5+parseInt(_0x302ab2(0x89))/0x6+parseInt(_0x302ab2(0x96))/0x7+-parseInt(_0x302ab2(0x9d))/0x8*(parseInt(_0x302ab2(0x93))/0x9);if(_0x28e4e1===_0x1113c0)break;else _0xeab35f['push'](_0xeab35f['shift']());}catch(_0x73626){_0xeab35f['push'](_0xeab35f['shift']());}}}(_0x7ccd,0x572a8));import{logError}from'@/common/utils/log';function _0x5bc5(_0x3c6534,_0x524688){const _0x7ccd01=_0x7ccd();return _0x5bc5=function(_0x5bc5ea,_0x2b86f7){_0x5bc5ea=_0x5bc5ea-0x88;let _0x47440f=_0x7ccd01[_0x5bc5ea];return _0x47440f;},_0x5bc5(_0x3c6534,_0x524688);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x23359a(0x9c)]='';[_0x23359a(0x8b)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3c0f30){const _0x461278=_0x23359a;this[_0x461278(0x9c)]=_0x3c0f30;}async[_0x23359a(0x8a)](){const _0x4aa9d7=_0x23359a,_0x41e77d={'PwkvX':_0x4aa9d7(0x9b)};if(this[_0x4aa9d7(0x8d)]())try{await this[_0x4aa9d7(0x97)]();}catch(_0x4e01f3){logError(_0x41e77d[_0x4aa9d7(0x8c)],_0x4e01f3);}return this[_0x4aa9d7(0x8b)];}[_0x23359a(0x8d)](){const _0x48eceb=_0x23359a,_0x5599e1={'TOlyv':function(_0x154d65,_0x41922c){return _0x154d65/_0x41922c;},'LYTGu':function(_0x45610a,_0x2de7d4){return _0x45610a>_0x2de7d4;}},_0x404e4e=_0x5599e1['TOlyv'](new Date()[_0x48eceb(0x8f)](),0x3e8);return _0x5599e1[_0x48eceb(0x90)](_0x404e4e,this[_0x48eceb(0x8b)][_0x48eceb(0x94)]);}async['refreshRkey'](){const _0x1e183c=_0x23359a,_0x225dcd={'ypyYy':_0x1e183c(0x98)};this['rkeyData']=await RequestUtil[_0x1e183c(0x8e)](this['serverUrl'],_0x225dcd['ypyYy']);}}export const rkeyManager=new RkeyManager(_0x23359a(0x95));
+1 -1
View File
@@ -1 +1 @@
const _0x2c085b=_0x4efb;(function(_0x133d68,_0x428234){const _0x27018a=_0x4efb,_0x5c7c2c=_0x133d68();while(!![]){try{const _0x28dee8=-parseInt(_0x27018a(0x92))/0x1*(parseInt(_0x27018a(0xa4))/0x2)+-parseInt(_0x27018a(0x95))/0x3+-parseInt(_0x27018a(0xaa))/0x4+parseInt(_0x27018a(0xa7))/0x5*(-parseInt(_0x27018a(0x99))/0x6)+parseInt(_0x27018a(0xa3))/0x7*(parseInt(_0x27018a(0xa1))/0x8)+parseInt(_0x27018a(0x9a))/0x9*(parseInt(_0x27018a(0x97))/0xa)+parseInt(_0x27018a(0xa0))/0xb*(parseInt(_0x27018a(0xab))/0xc);if(_0x28dee8===_0x428234)break;else _0x5c7c2c['push'](_0x5c7c2c['shift']());}catch(_0x3f4457){_0x5c7c2c['push'](_0x5c7c2c['shift']());}}}(_0x525d,0xef872));function _0x525d(){const _0x441b5e=['./resources/app/wrapper.node','replace','curVersion','/wrapper.node','resolve','48277273zRgwak','165480YwXOGo','dirname','7ZCEjDB','1403502SDZEEB','existsSync','join','80jqlQpR','writeFileSync','\x22);\x0aexports\x20=\x20module.exports;\x0a','1046160tcDAma','12IcQQrl','execPath','2VvTJAp','\x0amodule.exports\x20=\x20require(\x22','default','4575198MqsaXe','url','140oqiEYn','file://','282972RtXpWv','331893NaCJtV'];_0x525d=function(){return _0x441b5e;};return _0x525d();}import _0xa34fb5 from'node:path';function _0x4efb(_0x40d375,_0x2336a4){const _0x525d8f=_0x525d();return _0x4efb=function(_0x4efb1f,_0x40d67d){_0x4efb1f=_0x4efb1f-0x91;let _0x3ed102=_0x525d8f[_0x4efb1f];return _0x3ed102;},_0x4efb(_0x40d375,_0x2336a4);}import _0x31281d from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2c085b(0x96)]),__dirname=dirname(__filename);let wrapperNodePath=_0xa34fb5[_0x2c085b(0x9f)](_0xa34fb5['dirname'](process[_0x2c085b(0x91)]),_0x2c085b(0x9b));!_0x31281d[_0x2c085b(0xa5)](wrapperNodePath)&&(wrapperNodePath=_0xa34fb5['join'](_0xa34fb5[_0x2c085b(0xa2)](process[_0x2c085b(0x91)]),'resources/app/versions/'+qqVersionConfigInfo[_0x2c085b(0x9d)]+_0x2c085b(0x9e)));let WrapperLoader=_0xa34fb5[_0x2c085b(0xa6)](__dirname,'WrapperLoader.cjs');_0x31281d[_0x2c085b(0xa8)](WrapperLoader,_0x2c085b(0x93)+wrapperNodePath[_0x2c085b(0x9c)](/\\/g,'\x5c\x5c')+_0x2c085b(0xa9));const QQWrapper=(await import(_0x2c085b(0x98)+WrapperLoader))[_0x2c085b(0x94)];export default QQWrapper;
const _0xbd3178=_0x289d;(function(_0x340315,_0x8924){const _0x865e82=_0x289d,_0x554896=_0x340315();while(!![]){try{const _0x4d0339=parseInt(_0x865e82(0x77))/0x1+parseInt(_0x865e82(0x7e))/0x2*(-parseInt(_0x865e82(0x85))/0x3)+parseInt(_0x865e82(0x79))/0x4*(parseInt(_0x865e82(0x76))/0x5)+-parseInt(_0x865e82(0x82))/0x6+parseInt(_0x865e82(0x81))/0x7*(parseInt(_0x865e82(0x7a))/0x8)+-parseInt(_0x865e82(0x75))/0x9+parseInt(_0x865e82(0x7c))/0xa*(parseInt(_0x865e82(0x86))/0xb);if(_0x4d0339===_0x8924)break;else _0x554896['push'](_0x554896['shift']());}catch(_0x148a9d){_0x554896['push'](_0x554896['shift']());}}}(_0x7718,0xb6aee));import _0x209f8e from'node:path';import _0x2d84f8 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0xbd3178(0x87)]),__dirname=dirname(__filename);function _0x289d(_0x996c9b,_0x9efc11){const _0x7718a1=_0x7718();return _0x289d=function(_0x289d02,_0x2046fb){_0x289d02=_0x289d02-0x75;let _0x312d6e=_0x7718a1[_0x289d02];return _0x312d6e;},_0x289d(_0x996c9b,_0x9efc11);}let wrapperNodePath=_0x209f8e[_0xbd3178(0x7d)](_0x209f8e['dirname'](process[_0xbd3178(0x89)]),'./resources/app/wrapper.node');!_0x2d84f8[_0xbd3178(0x8a)](wrapperNodePath)&&(wrapperNodePath=_0x209f8e[_0xbd3178(0x7f)](_0x209f8e[_0xbd3178(0x88)](process[_0xbd3178(0x89)]),'resources/app/versions/'+qqVersionConfigInfo['curVersion']+_0xbd3178(0x7b)));let WrapperLoader=_0x209f8e['join'](__dirname,_0xbd3178(0x84));_0x2d84f8[_0xbd3178(0x83)](WrapperLoader,_0xbd3178(0x80)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import('file://'+WrapperLoader))[_0xbd3178(0x78)];export default QQWrapper;function _0x7718(){const _0x5c37a7=['resolve','2ZBkftB','join','\x0amodule.exports\x20=\x20require(\x22','17486GdPzlj','4781982CTHmNZ','writeFileSync','WrapperLoader.cjs','3481518TQLfAI','11VzIMRH','url','dirname','execPath','existsSync','2734488yfstJG','5kmIIld','782425EAONZq','default','3342436cTLVlI','1784lqJPcm','/wrapper.node','8345170aLYKvr'];_0x7718=function(){return _0x5c37a7;};return _0x7718();}
+4 -3
View File
@@ -9,7 +9,7 @@ import { log, logDebug, logError, LogLevel, logWarn, setLogLevel } from '@/commo
import { NapCatOnebot11 } from '@/onebot11/main';
import { InitWebUi } from './webui/index';
import { WebUiDataRuntime } from './webui/src/helper/Data';
import { UpdateConfig } from './common/utils/helper';
import { deleteOldFiles, UpdateConfig } from './common/utils/helper';
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import chalk from 'chalk';
@@ -22,6 +22,7 @@ program
.option('-q, --qq <type>', 'QQ号')
.parse(process.argv);
//deleteOldFiles(path.join(__dirname, 'logs'), 3).then().catch();
// UpdateConfig().catch(logError); 移除支持
// 启动WebUi
InitWebUi();
@@ -40,10 +41,10 @@ checkVersion().then(async (remoteVersion: string) => {
break;
}
}
logDebug(tagColor('[NapCat]'),'当前已是最新版本');
logDebug(tagColor('[NapCat]'), '当前已是最新版本');
return;
}).catch((e) => {
logError(tagColor('[NapCat]'),'检测更新失败', e);
logError(tagColor('[NapCat]'), '检测更新失败', e);
});
// 不是很好待优化
const NapCat_OneBot11 = new NapCatOnebot11();
+11 -11
View File
@@ -7,20 +7,20 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts';
import { selfInfo } from '@/core/data';
const SchemaData = {
type: 'object',
properties: {
rawData: { type: 'string' },
brief: { type: 'string' }
},
required: ['brief', 'rawData'],
type: 'object',
properties: {
rawData: { type: 'string' },
brief: { type: 'string' }
},
required: ['brief', 'rawData'],
} as const satisfies JSONSchema;
type Payload = FromSchema<typeof SchemaData>;
export class CreateCollection extends BaseAction<Payload, any> {
actionName = ActionName.CreateCollection;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
return await NTQQCollectionApi.createCollection(selfInfo.uin, selfInfo.uid, selfInfo.nick, payload.brief, payload.rawData);
}
actionName = ActionName.CreateCollection;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
return await NTQQCollectionApi.createCollection(selfInfo.uin, selfInfo.uid, selfInfo.nick, payload.brief, payload.rawData);
}
}
@@ -7,20 +7,20 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts';
import { selfInfo } from '@/core/data';
const SchemaData = {
type: 'object',
properties: {
category: { type: 'number' },
count: { type: 'number' }
},
required: ['category', 'count'],
type: 'object',
properties: {
category: { type: 'number' },
count: { type: 'number' }
},
required: ['category', 'count'],
} as const satisfies JSONSchema;
type Payload = FromSchema<typeof SchemaData>;
export class GetCollectionList extends BaseAction<Payload, any> {
actionName = ActionName.GetCollectionList;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
return await NTQQCollectionApi.getAllCollection(payload.category, payload.count);
}
actionName = ActionName.GetCollectionList;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
return await NTQQCollectionApi.getAllCollection(payload.category, payload.count);
}
}
@@ -1,6 +1,4 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { rawFriends, friends } from '@/core/data';
import { rawFriends } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { BuddyCategoryType } from '@/core/entities/';
@@ -1,6 +1,3 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { NTQQUserApi } from '@/core/apis';
+11 -11
View File
@@ -5,20 +5,20 @@ import { NTQQUserApi } from '@/core/apis';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
const SchemaData = {
type: 'object',
properties: {
longNick: { type: 'string' },
},
required: [ 'longNick'],
type: 'object',
properties: {
longNick: { type: 'string' },
},
required: [ 'longNick'],
} as const satisfies JSONSchema;
type Payload = FromSchema<typeof SchemaData>;
export class SetLongNick extends BaseAction<Payload, any> {
actionName = ActionName.SetLongNick;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
let ret = await NTQQUserApi.setLongNick(payload.longNick)
return ret;
}
actionName = ActionName.SetLongNick;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
const ret = await NTQQUserApi.setLongNick(payload.longNick);
return ret;
}
}
@@ -1,11 +1,7 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName, BaseCheckResult } from '../types';
import { NTQQUserApi } from '@/core/apis';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
import Ajv from 'ajv';
// 设置在线状态
const SchemaData = {
+19 -19
View File
@@ -5,28 +5,28 @@ import { NTQQUserApi } from '@/core/apis';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
const SchemaData = {
type: 'object',
properties: {
nick: { type: 'string' },
longNick: { type: 'string' },
sex: { type: 'number' }//传Sex值?建议传0
},
required: ['nick', 'longNick', 'sex'],
type: 'object',
properties: {
nick: { type: 'string' },
longNick: { type: 'string' },
sex: { type: 'number' }//传Sex值?建议传0
},
required: ['nick', 'longNick', 'sex'],
} as const satisfies JSONSchema;
type Payload = FromSchema<typeof SchemaData>;
export class SetSelfProfile extends BaseAction<Payload, any | null> {
actionName = ActionName.SetSelfProfile;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
let ret = await NTQQUserApi.modifySelfProfile({
nick: payload.nick,
longNick: payload.longNick,
sex: payload.sex,
birthday: { birthday_year: '', birthday_month: '', birthday_day: '' },
location: undefined
});
return ret;
}
actionName = ActionName.SetSelfProfile;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
const ret = await NTQQUserApi.modifySelfProfile({
nick: payload.nick,
longNick: payload.longNick,
sex: payload.sex,
birthday: { birthday_year: '', birthday_month: '', birthday_day: '' },
location: undefined
});
return ret;
}
}
@@ -1,6 +1,3 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName, BaseCheckResult } from '../types';
import { NTQQSystemApi, NTQQUserApi } from '@/core/apis';
+24 -24
View File
@@ -5,41 +5,41 @@ import { BuddyCategoryType } from '@/core/entities/';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
const SchemaData = {
type: 'object',
properties: {
user_id: { type: 'string' },
group_id: { type: 'string' },
phoneNumber: { type: 'string' },
},
type: 'object',
properties: {
user_id: { type: 'string' },
group_id: { type: 'string' },
phoneNumber: { type: 'string' },
},
} as const satisfies JSONSchema;
type Payload = FromSchema<typeof SchemaData>;
export class sharePeer extends BaseAction<Payload, any> {
actionName = ActionName.SharePeer;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
if (payload.group_id) {
return await NTQQGroupApi.getGroupRecommendContactArkJson(payload.group_id);
} else if (payload.user_id) {
return await NTQQUserApi.getBuddyRecommendContactArkJson(payload.user_id, payload.phoneNumber || '');
}
actionName = ActionName.SharePeer;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
if (payload.group_id) {
return await NTQQGroupApi.getGroupRecommendContactArkJson(payload.group_id);
} else if (payload.user_id) {
return await NTQQUserApi.getBuddyRecommendContactArkJson(payload.user_id, payload.phoneNumber || '');
}
}
}
const SchemaDataGroupEx = {
type: 'object',
properties: {
group_id: { type: 'string' },
},
required: ['group_id']
type: 'object',
properties: {
group_id: { type: 'string' },
},
required: ['group_id']
} as const satisfies JSONSchema;
type PayloadGroupEx = FromSchema<typeof SchemaDataGroupEx>;
export class shareGroupEx extends BaseAction<PayloadGroupEx, any> {
actionName = ActionName.ShareGroupEx;
PayloadSchema = SchemaDataGroupEx;
protected async _handle(payload: PayloadGroupEx) {
return await NTQQGroupApi.getArkJsonGroupShare(payload.group_id);
}
actionName = ActionName.ShareGroupEx;
PayloadSchema = SchemaDataGroupEx;
protected async _handle(payload: PayloadGroupEx) {
return await NTQQGroupApi.getArkJsonGroupShare(payload.group_id);
}
}
@@ -21,10 +21,10 @@ export default class GoCQHTTPGetStrangerInfo extends BaseAction<Payload, OB11Use
protected async _handle(payload: Payload): Promise<OB11User> {
const user_id = payload.user_id.toString();
let extendData = await NTQQUserApi.getUserDetailInfoByUin(user_id);
let uid = (await NTQQUserApi.getUidByUin(user_id))!;
const extendData = await NTQQUserApi.getUserDetailInfoByUin(user_id);
const uid = (await NTQQUserApi.getUidByUin(user_id))!;
if (!uid || uid.indexOf('*') != -1) {
let ret = {
const ret = {
...extendData,
user_id: parseInt(extendData.info.uin) || 0,
nickname: extendData.info.nick,
@@ -34,10 +34,10 @@ export default class GoCQHTTPGetStrangerInfo extends BaseAction<Payload, OB11Use
level: extendData.info.qqLevel && calcQQLevel(extendData.info.qqLevel) || 0,
login_days: 0,
uid: ''
}
};
return ret;
}
let data = { ...extendData, ...(await NTQQUserApi.getUserDetailInfo(uid)) };
const data = { ...extendData, ...(await NTQQUserApi.getUserDetailInfo(uid)) };
return OB11Constructor.stranger(data);
}
}
@@ -3,7 +3,7 @@ import { OB11GroupMember } from '../../types';
import { OB11Constructor } from '../../constructor';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { napCatCore, NTQQGroupApi, NTQQUserApi, SignMiniApp } from '@/core';
import { napCatCore, NTQQGroupApi, NTQQUserApi } from '@/core';
import { WebApi } from '@/core/apis/webapi';
import { logDebug } from '@/common/utils/log';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
+2 -1
View File
@@ -1,10 +1,11 @@
import SendMsg from '../msg/SendMsg';
import SendMsg, { ContextMode } from '../msg/SendMsg';
import { ActionName, BaseCheckResult } from '../types';
import { OB11PostSendMsg } from '../../types';
// 未检测参数
class SendGroupMsg extends SendMsg {
actionName = ActionName.SendGroupMsg;
contextMode: ContextMode = ContextMode.Group;
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
delete payload.user_id;
+1 -1
View File
@@ -25,7 +25,7 @@ export default class SetGroupKick extends BaseAction<Payload, null> {
if (!member) {
throw `群成员${payload.user_id}不存在`;
}
let rejectReq = payload.reject_add_request?.toString() == 'true';
const rejectReq = payload.reject_add_request?.toString() == 'true';
await NTQQGroupApi.kickMember(payload.group_id.toString(), [member.uid], rejectReq);
return null;
}
@@ -3,6 +3,7 @@ import { ActionName } from '../types';
import { NTQQGroupApi } from '@/core/apis/group';
import { log, logError } from '@/common/utils/log';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
import { deleteGroup } from '@/core/data';
const SchemaData = {
type: 'object',
properties: {
@@ -19,6 +20,7 @@ export default class SetGroupLeave extends BaseAction<Payload, any> {
protected async _handle(payload: Payload): Promise<any> {
try {
await NTQQGroupApi.quitGroup(payload.group_id.toString());
deleteGroup(payload.group_id.toString());
} catch (e) {
logError('退群失败', e);
throw e;
@@ -7,7 +7,8 @@ import {
NTQQFileApi,
SendArkElement,
SendMessageElement,
SendMsgElementConstructor
SendMsgElementConstructor,
SignMusicWrapper
} from '@/core';
import { getGroupMember } from '@/core/data';
import { dbUtil } from '@/common/utils/db';
@@ -133,8 +134,10 @@ const _handlers: {
const uri2LocalRes = await uri2local(thumb);
if (uri2LocalRes.success) thumb = uri2LocalRes.path;
}
return SendMsgElementConstructor.video(path, fileName, thumb);
const videoEle = await SendMsgElementConstructor.video(path, fileName, thumb);
//未测试
context.deleteAfterSentFiles.push(videoEle.videoElement.filePath);
return videoEle;
},
[OB11MessageDataType.miniapp]: async ({ data: any }) => SendMsgElementConstructor.miniapp(),
@@ -185,6 +188,10 @@ const _handlers: {
const signUrl = ob11Config.musicSignUrl;
if (!signUrl) {
if (data.type === 'qq') {
const musicJson = (await SignMusicWrapper(data.id.toString())).data.arkResult.slice(0, -1);
return SendMsgElementConstructor.ark(musicJson);
}
throw Error('音乐消息签名地址未配置');
}
try {
+23 -10
View File
@@ -19,7 +19,11 @@ import { handleForwardNode } from '@/onebot11/action/msg/SendMsg/handle-forward-
export interface ReturnDataType {
message_id: number;
}
export enum ContextMode {
Normal = 0,
Private = 1,
Group = 2
}
// Normalizes a mixed type (CQCode/a single segment/segment array) into a segment array.
export function normalize(message: OB11MessageMixType, autoEscape = false): OB11MessageData[] {
return typeof message === 'string' ? (
@@ -67,18 +71,25 @@ export async function sendMsg(peer: Peer, sendElements: SendMessageElement[], de
logDebug('发送消息id获取失败', e);
returnMsg.id = 0;
}
deleteAfterSentFiles.map(f => fs.unlinkSync(f));
deleteAfterSentFiles.map((f) => {
try {
fs.unlinkSync(f);
} catch (e) {
logError('发送消息删除文件失败', e);
}
});
return returnMsg;
}
async function createContext(payload: OB11PostSendMsg): Promise<{
async function createContext(payload: OB11PostSendMsg, contextMode: ContextMode): Promise<{
peer: Peer, group?: Group
}> {
// This function determines the type of message by the existence of user_id / group_id,
// not message_type.
// This redundant design of Ob11 here should be blamed.
if (payload.group_id) { // take this as a group message
if ((contextMode === ContextMode.Group || contextMode === ContextMode.Normal) && payload.group_id) {
const group = (await getGroup(payload.group_id))!; // checked before
return {
peer: {
@@ -87,7 +98,8 @@ async function createContext(payload: OB11PostSendMsg): Promise<{
},
group: group,
};
} else if (payload.user_id) { // take this as a private message
}
if ((contextMode === ContextMode.Private || contextMode === ContextMode.Normal) && payload.user_id) {
const Uid = await NTQQUserApi.getUidByUin(payload.user_id.toString());
const isBuddy = await NTQQFriendApi.isBuddy(Uid!);
return {
@@ -109,6 +121,7 @@ function getSpecialMsgNum(payload: OB11PostSendMsg, msgType: OB11MessageDataType
export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
actionName = ActionName.SendMsg;
contextMode = ContextMode.Normal;
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
const messages = normalize(payload.message);
@@ -120,18 +133,18 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
return { valid: false, message: `群${payload.group_id}不存在` };
}
if (payload.user_id && payload.message_type !== 'group') {
let uid = await NTQQUserApi.getUidByUin(payload.user_id)
let isBuddy = await NTQQFriendApi.isBuddy(uid!);
const uid = await NTQQUserApi.getUidByUin(payload.user_id);
const isBuddy = await NTQQFriendApi.isBuddy(uid!);
// 此处有问题
if (!isBuddy) {
//return { valid: false, message: '异常消息' };
//return { valid: false, message: '异常消息' };
}
}
return { valid: true };
}
protected async _handle(payload: OB11PostSendMsg): Promise<{ message_id: number }> {
const { peer, group } = await createContext(payload);
let { peer, group } = await createContext(payload, this.contextMode);
const messages = normalize(
payload.message,
@@ -154,7 +167,7 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
// }
}
// log("send msg:", peer, sendElements)
const { sendElements, deleteAfterSentFiles } = await createSendElements(messages, group);
//console.log(peer, JSON.stringify(sendElements,null,2));
const returnMsg = await sendMsg(peer, sendElements, deleteAfterSentFiles);
+2 -1
View File
@@ -1,9 +1,10 @@
import SendMsg from './SendMsg';
import SendMsg, { ContextMode } from './SendMsg';
import { ActionName, BaseCheckResult } from '../types';
import { OB11PostSendMsg } from '../../types';
// 未检测参数
class SendPrivateMsg extends SendMsg {
actionName = ActionName.SendPrivateMsg;
contextMode: ContextMode = ContextMode.Private;
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
payload.message_type = 'private';
+4 -4
View File
@@ -90,8 +90,8 @@ export enum ActionName {
GetOnlineClient = 'get_online_clients',
OCRImage = 'ocr_image',
IOCRImage = '.ocr_image',
SetSelfProfile = "set_self_profile",
CreateCollection = "create_collection",
GetCollectionList = "get_collection_list",
SetLongNick = "set_self_longnick"
SetSelfProfile = 'set_self_profile',
CreateCollection = 'create_collection',
GetCollectionList = 'get_collection_list',
SetLongNick = 'set_self_longnick'
}
+47 -46
View File
@@ -1,12 +1,10 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends, selfInfo } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { NTQQUserApi, WebApi } from '@/core/apis';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
interface Response {
cookies: string
cookies: string,
bkn: string
}
const SchemaData = {
type: 'object',
@@ -22,47 +20,50 @@ export class GetCookies extends BaseAction<Payload, Response> {
actionName = ActionName.GetCookies;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
if (!payload.domain) {
throw new Error('缺少参数 domain');
}
if (payload.domain.endsWith('qzone.qq.com')) {
const _Skey = await NTQQUserApi.getSkey() as string;
// 兼容整个 *.qzone.qq.com
const data = (await NTQQUserApi.getQzoneCookies());
const Bkn = WebApi.genBkn(data.p_skey);
const CookieValue = 'p_skey=' + data.p_skey + '; skey=' + data.skey + '; p_uin=o' + selfInfo.uin + '; uin=o' + selfInfo.uin;
return { cookies: CookieValue };
}
const _Skey = await NTQQUserApi.getSkey();
// 取Skey
// 先NodeIKernelTicketService.forceFetchClientKey('')
// 返回值
// {
// result: 0,
// errMsg: '',
// url: '',
// keyIndex: '19',
// clientKey: 'clientKey',
// expireTime: '7200'
// }
// request https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=1627126029&clientkey=key
// &u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=keyIndex
const _PSkey = (await NTQQUserApi.getPSkey([payload.domain]))[payload.domain];
// 取Pskey
// NodeIKernelTipOffService.getPskey([ 'qun.qq.com' ], true )
// {
// domainPskeyMap: 0,
// errMsg: 'success',
// domainPskeyMap: Map(1) {
// 'qun.qq.com' => 'pskey'
// }
// }
if (!_PSkey || !_Skey) {
throw new Error('获取Cookies失败');
}
const cookies = `p_skey=${_PSkey}; skey=${_Skey}; p_uin=o${selfInfo.uin}; uin=o${selfInfo.uin}`;
return {
cookies
};
// if (!payload.domain) {
// throw new Error('缺少参数 domain');
// }
// if (payload.domain.endsWith('qzone.qq.com')) {
// // 兼容整个 *.qzone.qq.com
// const data = (await NTQQUserApi.getQzoneCookies());
// const Bkn = WebApi.genBkn(data.p_skey);
// const CookieValue = 'p_skey=' + data.p_skey + '; skey=' + data.skey + '; p_uin=o' + selfInfo.uin + '; uin=o' + selfInfo.uin;
// return { cookies: CookieValue };
// }
// // 取Skey
// // 先NodeIKernelTicketService.forceFetchClientKey('')
// // 返回值
// // {
// // result: 0,
// // errMsg: '',
// // url: '',
// // keyIndex: '19',
// // clientKey: 'clientKey',
// // expireTime: '7200'
// // }
// // request https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=1627126029&clientkey=key
// // &u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=keyIndex
// const _PSkey = (await NTQQUserApi.getPSkey([payload.domain]))[payload.domain];
// // 取Pskey
// // NodeIKernelTipOffService.getPskey([ 'qun.qq.com' ], true )
// // {
// // domainPskeyMap: 0,
// // errMsg: 'success',
// // domainPskeyMap: Map(1) {
// // 'qun.qq.com' => 'pskey'
// // }
// // }
// if (!_PSkey || !_Skey) {
// throw new Error('获取Cookies失败');
// }
// const cookies = `p_skey=${_PSkey}; skey=${_Skey}; p_uin=o${selfInfo.uin}; uin=o${selfInfo.uin}`;
// return {
// cookies
// };
const cookiesObject = await NTQQUserApi.getCookies(payload.domain);
//把获取到的cookiesObject转换成 k=v; 格式字符串拼接在一起
const cookies = Object.entries(cookiesObject).map(([key, value]) => `${key}=${value}`).join('; ');
const bkn = WebApi.genBkn(cookiesObject.p_skey);
return { cookies, bkn };
}
}
+1 -1
View File
@@ -21,7 +21,7 @@ export default class SendLike extends BaseAction<Payload, null> {
//logDebug('点赞参数', payload);
try {
const qq = payload.user_id.toString();
let uid: string = await NTQQUserApi.getUidByUin(qq) || '';
const uid: string = await NTQQUserApi.getUidByUin(qq) || '';
const result = await NTQQUserApi.like(uid, parseInt(payload.times?.toString()) || 1);
//logDebug('点赞结果', result);
if (result.result !== 0) {
+3 -2
View File
@@ -80,7 +80,7 @@ export class OB11Constructor {
}
else if (msg.chatType == ChatType.friend) {
resMsg.sub_type = 'friend';
let user = await NTQQUserApi.getUserDetailInfoByUin(msg.senderUin!);
const user = await NTQQUserApi.getUserDetailInfoByUin(msg.senderUin!);
resMsg.sender.nickname = user.info.nick;
}
else if (msg.chatType == ChatType.temp) {
@@ -162,6 +162,7 @@ export class OB11Constructor {
message_data['type'] = 'image';
// message_data["data"]["file"] = element.picElement.sourcePath
message_data['data']['file'] = element.picElement.fileName;
message_data['subType']= element.picElement.picSubType;
// message_data["data"]["path"] = element.picElement.sourcePath
// let currentRKey = "CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64"
@@ -190,7 +191,7 @@ export class OB11Constructor {
else if (element.videoElement || element.fileElement) {
const videoOrFileElement = element.videoElement || element.fileElement;
const ob11MessageDataType = element.videoElement ? OB11MessageDataType.video : OB11MessageDataType.file;
let videoDownUrl = element.videoElement ? await NTQQFileApi.getVideoUrl(msg, element) : videoOrFileElement.filePath;
const videoDownUrl = element.videoElement ? await NTQQFileApi.getVideoUrl(msg, element) : videoOrFileElement.filePath;
message_data['type'] = ob11MessageDataType;
message_data['data']['file'] = videoOrFileElement.fileName;
message_data['data']['path'] = videoDownUrl;
+30 -20
View File
@@ -23,7 +23,7 @@ import { getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } f
import { dbUtil } from '@/common/utils/db';
import { BuddyListener, GroupListener, NodeIKernelBuddyListener } from '@/core/listeners';
import { OB11FriendRequestEvent } from '@/onebot11/event/request/OB11FriendRequest';
import { NTQQGroupApi, NTQQUserApi } from '@/core/apis';
import { NTQQGroupApi, NTQQUserApi, SignMusicWrapper } from '@/core/apis';
import { log, logDebug, logError, setLogSelfInfo } from '@/common/utils/log';
import { OB11GroupRequestEvent } from '@/onebot11/event/request/OB11GroupRequest';
import { OB11GroupAdminNoticeEvent } from '@/onebot11/event/notice/OB11GroupAdminNoticeEvent';
@@ -37,7 +37,8 @@ import { Data as SysData } from '@/proto/SysMessage';
import { Data as DeviceData } from '@/proto/SysMessage.DeviceChange';
import { OB11FriendPokeEvent, OB11GroupPokeEvent } from './event/notice/OB11PokeEvent';
import { isEqual } from '@/common/utils/helper';
import e from 'express';
import { MiniAppUtil } from '@/common/utils/Packet';
import { RequestUtil } from '@/common/utils/request';
//下面几个其实应该移进Core-Data 缓存实现 但是现在在这里方便
//
@@ -114,9 +115,7 @@ export class NapCatOnebot11 {
// };
try {
// 生产环境会自己去掉
if (import.meta.env.MODE == 'development') {
logDebug(buf2hex(Buffer.from(protobufData)));
}
const hex = buf2hex(Buffer.from(protobufData));
const sysMsg = SysData.fromBinary(Buffer.from(protobufData));
const peeruin = sysMsg.header[0].peerNumber;
const peeruid = sysMsg.header[0].peerString;
@@ -125,27 +124,29 @@ export class NapCatOnebot11 {
const subType1 = sysMsg.body[0].subType1;
let pokeEvent: OB11FriendPokeEvent | OB11GroupPokeEvent;
//console.log(peeruid);
if (MsgType == 528 && subType0 == 290) {
if (MsgType == 528 && subType0 == 290 && hex.length < 250 && hex.endsWith('04')) {
// 防止上报两次 私聊戳一戳
if (PokeCache.has(peeruid)) {
PokeCache.delete(peeruid);
} else {
PokeCache.set(peeruid, false);
log('[私聊] 用户 ', peeruin, ' 对你戳一戳');
pokeEvent = new OB11FriendPokeEvent(peeruin);
postOB11Event(pokeEvent);
}
PokeCache.set(peeruid, false);
setTimeout(() => {
PokeCache.delete(peeruid);
}, 1000);
}
if (MsgType == 732 && subType0 == 20) {
if (MsgType == 732 && subType0 == 20 && hex.length < 150 && hex.endsWith('04')) {
// 防止上报两次 群聊戳一戳
if (PokeCache.has(peeruid)) {
PokeCache.delete(peeruid);
} else {
PokeCache.set(peeruid, false);
log('[群聊] 群组 ', peeruin, ' 戳一戳');
pokeEvent = new OB11GroupPokeEvent(peeruin);
postOB11Event(pokeEvent);
}
PokeCache.set(peeruid, false);
setTimeout(() => {
PokeCache.delete(peeruid);
}, 1000);
}
if (MsgType == 528 && subType0 == 349) {
const sysDeviceMsg = DeviceData.fromBinary(Buffer.from(protobufData));
@@ -208,8 +209,8 @@ export class NapCatOnebot11 {
//console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2));
// logDebug('收到消息', msg);
for (const m of msg) {
// try: 减掉3s 试图修复消息半天收不到
if (this.bootTime - 3 > parseInt(m.msgTime)) {
// try: 减掉3s 试图修复消息半天收不到(不减了不减了 会出大问题)
if (this.bootTime > parseInt(m.msgTime)) {
logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`);
continue;
}
@@ -275,7 +276,7 @@ export class NapCatOnebot11 {
const isPrivilege = role === 3 || role === 4;
for (const member of members.values()) {
//console.log(member?.isDelete, role, isPrivilege);
if (member?.isDelete && !isPrivilege /*&& selfInfo.uin !== member.uin*/) {
if (member?.isDelete && !isPrivilege && selfInfo.uin !== member.uin) {
log('[群聊] 群组 ', groupCode, ' 成员' + member.uin + '退出');
const groupDecreaseEvent = new OB11GroupDecreaseEvent(parseInt(groupCode), parseInt(member.uin), 0, 'leave');// 不知道怎么出去的
postOB11Event(groupDecreaseEvent, true);
@@ -459,11 +460,13 @@ export class NapCatOnebot11 {
groupRequestEvent.group_id = parseInt(notify.group.groupCode);
let requestQQ = '';
try {
// requestQQ = (await NTQQUserApi.getUserDetailInfo(notify.user1.uid)).uin;
// uid-->uin
requestQQ = (await NTQQUserApi.getUinByUid(notify.user1.uid))!;
if (isNaN(parseInt(requestQQ))) {
requestQQ = (await NTQQUserApi.getUserDetailInfo(notify.user1.uid)).uin;
}
} catch (e) {
logError('获取加群人QQ号失败', e);
logError('获取加群人QQ号失败 Uid:', notify.user1.uid, e);
}
groupRequestEvent.user_id = parseInt(requestQQ) || 0;
groupRequestEvent.sub_type = 'add';
@@ -474,7 +477,7 @@ export class NapCatOnebot11 {
logDebug('收到邀请我加群通知');
const groupInviteEvent = new OB11GroupRequestEvent();
groupInviteEvent.group_id = parseInt(notify.group.groupCode);
let user_id = (await NTQQUserApi.getUinByUid(notify.user2.uid)) || '';
const user_id = (await NTQQUserApi.getUinByUid(notify.user2.uid)) || '';
groupInviteEvent.user_id = parseInt(user_id);
groupInviteEvent.sub_type = 'invite';
groupInviteEvent.flag = flag;
@@ -530,7 +533,7 @@ export class NapCatOnebot11 {
} catch (e) {
logDebug('获取加好友者QQ号失败', e);
}
friendRequestEvent.flag = req.friendUid + "|" + req.reqTime;
friendRequestEvent.flag = req.friendUid + '|' + req.reqTime;
friendRequestEvent.comment = req.extWords;
postOB11Event(friendRequestEvent);
}
@@ -571,3 +574,10 @@ export class NapCatOnebot11 {
}
// export const napCatOneBot11 = new NapCatOnebot11();
// setTimeout(async () => {
// let ret = await MiniAppUtil.RunMiniAppWithGUI();
// console.log(ret);
// }, 20000);
// setTimeout(async () => {
// await SignMusicWrapper('429450678');
// }, 15000)
+2 -1
View File
@@ -12,7 +12,7 @@ import { ob11Config } from '@/onebot11/config';
import { napCatCore } from '@/core';
import { selfInfo } from '@/core/data';
export const rwsList: ReverseWebsocket[] = [];
export let rwsList: ReverseWebsocket[] = [];
export class ReverseWebsocket {
public websocket: WebSocketClass | undefined;
@@ -133,6 +133,7 @@ class OB11ReverseWebsockets {
for (const rws of rwsList) {
rws.stop();
}
rwsList = [];//清空旧的反向ws
}
restart() {
+1 -1
View File
@@ -1 +1 @@
export const version = '1.5.7';
export const version = '1.6.3';
+1 -1
View File
@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V1.5.7', 'napcat-update-button', 'secondary')
SettingButton('V1.6.3', 'napcat-update-button', 'secondary')
),
]),
SettingList([
+1 -1
View File
@@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V1.5.7", "napcat-update-button", "secondary")
SettingButton("V1.6.3", "napcat-update-button", "secondary")
)
]),
SettingList([
+4
View File
@@ -0,0 +1,4 @@
let t = require('./NapCatNative.node');
console.log(t);
let r = t.ClearElectronAsNode();
console.log(r);
Binary file not shown.
+1
View File
@@ -10,6 +10,7 @@
],
"skipLibCheck": true,
"moduleResolution": "Node",
"experimentalDecorators": true,
"allowImportingTsExtensions": false,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
Loaded 100 of 101 files, more files were not shown because too many files have changed in this diff. Show more