@dscord/daemon 0.1.53 → 0.1.54
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 +1950 -1942
- package/dist/index.js +9839 -9903
- 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 _0x363898 = _0x575b;
|
|
2
|
+
(function (_0x430585, _0x3b7dd7) {
|
|
3
|
+
const _0x3861a5 = {
|
|
4
|
+
_0x30d9ed: 0x168,
|
|
5
|
+
_0x3bc21d: 0x1d5,
|
|
6
|
+
_0x5de2d3: 0x1be,
|
|
7
|
+
_0x56fd29: 0x13c,
|
|
8
|
+
_0x5c31b0: 0x1fc
|
|
9
|
+
}, _0x4dd47f = _0x575b, _0x27c319 = _0x430585();
|
|
11
10
|
while (!![]) {
|
|
12
11
|
try {
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
12
|
+
const _0x5b22a6 = parseInt(_0x4dd47f(_0x3861a5._0x30d9ed)) / 0x1 + -parseInt(_0x4dd47f(_0x3861a5._0x3bc21d)) / 0x2 * (-parseInt(_0x4dd47f(_0x3861a5._0x5de2d3)) / 0x3) + -parseInt(_0x4dd47f(_0x3861a5._0x56fd29)) / 0x4 * (parseInt(_0x4dd47f(0x201)) / 0x5) + parseInt(_0x4dd47f(_0x3861a5._0x5c31b0)) / 0x6 * (-parseInt(_0x4dd47f(0x140)) / 0x7) + -parseInt(_0x4dd47f(0x176)) / 0x8 * (-parseInt(_0x4dd47f(0x236)) / 0x9) + -parseInt(_0x4dd47f(0x23d)) / 0xa * (-parseInt(_0x4dd47f(0x1a8)) / 0xb) + parseInt(_0x4dd47f(0x22d)) / 0xc * (-parseInt(_0x4dd47f(0x166)) / 0xd);
|
|
13
|
+
if (_0x5b22a6 === _0x3b7dd7)
|
|
15
14
|
break;
|
|
16
15
|
else
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
16
|
+
_0x27c319['push'](_0x27c319['shift']());
|
|
17
|
+
} catch (_0x39c58d) {
|
|
18
|
+
_0x27c319['push'](_0x27c319['shift']());
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
|
-
}(
|
|
21
|
+
}(_0x1207, 0x8963b));
|
|
23
22
|
import { pathToFileURL } from 'node:url';
|
|
24
23
|
import {
|
|
25
24
|
mkdir,
|
|
@@ -29,99 +28,98 @@ import {
|
|
|
29
28
|
writeFile
|
|
30
29
|
} from 'node:fs/promises';
|
|
31
30
|
import { homedir } from 'node:os';
|
|
32
|
-
import
|
|
31
|
+
import _0x58429e from 'node:path';
|
|
33
32
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
34
|
-
'.csv':
|
|
35
|
-
'.gif':
|
|
36
|
-
'.jpeg':
|
|
37
|
-
'.jpg':
|
|
38
|
-
'.json':
|
|
39
|
-
'.md':
|
|
40
|
-
'.pdf':
|
|
41
|
-
'.png':
|
|
42
|
-
'.svg':
|
|
43
|
-
'.txt':
|
|
44
|
-
'.webp':
|
|
45
|
-
'.xml':
|
|
46
|
-
'.zip':
|
|
33
|
+
'.csv': _0x363898(0x19d),
|
|
34
|
+
'.gif': 'image/gif',
|
|
35
|
+
'.jpeg': 'image/jpeg',
|
|
36
|
+
'.jpg': _0x363898(0x28e),
|
|
37
|
+
'.json': _0x363898(0x1b2),
|
|
38
|
+
'.md': _0x363898(0x1f1),
|
|
39
|
+
'.pdf': _0x363898(0x14b),
|
|
40
|
+
'.png': 'image/png',
|
|
41
|
+
'.svg': _0x363898(0x1a0),
|
|
42
|
+
'.txt': _0x363898(0x1aa),
|
|
43
|
+
'.webp': _0x363898(0x238),
|
|
44
|
+
'.xml': 'application/xml',
|
|
45
|
+
'.zip': _0x363898(0x17c)
|
|
47
46
|
};
|
|
48
|
-
function guessContentType(
|
|
49
|
-
const
|
|
50
|
-
return MIME_BY_EXTENSION[
|
|
47
|
+
function guessContentType(_0x30c254) {
|
|
48
|
+
const _0xe0c2a0 = _0x363898;
|
|
49
|
+
return MIME_BY_EXTENSION[_0x58429e[_0xe0c2a0(0x271)](_0x30c254)[_0xe0c2a0(0x222)]()] ?? _0xe0c2a0(0x243);
|
|
51
50
|
}
|
|
52
|
-
function safeFilename(
|
|
53
|
-
|
|
51
|
+
function safeFilename(_0x10f284) {
|
|
52
|
+
const _0x233e5b = { _0x369c37: 0x25c }, _0x145d25 = _0x363898;
|
|
53
|
+
return _0x10f284[_0x145d25(_0x233e5b._0x369c37)](/[\\/]/g, '-');
|
|
54
54
|
}
|
|
55
|
-
function extensionFor(
|
|
56
|
-
const
|
|
57
|
-
return
|
|
55
|
+
function extensionFor(_0x1a81bf) {
|
|
56
|
+
const _0x5cbc31 = { _0x5c5455: 0x289 }, _0x4a838d = _0x363898, _0x3b962e = Object['entries'](MIME_BY_EXTENSION)[_0x4a838d(_0x5cbc31._0x5c5455)](([, _0xa5d82a]) => _0xa5d82a === _0x1a81bf);
|
|
57
|
+
return _0x3b962e?.[0x0] ?? _0x4a838d(0x226);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
async function prepareUploadFile(_0x25561a, _0x220124 = {}) {
|
|
60
|
+
const _0x148e42 = {
|
|
61
|
+
_0x4094fb: 0x247,
|
|
62
|
+
_0x358b7a: 0x14d,
|
|
63
|
+
_0x1f87bd: 0x26f,
|
|
64
|
+
_0x143ad9: 0x258,
|
|
65
|
+
_0x20e5f5: 0x2a2
|
|
66
|
+
}, _0x25102c = _0x363898;
|
|
67
|
+
if (!_0x58429e[_0x25102c(_0x148e42._0x4094fb)](_0x25561a))
|
|
68
|
+
throw new Error(_0x25102c(0x197));
|
|
69
|
+
const _0x29af61 = await stat(_0x25561a)['catch'](() => null);
|
|
70
|
+
if (!_0x29af61 || !_0x29af61[_0x25102c(_0x148e42._0x358b7a)]())
|
|
71
|
+
throw new Error(_0x25102c(0x275) + _0x25561a);
|
|
72
|
+
const _0x5d994d = _0x220124['maxFileSizeBytes'] ?? DEFAULT_MAX_FILE_SIZE;
|
|
73
|
+
if (_0x29af61[_0x25102c(_0x148e42._0x1f87bd)] > _0x5d994d)
|
|
74
|
+
throw new Error(_0x25102c(0x1cf) + _0x29af61[_0x25102c(_0x148e42._0x1f87bd)]);
|
|
75
|
+
const _0x311e1a = await readFile(_0x25561a), _0x1476bb = _0x58429e[_0x25102c(0x1fa)](_0x25561a);
|
|
76
|
+
return {
|
|
77
|
+
'contentBase64': _0x311e1a[_0x25102c(_0x148e42._0x143ad9)](_0x25102c(_0x148e42._0x20e5f5)),
|
|
78
|
+
'contentType': guessContentType(_0x1476bb),
|
|
79
|
+
'filename': _0x1476bb,
|
|
80
|
+
'sizeBytes': _0x29af61[_0x25102c(0x26f)]
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
function _0x575b(_0x271a5b, _0x27ee74) {
|
|
84
|
+
_0x271a5b = _0x271a5b - 0x13b;
|
|
85
|
+
const _0x12071f = _0x1207();
|
|
86
|
+
let _0x575b60 = _0x12071f[_0x271a5b];
|
|
87
|
+
if (_0x575b['uyiABD'] === undefined) {
|
|
88
|
+
var _0x57c706 = function (_0x5846ce) {
|
|
89
|
+
const _0x2e7d92 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
90
|
+
let _0x58429e = '', _0x30c254 = '';
|
|
91
|
+
for (let _0x10f284 = 0x0, _0x1a81bf, _0x3b962e, _0xa5d82a = 0x0; _0x3b962e = _0x5846ce['charAt'](_0xa5d82a++); ~_0x3b962e && (_0x1a81bf = _0x10f284 % 0x4 ? _0x1a81bf * 0x40 + _0x3b962e : _0x3b962e, _0x10f284++ % 0x4) ? _0x58429e += String['fromCharCode'](0xff & _0x1a81bf >> (-0x2 * _0x10f284 & 0x6)) : 0x0) {
|
|
92
|
+
_0x3b962e = _0x2e7d92['indexOf'](_0x3b962e);
|
|
69
93
|
}
|
|
70
|
-
for (let
|
|
71
|
-
|
|
94
|
+
for (let _0x25561a = 0x0, _0x220124 = _0x58429e['length']; _0x25561a < _0x220124; _0x25561a++) {
|
|
95
|
+
_0x30c254 += '%' + ('00' + _0x58429e['charCodeAt'](_0x25561a)['toString'](0x10))['slice'](-0x2);
|
|
72
96
|
}
|
|
73
|
-
return decodeURIComponent(
|
|
97
|
+
return decodeURIComponent(_0x30c254);
|
|
74
98
|
};
|
|
75
|
-
|
|
99
|
+
_0x575b['eTEtSG'] = _0x57c706, _0x575b['WSYAkv'] = {}, _0x575b['uyiABD'] = !![];
|
|
76
100
|
}
|
|
77
|
-
const
|
|
78
|
-
return !
|
|
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);
|
|
100
|
-
return {
|
|
101
|
-
'contentBase64': _0x278974[_0x55e471(_0x10eec3._0x2d7cd4)](_0x55e471(_0x10eec3._0x3c16f4)),
|
|
102
|
-
'contentType': guessContentType(_0x345a35),
|
|
103
|
-
'filename': _0x345a35,
|
|
104
|
-
'sizeBytes': _0x194be2[_0x55e471(_0x10eec3._0xabaf47)]
|
|
105
|
-
};
|
|
101
|
+
const _0x25e9b2 = _0x12071f[0x0], _0x1165d8 = _0x271a5b + _0x25e9b2, _0x2be71a = _0x575b['WSYAkv'][_0x1165d8];
|
|
102
|
+
return !_0x2be71a ? (_0x575b60 = _0x575b['eTEtSG'](_0x575b60), _0x575b['WSYAkv'][_0x1165d8] = _0x575b60) : _0x575b60 = _0x2be71a, _0x575b60;
|
|
106
103
|
}
|
|
107
|
-
function createAttachmentCache(
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
104
|
+
function createAttachmentCache(_0x4d558f = {}) {
|
|
105
|
+
const _0x436262 = { _0x12f604: 0x18e }, _0x1d84f9 = {
|
|
106
|
+
_0x2e2ac4: 0x2ad,
|
|
107
|
+
_0x18361c: 0x18e,
|
|
108
|
+
_0x4ddabb: 0x28f
|
|
109
|
+
}, _0x25b490 = _0x363898, _0x16615e = _0x4d558f['cacheDir'] ?? _0x58429e[_0x25b490(_0x436262._0x12f604)](homedir(), _0x25b490(0x18c), 'attachments');
|
|
112
110
|
return {
|
|
113
|
-
'cacheDir':
|
|
114
|
-
async 'findCachedPath'(
|
|
115
|
-
const
|
|
116
|
-
await mkdir(
|
|
117
|
-
const
|
|
118
|
-
return
|
|
111
|
+
'cacheDir': _0x16615e,
|
|
112
|
+
async 'findCachedPath'(_0x2b2623) {
|
|
113
|
+
const _0x556ede = _0x25b490;
|
|
114
|
+
await mkdir(_0x16615e, { 'recursive': !![] });
|
|
115
|
+
const _0x201660 = await readdir(_0x16615e), _0x3d5bb = _0x201660[_0x556ede(0x289)](_0x477073 => _0x477073[_0x556ede(0x162)](_0x2b2623 + '-') || _0x477073[_0x556ede(0x162)](_0x2b2623));
|
|
116
|
+
return _0x3d5bb ? _0x58429e['join'](_0x16615e, _0x3d5bb) : null;
|
|
119
117
|
},
|
|
120
|
-
async 'save'(
|
|
121
|
-
const
|
|
122
|
-
await mkdir(
|
|
123
|
-
const
|
|
124
|
-
return await writeFile(
|
|
118
|
+
async 'save'(_0x170b19) {
|
|
119
|
+
const _0x1dc833 = _0x25b490;
|
|
120
|
+
await mkdir(_0x16615e, { 'recursive': !![] });
|
|
121
|
+
const _0x32c072 = _0x170b19[_0x1dc833(0x2a4)]?.[_0x1dc833(_0x1d84f9._0x2e2ac4)]() ? safeFilename(_0x170b19[_0x1dc833(0x2a4)]) : '' + _0x170b19[_0x1dc833(0x186)] + extensionFor(_0x170b19[_0x1dc833(0x16e)]), _0x590127 = _0x58429e[_0x1dc833(_0x1d84f9._0x18361c)](_0x16615e, _0x170b19['attachmentId'] + '-' + _0x32c072);
|
|
122
|
+
return await writeFile(_0x590127, _0x170b19[_0x1dc833(_0x1d84f9._0x4ddabb)]), _0x590127;
|
|
125
123
|
}
|
|
126
124
|
};
|
|
127
125
|
}
|
|
@@ -129,2222 +127,2232 @@ import {
|
|
|
129
127
|
createHash,
|
|
130
128
|
randomUUID
|
|
131
129
|
} from 'node:crypto';
|
|
132
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
133
|
-
function ensureSegment(
|
|
134
|
-
const
|
|
135
|
-
if (!
|
|
130
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x363898(0x144);
|
|
131
|
+
function ensureSegment(_0x3ac6fb) {
|
|
132
|
+
const _0x12d8f2 = { _0xfb83fc: 0x2ad }, _0x3d3572 = _0x363898, _0x553ca4 = _0x3ac6fb[_0x3d3572(_0x12d8f2._0xfb83fc)]();
|
|
133
|
+
if (!_0x553ca4 || _0x553ca4['includes'](':'))
|
|
136
134
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
137
|
-
return
|
|
135
|
+
return _0x553ca4;
|
|
138
136
|
}
|
|
139
|
-
function parseThreadParts(
|
|
140
|
-
const
|
|
141
|
-
if (
|
|
137
|
+
function parseThreadParts(_0xe25658) {
|
|
138
|
+
const _0x5e6ede = { _0x389b98: 0x1f2 }, _0x360793 = _0x363898, _0x419f74 = _0xe25658[_0x360793(_0x5e6ede._0x389b98)](':');
|
|
139
|
+
if (_0x419f74[_0x360793(0x2bd)] < 0x1 || _0x419f74[_0x360793(0x2bd)] > 0x2)
|
|
142
140
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
143
141
|
return {
|
|
144
|
-
'channelName': ensureSegment(
|
|
145
|
-
'threadShortId':
|
|
142
|
+
'channelName': ensureSegment(_0x419f74[0x0] ?? ''),
|
|
143
|
+
'threadShortId': _0x419f74[0x1] ? ensureSegment(_0x419f74[0x1]) : null
|
|
146
144
|
};
|
|
147
145
|
}
|
|
148
|
-
function parseTarget(
|
|
149
|
-
const
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
146
|
+
function parseTarget(_0x3a67dc) {
|
|
147
|
+
const _0x327187 = {
|
|
148
|
+
_0x4b2b51: 0x22e,
|
|
149
|
+
_0x24f3b8: 0x18b,
|
|
150
|
+
_0xf4be4f: 0x162,
|
|
151
|
+
_0x489754: 0x294,
|
|
152
|
+
_0x263193: 0x17b,
|
|
153
|
+
_0x3c065a: 0x22e,
|
|
154
|
+
_0x303e5c: 0x18b,
|
|
155
|
+
_0xd754fe: 0x237,
|
|
156
|
+
_0x2680f9: 0x21e
|
|
157
|
+
}, _0x22d30e = _0x363898, _0x38bcbb = _0x3a67dc[_0x22d30e(0x2ad)]();
|
|
158
|
+
if (!_0x38bcbb)
|
|
159
159
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
160
|
-
if (
|
|
161
|
-
const
|
|
162
|
-
if (!
|
|
160
|
+
if (_0x38bcbb[_0x22d30e(0x162)]('#')) {
|
|
161
|
+
const _0x93cc4f = parseThreadParts(_0x38bcbb['slice'](0x1)), _0x302346 = '#' + _0x93cc4f[_0x22d30e(_0x327187._0x4b2b51)];
|
|
162
|
+
if (!_0x93cc4f[_0x22d30e(_0x327187._0x24f3b8)])
|
|
163
163
|
return {
|
|
164
|
-
'channelName':
|
|
165
|
-
'channelTarget':
|
|
166
|
-
'kind':
|
|
167
|
-
'target':
|
|
164
|
+
'channelName': _0x93cc4f[_0x22d30e(_0x327187._0x4b2b51)],
|
|
165
|
+
'channelTarget': _0x302346,
|
|
166
|
+
'kind': _0x22d30e(0x237),
|
|
167
|
+
'target': _0x302346
|
|
168
168
|
};
|
|
169
169
|
return {
|
|
170
|
-
'channelName':
|
|
171
|
-
'channelTarget':
|
|
172
|
-
'kind':
|
|
173
|
-
'target':
|
|
174
|
-
'threadShortId':
|
|
170
|
+
'channelName': _0x93cc4f[_0x22d30e(_0x327187._0x4b2b51)],
|
|
171
|
+
'channelTarget': _0x302346,
|
|
172
|
+
'kind': _0x22d30e(0x21e),
|
|
173
|
+
'target': _0x302346 + ':' + _0x93cc4f[_0x22d30e(_0x327187._0x24f3b8)],
|
|
174
|
+
'threadShortId': _0x93cc4f['threadShortId']
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
-
if (
|
|
178
|
-
const
|
|
179
|
-
if (!
|
|
177
|
+
if (_0x38bcbb[_0x22d30e(_0x327187._0xf4be4f)](_0x22d30e(0x17b))) {
|
|
178
|
+
const _0x330d71 = parseThreadParts(_0x38bcbb[_0x22d30e(_0x327187._0x489754)](0x3));
|
|
179
|
+
if (!_0x330d71[_0x22d30e(0x22e)][_0x22d30e(_0x327187._0xf4be4f)]('dm-'))
|
|
180
180
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
181
|
-
const
|
|
182
|
-
if (!
|
|
181
|
+
const _0x54a1ad = _0x22d30e(_0x327187._0x263193) + _0x330d71[_0x22d30e(_0x327187._0x3c065a)];
|
|
182
|
+
if (!_0x330d71[_0x22d30e(_0x327187._0x303e5c)])
|
|
183
183
|
return {
|
|
184
|
-
'channelName':
|
|
185
|
-
'channelTarget':
|
|
186
|
-
'kind':
|
|
187
|
-
'target':
|
|
184
|
+
'channelName': _0x330d71[_0x22d30e(_0x327187._0x3c065a)],
|
|
185
|
+
'channelTarget': _0x54a1ad,
|
|
186
|
+
'kind': _0x22d30e(_0x327187._0xd754fe),
|
|
187
|
+
'target': _0x54a1ad
|
|
188
188
|
};
|
|
189
189
|
return {
|
|
190
|
-
'channelName':
|
|
191
|
-
'channelTarget':
|
|
192
|
-
'kind':
|
|
193
|
-
'target':
|
|
194
|
-
'threadShortId':
|
|
190
|
+
'channelName': _0x330d71[_0x22d30e(0x22e)],
|
|
191
|
+
'channelTarget': _0x54a1ad,
|
|
192
|
+
'kind': _0x22d30e(_0x327187._0x2680f9),
|
|
193
|
+
'target': _0x54a1ad + ':' + _0x330d71[_0x22d30e(0x18b)],
|
|
194
|
+
'threadShortId': _0x330d71[_0x22d30e(0x18b)]
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
197
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
198
198
|
}
|
|
199
|
-
function asErrorMessage(
|
|
200
|
-
const
|
|
201
|
-
if (typeof
|
|
202
|
-
return
|
|
203
|
-
return
|
|
199
|
+
function asErrorMessage(_0x2b9c25, _0x5ed9dd) {
|
|
200
|
+
const _0x8eb69d = { _0x3ec75f: 0x2ad }, _0x5335d3 = _0x363898;
|
|
201
|
+
if (typeof _0x2b9c25 === _0x5335d3(0x2a7) && _0x2b9c25[_0x5335d3(_0x8eb69d._0x3ec75f)]())
|
|
202
|
+
return _0x2b9c25;
|
|
203
|
+
return _0x5ed9dd;
|
|
204
204
|
}
|
|
205
|
-
function asRecord(
|
|
206
|
-
|
|
205
|
+
function asRecord(_0x3b00b2) {
|
|
206
|
+
const _0x9ddc2d = { _0x231bcc: 0x1ef }, _0x5c8b24 = _0x363898;
|
|
207
|
+
return typeof _0x3b00b2 === _0x5c8b24(_0x9ddc2d._0x231bcc) && _0x3b00b2 !== null ? _0x3b00b2 : {};
|
|
207
208
|
}
|
|
208
|
-
function stableStringify(
|
|
209
|
-
const
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
return '{' + _0x511cf8[_0x1f9179(0x291)](',') + '}';
|
|
209
|
+
function stableStringify(_0x261ebc) {
|
|
210
|
+
const _0x2d271d = {
|
|
211
|
+
_0x42d13c: 0x164,
|
|
212
|
+
_0x2f7d04: 0x15d,
|
|
213
|
+
_0x441426: 0x1ab,
|
|
214
|
+
_0x47aaf3: 0x18e
|
|
215
|
+
}, _0x2364ea = _0x363898;
|
|
216
|
+
if (_0x261ebc === null || typeof _0x261ebc !== _0x2364ea(0x1ef))
|
|
217
|
+
return JSON[_0x2364ea(_0x2d271d._0x42d13c)](_0x261ebc);
|
|
218
|
+
if (Array[_0x2364ea(_0x2d271d._0x2f7d04)](_0x261ebc))
|
|
219
|
+
return '[' + _0x261ebc[_0x2364ea(_0x2d271d._0x441426)](_0x2b8590 => stableStringify(_0x2b8590))[_0x2364ea(_0x2d271d._0x47aaf3)](',') + ']';
|
|
220
|
+
const _0x303454 = Object['entries'](_0x261ebc)['filter'](([, _0x23202e]) => _0x23202e !== void 0x0)['sort'](([_0x5e32a8], [_0x242566]) => _0x5e32a8[_0x2364ea(0x253)](_0x242566))[_0x2364ea(0x1ab)](([_0x377221, _0x3bd7f9]) => JSON[_0x2364ea(0x164)](_0x377221) + ':' + stableStringify(_0x3bd7f9));
|
|
221
|
+
return '{' + _0x303454[_0x2364ea(0x18e)](',') + '}';
|
|
222
222
|
}
|
|
223
|
-
function createHeaders(
|
|
224
|
-
const
|
|
223
|
+
function createHeaders(_0x5579d6) {
|
|
224
|
+
const _0x26632a = { _0x3dab3b: 0x1b2 }, _0x280928 = _0x363898;
|
|
225
225
|
return {
|
|
226
|
-
'Content-Type':
|
|
227
|
-
'x-daemon-api-key':
|
|
226
|
+
'Content-Type': _0x280928(_0x26632a._0x3dab3b),
|
|
227
|
+
'x-daemon-api-key': _0x5579d6
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
|
-
function toHttpBaseUrl(
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
|
|
230
|
+
function toHttpBaseUrl(_0x37d7fa) {
|
|
231
|
+
const _0x3d4218 = {
|
|
232
|
+
_0x24cbd7: 0x1ba,
|
|
233
|
+
_0x3a5ebd: 0x154,
|
|
234
|
+
_0x5e3793: 0x25c
|
|
235
|
+
}, _0x3fb158 = _0x363898, _0x1d6537 = new URL(_0x37d7fa);
|
|
236
|
+
if (_0x1d6537['protocol'] === _0x3fb158(0x2b5))
|
|
237
|
+
_0x1d6537[_0x3fb158(0x1ba)] = 'http:';
|
|
234
238
|
else
|
|
235
|
-
|
|
236
|
-
return
|
|
239
|
+
_0x1d6537[_0x3fb158(_0x3d4218._0x24cbd7)] === _0x3fb158(_0x3d4218._0x3a5ebd) && (_0x1d6537[_0x3fb158(_0x3d4218._0x24cbd7)] = 'https:');
|
|
240
|
+
return _0x1d6537[_0x3fb158(0x258)]()[_0x3fb158(_0x3d4218._0x5e3793)](/\/$/, '');
|
|
237
241
|
}
|
|
238
|
-
function isMentionBoundary(
|
|
239
|
-
const
|
|
240
|
-
return !
|
|
242
|
+
function isMentionBoundary(_0x1f7984) {
|
|
243
|
+
const _0x46d4f5 = { _0x2b9738: 0x1a1 }, _0x3f034f = _0x363898;
|
|
244
|
+
return !_0x1f7984 || /\s|[([{'",。!?、:;]/[_0x3f034f(_0x46d4f5._0x2b9738)](_0x1f7984);
|
|
241
245
|
}
|
|
242
|
-
function isMentionTerminal(
|
|
243
|
-
|
|
246
|
+
function isMentionTerminal(_0xd99b0a) {
|
|
247
|
+
const _0x3ef8d9 = _0x363898;
|
|
248
|
+
return !_0xd99b0a || /\s|[)\]}'",。!?、:;,.!?]/[_0x3ef8d9(0x1a1)](_0xd99b0a);
|
|
244
249
|
}
|
|
245
|
-
function buildMatchableEntries(
|
|
246
|
-
const
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
...
|
|
250
|
+
function buildMatchableEntries(_0x2e3643) {
|
|
251
|
+
const _0x5d64f4 = {
|
|
252
|
+
_0x459563: 0x26b,
|
|
253
|
+
_0x402200: 0x155,
|
|
254
|
+
_0x42cb60: 0x1e5,
|
|
255
|
+
_0x189126: 0x224
|
|
256
|
+
}, _0x453b73 = _0x363898, _0x16e23b = [];
|
|
257
|
+
for (const _0x2df114 of [
|
|
258
|
+
..._0x2e3643[_0x453b73(_0x5d64f4._0x459563)],
|
|
259
|
+
..._0x2e3643[_0x453b73(_0x5d64f4._0x402200)]
|
|
254
260
|
]) {
|
|
255
|
-
|
|
256
|
-
'matchName':
|
|
257
|
-
'matchNameLower':
|
|
258
|
-
'participantId':
|
|
259
|
-
}),
|
|
260
|
-
'matchName':
|
|
261
|
-
'matchNameLower':
|
|
262
|
-
'participantId':
|
|
261
|
+
_0x16e23b[_0x453b73(_0x5d64f4._0x42cb60)]({
|
|
262
|
+
'matchName': _0x2df114[_0x453b73(0x1a5)],
|
|
263
|
+
'matchNameLower': _0x2df114['name'][_0x453b73(_0x5d64f4._0x189126)](),
|
|
264
|
+
'participantId': _0x2df114['id']
|
|
265
|
+
}), _0x2df114['id'] !== _0x2df114[_0x453b73(0x1a5)] && _0x16e23b[_0x453b73(0x1e5)]({
|
|
266
|
+
'matchName': _0x2df114['id'],
|
|
267
|
+
'matchNameLower': _0x2df114['id'][_0x453b73(_0x5d64f4._0x189126)](),
|
|
268
|
+
'participantId': _0x2df114['id']
|
|
263
269
|
});
|
|
264
270
|
}
|
|
265
|
-
return
|
|
271
|
+
return _0x16e23b;
|
|
266
272
|
}
|
|
267
|
-
function extractMentionedParticipantIds(
|
|
268
|
-
const
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
273
|
+
function extractMentionedParticipantIds(_0x1f930b, _0x4fa735) {
|
|
274
|
+
const _0x1013b3 = {
|
|
275
|
+
_0x5c4a6c: 0x1f7,
|
|
276
|
+
_0x15af48: 0x1c0,
|
|
277
|
+
_0x4191b4: 0x23c,
|
|
278
|
+
_0x54e766: 0x1af,
|
|
279
|
+
_0x16ef65: 0x2bd
|
|
280
|
+
}, _0x480136 = {
|
|
281
|
+
_0x3d2d9f: 0x26a,
|
|
282
|
+
_0xe7eec4: 0x1af,
|
|
283
|
+
_0x2b570c: 0x2bd
|
|
284
|
+
}, _0x1cae08 = _0x363898, _0x48d944 = buildMatchableEntries(_0x4fa735)[_0x1cae08(_0x1013b3._0x5c4a6c)]((_0x13eadb, _0x28d445) => _0x28d445[_0x1cae08(0x1af)][_0x1cae08(0x2bd)] - _0x13eadb['matchName'][_0x1cae08(0x2bd)]), _0x35e7ce = [], _0x95dd4a = new Set();
|
|
285
|
+
for (let _0x86f24a = 0x0; _0x86f24a < _0x1f930b[_0x1cae08(0x2bd)]; _0x86f24a += 0x1) {
|
|
286
|
+
if (_0x1f930b[_0x86f24a] !== '@' || !isMentionBoundary(_0x1f930b[_0x86f24a - 0x1]))
|
|
278
287
|
continue;
|
|
279
|
-
const
|
|
280
|
-
const
|
|
281
|
-
if (!
|
|
288
|
+
const _0x52146e = _0x1f930b[_0x1cae08(0x294)](_0x86f24a + 0x1), _0x2f2d9d = _0x52146e[_0x1cae08(0x224)](), _0x436f86 = _0x48d944['find'](_0x2bcf6f => {
|
|
289
|
+
const _0x47c48b = _0x1cae08;
|
|
290
|
+
if (!_0x2f2d9d[_0x47c48b(0x162)](_0x2bcf6f[_0x47c48b(_0x480136._0x3d2d9f)]))
|
|
282
291
|
return ![];
|
|
283
|
-
return isMentionTerminal(
|
|
292
|
+
return isMentionTerminal(_0x52146e[_0x2bcf6f[_0x47c48b(_0x480136._0xe7eec4)][_0x47c48b(_0x480136._0x2b570c)]]);
|
|
284
293
|
});
|
|
285
|
-
if (!
|
|
294
|
+
if (!_0x436f86 || _0x95dd4a[_0x1cae08(_0x1013b3._0x15af48)](_0x436f86[_0x1cae08(0x23c)]))
|
|
286
295
|
continue;
|
|
287
|
-
|
|
296
|
+
_0x95dd4a[_0x1cae08(0x1d3)](_0x436f86[_0x1cae08(0x23c)]), _0x35e7ce[_0x1cae08(0x1e5)](_0x436f86[_0x1cae08(_0x1013b3._0x4191b4)]), _0x86f24a += _0x436f86[_0x1cae08(_0x1013b3._0x54e766)][_0x1cae08(_0x1013b3._0x16ef65)];
|
|
288
297
|
}
|
|
289
|
-
return
|
|
298
|
+
return _0x35e7ce;
|
|
290
299
|
}
|
|
291
300
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
292
|
-
function anySignal(...
|
|
293
|
-
const
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
},
|
|
298
|
-
for (const
|
|
299
|
-
if (
|
|
300
|
-
return
|
|
301
|
-
|
|
301
|
+
function anySignal(..._0x217c68) {
|
|
302
|
+
const _0x41ca32 = {
|
|
303
|
+
_0x1b47c6: 0x23a,
|
|
304
|
+
_0x1bf261: 0x272,
|
|
305
|
+
_0xf74713: 0x2bc
|
|
306
|
+
}, _0x2ebf72 = _0x363898, _0x5a9b76 = new AbortController();
|
|
307
|
+
for (const _0x51e9a5 of _0x217c68) {
|
|
308
|
+
if (_0x51e9a5[_0x2ebf72(_0x41ca32._0x1b47c6)])
|
|
309
|
+
return _0x5a9b76[_0x2ebf72(0x180)](_0x51e9a5[_0x2ebf72(_0x41ca32._0x1bf261)]), _0x5a9b76[_0x2ebf72(0x1dc)];
|
|
310
|
+
_0x51e9a5[_0x2ebf72(_0x41ca32._0xf74713)]('abort', () => _0x5a9b76[_0x2ebf72(0x180)](_0x51e9a5[_0x2ebf72(0x272)]), {
|
|
302
311
|
'once': !![],
|
|
303
|
-
'signal':
|
|
312
|
+
'signal': _0x5a9b76['signal']
|
|
304
313
|
});
|
|
305
314
|
}
|
|
306
|
-
return
|
|
315
|
+
return _0x5a9b76[_0x2ebf72(0x1dc)];
|
|
307
316
|
}
|
|
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
|
-
|
|
317
|
+
function createInternalAgentClient(_0x351755) {
|
|
318
|
+
const _0x1805d6 = {
|
|
319
|
+
_0x3c4904: 0x1bd,
|
|
320
|
+
_0x15096c: 0x29a,
|
|
321
|
+
_0x220bb3: 0x266,
|
|
322
|
+
_0x4e9620: 0x266,
|
|
323
|
+
_0x517c5d: 0x2ad,
|
|
324
|
+
_0x143af8: 0x299,
|
|
325
|
+
_0x26a2fe: 0x24f,
|
|
326
|
+
_0x49975d: 0x231,
|
|
327
|
+
_0x6daf96: 0x216
|
|
328
|
+
}, _0xa32ab4 = {
|
|
329
|
+
_0x94f873: 0x178,
|
|
330
|
+
_0x33c6be: 0x2ab,
|
|
331
|
+
_0x55eb86: 0x1a3,
|
|
332
|
+
_0x1bb69e: 0x1a6,
|
|
333
|
+
_0x3bab60: 0x1d0,
|
|
334
|
+
_0x3b712: 0x2b7,
|
|
335
|
+
_0xcac447: 0x269,
|
|
336
|
+
_0x2d3d5f: 0x2bd,
|
|
337
|
+
_0x32414a: 0x278,
|
|
338
|
+
_0x5a264b: 0x2a7,
|
|
339
|
+
_0xae0352: 0x257,
|
|
340
|
+
_0x59d907: 0x283,
|
|
341
|
+
_0x1ef181: 0x1e2,
|
|
342
|
+
_0xeadac8: 0x287,
|
|
343
|
+
_0x259b91: 0x1e2,
|
|
344
|
+
_0x9b358a: 0x283,
|
|
345
|
+
_0x24950f: 0x22f,
|
|
346
|
+
_0x1e02f4: 0x178,
|
|
347
|
+
_0x9a27e3: 0x264,
|
|
348
|
+
_0x5b3b0f: 0x290,
|
|
349
|
+
_0x4dd317: 0x17b,
|
|
350
|
+
_0x42c7f6: 0x2bd,
|
|
351
|
+
_0x4c2913: 0x173,
|
|
352
|
+
_0x47328b: 0x1cc,
|
|
353
|
+
_0x4ac5ea: 0x1f6,
|
|
354
|
+
_0x29bc42: 0x28c,
|
|
355
|
+
_0x51bc11: 0x198,
|
|
356
|
+
_0x164274: 0x16b,
|
|
357
|
+
_0x2bd286: 0x2a7,
|
|
358
|
+
_0x281a23: 0x171,
|
|
359
|
+
_0x14fcf5: 0x1c9,
|
|
360
|
+
_0x32a566: 0x198,
|
|
361
|
+
_0x415d17: 0x1e5
|
|
362
|
+
}, _0x1ce273 = {
|
|
363
|
+
_0x563259: 0x20c,
|
|
364
|
+
_0x44eafa: 0x254
|
|
365
|
+
}, _0x45b4ea = {
|
|
366
|
+
_0x222652: 0x1d0,
|
|
367
|
+
_0x5a5fb9: 0x1b9,
|
|
368
|
+
_0x199b4b: 0x291,
|
|
369
|
+
_0x5ae63c: 0x28f,
|
|
370
|
+
_0x203bfe: 0x2a6,
|
|
371
|
+
_0x3a4539: 0x28c,
|
|
372
|
+
_0x482b62: 0x24c,
|
|
373
|
+
_0xd79a3f: 0x2a4
|
|
374
|
+
}, _0x17c7f4 = {
|
|
375
|
+
_0x57300b: 0x1c1,
|
|
376
|
+
_0x11f223: 0x2ab,
|
|
377
|
+
_0x36d7f2: 0x1a3,
|
|
378
|
+
_0x4c6186: 0x26d,
|
|
379
|
+
_0x1e6d8b: 0x1ce,
|
|
380
|
+
_0x313bb8: 0x28f,
|
|
381
|
+
_0x5e5832: 0x28f,
|
|
382
|
+
_0x1ae6cd: 0x2a4
|
|
383
|
+
}, _0xa30c50 = { _0x3a29d0: 0x164 }, _0x3ee2f8 = {
|
|
384
|
+
_0x354f38: 0x1b1,
|
|
385
|
+
_0x50ff0a: 0x164,
|
|
386
|
+
_0x428dd7: 0x1ad
|
|
387
|
+
}, _0x436125 = {
|
|
388
|
+
_0x164b42: 0x1a3,
|
|
389
|
+
_0x549fa0: 0x282,
|
|
390
|
+
_0xa7e332: 0x164
|
|
391
|
+
}, _0x691a72 = {
|
|
392
|
+
_0x3b48a3: 0x26c,
|
|
393
|
+
_0x1cd7c7: 0x164,
|
|
394
|
+
_0x3f3886: 0x1ce
|
|
395
|
+
}, _0x21046e = {
|
|
396
|
+
_0x579a8e: 0x291,
|
|
397
|
+
_0x1c613a: 0x2ab,
|
|
398
|
+
_0x131726: 0x1d0
|
|
399
|
+
}, _0x304260 = {
|
|
400
|
+
_0x35e580: 0x164,
|
|
401
|
+
_0x55f844: 0x2af,
|
|
402
|
+
_0x516114: 0x1e9,
|
|
403
|
+
_0x2ca1ec: 0x291
|
|
404
|
+
}, _0x1eeb7a = {
|
|
405
|
+
_0xa8a756: 0x27e,
|
|
406
|
+
_0x58da26: 0x1e9,
|
|
407
|
+
_0x554a03: 0x164,
|
|
408
|
+
_0x4ac08d: 0x1ce
|
|
409
|
+
}, _0x10708b = { _0x2bac9b: 0x1ce }, _0x51472c = {
|
|
410
|
+
_0x63f57a: 0x16a,
|
|
411
|
+
_0x12de89: 0x15a,
|
|
412
|
+
_0x1c1814: 0x1e8,
|
|
413
|
+
_0x2283d4: 0x1a3,
|
|
414
|
+
_0x4ee3ac: 0x257,
|
|
415
|
+
_0x242c94: 0x156
|
|
416
|
+
}, _0x3f496e = {
|
|
417
|
+
_0x2ff7d8: 0x254,
|
|
418
|
+
_0x540a72: 0x257,
|
|
419
|
+
_0x30edde: 0x20c,
|
|
420
|
+
_0x3810f9: 0x20c,
|
|
421
|
+
_0x595e69: 0x269,
|
|
422
|
+
_0x57a547: 0x252,
|
|
423
|
+
_0xc77ce3: 0x1b5,
|
|
424
|
+
_0x57d6e4: 0x2ab,
|
|
425
|
+
_0x16fab1: 0x258,
|
|
426
|
+
_0x1aaf5e: 0x28f,
|
|
427
|
+
_0x2a38f1: 0x1ab
|
|
428
|
+
}, _0x311de5 = {
|
|
429
|
+
_0x2df420: 0x21e,
|
|
430
|
+
_0x378d65: 0x202,
|
|
431
|
+
_0x43b171: 0x18b,
|
|
432
|
+
_0x1b93c1: 0x283,
|
|
433
|
+
_0x52fdee: 0x162,
|
|
434
|
+
_0x4781b9: 0x257,
|
|
435
|
+
_0x575f14: 0x18b
|
|
436
|
+
}, _0x12282c = {
|
|
437
|
+
_0x461d16: 0x1e2,
|
|
438
|
+
_0x544e62: 0x257,
|
|
439
|
+
_0x182a35: 0x294
|
|
440
|
+
}, _0x1b1de3 = { _0x484aa3: 0x228 }, _0x4b0287 = { _0x26827f: 0x24b }, _0x23b799 = {
|
|
441
|
+
_0x2d6661: 0x1a3,
|
|
442
|
+
_0x51a217: 0x16a,
|
|
443
|
+
_0x3d80ac: 0x1ce,
|
|
444
|
+
_0x4776ea: 0x28f,
|
|
445
|
+
_0x58d7a0: 0x20c,
|
|
446
|
+
_0x1b4beb: 0x1e2
|
|
447
|
+
}, _0x2c9247 = {
|
|
448
|
+
_0x10b548: 0x164,
|
|
449
|
+
_0x5953d7: 0x1b2,
|
|
450
|
+
_0x57831b: 0x1ce,
|
|
451
|
+
_0x3bec6b: 0x291
|
|
452
|
+
}, _0x20cf5a = {
|
|
453
|
+
_0x5a23e8: 0x142,
|
|
454
|
+
_0x1eb195: 0x164
|
|
455
|
+
}, _0x47dcbd = {
|
|
456
|
+
_0xc54dbd: 0x1dc,
|
|
457
|
+
_0x1f13e8: 0x1dc,
|
|
458
|
+
_0x34b372: 0x291
|
|
459
|
+
}, _0x2e0170 = {
|
|
460
|
+
_0x640915: 0x1dc,
|
|
461
|
+
_0x304d41: 0x21f,
|
|
462
|
+
_0x33c9d0: 0x291
|
|
463
|
+
}, _0x2387e9 = {
|
|
464
|
+
_0x583211: 0x2a7,
|
|
465
|
+
_0x3d1119: 0x296,
|
|
466
|
+
_0x38bc2a: 0x2ad,
|
|
467
|
+
_0x457e10: 0x16d,
|
|
468
|
+
_0x2adeb6: 0x182,
|
|
469
|
+
_0x5a116f: 0x225,
|
|
470
|
+
_0x2dee1a: 0x1de
|
|
471
|
+
}, _0x1ab292 = {
|
|
472
|
+
_0x49cd06: 0x24c,
|
|
473
|
+
_0x9319c7: 0x1f4,
|
|
474
|
+
_0x53084c: 0x207
|
|
475
|
+
}, _0x493ef2 = {
|
|
476
|
+
_0x1bd1a8: 0x2a6,
|
|
477
|
+
_0x2ee5ed: 0x1ca,
|
|
478
|
+
_0x1f3f3c: 0x276,
|
|
479
|
+
_0x476b15: 0x25c,
|
|
480
|
+
_0x3e7128: 0x294,
|
|
481
|
+
_0xadc446: 0x172,
|
|
482
|
+
_0x44e1b1: 0x184,
|
|
483
|
+
_0x2841fa: 0x1a9,
|
|
484
|
+
_0x124dc4: 0x179
|
|
485
|
+
}, _0x1a51eb = _0x363898, _0x344461 = _0x351755[_0x1a51eb(_0x1805d6._0x3c4904)] ?? fetch, _0x817a00 = _0x351755[_0x1a51eb(_0x1805d6._0x15096c)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1a75b1 = typeof _0x351755[_0x1a51eb(_0x1805d6._0x220bb3)] === _0x1a51eb(0x287) && _0x351755[_0x1a51eb(_0x1805d6._0x4e9620)] > 0x0 ? _0x351755[_0x1a51eb(0x266)] : 0x0, _0x4cd6b7 = _0x351755[_0x1a51eb(0x188)]?.[_0x1a51eb(_0x1805d6._0x517c5d)]() || void 0x0, _0x3b45d6 = _0x351755[_0x1a51eb(_0x1805d6._0x143af8)]?.['trim']() || void 0x0, _0x5b68c0 = _0x351755[_0x1a51eb(_0x1805d6._0x26a2fe)] === !![], _0x2fe8f1 = _0x351755[_0x1a51eb(0x220)]?.[_0x1a51eb(0x2ad)]() || void 0x0, _0x211ef2 = _0x351755['workerThreadTarget']?.['trim']() || void 0x0, _0x2df746 = createHeaders(_0x351755[_0x1a51eb(_0x1805d6._0x49975d)]), _0x182dd4 = toHttpBaseUrl(_0x351755[_0x1a51eb(_0x1805d6._0x6daf96)]);
|
|
486
|
+
let _0x54e38e = null;
|
|
487
|
+
const _0x2ac50a = new Map();
|
|
488
|
+
let _0x43b86a = _0x1a75b1, _0x23223a = _0x1a75b1;
|
|
489
|
+
function _0x35706e(_0x576405) {
|
|
490
|
+
const _0x3d002f = _0x1a51eb, _0x3c49ec = _0x576405[_0x3d002f(0x184)][_0x3d002f(_0x493ef2._0x1bd1a8)][_0x3d002f(0x28c)]('content-type') ?? _0x3d002f(_0x493ef2._0x2ee5ed), _0x4ed4be = _0x576405[_0x3d002f(_0x493ef2._0x1f3f3c)][_0x3d002f(0x2ad)]()[_0x3d002f(_0x493ef2._0x476b15)](/\s+/g, '\x20')[_0x3d002f(_0x493ef2._0x3e7128)](0x0, 0x78) || '<empty>';
|
|
491
|
+
return _0x3d002f(_0x493ef2._0xadc446) + _0x576405[_0x3d002f(0x20d)] + _0x3d002f(0x15e) + _0x576405[_0x3d002f(_0x493ef2._0x44e1b1)][_0x3d002f(0x291)] + _0x3d002f(_0x493ef2._0x2841fa) + _0x3c49ec + _0x3d002f(_0x493ef2._0x124dc4) + _0x4ed4be + _0x3d002f(0x181);
|
|
457
492
|
}
|
|
458
|
-
async function
|
|
459
|
-
const
|
|
460
|
-
if (!
|
|
493
|
+
async function _0x512d71(_0x26bb4c, _0x1ff2ae) {
|
|
494
|
+
const _0x5e6c6a = _0x1a51eb, _0x3b624e = Buffer[_0x5e6c6a(_0x1ab292._0x49cd06)](await _0x1ff2ae[_0x5e6c6a(_0x1ab292._0x9319c7)]())[_0x5e6c6a(0x258)](_0x5e6c6a(_0x1ab292._0x53084c));
|
|
495
|
+
if (!_0x3b624e[_0x5e6c6a(0x2ad)]())
|
|
461
496
|
return {};
|
|
462
497
|
try {
|
|
463
|
-
return JSON['parse'](
|
|
498
|
+
return JSON['parse'](_0x3b624e);
|
|
464
499
|
} catch {
|
|
465
|
-
throw new Error(
|
|
466
|
-
'bodyText':
|
|
467
|
-
'requestUrl':
|
|
468
|
-
'response':
|
|
500
|
+
throw new Error(_0x35706e({
|
|
501
|
+
'bodyText': _0x3b624e,
|
|
502
|
+
'requestUrl': _0x26bb4c,
|
|
503
|
+
'response': _0x1ff2ae
|
|
469
504
|
}));
|
|
470
505
|
}
|
|
471
506
|
}
|
|
472
|
-
function
|
|
473
|
-
const
|
|
474
|
-
if (
|
|
475
|
-
return
|
|
476
|
-
const
|
|
477
|
-
for (const [
|
|
478
|
-
|
|
507
|
+
function _0x46c503(_0xec6bc8, _0x1d938b) {
|
|
508
|
+
const _0x254924 = _0x1a51eb, _0x403866 = typeof _0x1d938b[_0x254924(0x296)] === _0x254924(_0x2387e9._0x583211) ? _0x1d938b[_0x254924(_0x2387e9._0x3d1119)][_0x254924(_0x2387e9._0x38bc2a)]() : '';
|
|
509
|
+
if (_0x403866)
|
|
510
|
+
return _0x403866;
|
|
511
|
+
const _0x377906 = Date[_0x254924(0x295)]();
|
|
512
|
+
for (const [_0x43c093, _0x476e55] of _0x2ac50a) {
|
|
513
|
+
_0x476e55[_0x254924(_0x2387e9._0x457e10)] <= _0x377906 && _0x2ac50a[_0x254924(0x1d1)](_0x43c093);
|
|
479
514
|
}
|
|
480
|
-
const
|
|
481
|
-
...
|
|
515
|
+
const _0x29a26c = {
|
|
516
|
+
..._0x1d938b,
|
|
482
517
|
'idempotency_key': void 0x0
|
|
483
|
-
},
|
|
484
|
-
if (
|
|
485
|
-
return
|
|
486
|
-
const
|
|
487
|
-
return
|
|
488
|
-
'expiresAt':
|
|
489
|
-
'value':
|
|
490
|
-
}),
|
|
518
|
+
}, _0x4da7ce = createHash('sha256')[_0x254924(_0x2387e9._0x2adeb6)](_0xec6bc8 + ':' + stableStringify(_0x29a26c))['digest'](_0x254924(_0x2387e9._0x5a116f)), _0x972480 = _0xec6bc8 + ':' + _0x4da7ce, _0x2836d5 = _0x2ac50a[_0x254924(0x28c)](_0x972480);
|
|
519
|
+
if (_0x2836d5)
|
|
520
|
+
return _0x2836d5[_0x254924(0x160)];
|
|
521
|
+
const _0x32ced2 = _0x254924(_0x2387e9._0x2dee1a) + _0xec6bc8 + ':' + randomUUID();
|
|
522
|
+
return _0x2ac50a['set'](_0x972480, {
|
|
523
|
+
'expiresAt': _0x377906 + 0x5 * 0x3c * 0x3e8,
|
|
524
|
+
'value': _0x32ced2
|
|
525
|
+
}), _0x32ced2;
|
|
491
526
|
}
|
|
492
|
-
async function
|
|
493
|
-
const
|
|
527
|
+
async function _0x3c162b(_0x1e024f, _0x5e602f) {
|
|
528
|
+
const _0x1aaa12 = _0x1a51eb, _0x3dd92e = new AbortController(), _0x45b9d0 = setTimeout(() => _0x3dd92e[_0x1aaa12(0x180)](), _0x817a00), _0x12933e = _0x5e602f?.[_0x1aaa12(_0x2e0170._0x640915)] ? anySignal(_0x5e602f[_0x1aaa12(0x1dc)], _0x3dd92e['signal']) : _0x3dd92e[_0x1aaa12(0x1dc)], _0x3f87fe = '' + _0x182dd4 + _0x1e024f;
|
|
494
529
|
try {
|
|
495
|
-
const
|
|
496
|
-
...
|
|
497
|
-
'signal':
|
|
498
|
-
}),
|
|
499
|
-
if (!
|
|
500
|
-
throw new Error(asErrorMessage(
|
|
501
|
-
return
|
|
530
|
+
const _0x5bad77 = await _0x344461(_0x3f87fe, {
|
|
531
|
+
..._0x5e602f,
|
|
532
|
+
'signal': _0x12933e
|
|
533
|
+
}), _0x44cc3d = await _0x512d71(_0x3f87fe, _0x5bad77);
|
|
534
|
+
if (!_0x5bad77['ok'] || _0x44cc3d[_0x1aaa12(0x1f9)] === ![])
|
|
535
|
+
throw new Error(asErrorMessage(_0x44cc3d[_0x1aaa12(_0x2e0170._0x304d41)], _0x1aaa12(0x241) + _0x5bad77[_0x1aaa12(_0x2e0170._0x33c9d0)]));
|
|
536
|
+
return _0x44cc3d;
|
|
502
537
|
} finally {
|
|
503
|
-
clearTimeout(
|
|
538
|
+
clearTimeout(_0x45b9d0);
|
|
504
539
|
}
|
|
505
540
|
}
|
|
506
|
-
async function
|
|
507
|
-
const
|
|
541
|
+
async function _0x3a2b98(_0x1472da, _0x314004) {
|
|
542
|
+
const _0x358f7c = _0x1a51eb, _0x39f3d6 = new AbortController(), _0x56d177 = setTimeout(() => _0x39f3d6['abort'](), _0x817a00), _0x4c730e = _0x314004?.[_0x358f7c(_0x47dcbd._0xc54dbd)] ? anySignal(_0x314004[_0x358f7c(_0x47dcbd._0x1f13e8)], _0x39f3d6['signal']) : _0x39f3d6[_0x358f7c(0x1dc)], _0x11baf2 = '' + _0x182dd4 + _0x1472da;
|
|
508
543
|
try {
|
|
509
|
-
const
|
|
510
|
-
...
|
|
511
|
-
'signal':
|
|
512
|
-
}),
|
|
513
|
-
if (!
|
|
514
|
-
throw new Error(asErrorMessage(
|
|
515
|
-
return
|
|
544
|
+
const _0x144d5a = await _0x344461(_0x11baf2, {
|
|
545
|
+
..._0x314004,
|
|
546
|
+
'signal': _0x4c730e
|
|
547
|
+
}), _0x384343 = await _0x512d71(_0x11baf2, _0x144d5a);
|
|
548
|
+
if (!_0x144d5a['ok'])
|
|
549
|
+
throw new Error(asErrorMessage(_0x384343['error'], _0x358f7c(0x241) + _0x144d5a[_0x358f7c(_0x47dcbd._0x34b372)]));
|
|
550
|
+
return _0x384343;
|
|
516
551
|
} finally {
|
|
517
|
-
clearTimeout(
|
|
552
|
+
clearTimeout(_0x56d177);
|
|
518
553
|
}
|
|
519
554
|
}
|
|
520
|
-
async function
|
|
521
|
-
const
|
|
522
|
-
if (!
|
|
555
|
+
async function _0x3b9f33(_0x5838b0) {
|
|
556
|
+
const _0x194356 = _0x1a51eb;
|
|
557
|
+
if (!_0x3b45d6 || _0x5838b0 <= _0x23223a)
|
|
523
558
|
return;
|
|
524
|
-
await
|
|
525
|
-
'body': JSON[
|
|
526
|
-
'headers':
|
|
527
|
-
'method':
|
|
528
|
-
}),
|
|
559
|
+
await _0x3c162b(_0x194356(_0x20cf5a._0x5a23e8) + encodeURIComponent(_0x3b45d6) + _0x194356(0x145), {
|
|
560
|
+
'body': JSON[_0x194356(_0x20cf5a._0x1eb195)]({ 'lastSeenSeq': _0x5838b0 }),
|
|
561
|
+
'headers': _0x2df746,
|
|
562
|
+
'method': _0x194356(0x213)
|
|
563
|
+
}), _0x23223a = _0x5838b0;
|
|
529
564
|
}
|
|
530
|
-
async function
|
|
531
|
-
const
|
|
532
|
-
if (!
|
|
565
|
+
async function _0x250b9a(_0x44f80b) {
|
|
566
|
+
const _0x937728 = _0x1a51eb;
|
|
567
|
+
if (!_0x4cd6b7 || !_0x2fe8f1 || _0x44f80b <= _0x23223a)
|
|
533
568
|
return;
|
|
534
|
-
const
|
|
535
|
-
'body': JSON[
|
|
536
|
-
'last_seen_seq':
|
|
537
|
-
'worker_session_id':
|
|
569
|
+
const _0x199665 = await _0x344461(_0x4cd6b7 + _0x937728(0x211), {
|
|
570
|
+
'body': JSON[_0x937728(_0x2c9247._0x10b548)]({
|
|
571
|
+
'last_seen_seq': _0x44f80b,
|
|
572
|
+
'worker_session_id': _0x2fe8f1
|
|
538
573
|
}),
|
|
539
|
-
'headers': { 'Content-Type':
|
|
540
|
-
'method':
|
|
574
|
+
'headers': { 'Content-Type': _0x937728(_0x2c9247._0x5953d7) },
|
|
575
|
+
'method': _0x937728(_0x2c9247._0x57831b)
|
|
541
576
|
});
|
|
542
|
-
if (!
|
|
543
|
-
throw new Error(
|
|
544
|
-
|
|
577
|
+
if (!_0x199665['ok'])
|
|
578
|
+
throw new Error(_0x937728(0x241) + _0x199665[_0x937728(_0x2c9247._0x3bec6b)]);
|
|
579
|
+
_0x23223a = _0x44f80b;
|
|
545
580
|
}
|
|
546
|
-
async function
|
|
547
|
-
const
|
|
548
|
-
'body': JSON[
|
|
549
|
-
'headers':
|
|
550
|
-
'method':
|
|
581
|
+
async function _0x11b4fa(_0x2708f3) {
|
|
582
|
+
const _0x4ba817 = _0x1a51eb, _0x2a47bf = parseTarget(_0x2708f3), _0xc6f53e = await _0x3c162b('/internal/agent/' + _0x351755[_0x4ba817(_0x23b799._0x2d6661)] + _0x4ba817(0x22a), {
|
|
583
|
+
'body': JSON['stringify']({ 'target': _0x2a47bf[_0x4ba817(_0x23b799._0x51a217)] }),
|
|
584
|
+
'headers': _0x2df746,
|
|
585
|
+
'method': _0x4ba817(_0x23b799._0x3d80ac)
|
|
551
586
|
});
|
|
552
587
|
return {
|
|
553
|
-
'channelId':
|
|
554
|
-
'target':
|
|
555
|
-
'task':
|
|
556
|
-
'threadId':
|
|
557
|
-
'threadNumber':
|
|
588
|
+
'channelId': _0xc6f53e[_0x4ba817(_0x23b799._0x4776ea)]?.[_0x4ba817(_0x23b799._0x58d7a0)] ?? '',
|
|
589
|
+
'target': _0x2a47bf['channelTarget'],
|
|
590
|
+
'task': _0xc6f53e['data']?.[_0x4ba817(0x27a)],
|
|
591
|
+
'threadId': _0xc6f53e['data']?.['threadId'],
|
|
592
|
+
'threadNumber': _0xc6f53e['data']?.[_0x4ba817(_0x23b799._0x1b4beb)]
|
|
558
593
|
};
|
|
559
594
|
}
|
|
560
|
-
async function
|
|
561
|
-
const
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
'
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
'
|
|
581
|
-
|
|
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'] ?? '';
|
|
595
|
+
async function _0xcb606f(_0x49abbf = {}) {
|
|
596
|
+
const _0x1b83e4 = {
|
|
597
|
+
_0x142890: 0x2ab,
|
|
598
|
+
_0x1dcc8a: 0x1a3,
|
|
599
|
+
_0x19347d: 0x227,
|
|
600
|
+
_0x317452: 0x227,
|
|
601
|
+
_0xdae1bc: 0x28f,
|
|
602
|
+
_0x5f46f9: 0x28f
|
|
603
|
+
}, _0x137d09 = _0x1a51eb;
|
|
604
|
+
if (!_0x49abbf[_0x137d09(_0x4b0287._0x26827f)] && _0x54e38e)
|
|
605
|
+
return _0x54e38e;
|
|
606
|
+
return _0x54e38e = (async () => {
|
|
607
|
+
const _0x500949 = _0x137d09, _0x3ef0c6 = await _0x3c162b(_0x500949(_0x1b83e4._0x142890) + _0x351755[_0x500949(_0x1b83e4._0x1dcc8a)] + _0x500949(0x29b), {
|
|
608
|
+
'headers': _0x2df746,
|
|
609
|
+
'method': _0x500949(0x1d0)
|
|
610
|
+
}), _0x34102f = _0x3ef0c6[_0x500949(0x28f)]?.[_0x500949(0x29d)] ?? [], _0x36ed3b = _0x34102f[_0x500949(_0x1b83e4._0x19347d)](_0x33ebf5 => _0x33ebf5[_0x500949(0x200)]?.[_0x500949(0x196)] === 'agent')[_0x500949(0x1ab)](_0x39a310 => ({
|
|
611
|
+
'id': _0xec9f81(_0x39a310),
|
|
612
|
+
'name': _0x6f0504(_0x39a310)
|
|
613
|
+
}))[_0x500949(_0x1b83e4._0x317452)](_0x2eb877 => _0x2eb877['id']), _0x1dc28a = _0x34102f[_0x500949(0x227)](_0x61368f => _0x61368f[_0x500949(0x200)]?.[_0x500949(0x196)] !== 'agent')[_0x500949(0x1ab)](_0x31bbc1 => ({
|
|
614
|
+
'id': _0xec9f81(_0x31bbc1),
|
|
615
|
+
'name': _0x6f0504(_0x31bbc1)
|
|
616
|
+
}))['filter'](_0xa6987 => _0xa6987['id']), _0x31230b = _0x3ef0c6[_0x500949(_0x1b83e4._0xdae1bc)]?.['server']['id'] ?? '';
|
|
586
617
|
return {
|
|
587
|
-
'agents':
|
|
588
|
-
'channels':
|
|
589
|
-
'humans':
|
|
590
|
-
'serverId':
|
|
591
|
-
'serverName':
|
|
618
|
+
'agents': _0x36ed3b,
|
|
619
|
+
'channels': _0x3ef0c6[_0x500949(_0x1b83e4._0x5f46f9)]?.['channels'] ?? [],
|
|
620
|
+
'humans': _0x1dc28a,
|
|
621
|
+
'serverId': _0x31230b,
|
|
622
|
+
'serverName': _0x3ef0c6[_0x500949(_0x1b83e4._0x5f46f9)]?.['server'][_0x500949(0x1a5)] ?? _0x31230b
|
|
592
623
|
};
|
|
593
|
-
})()[
|
|
594
|
-
|
|
595
|
-
throw
|
|
596
|
-
}),
|
|
624
|
+
})()[_0x137d09(0x246)](_0x39c0d5 => {
|
|
625
|
+
_0x54e38e = null;
|
|
626
|
+
throw _0x39c0d5;
|
|
627
|
+
}), _0x54e38e;
|
|
597
628
|
}
|
|
598
|
-
function
|
|
599
|
-
const
|
|
600
|
-
return
|
|
629
|
+
function _0x490be(_0xa94d10, _0x30e2f8) {
|
|
630
|
+
const _0x121c20 = _0x1a51eb;
|
|
631
|
+
return _0x30e2f8[_0x121c20(0x26b)][_0x121c20(0x278)](_0x5e9dfb => _0x5e9dfb['id'] === _0xa94d10 || _0x5e9dfb[_0x121c20(0x1a5)] === _0xa94d10) ? _0x121c20(0x235) : _0x121c20(_0x1b1de3._0x484aa3);
|
|
601
632
|
}
|
|
602
|
-
function
|
|
603
|
-
const
|
|
604
|
-
if (
|
|
605
|
-
return
|
|
606
|
-
if (
|
|
607
|
-
return
|
|
608
|
-
if (
|
|
609
|
-
return
|
|
610
|
-
return
|
|
633
|
+
function _0x419ccb(_0x97f8b) {
|
|
634
|
+
const _0x17f8ee = _0x1a51eb;
|
|
635
|
+
if (_0x97f8b['threadNumber'] != null)
|
|
636
|
+
return _0x97f8b['channelTarget'] + ':t' + _0x97f8b[_0x17f8ee(_0x12282c._0x461d16)];
|
|
637
|
+
if (_0x97f8b['rootMessageId'])
|
|
638
|
+
return _0x97f8b[_0x17f8ee(0x202)] + ':' + _0x97f8b['rootMessageId'];
|
|
639
|
+
if (_0x97f8b[_0x17f8ee(_0x12282c._0x544e62)])
|
|
640
|
+
return _0x97f8b['channelTarget'] + ':' + _0x97f8b['threadId'][_0x17f8ee(_0x12282c._0x182a35)](0x0, 0x8);
|
|
641
|
+
return _0x97f8b[_0x17f8ee(0x202)];
|
|
611
642
|
}
|
|
612
|
-
function
|
|
613
|
-
const
|
|
643
|
+
function _0x2f8d14(_0xc178fe, _0x5589fe) {
|
|
644
|
+
const _0x3152f4 = _0x1a51eb;
|
|
614
645
|
try {
|
|
615
|
-
const
|
|
616
|
-
if (
|
|
646
|
+
const _0x4a6990 = parseTarget(_0xc178fe);
|
|
647
|
+
if (_0x4a6990[_0x3152f4(0x198)] !== _0x3152f4(_0x311de5._0x2df420) || _0x4a6990['channelTarget'] !== _0x5589fe[_0x3152f4(_0x311de5._0x378d65)])
|
|
617
648
|
return ![];
|
|
618
|
-
if (
|
|
649
|
+
if (_0x5589fe['threadNumber'] != null && _0x4a6990[_0x3152f4(_0x311de5._0x43b171)] === 't' + _0x5589fe['threadNumber'])
|
|
619
650
|
return !![];
|
|
620
|
-
if (
|
|
621
|
-
return
|
|
622
|
-
if (
|
|
623
|
-
return
|
|
651
|
+
if (_0x5589fe[_0x3152f4(0x283)])
|
|
652
|
+
return _0x4a6990[_0x3152f4(0x18b)] === _0x5589fe['rootMessageId'] || _0x5589fe[_0x3152f4(_0x311de5._0x1b93c1)][_0x3152f4(_0x311de5._0x52fdee)](_0x4a6990['threadShortId']);
|
|
653
|
+
if (_0x5589fe[_0x3152f4(_0x311de5._0x4781b9)])
|
|
654
|
+
return _0x4a6990[_0x3152f4(_0x311de5._0x575f14)] === _0x5589fe[_0x3152f4(_0x311de5._0x4781b9)] || _0x5589fe[_0x3152f4(_0x311de5._0x4781b9)][_0x3152f4(_0x311de5._0x52fdee)](_0x4a6990[_0x3152f4(_0x311de5._0x575f14)]);
|
|
624
655
|
return ![];
|
|
625
656
|
} catch {
|
|
626
657
|
return ![];
|
|
627
658
|
}
|
|
628
659
|
}
|
|
629
|
-
function
|
|
630
|
-
const
|
|
631
|
-
return
|
|
660
|
+
function _0xec9f81(_0x2d0b78) {
|
|
661
|
+
const _0x27ac5a = _0x1a51eb;
|
|
662
|
+
return _0x2d0b78['member']?.[_0x27ac5a(0x23c)] ?? _0x2d0b78['participant']?.['id'] ?? _0x2d0b78[_0x27ac5a(0x23c)] ?? '';
|
|
632
663
|
}
|
|
633
|
-
function
|
|
634
|
-
const
|
|
635
|
-
return
|
|
664
|
+
function _0x6f0504(_0x241838) {
|
|
665
|
+
const _0x17b907 = _0x1a51eb;
|
|
666
|
+
return _0x241838['participant']?.[_0x17b907(0x1a5)] ?? _0xec9f81(_0x241838);
|
|
636
667
|
}
|
|
637
|
-
async function
|
|
638
|
-
const
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
const
|
|
644
|
-
'headers':
|
|
645
|
-
'method':
|
|
646
|
-
}),
|
|
647
|
-
'attachments': (
|
|
648
|
-
'filename':
|
|
649
|
-
'id':
|
|
668
|
+
async function _0x5ab1a4(_0x4dd991) {
|
|
669
|
+
const _0x4859ce = _0x1a51eb, _0x17e82f = Math['min'](_0x4dd991[_0x4859ce(_0x3f496e._0x2ff7d8)] ?? 0x32, 0x64), _0x3eaec1 = await _0xcb606f(), _0x1b3367 = new URLSearchParams();
|
|
670
|
+
_0x1b3367['set'](_0x4859ce(0x254), String(_0x17e82f));
|
|
671
|
+
_0x4dd991[_0x4859ce(0x257)] ? (_0x1b3367['set']('threadId', _0x4dd991[_0x4859ce(_0x3f496e._0x540a72)]), _0x1b3367['set'](_0x4859ce(_0x3f496e._0x30edde), _0x4dd991[_0x4859ce(_0x3f496e._0x3810f9)])) : _0x1b3367[_0x4859ce(0x178)](_0x4859ce(0x20c), _0x4dd991[_0x4859ce(0x20c)]);
|
|
672
|
+
_0x4dd991[_0x4859ce(0x252)] && _0x1b3367[_0x4859ce(0x178)](_0x4859ce(_0x3f496e._0x595e69), String(_0x4dd991[_0x4859ce(_0x3f496e._0x57a547)]));
|
|
673
|
+
_0x4dd991[_0x4859ce(_0x3f496e._0xc77ce3)] !== void 0x0 && _0x1b3367[_0x4859ce(0x178)](_0x4859ce(0x1b5), String(_0x4dd991['after']));
|
|
674
|
+
const _0x402f0c = await _0x3c162b(_0x4859ce(_0x3f496e._0x57d6e4) + _0x351755[_0x4859ce(0x1a3)] + '/history?' + _0x1b3367[_0x4859ce(_0x3f496e._0x16fab1)](), {
|
|
675
|
+
'headers': _0x2df746,
|
|
676
|
+
'method': 'GET'
|
|
677
|
+
}), _0x8291ed = (_0x402f0c[_0x4859ce(_0x3f496e._0x1aaf5e)] ?? [])[_0x4859ce(_0x3f496e._0x2a38f1)](_0x5a9e60 => ({
|
|
678
|
+
'attachments': (_0x5a9e60[_0x4859ce(0x2be)] ?? [])[_0x4859ce(0x1ab)](_0xffaa40 => ({
|
|
679
|
+
'filename': _0xffaa40['filename'] ?? _0xffaa40['id'],
|
|
680
|
+
'id': _0xffaa40['id']
|
|
650
681
|
})),
|
|
651
|
-
'content':
|
|
652
|
-
'createdAt':
|
|
653
|
-
...
|
|
654
|
-
'messageId':
|
|
655
|
-
'senderName':
|
|
656
|
-
'senderType':
|
|
657
|
-
'seq':
|
|
682
|
+
'content': _0x5a9e60[_0x4859ce(0x171)] ?? '',
|
|
683
|
+
'createdAt': _0x5a9e60[_0x4859ce(0x281)],
|
|
684
|
+
..._0x5a9e60[_0x4859ce(0x198)] && _0x5a9e60[_0x4859ce(0x198)] !== _0x4859ce(0x1c9) ? { 'kind': _0x5a9e60[_0x4859ce(0x198)] } : {},
|
|
685
|
+
'messageId': _0x5a9e60['id'],
|
|
686
|
+
'senderName': _0x5a9e60[_0x4859ce(0x16b)],
|
|
687
|
+
'senderType': _0x490be(_0x5a9e60[_0x4859ce(0x16b)], _0x3eaec1),
|
|
688
|
+
'seq': _0x5a9e60['eventSeq'] ?? 0x0
|
|
658
689
|
}));
|
|
659
690
|
return {
|
|
660
|
-
'channel':
|
|
661
|
-
'hasMore':
|
|
662
|
-
'messages':
|
|
663
|
-
'nextCursor':
|
|
691
|
+
'channel': _0x4dd991[_0x4859ce(0x202)],
|
|
692
|
+
'hasMore': _0x402f0c[_0x4859ce(0x2b7)]?.[_0x4859ce(0x1a7)] ?? ![],
|
|
693
|
+
'messages': _0x8291ed,
|
|
694
|
+
'nextCursor': _0x402f0c['meta']?.[_0x4859ce(_0x3f496e._0x595e69)]
|
|
664
695
|
};
|
|
665
696
|
}
|
|
666
697
|
return {
|
|
667
|
-
async 'sendMessage'(
|
|
668
|
-
const
|
|
669
|
-
'body': JSON[
|
|
670
|
-
'attachment_ids':
|
|
671
|
-
'bodyMarkdown':
|
|
672
|
-
'channelId':
|
|
673
|
-
...
|
|
674
|
-
'threadId':
|
|
675
|
-
...
|
|
698
|
+
async 'sendMessage'(_0x558d65) {
|
|
699
|
+
const _0x12369b = _0x1a51eb, _0x5f4019 = await _0x11b4fa(_0x558d65[_0x12369b(_0x51472c._0x63f57a)]), _0x4eb2e6 = _0x558d65[_0x12369b(_0x51472c._0x12de89)][_0x12369b(_0x51472c._0x1c1814)]('@') ? extractMentionedParticipantIds(_0x558d65[_0x12369b(0x15a)], await _0xcb606f()) : [], _0x1b9945 = await _0x3c162b('/internal/agent/' + _0x351755[_0x12369b(_0x51472c._0x2283d4)] + '/send', {
|
|
700
|
+
'body': JSON[_0x12369b(0x164)]({
|
|
701
|
+
'attachment_ids': _0x558d65['attachmentIds'],
|
|
702
|
+
'bodyMarkdown': _0x558d65[_0x12369b(0x15a)],
|
|
703
|
+
'channelId': _0x5f4019[_0x12369b(0x20c)],
|
|
704
|
+
..._0x4eb2e6[_0x12369b(0x2bd)] > 0x0 ? { 'mentionedParticipantIds': _0x4eb2e6 } : {},
|
|
705
|
+
'threadId': _0x5f4019[_0x12369b(_0x51472c._0x4ee3ac)],
|
|
706
|
+
..._0x558d65[_0x12369b(_0x51472c._0x242c94)] ? { 'visibility': _0x558d65[_0x12369b(0x156)] } : {}
|
|
676
707
|
}),
|
|
677
|
-
'headers':
|
|
678
|
-
'method':
|
|
708
|
+
'headers': _0x2df746,
|
|
709
|
+
'method': _0x12369b(0x1ce)
|
|
679
710
|
});
|
|
680
|
-
return { 'messageId':
|
|
711
|
+
return { 'messageId': _0x1b9945[_0x12369b(0x28f)]?.['id'] ?? '' };
|
|
681
712
|
},
|
|
682
713
|
async 'listSchedules'() {
|
|
683
|
-
const
|
|
684
|
-
'headers':
|
|
685
|
-
'method':
|
|
714
|
+
const _0x1a72d7 = _0x1a51eb, _0xf7c6f3 = await _0x3c162b(_0x1a72d7(0x286), {
|
|
715
|
+
'headers': _0x2df746,
|
|
716
|
+
'method': 'GET'
|
|
686
717
|
});
|
|
687
|
-
return
|
|
718
|
+
return _0xf7c6f3[_0x1a72d7(0x28f)] ?? [];
|
|
688
719
|
},
|
|
689
|
-
async 'claimScheduleRun'(
|
|
690
|
-
const
|
|
691
|
-
'body': JSON['stringify'](
|
|
692
|
-
'headers':
|
|
693
|
-
'method':
|
|
720
|
+
async 'claimScheduleRun'(_0x21fc0e) {
|
|
721
|
+
const _0x44fa7a = _0x1a51eb, _0x389875 = await _0x3c162b('/api/internal/schedules/claim', {
|
|
722
|
+
'body': JSON['stringify'](_0x21fc0e),
|
|
723
|
+
'headers': _0x2df746,
|
|
724
|
+
'method': _0x44fa7a(_0x10708b._0x2bac9b)
|
|
694
725
|
});
|
|
695
|
-
return
|
|
726
|
+
return _0x389875[_0x44fa7a(0x28f)] ?? {
|
|
696
727
|
'granted': ![],
|
|
697
728
|
'runId': null,
|
|
698
729
|
'schedule': null,
|
|
699
|
-
'scheduledFor':
|
|
730
|
+
'scheduledFor': _0x21fc0e[_0x44fa7a(0x19f)]
|
|
700
731
|
};
|
|
701
732
|
},
|
|
702
|
-
async 'startScheduleRun'(
|
|
703
|
-
const
|
|
704
|
-
'body': JSON[
|
|
705
|
-
'headers':
|
|
706
|
-
'method':
|
|
733
|
+
async 'startScheduleRun'(_0x56308a) {
|
|
734
|
+
const _0x46df11 = _0x1a51eb, _0x1b29b2 = await _0x3c162b(_0x46df11(_0x1eeb7a._0xa8a756) + encodeURIComponent(_0x56308a[_0x46df11(_0x1eeb7a._0x58da26)]) + _0x46df11(0x1c8), {
|
|
735
|
+
'body': JSON[_0x46df11(_0x1eeb7a._0x554a03)]({}),
|
|
736
|
+
'headers': _0x2df746,
|
|
737
|
+
'method': _0x46df11(_0x1eeb7a._0x4ac08d)
|
|
707
738
|
});
|
|
708
|
-
return
|
|
739
|
+
return _0x1b29b2[_0x46df11(0x28f)] ?? {
|
|
709
740
|
'claimedByDaemonId': '',
|
|
710
|
-
'id':
|
|
741
|
+
'id': _0x56308a['runId'],
|
|
711
742
|
'scheduleId': '',
|
|
712
|
-
'status':
|
|
743
|
+
'status': 'running'
|
|
713
744
|
};
|
|
714
745
|
},
|
|
715
|
-
async 'finishScheduleRun'(
|
|
716
|
-
const
|
|
717
|
-
'body': JSON[
|
|
718
|
-
'error':
|
|
719
|
-
'resultJson':
|
|
720
|
-
'status':
|
|
746
|
+
async 'finishScheduleRun'(_0x3a5543) {
|
|
747
|
+
const _0x2b057f = _0x1a51eb, _0x59651f = await _0x3c162b(_0x2b057f(0x27e) + encodeURIComponent(_0x3a5543[_0x2b057f(0x1e9)]) + '/finish', {
|
|
748
|
+
'body': JSON[_0x2b057f(_0x304260._0x35e580)]({
|
|
749
|
+
'error': _0x3a5543[_0x2b057f(0x21f)],
|
|
750
|
+
'resultJson': _0x3a5543[_0x2b057f(_0x304260._0x55f844)],
|
|
751
|
+
'status': _0x3a5543[_0x2b057f(0x291)]
|
|
721
752
|
}),
|
|
722
|
-
'headers':
|
|
723
|
-
'method':
|
|
753
|
+
'headers': _0x2df746,
|
|
754
|
+
'method': _0x2b057f(0x1ce)
|
|
724
755
|
});
|
|
725
|
-
return
|
|
756
|
+
return _0x59651f['data'] ?? {
|
|
726
757
|
'nextRunAt': null,
|
|
727
758
|
'run': {
|
|
728
759
|
'claimedByDaemonId': '',
|
|
729
|
-
'id':
|
|
760
|
+
'id': _0x3a5543[_0x2b057f(_0x304260._0x516114)],
|
|
730
761
|
'scheduleId': '',
|
|
731
|
-
'status':
|
|
762
|
+
'status': _0x3a5543[_0x2b057f(_0x304260._0x2ca1ec)]
|
|
732
763
|
}
|
|
733
764
|
};
|
|
734
765
|
},
|
|
735
|
-
async 'listTasks'(
|
|
736
|
-
const
|
|
737
|
-
return
|
|
738
|
-
'headers':
|
|
739
|
-
'method':
|
|
766
|
+
async 'listTasks'(_0x150f81) {
|
|
767
|
+
const _0x56c99d = _0x1a51eb, _0xfd160e = new URLSearchParams();
|
|
768
|
+
return _0xfd160e['set']('channel', _0x150f81[_0x56c99d(0x237)]), _0x150f81[_0x56c99d(_0x21046e._0x579a8e)] && _0xfd160e['set'](_0x56c99d(0x291), _0x150f81[_0x56c99d(_0x21046e._0x579a8e)]), _0x3a2b98(_0x56c99d(_0x21046e._0x1c613a) + _0x351755[_0x56c99d(0x1a3)] + '/tasks?' + _0xfd160e[_0x56c99d(0x258)](), {
|
|
769
|
+
'headers': _0x2df746,
|
|
770
|
+
'method': _0x56c99d(_0x21046e._0x131726)
|
|
740
771
|
});
|
|
741
772
|
},
|
|
742
|
-
async 'createTasks'(
|
|
743
|
-
const
|
|
744
|
-
return
|
|
745
|
-
'body': JSON[
|
|
746
|
-
...
|
|
747
|
-
'idempotency_key':
|
|
773
|
+
async 'createTasks'(_0x142d75) {
|
|
774
|
+
const _0x255441 = _0x1a51eb;
|
|
775
|
+
return _0x3a2b98(_0x255441(0x2ab) + _0x351755[_0x255441(0x1a3)] + _0x255441(_0x691a72._0x3b48a3), {
|
|
776
|
+
'body': JSON[_0x255441(_0x691a72._0x1cd7c7)]({
|
|
777
|
+
..._0x142d75,
|
|
778
|
+
'idempotency_key': _0x46c503(_0x255441(0x263), _0x142d75)
|
|
748
779
|
}),
|
|
749
|
-
'headers':
|
|
750
|
-
'method':
|
|
780
|
+
'headers': _0x2df746,
|
|
781
|
+
'method': _0x255441(_0x691a72._0x3f3886)
|
|
751
782
|
});
|
|
752
783
|
},
|
|
753
|
-
async 'claimTasks'(
|
|
754
|
-
const
|
|
755
|
-
return
|
|
756
|
-
'body': JSON[
|
|
757
|
-
...
|
|
758
|
-
'idempotency_key':
|
|
784
|
+
async 'claimTasks'(_0x575e20) {
|
|
785
|
+
const _0x53d46c = _0x1a51eb;
|
|
786
|
+
return _0x3a2b98('/internal/agent/' + _0x351755[_0x53d46c(_0x436125._0x164b42)] + _0x53d46c(_0x436125._0x549fa0), {
|
|
787
|
+
'body': JSON[_0x53d46c(_0x436125._0xa7e332)]({
|
|
788
|
+
..._0x575e20,
|
|
789
|
+
'idempotency_key': _0x46c503(_0x53d46c(0x219), _0x575e20)
|
|
759
790
|
}),
|
|
760
|
-
'headers':
|
|
761
|
-
'method':
|
|
791
|
+
'headers': _0x2df746,
|
|
792
|
+
'method': 'POST'
|
|
762
793
|
});
|
|
763
794
|
},
|
|
764
|
-
async 'unclaimTask'(
|
|
765
|
-
const
|
|
766
|
-
return
|
|
767
|
-
'body': JSON[
|
|
768
|
-
...
|
|
769
|
-
'idempotency_key':
|
|
795
|
+
async 'unclaimTask'(_0x4f594a) {
|
|
796
|
+
const _0xbeb672 = _0x1a51eb;
|
|
797
|
+
return _0x3a2b98(_0xbeb672(0x2ab) + _0x351755[_0xbeb672(0x1a3)] + _0xbeb672(_0x3ee2f8._0x354f38), {
|
|
798
|
+
'body': JSON[_0xbeb672(_0x3ee2f8._0x50ff0a)]({
|
|
799
|
+
..._0x4f594a,
|
|
800
|
+
'idempotency_key': _0x46c503(_0xbeb672(_0x3ee2f8._0x428dd7), _0x4f594a)
|
|
770
801
|
}),
|
|
771
|
-
'headers':
|
|
772
|
-
'method':
|
|
802
|
+
'headers': _0x2df746,
|
|
803
|
+
'method': _0xbeb672(0x1ce)
|
|
773
804
|
});
|
|
774
805
|
},
|
|
775
|
-
async 'updateTaskStatus'(
|
|
776
|
-
const
|
|
777
|
-
return
|
|
778
|
-
'body': JSON[
|
|
779
|
-
...
|
|
780
|
-
'idempotency_key':
|
|
806
|
+
async 'updateTaskStatus'(_0x5dd2dc) {
|
|
807
|
+
const _0x1158fb = _0x1a51eb;
|
|
808
|
+
return _0x3a2b98(_0x1158fb(0x2ab) + _0x351755[_0x1158fb(0x1a3)] + _0x1158fb(0x187), {
|
|
809
|
+
'body': JSON[_0x1158fb(_0xa30c50._0x3a29d0)]({
|
|
810
|
+
..._0x5dd2dc,
|
|
811
|
+
'idempotency_key': _0x46c503('update_task_status', _0x5dd2dc)
|
|
781
812
|
}),
|
|
782
|
-
'headers':
|
|
783
|
-
'method':
|
|
813
|
+
'headers': _0x2df746,
|
|
814
|
+
'method': _0x1158fb(0x1ce)
|
|
784
815
|
});
|
|
785
816
|
},
|
|
786
|
-
async 'uploadFile'(
|
|
787
|
-
const
|
|
788
|
-
if (
|
|
789
|
-
throw new Error(
|
|
790
|
-
const
|
|
791
|
-
'body': JSON[
|
|
792
|
-
'channel':
|
|
793
|
-
'contentBase64':
|
|
794
|
-
'contentType':
|
|
795
|
-
'originalFilename':
|
|
817
|
+
async 'uploadFile'(_0x22fbd9) {
|
|
818
|
+
const _0x4e34ed = _0x1a51eb, _0x4c21ef = await _0x11b4fa(_0x22fbd9[_0x4e34ed(0x237)]);
|
|
819
|
+
if (_0x4c21ef[_0x4e34ed(0x257)])
|
|
820
|
+
throw new Error(_0x4e34ed(_0x17c7f4._0x57300b));
|
|
821
|
+
const _0x571b19 = await _0x3c162b(_0x4e34ed(_0x17c7f4._0x11f223) + _0x351755[_0x4e34ed(_0x17c7f4._0x36d7f2)] + _0x4e34ed(0x284), {
|
|
822
|
+
'body': JSON[_0x4e34ed(0x164)]({
|
|
823
|
+
'channel': _0x4c21ef['target'],
|
|
824
|
+
'contentBase64': _0x22fbd9[_0x4e34ed(_0x17c7f4._0x4c6186)],
|
|
825
|
+
'contentType': _0x22fbd9['contentType'],
|
|
826
|
+
'originalFilename': _0x22fbd9['filename']
|
|
796
827
|
}),
|
|
797
|
-
'headers':
|
|
798
|
-
'method':
|
|
828
|
+
'headers': _0x2df746,
|
|
829
|
+
'method': _0x4e34ed(_0x17c7f4._0x1e6d8b)
|
|
799
830
|
});
|
|
800
831
|
return {
|
|
801
|
-
'attachmentId':
|
|
802
|
-
'filename':
|
|
803
|
-
'sizeBytes':
|
|
832
|
+
'attachmentId': _0x571b19[_0x4e34ed(_0x17c7f4._0x313bb8)]?.['id'] ?? '',
|
|
833
|
+
'filename': _0x571b19[_0x4e34ed(_0x17c7f4._0x5e5832)]?.[_0x4e34ed(_0x17c7f4._0x1ae6cd)] ?? _0x22fbd9[_0x4e34ed(0x169)],
|
|
834
|
+
'sizeBytes': _0x571b19[_0x4e34ed(0x28f)]?.['sizeBytes'] ?? 0x0
|
|
804
835
|
};
|
|
805
836
|
},
|
|
806
|
-
async 'downloadAttachment'(
|
|
807
|
-
const
|
|
808
|
-
'headers':
|
|
809
|
-
'method':
|
|
810
|
-
}),
|
|
837
|
+
async 'downloadAttachment'(_0x235bb0) {
|
|
838
|
+
const _0x3df631 = _0x1a51eb, _0x2a5b25 = await _0x3c162b(_0x3df631(0x1b9) + _0x235bb0, {
|
|
839
|
+
'headers': _0x2df746,
|
|
840
|
+
'method': _0x3df631(_0x45b4ea._0x222652)
|
|
841
|
+
}), _0x3e78bb = new AbortController(), _0x29df3e = setTimeout(() => _0x3e78bb[_0x3df631(0x180)](), _0x817a00);
|
|
811
842
|
try {
|
|
812
|
-
const
|
|
813
|
-
'headers':
|
|
814
|
-
'method':
|
|
815
|
-
'signal':
|
|
843
|
+
const _0x45de36 = await _0x344461(_0x182dd4 + _0x3df631(_0x45b4ea._0x5a5fb9) + _0x235bb0 + '/content', {
|
|
844
|
+
'headers': _0x2df746,
|
|
845
|
+
'method': 'GET',
|
|
846
|
+
'signal': _0x3e78bb[_0x3df631(0x1dc)]
|
|
816
847
|
});
|
|
817
|
-
if (!
|
|
818
|
-
throw new Error(
|
|
848
|
+
if (!_0x45de36['ok'])
|
|
849
|
+
throw new Error('HTTP\x20' + _0x45de36[_0x3df631(_0x45b4ea._0x199b4b)]);
|
|
819
850
|
return {
|
|
820
|
-
'contentType':
|
|
821
|
-
'data': Buffer[
|
|
822
|
-
'originalFilename':
|
|
851
|
+
'contentType': _0x2a5b25[_0x3df631(_0x45b4ea._0x5ae63c)]?.[_0x3df631(0x16e)] ?? _0x45de36[_0x3df631(_0x45b4ea._0x203bfe)][_0x3df631(_0x45b4ea._0x3a4539)]('content-type') ?? 'application/octet-stream',
|
|
852
|
+
'data': Buffer[_0x3df631(_0x45b4ea._0x482b62)](await _0x45de36[_0x3df631(0x1f4)]()),
|
|
853
|
+
'originalFilename': _0x2a5b25[_0x3df631(0x28f)]?.[_0x3df631(_0x45b4ea._0xd79a3f)]
|
|
823
854
|
};
|
|
824
855
|
} finally {
|
|
825
|
-
clearTimeout(
|
|
856
|
+
clearTimeout(_0x29df3e);
|
|
826
857
|
}
|
|
827
858
|
},
|
|
828
859
|
async 'listServer'() {
|
|
829
|
-
return
|
|
860
|
+
return _0xcb606f({ 'forceRefresh': !![] });
|
|
830
861
|
},
|
|
831
|
-
async 'readHistory'(
|
|
832
|
-
const
|
|
833
|
-
return
|
|
834
|
-
'after':
|
|
835
|
-
'before':
|
|
836
|
-
'channelId':
|
|
837
|
-
'channelTarget':
|
|
838
|
-
'limit':
|
|
839
|
-
'threadId':
|
|
862
|
+
async 'readHistory'(_0x2f71c4) {
|
|
863
|
+
const _0x424bc3 = _0x1a51eb, _0x453aa9 = await _0x11b4fa(_0x2f71c4[_0x424bc3(0x237)]);
|
|
864
|
+
return _0x5ab1a4({
|
|
865
|
+
'after': _0x2f71c4['after'],
|
|
866
|
+
'before': _0x2f71c4[_0x424bc3(0x252)],
|
|
867
|
+
'channelId': _0x453aa9[_0x424bc3(_0x1ce273._0x563259)],
|
|
868
|
+
'channelTarget': _0x453aa9[_0x424bc3(0x16a)],
|
|
869
|
+
'limit': _0x2f71c4[_0x424bc3(_0x1ce273._0x44eafa)],
|
|
870
|
+
'threadId': _0x453aa9[_0x424bc3(0x257)]
|
|
840
871
|
});
|
|
841
872
|
},
|
|
842
|
-
'resolveTarget':
|
|
873
|
+
'resolveTarget': _0x11b4fa,
|
|
843
874
|
async 'checkMessages'() {
|
|
844
|
-
const
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
},
|
|
848
|
-
|
|
849
|
-
const
|
|
850
|
-
'headers':
|
|
851
|
-
'method':
|
|
852
|
-
}),
|
|
853
|
-
let
|
|
854
|
-
|
|
855
|
-
|
|
875
|
+
const _0x1300a8 = {
|
|
876
|
+
_0x3653e8: 0x20c,
|
|
877
|
+
_0x1a6576: 0x1c0
|
|
878
|
+
}, _0xf27d24 = _0x1a51eb, _0xcad40c = new URLSearchParams();
|
|
879
|
+
_0xcad40c[_0xf27d24(_0xa32ab4._0x94f873)]('afterSeq', String(_0x43b86a));
|
|
880
|
+
const _0x34c51c = _0xcad40c[_0xf27d24(0x258)](), _0x493424 = await _0x3c162b(_0xf27d24(_0xa32ab4._0x33c6be) + _0x351755[_0xf27d24(_0xa32ab4._0x55eb86)] + _0xf27d24(_0xa32ab4._0x1bb69e) + (_0x34c51c ? '?' + _0x34c51c : ''), {
|
|
881
|
+
'headers': _0x2df746,
|
|
882
|
+
'method': _0xf27d24(_0xa32ab4._0x3bab60)
|
|
883
|
+
}), _0x2fea7e = _0x493424['data'] ?? [], _0x14a2b5 = _0x493424[_0xf27d24(_0xa32ab4._0x3b712)]?.[_0xf27d24(_0xa32ab4._0xcac447)], _0xe73a31 = _0x14a2b5 !== void 0x0 ? Math[_0xf27d24(0x1cd)](_0x43b86a, _0x14a2b5) : _0x2fea7e[_0xf27d24(_0xa32ab4._0x2d3d5f)] > 0x0 ? Math[_0xf27d24(0x1cd)](_0x43b86a, _0x2fea7e[_0x2fea7e[_0xf27d24(0x2bd)] - 0x1]['seq']) : _0x43b86a, _0x464ab0 = _0x2fea7e[_0xf27d24(0x227)](_0x523863 => _0x523863[_0xf27d24(0x28b)] === _0xf27d24(0x1c3)), _0x5aedb0 = _0x211ef2 === void 0x0 && _0x5b68c0;
|
|
884
|
+
let _0x4272e4 = await _0xcb606f(), _0x171d49 = new Map(_0x4272e4['channels'][_0xf27d24(0x1ab)](_0x5b1a6e => [
|
|
885
|
+
_0x5b1a6e['id'],
|
|
886
|
+
_0x5b1a6e
|
|
856
887
|
]));
|
|
857
|
-
const
|
|
858
|
-
const
|
|
859
|
-
return Boolean(
|
|
888
|
+
const _0x3a2352 = _0x464ab0[_0xf27d24(_0xa32ab4._0x32414a)](_0x2ebb57 => {
|
|
889
|
+
const _0x45b7c5 = _0xf27d24, _0x5b139d = asRecord(_0x2ebb57['payloadJson']), _0x5ab6f1 = typeof _0x5b139d?.[_0x45b7c5(0x20c)] === _0x45b7c5(0x2a7) ? _0x5b139d[_0x45b7c5(_0x1300a8._0x3653e8)] : '';
|
|
890
|
+
return Boolean(_0x5ab6f1) && !_0x171d49[_0x45b7c5(_0x1300a8._0x1a6576)](_0x5ab6f1);
|
|
860
891
|
});
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
892
|
+
_0x3a2352 && (_0x4272e4 = await _0xcb606f({ 'forceRefresh': !![] }), _0x171d49 = new Map(_0x4272e4['channels'][_0xf27d24(0x1ab)](_0x5b6ae0 => [
|
|
893
|
+
_0x5b6ae0['id'],
|
|
894
|
+
_0x5b6ae0
|
|
864
895
|
])));
|
|
865
|
-
const
|
|
866
|
-
for (const
|
|
867
|
-
const
|
|
868
|
-
if (!
|
|
896
|
+
const _0x50ba58 = new Map();
|
|
897
|
+
for (const _0x2018b of _0x464ab0) {
|
|
898
|
+
const _0x157d7d = asRecord(_0x2018b[_0xf27d24(0x264)]), _0xc2e726 = typeof _0x157d7d[_0xf27d24(0x20c)] === _0xf27d24(_0xa32ab4._0x5a264b) ? _0x157d7d[_0xf27d24(0x20c)] : '';
|
|
899
|
+
if (!_0xc2e726)
|
|
869
900
|
continue;
|
|
870
|
-
const
|
|
901
|
+
const _0x593b8a = typeof _0x157d7d['threadId'] === 'string' ? _0x157d7d[_0xf27d24(_0xa32ab4._0xae0352)] : void 0x0, _0x2311a5 = typeof _0x157d7d[_0xf27d24(_0xa32ab4._0x59d907)] === _0xf27d24(_0xa32ab4._0x5a264b) ? _0x157d7d[_0xf27d24(0x283)] : void 0x0, _0x2114d4 = typeof _0x157d7d[_0xf27d24(_0xa32ab4._0x1ef181)] === _0xf27d24(_0xa32ab4._0xeadac8) && Number['isInteger'](_0x157d7d[_0xf27d24(0x1e2)]) ? _0x157d7d['threadNumber'] : void 0x0, _0x356047 = Boolean(_0x593b8a && (!_0x2311a5 || _0x2018b[_0xf27d24(0x174)] !== _0x2311a5)), _0x4d69a2 = _0x356047 ? _0xc2e726 + ':' + _0x593b8a : _0xc2e726, _0x579b06 = _0x50ba58['get'](_0x4d69a2) ?? {
|
|
871
902
|
'aggregateIds': [],
|
|
872
|
-
'channelId':
|
|
903
|
+
'channelId': _0xc2e726,
|
|
873
904
|
'entries': new Map(),
|
|
874
|
-
'isThreadReply':
|
|
875
|
-
'rootMessageId':
|
|
876
|
-
'threadNumber':
|
|
877
|
-
'threadId':
|
|
905
|
+
'isThreadReply': _0x356047,
|
|
906
|
+
'rootMessageId': _0x2311a5,
|
|
907
|
+
'threadNumber': _0x2114d4,
|
|
908
|
+
'threadId': _0x356047 ? _0x593b8a : void 0x0
|
|
878
909
|
};
|
|
879
|
-
|
|
880
|
-
'payloadJson':
|
|
881
|
-
'seq':
|
|
882
|
-
}),
|
|
910
|
+
_0x579b06[_0xf27d24(_0xa32ab4._0x259b91)] == null && _0x2114d4 != null && (_0x579b06[_0xf27d24(0x1e2)] = _0x2114d4), !_0x579b06[_0xf27d24(0x283)] && _0x2311a5 && (_0x579b06[_0xf27d24(_0xa32ab4._0x9b358a)] = _0x2311a5), _0x579b06['aggregateIds'][_0xf27d24(0x1e5)](_0x2018b['aggregateId']), _0x579b06[_0xf27d24(_0xa32ab4._0x24950f)][_0xf27d24(_0xa32ab4._0x1e02f4)](_0x2018b[_0xf27d24(0x174)], {
|
|
911
|
+
'payloadJson': _0x2018b[_0xf27d24(_0xa32ab4._0x9a27e3)],
|
|
912
|
+
'seq': _0x2018b[_0xf27d24(0x194)]
|
|
913
|
+
}), _0x50ba58[_0xf27d24(0x178)](_0x4d69a2, _0x579b06);
|
|
883
914
|
}
|
|
884
|
-
const
|
|
885
|
-
for (const
|
|
915
|
+
const _0x5956dc = [];
|
|
916
|
+
for (const _0x6d9f89 of _0x50ba58[_0xf27d24(_0xa32ab4._0x5b3b0f)]()) {
|
|
886
917
|
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 (!
|
|
918
|
+
channelId: _0xe915cd,
|
|
919
|
+
threadId: _0x582d65,
|
|
920
|
+
rootMessageId: _0x5bb9c9,
|
|
921
|
+
threadNumber: _0x36b370,
|
|
922
|
+
aggregateIds: _0x326b2d,
|
|
923
|
+
isThreadReply: _0x1bb861,
|
|
924
|
+
entries: _0x22dec6
|
|
925
|
+
} = _0x6d9f89, _0x27775d = _0x171d49['get'](_0xe915cd), _0x3354c7 = _0x27775d?.[_0xf27d24(0x1a5)] ?? _0xe915cd, _0x129ff5 = _0x27775d?.[_0xf27d24(0x198)] === 'dm' ? _0xf27d24(_0xa32ab4._0x4dd317) + _0x3354c7 : '#' + _0x3354c7, _0x1a35eb = {
|
|
926
|
+
'channelTarget': _0x129ff5,
|
|
927
|
+
'rootMessageId': _0x5bb9c9,
|
|
928
|
+
'threadId': _0x582d65,
|
|
929
|
+
'threadNumber': _0x36b370
|
|
930
|
+
}, _0x38f18b = await _0x5ab1a4({
|
|
931
|
+
'channelId': _0xe915cd,
|
|
932
|
+
'channelTarget': _0x129ff5,
|
|
933
|
+
'limit': Math[_0xf27d24(0x1cd)](_0x326b2d[_0xf27d24(_0xa32ab4._0x42c7f6)], 0x32),
|
|
934
|
+
'threadId': _0x582d65
|
|
935
|
+
}), _0x1418a5 = new Map(_0x38f18b[_0xf27d24(_0xa32ab4._0x4c2913)][_0xf27d24(0x1ab)](_0x481684 => [
|
|
936
|
+
_0x481684['messageId'],
|
|
937
|
+
_0x481684
|
|
938
|
+
])), _0x5a62d7 = _0x582d65 ? _0x419ccb(_0x1a35eb) : _0x129ff5, _0xb9bd87 = _0x211ef2 ? _0x1bb861 && _0x2f8d14(_0x211ef2, _0x1a35eb) : !![], _0x1e6863 = _0x1bb861 ? _0xb9bd87 && _0x211ef2 ? _0x211ef2 : _0x5a62d7 : _0x129ff5;
|
|
939
|
+
for (const _0x123b88 of _0x326b2d) {
|
|
940
|
+
if (!_0xb9bd87)
|
|
910
941
|
continue;
|
|
911
|
-
const
|
|
912
|
-
if (
|
|
942
|
+
const _0x527905 = _0x22dec6['get'](_0x123b88), _0x39cecb = _0x527905 ? asRecord(_0x527905['payloadJson']) : void 0x0, _0x6bdf1c = _0x39cecb?.[_0xf27d24(_0xa32ab4._0x47328b)] === _0xf27d24(_0xa32ab4._0x4ac5ea);
|
|
943
|
+
if (_0x5aedb0 && _0x6bdf1c)
|
|
913
944
|
continue;
|
|
914
|
-
const
|
|
915
|
-
if (
|
|
916
|
-
|
|
917
|
-
'attachments':
|
|
918
|
-
'content':
|
|
919
|
-
'createdAt':
|
|
920
|
-
...
|
|
921
|
-
'messageId':
|
|
922
|
-
'senderName':
|
|
923
|
-
'senderType':
|
|
924
|
-
'target':
|
|
925
|
-
...
|
|
945
|
+
const _0x194842 = _0x1418a5[_0xf27d24(_0xa32ab4._0x29bc42)](_0x123b88);
|
|
946
|
+
if (_0x194842) {
|
|
947
|
+
_0x5956dc[_0xf27d24(0x1e5)]({
|
|
948
|
+
'attachments': _0x194842['attachments'],
|
|
949
|
+
'content': _0x194842[_0xf27d24(0x15a)],
|
|
950
|
+
'createdAt': _0x194842[_0xf27d24(0x281)],
|
|
951
|
+
..._0x194842[_0xf27d24(_0xa32ab4._0x51bc11)] ? { 'kind': _0x194842['kind'] } : {},
|
|
952
|
+
'messageId': _0x194842['messageId'],
|
|
953
|
+
'senderName': _0x194842['senderName'],
|
|
954
|
+
'senderType': _0x194842[_0xf27d24(0x280)],
|
|
955
|
+
'target': _0x1e6863,
|
|
956
|
+
..._0x6bdf1c ? { 'targetedTask': !![] } : {}
|
|
926
957
|
});
|
|
927
958
|
continue;
|
|
928
959
|
}
|
|
929
|
-
if (
|
|
930
|
-
const
|
|
931
|
-
|
|
960
|
+
if (_0x527905) {
|
|
961
|
+
const _0x3e649d = typeof _0x39cecb?.[_0xf27d24(_0xa32ab4._0x164274)] === _0xf27d24(0x2a7) ? _0x39cecb[_0xf27d24(0x16b)] : '', _0x888182 = typeof _0x39cecb?.['bodyMarkdown'] === _0xf27d24(_0xa32ab4._0x2bd286) ? _0x39cecb[_0xf27d24(_0xa32ab4._0x281a23)] : '', _0x34030f = typeof _0x39cecb?.[_0xf27d24(0x198)] === _0xf27d24(0x2a7) && _0x39cecb[_0xf27d24(0x198)] !== _0xf27d24(_0xa32ab4._0x14fcf5) ? _0x39cecb[_0xf27d24(_0xa32ab4._0x32a566)] : void 0x0;
|
|
962
|
+
_0x3e649d && _0x888182 && _0x5956dc[_0xf27d24(_0xa32ab4._0x415d17)]({
|
|
932
963
|
'attachments': [],
|
|
933
|
-
'content':
|
|
934
|
-
'createdAt': new Date()[
|
|
935
|
-
...
|
|
936
|
-
'messageId':
|
|
937
|
-
'senderName':
|
|
938
|
-
'senderType':
|
|
939
|
-
'target':
|
|
940
|
-
...
|
|
964
|
+
'content': _0x888182,
|
|
965
|
+
'createdAt': new Date()['toISOString'](),
|
|
966
|
+
..._0x34030f ? { 'kind': _0x34030f } : {},
|
|
967
|
+
'messageId': _0x123b88,
|
|
968
|
+
'senderName': _0x3e649d,
|
|
969
|
+
'senderType': _0x490be(_0x3e649d, _0x4272e4),
|
|
970
|
+
'target': _0x1e6863,
|
|
971
|
+
..._0x6bdf1c ? { 'targetedTask': !![] } : {}
|
|
941
972
|
});
|
|
942
973
|
}
|
|
943
974
|
}
|
|
944
975
|
}
|
|
945
|
-
if (
|
|
946
|
-
if (
|
|
947
|
-
await
|
|
976
|
+
if (_0xe73a31 > 0x0) {
|
|
977
|
+
if (_0x3b45d6)
|
|
978
|
+
await _0x3b9f33(_0xe73a31);
|
|
948
979
|
else
|
|
949
|
-
|
|
980
|
+
_0x2fe8f1 && await _0x250b9a(_0xe73a31);
|
|
950
981
|
}
|
|
951
|
-
return
|
|
982
|
+
return _0xe73a31 > _0x43b86a && (_0x43b86a = _0xe73a31), { 'messages': _0x211ef2 ? _0x5956dc : _0x5aedb0 ? _0x5956dc['filter'](_0x19145d => _0x19145d[_0xf27d24(0x150)] !== !![]) : _0x5956dc };
|
|
952
983
|
}
|
|
953
984
|
};
|
|
954
985
|
}
|
|
955
|
-
function toLocalTime(
|
|
956
|
-
const
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
},
|
|
963
|
-
if (Number[
|
|
964
|
-
return
|
|
965
|
-
const
|
|
966
|
-
return
|
|
986
|
+
function toLocalTime(_0x3e985e) {
|
|
987
|
+
const _0x42b3e2 = {
|
|
988
|
+
_0x4fc36a: 0x143,
|
|
989
|
+
_0x29c5a9: 0x248,
|
|
990
|
+
_0x246446: 0x195,
|
|
991
|
+
_0x44d1b9: 0x244,
|
|
992
|
+
_0x393db8: 0x1b6
|
|
993
|
+
}, _0x28a8c8 = _0x363898, _0x381a04 = new Date(_0x3e985e);
|
|
994
|
+
if (Number[_0x28a8c8(0x1c6)](_0x381a04[_0x28a8c8(_0x42b3e2._0x4fc36a)]()))
|
|
995
|
+
return _0x3e985e;
|
|
996
|
+
const _0x518a93 = _0x474308 => String(_0x474308)['padStart'](0x2, '0');
|
|
997
|
+
return _0x381a04['getFullYear']() + '-' + _0x518a93(_0x381a04[_0x28a8c8(_0x42b3e2._0x29c5a9)]() + 0x1) + '-' + _0x518a93(_0x381a04[_0x28a8c8(_0x42b3e2._0x246446)]()) + '\x20' + _0x518a93(_0x381a04[_0x28a8c8(_0x42b3e2._0x44d1b9)]()) + ':' + _0x518a93(_0x381a04[_0x28a8c8(_0x42b3e2._0x393db8)]()) + ':' + _0x518a93(_0x381a04['getSeconds']());
|
|
967
998
|
}
|
|
968
|
-
function formatAttachmentSuffix(
|
|
969
|
-
const
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
},
|
|
973
|
-
if (!
|
|
999
|
+
function formatAttachmentSuffix(_0x456009) {
|
|
1000
|
+
const _0x5e18ee = {
|
|
1001
|
+
_0x35cf61: 0x2bd,
|
|
1002
|
+
_0x2a6f2b: 0x2bd
|
|
1003
|
+
}, _0x2cb8ef = _0x363898;
|
|
1004
|
+
if (!_0x456009 || _0x456009[_0x2cb8ef(0x2bd)] === 0x0)
|
|
974
1005
|
return '';
|
|
975
|
-
return '\x20[' +
|
|
1006
|
+
return '\x20[' + _0x456009[_0x2cb8ef(_0x5e18ee._0x35cf61)] + '\x20attachment' + (_0x456009[_0x2cb8ef(_0x5e18ee._0x2a6f2b)] > 0x1 ? 's' : '') + ':\x20' + _0x456009[_0x2cb8ef(0x1ab)](_0xdd66b9 => _0xdd66b9['filename'] + '\x20(id:' + _0xdd66b9['id'] + ')')[_0x2cb8ef(0x18e)](',\x20') + _0x2cb8ef(0x1d2);
|
|
976
1007
|
}
|
|
977
|
-
function formatCheckMessages(
|
|
978
|
-
const
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
},
|
|
990
|
-
if (
|
|
991
|
-
return
|
|
992
|
-
return
|
|
993
|
-
const
|
|
994
|
-
return
|
|
995
|
-
})[
|
|
1008
|
+
function formatCheckMessages(_0xb68fec) {
|
|
1009
|
+
const _0x312300 = {
|
|
1010
|
+
_0x4580c2: 0x2bd,
|
|
1011
|
+
_0x2593e7: 0x260,
|
|
1012
|
+
_0xb064cb: 0x1ab
|
|
1013
|
+
}, _0xde49de = {
|
|
1014
|
+
_0x3fb109: 0x18a,
|
|
1015
|
+
_0x3d4b7a: 0x270,
|
|
1016
|
+
_0x3dfe59: 0x198,
|
|
1017
|
+
_0x42225b: 0x152,
|
|
1018
|
+
_0x4bed6a: 0x294,
|
|
1019
|
+
_0x58a121: 0x15a
|
|
1020
|
+
}, _0x4b7649 = _0x363898;
|
|
1021
|
+
if (_0xb68fec[_0x4b7649(_0x312300._0x4580c2)] === 0x0)
|
|
1022
|
+
return _0x4b7649(_0x312300._0x2593e7);
|
|
1023
|
+
return _0xb68fec[_0x4b7649(_0x312300._0xb064cb)](_0x53c14c => {
|
|
1024
|
+
const _0x310c3e = _0x4b7649, _0x1567a4 = _0x53c14c[_0x310c3e(0x280)] === _0x310c3e(0x235) ? _0x310c3e(_0xde49de._0x3fb109) : '', _0x2cb07a = _0x53c14c[_0x310c3e(0x198)] && _0x53c14c['kind'] !== 'chat' ? _0x310c3e(_0xde49de._0x3d4b7a) + _0x53c14c[_0x310c3e(_0xde49de._0x3dfe59)] : '';
|
|
1025
|
+
return '[target=' + _0x53c14c[_0x310c3e(0x16a)] + '\x20msg=' + _0x53c14c[_0x310c3e(_0xde49de._0x42225b)][_0x310c3e(_0xde49de._0x4bed6a)](0x0, 0x8) + '\x20time=' + toLocalTime(_0x53c14c[_0x310c3e(0x281)]) + _0x1567a4 + _0x2cb07a + _0x310c3e(0x149) + _0x53c14c['senderName'] + ':\x20' + _0x53c14c[_0x310c3e(_0xde49de._0x58a121)] + formatAttachmentSuffix(_0x53c14c['attachments']);
|
|
1026
|
+
})[_0x4b7649(0x18e)]('\x0a');
|
|
996
1027
|
}
|
|
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
|
-
if (_0x1339d7[_0x174264(0x25a)][_0x174264(_0x4f79ca._0x3ef3a9)] === 0x0)
|
|
1020
|
-
return _0x174264(_0x4f79ca._0x1bef37) + _0x1339d7[_0x174264(0x16c)] + _0x174264(0x1f3);
|
|
1021
|
-
const _0x191687 = _0x1339d7[_0x174264(0x25a)][_0x174264(0x13f)](_0xe4640a => {
|
|
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;
|
|
1028
|
+
function formatHistory(_0x1e71d8) {
|
|
1029
|
+
const _0xf9c873 = {
|
|
1030
|
+
_0x1dac25: 0x173,
|
|
1031
|
+
_0x502e4b: 0x18e,
|
|
1032
|
+
_0x33b8f2: 0x1a7,
|
|
1033
|
+
_0x128fb7: 0x173,
|
|
1034
|
+
_0xadd8e9: 0x267,
|
|
1035
|
+
_0x1ccea8: 0x242
|
|
1036
|
+
}, _0x2b34a9 = {
|
|
1037
|
+
_0x59b701: 0x198,
|
|
1038
|
+
_0xa45e21: 0x270,
|
|
1039
|
+
_0x23cbe3: 0x198,
|
|
1040
|
+
_0x5ca615: 0x1e7,
|
|
1041
|
+
_0x2d2c39: 0x281
|
|
1042
|
+
}, _0x4ceeda = _0x363898;
|
|
1043
|
+
if (_0x1e71d8[_0x4ceeda(0x173)]['length'] === 0x0)
|
|
1044
|
+
return _0x4ceeda(0x265) + _0x1e71d8[_0x4ceeda(0x237)] + _0x4ceeda(0x218);
|
|
1045
|
+
const _0x27dec8 = _0x1e71d8[_0x4ceeda(_0xf9c873._0x1dac25)][_0x4ceeda(0x1ab)](_0x3399c6 => {
|
|
1046
|
+
const _0x165556 = _0x4ceeda, _0x251efc = _0x3399c6[_0x165556(0x280)] === _0x165556(0x235) ? '\x20type=agent' : '', _0x47100f = _0x3399c6[_0x165556(_0x2b34a9._0x59b701)] && _0x3399c6['kind'] !== _0x165556(0x1c9) ? _0x165556(_0x2b34a9._0xa45e21) + _0x3399c6[_0x165556(_0x2b34a9._0x23cbe3)] : '';
|
|
1047
|
+
return _0x165556(0x1a2) + _0x3399c6['seq'] + _0x165556(0x1fe) + _0x3399c6[_0x165556(0x152)] + _0x165556(_0x2b34a9._0x5ca615) + toLocalTime(_0x3399c6[_0x165556(_0x2b34a9._0x2d2c39)]) + _0x251efc + _0x47100f + ']\x20@' + _0x3399c6[_0x165556(0x2b0)] + ':\x20' + _0x3399c6[_0x165556(0x15a)] + formatAttachmentSuffix(_0x3399c6[_0x165556(0x2be)]);
|
|
1048
|
+
})[_0x4ceeda(_0xf9c873._0x502e4b)]('\x0a'), _0xd25219 = _0x1e71d8[_0x4ceeda(_0xf9c873._0x33b8f2)] && _0x1e71d8[_0x4ceeda(0x18d)] ? '\x0a\x0a---\x20' + _0x1e71d8[_0x4ceeda(_0xf9c873._0x128fb7)][_0x4ceeda(0x2bd)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x1e71d8['nextCursor'] + _0x4ceeda(_0xf9c873._0xadd8e9) : '';
|
|
1049
|
+
return '##\x20Message\x20History\x20for\x20' + _0x1e71d8[_0x4ceeda(0x237)] + '\x20(' + _0x1e71d8[_0x4ceeda(0x173)][_0x4ceeda(0x2bd)] + _0x4ceeda(_0xf9c873._0x1ccea8) + _0x27dec8 + _0xd25219;
|
|
1026
1050
|
}
|
|
1027
|
-
function formatServerDirectory(
|
|
1028
|
-
const
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
_0x5c6ce8: 0x291
|
|
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)';
|
|
1051
|
+
function formatServerDirectory(_0x1aa9ba) {
|
|
1052
|
+
const _0x32e475 = {
|
|
1053
|
+
_0x4de8ab: 0x2bd,
|
|
1054
|
+
_0x3cb6c9: 0x18e,
|
|
1055
|
+
_0x258e5a: 0x2bd,
|
|
1056
|
+
_0x5ca156: 0x1ab,
|
|
1057
|
+
_0x343017: 0x28d,
|
|
1058
|
+
_0x1d9c23: 0x261,
|
|
1059
|
+
_0x28d53b: 0x167
|
|
1060
|
+
}, _0x2e7378 = _0x363898, _0x50b766 = _0x1aa9ba['channels'][_0x2e7378(_0x32e475._0x4de8ab)] > 0x0 ? _0x1aa9ba[_0x2e7378(0x273)][_0x2e7378(0x1ab)](_0x3af0e7 => _0x3af0e7[_0x2e7378(0x285)] ? '-\x20#' + _0x3af0e7['name'] + _0x2e7378(0x1b0) + _0x3af0e7[_0x2e7378(0x285)] : _0x2e7378(0x153) + _0x3af0e7[_0x2e7378(0x1a5)])[_0x2e7378(_0x32e475._0x3cb6c9)]('\x0a') : _0x2e7378(0x21d), _0x509b27 = _0x1aa9ba[_0x2e7378(0x26b)]['length'] > 0x0 ? _0x1aa9ba[_0x2e7378(0x26b)][_0x2e7378(0x1ab)](_0x241c09 => '-\x20@' + _0x241c09[_0x2e7378(0x1a5)])[_0x2e7378(_0x32e475._0x3cb6c9)]('\x0a') : '(none)', _0x4496bc = _0x1aa9ba[_0x2e7378(0x155)][_0x2e7378(_0x32e475._0x258e5a)] > 0x0 ? _0x1aa9ba[_0x2e7378(0x155)][_0x2e7378(_0x32e475._0x5ca156)](_0x4c980a => '-\x20@' + _0x4c980a['name'])[_0x2e7378(0x18e)]('\x0a') : '(none)';
|
|
1039
1061
|
return [
|
|
1040
|
-
|
|
1062
|
+
_0x2e7378(_0x32e475._0x343017) + _0x1aa9ba[_0x2e7378(_0x32e475._0x1d9c23)],
|
|
1041
1063
|
'',
|
|
1042
|
-
|
|
1043
|
-
|
|
1064
|
+
_0x2e7378(_0x32e475._0x28d53b),
|
|
1065
|
+
_0x50b766,
|
|
1044
1066
|
'',
|
|
1045
|
-
|
|
1046
|
-
|
|
1067
|
+
_0x2e7378(0x17d),
|
|
1068
|
+
_0x509b27,
|
|
1047
1069
|
'',
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
][
|
|
1070
|
+
_0x2e7378(0x13b),
|
|
1071
|
+
_0x4496bc
|
|
1072
|
+
][_0x2e7378(_0x32e475._0x3cb6c9)]('\x0a');
|
|
1051
1073
|
}
|
|
1052
|
-
function formatUploadResult(
|
|
1053
|
-
const
|
|
1054
|
-
|
|
1074
|
+
function formatUploadResult(_0x454ffd) {
|
|
1075
|
+
const _0x3e0512 = {
|
|
1076
|
+
_0x31f588: 0x288,
|
|
1077
|
+
_0x4048ec: 0x2ae
|
|
1078
|
+
}, _0x5d721b = _0x363898;
|
|
1079
|
+
return 'File\x20uploaded:\x20' + _0x454ffd[_0x5d721b(0x169)] + '\x20(' + (_0x454ffd[_0x5d721b(_0x3e0512._0x31f588)] / 0x400)['toFixed'](0x1) + _0x5d721b(_0x3e0512._0x4048ec) + _0x454ffd[_0x5d721b(0x186)] + _0x5d721b(0x1b4);
|
|
1055
1080
|
}
|
|
1056
|
-
function formatViewFileResult(
|
|
1057
|
-
const
|
|
1058
|
-
|
|
1081
|
+
function formatViewFileResult(_0x525dd6, _0x1a783d) {
|
|
1082
|
+
const _0x49f98a = {
|
|
1083
|
+
_0x2477b7: 0x1ac,
|
|
1084
|
+
_0xff6679: 0x20b
|
|
1085
|
+
}, _0x133553 = _0x363898;
|
|
1086
|
+
return _0x1a783d ? _0x133553(_0x49f98a._0x2477b7) + _0x525dd6 : _0x133553(_0x49f98a._0xff6679) + _0x525dd6;
|
|
1059
1087
|
}
|
|
1060
|
-
function formatTaskList(
|
|
1061
|
-
const
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
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');
|
|
1088
|
+
function formatTaskList(_0x22d6c3, _0x301930) {
|
|
1089
|
+
const _0x1baf63 = {
|
|
1090
|
+
_0x2b8363: 0x15b,
|
|
1091
|
+
_0x3e4f05: 0x15b,
|
|
1092
|
+
_0x5371fa: 0x14e,
|
|
1093
|
+
_0x47cab0: 0x15b,
|
|
1094
|
+
_0x4dbeb9: 0x14c,
|
|
1095
|
+
_0x46b44d: 0x291
|
|
1096
|
+
}, _0x442aa9 = _0x363898;
|
|
1097
|
+
if (_0x22d6c3['length'] === 0x0)
|
|
1098
|
+
return 'No\x20tasks\x20found.';
|
|
1099
|
+
return _0x22d6c3[_0x442aa9(0x1ab)](_0x49f8d6 => {
|
|
1100
|
+
const _0x1e6ce0 = _0x442aa9, _0x10fa80 = _0x49f8d6[_0x1e6ce0(_0x1baf63._0x2b8363)] == null ? _0x1e6ce0(0x199) : _0x49f8d6[_0x1e6ce0(0x1f3)] != null ? '#' + _0x49f8d6['taskNumber'] + '.' + _0x49f8d6[_0x1e6ce0(0x1f3)] : '#' + _0x49f8d6[_0x1e6ce0(_0x1baf63._0x3e4f05)], _0x2ac45d = _0x49f8d6[_0x1e6ce0(0x152)] ? _0x1e6ce0(_0x1baf63._0x5371fa) + _0x49f8d6['messageId'] : '', _0x24a904 = _0x301930 && _0x49f8d6[_0x1e6ce0(0x15b)] != null && !_0x49f8d6[_0x1e6ce0(0x1f3)] && _0x301930['has'](_0x49f8d6[_0x1e6ce0(_0x1baf63._0x47cab0)]) ? '\x20executionMode=worker' : '', _0x51d307 = _0x49f8d6[_0x1e6ce0(0x14c)] != null && _0x49f8d6[_0x1e6ce0(_0x1baf63._0x4dbeb9)] > 0x0 ? '\x20(' + (_0x49f8d6['childrenDone'] ?? 0x0) + '/' + _0x49f8d6['childrenTotal'] + _0x1e6ce0(0x206) : '';
|
|
1101
|
+
return _0x10fa80 + '\x20[' + _0x49f8d6[_0x1e6ce0(_0x1baf63._0x46b44d)] + ']\x20' + _0x49f8d6['title'] + _0x51d307 + _0x2ac45d + _0x24a904;
|
|
1102
|
+
})['join']('\x0a');
|
|
1080
1103
|
}
|
|
1081
|
-
function
|
|
1082
|
-
const
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
'
|
|
1088
|
-
|
|
1089
|
-
'
|
|
1090
|
-
'
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1104
|
+
function formatCreatedTasks(_0x328c3f) {
|
|
1105
|
+
const _0xc41152 = {
|
|
1106
|
+
_0x3cf673: 0x1f3,
|
|
1107
|
+
_0x1d8465: 0x152
|
|
1108
|
+
}, _0x34439e = _0x363898;
|
|
1109
|
+
if (_0x328c3f[_0x34439e(0x2bd)] === 0x0)
|
|
1110
|
+
return 'No\x20tasks\x20created.';
|
|
1111
|
+
return _0x328c3f['map'](_0x4ec53f => {
|
|
1112
|
+
const _0x5657aa = _0x34439e, _0xe267b8 = _0x4ec53f['taskNumber'] == null ? '(legacy)' : _0x4ec53f[_0x5657aa(_0xc41152._0x3cf673)] != null ? '#' + _0x4ec53f[_0x5657aa(0x15b)] + '.' + _0x4ec53f[_0x5657aa(0x1f3)] : '#' + _0x4ec53f['taskNumber'], _0x3be08e = _0x4ec53f['messageId'] ? '\x20message=' + _0x4ec53f[_0x5657aa(_0xc41152._0x1d8465)] : '';
|
|
1113
|
+
return _0xe267b8 + '\x20' + _0x4ec53f[_0x5657aa(0x1c5)] + _0x3be08e;
|
|
1114
|
+
})['join']('\x0a');
|
|
1115
|
+
}
|
|
1116
|
+
function formatClaimTaskResults(_0x2dc39d) {
|
|
1117
|
+
const _0x2918fa = {
|
|
1118
|
+
_0x560b57: 0x14a,
|
|
1119
|
+
_0x34fddb: 0x1ab,
|
|
1120
|
+
_0x2f6bc3: 0x18e
|
|
1121
|
+
}, _0x173226 = {
|
|
1122
|
+
_0x2c9ce9: 0x15b,
|
|
1123
|
+
_0x26932b: 0x1ed,
|
|
1124
|
+
_0x311d7c: 0x240,
|
|
1125
|
+
_0x376d03: 0x1cb,
|
|
1126
|
+
_0x22474f: 0x1cb,
|
|
1127
|
+
_0x499d55: 0x18e,
|
|
1128
|
+
_0x3e04a7: 0x13f,
|
|
1129
|
+
_0xf923cb: 0x2b6,
|
|
1130
|
+
_0x4013e8: 0x259,
|
|
1131
|
+
_0x5788d0: 0x175,
|
|
1132
|
+
_0x1a65e9: 0x15b,
|
|
1133
|
+
_0x1636ce: 0x1b3,
|
|
1134
|
+
_0x253baf: 0x272,
|
|
1135
|
+
_0x45480f: 0x16c
|
|
1136
|
+
}, _0x59c649 = _0x363898;
|
|
1137
|
+
if (_0x2dc39d[_0x59c649(0x2bd)] === 0x0)
|
|
1138
|
+
return _0x59c649(_0x2918fa._0x560b57);
|
|
1139
|
+
return _0x2dc39d[_0x59c649(_0x2918fa._0x34fddb)](_0x4bc244 => {
|
|
1140
|
+
const _0x26c88d = _0x59c649;
|
|
1141
|
+
if (_0x4bc244['success']) {
|
|
1142
|
+
const _0xa4814b = _0x4bc244[_0x26c88d(0x15b)] == null ? '(legacy)' : _0x4bc244[_0x26c88d(0x1f3)] != null ? '#' + _0x4bc244[_0x26c88d(_0x173226._0x2c9ce9)] + '.' + _0x4bc244['subtaskNumber'] : '#' + _0x4bc244[_0x26c88d(_0x173226._0x2c9ce9)], _0x3123df = _0x4bc244[_0x26c88d(0x152)] ? _0x26c88d(0x14e) + _0x4bc244[_0x26c88d(0x152)] : '';
|
|
1143
|
+
if (_0x4bc244[_0x26c88d(0x25f)]) {
|
|
1144
|
+
const _0x31a799 = [
|
|
1145
|
+
_0x26c88d(0x2a3),
|
|
1146
|
+
_0x4bc244['stopMain'] ? _0x26c88d(0x292) : null,
|
|
1147
|
+
_0x4bc244[_0x26c88d(_0x173226._0x26932b)] ? _0x26c88d(0x279) + _0x4bc244[_0x26c88d(_0x173226._0x26932b)] : null,
|
|
1148
|
+
_0x4bc244[_0x26c88d(0x240)] ? _0x26c88d(0x185) + _0x4bc244[_0x26c88d(_0x173226._0x311d7c)] : null,
|
|
1149
|
+
_0x4bc244[_0x26c88d(_0x173226._0x376d03)] ? _0x26c88d(0x17e) + _0x4bc244[_0x26c88d(_0x173226._0x22474f)] : null
|
|
1150
|
+
][_0x26c88d(0x227)](Boolean)[_0x26c88d(_0x173226._0x499d55)]('\x20');
|
|
1151
|
+
return _0xa4814b + _0x26c88d(_0x173226._0x3e04a7) + _0x3123df + '\x20' + _0x31a799 + _0x26c88d(_0x173226._0xf923cb);
|
|
1152
|
+
}
|
|
1153
|
+
const _0x5675f3 = _0x4bc244[_0x26c88d(0x175)] ? _0x26c88d(_0x173226._0x4013e8) + _0x4bc244[_0x26c88d(_0x173226._0x5788d0)] : '';
|
|
1154
|
+
return _0xa4814b + _0x26c88d(0x13f) + _0x3123df + _0x5675f3;
|
|
1155
|
+
}
|
|
1156
|
+
const _0x174384 = _0x4bc244[_0x26c88d(_0x173226._0x1a65e9)] == null ? _0x4bc244[_0x26c88d(0x152)] ?? _0x26c88d(_0x173226._0x1636ce) : '#' + _0x4bc244[_0x26c88d(_0x173226._0x1a65e9)];
|
|
1157
|
+
return _0x174384 + '\x20failed:\x20' + (_0x4bc244[_0x26c88d(_0x173226._0x253baf)] ?? _0x26c88d(_0x173226._0x45480f));
|
|
1158
|
+
})[_0x59c649(_0x2918fa._0x2f6bc3)]('\x0a');
|
|
1159
|
+
}
|
|
1160
|
+
function formatUnclaimTaskResult(_0x2a661d) {
|
|
1161
|
+
const _0x4aa032 = {
|
|
1162
|
+
_0x2d1321: 0x15b,
|
|
1163
|
+
_0xaab392: 0x15b
|
|
1164
|
+
}, _0xf3a0dc = _0x363898, _0x13769f = _0x2a661d[_0xf3a0dc(_0x4aa032._0x2d1321)] == null ? _0xf3a0dc(0x199) : _0x2a661d[_0xf3a0dc(0x1f3)] != null ? '#' + _0x2a661d['taskNumber'] + '.' + _0x2a661d[_0xf3a0dc(0x1f3)] : '#' + _0x2a661d[_0xf3a0dc(_0x4aa032._0xaab392)];
|
|
1165
|
+
return _0x13769f + _0xf3a0dc(0x1d8) + _0x2a661d['status'];
|
|
1166
|
+
}
|
|
1167
|
+
function formatUpdateTaskStatusResult(_0x11f1a5) {
|
|
1168
|
+
const _0x585d61 = {
|
|
1169
|
+
_0x36891b: 0x15b,
|
|
1170
|
+
_0x553cb0: 0x199,
|
|
1171
|
+
_0x1c8e2d: 0x291
|
|
1172
|
+
}, _0x38cf35 = _0x363898, _0x5c1367 = _0x11f1a5[_0x38cf35(_0x585d61._0x36891b)] == null ? _0x38cf35(_0x585d61._0x553cb0) : _0x11f1a5['subtaskNumber'] != null ? '#' + _0x11f1a5[_0x38cf35(_0x585d61._0x36891b)] + '.' + _0x11f1a5[_0x38cf35(0x1f3)] : '#' + _0x11f1a5[_0x38cf35(0x15b)];
|
|
1173
|
+
return _0x5c1367 + '\x20status=' + _0x11f1a5[_0x38cf35(_0x585d61._0x1c8e2d)];
|
|
1174
|
+
}
|
|
1175
|
+
function _0x1207() {
|
|
1176
|
+
const _0x2e550a = [
|
|
1177
|
+
'C3rHCNrLza',
|
|
1178
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
1179
|
+
'DgfZA3m',
|
|
1180
|
+
'y29UDgvUDa',
|
|
1181
|
+
'DgfZA051BwjLCG',
|
|
1182
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1183
|
+
'AxnbCNjHEq',
|
|
1184
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1185
|
+
'vgfZAYa',
|
|
1186
|
+
'DMfSDwu',
|
|
1187
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1188
|
+
'C3rHCNrZv2L0Aa',
|
|
1189
|
+
'igLUia',
|
|
1190
|
+
'C3rYAw5NAwz5',
|
|
1191
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1192
|
+
'mJq2mtiYnZzZyNLbvK8',
|
|
1193
|
+
'iYmJienOyw5UzwXZ',
|
|
1194
|
+
'nJy0nZuYse13EvrX',
|
|
1195
|
+
'zMLSzw5HBwu',
|
|
1196
|
+
'DgfYz2v0',
|
|
1197
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1198
|
+
'y2XHAw0GzMfPBgvK',
|
|
1199
|
+
'zxHWAxjLC0f0',
|
|
1097
1200
|
'y29UDgvUDfr5Cgu',
|
|
1098
|
-
'
|
|
1099
|
-
'
|
|
1100
|
-
'
|
|
1101
|
-
'
|
|
1102
|
-
'
|
|
1103
|
-
'
|
|
1104
|
-
'
|
|
1105
|
-
'
|
|
1106
|
-
'
|
|
1107
|
-
'
|
|
1108
|
-
'
|
|
1109
|
-
'
|
|
1110
|
-
'
|
|
1111
|
-
'
|
|
1112
|
-
'
|
|
1113
|
-
'
|
|
1114
|
-
'
|
|
1201
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1202
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1203
|
+
'yM9KEu1HCMTKB3DU',
|
|
1204
|
+
'6k+35Rgcia',
|
|
1205
|
+
'BwvZC2fNzxm',
|
|
1206
|
+
'ywDNCMvNyxrLswq',
|
|
1207
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1208
|
+
'ndG0ofHSBuHJza',
|
|
1209
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1210
|
+
'C2v0',
|
|
1211
|
+
'lcbWCMv2Awv3pq',
|
|
1212
|
+
'Aw5FChjVz3jLC3m',
|
|
1213
|
+
'zg06',
|
|
1214
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1215
|
+
'iYmJiefNzw50CW',
|
|
1216
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1217
|
+
'D29YA2vYtw9Kzq',
|
|
1218
|
+
'ywjVCNq',
|
|
1219
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1220
|
+
'DxbKyxrL',
|
|
1115
1221
|
'CgfYA193B3jRzxi',
|
|
1116
|
-
'
|
|
1117
|
-
'
|
|
1118
|
-
'
|
|
1222
|
+
'CMvZCg9UC2u',
|
|
1223
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
1224
|
+
'yxr0ywnOBwvUDeLK',
|
|
1225
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1226
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1227
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1228
|
+
'ihr5Cgu9ywDLBNq',
|
|
1229
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1230
|
+
'lNnSB2nR',
|
|
1231
|
+
'BMv4Den1CNnVCG',
|
|
1232
|
+
'AM9PBG',
|
|
1233
|
+
'CMvHzeHPC3rVCNK',
|
|
1234
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1235
|
+
'D29YA2vYCW',
|
|
1236
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1237
|
+
'Bg93',
|
|
1238
|
+
'C2vX',
|
|
1239
|
+
'z2v0rgf0zq',
|
|
1240
|
+
'DhLWzq',
|
|
1241
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1119
1242
|
'A2LUza',
|
|
1120
|
-
'
|
|
1121
|
-
'
|
|
1122
|
-
'
|
|
1123
|
-
'
|
|
1124
|
-
'
|
|
1125
|
-
'
|
|
1126
|
-
'
|
|
1243
|
+
'kgXLz2fJEsK',
|
|
1244
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
1245
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
1246
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
1247
|
+
'Dgv4Dc9JC3y',
|
|
1248
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1249
|
+
'C2nOzwr1BgvKrM9Y',
|
|
1250
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
1251
|
+
'DgvZDa',
|
|
1252
|
+
'w3nLCt0',
|
|
1253
|
+
'ywDLBNrjza',
|
|
1254
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1255
|
+
'BMfTzq',
|
|
1256
|
+
'l3jLy2vPDMu',
|
|
1127
1257
|
'AgfZtw9Yzq',
|
|
1128
|
-
'
|
|
1129
|
-
'
|
|
1130
|
-
'
|
|
1131
|
-
'
|
|
1132
|
-
'
|
|
1133
|
-
'
|
|
1258
|
+
'mZCWmZDPBeXjELy',
|
|
1259
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
1260
|
+
'Dgv4Dc9WBgfPBG',
|
|
1261
|
+
'BwfW',
|
|
1262
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1263
|
+
'Dw5JBgfPBv90yxnR',
|
|
1264
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1265
|
+
'Bwf0y2Hoyw1L',
|
|
1266
|
+
'iokaLca',
|
|
1267
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
1268
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1269
|
+
'khvUA25VD24P',
|
|
1270
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1271
|
+
'ywz0zxi',
|
|
1272
|
+
'z2v0twLUDxrLCW',
|
|
1273
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1274
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1134
1275
|
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1135
|
-
'
|
|
1136
|
-
'
|
|
1137
|
-
'
|
|
1138
|
-
'
|
|
1139
|
-
'
|
|
1140
|
-
'DgHYzwfKswq',
|
|
1141
|
-
'C3rYAw5NAwz5',
|
|
1142
|
-
'DgfYz2v0',
|
|
1143
|
-
'ndvMBxzQyNO',
|
|
1144
|
-
'zgf0yq',
|
|
1145
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1146
|
-
'C3rVCe1HAw4',
|
|
1147
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1148
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
1276
|
+
'ChjVDg9JB2W',
|
|
1277
|
+
'C2vUzf9TzxnZywDL',
|
|
1278
|
+
'CMvZDwX0CW',
|
|
1279
|
+
'zMv0y2HjBxbS',
|
|
1280
|
+
'mZm3nJaYBu1Yzxvk',
|
|
1149
1281
|
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1282
|
+
'AgfZ',
|
|
1283
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1284
|
+
'ktSGz290ignOyw5UzwW9',
|
|
1285
|
+
'BwvZC2fNzq',
|
|
1286
|
+
'zgLZCg9ZAxrPB24',
|
|
1287
|
+
'DgL0Bgu',
|
|
1288
|
+
'Axnoyu4',
|
|
1150
1289
|
'DgfZAY0',
|
|
1151
|
-
'
|
|
1152
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1153
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1154
|
-
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1155
|
-
'yxjYyxK',
|
|
1156
|
-
'AhjLzG',
|
|
1157
|
-
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1158
|
-
'zw50CMLLCW',
|
|
1159
|
-
'D29YA2vYsgfUzg9MzG',
|
|
1160
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
1161
|
-
'y2HHBM5LBeLK',
|
|
1162
|
-
'iJOGC3rHDhvZpq',
|
|
1290
|
+
'l3n0yxj0',
|
|
1163
1291
|
'y2HHDa',
|
|
1164
|
-
'
|
|
1165
|
-
'ue9tva',
|
|
1166
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
1167
|
-
'vgfZAYa',
|
|
1168
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
1292
|
+
'Dw5RBM93BG',
|
|
1169
1293
|
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1170
|
-
'
|
|
1171
|
-
'
|
|
1172
|
-
'
|
|
1173
|
-
'
|
|
1174
|
-
'
|
|
1175
|
-
'
|
|
1176
|
-
'
|
|
1294
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1295
|
+
'Bwf4',
|
|
1296
|
+
'ue9tva',
|
|
1297
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
1298
|
+
'r0vu',
|
|
1299
|
+
'zgvSzxrL',
|
|
1300
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1301
|
+
'ywrK',
|
|
1302
|
+
'CMvHzf9OAxn0B3j5',
|
|
1303
|
+
'mtr3DM96AwW',
|
|
1304
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1305
|
+
'DxbSB2fKx2zPBgu',
|
|
1306
|
+
'ihn0yxr1CZ0',
|
|
1307
|
+
'Dg9ju09tDhjPBMC',
|
|
1308
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1309
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
1310
|
+
'C2LNBMfS',
|
|
1311
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1177
1312
|
'yxv0BZO',
|
|
1178
1313
|
'y2HLy2TFBwvZC2fNzxm',
|
|
1179
|
-
'
|
|
1180
|
-
'
|
|
1181
|
-
'
|
|
1182
|
-
'
|
|
1183
|
-
'
|
|
1184
|
-
'
|
|
1185
|
-
'
|
|
1186
|
-
'
|
|
1187
|
-
'
|
|
1188
|
-
'
|
|
1189
|
-
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1190
|
-
'r0vu',
|
|
1191
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
1192
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1193
|
-
'kg5VBMuP',
|
|
1314
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
1315
|
+
'mc4WlJa',
|
|
1316
|
+
'DgHYzwfKtNvTyMvY',
|
|
1317
|
+
'AhjLzG',
|
|
1318
|
+
'DxbSB2fKrMLSzq',
|
|
1319
|
+
'ChvZAa',
|
|
1320
|
+
'DMLLD19MAwXL',
|
|
1321
|
+
'ihrPBwu9',
|
|
1322
|
+
'Aw5JBhvKzxm',
|
|
1323
|
+
'CNvUswq',
|
|
1194
1324
|
'yxjNDG',
|
|
1195
|
-
'
|
|
1196
|
-
'y3jLyxrLzef0',
|
|
1197
|
-
'DxbSB2fKuhjLCgfYzxi',
|
|
1198
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1199
|
-
'BwvKAxvT',
|
|
1200
|
-
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1201
|
-
'C2vYDMvY',
|
|
1202
|
-
'nJeYmJG4ovziyLjjBG',
|
|
1203
|
-
'nZm1ntm4m3nPDhjXCa',
|
|
1204
|
-
'yxr0ywnOBwvUDeLK',
|
|
1205
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1206
|
-
'Axnoyu4',
|
|
1207
|
-
'yMvMB3jL',
|
|
1208
|
-
'Aw5FChjVz3jLC3m',
|
|
1209
|
-
'DgfYz2v0zwruyxnR',
|
|
1210
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1211
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1212
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1213
|
-
'AgLNAa',
|
|
1214
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1215
|
-
'DMLLD19MAwXLigzHAwXLza',
|
|
1216
|
-
'CgfYDgLJAxbHBNrjza',
|
|
1217
|
-
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1218
|
-
'y3jLyxrLvgfZA3m',
|
|
1219
|
-
'ywDNCMvNyxrLswq',
|
|
1220
|
-
'B2jQzwn0',
|
|
1221
|
-
'nLHhwevKsG',
|
|
1222
|
-
'Dw5JBgfPBvrHC2S',
|
|
1223
|
-
'DgHYzwfKvgfYz2v0',
|
|
1224
|
-
'zMv0y2HjBxbS',
|
|
1225
|
-
'zMLSzv9WyxrO',
|
|
1325
|
+
'BgLZDf90yxnRCW',
|
|
1226
1326
|
'ls1KywvTB24TyxbPlwTLEq',
|
|
1227
|
-
'
|
|
1228
|
-
'
|
|
1229
|
-
'
|
|
1327
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1328
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1329
|
+
'B2jQzwn0',
|
|
1330
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1230
1331
|
'Dgv4Dc9TyxjRzg93BG',
|
|
1231
|
-
'
|
|
1232
|
-
'
|
|
1233
|
-
'
|
|
1234
|
-
'
|
|
1235
|
-
'
|
|
1236
|
-
'
|
|
1237
|
-
'
|
|
1238
|
-
'
|
|
1239
|
-
'
|
|
1240
|
-
'
|
|
1241
|
-
'
|
|
1242
|
-
'
|
|
1243
|
-
'
|
|
1244
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
1245
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1246
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1247
|
-
'DMfSDwu',
|
|
1248
|
-
'C2LNBMfS',
|
|
1249
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
1250
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1251
|
-
'yM9KEvrLEhq',
|
|
1252
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1253
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1254
|
-
'BwvZC2fNzv9Pzhm',
|
|
1255
|
-
'BwvZC2fNzq',
|
|
1256
|
-
'DgHYzwfK',
|
|
1257
|
-
'yxbWBgLJyxrPB24VEMLW',
|
|
1258
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1259
|
-
'BwvTyMvY',
|
|
1260
|
-
'ANnVBG',
|
|
1261
|
-
'C2L6zuj5DgvZ',
|
|
1332
|
+
'C3bSAxq',
|
|
1333
|
+
'C3vIDgfZA051BwjLCG',
|
|
1334
|
+
'yxjYyxLcDwzMzxi',
|
|
1335
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1336
|
+
'DgfYz2v0zwq',
|
|
1337
|
+
'C29YDa',
|
|
1338
|
+
'BgLZDf9Zzxj2zxi',
|
|
1339
|
+
'C3vJy2vZCW',
|
|
1340
|
+
'yMfZzw5HBwu',
|
|
1341
|
+
'Dw5JBgfPBvrHC2S',
|
|
1342
|
+
'mZbqB01HCva',
|
|
1343
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1344
|
+
'ig1ZzZ0',
|
|
1262
1345
|
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1263
|
-
'
|
|
1346
|
+
'CgfYDgLJAxbHBNq',
|
|
1347
|
+
'nde1BeH5zvfm',
|
|
1348
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1349
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1350
|
+
'Aw5FCMv2Awv3',
|
|
1351
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1264
1352
|
'igrVBMuP',
|
|
1265
|
-
'
|
|
1266
|
-
'
|
|
1267
|
-
'
|
|
1268
|
-
'
|
|
1269
|
-
'
|
|
1270
|
-
'
|
|
1271
|
-
'
|
|
1272
|
-
'
|
|
1273
|
-
'
|
|
1274
|
-
'
|
|
1275
|
-
'
|
|
1276
|
-
'
|
|
1277
|
-
'
|
|
1278
|
-
'
|
|
1279
|
-
'
|
|
1280
|
-
'
|
|
1281
|
-
'
|
|
1282
|
-
'
|
|
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',
|
|
1297
|
-
'ywjVCNq',
|
|
1298
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1299
|
-
'ig1LC3nHz2u9',
|
|
1300
|
-
'l3n0yxj0',
|
|
1301
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1302
|
-
'CMvHzeHPC3rVCNK',
|
|
1303
|
-
'z2v0vgLTzq',
|
|
1304
|
-
'CMvZCg9UC2u',
|
|
1305
|
-
'ywDLBNq',
|
|
1306
|
-
'ChvZAa',
|
|
1307
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1308
|
-
'iYmJienOyw5UzwXZ',
|
|
1309
|
-
'DhLWzq',
|
|
1310
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1311
|
-
'kgXLz2fJEsK',
|
|
1312
|
-
'Aw1Hz2uVCg5N',
|
|
1313
|
-
'DhjPBq',
|
|
1353
|
+
'DxrMoa',
|
|
1354
|
+
'B3b0Aw9UywW',
|
|
1355
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
1356
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
1357
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
1358
|
+
'y2HHBM5LBeLK',
|
|
1359
|
+
'CMvXDwvZDfvYBa',
|
|
1360
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1361
|
+
'BgLZDfrHC2TZ',
|
|
1362
|
+
'v29YA2vYia',
|
|
1363
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1364
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1365
|
+
'uefuq0G',
|
|
1366
|
+
'C2f2zq',
|
|
1367
|
+
'y3jLyxrLvgfZA3m',
|
|
1368
|
+
'C2vYDMvYvxjS',
|
|
1369
|
+
'Dgv4Da',
|
|
1370
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1314
1371
|
'y2XHAw1FDgfZA3m',
|
|
1315
|
-
'
|
|
1316
|
-
'
|
|
1317
|
-
'
|
|
1318
|
-
'
|
|
1319
|
-
'
|
|
1372
|
+
'zgvZDhjVEwvK',
|
|
1373
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1374
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1375
|
+
'kg5VBMuP',
|
|
1376
|
+
'DgHYzwfK',
|
|
1377
|
+
'zxjYB3i',
|
|
1378
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
1379
|
+
'D29YA19RzxK',
|
|
1380
|
+
'Dg9mB3DLCKnHC2u',
|
|
1320
1381
|
'CxvLDwvK',
|
|
1321
|
-
'Ahr0CdO',
|
|
1322
|
-
'Aw1Hz2uVD2vICa',
|
|
1323
|
-
'mJq5mtq4ELvdqvDR',
|
|
1324
|
-
'Bwv0yq',
|
|
1325
|
-
'zgLNzxn0',
|
|
1326
|
-
'mJeXmJy3mgv2DNjUEa',
|
|
1327
|
-
'ywrK',
|
|
1328
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1329
|
-
'ktSGz290ignOyw5UzwW9',
|
|
1330
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1331
|
-
'iYmGu2vYDMvYoIa',
|
|
1332
|
-
'C2vYDMvYvxjS',
|
|
1333
|
-
'Aw5JBhvKzxm',
|
|
1334
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1335
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
1336
|
-
'CNvUBMLUzW',
|
|
1337
|
-
'w3nLCt0',
|
|
1338
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1339
|
-
'C2XPy2u',
|
|
1340
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1341
|
-
'AM9PBG',
|
|
1342
|
-
'y2HHBM5LBe5HBwu',
|
|
1343
1382
|
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1344
|
-
'v29YA2vYia',
|
|
1345
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1346
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1347
1383
|
'Agv4',
|
|
1348
|
-
'
|
|
1349
|
-
'zg0T',
|
|
1350
|
-
'uefuq0G',
|
|
1351
|
-
'BgLZDf90yxnRCW',
|
|
1352
|
-
'DgvZDa',
|
|
1353
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1354
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1355
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
1356
|
-
'BwvTyMvYCW',
|
|
1357
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1358
|
-
'Dgv4Da',
|
|
1359
|
-
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1360
|
-
'Aw1Hz2uVz2LM',
|
|
1361
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1362
|
-
'Bwf4',
|
|
1363
|
-
'D29YA2vYtw9Kzq',
|
|
1364
|
-
'y2HPBgrYzw5eB25L',
|
|
1365
|
-
'D3m6',
|
|
1366
|
-
'zxzLBNrtzxe',
|
|
1367
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1368
|
-
'l2nVBNrLBNq',
|
|
1369
|
-
'Dgv4Dc9WBgfPBG',
|
|
1370
|
-
'CgfKu3rHCNq',
|
|
1371
|
-
'zgvZy3jPyMu',
|
|
1384
|
+
'lMjPBG',
|
|
1372
1385
|
'zMLSDgvY',
|
|
1373
|
-
'
|
|
1374
|
-
'
|
|
1386
|
+
'AhvTyw4',
|
|
1387
|
+
'Aw5KzxHpzG',
|
|
1388
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1389
|
+
'AgLNAa',
|
|
1390
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
1391
|
+
'mtjmu2Dnuu4',
|
|
1392
|
+
'y2HHBM5LBe5HBwu',
|
|
1393
|
+
'zw50CMLLCW',
|
|
1394
|
+
'BgLZDfnLCNzLCG',
|
|
1395
|
+
'zgfLBw9UqxbPs2v5',
|
|
1396
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1397
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1398
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1399
|
+
'ywDLBNq',
|
|
1400
|
+
'mte3mdLVtNPdtKi',
|
|
1401
|
+
'y2HHBM5LBa',
|
|
1402
|
+
'Aw1Hz2uVD2vICa',
|
|
1403
|
+
'zg9Uzq',
|
|
1404
|
+
'ywjVCNrLza',
|
|
1405
|
+
'y29UBMvJDa',
|
|
1406
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1407
|
+
'mJe3mfD6qwPbwa',
|
|
1408
|
+
'CNvUBMLUzW',
|
|
1409
|
+
'zw51Bq',
|
|
1410
|
+
'DgHYzwfKvgfYz2v0',
|
|
1411
|
+
'sfruuca',
|
|
1412
|
+
'ig1LC3nHz2vZkqOk',
|
|
1413
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1414
|
+
'z2v0sg91CNm',
|
|
1415
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1416
|
+
'y2f0y2G',
|
|
1417
|
+
'AxnbyNnVBhv0zq',
|
|
1418
|
+
'z2v0tw9UDgG',
|
|
1419
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1420
|
+
'zMLSzv9WyxrO',
|
|
1421
|
+
'zM9Yy2vszwzYzxnO',
|
|
1422
|
+
'zNjVBq',
|
|
1423
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1375
1424
|
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1376
|
-
'
|
|
1377
|
-
'C3bSAxq',
|
|
1378
|
-
'ls1Hz2vUDc1Pza',
|
|
1379
|
-
'DgHYzwfKtNvTyMvY',
|
|
1380
|
-
'DgfZA3m',
|
|
1381
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1382
|
-
'igzHAwXLzdOG',
|
|
1383
|
-
'C2vZC2LVBKLK',
|
|
1384
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
1385
|
-
'yMfZzty0',
|
|
1386
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1387
|
-
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1388
|
-
'igf0DgfJAg1LBNq',
|
|
1389
|
-
'DgfYz2v0zwq',
|
|
1390
|
-
'ywz0zxi',
|
|
1391
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1392
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1393
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1394
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1395
|
-
'ihrPBwu9',
|
|
1396
|
-
'mc4WlJa',
|
|
1397
|
-
'CMvZDwX0CW',
|
|
1398
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1399
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1400
|
-
'DgfZA19Pza',
|
|
1425
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1401
1426
|
'ChvIBgLJ',
|
|
1402
|
-
'
|
|
1403
|
-
'
|
|
1404
|
-
'
|
|
1405
|
-
'
|
|
1427
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1428
|
+
'yMvMB3jL',
|
|
1429
|
+
'Bg9JywXLq29TCgfYzq',
|
|
1430
|
+
'BgLTAxq',
|
|
1431
|
+
'CgfYC2vjBNq',
|
|
1432
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1433
|
+
'DgHYzwfKswq',
|
|
1434
|
+
'Dg9tDhjPBMC',
|
|
1435
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1436
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1437
|
+
'DxnLCG',
|
|
1438
|
+
'CMvWBgfJzq',
|
|
1439
|
+
'DgfZA19Pza',
|
|
1440
|
+
'ywXS',
|
|
1441
|
+
'D29YA2vYsgfUzg9MzG',
|
|
1442
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1443
|
+
'C2vYDMvYtMfTzq',
|
|
1444
|
+
'yxjYyxK',
|
|
1445
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1446
|
+
'Cgf5Bg9HzePZB24',
|
|
1447
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1448
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1449
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1450
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1451
|
+
'y3vYC29Y',
|
|
1452
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1453
|
+
'ywDLBNrZ',
|
|
1454
|
+
'l3rHC2TZ',
|
|
1455
|
+
'y29UDgvUDejHC2u2na',
|
|
1456
|
+
'v29YA2vYici',
|
|
1457
|
+
'C2L6zq',
|
|
1406
1458
|
'igTPBMq9',
|
|
1407
|
-
'
|
|
1408
|
-
'
|
|
1409
|
-
'
|
|
1410
|
-
'
|
|
1411
|
-
'
|
|
1412
|
-
'
|
|
1413
|
-
'
|
|
1459
|
+
'zxH0BMfTzq',
|
|
1460
|
+
'CMvHC29U',
|
|
1461
|
+
'y2HHBM5LBhm',
|
|
1462
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1463
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1464
|
+
'yM9KEvrLEhq',
|
|
1465
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1466
|
+
'C29Tzq',
|
|
1467
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1468
|
+
'DgfZAW',
|
|
1469
|
+
'ANnVBG',
|
|
1470
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1471
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1472
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1473
|
+
'ls1Hz2vUDc1Pza',
|
|
1474
|
+
'C2vUzgvYvhLWzq',
|
|
1475
|
+
'y3jLyxrLzef0',
|
|
1476
|
+
'l3rHC2TZl2nSywLT',
|
|
1477
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1478
|
+
'l3vWBg9Hza',
|
|
1479
|
+
'zgvZy3jPChrPB24',
|
|
1480
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1481
|
+
'BNvTyMvY',
|
|
1482
|
+
'C2L6zuj5DgvZ',
|
|
1483
|
+
'zMLUza',
|
|
1484
|
+
'D29YA2vY',
|
|
1485
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
1486
|
+
'z2v0',
|
|
1487
|
+
'iYmGu2vYDMvYoIa',
|
|
1488
|
+
'Aw1Hz2uVANbLzW',
|
|
1489
|
+
'zgf0yq',
|
|
1490
|
+
'DMfSDwvZ',
|
|
1491
|
+
'C3rHDhvZ',
|
|
1492
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
1493
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1494
|
+
'C2XPy2u',
|
|
1414
1495
|
'BM93',
|
|
1415
|
-
'
|
|
1416
|
-
'
|
|
1417
|
-
'
|
|
1418
|
-
'
|
|
1419
|
-
'
|
|
1420
|
-
'
|
|
1496
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
1497
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1498
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1499
|
+
'C2vZC2LVBKLK',
|
|
1500
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
1501
|
+
'l3nLCNzLCG',
|
|
1502
|
+
'Dg9KBW',
|
|
1503
|
+
'BwvTyMvYCW',
|
|
1504
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1505
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1421
1506
|
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1422
|
-
'mti2otCYog92uhPYAa',
|
|
1423
|
-
'y2HHBM5LBhm',
|
|
1424
|
-
'lMjPBG',
|
|
1425
|
-
'zxjYB3i',
|
|
1426
|
-
'C2vUze1LC3nHz2u',
|
|
1427
|
-
'6k+35Rgcia',
|
|
1428
1507
|
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1429
|
-
'
|
|
1430
|
-
'
|
|
1431
|
-
'
|
|
1432
|
-
'
|
|
1433
|
-
'
|
|
1434
|
-
'ywDNCMvNyxrLswrZ',
|
|
1435
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
1436
|
-
'DxnLCG',
|
|
1437
|
-
'AwrSzq',
|
|
1438
|
-
'l3nLBMq',
|
|
1439
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1440
|
-
'zxHWAxjLC0f0',
|
|
1441
|
-
'C2L6zq',
|
|
1442
|
-
'iYmJieH1BwfUCW',
|
|
1443
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1444
|
-
'Bg9JywXLq29TCgfYzq',
|
|
1445
|
-
'CMvWBgfJzq',
|
|
1508
|
+
'yMfZzty0',
|
|
1509
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1510
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1511
|
+
'y2XPzw50',
|
|
1512
|
+
'AgvHzgvYCW',
|
|
1446
1513
|
'C3rYAw5N',
|
|
1447
|
-
'
|
|
1448
|
-
'
|
|
1449
|
-
'
|
|
1450
|
-
'
|
|
1451
|
-
'
|
|
1514
|
+
'C2vUze1LC3nHz2u',
|
|
1515
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1516
|
+
'yxnPzgu',
|
|
1517
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1518
|
+
'AxngAw5PDgu',
|
|
1519
|
+
'DhjPBq',
|
|
1520
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1521
|
+
'CMvZDwX0sNnVBG',
|
|
1522
|
+
'C2vUzgvYtMfTzq',
|
|
1523
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1524
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1525
|
+
'BwvZC2fNzv9Pzhm',
|
|
1526
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1527
|
+
'D3m6',
|
|
1528
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1529
|
+
'Bwv0yq',
|
|
1530
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1531
|
+
'DgfZA0LK',
|
|
1532
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1533
|
+
'C2vYDMvY',
|
|
1534
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1535
|
+
'BgvUz3rO',
|
|
1536
|
+
'yxr0ywnOBwvUDhm',
|
|
1537
|
+
'EM9K',
|
|
1538
|
+
'iYmJieH1BwfUCW',
|
|
1539
|
+
'mtG3ndHyvvfnteO',
|
|
1540
|
+
'zgvZy3jPyMu',
|
|
1541
|
+
'w3rHCMDLDd0',
|
|
1452
1542
|
'ignSywLTzwq',
|
|
1453
|
-
'
|
|
1454
|
-
'
|
|
1455
|
-
'
|
|
1456
|
-
'
|
|
1457
|
-
'
|
|
1458
|
-
'
|
|
1459
|
-
'
|
|
1460
|
-
'
|
|
1461
|
-
'
|
|
1462
|
-
'
|
|
1463
|
-
'
|
|
1464
|
-
'
|
|
1465
|
-
'
|
|
1466
|
-
'
|
|
1467
|
-
'
|
|
1468
|
-
'
|
|
1469
|
-
'
|
|
1470
|
-
'
|
|
1471
|
-
'DMfSDwvZ',
|
|
1543
|
+
'mtC3mtiXzfLJr05O',
|
|
1544
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1545
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1546
|
+
'z2v0vgLTzq',
|
|
1547
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1548
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1549
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1550
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1551
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1552
|
+
'xsba',
|
|
1553
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1554
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1555
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
1556
|
+
'AxngAwXL',
|
|
1557
|
+
'ig1LC3nHz2u9',
|
|
1558
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1559
|
+
'DgfYz2v0zwruyxnR',
|
|
1560
|
+
'Dg9VBa',
|
|
1472
1561
|
'BwvZC2fNzuLK',
|
|
1473
|
-
'
|
|
1474
|
-
'
|
|
1475
|
-
'
|
|
1476
|
-
'
|
|
1477
|
-
'C3vJy2vZCW',
|
|
1478
|
-
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1479
|
-
'DgfZAW',
|
|
1480
|
-
'zgvSzxrL',
|
|
1481
|
-
'ihr5Cgu9ywDLBNq'
|
|
1562
|
+
'lsaJ',
|
|
1563
|
+
'D3nZoG',
|
|
1564
|
+
'AhvTyw5Z',
|
|
1565
|
+
'DMLZAwjPBgL0Eq'
|
|
1482
1566
|
];
|
|
1483
|
-
|
|
1484
|
-
return
|
|
1567
|
+
_0x1207 = function () {
|
|
1568
|
+
return _0x2e550a;
|
|
1485
1569
|
};
|
|
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'];
|
|
1570
|
+
return _0x1207();
|
|
1566
1571
|
}
|
|
1567
1572
|
function getChatBridgeToolDefinitions() {
|
|
1568
|
-
const
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
}, _0x4138db = _0x2cd54a;
|
|
1573
|
+
const _0xa6f908 = {
|
|
1574
|
+
_0x56da38: 0x1df,
|
|
1575
|
+
_0x1bb4dd: 0x1e6,
|
|
1576
|
+
_0xfe774a: 0x219,
|
|
1577
|
+
_0x461779: 0x2b8
|
|
1578
|
+
}, _0x872e2a = _0x363898;
|
|
1575
1579
|
return [
|
|
1576
|
-
{ 'name':
|
|
1577
|
-
{ 'name':
|
|
1580
|
+
{ 'name': _0x872e2a(0x1bb) },
|
|
1581
|
+
{ 'name': _0x872e2a(_0xa6f908._0x56da38) },
|
|
1578
1582
|
{ 'name': 'read_history' },
|
|
1579
|
-
{ 'name':
|
|
1580
|
-
{ 'name':
|
|
1581
|
-
{ 'name':
|
|
1582
|
-
{ 'name':
|
|
1583
|
-
{ 'name':
|
|
1584
|
-
{ 'name':
|
|
1585
|
-
{ 'name':
|
|
1586
|
-
{ 'name':
|
|
1587
|
-
{ 'name':
|
|
1588
|
-
{ 'name':
|
|
1589
|
-
{ 'name':
|
|
1590
|
-
{ 'name':
|
|
1583
|
+
{ 'name': _0x872e2a(0x1f8) },
|
|
1584
|
+
{ 'name': _0x872e2a(0x1d7) },
|
|
1585
|
+
{ 'name': _0x872e2a(_0xa6f908._0x1bb4dd) },
|
|
1586
|
+
{ 'name': _0x872e2a(0x1eb) },
|
|
1587
|
+
{ 'name': 'create_tasks' },
|
|
1588
|
+
{ 'name': _0x872e2a(_0xa6f908._0xfe774a) },
|
|
1589
|
+
{ 'name': 'unclaim_task' },
|
|
1590
|
+
{ 'name': _0x872e2a(0x2b2) },
|
|
1591
|
+
{ 'name': 'get_worker_status' },
|
|
1592
|
+
{ 'name': 'park_worker' },
|
|
1593
|
+
{ 'name': _0x872e2a(0x15c) },
|
|
1594
|
+
{ 'name': _0x872e2a(_0xa6f908._0x461779) }
|
|
1591
1595
|
];
|
|
1592
1596
|
}
|
|
1593
|
-
function createChatBridgeHandlers(
|
|
1594
|
-
const
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
},
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
},
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
},
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
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'])
|
|
1597
|
+
function createChatBridgeHandlers(_0x504396) {
|
|
1598
|
+
const _0x43f96e = {
|
|
1599
|
+
_0x3a2bfa: 0x188,
|
|
1600
|
+
_0x325e7e: 0x1ce
|
|
1601
|
+
}, _0x2fdcf0 = {
|
|
1602
|
+
_0x1fb6bb: 0x188,
|
|
1603
|
+
_0x257c06: 0x164,
|
|
1604
|
+
_0x13e322: 0x221
|
|
1605
|
+
}, _0x24c3f7 = {
|
|
1606
|
+
_0x3469d0: 0x188,
|
|
1607
|
+
_0x3c1a47: 0x1ce,
|
|
1608
|
+
_0x81954a: 0x27b,
|
|
1609
|
+
_0x6682d: 0x21f,
|
|
1610
|
+
_0x3757a6: 0x158
|
|
1611
|
+
}, _0x2d6c1d = {
|
|
1612
|
+
_0x4357c3: 0x221,
|
|
1613
|
+
_0x2bca55: 0x26e,
|
|
1614
|
+
_0x6a9b43: 0x291
|
|
1615
|
+
}, _0x119e0f = {
|
|
1616
|
+
_0x114bee: 0x29f,
|
|
1617
|
+
_0x29c0bd: 0x293
|
|
1618
|
+
}, _0x40f82e = {
|
|
1619
|
+
_0x40a08f: 0x2a5,
|
|
1620
|
+
_0x3f7e36: 0x1e4
|
|
1621
|
+
}, _0x4835f8 = { _0x5b8e97: 0x237 }, _0x4d7067 = {
|
|
1622
|
+
_0x2e0596: 0x17f,
|
|
1623
|
+
_0x2a7f50: 0x237
|
|
1624
|
+
}, _0x319145 = {
|
|
1625
|
+
_0x54b4da: 0x219,
|
|
1626
|
+
_0x104294: 0x237,
|
|
1627
|
+
_0x4afcbe: 0x2a0,
|
|
1628
|
+
_0x4307e2: 0x232
|
|
1629
|
+
}, _0x35fab4 = {
|
|
1630
|
+
_0x2261df: 0x263,
|
|
1631
|
+
_0x4c9bef: 0x215
|
|
1632
|
+
}, _0x13ff9c = {
|
|
1633
|
+
_0x44cb49: 0x2a5,
|
|
1634
|
+
_0x5e9868: 0x205,
|
|
1635
|
+
_0x47ff55: 0x1a3,
|
|
1636
|
+
_0x23c63b: 0x237,
|
|
1637
|
+
_0x134db8: 0x191,
|
|
1638
|
+
_0x47678f: 0x189,
|
|
1639
|
+
_0x242d67: 0x294,
|
|
1640
|
+
_0x1d583f: 0x159,
|
|
1641
|
+
_0x2029c7: 0x289,
|
|
1642
|
+
_0xe5a656: 0x15b,
|
|
1643
|
+
_0x2f35c9: 0x25d,
|
|
1644
|
+
_0x2c9827: 0x15b
|
|
1645
|
+
}, _0x3dce4c = { _0x438d8a: 0x230 }, _0x15ab0f = {
|
|
1646
|
+
_0x1651ba: 0x2a5,
|
|
1647
|
+
_0x31417d: 0x18f
|
|
1648
|
+
}, _0x34975c = {
|
|
1649
|
+
_0x1c59b6: 0x2a5,
|
|
1650
|
+
_0x486253: 0x227,
|
|
1651
|
+
_0x302640: 0x173
|
|
1652
|
+
}, _0x284cae = {
|
|
1653
|
+
_0x25008c: 0x17f,
|
|
1654
|
+
_0x21c65f: 0x24f,
|
|
1655
|
+
_0x16e12b: 0x188,
|
|
1656
|
+
_0x38a81e: 0x1a3,
|
|
1657
|
+
_0x1be9fc: 0x16a,
|
|
1658
|
+
_0x319efb: 0x27a,
|
|
1659
|
+
_0x672126: 0x15b,
|
|
1660
|
+
_0x23273d: 0x163,
|
|
1661
|
+
_0x8f3a04: 0x1f0,
|
|
1662
|
+
_0x330321: 0x18e,
|
|
1663
|
+
_0x3d0c2a: 0x13e,
|
|
1664
|
+
_0x9cdabd: 0x245,
|
|
1665
|
+
_0x27daa6: 0x2a9,
|
|
1666
|
+
_0x5744f7: 0x27a,
|
|
1667
|
+
_0x28415a: 0x2b9,
|
|
1668
|
+
_0x41b90a: 0x19c,
|
|
1669
|
+
_0x30944f: 0x164,
|
|
1670
|
+
_0x5b23f6: 0x1a3,
|
|
1671
|
+
_0x4aec29: 0x25b,
|
|
1672
|
+
_0x46f007: 0x27b,
|
|
1673
|
+
_0x5c9746: 0x233,
|
|
1674
|
+
_0x51819c: 0x1c4,
|
|
1675
|
+
_0x7f33d4: 0x223,
|
|
1676
|
+
_0x50b0f7: 0x157,
|
|
1677
|
+
_0x1c30f6: 0x2a8
|
|
1678
|
+
}, _0x47327a = {
|
|
1679
|
+
_0xbc86: 0x188,
|
|
1680
|
+
_0x5a4f3d: 0x17f,
|
|
1681
|
+
_0x5ec0d9: 0x205,
|
|
1682
|
+
_0x4a7c75: 0x189,
|
|
1683
|
+
_0x93ec29: 0x26f
|
|
1684
|
+
}, _0x553b61 = {
|
|
1685
|
+
_0x470f3f: 0x1a3,
|
|
1686
|
+
_0x5cdde0: 0x21a,
|
|
1687
|
+
_0x19d8b9: 0x189,
|
|
1688
|
+
_0x3f8b10: 0x1d3,
|
|
1689
|
+
_0x2f06b0: 0x26f
|
|
1690
|
+
}, _0x19a620 = {
|
|
1691
|
+
_0x4a8f84: 0x188,
|
|
1692
|
+
_0x5cfeb9: 0x198,
|
|
1693
|
+
_0x2ea273: 0x202,
|
|
1694
|
+
_0x3d811d: 0x173,
|
|
1695
|
+
_0x239c46: 0x15b,
|
|
1696
|
+
_0x2f39c0: 0x1fe,
|
|
1697
|
+
_0x646bcf: 0x152,
|
|
1698
|
+
_0x4d556c: 0x1e7,
|
|
1699
|
+
_0x746522: 0x19c,
|
|
1700
|
+
_0x1494ef: 0x18e,
|
|
1701
|
+
_0x598895: 0x190,
|
|
1702
|
+
_0xed1f4b: 0x1b2,
|
|
1703
|
+
_0x5c66d2: 0x2b9,
|
|
1704
|
+
_0xae01d: 0x1c7,
|
|
1705
|
+
_0x1a03b8: 0x25b,
|
|
1706
|
+
_0x51ad41: 0x25a,
|
|
1707
|
+
_0x40b744: 0x223,
|
|
1708
|
+
_0xa7f08b: 0x157
|
|
1709
|
+
}, _0x2284be = {
|
|
1710
|
+
_0xe7c382: 0x146,
|
|
1711
|
+
_0x239ba3: 0x146,
|
|
1712
|
+
_0xf5e3b1: 0x21c,
|
|
1713
|
+
_0x324c17: 0x1c2
|
|
1714
|
+
}, _0x22c4c7 = _0x363898;
|
|
1715
|
+
function _0x342923(_0x168dbf, _0x1ce34a) {
|
|
1716
|
+
const _0x7fa2c2 = _0x575b;
|
|
1717
|
+
if (!_0x504396[_0x7fa2c2(0x17f)])
|
|
1728
1718
|
return;
|
|
1729
|
-
if (!
|
|
1730
|
-
throw new Error(
|
|
1731
|
-
if (
|
|
1732
|
-
throw new Error(
|
|
1719
|
+
if (!_0x504396[_0x7fa2c2(_0x2284be._0xe7c382)])
|
|
1720
|
+
throw new Error(_0x168dbf + _0x7fa2c2(0x1e0));
|
|
1721
|
+
if (_0x1ce34a !== _0x504396[_0x7fa2c2(_0x2284be._0x239ba3)])
|
|
1722
|
+
throw new Error(_0x168dbf + _0x7fa2c2(_0x2284be._0xf5e3b1) + _0x504396[_0x7fa2c2(0x146)] + _0x7fa2c2(_0x2284be._0x324c17) + _0x1ce34a);
|
|
1733
1723
|
}
|
|
1734
|
-
async function
|
|
1735
|
-
const
|
|
1736
|
-
if (!
|
|
1724
|
+
async function _0x4aa532(_0x306c88) {
|
|
1725
|
+
const _0x47a6e3 = _0x575b;
|
|
1726
|
+
if (!_0x504396[_0x47a6e3(_0x19a620._0x4a8f84)] || !_0x504396[_0x47a6e3(0x1a3)] || _0x504396[_0x47a6e3(0x17f)] || _0x504396[_0x47a6e3(0x24f)] !== !![])
|
|
1737
1727
|
return null;
|
|
1738
|
-
const
|
|
1739
|
-
if (
|
|
1728
|
+
const _0x1d42b1 = parseTarget(_0x306c88['channel']);
|
|
1729
|
+
if (_0x1d42b1[_0x47a6e3(_0x19a620._0x5cfeb9)] !== _0x47a6e3(0x237))
|
|
1740
1730
|
return null;
|
|
1741
|
-
const
|
|
1742
|
-
let
|
|
1731
|
+
const _0x3d3d03 = _0x306c88[_0x47a6e3(0x1e2)] != null ? _0x1d42b1[_0x47a6e3(_0x19a620._0x2ea273)] + ':t' + _0x306c88['threadNumber'] : _0x1d42b1[_0x47a6e3(_0x19a620._0x2ea273)] + ':' + _0x306c88[_0x47a6e3(0x152)];
|
|
1732
|
+
let _0x3bc67c;
|
|
1743
1733
|
try {
|
|
1744
|
-
const
|
|
1745
|
-
'channel':
|
|
1734
|
+
const _0x36766c = await _0x504396['client'][_0x47a6e3(0x18f)]({
|
|
1735
|
+
'channel': _0x3d3d03,
|
|
1746
1736
|
'limit': 0x14
|
|
1747
1737
|
});
|
|
1748
|
-
|
|
1738
|
+
_0x3bc67c = _0x36766c[_0x47a6e3(_0x19a620._0x3d811d)][_0x47a6e3(0x289)](_0x36f23f => _0x36f23f[_0x47a6e3(0x152)] === _0x306c88[_0x47a6e3(0x152)]);
|
|
1749
1739
|
} catch {
|
|
1750
|
-
|
|
1740
|
+
_0x3bc67c = void 0x0;
|
|
1751
1741
|
}
|
|
1752
|
-
const
|
|
1753
|
-
|
|
1742
|
+
const _0x48a88b = _0x306c88[_0x47a6e3(_0x19a620._0x239c46)] == null ? _0x47a6e3(0x199) : '#' + _0x306c88[_0x47a6e3(0x15b)], _0x4b8ebd = [
|
|
1743
|
+
'[target=' + _0x3d3d03 + _0x47a6e3(_0x19a620._0x2f39c0) + _0x306c88[_0x47a6e3(_0x19a620._0x646bcf)][_0x47a6e3(0x294)](0x0, 0x8) + _0x47a6e3(_0x19a620._0x4d556c) + new Date()[_0x47a6e3(0x1d9)]() + ']\x20@system:\x20[claim-handoff]\x20' + _0x48a88b + _0x47a6e3(0x2b4),
|
|
1754
1744
|
'',
|
|
1755
|
-
|
|
1745
|
+
_0x3bc67c ? _0x47a6e3(0x298) + _0x3bc67c['content'] : 'Root\x20task\x20message\x20id:\x20' + _0x306c88[_0x47a6e3(_0x19a620._0x646bcf)],
|
|
1756
1746
|
'',
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
][
|
|
1760
|
-
'method':
|
|
1761
|
-
'headers': { 'Content-Type':
|
|
1762
|
-
'body': JSON[
|
|
1763
|
-
'agent_id':
|
|
1764
|
-
'thread_target':
|
|
1747
|
+
_0x47a6e3(_0x19a620._0x746522) + _0x3d3d03,
|
|
1748
|
+
_0x47a6e3(0x24d)
|
|
1749
|
+
][_0x47a6e3(_0x19a620._0x1494ef)]('\x0a'), _0x36d75d = await fetch(_0x504396[_0x47a6e3(0x188)] + _0x47a6e3(_0x19a620._0x598895), {
|
|
1750
|
+
'method': _0x47a6e3(0x1ce),
|
|
1751
|
+
'headers': { 'Content-Type': _0x47a6e3(_0x19a620._0xed1f4b) },
|
|
1752
|
+
'body': JSON['stringify']({
|
|
1753
|
+
'agent_id': _0x504396[_0x47a6e3(0x1a3)],
|
|
1754
|
+
'thread_target': _0x3d3d03,
|
|
1765
1755
|
'spawn_packet': {
|
|
1766
|
-
'replyTarget':
|
|
1767
|
-
...
|
|
1756
|
+
'replyTarget': _0x3d3d03,
|
|
1757
|
+
..._0x306c88[_0x47a6e3(0x2b9)] ? { 'taskId': _0x306c88[_0x47a6e3(_0x19a620._0x5c66d2)] } : _0x306c88[_0x47a6e3(0x15b)] != null ? { 'taskId': _0x47a6e3(_0x19a620._0xae01d) + _0x306c88[_0x47a6e3(0x15b)] } : {}
|
|
1768
1758
|
},
|
|
1769
1759
|
'payload': {
|
|
1770
|
-
'mode':
|
|
1771
|
-
'text':
|
|
1760
|
+
'mode': _0x47a6e3(_0x19a620._0x1a03b8),
|
|
1761
|
+
'text': _0x4b8ebd
|
|
1772
1762
|
}
|
|
1773
1763
|
})
|
|
1774
|
-
}),
|
|
1775
|
-
if (!
|
|
1776
|
-
throw new Error(
|
|
1764
|
+
}), _0x3d0371 = await _0x36d75d[_0x47a6e3(0x27b)]();
|
|
1765
|
+
if (!_0x3d0371['ok'])
|
|
1766
|
+
throw new Error(_0x3d0371['error'] ?? _0x47a6e3(_0x19a620._0x51ad41));
|
|
1777
1767
|
return {
|
|
1778
1768
|
'stopMain': !![],
|
|
1779
|
-
'threadTarget':
|
|
1780
|
-
'workerDisposition':
|
|
1769
|
+
'threadTarget': _0x3d3d03,
|
|
1770
|
+
'workerDisposition': _0x3d0371[_0x47a6e3(0x1c4)] === _0x47a6e3(0x223) ? _0x47a6e3(_0x19a620._0x40b744) : _0x47a6e3(_0x19a620._0xa7f08b),
|
|
1781
1771
|
'workerHandoff': !![],
|
|
1782
|
-
'workerSessionId':
|
|
1783
|
-
'executionMode':
|
|
1772
|
+
'workerSessionId': _0x3d0371['worker_session_id'] ?? '',
|
|
1773
|
+
'executionMode': _0x47a6e3(0x28a)
|
|
1784
1774
|
};
|
|
1785
1775
|
}
|
|
1786
|
-
async function
|
|
1787
|
-
const
|
|
1788
|
-
if (!
|
|
1776
|
+
async function _0x3de606() {
|
|
1777
|
+
const _0x364737 = _0x575b;
|
|
1778
|
+
if (!_0x504396[_0x364737(0x188)] || !_0x504396[_0x364737(_0x553b61._0x470f3f)] || _0x504396['workerMode'])
|
|
1789
1779
|
return null;
|
|
1790
1780
|
try {
|
|
1791
|
-
const
|
|
1792
|
-
if (!
|
|
1781
|
+
const _0x1ca8c4 = await fetch(_0x504396[_0x364737(0x188)] + '/workers/list?agent_id=' + encodeURIComponent(_0x504396[_0x364737(_0x553b61._0x470f3f)])), _0x34595c = await _0x1ca8c4[_0x364737(0x27b)]();
|
|
1782
|
+
if (!_0x34595c['ok'])
|
|
1793
1783
|
return null;
|
|
1794
|
-
const
|
|
1795
|
-
for (const
|
|
1796
|
-
|
|
1784
|
+
const _0x5c66d9 = new Set();
|
|
1785
|
+
for (const _0x3884e6 of _0x34595c['workers']) {
|
|
1786
|
+
_0x3884e6[_0x364737(0x291)] !== _0x364737(_0x553b61._0x5cdde0) && _0x3884e6[_0x364737(_0x553b61._0x19d8b9)] && _0x5c66d9[_0x364737(_0x553b61._0x3f8b10)](_0x3884e6[_0x364737(0x189)]);
|
|
1797
1787
|
}
|
|
1798
|
-
return
|
|
1788
|
+
return _0x5c66d9[_0x364737(_0x553b61._0x2f06b0)] > 0x0 ? _0x5c66d9 : null;
|
|
1799
1789
|
} catch {
|
|
1800
1790
|
return null;
|
|
1801
1791
|
}
|
|
1802
1792
|
}
|
|
1803
|
-
const
|
|
1804
|
-
|
|
1805
|
-
|
|
1793
|
+
const _0x936a9f = new Set([
|
|
1794
|
+
_0x22c4c7(0x23e),
|
|
1795
|
+
'idle',
|
|
1806
1796
|
'waiting_input'
|
|
1807
1797
|
]);
|
|
1808
|
-
async function
|
|
1809
|
-
const
|
|
1810
|
-
if (!
|
|
1798
|
+
async function _0x1aa4b8() {
|
|
1799
|
+
const _0x25bde1 = _0x22c4c7;
|
|
1800
|
+
if (!_0x504396[_0x25bde1(_0x47327a._0xbc86)] || !_0x504396['agentId'] || _0x504396[_0x25bde1(_0x47327a._0x5a4f3d)])
|
|
1811
1801
|
return null;
|
|
1812
1802
|
try {
|
|
1813
|
-
const
|
|
1814
|
-
if (!
|
|
1803
|
+
const _0x43e78e = await fetch(_0x504396[_0x25bde1(0x188)] + _0x25bde1(_0x47327a._0x5ec0d9) + encodeURIComponent(_0x504396['agentId'])), _0x440928 = await _0x43e78e['json']();
|
|
1804
|
+
if (!_0x440928['ok'])
|
|
1815
1805
|
return null;
|
|
1816
|
-
const
|
|
1817
|
-
for (const
|
|
1818
|
-
|
|
1806
|
+
const _0x21b424 = new Set();
|
|
1807
|
+
for (const _0x5423c3 of _0x440928['workers']) {
|
|
1808
|
+
_0x936a9f[_0x25bde1(0x1c0)](_0x5423c3[_0x25bde1(0x291)]) && _0x5423c3[_0x25bde1(_0x47327a._0x4a7c75)] && _0x21b424[_0x25bde1(0x1d3)](_0x5423c3['thread_target']);
|
|
1819
1809
|
}
|
|
1820
|
-
return
|
|
1810
|
+
return _0x21b424[_0x25bde1(_0x47327a._0x93ec29)] > 0x0 ? _0x21b424 : null;
|
|
1821
1811
|
} catch {
|
|
1822
1812
|
return null;
|
|
1823
1813
|
}
|
|
1824
1814
|
}
|
|
1825
1815
|
return {
|
|
1826
|
-
async 'send_message'(
|
|
1827
|
-
const
|
|
1828
|
-
if (!
|
|
1829
|
-
const
|
|
1830
|
-
if (
|
|
1831
|
-
const
|
|
1832
|
-
if (
|
|
1816
|
+
async 'send_message'(_0x38276a) {
|
|
1817
|
+
const _0x1459a5 = _0x22c4c7;
|
|
1818
|
+
if (!_0x504396[_0x1459a5(_0x284cae._0x25008c)] && _0x504396[_0x1459a5(_0x284cae._0x21c65f)] && _0x504396[_0x1459a5(_0x284cae._0x16e12b)] && _0x504396[_0x1459a5(_0x284cae._0x38a81e)]) {
|
|
1819
|
+
const _0xae9e12 = await _0x504396['client']['resolveTarget'](_0x38276a[_0x1459a5(_0x284cae._0x1be9fc)]);
|
|
1820
|
+
if (_0xae9e12[_0x1459a5(_0x284cae._0x319efb)] && _0xae9e12[_0x1459a5(0x257)]) {
|
|
1821
|
+
const _0x2ac259 = _0xae9e12[_0x1459a5(0x27a)][_0x1459a5(_0x284cae._0x672126)] != null ? '#' + _0xae9e12[_0x1459a5(0x27a)]['taskNumber'] : '(legacy)', _0x353a39 = _0xae9e12['threadNumber'] != null ? _0xae9e12['target'] + ':t' + _0xae9e12['threadNumber'] : _0xae9e12[_0x1459a5(0x16a)] + ':' + _0xae9e12[_0x1459a5(0x257)][_0x1459a5(0x294)](0x0, 0x8), _0x2e8fef = await _0x1aa4b8();
|
|
1822
|
+
if (_0x2e8fef?.[_0x1459a5(0x1c0)](_0x353a39))
|
|
1833
1823
|
return [
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
][
|
|
1837
|
-
const
|
|
1838
|
-
|
|
1824
|
+
_0x1459a5(0x15f) + _0x2ac259 + _0x1459a5(_0x284cae._0x23273d) + _0x353a39 + _0x1459a5(0x1a4),
|
|
1825
|
+
_0x1459a5(_0x284cae._0x8f3a04)
|
|
1826
|
+
][_0x1459a5(_0x284cae._0x330321)]('\x0a');
|
|
1827
|
+
const _0x1272c9 = [
|
|
1828
|
+
_0x1459a5(_0x284cae._0x3d0c2a) + _0x353a39 + _0x1459a5(_0x284cae._0x9cdabd) + new Date()[_0x1459a5(0x1d9)]() + ']\x20@system:\x20[enter-handoff]',
|
|
1839
1829
|
'',
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
][
|
|
1845
|
-
'method':
|
|
1846
|
-
'headers': { 'Content-Type':
|
|
1847
|
-
'body': JSON[
|
|
1848
|
-
'agent_id':
|
|
1849
|
-
'thread_target':
|
|
1830
|
+
_0x1459a5(_0x284cae._0x27daa6) + _0x38276a[_0x1459a5(0x15a)],
|
|
1831
|
+
'Task:\x20' + _0x2ac259 + '\x20(' + _0xae9e12[_0x1459a5(_0x284cae._0x5744f7)][_0x1459a5(_0x284cae._0x28415a)] + ')',
|
|
1832
|
+
_0x1459a5(_0x284cae._0x41b90a) + _0x353a39,
|
|
1833
|
+
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1834
|
+
][_0x1459a5(0x18e)]('\x0a'), _0x4c6c54 = await fetch(_0x504396['daemonLocalUrl'] + '/workers/deliver', {
|
|
1835
|
+
'method': 'POST',
|
|
1836
|
+
'headers': { 'Content-Type': _0x1459a5(0x1b2) },
|
|
1837
|
+
'body': JSON[_0x1459a5(_0x284cae._0x30944f)]({
|
|
1838
|
+
'agent_id': _0x504396[_0x1459a5(_0x284cae._0x5b23f6)],
|
|
1839
|
+
'thread_target': _0x353a39,
|
|
1850
1840
|
'spawn_packet': {
|
|
1851
|
-
'replyTarget':
|
|
1852
|
-
'taskId':
|
|
1841
|
+
'replyTarget': _0x353a39,
|
|
1842
|
+
'taskId': _0xae9e12[_0x1459a5(0x27a)]['taskId']
|
|
1853
1843
|
},
|
|
1854
1844
|
'payload': {
|
|
1855
|
-
'mode':
|
|
1856
|
-
'text':
|
|
1845
|
+
'mode': _0x1459a5(_0x284cae._0x4aec29),
|
|
1846
|
+
'text': _0x1272c9
|
|
1857
1847
|
}
|
|
1858
1848
|
})
|
|
1859
|
-
}),
|
|
1860
|
-
if (!
|
|
1861
|
-
throw new Error(
|
|
1849
|
+
}), _0x36a84f = await _0x4c6c54[_0x1459a5(_0x284cae._0x46f007)]();
|
|
1850
|
+
if (!_0x36a84f['ok'])
|
|
1851
|
+
throw new Error(_0x36a84f['error'] ?? 'enter-handoff\x20failed');
|
|
1862
1852
|
return [
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
][
|
|
1853
|
+
_0x1459a5(_0x284cae._0x5c9746) + _0x2ac259 + _0x1459a5(_0x284cae._0x23273d) + _0x353a39 + _0x1459a5(0x203),
|
|
1854
|
+
_0x1459a5(0x210) + (_0x36a84f[_0x1459a5(_0x284cae._0x51819c)] === 'queued' ? _0x1459a5(_0x284cae._0x7f33d4) : _0x1459a5(_0x284cae._0x50b0f7)) + '.',
|
|
1855
|
+
_0x1459a5(0x268)
|
|
1856
|
+
][_0x1459a5(_0x284cae._0x330321)]('\x0a');
|
|
1867
1857
|
}
|
|
1868
1858
|
}
|
|
1869
|
-
const
|
|
1870
|
-
'attachmentIds':
|
|
1871
|
-
'content':
|
|
1872
|
-
'target':
|
|
1873
|
-
'visibility':
|
|
1859
|
+
const _0x3de6a6 = await _0x504396['client'][_0x1459a5(_0x284cae._0x1c30f6)]({
|
|
1860
|
+
'attachmentIds': _0x38276a[_0x1459a5(0x209)],
|
|
1861
|
+
'content': _0x38276a[_0x1459a5(0x15a)],
|
|
1862
|
+
'target': _0x38276a[_0x1459a5(_0x284cae._0x1be9fc)],
|
|
1863
|
+
'visibility': _0x38276a[_0x1459a5(0x156)]
|
|
1874
1864
|
});
|
|
1875
|
-
return
|
|
1865
|
+
return 'Message\x20sent\x20to\x20' + _0x38276a['target'] + _0x1459a5(0x1b8) + _0x3de6a6[_0x1459a5(0x152)];
|
|
1876
1866
|
},
|
|
1877
1867
|
async 'check_messages'() {
|
|
1878
|
-
const
|
|
1879
|
-
if (!
|
|
1880
|
-
const
|
|
1881
|
-
if (
|
|
1882
|
-
return formatCheckMessages(
|
|
1868
|
+
const _0x4407f8 = _0x22c4c7, _0x536602 = await _0x504396[_0x4407f8(_0x34975c._0x1c59b6)]['checkMessages']();
|
|
1869
|
+
if (!_0x504396['workerMode']) {
|
|
1870
|
+
const _0x25fc18 = await _0x3de606();
|
|
1871
|
+
if (_0x25fc18)
|
|
1872
|
+
return formatCheckMessages(_0x536602[_0x4407f8(0x173)][_0x4407f8(_0x34975c._0x486253)](_0x509d0a => !_0x25fc18[_0x4407f8(0x1c0)](_0x509d0a[_0x4407f8(0x16a)])));
|
|
1883
1873
|
}
|
|
1884
|
-
return formatCheckMessages(
|
|
1874
|
+
return formatCheckMessages(_0x536602[_0x4407f8(_0x34975c._0x302640)]);
|
|
1885
1875
|
},
|
|
1886
|
-
async 'read_history'(
|
|
1887
|
-
const
|
|
1888
|
-
return formatHistory(
|
|
1876
|
+
async 'read_history'(_0x2d859c) {
|
|
1877
|
+
const _0x5eb75d = _0x22c4c7, _0x28925a = await _0x504396[_0x5eb75d(_0x15ab0f._0x1651ba)][_0x5eb75d(_0x15ab0f._0x31417d)](_0x2d859c);
|
|
1878
|
+
return formatHistory(_0x28925a);
|
|
1889
1879
|
},
|
|
1890
1880
|
async 'list_server'() {
|
|
1891
|
-
const
|
|
1892
|
-
return formatServerDirectory(
|
|
1881
|
+
const _0x1200b4 = _0x22c4c7, _0x31a7e7 = await _0x504396[_0x1200b4(0x2a5)][_0x1200b4(_0x3dce4c._0x438d8a)]();
|
|
1882
|
+
return formatServerDirectory(_0x31a7e7);
|
|
1893
1883
|
},
|
|
1894
|
-
async 'list_tasks'(
|
|
1895
|
-
const
|
|
1896
|
-
let
|
|
1897
|
-
if (
|
|
1884
|
+
async 'list_tasks'(_0x5560bc) {
|
|
1885
|
+
const _0x49c48b = _0x22c4c7, _0xd60775 = await _0x504396[_0x49c48b(_0x13ff9c._0x44cb49)][_0x49c48b(0x20f)](_0x5560bc);
|
|
1886
|
+
let _0x5ef0e3;
|
|
1887
|
+
if (_0x504396[_0x49c48b(0x188)] && _0x504396[_0x49c48b(0x1a3)])
|
|
1898
1888
|
try {
|
|
1899
|
-
const
|
|
1900
|
-
if (
|
|
1901
|
-
const
|
|
1902
|
-
|
|
1903
|
-
for (const
|
|
1904
|
-
if (
|
|
1889
|
+
const _0x25bdb0 = await fetch(_0x504396[_0x49c48b(0x188)] + _0x49c48b(_0x13ff9c._0x5e9868) + encodeURIComponent(_0x504396[_0x49c48b(_0x13ff9c._0x47ff55)])), _0x21e493 = await _0x25bdb0['json']();
|
|
1890
|
+
if (_0x21e493['ok']) {
|
|
1891
|
+
const _0x80cbf2 = _0x5560bc[_0x49c48b(_0x13ff9c._0x23c63b)] + ':';
|
|
1892
|
+
_0x5ef0e3 = new Set();
|
|
1893
|
+
for (const _0xac7f9a of _0x21e493[_0x49c48b(_0x13ff9c._0x134db8)]) {
|
|
1894
|
+
if (_0xac7f9a[_0x49c48b(0x291)] === _0x49c48b(0x21a))
|
|
1905
1895
|
continue;
|
|
1906
|
-
if (
|
|
1907
|
-
const
|
|
1908
|
-
if (
|
|
1909
|
-
|
|
1896
|
+
if (_0xac7f9a[_0x49c48b(0x189)]?.[_0x49c48b(0x162)](_0x80cbf2)) {
|
|
1897
|
+
const _0x3cbdfd = _0xac7f9a[_0x49c48b(_0x13ff9c._0x47678f)][_0x49c48b(_0x13ff9c._0x242d67)](_0x80cbf2['length']), _0x34f61e = _0xd60775[_0x49c48b(_0x13ff9c._0x1d583f)][_0x49c48b(_0x13ff9c._0x2029c7)](_0x142975 => _0x142975[_0x49c48b(0x152)]?.[_0x49c48b(0x162)](_0x3cbdfd) === !![]);
|
|
1898
|
+
if (_0x34f61e?.[_0x49c48b(_0x13ff9c._0xe5a656)] != null) {
|
|
1899
|
+
_0x5ef0e3['add'](_0x34f61e[_0x49c48b(_0x13ff9c._0xe5a656)]);
|
|
1910
1900
|
continue;
|
|
1911
1901
|
}
|
|
1912
1902
|
}
|
|
1913
|
-
if (
|
|
1914
|
-
const
|
|
1915
|
-
|
|
1903
|
+
if (_0xac7f9a[_0x49c48b(_0x13ff9c._0x2f35c9)]) {
|
|
1904
|
+
const _0x584593 = _0xd60775[_0x49c48b(_0x13ff9c._0x1d583f)]['find'](_0x43e420 => _0x43e420[_0x49c48b(0x2b9)] === _0xac7f9a[_0x49c48b(0x25d)]);
|
|
1905
|
+
_0x584593?.[_0x49c48b(0x15b)] != null && _0x5ef0e3['add'](_0x584593[_0x49c48b(_0x13ff9c._0x2c9827)]);
|
|
1916
1906
|
}
|
|
1917
1907
|
}
|
|
1918
1908
|
}
|
|
1919
1909
|
} catch {
|
|
1920
1910
|
}
|
|
1921
|
-
return formatTaskList(
|
|
1911
|
+
return formatTaskList(_0xd60775['tasks'], _0x5ef0e3);
|
|
1922
1912
|
},
|
|
1923
|
-
async 'create_tasks'(
|
|
1924
|
-
const
|
|
1925
|
-
|
|
1926
|
-
const
|
|
1927
|
-
return formatCreatedTasks(
|
|
1913
|
+
async 'create_tasks'(_0x10380b) {
|
|
1914
|
+
const _0x35ced2 = _0x22c4c7;
|
|
1915
|
+
_0x342923(_0x35ced2(_0x35fab4._0x2261df), _0x10380b[_0x35ced2(0x237)]);
|
|
1916
|
+
const _0x38d8a0 = await _0x504396['client'][_0x35ced2(_0x35fab4._0x4c9bef)](_0x10380b);
|
|
1917
|
+
return formatCreatedTasks(_0x38d8a0['tasks']);
|
|
1928
1918
|
},
|
|
1929
|
-
async 'claim_tasks'(
|
|
1930
|
-
const
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1919
|
+
async 'claim_tasks'(_0x448bab) {
|
|
1920
|
+
const _0x2574db = {
|
|
1921
|
+
_0x53bcf9: 0x1e2,
|
|
1922
|
+
_0x492e9a: 0x25a
|
|
1923
|
+
}, _0x8d640d = _0x22c4c7;
|
|
1924
|
+
if (_0x504396[_0x8d640d(0x17f)]) {
|
|
1925
|
+
_0x342923(_0x8d640d(_0x319145._0x54b4da), _0x448bab[_0x8d640d(_0x319145._0x104294)]);
|
|
1926
|
+
if (_0x448bab[_0x8d640d(0x2b3)] && _0x448bab[_0x8d640d(0x2b3)][_0x8d640d(0x2bd)] > 0x0)
|
|
1927
|
+
throw new Error(_0x8d640d(_0x319145._0x4afcbe));
|
|
1928
|
+
if (!_0x448bab[_0x8d640d(_0x319145._0x4307e2)] || _0x448bab[_0x8d640d(0x232)][_0x8d640d(0x2bd)] === 0x0)
|
|
1929
|
+
throw new Error(_0x8d640d(0x19a));
|
|
1937
1930
|
}
|
|
1938
|
-
const
|
|
1939
|
-
const
|
|
1940
|
-
if (!
|
|
1941
|
-
return
|
|
1931
|
+
const _0x1dffc9 = await _0x504396[_0x8d640d(0x2a5)]['claimTasks'](_0x448bab), _0x35a06e = await Promise[_0x8d640d(0x25e)](_0x1dffc9[_0x8d640d(0x1bc)]['map'](async _0x4ac6bb => {
|
|
1932
|
+
const _0x187e28 = _0x8d640d;
|
|
1933
|
+
if (!_0x4ac6bb['success'] || !_0x4ac6bb['messageId'])
|
|
1934
|
+
return _0x4ac6bb;
|
|
1942
1935
|
try {
|
|
1943
|
-
const
|
|
1944
|
-
'channel':
|
|
1945
|
-
'messageId':
|
|
1946
|
-
'taskId':
|
|
1947
|
-
'taskNumber':
|
|
1948
|
-
'threadNumber':
|
|
1936
|
+
const _0x212930 = await _0x4aa532({
|
|
1937
|
+
'channel': _0x448bab['channel'],
|
|
1938
|
+
'messageId': _0x4ac6bb[_0x187e28(0x152)],
|
|
1939
|
+
'taskId': _0x4ac6bb[_0x187e28(0x2b9)],
|
|
1940
|
+
'taskNumber': _0x4ac6bb[_0x187e28(0x15b)],
|
|
1941
|
+
'threadNumber': _0x4ac6bb[_0x187e28(_0x2574db._0x53bcf9)]
|
|
1949
1942
|
});
|
|
1950
|
-
return
|
|
1951
|
-
...
|
|
1952
|
-
...
|
|
1953
|
-
} :
|
|
1954
|
-
} catch (
|
|
1943
|
+
return _0x212930 ? {
|
|
1944
|
+
..._0x4ac6bb,
|
|
1945
|
+
..._0x212930
|
|
1946
|
+
} : _0x4ac6bb;
|
|
1947
|
+
} catch (_0x4e035b) {
|
|
1955
1948
|
return {
|
|
1956
|
-
...
|
|
1957
|
-
'workerHandoffError':
|
|
1949
|
+
..._0x4ac6bb,
|
|
1950
|
+
'workerHandoffError': _0x4e035b instanceof Error ? _0x4e035b[_0x187e28(0x1c3)] : _0x187e28(_0x2574db._0x492e9a)
|
|
1958
1951
|
};
|
|
1959
1952
|
}
|
|
1960
1953
|
}));
|
|
1961
|
-
return formatClaimTaskResults(
|
|
1954
|
+
return formatClaimTaskResults(_0x35a06e);
|
|
1962
1955
|
},
|
|
1963
|
-
async 'unclaim_task'(
|
|
1964
|
-
const
|
|
1965
|
-
if (
|
|
1966
|
-
|
|
1967
|
-
if (
|
|
1968
|
-
throw new Error(
|
|
1956
|
+
async 'unclaim_task'(_0x26a39c) {
|
|
1957
|
+
const _0x170259 = _0x22c4c7;
|
|
1958
|
+
if (_0x504396[_0x170259(_0x4d7067._0x2e0596)]) {
|
|
1959
|
+
_0x342923('unclaim_task', _0x26a39c[_0x170259(_0x4d7067._0x2a7f50)]);
|
|
1960
|
+
if (_0x26a39c['subtask_number'] == null)
|
|
1961
|
+
throw new Error(_0x170259(0x21b));
|
|
1969
1962
|
}
|
|
1970
|
-
const
|
|
1971
|
-
return formatUnclaimTaskResult(
|
|
1963
|
+
const _0x4f5278 = await _0x504396[_0x170259(0x2a5)][_0x170259(0x1fb)](_0x26a39c);
|
|
1964
|
+
return formatUnclaimTaskResult(_0x4f5278);
|
|
1972
1965
|
},
|
|
1973
|
-
async 'update_task_status'(
|
|
1974
|
-
const
|
|
1975
|
-
|
|
1976
|
-
const
|
|
1977
|
-
return formatUpdateTaskStatusResult(
|
|
1966
|
+
async 'update_task_status'(_0x1f17a8) {
|
|
1967
|
+
const _0x48710f = _0x22c4c7;
|
|
1968
|
+
_0x342923(_0x48710f(0x2b2), _0x1f17a8[_0x48710f(_0x4835f8._0x5b8e97)]);
|
|
1969
|
+
const _0x43fe16 = await _0x504396[_0x48710f(0x2a5)][_0x48710f(0x165)](_0x1f17a8);
|
|
1970
|
+
return formatUpdateTaskStatusResult(_0x43fe16);
|
|
1978
1971
|
},
|
|
1979
|
-
async 'upload_file'(
|
|
1980
|
-
const
|
|
1981
|
-
sizeBytes:
|
|
1982
|
-
...
|
|
1983
|
-
} =
|
|
1984
|
-
'channel':
|
|
1985
|
-
...
|
|
1972
|
+
async 'upload_file'(_0x3aa54c) {
|
|
1973
|
+
const _0x479ee3 = _0x22c4c7, _0x2c308d = await _0x504396['uploadPreparer'](_0x3aa54c[_0x479ee3(0x24a)]), {
|
|
1974
|
+
sizeBytes: _0x1f4aad,
|
|
1975
|
+
..._0x236df8
|
|
1976
|
+
} = _0x2c308d, _0x3f75b8 = await _0x504396[_0x479ee3(_0x40f82e._0x40a08f)][_0x479ee3(_0x40f82e._0x3f7e36)]({
|
|
1977
|
+
'channel': _0x3aa54c['channel'],
|
|
1978
|
+
..._0x236df8
|
|
1986
1979
|
});
|
|
1987
|
-
return formatUploadResult(
|
|
1980
|
+
return formatUploadResult(_0x3f75b8);
|
|
1988
1981
|
},
|
|
1989
|
-
async 'view_file'(
|
|
1990
|
-
const
|
|
1991
|
-
if (
|
|
1992
|
-
return formatViewFileResult(
|
|
1993
|
-
const
|
|
1994
|
-
'attachmentId':
|
|
1995
|
-
'contentType':
|
|
1996
|
-
'data':
|
|
1997
|
-
'originalFilename':
|
|
1982
|
+
async 'view_file'(_0xc0c9a1) {
|
|
1983
|
+
const _0x2af903 = _0x22c4c7, _0x42544b = await _0x504396[_0x2af903(0x29f)][_0x2af903(0x212)](_0xc0c9a1['attachment_id']);
|
|
1984
|
+
if (_0x42544b)
|
|
1985
|
+
return formatViewFileResult(_0x42544b, !![]);
|
|
1986
|
+
const _0x1fdf12 = await _0x504396[_0x2af903(0x2a5)][_0x2af903(0x256)](_0xc0c9a1[_0x2af903(0x293)]), _0x2976f9 = await _0x504396[_0x2af903(_0x119e0f._0x114bee)][_0x2af903(0x214)]({
|
|
1987
|
+
'attachmentId': _0xc0c9a1[_0x2af903(_0x119e0f._0x29c0bd)],
|
|
1988
|
+
'contentType': _0x1fdf12[_0x2af903(0x16e)],
|
|
1989
|
+
'data': _0x1fdf12[_0x2af903(0x28f)],
|
|
1990
|
+
'originalFilename': _0x1fdf12[_0x2af903(0x2a4)]
|
|
1998
1991
|
});
|
|
1999
|
-
return formatViewFileResult(
|
|
1992
|
+
return formatViewFileResult(_0x2976f9, ![]);
|
|
2000
1993
|
},
|
|
2001
|
-
async 'get_worker_status'(
|
|
2002
|
-
const
|
|
2003
|
-
if (!
|
|
2004
|
-
return
|
|
2005
|
-
const
|
|
2006
|
-
if (!
|
|
2007
|
-
return
|
|
2008
|
-
return
|
|
1994
|
+
async 'get_worker_status'(_0x3d1dfb) {
|
|
1995
|
+
const _0x37ec40 = _0x22c4c7;
|
|
1996
|
+
if (!_0x504396[_0x37ec40(0x188)])
|
|
1997
|
+
return _0x37ec40(0x177);
|
|
1998
|
+
const _0x28084d = await fetch(_0x504396[_0x37ec40(0x188)] + _0x37ec40(0x1f5) + encodeURIComponent(_0x3d1dfb[_0x37ec40(_0x2d6c1d._0x4357c3)])), _0x2c694a = await _0x28084d['json']();
|
|
1999
|
+
if (!_0x2c694a['ok'])
|
|
2000
|
+
return _0x37ec40(_0x2d6c1d._0x2bca55) + _0x3d1dfb[_0x37ec40(0x221)] + '\x22\x20not\x20found';
|
|
2001
|
+
return _0x37ec40(0x26e) + _0x3d1dfb[_0x37ec40(0x221)] + '\x22:\x20status=' + _0x2c694a[_0x37ec40(_0x2d6c1d._0x6a9b43)];
|
|
2009
2002
|
},
|
|
2010
|
-
async 'park_worker'(
|
|
2011
|
-
const
|
|
2012
|
-
if (!
|
|
2013
|
-
return
|
|
2014
|
-
const
|
|
2015
|
-
'method':
|
|
2016
|
-
'headers': { 'Content-Type':
|
|
2017
|
-
'body': JSON[
|
|
2018
|
-
}),
|
|
2019
|
-
if (!
|
|
2020
|
-
throw new Error(
|
|
2021
|
-
return
|
|
2003
|
+
async 'park_worker'(_0x1e17de) {
|
|
2004
|
+
const _0x300e54 = _0x22c4c7;
|
|
2005
|
+
if (!_0x504396['daemonLocalUrl'])
|
|
2006
|
+
return 'Worker\x20features\x20not\x20available';
|
|
2007
|
+
const _0x4eafce = await fetch(_0x504396[_0x300e54(_0x24c3f7._0x3469d0)] + _0x300e54(0x249), {
|
|
2008
|
+
'method': _0x300e54(_0x24c3f7._0x3c1a47),
|
|
2009
|
+
'headers': { 'Content-Type': _0x300e54(0x1b2) },
|
|
2010
|
+
'body': JSON['stringify']({ 'work_key': _0x1e17de['work_key'] })
|
|
2011
|
+
}), _0x538b99 = await _0x4eafce[_0x300e54(_0x24c3f7._0x81954a)]();
|
|
2012
|
+
if (!_0x538b99['ok'])
|
|
2013
|
+
throw new Error(_0x538b99[_0x300e54(_0x24c3f7._0x6682d)] ?? 'park_worker\x20failed');
|
|
2014
|
+
return _0x300e54(0x26e) + _0x1e17de[_0x300e54(0x221)] + _0x300e54(_0x24c3f7._0x3757a6);
|
|
2022
2015
|
},
|
|
2023
|
-
async 'mark_waiting_input'(
|
|
2024
|
-
const
|
|
2025
|
-
if (!
|
|
2026
|
-
return
|
|
2027
|
-
const
|
|
2016
|
+
async 'mark_waiting_input'(_0xe4ad08) {
|
|
2017
|
+
const _0x26baad = _0x22c4c7;
|
|
2018
|
+
if (!_0x504396[_0x26baad(_0x2fdcf0._0x1fb6bb)] || !_0x504396['agentId'])
|
|
2019
|
+
return _0x26baad(0x1ff);
|
|
2020
|
+
const _0x5197e3 = await fetch(_0x504396[_0x26baad(0x188)] + _0x26baad(0x20a), {
|
|
2028
2021
|
'method': 'POST',
|
|
2029
|
-
'headers': { 'Content-Type':
|
|
2030
|
-
'body': JSON[
|
|
2031
|
-
'work_key':
|
|
2032
|
-
'agent_id':
|
|
2022
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2023
|
+
'body': JSON[_0x26baad(_0x2fdcf0._0x257c06)]({
|
|
2024
|
+
'work_key': _0xe4ad08[_0x26baad(0x221)],
|
|
2025
|
+
'agent_id': _0x504396[_0x26baad(0x1a3)]
|
|
2033
2026
|
})
|
|
2034
|
-
}),
|
|
2035
|
-
if (!
|
|
2036
|
-
throw new Error(
|
|
2037
|
-
return
|
|
2027
|
+
}), _0x35522c = await _0x5197e3['json']();
|
|
2028
|
+
if (!_0x35522c['ok'])
|
|
2029
|
+
throw new Error(_0x35522c['error'] ?? _0x26baad(0x20e));
|
|
2030
|
+
return _0x26baad(0x26e) + _0xe4ad08[_0x26baad(_0x2fdcf0._0x13e322)] + '\x22\x20marked\x20as\x20waiting_input.\x20TTL\x20timer\x20paused\x20until\x20next\x20message\x20arrives.';
|
|
2038
2031
|
},
|
|
2039
|
-
async 'escalate_to_main'(
|
|
2040
|
-
const
|
|
2041
|
-
if (!
|
|
2042
|
-
return
|
|
2043
|
-
const
|
|
2044
|
-
'method':
|
|
2045
|
-
'headers': { 'Content-Type':
|
|
2046
|
-
'body': JSON[
|
|
2047
|
-
'work_key':
|
|
2048
|
-
'reason':
|
|
2032
|
+
async 'escalate_to_main'(_0x4ac236) {
|
|
2033
|
+
const _0x4183f6 = _0x22c4c7;
|
|
2034
|
+
if (!_0x504396[_0x4183f6(_0x43f96e._0x3a2bfa)])
|
|
2035
|
+
return 'Worker\x20features\x20not\x20available';
|
|
2036
|
+
const _0xb83014 = await fetch(_0x504396[_0x4183f6(0x188)] + '/workers/escalate', {
|
|
2037
|
+
'method': _0x4183f6(_0x43f96e._0x325e7e),
|
|
2038
|
+
'headers': { 'Content-Type': _0x4183f6(0x1b2) },
|
|
2039
|
+
'body': JSON['stringify']({
|
|
2040
|
+
'work_key': _0x4ac236[_0x4183f6(0x221)],
|
|
2041
|
+
'reason': _0x4ac236['reason']
|
|
2049
2042
|
})
|
|
2050
|
-
}),
|
|
2051
|
-
if (!
|
|
2052
|
-
throw new Error(
|
|
2053
|
-
return
|
|
2043
|
+
}), _0x5c103c = await _0xb83014[_0x4183f6(0x27b)]();
|
|
2044
|
+
if (!_0x5c103c['ok'])
|
|
2045
|
+
throw new Error(_0x5c103c['error'] ?? _0x4183f6(0x16f));
|
|
2046
|
+
return _0x4183f6(0x1ee) + _0x4ac236['reason'];
|
|
2054
2047
|
}
|
|
2055
2048
|
};
|
|
2056
2049
|
}
|
|
2057
|
-
function textResult(
|
|
2058
|
-
const
|
|
2050
|
+
function textResult(_0x5663b3, _0x2c7a59 = ![]) {
|
|
2051
|
+
const _0x454835 = { _0x52bdfc: 0x217 }, _0x5d1e31 = _0x363898;
|
|
2059
2052
|
return {
|
|
2060
2053
|
'content': [{
|
|
2061
|
-
'type':
|
|
2062
|
-
'text':
|
|
2054
|
+
'type': _0x5d1e31(_0x454835._0x52bdfc),
|
|
2055
|
+
'text': _0x5663b3
|
|
2063
2056
|
}],
|
|
2064
|
-
...
|
|
2057
|
+
..._0x2c7a59 ? { 'isError': !![] } : {}
|
|
2065
2058
|
};
|
|
2066
2059
|
}
|
|
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
|
-
|
|
2060
|
+
async function registerChatBridgeTools(_0x4be081, _0x55635c, _0x48e885) {
|
|
2061
|
+
const _0x25ec70 = {
|
|
2062
|
+
_0x352ab7: 0x2bf,
|
|
2063
|
+
_0x259643: 0x151,
|
|
2064
|
+
_0x198a43: 0x1bb,
|
|
2065
|
+
_0x2fcd99: 0x2a7,
|
|
2066
|
+
_0x135564: 0x208,
|
|
2067
|
+
_0xa30b79: 0x23f,
|
|
2068
|
+
_0x1229e1: 0x250,
|
|
2069
|
+
_0x5218ea: 0x13d,
|
|
2070
|
+
_0x2db60d: 0x1d6,
|
|
2071
|
+
_0x45296b: 0x147,
|
|
2072
|
+
_0x528e39: 0x208,
|
|
2073
|
+
_0x51278c: 0x1f8,
|
|
2074
|
+
_0x1ea7a4: 0x192,
|
|
2075
|
+
_0x333981: 0x17a,
|
|
2076
|
+
_0x5d3411: 0x263,
|
|
2077
|
+
_0x102882: 0x193,
|
|
2078
|
+
_0x3bbfc7: 0x219,
|
|
2079
|
+
_0x152ccf: 0x161,
|
|
2080
|
+
_0x42c3ce: 0x262,
|
|
2081
|
+
_0x49b683: 0x287,
|
|
2082
|
+
_0x241cdc: 0x262,
|
|
2083
|
+
_0x5449f0: 0x262,
|
|
2084
|
+
_0xe29d24: 0x2a7,
|
|
2085
|
+
_0x4fedad: 0x1ad,
|
|
2086
|
+
_0x3b6923: 0x297,
|
|
2087
|
+
_0xab0882: 0x287,
|
|
2088
|
+
_0x2745af: 0x2a7,
|
|
2089
|
+
_0xf19cc8: 0x208,
|
|
2090
|
+
_0x5dfed8: 0x2b2,
|
|
2091
|
+
_0x4a9c2e: 0x287,
|
|
2092
|
+
_0x2c73ca: 0x29c,
|
|
2093
|
+
_0x15dade: 0x204,
|
|
2094
|
+
_0x2515ec: 0x239,
|
|
2095
|
+
_0xc986fe: 0x1d7,
|
|
2096
|
+
_0x3859f5: 0x2a7,
|
|
2097
|
+
_0x38de15: 0x151,
|
|
2098
|
+
_0x32512f: 0x183,
|
|
2099
|
+
_0x288e2a: 0x15c,
|
|
2100
|
+
_0x53a7d5: 0x148,
|
|
2101
|
+
_0x2d6314: 0x2a7,
|
|
2102
|
+
_0x216d36: 0x151,
|
|
2103
|
+
_0x2238c5: 0x2b8
|
|
2104
|
+
}, _0x403f27 = {
|
|
2105
|
+
_0x5870df: 0x2b8,
|
|
2106
|
+
_0x124423: 0x20e
|
|
2107
|
+
}, _0x464358 = { _0x5a3ced: 0x16f }, _0x37b2a8 = { _0x35f392: 0x19b }, _0x496f4c = {
|
|
2108
|
+
_0x29455a: 0x1c3,
|
|
2109
|
+
_0x350dd9: 0x170
|
|
2110
|
+
}, _0x19724a = {
|
|
2111
|
+
_0x294b92: 0x1e6,
|
|
2112
|
+
_0x5ac994: 0x1c3
|
|
2113
|
+
}, _0x328529 = { _0x44bf88: 0x1d7 }, _0x24774d = {
|
|
2114
|
+
_0x1cb270: 0x2b2,
|
|
2115
|
+
_0x52d5c6: 0x24e
|
|
2116
|
+
}, _0x2bdfb7 = { _0xdfd578: 0x1c3 }, _0x2daf23 = { _0x30ced0: 0x1c3 }, _0x1485fe = { _0x565440: 0x1c3 }, _0x590626 = {
|
|
2117
|
+
_0x2b1308: 0x1eb,
|
|
2118
|
+
_0x152bed: 0x1c3
|
|
2119
|
+
}, _0x22644b = { _0x1832f2: 0x1c3 }, _0x40cc47 = _0x363898, {z: _0x1a49b3} = await import(_0x40cc47(_0x25ec70._0x352ab7));
|
|
2120
|
+
_0x4be081[_0x40cc47(_0x25ec70._0x259643)](_0x40cc47(_0x25ec70._0x198a43), 'Send\x20a\x20message.\x20If\x20visibility\x20is\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20visibility:\x20aside\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Outside\x20threads,\x20do\x20not\x20set\x20visibility.\x20Reuse\x20the\x20exact\x20target\x20string\x20from\x20incoming\x20messages.', {
|
|
2121
|
+
'target': _0x1a49b3['string'](),
|
|
2122
|
+
'content': _0x1a49b3['string'](),
|
|
2123
|
+
'attachment_ids': _0x1a49b3[_0x40cc47(0x262)](_0x1a49b3[_0x40cc47(_0x25ec70._0x2fcd99)]())[_0x40cc47(_0x25ec70._0x135564)](),
|
|
2124
|
+
'visibility': _0x1a49b3[_0x40cc47(_0x25ec70._0xa30b79)]([
|
|
2125
|
+
_0x40cc47(_0x25ec70._0x1229e1),
|
|
2126
|
+
_0x40cc47(0x2aa)
|
|
2127
|
+
])[_0x40cc47(0x208)]()[_0x40cc47(_0x25ec70._0x5218ea)](_0x40cc47(_0x25ec70._0x2db60d))
|
|
2128
|
+
}, async _0x3df6e6 => {
|
|
2129
|
+
const _0x1559bd = _0x40cc47;
|
|
2122
2130
|
try {
|
|
2123
|
-
return textResult(await
|
|
2124
|
-
} catch (
|
|
2125
|
-
return textResult(
|
|
2131
|
+
return textResult(await _0x55635c[_0x1559bd(0x1bb)](_0x3df6e6));
|
|
2132
|
+
} catch (_0x323ea9) {
|
|
2133
|
+
return textResult(_0x323ea9 instanceof Error ? _0x323ea9[_0x1559bd(_0x22644b._0x1832f2)] : 'send_message\x20failed', !![]);
|
|
2126
2134
|
}
|
|
2127
|
-
}),
|
|
2128
|
-
const
|
|
2135
|
+
}), _0x4be081[_0x40cc47(0x151)](_0x40cc47(0x1df), _0x40cc47(_0x25ec70._0x45296b), {}, async () => {
|
|
2136
|
+
const _0x15b057 = _0x40cc47;
|
|
2129
2137
|
try {
|
|
2130
|
-
return textResult(await
|
|
2131
|
-
} catch (
|
|
2132
|
-
return textResult(
|
|
2138
|
+
return textResult(await _0x55635c[_0x15b057(0x1df)]());
|
|
2139
|
+
} catch (_0x437a97) {
|
|
2140
|
+
return textResult(_0x437a97 instanceof Error ? _0x437a97[_0x15b057(0x1c3)] : 'check_messages\x20failed', !![]);
|
|
2133
2141
|
}
|
|
2134
|
-
}),
|
|
2135
|
-
'channel':
|
|
2136
|
-
'limit':
|
|
2137
|
-
'before':
|
|
2138
|
-
'after':
|
|
2139
|
-
}, async
|
|
2140
|
-
const
|
|
2142
|
+
}), _0x4be081[_0x40cc47(0x151)](_0x40cc47(0x1d4), _0x40cc47(0x1da), {
|
|
2143
|
+
'channel': _0x1a49b3[_0x40cc47(0x2a7)](),
|
|
2144
|
+
'limit': _0x1a49b3['number']()[_0x40cc47(_0x25ec70._0x528e39)](),
|
|
2145
|
+
'before': _0x1a49b3['number']()['optional'](),
|
|
2146
|
+
'after': _0x1a49b3['number']()['optional']()
|
|
2147
|
+
}, async _0x4b8300 => {
|
|
2148
|
+
const _0x8696eb = _0x40cc47;
|
|
2141
2149
|
try {
|
|
2142
|
-
return textResult(await
|
|
2143
|
-
} catch (
|
|
2144
|
-
return textResult(
|
|
2150
|
+
return textResult(await _0x55635c['read_history'](_0x4b8300));
|
|
2151
|
+
} catch (_0x32e7f0) {
|
|
2152
|
+
return textResult(_0x32e7f0 instanceof Error ? _0x32e7f0[_0x8696eb(0x1c3)] : _0x8696eb(0x2a1), !![]);
|
|
2145
2153
|
}
|
|
2146
|
-
}),
|
|
2147
|
-
const
|
|
2154
|
+
}), _0x4be081['tool'](_0x40cc47(_0x25ec70._0x51278c), _0x40cc47(_0x25ec70._0x1ea7a4), {}, async () => {
|
|
2155
|
+
const _0x55030d = _0x40cc47;
|
|
2148
2156
|
try {
|
|
2149
|
-
return textResult(await
|
|
2150
|
-
} catch (
|
|
2151
|
-
return textResult(
|
|
2157
|
+
return textResult(await _0x55635c[_0x55030d(0x1f8)]());
|
|
2158
|
+
} catch (_0x486b4f) {
|
|
2159
|
+
return textResult(_0x486b4f instanceof Error ? _0x486b4f[_0x55030d(0x1c3)] : _0x55030d(0x1b7), !![]);
|
|
2152
2160
|
}
|
|
2153
|
-
}),
|
|
2154
|
-
'channel':
|
|
2155
|
-
'status':
|
|
2161
|
+
}), _0x4be081[_0x40cc47(0x151)]('list_tasks', _0x40cc47(0x27c), {
|
|
2162
|
+
'channel': _0x1a49b3['string'](),
|
|
2163
|
+
'status': _0x1a49b3['enum']([
|
|
2156
2164
|
'todo',
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
])[
|
|
2161
|
-
}, async
|
|
2162
|
-
const
|
|
2165
|
+
_0x40cc47(_0x25ec70._0x333981),
|
|
2166
|
+
_0x40cc47(0x204),
|
|
2167
|
+
_0x40cc47(0x239)
|
|
2168
|
+
])[_0x40cc47(0x208)]()
|
|
2169
|
+
}, async _0x378575 => {
|
|
2170
|
+
const _0x907910 = _0x40cc47;
|
|
2163
2171
|
try {
|
|
2164
|
-
return textResult(await
|
|
2165
|
-
} catch (
|
|
2166
|
-
return textResult(
|
|
2172
|
+
return textResult(await _0x55635c[_0x907910(_0x590626._0x2b1308)](_0x378575));
|
|
2173
|
+
} catch (_0x1fd392) {
|
|
2174
|
+
return textResult(_0x1fd392 instanceof Error ? _0x1fd392[_0x907910(_0x590626._0x152bed)] : _0x907910(0x277), !![]);
|
|
2167
2175
|
}
|
|
2168
|
-
}),
|
|
2169
|
-
'channel':
|
|
2170
|
-
'idempotency_key':
|
|
2171
|
-
'tasks':
|
|
2172
|
-
'title':
|
|
2173
|
-
'description':
|
|
2174
|
-
'priority':
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2176
|
+
}), _0x4be081[_0x40cc47(0x151)](_0x40cc47(_0x25ec70._0x5d3411), _0x40cc47(0x27d), {
|
|
2177
|
+
'channel': _0x1a49b3[_0x40cc47(_0x25ec70._0x2fcd99)](),
|
|
2178
|
+
'idempotency_key': _0x1a49b3[_0x40cc47(_0x25ec70._0x2fcd99)]()['optional'](),
|
|
2179
|
+
'tasks': _0x1a49b3['array'](_0x1a49b3[_0x40cc47(0x1ef)]({
|
|
2180
|
+
'title': _0x1a49b3['string'](),
|
|
2181
|
+
'description': _0x1a49b3['string']()[_0x40cc47(0x208)](),
|
|
2182
|
+
'priority': _0x1a49b3[_0x40cc47(_0x25ec70._0xa30b79)]([
|
|
2183
|
+
_0x40cc47(_0x25ec70._0x102882),
|
|
2184
|
+
'medium',
|
|
2185
|
+
_0x40cc47(0x22b),
|
|
2178
2186
|
'urgent'
|
|
2179
|
-
])[
|
|
2187
|
+
])[_0x40cc47(_0x25ec70._0x528e39)]()
|
|
2180
2188
|
}))
|
|
2181
|
-
}, async
|
|
2182
|
-
const
|
|
2189
|
+
}, async _0xcd95b8 => {
|
|
2190
|
+
const _0x2d10a1 = _0x40cc47;
|
|
2183
2191
|
try {
|
|
2184
|
-
return textResult(await
|
|
2185
|
-
} catch (
|
|
2186
|
-
return textResult(
|
|
2192
|
+
return textResult(await _0x55635c[_0x2d10a1(0x263)](_0xcd95b8));
|
|
2193
|
+
} catch (_0x4b35ef) {
|
|
2194
|
+
return textResult(_0x4b35ef instanceof Error ? _0x4b35ef[_0x2d10a1(_0x1485fe._0x565440)] : _0x2d10a1(0x141), !![]);
|
|
2187
2195
|
}
|
|
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
|
|
2196
|
+
}), _0x4be081[_0x40cc47(0x151)](_0x40cc47(_0x25ec70._0x3bbfc7), _0x40cc47(_0x25ec70._0x152ccf), {
|
|
2197
|
+
'channel': _0x1a49b3[_0x40cc47(0x2a7)](),
|
|
2198
|
+
'task_numbers': _0x1a49b3[_0x40cc47(_0x25ec70._0x42c3ce)](_0x1a49b3[_0x40cc47(_0x25ec70._0x49b683)]())[_0x40cc47(_0x25ec70._0x135564)](),
|
|
2199
|
+
'subtask_numbers': _0x1a49b3[_0x40cc47(_0x25ec70._0x241cdc)](_0x1a49b3[_0x40cc47(_0x25ec70._0x49b683)]())['optional'](),
|
|
2200
|
+
'message_ids': _0x1a49b3[_0x40cc47(_0x25ec70._0x5449f0)](_0x1a49b3[_0x40cc47(0x2a7)]())[_0x40cc47(0x208)](),
|
|
2201
|
+
'evidence': _0x1a49b3['record'](_0x1a49b3[_0x40cc47(_0x25ec70._0x2fcd99)](), _0x1a49b3[_0x40cc47(0x1ef)]({
|
|
2202
|
+
'create_thread': _0x1a49b3[_0x40cc47(0x1ca)]()[_0x40cc47(_0x25ec70._0x135564)](),
|
|
2203
|
+
'create_task': _0x1a49b3['unknown']()['optional']()
|
|
2204
|
+
}))[_0x40cc47(_0x25ec70._0x135564)](),
|
|
2205
|
+
'idempotency_key': _0x1a49b3[_0x40cc47(_0x25ec70._0xe29d24)]()['optional']()
|
|
2206
|
+
}, async _0x1ae189 => {
|
|
2207
|
+
const _0x4fb01f = _0x40cc47;
|
|
2200
2208
|
try {
|
|
2201
|
-
return textResult(await
|
|
2202
|
-
} catch (
|
|
2203
|
-
return textResult(
|
|
2209
|
+
return textResult(await _0x55635c[_0x4fb01f(0x219)](_0x1ae189));
|
|
2210
|
+
} catch (_0x1cdb7f) {
|
|
2211
|
+
return textResult(_0x1cdb7f instanceof Error ? _0x1cdb7f[_0x4fb01f(_0x2daf23._0x30ced0)] : 'claim_tasks\x20failed', !![]);
|
|
2204
2212
|
}
|
|
2205
|
-
}),
|
|
2206
|
-
'channel':
|
|
2207
|
-
'task_number':
|
|
2208
|
-
'subtask_number':
|
|
2209
|
-
'idempotency_key':
|
|
2210
|
-
}, async
|
|
2211
|
-
const
|
|
2213
|
+
}), _0x4be081[_0x40cc47(0x151)](_0x40cc47(_0x25ec70._0x4fedad), _0x40cc47(_0x25ec70._0x3b6923), {
|
|
2214
|
+
'channel': _0x1a49b3['string'](),
|
|
2215
|
+
'task_number': _0x1a49b3['number'](),
|
|
2216
|
+
'subtask_number': _0x1a49b3[_0x40cc47(_0x25ec70._0xab0882)]()[_0x40cc47(0x208)](),
|
|
2217
|
+
'idempotency_key': _0x1a49b3[_0x40cc47(_0x25ec70._0x2745af)]()[_0x40cc47(_0x25ec70._0xf19cc8)]()
|
|
2218
|
+
}, async _0x5c0fb3 => {
|
|
2219
|
+
const _0x4e8d09 = _0x40cc47;
|
|
2212
2220
|
try {
|
|
2213
|
-
return textResult(await
|
|
2214
|
-
} catch (
|
|
2215
|
-
return textResult(
|
|
2221
|
+
return textResult(await _0x55635c[_0x4e8d09(0x1ad)](_0x5c0fb3));
|
|
2222
|
+
} catch (_0x5334db) {
|
|
2223
|
+
return textResult(_0x5334db instanceof Error ? _0x5334db[_0x4e8d09(_0x2bdfb7._0xdfd578)] : _0x4e8d09(0x29e), !![]);
|
|
2216
2224
|
}
|
|
2217
|
-
}),
|
|
2218
|
-
'channel':
|
|
2219
|
-
'task_number':
|
|
2220
|
-
'subtask_number':
|
|
2221
|
-
'status':
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2225
|
+
}), _0x4be081[_0x40cc47(0x151)](_0x40cc47(_0x25ec70._0x5dfed8), 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.', {
|
|
2226
|
+
'channel': _0x1a49b3['string'](),
|
|
2227
|
+
'task_number': _0x1a49b3[_0x40cc47(0x287)](),
|
|
2228
|
+
'subtask_number': _0x1a49b3[_0x40cc47(_0x25ec70._0x4a9c2e)]()[_0x40cc47(0x208)](),
|
|
2229
|
+
'status': _0x1a49b3[_0x40cc47(0x23f)]([
|
|
2230
|
+
_0x40cc47(_0x25ec70._0x2c73ca),
|
|
2231
|
+
_0x40cc47(_0x25ec70._0x333981),
|
|
2232
|
+
_0x40cc47(_0x25ec70._0x15dade),
|
|
2233
|
+
_0x40cc47(_0x25ec70._0x2515ec)
|
|
2226
2234
|
]),
|
|
2227
|
-
'idempotency_key':
|
|
2228
|
-
}, async
|
|
2229
|
-
const
|
|
2235
|
+
'idempotency_key': _0x1a49b3[_0x40cc47(0x2a7)]()[_0x40cc47(_0x25ec70._0xf19cc8)]()
|
|
2236
|
+
}, async _0x584e68 => {
|
|
2237
|
+
const _0x4cb8f3 = _0x40cc47;
|
|
2230
2238
|
try {
|
|
2231
|
-
return textResult(await
|
|
2232
|
-
} catch (
|
|
2233
|
-
return textResult(
|
|
2239
|
+
return textResult(await _0x55635c[_0x4cb8f3(_0x24774d._0x1cb270)](_0x584e68));
|
|
2240
|
+
} catch (_0x4cfd9b) {
|
|
2241
|
+
return textResult(_0x4cfd9b instanceof Error ? _0x4cfd9b[_0x4cb8f3(0x1c3)] : _0x4cb8f3(_0x24774d._0x52d5c6), !![]);
|
|
2234
2242
|
}
|
|
2235
|
-
}),
|
|
2236
|
-
'channel':
|
|
2237
|
-
'file_path':
|
|
2238
|
-
}, async
|
|
2239
|
-
const
|
|
2243
|
+
}), _0x4be081[_0x40cc47(0x151)](_0x40cc47(_0x25ec70._0xc986fe), 'Upload\x20a\x20local\x20file\x20to\x20a\x20channel\x20or\x20DM\x20and\x20return\x20an\x20attachment\x20ID\x20that\x20can\x20be\x20used\x20with\x20send_message.\x20Thread\x20targets\x20are\x20not\x20allowed.', {
|
|
2244
|
+
'channel': _0x1a49b3[_0x40cc47(0x2a7)](),
|
|
2245
|
+
'file_path': _0x1a49b3[_0x40cc47(_0x25ec70._0x3859f5)]()
|
|
2246
|
+
}, async _0x55e5b1 => {
|
|
2247
|
+
const _0x35b3d2 = _0x40cc47;
|
|
2240
2248
|
try {
|
|
2241
|
-
return textResult(await
|
|
2242
|
-
} catch (
|
|
2243
|
-
return textResult(
|
|
2249
|
+
return textResult(await _0x55635c[_0x35b3d2(_0x328529._0x44bf88)](_0x55e5b1));
|
|
2250
|
+
} catch (_0x275ca5) {
|
|
2251
|
+
return textResult(_0x275ca5 instanceof Error ? _0x275ca5[_0x35b3d2(0x1c3)] : _0x35b3d2(0x1db), !![]);
|
|
2244
2252
|
}
|
|
2245
|
-
}),
|
|
2246
|
-
const
|
|
2253
|
+
}), _0x4be081[_0x40cc47(0x151)]('view_file', 'Download\x20an\x20attachment\x20to\x20the\x20local\x20cache\x20and\x20return\x20the\x20local\x20path.', { 'attachment_id': _0x1a49b3[_0x40cc47(0x2a7)]() }, async _0xdfd75a => {
|
|
2254
|
+
const _0x2a322e = _0x40cc47;
|
|
2247
2255
|
try {
|
|
2248
|
-
return textResult(await
|
|
2249
|
-
} catch (
|
|
2250
|
-
return textResult(
|
|
2256
|
+
return textResult(await _0x55635c[_0x2a322e(_0x19724a._0x294b92)](_0xdfd75a));
|
|
2257
|
+
} catch (_0x598475) {
|
|
2258
|
+
return textResult(_0x598475 instanceof Error ? _0x598475[_0x2a322e(_0x19724a._0x5ac994)] : 'view_file\x20failed', !![]);
|
|
2251
2259
|
}
|
|
2252
|
-
}),
|
|
2253
|
-
const
|
|
2260
|
+
}), _0x4be081[_0x40cc47(_0x25ec70._0x38de15)](_0x40cc47(0x274), _0x40cc47(0x234), { 'work_key': _0x1a49b3['string']() }, async _0x4b385d => {
|
|
2261
|
+
const _0x5d009d = _0x40cc47;
|
|
2254
2262
|
try {
|
|
2255
|
-
return textResult(await
|
|
2256
|
-
} catch (
|
|
2257
|
-
return textResult(
|
|
2263
|
+
return textResult(await _0x55635c[_0x5d009d(0x274)](_0x4b385d));
|
|
2264
|
+
} catch (_0x165de6) {
|
|
2265
|
+
return textResult(_0x165de6 instanceof Error ? _0x165de6[_0x5d009d(_0x496f4c._0x29455a)] : _0x5d009d(_0x496f4c._0x350dd9), !![]);
|
|
2258
2266
|
}
|
|
2259
|
-
}),
|
|
2260
|
-
const
|
|
2267
|
+
}), _0x4be081[_0x40cc47(_0x25ec70._0x259643)](_0x40cc47(_0x25ec70._0x32512f), 'Worker-only.\x20Park\x20the\x20current\x20worker\x20lane\x20after\x20you\x20have\x20already\x20reported\x20results\x20in\x20this\x20thread.\x20This\x20does\x20not\x20end\x20the\x20session;\x20same-thread\x20follow-up\x20will\x20resume\x20this\x20lane.', { 'work_key': _0x1a49b3[_0x40cc47(_0x25ec70._0x2745af)]() }, async _0x56b0bb => {
|
|
2268
|
+
const _0x52aa56 = _0x40cc47;
|
|
2261
2269
|
try {
|
|
2262
|
-
return textResult(await
|
|
2263
|
-
} catch (
|
|
2264
|
-
return textResult(
|
|
2270
|
+
return textResult(await _0x55635c[_0x52aa56(0x183)](_0x56b0bb));
|
|
2271
|
+
} catch (_0x25cdc6) {
|
|
2272
|
+
return textResult(_0x25cdc6 instanceof Error ? _0x25cdc6['message'] : _0x52aa56(_0x37b2a8._0x35f392), !![]);
|
|
2265
2273
|
}
|
|
2266
|
-
}),
|
|
2267
|
-
'work_key':
|
|
2268
|
-
'reason':
|
|
2269
|
-
}, async
|
|
2270
|
-
const
|
|
2274
|
+
}), _0x4be081['tool'](_0x40cc47(_0x25ec70._0x288e2a), _0x40cc47(_0x25ec70._0x53a7d5), {
|
|
2275
|
+
'work_key': _0x1a49b3[_0x40cc47(_0x25ec70._0x2d6314)](),
|
|
2276
|
+
'reason': _0x1a49b3['string']()
|
|
2277
|
+
}, async _0x275915 => {
|
|
2278
|
+
const _0x352341 = _0x40cc47;
|
|
2271
2279
|
try {
|
|
2272
|
-
return textResult(await
|
|
2273
|
-
} catch (
|
|
2274
|
-
return textResult(
|
|
2280
|
+
return textResult(await _0x55635c['escalate_to_main'](_0x275915));
|
|
2281
|
+
} catch (_0x32792d) {
|
|
2282
|
+
return textResult(_0x32792d instanceof Error ? _0x32792d['message'] : _0x352341(_0x464358._0x5a3ced), !![]);
|
|
2275
2283
|
}
|
|
2276
|
-
}),
|
|
2277
|
-
const
|
|
2284
|
+
}), _0x48e885?.[_0x40cc47(0x17f)] && _0x4be081[_0x40cc47(_0x25ec70._0x216d36)](_0x40cc47(_0x25ec70._0x2238c5), 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x1a49b3[_0x40cc47(0x2a7)]() }, async _0x4bc24c => {
|
|
2285
|
+
const _0x1181d6 = _0x40cc47;
|
|
2278
2286
|
try {
|
|
2279
|
-
return textResult(await
|
|
2280
|
-
} catch (
|
|
2281
|
-
return textResult(
|
|
2287
|
+
return textResult(await _0x55635c[_0x1181d6(_0x403f27._0x5870df)](_0x4bc24c));
|
|
2288
|
+
} catch (_0x73d747) {
|
|
2289
|
+
return textResult(_0x73d747 instanceof Error ? _0x73d747['message'] : _0x1181d6(_0x403f27._0x124423), !![]);
|
|
2282
2290
|
}
|
|
2283
2291
|
});
|
|
2284
2292
|
}
|
|
2285
|
-
async function createChatBridgeServer(
|
|
2286
|
-
const
|
|
2287
|
-
'name':
|
|
2288
|
-
'version':
|
|
2289
|
-
}),
|
|
2290
|
-
return await registerChatBridgeTools(
|
|
2291
|
-
'handlers':
|
|
2292
|
-
'server':
|
|
2293
|
+
async function createChatBridgeServer(_0x3e567d) {
|
|
2294
|
+
const _0x4bd013 = { _0x2228c5: 0x1bf }, _0x488bd9 = _0x363898, {McpServer: _0x4b260e} = await import(_0x488bd9(_0x4bd013._0x2228c5)), _0x44a41f = new _0x4b260e({
|
|
2295
|
+
'name': _0x488bd9(0x1c9),
|
|
2296
|
+
'version': _0x488bd9(0x1e1)
|
|
2297
|
+
}), _0x2ddf58 = createChatBridgeHandlers(_0x3e567d);
|
|
2298
|
+
return await registerChatBridgeTools(_0x44a41f, _0x2ddf58, { 'workerMode': _0x3e567d[_0x488bd9(0x17f)] }), {
|
|
2299
|
+
'handlers': _0x2ddf58,
|
|
2300
|
+
'server': _0x44a41f
|
|
2293
2301
|
};
|
|
2294
2302
|
}
|
|
2295
|
-
function readFlag(
|
|
2296
|
-
const
|
|
2297
|
-
if (
|
|
2303
|
+
function readFlag(_0x325f88, _0x23ee49) {
|
|
2304
|
+
const _0x4239f3 = { _0x341c2f: 0x229 }, _0x1d933f = _0x363898, _0x2d4151 = _0x325f88[_0x1d933f(_0x4239f3._0x341c2f)](_0x23ee49);
|
|
2305
|
+
if (_0x2d4151 === -0x1)
|
|
2298
2306
|
return void 0x0;
|
|
2299
|
-
return
|
|
2307
|
+
return _0x325f88[_0x2d4151 + 0x1];
|
|
2300
2308
|
}
|
|
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 (
|
|
2316
|
-
throw new Error(
|
|
2309
|
+
function parseChatBridgeArgs(_0x3745bc) {
|
|
2310
|
+
const _0x52d1e9 = {
|
|
2311
|
+
_0x5a0533: 0x27f,
|
|
2312
|
+
_0x1a79c6: 0x1ec,
|
|
2313
|
+
_0x4bb764: 0x251,
|
|
2314
|
+
_0x3f6210: 0x1e8,
|
|
2315
|
+
_0x5bb729: 0x22c,
|
|
2316
|
+
_0x42597d: 0x2ac,
|
|
2317
|
+
_0x459e3b: 0x1ae
|
|
2318
|
+
}, _0x146162 = _0x363898, _0x5beed2 = readFlag(_0x3745bc, _0x146162(_0x52d1e9._0x5a0533)), _0x296fa5 = readFlag(_0x3745bc, _0x146162(_0x52d1e9._0x1a79c6)), _0xf52cb3 = readFlag(_0x3745bc, '--initial-last-seen-seq'), _0x3b5700 = readFlag(_0x3745bc, _0x146162(0x1fd)) ?? 'http://localhost:8121', _0x28dfa9 = readFlag(_0x3745bc, _0x146162(0x19e)), _0x9ae1d4 = readFlag(_0x3745bc, '--session-id'), _0x1861e1 = readFlag(_0x3745bc, _0x146162(0x1dd)), _0xa032c6 = readFlag(_0x3745bc, _0x146162(_0x52d1e9._0x4bb764)), _0x29ff04 = readFlag(_0x3745bc, _0x146162(0x2b1)), _0x59c171 = _0x3745bc[_0x146162(_0x52d1e9._0x3f6210)](_0x146162(_0x52d1e9._0x5bb729)), _0x58fa0b = _0xf52cb3 === void 0x0 ? void 0x0 : Number[_0x146162(0x255)](_0xf52cb3, 0xa);
|
|
2319
|
+
if (!_0x5beed2)
|
|
2320
|
+
throw new Error('Missing\x20--agent-id');
|
|
2321
|
+
if (!_0x296fa5)
|
|
2322
|
+
throw new Error(_0x146162(0x2ba));
|
|
2323
|
+
if (_0xf52cb3 !== void 0x0 && (_0x58fa0b === void 0x0 || !Number[_0x146162(_0x52d1e9._0x42597d)](_0x58fa0b) || _0x58fa0b < 0x0))
|
|
2324
|
+
throw new Error(_0x146162(_0x52d1e9._0x459e3b));
|
|
2317
2325
|
return {
|
|
2318
|
-
'agentId':
|
|
2319
|
-
'daemonApiKey':
|
|
2320
|
-
'daemonLocalUrl':
|
|
2321
|
-
'initialLastSeenSeq':
|
|
2322
|
-
'sessionId':
|
|
2323
|
-
'serverUrl':
|
|
2324
|
-
'workerModeEnabled':
|
|
2325
|
-
'workerSessionId':
|
|
2326
|
-
'workerThreadTarget':
|
|
2327
|
-
'workerMode':
|
|
2326
|
+
'agentId': _0x5beed2,
|
|
2327
|
+
'daemonApiKey': _0x296fa5,
|
|
2328
|
+
'daemonLocalUrl': _0x28dfa9,
|
|
2329
|
+
'initialLastSeenSeq': _0x58fa0b,
|
|
2330
|
+
'sessionId': _0x9ae1d4,
|
|
2331
|
+
'serverUrl': _0x3b5700,
|
|
2332
|
+
'workerModeEnabled': _0x1861e1 === void 0x0 ? void 0x0 : _0x1861e1 !== 'false',
|
|
2333
|
+
'workerSessionId': _0xa032c6,
|
|
2334
|
+
'workerThreadTarget': _0x29ff04,
|
|
2335
|
+
'workerMode': _0x59c171
|
|
2328
2336
|
};
|
|
2329
2337
|
}
|
|
2330
|
-
async function runChatBridgeCli(
|
|
2331
|
-
const
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
},
|
|
2335
|
-
'agentId':
|
|
2336
|
-
'attachmentCache':
|
|
2337
|
-
'client':
|
|
2338
|
-
'daemonLocalUrl':
|
|
2338
|
+
async function runChatBridgeCli(_0x29795e) {
|
|
2339
|
+
const _0x381c65 = {
|
|
2340
|
+
_0x4d43b6: 0x14f,
|
|
2341
|
+
_0x425737: 0x188
|
|
2342
|
+
}, _0x2d302e = _0x363898, _0x848fe0 = parseChatBridgeArgs(_0x29795e), {StdioServerTransport: _0x530870} = await import(_0x2d302e(_0x381c65._0x4d43b6)), _0x127181 = createInternalAgentClient(_0x848fe0), _0x5b442b = createAttachmentCache(), _0x3cfacb = await createChatBridgeServer({
|
|
2343
|
+
'agentId': _0x848fe0[_0x2d302e(0x1a3)],
|
|
2344
|
+
'attachmentCache': _0x5b442b,
|
|
2345
|
+
'client': _0x127181,
|
|
2346
|
+
'daemonLocalUrl': _0x848fe0[_0x2d302e(_0x381c65._0x425737)],
|
|
2339
2347
|
'uploadPreparer': prepareUploadFile,
|
|
2340
|
-
'workerModeEnabled':
|
|
2341
|
-
'workerMode':
|
|
2342
|
-
'workerThreadTarget':
|
|
2348
|
+
'workerModeEnabled': _0x848fe0['workerModeEnabled'],
|
|
2349
|
+
'workerMode': _0x848fe0['workerMode'],
|
|
2350
|
+
'workerThreadTarget': _0x848fe0['workerThreadTarget']
|
|
2343
2351
|
});
|
|
2344
|
-
await
|
|
2352
|
+
await _0x3cfacb[_0x2d302e(0x2bb)][_0x2d302e(0x23b)](new _0x530870());
|
|
2345
2353
|
}
|
|
2346
|
-
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[
|
|
2347
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2354
|
+
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[_0x363898(0x1ea)][0x1])[_0x363898(0x1e3)] : ![];
|
|
2355
|
+
executedAsEntry && await runChatBridgeCli(process[_0x363898(0x1ea)][_0x363898(0x294)](0x2));
|
|
2348
2356
|
export {
|
|
2349
2357
|
createChatBridgeHandlers,
|
|
2350
2358
|
createChatBridgeServer,
|