@dscord/daemon 0.1.17 → 0.1.18
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 +1948 -1956
- package/dist/index.js +8674 -8526
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
const _0x174aa9 = _0xf070;
|
|
2
|
+
(function (_0x8a78dd, _0x426dbc) {
|
|
3
|
+
const _0x3c9e4a = {
|
|
4
|
+
_0x4a88e7: 0xe6,
|
|
5
|
+
_0x11e282: 0x1ae,
|
|
6
|
+
_0x82203e: 0x1c2,
|
|
7
|
+
_0x1381df: 0x136,
|
|
8
|
+
_0x1ce8a9: 0x130
|
|
9
|
+
}, _0x441fc3 = _0xf070, _0x487aac = _0x8a78dd();
|
|
9
10
|
while (!![]) {
|
|
10
11
|
try {
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
12
|
+
const _0x5ac64b = parseInt(_0x441fc3(0x142)) / 0x1 + parseInt(_0x441fc3(_0x3c9e4a._0x4a88e7)) / 0x2 * (parseInt(_0x441fc3(_0x3c9e4a._0x11e282)) / 0x3) + -parseInt(_0x441fc3(0x16b)) / 0x4 * (-parseInt(_0x441fc3(0xc6)) / 0x5) + parseInt(_0x441fc3(_0x3c9e4a._0x82203e)) / 0x6 * (-parseInt(_0x441fc3(_0x3c9e4a._0x1381df)) / 0x7) + -parseInt(_0x441fc3(0xfd)) / 0x8 * (-parseInt(_0x441fc3(0x133)) / 0x9) + -parseInt(_0x441fc3(_0x3c9e4a._0x1ce8a9)) / 0xa + -parseInt(_0x441fc3(0x131)) / 0xb * (-parseInt(_0x441fc3(0x13a)) / 0xc);
|
|
13
|
+
if (_0x5ac64b === _0x426dbc)
|
|
13
14
|
break;
|
|
14
15
|
else
|
|
15
|
-
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
16
|
+
_0x487aac['push'](_0x487aac['shift']());
|
|
17
|
+
} catch (_0x2fa349) {
|
|
18
|
+
_0x487aac['push'](_0x487aac['shift']());
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
|
-
}(
|
|
21
|
+
}(_0x2354, 0x3cc82));
|
|
21
22
|
import { pathToFileURL } from 'node:url';
|
|
22
23
|
import {
|
|
23
24
|
mkdir,
|
|
@@ -27,2291 +28,2282 @@ import {
|
|
|
27
28
|
writeFile
|
|
28
29
|
} from 'node:fs/promises';
|
|
29
30
|
import { homedir } from 'node:os';
|
|
30
|
-
import
|
|
31
|
+
import _0x5a04e4 from 'node:path';
|
|
31
32
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
32
|
-
'.csv':
|
|
33
|
-
'.gif':
|
|
34
|
-
'.jpeg':
|
|
35
|
-
'.jpg':
|
|
36
|
-
'.json':
|
|
37
|
-
'.md':
|
|
38
|
-
'.pdf':
|
|
39
|
-
'.png':
|
|
40
|
-
'.svg':
|
|
41
|
-
'.txt':
|
|
42
|
-
'.webp':
|
|
43
|
-
'.xml':
|
|
44
|
-
'.zip':
|
|
33
|
+
'.csv': _0x174aa9(0x163),
|
|
34
|
+
'.gif': 'image/gif',
|
|
35
|
+
'.jpeg': _0x174aa9(0x185),
|
|
36
|
+
'.jpg': _0x174aa9(0x185),
|
|
37
|
+
'.json': 'application/json',
|
|
38
|
+
'.md': _0x174aa9(0x14f),
|
|
39
|
+
'.pdf': _0x174aa9(0x1b7),
|
|
40
|
+
'.png': _0x174aa9(0x1bf),
|
|
41
|
+
'.svg': 'image/svg+xml',
|
|
42
|
+
'.txt': 'text/plain',
|
|
43
|
+
'.webp': _0x174aa9(0xb8),
|
|
44
|
+
'.xml': _0x174aa9(0x19b),
|
|
45
|
+
'.zip': 'application/zip'
|
|
45
46
|
};
|
|
46
|
-
function guessContentType(
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
return MIME_BY_EXTENSION[
|
|
47
|
+
function guessContentType(_0x486144) {
|
|
48
|
+
const _0x2e6e7c = {
|
|
49
|
+
_0x3cfda2: 0x199,
|
|
50
|
+
_0x3cfc9c: 0x129
|
|
51
|
+
}, _0x10b789 = _0x174aa9;
|
|
52
|
+
return MIME_BY_EXTENSION[_0x5a04e4['extname'](_0x486144)[_0x10b789(_0x2e6e7c._0x3cfda2)]()] ?? _0x10b789(_0x2e6e7c._0x3cfc9c);
|
|
52
53
|
}
|
|
53
|
-
function safeFilename(
|
|
54
|
-
const
|
|
55
|
-
return
|
|
54
|
+
function safeFilename(_0x3f08f2) {
|
|
55
|
+
const _0x475deb = _0x174aa9;
|
|
56
|
+
return _0x3f08f2[_0x475deb(0x139)](/[\\/]/g, '-');
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
const _0x5e57be = {
|
|
63
|
-
_0xe07490: 0x215,
|
|
64
|
-
_0x19f5ff: 0x1d7,
|
|
65
|
-
_0x1d077d: 0x233,
|
|
66
|
-
_0x4b9a88: 0x1f6,
|
|
67
|
-
_0x30a791: 0x2ae
|
|
68
|
-
}, _0x1ef369 = _0x48b8fe;
|
|
69
|
-
if (!_0x1a4946[_0x1ef369(_0x5e57be._0xe07490)](_0x58b71f))
|
|
70
|
-
throw new Error(_0x1ef369(0x1bc));
|
|
71
|
-
const _0x3458e6 = await stat(_0x58b71f)[_0x1ef369(0x196)](() => null);
|
|
72
|
-
if (!_0x3458e6 || !_0x3458e6[_0x1ef369(0x254)]())
|
|
73
|
-
throw new Error('File\x20not\x20found:\x20' + _0x58b71f);
|
|
74
|
-
const _0x1b91b0 = _0x33c633[_0x1ef369(0x242)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
75
|
-
if (_0x3458e6[_0x1ef369(_0x5e57be._0x19f5ff)] > _0x1b91b0)
|
|
76
|
-
throw new Error(_0x1ef369(0x1c8) + _0x3458e6[_0x1ef369(0x1d7)]);
|
|
77
|
-
const _0x1f4824 = await readFile(_0x58b71f), _0x2ae3c8 = _0x1a4946[_0x1ef369(_0x5e57be._0x1d077d)](_0x58b71f);
|
|
78
|
-
return {
|
|
79
|
-
'contentBase64': _0x1f4824[_0x1ef369(_0x5e57be._0x4b9a88)](_0x1ef369(_0x5e57be._0x30a791)),
|
|
80
|
-
'contentType': guessContentType(_0x2ae3c8),
|
|
81
|
-
'filename': _0x2ae3c8,
|
|
82
|
-
'sizeBytes': _0x3458e6[_0x1ef369(0x1d7)]
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function createAttachmentCache(_0x2c9264 = {}) {
|
|
86
|
-
const _0x3beab2 = { _0x54cfc5: 0x163 }, _0x2f8f9e = { _0x3a196d: 0x2b9 }, _0x283d97 = { _0x55ddba: 0x159 }, _0x117e32 = _0x48b8fe, _0x51c23a = _0x2c9264[_0x117e32(0x194)] ?? _0x1a4946[_0x117e32(0x159)](homedir(), '.slock', _0x117e32(_0x3beab2._0x54cfc5));
|
|
87
|
-
return {
|
|
88
|
-
'cacheDir': _0x51c23a,
|
|
89
|
-
async 'findCachedPath'(_0x24cf41) {
|
|
90
|
-
const _0x3f521e = _0x117e32;
|
|
91
|
-
await mkdir(_0x51c23a, { 'recursive': !![] });
|
|
92
|
-
const _0x2f30ec = await readdir(_0x51c23a), _0x2a0c11 = _0x2f30ec[_0x3f521e(0x25c)](_0x1950b0 => _0x1950b0[_0x3f521e(0x234)](_0x24cf41 + '-') || _0x1950b0[_0x3f521e(0x234)](_0x24cf41));
|
|
93
|
-
return _0x2a0c11 ? _0x1a4946[_0x3f521e(_0x283d97._0x55ddba)](_0x51c23a, _0x2a0c11) : null;
|
|
94
|
-
},
|
|
95
|
-
async 'save'(_0x3bcb53) {
|
|
96
|
-
const _0x531979 = _0x117e32;
|
|
97
|
-
await mkdir(_0x51c23a, { 'recursive': !![] });
|
|
98
|
-
const _0x2abf8d = _0x3bcb53['originalFilename']?.[_0x531979(0x224)]() ? safeFilename(_0x3bcb53[_0x531979(0x1bb)]) : '' + _0x3bcb53['attachmentId'] + extensionFor(_0x3bcb53[_0x531979(_0x2f8f9e._0x3a196d)]), _0x437bf0 = _0x1a4946['join'](_0x51c23a, _0x3bcb53['attachmentId'] + '-' + _0x2abf8d);
|
|
99
|
-
return await writeFile(_0x437bf0, _0x3bcb53['data']), _0x437bf0;
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
import {
|
|
104
|
-
createHash,
|
|
105
|
-
randomUUID
|
|
106
|
-
} from 'node:crypto';
|
|
107
|
-
var UNSUPPORTED_TARGET_MESSAGE = _0x48b8fe(0x235);
|
|
108
|
-
function ensureSegment(_0x4ba205) {
|
|
109
|
-
const _0x1717a6 = {
|
|
110
|
-
_0x5e3c36: 0x224,
|
|
111
|
-
_0x56c211: 0x1c5
|
|
112
|
-
}, _0x314615 = _0x48b8fe, _0xa9e3f9 = _0x4ba205[_0x314615(_0x1717a6._0x5e3c36)]();
|
|
113
|
-
if (!_0xa9e3f9 || _0xa9e3f9[_0x314615(_0x1717a6._0x56c211)](':'))
|
|
114
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
115
|
-
return _0xa9e3f9;
|
|
116
|
-
}
|
|
117
|
-
function parseThreadParts(_0x392468) {
|
|
118
|
-
const _0x44841e = { _0x20b0c8: 0x28c }, _0x35432e = _0x48b8fe, _0x481e98 = _0x392468[_0x35432e(_0x44841e._0x20b0c8)](':');
|
|
119
|
-
if (_0x481e98[_0x35432e(0x291)] < 0x1 || _0x481e98[_0x35432e(0x291)] > 0x2)
|
|
120
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
121
|
-
return {
|
|
122
|
-
'channelName': ensureSegment(_0x481e98[0x0] ?? ''),
|
|
123
|
-
'threadShortId': _0x481e98[0x1] ? ensureSegment(_0x481e98[0x1]) : null
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
function parseTarget(_0xc370cb) {
|
|
127
|
-
const _0x339e00 = {
|
|
128
|
-
_0x24bd75: 0x224,
|
|
129
|
-
_0x2390ff: 0x2c4,
|
|
130
|
-
_0x458ad6: 0x218,
|
|
131
|
-
_0x4e45b4: 0x218,
|
|
132
|
-
_0x30852d: 0x234,
|
|
133
|
-
_0x76d78: 0x234,
|
|
134
|
-
_0x16b6c3: 0x15d,
|
|
135
|
-
_0x180156: 0x16a,
|
|
136
|
-
_0x281a01: 0x16a
|
|
137
|
-
}, _0x523a28 = _0x48b8fe, _0x3185a3 = _0xc370cb[_0x523a28(_0x339e00._0x24bd75)]();
|
|
138
|
-
if (!_0x3185a3)
|
|
139
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
140
|
-
if (_0x3185a3[_0x523a28(0x234)]('#')) {
|
|
141
|
-
const _0x1b6e68 = parseThreadParts(_0x3185a3[_0x523a28(_0x339e00._0x2390ff)](0x1)), _0x20d025 = '#' + _0x1b6e68['channelName'];
|
|
142
|
-
if (!_0x1b6e68[_0x523a28(_0x339e00._0x458ad6)])
|
|
143
|
-
return {
|
|
144
|
-
'channelName': _0x1b6e68[_0x523a28(0x16a)],
|
|
145
|
-
'channelTarget': _0x20d025,
|
|
146
|
-
'kind': 'channel',
|
|
147
|
-
'target': _0x20d025
|
|
148
|
-
};
|
|
149
|
-
return {
|
|
150
|
-
'channelName': _0x1b6e68['channelName'],
|
|
151
|
-
'channelTarget': _0x20d025,
|
|
152
|
-
'kind': _0x523a28(0x264),
|
|
153
|
-
'target': _0x20d025 + ':' + _0x1b6e68[_0x523a28(_0x339e00._0x458ad6)],
|
|
154
|
-
'threadShortId': _0x1b6e68[_0x523a28(_0x339e00._0x4e45b4)]
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
if (_0x3185a3[_0x523a28(_0x339e00._0x30852d)]('dm:')) {
|
|
158
|
-
const _0x4200dd = parseThreadParts(_0x3185a3[_0x523a28(0x2c4)](0x3));
|
|
159
|
-
if (!_0x4200dd[_0x523a28(0x16a)][_0x523a28(_0x339e00._0x76d78)](_0x523a28(_0x339e00._0x16b6c3)))
|
|
160
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
161
|
-
const _0x546126 = _0x523a28(0x1f5) + _0x4200dd[_0x523a28(0x16a)];
|
|
162
|
-
if (!_0x4200dd[_0x523a28(0x218)])
|
|
163
|
-
return {
|
|
164
|
-
'channelName': _0x4200dd[_0x523a28(_0x339e00._0x180156)],
|
|
165
|
-
'channelTarget': _0x546126,
|
|
166
|
-
'kind': 'channel',
|
|
167
|
-
'target': _0x546126
|
|
168
|
-
};
|
|
169
|
-
return {
|
|
170
|
-
'channelName': _0x4200dd[_0x523a28(_0x339e00._0x281a01)],
|
|
171
|
-
'channelTarget': _0x546126,
|
|
172
|
-
'kind': _0x523a28(0x264),
|
|
173
|
-
'target': _0x546126 + ':' + _0x4200dd[_0x523a28(0x218)],
|
|
174
|
-
'threadShortId': _0x4200dd['threadShortId']
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
178
|
-
}
|
|
179
|
-
function asErrorMessage(_0x239432, _0x1da60f) {
|
|
180
|
-
const _0x54f660 = _0x48b8fe;
|
|
181
|
-
if (typeof _0x239432 === 'string' && _0x239432[_0x54f660(0x224)]())
|
|
182
|
-
return _0x239432;
|
|
183
|
-
return _0x1da60f;
|
|
184
|
-
}
|
|
185
|
-
function asRecord(_0x14a233) {
|
|
186
|
-
const _0xb88436 = _0x48b8fe;
|
|
187
|
-
return typeof _0x14a233 === _0xb88436(0x251) && _0x14a233 !== null ? _0x14a233 : {};
|
|
188
|
-
}
|
|
189
|
-
function stableStringify(_0x587b4c) {
|
|
190
|
-
const _0x4faf2b = {
|
|
191
|
-
_0x560d4f: 0x1cc,
|
|
192
|
-
_0x320968: 0x22f,
|
|
193
|
-
_0x4fdd75: 0x265
|
|
194
|
-
}, _0x25c229 = _0x48b8fe;
|
|
195
|
-
if (_0x587b4c === null || typeof _0x587b4c !== 'object')
|
|
196
|
-
return JSON[_0x25c229(0x1a0)](_0x587b4c);
|
|
197
|
-
if (Array['isArray'](_0x587b4c))
|
|
198
|
-
return '[' + _0x587b4c[_0x25c229(_0x4faf2b._0x560d4f)](_0x594b24 => stableStringify(_0x594b24))['join'](',') + ']';
|
|
199
|
-
const _0x4182e4 = Object[_0x25c229(0x280)](_0x587b4c)[_0x25c229(_0x4faf2b._0x320968)](([, _0x514cc1]) => _0x514cc1 !== void 0x0)[_0x25c229(_0x4faf2b._0x4fdd75)](([_0x3741f2], [_0x4574bf]) => _0x3741f2[_0x25c229(0x14f)](_0x4574bf))[_0x25c229(_0x4faf2b._0x560d4f)](([_0x4c5afa, _0x509c4c]) => JSON['stringify'](_0x4c5afa) + ':' + stableStringify(_0x509c4c));
|
|
200
|
-
return '{' + _0x4182e4['join'](',') + '}';
|
|
201
|
-
}
|
|
202
|
-
function createHeaders(_0x19a6ea) {
|
|
203
|
-
const _0x5a451f = { _0x46effc: 0x1a2 }, _0x4699b8 = _0x48b8fe;
|
|
204
|
-
return {
|
|
205
|
-
'Content-Type': _0x4699b8(_0x5a451f._0x46effc),
|
|
206
|
-
'x-daemon-api-key': _0x19a6ea
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
function toHttpBaseUrl(_0x39764a) {
|
|
210
|
-
const _0x513825 = {
|
|
211
|
-
_0x313833: 0x1b4,
|
|
212
|
-
_0x2a166c: 0x1bf,
|
|
213
|
-
_0x394388: 0x1f6
|
|
214
|
-
}, _0x1b6280 = _0x48b8fe, _0x5b9eb0 = new URL(_0x39764a);
|
|
215
|
-
if (_0x5b9eb0[_0x1b6280(0x1b4)] === _0x1b6280(0x237))
|
|
216
|
-
_0x5b9eb0[_0x1b6280(_0x513825._0x313833)] = _0x1b6280(0x220);
|
|
217
|
-
else
|
|
218
|
-
_0x5b9eb0[_0x1b6280(0x1b4)] === 'wss:' && (_0x5b9eb0[_0x1b6280(_0x513825._0x313833)] = _0x1b6280(_0x513825._0x2a166c));
|
|
219
|
-
return _0x5b9eb0[_0x1b6280(_0x513825._0x394388)]()[_0x1b6280(0x29a)](/\/$/, '');
|
|
220
|
-
}
|
|
221
|
-
function isMentionBoundary(_0x74931b) {
|
|
222
|
-
const _0x19ad31 = _0x48b8fe;
|
|
223
|
-
return !_0x74931b || /\s|[([{'",。!?、:;]/[_0x19ad31(0x1ee)](_0x74931b);
|
|
224
|
-
}
|
|
225
|
-
function isMentionTerminal(_0x5298ee) {
|
|
226
|
-
const _0x4c1615 = { _0x3b20bd: 0x1ee }, _0x5f19d2 = _0x48b8fe;
|
|
227
|
-
return !_0x5298ee || /\s|[)\]}'",。!?、:;,.!?]/[_0x5f19d2(_0x4c1615._0x3b20bd)](_0x5298ee);
|
|
228
|
-
}
|
|
229
|
-
function buildMatchableEntries(_0x50a3c2) {
|
|
230
|
-
const _0x40c825 = {
|
|
231
|
-
_0x3a96ec: 0x2a3,
|
|
232
|
-
_0x46879b: 0x231,
|
|
233
|
-
_0x4ce252: 0x21f
|
|
234
|
-
}, _0x17f0e9 = _0x48b8fe, _0x415429 = [];
|
|
235
|
-
for (const _0x5734e6 of [
|
|
236
|
-
..._0x50a3c2[_0x17f0e9(0x253)],
|
|
237
|
-
..._0x50a3c2['humans']
|
|
238
|
-
]) {
|
|
239
|
-
_0x415429[_0x17f0e9(0x21f)]({
|
|
240
|
-
'matchName': _0x5734e6[_0x17f0e9(0x231)],
|
|
241
|
-
'matchNameLower': _0x5734e6[_0x17f0e9(0x231)][_0x17f0e9(_0x40c825._0x3a96ec)](),
|
|
242
|
-
'participantId': _0x5734e6['id']
|
|
243
|
-
}), _0x5734e6['id'] !== _0x5734e6[_0x17f0e9(_0x40c825._0x46879b)] && _0x415429[_0x17f0e9(_0x40c825._0x4ce252)]({
|
|
244
|
-
'matchName': _0x5734e6['id'],
|
|
245
|
-
'matchNameLower': _0x5734e6['id'][_0x17f0e9(_0x40c825._0x3a96ec)](),
|
|
246
|
-
'participantId': _0x5734e6['id']
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
return _0x415429;
|
|
250
|
-
}
|
|
251
|
-
function extractMentionedParticipantIds(_0x9deae8, _0x4e2949) {
|
|
252
|
-
const _0x2fd59 = {
|
|
253
|
-
_0x5ad1cf: 0x291,
|
|
254
|
-
_0x3348c3: 0x21f
|
|
255
|
-
}, _0x4236ee = { _0x2102a2: 0x1bd }, _0x528fb2 = _0x48b8fe, _0x1bccbb = buildMatchableEntries(_0x4e2949)['sort']((_0x488bdf, _0x1d0167) => _0x1d0167[_0x528fb2(0x1bd)]['length'] - _0x488bdf['matchName'][_0x528fb2(0x291)]), _0x40dd15 = [], _0x3deee0 = new Set();
|
|
256
|
-
for (let _0x58d8db = 0x0; _0x58d8db < _0x9deae8[_0x528fb2(_0x2fd59._0x5ad1cf)]; _0x58d8db += 0x1) {
|
|
257
|
-
if (_0x9deae8[_0x58d8db] !== '@' || !isMentionBoundary(_0x9deae8[_0x58d8db - 0x1]))
|
|
258
|
-
continue;
|
|
259
|
-
const _0x1d5f43 = _0x9deae8['slice'](_0x58d8db + 0x1), _0x1596b7 = _0x1d5f43[_0x528fb2(0x2a3)](), _0x2e60a9 = _0x1bccbb[_0x528fb2(0x25c)](_0x972c6f => {
|
|
260
|
-
const _0x5262b7 = _0x528fb2;
|
|
261
|
-
if (!_0x1596b7[_0x5262b7(0x234)](_0x972c6f['matchNameLower']))
|
|
262
|
-
return ![];
|
|
263
|
-
return isMentionTerminal(_0x1d5f43[_0x972c6f[_0x5262b7(_0x4236ee._0x2102a2)]['length']]);
|
|
264
|
-
});
|
|
265
|
-
if (!_0x2e60a9 || _0x3deee0[_0x528fb2(0x1a3)](_0x2e60a9[_0x528fb2(0x2bb)]))
|
|
266
|
-
continue;
|
|
267
|
-
_0x3deee0['add'](_0x2e60a9['participantId']), _0x40dd15[_0x528fb2(_0x2fd59._0x3348c3)](_0x2e60a9[_0x528fb2(0x2bb)]), _0x58d8db += _0x2e60a9[_0x528fb2(0x1bd)][_0x528fb2(_0x2fd59._0x5ad1cf)];
|
|
268
|
-
}
|
|
269
|
-
return _0x40dd15;
|
|
270
|
-
}
|
|
271
|
-
function _0x28eb() {
|
|
272
|
-
const _0x2326b8 = [
|
|
273
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
274
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
275
|
-
'zxjYB3i',
|
|
276
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
277
|
-
'BwLU',
|
|
278
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
279
|
-
'Agv4',
|
|
280
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
281
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
282
|
-
'C2L6zq',
|
|
283
|
-
'zxH0BMfTzq',
|
|
284
|
-
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
285
|
-
'mZqZmdi2mhbnwKDosq',
|
|
286
|
-
'lsaJ',
|
|
287
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
288
|
-
'ue9tva',
|
|
289
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
290
|
-
'pgvTChr5pG',
|
|
291
|
-
'l3nLBMq',
|
|
292
|
-
'r0vu',
|
|
293
|
-
'zgvZy3jPChrPB24',
|
|
294
|
-
'l2fWAs9Hz2vUDhm/C2vYDMvYswq9',
|
|
295
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
296
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
297
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
298
|
-
'm293rw5jtG',
|
|
299
|
-
'C3rYAw5N',
|
|
300
|
-
'BwvZC2fNzuLK',
|
|
301
|
-
'DxbSB2fKuhjLCgfYzxi',
|
|
302
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
303
|
-
'C3rHCNrLza',
|
|
304
|
-
'ntmXnZKXse5krevL',
|
|
305
|
-
'DgvZDa',
|
|
306
|
-
'BM93',
|
|
307
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
308
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
309
|
-
'Bwv0yq',
|
|
310
|
-
'ywjVCNrLza',
|
|
311
|
-
'zxzLBNrtzxe',
|
|
312
|
-
'zg06',
|
|
313
|
-
'Dg9tDhjPBMC',
|
|
314
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
315
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
316
|
-
'zg9Uzq',
|
|
317
|
-
'khvUA25VD24P',
|
|
318
|
-
'l3rHC2TZl2nSywLT',
|
|
319
|
-
'C2vYDMvYtMfTzq',
|
|
320
|
-
'vgfZAZOG',
|
|
321
|
-
'Aw5FChjVz3jLC3m',
|
|
322
|
-
'ywrK',
|
|
323
|
-
'z2v0rgf0zq',
|
|
324
|
-
'DxbKyxrL',
|
|
325
|
-
'BgLTAxq',
|
|
326
|
-
'ig1LC3nHz2vZkqOk',
|
|
327
|
-
'z2v0tw9UDgG',
|
|
328
|
-
'C2HHmJu2',
|
|
329
|
-
'lcbWCMv2Awv3pq',
|
|
330
|
-
'ywDLBNrjza',
|
|
331
|
-
'zgvSzxrL',
|
|
332
|
-
'ig1LC3nHz2u9',
|
|
333
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
334
|
-
'C2v0',
|
|
335
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
336
|
-
'C3vJy2vZCW',
|
|
58
|
+
function _0x2354() {
|
|
59
|
+
const _0x5395fa = [
|
|
60
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
61
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
62
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
337
63
|
'D29YA2vYsgfUzg9MzG',
|
|
338
|
-
'
|
|
339
|
-
'
|
|
340
|
-
'
|
|
341
|
-
'
|
|
342
|
-
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
343
|
-
'DgfZA0LK',
|
|
344
|
-
'AxnbyNnVBhv0zq',
|
|
345
|
-
'AgvHzgvYCW',
|
|
346
|
-
'AhvTyw5Z',
|
|
347
|
-
'DgHYzwfKu2HVCNrjza',
|
|
348
|
-
'DgHYzwfKswq',
|
|
349
|
-
'C2vUzf9TzxnZywDL',
|
|
64
|
+
'y29UDgvUDfr5Cgu',
|
|
65
|
+
'AxnbCNjHEq',
|
|
66
|
+
'C2XPy2u',
|
|
67
|
+
'DgHYzwfK',
|
|
350
68
|
'Aw1Hz2uVCg5N',
|
|
351
|
-
'
|
|
352
|
-
'
|
|
353
|
-
'
|
|
354
|
-
'
|
|
355
|
-
'
|
|
356
|
-
'
|
|
357
|
-
'
|
|
358
|
-
'
|
|
359
|
-
'
|
|
360
|
-
'
|
|
361
|
-
'
|
|
362
|
-
'CM9VDe1LC3nHz2vjza',
|
|
363
|
-
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
364
|
-
'Dgv4Da',
|
|
365
|
-
'C2LNBMfS',
|
|
366
|
-
'CgfKu3rHCNq',
|
|
367
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
69
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
70
|
+
'Dg9KBW',
|
|
71
|
+
'nty3men5tLvAqq',
|
|
72
|
+
'yM9KEu1HCMTKB3DU',
|
|
73
|
+
'DgfZAY0',
|
|
74
|
+
'yxr0ywnOBwvUDeLK',
|
|
75
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
76
|
+
'ignSywLTzwq',
|
|
77
|
+
'CxvLDwvK',
|
|
78
|
+
'C2HHmJu2',
|
|
79
|
+
'zMfSC2u',
|
|
368
80
|
'C2vUzgvYvhLWzq',
|
|
369
|
-
'
|
|
370
|
-
'
|
|
371
|
-
'
|
|
372
|
-
'
|
|
81
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
82
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
83
|
+
'zMLSzw5HBwu',
|
|
84
|
+
'v29YA2vYia',
|
|
85
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
86
|
+
'CMvHC29U',
|
|
373
87
|
'BwvTyMvYCW',
|
|
374
|
-
'
|
|
375
|
-
'
|
|
88
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
89
|
+
'D29YA2vYtw9Kzq',
|
|
90
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
91
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
92
|
+
'y2HHBM5LBe5HBwu',
|
|
93
|
+
'CNvUswq',
|
|
94
|
+
'zgvJAxnPB25Z',
|
|
95
|
+
'A2LUza',
|
|
96
|
+
'icHPzdO',
|
|
376
97
|
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
377
|
-
'
|
|
378
|
-
'
|
|
379
|
-
'
|
|
380
|
-
'
|
|
381
|
-
'
|
|
382
|
-
'
|
|
383
|
-
'DxjNzw50',
|
|
384
|
-
'C2vYDMvY',
|
|
385
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
386
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
387
|
-
'y2HLy2TnzxnZywDLCW',
|
|
388
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
389
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
390
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
391
|
-
'BwvTyMvY',
|
|
392
|
-
'DgHYzwfKtNvTyMvY',
|
|
393
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
394
|
-
'l3rHC2TZpW',
|
|
395
|
-
'BwvKAxvT',
|
|
396
|
-
'y29UDgvUDa',
|
|
397
|
-
'AhvTyw4',
|
|
398
|
-
'Cgf5Bg9HzePZB24',
|
|
399
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
400
|
-
'AxngAw5PDgu',
|
|
401
|
-
'zMLSzxnFy2HHBMDLza',
|
|
402
|
-
'BgLZDfnLCNzLCG',
|
|
403
|
-
'CMvHzf9OAxn0B3j5',
|
|
404
|
-
'B2jQzwn0',
|
|
405
|
-
'ihr5Cgu9ywDLBNq',
|
|
406
|
-
'ywDLBNrZ',
|
|
407
|
-
'AxngAwXL',
|
|
408
|
-
'CMvHC29U',
|
|
409
|
-
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
410
|
-
'zMv0y2HjBxbS',
|
|
411
|
-
'DgfZA051BwjLCG',
|
|
412
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
413
|
-
'ihn0yxr1CZ0',
|
|
414
|
-
'D29YA2vYsgfUzg9MzJ1MywXZzsbLCNjVCJ0',
|
|
415
|
-
'zMLUza',
|
|
416
|
-
'Dg9gAxHLza',
|
|
417
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
418
|
-
'z2v0',
|
|
419
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
98
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
99
|
+
'kgXLz2fJEsK',
|
|
100
|
+
'iYmJieH1BwfUCW',
|
|
101
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
102
|
+
'zgvZy3jPChrPB24',
|
|
103
|
+
'BwLU',
|
|
420
104
|
'Axnoyu4',
|
|
421
|
-
'
|
|
422
|
-
'
|
|
423
|
-
'DgHYzwfK',
|
|
424
|
-
'C29YDa',
|
|
425
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
426
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
427
|
-
'l3jLy2vPDMu',
|
|
105
|
+
'z2v0rgf0zq',
|
|
106
|
+
'yxjYyxK',
|
|
428
107
|
'C3rHDhvZ',
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
433
|
-
'
|
|
434
|
-
'
|
|
435
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
436
|
-
'vgHYzwfKihrHCMDLDdOG',
|
|
437
|
-
'C2f2zq',
|
|
438
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
439
|
-
'DgfZA3m',
|
|
108
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
109
|
+
'B3b0Aw9UywW',
|
|
110
|
+
'iJOGC3rHDhvZpq',
|
|
111
|
+
'DgfYz2v0zwruyxnR',
|
|
112
|
+
'y29UBMvJDa',
|
|
113
|
+
'Aw5JBhvKzxm',
|
|
440
114
|
'lsba',
|
|
441
|
-
'
|
|
442
|
-
'
|
|
443
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
444
|
-
'y3jLyxrLzef0',
|
|
445
|
-
'Dg9VBa',
|
|
446
|
-
'ywz0zxi',
|
|
447
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
448
|
-
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
449
|
-
'l3n0yxj0',
|
|
450
|
-
'Aw1Hz2uVANbLzW',
|
|
451
|
-
'zw50CMLLCW',
|
|
115
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
116
|
+
'ChjVDg9JB2W',
|
|
452
117
|
'yxr0ywnOBwvUDf9Pza',
|
|
453
|
-
'
|
|
454
|
-
'
|
|
455
|
-
'
|
|
456
|
-
'
|
|
457
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
458
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
459
|
-
'CxvLDwvK',
|
|
460
|
-
'DgfYz2v0zwruyxnR',
|
|
461
|
-
'CgfYDgLJAxbHBNq',
|
|
462
|
-
'DgfZAW',
|
|
463
|
-
'C3bSAxq',
|
|
464
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
465
|
-
'Dw5JBgfPBv90yxnR',
|
|
466
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
467
|
-
'kgXLz2fJEsK',
|
|
468
|
-
'BgvUz3rO',
|
|
469
|
-
'AgfZtw9Yzq',
|
|
470
|
-
'DgfZAY0',
|
|
471
|
-
'cGOTls0G',
|
|
472
|
-
'sfruuca',
|
|
473
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
474
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
475
|
-
'mtK5mZeWmLnAEfjjyW',
|
|
476
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
477
|
-
'CMvWBgfJzq',
|
|
478
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
479
|
-
'BNvTyMvY',
|
|
480
|
-
'mZK5otq1n3rcuhHxta',
|
|
481
|
-
'AhjLzG',
|
|
482
|
-
'BgLZDf90yxnRCW',
|
|
483
|
-
'y2XPzw50',
|
|
484
|
-
'l3rHC2TZ',
|
|
485
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
486
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
487
|
-
'Dw5RBM93BG',
|
|
488
|
-
'C2vYDMvYx21LBwjLCNm',
|
|
489
|
-
'DgfYz2v0zwq',
|
|
490
|
-
'l3vWBg9Hza',
|
|
491
|
-
'zMfSC2u',
|
|
492
|
-
'ywDNCMvNyxrLswq',
|
|
493
|
-
'Bwf4',
|
|
494
|
-
'zgvJAxnPB25Z',
|
|
495
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
496
|
-
'y2HHDa',
|
|
497
|
-
'yMfZzty0',
|
|
498
|
-
'zxHWAxjLC0f0',
|
|
499
|
-
'C2vYDMvYvxjS',
|
|
500
|
-
'iYmJienOyw5UzwXZ',
|
|
501
|
-
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
502
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
118
|
+
'zMLSDgvY',
|
|
119
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
120
|
+
'AgvHzgvYCW',
|
|
121
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
503
122
|
'AxnjBNrLz2vY',
|
|
504
|
-
'
|
|
123
|
+
'sfruuca',
|
|
124
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
125
|
+
'ls1Hz2vUDc1Pza',
|
|
126
|
+
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
127
|
+
'y2XHAw1uyxnRCW',
|
|
128
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
129
|
+
'zMLUza',
|
|
130
|
+
'pgvTChr5pG',
|
|
131
|
+
'DxjNzw50',
|
|
132
|
+
'D3m6',
|
|
133
|
+
'Cgf5Bg9HzePZB24',
|
|
134
|
+
'xsba',
|
|
135
|
+
'l3rHC2TZl2nSywLT',
|
|
505
136
|
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
506
|
-
'
|
|
507
|
-
'
|
|
508
|
-
'
|
|
509
|
-
'y2HHBM5LBhm',
|
|
510
|
-
'CgfYDgLJAxbHBNrjza',
|
|
511
|
-
'iokaLca',
|
|
512
|
-
'DxbSB2fKx2zPBgu',
|
|
513
|
-
'CMvXDwvZDfvYBa',
|
|
514
|
-
'y2XHAw1FDgfZA3m',
|
|
515
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
516
|
-
'z2v0rNvSBfLLyxi',
|
|
137
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
138
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
139
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
517
140
|
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
518
|
-
'
|
|
519
|
-
'
|
|
520
|
-
'
|
|
521
|
-
'
|
|
522
|
-
'
|
|
523
|
-
'CMvZDwX0sNnVBG',
|
|
524
|
-
'Bg93',
|
|
525
|
-
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
141
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
142
|
+
'yxjYyxLcDwzMzxi',
|
|
143
|
+
'C29Tzq',
|
|
144
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
145
|
+
'DgfYz2v0',
|
|
526
146
|
'CMvZDw1Lx3bHy2TLDa',
|
|
527
|
-
'
|
|
528
|
-
'
|
|
529
|
-
'
|
|
147
|
+
'y29UDgvUDa',
|
|
148
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
149
|
+
'zgvSzxrL',
|
|
150
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
151
|
+
'AgLNAa',
|
|
152
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
153
|
+
'zg06',
|
|
154
|
+
'ANnVBG',
|
|
155
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
530
156
|
'BwvZC2fNzq',
|
|
531
|
-
'y2XHAw1uyxnRCW',
|
|
532
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
533
|
-
'Bg9JywXLq29TCgfYzq',
|
|
534
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
535
|
-
'iYmJiefNzw50CW',
|
|
536
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
537
|
-
'v29YA2vYici',
|
|
538
|
-
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
539
|
-
'l3nLCNzLCG',
|
|
540
|
-
'y3jLyxrLx3rHC2TZ',
|
|
541
|
-
'w3rHCMDLDd0',
|
|
542
|
-
'mc4WlJa',
|
|
543
|
-
'AM9PBG',
|
|
544
|
-
'DMfSDwvZ',
|
|
545
|
-
'DgfYz2v0',
|
|
546
|
-
'ls1Hz2vUDc1Pza',
|
|
547
|
-
'zg0T',
|
|
548
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
549
157
|
'BMv4Den1CNnVCG',
|
|
550
|
-
'
|
|
551
|
-
'
|
|
158
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
159
|
+
'zMfPBgvK',
|
|
552
160
|
'zgvZDhjVEwvK',
|
|
161
|
+
'Bwf0y2Hoyw1L',
|
|
162
|
+
'zxjYB3i',
|
|
163
|
+
'yMfZzw5HBwu',
|
|
164
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
165
|
+
'Bwf4',
|
|
166
|
+
'ChvZAa',
|
|
167
|
+
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
168
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
169
|
+
'Dg9gAxHLza',
|
|
170
|
+
'Bg9JywXLq29TCgfYzq',
|
|
171
|
+
'ig1LC3nHz2vZkqOk',
|
|
172
|
+
'DgfZA051BwjLCG',
|
|
173
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
174
|
+
'AgfZ',
|
|
175
|
+
'lMjPBG',
|
|
176
|
+
'ywDNCMvNyxrLswq',
|
|
177
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
178
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
179
|
+
'C2vX',
|
|
180
|
+
'Dw5JBgfPBvrHC2S',
|
|
181
|
+
'DMLLD19MAwXL',
|
|
182
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
183
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
184
|
+
'ig1ZzZ0',
|
|
185
|
+
'C3rYAw5NAwz5',
|
|
186
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
553
187
|
'yxr0ywnOBwvUDhm',
|
|
554
|
-
'
|
|
555
|
-
'
|
|
556
|
-
'
|
|
557
|
-
'
|
|
558
|
-
'
|
|
559
|
-
'
|
|
560
|
-
'
|
|
561
|
-
'
|
|
562
|
-
'
|
|
563
|
-
'
|
|
564
|
-
'
|
|
565
|
-
'
|
|
566
|
-
'
|
|
567
|
-
'
|
|
568
|
-
'
|
|
188
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
189
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
190
|
+
'C2nOzwr1BgvKrM9Y',
|
|
191
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
192
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
193
|
+
'l3DVCMTLCNmVzMLUAxnO',
|
|
194
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
195
|
+
'C2vUze1LC3nHz2u',
|
|
196
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
197
|
+
'zNjVBq',
|
|
198
|
+
'yMfZzty0',
|
|
199
|
+
'Aw1Hz2uVD2vICa',
|
|
200
|
+
'y29UDgvUDc10ExbL',
|
|
201
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
202
|
+
'C3rYAw5N',
|
|
203
|
+
'C3rHCNrZv2L0Aa',
|
|
204
|
+
'zw51Bq',
|
|
205
|
+
'BgLZDfnLCNzLCG',
|
|
206
|
+
'iYmJiefNzw50CW',
|
|
207
|
+
'uefuq0G',
|
|
208
|
+
'zMv0y2HjBxbS',
|
|
209
|
+
'6k+35Rgcia',
|
|
210
|
+
'zw50CMLLCW',
|
|
211
|
+
'Ahr0CdO',
|
|
212
|
+
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
213
|
+
'mZCWuuX0wLfZ',
|
|
214
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
215
|
+
'BwvZC2fNzxm',
|
|
216
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
217
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
569
218
|
'z2v0sg91CNm',
|
|
570
|
-
'
|
|
571
|
-
'
|
|
219
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
220
|
+
'Dw5RBM93BG',
|
|
221
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
222
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
223
|
+
'iYmGu2vYDMvYoIa',
|
|
224
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
225
|
+
'B2jQzwn0',
|
|
226
|
+
'DxrMoa',
|
|
227
|
+
'D29YA2vY',
|
|
228
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
229
|
+
'C3vJy2vZCW',
|
|
230
|
+
'zMLSzxnFy2HHBMDLza',
|
|
231
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
232
|
+
'CMvZDwX0CW',
|
|
233
|
+
'C2vUzf9TzxnZywDL',
|
|
234
|
+
'ywjVCNrLza',
|
|
235
|
+
'zgfLBw9UqxbPs2v5',
|
|
236
|
+
'AM9PBG',
|
|
237
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
238
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
239
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
240
|
+
'CMvJB3jK',
|
|
241
|
+
'yxnPzgu',
|
|
242
|
+
'Dw5JBgfPBv90yxnR',
|
|
243
|
+
'CgfYDgLJAxbHBNrZ',
|
|
244
|
+
'CMvXDwvZDfvYBa',
|
|
245
|
+
'mJiZntHbDgvez2u',
|
|
246
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
247
|
+
'DgvZDa',
|
|
248
|
+
'iokaLca',
|
|
249
|
+
'Bwv0yq',
|
|
250
|
+
'CgfYC2u',
|
|
251
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
252
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
253
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
254
|
+
'ue9tva',
|
|
255
|
+
'kg5VBMuP',
|
|
256
|
+
'zgf0yq',
|
|
257
|
+
'AhvTyw4',
|
|
258
|
+
'DxbSB2fKrMLSzq',
|
|
259
|
+
'AhjLzG',
|
|
260
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
261
|
+
'zMLSzv9WyxrO',
|
|
262
|
+
'BwvZC2fNzuLK',
|
|
263
|
+
'ywz0zxjtzxe',
|
|
264
|
+
'l3nLCNzLCG',
|
|
265
|
+
'l3vWBg9Hza',
|
|
266
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
267
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
268
|
+
'mtK1nJbcqLzPtNi',
|
|
269
|
+
'CgfKu3rHCNq',
|
|
270
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
271
|
+
'CMvZDwX0',
|
|
272
|
+
'yxv0BZO',
|
|
273
|
+
'BMfTzq',
|
|
274
|
+
'l3rHC2TZpW',
|
|
275
|
+
'CMvZDwX0sNnVBG',
|
|
276
|
+
'CgfYC2vjBNq',
|
|
277
|
+
'l2nVBNrLBNq',
|
|
278
|
+
'D3nZoG',
|
|
279
|
+
'CgfYDgLJAxbHBNrjza',
|
|
280
|
+
'z2v0u2vJB25KCW',
|
|
281
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
282
|
+
'CM9VDe1LC3nHz2vjza',
|
|
572
283
|
'Dg9ju09tDhjPBMC',
|
|
573
|
-
'
|
|
574
|
-
'
|
|
575
|
-
'
|
|
284
|
+
'DgfZAW',
|
|
285
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
286
|
+
'ywDLBNrZ',
|
|
287
|
+
'r0vu',
|
|
288
|
+
'y3jLyxrLx3rHC2TZ',
|
|
289
|
+
'Dg9tDhjPBMC',
|
|
290
|
+
'zgLZCg9ZAxrPB24',
|
|
291
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
576
292
|
'y3vYC29Y',
|
|
577
|
-
'
|
|
578
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
579
|
-
'u2vUzcbHig1LC3nHz2uGDg8GysbJAgfUBMvSig9YiernlIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZoYb0AhjLywqGDgfYz2v0CYb1C2uGDgHLihnHBwuGzMLLBgqU',
|
|
580
|
-
'Aw1Hz2uVz2LM',
|
|
581
|
-
'CMvZDwX0CW',
|
|
582
|
-
'zMLUAxnOx3DVCMTLCG',
|
|
583
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
584
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
585
|
-
'yxjYyxLcDwzMzxi',
|
|
586
|
-
'z2v0vgLTzq',
|
|
587
|
-
'yxr0ywnOBwvUDeLK',
|
|
588
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
589
|
-
'C2L6zuj5DgvZ',
|
|
590
|
-
'y29UDgvUDejHC2u2na',
|
|
591
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
592
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
593
|
-
'zw51Bq',
|
|
594
|
-
'C2vUzgvYtMfTzq',
|
|
293
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzc4',
|
|
595
294
|
'ywjVCNq',
|
|
596
|
-
'
|
|
597
|
-
'
|
|
598
|
-
'
|
|
599
|
-
'
|
|
600
|
-
'
|
|
601
|
-
'
|
|
295
|
+
'yMXVy2TLza',
|
|
296
|
+
'C2vYDMvYvxjS',
|
|
297
|
+
'lNnSB2nR',
|
|
298
|
+
'y2HHBM5LBeLK',
|
|
299
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
300
|
+
'y3jLyxrLzef0',
|
|
301
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
302
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
303
|
+
'C3vTBwfYEq',
|
|
304
|
+
'y2XHAw0GzMfPBgvK',
|
|
602
305
|
'y2fJAgveAxi',
|
|
603
|
-
'
|
|
604
|
-
'
|
|
605
|
-
'
|
|
606
|
-
'
|
|
607
|
-
'
|
|
608
|
-
'
|
|
609
|
-
'
|
|
610
|
-
'
|
|
611
|
-
'
|
|
612
|
-
'
|
|
613
|
-
'
|
|
614
|
-
'
|
|
306
|
+
'C2LNBMfS',
|
|
307
|
+
'D29YA2vYsgfUzg9MzJ1MywXZzsbLCNjVCJ0',
|
|
308
|
+
'C3rHCNrLza',
|
|
309
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
310
|
+
'z2v0',
|
|
311
|
+
'DgHYzwfKu2HVCNrjza',
|
|
312
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
313
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
314
|
+
'yxjNDG',
|
|
315
|
+
'C2vYDMvYtMfTzq',
|
|
316
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
317
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
318
|
+
'lsaJ',
|
|
319
|
+
'ndGYodC5mgfNyMXXsq',
|
|
320
|
+
'ndCYntKXow1Wthrmwq',
|
|
615
321
|
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
616
|
-
'
|
|
617
|
-
'
|
|
618
|
-
'
|
|
322
|
+
'mZG3CLjjyLfs',
|
|
323
|
+
'ywz0zxi',
|
|
324
|
+
'BwvKAxvT',
|
|
325
|
+
'mJGWn21mzgLUDW',
|
|
326
|
+
'y2HHBM5LBa',
|
|
327
|
+
'Bg93',
|
|
328
|
+
'CMvWBgfJzq',
|
|
329
|
+
'mtjdwwTeu00',
|
|
330
|
+
'w3rHCMDLDd0',
|
|
331
|
+
'zxHWAxjLC0f0',
|
|
332
|
+
'BgLZDf90yxnRCW',
|
|
333
|
+
'y2HHBM5LBhm',
|
|
334
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
335
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
336
|
+
'BNvTyMvY',
|
|
337
|
+
'mJGZndq5Bhfzq2nS',
|
|
338
|
+
'CMvHzf9OAxn0B3j5',
|
|
339
|
+
'Aw5FChjVz3jLC3m',
|
|
340
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
341
|
+
'D29YA2vYCW',
|
|
342
|
+
'y3jLyxrLvgfZA3m',
|
|
343
|
+
'lIbnzxnZywDLieLeoIa',
|
|
344
|
+
'DgfYz2v0zwq',
|
|
345
|
+
'C2f2zq',
|
|
346
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
347
|
+
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
348
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
349
|
+
'z2v0vgLTzq',
|
|
350
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
351
|
+
'ywXS',
|
|
352
|
+
'D29YA19RzxK',
|
|
353
|
+
'DgfZA0LK',
|
|
354
|
+
'DgHYzwfKtNvTyMvY',
|
|
355
|
+
'ihn0yxr1CZ0',
|
|
619
356
|
'ywDNCMvNyxrLvhLWzq',
|
|
620
|
-
'
|
|
621
|
-
'
|
|
622
|
-
'
|
|
623
|
-
'
|
|
357
|
+
'Aw5FCMv2Awv3',
|
|
358
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
359
|
+
'ls1Zzxj2zxiTDxjS',
|
|
360
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
361
|
+
'v29YA2vYici',
|
|
624
362
|
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
625
|
-
'
|
|
626
|
-
'
|
|
627
|
-
'
|
|
628
|
-
'
|
|
629
|
-
'
|
|
363
|
+
'AgfZtw9Yzq',
|
|
364
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
365
|
+
'C2L6zq',
|
|
366
|
+
'l2HPC3rVCNK/',
|
|
367
|
+
'ywDLBNrjza',
|
|
368
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
369
|
+
'DxnLCG',
|
|
370
|
+
'Dgv4Dc9JC3y',
|
|
371
|
+
'y2HLy2TnzxnZywDLCW',
|
|
372
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
373
|
+
'y2HHDa',
|
|
374
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
630
375
|
'ywDLBNq',
|
|
631
|
-
'
|
|
632
|
-
'
|
|
633
|
-
'
|
|
634
|
-
'
|
|
635
|
-
'
|
|
636
|
-
'
|
|
376
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
377
|
+
'B3bLBL9PC3n1zxm',
|
|
378
|
+
'nZa4t1vXqvLQ',
|
|
379
|
+
'C2v0',
|
|
380
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
381
|
+
'BgLZDf9Zzxj2zxi',
|
|
382
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
383
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
384
|
+
'l3nLBMq',
|
|
385
|
+
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
386
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
387
|
+
'DxbKyxrL',
|
|
388
|
+
'CMvHzeHPC3rVCNK',
|
|
389
|
+
'l2fWAs9Hz2vUDhm/C2vYDMvYswq9',
|
|
390
|
+
'ihrPBwu9',
|
|
391
|
+
'DMfSDwu',
|
|
392
|
+
'w3nLCt0',
|
|
393
|
+
'DgfZA19Pza',
|
|
394
|
+
'zxzLBNrtzxe',
|
|
395
|
+
'ywrK',
|
|
396
|
+
'AxnbyNnVBhv0zq',
|
|
397
|
+
'BgLTAxq',
|
|
398
|
+
'C29YDa',
|
|
399
|
+
'l3jLy2vPDMu',
|
|
400
|
+
'y2XHAw1FDgfZA3m',
|
|
401
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
402
|
+
'DhjPBq',
|
|
403
|
+
'DMLZAwjPBgL0Eq',
|
|
404
|
+
'Aw1Hz2uVANbLzW',
|
|
405
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
406
|
+
'mc4WlJa',
|
|
407
|
+
'igzHAwXLzdOG',
|
|
408
|
+
'khvUA25VD24P',
|
|
409
|
+
'AhvTyw5Z',
|
|
410
|
+
'ls1ZzxnZAw9UlwLK',
|
|
637
411
|
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
638
|
-
'
|
|
639
|
-
'
|
|
412
|
+
'DgHYzwfKswq',
|
|
413
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
414
|
+
'u2vUzcbHig1LC3nHz2uGDg8GysbJAgfUBMvSig9YiernlIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZoYb0AhjLywqGDgfYz2v0CYb1C2uGDgHLihnHBwuGzMLLBgqU',
|
|
415
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
416
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
417
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
418
|
+
'Dgv4Da',
|
|
419
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
420
|
+
'DgfZA3m',
|
|
421
|
+
'C2vYDMvY',
|
|
422
|
+
'CMvZCg9UC2u',
|
|
423
|
+
'DxbSB2fKx2zPBgu',
|
|
424
|
+
'Dg9mB3DLCKnHC2u',
|
|
425
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlG',
|
|
426
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
427
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
428
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
429
|
+
'C2vYDMvYx21LBwjLCNm',
|
|
430
|
+
'BwfW',
|
|
431
|
+
'BgvUz3rO',
|
|
432
|
+
'ihr5Cgu9ywDLBNq',
|
|
433
|
+
'yMvMB3jL',
|
|
434
|
+
'y2f0y2G',
|
|
640
435
|
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
641
|
-
'
|
|
642
|
-
'
|
|
643
|
-
'
|
|
644
|
-
'
|
|
436
|
+
'z2v0x3DVCMTLCL9Yzxn1BhqGzMfPBgvK',
|
|
437
|
+
'Dg9VBa',
|
|
438
|
+
'y2XPzw50',
|
|
439
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
440
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
441
|
+
'ig1LC3nHz2u9',
|
|
442
|
+
'C2vZC2LVBKLK',
|
|
443
|
+
'y29UDgvUDejHC2u2na',
|
|
444
|
+
'C2vUzgvYtMfTzq',
|
|
445
|
+
'nZvRwgPxt0W',
|
|
645
446
|
'Ahr0Chm6',
|
|
646
|
-
'
|
|
647
|
-
'
|
|
648
|
-
'
|
|
649
|
-
'
|
|
650
|
-
'
|
|
651
|
-
'
|
|
652
|
-
'
|
|
653
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
654
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
655
|
-
'yxjNDG',
|
|
656
|
-
'y2HHBM5LBeLK',
|
|
657
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
658
|
-
'BwfW',
|
|
659
|
-
'CgfYC2vjBNq'
|
|
447
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
448
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
449
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
450
|
+
'BgLZDfrHC2TZ',
|
|
451
|
+
'l3rHC2TZ',
|
|
452
|
+
'zg9Uzq',
|
|
453
|
+
'tM8GDgfZA3mGy3jLyxrLzc4'
|
|
660
454
|
];
|
|
661
|
-
|
|
662
|
-
return
|
|
455
|
+
_0x2354 = function () {
|
|
456
|
+
return _0x5395fa;
|
|
663
457
|
};
|
|
664
|
-
return
|
|
458
|
+
return _0x2354();
|
|
459
|
+
}
|
|
460
|
+
function extensionFor(_0x2c2f66) {
|
|
461
|
+
const _0x43bfed = { _0x54856d: 0x72 }, _0x36a672 = _0x174aa9, _0xf3768b = Object[_0x36a672(0xc3)](MIME_BY_EXTENSION)[_0x36a672(_0x43bfed._0x54856d)](([, _0x5543b7]) => _0x5543b7 === _0x2c2f66);
|
|
462
|
+
return _0xf3768b?.[0x0] ?? _0x36a672(0xa0);
|
|
463
|
+
}
|
|
464
|
+
async function prepareUploadFile(_0x522697, _0x16fbae = {}) {
|
|
465
|
+
const _0x1a5b26 = {
|
|
466
|
+
_0x33e7e8: 0x17d,
|
|
467
|
+
_0x2452d3: 0xcc,
|
|
468
|
+
_0x2a861b: 0x15e,
|
|
469
|
+
_0xdcbb73: 0x15e
|
|
470
|
+
}, _0x2791ff = _0x174aa9;
|
|
471
|
+
if (!_0x5a04e4[_0x2791ff(_0x1a5b26._0x33e7e8)](_0x522697))
|
|
472
|
+
throw new Error(_0x2791ff(0x95));
|
|
473
|
+
const _0x41c2c7 = await stat(_0x522697)[_0x2791ff(0x1a3)](() => null);
|
|
474
|
+
if (!_0x41c2c7 || !_0x41c2c7['isFile']())
|
|
475
|
+
throw new Error('File\x20not\x20found:\x20' + _0x522697);
|
|
476
|
+
const _0xcceb75 = _0x16fbae[_0x2791ff(_0x1a5b26._0x2452d3)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
477
|
+
if (_0x41c2c7[_0x2791ff(_0x1a5b26._0x2a861b)] > _0xcceb75)
|
|
478
|
+
throw new Error(_0x2791ff(0x1d0) + _0x41c2c7[_0x2791ff(_0x1a5b26._0xdcbb73)]);
|
|
479
|
+
const _0x2ce88c = await readFile(_0x522697), _0x308919 = _0x5a04e4[_0x2791ff(0x94)](_0x522697);
|
|
480
|
+
return {
|
|
481
|
+
'contentBase64': _0x2ce88c[_0x2791ff(0x112)](_0x2791ff(0xb7)),
|
|
482
|
+
'contentType': guessContentType(_0x308919),
|
|
483
|
+
'filename': _0x308919,
|
|
484
|
+
'sizeBytes': _0x41c2c7['size']
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
function createAttachmentCache(_0x21a902 = {}) {
|
|
488
|
+
const _0x1c399e = {
|
|
489
|
+
_0x2b51a2: 0x183,
|
|
490
|
+
_0xe02025: 0x182,
|
|
491
|
+
_0x59ba23: 0x1c5,
|
|
492
|
+
_0xac81e0: 0x1bb,
|
|
493
|
+
_0x4deb2b: 0xf1
|
|
494
|
+
}, _0xa5fde6 = { _0x58546d: 0x72 }, _0x695b19 = _0x174aa9, _0x1e4d54 = _0x21a902[_0x695b19(0x122)] ?? _0x5a04e4[_0x695b19(0xdd)](homedir(), _0x695b19(0x11a), _0x695b19(0xac));
|
|
495
|
+
return {
|
|
496
|
+
'cacheDir': _0x1e4d54,
|
|
497
|
+
async 'findCachedPath'(_0x11f8db) {
|
|
498
|
+
const _0x16f99c = _0x695b19;
|
|
499
|
+
await mkdir(_0x1e4d54, { 'recursive': !![] });
|
|
500
|
+
const _0x3d19f9 = await readdir(_0x1e4d54), _0x24d962 = _0x3d19f9[_0x16f99c(_0xa5fde6._0x58546d)](_0x238204 => _0x238204[_0x16f99c(0xbc)](_0x11f8db + '-') || _0x238204[_0x16f99c(0xbc)](_0x11f8db));
|
|
501
|
+
return _0x24d962 ? _0x5a04e4['join'](_0x1e4d54, _0x24d962) : null;
|
|
502
|
+
},
|
|
503
|
+
async 'save'(_0x4e37dc) {
|
|
504
|
+
const _0x3d0720 = _0x695b19;
|
|
505
|
+
await mkdir(_0x1e4d54, { 'recursive': !![] });
|
|
506
|
+
const _0x21fb3a = _0x4e37dc[_0x3d0720(0x182)]?.[_0x3d0720(_0x1c399e._0x2b51a2)]() ? safeFilename(_0x4e37dc[_0x3d0720(_0x1c399e._0xe02025)]) : '' + _0x4e37dc[_0x3d0720(_0x1c399e._0x59ba23)] + extensionFor(_0x4e37dc[_0x3d0720(_0x1c399e._0xac81e0)]), _0x16405c = _0x5a04e4[_0x3d0720(0xdd)](_0x1e4d54, _0x4e37dc[_0x3d0720(0x1c5)] + '-' + _0x21fb3a);
|
|
507
|
+
return await writeFile(_0x16405c, _0x4e37dc[_0x3d0720(_0x1c399e._0x4deb2b)]), _0x16405c;
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
import {
|
|
512
|
+
createHash,
|
|
513
|
+
randomUUID
|
|
514
|
+
} from 'node:crypto';
|
|
515
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x174aa9(0x1dc);
|
|
516
|
+
function ensureSegment(_0xbbf9bf) {
|
|
517
|
+
const _0x170495 = _0x174aa9, _0x5e09f4 = _0xbbf9bf[_0x170495(0x183)]();
|
|
518
|
+
if (!_0x5e09f4 || _0x5e09f4[_0x170495(0x1ec)](':'))
|
|
519
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
520
|
+
return _0x5e09f4;
|
|
521
|
+
}
|
|
522
|
+
function parseThreadParts(_0x3fb0c3) {
|
|
523
|
+
const _0x3194e0 = _0x174aa9, _0x22d277 = _0x3fb0c3['split'](':');
|
|
524
|
+
if (_0x22d277[_0x3194e0(0x1a0)] < 0x1 || _0x22d277['length'] > 0x2)
|
|
525
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
526
|
+
return {
|
|
527
|
+
'channelName': ensureSegment(_0x22d277[0x0] ?? ''),
|
|
528
|
+
'threadShortId': _0x22d277[0x1] ? ensureSegment(_0x22d277[0x1]) : null
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
function parseTarget(_0x3bfce9) {
|
|
532
|
+
const _0x4a3f0e = {
|
|
533
|
+
_0x540ef0: 0x1d7,
|
|
534
|
+
_0x34a3eb: 0x128,
|
|
535
|
+
_0x1e6da9: 0x1d7,
|
|
536
|
+
_0x6ac940: 0xbc,
|
|
537
|
+
_0x389743: 0x8a,
|
|
538
|
+
_0x415760: 0x128,
|
|
539
|
+
_0xebe73d: 0x1d7
|
|
540
|
+
}, _0x51e9de = _0x174aa9, _0x48f46b = _0x3bfce9[_0x51e9de(0x183)]();
|
|
541
|
+
if (!_0x48f46b)
|
|
542
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
543
|
+
if (_0x48f46b[_0x51e9de(0xbc)]('#')) {
|
|
544
|
+
const _0x5206b9 = parseThreadParts(_0x48f46b[_0x51e9de(0x1bd)](0x1)), _0x1fac9c = '#' + _0x5206b9[_0x51e9de(_0x4a3f0e._0x540ef0)];
|
|
545
|
+
if (!_0x5206b9[_0x51e9de(_0x4a3f0e._0x34a3eb)])
|
|
546
|
+
return {
|
|
547
|
+
'channelName': _0x5206b9[_0x51e9de(0x1d7)],
|
|
548
|
+
'channelTarget': _0x1fac9c,
|
|
549
|
+
'kind': _0x51e9de(0x137),
|
|
550
|
+
'target': _0x1fac9c
|
|
551
|
+
};
|
|
552
|
+
return {
|
|
553
|
+
'channelName': _0x5206b9[_0x51e9de(_0x4a3f0e._0x1e6da9)],
|
|
554
|
+
'channelTarget': _0x1fac9c,
|
|
555
|
+
'kind': _0x51e9de(0x1be),
|
|
556
|
+
'target': _0x1fac9c + ':' + _0x5206b9[_0x51e9de(_0x4a3f0e._0x34a3eb)],
|
|
557
|
+
'threadShortId': _0x5206b9['threadShortId']
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
if (_0x48f46b['startsWith'](_0x51e9de(0x8a))) {
|
|
561
|
+
const _0x837abf = parseThreadParts(_0x48f46b[_0x51e9de(0x1bd)](0x3));
|
|
562
|
+
if (!_0x837abf['channelName'][_0x51e9de(_0x4a3f0e._0x6ac940)]('dm-'))
|
|
563
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
564
|
+
const _0x4e75af = _0x51e9de(_0x4a3f0e._0x389743) + _0x837abf['channelName'];
|
|
565
|
+
if (!_0x837abf[_0x51e9de(_0x4a3f0e._0x415760)])
|
|
566
|
+
return {
|
|
567
|
+
'channelName': _0x837abf[_0x51e9de(0x1d7)],
|
|
568
|
+
'channelTarget': _0x4e75af,
|
|
569
|
+
'kind': _0x51e9de(0x137),
|
|
570
|
+
'target': _0x4e75af
|
|
571
|
+
};
|
|
572
|
+
return {
|
|
573
|
+
'channelName': _0x837abf[_0x51e9de(_0x4a3f0e._0xebe73d)],
|
|
574
|
+
'channelTarget': _0x4e75af,
|
|
575
|
+
'kind': 'thread',
|
|
576
|
+
'target': _0x4e75af + ':' + _0x837abf[_0x51e9de(_0x4a3f0e._0x415760)],
|
|
577
|
+
'threadShortId': _0x837abf[_0x51e9de(0x128)]
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
581
|
+
}
|
|
582
|
+
function asErrorMessage(_0x5338d9, _0x560846) {
|
|
583
|
+
const _0x215571 = _0x174aa9;
|
|
584
|
+
if (typeof _0x5338d9 === _0x215571(0xbb) && _0x5338d9['trim']())
|
|
585
|
+
return _0x5338d9;
|
|
586
|
+
return _0x560846;
|
|
587
|
+
}
|
|
588
|
+
function asRecord(_0x233384) {
|
|
589
|
+
const _0x39f268 = { _0x4cd482: 0xd2 }, _0x3a0051 = _0x174aa9;
|
|
590
|
+
return typeof _0x233384 === _0x3a0051(_0x39f268._0x4cd482) && _0x233384 !== null ? _0x233384 : {};
|
|
591
|
+
}
|
|
592
|
+
function stableStringify(_0x57a49a) {
|
|
593
|
+
const _0x3f9ce8 = {
|
|
594
|
+
_0x299193: 0xd2,
|
|
595
|
+
_0x26336a: 0x1bc,
|
|
596
|
+
_0x4b8c71: 0x19f,
|
|
597
|
+
_0x222f38: 0x1f1,
|
|
598
|
+
_0x84cc97: 0x17f,
|
|
599
|
+
_0x4800f5: 0xdd
|
|
600
|
+
}, _0x3cf866 = _0x174aa9;
|
|
601
|
+
if (_0x57a49a === null || typeof _0x57a49a !== _0x3cf866(_0x3f9ce8._0x299193))
|
|
602
|
+
return JSON[_0x3cf866(0xaa)](_0x57a49a);
|
|
603
|
+
if (Array[_0x3cf866(_0x3f9ce8._0x26336a)](_0x57a49a))
|
|
604
|
+
return '[' + _0x57a49a[_0x3cf866(_0x3f9ce8._0x4b8c71)](_0x5af57a => stableStringify(_0x5af57a))[_0x3cf866(0xdd)](',') + ']';
|
|
605
|
+
const _0x2d47c4 = Object['entries'](_0x57a49a)[_0x3cf866(_0x3f9ce8._0x222f38)](([, _0x2217e8]) => _0x2217e8 !== void 0x0)[_0x3cf866(_0x3f9ce8._0x84cc97)](([_0x3fcdb8], [_0x303b1a]) => _0x3fcdb8[_0x3cf866(0x9b)](_0x303b1a))[_0x3cf866(0x19f)](([_0x2de79f, _0x3e7302]) => JSON[_0x3cf866(0xaa)](_0x2de79f) + ':' + stableStringify(_0x3e7302));
|
|
606
|
+
return '{' + _0x2d47c4[_0x3cf866(_0x3f9ce8._0x4800f5)](',') + '}';
|
|
607
|
+
}
|
|
608
|
+
function createHeaders(_0x1329db) {
|
|
609
|
+
return {
|
|
610
|
+
'Content-Type': 'application/json',
|
|
611
|
+
'x-daemon-api-key': _0x1329db
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
function toHttpBaseUrl(_0x11e41b) {
|
|
615
|
+
const _0x5d85cc = {
|
|
616
|
+
_0x563789: 0x1ef,
|
|
617
|
+
_0x2c2e2f: 0x75,
|
|
618
|
+
_0x4b77b0: 0x112
|
|
619
|
+
}, _0x5ec7e7 = _0x174aa9, _0x14908b = new URL(_0x11e41b);
|
|
620
|
+
if (_0x14908b[_0x5ec7e7(_0x5d85cc._0x563789)] === _0x5ec7e7(_0x5d85cc._0x2c2e2f))
|
|
621
|
+
_0x14908b['protocol'] = _0x5ec7e7(0xc4);
|
|
622
|
+
else
|
|
623
|
+
_0x14908b[_0x5ec7e7(0x1ef)] === _0x5ec7e7(0x107) && (_0x14908b['protocol'] = _0x5ec7e7(0x1af));
|
|
624
|
+
return _0x14908b[_0x5ec7e7(_0x5d85cc._0x4b77b0)]()[_0x5ec7e7(0x139)](/\/$/, '');
|
|
625
|
+
}
|
|
626
|
+
function isMentionBoundary(_0x24c7f7) {
|
|
627
|
+
const _0x31077e = _0x174aa9;
|
|
628
|
+
return !_0x24c7f7 || /\s|[([{'",。!?、:;]/[_0x31077e(0xe8)](_0x24c7f7);
|
|
629
|
+
}
|
|
630
|
+
function isMentionTerminal(_0x2e2bfb) {
|
|
631
|
+
const _0x240849 = { _0x4800bb: 0xe8 }, _0x52f8d4 = _0x174aa9;
|
|
632
|
+
return !_0x2e2bfb || /\s|[)\]}'",。!?、:;,.!?]/[_0x52f8d4(_0x240849._0x4800bb)](_0x2e2bfb);
|
|
633
|
+
}
|
|
634
|
+
function buildMatchableEntries(_0x19e91b) {
|
|
635
|
+
const _0x524bde = {
|
|
636
|
+
_0x4c7037: 0x18a,
|
|
637
|
+
_0xd0a4bb: 0x102,
|
|
638
|
+
_0x218ca6: 0x102
|
|
639
|
+
}, _0x3a1eb6 = _0x174aa9, _0x4f31ce = [];
|
|
640
|
+
for (const _0x246360 of [
|
|
641
|
+
..._0x19e91b[_0x3a1eb6(0x10f)],
|
|
642
|
+
..._0x19e91b[_0x3a1eb6(_0x524bde._0x4c7037)]
|
|
643
|
+
]) {
|
|
644
|
+
_0x4f31ce[_0x3a1eb6(0x97)]({
|
|
645
|
+
'matchName': _0x246360[_0x3a1eb6(_0x524bde._0xd0a4bb)],
|
|
646
|
+
'matchNameLower': _0x246360[_0x3a1eb6(_0x524bde._0x218ca6)][_0x3a1eb6(0x7e)](),
|
|
647
|
+
'participantId': _0x246360['id']
|
|
648
|
+
}), _0x246360['id'] !== _0x246360[_0x3a1eb6(0x102)] && _0x4f31ce[_0x3a1eb6(0x97)]({
|
|
649
|
+
'matchName': _0x246360['id'],
|
|
650
|
+
'matchNameLower': _0x246360['id']['toLocaleLowerCase'](),
|
|
651
|
+
'participantId': _0x246360['id']
|
|
652
|
+
});
|
|
653
|
+
}
|
|
654
|
+
return _0x4f31ce;
|
|
655
|
+
}
|
|
656
|
+
function extractMentionedParticipantIds(_0x3a3c4d, _0x54c798) {
|
|
657
|
+
const _0x5496a9 = {
|
|
658
|
+
_0x1369ff: 0x1bd,
|
|
659
|
+
_0x6a298e: 0x72,
|
|
660
|
+
_0x5e13ea: 0x108,
|
|
661
|
+
_0x588f37: 0x17c,
|
|
662
|
+
_0x5546bf: 0x108,
|
|
663
|
+
_0xa45852: 0x92,
|
|
664
|
+
_0x3b9aeb: 0x1a0
|
|
665
|
+
}, _0x5e6536 = {
|
|
666
|
+
_0x587482: 0xbc,
|
|
667
|
+
_0x20979c: 0x1a0
|
|
668
|
+
}, _0x18aa32 = _0x174aa9, _0x4e20cd = buildMatchableEntries(_0x54c798)[_0x18aa32(0x17f)]((_0x1a6eec, _0x88babe) => _0x88babe[_0x18aa32(0x92)][_0x18aa32(0x1a0)] - _0x1a6eec['matchName'][_0x18aa32(0x1a0)]), _0x452555 = [], _0x3c347a = new Set();
|
|
669
|
+
for (let _0x19fcbb = 0x0; _0x19fcbb < _0x3a3c4d[_0x18aa32(0x1a0)]; _0x19fcbb += 0x1) {
|
|
670
|
+
if (_0x3a3c4d[_0x19fcbb] !== '@' || !isMentionBoundary(_0x3a3c4d[_0x19fcbb - 0x1]))
|
|
671
|
+
continue;
|
|
672
|
+
const _0x43dae8 = _0x3a3c4d[_0x18aa32(_0x5496a9._0x1369ff)](_0x19fcbb + 0x1), _0xe42197 = _0x43dae8[_0x18aa32(0x7e)](), _0x34048e = _0x4e20cd[_0x18aa32(_0x5496a9._0x6a298e)](_0x579a81 => {
|
|
673
|
+
const _0x3f5510 = _0x18aa32;
|
|
674
|
+
if (!_0xe42197[_0x3f5510(_0x5e6536._0x587482)](_0x579a81['matchNameLower']))
|
|
675
|
+
return ![];
|
|
676
|
+
return isMentionTerminal(_0x43dae8[_0x579a81['matchName'][_0x3f5510(_0x5e6536._0x20979c)]]);
|
|
677
|
+
});
|
|
678
|
+
if (!_0x34048e || _0x3c347a[_0x18aa32(0x9f)](_0x34048e[_0x18aa32(_0x5496a9._0x5e13ea)]))
|
|
679
|
+
continue;
|
|
680
|
+
_0x3c347a[_0x18aa32(_0x5496a9._0x588f37)](_0x34048e['participantId']), _0x452555[_0x18aa32(0x97)](_0x34048e[_0x18aa32(_0x5496a9._0x5546bf)]), _0x19fcbb += _0x34048e[_0x18aa32(_0x5496a9._0xa45852)][_0x18aa32(_0x5496a9._0x3b9aeb)];
|
|
681
|
+
}
|
|
682
|
+
return _0x452555;
|
|
665
683
|
}
|
|
666
684
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
667
|
-
function anySignal(...
|
|
668
|
-
const
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
_0x2887b8[_0xf665c6(_0x3c2306._0x494f93)](_0xf665c6(_0x3c2306._0x547677), () => _0x463b74[_0xf665c6(0x18d)](_0x2887b8[_0xf665c6(0x255)]), {
|
|
685
|
+
function anySignal(..._0x44bdd9) {
|
|
686
|
+
const _0x131637 = {
|
|
687
|
+
_0x47cacb: 0xdb,
|
|
688
|
+
_0x3450fb: 0x1d1,
|
|
689
|
+
_0x20c8ee: 0x123,
|
|
690
|
+
_0x10a1d7: 0x126
|
|
691
|
+
}, _0x2e463d = _0x174aa9, _0x2a13d1 = new AbortController();
|
|
692
|
+
for (const _0x2ebc2f of _0x44bdd9) {
|
|
693
|
+
if (_0x2ebc2f[_0x2e463d(_0x131637._0x47cacb)])
|
|
694
|
+
return _0x2a13d1['abort'](_0x2ebc2f[_0x2e463d(_0x131637._0x3450fb)]), _0x2a13d1[_0x2e463d(_0x131637._0x20c8ee)];
|
|
695
|
+
_0x2ebc2f[_0x2e463d(_0x131637._0x10a1d7)](_0x2e463d(0x117), () => _0x2a13d1[_0x2e463d(0x117)](_0x2ebc2f[_0x2e463d(0x1d1)]), {
|
|
679
696
|
'once': !![],
|
|
680
|
-
'signal':
|
|
697
|
+
'signal': _0x2a13d1['signal']
|
|
681
698
|
});
|
|
682
699
|
}
|
|
683
|
-
return
|
|
700
|
+
return _0x2a13d1['signal'];
|
|
684
701
|
}
|
|
685
|
-
function createInternalAgentClient(
|
|
686
|
-
const
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
},
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
},
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
},
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
_0xe117b4: 0x224
|
|
827
|
-
}, _0x52bd92 = {
|
|
828
|
-
_0x5799d3: 0x210,
|
|
829
|
-
_0x504bd2: 0x2c4,
|
|
830
|
-
_0xba3be3: 0x273,
|
|
831
|
-
_0x40df4e: 0x269,
|
|
832
|
-
_0x3f448f: 0x1b2
|
|
833
|
-
}, _0x15df04 = _0x48b8fe, _0x42ce43 = _0x28783b[_0x15df04(_0x12caa7._0x1ccd07)] ?? fetch, _0x5d85fb = _0x28783b['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x234f6f = typeof _0x28783b[_0x15df04(0x17b)] === 'number' && _0x28783b[_0x15df04(0x17b)] > 0x0 ? _0x28783b[_0x15df04(_0x12caa7._0x24cbfa)] : 0x0, _0x1dda70 = _0x28783b[_0x15df04(0x238)]?.[_0x15df04(0x224)]() || void 0x0, _0x1d4ce3 = _0x28783b[_0x15df04(_0x12caa7._0x3ed818)]?.[_0x15df04(_0x12caa7._0x3f860a)]() || void 0x0, _0x3d310b = _0x28783b['workerModeEnabled'] === !![], _0x19949b = _0x28783b[_0x15df04(0x2b8)]?.['trim']() || void 0x0, _0x4fd85b = _0x28783b[_0x15df04(0x1eb)]?.['trim']() || void 0x0, _0x24f328 = createHeaders(_0x28783b[_0x15df04(_0x12caa7._0x5719b0)]), _0x206bfc = toHttpBaseUrl(_0x28783b[_0x15df04(0x2b0)]);
|
|
834
|
-
let _0x3c1247 = null;
|
|
835
|
-
const _0x4fdb3f = new Map();
|
|
836
|
-
let _0x47facc = _0x234f6f, _0x4fd613 = _0x234f6f;
|
|
837
|
-
function _0x140304(_0x206bf0) {
|
|
838
|
-
const _0x1d0fd0 = _0x15df04, _0x90d213 = _0x206bf0[_0x1d0fd0(_0x52bd92._0x5799d3)]['headers'][_0x1d0fd0(0x25f)]('content-type') ?? _0x1d0fd0(0x2a4), _0x5a67ed = _0x206bf0['bodyText'][_0x1d0fd0(0x224)]()['replace'](/\s+/g, '\x20')[_0x1d0fd0(_0x52bd92._0x504bd2)](0x0, 0x78) || _0x1d0fd0(0x1df);
|
|
839
|
-
return '请求\x20' + _0x206bf0[_0x1d0fd0(0x2be)] + _0x1d0fd0(_0x52bd92._0xba3be3) + _0x206bf0[_0x1d0fd0(0x210)][_0x1d0fd0(_0x52bd92._0x40df4e)] + _0x1d0fd0(0x25e) + _0x90d213 + _0x1d0fd0(0x206) + _0x5a67ed + _0x1d0fd0(_0x52bd92._0x3f448f);
|
|
702
|
+
function createInternalAgentClient(_0x6e51be) {
|
|
703
|
+
const _0x2fdbd6 = {
|
|
704
|
+
_0x46f13b: 0xc1,
|
|
705
|
+
_0x243321: 0x8f,
|
|
706
|
+
_0x23b8b6: 0x141,
|
|
707
|
+
_0xccd443: 0x183,
|
|
708
|
+
_0x2ec357: 0xad,
|
|
709
|
+
_0x54dc0b: 0x183,
|
|
710
|
+
_0x1440f0: 0xdc,
|
|
711
|
+
_0x37e9e2: 0x119
|
|
712
|
+
}, _0x398231 = {
|
|
713
|
+
_0x2f1fb6: 0x16c,
|
|
714
|
+
_0x1402eb: 0xf8,
|
|
715
|
+
_0x135f99: 0xea,
|
|
716
|
+
_0x48f6e1: 0x1a0,
|
|
717
|
+
_0xd831a7: 0x11b,
|
|
718
|
+
_0x3ad10e: 0xbb,
|
|
719
|
+
_0x36627e: 0x18d,
|
|
720
|
+
_0x210bbc: 0x10b,
|
|
721
|
+
_0x21ce0e: 0x153,
|
|
722
|
+
_0x455ca8: 0x1f5,
|
|
723
|
+
_0x2a05c6: 0x153,
|
|
724
|
+
_0x322a7b: 0x10b,
|
|
725
|
+
_0x2185b8: 0xa1,
|
|
726
|
+
_0x2c3265: 0x96,
|
|
727
|
+
_0x2eaeaf: 0xc8,
|
|
728
|
+
_0x5bd31a: 0x19f,
|
|
729
|
+
_0x42a86e: 0x84,
|
|
730
|
+
_0x2f744a: 0x1c3
|
|
731
|
+
}, _0xba0c21 = {
|
|
732
|
+
_0x2946e4: 0x1a2,
|
|
733
|
+
_0x26abb8: 0x18d
|
|
734
|
+
}, _0x5554f1 = {
|
|
735
|
+
_0x520381: 0xab,
|
|
736
|
+
_0x5a047f: 0x106,
|
|
737
|
+
_0x275bf0: 0x1f6,
|
|
738
|
+
_0x3caa2d: 0xf1,
|
|
739
|
+
_0x35a153: 0xb9,
|
|
740
|
+
_0x2e06a9: 0x129,
|
|
741
|
+
_0x1b841b: 0xb6,
|
|
742
|
+
_0x29fa6f: 0x7f,
|
|
743
|
+
_0xc5f4d7: 0x182
|
|
744
|
+
}, _0x155533 = {
|
|
745
|
+
_0x174969: 0x18d,
|
|
746
|
+
_0x79e16d: 0x160,
|
|
747
|
+
_0x1c2160: 0xaa,
|
|
748
|
+
_0x38f38b: 0x82,
|
|
749
|
+
_0x337b88: 0x1ac,
|
|
750
|
+
_0x1d1858: 0xef,
|
|
751
|
+
_0x3363a0: 0xf1,
|
|
752
|
+
_0xfa169d: 0xf1
|
|
753
|
+
}, _0x4eebc0 = {
|
|
754
|
+
_0x11c861: 0x160,
|
|
755
|
+
_0x325da7: 0xef
|
|
756
|
+
}, _0xa74a9d = {
|
|
757
|
+
_0x2eff45: 0x160,
|
|
758
|
+
_0x415893: 0xaa,
|
|
759
|
+
_0x253d5b: 0x181
|
|
760
|
+
}, _0x1f04b2 = {
|
|
761
|
+
_0x170a74: 0x160,
|
|
762
|
+
_0xb2789e: 0x111
|
|
763
|
+
}, _0xf67abb = {
|
|
764
|
+
_0x46ec30: 0x137,
|
|
765
|
+
_0xa1a59c: 0x137,
|
|
766
|
+
_0x1034af: 0x1e6
|
|
767
|
+
}, _0xd7581c = {
|
|
768
|
+
_0x16c021: 0xaa,
|
|
769
|
+
_0x36793c: 0x1d8
|
|
770
|
+
}, _0x5949c8 = { _0x345136: 0xef }, _0x4915e3 = { _0x1a6058: 0xaa }, _0x158300 = { _0x3cf08d: 0x110 }, _0xa2cd1c = {
|
|
771
|
+
_0x540721: 0x1ec,
|
|
772
|
+
_0x55b007: 0x171,
|
|
773
|
+
_0x5d23bb: 0x18d
|
|
774
|
+
}, _0x43e9cb = {
|
|
775
|
+
_0x52211a: 0x17e,
|
|
776
|
+
_0x472470: 0x16c,
|
|
777
|
+
_0x3cdb95: 0x115,
|
|
778
|
+
_0x56bdbc: 0x1a2,
|
|
779
|
+
_0x394df2: 0x16c,
|
|
780
|
+
_0x851c64: 0x134,
|
|
781
|
+
_0x15363d: 0x192,
|
|
782
|
+
_0x1ef1c4: 0xf1,
|
|
783
|
+
_0x4d424c: 0x19f,
|
|
784
|
+
_0x1e58e8: 0xea
|
|
785
|
+
}, _0x281051 = { _0x69c291: 0x108 }, _0x15a6c8 = {
|
|
786
|
+
_0x30dd6b: 0x1b2,
|
|
787
|
+
_0x3c2fdb: 0x128,
|
|
788
|
+
_0x5484bf: 0x153,
|
|
789
|
+
_0x2f84ec: 0x10b,
|
|
790
|
+
_0x2c1710: 0x10b,
|
|
791
|
+
_0x7cd518: 0xbc,
|
|
792
|
+
_0x5321dd: 0x18d
|
|
793
|
+
}, _0x3a95e0 = {
|
|
794
|
+
_0x2e29a2: 0x10b,
|
|
795
|
+
_0x39b628: 0x10b,
|
|
796
|
+
_0x47ac9c: 0x1b2
|
|
797
|
+
}, _0x1a89d9 = {
|
|
798
|
+
_0x228312: 0x80,
|
|
799
|
+
_0x16b6ba: 0x168
|
|
800
|
+
}, _0x34ee9e = {
|
|
801
|
+
_0x1b005e: 0x82,
|
|
802
|
+
_0x57fb1b: 0x11b,
|
|
803
|
+
_0x167b49: 0x1b2,
|
|
804
|
+
_0x5e6497: 0xf1,
|
|
805
|
+
_0x41b967: 0x10d,
|
|
806
|
+
_0x17785e: 0x153
|
|
807
|
+
}, _0x1e2891 = {
|
|
808
|
+
_0x3feb67: 0xc9,
|
|
809
|
+
_0x275fc9: 0xaa,
|
|
810
|
+
_0x1e1241: 0x1e6
|
|
811
|
+
}, _0x1f3c30 = {
|
|
812
|
+
_0x3dab13: 0xaa,
|
|
813
|
+
_0x73523c: 0xc0
|
|
814
|
+
}, _0x2d8d55 = { _0x2189a6: 0x123 }, _0x12c970 = {
|
|
815
|
+
_0x4fb0f1: 0x123,
|
|
816
|
+
_0x31446e: 0xd6,
|
|
817
|
+
_0x409e16: 0x93,
|
|
818
|
+
_0x2b1350: 0x1f6
|
|
819
|
+
}, _0x4ac871 = {
|
|
820
|
+
_0x39e2d9: 0xbb,
|
|
821
|
+
_0xc8acea: 0x13c,
|
|
822
|
+
_0x254edd: 0x1c9,
|
|
823
|
+
_0x1d720: 0x101,
|
|
824
|
+
_0xa32bb7: 0x16c
|
|
825
|
+
}, _0x427f4f = {
|
|
826
|
+
_0x36ff67: 0x7f,
|
|
827
|
+
_0x3db1be: 0xd3,
|
|
828
|
+
_0x3a0fbf: 0xeb
|
|
829
|
+
}, _0x4c50ec = {
|
|
830
|
+
_0x12dd17: 0x1f3,
|
|
831
|
+
_0x56e59f: 0x183,
|
|
832
|
+
_0x453dfe: 0x139,
|
|
833
|
+
_0x5689d6: 0x1d6,
|
|
834
|
+
_0x18e94a: 0x1e6,
|
|
835
|
+
_0x122a7f: 0x87
|
|
836
|
+
}, _0x2318ed = _0x174aa9, _0x2fbaee = _0x6e51be[_0x2318ed(_0x2fdbd6._0x46f13b)] ?? fetch, _0x236405 = _0x6e51be[_0x2318ed(0x1cc)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x2d994a = typeof _0x6e51be[_0x2318ed(_0x2fdbd6._0x243321)] === _0x2318ed(_0x2fdbd6._0x23b8b6) && _0x6e51be[_0x2318ed(0x8f)] > 0x0 ? _0x6e51be['initialLastSeenSeq'] : 0x0, _0x198db4 = _0x6e51be[_0x2318ed(0xfc)]?.[_0x2318ed(_0x2fdbd6._0xccd443)]() || void 0x0, _0x316263 = _0x6e51be[_0x2318ed(0x1ab)]?.['trim']() || void 0x0, _0x4cddff = _0x6e51be[_0x2318ed(_0x2fdbd6._0x2ec357)] === !![], _0x2f6e7b = _0x6e51be['workerSessionId']?.[_0x2318ed(_0x2fdbd6._0x54dc0b)]() || void 0x0, _0x3f46f0 = _0x6e51be['workerThreadTarget']?.['trim']() || void 0x0, _0x4b84af = createHeaders(_0x6e51be[_0x2318ed(_0x2fdbd6._0x1440f0)]), _0x184935 = toHttpBaseUrl(_0x6e51be[_0x2318ed(_0x2fdbd6._0x37e9e2)]);
|
|
837
|
+
let _0x5b0edd = null;
|
|
838
|
+
const _0xfc00bf = new Map();
|
|
839
|
+
let _0x23e3ee = _0x2d994a, _0x231f18 = _0x2d994a;
|
|
840
|
+
function _0x4ee262(_0x597ce3) {
|
|
841
|
+
const _0xabf425 = _0x2318ed, _0x2ddb7f = _0x597ce3[_0xabf425(0x197)][_0xabf425(_0x4c50ec._0x12dd17)]['get']('content-type') ?? _0xabf425(0xcd), _0x54fb17 = _0x597ce3['bodyText'][_0xabf425(_0x4c50ec._0x56e59f)]()[_0xabf425(_0x4c50ec._0x453dfe)](/\s+/g, '\x20')[_0xabf425(0x1bd)](0x0, 0x78) || _0xabf425(0x73);
|
|
842
|
+
return _0xabf425(0xc2) + _0x597ce3[_0xabf425(0xe5)] + _0xabf425(_0x4c50ec._0x5689d6) + _0x597ce3[_0xabf425(0x197)][_0xabf425(_0x4c50ec._0x18e94a)] + _0xabf425(_0x4c50ec._0x122a7f) + _0x2ddb7f + ',\x20preview=' + _0x54fb17 + _0xabf425(0xb3);
|
|
840
843
|
}
|
|
841
|
-
async function
|
|
842
|
-
const
|
|
843
|
-
if (!
|
|
844
|
+
async function _0x28670d(_0x450470, _0x31252f) {
|
|
845
|
+
const _0x78898c = _0x2318ed, _0x5379d5 = Buffer[_0x78898c(0xb6)](await _0x31252f[_0x78898c(_0x427f4f._0x36ff67)]())[_0x78898c(0x112)](_0x78898c(_0x427f4f._0x3db1be));
|
|
846
|
+
if (!_0x5379d5['trim']())
|
|
844
847
|
return {};
|
|
845
848
|
try {
|
|
846
|
-
return JSON[
|
|
849
|
+
return JSON[_0x78898c(_0x427f4f._0x3a0fbf)](_0x5379d5);
|
|
847
850
|
} catch {
|
|
848
|
-
throw new Error(
|
|
849
|
-
'bodyText':
|
|
850
|
-
'requestUrl':
|
|
851
|
-
'response':
|
|
851
|
+
throw new Error(_0x4ee262({
|
|
852
|
+
'bodyText': _0x5379d5,
|
|
853
|
+
'requestUrl': _0x450470,
|
|
854
|
+
'response': _0x31252f
|
|
852
855
|
}));
|
|
853
856
|
}
|
|
854
857
|
}
|
|
855
|
-
function
|
|
856
|
-
const
|
|
857
|
-
if (
|
|
858
|
-
return
|
|
859
|
-
const
|
|
860
|
-
for (const [
|
|
861
|
-
|
|
858
|
+
function _0x305615(_0x129746, _0x1309e1) {
|
|
859
|
+
const _0x11779e = _0x2318ed, _0x267c2f = typeof _0x1309e1[_0x11779e(0x12e)] === _0x11779e(_0x4ac871._0x39e2d9) ? _0x1309e1[_0x11779e(0x12e)][_0x11779e(0x183)]() : '';
|
|
860
|
+
if (_0x267c2f)
|
|
861
|
+
return _0x267c2f;
|
|
862
|
+
const _0x418a24 = Date['now']();
|
|
863
|
+
for (const [_0x5934d0, _0x406da4] of _0xfc00bf) {
|
|
864
|
+
_0x406da4[_0x11779e(_0x4ac871._0xc8acea)] <= _0x418a24 && _0xfc00bf[_0x11779e(0x86)](_0x5934d0);
|
|
862
865
|
}
|
|
863
|
-
const
|
|
864
|
-
...
|
|
866
|
+
const _0x42fb72 = {
|
|
867
|
+
..._0x1309e1,
|
|
865
868
|
'idempotency_key': void 0x0
|
|
866
|
-
},
|
|
867
|
-
if (
|
|
868
|
-
return
|
|
869
|
-
const
|
|
870
|
-
return
|
|
871
|
-
'expiresAt':
|
|
872
|
-
'value':
|
|
873
|
-
}),
|
|
869
|
+
}, _0x3fe248 = createHash(_0x11779e(_0x4ac871._0x254edd))[_0x11779e(0x174)](_0x129746 + ':' + stableStringify(_0x42fb72))['digest']('hex'), _0x25bbbd = _0x129746 + ':' + _0x3fe248, _0x47cfa4 = _0xfc00bf[_0x11779e(0x127)](_0x25bbbd);
|
|
870
|
+
if (_0x47cfa4)
|
|
871
|
+
return _0x47cfa4[_0x11779e(0x178)];
|
|
872
|
+
const _0x449ede = _0x11779e(_0x4ac871._0x1d720) + _0x129746 + ':' + randomUUID();
|
|
873
|
+
return _0xfc00bf[_0x11779e(_0x4ac871._0xa32bb7)](_0x25bbbd, {
|
|
874
|
+
'expiresAt': _0x418a24 + 0x5 * 0x3c * 0x3e8,
|
|
875
|
+
'value': _0x449ede
|
|
876
|
+
}), _0x449ede;
|
|
874
877
|
}
|
|
875
|
-
async function
|
|
876
|
-
const
|
|
878
|
+
async function _0x3c1b8a(_0x4b71e3, _0x2883ae) {
|
|
879
|
+
const _0x35f8c6 = _0x2318ed, _0x1e41e1 = new AbortController(), _0x6ac42b = setTimeout(() => _0x1e41e1[_0x35f8c6(0x117)](), _0x236405), _0x4ad8a0 = _0x2883ae?.[_0x35f8c6(_0x12c970._0x4fb0f1)] ? anySignal(_0x2883ae[_0x35f8c6(0x123)], _0x1e41e1['signal']) : _0x1e41e1[_0x35f8c6(0x123)], _0x4b9850 = '' + _0x184935 + _0x4b71e3;
|
|
877
880
|
try {
|
|
878
|
-
const
|
|
879
|
-
...
|
|
880
|
-
'signal':
|
|
881
|
-
}),
|
|
882
|
-
if (!
|
|
883
|
-
throw new Error(asErrorMessage(
|
|
884
|
-
return
|
|
881
|
+
const _0x5ca638 = await _0x2fbaee(_0x4b9850, {
|
|
882
|
+
..._0x2883ae,
|
|
883
|
+
'signal': _0x4ad8a0
|
|
884
|
+
}), _0x8c4769 = await _0x28670d(_0x4b9850, _0x5ca638);
|
|
885
|
+
if (!_0x5ca638['ok'] || _0x8c4769[_0x35f8c6(_0x12c970._0x31446e)] === ![])
|
|
886
|
+
throw new Error(asErrorMessage(_0x8c4769[_0x35f8c6(_0x12c970._0x409e16)], _0x35f8c6(_0x12c970._0x2b1350) + _0x5ca638['status']));
|
|
887
|
+
return _0x8c4769;
|
|
885
888
|
} finally {
|
|
886
|
-
clearTimeout(
|
|
889
|
+
clearTimeout(_0x6ac42b);
|
|
887
890
|
}
|
|
888
891
|
}
|
|
889
|
-
async function
|
|
890
|
-
const
|
|
892
|
+
async function _0x34bb26(_0x16e2c5, _0x510da0) {
|
|
893
|
+
const _0x5a1032 = _0x2318ed, _0x1e66c2 = new AbortController(), _0x536e77 = setTimeout(() => _0x1e66c2['abort'](), _0x236405), _0x3f7cbf = _0x510da0?.[_0x5a1032(0x123)] ? anySignal(_0x510da0[_0x5a1032(0x123)], _0x1e66c2['signal']) : _0x1e66c2[_0x5a1032(_0x2d8d55._0x2189a6)], _0x5aac7f = '' + _0x184935 + _0x16e2c5;
|
|
891
894
|
try {
|
|
892
|
-
const
|
|
893
|
-
...
|
|
894
|
-
'signal':
|
|
895
|
-
}),
|
|
896
|
-
if (!
|
|
897
|
-
throw new Error(asErrorMessage(
|
|
898
|
-
return
|
|
895
|
+
const _0x4af673 = await _0x2fbaee(_0x5aac7f, {
|
|
896
|
+
..._0x510da0,
|
|
897
|
+
'signal': _0x3f7cbf
|
|
898
|
+
}), _0x3aa0ba = await _0x28670d(_0x5aac7f, _0x4af673);
|
|
899
|
+
if (!_0x4af673['ok'])
|
|
900
|
+
throw new Error(asErrorMessage(_0x3aa0ba[_0x5a1032(0x93)], _0x5a1032(0x1f6) + _0x4af673['status']));
|
|
901
|
+
return _0x3aa0ba;
|
|
899
902
|
} finally {
|
|
900
|
-
clearTimeout(
|
|
903
|
+
clearTimeout(_0x536e77);
|
|
901
904
|
}
|
|
902
905
|
}
|
|
903
|
-
async function
|
|
904
|
-
const
|
|
905
|
-
if (!
|
|
906
|
+
async function _0x12381c(_0x509923) {
|
|
907
|
+
const _0x1383b6 = _0x2318ed;
|
|
908
|
+
if (!_0x316263 || _0x509923 <= _0x231f18)
|
|
906
909
|
return;
|
|
907
|
-
await
|
|
908
|
-
'body': JSON[
|
|
909
|
-
'headers':
|
|
910
|
-
'method':
|
|
911
|
-
}),
|
|
910
|
+
await _0x3c1b8a('/api/agent-sessions/' + encodeURIComponent(_0x316263) + '/context-metrics', {
|
|
911
|
+
'body': JSON[_0x1383b6(_0x1f3c30._0x3dab13)]({ 'lastSeenSeq': _0x509923 }),
|
|
912
|
+
'headers': _0x4b84af,
|
|
913
|
+
'method': _0x1383b6(_0x1f3c30._0x73523c)
|
|
914
|
+
}), _0x231f18 = _0x509923;
|
|
912
915
|
}
|
|
913
|
-
async function
|
|
914
|
-
const
|
|
915
|
-
if (!
|
|
916
|
+
async function _0x15a87b(_0x32317b) {
|
|
917
|
+
const _0x1ae846 = _0x2318ed;
|
|
918
|
+
if (!_0x198db4 || !_0x2f6e7b || _0x32317b <= _0x231f18)
|
|
916
919
|
return;
|
|
917
|
-
const
|
|
918
|
-
'body': JSON[
|
|
919
|
-
'last_seen_seq':
|
|
920
|
-
'worker_session_id':
|
|
920
|
+
const _0x38eb5f = await _0x2fbaee(_0x198db4 + _0x1ae846(_0x1e2891._0x3feb67), {
|
|
921
|
+
'body': JSON[_0x1ae846(_0x1e2891._0x275fc9)]({
|
|
922
|
+
'last_seen_seq': _0x32317b,
|
|
923
|
+
'worker_session_id': _0x2f6e7b
|
|
921
924
|
}),
|
|
922
|
-
'headers': { 'Content-Type':
|
|
923
|
-
'method':
|
|
925
|
+
'headers': { 'Content-Type': _0x1ae846(0x161) },
|
|
926
|
+
'method': _0x1ae846(0xef)
|
|
924
927
|
});
|
|
925
|
-
if (!
|
|
926
|
-
throw new Error(
|
|
927
|
-
|
|
928
|
+
if (!_0x38eb5f['ok'])
|
|
929
|
+
throw new Error('HTTP\x20' + _0x38eb5f[_0x1ae846(_0x1e2891._0x1e1241)]);
|
|
930
|
+
_0x231f18 = _0x32317b;
|
|
928
931
|
}
|
|
929
|
-
async function
|
|
930
|
-
const
|
|
931
|
-
'body': JSON[
|
|
932
|
-
'headers':
|
|
933
|
-
'method':
|
|
932
|
+
async function _0x556cec(_0x2ebbb0) {
|
|
933
|
+
const _0x185dc4 = _0x2318ed, _0x30a494 = parseTarget(_0x2ebbb0), _0x14b3aa = await _0x3c1b8a('/internal/agent/' + _0x6e51be[_0x185dc4(0x160)] + '/resolve-channel', {
|
|
934
|
+
'body': JSON[_0x185dc4(0xaa)]({ 'target': _0x30a494[_0x185dc4(_0x34ee9e._0x1b005e)] }),
|
|
935
|
+
'headers': _0x4b84af,
|
|
936
|
+
'method': _0x185dc4(0xef)
|
|
934
937
|
});
|
|
935
938
|
return {
|
|
936
|
-
'channelId':
|
|
937
|
-
'target':
|
|
938
|
-
'task':
|
|
939
|
-
'threadId':
|
|
940
|
-
'threadNumber':
|
|
939
|
+
'channelId': _0x14b3aa['data']?.[_0x185dc4(_0x34ee9e._0x57fb1b)] ?? '',
|
|
940
|
+
'target': _0x30a494[_0x185dc4(_0x34ee9e._0x167b49)],
|
|
941
|
+
'task': _0x14b3aa[_0x185dc4(_0x34ee9e._0x5e6497)]?.[_0x185dc4(_0x34ee9e._0x41b967)],
|
|
942
|
+
'threadId': _0x14b3aa[_0x185dc4(_0x34ee9e._0x5e6497)]?.['threadId'],
|
|
943
|
+
'threadNumber': _0x14b3aa[_0x185dc4(0xf1)]?.[_0x185dc4(_0x34ee9e._0x17785e)]
|
|
941
944
|
};
|
|
942
945
|
}
|
|
943
|
-
async function
|
|
944
|
-
const
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
946
|
+
async function _0x16d797() {
|
|
947
|
+
const _0x21ff44 = {
|
|
948
|
+
_0x2c5ff3: 0x196,
|
|
949
|
+
_0x46c0bd: 0xf1,
|
|
950
|
+
_0x2b4864: 0x19f,
|
|
951
|
+
_0x41daa8: 0x1d2,
|
|
952
|
+
_0x35d594: 0x1f1,
|
|
953
|
+
_0xf2726f: 0x1f1,
|
|
954
|
+
_0x5a6cbe: 0xf1,
|
|
955
|
+
_0x216b0e: 0x102
|
|
956
|
+
}, _0x4981bc = _0x2318ed;
|
|
957
|
+
return !_0x5b0edd && (_0x5b0edd = (async () => {
|
|
958
|
+
const _0x1fdd5b = _0xf070, _0x1240ef = await _0x3c1b8a(_0x1fdd5b(0x192) + _0x6e51be[_0x1fdd5b(0x160)] + _0x1fdd5b(0xf9), {
|
|
959
|
+
'headers': _0x4b84af,
|
|
960
|
+
'method': _0x1fdd5b(0x110)
|
|
961
|
+
}), _0x5c76c1 = _0x1240ef[_0x1fdd5b(0xf1)]?.[_0x1fdd5b(_0x21ff44._0x2c5ff3)]['id'] ?? '';
|
|
962
|
+
let _0x2afdf6 = [];
|
|
958
963
|
try {
|
|
959
|
-
const
|
|
960
|
-
'headers':
|
|
961
|
-
'method':
|
|
964
|
+
const _0x360cad = await _0x3c1b8a(_0x1fdd5b(0x176) + encodeURIComponent(_0x5c76c1), {
|
|
965
|
+
'headers': _0x4b84af,
|
|
966
|
+
'method': _0x1fdd5b(0x110)
|
|
962
967
|
});
|
|
963
|
-
|
|
968
|
+
_0x2afdf6 = _0x360cad[_0x1fdd5b(_0x21ff44._0x46c0bd)] ?? [];
|
|
964
969
|
} catch {
|
|
965
|
-
|
|
970
|
+
_0x2afdf6 = [];
|
|
966
971
|
}
|
|
967
|
-
const
|
|
968
|
-
'id':
|
|
969
|
-
'name':
|
|
970
|
-
}))[
|
|
971
|
-
'id':
|
|
972
|
-
'name':
|
|
973
|
-
}))[
|
|
972
|
+
const _0x901675 = _0x2afdf6[_0x1fdd5b(_0x21ff44._0x2b4864)](_0x3ceb72 => ({
|
|
973
|
+
'id': _0x3ceb72[_0x1fdd5b(0xe4)]?.['id'] ?? _0x3ceb72['server_members']?.[_0x1fdd5b(0x108)] ?? '',
|
|
974
|
+
'name': _0x3ceb72['participants']?.[_0x1fdd5b(0x102)] ?? _0x3ceb72[_0x1fdd5b(0x19e)]?.[_0x1fdd5b(0x108)] ?? ''
|
|
975
|
+
}))[_0x1fdd5b(0x1f1)](_0x3b810d => _0x3b810d['id']), _0x5ac84a = new Set(_0x901675[_0x1fdd5b(_0x21ff44._0x2b4864)](_0x2394a6 => _0x2394a6['id'])), _0x200c7f = (_0x1240ef[_0x1fdd5b(0xf1)]?.[_0x1fdd5b(_0x21ff44._0x41daa8)] ?? [])[_0x1fdd5b(_0x21ff44._0x35d594)](_0x56f885 => !_0x5ac84a[_0x1fdd5b(0x9f)](_0x43e31c(_0x56f885)))[_0x1fdd5b(0x19f)](_0x933dc3 => ({
|
|
976
|
+
'id': _0x43e31c(_0x933dc3),
|
|
977
|
+
'name': _0x5f36d6(_0x933dc3)
|
|
978
|
+
}))[_0x1fdd5b(_0x21ff44._0xf2726f)](_0x1ce641 => _0x1ce641['id']);
|
|
974
979
|
return {
|
|
975
|
-
'agents':
|
|
976
|
-
'channels':
|
|
977
|
-
'humans':
|
|
978
|
-
'serverId':
|
|
979
|
-
'serverName':
|
|
980
|
+
'agents': _0x901675,
|
|
981
|
+
'channels': _0x1240ef[_0x1fdd5b(_0x21ff44._0x5a6cbe)]?.[_0x1fdd5b(0x13e)] ?? [],
|
|
982
|
+
'humans': _0x200c7f,
|
|
983
|
+
'serverId': _0x5c76c1,
|
|
984
|
+
'serverName': _0x1240ef['data']?.['server'][_0x1fdd5b(_0x21ff44._0x216b0e)] ?? _0x5c76c1
|
|
980
985
|
};
|
|
981
|
-
})()[
|
|
982
|
-
|
|
983
|
-
throw
|
|
984
|
-
})),
|
|
986
|
+
})()[_0x4981bc(0x1a3)](_0x361b01 => {
|
|
987
|
+
_0x5b0edd = null;
|
|
988
|
+
throw _0x361b01;
|
|
989
|
+
})), _0x5b0edd;
|
|
985
990
|
}
|
|
986
|
-
function
|
|
987
|
-
const
|
|
988
|
-
return
|
|
991
|
+
function _0x989167(_0x471e32, _0x1f73d9) {
|
|
992
|
+
const _0x1b933f = _0x2318ed;
|
|
993
|
+
return _0x1f73d9[_0x1b933f(0x10f)][_0x1b933f(_0x1a89d9._0x228312)](_0x4a6bb0 => _0x4a6bb0['id'] === _0x471e32 || _0x4a6bb0[_0x1b933f(0x102)] === _0x471e32) ? _0x1b933f(_0x1a89d9._0x16b6ba) : _0x1b933f(0xf2);
|
|
989
994
|
}
|
|
990
|
-
function
|
|
991
|
-
const
|
|
992
|
-
if (
|
|
993
|
-
return
|
|
994
|
-
if (
|
|
995
|
-
return
|
|
996
|
-
if (
|
|
997
|
-
return
|
|
998
|
-
return
|
|
995
|
+
function _0x3c103f(_0x10cf4a) {
|
|
996
|
+
const _0xe190f5 = _0x2318ed;
|
|
997
|
+
if (_0x10cf4a['threadNumber'] != null)
|
|
998
|
+
return _0x10cf4a[_0xe190f5(0x1b2)] + ':t' + _0x10cf4a[_0xe190f5(0x153)];
|
|
999
|
+
if (_0x10cf4a[_0xe190f5(_0x3a95e0._0x2e29a2)])
|
|
1000
|
+
return _0x10cf4a['channelTarget'] + ':' + _0x10cf4a[_0xe190f5(_0x3a95e0._0x39b628)];
|
|
1001
|
+
if (_0x10cf4a[_0xe190f5(0x18d)])
|
|
1002
|
+
return _0x10cf4a[_0xe190f5(0x1b2)] + ':' + _0x10cf4a[_0xe190f5(0x18d)]['slice'](0x0, 0x8);
|
|
1003
|
+
return _0x10cf4a[_0xe190f5(_0x3a95e0._0x47ac9c)];
|
|
999
1004
|
}
|
|
1000
|
-
function
|
|
1001
|
-
const
|
|
1005
|
+
function _0x4dee02(_0x259255, _0x11edcc) {
|
|
1006
|
+
const _0x5397df = _0x2318ed;
|
|
1002
1007
|
try {
|
|
1003
|
-
const
|
|
1004
|
-
if (
|
|
1008
|
+
const _0x230d52 = parseTarget(_0x259255);
|
|
1009
|
+
if (_0x230d52[_0x5397df(0x1da)] !== 'thread' || _0x230d52[_0x5397df(_0x15a6c8._0x30dd6b)] !== _0x11edcc[_0x5397df(_0x15a6c8._0x30dd6b)])
|
|
1005
1010
|
return ![];
|
|
1006
|
-
if (
|
|
1011
|
+
if (_0x11edcc[_0x5397df(0x153)] != null && _0x230d52[_0x5397df(_0x15a6c8._0x3c2fdb)] === 't' + _0x11edcc[_0x5397df(_0x15a6c8._0x5484bf)])
|
|
1007
1012
|
return !![];
|
|
1008
|
-
if (
|
|
1009
|
-
return
|
|
1010
|
-
if (
|
|
1011
|
-
return
|
|
1013
|
+
if (_0x11edcc[_0x5397df(_0x15a6c8._0x2f84ec)])
|
|
1014
|
+
return _0x230d52[_0x5397df(_0x15a6c8._0x3c2fdb)] === _0x11edcc[_0x5397df(_0x15a6c8._0x2c1710)] || _0x11edcc[_0x5397df(0x10b)][_0x5397df(_0x15a6c8._0x7cd518)](_0x230d52[_0x5397df(0x128)]);
|
|
1015
|
+
if (_0x11edcc[_0x5397df(_0x15a6c8._0x5321dd)])
|
|
1016
|
+
return _0x230d52[_0x5397df(_0x15a6c8._0x3c2fdb)] === _0x11edcc[_0x5397df(0x18d)] || _0x11edcc[_0x5397df(0x18d)][_0x5397df(0xbc)](_0x230d52[_0x5397df(0x128)]);
|
|
1012
1017
|
return ![];
|
|
1013
1018
|
} catch {
|
|
1014
1019
|
return ![];
|
|
1015
1020
|
}
|
|
1016
1021
|
}
|
|
1017
|
-
function
|
|
1018
|
-
const
|
|
1019
|
-
return
|
|
1022
|
+
function _0x43e31c(_0x402332) {
|
|
1023
|
+
const _0x133be4 = _0x2318ed;
|
|
1024
|
+
return _0x402332['member']?.['participantId'] ?? _0x402332['participant']?.['id'] ?? _0x402332[_0x133be4(_0x281051._0x69c291)] ?? '';
|
|
1020
1025
|
}
|
|
1021
|
-
function
|
|
1022
|
-
|
|
1023
|
-
return _0x2d3eff[_0x5dd411(_0x42bb19._0x102700)]?.['name'] ?? _0x3e3457(_0x2d3eff);
|
|
1026
|
+
function _0x5f36d6(_0x184841) {
|
|
1027
|
+
return _0x184841['participant']?.['name'] ?? _0x43e31c(_0x184841);
|
|
1024
1028
|
}
|
|
1025
|
-
async function
|
|
1026
|
-
const
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
const
|
|
1032
|
-
'headers':
|
|
1033
|
-
'method':
|
|
1034
|
-
}),
|
|
1035
|
-
'attachments': (
|
|
1036
|
-
'filename':
|
|
1037
|
-
'id':
|
|
1029
|
+
async function _0x51c7c5(_0x2e822e) {
|
|
1030
|
+
const _0x2d604b = _0x2318ed, _0x113b99 = Math[_0x2d604b(0x1e2)](_0x2e822e[_0x2d604b(_0x43e9cb._0x52211a)] ?? 0x32, 0x64), _0x544591 = await _0x16d797(), _0x51d6af = new URLSearchParams();
|
|
1031
|
+
_0x51d6af[_0x2d604b(_0x43e9cb._0x472470)](_0x2d604b(0x17e), String(_0x113b99));
|
|
1032
|
+
_0x2e822e[_0x2d604b(0x18d)] ? (_0x51d6af['set']('threadId', _0x2e822e['threadId']), _0x51d6af['set'](_0x2d604b(0x11b), _0x2e822e[_0x2d604b(0x11b)])) : _0x51d6af['set']('channelId', _0x2e822e[_0x2d604b(0x11b)]);
|
|
1033
|
+
_0x2e822e[_0x2d604b(0x1a2)] && _0x51d6af[_0x2d604b(0x16c)](_0x2d604b(_0x43e9cb._0x3cdb95), String(_0x2e822e[_0x2d604b(_0x43e9cb._0x56bdbc)]));
|
|
1034
|
+
_0x2e822e[_0x2d604b(0x134)] !== void 0x0 && _0x51d6af[_0x2d604b(_0x43e9cb._0x394df2)](_0x2d604b(_0x43e9cb._0x851c64), String(_0x2e822e[_0x2d604b(0x134)]));
|
|
1035
|
+
const _0x3fa43f = await _0x3c1b8a(_0x2d604b(_0x43e9cb._0x15363d) + _0x6e51be[_0x2d604b(0x160)] + _0x2d604b(0x15f) + _0x51d6af['toString'](), {
|
|
1036
|
+
'headers': _0x4b84af,
|
|
1037
|
+
'method': _0x2d604b(0x110)
|
|
1038
|
+
}), _0x3fc329 = (_0x3fa43f[_0x2d604b(_0x43e9cb._0x1ef1c4)] ?? [])[_0x2d604b(_0x43e9cb._0x4d424c)](_0x563c21 => ({
|
|
1039
|
+
'attachments': (_0x563c21[_0x2d604b(0xac)] ?? [])[_0x2d604b(0x19f)](_0x3a9de8 => ({
|
|
1040
|
+
'filename': _0x3a9de8['filename'] ?? _0x3a9de8['id'],
|
|
1041
|
+
'id': _0x3a9de8['id']
|
|
1038
1042
|
})),
|
|
1039
|
-
'content':
|
|
1040
|
-
'createdAt':
|
|
1041
|
-
'messageId':
|
|
1042
|
-
'senderName':
|
|
1043
|
-
'senderType':
|
|
1044
|
-
'seq':
|
|
1043
|
+
'content': _0x563c21['bodyMarkdown'] ?? '',
|
|
1044
|
+
'createdAt': _0x563c21[_0x2d604b(0x11d)],
|
|
1045
|
+
'messageId': _0x563c21['id'],
|
|
1046
|
+
'senderName': _0x563c21['senderParticipantId'],
|
|
1047
|
+
'senderType': _0x989167(_0x563c21[_0x2d604b(0x14b)], _0x544591),
|
|
1048
|
+
'seq': _0x563c21[_0x2d604b(0x17b)] ?? 0x0
|
|
1045
1049
|
}));
|
|
1046
1050
|
return {
|
|
1047
|
-
'channel':
|
|
1048
|
-
'hasMore':
|
|
1049
|
-
'messages':
|
|
1050
|
-
'nextCursor':
|
|
1051
|
+
'channel': _0x2e822e[_0x2d604b(0x1b2)],
|
|
1052
|
+
'hasMore': _0x3fa43f['meta']?.[_0x2d604b(0x15c)] ?? ![],
|
|
1053
|
+
'messages': _0x3fc329,
|
|
1054
|
+
'nextCursor': _0x3fa43f[_0x2d604b(_0x43e9cb._0x1e58e8)]?.[_0x2d604b(_0x43e9cb._0x3cdb95)]
|
|
1051
1055
|
};
|
|
1052
1056
|
}
|
|
1053
1057
|
return {
|
|
1054
|
-
async 'sendMessage'(
|
|
1055
|
-
const
|
|
1058
|
+
async 'sendMessage'(_0x2ea776) {
|
|
1059
|
+
const _0xa4935d = _0x2318ed, _0x1e53a3 = await _0x556cec(_0x2ea776['target']), _0x1a8d95 = _0x2ea776[_0xa4935d(0x84)][_0xa4935d(_0xa2cd1c._0x540721)]('@') ? extractMentionedParticipantIds(_0x2ea776['content'], await _0x16d797()) : [], _0x3b95d1 = await _0x3c1b8a(_0xa4935d(0x192) + _0x6e51be['agentId'] + _0xa4935d(_0xa2cd1c._0x55b007), {
|
|
1056
1060
|
'body': JSON['stringify']({
|
|
1057
|
-
'attachment_ids':
|
|
1058
|
-
'bodyMarkdown':
|
|
1059
|
-
'channelId':
|
|
1060
|
-
...
|
|
1061
|
-
'threadId':
|
|
1062
|
-
...
|
|
1061
|
+
'attachment_ids': _0x2ea776['attachmentIds'],
|
|
1062
|
+
'bodyMarkdown': _0x2ea776[_0xa4935d(0x84)],
|
|
1063
|
+
'channelId': _0x1e53a3[_0xa4935d(0x11b)],
|
|
1064
|
+
..._0x1a8d95[_0xa4935d(0x1a0)] > 0x0 ? { 'mentionedParticipantIds': _0x1a8d95 } : {},
|
|
1065
|
+
'threadId': _0x1e53a3[_0xa4935d(_0xa2cd1c._0x5d23bb)],
|
|
1066
|
+
..._0x2ea776['visibility'] ? { 'visibility': _0x2ea776[_0xa4935d(0x184)] } : {}
|
|
1063
1067
|
}),
|
|
1064
|
-
'headers':
|
|
1065
|
-
'method':
|
|
1068
|
+
'headers': _0x4b84af,
|
|
1069
|
+
'method': 'POST'
|
|
1066
1070
|
});
|
|
1067
|
-
return { 'messageId':
|
|
1071
|
+
return { 'messageId': _0x3b95d1['data']?.['id'] ?? '' };
|
|
1068
1072
|
},
|
|
1069
1073
|
async 'listSchedules'() {
|
|
1070
|
-
const
|
|
1071
|
-
'headers':
|
|
1072
|
-
'method':
|
|
1074
|
+
const _0x4dcaf0 = _0x2318ed, _0x1431fc = await _0x3c1b8a(_0x4dcaf0(0x81), {
|
|
1075
|
+
'headers': _0x4b84af,
|
|
1076
|
+
'method': _0x4dcaf0(_0x158300._0x3cf08d)
|
|
1073
1077
|
});
|
|
1074
|
-
return
|
|
1078
|
+
return _0x1431fc[_0x4dcaf0(0xf1)] ?? [];
|
|
1075
1079
|
},
|
|
1076
|
-
async 'claimScheduleRun'(
|
|
1077
|
-
const
|
|
1078
|
-
'body': JSON[
|
|
1079
|
-
'headers':
|
|
1080
|
-
'method':
|
|
1080
|
+
async 'claimScheduleRun'(_0x136441) {
|
|
1081
|
+
const _0x5c2214 = _0x2318ed, _0x35cbec = await _0x3c1b8a(_0x5c2214(0x1c6), {
|
|
1082
|
+
'body': JSON[_0x5c2214(_0x4915e3._0x1a6058)](_0x136441),
|
|
1083
|
+
'headers': _0x4b84af,
|
|
1084
|
+
'method': 'POST'
|
|
1081
1085
|
});
|
|
1082
|
-
return
|
|
1086
|
+
return _0x35cbec[_0x5c2214(0xf1)] ?? {
|
|
1083
1087
|
'granted': ![],
|
|
1084
1088
|
'runId': null,
|
|
1085
1089
|
'schedule': null,
|
|
1086
|
-
'scheduledFor':
|
|
1090
|
+
'scheduledFor': _0x136441[_0x5c2214(0xaf)]
|
|
1087
1091
|
};
|
|
1088
1092
|
},
|
|
1089
|
-
async 'startScheduleRun'(
|
|
1090
|
-
const
|
|
1091
|
-
'body': JSON[
|
|
1092
|
-
'headers':
|
|
1093
|
-
'method':
|
|
1093
|
+
async 'startScheduleRun'(_0x4c2ee4) {
|
|
1094
|
+
const _0x46f71c = _0x2318ed, _0x28cda5 = await _0x3c1b8a(_0x46f71c(0x173) + encodeURIComponent(_0x4c2ee4['runId']) + '/start', {
|
|
1095
|
+
'body': JSON[_0x46f71c(0xaa)]({}),
|
|
1096
|
+
'headers': _0x4b84af,
|
|
1097
|
+
'method': _0x46f71c(_0x5949c8._0x345136)
|
|
1094
1098
|
});
|
|
1095
|
-
return
|
|
1099
|
+
return _0x28cda5[_0x46f71c(0xf1)] ?? {
|
|
1096
1100
|
'claimedByDaemonId': '',
|
|
1097
|
-
'id':
|
|
1101
|
+
'id': _0x4c2ee4[_0x46f71c(0x1d8)],
|
|
1098
1102
|
'scheduleId': '',
|
|
1099
1103
|
'status': 'running'
|
|
1100
1104
|
};
|
|
1101
1105
|
},
|
|
1102
|
-
async 'finishScheduleRun'(
|
|
1103
|
-
const
|
|
1104
|
-
'body': JSON[
|
|
1105
|
-
'error':
|
|
1106
|
-
'resultJson':
|
|
1107
|
-
'status':
|
|
1106
|
+
async 'finishScheduleRun'(_0x382c81) {
|
|
1107
|
+
const _0x133d84 = _0x2318ed, _0x2bddc7 = await _0x3c1b8a(_0x133d84(0x173) + encodeURIComponent(_0x382c81[_0x133d84(0x1d8)]) + '/finish', {
|
|
1108
|
+
'body': JSON[_0x133d84(_0xd7581c._0x16c021)]({
|
|
1109
|
+
'error': _0x382c81[_0x133d84(0x93)],
|
|
1110
|
+
'resultJson': _0x382c81[_0x133d84(0x104)],
|
|
1111
|
+
'status': _0x382c81[_0x133d84(0x1e6)]
|
|
1108
1112
|
}),
|
|
1109
|
-
'headers':
|
|
1110
|
-
'method':
|
|
1113
|
+
'headers': _0x4b84af,
|
|
1114
|
+
'method': _0x133d84(0xef)
|
|
1111
1115
|
});
|
|
1112
|
-
return
|
|
1116
|
+
return _0x2bddc7['data'] ?? {
|
|
1113
1117
|
'nextRunAt': null,
|
|
1114
1118
|
'run': {
|
|
1115
1119
|
'claimedByDaemonId': '',
|
|
1116
|
-
'id':
|
|
1120
|
+
'id': _0x382c81[_0x133d84(_0xd7581c._0x36793c)],
|
|
1117
1121
|
'scheduleId': '',
|
|
1118
|
-
'status':
|
|
1122
|
+
'status': _0x382c81[_0x133d84(0x1e6)]
|
|
1119
1123
|
}
|
|
1120
1124
|
};
|
|
1121
1125
|
},
|
|
1122
|
-
async 'listTasks'(
|
|
1123
|
-
const
|
|
1124
|
-
return
|
|
1125
|
-
'headers':
|
|
1126
|
-
'method':
|
|
1126
|
+
async 'listTasks'(_0x225dc8) {
|
|
1127
|
+
const _0x5abbd5 = _0x2318ed, _0x1e93a6 = new URLSearchParams();
|
|
1128
|
+
return _0x1e93a6['set'](_0x5abbd5(_0xf67abb._0x46ec30), _0x225dc8[_0x5abbd5(_0xf67abb._0xa1a59c)]), _0x225dc8[_0x5abbd5(_0xf67abb._0x1034af)] && _0x1e93a6['set'](_0x5abbd5(0x1e6), _0x225dc8[_0x5abbd5(0x1e6)]), _0x34bb26('/internal/agent/' + _0x6e51be['agentId'] + _0x5abbd5(0x103) + _0x1e93a6['toString'](), {
|
|
1129
|
+
'headers': _0x4b84af,
|
|
1130
|
+
'method': _0x5abbd5(0x110)
|
|
1127
1131
|
});
|
|
1128
1132
|
},
|
|
1129
|
-
async 'createTasks'(
|
|
1130
|
-
const
|
|
1131
|
-
return
|
|
1132
|
-
'body': JSON[
|
|
1133
|
-
...
|
|
1134
|
-
'idempotency_key':
|
|
1133
|
+
async 'createTasks'(_0x2e75aa) {
|
|
1134
|
+
const _0x2009fe = _0x2318ed;
|
|
1135
|
+
return _0x34bb26(_0x2009fe(0x192) + _0x6e51be[_0x2009fe(_0x1f04b2._0x170a74)] + _0x2009fe(0x1b4), {
|
|
1136
|
+
'body': JSON['stringify']({
|
|
1137
|
+
..._0x2e75aa,
|
|
1138
|
+
'idempotency_key': _0x305615(_0x2009fe(_0x1f04b2._0xb2789e), _0x2e75aa)
|
|
1135
1139
|
}),
|
|
1136
|
-
'headers':
|
|
1137
|
-
'method':
|
|
1140
|
+
'headers': _0x4b84af,
|
|
1141
|
+
'method': 'POST'
|
|
1138
1142
|
});
|
|
1139
1143
|
},
|
|
1140
|
-
async 'claimTasks'(
|
|
1141
|
-
const
|
|
1142
|
-
return
|
|
1143
|
-
'body': JSON[
|
|
1144
|
-
...
|
|
1145
|
-
'idempotency_key':
|
|
1144
|
+
async 'claimTasks'(_0x161f1a) {
|
|
1145
|
+
const _0x5e4bfe = _0x2318ed;
|
|
1146
|
+
return _0x34bb26(_0x5e4bfe(0x192) + _0x6e51be[_0x5e4bfe(_0xa74a9d._0x2eff45)] + _0x5e4bfe(0x78), {
|
|
1147
|
+
'body': JSON[_0x5e4bfe(_0xa74a9d._0x415893)]({
|
|
1148
|
+
..._0x161f1a,
|
|
1149
|
+
'idempotency_key': _0x305615(_0x5e4bfe(_0xa74a9d._0x253d5b), _0x161f1a)
|
|
1146
1150
|
}),
|
|
1147
|
-
'headers':
|
|
1148
|
-
'method':
|
|
1151
|
+
'headers': _0x4b84af,
|
|
1152
|
+
'method': _0x5e4bfe(0xef)
|
|
1149
1153
|
});
|
|
1150
1154
|
},
|
|
1151
|
-
async 'unclaimTask'(
|
|
1152
|
-
const
|
|
1153
|
-
return
|
|
1154
|
-
'body': JSON[
|
|
1155
|
-
...
|
|
1156
|
-
'idempotency_key':
|
|
1155
|
+
async 'unclaimTask'(_0x274919) {
|
|
1156
|
+
const _0x192f5e = _0x2318ed;
|
|
1157
|
+
return _0x34bb26('/internal/agent/' + _0x6e51be[_0x192f5e(0x160)] + _0x192f5e(0x140), {
|
|
1158
|
+
'body': JSON[_0x192f5e(0xaa)]({
|
|
1159
|
+
..._0x274919,
|
|
1160
|
+
'idempotency_key': _0x305615('unclaim_task', _0x274919)
|
|
1157
1161
|
}),
|
|
1158
|
-
'headers':
|
|
1159
|
-
'method':
|
|
1162
|
+
'headers': _0x4b84af,
|
|
1163
|
+
'method': 'POST'
|
|
1160
1164
|
});
|
|
1161
1165
|
},
|
|
1162
|
-
async 'updateTaskStatus'(
|
|
1163
|
-
const
|
|
1164
|
-
return
|
|
1165
|
-
'body': JSON[
|
|
1166
|
-
...
|
|
1167
|
-
'idempotency_key':
|
|
1166
|
+
async 'updateTaskStatus'(_0x102b04) {
|
|
1167
|
+
const _0x3633fc = _0x2318ed;
|
|
1168
|
+
return _0x34bb26('/internal/agent/' + _0x6e51be[_0x3633fc(_0x4eebc0._0x11c861)] + _0x3633fc(0x1f7), {
|
|
1169
|
+
'body': JSON['stringify']({
|
|
1170
|
+
..._0x102b04,
|
|
1171
|
+
'idempotency_key': _0x305615(_0x3633fc(0x1d5), _0x102b04)
|
|
1168
1172
|
}),
|
|
1169
|
-
'headers':
|
|
1170
|
-
'method':
|
|
1173
|
+
'headers': _0x4b84af,
|
|
1174
|
+
'method': _0x3633fc(_0x4eebc0._0x325da7)
|
|
1171
1175
|
});
|
|
1172
1176
|
},
|
|
1173
|
-
async 'uploadFile'(
|
|
1174
|
-
const
|
|
1175
|
-
if (
|
|
1176
|
-
throw new Error(
|
|
1177
|
-
const
|
|
1178
|
-
'body': JSON[
|
|
1179
|
-
'channel':
|
|
1180
|
-
'contentBase64':
|
|
1181
|
-
'contentType':
|
|
1182
|
-
'originalFilename':
|
|
1177
|
+
async 'uploadFile'(_0x457dd6) {
|
|
1178
|
+
const _0x134489 = _0x2318ed, _0x7a367d = await _0x556cec(_0x457dd6[_0x134489(0x137)]);
|
|
1179
|
+
if (_0x7a367d[_0x134489(_0x155533._0x174969)])
|
|
1180
|
+
throw new Error(_0x134489(0x99));
|
|
1181
|
+
const _0x3323ff = await _0x3c1b8a('/internal/agent/' + _0x6e51be[_0x134489(_0x155533._0x79e16d)] + _0x134489(0xfa), {
|
|
1182
|
+
'body': JSON[_0x134489(_0x155533._0x1c2160)]({
|
|
1183
|
+
'channel': _0x7a367d[_0x134489(_0x155533._0x38f38b)],
|
|
1184
|
+
'contentBase64': _0x457dd6[_0x134489(_0x155533._0x337b88)],
|
|
1185
|
+
'contentType': _0x457dd6[_0x134489(0x1bb)],
|
|
1186
|
+
'originalFilename': _0x457dd6['filename']
|
|
1183
1187
|
}),
|
|
1184
|
-
'headers':
|
|
1185
|
-
'method':
|
|
1188
|
+
'headers': _0x4b84af,
|
|
1189
|
+
'method': _0x134489(_0x155533._0x1d1858)
|
|
1186
1190
|
});
|
|
1187
1191
|
return {
|
|
1188
|
-
'attachmentId':
|
|
1189
|
-
'filename':
|
|
1190
|
-
'sizeBytes':
|
|
1192
|
+
'attachmentId': _0x3323ff[_0x134489(0xf1)]?.['id'] ?? '',
|
|
1193
|
+
'filename': _0x3323ff[_0x134489(_0x155533._0x3363a0)]?.[_0x134489(0x182)] ?? _0x457dd6['filename'],
|
|
1194
|
+
'sizeBytes': _0x3323ff[_0x134489(_0x155533._0xfa169d)]?.['sizeBytes'] ?? 0x0
|
|
1191
1195
|
};
|
|
1192
1196
|
},
|
|
1193
|
-
async 'downloadAttachment'(
|
|
1194
|
-
const
|
|
1195
|
-
'headers':
|
|
1196
|
-
'method':
|
|
1197
|
-
}),
|
|
1197
|
+
async 'downloadAttachment'(_0x22aba2) {
|
|
1198
|
+
const _0x5da878 = _0x2318ed, _0x427b43 = await _0x3c1b8a(_0x5da878(_0x5554f1._0x520381) + _0x22aba2, {
|
|
1199
|
+
'headers': _0x4b84af,
|
|
1200
|
+
'method': _0x5da878(0x110)
|
|
1201
|
+
}), _0x2b369e = new AbortController(), _0x32e40c = setTimeout(() => _0x2b369e[_0x5da878(0x117)](), _0x236405);
|
|
1198
1202
|
try {
|
|
1199
|
-
const
|
|
1200
|
-
'headers':
|
|
1201
|
-
'method':
|
|
1202
|
-
'signal':
|
|
1203
|
+
const _0x38f003 = await _0x2fbaee(_0x184935 + '/api/attachments/' + _0x22aba2 + _0x5da878(_0x5554f1._0x5a047f), {
|
|
1204
|
+
'headers': _0x4b84af,
|
|
1205
|
+
'method': _0x5da878(0x110),
|
|
1206
|
+
'signal': _0x2b369e['signal']
|
|
1203
1207
|
});
|
|
1204
|
-
if (!
|
|
1205
|
-
throw new Error(
|
|
1208
|
+
if (!_0x38f003['ok'])
|
|
1209
|
+
throw new Error(_0x5da878(_0x5554f1._0x275bf0) + _0x38f003[_0x5da878(0x1e6)]);
|
|
1206
1210
|
return {
|
|
1207
|
-
'contentType':
|
|
1208
|
-
'data': Buffer[
|
|
1209
|
-
'originalFilename':
|
|
1211
|
+
'contentType': _0x427b43[_0x5da878(_0x5554f1._0x3caa2d)]?.['contentType'] ?? _0x38f003['headers'][_0x5da878(0x127)](_0x5da878(_0x5554f1._0x35a153)) ?? _0x5da878(_0x5554f1._0x2e06a9),
|
|
1212
|
+
'data': Buffer[_0x5da878(_0x5554f1._0x1b841b)](await _0x38f003[_0x5da878(_0x5554f1._0x29fa6f)]()),
|
|
1213
|
+
'originalFilename': _0x427b43[_0x5da878(0xf1)]?.[_0x5da878(_0x5554f1._0xc5f4d7)]
|
|
1210
1214
|
};
|
|
1211
1215
|
} finally {
|
|
1212
|
-
clearTimeout(
|
|
1216
|
+
clearTimeout(_0x32e40c);
|
|
1213
1217
|
}
|
|
1214
1218
|
},
|
|
1215
1219
|
async 'listServer'() {
|
|
1216
|
-
return
|
|
1220
|
+
return _0x16d797();
|
|
1217
1221
|
},
|
|
1218
|
-
async 'readHistory'(
|
|
1219
|
-
const
|
|
1220
|
-
return
|
|
1221
|
-
'after':
|
|
1222
|
-
'before':
|
|
1223
|
-
'channelId':
|
|
1224
|
-
'channelTarget':
|
|
1225
|
-
'limit':
|
|
1226
|
-
'threadId':
|
|
1222
|
+
async 'readHistory'(_0x804be5) {
|
|
1223
|
+
const _0x538770 = _0x2318ed, _0x2beb0c = await _0x556cec(_0x804be5['channel']);
|
|
1224
|
+
return _0x51c7c5({
|
|
1225
|
+
'after': _0x804be5['after'],
|
|
1226
|
+
'before': _0x804be5[_0x538770(_0xba0c21._0x2946e4)],
|
|
1227
|
+
'channelId': _0x2beb0c['channelId'],
|
|
1228
|
+
'channelTarget': _0x2beb0c[_0x538770(0x82)],
|
|
1229
|
+
'limit': _0x804be5['limit'],
|
|
1230
|
+
'threadId': _0x2beb0c[_0x538770(_0xba0c21._0x26abb8)]
|
|
1227
1231
|
});
|
|
1228
1232
|
},
|
|
1229
|
-
'resolveTarget':
|
|
1233
|
+
'resolveTarget': _0x556cec,
|
|
1230
1234
|
async 'checkMessages'() {
|
|
1231
|
-
const
|
|
1232
|
-
|
|
1233
|
-
const
|
|
1234
|
-
'headers':
|
|
1235
|
-
'method':
|
|
1236
|
-
}),
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
])),
|
|
1240
|
-
for (const
|
|
1241
|
-
const
|
|
1242
|
-
if (!
|
|
1235
|
+
const _0xc1c150 = _0x2318ed, _0x263a98 = new URLSearchParams();
|
|
1236
|
+
_0x263a98[_0xc1c150(_0x398231._0x2f1fb6)](_0xc1c150(_0x398231._0x1402eb), String(_0x23e3ee));
|
|
1237
|
+
const _0x32f587 = _0x263a98['toString'](), _0x41750e = await _0x3c1b8a(_0xc1c150(0x192) + _0x6e51be[_0xc1c150(0x160)] + _0xc1c150(0x180) + (_0x32f587 ? '?' + _0x32f587 : ''), {
|
|
1238
|
+
'headers': _0x4b84af,
|
|
1239
|
+
'method': _0xc1c150(0x110)
|
|
1240
|
+
}), _0x1eaf41 = _0x41750e['data'] ?? [], _0x36f921 = _0x41750e[_0xc1c150(_0x398231._0x135f99)]?.['cursor'], _0x4c4806 = _0x36f921 !== void 0x0 ? Math[_0xc1c150(0x96)](_0x23e3ee, _0x36f921) : _0x1eaf41[_0xc1c150(0x1a0)] > 0x0 ? Math[_0xc1c150(0x96)](_0x23e3ee, _0x1eaf41[_0x1eaf41[_0xc1c150(_0x398231._0x48f6e1)] - 0x1]['seq']) : _0x23e3ee, _0xb9fa98 = _0x3f46f0 === void 0x0 && _0x4cddff, _0x1f70bd = await _0x16d797(), _0xdb756 = new Map(_0x1f70bd[_0xc1c150(0x13e)][_0xc1c150(0x19f)](_0x36193f => [
|
|
1241
|
+
_0x36193f['id'],
|
|
1242
|
+
_0x36193f
|
|
1243
|
+
])), _0x26c7c5 = _0x1eaf41[_0xc1c150(0x1f1)](_0x3ad2c5 => _0x3ad2c5[_0xc1c150(0x155)] === _0xc1c150(0x8d)), _0x238f3b = new Map();
|
|
1244
|
+
for (const _0x47ccca of _0x26c7c5) {
|
|
1245
|
+
const _0x2c5e01 = asRecord(_0x47ccca[_0xc1c150(0x76)]), _0x58abe5 = typeof _0x2c5e01[_0xc1c150(_0x398231._0xd831a7)] === _0xc1c150(_0x398231._0x3ad10e) ? _0x2c5e01[_0xc1c150(0x11b)] : '';
|
|
1246
|
+
if (!_0x58abe5)
|
|
1243
1247
|
continue;
|
|
1244
|
-
const
|
|
1248
|
+
const _0x36210c = typeof _0x2c5e01[_0xc1c150(_0x398231._0x36627e)] === _0xc1c150(0xbb) ? _0x2c5e01['threadId'] : void 0x0, _0x195100 = typeof _0x2c5e01[_0xc1c150(0x10b)] === _0xc1c150(_0x398231._0x3ad10e) ? _0x2c5e01[_0xc1c150(_0x398231._0x210bbc)] : void 0x0, _0x5d5afc = typeof _0x2c5e01[_0xc1c150(_0x398231._0x21ce0e)] === _0xc1c150(0x141) && Number[_0xc1c150(_0x398231._0x455ca8)](_0x2c5e01[_0xc1c150(_0x398231._0x2a05c6)]) ? _0x2c5e01[_0xc1c150(0x153)] : void 0x0, _0x5d6760 = Boolean(_0x36210c && (!_0x195100 || _0x47ccca[_0xc1c150(0xa1)] !== _0x195100)), _0x55e991 = _0x5d6760 ? _0x58abe5 + ':' + _0x36210c : _0x58abe5, _0x2e9683 = _0x238f3b['get'](_0x55e991) ?? {
|
|
1245
1249
|
'aggregateIds': [],
|
|
1246
|
-
'channelId':
|
|
1250
|
+
'channelId': _0x58abe5,
|
|
1247
1251
|
'entries': new Map(),
|
|
1248
|
-
'isThreadReply':
|
|
1249
|
-
'rootMessageId':
|
|
1250
|
-
'threadNumber':
|
|
1251
|
-
'threadId':
|
|
1252
|
+
'isThreadReply': _0x5d6760,
|
|
1253
|
+
'rootMessageId': _0x195100,
|
|
1254
|
+
'threadNumber': _0x5d5afc,
|
|
1255
|
+
'threadId': _0x5d6760 ? _0x36210c : void 0x0
|
|
1252
1256
|
};
|
|
1253
|
-
|
|
1254
|
-
'payloadJson':
|
|
1255
|
-
'seq':
|
|
1256
|
-
}),
|
|
1257
|
+
_0x2e9683['threadNumber'] == null && _0x5d5afc != null && (_0x2e9683['threadNumber'] = _0x5d5afc), !_0x2e9683[_0xc1c150(_0x398231._0x322a7b)] && _0x195100 && (_0x2e9683['rootMessageId'] = _0x195100), _0x2e9683['aggregateIds']['push'](_0x47ccca[_0xc1c150(_0x398231._0x2185b8)]), _0x2e9683[_0xc1c150(0xc3)][_0xc1c150(_0x398231._0x2f1fb6)](_0x47ccca[_0xc1c150(0xa1)], {
|
|
1258
|
+
'payloadJson': _0x47ccca['payloadJson'],
|
|
1259
|
+
'seq': _0x47ccca[_0xc1c150(0xa4)]
|
|
1260
|
+
}), _0x238f3b['set'](_0x55e991, _0x2e9683);
|
|
1257
1261
|
}
|
|
1258
|
-
const
|
|
1259
|
-
for (const
|
|
1262
|
+
const _0xd5bb22 = [];
|
|
1263
|
+
for (const _0x372669 of _0x238f3b['values']()) {
|
|
1260
1264
|
const {
|
|
1261
|
-
channelId:
|
|
1262
|
-
threadId:
|
|
1263
|
-
rootMessageId:
|
|
1264
|
-
threadNumber:
|
|
1265
|
-
aggregateIds:
|
|
1266
|
-
isThreadReply:
|
|
1267
|
-
entries:
|
|
1268
|
-
} =
|
|
1269
|
-
'channelTarget':
|
|
1270
|
-
'rootMessageId':
|
|
1271
|
-
'threadId':
|
|
1272
|
-
'threadNumber':
|
|
1273
|
-
},
|
|
1274
|
-
'channelId':
|
|
1275
|
-
'channelTarget':
|
|
1276
|
-
'limit': Math[
|
|
1277
|
-
'threadId':
|
|
1278
|
-
}),
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
])),
|
|
1282
|
-
for (const
|
|
1283
|
-
if (!
|
|
1265
|
+
channelId: _0xaad68c,
|
|
1266
|
+
threadId: _0x3c8def,
|
|
1267
|
+
rootMessageId: _0x25c8f0,
|
|
1268
|
+
threadNumber: _0x21c1f3,
|
|
1269
|
+
aggregateIds: _0x1c8e4b,
|
|
1270
|
+
isThreadReply: _0x56999f,
|
|
1271
|
+
entries: _0x4b5fc8
|
|
1272
|
+
} = _0x372669, _0x5a6d4f = _0xdb756['get'](_0xaad68c), _0x4a033f = _0x5a6d4f?.['name'] ?? _0xaad68c, _0x405eb2 = _0x5a6d4f?.[_0xc1c150(0x1da)] === 'dm' ? 'dm:' + _0x4a033f : '#' + _0x4a033f, _0x154cab = {
|
|
1273
|
+
'channelTarget': _0x405eb2,
|
|
1274
|
+
'rootMessageId': _0x25c8f0,
|
|
1275
|
+
'threadId': _0x3c8def,
|
|
1276
|
+
'threadNumber': _0x21c1f3
|
|
1277
|
+
}, _0x4ac081 = await _0x51c7c5({
|
|
1278
|
+
'channelId': _0xaad68c,
|
|
1279
|
+
'channelTarget': _0x405eb2,
|
|
1280
|
+
'limit': Math[_0xc1c150(_0x398231._0x2c3265)](_0x1c8e4b['length'], 0x32),
|
|
1281
|
+
'threadId': _0x3c8def
|
|
1282
|
+
}), _0x1d8bb9 = new Map(_0x4ac081[_0xc1c150(_0x398231._0x2eaeaf)][_0xc1c150(_0x398231._0x5bd31a)](_0x17cca1 => [
|
|
1283
|
+
_0x17cca1[_0xc1c150(0xf7)],
|
|
1284
|
+
_0x17cca1
|
|
1285
|
+
])), _0x397bc6 = _0x3c8def ? _0x3c103f(_0x154cab) : _0x405eb2, _0x4964d5 = _0x3f46f0 ? _0x56999f && _0x4dee02(_0x3f46f0, _0x154cab) : !![], _0x2b8d4c = _0x56999f ? _0x4964d5 && _0x3f46f0 ? _0x3f46f0 : _0x397bc6 : _0x405eb2;
|
|
1286
|
+
for (const _0x30c1a7 of _0x1c8e4b) {
|
|
1287
|
+
if (!_0x4964d5)
|
|
1284
1288
|
continue;
|
|
1285
|
-
const
|
|
1286
|
-
if (
|
|
1289
|
+
const _0x531057 = _0x4b5fc8['get'](_0x30c1a7), _0x2ebe1b = _0x531057 ? asRecord(_0x531057[_0xc1c150(0x76)]) : void 0x0, _0x567f21 = _0x2ebe1b?.['taskDeliveryMode'] === _0xc1c150(0x149);
|
|
1290
|
+
if (_0xb9fa98 && _0x567f21)
|
|
1287
1291
|
continue;
|
|
1288
|
-
const
|
|
1289
|
-
if (
|
|
1290
|
-
|
|
1291
|
-
'attachments':
|
|
1292
|
-
'content':
|
|
1293
|
-
'createdAt':
|
|
1294
|
-
'messageId':
|
|
1295
|
-
'senderName':
|
|
1296
|
-
'senderType':
|
|
1297
|
-
'target':
|
|
1298
|
-
...
|
|
1292
|
+
const _0x557be8 = _0x1d8bb9['get'](_0x30c1a7);
|
|
1293
|
+
if (_0x557be8) {
|
|
1294
|
+
_0xd5bb22['push']({
|
|
1295
|
+
'attachments': _0x557be8['attachments'],
|
|
1296
|
+
'content': _0x557be8[_0xc1c150(_0x398231._0x42a86e)],
|
|
1297
|
+
'createdAt': _0x557be8['createdAt'],
|
|
1298
|
+
'messageId': _0x557be8[_0xc1c150(0xf7)],
|
|
1299
|
+
'senderName': _0x557be8[_0xc1c150(0x1ad)],
|
|
1300
|
+
'senderType': _0x557be8[_0xc1c150(0x1cb)],
|
|
1301
|
+
'target': _0x2b8d4c,
|
|
1302
|
+
..._0x567f21 ? { 'targetedTask': !![] } : {}
|
|
1299
1303
|
});
|
|
1300
1304
|
continue;
|
|
1301
1305
|
}
|
|
1302
|
-
if (
|
|
1303
|
-
const
|
|
1304
|
-
|
|
1306
|
+
if (_0x531057) {
|
|
1307
|
+
const _0x1a9308 = typeof _0x2ebe1b?.[_0xc1c150(0x14b)] === 'string' ? _0x2ebe1b[_0xc1c150(0x14b)] : '', _0xaedec3 = typeof _0x2ebe1b?.[_0xc1c150(_0x398231._0x2f744a)] === 'string' ? _0x2ebe1b[_0xc1c150(0x1c3)] : '';
|
|
1308
|
+
_0x1a9308 && _0xaedec3 && _0xd5bb22['push']({
|
|
1305
1309
|
'attachments': [],
|
|
1306
|
-
'content':
|
|
1307
|
-
'createdAt': new Date()[
|
|
1308
|
-
'messageId':
|
|
1309
|
-
'senderName':
|
|
1310
|
-
'senderType':
|
|
1311
|
-
'target':
|
|
1312
|
-
...
|
|
1310
|
+
'content': _0xaedec3,
|
|
1311
|
+
'createdAt': new Date()[_0xc1c150(0x10c)](),
|
|
1312
|
+
'messageId': _0x30c1a7,
|
|
1313
|
+
'senderName': _0x1a9308,
|
|
1314
|
+
'senderType': _0x989167(_0x1a9308, _0x1f70bd),
|
|
1315
|
+
'target': _0x2b8d4c,
|
|
1316
|
+
..._0x567f21 ? { 'targetedTask': !![] } : {}
|
|
1313
1317
|
});
|
|
1314
1318
|
}
|
|
1315
1319
|
}
|
|
1316
1320
|
}
|
|
1317
|
-
if (
|
|
1318
|
-
if (
|
|
1319
|
-
await
|
|
1321
|
+
if (_0x4c4806 > 0x0) {
|
|
1322
|
+
if (_0x316263)
|
|
1323
|
+
await _0x12381c(_0x4c4806);
|
|
1320
1324
|
else
|
|
1321
|
-
|
|
1325
|
+
_0x2f6e7b && await _0x15a87b(_0x4c4806);
|
|
1322
1326
|
}
|
|
1323
|
-
return
|
|
1327
|
+
return _0x4c4806 > _0x23e3ee && (_0x23e3ee = _0x4c4806), { 'messages': _0x3f46f0 ? _0xd5bb22 : _0xb9fa98 ? _0xd5bb22['filter'](_0x22a105 => _0x22a105[_0xc1c150(0x1ea)] !== !![]) : _0xd5bb22 };
|
|
1324
1328
|
}
|
|
1325
1329
|
};
|
|
1326
1330
|
}
|
|
1327
|
-
function toLocalTime(
|
|
1328
|
-
const
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
return _0xc39391;
|
|
1337
|
-
const _0x4ddda1 = _0x322576 => String(_0x322576)[_0x271e93(0x22b)](0x2, '0');
|
|
1338
|
-
return _0x1dd66f[_0x271e93(0x2c1)]() + '-' + _0x4ddda1(_0x1dd66f[_0x271e93(_0x4c19d0._0x1004c0)]() + 0x1) + '-' + _0x4ddda1(_0x1dd66f[_0x271e93(_0x4c19d0._0x3b80b8)]()) + '\x20' + _0x4ddda1(_0x1dd66f[_0x271e93(_0x4c19d0._0x4d5d7f)]()) + ':' + _0x4ddda1(_0x1dd66f['getMinutes']()) + ':' + _0x4ddda1(_0x1dd66f[_0x271e93(_0x4c19d0._0x3d314f)]());
|
|
1331
|
+
function toLocalTime(_0x54e6f9) {
|
|
1332
|
+
const _0x3e05a5 = {
|
|
1333
|
+
_0x14093c: 0x1e3,
|
|
1334
|
+
_0x49c6ec: 0x14e
|
|
1335
|
+
}, _0x233941 = _0x174aa9, _0x2a6af2 = new Date(_0x54e6f9);
|
|
1336
|
+
if (Number[_0x233941(_0x3e05a5._0x14093c)](_0x2a6af2[_0x233941(_0x3e05a5._0x49c6ec)]()))
|
|
1337
|
+
return _0x54e6f9;
|
|
1338
|
+
const _0x32b560 = _0x591826 => String(_0x591826)[_0x233941(0xfe)](0x2, '0');
|
|
1339
|
+
return _0x2a6af2['getFullYear']() + '-' + _0x32b560(_0x2a6af2['getMonth']() + 0x1) + '-' + _0x32b560(_0x2a6af2[_0x233941(0x1e4)]()) + '\x20' + _0x32b560(_0x2a6af2[_0x233941(0xcb)]()) + ':' + _0x32b560(_0x2a6af2['getMinutes']()) + ':' + _0x32b560(_0x2a6af2[_0x233941(0x109)]());
|
|
1339
1340
|
}
|
|
1340
|
-
function formatAttachmentSuffix(
|
|
1341
|
-
const
|
|
1342
|
-
|
|
1341
|
+
function formatAttachmentSuffix(_0x38806d) {
|
|
1342
|
+
const _0x30fb92 = {
|
|
1343
|
+
_0xa2ed99: 0x1a0,
|
|
1344
|
+
_0x2d7d90: 0x19f,
|
|
1345
|
+
_0x1dabf2: 0xdd
|
|
1346
|
+
}, _0x130e48 = _0x174aa9;
|
|
1347
|
+
if (!_0x38806d || _0x38806d[_0x130e48(_0x30fb92._0xa2ed99)] === 0x0)
|
|
1343
1348
|
return '';
|
|
1344
|
-
return '\x20[' +
|
|
1349
|
+
return '\x20[' + _0x38806d['length'] + '\x20attachment' + (_0x38806d[_0x130e48(0x1a0)] > 0x1 ? 's' : '') + ':\x20' + _0x38806d[_0x130e48(_0x30fb92._0x2d7d90)](_0x2cf524 => _0x2cf524[_0x130e48(0x1ce)] + _0x130e48(0x1db) + _0x2cf524['id'] + ')')[_0x130e48(_0x30fb92._0x1dabf2)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1345
1350
|
}
|
|
1346
|
-
function formatCheckMessages(
|
|
1347
|
-
const
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
},
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
return _0x4e9ff0(0x157) + _0x2586b5[_0x4e9ff0(0x15b)] + _0x4e9ff0(0x212) + _0x2586b5[_0x4e9ff0(_0x335e75._0x24ad6a)][_0x4e9ff0(_0x335e75._0x1c7721)](0x0, 0x8) + _0x4e9ff0(0x222) + toLocalTime(_0x2586b5['createdAt']) + _0xb8d04a + ']\x20@' + _0x2586b5[_0x4e9ff0(_0x335e75._0x271263)] + ':\x20' + _0x2586b5[_0x4e9ff0(_0x335e75._0x5d60e7)] + formatAttachmentSuffix(_0x2586b5[_0x4e9ff0(0x163)]);
|
|
1363
|
-
})[_0x3adbf8(_0x855ab7._0x47e8e5)]('\x0a');
|
|
1351
|
+
function formatCheckMessages(_0x3fe1a9) {
|
|
1352
|
+
const _0x31d602 = {
|
|
1353
|
+
_0x26991e: 0x1a0,
|
|
1354
|
+
_0x429e5e: 0xdd
|
|
1355
|
+
}, _0x158c0e = {
|
|
1356
|
+
_0x1ed45c: 0x168,
|
|
1357
|
+
_0x2736a4: 0xf7,
|
|
1358
|
+
_0x120558: 0x77,
|
|
1359
|
+
_0x2f1527: 0xac
|
|
1360
|
+
}, _0x2484a8 = _0x174aa9;
|
|
1361
|
+
if (_0x3fe1a9[_0x2484a8(_0x31d602._0x26991e)] === 0x0)
|
|
1362
|
+
return _0x2484a8(0x11c);
|
|
1363
|
+
return _0x3fe1a9['map'](_0x4a3a7c => {
|
|
1364
|
+
const _0x529c17 = _0x2484a8, _0x36321b = _0x4a3a7c[_0x529c17(0x1cb)] === _0x529c17(_0x158c0e._0x1ed45c) ? '\x20type=agent' : '';
|
|
1365
|
+
return '[target=' + _0x4a3a7c['target'] + '\x20msg=' + _0x4a3a7c[_0x529c17(_0x158c0e._0x2736a4)][_0x529c17(0x1bd)](0x0, 0x8) + _0x529c17(0x177) + toLocalTime(_0x4a3a7c['createdAt']) + _0x36321b + _0x529c17(_0x158c0e._0x120558) + _0x4a3a7c[_0x529c17(0x1ad)] + ':\x20' + _0x4a3a7c[_0x529c17(0x84)] + formatAttachmentSuffix(_0x4a3a7c[_0x529c17(_0x158c0e._0x2f1527)]);
|
|
1366
|
+
})[_0x2484a8(_0x31d602._0x429e5e)]('\x0a');
|
|
1364
1367
|
}
|
|
1365
|
-
function formatHistory(
|
|
1366
|
-
const
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
const _0x1d0601 = _0x2759c9, _0x1b77cd = _0x1e9f8a[_0x1d0601(0x22d)] === _0x1d0601(0x1b0) ? _0x1d0601(_0x3ced6c._0x21a08f) : '';
|
|
1389
|
-
return _0x1d0601(_0x3ced6c._0x142971) + _0x1e9f8a[_0x1d0601(_0x3ced6c._0x56fd52)] + _0x1d0601(0x212) + _0x1e9f8a[_0x1d0601(0x1e9)] + _0x1d0601(_0x3ced6c._0xde11be) + toLocalTime(_0x1e9f8a[_0x1d0601(_0x3ced6c._0x3b1963)]) + _0x1b77cd + _0x1d0601(0x285) + _0x1e9f8a[_0x1d0601(_0x3ced6c._0x1e59c5)] + ':\x20' + _0x1e9f8a[_0x1d0601(_0x3ced6c._0x420508)] + formatAttachmentSuffix(_0x1e9f8a['attachments']);
|
|
1390
|
-
})[_0x2759c9(_0x5414ad._0x5648f2)]('\x0a'), _0x138882 = _0x1ff15f[_0x2759c9(_0x5414ad._0x2aa556)] && _0x1ff15f[_0x2759c9(0x15f)] ? _0x2759c9(_0x5414ad._0x49816a) + _0x1ff15f[_0x2759c9(_0x5414ad._0x3436b2)][_0x2759c9(_0x5414ad._0x103f15)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x1ff15f[_0x2759c9(0x15f)] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1391
|
-
return _0x2759c9(_0x5414ad._0x2061fd) + _0x1ff15f[_0x2759c9(_0x5414ad._0x4b08f9)] + '\x20(' + _0x1ff15f[_0x2759c9(_0x5414ad._0x2f8c13)][_0x2759c9(_0x5414ad._0x103f15)] + _0x2759c9(_0x5414ad._0x403751) + _0x4e4b6b + _0x138882;
|
|
1368
|
+
function formatHistory(_0x433e1d) {
|
|
1369
|
+
const _0x52db52 = {
|
|
1370
|
+
_0x15a210: 0xc8,
|
|
1371
|
+
_0x2683f8: 0x1a0,
|
|
1372
|
+
_0x967833: 0xe7,
|
|
1373
|
+
_0x327f5f: 0x8e,
|
|
1374
|
+
_0xf6ac30: 0x8c,
|
|
1375
|
+
_0x270f28: 0x9c
|
|
1376
|
+
}, _0x111e12 = {
|
|
1377
|
+
_0x59b059: 0x168,
|
|
1378
|
+
_0x45bbd3: 0x179,
|
|
1379
|
+
_0x3a6191: 0x177,
|
|
1380
|
+
_0x3f4deb: 0x77,
|
|
1381
|
+
_0xbc957a: 0x1ad,
|
|
1382
|
+
_0x11172e: 0xac
|
|
1383
|
+
}, _0x3c656e = _0x174aa9;
|
|
1384
|
+
if (_0x433e1d[_0x3c656e(_0x52db52._0x15a210)][_0x3c656e(_0x52db52._0x2683f8)] === 0x0)
|
|
1385
|
+
return '##\x20Message\x20History\x20for\x20' + _0x433e1d[_0x3c656e(0x137)] + _0x3c656e(_0x52db52._0x967833);
|
|
1386
|
+
const _0xddfa21 = _0x433e1d['messages'][_0x3c656e(0x19f)](_0x56638a => {
|
|
1387
|
+
const _0x2a6130 = _0x3c656e, _0x452028 = _0x56638a['senderType'] === _0x2a6130(_0x111e12._0x59b059) ? _0x2a6130(0x1a1) : '';
|
|
1388
|
+
return _0x2a6130(_0x111e12._0x45bbd3) + _0x56638a[_0x2a6130(0xa4)] + '\x20msg=' + _0x56638a['messageId'] + _0x2a6130(_0x111e12._0x3a6191) + toLocalTime(_0x56638a[_0x2a6130(0x11d)]) + _0x452028 + _0x2a6130(_0x111e12._0x3f4deb) + _0x56638a[_0x2a6130(_0x111e12._0xbc957a)] + ':\x20' + _0x56638a['content'] + formatAttachmentSuffix(_0x56638a[_0x2a6130(_0x111e12._0x11172e)]);
|
|
1389
|
+
})[_0x3c656e(0xdd)]('\x0a'), _0x18b703 = _0x433e1d[_0x3c656e(0x15c)] && _0x433e1d[_0x3c656e(0x8e)] ? '\x0a\x0a---\x20' + _0x433e1d['messages'][_0x3c656e(_0x52db52._0x2683f8)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x433e1d[_0x3c656e(_0x52db52._0x327f5f)] + _0x3c656e(_0x52db52._0xf6ac30) : '';
|
|
1390
|
+
return _0x3c656e(0xfb) + _0x433e1d['channel'] + '\x20(' + _0x433e1d[_0x3c656e(0xc8)][_0x3c656e(0x1a0)] + _0x3c656e(_0x52db52._0x270f28) + _0xddfa21 + _0x18b703;
|
|
1392
1391
|
}
|
|
1393
|
-
function formatServerDirectory(
|
|
1394
|
-
const
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1392
|
+
function formatServerDirectory(_0x325ab1) {
|
|
1393
|
+
const _0x3ea74b = {
|
|
1394
|
+
_0xd83402: 0x13e,
|
|
1395
|
+
_0x3fac24: 0x19f,
|
|
1396
|
+
_0x2ba50b: 0x10f,
|
|
1397
|
+
_0x2d0d30: 0xdd,
|
|
1398
|
+
_0x50200b: 0xf0,
|
|
1399
|
+
_0x5eb6ea: 0x1a0,
|
|
1400
|
+
_0x1ef404: 0x18a,
|
|
1401
|
+
_0x58b277: 0xbf,
|
|
1402
|
+
_0xae6880: 0x1df
|
|
1403
|
+
}, _0x4a8f43 = _0x174aa9, _0x35ca53 = _0x325ab1['channels'][_0x4a8f43(0x1a0)] > 0x0 ? _0x325ab1[_0x4a8f43(_0x3ea74b._0xd83402)][_0x4a8f43(_0x3ea74b._0x3fac24)](_0x4640fd => _0x4640fd['description'] ? _0x4a8f43(0x12f) + _0x4640fd[_0x4a8f43(0x102)] + _0x4a8f43(0xe9) + _0x4640fd[_0x4a8f43(0x1e1)] : _0x4a8f43(0x12f) + _0x4640fd[_0x4a8f43(0x102)])['join']('\x0a') : _0x4a8f43(0xf0), _0x5e7cec = _0x325ab1[_0x4a8f43(_0x3ea74b._0x2ba50b)][_0x4a8f43(0x1a0)] > 0x0 ? _0x325ab1['agents'][_0x4a8f43(0x19f)](_0x46698c => _0x4a8f43(0x1ed) + _0x46698c[_0x4a8f43(0x102)])[_0x4a8f43(_0x3ea74b._0x2d0d30)]('\x0a') : _0x4a8f43(_0x3ea74b._0x50200b), _0x1f663e = _0x325ab1[_0x4a8f43(0x18a)][_0x4a8f43(_0x3ea74b._0x5eb6ea)] > 0x0 ? _0x325ab1[_0x4a8f43(_0x3ea74b._0x1ef404)][_0x4a8f43(_0x3ea74b._0x3fac24)](_0x45ecd4 => _0x4a8f43(0x1ed) + _0x45ecd4[_0x4a8f43(0x102)])[_0x4a8f43(_0x3ea74b._0x2d0d30)]('\x0a') : _0x4a8f43(0xf0);
|
|
1403
1404
|
return [
|
|
1404
|
-
|
|
1405
|
+
_0x4a8f43(0xd0) + _0x325ab1[_0x4a8f43(0x12c)],
|
|
1405
1406
|
'',
|
|
1406
|
-
|
|
1407
|
-
|
|
1407
|
+
'###\x20Channels',
|
|
1408
|
+
_0x35ca53,
|
|
1408
1409
|
'',
|
|
1409
|
-
|
|
1410
|
-
|
|
1410
|
+
_0x4a8f43(_0x3ea74b._0x58b277),
|
|
1411
|
+
_0x5e7cec,
|
|
1411
1412
|
'',
|
|
1412
|
-
|
|
1413
|
-
|
|
1413
|
+
_0x4a8f43(_0x3ea74b._0xae6880),
|
|
1414
|
+
_0x1f663e
|
|
1414
1415
|
]['join']('\x0a');
|
|
1415
1416
|
}
|
|
1416
|
-
function formatUploadResult(
|
|
1417
|
-
const
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1417
|
+
function formatUploadResult(_0x217916) {
|
|
1418
|
+
const _0x2d5dec = {
|
|
1419
|
+
_0x1014f2: 0x71,
|
|
1420
|
+
_0x5c28d7: 0x1ce,
|
|
1421
|
+
_0x1b6246: 0x19c
|
|
1422
|
+
}, _0x2e3ccc = _0x174aa9;
|
|
1423
|
+
return _0x2e3ccc(_0x2d5dec._0x1014f2) + _0x217916[_0x2e3ccc(_0x2d5dec._0x5c28d7)] + '\x20(' + (_0x217916['sizeBytes'] / 0x400)[_0x2e3ccc(0x9a)](0x1) + _0x2e3ccc(_0x2d5dec._0x1b6246) + _0x217916[_0x2e3ccc(0x1c5)] + _0x2e3ccc(0x1f4);
|
|
1422
1424
|
}
|
|
1423
|
-
function formatViewFileResult(
|
|
1424
|
-
const
|
|
1425
|
-
return
|
|
1425
|
+
function formatViewFileResult(_0x1d6f9f, _0x5e9860) {
|
|
1426
|
+
const _0x594c65 = _0x174aa9;
|
|
1427
|
+
return _0x5e9860 ? _0x594c65(0x12a) + _0x1d6f9f : _0x594c65(0x85) + _0x1d6f9f;
|
|
1426
1428
|
}
|
|
1427
|
-
function formatTaskList(
|
|
1428
|
-
const
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
})[_0x4feedf(_0x6dd38c._0x22eb3e)]('\x0a');
|
|
1429
|
+
function formatTaskList(_0x480a2e, _0x2ac6ed) {
|
|
1430
|
+
const _0x4c6852 = {
|
|
1431
|
+
_0x45558c: 0xb0,
|
|
1432
|
+
_0x327b40: 0x19f,
|
|
1433
|
+
_0x4ecbe7: 0xdd
|
|
1434
|
+
}, _0x5d6f1d = {
|
|
1435
|
+
_0xc4ee6b: 0xf7,
|
|
1436
|
+
_0x22bb39: 0x1e6
|
|
1437
|
+
}, _0x44b547 = _0x174aa9;
|
|
1438
|
+
if (_0x480a2e['length'] === 0x0)
|
|
1439
|
+
return _0x44b547(_0x4c6852._0x45558c);
|
|
1440
|
+
return _0x480a2e[_0x44b547(_0x4c6852._0x327b40)](_0xc53fd3 => {
|
|
1441
|
+
const _0x5289fa = _0x44b547, _0x93ae69 = _0xc53fd3[_0x5289fa(0x9d)] == null ? _0x5289fa(0x1de) : '#' + _0xc53fd3['taskNumber'], _0x538296 = _0xc53fd3[_0x5289fa(_0x5d6f1d._0xc4ee6b)] ? '\x20message=' + _0xc53fd3['messageId'] : '', _0x2d5439 = _0x2ac6ed && _0xc53fd3[_0x5289fa(0x9d)] != null && _0x2ac6ed['has'](_0xc53fd3[_0x5289fa(0x9d)]) ? '\x20executionMode=worker' : '';
|
|
1442
|
+
return _0x93ae69 + '\x20[' + _0xc53fd3[_0x5289fa(_0x5d6f1d._0x22bb39)] + ']\x20' + _0xc53fd3['title'] + _0x538296 + _0x2d5439;
|
|
1443
|
+
})[_0x44b547(_0x4c6852._0x4ecbe7)]('\x0a');
|
|
1443
1444
|
}
|
|
1444
|
-
function formatCreatedTasks(
|
|
1445
|
-
const
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
},
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
return _0x1a011c[_0x37479d(_0x418de9._0x339ab6)](_0x5dd876 => {
|
|
1456
|
-
const _0x3ef91c = _0x37479d, _0x4c097b = _0x5dd876[_0x3ef91c(_0x4c4833._0xc2279d)] == null ? _0x3ef91c(_0x4c4833._0xda9b45) : '#' + _0x5dd876[_0x3ef91c(_0x4c4833._0xc2279d)];
|
|
1457
|
-
return _0x4c097b + '\x20' + _0x5dd876['title'] + _0x3ef91c(_0x4c4833._0x41ca11) + _0x5dd876['messageId'];
|
|
1458
|
-
})[_0x37479d(0x159)]('\x0a');
|
|
1445
|
+
function formatCreatedTasks(_0xba7f47) {
|
|
1446
|
+
const _0x5ab0c8 = {
|
|
1447
|
+
_0x81a62c: 0x9d,
|
|
1448
|
+
_0x1e8a02: 0x9d
|
|
1449
|
+
}, _0x5bf8f3 = _0x174aa9;
|
|
1450
|
+
if (_0xba7f47['length'] === 0x0)
|
|
1451
|
+
return _0x5bf8f3(0x1b6);
|
|
1452
|
+
return _0xba7f47['map'](_0x5802dc => {
|
|
1453
|
+
const _0x505976 = _0x5bf8f3, _0x81b4bc = _0x5802dc[_0x505976(_0x5ab0c8._0x81a62c)] == null ? '(legacy)' : '#' + _0x5802dc[_0x505976(_0x5ab0c8._0x1e8a02)];
|
|
1454
|
+
return _0x81b4bc + '\x20' + _0x5802dc['title'] + _0x505976(0x1aa) + _0x5802dc['messageId'];
|
|
1455
|
+
})['join']('\x0a');
|
|
1459
1456
|
}
|
|
1460
|
-
function formatClaimTaskResults(
|
|
1461
|
-
const
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
'
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
][_0x1c3250(0x22f)](Boolean)[_0x1c3250(0x159)]('\x20') : _0x330ebe[_0x1c3250(0x1c3)] ? _0x1c3250(0x25b) + _0x330ebe[_0x1c3250(0x1c3)] : '';
|
|
1457
|
+
function formatClaimTaskResults(_0x545083) {
|
|
1458
|
+
const _0x2c43b3 = {
|
|
1459
|
+
_0x2dc5c2: 0x19f,
|
|
1460
|
+
_0x4f7d29: 0xdd
|
|
1461
|
+
}, _0x26da89 = {
|
|
1462
|
+
_0xee7cc6: 0x9d,
|
|
1463
|
+
_0x171f1b: 0xf7,
|
|
1464
|
+
_0x2f6f01: 0x1ba,
|
|
1465
|
+
_0x445ad5: 0xd1,
|
|
1466
|
+
_0x16be36: 0x167,
|
|
1467
|
+
_0x3199a6: 0xf5,
|
|
1468
|
+
_0x4bd38d: 0x167,
|
|
1469
|
+
_0x460933: 0x1cd,
|
|
1470
|
+
_0x44eef0: 0x89,
|
|
1471
|
+
_0x3f6cb8: 0xdd,
|
|
1472
|
+
_0x401b5e: 0x9d
|
|
1473
|
+
}, _0x50b8d2 = _0x174aa9;
|
|
1474
|
+
if (_0x545083['length'] === 0x0)
|
|
1475
|
+
return _0x50b8d2(0x145);
|
|
1476
|
+
return _0x545083[_0x50b8d2(_0x2c43b3._0x2dc5c2)](_0x1c0db3 => {
|
|
1477
|
+
const _0x2c317a = _0x50b8d2;
|
|
1478
|
+
if (_0x1c0db3[_0x2c317a(0xd6)]) {
|
|
1479
|
+
const _0x122f5b = _0x1c0db3[_0x2c317a(0x9d)] == null ? _0x2c317a(0x1de) : '#' + _0x1c0db3[_0x2c317a(_0x26da89._0xee7cc6)], _0x72352c = _0x1c0db3[_0x2c317a(_0x26da89._0x171f1b)] ? _0x2c317a(0x1aa) + _0x1c0db3['messageId'] : '', _0x2ac9f8 = _0x1c0db3[_0x2c317a(_0x26da89._0x2f6f01)] ? [
|
|
1480
|
+
_0x2c317a(0xb5),
|
|
1481
|
+
_0x1c0db3['stopMain'] ? _0x2c317a(_0x26da89._0x445ad5) : null,
|
|
1482
|
+
_0x1c0db3[_0x2c317a(_0x26da89._0x16be36)] ? _0x2c317a(_0x26da89._0x3199a6) + _0x1c0db3[_0x2c317a(_0x26da89._0x4bd38d)] : null,
|
|
1483
|
+
_0x1c0db3['threadTarget'] ? _0x2c317a(_0x26da89._0x460933) + _0x1c0db3['threadTarget'] : null,
|
|
1484
|
+
_0x1c0db3[_0x2c317a(0xae)] ? 'workerDisposition=' + _0x1c0db3[_0x2c317a(0xae)] : null
|
|
1485
|
+
][_0x2c317a(0x1f1)](Boolean)['join']('\x20') : _0x1c0db3[_0x2c317a(_0x26da89._0x44eef0)] ? _0x2c317a(0x124) + _0x1c0db3['workerHandoffError'] : '';
|
|
1490
1486
|
return [
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
][
|
|
1487
|
+
_0x122f5b + _0x2c317a(0x1c7) + _0x72352c,
|
|
1488
|
+
_0x2ac9f8
|
|
1489
|
+
]['filter'](Boolean)[_0x2c317a(_0x26da89._0x3f6cb8)]('\x20');
|
|
1494
1490
|
}
|
|
1495
|
-
const
|
|
1496
|
-
return
|
|
1497
|
-
})[
|
|
1491
|
+
const _0x3e0f47 = _0x1c0db3[_0x2c317a(0x9d)] == null ? _0x1c0db3['messageId'] ?? _0x2c317a(0x189) : '#' + _0x1c0db3[_0x2c317a(_0x26da89._0x401b5e)];
|
|
1492
|
+
return _0x3e0f47 + _0x2c317a(0x188) + (_0x1c0db3['reason'] ?? _0x2c317a(0x121));
|
|
1493
|
+
})[_0x50b8d2(_0x2c43b3._0x4f7d29)]('\x0a');
|
|
1498
1494
|
}
|
|
1499
|
-
function formatUnclaimTaskResult(
|
|
1500
|
-
const
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
}, _0x4c47d6 = _0x48b8fe, _0x5158bd = _0x187c91[_0x4c47d6(_0x427bc1._0xd5a3d7)] == null ? _0x4c47d6(_0x427bc1._0x411195) : '#' + _0x187c91['taskNumber'];
|
|
1506
|
-
return _0x5158bd + _0x4c47d6(_0x427bc1._0x88ce28) + _0x187c91[_0x4c47d6(_0x427bc1._0x4b56d8)];
|
|
1495
|
+
function formatUnclaimTaskResult(_0x587af0) {
|
|
1496
|
+
const _0x1530b7 = {
|
|
1497
|
+
_0xb5580c: 0x1de,
|
|
1498
|
+
_0x19e4d6: 0x154
|
|
1499
|
+
}, _0x5e135d = _0x174aa9, _0x26fb49 = _0x587af0['taskNumber'] == null ? _0x5e135d(_0x1530b7._0xb5580c) : '#' + _0x587af0[_0x5e135d(0x9d)];
|
|
1500
|
+
return _0x26fb49 + _0x5e135d(_0x1530b7._0x19e4d6) + _0x587af0[_0x5e135d(0x1e6)];
|
|
1507
1501
|
}
|
|
1508
|
-
function formatUpdateTaskStatusResult(
|
|
1509
|
-
const
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
},
|
|
1513
|
-
return
|
|
1502
|
+
function formatUpdateTaskStatusResult(_0x34ccd7) {
|
|
1503
|
+
const _0x3c95cf = {
|
|
1504
|
+
_0x5d9763: 0x9d,
|
|
1505
|
+
_0x56d508: 0x1de
|
|
1506
|
+
}, _0x542f98 = _0x174aa9, _0x1d884e = _0x34ccd7[_0x542f98(_0x3c95cf._0x5d9763)] == null ? _0x542f98(_0x3c95cf._0x56d508) : '#' + _0x34ccd7[_0x542f98(0x9d)];
|
|
1507
|
+
return _0x1d884e + '\x20status=' + _0x34ccd7[_0x542f98(0x1e6)];
|
|
1514
1508
|
}
|
|
1515
1509
|
function getChatBridgeToolDefinitions() {
|
|
1516
|
-
const
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1510
|
+
const _0x266d59 = {
|
|
1511
|
+
_0x424a15: 0xda,
|
|
1512
|
+
_0x5e3fcd: 0x111,
|
|
1513
|
+
_0x53156c: 0x181,
|
|
1514
|
+
_0x269a60: 0x1f9,
|
|
1515
|
+
_0x4c2c1f: 0xce
|
|
1516
|
+
}, _0x38b3a1 = _0x174aa9;
|
|
1520
1517
|
return [
|
|
1521
|
-
{ 'name':
|
|
1518
|
+
{ 'name': _0x38b3a1(_0x266d59._0x424a15) },
|
|
1522
1519
|
{ 'name': 'check_messages' },
|
|
1523
|
-
{ 'name':
|
|
1524
|
-
{ 'name':
|
|
1525
|
-
{ 'name':
|
|
1526
|
-
{ 'name':
|
|
1527
|
-
{ 'name':
|
|
1528
|
-
{ 'name':
|
|
1529
|
-
{ 'name':
|
|
1530
|
-
{ 'name':
|
|
1531
|
-
{ 'name':
|
|
1532
|
-
{ 'name':
|
|
1533
|
-
{ 'name':
|
|
1534
|
-
{ 'name':
|
|
1535
|
-
{ 'name':
|
|
1536
|
-
{ 'name':
|
|
1520
|
+
{ 'name': 'read_history' },
|
|
1521
|
+
{ 'name': _0x38b3a1(0x16e) },
|
|
1522
|
+
{ 'name': _0x38b3a1(0x198) },
|
|
1523
|
+
{ 'name': 'view_file' },
|
|
1524
|
+
{ 'name': _0x38b3a1(0x13d) },
|
|
1525
|
+
{ 'name': _0x38b3a1(_0x266d59._0x5e3fcd) },
|
|
1526
|
+
{ 'name': _0x38b3a1(_0x266d59._0x53156c) },
|
|
1527
|
+
{ 'name': _0x38b3a1(0xe3) },
|
|
1528
|
+
{ 'name': _0x38b3a1(0x1d5) },
|
|
1529
|
+
{ 'name': 'get_worker_status' },
|
|
1530
|
+
{ 'name': _0x38b3a1(_0x266d59._0x269a60) },
|
|
1531
|
+
{ 'name': _0x38b3a1(0xca) },
|
|
1532
|
+
{ 'name': 'escalate_to_main' },
|
|
1533
|
+
{ 'name': _0x38b3a1(_0x266d59._0x4c2c1f) }
|
|
1537
1534
|
];
|
|
1538
1535
|
}
|
|
1539
|
-
function createChatBridgeHandlers(
|
|
1540
|
-
const
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
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
|
-
|
|
1536
|
+
function createChatBridgeHandlers(_0x2ace36) {
|
|
1537
|
+
const _0x1dc112 = {
|
|
1538
|
+
_0x377e04: 0xfc,
|
|
1539
|
+
_0x40efb3: 0xaa,
|
|
1540
|
+
_0x35514a: 0x151,
|
|
1541
|
+
_0x3ed99c: 0x93,
|
|
1542
|
+
_0x26dd6f: 0x1dd,
|
|
1543
|
+
_0x4db8a2: 0x1d1
|
|
1544
|
+
}, _0x19d076 = {
|
|
1545
|
+
_0x415ae4: 0xfc,
|
|
1546
|
+
_0x548a61: 0x160,
|
|
1547
|
+
_0x53d6fb: 0xee,
|
|
1548
|
+
_0x2f1e6a: 0xfc,
|
|
1549
|
+
_0x5d3058: 0xcf,
|
|
1550
|
+
_0x3b7ec0: 0xef,
|
|
1551
|
+
_0x89ed92: 0xaa,
|
|
1552
|
+
_0x389b0c: 0x151,
|
|
1553
|
+
_0x21194a: 0x93,
|
|
1554
|
+
_0x1c9949: 0x1b1,
|
|
1555
|
+
_0xdcd9dd: 0x15a,
|
|
1556
|
+
_0x558f05: 0x1b8
|
|
1557
|
+
}, _0x19d001 = {
|
|
1558
|
+
_0x411c39: 0x100,
|
|
1559
|
+
_0x137164: 0x16a,
|
|
1560
|
+
_0x16ac3d: 0x8b,
|
|
1561
|
+
_0x2727e1: 0x15a
|
|
1562
|
+
}, _0x3948fc = {
|
|
1563
|
+
_0x35cb36: 0x14d,
|
|
1564
|
+
_0x3f69eb: 0x10e,
|
|
1565
|
+
_0x262951: 0x151,
|
|
1566
|
+
_0x16d613: 0x83
|
|
1567
|
+
}, _0x3fe7ea = {
|
|
1568
|
+
_0x52eca5: 0x11f,
|
|
1569
|
+
_0x19ecc1: 0x1e9
|
|
1570
|
+
}, _0x406705 = {
|
|
1571
|
+
_0x4f1329: 0x1c0,
|
|
1572
|
+
_0x366b7f: 0x1f0,
|
|
1573
|
+
_0x49ab00: 0x14a,
|
|
1574
|
+
_0x26594d: 0x1bb
|
|
1575
|
+
}, _0x1898b7 = {
|
|
1576
|
+
_0x50797c: 0x1a7,
|
|
1577
|
+
_0x39feb7: 0xf3
|
|
1578
|
+
}, _0x566cec = { _0x29f5e8: 0x12d }, _0x3597dd = { _0x1f335e: 0xa5 }, _0x9986dc = {
|
|
1579
|
+
_0x499c1c: 0xd9,
|
|
1580
|
+
_0x113c18: 0x19f
|
|
1581
|
+
}, _0x39635c = {
|
|
1582
|
+
_0x2652dd: 0xd6,
|
|
1583
|
+
_0x356f05: 0xf7,
|
|
1584
|
+
_0x203cc5: 0x152,
|
|
1585
|
+
_0x4edaff: 0x8d,
|
|
1586
|
+
_0x3e90fb: 0x170
|
|
1587
|
+
}, _0x53e882 = {
|
|
1588
|
+
_0x4c2b9e: 0x1b3,
|
|
1589
|
+
_0x481fe2: 0xfc,
|
|
1590
|
+
_0x29d0c8: 0x160,
|
|
1591
|
+
_0x3277f1: 0x137,
|
|
1592
|
+
_0x2f001c: 0x146,
|
|
1593
|
+
_0x1fe0c4: 0xbc,
|
|
1594
|
+
_0x3d9e01: 0x1a0,
|
|
1595
|
+
_0x3e3e0c: 0x17a,
|
|
1596
|
+
_0x45a575: 0x72,
|
|
1597
|
+
_0x1abb0: 0x17c
|
|
1598
|
+
}, _0x22eceb = { _0x4a6e88: 0x1a7 }, _0x381b64 = { _0x25a47c: 0x175 }, _0x21bf01 = {
|
|
1599
|
+
_0x1d73e5: 0x1d4,
|
|
1600
|
+
_0x387471: 0xc8
|
|
1601
|
+
}, _0x1f9d9c = {
|
|
1602
|
+
_0x2449be: 0xad,
|
|
1603
|
+
_0x4d41e4: 0x1a7,
|
|
1604
|
+
_0x50970b: 0x82,
|
|
1605
|
+
_0x51b015: 0x18d,
|
|
1606
|
+
_0x324c2d: 0x9d,
|
|
1607
|
+
_0x2c0476: 0x153,
|
|
1608
|
+
_0x24d5fe: 0x153,
|
|
1609
|
+
_0x1ae749: 0x10c,
|
|
1610
|
+
_0x58b0ff: 0x1b9,
|
|
1611
|
+
_0x4b8142: 0x1e7,
|
|
1612
|
+
_0x42a091: 0x10d,
|
|
1613
|
+
_0x2ed7dd: 0x152,
|
|
1614
|
+
_0x295c20: 0xa3,
|
|
1615
|
+
_0x1da327: 0x1a9,
|
|
1616
|
+
_0x66287b: 0xdd,
|
|
1617
|
+
_0x1bc7bf: 0xef,
|
|
1618
|
+
_0x48c001: 0xaa,
|
|
1619
|
+
_0x2e3b7f: 0x152,
|
|
1620
|
+
_0x449846: 0x162,
|
|
1621
|
+
_0x5c4183: 0x8b,
|
|
1622
|
+
_0x40d9b8: 0xba,
|
|
1623
|
+
_0x1c17c1: 0x1a8,
|
|
1624
|
+
_0x2d796f: 0x1cf,
|
|
1625
|
+
_0x567583: 0x1c8,
|
|
1626
|
+
_0x4d2a82: 0x125,
|
|
1627
|
+
_0x268aab: 0x116,
|
|
1628
|
+
_0x537c7c: 0xb4,
|
|
1629
|
+
_0x5239a3: 0x84,
|
|
1630
|
+
_0x37631c: 0x148,
|
|
1631
|
+
_0x856ef9: 0xf7
|
|
1632
|
+
}, _0x5c5f65 = {
|
|
1633
|
+
_0x233f27: 0x160,
|
|
1634
|
+
_0x396af2: 0x1d4,
|
|
1635
|
+
_0x5e8f69: 0xfc,
|
|
1636
|
+
_0x4e2d48: 0x18c,
|
|
1637
|
+
_0x28fd0c: 0x8b,
|
|
1638
|
+
_0x2e8ff3: 0x91
|
|
1639
|
+
}, _0xf15c93 = {
|
|
1640
|
+
_0x400251: 0x160,
|
|
1641
|
+
_0x1d6241: 0x1d4,
|
|
1642
|
+
_0x2b3513: 0xad,
|
|
1643
|
+
_0x36b61f: 0x137,
|
|
1644
|
+
_0x4a50c3: 0x153,
|
|
1645
|
+
_0x54d261: 0x1b2,
|
|
1646
|
+
_0x1d2743: 0xc8,
|
|
1647
|
+
_0x24ecd3: 0x10c,
|
|
1648
|
+
_0x895413: 0x84,
|
|
1649
|
+
_0x5b5d83: 0x190,
|
|
1650
|
+
_0x43028f: 0xf7,
|
|
1651
|
+
_0x3d95ad: 0xa3,
|
|
1652
|
+
_0x201a24: 0xa2,
|
|
1653
|
+
_0x35ad87: 0xef,
|
|
1654
|
+
_0x207a59: 0x152,
|
|
1655
|
+
_0x48b5d9: 0x9d,
|
|
1656
|
+
_0x9c2977: 0x1c4,
|
|
1657
|
+
_0x4df166: 0x9d,
|
|
1658
|
+
_0x176d28: 0x162,
|
|
1659
|
+
_0x4bf8f5: 0x8b,
|
|
1660
|
+
_0x310a52: 0x113,
|
|
1661
|
+
_0x44dcf9: 0x125,
|
|
1662
|
+
_0x486629: 0x19d
|
|
1665
1663
|
};
|
|
1666
|
-
async function
|
|
1667
|
-
const
|
|
1668
|
-
if (!
|
|
1664
|
+
async function _0x367d22(_0x58876f) {
|
|
1665
|
+
const _0x56d253 = _0xf070;
|
|
1666
|
+
if (!_0x2ace36['daemonLocalUrl'] || !_0x2ace36[_0x56d253(_0xf15c93._0x400251)] || _0x2ace36[_0x56d253(_0xf15c93._0x1d6241)] || _0x2ace36[_0x56d253(_0xf15c93._0x2b3513)] !== !![])
|
|
1669
1667
|
return null;
|
|
1670
|
-
const
|
|
1671
|
-
if (
|
|
1668
|
+
const _0x22bb26 = parseTarget(_0x58876f['channel']);
|
|
1669
|
+
if (_0x22bb26['kind'] !== _0x56d253(_0xf15c93._0x36b61f))
|
|
1672
1670
|
return null;
|
|
1673
|
-
const
|
|
1674
|
-
let
|
|
1671
|
+
const _0x31ddc6 = _0x58876f[_0x56d253(_0xf15c93._0x4a50c3)] != null ? _0x22bb26[_0x56d253(0x1b2)] + ':t' + _0x58876f[_0x56d253(0x153)] : _0x22bb26[_0x56d253(_0xf15c93._0x54d261)] + ':' + _0x58876f[_0x56d253(0xf7)];
|
|
1672
|
+
let _0x4a65e3;
|
|
1675
1673
|
try {
|
|
1676
|
-
const
|
|
1677
|
-
'channel':
|
|
1674
|
+
const _0x120fbc = await _0x2ace36[_0x56d253(0x1a7)]['readHistory']({
|
|
1675
|
+
'channel': _0x31ddc6,
|
|
1678
1676
|
'limit': 0x14
|
|
1679
1677
|
});
|
|
1680
|
-
|
|
1678
|
+
_0x4a65e3 = _0x120fbc[_0x56d253(_0xf15c93._0x1d2743)][_0x56d253(0x72)](_0x232385 => _0x232385[_0x56d253(0xf7)] === _0x58876f[_0x56d253(0xf7)]);
|
|
1681
1679
|
} catch {
|
|
1682
|
-
|
|
1680
|
+
_0x4a65e3 = void 0x0;
|
|
1683
1681
|
}
|
|
1684
|
-
const
|
|
1685
|
-
|
|
1682
|
+
const _0x324c95 = _0x58876f[_0x56d253(0x9d)] == null ? _0x56d253(0x1de) : '#' + _0x58876f[_0x56d253(0x9d)], _0x3ff187 = [
|
|
1683
|
+
_0x56d253(0x13b) + _0x31ddc6 + _0x56d253(0xa9) + _0x58876f[_0x56d253(0xf7)]['slice'](0x0, 0x8) + _0x56d253(0x177) + new Date()[_0x56d253(_0xf15c93._0x24ecd3)]() + ']\x20@system:\x20[claim-handoff]\x20' + _0x324c95 + _0x56d253(0x1e0),
|
|
1686
1684
|
'',
|
|
1687
|
-
|
|
1685
|
+
_0x4a65e3 ? _0x56d253(0x1a4) + _0x4a65e3[_0x56d253(_0xf15c93._0x895413)] : _0x56d253(_0xf15c93._0x5b5d83) + _0x58876f[_0x56d253(_0xf15c93._0x43028f)],
|
|
1688
1686
|
'',
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
][
|
|
1692
|
-
'method':
|
|
1693
|
-
'headers': { 'Content-Type':
|
|
1694
|
-
'body': JSON[
|
|
1695
|
-
'agent_id':
|
|
1696
|
-
'thread_target':
|
|
1687
|
+
_0x56d253(_0xf15c93._0x3d95ad) + _0x31ddc6,
|
|
1688
|
+
_0x56d253(_0xf15c93._0x201a24)
|
|
1689
|
+
][_0x56d253(0xdd)]('\x0a'), _0x1dc864 = await fetch(_0x2ace36[_0x56d253(0xfc)] + _0x56d253(0x15b), {
|
|
1690
|
+
'method': _0x56d253(_0xf15c93._0x35ad87),
|
|
1691
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1692
|
+
'body': JSON['stringify']({
|
|
1693
|
+
'agent_id': _0x2ace36[_0x56d253(0x160)],
|
|
1694
|
+
'thread_target': _0x31ddc6,
|
|
1697
1695
|
'spawn_packet': {
|
|
1698
|
-
'replyTarget':
|
|
1699
|
-
...
|
|
1696
|
+
'replyTarget': _0x31ddc6,
|
|
1697
|
+
..._0x58876f[_0x56d253(0x152)] ? { 'taskId': _0x58876f[_0x56d253(_0xf15c93._0x207a59)] } : _0x58876f[_0x56d253(_0xf15c93._0x48b5d9)] != null ? { 'taskId': _0x56d253(_0xf15c93._0x9c2977) + _0x58876f[_0x56d253(_0xf15c93._0x4df166)] } : {}
|
|
1700
1698
|
},
|
|
1701
1699
|
'payload': {
|
|
1702
|
-
'mode':
|
|
1703
|
-
'text':
|
|
1700
|
+
'mode': _0x56d253(_0xf15c93._0x176d28),
|
|
1701
|
+
'text': _0x3ff187
|
|
1704
1702
|
}
|
|
1705
1703
|
})
|
|
1706
|
-
}),
|
|
1707
|
-
if (!
|
|
1708
|
-
throw new Error(
|
|
1704
|
+
}), _0x3b2590 = await _0x1dc864[_0x56d253(_0xf15c93._0x4bf8f5)]();
|
|
1705
|
+
if (!_0x3b2590['ok'])
|
|
1706
|
+
throw new Error(_0x3b2590['error'] ?? 'worker\x20handoff\x20failed');
|
|
1709
1707
|
return {
|
|
1710
1708
|
'stopMain': !![],
|
|
1711
|
-
'threadTarget':
|
|
1712
|
-
'workerDisposition':
|
|
1709
|
+
'threadTarget': _0x31ddc6,
|
|
1710
|
+
'workerDisposition': _0x3b2590[_0x56d253(_0xf15c93._0x310a52)] === _0x56d253(0x1c8) ? _0x56d253(0x1c8) : _0x56d253(_0xf15c93._0x44dcf9),
|
|
1713
1711
|
'workerHandoff': !![],
|
|
1714
|
-
'workerSessionId':
|
|
1715
|
-
'executionMode':
|
|
1712
|
+
'workerSessionId': _0x3b2590[_0x56d253(_0xf15c93._0x486629)] ?? '',
|
|
1713
|
+
'executionMode': _0x56d253(0xd4)
|
|
1716
1714
|
};
|
|
1717
1715
|
}
|
|
1718
|
-
async function
|
|
1719
|
-
const
|
|
1720
|
-
if (!
|
|
1716
|
+
async function _0x589500() {
|
|
1717
|
+
const _0x31e759 = _0xf070;
|
|
1718
|
+
if (!_0x2ace36[_0x31e759(0xfc)] || !_0x2ace36[_0x31e759(_0x5c5f65._0x233f27)] || _0x2ace36[_0x31e759(_0x5c5f65._0x396af2)])
|
|
1721
1719
|
return null;
|
|
1722
1720
|
try {
|
|
1723
|
-
const
|
|
1724
|
-
if (!
|
|
1721
|
+
const _0x56f59a = await fetch(_0x2ace36[_0x31e759(_0x5c5f65._0x5e8f69)] + _0x31e759(_0x5c5f65._0x4e2d48) + encodeURIComponent(_0x2ace36[_0x31e759(0x160)])), _0x5ee6b5 = await _0x56f59a[_0x31e759(_0x5c5f65._0x28fd0c)]();
|
|
1722
|
+
if (!_0x5ee6b5['ok'])
|
|
1725
1723
|
return null;
|
|
1726
|
-
const
|
|
1727
|
-
for (const
|
|
1728
|
-
|
|
1724
|
+
const _0x20ed4c = new Set();
|
|
1725
|
+
for (const _0x57b58d of _0x5ee6b5[_0x31e759(0x146)]) {
|
|
1726
|
+
_0x57b58d['status'] !== _0x31e759(_0x5c5f65._0x2e8ff3) && _0x57b58d[_0x31e759(0xed)] && _0x20ed4c[_0x31e759(0x17c)](_0x57b58d['thread_target']);
|
|
1729
1727
|
}
|
|
1730
|
-
return
|
|
1728
|
+
return _0x20ed4c['size'] > 0x0 ? _0x20ed4c : null;
|
|
1731
1729
|
} catch {
|
|
1732
1730
|
return null;
|
|
1733
1731
|
}
|
|
1734
1732
|
}
|
|
1735
1733
|
return {
|
|
1736
|
-
async 'send_message'(
|
|
1737
|
-
const
|
|
1738
|
-
if (!
|
|
1739
|
-
const
|
|
1740
|
-
if (
|
|
1741
|
-
const
|
|
1742
|
-
|
|
1734
|
+
async 'send_message'(_0x386b13) {
|
|
1735
|
+
const _0x491091 = _0xf070;
|
|
1736
|
+
if (!_0x2ace36['workerMode'] && _0x2ace36[_0x491091(_0x1f9d9c._0x2449be)] && _0x2ace36[_0x491091(0xfc)] && _0x2ace36[_0x491091(0x160)]) {
|
|
1737
|
+
const _0x2a88ae = await _0x2ace36[_0x491091(_0x1f9d9c._0x4d41e4)]['resolveTarget'](_0x386b13[_0x491091(_0x1f9d9c._0x50970b)]);
|
|
1738
|
+
if (_0x2a88ae['task'] && _0x2a88ae[_0x491091(_0x1f9d9c._0x51b015)]) {
|
|
1739
|
+
const _0x4509bf = _0x2a88ae['task'][_0x491091(_0x1f9d9c._0x324c2d)] != null ? '#' + _0x2a88ae['task'][_0x491091(0x9d)] : '(legacy)', _0x3607dd = _0x2a88ae[_0x491091(_0x1f9d9c._0x2c0476)] != null ? _0x2a88ae[_0x491091(_0x1f9d9c._0x50970b)] + ':t' + _0x2a88ae[_0x491091(_0x1f9d9c._0x24d5fe)] : _0x2a88ae[_0x491091(0x82)] + ':' + _0x2a88ae['threadId']['slice'](0x0, 0x8), _0x386548 = [
|
|
1740
|
+
_0x491091(0x13b) + _0x3607dd + _0x491091(0x79) + new Date()[_0x491091(_0x1f9d9c._0x1ae749)]() + _0x491091(_0x1f9d9c._0x58b0ff),
|
|
1743
1741
|
'',
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
][
|
|
1749
|
-
'method':
|
|
1750
|
-
'headers': { 'Content-Type':
|
|
1751
|
-
'body': JSON[
|
|
1752
|
-
'agent_id':
|
|
1753
|
-
'thread_target':
|
|
1742
|
+
_0x491091(_0x1f9d9c._0x4b8142) + _0x386b13[_0x491091(0x84)],
|
|
1743
|
+
'Task:\x20' + _0x4509bf + '\x20(' + _0x2a88ae[_0x491091(_0x1f9d9c._0x42a091)][_0x491091(_0x1f9d9c._0x2ed7dd)] + ')',
|
|
1744
|
+
_0x491091(_0x1f9d9c._0x295c20) + _0x3607dd,
|
|
1745
|
+
_0x491091(_0x1f9d9c._0x1da327)
|
|
1746
|
+
][_0x491091(_0x1f9d9c._0x66287b)]('\x0a'), _0x43a4eb = await fetch(_0x2ace36[_0x491091(0xfc)] + '/workers/deliver', {
|
|
1747
|
+
'method': _0x491091(_0x1f9d9c._0x1bc7bf),
|
|
1748
|
+
'headers': { 'Content-Type': _0x491091(0x161) },
|
|
1749
|
+
'body': JSON[_0x491091(_0x1f9d9c._0x48c001)]({
|
|
1750
|
+
'agent_id': _0x2ace36[_0x491091(0x160)],
|
|
1751
|
+
'thread_target': _0x3607dd,
|
|
1754
1752
|
'spawn_packet': {
|
|
1755
|
-
'replyTarget':
|
|
1756
|
-
'taskId':
|
|
1753
|
+
'replyTarget': _0x3607dd,
|
|
1754
|
+
'taskId': _0x2a88ae['task'][_0x491091(_0x1f9d9c._0x2e3b7f)]
|
|
1757
1755
|
},
|
|
1758
1756
|
'payload': {
|
|
1759
|
-
'mode':
|
|
1760
|
-
'text':
|
|
1757
|
+
'mode': _0x491091(_0x1f9d9c._0x449846),
|
|
1758
|
+
'text': _0x386548
|
|
1761
1759
|
}
|
|
1762
1760
|
})
|
|
1763
|
-
}),
|
|
1764
|
-
if (!
|
|
1765
|
-
throw new Error(
|
|
1761
|
+
}), _0x4e4b7c = await _0x43a4eb[_0x491091(_0x1f9d9c._0x5c4183)]();
|
|
1762
|
+
if (!_0x4e4b7c['ok'])
|
|
1763
|
+
throw new Error(_0x4e4b7c['error'] ?? _0x491091(_0x1f9d9c._0x40d9b8));
|
|
1766
1764
|
return [
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
][
|
|
1765
|
+
_0x491091(_0x1f9d9c._0x1c17c1) + _0x4509bf + '\x20in\x20' + _0x3607dd + '.',
|
|
1766
|
+
'stopMain=true\x20executionMode=worker',
|
|
1767
|
+
_0x491091(_0x1f9d9c._0x2d796f) + (_0x4e4b7c[_0x491091(0x113)] === _0x491091(0x1c8) ? _0x491091(_0x1f9d9c._0x567583) : _0x491091(_0x1f9d9c._0x4d2a82)) + '.',
|
|
1768
|
+
_0x491091(_0x1f9d9c._0x268aab)
|
|
1769
|
+
][_0x491091(0xdd)]('\x20');
|
|
1772
1770
|
}
|
|
1773
1771
|
}
|
|
1774
|
-
const
|
|
1775
|
-
'attachmentIds':
|
|
1776
|
-
'content':
|
|
1777
|
-
'target':
|
|
1778
|
-
'visibility':
|
|
1772
|
+
const _0x4fc493 = await _0x2ace36[_0x491091(0x1a7)][_0x491091(_0x1f9d9c._0x537c7c)]({
|
|
1773
|
+
'attachmentIds': _0x386b13['attachment_ids'],
|
|
1774
|
+
'content': _0x386b13[_0x491091(_0x1f9d9c._0x5239a3)],
|
|
1775
|
+
'target': _0x386b13[_0x491091(0x82)],
|
|
1776
|
+
'visibility': _0x386b13['visibility']
|
|
1779
1777
|
});
|
|
1780
|
-
return 'Message\x20sent\x20to\x20' +
|
|
1778
|
+
return 'Message\x20sent\x20to\x20' + _0x386b13[_0x491091(0x82)] + _0x491091(_0x1f9d9c._0x37631c) + _0x4fc493[_0x491091(_0x1f9d9c._0x856ef9)];
|
|
1781
1779
|
},
|
|
1782
1780
|
async 'check_messages'() {
|
|
1783
|
-
const
|
|
1784
|
-
if (!
|
|
1785
|
-
const
|
|
1786
|
-
if (
|
|
1787
|
-
return formatCheckMessages(
|
|
1781
|
+
const _0x20a4c0 = _0xf070, _0xf7dd22 = await _0x2ace36['client'][_0x20a4c0(0x164)]();
|
|
1782
|
+
if (!_0x2ace36[_0x20a4c0(_0x21bf01._0x1d73e5)]) {
|
|
1783
|
+
const _0x5b1f03 = await _0x589500();
|
|
1784
|
+
if (_0x5b1f03)
|
|
1785
|
+
return formatCheckMessages(_0xf7dd22[_0x20a4c0(_0x21bf01._0x387471)][_0x20a4c0(0x1f1)](_0x41748b => !_0x5b1f03[_0x20a4c0(0x9f)](_0x41748b[_0x20a4c0(0x82)])));
|
|
1788
1786
|
}
|
|
1789
|
-
return formatCheckMessages(
|
|
1787
|
+
return formatCheckMessages(_0xf7dd22['messages']);
|
|
1790
1788
|
},
|
|
1791
|
-
async 'read_history'(
|
|
1792
|
-
const
|
|
1793
|
-
return formatHistory(
|
|
1789
|
+
async 'read_history'(_0x477cd4) {
|
|
1790
|
+
const _0x3e73e3 = _0xf070, _0x22104f = await _0x2ace36['client'][_0x3e73e3(_0x381b64._0x25a47c)](_0x477cd4);
|
|
1791
|
+
return formatHistory(_0x22104f);
|
|
1794
1792
|
},
|
|
1795
1793
|
async 'list_server'() {
|
|
1796
|
-
const
|
|
1797
|
-
return formatServerDirectory(
|
|
1794
|
+
const _0x44a6e0 = _0xf070, _0x10960d = await _0x2ace36[_0x44a6e0(_0x22eceb._0x4a6e88)][_0x44a6e0(0xbe)]();
|
|
1795
|
+
return formatServerDirectory(_0x10960d);
|
|
1798
1796
|
},
|
|
1799
|
-
async 'list_tasks'(
|
|
1800
|
-
const
|
|
1801
|
-
let
|
|
1802
|
-
if (
|
|
1797
|
+
async 'list_tasks'(_0xac07f2) {
|
|
1798
|
+
const _0x40d266 = _0xf070, _0x4ea440 = await _0x2ace36[_0x40d266(0x1a7)][_0x40d266(_0x53e882._0x4c2b9e)](_0xac07f2);
|
|
1799
|
+
let _0xa253d0;
|
|
1800
|
+
if (_0x2ace36[_0x40d266(_0x53e882._0x481fe2)] && _0x2ace36[_0x40d266(_0x53e882._0x29d0c8)])
|
|
1803
1801
|
try {
|
|
1804
|
-
const
|
|
1805
|
-
if (
|
|
1806
|
-
const
|
|
1807
|
-
|
|
1808
|
-
for (const
|
|
1809
|
-
if (
|
|
1802
|
+
const _0x313e3a = await fetch(_0x2ace36[_0x40d266(_0x53e882._0x481fe2)] + '/workers/list?agent_id=' + encodeURIComponent(_0x2ace36['agentId'])), _0x2d13b4 = await _0x313e3a['json']();
|
|
1803
|
+
if (_0x2d13b4['ok']) {
|
|
1804
|
+
const _0x2307b9 = _0xac07f2[_0x40d266(_0x53e882._0x3277f1)] + ':';
|
|
1805
|
+
_0xa253d0 = new Set();
|
|
1806
|
+
for (const _0x35336b of _0x2d13b4[_0x40d266(_0x53e882._0x2f001c)]) {
|
|
1807
|
+
if (_0x35336b[_0x40d266(0x1e6)] === _0x40d266(0x91))
|
|
1810
1808
|
continue;
|
|
1811
|
-
if (
|
|
1812
|
-
const
|
|
1813
|
-
if (
|
|
1814
|
-
|
|
1809
|
+
if (_0x35336b[_0x40d266(0xed)]?.[_0x40d266(_0x53e882._0x1fe0c4)](_0x2307b9)) {
|
|
1810
|
+
const _0x5d38ec = _0x35336b['thread_target']['slice'](_0x2307b9[_0x40d266(_0x53e882._0x3d9e01)]), _0x173ea6 = _0x4ea440['tasks']['find'](_0x399a5d => _0x399a5d['messageId']?.[_0x40d266(0xbc)](_0x5d38ec) === !![]);
|
|
1811
|
+
if (_0x173ea6?.['taskNumber'] != null) {
|
|
1812
|
+
_0xa253d0[_0x40d266(0x17c)](_0x173ea6[_0x40d266(0x9d)]);
|
|
1815
1813
|
continue;
|
|
1816
1814
|
}
|
|
1817
1815
|
}
|
|
1818
|
-
if (
|
|
1819
|
-
const
|
|
1820
|
-
|
|
1816
|
+
if (_0x35336b[_0x40d266(_0x53e882._0x3e3e0c)]) {
|
|
1817
|
+
const _0x1e813c = _0x4ea440[_0x40d266(0x195)][_0x40d266(_0x53e882._0x45a575)](_0x5d56a2 => _0x5d56a2['taskId'] === _0x35336b['task_id']);
|
|
1818
|
+
_0x1e813c?.[_0x40d266(0x9d)] != null && _0xa253d0[_0x40d266(_0x53e882._0x1abb0)](_0x1e813c[_0x40d266(0x9d)]);
|
|
1821
1819
|
}
|
|
1822
1820
|
}
|
|
1823
1821
|
}
|
|
1824
1822
|
} catch {
|
|
1825
1823
|
}
|
|
1826
|
-
return formatTaskList(
|
|
1824
|
+
return formatTaskList(_0x4ea440['tasks'], _0xa253d0);
|
|
1827
1825
|
},
|
|
1828
|
-
async 'create_tasks'(
|
|
1829
|
-
const
|
|
1830
|
-
return formatCreatedTasks(
|
|
1826
|
+
async 'create_tasks'(_0x226b0c) {
|
|
1827
|
+
const _0x46430d = _0xf070, _0xebd0c5 = await _0x2ace36['client'][_0x46430d(0x147)](_0x226b0c);
|
|
1828
|
+
return formatCreatedTasks(_0xebd0c5[_0x46430d(0x195)]);
|
|
1831
1829
|
},
|
|
1832
|
-
async 'claim_tasks'(
|
|
1833
|
-
const
|
|
1834
|
-
const
|
|
1835
|
-
if (!
|
|
1836
|
-
return
|
|
1830
|
+
async 'claim_tasks'(_0x14c4bd) {
|
|
1831
|
+
const _0x34e8fa = _0xf070, _0x474a9a = await _0x2ace36[_0x34e8fa(0x1a7)][_0x34e8fa(0x1fa)](_0x14c4bd), _0x22344b = await Promise[_0x34e8fa(0x150)](_0x474a9a[_0x34e8fa(_0x9986dc._0x499c1c)][_0x34e8fa(_0x9986dc._0x113c18)](async _0x3f2ad3 => {
|
|
1832
|
+
const _0x4ecfef = _0x34e8fa;
|
|
1833
|
+
if (!_0x3f2ad3[_0x4ecfef(_0x39635c._0x2652dd)] || !_0x3f2ad3[_0x4ecfef(_0x39635c._0x356f05)])
|
|
1834
|
+
return _0x3f2ad3;
|
|
1837
1835
|
try {
|
|
1838
|
-
const
|
|
1839
|
-
'channel':
|
|
1840
|
-
'messageId':
|
|
1841
|
-
'taskId':
|
|
1842
|
-
'taskNumber':
|
|
1843
|
-
'threadNumber':
|
|
1836
|
+
const _0x2668b8 = await _0x367d22({
|
|
1837
|
+
'channel': _0x14c4bd['channel'],
|
|
1838
|
+
'messageId': _0x3f2ad3['messageId'],
|
|
1839
|
+
'taskId': _0x3f2ad3[_0x4ecfef(_0x39635c._0x203cc5)],
|
|
1840
|
+
'taskNumber': _0x3f2ad3[_0x4ecfef(0x9d)],
|
|
1841
|
+
'threadNumber': _0x3f2ad3['threadNumber']
|
|
1844
1842
|
});
|
|
1845
|
-
return
|
|
1846
|
-
...
|
|
1847
|
-
...
|
|
1848
|
-
} :
|
|
1849
|
-
} catch (
|
|
1843
|
+
return _0x2668b8 ? {
|
|
1844
|
+
..._0x3f2ad3,
|
|
1845
|
+
..._0x2668b8
|
|
1846
|
+
} : _0x3f2ad3;
|
|
1847
|
+
} catch (_0x40bdb9) {
|
|
1850
1848
|
return {
|
|
1851
|
-
...
|
|
1852
|
-
'workerHandoffError':
|
|
1849
|
+
..._0x3f2ad3,
|
|
1850
|
+
'workerHandoffError': _0x40bdb9 instanceof Error ? _0x40bdb9[_0x4ecfef(_0x39635c._0x4edaff)] : _0x4ecfef(_0x39635c._0x3e90fb)
|
|
1853
1851
|
};
|
|
1854
1852
|
}
|
|
1855
1853
|
}));
|
|
1856
|
-
return formatClaimTaskResults(
|
|
1854
|
+
return formatClaimTaskResults(_0x22344b);
|
|
1857
1855
|
},
|
|
1858
|
-
async 'unclaim_task'(
|
|
1859
|
-
const
|
|
1860
|
-
return formatUnclaimTaskResult(
|
|
1856
|
+
async 'unclaim_task'(_0x710888) {
|
|
1857
|
+
const _0x9b3f12 = _0xf070, _0x32e74f = await _0x2ace36[_0x9b3f12(0x1a7)][_0x9b3f12(_0x3597dd._0x1f335e)](_0x710888);
|
|
1858
|
+
return formatUnclaimTaskResult(_0x32e74f);
|
|
1861
1859
|
},
|
|
1862
|
-
async 'update_task_status'(
|
|
1863
|
-
const
|
|
1864
|
-
return formatUpdateTaskStatusResult(
|
|
1860
|
+
async 'update_task_status'(_0x3a66ed) {
|
|
1861
|
+
const _0x54ab0f = _0xf070, _0x3d15ca = await _0x2ace36[_0x54ab0f(0x1a7)][_0x54ab0f(_0x566cec._0x29f5e8)](_0x3a66ed);
|
|
1862
|
+
return formatUpdateTaskStatusResult(_0x3d15ca);
|
|
1865
1863
|
},
|
|
1866
|
-
async 'upload_file'(
|
|
1867
|
-
const
|
|
1868
|
-
sizeBytes:
|
|
1869
|
-
...
|
|
1870
|
-
} =
|
|
1871
|
-
'channel':
|
|
1872
|
-
...
|
|
1864
|
+
async 'upload_file'(_0x1ee930) {
|
|
1865
|
+
const _0x51d423 = _0xf070, _0x53475d = await _0x2ace36['uploadPreparer'](_0x1ee930[_0x51d423(0xf6)]), {
|
|
1866
|
+
sizeBytes: _0x2f45af,
|
|
1867
|
+
..._0x59e6e1
|
|
1868
|
+
} = _0x53475d, _0x3d7295 = await _0x2ace36[_0x51d423(_0x1898b7._0x50797c)][_0x51d423(_0x1898b7._0x39feb7)]({
|
|
1869
|
+
'channel': _0x1ee930[_0x51d423(0x137)],
|
|
1870
|
+
..._0x59e6e1
|
|
1873
1871
|
});
|
|
1874
|
-
return formatUploadResult(
|
|
1872
|
+
return formatUploadResult(_0x3d7295);
|
|
1875
1873
|
},
|
|
1876
|
-
async 'view_file'(
|
|
1877
|
-
const
|
|
1878
|
-
if (
|
|
1879
|
-
return formatViewFileResult(
|
|
1880
|
-
const
|
|
1881
|
-
'attachmentId':
|
|
1882
|
-
'contentType':
|
|
1883
|
-
'data':
|
|
1884
|
-
'originalFilename':
|
|
1874
|
+
async 'view_file'(_0x41b1b7) {
|
|
1875
|
+
const _0x4abc6a = _0xf070, _0x144b0e = await _0x2ace36[_0x4abc6a(0x18e)][_0x4abc6a(_0x406705._0x4f1329)](_0x41b1b7[_0x4abc6a(_0x406705._0x366b7f)]);
|
|
1876
|
+
if (_0x144b0e)
|
|
1877
|
+
return formatViewFileResult(_0x144b0e, !![]);
|
|
1878
|
+
const _0x1775ad = await _0x2ace36['client'][_0x4abc6a(0x191)](_0x41b1b7[_0x4abc6a(0x1f0)]), _0x41e3fa = await _0x2ace36[_0x4abc6a(0x18e)][_0x4abc6a(_0x406705._0x49ab00)]({
|
|
1879
|
+
'attachmentId': _0x41b1b7[_0x4abc6a(0x1f0)],
|
|
1880
|
+
'contentType': _0x1775ad[_0x4abc6a(_0x406705._0x26594d)],
|
|
1881
|
+
'data': _0x1775ad['data'],
|
|
1882
|
+
'originalFilename': _0x1775ad['originalFilename']
|
|
1885
1883
|
});
|
|
1886
|
-
return formatViewFileResult(
|
|
1884
|
+
return formatViewFileResult(_0x41e3fa, ![]);
|
|
1887
1885
|
},
|
|
1888
|
-
async 'get_worker_status'(
|
|
1889
|
-
const
|
|
1890
|
-
if (!
|
|
1891
|
-
return
|
|
1892
|
-
const
|
|
1893
|
-
if (!
|
|
1894
|
-
return
|
|
1895
|
-
return
|
|
1886
|
+
async 'get_worker_status'(_0x1f5adb) {
|
|
1887
|
+
const _0x1cd39f = _0xf070;
|
|
1888
|
+
if (!_0x2ace36['daemonLocalUrl'])
|
|
1889
|
+
return _0x1cd39f(0x14d);
|
|
1890
|
+
const _0x154d82 = await fetch(_0x2ace36['daemonLocalUrl'] + _0x1cd39f(_0x3fe7ea._0x52eca5) + encodeURIComponent(_0x1f5adb['work_key'])), _0x1b75c5 = await _0x154d82[_0x1cd39f(0x8b)]();
|
|
1891
|
+
if (!_0x1b75c5['ok'])
|
|
1892
|
+
return _0x1cd39f(0x15a) + _0x1f5adb['work_key'] + '\x22\x20not\x20found';
|
|
1893
|
+
return _0x1cd39f(0x15a) + _0x1f5adb['work_key'] + _0x1cd39f(_0x3fe7ea._0x19ecc1) + _0x1b75c5[_0x1cd39f(0x1e6)];
|
|
1896
1894
|
},
|
|
1897
|
-
async 'get_worker_result'(
|
|
1898
|
-
const
|
|
1899
|
-
if (!
|
|
1900
|
-
return
|
|
1901
|
-
const
|
|
1902
|
-
if (!
|
|
1903
|
-
return
|
|
1904
|
-
return JSON[
|
|
1895
|
+
async 'get_worker_result'(_0x377dc5) {
|
|
1896
|
+
const _0x25f178 = _0xf070;
|
|
1897
|
+
if (!_0x2ace36[_0x25f178(0xfc)])
|
|
1898
|
+
return _0x25f178(_0x3948fc._0x35cb36);
|
|
1899
|
+
const _0x31753f = await fetch(_0x2ace36[_0x25f178(0xfc)] + _0x25f178(_0x3948fc._0x3f69eb) + encodeURIComponent(_0x377dc5[_0x25f178(_0x3948fc._0x262951)])), _0x1fd779 = await _0x31753f['json']();
|
|
1900
|
+
if (!_0x1fd779[_0x25f178(_0x3948fc._0x16d613)])
|
|
1901
|
+
return 'No\x20result\x20yet\x20for\x20worker\x20\x22' + _0x377dc5[_0x25f178(_0x3948fc._0x262951)] + '\x22';
|
|
1902
|
+
return JSON[_0x25f178(0xaa)](_0x1fd779[_0x25f178(0x83)], null, 0x2);
|
|
1905
1903
|
},
|
|
1906
|
-
async 'finish_worker'(
|
|
1907
|
-
const
|
|
1908
|
-
if (!
|
|
1909
|
-
return
|
|
1910
|
-
const
|
|
1911
|
-
'method':
|
|
1912
|
-
'headers': { 'Content-Type':
|
|
1913
|
-
'body': JSON[
|
|
1914
|
-
'work_key':
|
|
1904
|
+
async 'finish_worker'(_0x5832ca) {
|
|
1905
|
+
const _0x37846d = _0xf070;
|
|
1906
|
+
if (!_0x2ace36['daemonLocalUrl'])
|
|
1907
|
+
return _0x37846d(0x14d);
|
|
1908
|
+
const _0x38ac8c = await fetch(_0x2ace36['daemonLocalUrl'] + _0x37846d(0xb2), {
|
|
1909
|
+
'method': _0x37846d(0xef),
|
|
1910
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1911
|
+
'body': JSON[_0x37846d(0xaa)]({
|
|
1912
|
+
'work_key': _0x5832ca[_0x37846d(0x151)],
|
|
1915
1913
|
'resume_packet': {
|
|
1916
1914
|
'objective': '',
|
|
1917
|
-
'result':
|
|
1918
|
-
'summary':
|
|
1919
|
-
'decisions':
|
|
1920
|
-
'filesChanged':
|
|
1921
|
-
'openIssues':
|
|
1922
|
-
'nextSteps':
|
|
1915
|
+
'result': _0x5832ca[_0x37846d(_0x19d001._0x411c39)],
|
|
1916
|
+
'summary': _0x5832ca[_0x37846d(0x120)],
|
|
1917
|
+
'decisions': _0x5832ca[_0x37846d(0x1d9)] ?? [],
|
|
1918
|
+
'filesChanged': _0x5832ca[_0x37846d(0xd7)] ?? [],
|
|
1919
|
+
'openIssues': _0x5832ca[_0x37846d(_0x19d001._0x137164)] ?? [],
|
|
1920
|
+
'nextSteps': _0x5832ca['next_steps'] ?? []
|
|
1923
1921
|
}
|
|
1924
1922
|
})
|
|
1925
|
-
}),
|
|
1926
|
-
if (!
|
|
1927
|
-
throw new Error(
|
|
1928
|
-
return
|
|
1923
|
+
}), _0x24ff2a = await _0x38ac8c[_0x37846d(_0x19d001._0x16ac3d)]();
|
|
1924
|
+
if (!_0x24ff2a['ok'])
|
|
1925
|
+
throw new Error(_0x24ff2a[_0x37846d(0x93)] ?? 'finish_worker\x20failed');
|
|
1926
|
+
return _0x37846d(_0x19d001._0x2727e1) + _0x5832ca[_0x37846d(0x151)] + _0x37846d(0x172) + _0x5832ca[_0x37846d(0x100)];
|
|
1929
1927
|
},
|
|
1930
|
-
async 'mark_waiting_input'(
|
|
1931
|
-
const
|
|
1932
|
-
if (!
|
|
1933
|
-
return
|
|
1934
|
-
const
|
|
1935
|
-
'method':
|
|
1936
|
-
'headers': { 'Content-Type':
|
|
1937
|
-
'body': JSON[
|
|
1938
|
-
'work_key':
|
|
1939
|
-
'agent_id':
|
|
1928
|
+
async 'mark_waiting_input'(_0x48ca91) {
|
|
1929
|
+
const _0x79ec0f = _0xf070;
|
|
1930
|
+
if (!_0x2ace36[_0x79ec0f(_0x19d076._0x415ae4)] || !_0x2ace36[_0x79ec0f(_0x19d076._0x548a61)])
|
|
1931
|
+
return _0x79ec0f(_0x19d076._0x53d6fb);
|
|
1932
|
+
const _0x2927bf = await fetch(_0x2ace36[_0x79ec0f(_0x19d076._0x2f1e6a)] + _0x79ec0f(_0x19d076._0x5d3058), {
|
|
1933
|
+
'method': _0x79ec0f(_0x19d076._0x3b7ec0),
|
|
1934
|
+
'headers': { 'Content-Type': _0x79ec0f(0x161) },
|
|
1935
|
+
'body': JSON[_0x79ec0f(_0x19d076._0x89ed92)]({
|
|
1936
|
+
'work_key': _0x48ca91[_0x79ec0f(_0x19d076._0x389b0c)],
|
|
1937
|
+
'agent_id': _0x2ace36[_0x79ec0f(0x160)]
|
|
1940
1938
|
})
|
|
1941
|
-
}),
|
|
1942
|
-
if (!
|
|
1943
|
-
throw new Error(
|
|
1944
|
-
return
|
|
1939
|
+
}), _0x187309 = await _0x2927bf['json']();
|
|
1940
|
+
if (!_0x187309['ok'])
|
|
1941
|
+
throw new Error(_0x187309[_0x79ec0f(_0x19d076._0x21194a)] ?? _0x79ec0f(_0x19d076._0x1c9949));
|
|
1942
|
+
return _0x79ec0f(_0x19d076._0xdcd9dd) + _0x48ca91[_0x79ec0f(0x151)] + _0x79ec0f(_0x19d076._0x558f05);
|
|
1945
1943
|
},
|
|
1946
|
-
async 'escalate_to_main'(
|
|
1947
|
-
const
|
|
1948
|
-
if (!
|
|
1949
|
-
return
|
|
1950
|
-
const
|
|
1951
|
-
'method':
|
|
1952
|
-
'headers': { 'Content-Type':
|
|
1953
|
-
'body': JSON[
|
|
1954
|
-
'work_key':
|
|
1955
|
-
'reason':
|
|
1944
|
+
async 'escalate_to_main'(_0x5aee8a) {
|
|
1945
|
+
const _0x3cb0d6 = _0xf070;
|
|
1946
|
+
if (!_0x2ace36[_0x3cb0d6(_0x1dc112._0x377e04)])
|
|
1947
|
+
return _0x3cb0d6(0x14d);
|
|
1948
|
+
const _0x36d201 = await fetch(_0x2ace36['daemonLocalUrl'] + _0x3cb0d6(0xd8), {
|
|
1949
|
+
'method': 'POST',
|
|
1950
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1951
|
+
'body': JSON[_0x3cb0d6(_0x1dc112._0x40efb3)]({
|
|
1952
|
+
'work_key': _0x5aee8a[_0x3cb0d6(_0x1dc112._0x35514a)],
|
|
1953
|
+
'reason': _0x5aee8a[_0x3cb0d6(0x1d1)]
|
|
1956
1954
|
})
|
|
1957
|
-
}),
|
|
1958
|
-
if (!
|
|
1959
|
-
throw new Error(
|
|
1960
|
-
return
|
|
1955
|
+
}), _0x456d74 = await _0x36d201[_0x3cb0d6(0x8b)]();
|
|
1956
|
+
if (!_0x456d74['ok'])
|
|
1957
|
+
throw new Error(_0x456d74[_0x3cb0d6(_0x1dc112._0x3ed99c)] ?? _0x3cb0d6(_0x1dc112._0x26dd6f));
|
|
1958
|
+
return 'Escalation\x20sent\x20to\x20main\x20agent.\x20Reason:\x20' + _0x5aee8a[_0x3cb0d6(_0x1dc112._0x4db8a2)];
|
|
1961
1959
|
}
|
|
1962
1960
|
};
|
|
1963
1961
|
}
|
|
1964
|
-
function
|
|
1965
|
-
|
|
1966
|
-
const
|
|
1967
|
-
let
|
|
1968
|
-
if (
|
|
1969
|
-
var
|
|
1970
|
-
const
|
|
1971
|
-
let
|
|
1972
|
-
for (let
|
|
1973
|
-
|
|
1962
|
+
function _0xf070(_0x1a21b2, _0x55362a) {
|
|
1963
|
+
_0x1a21b2 = _0x1a21b2 - 0x71;
|
|
1964
|
+
const _0x23547c = _0x2354();
|
|
1965
|
+
let _0xf070d = _0x23547c[_0x1a21b2];
|
|
1966
|
+
if (_0xf070['tnpnDM'] === undefined) {
|
|
1967
|
+
var _0x5c5929 = function (_0x38a46b) {
|
|
1968
|
+
const _0x2efc13 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1969
|
+
let _0x5a04e4 = '', _0x486144 = '';
|
|
1970
|
+
for (let _0x3f08f2 = 0x0, _0x2c2f66, _0xf3768b, _0x5543b7 = 0x0; _0xf3768b = _0x38a46b['charAt'](_0x5543b7++); ~_0xf3768b && (_0x2c2f66 = _0x3f08f2 % 0x4 ? _0x2c2f66 * 0x40 + _0xf3768b : _0xf3768b, _0x3f08f2++ % 0x4) ? _0x5a04e4 += String['fromCharCode'](0xff & _0x2c2f66 >> (-0x2 * _0x3f08f2 & 0x6)) : 0x0) {
|
|
1971
|
+
_0xf3768b = _0x2efc13['indexOf'](_0xf3768b);
|
|
1974
1972
|
}
|
|
1975
|
-
for (let
|
|
1976
|
-
|
|
1973
|
+
for (let _0x522697 = 0x0, _0x16fbae = _0x5a04e4['length']; _0x522697 < _0x16fbae; _0x522697++) {
|
|
1974
|
+
_0x486144 += '%' + ('00' + _0x5a04e4['charCodeAt'](_0x522697)['toString'](0x10))['slice'](-0x2);
|
|
1977
1975
|
}
|
|
1978
|
-
return decodeURIComponent(
|
|
1976
|
+
return decodeURIComponent(_0x486144);
|
|
1979
1977
|
};
|
|
1980
|
-
|
|
1978
|
+
_0xf070['NYRMxN'] = _0x5c5929, _0xf070['qXMQBp'] = {}, _0xf070['tnpnDM'] = !![];
|
|
1981
1979
|
}
|
|
1982
|
-
const
|
|
1983
|
-
return !
|
|
1980
|
+
const _0x3f49af = _0x23547c[0x0], _0x177e33 = _0x1a21b2 + _0x3f49af, _0x597563 = _0xf070['qXMQBp'][_0x177e33];
|
|
1981
|
+
return !_0x597563 ? (_0xf070d = _0xf070['NYRMxN'](_0xf070d), _0xf070['qXMQBp'][_0x177e33] = _0xf070d) : _0xf070d = _0x597563, _0xf070d;
|
|
1984
1982
|
}
|
|
1985
|
-
function textResult(
|
|
1986
|
-
const
|
|
1983
|
+
function textResult(_0x5ca999, _0x4b28f = ![]) {
|
|
1984
|
+
const _0x4bb73f = { _0x378419: 0x193 }, _0x1567d5 = _0x174aa9;
|
|
1987
1985
|
return {
|
|
1988
1986
|
'content': [{
|
|
1989
|
-
'type':
|
|
1990
|
-
'text':
|
|
1987
|
+
'type': _0x1567d5(_0x4bb73f._0x378419),
|
|
1988
|
+
'text': _0x5ca999
|
|
1991
1989
|
}],
|
|
1992
|
-
...
|
|
1990
|
+
..._0x4b28f ? { 'isError': !![] } : {}
|
|
1993
1991
|
};
|
|
1994
1992
|
}
|
|
1995
|
-
async function registerChatBridgeTools(
|
|
1996
|
-
const
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
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
|
-
'target':
|
|
2059
|
-
'content':
|
|
2060
|
-
'attachment_ids':
|
|
2061
|
-
'visibility':
|
|
1993
|
+
async function registerChatBridgeTools(_0x3be2ac, _0xcb13b1, _0x2baac) {
|
|
1994
|
+
const _0x1cdfa = {
|
|
1995
|
+
_0x337af9: 0x18f,
|
|
1996
|
+
_0x54ced8: 0xbb,
|
|
1997
|
+
_0x31258c: 0x1e5,
|
|
1998
|
+
_0xbb53cb: 0xbd,
|
|
1999
|
+
_0x596f48: 0x16d,
|
|
2000
|
+
_0x50a14b: 0x1a6,
|
|
2001
|
+
_0x4d3b12: 0x16e,
|
|
2002
|
+
_0x567127: 0x1a6,
|
|
2003
|
+
_0x178bb6: 0x194,
|
|
2004
|
+
_0x1496c4: 0x1c1,
|
|
2005
|
+
_0x265417: 0x1e8,
|
|
2006
|
+
_0x16c32e: 0x111,
|
|
2007
|
+
_0x2ffe10: 0xd2,
|
|
2008
|
+
_0x4e97d4: 0xbb,
|
|
2009
|
+
_0x13e362: 0xbd,
|
|
2010
|
+
_0x5627d4: 0x135,
|
|
2011
|
+
_0x580c27: 0x181,
|
|
2012
|
+
_0x50cd45: 0x141,
|
|
2013
|
+
_0x1bfb40: 0x1e8,
|
|
2014
|
+
_0x55724b: 0x1e5,
|
|
2015
|
+
_0x2e3325: 0xbb,
|
|
2016
|
+
_0x4e84a1: 0xd2,
|
|
2017
|
+
_0x3dc6b1: 0xcd,
|
|
2018
|
+
_0x2c09a4: 0xe3,
|
|
2019
|
+
_0x12b678: 0xa7,
|
|
2020
|
+
_0x2154f2: 0xbb,
|
|
2021
|
+
_0x4bce04: 0xbb,
|
|
2022
|
+
_0x23950a: 0x1d5,
|
|
2023
|
+
_0x7da959: 0x144,
|
|
2024
|
+
_0x2d84b1: 0x198,
|
|
2025
|
+
_0x1b38e1: 0x13f,
|
|
2026
|
+
_0x5ad96c: 0xca,
|
|
2027
|
+
_0x15ac3b: 0x90,
|
|
2028
|
+
_0x525c97: 0x1e5,
|
|
2029
|
+
_0x506ba0: 0x1e5,
|
|
2030
|
+
_0xfc77e5: 0x9e,
|
|
2031
|
+
_0x5d25ca: 0x1b0,
|
|
2032
|
+
_0x4251da: 0x1d4,
|
|
2033
|
+
_0x263a30: 0x1a6,
|
|
2034
|
+
_0x3b950e: 0xbb
|
|
2035
|
+
}, _0x52ce8e = {
|
|
2036
|
+
_0x209d1b: 0x8d,
|
|
2037
|
+
_0x2e5a49: 0x1b1
|
|
2038
|
+
}, _0x51bfc2 = { _0x230bb7: 0x1dd }, _0x59b30b = { _0x30bcc2: 0x98 }, _0x1fb0a1 = { _0x256aef: 0x1a5 }, _0x232479 = { _0xd6cdbc: 0xff }, _0x398912 = { _0x23934b: 0x8d }, _0x1093fd = { _0x2b002a: 0xe3 }, _0x32ceb0 = {
|
|
2039
|
+
_0x254e25: 0x181,
|
|
2040
|
+
_0x1f4ec0: 0x15d
|
|
2041
|
+
}, _0x2fb3c2 = {
|
|
2042
|
+
_0x1f9ea3: 0x111,
|
|
2043
|
+
_0x2a559c: 0x114
|
|
2044
|
+
}, _0x4097f9 = { _0x5631e1: 0x8d }, _0xefc74f = {
|
|
2045
|
+
_0xab8f52: 0x16e,
|
|
2046
|
+
_0x4a22c6: 0x7b
|
|
2047
|
+
}, _0x5b1931 = {
|
|
2048
|
+
_0x4831ca: 0x7c,
|
|
2049
|
+
_0x59a492: 0x8d,
|
|
2050
|
+
_0x1c3b1b: 0x157
|
|
2051
|
+
}, _0xd62cc4 = {
|
|
2052
|
+
_0x370402: 0x8d,
|
|
2053
|
+
_0xa95a60: 0x1ee
|
|
2054
|
+
}, _0x337e88 = _0x174aa9, {z: _0x20c869} = await import('zod');
|
|
2055
|
+
_0x3be2ac['tool'](_0x337e88(0xda), _0x337e88(_0x1cdfa._0x337af9), {
|
|
2056
|
+
'target': _0x20c869[_0x337e88(0xbb)](),
|
|
2057
|
+
'content': _0x20c869[_0x337e88(_0x1cdfa._0x54ced8)](),
|
|
2058
|
+
'attachment_ids': _0x20c869[_0x337e88(_0x1cdfa._0x31258c)](_0x20c869[_0x337e88(_0x1cdfa._0x54ced8)]())[_0x337e88(0x1e8)](),
|
|
2059
|
+
'visibility': _0x20c869[_0x337e88(_0x1cdfa._0xbb53cb)]([
|
|
2062
2060
|
'public',
|
|
2063
|
-
|
|
2064
|
-
])[
|
|
2065
|
-
}, async
|
|
2066
|
-
const
|
|
2061
|
+
_0x337e88(0xe2)
|
|
2062
|
+
])[_0x337e88(0x1e8)]()
|
|
2063
|
+
}, async _0xfc07a8 => {
|
|
2064
|
+
const _0x45b002 = _0x337e88;
|
|
2067
2065
|
try {
|
|
2068
|
-
return textResult(await
|
|
2069
|
-
} catch (
|
|
2070
|
-
return textResult(
|
|
2066
|
+
return textResult(await _0xcb13b1[_0x45b002(0xda)](_0xfc07a8));
|
|
2067
|
+
} catch (_0x33d800) {
|
|
2068
|
+
return textResult(_0x33d800 instanceof Error ? _0x33d800[_0x45b002(_0xd62cc4._0x370402)] : _0x45b002(_0xd62cc4._0xa95a60), !![]);
|
|
2071
2069
|
}
|
|
2072
|
-
}),
|
|
2073
|
-
const
|
|
2070
|
+
}), _0x3be2ac[_0x337e88(0x1a6)](_0x337e88(0x7c), _0x337e88(0xde), {}, async () => {
|
|
2071
|
+
const _0x285cfe = _0x337e88;
|
|
2074
2072
|
try {
|
|
2075
|
-
return textResult(await
|
|
2076
|
-
} catch (
|
|
2077
|
-
return textResult(
|
|
2073
|
+
return textResult(await _0xcb13b1[_0x285cfe(_0x5b1931._0x4831ca)]());
|
|
2074
|
+
} catch (_0x4291cc) {
|
|
2075
|
+
return textResult(_0x4291cc instanceof Error ? _0x4291cc[_0x285cfe(_0x5b1931._0x59a492)] : _0x285cfe(_0x5b1931._0x1c3b1b), !![]);
|
|
2078
2076
|
}
|
|
2079
|
-
}),
|
|
2080
|
-
'channel':
|
|
2081
|
-
'limit':
|
|
2082
|
-
'before':
|
|
2083
|
-
'after':
|
|
2084
|
-
}, async
|
|
2085
|
-
const
|
|
2077
|
+
}), _0x3be2ac['tool'](_0x337e88(0x143), _0x337e88(_0x1cdfa._0x596f48), {
|
|
2078
|
+
'channel': _0x20c869[_0x337e88(0xbb)](),
|
|
2079
|
+
'limit': _0x20c869['number']()[_0x337e88(0x1e8)](),
|
|
2080
|
+
'before': _0x20c869[_0x337e88(0x141)]()['optional'](),
|
|
2081
|
+
'after': _0x20c869[_0x337e88(0x141)]()[_0x337e88(0x1e8)]()
|
|
2082
|
+
}, async _0xe14282 => {
|
|
2083
|
+
const _0x3b2d8e = _0x337e88;
|
|
2086
2084
|
try {
|
|
2087
|
-
return textResult(await
|
|
2088
|
-
} catch (
|
|
2089
|
-
return textResult(
|
|
2085
|
+
return textResult(await _0xcb13b1['read_history'](_0xe14282));
|
|
2086
|
+
} catch (_0x2480ac) {
|
|
2087
|
+
return textResult(_0x2480ac instanceof Error ? _0x2480ac[_0x3b2d8e(0x8d)] : _0x3b2d8e(0x16f), !![]);
|
|
2090
2088
|
}
|
|
2091
|
-
}),
|
|
2092
|
-
const
|
|
2089
|
+
}), _0x3be2ac[_0x337e88(_0x1cdfa._0x50a14b)](_0x337e88(_0x1cdfa._0x4d3b12), 'List\x20channels,\x20agents,\x20and\x20humans\x20in\x20the\x20current\x20server.', {}, async () => {
|
|
2090
|
+
const _0x5bde04 = _0x337e88;
|
|
2093
2091
|
try {
|
|
2094
|
-
return textResult(await
|
|
2095
|
-
} catch (
|
|
2096
|
-
return textResult(
|
|
2092
|
+
return textResult(await _0xcb13b1[_0x5bde04(_0xefc74f._0xab8f52)]());
|
|
2093
|
+
} catch (_0x42b1bf) {
|
|
2094
|
+
return textResult(_0x42b1bf instanceof Error ? _0x42b1bf[_0x5bde04(0x8d)] : _0x5bde04(_0xefc74f._0x4a22c6), !![]);
|
|
2097
2095
|
}
|
|
2098
|
-
}),
|
|
2099
|
-
'channel':
|
|
2100
|
-
'status':
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
])[
|
|
2106
|
-
}, async
|
|
2107
|
-
const
|
|
2096
|
+
}), _0x3be2ac[_0x337e88(_0x1cdfa._0x567127)]('list_tasks', _0x337e88(_0x1cdfa._0x178bb6), {
|
|
2097
|
+
'channel': _0x20c869[_0x337e88(_0x1cdfa._0x54ced8)](),
|
|
2098
|
+
'status': _0x20c869[_0x337e88(0xbd)]([
|
|
2099
|
+
_0x337e88(_0x1cdfa._0x1496c4),
|
|
2100
|
+
_0x337e88(0x144),
|
|
2101
|
+
_0x337e88(0x156),
|
|
2102
|
+
_0x337e88(0x1b5)
|
|
2103
|
+
])[_0x337e88(_0x1cdfa._0x265417)]()
|
|
2104
|
+
}, async _0x16e4e8 => {
|
|
2105
|
+
const _0x22e701 = _0x337e88;
|
|
2108
2106
|
try {
|
|
2109
|
-
return textResult(await
|
|
2110
|
-
} catch (
|
|
2111
|
-
return textResult(
|
|
2107
|
+
return textResult(await _0xcb13b1[_0x22e701(0x13d)](_0x16e4e8));
|
|
2108
|
+
} catch (_0xc75c4a) {
|
|
2109
|
+
return textResult(_0xc75c4a instanceof Error ? _0xc75c4a[_0x22e701(_0x4097f9._0x5631e1)] : _0x22e701(0x159), !![]);
|
|
2112
2110
|
}
|
|
2113
|
-
}),
|
|
2114
|
-
'channel':
|
|
2115
|
-
'idempotency_key':
|
|
2116
|
-
'tasks':
|
|
2117
|
-
'title':
|
|
2118
|
-
'description':
|
|
2119
|
-
'priority':
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
])[
|
|
2111
|
+
}), _0x3be2ac[_0x337e88(_0x1cdfa._0x567127)](_0x337e88(_0x1cdfa._0x16c32e), _0x337e88(0x169), {
|
|
2112
|
+
'channel': _0x20c869[_0x337e88(0xbb)](),
|
|
2113
|
+
'idempotency_key': _0x20c869[_0x337e88(_0x1cdfa._0x54ced8)]()[_0x337e88(0x1e8)](),
|
|
2114
|
+
'tasks': _0x20c869[_0x337e88(_0x1cdfa._0x31258c)](_0x20c869[_0x337e88(_0x1cdfa._0x2ffe10)]({
|
|
2115
|
+
'title': _0x20c869[_0x337e88(_0x1cdfa._0x4e97d4)](),
|
|
2116
|
+
'description': _0x20c869[_0x337e88(_0x1cdfa._0x4e97d4)]()[_0x337e88(0x1e8)](),
|
|
2117
|
+
'priority': _0x20c869[_0x337e88(_0x1cdfa._0x13e362)]([
|
|
2118
|
+
_0x337e88(0x138),
|
|
2119
|
+
_0x337e88(_0x1cdfa._0x5627d4),
|
|
2120
|
+
_0x337e88(0x88),
|
|
2121
|
+
_0x337e88(0x74)
|
|
2122
|
+
])[_0x337e88(_0x1cdfa._0x265417)]()
|
|
2125
2123
|
}))
|
|
2126
|
-
}, async
|
|
2127
|
-
const
|
|
2124
|
+
}, async _0x32f501 => {
|
|
2125
|
+
const _0x6ecd5b = _0x337e88;
|
|
2128
2126
|
try {
|
|
2129
|
-
return textResult(await
|
|
2130
|
-
} catch (
|
|
2131
|
-
return textResult(
|
|
2127
|
+
return textResult(await _0xcb13b1[_0x6ecd5b(_0x2fb3c2._0x1f9ea3)](_0x32f501));
|
|
2128
|
+
} catch (_0x5c47c1) {
|
|
2129
|
+
return textResult(_0x5c47c1 instanceof Error ? _0x5c47c1[_0x6ecd5b(0x8d)] : _0x6ecd5b(_0x2fb3c2._0x2a559c), !![]);
|
|
2132
2130
|
}
|
|
2133
|
-
}),
|
|
2134
|
-
'channel':
|
|
2135
|
-
'task_numbers':
|
|
2136
|
-
'message_ids':
|
|
2137
|
-
'evidence':
|
|
2138
|
-
'create_thread':
|
|
2139
|
-
'create_task':
|
|
2140
|
-
}))[
|
|
2141
|
-
'idempotency_key':
|
|
2142
|
-
}, async
|
|
2143
|
-
const
|
|
2131
|
+
}), _0x3be2ac[_0x337e88(0x1a6)](_0x337e88(_0x1cdfa._0x580c27), 'Claim\x20tasks\x20in\x20a\x20channel\x20by\x20task\x20number\x20or\x20source\x20message.', {
|
|
2132
|
+
'channel': _0x20c869['string'](),
|
|
2133
|
+
'task_numbers': _0x20c869[_0x337e88(0x1e5)](_0x20c869[_0x337e88(_0x1cdfa._0x50cd45)]())[_0x337e88(_0x1cdfa._0x1bfb40)](),
|
|
2134
|
+
'message_ids': _0x20c869[_0x337e88(_0x1cdfa._0x55724b)](_0x20c869[_0x337e88(_0x1cdfa._0x2e3325)]())[_0x337e88(_0x1cdfa._0x265417)](),
|
|
2135
|
+
'evidence': _0x20c869[_0x337e88(0xe1)](_0x20c869[_0x337e88(_0x1cdfa._0x54ced8)](), _0x20c869[_0x337e88(_0x1cdfa._0x4e84a1)]({
|
|
2136
|
+
'create_thread': _0x20c869[_0x337e88(_0x1cdfa._0x3dc6b1)]()[_0x337e88(_0x1cdfa._0x1bfb40)](),
|
|
2137
|
+
'create_task': _0x20c869['unknown']()[_0x337e88(0x1e8)]()
|
|
2138
|
+
}))[_0x337e88(0x1e8)](),
|
|
2139
|
+
'idempotency_key': _0x20c869[_0x337e88(0xbb)]()[_0x337e88(0x1e8)]()
|
|
2140
|
+
}, async _0x2bb787 => {
|
|
2141
|
+
const _0x4f68c2 = _0x337e88;
|
|
2144
2142
|
try {
|
|
2145
|
-
return textResult(await
|
|
2146
|
-
} catch (
|
|
2147
|
-
return textResult(
|
|
2143
|
+
return textResult(await _0xcb13b1[_0x4f68c2(_0x32ceb0._0x254e25)](_0x2bb787));
|
|
2144
|
+
} catch (_0x31f695) {
|
|
2145
|
+
return textResult(_0x31f695 instanceof Error ? _0x31f695[_0x4f68c2(0x8d)] : _0x4f68c2(_0x32ceb0._0x1f4ec0), !![]);
|
|
2148
2146
|
}
|
|
2149
|
-
}),
|
|
2150
|
-
'channel':
|
|
2151
|
-
'task_number':
|
|
2152
|
-
'idempotency_key':
|
|
2153
|
-
}, async
|
|
2154
|
-
const
|
|
2147
|
+
}), _0x3be2ac['tool'](_0x337e88(_0x1cdfa._0x2c09a4), _0x337e88(_0x1cdfa._0x12b678), {
|
|
2148
|
+
'channel': _0x20c869[_0x337e88(_0x1cdfa._0x2154f2)](),
|
|
2149
|
+
'task_number': _0x20c869[_0x337e88(0x141)](),
|
|
2150
|
+
'idempotency_key': _0x20c869[_0x337e88(_0x1cdfa._0x4bce04)]()[_0x337e88(_0x1cdfa._0x265417)]()
|
|
2151
|
+
}, async _0x4e47a0 => {
|
|
2152
|
+
const _0x53b256 = _0x337e88;
|
|
2155
2153
|
try {
|
|
2156
|
-
return textResult(await
|
|
2157
|
-
} catch (
|
|
2158
|
-
return textResult(
|
|
2154
|
+
return textResult(await _0xcb13b1[_0x53b256(_0x1093fd._0x2b002a)](_0x4e47a0));
|
|
2155
|
+
} catch (_0x32851f) {
|
|
2156
|
+
return textResult(_0x32851f instanceof Error ? _0x32851f[_0x53b256(0x8d)] : 'unclaim_task\x20failed', !![]);
|
|
2159
2157
|
}
|
|
2160
|
-
}),
|
|
2161
|
-
'channel':
|
|
2162
|
-
'task_number':
|
|
2163
|
-
'status':
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2158
|
+
}), _0x3be2ac['tool'](_0x337e88(_0x1cdfa._0x23950a), _0x337e88(0x19a), {
|
|
2159
|
+
'channel': _0x20c869['string'](),
|
|
2160
|
+
'task_number': _0x20c869[_0x337e88(_0x1cdfa._0x50cd45)](),
|
|
2161
|
+
'status': _0x20c869['enum']([
|
|
2162
|
+
_0x337e88(0x1c1),
|
|
2163
|
+
_0x337e88(_0x1cdfa._0x7da959),
|
|
2164
|
+
_0x337e88(0x156),
|
|
2165
|
+
'done'
|
|
2168
2166
|
]),
|
|
2169
|
-
'idempotency_key':
|
|
2170
|
-
}, async
|
|
2171
|
-
const
|
|
2167
|
+
'idempotency_key': _0x20c869[_0x337e88(_0x1cdfa._0x4e97d4)]()[_0x337e88(_0x1cdfa._0x265417)]()
|
|
2168
|
+
}, async _0x499e53 => {
|
|
2169
|
+
const _0x32f6fa = _0x337e88;
|
|
2172
2170
|
try {
|
|
2173
|
-
return textResult(await
|
|
2174
|
-
} catch (
|
|
2175
|
-
return textResult(
|
|
2171
|
+
return textResult(await _0xcb13b1[_0x32f6fa(0x1d5)](_0x499e53));
|
|
2172
|
+
} catch (_0x48d366) {
|
|
2173
|
+
return textResult(_0x48d366 instanceof Error ? _0x48d366['message'] : _0x32f6fa(0x132), !![]);
|
|
2176
2174
|
}
|
|
2177
|
-
}),
|
|
2178
|
-
'channel':
|
|
2179
|
-
'file_path':
|
|
2180
|
-
}, async
|
|
2181
|
-
const
|
|
2175
|
+
}), _0x3be2ac[_0x337e88(0x1a6)](_0x337e88(_0x1cdfa._0x2d84b1), _0x337e88(_0x1cdfa._0x1b38e1), {
|
|
2176
|
+
'channel': _0x20c869[_0x337e88(_0x1cdfa._0x54ced8)](),
|
|
2177
|
+
'file_path': _0x20c869[_0x337e88(_0x1cdfa._0x4bce04)]()
|
|
2178
|
+
}, async _0x10b170 => {
|
|
2179
|
+
const _0x1c75c5 = _0x337e88;
|
|
2182
2180
|
try {
|
|
2183
|
-
return textResult(await
|
|
2184
|
-
} catch (
|
|
2185
|
-
return textResult(
|
|
2181
|
+
return textResult(await _0xcb13b1['upload_file'](_0x10b170));
|
|
2182
|
+
} catch (_0x46e1cd) {
|
|
2183
|
+
return textResult(_0x46e1cd instanceof Error ? _0x46e1cd[_0x1c75c5(_0x398912._0x23934b)] : _0x1c75c5(0xe0), !![]);
|
|
2186
2184
|
}
|
|
2187
|
-
}),
|
|
2188
|
-
const
|
|
2185
|
+
}), _0x3be2ac[_0x337e88(_0x1cdfa._0x50a14b)](_0x337e88(0xa6), 'Download\x20an\x20attachment\x20to\x20the\x20local\x20cache\x20and\x20return\x20the\x20local\x20path.', { 'attachment_id': _0x20c869[_0x337e88(_0x1cdfa._0x4bce04)]() }, async _0x4cfa0a => {
|
|
2186
|
+
const _0x5373ee = _0x337e88;
|
|
2189
2187
|
try {
|
|
2190
|
-
return textResult(await
|
|
2191
|
-
} catch (
|
|
2192
|
-
return textResult(
|
|
2188
|
+
return textResult(await _0xcb13b1[_0x5373ee(0xa6)](_0x4cfa0a));
|
|
2189
|
+
} catch (_0x145615) {
|
|
2190
|
+
return textResult(_0x145615 instanceof Error ? _0x145615[_0x5373ee(0x8d)] : _0x5373ee(_0x232479._0xd6cdbc), !![]);
|
|
2193
2191
|
}
|
|
2194
|
-
}),
|
|
2195
|
-
const
|
|
2192
|
+
}), _0x3be2ac[_0x337e88(_0x1cdfa._0x50a14b)](_0x337e88(0x165), _0x337e88(0x7d), { 'work_key': _0x20c869[_0x337e88(_0x1cdfa._0x4e97d4)]() }, async _0x4d2037 => {
|
|
2193
|
+
const _0x113420 = _0x337e88;
|
|
2196
2194
|
try {
|
|
2197
|
-
return textResult(await
|
|
2198
|
-
} catch (
|
|
2199
|
-
return textResult(
|
|
2195
|
+
return textResult(await _0xcb13b1[_0x113420(0x165)](_0x4d2037));
|
|
2196
|
+
} catch (_0x2dd0ac) {
|
|
2197
|
+
return textResult(_0x2dd0ac instanceof Error ? _0x2dd0ac[_0x113420(0x8d)] : _0x113420(0x186), !![]);
|
|
2200
2198
|
}
|
|
2201
|
-
}),
|
|
2202
|
-
const
|
|
2199
|
+
}), _0x3be2ac['tool'](_0x337e88(0x1f9), _0x337e88(0x14c), { 'work_key': _0x20c869[_0x337e88(0xbb)]() }, async _0x40fc47 => {
|
|
2200
|
+
const _0x2d06ea = _0x337e88;
|
|
2203
2201
|
try {
|
|
2204
|
-
return textResult(await
|
|
2205
|
-
} catch (
|
|
2206
|
-
return textResult(
|
|
2202
|
+
return textResult(await _0xcb13b1[_0x2d06ea(0x1f9)](_0x40fc47));
|
|
2203
|
+
} catch (_0x29fe26) {
|
|
2204
|
+
return textResult(_0x29fe26 instanceof Error ? _0x29fe26[_0x2d06ea(0x8d)] : _0x2d06ea(_0x1fb0a1._0x256aef), !![]);
|
|
2207
2205
|
}
|
|
2208
|
-
}),
|
|
2209
|
-
'work_key':
|
|
2210
|
-
'result':
|
|
2206
|
+
}), _0x3be2ac[_0x337e88(_0x1cdfa._0x567127)](_0x337e88(_0x1cdfa._0x5ad96c), _0x337e88(0xc5), {
|
|
2207
|
+
'work_key': _0x20c869['string'](),
|
|
2208
|
+
'result': _0x20c869[_0x337e88(_0x1cdfa._0xbb53cb)]([
|
|
2211
2209
|
'completed',
|
|
2212
|
-
|
|
2213
|
-
|
|
2210
|
+
_0x337e88(0x118),
|
|
2211
|
+
_0x337e88(_0x1cdfa._0x15ac3b)
|
|
2214
2212
|
]),
|
|
2215
|
-
'summary':
|
|
2216
|
-
'decisions':
|
|
2217
|
-
'files_changed':
|
|
2218
|
-
'open_issues':
|
|
2219
|
-
'next_steps':
|
|
2220
|
-
}, async
|
|
2221
|
-
const
|
|
2213
|
+
'summary': _0x20c869[_0x337e88(_0x1cdfa._0x2154f2)](),
|
|
2214
|
+
'decisions': _0x20c869['array'](_0x20c869[_0x337e88(0xbb)]())[_0x337e88(_0x1cdfa._0x265417)](),
|
|
2215
|
+
'files_changed': _0x20c869[_0x337e88(_0x1cdfa._0x525c97)](_0x20c869['string']())['optional'](),
|
|
2216
|
+
'open_issues': _0x20c869[_0x337e88(_0x1cdfa._0x506ba0)](_0x20c869['string']())[_0x337e88(0x1e8)](),
|
|
2217
|
+
'next_steps': _0x20c869[_0x337e88(0x1e5)](_0x20c869[_0x337e88(0xbb)]())[_0x337e88(0x1e8)]()
|
|
2218
|
+
}, async _0xf7931d => {
|
|
2219
|
+
const _0x5a2a6c = _0x337e88;
|
|
2222
2220
|
try {
|
|
2223
|
-
return textResult(await
|
|
2224
|
-
} catch (
|
|
2225
|
-
return textResult(
|
|
2221
|
+
return textResult(await _0xcb13b1['finish_worker'](_0xf7931d));
|
|
2222
|
+
} catch (_0x43e8a0) {
|
|
2223
|
+
return textResult(_0x43e8a0 instanceof Error ? _0x43e8a0[_0x5a2a6c(0x8d)] : _0x5a2a6c(_0x59b30b._0x30bcc2), !![]);
|
|
2226
2224
|
}
|
|
2227
|
-
}),
|
|
2228
|
-
'work_key':
|
|
2229
|
-
'reason':
|
|
2230
|
-
}, async
|
|
2231
|
-
const
|
|
2225
|
+
}), _0x3be2ac[_0x337e88(0x1a6)](_0x337e88(_0x1cdfa._0xfc77e5), _0x337e88(_0x1cdfa._0x5d25ca), {
|
|
2226
|
+
'work_key': _0x20c869[_0x337e88(_0x1cdfa._0x2154f2)](),
|
|
2227
|
+
'reason': _0x20c869['string']()
|
|
2228
|
+
}, async _0x16f6dd => {
|
|
2229
|
+
const _0x3f9417 = _0x337e88;
|
|
2232
2230
|
try {
|
|
2233
|
-
return textResult(await
|
|
2234
|
-
} catch (
|
|
2235
|
-
return textResult(
|
|
2231
|
+
return textResult(await _0xcb13b1['escalate_to_main'](_0x16f6dd));
|
|
2232
|
+
} catch (_0x5d4013) {
|
|
2233
|
+
return textResult(_0x5d4013 instanceof Error ? _0x5d4013['message'] : _0x3f9417(_0x51bfc2._0x230bb7), !![]);
|
|
2236
2234
|
}
|
|
2237
|
-
}),
|
|
2238
|
-
const
|
|
2235
|
+
}), _0x2baac?.[_0x337e88(_0x1cdfa._0x4251da)] && _0x3be2ac[_0x337e88(_0x1cdfa._0x263a30)]('mark_waiting_input', _0x337e88(0xc7), { 'work_key': _0x20c869[_0x337e88(_0x1cdfa._0x3b950e)]() }, async _0x2ef025 => {
|
|
2236
|
+
const _0x426003 = _0x337e88;
|
|
2239
2237
|
try {
|
|
2240
|
-
return textResult(await
|
|
2241
|
-
} catch (
|
|
2242
|
-
return textResult(
|
|
2238
|
+
return textResult(await _0xcb13b1['mark_waiting_input'](_0x2ef025));
|
|
2239
|
+
} catch (_0x139b79) {
|
|
2240
|
+
return textResult(_0x139b79 instanceof Error ? _0x139b79[_0x426003(_0x52ce8e._0x209d1b)] : _0x426003(_0x52ce8e._0x2e5a49), !![]);
|
|
2243
2241
|
}
|
|
2244
2242
|
});
|
|
2245
2243
|
}
|
|
2246
|
-
async function createChatBridgeServer(
|
|
2247
|
-
const
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
}), _0x31ee8c = createChatBridgeHandlers(_0x2ed041);
|
|
2255
|
-
return await registerChatBridgeTools(_0x10f471, _0x31ee8c, { 'workerMode': _0x2ed041[_0x19f14c(_0x5909aa._0x101c10)] }), {
|
|
2256
|
-
'handlers': _0x31ee8c,
|
|
2257
|
-
'server': _0x10f471
|
|
2244
|
+
async function createChatBridgeServer(_0x153046) {
|
|
2245
|
+
const _0x5a8bb6 = { _0x2cf826: 0x166 }, _0x28db65 = _0x174aa9, {McpServer: _0x51d987} = await import(_0x28db65(0xa8)), _0x45e63b = new _0x51d987({
|
|
2246
|
+
'name': _0x28db65(_0x5a8bb6._0x2cf826),
|
|
2247
|
+
'version': _0x28db65(0x187)
|
|
2248
|
+
}), _0x3f6407 = createChatBridgeHandlers(_0x153046);
|
|
2249
|
+
return await registerChatBridgeTools(_0x45e63b, _0x3f6407, { 'workerMode': _0x153046[_0x28db65(0x1d4)] }), {
|
|
2250
|
+
'handlers': _0x3f6407,
|
|
2251
|
+
'server': _0x45e63b
|
|
2258
2252
|
};
|
|
2259
2253
|
}
|
|
2260
|
-
function readFlag(
|
|
2261
|
-
const
|
|
2262
|
-
if (
|
|
2254
|
+
function readFlag(_0x5048b8, _0x1a8a39) {
|
|
2255
|
+
const _0x5eada1 = _0x5048b8['indexOf'](_0x1a8a39);
|
|
2256
|
+
if (_0x5eada1 === -0x1)
|
|
2263
2257
|
return void 0x0;
|
|
2264
|
-
return
|
|
2258
|
+
return _0x5048b8[_0x5eada1 + 0x1];
|
|
2265
2259
|
}
|
|
2266
|
-
function parseChatBridgeArgs(
|
|
2267
|
-
const
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
if (!
|
|
2279
|
-
throw new Error('Missing\x20--agent-id');
|
|
2280
|
-
if (!_0x29d4b6)
|
|
2260
|
+
function parseChatBridgeArgs(_0x45aba1) {
|
|
2261
|
+
const _0x1ade3b = {
|
|
2262
|
+
_0x3c3eba: 0x1d3,
|
|
2263
|
+
_0x4f0af7: 0x11e,
|
|
2264
|
+
_0x2f9297: 0xec,
|
|
2265
|
+
_0x488e12: 0x105,
|
|
2266
|
+
_0x5b80ab: 0xd5,
|
|
2267
|
+
_0x2c58ed: 0xb1,
|
|
2268
|
+
_0x38ca88: 0x1ca
|
|
2269
|
+
}, _0x402e32 = _0x174aa9, _0x3e8081 = readFlag(_0x45aba1, _0x402e32(0x1f8)), _0x17e87f = readFlag(_0x45aba1, '--daemon-api-key'), _0x4c8166 = readFlag(_0x45aba1, '--initial-last-seen-seq'), _0x1908a0 = readFlag(_0x45aba1, _0x402e32(0x158)) ?? _0x402e32(_0x1ade3b._0x3c3eba), _0x204527 = readFlag(_0x45aba1, _0x402e32(0x7a)), _0x2bb4f7 = readFlag(_0x45aba1, _0x402e32(0x18b)), _0x1e3aa3 = readFlag(_0x45aba1, _0x402e32(_0x1ade3b._0x4f0af7)), _0xbd6344 = readFlag(_0x45aba1, _0x402e32(_0x1ade3b._0x2f9297)), _0x5bf7ce = readFlag(_0x45aba1, _0x402e32(0x1f2)), _0x513020 = _0x45aba1['includes'](_0x402e32(0xdf)), _0x272199 = _0x4c8166 === void 0x0 ? void 0x0 : Number[_0x402e32(_0x1ade3b._0x488e12)](_0x4c8166, 0xa);
|
|
2270
|
+
if (!_0x3e8081)
|
|
2271
|
+
throw new Error(_0x402e32(_0x1ade3b._0x5b80ab));
|
|
2272
|
+
if (!_0x17e87f)
|
|
2281
2273
|
throw new Error('Missing\x20--daemon-api-key');
|
|
2282
|
-
if (
|
|
2283
|
-
throw new Error(
|
|
2274
|
+
if (_0x4c8166 !== void 0x0 && (_0x272199 === void 0x0 || !Number['isFinite'](_0x272199) || _0x272199 < 0x0))
|
|
2275
|
+
throw new Error(_0x402e32(_0x1ade3b._0x2c58ed));
|
|
2284
2276
|
return {
|
|
2285
|
-
'agentId':
|
|
2286
|
-
'daemonApiKey':
|
|
2287
|
-
'daemonLocalUrl':
|
|
2288
|
-
'initialLastSeenSeq':
|
|
2289
|
-
'sessionId':
|
|
2290
|
-
'serverUrl':
|
|
2291
|
-
'workerModeEnabled':
|
|
2292
|
-
'workerSessionId':
|
|
2293
|
-
'workerThreadTarget':
|
|
2294
|
-
'workerMode':
|
|
2277
|
+
'agentId': _0x3e8081,
|
|
2278
|
+
'daemonApiKey': _0x17e87f,
|
|
2279
|
+
'daemonLocalUrl': _0x204527,
|
|
2280
|
+
'initialLastSeenSeq': _0x272199,
|
|
2281
|
+
'sessionId': _0x2bb4f7,
|
|
2282
|
+
'serverUrl': _0x1908a0,
|
|
2283
|
+
'workerModeEnabled': _0x1e3aa3 === void 0x0 ? void 0x0 : _0x1e3aa3 !== _0x402e32(_0x1ade3b._0x38ca88),
|
|
2284
|
+
'workerSessionId': _0xbd6344,
|
|
2285
|
+
'workerThreadTarget': _0x5bf7ce,
|
|
2286
|
+
'workerMode': _0x513020
|
|
2295
2287
|
};
|
|
2296
2288
|
}
|
|
2297
|
-
async function runChatBridgeCli(
|
|
2298
|
-
const
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
},
|
|
2303
|
-
'agentId':
|
|
2304
|
-
'attachmentCache':
|
|
2305
|
-
'client':
|
|
2306
|
-
'daemonLocalUrl':
|
|
2289
|
+
async function runChatBridgeCli(_0x220ef4) {
|
|
2290
|
+
const _0x1f9b42 = {
|
|
2291
|
+
_0x1d1d57: 0x160,
|
|
2292
|
+
_0x5f0f2f: 0xfc,
|
|
2293
|
+
_0x157aaf: 0x1d4
|
|
2294
|
+
}, _0x7f12ff = _0x174aa9, _0x3f288a = parseChatBridgeArgs(_0x220ef4), {StdioServerTransport: _0x5584e6} = await import(_0x7f12ff(0x10a)), _0x20b5a1 = createInternalAgentClient(_0x3f288a), _0x43c629 = createAttachmentCache(), _0x567279 = await createChatBridgeServer({
|
|
2295
|
+
'agentId': _0x3f288a[_0x7f12ff(_0x1f9b42._0x1d1d57)],
|
|
2296
|
+
'attachmentCache': _0x43c629,
|
|
2297
|
+
'client': _0x20b5a1,
|
|
2298
|
+
'daemonLocalUrl': _0x3f288a[_0x7f12ff(_0x1f9b42._0x5f0f2f)],
|
|
2307
2299
|
'uploadPreparer': prepareUploadFile,
|
|
2308
|
-
'workerModeEnabled':
|
|
2309
|
-
'workerMode':
|
|
2300
|
+
'workerModeEnabled': _0x3f288a[_0x7f12ff(0xad)],
|
|
2301
|
+
'workerMode': _0x3f288a[_0x7f12ff(_0x1f9b42._0x157aaf)]
|
|
2310
2302
|
});
|
|
2311
|
-
await
|
|
2303
|
+
await _0x567279[_0x7f12ff(0x196)][_0x7f12ff(0x1eb)](new _0x5584e6());
|
|
2312
2304
|
}
|
|
2313
|
-
var executedAsEntry = process[
|
|
2314
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2305
|
+
var executedAsEntry = process[_0x174aa9(0x12b)][0x1] ? import.meta.url === pathToFileURL(process[_0x174aa9(0x12b)][0x1])[_0x174aa9(0xf4)] : ![];
|
|
2306
|
+
executedAsEntry && await runChatBridgeCli(process['argv'][_0x174aa9(0x1bd)](0x2));
|
|
2315
2307
|
export {
|
|
2316
2308
|
createChatBridgeHandlers,
|
|
2317
2309
|
createChatBridgeServer,
|