@dscord/daemon 0.1.53 → 0.1.55
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 +1942 -1941
- package/dist/index.js +10447 -10528
- 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
|
-
}, _0x5a89f5 = _0x46e8, _0x5aff6d = _0xf0d828();
|
|
1
|
+
const _0x855546 = _0x17ac;
|
|
2
|
+
(function (_0x3e2d77, _0x58ac83) {
|
|
3
|
+
const _0x449077 = {
|
|
4
|
+
_0x30c9e9: 0x27a,
|
|
5
|
+
_0x293128: 0x216,
|
|
6
|
+
_0x50f303: 0x2a6,
|
|
7
|
+
_0x5bb3fb: 0x262,
|
|
8
|
+
_0x11c0bd: 0x1d2
|
|
9
|
+
}, _0xcbb79d = _0x17ac, _0x371423 = _0x3e2d77();
|
|
11
10
|
while (!![]) {
|
|
12
11
|
try {
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
12
|
+
const _0x1a6b17 = parseInt(_0xcbb79d(_0x449077._0x30c9e9)) / 0x1 * (parseInt(_0xcbb79d(_0x449077._0x293128)) / 0x2) + parseInt(_0xcbb79d(_0x449077._0x50f303)) / 0x3 * (-parseInt(_0xcbb79d(0x1d8)) / 0x4) + -parseInt(_0xcbb79d(0x252)) / 0x5 + parseInt(_0xcbb79d(_0x449077._0x5bb3fb)) / 0x6 + parseInt(_0xcbb79d(_0x449077._0x11c0bd)) / 0x7 + -parseInt(_0xcbb79d(0x265)) / 0x8 + parseInt(_0xcbb79d(0x2b4)) / 0x9;
|
|
13
|
+
if (_0x1a6b17 === _0x58ac83)
|
|
15
14
|
break;
|
|
16
15
|
else
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
16
|
+
_0x371423['push'](_0x371423['shift']());
|
|
17
|
+
} catch (_0x1c9acb) {
|
|
18
|
+
_0x371423['push'](_0x371423['shift']());
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
|
-
}(
|
|
21
|
+
}(_0x1b3e, 0xdf938));
|
|
23
22
|
import { pathToFileURL } from 'node:url';
|
|
24
23
|
import {
|
|
25
24
|
mkdir,
|
|
@@ -29,99 +28,79 @@ import {
|
|
|
29
28
|
writeFile
|
|
30
29
|
} from 'node:fs/promises';
|
|
31
30
|
import { homedir } from 'node:os';
|
|
32
|
-
import
|
|
31
|
+
import _0x5ce9b3 from 'node:path';
|
|
33
32
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
34
|
-
'.csv':
|
|
35
|
-
'.gif':
|
|
36
|
-
'.jpeg':
|
|
37
|
-
'.jpg':
|
|
33
|
+
'.csv': _0x855546(0x2fe),
|
|
34
|
+
'.gif': _0x855546(0x240),
|
|
35
|
+
'.jpeg': 'image/jpeg',
|
|
36
|
+
'.jpg': 'image/jpeg',
|
|
38
37
|
'.json': 'application/json',
|
|
39
|
-
'.md':
|
|
40
|
-
'.pdf':
|
|
41
|
-
'.png':
|
|
42
|
-
'.svg':
|
|
43
|
-
'.txt':
|
|
44
|
-
'.webp':
|
|
45
|
-
'.xml':
|
|
46
|
-
'.zip':
|
|
38
|
+
'.md': _0x855546(0x321),
|
|
39
|
+
'.pdf': _0x855546(0x1fb),
|
|
40
|
+
'.png': _0x855546(0x2ec),
|
|
41
|
+
'.svg': _0x855546(0x24c),
|
|
42
|
+
'.txt': _0x855546(0x313),
|
|
43
|
+
'.webp': 'image/webp',
|
|
44
|
+
'.xml': _0x855546(0x33f),
|
|
45
|
+
'.zip': _0x855546(0x1dd)
|
|
47
46
|
};
|
|
48
|
-
function guessContentType(
|
|
49
|
-
const
|
|
50
|
-
|
|
47
|
+
function guessContentType(_0x34fbf1) {
|
|
48
|
+
const _0xebdafb = {
|
|
49
|
+
_0x121bfa: 0x276,
|
|
50
|
+
_0x1ef262: 0x25d
|
|
51
|
+
}, _0x5d5acd = _0x855546;
|
|
52
|
+
return MIME_BY_EXTENSION[_0x5ce9b3[_0x5d5acd(_0xebdafb._0x121bfa)](_0x34fbf1)['toLowerCase']()] ?? _0x5d5acd(_0xebdafb._0x1ef262);
|
|
51
53
|
}
|
|
52
|
-
function safeFilename(
|
|
53
|
-
|
|
54
|
+
function safeFilename(_0x2dc9b0) {
|
|
55
|
+
const _0x45a861 = _0x855546;
|
|
56
|
+
return _0x2dc9b0[_0x45a861(0x32a)](/[\\/]/g, '-');
|
|
54
57
|
}
|
|
55
|
-
function extensionFor(
|
|
56
|
-
const
|
|
57
|
-
return
|
|
58
|
+
function extensionFor(_0x4a3dc0) {
|
|
59
|
+
const _0x4e6a48 = _0x855546, _0x4509e5 = Object['entries'](MIME_BY_EXTENSION)[_0x4e6a48(0x269)](([, _0x3c3546]) => _0x3c3546 === _0x4a3dc0);
|
|
60
|
+
return _0x4509e5?.[0x0] ?? '.bin';
|
|
58
61
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
return decodeURIComponent(_0x3eada6);
|
|
74
|
-
};
|
|
75
|
-
_0x46e8['megSak'] = _0x5ded13, _0x46e8['UFwgoK'] = {}, _0x46e8['IYUIjx'] = !![];
|
|
76
|
-
}
|
|
77
|
-
const _0x1c4190 = _0x409ffb[0x0], _0x61f0ba = _0xfb77ea + _0x1c4190, _0x345b7e = _0x46e8['UFwgoK'][_0x61f0ba];
|
|
78
|
-
return !_0x345b7e ? (_0x46e87c = _0x46e8['megSak'](_0x46e87c), _0x46e8['UFwgoK'][_0x61f0ba] = _0x46e87c) : _0x46e87c = _0x345b7e, _0x46e87c;
|
|
79
|
-
}
|
|
80
|
-
async function prepareUploadFile(_0x1f3e48, _0x1cb4ff = {}) {
|
|
81
|
-
const _0x10eec3 = {
|
|
82
|
-
_0x5f2fb5: 0x17d,
|
|
83
|
-
_0x2c3970: 0x122,
|
|
84
|
-
_0x3c0f8e: 0x210,
|
|
85
|
-
_0x357151: 0x166,
|
|
86
|
-
_0x51a571: 0x19e,
|
|
87
|
-
_0x2d7cd4: 0x1bf,
|
|
88
|
-
_0x3c16f4: 0x12e,
|
|
89
|
-
_0xabaf47: 0x166
|
|
90
|
-
}, _0x55e471 = _0x2cd54a;
|
|
91
|
-
if (!_0x145552[_0x55e471(0x187)](_0x1f3e48))
|
|
92
|
-
throw new Error(_0x55e471(0x147));
|
|
93
|
-
const _0x194be2 = await stat(_0x1f3e48)[_0x55e471(_0x10eec3._0x5f2fb5)](() => null);
|
|
94
|
-
if (!_0x194be2 || !_0x194be2[_0x55e471(_0x10eec3._0x2c3970)]())
|
|
95
|
-
throw new Error(_0x55e471(_0x10eec3._0x3c0f8e) + _0x1f3e48);
|
|
96
|
-
const _0x2da4cc = _0x1cb4ff[_0x55e471(0x13b)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
97
|
-
if (_0x194be2[_0x55e471(_0x10eec3._0x357151)] > _0x2da4cc)
|
|
98
|
-
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x194be2['size']);
|
|
99
|
-
const _0x278974 = await readFile(_0x1f3e48), _0x345a35 = _0x145552[_0x55e471(_0x10eec3._0x51a571)](_0x1f3e48);
|
|
62
|
+
async function prepareUploadFile(_0x51a994, _0x25d151 = {}) {
|
|
63
|
+
const _0x17dc20 = {
|
|
64
|
+
_0x18e873: 0x28c,
|
|
65
|
+
_0x5c591c: 0x268
|
|
66
|
+
}, _0x2ef481 = _0x855546;
|
|
67
|
+
if (!_0x5ce9b3['isAbsolute'](_0x51a994))
|
|
68
|
+
throw new Error(_0x2ef481(0x34a));
|
|
69
|
+
const _0x18bd90 = await stat(_0x51a994)['catch'](() => null);
|
|
70
|
+
if (!_0x18bd90 || !_0x18bd90[_0x2ef481(_0x17dc20._0x18e873)]())
|
|
71
|
+
throw new Error(_0x2ef481(0x2ab) + _0x51a994);
|
|
72
|
+
const _0x56b3a6 = _0x25d151['maxFileSizeBytes'] ?? DEFAULT_MAX_FILE_SIZE;
|
|
73
|
+
if (_0x18bd90[_0x2ef481(0x2fb)] > _0x56b3a6)
|
|
74
|
+
throw new Error(_0x2ef481(_0x17dc20._0x5c591c) + _0x18bd90['size']);
|
|
75
|
+
const _0x36d49d = await readFile(_0x51a994), _0x28983b = _0x5ce9b3['basename'](_0x51a994);
|
|
100
76
|
return {
|
|
101
|
-
'contentBase64':
|
|
102
|
-
'contentType': guessContentType(
|
|
103
|
-
'filename':
|
|
104
|
-
'sizeBytes':
|
|
77
|
+
'contentBase64': _0x36d49d[_0x2ef481(0x2b8)](_0x2ef481(0x21f)),
|
|
78
|
+
'contentType': guessContentType(_0x28983b),
|
|
79
|
+
'filename': _0x28983b,
|
|
80
|
+
'sizeBytes': _0x18bd90['size']
|
|
105
81
|
};
|
|
106
82
|
}
|
|
107
|
-
function createAttachmentCache(
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
83
|
+
function createAttachmentCache(_0x80e6f3 = {}) {
|
|
84
|
+
const _0x45e77f = { _0x3bcc62: 0x211 }, _0x5e0bfb = {
|
|
85
|
+
_0x3acfcf: 0x30f,
|
|
86
|
+
_0x27d894: 0x233,
|
|
87
|
+
_0x32afca: 0x33e,
|
|
88
|
+
_0x29082d: 0x211,
|
|
89
|
+
_0x1d2e46: 0x330
|
|
90
|
+
}, _0x373d41 = _0x855546, _0x106dbe = _0x80e6f3[_0x373d41(0x1d6)] ?? _0x5ce9b3[_0x373d41(_0x45e77f._0x3bcc62)](homedir(), '.dscord', _0x373d41(0x334));
|
|
112
91
|
return {
|
|
113
|
-
'cacheDir':
|
|
114
|
-
async 'findCachedPath'(
|
|
115
|
-
const
|
|
116
|
-
await mkdir(
|
|
117
|
-
const
|
|
118
|
-
return
|
|
92
|
+
'cacheDir': _0x106dbe,
|
|
93
|
+
async 'findCachedPath'(_0x137db7) {
|
|
94
|
+
const _0xa6a3af = _0x373d41;
|
|
95
|
+
await mkdir(_0x106dbe, { 'recursive': !![] });
|
|
96
|
+
const _0x1f3ebf = await readdir(_0x106dbe), _0x3af305 = _0x1f3ebf['find'](_0x2d6231 => _0x2d6231[_0xa6a3af(0x24f)](_0x137db7 + '-') || _0x2d6231[_0xa6a3af(0x24f)](_0x137db7));
|
|
97
|
+
return _0x3af305 ? _0x5ce9b3['join'](_0x106dbe, _0x3af305) : null;
|
|
119
98
|
},
|
|
120
|
-
async 'save'(
|
|
121
|
-
const
|
|
122
|
-
await mkdir(
|
|
123
|
-
const
|
|
124
|
-
return await writeFile(
|
|
99
|
+
async 'save'(_0x50673e) {
|
|
100
|
+
const _0x115f16 = _0x373d41;
|
|
101
|
+
await mkdir(_0x106dbe, { 'recursive': !![] });
|
|
102
|
+
const _0x101c50 = _0x50673e[_0x115f16(0x30f)]?.[_0x115f16(0x2db)]() ? safeFilename(_0x50673e[_0x115f16(_0x5e0bfb._0x3acfcf)]) : '' + _0x50673e[_0x115f16(_0x5e0bfb._0x27d894)] + extensionFor(_0x50673e[_0x115f16(_0x5e0bfb._0x32afca)]), _0x56d8fd = _0x5ce9b3[_0x115f16(_0x5e0bfb._0x29082d)](_0x106dbe, _0x50673e[_0x115f16(0x233)] + '-' + _0x101c50);
|
|
103
|
+
return await writeFile(_0x56d8fd, _0x50673e[_0x115f16(_0x5e0bfb._0x1d2e46)]), _0x56d8fd;
|
|
125
104
|
}
|
|
126
105
|
};
|
|
127
106
|
}
|
|
@@ -129,2222 +108,2244 @@ import {
|
|
|
129
108
|
createHash,
|
|
130
109
|
randomUUID
|
|
131
110
|
} from 'node:crypto';
|
|
132
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
133
|
-
function ensureSegment(
|
|
134
|
-
const
|
|
135
|
-
|
|
111
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x855546(0x29a);
|
|
112
|
+
function ensureSegment(_0x5dfc7b) {
|
|
113
|
+
const _0x4b7c60 = {
|
|
114
|
+
_0x4b6b9f: 0x2db,
|
|
115
|
+
_0x2674df: 0x2a4
|
|
116
|
+
}, _0x348f79 = _0x855546, _0x3859d8 = _0x5dfc7b[_0x348f79(_0x4b7c60._0x4b6b9f)]();
|
|
117
|
+
if (!_0x3859d8 || _0x3859d8[_0x348f79(_0x4b7c60._0x2674df)](':'))
|
|
136
118
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
137
|
-
return
|
|
119
|
+
return _0x3859d8;
|
|
138
120
|
}
|
|
139
|
-
function parseThreadParts(
|
|
140
|
-
const
|
|
141
|
-
if (
|
|
121
|
+
function parseThreadParts(_0x485190) {
|
|
122
|
+
const _0x485f1f = { _0xe08bc6: 0x26d }, _0x25c0c0 = _0x855546, _0x4c0303 = _0x485190[_0x25c0c0(0x1fd)](':');
|
|
123
|
+
if (_0x4c0303[_0x25c0c0(_0x485f1f._0xe08bc6)] < 0x1 || _0x4c0303[_0x25c0c0(0x26d)] > 0x2)
|
|
142
124
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
143
125
|
return {
|
|
144
|
-
'channelName': ensureSegment(
|
|
145
|
-
'threadShortId':
|
|
126
|
+
'channelName': ensureSegment(_0x4c0303[0x0] ?? ''),
|
|
127
|
+
'threadShortId': _0x4c0303[0x1] ? ensureSegment(_0x4c0303[0x1]) : null
|
|
146
128
|
};
|
|
147
129
|
}
|
|
148
|
-
function parseTarget(
|
|
149
|
-
const
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
},
|
|
158
|
-
if (!
|
|
130
|
+
function parseTarget(_0x366557) {
|
|
131
|
+
const _0x5e5f8a = {
|
|
132
|
+
_0x1299d2: 0x31c,
|
|
133
|
+
_0x293b5a: 0x316,
|
|
134
|
+
_0x3d1425: 0x316,
|
|
135
|
+
_0x9278b0: 0x24f,
|
|
136
|
+
_0x33f305: 0x1e2,
|
|
137
|
+
_0x1d0c93: 0x31c,
|
|
138
|
+
_0x24eba2: 0x316
|
|
139
|
+
}, _0x4a90e5 = _0x855546, _0x2e1845 = _0x366557[_0x4a90e5(0x2db)]();
|
|
140
|
+
if (!_0x2e1845)
|
|
159
141
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
160
|
-
if (
|
|
161
|
-
const
|
|
162
|
-
if (!
|
|
142
|
+
if (_0x2e1845['startsWith']('#')) {
|
|
143
|
+
const _0x4ddd1c = parseThreadParts(_0x2e1845[_0x4a90e5(0x286)](0x1)), _0x1850f6 = '#' + _0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x1299d2)];
|
|
144
|
+
if (!_0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x293b5a)])
|
|
163
145
|
return {
|
|
164
|
-
'channelName':
|
|
165
|
-
'channelTarget':
|
|
166
|
-
'kind':
|
|
167
|
-
'target':
|
|
146
|
+
'channelName': _0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x1299d2)],
|
|
147
|
+
'channelTarget': _0x1850f6,
|
|
148
|
+
'kind': _0x4a90e5(0x280),
|
|
149
|
+
'target': _0x1850f6
|
|
168
150
|
};
|
|
169
151
|
return {
|
|
170
|
-
'channelName':
|
|
171
|
-
'channelTarget':
|
|
172
|
-
'kind':
|
|
173
|
-
'target':
|
|
174
|
-
'threadShortId':
|
|
152
|
+
'channelName': _0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x1299d2)],
|
|
153
|
+
'channelTarget': _0x1850f6,
|
|
154
|
+
'kind': _0x4a90e5(0x261),
|
|
155
|
+
'target': _0x1850f6 + ':' + _0x4ddd1c[_0x4a90e5(_0x5e5f8a._0x3d1425)],
|
|
156
|
+
'threadShortId': _0x4ddd1c['threadShortId']
|
|
175
157
|
};
|
|
176
158
|
}
|
|
177
|
-
if (
|
|
178
|
-
const
|
|
179
|
-
if (!
|
|
159
|
+
if (_0x2e1845[_0x4a90e5(_0x5e5f8a._0x9278b0)](_0x4a90e5(_0x5e5f8a._0x33f305))) {
|
|
160
|
+
const _0x4689f5 = parseThreadParts(_0x2e1845['slice'](0x3));
|
|
161
|
+
if (!_0x4689f5[_0x4a90e5(0x31c)][_0x4a90e5(0x24f)](_0x4a90e5(0x23d)))
|
|
180
162
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
181
|
-
const
|
|
182
|
-
if (!
|
|
163
|
+
const _0x59ffd1 = _0x4a90e5(0x1e2) + _0x4689f5[_0x4a90e5(_0x5e5f8a._0x1d0c93)];
|
|
164
|
+
if (!_0x4689f5[_0x4a90e5(_0x5e5f8a._0x24eba2)])
|
|
183
165
|
return {
|
|
184
|
-
'channelName':
|
|
185
|
-
'channelTarget':
|
|
166
|
+
'channelName': _0x4689f5[_0x4a90e5(0x31c)],
|
|
167
|
+
'channelTarget': _0x59ffd1,
|
|
186
168
|
'kind': 'channel',
|
|
187
|
-
'target':
|
|
169
|
+
'target': _0x59ffd1
|
|
188
170
|
};
|
|
189
171
|
return {
|
|
190
|
-
'channelName':
|
|
191
|
-
'channelTarget':
|
|
192
|
-
'kind':
|
|
193
|
-
'target':
|
|
194
|
-
'threadShortId':
|
|
172
|
+
'channelName': _0x4689f5['channelName'],
|
|
173
|
+
'channelTarget': _0x59ffd1,
|
|
174
|
+
'kind': _0x4a90e5(0x261),
|
|
175
|
+
'target': _0x59ffd1 + ':' + _0x4689f5[_0x4a90e5(_0x5e5f8a._0x3d1425)],
|
|
176
|
+
'threadShortId': _0x4689f5['threadShortId']
|
|
195
177
|
};
|
|
196
178
|
}
|
|
197
179
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
198
180
|
}
|
|
199
|
-
function asErrorMessage(
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
181
|
+
function asErrorMessage(_0x3d0812, _0x3f0651) {
|
|
182
|
+
const _0x41761e = {
|
|
183
|
+
_0x513405: 0x2e8,
|
|
184
|
+
_0x107431: 0x2db
|
|
185
|
+
}, _0x2e7d51 = _0x855546;
|
|
186
|
+
if (typeof _0x3d0812 === _0x2e7d51(_0x41761e._0x513405) && _0x3d0812[_0x2e7d51(_0x41761e._0x107431)]())
|
|
187
|
+
return _0x3d0812;
|
|
188
|
+
return _0x3f0651;
|
|
204
189
|
}
|
|
205
|
-
function asRecord(
|
|
206
|
-
return typeof
|
|
190
|
+
function asRecord(_0x1377d7) {
|
|
191
|
+
return typeof _0x1377d7 === 'object' && _0x1377d7 !== null ? _0x1377d7 : {};
|
|
207
192
|
}
|
|
208
|
-
function stableStringify(
|
|
209
|
-
const
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
if (
|
|
217
|
-
return
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
const _0x511cf8 = Object[_0x1f9179(_0x3875f4._0x1fc4d2)](_0x2f47fa)[_0x1f9179(_0x3875f4._0x5786c9)](([, _0x6681c4]) => _0x6681c4 !== void 0x0)['sort'](([_0xe21bc], [_0x18c85d]) => _0xe21bc[_0x1f9179(0x169)](_0x18c85d))[_0x1f9179(_0x3875f4._0x52dae9)](([_0x1e4209, _0x39872d]) => JSON['stringify'](_0x1e4209) + ':' + stableStringify(_0x39872d));
|
|
221
|
-
return '{' + _0x511cf8[_0x1f9179(0x291)](',') + '}';
|
|
193
|
+
function stableStringify(_0x310a9d) {
|
|
194
|
+
const _0x4d6991 = {
|
|
195
|
+
_0x5a6b0e: 0x234,
|
|
196
|
+
_0x57e1ba: 0x275,
|
|
197
|
+
_0x1f80c9: 0x211
|
|
198
|
+
}, _0x28bc8d = _0x855546;
|
|
199
|
+
if (_0x310a9d === null || typeof _0x310a9d !== 'object')
|
|
200
|
+
return JSON['stringify'](_0x310a9d);
|
|
201
|
+
if (Array[_0x28bc8d(_0x4d6991._0x5a6b0e)](_0x310a9d))
|
|
202
|
+
return '[' + _0x310a9d[_0x28bc8d(0x34b)](_0x5c4ea => stableStringify(_0x5c4ea))[_0x28bc8d(0x211)](',') + ']';
|
|
203
|
+
const _0x306776 = Object[_0x28bc8d(0x28d)](_0x310a9d)[_0x28bc8d(_0x4d6991._0x57e1ba)](([, _0x43f9a6]) => _0x43f9a6 !== void 0x0)['sort'](([_0x230698], [_0x2bf3a8]) => _0x230698[_0x28bc8d(0x236)](_0x2bf3a8))['map'](([_0xbdb5d5, _0x309637]) => JSON[_0x28bc8d(0x219)](_0xbdb5d5) + ':' + stableStringify(_0x309637));
|
|
204
|
+
return '{' + _0x306776[_0x28bc8d(_0x4d6991._0x1f80c9)](',') + '}';
|
|
222
205
|
}
|
|
223
|
-
function createHeaders(
|
|
224
|
-
const
|
|
206
|
+
function createHeaders(_0x3bea51) {
|
|
207
|
+
const _0x3cc2a2 = { _0x2021b0: 0x2fc }, _0x4f59cb = _0x855546;
|
|
225
208
|
return {
|
|
226
|
-
'Content-Type':
|
|
227
|
-
'x-daemon-api-key':
|
|
209
|
+
'Content-Type': _0x4f59cb(_0x3cc2a2._0x2021b0),
|
|
210
|
+
'x-daemon-api-key': _0x3bea51
|
|
228
211
|
};
|
|
229
212
|
}
|
|
230
|
-
function toHttpBaseUrl(
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
|
|
213
|
+
function toHttpBaseUrl(_0x440925) {
|
|
214
|
+
const _0x477795 = {
|
|
215
|
+
_0x5c4254: 0x34e,
|
|
216
|
+
_0xd899e3: 0x215,
|
|
217
|
+
_0x34f6cf: 0x34e,
|
|
218
|
+
_0x3b5475: 0x2b8
|
|
219
|
+
}, _0x5dda1c = _0x855546, _0x42342d = new URL(_0x440925);
|
|
220
|
+
if (_0x42342d['protocol'] === _0x5dda1c(0x1d5))
|
|
221
|
+
_0x42342d[_0x5dda1c(_0x477795._0x5c4254)] = _0x5dda1c(_0x477795._0xd899e3);
|
|
234
222
|
else
|
|
235
|
-
|
|
236
|
-
return
|
|
223
|
+
_0x42342d[_0x5dda1c(0x34e)] === _0x5dda1c(0x2c4) && (_0x42342d[_0x5dda1c(_0x477795._0x34f6cf)] = 'https:');
|
|
224
|
+
return _0x42342d[_0x5dda1c(_0x477795._0x3b5475)]()['replace'](/\/$/, '');
|
|
237
225
|
}
|
|
238
|
-
function isMentionBoundary(
|
|
239
|
-
|
|
240
|
-
return !_0x53f9c5 || /\s|[([{'",。!?、:;]/[_0x52f805(0x29c)](_0x53f9c5);
|
|
226
|
+
function isMentionBoundary(_0xea9190) {
|
|
227
|
+
return !_0xea9190 || /\s|[([{'",。!?、:;]/['test'](_0xea9190);
|
|
241
228
|
}
|
|
242
|
-
function isMentionTerminal(
|
|
243
|
-
|
|
229
|
+
function isMentionTerminal(_0x378028) {
|
|
230
|
+
const _0x5f06f5 = _0x855546;
|
|
231
|
+
return !_0x378028 || /\s|[)\]}'",。!?、:;,.!?]/[_0x5f06f5(0x2bb)](_0x378028);
|
|
244
232
|
}
|
|
245
|
-
function buildMatchableEntries(
|
|
246
|
-
const
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
...
|
|
253
|
-
..._0x8cf6d4[_0x31adce(_0x1d4969._0x42cae8)]
|
|
233
|
+
function buildMatchableEntries(_0x36814c) {
|
|
234
|
+
const _0x383cc7 = {
|
|
235
|
+
_0x42e41b: 0x2eb,
|
|
236
|
+
_0x14f656: 0x34c
|
|
237
|
+
}, _0x47d032 = _0x855546, _0x5aa9be = [];
|
|
238
|
+
for (const _0x3eba93 of [
|
|
239
|
+
..._0x36814c['agents'],
|
|
240
|
+
..._0x36814c[_0x47d032(0x235)]
|
|
254
241
|
]) {
|
|
255
|
-
|
|
256
|
-
'matchName':
|
|
257
|
-
'matchNameLower':
|
|
258
|
-
'participantId':
|
|
259
|
-
}),
|
|
260
|
-
'matchName':
|
|
261
|
-
'matchNameLower':
|
|
262
|
-
'participantId':
|
|
242
|
+
_0x5aa9be[_0x47d032(_0x383cc7._0x42e41b)]({
|
|
243
|
+
'matchName': _0x3eba93[_0x47d032(0x341)],
|
|
244
|
+
'matchNameLower': _0x3eba93[_0x47d032(0x341)][_0x47d032(_0x383cc7._0x14f656)](),
|
|
245
|
+
'participantId': _0x3eba93['id']
|
|
246
|
+
}), _0x3eba93['id'] !== _0x3eba93[_0x47d032(0x341)] && _0x5aa9be[_0x47d032(0x2eb)]({
|
|
247
|
+
'matchName': _0x3eba93['id'],
|
|
248
|
+
'matchNameLower': _0x3eba93['id'][_0x47d032(_0x383cc7._0x14f656)](),
|
|
249
|
+
'participantId': _0x3eba93['id']
|
|
263
250
|
});
|
|
264
251
|
}
|
|
265
|
-
return
|
|
252
|
+
return _0x5aa9be;
|
|
266
253
|
}
|
|
267
|
-
function extractMentionedParticipantIds(
|
|
268
|
-
const
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
if (_0x236057[_0x5e1756] !== '@' || !isMentionBoundary(_0x236057[_0x5e1756 - 0x1]))
|
|
254
|
+
function extractMentionedParticipantIds(_0x325882, _0xfddd05) {
|
|
255
|
+
const _0x414eff = {
|
|
256
|
+
_0x4034df: 0x1fa,
|
|
257
|
+
_0x332fee: 0x2eb
|
|
258
|
+
}, _0x1586d4 = {
|
|
259
|
+
_0x2c7623: 0x24f,
|
|
260
|
+
_0xa5751a: 0x23b
|
|
261
|
+
}, _0x28722b = _0x855546, _0x1af2d1 = buildMatchableEntries(_0xfddd05)[_0x28722b(_0x414eff._0x4034df)]((_0x37eeff, _0x16a8d8) => _0x16a8d8['matchName'][_0x28722b(0x26d)] - _0x37eeff[_0x28722b(0x32b)][_0x28722b(0x26d)]), _0xda25a5 = [], _0x52653a = new Set();
|
|
262
|
+
for (let _0x61357d = 0x0; _0x61357d < _0x325882[_0x28722b(0x26d)]; _0x61357d += 0x1) {
|
|
263
|
+
if (_0x325882[_0x61357d] !== '@' || !isMentionBoundary(_0x325882[_0x61357d - 0x1]))
|
|
278
264
|
continue;
|
|
279
|
-
const
|
|
280
|
-
const
|
|
281
|
-
if (!
|
|
265
|
+
const _0x245582 = _0x325882[_0x28722b(0x286)](_0x61357d + 0x1), _0x19680d = _0x245582['toLocaleLowerCase'](), _0x3b5226 = _0x1af2d1['find'](_0x40fc6f => {
|
|
266
|
+
const _0x16ce70 = _0x28722b;
|
|
267
|
+
if (!_0x19680d[_0x16ce70(_0x1586d4._0x2c7623)](_0x40fc6f[_0x16ce70(_0x1586d4._0xa5751a)]))
|
|
282
268
|
return ![];
|
|
283
|
-
return isMentionTerminal(
|
|
269
|
+
return isMentionTerminal(_0x245582[_0x40fc6f[_0x16ce70(0x32b)][_0x16ce70(0x26d)]]);
|
|
284
270
|
});
|
|
285
|
-
if (!
|
|
271
|
+
if (!_0x3b5226 || _0x52653a['has'](_0x3b5226['participantId']))
|
|
286
272
|
continue;
|
|
287
|
-
|
|
273
|
+
_0x52653a[_0x28722b(0x348)](_0x3b5226[_0x28722b(0x295)]), _0xda25a5[_0x28722b(_0x414eff._0x332fee)](_0x3b5226['participantId']), _0x61357d += _0x3b5226[_0x28722b(0x32b)]['length'];
|
|
288
274
|
}
|
|
289
|
-
return
|
|
275
|
+
return _0xda25a5;
|
|
290
276
|
}
|
|
291
277
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
292
|
-
function anySignal(...
|
|
293
|
-
const
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
},
|
|
298
|
-
for (const
|
|
299
|
-
if (
|
|
300
|
-
return
|
|
301
|
-
|
|
278
|
+
function anySignal(..._0xdbc7d8) {
|
|
279
|
+
const _0x4de439 = {
|
|
280
|
+
_0x51ec0b: 0x271,
|
|
281
|
+
_0x475c06: 0x22b,
|
|
282
|
+
_0x1cc154: 0x1ef
|
|
283
|
+
}, _0x5adfa0 = _0x855546, _0x3bda40 = new AbortController();
|
|
284
|
+
for (const _0x58dc92 of _0xdbc7d8) {
|
|
285
|
+
if (_0x58dc92[_0x5adfa0(_0x4de439._0x51ec0b)])
|
|
286
|
+
return _0x3bda40['abort'](_0x58dc92['reason']), _0x3bda40[_0x5adfa0(0x2ee)];
|
|
287
|
+
_0x58dc92[_0x5adfa0(_0x4de439._0x475c06)](_0x5adfa0(_0x4de439._0x1cc154), () => _0x3bda40[_0x5adfa0(0x1ef)](_0x58dc92[_0x5adfa0(0x2b7)]), {
|
|
302
288
|
'once': !![],
|
|
303
|
-
'signal':
|
|
289
|
+
'signal': _0x3bda40['signal']
|
|
304
290
|
});
|
|
305
291
|
}
|
|
306
|
-
return
|
|
292
|
+
return _0x3bda40[_0x5adfa0(0x2ee)];
|
|
307
293
|
}
|
|
308
|
-
function createInternalAgentClient(
|
|
309
|
-
const
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
},
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
},
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
},
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
},
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
},
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
},
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
},
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
},
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
},
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
294
|
+
function createInternalAgentClient(_0x233de1) {
|
|
295
|
+
const _0x4b02fa = {
|
|
296
|
+
_0x3aa523: 0x28f,
|
|
297
|
+
_0x4aa32b: 0x1cf,
|
|
298
|
+
_0x129347: 0x2db,
|
|
299
|
+
_0x40a9bb: 0x24e,
|
|
300
|
+
_0x5b2b25: 0x1d7,
|
|
301
|
+
_0x55df80: 0x2ad
|
|
302
|
+
}, _0x30db93 = {
|
|
303
|
+
_0x1ac232: 0x1f3,
|
|
304
|
+
_0x19a1b5: 0x27e,
|
|
305
|
+
_0x41a40c: 0x330,
|
|
306
|
+
_0x9d4bc6: 0x26d,
|
|
307
|
+
_0x5e3e41: 0x346,
|
|
308
|
+
_0x884952: 0x328,
|
|
309
|
+
_0x17c21b: 0x34b,
|
|
310
|
+
_0x3e3e96: 0x34b,
|
|
311
|
+
_0xab92f7: 0x2e4,
|
|
312
|
+
_0x3b5101: 0x2e8,
|
|
313
|
+
_0x5a5e38: 0x2b6,
|
|
314
|
+
_0x53f51b: 0x2b6,
|
|
315
|
+
_0x4e827c: 0x2b6,
|
|
316
|
+
_0x4bed12: 0x2f9,
|
|
317
|
+
_0x4c10de: 0x319,
|
|
318
|
+
_0x3cdf48: 0x2eb,
|
|
319
|
+
_0x586bbe: 0x28d,
|
|
320
|
+
_0xcd4d93: 0x299,
|
|
321
|
+
_0x1df182: 0x1e2,
|
|
322
|
+
_0x4d9f6a: 0x2e7,
|
|
323
|
+
_0x327545: 0x258,
|
|
324
|
+
_0x5cae3d: 0x2e7,
|
|
325
|
+
_0x536634: 0x1f7,
|
|
326
|
+
_0x3c1dd3: 0x284,
|
|
327
|
+
_0x5d3b52: 0x25a,
|
|
328
|
+
_0x25ba8c: 0x21d,
|
|
329
|
+
_0x54eec3: 0x294,
|
|
330
|
+
_0x3a7a61: 0x27b,
|
|
331
|
+
_0x2cafed: 0x25a,
|
|
332
|
+
_0x2b212d: 0x2ff
|
|
333
|
+
}, _0x111287 = {
|
|
334
|
+
_0x2df2eb: 0x1e9,
|
|
335
|
+
_0xfec1f: 0x2bf,
|
|
336
|
+
_0x54d632: 0x2e4
|
|
337
|
+
}, _0x4d6eca = {
|
|
338
|
+
_0x30b4a5: 0x209,
|
|
339
|
+
_0x856600: 0x201,
|
|
340
|
+
_0x100e6a: 0x2ee,
|
|
341
|
+
_0x3aa6fb: 0x243,
|
|
342
|
+
_0x4ff6be: 0x30f
|
|
343
|
+
}, _0x260718 = {
|
|
344
|
+
_0x4f9c84: 0x1ee,
|
|
345
|
+
_0x5b6f88: 0x2f4,
|
|
346
|
+
_0x35ae65: 0x219,
|
|
347
|
+
_0x366190: 0x1d9
|
|
348
|
+
}, _0x372d68 = {
|
|
349
|
+
_0x11f041: 0x1f3,
|
|
350
|
+
_0x5756ef: 0x318
|
|
351
|
+
}, _0x472810 = { _0x361ae4: 0x2f4 }, _0x32a97c = {
|
|
352
|
+
_0x21e22e: 0x1f3,
|
|
353
|
+
_0x4740ea: 0x2f4,
|
|
354
|
+
_0x59b01a: 0x2b3,
|
|
355
|
+
_0x310374: 0x219
|
|
356
|
+
}, _0x468cc2 = {
|
|
357
|
+
_0x2e5b38: 0x2f4,
|
|
358
|
+
_0x1a4c73: 0x231,
|
|
359
|
+
_0x51600a: 0x318
|
|
360
|
+
}, _0x3cc742 = {
|
|
361
|
+
_0x23c770: 0x214,
|
|
362
|
+
_0x124874: 0x1f3,
|
|
363
|
+
_0x590fa1: 0x2a0,
|
|
364
|
+
_0x2009a2: 0x201
|
|
365
|
+
}, _0x48b275 = {
|
|
366
|
+
_0x3166a5: 0x220,
|
|
367
|
+
_0x2fc685: 0x297,
|
|
368
|
+
_0x83b0d4: 0x29d,
|
|
369
|
+
_0x29245f: 0x330
|
|
370
|
+
}, _0x455ed7 = {
|
|
371
|
+
_0x498704: 0x219,
|
|
372
|
+
_0x1dc4ea: 0x220,
|
|
373
|
+
_0x5e81e0: 0x283
|
|
374
|
+
}, _0x251dbd = {
|
|
375
|
+
_0x108db0: 0x293,
|
|
376
|
+
_0x451738: 0x219
|
|
377
|
+
}, _0x45b521 = {
|
|
378
|
+
_0x332b1f: 0x2f8,
|
|
379
|
+
_0x374e1e: 0x201
|
|
380
|
+
}, _0x37bb74 = {
|
|
381
|
+
_0x26d4e3: 0x1f7,
|
|
382
|
+
_0x3613ef: 0x2a4,
|
|
383
|
+
_0x36f3a7: 0x1f3,
|
|
384
|
+
_0x51eb37: 0x2f4,
|
|
385
|
+
_0x4cb68a: 0x290,
|
|
386
|
+
_0x4836b3: 0x219
|
|
387
|
+
}, _0x1787fb = {
|
|
388
|
+
_0x1547df: 0x315,
|
|
389
|
+
_0x2ef309: 0x214,
|
|
390
|
+
_0x453b31: 0x2e4,
|
|
391
|
+
_0x3127a3: 0x2bf,
|
|
392
|
+
_0x174920: 0x2bf,
|
|
393
|
+
_0x401759: 0x214,
|
|
394
|
+
_0x34d758: 0x2bf,
|
|
395
|
+
_0x266f36: 0x218,
|
|
396
|
+
_0x562334: 0x214,
|
|
397
|
+
_0x2b143b: 0x1f3,
|
|
398
|
+
_0x3b92da: 0x217,
|
|
399
|
+
_0x5d3a2c: 0x201,
|
|
400
|
+
_0xcee16c: 0x1e6,
|
|
401
|
+
_0x1a88a0: 0x279
|
|
402
|
+
}, _0xf58b12 = { _0x42f4d1: 0x1f2 }, _0x4d7666 = {
|
|
403
|
+
_0x2934d3: 0x305,
|
|
404
|
+
_0x283a06: 0x305,
|
|
405
|
+
_0x82354c: 0x2b6,
|
|
406
|
+
_0x2ad28b: 0x316,
|
|
407
|
+
_0x4ccdf3: 0x319,
|
|
408
|
+
_0x3ee7cc: 0x2e4,
|
|
409
|
+
_0x8c8f3: 0x316
|
|
410
|
+
}, _0x55bce8 = {
|
|
411
|
+
_0xca8e51: 0x2b6,
|
|
412
|
+
_0x1fe19e: 0x305,
|
|
413
|
+
_0xa43b7b: 0x319,
|
|
414
|
+
_0x40b988: 0x2e4,
|
|
415
|
+
_0x1cd943: 0x305
|
|
416
|
+
}, _0x574be5 = {
|
|
417
|
+
_0x266e9b: 0x1db,
|
|
418
|
+
_0x175d83: 0x2f0
|
|
419
|
+
}, _0x306060 = {
|
|
420
|
+
_0x3cd6e0: 0x1f3,
|
|
421
|
+
_0x5aa2e9: 0x2f4,
|
|
422
|
+
_0x4f5726: 0x275,
|
|
423
|
+
_0x4a8e94: 0x330,
|
|
424
|
+
_0x10032c: 0x328,
|
|
425
|
+
_0x134237: 0x2ea,
|
|
426
|
+
_0x4549a1: 0x341
|
|
427
|
+
}, _0x3e0e59 = {
|
|
428
|
+
_0x5ec89c: 0x1f3,
|
|
429
|
+
_0x3944e3: 0x2f4,
|
|
430
|
+
_0x2c55e5: 0x219,
|
|
431
|
+
_0x4e5fda: 0x221,
|
|
432
|
+
_0x4bb70c: 0x318,
|
|
433
|
+
_0x48a515: 0x28a,
|
|
434
|
+
_0x4cd29d: 0x330,
|
|
435
|
+
_0x504f92: 0x2e4
|
|
436
|
+
}, _0xbc79ee = {
|
|
437
|
+
_0x51acaf: 0x219,
|
|
438
|
+
_0x587db2: 0x2fc,
|
|
439
|
+
_0x147793: 0x318
|
|
440
|
+
}, _0x390be2 = {
|
|
441
|
+
_0x56fe3e: 0x219,
|
|
442
|
+
_0x20186c: 0x2d3
|
|
443
|
+
}, _0x3deac2 = { _0x1807a7: 0x29d }, _0x8830bc = { _0x2eabc6: 0x2ee }, _0x5e21b0 = {
|
|
444
|
+
_0x1fd844: 0x2db,
|
|
445
|
+
_0xbc4520: 0x325,
|
|
446
|
+
_0x557534: 0x214
|
|
447
|
+
}, _0x1c6b81 = {
|
|
448
|
+
_0x2b5ac3: 0x333,
|
|
449
|
+
_0x200671: 0x2b8,
|
|
450
|
+
_0x306873: 0x2cc
|
|
451
|
+
}, _0x16606d = {
|
|
452
|
+
_0x5c0384: 0x243,
|
|
453
|
+
_0x148dcc: 0x232,
|
|
454
|
+
_0x50dc36: 0x30d,
|
|
455
|
+
_0x517ff3: 0x29e,
|
|
456
|
+
_0x1c8453: 0x2ed,
|
|
457
|
+
_0x1b6af5: 0x336
|
|
458
|
+
}, _0x5ee3c8 = _0x855546, _0x2f5464 = _0x233de1[_0x5ee3c8(_0x4b02fa._0x3aa523)] ?? fetch, _0x3ed37d = _0x233de1[_0x5ee3c8(0x2a5)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x4ae180 = typeof _0x233de1[_0x5ee3c8(0x1cf)] === 'number' && _0x233de1[_0x5ee3c8(0x1cf)] > 0x0 ? _0x233de1[_0x5ee3c8(_0x4b02fa._0x4aa32b)] : 0x0, _0x52b57e = _0x233de1['daemonLocalUrl']?.[_0x5ee3c8(0x2db)]() || void 0x0, _0x11910a = _0x233de1['sessionId']?.[_0x5ee3c8(_0x4b02fa._0x129347)]() || void 0x0, _0x2ba051 = _0x233de1[_0x5ee3c8(0x205)] === !![], _0x1797c3 = _0x233de1[_0x5ee3c8(_0x4b02fa._0x40a9bb)]?.[_0x5ee3c8(_0x4b02fa._0x129347)]() || void 0x0, _0x5896bf = _0x233de1[_0x5ee3c8(_0x4b02fa._0x5b2b25)]?.[_0x5ee3c8(0x2db)]() || void 0x0, _0xd50ea8 = createHeaders(_0x233de1['daemonApiKey']), _0x22e36d = toHttpBaseUrl(_0x233de1[_0x5ee3c8(_0x4b02fa._0x55df80)]);
|
|
459
|
+
let _0x4b118d = null;
|
|
460
|
+
const _0x3c1766 = new Map();
|
|
461
|
+
let _0x3ce3dd = _0x4ae180, _0x5bc583 = _0x4ae180;
|
|
462
|
+
function _0x433d15(_0x53cbdd) {
|
|
463
|
+
const _0x166ba5 = _0x5ee3c8, _0x3ee9e1 = _0x53cbdd['response'][_0x166ba5(_0x16606d._0x5c0384)][_0x166ba5(0x2e7)]('content-type') ?? 'unknown', _0x500600 = _0x53cbdd[_0x166ba5(_0x16606d._0x148dcc)]['trim']()[_0x166ba5(0x32a)](/\s+/g, '\x20')['slice'](0x0, 0x78) || '<empty>';
|
|
464
|
+
return _0x166ba5(_0x16606d._0x50dc36) + _0x53cbdd[_0x166ba5(_0x16606d._0x517ff3)] + _0x166ba5(_0x16606d._0x1c8453) + _0x53cbdd['response'][_0x166ba5(0x2d9)] + _0x166ba5(_0x16606d._0x1b6af5) + _0x3ee9e1 + _0x166ba5(0x21a) + _0x500600 + ')。这通常表示\x20serverUrl\x20指向了\x20web\x20站点,或代理没有把\x20daemon/internal\x20API\x20转发到后端。';
|
|
457
465
|
}
|
|
458
|
-
async function
|
|
459
|
-
const
|
|
460
|
-
if (!
|
|
466
|
+
async function _0x974768(_0x3493d4, _0x2ab2b0) {
|
|
467
|
+
const _0x4bf2cf = _0x5ee3c8, _0x36b189 = Buffer[_0x4bf2cf(_0x1c6b81._0x2b5ac3)](await _0x2ab2b0[_0x4bf2cf(0x301)]())[_0x4bf2cf(_0x1c6b81._0x200671)](_0x4bf2cf(_0x1c6b81._0x306873));
|
|
468
|
+
if (!_0x36b189['trim']())
|
|
461
469
|
return {};
|
|
462
470
|
try {
|
|
463
|
-
return JSON[
|
|
471
|
+
return JSON[_0x4bf2cf(0x22c)](_0x36b189);
|
|
464
472
|
} catch {
|
|
465
|
-
throw new Error(
|
|
466
|
-
'bodyText':
|
|
467
|
-
'requestUrl':
|
|
468
|
-
'response':
|
|
473
|
+
throw new Error(_0x433d15({
|
|
474
|
+
'bodyText': _0x36b189,
|
|
475
|
+
'requestUrl': _0x3493d4,
|
|
476
|
+
'response': _0x2ab2b0
|
|
469
477
|
}));
|
|
470
478
|
}
|
|
471
479
|
}
|
|
472
|
-
function
|
|
473
|
-
const
|
|
474
|
-
if (
|
|
475
|
-
return
|
|
476
|
-
const
|
|
477
|
-
for (const [
|
|
478
|
-
|
|
480
|
+
function _0x58cf97(_0x5c7145, _0x540b2f) {
|
|
481
|
+
const _0xf5702e = _0x5ee3c8, _0x5ce452 = typeof _0x540b2f[_0xf5702e(0x2c5)] === 'string' ? _0x540b2f['idempotency_key'][_0xf5702e(_0x5e21b0._0x1fd844)]() : '';
|
|
482
|
+
if (_0x5ce452)
|
|
483
|
+
return _0x5ce452;
|
|
484
|
+
const _0x43bc98 = Date[_0xf5702e(0x310)]();
|
|
485
|
+
for (const [_0x327407, _0x3f937e] of _0x3c1766) {
|
|
486
|
+
_0x3f937e[_0xf5702e(0x259)] <= _0x43bc98 && _0x3c1766[_0xf5702e(0x25c)](_0x327407);
|
|
479
487
|
}
|
|
480
|
-
const
|
|
481
|
-
...
|
|
488
|
+
const _0x44eb0c = {
|
|
489
|
+
..._0x540b2f,
|
|
482
490
|
'idempotency_key': void 0x0
|
|
483
|
-
},
|
|
484
|
-
if (
|
|
485
|
-
return
|
|
486
|
-
const
|
|
487
|
-
return
|
|
488
|
-
'expiresAt':
|
|
489
|
-
'value':
|
|
490
|
-
}),
|
|
491
|
+
}, _0x82c865 = createHash(_0xf5702e(0x23f))['update'](_0x5c7145 + ':' + stableStringify(_0x44eb0c))[_0xf5702e(_0x5e21b0._0xbc4520)](_0xf5702e(0x1e3)), _0x1d3769 = _0x5c7145 + ':' + _0x82c865, _0x24aa97 = _0x3c1766[_0xf5702e(0x2e7)](_0x1d3769);
|
|
492
|
+
if (_0x24aa97)
|
|
493
|
+
return _0x24aa97['value'];
|
|
494
|
+
const _0x2e6209 = _0xf5702e(0x304) + _0x5c7145 + ':' + randomUUID();
|
|
495
|
+
return _0x3c1766[_0xf5702e(_0x5e21b0._0x557534)](_0x1d3769, {
|
|
496
|
+
'expiresAt': _0x43bc98 + 0x5 * 0x3c * 0x3e8,
|
|
497
|
+
'value': _0x2e6209
|
|
498
|
+
}), _0x2e6209;
|
|
491
499
|
}
|
|
492
|
-
async function
|
|
493
|
-
const
|
|
500
|
+
async function _0x3d3cd0(_0x143e5c, _0x27c10c) {
|
|
501
|
+
const _0x50190b = _0x5ee3c8, _0x2dd838 = new AbortController(), _0xdf1619 = setTimeout(() => _0x2dd838[_0x50190b(0x1ef)](), _0x3ed37d), _0x9ada35 = _0x27c10c?.[_0x50190b(_0x8830bc._0x2eabc6)] ? anySignal(_0x27c10c['signal'], _0x2dd838[_0x50190b(0x2ee)]) : _0x2dd838[_0x50190b(0x2ee)], _0x142333 = '' + _0x22e36d + _0x143e5c;
|
|
494
502
|
try {
|
|
495
|
-
const
|
|
496
|
-
...
|
|
497
|
-
'signal':
|
|
498
|
-
}),
|
|
499
|
-
if (!
|
|
500
|
-
throw new Error(asErrorMessage(
|
|
501
|
-
return
|
|
503
|
+
const _0x470d51 = await _0x2f5464(_0x142333, {
|
|
504
|
+
..._0x27c10c,
|
|
505
|
+
'signal': _0x9ada35
|
|
506
|
+
}), _0x22ce92 = await _0x974768(_0x142333, _0x470d51);
|
|
507
|
+
if (!_0x470d51['ok'] || _0x22ce92[_0x50190b(0x345)] === ![])
|
|
508
|
+
throw new Error(asErrorMessage(_0x22ce92[_0x50190b(0x29d)], _0x50190b(0x300) + _0x470d51[_0x50190b(0x2d9)]));
|
|
509
|
+
return _0x22ce92;
|
|
502
510
|
} finally {
|
|
503
|
-
clearTimeout(
|
|
511
|
+
clearTimeout(_0xdf1619);
|
|
504
512
|
}
|
|
505
513
|
}
|
|
506
|
-
async function
|
|
507
|
-
const
|
|
514
|
+
async function _0x23135e(_0x3299cc, _0x7ef335) {
|
|
515
|
+
const _0xc58291 = _0x5ee3c8, _0x1dbf7e = new AbortController(), _0x561a8f = setTimeout(() => _0x1dbf7e[_0xc58291(0x1ef)](), _0x3ed37d), _0x99c87 = _0x7ef335?.[_0xc58291(0x2ee)] ? anySignal(_0x7ef335[_0xc58291(0x2ee)], _0x1dbf7e['signal']) : _0x1dbf7e[_0xc58291(0x2ee)], _0x170035 = '' + _0x22e36d + _0x3299cc;
|
|
508
516
|
try {
|
|
509
|
-
const
|
|
510
|
-
...
|
|
511
|
-
'signal':
|
|
512
|
-
}),
|
|
513
|
-
if (!
|
|
514
|
-
throw new Error(asErrorMessage(
|
|
515
|
-
return
|
|
517
|
+
const _0x2983cd = await _0x2f5464(_0x170035, {
|
|
518
|
+
..._0x7ef335,
|
|
519
|
+
'signal': _0x99c87
|
|
520
|
+
}), _0x411b0c = await _0x974768(_0x170035, _0x2983cd);
|
|
521
|
+
if (!_0x2983cd['ok'])
|
|
522
|
+
throw new Error(asErrorMessage(_0x411b0c[_0xc58291(_0x3deac2._0x1807a7)], _0xc58291(0x300) + _0x2983cd[_0xc58291(0x2d9)]));
|
|
523
|
+
return _0x411b0c;
|
|
516
524
|
} finally {
|
|
517
|
-
clearTimeout(
|
|
525
|
+
clearTimeout(_0x561a8f);
|
|
518
526
|
}
|
|
519
527
|
}
|
|
520
|
-
async function
|
|
521
|
-
const
|
|
522
|
-
if (!
|
|
528
|
+
async function _0x372f93(_0x1026f4) {
|
|
529
|
+
const _0x2bcdf8 = _0x5ee3c8;
|
|
530
|
+
if (!_0x11910a || _0x1026f4 <= _0x5bc583)
|
|
523
531
|
return;
|
|
524
|
-
await
|
|
525
|
-
'body': JSON[
|
|
526
|
-
'headers':
|
|
527
|
-
'method':
|
|
528
|
-
}),
|
|
532
|
+
await _0x3d3cd0(_0x2bcdf8(0x2b9) + encodeURIComponent(_0x11910a) + '/context-metrics', {
|
|
533
|
+
'body': JSON[_0x2bcdf8(_0x390be2._0x56fe3e)]({ 'lastSeenSeq': _0x1026f4 }),
|
|
534
|
+
'headers': _0xd50ea8,
|
|
535
|
+
'method': _0x2bcdf8(_0x390be2._0x20186c)
|
|
536
|
+
}), _0x5bc583 = _0x1026f4;
|
|
529
537
|
}
|
|
530
|
-
async function
|
|
531
|
-
const
|
|
532
|
-
if (!
|
|
538
|
+
async function _0x145239(_0x27d6e4) {
|
|
539
|
+
const _0x1c0c18 = _0x5ee3c8;
|
|
540
|
+
if (!_0x52b57e || !_0x1797c3 || _0x27d6e4 <= _0x5bc583)
|
|
533
541
|
return;
|
|
534
|
-
const
|
|
535
|
-
'body': JSON[
|
|
536
|
-
'last_seen_seq':
|
|
537
|
-
'worker_session_id':
|
|
542
|
+
const _0x3534a6 = await _0x2f5464(_0x52b57e + _0x1c0c18(0x228), {
|
|
543
|
+
'body': JSON[_0x1c0c18(_0xbc79ee._0x51acaf)]({
|
|
544
|
+
'last_seen_seq': _0x27d6e4,
|
|
545
|
+
'worker_session_id': _0x1797c3
|
|
538
546
|
}),
|
|
539
|
-
'headers': { 'Content-Type':
|
|
540
|
-
'method':
|
|
547
|
+
'headers': { 'Content-Type': _0x1c0c18(_0xbc79ee._0x587db2) },
|
|
548
|
+
'method': _0x1c0c18(_0xbc79ee._0x147793)
|
|
541
549
|
});
|
|
542
|
-
if (!
|
|
543
|
-
throw new Error(
|
|
544
|
-
|
|
550
|
+
if (!_0x3534a6['ok'])
|
|
551
|
+
throw new Error(_0x1c0c18(0x300) + _0x3534a6[_0x1c0c18(0x2d9)]);
|
|
552
|
+
_0x5bc583 = _0x27d6e4;
|
|
545
553
|
}
|
|
546
|
-
async function
|
|
547
|
-
const
|
|
548
|
-
'body': JSON[
|
|
549
|
-
'headers':
|
|
550
|
-
'method':
|
|
554
|
+
async function _0x6b68b7(_0x1f4a5f) {
|
|
555
|
+
const _0x46d01e = _0x5ee3c8, _0x23e485 = parseTarget(_0x1f4a5f), _0x1ab033 = await _0x3d3cd0(_0x46d01e(_0x3e0e59._0x5ec89c) + _0x233de1[_0x46d01e(_0x3e0e59._0x3944e3)] + _0x46d01e(0x23e), {
|
|
556
|
+
'body': JSON[_0x46d01e(_0x3e0e59._0x2c55e5)]({ 'target': _0x23e485[_0x46d01e(_0x3e0e59._0x4e5fda)] }),
|
|
557
|
+
'headers': _0xd50ea8,
|
|
558
|
+
'method': _0x46d01e(_0x3e0e59._0x4bb70c)
|
|
551
559
|
});
|
|
552
560
|
return {
|
|
553
|
-
'channelId':
|
|
554
|
-
'target':
|
|
555
|
-
'task':
|
|
556
|
-
'threadId':
|
|
557
|
-
'threadNumber':
|
|
561
|
+
'channelId': _0x1ab033[_0x46d01e(0x330)]?.['channelId'] ?? '',
|
|
562
|
+
'target': _0x23e485[_0x46d01e(0x305)],
|
|
563
|
+
'task': _0x1ab033['data']?.[_0x46d01e(_0x3e0e59._0x48a515)],
|
|
564
|
+
'threadId': _0x1ab033[_0x46d01e(_0x3e0e59._0x4cd29d)]?.[_0x46d01e(_0x3e0e59._0x504f92)],
|
|
565
|
+
'threadNumber': _0x1ab033[_0x46d01e(0x330)]?.['threadNumber']
|
|
558
566
|
};
|
|
559
567
|
}
|
|
560
|
-
async function
|
|
561
|
-
const
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
return _0xbd0243 = (async () => {
|
|
576
|
-
const _0x11d32c = _0x46e8, _0x15379b = await _0x527030(_0x11d32c(_0x594671._0x2cbca0) + _0x2b4307[_0x11d32c(0x198)] + _0x11d32c(_0x594671._0x55a585), {
|
|
577
|
-
'headers': _0x23725b,
|
|
578
|
-
'method': 'GET'
|
|
579
|
-
}), _0x502fc5 = _0x15379b['data']?.[_0x11d32c(_0x594671._0x2b18e7)] ?? [], _0xa1c1f5 = _0x502fc5['filter'](_0x51904f => _0x51904f[_0x11d32c(0x1a0)]?.['type'] === 'agent')[_0x11d32c(_0x594671._0x508547)](_0x3ff0ba => ({
|
|
580
|
-
'id': _0x146cbd(_0x3ff0ba),
|
|
581
|
-
'name': _0x46ba0f(_0x3ff0ba)
|
|
582
|
-
}))[_0x11d32c(_0x594671._0x3a88fd)](_0x43f5e4 => _0x43f5e4['id']), _0x4c1f5a = _0x502fc5[_0x11d32c(0x121)](_0x3d1ee2 => _0x3d1ee2[_0x11d32c(0x1a0)]?.[_0x11d32c(0x271)] !== _0x11d32c(0x26d))[_0x11d32c(_0x594671._0x3b2069)](_0x58b179 => ({
|
|
583
|
-
'id': _0x146cbd(_0x58b179),
|
|
584
|
-
'name': _0x46ba0f(_0x58b179)
|
|
585
|
-
}))['filter'](_0x43fa75 => _0x43fa75['id']), _0x44f91e = _0x15379b[_0x11d32c(_0x594671._0x3fe46d)]?.[_0x11d32c(_0x594671._0x57f2f1)]['id'] ?? '';
|
|
568
|
+
async function _0x29453d(_0xebf18d = {}) {
|
|
569
|
+
const _0x5f6f72 = _0x5ee3c8;
|
|
570
|
+
if (!_0xebf18d[_0x5f6f72(_0x574be5._0x266e9b)] && _0x4b118d)
|
|
571
|
+
return _0x4b118d;
|
|
572
|
+
return _0x4b118d = (async () => {
|
|
573
|
+
const _0x427156 = _0x5f6f72, _0x1dd482 = await _0x3d3cd0(_0x427156(_0x306060._0x3cd6e0) + _0x233de1[_0x427156(_0x306060._0x5aa2e9)] + '/server', {
|
|
574
|
+
'headers': _0xd50ea8,
|
|
575
|
+
'method': _0x427156(0x201)
|
|
576
|
+
}), _0x2fc34b = _0x1dd482[_0x427156(0x330)]?.['members'] ?? [], _0x2135fb = _0x2fc34b['filter'](_0x47105e => _0x47105e[_0x427156(0x349)]?.[_0x427156(0x1ec)] === _0x427156(0x2ba))['map'](_0x80ab1e => ({
|
|
577
|
+
'id': _0xc2edbb(_0x80ab1e),
|
|
578
|
+
'name': _0x20f00d(_0x80ab1e)
|
|
579
|
+
}))[_0x427156(0x275)](_0x5dea35 => _0x5dea35['id']), _0x8517d5 = _0x2fc34b[_0x427156(_0x306060._0x4f5726)](_0x1a95cd => _0x1a95cd[_0x427156(0x349)]?.['type'] !== 'agent')['map'](_0x4313cb => ({
|
|
580
|
+
'id': _0xc2edbb(_0x4313cb),
|
|
581
|
+
'name': _0x20f00d(_0x4313cb)
|
|
582
|
+
}))[_0x427156(_0x306060._0x4f5726)](_0x480b40 => _0x480b40['id']), _0x398335 = _0x1dd482['data']?.[_0x427156(0x2ea)]['id'] ?? '';
|
|
586
583
|
return {
|
|
587
|
-
'agents':
|
|
588
|
-
'channels':
|
|
589
|
-
'humans':
|
|
590
|
-
'serverId':
|
|
591
|
-
'serverName':
|
|
584
|
+
'agents': _0x2135fb,
|
|
585
|
+
'channels': _0x1dd482[_0x427156(_0x306060._0x4a8e94)]?.[_0x427156(_0x306060._0x10032c)] ?? [],
|
|
586
|
+
'humans': _0x8517d5,
|
|
587
|
+
'serverId': _0x398335,
|
|
588
|
+
'serverName': _0x1dd482['data']?.[_0x427156(_0x306060._0x134237)][_0x427156(_0x306060._0x4549a1)] ?? _0x398335
|
|
592
589
|
};
|
|
593
|
-
})()[
|
|
594
|
-
|
|
595
|
-
throw
|
|
596
|
-
}),
|
|
590
|
+
})()[_0x5f6f72(_0x574be5._0x175d83)](_0x29d524 => {
|
|
591
|
+
_0x4b118d = null;
|
|
592
|
+
throw _0x29d524;
|
|
593
|
+
}), _0x4b118d;
|
|
597
594
|
}
|
|
598
|
-
function
|
|
599
|
-
const
|
|
600
|
-
return
|
|
595
|
+
function _0x435787(_0x2ed2f3, _0x8cae7e) {
|
|
596
|
+
const _0x2ceebc = _0x5ee3c8;
|
|
597
|
+
return _0x8cae7e[_0x2ceebc(0x2c8)][_0x2ceebc(0x22e)](_0x399c74 => _0x399c74['id'] === _0x2ed2f3 || _0x399c74[_0x2ceebc(0x341)] === _0x2ed2f3) ? _0x2ceebc(0x2ba) : 'human';
|
|
601
598
|
}
|
|
602
|
-
function
|
|
603
|
-
const
|
|
604
|
-
if (
|
|
605
|
-
return
|
|
606
|
-
if (
|
|
607
|
-
return
|
|
608
|
-
if (
|
|
609
|
-
return
|
|
610
|
-
return
|
|
599
|
+
function _0x40db51(_0x9bd774) {
|
|
600
|
+
const _0x4ccd92 = _0x5ee3c8;
|
|
601
|
+
if (_0x9bd774[_0x4ccd92(_0x55bce8._0xca8e51)] != null)
|
|
602
|
+
return _0x9bd774[_0x4ccd92(_0x55bce8._0x1fe19e)] + ':t' + _0x9bd774['threadNumber'];
|
|
603
|
+
if (_0x9bd774[_0x4ccd92(_0x55bce8._0xa43b7b)])
|
|
604
|
+
return _0x9bd774[_0x4ccd92(0x305)] + ':' + _0x9bd774['rootMessageId'];
|
|
605
|
+
if (_0x9bd774[_0x4ccd92(_0x55bce8._0x40b988)])
|
|
606
|
+
return _0x9bd774[_0x4ccd92(_0x55bce8._0x1cd943)] + ':' + _0x9bd774[_0x4ccd92(0x2e4)][_0x4ccd92(0x286)](0x0, 0x8);
|
|
607
|
+
return _0x9bd774[_0x4ccd92(0x305)];
|
|
611
608
|
}
|
|
612
|
-
function
|
|
613
|
-
const
|
|
609
|
+
function _0x211c09(_0x38e27d, _0x1bb08f) {
|
|
610
|
+
const _0x378879 = _0x5ee3c8;
|
|
614
611
|
try {
|
|
615
|
-
const
|
|
616
|
-
if (
|
|
612
|
+
const _0xba7cf0 = parseTarget(_0x38e27d);
|
|
613
|
+
if (_0xba7cf0['kind'] !== 'thread' || _0xba7cf0[_0x378879(_0x4d7666._0x2934d3)] !== _0x1bb08f[_0x378879(_0x4d7666._0x283a06)])
|
|
617
614
|
return ![];
|
|
618
|
-
if (
|
|
615
|
+
if (_0x1bb08f[_0x378879(_0x4d7666._0x82354c)] != null && _0xba7cf0[_0x378879(_0x4d7666._0x2ad28b)] === 't' + _0x1bb08f['threadNumber'])
|
|
619
616
|
return !![];
|
|
620
|
-
if (
|
|
621
|
-
return
|
|
622
|
-
if (
|
|
623
|
-
return
|
|
617
|
+
if (_0x1bb08f[_0x378879(0x319)])
|
|
618
|
+
return _0xba7cf0[_0x378879(_0x4d7666._0x2ad28b)] === _0x1bb08f[_0x378879(_0x4d7666._0x4ccdf3)] || _0x1bb08f['rootMessageId'][_0x378879(0x24f)](_0xba7cf0[_0x378879(0x316)]);
|
|
619
|
+
if (_0x1bb08f[_0x378879(_0x4d7666._0x3ee7cc)])
|
|
620
|
+
return _0xba7cf0[_0x378879(_0x4d7666._0x8c8f3)] === _0x1bb08f['threadId'] || _0x1bb08f['threadId'][_0x378879(0x24f)](_0xba7cf0[_0x378879(_0x4d7666._0x8c8f3)]);
|
|
624
621
|
return ![];
|
|
625
622
|
} catch {
|
|
626
623
|
return ![];
|
|
627
624
|
}
|
|
628
625
|
}
|
|
629
|
-
function
|
|
630
|
-
const
|
|
631
|
-
return
|
|
626
|
+
function _0xc2edbb(_0x35bfb0) {
|
|
627
|
+
const _0x57ced5 = _0x5ee3c8;
|
|
628
|
+
return _0x35bfb0[_0x57ced5(_0xf58b12._0x42f4d1)]?.[_0x57ced5(0x295)] ?? _0x35bfb0['participant']?.['id'] ?? _0x35bfb0[_0x57ced5(0x295)] ?? '';
|
|
632
629
|
}
|
|
633
|
-
function
|
|
634
|
-
const
|
|
635
|
-
return
|
|
630
|
+
function _0x20f00d(_0x1808d1) {
|
|
631
|
+
const _0x2eb988 = _0x5ee3c8;
|
|
632
|
+
return _0x1808d1[_0x2eb988(0x349)]?.[_0x2eb988(0x341)] ?? _0xc2edbb(_0x1808d1);
|
|
636
633
|
}
|
|
637
|
-
async function
|
|
638
|
-
const
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
const
|
|
644
|
-
'headers':
|
|
645
|
-
'method':
|
|
646
|
-
}),
|
|
647
|
-
'attachments': (
|
|
648
|
-
'filename':
|
|
649
|
-
'id':
|
|
634
|
+
async function _0x371b6c(_0x45736e) {
|
|
635
|
+
const _0x2d16dd = _0x5ee3c8, _0x4cca0c = Math[_0x2d16dd(0x2c1)](_0x45736e[_0x2d16dd(_0x1787fb._0x1547df)] ?? 0x32, 0x64), _0x3c5fef = await _0x29453d(), _0x421684 = new URLSearchParams();
|
|
636
|
+
_0x421684['set']('limit', String(_0x4cca0c));
|
|
637
|
+
_0x45736e[_0x2d16dd(0x2e4)] ? (_0x421684[_0x2d16dd(_0x1787fb._0x2ef309)](_0x2d16dd(_0x1787fb._0x453b31), _0x45736e[_0x2d16dd(0x2e4)]), _0x421684['set'](_0x2d16dd(_0x1787fb._0x3127a3), _0x45736e[_0x2d16dd(_0x1787fb._0x174920)])) : _0x421684[_0x2d16dd(_0x1787fb._0x401759)](_0x2d16dd(_0x1787fb._0x34d758), _0x45736e[_0x2d16dd(_0x1787fb._0x174920)]);
|
|
638
|
+
_0x45736e[_0x2d16dd(0x282)] && _0x421684[_0x2d16dd(_0x1787fb._0x401759)](_0x2d16dd(_0x1787fb._0x266f36), String(_0x45736e[_0x2d16dd(0x282)]));
|
|
639
|
+
_0x45736e[_0x2d16dd(0x1e9)] !== void 0x0 && _0x421684[_0x2d16dd(_0x1787fb._0x562334)]('after', String(_0x45736e[_0x2d16dd(0x1e9)]));
|
|
640
|
+
const _0x251a3f = await _0x3d3cd0(_0x2d16dd(_0x1787fb._0x2b143b) + _0x233de1[_0x2d16dd(0x2f4)] + _0x2d16dd(_0x1787fb._0x3b92da) + _0x421684[_0x2d16dd(0x2b8)](), {
|
|
641
|
+
'headers': _0xd50ea8,
|
|
642
|
+
'method': _0x2d16dd(_0x1787fb._0x5d3a2c)
|
|
643
|
+
}), _0x4a7510 = (_0x251a3f['data'] ?? [])[_0x2d16dd(0x34b)](_0x45fe8f => ({
|
|
644
|
+
'attachments': (_0x45fe8f[_0x2d16dd(0x334)] ?? [])[_0x2d16dd(0x34b)](_0x4e54cb => ({
|
|
645
|
+
'filename': _0x4e54cb[_0x2d16dd(0x2be)] ?? _0x4e54cb['id'],
|
|
646
|
+
'id': _0x4e54cb['id']
|
|
650
647
|
})),
|
|
651
|
-
'content':
|
|
652
|
-
'createdAt':
|
|
653
|
-
...
|
|
654
|
-
'messageId':
|
|
655
|
-
'senderName':
|
|
656
|
-
'senderType':
|
|
657
|
-
'seq':
|
|
648
|
+
'content': _0x45fe8f[_0x2d16dd(0x294)] ?? '',
|
|
649
|
+
'createdAt': _0x45fe8f['createdAt'],
|
|
650
|
+
..._0x45fe8f[_0x2d16dd(0x25a)] && _0x45fe8f[_0x2d16dd(0x25a)] !== _0x2d16dd(0x27b) ? { 'kind': _0x45fe8f[_0x2d16dd(0x25a)] } : {},
|
|
651
|
+
'messageId': _0x45fe8f['id'],
|
|
652
|
+
'senderName': _0x45fe8f['senderParticipantId'],
|
|
653
|
+
'senderType': _0x435787(_0x45fe8f[_0x2d16dd(0x2d7)], _0x3c5fef),
|
|
654
|
+
'seq': _0x45fe8f[_0x2d16dd(0x2ce)] ?? 0x0
|
|
658
655
|
}));
|
|
659
656
|
return {
|
|
660
|
-
'channel':
|
|
661
|
-
'hasMore':
|
|
662
|
-
'messages':
|
|
663
|
-
'nextCursor':
|
|
657
|
+
'channel': _0x45736e[_0x2d16dd(0x305)],
|
|
658
|
+
'hasMore': _0x251a3f[_0x2d16dd(0x279)]?.[_0x2d16dd(_0x1787fb._0xcee16c)] ?? ![],
|
|
659
|
+
'messages': _0x4a7510,
|
|
660
|
+
'nextCursor': _0x251a3f[_0x2d16dd(_0x1787fb._0x1a88a0)]?.[_0x2d16dd(0x218)]
|
|
664
661
|
};
|
|
665
662
|
}
|
|
666
663
|
return {
|
|
667
|
-
async 'sendMessage'(
|
|
668
|
-
const
|
|
669
|
-
'body': JSON[
|
|
670
|
-
'attachment_ids':
|
|
671
|
-
'bodyMarkdown':
|
|
672
|
-
'channelId':
|
|
673
|
-
...
|
|
674
|
-
'threadId':
|
|
675
|
-
...
|
|
664
|
+
async 'sendMessage'(_0x158690) {
|
|
665
|
+
const _0x142a0a = _0x5ee3c8, _0x19825e = await _0x6b68b7(_0x158690['target']), _0x2b5702 = _0x158690[_0x142a0a(_0x37bb74._0x26d4e3)][_0x142a0a(_0x37bb74._0x3613ef)]('@') ? extractMentionedParticipantIds(_0x158690[_0x142a0a(_0x37bb74._0x26d4e3)], await _0x29453d()) : [], _0xead6c4 = await _0x3d3cd0(_0x142a0a(_0x37bb74._0x36f3a7) + _0x233de1[_0x142a0a(_0x37bb74._0x51eb37)] + _0x142a0a(_0x37bb74._0x4cb68a), {
|
|
666
|
+
'body': JSON[_0x142a0a(_0x37bb74._0x4836b3)]({
|
|
667
|
+
'attachment_ids': _0x158690['attachmentIds'],
|
|
668
|
+
'bodyMarkdown': _0x158690[_0x142a0a(_0x37bb74._0x26d4e3)],
|
|
669
|
+
'channelId': _0x19825e['channelId'],
|
|
670
|
+
..._0x2b5702[_0x142a0a(0x26d)] > 0x0 ? { 'mentionedParticipantIds': _0x2b5702 } : {},
|
|
671
|
+
'threadId': _0x19825e[_0x142a0a(0x2e4)],
|
|
672
|
+
..._0x158690['visibility'] ? { 'visibility': _0x158690[_0x142a0a(0x274)] } : {}
|
|
676
673
|
}),
|
|
677
|
-
'headers':
|
|
678
|
-
'method':
|
|
674
|
+
'headers': _0xd50ea8,
|
|
675
|
+
'method': 'POST'
|
|
679
676
|
});
|
|
680
|
-
return { 'messageId':
|
|
677
|
+
return { 'messageId': _0xead6c4[_0x142a0a(0x330)]?.['id'] ?? '' };
|
|
681
678
|
},
|
|
682
679
|
async 'listSchedules'() {
|
|
683
|
-
const
|
|
684
|
-
'headers':
|
|
685
|
-
'method':
|
|
680
|
+
const _0x1e3382 = _0x5ee3c8, _0x3ecade = await _0x3d3cd0(_0x1e3382(_0x45b521._0x332b1f), {
|
|
681
|
+
'headers': _0xd50ea8,
|
|
682
|
+
'method': _0x1e3382(_0x45b521._0x374e1e)
|
|
686
683
|
});
|
|
687
|
-
return
|
|
684
|
+
return _0x3ecade['data'] ?? [];
|
|
688
685
|
},
|
|
689
|
-
async 'claimScheduleRun'(
|
|
690
|
-
const
|
|
691
|
-
'body': JSON[
|
|
692
|
-
'headers':
|
|
693
|
-
'method':
|
|
686
|
+
async 'claimScheduleRun'(_0x12051c) {
|
|
687
|
+
const _0x3733f4 = _0x5ee3c8, _0x1458d6 = await _0x3d3cd0(_0x3733f4(_0x251dbd._0x108db0), {
|
|
688
|
+
'body': JSON[_0x3733f4(_0x251dbd._0x451738)](_0x12051c),
|
|
689
|
+
'headers': _0xd50ea8,
|
|
690
|
+
'method': _0x3733f4(0x318)
|
|
694
691
|
});
|
|
695
|
-
return
|
|
692
|
+
return _0x1458d6[_0x3733f4(0x330)] ?? {
|
|
696
693
|
'granted': ![],
|
|
697
694
|
'runId': null,
|
|
698
695
|
'schedule': null,
|
|
699
|
-
'scheduledFor':
|
|
696
|
+
'scheduledFor': _0x12051c[_0x3733f4(0x213)]
|
|
700
697
|
};
|
|
701
698
|
},
|
|
702
|
-
async 'startScheduleRun'(
|
|
703
|
-
const
|
|
704
|
-
'body': JSON[
|
|
705
|
-
'headers':
|
|
706
|
-
'method':
|
|
699
|
+
async 'startScheduleRun'(_0x5aba69) {
|
|
700
|
+
const _0x4bf871 = _0x5ee3c8, _0x4d1f77 = await _0x3d3cd0(_0x4bf871(0x253) + encodeURIComponent(_0x5aba69[_0x4bf871(0x220)]) + _0x4bf871(0x2a9), {
|
|
701
|
+
'body': JSON[_0x4bf871(_0x455ed7._0x498704)]({}),
|
|
702
|
+
'headers': _0xd50ea8,
|
|
703
|
+
'method': _0x4bf871(0x318)
|
|
707
704
|
});
|
|
708
|
-
return
|
|
705
|
+
return _0x4d1f77['data'] ?? {
|
|
709
706
|
'claimedByDaemonId': '',
|
|
710
|
-
'id':
|
|
707
|
+
'id': _0x5aba69[_0x4bf871(_0x455ed7._0x1dc4ea)],
|
|
711
708
|
'scheduleId': '',
|
|
712
|
-
'status':
|
|
709
|
+
'status': _0x4bf871(_0x455ed7._0x5e81e0)
|
|
713
710
|
};
|
|
714
711
|
},
|
|
715
|
-
async 'finishScheduleRun'(
|
|
716
|
-
const
|
|
717
|
-
'body': JSON[
|
|
718
|
-
'error':
|
|
719
|
-
'resultJson':
|
|
720
|
-
'status':
|
|
712
|
+
async 'finishScheduleRun'(_0x3354f2) {
|
|
713
|
+
const _0x5ff093 = _0x5ee3c8, _0x4d5df0 = await _0x3d3cd0(_0x5ff093(0x253) + encodeURIComponent(_0x3354f2[_0x5ff093(_0x48b275._0x3166a5)]) + _0x5ff093(_0x48b275._0x2fc685), {
|
|
714
|
+
'body': JSON['stringify']({
|
|
715
|
+
'error': _0x3354f2[_0x5ff093(_0x48b275._0x83b0d4)],
|
|
716
|
+
'resultJson': _0x3354f2[_0x5ff093(0x224)],
|
|
717
|
+
'status': _0x3354f2[_0x5ff093(0x2d9)]
|
|
721
718
|
}),
|
|
722
|
-
'headers':
|
|
723
|
-
'method':
|
|
719
|
+
'headers': _0xd50ea8,
|
|
720
|
+
'method': _0x5ff093(0x318)
|
|
724
721
|
});
|
|
725
|
-
return
|
|
722
|
+
return _0x4d5df0[_0x5ff093(_0x48b275._0x29245f)] ?? {
|
|
726
723
|
'nextRunAt': null,
|
|
727
724
|
'run': {
|
|
728
725
|
'claimedByDaemonId': '',
|
|
729
|
-
'id':
|
|
726
|
+
'id': _0x3354f2[_0x5ff093(_0x48b275._0x3166a5)],
|
|
730
727
|
'scheduleId': '',
|
|
731
|
-
'status':
|
|
728
|
+
'status': _0x3354f2[_0x5ff093(0x2d9)]
|
|
732
729
|
}
|
|
733
730
|
};
|
|
734
731
|
},
|
|
735
|
-
async 'listTasks'(
|
|
736
|
-
const
|
|
737
|
-
return
|
|
738
|
-
'headers':
|
|
739
|
-
'method':
|
|
732
|
+
async 'listTasks'(_0x19c688) {
|
|
733
|
+
const _0x465ecd = _0x5ee3c8, _0x472f60 = new URLSearchParams();
|
|
734
|
+
return _0x472f60[_0x465ecd(_0x3cc742._0x23c770)]('channel', _0x19c688['channel']), _0x19c688[_0x465ecd(0x2d9)] && _0x472f60['set']('status', _0x19c688['status']), _0x23135e(_0x465ecd(_0x3cc742._0x124874) + _0x233de1[_0x465ecd(0x2f4)] + _0x465ecd(_0x3cc742._0x590fa1) + _0x472f60[_0x465ecd(0x2b8)](), {
|
|
735
|
+
'headers': _0xd50ea8,
|
|
736
|
+
'method': _0x465ecd(_0x3cc742._0x2009a2)
|
|
740
737
|
});
|
|
741
738
|
},
|
|
742
|
-
async 'createTasks'(
|
|
743
|
-
const
|
|
744
|
-
return
|
|
745
|
-
'body': JSON[
|
|
746
|
-
...
|
|
747
|
-
'idempotency_key':
|
|
739
|
+
async 'createTasks'(_0x4e342b) {
|
|
740
|
+
const _0x489391 = _0x5ee3c8;
|
|
741
|
+
return _0x23135e(_0x489391(0x1f3) + _0x233de1[_0x489391(_0x468cc2._0x2e5b38)] + '/tasks', {
|
|
742
|
+
'body': JSON['stringify']({
|
|
743
|
+
..._0x4e342b,
|
|
744
|
+
'idempotency_key': _0x58cf97(_0x489391(_0x468cc2._0x1a4c73), _0x4e342b)
|
|
748
745
|
}),
|
|
749
|
-
'headers':
|
|
750
|
-
'method':
|
|
746
|
+
'headers': _0xd50ea8,
|
|
747
|
+
'method': _0x489391(_0x468cc2._0x51600a)
|
|
751
748
|
});
|
|
752
749
|
},
|
|
753
|
-
async 'claimTasks'(
|
|
754
|
-
const
|
|
755
|
-
return
|
|
756
|
-
'body': JSON[
|
|
757
|
-
...
|
|
758
|
-
'idempotency_key':
|
|
750
|
+
async 'claimTasks'(_0x407e64) {
|
|
751
|
+
const _0x101929 = _0x5ee3c8;
|
|
752
|
+
return _0x23135e(_0x101929(_0x32a97c._0x21e22e) + _0x233de1[_0x101929(_0x32a97c._0x4740ea)] + _0x101929(_0x32a97c._0x59b01a), {
|
|
753
|
+
'body': JSON[_0x101929(_0x32a97c._0x310374)]({
|
|
754
|
+
..._0x407e64,
|
|
755
|
+
'idempotency_key': _0x58cf97(_0x101929(0x307), _0x407e64)
|
|
759
756
|
}),
|
|
760
|
-
'headers':
|
|
761
|
-
'method':
|
|
757
|
+
'headers': _0xd50ea8,
|
|
758
|
+
'method': _0x101929(0x318)
|
|
762
759
|
});
|
|
763
760
|
},
|
|
764
|
-
async 'unclaimTask'(
|
|
765
|
-
const
|
|
766
|
-
return
|
|
767
|
-
'body': JSON[
|
|
768
|
-
...
|
|
769
|
-
'idempotency_key':
|
|
761
|
+
async 'unclaimTask'(_0x341063) {
|
|
762
|
+
const _0x2ea29f = _0x5ee3c8;
|
|
763
|
+
return _0x23135e(_0x2ea29f(0x1f3) + _0x233de1[_0x2ea29f(_0x472810._0x361ae4)] + '/tasks/unclaim', {
|
|
764
|
+
'body': JSON['stringify']({
|
|
765
|
+
..._0x341063,
|
|
766
|
+
'idempotency_key': _0x58cf97(_0x2ea29f(0x20a), _0x341063)
|
|
770
767
|
}),
|
|
771
|
-
'headers':
|
|
772
|
-
'method':
|
|
768
|
+
'headers': _0xd50ea8,
|
|
769
|
+
'method': _0x2ea29f(0x318)
|
|
773
770
|
});
|
|
774
771
|
},
|
|
775
|
-
async 'updateTaskStatus'(
|
|
776
|
-
const
|
|
777
|
-
return
|
|
778
|
-
'body': JSON[
|
|
779
|
-
...
|
|
780
|
-
'idempotency_key':
|
|
772
|
+
async 'updateTaskStatus'(_0x48b396) {
|
|
773
|
+
const _0x442393 = _0x5ee3c8;
|
|
774
|
+
return _0x23135e(_0x442393(_0x372d68._0x11f041) + _0x233de1[_0x442393(0x2f4)] + '/tasks/update-status', {
|
|
775
|
+
'body': JSON[_0x442393(0x219)]({
|
|
776
|
+
..._0x48b396,
|
|
777
|
+
'idempotency_key': _0x58cf97('update_task_status', _0x48b396)
|
|
781
778
|
}),
|
|
782
|
-
'headers':
|
|
783
|
-
'method':
|
|
779
|
+
'headers': _0xd50ea8,
|
|
780
|
+
'method': _0x442393(_0x372d68._0x5756ef)
|
|
784
781
|
});
|
|
785
782
|
},
|
|
786
|
-
async 'uploadFile'(
|
|
787
|
-
const
|
|
788
|
-
if (
|
|
789
|
-
throw new Error(
|
|
790
|
-
const
|
|
791
|
-
'body': JSON[
|
|
792
|
-
'channel':
|
|
793
|
-
'contentBase64':
|
|
794
|
-
'contentType':
|
|
795
|
-
'originalFilename':
|
|
783
|
+
async 'uploadFile'(_0x424ee0) {
|
|
784
|
+
const _0xdfdd9 = _0x5ee3c8, _0x932395 = await _0x6b68b7(_0x424ee0['channel']);
|
|
785
|
+
if (_0x932395[_0xdfdd9(0x2e4)])
|
|
786
|
+
throw new Error(_0xdfdd9(_0x260718._0x4f9c84));
|
|
787
|
+
const _0x5d24eb = await _0x3d3cd0(_0xdfdd9(0x1f3) + _0x233de1[_0xdfdd9(_0x260718._0x5b6f88)] + _0xdfdd9(0x2f3), {
|
|
788
|
+
'body': JSON[_0xdfdd9(_0x260718._0x35ae65)]({
|
|
789
|
+
'channel': _0x932395[_0xdfdd9(0x221)],
|
|
790
|
+
'contentBase64': _0x424ee0[_0xdfdd9(_0x260718._0x366190)],
|
|
791
|
+
'contentType': _0x424ee0['contentType'],
|
|
792
|
+
'originalFilename': _0x424ee0[_0xdfdd9(0x2be)]
|
|
796
793
|
}),
|
|
797
|
-
'headers':
|
|
798
|
-
'method':
|
|
794
|
+
'headers': _0xd50ea8,
|
|
795
|
+
'method': 'POST'
|
|
799
796
|
});
|
|
800
797
|
return {
|
|
801
|
-
'attachmentId':
|
|
802
|
-
'filename':
|
|
803
|
-
'sizeBytes':
|
|
798
|
+
'attachmentId': _0x5d24eb['data']?.['id'] ?? '',
|
|
799
|
+
'filename': _0x5d24eb['data']?.[_0xdfdd9(0x30f)] ?? _0x424ee0[_0xdfdd9(0x2be)],
|
|
800
|
+
'sizeBytes': _0x5d24eb[_0xdfdd9(0x330)]?.[_0xdfdd9(0x20d)] ?? 0x0
|
|
804
801
|
};
|
|
805
802
|
},
|
|
806
|
-
async 'downloadAttachment'(
|
|
807
|
-
const
|
|
808
|
-
'headers':
|
|
809
|
-
'method':
|
|
810
|
-
}),
|
|
803
|
+
async 'downloadAttachment'(_0x56d12b) {
|
|
804
|
+
const _0x2d8b40 = _0x5ee3c8, _0x3a7a81 = await _0x3d3cd0('/api/attachments/' + _0x56d12b, {
|
|
805
|
+
'headers': _0xd50ea8,
|
|
806
|
+
'method': _0x2d8b40(0x201)
|
|
807
|
+
}), _0x48ec57 = new AbortController(), _0x240a62 = setTimeout(() => _0x48ec57[_0x2d8b40(0x1ef)](), _0x3ed37d);
|
|
811
808
|
try {
|
|
812
|
-
const
|
|
813
|
-
'headers':
|
|
814
|
-
'method':
|
|
815
|
-
'signal':
|
|
809
|
+
const _0x471962 = await _0x2f5464(_0x22e36d + _0x2d8b40(0x1d3) + _0x56d12b + _0x2d8b40(_0x4d6eca._0x30b4a5), {
|
|
810
|
+
'headers': _0xd50ea8,
|
|
811
|
+
'method': _0x2d8b40(_0x4d6eca._0x856600),
|
|
812
|
+
'signal': _0x48ec57[_0x2d8b40(_0x4d6eca._0x100e6a)]
|
|
816
813
|
});
|
|
817
|
-
if (!
|
|
818
|
-
throw new Error(
|
|
814
|
+
if (!_0x471962['ok'])
|
|
815
|
+
throw new Error(_0x2d8b40(0x300) + _0x471962[_0x2d8b40(0x2d9)]);
|
|
819
816
|
return {
|
|
820
|
-
'contentType':
|
|
821
|
-
'data': Buffer[
|
|
822
|
-
'originalFilename':
|
|
817
|
+
'contentType': _0x3a7a81[_0x2d8b40(0x330)]?.[_0x2d8b40(0x33e)] ?? _0x471962[_0x2d8b40(_0x4d6eca._0x3aa6fb)]['get'](_0x2d8b40(0x210)) ?? _0x2d8b40(0x25d),
|
|
818
|
+
'data': Buffer[_0x2d8b40(0x333)](await _0x471962[_0x2d8b40(0x301)]()),
|
|
819
|
+
'originalFilename': _0x3a7a81[_0x2d8b40(0x330)]?.[_0x2d8b40(_0x4d6eca._0x4ff6be)]
|
|
823
820
|
};
|
|
824
821
|
} finally {
|
|
825
|
-
clearTimeout(
|
|
822
|
+
clearTimeout(_0x240a62);
|
|
826
823
|
}
|
|
827
824
|
},
|
|
828
825
|
async 'listServer'() {
|
|
829
|
-
return
|
|
826
|
+
return _0x29453d({ 'forceRefresh': !![] });
|
|
830
827
|
},
|
|
831
|
-
async 'readHistory'(
|
|
832
|
-
const
|
|
833
|
-
return
|
|
834
|
-
'after':
|
|
835
|
-
'before':
|
|
836
|
-
'channelId':
|
|
837
|
-
'channelTarget':
|
|
838
|
-
'limit':
|
|
839
|
-
'threadId':
|
|
828
|
+
async 'readHistory'(_0x3a83c0) {
|
|
829
|
+
const _0x366145 = _0x5ee3c8, _0x5ef094 = await _0x6b68b7(_0x3a83c0[_0x366145(0x280)]);
|
|
830
|
+
return _0x371b6c({
|
|
831
|
+
'after': _0x3a83c0[_0x366145(_0x111287._0x2df2eb)],
|
|
832
|
+
'before': _0x3a83c0[_0x366145(0x282)],
|
|
833
|
+
'channelId': _0x5ef094[_0x366145(_0x111287._0xfec1f)],
|
|
834
|
+
'channelTarget': _0x5ef094[_0x366145(0x221)],
|
|
835
|
+
'limit': _0x3a83c0[_0x366145(0x315)],
|
|
836
|
+
'threadId': _0x5ef094[_0x366145(_0x111287._0x54d632)]
|
|
840
837
|
});
|
|
841
838
|
},
|
|
842
|
-
'resolveTarget':
|
|
839
|
+
'resolveTarget': _0x6b68b7,
|
|
843
840
|
async 'checkMessages'() {
|
|
844
|
-
const
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
},
|
|
848
|
-
|
|
849
|
-
const
|
|
850
|
-
'headers':
|
|
851
|
-
'method':
|
|
852
|
-
}),
|
|
853
|
-
let
|
|
854
|
-
|
|
855
|
-
|
|
841
|
+
const _0xad5fda = {
|
|
842
|
+
_0x59267e: 0x2bf,
|
|
843
|
+
_0x5a1e16: 0x2e8
|
|
844
|
+
}, _0x5e8374 = _0x5ee3c8, _0x5bb533 = new URLSearchParams();
|
|
845
|
+
_0x5bb533[_0x5e8374(0x214)]('afterSeq', String(_0x3ce3dd));
|
|
846
|
+
const _0x1edcd1 = _0x5bb533[_0x5e8374(0x2b8)](), _0x47826f = await _0x3d3cd0(_0x5e8374(_0x30db93._0x1ac232) + _0x233de1[_0x5e8374(0x2f4)] + _0x5e8374(_0x30db93._0x19a1b5) + (_0x1edcd1 ? '?' + _0x1edcd1 : ''), {
|
|
847
|
+
'headers': _0xd50ea8,
|
|
848
|
+
'method': _0x5e8374(0x201)
|
|
849
|
+
}), _0x3c9b51 = _0x47826f[_0x5e8374(_0x30db93._0x41a40c)] ?? [], _0x1e83f7 = _0x47826f['meta']?.['cursor'], _0x5582c0 = _0x1e83f7 !== void 0x0 ? Math['max'](_0x3ce3dd, _0x1e83f7) : _0x3c9b51[_0x5e8374(_0x30db93._0x9d4bc6)] > 0x0 ? Math[_0x5e8374(_0x30db93._0x5e3e41)](_0x3ce3dd, _0x3c9b51[_0x3c9b51[_0x5e8374(0x26d)] - 0x1][_0x5e8374(0x1de)]) : _0x3ce3dd, _0x4b2b55 = _0x3c9b51[_0x5e8374(0x275)](_0x48d6f6 => _0x48d6f6[_0x5e8374(0x29f)] === _0x5e8374(0x31e)), _0x3f1d62 = _0x5896bf === void 0x0 && _0x2ba051;
|
|
850
|
+
let _0x2fc012 = await _0x29453d(), _0x4d92a1 = new Map(_0x2fc012[_0x5e8374(_0x30db93._0x884952)][_0x5e8374(_0x30db93._0x17c21b)](_0x452cb9 => [
|
|
851
|
+
_0x452cb9['id'],
|
|
852
|
+
_0x452cb9
|
|
856
853
|
]));
|
|
857
|
-
const
|
|
858
|
-
const
|
|
859
|
-
return Boolean(
|
|
854
|
+
const _0x4960f9 = _0x4b2b55['some'](_0x87a60c => {
|
|
855
|
+
const _0x3c723c = _0x5e8374, _0x544d7e = asRecord(_0x87a60c[_0x3c723c(0x299)]), _0x521d83 = typeof _0x544d7e?.[_0x3c723c(_0xad5fda._0x59267e)] === _0x3c723c(_0xad5fda._0x5a1e16) ? _0x544d7e[_0x3c723c(0x2bf)] : '';
|
|
856
|
+
return Boolean(_0x521d83) && !_0x4d92a1['has'](_0x521d83);
|
|
860
857
|
});
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
858
|
+
_0x4960f9 && (_0x2fc012 = await _0x29453d({ 'forceRefresh': !![] }), _0x4d92a1 = new Map(_0x2fc012[_0x5e8374(0x328)][_0x5e8374(_0x30db93._0x3e3e96)](_0x4a2e85 => [
|
|
859
|
+
_0x4a2e85['id'],
|
|
860
|
+
_0x4a2e85
|
|
864
861
|
])));
|
|
865
|
-
const
|
|
866
|
-
for (const
|
|
867
|
-
const
|
|
868
|
-
if (!
|
|
862
|
+
const _0x290990 = new Map();
|
|
863
|
+
for (const _0xee4050 of _0x4b2b55) {
|
|
864
|
+
const _0x358139 = asRecord(_0xee4050['payloadJson']), _0x2646a8 = typeof _0x358139[_0x5e8374(0x2bf)] === 'string' ? _0x358139[_0x5e8374(0x2bf)] : '';
|
|
865
|
+
if (!_0x2646a8)
|
|
869
866
|
continue;
|
|
870
|
-
const
|
|
867
|
+
const _0x8998cf = typeof _0x358139[_0x5e8374(_0x30db93._0xab92f7)] === 'string' ? _0x358139[_0x5e8374(0x2e4)] : void 0x0, _0x3a28b6 = typeof _0x358139[_0x5e8374(0x319)] === _0x5e8374(_0x30db93._0x3b5101) ? _0x358139[_0x5e8374(0x319)] : void 0x0, _0x34356d = typeof _0x358139[_0x5e8374(_0x30db93._0x5a5e38)] === _0x5e8374(0x267) && Number['isInteger'](_0x358139[_0x5e8374(_0x30db93._0x53f51b)]) ? _0x358139[_0x5e8374(_0x30db93._0x4e827c)] : void 0x0, _0x9e629a = Boolean(_0x8998cf && (!_0x3a28b6 || _0xee4050[_0x5e8374(_0x30db93._0x4bed12)] !== _0x3a28b6)), _0x6563cc = _0x9e629a ? _0x2646a8 + ':' + _0x8998cf : _0x2646a8, _0x2a8469 = _0x290990[_0x5e8374(0x2e7)](_0x6563cc) ?? {
|
|
871
868
|
'aggregateIds': [],
|
|
872
|
-
'channelId':
|
|
869
|
+
'channelId': _0x2646a8,
|
|
873
870
|
'entries': new Map(),
|
|
874
|
-
'isThreadReply':
|
|
875
|
-
'rootMessageId':
|
|
876
|
-
'threadNumber':
|
|
877
|
-
'threadId':
|
|
871
|
+
'isThreadReply': _0x9e629a,
|
|
872
|
+
'rootMessageId': _0x3a28b6,
|
|
873
|
+
'threadNumber': _0x34356d,
|
|
874
|
+
'threadId': _0x9e629a ? _0x8998cf : void 0x0
|
|
878
875
|
};
|
|
879
|
-
|
|
880
|
-
'payloadJson':
|
|
881
|
-
'seq':
|
|
882
|
-
}),
|
|
876
|
+
_0x2a8469[_0x5e8374(0x2b6)] == null && _0x34356d != null && (_0x2a8469[_0x5e8374(_0x30db93._0x4e827c)] = _0x34356d), !_0x2a8469[_0x5e8374(_0x30db93._0x4c10de)] && _0x3a28b6 && (_0x2a8469[_0x5e8374(0x319)] = _0x3a28b6), _0x2a8469['aggregateIds'][_0x5e8374(_0x30db93._0x3cdf48)](_0xee4050[_0x5e8374(_0x30db93._0x4bed12)]), _0x2a8469[_0x5e8374(_0x30db93._0x586bbe)][_0x5e8374(0x214)](_0xee4050[_0x5e8374(0x2f9)], {
|
|
877
|
+
'payloadJson': _0xee4050[_0x5e8374(_0x30db93._0xcd4d93)],
|
|
878
|
+
'seq': _0xee4050[_0x5e8374(0x1de)]
|
|
879
|
+
}), _0x290990[_0x5e8374(0x214)](_0x6563cc, _0x2a8469);
|
|
883
880
|
}
|
|
884
|
-
const
|
|
885
|
-
for (const
|
|
881
|
+
const _0x575a40 = [];
|
|
882
|
+
for (const _0x2d7f60 of _0x290990[_0x5e8374(0x30b)]()) {
|
|
886
883
|
const {
|
|
887
|
-
channelId:
|
|
888
|
-
threadId:
|
|
889
|
-
rootMessageId:
|
|
890
|
-
threadNumber:
|
|
891
|
-
aggregateIds:
|
|
892
|
-
isThreadReply:
|
|
893
|
-
entries:
|
|
894
|
-
} =
|
|
895
|
-
'channelTarget':
|
|
896
|
-
'rootMessageId':
|
|
897
|
-
'threadId':
|
|
898
|
-
'threadNumber':
|
|
899
|
-
},
|
|
900
|
-
'channelId':
|
|
901
|
-
'channelTarget':
|
|
902
|
-
'limit': Math[
|
|
903
|
-
'threadId':
|
|
904
|
-
}),
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
])),
|
|
908
|
-
for (const
|
|
909
|
-
if (!
|
|
884
|
+
channelId: _0x4bdccd,
|
|
885
|
+
threadId: _0x3c7c6c,
|
|
886
|
+
rootMessageId: _0x1018c6,
|
|
887
|
+
threadNumber: _0x1348f9,
|
|
888
|
+
aggregateIds: _0x3008f0,
|
|
889
|
+
isThreadReply: _0x546ece,
|
|
890
|
+
entries: _0xd72c2b
|
|
891
|
+
} = _0x2d7f60, _0x4799ff = _0x4d92a1['get'](_0x4bdccd), _0x5cf496 = _0x4799ff?.[_0x5e8374(0x341)] ?? _0x4bdccd, _0x5290a5 = _0x4799ff?.[_0x5e8374(0x25a)] === 'dm' ? _0x5e8374(_0x30db93._0x1df182) + _0x5cf496 : '#' + _0x5cf496, _0x559e2e = {
|
|
892
|
+
'channelTarget': _0x5290a5,
|
|
893
|
+
'rootMessageId': _0x1018c6,
|
|
894
|
+
'threadId': _0x3c7c6c,
|
|
895
|
+
'threadNumber': _0x1348f9
|
|
896
|
+
}, _0x59ad56 = await _0x371b6c({
|
|
897
|
+
'channelId': _0x4bdccd,
|
|
898
|
+
'channelTarget': _0x5290a5,
|
|
899
|
+
'limit': Math['max'](_0x3008f0[_0x5e8374(0x26d)], 0x32),
|
|
900
|
+
'threadId': _0x3c7c6c
|
|
901
|
+
}), _0x5d9e6d = new Map(_0x59ad56['messages'][_0x5e8374(0x34b)](_0xba37fc => [
|
|
902
|
+
_0xba37fc[_0x5e8374(0x26b)],
|
|
903
|
+
_0xba37fc
|
|
904
|
+
])), _0x19ee2a = _0x3c7c6c ? _0x40db51(_0x559e2e) : _0x5290a5, _0x30b60a = _0x5896bf ? _0x546ece && _0x211c09(_0x5896bf, _0x559e2e) : !![], _0x557f18 = _0x546ece ? _0x30b60a && _0x5896bf ? _0x5896bf : _0x19ee2a : _0x5290a5;
|
|
905
|
+
for (const _0x5ddf7a of _0x3008f0) {
|
|
906
|
+
if (!_0x30b60a)
|
|
910
907
|
continue;
|
|
911
|
-
const
|
|
912
|
-
if (
|
|
908
|
+
const _0x9cb9f4 = _0xd72c2b[_0x5e8374(_0x30db93._0x4d9f6a)](_0x5ddf7a), _0x141280 = _0x9cb9f4 ? asRecord(_0x9cb9f4[_0x5e8374(_0x30db93._0xcd4d93)]) : void 0x0, _0x4f43cc = _0x141280?.[_0x5e8374(0x2c0)] === _0x5e8374(_0x30db93._0x327545);
|
|
909
|
+
if (_0x3f1d62 && _0x4f43cc)
|
|
913
910
|
continue;
|
|
914
|
-
const
|
|
915
|
-
if (
|
|
916
|
-
|
|
917
|
-
'attachments':
|
|
918
|
-
'content':
|
|
919
|
-
'createdAt':
|
|
920
|
-
...
|
|
921
|
-
'messageId':
|
|
922
|
-
'senderName':
|
|
923
|
-
'senderType':
|
|
924
|
-
'target':
|
|
925
|
-
...
|
|
911
|
+
const _0xbe6c2a = _0x5d9e6d[_0x5e8374(_0x30db93._0x5cae3d)](_0x5ddf7a);
|
|
912
|
+
if (_0xbe6c2a) {
|
|
913
|
+
_0x575a40[_0x5e8374(0x2eb)]({
|
|
914
|
+
'attachments': _0xbe6c2a[_0x5e8374(0x334)],
|
|
915
|
+
'content': _0xbe6c2a[_0x5e8374(_0x30db93._0x536634)],
|
|
916
|
+
'createdAt': _0xbe6c2a[_0x5e8374(_0x30db93._0x3c1dd3)],
|
|
917
|
+
..._0xbe6c2a[_0x5e8374(0x25a)] ? { 'kind': _0xbe6c2a[_0x5e8374(_0x30db93._0x5d3b52)] } : {},
|
|
918
|
+
'messageId': _0xbe6c2a[_0x5e8374(0x26b)],
|
|
919
|
+
'senderName': _0xbe6c2a['senderName'],
|
|
920
|
+
'senderType': _0xbe6c2a[_0x5e8374(_0x30db93._0x25ba8c)],
|
|
921
|
+
'target': _0x557f18,
|
|
922
|
+
..._0x4f43cc ? { 'targetedTask': !![] } : {}
|
|
926
923
|
});
|
|
927
924
|
continue;
|
|
928
925
|
}
|
|
929
|
-
if (
|
|
930
|
-
const
|
|
931
|
-
|
|
926
|
+
if (_0x9cb9f4) {
|
|
927
|
+
const _0x386830 = typeof _0x141280?.[_0x5e8374(0x2d7)] === _0x5e8374(0x2e8) ? _0x141280[_0x5e8374(0x2d7)] : '', _0x577cf8 = typeof _0x141280?.['bodyMarkdown'] === _0x5e8374(0x2e8) ? _0x141280[_0x5e8374(_0x30db93._0x54eec3)] : '', _0x490014 = typeof _0x141280?.[_0x5e8374(_0x30db93._0x5d3b52)] === 'string' && _0x141280['kind'] !== _0x5e8374(_0x30db93._0x3a7a61) ? _0x141280[_0x5e8374(_0x30db93._0x2cafed)] : void 0x0;
|
|
928
|
+
_0x386830 && _0x577cf8 && _0x575a40['push']({
|
|
932
929
|
'attachments': [],
|
|
933
|
-
'content':
|
|
934
|
-
'createdAt': new Date()[
|
|
935
|
-
...
|
|
936
|
-
'messageId':
|
|
937
|
-
'senderName':
|
|
938
|
-
'senderType':
|
|
939
|
-
'target':
|
|
940
|
-
...
|
|
930
|
+
'content': _0x577cf8,
|
|
931
|
+
'createdAt': new Date()[_0x5e8374(_0x30db93._0x2b212d)](),
|
|
932
|
+
..._0x490014 ? { 'kind': _0x490014 } : {},
|
|
933
|
+
'messageId': _0x5ddf7a,
|
|
934
|
+
'senderName': _0x386830,
|
|
935
|
+
'senderType': _0x435787(_0x386830, _0x2fc012),
|
|
936
|
+
'target': _0x557f18,
|
|
937
|
+
..._0x4f43cc ? { 'targetedTask': !![] } : {}
|
|
941
938
|
});
|
|
942
939
|
}
|
|
943
940
|
}
|
|
944
941
|
}
|
|
945
|
-
if (
|
|
946
|
-
if (
|
|
947
|
-
await
|
|
942
|
+
if (_0x5582c0 > 0x0) {
|
|
943
|
+
if (_0x11910a)
|
|
944
|
+
await _0x372f93(_0x5582c0);
|
|
948
945
|
else
|
|
949
|
-
|
|
946
|
+
_0x1797c3 && await _0x145239(_0x5582c0);
|
|
950
947
|
}
|
|
951
|
-
return
|
|
948
|
+
return _0x5582c0 > _0x3ce3dd && (_0x3ce3dd = _0x5582c0), { 'messages': _0x5896bf ? _0x575a40 : _0x3f1d62 ? _0x575a40['filter'](_0x18aefd => _0x18aefd[_0x5e8374(0x2d6)] !== !![]) : _0x575a40 };
|
|
952
949
|
}
|
|
953
950
|
};
|
|
954
951
|
}
|
|
955
|
-
function toLocalTime(
|
|
956
|
-
const
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
return _0x2af2d0;
|
|
965
|
-
const _0x23e87c = _0x4d9684 => String(_0x4d9684)[_0x1d4541(0x11f)](0x2, '0');
|
|
966
|
-
return _0x476d8d[_0x1d4541(0x192)]() + '-' + _0x23e87c(_0x476d8d[_0x1d4541(_0x411db1._0x3186e8)]() + 0x1) + '-' + _0x23e87c(_0x476d8d[_0x1d4541(_0x411db1._0x163d12)]()) + '\x20' + _0x23e87c(_0x476d8d[_0x1d4541(_0x411db1._0x51b42a)]()) + ':' + _0x23e87c(_0x476d8d[_0x1d4541(_0x411db1._0xdbac02)]()) + ':' + _0x23e87c(_0x476d8d['getSeconds']());
|
|
952
|
+
function toLocalTime(_0xebeb41) {
|
|
953
|
+
const _0x5b7fc6 = {
|
|
954
|
+
_0xc986c0: 0x238,
|
|
955
|
+
_0x2ac8df: 0x2d8
|
|
956
|
+
}, _0x2b920b = _0x855546, _0x574715 = new Date(_0xebeb41);
|
|
957
|
+
if (Number[_0x2b920b(_0x5b7fc6._0xc986c0)](_0x574715['getTime']()))
|
|
958
|
+
return _0xebeb41;
|
|
959
|
+
const _0xe352d5 = _0x141657 => String(_0x141657)[_0x2b920b(0x203)](0x2, '0');
|
|
960
|
+
return _0x574715['getFullYear']() + '-' + _0xe352d5(_0x574715[_0x2b920b(0x2af)]() + 0x1) + '-' + _0xe352d5(_0x574715[_0x2b920b(0x25f)]()) + '\x20' + _0xe352d5(_0x574715[_0x2b920b(0x26c)]()) + ':' + _0xe352d5(_0x574715[_0x2b920b(_0x5b7fc6._0x2ac8df)]()) + ':' + _0xe352d5(_0x574715[_0x2b920b(0x2ca)]());
|
|
967
961
|
}
|
|
968
|
-
function formatAttachmentSuffix(
|
|
969
|
-
const
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
962
|
+
function formatAttachmentSuffix(_0x8fef16) {
|
|
963
|
+
const _0x4ccf71 = {
|
|
964
|
+
_0x1a59c2: 0x26d,
|
|
965
|
+
_0x4d441e: 0x296,
|
|
966
|
+
_0x28fac8: 0x26d,
|
|
967
|
+
_0x5a26c2: 0x211
|
|
968
|
+
}, _0x5eebf9 = _0x855546;
|
|
969
|
+
if (!_0x8fef16 || _0x8fef16[_0x5eebf9(_0x4ccf71._0x1a59c2)] === 0x0)
|
|
974
970
|
return '';
|
|
975
|
-
return '\x20[' +
|
|
971
|
+
return '\x20[' + _0x8fef16['length'] + _0x5eebf9(_0x4ccf71._0x4d441e) + (_0x8fef16[_0x5eebf9(_0x4ccf71._0x28fac8)] > 0x1 ? 's' : '') + ':\x20' + _0x8fef16['map'](_0x18a687 => _0x18a687[_0x5eebf9(0x2be)] + _0x5eebf9(0x2e2) + _0x18a687['id'] + ')')[_0x5eebf9(_0x4ccf71._0x5a26c2)](',\x20') + _0x5eebf9(0x278);
|
|
976
972
|
}
|
|
977
|
-
function formatCheckMessages(
|
|
978
|
-
const
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
},
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
_0x546f18: 0x18f,
|
|
988
|
-
_0x3da806: 0x223
|
|
989
|
-
}, _0x283738 = _0x2cd54a;
|
|
990
|
-
if (_0x4a0f67[_0x283738(_0x2ff904._0x38d3b6)] === 0x0)
|
|
991
|
-
return 'No\x20new\x20messages.';
|
|
992
|
-
return _0x4a0f67[_0x283738(_0x2ff904._0x5b8b02)](_0x159e4e => {
|
|
993
|
-
const _0x551149 = _0x283738, _0x260581 = _0x159e4e[_0x551149(_0xfd8001._0x13a900)] === _0x551149(_0xfd8001._0x382dd9) ? '\x20type=agent' : '', _0x1b18c6 = _0x159e4e['kind'] && _0x159e4e[_0x551149(0x1b3)] !== 'chat' ? _0x551149(0x143) + _0x159e4e['kind'] : '';
|
|
994
|
-
return _0x551149(_0xfd8001._0x42e74a) + _0x159e4e[_0x551149(0x1ca)] + '\x20msg=' + _0x159e4e[_0x551149(0x185)][_0x551149(_0xfd8001._0x597a14)](0x0, 0x8) + _0x551149(0x138) + toLocalTime(_0x159e4e['createdAt']) + _0x260581 + _0x1b18c6 + _0x551149(_0xfd8001._0x26c434) + _0x159e4e[_0x551149(_0xfd8001._0x546f18)] + ':\x20' + _0x159e4e[_0x551149(_0xfd8001._0x3da806)] + formatAttachmentSuffix(_0x159e4e[_0x551149(0x246)]);
|
|
973
|
+
function formatCheckMessages(_0x1e29a2) {
|
|
974
|
+
const _0xa51469 = { _0x2c1ac4: 0x254 }, _0x260f35 = {
|
|
975
|
+
_0x366d41: 0x21d,
|
|
976
|
+
_0x1c274f: 0x2b0
|
|
977
|
+
}, _0x5107a7 = _0x855546;
|
|
978
|
+
if (_0x1e29a2['length'] === 0x0)
|
|
979
|
+
return _0x5107a7(_0xa51469._0x2c1ac4);
|
|
980
|
+
return _0x1e29a2[_0x5107a7(0x34b)](_0x22323d => {
|
|
981
|
+
const _0x1c0f2c = _0x5107a7, _0x397fcd = _0x22323d[_0x1c0f2c(_0x260f35._0x366d41)] === _0x1c0f2c(0x2ba) ? _0x1c0f2c(0x342) : '', _0x40a4ea = _0x22323d[_0x1c0f2c(0x25a)] && _0x22323d[_0x1c0f2c(0x25a)] !== _0x1c0f2c(0x27b) ? _0x1c0f2c(_0x260f35._0x1c274f) + _0x22323d['kind'] : '';
|
|
982
|
+
return '[target=' + _0x22323d[_0x1c0f2c(0x221)] + _0x1c0f2c(0x250) + _0x22323d[_0x1c0f2c(0x26b)][_0x1c0f2c(0x286)](0x0, 0x8) + _0x1c0f2c(0x340) + toLocalTime(_0x22323d[_0x1c0f2c(0x284)]) + _0x397fcd + _0x40a4ea + ']\x20@' + _0x22323d['senderName'] + ':\x20' + _0x22323d['content'] + formatAttachmentSuffix(_0x22323d[_0x1c0f2c(0x334)]);
|
|
995
983
|
})['join']('\x0a');
|
|
996
984
|
}
|
|
997
|
-
function formatHistory(
|
|
998
|
-
const
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
const _0xffad37 = _0x174264, _0x2dada1 = _0xe4640a[_0xffad37(0x221)] === _0xffad37(_0x47ad0b._0x5a4bf8) ? _0xffad37(0x18e) : '', _0x89e995 = _0xe4640a[_0xffad37(0x1b3)] && _0xe4640a['kind'] !== _0xffad37(_0x47ad0b._0x28164c) ? _0xffad37(_0x47ad0b._0x52e028) + _0xe4640a[_0xffad37(_0x47ad0b._0x5ed075)] : '';
|
|
1023
|
-
return _0xffad37(_0x47ad0b._0x5db90f) + _0xe4640a[_0xffad37(_0x47ad0b._0x28c360)] + _0xffad37(_0x47ad0b._0x2a9572) + _0xe4640a['messageId'] + _0xffad37(_0x47ad0b._0x5ae69d) + toLocalTime(_0xe4640a[_0xffad37(0x200)]) + _0x2dada1 + _0x89e995 + ']\x20@' + _0xe4640a[_0xffad37(_0x47ad0b._0x19033c)] + ':\x20' + _0xe4640a[_0xffad37(0x223)] + formatAttachmentSuffix(_0xe4640a[_0xffad37(_0x47ad0b._0x15c768)]);
|
|
1024
|
-
})[_0x174264(_0x4f79ca._0xb11a2)]('\x0a'), _0x4aac9a = _0x1339d7[_0x174264(_0x4f79ca._0x1d7dbc)] && _0x1339d7[_0x174264(_0x4f79ca._0x4d74e4)] ? _0x174264(_0x4f79ca._0x2079e9) + _0x1339d7[_0x174264(_0x4f79ca._0x19934e)]['length'] + _0x174264(0x231) + _0x1339d7[_0x174264(0x278)] + _0x174264(0x1d4) : '';
|
|
1025
|
-
return '##\x20Message\x20History\x20for\x20' + _0x1339d7[_0x174264(0x16c)] + '\x20(' + _0x1339d7[_0x174264(_0x4f79ca._0x19934e)][_0x174264(_0x4f79ca._0x50fd14)] + _0x174264(0x22d) + _0x191687 + _0x4aac9a;
|
|
985
|
+
function formatHistory(_0x90f164) {
|
|
986
|
+
const _0xd7bc35 = {
|
|
987
|
+
_0x393374: 0x2cd,
|
|
988
|
+
_0x27e164: 0x263,
|
|
989
|
+
_0x3f4d00: 0x280,
|
|
990
|
+
_0x5ef54f: 0x248,
|
|
991
|
+
_0x4f2c19: 0x34b,
|
|
992
|
+
_0x49d7fd: 0x309,
|
|
993
|
+
_0x17a39b: 0x2cd
|
|
994
|
+
}, _0x46ffd6 = {
|
|
995
|
+
_0x4826ba: 0x25a,
|
|
996
|
+
_0x5644e0: 0x27b,
|
|
997
|
+
_0x177323: 0x1de,
|
|
998
|
+
_0x2adab2: 0x340,
|
|
999
|
+
_0x4d1903: 0x284,
|
|
1000
|
+
_0x3e7cf3: 0x303,
|
|
1001
|
+
_0x2c78db: 0x1f7
|
|
1002
|
+
}, _0x4212ee = _0x855546;
|
|
1003
|
+
if (_0x90f164[_0x4212ee(_0xd7bc35._0x393374)][_0x4212ee(0x26d)] === 0x0)
|
|
1004
|
+
return _0x4212ee(_0xd7bc35._0x27e164) + _0x90f164[_0x4212ee(_0xd7bc35._0x3f4d00)] + _0x4212ee(_0xd7bc35._0x5ef54f);
|
|
1005
|
+
const _0x696ba0 = _0x90f164['messages'][_0x4212ee(_0xd7bc35._0x4f2c19)](_0x3dbee4 => {
|
|
1006
|
+
const _0x23e30a = _0x4212ee, _0x307e52 = _0x3dbee4[_0x23e30a(0x21d)] === _0x23e30a(0x2ba) ? _0x23e30a(0x342) : '', _0x22561d = _0x3dbee4[_0x23e30a(_0x46ffd6._0x4826ba)] && _0x3dbee4[_0x23e30a(0x25a)] !== _0x23e30a(_0x46ffd6._0x5644e0) ? _0x23e30a(0x2b0) + _0x3dbee4[_0x23e30a(_0x46ffd6._0x4826ba)] : '';
|
|
1007
|
+
return _0x23e30a(0x302) + _0x3dbee4[_0x23e30a(_0x46ffd6._0x177323)] + '\x20msg=' + _0x3dbee4['messageId'] + _0x23e30a(_0x46ffd6._0x2adab2) + toLocalTime(_0x3dbee4[_0x23e30a(_0x46ffd6._0x4d1903)]) + _0x307e52 + _0x22561d + _0x23e30a(_0x46ffd6._0x3e7cf3) + _0x3dbee4['senderName'] + ':\x20' + _0x3dbee4[_0x23e30a(_0x46ffd6._0x2c78db)] + formatAttachmentSuffix(_0x3dbee4['attachments']);
|
|
1008
|
+
})['join']('\x0a'), _0x38df14 = _0x90f164['hasMore'] && _0x90f164['nextCursor'] ? _0x4212ee(0x339) + _0x90f164['messages'][_0x4212ee(0x26d)] + _0x4212ee(0x27f) + _0x90f164[_0x4212ee(_0xd7bc35._0x49d7fd)] + _0x4212ee(0x2b5) : '';
|
|
1009
|
+
return _0x4212ee(0x263) + _0x90f164[_0x4212ee(_0xd7bc35._0x3f4d00)] + '\x20(' + _0x90f164[_0x4212ee(_0xd7bc35._0x17a39b)][_0x4212ee(0x26d)] + _0x4212ee(0x2d1) + _0x696ba0 + _0x38df14;
|
|
1026
1010
|
}
|
|
1027
|
-
function formatServerDirectory(
|
|
1028
|
-
const
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
}, _0x2074fe = _0x2cd54a, _0x4d2d01 = _0x2cff14[_0x2074fe(_0x416961._0x55992e)][_0x2074fe(_0x416961._0x10df02)] > 0x0 ? _0x2cff14[_0x2074fe(_0x416961._0x5d6cde)][_0x2074fe(0x13f)](_0x5b8fb5 => _0x5b8fb5[_0x2074fe(0x1f4)] ? _0x2074fe(0x1bc) + _0x5b8fb5['name'] + _0x2074fe(0x180) + _0x5b8fb5[_0x2074fe(0x1f4)] : _0x2074fe(0x1bc) + _0x5b8fb5[_0x2074fe(0x123)])['join']('\x0a') : _0x2074fe(0x1fd), _0x5a1fd9 = _0x2cff14[_0x2074fe(_0x416961._0x378634)]['length'] > 0x0 ? _0x2cff14[_0x2074fe(_0x416961._0x2ee982)][_0x2074fe(_0x416961._0x25dce7)](_0x325022 => _0x2074fe(0x1bd) + _0x325022[_0x2074fe(0x123)])[_0x2074fe(0x291)]('\x0a') : '(none)', _0x18b23a = _0x2cff14[_0x2074fe(0x1a8)][_0x2074fe(0x14e)] > 0x0 ? _0x2cff14[_0x2074fe(_0x416961._0x3c5544)][_0x2074fe(0x13f)](_0x3b589d => '-\x20@' + _0x3b589d[_0x2074fe(0x123)])[_0x2074fe(0x291)]('\x0a') : '(none)';
|
|
1011
|
+
function formatServerDirectory(_0x2709a8) {
|
|
1012
|
+
const _0x264984 = {
|
|
1013
|
+
_0x270d7d: 0x328,
|
|
1014
|
+
_0x3f7b7d: 0x26d,
|
|
1015
|
+
_0x224b4c: 0x28e,
|
|
1016
|
+
_0x3d929d: 0x235,
|
|
1017
|
+
_0x1c27c8: 0x34b,
|
|
1018
|
+
_0x37bd12: 0x211,
|
|
1019
|
+
_0x51cbd4: 0x28e,
|
|
1020
|
+
_0xb43817: 0x322
|
|
1021
|
+
}, _0x267e1b = _0x855546, _0x5d4472 = _0x2709a8[_0x267e1b(_0x264984._0x270d7d)]['length'] > 0x0 ? _0x2709a8['channels'][_0x267e1b(0x34b)](_0x1cee50 => _0x1cee50[_0x267e1b(0x207)] ? _0x267e1b(0x1da) + _0x1cee50['name'] + '\x20—\x20' + _0x1cee50['description'] : _0x267e1b(0x1da) + _0x1cee50[_0x267e1b(0x341)])[_0x267e1b(0x211)]('\x0a') : '(none)', _0x35b45e = _0x2709a8['agents'][_0x267e1b(_0x264984._0x3f7b7d)] > 0x0 ? _0x2709a8[_0x267e1b(0x2c8)]['map'](_0x36898d => '-\x20@' + _0x36898d[_0x267e1b(0x341)])['join']('\x0a') : _0x267e1b(_0x264984._0x224b4c), _0x42b9aa = _0x2709a8['humans'][_0x267e1b(0x26d)] > 0x0 ? _0x2709a8[_0x267e1b(_0x264984._0x3d929d)][_0x267e1b(_0x264984._0x1c27c8)](_0x1a71f4 => '-\x20@' + _0x1a71f4[_0x267e1b(0x341)])[_0x267e1b(_0x264984._0x37bd12)]('\x0a') : _0x267e1b(_0x264984._0x51cbd4);
|
|
1039
1022
|
return [
|
|
1040
|
-
|
|
1023
|
+
'##\x20Server:\x20' + _0x2709a8[_0x267e1b(0x2e6)],
|
|
1041
1024
|
'',
|
|
1042
|
-
|
|
1043
|
-
|
|
1025
|
+
'###\x20Channels',
|
|
1026
|
+
_0x5d4472,
|
|
1044
1027
|
'',
|
|
1045
|
-
|
|
1046
|
-
|
|
1028
|
+
_0x267e1b(_0x264984._0xb43817),
|
|
1029
|
+
_0x35b45e,
|
|
1047
1030
|
'',
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
][
|
|
1031
|
+
'###\x20Humans',
|
|
1032
|
+
_0x42b9aa
|
|
1033
|
+
][_0x267e1b(0x211)]('\x0a');
|
|
1051
1034
|
}
|
|
1052
|
-
function formatUploadResult(
|
|
1053
|
-
const
|
|
1054
|
-
|
|
1035
|
+
function formatUploadResult(_0x2ccc64) {
|
|
1036
|
+
const _0x29eaea = {
|
|
1037
|
+
_0x51e4da: 0x2be,
|
|
1038
|
+
_0x52a049: 0x237
|
|
1039
|
+
}, _0xad8f35 = _0x855546;
|
|
1040
|
+
return 'File\x20uploaded:\x20' + _0x2ccc64[_0xad8f35(_0x29eaea._0x51e4da)] + '\x20(' + (_0x2ccc64[_0xad8f35(0x20d)] / 0x400)['toFixed'](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x2ccc64[_0xad8f35(0x233)] + _0xad8f35(_0x29eaea._0x52a049);
|
|
1055
1041
|
}
|
|
1056
|
-
function
|
|
1057
|
-
|
|
1058
|
-
|
|
1042
|
+
function _0x17ac(_0x41e5d6, _0x4d616b) {
|
|
1043
|
+
_0x41e5d6 = _0x41e5d6 - 0x1cf;
|
|
1044
|
+
const _0x1b3eed = _0x1b3e();
|
|
1045
|
+
let _0x17acd4 = _0x1b3eed[_0x41e5d6];
|
|
1046
|
+
if (_0x17ac['pdVGBj'] === undefined) {
|
|
1047
|
+
var _0xbfa7b4 = function (_0x1be592) {
|
|
1048
|
+
const _0x24edc0 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1049
|
+
let _0x5ce9b3 = '', _0x34fbf1 = '';
|
|
1050
|
+
for (let _0x2dc9b0 = 0x0, _0x4a3dc0, _0x4509e5, _0x3c3546 = 0x0; _0x4509e5 = _0x1be592['charAt'](_0x3c3546++); ~_0x4509e5 && (_0x4a3dc0 = _0x2dc9b0 % 0x4 ? _0x4a3dc0 * 0x40 + _0x4509e5 : _0x4509e5, _0x2dc9b0++ % 0x4) ? _0x5ce9b3 += String['fromCharCode'](0xff & _0x4a3dc0 >> (-0x2 * _0x2dc9b0 & 0x6)) : 0x0) {
|
|
1051
|
+
_0x4509e5 = _0x24edc0['indexOf'](_0x4509e5);
|
|
1052
|
+
}
|
|
1053
|
+
for (let _0x51a994 = 0x0, _0x25d151 = _0x5ce9b3['length']; _0x51a994 < _0x25d151; _0x51a994++) {
|
|
1054
|
+
_0x34fbf1 += '%' + ('00' + _0x5ce9b3['charCodeAt'](_0x51a994)['toString'](0x10))['slice'](-0x2);
|
|
1055
|
+
}
|
|
1056
|
+
return decodeURIComponent(_0x34fbf1);
|
|
1057
|
+
};
|
|
1058
|
+
_0x17ac['eyEyvt'] = _0xbfa7b4, _0x17ac['ZlntTI'] = {}, _0x17ac['pdVGBj'] = !![];
|
|
1059
|
+
}
|
|
1060
|
+
const _0x5eea55 = _0x1b3eed[0x0], _0x3b4a5b = _0x41e5d6 + _0x5eea55, _0x1ce48d = _0x17ac['ZlntTI'][_0x3b4a5b];
|
|
1061
|
+
return !_0x1ce48d ? (_0x17acd4 = _0x17ac['eyEyvt'](_0x17acd4), _0x17ac['ZlntTI'][_0x3b4a5b] = _0x17acd4) : _0x17acd4 = _0x1ce48d, _0x17acd4;
|
|
1059
1062
|
}
|
|
1060
|
-
function
|
|
1061
|
-
const
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
},
|
|
1065
|
-
|
|
1066
|
-
_0x520b99: 0x17a,
|
|
1067
|
-
_0x328dba: 0x185,
|
|
1068
|
-
_0x10fea0: 0x267,
|
|
1069
|
-
_0x3e70a3: 0x185,
|
|
1070
|
-
_0x32ea27: 0x1cd,
|
|
1071
|
-
_0x56d076: 0x244,
|
|
1072
|
-
_0x5b206b: 0x243
|
|
1073
|
-
}, _0x5ad602 = _0x2cd54a;
|
|
1074
|
-
if (_0x47a6a8[_0x5ad602(_0x219e06._0x449312)] === 0x0)
|
|
1075
|
-
return _0x5ad602(0x235);
|
|
1076
|
-
return _0x47a6a8[_0x5ad602(0x13f)](_0x3eaba8 => {
|
|
1077
|
-
const _0x315188 = _0x5ad602, _0x973403 = _0x3eaba8[_0x315188(0x249)] == null ? _0x315188(0x273) : _0x3eaba8[_0x315188(_0x80455f._0x50e1bb)] != null ? '#' + _0x3eaba8[_0x315188(0x249)] + '.' + _0x3eaba8[_0x315188(_0x80455f._0x520b99)] : '#' + _0x3eaba8[_0x315188(0x249)], _0x455d3e = _0x3eaba8[_0x315188(_0x80455f._0x328dba)] ? _0x315188(_0x80455f._0x10fea0) + _0x3eaba8[_0x315188(_0x80455f._0x3e70a3)] : '', _0x21bed = _0x5defd0 && _0x3eaba8['taskNumber'] != null && !_0x3eaba8['subtaskNumber'] && _0x5defd0['has'](_0x3eaba8[_0x315188(0x249)]) ? _0x315188(_0x80455f._0x32ea27) : '', _0x21d661 = _0x3eaba8['childrenTotal'] != null && _0x3eaba8['childrenTotal'] > 0x0 ? '\x20(' + (_0x3eaba8[_0x315188(0x119)] ?? 0x0) + '/' + _0x3eaba8[_0x315188(0x12d)] + _0x315188(_0x80455f._0x56d076) : '';
|
|
1078
|
-
return _0x973403 + '\x20[' + _0x3eaba8[_0x315188(_0x80455f._0x5b206b)] + ']\x20' + _0x3eaba8['title'] + _0x21d661 + _0x455d3e + _0x21bed;
|
|
1079
|
-
})[_0x5ad602(_0x219e06._0x478426)]('\x0a');
|
|
1063
|
+
function formatViewFileResult(_0x41d044, _0x3ddb5e) {
|
|
1064
|
+
const _0x891cd4 = {
|
|
1065
|
+
_0x47980f: 0x288,
|
|
1066
|
+
_0x4f3ce3: 0x2dd
|
|
1067
|
+
}, _0x13a445 = _0x855546;
|
|
1068
|
+
return _0x3ddb5e ? _0x13a445(_0x891cd4._0x47980f) + _0x41d044 : _0x13a445(_0x891cd4._0x4f3ce3) + _0x41d044;
|
|
1080
1069
|
}
|
|
1081
|
-
function
|
|
1082
|
-
const
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1070
|
+
function formatTaskList(_0x494835, _0x5aa6ff) {
|
|
1071
|
+
const _0x56a02b = {
|
|
1072
|
+
_0x2fcca5: 0x26d,
|
|
1073
|
+
_0x557d51: 0x211
|
|
1074
|
+
}, _0x263897 = {
|
|
1075
|
+
_0x575a8c: 0x25e,
|
|
1076
|
+
_0x3b7366: 0x1f5,
|
|
1077
|
+
_0x4dfad0: 0x2f6,
|
|
1078
|
+
_0x5c7dad: 0x202,
|
|
1079
|
+
_0x12c472: 0x25e,
|
|
1080
|
+
_0x51f9eb: 0x208,
|
|
1081
|
+
_0x534e86: 0x26e,
|
|
1082
|
+
_0x413aff: 0x34d
|
|
1083
|
+
}, _0xa89511 = _0x855546;
|
|
1084
|
+
if (_0x494835[_0xa89511(_0x56a02b._0x2fcca5)] === 0x0)
|
|
1085
|
+
return 'No\x20tasks\x20found.';
|
|
1086
|
+
return _0x494835[_0xa89511(0x34b)](_0x2a4d8e => {
|
|
1087
|
+
const _0x577b33 = _0xa89511, _0x48864a = _0x2a4d8e['taskNumber'] == null ? _0x577b33(0x2f5) : _0x2a4d8e[_0x577b33(0x2f6)] != null ? '#' + _0x2a4d8e[_0x577b33(_0x263897._0x575a8c)] + '.' + _0x2a4d8e[_0x577b33(0x2f6)] : '#' + _0x2a4d8e[_0x577b33(0x25e)], _0x2e5198 = _0x2a4d8e[_0x577b33(0x26b)] ? _0x577b33(_0x263897._0x3b7366) + _0x2a4d8e[_0x577b33(0x26b)] : '', _0x2fa158 = _0x5aa6ff && _0x2a4d8e[_0x577b33(0x25e)] != null && !_0x2a4d8e[_0x577b33(_0x263897._0x4dfad0)] && _0x5aa6ff[_0x577b33(_0x263897._0x5c7dad)](_0x2a4d8e[_0x577b33(_0x263897._0x12c472)]) ? _0x577b33(_0x263897._0x51f9eb) : '', _0x18f4c4 = _0x2a4d8e[_0x577b33(0x26e)] != null && _0x2a4d8e[_0x577b33(_0x263897._0x534e86)] > 0x0 ? '\x20(' + (_0x2a4d8e[_0x577b33(0x1f9)] ?? 0x0) + '/' + _0x2a4d8e[_0x577b33(_0x263897._0x534e86)] + _0x577b33(_0x263897._0x413aff) : '';
|
|
1088
|
+
return _0x48864a + '\x20[' + _0x2a4d8e[_0x577b33(0x2d9)] + ']\x20' + _0x2a4d8e['title'] + _0x18f4c4 + _0x2e5198 + _0x2fa158;
|
|
1089
|
+
})[_0xa89511(_0x56a02b._0x557d51)]('\x0a');
|
|
1090
|
+
}
|
|
1091
|
+
function formatCreatedTasks(_0x356768) {
|
|
1092
|
+
const _0x586a04 = { _0x8dff63: 0x34b }, _0x3d568d = {
|
|
1093
|
+
_0x29570b: 0x2f6,
|
|
1094
|
+
_0x466eaa: 0x1f5,
|
|
1095
|
+
_0x10a558: 0x260
|
|
1096
|
+
}, _0xd09740 = _0x855546;
|
|
1097
|
+
if (_0x356768['length'] === 0x0)
|
|
1098
|
+
return 'No\x20tasks\x20created.';
|
|
1099
|
+
return _0x356768[_0xd09740(_0x586a04._0x8dff63)](_0xc0a14e => {
|
|
1100
|
+
const _0x1b41fb = _0xd09740, _0x342894 = _0xc0a14e[_0x1b41fb(0x25e)] == null ? _0x1b41fb(0x2f5) : _0xc0a14e[_0x1b41fb(_0x3d568d._0x29570b)] != null ? '#' + _0xc0a14e['taskNumber'] + '.' + _0xc0a14e[_0x1b41fb(0x2f6)] : '#' + _0xc0a14e[_0x1b41fb(0x25e)], _0x125b93 = _0xc0a14e['messageId'] ? _0x1b41fb(_0x3d568d._0x466eaa) + _0xc0a14e[_0x1b41fb(0x26b)] : '';
|
|
1101
|
+
return _0x342894 + '\x20' + _0xc0a14e[_0x1b41fb(_0x3d568d._0x10a558)] + _0x125b93;
|
|
1102
|
+
})[_0xd09740(0x211)]('\x0a');
|
|
1103
|
+
}
|
|
1104
|
+
function formatClaimTaskResults(_0x345ae6) {
|
|
1105
|
+
const _0x334f15 = {
|
|
1106
|
+
_0x1eee72: 0x25e,
|
|
1107
|
+
_0x4b8560: 0x26b,
|
|
1108
|
+
_0x56eb07: 0x1f5,
|
|
1109
|
+
_0x21b211: 0x26b,
|
|
1110
|
+
_0x4d1581: 0x204,
|
|
1111
|
+
_0x1fdbf8: 0x351,
|
|
1112
|
+
_0x2d4616: 0x24a,
|
|
1113
|
+
_0x27622f: 0x24b,
|
|
1114
|
+
_0x420a8b: 0x2f7,
|
|
1115
|
+
_0x44efad: 0x2fa,
|
|
1116
|
+
_0x359771: 0x211,
|
|
1117
|
+
_0x3e3dc4: 0x226,
|
|
1118
|
+
_0xd417c9: 0x2d5
|
|
1119
|
+
}, _0x321fa1 = _0x855546;
|
|
1120
|
+
if (_0x345ae6[_0x321fa1(0x26d)] === 0x0)
|
|
1121
|
+
return _0x321fa1(0x27c);
|
|
1122
|
+
return _0x345ae6['map'](_0x3fb871 => {
|
|
1123
|
+
const _0x48684 = _0x321fa1;
|
|
1124
|
+
if (_0x3fb871[_0x48684(0x345)]) {
|
|
1125
|
+
const _0x26f93b = _0x3fb871['taskNumber'] == null ? '(legacy)' : _0x3fb871[_0x48684(0x2f6)] != null ? '#' + _0x3fb871[_0x48684(_0x334f15._0x1eee72)] + '.' + _0x3fb871['subtaskNumber'] : '#' + _0x3fb871['taskNumber'], _0x2c13b9 = _0x3fb871[_0x48684(_0x334f15._0x4b8560)] ? _0x48684(_0x334f15._0x56eb07) + _0x3fb871[_0x48684(_0x334f15._0x21b211)] : '';
|
|
1126
|
+
if (_0x3fb871['workerHandoff']) {
|
|
1127
|
+
const _0x12125a = [
|
|
1128
|
+
_0x48684(_0x334f15._0x4d1581),
|
|
1129
|
+
_0x3fb871[_0x48684(_0x334f15._0x1fdbf8)] ? 'stopMain=true' : null,
|
|
1130
|
+
_0x3fb871[_0x48684(_0x334f15._0x2d4616)] ? _0x48684(0x266) + _0x3fb871[_0x48684(0x24a)] : null,
|
|
1131
|
+
_0x3fb871['threadTarget'] ? _0x48684(_0x334f15._0x27622f) + _0x3fb871['threadTarget'] : null,
|
|
1132
|
+
_0x3fb871[_0x48684(0x2fa)] ? _0x48684(_0x334f15._0x420a8b) + _0x3fb871[_0x48684(_0x334f15._0x44efad)] : null
|
|
1133
|
+
]['filter'](Boolean)[_0x48684(_0x334f15._0x359771)]('\x20');
|
|
1134
|
+
return _0x26f93b + _0x48684(_0x334f15._0x3e3dc4) + _0x2c13b9 + '\x20' + _0x12125a + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1135
|
+
}
|
|
1136
|
+
const _0xbded61 = _0x3fb871[_0x48684(0x2d5)] ? '\x20workerHandoff=false\x20error=' + _0x3fb871[_0x48684(_0x334f15._0xd417c9)] : '';
|
|
1137
|
+
return _0x26f93b + _0x48684(_0x334f15._0x3e3dc4) + _0x2c13b9 + _0xbded61;
|
|
1138
|
+
}
|
|
1139
|
+
const _0x502625 = _0x3fb871[_0x48684(_0x334f15._0x1eee72)] == null ? _0x3fb871[_0x48684(0x26b)] ?? '(unknown)' : '#' + _0x3fb871[_0x48684(0x25e)];
|
|
1140
|
+
return _0x502625 + _0x48684(0x314) + (_0x3fb871['reason'] ?? 'claim\x20failed');
|
|
1141
|
+
})[_0x321fa1(0x211)]('\x0a');
|
|
1142
|
+
}
|
|
1143
|
+
function formatUnclaimTaskResult(_0x4efcb2) {
|
|
1144
|
+
const _0x331571 = {
|
|
1145
|
+
_0x29ace2: 0x2f6,
|
|
1146
|
+
_0x384de1: 0x25e,
|
|
1147
|
+
_0x4c55f2: 0x2d9
|
|
1148
|
+
}, _0x5e8a26 = _0x855546, _0x370364 = _0x4efcb2[_0x5e8a26(0x25e)] == null ? _0x5e8a26(0x2f5) : _0x4efcb2['subtaskNumber'] != null ? '#' + _0x4efcb2[_0x5e8a26(0x25e)] + '.' + _0x4efcb2[_0x5e8a26(_0x331571._0x29ace2)] : '#' + _0x4efcb2[_0x5e8a26(_0x331571._0x384de1)];
|
|
1149
|
+
return _0x370364 + _0x5e8a26(0x1f6) + _0x4efcb2[_0x5e8a26(_0x331571._0x4c55f2)];
|
|
1150
|
+
}
|
|
1151
|
+
function formatUpdateTaskStatusResult(_0x2d42d8) {
|
|
1152
|
+
const _0x5825c9 = {
|
|
1153
|
+
_0x4846b1: 0x25e,
|
|
1154
|
+
_0x5ae52e: 0x2f6,
|
|
1155
|
+
_0xe043f: 0x2d9
|
|
1156
|
+
}, _0x7e0205 = _0x855546, _0x56df38 = _0x2d42d8[_0x7e0205(_0x5825c9._0x4846b1)] == null ? _0x7e0205(0x2f5) : _0x2d42d8['subtaskNumber'] != null ? '#' + _0x2d42d8[_0x7e0205(0x25e)] + '.' + _0x2d42d8[_0x7e0205(_0x5825c9._0x5ae52e)] : '#' + _0x2d42d8[_0x7e0205(0x25e)];
|
|
1157
|
+
return _0x56df38 + '\x20status=' + _0x2d42d8[_0x7e0205(_0x5825c9._0xe043f)];
|
|
1158
|
+
}
|
|
1159
|
+
function getChatBridgeToolDefinitions() {
|
|
1160
|
+
const _0x36f6f0 = {
|
|
1161
|
+
_0x22946a: 0x347,
|
|
1162
|
+
_0x4c6758: 0x343,
|
|
1163
|
+
_0x52288d: 0x20a,
|
|
1164
|
+
_0x37b737: 0x331,
|
|
1165
|
+
_0x5f00eb: 0x31b
|
|
1166
|
+
}, _0x2c5514 = _0x855546;
|
|
1167
|
+
return [
|
|
1168
|
+
{ 'name': 'send_message' },
|
|
1169
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x22946a) },
|
|
1170
|
+
{ 'name': 'read_history' },
|
|
1171
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x4c6758) },
|
|
1172
|
+
{ 'name': 'upload_file' },
|
|
1173
|
+
{ 'name': _0x2c5514(0x320) },
|
|
1174
|
+
{ 'name': 'list_tasks' },
|
|
1175
|
+
{ 'name': 'create_tasks' },
|
|
1176
|
+
{ 'name': 'claim_tasks' },
|
|
1177
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x52288d) },
|
|
1178
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x37b737) },
|
|
1179
|
+
{ 'name': _0x2c5514(_0x36f6f0._0x5f00eb) },
|
|
1180
|
+
{ 'name': 'park_worker' },
|
|
1181
|
+
{ 'name': 'escalate_to_main' },
|
|
1182
|
+
{ 'name': 'mark_waiting_input' }
|
|
1183
|
+
];
|
|
1184
|
+
}
|
|
1185
|
+
function _0x1b3e() {
|
|
1186
|
+
const _0x659298 = [
|
|
1187
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1188
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1189
|
+
'DgfZAW',
|
|
1190
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1191
|
+
'AxngAwXL',
|
|
1192
|
+
'zw50CMLLCW',
|
|
1193
|
+
'kg5VBMuP',
|
|
1194
|
+
'zMv0y2HjBxbS',
|
|
1195
|
+
'l3nLBMq',
|
|
1196
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1197
|
+
'CgfYC2vjBNq',
|
|
1093
1198
|
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1094
|
-
'
|
|
1199
|
+
'yM9KEu1HCMTKB3DU',
|
|
1200
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1201
|
+
'igf0DgfJAg1LBNq',
|
|
1202
|
+
'l2zPBMLZAa',
|
|
1203
|
+
'B2jQzwn0',
|
|
1204
|
+
'Cgf5Bg9HzePZB24',
|
|
1095
1205
|
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1096
|
-
'
|
|
1097
|
-
'
|
|
1098
|
-
'
|
|
1099
|
-
'
|
|
1100
|
-
'
|
|
1101
|
-
'
|
|
1102
|
-
'
|
|
1103
|
-
'
|
|
1104
|
-
'
|
|
1105
|
-
'
|
|
1106
|
-
'
|
|
1107
|
-
'
|
|
1108
|
-
'
|
|
1109
|
-
'
|
|
1110
|
-
'
|
|
1111
|
-
'
|
|
1112
|
-
'
|
|
1113
|
-
'
|
|
1114
|
-
'
|
|
1115
|
-
'
|
|
1116
|
-
'
|
|
1206
|
+
'zw51Bq',
|
|
1207
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1208
|
+
'zxjYB3i',
|
|
1209
|
+
'CMvXDwvZDfvYBa',
|
|
1210
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
1211
|
+
'l3rHC2TZpW',
|
|
1212
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1213
|
+
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
1214
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1215
|
+
'Aw5JBhvKzxm',
|
|
1216
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
1217
|
+
'mJDxzejstLm',
|
|
1218
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1219
|
+
'DxnLCG',
|
|
1220
|
+
'l3n0yxj0',
|
|
1221
|
+
'y2XHAw1uyxnRCW',
|
|
1222
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1223
|
+
'y3jLyxrLvgfZA3m',
|
|
1224
|
+
'C2vYDMvYvxjS',
|
|
1225
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1226
|
+
'z2v0tw9UDgG',
|
|
1227
|
+
'igTPBMq9',
|
|
1228
|
+
'yxjNDG',
|
|
1229
|
+
'DgfZA3m',
|
|
1230
|
+
'l3rHC2TZl2nSywLT',
|
|
1231
|
+
'otG3mtuYnfDvsKzuCG',
|
|
1232
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1233
|
+
'DgHYzwfKtNvTyMvY',
|
|
1234
|
+
'CMvHC29U',
|
|
1235
|
+
'Dg9tDhjPBMC',
|
|
1236
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1237
|
+
'ywDLBNq',
|
|
1238
|
+
'DgvZDa',
|
|
1117
1239
|
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1240
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1241
|
+
'zMLSzw5HBwu',
|
|
1242
|
+
'y2HHBM5LBeLK',
|
|
1243
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1244
|
+
'BwLU',
|
|
1245
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1246
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1247
|
+
'D3nZoG',
|
|
1118
1248
|
'AwrLBxbVDgvUy3LFA2v5',
|
|
1119
|
-
'
|
|
1120
|
-
'
|
|
1121
|
-
'
|
|
1122
|
-
'
|
|
1123
|
-
'
|
|
1124
|
-
'
|
|
1125
|
-
'
|
|
1126
|
-
'
|
|
1127
|
-
'
|
|
1128
|
-
'
|
|
1129
|
-
'
|
|
1130
|
-
'
|
|
1131
|
-
'
|
|
1132
|
-
'
|
|
1133
|
-
'
|
|
1134
|
-
'
|
|
1135
|
-
'
|
|
1136
|
-
'
|
|
1137
|
-
'
|
|
1138
|
-
'
|
|
1139
|
-
'
|
|
1140
|
-
'
|
|
1141
|
-
'
|
|
1142
|
-
'
|
|
1143
|
-
'
|
|
1144
|
-
'
|
|
1145
|
-
'
|
|
1146
|
-
'C3rVCe1HAw4',
|
|
1147
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1148
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
1149
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1150
|
-
'DgfZAY0',
|
|
1151
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1152
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1249
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1250
|
+
'AwrSzq',
|
|
1251
|
+
'ywDLBNrZ',
|
|
1252
|
+
'y29UBMvJDa',
|
|
1253
|
+
'z2v0u2vJB25KCW',
|
|
1254
|
+
'zgvZDhjVEwvK',
|
|
1255
|
+
'DxrMoa',
|
|
1256
|
+
'BwvZC2fNzxm',
|
|
1257
|
+
'zxzLBNrtzxe',
|
|
1258
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1259
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1260
|
+
'ig1LC3nHz2vZkqOk',
|
|
1261
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
1262
|
+
'uefuq0G',
|
|
1263
|
+
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1264
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1265
|
+
'DgfYz2v0zwruyxnR',
|
|
1266
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1267
|
+
'z2v0twLUDxrLCW',
|
|
1268
|
+
'C3rHDhvZ',
|
|
1269
|
+
'yxnPzgu',
|
|
1270
|
+
'DhjPBq',
|
|
1271
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1272
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
1273
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1274
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1275
|
+
'D29YA2vY',
|
|
1153
1276
|
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1277
|
+
'icHPzdO',
|
|
1278
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1279
|
+
'DgHYzwfKswq',
|
|
1280
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1281
|
+
'C2vYDMvYtMfTzq',
|
|
1282
|
+
'z2v0',
|
|
1283
|
+
'C3rYAw5N',
|
|
1284
|
+
'DxbSB2fKrMLSzq',
|
|
1285
|
+
'C2vYDMvY',
|
|
1286
|
+
'ChvZAa',
|
|
1287
|
+
'Aw1Hz2uVCg5N',
|
|
1288
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1289
|
+
'C2LNBMfS',
|
|
1290
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1291
|
+
'y2f0y2G',
|
|
1292
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1293
|
+
'zgvZy3jPyMu',
|
|
1294
|
+
'l3vWBg9Hza',
|
|
1295
|
+
'ywDLBNrjza',
|
|
1296
|
+
'kgXLz2fJEsK',
|
|
1297
|
+
'C3vIDgfZA051BwjLCG',
|
|
1298
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1299
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1300
|
+
'ywDNCMvNyxrLswq',
|
|
1301
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1302
|
+
'C2L6zq',
|
|
1303
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1304
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1305
|
+
'Dgv4Dc9JC3y',
|
|
1306
|
+
'Dg9ju09tDhjPBMC',
|
|
1307
|
+
'sfruuca',
|
|
1308
|
+
'yxjYyxLcDwzMzxi',
|
|
1309
|
+
'w3nLCt0',
|
|
1310
|
+
'xsba',
|
|
1311
|
+
'yxv0BZO',
|
|
1312
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1313
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1314
|
+
'y2XHAw1FDgfZA3m',
|
|
1315
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1316
|
+
'BMv4Den1CNnVCG',
|
|
1317
|
+
'D29YA19RzxK',
|
|
1318
|
+
'DMfSDwvZ',
|
|
1319
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
1320
|
+
'6k+35Rgcia',
|
|
1321
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
1154
1322
|
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1155
|
-
'
|
|
1156
|
-
'
|
|
1157
|
-
'
|
|
1158
|
-
'
|
|
1159
|
-
'
|
|
1160
|
-
'
|
|
1161
|
-
'
|
|
1162
|
-
'
|
|
1163
|
-
'y2HHDa',
|
|
1164
|
-
'Bg93',
|
|
1323
|
+
'BM93',
|
|
1324
|
+
'Aw5FChjVz3jLC3m',
|
|
1325
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
1326
|
+
'Dgv4Dc9WBgfPBG',
|
|
1327
|
+
'igzHAwXLzdOG',
|
|
1328
|
+
'BgLTAxq',
|
|
1329
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1330
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1165
1331
|
'ue9tva',
|
|
1166
|
-
'
|
|
1332
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1333
|
+
'BgLZDf90yxnRCW',
|
|
1334
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1335
|
+
'y2HHBM5LBe5HBwu',
|
|
1336
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1337
|
+
'BwvZC2fNzq',
|
|
1338
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
1339
|
+
'DMLLD19MAwXL',
|
|
1340
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
1341
|
+
'iYmJiefNzw50CW',
|
|
1342
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1167
1343
|
'vgfZAYa',
|
|
1168
|
-
'
|
|
1169
|
-
'
|
|
1170
|
-
'
|
|
1171
|
-
'
|
|
1172
|
-
'
|
|
1173
|
-
'
|
|
1344
|
+
'zgLNzxn0',
|
|
1345
|
+
'DxbSB2fKx2zPBgu',
|
|
1346
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1347
|
+
'y2HHBM5LBhm',
|
|
1348
|
+
'D29YA2vYCW',
|
|
1349
|
+
'CMvWBgfJzq',
|
|
1174
1350
|
'Bwf0y2Hoyw1L',
|
|
1175
|
-
'
|
|
1176
|
-
'
|
|
1177
|
-
'yxv0BZO',
|
|
1178
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
1179
|
-
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
1180
|
-
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1181
|
-
'lIbnzxnZywDLieLeoIa',
|
|
1182
|
-
'l3rHC2TZl2nSywLT',
|
|
1183
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1184
|
-
'zgvZy3jPChrPB24',
|
|
1185
|
-
'l3vWBg9Hza',
|
|
1351
|
+
'C2vUzf9TzxnZywDL',
|
|
1352
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1186
1353
|
'yxr0ywnOBwvUDf9Pzhm',
|
|
1187
|
-
'
|
|
1188
|
-
'
|
|
1189
|
-
'
|
|
1190
|
-
'
|
|
1191
|
-
'
|
|
1192
|
-
'
|
|
1193
|
-
'
|
|
1194
|
-
'
|
|
1195
|
-
'
|
|
1196
|
-
'
|
|
1197
|
-
'
|
|
1198
|
-
'
|
|
1199
|
-
'
|
|
1200
|
-
'
|
|
1201
|
-
'
|
|
1202
|
-
'
|
|
1203
|
-
'
|
|
1204
|
-
'
|
|
1205
|
-
'
|
|
1206
|
-
'
|
|
1207
|
-
'
|
|
1208
|
-
'
|
|
1209
|
-
'
|
|
1210
|
-
'
|
|
1211
|
-
'
|
|
1212
|
-
'
|
|
1213
|
-
'
|
|
1214
|
-
'
|
|
1215
|
-
'
|
|
1216
|
-
'
|
|
1217
|
-
'
|
|
1218
|
-
'
|
|
1219
|
-
'
|
|
1220
|
-
'B2jQzwn0',
|
|
1221
|
-
'nLHhwevKsG',
|
|
1222
|
-
'Dw5JBgfPBvrHC2S',
|
|
1223
|
-
'DgHYzwfKvgfYz2v0',
|
|
1224
|
-
'zMv0y2HjBxbS',
|
|
1225
|
-
'zMLSzv9WyxrO',
|
|
1226
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
1227
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1228
|
-
'y3vYC29Y',
|
|
1229
|
-
'C2vUzgvYvhLWzq',
|
|
1230
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
1231
|
-
'y29UDgvUDa',
|
|
1232
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1233
|
-
'zgfLBw9UqxbPs2v5',
|
|
1354
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1355
|
+
'zgf0yq',
|
|
1356
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1357
|
+
'CMvZDwX0CW',
|
|
1358
|
+
'zNjVBq',
|
|
1359
|
+
'yxr0ywnOBwvUDhm',
|
|
1360
|
+
'yxjYyxK',
|
|
1361
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
1362
|
+
'EM9K',
|
|
1363
|
+
'Aw5KzxHpzG',
|
|
1364
|
+
'cGOTls0G',
|
|
1365
|
+
'C2f2zq',
|
|
1366
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1367
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1368
|
+
'ktSGz290ignOyw5UzwW9',
|
|
1369
|
+
'y29UDgvUDfr5Cgu',
|
|
1370
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
1371
|
+
'ihrPBwu9',
|
|
1372
|
+
'BMfTzq',
|
|
1373
|
+
'ihr5Cgu9ywDLBNq',
|
|
1374
|
+
'BgLZDf9Zzxj2zxi',
|
|
1375
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1376
|
+
'C3vJy2vZCW',
|
|
1377
|
+
'Bwf4',
|
|
1378
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
1379
|
+
'ywrK',
|
|
1380
|
+
'CgfYDgLJAxbHBNq',
|
|
1381
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1382
|
+
'BwfW',
|
|
1383
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1384
|
+
'igrVBMuP',
|
|
1385
|
+
'ChjVDg9JB2W',
|
|
1386
|
+
'BwvKAxvT',
|
|
1234
1387
|
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1235
|
-
'
|
|
1236
|
-
'
|
|
1237
|
-
'
|
|
1238
|
-
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1239
|
-
'zMLSzw5HBwu',
|
|
1240
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
1241
|
-
'ig1LC3nHz2vZkqOk',
|
|
1242
|
-
'ywjVCNrLza',
|
|
1388
|
+
'C3rVCe1HAw4',
|
|
1389
|
+
'ChvIBgLJ',
|
|
1390
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1243
1391
|
'y2HLy2TnzxnZywDLCW',
|
|
1244
|
-
'
|
|
1245
|
-
'
|
|
1246
|
-
'
|
|
1247
|
-
'
|
|
1248
|
-
'
|
|
1249
|
-
'
|
|
1250
|
-
'
|
|
1251
|
-
'
|
|
1252
|
-
'
|
|
1253
|
-
'
|
|
1254
|
-
'
|
|
1255
|
-
'
|
|
1256
|
-
'DgHYzwfK',
|
|
1392
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
1393
|
+
'mZa4odCZnMPHqNrYwG',
|
|
1394
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1395
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1396
|
+
'D3m6',
|
|
1397
|
+
'y2fJAgveAxi',
|
|
1398
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1399
|
+
'ntq2mZjZs0fcy3i',
|
|
1400
|
+
'y29UDgvUDejHC2u2na',
|
|
1401
|
+
'lsaJ',
|
|
1402
|
+
'zM9Yy2vszwzYzxnO',
|
|
1403
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
1257
1404
|
'yxbWBgLJyxrPB24VEMLW',
|
|
1258
|
-
'
|
|
1259
|
-
'
|
|
1405
|
+
'C2vX',
|
|
1406
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
1260
1407
|
'ANnVBG',
|
|
1261
|
-
'
|
|
1262
|
-
'
|
|
1263
|
-
'
|
|
1264
|
-
'
|
|
1265
|
-
'
|
|
1266
|
-
'
|
|
1267
|
-
'
|
|
1268
|
-
'
|
|
1269
|
-
'
|
|
1270
|
-
'
|
|
1271
|
-
'
|
|
1272
|
-
'
|
|
1273
|
-
'
|
|
1274
|
-
'
|
|
1275
|
-
'z2v0twLUDxrLCW',
|
|
1276
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
1277
|
-
'Dw5RBM93BG',
|
|
1278
|
-
'DxbKyxrL',
|
|
1279
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
1280
|
-
'CgfYC2vjBNq',
|
|
1281
|
-
'ywDLBNrZ',
|
|
1282
|
-
'BgLZDfnLCNzLCG',
|
|
1283
|
-
'vgfZAZOG',
|
|
1284
|
-
'C3rHCNrLza',
|
|
1285
|
-
'D29YA2vYCW',
|
|
1286
|
-
'BwvZC2fNzxm',
|
|
1287
|
-
'l3nLCNzLCG',
|
|
1288
|
-
'iIbUB3qGzM91BMq',
|
|
1289
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1290
|
-
'D29YA19RzxK',
|
|
1291
|
-
'DMLLD19MAwXL',
|
|
1292
|
-
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1293
|
-
'sfruuca',
|
|
1294
|
-
'y2XPzw50',
|
|
1295
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
1296
|
-
'cGOTls0G',
|
|
1408
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1409
|
+
'zg06',
|
|
1410
|
+
'Agv4',
|
|
1411
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1412
|
+
'Bg93',
|
|
1413
|
+
'AgfZtw9Yzq',
|
|
1414
|
+
'Dg9VBa',
|
|
1415
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1416
|
+
'ywz0zxi',
|
|
1417
|
+
'iJOGC3rHDhvZpq',
|
|
1418
|
+
'zMLSzv9WyxrO',
|
|
1419
|
+
'DhLWzq',
|
|
1420
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1421
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1297
1422
|
'ywjVCNq',
|
|
1298
|
-
'
|
|
1423
|
+
'CgfYA193B3jRzxi',
|
|
1424
|
+
'zgLZCg9ZAxrPB24',
|
|
1425
|
+
'BwvTyMvY',
|
|
1426
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1427
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1299
1428
|
'ig1LC3nHz2u9',
|
|
1300
|
-
'
|
|
1429
|
+
'ihn0yxr1CZ0',
|
|
1430
|
+
'y29UDgvUDa',
|
|
1431
|
+
'w3rHCMDLDd0',
|
|
1432
|
+
'y2HPBgrYzw5eB25L',
|
|
1433
|
+
'C29YDa',
|
|
1434
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1435
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1436
|
+
'C3bSAxq',
|
|
1437
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1438
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1439
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1440
|
+
'r0vu',
|
|
1441
|
+
'AgfZ',
|
|
1442
|
+
'CgfKu3rHCNq',
|
|
1443
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1301
1444
|
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1302
|
-
'
|
|
1303
|
-
'
|
|
1304
|
-
'
|
|
1305
|
-
'
|
|
1306
|
-
'
|
|
1307
|
-
'
|
|
1308
|
-
'
|
|
1309
|
-
'
|
|
1310
|
-
'
|
|
1311
|
-
'kgXLz2fJEsK',
|
|
1312
|
-
'Aw1Hz2uVCg5N',
|
|
1313
|
-
'DhjPBq',
|
|
1314
|
-
'y2XHAw1FDgfZA3m',
|
|
1315
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1316
|
-
'BMv4Den1CNnVCG',
|
|
1445
|
+
'BwvZC2fNzv9Pzhm',
|
|
1446
|
+
'zgvZy3jPChrPB24',
|
|
1447
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1448
|
+
'l2nVBNrLBNq',
|
|
1449
|
+
'Dw5JBgfPBv90yxnR',
|
|
1450
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1451
|
+
'ls1Hz2vUDc1Pza',
|
|
1452
|
+
'C2L6zuj5DgvZ',
|
|
1453
|
+
'y2XPzw50',
|
|
1317
1454
|
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1318
|
-
'
|
|
1319
|
-
'
|
|
1320
|
-
'
|
|
1455
|
+
'y29UDgvUDc10ExbL',
|
|
1456
|
+
'AM9PBG',
|
|
1457
|
+
'DxjNzw50',
|
|
1458
|
+
'C2nOzwr1BgvKrM9Y',
|
|
1459
|
+
'C2v0',
|
|
1321
1460
|
'Ahr0CdO',
|
|
1322
|
-
'
|
|
1323
|
-
'
|
|
1324
|
-
'
|
|
1325
|
-
'
|
|
1326
|
-
'
|
|
1327
|
-
'
|
|
1328
|
-
'
|
|
1329
|
-
'
|
|
1330
|
-
'
|
|
1331
|
-
'
|
|
1332
|
-
'
|
|
1333
|
-
'
|
|
1461
|
+
'mtyYmtaYngHAB0j0AG',
|
|
1462
|
+
'l2HPC3rVCNK/',
|
|
1463
|
+
'y3vYC29Y',
|
|
1464
|
+
'C3rYAw5NAwz5',
|
|
1465
|
+
'lcbWCMv2Awv3pq',
|
|
1466
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1467
|
+
'AgLNAa',
|
|
1468
|
+
'C2vUzgvYvhLWzq',
|
|
1469
|
+
'igLUia',
|
|
1470
|
+
'yMfZzty0',
|
|
1471
|
+
'CNvUswq',
|
|
1472
|
+
'DgfYz2v0',
|
|
1473
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
1474
|
+
'C3rHCNrLza',
|
|
1475
|
+
'CMvZDwX0sNnVBG',
|
|
1476
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
1477
|
+
'ignSywLTzwq',
|
|
1478
|
+
'CMvHzf9OAxn0B3j5',
|
|
1334
1479
|
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1335
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
1336
|
-
'CNvUBMLUzW',
|
|
1337
|
-
'w3nLCt0',
|
|
1338
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1339
|
-
'C2XPy2u',
|
|
1340
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1341
|
-
'AM9PBG',
|
|
1342
|
-
'y2HHBM5LBe5HBwu',
|
|
1343
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1344
|
-
'v29YA2vYia',
|
|
1345
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1346
1480
|
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1347
|
-
'
|
|
1348
|
-
'
|
|
1481
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1482
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1483
|
+
'CgfYC2u',
|
|
1484
|
+
'DgfZA0LK',
|
|
1485
|
+
'C29Tzq',
|
|
1486
|
+
'AxngAw5PDgu',
|
|
1487
|
+
'Dg9KBW',
|
|
1488
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1489
|
+
'yM9KEvrLEhq',
|
|
1490
|
+
'yxr0ywnOBwvUDeLK',
|
|
1491
|
+
'AxnbCNjHEq',
|
|
1492
|
+
'AhvTyw5Z',
|
|
1493
|
+
'Bg9JywXLq29TCgfYzq',
|
|
1494
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1495
|
+
'Axnoyu4',
|
|
1496
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1497
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1498
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1499
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1349
1500
|
'zg0T',
|
|
1350
|
-
'
|
|
1351
|
-
'
|
|
1352
|
-
'DgvZDa',
|
|
1353
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1354
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1355
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
1356
|
-
'BwvTyMvYCW',
|
|
1357
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1358
|
-
'Dgv4Da',
|
|
1359
|
-
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1501
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1502
|
+
'C2HHmJu2',
|
|
1360
1503
|
'Aw1Hz2uVz2LM',
|
|
1361
|
-
'
|
|
1362
|
-
'
|
|
1504
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1505
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1506
|
+
'AgvHzgvYCW',
|
|
1507
|
+
'v29YA2vYici',
|
|
1508
|
+
'DgfZA19Pza',
|
|
1509
|
+
'AhjLzG',
|
|
1510
|
+
'B3b0Aw9UywW',
|
|
1511
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1363
1512
|
'D29YA2vYtw9Kzq',
|
|
1364
|
-
'
|
|
1365
|
-
'
|
|
1366
|
-
'
|
|
1513
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1514
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
1515
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
1516
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
1517
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
1518
|
+
'C3rHCNrZv2L0Aa',
|
|
1519
|
+
'ig1ZzZ0',
|
|
1520
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1521
|
+
'ndaXmtm5nwjlyxD2za',
|
|
1522
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1523
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1524
|
+
'zg9Uzq',
|
|
1525
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
1526
|
+
'iIbUB3qGzM91BMq',
|
|
1527
|
+
'DgfYz2v0zwq',
|
|
1528
|
+
'zxHWAxjLC0f0',
|
|
1529
|
+
'A2LUza',
|
|
1530
|
+
'CMvHzeHPC3rVCNK',
|
|
1531
|
+
'zgvSzxrL',
|
|
1367
1532
|
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1368
|
-
'
|
|
1369
|
-
'
|
|
1370
|
-
'
|
|
1371
|
-
'
|
|
1372
|
-
'
|
|
1373
|
-
'
|
|
1374
|
-
'
|
|
1375
|
-
'
|
|
1376
|
-
'
|
|
1377
|
-
'
|
|
1378
|
-
'
|
|
1379
|
-
'
|
|
1380
|
-
'
|
|
1381
|
-
'
|
|
1382
|
-
'
|
|
1383
|
-
'
|
|
1533
|
+
'DgfZA051BwjLCG',
|
|
1534
|
+
'z2v0rgf0zq',
|
|
1535
|
+
'DgL0Bgu',
|
|
1536
|
+
'DgHYzwfK',
|
|
1537
|
+
'mte4ota4A0fQAw5h',
|
|
1538
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1539
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
1540
|
+
'ndiXotu2mhfrq0zqBa',
|
|
1541
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1542
|
+
'BNvTyMvY',
|
|
1543
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
1544
|
+
'zMLUza',
|
|
1545
|
+
'CxvLDwvK',
|
|
1546
|
+
'BwvZC2fNzuLK',
|
|
1547
|
+
'z2v0sg91CNm',
|
|
1548
|
+
'BgvUz3rO',
|
|
1384
1549
|
'y2HPBgrYzw5uB3rHBa',
|
|
1385
|
-
'
|
|
1386
|
-
'
|
|
1387
|
-
'
|
|
1388
|
-
'
|
|
1389
|
-
'DgfYz2v0zwq',
|
|
1390
|
-
'ywz0zxi',
|
|
1391
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1392
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1393
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1394
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1395
|
-
'ihrPBwu9',
|
|
1396
|
-
'mc4WlJa',
|
|
1397
|
-
'CMvZDwX0CW',
|
|
1398
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1399
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1400
|
-
'DgfZA19Pza',
|
|
1401
|
-
'ChvIBgLJ',
|
|
1402
|
-
'BwfW',
|
|
1403
|
-
'y2fJAgveAxi',
|
|
1404
|
-
'ig1ZzZ0',
|
|
1405
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1406
|
-
'igTPBMq9',
|
|
1407
|
-
'C3vIDgfZA19UDw1IzxjZ',
|
|
1408
|
-
'Dg9ju09tDhjPBMC',
|
|
1409
|
-
'Dw5JBgfPBv90yxnR',
|
|
1410
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1411
|
-
'Dg9VBa',
|
|
1412
|
-
'C3rHCNrZv2L0Aa',
|
|
1413
|
-
'C3vIDgfZA19UDw1Izxi',
|
|
1414
|
-
'BM93',
|
|
1550
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1551
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1552
|
+
'ywjVCNrLza',
|
|
1553
|
+
'Dw5RBM93BG',
|
|
1415
1554
|
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
1416
|
-
'
|
|
1417
|
-
'
|
|
1418
|
-
'
|
|
1419
|
-
'AgfZ',
|
|
1420
|
-
'ywz0zxjtzxe',
|
|
1421
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1422
|
-
'mti2otCYog92uhPYAa',
|
|
1423
|
-
'y2HHBM5LBhm',
|
|
1424
|
-
'lMjPBG',
|
|
1425
|
-
'zxjYB3i',
|
|
1555
|
+
'DMLZAwjPBgL0Eq',
|
|
1556
|
+
'zMLSDgvY',
|
|
1557
|
+
'zxH0BMfTzq',
|
|
1426
1558
|
'C2vUze1LC3nHz2u',
|
|
1427
|
-
'
|
|
1559
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1560
|
+
'Bwv0yq',
|
|
1561
|
+
'mvnhsMDwyW',
|
|
1562
|
+
'y2HHDa',
|
|
1563
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1428
1564
|
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1429
|
-
'
|
|
1430
|
-
'
|
|
1431
|
-
'BgLTAxq',
|
|
1432
|
-
'og9IvvjTuG',
|
|
1433
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1434
|
-
'ywDNCMvNyxrLswrZ',
|
|
1435
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
1436
|
-
'DxnLCG',
|
|
1437
|
-
'AwrSzq',
|
|
1438
|
-
'l3nLBMq',
|
|
1439
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1440
|
-
'zxHWAxjLC0f0',
|
|
1441
|
-
'C2L6zq',
|
|
1442
|
-
'iYmJieH1BwfUCW',
|
|
1443
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1444
|
-
'Bg9JywXLq29TCgfYzq',
|
|
1445
|
-
'CMvWBgfJzq',
|
|
1446
|
-
'C3rYAw5N',
|
|
1565
|
+
'l3jLy2vPDMu',
|
|
1566
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1447
1567
|
'y2HHBM5LBa',
|
|
1448
|
-
'
|
|
1449
|
-
'
|
|
1450
|
-
'
|
|
1451
|
-
'
|
|
1452
|
-
'
|
|
1453
|
-
'
|
|
1454
|
-
'
|
|
1455
|
-
'l3DVCMTLCNmVCgfYAW',
|
|
1456
|
-
'yM9KEu1HCMTKB3DU',
|
|
1457
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1458
|
-
'igLUia',
|
|
1459
|
-
'DxbSB2fKx2zPBgu',
|
|
1460
|
-
'ntq3mdG1nu1bAMj5tG',
|
|
1461
|
-
'C3vIDgfZA051BwjLCG',
|
|
1462
|
-
'AgvHzgvYCW',
|
|
1463
|
-
'AxnjBNrLz2vY',
|
|
1464
|
-
'y2f0y2G',
|
|
1465
|
-
'zw51Bq',
|
|
1466
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1467
|
-
'iokaLca',
|
|
1468
|
-
'ls1Zzxj2zxiTDxjS',
|
|
1469
|
-
'Cgf5Bg9HzePZB24',
|
|
1470
|
-
'khvUA25VD24P',
|
|
1471
|
-
'DMfSDwvZ',
|
|
1472
|
-
'BwvZC2fNzuLK',
|
|
1473
|
-
'z2v0',
|
|
1474
|
-
'AxnbyNnVBhv0zq',
|
|
1475
|
-
'zgLZCg9ZAxrPB24',
|
|
1476
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1477
|
-
'C3vJy2vZCW',
|
|
1478
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1479
|
-
'DgfZAW',
|
|
1480
|
-
'zgvSzxrL',
|
|
1481
|
-
'ihr5Cgu9ywDLBNq'
|
|
1568
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1569
|
+
'yMvMB3jL',
|
|
1570
|
+
'CNvUBMLUzW',
|
|
1571
|
+
'y3jLyxrLzef0',
|
|
1572
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1573
|
+
'C2XPy2u',
|
|
1574
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm'
|
|
1482
1575
|
];
|
|
1483
|
-
|
|
1484
|
-
return
|
|
1576
|
+
_0x1b3e = function () {
|
|
1577
|
+
return _0x659298;
|
|
1485
1578
|
};
|
|
1486
|
-
return
|
|
1487
|
-
}
|
|
1488
|
-
function formatCreatedTasks(_0x2c7aa6) {
|
|
1489
|
-
const _0x52d430 = {
|
|
1490
|
-
_0x2473aa: 0x14e,
|
|
1491
|
-
_0x51c315: 0x2a5,
|
|
1492
|
-
_0x3c1ba9: 0x13f,
|
|
1493
|
-
_0x3021c6: 0x291
|
|
1494
|
-
}, _0x4525f9 = {
|
|
1495
|
-
_0x4d1ca3: 0x249,
|
|
1496
|
-
_0x19665c: 0x17a,
|
|
1497
|
-
_0x57a642: 0x185
|
|
1498
|
-
}, _0x254602 = _0x2cd54a;
|
|
1499
|
-
if (_0x2c7aa6[_0x254602(_0x52d430._0x2473aa)] === 0x0)
|
|
1500
|
-
return _0x254602(_0x52d430._0x51c315);
|
|
1501
|
-
return _0x2c7aa6[_0x254602(_0x52d430._0x3c1ba9)](_0x207ca7 => {
|
|
1502
|
-
const _0x1812a7 = _0x254602, _0x2bfbea = _0x207ca7[_0x1812a7(_0x4525f9._0x4d1ca3)] == null ? _0x1812a7(0x273) : _0x207ca7[_0x1812a7(_0x4525f9._0x19665c)] != null ? '#' + _0x207ca7[_0x1812a7(0x249)] + '.' + _0x207ca7['subtaskNumber'] : '#' + _0x207ca7[_0x1812a7(0x249)], _0x54c9a5 = _0x207ca7[_0x1812a7(_0x4525f9._0x57a642)] ? '\x20message=' + _0x207ca7[_0x1812a7(0x185)] : '';
|
|
1503
|
-
return _0x2bfbea + '\x20' + _0x207ca7[_0x1812a7(0x194)] + _0x54c9a5;
|
|
1504
|
-
})[_0x254602(_0x52d430._0x3021c6)]('\x0a');
|
|
1505
|
-
}
|
|
1506
|
-
function formatClaimTaskResults(_0x243206) {
|
|
1507
|
-
const _0x51591a = {
|
|
1508
|
-
_0x2cda71: 0x14e,
|
|
1509
|
-
_0x31a884: 0x13f,
|
|
1510
|
-
_0x281875: 0x291
|
|
1511
|
-
}, _0x2066bd = {
|
|
1512
|
-
_0x56741d: 0x249,
|
|
1513
|
-
_0x39b8d7: 0x273,
|
|
1514
|
-
_0x274c7b: 0x17a,
|
|
1515
|
-
_0x40d359: 0x17a,
|
|
1516
|
-
_0x240248: 0x27b,
|
|
1517
|
-
_0x15c29a: 0x253,
|
|
1518
|
-
_0xc7fab4: 0x1e4,
|
|
1519
|
-
_0x4087a4: 0x1e4,
|
|
1520
|
-
_0x402b15: 0x21b,
|
|
1521
|
-
_0x4e0051: 0x1e5,
|
|
1522
|
-
_0x471313: 0x136,
|
|
1523
|
-
_0x4edacc: 0x121,
|
|
1524
|
-
_0x2f9731: 0x22a,
|
|
1525
|
-
_0x5605e8: 0x215,
|
|
1526
|
-
_0xe888db: 0x12b
|
|
1527
|
-
}, _0x3de95f = _0x2cd54a;
|
|
1528
|
-
if (_0x243206[_0x3de95f(_0x51591a._0x2cda71)] === 0x0)
|
|
1529
|
-
return 'No\x20tasks\x20claimed.';
|
|
1530
|
-
return _0x243206[_0x3de95f(_0x51591a._0x31a884)](_0x51c436 => {
|
|
1531
|
-
const _0x17fe5a = _0x3de95f;
|
|
1532
|
-
if (_0x51c436['success']) {
|
|
1533
|
-
const _0x1ccc0e = _0x51c436[_0x17fe5a(_0x2066bd._0x56741d)] == null ? _0x17fe5a(_0x2066bd._0x39b8d7) : _0x51c436[_0x17fe5a(_0x2066bd._0x274c7b)] != null ? '#' + _0x51c436[_0x17fe5a(_0x2066bd._0x56741d)] + '.' + _0x51c436[_0x17fe5a(_0x2066bd._0x40d359)] : '#' + _0x51c436[_0x17fe5a(0x249)], _0x372b65 = _0x51c436['messageId'] ? _0x17fe5a(0x267) + _0x51c436['messageId'] : '';
|
|
1534
|
-
if (_0x51c436[_0x17fe5a(0x1db)]) {
|
|
1535
|
-
const _0x14d2db = [
|
|
1536
|
-
_0x17fe5a(_0x2066bd._0x240248),
|
|
1537
|
-
_0x51c436[_0x17fe5a(0x1ce)] ? _0x17fe5a(_0x2066bd._0x15c29a) : null,
|
|
1538
|
-
_0x51c436[_0x17fe5a(_0x2066bd._0xc7fab4)] ? _0x17fe5a(0x20f) + _0x51c436[_0x17fe5a(_0x2066bd._0x4087a4)] : null,
|
|
1539
|
-
_0x51c436[_0x17fe5a(0x21b)] ? _0x17fe5a(0x22c) + _0x51c436[_0x17fe5a(_0x2066bd._0x402b15)] : null,
|
|
1540
|
-
_0x51c436[_0x17fe5a(_0x2066bd._0x4e0051)] ? _0x17fe5a(_0x2066bd._0x471313) + _0x51c436[_0x17fe5a(0x1e5)] : null
|
|
1541
|
-
][_0x17fe5a(_0x2066bd._0x4edacc)](Boolean)[_0x17fe5a(0x291)]('\x20');
|
|
1542
|
-
return _0x1ccc0e + _0x17fe5a(0x171) + _0x372b65 + '\x20' + _0x14d2db + _0x17fe5a(_0x2066bd._0x2f9731);
|
|
1543
|
-
}
|
|
1544
|
-
const _0x26312d = _0x51c436[_0x17fe5a(_0x2066bd._0x5605e8)] ? '\x20workerHandoff=false\x20error=' + _0x51c436[_0x17fe5a(_0x2066bd._0x5605e8)] : '';
|
|
1545
|
-
return _0x1ccc0e + _0x17fe5a(0x171) + _0x372b65 + _0x26312d;
|
|
1546
|
-
}
|
|
1547
|
-
const _0x9ea601 = _0x51c436[_0x17fe5a(_0x2066bd._0x56741d)] == null ? _0x51c436[_0x17fe5a(0x185)] ?? _0x17fe5a(0x183) : '#' + _0x51c436[_0x17fe5a(0x249)];
|
|
1548
|
-
return _0x9ea601 + _0x17fe5a(_0x2066bd._0xe888db) + (_0x51c436[_0x17fe5a(0x1f8)] ?? 'claim\x20failed');
|
|
1549
|
-
})[_0x3de95f(_0x51591a._0x281875)]('\x0a');
|
|
1550
|
-
}
|
|
1551
|
-
function formatUnclaimTaskResult(_0x39b546) {
|
|
1552
|
-
const _0x5b267c = {
|
|
1553
|
-
_0x2596e6: 0x249,
|
|
1554
|
-
_0x539aac: 0x273,
|
|
1555
|
-
_0x27cec2: 0x1b8
|
|
1556
|
-
}, _0x364596 = _0x2cd54a, _0x467c50 = _0x39b546[_0x364596(_0x5b267c._0x2596e6)] == null ? _0x364596(_0x5b267c._0x539aac) : _0x39b546['subtaskNumber'] != null ? '#' + _0x39b546[_0x364596(0x249)] + '.' + _0x39b546[_0x364596(0x17a)] : '#' + _0x39b546[_0x364596(0x249)];
|
|
1557
|
-
return _0x467c50 + _0x364596(_0x5b267c._0x27cec2) + _0x39b546['status'];
|
|
1558
|
-
}
|
|
1559
|
-
function formatUpdateTaskStatusResult(_0x50aaf1) {
|
|
1560
|
-
const _0x1be268 = {
|
|
1561
|
-
_0x90c947: 0x249,
|
|
1562
|
-
_0x111440: 0x249,
|
|
1563
|
-
_0x258a55: 0x1b8
|
|
1564
|
-
}, _0x20527c = _0x2cd54a, _0x8eb7d5 = _0x50aaf1[_0x20527c(_0x1be268._0x90c947)] == null ? '(legacy)' : _0x50aaf1[_0x20527c(0x17a)] != null ? '#' + _0x50aaf1['taskNumber'] + '.' + _0x50aaf1[_0x20527c(0x17a)] : '#' + _0x50aaf1[_0x20527c(_0x1be268._0x111440)];
|
|
1565
|
-
return _0x8eb7d5 + _0x20527c(_0x1be268._0x258a55) + _0x50aaf1['status'];
|
|
1579
|
+
return _0x1b3e();
|
|
1566
1580
|
}
|
|
1567
|
-
function
|
|
1568
|
-
const
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
},
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
},
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
_0x13e2d4: 0x1c6,
|
|
1688
|
-
_0x55f4ee: 0x198,
|
|
1689
|
-
_0x458e55: 0x259,
|
|
1690
|
-
_0x2fb05e: 0x243,
|
|
1691
|
-
_0x34e67d: 0x28b
|
|
1692
|
-
}, _0x5a80d3 = {
|
|
1693
|
-
_0x3eadf5: 0x1c6,
|
|
1694
|
-
_0x4a91b0: 0x118,
|
|
1695
|
-
_0x18a056: 0x198,
|
|
1696
|
-
_0x769298: 0x259,
|
|
1697
|
-
_0x199049: 0x166
|
|
1698
|
-
}, _0xbc55b0 = {
|
|
1699
|
-
_0x280697: 0x128,
|
|
1700
|
-
_0x52eb95: 0x185,
|
|
1701
|
-
_0x921784: 0x262,
|
|
1702
|
-
_0x3eeace: 0x26a,
|
|
1703
|
-
_0x407b37: 0x25a,
|
|
1704
|
-
_0xd8b7e4: 0x273,
|
|
1705
|
-
_0x2d52bd: 0x1a7,
|
|
1706
|
-
_0x3ca2ba: 0x141,
|
|
1707
|
-
_0x160c38: 0x145,
|
|
1708
|
-
_0x3453f7: 0x23e,
|
|
1709
|
-
_0x418c31: 0x224,
|
|
1710
|
-
_0x352852: 0x291,
|
|
1711
|
-
_0x17b4e4: 0x168,
|
|
1712
|
-
_0x3539c9: 0x1e1,
|
|
1713
|
-
_0x247451: 0x230,
|
|
1714
|
-
_0x3e1325: 0x1c9,
|
|
1715
|
-
_0x4521e5: 0x198,
|
|
1716
|
-
_0x384d08: 0x24c,
|
|
1717
|
-
_0x239689: 0x1d2,
|
|
1718
|
-
_0x720155: 0x240,
|
|
1719
|
-
_0x570390: 0x27c,
|
|
1720
|
-
_0x3d931c: 0x1a5
|
|
1721
|
-
}, _0xec6026 = {
|
|
1722
|
-
_0x2077cc: 0x191,
|
|
1723
|
-
_0x2562da: 0x285
|
|
1724
|
-
}, _0x32e1b7 = _0x2cd54a;
|
|
1725
|
-
function _0x343cbb(_0x3b98e6, _0x279b74) {
|
|
1726
|
-
const _0x5844aa = _0x46e8;
|
|
1727
|
-
if (!_0x5e51c9['workerMode'])
|
|
1581
|
+
function createChatBridgeHandlers(_0x430934) {
|
|
1582
|
+
const _0x484c8f = { _0x4cc263: 0x2c7 }, _0xb054a3 = {
|
|
1583
|
+
_0x5bf224: 0x219,
|
|
1584
|
+
_0x1cb09e: 0x29d,
|
|
1585
|
+
_0x4c0fe7: 0x239,
|
|
1586
|
+
_0x52e8c5: 0x26f
|
|
1587
|
+
}, _0x467985 = {
|
|
1588
|
+
_0x1a2505: 0x323,
|
|
1589
|
+
_0x1865bb: 0x2f4,
|
|
1590
|
+
_0x3128ff: 0x1ff,
|
|
1591
|
+
_0x88b341: 0x323,
|
|
1592
|
+
_0x3ce2d2: 0x2fc,
|
|
1593
|
+
_0x5259df: 0x29d,
|
|
1594
|
+
_0x1313bc: 0x1e8,
|
|
1595
|
+
_0x59ea0c: 0x244
|
|
1596
|
+
}, _0x10feaf = {
|
|
1597
|
+
_0x3d7e2f: 0x323,
|
|
1598
|
+
_0x6ae4c8: 0x219,
|
|
1599
|
+
_0x3ac7c7: 0x30a
|
|
1600
|
+
}, _0x5dfdf9 = {
|
|
1601
|
+
_0x2211ed: 0x323,
|
|
1602
|
+
_0x51e384: 0x2bc,
|
|
1603
|
+
_0x2bcbf2: 0x30a
|
|
1604
|
+
}, _0x3e5dd5 = {
|
|
1605
|
+
_0x263ed0: 0x241,
|
|
1606
|
+
_0x5f2d85: 0x31d,
|
|
1607
|
+
_0x2f15c7: 0x21b,
|
|
1608
|
+
_0x4b8743: 0x33a,
|
|
1609
|
+
_0x523485: 0x330,
|
|
1610
|
+
_0x3cfd77: 0x30f
|
|
1611
|
+
}, _0x50c129 = {
|
|
1612
|
+
_0x20e487: 0x1eb,
|
|
1613
|
+
_0x3c56ed: 0x280
|
|
1614
|
+
}, _0x50b294 = { _0xef7a04: 0x20e }, _0x1d0741 = {
|
|
1615
|
+
_0x25888a: 0x20a,
|
|
1616
|
+
_0x1de8b5: 0x1fc
|
|
1617
|
+
}, _0x4811af = {
|
|
1618
|
+
_0x434c51: 0x249,
|
|
1619
|
+
_0x18d3da: 0x308,
|
|
1620
|
+
_0x3e7d9f: 0x26d,
|
|
1621
|
+
_0x5ba21f: 0x1d1,
|
|
1622
|
+
_0x423d8c: 0x2aa
|
|
1623
|
+
}, _0x3c8972 = { _0x1474e1: 0x231 }, _0x2ba06a = {
|
|
1624
|
+
_0xb310d4: 0x20e,
|
|
1625
|
+
_0x20d994: 0x329,
|
|
1626
|
+
_0x5f0a89: 0x24f,
|
|
1627
|
+
_0x5e16c8: 0x26d,
|
|
1628
|
+
_0x5d758d: 0x269
|
|
1629
|
+
}, _0x100a4f = { _0x2e9ec4: 0x20e }, _0x126e6e = { _0x23626d: 0x20e }, _0x2fa3ad = {
|
|
1630
|
+
_0x507b29: 0x1d0,
|
|
1631
|
+
_0x1e465a: 0x249,
|
|
1632
|
+
_0x53ad5d: 0x275
|
|
1633
|
+
}, _0x1e94ba = {
|
|
1634
|
+
_0x1b2722: 0x323,
|
|
1635
|
+
_0x4ec4f0: 0x28a,
|
|
1636
|
+
_0x554fe2: 0x2f5,
|
|
1637
|
+
_0x38a82e: 0x2b6,
|
|
1638
|
+
_0x26e648: 0x221,
|
|
1639
|
+
_0x1cdb27: 0x2e4,
|
|
1640
|
+
_0x498856: 0x286,
|
|
1641
|
+
_0x5872d8: 0x324,
|
|
1642
|
+
_0x671f: 0x21e,
|
|
1643
|
+
_0x1de848: 0x270,
|
|
1644
|
+
_0x493021: 0x33c,
|
|
1645
|
+
_0x1de085: 0x1f8,
|
|
1646
|
+
_0x422457: 0x2ff,
|
|
1647
|
+
_0x19a504: 0x2dc,
|
|
1648
|
+
_0x759333: 0x2df,
|
|
1649
|
+
_0x450fc5: 0x211,
|
|
1650
|
+
_0x10f292: 0x318,
|
|
1651
|
+
_0x27c9d5: 0x2a8,
|
|
1652
|
+
_0x6f0a7: 0x344,
|
|
1653
|
+
_0x1a664e: 0x2a1,
|
|
1654
|
+
_0xac9df4: 0x21e,
|
|
1655
|
+
_0x3c91e6: 0x1fe,
|
|
1656
|
+
_0x437b83: 0x1f1,
|
|
1657
|
+
_0x3d1026: 0x2e5,
|
|
1658
|
+
_0x2a1774: 0x20e,
|
|
1659
|
+
_0x2541a5: 0x277,
|
|
1660
|
+
_0x30c2d2: 0x32e,
|
|
1661
|
+
_0x1cdf1c: 0x1f7,
|
|
1662
|
+
_0x5b8b0e: 0x274,
|
|
1663
|
+
_0xcef203: 0x225,
|
|
1664
|
+
_0x2434f6: 0x2c6
|
|
1665
|
+
}, _0x1b3783 = {
|
|
1666
|
+
_0x3d3cde: 0x323,
|
|
1667
|
+
_0x12fa66: 0x32d,
|
|
1668
|
+
_0x58969b: 0x329,
|
|
1669
|
+
_0x55c2f2: 0x2d9
|
|
1670
|
+
}, _0x26ff52 = {
|
|
1671
|
+
_0x369075: 0x2f4,
|
|
1672
|
+
_0x5335fc: 0x323,
|
|
1673
|
+
_0x4d8997: 0x329,
|
|
1674
|
+
_0x2a4a76: 0x2d9
|
|
1675
|
+
}, _0x5b11e4 = {
|
|
1676
|
+
_0x1f8eba: 0x2b6,
|
|
1677
|
+
_0x2d2c4c: 0x26b,
|
|
1678
|
+
_0x2ea76c: 0x20e,
|
|
1679
|
+
_0x495380: 0x2cd,
|
|
1680
|
+
_0x37578f: 0x269,
|
|
1681
|
+
_0x52e304: 0x25e,
|
|
1682
|
+
_0xa70bb2: 0x2f5,
|
|
1683
|
+
_0x45429f: 0x250,
|
|
1684
|
+
_0x5ac2b0: 0x2ff,
|
|
1685
|
+
_0x57a539: 0x2ef,
|
|
1686
|
+
_0x22f6ba: 0x2a7,
|
|
1687
|
+
_0x13d0c7: 0x2f4,
|
|
1688
|
+
_0x2f2fe4: 0x22d,
|
|
1689
|
+
_0x2ad177: 0x25e,
|
|
1690
|
+
_0x20af9f: 0x2f1,
|
|
1691
|
+
_0x4fb4b7: 0x2e0
|
|
1692
|
+
}, _0x47cbb4 = {
|
|
1693
|
+
_0x1e82d2: 0x249,
|
|
1694
|
+
_0x424afa: 0x1dc,
|
|
1695
|
+
_0x113989: 0x1d7,
|
|
1696
|
+
_0x13c04e: 0x23c
|
|
1697
|
+
}, _0x21d8f1 = _0x855546;
|
|
1698
|
+
function _0x1e60ad(_0x34f97c, _0x25f279) {
|
|
1699
|
+
const _0x2cdc24 = _0x17ac;
|
|
1700
|
+
if (!_0x430934[_0x2cdc24(_0x47cbb4._0x1e82d2)])
|
|
1728
1701
|
return;
|
|
1729
|
-
if (!
|
|
1730
|
-
throw new Error(
|
|
1731
|
-
if (
|
|
1732
|
-
throw new Error(
|
|
1702
|
+
if (!_0x430934[_0x2cdc24(0x1d7)])
|
|
1703
|
+
throw new Error(_0x34f97c + _0x2cdc24(_0x47cbb4._0x424afa));
|
|
1704
|
+
if (_0x25f279 !== _0x430934[_0x2cdc24(_0x47cbb4._0x113989)])
|
|
1705
|
+
throw new Error(_0x34f97c + _0x2cdc24(_0x47cbb4._0x13c04e) + _0x430934[_0x2cdc24(0x1d7)] + _0x2cdc24(0x33d) + _0x25f279);
|
|
1733
1706
|
}
|
|
1734
|
-
async function
|
|
1735
|
-
const
|
|
1736
|
-
if (!
|
|
1707
|
+
async function _0x4baf5d(_0x121895) {
|
|
1708
|
+
const _0x47fc62 = _0x17ac;
|
|
1709
|
+
if (!_0x430934[_0x47fc62(0x323)] || !_0x430934[_0x47fc62(0x2f4)] || _0x430934[_0x47fc62(0x249)] || _0x430934['workerModeEnabled'] !== !![])
|
|
1737
1710
|
return null;
|
|
1738
|
-
const
|
|
1739
|
-
if (
|
|
1711
|
+
const _0x3b9111 = parseTarget(_0x121895[_0x47fc62(0x280)]);
|
|
1712
|
+
if (_0x3b9111[_0x47fc62(0x25a)] !== _0x47fc62(0x280))
|
|
1740
1713
|
return null;
|
|
1741
|
-
const
|
|
1742
|
-
let
|
|
1714
|
+
const _0x37fb9d = _0x121895[_0x47fc62(_0x5b11e4._0x1f8eba)] != null ? _0x3b9111[_0x47fc62(0x305)] + ':t' + _0x121895[_0x47fc62(_0x5b11e4._0x1f8eba)] : _0x3b9111[_0x47fc62(0x305)] + ':' + _0x121895[_0x47fc62(_0x5b11e4._0x2d2c4c)];
|
|
1715
|
+
let _0x36dc49;
|
|
1743
1716
|
try {
|
|
1744
|
-
const
|
|
1745
|
-
'channel':
|
|
1717
|
+
const _0x3dbcd3 = await _0x430934[_0x47fc62(_0x5b11e4._0x2ea76c)][_0x47fc62(0x25b)]({
|
|
1718
|
+
'channel': _0x37fb9d,
|
|
1746
1719
|
'limit': 0x14
|
|
1747
1720
|
});
|
|
1748
|
-
|
|
1721
|
+
_0x36dc49 = _0x3dbcd3[_0x47fc62(_0x5b11e4._0x495380)][_0x47fc62(_0x5b11e4._0x37578f)](_0x6bd6ef => _0x6bd6ef[_0x47fc62(0x26b)] === _0x121895[_0x47fc62(0x26b)]);
|
|
1749
1722
|
} catch {
|
|
1750
|
-
|
|
1723
|
+
_0x36dc49 = void 0x0;
|
|
1751
1724
|
}
|
|
1752
|
-
const
|
|
1753
|
-
|
|
1725
|
+
const _0x22c041 = _0x121895[_0x47fc62(_0x5b11e4._0x52e304)] == null ? _0x47fc62(_0x5b11e4._0xa70bb2) : '#' + _0x121895[_0x47fc62(0x25e)], _0x13dac1 = [
|
|
1726
|
+
_0x47fc62(0x1f8) + _0x37fb9d + _0x47fc62(_0x5b11e4._0x45429f) + _0x121895[_0x47fc62(0x26b)]['slice'](0x0, 0x8) + _0x47fc62(0x340) + new Date()[_0x47fc62(_0x5b11e4._0x5ac2b0)]() + ']\x20@system:\x20[claim-handoff]\x20' + _0x22c041 + _0x47fc62(0x287),
|
|
1754
1727
|
'',
|
|
1755
|
-
|
|
1728
|
+
_0x36dc49 ? _0x47fc62(_0x5b11e4._0x57a539) + _0x36dc49[_0x47fc62(0x1f7)] : 'Root\x20task\x20message\x20id:\x20' + _0x121895[_0x47fc62(_0x5b11e4._0x2d2c4c)],
|
|
1756
1729
|
'',
|
|
1757
|
-
'Thread\x20target:\x20' +
|
|
1758
|
-
|
|
1759
|
-
][
|
|
1760
|
-
'method':
|
|
1761
|
-
'headers': { 'Content-Type':
|
|
1762
|
-
'body': JSON[
|
|
1763
|
-
'agent_id':
|
|
1764
|
-
'thread_target':
|
|
1730
|
+
'Thread\x20target:\x20' + _0x37fb9d,
|
|
1731
|
+
_0x47fc62(0x229)
|
|
1732
|
+
]['join']('\x0a'), _0x404c0f = await fetch(_0x430934[_0x47fc62(0x323)] + _0x47fc62(_0x5b11e4._0x22f6ba), {
|
|
1733
|
+
'method': _0x47fc62(0x318),
|
|
1734
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1735
|
+
'body': JSON[_0x47fc62(0x219)]({
|
|
1736
|
+
'agent_id': _0x430934[_0x47fc62(_0x5b11e4._0x13d0c7)],
|
|
1737
|
+
'thread_target': _0x37fb9d,
|
|
1765
1738
|
'spawn_packet': {
|
|
1766
|
-
'replyTarget':
|
|
1767
|
-
...
|
|
1739
|
+
'replyTarget': _0x37fb9d,
|
|
1740
|
+
..._0x121895['taskId'] ? { 'taskId': _0x121895[_0x47fc62(_0x5b11e4._0x2f2fe4)] } : _0x121895[_0x47fc62(_0x5b11e4._0x2ad177)] != null ? { 'taskId': 'task-' + _0x121895['taskNumber'] } : {}
|
|
1768
1741
|
},
|
|
1769
1742
|
'payload': {
|
|
1770
|
-
'mode':
|
|
1771
|
-
'text':
|
|
1743
|
+
'mode': 'user',
|
|
1744
|
+
'text': _0x13dac1
|
|
1772
1745
|
}
|
|
1773
1746
|
})
|
|
1774
|
-
}),
|
|
1775
|
-
if (!
|
|
1776
|
-
throw new Error(
|
|
1747
|
+
}), _0x138a61 = await _0x404c0f[_0x47fc62(0x1e0)]();
|
|
1748
|
+
if (!_0x138a61['ok'])
|
|
1749
|
+
throw new Error(_0x138a61['error'] ?? _0x47fc62(0x23a));
|
|
1777
1750
|
return {
|
|
1778
1751
|
'stopMain': !![],
|
|
1779
|
-
'threadTarget':
|
|
1780
|
-
'workerDisposition':
|
|
1752
|
+
'threadTarget': _0x37fb9d,
|
|
1753
|
+
'workerDisposition': _0x138a61[_0x47fc62(0x1f1)] === _0x47fc62(0x26a) ? _0x47fc62(0x26a) : _0x47fc62(0x223),
|
|
1781
1754
|
'workerHandoff': !![],
|
|
1782
|
-
'workerSessionId':
|
|
1783
|
-
'executionMode':
|
|
1755
|
+
'workerSessionId': _0x138a61[_0x47fc62(_0x5b11e4._0x20af9f)] ?? '',
|
|
1756
|
+
'executionMode': _0x47fc62(_0x5b11e4._0x4fb4b7)
|
|
1784
1757
|
};
|
|
1785
1758
|
}
|
|
1786
|
-
async function
|
|
1787
|
-
const
|
|
1788
|
-
if (!
|
|
1759
|
+
async function _0x255716() {
|
|
1760
|
+
const _0xbbbc67 = _0x17ac;
|
|
1761
|
+
if (!_0x430934['daemonLocalUrl'] || !_0x430934[_0xbbbc67(_0x26ff52._0x369075)] || _0x430934['workerMode'])
|
|
1789
1762
|
return null;
|
|
1790
1763
|
try {
|
|
1791
|
-
const
|
|
1792
|
-
if (!
|
|
1764
|
+
const _0x85565e = await fetch(_0x430934[_0xbbbc67(_0x26ff52._0x5335fc)] + _0xbbbc67(0x32d) + encodeURIComponent(_0x430934[_0xbbbc67(_0x26ff52._0x369075)])), _0x5ed60f = await _0x85565e[_0xbbbc67(0x1e0)]();
|
|
1765
|
+
if (!_0x5ed60f['ok'])
|
|
1793
1766
|
return null;
|
|
1794
|
-
const
|
|
1795
|
-
for (const
|
|
1796
|
-
|
|
1767
|
+
const _0x49a1a8 = new Set();
|
|
1768
|
+
for (const _0x11c493 of _0x5ed60f[_0xbbbc67(_0x26ff52._0x4d8997)]) {
|
|
1769
|
+
_0x11c493[_0xbbbc67(_0x26ff52._0x2a4a76)] !== 'destroyed' && _0x11c493[_0xbbbc67(0x285)] && _0x49a1a8['add'](_0x11c493[_0xbbbc67(0x285)]);
|
|
1797
1770
|
}
|
|
1798
|
-
return
|
|
1771
|
+
return _0x49a1a8[_0xbbbc67(0x2fb)] > 0x0 ? _0x49a1a8 : null;
|
|
1799
1772
|
} catch {
|
|
1800
1773
|
return null;
|
|
1801
1774
|
}
|
|
1802
1775
|
}
|
|
1803
|
-
const
|
|
1804
|
-
|
|
1805
|
-
|
|
1776
|
+
const _0x48d7f8 = new Set([
|
|
1777
|
+
'running',
|
|
1778
|
+
_0x21d8f1(_0x484c8f._0x4cc263),
|
|
1806
1779
|
'waiting_input'
|
|
1807
1780
|
]);
|
|
1808
|
-
async function
|
|
1809
|
-
const
|
|
1810
|
-
if (!
|
|
1781
|
+
async function _0x1d8449() {
|
|
1782
|
+
const _0x45b170 = _0x21d8f1;
|
|
1783
|
+
if (!_0x430934[_0x45b170(_0x1b3783._0x3d3cde)] || !_0x430934[_0x45b170(0x2f4)] || _0x430934[_0x45b170(0x249)])
|
|
1811
1784
|
return null;
|
|
1812
1785
|
try {
|
|
1813
|
-
const
|
|
1814
|
-
if (!
|
|
1786
|
+
const _0xe527c8 = await fetch(_0x430934['daemonLocalUrl'] + _0x45b170(_0x1b3783._0x12fa66) + encodeURIComponent(_0x430934[_0x45b170(0x2f4)])), _0x2b2770 = await _0xe527c8[_0x45b170(0x1e0)]();
|
|
1787
|
+
if (!_0x2b2770['ok'])
|
|
1815
1788
|
return null;
|
|
1816
|
-
const
|
|
1817
|
-
for (const
|
|
1818
|
-
|
|
1789
|
+
const _0x4619de = new Set();
|
|
1790
|
+
for (const _0x28e16b of _0x2b2770[_0x45b170(_0x1b3783._0x58969b)]) {
|
|
1791
|
+
_0x48d7f8[_0x45b170(0x202)](_0x28e16b[_0x45b170(_0x1b3783._0x55c2f2)]) && _0x28e16b[_0x45b170(0x285)] && _0x4619de[_0x45b170(0x348)](_0x28e16b['thread_target']);
|
|
1819
1792
|
}
|
|
1820
|
-
return
|
|
1793
|
+
return _0x4619de[_0x45b170(0x2fb)] > 0x0 ? _0x4619de : null;
|
|
1821
1794
|
} catch {
|
|
1822
1795
|
return null;
|
|
1823
1796
|
}
|
|
1824
1797
|
}
|
|
1825
1798
|
return {
|
|
1826
|
-
async 'send_message'(
|
|
1827
|
-
const
|
|
1828
|
-
if (!
|
|
1829
|
-
const
|
|
1830
|
-
if (
|
|
1831
|
-
const
|
|
1832
|
-
if (
|
|
1799
|
+
async 'send_message'(_0x1e513a) {
|
|
1800
|
+
const _0x21caff = _0x21d8f1;
|
|
1801
|
+
if (!_0x430934[_0x21caff(0x249)] && _0x430934['workerModeEnabled'] && _0x430934[_0x21caff(_0x1e94ba._0x1b2722)] && _0x430934['agentId']) {
|
|
1802
|
+
const _0x4c623a = await _0x430934['client'][_0x21caff(0x1df)](_0x1e513a[_0x21caff(0x221)]);
|
|
1803
|
+
if (_0x4c623a['task'] && _0x4c623a[_0x21caff(0x2e4)]) {
|
|
1804
|
+
const _0xab2579 = _0x4c623a[_0x21caff(0x28a)][_0x21caff(0x25e)] != null ? '#' + _0x4c623a[_0x21caff(_0x1e94ba._0x4ec4f0)][_0x21caff(0x25e)] : _0x21caff(_0x1e94ba._0x554fe2), _0x5268b8 = _0x4c623a[_0x21caff(_0x1e94ba._0x38a82e)] != null ? _0x4c623a['target'] + ':t' + _0x4c623a[_0x21caff(0x2b6)] : _0x4c623a[_0x21caff(_0x1e94ba._0x26e648)] + ':' + _0x4c623a[_0x21caff(_0x1e94ba._0x1cdb27)][_0x21caff(_0x1e94ba._0x498856)](0x0, 0x8), _0x94805f = await _0x1d8449();
|
|
1805
|
+
if (_0x94805f?.[_0x21caff(0x202)](_0x5268b8))
|
|
1833
1806
|
return [
|
|
1834
|
-
|
|
1835
|
-
|
|
1807
|
+
_0x21caff(_0x1e94ba._0x5872d8) + _0xab2579 + _0x21caff(_0x1e94ba._0x671f) + _0x5268b8 + _0x21caff(_0x1e94ba._0x1de848),
|
|
1808
|
+
_0x21caff(_0x1e94ba._0x493021)
|
|
1836
1809
|
]['join']('\x0a');
|
|
1837
|
-
const
|
|
1838
|
-
|
|
1810
|
+
const _0x5adf36 = [
|
|
1811
|
+
_0x21caff(_0x1e94ba._0x1de085) + _0x5268b8 + _0x21caff(0x2fd) + new Date()[_0x21caff(_0x1e94ba._0x422457)]() + _0x21caff(0x1e4),
|
|
1839
1812
|
'',
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
][
|
|
1845
|
-
'method':
|
|
1846
|
-
'headers': { 'Content-Type':
|
|
1847
|
-
'body': JSON[
|
|
1848
|
-
'agent_id':
|
|
1849
|
-
'thread_target':
|
|
1813
|
+
_0x21caff(_0x1e94ba._0x19a504) + _0x1e513a[_0x21caff(0x1f7)],
|
|
1814
|
+
'Task:\x20' + _0xab2579 + '\x20(' + _0x4c623a[_0x21caff(_0x1e94ba._0x4ec4f0)]['taskId'] + ')',
|
|
1815
|
+
_0x21caff(0x2d2) + _0x5268b8,
|
|
1816
|
+
_0x21caff(_0x1e94ba._0x759333)
|
|
1817
|
+
][_0x21caff(_0x1e94ba._0x450fc5)]('\x0a'), _0x4e054b = await fetch(_0x430934[_0x21caff(_0x1e94ba._0x1b2722)] + _0x21caff(0x2a7), {
|
|
1818
|
+
'method': _0x21caff(_0x1e94ba._0x10f292),
|
|
1819
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1820
|
+
'body': JSON['stringify']({
|
|
1821
|
+
'agent_id': _0x430934['agentId'],
|
|
1822
|
+
'thread_target': _0x5268b8,
|
|
1850
1823
|
'spawn_packet': {
|
|
1851
|
-
'replyTarget':
|
|
1852
|
-
'taskId':
|
|
1824
|
+
'replyTarget': _0x5268b8,
|
|
1825
|
+
'taskId': _0x4c623a['task']['taskId']
|
|
1853
1826
|
},
|
|
1854
1827
|
'payload': {
|
|
1855
|
-
'mode':
|
|
1856
|
-
'text':
|
|
1828
|
+
'mode': _0x21caff(_0x1e94ba._0x27c9d5),
|
|
1829
|
+
'text': _0x5adf36
|
|
1857
1830
|
}
|
|
1858
1831
|
})
|
|
1859
|
-
}),
|
|
1860
|
-
if (!
|
|
1861
|
-
throw new Error(
|
|
1832
|
+
}), _0x59a07b = await _0x4e054b['json']();
|
|
1833
|
+
if (!_0x59a07b['ok'])
|
|
1834
|
+
throw new Error(_0x59a07b['error'] ?? _0x21caff(_0x1e94ba._0x6f0a7));
|
|
1862
1835
|
return [
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
][
|
|
1836
|
+
_0x21caff(_0x1e94ba._0x1a664e) + _0xab2579 + _0x21caff(_0x1e94ba._0xac9df4) + _0x5268b8 + _0x21caff(_0x1e94ba._0x3c91e6),
|
|
1837
|
+
'Worker\x20' + (_0x59a07b[_0x21caff(_0x1e94ba._0x437b83)] === 'queued' ? _0x21caff(0x26a) : 'started') + '.',
|
|
1838
|
+
_0x21caff(_0x1e94ba._0x3d1026)
|
|
1839
|
+
][_0x21caff(0x211)]('\x0a');
|
|
1867
1840
|
}
|
|
1868
1841
|
}
|
|
1869
|
-
const
|
|
1870
|
-
'attachmentIds':
|
|
1871
|
-
'content':
|
|
1872
|
-
'target':
|
|
1873
|
-
'visibility':
|
|
1842
|
+
const _0x363293 = await _0x430934[_0x21caff(_0x1e94ba._0x2a1774)][_0x21caff(_0x1e94ba._0x2541a5)]({
|
|
1843
|
+
'attachmentIds': _0x1e513a[_0x21caff(_0x1e94ba._0x30c2d2)],
|
|
1844
|
+
'content': _0x1e513a[_0x21caff(_0x1e94ba._0x1cdf1c)],
|
|
1845
|
+
'target': _0x1e513a[_0x21caff(_0x1e94ba._0x26e648)],
|
|
1846
|
+
'visibility': _0x1e513a[_0x21caff(_0x1e94ba._0x5b8b0e)]
|
|
1874
1847
|
});
|
|
1875
|
-
return
|
|
1848
|
+
return _0x21caff(_0x1e94ba._0xcef203) + _0x1e513a[_0x21caff(_0x1e94ba._0x26e648)] + _0x21caff(_0x1e94ba._0x2434f6) + _0x363293['messageId'];
|
|
1876
1849
|
},
|
|
1877
1850
|
async 'check_messages'() {
|
|
1878
|
-
const
|
|
1879
|
-
if (!
|
|
1880
|
-
const
|
|
1881
|
-
if (
|
|
1882
|
-
return formatCheckMessages(
|
|
1851
|
+
const _0x2bdb19 = _0x21d8f1, _0x58e698 = await _0x430934[_0x2bdb19(0x20e)][_0x2bdb19(_0x2fa3ad._0x507b29)]();
|
|
1852
|
+
if (!_0x430934[_0x2bdb19(_0x2fa3ad._0x1e465a)]) {
|
|
1853
|
+
const _0x4bf395 = await _0x255716();
|
|
1854
|
+
if (_0x4bf395)
|
|
1855
|
+
return formatCheckMessages(_0x58e698['messages'][_0x2bdb19(_0x2fa3ad._0x53ad5d)](_0x8e79c9 => !_0x4bf395[_0x2bdb19(0x202)](_0x8e79c9['target'])));
|
|
1883
1856
|
}
|
|
1884
|
-
return formatCheckMessages(
|
|
1857
|
+
return formatCheckMessages(_0x58e698[_0x2bdb19(0x2cd)]);
|
|
1885
1858
|
},
|
|
1886
|
-
async 'read_history'(
|
|
1887
|
-
const
|
|
1888
|
-
return formatHistory(
|
|
1859
|
+
async 'read_history'(_0xb401c6) {
|
|
1860
|
+
const _0x365cf8 = _0x21d8f1, _0x4cac02 = await _0x430934[_0x365cf8(_0x126e6e._0x23626d)][_0x365cf8(0x25b)](_0xb401c6);
|
|
1861
|
+
return formatHistory(_0x4cac02);
|
|
1889
1862
|
},
|
|
1890
1863
|
async 'list_server'() {
|
|
1891
|
-
const
|
|
1892
|
-
return formatServerDirectory(
|
|
1864
|
+
const _0x4289ab = _0x21d8f1, _0x4e79d3 = await _0x430934[_0x4289ab(_0x100a4f._0x2e9ec4)]['listServer']();
|
|
1865
|
+
return formatServerDirectory(_0x4e79d3);
|
|
1893
1866
|
},
|
|
1894
|
-
async 'list_tasks'(
|
|
1895
|
-
const
|
|
1896
|
-
let
|
|
1897
|
-
if (
|
|
1867
|
+
async 'list_tasks'(_0x3b65cd) {
|
|
1868
|
+
const _0xb5f18a = _0x21d8f1, _0x1b3f39 = await _0x430934[_0xb5f18a(_0x2ba06a._0xb310d4)]['listTasks'](_0x3b65cd);
|
|
1869
|
+
let _0x3885c4;
|
|
1870
|
+
if (_0x430934[_0xb5f18a(0x323)] && _0x430934['agentId'])
|
|
1898
1871
|
try {
|
|
1899
|
-
const
|
|
1900
|
-
if (
|
|
1901
|
-
const
|
|
1902
|
-
|
|
1903
|
-
for (const
|
|
1904
|
-
if (
|
|
1872
|
+
const _0x3d779e = await fetch(_0x430934[_0xb5f18a(0x323)] + _0xb5f18a(0x32d) + encodeURIComponent(_0x430934[_0xb5f18a(0x2f4)])), _0xf91651 = await _0x3d779e['json']();
|
|
1873
|
+
if (_0xf91651['ok']) {
|
|
1874
|
+
const _0x559304 = _0x3b65cd[_0xb5f18a(0x280)] + ':';
|
|
1875
|
+
_0x3885c4 = new Set();
|
|
1876
|
+
for (const _0x294e4d of _0xf91651[_0xb5f18a(_0x2ba06a._0x20d994)]) {
|
|
1877
|
+
if (_0x294e4d[_0xb5f18a(0x2d9)] === _0xb5f18a(0x2cb))
|
|
1905
1878
|
continue;
|
|
1906
|
-
if (
|
|
1907
|
-
const
|
|
1908
|
-
if (
|
|
1909
|
-
|
|
1879
|
+
if (_0x294e4d['thread_target']?.[_0xb5f18a(_0x2ba06a._0x5f0a89)](_0x559304)) {
|
|
1880
|
+
const _0x855d1a = _0x294e4d[_0xb5f18a(0x285)][_0xb5f18a(0x286)](_0x559304[_0xb5f18a(_0x2ba06a._0x5e16c8)]), _0x228a8b = _0x1b3f39[_0xb5f18a(0x2b2)][_0xb5f18a(0x269)](_0x2e6427 => _0x2e6427[_0xb5f18a(0x26b)]?.[_0xb5f18a(0x24f)](_0x855d1a) === !![]);
|
|
1881
|
+
if (_0x228a8b?.[_0xb5f18a(0x25e)] != null) {
|
|
1882
|
+
_0x3885c4[_0xb5f18a(0x348)](_0x228a8b['taskNumber']);
|
|
1910
1883
|
continue;
|
|
1911
1884
|
}
|
|
1912
1885
|
}
|
|
1913
|
-
if (
|
|
1914
|
-
const
|
|
1915
|
-
|
|
1886
|
+
if (_0x294e4d['task_id']) {
|
|
1887
|
+
const _0x526a30 = _0x1b3f39[_0xb5f18a(0x2b2)][_0xb5f18a(_0x2ba06a._0x5d758d)](_0x3d8ec6 => _0x3d8ec6[_0xb5f18a(0x22d)] === _0x294e4d[_0xb5f18a(0x245)]);
|
|
1888
|
+
_0x526a30?.['taskNumber'] != null && _0x3885c4[_0xb5f18a(0x348)](_0x526a30['taskNumber']);
|
|
1916
1889
|
}
|
|
1917
1890
|
}
|
|
1918
1891
|
}
|
|
1919
1892
|
} catch {
|
|
1920
1893
|
}
|
|
1921
|
-
return formatTaskList(
|
|
1894
|
+
return formatTaskList(_0x1b3f39[_0xb5f18a(0x2b2)], _0x3885c4);
|
|
1922
1895
|
},
|
|
1923
|
-
async 'create_tasks'(
|
|
1924
|
-
const
|
|
1925
|
-
|
|
1926
|
-
const
|
|
1927
|
-
return formatCreatedTasks(
|
|
1896
|
+
async 'create_tasks'(_0x4d6447) {
|
|
1897
|
+
const _0x5c11cc = _0x21d8f1;
|
|
1898
|
+
_0x1e60ad(_0x5c11cc(_0x3c8972._0x1474e1), _0x4d6447[_0x5c11cc(0x280)]);
|
|
1899
|
+
const _0x18a53b = await _0x430934[_0x5c11cc(0x20e)][_0x5c11cc(0x2ac)](_0x4d6447);
|
|
1900
|
+
return formatCreatedTasks(_0x18a53b['tasks']);
|
|
1928
1901
|
},
|
|
1929
|
-
async 'claim_tasks'(
|
|
1930
|
-
const
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1902
|
+
async 'claim_tasks'(_0x52a78e) {
|
|
1903
|
+
const _0x42c868 = {
|
|
1904
|
+
_0x3b83ec: 0x345,
|
|
1905
|
+
_0x228dff: 0x26b,
|
|
1906
|
+
_0x5a67f4: 0x22d,
|
|
1907
|
+
_0x3636d6: 0x25e,
|
|
1908
|
+
_0x42019a: 0x31e
|
|
1909
|
+
}, _0x18d493 = _0x21d8f1;
|
|
1910
|
+
if (_0x430934[_0x18d493(_0x4811af._0x434c51)]) {
|
|
1911
|
+
_0x1e60ad(_0x18d493(0x307), _0x52a78e['channel']);
|
|
1912
|
+
if (_0x52a78e[_0x18d493(0x206)] && _0x52a78e['message_ids']['length'] > 0x0)
|
|
1913
|
+
throw new Error(_0x18d493(0x327));
|
|
1914
|
+
if (!_0x52a78e['subtask_numbers'] || _0x52a78e[_0x18d493(_0x4811af._0x18d3da)][_0x18d493(_0x4811af._0x3e7d9f)] === 0x0)
|
|
1915
|
+
throw new Error(_0x18d493(_0x4811af._0x5ba21f));
|
|
1937
1916
|
}
|
|
1938
|
-
const
|
|
1939
|
-
const
|
|
1940
|
-
if (!
|
|
1941
|
-
return
|
|
1917
|
+
const _0x3161e6 = await _0x430934['client'][_0x18d493(_0x4811af._0x423d8c)](_0x52a78e), _0x3fe7b6 = await Promise['all'](_0x3161e6[_0x18d493(0x332)][_0x18d493(0x34b)](async _0x16b9d9 => {
|
|
1918
|
+
const _0x1cc4ec = _0x18d493;
|
|
1919
|
+
if (!_0x16b9d9[_0x1cc4ec(_0x42c868._0x3b83ec)] || !_0x16b9d9[_0x1cc4ec(_0x42c868._0x228dff)])
|
|
1920
|
+
return _0x16b9d9;
|
|
1942
1921
|
try {
|
|
1943
|
-
const
|
|
1944
|
-
'channel':
|
|
1945
|
-
'messageId':
|
|
1946
|
-
'taskId':
|
|
1947
|
-
'taskNumber':
|
|
1948
|
-
'threadNumber':
|
|
1922
|
+
const _0x4bc5b2 = await _0x4baf5d({
|
|
1923
|
+
'channel': _0x52a78e['channel'],
|
|
1924
|
+
'messageId': _0x16b9d9[_0x1cc4ec(0x26b)],
|
|
1925
|
+
'taskId': _0x16b9d9[_0x1cc4ec(_0x42c868._0x5a67f4)],
|
|
1926
|
+
'taskNumber': _0x16b9d9[_0x1cc4ec(_0x42c868._0x3636d6)],
|
|
1927
|
+
'threadNumber': _0x16b9d9['threadNumber']
|
|
1949
1928
|
});
|
|
1950
|
-
return
|
|
1951
|
-
...
|
|
1952
|
-
...
|
|
1953
|
-
} :
|
|
1954
|
-
} catch (
|
|
1929
|
+
return _0x4bc5b2 ? {
|
|
1930
|
+
..._0x16b9d9,
|
|
1931
|
+
..._0x4bc5b2
|
|
1932
|
+
} : _0x16b9d9;
|
|
1933
|
+
} catch (_0x49de38) {
|
|
1955
1934
|
return {
|
|
1956
|
-
...
|
|
1957
|
-
'workerHandoffError':
|
|
1935
|
+
..._0x16b9d9,
|
|
1936
|
+
'workerHandoffError': _0x49de38 instanceof Error ? _0x49de38[_0x1cc4ec(_0x42c868._0x42019a)] : _0x1cc4ec(0x23a)
|
|
1958
1937
|
};
|
|
1959
1938
|
}
|
|
1960
1939
|
}));
|
|
1961
|
-
return formatClaimTaskResults(
|
|
1940
|
+
return formatClaimTaskResults(_0x3fe7b6);
|
|
1962
1941
|
},
|
|
1963
|
-
async 'unclaim_task'(
|
|
1964
|
-
const
|
|
1965
|
-
if (
|
|
1966
|
-
|
|
1967
|
-
if (
|
|
1968
|
-
throw new Error(
|
|
1942
|
+
async 'unclaim_task'(_0x52fda4) {
|
|
1943
|
+
const _0x5d575d = _0x21d8f1;
|
|
1944
|
+
if (_0x430934['workerMode']) {
|
|
1945
|
+
_0x1e60ad(_0x5d575d(_0x1d0741._0x25888a), _0x52fda4['channel']);
|
|
1946
|
+
if (_0x52fda4[_0x5d575d(0x222)] == null)
|
|
1947
|
+
throw new Error(_0x5d575d(_0x1d0741._0x1de8b5));
|
|
1969
1948
|
}
|
|
1970
|
-
const
|
|
1971
|
-
return formatUnclaimTaskResult(
|
|
1949
|
+
const _0x1ae1a8 = await _0x430934[_0x5d575d(0x20e)]['unclaimTask'](_0x52fda4);
|
|
1950
|
+
return formatUnclaimTaskResult(_0x1ae1a8);
|
|
1972
1951
|
},
|
|
1973
|
-
async 'update_task_status'(
|
|
1974
|
-
const
|
|
1975
|
-
|
|
1976
|
-
const
|
|
1977
|
-
return formatUpdateTaskStatusResult(
|
|
1952
|
+
async 'update_task_status'(_0xbd5020) {
|
|
1953
|
+
const _0x3563a0 = _0x21d8f1;
|
|
1954
|
+
_0x1e60ad(_0x3563a0(0x331), _0xbd5020['channel']);
|
|
1955
|
+
const _0x1dabec = await _0x430934[_0x3563a0(_0x50b294._0xef7a04)][_0x3563a0(0x291)](_0xbd5020);
|
|
1956
|
+
return formatUpdateTaskStatusResult(_0x1dabec);
|
|
1978
1957
|
},
|
|
1979
|
-
async 'upload_file'(
|
|
1980
|
-
const
|
|
1981
|
-
sizeBytes:
|
|
1982
|
-
...
|
|
1983
|
-
} =
|
|
1984
|
-
'channel':
|
|
1985
|
-
...
|
|
1958
|
+
async 'upload_file'(_0x53f196) {
|
|
1959
|
+
const _0x43b97e = _0x21d8f1, _0x29db90 = await _0x430934[_0x43b97e(0x312)](_0x53f196[_0x43b97e(_0x50c129._0x20e487)]), {
|
|
1960
|
+
sizeBytes: _0x13c7f8,
|
|
1961
|
+
..._0x15e153
|
|
1962
|
+
} = _0x29db90, _0x25853b = await _0x430934['client'][_0x43b97e(0x2e9)]({
|
|
1963
|
+
'channel': _0x53f196[_0x43b97e(_0x50c129._0x3c56ed)],
|
|
1964
|
+
..._0x15e153
|
|
1986
1965
|
});
|
|
1987
|
-
return formatUploadResult(
|
|
1966
|
+
return formatUploadResult(_0x25853b);
|
|
1988
1967
|
},
|
|
1989
|
-
async 'view_file'(
|
|
1990
|
-
const
|
|
1991
|
-
if (
|
|
1992
|
-
return formatViewFileResult(
|
|
1993
|
-
const
|
|
1994
|
-
'attachmentId':
|
|
1995
|
-
'contentType':
|
|
1996
|
-
'data':
|
|
1997
|
-
'originalFilename':
|
|
1968
|
+
async 'view_file'(_0x7d1acd) {
|
|
1969
|
+
const _0x14726a = _0x21d8f1, _0x5dc009 = await _0x430934[_0x14726a(_0x3e5dd5._0x263ed0)][_0x14726a(0x20b)](_0x7d1acd[_0x14726a(_0x3e5dd5._0x5f2d85)]);
|
|
1970
|
+
if (_0x5dc009)
|
|
1971
|
+
return formatViewFileResult(_0x5dc009, !![]);
|
|
1972
|
+
const _0x1b1350 = await _0x430934['client'][_0x14726a(_0x3e5dd5._0x2f15c7)](_0x7d1acd['attachment_id']), _0x320729 = await _0x430934['attachmentCache'][_0x14726a(_0x3e5dd5._0x4b8743)]({
|
|
1973
|
+
'attachmentId': _0x7d1acd['attachment_id'],
|
|
1974
|
+
'contentType': _0x1b1350[_0x14726a(0x33e)],
|
|
1975
|
+
'data': _0x1b1350[_0x14726a(_0x3e5dd5._0x523485)],
|
|
1976
|
+
'originalFilename': _0x1b1350[_0x14726a(_0x3e5dd5._0x3cfd77)]
|
|
1998
1977
|
});
|
|
1999
|
-
return formatViewFileResult(
|
|
1978
|
+
return formatViewFileResult(_0x320729, ![]);
|
|
2000
1979
|
},
|
|
2001
|
-
async 'get_worker_status'(
|
|
2002
|
-
const
|
|
2003
|
-
if (!
|
|
1980
|
+
async 'get_worker_status'(_0x1b6a2d) {
|
|
1981
|
+
const _0x161bbc = _0x21d8f1;
|
|
1982
|
+
if (!_0x430934[_0x161bbc(_0x5dfdf9._0x2211ed)])
|
|
2004
1983
|
return 'Worker\x20features\x20not\x20available';
|
|
2005
|
-
const
|
|
2006
|
-
if (!
|
|
2007
|
-
return
|
|
2008
|
-
return
|
|
1984
|
+
const _0x7993f = await fetch(_0x430934['daemonLocalUrl'] + _0x161bbc(_0x5dfdf9._0x51e384) + encodeURIComponent(_0x1b6a2d[_0x161bbc(0x30a)])), _0x907ff3 = await _0x7993f['json']();
|
|
1985
|
+
if (!_0x907ff3['ok'])
|
|
1986
|
+
return _0x161bbc(0x244) + _0x1b6a2d[_0x161bbc(_0x5dfdf9._0x2bcbf2)] + _0x161bbc(0x257);
|
|
1987
|
+
return _0x161bbc(0x244) + _0x1b6a2d[_0x161bbc(_0x5dfdf9._0x2bcbf2)] + _0x161bbc(0x1ea) + _0x907ff3[_0x161bbc(0x2d9)];
|
|
2009
1988
|
},
|
|
2010
|
-
async 'park_worker'(
|
|
2011
|
-
const
|
|
2012
|
-
if (!
|
|
2013
|
-
return
|
|
2014
|
-
const
|
|
2015
|
-
'method':
|
|
1989
|
+
async 'park_worker'(_0x3cfd62) {
|
|
1990
|
+
const _0x3c74b3 = _0x21d8f1;
|
|
1991
|
+
if (!_0x430934[_0x3c74b3(0x323)])
|
|
1992
|
+
return _0x3c74b3(0x2de);
|
|
1993
|
+
const _0x4429ba = await fetch(_0x430934[_0x3c74b3(_0x10feaf._0x3d7e2f)] + _0x3c74b3(0x2e3), {
|
|
1994
|
+
'method': _0x3c74b3(0x318),
|
|
2016
1995
|
'headers': { 'Content-Type': 'application/json' },
|
|
2017
|
-
'body': JSON[
|
|
2018
|
-
}),
|
|
2019
|
-
if (!
|
|
2020
|
-
throw new Error(
|
|
2021
|
-
return
|
|
1996
|
+
'body': JSON[_0x3c74b3(_0x10feaf._0x6ae4c8)]({ 'work_key': _0x3cfd62[_0x3c74b3(_0x10feaf._0x3ac7c7)] })
|
|
1997
|
+
}), _0x4f7897 = await _0x4429ba[_0x3c74b3(0x1e0)]();
|
|
1998
|
+
if (!_0x4f7897['ok'])
|
|
1999
|
+
throw new Error(_0x4f7897[_0x3c74b3(0x29d)] ?? 'park_worker\x20failed');
|
|
2000
|
+
return _0x3c74b3(0x244) + _0x3cfd62[_0x3c74b3(0x30a)] + '\x22\x20parked.\x20Same-thread\x20follow-up\x20will\x20resume\x20this\x20lane.';
|
|
2022
2001
|
},
|
|
2023
|
-
async 'mark_waiting_input'(
|
|
2024
|
-
const
|
|
2025
|
-
if (!
|
|
2026
|
-
return
|
|
2027
|
-
const
|
|
2028
|
-
'method':
|
|
2029
|
-
'headers': { 'Content-Type':
|
|
2002
|
+
async 'mark_waiting_input'(_0x2617f6) {
|
|
2003
|
+
const _0x281a3e = _0x21d8f1;
|
|
2004
|
+
if (!_0x430934[_0x281a3e(_0x467985._0x1a2505)] || !_0x430934[_0x281a3e(_0x467985._0x1865bb)])
|
|
2005
|
+
return _0x281a3e(_0x467985._0x3128ff);
|
|
2006
|
+
const _0x358ac1 = await fetch(_0x430934[_0x281a3e(_0x467985._0x88b341)] + '/workers/waiting_input', {
|
|
2007
|
+
'method': _0x281a3e(0x318),
|
|
2008
|
+
'headers': { 'Content-Type': _0x281a3e(_0x467985._0x3ce2d2) },
|
|
2030
2009
|
'body': JSON['stringify']({
|
|
2031
|
-
'work_key':
|
|
2032
|
-
'agent_id':
|
|
2010
|
+
'work_key': _0x2617f6['work_key'],
|
|
2011
|
+
'agent_id': _0x430934[_0x281a3e(0x2f4)]
|
|
2033
2012
|
})
|
|
2034
|
-
}),
|
|
2035
|
-
if (!
|
|
2036
|
-
throw new Error(
|
|
2037
|
-
return
|
|
2013
|
+
}), _0x984337 = await _0x358ac1[_0x281a3e(0x1e0)]();
|
|
2014
|
+
if (!_0x984337['ok'])
|
|
2015
|
+
throw new Error(_0x984337[_0x281a3e(_0x467985._0x5259df)] ?? _0x281a3e(_0x467985._0x1313bc));
|
|
2016
|
+
return _0x281a3e(_0x467985._0x59ea0c) + _0x2617f6[_0x281a3e(0x30a)] + _0x281a3e(0x2cf);
|
|
2038
2017
|
},
|
|
2039
|
-
async 'escalate_to_main'(
|
|
2040
|
-
const
|
|
2041
|
-
if (!
|
|
2042
|
-
return
|
|
2043
|
-
const
|
|
2018
|
+
async 'escalate_to_main'(_0x436422) {
|
|
2019
|
+
const _0x532184 = _0x21d8f1;
|
|
2020
|
+
if (!_0x430934[_0x532184(0x323)])
|
|
2021
|
+
return _0x532184(0x2de);
|
|
2022
|
+
const _0x4b5163 = await fetch(_0x430934[_0x532184(0x323)] + '/workers/escalate', {
|
|
2044
2023
|
'method': 'POST',
|
|
2045
|
-
'headers': { 'Content-Type':
|
|
2046
|
-
'body': JSON[
|
|
2047
|
-
'work_key':
|
|
2048
|
-
'reason':
|
|
2024
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2025
|
+
'body': JSON[_0x532184(_0xb054a3._0x5bf224)]({
|
|
2026
|
+
'work_key': _0x436422['work_key'],
|
|
2027
|
+
'reason': _0x436422[_0x532184(0x2b7)]
|
|
2049
2028
|
})
|
|
2050
|
-
}),
|
|
2051
|
-
if (!
|
|
2052
|
-
throw new Error(
|
|
2053
|
-
return
|
|
2029
|
+
}), _0x468e0a = await _0x4b5163[_0x532184(0x1e0)]();
|
|
2030
|
+
if (!_0x468e0a['ok'])
|
|
2031
|
+
throw new Error(_0x468e0a[_0x532184(_0xb054a3._0x1cb09e)] ?? _0x532184(_0xb054a3._0x4c0fe7));
|
|
2032
|
+
return _0x532184(_0xb054a3._0x52e8c5) + _0x436422['reason'];
|
|
2054
2033
|
}
|
|
2055
2034
|
};
|
|
2056
2035
|
}
|
|
2057
|
-
function textResult(
|
|
2058
|
-
const _0x11eeba = { _0x37288c: 0x2a2 }, _0x31c43f = _0x2cd54a;
|
|
2036
|
+
function textResult(_0x5f4048, _0x2d58e7 = ![]) {
|
|
2059
2037
|
return {
|
|
2060
2038
|
'content': [{
|
|
2061
|
-
'type':
|
|
2062
|
-
'text':
|
|
2039
|
+
'type': 'text',
|
|
2040
|
+
'text': _0x5f4048
|
|
2063
2041
|
}],
|
|
2064
|
-
...
|
|
2042
|
+
..._0x2d58e7 ? { 'isError': !![] } : {}
|
|
2065
2043
|
};
|
|
2066
2044
|
}
|
|
2067
|
-
async function registerChatBridgeTools(
|
|
2068
|
-
const
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2045
|
+
async function registerChatBridgeTools(_0x291fb0, _0x5e8921, _0x473414) {
|
|
2046
|
+
const _0x2f77c0 = {
|
|
2047
|
+
_0x2ae5d7: 0x337,
|
|
2048
|
+
_0x5797a1: 0x2e8,
|
|
2049
|
+
_0x4f4376: 0x247,
|
|
2050
|
+
_0x2c9c5f: 0x352,
|
|
2051
|
+
_0x3c0457: 0x247,
|
|
2052
|
+
_0x19daf6: 0x2f2,
|
|
2053
|
+
_0x3dfbad: 0x1e7,
|
|
2054
|
+
_0x1f6d9a: 0x227,
|
|
2055
|
+
_0x1b7807: 0x267,
|
|
2056
|
+
_0x44d016: 0x1e7,
|
|
2057
|
+
_0x3cf744: 0x343,
|
|
2058
|
+
_0x5bfab7: 0x1e7,
|
|
2059
|
+
_0x10d04e: 0x31a,
|
|
2060
|
+
_0x5c08ba: 0x2e8,
|
|
2061
|
+
_0x1db3fc: 0x230,
|
|
2062
|
+
_0x2d94d2: 0x1e7,
|
|
2063
|
+
_0x19be23: 0x2e8,
|
|
2064
|
+
_0x56d7c7: 0x298,
|
|
2065
|
+
_0x1ae6ea: 0x247,
|
|
2066
|
+
_0x392c5f: 0x1e5,
|
|
2067
|
+
_0x17e436: 0x34f,
|
|
2068
|
+
_0x18bfac: 0x21c,
|
|
2069
|
+
_0x27af25: 0x212,
|
|
2070
|
+
_0x53482e: 0x1e7,
|
|
2071
|
+
_0x1cb1ae: 0x2d0,
|
|
2072
|
+
_0x341b2a: 0x335,
|
|
2073
|
+
_0x5893b0: 0x335,
|
|
2074
|
+
_0x438a41: 0x335,
|
|
2075
|
+
_0x2a93f3: 0x272,
|
|
2076
|
+
_0x53da48: 0x20a,
|
|
2077
|
+
_0x23cd2d: 0x242,
|
|
2078
|
+
_0xefcfbd: 0x247,
|
|
2079
|
+
_0x5cacaa: 0x331,
|
|
2080
|
+
_0x1ee0a6: 0x264,
|
|
2081
|
+
_0x387d1e: 0x267,
|
|
2082
|
+
_0x92003e: 0x311,
|
|
2083
|
+
_0x5c5393: 0x255,
|
|
2084
|
+
_0x4b16e7: 0x1e7,
|
|
2085
|
+
_0xe047d7: 0x1f0,
|
|
2086
|
+
_0x74d498: 0x32f,
|
|
2087
|
+
_0x235011: 0x1e7,
|
|
2088
|
+
_0x5a14ab: 0x29c,
|
|
2089
|
+
_0x48fbbd: 0x33b,
|
|
2090
|
+
_0x1da9da: 0x1e7,
|
|
2091
|
+
_0x4c0b0f: 0x2d4,
|
|
2092
|
+
_0x4e9600: 0x2e8
|
|
2093
|
+
}, _0x20f82c = {
|
|
2094
|
+
_0x14b918: 0x29c,
|
|
2095
|
+
_0x106c2c: 0x239
|
|
2096
|
+
}, _0x24d0ab = {
|
|
2097
|
+
_0x4f427f: 0x31b,
|
|
2098
|
+
_0x5bb810: 0x31e,
|
|
2099
|
+
_0x24b0ba: 0x289
|
|
2100
|
+
}, _0x226c51 = { _0x29377f: 0x31e }, _0x302e0d = { _0x2c542e: 0x31e }, _0x1a7a8d = { _0x1f0110: 0x31e }, _0x4f7af6 = { _0x2570aa: 0x31e }, _0x4640be = { _0x6173cc: 0x231 }, _0x41b7d8 = {
|
|
2101
|
+
_0x45a1b0: 0x343,
|
|
2102
|
+
_0x49144f: 0x1f4
|
|
2103
|
+
}, _0x369f04 = {
|
|
2104
|
+
_0x366b42: 0x227,
|
|
2105
|
+
_0x6bd95: 0x31e
|
|
2106
|
+
}, _0x4216ca = { _0x234c9e: 0x347 }, _0x5e320e = { _0x378e87: 0x32c }, _0x244afe = _0x855546, {z: _0x3caea9} = await import(_0x244afe(_0x2f77c0._0x2ae5d7));
|
|
2107
|
+
_0x291fb0[_0x244afe(0x1e7)](_0x244afe(0x32c), _0x244afe(0x2e1), {
|
|
2108
|
+
'target': _0x3caea9[_0x244afe(_0x2f77c0._0x5797a1)](),
|
|
2109
|
+
'content': _0x3caea9[_0x244afe(_0x2f77c0._0x5797a1)](),
|
|
2110
|
+
'attachment_ids': _0x3caea9['array'](_0x3caea9[_0x244afe(0x2e8)]())[_0x244afe(_0x2f77c0._0x4f4376)](),
|
|
2111
|
+
'visibility': _0x3caea9[_0x244afe(0x29b)]([
|
|
2112
|
+
_0x244afe(_0x2f77c0._0x2c9c5f),
|
|
2113
|
+
_0x244afe(0x2da)
|
|
2114
|
+
])[_0x244afe(_0x2f77c0._0x3c0457)]()[_0x244afe(_0x2f77c0._0x19daf6)]('Optional.\x20If\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20\x22aside\x22\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Do\x20not\x20set\x20outside\x20threads.')
|
|
2115
|
+
}, async _0x2fa56c => {
|
|
2116
|
+
const _0x4c2dd4 = _0x244afe;
|
|
2122
2117
|
try {
|
|
2123
|
-
return textResult(await
|
|
2124
|
-
} catch (
|
|
2125
|
-
return textResult(
|
|
2118
|
+
return textResult(await _0x5e8921[_0x4c2dd4(_0x5e320e._0x378e87)](_0x2fa56c));
|
|
2119
|
+
} catch (_0x4c2dbb) {
|
|
2120
|
+
return textResult(_0x4c2dbb instanceof Error ? _0x4c2dbb[_0x4c2dd4(0x31e)] : _0x4c2dd4(0x2c2), !![]);
|
|
2126
2121
|
}
|
|
2127
|
-
}),
|
|
2128
|
-
const
|
|
2122
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x3dfbad)]('check_messages', 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
2123
|
+
const _0x42d8e2 = _0x244afe;
|
|
2129
2124
|
try {
|
|
2130
|
-
return textResult(await
|
|
2131
|
-
} catch (
|
|
2132
|
-
return textResult(
|
|
2125
|
+
return textResult(await _0x5e8921[_0x42d8e2(_0x4216ca._0x234c9e)]());
|
|
2126
|
+
} catch (_0x546ad8) {
|
|
2127
|
+
return textResult(_0x546ad8 instanceof Error ? _0x546ad8[_0x42d8e2(0x31e)] : 'check_messages\x20failed', !![]);
|
|
2133
2128
|
}
|
|
2134
|
-
}),
|
|
2135
|
-
'channel':
|
|
2136
|
-
'limit':
|
|
2137
|
-
'before':
|
|
2138
|
-
'after':
|
|
2139
|
-
}, async
|
|
2140
|
-
const
|
|
2129
|
+
}), _0x291fb0[_0x244afe(0x1e7)](_0x244afe(_0x2f77c0._0x1f6d9a), _0x244afe(0x317), {
|
|
2130
|
+
'channel': _0x3caea9[_0x244afe(0x2e8)](),
|
|
2131
|
+
'limit': _0x3caea9[_0x244afe(_0x2f77c0._0x1b7807)]()[_0x244afe(_0x2f77c0._0x3c0457)](),
|
|
2132
|
+
'before': _0x3caea9[_0x244afe(0x267)]()['optional'](),
|
|
2133
|
+
'after': _0x3caea9[_0x244afe(0x267)]()['optional']()
|
|
2134
|
+
}, async _0x2bbb3e => {
|
|
2135
|
+
const _0x4862a6 = _0x244afe;
|
|
2141
2136
|
try {
|
|
2142
|
-
return textResult(await
|
|
2143
|
-
} catch (
|
|
2144
|
-
return textResult(
|
|
2137
|
+
return textResult(await _0x5e8921[_0x4862a6(_0x369f04._0x366b42)](_0x2bbb3e));
|
|
2138
|
+
} catch (_0x21ae1b) {
|
|
2139
|
+
return textResult(_0x21ae1b instanceof Error ? _0x21ae1b[_0x4862a6(_0x369f04._0x6bd95)] : _0x4862a6(0x27d), !![]);
|
|
2145
2140
|
}
|
|
2146
|
-
}),
|
|
2147
|
-
const
|
|
2141
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x44d016)](_0x244afe(_0x2f77c0._0x3cf744), _0x244afe(0x350), {}, async () => {
|
|
2142
|
+
const _0x8e7354 = _0x244afe;
|
|
2148
2143
|
try {
|
|
2149
|
-
return textResult(await
|
|
2150
|
-
} catch (
|
|
2151
|
-
return textResult(
|
|
2144
|
+
return textResult(await _0x5e8921[_0x8e7354(_0x41b7d8._0x45a1b0)]());
|
|
2145
|
+
} catch (_0x277b09) {
|
|
2146
|
+
return textResult(_0x277b09 instanceof Error ? _0x277b09[_0x8e7354(0x31e)] : _0x8e7354(_0x41b7d8._0x49144f), !![]);
|
|
2152
2147
|
}
|
|
2153
|
-
}),
|
|
2154
|
-
'channel':
|
|
2155
|
-
'status':
|
|
2156
|
-
|
|
2157
|
-
|
|
2148
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x5bfab7)](_0x244afe(_0x2f77c0._0x10d04e), _0x244afe(0x306), {
|
|
2149
|
+
'channel': _0x3caea9[_0x244afe(_0x2f77c0._0x5c08ba)](),
|
|
2150
|
+
'status': _0x3caea9[_0x244afe(0x29b)]([
|
|
2151
|
+
_0x244afe(_0x2f77c0._0x1db3fc),
|
|
2152
|
+
_0x244afe(0x311),
|
|
2158
2153
|
'in_review',
|
|
2159
|
-
|
|
2160
|
-
])[
|
|
2161
|
-
}, async
|
|
2162
|
-
const
|
|
2154
|
+
_0x244afe(0x255)
|
|
2155
|
+
])['optional']()
|
|
2156
|
+
}, async _0x19e863 => {
|
|
2157
|
+
const _0x50bd55 = _0x244afe;
|
|
2163
2158
|
try {
|
|
2164
|
-
return textResult(await
|
|
2165
|
-
} catch (
|
|
2166
|
-
return textResult(
|
|
2159
|
+
return textResult(await _0x5e8921[_0x50bd55(0x31a)](_0x19e863));
|
|
2160
|
+
} catch (_0x25c3f8) {
|
|
2161
|
+
return textResult(_0x25c3f8 instanceof Error ? _0x25c3f8[_0x50bd55(0x31e)] : 'list_tasks\x20failed', !![]);
|
|
2167
2162
|
}
|
|
2168
|
-
}),
|
|
2169
|
-
'channel':
|
|
2170
|
-
'idempotency_key':
|
|
2171
|
-
'tasks':
|
|
2172
|
-
'title':
|
|
2173
|
-
'description':
|
|
2174
|
-
'priority':
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
])[
|
|
2163
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x2d94d2)](_0x244afe(0x231), 'Create\x20one\x20or\x20more\x20tasks\x20in\x20a\x20channel.\x20In\x20a\x20thread\x20target\x20(e.g.\x20\x22#channel:threadId\x22),\x20creates\x20subtasks\x20under\x20the\x20existing\x20parent\x20task.', {
|
|
2164
|
+
'channel': _0x3caea9[_0x244afe(_0x2f77c0._0x19be23)](),
|
|
2165
|
+
'idempotency_key': _0x3caea9[_0x244afe(0x2e8)]()['optional'](),
|
|
2166
|
+
'tasks': _0x3caea9['array'](_0x3caea9[_0x244afe(_0x2f77c0._0x56d7c7)]({
|
|
2167
|
+
'title': _0x3caea9[_0x244afe(0x2e8)](),
|
|
2168
|
+
'description': _0x3caea9[_0x244afe(0x2e8)]()[_0x244afe(_0x2f77c0._0x1ae6ea)](),
|
|
2169
|
+
'priority': _0x3caea9[_0x244afe(0x29b)]([
|
|
2170
|
+
_0x244afe(_0x2f77c0._0x392c5f),
|
|
2171
|
+
_0x244afe(_0x2f77c0._0x17e436),
|
|
2172
|
+
_0x244afe(_0x2f77c0._0x18bfac),
|
|
2173
|
+
_0x244afe(_0x2f77c0._0x27af25)
|
|
2174
|
+
])[_0x244afe(0x247)]()
|
|
2180
2175
|
}))
|
|
2181
|
-
}, async
|
|
2182
|
-
const
|
|
2176
|
+
}, async _0x17922d => {
|
|
2177
|
+
const _0x2ff39c = _0x244afe;
|
|
2183
2178
|
try {
|
|
2184
|
-
return textResult(await
|
|
2185
|
-
} catch (
|
|
2186
|
-
return textResult(
|
|
2179
|
+
return textResult(await _0x5e8921[_0x2ff39c(_0x4640be._0x6173cc)](_0x17922d));
|
|
2180
|
+
} catch (_0x2e09cf) {
|
|
2181
|
+
return textResult(_0x2e09cf instanceof Error ? _0x2e09cf[_0x2ff39c(0x31e)] : _0x2ff39c(0x2ae), !![]);
|
|
2187
2182
|
}
|
|
2188
|
-
}),
|
|
2189
|
-
'channel':
|
|
2190
|
-
'task_numbers':
|
|
2191
|
-
'subtask_numbers':
|
|
2192
|
-
'message_ids':
|
|
2193
|
-
'evidence':
|
|
2194
|
-
'create_thread':
|
|
2195
|
-
'create_task':
|
|
2196
|
-
}))[
|
|
2197
|
-
'idempotency_key':
|
|
2198
|
-
}, async
|
|
2199
|
-
const
|
|
2183
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x53482e)](_0x244afe(0x307), _0x244afe(_0x2f77c0._0x1cb1ae), {
|
|
2184
|
+
'channel': _0x3caea9[_0x244afe(0x2e8)](),
|
|
2185
|
+
'task_numbers': _0x3caea9[_0x244afe(_0x2f77c0._0x341b2a)](_0x3caea9[_0x244afe(_0x2f77c0._0x1b7807)]())[_0x244afe(0x247)](),
|
|
2186
|
+
'subtask_numbers': _0x3caea9[_0x244afe(_0x2f77c0._0x5893b0)](_0x3caea9[_0x244afe(0x267)]())[_0x244afe(0x247)](),
|
|
2187
|
+
'message_ids': _0x3caea9[_0x244afe(_0x2f77c0._0x438a41)](_0x3caea9['string']())[_0x244afe(0x247)](),
|
|
2188
|
+
'evidence': _0x3caea9['record'](_0x3caea9['string'](), _0x3caea9[_0x244afe(0x298)]({
|
|
2189
|
+
'create_thread': _0x3caea9[_0x244afe(0x272)]()['optional'](),
|
|
2190
|
+
'create_task': _0x3caea9[_0x244afe(_0x2f77c0._0x2a93f3)]()[_0x244afe(0x247)]()
|
|
2191
|
+
}))[_0x244afe(0x247)](),
|
|
2192
|
+
'idempotency_key': _0x3caea9[_0x244afe(0x2e8)]()['optional']()
|
|
2193
|
+
}, async _0x1c575f => {
|
|
2194
|
+
const _0x470a4e = _0x244afe;
|
|
2200
2195
|
try {
|
|
2201
|
-
return textResult(await
|
|
2202
|
-
} catch (
|
|
2203
|
-
return textResult(
|
|
2196
|
+
return textResult(await _0x5e8921[_0x470a4e(0x307)](_0x1c575f));
|
|
2197
|
+
} catch (_0x267dc5) {
|
|
2198
|
+
return textResult(_0x267dc5 instanceof Error ? _0x267dc5[_0x470a4e(_0x4f7af6._0x2570aa)] : 'claim_tasks\x20failed', !![]);
|
|
2204
2199
|
}
|
|
2205
|
-
}),
|
|
2206
|
-
'channel':
|
|
2207
|
-
'task_number':
|
|
2208
|
-
'subtask_number':
|
|
2209
|
-
'idempotency_key':
|
|
2210
|
-
}, async
|
|
2211
|
-
const
|
|
2200
|
+
}), _0x291fb0['tool'](_0x244afe(_0x2f77c0._0x53da48), _0x244afe(_0x2f77c0._0x23cd2d), {
|
|
2201
|
+
'channel': _0x3caea9[_0x244afe(0x2e8)](),
|
|
2202
|
+
'task_number': _0x3caea9[_0x244afe(0x267)](),
|
|
2203
|
+
'subtask_number': _0x3caea9[_0x244afe(_0x2f77c0._0x1b7807)]()[_0x244afe(_0x2f77c0._0x3c0457)](),
|
|
2204
|
+
'idempotency_key': _0x3caea9['string']()[_0x244afe(_0x2f77c0._0xefcfbd)]()
|
|
2205
|
+
}, async _0x5df48c => {
|
|
2206
|
+
const _0x16fa88 = _0x244afe;
|
|
2212
2207
|
try {
|
|
2213
|
-
return textResult(await
|
|
2214
|
-
} catch (
|
|
2215
|
-
return textResult(
|
|
2208
|
+
return textResult(await _0x5e8921[_0x16fa88(0x20a)](_0x5df48c));
|
|
2209
|
+
} catch (_0x1a1b2b) {
|
|
2210
|
+
return textResult(_0x1a1b2b instanceof Error ? _0x1a1b2b[_0x16fa88(_0x1a7a8d._0x1f0110)] : _0x16fa88(0x1d4), !![]);
|
|
2216
2211
|
}
|
|
2217
|
-
}),
|
|
2218
|
-
'channel':
|
|
2219
|
-
'task_number':
|
|
2220
|
-
'subtask_number':
|
|
2221
|
-
'status':
|
|
2222
|
-
|
|
2223
|
-
|
|
2212
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x5bfab7)](_0x244afe(_0x2f77c0._0x5cacaa), _0x244afe(_0x2f77c0._0x1ee0a6), {
|
|
2213
|
+
'channel': _0x3caea9['string'](),
|
|
2214
|
+
'task_number': _0x3caea9[_0x244afe(0x267)](),
|
|
2215
|
+
'subtask_number': _0x3caea9[_0x244afe(_0x2f77c0._0x387d1e)]()[_0x244afe(0x247)](),
|
|
2216
|
+
'status': _0x3caea9['enum']([
|
|
2217
|
+
_0x244afe(0x230),
|
|
2218
|
+
_0x244afe(_0x2f77c0._0x92003e),
|
|
2224
2219
|
'in_review',
|
|
2225
|
-
|
|
2220
|
+
_0x244afe(_0x2f77c0._0x5c5393)
|
|
2226
2221
|
]),
|
|
2227
|
-
'idempotency_key':
|
|
2228
|
-
}, async
|
|
2229
|
-
const
|
|
2222
|
+
'idempotency_key': _0x3caea9['string']()['optional']()
|
|
2223
|
+
}, async _0x1cb68b => {
|
|
2224
|
+
const _0x534fef = _0x244afe;
|
|
2230
2225
|
try {
|
|
2231
|
-
return textResult(await
|
|
2232
|
-
} catch (
|
|
2233
|
-
return textResult(
|
|
2226
|
+
return textResult(await _0x5e8921['update_task_status'](_0x1cb68b));
|
|
2227
|
+
} catch (_0x1af539) {
|
|
2228
|
+
return textResult(_0x1af539 instanceof Error ? _0x1af539[_0x534fef(_0x302e0d._0x2c542e)] : _0x534fef(0x281), !![]);
|
|
2234
2229
|
}
|
|
2235
|
-
}),
|
|
2236
|
-
'channel':
|
|
2237
|
-
'file_path':
|
|
2238
|
-
}, async
|
|
2239
|
-
const
|
|
2230
|
+
}), _0x291fb0[_0x244afe(0x1e7)](_0x244afe(0x326), _0x244afe(0x2a3), {
|
|
2231
|
+
'channel': _0x3caea9['string'](),
|
|
2232
|
+
'file_path': _0x3caea9[_0x244afe(_0x2f77c0._0x5797a1)]()
|
|
2233
|
+
}, async _0x1c95d1 => {
|
|
2234
|
+
const _0x1f37dc = _0x244afe;
|
|
2240
2235
|
try {
|
|
2241
|
-
return textResult(await
|
|
2242
|
-
} catch (
|
|
2243
|
-
return textResult(
|
|
2236
|
+
return textResult(await _0x5e8921[_0x1f37dc(0x326)](_0x1c95d1));
|
|
2237
|
+
} catch (_0x4cf4eb) {
|
|
2238
|
+
return textResult(_0x4cf4eb instanceof Error ? _0x4cf4eb[_0x1f37dc(_0x226c51._0x29377f)] : _0x1f37dc(0x30c), !![]);
|
|
2244
2239
|
}
|
|
2245
|
-
}),
|
|
2246
|
-
const
|
|
2240
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x4b16e7)]('view_file', _0x244afe(0x28b), { 'attachment_id': _0x3caea9['string']() }, async _0x557902 => {
|
|
2241
|
+
const _0x33c124 = _0x244afe;
|
|
2247
2242
|
try {
|
|
2248
|
-
return textResult(await
|
|
2249
|
-
} catch (
|
|
2250
|
-
return textResult(
|
|
2243
|
+
return textResult(await _0x5e8921[_0x33c124(0x320)](_0x557902));
|
|
2244
|
+
} catch (_0x1079c7) {
|
|
2245
|
+
return textResult(_0x1079c7 instanceof Error ? _0x1079c7[_0x33c124(0x31e)] : _0x33c124(0x31f), !![]);
|
|
2251
2246
|
}
|
|
2252
|
-
}),
|
|
2253
|
-
const
|
|
2247
|
+
}), _0x291fb0[_0x244afe(0x1e7)]('get_worker_status', _0x244afe(0x1e1), { 'work_key': _0x3caea9[_0x244afe(_0x2f77c0._0x5797a1)]() }, async _0x28206d => {
|
|
2248
|
+
const _0x35e8e5 = _0x244afe;
|
|
2254
2249
|
try {
|
|
2255
|
-
return textResult(await
|
|
2256
|
-
} catch (
|
|
2257
|
-
return textResult(
|
|
2250
|
+
return textResult(await _0x5e8921[_0x35e8e5(_0x24d0ab._0x4f427f)](_0x28206d));
|
|
2251
|
+
} catch (_0x1bafdd) {
|
|
2252
|
+
return textResult(_0x1bafdd instanceof Error ? _0x1bafdd[_0x35e8e5(_0x24d0ab._0x5bb810)] : _0x35e8e5(_0x24d0ab._0x24b0ba), !![]);
|
|
2258
2253
|
}
|
|
2259
|
-
}),
|
|
2260
|
-
const
|
|
2254
|
+
}), _0x291fb0[_0x244afe(0x1e7)](_0x244afe(_0x2f77c0._0xe047d7), _0x244afe(_0x2f77c0._0x74d498), { 'work_key': _0x3caea9[_0x244afe(_0x2f77c0._0x5c08ba)]() }, async _0x4babb6 => {
|
|
2255
|
+
const _0x55c775 = _0x244afe;
|
|
2261
2256
|
try {
|
|
2262
|
-
return textResult(await
|
|
2263
|
-
} catch (
|
|
2264
|
-
return textResult(
|
|
2257
|
+
return textResult(await _0x5e8921['park_worker'](_0x4babb6));
|
|
2258
|
+
} catch (_0x3a2cd4) {
|
|
2259
|
+
return textResult(_0x3a2cd4 instanceof Error ? _0x3a2cd4[_0x55c775(0x31e)] : 'park_worker\x20failed', !![]);
|
|
2265
2260
|
}
|
|
2266
|
-
}),
|
|
2267
|
-
'work_key':
|
|
2268
|
-
'reason':
|
|
2269
|
-
}, async
|
|
2270
|
-
const
|
|
2261
|
+
}), _0x291fb0[_0x244afe(_0x2f77c0._0x235011)](_0x244afe(_0x2f77c0._0x5a14ab), _0x244afe(_0x2f77c0._0x48fbbd), {
|
|
2262
|
+
'work_key': _0x3caea9['string'](),
|
|
2263
|
+
'reason': _0x3caea9['string']()
|
|
2264
|
+
}, async _0x1e6842 => {
|
|
2265
|
+
const _0x2d9580 = _0x244afe;
|
|
2271
2266
|
try {
|
|
2272
|
-
return textResult(await
|
|
2273
|
-
} catch (
|
|
2274
|
-
return textResult(
|
|
2267
|
+
return textResult(await _0x5e8921[_0x2d9580(_0x20f82c._0x14b918)](_0x1e6842));
|
|
2268
|
+
} catch (_0x4c83e0) {
|
|
2269
|
+
return textResult(_0x4c83e0 instanceof Error ? _0x4c83e0['message'] : _0x2d9580(_0x20f82c._0x106c2c), !![]);
|
|
2275
2270
|
}
|
|
2276
|
-
}),
|
|
2277
|
-
const
|
|
2271
|
+
}), _0x473414?.[_0x244afe(0x249)] && _0x291fb0[_0x244afe(_0x2f77c0._0x1da9da)]('mark_waiting_input', _0x244afe(_0x2f77c0._0x4c0b0f), { 'work_key': _0x3caea9[_0x244afe(_0x2f77c0._0x4e9600)]() }, async _0x1d569c => {
|
|
2272
|
+
const _0x214909 = _0x244afe;
|
|
2278
2273
|
try {
|
|
2279
|
-
return textResult(await
|
|
2280
|
-
} catch (
|
|
2281
|
-
return textResult(
|
|
2274
|
+
return textResult(await _0x5e8921[_0x214909(0x20f)](_0x1d569c));
|
|
2275
|
+
} catch (_0x143f3a) {
|
|
2276
|
+
return textResult(_0x143f3a instanceof Error ? _0x143f3a[_0x214909(0x31e)] : 'mark_waiting_input\x20failed', !![]);
|
|
2282
2277
|
}
|
|
2283
2278
|
});
|
|
2284
2279
|
}
|
|
2285
|
-
async function createChatBridgeServer(
|
|
2286
|
-
const
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
}),
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2280
|
+
async function createChatBridgeServer(_0x5e3de6) {
|
|
2281
|
+
const _0x1587c5 = {
|
|
2282
|
+
_0x23cce9: 0x200,
|
|
2283
|
+
_0x268d83: 0x27b
|
|
2284
|
+
}, _0x2e0e12 = _0x855546, {McpServer: _0x2f846c} = await import(_0x2e0e12(_0x1587c5._0x23cce9)), _0x422178 = new _0x2f846c({
|
|
2285
|
+
'name': _0x2e0e12(_0x1587c5._0x268d83),
|
|
2286
|
+
'version': '0.0.0'
|
|
2287
|
+
}), _0xa332c5 = createChatBridgeHandlers(_0x5e3de6);
|
|
2288
|
+
return await registerChatBridgeTools(_0x422178, _0xa332c5, { 'workerMode': _0x5e3de6['workerMode'] }), {
|
|
2289
|
+
'handlers': _0xa332c5,
|
|
2290
|
+
'server': _0x422178
|
|
2293
2291
|
};
|
|
2294
2292
|
}
|
|
2295
|
-
function readFlag(
|
|
2296
|
-
const
|
|
2297
|
-
if (
|
|
2293
|
+
function readFlag(_0x2059e1, _0xa1fa55) {
|
|
2294
|
+
const _0x9bea38 = { _0x2ffc95: 0x338 }, _0x279b65 = _0x855546, _0x4ab94 = _0x2059e1[_0x279b65(_0x9bea38._0x2ffc95)](_0xa1fa55);
|
|
2295
|
+
if (_0x4ab94 === -0x1)
|
|
2298
2296
|
return void 0x0;
|
|
2299
|
-
return
|
|
2297
|
+
return _0x2059e1[_0x4ab94 + 0x1];
|
|
2300
2298
|
}
|
|
2301
|
-
function parseChatBridgeArgs(
|
|
2302
|
-
const
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
},
|
|
2311
|
-
if (!
|
|
2312
|
-
throw new Error(
|
|
2313
|
-
if (!
|
|
2314
|
-
throw new Error(
|
|
2315
|
-
if (
|
|
2299
|
+
function parseChatBridgeArgs(_0x532d54) {
|
|
2300
|
+
const _0x534955 = {
|
|
2301
|
+
_0x279f57: 0x20c,
|
|
2302
|
+
_0x549988: 0x24d,
|
|
2303
|
+
_0x30a0d1: 0x2c3,
|
|
2304
|
+
_0x5a7b7d: 0x273,
|
|
2305
|
+
_0x35b35b: 0x251,
|
|
2306
|
+
_0x23c0f5: 0x22a,
|
|
2307
|
+
_0x92564: 0x292
|
|
2308
|
+
}, _0x561234 = _0x855546, _0x51b4d9 = readFlag(_0x532d54, _0x561234(_0x534955._0x279f57)), _0x2e8b10 = readFlag(_0x532d54, _0x561234(0x2a2)), _0x319369 = readFlag(_0x532d54, _0x561234(_0x534955._0x549988)), _0x3bfbb7 = readFlag(_0x532d54, _0x561234(0x2bd)), _0x393757 = readFlag(_0x532d54, _0x561234(_0x534955._0x30a0d1)) ?? _0x561234(_0x534955._0x5a7b7d), _0x41d2e9 = readFlag(_0x532d54, _0x561234(_0x534955._0x35b35b)), _0x275491 = readFlag(_0x532d54, '--session-id'), _0x59f83c = readFlag(_0x532d54, '--worker-mode-enabled'), _0x2530e7 = readFlag(_0x532d54, _0x561234(_0x534955._0x23c0f5)), _0x4a646f = readFlag(_0x532d54, '--worker-thread-target'), _0x1f748a = _0x532d54['includes'](_0x561234(0x30e)), _0xe8d0ae = _0x3bfbb7 === void 0x0 ? void 0x0 : Number[_0x561234(_0x534955._0x92564)](_0x3bfbb7, 0xa);
|
|
2309
|
+
if (!_0x51b4d9)
|
|
2310
|
+
throw new Error('Missing\x20--agent-id');
|
|
2311
|
+
if (!_0x319369)
|
|
2312
|
+
throw new Error('Missing\x20--daemon-api-key');
|
|
2313
|
+
if (_0x3bfbb7 !== void 0x0 && (_0xe8d0ae === void 0x0 || !Number[_0x561234(0x22f)](_0xe8d0ae) || _0xe8d0ae < 0x0))
|
|
2316
2314
|
throw new Error('Invalid\x20--initial-last-seen-seq');
|
|
2317
2315
|
return {
|
|
2318
|
-
'agentId':
|
|
2319
|
-
'
|
|
2320
|
-
'
|
|
2321
|
-
'
|
|
2322
|
-
'
|
|
2323
|
-
'
|
|
2324
|
-
'
|
|
2325
|
-
'
|
|
2326
|
-
'
|
|
2327
|
-
'
|
|
2316
|
+
'agentId': _0x51b4d9,
|
|
2317
|
+
'attachmentCacheDir': _0x2e8b10,
|
|
2318
|
+
'daemonApiKey': _0x319369,
|
|
2319
|
+
'daemonLocalUrl': _0x41d2e9,
|
|
2320
|
+
'initialLastSeenSeq': _0xe8d0ae,
|
|
2321
|
+
'sessionId': _0x275491,
|
|
2322
|
+
'serverUrl': _0x393757,
|
|
2323
|
+
'workerModeEnabled': _0x59f83c === void 0x0 ? void 0x0 : _0x59f83c !== 'false',
|
|
2324
|
+
'workerSessionId': _0x2530e7,
|
|
2325
|
+
'workerThreadTarget': _0x4a646f,
|
|
2326
|
+
'workerMode': _0x1f748a
|
|
2328
2327
|
};
|
|
2329
2328
|
}
|
|
2330
|
-
async function runChatBridgeCli(
|
|
2331
|
-
const
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
'
|
|
2338
|
-
'
|
|
2329
|
+
async function runChatBridgeCli(_0x4e1e6c) {
|
|
2330
|
+
const _0xd5b288 = {
|
|
2331
|
+
_0x5f3a71: 0x256,
|
|
2332
|
+
_0x1cda2a: 0x2f4,
|
|
2333
|
+
_0x5e208c: 0x205,
|
|
2334
|
+
_0x2f9104: 0x1d7
|
|
2335
|
+
}, _0x6d90f3 = _0x855546, _0x40ec8d = parseChatBridgeArgs(_0x4e1e6c), {StdioServerTransport: _0x27eef1} = await import(_0x6d90f3(0x1ed)), _0x180f20 = createInternalAgentClient(_0x40ec8d), _0xdec4cc = createAttachmentCache({ 'cacheDir': _0x40ec8d[_0x6d90f3(_0xd5b288._0x5f3a71)] }), _0x5a981e = await createChatBridgeServer({
|
|
2336
|
+
'agentId': _0x40ec8d[_0x6d90f3(_0xd5b288._0x1cda2a)],
|
|
2337
|
+
'attachmentCache': _0xdec4cc,
|
|
2338
|
+
'client': _0x180f20,
|
|
2339
|
+
'daemonLocalUrl': _0x40ec8d[_0x6d90f3(0x323)],
|
|
2339
2340
|
'uploadPreparer': prepareUploadFile,
|
|
2340
|
-
'workerModeEnabled':
|
|
2341
|
-
'workerMode':
|
|
2342
|
-
'workerThreadTarget':
|
|
2341
|
+
'workerModeEnabled': _0x40ec8d[_0x6d90f3(_0xd5b288._0x5e208c)],
|
|
2342
|
+
'workerMode': _0x40ec8d[_0x6d90f3(0x249)],
|
|
2343
|
+
'workerThreadTarget': _0x40ec8d[_0x6d90f3(_0xd5b288._0x2f9104)]
|
|
2343
2344
|
});
|
|
2344
|
-
await
|
|
2345
|
+
await _0x5a981e[_0x6d90f3(0x2ea)][_0x6d90f3(0x2c9)](new _0x27eef1());
|
|
2345
2346
|
}
|
|
2346
|
-
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[
|
|
2347
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2347
|
+
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[_0x855546(0x2b1)][0x1])[_0x855546(0x246)] : ![];
|
|
2348
|
+
executedAsEntry && await runChatBridgeCli(process[_0x855546(0x2b1)]['slice'](0x2));
|
|
2348
2349
|
export {
|
|
2349
2350
|
createChatBridgeHandlers,
|
|
2350
2351
|
createChatBridgeServer,
|