@dscord/daemon 0.1.79 → 0.1.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat-bridge.js +2006 -2029
- package/dist/index.js +10176 -9972
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
_0x4a3009: 0x1b6
|
|
10
|
-
}, _0x142f44 = _0x1421, _0x1ad192 = _0x4928bb();
|
|
1
|
+
const _0x4cca3c = _0x58de;
|
|
2
|
+
(function (_0x3499d0, _0x36ac15) {
|
|
3
|
+
const _0x488057 = {
|
|
4
|
+
_0x2540d0: 0x186,
|
|
5
|
+
_0x1491de: 0x1e9,
|
|
6
|
+
_0x18669c: 0x177,
|
|
7
|
+
_0x3dedef: 0x2bf
|
|
8
|
+
}, _0x7e11c2 = _0x58de, _0x174e90 = _0x3499d0();
|
|
11
9
|
while (!![]) {
|
|
12
10
|
try {
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
11
|
+
const _0x4b9fa7 = parseInt(_0x7e11c2(0x1e0)) / 0x1 * (-parseInt(_0x7e11c2(0x227)) / 0x2) + -parseInt(_0x7e11c2(_0x488057._0x2540d0)) / 0x3 * (-parseInt(_0x7e11c2(_0x488057._0x1491de)) / 0x4) + parseInt(_0x7e11c2(0x1b2)) / 0x5 + parseInt(_0x7e11c2(0x204)) / 0x6 + -parseInt(_0x7e11c2(0x236)) / 0x7 * (-parseInt(_0x7e11c2(_0x488057._0x18669c)) / 0x8) + -parseInt(_0x7e11c2(0x272)) / 0x9 + -parseInt(_0x7e11c2(_0x488057._0x3dedef)) / 0xa;
|
|
12
|
+
if (_0x4b9fa7 === _0x36ac15)
|
|
15
13
|
break;
|
|
16
14
|
else
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
15
|
+
_0x174e90['push'](_0x174e90['shift']());
|
|
16
|
+
} catch (_0xdc8f77) {
|
|
17
|
+
_0x174e90['push'](_0x174e90['shift']());
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
|
-
}(
|
|
20
|
+
}(_0x581a, 0x3cbd2));
|
|
23
21
|
import { pathToFileURL } from 'node:url';
|
|
24
22
|
import {
|
|
25
23
|
mkdir,
|
|
@@ -29,75 +27,82 @@ import {
|
|
|
29
27
|
writeFile
|
|
30
28
|
} from 'node:fs/promises';
|
|
31
29
|
import { homedir } from 'node:os';
|
|
32
|
-
import
|
|
30
|
+
import _0x2ebe1a from 'node:path';
|
|
33
31
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
34
|
-
'.csv':
|
|
35
|
-
'.gif':
|
|
32
|
+
'.csv': _0x4cca3c(0x2c9),
|
|
33
|
+
'.gif': _0x4cca3c(0x2e2),
|
|
36
34
|
'.jpeg': 'image/jpeg',
|
|
37
|
-
'.jpg':
|
|
38
|
-
'.json':
|
|
35
|
+
'.jpg': _0x4cca3c(0x226),
|
|
36
|
+
'.json': 'application/json',
|
|
39
37
|
'.md': 'text/markdown',
|
|
40
|
-
'.pdf':
|
|
41
|
-
'.png':
|
|
42
|
-
'.svg':
|
|
43
|
-
'.txt':
|
|
44
|
-
'.webp':
|
|
45
|
-
'.xml':
|
|
46
|
-
'.zip':
|
|
38
|
+
'.pdf': _0x4cca3c(0x1c6),
|
|
39
|
+
'.png': 'image/png',
|
|
40
|
+
'.svg': _0x4cca3c(0x1bc),
|
|
41
|
+
'.txt': _0x4cca3c(0x28c),
|
|
42
|
+
'.webp': _0x4cca3c(0x28e),
|
|
43
|
+
'.xml': _0x4cca3c(0x2ca),
|
|
44
|
+
'.zip': _0x4cca3c(0x22d)
|
|
47
45
|
};
|
|
48
|
-
function guessContentType(
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
_0x2a1f2a: 0x1da
|
|
52
|
-
}, _0x149f72 = _0x38edd3;
|
|
53
|
-
return MIME_BY_EXTENSION[_0x1d3adb[_0x149f72(_0x1e2b37._0x18a3d8)](_0x5cfe20)[_0x149f72(_0x1e2b37._0x2a1f2a)]()] ?? 'application/octet-stream';
|
|
46
|
+
function guessContentType(_0x2b74fd) {
|
|
47
|
+
const _0x58690c = { _0x353ea6: 0x278 }, _0x16d4db = _0x4cca3c;
|
|
48
|
+
return MIME_BY_EXTENSION[_0x2ebe1a[_0x16d4db(_0x58690c._0x353ea6)](_0x2b74fd)['toLowerCase']()] ?? _0x16d4db(0x261);
|
|
54
49
|
}
|
|
55
|
-
function safeFilename(
|
|
56
|
-
const
|
|
57
|
-
return
|
|
50
|
+
function safeFilename(_0x122f80) {
|
|
51
|
+
const _0x3f484b = { _0x599f65: 0x250 }, _0x785e36 = _0x4cca3c;
|
|
52
|
+
return _0x122f80[_0x785e36(_0x3f484b._0x599f65)](/[\\/]/g, '-');
|
|
58
53
|
}
|
|
59
|
-
function extensionFor(
|
|
60
|
-
const
|
|
61
|
-
|
|
54
|
+
function extensionFor(_0x1fb2c6) {
|
|
55
|
+
const _0x3ca9e5 = {
|
|
56
|
+
_0x5174cd: 0x21f,
|
|
57
|
+
_0xd06ca8: 0x18a
|
|
58
|
+
}, _0x4fc17f = _0x4cca3c, _0x3b49f5 = Object[_0x4fc17f(0x2e1)](MIME_BY_EXTENSION)[_0x4fc17f(_0x3ca9e5._0x5174cd)](([, _0x2fad01]) => _0x2fad01 === _0x1fb2c6);
|
|
59
|
+
return _0x3b49f5?.[0x0] ?? _0x4fc17f(_0x3ca9e5._0xd06ca8);
|
|
62
60
|
}
|
|
63
|
-
async function prepareUploadFile(
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if (!
|
|
74
|
-
throw new Error(
|
|
75
|
-
const
|
|
76
|
-
if (
|
|
77
|
-
throw new Error(
|
|
78
|
-
const
|
|
61
|
+
async function prepareUploadFile(_0x2d581e, _0x464e18 = {}) {
|
|
62
|
+
const _0x216259 = {
|
|
63
|
+
_0x20206e: 0x24a,
|
|
64
|
+
_0x423ba9: 0x1b6,
|
|
65
|
+
_0x1183c7: 0x1b9,
|
|
66
|
+
_0xf98e7f: 0x163,
|
|
67
|
+
_0xb2cf76: 0x1d9,
|
|
68
|
+
_0x254543: 0x1c7,
|
|
69
|
+
_0x13fd2b: 0x17d
|
|
70
|
+
}, _0x5c299c = _0x4cca3c;
|
|
71
|
+
if (!_0x2ebe1a[_0x5c299c(_0x216259._0x20206e)](_0x2d581e))
|
|
72
|
+
throw new Error(_0x5c299c(_0x216259._0x423ba9));
|
|
73
|
+
const _0x43e0e4 = await stat(_0x2d581e)[_0x5c299c(_0x216259._0x1183c7)](() => null);
|
|
74
|
+
if (!_0x43e0e4 || !_0x43e0e4[_0x5c299c(0x1df)]())
|
|
75
|
+
throw new Error(_0x5c299c(_0x216259._0xf98e7f) + _0x2d581e);
|
|
76
|
+
const _0x20202e = _0x464e18[_0x5c299c(_0x216259._0xb2cf76)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
77
|
+
if (_0x43e0e4[_0x5c299c(0x287)] > _0x20202e)
|
|
78
|
+
throw new Error(_0x5c299c(0x201) + _0x43e0e4['size']);
|
|
79
|
+
const _0x9f0d9d = await readFile(_0x2d581e), _0xa6f167 = _0x2ebe1a[_0x5c299c(_0x216259._0x254543)](_0x2d581e);
|
|
79
80
|
return {
|
|
80
|
-
'contentBase64':
|
|
81
|
-
'contentType': guessContentType(
|
|
82
|
-
'filename':
|
|
83
|
-
'sizeBytes':
|
|
81
|
+
'contentBase64': _0x9f0d9d[_0x5c299c(_0x216259._0x13fd2b)](_0x5c299c(0x209)),
|
|
82
|
+
'contentType': guessContentType(_0xa6f167),
|
|
83
|
+
'filename': _0xa6f167,
|
|
84
|
+
'sizeBytes': _0x43e0e4[_0x5c299c(0x287)]
|
|
84
85
|
};
|
|
85
86
|
}
|
|
86
|
-
function createAttachmentCache(
|
|
87
|
-
const
|
|
87
|
+
function createAttachmentCache(_0x4756f1 = {}) {
|
|
88
|
+
const _0x477394 = { _0x509440: 0x286 }, _0x227ff7 = {
|
|
89
|
+
_0x5bc345: 0x23e,
|
|
90
|
+
_0x488b9b: 0x220,
|
|
91
|
+
_0x529752: 0x24c
|
|
92
|
+
}, _0x48abe9 = { _0xa0f150: 0x21f }, _0x30c117 = _0x4cca3c, _0x58012c = _0x4756f1[_0x30c117(0x25b)] ?? _0x2ebe1a[_0x30c117(0x25d)](homedir(), _0x30c117(_0x477394._0x509440), _0x30c117(0x2a1));
|
|
88
93
|
return {
|
|
89
|
-
'cacheDir':
|
|
90
|
-
async 'findCachedPath'(
|
|
91
|
-
const
|
|
92
|
-
await mkdir(
|
|
93
|
-
const
|
|
94
|
-
return
|
|
94
|
+
'cacheDir': _0x58012c,
|
|
95
|
+
async 'findCachedPath'(_0x5cb7c5) {
|
|
96
|
+
const _0x4dd084 = _0x30c117;
|
|
97
|
+
await mkdir(_0x58012c, { 'recursive': !![] });
|
|
98
|
+
const _0x17d05d = await readdir(_0x58012c), _0x369ebe = _0x17d05d[_0x4dd084(_0x48abe9._0xa0f150)](_0x38af14 => _0x38af14[_0x4dd084(0x181)](_0x5cb7c5 + '-') || _0x38af14['startsWith'](_0x5cb7c5));
|
|
99
|
+
return _0x369ebe ? _0x2ebe1a[_0x4dd084(0x25d)](_0x58012c, _0x369ebe) : null;
|
|
95
100
|
},
|
|
96
|
-
async 'save'(
|
|
97
|
-
const
|
|
98
|
-
await mkdir(
|
|
99
|
-
const
|
|
100
|
-
return await writeFile(
|
|
101
|
+
async 'save'(_0x2805a9) {
|
|
102
|
+
const _0x34ac20 = _0x30c117;
|
|
103
|
+
await mkdir(_0x58012c, { 'recursive': !![] });
|
|
104
|
+
const _0x4d234d = _0x2805a9[_0x34ac20(_0x227ff7._0x5bc345)]?.[_0x34ac20(_0x227ff7._0x488b9b)]() ? safeFilename(_0x2805a9[_0x34ac20(_0x227ff7._0x5bc345)]) : '' + _0x2805a9[_0x34ac20(0x2a4)] + extensionFor(_0x2805a9['contentType']), _0x511986 = _0x2ebe1a[_0x34ac20(0x25d)](_0x58012c, _0x2805a9[_0x34ac20(0x2a4)] + '-' + _0x4d234d);
|
|
105
|
+
return await writeFile(_0x511986, _0x2805a9[_0x34ac20(_0x227ff7._0x529752)]), _0x511986;
|
|
101
106
|
}
|
|
102
107
|
};
|
|
103
108
|
}
|
|
@@ -105,2360 +110,2332 @@ import {
|
|
|
105
110
|
createHash,
|
|
106
111
|
randomUUID
|
|
107
112
|
} from 'node:crypto';
|
|
108
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
109
|
-
function ensureSegment(
|
|
110
|
-
const
|
|
111
|
-
if (!
|
|
113
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x4cca3c(0x234);
|
|
114
|
+
function ensureSegment(_0x4ef4c3) {
|
|
115
|
+
const _0x50d2ee = { _0x2bab2b: 0x242 }, _0x414e58 = _0x4cca3c, _0x1c8ff5 = _0x4ef4c3['trim']();
|
|
116
|
+
if (!_0x1c8ff5 || _0x1c8ff5[_0x414e58(_0x50d2ee._0x2bab2b)](':'))
|
|
112
117
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
113
|
-
return
|
|
118
|
+
return _0x1c8ff5;
|
|
114
119
|
}
|
|
115
|
-
function parseThreadParts(
|
|
116
|
-
const
|
|
117
|
-
if (
|
|
120
|
+
function parseThreadParts(_0x3d8136) {
|
|
121
|
+
const _0x5e5418 = _0x4cca3c, _0x51733f = _0x3d8136[_0x5e5418(0x2d9)](':');
|
|
122
|
+
if (_0x51733f[_0x5e5418(0x170)] < 0x1 || _0x51733f['length'] > 0x2)
|
|
118
123
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
119
124
|
return {
|
|
120
|
-
'channelName': ensureSegment(
|
|
121
|
-
'threadShortId':
|
|
125
|
+
'channelName': ensureSegment(_0x51733f[0x0] ?? ''),
|
|
126
|
+
'threadShortId': _0x51733f[0x1] ? ensureSegment(_0x51733f[0x1]) : null
|
|
122
127
|
};
|
|
123
128
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
function _0x58de(_0x141a34, _0x920383) {
|
|
130
|
+
_0x141a34 = _0x141a34 - 0x163;
|
|
131
|
+
const _0x581a88 = _0x581a();
|
|
132
|
+
let _0x58de3c = _0x581a88[_0x141a34];
|
|
133
|
+
if (_0x58de['iffsbk'] === undefined) {
|
|
134
|
+
var _0x32d6da = function (_0x5ec213) {
|
|
135
|
+
const _0x4f5b6c = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
136
|
+
let _0x2ebe1a = '', _0x2b74fd = '';
|
|
137
|
+
for (let _0x122f80 = 0x0, _0x1fb2c6, _0x3b49f5, _0x2fad01 = 0x0; _0x3b49f5 = _0x5ec213['charAt'](_0x2fad01++); ~_0x3b49f5 && (_0x1fb2c6 = _0x122f80 % 0x4 ? _0x1fb2c6 * 0x40 + _0x3b49f5 : _0x3b49f5, _0x122f80++ % 0x4) ? _0x2ebe1a += String['fromCharCode'](0xff & _0x1fb2c6 >> (-0x2 * _0x122f80 & 0x6)) : 0x0) {
|
|
138
|
+
_0x3b49f5 = _0x4f5b6c['indexOf'](_0x3b49f5);
|
|
139
|
+
}
|
|
140
|
+
for (let _0x2d581e = 0x0, _0x464e18 = _0x2ebe1a['length']; _0x2d581e < _0x464e18; _0x2d581e++) {
|
|
141
|
+
_0x2b74fd += '%' + ('00' + _0x2ebe1a['charCodeAt'](_0x2d581e)['toString'](0x10))['slice'](-0x2);
|
|
142
|
+
}
|
|
143
|
+
return decodeURIComponent(_0x2b74fd);
|
|
144
|
+
};
|
|
145
|
+
_0x58de['Trurae'] = _0x32d6da, _0x58de['DjKrvE'] = {}, _0x58de['iffsbk'] = !![];
|
|
146
|
+
}
|
|
147
|
+
const _0x99d664 = _0x581a88[0x0], _0x19d397 = _0x141a34 + _0x99d664, _0x523ef5 = _0x58de['DjKrvE'][_0x19d397];
|
|
148
|
+
return !_0x523ef5 ? (_0x58de3c = _0x58de['Trurae'](_0x58de3c), _0x58de['DjKrvE'][_0x19d397] = _0x58de3c) : _0x58de3c = _0x523ef5, _0x58de3c;
|
|
149
|
+
}
|
|
150
|
+
function parseTarget(_0xa2e1c4) {
|
|
151
|
+
const _0x5f132a = {
|
|
152
|
+
_0x389415: 0x181,
|
|
153
|
+
_0x292ea4: 0x2c2,
|
|
154
|
+
_0x14fdce: 0x19b,
|
|
155
|
+
_0x32e328: 0x181,
|
|
156
|
+
_0x42a7c5: 0x1a4
|
|
157
|
+
}, _0x245cc9 = _0x4cca3c, _0x534210 = _0xa2e1c4[_0x245cc9(0x220)]();
|
|
158
|
+
if (!_0x534210)
|
|
134
159
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
135
|
-
if (
|
|
136
|
-
const
|
|
137
|
-
if (!
|
|
160
|
+
if (_0x534210[_0x245cc9(_0x5f132a._0x389415)]('#')) {
|
|
161
|
+
const _0x423066 = parseThreadParts(_0x534210[_0x245cc9(0x20c)](0x1)), _0x1bd793 = '#' + _0x423066[_0x245cc9(0x207)];
|
|
162
|
+
if (!_0x423066['threadShortId'])
|
|
138
163
|
return {
|
|
139
|
-
'channelName':
|
|
140
|
-
'channelTarget':
|
|
141
|
-
'kind':
|
|
142
|
-
'target':
|
|
164
|
+
'channelName': _0x423066[_0x245cc9(0x207)],
|
|
165
|
+
'channelTarget': _0x1bd793,
|
|
166
|
+
'kind': _0x245cc9(0x25f),
|
|
167
|
+
'target': _0x1bd793
|
|
143
168
|
};
|
|
144
169
|
return {
|
|
145
|
-
'channelName':
|
|
146
|
-
'channelTarget':
|
|
147
|
-
'kind':
|
|
148
|
-
'target':
|
|
149
|
-
'threadShortId':
|
|
170
|
+
'channelName': _0x423066[_0x245cc9(0x207)],
|
|
171
|
+
'channelTarget': _0x1bd793,
|
|
172
|
+
'kind': _0x245cc9(0x269),
|
|
173
|
+
'target': _0x1bd793 + ':' + _0x423066[_0x245cc9(_0x5f132a._0x292ea4)],
|
|
174
|
+
'threadShortId': _0x423066[_0x245cc9(_0x5f132a._0x292ea4)]
|
|
150
175
|
};
|
|
151
176
|
}
|
|
152
|
-
if (
|
|
153
|
-
const
|
|
154
|
-
if (!
|
|
177
|
+
if (_0x534210['startsWith'](_0x245cc9(_0x5f132a._0x14fdce))) {
|
|
178
|
+
const _0x46d96c = parseThreadParts(_0x534210['slice'](0x3));
|
|
179
|
+
if (!_0x46d96c[_0x245cc9(0x207)][_0x245cc9(_0x5f132a._0x32e328)](_0x245cc9(_0x5f132a._0x42a7c5)))
|
|
155
180
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
156
|
-
const
|
|
157
|
-
if (!
|
|
181
|
+
const _0x598fd2 = _0x245cc9(_0x5f132a._0x14fdce) + _0x46d96c[_0x245cc9(0x207)];
|
|
182
|
+
if (!_0x46d96c[_0x245cc9(0x2c2)])
|
|
158
183
|
return {
|
|
159
|
-
'channelName':
|
|
160
|
-
'channelTarget':
|
|
161
|
-
'kind':
|
|
162
|
-
'target':
|
|
184
|
+
'channelName': _0x46d96c[_0x245cc9(0x207)],
|
|
185
|
+
'channelTarget': _0x598fd2,
|
|
186
|
+
'kind': 'channel',
|
|
187
|
+
'target': _0x598fd2
|
|
163
188
|
};
|
|
164
189
|
return {
|
|
165
|
-
'channelName':
|
|
166
|
-
'channelTarget':
|
|
190
|
+
'channelName': _0x46d96c['channelName'],
|
|
191
|
+
'channelTarget': _0x598fd2,
|
|
167
192
|
'kind': 'thread',
|
|
168
|
-
'target':
|
|
169
|
-
'threadShortId':
|
|
193
|
+
'target': _0x598fd2 + ':' + _0x46d96c[_0x245cc9(_0x5f132a._0x292ea4)],
|
|
194
|
+
'threadShortId': _0x46d96c[_0x245cc9(0x2c2)]
|
|
170
195
|
};
|
|
171
196
|
}
|
|
172
197
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
173
198
|
}
|
|
174
|
-
function asErrorMessage(
|
|
175
|
-
const
|
|
176
|
-
if (typeof
|
|
177
|
-
return
|
|
178
|
-
return
|
|
199
|
+
function asErrorMessage(_0x41fdcd, _0x197e55) {
|
|
200
|
+
const _0x45a72e = { _0x1ee526: 0x220 }, _0x771611 = _0x4cca3c;
|
|
201
|
+
if (typeof _0x41fdcd === 'string' && _0x41fdcd[_0x771611(_0x45a72e._0x1ee526)]())
|
|
202
|
+
return _0x41fdcd;
|
|
203
|
+
return _0x197e55;
|
|
179
204
|
}
|
|
180
|
-
function asRecord(
|
|
181
|
-
|
|
205
|
+
function asRecord(_0xa3ed3d) {
|
|
206
|
+
const _0x3221a3 = _0x4cca3c;
|
|
207
|
+
return typeof _0xa3ed3d === _0x3221a3(0x2f3) && _0xa3ed3d !== null ? _0xa3ed3d : {};
|
|
182
208
|
}
|
|
183
|
-
function stableStringify(
|
|
184
|
-
const
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
209
|
+
function stableStringify(_0x13d7d7) {
|
|
210
|
+
const _0x3b012b = {
|
|
211
|
+
_0x34419c: 0x20b,
|
|
212
|
+
_0x57d4ec: 0x2e1,
|
|
213
|
+
_0x3d86a9: 0x1db,
|
|
214
|
+
_0x3be31e: 0x25d
|
|
215
|
+
}, _0x5714e2 = _0x4cca3c;
|
|
216
|
+
if (_0x13d7d7 === null || typeof _0x13d7d7 !== _0x5714e2(0x2f3))
|
|
217
|
+
return JSON['stringify'](_0x13d7d7);
|
|
218
|
+
if (Array[_0x5714e2(_0x3b012b._0x34419c)](_0x13d7d7))
|
|
219
|
+
return '[' + _0x13d7d7['map'](_0x2fabac => stableStringify(_0x2fabac))['join'](',') + ']';
|
|
220
|
+
const _0x56fd69 = Object[_0x5714e2(_0x3b012b._0x57d4ec)](_0x13d7d7)[_0x5714e2(_0x3b012b._0x3d86a9)](([, _0x16c026]) => _0x16c026 !== void 0x0)[_0x5714e2(0x291)](([_0xb106fe], [_0x3f8f2c]) => _0xb106fe['localeCompare'](_0x3f8f2c))[_0x5714e2(0x2e6)](([_0x188451, _0x5b9cd2]) => JSON['stringify'](_0x188451) + ':' + stableStringify(_0x5b9cd2));
|
|
221
|
+
return '{' + _0x56fd69[_0x5714e2(_0x3b012b._0x3be31e)](',') + '}';
|
|
191
222
|
}
|
|
192
|
-
function
|
|
193
|
-
const
|
|
194
|
-
|
|
195
|
-
'
|
|
196
|
-
'
|
|
223
|
+
function createHeaders(_0x3a2dbd) {
|
|
224
|
+
const _0x5d0e0e = _0x4cca3c;
|
|
225
|
+
return {
|
|
226
|
+
'Content-Type': _0x5d0e0e(0x255),
|
|
227
|
+
'x-daemon-api-key': _0x3a2dbd
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
function toHttpBaseUrl(_0x3cd0bf) {
|
|
231
|
+
const _0x5a23d4 = {
|
|
232
|
+
_0xcd913d: 0x2c4,
|
|
233
|
+
_0xa26374: 0x250
|
|
234
|
+
}, _0xb71d1b = _0x4cca3c, _0xca5c56 = new URL(_0x3cd0bf);
|
|
235
|
+
if (_0xca5c56[_0xb71d1b(0x1a9)] === _0xb71d1b(_0x5a23d4._0xcd913d))
|
|
236
|
+
_0xca5c56['protocol'] = _0xb71d1b(0x2a5);
|
|
237
|
+
else
|
|
238
|
+
_0xca5c56[_0xb71d1b(0x1a9)] === _0xb71d1b(0x2b5) && (_0xca5c56['protocol'] = 'https:');
|
|
239
|
+
return _0xca5c56[_0xb71d1b(0x17d)]()[_0xb71d1b(_0x5a23d4._0xa26374)](/\/$/, '');
|
|
240
|
+
}
|
|
241
|
+
function isMentionBoundary(_0x8da076) {
|
|
242
|
+
const _0x1a8224 = { _0x55e7dd: 0x171 }, _0x102c9d = _0x4cca3c;
|
|
243
|
+
return !_0x8da076 || /\s|[([{'",。!?、:;]/[_0x102c9d(_0x1a8224._0x55e7dd)](_0x8da076);
|
|
244
|
+
}
|
|
245
|
+
function isMentionTerminal(_0x1a46f2) {
|
|
246
|
+
const _0x1786c3 = _0x4cca3c;
|
|
247
|
+
return !_0x1a46f2 || /\s|[)\]}'",。!?、:;,.!?]/[_0x1786c3(0x171)](_0x1a46f2);
|
|
248
|
+
}
|
|
249
|
+
function _0x581a() {
|
|
250
|
+
const _0x5e4523 = [
|
|
251
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
252
|
+
'mZK4mtG3mgX6s0HKAq',
|
|
253
|
+
'CxvLDwvK',
|
|
254
|
+
'BwvZC2fNzxm',
|
|
255
|
+
'y2HPBgrYzw5eB25L',
|
|
256
|
+
'Dg9ju09tDhjPBMC',
|
|
257
|
+
'CgfKu3rHCNq',
|
|
258
|
+
'zxH0BMfTzq',
|
|
259
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
260
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
261
|
+
'zgLZCg9ZAxrPB24',
|
|
262
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
263
|
+
'igzHAwXLzdOG',
|
|
264
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
265
|
+
'y2HHBM5LBeLK',
|
|
266
|
+
'y3jLyxrLvgfZA3m',
|
|
267
|
+
'y3jLyxrLzef0',
|
|
197
268
|
'C3rVCe1HAw49Dhj1zq',
|
|
269
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
270
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
271
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
272
|
+
'lMrZy29Yza',
|
|
273
|
+
'C2L6zq',
|
|
274
|
+
'z2v0twLUDxrLCW',
|
|
275
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
276
|
+
'BwvZC2fNzq',
|
|
277
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
278
|
+
'Dgv4Dc9WBgfPBG',
|
|
279
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
280
|
+
'Aw1Hz2uVD2vICa',
|
|
281
|
+
'BwLU',
|
|
282
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
283
|
+
'C29YDa',
|
|
284
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
285
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
286
|
+
'C2vX',
|
|
287
|
+
'zgvSzxrL',
|
|
288
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
289
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
290
|
+
'ywjVCNrLza',
|
|
291
|
+
'Axnoyu4',
|
|
292
|
+
'w3rHCMDLDd0',
|
|
293
|
+
'yxv0BZO',
|
|
294
|
+
'Bwf4',
|
|
295
|
+
'ls1Hz2vUDc1Pza',
|
|
296
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
297
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
298
|
+
'lsaJ',
|
|
299
|
+
'yxr0ywnOBwvUDhm',
|
|
300
|
+
'zgvZDhjVEwvK',
|
|
301
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
302
|
+
'yxr0ywnOBwvUDeLK',
|
|
198
303
|
'Ahr0CdO',
|
|
199
|
-
'
|
|
304
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
305
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
306
|
+
'CM9VDe1LC3nHz2vjza',
|
|
307
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
308
|
+
'zMfSC2u',
|
|
309
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
310
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
311
|
+
'C3rYAw5N',
|
|
312
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
313
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
314
|
+
'ywXS',
|
|
315
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
316
|
+
'zgLNzxn0',
|
|
317
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
318
|
+
'C3rYAw5NAwz5',
|
|
200
319
|
'D3nZoG',
|
|
201
|
-
'
|
|
320
|
+
'y2HLy2TnzxnZywDLCW',
|
|
321
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
322
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
323
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
202
324
|
'kg5VBMuP',
|
|
203
|
-
'
|
|
204
|
-
'
|
|
205
|
-
'
|
|
206
|
-
'
|
|
207
|
-
'
|
|
208
|
-
'
|
|
209
|
-
'
|
|
210
|
-
'
|
|
325
|
+
'Dw5JBgfPBv90yxnR',
|
|
326
|
+
'DhLWzq',
|
|
327
|
+
'DgfZAW',
|
|
328
|
+
'y29UDgvUDc10ExbL',
|
|
329
|
+
'ndC4mZmWmeXdshPIyq',
|
|
330
|
+
'y2XHAw0GzMfPBgvK',
|
|
331
|
+
'l3nLBMq',
|
|
332
|
+
'DgHYzwfKu2HVCNrjza',
|
|
333
|
+
'CgfYA193B3jRzxi',
|
|
334
|
+
'D3m6',
|
|
335
|
+
'iYmJienOyw5UzwXZ',
|
|
336
|
+
'DMfSDwu',
|
|
337
|
+
'zgvZy3jPyMu',
|
|
338
|
+
'lsba',
|
|
339
|
+
'Dgv4Dc9JC3y',
|
|
340
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
341
|
+
'CMvZCg9UC2u',
|
|
342
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
343
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
344
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
345
|
+
'vgfZAYa',
|
|
346
|
+
'lcbWCMv2Awv3pq',
|
|
211
347
|
'DgHYzwfKvgfYz2v0pq',
|
|
212
|
-
'
|
|
213
|
-
'
|
|
214
|
-
'
|
|
215
|
-
'C2vYDMvYtMfTzq',
|
|
216
|
-
'Cgf5Bg9HzePZB24',
|
|
348
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
349
|
+
'DgfZA051BwjLCG',
|
|
350
|
+
'AwrSzq',
|
|
217
351
|
'ywz0zxi',
|
|
218
|
-
'
|
|
219
|
-
'
|
|
220
|
-
'
|
|
221
|
-
'Aw1Hz2uVD2vICa',
|
|
222
|
-
'cGOTls0G',
|
|
223
|
-
'ywDLBNrZ',
|
|
224
|
-
'zw50CMLLCW',
|
|
225
|
-
'l3vWBg9Hza',
|
|
226
|
-
'zgfLBw9UqxbPs2v5',
|
|
227
|
-
'DhjPBq',
|
|
228
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
229
|
-
'BwvZC2fNzuLK',
|
|
230
|
-
'y29UDgvUDc10ExbL',
|
|
352
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
353
|
+
'C2vYDMvY',
|
|
354
|
+
'z2v0',
|
|
231
355
|
'C3bSAxq',
|
|
232
|
-
'
|
|
233
|
-
'
|
|
234
|
-
'
|
|
235
|
-
'
|
|
236
|
-
'
|
|
237
|
-
'
|
|
238
|
-
'
|
|
356
|
+
'C2v0',
|
|
357
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
358
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
359
|
+
'DxnLCG',
|
|
360
|
+
'v29YA2vYici',
|
|
361
|
+
'CNvUBMLUzW',
|
|
362
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
363
|
+
'zw50CMLLCW',
|
|
364
|
+
'Aw1Hz2uVz2LM',
|
|
365
|
+
'icHPzdO',
|
|
366
|
+
'l3rHC2TZpW',
|
|
367
|
+
'DgHYzwfKtNvTyMvY',
|
|
368
|
+
'BwfW',
|
|
239
369
|
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
240
|
-
'
|
|
241
|
-
'
|
|
242
|
-
'
|
|
370
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
371
|
+
'CgfYC2u',
|
|
372
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
373
|
+
'y29UDgvUDa',
|
|
243
374
|
'AxngAw5PDgu',
|
|
244
|
-
'
|
|
245
|
-
'
|
|
375
|
+
'igLUia',
|
|
376
|
+
'ChvIBgLJ',
|
|
377
|
+
'ihn0yxr1CZ0',
|
|
378
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
379
|
+
'iYmJiefNzw50CW',
|
|
246
380
|
'z2v0rNvSBfLLyxi',
|
|
247
|
-
'
|
|
248
|
-
'
|
|
249
|
-
'
|
|
250
|
-
'ihrPBwu9',
|
|
251
|
-
'Dw5JBgfPBv90yxnR',
|
|
252
|
-
'zMLSzv9WyxrO',
|
|
253
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
254
|
-
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
381
|
+
'B2jQzwn0',
|
|
382
|
+
'Dg9VBa',
|
|
383
|
+
'iJOGC3rHDhvZpq',
|
|
255
384
|
'y3jLyxrLx3rHC2TZ',
|
|
256
|
-
'
|
|
385
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
386
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
387
|
+
'DxbSB2fKx2zPBgu',
|
|
388
|
+
'C2vUzgvYvhLWzq',
|
|
389
|
+
'BMfTzq',
|
|
390
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
391
|
+
'zxzLBNrtzxe',
|
|
392
|
+
'l3nLCNzLCG',
|
|
393
|
+
'B3b0Aw9UywW',
|
|
394
|
+
'ig1LC3nHz2vZkqOk',
|
|
257
395
|
'C2L6zuj5DgvZ',
|
|
258
|
-
'
|
|
259
|
-
'
|
|
260
|
-
'
|
|
396
|
+
'igTPBMq9',
|
|
397
|
+
'BwvTyMvY',
|
|
398
|
+
'BgvUz3rO',
|
|
399
|
+
'DgvZDa',
|
|
400
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
401
|
+
'DgfZA0LK',
|
|
402
|
+
'DxrMoa',
|
|
403
|
+
'DxjNzw50',
|
|
404
|
+
'lIbnzxnZywDLieLeoIa',
|
|
405
|
+
'ndKWnfvLyunPtq',
|
|
406
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
407
|
+
'BNvTyMvY',
|
|
408
|
+
'DgHYzwfKvgfYz2v0',
|
|
409
|
+
'ywDLBNrZ',
|
|
410
|
+
'l3n0yxj0',
|
|
261
411
|
'Dg9tDhjPBMC',
|
|
412
|
+
'ignSywLTzwq',
|
|
413
|
+
'DMLLD19MAwXL',
|
|
414
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
415
|
+
'C3rHCNrZv2L0Aa',
|
|
416
|
+
'y29UDgvUDfr5Cgu',
|
|
417
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
418
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
262
419
|
'zw51Bq',
|
|
263
|
-
'
|
|
264
|
-
'
|
|
265
|
-
'
|
|
266
|
-
'
|
|
267
|
-
'
|
|
268
|
-
'
|
|
269
|
-
'
|
|
270
|
-
'D29YA2vYx3nLC3nPB25FAwq',
|
|
271
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
272
|
-
'C3rVCe1HAw4',
|
|
273
|
-
'CM9VDe1LC3nHz2vjza',
|
|
274
|
-
'n3PACKPizq',
|
|
275
|
-
'Dg9ju09tDhjPBMC',
|
|
276
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
277
|
-
'ktSGz290ignOyw5UzwW9',
|
|
278
|
-
'nde1mtvOEuTnEfu',
|
|
279
|
-
'DxbSB2fKuhjLCgfYzxi',
|
|
280
|
-
'DgHYzwfK',
|
|
281
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
282
|
-
'D29YA2vY',
|
|
283
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
284
|
-
'AgfZ',
|
|
285
|
-
'CMvZDwX0sNnVBG',
|
|
286
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
287
|
-
'ChjVDg9JB2W',
|
|
288
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
289
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
290
|
-
'ndGXmtuYohfvDeLMDq',
|
|
291
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
292
|
-
'DgfYz2v0',
|
|
293
|
-
'Bwf4',
|
|
294
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
295
|
-
'uefuq0G',
|
|
296
|
-
'C2LNBMfS',
|
|
297
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
298
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
299
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
300
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
301
|
-
'AhvTyw4',
|
|
302
|
-
'ig1LC3nHz2vZkqOk',
|
|
303
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
304
|
-
'z2v0tw9UDgG',
|
|
305
|
-
'D29YA2vYtw9Kzq',
|
|
306
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
307
|
-
'iYmJienOyw5UzwXZ',
|
|
308
|
-
'z2v0vgLTzq',
|
|
420
|
+
'otmWr21pENzT',
|
|
421
|
+
'ihr5Cgu9ywDLBNq',
|
|
422
|
+
'v29YA2vYia',
|
|
423
|
+
'cGOTls0G',
|
|
424
|
+
'lMjPBG',
|
|
425
|
+
'C2vYDMvYvxjS',
|
|
426
|
+
'CMvHzeHPC3rVCNK',
|
|
309
427
|
'ywDNCMvNyxrLswq',
|
|
428
|
+
'r0vu',
|
|
310
429
|
'sfruuca',
|
|
311
|
-
'
|
|
312
|
-
'
|
|
313
|
-
'
|
|
314
|
-
'zM9Yy2vszwzYzxnO',
|
|
315
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
316
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
317
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
318
|
-
'yxnZAwDUzwvoyw1L',
|
|
319
|
-
'nde2mtC0nfrqALLTyG',
|
|
320
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
321
|
-
'lcbWCMv2Awv3pq',
|
|
322
|
-
'C29YDa',
|
|
323
|
-
'ywrK',
|
|
324
|
-
'CMvJB3jK',
|
|
325
|
-
'y2HHBM5LBhm',
|
|
326
|
-
'y3vYC29Y',
|
|
327
|
-
'l3rHC2TZl2nSywLT',
|
|
328
|
-
'zgvZDhjVEwvK',
|
|
329
|
-
'ihn0yxr1CZ0',
|
|
330
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxHLy3v0Aw9Utw9Kzt1TywLUcLn0yxKGAw4GBwfPBIbZzxnZAw9UoIbYzwfKihrOzsbYzwzLCMvUy2vKihbSyw4Vzg9JDw1LBNqGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYaOB3iGB3rOzxj3AxnLigfKDMfUy2uGDgHLihrHC2SGAw4GBwfPBIb3AxrOB3v0igHHBMrPBMCGB2zMihrVigeGD29YA2vYks4',
|
|
331
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
332
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
333
|
-
'ls1ZzxnZAw9UlwLK',
|
|
430
|
+
'DxbSB2fKrMLSzq',
|
|
431
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
432
|
+
'ywz0zxjtzxe',
|
|
334
433
|
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
434
|
+
'CgfYC2vjBNq',
|
|
435
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
436
|
+
'AgfZ',
|
|
437
|
+
'CMvXDwvZDfvYBa',
|
|
438
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
335
439
|
'zNjVBq',
|
|
336
|
-
'
|
|
337
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
338
|
-
'Ahr0Chm6',
|
|
339
|
-
'y3jLyxrLzef0',
|
|
340
|
-
'yxbWBgLJyxrPB24VEMLW',
|
|
341
|
-
'Dg9VBa',
|
|
342
|
-
'ue9tva',
|
|
343
|
-
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
344
|
-
'DgHYzwfKtNvTyMvY',
|
|
345
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
346
|
-
'C2vUzgvYvhLWzq',
|
|
347
|
-
'AhvTyw5Z',
|
|
348
|
-
'AgvHzgvYCW',
|
|
349
|
-
'DMfSDwu',
|
|
350
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
351
|
-
'Axnoyu4',
|
|
352
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
353
|
-
'zg0T',
|
|
354
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
355
|
-
'Dg9mB3DLCKnHC2u',
|
|
356
|
-
'iJOGC3rHDhvZpq',
|
|
357
|
-
'ywz0zxjtzxe',
|
|
358
|
-
'DgHYzwfKswq',
|
|
359
|
-
'D29YA2vYCW',
|
|
360
|
-
'y2HHBM5LBa',
|
|
361
|
-
'ig1ZzZ0',
|
|
362
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
440
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
363
441
|
'zg06',
|
|
364
|
-
'
|
|
365
|
-
'
|
|
366
|
-
'
|
|
367
|
-
'
|
|
368
|
-
'C2vYDMvY',
|
|
369
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
370
|
-
'C3vIDgfZA051BwjLCG',
|
|
371
|
-
'ANnVBG',
|
|
372
|
-
'yxr0ywnOBwvUDeLK',
|
|
373
|
-
'ywDLBNrjza',
|
|
374
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
375
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
376
|
-
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
377
|
-
'DgvZDa',
|
|
442
|
+
'l3jLy2vPDMu/',
|
|
443
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
444
|
+
'C2vUze1LC3nHz2u',
|
|
445
|
+
'DgfZAY0',
|
|
378
446
|
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
379
|
-
'
|
|
380
|
-
'
|
|
381
|
-
'
|
|
382
|
-
'
|
|
383
|
-
'
|
|
447
|
+
'CNvUswq',
|
|
448
|
+
'ig1ZzZ0',
|
|
449
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
450
|
+
'zg0T',
|
|
451
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
452
|
+
'ANnVBG',
|
|
453
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
454
|
+
'AgLNAa',
|
|
455
|
+
'ChjVDg9JB2W',
|
|
384
456
|
'yMvMB3jL',
|
|
385
|
-
'
|
|
386
|
-
'y2XPzw50',
|
|
387
|
-
'ywDLBNq',
|
|
388
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
389
|
-
'DgfZA19Pza',
|
|
390
|
-
'Dgv4Dc9WBgfPBG',
|
|
391
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
392
|
-
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
393
|
-
'DMLLD19MAwXLigzHAwXLza',
|
|
394
|
-
'BwvKAxvT',
|
|
395
|
-
'mtzxtfrPEvO',
|
|
396
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
397
|
-
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
398
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
399
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
400
|
-
'z2v0rgf0zq',
|
|
401
|
-
'zxHWAxjLC0f0',
|
|
402
|
-
'ntvuExHmDw8',
|
|
403
|
-
'igrVBMuP',
|
|
404
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
405
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
406
|
-
'CMvXDwvZDfvYBa',
|
|
407
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
408
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
409
|
-
'l2zPBMLZAa',
|
|
410
|
-
'C2XPy2u',
|
|
411
|
-
'pgvTChr5pG',
|
|
412
|
-
'BwvZC2fNzq',
|
|
413
|
-
'ihr5Cgu9ywDLBNq',
|
|
414
|
-
'AxnjBNrLz2vY',
|
|
415
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
416
|
-
'mJqZnZe4mMj0qvvcCG',
|
|
417
|
-
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
418
|
-
'C3vIDgfZA19UDw1Izxi',
|
|
419
|
-
'BgLZDfrHC2TZ',
|
|
420
|
-
'DxbSB2fKrMLSzq',
|
|
457
|
+
'xsba',
|
|
421
458
|
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
422
|
-
'
|
|
423
|
-
'
|
|
424
|
-
'
|
|
425
|
-
'
|
|
426
|
-
'
|
|
427
|
-
'
|
|
428
|
-
'
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
459
|
+
'y2XHAw1uyxnRCW',
|
|
460
|
+
'ChvZAa',
|
|
461
|
+
'iYmJieH1BwfUCW',
|
|
462
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
463
|
+
'BMv4Den1CNnVCG',
|
|
464
|
+
'mtK4nZm2nvz6zhPqCq',
|
|
465
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
466
|
+
'AhvTyw5Z',
|
|
467
|
+
'ktSGz290ignOyw5UzwW9',
|
|
468
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
469
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
470
|
+
'DMfSDwvZ',
|
|
471
|
+
'y2f0y2G',
|
|
472
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
473
|
+
'AgvHzgvYCW',
|
|
474
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
475
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
476
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
477
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
478
|
+
'Cgf5Bg9HzePZB24',
|
|
479
|
+
'C29Tzq',
|
|
480
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
481
|
+
'C3rHCNrLza',
|
|
482
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
483
|
+
'zMLSzw5HBwu',
|
|
484
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
485
|
+
'yMfZzw5HBwu',
|
|
486
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
487
|
+
'C3vIDgfZA051BwjLCG',
|
|
488
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
489
|
+
'D29YA2vYsgfUzg9MzG',
|
|
433
490
|
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
434
|
-
'
|
|
435
|
-
'
|
|
436
|
-
'
|
|
437
|
-
'
|
|
438
|
-
'
|
|
439
|
-
'
|
|
440
|
-
'
|
|
441
|
-
'
|
|
491
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
492
|
+
'zgvZy3jPChrPB24',
|
|
493
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
494
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
495
|
+
'z2v0tw9UDgG',
|
|
496
|
+
'CgfYDgLJAxbHBNq',
|
|
497
|
+
'Dw5JBgfPBvrHC2S',
|
|
498
|
+
'AhvTyw4',
|
|
499
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
500
|
+
'w3nLCt0',
|
|
501
|
+
'DgfZA3m',
|
|
502
|
+
'A2LUza',
|
|
503
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
442
504
|
'l2HPC3rVCNK/',
|
|
443
|
-
'
|
|
444
|
-
'
|
|
445
|
-
'
|
|
446
|
-
'
|
|
447
|
-
'
|
|
448
|
-
'
|
|
449
|
-
'
|
|
450
|
-
'
|
|
505
|
+
'zMLSDgvY',
|
|
506
|
+
'BM93',
|
|
507
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
508
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
509
|
+
'AxngAwXL',
|
|
510
|
+
'mJi3mJDJuuTmvu8',
|
|
511
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
512
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
513
|
+
'y3vYC29Y',
|
|
514
|
+
'y2XPzw50',
|
|
515
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
516
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
517
|
+
'DMLZAwjPBgL0Eq',
|
|
451
518
|
'zxjYB3i',
|
|
452
|
-
'
|
|
453
|
-
'
|
|
454
|
-
'
|
|
455
|
-
'
|
|
456
|
-
'
|
|
457
|
-
'
|
|
458
|
-
'
|
|
459
|
-
'
|
|
460
|
-
'
|
|
461
|
-
'
|
|
462
|
-
'
|
|
519
|
+
'ndaWmhjewgzsEq',
|
|
520
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
521
|
+
'DgL0Bgu',
|
|
522
|
+
'DxbKyxrL',
|
|
523
|
+
'ls1Zzxj2zxiTDxjS',
|
|
524
|
+
'Dg9KBW',
|
|
525
|
+
'vgfZAZOG',
|
|
526
|
+
'y2HHDa',
|
|
527
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
528
|
+
'CMvHzf9OAxn0B3j5',
|
|
529
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
463
530
|
'zxHLy3v0Aw9Utw9Kzt0',
|
|
464
|
-
'
|
|
465
|
-
'
|
|
466
|
-
'
|
|
467
|
-
'
|
|
468
|
-
'
|
|
469
|
-
'zMLUza',
|
|
470
|
-
'yM9KEvrLEhq',
|
|
471
|
-
'BwvTyMvY',
|
|
472
|
-
'AwrSzq',
|
|
473
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
474
|
-
'Dw5JBgfPBvrHC2S',
|
|
475
|
-
'Bwv0yq',
|
|
476
|
-
'C3rYAw5NAwz5',
|
|
477
|
-
'mZKWnZKWweDwC2Lm',
|
|
478
|
-
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
479
|
-
'Bg93',
|
|
480
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
481
|
-
'ig1LC3nHz2u9',
|
|
482
|
-
'CgfYDgLJAxbHBNq',
|
|
483
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
484
|
-
'lIbnzxnZywDLieLeoIa',
|
|
485
|
-
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
486
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
487
|
-
'yxjYyxK',
|
|
488
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
531
|
+
'DgHYzwfKswq',
|
|
532
|
+
'C2nOzwr1BgvKrM9Y',
|
|
533
|
+
'BgLZDf9Zzxj2zxi',
|
|
534
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxHLy3v0Aw9Utw9Kzt1TywLUcLn0yxKGAw4GBwfPBIbZzxnZAw9UoIbYzwfKihrOzsbYzwzLCMvUy2vKihbSyw4Vzg9JDw1LBNqGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYaOB3iGB3rOzxj3AxnLigfKDMfUy2uGDgHLihrHC2SGAw4GBwfPBIb3AxrOB3v0igHHBMrPBMCGB2zMihrVigeGD29YA2vYks4',
|
|
535
|
+
'y2XHAw1FDgfZA3m',
|
|
489
536
|
'Aw5FChjVz3jLC3m',
|
|
490
|
-
'
|
|
491
|
-
'
|
|
492
|
-
'
|
|
493
|
-
'
|
|
494
|
-
'
|
|
495
|
-
'
|
|
496
|
-
'
|
|
497
|
-
'
|
|
498
|
-
'
|
|
499
|
-
'
|
|
500
|
-
'
|
|
501
|
-
'
|
|
537
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
538
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
539
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
540
|
+
'CgfYDgLJAxbHBNrjza',
|
|
541
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
542
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
543
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
544
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
545
|
+
'CMvHC29U',
|
|
546
|
+
'mtCWnJaWngjyuKf3Ca',
|
|
547
|
+
'C3rHDhvZ',
|
|
548
|
+
'yxjNDG',
|
|
549
|
+
'y2HHBM5LBe5HBwu',
|
|
550
|
+
'C2vUzgvYtMfTzq',
|
|
551
|
+
'yMfZzty0',
|
|
552
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
553
|
+
'AxnbCNjHEq',
|
|
554
|
+
'C2XPy2u',
|
|
555
|
+
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
502
556
|
'ywjVCNq',
|
|
557
|
+
'Bwf0y2Hoyw1L',
|
|
558
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
559
|
+
'C3rVCe1HAw4',
|
|
560
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
561
|
+
'ihrPBwu9',
|
|
562
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
563
|
+
'BwfPBG',
|
|
564
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
565
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
566
|
+
'D2fPDgLUz19PBNb1Da',
|
|
567
|
+
'ywDLBNq',
|
|
503
568
|
'yxr0ywnOBwvUDf9Pza',
|
|
504
|
-
'
|
|
505
|
-
'
|
|
506
|
-
'
|
|
569
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
570
|
+
'BwvZC2fNzv9Pzhm',
|
|
571
|
+
'igfZC2LNBMvLpua',
|
|
572
|
+
'l3vWBg9Hza',
|
|
573
|
+
'zMLUza',
|
|
574
|
+
'DhjPBq',
|
|
575
|
+
'Aw5FCMv2Awv3',
|
|
576
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
577
|
+
'iIbUB3qGzM91BMq',
|
|
578
|
+
'y29UDgvUDejHC2u2na',
|
|
579
|
+
'zg9Uzq',
|
|
507
580
|
'Aw1Hz2uVANbLzW',
|
|
508
|
-
'
|
|
509
|
-
'
|
|
510
|
-
'
|
|
511
|
-
'
|
|
512
|
-
'
|
|
513
|
-
'
|
|
514
|
-
'
|
|
581
|
+
'mJH6qK5uCKK',
|
|
582
|
+
'C2f2zq',
|
|
583
|
+
'z2v0sg91CNm',
|
|
584
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
585
|
+
'yM9KEu1HCMTKB3DU',
|
|
586
|
+
'D29YA2vYCW',
|
|
587
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
588
|
+
'C2LNBMfS',
|
|
589
|
+
'BgLZDf90yxnRCW',
|
|
590
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
591
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
515
592
|
'yxjYyxLcDwzMzxi',
|
|
516
|
-
'
|
|
517
|
-
'
|
|
518
|
-
'
|
|
519
|
-
'
|
|
520
|
-
'
|
|
521
|
-
'
|
|
522
|
-
'
|
|
523
|
-
'
|
|
524
|
-
'
|
|
525
|
-
'
|
|
593
|
+
'ls1ZzxnZAw9UlwLK',
|
|
594
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
595
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
596
|
+
'nty2m2fYt253za',
|
|
597
|
+
'y2HHBM5LBhm',
|
|
598
|
+
'EM9K',
|
|
599
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
600
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
601
|
+
'Bwv0yq',
|
|
602
|
+
'Bgf0zxn0u2vX',
|
|
603
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
604
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
526
605
|
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
527
|
-
'
|
|
528
|
-
'
|
|
529
|
-
'B2jQzwn0',
|
|
530
|
-
'l3n0yxj0',
|
|
531
|
-
'BgvUz3rO',
|
|
532
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
533
|
-
'y29UBMvJDa',
|
|
534
|
-
'y29UDgvUDa',
|
|
535
|
-
'zgLNzxn0',
|
|
536
|
-
'DgfZA0LK',
|
|
537
|
-
'y2XHAw0GzMfPBgvK',
|
|
538
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
539
|
-
'l3DVCMTLCNmVCgfYAW',
|
|
540
|
-
'Bg9JywXLq29TCgfYzq',
|
|
541
|
-
'icHPzdO',
|
|
542
|
-
'Aw5KzxHpzG',
|
|
543
|
-
'BwvZC2fNzv9Pzhm',
|
|
544
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
545
|
-
'DgfZAY0',
|
|
546
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
547
|
-
'CgfYA193B3jRzxi',
|
|
548
|
-
'l3rHC2TZpW',
|
|
549
|
-
'lMrZy29Yza',
|
|
606
|
+
'pgvTChr5pG',
|
|
607
|
+
'ywDLBNrjza',
|
|
550
608
|
'Aw5JBhvKzxm',
|
|
551
|
-
'
|
|
552
|
-
'
|
|
553
|
-
'
|
|
554
|
-
'
|
|
555
|
-
'
|
|
556
|
-
'
|
|
557
|
-
'
|
|
558
|
-
'
|
|
559
|
-
'
|
|
560
|
-
'
|
|
561
|
-
'
|
|
562
|
-
'
|
|
563
|
-
'
|
|
564
|
-
'CMvZDwX0CW',
|
|
565
|
-
'C2vYDMvYvxjS',
|
|
566
|
-
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
567
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
568
|
-
'DgHYzwfKu2HVCNrjza',
|
|
569
|
-
'zg9Uzq',
|
|
570
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
571
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
572
|
-
'y2HHDa',
|
|
609
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
610
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
611
|
+
'Aw5KzxHpzG',
|
|
612
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
613
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
614
|
+
'yxjYyxK',
|
|
615
|
+
'BwvZC2fNzuLK',
|
|
616
|
+
'AxnbyNnVBhv0zq',
|
|
617
|
+
'D29YA19RzxK',
|
|
618
|
+
'zgf0yq',
|
|
619
|
+
'C2vUzf9TzxnZywDL',
|
|
620
|
+
'C3vJy2vZCW',
|
|
621
|
+
'l3rHC2TZl2nSywLT',
|
|
573
622
|
'CMvWBgfJzq',
|
|
574
|
-
'
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'
|
|
580
|
-
'
|
|
581
|
-
'
|
|
623
|
+
'Agv4',
|
|
624
|
+
'DgfYz2v0',
|
|
625
|
+
'ig1LC3nHz2u9',
|
|
626
|
+
'6k+35Rgcia',
|
|
627
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
628
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
629
|
+
'yxnZAwDUzwvoyw1L',
|
|
630
|
+
'ue9tva',
|
|
631
|
+
'z2v0rgf0zq',
|
|
632
|
+
'D29YA2vYtw9Kzq',
|
|
633
|
+
'y2fJAgveAxi',
|
|
634
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
582
635
|
'AM9PBG',
|
|
583
|
-
'
|
|
584
|
-
'
|
|
585
|
-
'
|
|
586
|
-
'
|
|
587
|
-
'
|
|
588
|
-
'BwfW',
|
|
589
|
-
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
590
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
591
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
592
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
593
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
594
|
-
'vgHYzwfKihrHCMDLDdOG',
|
|
595
|
-
'mJmXnZi5nMLWCMnKua',
|
|
636
|
+
'C2vYDMvYtMfTzq',
|
|
637
|
+
'y2HHBM5LBa',
|
|
638
|
+
'AxnjBNrLz2vY',
|
|
639
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
640
|
+
'BgLTAxq',
|
|
596
641
|
'AhjLzG',
|
|
597
|
-
'
|
|
598
|
-
'
|
|
599
|
-
'
|
|
600
|
-
'
|
|
601
|
-
'
|
|
602
|
-
'
|
|
603
|
-
'
|
|
604
|
-
'
|
|
605
|
-
'
|
|
606
|
-
'
|
|
607
|
-
'
|
|
608
|
-
'
|
|
642
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
643
|
+
'l2nVBNrLBNq',
|
|
644
|
+
'zxHWAxjLC0f0',
|
|
645
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
646
|
+
'y29UBMvJDa',
|
|
647
|
+
'DgHYzwfK',
|
|
648
|
+
'ywrK',
|
|
649
|
+
'zgfLBw9UqxbPs2v5',
|
|
650
|
+
'AgfZtw9Yzq',
|
|
651
|
+
'iokaLca',
|
|
652
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
653
|
+
'DgfYz2v0zwq',
|
|
654
|
+
'kgXLz2fJEsK'
|
|
609
655
|
];
|
|
610
|
-
|
|
611
|
-
return
|
|
656
|
+
_0x581a = function () {
|
|
657
|
+
return _0x5e4523;
|
|
612
658
|
};
|
|
613
|
-
return
|
|
659
|
+
return _0x581a();
|
|
614
660
|
}
|
|
615
|
-
function
|
|
616
|
-
const
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
_0x22fa27: 0x335,
|
|
625
|
-
_0x105200: 0x2dc,
|
|
626
|
-
_0x9b3165: 0x1c9,
|
|
627
|
-
_0x100b5f: 0x2b4
|
|
628
|
-
}, _0x5009d1 = _0x38edd3, _0x4d0623 = new URL(_0x3697e2);
|
|
629
|
-
if (_0x4d0623[_0x5009d1(_0x3e93df._0x22fa27)] === 'ws:')
|
|
630
|
-
_0x4d0623[_0x5009d1(_0x3e93df._0x22fa27)] = _0x5009d1(_0x3e93df._0x105200);
|
|
631
|
-
else
|
|
632
|
-
_0x4d0623[_0x5009d1(_0x3e93df._0x22fa27)] === _0x5009d1(0x2de) && (_0x4d0623[_0x5009d1(0x335)] = _0x5009d1(_0x3e93df._0x9b3165));
|
|
633
|
-
return _0x4d0623['toString']()[_0x5009d1(_0x3e93df._0x100b5f)](/\/$/, '');
|
|
634
|
-
}
|
|
635
|
-
function isMentionBoundary(_0x25c630) {
|
|
636
|
-
const _0x1142aa = _0x38edd3;
|
|
637
|
-
return !_0x25c630 || /\s|[([{'",。!?、:;]/[_0x1142aa(0x1f0)](_0x25c630);
|
|
638
|
-
}
|
|
639
|
-
function isMentionTerminal(_0xaff367) {
|
|
640
|
-
const _0x2633a3 = { _0x42f4e0: 0x1f0 }, _0x2c606d = _0x38edd3;
|
|
641
|
-
return !_0xaff367 || /\s|[)\]}'",。!?、:;,.!?]/[_0x2c606d(_0x2633a3._0x42f4e0)](_0xaff367);
|
|
642
|
-
}
|
|
643
|
-
function buildMatchableEntries(_0x2a1e33) {
|
|
644
|
-
const _0xafa1e4 = {
|
|
645
|
-
_0x55d387: 0x2f5,
|
|
646
|
-
_0x459304: 0x1d2,
|
|
647
|
-
_0x2567d4: 0x240,
|
|
648
|
-
_0x3dc186: 0x29e,
|
|
649
|
-
_0x56d836: 0x22d,
|
|
650
|
-
_0x38e126: 0x22d
|
|
651
|
-
}, _0xadf5ec = _0x38edd3, _0x29d33d = [];
|
|
652
|
-
for (const _0x4a8adc of [
|
|
653
|
-
..._0x2a1e33[_0xadf5ec(_0xafa1e4._0x55d387)],
|
|
654
|
-
..._0x2a1e33[_0xadf5ec(_0xafa1e4._0x459304)]
|
|
661
|
+
function buildMatchableEntries(_0x58adc5) {
|
|
662
|
+
const _0x3ad11e = {
|
|
663
|
+
_0x2d9b91: 0x1b4,
|
|
664
|
+
_0x149c73: 0x1ae,
|
|
665
|
+
_0x5d6bf6: 0x231
|
|
666
|
+
}, _0x25dbcd = _0x4cca3c, _0x5802e0 = [];
|
|
667
|
+
for (const _0x1e2730 of [
|
|
668
|
+
..._0x58adc5[_0x25dbcd(0x17b)],
|
|
669
|
+
..._0x58adc5[_0x25dbcd(_0x3ad11e._0x2d9b91)]
|
|
655
670
|
]) {
|
|
656
|
-
|
|
657
|
-
'matchName':
|
|
658
|
-
'matchNameLower':
|
|
659
|
-
'participantId':
|
|
660
|
-
}),
|
|
661
|
-
'matchName':
|
|
662
|
-
'matchNameLower':
|
|
663
|
-
'participantId':
|
|
671
|
+
_0x5802e0['push']({
|
|
672
|
+
'matchName': _0x1e2730[_0x25dbcd(0x167)],
|
|
673
|
+
'matchNameLower': _0x1e2730[_0x25dbcd(0x167)][_0x25dbcd(0x231)](),
|
|
674
|
+
'participantId': _0x1e2730['id']
|
|
675
|
+
}), _0x1e2730['id'] !== _0x1e2730[_0x25dbcd(0x167)] && _0x5802e0[_0x25dbcd(_0x3ad11e._0x149c73)]({
|
|
676
|
+
'matchName': _0x1e2730['id'],
|
|
677
|
+
'matchNameLower': _0x1e2730['id'][_0x25dbcd(_0x3ad11e._0x5d6bf6)](),
|
|
678
|
+
'participantId': _0x1e2730['id']
|
|
664
679
|
});
|
|
665
680
|
}
|
|
666
|
-
return
|
|
681
|
+
return _0x5802e0;
|
|
667
682
|
}
|
|
668
|
-
function extractMentionedParticipantIds(
|
|
669
|
-
const
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
},
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
}, _0x2d0878 = _0x38edd3, _0x8fbfff = buildMatchableEntries(_0x4afdd8)[_0x2d0878(_0x2a76e0._0x549ed6)]((_0x23cb07, _0xea2c9c) => _0xea2c9c[_0x2d0878(0x224)]['length'] - _0x23cb07[_0x2d0878(0x224)][_0x2d0878(0x28a)]), _0x21f34e = [], _0x150908 = new Set();
|
|
680
|
-
for (let _0x3b56a2 = 0x0; _0x3b56a2 < _0x5e5918[_0x2d0878(_0x2a76e0._0x1e7a63)]; _0x3b56a2 += 0x1) {
|
|
681
|
-
if (_0x5e5918[_0x3b56a2] !== '@' || !isMentionBoundary(_0x5e5918[_0x3b56a2 - 0x1]))
|
|
683
|
+
function extractMentionedParticipantIds(_0x16fe70, _0xbc9e76) {
|
|
684
|
+
const _0x14c554 = {
|
|
685
|
+
_0x11b277: 0x20c,
|
|
686
|
+
_0x1def23: 0x21f,
|
|
687
|
+
_0x2a34a9: 0x196,
|
|
688
|
+
_0x5d6094: 0x1fe,
|
|
689
|
+
_0x2f734d: 0x1ae,
|
|
690
|
+
_0x27d6b2: 0x170
|
|
691
|
+
}, _0x552c2e = _0x4cca3c, _0x503717 = buildMatchableEntries(_0xbc9e76)['sort']((_0x38dd58, _0x1c3729) => _0x1c3729[_0x552c2e(0x20f)][_0x552c2e(0x170)] - _0x38dd58[_0x552c2e(0x20f)]['length']), _0x47f60a = [], _0x5d92bd = new Set();
|
|
692
|
+
for (let _0x504ad1 = 0x0; _0x504ad1 < _0x16fe70[_0x552c2e(0x170)]; _0x504ad1 += 0x1) {
|
|
693
|
+
if (_0x16fe70[_0x504ad1] !== '@' || !isMentionBoundary(_0x16fe70[_0x504ad1 - 0x1]))
|
|
682
694
|
continue;
|
|
683
|
-
const
|
|
684
|
-
const
|
|
685
|
-
if (!
|
|
695
|
+
const _0x386c93 = _0x16fe70[_0x552c2e(_0x14c554._0x11b277)](_0x504ad1 + 0x1), _0x6b2c5b = _0x386c93['toLocaleLowerCase'](), _0x992f82 = _0x503717[_0x552c2e(_0x14c554._0x1def23)](_0x13669b => {
|
|
696
|
+
const _0x4c6fbb = _0x552c2e;
|
|
697
|
+
if (!_0x6b2c5b[_0x4c6fbb(0x181)](_0x13669b['matchNameLower']))
|
|
686
698
|
return ![];
|
|
687
|
-
return isMentionTerminal(
|
|
699
|
+
return isMentionTerminal(_0x386c93[_0x13669b[_0x4c6fbb(0x20f)]['length']]);
|
|
688
700
|
});
|
|
689
|
-
if (!
|
|
701
|
+
if (!_0x992f82 || _0x5d92bd[_0x552c2e(_0x14c554._0x2a34a9)](_0x992f82[_0x552c2e(_0x14c554._0x5d6094)]))
|
|
690
702
|
continue;
|
|
691
|
-
|
|
703
|
+
_0x5d92bd['add'](_0x992f82[_0x552c2e(0x1fe)]), _0x47f60a[_0x552c2e(_0x14c554._0x2f734d)](_0x992f82[_0x552c2e(0x1fe)]), _0x504ad1 += _0x992f82[_0x552c2e(0x20f)][_0x552c2e(_0x14c554._0x27d6b2)];
|
|
692
704
|
}
|
|
693
|
-
return
|
|
705
|
+
return _0x47f60a;
|
|
694
706
|
}
|
|
695
707
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
696
|
-
function anySignal(...
|
|
697
|
-
const
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
708
|
+
function anySignal(..._0x695c16) {
|
|
709
|
+
const _0x284766 = {
|
|
710
|
+
_0x4183ed: 0x298,
|
|
711
|
+
_0x34e3ca: 0x22e,
|
|
712
|
+
_0x4e02dc: 0x20e,
|
|
713
|
+
_0x57f5af: 0x22e,
|
|
714
|
+
_0x323d7b: 0x22e
|
|
715
|
+
}, _0x1cb15a = _0x4cca3c, _0x12f96b = new AbortController();
|
|
716
|
+
for (const _0x291e57 of _0x695c16) {
|
|
717
|
+
if (_0x291e57[_0x1cb15a(_0x284766._0x4183ed)])
|
|
718
|
+
return _0x12f96b['abort'](_0x291e57[_0x1cb15a(0x203)]), _0x12f96b[_0x1cb15a(_0x284766._0x34e3ca)];
|
|
719
|
+
_0x291e57[_0x1cb15a(0x172)](_0x1cb15a(_0x284766._0x4e02dc), () => _0x12f96b['abort'](_0x291e57[_0x1cb15a(0x203)]), {
|
|
702
720
|
'once': !![],
|
|
703
|
-
'signal':
|
|
721
|
+
'signal': _0x12f96b[_0x1cb15a(_0x284766._0x57f5af)]
|
|
704
722
|
});
|
|
705
723
|
}
|
|
706
|
-
return
|
|
724
|
+
return _0x12f96b[_0x1cb15a(_0x284766._0x323d7b)];
|
|
707
725
|
}
|
|
708
|
-
function createInternalAgentClient(
|
|
709
|
-
const
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
},
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
},
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
},
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
},
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
_0xfc3313: 0x340,
|
|
884
|
-
_0x3158d0: 0x222
|
|
885
|
-
}, _0xcbf9c7 = _0x38edd3, _0x979687 = _0x376fe2[_0xcbf9c7(0x1c7)] ?? fetch, _0x445016 = _0x376fe2[_0xcbf9c7(0x20b)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x3b7759 = typeof _0x376fe2[_0xcbf9c7(_0x191cca._0x4a73df)] === 'number' && _0x376fe2[_0xcbf9c7(0x22f)] > 0x0 ? _0x376fe2[_0xcbf9c7(0x22f)] : 0x0, _0x7b3e42 = _0x376fe2['daemonLocalUrl']?.[_0xcbf9c7(0x2f9)]() || void 0x0, _0xbe5582 = _0x376fe2['sessionId']?.['trim']() || void 0x0, _0x44cef2 = _0x376fe2[_0xcbf9c7(_0x191cca._0x14a7db)] === !![], _0x489c75 = _0x376fe2['workerSessionId']?.['trim']() || void 0x0, _0x1dd098 = _0x376fe2[_0xcbf9c7(_0x191cca._0x3fbbec)]?.['trim']() || void 0x0, _0x1069c = createHeaders(_0x376fe2[_0xcbf9c7(0x2f8)]), _0x2d15d8 = toHttpBaseUrl(_0x376fe2[_0xcbf9c7(0x2ac)]);
|
|
886
|
-
let _0x123b3a = null;
|
|
887
|
-
const _0x132924 = new Map();
|
|
888
|
-
let _0x3b931a = _0x3b7759, _0x302d79 = _0x3b7759;
|
|
889
|
-
function _0x2e143f(_0x502ee9) {
|
|
890
|
-
const _0x4b6550 = _0xcbf9c7, _0x3498ad = _0x502ee9[_0x4b6550(0x1e4)][_0x4b6550(0x1d3)][_0x4b6550(_0x780df4._0x5b98c2)]('content-type') ?? _0x4b6550(0x2e5), _0x4741c8 = _0x502ee9[_0x4b6550(_0x780df4._0x5ccbda)]['trim']()[_0x4b6550(_0x780df4._0x2c8f26)](/\s+/g, '\x20')[_0x4b6550(0x211)](0x0, 0x78) || _0x4b6550(_0x780df4._0x18a2c1);
|
|
891
|
-
return '请求\x20' + _0x502ee9[_0x4b6550(0x20d)] + _0x4b6550(_0x780df4._0x3024cb) + _0x502ee9[_0x4b6550(_0x780df4._0x228d8f)]['status'] + _0x4b6550(_0x780df4._0xfc3313) + _0x3498ad + _0x4b6550(0x1b8) + _0x4741c8 + _0x4b6550(_0x780df4._0x3158d0);
|
|
726
|
+
function createInternalAgentClient(_0x57921b) {
|
|
727
|
+
const _0x3b728a = {
|
|
728
|
+
_0x3f10e4: 0x29f,
|
|
729
|
+
_0x1f8c70: 0x29f,
|
|
730
|
+
_0x348d48: 0x217,
|
|
731
|
+
_0xa1e803: 0x2b7
|
|
732
|
+
}, _0x2274db = {
|
|
733
|
+
_0x1ed546: 0x2da,
|
|
734
|
+
_0x1cf6c1: 0x1db,
|
|
735
|
+
_0x3a25ae: 0x170,
|
|
736
|
+
_0x54eba8: 0x294,
|
|
737
|
+
_0x338e3d: 0x170,
|
|
738
|
+
_0x18a5d5: 0x29c,
|
|
739
|
+
_0xbebfa1: 0x1db,
|
|
740
|
+
_0x30831e: 0x1c1,
|
|
741
|
+
_0x5b3ecf: 0x237,
|
|
742
|
+
_0xbfbe55: 0x27f,
|
|
743
|
+
_0x232c05: 0x2a8,
|
|
744
|
+
_0x372353: 0x2e5,
|
|
745
|
+
_0x11a86a: 0x18d,
|
|
746
|
+
_0x2143c2: 0x2d8,
|
|
747
|
+
_0x31f4f5: 0x2e5,
|
|
748
|
+
_0x1af81e: 0x2a8,
|
|
749
|
+
_0x199b2a: 0x1ae,
|
|
750
|
+
_0x362dd1: 0x2e1,
|
|
751
|
+
_0x4936a7: 0x1c0,
|
|
752
|
+
_0x28a0ff: 0x167,
|
|
753
|
+
_0x80e8aa: 0x1d8,
|
|
754
|
+
_0x4ff38e: 0x297,
|
|
755
|
+
_0x47ab01: 0x2eb,
|
|
756
|
+
_0x4b29ae: 0x249,
|
|
757
|
+
_0xd2be04: 0x208,
|
|
758
|
+
_0x349cec: 0x1a0,
|
|
759
|
+
_0x220a5b: 0x1a0,
|
|
760
|
+
_0xb8598a: 0x2ad,
|
|
761
|
+
_0x519a54: 0x1d8,
|
|
762
|
+
_0x3e8776: 0x1d8,
|
|
763
|
+
_0x601aa7: 0x1ae
|
|
764
|
+
}, _0x2a03d2 = { _0x4eb81a: 0x1c0 }, _0x23347f = {
|
|
765
|
+
_0xac7bbc: 0x25f,
|
|
766
|
+
_0x5f722d: 0x27f,
|
|
767
|
+
_0x2111cd: 0x1f5
|
|
768
|
+
}, _0xe778de = {
|
|
769
|
+
_0x6c03d3: 0x284,
|
|
770
|
+
_0x3427d9: 0x19c,
|
|
771
|
+
_0x24c554: 0x23c
|
|
772
|
+
}, _0x5ca51e = {
|
|
773
|
+
_0x1085b4: 0x193,
|
|
774
|
+
_0x54cd6a: 0x18f,
|
|
775
|
+
_0x17488f: 0x2d8,
|
|
776
|
+
_0x12cc19: 0x199,
|
|
777
|
+
_0x335e57: 0x232,
|
|
778
|
+
_0x501fc4: 0x24c
|
|
779
|
+
}, _0x261e12 = {
|
|
780
|
+
_0xe3866: 0x2b4,
|
|
781
|
+
_0x21daf5: 0x252,
|
|
782
|
+
_0xf4619: 0x224,
|
|
783
|
+
_0x223650: 0x258,
|
|
784
|
+
_0x4ce3b8: 0x24c,
|
|
785
|
+
_0x225679: 0x23e,
|
|
786
|
+
_0x56b341: 0x1c5
|
|
787
|
+
}, _0x15ae47 = {
|
|
788
|
+
_0x21cb98: 0x284,
|
|
789
|
+
_0x18c1ba: 0x1f1,
|
|
790
|
+
_0x43226c: 0x26e,
|
|
791
|
+
_0x5238bd: 0x258
|
|
792
|
+
}, _0x53e89a = {
|
|
793
|
+
_0xf3cba8: 0x1de,
|
|
794
|
+
_0x52cfe6: 0x258
|
|
795
|
+
}, _0x35e2c1 = {
|
|
796
|
+
_0x5e81c4: 0x2b4,
|
|
797
|
+
_0x423f69: 0x1f9
|
|
798
|
+
}, _0x3d93c1 = { _0x422915: 0x241 }, _0x3a8ec3 = {
|
|
799
|
+
_0x2d9379: 0x25f,
|
|
800
|
+
_0x2328bf: 0x205,
|
|
801
|
+
_0x14ec96: 0x241
|
|
802
|
+
}, _0x24745e = {
|
|
803
|
+
_0x4f47f2: 0x1a1,
|
|
804
|
+
_0x5267c6: 0x24c,
|
|
805
|
+
_0x2d2bed: 0x205
|
|
806
|
+
}, _0x2cf426 = {
|
|
807
|
+
_0x337138: 0x1cc,
|
|
808
|
+
_0x520cd8: 0x1a1,
|
|
809
|
+
_0x539379: 0x17c,
|
|
810
|
+
_0x175683: 0x2b4,
|
|
811
|
+
_0x5838ed: 0x24c,
|
|
812
|
+
_0x2e419a: 0x2df
|
|
813
|
+
}, _0x3c14d0 = {
|
|
814
|
+
_0x525173: 0x24c,
|
|
815
|
+
_0x1c5154: 0x1f6
|
|
816
|
+
}, _0x40aeca = {
|
|
817
|
+
_0x2301ec: 0x2ae,
|
|
818
|
+
_0xa073c5: 0x18e
|
|
819
|
+
}, _0x5ab6bd = {
|
|
820
|
+
_0x460c65: 0x2eb,
|
|
821
|
+
_0x192682: 0x1e7,
|
|
822
|
+
_0x538f43: 0x258
|
|
823
|
+
}, _0xf9bd36 = {
|
|
824
|
+
_0x4db59a: 0x2da,
|
|
825
|
+
_0x34e6fe: 0x2da,
|
|
826
|
+
_0x5b3074: 0x27f,
|
|
827
|
+
_0x3f2c7c: 0x27f,
|
|
828
|
+
_0x2319e4: 0x1aa,
|
|
829
|
+
_0x4cb41c: 0x1e3,
|
|
830
|
+
_0x5b0de0: 0x2d5,
|
|
831
|
+
_0x149dea: 0x24c,
|
|
832
|
+
_0x24d010: 0x1fc,
|
|
833
|
+
_0x5001a2: 0x26c,
|
|
834
|
+
_0x46609d: 0x23b,
|
|
835
|
+
_0x225852: 0x1e3
|
|
836
|
+
}, _0xf7227f = { _0x363489: 0x1d2 }, _0x3d2bbc = {
|
|
837
|
+
_0x54f661: 0x16f,
|
|
838
|
+
_0x3c8e9d: 0x1d2
|
|
839
|
+
}, _0x3b470b = {
|
|
840
|
+
_0x543284: 0x269,
|
|
841
|
+
_0x12d883: 0x260,
|
|
842
|
+
_0x32a699: 0x2a8,
|
|
843
|
+
_0x490230: 0x2ad,
|
|
844
|
+
_0x319e63: 0x2c2,
|
|
845
|
+
_0xaae539: 0x181,
|
|
846
|
+
_0x2ad27a: 0x1f5,
|
|
847
|
+
_0xe95c0b: 0x2c2
|
|
848
|
+
}, _0x3db130 = {
|
|
849
|
+
_0x9621cb: 0x1fc,
|
|
850
|
+
_0x29cc50: 0x2e5,
|
|
851
|
+
_0x5230cd: 0x2a8,
|
|
852
|
+
_0x4b7839: 0x181,
|
|
853
|
+
_0x3948a5: 0x1f5,
|
|
854
|
+
_0x4bab04: 0x1f5,
|
|
855
|
+
_0x2b611a: 0x1f5,
|
|
856
|
+
_0x5991af: 0x2c2
|
|
857
|
+
}, _0x2ce41a = {
|
|
858
|
+
_0x23d57c: 0x1fc,
|
|
859
|
+
_0x160545: 0x20c
|
|
860
|
+
}, _0x3a6e17 = { _0x48d053: 0x1c1 }, _0x37bb94 = {
|
|
861
|
+
_0x50200f: 0x241,
|
|
862
|
+
_0x164ab8: 0x178,
|
|
863
|
+
_0xf79d14: 0x27f,
|
|
864
|
+
_0x15d235: 0x24c,
|
|
865
|
+
_0x247455: 0x2e5
|
|
866
|
+
}, _0x63e032 = {
|
|
867
|
+
_0x3edb67: 0x2b4,
|
|
868
|
+
_0x91ae49: 0x18f
|
|
869
|
+
}, _0x25a143 = {
|
|
870
|
+
_0x364f1f: 0x20a,
|
|
871
|
+
_0x26f8c7: 0x2b4
|
|
872
|
+
}, _0x39ff8e = { _0x13aa5a: 0x18f }, _0x33b17f = {
|
|
873
|
+
_0x27a867: 0x210,
|
|
874
|
+
_0x23e3df: 0x2ad,
|
|
875
|
+
_0x542b65: 0x220,
|
|
876
|
+
_0x4108fa: 0x1dc,
|
|
877
|
+
_0x424819: 0x295,
|
|
878
|
+
_0x8f3c69: 0x1ec,
|
|
879
|
+
_0x22f11c: 0x2b2,
|
|
880
|
+
_0x26112a: 0x251,
|
|
881
|
+
_0x4e8d86: 0x2c6,
|
|
882
|
+
_0x520689: 0x29b,
|
|
883
|
+
_0x239408: 0x2da
|
|
884
|
+
}, _0x437d2e = {
|
|
885
|
+
_0x4289d7: 0x199,
|
|
886
|
+
_0x19da24: 0x232,
|
|
887
|
+
_0x4d901e: 0x17d,
|
|
888
|
+
_0x35d53a: 0x174,
|
|
889
|
+
_0x6333e3: 0x2e9
|
|
890
|
+
}, _0x34d5a1 = {
|
|
891
|
+
_0x3af930: 0x240,
|
|
892
|
+
_0x1f472f: 0x205,
|
|
893
|
+
_0x2229c0: 0x2a6
|
|
894
|
+
}, _0x2abb1a = _0x4cca3c, _0xcb7584 = _0x57921b['fetchImpl'] ?? fetch, _0x26309a = _0x57921b[_0x2abb1a(0x21b)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x49876c = typeof _0x57921b[_0x2abb1a(_0x3b728a._0x3f10e4)] === _0x2abb1a(0x179) && _0x57921b[_0x2abb1a(0x29f)] > 0x0 ? _0x57921b[_0x2abb1a(_0x3b728a._0x1f8c70)] : 0x0, _0x1476ce = _0x57921b[_0x2abb1a(_0x3b728a._0x348d48)]?.[_0x2abb1a(0x220)]() || void 0x0, _0x3ae457 = _0x57921b['sessionId']?.[_0x2abb1a(0x220)]() || void 0x0, _0x9ab4dd = _0x57921b[_0x2abb1a(_0x3b728a._0xa1e803)] === !![], _0x2c2cf0 = _0x57921b['workerSessionId']?.[_0x2abb1a(0x220)]() || void 0x0, _0x33b873 = _0x57921b[_0x2abb1a(0x267)]?.[_0x2abb1a(0x220)]() || void 0x0, _0x302f0f = createHeaders(_0x57921b[_0x2abb1a(0x26b)]), _0x4bc90e = toHttpBaseUrl(_0x57921b[_0x2abb1a(0x18b)]);
|
|
895
|
+
let _0x274bf3 = null;
|
|
896
|
+
const _0x144f0a = new Map();
|
|
897
|
+
let _0x2922b7 = _0x49876c, _0x54a941 = _0x49876c;
|
|
898
|
+
function _0x254a4f(_0xd71def) {
|
|
899
|
+
const _0xa8c33a = _0x2abb1a, _0x506097 = _0xd71def['response']['headers']['get']('content-type') ?? 'unknown', _0xb19204 = _0xd71def['bodyText']['trim']()[_0xa8c33a(0x250)](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0xa8c33a(_0x34d5a1._0x3af930);
|
|
900
|
+
return _0xa8c33a(0x254) + _0xd71def[_0xa8c33a(0x197)] + '\x20返回了非\x20JSON\x20响应(status=' + _0xd71def[_0xa8c33a(0x2cb)][_0xa8c33a(_0x34d5a1._0x1f472f)] + _0xa8c33a(_0x34d5a1._0x2229c0) + _0x506097 + _0xa8c33a(0x2d0) + _0xb19204 + ')。这通常表示\x20serverUrl\x20指向了\x20web\x20站点,或代理没有把\x20daemon/internal\x20API\x20转发到后端。';
|
|
892
901
|
}
|
|
893
|
-
async function
|
|
894
|
-
const
|
|
895
|
-
if (!
|
|
902
|
+
async function _0xa74283(_0x156a65, _0x5a0820) {
|
|
903
|
+
const _0x3a74b7 = _0x2abb1a, _0x13d19a = Buffer[_0x3a74b7(_0x437d2e._0x4289d7)](await _0x5a0820[_0x3a74b7(_0x437d2e._0x19da24)]())[_0x3a74b7(_0x437d2e._0x4d901e)](_0x3a74b7(_0x437d2e._0x35d53a));
|
|
904
|
+
if (!_0x13d19a['trim']())
|
|
896
905
|
return {};
|
|
897
906
|
try {
|
|
898
|
-
return JSON[
|
|
907
|
+
return JSON[_0x3a74b7(_0x437d2e._0x6333e3)](_0x13d19a);
|
|
899
908
|
} catch {
|
|
900
|
-
throw new Error(
|
|
901
|
-
'bodyText':
|
|
902
|
-
'requestUrl':
|
|
903
|
-
'response':
|
|
909
|
+
throw new Error(_0x254a4f({
|
|
910
|
+
'bodyText': _0x13d19a,
|
|
911
|
+
'requestUrl': _0x156a65,
|
|
912
|
+
'response': _0x5a0820
|
|
904
913
|
}));
|
|
905
914
|
}
|
|
906
915
|
}
|
|
907
|
-
function
|
|
908
|
-
const
|
|
909
|
-
if (
|
|
910
|
-
return
|
|
911
|
-
const
|
|
912
|
-
for (const [
|
|
913
|
-
|
|
916
|
+
function _0x29dc90(_0x4b5d9c, _0x566985) {
|
|
917
|
+
const _0x23616f = _0x2abb1a, _0x419d36 = typeof _0x566985[_0x23616f(_0x33b17f._0x27a867)] === _0x23616f(_0x33b17f._0x23e3df) ? _0x566985[_0x23616f(_0x33b17f._0x27a867)][_0x23616f(_0x33b17f._0x542b65)]() : '';
|
|
918
|
+
if (_0x419d36)
|
|
919
|
+
return _0x419d36;
|
|
920
|
+
const _0x40c2c0 = Date[_0x23616f(_0x33b17f._0x4108fa)]();
|
|
921
|
+
for (const [_0x559a75, _0x186838] of _0x144f0a) {
|
|
922
|
+
_0x186838[_0x23616f(0x266)] <= _0x40c2c0 && _0x144f0a[_0x23616f(_0x33b17f._0x424819)](_0x559a75);
|
|
914
923
|
}
|
|
915
|
-
const
|
|
916
|
-
...
|
|
924
|
+
const _0x23009d = {
|
|
925
|
+
..._0x566985,
|
|
917
926
|
'idempotency_key': void 0x0
|
|
918
|
-
},
|
|
919
|
-
if (
|
|
920
|
-
return
|
|
921
|
-
const
|
|
922
|
-
return
|
|
923
|
-
'expiresAt':
|
|
924
|
-
'value':
|
|
925
|
-
}),
|
|
927
|
+
}, _0x2d4655 = createHash('sha256')[_0x23616f(_0x33b17f._0x8f3c69)](_0x4b5d9c + ':' + stableStringify(_0x23009d))[_0x23616f(_0x33b17f._0x22f11c)](_0x23616f(_0x33b17f._0x26112a)), _0x3dc483 = _0x4b5d9c + ':' + _0x2d4655, _0x25bfb6 = _0x144f0a[_0x23616f(0x2d8)](_0x3dc483);
|
|
928
|
+
if (_0x25bfb6)
|
|
929
|
+
return _0x25bfb6[_0x23616f(_0x33b17f._0x4e8d86)];
|
|
930
|
+
const _0xb7229d = _0x23616f(_0x33b17f._0x520689) + _0x4b5d9c + ':' + randomUUID();
|
|
931
|
+
return _0x144f0a[_0x23616f(_0x33b17f._0x239408)](_0x3dc483, {
|
|
932
|
+
'expiresAt': _0x40c2c0 + 0x5 * 0x3c * 0x3e8,
|
|
933
|
+
'value': _0xb7229d
|
|
934
|
+
}), _0xb7229d;
|
|
926
935
|
}
|
|
927
|
-
async function
|
|
928
|
-
const
|
|
936
|
+
async function _0x44fd54(_0x3d11ce, _0x3f7c9e) {
|
|
937
|
+
const _0x47c247 = _0x2abb1a, _0x486c9c = new AbortController(), _0x5ea526 = setTimeout(() => _0x486c9c['abort'](), _0x26309a), _0x28fb16 = _0x3f7c9e?.[_0x47c247(0x22e)] ? anySignal(_0x3f7c9e['signal'], _0x486c9c[_0x47c247(0x22e)]) : _0x486c9c[_0x47c247(0x22e)], _0x269c3a = '' + _0x4bc90e + _0x3d11ce;
|
|
929
938
|
try {
|
|
930
|
-
const
|
|
931
|
-
...
|
|
932
|
-
'signal':
|
|
933
|
-
}),
|
|
934
|
-
if (!
|
|
935
|
-
throw new Error(asErrorMessage(
|
|
936
|
-
return
|
|
939
|
+
const _0x3fd5f3 = await _0xcb7584(_0x269c3a, {
|
|
940
|
+
..._0x3f7c9e,
|
|
941
|
+
'signal': _0x28fb16
|
|
942
|
+
}), _0x3a2321 = await _0xa74283(_0x269c3a, _0x3fd5f3);
|
|
943
|
+
if (!_0x3fd5f3['ok'] || _0x3a2321[_0x47c247(0x24e)] === ![])
|
|
944
|
+
throw new Error(asErrorMessage(_0x3a2321[_0x47c247(0x1e8)], _0x47c247(0x18f) + _0x3fd5f3[_0x47c247(0x205)]));
|
|
945
|
+
return _0x3a2321;
|
|
937
946
|
} finally {
|
|
938
|
-
clearTimeout(
|
|
947
|
+
clearTimeout(_0x5ea526);
|
|
939
948
|
}
|
|
940
949
|
}
|
|
941
|
-
async function
|
|
942
|
-
const
|
|
950
|
+
async function _0x142973(_0x1039db, _0x2ccba0) {
|
|
951
|
+
const _0xff7015 = _0x2abb1a, _0x1e8d3c = new AbortController(), _0x4aba5e = setTimeout(() => _0x1e8d3c[_0xff7015(0x20e)](), _0x26309a), _0x2b63a0 = _0x2ccba0?.['signal'] ? anySignal(_0x2ccba0[_0xff7015(0x22e)], _0x1e8d3c['signal']) : _0x1e8d3c['signal'], _0x14c291 = '' + _0x4bc90e + _0x1039db;
|
|
943
952
|
try {
|
|
944
|
-
const
|
|
945
|
-
...
|
|
946
|
-
'signal':
|
|
947
|
-
}),
|
|
948
|
-
if (!
|
|
949
|
-
throw new Error(asErrorMessage(
|
|
950
|
-
return
|
|
953
|
+
const _0x6048cd = await _0xcb7584(_0x14c291, {
|
|
954
|
+
..._0x2ccba0,
|
|
955
|
+
'signal': _0x2b63a0
|
|
956
|
+
}), _0x203630 = await _0xa74283(_0x14c291, _0x6048cd);
|
|
957
|
+
if (!_0x6048cd['ok'])
|
|
958
|
+
throw new Error(asErrorMessage(_0x203630[_0xff7015(0x1e8)], _0xff7015(_0x39ff8e._0x13aa5a) + _0x6048cd[_0xff7015(0x205)]));
|
|
959
|
+
return _0x203630;
|
|
951
960
|
} finally {
|
|
952
|
-
clearTimeout(
|
|
961
|
+
clearTimeout(_0x4aba5e);
|
|
953
962
|
}
|
|
954
963
|
}
|
|
955
|
-
async function
|
|
956
|
-
const
|
|
957
|
-
if (!
|
|
964
|
+
async function _0x5e2d68(_0x467900) {
|
|
965
|
+
const _0x53b45f = _0x2abb1a;
|
|
966
|
+
if (!_0x3ae457 || _0x467900 <= _0x54a941)
|
|
958
967
|
return;
|
|
959
|
-
await
|
|
960
|
-
'body': JSON[
|
|
961
|
-
'headers':
|
|
962
|
-
'method':
|
|
963
|
-
}),
|
|
968
|
+
await _0x44fd54('/api/agent-sessions/' + encodeURIComponent(_0x3ae457) + _0x53b45f(_0x25a143._0x364f1f), {
|
|
969
|
+
'body': JSON[_0x53b45f(_0x25a143._0x26f8c7)]({ 'lastSeenSeq': _0x467900 }),
|
|
970
|
+
'headers': _0x302f0f,
|
|
971
|
+
'method': 'PATCH'
|
|
972
|
+
}), _0x54a941 = _0x467900;
|
|
964
973
|
}
|
|
965
|
-
async function
|
|
966
|
-
const
|
|
967
|
-
if (!
|
|
974
|
+
async function _0x259504(_0x337f9a) {
|
|
975
|
+
const _0x5b7605 = _0x2abb1a;
|
|
976
|
+
if (!_0x1476ce || !_0x2c2cf0 || _0x337f9a <= _0x54a941)
|
|
968
977
|
return;
|
|
969
|
-
const
|
|
970
|
-
'body': JSON[
|
|
971
|
-
'last_seen_seq':
|
|
972
|
-
'worker_session_id':
|
|
978
|
+
const _0x3889c6 = await _0xcb7584(_0x1476ce + _0x5b7605(0x1d5), {
|
|
979
|
+
'body': JSON[_0x5b7605(_0x63e032._0x3edb67)]({
|
|
980
|
+
'last_seen_seq': _0x337f9a,
|
|
981
|
+
'worker_session_id': _0x2c2cf0
|
|
973
982
|
}),
|
|
974
|
-
'headers': { 'Content-Type':
|
|
975
|
-
'method':
|
|
983
|
+
'headers': { 'Content-Type': _0x5b7605(0x255) },
|
|
984
|
+
'method': _0x5b7605(0x258)
|
|
976
985
|
});
|
|
977
|
-
if (!
|
|
978
|
-
throw new Error(
|
|
979
|
-
|
|
986
|
+
if (!_0x3889c6['ok'])
|
|
987
|
+
throw new Error(_0x5b7605(_0x63e032._0x91ae49) + _0x3889c6['status']);
|
|
988
|
+
_0x54a941 = _0x337f9a;
|
|
980
989
|
}
|
|
981
|
-
async function
|
|
982
|
-
const
|
|
983
|
-
'body': JSON[
|
|
984
|
-
'headers':
|
|
985
|
-
'method':
|
|
990
|
+
async function _0x329356(_0x24b11e) {
|
|
991
|
+
const _0x376fae = _0x2abb1a, _0x284925 = parseTarget(_0x24b11e), _0x454e03 = await _0x44fd54(_0x376fae(0x284) + _0x57921b[_0x376fae(_0x37bb94._0x50200f)] + _0x376fae(_0x37bb94._0x164ab8), {
|
|
992
|
+
'body': JSON[_0x376fae(0x2b4)]({ 'target': _0x284925[_0x376fae(0x252)] }),
|
|
993
|
+
'headers': _0x302f0f,
|
|
994
|
+
'method': 'POST'
|
|
986
995
|
});
|
|
987
996
|
return {
|
|
988
|
-
'channelId':
|
|
989
|
-
'target':
|
|
990
|
-
'task':
|
|
991
|
-
'threadId':
|
|
992
|
-
'threadNumber':
|
|
997
|
+
'channelId': _0x454e03['data']?.[_0x376fae(_0x37bb94._0xf79d14)] ?? '',
|
|
998
|
+
'target': _0x284925[_0x376fae(0x1fc)],
|
|
999
|
+
'task': _0x454e03[_0x376fae(_0x37bb94._0x15d235)]?.[_0x376fae(0x2bd)],
|
|
1000
|
+
'threadId': _0x454e03['data']?.[_0x376fae(0x1f5)],
|
|
1001
|
+
'threadNumber': _0x454e03[_0x376fae(0x24c)]?.[_0x376fae(_0x37bb94._0x247455)]
|
|
993
1002
|
};
|
|
994
1003
|
}
|
|
995
|
-
async function
|
|
996
|
-
const
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
'
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
'
|
|
1015
|
-
|
|
1016
|
-
|
|
1004
|
+
async function _0x5af2a3(_0x2bfa02 = {}) {
|
|
1005
|
+
const _0x4b57d2 = {
|
|
1006
|
+
_0x36fb91: 0x284,
|
|
1007
|
+
_0x177139: 0x241,
|
|
1008
|
+
_0x43eac2: 0x16a,
|
|
1009
|
+
_0x695704: 0x1db,
|
|
1010
|
+
_0x56852c: 0x1db,
|
|
1011
|
+
_0x2d2e00: 0x24c,
|
|
1012
|
+
_0x5781e4: 0x237,
|
|
1013
|
+
_0x453279: 0x24c
|
|
1014
|
+
}, _0x49a0cd = _0x2abb1a;
|
|
1015
|
+
if (!_0x2bfa02['forceRefresh'] && _0x274bf3)
|
|
1016
|
+
return _0x274bf3;
|
|
1017
|
+
return _0x274bf3 = (async () => {
|
|
1018
|
+
const _0x5cc3ce = _0x58de, _0x514d4e = await _0x44fd54(_0x5cc3ce(_0x4b57d2._0x36fb91) + _0x57921b[_0x5cc3ce(_0x4b57d2._0x177139)] + _0x5cc3ce(_0x4b57d2._0x43eac2), {
|
|
1019
|
+
'headers': _0x302f0f,
|
|
1020
|
+
'method': _0x5cc3ce(0x18e)
|
|
1021
|
+
}), _0x44116c = _0x514d4e[_0x5cc3ce(0x24c)]?.['members'] ?? [], _0x5799a9 = _0x44116c['filter'](_0x1d0198 => _0x1d0198[_0x5cc3ce(0x1d2)]?.[_0x5cc3ce(0x2bc)] === _0x5cc3ce(0x219))['map'](_0x1e7816 => ({
|
|
1022
|
+
'id': _0x466a0f(_0x1e7816),
|
|
1023
|
+
'name': _0x515e0e(_0x1e7816)
|
|
1024
|
+
}))[_0x5cc3ce(0x1db)](_0x5ccba8 => _0x5ccba8['id']), _0x4bdbc = _0x44116c[_0x5cc3ce(_0x4b57d2._0x695704)](_0x26238b => _0x26238b['participant']?.['type'] !== 'agent')[_0x5cc3ce(0x2e6)](_0x140e13 => ({
|
|
1025
|
+
'id': _0x466a0f(_0x140e13),
|
|
1026
|
+
'name': _0x515e0e(_0x140e13)
|
|
1027
|
+
}))[_0x5cc3ce(_0x4b57d2._0x56852c)](_0x4f1f8e => _0x4f1f8e['id']), _0x32620a = _0x514d4e[_0x5cc3ce(0x24c)]?.[_0x5cc3ce(0x2d7)]['id'] ?? '';
|
|
1017
1028
|
return {
|
|
1018
|
-
'agents':
|
|
1019
|
-
'channels':
|
|
1020
|
-
'humans':
|
|
1021
|
-
'serverId':
|
|
1022
|
-
'serverName':
|
|
1029
|
+
'agents': _0x5799a9,
|
|
1030
|
+
'channels': _0x514d4e[_0x5cc3ce(_0x4b57d2._0x2d2e00)]?.[_0x5cc3ce(_0x4b57d2._0x5781e4)] ?? [],
|
|
1031
|
+
'humans': _0x4bdbc,
|
|
1032
|
+
'serverId': _0x32620a,
|
|
1033
|
+
'serverName': _0x514d4e[_0x5cc3ce(_0x4b57d2._0x453279)]?.['server'][_0x5cc3ce(0x167)] ?? _0x32620a
|
|
1023
1034
|
};
|
|
1024
|
-
})()[
|
|
1025
|
-
|
|
1026
|
-
throw
|
|
1027
|
-
}),
|
|
1035
|
+
})()[_0x49a0cd(0x1b9)](_0x5aed3f => {
|
|
1036
|
+
_0x274bf3 = null;
|
|
1037
|
+
throw _0x5aed3f;
|
|
1038
|
+
}), _0x274bf3;
|
|
1028
1039
|
}
|
|
1029
|
-
function
|
|
1030
|
-
const
|
|
1031
|
-
return
|
|
1040
|
+
function _0x4e2217(_0x32a9e2, _0x3b7636) {
|
|
1041
|
+
const _0x37bcea = _0x2abb1a;
|
|
1042
|
+
return _0x3b7636[_0x37bcea(0x17b)][_0x37bcea(_0x3a6e17._0x48d053)](_0x3e3cc9 => _0x3e3cc9['id'] === _0x32a9e2 || _0x3e3cc9[_0x37bcea(0x167)] === _0x32a9e2) ? _0x37bcea(0x219) : _0x37bcea(0x1d4);
|
|
1032
1043
|
}
|
|
1033
|
-
function
|
|
1034
|
-
const
|
|
1035
|
-
...
|
|
1036
|
-
...
|
|
1037
|
-
][
|
|
1038
|
-
return
|
|
1044
|
+
function _0x382417(_0xc9738b, _0x1f3784) {
|
|
1045
|
+
const _0x3265da = _0x2abb1a, _0x2f16e2 = [
|
|
1046
|
+
..._0x1f3784['agents'],
|
|
1047
|
+
..._0x1f3784[_0x3265da(0x1b4)]
|
|
1048
|
+
][_0x3265da(0x21f)](_0x422e38 => _0x422e38['id'] === _0xc9738b);
|
|
1049
|
+
return _0x2f16e2?.['name'] ?? _0xc9738b;
|
|
1039
1050
|
}
|
|
1040
|
-
function
|
|
1041
|
-
const
|
|
1042
|
-
if (
|
|
1043
|
-
return
|
|
1044
|
-
if (
|
|
1045
|
-
return
|
|
1046
|
-
if (
|
|
1047
|
-
return
|
|
1048
|
-
return
|
|
1051
|
+
function _0x26a219(_0x576be1) {
|
|
1052
|
+
const _0x5c5147 = _0x2abb1a;
|
|
1053
|
+
if (_0x576be1['threadNumber'] != null)
|
|
1054
|
+
return _0x576be1[_0x5c5147(_0x2ce41a._0x23d57c)] + ':t' + _0x576be1[_0x5c5147(0x2e5)];
|
|
1055
|
+
if (_0x576be1['rootMessageId'])
|
|
1056
|
+
return _0x576be1['channelTarget'] + ':' + _0x576be1['rootMessageId'];
|
|
1057
|
+
if (_0x576be1[_0x5c5147(0x1f5)])
|
|
1058
|
+
return _0x576be1[_0x5c5147(_0x2ce41a._0x23d57c)] + ':' + _0x576be1[_0x5c5147(0x1f5)][_0x5c5147(_0x2ce41a._0x160545)](0x0, 0x8);
|
|
1059
|
+
return _0x576be1[_0x5c5147(0x1fc)];
|
|
1049
1060
|
}
|
|
1050
|
-
function
|
|
1051
|
-
const
|
|
1061
|
+
function _0x450d09(_0x44cd3f, _0x3637a7) {
|
|
1062
|
+
const _0x12054f = _0x2abb1a;
|
|
1052
1063
|
try {
|
|
1053
|
-
const
|
|
1054
|
-
if (
|
|
1064
|
+
const _0x1f303d = parseTarget(_0x44cd3f);
|
|
1065
|
+
if (_0x1f303d['kind'] !== 'thread' || _0x1f303d[_0x12054f(_0x3db130._0x9621cb)] !== _0x3637a7['channelTarget'])
|
|
1055
1066
|
return ![];
|
|
1056
|
-
if (
|
|
1067
|
+
if (_0x3637a7[_0x12054f(_0x3db130._0x29cc50)] != null && _0x1f303d['threadShortId'] === 't' + _0x3637a7['threadNumber'])
|
|
1057
1068
|
return !![];
|
|
1058
|
-
if (
|
|
1059
|
-
return
|
|
1060
|
-
if (
|
|
1061
|
-
return
|
|
1069
|
+
if (_0x3637a7[_0x12054f(0x2a8)])
|
|
1070
|
+
return _0x1f303d[_0x12054f(0x2c2)] === _0x3637a7[_0x12054f(_0x3db130._0x5230cd)] || _0x3637a7[_0x12054f(0x2a8)][_0x12054f(_0x3db130._0x4b7839)](_0x1f303d[_0x12054f(0x2c2)]);
|
|
1071
|
+
if (_0x3637a7[_0x12054f(_0x3db130._0x3948a5)])
|
|
1072
|
+
return _0x1f303d['threadShortId'] === _0x3637a7[_0x12054f(_0x3db130._0x4bab04)] || _0x3637a7[_0x12054f(_0x3db130._0x2b611a)][_0x12054f(_0x3db130._0x4b7839)](_0x1f303d[_0x12054f(_0x3db130._0x5991af)]);
|
|
1062
1073
|
return ![];
|
|
1063
1074
|
} catch {
|
|
1064
1075
|
return ![];
|
|
1065
1076
|
}
|
|
1066
1077
|
}
|
|
1067
|
-
function
|
|
1068
|
-
const
|
|
1078
|
+
function _0x527600(_0x424137, _0x22e621) {
|
|
1079
|
+
const _0x49c9ee = _0x2abb1a;
|
|
1069
1080
|
try {
|
|
1070
|
-
const
|
|
1071
|
-
if (
|
|
1081
|
+
const _0xf59bed = parseTarget(_0x424137);
|
|
1082
|
+
if (_0xf59bed['kind'] !== _0x49c9ee(_0x3b470b._0x543284))
|
|
1072
1083
|
return ![];
|
|
1073
|
-
const
|
|
1074
|
-
if (
|
|
1084
|
+
const _0x56b649 = typeof _0x22e621[_0x49c9ee(0x2e5)] === _0x49c9ee(0x179) && Number[_0x49c9ee(_0x3b470b._0x12d883)](_0x22e621['threadNumber']) ? _0x22e621['threadNumber'] : void 0x0;
|
|
1085
|
+
if (_0x56b649 != null && _0xf59bed['threadShortId'] === 't' + _0x56b649)
|
|
1075
1086
|
return !![];
|
|
1076
|
-
const
|
|
1077
|
-
if (
|
|
1078
|
-
return
|
|
1079
|
-
const
|
|
1080
|
-
return Boolean(
|
|
1087
|
+
const _0x39dccc = typeof _0x22e621[_0x49c9ee(_0x3b470b._0x32a699)] === _0x49c9ee(_0x3b470b._0x490230) ? _0x22e621['rootMessageId'] : void 0x0;
|
|
1088
|
+
if (_0x39dccc)
|
|
1089
|
+
return _0xf59bed[_0x49c9ee(_0x3b470b._0x319e63)] === _0x39dccc || _0x39dccc[_0x49c9ee(_0x3b470b._0xaae539)](_0xf59bed['threadShortId']);
|
|
1090
|
+
const _0x1a10f7 = typeof _0x22e621[_0x49c9ee(_0x3b470b._0x2ad27a)] === _0x49c9ee(0x2ad) ? _0x22e621[_0x49c9ee(0x1f5)] : void 0x0;
|
|
1091
|
+
return Boolean(_0x1a10f7) && (_0xf59bed[_0x49c9ee(_0x3b470b._0xe95c0b)] === _0x1a10f7 || _0x1a10f7[_0x49c9ee(0x181)](_0xf59bed[_0x49c9ee(_0x3b470b._0x319e63)]));
|
|
1081
1092
|
} catch {
|
|
1082
1093
|
return ![];
|
|
1083
1094
|
}
|
|
1084
1095
|
}
|
|
1085
|
-
function
|
|
1086
|
-
const
|
|
1087
|
-
return
|
|
1096
|
+
function _0x466a0f(_0x20b5fd) {
|
|
1097
|
+
const _0x521068 = _0x2abb1a;
|
|
1098
|
+
return _0x20b5fd[_0x521068(_0x3d2bbc._0x54f661)]?.[_0x521068(0x1fe)] ?? _0x20b5fd[_0x521068(_0x3d2bbc._0x3c8e9d)]?.['id'] ?? _0x20b5fd[_0x521068(0x1fe)] ?? '';
|
|
1088
1099
|
}
|
|
1089
|
-
function
|
|
1090
|
-
const
|
|
1091
|
-
return
|
|
1100
|
+
function _0x515e0e(_0x5df523) {
|
|
1101
|
+
const _0x57eb7a = _0x2abb1a;
|
|
1102
|
+
return _0x5df523[_0x57eb7a(_0xf7227f._0x363489)]?.['name'] ?? _0x466a0f(_0x5df523);
|
|
1092
1103
|
}
|
|
1093
|
-
async function
|
|
1094
|
-
const
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
const
|
|
1100
|
-
'headers':
|
|
1101
|
-
'method':
|
|
1102
|
-
}),
|
|
1103
|
-
'attachments': (
|
|
1104
|
-
'filename':
|
|
1105
|
-
'id':
|
|
1104
|
+
async function _0x4ac3c7(_0x5450c3) {
|
|
1105
|
+
const _0x20f10a = _0x2abb1a, _0x8b84c5 = Math[_0x20f10a(0x28f)](_0x5450c3[_0x20f10a(0x262)] ?? 0x32, 0x64), _0x3ee6bd = await _0x5af2a3(), _0x31c07a = new URLSearchParams();
|
|
1106
|
+
_0x31c07a[_0x20f10a(_0xf9bd36._0x4db59a)]('limit', String(_0x8b84c5));
|
|
1107
|
+
_0x5450c3[_0x20f10a(0x1f5)] ? (_0x31c07a[_0x20f10a(_0xf9bd36._0x34e6fe)](_0x20f10a(0x1f5), _0x5450c3[_0x20f10a(0x1f5)]), _0x31c07a[_0x20f10a(_0xf9bd36._0x4db59a)](_0x20f10a(_0xf9bd36._0x5b3074), _0x5450c3[_0x20f10a(_0xf9bd36._0x3f2c7c)])) : _0x31c07a['set']('channelId', _0x5450c3[_0x20f10a(0x27f)]);
|
|
1108
|
+
_0x5450c3[_0x20f10a(_0xf9bd36._0x2319e4)] && _0x31c07a[_0x20f10a(_0xf9bd36._0x4db59a)](_0x20f10a(_0xf9bd36._0x4cb41c), String(_0x5450c3[_0x20f10a(_0xf9bd36._0x2319e4)]));
|
|
1109
|
+
_0x5450c3[_0x20f10a(_0xf9bd36._0x5b0de0)] !== void 0x0 && _0x31c07a['set'](_0x20f10a(0x2d5), String(_0x5450c3[_0x20f10a(0x2d5)]));
|
|
1110
|
+
const _0x407e64 = await _0x44fd54('/internal/agent/' + _0x57921b['agentId'] + _0x20f10a(0x1da) + _0x31c07a['toString'](), {
|
|
1111
|
+
'headers': _0x302f0f,
|
|
1112
|
+
'method': _0x20f10a(0x18e)
|
|
1113
|
+
}), _0xf1dd2f = (_0x407e64[_0x20f10a(_0xf9bd36._0x149dea)] ?? [])['map'](_0x234232 => ({
|
|
1114
|
+
'attachments': (_0x234232[_0x20f10a(0x2a1)] ?? [])['map'](_0x568c6e => ({
|
|
1115
|
+
'filename': _0x568c6e[_0x20f10a(0x1c5)] ?? _0x568c6e['id'],
|
|
1116
|
+
'id': _0x568c6e['id']
|
|
1106
1117
|
})),
|
|
1107
|
-
'content':
|
|
1108
|
-
'createdAt':
|
|
1109
|
-
...
|
|
1110
|
-
'messageId':
|
|
1111
|
-
'senderName':
|
|
1112
|
-
'senderType':
|
|
1113
|
-
'seq':
|
|
1118
|
+
'content': _0x234232[_0x20f10a(0x22b)] ?? '',
|
|
1119
|
+
'createdAt': _0x234232[_0x20f10a(0x281)],
|
|
1120
|
+
..._0x234232['kind'] && _0x234232[_0x20f10a(0x1d8)] !== _0x20f10a(0x1f0) ? { 'kind': _0x234232[_0x20f10a(0x1d8)] } : {},
|
|
1121
|
+
'messageId': _0x234232['id'],
|
|
1122
|
+
'senderName': _0x382417(_0x234232['senderParticipantId'], _0x3ee6bd),
|
|
1123
|
+
'senderType': _0x4e2217(_0x234232['senderParticipantId'], _0x3ee6bd),
|
|
1124
|
+
'seq': _0x234232[_0x20f10a(0x169)] ?? 0x0
|
|
1114
1125
|
}));
|
|
1115
1126
|
return {
|
|
1116
|
-
'channel':
|
|
1117
|
-
'hasMore':
|
|
1118
|
-
'messages':
|
|
1119
|
-
'nextCursor':
|
|
1127
|
+
'channel': _0x5450c3[_0x20f10a(_0xf9bd36._0x24d010)],
|
|
1128
|
+
'hasMore': _0x407e64[_0x20f10a(0x23b)]?.[_0x20f10a(_0xf9bd36._0x5001a2)] ?? ![],
|
|
1129
|
+
'messages': _0xf1dd2f,
|
|
1130
|
+
'nextCursor': _0x407e64[_0x20f10a(_0xf9bd36._0x46609d)]?.[_0x20f10a(_0xf9bd36._0x225852)]
|
|
1120
1131
|
};
|
|
1121
1132
|
}
|
|
1122
1133
|
return {
|
|
1123
|
-
async 'sendMessage'(
|
|
1124
|
-
const
|
|
1125
|
-
'body': JSON[
|
|
1126
|
-
'attachment_ids':
|
|
1127
|
-
'bodyMarkdown':
|
|
1128
|
-
'channelId':
|
|
1129
|
-
...
|
|
1130
|
-
'threadId':
|
|
1131
|
-
...
|
|
1134
|
+
async 'sendMessage'(_0x3a5e3c) {
|
|
1135
|
+
const _0x50bb46 = _0x2abb1a, _0x302781 = await _0x329356(_0x3a5e3c['target']), _0x1a4d97 = _0x3a5e3c[_0x50bb46(_0x5ab6bd._0x460c65)][_0x50bb46(0x242)]('@') ? extractMentionedParticipantIds(_0x3a5e3c[_0x50bb46(0x2eb)], await _0x5af2a3()) : [], _0x3ae7de = await _0x44fd54('/internal/agent/' + _0x57921b[_0x50bb46(0x241)] + _0x50bb46(0x2c1), {
|
|
1136
|
+
'body': JSON['stringify']({
|
|
1137
|
+
'attachment_ids': _0x3a5e3c[_0x50bb46(0x202)],
|
|
1138
|
+
'bodyMarkdown': _0x3a5e3c['content'],
|
|
1139
|
+
'channelId': _0x302781['channelId'],
|
|
1140
|
+
..._0x1a4d97[_0x50bb46(0x170)] > 0x0 ? { 'mentionedParticipantIds': _0x1a4d97 } : {},
|
|
1141
|
+
'threadId': _0x302781[_0x50bb46(0x1f5)],
|
|
1142
|
+
..._0x3a5e3c[_0x50bb46(_0x5ab6bd._0x192682)] ? { 'visibility': _0x3a5e3c[_0x50bb46(0x1e7)] } : {}
|
|
1132
1143
|
}),
|
|
1133
|
-
'headers':
|
|
1134
|
-
'method':
|
|
1144
|
+
'headers': _0x302f0f,
|
|
1145
|
+
'method': _0x50bb46(_0x5ab6bd._0x538f43)
|
|
1135
1146
|
});
|
|
1136
|
-
return { 'messageId':
|
|
1147
|
+
return { 'messageId': _0x3ae7de[_0x50bb46(0x24c)]?.['id'] ?? '' };
|
|
1137
1148
|
},
|
|
1138
1149
|
async 'listSchedules'() {
|
|
1139
|
-
const
|
|
1140
|
-
'headers':
|
|
1141
|
-
'method':
|
|
1150
|
+
const _0x3fa424 = _0x2abb1a, _0x214c56 = await _0x44fd54(_0x3fa424(_0x40aeca._0x2301ec), {
|
|
1151
|
+
'headers': _0x302f0f,
|
|
1152
|
+
'method': _0x3fa424(_0x40aeca._0xa073c5)
|
|
1142
1153
|
});
|
|
1143
|
-
return
|
|
1154
|
+
return _0x214c56[_0x3fa424(0x24c)] ?? [];
|
|
1144
1155
|
},
|
|
1145
|
-
async 'claimScheduleRun'(
|
|
1146
|
-
const
|
|
1147
|
-
'body': JSON[
|
|
1148
|
-
'headers':
|
|
1149
|
-
'method':
|
|
1156
|
+
async 'claimScheduleRun'(_0x4a07b6) {
|
|
1157
|
+
const _0x4c948a = _0x2abb1a, _0x542d25 = await _0x44fd54(_0x4c948a(0x1c8), {
|
|
1158
|
+
'body': JSON[_0x4c948a(0x2b4)](_0x4a07b6),
|
|
1159
|
+
'headers': _0x302f0f,
|
|
1160
|
+
'method': _0x4c948a(0x258)
|
|
1150
1161
|
});
|
|
1151
|
-
return
|
|
1162
|
+
return _0x542d25[_0x4c948a(_0x3c14d0._0x525173)] ?? {
|
|
1152
1163
|
'granted': ![],
|
|
1153
1164
|
'runId': null,
|
|
1154
1165
|
'schedule': null,
|
|
1155
|
-
'scheduledFor':
|
|
1166
|
+
'scheduledFor': _0x4a07b6[_0x4c948a(_0x3c14d0._0x1c5154)]
|
|
1156
1167
|
};
|
|
1157
1168
|
},
|
|
1158
|
-
async 'startScheduleRun'(
|
|
1159
|
-
const
|
|
1160
|
-
'body': JSON[
|
|
1161
|
-
'headers':
|
|
1162
|
-
'method':
|
|
1169
|
+
async 'startScheduleRun'(_0x24e441) {
|
|
1170
|
+
const _0x4a9989 = _0x2abb1a, _0xe2395f = await _0x44fd54(_0x4a9989(_0x2cf426._0x337138) + encodeURIComponent(_0x24e441[_0x4a9989(_0x2cf426._0x520cd8)]) + _0x4a9989(_0x2cf426._0x539379), {
|
|
1171
|
+
'body': JSON[_0x4a9989(_0x2cf426._0x175683)]({}),
|
|
1172
|
+
'headers': _0x302f0f,
|
|
1173
|
+
'method': _0x4a9989(0x258)
|
|
1163
1174
|
});
|
|
1164
|
-
return
|
|
1175
|
+
return _0xe2395f[_0x4a9989(_0x2cf426._0x5838ed)] ?? {
|
|
1165
1176
|
'claimedByDaemonId': '',
|
|
1166
|
-
'id':
|
|
1177
|
+
'id': _0x24e441[_0x4a9989(0x1a1)],
|
|
1167
1178
|
'scheduleId': '',
|
|
1168
|
-
'status':
|
|
1179
|
+
'status': _0x4a9989(_0x2cf426._0x2e419a)
|
|
1169
1180
|
};
|
|
1170
1181
|
},
|
|
1171
|
-
async 'finishScheduleRun'(
|
|
1172
|
-
const
|
|
1173
|
-
'body': JSON[
|
|
1174
|
-
'error':
|
|
1175
|
-
'resultJson':
|
|
1176
|
-
'status':
|
|
1182
|
+
async 'finishScheduleRun'(_0x3bc5c6) {
|
|
1183
|
+
const _0x2bd014 = _0x2abb1a, _0x36b0c6 = await _0x44fd54(_0x2bd014(0x1cc) + encodeURIComponent(_0x3bc5c6[_0x2bd014(_0x24745e._0x4f47f2)]) + '/finish', {
|
|
1184
|
+
'body': JSON[_0x2bd014(0x2b4)]({
|
|
1185
|
+
'error': _0x3bc5c6[_0x2bd014(0x1e8)],
|
|
1186
|
+
'resultJson': _0x3bc5c6['resultJson'],
|
|
1187
|
+
'status': _0x3bc5c6['status']
|
|
1177
1188
|
}),
|
|
1178
|
-
'headers':
|
|
1179
|
-
'method':
|
|
1189
|
+
'headers': _0x302f0f,
|
|
1190
|
+
'method': _0x2bd014(0x258)
|
|
1180
1191
|
});
|
|
1181
|
-
return
|
|
1192
|
+
return _0x36b0c6[_0x2bd014(_0x24745e._0x5267c6)] ?? {
|
|
1182
1193
|
'nextRunAt': null,
|
|
1183
1194
|
'run': {
|
|
1184
1195
|
'claimedByDaemonId': '',
|
|
1185
|
-
'id':
|
|
1196
|
+
'id': _0x3bc5c6[_0x2bd014(0x1a1)],
|
|
1186
1197
|
'scheduleId': '',
|
|
1187
|
-
'status':
|
|
1198
|
+
'status': _0x3bc5c6[_0x2bd014(_0x24745e._0x2d2bed)]
|
|
1188
1199
|
}
|
|
1189
1200
|
};
|
|
1190
1201
|
},
|
|
1191
|
-
async 'listTasks'(
|
|
1192
|
-
const
|
|
1193
|
-
return
|
|
1194
|
-
'headers':
|
|
1195
|
-
'method':
|
|
1202
|
+
async 'listTasks'(_0x4a735a) {
|
|
1203
|
+
const _0x3499ed = _0x2abb1a, _0x1910ba = new URLSearchParams();
|
|
1204
|
+
return _0x1910ba['set'](_0x3499ed(_0x3a8ec3._0x2d9379), _0x4a735a['channel']), _0x4a735a[_0x3499ed(_0x3a8ec3._0x2328bf)] && _0x1910ba[_0x3499ed(0x2da)](_0x3499ed(0x205), _0x4a735a['status']), _0x142973(_0x3499ed(0x284) + _0x57921b[_0x3499ed(_0x3a8ec3._0x14ec96)] + _0x3499ed(0x2e4) + _0x1910ba[_0x3499ed(0x17d)](), {
|
|
1205
|
+
'headers': _0x302f0f,
|
|
1206
|
+
'method': 'GET'
|
|
1196
1207
|
});
|
|
1197
1208
|
},
|
|
1198
|
-
async 'createTasks'(
|
|
1199
|
-
const
|
|
1200
|
-
return
|
|
1201
|
-
'body': JSON[
|
|
1202
|
-
...
|
|
1203
|
-
'idempotency_key':
|
|
1209
|
+
async 'createTasks'(_0x27420f) {
|
|
1210
|
+
const _0x4a5a72 = _0x2abb1a;
|
|
1211
|
+
return _0x142973(_0x4a5a72(0x284) + _0x57921b[_0x4a5a72(_0x3d93c1._0x422915)] + '/tasks', {
|
|
1212
|
+
'body': JSON[_0x4a5a72(0x2b4)]({
|
|
1213
|
+
..._0x27420f,
|
|
1214
|
+
'idempotency_key': _0x29dc90('create_tasks', _0x27420f)
|
|
1204
1215
|
}),
|
|
1205
|
-
'headers':
|
|
1206
|
-
'method':
|
|
1216
|
+
'headers': _0x302f0f,
|
|
1217
|
+
'method': 'POST'
|
|
1207
1218
|
});
|
|
1208
1219
|
},
|
|
1209
|
-
async 'claimTasks'(
|
|
1210
|
-
const
|
|
1211
|
-
return
|
|
1212
|
-
'body': JSON[
|
|
1213
|
-
...
|
|
1214
|
-
'idempotency_key':
|
|
1220
|
+
async 'claimTasks'(_0x1239e7) {
|
|
1221
|
+
const _0xcc65ca = _0x2abb1a;
|
|
1222
|
+
return _0x142973(_0xcc65ca(0x284) + _0x57921b['agentId'] + _0xcc65ca(0x24f), {
|
|
1223
|
+
'body': JSON[_0xcc65ca(_0x35e2c1._0x5e81c4)]({
|
|
1224
|
+
..._0x1239e7,
|
|
1225
|
+
'idempotency_key': _0x29dc90(_0xcc65ca(_0x35e2c1._0x423f69), _0x1239e7)
|
|
1215
1226
|
}),
|
|
1216
|
-
'headers':
|
|
1217
|
-
'method':
|
|
1227
|
+
'headers': _0x302f0f,
|
|
1228
|
+
'method': 'POST'
|
|
1218
1229
|
});
|
|
1219
1230
|
},
|
|
1220
|
-
async 'unclaimTask'(
|
|
1221
|
-
const
|
|
1222
|
-
return
|
|
1223
|
-
'body': JSON[
|
|
1224
|
-
...
|
|
1225
|
-
'idempotency_key':
|
|
1231
|
+
async 'unclaimTask'(_0x34b2e1) {
|
|
1232
|
+
const _0x3c048e = _0x2abb1a;
|
|
1233
|
+
return _0x142973(_0x3c048e(0x284) + _0x57921b[_0x3c048e(0x241)] + _0x3c048e(_0x53e89a._0xf3cba8), {
|
|
1234
|
+
'body': JSON[_0x3c048e(0x2b4)]({
|
|
1235
|
+
..._0x34b2e1,
|
|
1236
|
+
'idempotency_key': _0x29dc90('unclaim_task', _0x34b2e1)
|
|
1226
1237
|
}),
|
|
1227
|
-
'headers':
|
|
1228
|
-
'method':
|
|
1238
|
+
'headers': _0x302f0f,
|
|
1239
|
+
'method': _0x3c048e(_0x53e89a._0x52cfe6)
|
|
1229
1240
|
});
|
|
1230
1241
|
},
|
|
1231
|
-
async 'updateTaskStatus'(
|
|
1232
|
-
const
|
|
1233
|
-
return
|
|
1242
|
+
async 'updateTaskStatus'(_0xeee594) {
|
|
1243
|
+
const _0x1e9345 = _0x2abb1a;
|
|
1244
|
+
return _0x142973(_0x1e9345(_0x15ae47._0x21cb98) + _0x57921b[_0x1e9345(0x241)] + _0x1e9345(_0x15ae47._0x18c1ba), {
|
|
1234
1245
|
'body': JSON['stringify']({
|
|
1235
|
-
...
|
|
1236
|
-
'idempotency_key':
|
|
1246
|
+
..._0xeee594,
|
|
1247
|
+
'idempotency_key': _0x29dc90(_0x1e9345(_0x15ae47._0x43226c), _0xeee594)
|
|
1237
1248
|
}),
|
|
1238
|
-
'headers':
|
|
1239
|
-
'method':
|
|
1249
|
+
'headers': _0x302f0f,
|
|
1250
|
+
'method': _0x1e9345(_0x15ae47._0x5238bd)
|
|
1240
1251
|
});
|
|
1241
1252
|
},
|
|
1242
|
-
async 'uploadFile'(
|
|
1243
|
-
const
|
|
1244
|
-
if (
|
|
1245
|
-
throw new Error(
|
|
1246
|
-
const
|
|
1247
|
-
'body': JSON[
|
|
1248
|
-
'channel':
|
|
1249
|
-
'contentBase64':
|
|
1250
|
-
'contentType':
|
|
1251
|
-
'originalFilename':
|
|
1253
|
+
async 'uploadFile'(_0x1b91ae) {
|
|
1254
|
+
const _0xf3103f = _0x2abb1a, _0x364ce6 = await _0x329356(_0x1b91ae['channel']);
|
|
1255
|
+
if (_0x364ce6[_0xf3103f(0x1f5)])
|
|
1256
|
+
throw new Error(_0xf3103f(0x271));
|
|
1257
|
+
const _0x38d8cc = await _0x44fd54('/internal/agent/' + _0x57921b[_0xf3103f(0x241)] + _0xf3103f(0x21e), {
|
|
1258
|
+
'body': JSON[_0xf3103f(_0x261e12._0xe3866)]({
|
|
1259
|
+
'channel': _0x364ce6[_0xf3103f(_0x261e12._0x21daf5)],
|
|
1260
|
+
'contentBase64': _0x1b91ae[_0xf3103f(_0x261e12._0xf4619)],
|
|
1261
|
+
'contentType': _0x1b91ae[_0xf3103f(0x182)],
|
|
1262
|
+
'originalFilename': _0x1b91ae[_0xf3103f(0x1c5)]
|
|
1252
1263
|
}),
|
|
1253
|
-
'headers':
|
|
1254
|
-
'method':
|
|
1264
|
+
'headers': _0x302f0f,
|
|
1265
|
+
'method': _0xf3103f(_0x261e12._0x223650)
|
|
1255
1266
|
});
|
|
1256
1267
|
return {
|
|
1257
|
-
'attachmentId':
|
|
1258
|
-
'filename':
|
|
1259
|
-
'sizeBytes':
|
|
1268
|
+
'attachmentId': _0x38d8cc[_0xf3103f(_0x261e12._0x4ce3b8)]?.['id'] ?? '',
|
|
1269
|
+
'filename': _0x38d8cc[_0xf3103f(_0x261e12._0x4ce3b8)]?.[_0xf3103f(_0x261e12._0x225679)] ?? _0x1b91ae[_0xf3103f(_0x261e12._0x56b341)],
|
|
1270
|
+
'sizeBytes': _0x38d8cc[_0xf3103f(0x24c)]?.[_0xf3103f(0x16d)] ?? 0x0
|
|
1260
1271
|
};
|
|
1261
1272
|
},
|
|
1262
|
-
async 'downloadAttachment'(
|
|
1263
|
-
const
|
|
1264
|
-
'headers':
|
|
1265
|
-
'method':
|
|
1266
|
-
}),
|
|
1273
|
+
async 'downloadAttachment'(_0x2cf776) {
|
|
1274
|
+
const _0x141973 = _0x2abb1a, _0x23157d = await _0x44fd54(_0x141973(_0x5ca51e._0x1085b4) + _0x2cf776, {
|
|
1275
|
+
'headers': _0x302f0f,
|
|
1276
|
+
'method': _0x141973(0x18e)
|
|
1277
|
+
}), _0x1887fc = new AbortController(), _0x3a4088 = setTimeout(() => _0x1887fc[_0x141973(0x20e)](), _0x26309a);
|
|
1267
1278
|
try {
|
|
1268
|
-
const
|
|
1269
|
-
'headers':
|
|
1270
|
-
'method':
|
|
1271
|
-
'signal':
|
|
1279
|
+
const _0x141760 = await _0xcb7584(_0x4bc90e + _0x141973(0x193) + _0x2cf776 + _0x141973(0x265), {
|
|
1280
|
+
'headers': _0x302f0f,
|
|
1281
|
+
'method': _0x141973(0x18e),
|
|
1282
|
+
'signal': _0x1887fc['signal']
|
|
1272
1283
|
});
|
|
1273
|
-
if (!
|
|
1274
|
-
throw new Error(
|
|
1284
|
+
if (!_0x141760['ok'])
|
|
1285
|
+
throw new Error(_0x141973(_0x5ca51e._0x54cd6a) + _0x141760[_0x141973(0x205)]);
|
|
1275
1286
|
return {
|
|
1276
|
-
'contentType':
|
|
1277
|
-
'data': Buffer[
|
|
1278
|
-
'originalFilename':
|
|
1287
|
+
'contentType': _0x23157d['data']?.['contentType'] ?? _0x141760[_0x141973(0x1bb)][_0x141973(_0x5ca51e._0x17488f)](_0x141973(0x2be)) ?? 'application/octet-stream',
|
|
1288
|
+
'data': Buffer[_0x141973(_0x5ca51e._0x12cc19)](await _0x141760[_0x141973(_0x5ca51e._0x335e57)]()),
|
|
1289
|
+
'originalFilename': _0x23157d[_0x141973(_0x5ca51e._0x501fc4)]?.[_0x141973(0x23e)]
|
|
1279
1290
|
};
|
|
1280
1291
|
} finally {
|
|
1281
|
-
clearTimeout(
|
|
1292
|
+
clearTimeout(_0x3a4088);
|
|
1282
1293
|
}
|
|
1283
1294
|
},
|
|
1284
1295
|
async 'listServer'() {
|
|
1285
|
-
return
|
|
1296
|
+
return _0x5af2a3({ 'forceRefresh': !![] });
|
|
1286
1297
|
},
|
|
1287
1298
|
async 'getLatestEventSeq'() {
|
|
1288
|
-
const
|
|
1289
|
-
|
|
1290
|
-
const
|
|
1291
|
-
'headers':
|
|
1292
|
-
'method':
|
|
1293
|
-
}),
|
|
1294
|
-
return typeof
|
|
1299
|
+
const _0x4e83c4 = _0x2abb1a, _0x102e0e = new URLSearchParams();
|
|
1300
|
+
_0x102e0e[_0x4e83c4(0x2da)](_0x4e83c4(0x192), '0'), _0x102e0e[_0x4e83c4(0x2da)](_0x4e83c4(0x262), '1');
|
|
1301
|
+
const _0xa6e9b7 = await _0x44fd54(_0x4e83c4(_0xe778de._0x6c03d3) + _0x57921b['agentId'] + _0x4e83c4(_0xe778de._0x3427d9) + _0x102e0e['toString'](), {
|
|
1302
|
+
'headers': _0x302f0f,
|
|
1303
|
+
'method': _0x4e83c4(0x18e)
|
|
1304
|
+
}), _0x3f3240 = _0xa6e9b7[_0x4e83c4(0x23b)]?.[_0x4e83c4(_0xe778de._0x24c554)];
|
|
1305
|
+
return typeof _0x3f3240 === _0x4e83c4(0x179) && _0x3f3240 > 0x0 ? _0x3f3240 : 0x0;
|
|
1295
1306
|
},
|
|
1296
|
-
async 'readHistory'(
|
|
1297
|
-
const
|
|
1298
|
-
return
|
|
1299
|
-
'after':
|
|
1300
|
-
'before':
|
|
1301
|
-
'channelId':
|
|
1302
|
-
'channelTarget':
|
|
1303
|
-
'limit':
|
|
1304
|
-
'threadId':
|
|
1307
|
+
async 'readHistory'(_0x1a8d5a) {
|
|
1308
|
+
const _0x286c52 = _0x2abb1a, _0x485c17 = await _0x329356(_0x1a8d5a[_0x286c52(_0x23347f._0xac7bbc)]);
|
|
1309
|
+
return _0x4ac3c7({
|
|
1310
|
+
'after': _0x1a8d5a['after'],
|
|
1311
|
+
'before': _0x1a8d5a['before'],
|
|
1312
|
+
'channelId': _0x485c17[_0x286c52(_0x23347f._0x5f722d)],
|
|
1313
|
+
'channelTarget': _0x485c17['target'],
|
|
1314
|
+
'limit': _0x1a8d5a[_0x286c52(0x262)],
|
|
1315
|
+
'threadId': _0x485c17[_0x286c52(_0x23347f._0x2111cd)]
|
|
1305
1316
|
});
|
|
1306
1317
|
},
|
|
1307
|
-
'resolveTarget':
|
|
1318
|
+
'resolveTarget': _0x329356,
|
|
1308
1319
|
async 'checkMessages'() {
|
|
1309
|
-
const
|
|
1310
|
-
|
|
1311
|
-
const
|
|
1312
|
-
'headers':
|
|
1313
|
-
'method':
|
|
1314
|
-
}),
|
|
1315
|
-
const
|
|
1316
|
-
if (
|
|
1320
|
+
const _0x58e50a = { _0x2a4e63: 0x27f }, _0x561314 = _0x2abb1a, _0x17b58f = new URLSearchParams();
|
|
1321
|
+
_0x17b58f[_0x561314(_0x2274db._0x1ed546)]('afterSeq', String(_0x2922b7));
|
|
1322
|
+
const _0x38534d = _0x17b58f[_0x561314(0x17d)](), _0x32a4ac = await _0x44fd54(_0x561314(0x284) + _0x57921b[_0x561314(0x241)] + '/receive' + (_0x38534d ? '?' + _0x38534d : ''), {
|
|
1323
|
+
'headers': _0x302f0f,
|
|
1324
|
+
'method': _0x561314(0x18e)
|
|
1325
|
+
}), _0x553820 = _0x32a4ac['data'] ?? [], _0x5e1cd7 = _0x32a4ac[_0x561314(0x23b)]?.['cursor'], _0xe6b9b4 = _0x33b873 ? _0x553820[_0x561314(_0x2274db._0x1cf6c1)](_0xe638a8 => {
|
|
1326
|
+
const _0x1e36a6 = _0x561314;
|
|
1327
|
+
if (_0xe638a8['aggregateType'] !== 'message')
|
|
1317
1328
|
return ![];
|
|
1318
|
-
return
|
|
1319
|
-
}) :
|
|
1320
|
-
let
|
|
1321
|
-
|
|
1322
|
-
|
|
1329
|
+
return _0x527600(_0x33b873, asRecord(_0xe638a8[_0x1e36a6(_0x2a03d2._0x4eb81a)]));
|
|
1330
|
+
}) : _0x553820, _0x381577 = _0x5e1cd7 !== void 0x0 ? _0x33b873 ? Math[_0x561314(0x29c)](_0x2922b7, _0xe6b9b4[_0x561314(_0x2274db._0x3a25ae)] > 0x0 ? _0xe6b9b4[_0xe6b9b4[_0x561314(0x170)] - 0x1][_0x561314(_0x2274db._0x54eba8)] : _0x2922b7) : Math['max'](_0x2922b7, _0x5e1cd7) : _0xe6b9b4[_0x561314(_0x2274db._0x338e3d)] > 0x0 ? Math[_0x561314(_0x2274db._0x18a5d5)](_0x2922b7, _0xe6b9b4[_0xe6b9b4[_0x561314(_0x2274db._0x3a25ae)] - 0x1][_0x561314(0x294)]) : _0x2922b7, _0x2e9de5 = (_0x33b873 ? _0xe6b9b4 : _0x553820)[_0x561314(_0x2274db._0xbebfa1)](_0x47ad07 => _0x47ad07[_0x561314(0x1e1)] === 'message'), _0xbbe5d9 = _0x33b873 === void 0x0 && _0x9ab4dd;
|
|
1331
|
+
let _0x58dc6e = await _0x5af2a3(), _0x2e6307 = new Map(_0x58dc6e[_0x561314(0x237)][_0x561314(0x2e6)](_0x1ff595 => [
|
|
1332
|
+
_0x1ff595['id'],
|
|
1333
|
+
_0x1ff595
|
|
1323
1334
|
]));
|
|
1324
|
-
const
|
|
1325
|
-
const
|
|
1326
|
-
return Boolean(
|
|
1335
|
+
const _0xadabfe = _0x2e9de5[_0x561314(_0x2274db._0x30831e)](_0x26263b => {
|
|
1336
|
+
const _0x1121ef = _0x561314, _0x3c24b2 = asRecord(_0x26263b[_0x1121ef(0x1c0)]), _0x1d5740 = typeof _0x3c24b2?.[_0x1121ef(0x27f)] === _0x1121ef(0x2ad) ? _0x3c24b2[_0x1121ef(_0x58e50a._0x2a4e63)] : '';
|
|
1337
|
+
return Boolean(_0x1d5740) && !_0x2e6307['has'](_0x1d5740);
|
|
1327
1338
|
});
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1339
|
+
_0xadabfe && (_0x58dc6e = await _0x5af2a3({ 'forceRefresh': !![] }), _0x2e6307 = new Map(_0x58dc6e[_0x561314(_0x2274db._0x5b3ecf)][_0x561314(0x2e6)](_0x42b5df => [
|
|
1340
|
+
_0x42b5df['id'],
|
|
1341
|
+
_0x42b5df
|
|
1331
1342
|
])));
|
|
1332
|
-
const
|
|
1333
|
-
for (const
|
|
1334
|
-
const
|
|
1335
|
-
if (!
|
|
1343
|
+
const _0x3defde = new Map();
|
|
1344
|
+
for (const _0x2883ba of _0x2e9de5) {
|
|
1345
|
+
const _0xed3b92 = asRecord(_0x2883ba[_0x561314(0x1c0)]), _0x1c36d2 = typeof _0xed3b92[_0x561314(_0x2274db._0xbfbe55)] === 'string' ? _0xed3b92['channelId'] : '';
|
|
1346
|
+
if (!_0x1c36d2)
|
|
1336
1347
|
continue;
|
|
1337
|
-
const
|
|
1348
|
+
const _0xb0b70a = typeof _0xed3b92[_0x561314(0x1f5)] === _0x561314(0x2ad) ? _0xed3b92[_0x561314(0x1f5)] : void 0x0, _0x387d08 = typeof _0xed3b92[_0x561314(_0x2274db._0x232c05)] === _0x561314(0x2ad) ? _0xed3b92[_0x561314(0x2a8)] : void 0x0, _0x347bf0 = typeof _0xed3b92[_0x561314(0x2e5)] === _0x561314(0x179) && Number[_0x561314(0x260)](_0xed3b92[_0x561314(_0x2274db._0x372353)]) ? _0xed3b92[_0x561314(_0x2274db._0x372353)] : void 0x0, _0x441714 = Boolean(_0xb0b70a && (!_0x387d08 || _0x2883ba[_0x561314(_0x2274db._0x11a86a)] !== _0x387d08)), _0x5a9766 = _0x441714 ? _0x1c36d2 + ':' + _0xb0b70a : _0x1c36d2, _0x3287b4 = _0x3defde[_0x561314(_0x2274db._0x2143c2)](_0x5a9766) ?? {
|
|
1338
1349
|
'aggregateIds': [],
|
|
1339
|
-
'channelId':
|
|
1350
|
+
'channelId': _0x1c36d2,
|
|
1340
1351
|
'entries': new Map(),
|
|
1341
|
-
'isThreadReply':
|
|
1342
|
-
'rootMessageId':
|
|
1343
|
-
'threadNumber':
|
|
1344
|
-
'threadId':
|
|
1352
|
+
'isThreadReply': _0x441714,
|
|
1353
|
+
'rootMessageId': _0x387d08,
|
|
1354
|
+
'threadNumber': _0x347bf0,
|
|
1355
|
+
'threadId': _0x441714 ? _0xb0b70a : void 0x0
|
|
1345
1356
|
};
|
|
1346
|
-
|
|
1347
|
-
'payloadJson':
|
|
1348
|
-
'seq':
|
|
1349
|
-
}),
|
|
1357
|
+
_0x3287b4[_0x561314(0x2e5)] == null && _0x347bf0 != null && (_0x3287b4[_0x561314(_0x2274db._0x31f4f5)] = _0x347bf0), !_0x3287b4[_0x561314(_0x2274db._0x232c05)] && _0x387d08 && (_0x3287b4[_0x561314(_0x2274db._0x1af81e)] = _0x387d08), _0x3287b4['aggregateIds'][_0x561314(_0x2274db._0x199b2a)](_0x2883ba[_0x561314(0x18d)]), _0x3287b4[_0x561314(_0x2274db._0x362dd1)]['set'](_0x2883ba['aggregateId'], {
|
|
1358
|
+
'payloadJson': _0x2883ba[_0x561314(_0x2274db._0x4936a7)],
|
|
1359
|
+
'seq': _0x2883ba[_0x561314(_0x2274db._0x54eba8)]
|
|
1360
|
+
}), _0x3defde['set'](_0x5a9766, _0x3287b4);
|
|
1350
1361
|
}
|
|
1351
|
-
const
|
|
1352
|
-
for (const
|
|
1362
|
+
const _0x308dc9 = [];
|
|
1363
|
+
for (const _0x281417 of _0x3defde[_0x561314(0x1b8)]()) {
|
|
1353
1364
|
const {
|
|
1354
|
-
channelId:
|
|
1355
|
-
threadId:
|
|
1356
|
-
rootMessageId:
|
|
1357
|
-
threadNumber:
|
|
1358
|
-
aggregateIds:
|
|
1359
|
-
isThreadReply:
|
|
1360
|
-
entries:
|
|
1361
|
-
} =
|
|
1362
|
-
'channelTarget':
|
|
1363
|
-
'rootMessageId':
|
|
1364
|
-
'threadId':
|
|
1365
|
-
'threadNumber':
|
|
1366
|
-
},
|
|
1367
|
-
'channelId':
|
|
1368
|
-
'channelTarget':
|
|
1369
|
-
'limit': Math['max'](
|
|
1370
|
-
'threadId':
|
|
1371
|
-
}),
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
])),
|
|
1375
|
-
for (const
|
|
1376
|
-
if (!
|
|
1365
|
+
channelId: _0x244140,
|
|
1366
|
+
threadId: _0xcf6eab,
|
|
1367
|
+
rootMessageId: _0x4cbced,
|
|
1368
|
+
threadNumber: _0x3ce590,
|
|
1369
|
+
aggregateIds: _0x3ef76b,
|
|
1370
|
+
isThreadReply: _0x443648,
|
|
1371
|
+
entries: _0x4a6084
|
|
1372
|
+
} = _0x281417, _0x31b31f = _0x2e6307[_0x561314(0x2d8)](_0x244140), _0x611b4a = _0x31b31f?.[_0x561314(_0x2274db._0x28a0ff)] ?? _0x244140, _0x2e3313 = _0x31b31f?.[_0x561314(_0x2274db._0x80e8aa)] === 'dm' ? _0x561314(0x19b) + _0x611b4a : '#' + _0x611b4a, _0x5e5cfb = {
|
|
1373
|
+
'channelTarget': _0x2e3313,
|
|
1374
|
+
'rootMessageId': _0x4cbced,
|
|
1375
|
+
'threadId': _0xcf6eab,
|
|
1376
|
+
'threadNumber': _0x3ce590
|
|
1377
|
+
}, _0x5f3943 = await _0x4ac3c7({
|
|
1378
|
+
'channelId': _0x244140,
|
|
1379
|
+
'channelTarget': _0x2e3313,
|
|
1380
|
+
'limit': Math['max'](_0x3ef76b['length'], 0x32),
|
|
1381
|
+
'threadId': _0xcf6eab
|
|
1382
|
+
}), _0x1f2898 = new Map(_0x5f3943[_0x561314(0x274)][_0x561314(0x2e6)](_0x4d9c33 => [
|
|
1383
|
+
_0x4d9c33['messageId'],
|
|
1384
|
+
_0x4d9c33
|
|
1385
|
+
])), _0x5d42b4 = _0xcf6eab ? _0x26a219(_0x5e5cfb) : _0x2e3313, _0x56fe79 = _0x33b873 ? _0x443648 && _0x450d09(_0x33b873, _0x5e5cfb) : !![], _0x35d76e = _0x443648 ? _0x56fe79 && _0x33b873 ? _0x33b873 : _0x5d42b4 : _0x2e3313;
|
|
1386
|
+
for (const _0x378894 of _0x3ef76b) {
|
|
1387
|
+
if (!_0x56fe79)
|
|
1377
1388
|
continue;
|
|
1378
|
-
const
|
|
1379
|
-
if (
|
|
1389
|
+
const _0x2e700b = _0x4a6084[_0x561314(0x2d8)](_0x378894), _0x3ab24f = _0x2e700b ? asRecord(_0x2e700b[_0x561314(0x1c0)]) : void 0x0, _0x45f35a = _0x3ab24f?.[_0x561314(_0x2274db._0x4ff38e)] === _0x561314(0x26f);
|
|
1390
|
+
if (_0xbbe5d9 && _0x45f35a)
|
|
1380
1391
|
continue;
|
|
1381
|
-
const
|
|
1382
|
-
if (
|
|
1383
|
-
|
|
1384
|
-
'attachments':
|
|
1385
|
-
'content':
|
|
1386
|
-
'createdAt':
|
|
1387
|
-
...
|
|
1388
|
-
'messageId':
|
|
1389
|
-
'senderName':
|
|
1390
|
-
'senderType':
|
|
1391
|
-
'target':
|
|
1392
|
-
...
|
|
1392
|
+
const _0x3e4dc6 = _0x1f2898[_0x561314(0x2d8)](_0x378894);
|
|
1393
|
+
if (_0x3e4dc6) {
|
|
1394
|
+
_0x308dc9['push']({
|
|
1395
|
+
'attachments': _0x3e4dc6[_0x561314(0x2a1)],
|
|
1396
|
+
'content': _0x3e4dc6[_0x561314(_0x2274db._0x47ab01)],
|
|
1397
|
+
'createdAt': _0x3e4dc6[_0x561314(0x281)],
|
|
1398
|
+
..._0x3e4dc6['kind'] ? { 'kind': _0x3e4dc6[_0x561314(0x1d8)] } : {},
|
|
1399
|
+
'messageId': _0x3e4dc6[_0x561314(_0x2274db._0x4b29ae)],
|
|
1400
|
+
'senderName': _0x3e4dc6[_0x561314(_0x2274db._0xd2be04)],
|
|
1401
|
+
'senderType': _0x3e4dc6[_0x561314(0x166)],
|
|
1402
|
+
'target': _0x35d76e,
|
|
1403
|
+
..._0x45f35a ? { 'targetedTask': !![] } : {}
|
|
1393
1404
|
});
|
|
1394
1405
|
continue;
|
|
1395
1406
|
}
|
|
1396
|
-
if (
|
|
1397
|
-
const
|
|
1398
|
-
|
|
1407
|
+
if (_0x2e700b) {
|
|
1408
|
+
const _0x56ea7b = typeof _0x3ab24f?.[_0x561314(_0x2274db._0x349cec)] === _0x561314(0x2ad) ? _0x3ab24f[_0x561314(_0x2274db._0x220a5b)] : '', _0x5abc42 = typeof _0x3ab24f?.[_0x561314(0x22b)] === _0x561314(_0x2274db._0xb8598a) ? _0x3ab24f[_0x561314(0x22b)] : '', _0x4a9d97 = typeof _0x3ab24f?.['kind'] === 'string' && _0x3ab24f[_0x561314(_0x2274db._0x519a54)] !== _0x561314(0x1f0) ? _0x3ab24f[_0x561314(_0x2274db._0x3e8776)] : void 0x0;
|
|
1409
|
+
_0x56ea7b && _0x5abc42 && _0x308dc9[_0x561314(_0x2274db._0x601aa7)]({
|
|
1399
1410
|
'attachments': [],
|
|
1400
|
-
'content':
|
|
1401
|
-
'createdAt': new Date()[
|
|
1402
|
-
...
|
|
1403
|
-
'messageId':
|
|
1404
|
-
'senderName':
|
|
1405
|
-
'senderType':
|
|
1406
|
-
'target':
|
|
1407
|
-
...
|
|
1411
|
+
'content': _0x5abc42,
|
|
1412
|
+
'createdAt': new Date()[_0x561314(0x276)](),
|
|
1413
|
+
..._0x4a9d97 ? { 'kind': _0x4a9d97 } : {},
|
|
1414
|
+
'messageId': _0x378894,
|
|
1415
|
+
'senderName': _0x382417(_0x56ea7b, _0x58dc6e),
|
|
1416
|
+
'senderType': _0x4e2217(_0x56ea7b, _0x58dc6e),
|
|
1417
|
+
'target': _0x35d76e,
|
|
1418
|
+
..._0x45f35a ? { 'targetedTask': !![] } : {}
|
|
1408
1419
|
});
|
|
1409
1420
|
}
|
|
1410
1421
|
}
|
|
1411
1422
|
}
|
|
1412
|
-
if (
|
|
1413
|
-
if (
|
|
1414
|
-
await
|
|
1423
|
+
if (_0x381577 > 0x0) {
|
|
1424
|
+
if (_0x3ae457)
|
|
1425
|
+
await _0x5e2d68(_0x381577);
|
|
1415
1426
|
else
|
|
1416
|
-
|
|
1427
|
+
_0x2c2cf0 && await _0x259504(_0x381577);
|
|
1417
1428
|
}
|
|
1418
|
-
return
|
|
1429
|
+
return _0x381577 > _0x2922b7 && (_0x2922b7 = _0x381577), { 'messages': _0x33b873 ? _0x308dc9 : _0xbbe5d9 ? _0x308dc9[_0x561314(0x1db)](_0x542676 => _0x542676['targetedTask'] !== !![]) : _0x308dc9 };
|
|
1419
1430
|
}
|
|
1420
1431
|
};
|
|
1421
1432
|
}
|
|
1422
|
-
function toLocalTime(
|
|
1423
|
-
const
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
return _0x3aa16c[_0x1ff7dc(0x30c)]() + '-' + _0x30cd1d(_0x3aa16c[_0x1ff7dc(0x1a7)]() + 0x1) + '-' + _0x30cd1d(_0x3aa16c[_0x1ff7dc(_0x5c1c3f._0x18fbbc)]()) + '\x20' + _0x30cd1d(_0x3aa16c['getHours']()) + ':' + _0x30cd1d(_0x3aa16c['getMinutes']()) + ':' + _0x30cd1d(_0x3aa16c[_0x1ff7dc(_0x5c1c3f._0x2deff3)]());
|
|
1433
|
+
function toLocalTime(_0x24cbe4) {
|
|
1434
|
+
const _0x21fb41 = {
|
|
1435
|
+
_0x2a118e: 0x299,
|
|
1436
|
+
_0x3ccd2f: 0x259
|
|
1437
|
+
}, _0x34dd7e = _0x4cca3c, _0x450f69 = new Date(_0x24cbe4);
|
|
1438
|
+
if (Number[_0x34dd7e(_0x21fb41._0x2a118e)](_0x450f69['getTime']()))
|
|
1439
|
+
return _0x24cbe4;
|
|
1440
|
+
const _0x2f1c8b = _0xa9ebeb => String(_0xa9ebeb)[_0x34dd7e(0x277)](0x2, '0');
|
|
1441
|
+
return _0x450f69[_0x34dd7e(0x2f2)]() + '-' + _0x2f1c8b(_0x450f69[_0x34dd7e(0x1d1)]() + 0x1) + '-' + _0x2f1c8b(_0x450f69[_0x34dd7e(_0x21fb41._0x3ccd2f)]()) + '\x20' + _0x2f1c8b(_0x450f69[_0x34dd7e(0x229)]()) + ':' + _0x2f1c8b(_0x450f69[_0x34dd7e(0x288)]()) + ':' + _0x2f1c8b(_0x450f69['getSeconds']());
|
|
1432
1442
|
}
|
|
1433
|
-
function formatAttachmentSuffix(
|
|
1434
|
-
const
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
},
|
|
1438
|
-
if (!
|
|
1443
|
+
function formatAttachmentSuffix(_0x24b441) {
|
|
1444
|
+
const _0x406137 = {
|
|
1445
|
+
_0x47b779: 0x170,
|
|
1446
|
+
_0x2f5996: 0x2e6
|
|
1447
|
+
}, _0x449399 = _0x4cca3c;
|
|
1448
|
+
if (!_0x24b441 || _0x24b441['length'] === 0x0)
|
|
1439
1449
|
return '';
|
|
1440
|
-
return '\x20[' +
|
|
1450
|
+
return '\x20[' + _0x24b441[_0x449399(0x170)] + '\x20attachment' + (_0x24b441[_0x449399(_0x406137._0x47b779)] > 0x1 ? 's' : '') + ':\x20' + _0x24b441[_0x449399(_0x406137._0x2f5996)](_0x5eae40 => _0x5eae40[_0x449399(0x1c5)] + _0x449399(0x2e3) + _0x5eae40['id'] + ')')['join'](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1441
1451
|
}
|
|
1442
|
-
function formatCheckMessages(
|
|
1443
|
-
const
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
},
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1452
|
+
function formatCheckMessages(_0x14b260) {
|
|
1453
|
+
const _0x5a8861 = {
|
|
1454
|
+
_0x44a5a1: 0x170,
|
|
1455
|
+
_0x4041f3: 0x23d
|
|
1456
|
+
}, _0x4c9d1f = {
|
|
1457
|
+
_0x6d8217: 0x219,
|
|
1458
|
+
_0x4275a1: 0x187,
|
|
1459
|
+
_0x47ed2e: 0x16e,
|
|
1460
|
+
_0x1b4381: 0x1a2,
|
|
1461
|
+
_0x48221d: 0x20c,
|
|
1462
|
+
_0x5ae817: 0x213,
|
|
1463
|
+
_0x1030f3: 0x281,
|
|
1464
|
+
_0x211344: 0x2eb
|
|
1465
|
+
}, _0x35fb3d = _0x4cca3c;
|
|
1466
|
+
if (_0x14b260[_0x35fb3d(_0x5a8861._0x44a5a1)] === 0x0)
|
|
1467
|
+
return _0x35fb3d(_0x5a8861._0x4041f3);
|
|
1468
|
+
return _0x14b260[_0x35fb3d(0x2e6)](_0x14b867 => {
|
|
1469
|
+
const _0x212670 = _0x35fb3d, _0x25fcd0 = _0x14b867[_0x212670(0x166)] === _0x212670(_0x4c9d1f._0x6d8217) ? _0x212670(_0x4c9d1f._0x4275a1) : '', _0x29b828 = _0x14b867[_0x212670(0x1d8)] && _0x14b867['kind'] !== _0x212670(0x1f0) ? _0x212670(_0x4c9d1f._0x47ed2e) + _0x14b867[_0x212670(0x1d8)] : '';
|
|
1470
|
+
return _0x212670(0x29a) + _0x14b867[_0x212670(0x252)] + _0x212670(_0x4c9d1f._0x1b4381) + _0x14b867['messageId'][_0x212670(_0x4c9d1f._0x48221d)](0x0, 0x8) + _0x212670(_0x4c9d1f._0x5ae817) + toLocalTime(_0x14b867[_0x212670(_0x4c9d1f._0x1030f3)]) + _0x25fcd0 + _0x29b828 + _0x212670(0x1ab) + _0x14b867['senderName'] + ':\x20' + _0x14b867[_0x212670(_0x4c9d1f._0x211344)] + formatAttachmentSuffix(_0x14b867['attachments']);
|
|
1457
1471
|
})['join']('\x0a');
|
|
1458
1472
|
}
|
|
1459
|
-
function formatHistory(
|
|
1460
|
-
const
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
},
|
|
1480
|
-
if (
|
|
1481
|
-
return
|
|
1482
|
-
const
|
|
1483
|
-
const
|
|
1484
|
-
return '
|
|
1485
|
-
})[
|
|
1486
|
-
return
|
|
1473
|
+
function formatHistory(_0x1453b0) {
|
|
1474
|
+
const _0x96e05d = {
|
|
1475
|
+
_0x57e819: 0x2b1,
|
|
1476
|
+
_0x28be59: 0x25f,
|
|
1477
|
+
_0x164968: 0x27a,
|
|
1478
|
+
_0x1ac0ba: 0x25d,
|
|
1479
|
+
_0x3c3137: 0x274,
|
|
1480
|
+
_0x883c73: 0x1bd,
|
|
1481
|
+
_0x4e5e5b: 0x2b1,
|
|
1482
|
+
_0x3804c1: 0x170
|
|
1483
|
+
}, _0x1b87e5 = {
|
|
1484
|
+
_0x1475e6: 0x219,
|
|
1485
|
+
_0x5b5712: 0x187,
|
|
1486
|
+
_0x1ba5ea: 0x1d8,
|
|
1487
|
+
_0x2af0ba: 0x1d6,
|
|
1488
|
+
_0x48f564: 0x1a2,
|
|
1489
|
+
_0x22c149: 0x281,
|
|
1490
|
+
_0xbe5313: 0x1ab,
|
|
1491
|
+
_0x563439: 0x208,
|
|
1492
|
+
_0x476830: 0x2a1
|
|
1493
|
+
}, _0x63cd3d = _0x4cca3c;
|
|
1494
|
+
if (_0x1453b0[_0x63cd3d(0x274)]['length'] === 0x0)
|
|
1495
|
+
return _0x63cd3d(_0x96e05d._0x57e819) + _0x1453b0[_0x63cd3d(_0x96e05d._0x28be59)] + _0x63cd3d(_0x96e05d._0x164968);
|
|
1496
|
+
const _0x17f22f = _0x1453b0[_0x63cd3d(0x274)][_0x63cd3d(0x2e6)](_0x35118e => {
|
|
1497
|
+
const _0x22b105 = _0x63cd3d, _0x48ca9b = _0x35118e[_0x22b105(0x166)] === _0x22b105(_0x1b87e5._0x1475e6) ? _0x22b105(_0x1b87e5._0x5b5712) : '', _0x3dfeac = _0x35118e[_0x22b105(0x1d8)] && _0x35118e[_0x22b105(0x1d8)] !== _0x22b105(0x1f0) ? _0x22b105(0x16e) + _0x35118e[_0x22b105(_0x1b87e5._0x1ba5ea)] : '';
|
|
1498
|
+
return _0x22b105(_0x1b87e5._0x2af0ba) + _0x35118e['seq'] + _0x22b105(_0x1b87e5._0x48f564) + _0x35118e[_0x22b105(0x249)] + '\x20time=' + toLocalTime(_0x35118e[_0x22b105(_0x1b87e5._0x22c149)]) + _0x48ca9b + _0x3dfeac + _0x22b105(_0x1b87e5._0xbe5313) + _0x35118e[_0x22b105(_0x1b87e5._0x563439)] + ':\x20' + _0x35118e['content'] + formatAttachmentSuffix(_0x35118e[_0x22b105(_0x1b87e5._0x476830)]);
|
|
1499
|
+
})[_0x63cd3d(_0x96e05d._0x1ac0ba)]('\x0a'), _0x52f054 = _0x1453b0['hasMore'] && _0x1453b0[_0x63cd3d(0x1b1)] ? _0x63cd3d(0x189) + _0x1453b0[_0x63cd3d(_0x96e05d._0x3c3137)][_0x63cd3d(0x170)] + _0x63cd3d(0x19d) + _0x1453b0['nextCursor'] + _0x63cd3d(_0x96e05d._0x883c73) : '';
|
|
1500
|
+
return _0x63cd3d(_0x96e05d._0x4e5e5b) + _0x1453b0[_0x63cd3d(0x25f)] + '\x20(' + _0x1453b0[_0x63cd3d(0x274)][_0x63cd3d(_0x96e05d._0x3804c1)] + _0x63cd3d(0x16c) + _0x17f22f + _0x52f054;
|
|
1487
1501
|
}
|
|
1488
|
-
function formatServerDirectory(
|
|
1489
|
-
const
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1502
|
+
function formatServerDirectory(_0x31f7eb) {
|
|
1503
|
+
const _0x1fe74c = {
|
|
1504
|
+
_0x4344aa: 0x237,
|
|
1505
|
+
_0x4f5a47: 0x170,
|
|
1506
|
+
_0xa1e9a4: 0x25d,
|
|
1507
|
+
_0x45b87b: 0x17b,
|
|
1508
|
+
_0x1cda2f: 0x1b4,
|
|
1509
|
+
_0x5af0c0: 0x2e6,
|
|
1510
|
+
_0x22b64b: 0x25e,
|
|
1511
|
+
_0x460d6b: 0x2f1
|
|
1512
|
+
}, _0x2afd49 = _0x4cca3c, _0x2c150a = _0x31f7eb[_0x2afd49(_0x1fe74c._0x4344aa)][_0x2afd49(_0x1fe74c._0x4f5a47)] > 0x0 ? _0x31f7eb['channels'][_0x2afd49(0x2e6)](_0x58916c => _0x58916c['description'] ? _0x2afd49(0x2a0) + _0x58916c[_0x2afd49(0x167)] + _0x2afd49(0x26d) + _0x58916c[_0x2afd49(0x1ce)] : _0x2afd49(0x2a0) + _0x58916c[_0x2afd49(0x167)])[_0x2afd49(_0x1fe74c._0xa1e9a4)]('\x0a') : _0x2afd49(0x2ba), _0x1eb61e = _0x31f7eb[_0x2afd49(_0x1fe74c._0x45b87b)][_0x2afd49(0x170)] > 0x0 ? _0x31f7eb[_0x2afd49(0x17b)][_0x2afd49(0x2e6)](_0x11abbb => _0x2afd49(0x2c8) + _0x11abbb[_0x2afd49(0x167)])[_0x2afd49(0x25d)]('\x0a') : _0x2afd49(0x2ba), _0x48f355 = _0x31f7eb[_0x2afd49(0x1b4)][_0x2afd49(0x170)] > 0x0 ? _0x31f7eb[_0x2afd49(_0x1fe74c._0x1cda2f)][_0x2afd49(_0x1fe74c._0x5af0c0)](_0x282a43 => _0x2afd49(0x2c8) + _0x282a43[_0x2afd49(0x167)])[_0x2afd49(0x25d)]('\x0a') : _0x2afd49(0x2ba);
|
|
1495
1513
|
return [
|
|
1496
|
-
|
|
1514
|
+
'##\x20Server:\x20' + _0x31f7eb[_0x2afd49(_0x1fe74c._0x22b64b)],
|
|
1497
1515
|
'',
|
|
1498
|
-
|
|
1499
|
-
|
|
1516
|
+
_0x2afd49(0x2c5),
|
|
1517
|
+
_0x2c150a,
|
|
1500
1518
|
'',
|
|
1501
|
-
|
|
1502
|
-
|
|
1519
|
+
_0x2afd49(_0x1fe74c._0x460d6b),
|
|
1520
|
+
_0x1eb61e,
|
|
1503
1521
|
'',
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
][
|
|
1522
|
+
_0x2afd49(0x1af),
|
|
1523
|
+
_0x48f355
|
|
1524
|
+
][_0x2afd49(0x25d)]('\x0a');
|
|
1507
1525
|
}
|
|
1508
|
-
function formatUploadResult(
|
|
1509
|
-
const
|
|
1510
|
-
|
|
1511
|
-
_0x526159: 0x2a6,
|
|
1512
|
-
_0x593d83: 0x1eb,
|
|
1513
|
-
_0x507642: 0x339
|
|
1514
|
-
}, _0x4c2567 = _0x38edd3;
|
|
1515
|
-
return _0x4c2567(_0x5e9ebf._0x3b3224) + _0x35070d[_0x4c2567(_0x5e9ebf._0x526159)] + '\x20(' + (_0x35070d[_0x4c2567(0x317)] / 0x400)['toFixed'](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x35070d[_0x4c2567(_0x5e9ebf._0x593d83)] + _0x4c2567(_0x5e9ebf._0x507642);
|
|
1526
|
+
function formatUploadResult(_0x474c86) {
|
|
1527
|
+
const _0x1ebf21 = { _0x296ecf: 0x1c5 }, _0x3216a3 = _0x4cca3c;
|
|
1528
|
+
return _0x3216a3(0x191) + _0x474c86[_0x3216a3(_0x1ebf21._0x296ecf)] + '\x20(' + (_0x474c86['sizeBytes'] / 0x400)['toFixed'](0x1) + _0x3216a3(0x2ac) + _0x474c86[_0x3216a3(0x2a4)] + '\x0a\x0aUse\x20this\x20ID\x20in\x20send_message\x27s\x20attachment_ids\x20parameter\x20to\x20include\x20it\x20in\x20a\x20message.';
|
|
1516
1529
|
}
|
|
1517
|
-
function formatViewFileResult(
|
|
1518
|
-
const
|
|
1519
|
-
return
|
|
1530
|
+
function formatViewFileResult(_0x1f48c1, _0x1dff6f) {
|
|
1531
|
+
const _0x46411c = _0x4cca3c;
|
|
1532
|
+
return _0x1dff6f ? 'File\x20already\x20cached\x20at:\x20' + _0x1f48c1 : _0x46411c(0x1a7) + _0x1f48c1;
|
|
1520
1533
|
}
|
|
1521
|
-
function formatTaskList(
|
|
1522
|
-
const
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1534
|
+
function formatTaskList(_0x258302, _0x1c948b) {
|
|
1535
|
+
const _0x5ee082 = {
|
|
1536
|
+
_0x3ab189: 0x170,
|
|
1537
|
+
_0x115401: 0x2e6
|
|
1538
|
+
}, _0x2051fe = {
|
|
1539
|
+
_0x573e0f: 0x2d3,
|
|
1540
|
+
_0x48df8d: 0x253,
|
|
1541
|
+
_0x26b5b1: 0x249,
|
|
1542
|
+
_0x52c06b: 0x196,
|
|
1543
|
+
_0x296685: 0x296,
|
|
1544
|
+
_0x571339: 0x275,
|
|
1545
|
+
_0x819f84: 0x296,
|
|
1546
|
+
_0x50d5ee: 0x257,
|
|
1547
|
+
_0x566d47: 0x21d
|
|
1548
|
+
}, _0x2ff9bf = _0x4cca3c;
|
|
1549
|
+
if (_0x258302[_0x2ff9bf(_0x5ee082._0x3ab189)] === 0x0)
|
|
1550
|
+
return _0x2ff9bf(0x1e5);
|
|
1551
|
+
return _0x258302[_0x2ff9bf(_0x5ee082._0x115401)](_0x356306 => {
|
|
1552
|
+
const _0x826110 = _0x2ff9bf, _0x4bd214 = _0x356306[_0x826110(_0x2051fe._0x573e0f)] == null ? _0x826110(0x270) : _0x356306[_0x826110(0x1c9)] != null ? '#' + _0x356306[_0x826110(0x2d3)] + '.' + _0x356306['subtaskNumber'] : '#' + _0x356306[_0x826110(_0x2051fe._0x573e0f)], _0x7a04c6 = _0x356306[_0x826110(0x249)] ? _0x826110(_0x2051fe._0x48df8d) + _0x356306[_0x826110(_0x2051fe._0x26b5b1)] : '', _0x310f22 = _0x1c948b && _0x356306[_0x826110(0x2d3)] != null && !_0x356306['subtaskNumber'] && _0x1c948b[_0x826110(_0x2051fe._0x52c06b)](_0x356306['taskNumber']) ? _0x826110(0x2d6) : '', _0x441f44 = _0x356306['childrenTotal'] != null && _0x356306[_0x826110(_0x2051fe._0x296685)] > 0x0 ? '\x20(' + (_0x356306[_0x826110(_0x2051fe._0x571339)] ?? 0x0) + '/' + _0x356306[_0x826110(_0x2051fe._0x819f84)] + '\x20done)' : '', _0xab227a = _0x356306[_0x826110(_0x2051fe._0x50d5ee)] ? _0x826110(_0x2051fe._0x566d47) + _0x356306['assigneeName'] : '';
|
|
1553
|
+
return _0x4bd214 + '\x20[' + _0x356306[_0x826110(0x205)] + ']\x20' + _0x356306[_0x826110(0x1eb)] + _0x441f44 + _0xab227a + _0x7a04c6 + _0x310f22;
|
|
1554
|
+
})['join']('\x0a');
|
|
1540
1555
|
}
|
|
1541
|
-
function formatCreatedTasks(
|
|
1542
|
-
const
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1556
|
+
function formatCreatedTasks(_0x3d0e2e) {
|
|
1557
|
+
const _0x11b37a = {
|
|
1558
|
+
_0x2c14f0: 0x2ce,
|
|
1559
|
+
_0x58b959: 0x2e6
|
|
1560
|
+
}, _0xf743f6 = {
|
|
1561
|
+
_0x3e68fd: 0x2d3,
|
|
1562
|
+
_0x39f153: 0x1c9,
|
|
1563
|
+
_0x361a5a: 0x249,
|
|
1564
|
+
_0x3c67bf: 0x249,
|
|
1565
|
+
_0x111e36: 0x1eb
|
|
1566
|
+
}, _0x24283b = _0x4cca3c;
|
|
1567
|
+
if (_0x3d0e2e['length'] === 0x0)
|
|
1568
|
+
return _0x24283b(_0x11b37a._0x2c14f0);
|
|
1569
|
+
return _0x3d0e2e[_0x24283b(_0x11b37a._0x58b959)](_0x3b37f2 => {
|
|
1570
|
+
const _0x118d0f = _0x24283b, _0xc89af0 = _0x3b37f2[_0x118d0f(_0xf743f6._0x3e68fd)] == null ? '(legacy)' : _0x3b37f2[_0x118d0f(_0xf743f6._0x39f153)] != null ? '#' + _0x3b37f2[_0x118d0f(0x2d3)] + '.' + _0x3b37f2[_0x118d0f(_0xf743f6._0x39f153)] : '#' + _0x3b37f2['taskNumber'], _0x3e3438 = _0x3b37f2[_0x118d0f(_0xf743f6._0x361a5a)] ? _0x118d0f(0x253) + _0x3b37f2[_0x118d0f(_0xf743f6._0x3c67bf)] : '';
|
|
1571
|
+
return _0xc89af0 + '\x20' + _0x3b37f2[_0x118d0f(_0xf743f6._0x111e36)] + _0x3e3438;
|
|
1572
|
+
})['join']('\x0a');
|
|
1553
1573
|
}
|
|
1554
|
-
function formatClaimTaskLabel(
|
|
1555
|
-
const
|
|
1556
|
-
if (
|
|
1557
|
-
return
|
|
1558
|
-
return
|
|
1574
|
+
function formatClaimTaskLabel(_0x4fbeb5, _0xdfee46) {
|
|
1575
|
+
const _0x348c4b = { _0x5c940d: 0x270 }, _0x561a52 = _0x4cca3c;
|
|
1576
|
+
if (_0x4fbeb5 == null)
|
|
1577
|
+
return _0x561a52(_0x348c4b._0x5c940d);
|
|
1578
|
+
return _0xdfee46 != null ? '#' + _0x4fbeb5 + '.' + _0xdfee46 : '#' + _0x4fbeb5;
|
|
1559
1579
|
}
|
|
1560
|
-
function formatClaimTaskResults(
|
|
1561
|
-
const
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
},
|
|
1576
|
-
if (
|
|
1577
|
-
return
|
|
1578
|
-
return
|
|
1579
|
-
const
|
|
1580
|
-
if (
|
|
1581
|
-
const
|
|
1582
|
-
if (
|
|
1583
|
-
const
|
|
1580
|
+
function formatClaimTaskResults(_0x12f212) {
|
|
1581
|
+
const _0x151b7a = { _0x31d9ec: 0x25d }, _0x2c1cb6 = {
|
|
1582
|
+
_0x1e9975: 0x249,
|
|
1583
|
+
_0x3717bd: 0x1cb,
|
|
1584
|
+
_0x2971c7: 0x282,
|
|
1585
|
+
_0xe78b43: 0x1b7,
|
|
1586
|
+
_0x10fd28: 0x1b7,
|
|
1587
|
+
_0x2bc338: 0x1db,
|
|
1588
|
+
_0x554eed: 0x2dc,
|
|
1589
|
+
_0x40a565: 0x2e8,
|
|
1590
|
+
_0x2d9e26: 0x1ea,
|
|
1591
|
+
_0x41bf01: 0x2d3,
|
|
1592
|
+
_0x448882: 0x1c9,
|
|
1593
|
+
_0xec54fa: 0x27d,
|
|
1594
|
+
_0x321731: 0x2c0
|
|
1595
|
+
}, _0x4572e0 = _0x4cca3c;
|
|
1596
|
+
if (_0x12f212[_0x4572e0(0x170)] === 0x0)
|
|
1597
|
+
return _0x4572e0(0x246);
|
|
1598
|
+
return _0x12f212['map'](_0x4f28af => {
|
|
1599
|
+
const _0x1a6d74 = _0x4572e0;
|
|
1600
|
+
if (_0x4f28af[_0x1a6d74(0x24e)]) {
|
|
1601
|
+
const _0xa2642f = formatClaimTaskLabel(_0x4f28af[_0x1a6d74(0x2d3)], _0x4f28af[_0x1a6d74(0x1c9)]), _0x1def17 = _0x4f28af['messageId'] ? '\x20message=' + _0x4f28af[_0x1a6d74(_0x2c1cb6._0x1e9975)] : '';
|
|
1602
|
+
if (_0x4f28af[_0x1a6d74(_0x2c1cb6._0x3717bd)]) {
|
|
1603
|
+
const _0x58fdc4 = [
|
|
1584
1604
|
'workerHandoff=true',
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
][
|
|
1590
|
-
return
|
|
1605
|
+
_0x4f28af[_0x1a6d74(0x211)] ? _0x1a6d74(_0x2c1cb6._0x2971c7) : null,
|
|
1606
|
+
_0x4f28af[_0x1a6d74(_0x2c1cb6._0xe78b43)] ? _0x1a6d74(0x1f4) + _0x4f28af[_0x1a6d74(_0x2c1cb6._0x10fd28)] : null,
|
|
1607
|
+
_0x4f28af[_0x1a6d74(0x17a)] ? _0x1a6d74(0x2d1) + _0x4f28af[_0x1a6d74(0x17a)] : null,
|
|
1608
|
+
_0x4f28af[_0x1a6d74(0x1ff)] ? _0x1a6d74(0x200) + _0x4f28af[_0x1a6d74(0x1ff)] : null
|
|
1609
|
+
][_0x1a6d74(_0x2c1cb6._0x2bc338)](Boolean)['join']('\x20');
|
|
1610
|
+
return _0xa2642f + _0x1a6d74(0x17e) + _0x1def17 + '\x20' + _0x58fdc4 + _0x1a6d74(_0x2c1cb6._0x554eed);
|
|
1591
1611
|
}
|
|
1592
|
-
if (
|
|
1593
|
-
return
|
|
1594
|
-
const
|
|
1595
|
-
return
|
|
1612
|
+
if (_0x4f28af[_0x1a6d74(0x1b7)] === 'main')
|
|
1613
|
+
return _0xa2642f + '\x20claimed' + _0x1def17 + _0x1a6d74(0x1f8);
|
|
1614
|
+
const _0x312ac5 = _0x4f28af[_0x1a6d74(_0x2c1cb6._0x40a565)] ? _0x1a6d74(_0x2c1cb6._0x2d9e26) + _0x4f28af[_0x1a6d74(0x2e8)] : '';
|
|
1615
|
+
return _0xa2642f + '\x20claimed' + _0x1def17 + _0x312ac5;
|
|
1596
1616
|
}
|
|
1597
|
-
const
|
|
1598
|
-
return
|
|
1599
|
-
})[
|
|
1617
|
+
const _0x2a33ea = _0x4f28af[_0x1a6d74(_0x2c1cb6._0x41bf01)] == null ? _0x4f28af[_0x1a6d74(0x249)] ?? '(unknown)' : formatClaimTaskLabel(_0x4f28af[_0x1a6d74(0x2d3)], _0x4f28af[_0x1a6d74(_0x2c1cb6._0x448882)]);
|
|
1618
|
+
return _0x2a33ea + _0x1a6d74(_0x2c1cb6._0xec54fa) + (_0x4f28af[_0x1a6d74(0x203)] ?? _0x1a6d74(_0x2c1cb6._0x321731));
|
|
1619
|
+
})[_0x4572e0(_0x151b7a._0x31d9ec)]('\x0a');
|
|
1600
1620
|
}
|
|
1601
|
-
function formatUnclaimTaskResult(
|
|
1602
|
-
const
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
}, _0x11b95a = _0x38edd3, _0x152d02 = _0x19e968[_0x11b95a(_0xb3cb20._0x50e7e0)] == null ? _0x11b95a(0x286) : _0x19e968['subtaskNumber'] != null ? '#' + _0x19e968[_0x11b95a(0x266)] + '.' + _0x19e968['subtaskNumber'] : '#' + _0x19e968[_0x11b95a(_0xb3cb20._0x48c319)];
|
|
1608
|
-
return _0x152d02 + _0x11b95a(_0xb3cb20._0xb7009f) + _0x19e968[_0x11b95a(_0xb3cb20._0x84b50c)];
|
|
1621
|
+
function formatUnclaimTaskResult(_0x29f30c) {
|
|
1622
|
+
const _0x309573 = {
|
|
1623
|
+
_0x26a5c9: 0x1c9,
|
|
1624
|
+
_0x550c7e: 0x2ef
|
|
1625
|
+
}, _0x3ede0d = _0x4cca3c, _0x235344 = _0x29f30c[_0x3ede0d(0x2d3)] == null ? '(legacy)' : _0x29f30c[_0x3ede0d(_0x309573._0x26a5c9)] != null ? '#' + _0x29f30c['taskNumber'] + '.' + _0x29f30c['subtaskNumber'] : '#' + _0x29f30c['taskNumber'];
|
|
1626
|
+
return _0x235344 + _0x3ede0d(_0x309573._0x550c7e) + _0x29f30c[_0x3ede0d(0x205)];
|
|
1609
1627
|
}
|
|
1610
|
-
function formatUpdateTaskStatusResult(
|
|
1611
|
-
const
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
return _0xfb110a;
|
|
1620
|
-
return _0xfb110a + _0x5d0304(_0x479faf._0x3de001);
|
|
1628
|
+
function formatUpdateTaskStatusResult(_0x7b5681) {
|
|
1629
|
+
const _0x521a86 = {
|
|
1630
|
+
_0x1cd633: 0x205,
|
|
1631
|
+
_0x314bf9: 0x221,
|
|
1632
|
+
_0x2c7c9a: 0x2e0
|
|
1633
|
+
}, _0x166613 = _0x4cca3c, _0x569339 = _0x7b5681[_0x166613(0x2d3)] == null ? _0x166613(0x270) : _0x7b5681[_0x166613(0x1c9)] != null ? '#' + _0x7b5681[_0x166613(0x2d3)] + '.' + _0x7b5681['subtaskNumber'] : '#' + _0x7b5681[_0x166613(0x2d3)], _0x260eb9 = _0x569339 + _0x166613(0x2ef) + _0x7b5681[_0x166613(0x205)];
|
|
1634
|
+
if (_0x7b5681[_0x166613(_0x521a86._0x1cd633)] !== _0x166613(_0x521a86._0x314bf9))
|
|
1635
|
+
return _0x260eb9;
|
|
1636
|
+
return _0x260eb9 + _0x166613(_0x521a86._0x2c7c9a);
|
|
1621
1637
|
}
|
|
1622
1638
|
function getChatBridgeToolDefinitions() {
|
|
1623
|
-
const
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
},
|
|
1639
|
+
const _0x1f3b54 = {
|
|
1640
|
+
_0x2a1a77: 0x1f7,
|
|
1641
|
+
_0x25b98b: 0x165,
|
|
1642
|
+
_0x257b29: 0x1f9,
|
|
1643
|
+
_0x4cba5c: 0x2b9,
|
|
1644
|
+
_0x335aaa: 0x2c3,
|
|
1645
|
+
_0x10e38e: 0x2e7
|
|
1646
|
+
}, _0xdafeec = _0x4cca3c;
|
|
1631
1647
|
return [
|
|
1632
|
-
{ 'name':
|
|
1633
|
-
{ 'name':
|
|
1634
|
-
{ 'name':
|
|
1635
|
-
{ 'name':
|
|
1636
|
-
{ 'name':
|
|
1637
|
-
{ 'name':
|
|
1638
|
-
{ 'name':
|
|
1639
|
-
{ 'name':
|
|
1640
|
-
{ 'name':
|
|
1648
|
+
{ 'name': 'send_message' },
|
|
1649
|
+
{ 'name': _0xdafeec(0x216) },
|
|
1650
|
+
{ 'name': 'read_history' },
|
|
1651
|
+
{ 'name': _0xdafeec(_0x1f3b54._0x2a1a77) },
|
|
1652
|
+
{ 'name': _0xdafeec(_0x1f3b54._0x25b98b) },
|
|
1653
|
+
{ 'name': _0xdafeec(0x17f) },
|
|
1654
|
+
{ 'name': _0xdafeec(0x22f) },
|
|
1655
|
+
{ 'name': 'create_tasks' },
|
|
1656
|
+
{ 'name': _0xdafeec(_0x1f3b54._0x257b29) },
|
|
1641
1657
|
{ 'name': 'unclaim_task' },
|
|
1642
|
-
{ 'name':
|
|
1643
|
-
{ 'name':
|
|
1644
|
-
{ 'name':
|
|
1645
|
-
{ 'name':
|
|
1646
|
-
{ 'name':
|
|
1658
|
+
{ 'name': 'update_task_status' },
|
|
1659
|
+
{ 'name': _0xdafeec(_0x1f3b54._0x4cba5c) },
|
|
1660
|
+
{ 'name': _0xdafeec(_0x1f3b54._0x335aaa) },
|
|
1661
|
+
{ 'name': _0xdafeec(0x2d2) },
|
|
1662
|
+
{ 'name': _0xdafeec(_0x1f3b54._0x10e38e) }
|
|
1647
1663
|
];
|
|
1648
1664
|
}
|
|
1649
|
-
function createChatBridgeHandlers(
|
|
1650
|
-
const
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
},
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
_0x419cd4: 0x1ed,
|
|
1776
|
-
_0x11b59c: 0x274,
|
|
1777
|
-
_0x27f707: 0x236,
|
|
1778
|
-
_0x1780bc: 0x324,
|
|
1779
|
-
_0x629c8d: 0x330
|
|
1780
|
-
}, _0x3bae4b = {
|
|
1781
|
-
_0x35745e: 0x1a8,
|
|
1782
|
-
_0x89a2c0: 0x1e1,
|
|
1783
|
-
_0x52280b: 0x204
|
|
1784
|
-
}, _0x4c2301 = _0x38edd3;
|
|
1785
|
-
function _0x40d1aa(_0x1df15c, _0x42f6a5) {
|
|
1786
|
-
const _0x37082d = _0x1421;
|
|
1787
|
-
if (!_0x1d9f9f[_0x37082d(_0x3bae4b._0x35745e)])
|
|
1665
|
+
function createChatBridgeHandlers(_0xf94d17) {
|
|
1666
|
+
const _0x49f3f1 = { _0x25ffa0: 0x218 }, _0x56ec74 = {
|
|
1667
|
+
_0x58c7c7: 0x217,
|
|
1668
|
+
_0x40affd: 0x258,
|
|
1669
|
+
_0x21f2a5: 0x2f0
|
|
1670
|
+
}, _0x2b4df2 = {
|
|
1671
|
+
_0x235a6a: 0x217,
|
|
1672
|
+
_0x5d00a4: 0x2af,
|
|
1673
|
+
_0x92e98f: 0x198
|
|
1674
|
+
}, _0x273cf3 = {
|
|
1675
|
+
_0x522a3c: 0x255,
|
|
1676
|
+
_0x3cf2b4: 0x1a6,
|
|
1677
|
+
_0x589b54: 0x2cd,
|
|
1678
|
+
_0x495008: 0x24b,
|
|
1679
|
+
_0x1cabb6: 0x1be
|
|
1680
|
+
}, _0x3736ab = {
|
|
1681
|
+
_0x205048: 0x285,
|
|
1682
|
+
_0x3cfbf7: 0x289,
|
|
1683
|
+
_0x189b8a: 0x24b,
|
|
1684
|
+
_0x4e584b: 0x24b,
|
|
1685
|
+
_0x2ad9b3: 0x2de,
|
|
1686
|
+
_0x2241a8: 0x2f5
|
|
1687
|
+
}, _0x12509b = {
|
|
1688
|
+
_0x31f7bb: 0x2ea,
|
|
1689
|
+
_0x151250: 0x1e6,
|
|
1690
|
+
_0x857ff7: 0x21a,
|
|
1691
|
+
_0x52ca7f: 0x228,
|
|
1692
|
+
_0x3ca98e: 0x23e
|
|
1693
|
+
}, _0x62759c = { _0x5742e0: 0x25f }, _0x50c3e1 = { _0x577b59: 0x1e4 }, _0x43b6a4 = {
|
|
1694
|
+
_0x4500ae: 0x1f9,
|
|
1695
|
+
_0x97dd72: 0x21c,
|
|
1696
|
+
_0x5268ec: 0x222,
|
|
1697
|
+
_0x833bcd: 0x1ba,
|
|
1698
|
+
_0x3d826c: 0x1ad,
|
|
1699
|
+
_0x64d7fd: 0x2e6
|
|
1700
|
+
}, _0x643cb = {
|
|
1701
|
+
_0xdfcbfb: 0x25f,
|
|
1702
|
+
_0x532261: 0x1e4,
|
|
1703
|
+
_0x2e2fce: 0x280,
|
|
1704
|
+
_0x5aa023: 0x1d7
|
|
1705
|
+
}, _0x199008 = {
|
|
1706
|
+
_0x14b959: 0x1e4,
|
|
1707
|
+
_0x9a9da6: 0x217,
|
|
1708
|
+
_0x48a27e: 0x1a6,
|
|
1709
|
+
_0x1fe737: 0x2a2,
|
|
1710
|
+
_0x1e0850: 0x181,
|
|
1711
|
+
_0x409395: 0x1b3,
|
|
1712
|
+
_0x32103d: 0x21f,
|
|
1713
|
+
_0x25ed73: 0x2d3,
|
|
1714
|
+
_0x2a3946: 0x26a,
|
|
1715
|
+
_0x15cbc7: 0x1d7
|
|
1716
|
+
}, _0x5f05e9 = { _0x3be33f: 0x1e4 }, _0x4b507d = {
|
|
1717
|
+
_0x663527: 0x2b6,
|
|
1718
|
+
_0x24b35a: 0x274
|
|
1719
|
+
}, _0xb5e5a9 = {
|
|
1720
|
+
_0x228671: 0x25a,
|
|
1721
|
+
_0x42bc5b: 0x2b7,
|
|
1722
|
+
_0x1fb49b: 0x215,
|
|
1723
|
+
_0x1aaf82: 0x2eb,
|
|
1724
|
+
_0x5a4102: 0x252,
|
|
1725
|
+
_0x1614db: 0x195,
|
|
1726
|
+
_0x58cb2a: 0x176,
|
|
1727
|
+
_0x1f9f01: 0x249,
|
|
1728
|
+
_0x5c7e65: 0x2bd,
|
|
1729
|
+
_0x577165: 0x2d3,
|
|
1730
|
+
_0x21a211: 0x2bd,
|
|
1731
|
+
_0xfec619: 0x270,
|
|
1732
|
+
_0xc4ea85: 0x2e5,
|
|
1733
|
+
_0x2ed41c: 0x20c,
|
|
1734
|
+
_0x3e1ead: 0x196,
|
|
1735
|
+
_0x3daaeb: 0x25d,
|
|
1736
|
+
_0x278367: 0x276,
|
|
1737
|
+
_0x47ff5c: 0x1ef,
|
|
1738
|
+
_0x5e0bc6: 0x173,
|
|
1739
|
+
_0x4ec410: 0x241,
|
|
1740
|
+
_0x2bb3c9: 0x29e,
|
|
1741
|
+
_0x177c50: 0x1dd,
|
|
1742
|
+
_0xad5a76: 0x1c4,
|
|
1743
|
+
_0x25d984: 0x188,
|
|
1744
|
+
_0x3f21b2: 0x27b,
|
|
1745
|
+
_0x3a5ee7: 0x273,
|
|
1746
|
+
_0x152fba: 0x19a,
|
|
1747
|
+
_0x10eb7e: 0x1e4,
|
|
1748
|
+
_0x172b3d: 0x19e,
|
|
1749
|
+
_0x49398a: 0x1e7
|
|
1750
|
+
}, _0x4ba50b = {
|
|
1751
|
+
_0x17cdde: 0x1a6,
|
|
1752
|
+
_0x1c21d2: 0x205,
|
|
1753
|
+
_0x40d1de: 0x1b3,
|
|
1754
|
+
_0x3940d1: 0x26a,
|
|
1755
|
+
_0x5e95de: 0x1b3
|
|
1756
|
+
}, _0x40974a = {
|
|
1757
|
+
_0x33b9c8: 0x217,
|
|
1758
|
+
_0x1e208d: 0x25a,
|
|
1759
|
+
_0x400f16: 0x22c,
|
|
1760
|
+
_0x1286a3: 0x1b3
|
|
1761
|
+
}, _0x5b9b6c = {
|
|
1762
|
+
_0x4234fb: 0x25a,
|
|
1763
|
+
_0x14467d: 0x2b7,
|
|
1764
|
+
_0x48c7f6: 0x25f,
|
|
1765
|
+
_0x5aa695: 0x1b7,
|
|
1766
|
+
_0x331c1a: 0x2d3,
|
|
1767
|
+
_0x14cbb8: 0x215,
|
|
1768
|
+
_0x441436: 0x2e5,
|
|
1769
|
+
_0x54f594: 0x274,
|
|
1770
|
+
_0x40a6e0: 0x270,
|
|
1771
|
+
_0x51f148: 0x29a,
|
|
1772
|
+
_0x23946b: 0x1a2,
|
|
1773
|
+
_0x9b4b4f: 0x249,
|
|
1774
|
+
_0x31aa81: 0x213,
|
|
1775
|
+
_0x5537bd: 0x25d,
|
|
1776
|
+
_0x24d9f0: 0x258,
|
|
1777
|
+
_0x5c552c: 0x2b4,
|
|
1778
|
+
_0x28060b: 0x241,
|
|
1779
|
+
_0x5ea404: 0x173,
|
|
1780
|
+
_0x23b006: 0x19f,
|
|
1781
|
+
_0x5ca442: 0x2dd,
|
|
1782
|
+
_0x3e51c6: 0x1a6,
|
|
1783
|
+
_0x1aa1a2: 0x273
|
|
1784
|
+
}, _0x484f87 = {
|
|
1785
|
+
_0x26773e: 0x267,
|
|
1786
|
+
_0x5f2812: 0x1b5
|
|
1787
|
+
}, _0x3c18f6 = _0x4cca3c;
|
|
1788
|
+
function _0x2495c6(_0x3306a4, _0x293ecd) {
|
|
1789
|
+
const _0x6bab65 = _0x58de;
|
|
1790
|
+
if (!_0xf94d17['workerMode'])
|
|
1788
1791
|
return;
|
|
1789
|
-
if (!
|
|
1790
|
-
throw new Error(
|
|
1791
|
-
if (
|
|
1792
|
-
throw new Error(
|
|
1792
|
+
if (!_0xf94d17[_0x6bab65(0x267)])
|
|
1793
|
+
throw new Error(_0x3306a4 + ':\x20worker\x20runtime\x20missing\x20workerThreadTarget;\x20cannot\x20validate\x20scope');
|
|
1794
|
+
if (_0x293ecd !== _0xf94d17[_0x6bab65(_0x484f87._0x26773e)])
|
|
1795
|
+
throw new Error(_0x3306a4 + _0x6bab65(0x2a3) + _0xf94d17[_0x6bab65(_0x484f87._0x26773e)] + _0x6bab65(_0x484f87._0x5f2812) + _0x293ecd);
|
|
1793
1796
|
}
|
|
1794
|
-
async function
|
|
1795
|
-
const
|
|
1796
|
-
if (!
|
|
1797
|
+
async function _0x2a5382(_0x3ed21f) {
|
|
1798
|
+
const _0x4aab6c = _0x58de;
|
|
1799
|
+
if (!_0xf94d17[_0x4aab6c(0x217)] || !_0xf94d17[_0x4aab6c(0x241)] || _0xf94d17[_0x4aab6c(_0x5b9b6c._0x4234fb)] || _0xf94d17[_0x4aab6c(_0x5b9b6c._0x14467d)] !== !![])
|
|
1797
1800
|
return null;
|
|
1798
|
-
const
|
|
1799
|
-
if (
|
|
1801
|
+
const _0x1d0c0e = parseTarget(_0x3ed21f[_0x4aab6c(0x25f)]);
|
|
1802
|
+
if (_0x1d0c0e['kind'] !== _0x4aab6c(_0x5b9b6c._0x48c7f6))
|
|
1800
1803
|
return null;
|
|
1801
|
-
if (
|
|
1802
|
-
const
|
|
1804
|
+
if (_0x3ed21f[_0x4aab6c(_0x5b9b6c._0x5aa695)] === _0x4aab6c(0x215)) {
|
|
1805
|
+
const _0x4cf228 = _0x3ed21f['taskNumber'] == null ? '(legacy)' : '#' + _0x3ed21f[_0x4aab6c(_0x5b9b6c._0x331c1a)];
|
|
1803
1806
|
return {
|
|
1804
|
-
'executionMode':
|
|
1807
|
+
'executionMode': _0x4aab6c(_0x5b9b6c._0x14cbb8),
|
|
1805
1808
|
'stopMain': ![],
|
|
1806
1809
|
'workerHandoff': ![],
|
|
1807
|
-
'workerHandoffError':
|
|
1810
|
+
'workerHandoffError': 'task\x20' + _0x4cf228 + '\x20stays\x20in\x20main\x20session\x20(executionMode=main);\x20remain\x20here,\x20read\x20the\x20referenced\x20plan/document,\x20and\x20call\x20create_tasks\x20in\x20the\x20parent\x20channel\x20to\x20break\x20it\x20into\x20top-level\x20tasks\x20if\x20that\x20is\x20the\x20intent.'
|
|
1808
1811
|
};
|
|
1809
1812
|
}
|
|
1810
|
-
const
|
|
1811
|
-
let
|
|
1813
|
+
const _0x4556c9 = _0x3ed21f[_0x4aab6c(0x2e5)] != null ? _0x1d0c0e['channelTarget'] + ':t' + _0x3ed21f[_0x4aab6c(_0x5b9b6c._0x441436)] : _0x1d0c0e[_0x4aab6c(0x1fc)] + ':' + _0x3ed21f['messageId'];
|
|
1814
|
+
let _0xa42c1a;
|
|
1812
1815
|
try {
|
|
1813
|
-
const
|
|
1814
|
-
'channel':
|
|
1816
|
+
const _0x4a66cc = await _0xf94d17['client']['readHistory']({
|
|
1817
|
+
'channel': _0x4556c9,
|
|
1815
1818
|
'limit': 0x14
|
|
1816
1819
|
});
|
|
1817
|
-
|
|
1820
|
+
_0xa42c1a = _0x4a66cc[_0x4aab6c(_0x5b9b6c._0x54f594)]['find'](_0x1c7832 => _0x1c7832[_0x4aab6c(0x249)] === _0x3ed21f[_0x4aab6c(0x249)]);
|
|
1818
1821
|
} catch {
|
|
1819
|
-
|
|
1822
|
+
_0xa42c1a = void 0x0;
|
|
1820
1823
|
}
|
|
1821
|
-
const
|
|
1822
|
-
|
|
1824
|
+
const _0x3ec94b = _0x3ed21f['taskNumber'] == null ? _0x4aab6c(_0x5b9b6c._0x40a6e0) : '#' + _0x3ed21f[_0x4aab6c(_0x5b9b6c._0x331c1a)], _0x417075 = [
|
|
1825
|
+
_0x4aab6c(_0x5b9b6c._0x51f148) + _0x4556c9 + _0x4aab6c(_0x5b9b6c._0x23946b) + _0x3ed21f[_0x4aab6c(_0x5b9b6c._0x9b4b4f)][_0x4aab6c(0x20c)](0x0, 0x8) + _0x4aab6c(_0x5b9b6c._0x31aa81) + new Date()[_0x4aab6c(0x276)]() + ']\x20@system:\x20[claim-handoff]\x20' + _0x3ec94b + _0x4aab6c(0x168),
|
|
1823
1826
|
'',
|
|
1824
|
-
|
|
1827
|
+
_0xa42c1a ? 'Root\x20task\x20message:\x0a' + _0xa42c1a['content'] : _0x4aab6c(0x293) + _0x3ed21f['messageId'],
|
|
1825
1828
|
'',
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
][
|
|
1829
|
-
'method':
|
|
1830
|
-
'headers': { 'Content-Type':
|
|
1831
|
-
'body': JSON[
|
|
1832
|
-
'agent_id':
|
|
1833
|
-
'thread_target':
|
|
1829
|
+
'Thread\x20target:\x20' + _0x4556c9,
|
|
1830
|
+
_0x4aab6c(0x2ab)
|
|
1831
|
+
][_0x4aab6c(_0x5b9b6c._0x5537bd)]('\x0a'), _0x4eec59 = await fetch(_0xf94d17['daemonLocalUrl'] + _0x4aab6c(0x183), {
|
|
1832
|
+
'method': _0x4aab6c(_0x5b9b6c._0x24d9f0),
|
|
1833
|
+
'headers': { 'Content-Type': _0x4aab6c(0x255) },
|
|
1834
|
+
'body': JSON[_0x4aab6c(_0x5b9b6c._0x5c552c)]({
|
|
1835
|
+
'agent_id': _0xf94d17[_0x4aab6c(_0x5b9b6c._0x28060b)],
|
|
1836
|
+
'thread_target': _0x4556c9,
|
|
1834
1837
|
'spawn_packet': {
|
|
1835
|
-
'replyTarget':
|
|
1836
|
-
...
|
|
1838
|
+
'replyTarget': _0x4556c9,
|
|
1839
|
+
..._0x3ed21f[_0x4aab6c(0x173)] ? { 'taskId': _0x3ed21f[_0x4aab6c(_0x5b9b6c._0x5ea404)] } : _0x3ed21f[_0x4aab6c(0x2d3)] != null ? { 'taskId': _0x4aab6c(_0x5b9b6c._0x23b006) + _0x3ed21f[_0x4aab6c(0x2d3)] } : {}
|
|
1837
1840
|
},
|
|
1838
1841
|
'payload': {
|
|
1839
|
-
'mode':
|
|
1840
|
-
'text':
|
|
1842
|
+
'mode': _0x4aab6c(_0x5b9b6c._0x5ca442),
|
|
1843
|
+
'text': _0x417075
|
|
1841
1844
|
}
|
|
1842
1845
|
})
|
|
1843
|
-
}),
|
|
1844
|
-
if (!
|
|
1845
|
-
throw new Error(
|
|
1846
|
+
}), _0x24d303 = await _0x4eec59[_0x4aab6c(_0x5b9b6c._0x3e51c6)]();
|
|
1847
|
+
if (!_0x24d303['ok'])
|
|
1848
|
+
throw new Error(_0x24d303['error'] ?? 'worker\x20handoff\x20failed');
|
|
1846
1849
|
return {
|
|
1847
1850
|
'stopMain': !![],
|
|
1848
|
-
'threadTarget':
|
|
1849
|
-
'workerDisposition':
|
|
1851
|
+
'threadTarget': _0x4556c9,
|
|
1852
|
+
'workerDisposition': _0x24d303[_0x4aab6c(0x27b)] === _0x4aab6c(_0x5b9b6c._0x1aa1a2) ? _0x4aab6c(_0x5b9b6c._0x1aa1a2) : _0x4aab6c(0x1c3),
|
|
1850
1853
|
'workerHandoff': !![],
|
|
1851
|
-
'workerSessionId':
|
|
1852
|
-
'executionMode':
|
|
1854
|
+
'workerSessionId': _0x24d303['worker_session_id'] ?? '',
|
|
1855
|
+
'executionMode': 'worker'
|
|
1853
1856
|
};
|
|
1854
1857
|
}
|
|
1855
|
-
async function
|
|
1856
|
-
const
|
|
1857
|
-
if (!
|
|
1858
|
+
async function _0x11d1b8() {
|
|
1859
|
+
const _0x452bfc = _0x58de;
|
|
1860
|
+
if (!_0xf94d17[_0x452bfc(_0x40974a._0x33b9c8)] || !_0xf94d17['agentId'] || _0xf94d17[_0x452bfc(_0x40974a._0x1e208d)])
|
|
1858
1861
|
return null;
|
|
1859
1862
|
try {
|
|
1860
|
-
const
|
|
1861
|
-
if (!
|
|
1863
|
+
const _0x2474c4 = await fetch(_0xf94d17[_0x452bfc(0x217)] + _0x452bfc(0x2db) + encodeURIComponent(_0xf94d17['agentId'])), _0x56d293 = await _0x2474c4['json']();
|
|
1864
|
+
if (!_0x56d293['ok'])
|
|
1862
1865
|
return null;
|
|
1863
|
-
const
|
|
1864
|
-
for (const
|
|
1865
|
-
|
|
1866
|
+
const _0x4f3fde = new Set();
|
|
1867
|
+
for (const _0x17fc10 of _0x56d293[_0x452bfc(_0x40974a._0x400f16)]) {
|
|
1868
|
+
_0x17fc10[_0x452bfc(0x205)] !== _0x452bfc(0x2a2) && _0x17fc10[_0x452bfc(_0x40974a._0x1286a3)] && _0x4f3fde[_0x452bfc(0x26a)](_0x17fc10[_0x452bfc(0x1b3)]);
|
|
1866
1869
|
}
|
|
1867
|
-
return
|
|
1870
|
+
return _0x4f3fde['size'] > 0x0 ? _0x4f3fde : null;
|
|
1868
1871
|
} catch {
|
|
1869
1872
|
return null;
|
|
1870
1873
|
}
|
|
1871
1874
|
}
|
|
1872
|
-
const
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1875
|
+
const _0x18f741 = new Set([
|
|
1876
|
+
_0x3c18f6(0x2df),
|
|
1877
|
+
_0x3c18f6(0x2d4),
|
|
1878
|
+
_0x3c18f6(_0x49f3f1._0x25ffa0)
|
|
1876
1879
|
]);
|
|
1877
|
-
async function
|
|
1878
|
-
const
|
|
1879
|
-
if (!
|
|
1880
|
+
async function _0x4a000a() {
|
|
1881
|
+
const _0x2f0654 = _0x3c18f6;
|
|
1882
|
+
if (!_0xf94d17[_0x2f0654(0x217)] || !_0xf94d17['agentId'] || _0xf94d17['workerMode'])
|
|
1880
1883
|
return null;
|
|
1881
1884
|
try {
|
|
1882
|
-
const
|
|
1883
|
-
if (!
|
|
1885
|
+
const _0x417739 = await fetch(_0xf94d17['daemonLocalUrl'] + '/workers/list?agent_id=' + encodeURIComponent(_0xf94d17[_0x2f0654(0x241)])), _0x419ba3 = await _0x417739[_0x2f0654(_0x4ba50b._0x17cdde)]();
|
|
1886
|
+
if (!_0x419ba3['ok'])
|
|
1884
1887
|
return null;
|
|
1885
|
-
const
|
|
1886
|
-
for (const
|
|
1887
|
-
|
|
1888
|
+
const _0x38bb9c = new Set();
|
|
1889
|
+
for (const _0x5a2211 of _0x419ba3[_0x2f0654(0x22c)]) {
|
|
1890
|
+
_0x18f741['has'](_0x5a2211[_0x2f0654(_0x4ba50b._0x1c21d2)]) && _0x5a2211[_0x2f0654(_0x4ba50b._0x40d1de)] && _0x38bb9c[_0x2f0654(_0x4ba50b._0x3940d1)](_0x5a2211[_0x2f0654(_0x4ba50b._0x5e95de)]);
|
|
1888
1891
|
}
|
|
1889
|
-
return
|
|
1892
|
+
return _0x38bb9c[_0x2f0654(0x287)] > 0x0 ? _0x38bb9c : null;
|
|
1890
1893
|
} catch {
|
|
1891
1894
|
return null;
|
|
1892
1895
|
}
|
|
1893
1896
|
}
|
|
1894
1897
|
return {
|
|
1895
|
-
async 'send_message'(
|
|
1896
|
-
const
|
|
1897
|
-
if (!
|
|
1898
|
-
const
|
|
1899
|
-
if (
|
|
1900
|
-
if (
|
|
1901
|
-
const
|
|
1902
|
-
'attachmentIds':
|
|
1903
|
-
'content':
|
|
1904
|
-
'target':
|
|
1905
|
-
'visibility':
|
|
1898
|
+
async 'send_message'(_0x153b9f) {
|
|
1899
|
+
const _0x919398 = _0x3c18f6;
|
|
1900
|
+
if (!_0xf94d17[_0x919398(_0xb5e5a9._0x228671)] && _0xf94d17[_0x919398(_0xb5e5a9._0x42bc5b)] && _0xf94d17['daemonLocalUrl'] && _0xf94d17[_0x919398(0x241)]) {
|
|
1901
|
+
const _0x327c24 = await _0xf94d17[_0x919398(0x1e4)][_0x919398(0x28d)](_0x153b9f['target']);
|
|
1902
|
+
if (_0x327c24[_0x919398(0x2bd)] && _0x327c24[_0x919398(0x1f5)]) {
|
|
1903
|
+
if (_0x327c24[_0x919398(0x2bd)][_0x919398(0x1b7)] === _0x919398(_0xb5e5a9._0x1fb49b)) {
|
|
1904
|
+
const _0x5f055a = await _0xf94d17[_0x919398(0x1e4)][_0x919398(0x19e)]({
|
|
1905
|
+
'attachmentIds': _0x153b9f[_0x919398(0x1f3)],
|
|
1906
|
+
'content': _0x153b9f[_0x919398(_0xb5e5a9._0x1aaf82)],
|
|
1907
|
+
'target': _0x153b9f[_0x919398(_0xb5e5a9._0x5a4102)],
|
|
1908
|
+
'visibility': _0x153b9f[_0x919398(0x1e7)]
|
|
1906
1909
|
});
|
|
1907
|
-
return
|
|
1910
|
+
return _0x919398(_0xb5e5a9._0x1614db) + _0x153b9f[_0x919398(_0xb5e5a9._0x5a4102)] + _0x919398(_0xb5e5a9._0x58cb2a) + _0x5f055a[_0x919398(_0xb5e5a9._0x1f9f01)];
|
|
1908
1911
|
}
|
|
1909
|
-
const
|
|
1910
|
-
if (
|
|
1912
|
+
const _0x3d78f1 = _0x327c24[_0x919398(_0xb5e5a9._0x5c7e65)][_0x919398(_0xb5e5a9._0x577165)] != null ? '#' + _0x327c24[_0x919398(_0xb5e5a9._0x21a211)][_0x919398(0x2d3)] : _0x919398(_0xb5e5a9._0xfec619), _0x3fda43 = _0x327c24[_0x919398(0x2e5)] != null ? _0x327c24['target'] + ':t' + _0x327c24[_0x919398(_0xb5e5a9._0xc4ea85)] : _0x327c24[_0x919398(0x252)] + ':' + _0x327c24[_0x919398(0x1f5)][_0x919398(_0xb5e5a9._0x2ed41c)](0x0, 0x8), _0xe1d55a = await _0x4a000a();
|
|
1913
|
+
if (_0xe1d55a?.[_0x919398(_0xb5e5a9._0x3e1ead)](_0x3fda43))
|
|
1911
1914
|
return [
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
][
|
|
1915
|
-
const
|
|
1916
|
-
|
|
1915
|
+
_0x919398(0x2cf) + _0x3d78f1 + _0x919398(0x2ed) + _0x3fda43 + _0x919398(0x1b0),
|
|
1916
|
+
'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread\x20—\x20the\x20worker\x20is\x20handling\x20it.'
|
|
1917
|
+
][_0x919398(_0xb5e5a9._0x3daaeb)]('\x0a');
|
|
1918
|
+
const _0x5def84 = [
|
|
1919
|
+
_0x919398(0x29a) + _0x3fda43 + '\x20msg=handoff\x20time=' + new Date()[_0x919398(_0xb5e5a9._0x278367)]() + _0x919398(0x1c2),
|
|
1917
1920
|
'',
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
][
|
|
1923
|
-
'method':
|
|
1924
|
-
'headers': { 'Content-Type':
|
|
1925
|
-
'body': JSON[
|
|
1926
|
-
'agent_id':
|
|
1927
|
-
'thread_target':
|
|
1921
|
+
_0x919398(0x27e) + _0x153b9f[_0x919398(0x2eb)],
|
|
1922
|
+
_0x919398(_0xb5e5a9._0x47ff5c) + _0x3d78f1 + '\x20(' + _0x327c24[_0x919398(0x2bd)][_0x919398(_0xb5e5a9._0x5e0bc6)] + ')',
|
|
1923
|
+
'Thread\x20target:\x20' + _0x3fda43,
|
|
1924
|
+
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1925
|
+
]['join']('\x0a'), _0x54f759 = await fetch(_0xf94d17[_0x919398(0x217)] + '/workers/deliver', {
|
|
1926
|
+
'method': _0x919398(0x258),
|
|
1927
|
+
'headers': { 'Content-Type': _0x919398(0x255) },
|
|
1928
|
+
'body': JSON['stringify']({
|
|
1929
|
+
'agent_id': _0xf94d17[_0x919398(_0xb5e5a9._0x4ec410)],
|
|
1930
|
+
'thread_target': _0x3fda43,
|
|
1928
1931
|
'spawn_packet': {
|
|
1929
|
-
'replyTarget':
|
|
1930
|
-
'taskId':
|
|
1932
|
+
'replyTarget': _0x3fda43,
|
|
1933
|
+
'taskId': _0x327c24['task'][_0x919398(_0xb5e5a9._0x5e0bc6)]
|
|
1931
1934
|
},
|
|
1932
1935
|
'payload': {
|
|
1933
|
-
'mode':
|
|
1934
|
-
'text':
|
|
1936
|
+
'mode': _0x919398(0x2dd),
|
|
1937
|
+
'text': _0x5def84
|
|
1935
1938
|
}
|
|
1936
1939
|
})
|
|
1937
|
-
}),
|
|
1938
|
-
if (!
|
|
1939
|
-
throw new Error(
|
|
1940
|
+
}), _0x1805b4 = await _0x54f759[_0x919398(0x1a6)]();
|
|
1941
|
+
if (!_0x1805b4['ok'])
|
|
1942
|
+
throw new Error(_0x1805b4[_0x919398(0x1e8)] ?? _0x919398(_0xb5e5a9._0x2bb3c9));
|
|
1940
1943
|
return [
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
][
|
|
1944
|
+
_0x919398(_0xb5e5a9._0x177c50) + _0x3d78f1 + _0x919398(0x2ed) + _0x3fda43 + _0x919398(_0xb5e5a9._0xad5a76),
|
|
1945
|
+
_0x919398(_0xb5e5a9._0x25d984) + (_0x1805b4[_0x919398(_0xb5e5a9._0x3f21b2)] === _0x919398(0x273) ? _0x919398(_0xb5e5a9._0x3a5ee7) : 'started') + '.',
|
|
1946
|
+
_0x919398(_0xb5e5a9._0x152fba)
|
|
1947
|
+
][_0x919398(0x25d)]('\x0a');
|
|
1945
1948
|
}
|
|
1946
1949
|
}
|
|
1947
|
-
const
|
|
1948
|
-
'attachmentIds':
|
|
1949
|
-
'content':
|
|
1950
|
-
'target':
|
|
1951
|
-
'visibility':
|
|
1950
|
+
const _0x30c67a = await _0xf94d17[_0x919398(_0xb5e5a9._0x10eb7e)][_0x919398(_0xb5e5a9._0x172b3d)]({
|
|
1951
|
+
'attachmentIds': _0x153b9f['attachment_ids'],
|
|
1952
|
+
'content': _0x153b9f['content'],
|
|
1953
|
+
'target': _0x153b9f[_0x919398(_0xb5e5a9._0x5a4102)],
|
|
1954
|
+
'visibility': _0x153b9f[_0x919398(_0xb5e5a9._0x49398a)]
|
|
1952
1955
|
});
|
|
1953
|
-
return
|
|
1956
|
+
return _0x919398(0x195) + _0x153b9f[_0x919398(0x252)] + '.\x20Message\x20ID:\x20' + _0x30c67a['messageId'];
|
|
1954
1957
|
},
|
|
1955
1958
|
async 'check_messages'() {
|
|
1956
|
-
const
|
|
1957
|
-
if (!
|
|
1958
|
-
const
|
|
1959
|
-
if (
|
|
1960
|
-
return formatCheckMessages(
|
|
1959
|
+
const _0x49648c = _0x3c18f6, _0x30cc7f = await _0xf94d17[_0x49648c(0x1e4)][_0x49648c(_0x4b507d._0x663527)]();
|
|
1960
|
+
if (!_0xf94d17[_0x49648c(0x25a)]) {
|
|
1961
|
+
const _0x9df8d9 = await _0x11d1b8();
|
|
1962
|
+
if (_0x9df8d9)
|
|
1963
|
+
return formatCheckMessages(_0x30cc7f[_0x49648c(_0x4b507d._0x24b35a)]['filter'](_0x185453 => !_0x9df8d9['has'](_0x185453[_0x49648c(0x252)])));
|
|
1961
1964
|
}
|
|
1962
|
-
return formatCheckMessages(
|
|
1965
|
+
return formatCheckMessages(_0x30cc7f['messages']);
|
|
1963
1966
|
},
|
|
1964
|
-
async 'read_history'(
|
|
1965
|
-
const
|
|
1966
|
-
return formatHistory(
|
|
1967
|
+
async 'read_history'(_0x1f29e1) {
|
|
1968
|
+
const _0x28a804 = _0x3c18f6, _0x472d60 = await _0xf94d17[_0x28a804(_0x5f05e9._0x3be33f)][_0x28a804(0x18c)](_0x1f29e1);
|
|
1969
|
+
return formatHistory(_0x472d60);
|
|
1967
1970
|
},
|
|
1968
1971
|
async 'list_server'() {
|
|
1969
|
-
const
|
|
1970
|
-
return formatServerDirectory(
|
|
1972
|
+
const _0x4b1127 = _0x3c18f6, _0x1518b8 = await _0xf94d17[_0x4b1127(0x1e4)]['listServer']();
|
|
1973
|
+
return formatServerDirectory(_0x1518b8);
|
|
1971
1974
|
},
|
|
1972
|
-
async 'list_tasks'(
|
|
1973
|
-
const
|
|
1974
|
-
let
|
|
1975
|
-
if (
|
|
1975
|
+
async 'list_tasks'(_0x5a98b0) {
|
|
1976
|
+
const _0x4921b7 = _0x3c18f6, _0x1be923 = await _0xf94d17[_0x4921b7(_0x199008._0x14b959)]['listTasks'](_0x5a98b0);
|
|
1977
|
+
let _0x322825;
|
|
1978
|
+
if (_0xf94d17[_0x4921b7(_0x199008._0x9a9da6)] && _0xf94d17[_0x4921b7(0x241)])
|
|
1976
1979
|
try {
|
|
1977
|
-
const
|
|
1978
|
-
if (
|
|
1979
|
-
const
|
|
1980
|
-
|
|
1981
|
-
for (const
|
|
1982
|
-
if (
|
|
1980
|
+
const _0x56ab9a = await fetch(_0xf94d17[_0x4921b7(0x217)] + _0x4921b7(0x2db) + encodeURIComponent(_0xf94d17['agentId'])), _0x432d6d = await _0x56ab9a[_0x4921b7(_0x199008._0x48a27e)]();
|
|
1981
|
+
if (_0x432d6d['ok']) {
|
|
1982
|
+
const _0x1dde33 = _0x5a98b0[_0x4921b7(0x25f)] + ':';
|
|
1983
|
+
_0x322825 = new Set();
|
|
1984
|
+
for (const _0x2e88a7 of _0x432d6d[_0x4921b7(0x22c)]) {
|
|
1985
|
+
if (_0x2e88a7['status'] === _0x4921b7(_0x199008._0x1fe737))
|
|
1983
1986
|
continue;
|
|
1984
|
-
if (
|
|
1985
|
-
const
|
|
1986
|
-
if (
|
|
1987
|
-
|
|
1987
|
+
if (_0x2e88a7[_0x4921b7(0x1b3)]?.[_0x4921b7(_0x199008._0x1e0850)](_0x1dde33)) {
|
|
1988
|
+
const _0x2690e7 = _0x2e88a7[_0x4921b7(_0x199008._0x409395)][_0x4921b7(0x20c)](_0x1dde33['length']), _0x3e1786 = _0x1be923['tasks'][_0x4921b7(_0x199008._0x32103d)](_0x4404f4 => _0x4404f4[_0x4921b7(0x249)]?.['startsWith'](_0x2690e7) === !![]);
|
|
1989
|
+
if (_0x3e1786?.[_0x4921b7(_0x199008._0x25ed73)] != null) {
|
|
1990
|
+
_0x322825[_0x4921b7(_0x199008._0x2a3946)](_0x3e1786[_0x4921b7(_0x199008._0x25ed73)]);
|
|
1988
1991
|
continue;
|
|
1989
1992
|
}
|
|
1990
1993
|
}
|
|
1991
|
-
if (
|
|
1992
|
-
const
|
|
1993
|
-
|
|
1994
|
+
if (_0x2e88a7['task_id']) {
|
|
1995
|
+
const _0x2852a3 = _0x1be923[_0x4921b7(0x1d7)]['find'](_0x2b9e2f => _0x2b9e2f[_0x4921b7(0x173)] === _0x2e88a7['task_id']);
|
|
1996
|
+
_0x2852a3?.[_0x4921b7(_0x199008._0x25ed73)] != null && _0x322825['add'](_0x2852a3[_0x4921b7(0x2d3)]);
|
|
1994
1997
|
}
|
|
1995
1998
|
}
|
|
1996
1999
|
}
|
|
1997
2000
|
} catch {
|
|
1998
2001
|
}
|
|
1999
|
-
return formatTaskList(
|
|
2002
|
+
return formatTaskList(_0x1be923[_0x4921b7(_0x199008._0x15cbc7)], _0x322825);
|
|
2000
2003
|
},
|
|
2001
|
-
async 'create_tasks'(
|
|
2002
|
-
const
|
|
2003
|
-
|
|
2004
|
-
const
|
|
2005
|
-
return formatCreatedTasks(
|
|
2004
|
+
async 'create_tasks'(_0x3c6a03) {
|
|
2005
|
+
const _0x54e04a = _0x3c18f6;
|
|
2006
|
+
_0x2495c6(_0x54e04a(0x2f6), _0x3c6a03[_0x54e04a(_0x643cb._0xdfcbfb)]);
|
|
2007
|
+
const _0x3a24ab = await _0xf94d17[_0x54e04a(_0x643cb._0x532261)][_0x54e04a(_0x643cb._0x2e2fce)](_0x3c6a03);
|
|
2008
|
+
return formatCreatedTasks(_0x3a24ab[_0x54e04a(_0x643cb._0x5aa023)]);
|
|
2006
2009
|
},
|
|
2007
|
-
async 'claim_tasks'(
|
|
2008
|
-
const
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2010
|
+
async 'claim_tasks'(_0x1f45b2) {
|
|
2011
|
+
const _0x141e7f = {
|
|
2012
|
+
_0x369703: 0x24e,
|
|
2013
|
+
_0x1242b6: 0x25f,
|
|
2014
|
+
_0x5c6181: 0x1b7,
|
|
2015
|
+
_0x4eba0b: 0x249,
|
|
2016
|
+
_0x281bec: 0x173,
|
|
2017
|
+
_0x36a45b: 0x2a7
|
|
2018
|
+
}, _0x4c3280 = _0x3c18f6;
|
|
2019
|
+
if (_0xf94d17[_0x4c3280(0x25a)]) {
|
|
2020
|
+
_0x2495c6(_0x4c3280(_0x43b6a4._0x4500ae), _0x1f45b2['channel']);
|
|
2021
|
+
if (_0x1f45b2['message_ids'] && _0x1f45b2[_0x4c3280(_0x43b6a4._0x97dd72)]['length'] > 0x0)
|
|
2022
|
+
throw new Error(_0x4c3280(_0x43b6a4._0x5268ec));
|
|
2023
|
+
if (!_0x1f45b2['subtask_numbers'] || _0x1f45b2['subtask_numbers'][_0x4c3280(0x170)] === 0x0)
|
|
2024
|
+
throw new Error(_0x4c3280(_0x43b6a4._0x833bcd));
|
|
2015
2025
|
}
|
|
2016
|
-
const
|
|
2017
|
-
const
|
|
2018
|
-
if (!
|
|
2019
|
-
return
|
|
2026
|
+
const _0x5c1e21 = await _0xf94d17['client'][_0x4c3280(_0x43b6a4._0x3d826c)](_0x1f45b2), _0x474c71 = await Promise[_0x4c3280(0x2b0)](_0x5c1e21['results'][_0x4c3280(_0x43b6a4._0x64d7fd)](async _0x3715e4 => {
|
|
2027
|
+
const _0x38b18c = _0x4c3280;
|
|
2028
|
+
if (!_0x3715e4[_0x38b18c(_0x141e7f._0x369703)] || !_0x3715e4['messageId'])
|
|
2029
|
+
return _0x3715e4;
|
|
2020
2030
|
try {
|
|
2021
|
-
const
|
|
2022
|
-
'channel':
|
|
2023
|
-
'executionMode':
|
|
2024
|
-
'messageId':
|
|
2025
|
-
'taskId':
|
|
2026
|
-
'taskNumber':
|
|
2027
|
-
'threadNumber':
|
|
2031
|
+
const _0x3cb3da = await _0x2a5382({
|
|
2032
|
+
'channel': _0x1f45b2[_0x38b18c(_0x141e7f._0x1242b6)],
|
|
2033
|
+
'executionMode': _0x3715e4[_0x38b18c(_0x141e7f._0x5c6181)],
|
|
2034
|
+
'messageId': _0x3715e4[_0x38b18c(_0x141e7f._0x4eba0b)],
|
|
2035
|
+
'taskId': _0x3715e4[_0x38b18c(_0x141e7f._0x281bec)],
|
|
2036
|
+
'taskNumber': _0x3715e4[_0x38b18c(0x2d3)],
|
|
2037
|
+
'threadNumber': _0x3715e4[_0x38b18c(0x2e5)]
|
|
2028
2038
|
});
|
|
2029
|
-
return
|
|
2030
|
-
...
|
|
2031
|
-
...
|
|
2032
|
-
} :
|
|
2033
|
-
} catch (
|
|
2039
|
+
return _0x3cb3da ? {
|
|
2040
|
+
..._0x3715e4,
|
|
2041
|
+
..._0x3cb3da
|
|
2042
|
+
} : _0x3715e4;
|
|
2043
|
+
} catch (_0x538653) {
|
|
2034
2044
|
return {
|
|
2035
|
-
...
|
|
2036
|
-
'workerHandoffError':
|
|
2045
|
+
..._0x3715e4,
|
|
2046
|
+
'workerHandoffError': _0x538653 instanceof Error ? _0x538653['message'] : _0x38b18c(_0x141e7f._0x36a45b)
|
|
2037
2047
|
};
|
|
2038
2048
|
}
|
|
2039
2049
|
}));
|
|
2040
|
-
return formatClaimTaskResults(
|
|
2050
|
+
return formatClaimTaskResults(_0x474c71);
|
|
2041
2051
|
},
|
|
2042
|
-
async 'unclaim_task'(
|
|
2043
|
-
const
|
|
2044
|
-
if (
|
|
2045
|
-
|
|
2046
|
-
if (
|
|
2047
|
-
throw new Error(
|
|
2052
|
+
async 'unclaim_task'(_0x1f2b1d) {
|
|
2053
|
+
const _0x4e9704 = _0x3c18f6;
|
|
2054
|
+
if (_0xf94d17['workerMode']) {
|
|
2055
|
+
_0x2495c6(_0x4e9704(0x2bb), _0x1f2b1d[_0x4e9704(0x25f)]);
|
|
2056
|
+
if (_0x1f2b1d['subtask_number'] == null)
|
|
2057
|
+
throw new Error(_0x4e9704(0x1bf));
|
|
2048
2058
|
}
|
|
2049
|
-
const
|
|
2050
|
-
return formatUnclaimTaskResult(
|
|
2059
|
+
const _0xf45e21 = await _0xf94d17[_0x4e9704(_0x50c3e1._0x577b59)][_0x4e9704(0x1d3)](_0x1f2b1d);
|
|
2060
|
+
return formatUnclaimTaskResult(_0xf45e21);
|
|
2051
2061
|
},
|
|
2052
|
-
async 'update_task_status'(
|
|
2053
|
-
const
|
|
2054
|
-
|
|
2055
|
-
const
|
|
2056
|
-
return formatUpdateTaskStatusResult(
|
|
2062
|
+
async 'update_task_status'(_0x125de3) {
|
|
2063
|
+
const _0x463207 = _0x3c18f6;
|
|
2064
|
+
_0x2495c6('update_task_status', _0x125de3[_0x463207(_0x62759c._0x5742e0)]);
|
|
2065
|
+
const _0x3cabf9 = await _0xf94d17['client'][_0x463207(0x212)](_0x125de3);
|
|
2066
|
+
return formatUpdateTaskStatusResult(_0x3cabf9);
|
|
2057
2067
|
},
|
|
2058
|
-
async 'upload_file'(
|
|
2059
|
-
const
|
|
2060
|
-
sizeBytes:
|
|
2061
|
-
...
|
|
2062
|
-
} =
|
|
2063
|
-
'channel':
|
|
2064
|
-
...
|
|
2068
|
+
async 'upload_file'(_0x2bb637) {
|
|
2069
|
+
const _0x27a3d5 = _0x3c18f6, _0x228851 = await _0xf94d17[_0x27a3d5(0x1fb)](_0x2bb637['file_path']), {
|
|
2070
|
+
sizeBytes: _0xad1e1e,
|
|
2071
|
+
..._0x3caf75
|
|
2072
|
+
} = _0x228851, _0x3653fc = await _0xf94d17['client'][_0x27a3d5(0x190)]({
|
|
2073
|
+
'channel': _0x2bb637['channel'],
|
|
2074
|
+
..._0x3caf75
|
|
2065
2075
|
});
|
|
2066
|
-
return formatUploadResult(
|
|
2076
|
+
return formatUploadResult(_0x3653fc);
|
|
2067
2077
|
},
|
|
2068
|
-
async 'view_file'(
|
|
2069
|
-
const
|
|
2070
|
-
if (
|
|
2071
|
-
return formatViewFileResult(
|
|
2072
|
-
const
|
|
2073
|
-
'attachmentId':
|
|
2074
|
-
'contentType':
|
|
2075
|
-
'data':
|
|
2076
|
-
'originalFilename':
|
|
2078
|
+
async 'view_file'(_0x4bf532) {
|
|
2079
|
+
const _0x45de95 = _0x3c18f6, _0x4841bb = await _0xf94d17[_0x45de95(_0x12509b._0x31f7bb)][_0x45de95(_0x12509b._0x151250)](_0x4bf532[_0x45de95(0x21a)]);
|
|
2080
|
+
if (_0x4841bb)
|
|
2081
|
+
return formatViewFileResult(_0x4841bb, !![]);
|
|
2082
|
+
const _0x2013ce = await _0xf94d17[_0x45de95(0x1e4)][_0x45de95(0x243)](_0x4bf532[_0x45de95(_0x12509b._0x857ff7)]), _0x2cabb5 = await _0xf94d17['attachmentCache'][_0x45de95(_0x12509b._0x52ca7f)]({
|
|
2083
|
+
'attachmentId': _0x4bf532[_0x45de95(0x21a)],
|
|
2084
|
+
'contentType': _0x2013ce[_0x45de95(0x182)],
|
|
2085
|
+
'data': _0x2013ce['data'],
|
|
2086
|
+
'originalFilename': _0x2013ce[_0x45de95(_0x12509b._0x3ca98e)]
|
|
2077
2087
|
});
|
|
2078
|
-
return formatViewFileResult(
|
|
2088
|
+
return formatViewFileResult(_0x2cabb5, ![]);
|
|
2079
2089
|
},
|
|
2080
|
-
async 'get_worker_status'(
|
|
2081
|
-
const
|
|
2082
|
-
if (!
|
|
2083
|
-
return
|
|
2084
|
-
const
|
|
2085
|
-
if (!
|
|
2086
|
-
return 'Worker\x20\x22' +
|
|
2087
|
-
return
|
|
2090
|
+
async 'get_worker_status'(_0x594413) {
|
|
2091
|
+
const _0x4c7c4e = _0x3c18f6;
|
|
2092
|
+
if (!_0xf94d17[_0x4c7c4e(0x217)])
|
|
2093
|
+
return _0x4c7c4e(_0x3736ab._0x205048);
|
|
2094
|
+
const _0x1a7b92 = await fetch(_0xf94d17['daemonLocalUrl'] + _0x4c7c4e(_0x3736ab._0x3cfbf7) + encodeURIComponent(_0x594413[_0x4c7c4e(_0x3736ab._0x189b8a)])), _0x5a5d30 = await _0x1a7b92['json']();
|
|
2095
|
+
if (!_0x5a5d30['ok'])
|
|
2096
|
+
return 'Worker\x20\x22' + _0x594413[_0x4c7c4e(_0x3736ab._0x4e584b)] + _0x4c7c4e(0x223);
|
|
2097
|
+
return _0x4c7c4e(_0x3736ab._0x2ad9b3) + _0x594413[_0x4c7c4e(_0x3736ab._0x4e584b)] + _0x4c7c4e(_0x3736ab._0x2241a8) + _0x5a5d30[_0x4c7c4e(0x205)];
|
|
2088
2098
|
},
|
|
2089
|
-
async 'park_worker'(
|
|
2090
|
-
const
|
|
2091
|
-
if (!
|
|
2092
|
-
return
|
|
2093
|
-
const
|
|
2094
|
-
'method':
|
|
2095
|
-
'headers': { 'Content-Type':
|
|
2096
|
-
'body': JSON[
|
|
2097
|
-
}),
|
|
2098
|
-
if (!
|
|
2099
|
-
throw new Error(
|
|
2100
|
-
return
|
|
2099
|
+
async 'park_worker'(_0x1e9d26) {
|
|
2100
|
+
const _0x3351fb = _0x3c18f6;
|
|
2101
|
+
if (!_0xf94d17[_0x3351fb(0x217)])
|
|
2102
|
+
return _0x3351fb(0x285);
|
|
2103
|
+
const _0x42516d = await fetch(_0xf94d17[_0x3351fb(0x217)] + '/workers/park', {
|
|
2104
|
+
'method': _0x3351fb(0x258),
|
|
2105
|
+
'headers': { 'Content-Type': _0x3351fb(_0x273cf3._0x522a3c) },
|
|
2106
|
+
'body': JSON[_0x3351fb(0x2b4)]({ 'work_key': _0x1e9d26[_0x3351fb(0x24b)] })
|
|
2107
|
+
}), _0xee44fe = await _0x42516d[_0x3351fb(_0x273cf3._0x3cf2b4)]();
|
|
2108
|
+
if (!_0xee44fe['ok'])
|
|
2109
|
+
throw new Error(_0xee44fe[_0x3351fb(0x1e8)] ?? _0x3351fb(_0x273cf3._0x589b54));
|
|
2110
|
+
return _0x3351fb(0x2de) + _0x1e9d26[_0x3351fb(_0x273cf3._0x495008)] + _0x3351fb(_0x273cf3._0x1cabb6);
|
|
2101
2111
|
},
|
|
2102
|
-
async 'mark_waiting_input'(
|
|
2103
|
-
const
|
|
2104
|
-
if (!
|
|
2105
|
-
return
|
|
2106
|
-
const
|
|
2107
|
-
'method':
|
|
2108
|
-
'headers': { 'Content-Type':
|
|
2112
|
+
async 'mark_waiting_input'(_0x50a7ef) {
|
|
2113
|
+
const _0xf9a11e = _0x3c18f6;
|
|
2114
|
+
if (!_0xf94d17[_0xf9a11e(_0x2b4df2._0x235a6a)] || !_0xf94d17[_0xf9a11e(0x241)])
|
|
2115
|
+
return _0xf9a11e(0x292);
|
|
2116
|
+
const _0x496e63 = await fetch(_0xf94d17['daemonLocalUrl'] + _0xf9a11e(0x2b8), {
|
|
2117
|
+
'method': _0xf9a11e(0x258),
|
|
2118
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2109
2119
|
'body': JSON['stringify']({
|
|
2110
|
-
'work_key':
|
|
2111
|
-
'agent_id':
|
|
2120
|
+
'work_key': _0x50a7ef['work_key'],
|
|
2121
|
+
'agent_id': _0xf94d17[_0xf9a11e(0x241)]
|
|
2112
2122
|
})
|
|
2113
|
-
}),
|
|
2114
|
-
if (!
|
|
2115
|
-
throw new Error(
|
|
2116
|
-
return
|
|
2123
|
+
}), _0x479ef0 = await _0x496e63[_0xf9a11e(0x1a6)]();
|
|
2124
|
+
if (!_0x479ef0['ok'])
|
|
2125
|
+
throw new Error(_0x479ef0[_0xf9a11e(0x1e8)] ?? _0xf9a11e(_0x2b4df2._0x5d00a4));
|
|
2126
|
+
return _0xf9a11e(0x2de) + _0x50a7ef[_0xf9a11e(0x24b)] + _0xf9a11e(_0x2b4df2._0x92e98f);
|
|
2117
2127
|
},
|
|
2118
|
-
async 'escalate_to_main'(
|
|
2119
|
-
const
|
|
2120
|
-
if (!
|
|
2121
|
-
return
|
|
2122
|
-
const
|
|
2123
|
-
'method':
|
|
2124
|
-
'headers': { 'Content-Type':
|
|
2125
|
-
'body': JSON[
|
|
2126
|
-
'work_key':
|
|
2127
|
-
'reason':
|
|
2128
|
+
async 'escalate_to_main'(_0x52999e) {
|
|
2129
|
+
const _0x357ab = _0x3c18f6;
|
|
2130
|
+
if (!_0xf94d17[_0x357ab(_0x56ec74._0x58c7c7)])
|
|
2131
|
+
return _0x357ab(0x285);
|
|
2132
|
+
const _0x562594 = await fetch(_0xf94d17[_0x357ab(0x217)] + _0x357ab(0x1cf), {
|
|
2133
|
+
'method': _0x357ab(_0x56ec74._0x40affd),
|
|
2134
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2135
|
+
'body': JSON[_0x357ab(0x2b4)]({
|
|
2136
|
+
'work_key': _0x52999e['work_key'],
|
|
2137
|
+
'reason': _0x52999e[_0x357ab(0x203)]
|
|
2128
2138
|
})
|
|
2129
|
-
}),
|
|
2130
|
-
if (!
|
|
2131
|
-
throw new Error(
|
|
2132
|
-
return
|
|
2139
|
+
}), _0x2dc6b7 = await _0x562594[_0x357ab(0x1a6)]();
|
|
2140
|
+
if (!_0x2dc6b7['ok'])
|
|
2141
|
+
throw new Error(_0x2dc6b7['error'] ?? _0x357ab(_0x56ec74._0x21f2a5));
|
|
2142
|
+
return _0x357ab(0x2cc) + _0x52999e[_0x357ab(0x203)];
|
|
2133
2143
|
}
|
|
2134
2144
|
};
|
|
2135
2145
|
}
|
|
2136
|
-
function textResult(
|
|
2137
|
-
const _0x47d1d8 = _0x38edd3;
|
|
2146
|
+
function textResult(_0x3e8a90, _0x935609 = ![]) {
|
|
2138
2147
|
return {
|
|
2139
2148
|
'content': [{
|
|
2140
|
-
'type':
|
|
2141
|
-
'text':
|
|
2149
|
+
'type': 'text',
|
|
2150
|
+
'text': _0x3e8a90
|
|
2142
2151
|
}],
|
|
2143
|
-
...
|
|
2152
|
+
..._0x935609 ? { 'isError': !![] } : {}
|
|
2144
2153
|
};
|
|
2145
2154
|
}
|
|
2146
|
-
function
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
_0x15f5da: 0x269,
|
|
2198
|
-
_0x5af0ad: 0x1f5,
|
|
2199
|
-
_0x236845: 0x273,
|
|
2200
|
-
_0x4abe8b: 0x275,
|
|
2201
|
-
_0x37972f: 0x1cc,
|
|
2202
|
-
_0x61ea4d: 0x279,
|
|
2203
|
-
_0x17bc0c: 0x2b6,
|
|
2204
|
-
_0x525da1: 0x283,
|
|
2205
|
-
_0xcd4db9: 0x275,
|
|
2206
|
-
_0x227ac3: 0x21c
|
|
2207
|
-
}, _0x204a04 = { _0x31f08c: 0x213 }, _0x949cc9 = {
|
|
2208
|
-
_0x4f33c5: 0x213,
|
|
2209
|
-
_0x5c8e3a: 0x200
|
|
2210
|
-
}, _0x1bed39 = {
|
|
2211
|
-
_0x5209e7: 0x1f5,
|
|
2212
|
-
_0x2fc813: 0x213
|
|
2213
|
-
}, _0x2d789d = { _0x50e9fe: 0x311 }, _0x788c94 = {
|
|
2214
|
-
_0xab3da8: 0x213,
|
|
2215
|
-
_0x38d28a: 0x287
|
|
2216
|
-
}, _0x430b7d = { _0x28fcf2: 0x1ff }, _0x5ec8be = { _0x24836f: 0x213 }, _0x1a7af5 = {
|
|
2217
|
-
_0x830423: 0x303,
|
|
2218
|
-
_0x58a319: 0x213
|
|
2219
|
-
}, _0x437103 = { _0x4be301: 0x21d }, _0x537bb3 = { _0x26646c: 0x1f2 }, _0x39115e = {
|
|
2220
|
-
_0x53c9f2: 0x1af,
|
|
2221
|
-
_0x2f404d: 0x213
|
|
2222
|
-
}, _0x27309a = _0x38edd3, {z: _0x211260} = await import(_0x27309a(0x2d9));
|
|
2223
|
-
_0x31dded[_0x27309a(_0x23408c._0x5a0ab0)](_0x27309a(_0x23408c._0x121998), _0x27309a(_0x23408c._0x157bab), {
|
|
2224
|
-
'target': _0x211260[_0x27309a(_0x23408c._0x5d556f)](),
|
|
2225
|
-
'content': _0x211260[_0x27309a(_0x23408c._0x2f0d45)](),
|
|
2226
|
-
'attachment_ids': _0x211260[_0x27309a(_0x23408c._0x1afe39)](_0x211260[_0x27309a(0x275)]())[_0x27309a(0x269)](),
|
|
2227
|
-
'visibility': _0x211260[_0x27309a(_0x23408c._0x5a26c8)]([
|
|
2228
|
-
_0x27309a(0x2a5),
|
|
2155
|
+
async function registerChatBridgeTools(_0x2751c2, _0x5da8e3, _0x53b0a0) {
|
|
2156
|
+
const _0x2aec16 = {
|
|
2157
|
+
_0x277c47: 0x238,
|
|
2158
|
+
_0x3c8138: 0x2f4,
|
|
2159
|
+
_0x11ebfc: 0x184,
|
|
2160
|
+
_0x56dee8: 0x16b,
|
|
2161
|
+
_0x1f5cf9: 0x2ee,
|
|
2162
|
+
_0x9c7abc: 0x216,
|
|
2163
|
+
_0x3a750d: 0x1f7,
|
|
2164
|
+
_0x1cdb0b: 0x256,
|
|
2165
|
+
_0x646bc0: 0x225,
|
|
2166
|
+
_0x4ca1bc: 0x2f6,
|
|
2167
|
+
_0x3c2437: 0x2ad,
|
|
2168
|
+
_0x16d46c: 0x2f3,
|
|
2169
|
+
_0x247431: 0x16b,
|
|
2170
|
+
_0xff2338: 0x185,
|
|
2171
|
+
_0xfac85c: 0x175,
|
|
2172
|
+
_0x2ece27: 0x248,
|
|
2173
|
+
_0x3bc69f: 0x179,
|
|
2174
|
+
_0x4b72c7: 0x2ad,
|
|
2175
|
+
_0x59e1d0: 0x16b,
|
|
2176
|
+
_0x197c79: 0x2ad,
|
|
2177
|
+
_0x31efab: 0x2b3,
|
|
2178
|
+
_0x3da5b8: 0x2ad,
|
|
2179
|
+
_0x54bd4e: 0x179,
|
|
2180
|
+
_0xaf1b00: 0x2ad,
|
|
2181
|
+
_0x126790: 0x26e,
|
|
2182
|
+
_0x2875a7: 0x214,
|
|
2183
|
+
_0x4a35d6: 0x221,
|
|
2184
|
+
_0x246a59: 0x165,
|
|
2185
|
+
_0x502db7: 0x283,
|
|
2186
|
+
_0x22357e: 0x17f,
|
|
2187
|
+
_0x4f09c6: 0x1ca,
|
|
2188
|
+
_0x6e82fd: 0x235,
|
|
2189
|
+
_0x193cea: 0x2e7
|
|
2190
|
+
}, _0xa59064 = { _0x2320f6: 0x2e7 }, _0x32966e = {
|
|
2191
|
+
_0x40bd73: 0x28a,
|
|
2192
|
+
_0xf48d7e: 0x2f0
|
|
2193
|
+
}, _0x3f7685 = {
|
|
2194
|
+
_0x4744c5: 0x2c3,
|
|
2195
|
+
_0x4275ab: 0x2cd
|
|
2196
|
+
}, _0x5d102b = { _0x74daf7: 0x2b9 }, _0x4b38f2 = {
|
|
2197
|
+
_0x41185d: 0x28a,
|
|
2198
|
+
_0x41837b: 0x264
|
|
2199
|
+
}, _0x4c8724 = { _0x653483: 0x28a }, _0x1362bc = { _0x3e3be3: 0x2a9 }, _0xbbd5bc = { _0x292f1f: 0x290 }, _0x57f201 = { _0x2497d5: 0x2f6 }, _0x806fe1 = { _0x461f76: 0x22f }, _0x98054f = { _0x14b8dc: 0x1f7 }, _0x2c04f3 = { _0x32b570: 0x25c }, _0x576896 = { _0x54d5b7: 0x164 }, _0x1ea560 = { _0x26ca07: 0x22a }, _0x501408 = _0x4cca3c, {z: _0x45527e} = await import(_0x501408(_0x2aec16._0x277c47));
|
|
2200
|
+
_0x2751c2[_0x501408(_0x2aec16._0x3c8138)](_0x501408(0x24d), _0x501408(_0x2aec16._0x11ebfc), {
|
|
2201
|
+
'target': _0x45527e[_0x501408(0x2ad)](),
|
|
2202
|
+
'content': _0x45527e[_0x501408(0x2ad)](),
|
|
2203
|
+
'attachment_ids': _0x45527e[_0x501408(0x248)](_0x45527e['string']())[_0x501408(_0x2aec16._0x56dee8)](),
|
|
2204
|
+
'visibility': _0x45527e[_0x501408(0x185)]([
|
|
2205
|
+
_0x501408(_0x2aec16._0x1f5cf9),
|
|
2229
2206
|
'aside'
|
|
2230
|
-
])[
|
|
2231
|
-
}, async
|
|
2232
|
-
const
|
|
2207
|
+
])['optional']()[_0x501408(0x2c7)](_0x501408(0x23f))
|
|
2208
|
+
}, async _0x392002 => {
|
|
2209
|
+
const _0x4f6f22 = _0x501408;
|
|
2233
2210
|
try {
|
|
2234
|
-
return textResult(await
|
|
2235
|
-
} catch (
|
|
2236
|
-
return textResult(
|
|
2211
|
+
return textResult(await _0x5da8e3[_0x4f6f22(0x24d)](_0x392002));
|
|
2212
|
+
} catch (_0x5e35a9) {
|
|
2213
|
+
return textResult(_0x5e35a9 instanceof Error ? _0x5e35a9[_0x4f6f22(0x28a)] : _0x4f6f22(_0x1ea560._0x26ca07), !![]);
|
|
2237
2214
|
}
|
|
2238
|
-
}),
|
|
2239
|
-
const
|
|
2215
|
+
}), _0x2751c2['tool'](_0x501408(_0x2aec16._0x9c7abc), _0x501408(0x180), {}, async () => {
|
|
2216
|
+
const _0x18cd29 = _0x501408;
|
|
2240
2217
|
try {
|
|
2241
|
-
return textResult(await
|
|
2242
|
-
} catch (
|
|
2243
|
-
return textResult(
|
|
2218
|
+
return textResult(await _0x5da8e3['check_messages']());
|
|
2219
|
+
} catch (_0xc098a0) {
|
|
2220
|
+
return textResult(_0xc098a0 instanceof Error ? _0xc098a0['message'] : _0x18cd29(_0x576896._0x54d5b7), !![]);
|
|
2244
2221
|
}
|
|
2245
|
-
}),
|
|
2246
|
-
'channel':
|
|
2247
|
-
'limit':
|
|
2248
|
-
'before':
|
|
2249
|
-
'after':
|
|
2250
|
-
}, async
|
|
2251
|
-
const
|
|
2222
|
+
}), _0x2751c2[_0x501408(0x2f4)](_0x501408(0x1f2), _0x501408(0x247), {
|
|
2223
|
+
'channel': _0x45527e['string'](),
|
|
2224
|
+
'limit': _0x45527e['number']()[_0x501408(0x16b)](),
|
|
2225
|
+
'before': _0x45527e[_0x501408(0x179)]()[_0x501408(_0x2aec16._0x56dee8)](),
|
|
2226
|
+
'after': _0x45527e[_0x501408(0x179)]()[_0x501408(0x16b)]()
|
|
2227
|
+
}, async _0x57489a => {
|
|
2228
|
+
const _0x28b077 = _0x501408;
|
|
2252
2229
|
try {
|
|
2253
|
-
return textResult(await
|
|
2254
|
-
} catch (
|
|
2255
|
-
return textResult(
|
|
2230
|
+
return textResult(await _0x5da8e3['read_history'](_0x57489a));
|
|
2231
|
+
} catch (_0x14b3e1) {
|
|
2232
|
+
return textResult(_0x14b3e1 instanceof Error ? _0x14b3e1[_0x28b077(0x28a)] : _0x28b077(_0x2c04f3._0x32b570), !![]);
|
|
2256
2233
|
}
|
|
2257
|
-
}),
|
|
2258
|
-
const
|
|
2234
|
+
}), _0x2751c2[_0x501408(0x2f4)](_0x501408(_0x2aec16._0x3a750d), _0x501408(_0x2aec16._0x1cdb0b), {}, async () => {
|
|
2235
|
+
const _0x299387 = _0x501408;
|
|
2259
2236
|
try {
|
|
2260
|
-
return textResult(await
|
|
2261
|
-
} catch (
|
|
2262
|
-
return textResult(
|
|
2237
|
+
return textResult(await _0x5da8e3[_0x299387(_0x98054f._0x14b8dc)]());
|
|
2238
|
+
} catch (_0x4dc15e) {
|
|
2239
|
+
return textResult(_0x4dc15e instanceof Error ? _0x4dc15e['message'] : _0x299387(0x1a5), !![]);
|
|
2263
2240
|
}
|
|
2264
|
-
}),
|
|
2265
|
-
'channel':
|
|
2266
|
-
'status':
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
])[
|
|
2272
|
-
}, async
|
|
2273
|
-
const
|
|
2241
|
+
}), _0x2751c2[_0x501408(0x2f4)](_0x501408(0x22f), 'List\x20tasks\x20in\x20a\x20channel\x20or\x20thread.\x20Thread\x20target\x20(e.g.\x20\x22#channel:threadId\x22)\x20returns\x20the\x20parent\x20task\x20plus\x20its\x20subtasks\x20with\x20aggregation\x20fields\x20(childrenTotal,\x20childrenDone,\x20childrenInProgress).\x20Channel\x20target\x20returns\x20only\x20parent\x20tasks\x20(no\x20subtasks).', {
|
|
2242
|
+
'channel': _0x45527e[_0x501408(0x2ad)](),
|
|
2243
|
+
'status': _0x45527e[_0x501408(0x185)]([
|
|
2244
|
+
'todo',
|
|
2245
|
+
_0x501408(0x1fa),
|
|
2246
|
+
'in_review',
|
|
2247
|
+
_0x501408(_0x2aec16._0x646bc0)
|
|
2248
|
+
])['optional']()
|
|
2249
|
+
}, async _0x5256f8 => {
|
|
2250
|
+
const _0x3aeefc = _0x501408;
|
|
2274
2251
|
try {
|
|
2275
|
-
return textResult(await
|
|
2276
|
-
} catch (
|
|
2277
|
-
return textResult(
|
|
2252
|
+
return textResult(await _0x5da8e3[_0x3aeefc(_0x806fe1._0x461f76)](_0x5256f8));
|
|
2253
|
+
} catch (_0x5f98fc) {
|
|
2254
|
+
return textResult(_0x5f98fc instanceof Error ? _0x5f98fc[_0x3aeefc(0x28a)] : 'list_tasks\x20failed', !![]);
|
|
2278
2255
|
}
|
|
2279
|
-
}),
|
|
2280
|
-
'channel':
|
|
2281
|
-
'idempotency_key':
|
|
2282
|
-
'tasks':
|
|
2283
|
-
'title':
|
|
2284
|
-
'description':
|
|
2285
|
-
'priority':
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
])[
|
|
2256
|
+
}), _0x2751c2[_0x501408(_0x2aec16._0x3c8138)](_0x501408(_0x2aec16._0x4ca1bc), _0x501408(0x27c), {
|
|
2257
|
+
'channel': _0x45527e[_0x501408(0x2ad)](),
|
|
2258
|
+
'idempotency_key': _0x45527e[_0x501408(_0x2aec16._0x3c2437)]()[_0x501408(0x16b)](),
|
|
2259
|
+
'tasks': _0x45527e['array'](_0x45527e[_0x501408(_0x2aec16._0x16d46c)]({
|
|
2260
|
+
'title': _0x45527e[_0x501408(0x2ad)](),
|
|
2261
|
+
'description': _0x45527e['string']()[_0x501408(_0x2aec16._0x247431)](),
|
|
2262
|
+
'priority': _0x45527e[_0x501408(_0x2aec16._0xff2338)]([
|
|
2263
|
+
'low',
|
|
2264
|
+
'medium',
|
|
2265
|
+
_0x501408(0x1a8),
|
|
2266
|
+
_0x501408(_0x2aec16._0xfac85c)
|
|
2267
|
+
])[_0x501408(0x16b)]()
|
|
2291
2268
|
}))
|
|
2292
|
-
}, async
|
|
2293
|
-
const
|
|
2269
|
+
}, async _0x24cb7e => {
|
|
2270
|
+
const _0x68f1e8 = _0x501408;
|
|
2294
2271
|
try {
|
|
2295
|
-
return textResult(await
|
|
2296
|
-
} catch (
|
|
2297
|
-
return textResult(
|
|
2272
|
+
return textResult(await _0x5da8e3[_0x68f1e8(_0x57f201._0x2497d5)](_0x24cb7e));
|
|
2273
|
+
} catch (_0x58c9f4) {
|
|
2274
|
+
return textResult(_0x58c9f4 instanceof Error ? _0x58c9f4[_0x68f1e8(0x28a)] : _0x68f1e8(0x28b), !![]);
|
|
2298
2275
|
}
|
|
2299
|
-
}),
|
|
2300
|
-
'channel':
|
|
2301
|
-
'task_numbers':
|
|
2302
|
-
'subtask_numbers':
|
|
2303
|
-
'message_ids':
|
|
2304
|
-
'evidence':
|
|
2305
|
-
'create_thread':
|
|
2306
|
-
'create_task':
|
|
2307
|
-
}))[
|
|
2308
|
-
'idempotency_key':
|
|
2309
|
-
}, async
|
|
2310
|
-
const
|
|
2276
|
+
}), _0x2751c2['tool'](_0x501408(0x1f9), _0x501408(0x1fd), {
|
|
2277
|
+
'channel': _0x45527e[_0x501408(0x2ad)](),
|
|
2278
|
+
'task_numbers': _0x45527e[_0x501408(_0x2aec16._0x2ece27)](_0x45527e[_0x501408(_0x2aec16._0x3bc69f)]())['optional'](),
|
|
2279
|
+
'subtask_numbers': _0x45527e['array'](_0x45527e[_0x501408(_0x2aec16._0x3bc69f)]())['optional'](),
|
|
2280
|
+
'message_ids': _0x45527e['array'](_0x45527e['string']())[_0x501408(0x16b)](),
|
|
2281
|
+
'evidence': _0x45527e['record'](_0x45527e[_0x501408(_0x2aec16._0x4b72c7)](), _0x45527e[_0x501408(0x2f3)]({
|
|
2282
|
+
'create_thread': _0x45527e['unknown']()[_0x501408(_0x2aec16._0x59e1d0)](),
|
|
2283
|
+
'create_task': _0x45527e['unknown']()[_0x501408(0x16b)]()
|
|
2284
|
+
}))[_0x501408(0x16b)](),
|
|
2285
|
+
'idempotency_key': _0x45527e[_0x501408(_0x2aec16._0x197c79)]()[_0x501408(0x16b)]()
|
|
2286
|
+
}, async _0x400674 => {
|
|
2287
|
+
const _0x454b36 = _0x501408;
|
|
2311
2288
|
try {
|
|
2312
|
-
return textResult(await
|
|
2313
|
-
} catch (
|
|
2314
|
-
return textResult(
|
|
2289
|
+
return textResult(await _0x5da8e3['claim_tasks'](_0x400674));
|
|
2290
|
+
} catch (_0x27758b) {
|
|
2291
|
+
return textResult(_0x27758b instanceof Error ? _0x27758b[_0x454b36(0x28a)] : 'claim_tasks\x20failed', !![]);
|
|
2315
2292
|
}
|
|
2316
|
-
}),
|
|
2317
|
-
'channel':
|
|
2318
|
-
'task_number':
|
|
2319
|
-
'subtask_number':
|
|
2320
|
-
'idempotency_key':
|
|
2321
|
-
}, async
|
|
2322
|
-
const
|
|
2293
|
+
}), _0x2751c2['tool']('unclaim_task', _0x501408(_0x2aec16._0x31efab), {
|
|
2294
|
+
'channel': _0x45527e[_0x501408(_0x2aec16._0x3da5b8)](),
|
|
2295
|
+
'task_number': _0x45527e[_0x501408(0x179)](),
|
|
2296
|
+
'subtask_number': _0x45527e[_0x501408(_0x2aec16._0x54bd4e)]()[_0x501408(_0x2aec16._0x59e1d0)](),
|
|
2297
|
+
'idempotency_key': _0x45527e[_0x501408(_0x2aec16._0xaf1b00)]()[_0x501408(0x16b)]()
|
|
2298
|
+
}, async _0x48189a => {
|
|
2299
|
+
const _0x5ce35b = _0x501408;
|
|
2323
2300
|
try {
|
|
2324
|
-
return textResult(await
|
|
2325
|
-
} catch (
|
|
2326
|
-
return textResult(
|
|
2301
|
+
return textResult(await _0x5da8e3[_0x5ce35b(0x2bb)](_0x48189a));
|
|
2302
|
+
} catch (_0x36abdd) {
|
|
2303
|
+
return textResult(_0x36abdd instanceof Error ? _0x36abdd[_0x5ce35b(0x28a)] : _0x5ce35b(_0xbbd5bc._0x292f1f), !![]);
|
|
2327
2304
|
}
|
|
2328
|
-
}),
|
|
2329
|
-
'channel':
|
|
2330
|
-
'task_number':
|
|
2331
|
-
'subtask_number':
|
|
2332
|
-
'status':
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2305
|
+
}), _0x2751c2[_0x501408(0x2f4)](_0x501408(_0x2aec16._0x126790), _0x501408(_0x2aec16._0x2875a7), {
|
|
2306
|
+
'channel': _0x45527e[_0x501408(0x2ad)](),
|
|
2307
|
+
'task_number': _0x45527e['number'](),
|
|
2308
|
+
'subtask_number': _0x45527e[_0x501408(_0x2aec16._0x54bd4e)]()['optional'](),
|
|
2309
|
+
'status': _0x45527e['enum']([
|
|
2310
|
+
_0x501408(0x1ee),
|
|
2311
|
+
_0x501408(0x1fa),
|
|
2312
|
+
_0x501408(_0x2aec16._0x4a35d6),
|
|
2313
|
+
_0x501408(0x225)
|
|
2337
2314
|
]),
|
|
2338
|
-
'idempotency_key':
|
|
2339
|
-
}, async
|
|
2340
|
-
const
|
|
2315
|
+
'idempotency_key': _0x45527e[_0x501408(_0x2aec16._0x197c79)]()['optional']()
|
|
2316
|
+
}, async _0x177475 => {
|
|
2317
|
+
const _0x324fa1 = _0x501408;
|
|
2341
2318
|
try {
|
|
2342
|
-
return textResult(await
|
|
2343
|
-
} catch (
|
|
2344
|
-
return textResult(
|
|
2319
|
+
return textResult(await _0x5da8e3['update_task_status'](_0x177475));
|
|
2320
|
+
} catch (_0x376431) {
|
|
2321
|
+
return textResult(_0x376431 instanceof Error ? _0x376431[_0x324fa1(0x28a)] : _0x324fa1(_0x1362bc._0x3e3be3), !![]);
|
|
2345
2322
|
}
|
|
2346
|
-
}),
|
|
2347
|
-
'channel':
|
|
2348
|
-
'file_path':
|
|
2349
|
-
}, async
|
|
2350
|
-
const
|
|
2323
|
+
}), _0x2751c2['tool'](_0x501408(_0x2aec16._0x246a59), _0x501408(_0x2aec16._0x502db7), {
|
|
2324
|
+
'channel': _0x45527e[_0x501408(_0x2aec16._0x4b72c7)](),
|
|
2325
|
+
'file_path': _0x45527e[_0x501408(0x2ad)]()
|
|
2326
|
+
}, async _0x2ecc7f => {
|
|
2327
|
+
const _0x5a519a = _0x501408;
|
|
2351
2328
|
try {
|
|
2352
|
-
return textResult(await
|
|
2353
|
-
} catch (
|
|
2354
|
-
return textResult(
|
|
2329
|
+
return textResult(await _0x5da8e3[_0x5a519a(0x165)](_0x2ecc7f));
|
|
2330
|
+
} catch (_0x3ff3b3) {
|
|
2331
|
+
return textResult(_0x3ff3b3 instanceof Error ? _0x3ff3b3[_0x5a519a(_0x4c8724._0x653483)] : 'upload_file\x20failed', !![]);
|
|
2355
2332
|
}
|
|
2356
|
-
}),
|
|
2357
|
-
const
|
|
2333
|
+
}), _0x2751c2['tool'](_0x501408(_0x2aec16._0x22357e), _0x501408(_0x2aec16._0x4f09c6), { 'attachment_id': _0x45527e[_0x501408(_0x2aec16._0x4b72c7)]() }, async _0x18d93a => {
|
|
2334
|
+
const _0x54c42a = _0x501408;
|
|
2358
2335
|
try {
|
|
2359
|
-
return textResult(await
|
|
2360
|
-
} catch (
|
|
2361
|
-
return textResult(
|
|
2336
|
+
return textResult(await _0x5da8e3[_0x54c42a(0x17f)](_0x18d93a));
|
|
2337
|
+
} catch (_0x4e0fa0) {
|
|
2338
|
+
return textResult(_0x4e0fa0 instanceof Error ? _0x4e0fa0[_0x54c42a(_0x4b38f2._0x41185d)] : _0x54c42a(_0x4b38f2._0x41837b), !![]);
|
|
2362
2339
|
}
|
|
2363
|
-
}),
|
|
2364
|
-
const
|
|
2340
|
+
}), _0x2751c2['tool']('get_worker_status', 'Check\x20the\x20current\x20status\x20of\x20a\x20spawned\x20worker\x20by\x20its\x20work\x20key.', { 'work_key': _0x45527e[_0x501408(_0x2aec16._0xaf1b00)]() }, async _0x3a01bc => {
|
|
2341
|
+
const _0x42d3b1 = _0x501408;
|
|
2365
2342
|
try {
|
|
2366
|
-
return textResult(await
|
|
2367
|
-
} catch (
|
|
2368
|
-
return textResult(
|
|
2343
|
+
return textResult(await _0x5da8e3[_0x42d3b1(_0x5d102b._0x74daf7)](_0x3a01bc));
|
|
2344
|
+
} catch (_0x40b99a) {
|
|
2345
|
+
return textResult(_0x40b99a instanceof Error ? _0x40b99a['message'] : 'get_worker_status\x20failed', !![]);
|
|
2369
2346
|
}
|
|
2370
|
-
}),
|
|
2371
|
-
const
|
|
2347
|
+
}), _0x2751c2[_0x501408(0x2f4)]('park_worker', _0x501408(_0x2aec16._0x6e82fd), { 'work_key': _0x45527e[_0x501408(0x2ad)]() }, async _0x4594e3 => {
|
|
2348
|
+
const _0x5ecded = _0x501408;
|
|
2372
2349
|
try {
|
|
2373
|
-
return textResult(await
|
|
2374
|
-
} catch (
|
|
2375
|
-
return textResult(
|
|
2350
|
+
return textResult(await _0x5da8e3[_0x5ecded(_0x3f7685._0x4744c5)](_0x4594e3));
|
|
2351
|
+
} catch (_0x55e88e) {
|
|
2352
|
+
return textResult(_0x55e88e instanceof Error ? _0x55e88e[_0x5ecded(0x28a)] : _0x5ecded(_0x3f7685._0x4275ab), !![]);
|
|
2376
2353
|
}
|
|
2377
|
-
}), !
|
|
2378
|
-
'work_key':
|
|
2379
|
-
'reason':
|
|
2380
|
-
}, async
|
|
2381
|
-
const
|
|
2354
|
+
}), !_0x53b0a0?.[_0x501408(0x25a)] && _0x2751c2['tool']('escalate_to_main', _0x501408(0x1e2), {
|
|
2355
|
+
'work_key': _0x45527e[_0x501408(0x2ad)](),
|
|
2356
|
+
'reason': _0x45527e[_0x501408(_0x2aec16._0x4b72c7)]()
|
|
2357
|
+
}, async _0x51c66e => {
|
|
2358
|
+
const _0x3ac0f3 = _0x501408;
|
|
2382
2359
|
try {
|
|
2383
|
-
return textResult(await
|
|
2384
|
-
} catch (
|
|
2385
|
-
return textResult(
|
|
2360
|
+
return textResult(await _0x5da8e3['escalate_to_main'](_0x51c66e));
|
|
2361
|
+
} catch (_0x2ce0d5) {
|
|
2362
|
+
return textResult(_0x2ce0d5 instanceof Error ? _0x2ce0d5[_0x3ac0f3(_0x32966e._0x40bd73)] : _0x3ac0f3(_0x32966e._0xf48d7e), !![]);
|
|
2386
2363
|
}
|
|
2387
|
-
}),
|
|
2388
|
-
const
|
|
2364
|
+
}), _0x53b0a0?.['workerMode'] && _0x2751c2[_0x501408(0x2f4)](_0x501408(_0x2aec16._0x193cea), _0x501408(0x1ac), { 'work_key': _0x45527e[_0x501408(0x2ad)]() }, async _0x5e306b => {
|
|
2365
|
+
const _0x171fcc = _0x501408;
|
|
2389
2366
|
try {
|
|
2390
|
-
return textResult(await
|
|
2391
|
-
} catch (
|
|
2392
|
-
return textResult(
|
|
2367
|
+
return textResult(await _0x5da8e3[_0x171fcc(_0xa59064._0x2320f6)](_0x5e306b));
|
|
2368
|
+
} catch (_0xe60255) {
|
|
2369
|
+
return textResult(_0xe60255 instanceof Error ? _0xe60255[_0x171fcc(0x28a)] : _0x171fcc(0x2af), !![]);
|
|
2393
2370
|
}
|
|
2394
2371
|
});
|
|
2395
2372
|
}
|
|
2396
|
-
async function createChatBridgeServer(
|
|
2397
|
-
const
|
|
2398
|
-
|
|
2373
|
+
async function createChatBridgeServer(_0x2fa160) {
|
|
2374
|
+
const _0x2d15bd = {
|
|
2375
|
+
_0x13910c: 0x230,
|
|
2376
|
+
_0x43f22c: 0x1f0,
|
|
2377
|
+
_0x101ff9: 0x25a
|
|
2378
|
+
}, _0xd2135b = _0x4cca3c, {McpServer: _0x29cffa} = await import(_0xd2135b(_0x2d15bd._0x13910c)), _0x451c5e = new _0x29cffa({
|
|
2379
|
+
'name': _0xd2135b(_0x2d15bd._0x43f22c),
|
|
2399
2380
|
'version': '0.0.0'
|
|
2400
|
-
}),
|
|
2401
|
-
return await registerChatBridgeTools(
|
|
2402
|
-
'handlers':
|
|
2403
|
-
'server':
|
|
2381
|
+
}), _0x4123f2 = createChatBridgeHandlers(_0x2fa160);
|
|
2382
|
+
return await registerChatBridgeTools(_0x451c5e, _0x4123f2, { 'workerMode': _0x2fa160[_0xd2135b(_0x2d15bd._0x101ff9)] }), {
|
|
2383
|
+
'handlers': _0x4123f2,
|
|
2384
|
+
'server': _0x451c5e
|
|
2404
2385
|
};
|
|
2405
2386
|
}
|
|
2406
|
-
function readFlag(
|
|
2407
|
-
const
|
|
2408
|
-
if (
|
|
2387
|
+
function readFlag(_0x263423, _0x1aace2) {
|
|
2388
|
+
const _0x98cb1 = { _0x44ccae: 0x245 }, _0x34d1c6 = _0x4cca3c, _0x13ba8b = _0x263423[_0x34d1c6(_0x98cb1._0x44ccae)](_0x1aace2);
|
|
2389
|
+
if (_0x13ba8b === -0x1)
|
|
2409
2390
|
return void 0x0;
|
|
2410
|
-
return
|
|
2391
|
+
return _0x263423[_0x13ba8b + 0x1];
|
|
2411
2392
|
}
|
|
2412
|
-
function parseChatBridgeArgs(
|
|
2413
|
-
const
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
}, _0x3d7814 = _0x38edd3, _0x2ca039 = readFlag(_0x52d681, _0x3d7814(_0x1c776a._0x2521b8)), _0x5d668d = readFlag(_0x52d681, '--attachment-cache-dir'), _0x1c1ee4 = readFlag(_0x52d681, _0x3d7814(_0x1c776a._0x104a53)), _0x458fff = readFlag(_0x52d681, _0x3d7814(_0x1c776a._0xec40bc)), _0x23d716 = readFlag(_0x52d681, _0x3d7814(0x22e)) ?? _0x3d7814(0x2ad), _0x5b4984 = readFlag(_0x52d681, _0x3d7814(_0x1c776a._0x591bb5)), _0x4a0132 = readFlag(_0x52d681, _0x3d7814(_0x1c776a._0x119d78)), _0x29e58e = readFlag(_0x52d681, _0x3d7814(_0x1c776a._0x2f9e9d)), _0x3d60c7 = readFlag(_0x52d681, _0x3d7814(_0x1c776a._0x4bc524)), _0xae56c6 = readFlag(_0x52d681, '--worker-thread-target'), _0x5da2ef = _0x52d681[_0x3d7814(_0x1c776a._0x39688f)](_0x3d7814(_0x1c776a._0x74d4f4)), _0x17f699 = _0x458fff === void 0x0 ? void 0x0 : Number[_0x3d7814(0x26f)](_0x458fff, 0xa);
|
|
2427
|
-
if (!_0x2ca039)
|
|
2428
|
-
throw new Error(_0x3d7814(_0x1c776a._0x5c872b));
|
|
2429
|
-
if (!_0x1c1ee4)
|
|
2430
|
-
throw new Error(_0x3d7814(_0x1c776a._0x5e88d8));
|
|
2431
|
-
if (_0x458fff !== void 0x0 && (_0x17f699 === void 0x0 || !Number[_0x3d7814(0x309)](_0x17f699) || _0x17f699 < 0x0))
|
|
2432
|
-
throw new Error(_0x3d7814(_0x1c776a._0x56c452));
|
|
2393
|
+
function parseChatBridgeArgs(_0x219961) {
|
|
2394
|
+
const _0x2b7994 = {
|
|
2395
|
+
_0x30c9a0: 0x1a3,
|
|
2396
|
+
_0x30c4fe: 0x1ed,
|
|
2397
|
+
_0xc4f19a: 0x239,
|
|
2398
|
+
_0x212663: 0x1cd,
|
|
2399
|
+
_0xac6ec3: 0x279
|
|
2400
|
+
}, _0x354209 = _0x4cca3c, _0x1156fe = readFlag(_0x219961, _0x354209(0x29d)), _0x411cef = readFlag(_0x219961, _0x354209(0x20d)), _0x30c8dc = readFlag(_0x219961, _0x354209(0x1d0)), _0x400c9c = readFlag(_0x219961, _0x354209(_0x2b7994._0x30c9a0)), _0x12b50a = readFlag(_0x219961, _0x354209(_0x2b7994._0x30c4fe)) ?? 'http://localhost:8121', _0x3b5595 = readFlag(_0x219961, '--daemon-local-url'), _0x289687 = readFlag(_0x219961, _0x354209(0x233)), _0x4489c9 = readFlag(_0x219961, _0x354209(_0x2b7994._0xc4f19a)), _0x5c1771 = readFlag(_0x219961, '--worker-session-id'), _0x3915a8 = readFlag(_0x219961, _0x354209(0x23a)), _0x589b7f = _0x219961['includes']('--worker-mode'), _0x5587b8 = _0x400c9c === void 0x0 ? void 0x0 : Number[_0x354209(0x194)](_0x400c9c, 0xa);
|
|
2401
|
+
if (!_0x1156fe)
|
|
2402
|
+
throw new Error(_0x354209(_0x2b7994._0x212663));
|
|
2403
|
+
if (!_0x30c8dc)
|
|
2404
|
+
throw new Error(_0x354209(_0x2b7994._0xac6ec3));
|
|
2405
|
+
if (_0x400c9c !== void 0x0 && (_0x5587b8 === void 0x0 || !Number[_0x354209(0x2ec)](_0x5587b8) || _0x5587b8 < 0x0))
|
|
2406
|
+
throw new Error(_0x354209(0x244));
|
|
2433
2407
|
return {
|
|
2434
|
-
'agentId':
|
|
2435
|
-
'attachmentCacheDir':
|
|
2436
|
-
'daemonApiKey':
|
|
2437
|
-
'daemonLocalUrl':
|
|
2438
|
-
'initialLastSeenSeq':
|
|
2439
|
-
'sessionId':
|
|
2440
|
-
'serverUrl':
|
|
2441
|
-
'workerModeEnabled':
|
|
2442
|
-
'workerSessionId':
|
|
2443
|
-
'workerThreadTarget':
|
|
2444
|
-
'workerMode':
|
|
2408
|
+
'agentId': _0x1156fe,
|
|
2409
|
+
'attachmentCacheDir': _0x411cef,
|
|
2410
|
+
'daemonApiKey': _0x30c8dc,
|
|
2411
|
+
'daemonLocalUrl': _0x3b5595,
|
|
2412
|
+
'initialLastSeenSeq': _0x5587b8,
|
|
2413
|
+
'sessionId': _0x289687,
|
|
2414
|
+
'serverUrl': _0x12b50a,
|
|
2415
|
+
'workerModeEnabled': _0x4489c9 === void 0x0 ? void 0x0 : _0x4489c9 !== _0x354209(0x2aa),
|
|
2416
|
+
'workerSessionId': _0x5c1771,
|
|
2417
|
+
'workerThreadTarget': _0x3915a8,
|
|
2418
|
+
'workerMode': _0x589b7f
|
|
2445
2419
|
};
|
|
2446
2420
|
}
|
|
2447
|
-
async function runChatBridgeCli(
|
|
2448
|
-
const
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
'
|
|
2421
|
+
async function runChatBridgeCli(_0x5d4c42) {
|
|
2422
|
+
const _0xb2dc1c = {
|
|
2423
|
+
_0x58f2af: 0x217,
|
|
2424
|
+
_0x29d413: 0x268
|
|
2425
|
+
}, _0x2700d8 = _0x4cca3c, _0x147b2d = parseChatBridgeArgs(_0x5d4c42), {StdioServerTransport: _0x518b7d} = await import('@modelcontextprotocol/sdk/server/stdio.js'), _0x28ff0b = createInternalAgentClient(_0x147b2d), _0xc9775a = createAttachmentCache({ 'cacheDir': _0x147b2d['attachmentCacheDir'] }), _0x36fc11 = await createChatBridgeServer({
|
|
2426
|
+
'agentId': _0x147b2d[_0x2700d8(0x241)],
|
|
2427
|
+
'attachmentCache': _0xc9775a,
|
|
2428
|
+
'client': _0x28ff0b,
|
|
2429
|
+
'daemonLocalUrl': _0x147b2d[_0x2700d8(_0xb2dc1c._0x58f2af)],
|
|
2453
2430
|
'uploadPreparer': prepareUploadFile,
|
|
2454
|
-
'workerModeEnabled':
|
|
2455
|
-
'workerMode':
|
|
2456
|
-
'workerThreadTarget':
|
|
2431
|
+
'workerModeEnabled': _0x147b2d[_0x2700d8(0x2b7)],
|
|
2432
|
+
'workerMode': _0x147b2d[_0x2700d8(0x25a)],
|
|
2433
|
+
'workerThreadTarget': _0x147b2d['workerThreadTarget']
|
|
2457
2434
|
});
|
|
2458
|
-
await
|
|
2435
|
+
await _0x36fc11['server'][_0x2700d8(_0xb2dc1c._0x29d413)](new _0x518b7d());
|
|
2459
2436
|
}
|
|
2460
|
-
var executedAsEntry = process[
|
|
2461
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2437
|
+
var executedAsEntry = process[_0x4cca3c(0x206)][0x1] ? import.meta.url === pathToFileURL(process[_0x4cca3c(0x206)][0x1])[_0x4cca3c(0x263)] : ![];
|
|
2438
|
+
executedAsEntry && await runChatBridgeCli(process[_0x4cca3c(0x206)]['slice'](0x2));
|
|
2462
2439
|
export {
|
|
2463
2440
|
createChatBridgeHandlers,
|
|
2464
2441
|
createChatBridgeServer,
|