@dscord/daemon 0.1.36 → 0.1.37
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 +2003 -1978
- package/dist/index.js +10378 -10427
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,2335 +1,2360 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
_0x3b2f59: 0x19b,
|
|
9
|
-
_0x15cdff: 0x1ef,
|
|
10
|
-
_0x26b860: 0x2e4
|
|
11
|
-
}, _0x2c57e1 = _0x59d3, _0x59738 = _0x19c110();
|
|
1
|
+
const _0x404ee2 = _0x5d14;
|
|
2
|
+
(function (_0x267f5d, _0x55c83e) {
|
|
3
|
+
const _0x5b548b = {
|
|
4
|
+
_0x111c7d: 0x23e,
|
|
5
|
+
_0xbdd3bf: 0x14f,
|
|
6
|
+
_0x1e7b4a: 0x24a
|
|
7
|
+
}, _0x21aee4 = _0x5d14, _0x1238d6 = _0x267f5d();
|
|
12
8
|
while (!![]) {
|
|
13
9
|
try {
|
|
14
|
-
const
|
|
15
|
-
if (
|
|
10
|
+
const _0x1a5117 = parseInt(_0x21aee4(0x296)) / 0x1 * (parseInt(_0x21aee4(0x16f)) / 0x2) + parseInt(_0x21aee4(0x2b7)) / 0x3 + -parseInt(_0x21aee4(0x2a1)) / 0x4 * (-parseInt(_0x21aee4(0x206)) / 0x5) + -parseInt(_0x21aee4(0x24d)) / 0x6 * (-parseInt(_0x21aee4(0x1d8)) / 0x7) + parseInt(_0x21aee4(0x2aa)) / 0x8 * (-parseInt(_0x21aee4(0x1b8)) / 0x9) + -parseInt(_0x21aee4(_0x5b548b._0x111c7d)) / 0xa * (parseInt(_0x21aee4(0x19f)) / 0xb) + -parseInt(_0x21aee4(_0x5b548b._0xbdd3bf)) / 0xc * (parseInt(_0x21aee4(_0x5b548b._0x1e7b4a)) / 0xd);
|
|
11
|
+
if (_0x1a5117 === _0x55c83e)
|
|
16
12
|
break;
|
|
17
13
|
else
|
|
18
|
-
|
|
19
|
-
} catch (
|
|
20
|
-
|
|
14
|
+
_0x1238d6['push'](_0x1238d6['shift']());
|
|
15
|
+
} catch (_0x506fc2) {
|
|
16
|
+
_0x1238d6['push'](_0x1238d6['shift']());
|
|
21
17
|
}
|
|
22
18
|
}
|
|
23
|
-
}(
|
|
19
|
+
}(_0x2d0d, 0x4aaa3));
|
|
24
20
|
import { pathToFileURL } from 'node:url';
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'
|
|
60
|
-
'.json': _0x566b69(0x197),
|
|
61
|
-
'.md': _0x566b69(0x177),
|
|
62
|
-
'.pdf': _0x566b69(0x29f),
|
|
63
|
-
'.png': _0x566b69(0x261),
|
|
64
|
-
'.svg': _0x566b69(0x214),
|
|
65
|
-
'.txt': 'text/plain',
|
|
66
|
-
'.webp': _0x566b69(0x1a2),
|
|
67
|
-
'.xml': _0x566b69(0x2ac),
|
|
68
|
-
'.zip': _0x566b69(0x25c)
|
|
69
|
-
};
|
|
70
|
-
function guessContentType(_0x253c99) {
|
|
71
|
-
const _0x40131f = {
|
|
72
|
-
_0x52c46a: 0x172,
|
|
73
|
-
_0x3bdbcf: 0x1de
|
|
74
|
-
}, _0x1ec037 = _0x566b69;
|
|
75
|
-
return MIME_BY_EXTENSION[_0x334407[_0x1ec037(_0x40131f._0x52c46a)](_0x253c99)[_0x1ec037(_0x40131f._0x3bdbcf)]()] ?? _0x1ec037(0x1df);
|
|
76
|
-
}
|
|
77
|
-
function safeFilename(_0x5a216c) {
|
|
78
|
-
const _0x1a3b7e = _0x566b69;
|
|
79
|
-
return _0x5a216c[_0x1a3b7e(0x1a4)](/[\\/]/g, '-');
|
|
80
|
-
}
|
|
81
|
-
function extensionFor(_0x4657ac) {
|
|
82
|
-
const _0x45a2f9 = { _0x49893a: 0x18b }, _0x1bbdf3 = _0x566b69, _0xaaa056 = Object[_0x1bbdf3(_0x45a2f9._0x49893a)](MIME_BY_EXTENSION)[_0x1bbdf3(0x1ee)](([, _0xe18300]) => _0xe18300 === _0x4657ac);
|
|
83
|
-
return _0xaaa056?.[0x0] ?? '.bin';
|
|
84
|
-
}
|
|
85
|
-
async function prepareUploadFile(_0x48b1d6, _0x14ef3e = {}) {
|
|
86
|
-
const _0x1edf92 = {
|
|
87
|
-
_0x3bbc41: 0x268,
|
|
88
|
-
_0x3a0a98: 0x1f6,
|
|
89
|
-
_0x4765ad: 0x2cb,
|
|
90
|
-
_0x4cd3f7: 0x2d1
|
|
91
|
-
}, _0x11a7c0 = _0x566b69;
|
|
92
|
-
if (!_0x334407['isAbsolute'](_0x48b1d6))
|
|
93
|
-
throw new Error(_0x11a7c0(0x285));
|
|
94
|
-
const _0x24de88 = await stat(_0x48b1d6)['catch'](() => null);
|
|
95
|
-
if (!_0x24de88 || !_0x24de88[_0x11a7c0(0x193)]())
|
|
96
|
-
throw new Error(_0x11a7c0(0x24c) + _0x48b1d6);
|
|
97
|
-
const _0x2c8f1d = _0x14ef3e['maxFileSizeBytes'] ?? DEFAULT_MAX_FILE_SIZE;
|
|
98
|
-
if (_0x24de88[_0x11a7c0(0x2d1)] > _0x2c8f1d)
|
|
99
|
-
throw new Error(_0x11a7c0(_0x1edf92._0x3bbc41) + _0x24de88[_0x11a7c0(0x2d1)]);
|
|
100
|
-
const _0xae65c8 = await readFile(_0x48b1d6), _0x5b4597 = _0x334407['basename'](_0x48b1d6);
|
|
101
|
-
return {
|
|
102
|
-
'contentBase64': _0xae65c8[_0x11a7c0(_0x1edf92._0x3a0a98)](_0x11a7c0(_0x1edf92._0x4765ad)),
|
|
103
|
-
'contentType': guessContentType(_0x5b4597),
|
|
104
|
-
'filename': _0x5b4597,
|
|
105
|
-
'sizeBytes': _0x24de88[_0x11a7c0(_0x1edf92._0x4cd3f7)]
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
function createAttachmentCache(_0x3dfad5 = {}) {
|
|
109
|
-
const _0x23805a = {
|
|
110
|
-
_0x45e3b8: 0x1f5,
|
|
111
|
-
_0x49f353: 0x1d4
|
|
112
|
-
}, _0x148640 = {
|
|
113
|
-
_0x2cc327: 0x220,
|
|
114
|
-
_0x4a484f: 0x1d4
|
|
115
|
-
}, _0x52e228 = { _0x190adc: 0x1d4 }, _0x4cc958 = _0x566b69, _0x21d479 = _0x3dfad5[_0x4cc958(_0x23805a._0x45e3b8)] ?? _0x334407[_0x4cc958(_0x23805a._0x49f353)](homedir(), _0x4cc958(0x237), 'attachments');
|
|
116
|
-
return {
|
|
117
|
-
'cacheDir': _0x21d479,
|
|
118
|
-
async 'findCachedPath'(_0x16b251) {
|
|
119
|
-
const _0x3c87f7 = _0x4cc958;
|
|
120
|
-
await mkdir(_0x21d479, { 'recursive': !![] });
|
|
121
|
-
const _0x1718d8 = await readdir(_0x21d479), _0x22f78d = _0x1718d8['find'](_0x2b2417 => _0x2b2417['startsWith'](_0x16b251 + '-') || _0x2b2417[_0x3c87f7(0x286)](_0x16b251));
|
|
122
|
-
return _0x22f78d ? _0x334407[_0x3c87f7(_0x52e228._0x190adc)](_0x21d479, _0x22f78d) : null;
|
|
123
|
-
},
|
|
124
|
-
async 'save'(_0x267264) {
|
|
125
|
-
const _0x4d3e2b = _0x4cc958;
|
|
126
|
-
await mkdir(_0x21d479, { 'recursive': !![] });
|
|
127
|
-
const _0x337f47 = _0x267264[_0x4d3e2b(0x220)]?.[_0x4d3e2b(0x1b4)]() ? safeFilename(_0x267264[_0x4d3e2b(_0x148640._0x2cc327)]) : '' + _0x267264[_0x4d3e2b(0x2a2)] + extensionFor(_0x267264['contentType']), _0x527e91 = _0x334407[_0x4d3e2b(_0x148640._0x4a484f)](_0x21d479, _0x267264[_0x4d3e2b(0x2a2)] + '-' + _0x337f47);
|
|
128
|
-
return await writeFile(_0x527e91, _0x267264[_0x4d3e2b(0x1fe)]), _0x527e91;
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
import {
|
|
133
|
-
createHash,
|
|
134
|
-
randomUUID
|
|
135
|
-
} from 'node:crypto';
|
|
136
|
-
var UNSUPPORTED_TARGET_MESSAGE = _0x566b69(0x1a8);
|
|
137
|
-
function ensureSegment(_0x5e5944) {
|
|
138
|
-
const _0x47cac8 = _0x566b69, _0x4bce8c = _0x5e5944['trim']();
|
|
139
|
-
if (!_0x4bce8c || _0x4bce8c[_0x47cac8(0x25f)](':'))
|
|
140
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
141
|
-
return _0x4bce8c;
|
|
142
|
-
}
|
|
143
|
-
function parseThreadParts(_0xf9e216) {
|
|
144
|
-
const _0x254b79 = { _0x29e232: 0x2df }, _0x551fdc = _0x566b69, _0x29c888 = _0xf9e216[_0x551fdc(_0x254b79._0x29e232)](':');
|
|
145
|
-
if (_0x29c888['length'] < 0x1 || _0x29c888[_0x551fdc(0x1ba)] > 0x2)
|
|
146
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
147
|
-
return {
|
|
148
|
-
'channelName': ensureSegment(_0x29c888[0x0] ?? ''),
|
|
149
|
-
'threadShortId': _0x29c888[0x1] ? ensureSegment(_0x29c888[0x1]) : null
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
function parseTarget(_0x4cf734) {
|
|
153
|
-
const _0x6547b9 = {
|
|
154
|
-
_0x84693b: 0x278,
|
|
155
|
-
_0x35e8ff: 0x262,
|
|
156
|
-
_0x3b858b: 0x2a0,
|
|
157
|
-
_0x277ff7: 0x180,
|
|
158
|
-
_0x5413ec: 0x286,
|
|
159
|
-
_0xec0476: 0x278,
|
|
160
|
-
_0x349165: 0x1c1,
|
|
161
|
-
_0xaa849c: 0x180,
|
|
162
|
-
_0x2d3ab7: 0x1b0,
|
|
163
|
-
_0x29c504: 0x262,
|
|
164
|
-
_0x498952: 0x2a0
|
|
165
|
-
}, _0x52bdf1 = _0x566b69, _0x2325b9 = _0x4cf734[_0x52bdf1(0x1b4)]();
|
|
166
|
-
if (!_0x2325b9)
|
|
167
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
168
|
-
if (_0x2325b9[_0x52bdf1(0x286)]('#')) {
|
|
169
|
-
const _0x377c87 = parseThreadParts(_0x2325b9[_0x52bdf1(_0x6547b9._0x84693b)](0x1)), _0x310b10 = '#' + _0x377c87['channelName'];
|
|
170
|
-
if (!_0x377c87['threadShortId'])
|
|
171
|
-
return {
|
|
172
|
-
'channelName': _0x377c87[_0x52bdf1(_0x6547b9._0x35e8ff)],
|
|
173
|
-
'channelTarget': _0x310b10,
|
|
174
|
-
'kind': _0x52bdf1(0x1b0),
|
|
175
|
-
'target': _0x310b10
|
|
176
|
-
};
|
|
177
|
-
return {
|
|
178
|
-
'channelName': _0x377c87['channelName'],
|
|
179
|
-
'channelTarget': _0x310b10,
|
|
180
|
-
'kind': _0x52bdf1(_0x6547b9._0x3b858b),
|
|
181
|
-
'target': _0x310b10 + ':' + _0x377c87[_0x52bdf1(_0x6547b9._0x277ff7)],
|
|
182
|
-
'threadShortId': _0x377c87[_0x52bdf1(_0x6547b9._0x277ff7)]
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
if (_0x2325b9[_0x52bdf1(_0x6547b9._0x5413ec)](_0x52bdf1(0x21d))) {
|
|
186
|
-
const _0x50a4db = parseThreadParts(_0x2325b9[_0x52bdf1(_0x6547b9._0xec0476)](0x3));
|
|
187
|
-
if (!_0x50a4db[_0x52bdf1(0x262)][_0x52bdf1(0x286)](_0x52bdf1(_0x6547b9._0x349165)))
|
|
188
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
189
|
-
const _0x3e0431 = 'dm:' + _0x50a4db[_0x52bdf1(0x262)];
|
|
190
|
-
if (!_0x50a4db[_0x52bdf1(_0x6547b9._0xaa849c)])
|
|
191
|
-
return {
|
|
192
|
-
'channelName': _0x50a4db[_0x52bdf1(0x262)],
|
|
193
|
-
'channelTarget': _0x3e0431,
|
|
194
|
-
'kind': _0x52bdf1(_0x6547b9._0x2d3ab7),
|
|
195
|
-
'target': _0x3e0431
|
|
196
|
-
};
|
|
197
|
-
return {
|
|
198
|
-
'channelName': _0x50a4db[_0x52bdf1(_0x6547b9._0x29c504)],
|
|
199
|
-
'channelTarget': _0x3e0431,
|
|
200
|
-
'kind': _0x52bdf1(_0x6547b9._0x498952),
|
|
201
|
-
'target': _0x3e0431 + ':' + _0x50a4db[_0x52bdf1(0x180)],
|
|
202
|
-
'threadShortId': _0x50a4db[_0x52bdf1(0x180)]
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
206
|
-
}
|
|
207
|
-
function asErrorMessage(_0x5a83aa, _0x3a7bd1) {
|
|
208
|
-
const _0x269aa8 = { _0xd0e964: 0x230 }, _0x4b804b = _0x566b69;
|
|
209
|
-
if (typeof _0x5a83aa === _0x4b804b(_0x269aa8._0xd0e964) && _0x5a83aa[_0x4b804b(0x1b4)]())
|
|
210
|
-
return _0x5a83aa;
|
|
211
|
-
return _0x3a7bd1;
|
|
212
|
-
}
|
|
213
|
-
function asRecord(_0x237075) {
|
|
214
|
-
return typeof _0x237075 === 'object' && _0x237075 !== null ? _0x237075 : {};
|
|
215
|
-
}
|
|
216
|
-
function stableStringify(_0x2d85dc) {
|
|
217
|
-
const _0x314cec = {
|
|
218
|
-
_0x5d2d64: 0x206,
|
|
219
|
-
_0x42fc4c: 0x29b,
|
|
220
|
-
_0x276981: 0x29b
|
|
221
|
-
}, _0x4d1d69 = _0x566b69;
|
|
222
|
-
if (_0x2d85dc === null || typeof _0x2d85dc !== _0x4d1d69(0x23b))
|
|
223
|
-
return JSON[_0x4d1d69(_0x314cec._0x5d2d64)](_0x2d85dc);
|
|
224
|
-
if (Array['isArray'](_0x2d85dc))
|
|
225
|
-
return '[' + _0x2d85dc[_0x4d1d69(_0x314cec._0x42fc4c)](_0x4b376c => stableStringify(_0x4b376c))[_0x4d1d69(0x1d4)](',') + ']';
|
|
226
|
-
const _0x1fabc2 = Object[_0x4d1d69(0x18b)](_0x2d85dc)[_0x4d1d69(0x277)](([, _0x4f2e19]) => _0x4f2e19 !== void 0x0)[_0x4d1d69(0x2b2)](([_0x4dfcb9], [_0x2ce062]) => _0x4dfcb9[_0x4d1d69(0x170)](_0x2ce062))[_0x4d1d69(_0x314cec._0x276981)](([_0x486951, _0x36fa6d]) => JSON[_0x4d1d69(0x206)](_0x486951) + ':' + stableStringify(_0x36fa6d));
|
|
227
|
-
return '{' + _0x1fabc2[_0x4d1d69(0x1d4)](',') + '}';
|
|
228
|
-
}
|
|
229
|
-
function createHeaders(_0x5b43e5) {
|
|
230
|
-
return {
|
|
231
|
-
'Content-Type': 'application/json',
|
|
232
|
-
'x-daemon-api-key': _0x5b43e5
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
function toHttpBaseUrl(_0x59931c) {
|
|
236
|
-
const _0x55b198 = {
|
|
237
|
-
_0x31a350: 0x1b8,
|
|
238
|
-
_0x50ab1b: 0x1b8,
|
|
239
|
-
_0x22181a: 0x19c
|
|
240
|
-
}, _0x4c7518 = _0x566b69, _0x2fdb85 = new URL(_0x59931c);
|
|
241
|
-
if (_0x2fdb85[_0x4c7518(_0x55b198._0x31a350)] === _0x4c7518(0x233))
|
|
242
|
-
_0x2fdb85[_0x4c7518(_0x55b198._0x50ab1b)] = _0x4c7518(_0x55b198._0x22181a);
|
|
243
|
-
else
|
|
244
|
-
_0x2fdb85[_0x4c7518(0x1b8)] === _0x4c7518(0x196) && (_0x2fdb85['protocol'] = _0x4c7518(0x238));
|
|
245
|
-
return _0x2fdb85[_0x4c7518(0x1f6)]()[_0x4c7518(0x1a4)](/\/$/, '');
|
|
246
|
-
}
|
|
247
|
-
function isMentionBoundary(_0x2702a7) {
|
|
248
|
-
return !_0x2702a7 || /\s|[([{'",。!?、:;]/['test'](_0x2702a7);
|
|
249
|
-
}
|
|
250
|
-
function isMentionTerminal(_0x195de3) {
|
|
251
|
-
const _0xd382a5 = { _0x194b0e: 0x29a }, _0xf13141 = _0x566b69;
|
|
252
|
-
return !_0x195de3 || /\s|[)\]}'",。!?、:;,.!?]/[_0xf13141(_0xd382a5._0x194b0e)](_0x195de3);
|
|
253
|
-
}
|
|
254
|
-
function buildMatchableEntries(_0x350f07) {
|
|
255
|
-
const _0x55165a = {
|
|
256
|
-
_0x4bb8b8: 0x201,
|
|
257
|
-
_0x24cd7b: 0x21a,
|
|
258
|
-
_0x377835: 0x289,
|
|
259
|
-
_0x5b8c53: 0x289,
|
|
260
|
-
_0x293a2e: 0x27a
|
|
261
|
-
}, _0x16a3a3 = _0x566b69, _0x3f7ba4 = [];
|
|
262
|
-
for (const _0x11c1b6 of [
|
|
263
|
-
..._0x350f07[_0x16a3a3(_0x55165a._0x4bb8b8)],
|
|
264
|
-
..._0x350f07[_0x16a3a3(_0x55165a._0x24cd7b)]
|
|
265
|
-
]) {
|
|
266
|
-
_0x3f7ba4[_0x16a3a3(_0x55165a._0x377835)]({
|
|
267
|
-
'matchName': _0x11c1b6[_0x16a3a3(0x22d)],
|
|
268
|
-
'matchNameLower': _0x11c1b6[_0x16a3a3(0x22d)][_0x16a3a3(0x27a)](),
|
|
269
|
-
'participantId': _0x11c1b6['id']
|
|
270
|
-
}), _0x11c1b6['id'] !== _0x11c1b6[_0x16a3a3(0x22d)] && _0x3f7ba4[_0x16a3a3(_0x55165a._0x5b8c53)]({
|
|
271
|
-
'matchName': _0x11c1b6['id'],
|
|
272
|
-
'matchNameLower': _0x11c1b6['id'][_0x16a3a3(_0x55165a._0x293a2e)](),
|
|
273
|
-
'participantId': _0x11c1b6['id']
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
return _0x3f7ba4;
|
|
277
|
-
}
|
|
278
|
-
function extractMentionedParticipantIds(_0x21d7ae, _0x1c9d90) {
|
|
279
|
-
const _0x29dd4a = {
|
|
280
|
-
_0x5405d5: 0x1ba,
|
|
281
|
-
_0x51ea4a: 0x1f9
|
|
282
|
-
}, _0x301793 = {
|
|
283
|
-
_0x4037cd: 0x286,
|
|
284
|
-
_0x2d248d: 0x1f9,
|
|
285
|
-
_0x22359c: 0x1ba
|
|
286
|
-
}, _0x302b31 = _0x566b69, _0x16402b = buildMatchableEntries(_0x1c9d90)[_0x302b31(0x2b2)]((_0x301357, _0x8197bc) => _0x8197bc[_0x302b31(0x1f9)]['length'] - _0x301357[_0x302b31(0x1f9)]['length']), _0x5ca2b9 = [], _0x170c96 = new Set();
|
|
287
|
-
for (let _0x1e2deb = 0x0; _0x1e2deb < _0x21d7ae[_0x302b31(_0x29dd4a._0x5405d5)]; _0x1e2deb += 0x1) {
|
|
288
|
-
if (_0x21d7ae[_0x1e2deb] !== '@' || !isMentionBoundary(_0x21d7ae[_0x1e2deb - 0x1]))
|
|
289
|
-
continue;
|
|
290
|
-
const _0x2f6476 = _0x21d7ae['slice'](_0x1e2deb + 0x1), _0x2c4a33 = _0x2f6476[_0x302b31(0x27a)](), _0x27f012 = _0x16402b[_0x302b31(0x1ee)](_0x3ad153 => {
|
|
291
|
-
const _0x4b1198 = _0x302b31;
|
|
292
|
-
if (!_0x2c4a33[_0x4b1198(_0x301793._0x4037cd)](_0x3ad153[_0x4b1198(0x2fb)]))
|
|
293
|
-
return ![];
|
|
294
|
-
return isMentionTerminal(_0x2f6476[_0x3ad153[_0x4b1198(_0x301793._0x2d248d)][_0x4b1198(_0x301793._0x22359c)]]);
|
|
295
|
-
});
|
|
296
|
-
if (!_0x27f012 || _0x170c96[_0x302b31(0x2bd)](_0x27f012['participantId']))
|
|
297
|
-
continue;
|
|
298
|
-
_0x170c96['add'](_0x27f012[_0x302b31(0x2a5)]), _0x5ca2b9['push'](_0x27f012['participantId']), _0x1e2deb += _0x27f012[_0x302b31(_0x29dd4a._0x51ea4a)][_0x302b31(_0x29dd4a._0x5405d5)];
|
|
299
|
-
}
|
|
300
|
-
return _0x5ca2b9;
|
|
301
|
-
}
|
|
302
|
-
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
303
|
-
function _0xbf9a() {
|
|
304
|
-
const _0x3b4d98 = [
|
|
305
|
-
'DgfYz2v0zwruyxnR',
|
|
306
|
-
'CMvHzeHPC3rVCNK',
|
|
21
|
+
function _0x2d0d() {
|
|
22
|
+
const _0x24037e = [
|
|
23
|
+
'igf0DgfJAg1LBNq',
|
|
24
|
+
'AgfZ',
|
|
25
|
+
'yxr0ywnOBwvUDeLK',
|
|
26
|
+
'nti5nJi2Cwn1zNv5',
|
|
27
|
+
'zw51Bq',
|
|
28
|
+
'zxH0BMfTzq',
|
|
29
|
+
'vgfZAZOG',
|
|
30
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
31
|
+
'DMLZAwjPBgL0Eq',
|
|
32
|
+
'zMfSC2u',
|
|
33
|
+
'Dw5RBM93BG',
|
|
34
|
+
'Ahr0CdO',
|
|
35
|
+
'kg5VBMuP',
|
|
36
|
+
'C2vYDMvYtMfTzq',
|
|
37
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
38
|
+
'C3rVCe1HAw4',
|
|
39
|
+
'z2v0x3DVCMTLCL9Yzxn1BhqGzMfPBgvK',
|
|
40
|
+
'y2HHDa',
|
|
41
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
42
|
+
'BwLU',
|
|
43
|
+
'B3bLBL9PC3n1zxm',
|
|
44
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
45
|
+
'iYmJienOyw5UzwXZ',
|
|
46
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
47
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
48
|
+
'DgfZA3m',
|
|
49
|
+
'DxbKyxrL',
|
|
50
|
+
'y29UDgvUDejHC2u2na',
|
|
51
|
+
'AxnbyNnVBhv0zq',
|
|
52
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
53
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
54
|
+
'iYmJieH1BwfUCW',
|
|
55
|
+
'Bg93',
|
|
307
56
|
'rMLSzsbUB3qGzM91BMq6ia',
|
|
308
|
-
'
|
|
309
|
-
'
|
|
57
|
+
'l3jLy2vPDMu',
|
|
58
|
+
'DMfSDwvZ',
|
|
59
|
+
'BwvTyMvYCW',
|
|
60
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
61
|
+
'ChvZAa',
|
|
62
|
+
'AM9PBG',
|
|
63
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
64
|
+
'ywz0zxi',
|
|
65
|
+
'zgvZDhjVEwvK',
|
|
66
|
+
'z2v0rNvSBfLLyxi',
|
|
67
|
+
'B3b0Aw9UywW',
|
|
68
|
+
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
69
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
70
|
+
'mZyWuhDbzLnw',
|
|
71
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
72
|
+
'yxjYyxLcDwzMzxi',
|
|
310
73
|
'C3rHCNrLza',
|
|
311
|
-
'
|
|
312
|
-
'
|
|
313
|
-
'
|
|
314
|
-
'
|
|
315
|
-
'
|
|
316
|
-
'
|
|
317
|
-
'
|
|
318
|
-
'
|
|
319
|
-
'DgfZA051BwjLCG',
|
|
320
|
-
'vgHYzwfKihrHCMDLDdOG',
|
|
74
|
+
'DgHYzwfKtNvTyMvY',
|
|
75
|
+
'DgHYzwfKu2HVCNrjza',
|
|
76
|
+
'zgLZCg9ZAxrPB24',
|
|
77
|
+
'ls1Hz2vUDc1Pza',
|
|
78
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
79
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
80
|
+
'ywz0zxjtzxe',
|
|
81
|
+
'BMv4Den1CNnVCG',
|
|
321
82
|
'w3rHCMDLDd0',
|
|
322
|
-
'
|
|
323
|
-
'
|
|
324
|
-
'
|
|
325
|
-
'
|
|
326
|
-
'
|
|
327
|
-
'
|
|
328
|
-
'Aw1Hz2uVCg5N',
|
|
329
|
-
'y2HHBM5LBe5HBwu',
|
|
330
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
331
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
332
|
-
'y29UDgvUDejHC2u2na',
|
|
333
|
-
'y29UDgvUDfr5Cgu',
|
|
334
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
335
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
336
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
337
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
338
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
339
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
340
|
-
'ywDLBNq',
|
|
341
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
342
|
-
'zgLNzxn0',
|
|
343
|
-
'ywDNCMvNyxrLswrZ',
|
|
344
|
-
'igzHAwXLzdOG',
|
|
345
|
-
'zgvZDhjVEwvK',
|
|
346
|
-
'CMvHC29U',
|
|
347
|
-
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
348
|
-
'lsaJ',
|
|
83
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
84
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
85
|
+
'Dg9mB3DLCKnHC2u',
|
|
86
|
+
'zMLSzxnFy2HHBMDLza',
|
|
87
|
+
'ywrK',
|
|
88
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
349
89
|
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
350
|
-
'
|
|
351
|
-
'
|
|
352
|
-
'
|
|
90
|
+
'z2v0sg91CNm',
|
|
91
|
+
'CMvZDwX0sNnVBG',
|
|
92
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
93
|
+
'C3bSAxq',
|
|
94
|
+
'C2vZC2LVBKLK',
|
|
95
|
+
'lsba',
|
|
96
|
+
'zMfPBgvK',
|
|
97
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
98
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
353
99
|
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
354
|
-
'
|
|
100
|
+
'CNvUswq',
|
|
101
|
+
'BgLZDfrHC2TZ',
|
|
102
|
+
'mLnSCLjesG',
|
|
103
|
+
'Dg9gAxHLza',
|
|
104
|
+
'v29YA2vYici',
|
|
355
105
|
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
356
|
-
'
|
|
357
|
-
'
|
|
358
|
-
'ig1LC3nHz2u9',
|
|
106
|
+
'C2nOzwr1BgvKrM9Y',
|
|
107
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
359
108
|
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
360
|
-
'
|
|
361
|
-
'D29YA2vYsgfUzg9MzG',
|
|
362
|
-
'pgvTChr5pG',
|
|
363
|
-
'y2HHBM5LBhm',
|
|
364
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
109
|
+
'BgLZDf9Zzxj2zxi',
|
|
365
110
|
'C3rHCNrZv2L0Aa',
|
|
366
|
-
'
|
|
367
|
-
'
|
|
368
|
-
'
|
|
369
|
-
'
|
|
370
|
-
'
|
|
371
|
-
'
|
|
372
|
-
'
|
|
373
|
-
'
|
|
374
|
-
'
|
|
375
|
-
'
|
|
376
|
-
'
|
|
377
|
-
'
|
|
378
|
-
'
|
|
379
|
-
'
|
|
380
|
-
'
|
|
381
|
-
'
|
|
382
|
-
'
|
|
383
|
-
'zMLSzw5HBwu',
|
|
384
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
385
|
-
'DgvZDa',
|
|
386
|
-
'BwfW',
|
|
387
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
388
|
-
'Bg93',
|
|
389
|
-
'BwvZC2fNzuLK',
|
|
390
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
111
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
112
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
113
|
+
'ig1LC3nHz2u9',
|
|
114
|
+
'Dg9ju09tDhjPBMC',
|
|
115
|
+
'lNnSB2nR',
|
|
116
|
+
'l3DVCMTLCNmVzMLUAxnO',
|
|
117
|
+
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
118
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
119
|
+
'zgfLBw9UqxbPs2v5',
|
|
120
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
121
|
+
'D29YA2vYtw9Kzq',
|
|
122
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
123
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
124
|
+
'zgvJAxnPB25Z',
|
|
125
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
126
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
127
|
+
'zw50CMLLCW',
|
|
391
128
|
'DgHYzwfK',
|
|
392
|
-
'
|
|
393
|
-
'
|
|
394
|
-
'
|
|
395
|
-
'
|
|
396
|
-
'
|
|
129
|
+
'zNjVBq',
|
|
130
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
131
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
132
|
+
'Aw1Hz2uVD2vICa',
|
|
133
|
+
'CMvZCg9UC2u',
|
|
134
|
+
'BgLTAxq',
|
|
135
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
136
|
+
'DxbSB2fKrMLSzq',
|
|
137
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
138
|
+
'C2L6zq',
|
|
139
|
+
'Bg9JywXLq29TCgfYzq',
|
|
140
|
+
'DgHYzwfKswq',
|
|
141
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
142
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
143
|
+
'yxr0ywnOBwvUDhm',
|
|
144
|
+
'igzHAwXLzdOG',
|
|
397
145
|
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
398
|
-
'
|
|
399
|
-
'
|
|
146
|
+
'D3m6',
|
|
147
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
148
|
+
'D29YA19RzxK',
|
|
400
149
|
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
401
|
-
'
|
|
402
|
-
'
|
|
403
|
-
'
|
|
404
|
-
'
|
|
150
|
+
'ntu4mZG4nMfLBMz6sq',
|
|
151
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
152
|
+
'C3rYAw5NAwz5',
|
|
153
|
+
'z2v0tw9UDgG',
|
|
154
|
+
'Aw1Hz2uVANbLzW',
|
|
155
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
156
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
157
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
158
|
+
'C2vX',
|
|
159
|
+
'C3vTBwfYEq',
|
|
160
|
+
'ywDLBNq',
|
|
161
|
+
'lcbWCMv2Awv3pq',
|
|
162
|
+
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
163
|
+
'yMvMB3jL',
|
|
164
|
+
'Dg9KBW',
|
|
165
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
166
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
167
|
+
'BgvUz3rO',
|
|
168
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
169
|
+
'y2HHBM5LBe5HBwu',
|
|
170
|
+
'C2HHmJu2',
|
|
171
|
+
'l2zPBMLZAa',
|
|
405
172
|
'AhvTyw4',
|
|
406
|
-
'
|
|
407
|
-
'
|
|
408
|
-
'
|
|
409
|
-
'
|
|
410
|
-
'
|
|
411
|
-
'
|
|
412
|
-
'
|
|
413
|
-
'
|
|
414
|
-
'
|
|
415
|
-
'
|
|
416
|
-
'
|
|
417
|
-
'C2nOzwr1BgvKrM9Y',
|
|
418
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
419
|
-
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
420
|
-
'AgfZ',
|
|
421
|
-
'DMLLD19MAwXL',
|
|
422
|
-
'CNvUBMLUzW',
|
|
423
|
-
'BgLTAxq',
|
|
424
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
425
|
-
'C2vUzgvYtMfTzq',
|
|
426
|
-
'Bwf4',
|
|
427
|
-
'Dw5JBgfPBvrHC2S',
|
|
428
|
-
'y3jLyxrLzef0',
|
|
173
|
+
'BwvTyMvY',
|
|
174
|
+
'C2vUze1LC3nHz2u',
|
|
175
|
+
'ovnWt3rJyq',
|
|
176
|
+
'iYmGu2vYDMvYoIa',
|
|
177
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
178
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
179
|
+
'Dw5JBgfPBv90yxnR',
|
|
180
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
181
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
182
|
+
'C3rYAw5N',
|
|
183
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
429
184
|
'DgfYz2v0',
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
433
|
-
'
|
|
434
|
-
'
|
|
435
|
-
'
|
|
436
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
437
|
-
'y29TCgXLDgvK',
|
|
438
|
-
'zgLZCg9ZAxrPB24',
|
|
439
|
-
'ig1LC3nHz2vZkqOk',
|
|
440
|
-
'C2L6zq',
|
|
441
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
442
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
443
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
444
|
-
'CMvJB3jK',
|
|
445
|
-
'DMfSDwvZ',
|
|
446
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
185
|
+
'CgfKu3rHCNq',
|
|
186
|
+
'CgfYC2vjBNq',
|
|
187
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
188
|
+
'C2v0',
|
|
189
|
+
'zxjYB3i',
|
|
190
|
+
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
447
191
|
'zxHLy3v0Aw9Utw9Kzt0',
|
|
192
|
+
'DMLLD19MAwXL',
|
|
193
|
+
'zgvZy3jPChrPB24',
|
|
194
|
+
'y2HHBM5LBa',
|
|
195
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
448
196
|
'yMXVy2TLza',
|
|
449
|
-
'
|
|
450
|
-
'
|
|
451
|
-
'
|
|
452
|
-
'C3vJy2vZCW',
|
|
453
|
-
'CMvXDwvZDfvYBa',
|
|
454
|
-
'C3bSAxq',
|
|
455
|
-
'CMvZDw1Lx3bHy2TLDa',
|
|
456
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
197
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
198
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
199
|
+
'Aw5JBhvKzxm',
|
|
457
200
|
'D2fPDgLUz19PBNb1Da',
|
|
458
|
-
'
|
|
459
|
-
'
|
|
460
|
-
'
|
|
461
|
-
'
|
|
462
|
-
'v29YA2vYici',
|
|
201
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
202
|
+
'DxrMoa',
|
|
203
|
+
'Bwf4',
|
|
204
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
463
205
|
'Dgv4Dc9JC3y',
|
|
464
|
-
'
|
|
465
|
-
'
|
|
466
|
-
'
|
|
467
|
-
'
|
|
468
|
-
'
|
|
469
|
-
'
|
|
470
|
-
'
|
|
471
|
-
'
|
|
472
|
-
'
|
|
473
|
-
'
|
|
206
|
+
'zMLSDgvY',
|
|
207
|
+
'mta1nZDur1DkAfG',
|
|
208
|
+
'iJOGC3rHDhvZpq',
|
|
209
|
+
'zMLUza',
|
|
210
|
+
'igLUia',
|
|
211
|
+
'ywjVCNrLza',
|
|
212
|
+
'Axnoyu4',
|
|
213
|
+
'ywDNCMvNyxrLswq',
|
|
214
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
215
|
+
'Dg9VBa',
|
|
216
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
217
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
218
|
+
'C2XPy2u',
|
|
219
|
+
'y2XHAw1uyxnRCW',
|
|
474
220
|
'AwrSzq',
|
|
475
|
-
'
|
|
476
|
-
'
|
|
477
|
-
'
|
|
478
|
-
'
|
|
479
|
-
'
|
|
480
|
-
'
|
|
481
|
-
'
|
|
482
|
-
'
|
|
483
|
-
'
|
|
484
|
-
'
|
|
485
|
-
'
|
|
486
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
487
|
-
'Bg9JywXLq29TCgfYzq',
|
|
488
|
-
'ChvIBgLJ',
|
|
489
|
-
'zxH0BMfTzq',
|
|
490
|
-
'DxbKyxrL',
|
|
491
|
-
'z2v0',
|
|
492
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
493
|
-
'mtK0u2rWALrp',
|
|
494
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
495
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
496
|
-
'cGOTls0G',
|
|
497
|
-
'ywrK',
|
|
498
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
499
|
-
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
500
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
501
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
502
|
-
'DgfZA3m',
|
|
503
|
-
'DgHYzwfKu2HVCNrjza',
|
|
504
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
505
|
-
'DgHYzwfKswq',
|
|
506
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
507
|
-
'zxzLBNrtzxe',
|
|
508
|
-
'Dgv4Da',
|
|
509
|
-
'DMLZAwjPBgL0Eq',
|
|
510
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
511
|
-
'CMvZDwX0',
|
|
512
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlG',
|
|
221
|
+
'zMLSzw5HBwu',
|
|
222
|
+
'l3rHC2TZ',
|
|
223
|
+
'y29TCgXLDgvK',
|
|
224
|
+
'l3nLBMq',
|
|
225
|
+
'lMjPBG',
|
|
226
|
+
'ywDLBNrjza',
|
|
227
|
+
'BwvZC2fNzq',
|
|
228
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
229
|
+
'C29Tzq',
|
|
230
|
+
'B2jQzwn0',
|
|
231
|
+
'ls1ZzxnZAw9UlwLK',
|
|
513
232
|
'Aw5KzxHpzG',
|
|
514
|
-
'
|
|
515
|
-
'
|
|
516
|
-
'
|
|
517
|
-
'
|
|
518
|
-
'
|
|
519
|
-
'
|
|
520
|
-
'
|
|
521
|
-
'
|
|
522
|
-
'
|
|
523
|
-
'
|
|
524
|
-
'
|
|
525
|
-
'
|
|
526
|
-
'
|
|
527
|
-
'mJm0m2DctM12za',
|
|
528
|
-
'y2XPzw50',
|
|
529
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
530
|
-
'mtaYnJCYwuntu2vX',
|
|
531
|
-
'Ahr0CdO',
|
|
532
|
-
'yxjYyxK',
|
|
533
|
-
'vgfZAYa',
|
|
233
|
+
'CgfYDgLJAxbHBNrjza',
|
|
234
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
235
|
+
'Bwv0yq',
|
|
236
|
+
'Dw5JBgfPBvrHC2S',
|
|
237
|
+
'xsba',
|
|
238
|
+
'zgf0yq',
|
|
239
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
240
|
+
'mc4WlJa',
|
|
241
|
+
'y29UDgvUDfr5Cgu',
|
|
242
|
+
'DgfZA051BwjLCG',
|
|
243
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
244
|
+
'AhjLzG',
|
|
245
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
534
246
|
'zxHWAxjLC0f0',
|
|
535
|
-
'
|
|
536
|
-
'
|
|
537
|
-
'
|
|
538
|
-
'
|
|
539
|
-
'
|
|
540
|
-
'
|
|
541
|
-
'
|
|
542
|
-
'
|
|
543
|
-
'
|
|
544
|
-
'
|
|
545
|
-
'
|
|
546
|
-
'
|
|
247
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
248
|
+
'DgL0Bgu',
|
|
249
|
+
'y2XHAw0GzMfPBgvK',
|
|
250
|
+
'Dg9tDhjPBMC',
|
|
251
|
+
'yMfZzty0',
|
|
252
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
253
|
+
'ndiWmZm1yxbXshbz',
|
|
254
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
255
|
+
'ywjVCNq',
|
|
256
|
+
'Dgv4Dc9WBgfPBG',
|
|
257
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
258
|
+
'DgfYz2v0zwruyxnR',
|
|
547
259
|
'Aw1Hz2uVz2LM',
|
|
548
|
-
'
|
|
549
|
-
'
|
|
550
|
-
'
|
|
551
|
-
'
|
|
260
|
+
'y2f0y2G',
|
|
261
|
+
'CMvZDwX0CW',
|
|
262
|
+
'zgvZy3jPyMu',
|
|
263
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
264
|
+
'l3rHC2TZpW',
|
|
265
|
+
'y2XHAw1FDgfZA3m',
|
|
552
266
|
'AgvHzgvYCW',
|
|
553
|
-
'
|
|
554
|
-
'
|
|
555
|
-
'
|
|
556
|
-
'
|
|
557
|
-
'
|
|
558
|
-
'
|
|
559
|
-
'
|
|
560
|
-
'
|
|
561
|
-
'
|
|
267
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
268
|
+
'CM9VDe1LC3nHz2vjza',
|
|
269
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
270
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
271
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
272
|
+
'lsaJ',
|
|
273
|
+
'Aw1Hz2uVCg5N',
|
|
274
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
275
|
+
'y2fJAgveAxi',
|
|
276
|
+
'z2v0twLUDxrLCW',
|
|
277
|
+
'CMvHzeHPC3rVCNK',
|
|
278
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
279
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
280
|
+
'ywDLBNrZ',
|
|
281
|
+
'pgvTChr5pG',
|
|
282
|
+
'yxjNDG',
|
|
283
|
+
'CMvHC29U',
|
|
284
|
+
'C2L6zuj5DgvZ',
|
|
285
|
+
'y3vYC29Y',
|
|
562
286
|
'kgXLz2fJEsK',
|
|
563
|
-
'
|
|
564
|
-
'
|
|
565
|
-
'
|
|
566
|
-
'
|
|
567
|
-
'
|
|
568
|
-
'
|
|
569
|
-
'
|
|
570
|
-
'
|
|
571
|
-
'
|
|
572
|
-
'
|
|
573
|
-
'
|
|
574
|
-
'
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'
|
|
580
|
-
'
|
|
581
|
-
'
|
|
582
|
-
'
|
|
583
|
-
'
|
|
584
|
-
'
|
|
585
|
-
'
|
|
586
|
-
'
|
|
587
|
-
'
|
|
588
|
-
'
|
|
589
|
-
'
|
|
590
|
-
'
|
|
591
|
-
'
|
|
287
|
+
'z2v0',
|
|
288
|
+
'BMfTzq',
|
|
289
|
+
'y29UDgvUDa',
|
|
290
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
291
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
292
|
+
'ihrPBwu9',
|
|
293
|
+
'ig1LC3nHz2vZkqOk',
|
|
294
|
+
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
295
|
+
'EM9K',
|
|
296
|
+
'CMvXDwvZDfvYBa',
|
|
297
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
298
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
299
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
300
|
+
'C3vJy2vZCW',
|
|
301
|
+
'yxjYyxK',
|
|
302
|
+
'C2vYDMvY',
|
|
303
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
304
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
305
|
+
'iokaLca',
|
|
306
|
+
'yM9KEvrLEhq',
|
|
307
|
+
'ChjVDg9JB2W',
|
|
308
|
+
'y3jLyxrLvgfZA3m',
|
|
309
|
+
'mtbsA1jAuvu',
|
|
310
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
311
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
312
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
313
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
314
|
+
'Bwf0y2Hoyw1L',
|
|
315
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
592
316
|
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
593
|
-
'
|
|
594
|
-
'
|
|
595
|
-
'
|
|
596
|
-
'zgvZy3jPyMu',
|
|
597
|
-
'Dg9mB3DLCKnHC2u',
|
|
598
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
599
|
-
'BwvZC2fNzq',
|
|
600
|
-
'CgfYC2vjBNq',
|
|
601
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
317
|
+
'iYmJiefNzw50CW',
|
|
318
|
+
'CgfYC2u',
|
|
319
|
+
'C29YDa',
|
|
602
320
|
'zg9Uzq',
|
|
603
|
-
'
|
|
604
|
-
'D29YA19RzxK',
|
|
605
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
606
|
-
'icHPzdO',
|
|
607
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
608
|
-
'ywjVCNq',
|
|
321
|
+
'mtC1mdq1rNntsw1S',
|
|
609
322
|
'ANnVBG',
|
|
610
|
-
'
|
|
611
|
-
'
|
|
612
|
-
'
|
|
613
|
-
'zMLUza',
|
|
614
|
-
'mJeYodDnuMreAM4',
|
|
615
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
616
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
617
|
-
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
618
|
-
'C2vYDMvYtMfTzq',
|
|
619
|
-
'kg5VBMuP',
|
|
620
|
-
'y2fJAgveAxi',
|
|
621
|
-
'Dg9tDhjPBMC',
|
|
622
|
-
'DgHYzwfKvgfYz2v0',
|
|
623
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
624
|
-
'Bwf0y2Hoyw1L',
|
|
625
|
-
'xsba',
|
|
626
|
-
'C3rHDhvZ',
|
|
627
|
-
'ywjVCNrLza',
|
|
628
|
-
'DgfZA19Pza',
|
|
629
|
-
'zgf0yq',
|
|
630
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
631
|
-
'A2LUza',
|
|
632
|
-
'ywDLBNrZ',
|
|
633
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
634
|
-
'zgvJAxnPB25Z',
|
|
635
|
-
'DxrMoa',
|
|
636
|
-
'mtu5mKrqDxjPqq',
|
|
637
|
-
'C3rYAw5NAwz5',
|
|
638
|
-
'mtCWodyWte1oBuHQ',
|
|
639
|
-
'ig1ZzZ0',
|
|
640
|
-
'lcbWCMv2Awv3pq',
|
|
641
|
-
'zw51Bq',
|
|
642
|
-
'z2v0sg91CNm',
|
|
643
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
644
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
645
|
-
'D29YA2vYCW',
|
|
646
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
647
|
-
'yM9KEu1HCMTKB3DU',
|
|
648
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
649
|
-
'sfruuca',
|
|
650
|
-
'zM9Yy2vszwzYzxnO',
|
|
651
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
652
|
-
'C2HHmJu2',
|
|
653
|
-
'BgLZDf9Zzxj2zxi',
|
|
654
|
-
'C2vYDMvY',
|
|
323
|
+
'ignSywLTzwq',
|
|
324
|
+
'mty1nNLRzKHZrq',
|
|
325
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
655
326
|
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
656
|
-
'
|
|
657
|
-
'
|
|
327
|
+
'D3nZoG',
|
|
328
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
329
|
+
'y3jLyxrLzef0',
|
|
330
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
331
|
+
'l3n0yxj0',
|
|
332
|
+
'ywXS',
|
|
333
|
+
'uefuq0G',
|
|
334
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
335
|
+
'y2HHBM5LBeLK',
|
|
336
|
+
'DgfZA0LK',
|
|
337
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
338
|
+
'w3nLCt0',
|
|
339
|
+
'icHPzdO',
|
|
340
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
341
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
342
|
+
'BNvTyMvY',
|
|
343
|
+
'BgLZDf90yxnRCW',
|
|
344
|
+
'ihr5Cgu9ywDLBNq',
|
|
345
|
+
'ihn0yxr1CZ0',
|
|
346
|
+
'y29UDgvUDc10ExbL',
|
|
347
|
+
'Aw5FCMv2Awv3',
|
|
348
|
+
'D29YA2vYCW',
|
|
658
349
|
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
659
|
-
'
|
|
350
|
+
'AxngAw5PDgu',
|
|
351
|
+
'zMv0y2HjBxbS',
|
|
352
|
+
'DgvZDa',
|
|
353
|
+
'l2HPC3rVCNK/',
|
|
354
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
355
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
356
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
357
|
+
'zgvSzxrL',
|
|
358
|
+
'zM9Yy2vszwzYzxnO',
|
|
359
|
+
'AxnjBNrLz2vY',
|
|
360
|
+
'ig1ZzZ0',
|
|
361
|
+
'C2LNBMfS',
|
|
362
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
363
|
+
'y3jLyxrLx3rHC2TZ',
|
|
364
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
365
|
+
'z2v0vgLTzq',
|
|
366
|
+
'A2LUza',
|
|
367
|
+
'D29YA2vYsgfUzg9MzG',
|
|
368
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
369
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
370
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
371
|
+
'CMvWBgfJzq',
|
|
372
|
+
'C2vUzgvYtMfTzq',
|
|
660
373
|
'zg06',
|
|
661
|
-
'
|
|
662
|
-
'
|
|
663
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
664
|
-
'mZy4mdmZnwTUy2XoCa',
|
|
665
|
-
'mtqZntK2uujMsuz2',
|
|
666
|
-
'BMv4Df9ZDgvWCW',
|
|
667
|
-
'l3rHC2TZ',
|
|
668
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
669
|
-
'l3vWBg9Hza',
|
|
374
|
+
'DgfZAY0',
|
|
375
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
670
376
|
'yxr0ywnOBwvUDenHy2HL',
|
|
671
|
-
'
|
|
672
|
-
'
|
|
673
|
-
'
|
|
674
|
-
'yxr0ywnOBwvUDhm',
|
|
675
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
676
|
-
'BMfTzq',
|
|
677
|
-
'BgLZDfnLCNzLCG',
|
|
678
|
-
'Dg9ju09tDhjPBMC',
|
|
679
|
-
'C3rYAw5N',
|
|
680
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
681
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
682
|
-
'D3m6',
|
|
683
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
684
|
-
'BwvKAxvT',
|
|
685
|
-
'CNvUswq',
|
|
686
|
-
'lNnSB2nR',
|
|
687
|
-
'Ahr0Chm6',
|
|
377
|
+
'DgHYzwfKvgfYz2v0',
|
|
378
|
+
'v29YA2vYia',
|
|
379
|
+
'AhvTyw5Z',
|
|
688
380
|
'yxv0BZO',
|
|
689
|
-
'
|
|
690
|
-
'
|
|
691
|
-
'
|
|
692
|
-
'
|
|
693
|
-
'
|
|
381
|
+
'CMvZDwX0',
|
|
382
|
+
'CNvUBMLUzW',
|
|
383
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
384
|
+
'BwvKAxvT',
|
|
385
|
+
'yMfZzw5HBwu',
|
|
386
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
387
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
388
|
+
'yM9KEu1HCMTKB3DU',
|
|
389
|
+
'BwvZC2fNzxm',
|
|
390
|
+
'CxvLDwvK',
|
|
391
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
694
392
|
'C2vUzgvYvhLWzq',
|
|
393
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
394
|
+
'C3rHDhvZ',
|
|
395
|
+
'y2HHBM5LBhm',
|
|
396
|
+
'CMvHzf9OAxn0B3j5',
|
|
397
|
+
'mJe0oti1v0PPC0f0',
|
|
398
|
+
'DxbSB2fKx2zPBgu',
|
|
695
399
|
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
696
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
697
|
-
'Dw5JBgfPBv90yxnR',
|
|
698
|
-
'CxvLDwvK',
|
|
699
|
-
'BM93',
|
|
700
400
|
'Cgf5Bg9HzePZB24',
|
|
701
|
-
'
|
|
702
|
-
'
|
|
703
|
-
'
|
|
704
|
-
'
|
|
401
|
+
'AxnbCNjHEq',
|
|
402
|
+
'BwvZC2fNzuLK',
|
|
403
|
+
'r0vu',
|
|
404
|
+
'C2vUzf9TzxnZywDL',
|
|
405
|
+
'D29YA2vY',
|
|
406
|
+
'DxnLCG',
|
|
407
|
+
'z2v0rgf0zq',
|
|
408
|
+
'mJbszu91t0u',
|
|
409
|
+
'DgfZA19Pza',
|
|
410
|
+
'BM93',
|
|
411
|
+
'6k+35Rgcia',
|
|
412
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
413
|
+
'DhLWzq',
|
|
414
|
+
'BgLZDfnLCNzLCG',
|
|
415
|
+
'DhjPBq',
|
|
416
|
+
'CgfYDgLJAxbHBNq',
|
|
417
|
+
'ote0odbpB0vszgK',
|
|
418
|
+
'y2XPzw50',
|
|
419
|
+
'l3rHC2TZl2nSywLT',
|
|
420
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
421
|
+
'BwfW',
|
|
422
|
+
'BMv4Df9ZDgvWCW',
|
|
423
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
424
|
+
'ue9tva',
|
|
425
|
+
'DgfZAW',
|
|
426
|
+
'C2vYDMvYvxjS'
|
|
705
427
|
];
|
|
706
|
-
|
|
707
|
-
return
|
|
428
|
+
_0x2d0d = function () {
|
|
429
|
+
return _0x24037e;
|
|
430
|
+
};
|
|
431
|
+
return _0x2d0d();
|
|
432
|
+
}
|
|
433
|
+
import {
|
|
434
|
+
mkdir,
|
|
435
|
+
readFile,
|
|
436
|
+
readdir,
|
|
437
|
+
stat,
|
|
438
|
+
writeFile
|
|
439
|
+
} from 'node:fs/promises';
|
|
440
|
+
import { homedir } from 'node:os';
|
|
441
|
+
import _0x6a8220 from 'node:path';
|
|
442
|
+
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
443
|
+
'.csv': _0x404ee2(0x1d6),
|
|
444
|
+
'.gif': _0x404ee2(0x20c),
|
|
445
|
+
'.jpeg': 'image/jpeg',
|
|
446
|
+
'.jpg': _0x404ee2(0x1a3),
|
|
447
|
+
'.json': 'application/json',
|
|
448
|
+
'.md': 'text/markdown',
|
|
449
|
+
'.pdf': _0x404ee2(0x15c),
|
|
450
|
+
'.png': _0x404ee2(0x21a),
|
|
451
|
+
'.svg': _0x404ee2(0x157),
|
|
452
|
+
'.txt': _0x404ee2(0x209),
|
|
453
|
+
'.webp': _0x404ee2(0x18d),
|
|
454
|
+
'.xml': 'application/xml',
|
|
455
|
+
'.zip': _0x404ee2(0x1e1)
|
|
456
|
+
};
|
|
457
|
+
function guessContentType(_0x50e420) {
|
|
458
|
+
const _0x301ff6 = {
|
|
459
|
+
_0x10942d: 0x125,
|
|
460
|
+
_0x24c8a4: 0x127
|
|
461
|
+
}, _0x527b6e = _0x404ee2;
|
|
462
|
+
return MIME_BY_EXTENSION[_0x6a8220[_0x527b6e(_0x301ff6._0x10942d)](_0x50e420)[_0x527b6e(0x15e)]()] ?? _0x527b6e(_0x301ff6._0x24c8a4);
|
|
463
|
+
}
|
|
464
|
+
function safeFilename(_0x11696b) {
|
|
465
|
+
return _0x11696b['replace'](/[\\/]/g, '-');
|
|
466
|
+
}
|
|
467
|
+
function extensionFor(_0x44864d) {
|
|
468
|
+
const _0x27427d = { _0x52d2a2: 0x1ea }, _0x4f3a1c = _0x404ee2, _0x335a7b = Object[_0x4f3a1c(0x188)](MIME_BY_EXTENSION)['find'](([, _0x14b0e1]) => _0x14b0e1 === _0x44864d);
|
|
469
|
+
return _0x335a7b?.[0x0] ?? _0x4f3a1c(_0x27427d._0x52d2a2);
|
|
470
|
+
}
|
|
471
|
+
async function prepareUploadFile(_0x25d18a, _0x3b2bff = {}) {
|
|
472
|
+
const _0x1dd9df = {
|
|
473
|
+
_0x3aa02e: 0x20d,
|
|
474
|
+
_0x240eae: 0x141,
|
|
475
|
+
_0x5d4f29: 0x193
|
|
476
|
+
}, _0x335c0a = _0x404ee2;
|
|
477
|
+
if (!_0x6a8220[_0x335c0a(0x13c)](_0x25d18a))
|
|
478
|
+
throw new Error(_0x335c0a(0x239));
|
|
479
|
+
const _0x29e680 = await stat(_0x25d18a)[_0x335c0a(_0x1dd9df._0x3aa02e)](() => null);
|
|
480
|
+
if (!_0x29e680 || !_0x29e680['isFile']())
|
|
481
|
+
throw new Error(_0x335c0a(_0x1dd9df._0x240eae) + _0x25d18a);
|
|
482
|
+
const _0x4237e6 = _0x3b2bff[_0x335c0a(0x1ed)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
483
|
+
if (_0x29e680[_0x335c0a(0x193)] > _0x4237e6)
|
|
484
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x29e680[_0x335c0a(_0x1dd9df._0x5d4f29)]);
|
|
485
|
+
const _0x258d52 = await readFile(_0x25d18a), _0xea983 = _0x6a8220[_0x335c0a(0x28a)](_0x25d18a);
|
|
486
|
+
return {
|
|
487
|
+
'contentBase64': _0x258d52['toString'](_0x335c0a(0x204)),
|
|
488
|
+
'contentType': guessContentType(_0xea983),
|
|
489
|
+
'filename': _0xea983,
|
|
490
|
+
'sizeBytes': _0x29e680[_0x335c0a(0x193)]
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
function createAttachmentCache(_0xaaf292 = {}) {
|
|
494
|
+
const _0x259387 = {
|
|
495
|
+
_0x2fa5be: 0x21c,
|
|
496
|
+
_0x2ffe56: 0x147
|
|
497
|
+
}, _0x598d0d = {
|
|
498
|
+
_0x3c438b: 0x1fa,
|
|
499
|
+
_0x45192e: 0x2b6,
|
|
500
|
+
_0x12bb61: 0x1f7
|
|
501
|
+
}, _0xcfe665 = { _0xaff5f: 0x1da }, _0x56ea5f = _0x404ee2, _0xa418b = _0xaaf292[_0x56ea5f(_0x259387._0x2fa5be)] ?? _0x6a8220[_0x56ea5f(_0x259387._0x2ffe56)](homedir(), _0x56ea5f(0x17c), _0x56ea5f(0x198));
|
|
502
|
+
return {
|
|
503
|
+
'cacheDir': _0xa418b,
|
|
504
|
+
async 'findCachedPath'(_0x486f44) {
|
|
505
|
+
const _0x4956d2 = _0x56ea5f;
|
|
506
|
+
await mkdir(_0xa418b, { 'recursive': !![] });
|
|
507
|
+
const _0x1a22a9 = await readdir(_0xa418b), _0x45024b = _0x1a22a9[_0x4956d2(_0xcfe665._0xaff5f)](_0x2d68d0 => _0x2d68d0['startsWith'](_0x486f44 + '-') || _0x2d68d0[_0x4956d2(0x177)](_0x486f44));
|
|
508
|
+
return _0x45024b ? _0x6a8220['join'](_0xa418b, _0x45024b) : null;
|
|
509
|
+
},
|
|
510
|
+
async 'save'(_0x199a8d) {
|
|
511
|
+
const _0x45d735 = _0x56ea5f;
|
|
512
|
+
await mkdir(_0xa418b, { 'recursive': !![] });
|
|
513
|
+
const _0x35b67e = _0x199a8d[_0x45d735(0x1bb)]?.[_0x45d735(0x2a8)]() ? safeFilename(_0x199a8d[_0x45d735(0x1bb)]) : '' + _0x199a8d[_0x45d735(0x2b6)] + extensionFor(_0x199a8d[_0x45d735(_0x598d0d._0x3c438b)]), _0x300360 = _0x6a8220['join'](_0xa418b, _0x199a8d[_0x45d735(_0x598d0d._0x45192e)] + '-' + _0x35b67e);
|
|
514
|
+
return await writeFile(_0x300360, _0x199a8d[_0x45d735(_0x598d0d._0x12bb61)]), _0x300360;
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
import {
|
|
519
|
+
createHash,
|
|
520
|
+
randomUUID
|
|
521
|
+
} from 'node:crypto';
|
|
522
|
+
var UNSUPPORTED_TARGET_MESSAGE = 'Unsupported\x20target\x20format.\x20Supported\x20values\x20are\x20#channel,\x20dm:dm-<name>,\x20and\x20their\x20thread\x20targets.';
|
|
523
|
+
function ensureSegment(_0x5c0f3d) {
|
|
524
|
+
const _0x27e7e2 = _0x404ee2, _0x12e7af = _0x5c0f3d['trim']();
|
|
525
|
+
if (!_0x12e7af || _0x12e7af[_0x27e7e2(0x1d0)](':'))
|
|
526
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
527
|
+
return _0x12e7af;
|
|
528
|
+
}
|
|
529
|
+
function parseThreadParts(_0x155986) {
|
|
530
|
+
const _0x221a90 = { _0x403918: 0x1b0 }, _0xe0bcb0 = _0x404ee2, _0x3740b6 = _0x155986[_0xe0bcb0(0x166)](':');
|
|
531
|
+
if (_0x3740b6[_0xe0bcb0(_0x221a90._0x403918)] < 0x1 || _0x3740b6[_0xe0bcb0(0x1b0)] > 0x2)
|
|
532
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
533
|
+
return {
|
|
534
|
+
'channelName': ensureSegment(_0x3740b6[0x0] ?? ''),
|
|
535
|
+
'threadShortId': _0x3740b6[0x1] ? ensureSegment(_0x3740b6[0x1]) : null
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
function parseTarget(_0x143722) {
|
|
539
|
+
const _0x1c0b88 = {
|
|
540
|
+
_0x2c52d4: 0x1b2,
|
|
541
|
+
_0x477c23: 0x1cb,
|
|
542
|
+
_0x39e6d9: 0x189,
|
|
543
|
+
_0x4b1613: 0x177,
|
|
544
|
+
_0x5e900e: 0x1b2,
|
|
545
|
+
_0x4f5f23: 0x1cb,
|
|
546
|
+
_0x1ae844: 0x189
|
|
547
|
+
}, _0x3a10f0 = _0x404ee2, _0x8c4043 = _0x143722['trim']();
|
|
548
|
+
if (!_0x8c4043)
|
|
549
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
550
|
+
if (_0x8c4043[_0x3a10f0(0x177)]('#')) {
|
|
551
|
+
const _0x3b9d43 = parseThreadParts(_0x8c4043[_0x3a10f0(0x1e3)](0x1)), _0x51cccc = '#' + _0x3b9d43[_0x3a10f0(_0x1c0b88._0x2c52d4)];
|
|
552
|
+
if (!_0x3b9d43[_0x3a10f0(0x154)])
|
|
553
|
+
return {
|
|
554
|
+
'channelName': _0x3b9d43['channelName'],
|
|
555
|
+
'channelTarget': _0x51cccc,
|
|
556
|
+
'kind': _0x3a10f0(_0x1c0b88._0x477c23),
|
|
557
|
+
'target': _0x51cccc
|
|
558
|
+
};
|
|
559
|
+
return {
|
|
560
|
+
'channelName': _0x3b9d43['channelName'],
|
|
561
|
+
'channelTarget': _0x51cccc,
|
|
562
|
+
'kind': _0x3a10f0(_0x1c0b88._0x39e6d9),
|
|
563
|
+
'target': _0x51cccc + ':' + _0x3b9d43['threadShortId'],
|
|
564
|
+
'threadShortId': _0x3b9d43['threadShortId']
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
if (_0x8c4043[_0x3a10f0(_0x1c0b88._0x4b1613)](_0x3a10f0(0x27e))) {
|
|
568
|
+
const _0x1be02f = parseThreadParts(_0x8c4043[_0x3a10f0(0x1e3)](0x3));
|
|
569
|
+
if (!_0x1be02f[_0x3a10f0(0x1b2)]['startsWith']('dm-'))
|
|
570
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
571
|
+
const _0x93bb56 = 'dm:' + _0x1be02f[_0x3a10f0(0x1b2)];
|
|
572
|
+
if (!_0x1be02f['threadShortId'])
|
|
573
|
+
return {
|
|
574
|
+
'channelName': _0x1be02f[_0x3a10f0(_0x1c0b88._0x5e900e)],
|
|
575
|
+
'channelTarget': _0x93bb56,
|
|
576
|
+
'kind': _0x3a10f0(_0x1c0b88._0x4f5f23),
|
|
577
|
+
'target': _0x93bb56
|
|
578
|
+
};
|
|
579
|
+
return {
|
|
580
|
+
'channelName': _0x1be02f[_0x3a10f0(0x1b2)],
|
|
581
|
+
'channelTarget': _0x93bb56,
|
|
582
|
+
'kind': _0x3a10f0(_0x1c0b88._0x1ae844),
|
|
583
|
+
'target': _0x93bb56 + ':' + _0x1be02f['threadShortId'],
|
|
584
|
+
'threadShortId': _0x1be02f[_0x3a10f0(0x154)]
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
588
|
+
}
|
|
589
|
+
function asErrorMessage(_0xba5ad5, _0x592d14) {
|
|
590
|
+
const _0x4bb557 = {
|
|
591
|
+
_0x4ae4b1: 0x1bf,
|
|
592
|
+
_0x27fb9b: 0x2a8
|
|
593
|
+
}, _0x4e4e31 = _0x404ee2;
|
|
594
|
+
if (typeof _0xba5ad5 === _0x4e4e31(_0x4bb557._0x4ae4b1) && _0xba5ad5[_0x4e4e31(_0x4bb557._0x27fb9b)]())
|
|
595
|
+
return _0xba5ad5;
|
|
596
|
+
return _0x592d14;
|
|
597
|
+
}
|
|
598
|
+
function asRecord(_0x37afd7) {
|
|
599
|
+
return typeof _0x37afd7 === 'object' && _0x37afd7 !== null ? _0x37afd7 : {};
|
|
600
|
+
}
|
|
601
|
+
function stableStringify(_0x28b9f3) {
|
|
602
|
+
const _0x2c1720 = {
|
|
603
|
+
_0x46ac2f: 0x1ef,
|
|
604
|
+
_0x3510a1: 0x29a,
|
|
605
|
+
_0x4db77b: 0x147,
|
|
606
|
+
_0x5683e6: 0x188,
|
|
607
|
+
_0x17dcf2: 0x1d7,
|
|
608
|
+
_0x72c15a: 0x2ae
|
|
609
|
+
}, _0x296212 = _0x404ee2;
|
|
610
|
+
if (_0x28b9f3 === null || typeof _0x28b9f3 !== _0x296212(_0x2c1720._0x46ac2f))
|
|
611
|
+
return JSON[_0x296212(0x1a1)](_0x28b9f3);
|
|
612
|
+
if (Array[_0x296212(_0x2c1720._0x3510a1)](_0x28b9f3))
|
|
613
|
+
return '[' + _0x28b9f3[_0x296212(0x2ae)](_0x4e8034 => stableStringify(_0x4e8034))[_0x296212(_0x2c1720._0x4db77b)](',') + ']';
|
|
614
|
+
const _0x1b3dab = Object[_0x296212(_0x2c1720._0x5683e6)](_0x28b9f3)[_0x296212(_0x2c1720._0x17dcf2)](([, _0xb7b42]) => _0xb7b42 !== void 0x0)['sort'](([_0x4de402], [_0x1ab900]) => _0x4de402[_0x296212(0x194)](_0x1ab900))[_0x296212(_0x2c1720._0x72c15a)](([_0x142d91, _0x4e3939]) => JSON[_0x296212(0x1a1)](_0x142d91) + ':' + stableStringify(_0x4e3939));
|
|
615
|
+
return '{' + _0x1b3dab['join'](',') + '}';
|
|
616
|
+
}
|
|
617
|
+
function createHeaders(_0x47c322) {
|
|
618
|
+
const _0x3c38ae = _0x404ee2;
|
|
619
|
+
return {
|
|
620
|
+
'Content-Type': _0x3c38ae(0x174),
|
|
621
|
+
'x-daemon-api-key': _0x47c322
|
|
708
622
|
};
|
|
709
|
-
return _0xbf9a();
|
|
710
623
|
}
|
|
711
|
-
function
|
|
712
|
-
const
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
624
|
+
function toHttpBaseUrl(_0x237746) {
|
|
625
|
+
const _0x3d2189 = {
|
|
626
|
+
_0x1d569d: 0x23c,
|
|
627
|
+
_0x41fa3e: 0x12b,
|
|
628
|
+
_0x1cfa1e: 0x203,
|
|
629
|
+
_0x22694d: 0x27c
|
|
630
|
+
}, _0x3aff42 = _0x404ee2, _0x329060 = new URL(_0x237746);
|
|
631
|
+
if (_0x329060[_0x3aff42(_0x3d2189._0x1d569d)] === _0x3aff42(0x19b))
|
|
632
|
+
_0x329060['protocol'] = _0x3aff42(_0x3d2189._0x41fa3e);
|
|
633
|
+
else
|
|
634
|
+
_0x329060['protocol'] === _0x3aff42(0x250) && (_0x329060['protocol'] = 'https:');
|
|
635
|
+
return _0x329060[_0x3aff42(_0x3d2189._0x1cfa1e)]()[_0x3aff42(_0x3d2189._0x22694d)](/\/$/, '');
|
|
636
|
+
}
|
|
637
|
+
function isMentionBoundary(_0x850835) {
|
|
638
|
+
const _0x44617c = { _0x2b2c72: 0x269 }, _0x435394 = _0x404ee2;
|
|
639
|
+
return !_0x850835 || /\s|[([{'",。!?、:;]/[_0x435394(_0x44617c._0x2b2c72)](_0x850835);
|
|
640
|
+
}
|
|
641
|
+
function isMentionTerminal(_0x1ab5e9) {
|
|
642
|
+
return !_0x1ab5e9 || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x1ab5e9);
|
|
643
|
+
}
|
|
644
|
+
function buildMatchableEntries(_0x2678bc) {
|
|
645
|
+
const _0x37c710 = {
|
|
646
|
+
_0x3a5dba: 0x221,
|
|
647
|
+
_0x63a9ce: 0x284,
|
|
648
|
+
_0x40e9e4: 0x229,
|
|
649
|
+
_0xf79220: 0x229,
|
|
650
|
+
_0x37f358: 0x146,
|
|
651
|
+
_0x70533f: 0x16c
|
|
652
|
+
}, _0x524be6 = _0x404ee2, _0x4a607f = [];
|
|
653
|
+
for (const _0x46e522 of [
|
|
654
|
+
..._0x2678bc[_0x524be6(_0x37c710._0x3a5dba)],
|
|
655
|
+
..._0x2678bc[_0x524be6(_0x37c710._0x63a9ce)]
|
|
656
|
+
]) {
|
|
657
|
+
_0x4a607f[_0x524be6(0x146)]({
|
|
658
|
+
'matchName': _0x46e522[_0x524be6(_0x37c710._0x40e9e4)],
|
|
659
|
+
'matchNameLower': _0x46e522['name'][_0x524be6(0x16c)](),
|
|
660
|
+
'participantId': _0x46e522['id']
|
|
661
|
+
}), _0x46e522['id'] !== _0x46e522[_0x524be6(_0x37c710._0xf79220)] && _0x4a607f[_0x524be6(_0x37c710._0x37f358)]({
|
|
662
|
+
'matchName': _0x46e522['id'],
|
|
663
|
+
'matchNameLower': _0x46e522['id'][_0x524be6(_0x37c710._0x70533f)](),
|
|
664
|
+
'participantId': _0x46e522['id']
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
return _0x4a607f;
|
|
668
|
+
}
|
|
669
|
+
function extractMentionedParticipantIds(_0x287760, _0x469b5f) {
|
|
670
|
+
const _0x44789c = {
|
|
671
|
+
_0x11b34b: 0x248,
|
|
672
|
+
_0x21e28f: 0x1b0,
|
|
673
|
+
_0x3ef28c: 0x1e3,
|
|
674
|
+
_0x4cd2ee: 0x160,
|
|
675
|
+
_0x2c5bb5: 0x1f2,
|
|
676
|
+
_0x5af884: 0x146,
|
|
677
|
+
_0x121879: 0x243
|
|
678
|
+
}, _0x44379c = {
|
|
679
|
+
_0x15b917: 0x177,
|
|
680
|
+
_0x51d606: 0x22b,
|
|
681
|
+
_0x5b0871: 0x1b0
|
|
682
|
+
}, _0x5dbc56 = _0x404ee2, _0x4805cd = buildMatchableEntries(_0x469b5f)[_0x5dbc56(_0x44789c._0x11b34b)]((_0x31a075, _0x5f3a1e) => _0x5f3a1e['matchName'][_0x5dbc56(0x1b0)] - _0x31a075[_0x5dbc56(0x243)][_0x5dbc56(0x1b0)]), _0x2fd9fc = [], _0x5c3a14 = new Set();
|
|
683
|
+
for (let _0x4035bf = 0x0; _0x4035bf < _0x287760[_0x5dbc56(_0x44789c._0x21e28f)]; _0x4035bf += 0x1) {
|
|
684
|
+
if (_0x287760[_0x4035bf] !== '@' || !isMentionBoundary(_0x287760[_0x4035bf - 0x1]))
|
|
685
|
+
continue;
|
|
686
|
+
const _0x4c2478 = _0x287760[_0x5dbc56(_0x44789c._0x3ef28c)](_0x4035bf + 0x1), _0x1562a7 = _0x4c2478[_0x5dbc56(0x16c)](), _0x31f689 = _0x4805cd[_0x5dbc56(0x1da)](_0xd9ccc9 => {
|
|
687
|
+
const _0x42eace = _0x5dbc56;
|
|
688
|
+
if (!_0x1562a7[_0x42eace(_0x44379c._0x15b917)](_0xd9ccc9[_0x42eace(_0x44379c._0x51d606)]))
|
|
689
|
+
return ![];
|
|
690
|
+
return isMentionTerminal(_0x4c2478[_0xd9ccc9['matchName'][_0x42eace(_0x44379c._0x5b0871)]]);
|
|
691
|
+
});
|
|
692
|
+
if (!_0x31f689 || _0x5c3a14['has'](_0x31f689['participantId']))
|
|
693
|
+
continue;
|
|
694
|
+
_0x5c3a14[_0x5dbc56(_0x44789c._0x4cd2ee)](_0x31f689[_0x5dbc56(_0x44789c._0x2c5bb5)]), _0x2fd9fc[_0x5dbc56(_0x44789c._0x5af884)](_0x31f689['participantId']), _0x4035bf += _0x31f689[_0x5dbc56(_0x44789c._0x121879)][_0x5dbc56(0x1b0)];
|
|
695
|
+
}
|
|
696
|
+
return _0x2fd9fc;
|
|
697
|
+
}
|
|
698
|
+
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
699
|
+
function anySignal(..._0x57c510) {
|
|
700
|
+
const _0x565a54 = {
|
|
701
|
+
_0x27da12: 0x224,
|
|
702
|
+
_0x260322: 0x272,
|
|
703
|
+
_0x3a077a: 0x208,
|
|
704
|
+
_0x5c4fb3: 0x272
|
|
705
|
+
}, _0x4fdf38 = _0x404ee2, _0x1d9b9a = new AbortController();
|
|
706
|
+
for (const _0x43d95d of _0x57c510) {
|
|
707
|
+
if (_0x43d95d[_0x4fdf38(0x1dc)])
|
|
708
|
+
return _0x1d9b9a[_0x4fdf38(0x208)](_0x43d95d[_0x4fdf38(_0x565a54._0x27da12)]), _0x1d9b9a[_0x4fdf38(_0x565a54._0x260322)];
|
|
709
|
+
_0x43d95d[_0x4fdf38(0x218)](_0x4fdf38(_0x565a54._0x3a077a), () => _0x1d9b9a[_0x4fdf38(0x208)](_0x43d95d[_0x4fdf38(0x224)]), {
|
|
721
710
|
'once': !![],
|
|
722
|
-
'signal':
|
|
711
|
+
'signal': _0x1d9b9a[_0x4fdf38(_0x565a54._0x5c4fb3)]
|
|
723
712
|
});
|
|
724
713
|
}
|
|
725
|
-
return
|
|
714
|
+
return _0x1d9b9a[_0x4fdf38(0x272)];
|
|
726
715
|
}
|
|
727
|
-
function createInternalAgentClient(
|
|
728
|
-
const
|
|
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
|
-
|
|
716
|
+
function createInternalAgentClient(_0x31b80b) {
|
|
717
|
+
const _0x568249 = {
|
|
718
|
+
_0xa0a9ee: 0x268,
|
|
719
|
+
_0x307e07: 0x233,
|
|
720
|
+
_0x517556: 0x2a8,
|
|
721
|
+
_0xc4ba9f: 0x167,
|
|
722
|
+
_0x1cf49b: 0x2a8
|
|
723
|
+
}, _0x339e77 = {
|
|
724
|
+
_0x1f1da6: 0x1c5,
|
|
725
|
+
_0x8b30e6: 0x203,
|
|
726
|
+
_0x2a79c1: 0x28c,
|
|
727
|
+
_0x7ae645: 0x258,
|
|
728
|
+
_0x465f51: 0x195,
|
|
729
|
+
_0x141a7c: 0x195,
|
|
730
|
+
_0x596ed0: 0x1bf,
|
|
731
|
+
_0x226cb9: 0x215,
|
|
732
|
+
_0x1e9be4: 0x25f,
|
|
733
|
+
_0x5a1932: 0x270,
|
|
734
|
+
_0x1c60fe: 0x1de,
|
|
735
|
+
_0x30dd48: 0x228,
|
|
736
|
+
_0x317525: 0x153,
|
|
737
|
+
_0x28a09d: 0x153,
|
|
738
|
+
_0x5bbfb1: 0x299,
|
|
739
|
+
_0x1c1b9c: 0x228,
|
|
740
|
+
_0x25ed59: 0x27e,
|
|
741
|
+
_0x3962e2: 0x2ae,
|
|
742
|
+
_0x321a82: 0x165,
|
|
743
|
+
_0x3234df: 0x146,
|
|
744
|
+
_0x4a1b38: 0x22a,
|
|
745
|
+
_0x58ee06: 0x252,
|
|
746
|
+
_0x4f01cd: 0x27d,
|
|
747
|
+
_0x43e644: 0x27b,
|
|
748
|
+
_0xf00063: 0x1bf
|
|
749
|
+
}, _0x9e0b9c = {
|
|
750
|
+
_0x3088c6: 0x1cb,
|
|
751
|
+
_0x368948: 0x149,
|
|
752
|
+
_0x360a2d: 0x1ac,
|
|
753
|
+
_0x840063: 0x18f,
|
|
754
|
+
_0x3ccf2b: 0x195
|
|
755
|
+
}, _0x160919 = {
|
|
756
|
+
_0x10e404: 0x1ba,
|
|
757
|
+
_0x45b676: 0x29c,
|
|
758
|
+
_0x409321: 0x1f7,
|
|
759
|
+
_0x487edb: 0x213,
|
|
760
|
+
_0x50f4f2: 0x263,
|
|
761
|
+
_0x2ad7a1: 0x127,
|
|
762
|
+
_0x142b74: 0x18a,
|
|
763
|
+
_0x24fa38: 0x1f7
|
|
764
|
+
}, _0x5a536f = {
|
|
765
|
+
_0x590872: 0x1cb,
|
|
766
|
+
_0x49992a: 0x28c,
|
|
767
|
+
_0x33b5a8: 0x1c1,
|
|
768
|
+
_0xfb2e6: 0x13b,
|
|
769
|
+
_0x305a26: 0x2b1,
|
|
770
|
+
_0x302443: 0x1bb
|
|
771
|
+
}, _0x4bf8e0 = { _0x47da24: 0x1d5 }, _0x53c54b = {
|
|
772
|
+
_0xf4eb8d: 0x28c,
|
|
773
|
+
_0x284e81: 0x1bc,
|
|
774
|
+
_0x5a1875: 0x2b1
|
|
775
|
+
}, _0x232fa2 = {
|
|
776
|
+
_0x4f8d63: 0x28c,
|
|
777
|
+
_0x32b3bf: 0x2ac,
|
|
778
|
+
_0x53229c: 0x2b1
|
|
779
|
+
}, _0x4d5877 = {
|
|
780
|
+
_0x328864: 0x1a1,
|
|
781
|
+
_0x40104c: 0x2b1
|
|
782
|
+
}, _0x23ca0b = {
|
|
783
|
+
_0x5daca1: 0x1cb,
|
|
784
|
+
_0x5d878e: 0x293,
|
|
785
|
+
_0x3476b4: 0x211
|
|
786
|
+
}, _0x23f913 = {
|
|
787
|
+
_0x24aac4: 0x16d,
|
|
788
|
+
_0x42bfcd: 0x1b4,
|
|
789
|
+
_0x4dc7a4: 0x1c6,
|
|
790
|
+
_0x315da7: 0x164
|
|
791
|
+
}, _0x29977e = {
|
|
792
|
+
_0x58a2e2: 0x1a1,
|
|
793
|
+
_0x13aafe: 0x2b1,
|
|
794
|
+
_0x32323f: 0x287
|
|
795
|
+
}, _0x1b6560 = {
|
|
796
|
+
_0x48d24c: 0x1a1,
|
|
797
|
+
_0x547993: 0x173
|
|
798
|
+
}, _0x49027f = {
|
|
799
|
+
_0x1ba8be: 0x220,
|
|
800
|
+
_0x1cfd82: 0x1f7
|
|
801
|
+
}, _0x2105a7 = {
|
|
802
|
+
_0x24a1c7: 0x1c1,
|
|
803
|
+
_0x1987f0: 0x22a,
|
|
804
|
+
_0x3e20bf: 0x1eb,
|
|
805
|
+
_0x3d6783: 0x1a1,
|
|
806
|
+
_0x2f30a7: 0x1a5,
|
|
807
|
+
_0x590637: 0x128,
|
|
808
|
+
_0x3bf988: 0x2b1,
|
|
809
|
+
_0x45315f: 0x1f7
|
|
810
|
+
}, _0x1ac081 = {
|
|
811
|
+
_0x14ccde: 0x133,
|
|
812
|
+
_0x40e7c7: 0x18f,
|
|
813
|
+
_0xc92c44: 0x1c5,
|
|
814
|
+
_0x3c7d32: 0x195,
|
|
815
|
+
_0x5c6679: 0x258,
|
|
816
|
+
_0x596d72: 0x1c5,
|
|
817
|
+
_0x3df4b8: 0x28c,
|
|
818
|
+
_0x2acf34: 0x1f7
|
|
819
|
+
}, _0xa7c811 = { _0x2598a3: 0x229 }, _0x290f0a = {
|
|
820
|
+
_0x5116b0: 0x1b6,
|
|
821
|
+
_0x5b8730: 0x1f2
|
|
822
|
+
}, _0x40944e = {
|
|
823
|
+
_0x1bf874: 0x277,
|
|
824
|
+
_0x29e80f: 0x1ae,
|
|
825
|
+
_0x567d64: 0x153,
|
|
826
|
+
_0x3728dd: 0x215,
|
|
827
|
+
_0x37f8e2: 0x177,
|
|
828
|
+
_0x18a585: 0x195,
|
|
829
|
+
_0x97b04d: 0x177
|
|
830
|
+
}, _0x78ce87 = {
|
|
831
|
+
_0x1fc41a: 0x153,
|
|
832
|
+
_0x44b018: 0x215,
|
|
833
|
+
_0x264885: 0x195
|
|
834
|
+
}, _0x14dce5 = { _0x22e2d0: 0x1b5 }, _0xe402a7 = {
|
|
835
|
+
_0x5a5146: 0x26f,
|
|
836
|
+
_0x5beeac: 0x20d
|
|
837
|
+
}, _0x5080b8 = {
|
|
838
|
+
_0x3c5527: 0x28c,
|
|
839
|
+
_0x3ad126: 0x1d7,
|
|
840
|
+
_0x3d0ff8: 0x2ae,
|
|
841
|
+
_0x54f27c: 0x1d7,
|
|
842
|
+
_0x136f7d: 0x1f7,
|
|
843
|
+
_0x33cc18: 0x237
|
|
844
|
+
}, _0x18375d = {
|
|
845
|
+
_0xd2850f: 0x28c,
|
|
846
|
+
_0x487fe1: 0x1eb,
|
|
847
|
+
_0x11b032: 0x214,
|
|
848
|
+
_0x27b52b: 0x1a1,
|
|
849
|
+
_0x454c0f: 0x1c1,
|
|
850
|
+
_0x421738: 0x2b1,
|
|
851
|
+
_0x4800f2: 0x258,
|
|
852
|
+
_0x391b6e: 0x2b2,
|
|
853
|
+
_0x55c235: 0x195,
|
|
854
|
+
_0x1c1e05: 0x1f7
|
|
855
|
+
}, _0x3dd5e2 = {
|
|
856
|
+
_0x30b084: 0x1af,
|
|
857
|
+
_0xde3934: 0x2b1
|
|
858
|
+
}, _0x4fa73d = {
|
|
859
|
+
_0x452990: 0x273,
|
|
860
|
+
_0x5f2083: 0x1a1,
|
|
861
|
+
_0x2904f5: 0x256
|
|
862
|
+
}, _0x400123 = {
|
|
863
|
+
_0x2959b7: 0x272,
|
|
864
|
+
_0x16515c: 0x272,
|
|
865
|
+
_0x5f2c8f: 0x272
|
|
866
|
+
}, _0x7b3dd9 = {
|
|
867
|
+
_0x2bcd4b: 0x2a3,
|
|
868
|
+
_0x160db2: 0x1ff,
|
|
869
|
+
_0x11592f: 0x26e,
|
|
870
|
+
_0x261c9f: 0x13a,
|
|
871
|
+
_0x1bb85e: 0x228,
|
|
872
|
+
_0x205388: 0x1c5
|
|
873
|
+
}, _0x3a55b8 = {
|
|
874
|
+
_0xccf4be: 0x151,
|
|
875
|
+
_0x207e7b: 0x1d3,
|
|
876
|
+
_0x3b386f: 0x2a8,
|
|
877
|
+
_0x199206: 0x247
|
|
878
|
+
}, _0x46e59f = {
|
|
879
|
+
_0x9d43a6: 0x18e,
|
|
880
|
+
_0x304857: 0x263,
|
|
881
|
+
_0x155690: 0x27c,
|
|
882
|
+
_0x9734f3: 0x222,
|
|
883
|
+
_0x19f25d: 0x2a4,
|
|
884
|
+
_0x58c8d9: 0x1ce,
|
|
885
|
+
_0x52770c: 0x1aa
|
|
886
|
+
}, _0x1b1d28 = _0x404ee2, _0x3f8ab2 = _0x31b80b[_0x1b1d28(_0x568249._0xa0a9ee)] ?? fetch, _0x5ef790 = _0x31b80b['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x2e1706 = typeof _0x31b80b[_0x1b1d28(_0x568249._0x307e07)] === _0x1b1d28(0x25f) && _0x31b80b[_0x1b1d28(0x233)] > 0x0 ? _0x31b80b['initialLastSeenSeq'] : 0x0, _0x25d0bb = _0x31b80b[_0x1b1d28(0x14e)]?.[_0x1b1d28(_0x568249._0x517556)]() || void 0x0, _0x1ad9fb = _0x31b80b[_0x1b1d28(_0x568249._0xc4ba9f)]?.['trim']() || void 0x0, _0x548bee = _0x31b80b[_0x1b1d28(0x158)] === !![], _0x3749a8 = _0x31b80b[_0x1b1d28(0x26d)]?.[_0x1b1d28(0x2a8)]() || void 0x0, _0x125477 = _0x31b80b[_0x1b1d28(0x1a4)]?.[_0x1b1d28(_0x568249._0x1cf49b)]() || void 0x0, _0x3b3190 = createHeaders(_0x31b80b[_0x1b1d28(0x180)]), _0x100ae2 = toHttpBaseUrl(_0x31b80b[_0x1b1d28(0x2b3)]);
|
|
887
|
+
let _0x3b48a7 = null;
|
|
888
|
+
const _0x2397f3 = new Map();
|
|
889
|
+
let _0x31990d = _0x2e1706, _0x5e1c46 = _0x2e1706;
|
|
890
|
+
function _0x311365(_0x5afa51) {
|
|
891
|
+
const _0x2f3e74 = _0x1b1d28, _0x2b8af8 = _0x5afa51[_0x2f3e74(_0x46e59f._0x9d43a6)][_0x2f3e74(0x213)][_0x2f3e74(0x228)](_0x2f3e74(_0x46e59f._0x304857)) ?? 'unknown', _0x56bed6 = _0x5afa51[_0x2f3e74(0x23b)][_0x2f3e74(0x2a8)]()[_0x2f3e74(_0x46e59f._0x155690)](/\s+/g, '\x20')[_0x2f3e74(0x1e3)](0x0, 0x78) || _0x2f3e74(_0x46e59f._0x9734f3);
|
|
892
|
+
return _0x2f3e74(_0x46e59f._0x19f25d) + _0x5afa51[_0x2f3e74(0x231)] + _0x2f3e74(_0x46e59f._0x58c8d9) + _0x5afa51[_0x2f3e74(0x18e)]['status'] + _0x2f3e74(0x26b) + _0x2b8af8 + _0x2f3e74(_0x46e59f._0x52770c) + _0x56bed6 + _0x2f3e74(0x1fe);
|
|
876
893
|
}
|
|
877
|
-
async function
|
|
878
|
-
const
|
|
879
|
-
if (!
|
|
894
|
+
async function _0x1fc2cd(_0x1863c9, _0x67ed07) {
|
|
895
|
+
const _0x3d318d = _0x1b1d28, _0x3d6665 = Buffer[_0x3d318d(0x18a)](await _0x67ed07[_0x3d318d(_0x3a55b8._0xccf4be)]())[_0x3d318d(0x203)](_0x3d318d(_0x3a55b8._0x207e7b));
|
|
896
|
+
if (!_0x3d6665[_0x3d318d(_0x3a55b8._0x3b386f)]())
|
|
880
897
|
return {};
|
|
881
898
|
try {
|
|
882
|
-
return JSON[
|
|
899
|
+
return JSON[_0x3d318d(_0x3a55b8._0x199206)](_0x3d6665);
|
|
883
900
|
} catch {
|
|
884
|
-
throw new Error(
|
|
885
|
-
'bodyText':
|
|
886
|
-
'requestUrl':
|
|
887
|
-
'response':
|
|
901
|
+
throw new Error(_0x311365({
|
|
902
|
+
'bodyText': _0x3d6665,
|
|
903
|
+
'requestUrl': _0x1863c9,
|
|
904
|
+
'response': _0x67ed07
|
|
888
905
|
}));
|
|
889
906
|
}
|
|
890
907
|
}
|
|
891
|
-
function
|
|
892
|
-
const
|
|
893
|
-
if (
|
|
894
|
-
return
|
|
895
|
-
const
|
|
896
|
-
for (const [
|
|
897
|
-
|
|
908
|
+
function _0x4fe766(_0x13cdf8, _0x47b1cd) {
|
|
909
|
+
const _0x468d89 = _0x1b1d28, _0x7858c8 = typeof _0x47b1cd[_0x468d89(0x1df)] === _0x468d89(0x1bf) ? _0x47b1cd[_0x468d89(0x1df)]['trim']() : '';
|
|
910
|
+
if (_0x7858c8)
|
|
911
|
+
return _0x7858c8;
|
|
912
|
+
const _0x4c1bb9 = Date[_0x468d89(_0x7b3dd9._0x2bcd4b)]();
|
|
913
|
+
for (const [_0x3e6558, _0x30db68] of _0x2397f3) {
|
|
914
|
+
_0x30db68[_0x468d89(_0x7b3dd9._0x160db2)] <= _0x4c1bb9 && _0x2397f3[_0x468d89(_0x7b3dd9._0x11592f)](_0x3e6558);
|
|
898
915
|
}
|
|
899
|
-
const
|
|
900
|
-
...
|
|
916
|
+
const _0x821dc6 = {
|
|
917
|
+
..._0x47b1cd,
|
|
901
918
|
'idempotency_key': void 0x0
|
|
902
|
-
},
|
|
903
|
-
if (
|
|
904
|
-
return
|
|
905
|
-
const
|
|
906
|
-
return
|
|
907
|
-
'expiresAt':
|
|
908
|
-
'value':
|
|
909
|
-
}),
|
|
919
|
+
}, _0x5b6fc3 = createHash(_0x468d89(0x1b3))[_0x468d89(_0x7b3dd9._0x261c9f)](_0x13cdf8 + ':' + stableStringify(_0x821dc6))['digest']('hex'), _0x488304 = _0x13cdf8 + ':' + _0x5b6fc3, _0x21f499 = _0x2397f3[_0x468d89(_0x7b3dd9._0x1bb85e)](_0x488304);
|
|
920
|
+
if (_0x21f499)
|
|
921
|
+
return _0x21f499['value'];
|
|
922
|
+
const _0x1eb55f = _0x468d89(0x285) + _0x13cdf8 + ':' + randomUUID();
|
|
923
|
+
return _0x2397f3[_0x468d89(_0x7b3dd9._0x205388)](_0x488304, {
|
|
924
|
+
'expiresAt': _0x4c1bb9 + 0x5 * 0x3c * 0x3e8,
|
|
925
|
+
'value': _0x1eb55f
|
|
926
|
+
}), _0x1eb55f;
|
|
910
927
|
}
|
|
911
|
-
async function
|
|
912
|
-
const
|
|
928
|
+
async function _0x1b036b(_0x2747e0, _0x29e45f) {
|
|
929
|
+
const _0x274b23 = _0x1b1d28, _0x27e4b6 = new AbortController(), _0x153e76 = setTimeout(() => _0x27e4b6[_0x274b23(0x208)](), _0x5ef790), _0x4f9d75 = _0x29e45f?.['signal'] ? anySignal(_0x29e45f[_0x274b23(_0x400123._0x2959b7)], _0x27e4b6[_0x274b23(_0x400123._0x16515c)]) : _0x27e4b6[_0x274b23(_0x400123._0x5f2c8f)], _0x4380d9 = '' + _0x100ae2 + _0x2747e0;
|
|
913
930
|
try {
|
|
914
|
-
const
|
|
915
|
-
...
|
|
916
|
-
'signal':
|
|
917
|
-
}),
|
|
918
|
-
if (!
|
|
919
|
-
throw new Error(asErrorMessage(
|
|
920
|
-
return
|
|
931
|
+
const _0x4d7cf7 = await _0x3f8ab2(_0x4380d9, {
|
|
932
|
+
..._0x29e45f,
|
|
933
|
+
'signal': _0x4f9d75
|
|
934
|
+
}), _0x3e3162 = await _0x1fc2cd(_0x4380d9, _0x4d7cf7);
|
|
935
|
+
if (!_0x4d7cf7['ok'] || _0x3e3162[_0x274b23(0x235)] === ![])
|
|
936
|
+
throw new Error(asErrorMessage(_0x3e3162[_0x274b23(0x1c6)], 'HTTP\x20' + _0x4d7cf7[_0x274b23(0x293)]));
|
|
937
|
+
return _0x3e3162;
|
|
921
938
|
} finally {
|
|
922
|
-
clearTimeout(
|
|
939
|
+
clearTimeout(_0x153e76);
|
|
923
940
|
}
|
|
924
941
|
}
|
|
925
|
-
async function
|
|
926
|
-
const
|
|
942
|
+
async function _0x44dbbb(_0x3d94fa, _0x683df1) {
|
|
943
|
+
const _0x58d18b = _0x1b1d28, _0x1569bf = new AbortController(), _0x46e6b0 = setTimeout(() => _0x1569bf[_0x58d18b(0x208)](), _0x5ef790), _0x3df60f = _0x683df1?.[_0x58d18b(0x272)] ? anySignal(_0x683df1[_0x58d18b(0x272)], _0x1569bf[_0x58d18b(0x272)]) : _0x1569bf[_0x58d18b(0x272)], _0x200ebe = '' + _0x100ae2 + _0x3d94fa;
|
|
927
944
|
try {
|
|
928
|
-
const
|
|
929
|
-
...
|
|
930
|
-
'signal':
|
|
931
|
-
}),
|
|
932
|
-
if (!
|
|
933
|
-
throw new Error(asErrorMessage(
|
|
934
|
-
return
|
|
945
|
+
const _0x4c7299 = await _0x3f8ab2(_0x200ebe, {
|
|
946
|
+
..._0x683df1,
|
|
947
|
+
'signal': _0x3df60f
|
|
948
|
+
}), _0x2cba22 = await _0x1fc2cd(_0x200ebe, _0x4c7299);
|
|
949
|
+
if (!_0x4c7299['ok'])
|
|
950
|
+
throw new Error(asErrorMessage(_0x2cba22[_0x58d18b(0x1c6)], 'HTTP\x20' + _0x4c7299['status']));
|
|
951
|
+
return _0x2cba22;
|
|
935
952
|
} finally {
|
|
936
|
-
clearTimeout(
|
|
953
|
+
clearTimeout(_0x46e6b0);
|
|
937
954
|
}
|
|
938
955
|
}
|
|
939
|
-
async function
|
|
940
|
-
const
|
|
941
|
-
if (!
|
|
956
|
+
async function _0x4fca2a(_0x4ba1d0) {
|
|
957
|
+
const _0xe53276 = _0x1b1d28;
|
|
958
|
+
if (!_0x1ad9fb || _0x4ba1d0 <= _0x5e1c46)
|
|
942
959
|
return;
|
|
943
|
-
await
|
|
944
|
-
'body': JSON[
|
|
945
|
-
'headers':
|
|
946
|
-
'method':
|
|
947
|
-
}),
|
|
960
|
+
await _0x1b036b(_0xe53276(0x242) + encodeURIComponent(_0x1ad9fb) + _0xe53276(_0x4fa73d._0x452990), {
|
|
961
|
+
'body': JSON[_0xe53276(_0x4fa73d._0x5f2083)]({ 'lastSeenSeq': _0x4ba1d0 }),
|
|
962
|
+
'headers': _0x3b3190,
|
|
963
|
+
'method': _0xe53276(_0x4fa73d._0x2904f5)
|
|
964
|
+
}), _0x5e1c46 = _0x4ba1d0;
|
|
948
965
|
}
|
|
949
|
-
async function
|
|
950
|
-
const
|
|
951
|
-
if (!
|
|
966
|
+
async function _0x26f45c(_0x37c312) {
|
|
967
|
+
const _0x4c00ec = _0x1b1d28;
|
|
968
|
+
if (!_0x25d0bb || !_0x3749a8 || _0x37c312 <= _0x5e1c46)
|
|
952
969
|
return;
|
|
953
|
-
const
|
|
954
|
-
'body': JSON[
|
|
955
|
-
'last_seen_seq':
|
|
956
|
-
'worker_session_id':
|
|
970
|
+
const _0x3a0a58 = await _0x3f8ab2(_0x25d0bb + _0x4c00ec(_0x3dd5e2._0x30b084), {
|
|
971
|
+
'body': JSON[_0x4c00ec(0x1a1)]({
|
|
972
|
+
'last_seen_seq': _0x37c312,
|
|
973
|
+
'worker_session_id': _0x3749a8
|
|
957
974
|
}),
|
|
958
|
-
'headers': { 'Content-Type':
|
|
959
|
-
'method':
|
|
975
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
976
|
+
'method': _0x4c00ec(_0x3dd5e2._0xde3934)
|
|
960
977
|
});
|
|
961
|
-
if (!
|
|
962
|
-
throw new Error(
|
|
963
|
-
|
|
978
|
+
if (!_0x3a0a58['ok'])
|
|
979
|
+
throw new Error('HTTP\x20' + _0x3a0a58['status']);
|
|
980
|
+
_0x5e1c46 = _0x37c312;
|
|
964
981
|
}
|
|
965
|
-
async function
|
|
966
|
-
const
|
|
967
|
-
'body': JSON[
|
|
968
|
-
'headers':
|
|
969
|
-
'method':
|
|
982
|
+
async function _0x2784e7(_0x3afbd4) {
|
|
983
|
+
const _0x2fffa2 = _0x1b1d28, _0x2b22d9 = parseTarget(_0x3afbd4), _0xe79f54 = await _0x1b036b(_0x2fffa2(_0x18375d._0xd2850f) + _0x31b80b[_0x2fffa2(_0x18375d._0x487fe1)] + _0x2fffa2(_0x18375d._0x11b032), {
|
|
984
|
+
'body': JSON[_0x2fffa2(_0x18375d._0x27b52b)]({ 'target': _0x2b22d9[_0x2fffa2(_0x18375d._0x454c0f)] }),
|
|
985
|
+
'headers': _0x3b3190,
|
|
986
|
+
'method': _0x2fffa2(_0x18375d._0x421738)
|
|
970
987
|
});
|
|
971
988
|
return {
|
|
972
|
-
'channelId':
|
|
973
|
-
'target':
|
|
974
|
-
'task':
|
|
975
|
-
'threadId':
|
|
976
|
-
'threadNumber':
|
|
989
|
+
'channelId': _0xe79f54[_0x2fffa2(0x1f7)]?.[_0x2fffa2(_0x18375d._0x4800f2)] ?? '',
|
|
990
|
+
'target': _0x2b22d9[_0x2fffa2(0x1ae)],
|
|
991
|
+
'task': _0xe79f54['data']?.[_0x2fffa2(_0x18375d._0x391b6e)],
|
|
992
|
+
'threadId': _0xe79f54['data']?.[_0x2fffa2(_0x18375d._0x55c235)],
|
|
993
|
+
'threadNumber': _0xe79f54[_0x2fffa2(_0x18375d._0x1c1e05)]?.[_0x2fffa2(0x153)]
|
|
977
994
|
};
|
|
978
995
|
}
|
|
979
|
-
async function
|
|
980
|
-
const
|
|
981
|
-
if (!
|
|
982
|
-
return
|
|
983
|
-
return
|
|
984
|
-
const
|
|
985
|
-
'headers':
|
|
986
|
-
'method':
|
|
987
|
-
}),
|
|
988
|
-
'id':
|
|
989
|
-
'name':
|
|
990
|
-
}))[
|
|
991
|
-
'id':
|
|
992
|
-
'name':
|
|
993
|
-
}))[
|
|
996
|
+
async function _0x5702ac(_0x44833d = {}) {
|
|
997
|
+
const _0x294ce3 = _0x1b1d28;
|
|
998
|
+
if (!_0x44833d[_0x294ce3(_0xe402a7._0x5a5146)] && _0x3b48a7)
|
|
999
|
+
return _0x3b48a7;
|
|
1000
|
+
return _0x3b48a7 = (async () => {
|
|
1001
|
+
const _0x40f82e = _0x294ce3, _0x355d81 = await _0x1b036b(_0x40f82e(_0x5080b8._0x3c5527) + _0x31b80b[_0x40f82e(0x1eb)] + '/server', {
|
|
1002
|
+
'headers': _0x3b3190,
|
|
1003
|
+
'method': _0x40f82e(0x29c)
|
|
1004
|
+
}), _0x2f9957 = _0x355d81[_0x40f82e(0x1f7)]?.[_0x40f82e(0x144)] ?? [], _0x553ae7 = _0x2f9957[_0x40f82e(_0x5080b8._0x3ad126)](_0x479d04 => _0x479d04[_0x40f82e(0x2a9)]?.[_0x40f82e(0x2a6)] === _0x40f82e(0x1a9))[_0x40f82e(0x2ae)](_0xf244ca => ({
|
|
1005
|
+
'id': _0x36833c(_0xf244ca),
|
|
1006
|
+
'name': _0x2c860c(_0xf244ca)
|
|
1007
|
+
}))[_0x40f82e(_0x5080b8._0x3ad126)](_0x132d98 => _0x132d98['id']), _0x5d40dd = _0x2f9957[_0x40f82e(_0x5080b8._0x3ad126)](_0x207e70 => _0x207e70[_0x40f82e(0x2a9)]?.[_0x40f82e(0x2a6)] !== _0x40f82e(0x1a9))[_0x40f82e(_0x5080b8._0x3d0ff8)](_0x3aa1a4 => ({
|
|
1008
|
+
'id': _0x36833c(_0x3aa1a4),
|
|
1009
|
+
'name': _0x2c860c(_0x3aa1a4)
|
|
1010
|
+
}))[_0x40f82e(_0x5080b8._0x54f27c)](_0x300db8 => _0x300db8['id']), _0x2f16a5 = _0x355d81[_0x40f82e(_0x5080b8._0x136f7d)]?.[_0x40f82e(0x237)]['id'] ?? '';
|
|
994
1011
|
return {
|
|
995
|
-
'agents':
|
|
996
|
-
'channels':
|
|
997
|
-
'humans':
|
|
998
|
-
'serverId':
|
|
999
|
-
'serverName':
|
|
1012
|
+
'agents': _0x553ae7,
|
|
1013
|
+
'channels': _0x355d81[_0x40f82e(_0x5080b8._0x136f7d)]?.[_0x40f82e(0x294)] ?? [],
|
|
1014
|
+
'humans': _0x5d40dd,
|
|
1015
|
+
'serverId': _0x2f16a5,
|
|
1016
|
+
'serverName': _0x355d81[_0x40f82e(_0x5080b8._0x136f7d)]?.[_0x40f82e(_0x5080b8._0x33cc18)]['name'] ?? _0x2f16a5
|
|
1000
1017
|
};
|
|
1001
|
-
})()[
|
|
1002
|
-
|
|
1003
|
-
throw
|
|
1004
|
-
}),
|
|
1018
|
+
})()[_0x294ce3(_0xe402a7._0x5beeac)](_0x30a1b8 => {
|
|
1019
|
+
_0x3b48a7 = null;
|
|
1020
|
+
throw _0x30a1b8;
|
|
1021
|
+
}), _0x3b48a7;
|
|
1005
1022
|
}
|
|
1006
|
-
function
|
|
1007
|
-
const
|
|
1008
|
-
return
|
|
1023
|
+
function _0x1f670f(_0x5dca7c, _0x5417d2) {
|
|
1024
|
+
const _0x4ff76d = _0x1b1d28;
|
|
1025
|
+
return _0x5417d2['agents'][_0x4ff76d(0x1ee)](_0xbe4949 => _0xbe4949['id'] === _0x5dca7c || _0xbe4949[_0x4ff76d(0x229)] === _0x5dca7c) ? _0x4ff76d(0x1a9) : _0x4ff76d(_0x14dce5._0x22e2d0);
|
|
1009
1026
|
}
|
|
1010
|
-
function
|
|
1011
|
-
const
|
|
1012
|
-
if (
|
|
1013
|
-
return
|
|
1014
|
-
if (
|
|
1015
|
-
return
|
|
1016
|
-
if (
|
|
1017
|
-
return
|
|
1018
|
-
return
|
|
1027
|
+
function _0x1c59a8(_0x268fb0) {
|
|
1028
|
+
const _0x5a5a93 = _0x1b1d28;
|
|
1029
|
+
if (_0x268fb0['threadNumber'] != null)
|
|
1030
|
+
return _0x268fb0[_0x5a5a93(0x1ae)] + ':t' + _0x268fb0[_0x5a5a93(_0x78ce87._0x1fc41a)];
|
|
1031
|
+
if (_0x268fb0[_0x5a5a93(_0x78ce87._0x44b018)])
|
|
1032
|
+
return _0x268fb0[_0x5a5a93(0x1ae)] + ':' + _0x268fb0[_0x5a5a93(0x215)];
|
|
1033
|
+
if (_0x268fb0[_0x5a5a93(_0x78ce87._0x264885)])
|
|
1034
|
+
return _0x268fb0[_0x5a5a93(0x1ae)] + ':' + _0x268fb0[_0x5a5a93(0x195)][_0x5a5a93(0x1e3)](0x0, 0x8);
|
|
1035
|
+
return _0x268fb0['channelTarget'];
|
|
1019
1036
|
}
|
|
1020
|
-
function
|
|
1021
|
-
const
|
|
1037
|
+
function _0x32dc93(_0x367d4d, _0x5306a6) {
|
|
1038
|
+
const _0x397ff8 = _0x1b1d28;
|
|
1022
1039
|
try {
|
|
1023
|
-
const
|
|
1024
|
-
if (
|
|
1040
|
+
const _0x343b89 = parseTarget(_0x367d4d);
|
|
1041
|
+
if (_0x343b89[_0x397ff8(_0x40944e._0x1bf874)] !== _0x397ff8(0x189) || _0x343b89[_0x397ff8(_0x40944e._0x29e80f)] !== _0x5306a6['channelTarget'])
|
|
1025
1042
|
return ![];
|
|
1026
|
-
if (
|
|
1043
|
+
if (_0x5306a6[_0x397ff8(0x153)] != null && _0x343b89['threadShortId'] === 't' + _0x5306a6[_0x397ff8(_0x40944e._0x567d64)])
|
|
1027
1044
|
return !![];
|
|
1028
|
-
if (
|
|
1029
|
-
return
|
|
1030
|
-
if (
|
|
1031
|
-
return
|
|
1045
|
+
if (_0x5306a6[_0x397ff8(0x215)])
|
|
1046
|
+
return _0x343b89['threadShortId'] === _0x5306a6[_0x397ff8(_0x40944e._0x3728dd)] || _0x5306a6[_0x397ff8(0x215)][_0x397ff8(_0x40944e._0x37f8e2)](_0x343b89[_0x397ff8(0x154)]);
|
|
1047
|
+
if (_0x5306a6['threadId'])
|
|
1048
|
+
return _0x343b89[_0x397ff8(0x154)] === _0x5306a6[_0x397ff8(_0x40944e._0x18a585)] || _0x5306a6[_0x397ff8(_0x40944e._0x18a585)][_0x397ff8(_0x40944e._0x97b04d)](_0x343b89[_0x397ff8(0x154)]);
|
|
1032
1049
|
return ![];
|
|
1033
1050
|
} catch {
|
|
1034
1051
|
return ![];
|
|
1035
1052
|
}
|
|
1036
1053
|
}
|
|
1037
|
-
function
|
|
1038
|
-
const
|
|
1039
|
-
return
|
|
1054
|
+
function _0x36833c(_0x54967a) {
|
|
1055
|
+
const _0x1d029d = _0x1b1d28;
|
|
1056
|
+
return _0x54967a[_0x1d029d(_0x290f0a._0x5116b0)]?.[_0x1d029d(0x1f2)] ?? _0x54967a[_0x1d029d(0x2a9)]?.['id'] ?? _0x54967a[_0x1d029d(_0x290f0a._0x5b8730)] ?? '';
|
|
1040
1057
|
}
|
|
1041
|
-
function
|
|
1042
|
-
const
|
|
1043
|
-
return
|
|
1058
|
+
function _0x2c860c(_0x4156ef) {
|
|
1059
|
+
const _0x18a034 = _0x1b1d28;
|
|
1060
|
+
return _0x4156ef['participant']?.[_0x18a034(_0xa7c811._0x2598a3)] ?? _0x36833c(_0x4156ef);
|
|
1044
1061
|
}
|
|
1045
|
-
async function
|
|
1046
|
-
const
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
const
|
|
1052
|
-
'headers':
|
|
1053
|
-
'method':
|
|
1054
|
-
}),
|
|
1055
|
-
'attachments': (
|
|
1056
|
-
'filename':
|
|
1057
|
-
'id':
|
|
1062
|
+
async function _0x334063(_0x13dd88) {
|
|
1063
|
+
const _0x8e3243 = _0x1b1d28, _0x222310 = Math[_0x8e3243(_0x1ac081._0x14ccde)](_0x13dd88[_0x8e3243(_0x1ac081._0x40e7c7)] ?? 0x32, 0x64), _0x123bfa = await _0x5702ac(), _0x26e030 = new URLSearchParams();
|
|
1064
|
+
_0x26e030[_0x8e3243(_0x1ac081._0xc92c44)](_0x8e3243(0x18f), String(_0x222310));
|
|
1065
|
+
_0x13dd88[_0x8e3243(_0x1ac081._0x3c7d32)] ? (_0x26e030[_0x8e3243(0x1c5)](_0x8e3243(0x195), _0x13dd88[_0x8e3243(_0x1ac081._0x3c7d32)]), _0x26e030[_0x8e3243(_0x1ac081._0xc92c44)](_0x8e3243(_0x1ac081._0x5c6679), _0x13dd88['channelId'])) : _0x26e030[_0x8e3243(0x1c5)](_0x8e3243(_0x1ac081._0x5c6679), _0x13dd88['channelId']);
|
|
1066
|
+
_0x13dd88[_0x8e3243(0x1ac)] && _0x26e030['set'](_0x8e3243(0x226), String(_0x13dd88[_0x8e3243(0x1ac)]));
|
|
1067
|
+
_0x13dd88['after'] !== void 0x0 && _0x26e030[_0x8e3243(_0x1ac081._0x596d72)](_0x8e3243(0x149), String(_0x13dd88[_0x8e3243(0x149)]));
|
|
1068
|
+
const _0x528bc1 = await _0x1b036b(_0x8e3243(_0x1ac081._0x3df4b8) + _0x31b80b['agentId'] + _0x8e3243(0x26a) + _0x26e030[_0x8e3243(0x203)](), {
|
|
1069
|
+
'headers': _0x3b3190,
|
|
1070
|
+
'method': 'GET'
|
|
1071
|
+
}), _0x4de3c8 = (_0x528bc1[_0x8e3243(_0x1ac081._0x2acf34)] ?? [])['map'](_0x234586 => ({
|
|
1072
|
+
'attachments': (_0x234586[_0x8e3243(0x198)] ?? [])[_0x8e3243(0x2ae)](_0x196fd9 => ({
|
|
1073
|
+
'filename': _0x196fd9[_0x8e3243(0x1e6)] ?? _0x196fd9['id'],
|
|
1074
|
+
'id': _0x196fd9['id']
|
|
1058
1075
|
})),
|
|
1059
|
-
'content':
|
|
1060
|
-
'createdAt':
|
|
1061
|
-
'messageId':
|
|
1062
|
-
'senderName':
|
|
1063
|
-
'senderType':
|
|
1064
|
-
'seq':
|
|
1076
|
+
'content': _0x234586[_0x8e3243(0x28d)] ?? '',
|
|
1077
|
+
'createdAt': _0x234586[_0x8e3243(0x252)],
|
|
1078
|
+
'messageId': _0x234586['id'],
|
|
1079
|
+
'senderName': _0x234586[_0x8e3243(0x27b)],
|
|
1080
|
+
'senderType': _0x1f670f(_0x234586[_0x8e3243(0x27b)], _0x123bfa),
|
|
1081
|
+
'seq': _0x234586['eventSeq'] ?? 0x0
|
|
1065
1082
|
}));
|
|
1066
1083
|
return {
|
|
1067
|
-
'channel':
|
|
1068
|
-
'hasMore':
|
|
1069
|
-
'messages':
|
|
1070
|
-
'nextCursor':
|
|
1084
|
+
'channel': _0x13dd88['channelTarget'],
|
|
1085
|
+
'hasMore': _0x528bc1[_0x8e3243(0x1f4)]?.['hasMore'] ?? ![],
|
|
1086
|
+
'messages': _0x4de3c8,
|
|
1087
|
+
'nextCursor': _0x528bc1[_0x8e3243(0x1f4)]?.['cursor']
|
|
1071
1088
|
};
|
|
1072
1089
|
}
|
|
1073
1090
|
return {
|
|
1074
|
-
async 'sendMessage'(
|
|
1075
|
-
const
|
|
1076
|
-
'body': JSON[
|
|
1077
|
-
'attachment_ids':
|
|
1078
|
-
'bodyMarkdown':
|
|
1079
|
-
'channelId':
|
|
1080
|
-
...
|
|
1081
|
-
'threadId':
|
|
1082
|
-
...
|
|
1091
|
+
async 'sendMessage'(_0x5a1e87) {
|
|
1092
|
+
const _0x6818d8 = _0x1b1d28, _0x5eb832 = await _0x2784e7(_0x5a1e87[_0x6818d8(_0x2105a7._0x24a1c7)]), _0x357f29 = _0x5a1e87[_0x6818d8(_0x2105a7._0x1987f0)]['includes']('@') ? extractMentionedParticipantIds(_0x5a1e87['content'], await _0x5702ac()) : [], _0x482e4a = await _0x1b036b('/internal/agent/' + _0x31b80b[_0x6818d8(_0x2105a7._0x3e20bf)] + _0x6818d8(0x1e9), {
|
|
1093
|
+
'body': JSON[_0x6818d8(_0x2105a7._0x3d6783)]({
|
|
1094
|
+
'attachment_ids': _0x5a1e87[_0x6818d8(_0x2105a7._0x2f30a7)],
|
|
1095
|
+
'bodyMarkdown': _0x5a1e87[_0x6818d8(0x22a)],
|
|
1096
|
+
'channelId': _0x5eb832[_0x6818d8(0x258)],
|
|
1097
|
+
..._0x357f29[_0x6818d8(0x1b0)] > 0x0 ? { 'mentionedParticipantIds': _0x357f29 } : {},
|
|
1098
|
+
'threadId': _0x5eb832[_0x6818d8(0x195)],
|
|
1099
|
+
..._0x5a1e87[_0x6818d8(0x128)] ? { 'visibility': _0x5a1e87[_0x6818d8(_0x2105a7._0x590637)] } : {}
|
|
1083
1100
|
}),
|
|
1084
|
-
'headers':
|
|
1085
|
-
'method':
|
|
1101
|
+
'headers': _0x3b3190,
|
|
1102
|
+
'method': _0x6818d8(_0x2105a7._0x3bf988)
|
|
1086
1103
|
});
|
|
1087
|
-
return { 'messageId':
|
|
1104
|
+
return { 'messageId': _0x482e4a[_0x6818d8(_0x2105a7._0x45315f)]?.['id'] ?? '' };
|
|
1088
1105
|
},
|
|
1089
1106
|
async 'listSchedules'() {
|
|
1090
|
-
const
|
|
1091
|
-
'headers':
|
|
1092
|
-
'method':
|
|
1107
|
+
const _0x278aaf = _0x1b1d28, _0x111a3e = await _0x1b036b(_0x278aaf(_0x49027f._0x1ba8be), {
|
|
1108
|
+
'headers': _0x3b3190,
|
|
1109
|
+
'method': _0x278aaf(0x29c)
|
|
1093
1110
|
});
|
|
1094
|
-
return
|
|
1111
|
+
return _0x111a3e[_0x278aaf(_0x49027f._0x1cfd82)] ?? [];
|
|
1095
1112
|
},
|
|
1096
|
-
async 'claimScheduleRun'(
|
|
1097
|
-
const
|
|
1098
|
-
'body': JSON[
|
|
1099
|
-
'headers':
|
|
1113
|
+
async 'claimScheduleRun'(_0x54d1e4) {
|
|
1114
|
+
const _0x1f71d3 = _0x1b1d28, _0x103595 = await _0x1b036b('/api/internal/schedules/claim', {
|
|
1115
|
+
'body': JSON[_0x1f71d3(_0x1b6560._0x48d24c)](_0x54d1e4),
|
|
1116
|
+
'headers': _0x3b3190,
|
|
1100
1117
|
'method': 'POST'
|
|
1101
1118
|
});
|
|
1102
|
-
return
|
|
1119
|
+
return _0x103595[_0x1f71d3(0x1f7)] ?? {
|
|
1103
1120
|
'granted': ![],
|
|
1104
1121
|
'runId': null,
|
|
1105
1122
|
'schedule': null,
|
|
1106
|
-
'scheduledFor':
|
|
1123
|
+
'scheduledFor': _0x54d1e4[_0x1f71d3(_0x1b6560._0x547993)]
|
|
1107
1124
|
};
|
|
1108
1125
|
},
|
|
1109
|
-
async 'startScheduleRun'(
|
|
1110
|
-
const
|
|
1111
|
-
'body': JSON[
|
|
1112
|
-
'headers':
|
|
1113
|
-
'method':
|
|
1126
|
+
async 'startScheduleRun'(_0x2479c0) {
|
|
1127
|
+
const _0x1ce4d2 = _0x1b1d28, _0x460a67 = await _0x1b036b(_0x1ce4d2(0x13e) + encodeURIComponent(_0x2479c0[_0x1ce4d2(0x16d)]) + _0x1ce4d2(0x254), {
|
|
1128
|
+
'body': JSON[_0x1ce4d2(_0x29977e._0x58a2e2)]({}),
|
|
1129
|
+
'headers': _0x3b3190,
|
|
1130
|
+
'method': _0x1ce4d2(_0x29977e._0x13aafe)
|
|
1114
1131
|
});
|
|
1115
|
-
return
|
|
1132
|
+
return _0x460a67[_0x1ce4d2(0x1f7)] ?? {
|
|
1116
1133
|
'claimedByDaemonId': '',
|
|
1117
|
-
'id':
|
|
1134
|
+
'id': _0x2479c0['runId'],
|
|
1118
1135
|
'scheduleId': '',
|
|
1119
|
-
'status':
|
|
1136
|
+
'status': _0x1ce4d2(_0x29977e._0x32323f)
|
|
1120
1137
|
};
|
|
1121
1138
|
},
|
|
1122
|
-
async 'finishScheduleRun'(
|
|
1123
|
-
const
|
|
1124
|
-
'body': JSON[
|
|
1125
|
-
'error':
|
|
1126
|
-
'resultJson':
|
|
1127
|
-
'status':
|
|
1139
|
+
async 'finishScheduleRun'(_0x3c0e37) {
|
|
1140
|
+
const _0x168a70 = _0x1b1d28, _0xfaf660 = await _0x1b036b('/api/internal/schedules/' + encodeURIComponent(_0x3c0e37[_0x168a70(_0x23f913._0x24aac4)]) + _0x168a70(_0x23f913._0x42bfcd), {
|
|
1141
|
+
'body': JSON['stringify']({
|
|
1142
|
+
'error': _0x3c0e37[_0x168a70(_0x23f913._0x4dc7a4)],
|
|
1143
|
+
'resultJson': _0x3c0e37[_0x168a70(_0x23f913._0x315da7)],
|
|
1144
|
+
'status': _0x3c0e37[_0x168a70(0x293)]
|
|
1128
1145
|
}),
|
|
1129
|
-
'headers':
|
|
1130
|
-
'method':
|
|
1146
|
+
'headers': _0x3b3190,
|
|
1147
|
+
'method': _0x168a70(0x2b1)
|
|
1131
1148
|
});
|
|
1132
|
-
return
|
|
1149
|
+
return _0xfaf660[_0x168a70(0x1f7)] ?? {
|
|
1133
1150
|
'nextRunAt': null,
|
|
1134
1151
|
'run': {
|
|
1135
1152
|
'claimedByDaemonId': '',
|
|
1136
|
-
'id':
|
|
1153
|
+
'id': _0x3c0e37[_0x168a70(_0x23f913._0x24aac4)],
|
|
1137
1154
|
'scheduleId': '',
|
|
1138
|
-
'status':
|
|
1155
|
+
'status': _0x3c0e37[_0x168a70(0x293)]
|
|
1139
1156
|
}
|
|
1140
1157
|
};
|
|
1141
1158
|
},
|
|
1142
|
-
async 'listTasks'(
|
|
1143
|
-
const
|
|
1144
|
-
return
|
|
1145
|
-
'headers':
|
|
1159
|
+
async 'listTasks'(_0x2383ed) {
|
|
1160
|
+
const _0xf95bae = _0x1b1d28, _0x16415d = new URLSearchParams();
|
|
1161
|
+
return _0x16415d[_0xf95bae(0x1c5)](_0xf95bae(_0x23ca0b._0x5daca1), _0x2383ed['channel']), _0x2383ed['status'] && _0x16415d[_0xf95bae(0x1c5)](_0xf95bae(_0x23ca0b._0x5d878e), _0x2383ed[_0xf95bae(0x293)]), _0x44dbbb('/internal/agent/' + _0x31b80b[_0xf95bae(0x1eb)] + _0xf95bae(_0x23ca0b._0x3476b4) + _0x16415d[_0xf95bae(0x203)](), {
|
|
1162
|
+
'headers': _0x3b3190,
|
|
1146
1163
|
'method': 'GET'
|
|
1147
1164
|
});
|
|
1148
1165
|
},
|
|
1149
|
-
async 'createTasks'(
|
|
1150
|
-
const
|
|
1151
|
-
return
|
|
1152
|
-
'body': JSON[
|
|
1153
|
-
...
|
|
1154
|
-
'idempotency_key':
|
|
1166
|
+
async 'createTasks'(_0x54825e) {
|
|
1167
|
+
const _0x1f4a14 = _0x1b1d28;
|
|
1168
|
+
return _0x44dbbb(_0x1f4a14(0x28c) + _0x31b80b['agentId'] + _0x1f4a14(0x1e7), {
|
|
1169
|
+
'body': JSON[_0x1f4a14(_0x4d5877._0x328864)]({
|
|
1170
|
+
..._0x54825e,
|
|
1171
|
+
'idempotency_key': _0x4fe766(_0x1f4a14(0x274), _0x54825e)
|
|
1155
1172
|
}),
|
|
1156
|
-
'headers':
|
|
1157
|
-
'method':
|
|
1173
|
+
'headers': _0x3b3190,
|
|
1174
|
+
'method': _0x1f4a14(_0x4d5877._0x40104c)
|
|
1158
1175
|
});
|
|
1159
1176
|
},
|
|
1160
|
-
async 'claimTasks'(
|
|
1161
|
-
const
|
|
1162
|
-
return
|
|
1163
|
-
'body': JSON[
|
|
1164
|
-
...
|
|
1165
|
-
'idempotency_key':
|
|
1177
|
+
async 'claimTasks'(_0x3e35a7) {
|
|
1178
|
+
const _0x262b65 = _0x1b1d28;
|
|
1179
|
+
return _0x44dbbb(_0x262b65(_0x232fa2._0x4f8d63) + _0x31b80b[_0x262b65(0x1eb)] + _0x262b65(_0x232fa2._0x32b3bf), {
|
|
1180
|
+
'body': JSON[_0x262b65(0x1a1)]({
|
|
1181
|
+
..._0x3e35a7,
|
|
1182
|
+
'idempotency_key': _0x4fe766(_0x262b65(0x212), _0x3e35a7)
|
|
1166
1183
|
}),
|
|
1167
|
-
'headers':
|
|
1168
|
-
'method':
|
|
1184
|
+
'headers': _0x3b3190,
|
|
1185
|
+
'method': _0x262b65(_0x232fa2._0x53229c)
|
|
1169
1186
|
});
|
|
1170
1187
|
},
|
|
1171
|
-
async 'unclaimTask'(
|
|
1172
|
-
const
|
|
1173
|
-
return
|
|
1174
|
-
'body': JSON[
|
|
1175
|
-
...
|
|
1176
|
-
'idempotency_key':
|
|
1188
|
+
async 'unclaimTask'(_0x1f5b98) {
|
|
1189
|
+
const _0x4e38b3 = _0x1b1d28;
|
|
1190
|
+
return _0x44dbbb(_0x4e38b3(_0x53c54b._0xf4eb8d) + _0x31b80b['agentId'] + _0x4e38b3(0x138), {
|
|
1191
|
+
'body': JSON[_0x4e38b3(0x1a1)]({
|
|
1192
|
+
..._0x1f5b98,
|
|
1193
|
+
'idempotency_key': _0x4fe766(_0x4e38b3(_0x53c54b._0x284e81), _0x1f5b98)
|
|
1177
1194
|
}),
|
|
1178
|
-
'headers':
|
|
1179
|
-
'method':
|
|
1195
|
+
'headers': _0x3b3190,
|
|
1196
|
+
'method': _0x4e38b3(_0x53c54b._0x5a1875)
|
|
1180
1197
|
});
|
|
1181
1198
|
},
|
|
1182
|
-
async 'updateTaskStatus'(
|
|
1183
|
-
const
|
|
1184
|
-
return
|
|
1185
|
-
'body': JSON[
|
|
1186
|
-
...
|
|
1187
|
-
'idempotency_key':
|
|
1199
|
+
async 'updateTaskStatus'(_0x2dc4d3) {
|
|
1200
|
+
const _0x26d8e5 = _0x1b1d28;
|
|
1201
|
+
return _0x44dbbb('/internal/agent/' + _0x31b80b['agentId'] + _0x26d8e5(_0x4bf8e0._0x47da24), {
|
|
1202
|
+
'body': JSON['stringify']({
|
|
1203
|
+
..._0x2dc4d3,
|
|
1204
|
+
'idempotency_key': _0x4fe766('update_task_status', _0x2dc4d3)
|
|
1188
1205
|
}),
|
|
1189
|
-
'headers':
|
|
1190
|
-
'method':
|
|
1206
|
+
'headers': _0x3b3190,
|
|
1207
|
+
'method': _0x26d8e5(0x2b1)
|
|
1191
1208
|
});
|
|
1192
1209
|
},
|
|
1193
|
-
async 'uploadFile'(
|
|
1194
|
-
const
|
|
1195
|
-
if (
|
|
1196
|
-
throw new Error(
|
|
1197
|
-
const
|
|
1198
|
-
'body': JSON[
|
|
1199
|
-
'channel':
|
|
1200
|
-
'contentBase64':
|
|
1201
|
-
'contentType':
|
|
1202
|
-
'originalFilename':
|
|
1210
|
+
async 'uploadFile'(_0x156bb3) {
|
|
1211
|
+
const _0xd05e54 = _0x1b1d28, _0x16f6dc = await _0x2784e7(_0x156bb3[_0xd05e54(_0x5a536f._0x590872)]);
|
|
1212
|
+
if (_0x16f6dc[_0xd05e54(0x195)])
|
|
1213
|
+
throw new Error(_0xd05e54(0x279));
|
|
1214
|
+
const _0x26df75 = await _0x1b036b(_0xd05e54(_0x5a536f._0x49992a) + _0x31b80b['agentId'] + '/upload', {
|
|
1215
|
+
'body': JSON[_0xd05e54(0x1a1)]({
|
|
1216
|
+
'channel': _0x16f6dc[_0xd05e54(_0x5a536f._0x33b5a8)],
|
|
1217
|
+
'contentBase64': _0x156bb3[_0xd05e54(_0x5a536f._0xfb2e6)],
|
|
1218
|
+
'contentType': _0x156bb3[_0xd05e54(0x1fa)],
|
|
1219
|
+
'originalFilename': _0x156bb3[_0xd05e54(0x1e6)]
|
|
1203
1220
|
}),
|
|
1204
|
-
'headers':
|
|
1205
|
-
'method':
|
|
1221
|
+
'headers': _0x3b3190,
|
|
1222
|
+
'method': _0xd05e54(_0x5a536f._0x305a26)
|
|
1206
1223
|
});
|
|
1207
1224
|
return {
|
|
1208
|
-
'attachmentId':
|
|
1209
|
-
'filename':
|
|
1210
|
-
'sizeBytes':
|
|
1225
|
+
'attachmentId': _0x26df75['data']?.['id'] ?? '',
|
|
1226
|
+
'filename': _0x26df75['data']?.[_0xd05e54(_0x5a536f._0x302443)] ?? _0x156bb3[_0xd05e54(0x1e6)],
|
|
1227
|
+
'sizeBytes': _0x26df75[_0xd05e54(0x1f7)]?.['sizeBytes'] ?? 0x0
|
|
1211
1228
|
};
|
|
1212
1229
|
},
|
|
1213
|
-
async 'downloadAttachment'(
|
|
1214
|
-
const
|
|
1215
|
-
'headers':
|
|
1216
|
-
'method':
|
|
1217
|
-
}),
|
|
1230
|
+
async 'downloadAttachment'(_0x2ed6bd) {
|
|
1231
|
+
const _0x225ab4 = _0x1b1d28, _0x5900bc = await _0x1b036b(_0x225ab4(_0x160919._0x10e404) + _0x2ed6bd, {
|
|
1232
|
+
'headers': _0x3b3190,
|
|
1233
|
+
'method': _0x225ab4(_0x160919._0x45b676)
|
|
1234
|
+
}), _0x1b3dc2 = new AbortController(), _0xdda266 = setTimeout(() => _0x1b3dc2[_0x225ab4(0x208)](), _0x5ef790);
|
|
1218
1235
|
try {
|
|
1219
|
-
const
|
|
1220
|
-
'headers':
|
|
1221
|
-
'method':
|
|
1222
|
-
'signal':
|
|
1236
|
+
const _0x4d6fbd = await _0x3f8ab2(_0x100ae2 + _0x225ab4(0x1ba) + _0x2ed6bd + '/content', {
|
|
1237
|
+
'headers': _0x3b3190,
|
|
1238
|
+
'method': _0x225ab4(0x29c),
|
|
1239
|
+
'signal': _0x1b3dc2[_0x225ab4(0x272)]
|
|
1223
1240
|
});
|
|
1224
|
-
if (!
|
|
1225
|
-
throw new Error(
|
|
1241
|
+
if (!_0x4d6fbd['ok'])
|
|
1242
|
+
throw new Error('HTTP\x20' + _0x4d6fbd[_0x225ab4(0x293)]);
|
|
1226
1243
|
return {
|
|
1227
|
-
'contentType':
|
|
1228
|
-
'data': Buffer[
|
|
1229
|
-
'originalFilename':
|
|
1244
|
+
'contentType': _0x5900bc[_0x225ab4(_0x160919._0x409321)]?.[_0x225ab4(0x1fa)] ?? _0x4d6fbd[_0x225ab4(_0x160919._0x487edb)]['get'](_0x225ab4(_0x160919._0x50f4f2)) ?? _0x225ab4(_0x160919._0x2ad7a1),
|
|
1245
|
+
'data': Buffer[_0x225ab4(_0x160919._0x142b74)](await _0x4d6fbd['arrayBuffer']()),
|
|
1246
|
+
'originalFilename': _0x5900bc[_0x225ab4(_0x160919._0x24fa38)]?.[_0x225ab4(0x1bb)]
|
|
1230
1247
|
};
|
|
1231
1248
|
} finally {
|
|
1232
|
-
clearTimeout(
|
|
1249
|
+
clearTimeout(_0xdda266);
|
|
1233
1250
|
}
|
|
1234
1251
|
},
|
|
1235
1252
|
async 'listServer'() {
|
|
1236
|
-
return
|
|
1253
|
+
return _0x5702ac({ 'forceRefresh': !![] });
|
|
1237
1254
|
},
|
|
1238
|
-
async 'readHistory'(
|
|
1239
|
-
const
|
|
1240
|
-
return
|
|
1241
|
-
'after':
|
|
1242
|
-
'before':
|
|
1243
|
-
'channelId':
|
|
1244
|
-
'channelTarget':
|
|
1245
|
-
'limit':
|
|
1246
|
-
'threadId':
|
|
1255
|
+
async 'readHistory'(_0x126d8d) {
|
|
1256
|
+
const _0x1011f8 = _0x1b1d28, _0x1cee8b = await _0x2784e7(_0x126d8d[_0x1011f8(_0x9e0b9c._0x3088c6)]);
|
|
1257
|
+
return _0x334063({
|
|
1258
|
+
'after': _0x126d8d[_0x1011f8(_0x9e0b9c._0x368948)],
|
|
1259
|
+
'before': _0x126d8d[_0x1011f8(_0x9e0b9c._0x360a2d)],
|
|
1260
|
+
'channelId': _0x1cee8b[_0x1011f8(0x258)],
|
|
1261
|
+
'channelTarget': _0x1cee8b[_0x1011f8(0x1c1)],
|
|
1262
|
+
'limit': _0x126d8d[_0x1011f8(_0x9e0b9c._0x840063)],
|
|
1263
|
+
'threadId': _0x1cee8b[_0x1011f8(_0x9e0b9c._0x3ccf2b)]
|
|
1247
1264
|
});
|
|
1248
1265
|
},
|
|
1249
|
-
'resolveTarget':
|
|
1266
|
+
'resolveTarget': _0x2784e7,
|
|
1250
1267
|
async 'checkMessages'() {
|
|
1251
|
-
const
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
},
|
|
1255
|
-
|
|
1256
|
-
const
|
|
1257
|
-
'headers':
|
|
1258
|
-
'method':
|
|
1259
|
-
}),
|
|
1260
|
-
let
|
|
1261
|
-
|
|
1262
|
-
|
|
1268
|
+
const _0x506ddc = {
|
|
1269
|
+
_0x148af0: 0x1bf,
|
|
1270
|
+
_0x3d1855: 0x2b5
|
|
1271
|
+
}, _0x4984e4 = _0x1b1d28, _0x33e6bc = new URLSearchParams();
|
|
1272
|
+
_0x33e6bc[_0x4984e4(_0x339e77._0x1f1da6)](_0x4984e4(0x159), String(_0x31990d));
|
|
1273
|
+
const _0x507094 = _0x33e6bc[_0x4984e4(_0x339e77._0x8b30e6)](), _0x5e5c0c = await _0x1b036b(_0x4984e4(_0x339e77._0x2a79c1) + _0x31b80b[_0x4984e4(0x1eb)] + _0x4984e4(0x142) + (_0x507094 ? '?' + _0x507094 : ''), {
|
|
1274
|
+
'headers': _0x3b3190,
|
|
1275
|
+
'method': 'GET'
|
|
1276
|
+
}), _0x57d41b = _0x5e5c0c[_0x4984e4(0x1f7)] ?? [], _0x4da184 = _0x5e5c0c[_0x4984e4(0x1f4)]?.[_0x4984e4(0x226)], _0x5c65b4 = _0x4da184 !== void 0x0 ? Math[_0x4984e4(0x1d4)](_0x31990d, _0x4da184) : _0x57d41b['length'] > 0x0 ? Math[_0x4984e4(0x1d4)](_0x31990d, _0x57d41b[_0x57d41b[_0x4984e4(0x1b0)] - 0x1][_0x4984e4(0x1a7)]) : _0x31990d, _0x24b964 = _0x57d41b[_0x4984e4(0x1d7)](_0x26ee53 => _0x26ee53['aggregateType'] === _0x4984e4(0x1ec)), _0x38a683 = _0x125477 === void 0x0 && _0x548bee;
|
|
1277
|
+
let _0x4458a9 = await _0x5702ac(), _0x346e34 = new Map(_0x4458a9[_0x4984e4(0x294)]['map'](_0x590868 => [
|
|
1278
|
+
_0x590868['id'],
|
|
1279
|
+
_0x590868
|
|
1263
1280
|
]));
|
|
1264
|
-
const
|
|
1265
|
-
const
|
|
1266
|
-
return Boolean(
|
|
1281
|
+
const _0xb4548b = _0x24b964[_0x4984e4(0x1ee)](_0x4ca13e => {
|
|
1282
|
+
const _0x158892 = _0x4984e4, _0x450c29 = asRecord(_0x4ca13e['payloadJson']), _0x39313b = typeof _0x450c29?.['channelId'] === _0x158892(_0x506ddc._0x148af0) ? _0x450c29[_0x158892(0x258)] : '';
|
|
1283
|
+
return Boolean(_0x39313b) && !_0x346e34[_0x158892(_0x506ddc._0x3d1855)](_0x39313b);
|
|
1267
1284
|
});
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1285
|
+
_0xb4548b && (_0x4458a9 = await _0x5702ac({ 'forceRefresh': !![] }), _0x346e34 = new Map(_0x4458a9[_0x4984e4(0x294)][_0x4984e4(0x2ae)](_0x49da48 => [
|
|
1286
|
+
_0x49da48['id'],
|
|
1287
|
+
_0x49da48
|
|
1271
1288
|
])));
|
|
1272
|
-
const
|
|
1273
|
-
for (const
|
|
1274
|
-
const
|
|
1275
|
-
if (!
|
|
1289
|
+
const _0x2c9113 = new Map();
|
|
1290
|
+
for (const _0x310b81 of _0x24b964) {
|
|
1291
|
+
const _0x44d55f = asRecord(_0x310b81[_0x4984e4(0x299)]), _0x5213cd = typeof _0x44d55f[_0x4984e4(_0x339e77._0x7ae645)] === _0x4984e4(0x1bf) ? _0x44d55f['channelId'] : '';
|
|
1292
|
+
if (!_0x5213cd)
|
|
1276
1293
|
continue;
|
|
1277
|
-
const
|
|
1294
|
+
const _0xce069c = typeof _0x44d55f[_0x4984e4(_0x339e77._0x465f51)] === 'string' ? _0x44d55f[_0x4984e4(_0x339e77._0x141a7c)] : void 0x0, _0x3836a7 = typeof _0x44d55f['rootMessageId'] === _0x4984e4(_0x339e77._0x596ed0) ? _0x44d55f[_0x4984e4(_0x339e77._0x226cb9)] : void 0x0, _0x13cc12 = typeof _0x44d55f['threadNumber'] === _0x4984e4(_0x339e77._0x1e9be4) && Number[_0x4984e4(_0x339e77._0x5a1932)](_0x44d55f[_0x4984e4(0x153)]) ? _0x44d55f[_0x4984e4(0x153)] : void 0x0, _0x1c8018 = Boolean(_0xce069c && (!_0x3836a7 || _0x310b81[_0x4984e4(_0x339e77._0x1c60fe)] !== _0x3836a7)), _0x496693 = _0x1c8018 ? _0x5213cd + ':' + _0xce069c : _0x5213cd, _0x19e965 = _0x2c9113[_0x4984e4(_0x339e77._0x30dd48)](_0x496693) ?? {
|
|
1278
1295
|
'aggregateIds': [],
|
|
1279
|
-
'channelId':
|
|
1296
|
+
'channelId': _0x5213cd,
|
|
1280
1297
|
'entries': new Map(),
|
|
1281
|
-
'isThreadReply':
|
|
1282
|
-
'rootMessageId':
|
|
1283
|
-
'threadNumber':
|
|
1284
|
-
'threadId':
|
|
1298
|
+
'isThreadReply': _0x1c8018,
|
|
1299
|
+
'rootMessageId': _0x3836a7,
|
|
1300
|
+
'threadNumber': _0x13cc12,
|
|
1301
|
+
'threadId': _0x1c8018 ? _0xce069c : void 0x0
|
|
1285
1302
|
};
|
|
1286
|
-
|
|
1287
|
-
'payloadJson':
|
|
1288
|
-
'seq':
|
|
1289
|
-
}),
|
|
1303
|
+
_0x19e965[_0x4984e4(_0x339e77._0x317525)] == null && _0x13cc12 != null && (_0x19e965[_0x4984e4(_0x339e77._0x28a09d)] = _0x13cc12), !_0x19e965[_0x4984e4(0x215)] && _0x3836a7 && (_0x19e965[_0x4984e4(0x215)] = _0x3836a7), _0x19e965['aggregateIds'][_0x4984e4(0x146)](_0x310b81[_0x4984e4(0x1de)]), _0x19e965[_0x4984e4(0x188)][_0x4984e4(_0x339e77._0x1f1da6)](_0x310b81['aggregateId'], {
|
|
1304
|
+
'payloadJson': _0x310b81[_0x4984e4(_0x339e77._0x5bbfb1)],
|
|
1305
|
+
'seq': _0x310b81[_0x4984e4(0x1a7)]
|
|
1306
|
+
}), _0x2c9113[_0x4984e4(_0x339e77._0x1f1da6)](_0x496693, _0x19e965);
|
|
1290
1307
|
}
|
|
1291
|
-
const
|
|
1292
|
-
for (const
|
|
1308
|
+
const _0xac0e9e = [];
|
|
1309
|
+
for (const _0x2593a6 of _0x2c9113[_0x4984e4(0x143)]()) {
|
|
1293
1310
|
const {
|
|
1294
|
-
channelId:
|
|
1295
|
-
threadId:
|
|
1296
|
-
rootMessageId:
|
|
1297
|
-
threadNumber:
|
|
1298
|
-
aggregateIds:
|
|
1299
|
-
isThreadReply:
|
|
1300
|
-
entries:
|
|
1301
|
-
} =
|
|
1302
|
-
'channelTarget':
|
|
1303
|
-
'rootMessageId':
|
|
1304
|
-
'threadId':
|
|
1305
|
-
'threadNumber':
|
|
1306
|
-
},
|
|
1307
|
-
'channelId':
|
|
1308
|
-
'channelTarget':
|
|
1309
|
-
'limit': Math[
|
|
1310
|
-
'threadId':
|
|
1311
|
-
}),
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
])),
|
|
1315
|
-
for (const
|
|
1316
|
-
if (!
|
|
1311
|
+
channelId: _0x1e4580,
|
|
1312
|
+
threadId: _0x30f4bf,
|
|
1313
|
+
rootMessageId: _0x2484f1,
|
|
1314
|
+
threadNumber: _0x327980,
|
|
1315
|
+
aggregateIds: _0x407a79,
|
|
1316
|
+
isThreadReply: _0x2affd3,
|
|
1317
|
+
entries: _0x2f465f
|
|
1318
|
+
} = _0x2593a6, _0x4e6c20 = _0x346e34[_0x4984e4(_0x339e77._0x1c1b9c)](_0x1e4580), _0x1f8468 = _0x4e6c20?.[_0x4984e4(0x229)] ?? _0x1e4580, _0x34fb33 = _0x4e6c20?.[_0x4984e4(0x277)] === 'dm' ? _0x4984e4(_0x339e77._0x25ed59) + _0x1f8468 : '#' + _0x1f8468, _0x37b565 = {
|
|
1319
|
+
'channelTarget': _0x34fb33,
|
|
1320
|
+
'rootMessageId': _0x2484f1,
|
|
1321
|
+
'threadId': _0x30f4bf,
|
|
1322
|
+
'threadNumber': _0x327980
|
|
1323
|
+
}, _0x1dc0c0 = await _0x334063({
|
|
1324
|
+
'channelId': _0x1e4580,
|
|
1325
|
+
'channelTarget': _0x34fb33,
|
|
1326
|
+
'limit': Math['max'](_0x407a79['length'], 0x32),
|
|
1327
|
+
'threadId': _0x30f4bf
|
|
1328
|
+
}), _0x533efa = new Map(_0x1dc0c0[_0x4984e4(0x28e)][_0x4984e4(_0x339e77._0x3962e2)](_0x5bfbbe => [
|
|
1329
|
+
_0x5bfbbe[_0x4984e4(0x29b)],
|
|
1330
|
+
_0x5bfbbe
|
|
1331
|
+
])), _0x504371 = _0x30f4bf ? _0x1c59a8(_0x37b565) : _0x34fb33, _0x293dbe = _0x125477 ? _0x2affd3 && _0x32dc93(_0x125477, _0x37b565) : !![], _0x4d1dd8 = _0x2affd3 ? _0x293dbe && _0x125477 ? _0x125477 : _0x504371 : _0x34fb33;
|
|
1332
|
+
for (const _0x33ed37 of _0x407a79) {
|
|
1333
|
+
if (!_0x293dbe)
|
|
1317
1334
|
continue;
|
|
1318
|
-
const
|
|
1319
|
-
if (
|
|
1335
|
+
const _0x5f17af = _0x2f465f['get'](_0x33ed37), _0x9130a5 = _0x5f17af ? asRecord(_0x5f17af[_0x4984e4(0x299)]) : void 0x0, _0x231501 = _0x9130a5?.[_0x4984e4(_0x339e77._0x321a82)] === 'targeted';
|
|
1336
|
+
if (_0x38a683 && _0x231501)
|
|
1320
1337
|
continue;
|
|
1321
|
-
const
|
|
1322
|
-
if (
|
|
1323
|
-
|
|
1324
|
-
'attachments':
|
|
1325
|
-
'content':
|
|
1326
|
-
'createdAt':
|
|
1327
|
-
'messageId':
|
|
1328
|
-
'senderName':
|
|
1329
|
-
'senderType':
|
|
1330
|
-
'target':
|
|
1331
|
-
...
|
|
1338
|
+
const _0x529863 = _0x533efa[_0x4984e4(0x228)](_0x33ed37);
|
|
1339
|
+
if (_0x529863) {
|
|
1340
|
+
_0xac0e9e[_0x4984e4(_0x339e77._0x3234df)]({
|
|
1341
|
+
'attachments': _0x529863[_0x4984e4(0x198)],
|
|
1342
|
+
'content': _0x529863[_0x4984e4(_0x339e77._0x4a1b38)],
|
|
1343
|
+
'createdAt': _0x529863[_0x4984e4(_0x339e77._0x58ee06)],
|
|
1344
|
+
'messageId': _0x529863[_0x4984e4(0x29b)],
|
|
1345
|
+
'senderName': _0x529863[_0x4984e4(_0x339e77._0x4f01cd)],
|
|
1346
|
+
'senderType': _0x529863[_0x4984e4(0x291)],
|
|
1347
|
+
'target': _0x4d1dd8,
|
|
1348
|
+
..._0x231501 ? { 'targetedTask': !![] } : {}
|
|
1332
1349
|
});
|
|
1333
1350
|
continue;
|
|
1334
1351
|
}
|
|
1335
|
-
if (
|
|
1336
|
-
const
|
|
1337
|
-
|
|
1352
|
+
if (_0x5f17af) {
|
|
1353
|
+
const _0x1370b0 = typeof _0x9130a5?.[_0x4984e4(_0x339e77._0x43e644)] === _0x4984e4(0x1bf) ? _0x9130a5[_0x4984e4(0x27b)] : '', _0x282de2 = typeof _0x9130a5?.['bodyMarkdown'] === _0x4984e4(_0x339e77._0xf00063) ? _0x9130a5['bodyMarkdown'] : '';
|
|
1354
|
+
_0x1370b0 && _0x282de2 && _0xac0e9e['push']({
|
|
1338
1355
|
'attachments': [],
|
|
1339
|
-
'content':
|
|
1340
|
-
'createdAt': new Date()[
|
|
1341
|
-
'messageId':
|
|
1342
|
-
'senderName':
|
|
1343
|
-
'senderType':
|
|
1344
|
-
'target':
|
|
1345
|
-
...
|
|
1356
|
+
'content': _0x282de2,
|
|
1357
|
+
'createdAt': new Date()[_0x4984e4(0x17b)](),
|
|
1358
|
+
'messageId': _0x33ed37,
|
|
1359
|
+
'senderName': _0x1370b0,
|
|
1360
|
+
'senderType': _0x1f670f(_0x1370b0, _0x4458a9),
|
|
1361
|
+
'target': _0x4d1dd8,
|
|
1362
|
+
..._0x231501 ? { 'targetedTask': !![] } : {}
|
|
1346
1363
|
});
|
|
1347
1364
|
}
|
|
1348
1365
|
}
|
|
1349
1366
|
}
|
|
1350
|
-
if (
|
|
1351
|
-
if (
|
|
1352
|
-
await
|
|
1367
|
+
if (_0x5c65b4 > 0x0) {
|
|
1368
|
+
if (_0x1ad9fb)
|
|
1369
|
+
await _0x4fca2a(_0x5c65b4);
|
|
1353
1370
|
else
|
|
1354
|
-
|
|
1371
|
+
_0x3749a8 && await _0x26f45c(_0x5c65b4);
|
|
1355
1372
|
}
|
|
1356
|
-
return
|
|
1373
|
+
return _0x5c65b4 > _0x31990d && (_0x31990d = _0x5c65b4), { 'messages': _0x125477 ? _0xac0e9e : _0x38a683 ? _0xac0e9e['filter'](_0x3ec820 => _0x3ec820[_0x4984e4(0x20b)] !== !![]) : _0xac0e9e };
|
|
1357
1374
|
}
|
|
1358
1375
|
};
|
|
1359
1376
|
}
|
|
1360
|
-
function toLocalTime(
|
|
1361
|
-
const
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1377
|
+
function toLocalTime(_0x43f3a0) {
|
|
1378
|
+
const _0xddca8e = {
|
|
1379
|
+
_0x5583b7: 0x1dd,
|
|
1380
|
+
_0x587b5e: 0x2a0,
|
|
1381
|
+
_0x273e08: 0x163,
|
|
1382
|
+
_0x2f547d: 0x21d
|
|
1383
|
+
}, _0x2a8e8b = _0x404ee2, _0x23e3cd = new Date(_0x43f3a0);
|
|
1384
|
+
if (Number[_0x2a8e8b(_0xddca8e._0x5583b7)](_0x23e3cd[_0x2a8e8b(0x276)]()))
|
|
1385
|
+
return _0x43f3a0;
|
|
1386
|
+
const _0x4f6027 = _0x4854b7 => String(_0x4854b7)[_0x2a8e8b(0x1c2)](0x2, '0');
|
|
1387
|
+
return _0x23e3cd[_0x2a8e8b(0x14b)]() + '-' + _0x4f6027(_0x23e3cd[_0x2a8e8b(0x1a2)]() + 0x1) + '-' + _0x4f6027(_0x23e3cd[_0x2a8e8b(_0xddca8e._0x587b5e)]()) + '\x20' + _0x4f6027(_0x23e3cd[_0x2a8e8b(_0xddca8e._0x273e08)]()) + ':' + _0x4f6027(_0x23e3cd[_0x2a8e8b(_0xddca8e._0x2f547d)]()) + ':' + _0x4f6027(_0x23e3cd['getSeconds']());
|
|
1370
1388
|
}
|
|
1371
|
-
function formatAttachmentSuffix(
|
|
1372
|
-
const
|
|
1373
|
-
|
|
1374
|
-
_0x147a7b: 0x1d4
|
|
1375
|
-
}, _0x19d6aa = _0x566b69;
|
|
1376
|
-
if (!_0x58c8f2 || _0x58c8f2[_0x19d6aa(_0x46f00c._0x18bf1d)] === 0x0)
|
|
1389
|
+
function formatAttachmentSuffix(_0x5cde35) {
|
|
1390
|
+
const _0x11c57b = _0x404ee2;
|
|
1391
|
+
if (!_0x5cde35 || _0x5cde35[_0x11c57b(0x1b0)] === 0x0)
|
|
1377
1392
|
return '';
|
|
1378
|
-
return '\x20[' +
|
|
1393
|
+
return '\x20[' + _0x5cde35[_0x11c57b(0x1b0)] + _0x11c57b(0x2b4) + (_0x5cde35[_0x11c57b(0x1b0)] > 0x1 ? 's' : '') + ':\x20' + _0x5cde35['map'](_0x13da04 => _0x13da04[_0x11c57b(0x1e6)] + _0x11c57b(0x25c) + _0x13da04['id'] + ')')['join'](',\x20') + _0x11c57b(0x298);
|
|
1379
1394
|
}
|
|
1380
|
-
function formatCheckMessages(
|
|
1381
|
-
const
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
},
|
|
1392
|
-
if (
|
|
1393
|
-
return
|
|
1394
|
-
return
|
|
1395
|
-
const
|
|
1396
|
-
return '[target=' +
|
|
1397
|
-
})[
|
|
1395
|
+
function formatCheckMessages(_0x4cd237) {
|
|
1396
|
+
const _0x39ccb7 = {
|
|
1397
|
+
_0x45d0e7: 0x1b0,
|
|
1398
|
+
_0x388c06: 0x21b,
|
|
1399
|
+
_0x48f4c0: 0x2ae
|
|
1400
|
+
}, _0x1934db = {
|
|
1401
|
+
_0x4a68a0: 0x29b,
|
|
1402
|
+
_0x16a4cb: 0x1e3,
|
|
1403
|
+
_0x3a0c3e: 0x22d,
|
|
1404
|
+
_0x2785c9: 0x252,
|
|
1405
|
+
_0x35a70a: 0x198
|
|
1406
|
+
}, _0x55f5f0 = _0x404ee2;
|
|
1407
|
+
if (_0x4cd237[_0x55f5f0(_0x39ccb7._0x45d0e7)] === 0x0)
|
|
1408
|
+
return _0x55f5f0(_0x39ccb7._0x388c06);
|
|
1409
|
+
return _0x4cd237[_0x55f5f0(_0x39ccb7._0x48f4c0)](_0x322a0f => {
|
|
1410
|
+
const _0x2e3994 = _0x55f5f0, _0x7b3e52 = _0x322a0f[_0x2e3994(0x291)] === 'agent' ? '\x20type=agent' : '';
|
|
1411
|
+
return '[target=' + _0x322a0f[_0x2e3994(0x1c1)] + '\x20msg=' + _0x322a0f[_0x2e3994(_0x1934db._0x4a68a0)][_0x2e3994(_0x1934db._0x16a4cb)](0x0, 0x8) + _0x2e3994(_0x1934db._0x3a0c3e) + toLocalTime(_0x322a0f[_0x2e3994(_0x1934db._0x2785c9)]) + _0x7b3e52 + _0x2e3994(0x1f6) + _0x322a0f[_0x2e3994(0x27d)] + ':\x20' + _0x322a0f['content'] + formatAttachmentSuffix(_0x322a0f[_0x2e3994(_0x1934db._0x35a70a)]);
|
|
1412
|
+
})[_0x55f5f0(0x147)]('\x0a');
|
|
1398
1413
|
}
|
|
1399
|
-
function formatHistory(
|
|
1400
|
-
const
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
}, _0x33e664 = _0x566b69;
|
|
1419
|
-
if (_0x312e84[_0x33e664(0x2f4)]['length'] === 0x0)
|
|
1420
|
-
return _0x33e664(0x276) + _0x312e84[_0x33e664(0x1b0)] + _0x33e664(_0x380f42._0x508c31);
|
|
1421
|
-
const _0x5a2146 = _0x312e84[_0x33e664(_0x380f42._0x160bed)]['map'](_0x57a858 => {
|
|
1422
|
-
const _0x588923 = _0x33e664, _0x23799d = _0x57a858[_0x588923(_0x527ce2._0x13230c)] === _0x588923(_0x527ce2._0x226955) ? _0x588923(_0x527ce2._0x29d480) : '';
|
|
1423
|
-
return '[seq=' + _0x57a858['seq'] + '\x20msg=' + _0x57a858[_0x588923(_0x527ce2._0xeca6ea)] + _0x588923(0x2ef) + toLocalTime(_0x57a858[_0x588923(_0x527ce2._0x2cc226)]) + _0x23799d + _0x588923(_0x527ce2._0x40fbb7) + _0x57a858[_0x588923(_0x527ce2._0x5f22a6)] + ':\x20' + _0x57a858[_0x588923(_0x527ce2._0x116fb6)] + formatAttachmentSuffix(_0x57a858[_0x588923(0x22b)]);
|
|
1424
|
-
})[_0x33e664(0x1d4)]('\x0a'), _0x33cff5 = _0x312e84[_0x33e664(_0x380f42._0x5335f1)] && _0x312e84[_0x33e664(_0x380f42._0x2413c0)] ? _0x33e664(_0x380f42._0x593242) + _0x312e84[_0x33e664(_0x380f42._0x160bed)][_0x33e664(_0x380f42._0x2c0e4b)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x312e84[_0x33e664(0x1d2)] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1425
|
-
return _0x33e664(0x276) + _0x312e84[_0x33e664(_0x380f42._0x4775b2)] + '\x20(' + _0x312e84['messages'][_0x33e664(0x1ba)] + _0x33e664(_0x380f42._0x2d85a3) + _0x5a2146 + _0x33cff5;
|
|
1414
|
+
function formatHistory(_0x405db8) {
|
|
1415
|
+
const _0x3745bb = {
|
|
1416
|
+
_0x12a85a: 0x162,
|
|
1417
|
+
_0x1113f9: 0x28e,
|
|
1418
|
+
_0x10a4b2: 0x25d,
|
|
1419
|
+
_0x2f4638: 0x1b0
|
|
1420
|
+
}, _0x8ec1c9 = {
|
|
1421
|
+
_0x2c7452: 0x25b,
|
|
1422
|
+
_0xb58e35: 0x1a7,
|
|
1423
|
+
_0x2d1fc6: 0x252,
|
|
1424
|
+
_0x53cf3c: 0x1f6
|
|
1425
|
+
}, _0x49f3c4 = _0x404ee2;
|
|
1426
|
+
if (_0x405db8['messages']['length'] === 0x0)
|
|
1427
|
+
return _0x49f3c4(_0x3745bb._0x12a85a) + _0x405db8[_0x49f3c4(0x1cb)] + _0x49f3c4(0x26c);
|
|
1428
|
+
const _0x273519 = _0x405db8['messages'][_0x49f3c4(0x2ae)](_0x4ff315 => {
|
|
1429
|
+
const _0x115f21 = _0x49f3c4, _0x246323 = _0x4ff315[_0x115f21(0x291)] === 'agent' ? _0x115f21(0x261) : '';
|
|
1430
|
+
return _0x115f21(_0x8ec1c9._0x2c7452) + _0x4ff315[_0x115f21(_0x8ec1c9._0xb58e35)] + _0x115f21(0x271) + _0x4ff315[_0x115f21(0x29b)] + _0x115f21(0x22d) + toLocalTime(_0x4ff315[_0x115f21(_0x8ec1c9._0x2d1fc6)]) + _0x246323 + _0x115f21(_0x8ec1c9._0x53cf3c) + _0x4ff315[_0x115f21(0x27d)] + ':\x20' + _0x4ff315['content'] + formatAttachmentSuffix(_0x4ff315[_0x115f21(0x198)]);
|
|
1431
|
+
})[_0x49f3c4(0x147)]('\x0a'), _0x820ac2 = _0x405db8['hasMore'] && _0x405db8['nextCursor'] ? '\x0a\x0a---\x20' + _0x405db8[_0x49f3c4(_0x3745bb._0x1113f9)]['length'] + '\x20messages\x20shown.\x20Use\x20before=' + _0x405db8[_0x49f3c4(0x15a)] + _0x49f3c4(_0x3745bb._0x10a4b2) : '';
|
|
1432
|
+
return _0x49f3c4(_0x3745bb._0x12a85a) + _0x405db8[_0x49f3c4(0x1cb)] + '\x20(' + _0x405db8[_0x49f3c4(0x28e)][_0x49f3c4(_0x3745bb._0x2f4638)] + _0x49f3c4(0x22e) + _0x273519 + _0x820ac2;
|
|
1426
1433
|
}
|
|
1427
|
-
function formatServerDirectory(
|
|
1428
|
-
const
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1434
|
+
function formatServerDirectory(_0x353ff5) {
|
|
1435
|
+
const _0x465546 = {
|
|
1436
|
+
_0x56985b: 0x294,
|
|
1437
|
+
_0x221351: 0x294,
|
|
1438
|
+
_0x4b8632: 0x2ae,
|
|
1439
|
+
_0x52257f: 0x221,
|
|
1440
|
+
_0x52c8f9: 0x2ae,
|
|
1441
|
+
_0x44e83f: 0x147,
|
|
1442
|
+
_0x620493: 0x12c,
|
|
1443
|
+
_0xb88ac8: 0x13f
|
|
1444
|
+
}, _0x425d7c = _0x404ee2, _0x20a3a4 = _0x353ff5[_0x425d7c(_0x465546._0x56985b)]['length'] > 0x0 ? _0x353ff5[_0x425d7c(_0x465546._0x221351)][_0x425d7c(_0x465546._0x4b8632)](_0x3647d0 => _0x3647d0[_0x425d7c(0x1ca)] ? '-\x20#' + _0x3647d0[_0x425d7c(0x229)] + _0x425d7c(0x23a) + _0x3647d0[_0x425d7c(0x1ca)] : _0x425d7c(0x219) + _0x3647d0[_0x425d7c(0x229)])[_0x425d7c(0x147)]('\x0a') : _0x425d7c(0x12c), _0x266f47 = _0x353ff5['agents']['length'] > 0x0 ? _0x353ff5[_0x425d7c(_0x465546._0x52257f)][_0x425d7c(_0x465546._0x52c8f9)](_0x374ef8 => '-\x20@' + _0x374ef8['name'])[_0x425d7c(0x147)]('\x0a') : _0x425d7c(0x12c), _0x22f731 = _0x353ff5['humans'][_0x425d7c(0x1b0)] > 0x0 ? _0x353ff5[_0x425d7c(0x284)]['map'](_0x221b3b => _0x425d7c(0x168) + _0x221b3b['name'])[_0x425d7c(_0x465546._0x44e83f)]('\x0a') : _0x425d7c(_0x465546._0x620493);
|
|
1435
1445
|
return [
|
|
1436
|
-
|
|
1446
|
+
_0x425d7c(0x1b9) + _0x353ff5[_0x425d7c(0x12d)],
|
|
1437
1447
|
'',
|
|
1438
|
-
|
|
1439
|
-
|
|
1448
|
+
_0x425d7c(0x136),
|
|
1449
|
+
_0x20a3a4,
|
|
1440
1450
|
'',
|
|
1441
|
-
|
|
1442
|
-
|
|
1451
|
+
_0x425d7c(0x246),
|
|
1452
|
+
_0x266f47,
|
|
1443
1453
|
'',
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
][
|
|
1454
|
+
_0x425d7c(_0x465546._0xb88ac8),
|
|
1455
|
+
_0x22f731
|
|
1456
|
+
][_0x425d7c(0x147)]('\x0a');
|
|
1457
|
+
}
|
|
1458
|
+
function _0x5d14(_0x506560, _0x41a0cd) {
|
|
1459
|
+
_0x506560 = _0x506560 - 0x125;
|
|
1460
|
+
const _0x2d0dd6 = _0x2d0d();
|
|
1461
|
+
let _0x5d146c = _0x2d0dd6[_0x506560];
|
|
1462
|
+
if (_0x5d14['XTzmBH'] === undefined) {
|
|
1463
|
+
var _0x45cedb = function (_0x2a72e9) {
|
|
1464
|
+
const _0x5bb643 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1465
|
+
let _0x6a8220 = '', _0x50e420 = '';
|
|
1466
|
+
for (let _0x11696b = 0x0, _0x44864d, _0x335a7b, _0x14b0e1 = 0x0; _0x335a7b = _0x2a72e9['charAt'](_0x14b0e1++); ~_0x335a7b && (_0x44864d = _0x11696b % 0x4 ? _0x44864d * 0x40 + _0x335a7b : _0x335a7b, _0x11696b++ % 0x4) ? _0x6a8220 += String['fromCharCode'](0xff & _0x44864d >> (-0x2 * _0x11696b & 0x6)) : 0x0) {
|
|
1467
|
+
_0x335a7b = _0x5bb643['indexOf'](_0x335a7b);
|
|
1468
|
+
}
|
|
1469
|
+
for (let _0x25d18a = 0x0, _0x3b2bff = _0x6a8220['length']; _0x25d18a < _0x3b2bff; _0x25d18a++) {
|
|
1470
|
+
_0x50e420 += '%' + ('00' + _0x6a8220['charCodeAt'](_0x25d18a)['toString'](0x10))['slice'](-0x2);
|
|
1471
|
+
}
|
|
1472
|
+
return decodeURIComponent(_0x50e420);
|
|
1473
|
+
};
|
|
1474
|
+
_0x5d14['fudoLc'] = _0x45cedb, _0x5d14['FieVcr'] = {}, _0x5d14['XTzmBH'] = !![];
|
|
1475
|
+
}
|
|
1476
|
+
const _0x3428a6 = _0x2d0dd6[0x0], _0x2bf538 = _0x506560 + _0x3428a6, _0x24d716 = _0x5d14['FieVcr'][_0x2bf538];
|
|
1477
|
+
return !_0x24d716 ? (_0x5d146c = _0x5d14['fudoLc'](_0x5d146c), _0x5d14['FieVcr'][_0x2bf538] = _0x5d146c) : _0x5d146c = _0x24d716, _0x5d146c;
|
|
1447
1478
|
}
|
|
1448
|
-
function formatUploadResult(
|
|
1449
|
-
const
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
return 'File\x20uploaded:\x20' + _0xb8e8dd[_0x3021cb(_0x7f3fa9._0xed751b)] + '\x20(' + (_0xb8e8dd[_0x3021cb(_0x7f3fa9._0xa989ef)] / 0x400)[_0x3021cb(0x2f7)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0xb8e8dd[_0x3021cb(0x2a2)] + _0x3021cb(_0x7f3fa9._0x107d6e);
|
|
1479
|
+
function formatUploadResult(_0x1e4334) {
|
|
1480
|
+
const _0x135812 = {
|
|
1481
|
+
_0x2b8ab4: 0x225,
|
|
1482
|
+
_0x1f519f: 0x187
|
|
1483
|
+
}, _0x3fb8ee = _0x404ee2;
|
|
1484
|
+
return _0x3fb8ee(0x18c) + _0x1e4334[_0x3fb8ee(0x1e6)] + '\x20(' + (_0x1e4334[_0x3fb8ee(_0x135812._0x2b8ab4)] / 0x400)[_0x3fb8ee(0x170)](0x1) + _0x3fb8ee(0x216) + _0x1e4334[_0x3fb8ee(0x2b6)] + _0x3fb8ee(_0x135812._0x1f519f);
|
|
1455
1485
|
}
|
|
1456
|
-
function formatViewFileResult(
|
|
1457
|
-
const
|
|
1458
|
-
return
|
|
1486
|
+
function formatViewFileResult(_0x372bb2, _0x41a105) {
|
|
1487
|
+
const _0x246595 = _0x404ee2;
|
|
1488
|
+
return _0x41a105 ? _0x246595(0x186) + _0x372bb2 : _0x246595(0x25a) + _0x372bb2;
|
|
1459
1489
|
}
|
|
1460
|
-
function formatTaskList(
|
|
1461
|
-
const
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
},
|
|
1469
|
-
if (
|
|
1470
|
-
return
|
|
1471
|
-
return
|
|
1472
|
-
const
|
|
1473
|
-
return
|
|
1474
|
-
})[
|
|
1490
|
+
function formatTaskList(_0x53bb3f, _0x1bf8d4) {
|
|
1491
|
+
const _0x468656 = { _0x270c22: 0x17f }, _0xe36db1 = {
|
|
1492
|
+
_0x13af6d: 0x1fb,
|
|
1493
|
+
_0xf77e13: 0x17a,
|
|
1494
|
+
_0x41772e: 0x29b,
|
|
1495
|
+
_0x27036d: 0x1fb,
|
|
1496
|
+
_0x1d0111: 0x293,
|
|
1497
|
+
_0x702e2: 0x201
|
|
1498
|
+
}, _0x3c6bea = _0x404ee2;
|
|
1499
|
+
if (_0x53bb3f['length'] === 0x0)
|
|
1500
|
+
return _0x3c6bea(_0x468656._0x270c22);
|
|
1501
|
+
return _0x53bb3f['map'](_0x3908c4 => {
|
|
1502
|
+
const _0x5a750c = _0x3c6bea, _0x4efd97 = _0x3908c4[_0x5a750c(_0xe36db1._0x13af6d)] == null ? '(legacy)' : '#' + _0x3908c4[_0x5a750c(0x1fb)], _0x3dcb28 = _0x3908c4[_0x5a750c(0x29b)] ? _0x5a750c(_0xe36db1._0xf77e13) + _0x3908c4[_0x5a750c(_0xe36db1._0x41772e)] : '', _0x40359f = _0x1bf8d4 && _0x3908c4[_0x5a750c(0x1fb)] != null && _0x1bf8d4[_0x5a750c(0x2b5)](_0x3908c4[_0x5a750c(_0xe36db1._0x27036d)]) ? _0x5a750c(0x241) : '';
|
|
1503
|
+
return _0x4efd97 + '\x20[' + _0x3908c4[_0x5a750c(_0xe36db1._0x1d0111)] + ']\x20' + _0x3908c4[_0x5a750c(_0xe36db1._0x702e2)] + _0x3dcb28 + _0x40359f;
|
|
1504
|
+
})['join']('\x0a');
|
|
1475
1505
|
}
|
|
1476
|
-
function formatCreatedTasks(
|
|
1477
|
-
const
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
},
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
return
|
|
1486
|
-
|
|
1487
|
-
const _0x2a97ad = _0x1b1207, _0x5d861f = _0x392a49[_0x2a97ad(_0x20f6a6._0x690e2e)] == null ? _0x2a97ad(0x1bb) : '#' + _0x392a49[_0x2a97ad(0x258)];
|
|
1488
|
-
return _0x5d861f + '\x20' + _0x392a49['title'] + '\x20message=' + _0x392a49[_0x2a97ad(_0x20f6a6._0x1e2fb0)];
|
|
1489
|
-
})[_0x1b1207(_0x22e4c8._0x1e7641)]('\x0a');
|
|
1506
|
+
function formatCreatedTasks(_0x5c6eaf) {
|
|
1507
|
+
const _0xdaa74c = { _0x379e1a: 0x2ae }, _0x19f1de = {
|
|
1508
|
+
_0x113311: 0x201,
|
|
1509
|
+
_0x3eab62: 0x29b
|
|
1510
|
+
}, _0x4e6fba = _0x404ee2;
|
|
1511
|
+
if (_0x5c6eaf['length'] === 0x0)
|
|
1512
|
+
return 'No\x20tasks\x20created.';
|
|
1513
|
+
return _0x5c6eaf[_0x4e6fba(_0xdaa74c._0x379e1a)](_0x22720a => {
|
|
1514
|
+
const _0x1b875a = _0x4e6fba, _0x57c032 = _0x22720a['taskNumber'] == null ? _0x1b875a(0x227) : '#' + _0x22720a['taskNumber'];
|
|
1515
|
+
return _0x57c032 + '\x20' + _0x22720a[_0x1b875a(_0x19f1de._0x113311)] + _0x1b875a(0x17a) + _0x22720a[_0x1b875a(_0x19f1de._0x3eab62)];
|
|
1516
|
+
})[_0x4e6fba(0x147)]('\x0a');
|
|
1490
1517
|
}
|
|
1491
|
-
function formatClaimTaskResults(
|
|
1492
|
-
const
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
_0x2b1212[_0x32becc(0x1b5)] ? _0x32becc(0x26b) : null,
|
|
1517
|
-
_0x2b1212[_0x32becc(0x24d)] ? _0x32becc(0x2d8) + _0x2b1212[_0x32becc(0x24d)] : null,
|
|
1518
|
-
_0x2b1212[_0x32becc(0x1f7)] ? _0x32becc(0x211) + _0x2b1212[_0x32becc(_0x2b61a4._0x221781)] : null,
|
|
1519
|
-
_0x2b1212[_0x32becc(_0x2b61a4._0x3f3cc4)] ? _0x32becc(_0x2b61a4._0x5d4e3e) + _0x2b1212[_0x32becc(0x2c1)] : null
|
|
1520
|
-
][_0x32becc(0x277)](Boolean)[_0x32becc(_0x2b61a4._0x2f1e7d)]('\x20');
|
|
1521
|
-
return _0x35d5ed + '\x20claimed' + _0x4cc9f2 + '\x20' + _0x24775c + _0x32becc(0x274);
|
|
1518
|
+
function formatClaimTaskResults(_0x516004) {
|
|
1519
|
+
const _0x1612d4 = { _0xb5fa16: 0x1b0 }, _0x4c5cc1 = {
|
|
1520
|
+
_0x12a441: 0x1fb,
|
|
1521
|
+
_0x2d2d9d: 0x29b,
|
|
1522
|
+
_0x42f9c1: 0x232,
|
|
1523
|
+
_0x378716: 0x282,
|
|
1524
|
+
_0xc62470: 0x1bd,
|
|
1525
|
+
_0xe125bd: 0x29b,
|
|
1526
|
+
_0x4b6edc: 0x199
|
|
1527
|
+
}, _0x36b362 = _0x404ee2;
|
|
1528
|
+
if (_0x516004[_0x36b362(_0x1612d4._0xb5fa16)] === 0x0)
|
|
1529
|
+
return _0x36b362(0x16b);
|
|
1530
|
+
return _0x516004['map'](_0x380d53 => {
|
|
1531
|
+
const _0x53bc2c = _0x36b362;
|
|
1532
|
+
if (_0x380d53[_0x53bc2c(0x235)]) {
|
|
1533
|
+
const _0x5c8435 = _0x380d53[_0x53bc2c(_0x4c5cc1._0x12a441)] == null ? '(legacy)' : '#' + _0x380d53[_0x53bc2c(0x1fb)], _0x233bec = _0x380d53[_0x53bc2c(_0x4c5cc1._0x2d2d9d)] ? _0x53bc2c(0x17a) + _0x380d53['messageId'] : '';
|
|
1534
|
+
if (_0x380d53[_0x53bc2c(0x278)]) {
|
|
1535
|
+
const _0x76c503 = [
|
|
1536
|
+
'workerHandoff=true',
|
|
1537
|
+
_0x380d53[_0x53bc2c(0x12f)] ? _0x53bc2c(0x1c4) : null,
|
|
1538
|
+
_0x380d53['executionMode'] ? _0x53bc2c(0x1c8) + _0x380d53[_0x53bc2c(_0x4c5cc1._0x42f9c1)] : null,
|
|
1539
|
+
_0x380d53[_0x53bc2c(_0x4c5cc1._0x378716)] ? 'threadTarget=' + _0x380d53[_0x53bc2c(0x282)] : null,
|
|
1540
|
+
_0x380d53[_0x53bc2c(0x19c)] ? _0x53bc2c(0x2a5) + _0x380d53[_0x53bc2c(0x19c)] : null
|
|
1541
|
+
][_0x53bc2c(0x1d7)](Boolean)[_0x53bc2c(0x147)]('\x20');
|
|
1542
|
+
return _0x5c8435 + _0x53bc2c(0x24c) + _0x233bec + '\x20' + _0x76c503 + _0x53bc2c(0x288);
|
|
1522
1543
|
}
|
|
1523
|
-
const
|
|
1524
|
-
return
|
|
1544
|
+
const _0x4976fd = _0x380d53[_0x53bc2c(0x175)] ? _0x53bc2c(_0x4c5cc1._0xc62470) + _0x380d53['workerHandoffError'] : '';
|
|
1545
|
+
return _0x5c8435 + _0x53bc2c(0x24c) + _0x233bec + _0x4976fd;
|
|
1525
1546
|
}
|
|
1526
|
-
const
|
|
1527
|
-
return
|
|
1528
|
-
})[
|
|
1547
|
+
const _0x1115a9 = _0x380d53[_0x53bc2c(0x1fb)] == null ? _0x380d53[_0x53bc2c(_0x4c5cc1._0xe125bd)] ?? '(unknown)' : '#' + _0x380d53[_0x53bc2c(_0x4c5cc1._0x12a441)];
|
|
1548
|
+
return _0x1115a9 + _0x53bc2c(_0x4c5cc1._0x4b6edc) + (_0x380d53['reason'] ?? _0x53bc2c(0x202));
|
|
1549
|
+
})[_0x36b362(0x147)]('\x0a');
|
|
1529
1550
|
}
|
|
1530
|
-
function formatUnclaimTaskResult(
|
|
1531
|
-
const
|
|
1532
|
-
|
|
1533
|
-
_0x5a5b0d: 0x258,
|
|
1534
|
-
_0x3f8b45: 0x1c6
|
|
1535
|
-
}, _0x3f662c = _0x566b69, _0x31bab4 = _0x1bbfc2['taskNumber'] == null ? _0x3f662c(_0xc30523._0x10e13d) : '#' + _0x1bbfc2[_0x3f662c(_0xc30523._0x5a5b0d)];
|
|
1536
|
-
return _0x31bab4 + _0x3f662c(_0xc30523._0x3f8b45) + _0x1bbfc2['status'];
|
|
1551
|
+
function formatUnclaimTaskResult(_0xcaae00) {
|
|
1552
|
+
const _0x386793 = _0x404ee2, _0x29998 = _0xcaae00[_0x386793(0x1fb)] == null ? _0x386793(0x227) : '#' + _0xcaae00[_0x386793(0x1fb)];
|
|
1553
|
+
return _0x29998 + _0x386793(0x262) + _0xcaae00[_0x386793(0x293)];
|
|
1537
1554
|
}
|
|
1538
|
-
function formatUpdateTaskStatusResult(
|
|
1539
|
-
const
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1555
|
+
function formatUpdateTaskStatusResult(_0x5be745) {
|
|
1556
|
+
const _0xc5cdb4 = {
|
|
1557
|
+
_0x26635a: 0x1fb,
|
|
1558
|
+
_0xc209f9: 0x227,
|
|
1559
|
+
_0x1d1b49: 0x1fb,
|
|
1560
|
+
_0x5435ba: 0x262,
|
|
1561
|
+
_0x36ba54: 0x293
|
|
1562
|
+
}, _0x37cb77 = _0x404ee2, _0x1403c9 = _0x5be745[_0x37cb77(_0xc5cdb4._0x26635a)] == null ? _0x37cb77(_0xc5cdb4._0xc209f9) : '#' + _0x5be745[_0x37cb77(_0xc5cdb4._0x1d1b49)];
|
|
1563
|
+
return _0x1403c9 + _0x37cb77(_0xc5cdb4._0x5435ba) + _0x5be745[_0x37cb77(_0xc5cdb4._0x36ba54)];
|
|
1544
1564
|
}
|
|
1545
1565
|
function getChatBridgeToolDefinitions() {
|
|
1546
|
-
const
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1566
|
+
const _0x3ff26a = {
|
|
1567
|
+
_0x533b03: 0x29d,
|
|
1568
|
+
_0x187f2f: 0x295,
|
|
1569
|
+
_0x5ae804: 0x297,
|
|
1570
|
+
_0x34de78: 0x1c9,
|
|
1571
|
+
_0x49dcaf: 0x260,
|
|
1572
|
+
_0x289f0c: 0x1bc,
|
|
1573
|
+
_0x400804: 0x24e,
|
|
1574
|
+
_0x44b242: 0x183
|
|
1575
|
+
}, _0x13900c = _0x404ee2;
|
|
1554
1576
|
return [
|
|
1555
|
-
{ 'name':
|
|
1556
|
-
{ 'name':
|
|
1557
|
-
{ 'name':
|
|
1558
|
-
{ 'name':
|
|
1559
|
-
{ 'name':
|
|
1560
|
-
{ 'name':
|
|
1561
|
-
{ 'name':
|
|
1562
|
-
{ 'name':
|
|
1563
|
-
{ 'name':
|
|
1564
|
-
{ 'name':
|
|
1565
|
-
{ 'name':
|
|
1566
|
-
{ 'name':
|
|
1567
|
-
{ 'name':
|
|
1568
|
-
{ 'name':
|
|
1569
|
-
{ 'name':
|
|
1570
|
-
{ 'name':
|
|
1577
|
+
{ 'name': _0x13900c(_0x3ff26a._0x533b03) },
|
|
1578
|
+
{ 'name': 'check_messages' },
|
|
1579
|
+
{ 'name': _0x13900c(_0x3ff26a._0x187f2f) },
|
|
1580
|
+
{ 'name': _0x13900c(0x176) },
|
|
1581
|
+
{ 'name': _0x13900c(_0x3ff26a._0x5ae804) },
|
|
1582
|
+
{ 'name': _0x13900c(_0x3ff26a._0x34de78) },
|
|
1583
|
+
{ 'name': _0x13900c(_0x3ff26a._0x49dcaf) },
|
|
1584
|
+
{ 'name': _0x13900c(0x274) },
|
|
1585
|
+
{ 'name': _0x13900c(0x212) },
|
|
1586
|
+
{ 'name': _0x13900c(_0x3ff26a._0x289f0c) },
|
|
1587
|
+
{ 'name': _0x13900c(_0x3ff26a._0x400804) },
|
|
1588
|
+
{ 'name': _0x13900c(0x19a) },
|
|
1589
|
+
{ 'name': _0x13900c(0x17e) },
|
|
1590
|
+
{ 'name': _0x13900c(_0x3ff26a._0x44b242) },
|
|
1591
|
+
{ 'name': 'escalate_to_main' },
|
|
1592
|
+
{ 'name': _0x13900c(0x275) }
|
|
1571
1593
|
];
|
|
1572
1594
|
}
|
|
1573
|
-
function createChatBridgeHandlers(
|
|
1574
|
-
const
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
},
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
},
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
},
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
},
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
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
|
-
|
|
1595
|
+
function createChatBridgeHandlers(_0x1bf818) {
|
|
1596
|
+
const _0x1c9e5a = {
|
|
1597
|
+
_0x81368e: 0x287,
|
|
1598
|
+
_0x407a0b: 0x1e5,
|
|
1599
|
+
_0x59cd04: 0x1d1
|
|
1600
|
+
}, _0x17efea = {
|
|
1601
|
+
_0x5ec2ac: 0x14e,
|
|
1602
|
+
_0x482c35: 0x181,
|
|
1603
|
+
_0x6e3603: 0x14e,
|
|
1604
|
+
_0xba9563: 0x2b1,
|
|
1605
|
+
_0x1bf812: 0x174,
|
|
1606
|
+
_0x341a0b: 0x1a1,
|
|
1607
|
+
_0x9c9afd: 0x1c6
|
|
1608
|
+
}, _0x164a04 = {
|
|
1609
|
+
_0x5bf945: 0x1eb,
|
|
1610
|
+
_0x245d7c: 0x2ad,
|
|
1611
|
+
_0x569eb5: 0x174,
|
|
1612
|
+
_0x5a215d: 0x1c6
|
|
1613
|
+
}, _0xc6462c = {
|
|
1614
|
+
_0x5267d5: 0x14e,
|
|
1615
|
+
_0x568978: 0x1a1,
|
|
1616
|
+
_0x572b1d: 0x15f,
|
|
1617
|
+
_0x40339b: 0x134,
|
|
1618
|
+
_0x22385c: 0x24b,
|
|
1619
|
+
_0x4bf244: 0x1ab,
|
|
1620
|
+
_0x530778: 0x24f
|
|
1621
|
+
}, _0x3fde99 = {
|
|
1622
|
+
_0x2afb1e: 0x19d,
|
|
1623
|
+
_0x189a61: 0x22f,
|
|
1624
|
+
_0x4efc37: 0x19d,
|
|
1625
|
+
_0x3882ed: 0x207
|
|
1626
|
+
}, _0x2c89d7 = {
|
|
1627
|
+
_0x10bd1c: 0x181,
|
|
1628
|
+
_0x21202a: 0x19d,
|
|
1629
|
+
_0xbe3467: 0x171,
|
|
1630
|
+
_0x36a4df: 0x19d,
|
|
1631
|
+
_0x3539aa: 0x1d9
|
|
1632
|
+
}, _0x4fb0d3 = {
|
|
1633
|
+
_0x55ecd3: 0x290,
|
|
1634
|
+
_0x4a6d67: 0x1bb
|
|
1635
|
+
}, _0x187402 = {
|
|
1636
|
+
_0x5ecf4c: 0x2ab,
|
|
1637
|
+
_0x2b58d3: 0x1cb
|
|
1638
|
+
}, _0x434eb2 = { _0xb26038: 0x2ab }, _0x370f31 = {
|
|
1639
|
+
_0x397a7b: 0x1e4,
|
|
1640
|
+
_0xb8758b: 0x255
|
|
1641
|
+
}, _0x382fe7 = { _0x3f6f2e: 0x259 }, _0x82320d = {
|
|
1642
|
+
_0x3ed305: 0x265,
|
|
1643
|
+
_0x282ce7: 0x1b0,
|
|
1644
|
+
_0x52aa3b: 0x160,
|
|
1645
|
+
_0x563c61: 0x1fb,
|
|
1646
|
+
_0x4e8080: 0x139,
|
|
1647
|
+
_0xd7c5fa: 0x1da
|
|
1648
|
+
}, _0x4ecd93 = {
|
|
1649
|
+
_0x267cb7: 0x2ab,
|
|
1650
|
+
_0x33cfff: 0x2a7
|
|
1651
|
+
}, _0x1a22ee = { _0x2707ec: 0x2ab }, _0x28a82c = {
|
|
1652
|
+
_0x2fa279: 0x2ab,
|
|
1653
|
+
_0x2bed5a: 0x28e,
|
|
1654
|
+
_0x4959f9: 0x1d7
|
|
1655
|
+
}, _0x3b1f1e = {
|
|
1656
|
+
_0x591a35: 0x182,
|
|
1657
|
+
_0x43781c: 0x14e,
|
|
1658
|
+
_0x446405: 0x2b2,
|
|
1659
|
+
_0x115c13: 0x1fb,
|
|
1660
|
+
_0x40ad9d: 0x153,
|
|
1661
|
+
_0x5ef9bf: 0x1db,
|
|
1662
|
+
_0x34161a: 0x1d2,
|
|
1663
|
+
_0x38bd49: 0x17b,
|
|
1664
|
+
_0x481120: 0x22a,
|
|
1665
|
+
_0x49b1ba: 0x196,
|
|
1666
|
+
_0x3724eb: 0x1a6,
|
|
1667
|
+
_0x12740a: 0x24b,
|
|
1668
|
+
_0x355f48: 0x1c6,
|
|
1669
|
+
_0x385323: 0x283,
|
|
1670
|
+
_0xd3ea71: 0x155,
|
|
1671
|
+
_0x1beca8: 0x28f,
|
|
1672
|
+
_0x1e75fd: 0x152,
|
|
1673
|
+
_0x215966: 0x190,
|
|
1674
|
+
_0x178032: 0x147,
|
|
1675
|
+
_0x5ee08f: 0x1b7,
|
|
1676
|
+
_0x2fcfcd: 0x234,
|
|
1677
|
+
_0x4855d3: 0x1c1
|
|
1678
|
+
}, _0x22aa19 = {
|
|
1679
|
+
_0x4b5850: 0x12e,
|
|
1680
|
+
_0x5ce663: 0x1eb,
|
|
1681
|
+
_0x49adc5: 0x22c,
|
|
1682
|
+
_0x433f4e: 0x160,
|
|
1683
|
+
_0x55f6d5: 0x193
|
|
1684
|
+
}, _0x342aca = {
|
|
1685
|
+
_0x40160b: 0x1eb,
|
|
1686
|
+
_0x985281: 0x265,
|
|
1687
|
+
_0xcbc054: 0x22c
|
|
1688
|
+
}, _0x5f060a = {
|
|
1689
|
+
_0x1e56f5: 0x14e,
|
|
1690
|
+
_0x50f894: 0x1eb,
|
|
1691
|
+
_0x1d83ea: 0x277,
|
|
1692
|
+
_0x303a9c: 0x1cb,
|
|
1693
|
+
_0xc6c7bb: 0x153,
|
|
1694
|
+
_0x23666d: 0x1ae,
|
|
1695
|
+
_0x46a35f: 0x2ab,
|
|
1696
|
+
_0x45af36: 0x28e,
|
|
1697
|
+
_0x4a3063: 0x1fb,
|
|
1698
|
+
_0x19bbc7: 0x227,
|
|
1699
|
+
_0x3ad745: 0x17b,
|
|
1700
|
+
_0x27e263: 0x200,
|
|
1701
|
+
_0x204d90: 0x257,
|
|
1702
|
+
_0x53c9f1: 0x22a,
|
|
1703
|
+
_0x1be877: 0x147,
|
|
1704
|
+
_0x27b65b: 0x1a6,
|
|
1705
|
+
_0x3a68a5: 0x1a1,
|
|
1706
|
+
_0x258f98: 0x27f,
|
|
1707
|
+
_0x54dcd7: 0x29f,
|
|
1708
|
+
_0x3aef69: 0x24b,
|
|
1709
|
+
_0x267181: 0x1a0,
|
|
1710
|
+
_0x37f367: 0x184,
|
|
1711
|
+
_0x5b42c: 0x29e
|
|
1712
|
+
}, _0x32743c = _0x404ee2;
|
|
1713
|
+
async function _0x3ffad2(_0x13dadd) {
|
|
1714
|
+
const _0x37c645 = _0x5d14;
|
|
1715
|
+
if (!_0x1bf818[_0x37c645(_0x5f060a._0x1e56f5)] || !_0x1bf818[_0x37c645(_0x5f060a._0x50f894)] || _0x1bf818[_0x37c645(0x182)] || _0x1bf818['workerModeEnabled'] !== !![])
|
|
1693
1716
|
return null;
|
|
1694
|
-
const
|
|
1695
|
-
if (
|
|
1717
|
+
const _0x199661 = parseTarget(_0x13dadd['channel']);
|
|
1718
|
+
if (_0x199661[_0x37c645(_0x5f060a._0x1d83ea)] !== _0x37c645(_0x5f060a._0x303a9c))
|
|
1696
1719
|
return null;
|
|
1697
|
-
const
|
|
1698
|
-
let
|
|
1720
|
+
const _0xce8818 = _0x13dadd[_0x37c645(_0x5f060a._0xc6c7bb)] != null ? _0x199661[_0x37c645(_0x5f060a._0x23666d)] + ':t' + _0x13dadd[_0x37c645(0x153)] : _0x199661[_0x37c645(0x1ae)] + ':' + _0x13dadd[_0x37c645(0x29b)];
|
|
1721
|
+
let _0x1f20a0;
|
|
1699
1722
|
try {
|
|
1700
|
-
const
|
|
1701
|
-
'channel':
|
|
1723
|
+
const _0xfcd2b8 = await _0x1bf818[_0x37c645(_0x5f060a._0x46a35f)][_0x37c645(0x21e)]({
|
|
1724
|
+
'channel': _0xce8818,
|
|
1702
1725
|
'limit': 0x14
|
|
1703
1726
|
});
|
|
1704
|
-
|
|
1727
|
+
_0x1f20a0 = _0xfcd2b8[_0x37c645(_0x5f060a._0x45af36)][_0x37c645(0x1da)](_0x206216 => _0x206216['messageId'] === _0x13dadd['messageId']);
|
|
1705
1728
|
} catch {
|
|
1706
|
-
|
|
1729
|
+
_0x1f20a0 = void 0x0;
|
|
1707
1730
|
}
|
|
1708
|
-
const
|
|
1709
|
-
'[target=' +
|
|
1731
|
+
const _0x104449 = _0x13dadd[_0x37c645(_0x5f060a._0x4a3063)] == null ? _0x37c645(_0x5f060a._0x19bbc7) : '#' + _0x13dadd[_0x37c645(0x1fb)], _0x5686bd = [
|
|
1732
|
+
'[target=' + _0xce8818 + '\x20msg=' + _0x13dadd[_0x37c645(0x29b)][_0x37c645(0x1e3)](0x0, 0x8) + _0x37c645(0x22d) + new Date()[_0x37c645(_0x5f060a._0x3ad745)]() + _0x37c645(_0x5f060a._0x27e263) + _0x104449 + _0x37c645(_0x5f060a._0x204d90),
|
|
1710
1733
|
'',
|
|
1711
|
-
|
|
1734
|
+
_0x1f20a0 ? 'Root\x20task\x20message:\x0a' + _0x1f20a0[_0x37c645(_0x5f060a._0x53c9f1)] : _0x37c645(0x19e) + _0x13dadd[_0x37c645(0x29b)],
|
|
1712
1735
|
'',
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
][
|
|
1716
|
-
'method':
|
|
1717
|
-
'headers': { 'Content-Type':
|
|
1718
|
-
'body': JSON[
|
|
1719
|
-
'agent_id':
|
|
1720
|
-
'thread_target':
|
|
1736
|
+
_0x37c645(0x196) + _0xce8818,
|
|
1737
|
+
_0x37c645(0x210)
|
|
1738
|
+
][_0x37c645(_0x5f060a._0x1be877)]('\x0a'), _0x3b8dc9 = await fetch(_0x1bf818[_0x37c645(_0x5f060a._0x1e56f5)] + _0x37c645(_0x5f060a._0x27b65b), {
|
|
1739
|
+
'method': _0x37c645(0x2b1),
|
|
1740
|
+
'headers': { 'Content-Type': _0x37c645(0x174) },
|
|
1741
|
+
'body': JSON[_0x37c645(_0x5f060a._0x3a68a5)]({
|
|
1742
|
+
'agent_id': _0x1bf818[_0x37c645(_0x5f060a._0x50f894)],
|
|
1743
|
+
'thread_target': _0xce8818,
|
|
1721
1744
|
'spawn_packet': {
|
|
1722
|
-
'replyTarget':
|
|
1723
|
-
...
|
|
1745
|
+
'replyTarget': _0xce8818,
|
|
1746
|
+
..._0x13dadd['taskId'] ? { 'taskId': _0x13dadd['taskId'] } : _0x13dadd[_0x37c645(0x1fb)] != null ? { 'taskId': _0x37c645(_0x5f060a._0x258f98) + _0x13dadd['taskNumber'] } : {}
|
|
1724
1747
|
},
|
|
1725
1748
|
'payload': {
|
|
1726
|
-
'mode':
|
|
1727
|
-
'text':
|
|
1749
|
+
'mode': _0x37c645(_0x5f060a._0x54dcd7),
|
|
1750
|
+
'text': _0x5686bd
|
|
1728
1751
|
}
|
|
1729
1752
|
})
|
|
1730
|
-
}),
|
|
1731
|
-
if (!
|
|
1732
|
-
throw new Error(
|
|
1753
|
+
}), _0x576169 = await _0x3b8dc9[_0x37c645(_0x5f060a._0x3aef69)]();
|
|
1754
|
+
if (!_0x576169['ok'])
|
|
1755
|
+
throw new Error(_0x576169[_0x37c645(0x1c6)] ?? _0x37c645(_0x5f060a._0x267181));
|
|
1733
1756
|
return {
|
|
1734
1757
|
'stopMain': !![],
|
|
1735
|
-
'threadTarget':
|
|
1736
|
-
'workerDisposition':
|
|
1758
|
+
'threadTarget': _0xce8818,
|
|
1759
|
+
'workerDisposition': _0x576169['disposition'] === _0x37c645(0x28f) ? _0x37c645(0x28f) : _0x37c645(0x152),
|
|
1737
1760
|
'workerHandoff': !![],
|
|
1738
|
-
'workerSessionId':
|
|
1739
|
-
'executionMode':
|
|
1761
|
+
'workerSessionId': _0x576169[_0x37c645(_0x5f060a._0x37f367)] ?? '',
|
|
1762
|
+
'executionMode': _0x37c645(_0x5f060a._0x5b42c)
|
|
1740
1763
|
};
|
|
1741
1764
|
}
|
|
1742
|
-
async function
|
|
1743
|
-
const
|
|
1744
|
-
if (!
|
|
1765
|
+
async function _0x4e20e4() {
|
|
1766
|
+
const _0x2c0197 = _0x5d14;
|
|
1767
|
+
if (!_0x1bf818['daemonLocalUrl'] || !_0x1bf818[_0x2c0197(_0x342aca._0x40160b)] || _0x1bf818['workerMode'])
|
|
1745
1768
|
return null;
|
|
1746
1769
|
try {
|
|
1747
|
-
const
|
|
1748
|
-
if (!
|
|
1770
|
+
const _0x1164d4 = await fetch(_0x1bf818['daemonLocalUrl'] + _0x2c0197(0x12e) + encodeURIComponent(_0x1bf818['agentId'])), _0x3acab0 = await _0x1164d4['json']();
|
|
1771
|
+
if (!_0x3acab0['ok'])
|
|
1749
1772
|
return null;
|
|
1750
|
-
const
|
|
1751
|
-
for (const
|
|
1752
|
-
|
|
1773
|
+
const _0xc87d2d = new Set();
|
|
1774
|
+
for (const _0x1a32b1 of _0x3acab0[_0x2c0197(_0x342aca._0x985281)]) {
|
|
1775
|
+
_0x1a32b1['status'] !== _0x2c0197(0x14a) && _0x1a32b1[_0x2c0197(_0x342aca._0xcbc054)] && _0xc87d2d[_0x2c0197(0x160)](_0x1a32b1[_0x2c0197(0x22c)]);
|
|
1753
1776
|
}
|
|
1754
|
-
return
|
|
1777
|
+
return _0xc87d2d[_0x2c0197(0x193)] > 0x0 ? _0xc87d2d : null;
|
|
1755
1778
|
} catch {
|
|
1756
1779
|
return null;
|
|
1757
1780
|
}
|
|
1758
1781
|
}
|
|
1759
|
-
const
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1782
|
+
const _0x23ab12 = new Set([
|
|
1783
|
+
_0x32743c(_0x1c9e5a._0x81368e),
|
|
1784
|
+
_0x32743c(_0x1c9e5a._0x407a0b),
|
|
1785
|
+
_0x32743c(_0x1c9e5a._0x59cd04)
|
|
1763
1786
|
]);
|
|
1764
|
-
async function
|
|
1765
|
-
const
|
|
1766
|
-
if (!
|
|
1787
|
+
async function _0x9339a9() {
|
|
1788
|
+
const _0x57acbe = _0x32743c;
|
|
1789
|
+
if (!_0x1bf818['daemonLocalUrl'] || !_0x1bf818['agentId'] || _0x1bf818['workerMode'])
|
|
1767
1790
|
return null;
|
|
1768
1791
|
try {
|
|
1769
|
-
const
|
|
1770
|
-
if (!
|
|
1792
|
+
const _0x383759 = await fetch(_0x1bf818[_0x57acbe(0x14e)] + _0x57acbe(_0x22aa19._0x4b5850) + encodeURIComponent(_0x1bf818[_0x57acbe(_0x22aa19._0x5ce663)])), _0x5b03d4 = await _0x383759[_0x57acbe(0x24b)]();
|
|
1793
|
+
if (!_0x5b03d4['ok'])
|
|
1771
1794
|
return null;
|
|
1772
|
-
const
|
|
1773
|
-
for (const
|
|
1774
|
-
|
|
1795
|
+
const _0xe79a1a = new Set();
|
|
1796
|
+
for (const _0x61c53a of _0x5b03d4['workers']) {
|
|
1797
|
+
_0x23ab12['has'](_0x61c53a[_0x57acbe(0x293)]) && _0x61c53a[_0x57acbe(_0x22aa19._0x49adc5)] && _0xe79a1a[_0x57acbe(_0x22aa19._0x433f4e)](_0x61c53a[_0x57acbe(0x22c)]);
|
|
1775
1798
|
}
|
|
1776
|
-
return
|
|
1799
|
+
return _0xe79a1a[_0x57acbe(_0x22aa19._0x55f6d5)] > 0x0 ? _0xe79a1a : null;
|
|
1777
1800
|
} catch {
|
|
1778
1801
|
return null;
|
|
1779
1802
|
}
|
|
1780
1803
|
}
|
|
1781
1804
|
return {
|
|
1782
|
-
async 'send_message'(
|
|
1783
|
-
const
|
|
1784
|
-
if (!
|
|
1785
|
-
const
|
|
1786
|
-
if (
|
|
1787
|
-
const
|
|
1788
|
-
if (
|
|
1805
|
+
async 'send_message'(_0x4c3c67) {
|
|
1806
|
+
const _0x53904b = _0x32743c;
|
|
1807
|
+
if (!_0x1bf818[_0x53904b(_0x3b1f1e._0x591a35)] && _0x1bf818[_0x53904b(0x158)] && _0x1bf818[_0x53904b(_0x3b1f1e._0x43781c)] && _0x1bf818[_0x53904b(0x1eb)]) {
|
|
1808
|
+
const _0x5f0f54 = await _0x1bf818[_0x53904b(0x2ab)][_0x53904b(0x27a)](_0x4c3c67[_0x53904b(0x1c1)]);
|
|
1809
|
+
if (_0x5f0f54[_0x53904b(0x2b2)] && _0x5f0f54[_0x53904b(0x195)]) {
|
|
1810
|
+
const _0x577e76 = _0x5f0f54[_0x53904b(_0x3b1f1e._0x446405)][_0x53904b(_0x3b1f1e._0x115c13)] != null ? '#' + _0x5f0f54[_0x53904b(0x2b2)][_0x53904b(_0x3b1f1e._0x115c13)] : _0x53904b(0x227), _0x2aa135 = _0x5f0f54[_0x53904b(0x153)] != null ? _0x5f0f54['target'] + ':t' + _0x5f0f54[_0x53904b(_0x3b1f1e._0x40ad9d)] : _0x5f0f54['target'] + ':' + _0x5f0f54['threadId'][_0x53904b(0x1e3)](0x0, 0x8), _0x500bc9 = await _0x9339a9();
|
|
1811
|
+
if (_0x500bc9?.[_0x53904b(0x2b5)](_0x2aa135))
|
|
1789
1812
|
return [
|
|
1790
|
-
|
|
1813
|
+
'Task\x20' + _0x577e76 + _0x53904b(_0x3b1f1e._0x5ef9bf) + _0x2aa135 + '\x20already\x20has\x20an\x20active\x20worker.\x20stopMain=true\x20executionMode=worker',
|
|
1791
1814
|
'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread\x20—\x20the\x20worker\x20is\x20handling\x20it.'
|
|
1792
1815
|
]['join']('\x0a');
|
|
1793
|
-
const
|
|
1794
|
-
|
|
1816
|
+
const _0x5eb8cc = [
|
|
1817
|
+
_0x53904b(0x15b) + _0x2aa135 + _0x53904b(_0x3b1f1e._0x34161a) + new Date()[_0x53904b(_0x3b1f1e._0x38bd49)]() + _0x53904b(0x1f3),
|
|
1795
1818
|
'',
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
][
|
|
1801
|
-
'method':
|
|
1802
|
-
'headers': { 'Content-Type':
|
|
1803
|
-
'body': JSON[
|
|
1804
|
-
'agent_id':
|
|
1805
|
-
'thread_target':
|
|
1819
|
+
_0x53904b(0x1c0) + _0x4c3c67[_0x53904b(_0x3b1f1e._0x481120)],
|
|
1820
|
+
_0x53904b(0x126) + _0x577e76 + '\x20(' + _0x5f0f54[_0x53904b(0x2b2)][_0x53904b(0x259)] + ')',
|
|
1821
|
+
_0x53904b(_0x3b1f1e._0x49b1ba) + _0x2aa135,
|
|
1822
|
+
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1823
|
+
][_0x53904b(0x147)]('\x0a'), _0x40290c = await fetch(_0x1bf818[_0x53904b(0x14e)] + _0x53904b(_0x3b1f1e._0x3724eb), {
|
|
1824
|
+
'method': _0x53904b(0x2b1),
|
|
1825
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1826
|
+
'body': JSON['stringify']({
|
|
1827
|
+
'agent_id': _0x1bf818['agentId'],
|
|
1828
|
+
'thread_target': _0x2aa135,
|
|
1806
1829
|
'spawn_packet': {
|
|
1807
|
-
'replyTarget':
|
|
1808
|
-
'taskId':
|
|
1830
|
+
'replyTarget': _0x2aa135,
|
|
1831
|
+
'taskId': _0x5f0f54['task'][_0x53904b(0x259)]
|
|
1809
1832
|
},
|
|
1810
1833
|
'payload': {
|
|
1811
|
-
'mode':
|
|
1812
|
-
'text':
|
|
1834
|
+
'mode': _0x53904b(0x29f),
|
|
1835
|
+
'text': _0x5eb8cc
|
|
1813
1836
|
}
|
|
1814
1837
|
})
|
|
1815
|
-
}),
|
|
1816
|
-
if (!
|
|
1817
|
-
throw new Error(
|
|
1838
|
+
}), _0x58c173 = await _0x40290c[_0x53904b(_0x3b1f1e._0x12740a)]();
|
|
1839
|
+
if (!_0x58c173['ok'])
|
|
1840
|
+
throw new Error(_0x58c173[_0x53904b(_0x3b1f1e._0x355f48)] ?? 'enter-handoff\x20failed');
|
|
1818
1841
|
return [
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
][
|
|
1842
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x577e76 + _0x53904b(0x1db) + _0x2aa135 + _0x53904b(0x23f),
|
|
1843
|
+
_0x53904b(_0x3b1f1e._0x385323) + (_0x58c173[_0x53904b(_0x3b1f1e._0xd3ea71)] === _0x53904b(_0x3b1f1e._0x1beca8) ? _0x53904b(0x28f) : _0x53904b(_0x3b1f1e._0x1e75fd)) + '.',
|
|
1844
|
+
_0x53904b(_0x3b1f1e._0x215966)
|
|
1845
|
+
][_0x53904b(_0x3b1f1e._0x178032)]('\x0a');
|
|
1823
1846
|
}
|
|
1824
1847
|
}
|
|
1825
|
-
const
|
|
1826
|
-
'attachmentIds':
|
|
1827
|
-
'content':
|
|
1828
|
-
'target':
|
|
1829
|
-
'visibility':
|
|
1848
|
+
const _0x499a82 = await _0x1bf818[_0x53904b(0x2ab)][_0x53904b(_0x3b1f1e._0x5ee08f)]({
|
|
1849
|
+
'attachmentIds': _0x4c3c67[_0x53904b(_0x3b1f1e._0x2fcfcd)],
|
|
1850
|
+
'content': _0x4c3c67[_0x53904b(_0x3b1f1e._0x481120)],
|
|
1851
|
+
'target': _0x4c3c67[_0x53904b(0x1c1)],
|
|
1852
|
+
'visibility': _0x4c3c67[_0x53904b(0x128)]
|
|
1830
1853
|
});
|
|
1831
|
-
return
|
|
1854
|
+
return _0x53904b(0x178) + _0x4c3c67[_0x53904b(_0x3b1f1e._0x4855d3)] + '.\x20Message\x20ID:\x20' + _0x499a82[_0x53904b(0x29b)];
|
|
1832
1855
|
},
|
|
1833
1856
|
async 'check_messages'() {
|
|
1834
|
-
const
|
|
1835
|
-
if (!
|
|
1836
|
-
const
|
|
1837
|
-
if (
|
|
1838
|
-
return formatCheckMessages(
|
|
1857
|
+
const _0x4b204a = _0x32743c, _0x432dcd = await _0x1bf818[_0x4b204a(_0x28a82c._0x2fa279)]['checkMessages']();
|
|
1858
|
+
if (!_0x1bf818[_0x4b204a(0x182)]) {
|
|
1859
|
+
const _0x1eac8b = await _0x4e20e4();
|
|
1860
|
+
if (_0x1eac8b)
|
|
1861
|
+
return formatCheckMessages(_0x432dcd[_0x4b204a(_0x28a82c._0x2bed5a)][_0x4b204a(_0x28a82c._0x4959f9)](_0x202c3a => !_0x1eac8b[_0x4b204a(0x2b5)](_0x202c3a[_0x4b204a(0x1c1)])));
|
|
1839
1862
|
}
|
|
1840
|
-
return formatCheckMessages(
|
|
1863
|
+
return formatCheckMessages(_0x432dcd[_0x4b204a(0x28e)]);
|
|
1841
1864
|
},
|
|
1842
|
-
async 'read_history'(
|
|
1843
|
-
const
|
|
1844
|
-
return formatHistory(
|
|
1865
|
+
async 'read_history'(_0x29d6fc) {
|
|
1866
|
+
const _0x2b13d9 = _0x32743c, _0x24a22e = await _0x1bf818[_0x2b13d9(_0x1a22ee._0x2707ec)]['readHistory'](_0x29d6fc);
|
|
1867
|
+
return formatHistory(_0x24a22e);
|
|
1845
1868
|
},
|
|
1846
1869
|
async 'list_server'() {
|
|
1847
|
-
const
|
|
1848
|
-
return formatServerDirectory(
|
|
1870
|
+
const _0x4c6078 = _0x32743c, _0x1de1cd = await _0x1bf818[_0x4c6078(_0x4ecd93._0x267cb7)][_0x4c6078(_0x4ecd93._0x33cfff)]();
|
|
1871
|
+
return formatServerDirectory(_0x1de1cd);
|
|
1849
1872
|
},
|
|
1850
|
-
async 'list_tasks'(
|
|
1851
|
-
const
|
|
1852
|
-
let
|
|
1853
|
-
if (
|
|
1873
|
+
async 'list_tasks'(_0x6febce) {
|
|
1874
|
+
const _0x4789d6 = _0x32743c, _0x2189d9 = await _0x1bf818[_0x4789d6(0x2ab)][_0x4789d6(0x16e)](_0x6febce);
|
|
1875
|
+
let _0x58ce3d;
|
|
1876
|
+
if (_0x1bf818[_0x4789d6(0x14e)] && _0x1bf818['agentId'])
|
|
1854
1877
|
try {
|
|
1855
|
-
const
|
|
1856
|
-
if (
|
|
1857
|
-
const
|
|
1858
|
-
|
|
1859
|
-
for (const
|
|
1860
|
-
if (
|
|
1878
|
+
const _0x533c86 = await fetch(_0x1bf818['daemonLocalUrl'] + _0x4789d6(0x12e) + encodeURIComponent(_0x1bf818[_0x4789d6(0x1eb)])), _0x4b4336 = await _0x533c86['json']();
|
|
1879
|
+
if (_0x4b4336['ok']) {
|
|
1880
|
+
const _0x50043b = _0x6febce['channel'] + ':';
|
|
1881
|
+
_0x58ce3d = new Set();
|
|
1882
|
+
for (const _0x4ceecf of _0x4b4336[_0x4789d6(_0x82320d._0x3ed305)]) {
|
|
1883
|
+
if (_0x4ceecf[_0x4789d6(0x293)] === _0x4789d6(0x14a))
|
|
1861
1884
|
continue;
|
|
1862
|
-
if (
|
|
1863
|
-
const
|
|
1864
|
-
if (
|
|
1865
|
-
|
|
1885
|
+
if (_0x4ceecf[_0x4789d6(0x22c)]?.['startsWith'](_0x50043b)) {
|
|
1886
|
+
const _0x3cd0da = _0x4ceecf['thread_target'][_0x4789d6(0x1e3)](_0x50043b[_0x4789d6(_0x82320d._0x282ce7)]), _0x235e5f = _0x2189d9[_0x4789d6(0x139)][_0x4789d6(0x1da)](_0x3ff788 => _0x3ff788[_0x4789d6(0x29b)]?.[_0x4789d6(0x177)](_0x3cd0da) === !![]);
|
|
1887
|
+
if (_0x235e5f?.[_0x4789d6(0x1fb)] != null) {
|
|
1888
|
+
_0x58ce3d[_0x4789d6(_0x82320d._0x52aa3b)](_0x235e5f[_0x4789d6(_0x82320d._0x563c61)]);
|
|
1866
1889
|
continue;
|
|
1867
1890
|
}
|
|
1868
1891
|
}
|
|
1869
|
-
if (
|
|
1870
|
-
const
|
|
1871
|
-
|
|
1892
|
+
if (_0x4ceecf['task_id']) {
|
|
1893
|
+
const _0xf51339 = _0x2189d9[_0x4789d6(_0x82320d._0x4e8080)][_0x4789d6(_0x82320d._0xd7c5fa)](_0x8418e7 => _0x8418e7[_0x4789d6(0x259)] === _0x4ceecf[_0x4789d6(0x2a2)]);
|
|
1894
|
+
_0xf51339?.['taskNumber'] != null && _0x58ce3d[_0x4789d6(0x160)](_0xf51339[_0x4789d6(0x1fb)]);
|
|
1872
1895
|
}
|
|
1873
1896
|
}
|
|
1874
1897
|
}
|
|
1875
1898
|
} catch {
|
|
1876
1899
|
}
|
|
1877
|
-
return formatTaskList(
|
|
1900
|
+
return formatTaskList(_0x2189d9[_0x4789d6(0x139)], _0x58ce3d);
|
|
1878
1901
|
},
|
|
1879
|
-
async 'create_tasks'(
|
|
1880
|
-
const
|
|
1881
|
-
return formatCreatedTasks(
|
|
1902
|
+
async 'create_tasks'(_0xd9aaa8) {
|
|
1903
|
+
const _0x3f4297 = _0x32743c, _0x4c1f87 = await _0x1bf818[_0x3f4297(0x2ab)][_0x3f4297(0x23d)](_0xd9aaa8);
|
|
1904
|
+
return formatCreatedTasks(_0x4c1f87[_0x3f4297(0x139)]);
|
|
1882
1905
|
},
|
|
1883
|
-
async 'claim_tasks'(
|
|
1884
|
-
const
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
_0x2af5ef: 0x1c2,
|
|
1889
|
-
_0x3081c4: 0x20f
|
|
1890
|
-
}, _0x45e523 = _0xbae48, _0x20a279 = await _0x563b41[_0x45e523(0x199)]['claimTasks'](_0x45a50b), _0x3e1b9e = await Promise[_0x45e523(_0x37a6c8._0x512a89)](_0x20a279['results'][_0x45e523(0x29b)](async _0x2217f8 => {
|
|
1891
|
-
const _0x24240e = _0x45e523;
|
|
1892
|
-
if (!_0x2217f8[_0x24240e(_0x407ee5._0x4b7551)] || !_0x2217f8['messageId'])
|
|
1893
|
-
return _0x2217f8;
|
|
1906
|
+
async 'claim_tasks'(_0xa46da6) {
|
|
1907
|
+
const _0x40587e = _0x32743c, _0x1a6744 = await _0x1bf818[_0x40587e(0x2ab)][_0x40587e(_0x370f31._0x397a7b)](_0xa46da6), _0x26a8d6 = await Promise[_0x40587e(_0x370f31._0xb8758b)](_0x1a6744[_0x40587e(0x20e)]['map'](async _0x30d365 => {
|
|
1908
|
+
const _0x146b34 = _0x40587e;
|
|
1909
|
+
if (!_0x30d365['success'] || !_0x30d365['messageId'])
|
|
1910
|
+
return _0x30d365;
|
|
1894
1911
|
try {
|
|
1895
|
-
const
|
|
1896
|
-
'channel':
|
|
1897
|
-
'messageId':
|
|
1898
|
-
'taskId':
|
|
1899
|
-
'taskNumber':
|
|
1900
|
-
'threadNumber':
|
|
1912
|
+
const _0xcfaca2 = await _0x3ffad2({
|
|
1913
|
+
'channel': _0xa46da6['channel'],
|
|
1914
|
+
'messageId': _0x30d365[_0x146b34(0x29b)],
|
|
1915
|
+
'taskId': _0x30d365[_0x146b34(_0x382fe7._0x3f6f2e)],
|
|
1916
|
+
'taskNumber': _0x30d365[_0x146b34(0x1fb)],
|
|
1917
|
+
'threadNumber': _0x30d365[_0x146b34(0x153)]
|
|
1901
1918
|
});
|
|
1902
|
-
return
|
|
1903
|
-
...
|
|
1904
|
-
...
|
|
1905
|
-
} :
|
|
1906
|
-
} catch (
|
|
1919
|
+
return _0xcfaca2 ? {
|
|
1920
|
+
..._0x30d365,
|
|
1921
|
+
..._0xcfaca2
|
|
1922
|
+
} : _0x30d365;
|
|
1923
|
+
} catch (_0x481f40) {
|
|
1907
1924
|
return {
|
|
1908
|
-
...
|
|
1909
|
-
'workerHandoffError':
|
|
1925
|
+
..._0x30d365,
|
|
1926
|
+
'workerHandoffError': _0x481f40 instanceof Error ? _0x481f40[_0x146b34(0x1ec)] : 'worker\x20handoff\x20failed'
|
|
1910
1927
|
};
|
|
1911
1928
|
}
|
|
1912
1929
|
}));
|
|
1913
|
-
return formatClaimTaskResults(
|
|
1930
|
+
return formatClaimTaskResults(_0x26a8d6);
|
|
1914
1931
|
},
|
|
1915
|
-
async 'unclaim_task'(
|
|
1916
|
-
const
|
|
1917
|
-
return formatUnclaimTaskResult(
|
|
1932
|
+
async 'unclaim_task'(_0x2a4322) {
|
|
1933
|
+
const _0x42104a = _0x32743c, _0x1f971b = await _0x1bf818[_0x42104a(0x2ab)][_0x42104a(0x1f5)](_0x2a4322);
|
|
1934
|
+
return formatUnclaimTaskResult(_0x1f971b);
|
|
1918
1935
|
},
|
|
1919
|
-
async 'update_task_status'(
|
|
1920
|
-
const
|
|
1921
|
-
return formatUpdateTaskStatusResult(
|
|
1936
|
+
async 'update_task_status'(_0x89772d) {
|
|
1937
|
+
const _0x3820f0 = _0x32743c, _0xc2278 = await _0x1bf818[_0x3820f0(_0x434eb2._0xb26038)]['updateTaskStatus'](_0x89772d);
|
|
1938
|
+
return formatUpdateTaskStatusResult(_0xc2278);
|
|
1922
1939
|
},
|
|
1923
|
-
async 'upload_file'(
|
|
1924
|
-
const
|
|
1925
|
-
sizeBytes:
|
|
1926
|
-
...
|
|
1927
|
-
} =
|
|
1928
|
-
'channel':
|
|
1929
|
-
...
|
|
1940
|
+
async 'upload_file'(_0x585120) {
|
|
1941
|
+
const _0x565565 = _0x32743c, _0x31fdee = await _0x1bf818[_0x565565(0x20a)](_0x585120['file_path']), {
|
|
1942
|
+
sizeBytes: _0x31c7f5,
|
|
1943
|
+
..._0x3a1924
|
|
1944
|
+
} = _0x31fdee, _0x47cd30 = await _0x1bf818[_0x565565(_0x187402._0x5ecf4c)][_0x565565(0x191)]({
|
|
1945
|
+
'channel': _0x585120[_0x565565(_0x187402._0x2b58d3)],
|
|
1946
|
+
..._0x3a1924
|
|
1930
1947
|
});
|
|
1931
|
-
return formatUploadResult(
|
|
1948
|
+
return formatUploadResult(_0x47cd30);
|
|
1932
1949
|
},
|
|
1933
|
-
async 'view_file'(
|
|
1934
|
-
const
|
|
1935
|
-
if (
|
|
1936
|
-
return formatViewFileResult(
|
|
1937
|
-
const
|
|
1938
|
-
'attachmentId':
|
|
1939
|
-
'contentType':
|
|
1940
|
-
'data':
|
|
1941
|
-
'originalFilename':
|
|
1950
|
+
async 'view_file'(_0x48e2f3) {
|
|
1951
|
+
const _0x42c152 = _0x32743c, _0x32c69b = await _0x1bf818[_0x42c152(0x281)][_0x42c152(0x18b)](_0x48e2f3[_0x42c152(_0x4fb0d3._0x55ecd3)]);
|
|
1952
|
+
if (_0x32c69b)
|
|
1953
|
+
return formatViewFileResult(_0x32c69b, !![]);
|
|
1954
|
+
const _0x17e0fc = await _0x1bf818[_0x42c152(0x2ab)]['downloadAttachment'](_0x48e2f3['attachment_id']), _0x24b156 = await _0x1bf818['attachmentCache']['save']({
|
|
1955
|
+
'attachmentId': _0x48e2f3[_0x42c152(0x290)],
|
|
1956
|
+
'contentType': _0x17e0fc[_0x42c152(0x1fa)],
|
|
1957
|
+
'data': _0x17e0fc[_0x42c152(0x1f7)],
|
|
1958
|
+
'originalFilename': _0x17e0fc[_0x42c152(_0x4fb0d3._0x4a6d67)]
|
|
1942
1959
|
});
|
|
1943
|
-
return formatViewFileResult(
|
|
1960
|
+
return formatViewFileResult(_0x24b156, ![]);
|
|
1944
1961
|
},
|
|
1945
|
-
async 'get_worker_status'(
|
|
1946
|
-
const
|
|
1947
|
-
if (!
|
|
1948
|
-
return
|
|
1949
|
-
const
|
|
1950
|
-
if (!
|
|
1951
|
-
return
|
|
1952
|
-
return
|
|
1962
|
+
async 'get_worker_status'(_0x3d8382) {
|
|
1963
|
+
const _0x10f154 = _0x32743c;
|
|
1964
|
+
if (!_0x1bf818[_0x10f154(0x14e)])
|
|
1965
|
+
return _0x10f154(_0x2c89d7._0x10bd1c);
|
|
1966
|
+
const _0x41e180 = await fetch(_0x1bf818['daemonLocalUrl'] + '/workers/status?work_key=' + encodeURIComponent(_0x3d8382[_0x10f154(_0x2c89d7._0x21202a)])), _0x25d095 = await _0x41e180[_0x10f154(0x24b)]();
|
|
1967
|
+
if (!_0x25d095['ok'])
|
|
1968
|
+
return _0x10f154(_0x2c89d7._0xbe3467) + _0x3d8382[_0x10f154(_0x2c89d7._0x36a4df)] + '\x22\x20not\x20found';
|
|
1969
|
+
return 'Worker\x20\x22' + _0x3d8382['work_key'] + _0x10f154(_0x2c89d7._0x3539aa) + _0x25d095[_0x10f154(0x293)];
|
|
1953
1970
|
},
|
|
1954
|
-
async 'get_worker_result'(
|
|
1955
|
-
const
|
|
1956
|
-
if (!
|
|
1957
|
-
return
|
|
1958
|
-
const
|
|
1959
|
-
if (!
|
|
1960
|
-
return
|
|
1961
|
-
return JSON[
|
|
1971
|
+
async 'get_worker_result'(_0x5ad5c4) {
|
|
1972
|
+
const _0x4f728f = _0x32743c;
|
|
1973
|
+
if (!_0x1bf818[_0x4f728f(0x14e)])
|
|
1974
|
+
return _0x4f728f(0x181);
|
|
1975
|
+
const _0x53080f = await fetch(_0x1bf818['daemonLocalUrl'] + '/workers/result?work_key=' + encodeURIComponent(_0x5ad5c4[_0x4f728f(_0x3fde99._0x2afb1e)])), _0x3caa50 = await _0x53080f['json']();
|
|
1976
|
+
if (!_0x3caa50[_0x4f728f(0x207)])
|
|
1977
|
+
return _0x4f728f(_0x3fde99._0x189a61) + _0x5ad5c4[_0x4f728f(_0x3fde99._0x4efc37)] + '\x22';
|
|
1978
|
+
return JSON['stringify'](_0x3caa50[_0x4f728f(_0x3fde99._0x3882ed)], null, 0x2);
|
|
1962
1979
|
},
|
|
1963
|
-
async 'finish_worker'(
|
|
1964
|
-
const
|
|
1965
|
-
if (!
|
|
1966
|
-
return
|
|
1967
|
-
const
|
|
1968
|
-
'method':
|
|
1969
|
-
'headers': { 'Content-Type':
|
|
1970
|
-
'body': JSON[
|
|
1971
|
-
'work_key':
|
|
1980
|
+
async 'finish_worker'(_0x2ee318) {
|
|
1981
|
+
const _0x124748 = _0x32743c;
|
|
1982
|
+
if (!_0x1bf818['daemonLocalUrl'])
|
|
1983
|
+
return 'Worker\x20features\x20not\x20available';
|
|
1984
|
+
const _0x27680d = await fetch(_0x1bf818[_0x124748(_0xc6462c._0x5267d5)] + _0x124748(0x17d), {
|
|
1985
|
+
'method': 'POST',
|
|
1986
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1987
|
+
'body': JSON[_0x124748(_0xc6462c._0x568978)]({
|
|
1988
|
+
'work_key': _0x2ee318[_0x124748(0x19d)],
|
|
1972
1989
|
'resume_packet': {
|
|
1973
1990
|
'objective': '',
|
|
1974
|
-
'result':
|
|
1975
|
-
'summary':
|
|
1976
|
-
'decisions':
|
|
1977
|
-
'filesChanged':
|
|
1978
|
-
'openIssues':
|
|
1979
|
-
'nextSteps':
|
|
1991
|
+
'result': _0x2ee318['result'],
|
|
1992
|
+
'summary': _0x2ee318[_0x124748(0x1a8)],
|
|
1993
|
+
'decisions': _0x2ee318[_0x124748(0x185)] ?? [],
|
|
1994
|
+
'filesChanged': _0x2ee318[_0x124748(_0xc6462c._0x572b1d)] ?? [],
|
|
1995
|
+
'openIssues': _0x2ee318[_0x124748(_0xc6462c._0x40339b)] ?? [],
|
|
1996
|
+
'nextSteps': _0x2ee318[_0x124748(0x2af)] ?? []
|
|
1980
1997
|
}
|
|
1981
1998
|
})
|
|
1982
|
-
}),
|
|
1983
|
-
if (!
|
|
1984
|
-
throw new Error(
|
|
1985
|
-
return
|
|
1999
|
+
}), _0x212454 = await _0x27680d[_0x124748(_0xc6462c._0x22385c)]();
|
|
2000
|
+
if (!_0x212454['ok'])
|
|
2001
|
+
throw new Error(_0x212454[_0x124748(0x1c6)] ?? _0x124748(_0xc6462c._0x4bf244));
|
|
2002
|
+
return _0x124748(0x171) + _0x2ee318[_0x124748(0x19d)] + _0x124748(_0xc6462c._0x530778) + _0x2ee318[_0x124748(0x286)];
|
|
1986
2003
|
},
|
|
1987
|
-
async 'mark_waiting_input'(
|
|
1988
|
-
const
|
|
1989
|
-
if (!
|
|
1990
|
-
return
|
|
1991
|
-
const
|
|
1992
|
-
'method':
|
|
1993
|
-
'headers': { 'Content-Type':
|
|
1994
|
-
'body': JSON[
|
|
1995
|
-
'work_key':
|
|
1996
|
-
'agent_id':
|
|
2004
|
+
async 'mark_waiting_input'(_0x5bf2ed) {
|
|
2005
|
+
const _0x135423 = _0x32743c;
|
|
2006
|
+
if (!_0x1bf818[_0x135423(0x14e)] || !_0x1bf818[_0x135423(_0x164a04._0x5bf945)])
|
|
2007
|
+
return _0x135423(0x280);
|
|
2008
|
+
const _0x528fa5 = await fetch(_0x1bf818['daemonLocalUrl'] + _0x135423(_0x164a04._0x245d7c), {
|
|
2009
|
+
'method': _0x135423(0x2b1),
|
|
2010
|
+
'headers': { 'Content-Type': _0x135423(_0x164a04._0x569eb5) },
|
|
2011
|
+
'body': JSON[_0x135423(0x1a1)]({
|
|
2012
|
+
'work_key': _0x5bf2ed[_0x135423(0x19d)],
|
|
2013
|
+
'agent_id': _0x1bf818[_0x135423(0x1eb)]
|
|
1997
2014
|
})
|
|
1998
|
-
}),
|
|
1999
|
-
if (!
|
|
2000
|
-
throw new Error(
|
|
2001
|
-
return
|
|
2015
|
+
}), _0x4317ae = await _0x528fa5['json']();
|
|
2016
|
+
if (!_0x4317ae['ok'])
|
|
2017
|
+
throw new Error(_0x4317ae[_0x135423(_0x164a04._0x5a215d)] ?? 'mark_waiting_input\x20failed');
|
|
2018
|
+
return 'Worker\x20\x22' + _0x5bf2ed[_0x135423(0x19d)] + _0x135423(0x1e2);
|
|
2002
2019
|
},
|
|
2003
|
-
async 'escalate_to_main'(
|
|
2004
|
-
const
|
|
2005
|
-
if (!
|
|
2006
|
-
return
|
|
2007
|
-
const
|
|
2008
|
-
'method':
|
|
2009
|
-
'headers': { 'Content-Type':
|
|
2010
|
-
'body': JSON[
|
|
2011
|
-
'work_key':
|
|
2012
|
-
'reason':
|
|
2020
|
+
async 'escalate_to_main'(_0x320c66) {
|
|
2021
|
+
const _0x450e7a = _0x32743c;
|
|
2022
|
+
if (!_0x1bf818[_0x450e7a(_0x17efea._0x5ec2ac)])
|
|
2023
|
+
return _0x450e7a(_0x17efea._0x482c35);
|
|
2024
|
+
const _0x82d130 = await fetch(_0x1bf818[_0x450e7a(_0x17efea._0x6e3603)] + _0x450e7a(0x251), {
|
|
2025
|
+
'method': _0x450e7a(_0x17efea._0xba9563),
|
|
2026
|
+
'headers': { 'Content-Type': _0x450e7a(_0x17efea._0x1bf812) },
|
|
2027
|
+
'body': JSON[_0x450e7a(_0x17efea._0x341a0b)]({
|
|
2028
|
+
'work_key': _0x320c66['work_key'],
|
|
2029
|
+
'reason': _0x320c66[_0x450e7a(0x224)]
|
|
2013
2030
|
})
|
|
2014
|
-
}),
|
|
2015
|
-
if (!
|
|
2016
|
-
throw new Error(
|
|
2017
|
-
return
|
|
2031
|
+
}), _0x363619 = await _0x82d130[_0x450e7a(0x24b)]();
|
|
2032
|
+
if (!_0x363619['ok'])
|
|
2033
|
+
throw new Error(_0x363619[_0x450e7a(_0x17efea._0x9c9afd)] ?? 'escalate_to_main\x20failed');
|
|
2034
|
+
return _0x450e7a(0x150) + _0x320c66['reason'];
|
|
2018
2035
|
}
|
|
2019
2036
|
};
|
|
2020
2037
|
}
|
|
2021
|
-
function textResult(
|
|
2022
|
-
const _0x1299da = { _0x336304: 0x185 }, _0x2aedce = _0x566b69;
|
|
2038
|
+
function textResult(_0x1b835d, _0x1de018 = ![]) {
|
|
2023
2039
|
return {
|
|
2024
2040
|
'content': [{
|
|
2025
|
-
'type':
|
|
2026
|
-
'text':
|
|
2041
|
+
'type': 'text',
|
|
2042
|
+
'text': _0x1b835d
|
|
2027
2043
|
}],
|
|
2028
|
-
...
|
|
2044
|
+
..._0x1de018 ? { 'isError': !![] } : {}
|
|
2029
2045
|
};
|
|
2030
2046
|
}
|
|
2031
|
-
async function registerChatBridgeTools(
|
|
2032
|
-
const
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
},
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
},
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
},
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
},
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
},
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2047
|
+
async function registerChatBridgeTools(_0x277dae, _0x5dfbbe, _0x5865e0) {
|
|
2048
|
+
const _0x334be6 = {
|
|
2049
|
+
_0x26089c: 0x230,
|
|
2050
|
+
_0x2ff33a: 0x1e0,
|
|
2051
|
+
_0x20d565: 0x1bf,
|
|
2052
|
+
_0x16bf37: 0x1bf,
|
|
2053
|
+
_0x237d84: 0x2b8,
|
|
2054
|
+
_0x27a5f9: 0x1e0,
|
|
2055
|
+
_0x3744b7: 0x25e,
|
|
2056
|
+
_0x3d2917: 0x295,
|
|
2057
|
+
_0x4deba4: 0x25f,
|
|
2058
|
+
_0x515ee0: 0x14c,
|
|
2059
|
+
_0x51ef12: 0x25f,
|
|
2060
|
+
_0x231cca: 0x14c,
|
|
2061
|
+
_0x52db4e: 0x260,
|
|
2062
|
+
_0x5eb1c0: 0x1e0,
|
|
2063
|
+
_0xf70c6d: 0x274,
|
|
2064
|
+
_0x3b55e2: 0x1cf,
|
|
2065
|
+
_0x38ec5e: 0x236,
|
|
2066
|
+
_0xdbf214: 0x1ef,
|
|
2067
|
+
_0x933225: 0x14c,
|
|
2068
|
+
_0x45557b: 0x289,
|
|
2069
|
+
_0xd3c9a: 0x212,
|
|
2070
|
+
_0x206b27: 0x236,
|
|
2071
|
+
_0x2b6b4c: 0x25f,
|
|
2072
|
+
_0x3a4fe5: 0x1bc,
|
|
2073
|
+
_0x4f1efd: 0x1fc,
|
|
2074
|
+
_0x50a034: 0x1bf,
|
|
2075
|
+
_0x54a579: 0x14c,
|
|
2076
|
+
_0x164ea4: 0x1bf,
|
|
2077
|
+
_0x3295e7: 0x25f,
|
|
2078
|
+
_0x3787c8: 0x1bf,
|
|
2079
|
+
_0x26e7a4: 0x14c,
|
|
2080
|
+
_0x1acc64: 0x1e0,
|
|
2081
|
+
_0x4b0ea3: 0x297,
|
|
2082
|
+
_0x22c75a: 0x253,
|
|
2083
|
+
_0x541c4a: 0x244,
|
|
2084
|
+
_0x2abfa4: 0x169,
|
|
2085
|
+
_0x172f4b: 0x1bf,
|
|
2086
|
+
_0xcec370: 0x14c,
|
|
2087
|
+
_0x296ac0: 0x240
|
|
2088
|
+
}, _0x4208cc = {
|
|
2089
|
+
_0xc6480a: 0x1ec,
|
|
2090
|
+
_0x40061b: 0x245
|
|
2091
|
+
}, _0x49fa25 = {
|
|
2092
|
+
_0x151025: 0x16a,
|
|
2093
|
+
_0x2a9f9b: 0x1ec
|
|
2094
|
+
}, _0x59da05 = { _0x14e291: 0x183 }, _0x431f73 = {
|
|
2095
|
+
_0x24a21c: 0x1ec,
|
|
2096
|
+
_0x1e7cb3: 0x137
|
|
2097
|
+
}, _0x5efdac = { _0x4b9a94: 0x205 }, _0x54e77e = {
|
|
2098
|
+
_0x760bfa: 0x297,
|
|
2099
|
+
_0x5036be: 0x1ec,
|
|
2100
|
+
_0x45c794: 0x1f8
|
|
2101
|
+
}, _0x59d815 = { _0x50b89a: 0x1cc }, _0x884256 = { _0x32dd0c: 0x1ec }, _0x32964b = {
|
|
2102
|
+
_0x40dbc2: 0x212,
|
|
2103
|
+
_0x56f0d5: 0x1ec,
|
|
2104
|
+
_0x44d690: 0x179
|
|
2105
|
+
}, _0x355209 = { _0x3b7c57: 0x217 }, _0x745127 = {
|
|
2106
|
+
_0x1620c5: 0x176,
|
|
2107
|
+
_0x2f064b: 0x1ec,
|
|
2108
|
+
_0x4fac48: 0x192
|
|
2109
|
+
}, _0x23416e = { _0x5438e7: 0x1ec }, _0x3a8396 = { _0x49d633: 0x29d }, _0x10ccff = _0x404ee2, {z: _0x3b56ab} = await import(_0x10ccff(_0x334be6._0x26089c));
|
|
2110
|
+
_0x277dae[_0x10ccff(_0x334be6._0x2ff33a)](_0x10ccff(0x29d), 'Send\x20a\x20message.\x20If\x20visibility\x20is\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20visibility:\x20aside\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Outside\x20threads,\x20do\x20not\x20set\x20visibility.\x20Reuse\x20the\x20exact\x20target\x20string\x20from\x20incoming\x20messages.', {
|
|
2111
|
+
'target': _0x3b56ab[_0x10ccff(0x1bf)](),
|
|
2112
|
+
'content': _0x3b56ab[_0x10ccff(_0x334be6._0x20d565)](),
|
|
2113
|
+
'attachment_ids': _0x3b56ab['array'](_0x3b56ab[_0x10ccff(_0x334be6._0x16bf37)]())[_0x10ccff(0x14c)](),
|
|
2114
|
+
'visibility': _0x3b56ab[_0x10ccff(_0x334be6._0x237d84)]([
|
|
2115
|
+
'public',
|
|
2092
2116
|
'aside'
|
|
2093
|
-
])[
|
|
2094
|
-
}, async
|
|
2095
|
-
const
|
|
2117
|
+
])[_0x10ccff(0x14c)]()[_0x10ccff(0x20f)](_0x10ccff(0x266))
|
|
2118
|
+
}, async _0x2daacb => {
|
|
2119
|
+
const _0x1c77f7 = _0x10ccff;
|
|
2096
2120
|
try {
|
|
2097
|
-
return textResult(await
|
|
2098
|
-
} catch (
|
|
2099
|
-
return textResult(
|
|
2121
|
+
return textResult(await _0x5dfbbe[_0x1c77f7(_0x3a8396._0x49d633)](_0x2daacb));
|
|
2122
|
+
} catch (_0xa845dc) {
|
|
2123
|
+
return textResult(_0xa845dc instanceof Error ? _0xa845dc[_0x1c77f7(0x1ec)] : _0x1c77f7(0x13d), !![]);
|
|
2100
2124
|
}
|
|
2101
|
-
}),
|
|
2102
|
-
const
|
|
2125
|
+
}), _0x277dae[_0x10ccff(_0x334be6._0x27a5f9)](_0x10ccff(_0x334be6._0x3744b7), 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
2126
|
+
const _0x4b8a97 = _0x10ccff;
|
|
2103
2127
|
try {
|
|
2104
|
-
return textResult(await
|
|
2105
|
-
} catch (
|
|
2106
|
-
return textResult(
|
|
2128
|
+
return textResult(await _0x5dfbbe[_0x4b8a97(0x25e)]());
|
|
2129
|
+
} catch (_0x5d5277) {
|
|
2130
|
+
return textResult(_0x5d5277 instanceof Error ? _0x5d5277['message'] : 'check_messages\x20failed', !![]);
|
|
2107
2131
|
}
|
|
2108
|
-
}),
|
|
2109
|
-
'channel':
|
|
2110
|
-
'limit':
|
|
2111
|
-
'before':
|
|
2112
|
-
'after':
|
|
2113
|
-
}, async
|
|
2114
|
-
const
|
|
2132
|
+
}), _0x277dae['tool'](_0x10ccff(_0x334be6._0x3d2917), 'Read\x20message\x20history\x20for\x20a\x20channel,\x20DM,\x20or\x20thread\x20target.', {
|
|
2133
|
+
'channel': _0x3b56ab[_0x10ccff(0x1bf)](),
|
|
2134
|
+
'limit': _0x3b56ab[_0x10ccff(_0x334be6._0x4deba4)]()['optional'](),
|
|
2135
|
+
'before': _0x3b56ab[_0x10ccff(0x25f)]()[_0x10ccff(_0x334be6._0x515ee0)](),
|
|
2136
|
+
'after': _0x3b56ab[_0x10ccff(_0x334be6._0x51ef12)]()[_0x10ccff(_0x334be6._0x231cca)]()
|
|
2137
|
+
}, async _0x40161d => {
|
|
2138
|
+
const _0x18137f = _0x10ccff;
|
|
2115
2139
|
try {
|
|
2116
|
-
return textResult(await
|
|
2117
|
-
} catch (
|
|
2118
|
-
return textResult(
|
|
2140
|
+
return textResult(await _0x5dfbbe[_0x18137f(0x295)](_0x40161d));
|
|
2141
|
+
} catch (_0x5ae9da) {
|
|
2142
|
+
return textResult(_0x5ae9da instanceof Error ? _0x5ae9da[_0x18137f(_0x23416e._0x5438e7)] : 'read_history\x20failed', !![]);
|
|
2119
2143
|
}
|
|
2120
|
-
}),
|
|
2121
|
-
const
|
|
2144
|
+
}), _0x277dae['tool']('list_server', _0x10ccff(0x161), {}, async () => {
|
|
2145
|
+
const _0x149438 = _0x10ccff;
|
|
2122
2146
|
try {
|
|
2123
|
-
return textResult(await
|
|
2124
|
-
} catch (
|
|
2125
|
-
return textResult(
|
|
2147
|
+
return textResult(await _0x5dfbbe[_0x149438(_0x745127._0x1620c5)]());
|
|
2148
|
+
} catch (_0xe0132) {
|
|
2149
|
+
return textResult(_0xe0132 instanceof Error ? _0xe0132[_0x149438(_0x745127._0x2f064b)] : _0x149438(_0x745127._0x4fac48), !![]);
|
|
2126
2150
|
}
|
|
2127
|
-
}),
|
|
2128
|
-
'channel':
|
|
2129
|
-
'status':
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
])[
|
|
2135
|
-
}, async
|
|
2136
|
-
const
|
|
2151
|
+
}), _0x277dae[_0x10ccff(0x1e0)](_0x10ccff(_0x334be6._0x52db4e), _0x10ccff(0x135), {
|
|
2152
|
+
'channel': _0x3b56ab[_0x10ccff(0x1bf)](),
|
|
2153
|
+
'status': _0x3b56ab[_0x10ccff(0x2b8)]([
|
|
2154
|
+
'todo',
|
|
2155
|
+
'in_progress',
|
|
2156
|
+
_0x10ccff(0x264),
|
|
2157
|
+
_0x10ccff(0x249)
|
|
2158
|
+
])[_0x10ccff(_0x334be6._0x231cca)]()
|
|
2159
|
+
}, async _0x119073 => {
|
|
2160
|
+
const _0x3216ae = _0x10ccff;
|
|
2137
2161
|
try {
|
|
2138
|
-
return textResult(await
|
|
2139
|
-
} catch (
|
|
2140
|
-
return textResult(
|
|
2162
|
+
return textResult(await _0x5dfbbe[_0x3216ae(0x260)](_0x119073));
|
|
2163
|
+
} catch (_0x3145b4) {
|
|
2164
|
+
return textResult(_0x3145b4 instanceof Error ? _0x3145b4[_0x3216ae(0x1ec)] : 'list_tasks\x20failed', !![]);
|
|
2141
2165
|
}
|
|
2142
|
-
}),
|
|
2143
|
-
'channel':
|
|
2144
|
-
'idempotency_key':
|
|
2145
|
-
'tasks':
|
|
2146
|
-
'title':
|
|
2147
|
-
'description':
|
|
2148
|
-
'priority':
|
|
2149
|
-
|
|
2150
|
-
|
|
2166
|
+
}), _0x277dae[_0x10ccff(_0x334be6._0x5eb1c0)](_0x10ccff(_0x334be6._0xf70c6d), _0x10ccff(_0x334be6._0x3b55e2), {
|
|
2167
|
+
'channel': _0x3b56ab[_0x10ccff(0x1bf)](),
|
|
2168
|
+
'idempotency_key': _0x3b56ab[_0x10ccff(0x1bf)]()[_0x10ccff(_0x334be6._0x231cca)](),
|
|
2169
|
+
'tasks': _0x3b56ab[_0x10ccff(_0x334be6._0x38ec5e)](_0x3b56ab[_0x10ccff(_0x334be6._0xdbf214)]({
|
|
2170
|
+
'title': _0x3b56ab[_0x10ccff(0x1bf)](),
|
|
2171
|
+
'description': _0x3b56ab['string']()[_0x10ccff(_0x334be6._0x933225)](),
|
|
2172
|
+
'priority': _0x3b56ab['enum']([
|
|
2173
|
+
_0x10ccff(0x140),
|
|
2174
|
+
_0x10ccff(_0x334be6._0x45557b),
|
|
2151
2175
|
'high',
|
|
2152
|
-
|
|
2153
|
-
])[
|
|
2176
|
+
'urgent'
|
|
2177
|
+
])['optional']()
|
|
2154
2178
|
}))
|
|
2155
|
-
}, async
|
|
2179
|
+
}, async _0x17bb0c => {
|
|
2180
|
+
const _0x5a1b56 = _0x10ccff;
|
|
2156
2181
|
try {
|
|
2157
|
-
return textResult(await
|
|
2158
|
-
} catch (
|
|
2159
|
-
return textResult(
|
|
2182
|
+
return textResult(await _0x5dfbbe['create_tasks'](_0x17bb0c));
|
|
2183
|
+
} catch (_0x2460b0) {
|
|
2184
|
+
return textResult(_0x2460b0 instanceof Error ? _0x2460b0[_0x5a1b56(0x1ec)] : _0x5a1b56(_0x355209._0x3b7c57), !![]);
|
|
2160
2185
|
}
|
|
2161
|
-
}),
|
|
2162
|
-
'channel':
|
|
2163
|
-
'task_numbers':
|
|
2164
|
-
'message_ids':
|
|
2165
|
-
'evidence':
|
|
2166
|
-
'create_thread':
|
|
2167
|
-
'create_task':
|
|
2168
|
-
}))[
|
|
2169
|
-
'idempotency_key':
|
|
2170
|
-
}, async
|
|
2171
|
-
const
|
|
2186
|
+
}), _0x277dae[_0x10ccff(0x1e0)](_0x10ccff(_0x334be6._0xd3c9a), _0x10ccff(0x172), {
|
|
2187
|
+
'channel': _0x3b56ab['string'](),
|
|
2188
|
+
'task_numbers': _0x3b56ab[_0x10ccff(_0x334be6._0x206b27)](_0x3b56ab[_0x10ccff(_0x334be6._0x2b6b4c)]())[_0x10ccff(0x14c)](),
|
|
2189
|
+
'message_ids': _0x3b56ab['array'](_0x3b56ab['string']())['optional'](),
|
|
2190
|
+
'evidence': _0x3b56ab['record'](_0x3b56ab[_0x10ccff(_0x334be6._0x16bf37)](), _0x3b56ab[_0x10ccff(0x1ef)]({
|
|
2191
|
+
'create_thread': _0x3b56ab['unknown']()[_0x10ccff(0x14c)](),
|
|
2192
|
+
'create_task': _0x3b56ab[_0x10ccff(0x12a)]()[_0x10ccff(0x14c)]()
|
|
2193
|
+
}))['optional'](),
|
|
2194
|
+
'idempotency_key': _0x3b56ab[_0x10ccff(_0x334be6._0x20d565)]()[_0x10ccff(_0x334be6._0x515ee0)]()
|
|
2195
|
+
}, async _0x57bc91 => {
|
|
2196
|
+
const _0x51c535 = _0x10ccff;
|
|
2172
2197
|
try {
|
|
2173
|
-
return textResult(await
|
|
2174
|
-
} catch (
|
|
2175
|
-
return textResult(
|
|
2198
|
+
return textResult(await _0x5dfbbe[_0x51c535(_0x32964b._0x40dbc2)](_0x57bc91));
|
|
2199
|
+
} catch (_0x5a8e0e) {
|
|
2200
|
+
return textResult(_0x5a8e0e instanceof Error ? _0x5a8e0e[_0x51c535(_0x32964b._0x56f0d5)] : _0x51c535(_0x32964b._0x44d690), !![]);
|
|
2176
2201
|
}
|
|
2177
|
-
}),
|
|
2178
|
-
'channel':
|
|
2179
|
-
'task_number':
|
|
2180
|
-
'idempotency_key':
|
|
2181
|
-
}, async
|
|
2182
|
-
const
|
|
2202
|
+
}), _0x277dae[_0x10ccff(0x1e0)](_0x10ccff(_0x334be6._0x3a4fe5), _0x10ccff(_0x334be6._0x4f1efd), {
|
|
2203
|
+
'channel': _0x3b56ab[_0x10ccff(_0x334be6._0x16bf37)](),
|
|
2204
|
+
'task_number': _0x3b56ab[_0x10ccff(0x25f)](),
|
|
2205
|
+
'idempotency_key': _0x3b56ab[_0x10ccff(_0x334be6._0x50a034)]()[_0x10ccff(_0x334be6._0x54a579)]()
|
|
2206
|
+
}, async _0x293421 => {
|
|
2207
|
+
const _0xb37ddb = _0x10ccff;
|
|
2183
2208
|
try {
|
|
2184
|
-
return textResult(await
|
|
2185
|
-
} catch (
|
|
2186
|
-
return textResult(
|
|
2209
|
+
return textResult(await _0x5dfbbe[_0xb37ddb(0x1bc)](_0x293421));
|
|
2210
|
+
} catch (_0x11c93f) {
|
|
2211
|
+
return textResult(_0x11c93f instanceof Error ? _0x11c93f[_0xb37ddb(_0x884256._0x32dd0c)] : _0xb37ddb(0x28b), !![]);
|
|
2187
2212
|
}
|
|
2188
|
-
}),
|
|
2189
|
-
'channel':
|
|
2190
|
-
'task_number':
|
|
2191
|
-
'status':
|
|
2192
|
-
|
|
2213
|
+
}), _0x277dae[_0x10ccff(0x1e0)]('update_task_status', 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.', {
|
|
2214
|
+
'channel': _0x3b56ab[_0x10ccff(_0x334be6._0x164ea4)](),
|
|
2215
|
+
'task_number': _0x3b56ab[_0x10ccff(_0x334be6._0x3295e7)](),
|
|
2216
|
+
'status': _0x3b56ab['enum']([
|
|
2217
|
+
_0x10ccff(0x1ad),
|
|
2193
2218
|
'in_progress',
|
|
2194
|
-
|
|
2195
|
-
|
|
2219
|
+
_0x10ccff(0x264),
|
|
2220
|
+
_0x10ccff(0x249)
|
|
2196
2221
|
]),
|
|
2197
|
-
'idempotency_key':
|
|
2198
|
-
}, async
|
|
2199
|
-
const
|
|
2222
|
+
'idempotency_key': _0x3b56ab[_0x10ccff(_0x334be6._0x3787c8)]()[_0x10ccff(_0x334be6._0x26e7a4)]()
|
|
2223
|
+
}, async _0x1ee00 => {
|
|
2224
|
+
const _0x52423f = _0x10ccff;
|
|
2200
2225
|
try {
|
|
2201
|
-
return textResult(await
|
|
2202
|
-
} catch (
|
|
2203
|
-
return textResult(
|
|
2226
|
+
return textResult(await _0x5dfbbe['update_task_status'](_0x1ee00));
|
|
2227
|
+
} catch (_0x497958) {
|
|
2228
|
+
return textResult(_0x497958 instanceof Error ? _0x497958[_0x52423f(0x1ec)] : _0x52423f(_0x59d815._0x50b89a), !![]);
|
|
2204
2229
|
}
|
|
2205
|
-
}),
|
|
2206
|
-
'channel':
|
|
2207
|
-
'file_path':
|
|
2208
|
-
}, async
|
|
2209
|
-
const
|
|
2230
|
+
}), _0x277dae[_0x10ccff(_0x334be6._0x1acc64)](_0x10ccff(_0x334be6._0x4b0ea3), _0x10ccff(0x15d), {
|
|
2231
|
+
'channel': _0x3b56ab[_0x10ccff(0x1bf)](),
|
|
2232
|
+
'file_path': _0x3b56ab['string']()
|
|
2233
|
+
}, async _0x181cc2 => {
|
|
2234
|
+
const _0x2ac8a0 = _0x10ccff;
|
|
2210
2235
|
try {
|
|
2211
|
-
return textResult(await
|
|
2212
|
-
} catch (
|
|
2213
|
-
return textResult(
|
|
2236
|
+
return textResult(await _0x5dfbbe[_0x2ac8a0(_0x54e77e._0x760bfa)](_0x181cc2));
|
|
2237
|
+
} catch (_0x2f2444) {
|
|
2238
|
+
return textResult(_0x2f2444 instanceof Error ? _0x2f2444[_0x2ac8a0(_0x54e77e._0x5036be)] : _0x2ac8a0(_0x54e77e._0x45c794), !![]);
|
|
2214
2239
|
}
|
|
2215
|
-
}),
|
|
2216
|
-
const
|
|
2240
|
+
}), _0x277dae['tool'](_0x10ccff(0x1c9), _0x10ccff(_0x334be6._0x22c75a), { 'attachment_id': _0x3b56ab['string']() }, async _0x50134c => {
|
|
2241
|
+
const _0x549793 = _0x10ccff;
|
|
2217
2242
|
try {
|
|
2218
|
-
return textResult(await
|
|
2219
|
-
} catch (
|
|
2220
|
-
return textResult(
|
|
2243
|
+
return textResult(await _0x5dfbbe[_0x549793(0x1c9)](_0x50134c));
|
|
2244
|
+
} catch (_0x55f83b) {
|
|
2245
|
+
return textResult(_0x55f83b instanceof Error ? _0x55f83b['message'] : _0x549793(_0x5efdac._0x4b9a94), !![]);
|
|
2221
2246
|
}
|
|
2222
|
-
}),
|
|
2223
|
-
const
|
|
2247
|
+
}), _0x277dae[_0x10ccff(_0x334be6._0x27a5f9)](_0x10ccff(0x19a), _0x10ccff(_0x334be6._0x541c4a), { 'work_key': _0x3b56ab[_0x10ccff(0x1bf)]() }, async _0x4e9e82 => {
|
|
2248
|
+
const _0x1880c2 = _0x10ccff;
|
|
2224
2249
|
try {
|
|
2225
|
-
return textResult(await
|
|
2226
|
-
} catch (
|
|
2227
|
-
return textResult(
|
|
2250
|
+
return textResult(await _0x5dfbbe['get_worker_status'](_0x4e9e82));
|
|
2251
|
+
} catch (_0x3a5d35) {
|
|
2252
|
+
return textResult(_0x3a5d35 instanceof Error ? _0x3a5d35[_0x1880c2(_0x431f73._0x24a21c)] : _0x1880c2(_0x431f73._0x1e7cb3), !![]);
|
|
2228
2253
|
}
|
|
2229
|
-
}),
|
|
2230
|
-
const
|
|
2254
|
+
}), _0x277dae[_0x10ccff(_0x334be6._0x5eb1c0)](_0x10ccff(0x17e), _0x10ccff(0x14d), { 'work_key': _0x3b56ab['string']() }, async _0x21698a => {
|
|
2255
|
+
const _0x587f8d = _0x10ccff;
|
|
2231
2256
|
try {
|
|
2232
|
-
return textResult(await
|
|
2233
|
-
} catch (
|
|
2234
|
-
return textResult(
|
|
2257
|
+
return textResult(await _0x5dfbbe[_0x587f8d(0x17e)](_0x21698a));
|
|
2258
|
+
} catch (_0x462080) {
|
|
2259
|
+
return textResult(_0x462080 instanceof Error ? _0x462080[_0x587f8d(0x1ec)] : _0x587f8d(0x130), !![]);
|
|
2235
2260
|
}
|
|
2236
|
-
}),
|
|
2237
|
-
'work_key':
|
|
2238
|
-
'result':
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2261
|
+
}), _0x277dae[_0x10ccff(0x1e0)](_0x10ccff(0x183), _0x10ccff(0x1c7), {
|
|
2262
|
+
'work_key': _0x3b56ab['string'](),
|
|
2263
|
+
'result': _0x3b56ab[_0x10ccff(0x2b8)]([
|
|
2264
|
+
_0x10ccff(0x1e8),
|
|
2265
|
+
_0x10ccff(0x1cd),
|
|
2266
|
+
_0x10ccff(_0x334be6._0x2abfa4)
|
|
2242
2267
|
]),
|
|
2243
|
-
'summary':
|
|
2244
|
-
'decisions':
|
|
2245
|
-
'files_changed':
|
|
2246
|
-
'open_issues':
|
|
2247
|
-
'next_steps':
|
|
2248
|
-
}, async
|
|
2249
|
-
const
|
|
2268
|
+
'summary': _0x3b56ab[_0x10ccff(_0x334be6._0x3787c8)](),
|
|
2269
|
+
'decisions': _0x3b56ab['array'](_0x3b56ab[_0x10ccff(_0x334be6._0x172f4b)]())[_0x10ccff(0x14c)](),
|
|
2270
|
+
'files_changed': _0x3b56ab['array'](_0x3b56ab['string']())['optional'](),
|
|
2271
|
+
'open_issues': _0x3b56ab['array'](_0x3b56ab['string']())[_0x10ccff(0x14c)](),
|
|
2272
|
+
'next_steps': _0x3b56ab['array'](_0x3b56ab['string']())[_0x10ccff(_0x334be6._0xcec370)]()
|
|
2273
|
+
}, async _0x2d72ed => {
|
|
2274
|
+
const _0x46fa2b = _0x10ccff;
|
|
2250
2275
|
try {
|
|
2251
|
-
return textResult(await
|
|
2252
|
-
} catch (
|
|
2253
|
-
return textResult(
|
|
2276
|
+
return textResult(await _0x5dfbbe[_0x46fa2b(_0x59da05._0x14e291)](_0x2d72ed));
|
|
2277
|
+
} catch (_0x284c9a) {
|
|
2278
|
+
return textResult(_0x284c9a instanceof Error ? _0x284c9a['message'] : _0x46fa2b(0x1ab), !![]);
|
|
2254
2279
|
}
|
|
2255
|
-
}),
|
|
2256
|
-
'work_key':
|
|
2257
|
-
'reason':
|
|
2258
|
-
}, async
|
|
2259
|
-
const
|
|
2280
|
+
}), _0x277dae[_0x10ccff(0x1e0)](_0x10ccff(0x16a), _0x10ccff(_0x334be6._0x296ac0), {
|
|
2281
|
+
'work_key': _0x3b56ab['string'](),
|
|
2282
|
+
'reason': _0x3b56ab[_0x10ccff(0x1bf)]()
|
|
2283
|
+
}, async _0xb2aa78 => {
|
|
2284
|
+
const _0x55d457 = _0x10ccff;
|
|
2260
2285
|
try {
|
|
2261
|
-
return textResult(await
|
|
2262
|
-
} catch (
|
|
2263
|
-
return textResult(
|
|
2286
|
+
return textResult(await _0x5dfbbe[_0x55d457(_0x49fa25._0x151025)](_0xb2aa78));
|
|
2287
|
+
} catch (_0xd85c99) {
|
|
2288
|
+
return textResult(_0xd85c99 instanceof Error ? _0xd85c99[_0x55d457(_0x49fa25._0x2a9f9b)] : _0x55d457(0x148), !![]);
|
|
2264
2289
|
}
|
|
2265
|
-
}),
|
|
2266
|
-
const
|
|
2290
|
+
}), _0x5865e0?.[_0x10ccff(0x182)] && _0x277dae[_0x10ccff(_0x334be6._0x2ff33a)](_0x10ccff(0x275), 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x3b56ab[_0x10ccff(_0x334be6._0x16bf37)]() }, async _0x1af7e7 => {
|
|
2291
|
+
const _0x5c4ec2 = _0x10ccff;
|
|
2267
2292
|
try {
|
|
2268
|
-
return textResult(await
|
|
2269
|
-
} catch (
|
|
2270
|
-
return textResult(
|
|
2293
|
+
return textResult(await _0x5dfbbe['mark_waiting_input'](_0x1af7e7));
|
|
2294
|
+
} catch (_0x600302) {
|
|
2295
|
+
return textResult(_0x600302 instanceof Error ? _0x600302[_0x5c4ec2(_0x4208cc._0xc6480a)] : _0x5c4ec2(_0x4208cc._0x40061b), !![]);
|
|
2271
2296
|
}
|
|
2272
2297
|
});
|
|
2273
2298
|
}
|
|
2274
|
-
async function createChatBridgeServer(
|
|
2275
|
-
const
|
|
2276
|
-
'name':
|
|
2277
|
-
'version':
|
|
2278
|
-
}),
|
|
2279
|
-
return await registerChatBridgeTools(
|
|
2280
|
-
'handlers':
|
|
2281
|
-
'server':
|
|
2299
|
+
async function createChatBridgeServer(_0x28ed5b) {
|
|
2300
|
+
const _0x5714ff = { _0xe282d0: 0x238 }, _0xfe96ce = _0x404ee2, {McpServer: _0x3d570b} = await import(_0xfe96ce(_0x5714ff._0xe282d0)), _0x5c9cf3 = new _0x3d570b({
|
|
2301
|
+
'name': _0xfe96ce(0x131),
|
|
2302
|
+
'version': _0xfe96ce(0x1f9)
|
|
2303
|
+
}), _0x819ead = createChatBridgeHandlers(_0x28ed5b);
|
|
2304
|
+
return await registerChatBridgeTools(_0x5c9cf3, _0x819ead, { 'workerMode': _0x28ed5b[_0xfe96ce(0x182)] }), {
|
|
2305
|
+
'handlers': _0x819ead,
|
|
2306
|
+
'server': _0x5c9cf3
|
|
2282
2307
|
};
|
|
2283
2308
|
}
|
|
2284
|
-
function readFlag(
|
|
2285
|
-
const
|
|
2286
|
-
if (
|
|
2309
|
+
function readFlag(_0x1c595b, _0xaa6edf) {
|
|
2310
|
+
const _0x466c75 = _0x404ee2, _0x1835d4 = _0x1c595b[_0x466c75(0x1f1)](_0xaa6edf);
|
|
2311
|
+
if (_0x1835d4 === -0x1)
|
|
2287
2312
|
return void 0x0;
|
|
2288
|
-
return
|
|
2313
|
+
return _0x1c595b[_0x1835d4 + 0x1];
|
|
2289
2314
|
}
|
|
2290
|
-
function parseChatBridgeArgs(
|
|
2291
|
-
const
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
},
|
|
2297
|
-
if (!
|
|
2298
|
-
throw new Error(
|
|
2299
|
-
if (!
|
|
2315
|
+
function parseChatBridgeArgs(_0x23077f) {
|
|
2316
|
+
const _0x2b2768 = {
|
|
2317
|
+
_0x5e492f: 0x1be,
|
|
2318
|
+
_0x296e67: 0x292,
|
|
2319
|
+
_0x3a3e24: 0x1d0,
|
|
2320
|
+
_0x411a51: 0x21f
|
|
2321
|
+
}, _0x5957fe = _0x404ee2, _0x4b921b = readFlag(_0x23077f, _0x5957fe(0x156)), _0x402e4f = readFlag(_0x23077f, _0x5957fe(0x1b1)), _0x58d938 = readFlag(_0x23077f, '--initial-last-seen-seq'), _0x408435 = readFlag(_0x23077f, '--server-url') ?? _0x5957fe(0x145), _0x1e54f4 = readFlag(_0x23077f, _0x5957fe(_0x2b2768._0x5e492f)), _0x50663d = readFlag(_0x23077f, _0x5957fe(0x1f0)), _0x12b6f5 = readFlag(_0x23077f, _0x5957fe(_0x2b2768._0x296e67)), _0x2d972e = readFlag(_0x23077f, '--worker-session-id'), _0x4cb2ea = readFlag(_0x23077f, _0x5957fe(0x197)), _0x162bcf = _0x23077f[_0x5957fe(_0x2b2768._0x3a3e24)](_0x5957fe(_0x2b2768._0x411a51)), _0x40de91 = _0x58d938 === void 0x0 ? void 0x0 : Number[_0x5957fe(0x1c3)](_0x58d938, 0xa);
|
|
2322
|
+
if (!_0x4b921b)
|
|
2323
|
+
throw new Error(_0x5957fe(0x132));
|
|
2324
|
+
if (!_0x402e4f)
|
|
2300
2325
|
throw new Error('Missing\x20--daemon-api-key');
|
|
2301
|
-
if (
|
|
2302
|
-
throw new Error(
|
|
2326
|
+
if (_0x58d938 !== void 0x0 && (_0x40de91 === void 0x0 || !Number[_0x5957fe(0x267)](_0x40de91) || _0x40de91 < 0x0))
|
|
2327
|
+
throw new Error('Invalid\x20--initial-last-seen-seq');
|
|
2303
2328
|
return {
|
|
2304
|
-
'agentId':
|
|
2305
|
-
'daemonApiKey':
|
|
2306
|
-
'daemonLocalUrl':
|
|
2307
|
-
'initialLastSeenSeq':
|
|
2308
|
-
'sessionId':
|
|
2309
|
-
'serverUrl':
|
|
2310
|
-
'workerModeEnabled':
|
|
2311
|
-
'workerSessionId':
|
|
2312
|
-
'workerThreadTarget':
|
|
2313
|
-
'workerMode':
|
|
2329
|
+
'agentId': _0x4b921b,
|
|
2330
|
+
'daemonApiKey': _0x402e4f,
|
|
2331
|
+
'daemonLocalUrl': _0x1e54f4,
|
|
2332
|
+
'initialLastSeenSeq': _0x40de91,
|
|
2333
|
+
'sessionId': _0x50663d,
|
|
2334
|
+
'serverUrl': _0x408435,
|
|
2335
|
+
'workerModeEnabled': _0x12b6f5 === void 0x0 ? void 0x0 : _0x12b6f5 !== _0x5957fe(0x129),
|
|
2336
|
+
'workerSessionId': _0x2d972e,
|
|
2337
|
+
'workerThreadTarget': _0x4cb2ea,
|
|
2338
|
+
'workerMode': _0x162bcf
|
|
2314
2339
|
};
|
|
2315
2340
|
}
|
|
2316
|
-
async function runChatBridgeCli(
|
|
2317
|
-
const
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
},
|
|
2321
|
-
'agentId':
|
|
2322
|
-
'attachmentCache':
|
|
2323
|
-
'client':
|
|
2324
|
-
'daemonLocalUrl':
|
|
2341
|
+
async function runChatBridgeCli(_0x8ee8f3) {
|
|
2342
|
+
const _0x5d945b = {
|
|
2343
|
+
_0x40a91f: 0x158,
|
|
2344
|
+
_0x5be811: 0x237
|
|
2345
|
+
}, _0x464b1a = _0x404ee2, _0x32866d = parseChatBridgeArgs(_0x8ee8f3), {StdioServerTransport: _0x1828c0} = await import(_0x464b1a(0x2b0)), _0x40a066 = createInternalAgentClient(_0x32866d), _0x2699d8 = createAttachmentCache(), _0x3d4ed7 = await createChatBridgeServer({
|
|
2346
|
+
'agentId': _0x32866d['agentId'],
|
|
2347
|
+
'attachmentCache': _0x2699d8,
|
|
2348
|
+
'client': _0x40a066,
|
|
2349
|
+
'daemonLocalUrl': _0x32866d[_0x464b1a(0x14e)],
|
|
2325
2350
|
'uploadPreparer': prepareUploadFile,
|
|
2326
|
-
'workerModeEnabled':
|
|
2327
|
-
'workerMode':
|
|
2351
|
+
'workerModeEnabled': _0x32866d[_0x464b1a(_0x5d945b._0x40a91f)],
|
|
2352
|
+
'workerMode': _0x32866d[_0x464b1a(0x182)]
|
|
2328
2353
|
});
|
|
2329
|
-
await
|
|
2354
|
+
await _0x3d4ed7[_0x464b1a(_0x5d945b._0x5be811)]['connect'](new _0x1828c0());
|
|
2330
2355
|
}
|
|
2331
|
-
var executedAsEntry = process[
|
|
2332
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2356
|
+
var executedAsEntry = process[_0x404ee2(0x223)][0x1] ? import.meta.url === pathToFileURL(process[_0x404ee2(0x223)][0x1])[_0x404ee2(0x1fd)] : ![];
|
|
2357
|
+
executedAsEntry && await runChatBridgeCli(process[_0x404ee2(0x223)]['slice'](0x2));
|
|
2333
2358
|
export {
|
|
2334
2359
|
createChatBridgeHandlers,
|
|
2335
2360
|
createChatBridgeServer,
|