@dscord/daemon 0.1.82 → 0.1.83
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 +2099 -2054
- package/dist/index.js +10125 -10065
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, _0x3a0429 = _0x2d35, _0x117f3e = _0x54f002();
|
|
1
|
+
const _0x51636d = _0x3278;
|
|
2
|
+
(function (_0x249583, _0x296eb0) {
|
|
3
|
+
const _0x547bbb = {
|
|
4
|
+
_0x53e8e7: 0x11a,
|
|
5
|
+
_0xc1ea86: 0x1df,
|
|
6
|
+
_0x3b0098: 0x238,
|
|
7
|
+
_0x4993ca: 0x236,
|
|
8
|
+
_0x28d64d: 0x195
|
|
9
|
+
}, _0x4c89c7 = _0x3278, _0xc253c7 = _0x249583();
|
|
11
10
|
while (!![]) {
|
|
12
11
|
try {
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
12
|
+
const _0x25b193 = parseInt(_0x4c89c7(_0x547bbb._0x53e8e7)) / 0x1 + -parseInt(_0x4c89c7(0x1c5)) / 0x2 + parseInt(_0x4c89c7(0x258)) / 0x3 * (parseInt(_0x4c89c7(_0x547bbb._0xc1ea86)) / 0x4) + parseInt(_0x4c89c7(_0x547bbb._0x3b0098)) / 0x5 * (-parseInt(_0x4c89c7(_0x547bbb._0x4993ca)) / 0x6) + parseInt(_0x4c89c7(0x21c)) / 0x7 + -parseInt(_0x4c89c7(_0x547bbb._0x28d64d)) / 0x8 + -parseInt(_0x4c89c7(0x261)) / 0x9;
|
|
13
|
+
if (_0x25b193 === _0x296eb0)
|
|
15
14
|
break;
|
|
16
15
|
else
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
16
|
+
_0xc253c7['push'](_0xc253c7['shift']());
|
|
17
|
+
} catch (_0x585ad3) {
|
|
18
|
+
_0xc253c7['push'](_0xc253c7['shift']());
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
|
-
}(
|
|
21
|
+
}(_0x3988, 0x51512));
|
|
23
22
|
import { pathToFileURL } from 'node:url';
|
|
24
23
|
import {
|
|
25
24
|
mkdir,
|
|
@@ -29,2409 +28,2455 @@ import {
|
|
|
29
28
|
writeFile
|
|
30
29
|
} from 'node:fs/promises';
|
|
31
30
|
import { homedir } from 'node:os';
|
|
32
|
-
import
|
|
31
|
+
import _0x358960 from 'node:path';
|
|
33
32
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
34
|
-
'.csv':
|
|
35
|
-
'.gif':
|
|
36
|
-
'.jpeg':
|
|
37
|
-
'.jpg':
|
|
38
|
-
'.json':
|
|
39
|
-
'.md':
|
|
40
|
-
'.pdf':
|
|
33
|
+
'.csv': _0x51636d(0xf4),
|
|
34
|
+
'.gif': 'image/gif',
|
|
35
|
+
'.jpeg': _0x51636d(0x17f),
|
|
36
|
+
'.jpg': 'image/jpeg',
|
|
37
|
+
'.json': _0x51636d(0x23f),
|
|
38
|
+
'.md': 'text/markdown',
|
|
39
|
+
'.pdf': _0x51636d(0x14f),
|
|
41
40
|
'.png': 'image/png',
|
|
42
|
-
'.svg':
|
|
43
|
-
'.txt':
|
|
41
|
+
'.svg': _0x51636d(0x198),
|
|
42
|
+
'.txt': _0x51636d(0x24c),
|
|
44
43
|
'.webp': 'image/webp',
|
|
45
|
-
'.xml':
|
|
46
|
-
'.zip':
|
|
44
|
+
'.xml': _0x51636d(0x123),
|
|
45
|
+
'.zip': _0x51636d(0x15a)
|
|
47
46
|
};
|
|
48
|
-
function guessContentType(
|
|
49
|
-
const
|
|
50
|
-
return MIME_BY_EXTENSION[
|
|
47
|
+
function guessContentType(_0xb55bca) {
|
|
48
|
+
const _0x148567 = { _0x8be80f: 0x19e }, _0x23bbb7 = _0x51636d;
|
|
49
|
+
return MIME_BY_EXTENSION[_0x358960['extname'](_0xb55bca)['toLowerCase']()] ?? _0x23bbb7(_0x148567._0x8be80f);
|
|
51
50
|
}
|
|
52
|
-
function safeFilename(
|
|
53
|
-
|
|
54
|
-
return _0x128d82[_0x19c8e2(0x1ec)](/[\\/]/g, '-');
|
|
51
|
+
function safeFilename(_0x231ac4) {
|
|
52
|
+
return _0x231ac4['replace'](/[\\/]/g, '-');
|
|
55
53
|
}
|
|
56
|
-
function extensionFor(
|
|
57
|
-
const
|
|
58
|
-
return
|
|
54
|
+
function extensionFor(_0x1aabf3) {
|
|
55
|
+
const _0x308633 = { _0x3b9f7a: 0x174 }, _0x3377cb = _0x51636d, _0x1c87c6 = Object[_0x3377cb(0x1bf)](MIME_BY_EXTENSION)[_0x3377cb(0x251)](([, _0x459e68]) => _0x459e68 === _0x1aabf3);
|
|
56
|
+
return _0x1c87c6?.[0x0] ?? _0x3377cb(_0x308633._0x3b9f7a);
|
|
59
57
|
}
|
|
60
|
-
async function prepareUploadFile(
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
throw new Error(_0x28e231(_0x4ad7e1._0x4fe438) + _0x29b1f8[_0x28e231(0x1a3)]);
|
|
77
|
-
const _0x49c06d = await readFile(_0x5e8795), _0x2975ec = _0x1c7a71[_0x28e231(_0x4ad7e1._0x54bc94)](_0x5e8795);
|
|
58
|
+
async function prepareUploadFile(_0x30effb, _0x140193 = {}) {
|
|
59
|
+
const _0xd618cf = {
|
|
60
|
+
_0x5ad19a: 0x166,
|
|
61
|
+
_0x3582e5: 0x211,
|
|
62
|
+
_0x3c6af3: 0x16f,
|
|
63
|
+
_0x23508d: 0x138
|
|
64
|
+
}, _0x562fc2 = _0x51636d;
|
|
65
|
+
if (!_0x358960[_0x562fc2(0x159)](_0x30effb))
|
|
66
|
+
throw new Error('file_path\x20must\x20be\x20an\x20absolute\x20path');
|
|
67
|
+
const _0x50df4a = await stat(_0x30effb)['catch'](() => null);
|
|
68
|
+
if (!_0x50df4a || !_0x50df4a[_0x562fc2(0x20d)]())
|
|
69
|
+
throw new Error('File\x20not\x20found:\x20' + _0x30effb);
|
|
70
|
+
const _0x3d28ed = _0x140193[_0x562fc2(_0xd618cf._0x5ad19a)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
71
|
+
if (_0x50df4a['size'] > _0x3d28ed)
|
|
72
|
+
throw new Error(_0x562fc2(_0xd618cf._0x3582e5) + _0x50df4a[_0x562fc2(0x138)]);
|
|
73
|
+
const _0x317dca = await readFile(_0x30effb), _0x5ac7bc = _0x358960['basename'](_0x30effb);
|
|
78
74
|
return {
|
|
79
|
-
'contentBase64':
|
|
80
|
-
'contentType': guessContentType(
|
|
81
|
-
'filename':
|
|
82
|
-
'sizeBytes':
|
|
75
|
+
'contentBase64': _0x317dca['toString'](_0x562fc2(_0xd618cf._0x3c6af3)),
|
|
76
|
+
'contentType': guessContentType(_0x5ac7bc),
|
|
77
|
+
'filename': _0x5ac7bc,
|
|
78
|
+
'sizeBytes': _0x50df4a[_0x562fc2(_0xd618cf._0x23508d)]
|
|
83
79
|
};
|
|
84
80
|
}
|
|
85
|
-
function
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
_0x1005ae: 0x218,
|
|
89
|
-
_0x67c4: 0x261
|
|
90
|
-
}, _0x2beb98 = { _0x89391b: 0x1cd }, _0x5803bd = _0xb29927, _0x21ced0 = _0x4c1608[_0x5803bd(0x27b)] ?? _0x1c7a71['join'](homedir(), _0x5803bd(0x279), 'attachments');
|
|
91
|
-
return {
|
|
92
|
-
'cacheDir': _0x21ced0,
|
|
93
|
-
async 'findCachedPath'(_0x27ece5) {
|
|
94
|
-
const _0x49d0a5 = _0x5803bd;
|
|
95
|
-
await mkdir(_0x21ced0, { 'recursive': !![] });
|
|
96
|
-
const _0x204806 = await readdir(_0x21ced0), _0x5cc330 = _0x204806[_0x49d0a5(_0x2beb98._0x89391b)](_0x2c3c43 => _0x2c3c43[_0x49d0a5(0x1e5)](_0x27ece5 + '-') || _0x2c3c43[_0x49d0a5(0x1e5)](_0x27ece5));
|
|
97
|
-
return _0x5cc330 ? _0x1c7a71[_0x49d0a5(0x218)](_0x21ced0, _0x5cc330) : null;
|
|
98
|
-
},
|
|
99
|
-
async 'save'(_0x33c770) {
|
|
100
|
-
const _0xcd682b = _0x5803bd;
|
|
101
|
-
await mkdir(_0x21ced0, { 'recursive': !![] });
|
|
102
|
-
const _0x3d329a = _0x33c770[_0xcd682b(_0x13691f._0xf04882)]?.['trim']() ? safeFilename(_0x33c770[_0xcd682b(0x238)]) : '' + _0x33c770['attachmentId'] + extensionFor(_0x33c770['contentType']), _0x11b55a = _0x1c7a71[_0xcd682b(_0x13691f._0x1005ae)](_0x21ced0, _0x33c770['attachmentId'] + '-' + _0x3d329a);
|
|
103
|
-
return await writeFile(_0x11b55a, _0x33c770[_0xcd682b(_0x13691f._0x67c4)]), _0x11b55a;
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
import {
|
|
108
|
-
createHash,
|
|
109
|
-
randomUUID
|
|
110
|
-
} from 'node:crypto';
|
|
111
|
-
var UNSUPPORTED_TARGET_MESSAGE = 'Unsupported\x20target\x20format.\x20Supported\x20values\x20are\x20#channel,\x20dm:dm-<name>,\x20and\x20their\x20thread\x20targets.';
|
|
112
|
-
function ensureSegment(_0x1d2fd1) {
|
|
113
|
-
const _0x500a08 = _0xb29927, _0x5540fd = _0x1d2fd1['trim']();
|
|
114
|
-
if (!_0x5540fd || _0x5540fd[_0x500a08(0x15f)](':'))
|
|
115
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
116
|
-
return _0x5540fd;
|
|
117
|
-
}
|
|
118
|
-
function parseThreadParts(_0x293807) {
|
|
119
|
-
const _0x23004b = {
|
|
120
|
-
_0x3bbd0d: 0x143,
|
|
121
|
-
_0x5d0d73: 0x2ad
|
|
122
|
-
}, _0x56aef0 = _0xb29927, _0x4fea7a = _0x293807[_0x56aef0(_0x23004b._0x3bbd0d)](':');
|
|
123
|
-
if (_0x4fea7a[_0x56aef0(_0x23004b._0x5d0d73)] < 0x1 || _0x4fea7a[_0x56aef0(0x2ad)] > 0x2)
|
|
124
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
125
|
-
return {
|
|
126
|
-
'channelName': ensureSegment(_0x4fea7a[0x0] ?? ''),
|
|
127
|
-
'threadShortId': _0x4fea7a[0x1] ? ensureSegment(_0x4fea7a[0x1]) : null
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
function parseTarget(_0x463003) {
|
|
131
|
-
const _0x47bf37 = {
|
|
132
|
-
_0x25b0cb: 0x17c,
|
|
133
|
-
_0x4528ff: 0x150,
|
|
134
|
-
_0xd7566a: 0x14e,
|
|
135
|
-
_0x300bb0: 0x1e5,
|
|
136
|
-
_0x5e87e7: 0x17c
|
|
137
|
-
}, _0x5aff65 = _0xb29927, _0x3400ca = _0x463003[_0x5aff65(0x15c)]();
|
|
138
|
-
if (!_0x3400ca)
|
|
139
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
140
|
-
if (_0x3400ca['startsWith']('#')) {
|
|
141
|
-
const _0x2d39c3 = parseThreadParts(_0x3400ca[_0x5aff65(0x26d)](0x1)), _0x53b0b4 = '#' + _0x2d39c3[_0x5aff65(0x150)];
|
|
142
|
-
if (!_0x2d39c3[_0x5aff65(_0x47bf37._0x25b0cb)])
|
|
143
|
-
return {
|
|
144
|
-
'channelName': _0x2d39c3[_0x5aff65(_0x47bf37._0x4528ff)],
|
|
145
|
-
'channelTarget': _0x53b0b4,
|
|
146
|
-
'kind': _0x5aff65(0x1d2),
|
|
147
|
-
'target': _0x53b0b4
|
|
148
|
-
};
|
|
149
|
-
return {
|
|
150
|
-
'channelName': _0x2d39c3['channelName'],
|
|
151
|
-
'channelTarget': _0x53b0b4,
|
|
152
|
-
'kind': _0x5aff65(_0x47bf37._0xd7566a),
|
|
153
|
-
'target': _0x53b0b4 + ':' + _0x2d39c3[_0x5aff65(0x17c)],
|
|
154
|
-
'threadShortId': _0x2d39c3['threadShortId']
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
if (_0x3400ca[_0x5aff65(_0x47bf37._0x300bb0)](_0x5aff65(0x1e1))) {
|
|
158
|
-
const _0x543ca8 = parseThreadParts(_0x3400ca[_0x5aff65(0x26d)](0x3));
|
|
159
|
-
if (!_0x543ca8[_0x5aff65(0x150)]['startsWith'](_0x5aff65(0x14b)))
|
|
160
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
161
|
-
const _0x1fc66b = _0x5aff65(0x1e1) + _0x543ca8[_0x5aff65(_0x47bf37._0x4528ff)];
|
|
162
|
-
if (!_0x543ca8['threadShortId'])
|
|
163
|
-
return {
|
|
164
|
-
'channelName': _0x543ca8[_0x5aff65(0x150)],
|
|
165
|
-
'channelTarget': _0x1fc66b,
|
|
166
|
-
'kind': 'channel',
|
|
167
|
-
'target': _0x1fc66b
|
|
168
|
-
};
|
|
169
|
-
return {
|
|
170
|
-
'channelName': _0x543ca8[_0x5aff65(_0x47bf37._0x4528ff)],
|
|
171
|
-
'channelTarget': _0x1fc66b,
|
|
172
|
-
'kind': _0x5aff65(0x14e),
|
|
173
|
-
'target': _0x1fc66b + ':' + _0x543ca8[_0x5aff65(_0x47bf37._0x5e87e7)],
|
|
174
|
-
'threadShortId': _0x543ca8[_0x5aff65(_0x47bf37._0x5e87e7)]
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
178
|
-
}
|
|
179
|
-
function asErrorMessage(_0xcac29, _0x13974f) {
|
|
180
|
-
const _0x1fa54d = { _0x3800ec: 0x15c }, _0x5e3be3 = _0xb29927;
|
|
181
|
-
if (typeof _0xcac29 === _0x5e3be3(0x1a8) && _0xcac29[_0x5e3be3(_0x1fa54d._0x3800ec)]())
|
|
182
|
-
return _0xcac29;
|
|
183
|
-
return _0x13974f;
|
|
184
|
-
}
|
|
185
|
-
function asRecord(_0x49ee71) {
|
|
186
|
-
const _0x580e6c = _0xb29927;
|
|
187
|
-
return typeof _0x49ee71 === _0x580e6c(0x220) && _0x49ee71 !== null ? _0x49ee71 : {};
|
|
188
|
-
}
|
|
189
|
-
function stableStringify(_0x19bd11) {
|
|
190
|
-
const _0xfa04bd = {
|
|
191
|
-
_0x55b33c: 0x205,
|
|
192
|
-
_0x5f5d49: 0x19d,
|
|
193
|
-
_0x32a5d6: 0x211
|
|
194
|
-
}, _0x56eca6 = _0xb29927;
|
|
195
|
-
if (_0x19bd11 === null || typeof _0x19bd11 !== 'object')
|
|
196
|
-
return JSON[_0x56eca6(0x214)](_0x19bd11);
|
|
197
|
-
if (Array[_0x56eca6(0x1c8)](_0x19bd11))
|
|
198
|
-
return '[' + _0x19bd11[_0x56eca6(_0xfa04bd._0x55b33c)](_0x21d05c => stableStringify(_0x21d05c))[_0x56eca6(0x218)](',') + ']';
|
|
199
|
-
const _0x536c52 = Object[_0x56eca6(_0xfa04bd._0x5f5d49)](_0x19bd11)[_0x56eca6(0x233)](([, _0x24382c]) => _0x24382c !== void 0x0)[_0x56eca6(_0xfa04bd._0x32a5d6)](([_0x1e6b17], [_0x4021ef]) => _0x1e6b17[_0x56eca6(0x16a)](_0x4021ef))[_0x56eca6(_0xfa04bd._0x55b33c)](([_0x56e63a, _0x36b0f7]) => JSON[_0x56eca6(0x214)](_0x56e63a) + ':' + stableStringify(_0x36b0f7));
|
|
200
|
-
return '{' + _0x536c52['join'](',') + '}';
|
|
201
|
-
}
|
|
202
|
-
function createHeaders(_0x42d831) {
|
|
203
|
-
const _0x5a5816 = { _0x2b33d1: 0x12e }, _0x3db7f3 = _0xb29927;
|
|
204
|
-
return {
|
|
205
|
-
'Content-Type': _0x3db7f3(_0x5a5816._0x2b33d1),
|
|
206
|
-
'x-daemon-api-key': _0x42d831
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
function toHttpBaseUrl(_0x50e99a) {
|
|
210
|
-
const _0x37e211 = {
|
|
211
|
-
_0xc86ca6: 0x182,
|
|
212
|
-
_0x386a6d: 0x185,
|
|
213
|
-
_0x1e9732: 0x2ae,
|
|
214
|
-
_0x958d70: 0x1ec
|
|
215
|
-
}, _0x3500e2 = _0xb29927, _0x23c69c = new URL(_0x50e99a);
|
|
216
|
-
if (_0x23c69c[_0x3500e2(0x185)] === _0x3500e2(_0x37e211._0xc86ca6))
|
|
217
|
-
_0x23c69c[_0x3500e2(0x185)] = 'http:';
|
|
218
|
-
else
|
|
219
|
-
_0x23c69c[_0x3500e2(0x185)] === _0x3500e2(0x12d) && (_0x23c69c[_0x3500e2(_0x37e211._0x386a6d)] = _0x3500e2(_0x37e211._0x1e9732));
|
|
220
|
-
return _0x23c69c[_0x3500e2(0x248)]()[_0x3500e2(_0x37e211._0x958d70)](/\/$/, '');
|
|
221
|
-
}
|
|
222
|
-
function isMentionBoundary(_0x39850c) {
|
|
223
|
-
const _0x31184d = _0xb29927;
|
|
224
|
-
return !_0x39850c || /\s|[([{'",。!?、:;]/[_0x31184d(0x146)](_0x39850c);
|
|
225
|
-
}
|
|
226
|
-
function isMentionTerminal(_0x43920c) {
|
|
227
|
-
const _0x4cc81e = { _0x4f24ce: 0x146 }, _0xe33807 = _0xb29927;
|
|
228
|
-
return !_0x43920c || /\s|[)\]}'",。!?、:;,.!?]/[_0xe33807(_0x4cc81e._0x4f24ce)](_0x43920c);
|
|
229
|
-
}
|
|
230
|
-
function buildMatchableEntries(_0x4d12cb) {
|
|
231
|
-
const _0x3ff83d = {
|
|
232
|
-
_0x2941f3: 0x181,
|
|
233
|
-
_0x38be87: 0x2a4,
|
|
234
|
-
_0x3f6ef3: 0x230,
|
|
235
|
-
_0xd21088: 0x250
|
|
236
|
-
}, _0x148f90 = _0xb29927, _0x1cad00 = [];
|
|
237
|
-
for (const _0x34a361 of [
|
|
238
|
-
..._0x4d12cb[_0x148f90(_0x3ff83d._0x2941f3)],
|
|
239
|
-
..._0x4d12cb[_0x148f90(_0x3ff83d._0x38be87)]
|
|
240
|
-
]) {
|
|
241
|
-
_0x1cad00[_0x148f90(_0x3ff83d._0x3f6ef3)]({
|
|
242
|
-
'matchName': _0x34a361[_0x148f90(_0x3ff83d._0xd21088)],
|
|
243
|
-
'matchNameLower': _0x34a361[_0x148f90(0x250)][_0x148f90(0x21a)](),
|
|
244
|
-
'participantId': _0x34a361['id']
|
|
245
|
-
}), _0x34a361['id'] !== _0x34a361[_0x148f90(_0x3ff83d._0xd21088)] && _0x1cad00[_0x148f90(0x230)]({
|
|
246
|
-
'matchName': _0x34a361['id'],
|
|
247
|
-
'matchNameLower': _0x34a361['id']['toLocaleLowerCase'](),
|
|
248
|
-
'participantId': _0x34a361['id']
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
return _0x1cad00;
|
|
252
|
-
}
|
|
253
|
-
function extractMentionedParticipantIds(_0x2d163a, _0x338326) {
|
|
254
|
-
const _0x39ec49 = {
|
|
255
|
-
_0x243c34: 0x211,
|
|
256
|
-
_0x59edb4: 0x2ad,
|
|
257
|
-
_0x5ce494: 0x26d,
|
|
258
|
-
_0x19cf20: 0x21a,
|
|
259
|
-
_0x5b49b0: 0x23f,
|
|
260
|
-
_0x1664c5: 0x216,
|
|
261
|
-
_0x42190b: 0x14f
|
|
262
|
-
}, _0x4625a3 = _0xb29927, _0x48126a = buildMatchableEntries(_0x338326)[_0x4625a3(_0x39ec49._0x243c34)]((_0x6baa77, _0x16892c) => _0x16892c[_0x4625a3(0x14f)][_0x4625a3(0x2ad)] - _0x6baa77[_0x4625a3(0x14f)][_0x4625a3(0x2ad)]), _0x52237c = [], _0x5644a8 = new Set();
|
|
263
|
-
for (let _0x3aeae0 = 0x0; _0x3aeae0 < _0x2d163a[_0x4625a3(_0x39ec49._0x59edb4)]; _0x3aeae0 += 0x1) {
|
|
264
|
-
if (_0x2d163a[_0x3aeae0] !== '@' || !isMentionBoundary(_0x2d163a[_0x3aeae0 - 0x1]))
|
|
265
|
-
continue;
|
|
266
|
-
const _0x2f7948 = _0x2d163a[_0x4625a3(_0x39ec49._0x5ce494)](_0x3aeae0 + 0x1), _0x396c6b = _0x2f7948[_0x4625a3(_0x39ec49._0x19cf20)](), _0x59a775 = _0x48126a['find'](_0x4db022 => {
|
|
267
|
-
const _0x48738a = _0x4625a3;
|
|
268
|
-
if (!_0x396c6b[_0x48738a(0x1e5)](_0x4db022[_0x48738a(0x13c)]))
|
|
269
|
-
return ![];
|
|
270
|
-
return isMentionTerminal(_0x2f7948[_0x4db022['matchName']['length']]);
|
|
271
|
-
});
|
|
272
|
-
if (!_0x59a775 || _0x5644a8[_0x4625a3(_0x39ec49._0x5b49b0)](_0x59a775[_0x4625a3(0x1f8)]))
|
|
273
|
-
continue;
|
|
274
|
-
_0x5644a8[_0x4625a3(_0x39ec49._0x1664c5)](_0x59a775['participantId']), _0x52237c['push'](_0x59a775['participantId']), _0x3aeae0 += _0x59a775[_0x4625a3(_0x39ec49._0x42190b)][_0x4625a3(0x2ad)];
|
|
275
|
-
}
|
|
276
|
-
return _0x52237c;
|
|
277
|
-
}
|
|
278
|
-
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
279
|
-
function anySignal(..._0x51cca0) {
|
|
280
|
-
const _0x2dacb5 = {
|
|
281
|
-
_0x59f998: 0x26e,
|
|
282
|
-
_0x227d03: 0x290,
|
|
283
|
-
_0x2a5111: 0x1fa
|
|
284
|
-
}, _0xf12192 = _0xb29927, _0x318cca = new AbortController();
|
|
285
|
-
for (const _0x10f55d of _0x51cca0) {
|
|
286
|
-
if (_0x10f55d['aborted'])
|
|
287
|
-
return _0x318cca[_0xf12192(_0x2dacb5._0x59f998)](_0x10f55d['reason']), _0x318cca[_0xf12192(_0x2dacb5._0x227d03)];
|
|
288
|
-
_0x10f55d[_0xf12192(_0x2dacb5._0x2a5111)](_0xf12192(_0x2dacb5._0x59f998), () => _0x318cca['abort'](_0x10f55d[_0xf12192(0x272)]), {
|
|
289
|
-
'once': !![],
|
|
290
|
-
'signal': _0x318cca['signal']
|
|
291
|
-
});
|
|
292
|
-
}
|
|
293
|
-
return _0x318cca[_0xf12192(0x290)];
|
|
294
|
-
}
|
|
295
|
-
function _0x3492() {
|
|
296
|
-
const _0x19204e = [
|
|
297
|
-
'l3jLy2vPDMu/',
|
|
298
|
-
'D3nZoG',
|
|
299
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
300
|
-
'DgHYzwfKvgfYz2v0',
|
|
301
|
-
'yxr0ywnOBwvUDeLK',
|
|
302
|
-
'C2vUzgvYtMfTzq',
|
|
303
|
-
'ywz0zxi',
|
|
304
|
-
'DgHYzwfKswq',
|
|
81
|
+
function _0x3988() {
|
|
82
|
+
const _0x2c6691 = [
|
|
83
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
305
84
|
'BgLZDf90yxnRCW',
|
|
306
|
-
'
|
|
307
|
-
'
|
|
308
|
-
'
|
|
309
|
-
'
|
|
310
|
-
'
|
|
311
|
-
'
|
|
312
|
-
'
|
|
313
|
-
'
|
|
314
|
-
'
|
|
85
|
+
'DgfZA051BwjLCG',
|
|
86
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
87
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
88
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
89
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
90
|
+
'ywDLBNrZ',
|
|
91
|
+
'yxjYyxLcDwzMzxi',
|
|
92
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
93
|
+
'r0vu',
|
|
94
|
+
'l3nLCNzLCG',
|
|
95
|
+
'EM9K',
|
|
96
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
97
|
+
'AgfZ',
|
|
98
|
+
'C3vIDgfZA051BwjLCG',
|
|
99
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
100
|
+
'D3m6',
|
|
101
|
+
'oeDtENvQqG',
|
|
102
|
+
'Axnoyu4',
|
|
103
|
+
'y2HLy2TnzxnZywDLCW',
|
|
104
|
+
'y3jLyxrLzef0',
|
|
105
|
+
'v29YA2vYici',
|
|
106
|
+
'DxbSB2fKx2zPBgu',
|
|
107
|
+
'CNvUswq',
|
|
315
108
|
'C2HHmJu2',
|
|
316
|
-
'
|
|
109
|
+
'C3rVCe1HAw4',
|
|
110
|
+
'vgfZAYa',
|
|
111
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
112
|
+
'CgfYC2vjBNq',
|
|
113
|
+
'ywz0zxjtzxe',
|
|
114
|
+
'cGOTls0G',
|
|
115
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
116
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
117
|
+
'zg06',
|
|
118
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
119
|
+
'yxjNDG',
|
|
120
|
+
'BwvTyMvY',
|
|
121
|
+
'CMvJB3jK',
|
|
122
|
+
'Bwv0yq',
|
|
123
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
124
|
+
'CgfYA193B3jRzxi',
|
|
125
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
126
|
+
'C2vYDMvYtMfTzq',
|
|
127
|
+
'zNjVBq',
|
|
128
|
+
'z2v0sg91CNm',
|
|
317
129
|
'zxHLy3v0Aw9Utw9Kzq',
|
|
318
|
-
'
|
|
319
|
-
'
|
|
320
|
-
'
|
|
321
|
-
'
|
|
322
|
-
'
|
|
323
|
-
'
|
|
324
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
325
|
-
'DgfYz2v0zwq',
|
|
326
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
327
|
-
'C3rHDhvZ',
|
|
328
|
-
'zg0T',
|
|
329
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
330
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
331
|
-
'DgHYzwfK',
|
|
332
|
-
'Bwf0y2Hoyw1L',
|
|
333
|
-
'y2HHBM5LBe5HBwu',
|
|
130
|
+
'6k+35Rgcia',
|
|
131
|
+
'ls1ZzxnZAw9UlwLK',
|
|
132
|
+
'C2LNBMfS',
|
|
133
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
134
|
+
'l2nVBNrLBNq',
|
|
135
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
334
136
|
'yxnPzgu',
|
|
335
|
-
'
|
|
336
|
-
'
|
|
337
|
-
'
|
|
338
|
-
'
|
|
339
|
-
'
|
|
340
|
-
'
|
|
341
|
-
'
|
|
342
|
-
'
|
|
343
|
-
'
|
|
344
|
-
'
|
|
345
|
-
'
|
|
346
|
-
'
|
|
347
|
-
'
|
|
348
|
-
'
|
|
349
|
-
'
|
|
350
|
-
'
|
|
351
|
-
'
|
|
352
|
-
'
|
|
353
|
-
'
|
|
354
|
-
'
|
|
355
|
-
'
|
|
356
|
-
'
|
|
357
|
-
'AgfZtw9Yzq',
|
|
358
|
-
'ywXS',
|
|
137
|
+
'zgvZDhjVEwvK',
|
|
138
|
+
'C2vYDMvY',
|
|
139
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
140
|
+
'BwLU',
|
|
141
|
+
'DgfZA0LK',
|
|
142
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
143
|
+
'AhvTyw5Z',
|
|
144
|
+
'yxnZAwDUzwvoyw1L',
|
|
145
|
+
'Agv4',
|
|
146
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
147
|
+
'AxngAwXL',
|
|
148
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
149
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
150
|
+
'y2HPBgrYzw5eB25L',
|
|
151
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
152
|
+
'DgHYzwfKvgfYz2v0',
|
|
153
|
+
'D29YA19RzxK',
|
|
154
|
+
'CMvHC29U',
|
|
155
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
156
|
+
'lsaJ',
|
|
157
|
+
'BMv4Den1CNnVCG',
|
|
158
|
+
'D29YA2vYCW',
|
|
359
159
|
'Bg9JywXLq29TCgfYzq',
|
|
360
|
-
'
|
|
160
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
161
|
+
'BwvZC2fNzq',
|
|
162
|
+
'mZu3nZm4nw92Ew9HBG',
|
|
163
|
+
'ig1LC3nHz2vZkqOk',
|
|
164
|
+
'igfZC2LNBMvLpua',
|
|
165
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
166
|
+
'ChvZAa',
|
|
167
|
+
'CMvHzeHPC3rVCNK',
|
|
168
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
169
|
+
'pgvTChr5pG',
|
|
170
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
171
|
+
'BgvUz3rO',
|
|
172
|
+
'v29YA2vYia',
|
|
173
|
+
'zgvZy3jPChrPB24',
|
|
174
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
175
|
+
'ywjVCNq',
|
|
176
|
+
'z2v0tw9UDgG',
|
|
177
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
178
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
179
|
+
'DMfSDwvZ',
|
|
180
|
+
'D2fPDgLUz19PBNb1Da',
|
|
181
|
+
'zMLSzw5HBwu',
|
|
182
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
183
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
184
|
+
'C2L6zuj5DgvZ',
|
|
185
|
+
'C3vJy2vZCW',
|
|
186
|
+
'BM93',
|
|
187
|
+
'BgLZDfnLCNzLCG',
|
|
188
|
+
'mZG1ogr3yw96CW',
|
|
189
|
+
'C2vX',
|
|
190
|
+
'mJeXnwXjB05eCq',
|
|
191
|
+
'CMvZCg9UC2u',
|
|
192
|
+
'DgfZA3m',
|
|
193
|
+
'D29YA2vYtw9Kzq',
|
|
194
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
195
|
+
'Dw5RBM93BG',
|
|
196
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
197
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
198
|
+
'yxjYyxK',
|
|
199
|
+
'CgfYDgLJAxbHBNrjza',
|
|
200
|
+
'C3rHDhvZ',
|
|
201
|
+
'DxjNzw50',
|
|
202
|
+
'ywDLBNrjza',
|
|
203
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
361
204
|
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
205
|
+
'z2v0u2vJB25KCW',
|
|
206
|
+
'A2LUza',
|
|
207
|
+
'y2XPzw50',
|
|
208
|
+
'DxrMoa',
|
|
209
|
+
'zgvSzxrL',
|
|
210
|
+
'Dgv4Dc9WBgfPBG',
|
|
211
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
212
|
+
'DgHYzwfKswq',
|
|
213
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
214
|
+
'BgLTAxq',
|
|
215
|
+
'zMLUza',
|
|
362
216
|
'Aw5FChjVz3jLC3m',
|
|
363
|
-
'
|
|
217
|
+
'ywDNCMvNyxrLswq',
|
|
218
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
219
|
+
'ChvIBgLJ',
|
|
364
220
|
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
365
|
-
'
|
|
366
|
-
'
|
|
367
|
-
'
|
|
368
|
-
'ue9tva',
|
|
369
|
-
'CM9VDe1LC3nHz2vjza',
|
|
370
|
-
'y2HHBM5LBeLK',
|
|
371
|
-
'C2vX',
|
|
372
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
373
|
-
'6k+35Rgcia',
|
|
374
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
221
|
+
'DgfYz2v0',
|
|
222
|
+
'nteWnteZtgvAzuTA',
|
|
223
|
+
'l3rHC2TZl2nSywLT',
|
|
375
224
|
'zgvZy3jPyMu',
|
|
376
|
-
'
|
|
377
|
-
'
|
|
378
|
-
'
|
|
379
|
-
'
|
|
380
|
-
'
|
|
381
|
-
'
|
|
382
|
-
'
|
|
383
|
-
'
|
|
384
|
-
'
|
|
385
|
-
'
|
|
386
|
-
'
|
|
387
|
-
'
|
|
388
|
-
'
|
|
389
|
-
'
|
|
390
|
-
'w3rHCMDLDd0',
|
|
391
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
392
|
-
'yxnZAwDUzwvoyw1L',
|
|
393
|
-
'CgfKu3rHCNq',
|
|
394
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
225
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
226
|
+
'C3rYAw5NAwz5',
|
|
227
|
+
'CMvHzf9OAxn0B3j5',
|
|
228
|
+
'DgHYzwfK',
|
|
229
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
230
|
+
'C2vYDMvYvxjS',
|
|
231
|
+
'mtGXotGWufPNs2HO',
|
|
232
|
+
'zgLZCg9ZAxrPB24',
|
|
233
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
234
|
+
'C2vUze1LC3nHz2u',
|
|
235
|
+
'ywrK',
|
|
236
|
+
'iYmJieH1BwfUCW',
|
|
237
|
+
'l3nLBMq',
|
|
238
|
+
'C29YDa',
|
|
395
239
|
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
396
|
-
'
|
|
397
|
-
'
|
|
398
|
-
'
|
|
399
|
-
'
|
|
400
|
-
'
|
|
240
|
+
'y29UDgvUDc10ExbL',
|
|
241
|
+
'DgvZDa',
|
|
242
|
+
'igTPBMq9',
|
|
243
|
+
'l3jLy2vPDMu/',
|
|
244
|
+
'ihrPBwu9',
|
|
245
|
+
'C2vZC2LVBKLK',
|
|
246
|
+
'ihr5Cgu9ywDLBNq',
|
|
247
|
+
'lsba',
|
|
248
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
249
|
+
'ig1LC3nHz2u9',
|
|
250
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
251
|
+
'xsba',
|
|
252
|
+
'zgfLBw9UqxbPs2v5',
|
|
253
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
254
|
+
'z2v0rNvSBfLLyxi',
|
|
255
|
+
'CMvZDwX0sNnVBG',
|
|
256
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
257
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
258
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
259
|
+
'z2v0rgf0zq',
|
|
260
|
+
'BNvTyMvY',
|
|
261
|
+
'C2vUzgvYtMfTzq',
|
|
262
|
+
'zxzLBNrtzxe',
|
|
263
|
+
'C3rHCNrLza',
|
|
264
|
+
'Dgv4Da',
|
|
265
|
+
'zg9Uzq',
|
|
266
|
+
'zxjYB3i',
|
|
267
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
268
|
+
'BwvTyMvYCW',
|
|
269
|
+
'DxnLCG',
|
|
270
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
401
271
|
'iJOGC3rHDhvZpq',
|
|
402
|
-
'
|
|
272
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
273
|
+
'Dgv4Dc9JC3y',
|
|
274
|
+
'zMLSzv9WyxrO',
|
|
275
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
276
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
277
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
278
|
+
'y3jLyxrLx3rHC2TZ',
|
|
279
|
+
'ywjVCNrLza',
|
|
280
|
+
'sfruuca',
|
|
281
|
+
'DhjPBq',
|
|
282
|
+
'y29UDgvUDfr5Cgu',
|
|
283
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
403
284
|
'BgLZDf9Zzxj2zxi',
|
|
404
|
-
'
|
|
405
|
-
'
|
|
406
|
-
'
|
|
407
|
-
'BwvTyMvY',
|
|
408
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
409
|
-
'C2vUzf9TzxnZywDL',
|
|
410
|
-
'zw50CMLLCW',
|
|
411
|
-
'Dg9ju09tDhjPBMC',
|
|
412
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
413
|
-
'y2XHAw1uyxnRCW',
|
|
414
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
415
|
-
'DgfZAY0',
|
|
416
|
-
'C2L6zq',
|
|
417
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
418
|
-
'l3vWBg9Hza',
|
|
419
|
-
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
420
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
421
|
-
'C3rYAw5N',
|
|
285
|
+
'DgfZA19Pza',
|
|
286
|
+
'AgvHzgvYCW',
|
|
287
|
+
'BwfPBG',
|
|
422
288
|
'CNvUBMLUzW',
|
|
423
|
-
'
|
|
424
|
-
'
|
|
425
|
-
'
|
|
426
|
-
'
|
|
427
|
-
'
|
|
289
|
+
'Ahr0CdO',
|
|
290
|
+
'C2vUzf9TzxnZywDL',
|
|
291
|
+
'iYmGu2vYDMvYoIa',
|
|
292
|
+
'z2v0twLUDxrLCW',
|
|
293
|
+
'y29UDgvUDejHC2u2na',
|
|
294
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
295
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
428
296
|
'CMvXDwvZDfvYBa',
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
'
|
|
432
|
-
'
|
|
433
|
-
'
|
|
434
|
-
'
|
|
435
|
-
'
|
|
436
|
-
'
|
|
437
|
-
'
|
|
438
|
-
'
|
|
439
|
-
'
|
|
297
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
298
|
+
'BgLZDfrHC2TZ',
|
|
299
|
+
'CMvZDwX0CW',
|
|
300
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
301
|
+
'AM9PBG',
|
|
302
|
+
'DgHYzwfKtNvTyMvY',
|
|
303
|
+
'y2XHAw0GzMfPBgvK',
|
|
304
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
305
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
306
|
+
'igf0DgfJAg1LBNq',
|
|
307
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
440
308
|
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
441
|
-
'
|
|
442
|
-
'
|
|
443
|
-
'
|
|
444
|
-
'
|
|
445
|
-
'
|
|
446
|
-
'
|
|
447
|
-
'
|
|
448
|
-
'
|
|
449
|
-
'z2v0',
|
|
450
|
-
'BwvKAxvT',
|
|
451
|
-
'y2HHDa',
|
|
452
|
-
'DgfZA0LK',
|
|
453
|
-
'AxnbCNjHEq',
|
|
454
|
-
'zxzLBNrtzxe',
|
|
309
|
+
'Dg9tDhjPBMC',
|
|
310
|
+
'zMLSDgvY',
|
|
311
|
+
'ntG5odG1s2n6Cw1L',
|
|
312
|
+
'l2zPBMLZAa',
|
|
313
|
+
'yM9KEu1HCMTKB3DU',
|
|
314
|
+
'y2HHBM5LBeLK',
|
|
315
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
316
|
+
'AgLNAa',
|
|
455
317
|
'y2HHBM5LBhm',
|
|
456
|
-
'
|
|
457
|
-
'
|
|
458
|
-
'
|
|
459
|
-
'
|
|
460
|
-
'
|
|
461
|
-
'y2f0y2G',
|
|
462
|
-
'BwvZC2fNzv9Pzhm',
|
|
463
|
-
'y2HHBM5LBa',
|
|
464
|
-
'nda3mZeWz1zTDxL4',
|
|
465
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
466
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
467
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
468
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
469
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
470
|
-
'D29YA19RzxK',
|
|
471
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
472
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
473
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
474
|
-
'DxjNzw50',
|
|
475
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
476
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
477
|
-
'CMvZCg9UC2u',
|
|
478
|
-
'zg06',
|
|
479
|
-
'ls1Zzxj2zxiTDxjS',
|
|
480
|
-
'C2vYDMvYvxjS',
|
|
481
|
-
'mtm2nwznzvHxzq',
|
|
482
|
-
'C3rHCNrZv2L0Aa',
|
|
483
|
-
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
484
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxHLy3v0Aw9Utw9Kzt1TywLUcLn0yxKGAw4GBwfPBIbZzxnZAw9UoIbYzwfKihrOzsbYzwzLCMvUy2vKihbSyw4Vzg9JDw1LBNqGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYaOB3iGB3rOzxj3AxnLigfKDMfUy2uGDgHLihrHC2SGAw4GBwfPBIb3AxrOB3v0igHHBMrPBMCGB2zMihrVigeGD29YA2vYks4',
|
|
485
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
486
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
318
|
+
'ihn0yxr1CZ0',
|
|
319
|
+
'Dg9KBW',
|
|
320
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
321
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
322
|
+
'Bwf0y2Hoyw1L',
|
|
487
323
|
'y2XHAw1FDgfZA3m',
|
|
488
|
-
'
|
|
489
|
-
'
|
|
490
|
-
'
|
|
324
|
+
'BwvZC2fNzxm',
|
|
325
|
+
'Dg9ju09tDhjPBMC',
|
|
326
|
+
'AwrSzq',
|
|
327
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
328
|
+
'ywDNCMvNyxrLswrZ',
|
|
491
329
|
'yMvMB3jL',
|
|
492
|
-
'
|
|
493
|
-
'
|
|
494
|
-
'
|
|
495
|
-
'
|
|
496
|
-
'ignSywLTzwq',
|
|
497
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
498
|
-
'zxHWAxjLC0f0',
|
|
499
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
500
|
-
'CNvUswq',
|
|
501
|
-
'CgfYDgLJAxbHBNrjza',
|
|
502
|
-
'CMvHzeHPC3rVCNK',
|
|
503
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
504
|
-
'zw51Bq',
|
|
505
|
-
'zg9Uzq',
|
|
506
|
-
'l3rHC2TZpW',
|
|
507
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
508
|
-
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
509
|
-
'AgvHzgvYCW',
|
|
510
|
-
'y3jLyxrLx3rHC2TZ',
|
|
511
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
512
|
-
'mtyYotyXohbfqMf0Bq',
|
|
513
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
514
|
-
'BwfW',
|
|
515
|
-
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
516
|
-
'nta4odbyq3PTEuS',
|
|
517
|
-
'Aw1Hz2uVANbLzW',
|
|
518
|
-
'yM9KEu1HCMTKB3DU',
|
|
519
|
-
'icHPzdO',
|
|
520
|
-
'igLUia',
|
|
521
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
522
|
-
'y29UDgvUDa',
|
|
523
|
-
'BMv4Den1CNnVCG',
|
|
524
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
525
|
-
'C2vUzgvYvhLWzq',
|
|
526
|
-
'C29YDa',
|
|
527
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
330
|
+
'ywDLBNq',
|
|
331
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
332
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
333
|
+
'BwvKAxvT',
|
|
528
334
|
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
529
|
-
'
|
|
530
|
-
'
|
|
531
|
-
'
|
|
335
|
+
'zgLNzxn0',
|
|
336
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
337
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
532
338
|
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
533
|
-
'
|
|
534
|
-
'
|
|
535
|
-
'
|
|
536
|
-
'
|
|
537
|
-
'igfZC2LNBMvLpua',
|
|
538
|
-
'BwvZC2fNzq',
|
|
539
|
-
'l2nVBNrLBNq',
|
|
540
|
-
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
339
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
340
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
341
|
+
'C2L6zq',
|
|
342
|
+
'Dw5JBgfPBvrHC2S',
|
|
541
343
|
'B2jQzwn0',
|
|
542
|
-
'
|
|
543
|
-
'
|
|
544
|
-
'
|
|
545
|
-
'
|
|
546
|
-
'
|
|
547
|
-
'
|
|
548
|
-
'
|
|
549
|
-
'
|
|
550
|
-
'
|
|
551
|
-
'
|
|
552
|
-
'
|
|
344
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
345
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
346
|
+
'yxr0ywnOBwvUDhm',
|
|
347
|
+
'DxbSB2fKrMLSzq',
|
|
348
|
+
'C2XPy2u',
|
|
349
|
+
'z2v0',
|
|
350
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
351
|
+
'kgXLz2fJEsK',
|
|
352
|
+
'C2f2zq',
|
|
353
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
354
|
+
'AgfZtw9Yzq',
|
|
355
|
+
'DgL0Bgu',
|
|
356
|
+
'C3rYAw5N',
|
|
357
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
358
|
+
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
359
|
+
'ig1ZzZ0',
|
|
553
360
|
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
554
|
-
'
|
|
555
|
-
'BgLTAxq',
|
|
556
|
-
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
557
|
-
'ChvZAa',
|
|
558
|
-
'igTPBMq9',
|
|
559
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
560
|
-
'zMLSDgvY',
|
|
561
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
562
|
-
'zgLZCg9ZAxrPB24',
|
|
563
|
-
'CxvLDwvK',
|
|
564
|
-
'l3rHC2TZl2nSywLT',
|
|
565
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
566
|
-
'ntmZnJrywNPzrhq',
|
|
567
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
568
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
569
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
570
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
571
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
572
|
-
'AgfZ',
|
|
573
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
574
|
-
'Bwf4',
|
|
575
|
-
'kg5VBMuP',
|
|
576
|
-
'Dgv4Dc9JC3y',
|
|
577
|
-
'BgLZDfnLCNzLCG',
|
|
578
|
-
'y2XHAw0GzMfPBgvK',
|
|
579
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
580
|
-
'y3jLyxrLvgfZA3m',
|
|
581
|
-
'Dg9tDhjPBMC',
|
|
582
|
-
'zxjYB3i',
|
|
361
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
583
362
|
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
584
|
-
'
|
|
585
|
-
'
|
|
586
|
-
'
|
|
587
|
-
'
|
|
588
|
-
'
|
|
363
|
+
'ANnVBG',
|
|
364
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
365
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
366
|
+
'y3vYC29Y',
|
|
367
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
368
|
+
'DgHYzwfKu2HVCNrjza',
|
|
369
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
370
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
371
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
372
|
+
'lMrZy29Yza',
|
|
373
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
374
|
+
'AxnbyNnVBhv0zq',
|
|
375
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
589
376
|
'BMfTzq',
|
|
590
|
-
'
|
|
591
|
-
'
|
|
377
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
378
|
+
'yM9KEvrLEhq',
|
|
379
|
+
'zMv0y2HjBxbS',
|
|
380
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
381
|
+
'AxngAw5PDgu',
|
|
382
|
+
'C3rHCNrZv2L0Aa',
|
|
383
|
+
'ignSywLTzwq',
|
|
592
384
|
'zgfLBw9Utg9JywXvCMW',
|
|
593
|
-
'
|
|
594
|
-
'
|
|
595
|
-
'
|
|
596
|
-
'
|
|
597
|
-
'
|
|
598
|
-
'
|
|
599
|
-
'
|
|
600
|
-
'
|
|
601
|
-
'
|
|
602
|
-
'
|
|
603
|
-
'
|
|
604
|
-
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
605
|
-
'Agv4',
|
|
606
|
-
'zgf0yq',
|
|
607
|
-
'ihr5Cgu9ywDLBNq',
|
|
608
|
-
'Dgv4Dc9WBgfPBG',
|
|
609
|
-
'BwvTyMvYCW',
|
|
610
|
-
'Dw5JBgfPBvrHC2S',
|
|
611
|
-
'y2HLy2TnzxnZywDLCW',
|
|
612
|
-
'y3vYC29Y',
|
|
613
|
-
'mta0odm2mejkD3rzCq',
|
|
614
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
615
|
-
'B3b0Aw9UywW',
|
|
616
|
-
'zgvZy3jPChrPB24',
|
|
617
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
618
|
-
'C2XPy2u',
|
|
619
|
-
'ywjVCNq',
|
|
620
|
-
'oda3ngDVvMHLqW',
|
|
385
|
+
'y29UDgvUDa',
|
|
386
|
+
'BwvZC2fNzuLK',
|
|
387
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
388
|
+
'ue9tva',
|
|
389
|
+
'zw51Bq',
|
|
390
|
+
'CgfYDgLJAxbHBNq',
|
|
391
|
+
'Bwf4',
|
|
392
|
+
'CMvWBgfJzq',
|
|
393
|
+
'Cgf5Bg9HzePZB24',
|
|
394
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
395
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
621
396
|
'yMfZzty0',
|
|
622
|
-
'
|
|
623
|
-
'
|
|
624
|
-
'
|
|
625
|
-
'
|
|
626
|
-
'
|
|
627
|
-
'
|
|
628
|
-
'
|
|
629
|
-
'
|
|
630
|
-
'
|
|
631
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
632
|
-
'y2fJAgveAxi',
|
|
397
|
+
'Bg93',
|
|
398
|
+
'w3rHCMDLDd0',
|
|
399
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
400
|
+
'Aw5JBhvKzxm',
|
|
401
|
+
'lMjPBG',
|
|
402
|
+
'BwvZC2fNzv9Pzhm',
|
|
403
|
+
'w3nLCt0',
|
|
404
|
+
'ChjVDg9JB2W',
|
|
405
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
633
406
|
'iokaLca',
|
|
634
|
-
'
|
|
635
|
-
'
|
|
636
|
-
'
|
|
637
|
-
'
|
|
638
|
-
'
|
|
639
|
-
'
|
|
640
|
-
'
|
|
641
|
-
'
|
|
642
|
-
'
|
|
643
|
-
'
|
|
644
|
-
'
|
|
645
|
-
'
|
|
646
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
647
|
-
'DhLWzq',
|
|
648
|
-
'DxbSB2fKrMLSzq',
|
|
649
|
-
'AgLNAa',
|
|
650
|
-
'iYmJieH1BwfUCW',
|
|
407
|
+
'BwfW',
|
|
408
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
409
|
+
'ywz0zxi',
|
|
410
|
+
'C2v0',
|
|
411
|
+
'AxnjBNrLz2vY',
|
|
412
|
+
'Aw1Hz2uVANbLzW',
|
|
413
|
+
'CgfKu3rHCNq',
|
|
414
|
+
'vgfZAZOG',
|
|
415
|
+
'Bgf0zxn0u2vX',
|
|
416
|
+
'D3nZoG',
|
|
417
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
418
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
651
419
|
'y29UBMvJDa',
|
|
652
|
-
'
|
|
653
|
-
'
|
|
654
|
-
'
|
|
655
|
-
'
|
|
656
|
-
'
|
|
657
|
-
'
|
|
658
|
-
'
|
|
659
|
-
'
|
|
660
|
-
'
|
|
661
|
-
'
|
|
420
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
421
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
422
|
+
'l3n0yxj0',
|
|
423
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
424
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
425
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
426
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
427
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
428
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
429
|
+
'C2nOzwr1BgvKrM9Y',
|
|
430
|
+
'Aw5KzxHpzG',
|
|
431
|
+
'y2HHDa',
|
|
432
|
+
'C2vUzgvYvhLWzq',
|
|
433
|
+
'z2v0vgLTzq',
|
|
434
|
+
'mti1nZuXmLj6sK9MyW',
|
|
435
|
+
'D29YA2vY',
|
|
436
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
662
437
|
'Aw1Hz2uVC3zNk3HTBa',
|
|
663
|
-
'
|
|
664
|
-
'
|
|
665
|
-
'
|
|
666
|
-
'
|
|
667
|
-
'
|
|
438
|
+
'D29YA2vYsgfUzg9MzG',
|
|
439
|
+
'y2HHBM5LBe5HBwu',
|
|
440
|
+
'AhvTyw4',
|
|
441
|
+
'zMfSC2u',
|
|
442
|
+
'zgf0yq',
|
|
443
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
444
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
445
|
+
'y2HHBM5LBa',
|
|
446
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
447
|
+
'yxr0ywnOBwvUDeLK',
|
|
448
|
+
'DgfZAW',
|
|
449
|
+
'l3vWBg9Hza',
|
|
450
|
+
'kg5VBMuP',
|
|
451
|
+
'lIbnzxnZywDLieLeoIa',
|
|
452
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
453
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
454
|
+
'B3b0Aw9UywW',
|
|
455
|
+
'CM9VDe1LC3nHz2vjza',
|
|
456
|
+
'DMLLD19MAwXL',
|
|
457
|
+
'igzHAwXLzdOG',
|
|
458
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
668
459
|
'Aw5FCMv2Awv3',
|
|
669
|
-
'
|
|
460
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
461
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
462
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
463
|
+
'Dg9VBa',
|
|
464
|
+
'DMfSDwu',
|
|
465
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
466
|
+
'l3jLy2vPDMu',
|
|
670
467
|
'DMLZAwjPBgL0Eq',
|
|
671
|
-
'
|
|
672
|
-
'
|
|
673
|
-
'
|
|
674
|
-
'
|
|
675
|
-
'
|
|
676
|
-
'
|
|
677
|
-
'
|
|
678
|
-
'
|
|
679
|
-
'
|
|
680
|
-
'
|
|
681
|
-
'
|
|
682
|
-
'
|
|
683
|
-
'Ahr0Chm6',
|
|
684
|
-
'v29YA2vYici',
|
|
685
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
686
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
687
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
688
|
-
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
468
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
469
|
+
'l2HPC3rVCNK/',
|
|
470
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
471
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
472
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
473
|
+
'iYmJienOyw5UzwXZ',
|
|
474
|
+
'yxv0BZO',
|
|
475
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
476
|
+
'zw50CMLLCW',
|
|
477
|
+
'Dw5JBgfPBv90yxnR',
|
|
478
|
+
'y2f0y2G',
|
|
479
|
+
'ywXS',
|
|
689
480
|
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
690
|
-
'
|
|
691
|
-
'
|
|
692
|
-
'
|
|
693
|
-
'
|
|
694
|
-
'
|
|
695
|
-
'
|
|
696
|
-
'
|
|
697
|
-
'
|
|
698
|
-
'
|
|
699
|
-
'C2vYDMvYtMfTzq',
|
|
700
|
-
'A2LUza'
|
|
481
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
482
|
+
'mtmXnZyYmgXqsKXSzq',
|
|
483
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
484
|
+
'DgfYz2v0zwq',
|
|
485
|
+
'l3rHC2TZpW',
|
|
486
|
+
'CxvLDwvK',
|
|
487
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
488
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
489
|
+
'igLUia'
|
|
701
490
|
];
|
|
702
|
-
|
|
703
|
-
return
|
|
491
|
+
_0x3988 = function () {
|
|
492
|
+
return _0x2c6691;
|
|
493
|
+
};
|
|
494
|
+
return _0x3988();
|
|
495
|
+
}
|
|
496
|
+
function createAttachmentCache(_0x3d4b58 = {}) {
|
|
497
|
+
const _0x1f7dbc = {
|
|
498
|
+
_0x5df921: 0x110,
|
|
499
|
+
_0x498fd9: 0x13d
|
|
500
|
+
}, _0x463e78 = {
|
|
501
|
+
_0x1296a6: 0x1a2,
|
|
502
|
+
_0x4e43f2: 0x19d
|
|
503
|
+
}, _0xa9bc49 = {
|
|
504
|
+
_0x28a37a: 0x251,
|
|
505
|
+
_0x50b352: 0x110
|
|
506
|
+
}, _0x3d2df5 = _0x51636d, _0x5e2db6 = _0x3d4b58['cacheDir'] ?? _0x358960[_0x3d2df5(_0x1f7dbc._0x5df921)](homedir(), _0x3d2df5(0x157), _0x3d2df5(_0x1f7dbc._0x498fd9));
|
|
507
|
+
return {
|
|
508
|
+
'cacheDir': _0x5e2db6,
|
|
509
|
+
async 'findCachedPath'(_0x368823) {
|
|
510
|
+
const _0x176931 = _0x3d2df5;
|
|
511
|
+
await mkdir(_0x5e2db6, { 'recursive': !![] });
|
|
512
|
+
const _0x1fa270 = await readdir(_0x5e2db6), _0x4e5227 = _0x1fa270[_0x176931(_0xa9bc49._0x28a37a)](_0x2994a2 => _0x2994a2['startsWith'](_0x368823 + '-') || _0x2994a2[_0x176931(0x161)](_0x368823));
|
|
513
|
+
return _0x4e5227 ? _0x358960[_0x176931(_0xa9bc49._0x50b352)](_0x5e2db6, _0x4e5227) : null;
|
|
514
|
+
},
|
|
515
|
+
async 'save'(_0x58cff0) {
|
|
516
|
+
const _0x143fa8 = _0x3d2df5;
|
|
517
|
+
await mkdir(_0x5e2db6, { 'recursive': !![] });
|
|
518
|
+
const _0x13293c = _0x58cff0[_0x143fa8(0x184)]?.['trim']() ? safeFilename(_0x58cff0['originalFilename']) : '' + _0x58cff0['attachmentId'] + extensionFor(_0x58cff0['contentType']), _0x13ea3b = _0x358960[_0x143fa8(0x110)](_0x5e2db6, _0x58cff0[_0x143fa8(_0x463e78._0x1296a6)] + '-' + _0x13293c);
|
|
519
|
+
return await writeFile(_0x13ea3b, _0x58cff0[_0x143fa8(_0x463e78._0x4e43f2)]), _0x13ea3b;
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
import {
|
|
524
|
+
createHash,
|
|
525
|
+
randomUUID
|
|
526
|
+
} from 'node:crypto';
|
|
527
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x51636d(0x205);
|
|
528
|
+
function ensureSegment(_0x4a5ecd) {
|
|
529
|
+
const _0x55fc03 = {
|
|
530
|
+
_0xcc2d82: 0xfc,
|
|
531
|
+
_0xe09fbb: 0x173
|
|
532
|
+
}, _0x582631 = _0x51636d, _0x1b16be = _0x4a5ecd[_0x582631(_0x55fc03._0xcc2d82)]();
|
|
533
|
+
if (!_0x1b16be || _0x1b16be[_0x582631(_0x55fc03._0xe09fbb)](':'))
|
|
534
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
535
|
+
return _0x1b16be;
|
|
536
|
+
}
|
|
537
|
+
function parseThreadParts(_0x5288c4) {
|
|
538
|
+
const _0x524b33 = {
|
|
539
|
+
_0x34146f: 0x225,
|
|
540
|
+
_0x4c5a35: 0x225
|
|
541
|
+
}, _0x327266 = _0x51636d, _0x15762d = _0x5288c4['split'](':');
|
|
542
|
+
if (_0x15762d[_0x327266(_0x524b33._0x34146f)] < 0x1 || _0x15762d[_0x327266(_0x524b33._0x4c5a35)] > 0x2)
|
|
543
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
544
|
+
return {
|
|
545
|
+
'channelName': ensureSegment(_0x15762d[0x0] ?? ''),
|
|
546
|
+
'threadShortId': _0x15762d[0x1] ? ensureSegment(_0x15762d[0x1]) : null
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
function parseTarget(_0x2a4c5b) {
|
|
550
|
+
const _0xf11a13 = {
|
|
551
|
+
_0x253dc4: 0x13f,
|
|
552
|
+
_0x27d141: 0x19a,
|
|
553
|
+
_0x3a51ed: 0x1a0,
|
|
554
|
+
_0x132b94: 0x153,
|
|
555
|
+
_0x4335b2: 0x1ef,
|
|
556
|
+
_0x156acf: 0x25e
|
|
557
|
+
}, _0x3ba6a7 = _0x51636d, _0x1f991e = _0x2a4c5b['trim']();
|
|
558
|
+
if (!_0x1f991e)
|
|
559
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
560
|
+
if (_0x1f991e[_0x3ba6a7(0x161)]('#')) {
|
|
561
|
+
const _0x206348 = parseThreadParts(_0x1f991e[_0x3ba6a7(_0xf11a13._0x253dc4)](0x1)), _0x22c831 = '#' + _0x206348[_0x3ba6a7(0x19a)];
|
|
562
|
+
if (!_0x206348['threadShortId'])
|
|
563
|
+
return {
|
|
564
|
+
'channelName': _0x206348[_0x3ba6a7(_0xf11a13._0x27d141)],
|
|
565
|
+
'channelTarget': _0x22c831,
|
|
566
|
+
'kind': _0x3ba6a7(_0xf11a13._0x3a51ed),
|
|
567
|
+
'target': _0x22c831
|
|
568
|
+
};
|
|
569
|
+
return {
|
|
570
|
+
'channelName': _0x206348[_0x3ba6a7(0x19a)],
|
|
571
|
+
'channelTarget': _0x22c831,
|
|
572
|
+
'kind': _0x3ba6a7(0x25e),
|
|
573
|
+
'target': _0x22c831 + ':' + _0x206348[_0x3ba6a7(_0xf11a13._0x132b94)],
|
|
574
|
+
'threadShortId': _0x206348[_0x3ba6a7(_0xf11a13._0x132b94)]
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
if (_0x1f991e[_0x3ba6a7(0x161)](_0x3ba6a7(0x1ef))) {
|
|
578
|
+
const _0x3a5c8d = parseThreadParts(_0x1f991e['slice'](0x3));
|
|
579
|
+
if (!_0x3a5c8d['channelName']['startsWith']('dm-'))
|
|
580
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
581
|
+
const _0x4a0725 = _0x3ba6a7(_0xf11a13._0x4335b2) + _0x3a5c8d['channelName'];
|
|
582
|
+
if (!_0x3a5c8d[_0x3ba6a7(_0xf11a13._0x132b94)])
|
|
583
|
+
return {
|
|
584
|
+
'channelName': _0x3a5c8d[_0x3ba6a7(0x19a)],
|
|
585
|
+
'channelTarget': _0x4a0725,
|
|
586
|
+
'kind': _0x3ba6a7(0x1a0),
|
|
587
|
+
'target': _0x4a0725
|
|
588
|
+
};
|
|
589
|
+
return {
|
|
590
|
+
'channelName': _0x3a5c8d[_0x3ba6a7(0x19a)],
|
|
591
|
+
'channelTarget': _0x4a0725,
|
|
592
|
+
'kind': _0x3ba6a7(_0xf11a13._0x156acf),
|
|
593
|
+
'target': _0x4a0725 + ':' + _0x3a5c8d['threadShortId'],
|
|
594
|
+
'threadShortId': _0x3a5c8d[_0x3ba6a7(0x153)]
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
598
|
+
}
|
|
599
|
+
function asErrorMessage(_0xc16a7, _0x4ee3bc) {
|
|
600
|
+
const _0x21a4b3 = { _0x3dabb4: 0x147 }, _0x4e3b19 = _0x51636d;
|
|
601
|
+
if (typeof _0xc16a7 === _0x4e3b19(_0x21a4b3._0x3dabb4) && _0xc16a7[_0x4e3b19(0xfc)]())
|
|
602
|
+
return _0xc16a7;
|
|
603
|
+
return _0x4ee3bc;
|
|
604
|
+
}
|
|
605
|
+
function asRecord(_0x3c5b80) {
|
|
606
|
+
const _0xc54ffd = { _0x24b1ca: 0x13a }, _0x190baa = _0x51636d;
|
|
607
|
+
return typeof _0x3c5b80 === _0x190baa(_0xc54ffd._0x24b1ca) && _0x3c5b80 !== null ? _0x3c5b80 : {};
|
|
608
|
+
}
|
|
609
|
+
function stableStringify(_0x3bfffc) {
|
|
610
|
+
const _0x4c463b = {
|
|
611
|
+
_0x6b0c06: 0x1bf,
|
|
612
|
+
_0x5904b5: 0x268
|
|
613
|
+
}, _0x31c0e0 = _0x51636d;
|
|
614
|
+
if (_0x3bfffc === null || typeof _0x3bfffc !== 'object')
|
|
615
|
+
return JSON['stringify'](_0x3bfffc);
|
|
616
|
+
if (Array['isArray'](_0x3bfffc))
|
|
617
|
+
return '[' + _0x3bfffc['map'](_0x95bb78 => stableStringify(_0x95bb78))[_0x31c0e0(0x110)](',') + ']';
|
|
618
|
+
const _0x3c53ff = Object[_0x31c0e0(_0x4c463b._0x6b0c06)](_0x3bfffc)[_0x31c0e0(0x119)](([, _0x34c8f8]) => _0x34c8f8 !== void 0x0)[_0x31c0e0(_0x4c463b._0x5904b5)](([_0x35ec56], [_0x512aab]) => _0x35ec56[_0x31c0e0(0x219)](_0x512aab))['map'](([_0x31c439, _0x5612ee]) => JSON['stringify'](_0x31c439) + ':' + stableStringify(_0x5612ee));
|
|
619
|
+
return '{' + _0x3c53ff['join'](',') + '}';
|
|
620
|
+
}
|
|
621
|
+
function createHeaders(_0x46e5cf) {
|
|
622
|
+
return {
|
|
623
|
+
'Content-Type': 'application/json',
|
|
624
|
+
'x-daemon-api-key': _0x46e5cf
|
|
704
625
|
};
|
|
705
|
-
return _0x3492();
|
|
706
626
|
}
|
|
707
|
-
function
|
|
708
|
-
const
|
|
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
|
-
},
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
},
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
627
|
+
function toHttpBaseUrl(_0x3972e1) {
|
|
628
|
+
const _0x4159ed = {
|
|
629
|
+
_0x16581c: 0x177,
|
|
630
|
+
_0x1434bd: 0x104,
|
|
631
|
+
_0x159809: 0x183,
|
|
632
|
+
_0x250374: 0x16b
|
|
633
|
+
}, _0x3367b6 = _0x51636d, _0x44a5ef = new URL(_0x3972e1);
|
|
634
|
+
if (_0x44a5ef['protocol'] === _0x3367b6(0x1de))
|
|
635
|
+
_0x44a5ef[_0x3367b6(_0x4159ed._0x16581c)] = _0x3367b6(_0x4159ed._0x1434bd);
|
|
636
|
+
else
|
|
637
|
+
_0x44a5ef[_0x3367b6(0x177)] === _0x3367b6(_0x4159ed._0x159809) && (_0x44a5ef[_0x3367b6(0x177)] = 'https:');
|
|
638
|
+
return _0x44a5ef[_0x3367b6(0x118)]()[_0x3367b6(_0x4159ed._0x250374)](/\/$/, '');
|
|
639
|
+
}
|
|
640
|
+
function isMentionBoundary(_0x2d86a5) {
|
|
641
|
+
return !_0x2d86a5 || /\s|[([{'",。!?、:;]/['test'](_0x2d86a5);
|
|
642
|
+
}
|
|
643
|
+
function isMentionTerminal(_0x6e62b2) {
|
|
644
|
+
const _0x21140c = _0x51636d;
|
|
645
|
+
return !_0x6e62b2 || /\s|[)\]}'",。!?、:;,.!?]/[_0x21140c(0x26b)](_0x6e62b2);
|
|
646
|
+
}
|
|
647
|
+
function buildMatchableEntries(_0x3c893e) {
|
|
648
|
+
const _0x16b418 = {
|
|
649
|
+
_0x3a2475: 0x1d4,
|
|
650
|
+
_0x217420: 0x209,
|
|
651
|
+
_0x1b7c69: 0x15b,
|
|
652
|
+
_0x51a4e3: 0x15b,
|
|
653
|
+
_0x27f2d1: 0x16d,
|
|
654
|
+
_0x4ead1c: 0x15b,
|
|
655
|
+
_0x403ac0: 0x16d
|
|
656
|
+
}, _0x5ec0ed = _0x51636d, _0x447052 = [];
|
|
657
|
+
for (const _0x34bc94 of [
|
|
658
|
+
..._0x3c893e[_0x5ec0ed(_0x16b418._0x3a2475)],
|
|
659
|
+
..._0x3c893e[_0x5ec0ed(_0x16b418._0x217420)]
|
|
660
|
+
]) {
|
|
661
|
+
_0x447052[_0x5ec0ed(0x220)]({
|
|
662
|
+
'matchName': _0x34bc94[_0x5ec0ed(_0x16b418._0x1b7c69)],
|
|
663
|
+
'matchNameLower': _0x34bc94[_0x5ec0ed(_0x16b418._0x51a4e3)][_0x5ec0ed(_0x16b418._0x27f2d1)](),
|
|
664
|
+
'participantId': _0x34bc94['id']
|
|
665
|
+
}), _0x34bc94['id'] !== _0x34bc94[_0x5ec0ed(_0x16b418._0x4ead1c)] && _0x447052[_0x5ec0ed(0x220)]({
|
|
666
|
+
'matchName': _0x34bc94['id'],
|
|
667
|
+
'matchNameLower': _0x34bc94['id'][_0x5ec0ed(_0x16b418._0x403ac0)](),
|
|
668
|
+
'participantId': _0x34bc94['id']
|
|
669
|
+
});
|
|
670
|
+
}
|
|
671
|
+
return _0x447052;
|
|
672
|
+
}
|
|
673
|
+
function _0x3278(_0x13278c, _0x574cc4) {
|
|
674
|
+
_0x13278c = _0x13278c - 0xde;
|
|
675
|
+
const _0x398853 = _0x3988();
|
|
676
|
+
let _0x327812 = _0x398853[_0x13278c];
|
|
677
|
+
if (_0x3278['hyiTvA'] === undefined) {
|
|
678
|
+
var _0xcc5602 = function (_0x275d7d) {
|
|
679
|
+
const _0x49fee3 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
680
|
+
let _0x358960 = '', _0xb55bca = '';
|
|
681
|
+
for (let _0x231ac4 = 0x0, _0x1aabf3, _0x1c87c6, _0x459e68 = 0x0; _0x1c87c6 = _0x275d7d['charAt'](_0x459e68++); ~_0x1c87c6 && (_0x1aabf3 = _0x231ac4 % 0x4 ? _0x1aabf3 * 0x40 + _0x1c87c6 : _0x1c87c6, _0x231ac4++ % 0x4) ? _0x358960 += String['fromCharCode'](0xff & _0x1aabf3 >> (-0x2 * _0x231ac4 & 0x6)) : 0x0) {
|
|
682
|
+
_0x1c87c6 = _0x49fee3['indexOf'](_0x1c87c6);
|
|
683
|
+
}
|
|
684
|
+
for (let _0x30effb = 0x0, _0x140193 = _0x358960['length']; _0x30effb < _0x140193; _0x30effb++) {
|
|
685
|
+
_0xb55bca += '%' + ('00' + _0x358960['charCodeAt'](_0x30effb)['toString'](0x10))['slice'](-0x2);
|
|
686
|
+
}
|
|
687
|
+
return decodeURIComponent(_0xb55bca);
|
|
688
|
+
};
|
|
689
|
+
_0x3278['jfOOOP'] = _0xcc5602, _0x3278['EQgyJB'] = {}, _0x3278['hyiTvA'] = !![];
|
|
690
|
+
}
|
|
691
|
+
const _0x4d883a = _0x398853[0x0], _0x4b8332 = _0x13278c + _0x4d883a, _0x362829 = _0x3278['EQgyJB'][_0x4b8332];
|
|
692
|
+
return !_0x362829 ? (_0x327812 = _0x3278['jfOOOP'](_0x327812), _0x3278['EQgyJB'][_0x4b8332] = _0x327812) : _0x327812 = _0x362829, _0x327812;
|
|
693
|
+
}
|
|
694
|
+
function extractMentionedParticipantIds(_0x5e037b, _0x49a3aa) {
|
|
695
|
+
const _0x52153a = {
|
|
696
|
+
_0x260a5d: 0x225,
|
|
697
|
+
_0x3d05a2: 0x13f,
|
|
698
|
+
_0x5de73b: 0x251,
|
|
699
|
+
_0x358143: 0x265,
|
|
700
|
+
_0x4f5451: 0x220,
|
|
701
|
+
_0x57bbe3: 0x225
|
|
702
|
+
}, _0xa29319 = { _0x255d0b: 0x125 }, _0x393381 = _0x51636d, _0x13e824 = buildMatchableEntries(_0x49a3aa)[_0x393381(0x268)]((_0x1d135f, _0x2d2ce3) => _0x2d2ce3[_0x393381(0x125)][_0x393381(0x225)] - _0x1d135f[_0x393381(0x125)][_0x393381(0x225)]), _0x203eee = [], _0x3fd015 = new Set();
|
|
703
|
+
for (let _0x54493c = 0x0; _0x54493c < _0x5e037b[_0x393381(_0x52153a._0x260a5d)]; _0x54493c += 0x1) {
|
|
704
|
+
if (_0x5e037b[_0x54493c] !== '@' || !isMentionBoundary(_0x5e037b[_0x54493c - 0x1]))
|
|
705
|
+
continue;
|
|
706
|
+
const _0x4a646e = _0x5e037b[_0x393381(_0x52153a._0x3d05a2)](_0x54493c + 0x1), _0x51f075 = _0x4a646e[_0x393381(0x16d)](), _0x3c1f1b = _0x13e824[_0x393381(_0x52153a._0x5de73b)](_0x532cce => {
|
|
707
|
+
const _0x35d768 = _0x393381;
|
|
708
|
+
if (!_0x51f075[_0x35d768(0x161)](_0x532cce[_0x35d768(0x144)]))
|
|
709
|
+
return ![];
|
|
710
|
+
return isMentionTerminal(_0x4a646e[_0x532cce[_0x35d768(_0xa29319._0x255d0b)][_0x35d768(0x225)]]);
|
|
711
|
+
});
|
|
712
|
+
if (!_0x3c1f1b || _0x3fd015['has'](_0x3c1f1b[_0x393381(0x241)]))
|
|
713
|
+
continue;
|
|
714
|
+
_0x3fd015[_0x393381(_0x52153a._0x358143)](_0x3c1f1b[_0x393381(0x241)]), _0x203eee[_0x393381(_0x52153a._0x4f5451)](_0x3c1f1b[_0x393381(0x241)]), _0x54493c += _0x3c1f1b[_0x393381(0x125)][_0x393381(_0x52153a._0x57bbe3)];
|
|
715
|
+
}
|
|
716
|
+
return _0x203eee;
|
|
717
|
+
}
|
|
718
|
+
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
719
|
+
function anySignal(..._0x36b8a0) {
|
|
720
|
+
const _0x7ba5b9 = {
|
|
721
|
+
_0x3a705c: 0x1ee,
|
|
722
|
+
_0x29025d: 0x1fe
|
|
723
|
+
}, _0x46d267 = _0x51636d, _0x1a483d = new AbortController();
|
|
724
|
+
for (const _0x4a1bd2 of _0x36b8a0) {
|
|
725
|
+
if (_0x4a1bd2[_0x46d267(0xfa)])
|
|
726
|
+
return _0x1a483d['abort'](_0x4a1bd2[_0x46d267(0x214)]), _0x1a483d[_0x46d267(0x1fe)];
|
|
727
|
+
_0x4a1bd2[_0x46d267(_0x7ba5b9._0x3a705c)]('abort', () => _0x1a483d[_0x46d267(0x229)](_0x4a1bd2['reason']), {
|
|
728
|
+
'once': !![],
|
|
729
|
+
'signal': _0x1a483d[_0x46d267(0x1fe)]
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
return _0x1a483d[_0x46d267(_0x7ba5b9._0x29025d)];
|
|
733
|
+
}
|
|
734
|
+
function createInternalAgentClient(_0x41566c) {
|
|
735
|
+
const _0x58533a = {
|
|
736
|
+
_0x7e3aca: 0x178,
|
|
737
|
+
_0x66b110: 0x1ca,
|
|
738
|
+
_0x113f19: 0xe7,
|
|
739
|
+
_0x247bf2: 0x163,
|
|
740
|
+
_0x40480a: 0x26f,
|
|
741
|
+
_0x27d8fa: 0x1dd,
|
|
742
|
+
_0x6ecd43: 0xfc,
|
|
743
|
+
_0x38ca79: 0x263,
|
|
744
|
+
_0x1a640a: 0xdf,
|
|
745
|
+
_0x4721a9: 0x260
|
|
746
|
+
}, _0x466d41 = {
|
|
747
|
+
_0x3e669c: 0x1eb,
|
|
748
|
+
_0x3fff22: 0x118,
|
|
749
|
+
_0x5b990a: 0x1b5,
|
|
750
|
+
_0x2096f4: 0x19d,
|
|
751
|
+
_0x2a9c1c: 0x225,
|
|
752
|
+
_0x575a29: 0x16a,
|
|
753
|
+
_0x217724: 0x225,
|
|
754
|
+
_0x2d76a3: 0x237,
|
|
755
|
+
_0x512453: 0x120,
|
|
756
|
+
_0x33a1f7: 0x147,
|
|
757
|
+
_0x2a5717: 0x24e,
|
|
758
|
+
_0x16b58f: 0x147,
|
|
759
|
+
_0x302ba8: 0x24e,
|
|
760
|
+
_0x92c17b: 0x1aa,
|
|
761
|
+
_0x3b8a09: 0x111,
|
|
762
|
+
_0x257f5c: 0xe7,
|
|
763
|
+
_0x2b26b7: 0x220,
|
|
764
|
+
_0x3c92af: 0x253,
|
|
765
|
+
_0x51f040: 0x1bf,
|
|
766
|
+
_0x38a942: 0x22d,
|
|
767
|
+
_0x101b2f: 0x127,
|
|
768
|
+
_0x4a6850: 0x140,
|
|
769
|
+
_0x2aad9e: 0x220,
|
|
770
|
+
_0x5c522c: 0x248,
|
|
771
|
+
_0x2b9c6b: 0x165,
|
|
772
|
+
_0x598ed5: 0x246,
|
|
773
|
+
_0x30f847: 0x11c,
|
|
774
|
+
_0x621874: 0x147,
|
|
775
|
+
_0x5453d2: 0x192,
|
|
776
|
+
_0x454138: 0x220,
|
|
777
|
+
_0x19de64: 0x128
|
|
778
|
+
}, _0x19dd75 = { _0x2ab8cf: 0x16c }, _0x449abe = {
|
|
779
|
+
_0x16c689: 0x17c,
|
|
780
|
+
_0x4b4e32: 0x11d,
|
|
781
|
+
_0x32abc6: 0x257
|
|
782
|
+
}, _0x2ede4b = {
|
|
783
|
+
_0x14548c: 0x1eb,
|
|
784
|
+
_0x113aab: 0x17d,
|
|
785
|
+
_0x3566b8: 0x1b7,
|
|
786
|
+
_0x394d1d: 0x26d,
|
|
787
|
+
_0x3cdedf: 0x118,
|
|
788
|
+
_0x7f6b83: 0x1d7
|
|
789
|
+
}, _0x23b025 = {
|
|
790
|
+
_0x49fb0c: 0x1d7,
|
|
791
|
+
_0x2dbe51: 0x1fe,
|
|
792
|
+
_0x176c6e: 0x19d,
|
|
793
|
+
_0x45738c: 0x101,
|
|
794
|
+
_0x5af0ac: 0x140,
|
|
795
|
+
_0x4764fa: 0x26a,
|
|
796
|
+
_0x5d41db: 0x19e,
|
|
797
|
+
_0x4d1f80: 0x1f9
|
|
798
|
+
}, _0x3dfaaf = {
|
|
799
|
+
_0x534c26: 0x1a0,
|
|
800
|
+
_0x1f10c0: 0x21f,
|
|
801
|
+
_0x52e265: 0x1b7,
|
|
802
|
+
_0x354803: 0x25c,
|
|
803
|
+
_0x1778bc: 0x257,
|
|
804
|
+
_0x4ce899: 0x108,
|
|
805
|
+
_0xe2627b: 0x167,
|
|
806
|
+
_0x56d696: 0x19d,
|
|
807
|
+
_0x485e6c: 0x184,
|
|
808
|
+
_0x5d1e66: 0x22f
|
|
809
|
+
}, _0x40d2f0 = {
|
|
810
|
+
_0x2d414c: 0x244,
|
|
811
|
+
_0x3398a9: 0x25c,
|
|
812
|
+
_0x3e1de4: 0x18e,
|
|
813
|
+
_0x3c9c14: 0x167
|
|
814
|
+
}, _0x1e7ec8 = {
|
|
815
|
+
_0x263b84: 0x1b7,
|
|
816
|
+
_0x2a2f5f: 0x25c,
|
|
817
|
+
_0x344f70: 0x126,
|
|
818
|
+
_0x47115b: 0x167
|
|
819
|
+
}, _0x5e115b = {
|
|
820
|
+
_0x520ed1: 0x244,
|
|
821
|
+
_0x57ca3e: 0xf9,
|
|
822
|
+
_0x14c610: 0x167
|
|
823
|
+
}, _0x3d77ee = {
|
|
824
|
+
_0x2cbc7e: 0x17d,
|
|
825
|
+
_0x6a29f9: 0x17d,
|
|
826
|
+
_0x586e7a: 0x242,
|
|
827
|
+
_0x15b2aa: 0x1c8,
|
|
828
|
+
_0x5c2415: 0x118,
|
|
829
|
+
_0x346fb7: 0x1d7
|
|
830
|
+
}, _0x5e1783 = {
|
|
831
|
+
_0x1188fa: 0x1e5,
|
|
832
|
+
_0x5c05a6: 0x11b,
|
|
833
|
+
_0x27f047: 0xed,
|
|
834
|
+
_0x31ea1d: 0xe2,
|
|
835
|
+
_0x52fd7d: 0x242,
|
|
836
|
+
_0x339893: 0x167
|
|
837
|
+
}, _0x3733bf = {
|
|
838
|
+
_0x2304f3: 0x189,
|
|
839
|
+
_0x5aaea2: 0x1e5,
|
|
840
|
+
_0x55183b: 0x103
|
|
841
|
+
}, _0x2b5ce8 = {
|
|
842
|
+
_0x5b149e: 0x25c,
|
|
843
|
+
_0x396574: 0x167,
|
|
844
|
+
_0x117c54: 0x190
|
|
845
|
+
}, _0xa75eb7 = {
|
|
846
|
+
_0x1645df: 0x1ed,
|
|
847
|
+
_0x22dea9: 0x1d7
|
|
848
|
+
}, _0x3a56c0 = {
|
|
849
|
+
_0x4f8b8b: 0x244,
|
|
850
|
+
_0x18d325: 0x267,
|
|
851
|
+
_0x5e00b6: 0x25c,
|
|
852
|
+
_0x1911c5: 0x164,
|
|
853
|
+
_0x3971fe: 0x11d,
|
|
854
|
+
_0x401e0f: 0x1b6,
|
|
855
|
+
_0x5e2237: 0x167
|
|
856
|
+
}, _0x3816cb = {
|
|
857
|
+
_0x300800: 0x206,
|
|
858
|
+
_0x128fc0: 0x17d,
|
|
859
|
+
_0x5d9edd: 0x17c,
|
|
860
|
+
_0x24632b: 0x244,
|
|
861
|
+
_0x49234b: 0x118,
|
|
862
|
+
_0x4e82ee: 0x17a,
|
|
863
|
+
_0x3a8419: 0x145,
|
|
864
|
+
_0xb5592f: 0x151
|
|
865
|
+
}, _0x35af64 = { _0x55ddef: 0x169 }, _0x3a70ce = {
|
|
866
|
+
_0x2cbbd6: 0x248,
|
|
867
|
+
_0x36a20a: 0x111,
|
|
868
|
+
_0x6a954: 0x1aa,
|
|
869
|
+
_0x3ac428: 0x153,
|
|
870
|
+
_0x1d279e: 0x153
|
|
871
|
+
}, _0x47c428 = {
|
|
872
|
+
_0x714195: 0x248,
|
|
873
|
+
_0x127fbd: 0x185,
|
|
874
|
+
_0x1839dd: 0x111,
|
|
875
|
+
_0x59d635: 0x1aa,
|
|
876
|
+
_0x17bace: 0x1aa,
|
|
877
|
+
_0x17792b: 0x161,
|
|
878
|
+
_0x23fe21: 0x153
|
|
879
|
+
}, _0x594aa0 = {
|
|
880
|
+
_0x5673f2: 0x111,
|
|
881
|
+
_0x35cc4d: 0x1aa,
|
|
882
|
+
_0x19a133: 0x24e,
|
|
883
|
+
_0x52d1f4: 0x24e,
|
|
884
|
+
_0x1adb2d: 0x13f
|
|
885
|
+
}, _0x1af188 = { _0x55cf1f: 0x19b }, _0x4cda93 = { _0x2bee89: 0x1c1 }, _0x410f6b = {
|
|
886
|
+
_0x4a40d4: 0x1b7,
|
|
887
|
+
_0x3d8448: 0x208,
|
|
888
|
+
_0x58db06: 0x25c,
|
|
889
|
+
_0x5d2093: 0x11d,
|
|
890
|
+
_0xedaeef: 0x185,
|
|
891
|
+
_0x299210: 0x19d
|
|
892
|
+
}, _0x236e1c = {
|
|
893
|
+
_0x5071b8: 0x23f,
|
|
894
|
+
_0x2040a0: 0xfb
|
|
895
|
+
}, _0x38db79 = {
|
|
896
|
+
_0x121e4c: 0x10a,
|
|
897
|
+
_0x34cd8b: 0x25c
|
|
898
|
+
}, _0x5dc57e = {
|
|
899
|
+
_0x5e6cca: 0x1fe,
|
|
900
|
+
_0x299406: 0xed
|
|
901
|
+
}, _0x5d932e = { _0x27a269: 0x233 }, _0x148b19 = {
|
|
902
|
+
_0xf0abea: 0x1a7,
|
|
903
|
+
_0x273fa3: 0xfc,
|
|
904
|
+
_0x3de802: 0x234,
|
|
905
|
+
_0x59e420: 0x1e6,
|
|
906
|
+
_0x5b842a: 0x20b,
|
|
907
|
+
_0x1a5557: 0x1b3,
|
|
908
|
+
_0x3eb45e: 0x17d
|
|
909
|
+
}, _0x1a2e4d = {
|
|
910
|
+
_0x2c6c59: 0x1d5,
|
|
911
|
+
_0x233ea2: 0xfc
|
|
912
|
+
}, _0x1502bd = {
|
|
913
|
+
_0x58e908: 0x101,
|
|
914
|
+
_0x575c0c: 0x26a,
|
|
915
|
+
_0x1cd1c3: 0x15d,
|
|
916
|
+
_0x1c8c17: 0x16b,
|
|
917
|
+
_0x48454e: 0x13f,
|
|
918
|
+
_0x57d98d: 0x223,
|
|
919
|
+
_0x4e10ba: 0x1fc,
|
|
920
|
+
_0x458c3d: 0x239,
|
|
921
|
+
_0x2e581c: 0x141
|
|
922
|
+
}, _0x6e117d = _0x51636d, _0x322819 = _0x41566c[_0x6e117d(0x15e)] ?? fetch, _0x381526 = _0x41566c[_0x6e117d(_0x58533a._0x7e3aca)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x4d2af3 = typeof _0x41566c[_0x6e117d(_0x58533a._0x66b110)] === _0x6e117d(_0x58533a._0x113f19) && _0x41566c[_0x6e117d(0x1ca)] > 0x0 ? _0x41566c[_0x6e117d(0x1ca)] : 0x0, _0x214eb0 = _0x41566c[_0x6e117d(_0x58533a._0x247bf2)]?.['trim']() || void 0x0, _0x5cf57d = _0x41566c[_0x6e117d(_0x58533a._0x40480a)]?.[_0x6e117d(0xfc)]() || void 0x0, _0x533db4 = _0x41566c['workerModeEnabled'] === !![], _0xc38639 = _0x41566c[_0x6e117d(_0x58533a._0x27d8fa)]?.[_0x6e117d(_0x58533a._0x6ecd43)]() || void 0x0, _0x1201ef = _0x41566c[_0x6e117d(_0x58533a._0x38ca79)]?.[_0x6e117d(0xfc)]() || void 0x0, _0x98cb3a = createHeaders(_0x41566c[_0x6e117d(_0x58533a._0x1a640a)]), _0x1fd27c = toHttpBaseUrl(_0x41566c[_0x6e117d(_0x58533a._0x4721a9)]);
|
|
923
|
+
let _0x33bc4b = null;
|
|
924
|
+
const _0x18400e = new Map();
|
|
925
|
+
let _0x4b7f23 = _0x4d2af3, _0x5c611d = _0x4d2af3;
|
|
926
|
+
function _0x3690a2(_0x229de0) {
|
|
927
|
+
const _0x378ede = _0x6e117d, _0x4ee490 = _0x229de0[_0x378ede(0x239)][_0x378ede(_0x1502bd._0x58e908)][_0x378ede(0x140)](_0x378ede(_0x1502bd._0x575c0c)) ?? _0x378ede(0x23d), _0x193321 = _0x229de0[_0x378ede(_0x1502bd._0x1cd1c3)]['trim']()[_0x378ede(_0x1502bd._0x1c8c17)](/\s+/g, '\x20')[_0x378ede(_0x1502bd._0x48454e)](0x0, 0x78) || _0x378ede(_0x1502bd._0x57d98d);
|
|
928
|
+
return _0x378ede(_0x1502bd._0x4e10ba) + _0x229de0[_0x378ede(0x10b)] + _0x378ede(0xe3) + _0x229de0[_0x378ede(_0x1502bd._0x458c3d)]['status'] + _0x378ede(0x201) + _0x4ee490 + ',\x20preview=' + _0x193321 + _0x378ede(_0x1502bd._0x2e581c);
|
|
888
929
|
}
|
|
889
|
-
async function
|
|
890
|
-
const
|
|
891
|
-
if (!
|
|
930
|
+
async function _0x3ee54f(_0x5b9e0d, _0x11e241) {
|
|
931
|
+
const _0x239398 = _0x6e117d, _0x12f51a = Buffer['from'](await _0x11e241[_0x239398(_0x1a2e4d._0x2c6c59)]())[_0x239398(0x118)](_0x239398(0x24a));
|
|
932
|
+
if (!_0x12f51a[_0x239398(_0x1a2e4d._0x233ea2)]())
|
|
892
933
|
return {};
|
|
893
934
|
try {
|
|
894
|
-
return JSON['parse'](
|
|
935
|
+
return JSON['parse'](_0x12f51a);
|
|
895
936
|
} catch {
|
|
896
|
-
throw new Error(
|
|
897
|
-
'bodyText':
|
|
898
|
-
'requestUrl':
|
|
899
|
-
'response':
|
|
937
|
+
throw new Error(_0x3690a2({
|
|
938
|
+
'bodyText': _0x12f51a,
|
|
939
|
+
'requestUrl': _0x5b9e0d,
|
|
940
|
+
'response': _0x11e241
|
|
900
941
|
}));
|
|
901
942
|
}
|
|
902
943
|
}
|
|
903
|
-
function
|
|
904
|
-
const
|
|
905
|
-
if (
|
|
906
|
-
return
|
|
907
|
-
const
|
|
908
|
-
for (const [
|
|
909
|
-
|
|
944
|
+
function _0xc35264(_0x5c3885, _0x401fd3) {
|
|
945
|
+
const _0x482bd6 = _0x6e117d, _0x3ab32c = typeof _0x401fd3[_0x482bd6(0x1a7)] === _0x482bd6(0x147) ? _0x401fd3[_0x482bd6(_0x148b19._0xf0abea)][_0x482bd6(_0x148b19._0x273fa3)]() : '';
|
|
946
|
+
if (_0x3ab32c)
|
|
947
|
+
return _0x3ab32c;
|
|
948
|
+
const _0x33cd1f = Date[_0x482bd6(_0x148b19._0x3de802)]();
|
|
949
|
+
for (const [_0x15bfd9, _0x4ea9bf] of _0x18400e) {
|
|
950
|
+
_0x4ea9bf['expiresAt'] <= _0x33cd1f && _0x18400e[_0x482bd6(0x24b)](_0x15bfd9);
|
|
910
951
|
}
|
|
911
|
-
const
|
|
912
|
-
...
|
|
952
|
+
const _0x322909 = {
|
|
953
|
+
..._0x401fd3,
|
|
913
954
|
'idempotency_key': void 0x0
|
|
914
|
-
},
|
|
915
|
-
if (
|
|
916
|
-
return
|
|
917
|
-
const
|
|
918
|
-
return
|
|
919
|
-
'expiresAt':
|
|
920
|
-
'value':
|
|
921
|
-
}),
|
|
955
|
+
}, _0x4ebc43 = createHash(_0x482bd6(_0x148b19._0x59e420))['update'](_0x5c3885 + ':' + stableStringify(_0x322909))[_0x482bd6(0x132)](_0x482bd6(_0x148b19._0x5b842a)), _0x251cce = _0x5c3885 + ':' + _0x4ebc43, _0x42c7be = _0x18400e['get'](_0x251cce);
|
|
956
|
+
if (_0x42c7be)
|
|
957
|
+
return _0x42c7be[_0x482bd6(_0x148b19._0x1a5557)];
|
|
958
|
+
const _0x43bde8 = _0x482bd6(0x1bd) + _0x5c3885 + ':' + randomUUID();
|
|
959
|
+
return _0x18400e[_0x482bd6(_0x148b19._0x3eb45e)](_0x251cce, {
|
|
960
|
+
'expiresAt': _0x33cd1f + 0x5 * 0x3c * 0x3e8,
|
|
961
|
+
'value': _0x43bde8
|
|
962
|
+
}), _0x43bde8;
|
|
922
963
|
}
|
|
923
|
-
async function
|
|
924
|
-
const
|
|
964
|
+
async function _0x479fa8(_0x589b0b, _0x4298a6) {
|
|
965
|
+
const _0xdb4777 = _0x6e117d, _0x1c0c81 = new AbortController(), _0x21eb6b = setTimeout(() => _0x1c0c81['abort'](), _0x381526), _0x2699d9 = _0x4298a6?.[_0xdb4777(0x1fe)] ? anySignal(_0x4298a6[_0xdb4777(0x1fe)], _0x1c0c81['signal']) : _0x1c0c81['signal'], _0x4f9118 = '' + _0x1fd27c + _0x589b0b;
|
|
925
966
|
try {
|
|
926
|
-
const
|
|
927
|
-
...
|
|
928
|
-
'signal':
|
|
929
|
-
}),
|
|
930
|
-
if (!
|
|
931
|
-
throw new Error(asErrorMessage(
|
|
932
|
-
return
|
|
967
|
+
const _0x741ff7 = await _0x322819(_0x4f9118, {
|
|
968
|
+
..._0x4298a6,
|
|
969
|
+
'signal': _0x2699d9
|
|
970
|
+
}), _0x36ce1b = await _0x3ee54f(_0x4f9118, _0x741ff7);
|
|
971
|
+
if (!_0x741ff7['ok'] || _0x36ce1b[_0xdb4777(_0x5d932e._0x27a269)] === ![])
|
|
972
|
+
throw new Error(asErrorMessage(_0x36ce1b['error'], _0xdb4777(0xfb) + _0x741ff7[_0xdb4777(0x242)]));
|
|
973
|
+
return _0x36ce1b;
|
|
933
974
|
} finally {
|
|
934
|
-
clearTimeout(
|
|
975
|
+
clearTimeout(_0x21eb6b);
|
|
935
976
|
}
|
|
936
977
|
}
|
|
937
|
-
async function
|
|
938
|
-
const
|
|
978
|
+
async function _0x8d9f31(_0xc7ca2d, _0x27d05f) {
|
|
979
|
+
const _0x15dd78 = _0x6e117d, _0x4b7755 = new AbortController(), _0x3c5fc6 = setTimeout(() => _0x4b7755['abort'](), _0x381526), _0x98d74 = _0x27d05f?.[_0x15dd78(0x1fe)] ? anySignal(_0x27d05f[_0x15dd78(0x1fe)], _0x4b7755[_0x15dd78(_0x5dc57e._0x5e6cca)]) : _0x4b7755[_0x15dd78(_0x5dc57e._0x5e6cca)], _0xa30219 = '' + _0x1fd27c + _0xc7ca2d;
|
|
939
980
|
try {
|
|
940
|
-
const
|
|
941
|
-
...
|
|
942
|
-
'signal':
|
|
943
|
-
}),
|
|
944
|
-
if (!
|
|
945
|
-
throw new Error(asErrorMessage(
|
|
946
|
-
return
|
|
981
|
+
const _0x1cac8e = await _0x322819(_0xa30219, {
|
|
982
|
+
..._0x27d05f,
|
|
983
|
+
'signal': _0x98d74
|
|
984
|
+
}), _0x36131f = await _0x3ee54f(_0xa30219, _0x1cac8e);
|
|
985
|
+
if (!_0x1cac8e['ok'])
|
|
986
|
+
throw new Error(asErrorMessage(_0x36131f[_0x15dd78(_0x5dc57e._0x299406)], 'HTTP\x20' + _0x1cac8e[_0x15dd78(0x242)]));
|
|
987
|
+
return _0x36131f;
|
|
947
988
|
} finally {
|
|
948
|
-
clearTimeout(
|
|
989
|
+
clearTimeout(_0x3c5fc6);
|
|
949
990
|
}
|
|
950
991
|
}
|
|
951
|
-
async function
|
|
952
|
-
const
|
|
953
|
-
if (!
|
|
992
|
+
async function _0x9c829(_0xc76a68) {
|
|
993
|
+
const _0x1d7bde = _0x6e117d;
|
|
994
|
+
if (!_0x5cf57d || _0xc76a68 <= _0x5c611d)
|
|
954
995
|
return;
|
|
955
|
-
await
|
|
956
|
-
'body': JSON[
|
|
957
|
-
'headers':
|
|
958
|
-
'method':
|
|
959
|
-
}),
|
|
996
|
+
await _0x479fa8(_0x1d7bde(0x131) + encodeURIComponent(_0x5cf57d) + _0x1d7bde(_0x38db79._0x121e4c), {
|
|
997
|
+
'body': JSON[_0x1d7bde(_0x38db79._0x34cd8b)]({ 'lastSeenSeq': _0xc76a68 }),
|
|
998
|
+
'headers': _0x98cb3a,
|
|
999
|
+
'method': 'PATCH'
|
|
1000
|
+
}), _0x5c611d = _0xc76a68;
|
|
960
1001
|
}
|
|
961
|
-
async function
|
|
962
|
-
const
|
|
963
|
-
if (!
|
|
1002
|
+
async function _0x4909d5(_0x487d46) {
|
|
1003
|
+
const _0x4c8f1f = _0x6e117d;
|
|
1004
|
+
if (!_0x214eb0 || !_0xc38639 || _0x487d46 <= _0x5c611d)
|
|
964
1005
|
return;
|
|
965
|
-
const
|
|
966
|
-
'body': JSON[
|
|
967
|
-
'last_seen_seq':
|
|
968
|
-
'worker_session_id':
|
|
1006
|
+
const _0x1ce398 = await _0x322819(_0x214eb0 + '/workers/context-metrics', {
|
|
1007
|
+
'body': JSON[_0x4c8f1f(0x25c)]({
|
|
1008
|
+
'last_seen_seq': _0x487d46,
|
|
1009
|
+
'worker_session_id': _0xc38639
|
|
969
1010
|
}),
|
|
970
|
-
'headers': { 'Content-Type':
|
|
971
|
-
'method':
|
|
1011
|
+
'headers': { 'Content-Type': _0x4c8f1f(_0x236e1c._0x5071b8) },
|
|
1012
|
+
'method': _0x4c8f1f(0x167)
|
|
972
1013
|
});
|
|
973
|
-
if (!
|
|
974
|
-
throw new Error(
|
|
975
|
-
|
|
1014
|
+
if (!_0x1ce398['ok'])
|
|
1015
|
+
throw new Error(_0x4c8f1f(_0x236e1c._0x2040a0) + _0x1ce398['status']);
|
|
1016
|
+
_0x5c611d = _0x487d46;
|
|
976
1017
|
}
|
|
977
|
-
async function
|
|
978
|
-
const
|
|
979
|
-
'body': JSON[
|
|
980
|
-
'headers':
|
|
981
|
-
'method':
|
|
1018
|
+
async function _0x29186f(_0x1040ef) {
|
|
1019
|
+
const _0x5dd108 = _0x6e117d, _0x212681 = parseTarget(_0x1040ef), _0x38371f = await _0x479fa8(_0x5dd108(_0x410f6b._0x4a40d4) + _0x41566c[_0x5dd108(0x244)] + _0x5dd108(_0x410f6b._0x3d8448), {
|
|
1020
|
+
'body': JSON[_0x5dd108(_0x410f6b._0x58db06)]({ 'target': _0x212681[_0x5dd108(0x257)] }),
|
|
1021
|
+
'headers': _0x98cb3a,
|
|
1022
|
+
'method': _0x5dd108(0x167)
|
|
982
1023
|
});
|
|
983
1024
|
return {
|
|
984
|
-
'channelId':
|
|
985
|
-
'target':
|
|
986
|
-
'task':
|
|
987
|
-
'threadId':
|
|
988
|
-
'threadNumber':
|
|
1025
|
+
'channelId': _0x38371f[_0x5dd108(0x19d)]?.[_0x5dd108(_0x410f6b._0x5d2093)] ?? '',
|
|
1026
|
+
'target': _0x212681[_0x5dd108(_0x410f6b._0xedaeef)],
|
|
1027
|
+
'task': _0x38371f[_0x5dd108(0x19d)]?.[_0x5dd108(0x1a3)],
|
|
1028
|
+
'threadId': _0x38371f['data']?.[_0x5dd108(0x24e)],
|
|
1029
|
+
'threadNumber': _0x38371f[_0x5dd108(_0x410f6b._0x299210)]?.['threadNumber']
|
|
989
1030
|
};
|
|
990
1031
|
}
|
|
991
|
-
async function
|
|
992
|
-
const
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1032
|
+
async function _0x3a402c(_0x3a1a83 = {}) {
|
|
1033
|
+
const _0x11e577 = {
|
|
1034
|
+
_0x1a2863: 0x244,
|
|
1035
|
+
_0x37e1f8: 0x1d8,
|
|
1036
|
+
_0x3ae371: 0x1d7,
|
|
1037
|
+
_0xf86d5d: 0x119,
|
|
1038
|
+
_0x1d6ebb: 0x17a,
|
|
1039
|
+
_0x5b7ab3: 0x120,
|
|
1040
|
+
_0xa7caae: 0x19d,
|
|
1041
|
+
_0x3ca231: 0x204
|
|
1042
|
+
}, _0x438211 = _0x6e117d;
|
|
1043
|
+
if (!_0x3a1a83['forceRefresh'] && _0x33bc4b)
|
|
1044
|
+
return _0x33bc4b;
|
|
1045
|
+
return _0x33bc4b = (async () => {
|
|
1046
|
+
const _0x1dc194 = _0x3278, _0x349954 = await _0x479fa8(_0x1dc194(0x1b7) + _0x41566c[_0x1dc194(_0x11e577._0x1a2863)] + _0x1dc194(_0x11e577._0x37e1f8), {
|
|
1047
|
+
'headers': _0x98cb3a,
|
|
1048
|
+
'method': _0x1dc194(_0x11e577._0x3ae371)
|
|
1049
|
+
}), _0x2b97 = _0x349954[_0x1dc194(0x19d)]?.[_0x1dc194(0xef)] ?? [], _0x54d57b = _0x2b97['filter'](_0x20c218 => _0x20c218[_0x1dc194(0x169)]?.['type'] === _0x1dc194(0x12d))['map'](_0x4a992e => ({
|
|
1050
|
+
'id': _0x1fc4e5(_0x4a992e),
|
|
1051
|
+
'name': _0xd19132(_0x4a992e)
|
|
1052
|
+
}))[_0x1dc194(_0x11e577._0xf86d5d)](_0x1d8546 => _0x1d8546['id']), _0x275167 = _0x2b97[_0x1dc194(0x119)](_0x175213 => _0x175213['participant']?.['type'] !== _0x1dc194(0x12d))[_0x1dc194(_0x11e577._0x1d6ebb)](_0x2507de => ({
|
|
1053
|
+
'id': _0x1fc4e5(_0x2507de),
|
|
1054
|
+
'name': _0xd19132(_0x2507de)
|
|
1055
|
+
}))['filter'](_0x1b3efd => _0x1b3efd['id']), _0x3659bb = _0x349954['data']?.['server']['id'] ?? '';
|
|
1006
1056
|
return {
|
|
1007
|
-
'agents':
|
|
1008
|
-
'channels':
|
|
1009
|
-
'humans':
|
|
1010
|
-
'serverId':
|
|
1011
|
-
'serverName':
|
|
1057
|
+
'agents': _0x54d57b,
|
|
1058
|
+
'channels': _0x349954[_0x1dc194(0x19d)]?.[_0x1dc194(_0x11e577._0x5b7ab3)] ?? [],
|
|
1059
|
+
'humans': _0x275167,
|
|
1060
|
+
'serverId': _0x3659bb,
|
|
1061
|
+
'serverName': _0x349954[_0x1dc194(_0x11e577._0xa7caae)]?.[_0x1dc194(_0x11e577._0x3ca231)][_0x1dc194(0x15b)] ?? _0x3659bb
|
|
1012
1062
|
};
|
|
1013
|
-
})()[
|
|
1014
|
-
|
|
1015
|
-
throw
|
|
1016
|
-
}),
|
|
1063
|
+
})()[_0x438211(_0x4cda93._0x2bee89)](_0x1417ed => {
|
|
1064
|
+
_0x33bc4b = null;
|
|
1065
|
+
throw _0x1417ed;
|
|
1066
|
+
}), _0x33bc4b;
|
|
1017
1067
|
}
|
|
1018
|
-
function
|
|
1019
|
-
const
|
|
1020
|
-
return
|
|
1068
|
+
function _0x4e2256(_0x1a3171, _0x22c595) {
|
|
1069
|
+
const _0x21fb38 = _0x6e117d;
|
|
1070
|
+
return _0x22c595['agents']['some'](_0x3d03e9 => _0x3d03e9['id'] === _0x1a3171 || _0x3d03e9[_0x21fb38(0x15b)] === _0x1a3171) ? _0x21fb38(0x12d) : _0x21fb38(_0x1af188._0x55cf1f);
|
|
1021
1071
|
}
|
|
1022
|
-
function
|
|
1023
|
-
const
|
|
1024
|
-
...
|
|
1025
|
-
...
|
|
1026
|
-
][
|
|
1027
|
-
return
|
|
1072
|
+
function _0x440c09(_0x18d5aa, _0x13b717) {
|
|
1073
|
+
const _0x217555 = _0x6e117d, _0x4951a6 = [
|
|
1074
|
+
..._0x13b717['agents'],
|
|
1075
|
+
..._0x13b717[_0x217555(0x209)]
|
|
1076
|
+
]['find'](_0x1ddda0 => _0x1ddda0['id'] === _0x18d5aa);
|
|
1077
|
+
return _0x4951a6?.['name'] ?? _0x18d5aa;
|
|
1028
1078
|
}
|
|
1029
|
-
function
|
|
1030
|
-
const
|
|
1031
|
-
if (
|
|
1032
|
-
return
|
|
1033
|
-
if (
|
|
1034
|
-
return
|
|
1035
|
-
if (
|
|
1036
|
-
return
|
|
1037
|
-
return
|
|
1079
|
+
function _0x1324fb(_0x270310) {
|
|
1080
|
+
const _0x5bb93c = _0x6e117d;
|
|
1081
|
+
if (_0x270310[_0x5bb93c(_0x594aa0._0x5673f2)] != null)
|
|
1082
|
+
return _0x270310['channelTarget'] + ':t' + _0x270310['threadNumber'];
|
|
1083
|
+
if (_0x270310[_0x5bb93c(_0x594aa0._0x35cc4d)])
|
|
1084
|
+
return _0x270310['channelTarget'] + ':' + _0x270310[_0x5bb93c(0x1aa)];
|
|
1085
|
+
if (_0x270310[_0x5bb93c(_0x594aa0._0x19a133)])
|
|
1086
|
+
return _0x270310[_0x5bb93c(0x185)] + ':' + _0x270310[_0x5bb93c(_0x594aa0._0x52d1f4)][_0x5bb93c(_0x594aa0._0x1adb2d)](0x0, 0x8);
|
|
1087
|
+
return _0x270310[_0x5bb93c(0x185)];
|
|
1038
1088
|
}
|
|
1039
|
-
function
|
|
1040
|
-
const
|
|
1089
|
+
function _0x1eb86f(_0x2f9c27, _0x3070ad) {
|
|
1090
|
+
const _0x234ae5 = _0x6e117d;
|
|
1041
1091
|
try {
|
|
1042
|
-
const
|
|
1043
|
-
if (
|
|
1092
|
+
const _0x686905 = parseTarget(_0x2f9c27);
|
|
1093
|
+
if (_0x686905[_0x234ae5(_0x47c428._0x714195)] !== _0x234ae5(0x25e) || _0x686905[_0x234ae5(_0x47c428._0x127fbd)] !== _0x3070ad[_0x234ae5(0x185)])
|
|
1044
1094
|
return ![];
|
|
1045
|
-
if (
|
|
1095
|
+
if (_0x3070ad[_0x234ae5(0x111)] != null && _0x686905[_0x234ae5(0x153)] === 't' + _0x3070ad[_0x234ae5(_0x47c428._0x1839dd)])
|
|
1046
1096
|
return !![];
|
|
1047
|
-
if (
|
|
1048
|
-
return
|
|
1049
|
-
if (
|
|
1050
|
-
return
|
|
1097
|
+
if (_0x3070ad[_0x234ae5(_0x47c428._0x59d635)])
|
|
1098
|
+
return _0x686905['threadShortId'] === _0x3070ad[_0x234ae5(_0x47c428._0x17bace)] || _0x3070ad[_0x234ae5(_0x47c428._0x17bace)]['startsWith'](_0x686905[_0x234ae5(0x153)]);
|
|
1099
|
+
if (_0x3070ad['threadId'])
|
|
1100
|
+
return _0x686905['threadShortId'] === _0x3070ad['threadId'] || _0x3070ad[_0x234ae5(0x24e)][_0x234ae5(_0x47c428._0x17792b)](_0x686905[_0x234ae5(_0x47c428._0x23fe21)]);
|
|
1051
1101
|
return ![];
|
|
1052
1102
|
} catch {
|
|
1053
1103
|
return ![];
|
|
1054
1104
|
}
|
|
1055
1105
|
}
|
|
1056
|
-
function
|
|
1057
|
-
const
|
|
1106
|
+
function _0x47cc32(_0x5a507c, _0x405e00) {
|
|
1107
|
+
const _0x16d8de = _0x6e117d;
|
|
1058
1108
|
try {
|
|
1059
|
-
const
|
|
1060
|
-
if (
|
|
1109
|
+
const _0x317450 = parseTarget(_0x5a507c);
|
|
1110
|
+
if (_0x317450[_0x16d8de(_0x3a70ce._0x2cbbd6)] !== 'thread')
|
|
1061
1111
|
return ![];
|
|
1062
|
-
const
|
|
1063
|
-
if (
|
|
1112
|
+
const _0x2843e = typeof _0x405e00[_0x16d8de(_0x3a70ce._0x36a20a)] === _0x16d8de(0xe7) && Number[_0x16d8de(0x17e)](_0x405e00['threadNumber']) ? _0x405e00['threadNumber'] : void 0x0;
|
|
1113
|
+
if (_0x2843e != null && _0x317450[_0x16d8de(0x153)] === 't' + _0x2843e)
|
|
1064
1114
|
return !![];
|
|
1065
|
-
const
|
|
1066
|
-
if (
|
|
1067
|
-
return
|
|
1068
|
-
const
|
|
1069
|
-
return Boolean(
|
|
1115
|
+
const _0x4451a4 = typeof _0x405e00[_0x16d8de(_0x3a70ce._0x6a954)] === 'string' ? _0x405e00['rootMessageId'] : void 0x0;
|
|
1116
|
+
if (_0x4451a4)
|
|
1117
|
+
return _0x317450['threadShortId'] === _0x4451a4 || _0x4451a4['startsWith'](_0x317450[_0x16d8de(_0x3a70ce._0x3ac428)]);
|
|
1118
|
+
const _0x22a5f1 = typeof _0x405e00['threadId'] === _0x16d8de(0x147) ? _0x405e00[_0x16d8de(0x24e)] : void 0x0;
|
|
1119
|
+
return Boolean(_0x22a5f1) && (_0x317450[_0x16d8de(_0x3a70ce._0x3ac428)] === _0x22a5f1 || _0x22a5f1[_0x16d8de(0x161)](_0x317450[_0x16d8de(_0x3a70ce._0x1d279e)]));
|
|
1070
1120
|
} catch {
|
|
1071
1121
|
return ![];
|
|
1072
1122
|
}
|
|
1073
1123
|
}
|
|
1074
|
-
function
|
|
1075
|
-
const
|
|
1076
|
-
return
|
|
1124
|
+
function _0x1fc4e5(_0x322071) {
|
|
1125
|
+
const _0x413b89 = _0x6e117d;
|
|
1126
|
+
return _0x322071[_0x413b89(0x1f2)]?.[_0x413b89(0x241)] ?? _0x322071[_0x413b89(_0x35af64._0x55ddef)]?.['id'] ?? _0x322071[_0x413b89(0x241)] ?? '';
|
|
1077
1127
|
}
|
|
1078
|
-
function
|
|
1079
|
-
const
|
|
1080
|
-
return
|
|
1128
|
+
function _0xd19132(_0x4923a6) {
|
|
1129
|
+
const _0x429de0 = _0x6e117d;
|
|
1130
|
+
return _0x4923a6['participant']?.[_0x429de0(0x15b)] ?? _0x1fc4e5(_0x4923a6);
|
|
1081
1131
|
}
|
|
1082
|
-
async function
|
|
1083
|
-
const
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
const
|
|
1089
|
-
'headers':
|
|
1090
|
-
'method':
|
|
1091
|
-
}),
|
|
1092
|
-
'attachments': (
|
|
1093
|
-
'filename':
|
|
1094
|
-
'id':
|
|
1132
|
+
async function _0x1fe6dc(_0x21b761) {
|
|
1133
|
+
const _0x453612 = _0x6e117d, _0x1d6d76 = Math[_0x453612(_0x3816cb._0x300800)](_0x21b761[_0x453612(0x250)] ?? 0x32, 0x64), _0x42c737 = await _0x3a402c(), _0x1c6537 = new URLSearchParams();
|
|
1134
|
+
_0x1c6537['set'](_0x453612(0x250), String(_0x1d6d76));
|
|
1135
|
+
_0x21b761[_0x453612(0x24e)] ? (_0x1c6537[_0x453612(_0x3816cb._0x128fc0)](_0x453612(0x24e), _0x21b761['threadId']), _0x1c6537['set'](_0x453612(0x11d), _0x21b761['channelId'])) : _0x1c6537[_0x453612(0x17d)]('channelId', _0x21b761['channelId']);
|
|
1136
|
+
_0x21b761['before'] && _0x1c6537[_0x453612(0x17d)](_0x453612(0x151), String(_0x21b761[_0x453612(0x12c)]));
|
|
1137
|
+
_0x21b761[_0x453612(0x17c)] !== void 0x0 && _0x1c6537[_0x453612(0x17d)](_0x453612(0x17c), String(_0x21b761[_0x453612(_0x3816cb._0x5d9edd)]));
|
|
1138
|
+
const _0x4d0184 = await _0x479fa8('/internal/agent/' + _0x41566c[_0x453612(_0x3816cb._0x24632b)] + _0x453612(0x1b8) + _0x1c6537[_0x453612(_0x3816cb._0x49234b)](), {
|
|
1139
|
+
'headers': _0x98cb3a,
|
|
1140
|
+
'method': _0x453612(0x1d7)
|
|
1141
|
+
}), _0x2c442e = (_0x4d0184['data'] ?? [])[_0x453612(_0x3816cb._0x4e82ee)](_0x18017c => ({
|
|
1142
|
+
'attachments': (_0x18017c['attachments'] ?? [])[_0x453612(0x17a)](_0x2a214b => ({
|
|
1143
|
+
'filename': _0x2a214b[_0x453612(0x22f)] ?? _0x2a214b['id'],
|
|
1144
|
+
'id': _0x2a214b['id']
|
|
1095
1145
|
})),
|
|
1096
|
-
'content':
|
|
1097
|
-
'createdAt':
|
|
1098
|
-
...
|
|
1099
|
-
'messageId':
|
|
1100
|
-
'senderName':
|
|
1101
|
-
'senderType':
|
|
1102
|
-
'seq':
|
|
1146
|
+
'content': _0x18017c[_0x453612(0x11c)] ?? '',
|
|
1147
|
+
'createdAt': _0x18017c[_0x453612(0x1e2)],
|
|
1148
|
+
..._0x18017c[_0x453612(0x248)] && _0x18017c['kind'] !== _0x453612(0x192) ? { 'kind': _0x18017c[_0x453612(0x248)] } : {},
|
|
1149
|
+
'messageId': _0x18017c['id'],
|
|
1150
|
+
'senderName': _0x440c09(_0x18017c[_0x453612(0x246)], _0x42c737),
|
|
1151
|
+
'senderType': _0x4e2256(_0x18017c['senderParticipantId'], _0x42c737),
|
|
1152
|
+
'seq': _0x18017c[_0x453612(0xe9)] ?? 0x0
|
|
1103
1153
|
}));
|
|
1104
1154
|
return {
|
|
1105
|
-
'channel':
|
|
1106
|
-
'hasMore':
|
|
1107
|
-
'messages':
|
|
1108
|
-
'nextCursor':
|
|
1155
|
+
'channel': _0x21b761[_0x453612(0x185)],
|
|
1156
|
+
'hasMore': _0x4d0184[_0x453612(0x1f4)]?.[_0x453612(_0x3816cb._0x3a8419)] ?? ![],
|
|
1157
|
+
'messages': _0x2c442e,
|
|
1158
|
+
'nextCursor': _0x4d0184[_0x453612(0x1f4)]?.[_0x453612(_0x3816cb._0xb5592f)]
|
|
1109
1159
|
};
|
|
1110
1160
|
}
|
|
1111
1161
|
return {
|
|
1112
|
-
async 'sendMessage'(
|
|
1113
|
-
const
|
|
1114
|
-
'body': JSON[
|
|
1115
|
-
'attachment_ids':
|
|
1116
|
-
'bodyMarkdown':
|
|
1117
|
-
'channelId':
|
|
1118
|
-
...
|
|
1119
|
-
'threadId':
|
|
1120
|
-
...
|
|
1162
|
+
async 'sendMessage'(_0x1a1adb) {
|
|
1163
|
+
const _0xc51e6c = _0x6e117d, _0xfd3c33 = await _0x29186f(_0x1a1adb['target']), _0x440815 = _0x1a1adb[_0xc51e6c(0x164)][_0xc51e6c(0x173)]('@') ? extractMentionedParticipantIds(_0x1a1adb[_0xc51e6c(0x164)], await _0x3a402c()) : [], _0x42354b = await _0x479fa8(_0xc51e6c(0x1b7) + _0x41566c[_0xc51e6c(_0x3a56c0._0x4f8b8b)] + _0xc51e6c(_0x3a56c0._0x18d325), {
|
|
1164
|
+
'body': JSON[_0xc51e6c(_0x3a56c0._0x5e00b6)]({
|
|
1165
|
+
'attachment_ids': _0x1a1adb[_0xc51e6c(0x150)],
|
|
1166
|
+
'bodyMarkdown': _0x1a1adb[_0xc51e6c(_0x3a56c0._0x1911c5)],
|
|
1167
|
+
'channelId': _0xfd3c33[_0xc51e6c(_0x3a56c0._0x3971fe)],
|
|
1168
|
+
..._0x440815[_0xc51e6c(0x225)] > 0x0 ? { 'mentionedParticipantIds': _0x440815 } : {},
|
|
1169
|
+
'threadId': _0xfd3c33['threadId'],
|
|
1170
|
+
..._0x1a1adb[_0xc51e6c(_0x3a56c0._0x401e0f)] ? { 'visibility': _0x1a1adb[_0xc51e6c(0x1b6)] } : {}
|
|
1121
1171
|
}),
|
|
1122
|
-
'headers':
|
|
1123
|
-
'method':
|
|
1172
|
+
'headers': _0x98cb3a,
|
|
1173
|
+
'method': _0xc51e6c(_0x3a56c0._0x5e2237)
|
|
1124
1174
|
});
|
|
1125
|
-
return { 'messageId':
|
|
1175
|
+
return { 'messageId': _0x42354b['data']?.['id'] ?? '' };
|
|
1126
1176
|
},
|
|
1127
1177
|
async 'listSchedules'() {
|
|
1128
|
-
const
|
|
1129
|
-
'headers':
|
|
1130
|
-
'method':
|
|
1178
|
+
const _0x138cd0 = _0x6e117d, _0x565582 = await _0x479fa8(_0x138cd0(_0xa75eb7._0x1645df), {
|
|
1179
|
+
'headers': _0x98cb3a,
|
|
1180
|
+
'method': _0x138cd0(_0xa75eb7._0x22dea9)
|
|
1131
1181
|
});
|
|
1132
|
-
return
|
|
1182
|
+
return _0x565582['data'] ?? [];
|
|
1133
1183
|
},
|
|
1134
|
-
async 'claimScheduleRun'(
|
|
1135
|
-
const
|
|
1136
|
-
'body': JSON[
|
|
1137
|
-
'headers':
|
|
1138
|
-
'method':
|
|
1184
|
+
async 'claimScheduleRun'(_0x32c1a9) {
|
|
1185
|
+
const _0x43462c = _0x6e117d, _0x57978d = await _0x479fa8('/api/internal/schedules/claim', {
|
|
1186
|
+
'body': JSON[_0x43462c(_0x2b5ce8._0x5b149e)](_0x32c1a9),
|
|
1187
|
+
'headers': _0x98cb3a,
|
|
1188
|
+
'method': _0x43462c(_0x2b5ce8._0x396574)
|
|
1139
1189
|
});
|
|
1140
|
-
return
|
|
1190
|
+
return _0x57978d['data'] ?? {
|
|
1141
1191
|
'granted': ![],
|
|
1142
1192
|
'runId': null,
|
|
1143
1193
|
'schedule': null,
|
|
1144
|
-
'scheduledFor':
|
|
1194
|
+
'scheduledFor': _0x32c1a9[_0x43462c(_0x2b5ce8._0x117c54)]
|
|
1145
1195
|
};
|
|
1146
1196
|
},
|
|
1147
|
-
async 'startScheduleRun'(
|
|
1148
|
-
const
|
|
1149
|
-
'body': JSON[
|
|
1150
|
-
'headers':
|
|
1151
|
-
'method':
|
|
1197
|
+
async 'startScheduleRun'(_0x77a163) {
|
|
1198
|
+
const _0x37bff6 = _0x6e117d, _0x173cf5 = await _0x479fa8(_0x37bff6(0x256) + encodeURIComponent(_0x77a163[_0x37bff6(0x1e5)]) + _0x37bff6(_0x3733bf._0x2304f3), {
|
|
1199
|
+
'body': JSON[_0x37bff6(0x25c)]({}),
|
|
1200
|
+
'headers': _0x98cb3a,
|
|
1201
|
+
'method': 'POST'
|
|
1152
1202
|
});
|
|
1153
|
-
return
|
|
1203
|
+
return _0x173cf5['data'] ?? {
|
|
1154
1204
|
'claimedByDaemonId': '',
|
|
1155
|
-
'id':
|
|
1205
|
+
'id': _0x77a163[_0x37bff6(_0x3733bf._0x5aaea2)],
|
|
1156
1206
|
'scheduleId': '',
|
|
1157
|
-
'status':
|
|
1207
|
+
'status': _0x37bff6(_0x3733bf._0x55183b)
|
|
1158
1208
|
};
|
|
1159
1209
|
},
|
|
1160
|
-
async 'finishScheduleRun'(
|
|
1161
|
-
const
|
|
1162
|
-
'body': JSON[
|
|
1163
|
-
'error':
|
|
1164
|
-
'resultJson':
|
|
1165
|
-
'status':
|
|
1210
|
+
async 'finishScheduleRun'(_0x4d94e2) {
|
|
1211
|
+
const _0x48cd56 = _0x6e117d, _0x426416 = await _0x479fa8(_0x48cd56(0x256) + encodeURIComponent(_0x4d94e2[_0x48cd56(_0x5e1783._0x1188fa)]) + _0x48cd56(_0x5e1783._0x5c05a6), {
|
|
1212
|
+
'body': JSON[_0x48cd56(0x25c)]({
|
|
1213
|
+
'error': _0x4d94e2[_0x48cd56(_0x5e1783._0x27f047)],
|
|
1214
|
+
'resultJson': _0x4d94e2[_0x48cd56(_0x5e1783._0x31ea1d)],
|
|
1215
|
+
'status': _0x4d94e2[_0x48cd56(_0x5e1783._0x52fd7d)]
|
|
1166
1216
|
}),
|
|
1167
|
-
'headers':
|
|
1168
|
-
'method':
|
|
1217
|
+
'headers': _0x98cb3a,
|
|
1218
|
+
'method': _0x48cd56(_0x5e1783._0x339893)
|
|
1169
1219
|
});
|
|
1170
|
-
return
|
|
1220
|
+
return _0x426416['data'] ?? {
|
|
1171
1221
|
'nextRunAt': null,
|
|
1172
1222
|
'run': {
|
|
1173
1223
|
'claimedByDaemonId': '',
|
|
1174
|
-
'id':
|
|
1224
|
+
'id': _0x4d94e2[_0x48cd56(0x1e5)],
|
|
1175
1225
|
'scheduleId': '',
|
|
1176
|
-
'status':
|
|
1226
|
+
'status': _0x4d94e2[_0x48cd56(_0x5e1783._0x52fd7d)]
|
|
1177
1227
|
}
|
|
1178
1228
|
};
|
|
1179
1229
|
},
|
|
1180
|
-
async 'listTasks'(
|
|
1181
|
-
const
|
|
1182
|
-
return
|
|
1183
|
-
'headers':
|
|
1184
|
-
'method':
|
|
1230
|
+
async 'listTasks'(_0x10b366) {
|
|
1231
|
+
const _0x52a765 = _0x6e117d, _0x2a4a6a = new URLSearchParams();
|
|
1232
|
+
return _0x2a4a6a[_0x52a765(_0x3d77ee._0x2cbc7e)](_0x52a765(0x1a0), _0x10b366[_0x52a765(0x1a0)]), _0x10b366[_0x52a765(0x242)] && _0x2a4a6a[_0x52a765(_0x3d77ee._0x6a29f9)](_0x52a765(0x242), _0x10b366[_0x52a765(_0x3d77ee._0x586e7a)]), _0x8d9f31('/internal/agent/' + _0x41566c[_0x52a765(0x244)] + _0x52a765(_0x3d77ee._0x15b2aa) + _0x2a4a6a[_0x52a765(_0x3d77ee._0x5c2415)](), {
|
|
1233
|
+
'headers': _0x98cb3a,
|
|
1234
|
+
'method': _0x52a765(_0x3d77ee._0x346fb7)
|
|
1185
1235
|
});
|
|
1186
1236
|
},
|
|
1187
|
-
async 'createTasks'(
|
|
1188
|
-
const
|
|
1189
|
-
return
|
|
1190
|
-
'body': JSON[
|
|
1191
|
-
...
|
|
1192
|
-
'idempotency_key':
|
|
1237
|
+
async 'createTasks'(_0x261654) {
|
|
1238
|
+
const _0x2fdc83 = _0x6e117d;
|
|
1239
|
+
return _0x8d9f31(_0x2fdc83(0x1b7) + _0x41566c[_0x2fdc83(_0x5e115b._0x520ed1)] + '/tasks', {
|
|
1240
|
+
'body': JSON['stringify']({
|
|
1241
|
+
..._0x261654,
|
|
1242
|
+
'idempotency_key': _0xc35264(_0x2fdc83(_0x5e115b._0x57ca3e), _0x261654)
|
|
1193
1243
|
}),
|
|
1194
|
-
'headers':
|
|
1195
|
-
'method':
|
|
1244
|
+
'headers': _0x98cb3a,
|
|
1245
|
+
'method': _0x2fdc83(_0x5e115b._0x14c610)
|
|
1196
1246
|
});
|
|
1197
1247
|
},
|
|
1198
|
-
async 'claimTasks'(
|
|
1199
|
-
const
|
|
1200
|
-
return
|
|
1201
|
-
'body': JSON[
|
|
1202
|
-
...
|
|
1203
|
-
'idempotency_key':
|
|
1248
|
+
async 'claimTasks'(_0x395527) {
|
|
1249
|
+
const _0x2ed6bb = _0x6e117d;
|
|
1250
|
+
return _0x8d9f31(_0x2ed6bb(_0x1e7ec8._0x263b84) + _0x41566c['agentId'] + _0x2ed6bb(0x259), {
|
|
1251
|
+
'body': JSON[_0x2ed6bb(_0x1e7ec8._0x2a2f5f)]({
|
|
1252
|
+
..._0x395527,
|
|
1253
|
+
'idempotency_key': _0xc35264(_0x2ed6bb(_0x1e7ec8._0x344f70), _0x395527)
|
|
1204
1254
|
}),
|
|
1205
|
-
'headers':
|
|
1206
|
-
'method':
|
|
1255
|
+
'headers': _0x98cb3a,
|
|
1256
|
+
'method': _0x2ed6bb(_0x1e7ec8._0x47115b)
|
|
1207
1257
|
});
|
|
1208
1258
|
},
|
|
1209
|
-
async 'unclaimTask'(
|
|
1210
|
-
const
|
|
1211
|
-
return
|
|
1212
|
-
'body': JSON[
|
|
1213
|
-
...
|
|
1214
|
-
'idempotency_key':
|
|
1259
|
+
async 'unclaimTask'(_0x67849d) {
|
|
1260
|
+
const _0x157946 = _0x6e117d;
|
|
1261
|
+
return _0x8d9f31(_0x157946(0x1b7) + _0x41566c[_0x157946(0x244)] + _0x157946(0x1f0), {
|
|
1262
|
+
'body': JSON[_0x157946(0x25c)]({
|
|
1263
|
+
..._0x67849d,
|
|
1264
|
+
'idempotency_key': _0xc35264(_0x157946(0x1c0), _0x67849d)
|
|
1215
1265
|
}),
|
|
1216
|
-
'headers':
|
|
1217
|
-
'method':
|
|
1266
|
+
'headers': _0x98cb3a,
|
|
1267
|
+
'method': 'POST'
|
|
1218
1268
|
});
|
|
1219
1269
|
},
|
|
1220
|
-
async 'updateTaskStatus'(
|
|
1221
|
-
const
|
|
1222
|
-
return
|
|
1223
|
-
'body': JSON[
|
|
1224
|
-
...
|
|
1225
|
-
'idempotency_key':
|
|
1270
|
+
async 'updateTaskStatus'(_0x5d9eb8) {
|
|
1271
|
+
const _0x25fa01 = _0x6e117d;
|
|
1272
|
+
return _0x8d9f31(_0x25fa01(0x1b7) + _0x41566c[_0x25fa01(_0x40d2f0._0x2d414c)] + _0x25fa01(0x230), {
|
|
1273
|
+
'body': JSON[_0x25fa01(_0x40d2f0._0x3398a9)]({
|
|
1274
|
+
..._0x5d9eb8,
|
|
1275
|
+
'idempotency_key': _0xc35264(_0x25fa01(_0x40d2f0._0x3e1de4), _0x5d9eb8)
|
|
1226
1276
|
}),
|
|
1227
|
-
'headers':
|
|
1228
|
-
'method':
|
|
1277
|
+
'headers': _0x98cb3a,
|
|
1278
|
+
'method': _0x25fa01(_0x40d2f0._0x3c9c14)
|
|
1229
1279
|
});
|
|
1230
1280
|
},
|
|
1231
|
-
async 'uploadFile'(
|
|
1232
|
-
const
|
|
1233
|
-
if (
|
|
1234
|
-
throw new Error(
|
|
1235
|
-
const
|
|
1236
|
-
'body': JSON[
|
|
1237
|
-
'channel':
|
|
1238
|
-
'contentBase64':
|
|
1239
|
-
'contentType':
|
|
1240
|
-
'originalFilename':
|
|
1281
|
+
async 'uploadFile'(_0x46c83d) {
|
|
1282
|
+
const _0x161671 = _0x6e117d, _0x71252e = await _0x29186f(_0x46c83d[_0x161671(_0x3dfaaf._0x534c26)]);
|
|
1283
|
+
if (_0x71252e['threadId'])
|
|
1284
|
+
throw new Error(_0x161671(_0x3dfaaf._0x1f10c0));
|
|
1285
|
+
const _0x3991cd = await _0x479fa8(_0x161671(_0x3dfaaf._0x52e265) + _0x41566c[_0x161671(0x244)] + _0x161671(0x1a4), {
|
|
1286
|
+
'body': JSON[_0x161671(_0x3dfaaf._0x354803)]({
|
|
1287
|
+
'channel': _0x71252e[_0x161671(_0x3dfaaf._0x1778bc)],
|
|
1288
|
+
'contentBase64': _0x46c83d[_0x161671(_0x3dfaaf._0x4ce899)],
|
|
1289
|
+
'contentType': _0x46c83d[_0x161671(0xfd)],
|
|
1290
|
+
'originalFilename': _0x46c83d[_0x161671(0x22f)]
|
|
1241
1291
|
}),
|
|
1242
|
-
'headers':
|
|
1243
|
-
'method':
|
|
1292
|
+
'headers': _0x98cb3a,
|
|
1293
|
+
'method': _0x161671(_0x3dfaaf._0xe2627b)
|
|
1244
1294
|
});
|
|
1245
1295
|
return {
|
|
1246
|
-
'attachmentId':
|
|
1247
|
-
'filename':
|
|
1248
|
-
'sizeBytes':
|
|
1296
|
+
'attachmentId': _0x3991cd[_0x161671(_0x3dfaaf._0x56d696)]?.['id'] ?? '',
|
|
1297
|
+
'filename': _0x3991cd['data']?.[_0x161671(_0x3dfaaf._0x485e6c)] ?? _0x46c83d[_0x161671(_0x3dfaaf._0x5d1e66)],
|
|
1298
|
+
'sizeBytes': _0x3991cd[_0x161671(_0x3dfaaf._0x56d696)]?.['sizeBytes'] ?? 0x0
|
|
1249
1299
|
};
|
|
1250
1300
|
},
|
|
1251
|
-
async 'downloadAttachment'(
|
|
1252
|
-
const
|
|
1253
|
-
'headers':
|
|
1254
|
-
'method':
|
|
1255
|
-
}),
|
|
1301
|
+
async 'downloadAttachment'(_0xf64548) {
|
|
1302
|
+
const _0x1185ba = _0x6e117d, _0x33aac1 = await _0x479fa8(_0x1185ba(0x1ba) + _0xf64548, {
|
|
1303
|
+
'headers': _0x98cb3a,
|
|
1304
|
+
'method': _0x1185ba(_0x23b025._0x49fb0c)
|
|
1305
|
+
}), _0x1ec3a0 = new AbortController(), _0x5e15bf = setTimeout(() => _0x1ec3a0[_0x1185ba(0x229)](), _0x381526);
|
|
1256
1306
|
try {
|
|
1257
|
-
const
|
|
1258
|
-
'headers':
|
|
1259
|
-
'method':
|
|
1260
|
-
'signal':
|
|
1307
|
+
const _0x525f24 = await _0x322819(_0x1fd27c + _0x1185ba(0x1ba) + _0xf64548 + _0x1185ba(0x200), {
|
|
1308
|
+
'headers': _0x98cb3a,
|
|
1309
|
+
'method': 'GET',
|
|
1310
|
+
'signal': _0x1ec3a0[_0x1185ba(_0x23b025._0x2dbe51)]
|
|
1261
1311
|
});
|
|
1262
|
-
if (!
|
|
1263
|
-
throw new Error(
|
|
1312
|
+
if (!_0x525f24['ok'])
|
|
1313
|
+
throw new Error(_0x1185ba(0xfb) + _0x525f24[_0x1185ba(0x242)]);
|
|
1264
1314
|
return {
|
|
1265
|
-
'contentType':
|
|
1266
|
-
'data': Buffer[
|
|
1267
|
-
'originalFilename':
|
|
1315
|
+
'contentType': _0x33aac1[_0x1185ba(_0x23b025._0x176c6e)]?.[_0x1185ba(0xfd)] ?? _0x525f24[_0x1185ba(_0x23b025._0x45738c)][_0x1185ba(_0x23b025._0x5af0ac)](_0x1185ba(_0x23b025._0x4764fa)) ?? _0x1185ba(_0x23b025._0x5d41db),
|
|
1316
|
+
'data': Buffer[_0x1185ba(_0x23b025._0x4d1f80)](await _0x525f24[_0x1185ba(0x1d5)]()),
|
|
1317
|
+
'originalFilename': _0x33aac1[_0x1185ba(0x19d)]?.[_0x1185ba(0x184)]
|
|
1268
1318
|
};
|
|
1269
1319
|
} finally {
|
|
1270
|
-
clearTimeout(
|
|
1320
|
+
clearTimeout(_0x5e15bf);
|
|
1271
1321
|
}
|
|
1272
1322
|
},
|
|
1273
1323
|
async 'listServer'() {
|
|
1274
|
-
return
|
|
1324
|
+
return _0x3a402c({ 'forceRefresh': !![] });
|
|
1275
1325
|
},
|
|
1276
1326
|
async 'getLatestEventSeq'() {
|
|
1277
|
-
const
|
|
1278
|
-
|
|
1279
|
-
const
|
|
1280
|
-
'headers':
|
|
1281
|
-
'method':
|
|
1282
|
-
}),
|
|
1283
|
-
return typeof
|
|
1327
|
+
const _0x390b51 = _0x6e117d, _0xafccde = new URLSearchParams();
|
|
1328
|
+
_0xafccde[_0x390b51(0x17d)](_0x390b51(_0x2ede4b._0x14548c), '0'), _0xafccde[_0x390b51(_0x2ede4b._0x113aab)](_0x390b51(0x250), '1');
|
|
1329
|
+
const _0xceec85 = await _0x479fa8(_0x390b51(_0x2ede4b._0x3566b8) + _0x41566c['agentId'] + _0x390b51(_0x2ede4b._0x394d1d) + _0xafccde[_0x390b51(_0x2ede4b._0x3cdedf)](), {
|
|
1330
|
+
'headers': _0x98cb3a,
|
|
1331
|
+
'method': _0x390b51(_0x2ede4b._0x7f6b83)
|
|
1332
|
+
}), _0x144a8c = _0xceec85[_0x390b51(0x1f4)]?.[_0x390b51(0x182)];
|
|
1333
|
+
return typeof _0x144a8c === 'number' && _0x144a8c > 0x0 ? _0x144a8c : 0x0;
|
|
1284
1334
|
},
|
|
1285
|
-
async 'readHistory'(
|
|
1286
|
-
const
|
|
1287
|
-
return
|
|
1288
|
-
'after':
|
|
1289
|
-
'before':
|
|
1290
|
-
'channelId':
|
|
1291
|
-
'channelTarget':
|
|
1292
|
-
'limit':
|
|
1293
|
-
'threadId':
|
|
1335
|
+
async 'readHistory'(_0x9cd705) {
|
|
1336
|
+
const _0x1db420 = _0x6e117d, _0x3bb6e3 = await _0x29186f(_0x9cd705[_0x1db420(0x1a0)]);
|
|
1337
|
+
return _0x1fe6dc({
|
|
1338
|
+
'after': _0x9cd705[_0x1db420(_0x449abe._0x16c689)],
|
|
1339
|
+
'before': _0x9cd705[_0x1db420(0x12c)],
|
|
1340
|
+
'channelId': _0x3bb6e3[_0x1db420(_0x449abe._0x4b4e32)],
|
|
1341
|
+
'channelTarget': _0x3bb6e3[_0x1db420(_0x449abe._0x32abc6)],
|
|
1342
|
+
'limit': _0x9cd705['limit'],
|
|
1343
|
+
'threadId': _0x3bb6e3['threadId']
|
|
1294
1344
|
});
|
|
1295
1345
|
},
|
|
1296
|
-
'resolveTarget':
|
|
1346
|
+
'resolveTarget': _0x29186f,
|
|
1297
1347
|
async 'checkMessages'() {
|
|
1298
|
-
const
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1348
|
+
const _0x4029c5 = {
|
|
1349
|
+
_0x30d8a7: 0xf1,
|
|
1350
|
+
_0x44be95: 0x16c
|
|
1351
|
+
}, _0x4526d6 = _0x6e117d, _0x565f00 = new URLSearchParams();
|
|
1352
|
+
_0x565f00['set'](_0x4526d6(_0x466d41._0x3e669c), String(_0x4b7f23));
|
|
1353
|
+
const _0x14e8d2 = _0x565f00[_0x4526d6(_0x466d41._0x3fff22)](), _0x23f6d4 = await _0x479fa8(_0x4526d6(0x1b7) + _0x41566c['agentId'] + _0x4526d6(_0x466d41._0x5b990a) + (_0x14e8d2 ? '?' + _0x14e8d2 : ''), {
|
|
1354
|
+
'headers': _0x98cb3a,
|
|
1355
|
+
'method': _0x4526d6(0x1d7)
|
|
1356
|
+
}), _0x1b5415 = _0x23f6d4[_0x4526d6(_0x466d41._0x2096f4)] ?? [], _0x59d997 = _0x23f6d4['meta']?.[_0x4526d6(0x151)], _0x3189aa = _0x1201ef ? _0x1b5415['filter'](_0x5d55d1 => {
|
|
1357
|
+
const _0x3628af = _0x4526d6;
|
|
1358
|
+
if (_0x5d55d1[_0x3628af(_0x4029c5._0x30d8a7)] !== 'message')
|
|
1306
1359
|
return ![];
|
|
1307
|
-
return
|
|
1308
|
-
}) :
|
|
1309
|
-
let
|
|
1310
|
-
|
|
1311
|
-
|
|
1360
|
+
return _0x47cc32(_0x1201ef, asRecord(_0x5d55d1[_0x3628af(_0x4029c5._0x44be95)]));
|
|
1361
|
+
}) : _0x1b5415, _0x268d24 = _0x59d997 !== void 0x0 ? _0x1201ef ? Math[_0x4526d6(0x16a)](_0x4b7f23, _0x3189aa[_0x4526d6(_0x466d41._0x2a9c1c)] > 0x0 ? _0x3189aa[_0x3189aa['length'] - 0x1][_0x4526d6(0x237)] : _0x4b7f23) : Math[_0x4526d6(_0x466d41._0x575a29)](_0x4b7f23, _0x59d997) : _0x3189aa[_0x4526d6(_0x466d41._0x217724)] > 0x0 ? Math['max'](_0x4b7f23, _0x3189aa[_0x3189aa[_0x4526d6(0x225)] - 0x1][_0x4526d6(_0x466d41._0x2d76a3)]) : _0x4b7f23, _0x14a503 = (_0x1201ef ? _0x3189aa : _0x1b5415)[_0x4526d6(0x119)](_0x52af38 => _0x52af38[_0x4526d6(0xf1)] === _0x4526d6(0x21b));
|
|
1362
|
+
let _0x205f95 = await _0x3a402c(), _0x2fa1ce = new Map(_0x205f95[_0x4526d6(0x120)][_0x4526d6(0x17a)](_0x5abe4a => [
|
|
1363
|
+
_0x5abe4a['id'],
|
|
1364
|
+
_0x5abe4a
|
|
1312
1365
|
]));
|
|
1313
|
-
const
|
|
1314
|
-
const
|
|
1315
|
-
return Boolean(
|
|
1366
|
+
const _0x488332 = _0x14a503['some'](_0x583e22 => {
|
|
1367
|
+
const _0x425d5e = _0x4526d6, _0xd838d4 = asRecord(_0x583e22[_0x425d5e(_0x19dd75._0x2ab8cf)]), _0x591766 = typeof _0xd838d4?.[_0x425d5e(0x11d)] === _0x425d5e(0x147) ? _0xd838d4[_0x425d5e(0x11d)] : '';
|
|
1368
|
+
return Boolean(_0x591766) && !_0x2fa1ce[_0x425d5e(0x1db)](_0x591766);
|
|
1316
1369
|
});
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1370
|
+
_0x488332 && (_0x205f95 = await _0x3a402c({ 'forceRefresh': !![] }), _0x2fa1ce = new Map(_0x205f95[_0x4526d6(_0x466d41._0x512453)]['map'](_0x5e831c => [
|
|
1371
|
+
_0x5e831c['id'],
|
|
1372
|
+
_0x5e831c
|
|
1320
1373
|
])));
|
|
1321
|
-
const
|
|
1322
|
-
for (const
|
|
1323
|
-
const
|
|
1324
|
-
if (!
|
|
1374
|
+
const _0x5be8fa = new Map();
|
|
1375
|
+
for (const _0x40328b of _0x14a503) {
|
|
1376
|
+
const _0x3bc38d = asRecord(_0x40328b[_0x4526d6(0x16c)]), _0xa603ab = typeof _0x3bc38d[_0x4526d6(0x11d)] === _0x4526d6(_0x466d41._0x33a1f7) ? _0x3bc38d[_0x4526d6(0x11d)] : '';
|
|
1377
|
+
if (!_0xa603ab)
|
|
1325
1378
|
continue;
|
|
1326
|
-
const
|
|
1379
|
+
const _0x673562 = typeof _0x3bc38d[_0x4526d6(_0x466d41._0x2a5717)] === _0x4526d6(_0x466d41._0x16b58f) ? _0x3bc38d[_0x4526d6(_0x466d41._0x302ba8)] : void 0x0, _0x50d838 = typeof _0x3bc38d['rootMessageId'] === _0x4526d6(0x147) ? _0x3bc38d[_0x4526d6(_0x466d41._0x92c17b)] : void 0x0, _0x464bb1 = typeof _0x3bc38d[_0x4526d6(_0x466d41._0x3b8a09)] === _0x4526d6(_0x466d41._0x257f5c) && Number[_0x4526d6(0x17e)](_0x3bc38d['threadNumber']) ? _0x3bc38d[_0x4526d6(_0x466d41._0x3b8a09)] : void 0x0, _0x33e604 = Boolean(_0x673562 && (!_0x50d838 || _0x40328b['aggregateId'] !== _0x50d838)), _0x1d636f = _0x33e604 ? _0xa603ab + ':' + _0x673562 : _0xa603ab, _0x2bafa6 = _0x5be8fa[_0x4526d6(0x140)](_0x1d636f) ?? {
|
|
1327
1380
|
'aggregateIds': [],
|
|
1328
|
-
'channelId':
|
|
1381
|
+
'channelId': _0xa603ab,
|
|
1329
1382
|
'entries': new Map(),
|
|
1330
|
-
'isThreadReply':
|
|
1331
|
-
'rootMessageId':
|
|
1332
|
-
'threadNumber':
|
|
1333
|
-
'threadId':
|
|
1383
|
+
'isThreadReply': _0x33e604,
|
|
1384
|
+
'rootMessageId': _0x50d838,
|
|
1385
|
+
'threadNumber': _0x464bb1,
|
|
1386
|
+
'threadId': _0x33e604 ? _0x673562 : void 0x0
|
|
1334
1387
|
};
|
|
1335
|
-
|
|
1336
|
-
'payloadJson':
|
|
1337
|
-
'seq':
|
|
1338
|
-
}),
|
|
1388
|
+
_0x2bafa6[_0x4526d6(_0x466d41._0x3b8a09)] == null && _0x464bb1 != null && (_0x2bafa6['threadNumber'] = _0x464bb1), !_0x2bafa6[_0x4526d6(_0x466d41._0x92c17b)] && _0x50d838 && (_0x2bafa6['rootMessageId'] = _0x50d838), _0x2bafa6[_0x4526d6(0x12b)][_0x4526d6(_0x466d41._0x2b26b7)](_0x40328b[_0x4526d6(_0x466d41._0x3c92af)]), _0x2bafa6[_0x4526d6(_0x466d41._0x51f040)][_0x4526d6(0x17d)](_0x40328b[_0x4526d6(_0x466d41._0x3c92af)], {
|
|
1389
|
+
'payloadJson': _0x40328b['payloadJson'],
|
|
1390
|
+
'seq': _0x40328b['seq']
|
|
1391
|
+
}), _0x5be8fa['set'](_0x1d636f, _0x2bafa6);
|
|
1339
1392
|
}
|
|
1340
|
-
const
|
|
1341
|
-
for (const
|
|
1393
|
+
const _0x23cc51 = [];
|
|
1394
|
+
for (const _0x541fe0 of _0x5be8fa[_0x4526d6(_0x466d41._0x38a942)]()) {
|
|
1342
1395
|
const {
|
|
1343
|
-
channelId:
|
|
1344
|
-
threadId:
|
|
1345
|
-
rootMessageId:
|
|
1346
|
-
threadNumber:
|
|
1347
|
-
aggregateIds:
|
|
1348
|
-
isThreadReply:
|
|
1349
|
-
entries:
|
|
1350
|
-
} =
|
|
1351
|
-
'channelTarget':
|
|
1352
|
-
'rootMessageId':
|
|
1353
|
-
'threadId':
|
|
1354
|
-
'threadNumber':
|
|
1355
|
-
},
|
|
1356
|
-
'channelId':
|
|
1357
|
-
'channelTarget':
|
|
1358
|
-
'limit': Math[
|
|
1359
|
-
'threadId':
|
|
1360
|
-
}),
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
])),
|
|
1364
|
-
for (const
|
|
1365
|
-
if (!
|
|
1396
|
+
channelId: _0x4d458c,
|
|
1397
|
+
threadId: _0x8be797,
|
|
1398
|
+
rootMessageId: _0x5e49cc,
|
|
1399
|
+
threadNumber: _0x33b50b,
|
|
1400
|
+
aggregateIds: _0x43b195,
|
|
1401
|
+
isThreadReply: _0xacad00,
|
|
1402
|
+
entries: _0x7773dd
|
|
1403
|
+
} = _0x541fe0, _0x57b87e = _0x2fa1ce[_0x4526d6(0x140)](_0x4d458c), _0x299e10 = _0x57b87e?.['name'] ?? _0x4d458c, _0x32de8f = _0x57b87e?.[_0x4526d6(0x248)] === 'dm' ? 'dm:' + _0x299e10 : '#' + _0x299e10, _0x2dca95 = {
|
|
1404
|
+
'channelTarget': _0x32de8f,
|
|
1405
|
+
'rootMessageId': _0x5e49cc,
|
|
1406
|
+
'threadId': _0x8be797,
|
|
1407
|
+
'threadNumber': _0x33b50b
|
|
1408
|
+
}, _0x4b4d5d = await _0x1fe6dc({
|
|
1409
|
+
'channelId': _0x4d458c,
|
|
1410
|
+
'channelTarget': _0x32de8f,
|
|
1411
|
+
'limit': Math[_0x4526d6(_0x466d41._0x575a29)](_0x43b195[_0x4526d6(0x225)], 0x32),
|
|
1412
|
+
'threadId': _0x8be797
|
|
1413
|
+
}), _0x284193 = new Map(_0x4b4d5d[_0x4526d6(_0x466d41._0x101b2f)][_0x4526d6(0x17a)](_0x2952c4 => [
|
|
1414
|
+
_0x2952c4[_0x4526d6(0x165)],
|
|
1415
|
+
_0x2952c4
|
|
1416
|
+
])), _0x9ec66e = _0x8be797 ? _0x1324fb(_0x2dca95) : _0x32de8f, _0x468aa8 = _0x1201ef ? _0xacad00 && _0x1eb86f(_0x1201ef, _0x2dca95) : !![], _0xb3e9b = _0xacad00 ? _0x468aa8 && _0x1201ef ? _0x1201ef : _0x9ec66e : _0x32de8f;
|
|
1417
|
+
for (const _0x591bc2 of _0x43b195) {
|
|
1418
|
+
if (!_0x468aa8)
|
|
1366
1419
|
continue;
|
|
1367
|
-
const
|
|
1368
|
-
if (
|
|
1369
|
-
|
|
1370
|
-
'attachments':
|
|
1371
|
-
'content':
|
|
1372
|
-
'createdAt':
|
|
1373
|
-
...
|
|
1374
|
-
'messageId':
|
|
1375
|
-
'senderName':
|
|
1376
|
-
'senderType':
|
|
1377
|
-
'target':
|
|
1378
|
-
...
|
|
1420
|
+
const _0xfb7cdc = _0x7773dd['get'](_0x591bc2), _0x18e59c = _0xfb7cdc ? asRecord(_0xfb7cdc['payloadJson']) : void 0x0, _0x4b4760 = _0x18e59c?.['taskDeliveryMode'] === _0x4526d6(0x1c7), _0x505848 = _0x284193[_0x4526d6(_0x466d41._0x4a6850)](_0x591bc2);
|
|
1421
|
+
if (_0x505848) {
|
|
1422
|
+
_0x23cc51[_0x4526d6(_0x466d41._0x2aad9e)]({
|
|
1423
|
+
'attachments': _0x505848['attachments'],
|
|
1424
|
+
'content': _0x505848['content'],
|
|
1425
|
+
'createdAt': _0x505848[_0x4526d6(0x1e2)],
|
|
1426
|
+
..._0x505848[_0x4526d6(_0x466d41._0x5c522c)] ? { 'kind': _0x505848[_0x4526d6(0x248)] } : {},
|
|
1427
|
+
'messageId': _0x505848[_0x4526d6(_0x466d41._0x2b9c6b)],
|
|
1428
|
+
'senderName': _0x505848[_0x4526d6(0xe8)],
|
|
1429
|
+
'senderType': _0x505848['senderType'],
|
|
1430
|
+
'target': _0xb3e9b,
|
|
1431
|
+
..._0x4b4760 ? { 'targetedTask': !![] } : {}
|
|
1379
1432
|
});
|
|
1380
1433
|
continue;
|
|
1381
1434
|
}
|
|
1382
|
-
if (
|
|
1383
|
-
const
|
|
1384
|
-
|
|
1435
|
+
if (_0xfb7cdc) {
|
|
1436
|
+
const _0x1d9101 = typeof _0x18e59c?.[_0x4526d6(0x246)] === 'string' ? _0x18e59c[_0x4526d6(_0x466d41._0x598ed5)] : '', _0x54e344 = typeof _0x18e59c?.[_0x4526d6(_0x466d41._0x30f847)] === 'string' ? _0x18e59c[_0x4526d6(0x11c)] : '', _0x502c11 = typeof _0x18e59c?.[_0x4526d6(_0x466d41._0x5c522c)] === _0x4526d6(_0x466d41._0x621874) && _0x18e59c['kind'] !== _0x4526d6(_0x466d41._0x5453d2) ? _0x18e59c['kind'] : void 0x0;
|
|
1437
|
+
_0x1d9101 && _0x54e344 && _0x23cc51[_0x4526d6(_0x466d41._0x454138)]({
|
|
1385
1438
|
'attachments': [],
|
|
1386
|
-
'content':
|
|
1387
|
-
'createdAt': new Date()[
|
|
1388
|
-
...
|
|
1389
|
-
'messageId':
|
|
1390
|
-
'senderName':
|
|
1391
|
-
'senderType':
|
|
1392
|
-
'target':
|
|
1393
|
-
...
|
|
1439
|
+
'content': _0x54e344,
|
|
1440
|
+
'createdAt': new Date()[_0x4526d6(_0x466d41._0x19de64)](),
|
|
1441
|
+
..._0x502c11 ? { 'kind': _0x502c11 } : {},
|
|
1442
|
+
'messageId': _0x591bc2,
|
|
1443
|
+
'senderName': _0x440c09(_0x1d9101, _0x205f95),
|
|
1444
|
+
'senderType': _0x4e2256(_0x1d9101, _0x205f95),
|
|
1445
|
+
'target': _0xb3e9b,
|
|
1446
|
+
..._0x4b4760 ? { 'targetedTask': !![] } : {}
|
|
1394
1447
|
});
|
|
1395
1448
|
}
|
|
1396
1449
|
}
|
|
1397
1450
|
}
|
|
1398
|
-
if (
|
|
1399
|
-
if (
|
|
1400
|
-
await
|
|
1451
|
+
if (_0x268d24 > 0x0) {
|
|
1452
|
+
if (_0x5cf57d)
|
|
1453
|
+
await _0x9c829(_0x268d24);
|
|
1401
1454
|
else
|
|
1402
|
-
|
|
1455
|
+
_0xc38639 && await _0x4909d5(_0x268d24);
|
|
1403
1456
|
}
|
|
1404
|
-
return
|
|
1457
|
+
return _0x268d24 > _0x4b7f23 && (_0x4b7f23 = _0x268d24), { 'messages': _0x23cc51 };
|
|
1405
1458
|
}
|
|
1406
1459
|
};
|
|
1407
1460
|
}
|
|
1408
|
-
function toLocalTime(
|
|
1409
|
-
const
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1461
|
+
function toLocalTime(_0x2e455a) {
|
|
1462
|
+
const _0x7e60b4 = {
|
|
1463
|
+
_0x2f9e13: 0xe6,
|
|
1464
|
+
_0x550a42: 0x107,
|
|
1465
|
+
_0x15eee2: 0x247
|
|
1466
|
+
}, _0x3d9b66 = _0x51636d, _0x2bc5e1 = new Date(_0x2e455a);
|
|
1467
|
+
if (Number[_0x3d9b66(0x1e0)](_0x2bc5e1[_0x3d9b66(0x194)]()))
|
|
1468
|
+
return _0x2e455a;
|
|
1469
|
+
const _0x55b64b = _0x4eb519 => String(_0x4eb519)[_0x3d9b66(0x180)](0x2, '0');
|
|
1470
|
+
return _0x2bc5e1[_0x3d9b66(0xe1)]() + '-' + _0x55b64b(_0x2bc5e1[_0x3d9b66(0x22a)]() + 0x1) + '-' + _0x55b64b(_0x2bc5e1[_0x3d9b66(_0x7e60b4._0x2f9e13)]()) + '\x20' + _0x55b64b(_0x2bc5e1[_0x3d9b66(0x1fa)]()) + ':' + _0x55b64b(_0x2bc5e1[_0x3d9b66(_0x7e60b4._0x550a42)]()) + ':' + _0x55b64b(_0x2bc5e1[_0x3d9b66(_0x7e60b4._0x15eee2)]());
|
|
1414
1471
|
}
|
|
1415
|
-
function formatAttachmentSuffix(
|
|
1416
|
-
const
|
|
1417
|
-
|
|
1418
|
-
_0xdfb039: 0x2ad,
|
|
1419
|
-
_0x3749c0: 0x218
|
|
1420
|
-
}, _0x166394 = _0xb29927;
|
|
1421
|
-
if (!_0x20b231 || _0x20b231[_0x166394(_0xaf7c49._0x5bc848)] === 0x0)
|
|
1472
|
+
function formatAttachmentSuffix(_0x40ec7e) {
|
|
1473
|
+
const _0xdcca29 = { _0x1af1ff: 0x225 }, _0x14fe07 = _0x51636d;
|
|
1474
|
+
if (!_0x40ec7e || _0x40ec7e[_0x14fe07(0x225)] === 0x0)
|
|
1422
1475
|
return '';
|
|
1423
|
-
return '\x20[' +
|
|
1476
|
+
return '\x20[' + _0x40ec7e[_0x14fe07(_0xdcca29._0x1af1ff)] + _0x14fe07(0x115) + (_0x40ec7e[_0x14fe07(0x225)] > 0x1 ? 's' : '') + ':\x20' + _0x40ec7e['map'](_0x3d167b => _0x3d167b['filename'] + '\x20(id:' + _0x3d167b['id'] + ')')[_0x14fe07(0x110)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
1424
1477
|
}
|
|
1425
|
-
function formatCheckMessages(
|
|
1426
|
-
const
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1478
|
+
function formatCheckMessages(_0x514972) {
|
|
1479
|
+
const _0x3223d1 = {
|
|
1480
|
+
_0x4fb9df: 0x1af,
|
|
1481
|
+
_0x212260: 0x110
|
|
1482
|
+
}, _0x4417e7 = {
|
|
1483
|
+
_0x4abc75: 0x270,
|
|
1484
|
+
_0x567106: 0x165,
|
|
1485
|
+
_0x34ed71: 0x13f,
|
|
1486
|
+
_0x1e2d37: 0x26e
|
|
1487
|
+
}, _0x430cfa = _0x51636d;
|
|
1488
|
+
if (_0x514972['length'] === 0x0)
|
|
1489
|
+
return _0x430cfa(_0x3223d1._0x4fb9df);
|
|
1490
|
+
return _0x514972[_0x430cfa(0x17a)](_0x10accb => {
|
|
1491
|
+
const _0x1a5209 = _0x430cfa, _0x339976 = _0x10accb[_0x1a5209(0x193)] === _0x1a5209(0x12d) ? _0x1a5209(_0x4417e7._0x4abc75) : '', _0x15cb9f = _0x10accb[_0x1a5209(0x248)] && _0x10accb[_0x1a5209(0x248)] !== 'chat' ? '\x20kind=' + _0x10accb['kind'] : '';
|
|
1492
|
+
return '[target=' + _0x10accb[_0x1a5209(0x257)] + _0x1a5209(0x14a) + _0x10accb[_0x1a5209(_0x4417e7._0x567106)][_0x1a5209(_0x4417e7._0x34ed71)](0x0, 0x8) + _0x1a5209(_0x4417e7._0x1e2d37) + toLocalTime(_0x10accb[_0x1a5209(0x1e2)]) + _0x339976 + _0x15cb9f + ']\x20@' + _0x10accb['senderName'] + ':\x20' + _0x10accb[_0x1a5209(0x164)] + formatAttachmentSuffix(_0x10accb['attachments']);
|
|
1493
|
+
})[_0x430cfa(_0x3223d1._0x212260)]('\x0a');
|
|
1437
1494
|
}
|
|
1438
|
-
function formatHistory(
|
|
1439
|
-
const
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1495
|
+
function formatHistory(_0x4454ed) {
|
|
1496
|
+
const _0x3c3bd2 = {
|
|
1497
|
+
_0x8f898c: 0x225,
|
|
1498
|
+
_0x4bde4b: 0x12f,
|
|
1499
|
+
_0x4b69b3: 0x17a,
|
|
1500
|
+
_0x579259: 0x110,
|
|
1501
|
+
_0x3ea9d7: 0x145,
|
|
1502
|
+
_0xdafe8e: 0x217,
|
|
1503
|
+
_0x12f5ec: 0x127,
|
|
1504
|
+
_0x25727d: 0x1e9,
|
|
1505
|
+
_0x12b1de: 0x1a0
|
|
1506
|
+
}, _0xf2847 = {
|
|
1507
|
+
_0x57498a: 0x193,
|
|
1508
|
+
_0x582219: 0x12d,
|
|
1509
|
+
_0x3c20ed: 0x270,
|
|
1510
|
+
_0x1aa6fb: 0x248,
|
|
1511
|
+
_0x3ed9ab: 0x165,
|
|
1512
|
+
_0x320aef: 0xde
|
|
1513
|
+
}, _0x20d53a = _0x51636d;
|
|
1514
|
+
if (_0x4454ed[_0x20d53a(0x127)][_0x20d53a(_0x3c3bd2._0x8f898c)] === 0x0)
|
|
1515
|
+
return _0x20d53a(_0x3c3bd2._0x4bde4b) + _0x4454ed['channel'] + _0x20d53a(0x25b);
|
|
1516
|
+
const _0x41d920 = _0x4454ed[_0x20d53a(0x127)][_0x20d53a(_0x3c3bd2._0x4b69b3)](_0x12e888 => {
|
|
1517
|
+
const _0x3c3ce6 = _0x20d53a, _0x667a73 = _0x12e888[_0x3c3ce6(_0xf2847._0x57498a)] === _0x3c3ce6(_0xf2847._0x582219) ? _0x3c3ce6(_0xf2847._0x3c20ed) : '', _0x1d7613 = _0x12e888[_0x3c3ce6(0x248)] && _0x12e888[_0x3c3ce6(0x248)] !== _0x3c3ce6(0x192) ? _0x3c3ce6(0x26c) + _0x12e888[_0x3c3ce6(_0xf2847._0x1aa6fb)] : '';
|
|
1518
|
+
return _0x3c3ce6(0x176) + _0x12e888[_0x3c3ce6(0x237)] + '\x20msg=' + _0x12e888[_0x3c3ce6(_0xf2847._0x3ed9ab)] + '\x20time=' + toLocalTime(_0x12e888['createdAt']) + _0x667a73 + _0x1d7613 + _0x3c3ce6(_0xf2847._0x320aef) + _0x12e888[_0x3c3ce6(0xe8)] + ':\x20' + _0x12e888['content'] + formatAttachmentSuffix(_0x12e888['attachments']);
|
|
1519
|
+
})[_0x20d53a(_0x3c3bd2._0x579259)]('\x0a'), _0x29e475 = _0x4454ed[_0x20d53a(_0x3c3bd2._0x3ea9d7)] && _0x4454ed[_0x20d53a(_0x3c3bd2._0xdafe8e)] ? _0x20d53a(0x1ec) + _0x4454ed[_0x20d53a(_0x3c3bd2._0x12f5ec)][_0x20d53a(0x225)] + _0x20d53a(_0x3c3bd2._0x25727d) + _0x4454ed['nextCursor'] + _0x20d53a(0xf8) : '';
|
|
1520
|
+
return _0x20d53a(0x12f) + _0x4454ed[_0x20d53a(_0x3c3bd2._0x12b1de)] + '\x20(' + _0x4454ed['messages'][_0x20d53a(0x225)] + _0x20d53a(0x21d) + _0x41d920 + _0x29e475;
|
|
1462
1521
|
}
|
|
1463
|
-
function formatServerDirectory(
|
|
1464
|
-
const
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
},
|
|
1522
|
+
function formatServerDirectory(_0x2d6d2b) {
|
|
1523
|
+
const _0x221a16 = {
|
|
1524
|
+
_0x5eadd6: 0x120,
|
|
1525
|
+
_0x256593: 0x110,
|
|
1526
|
+
_0x2ca5c4: 0x1a5,
|
|
1527
|
+
_0x499af0: 0x17a,
|
|
1528
|
+
_0x43f8a5: 0x209,
|
|
1529
|
+
_0x45dfc5: 0x225,
|
|
1530
|
+
_0x4f177f: 0x106,
|
|
1531
|
+
_0x1d75c9: 0x1f8
|
|
1532
|
+
}, _0x42ec29 = _0x51636d, _0x21d708 = _0x2d6d2b['channels']['length'] > 0x0 ? _0x2d6d2b[_0x42ec29(_0x221a16._0x5eadd6)][_0x42ec29(0x17a)](_0x34711c => _0x34711c[_0x42ec29(0x227)] ? _0x42ec29(0x216) + _0x34711c[_0x42ec29(0x15b)] + _0x42ec29(0x179) + _0x34711c[_0x42ec29(0x227)] : _0x42ec29(0x216) + _0x34711c['name'])[_0x42ec29(_0x221a16._0x256593)]('\x0a') : _0x42ec29(_0x221a16._0x2ca5c4), _0x53bf46 = _0x2d6d2b[_0x42ec29(0x1d4)][_0x42ec29(0x225)] > 0x0 ? _0x2d6d2b[_0x42ec29(0x1d4)][_0x42ec29(_0x221a16._0x499af0)](_0x52c936 => _0x42ec29(0x271) + _0x52c936['name'])['join']('\x0a') : '(none)', _0x3f4718 = _0x2d6d2b[_0x42ec29(_0x221a16._0x43f8a5)][_0x42ec29(_0x221a16._0x45dfc5)] > 0x0 ? _0x2d6d2b[_0x42ec29(0x209)][_0x42ec29(0x17a)](_0x11b10b => '-\x20@' + _0x11b10b[_0x42ec29(0x15b)])[_0x42ec29(0x110)]('\x0a') : _0x42ec29(0x1a5);
|
|
1474
1533
|
return [
|
|
1475
|
-
|
|
1534
|
+
_0x42ec29(_0x221a16._0x4f177f) + _0x2d6d2b[_0x42ec29(_0x221a16._0x1d75c9)],
|
|
1476
1535
|
'',
|
|
1477
|
-
|
|
1478
|
-
|
|
1536
|
+
_0x42ec29(0x1bc),
|
|
1537
|
+
_0x21d708,
|
|
1479
1538
|
'',
|
|
1480
|
-
|
|
1481
|
-
|
|
1539
|
+
'###\x20Agents',
|
|
1540
|
+
_0x53bf46,
|
|
1482
1541
|
'',
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
][
|
|
1486
|
-
}
|
|
1487
|
-
function formatUploadResult(_0x172469) {
|
|
1488
|
-
const _0x177014 = {
|
|
1489
|
-
_0x3d901e: 0x298,
|
|
1490
|
-
_0x4920cb: 0x1ce,
|
|
1491
|
-
_0x3dc57f: 0x130,
|
|
1492
|
-
_0x4d0d4e: 0x24a
|
|
1493
|
-
}, _0x2b8a63 = _0xb29927;
|
|
1494
|
-
return _0x2b8a63(0x240) + _0x172469[_0x2b8a63(0x24c)] + '\x20(' + (_0x172469[_0x2b8a63(_0x177014._0x3d901e)] / 0x400)['toFixed'](0x1) + _0x2b8a63(_0x177014._0x4920cb) + _0x172469[_0x2b8a63(_0x177014._0x3dc57f)] + _0x2b8a63(_0x177014._0x4d0d4e);
|
|
1542
|
+
_0x42ec29(0x266),
|
|
1543
|
+
_0x3f4718
|
|
1544
|
+
]['join']('\x0a');
|
|
1495
1545
|
}
|
|
1496
|
-
function
|
|
1497
|
-
const
|
|
1498
|
-
return
|
|
1546
|
+
function formatUploadResult(_0x383f21) {
|
|
1547
|
+
const _0x43722e = { _0x3d7d94: 0x1a2 }, _0x4cadf0 = _0x51636d;
|
|
1548
|
+
return 'File\x20uploaded:\x20' + _0x383f21[_0x4cadf0(0x22f)] + '\x20(' + (_0x383f21[_0x4cadf0(0x232)] / 0x400)['toFixed'](0x1) + _0x4cadf0(0x148) + _0x383f21[_0x4cadf0(_0x43722e._0x3d7d94)] + _0x4cadf0(0x14d);
|
|
1499
1549
|
}
|
|
1500
|
-
function
|
|
1501
|
-
const
|
|
1502
|
-
|
|
1503
|
-
_0x5f0dbd: 0x27f,
|
|
1504
|
-
_0x2fb78e: 0x15b,
|
|
1505
|
-
_0x30cca0: 0x22b,
|
|
1506
|
-
_0xf9e4f3: 0x1ac,
|
|
1507
|
-
_0x9bd0c9: 0x1ac,
|
|
1508
|
-
_0x2fff76: 0x15b,
|
|
1509
|
-
_0x5b2a53: 0x193,
|
|
1510
|
-
_0x1019e6: 0x18b,
|
|
1511
|
-
_0x2a3ad2: 0x15d
|
|
1512
|
-
}, _0x3e2243 = _0xb29927;
|
|
1513
|
-
if (_0x2ccbcf[_0x3e2243(0x2ad)] === 0x0)
|
|
1514
|
-
return 'No\x20tasks\x20found.';
|
|
1515
|
-
return _0x2ccbcf[_0x3e2243(_0x3000d9._0x10c299)](_0x50c90d => {
|
|
1516
|
-
const _0x446522 = _0x3e2243, _0x172d92 = _0x50c90d[_0x446522(_0x4d9319._0x527fd1)] == null ? _0x446522(_0x4d9319._0x5f0dbd) : _0x50c90d[_0x446522(_0x4d9319._0x2fb78e)] != null ? '#' + _0x50c90d['taskNumber'] + '.' + _0x50c90d['subtaskNumber'] : '#' + _0x50c90d[_0x446522(_0x4d9319._0x30cca0)], _0x4715a3 = _0x50c90d[_0x446522(_0x4d9319._0xf9e4f3)] ? '\x20message=' + _0x50c90d[_0x446522(_0x4d9319._0x9bd0c9)] : '', _0x246d01 = _0x57152a && _0x50c90d['taskNumber'] != null && !_0x50c90d[_0x446522(_0x4d9319._0x2fff76)] && _0x57152a[_0x446522(0x23f)](_0x50c90d[_0x446522(_0x4d9319._0x527fd1)]) ? '\x20executionMode=worker' : '', _0x3ca692 = _0x50c90d[_0x446522(0x255)] != null && _0x50c90d[_0x446522(0x255)] > 0x0 ? '\x20(' + (_0x50c90d[_0x446522(_0x4d9319._0x5b2a53)] ?? 0x0) + '/' + _0x50c90d['childrenTotal'] + '\x20done)' : '', _0x23d343 = _0x50c90d[_0x446522(_0x4d9319._0x1019e6)] ? _0x446522(0x21c) + _0x50c90d[_0x446522(0x18b)] : '';
|
|
1517
|
-
return _0x172d92 + '\x20[' + _0x50c90d[_0x446522(0x14a)] + ']\x20' + _0x50c90d[_0x446522(_0x4d9319._0x2a3ad2)] + _0x3ca692 + _0x23d343 + _0x4715a3 + _0x246d01;
|
|
1518
|
-
})['join']('\x0a');
|
|
1550
|
+
function formatViewFileResult(_0xf0aa76, _0x4630dc) {
|
|
1551
|
+
const _0x5de002 = _0x51636d;
|
|
1552
|
+
return _0x4630dc ? _0x5de002(0x187) + _0xf0aa76 : 'Downloaded\x20to:\x20' + _0xf0aa76;
|
|
1519
1553
|
}
|
|
1520
|
-
function
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
};
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1554
|
+
function formatTaskList(_0x10800a, _0x4c6ca6) {
|
|
1555
|
+
const _0x1f127a = {
|
|
1556
|
+
_0x4ee5f8: 0x124,
|
|
1557
|
+
_0x266f60: 0x110
|
|
1558
|
+
}, _0x48ca4c = {
|
|
1559
|
+
_0x4b9546: 0x1cf,
|
|
1560
|
+
_0x36f414: 0x142,
|
|
1561
|
+
_0x1c3237: 0x1dc,
|
|
1562
|
+
_0x343f1d: 0x273,
|
|
1563
|
+
_0x6ff720: 0xe0,
|
|
1564
|
+
_0x256b40: 0x210,
|
|
1565
|
+
_0x555662: 0x274,
|
|
1566
|
+
_0x34e5e4: 0x21e,
|
|
1567
|
+
_0x339cd5: 0x242,
|
|
1568
|
+
_0x334cc4: 0x146
|
|
1569
|
+
}, _0x216571 = _0x51636d;
|
|
1570
|
+
if (_0x10800a[_0x216571(0x225)] === 0x0)
|
|
1571
|
+
return _0x216571(_0x1f127a._0x4ee5f8);
|
|
1572
|
+
return _0x10800a['map'](_0x35b68a => {
|
|
1573
|
+
const _0x21d353 = _0x216571, _0x389802 = _0x35b68a[_0x21d353(_0x48ca4c._0x4b9546)] == null ? _0x21d353(_0x48ca4c._0x36f414) : _0x35b68a[_0x21d353(_0x48ca4c._0x1c3237)] != null ? '#' + _0x35b68a[_0x21d353(0x1cf)] + '.' + _0x35b68a[_0x21d353(0x1dc)] : '#' + _0x35b68a[_0x21d353(0x1cf)], _0x27d0e8 = _0x35b68a['messageId'] ? _0x21d353(_0x48ca4c._0x343f1d) + _0x35b68a['messageId'] : '', _0x535e0e = _0x4c6ca6 && _0x35b68a['taskNumber'] != null && !_0x35b68a[_0x21d353(0x1dc)] && _0x4c6ca6['has'](_0x35b68a[_0x21d353(0x1cf)]) ? _0x21d353(_0x48ca4c._0x6ff720) : '', _0x181425 = _0x35b68a['childrenTotal'] != null && _0x35b68a[_0x21d353(0x274)] > 0x0 ? '\x20(' + (_0x35b68a[_0x21d353(_0x48ca4c._0x256b40)] ?? 0x0) + '/' + _0x35b68a[_0x21d353(_0x48ca4c._0x555662)] + '\x20done)' : '', _0x22b924 = _0x35b68a[_0x21d353(0x20a)] ? _0x21d353(_0x48ca4c._0x34e5e4) + _0x35b68a[_0x21d353(0x20a)] : '';
|
|
1574
|
+
return _0x389802 + '\x20[' + _0x35b68a[_0x21d353(_0x48ca4c._0x339cd5)] + ']\x20' + _0x35b68a[_0x21d353(_0x48ca4c._0x334cc4)] + _0x181425 + _0x22b924 + _0x27d0e8 + _0x535e0e;
|
|
1575
|
+
})[_0x216571(_0x1f127a._0x266f60)]('\x0a');
|
|
1540
1576
|
}
|
|
1541
|
-
function formatCreatedTasks(
|
|
1542
|
-
const
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1577
|
+
function formatCreatedTasks(_0x3ce567) {
|
|
1578
|
+
const _0xe371d0 = {
|
|
1579
|
+
_0x33da69: 0x225,
|
|
1580
|
+
_0x45f445: 0x15c,
|
|
1581
|
+
_0x2793ce: 0x110
|
|
1582
|
+
}, _0x9072df = {
|
|
1583
|
+
_0x38896f: 0x1dc,
|
|
1584
|
+
_0x3b38a1: 0x1cf,
|
|
1585
|
+
_0x4e9508: 0x1dc,
|
|
1586
|
+
_0x1a58d5: 0x1cf,
|
|
1587
|
+
_0x2bed7a: 0x146
|
|
1588
|
+
}, _0xc0d24 = _0x51636d;
|
|
1589
|
+
if (_0x3ce567[_0xc0d24(_0xe371d0._0x33da69)] === 0x0)
|
|
1590
|
+
return _0xc0d24(_0xe371d0._0x45f445);
|
|
1591
|
+
return _0x3ce567[_0xc0d24(0x17a)](_0x59c7de => {
|
|
1592
|
+
const _0xf7ce84 = _0xc0d24, _0x1e9b0a = _0x59c7de[_0xf7ce84(0x1cf)] == null ? _0xf7ce84(0x142) : _0x59c7de[_0xf7ce84(_0x9072df._0x38896f)] != null ? '#' + _0x59c7de[_0xf7ce84(_0x9072df._0x3b38a1)] + '.' + _0x59c7de[_0xf7ce84(_0x9072df._0x4e9508)] : '#' + _0x59c7de[_0xf7ce84(_0x9072df._0x1a58d5)], _0x5e140d = _0x59c7de['messageId'] ? _0xf7ce84(0x273) + _0x59c7de['messageId'] : '';
|
|
1593
|
+
return _0x1e9b0a + '\x20' + _0x59c7de[_0xf7ce84(_0x9072df._0x2bed7a)] + _0x5e140d;
|
|
1594
|
+
})[_0xc0d24(_0xe371d0._0x2793ce)]('\x0a');
|
|
1549
1595
|
}
|
|
1550
|
-
function formatClaimTaskLabel(
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
return _0x1ba746 != null ? '#' + _0x26ef46 + '.' + _0x1ba746 : '#' + _0x26ef46;
|
|
1596
|
+
function formatClaimTaskLabel(_0x5e3763, _0x438d84) {
|
|
1597
|
+
if (_0x5e3763 == null)
|
|
1598
|
+
return '(legacy)';
|
|
1599
|
+
return _0x438d84 != null ? '#' + _0x5e3763 + '.' + _0x438d84 : '#' + _0x5e3763;
|
|
1555
1600
|
}
|
|
1556
|
-
function formatClaimTaskResults(
|
|
1557
|
-
const
|
|
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
|
-
|
|
1601
|
+
function formatClaimTaskResults(_0x13f698) {
|
|
1602
|
+
const _0x2ad6ad = {
|
|
1603
|
+
_0x2af53a: 0x233,
|
|
1604
|
+
_0x25859b: 0x1e7,
|
|
1605
|
+
_0x4a2e68: 0x1fb,
|
|
1606
|
+
_0x3b27c1: 0x1be,
|
|
1607
|
+
_0xce3f4b: 0x212,
|
|
1608
|
+
_0x1ea4c2: 0x1b1,
|
|
1609
|
+
_0x602857: 0x119,
|
|
1610
|
+
_0xa4c084: 0x102,
|
|
1611
|
+
_0x405ca4: 0x162,
|
|
1612
|
+
_0xea1ab0: 0x1cf,
|
|
1613
|
+
_0x36f4b9: 0x1dc,
|
|
1614
|
+
_0x2955a5: 0x1ac
|
|
1615
|
+
}, _0x3650ff = _0x51636d;
|
|
1616
|
+
if (_0x13f698['length'] === 0x0)
|
|
1617
|
+
return _0x3650ff(0x16e);
|
|
1618
|
+
return _0x13f698[_0x3650ff(0x17a)](_0x3664f7 => {
|
|
1619
|
+
const _0x9a7840 = _0x3650ff;
|
|
1620
|
+
if (_0x3664f7[_0x9a7840(_0x2ad6ad._0x2af53a)]) {
|
|
1621
|
+
const _0x56d556 = formatClaimTaskLabel(_0x3664f7[_0x9a7840(0x1cf)], _0x3664f7[_0x9a7840(0x1dc)]), _0x11fd46 = _0x3664f7[_0x9a7840(0x165)] ? '\x20message=' + _0x3664f7[_0x9a7840(0x165)] : '';
|
|
1622
|
+
if (_0x3664f7[_0x9a7840(0x199)]) {
|
|
1623
|
+
const _0x2037f3 = [
|
|
1624
|
+
'workerHandoff=true',
|
|
1625
|
+
_0x3664f7[_0x9a7840(_0x2ad6ad._0x25859b)] ? _0x9a7840(0x10c) : null,
|
|
1626
|
+
_0x3664f7[_0x9a7840(_0x2ad6ad._0x4a2e68)] ? _0x9a7840(_0x2ad6ad._0x3b27c1) + _0x3664f7['executionMode'] : null,
|
|
1627
|
+
_0x3664f7[_0x9a7840(0x212)] ? 'threadTarget=' + _0x3664f7[_0x9a7840(_0x2ad6ad._0xce3f4b)] : null,
|
|
1628
|
+
_0x3664f7[_0x9a7840(0x1d1)] ? _0x9a7840(_0x2ad6ad._0x1ea4c2) + _0x3664f7['workerDisposition'] : null
|
|
1629
|
+
][_0x9a7840(_0x2ad6ad._0x602857)](Boolean)['join']('\x20');
|
|
1630
|
+
return _0x56d556 + '\x20claimed' + _0x11fd46 + '\x20' + _0x2037f3 + _0x9a7840(0x1d2);
|
|
1583
1631
|
}
|
|
1584
|
-
if (
|
|
1585
|
-
return
|
|
1586
|
-
const
|
|
1587
|
-
return
|
|
1632
|
+
if (_0x3664f7[_0x9a7840(_0x2ad6ad._0x4a2e68)] === _0x9a7840(_0x2ad6ad._0xa4c084))
|
|
1633
|
+
return _0x56d556 + _0x9a7840(_0x2ad6ad._0x405ca4) + _0x11fd46 + '\x20workerHandoff=false\x20executionMode=main\x0aStay\x20in\x20main\x20session:\x20read\x20the\x20referenced\x20plan/document\x20and\x20call\x20create_tasks\x20in\x20the\x20parent\x20channel\x20to\x20break\x20it\x20into\x20top-level\x20tasks\x20(or\x20otherwise\x20advance\x20the\x20task\x20in\x20main\x20without\x20handing\x20off\x20to\x20a\x20worker).';
|
|
1634
|
+
const _0x119b20 = _0x3664f7['workerHandoffError'] ? _0x9a7840(0xf6) + _0x3664f7['workerHandoffError'] : '';
|
|
1635
|
+
return _0x56d556 + _0x9a7840(_0x2ad6ad._0x405ca4) + _0x11fd46 + _0x119b20;
|
|
1588
1636
|
}
|
|
1589
|
-
const
|
|
1590
|
-
return
|
|
1591
|
-
})[
|
|
1637
|
+
const _0x15e2bc = _0x3664f7[_0x9a7840(_0x2ad6ad._0xea1ab0)] == null ? _0x3664f7[_0x9a7840(0x165)] ?? '(unknown)' : formatClaimTaskLabel(_0x3664f7[_0x9a7840(0x1cf)], _0x3664f7[_0x9a7840(_0x2ad6ad._0x36f4b9)]);
|
|
1638
|
+
return _0x15e2bc + _0x9a7840(_0x2ad6ad._0x2955a5) + (_0x3664f7[_0x9a7840(0x214)] ?? _0x9a7840(0x112));
|
|
1639
|
+
})[_0x3650ff(0x110)]('\x0a');
|
|
1592
1640
|
}
|
|
1593
|
-
function formatUnclaimTaskResult(
|
|
1594
|
-
const
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1641
|
+
function formatUnclaimTaskResult(_0x22ca7e) {
|
|
1642
|
+
const _0x11524d = {
|
|
1643
|
+
_0xedfe82: 0x1cf,
|
|
1644
|
+
_0x3b28d2: 0x1dc,
|
|
1645
|
+
_0x2956cf: 0x121
|
|
1646
|
+
}, _0x216f2e = _0x51636d, _0x2e2f56 = _0x22ca7e[_0x216f2e(_0x11524d._0xedfe82)] == null ? _0x216f2e(0x142) : _0x22ca7e[_0x216f2e(_0x11524d._0x3b28d2)] != null ? '#' + _0x22ca7e[_0x216f2e(0x1cf)] + '.' + _0x22ca7e['subtaskNumber'] : '#' + _0x22ca7e['taskNumber'];
|
|
1647
|
+
return _0x2e2f56 + _0x216f2e(_0x11524d._0x2956cf) + _0x22ca7e['status'];
|
|
1599
1648
|
}
|
|
1600
|
-
function formatUpdateTaskStatusResult(
|
|
1601
|
-
const
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
},
|
|
1608
|
-
if (
|
|
1609
|
-
return
|
|
1610
|
-
return
|
|
1649
|
+
function formatUpdateTaskStatusResult(_0x423749) {
|
|
1650
|
+
const _0xbbe15e = {
|
|
1651
|
+
_0x352ff1: 0x1cf,
|
|
1652
|
+
_0x13048d: 0x121,
|
|
1653
|
+
_0x2df6ea: 0x242,
|
|
1654
|
+
_0x5a62ac: 0x1ae,
|
|
1655
|
+
_0x5896a0: 0x1f5
|
|
1656
|
+
}, _0x4afa30 = _0x51636d, _0xe1073c = _0x423749['taskNumber'] == null ? _0x4afa30(0x142) : _0x423749[_0x4afa30(0x1dc)] != null ? '#' + _0x423749[_0x4afa30(0x1cf)] + '.' + _0x423749[_0x4afa30(0x1dc)] : '#' + _0x423749[_0x4afa30(_0xbbe15e._0x352ff1)], _0x4bbd96 = _0xe1073c + _0x4afa30(_0xbbe15e._0x13048d) + _0x423749[_0x4afa30(_0xbbe15e._0x2df6ea)];
|
|
1657
|
+
if (_0x423749[_0x4afa30(0x242)] !== _0x4afa30(_0xbbe15e._0x5a62ac))
|
|
1658
|
+
return _0x4bbd96;
|
|
1659
|
+
return _0x4bbd96 + _0x4afa30(_0xbbe15e._0x5896a0);
|
|
1611
1660
|
}
|
|
1612
1661
|
function getChatBridgeToolDefinitions() {
|
|
1613
|
-
const
|
|
1614
|
-
_0x66edc3: 0x258,
|
|
1615
|
-
_0x3e2c71: 0x1ea,
|
|
1616
|
-
_0x44dcf7: 0x229
|
|
1617
|
-
}, _0x32d2c5 = _0xb29927;
|
|
1662
|
+
const _0x33c56d = { _0x4fd07b: 0x1d6 }, _0x51517e = _0x51636d;
|
|
1618
1663
|
return [
|
|
1619
|
-
{ 'name':
|
|
1664
|
+
{ 'name': _0x51517e(0x105) },
|
|
1620
1665
|
{ 'name': 'check_messages' },
|
|
1621
|
-
{ 'name':
|
|
1666
|
+
{ 'name': 'read_history' },
|
|
1622
1667
|
{ 'name': 'list_server' },
|
|
1623
|
-
{ 'name':
|
|
1624
|
-
{ 'name':
|
|
1625
|
-
{ 'name':
|
|
1668
|
+
{ 'name': _0x51517e(0x1e4) },
|
|
1669
|
+
{ 'name': 'view_file' },
|
|
1670
|
+
{ 'name': _0x51517e(0x1ce) },
|
|
1626
1671
|
{ 'name': 'create_tasks' },
|
|
1627
|
-
{ 'name':
|
|
1628
|
-
{ 'name':
|
|
1629
|
-
{ 'name':
|
|
1672
|
+
{ 'name': _0x51517e(0x126) },
|
|
1673
|
+
{ 'name': _0x51517e(0x1c0) },
|
|
1674
|
+
{ 'name': 'update_task_status' },
|
|
1630
1675
|
{ 'name': 'get_worker_status' },
|
|
1631
|
-
{ 'name':
|
|
1632
|
-
{ 'name':
|
|
1633
|
-
{ 'name':
|
|
1676
|
+
{ 'name': _0x51517e(0x1f6) },
|
|
1677
|
+
{ 'name': _0x51517e(0x20e) },
|
|
1678
|
+
{ 'name': _0x51517e(_0x33c56d._0x4fd07b) }
|
|
1634
1679
|
];
|
|
1635
1680
|
}
|
|
1636
|
-
function createChatBridgeHandlers(
|
|
1637
|
-
const
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
},
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
},
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
},
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
},
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1681
|
+
function createChatBridgeHandlers(_0x17d0f2) {
|
|
1682
|
+
const _0x44ef97 = { _0x36191c: 0x22e }, _0x440039 = {
|
|
1683
|
+
_0x3c166a: 0x163,
|
|
1684
|
+
_0xac99f9: 0x167,
|
|
1685
|
+
_0x58c1c2: 0x25c,
|
|
1686
|
+
_0x39e15d: 0xed,
|
|
1687
|
+
_0x2a431f: 0x214
|
|
1688
|
+
}, _0x4e0493 = {
|
|
1689
|
+
_0x5115d6: 0x244,
|
|
1690
|
+
_0x3632e2: 0x1b9,
|
|
1691
|
+
_0x3f2f9d: 0x14e,
|
|
1692
|
+
_0x390ded: 0x1e3
|
|
1693
|
+
}, _0x38cecb = {
|
|
1694
|
+
_0x134d9d: 0x163,
|
|
1695
|
+
_0x136f52: 0x167,
|
|
1696
|
+
_0x4b3c0f: 0x25c,
|
|
1697
|
+
_0x136fb8: 0x14e,
|
|
1698
|
+
_0x229385: 0xed,
|
|
1699
|
+
_0x221f9c: 0x213,
|
|
1700
|
+
_0x33ea2c: 0x20c
|
|
1701
|
+
}, _0x3690d1 = {
|
|
1702
|
+
_0x1e48af: 0x20f,
|
|
1703
|
+
_0x4563c8: 0x163,
|
|
1704
|
+
_0x179cf8: 0x14c,
|
|
1705
|
+
_0x4b9cc2: 0x213,
|
|
1706
|
+
_0x2e6b65: 0x14e,
|
|
1707
|
+
_0x4daafa: 0xf2
|
|
1708
|
+
}, _0x2bd1ac = {
|
|
1709
|
+
_0x190acd: 0x24d,
|
|
1710
|
+
_0x32e693: 0xf3,
|
|
1711
|
+
_0x2b6c55: 0x19d,
|
|
1712
|
+
_0x6ebc00: 0x184
|
|
1713
|
+
}, _0x1901f5 = { _0x199b8f: 0xf5 }, _0x84e2b1 = {
|
|
1714
|
+
_0x5b1d78: 0x1a0,
|
|
1715
|
+
_0x15ac37: 0x249
|
|
1716
|
+
}, _0x5d2c3f = {
|
|
1717
|
+
_0x32faf0: 0x1c0,
|
|
1718
|
+
_0x11cd24: 0x222
|
|
1719
|
+
}, _0x5d2e22 = {
|
|
1720
|
+
_0x522d62: 0x1a0,
|
|
1721
|
+
_0x4c8eac: 0x175,
|
|
1722
|
+
_0xdf640b: 0x156,
|
|
1723
|
+
_0x23a315: 0x225,
|
|
1724
|
+
_0x53400c: 0x10e
|
|
1725
|
+
}, _0x1921d4 = {
|
|
1726
|
+
_0x1813d6: 0xf9,
|
|
1727
|
+
_0x5d5714: 0x1a0,
|
|
1728
|
+
_0x34ca26: 0x23a
|
|
1729
|
+
}, _0x274f28 = {
|
|
1730
|
+
_0x2492fb: 0x249,
|
|
1731
|
+
_0xce5252: 0x10d,
|
|
1732
|
+
_0x5909ef: 0x163,
|
|
1733
|
+
_0x597900: 0x244,
|
|
1734
|
+
_0x40d17f: 0x163,
|
|
1735
|
+
_0x80ab38: 0x218,
|
|
1736
|
+
_0x1bb77d: 0x242,
|
|
1737
|
+
_0x559e0d: 0x203,
|
|
1738
|
+
_0x36d420: 0x22b,
|
|
1739
|
+
_0x10456f: 0x225,
|
|
1740
|
+
_0x5e4db5: 0x23a,
|
|
1741
|
+
_0x2687a9: 0x251,
|
|
1742
|
+
_0x41bdf4: 0x1cf,
|
|
1743
|
+
_0x49c094: 0x23a,
|
|
1744
|
+
_0x2f433b: 0x265,
|
|
1745
|
+
_0x3229a5: 0x1cf,
|
|
1746
|
+
_0x2d3cdf: 0x23a
|
|
1747
|
+
}, _0xd20c98 = { _0x2b6a32: 0x235 }, _0x84bac8 = {
|
|
1748
|
+
_0x2f100d: 0x249,
|
|
1749
|
+
_0x583c9b: 0x127
|
|
1750
|
+
}, _0x21f724 = {
|
|
1751
|
+
_0x17156f: 0x244,
|
|
1752
|
+
_0x239a35: 0x249,
|
|
1753
|
+
_0x48f1b1: 0x113,
|
|
1754
|
+
_0x14b3a3: 0x102,
|
|
1755
|
+
_0x142f71: 0x254,
|
|
1756
|
+
_0x34505e: 0x257,
|
|
1757
|
+
_0x24ba44: 0x257,
|
|
1758
|
+
_0x20f2f6: 0x1a6,
|
|
1759
|
+
_0x5c7dd9: 0x165,
|
|
1760
|
+
_0x39ed89: 0x1cf,
|
|
1761
|
+
_0x1eb1bf: 0x1a3,
|
|
1762
|
+
_0x2771a5: 0x111,
|
|
1763
|
+
_0x471426: 0x111,
|
|
1764
|
+
_0x5c431f: 0x257,
|
|
1765
|
+
_0x455d6c: 0x13f,
|
|
1766
|
+
_0x521148: 0x1db,
|
|
1767
|
+
_0x4a3cc4: 0x12e,
|
|
1768
|
+
_0x6d79fa: 0x110,
|
|
1769
|
+
_0x2e1a34: 0x197,
|
|
1770
|
+
_0x3f3eee: 0x128,
|
|
1771
|
+
_0x505119: 0x181,
|
|
1772
|
+
_0x5e5b5d: 0x1a3,
|
|
1773
|
+
_0x49153a: 0x207,
|
|
1774
|
+
_0xe25544: 0x13c,
|
|
1775
|
+
_0x2f5202: 0x137,
|
|
1776
|
+
_0x22d23e: 0x167,
|
|
1777
|
+
_0x46d0d9: 0x244,
|
|
1778
|
+
_0x4576ef: 0xf0,
|
|
1779
|
+
_0x16b9a7: 0x14e,
|
|
1780
|
+
_0x34178b: 0x25f,
|
|
1781
|
+
_0x24f84c: 0x1cc,
|
|
1782
|
+
_0x39ad21: 0x262,
|
|
1783
|
+
_0x455844: 0x1c9,
|
|
1784
|
+
_0x212ad3: 0x249,
|
|
1785
|
+
_0x5b239c: 0x1b6
|
|
1786
|
+
}, _0x1bb1b7 = {
|
|
1787
|
+
_0x4667e2: 0x163,
|
|
1788
|
+
_0x584a8e: 0x14e,
|
|
1789
|
+
_0x341caa: 0x242,
|
|
1790
|
+
_0x103d4c: 0x265
|
|
1791
|
+
}, _0x1f0353 = {
|
|
1792
|
+
_0x103adb: 0x163,
|
|
1793
|
+
_0x56a2fa: 0x244,
|
|
1794
|
+
_0x3c8ee5: 0x265
|
|
1795
|
+
}, _0x3944ee = {
|
|
1796
|
+
_0x3dfa47: 0x163,
|
|
1797
|
+
_0x43c36b: 0x17b,
|
|
1798
|
+
_0x1a91b4: 0x1a0,
|
|
1799
|
+
_0x31f50d: 0x102,
|
|
1800
|
+
_0xcb90ec: 0x149,
|
|
1801
|
+
_0x352cc6: 0x111,
|
|
1802
|
+
_0x1411db: 0x185,
|
|
1803
|
+
_0x2d7279: 0x165,
|
|
1804
|
+
_0x1e9f15: 0x221,
|
|
1805
|
+
_0x40c743: 0x251,
|
|
1806
|
+
_0x3d892d: 0x171,
|
|
1807
|
+
_0x13964f: 0x26e,
|
|
1808
|
+
_0xa42dc8: 0x117,
|
|
1809
|
+
_0x1a34a7: 0x188,
|
|
1810
|
+
_0x38d07d: 0x163,
|
|
1811
|
+
_0x11da94: 0x23f,
|
|
1812
|
+
_0x19463f: 0x25c,
|
|
1813
|
+
_0x22e9d9: 0x244,
|
|
1814
|
+
_0xc37a61: 0x207,
|
|
1815
|
+
_0x4136a8: 0x1cf,
|
|
1816
|
+
_0x41e685: 0x1da,
|
|
1817
|
+
_0x2fc19d: 0x1c4,
|
|
1818
|
+
_0x33eed6: 0x196
|
|
1819
|
+
}, _0x30589b = {
|
|
1820
|
+
_0x3677ad: 0x23b,
|
|
1821
|
+
_0xc1d499: 0x263
|
|
1822
|
+
}, _0x31765a = _0x51636d;
|
|
1823
|
+
function _0x23f8b9(_0x17b8f3, _0x2328b0) {
|
|
1824
|
+
const _0x113bdb = _0x3278;
|
|
1825
|
+
if (!_0x17d0f2[_0x113bdb(_0x30589b._0x3677ad)])
|
|
1773
1826
|
return;
|
|
1774
|
-
if (!
|
|
1775
|
-
throw new Error(
|
|
1776
|
-
if (
|
|
1777
|
-
throw new Error(
|
|
1827
|
+
if (!_0x17d0f2[_0x113bdb(_0x30589b._0xc1d499)])
|
|
1828
|
+
throw new Error(_0x17b8f3 + _0x113bdb(0xee));
|
|
1829
|
+
if (_0x2328b0 !== _0x17d0f2[_0x113bdb(0x263)])
|
|
1830
|
+
throw new Error(_0x17b8f3 + ':\x20worker\x20can\x20only\x20operate\x20inside\x20its\x20own\x20task\x20thread\x20(' + _0x17d0f2['workerThreadTarget'] + ');\x20got\x20channel=' + _0x2328b0);
|
|
1778
1831
|
}
|
|
1779
|
-
async function
|
|
1780
|
-
const
|
|
1781
|
-
if (!
|
|
1832
|
+
async function _0xc4faea(_0x22f63f) {
|
|
1833
|
+
const _0x27d483 = _0x3278;
|
|
1834
|
+
if (!_0x17d0f2[_0x27d483(_0x3944ee._0x3dfa47)] || !_0x17d0f2['agentId'] || _0x17d0f2[_0x27d483(0x23b)] || _0x17d0f2[_0x27d483(_0x3944ee._0x43c36b)] !== !![])
|
|
1782
1835
|
return null;
|
|
1783
|
-
const
|
|
1784
|
-
if (
|
|
1836
|
+
const _0xb47447 = parseTarget(_0x22f63f[_0x27d483(0x1a0)]);
|
|
1837
|
+
if (_0xb47447['kind'] !== _0x27d483(_0x3944ee._0x1a91b4))
|
|
1785
1838
|
return null;
|
|
1786
|
-
if (
|
|
1787
|
-
const
|
|
1839
|
+
if (_0x22f63f[_0x27d483(0x1fb)] === _0x27d483(0x102)) {
|
|
1840
|
+
const _0x301f17 = _0x22f63f[_0x27d483(0x1cf)] == null ? '(legacy)' : '#' + _0x22f63f[_0x27d483(0x1cf)];
|
|
1788
1841
|
return {
|
|
1789
|
-
'executionMode':
|
|
1842
|
+
'executionMode': _0x27d483(_0x3944ee._0x31f50d),
|
|
1790
1843
|
'stopMain': ![],
|
|
1791
1844
|
'workerHandoff': ![],
|
|
1792
|
-
'workerHandoffError': 'task\x20' +
|
|
1845
|
+
'workerHandoffError': 'task\x20' + _0x301f17 + _0x27d483(_0x3944ee._0xcb90ec)
|
|
1793
1846
|
};
|
|
1794
1847
|
}
|
|
1795
|
-
const
|
|
1796
|
-
let
|
|
1848
|
+
const _0x186cba = _0x22f63f[_0x27d483(_0x3944ee._0x352cc6)] != null ? _0xb47447['channelTarget'] + ':t' + _0x22f63f[_0x27d483(0x111)] : _0xb47447[_0x27d483(_0x3944ee._0x1411db)] + ':' + _0x22f63f[_0x27d483(_0x3944ee._0x2d7279)];
|
|
1849
|
+
let _0x5bc2e2;
|
|
1797
1850
|
try {
|
|
1798
|
-
const
|
|
1799
|
-
'channel':
|
|
1851
|
+
const _0x58c2d3 = await _0x17d0f2[_0x27d483(0x249)][_0x27d483(_0x3944ee._0x1e9f15)]({
|
|
1852
|
+
'channel': _0x186cba,
|
|
1800
1853
|
'limit': 0x14
|
|
1801
1854
|
});
|
|
1802
|
-
|
|
1855
|
+
_0x5bc2e2 = _0x58c2d3[_0x27d483(0x127)][_0x27d483(_0x3944ee._0x40c743)](_0x41bdb5 => _0x41bdb5[_0x27d483(0x165)] === _0x22f63f[_0x27d483(0x165)]);
|
|
1803
1856
|
} catch {
|
|
1804
|
-
|
|
1857
|
+
_0x5bc2e2 = void 0x0;
|
|
1805
1858
|
}
|
|
1806
|
-
const
|
|
1807
|
-
|
|
1859
|
+
const _0x2ef4ef = _0x22f63f[_0x27d483(0x1cf)] == null ? _0x27d483(0x142) : '#' + _0x22f63f['taskNumber'], _0xc35d3 = [
|
|
1860
|
+
_0x27d483(_0x3944ee._0x3d892d) + _0x186cba + _0x27d483(0x14a) + _0x22f63f[_0x27d483(0x165)][_0x27d483(0x13f)](0x0, 0x8) + _0x27d483(_0x3944ee._0x13964f) + new Date()[_0x27d483(0x128)]() + _0x27d483(0x18a) + _0x2ef4ef + _0x27d483(_0x3944ee._0xa42dc8),
|
|
1808
1861
|
'',
|
|
1809
|
-
|
|
1862
|
+
_0x5bc2e2 ? _0x27d483(0x1cb) + _0x5bc2e2[_0x27d483(0x164)] : 'Root\x20task\x20message\x20id:\x20' + _0x22f63f[_0x27d483(0x165)],
|
|
1810
1863
|
'',
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
][
|
|
1814
|
-
'method':
|
|
1815
|
-
'headers': { 'Content-Type':
|
|
1816
|
-
'body': JSON[
|
|
1817
|
-
'agent_id':
|
|
1818
|
-
'thread_target':
|
|
1864
|
+
_0x27d483(0x13c) + _0x186cba,
|
|
1865
|
+
_0x27d483(_0x3944ee._0x1a34a7)
|
|
1866
|
+
][_0x27d483(0x110)]('\x0a'), _0xe593c5 = await fetch(_0x17d0f2[_0x27d483(_0x3944ee._0x38d07d)] + '/workers/deliver', {
|
|
1867
|
+
'method': _0x27d483(0x167),
|
|
1868
|
+
'headers': { 'Content-Type': _0x27d483(_0x3944ee._0x11da94) },
|
|
1869
|
+
'body': JSON[_0x27d483(_0x3944ee._0x19463f)]({
|
|
1870
|
+
'agent_id': _0x17d0f2[_0x27d483(_0x3944ee._0x22e9d9)],
|
|
1871
|
+
'thread_target': _0x186cba,
|
|
1819
1872
|
'spawn_packet': {
|
|
1820
|
-
'replyTarget':
|
|
1821
|
-
...
|
|
1873
|
+
'replyTarget': _0x186cba,
|
|
1874
|
+
..._0x22f63f['taskId'] ? { 'taskId': _0x22f63f[_0x27d483(_0x3944ee._0xc37a61)] } : _0x22f63f[_0x27d483(_0x3944ee._0x4136a8)] != null ? { 'taskId': 'task-' + _0x22f63f[_0x27d483(0x1cf)] } : {}
|
|
1822
1875
|
},
|
|
1823
1876
|
'payload': {
|
|
1824
|
-
'mode':
|
|
1825
|
-
'text':
|
|
1877
|
+
'mode': _0x27d483(0xf0),
|
|
1878
|
+
'text': _0xc35d3
|
|
1826
1879
|
}
|
|
1827
1880
|
})
|
|
1828
|
-
}),
|
|
1829
|
-
if (!
|
|
1830
|
-
throw new Error(
|
|
1881
|
+
}), _0x4d1d5c = await _0xe593c5['json']();
|
|
1882
|
+
if (!_0x4d1d5c['ok'])
|
|
1883
|
+
throw new Error(_0x4d1d5c[_0x27d483(0xed)] ?? _0x27d483(_0x3944ee._0x41e685));
|
|
1831
1884
|
return {
|
|
1832
1885
|
'stopMain': !![],
|
|
1833
|
-
'threadTarget':
|
|
1834
|
-
'workerDisposition':
|
|
1886
|
+
'threadTarget': _0x186cba,
|
|
1887
|
+
'workerDisposition': _0x4d1d5c[_0x27d483(0x262)] === _0x27d483(0x1c9) ? 'queued' : 'started',
|
|
1835
1888
|
'workerHandoff': !![],
|
|
1836
|
-
'workerSessionId':
|
|
1837
|
-
'executionMode':
|
|
1889
|
+
'workerSessionId': _0x4d1d5c[_0x27d483(_0x3944ee._0x2fc19d)] ?? '',
|
|
1890
|
+
'executionMode': _0x27d483(_0x3944ee._0x33eed6)
|
|
1838
1891
|
};
|
|
1839
1892
|
}
|
|
1840
|
-
async function
|
|
1841
|
-
const
|
|
1842
|
-
if (!
|
|
1893
|
+
async function _0x68c17a() {
|
|
1894
|
+
const _0x438e6c = _0x3278;
|
|
1895
|
+
if (!_0x17d0f2[_0x438e6c(_0x1f0353._0x103adb)] || !_0x17d0f2['agentId'] || _0x17d0f2['workerMode'])
|
|
1843
1896
|
return null;
|
|
1844
1897
|
try {
|
|
1845
|
-
const
|
|
1846
|
-
if (!
|
|
1898
|
+
const _0x562661 = await fetch(_0x17d0f2['daemonLocalUrl'] + _0x438e6c(0xe4) + encodeURIComponent(_0x17d0f2[_0x438e6c(_0x1f0353._0x56a2fa)])), _0x3e745e = await _0x562661[_0x438e6c(0x14e)]();
|
|
1899
|
+
if (!_0x3e745e['ok'])
|
|
1847
1900
|
return null;
|
|
1848
|
-
const
|
|
1849
|
-
for (const
|
|
1850
|
-
|
|
1901
|
+
const _0x483583 = new Set();
|
|
1902
|
+
for (const _0x3ede5 of _0x3e745e[_0x438e6c(0x218)]) {
|
|
1903
|
+
_0x3ede5[_0x438e6c(0x242)] !== _0x438e6c(0x203) && _0x3ede5[_0x438e6c(0x22b)] && _0x483583[_0x438e6c(_0x1f0353._0x3c8ee5)](_0x3ede5[_0x438e6c(0x22b)]);
|
|
1851
1904
|
}
|
|
1852
|
-
return
|
|
1905
|
+
return _0x483583[_0x438e6c(0x138)] > 0x0 ? _0x483583 : null;
|
|
1853
1906
|
} catch {
|
|
1854
1907
|
return null;
|
|
1855
1908
|
}
|
|
1856
1909
|
}
|
|
1857
|
-
const
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1910
|
+
const _0x395e02 = new Set([
|
|
1911
|
+
_0x31765a(0x103),
|
|
1912
|
+
_0x31765a(0x129),
|
|
1913
|
+
_0x31765a(_0x44ef97._0x36191c)
|
|
1861
1914
|
]);
|
|
1862
|
-
async function
|
|
1863
|
-
const
|
|
1864
|
-
if (!
|
|
1915
|
+
async function _0x31e1a3() {
|
|
1916
|
+
const _0x489617 = _0x31765a;
|
|
1917
|
+
if (!_0x17d0f2[_0x489617(0x163)] || !_0x17d0f2['agentId'] || _0x17d0f2['workerMode'])
|
|
1865
1918
|
return null;
|
|
1866
1919
|
try {
|
|
1867
|
-
const
|
|
1868
|
-
if (!
|
|
1920
|
+
const _0x2d727d = await fetch(_0x17d0f2[_0x489617(_0x1bb1b7._0x4667e2)] + _0x489617(0xe4) + encodeURIComponent(_0x17d0f2[_0x489617(0x244)])), _0x103e08 = await _0x2d727d[_0x489617(_0x1bb1b7._0x584a8e)]();
|
|
1921
|
+
if (!_0x103e08['ok'])
|
|
1869
1922
|
return null;
|
|
1870
|
-
const
|
|
1871
|
-
for (const
|
|
1872
|
-
|
|
1923
|
+
const _0x4ec4b4 = new Set();
|
|
1924
|
+
for (const _0x34e89d of _0x103e08['workers']) {
|
|
1925
|
+
_0x395e02[_0x489617(0x1db)](_0x34e89d[_0x489617(_0x1bb1b7._0x341caa)]) && _0x34e89d['thread_target'] && _0x4ec4b4[_0x489617(_0x1bb1b7._0x103d4c)](_0x34e89d[_0x489617(0x22b)]);
|
|
1873
1926
|
}
|
|
1874
|
-
return
|
|
1927
|
+
return _0x4ec4b4[_0x489617(0x138)] > 0x0 ? _0x4ec4b4 : null;
|
|
1875
1928
|
} catch {
|
|
1876
1929
|
return null;
|
|
1877
1930
|
}
|
|
1878
1931
|
}
|
|
1879
1932
|
return {
|
|
1880
|
-
async 'send_message'(
|
|
1881
|
-
const
|
|
1882
|
-
if (!
|
|
1883
|
-
const
|
|
1884
|
-
if (
|
|
1885
|
-
if (
|
|
1886
|
-
const
|
|
1887
|
-
'attachmentIds':
|
|
1888
|
-
'content':
|
|
1889
|
-
'target':
|
|
1890
|
-
'visibility':
|
|
1933
|
+
async 'send_message'(_0x3f387a) {
|
|
1934
|
+
const _0x3755f2 = _0x31765a;
|
|
1935
|
+
if (!_0x17d0f2[_0x3755f2(0x23b)] && _0x17d0f2[_0x3755f2(0x17b)] && _0x17d0f2[_0x3755f2(0x163)] && _0x17d0f2[_0x3755f2(_0x21f724._0x17156f)]) {
|
|
1936
|
+
const _0x2ef302 = await _0x17d0f2[_0x3755f2(_0x21f724._0x239a35)][_0x3755f2(_0x21f724._0x48f1b1)](_0x3f387a[_0x3755f2(0x257)]);
|
|
1937
|
+
if (_0x2ef302[_0x3755f2(0x1a3)] && _0x2ef302['threadId']) {
|
|
1938
|
+
if (_0x2ef302[_0x3755f2(0x1a3)][_0x3755f2(0x1fb)] === _0x3755f2(_0x21f724._0x14b3a3)) {
|
|
1939
|
+
const _0x131eac = await _0x17d0f2[_0x3755f2(0x249)][_0x3755f2(0x264)]({
|
|
1940
|
+
'attachmentIds': _0x3f387a[_0x3755f2(_0x21f724._0x142f71)],
|
|
1941
|
+
'content': _0x3f387a[_0x3755f2(0x164)],
|
|
1942
|
+
'target': _0x3f387a[_0x3755f2(_0x21f724._0x34505e)],
|
|
1943
|
+
'visibility': _0x3f387a[_0x3755f2(0x1b6)]
|
|
1891
1944
|
});
|
|
1892
|
-
return 'Message\x20sent\x20to\x20' +
|
|
1945
|
+
return 'Message\x20sent\x20to\x20' + _0x3f387a[_0x3755f2(_0x21f724._0x24ba44)] + _0x3755f2(_0x21f724._0x20f2f6) + _0x131eac[_0x3755f2(_0x21f724._0x5c7dd9)];
|
|
1893
1946
|
}
|
|
1894
|
-
const
|
|
1895
|
-
if (
|
|
1947
|
+
const _0x3c8e42 = _0x2ef302[_0x3755f2(0x1a3)][_0x3755f2(_0x21f724._0x39ed89)] != null ? '#' + _0x2ef302[_0x3755f2(_0x21f724._0x1eb1bf)][_0x3755f2(_0x21f724._0x39ed89)] : '(legacy)', _0x4fd377 = _0x2ef302[_0x3755f2(_0x21f724._0x2771a5)] != null ? _0x2ef302[_0x3755f2(0x257)] + ':t' + _0x2ef302[_0x3755f2(_0x21f724._0x471426)] : _0x2ef302[_0x3755f2(_0x21f724._0x5c431f)] + ':' + _0x2ef302[_0x3755f2(0x24e)][_0x3755f2(_0x21f724._0x455d6c)](0x0, 0x8), _0x10774d = await _0x31e1a3();
|
|
1948
|
+
if (_0x10774d?.[_0x3755f2(_0x21f724._0x521148)](_0x4fd377))
|
|
1896
1949
|
return [
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
][
|
|
1900
|
-
const
|
|
1901
|
-
|
|
1950
|
+
_0x3755f2(0x1e8) + _0x3c8e42 + '\x20in\x20' + _0x4fd377 + _0x3755f2(_0x21f724._0x4a3cc4),
|
|
1951
|
+
_0x3755f2(0x136)
|
|
1952
|
+
][_0x3755f2(_0x21f724._0x6d79fa)]('\x0a');
|
|
1953
|
+
const _0x1db8bd = [
|
|
1954
|
+
'[target=' + _0x4fd377 + _0x3755f2(_0x21f724._0x2e1a34) + new Date()[_0x3755f2(_0x21f724._0x3f3eee)]() + ']\x20@system:\x20[enter-handoff]',
|
|
1902
1955
|
'',
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
][
|
|
1908
|
-
'method':
|
|
1909
|
-
'headers': { 'Content-Type':
|
|
1910
|
-
'body': JSON[
|
|
1911
|
-
'agent_id':
|
|
1912
|
-
'thread_target':
|
|
1956
|
+
_0x3755f2(0x224) + _0x3f387a[_0x3755f2(0x164)],
|
|
1957
|
+
_0x3755f2(_0x21f724._0x505119) + _0x3c8e42 + '\x20(' + _0x2ef302[_0x3755f2(_0x21f724._0x5e5b5d)][_0x3755f2(_0x21f724._0x49153a)] + ')',
|
|
1958
|
+
_0x3755f2(_0x21f724._0xe25544) + _0x4fd377,
|
|
1959
|
+
_0x3755f2(_0x21f724._0x2f5202)
|
|
1960
|
+
][_0x3755f2(0x110)]('\x0a'), _0x3e30aa = await fetch(_0x17d0f2[_0x3755f2(0x163)] + _0x3755f2(0x172), {
|
|
1961
|
+
'method': _0x3755f2(_0x21f724._0x22d23e),
|
|
1962
|
+
'headers': { 'Content-Type': _0x3755f2(0x23f) },
|
|
1963
|
+
'body': JSON['stringify']({
|
|
1964
|
+
'agent_id': _0x17d0f2[_0x3755f2(_0x21f724._0x46d0d9)],
|
|
1965
|
+
'thread_target': _0x4fd377,
|
|
1913
1966
|
'spawn_packet': {
|
|
1914
|
-
'replyTarget':
|
|
1915
|
-
'taskId':
|
|
1967
|
+
'replyTarget': _0x4fd377,
|
|
1968
|
+
'taskId': _0x2ef302[_0x3755f2(0x1a3)][_0x3755f2(0x207)]
|
|
1916
1969
|
},
|
|
1917
1970
|
'payload': {
|
|
1918
|
-
'mode':
|
|
1919
|
-
'text':
|
|
1971
|
+
'mode': _0x3755f2(_0x21f724._0x4576ef),
|
|
1972
|
+
'text': _0x1db8bd
|
|
1920
1973
|
}
|
|
1921
1974
|
})
|
|
1922
|
-
}),
|
|
1923
|
-
if (!
|
|
1924
|
-
throw new Error(
|
|
1975
|
+
}), _0x5ad0e3 = await _0x3e30aa[_0x3755f2(_0x21f724._0x16b9a7)]();
|
|
1976
|
+
if (!_0x5ad0e3['ok'])
|
|
1977
|
+
throw new Error(_0x5ad0e3['error'] ?? _0x3755f2(_0x21f724._0x34178b));
|
|
1925
1978
|
return [
|
|
1926
|
-
'Handoff\x20to\x20worker\x20for\x20task\x20' +
|
|
1927
|
-
|
|
1979
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x3c8e42 + _0x3755f2(_0x21f724._0x24f84c) + _0x4fd377 + '.\x20stopMain=true\x20executionMode=worker',
|
|
1980
|
+
_0x3755f2(0x226) + (_0x5ad0e3[_0x3755f2(_0x21f724._0x39ad21)] === _0x3755f2(_0x21f724._0x455844) ? 'queued' : _0x3755f2(0xea)) + '.',
|
|
1928
1981
|
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1929
|
-
][
|
|
1982
|
+
][_0x3755f2(0x110)]('\x0a');
|
|
1930
1983
|
}
|
|
1931
1984
|
}
|
|
1932
|
-
const
|
|
1933
|
-
'attachmentIds':
|
|
1934
|
-
'content':
|
|
1935
|
-
'target':
|
|
1936
|
-
'visibility':
|
|
1985
|
+
const _0x1a125c = await _0x17d0f2[_0x3755f2(_0x21f724._0x212ad3)]['sendMessage']({
|
|
1986
|
+
'attachmentIds': _0x3f387a[_0x3755f2(0x254)],
|
|
1987
|
+
'content': _0x3f387a[_0x3755f2(0x164)],
|
|
1988
|
+
'target': _0x3f387a[_0x3755f2(_0x21f724._0x5c431f)],
|
|
1989
|
+
'visibility': _0x3f387a[_0x3755f2(_0x21f724._0x5b239c)]
|
|
1937
1990
|
});
|
|
1938
|
-
return
|
|
1991
|
+
return 'Message\x20sent\x20to\x20' + _0x3f387a[_0x3755f2(_0x21f724._0x24ba44)] + '.\x20Message\x20ID:\x20' + _0x1a125c[_0x3755f2(0x165)];
|
|
1939
1992
|
},
|
|
1940
1993
|
async 'check_messages'() {
|
|
1941
|
-
const
|
|
1942
|
-
if (!
|
|
1943
|
-
const
|
|
1944
|
-
if (
|
|
1945
|
-
return formatCheckMessages(
|
|
1994
|
+
const _0x59deeb = _0x31765a, _0x28c389 = await _0x17d0f2[_0x59deeb(_0x84bac8._0x2f100d)][_0x59deeb(0x1e1)]();
|
|
1995
|
+
if (!_0x17d0f2[_0x59deeb(0x23b)]) {
|
|
1996
|
+
const _0x40bd7c = await _0x68c17a();
|
|
1997
|
+
if (_0x40bd7c)
|
|
1998
|
+
return formatCheckMessages(_0x28c389[_0x59deeb(_0x84bac8._0x583c9b)][_0x59deeb(0x119)](_0x40fbae => !_0x40bd7c[_0x59deeb(0x1db)](_0x40fbae[_0x59deeb(0x257)])));
|
|
1946
1999
|
}
|
|
1947
|
-
return formatCheckMessages(
|
|
2000
|
+
return formatCheckMessages(_0x28c389[_0x59deeb(_0x84bac8._0x583c9b)]);
|
|
1948
2001
|
},
|
|
1949
|
-
async 'read_history'(
|
|
1950
|
-
const
|
|
1951
|
-
return formatHistory(
|
|
2002
|
+
async 'read_history'(_0x4b467e) {
|
|
2003
|
+
const _0x285424 = _0x31765a, _0x2354ee = await _0x17d0f2[_0x285424(0x249)]['readHistory'](_0x4b467e);
|
|
2004
|
+
return formatHistory(_0x2354ee);
|
|
1952
2005
|
},
|
|
1953
2006
|
async 'list_server'() {
|
|
1954
|
-
const
|
|
1955
|
-
return formatServerDirectory(
|
|
2007
|
+
const _0x2841bb = _0x31765a, _0x4a4162 = await _0x17d0f2[_0x2841bb(0x249)][_0x2841bb(_0xd20c98._0x2b6a32)]();
|
|
2008
|
+
return formatServerDirectory(_0x4a4162);
|
|
1956
2009
|
},
|
|
1957
|
-
async 'list_tasks'(
|
|
1958
|
-
const
|
|
1959
|
-
let
|
|
1960
|
-
if (
|
|
2010
|
+
async 'list_tasks'(_0x3262d2) {
|
|
2011
|
+
const _0x1e95db = _0x31765a, _0xbeec26 = await _0x17d0f2[_0x1e95db(_0x274f28._0x2492fb)][_0x1e95db(_0x274f28._0xce5252)](_0x3262d2);
|
|
2012
|
+
let _0x477ac4;
|
|
2013
|
+
if (_0x17d0f2[_0x1e95db(_0x274f28._0x5909ef)] && _0x17d0f2[_0x1e95db(_0x274f28._0x597900)])
|
|
1961
2014
|
try {
|
|
1962
|
-
const
|
|
1963
|
-
if (
|
|
1964
|
-
const
|
|
1965
|
-
|
|
1966
|
-
for (const
|
|
1967
|
-
if (
|
|
2015
|
+
const _0x583913 = await fetch(_0x17d0f2[_0x1e95db(_0x274f28._0x40d17f)] + _0x1e95db(0xe4) + encodeURIComponent(_0x17d0f2[_0x1e95db(0x244)])), _0x25cb19 = await _0x583913['json']();
|
|
2016
|
+
if (_0x25cb19['ok']) {
|
|
2017
|
+
const _0x28d7bc = _0x3262d2[_0x1e95db(0x1a0)] + ':';
|
|
2018
|
+
_0x477ac4 = new Set();
|
|
2019
|
+
for (const _0x5565e4 of _0x25cb19[_0x1e95db(_0x274f28._0x80ab38)]) {
|
|
2020
|
+
if (_0x5565e4[_0x1e95db(_0x274f28._0x1bb77d)] === _0x1e95db(_0x274f28._0x559e0d))
|
|
1968
2021
|
continue;
|
|
1969
|
-
if (
|
|
1970
|
-
const
|
|
1971
|
-
if (
|
|
1972
|
-
|
|
2022
|
+
if (_0x5565e4[_0x1e95db(_0x274f28._0x36d420)]?.[_0x1e95db(0x161)](_0x28d7bc)) {
|
|
2023
|
+
const _0x39e279 = _0x5565e4[_0x1e95db(0x22b)]['slice'](_0x28d7bc[_0x1e95db(_0x274f28._0x10456f)]), _0x363500 = _0xbeec26[_0x1e95db(_0x274f28._0x5e4db5)][_0x1e95db(_0x274f28._0x2687a9)](_0x378cde => _0x378cde[_0x1e95db(0x165)]?.[_0x1e95db(0x161)](_0x39e279) === !![]);
|
|
2024
|
+
if (_0x363500?.[_0x1e95db(_0x274f28._0x41bdf4)] != null) {
|
|
2025
|
+
_0x477ac4[_0x1e95db(0x265)](_0x363500[_0x1e95db(0x1cf)]);
|
|
1973
2026
|
continue;
|
|
1974
2027
|
}
|
|
1975
2028
|
}
|
|
1976
|
-
if (
|
|
1977
|
-
const
|
|
1978
|
-
|
|
2029
|
+
if (_0x5565e4[_0x1e95db(0x100)]) {
|
|
2030
|
+
const _0x58d39a = _0xbeec26[_0x1e95db(_0x274f28._0x49c094)][_0x1e95db(0x251)](_0x2e9b86 => _0x2e9b86[_0x1e95db(0x207)] === _0x5565e4[_0x1e95db(0x100)]);
|
|
2031
|
+
_0x58d39a?.[_0x1e95db(_0x274f28._0x41bdf4)] != null && _0x477ac4[_0x1e95db(_0x274f28._0x2f433b)](_0x58d39a[_0x1e95db(_0x274f28._0x3229a5)]);
|
|
1979
2032
|
}
|
|
1980
2033
|
}
|
|
1981
2034
|
}
|
|
1982
2035
|
} catch {
|
|
1983
2036
|
}
|
|
1984
|
-
return formatTaskList(
|
|
2037
|
+
return formatTaskList(_0xbeec26[_0x1e95db(_0x274f28._0x2d3cdf)], _0x477ac4);
|
|
1985
2038
|
},
|
|
1986
|
-
async 'create_tasks'(
|
|
1987
|
-
const
|
|
1988
|
-
|
|
1989
|
-
const
|
|
1990
|
-
return formatCreatedTasks(
|
|
2039
|
+
async 'create_tasks'(_0x398023) {
|
|
2040
|
+
const _0x315307 = _0x31765a;
|
|
2041
|
+
_0x23f8b9(_0x315307(_0x1921d4._0x1813d6), _0x398023[_0x315307(_0x1921d4._0x5d5714)]);
|
|
2042
|
+
const _0x38420c = await _0x17d0f2[_0x315307(0x249)]['createTasks'](_0x398023);
|
|
2043
|
+
return formatCreatedTasks(_0x38420c[_0x315307(_0x1921d4._0x34ca26)]);
|
|
1991
2044
|
},
|
|
1992
|
-
async 'claim_tasks'(
|
|
1993
|
-
const
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2045
|
+
async 'claim_tasks'(_0x3695fe) {
|
|
2046
|
+
const _0x440850 = {
|
|
2047
|
+
_0x2798d5: 0x233,
|
|
2048
|
+
_0x3db58c: 0x1fb,
|
|
2049
|
+
_0x405ac9: 0x165,
|
|
2050
|
+
_0x37ca79: 0x1cf,
|
|
2051
|
+
_0x4f0470: 0x21b,
|
|
2052
|
+
_0x1a2f0c: 0x1da
|
|
2053
|
+
}, _0x27c5cd = _0x31765a;
|
|
2054
|
+
if (_0x17d0f2[_0x27c5cd(0x23b)]) {
|
|
2055
|
+
_0x23f8b9('claim_tasks', _0x3695fe[_0x27c5cd(_0x5d2e22._0x522d62)]);
|
|
2056
|
+
if (_0x3695fe[_0x27c5cd(0x175)] && _0x3695fe[_0x27c5cd(_0x5d2e22._0x4c8eac)][_0x27c5cd(0x225)] > 0x0)
|
|
2057
|
+
throw new Error(_0x27c5cd(0x1a1));
|
|
2058
|
+
if (!_0x3695fe[_0x27c5cd(_0x5d2e22._0xdf640b)] || _0x3695fe[_0x27c5cd(_0x5d2e22._0xdf640b)][_0x27c5cd(_0x5d2e22._0x23a315)] === 0x0)
|
|
2059
|
+
throw new Error('claim_tasks:\x20worker\x20can\x20only\x20claim\x20subtasks\x20inside\x20its\x20own\x20task\x20thread\x20—\x20provide\x20subtask_numbers.');
|
|
2000
2060
|
}
|
|
2001
|
-
const
|
|
2002
|
-
const
|
|
2003
|
-
if (!
|
|
2004
|
-
return
|
|
2061
|
+
const _0x101142 = await _0x17d0f2['client']['claimTasks'](_0x3695fe), _0x5c15d4 = await Promise[_0x27c5cd(0x1c2)](_0x101142[_0x27c5cd(_0x5d2e22._0x53400c)]['map'](async _0x377319 => {
|
|
2062
|
+
const _0x2ac0bb = _0x27c5cd;
|
|
2063
|
+
if (!_0x377319[_0x2ac0bb(_0x440850._0x2798d5)] || !_0x377319['messageId'])
|
|
2064
|
+
return _0x377319;
|
|
2005
2065
|
try {
|
|
2006
|
-
const
|
|
2007
|
-
'channel':
|
|
2008
|
-
'executionMode':
|
|
2009
|
-
'messageId':
|
|
2010
|
-
'taskId':
|
|
2011
|
-
'taskNumber':
|
|
2012
|
-
'threadNumber':
|
|
2066
|
+
const _0x116fa7 = await _0xc4faea({
|
|
2067
|
+
'channel': _0x3695fe['channel'],
|
|
2068
|
+
'executionMode': _0x377319[_0x2ac0bb(_0x440850._0x3db58c)],
|
|
2069
|
+
'messageId': _0x377319[_0x2ac0bb(_0x440850._0x405ac9)],
|
|
2070
|
+
'taskId': _0x377319[_0x2ac0bb(0x207)],
|
|
2071
|
+
'taskNumber': _0x377319[_0x2ac0bb(_0x440850._0x37ca79)],
|
|
2072
|
+
'threadNumber': _0x377319[_0x2ac0bb(0x111)]
|
|
2013
2073
|
});
|
|
2014
|
-
return
|
|
2015
|
-
...
|
|
2016
|
-
...
|
|
2017
|
-
} :
|
|
2018
|
-
} catch (
|
|
2074
|
+
return _0x116fa7 ? {
|
|
2075
|
+
..._0x377319,
|
|
2076
|
+
..._0x116fa7
|
|
2077
|
+
} : _0x377319;
|
|
2078
|
+
} catch (_0x2e0633) {
|
|
2019
2079
|
return {
|
|
2020
|
-
...
|
|
2021
|
-
'workerHandoffError':
|
|
2080
|
+
..._0x377319,
|
|
2081
|
+
'workerHandoffError': _0x2e0633 instanceof Error ? _0x2e0633[_0x2ac0bb(_0x440850._0x4f0470)] : _0x2ac0bb(_0x440850._0x1a2f0c)
|
|
2022
2082
|
};
|
|
2023
2083
|
}
|
|
2024
2084
|
}));
|
|
2025
|
-
return formatClaimTaskResults(
|
|
2085
|
+
return formatClaimTaskResults(_0x5c15d4);
|
|
2026
2086
|
},
|
|
2027
|
-
async 'unclaim_task'(
|
|
2028
|
-
const
|
|
2029
|
-
if (
|
|
2030
|
-
|
|
2031
|
-
if (
|
|
2032
|
-
throw new Error(
|
|
2087
|
+
async 'unclaim_task'(_0x4674b1) {
|
|
2088
|
+
const _0x499f05 = _0x31765a;
|
|
2089
|
+
if (_0x17d0f2[_0x499f05(0x23b)]) {
|
|
2090
|
+
_0x23f8b9(_0x499f05(_0x5d2c3f._0x32faf0), _0x4674b1[_0x499f05(0x1a0)]);
|
|
2091
|
+
if (_0x4674b1[_0x499f05(0x1ff)] == null)
|
|
2092
|
+
throw new Error(_0x499f05(_0x5d2c3f._0x11cd24));
|
|
2033
2093
|
}
|
|
2034
|
-
const
|
|
2035
|
-
return formatUnclaimTaskResult(
|
|
2094
|
+
const _0x221e68 = await _0x17d0f2['client'][_0x499f05(0x139)](_0x4674b1);
|
|
2095
|
+
return formatUnclaimTaskResult(_0x221e68);
|
|
2036
2096
|
},
|
|
2037
|
-
async 'update_task_status'(
|
|
2038
|
-
const
|
|
2039
|
-
|
|
2040
|
-
const
|
|
2041
|
-
return formatUpdateTaskStatusResult(
|
|
2097
|
+
async 'update_task_status'(_0x19eefc) {
|
|
2098
|
+
const _0x5f1c3c = _0x31765a;
|
|
2099
|
+
_0x23f8b9(_0x5f1c3c(0x18e), _0x19eefc[_0x5f1c3c(_0x84e2b1._0x5b1d78)]);
|
|
2100
|
+
const _0x3f61cc = await _0x17d0f2[_0x5f1c3c(_0x84e2b1._0x15ac37)]['updateTaskStatus'](_0x19eefc);
|
|
2101
|
+
return formatUpdateTaskStatusResult(_0x3f61cc);
|
|
2042
2102
|
},
|
|
2043
|
-
async 'upload_file'(
|
|
2044
|
-
const
|
|
2045
|
-
sizeBytes:
|
|
2046
|
-
...
|
|
2047
|
-
} =
|
|
2048
|
-
'channel':
|
|
2049
|
-
...
|
|
2103
|
+
async 'upload_file'(_0x51b8da) {
|
|
2104
|
+
const _0x5fd55 = _0x31765a, _0x22ed36 = await _0x17d0f2[_0x5fd55(0x154)](_0x51b8da[_0x5fd55(_0x1901f5._0x199b8f)]), {
|
|
2105
|
+
sizeBytes: _0x15861e,
|
|
2106
|
+
..._0x4e6cf6
|
|
2107
|
+
} = _0x22ed36, _0x55f041 = await _0x17d0f2[_0x5fd55(0x249)][_0x5fd55(0x13e)]({
|
|
2108
|
+
'channel': _0x51b8da['channel'],
|
|
2109
|
+
..._0x4e6cf6
|
|
2050
2110
|
});
|
|
2051
|
-
return formatUploadResult(
|
|
2111
|
+
return formatUploadResult(_0x55f041);
|
|
2052
2112
|
},
|
|
2053
|
-
async 'view_file'(
|
|
2054
|
-
const
|
|
2055
|
-
if (
|
|
2056
|
-
return formatViewFileResult(
|
|
2057
|
-
const
|
|
2058
|
-
'attachmentId':
|
|
2059
|
-
'contentType':
|
|
2060
|
-
'data':
|
|
2061
|
-
'originalFilename':
|
|
2113
|
+
async 'view_file'(_0x5883aa) {
|
|
2114
|
+
const _0x245719 = _0x31765a, _0x4b4198 = await _0x17d0f2['attachmentCache'][_0x245719(0x155)](_0x5883aa[_0x245719(0x24d)]);
|
|
2115
|
+
if (_0x4b4198)
|
|
2116
|
+
return formatViewFileResult(_0x4b4198, !![]);
|
|
2117
|
+
const _0x420088 = await _0x17d0f2[_0x245719(0x249)]['downloadAttachment'](_0x5883aa[_0x245719(_0x2bd1ac._0x190acd)]), _0x293eb7 = await _0x17d0f2[_0x245719(_0x2bd1ac._0x32e693)][_0x245719(0x143)]({
|
|
2118
|
+
'attachmentId': _0x5883aa[_0x245719(0x24d)],
|
|
2119
|
+
'contentType': _0x420088[_0x245719(0xfd)],
|
|
2120
|
+
'data': _0x420088[_0x245719(_0x2bd1ac._0x2b6c55)],
|
|
2121
|
+
'originalFilename': _0x420088[_0x245719(_0x2bd1ac._0x6ebc00)]
|
|
2062
2122
|
});
|
|
2063
|
-
return formatViewFileResult(
|
|
2123
|
+
return formatViewFileResult(_0x293eb7, ![]);
|
|
2064
2124
|
},
|
|
2065
|
-
async 'get_worker_status'(
|
|
2066
|
-
const
|
|
2067
|
-
if (!
|
|
2068
|
-
return
|
|
2069
|
-
const
|
|
2070
|
-
if (!
|
|
2071
|
-
return
|
|
2072
|
-
return
|
|
2125
|
+
async 'get_worker_status'(_0x112993) {
|
|
2126
|
+
const _0x27dce4 = _0x31765a;
|
|
2127
|
+
if (!_0x17d0f2['daemonLocalUrl'])
|
|
2128
|
+
return _0x27dce4(_0x3690d1._0x1e48af);
|
|
2129
|
+
const _0x574691 = await fetch(_0x17d0f2[_0x27dce4(_0x3690d1._0x4563c8)] + _0x27dce4(_0x3690d1._0x179cf8) + encodeURIComponent(_0x112993[_0x27dce4(_0x3690d1._0x4b9cc2)])), _0x1eec7c = await _0x574691[_0x27dce4(_0x3690d1._0x2e6b65)]();
|
|
2130
|
+
if (!_0x1eec7c['ok'])
|
|
2131
|
+
return 'Worker\x20\x22' + _0x112993[_0x27dce4(0x213)] + '\x22\x20not\x20found';
|
|
2132
|
+
return _0x27dce4(0x1e3) + _0x112993['work_key'] + _0x27dce4(_0x3690d1._0x4daafa) + _0x1eec7c['status'];
|
|
2073
2133
|
},
|
|
2074
|
-
async 'park_worker'(
|
|
2075
|
-
const
|
|
2076
|
-
if (!
|
|
2077
|
-
return
|
|
2078
|
-
const
|
|
2079
|
-
'method':
|
|
2080
|
-
'headers': { 'Content-Type':
|
|
2081
|
-
'body': JSON[
|
|
2082
|
-
}),
|
|
2083
|
-
if (!
|
|
2084
|
-
throw new Error(
|
|
2085
|
-
return
|
|
2134
|
+
async 'park_worker'(_0x49130c) {
|
|
2135
|
+
const _0x20a91d = _0x31765a;
|
|
2136
|
+
if (!_0x17d0f2[_0x20a91d(_0x38cecb._0x134d9d)])
|
|
2137
|
+
return _0x20a91d(0x20f);
|
|
2138
|
+
const _0x24f158 = await fetch(_0x17d0f2[_0x20a91d(0x163)] + _0x20a91d(0x116), {
|
|
2139
|
+
'method': _0x20a91d(_0x38cecb._0x136f52),
|
|
2140
|
+
'headers': { 'Content-Type': _0x20a91d(0x23f) },
|
|
2141
|
+
'body': JSON[_0x20a91d(_0x38cecb._0x4b3c0f)]({ 'work_key': _0x49130c['work_key'] })
|
|
2142
|
+
}), _0x542924 = await _0x24f158[_0x20a91d(_0x38cecb._0x136fb8)]();
|
|
2143
|
+
if (!_0x542924['ok'])
|
|
2144
|
+
throw new Error(_0x542924[_0x20a91d(_0x38cecb._0x229385)] ?? _0x20a91d(0x1c3));
|
|
2145
|
+
return 'Worker\x20\x22' + _0x49130c[_0x20a91d(_0x38cecb._0x221f9c)] + _0x20a91d(_0x38cecb._0x33ea2c);
|
|
2086
2146
|
},
|
|
2087
|
-
async 'mark_waiting_input'(
|
|
2088
|
-
const
|
|
2089
|
-
if (!
|
|
2090
|
-
return
|
|
2091
|
-
const
|
|
2092
|
-
'method':
|
|
2093
|
-
'headers': { 'Content-Type':
|
|
2094
|
-
'body': JSON[
|
|
2095
|
-
'work_key':
|
|
2096
|
-
'agent_id':
|
|
2147
|
+
async 'mark_waiting_input'(_0x4fbdeb) {
|
|
2148
|
+
const _0x5413be = _0x31765a;
|
|
2149
|
+
if (!_0x17d0f2[_0x5413be(0x163)] || !_0x17d0f2[_0x5413be(_0x4e0493._0x5115d6)])
|
|
2150
|
+
return _0x5413be(_0x4e0493._0x3632e2);
|
|
2151
|
+
const _0x5d36b5 = await fetch(_0x17d0f2[_0x5413be(0x163)] + _0x5413be(0x22c), {
|
|
2152
|
+
'method': _0x5413be(0x167),
|
|
2153
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2154
|
+
'body': JSON['stringify']({
|
|
2155
|
+
'work_key': _0x4fbdeb['work_key'],
|
|
2156
|
+
'agent_id': _0x17d0f2['agentId']
|
|
2097
2157
|
})
|
|
2098
|
-
}),
|
|
2099
|
-
if (!
|
|
2100
|
-
throw new Error(
|
|
2101
|
-
return
|
|
2158
|
+
}), _0x4d2e58 = await _0x5d36b5[_0x5413be(_0x4e0493._0x3f2f9d)]();
|
|
2159
|
+
if (!_0x4d2e58['ok'])
|
|
2160
|
+
throw new Error(_0x4d2e58[_0x5413be(0xed)] ?? _0x5413be(0x1d0));
|
|
2161
|
+
return _0x5413be(_0x4e0493._0x390ded) + _0x4fbdeb['work_key'] + '\x22\x20marked\x20as\x20waiting_input.\x20TTL\x20timer\x20paused\x20until\x20next\x20message\x20arrives.';
|
|
2102
2162
|
},
|
|
2103
|
-
async 'escalate_to_main'(
|
|
2104
|
-
const
|
|
2105
|
-
if (!
|
|
2106
|
-
return
|
|
2107
|
-
const
|
|
2108
|
-
'method':
|
|
2109
|
-
'headers': { 'Content-Type':
|
|
2110
|
-
'body': JSON[
|
|
2111
|
-
'work_key':
|
|
2112
|
-
'reason':
|
|
2163
|
+
async 'escalate_to_main'(_0x381f8f) {
|
|
2164
|
+
const _0x4c42c5 = _0x31765a;
|
|
2165
|
+
if (!_0x17d0f2[_0x4c42c5(0x163)])
|
|
2166
|
+
return _0x4c42c5(0x20f);
|
|
2167
|
+
const _0x406f69 = await fetch(_0x17d0f2[_0x4c42c5(_0x440039._0x3c166a)] + _0x4c42c5(0x1bb), {
|
|
2168
|
+
'method': _0x4c42c5(_0x440039._0xac99f9),
|
|
2169
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2170
|
+
'body': JSON[_0x4c42c5(_0x440039._0x58c1c2)]({
|
|
2171
|
+
'work_key': _0x381f8f['work_key'],
|
|
2172
|
+
'reason': _0x381f8f[_0x4c42c5(0x214)]
|
|
2113
2173
|
})
|
|
2114
|
-
}),
|
|
2115
|
-
if (!
|
|
2116
|
-
throw new Error(
|
|
2117
|
-
return
|
|
2174
|
+
}), _0x24756a = await _0x406f69[_0x4c42c5(0x14e)]();
|
|
2175
|
+
if (!_0x24756a['ok'])
|
|
2176
|
+
throw new Error(_0x24756a[_0x4c42c5(_0x440039._0x39e15d)] ?? _0x4c42c5(0xe5));
|
|
2177
|
+
return _0x4c42c5(0x135) + _0x381f8f[_0x4c42c5(_0x440039._0x2a431f)];
|
|
2118
2178
|
}
|
|
2119
2179
|
};
|
|
2120
2180
|
}
|
|
2121
|
-
function textResult(
|
|
2122
|
-
const
|
|
2181
|
+
function textResult(_0x53199c, _0x556ada = ![]) {
|
|
2182
|
+
const _0x33ad70 = { _0x3a9590: 0xeb }, _0x32ebe0 = _0x51636d;
|
|
2123
2183
|
return {
|
|
2124
2184
|
'content': [{
|
|
2125
|
-
'type':
|
|
2126
|
-
'text':
|
|
2185
|
+
'type': _0x32ebe0(_0x33ad70._0x3a9590),
|
|
2186
|
+
'text': _0x53199c
|
|
2127
2187
|
}],
|
|
2128
|
-
...
|
|
2188
|
+
..._0x556ada ? { 'isError': !![] } : {}
|
|
2129
2189
|
};
|
|
2130
2190
|
}
|
|
2131
|
-
async function registerChatBridgeTools(
|
|
2132
|
-
const
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
},
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
'
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
])['optional']()[_0x1c5704(0x17a)](_0x1c5704(_0x2f3f2d._0x378251))
|
|
2198
|
-
}, async _0x869b33 => {
|
|
2199
|
-
const _0x1119ba = _0x1c5704;
|
|
2191
|
+
async function registerChatBridgeTools(_0x5ec6ad, _0x195266, _0x2c609d) {
|
|
2192
|
+
const _0x2ed3ca = {
|
|
2193
|
+
_0x377845: 0x105,
|
|
2194
|
+
_0x3d3244: 0x147,
|
|
2195
|
+
_0x502fb9: 0x240,
|
|
2196
|
+
_0x58280c: 0x147,
|
|
2197
|
+
_0x16ccf2: 0x1a9,
|
|
2198
|
+
_0x3f617d: 0x168,
|
|
2199
|
+
_0x513973: 0x255,
|
|
2200
|
+
_0x235660: 0x1a9,
|
|
2201
|
+
_0x144901: 0x1cd,
|
|
2202
|
+
_0x3bc586: 0x1b2,
|
|
2203
|
+
_0x343889: 0x245,
|
|
2204
|
+
_0x3d446f: 0xf7,
|
|
2205
|
+
_0x5251ad: 0x1b2,
|
|
2206
|
+
_0x1aea89: 0x25d,
|
|
2207
|
+
_0x2b4bc7: 0xe7,
|
|
2208
|
+
_0x24bd9e: 0x1b2,
|
|
2209
|
+
_0x4c82aa: 0xff,
|
|
2210
|
+
_0x56b5c9: 0x1b2,
|
|
2211
|
+
_0x294554: 0x122,
|
|
2212
|
+
_0x13a47d: 0x24f,
|
|
2213
|
+
_0x1d2b23: 0x1a9,
|
|
2214
|
+
_0x167bae: 0x240,
|
|
2215
|
+
_0x4e0796: 0x168,
|
|
2216
|
+
_0x594217: 0x170,
|
|
2217
|
+
_0x1647ce: 0x243,
|
|
2218
|
+
_0x12efb6: 0x228,
|
|
2219
|
+
_0x515c18: 0x1a9,
|
|
2220
|
+
_0x2b567a: 0x1a9,
|
|
2221
|
+
_0x11a097: 0x1f3,
|
|
2222
|
+
_0x2fea92: 0x147,
|
|
2223
|
+
_0x2f3586: 0x13a,
|
|
2224
|
+
_0x556d7b: 0x23d,
|
|
2225
|
+
_0x112086: 0x1a9,
|
|
2226
|
+
_0x39974b: 0x1a9,
|
|
2227
|
+
_0x532c23: 0x147,
|
|
2228
|
+
_0x30eab7: 0x1a9,
|
|
2229
|
+
_0x273d60: 0xe7,
|
|
2230
|
+
_0x506c11: 0x252,
|
|
2231
|
+
_0xb17d6a: 0x1b2,
|
|
2232
|
+
_0x12ed3c: 0x10f,
|
|
2233
|
+
_0x316a59: 0x23b,
|
|
2234
|
+
_0x3bfe2a: 0x272,
|
|
2235
|
+
_0x3c3fc0: 0x147,
|
|
2236
|
+
_0xd655c1: 0x11e
|
|
2237
|
+
}, _0xe68999 = {
|
|
2238
|
+
_0x401b81: 0x21b,
|
|
2239
|
+
_0x33d364: 0x1d0
|
|
2240
|
+
}, _0xe52ac0 = { _0x669be: 0x20e }, _0x23aebc = { _0x42325c: 0x1f6 }, _0x1e489a = { _0xe34054: 0x231 }, _0x4a7441 = { _0x3fc132: 0x1ab }, _0x50d469 = { _0x447b18: 0x1e4 }, _0x5d98b2 = {
|
|
2241
|
+
_0x2e9329: 0x18e,
|
|
2242
|
+
_0x11bea3: 0x12a
|
|
2243
|
+
}, _0x4c975e = {
|
|
2244
|
+
_0x54c260: 0x126,
|
|
2245
|
+
_0x12782f: 0x114
|
|
2246
|
+
}, _0xe662fa = { _0x1866f5: 0x21b }, _0x33a9ed = { _0x1e5276: 0x21b }, _0x2bf137 = { _0x3feb68: 0x245 }, _0x1562fe = { _0x6cf171: 0x23e }, _0x23692f = _0x51636d, {z: _0x1ddc83} = await import(_0x23692f(0x1d9));
|
|
2247
|
+
_0x5ec6ad[_0x23692f(0x1b2)](_0x23692f(_0x2ed3ca._0x377845), _0x23692f(0x158), {
|
|
2248
|
+
'target': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)](),
|
|
2249
|
+
'content': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)](),
|
|
2250
|
+
'attachment_ids': _0x1ddc83[_0x23692f(_0x2ed3ca._0x502fb9)](_0x1ddc83[_0x23692f(_0x2ed3ca._0x58280c)]())[_0x23692f(_0x2ed3ca._0x16ccf2)](),
|
|
2251
|
+
'visibility': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3f617d)]([
|
|
2252
|
+
_0x23692f(_0x2ed3ca._0x513973),
|
|
2253
|
+
_0x23692f(0x202)
|
|
2254
|
+
])[_0x23692f(_0x2ed3ca._0x235660)]()[_0x23692f(0x25a)](_0x23692f(_0x2ed3ca._0x144901))
|
|
2255
|
+
}, async _0x58370a => {
|
|
2256
|
+
const _0x5941d6 = _0x23692f;
|
|
2200
2257
|
try {
|
|
2201
|
-
return textResult(await
|
|
2202
|
-
} catch (
|
|
2203
|
-
return textResult(
|
|
2258
|
+
return textResult(await _0x195266['send_message'](_0x58370a));
|
|
2259
|
+
} catch (_0x1e2e46) {
|
|
2260
|
+
return textResult(_0x1e2e46 instanceof Error ? _0x1e2e46[_0x5941d6(0x21b)] : _0x5941d6(_0x1562fe._0x6cf171), !![]);
|
|
2204
2261
|
}
|
|
2205
|
-
}),
|
|
2206
|
-
const
|
|
2262
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x3bc586)](_0x23692f(_0x2ed3ca._0x343889), _0x23692f(_0x2ed3ca._0x3d446f), {}, async () => {
|
|
2263
|
+
const _0x235cbf = _0x23692f;
|
|
2207
2264
|
try {
|
|
2208
|
-
return textResult(await
|
|
2209
|
-
} catch (
|
|
2210
|
-
return textResult(
|
|
2265
|
+
return textResult(await _0x195266[_0x235cbf(_0x2bf137._0x3feb68)]());
|
|
2266
|
+
} catch (_0xab1c89) {
|
|
2267
|
+
return textResult(_0xab1c89 instanceof Error ? _0xab1c89[_0x235cbf(0x21b)] : _0x235cbf(0x18d), !![]);
|
|
2211
2268
|
}
|
|
2212
|
-
}),
|
|
2213
|
-
'channel':
|
|
2214
|
-
'limit':
|
|
2215
|
-
'before':
|
|
2216
|
-
'after':
|
|
2217
|
-
}, async
|
|
2218
|
-
const _0x296254 = _0x1c5704;
|
|
2269
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x5251ad)](_0x23692f(_0x2ed3ca._0x1aea89), _0x23692f(0x23c), {
|
|
2270
|
+
'channel': _0x1ddc83['string'](),
|
|
2271
|
+
'limit': _0x1ddc83[_0x23692f(_0x2ed3ca._0x2b4bc7)]()[_0x23692f(0x1a9)](),
|
|
2272
|
+
'before': _0x1ddc83[_0x23692f(_0x2ed3ca._0x2b4bc7)]()[_0x23692f(0x1a9)](),
|
|
2273
|
+
'after': _0x1ddc83[_0x23692f(_0x2ed3ca._0x2b4bc7)]()['optional']()
|
|
2274
|
+
}, async _0xf8bd63 => {
|
|
2219
2275
|
try {
|
|
2220
|
-
return textResult(await
|
|
2221
|
-
} catch (
|
|
2222
|
-
return textResult(
|
|
2276
|
+
return textResult(await _0x195266['read_history'](_0xf8bd63));
|
|
2277
|
+
} catch (_0x2b19de) {
|
|
2278
|
+
return textResult(_0x2b19de instanceof Error ? _0x2b19de['message'] : 'read_history\x20failed', !![]);
|
|
2223
2279
|
}
|
|
2224
|
-
}),
|
|
2225
|
-
const
|
|
2280
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x24bd9e)](_0x23692f(_0x2ed3ca._0x4c82aa), _0x23692f(0x134), {}, async () => {
|
|
2281
|
+
const _0x2eea0a = _0x23692f;
|
|
2226
2282
|
try {
|
|
2227
|
-
return textResult(await
|
|
2228
|
-
} catch (
|
|
2229
|
-
return textResult(
|
|
2283
|
+
return textResult(await _0x195266[_0x2eea0a(0xff)]());
|
|
2284
|
+
} catch (_0xe76507) {
|
|
2285
|
+
return textResult(_0xe76507 instanceof Error ? _0xe76507[_0x2eea0a(0x21b)] : 'list_server\x20failed', !![]);
|
|
2230
2286
|
}
|
|
2231
|
-
}),
|
|
2232
|
-
'channel':
|
|
2233
|
-
'status':
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2287
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x56b5c9)](_0x23692f(0x1ce), _0x23692f(0x215), {
|
|
2288
|
+
'channel': _0x1ddc83[_0x23692f(0x147)](),
|
|
2289
|
+
'status': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3f617d)]([
|
|
2290
|
+
_0x23692f(_0x2ed3ca._0x294554),
|
|
2291
|
+
'in_progress',
|
|
2292
|
+
_0x23692f(0x1ae),
|
|
2293
|
+
_0x23692f(0xec)
|
|
2238
2294
|
])['optional']()
|
|
2239
|
-
}, async
|
|
2240
|
-
const
|
|
2295
|
+
}, async _0x1984e8 => {
|
|
2296
|
+
const _0x7d018a = _0x23692f;
|
|
2241
2297
|
try {
|
|
2242
|
-
return textResult(await
|
|
2243
|
-
} catch (
|
|
2244
|
-
return textResult(
|
|
2298
|
+
return textResult(await _0x195266[_0x7d018a(0x1ce)](_0x1984e8));
|
|
2299
|
+
} catch (_0x5f0575) {
|
|
2300
|
+
return textResult(_0x5f0575 instanceof Error ? _0x5f0575[_0x7d018a(_0x33a9ed._0x1e5276)] : _0x7d018a(0x1ad), !![]);
|
|
2245
2301
|
}
|
|
2246
|
-
}),
|
|
2247
|
-
'channel':
|
|
2248
|
-
'idempotency_key':
|
|
2249
|
-
'tasks':
|
|
2250
|
-
'title':
|
|
2251
|
-
'description':
|
|
2252
|
-
'priority':
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
])[
|
|
2302
|
+
}), _0x5ec6ad[_0x23692f(0x1b2)](_0x23692f(0xf9), _0x23692f(_0x2ed3ca._0x13a47d), {
|
|
2303
|
+
'channel': _0x1ddc83['string'](),
|
|
2304
|
+
'idempotency_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)]()[_0x23692f(_0x2ed3ca._0x1d2b23)](),
|
|
2305
|
+
'tasks': _0x1ddc83[_0x23692f(_0x2ed3ca._0x167bae)](_0x1ddc83[_0x23692f(0x13a)]({
|
|
2306
|
+
'title': _0x1ddc83['string'](),
|
|
2307
|
+
'description': _0x1ddc83['string']()[_0x23692f(0x1a9)](),
|
|
2308
|
+
'priority': _0x1ddc83[_0x23692f(_0x2ed3ca._0x4e0796)]([
|
|
2309
|
+
_0x23692f(_0x2ed3ca._0x594217),
|
|
2310
|
+
_0x23692f(0x130),
|
|
2311
|
+
_0x23692f(0x11f),
|
|
2312
|
+
_0x23692f(_0x2ed3ca._0x1647ce)
|
|
2313
|
+
])[_0x23692f(0x1a9)]()
|
|
2258
2314
|
}))
|
|
2259
|
-
}, async
|
|
2260
|
-
const
|
|
2315
|
+
}, async _0xbfa49a => {
|
|
2316
|
+
const _0x342799 = _0x23692f;
|
|
2261
2317
|
try {
|
|
2262
|
-
return textResult(await
|
|
2263
|
-
} catch (
|
|
2264
|
-
return textResult(
|
|
2318
|
+
return textResult(await _0x195266[_0x342799(0xf9)](_0xbfa49a));
|
|
2319
|
+
} catch (_0x1c3497) {
|
|
2320
|
+
return textResult(_0x1c3497 instanceof Error ? _0x1c3497[_0x342799(_0xe662fa._0x1866f5)] : _0x342799(0xfe), !![]);
|
|
2265
2321
|
}
|
|
2266
|
-
}),
|
|
2267
|
-
'channel':
|
|
2268
|
-
'task_numbers':
|
|
2269
|
-
'subtask_numbers':
|
|
2270
|
-
'message_ids':
|
|
2271
|
-
'evidence':
|
|
2272
|
-
'create_thread':
|
|
2273
|
-
'create_task':
|
|
2274
|
-
}))[
|
|
2275
|
-
'idempotency_key':
|
|
2276
|
-
}, async
|
|
2277
|
-
const
|
|
2322
|
+
}), _0x5ec6ad[_0x23692f(0x1b2)](_0x23692f(0x126), _0x23692f(_0x2ed3ca._0x12efb6), {
|
|
2323
|
+
'channel': _0x1ddc83['string'](),
|
|
2324
|
+
'task_numbers': _0x1ddc83[_0x23692f(_0x2ed3ca._0x167bae)](_0x1ddc83['number']())[_0x23692f(_0x2ed3ca._0x515c18)](),
|
|
2325
|
+
'subtask_numbers': _0x1ddc83['array'](_0x1ddc83[_0x23692f(0xe7)]())['optional'](),
|
|
2326
|
+
'message_ids': _0x1ddc83[_0x23692f(0x240)](_0x1ddc83[_0x23692f(_0x2ed3ca._0x58280c)]())[_0x23692f(_0x2ed3ca._0x2b567a)](),
|
|
2327
|
+
'evidence': _0x1ddc83[_0x23692f(_0x2ed3ca._0x11a097)](_0x1ddc83[_0x23692f(_0x2ed3ca._0x2fea92)](), _0x1ddc83[_0x23692f(_0x2ed3ca._0x2f3586)]({
|
|
2328
|
+
'create_thread': _0x1ddc83[_0x23692f(0x23d)]()[_0x23692f(0x1a9)](),
|
|
2329
|
+
'create_task': _0x1ddc83[_0x23692f(_0x2ed3ca._0x556d7b)]()[_0x23692f(_0x2ed3ca._0x112086)]()
|
|
2330
|
+
}))[_0x23692f(_0x2ed3ca._0x39974b)](),
|
|
2331
|
+
'idempotency_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x532c23)]()[_0x23692f(0x1a9)]()
|
|
2332
|
+
}, async _0x56932c => {
|
|
2333
|
+
const _0x10ae9a = _0x23692f;
|
|
2278
2334
|
try {
|
|
2279
|
-
return textResult(await
|
|
2280
|
-
} catch (
|
|
2281
|
-
return textResult(
|
|
2335
|
+
return textResult(await _0x195266[_0x10ae9a(_0x4c975e._0x54c260)](_0x56932c));
|
|
2336
|
+
} catch (_0x5c6705) {
|
|
2337
|
+
return textResult(_0x5c6705 instanceof Error ? _0x5c6705[_0x10ae9a(0x21b)] : _0x10ae9a(_0x4c975e._0x12782f), !![]);
|
|
2282
2338
|
}
|
|
2283
|
-
}),
|
|
2284
|
-
'channel':
|
|
2285
|
-
'task_number':
|
|
2286
|
-
'subtask_number':
|
|
2287
|
-
'idempotency_key':
|
|
2288
|
-
}, async
|
|
2289
|
-
const
|
|
2339
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x3bc586)](_0x23692f(0x1c0), 'Release\x20a\x20claimed\x20task\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.', {
|
|
2340
|
+
'channel': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)](),
|
|
2341
|
+
'task_number': _0x1ddc83[_0x23692f(0xe7)](),
|
|
2342
|
+
'subtask_number': _0x1ddc83['number']()[_0x23692f(_0x2ed3ca._0x16ccf2)](),
|
|
2343
|
+
'idempotency_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x532c23)]()[_0x23692f(_0x2ed3ca._0x30eab7)]()
|
|
2344
|
+
}, async _0x11dca7 => {
|
|
2345
|
+
const _0x3969e7 = _0x23692f;
|
|
2290
2346
|
try {
|
|
2291
|
-
return textResult(await
|
|
2292
|
-
} catch (
|
|
2293
|
-
return textResult(
|
|
2347
|
+
return textResult(await _0x195266[_0x3969e7(0x1c0)](_0x11dca7));
|
|
2348
|
+
} catch (_0x35db2c) {
|
|
2349
|
+
return textResult(_0x35db2c instanceof Error ? _0x35db2c['message'] : _0x3969e7(0x133), !![]);
|
|
2294
2350
|
}
|
|
2295
|
-
}),
|
|
2296
|
-
'channel':
|
|
2297
|
-
'task_number':
|
|
2298
|
-
'subtask_number':
|
|
2299
|
-
'status':
|
|
2300
|
-
|
|
2301
|
-
|
|
2351
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x24bd9e)](_0x23692f(0x18e), _0x23692f(0x1b0), {
|
|
2352
|
+
'channel': _0x1ddc83[_0x23692f(0x147)](),
|
|
2353
|
+
'task_number': _0x1ddc83[_0x23692f(_0x2ed3ca._0x2b4bc7)](),
|
|
2354
|
+
'subtask_number': _0x1ddc83[_0x23692f(_0x2ed3ca._0x273d60)]()[_0x23692f(_0x2ed3ca._0x2b567a)](),
|
|
2355
|
+
'status': _0x1ddc83[_0x23692f(0x168)]([
|
|
2356
|
+
_0x23692f(0x122),
|
|
2357
|
+
_0x23692f(_0x2ed3ca._0x506c11),
|
|
2302
2358
|
'in_review',
|
|
2303
2359
|
'done'
|
|
2304
2360
|
]),
|
|
2305
|
-
'idempotency_key':
|
|
2306
|
-
}, async
|
|
2307
|
-
const
|
|
2361
|
+
'idempotency_key': _0x1ddc83[_0x23692f(0x147)]()['optional']()
|
|
2362
|
+
}, async _0x37a025 => {
|
|
2363
|
+
const _0xa9584e = _0x23692f;
|
|
2308
2364
|
try {
|
|
2309
|
-
return textResult(await
|
|
2310
|
-
} catch (
|
|
2311
|
-
return textResult(
|
|
2365
|
+
return textResult(await _0x195266[_0xa9584e(_0x5d98b2._0x2e9329)](_0x37a025));
|
|
2366
|
+
} catch (_0x4b14ed) {
|
|
2367
|
+
return textResult(_0x4b14ed instanceof Error ? _0x4b14ed[_0xa9584e(0x21b)] : _0xa9584e(_0x5d98b2._0x11bea3), !![]);
|
|
2312
2368
|
}
|
|
2313
|
-
}),
|
|
2314
|
-
'channel':
|
|
2315
|
-
'file_path':
|
|
2316
|
-
}, async
|
|
2317
|
-
const
|
|
2369
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0xb17d6a)](_0x23692f(0x1e4), _0x23692f(_0x2ed3ca._0x12ed3c), {
|
|
2370
|
+
'channel': _0x1ddc83[_0x23692f(0x147)](),
|
|
2371
|
+
'file_path': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)]()
|
|
2372
|
+
}, async _0x56b35a => {
|
|
2373
|
+
const _0x23fc52 = _0x23692f;
|
|
2318
2374
|
try {
|
|
2319
|
-
return textResult(await
|
|
2320
|
-
} catch (
|
|
2321
|
-
return textResult(
|
|
2375
|
+
return textResult(await _0x195266[_0x23fc52(_0x50d469._0x447b18)](_0x56b35a));
|
|
2376
|
+
} catch (_0x5a3bc0) {
|
|
2377
|
+
return textResult(_0x5a3bc0 instanceof Error ? _0x5a3bc0['message'] : 'upload_file\x20failed', !![]);
|
|
2322
2378
|
}
|
|
2323
|
-
}),
|
|
2324
|
-
const
|
|
2379
|
+
}), _0x5ec6ad[_0x23692f(_0x2ed3ca._0x5251ad)](_0x23692f(0x1ab), _0x23692f(0x109), { 'attachment_id': _0x1ddc83[_0x23692f(0x147)]() }, async _0x5ec75a => {
|
|
2380
|
+
const _0x3d3cb6 = _0x23692f;
|
|
2325
2381
|
try {
|
|
2326
|
-
return textResult(await
|
|
2327
|
-
} catch (
|
|
2328
|
-
return textResult(
|
|
2382
|
+
return textResult(await _0x195266[_0x3d3cb6(_0x4a7441._0x3fc132)](_0x5ec75a));
|
|
2383
|
+
} catch (_0xe16152) {
|
|
2384
|
+
return textResult(_0xe16152 instanceof Error ? _0xe16152[_0x3d3cb6(0x21b)] : _0x3d3cb6(0x152), !![]);
|
|
2329
2385
|
}
|
|
2330
|
-
}),
|
|
2331
|
-
const
|
|
2386
|
+
}), _0x5ec6ad['tool'](_0x23692f(0x19f), _0x23692f(0x18c), { 'work_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3d3244)]() }, async _0x495279 => {
|
|
2387
|
+
const _0x576492 = _0x23692f;
|
|
2332
2388
|
try {
|
|
2333
|
-
return textResult(await
|
|
2334
|
-
} catch (
|
|
2335
|
-
return textResult(
|
|
2389
|
+
return textResult(await _0x195266[_0x576492(0x19f)](_0x495279));
|
|
2390
|
+
} catch (_0x3aac84) {
|
|
2391
|
+
return textResult(_0x3aac84 instanceof Error ? _0x3aac84[_0x576492(0x21b)] : _0x576492(_0x1e489a._0xe34054), !![]);
|
|
2336
2392
|
}
|
|
2337
|
-
}),
|
|
2338
|
-
const
|
|
2393
|
+
}), _0x5ec6ad[_0x23692f(0x1b2)](_0x23692f(0x1f6), 'Worker-only.\x20Park\x20the\x20current\x20worker\x20lane\x20after\x20you\x20have\x20already\x20reported\x20results\x20in\x20this\x20thread.\x20This\x20does\x20not\x20end\x20the\x20session;\x20same-thread\x20follow-up\x20will\x20resume\x20this\x20lane.', { 'work_key': _0x1ddc83['string']() }, async _0x4b22bf => {
|
|
2394
|
+
const _0x23f242 = _0x23692f;
|
|
2339
2395
|
try {
|
|
2340
|
-
return textResult(await
|
|
2341
|
-
} catch (
|
|
2342
|
-
return textResult(
|
|
2396
|
+
return textResult(await _0x195266[_0x23f242(_0x23aebc._0x42325c)](_0x4b22bf));
|
|
2397
|
+
} catch (_0x476f9e) {
|
|
2398
|
+
return textResult(_0x476f9e instanceof Error ? _0x476f9e[_0x23f242(0x21b)] : _0x23f242(0x1c3), !![]);
|
|
2343
2399
|
}
|
|
2344
|
-
}), !
|
|
2345
|
-
'work_key':
|
|
2346
|
-
'reason':
|
|
2347
|
-
}, async
|
|
2348
|
-
const
|
|
2400
|
+
}), !_0x2c609d?.[_0x23692f(_0x2ed3ca._0x316a59)] && _0x5ec6ad[_0x23692f(_0x2ed3ca._0x5251ad)](_0x23692f(0x20e), _0x23692f(_0x2ed3ca._0x3bfe2a), {
|
|
2401
|
+
'work_key': _0x1ddc83[_0x23692f(_0x2ed3ca._0x3c3fc0)](),
|
|
2402
|
+
'reason': _0x1ddc83['string']()
|
|
2403
|
+
}, async _0x54b334 => {
|
|
2404
|
+
const _0x3df81f = _0x23692f;
|
|
2349
2405
|
try {
|
|
2350
|
-
return textResult(await
|
|
2351
|
-
} catch (
|
|
2352
|
-
return textResult(
|
|
2406
|
+
return textResult(await _0x195266[_0x3df81f(_0xe52ac0._0x669be)](_0x54b334));
|
|
2407
|
+
} catch (_0x17fff0) {
|
|
2408
|
+
return textResult(_0x17fff0 instanceof Error ? _0x17fff0[_0x3df81f(0x21b)] : _0x3df81f(0xe5), !![]);
|
|
2353
2409
|
}
|
|
2354
|
-
}),
|
|
2355
|
-
const
|
|
2410
|
+
}), _0x2c609d?.['workerMode'] && _0x5ec6ad['tool'](_0x23692f(0x1d6), _0x23692f(_0x2ed3ca._0xd655c1), { 'work_key': _0x1ddc83['string']() }, async _0x2d34ee => {
|
|
2411
|
+
const _0xcd4b50 = _0x23692f;
|
|
2356
2412
|
try {
|
|
2357
|
-
return textResult(await
|
|
2358
|
-
} catch (
|
|
2359
|
-
return textResult(
|
|
2413
|
+
return textResult(await _0x195266['mark_waiting_input'](_0x2d34ee));
|
|
2414
|
+
} catch (_0x3ffb08) {
|
|
2415
|
+
return textResult(_0x3ffb08 instanceof Error ? _0x3ffb08[_0xcd4b50(_0xe68999._0x401b81)] : _0xcd4b50(_0xe68999._0x33d364), !![]);
|
|
2360
2416
|
}
|
|
2361
2417
|
});
|
|
2362
2418
|
}
|
|
2363
|
-
async function createChatBridgeServer(
|
|
2364
|
-
const
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
}), _0x4beaad = createChatBridgeHandlers(_0x27dab0);
|
|
2372
|
-
return await registerChatBridgeTools(_0x514c38, _0x4beaad, { 'workerMode': _0x27dab0[_0x429c28(0x15e)] }), {
|
|
2373
|
-
'handlers': _0x4beaad,
|
|
2374
|
-
'server': _0x514c38
|
|
2419
|
+
async function createChatBridgeServer(_0x13a8c7) {
|
|
2420
|
+
const _0x2d6d43 = { _0x519f7c: 0x192 }, _0x43e86c = _0x51636d, {McpServer: _0x2b1c98} = await import(_0x43e86c(0x1b4)), _0x394356 = new _0x2b1c98({
|
|
2421
|
+
'name': _0x43e86c(_0x2d6d43._0x519f7c),
|
|
2422
|
+
'version': '0.0.0'
|
|
2423
|
+
}), _0x1482a0 = createChatBridgeHandlers(_0x13a8c7);
|
|
2424
|
+
return await registerChatBridgeTools(_0x394356, _0x1482a0, { 'workerMode': _0x13a8c7['workerMode'] }), {
|
|
2425
|
+
'handlers': _0x1482a0,
|
|
2426
|
+
'server': _0x394356
|
|
2375
2427
|
};
|
|
2376
2428
|
}
|
|
2377
|
-
function readFlag(
|
|
2378
|
-
const
|
|
2379
|
-
if (
|
|
2429
|
+
function readFlag(_0x18d88e, _0x38e115) {
|
|
2430
|
+
const _0x39757c = _0x51636d, _0x439f1d = _0x18d88e[_0x39757c(0x191)](_0x38e115);
|
|
2431
|
+
if (_0x439f1d === -0x1)
|
|
2380
2432
|
return void 0x0;
|
|
2381
|
-
return
|
|
2433
|
+
return _0x18d88e[_0x439f1d + 0x1];
|
|
2382
2434
|
}
|
|
2383
|
-
function parseChatBridgeArgs(
|
|
2384
|
-
const
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
if (!
|
|
2394
|
-
throw new Error(
|
|
2395
|
-
if (!_0x4c23ce)
|
|
2396
|
-
throw new Error(_0xcd7aa0(0x1b5));
|
|
2397
|
-
if (_0x135f72 !== void 0x0 && (_0x354037 === void 0x0 || !Number[_0xcd7aa0(0x29b)](_0x354037) || _0x354037 < 0x0))
|
|
2398
|
-
throw new Error(_0xcd7aa0(0x18e));
|
|
2435
|
+
function parseChatBridgeArgs(_0x2a6cda) {
|
|
2436
|
+
const _0x2f3136 = {
|
|
2437
|
+
_0x39845a: 0x1a8,
|
|
2438
|
+
_0x27d99e: 0x13b,
|
|
2439
|
+
_0x45ec86: 0x160
|
|
2440
|
+
}, _0x3243c4 = _0x51636d, _0x5802b8 = readFlag(_0x2a6cda, '--agent-id'), _0x3b73d2 = readFlag(_0x2a6cda, '--attachment-cache-dir'), _0x3bd29d = readFlag(_0x2a6cda, _0x3243c4(0x18b)), _0x2abf0f = readFlag(_0x2a6cda, '--initial-last-seen-seq'), _0x42ac50 = readFlag(_0x2a6cda, '--server-url') ?? _0x3243c4(0x1c6), _0x52a03a = readFlag(_0x2a6cda, _0x3243c4(0x1f7)), _0x1626e4 = readFlag(_0x2a6cda, _0x3243c4(0x1fd)), _0x499597 = readFlag(_0x2a6cda, '--worker-mode-enabled'), _0x17b460 = readFlag(_0x2a6cda, _0x3243c4(0x15f)), _0x46a050 = readFlag(_0x2a6cda, _0x3243c4(_0x2f3136._0x39845a)), _0x48368e = _0x2a6cda['includes'](_0x3243c4(0x21a)), _0x134a03 = _0x2abf0f === void 0x0 ? void 0x0 : Number[_0x3243c4(0x1ea)](_0x2abf0f, 0xa);
|
|
2441
|
+
if (!_0x5802b8)
|
|
2442
|
+
throw new Error(_0x3243c4(0x1d3));
|
|
2443
|
+
if (!_0x3bd29d)
|
|
2444
|
+
throw new Error(_0x3243c4(_0x2f3136._0x27d99e));
|
|
2445
|
+
if (_0x2abf0f !== void 0x0 && (_0x134a03 === void 0x0 || !Number[_0x3243c4(_0x2f3136._0x45ec86)](_0x134a03) || _0x134a03 < 0x0))
|
|
2446
|
+
throw new Error(_0x3243c4(0x269));
|
|
2399
2447
|
return {
|
|
2400
|
-
'agentId':
|
|
2401
|
-
'attachmentCacheDir':
|
|
2402
|
-
'daemonApiKey':
|
|
2403
|
-
'daemonLocalUrl':
|
|
2404
|
-
'initialLastSeenSeq':
|
|
2405
|
-
'sessionId':
|
|
2406
|
-
'serverUrl':
|
|
2407
|
-
'workerModeEnabled':
|
|
2408
|
-
'workerSessionId':
|
|
2409
|
-
'workerThreadTarget':
|
|
2410
|
-
'workerMode':
|
|
2448
|
+
'agentId': _0x5802b8,
|
|
2449
|
+
'attachmentCacheDir': _0x3b73d2,
|
|
2450
|
+
'daemonApiKey': _0x3bd29d,
|
|
2451
|
+
'daemonLocalUrl': _0x52a03a,
|
|
2452
|
+
'initialLastSeenSeq': _0x134a03,
|
|
2453
|
+
'sessionId': _0x1626e4,
|
|
2454
|
+
'serverUrl': _0x42ac50,
|
|
2455
|
+
'workerModeEnabled': _0x499597 === void 0x0 ? void 0x0 : _0x499597 !== _0x3243c4(0x19c),
|
|
2456
|
+
'workerSessionId': _0x17b460,
|
|
2457
|
+
'workerThreadTarget': _0x46a050,
|
|
2458
|
+
'workerMode': _0x48368e
|
|
2411
2459
|
};
|
|
2412
2460
|
}
|
|
2413
|
-
async function runChatBridgeCli(
|
|
2414
|
-
const
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
'
|
|
2423
|
-
'attachmentCache': _0x267125,
|
|
2424
|
-
'client': _0x34837c,
|
|
2425
|
-
'daemonLocalUrl': _0x5768de['daemonLocalUrl'],
|
|
2461
|
+
async function runChatBridgeCli(_0x7ce05e) {
|
|
2462
|
+
const _0x3579df = {
|
|
2463
|
+
_0x554174: 0x18f,
|
|
2464
|
+
_0x594c7d: 0x263,
|
|
2465
|
+
_0xf86c0c: 0x186
|
|
2466
|
+
}, _0x4c9a97 = _0x51636d, _0x240fc2 = parseChatBridgeArgs(_0x7ce05e), {StdioServerTransport: _0x2ab455} = await import(_0x4c9a97(_0x3579df._0x554174)), _0x1117e3 = createInternalAgentClient(_0x240fc2), _0x352d7c = createAttachmentCache({ 'cacheDir': _0x240fc2[_0x4c9a97(0x14b)] }), _0x511c2d = await createChatBridgeServer({
|
|
2467
|
+
'agentId': _0x240fc2[_0x4c9a97(0x244)],
|
|
2468
|
+
'attachmentCache': _0x352d7c,
|
|
2469
|
+
'client': _0x1117e3,
|
|
2470
|
+
'daemonLocalUrl': _0x240fc2[_0x4c9a97(0x163)],
|
|
2426
2471
|
'uploadPreparer': prepareUploadFile,
|
|
2427
|
-
'workerModeEnabled':
|
|
2428
|
-
'workerMode':
|
|
2429
|
-
'workerThreadTarget':
|
|
2472
|
+
'workerModeEnabled': _0x240fc2['workerModeEnabled'],
|
|
2473
|
+
'workerMode': _0x240fc2['workerMode'],
|
|
2474
|
+
'workerThreadTarget': _0x240fc2[_0x4c9a97(_0x3579df._0x594c7d)]
|
|
2430
2475
|
});
|
|
2431
|
-
await
|
|
2476
|
+
await _0x511c2d[_0x4c9a97(0x204)][_0x4c9a97(_0x3579df._0xf86c0c)](new _0x2ab455());
|
|
2432
2477
|
}
|
|
2433
|
-
var executedAsEntry = process[
|
|
2434
|
-
executedAsEntry && await runChatBridgeCli(process['
|
|
2478
|
+
var executedAsEntry = process[_0x51636d(0x1f1)][0x1] ? import.meta.url === pathToFileURL(process[_0x51636d(0x1f1)][0x1])['href'] : ![];
|
|
2479
|
+
executedAsEntry && await runChatBridgeCli(process[_0x51636d(0x1f1)]['slice'](0x2));
|
|
2435
2480
|
export {
|
|
2436
2481
|
createChatBridgeHandlers,
|
|
2437
2482
|
createChatBridgeServer,
|