@dscord/daemon 0.1.46 → 0.1.47
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 +1961 -1955
- package/dist/index.js +8614 -8631
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
_0x42f6cc: 0x1e5,
|
|
8
|
-
_0x381f46: 0x21b
|
|
9
|
-
}, _0x1692a4 = _0x1c2b, _0x2bac3c = _0x2f6460();
|
|
1
|
+
const _0x602e11 = _0xd828;
|
|
2
|
+
(function (_0x1e5716, _0x3ac3e6) {
|
|
3
|
+
const _0x3db36e = {
|
|
4
|
+
_0x1cefb6: 0x1db,
|
|
5
|
+
_0x585fa1: 0x19f
|
|
6
|
+
}, _0xa9c6bb = _0xd828, _0x11704b = _0x1e5716();
|
|
10
7
|
while (!![]) {
|
|
11
8
|
try {
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
9
|
+
const _0x3d324e = parseInt(_0xa9c6bb(_0x3db36e._0x1cefb6)) / 0x1 * (parseInt(_0xa9c6bb(_0x3db36e._0x585fa1)) / 0x2) + -parseInt(_0xa9c6bb(0x1f6)) / 0x3 * (-parseInt(_0xa9c6bb(0x289)) / 0x4) + parseInt(_0xa9c6bb(0x25d)) / 0x5 + -parseInt(_0xa9c6bb(0x19c)) / 0x6 + -parseInt(_0xa9c6bb(0x242)) / 0x7 * (-parseInt(_0xa9c6bb(0x237)) / 0x8) + parseInt(_0xa9c6bb(0x226)) / 0x9 * (parseInt(_0xa9c6bb(0x1f3)) / 0xa) + -parseInt(_0xa9c6bb(0x236)) / 0xb;
|
|
10
|
+
if (_0x3d324e === _0x3ac3e6)
|
|
14
11
|
break;
|
|
15
12
|
else
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
13
|
+
_0x11704b['push'](_0x11704b['shift']());
|
|
14
|
+
} catch (_0x4a920b) {
|
|
15
|
+
_0x11704b['push'](_0x11704b['shift']());
|
|
19
16
|
}
|
|
20
17
|
}
|
|
21
|
-
}(
|
|
18
|
+
}(_0x511f, 0x38531));
|
|
22
19
|
import { pathToFileURL } from 'node:url';
|
|
23
20
|
import {
|
|
24
21
|
mkdir,
|
|
@@ -28,81 +25,97 @@ import {
|
|
|
28
25
|
writeFile
|
|
29
26
|
} from 'node:fs/promises';
|
|
30
27
|
import { homedir } from 'node:os';
|
|
31
|
-
import
|
|
28
|
+
import _0x58a35a from 'node:path';
|
|
32
29
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
33
|
-
'.csv':
|
|
34
|
-
'.gif':
|
|
35
|
-
'.jpeg':
|
|
36
|
-
'.jpg':
|
|
37
|
-
'.json':
|
|
38
|
-
'.md':
|
|
39
|
-
'.pdf':
|
|
40
|
-
'.png':
|
|
41
|
-
'.svg':
|
|
42
|
-
'.txt':
|
|
43
|
-
'.webp':
|
|
44
|
-
'.xml':
|
|
45
|
-
'.zip':
|
|
30
|
+
'.csv': _0x602e11(0x216),
|
|
31
|
+
'.gif': _0x602e11(0x1cd),
|
|
32
|
+
'.jpeg': _0x602e11(0x200),
|
|
33
|
+
'.jpg': 'image/jpeg',
|
|
34
|
+
'.json': _0x602e11(0x266),
|
|
35
|
+
'.md': _0x602e11(0x23a),
|
|
36
|
+
'.pdf': _0x602e11(0x185),
|
|
37
|
+
'.png': _0x602e11(0x21f),
|
|
38
|
+
'.svg': _0x602e11(0x28a),
|
|
39
|
+
'.txt': _0x602e11(0x26f),
|
|
40
|
+
'.webp': _0x602e11(0x213),
|
|
41
|
+
'.xml': _0x602e11(0x18b),
|
|
42
|
+
'.zip': _0x602e11(0x2c6)
|
|
46
43
|
};
|
|
47
|
-
function guessContentType(
|
|
48
|
-
const
|
|
49
|
-
return MIME_BY_EXTENSION[
|
|
44
|
+
function guessContentType(_0x4bb1d5) {
|
|
45
|
+
const _0x127565 = { _0x10cce0: 0x23b }, _0x50f537 = _0x602e11;
|
|
46
|
+
return MIME_BY_EXTENSION[_0x58a35a[_0x50f537(_0x127565._0x10cce0)](_0x4bb1d5)[_0x50f537(0x17f)]()] ?? _0x50f537(0x2e3);
|
|
50
47
|
}
|
|
51
|
-
function safeFilename(
|
|
52
|
-
const
|
|
53
|
-
return
|
|
48
|
+
function safeFilename(_0x3457f4) {
|
|
49
|
+
const _0x42b6ec = { _0x2a155b: 0x244 }, _0x5e9300 = _0x602e11;
|
|
50
|
+
return _0x3457f4[_0x5e9300(_0x42b6ec._0x2a155b)](/[\\/]/g, '-');
|
|
54
51
|
}
|
|
55
|
-
function extensionFor(
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
_0x28f0b4: 0x27a,
|
|
59
|
-
_0x1434da: 0x154
|
|
60
|
-
}, _0x39212a = _0x506949, _0x1165e4 = Object[_0x39212a(_0x66e9b2._0x3d1a80)](MIME_BY_EXTENSION)[_0x39212a(_0x66e9b2._0x28f0b4)](([, _0x319a85]) => _0x319a85 === _0x128aa5);
|
|
61
|
-
return _0x1165e4?.[0x0] ?? _0x39212a(_0x66e9b2._0x1434da);
|
|
52
|
+
function extensionFor(_0x3ae0ae) {
|
|
53
|
+
const _0x3ba431 = { _0xd9e830: 0x2fa }, _0x3cb274 = _0x602e11, _0x163f51 = Object['entries'](MIME_BY_EXTENSION)[_0x3cb274(0x268)](([, _0x3bef55]) => _0x3bef55 === _0x3ae0ae);
|
|
54
|
+
return _0x163f51?.[0x0] ?? _0x3cb274(_0x3ba431._0xd9e830);
|
|
62
55
|
}
|
|
63
|
-
async function prepareUploadFile(
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
56
|
+
async function prepareUploadFile(_0x1387e6, _0x33408e = {}) {
|
|
57
|
+
const _0x294646 = {
|
|
58
|
+
_0x27472d: 0x272,
|
|
59
|
+
_0x13cdc8: 0x26a,
|
|
60
|
+
_0x1eeb2d: 0x18a,
|
|
61
|
+
_0x5564c9: 0x251
|
|
62
|
+
}, _0x27114c = _0x602e11;
|
|
63
|
+
if (!_0x58a35a[_0x27114c(_0x294646._0x27472d)](_0x1387e6))
|
|
64
|
+
throw new Error('file_path\x20must\x20be\x20an\x20absolute\x20path');
|
|
65
|
+
const _0x595bdb = await stat(_0x1387e6)[_0x27114c(0x1ac)](() => null);
|
|
66
|
+
if (!_0x595bdb || !_0x595bdb['isFile']())
|
|
67
|
+
throw new Error('File\x20not\x20found:\x20' + _0x1387e6);
|
|
68
|
+
const _0x734309 = _0x33408e[_0x27114c(_0x294646._0x13cdc8)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
69
|
+
if (_0x595bdb[_0x27114c(_0x294646._0x1eeb2d)] > _0x734309)
|
|
70
|
+
throw new Error(_0x27114c(0x249) + _0x595bdb[_0x27114c(_0x294646._0x1eeb2d)]);
|
|
71
|
+
const _0x38e0fb = await readFile(_0x1387e6), _0x3e1e6b = _0x58a35a[_0x27114c(_0x294646._0x5564c9)](_0x1387e6);
|
|
78
72
|
return {
|
|
79
|
-
'contentBase64':
|
|
80
|
-
'contentType': guessContentType(
|
|
81
|
-
'filename':
|
|
82
|
-
'sizeBytes':
|
|
73
|
+
'contentBase64': _0x38e0fb['toString'](_0x27114c(0x2f8)),
|
|
74
|
+
'contentType': guessContentType(_0x3e1e6b),
|
|
75
|
+
'filename': _0x3e1e6b,
|
|
76
|
+
'sizeBytes': _0x595bdb[_0x27114c(0x18a)]
|
|
83
77
|
};
|
|
84
78
|
}
|
|
85
|
-
function
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
79
|
+
function _0xd828(_0x42b5b4, _0x2103a9) {
|
|
80
|
+
_0x42b5b4 = _0x42b5b4 - 0x178;
|
|
81
|
+
const _0x511f14 = _0x511f();
|
|
82
|
+
let _0xd8282 = _0x511f14[_0x42b5b4];
|
|
83
|
+
if (_0xd828['aTBise'] === undefined) {
|
|
84
|
+
var _0x20778a = function (_0x2577a6) {
|
|
85
|
+
const _0x5a3167 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
86
|
+
let _0x58a35a = '', _0x4bb1d5 = '';
|
|
87
|
+
for (let _0x3457f4 = 0x0, _0x3ae0ae, _0x163f51, _0x3bef55 = 0x0; _0x163f51 = _0x2577a6['charAt'](_0x3bef55++); ~_0x163f51 && (_0x3ae0ae = _0x3457f4 % 0x4 ? _0x3ae0ae * 0x40 + _0x163f51 : _0x163f51, _0x3457f4++ % 0x4) ? _0x58a35a += String['fromCharCode'](0xff & _0x3ae0ae >> (-0x2 * _0x3457f4 & 0x6)) : 0x0) {
|
|
88
|
+
_0x163f51 = _0x5a3167['indexOf'](_0x163f51);
|
|
89
|
+
}
|
|
90
|
+
for (let _0x1387e6 = 0x0, _0x33408e = _0x58a35a['length']; _0x1387e6 < _0x33408e; _0x1387e6++) {
|
|
91
|
+
_0x4bb1d5 += '%' + ('00' + _0x58a35a['charCodeAt'](_0x1387e6)['toString'](0x10))['slice'](-0x2);
|
|
92
|
+
}
|
|
93
|
+
return decodeURIComponent(_0x4bb1d5);
|
|
94
|
+
};
|
|
95
|
+
_0xd828['sMFrzy'] = _0x20778a, _0xd828['hGvcIs'] = {}, _0xd828['aTBise'] = !![];
|
|
96
|
+
}
|
|
97
|
+
const _0x2cf28b = _0x511f14[0x0], _0x38d5d1 = _0x42b5b4 + _0x2cf28b, _0x1bcc5f = _0xd828['hGvcIs'][_0x38d5d1];
|
|
98
|
+
return !_0x1bcc5f ? (_0xd8282 = _0xd828['sMFrzy'](_0xd8282), _0xd828['hGvcIs'][_0x38d5d1] = _0xd8282) : _0xd8282 = _0x1bcc5f, _0xd8282;
|
|
99
|
+
}
|
|
100
|
+
function createAttachmentCache(_0x3b5468 = {}) {
|
|
101
|
+
const _0x8a2767 = { _0x1c74f1: 0x229 }, _0x43e546 = {
|
|
102
|
+
_0x392f4a: 0x1b9,
|
|
103
|
+
_0x43dd48: 0x280,
|
|
104
|
+
_0x219b56: 0x282
|
|
105
|
+
}, _0x82e148 = _0x602e11, _0x13fb6d = _0x3b5468[_0x82e148(_0x8a2767._0x1c74f1)] ?? _0x58a35a[_0x82e148(0x2ed)](homedir(), _0x82e148(0x209), 'attachments');
|
|
93
106
|
return {
|
|
94
|
-
'cacheDir':
|
|
95
|
-
async 'findCachedPath'(
|
|
96
|
-
const
|
|
97
|
-
await mkdir(
|
|
98
|
-
const
|
|
99
|
-
return
|
|
107
|
+
'cacheDir': _0x13fb6d,
|
|
108
|
+
async 'findCachedPath'(_0x8f3d55) {
|
|
109
|
+
const _0x12852c = _0x82e148;
|
|
110
|
+
await mkdir(_0x13fb6d, { 'recursive': !![] });
|
|
111
|
+
const _0xed31c6 = await readdir(_0x13fb6d), _0x43dad0 = _0xed31c6[_0x12852c(0x268)](_0x13d0f1 => _0x13d0f1[_0x12852c(0x270)](_0x8f3d55 + '-') || _0x13d0f1[_0x12852c(0x270)](_0x8f3d55));
|
|
112
|
+
return _0x43dad0 ? _0x58a35a['join'](_0x13fb6d, _0x43dad0) : null;
|
|
100
113
|
},
|
|
101
|
-
async 'save'(
|
|
102
|
-
const
|
|
103
|
-
await mkdir(
|
|
104
|
-
const
|
|
105
|
-
return await writeFile(
|
|
114
|
+
async 'save'(_0x250ab0) {
|
|
115
|
+
const _0x11f135 = _0x82e148;
|
|
116
|
+
await mkdir(_0x13fb6d, { 'recursive': !![] });
|
|
117
|
+
const _0x21f788 = _0x250ab0[_0x11f135(_0x43e546._0x392f4a)]?.[_0x11f135(0x1cf)]() ? safeFilename(_0x250ab0[_0x11f135(0x1b9)]) : '' + _0x250ab0[_0x11f135(0x280)] + extensionFor(_0x250ab0['contentType']), _0x1ef810 = _0x58a35a[_0x11f135(0x2ed)](_0x13fb6d, _0x250ab0[_0x11f135(_0x43e546._0x43dd48)] + '-' + _0x21f788);
|
|
118
|
+
return await writeFile(_0x1ef810, _0x250ab0[_0x11f135(_0x43e546._0x219b56)]), _0x1ef810;
|
|
106
119
|
}
|
|
107
120
|
};
|
|
108
121
|
}
|
|
@@ -110,2248 +123,2241 @@ import {
|
|
|
110
123
|
createHash,
|
|
111
124
|
randomUUID
|
|
112
125
|
} from 'node:crypto';
|
|
113
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
114
|
-
function
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
let _0x1c2ba0 = _0x3e5357[_0x267a05];
|
|
118
|
-
if (_0x1c2b['YwKlon'] === undefined) {
|
|
119
|
-
var _0x4a917d = function (_0x33fd55) {
|
|
120
|
-
const _0x21991d = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
121
|
-
let _0x546ce1 = '', _0x654d92 = '';
|
|
122
|
-
for (let _0x1b3023 = 0x0, _0x128aa5, _0x1165e4, _0x319a85 = 0x0; _0x1165e4 = _0x33fd55['charAt'](_0x319a85++); ~_0x1165e4 && (_0x128aa5 = _0x1b3023 % 0x4 ? _0x128aa5 * 0x40 + _0x1165e4 : _0x1165e4, _0x1b3023++ % 0x4) ? _0x546ce1 += String['fromCharCode'](0xff & _0x128aa5 >> (-0x2 * _0x1b3023 & 0x6)) : 0x0) {
|
|
123
|
-
_0x1165e4 = _0x21991d['indexOf'](_0x1165e4);
|
|
124
|
-
}
|
|
125
|
-
for (let _0x23e575 = 0x0, _0x5860ac = _0x546ce1['length']; _0x23e575 < _0x5860ac; _0x23e575++) {
|
|
126
|
-
_0x654d92 += '%' + ('00' + _0x546ce1['charCodeAt'](_0x23e575)['toString'](0x10))['slice'](-0x2);
|
|
127
|
-
}
|
|
128
|
-
return decodeURIComponent(_0x654d92);
|
|
129
|
-
};
|
|
130
|
-
_0x1c2b['oxKhqt'] = _0x4a917d, _0x1c2b['ktBwqD'] = {}, _0x1c2b['YwKlon'] = !![];
|
|
131
|
-
}
|
|
132
|
-
const _0x3230a0 = _0x3e5357[0x0], _0x3403f9 = _0x267a05 + _0x3230a0, _0x2e5421 = _0x1c2b['ktBwqD'][_0x3403f9];
|
|
133
|
-
return !_0x2e5421 ? (_0x1c2ba0 = _0x1c2b['oxKhqt'](_0x1c2ba0), _0x1c2b['ktBwqD'][_0x3403f9] = _0x1c2ba0) : _0x1c2ba0 = _0x2e5421, _0x1c2ba0;
|
|
134
|
-
}
|
|
135
|
-
function ensureSegment(_0x47f680) {
|
|
136
|
-
const _0x5b485b = _0x47f680['trim']();
|
|
137
|
-
if (!_0x5b485b || _0x5b485b['includes'](':'))
|
|
126
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x602e11(0x227);
|
|
127
|
+
function ensureSegment(_0x4d43c8) {
|
|
128
|
+
const _0x25c696 = { _0x2389bd: 0x199 }, _0x14a96e = _0x602e11, _0xb2b63c = _0x4d43c8['trim']();
|
|
129
|
+
if (!_0xb2b63c || _0xb2b63c[_0x14a96e(_0x25c696._0x2389bd)](':'))
|
|
138
130
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
139
|
-
return
|
|
131
|
+
return _0xb2b63c;
|
|
140
132
|
}
|
|
141
|
-
function parseThreadParts(
|
|
142
|
-
const
|
|
143
|
-
if (
|
|
133
|
+
function parseThreadParts(_0x2c731b) {
|
|
134
|
+
const _0x11ba9b = _0x602e11, _0x542dca = _0x2c731b['split'](':');
|
|
135
|
+
if (_0x542dca[_0x11ba9b(0x235)] < 0x1 || _0x542dca['length'] > 0x2)
|
|
144
136
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
145
137
|
return {
|
|
146
|
-
'channelName': ensureSegment(
|
|
147
|
-
'threadShortId':
|
|
138
|
+
'channelName': ensureSegment(_0x542dca[0x0] ?? ''),
|
|
139
|
+
'threadShortId': _0x542dca[0x1] ? ensureSegment(_0x542dca[0x1]) : null
|
|
148
140
|
};
|
|
149
141
|
}
|
|
150
|
-
function parseTarget(
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
142
|
+
function parseTarget(_0x545b91) {
|
|
143
|
+
const _0xd6ac97 = {
|
|
144
|
+
_0xaf4544: 0x270,
|
|
145
|
+
_0x1ddc5d: 0x192,
|
|
146
|
+
_0x12e66a: 0x1aa,
|
|
147
|
+
_0x2d3344: 0x2dd,
|
|
148
|
+
_0x587579: 0x29d,
|
|
149
|
+
_0x29d629: 0x1f4,
|
|
150
|
+
_0x290eaf: 0x29d,
|
|
151
|
+
_0x1cac6d: 0x192,
|
|
152
|
+
_0x3ed64b: 0x2dd,
|
|
153
|
+
_0x1024fa: 0x1fe
|
|
154
|
+
}, _0xdd58dd = _0x602e11, _0x1cbbd4 = _0x545b91['trim']();
|
|
155
|
+
if (!_0x1cbbd4)
|
|
160
156
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
161
|
-
if (
|
|
162
|
-
const
|
|
163
|
-
if (!
|
|
157
|
+
if (_0x1cbbd4[_0xdd58dd(_0xd6ac97._0xaf4544)]('#')) {
|
|
158
|
+
const _0x31b2bc = parseThreadParts(_0x1cbbd4[_0xdd58dd(0x1c5)](0x1)), _0x2bebf8 = '#' + _0x31b2bc[_0xdd58dd(_0xd6ac97._0x1ddc5d)];
|
|
159
|
+
if (!_0x31b2bc[_0xdd58dd(0x1fe)])
|
|
164
160
|
return {
|
|
165
|
-
'channelName':
|
|
166
|
-
'channelTarget':
|
|
167
|
-
'kind':
|
|
168
|
-
'target':
|
|
161
|
+
'channelName': _0x31b2bc[_0xdd58dd(0x192)],
|
|
162
|
+
'channelTarget': _0x2bebf8,
|
|
163
|
+
'kind': _0xdd58dd(_0xd6ac97._0x12e66a),
|
|
164
|
+
'target': _0x2bebf8
|
|
169
165
|
};
|
|
170
166
|
return {
|
|
171
|
-
'channelName':
|
|
172
|
-
'channelTarget':
|
|
173
|
-
'kind':
|
|
174
|
-
'target':
|
|
175
|
-
'threadShortId':
|
|
167
|
+
'channelName': _0x31b2bc['channelName'],
|
|
168
|
+
'channelTarget': _0x2bebf8,
|
|
169
|
+
'kind': _0xdd58dd(_0xd6ac97._0x2d3344),
|
|
170
|
+
'target': _0x2bebf8 + ':' + _0x31b2bc['threadShortId'],
|
|
171
|
+
'threadShortId': _0x31b2bc['threadShortId']
|
|
176
172
|
};
|
|
177
173
|
}
|
|
178
|
-
if (
|
|
179
|
-
const
|
|
180
|
-
if (!
|
|
174
|
+
if (_0x1cbbd4[_0xdd58dd(_0xd6ac97._0xaf4544)](_0xdd58dd(_0xd6ac97._0x587579))) {
|
|
175
|
+
const _0x293500 = parseThreadParts(_0x1cbbd4['slice'](0x3));
|
|
176
|
+
if (!_0x293500[_0xdd58dd(0x192)][_0xdd58dd(0x270)](_0xdd58dd(_0xd6ac97._0x29d629)))
|
|
181
177
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
182
|
-
const
|
|
183
|
-
if (!
|
|
178
|
+
const _0x1f4c00 = _0xdd58dd(_0xd6ac97._0x290eaf) + _0x293500[_0xdd58dd(0x192)];
|
|
179
|
+
if (!_0x293500[_0xdd58dd(0x1fe)])
|
|
184
180
|
return {
|
|
185
|
-
'channelName':
|
|
186
|
-
'channelTarget':
|
|
187
|
-
'kind':
|
|
188
|
-
'target':
|
|
181
|
+
'channelName': _0x293500[_0xdd58dd(_0xd6ac97._0x1cac6d)],
|
|
182
|
+
'channelTarget': _0x1f4c00,
|
|
183
|
+
'kind': _0xdd58dd(0x1aa),
|
|
184
|
+
'target': _0x1f4c00
|
|
189
185
|
};
|
|
190
186
|
return {
|
|
191
|
-
'channelName':
|
|
192
|
-
'channelTarget':
|
|
193
|
-
'kind':
|
|
194
|
-
'target':
|
|
195
|
-
'threadShortId':
|
|
187
|
+
'channelName': _0x293500['channelName'],
|
|
188
|
+
'channelTarget': _0x1f4c00,
|
|
189
|
+
'kind': _0xdd58dd(_0xd6ac97._0x3ed64b),
|
|
190
|
+
'target': _0x1f4c00 + ':' + _0x293500[_0xdd58dd(_0xd6ac97._0x1024fa)],
|
|
191
|
+
'threadShortId': _0x293500[_0xdd58dd(0x1fe)]
|
|
196
192
|
};
|
|
197
193
|
}
|
|
198
194
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
199
195
|
}
|
|
200
|
-
function asErrorMessage(
|
|
201
|
-
const
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
196
|
+
function asErrorMessage(_0x429d78, _0x2978c6) {
|
|
197
|
+
const _0x357820 = {
|
|
198
|
+
_0x5b5bb3: 0x1e0,
|
|
199
|
+
_0x502a73: 0x1cf
|
|
200
|
+
}, _0x3af4a8 = _0x602e11;
|
|
201
|
+
if (typeof _0x429d78 === _0x3af4a8(_0x357820._0x5b5bb3) && _0x429d78[_0x3af4a8(_0x357820._0x502a73)]())
|
|
202
|
+
return _0x429d78;
|
|
203
|
+
return _0x2978c6;
|
|
205
204
|
}
|
|
206
|
-
function asRecord(
|
|
207
|
-
return typeof
|
|
205
|
+
function asRecord(_0x2c1d7a) {
|
|
206
|
+
return typeof _0x2c1d7a === 'object' && _0x2c1d7a !== null ? _0x2c1d7a : {};
|
|
208
207
|
}
|
|
209
|
-
function stableStringify(
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
},
|
|
214
|
-
if (
|
|
215
|
-
return JSON[
|
|
216
|
-
if (Array['isArray'](
|
|
217
|
-
return '[' +
|
|
218
|
-
const
|
|
219
|
-
return '{' +
|
|
208
|
+
function stableStringify(_0x412221) {
|
|
209
|
+
const _0x3bc538 = {
|
|
210
|
+
_0xab719a: 0x1fd,
|
|
211
|
+
_0x16c7bd: 0x1fd
|
|
212
|
+
}, _0x436748 = _0x602e11;
|
|
213
|
+
if (_0x412221 === null || typeof _0x412221 !== _0x436748(0x2d9))
|
|
214
|
+
return JSON[_0x436748(0x234)](_0x412221);
|
|
215
|
+
if (Array['isArray'](_0x412221))
|
|
216
|
+
return '[' + _0x412221[_0x436748(_0x3bc538._0xab719a)](_0x143f9d => stableStringify(_0x143f9d))[_0x436748(0x2ed)](',') + ']';
|
|
217
|
+
const _0x54bd2a = Object['entries'](_0x412221)[_0x436748(0x189)](([, _0x1142d2]) => _0x1142d2 !== void 0x0)[_0x436748(0x1e7)](([_0x46fb23], [_0x48b67c]) => _0x46fb23[_0x436748(0x1e9)](_0x48b67c))[_0x436748(_0x3bc538._0x16c7bd)](([_0x5c5d23, _0x5503c2]) => JSON[_0x436748(0x234)](_0x5c5d23) + ':' + stableStringify(_0x5503c2));
|
|
218
|
+
return '{' + _0x54bd2a[_0x436748(0x2ed)](',') + '}';
|
|
220
219
|
}
|
|
221
|
-
function createHeaders(
|
|
222
|
-
const
|
|
220
|
+
function createHeaders(_0x30df3f) {
|
|
221
|
+
const _0x53ed29 = _0x602e11;
|
|
223
222
|
return {
|
|
224
|
-
'Content-Type':
|
|
225
|
-
'x-daemon-api-key':
|
|
223
|
+
'Content-Type': _0x53ed29(0x266),
|
|
224
|
+
'x-daemon-api-key': _0x30df3f
|
|
226
225
|
};
|
|
227
226
|
}
|
|
228
|
-
function toHttpBaseUrl(
|
|
229
|
-
const
|
|
230
|
-
|
|
231
|
-
|
|
227
|
+
function toHttpBaseUrl(_0x14b908) {
|
|
228
|
+
const _0x28b722 = {
|
|
229
|
+
_0x3f3a36: 0x1b5,
|
|
230
|
+
_0x4e8a5f: 0x244
|
|
231
|
+
}, _0x32a36a = _0x602e11, _0x48d90b = new URL(_0x14b908);
|
|
232
|
+
if (_0x48d90b[_0x32a36a(0x1f0)] === _0x32a36a(0x1b7))
|
|
233
|
+
_0x48d90b['protocol'] = _0x32a36a(_0x28b722._0x3f3a36);
|
|
232
234
|
else
|
|
233
|
-
|
|
234
|
-
return
|
|
235
|
+
_0x48d90b['protocol'] === 'wss:' && (_0x48d90b[_0x32a36a(0x1f0)] = _0x32a36a(0x1a1));
|
|
236
|
+
return _0x48d90b['toString']()[_0x32a36a(_0x28b722._0x4e8a5f)](/\/$/, '');
|
|
235
237
|
}
|
|
236
|
-
function isMentionBoundary(
|
|
237
|
-
|
|
238
|
+
function isMentionBoundary(_0x43c8bb) {
|
|
239
|
+
const _0x2cb8c = { _0x403c9b: 0x202 }, _0x1b184d = _0x602e11;
|
|
240
|
+
return !_0x43c8bb || /\s|[([{'",。!?、:;]/[_0x1b184d(_0x2cb8c._0x403c9b)](_0x43c8bb);
|
|
238
241
|
}
|
|
239
|
-
function isMentionTerminal(
|
|
240
|
-
|
|
242
|
+
function isMentionTerminal(_0x2495fd) {
|
|
243
|
+
const _0x50a2eb = _0x602e11;
|
|
244
|
+
return !_0x2495fd || /\s|[)\]}'",。!?、:;,.!?]/[_0x50a2eb(0x202)](_0x2495fd);
|
|
241
245
|
}
|
|
242
|
-
function buildMatchableEntries(
|
|
243
|
-
const
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
},
|
|
248
|
-
for (const
|
|
249
|
-
...
|
|
250
|
-
...
|
|
246
|
+
function buildMatchableEntries(_0x5e81e5) {
|
|
247
|
+
const _0x12cae0 = {
|
|
248
|
+
_0x13b4a7: 0x19a,
|
|
249
|
+
_0x2c298c: 0x2c3,
|
|
250
|
+
_0x38b7cb: 0x2ef
|
|
251
|
+
}, _0x344bfa = _0x602e11, _0x1b6130 = [];
|
|
252
|
+
for (const _0x4671d1 of [
|
|
253
|
+
..._0x5e81e5[_0x344bfa(0x25b)],
|
|
254
|
+
..._0x5e81e5['humans']
|
|
251
255
|
]) {
|
|
252
|
-
|
|
253
|
-
'matchName':
|
|
254
|
-
'matchNameLower':
|
|
255
|
-
'participantId':
|
|
256
|
-
}),
|
|
257
|
-
'matchName':
|
|
258
|
-
'matchNameLower':
|
|
259
|
-
'participantId':
|
|
256
|
+
_0x1b6130[_0x344bfa(0x2ef)]({
|
|
257
|
+
'matchName': _0x4671d1[_0x344bfa(0x2c3)],
|
|
258
|
+
'matchNameLower': _0x4671d1[_0x344bfa(0x2c3)][_0x344bfa(_0x12cae0._0x13b4a7)](),
|
|
259
|
+
'participantId': _0x4671d1['id']
|
|
260
|
+
}), _0x4671d1['id'] !== _0x4671d1[_0x344bfa(_0x12cae0._0x2c298c)] && _0x1b6130[_0x344bfa(_0x12cae0._0x38b7cb)]({
|
|
261
|
+
'matchName': _0x4671d1['id'],
|
|
262
|
+
'matchNameLower': _0x4671d1['id'][_0x344bfa(_0x12cae0._0x13b4a7)](),
|
|
263
|
+
'participantId': _0x4671d1['id']
|
|
260
264
|
});
|
|
261
265
|
}
|
|
262
|
-
return
|
|
266
|
+
return _0x1b6130;
|
|
263
267
|
}
|
|
264
|
-
function extractMentionedParticipantIds(
|
|
265
|
-
const
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
},
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
_0x53ec45: 0x1fe
|
|
275
|
-
}, _0x10bda3 = _0x506949, _0x2fe104 = buildMatchableEntries(_0x4cc767)[_0x10bda3(0x16c)]((_0x3c79bc, _0x2af0af) => _0x2af0af[_0x10bda3(0x1e4)][_0x10bda3(0x1fe)] - _0x3c79bc[_0x10bda3(0x1e4)][_0x10bda3(0x1fe)]), _0x566fea = [], _0x5eaca3 = new Set();
|
|
276
|
-
for (let _0x1c1523 = 0x0; _0x1c1523 < _0x5cc6f6[_0x10bda3(0x1fe)]; _0x1c1523 += 0x1) {
|
|
277
|
-
if (_0x5cc6f6[_0x1c1523] !== '@' || !isMentionBoundary(_0x5cc6f6[_0x1c1523 - 0x1]))
|
|
268
|
+
function extractMentionedParticipantIds(_0x239ecc, _0x10fa00) {
|
|
269
|
+
const _0x49ad05 = {
|
|
270
|
+
_0x1bffce: 0x1e7,
|
|
271
|
+
_0x8b1141: 0x235,
|
|
272
|
+
_0x4521b4: 0x268,
|
|
273
|
+
_0x2c3b97: 0x2d0,
|
|
274
|
+
_0x37c65a: 0x2ef
|
|
275
|
+
}, _0x1f2cde = { _0xc89654: 0x270 }, _0x3f4636 = _0x602e11, _0xaec79e = buildMatchableEntries(_0x10fa00)[_0x3f4636(_0x49ad05._0x1bffce)]((_0x18f034, _0xe58b63) => _0xe58b63['matchName'][_0x3f4636(0x235)] - _0x18f034['matchName'][_0x3f4636(0x235)]), _0x41593e = [], _0x27c073 = new Set();
|
|
276
|
+
for (let _0x31d0bc = 0x0; _0x31d0bc < _0x239ecc[_0x3f4636(_0x49ad05._0x8b1141)]; _0x31d0bc += 0x1) {
|
|
277
|
+
if (_0x239ecc[_0x31d0bc] !== '@' || !isMentionBoundary(_0x239ecc[_0x31d0bc - 0x1]))
|
|
278
278
|
continue;
|
|
279
|
-
const
|
|
280
|
-
const
|
|
281
|
-
if (!
|
|
279
|
+
const _0x415f4c = _0x239ecc['slice'](_0x31d0bc + 0x1), _0x1cc54b = _0x415f4c[_0x3f4636(0x19a)](), _0x5171e3 = _0xaec79e[_0x3f4636(_0x49ad05._0x4521b4)](_0x518b9e => {
|
|
280
|
+
const _0x142840 = _0x3f4636;
|
|
281
|
+
if (!_0x1cc54b[_0x142840(_0x1f2cde._0xc89654)](_0x518b9e[_0x142840(0x182)]))
|
|
282
282
|
return ![];
|
|
283
|
-
return isMentionTerminal(
|
|
283
|
+
return isMentionTerminal(_0x415f4c[_0x518b9e[_0x142840(0x24d)][_0x142840(0x235)]]);
|
|
284
284
|
});
|
|
285
|
-
if (!
|
|
285
|
+
if (!_0x5171e3 || _0x27c073[_0x3f4636(0x2ab)](_0x5171e3['participantId']))
|
|
286
286
|
continue;
|
|
287
|
-
|
|
287
|
+
_0x27c073[_0x3f4636(_0x49ad05._0x2c3b97)](_0x5171e3['participantId']), _0x41593e[_0x3f4636(_0x49ad05._0x37c65a)](_0x5171e3[_0x3f4636(0x2a8)]), _0x31d0bc += _0x5171e3['matchName']['length'];
|
|
288
288
|
}
|
|
289
|
-
return
|
|
289
|
+
return _0x41593e;
|
|
290
290
|
}
|
|
291
291
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
292
|
-
function anySignal(...
|
|
293
|
-
const
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
292
|
+
function anySignal(..._0x24e5ba) {
|
|
293
|
+
const _0x580389 = {
|
|
294
|
+
_0x51b887: 0x1df,
|
|
295
|
+
_0x222319: 0x29c,
|
|
296
|
+
_0x25f588: 0x2db
|
|
297
|
+
}, _0x2561cd = _0x602e11, _0x52cebe = new AbortController();
|
|
298
|
+
for (const _0x57ae0f of _0x24e5ba) {
|
|
299
|
+
if (_0x57ae0f[_0x2561cd(_0x580389._0x51b887)])
|
|
300
|
+
return _0x52cebe[_0x2561cd(0x304)](_0x57ae0f[_0x2561cd(_0x580389._0x222319)]), _0x52cebe[_0x2561cd(_0x580389._0x25f588)];
|
|
301
|
+
_0x57ae0f[_0x2561cd(0x18e)](_0x2561cd(0x304), () => _0x52cebe[_0x2561cd(0x304)](_0x57ae0f['reason']), {
|
|
298
302
|
'once': !![],
|
|
299
|
-
'signal':
|
|
303
|
+
'signal': _0x52cebe[_0x2561cd(_0x580389._0x25f588)]
|
|
300
304
|
});
|
|
301
305
|
}
|
|
302
|
-
return
|
|
306
|
+
return _0x52cebe[_0x2561cd(0x2db)];
|
|
303
307
|
}
|
|
304
|
-
function createInternalAgentClient(
|
|
305
|
-
const
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
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
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
return _0x54cf3c(_0xf2fdfb._0x418cd6) + _0x24fa77['requestUrl'] + '\x20返回了非\x20JSON\x20响应(status=' + _0x24fa77['response'][_0x54cf3c(_0xf2fdfb._0xe374a6)] + ',\x20content-type=' + _0xec0a28 + _0x54cf3c(0x18c) + _0x175303 + _0x54cf3c(0x1dd);
|
|
308
|
+
function createInternalAgentClient(_0x21a809) {
|
|
309
|
+
const _0x53cc9a = {
|
|
310
|
+
_0x5d8679: 0x188,
|
|
311
|
+
_0x39545f: 0x24a,
|
|
312
|
+
_0xeda1e6: 0x274,
|
|
313
|
+
_0x353fc2: 0x17a
|
|
314
|
+
}, _0x4f1608 = {
|
|
315
|
+
_0x54759c: 0x1b0,
|
|
316
|
+
_0x1f67e9: 0x292,
|
|
317
|
+
_0x157fa6: 0x2f1,
|
|
318
|
+
_0x55ec71: 0x189,
|
|
319
|
+
_0x3aca21: 0x1fd,
|
|
320
|
+
_0x47dd2a: 0x198,
|
|
321
|
+
_0x349c5f: 0x283,
|
|
322
|
+
_0x45c178: 0x1e0,
|
|
323
|
+
_0x3dd466: 0x21a,
|
|
324
|
+
_0x36b09a: 0x1ee,
|
|
325
|
+
_0x6b3b98: 0x2b2,
|
|
326
|
+
_0x1082ce: 0x1bf,
|
|
327
|
+
_0xdadafa: 0x198,
|
|
328
|
+
_0x23de31: 0x2c3,
|
|
329
|
+
_0x52b21b: 0x2a5,
|
|
330
|
+
_0x4e0b7e: 0x29d,
|
|
331
|
+
_0x3705aa: 0x235,
|
|
332
|
+
_0x199332: 0x1fd,
|
|
333
|
+
_0x3a9483: 0x198,
|
|
334
|
+
_0x51f5cb: 0x2ef,
|
|
335
|
+
_0x579d40: 0x2f5,
|
|
336
|
+
_0x4e70d6: 0x2a5,
|
|
337
|
+
_0x10d283: 0x184,
|
|
338
|
+
_0x2c3bb4: 0x2a0,
|
|
339
|
+
_0x4341b6: 0x25f,
|
|
340
|
+
_0x418ace: 0x20b,
|
|
341
|
+
_0x185bac: 0x2ef
|
|
342
|
+
}, _0x75045f = {
|
|
343
|
+
_0x130c75: 0x1af,
|
|
344
|
+
_0x21ed09: 0x2f3
|
|
345
|
+
}, _0x2ba9bd = {
|
|
346
|
+
_0x27a1eb: 0x1a4,
|
|
347
|
+
_0x154eb2: 0x1b0,
|
|
348
|
+
_0x17031c: 0x252,
|
|
349
|
+
_0x732f32: 0x2ae,
|
|
350
|
+
_0x2a4f59: 0x282,
|
|
351
|
+
_0xf5a0a7: 0x2e3,
|
|
352
|
+
_0x58b46e: 0x265,
|
|
353
|
+
_0x2403a0: 0x282
|
|
354
|
+
}, _0x158f75 = {
|
|
355
|
+
_0x53419b: 0x1aa,
|
|
356
|
+
_0x2e51ec: 0x2e9,
|
|
357
|
+
_0x442389: 0x210,
|
|
358
|
+
_0xb87cf2: 0x204,
|
|
359
|
+
_0x61ce5a: 0x269,
|
|
360
|
+
_0x14c2a2: 0x282,
|
|
361
|
+
_0x2cccc9: 0x291
|
|
362
|
+
}, _0x47b932 = {
|
|
363
|
+
_0x2a113f: 0x210,
|
|
364
|
+
_0x31e796: 0x204,
|
|
365
|
+
_0x305da9: 0x1c4
|
|
366
|
+
}, _0x2d0a36 = { _0x4d77ac: 0x29e }, _0x421d21 = {
|
|
367
|
+
_0x23e19b: 0x234,
|
|
368
|
+
_0x59004e: 0x29e
|
|
369
|
+
}, _0x20110d = {
|
|
370
|
+
_0x59d540: 0x204,
|
|
371
|
+
_0x2a294e: 0x234
|
|
372
|
+
}, _0x22f9c6 = {
|
|
373
|
+
_0x15999b: 0x2b2,
|
|
374
|
+
_0x7faadb: 0x2ae
|
|
375
|
+
}, _0x503968 = {
|
|
376
|
+
_0x596300: 0x2a1,
|
|
377
|
+
_0x4000ff: 0x253,
|
|
378
|
+
_0x539dcd: 0x231,
|
|
379
|
+
_0x532a70: 0x29e
|
|
380
|
+
}, _0x3fc82e = {
|
|
381
|
+
_0x34d7c2: 0x2f6,
|
|
382
|
+
_0x548b4f: 0x2a1,
|
|
383
|
+
_0xf1b54d: 0x234,
|
|
384
|
+
_0x13478b: 0x282
|
|
385
|
+
}, _0x76d3b4 = {
|
|
386
|
+
_0x1f8d17: 0x29e,
|
|
387
|
+
_0x507268: 0x282
|
|
388
|
+
}, _0x4aa387 = {
|
|
389
|
+
_0x5ba3ea: 0x2c8,
|
|
390
|
+
_0x338494: 0x282
|
|
391
|
+
}, _0x241e2c = {
|
|
392
|
+
_0x315843: 0x2f3,
|
|
393
|
+
_0x4c6f91: 0x199,
|
|
394
|
+
_0x51b6f2: 0x204,
|
|
395
|
+
_0x3107eb: 0x22d,
|
|
396
|
+
_0x501cd5: 0x283,
|
|
397
|
+
_0x2ad42d: 0x235,
|
|
398
|
+
_0x1a8d4f: 0x2e9,
|
|
399
|
+
_0x21287c: 0x279,
|
|
400
|
+
_0x1c21da: 0x29e
|
|
401
|
+
}, _0x350b96 = {
|
|
402
|
+
_0x5adb91: 0x2b2,
|
|
403
|
+
_0xb389b5: 0x2e9,
|
|
404
|
+
_0x5655c1: 0x1af,
|
|
405
|
+
_0x3d7904: 0x292,
|
|
406
|
+
_0x22529a: 0x277,
|
|
407
|
+
_0x159d06: 0x210,
|
|
408
|
+
_0xb3fb96: 0x1f2,
|
|
409
|
+
_0x206727: 0x282,
|
|
410
|
+
_0x139def: 0x1fd,
|
|
411
|
+
_0x4a813f: 0x2c7,
|
|
412
|
+
_0x43278a: 0x2e2
|
|
413
|
+
}, _0x35cb42 = {
|
|
414
|
+
_0x2b9d0d: 0x1ab,
|
|
415
|
+
_0x182f4d: 0x2c3
|
|
416
|
+
}, _0x267f5e = {
|
|
417
|
+
_0x3bc389: 0x2a8,
|
|
418
|
+
_0x287218: 0x2a8
|
|
419
|
+
}, _0x33932c = {
|
|
420
|
+
_0x29639c: 0x2a5,
|
|
421
|
+
_0x2c18a1: 0x2dd,
|
|
422
|
+
_0x2643b1: 0x2c7,
|
|
423
|
+
_0x3feae5: 0x1fe,
|
|
424
|
+
_0x2f3a95: 0x270,
|
|
425
|
+
_0x387d93: 0x2e9,
|
|
426
|
+
_0x574bc0: 0x2e9,
|
|
427
|
+
_0x2da418: 0x1fe
|
|
428
|
+
}, _0x3b5718 = {
|
|
429
|
+
_0x593a9f: 0x2c7,
|
|
430
|
+
_0x2e7978: 0x18f
|
|
431
|
+
}, _0x349605 = { _0x3ae278: 0x26d }, _0x41529f = {
|
|
432
|
+
_0x1accd3: 0x1ea,
|
|
433
|
+
_0x35a9fa: 0x1fd,
|
|
434
|
+
_0x40acde: 0x189,
|
|
435
|
+
_0x552871: 0x282,
|
|
436
|
+
_0x21c283: 0x245
|
|
437
|
+
}, _0x44f9a2 = {
|
|
438
|
+
_0x585826: 0x210,
|
|
439
|
+
_0x5f3e69: 0x29e,
|
|
440
|
+
_0x39f829: 0x282,
|
|
441
|
+
_0x2907b7: 0x1a3,
|
|
442
|
+
_0x1ea1e6: 0x282,
|
|
443
|
+
_0x5f1b79: 0x21a
|
|
444
|
+
}, _0xd41166 = {
|
|
445
|
+
_0x865dc5: 0x266,
|
|
446
|
+
_0x171e08: 0x29e
|
|
447
|
+
}, _0x1de3cf = {
|
|
448
|
+
_0x284247: 0x179,
|
|
449
|
+
_0x55ce03: 0x2de
|
|
450
|
+
}, _0x4fe39b = {
|
|
451
|
+
_0x5af10f: 0x2db,
|
|
452
|
+
_0xadbcee: 0x252,
|
|
453
|
+
_0x57cdae: 0x2ae
|
|
454
|
+
}, _0x5beecc = { _0x5ecd9d: 0x252 }, _0x32d59d = {
|
|
455
|
+
_0x5de18d: 0x23f,
|
|
456
|
+
_0x2fe312: 0x1e0,
|
|
457
|
+
_0x1f9ff2: 0x1cf,
|
|
458
|
+
_0x498ead: 0x1ba,
|
|
459
|
+
_0x414ba3: 0x2b4,
|
|
460
|
+
_0x688c9e: 0x2b5,
|
|
461
|
+
_0x455ca8: 0x1fa,
|
|
462
|
+
_0x526c97: 0x20f,
|
|
463
|
+
_0x443886: 0x2b2
|
|
464
|
+
}, _0x521425 = {
|
|
465
|
+
_0x2327ee: 0x265,
|
|
466
|
+
_0x40cb76: 0x1d6,
|
|
467
|
+
_0x5eb5d5: 0x1f2,
|
|
468
|
+
_0x6b5a93: 0x26e
|
|
469
|
+
}, _0x132b0a = {
|
|
470
|
+
_0x24cad5: 0x1f9,
|
|
471
|
+
_0x3aa3c6: 0x1cf,
|
|
472
|
+
_0x3285cb: 0x244,
|
|
473
|
+
_0x1323df: 0x303,
|
|
474
|
+
_0x1637e0: 0x295,
|
|
475
|
+
_0xbad63f: 0x1b4,
|
|
476
|
+
_0x596d0f: 0x2ae,
|
|
477
|
+
_0x30c1af: 0x296,
|
|
478
|
+
_0x3fa014: 0x1c9
|
|
479
|
+
}, _0x2e7ca6 = _0x602e11, _0x2197a7 = _0x21a809[_0x2e7ca6(0x21b)] ?? fetch, _0x2effb9 = _0x21a809[_0x2e7ca6(_0x53cc9a._0x5d8679)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x378d16 = typeof _0x21a809['initialLastSeenSeq'] === _0x2e7ca6(0x2e8) && _0x21a809[_0x2e7ca6(_0x53cc9a._0x39545f)] > 0x0 ? _0x21a809[_0x2e7ca6(0x24a)] : 0x0, _0x1325de = _0x21a809['daemonLocalUrl']?.[_0x2e7ca6(0x1cf)]() || void 0x0, _0x2c8033 = _0x21a809['sessionId']?.[_0x2e7ca6(0x1cf)]() || void 0x0, _0x115e71 = _0x21a809['workerModeEnabled'] === !![], _0x9b2cc6 = _0x21a809['workerSessionId']?.[_0x2e7ca6(0x1cf)]() || void 0x0, _0x29ee68 = _0x21a809[_0x2e7ca6(_0x53cc9a._0xeda1e6)]?.[_0x2e7ca6(0x1cf)]() || void 0x0, _0x5c7a99 = createHeaders(_0x21a809[_0x2e7ca6(_0x53cc9a._0x353fc2)]), _0x507360 = toHttpBaseUrl(_0x21a809['serverUrl']);
|
|
480
|
+
let _0x20ce0c = null;
|
|
481
|
+
const _0x2a3fc1 = new Map();
|
|
482
|
+
let _0x4e7d37 = _0x378d16, _0x2172ac = _0x378d16;
|
|
483
|
+
function _0x2c4524(_0xe7b9b7) {
|
|
484
|
+
const _0x26b255 = _0x2e7ca6, _0x198825 = _0xe7b9b7['response'][_0x26b255(0x23e)]['get'](_0x26b255(0x2b0)) ?? _0x26b255(_0x132b0a._0x24cad5), _0x56cb6c = _0xe7b9b7['bodyText'][_0x26b255(_0x132b0a._0x3aa3c6)]()[_0x26b255(_0x132b0a._0x3285cb)](/\s+/g, '\x20')[_0x26b255(0x1c5)](0x0, 0x78) || _0x26b255(_0x132b0a._0x1323df);
|
|
485
|
+
return _0x26b255(_0x132b0a._0x1637e0) + _0xe7b9b7[_0x26b255(0x1c2)] + _0x26b255(0x2a7) + _0xe7b9b7[_0x26b255(_0x132b0a._0xbad63f)][_0x26b255(_0x132b0a._0x596d0f)] + _0x26b255(0x1ca) + _0x198825 + _0x26b255(_0x132b0a._0x30c1af) + _0x56cb6c + _0x26b255(_0x132b0a._0x3fa014);
|
|
483
486
|
}
|
|
484
|
-
async function
|
|
485
|
-
const
|
|
486
|
-
if (!
|
|
487
|
+
async function _0x5aa6eb(_0x34ee0f, _0x1ca4e8) {
|
|
488
|
+
const _0x4f209f = _0x2e7ca6, _0x301109 = Buffer[_0x4f209f(_0x521425._0x2327ee)](await _0x1ca4e8[_0x4f209f(_0x521425._0x40cb76)]())[_0x4f209f(_0x521425._0x5eb5d5)](_0x4f209f(0x27c));
|
|
489
|
+
if (!_0x301109[_0x4f209f(0x1cf)]())
|
|
487
490
|
return {};
|
|
488
491
|
try {
|
|
489
|
-
return JSON[
|
|
492
|
+
return JSON[_0x4f209f(_0x521425._0x6b5a93)](_0x301109);
|
|
490
493
|
} catch {
|
|
491
|
-
throw new Error(
|
|
492
|
-
'bodyText':
|
|
493
|
-
'requestUrl':
|
|
494
|
-
'response':
|
|
494
|
+
throw new Error(_0x2c4524({
|
|
495
|
+
'bodyText': _0x301109,
|
|
496
|
+
'requestUrl': _0x34ee0f,
|
|
497
|
+
'response': _0x1ca4e8
|
|
495
498
|
}));
|
|
496
499
|
}
|
|
497
500
|
}
|
|
498
|
-
function
|
|
499
|
-
const
|
|
500
|
-
if (
|
|
501
|
-
return
|
|
502
|
-
const
|
|
503
|
-
for (const [
|
|
504
|
-
|
|
501
|
+
function _0x22f906(_0x3084a7, _0x249efa) {
|
|
502
|
+
const _0x3516c7 = _0x2e7ca6, _0xa7cccd = typeof _0x249efa[_0x3516c7(_0x32d59d._0x5de18d)] === _0x3516c7(_0x32d59d._0x2fe312) ? _0x249efa['idempotency_key'][_0x3516c7(_0x32d59d._0x1f9ff2)]() : '';
|
|
503
|
+
if (_0xa7cccd)
|
|
504
|
+
return _0xa7cccd;
|
|
505
|
+
const _0x1c20d0 = Date[_0x3516c7(_0x32d59d._0x498ead)]();
|
|
506
|
+
for (const [_0x329dbb, _0x27f387] of _0x2a3fc1) {
|
|
507
|
+
_0x27f387[_0x3516c7(_0x32d59d._0x414ba3)] <= _0x1c20d0 && _0x2a3fc1['delete'](_0x329dbb);
|
|
505
508
|
}
|
|
506
|
-
const
|
|
507
|
-
...
|
|
509
|
+
const _0x2ea5a1 = {
|
|
510
|
+
..._0x249efa,
|
|
508
511
|
'idempotency_key': void 0x0
|
|
509
|
-
},
|
|
510
|
-
if (
|
|
511
|
-
return
|
|
512
|
-
const
|
|
513
|
-
return
|
|
514
|
-
'expiresAt':
|
|
515
|
-
'value':
|
|
516
|
-
}),
|
|
512
|
+
}, _0x3b56aa = createHash(_0x3516c7(0x1ec))[_0x3516c7(_0x32d59d._0x688c9e)](_0x3084a7 + ':' + stableStringify(_0x2ea5a1))['digest']('hex'), _0x46d122 = _0x3084a7 + ':' + _0x3b56aa, _0x2e866f = _0x2a3fc1[_0x3516c7(_0x32d59d._0x455ca8)](_0x46d122);
|
|
513
|
+
if (_0x2e866f)
|
|
514
|
+
return _0x2e866f[_0x3516c7(0x1e3)];
|
|
515
|
+
const _0x22da68 = _0x3516c7(_0x32d59d._0x526c97) + _0x3084a7 + ':' + randomUUID();
|
|
516
|
+
return _0x2a3fc1[_0x3516c7(_0x32d59d._0x443886)](_0x46d122, {
|
|
517
|
+
'expiresAt': _0x1c20d0 + 0x5 * 0x3c * 0x3e8,
|
|
518
|
+
'value': _0x22da68
|
|
519
|
+
}), _0x22da68;
|
|
517
520
|
}
|
|
518
|
-
async function
|
|
519
|
-
const
|
|
521
|
+
async function _0x2d8706(_0x21b658, _0x40221a) {
|
|
522
|
+
const _0x4e0868 = _0x2e7ca6, _0x48598d = new AbortController(), _0x16e9e3 = setTimeout(() => _0x48598d[_0x4e0868(0x304)](), _0x2effb9), _0x3fa2ff = _0x40221a?.[_0x4e0868(0x2db)] ? anySignal(_0x40221a[_0x4e0868(0x2db)], _0x48598d['signal']) : _0x48598d[_0x4e0868(0x2db)], _0x5e4850 = '' + _0x507360 + _0x21b658;
|
|
520
523
|
try {
|
|
521
|
-
const
|
|
522
|
-
...
|
|
523
|
-
'signal':
|
|
524
|
-
}),
|
|
525
|
-
if (!
|
|
526
|
-
throw new Error(asErrorMessage(
|
|
527
|
-
return
|
|
524
|
+
const _0x488647 = await _0x2197a7(_0x5e4850, {
|
|
525
|
+
..._0x40221a,
|
|
526
|
+
'signal': _0x3fa2ff
|
|
527
|
+
}), _0x593c06 = await _0x5aa6eb(_0x5e4850, _0x488647);
|
|
528
|
+
if (!_0x488647['ok'] || _0x593c06[_0x4e0868(0x27a)] === ![])
|
|
529
|
+
throw new Error(asErrorMessage(_0x593c06[_0x4e0868(0x231)], _0x4e0868(_0x5beecc._0x5ecd9d) + _0x488647[_0x4e0868(0x2ae)]));
|
|
530
|
+
return _0x593c06;
|
|
528
531
|
} finally {
|
|
529
|
-
clearTimeout(
|
|
532
|
+
clearTimeout(_0x16e9e3);
|
|
530
533
|
}
|
|
531
534
|
}
|
|
532
|
-
async function
|
|
533
|
-
const
|
|
535
|
+
async function _0x1e683a(_0x402f1e, _0x1c509e) {
|
|
536
|
+
const _0x1923b4 = _0x2e7ca6, _0x512bff = new AbortController(), _0x227763 = setTimeout(() => _0x512bff[_0x1923b4(0x304)](), _0x2effb9), _0x3c5f51 = _0x1c509e?.['signal'] ? anySignal(_0x1c509e['signal'], _0x512bff[_0x1923b4(_0x4fe39b._0x5af10f)]) : _0x512bff['signal'], _0x139957 = '' + _0x507360 + _0x402f1e;
|
|
534
537
|
try {
|
|
535
|
-
const
|
|
536
|
-
...
|
|
537
|
-
'signal':
|
|
538
|
-
}),
|
|
539
|
-
if (!
|
|
540
|
-
throw new Error(asErrorMessage(
|
|
541
|
-
return
|
|
538
|
+
const _0x4e7e41 = await _0x2197a7(_0x139957, {
|
|
539
|
+
..._0x1c509e,
|
|
540
|
+
'signal': _0x3c5f51
|
|
541
|
+
}), _0x5f4ecd = await _0x5aa6eb(_0x139957, _0x4e7e41);
|
|
542
|
+
if (!_0x4e7e41['ok'])
|
|
543
|
+
throw new Error(asErrorMessage(_0x5f4ecd['error'], _0x1923b4(_0x4fe39b._0xadbcee) + _0x4e7e41[_0x1923b4(_0x4fe39b._0x57cdae)]));
|
|
544
|
+
return _0x5f4ecd;
|
|
542
545
|
} finally {
|
|
543
|
-
clearTimeout(
|
|
546
|
+
clearTimeout(_0x227763);
|
|
544
547
|
}
|
|
545
548
|
}
|
|
546
|
-
async function
|
|
547
|
-
const
|
|
548
|
-
if (!
|
|
549
|
+
async function _0x35621e(_0x7c7f0d) {
|
|
550
|
+
const _0x1e81bb = _0x2e7ca6;
|
|
551
|
+
if (!_0x2c8033 || _0x7c7f0d <= _0x2172ac)
|
|
549
552
|
return;
|
|
550
|
-
await
|
|
551
|
-
'body': JSON[
|
|
552
|
-
'headers':
|
|
553
|
-
'method':
|
|
554
|
-
}),
|
|
553
|
+
await _0x2d8706(_0x1e81bb(_0x1de3cf._0x284247) + encodeURIComponent(_0x2c8033) + _0x1e81bb(_0x1de3cf._0x55ce03), {
|
|
554
|
+
'body': JSON[_0x1e81bb(0x234)]({ 'lastSeenSeq': _0x7c7f0d }),
|
|
555
|
+
'headers': _0x5c7a99,
|
|
556
|
+
'method': _0x1e81bb(0x190)
|
|
557
|
+
}), _0x2172ac = _0x7c7f0d;
|
|
555
558
|
}
|
|
556
|
-
async function
|
|
557
|
-
const
|
|
558
|
-
if (!
|
|
559
|
+
async function _0x4168c1(_0x78bf1b) {
|
|
560
|
+
const _0x539772 = _0x2e7ca6;
|
|
561
|
+
if (!_0x1325de || !_0x9b2cc6 || _0x78bf1b <= _0x2172ac)
|
|
559
562
|
return;
|
|
560
|
-
const
|
|
563
|
+
const _0x5ce75e = await _0x2197a7(_0x1325de + '/workers/context-metrics', {
|
|
561
564
|
'body': JSON['stringify']({
|
|
562
|
-
'last_seen_seq':
|
|
563
|
-
'worker_session_id':
|
|
565
|
+
'last_seen_seq': _0x78bf1b,
|
|
566
|
+
'worker_session_id': _0x9b2cc6
|
|
564
567
|
}),
|
|
565
|
-
'headers': { 'Content-Type':
|
|
566
|
-
'method':
|
|
568
|
+
'headers': { 'Content-Type': _0x539772(_0xd41166._0x865dc5) },
|
|
569
|
+
'method': _0x539772(_0xd41166._0x171e08)
|
|
567
570
|
});
|
|
568
|
-
if (!
|
|
569
|
-
throw new Error(
|
|
570
|
-
|
|
571
|
+
if (!_0x5ce75e['ok'])
|
|
572
|
+
throw new Error(_0x539772(0x252) + _0x5ce75e[_0x539772(0x2ae)]);
|
|
573
|
+
_0x2172ac = _0x78bf1b;
|
|
571
574
|
}
|
|
572
|
-
async function
|
|
573
|
-
const
|
|
574
|
-
'body': JSON[
|
|
575
|
-
'headers':
|
|
576
|
-
'method':
|
|
575
|
+
async function _0x163e04(_0x561b73) {
|
|
576
|
+
const _0xa71855 = _0x2e7ca6, _0x6f4a23 = parseTarget(_0x561b73), _0x5bae61 = await _0x2d8706(_0xa71855(_0x44f9a2._0x585826) + _0x21a809[_0xa71855(0x204)] + _0xa71855(0x186), {
|
|
577
|
+
'body': JSON['stringify']({ 'target': _0x6f4a23[_0xa71855(0x2f3)] }),
|
|
578
|
+
'headers': _0x5c7a99,
|
|
579
|
+
'method': _0xa71855(_0x44f9a2._0x5f3e69)
|
|
577
580
|
});
|
|
578
581
|
return {
|
|
579
|
-
'channelId':
|
|
580
|
-
'target':
|
|
581
|
-
'task':
|
|
582
|
-
'threadId':
|
|
583
|
-
'threadNumber':
|
|
582
|
+
'channelId': _0x5bae61[_0xa71855(_0x44f9a2._0x39f829)]?.['channelId'] ?? '',
|
|
583
|
+
'target': _0x6f4a23[_0xa71855(0x2c7)],
|
|
584
|
+
'task': _0x5bae61[_0xa71855(0x282)]?.[_0xa71855(_0x44f9a2._0x2907b7)],
|
|
585
|
+
'threadId': _0x5bae61[_0xa71855(_0x44f9a2._0x1ea1e6)]?.[_0xa71855(0x2e9)],
|
|
586
|
+
'threadNumber': _0x5bae61[_0xa71855(_0x44f9a2._0x39f829)]?.[_0xa71855(_0x44f9a2._0x5f1b79)]
|
|
584
587
|
};
|
|
585
588
|
}
|
|
586
|
-
async function
|
|
587
|
-
const
|
|
588
|
-
if (!
|
|
589
|
-
return
|
|
590
|
-
return
|
|
591
|
-
const
|
|
592
|
-
'headers':
|
|
593
|
-
'method':
|
|
594
|
-
}),
|
|
595
|
-
'id':
|
|
596
|
-
'name':
|
|
597
|
-
}))[
|
|
598
|
-
'id':
|
|
599
|
-
'name':
|
|
600
|
-
}))[
|
|
589
|
+
async function _0x73bd40(_0x5e40a1 = {}) {
|
|
590
|
+
const _0x5d8ccb = _0x2e7ca6;
|
|
591
|
+
if (!_0x5e40a1[_0x5d8ccb(0x17d)] && _0x20ce0c)
|
|
592
|
+
return _0x20ce0c;
|
|
593
|
+
return _0x20ce0c = (async () => {
|
|
594
|
+
const _0x13f2fd = _0x5d8ccb, _0x30dda5 = await _0x2d8706(_0x13f2fd(0x210) + _0x21a809['agentId'] + _0x13f2fd(_0x41529f._0x1accd3), {
|
|
595
|
+
'headers': _0x5c7a99,
|
|
596
|
+
'method': 'GET'
|
|
597
|
+
}), _0x3811a3 = _0x30dda5[_0x13f2fd(0x282)]?.[_0x13f2fd(0x273)] ?? [], _0x28d368 = _0x3811a3['filter'](_0x337c77 => _0x337c77[_0x13f2fd(0x1ab)]?.[_0x13f2fd(0x256)] === 'agent')[_0x13f2fd(_0x41529f._0x35a9fa)](_0x3c7fed => ({
|
|
598
|
+
'id': _0x27d93e(_0x3c7fed),
|
|
599
|
+
'name': _0x37b305(_0x3c7fed)
|
|
600
|
+
}))[_0x13f2fd(_0x41529f._0x40acde)](_0xa0f46e => _0xa0f46e['id']), _0x44319f = _0x3811a3['filter'](_0x2ee20d => _0x2ee20d['participant']?.['type'] !== _0x13f2fd(0x206))['map'](_0x3475df => ({
|
|
601
|
+
'id': _0x27d93e(_0x3475df),
|
|
602
|
+
'name': _0x37b305(_0x3475df)
|
|
603
|
+
}))[_0x13f2fd(0x189)](_0x1c7b7d => _0x1c7b7d['id']), _0x302c2 = _0x30dda5[_0x13f2fd(_0x41529f._0x552871)]?.['server']['id'] ?? '';
|
|
601
604
|
return {
|
|
602
|
-
'agents':
|
|
603
|
-
'channels':
|
|
604
|
-
'humans':
|
|
605
|
-
'serverId':
|
|
606
|
-
'serverName':
|
|
605
|
+
'agents': _0x28d368,
|
|
606
|
+
'channels': _0x30dda5[_0x13f2fd(_0x41529f._0x552871)]?.[_0x13f2fd(_0x41529f._0x21c283)] ?? [],
|
|
607
|
+
'humans': _0x44319f,
|
|
608
|
+
'serverId': _0x302c2,
|
|
609
|
+
'serverName': _0x30dda5[_0x13f2fd(0x282)]?.['server'][_0x13f2fd(0x2c3)] ?? _0x302c2
|
|
607
610
|
};
|
|
608
|
-
})()['catch'](
|
|
609
|
-
|
|
610
|
-
throw
|
|
611
|
-
}),
|
|
611
|
+
})()['catch'](_0xf829f1 => {
|
|
612
|
+
_0x20ce0c = null;
|
|
613
|
+
throw _0xf829f1;
|
|
614
|
+
}), _0x20ce0c;
|
|
612
615
|
}
|
|
613
|
-
function
|
|
614
|
-
const
|
|
615
|
-
return
|
|
616
|
+
function _0x34cff6(_0x13e2cb, _0x1aaa2a) {
|
|
617
|
+
const _0x5097e8 = _0x2e7ca6;
|
|
618
|
+
return _0x1aaa2a['agents'][_0x5097e8(_0x349605._0x3ae278)](_0x59f125 => _0x59f125['id'] === _0x13e2cb || _0x59f125['name'] === _0x13e2cb) ? _0x5097e8(0x206) : 'human';
|
|
616
619
|
}
|
|
617
|
-
function
|
|
618
|
-
const
|
|
619
|
-
if (
|
|
620
|
-
return
|
|
621
|
-
if (
|
|
622
|
-
return
|
|
623
|
-
if (
|
|
624
|
-
return
|
|
625
|
-
return
|
|
620
|
+
function _0x55bf03(_0x1f57e7) {
|
|
621
|
+
const _0x496d7d = _0x2e7ca6;
|
|
622
|
+
if (_0x1f57e7['threadNumber'] != null)
|
|
623
|
+
return _0x1f57e7[_0x496d7d(0x2c7)] + ':t' + _0x1f57e7[_0x496d7d(0x21a)];
|
|
624
|
+
if (_0x1f57e7[_0x496d7d(0x18f)])
|
|
625
|
+
return _0x1f57e7[_0x496d7d(_0x3b5718._0x593a9f)] + ':' + _0x1f57e7[_0x496d7d(_0x3b5718._0x2e7978)];
|
|
626
|
+
if (_0x1f57e7[_0x496d7d(0x2e9)])
|
|
627
|
+
return _0x1f57e7[_0x496d7d(0x2c7)] + ':' + _0x1f57e7['threadId'][_0x496d7d(0x1c5)](0x0, 0x8);
|
|
628
|
+
return _0x1f57e7['channelTarget'];
|
|
626
629
|
}
|
|
627
|
-
function
|
|
628
|
-
const
|
|
630
|
+
function _0xb59ac(_0x5cc0d8, _0x3e125c) {
|
|
631
|
+
const _0x6bc219 = _0x2e7ca6;
|
|
629
632
|
try {
|
|
630
|
-
const
|
|
631
|
-
if (
|
|
633
|
+
const _0x30c170 = parseTarget(_0x5cc0d8);
|
|
634
|
+
if (_0x30c170[_0x6bc219(_0x33932c._0x29639c)] !== _0x6bc219(_0x33932c._0x2c18a1) || _0x30c170[_0x6bc219(0x2c7)] !== _0x3e125c[_0x6bc219(_0x33932c._0x2643b1)])
|
|
632
635
|
return ![];
|
|
633
|
-
if (
|
|
636
|
+
if (_0x3e125c[_0x6bc219(0x21a)] != null && _0x30c170[_0x6bc219(_0x33932c._0x3feae5)] === 't' + _0x3e125c['threadNumber'])
|
|
634
637
|
return !![];
|
|
635
|
-
if (
|
|
636
|
-
return
|
|
637
|
-
if (
|
|
638
|
-
return
|
|
638
|
+
if (_0x3e125c[_0x6bc219(0x18f)])
|
|
639
|
+
return _0x30c170[_0x6bc219(0x1fe)] === _0x3e125c['rootMessageId'] || _0x3e125c['rootMessageId'][_0x6bc219(_0x33932c._0x2f3a95)](_0x30c170['threadShortId']);
|
|
640
|
+
if (_0x3e125c[_0x6bc219(_0x33932c._0x387d93)])
|
|
641
|
+
return _0x30c170[_0x6bc219(0x1fe)] === _0x3e125c[_0x6bc219(0x2e9)] || _0x3e125c[_0x6bc219(_0x33932c._0x574bc0)][_0x6bc219(0x270)](_0x30c170[_0x6bc219(_0x33932c._0x2da418)]);
|
|
639
642
|
return ![];
|
|
640
643
|
} catch {
|
|
641
644
|
return ![];
|
|
642
645
|
}
|
|
643
646
|
}
|
|
644
|
-
function
|
|
645
|
-
const
|
|
646
|
-
return
|
|
647
|
+
function _0x27d93e(_0x353589) {
|
|
648
|
+
const _0x5b8b9e = _0x2e7ca6;
|
|
649
|
+
return _0x353589[_0x5b8b9e(0x293)]?.[_0x5b8b9e(_0x267f5e._0x3bc389)] ?? _0x353589[_0x5b8b9e(0x1ab)]?.['id'] ?? _0x353589[_0x5b8b9e(_0x267f5e._0x287218)] ?? '';
|
|
647
650
|
}
|
|
648
|
-
function
|
|
649
|
-
const
|
|
650
|
-
return
|
|
651
|
+
function _0x37b305(_0x1f1bde) {
|
|
652
|
+
const _0x55316a = _0x2e7ca6;
|
|
653
|
+
return _0x1f1bde[_0x55316a(_0x35cb42._0x2b9d0d)]?.[_0x55316a(_0x35cb42._0x182f4d)] ?? _0x27d93e(_0x1f1bde);
|
|
651
654
|
}
|
|
652
|
-
async function
|
|
653
|
-
const
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
const
|
|
659
|
-
'headers':
|
|
660
|
-
'method':
|
|
661
|
-
}),
|
|
662
|
-
'attachments': (
|
|
663
|
-
'filename':
|
|
664
|
-
'id':
|
|
655
|
+
async function _0x1495ac(_0x17ca6b) {
|
|
656
|
+
const _0x59595f = _0x2e7ca6, _0x279f8a = Math[_0x59595f(0x2c1)](_0x17ca6b['limit'] ?? 0x32, 0x64), _0x27425d = await _0x73bd40(), _0x78e8f1 = new URLSearchParams();
|
|
657
|
+
_0x78e8f1[_0x59595f(_0x350b96._0x5adb91)](_0x59595f(0x1d1), String(_0x279f8a));
|
|
658
|
+
_0x17ca6b[_0x59595f(_0x350b96._0xb389b5)] ? (_0x78e8f1['set'](_0x59595f(0x2e9), _0x17ca6b[_0x59595f(0x2e9)]), _0x78e8f1['set'](_0x59595f(0x283), _0x17ca6b[_0x59595f(0x283)])) : _0x78e8f1[_0x59595f(0x2b2)]('channelId', _0x17ca6b['channelId']);
|
|
659
|
+
_0x17ca6b[_0x59595f(_0x350b96._0x5655c1)] && _0x78e8f1[_0x59595f(0x2b2)](_0x59595f(_0x350b96._0x3d7904), String(_0x17ca6b['before']));
|
|
660
|
+
_0x17ca6b[_0x59595f(_0x350b96._0x22529a)] !== void 0x0 && _0x78e8f1['set'](_0x59595f(0x277), String(_0x17ca6b[_0x59595f(0x277)]));
|
|
661
|
+
const _0x512795 = await _0x2d8706(_0x59595f(_0x350b96._0x159d06) + _0x21a809[_0x59595f(0x204)] + _0x59595f(0x2b9) + _0x78e8f1[_0x59595f(_0x350b96._0xb3fb96)](), {
|
|
662
|
+
'headers': _0x5c7a99,
|
|
663
|
+
'method': 'GET'
|
|
664
|
+
}), _0x4facfc = (_0x512795[_0x59595f(_0x350b96._0x206727)] ?? [])[_0x59595f(_0x350b96._0x139def)](_0x359f86 => ({
|
|
665
|
+
'attachments': (_0x359f86[_0x59595f(0x2f5)] ?? [])[_0x59595f(0x1fd)](_0x5025e6 => ({
|
|
666
|
+
'filename': _0x5025e6['filename'] ?? _0x5025e6['id'],
|
|
667
|
+
'id': _0x5025e6['id']
|
|
665
668
|
})),
|
|
666
|
-
'content':
|
|
667
|
-
'createdAt':
|
|
668
|
-
...
|
|
669
|
-
'messageId':
|
|
670
|
-
'senderName':
|
|
671
|
-
'senderType':
|
|
672
|
-
'seq':
|
|
669
|
+
'content': _0x359f86['bodyMarkdown'] ?? '',
|
|
670
|
+
'createdAt': _0x359f86[_0x59595f(0x2d4)],
|
|
671
|
+
..._0x359f86[_0x59595f(0x2a5)] && _0x359f86['kind'] !== 'chat' ? { 'kind': _0x359f86[_0x59595f(0x2a5)] } : {},
|
|
672
|
+
'messageId': _0x359f86['id'],
|
|
673
|
+
'senderName': _0x359f86[_0x59595f(0x25f)],
|
|
674
|
+
'senderType': _0x34cff6(_0x359f86[_0x59595f(0x25f)], _0x27425d),
|
|
675
|
+
'seq': _0x359f86[_0x59595f(0x2da)] ?? 0x0
|
|
673
676
|
}));
|
|
674
677
|
return {
|
|
675
|
-
'channel':
|
|
676
|
-
'hasMore':
|
|
677
|
-
'messages':
|
|
678
|
-
'nextCursor':
|
|
678
|
+
'channel': _0x17ca6b[_0x59595f(_0x350b96._0x4a813f)],
|
|
679
|
+
'hasMore': _0x512795[_0x59595f(0x2e2)]?.[_0x59595f(0x207)] ?? ![],
|
|
680
|
+
'messages': _0x4facfc,
|
|
681
|
+
'nextCursor': _0x512795[_0x59595f(_0x350b96._0x43278a)]?.[_0x59595f(_0x350b96._0x3d7904)]
|
|
679
682
|
};
|
|
680
683
|
}
|
|
681
684
|
return {
|
|
682
|
-
async 'sendMessage'(
|
|
683
|
-
const
|
|
684
|
-
'body': JSON[
|
|
685
|
-
'attachment_ids':
|
|
686
|
-
'bodyMarkdown':
|
|
687
|
-
'channelId':
|
|
688
|
-
...
|
|
689
|
-
'threadId':
|
|
690
|
-
...
|
|
685
|
+
async 'sendMessage'(_0x48522e) {
|
|
686
|
+
const _0x4bc7f6 = _0x2e7ca6, _0x11c7b2 = await _0x163e04(_0x48522e[_0x4bc7f6(_0x241e2c._0x315843)]), _0xed56fa = _0x48522e['content'][_0x4bc7f6(_0x241e2c._0x4c6f91)]('@') ? extractMentionedParticipantIds(_0x48522e['content'], await _0x73bd40()) : [], _0x527466 = await _0x2d8706(_0x4bc7f6(0x210) + _0x21a809[_0x4bc7f6(_0x241e2c._0x51b6f2)] + _0x4bc7f6(_0x241e2c._0x3107eb), {
|
|
687
|
+
'body': JSON['stringify']({
|
|
688
|
+
'attachment_ids': _0x48522e[_0x4bc7f6(0x211)],
|
|
689
|
+
'bodyMarkdown': _0x48522e[_0x4bc7f6(0x1dd)],
|
|
690
|
+
'channelId': _0x11c7b2[_0x4bc7f6(_0x241e2c._0x501cd5)],
|
|
691
|
+
..._0xed56fa[_0x4bc7f6(_0x241e2c._0x2ad42d)] > 0x0 ? { 'mentionedParticipantIds': _0xed56fa } : {},
|
|
692
|
+
'threadId': _0x11c7b2[_0x4bc7f6(_0x241e2c._0x1a8d4f)],
|
|
693
|
+
..._0x48522e[_0x4bc7f6(0x279)] ? { 'visibility': _0x48522e[_0x4bc7f6(_0x241e2c._0x21287c)] } : {}
|
|
691
694
|
}),
|
|
692
|
-
'headers':
|
|
693
|
-
'method':
|
|
695
|
+
'headers': _0x5c7a99,
|
|
696
|
+
'method': _0x4bc7f6(_0x241e2c._0x1c21da)
|
|
694
697
|
});
|
|
695
|
-
return { 'messageId':
|
|
698
|
+
return { 'messageId': _0x527466[_0x4bc7f6(0x282)]?.['id'] ?? '' };
|
|
696
699
|
},
|
|
697
700
|
async 'listSchedules'() {
|
|
698
|
-
const
|
|
699
|
-
'headers':
|
|
700
|
-
'method':
|
|
701
|
+
const _0x2ce3bf = _0x2e7ca6, _0x5732a5 = await _0x2d8706(_0x2ce3bf(_0x4aa387._0x5ba3ea), {
|
|
702
|
+
'headers': _0x5c7a99,
|
|
703
|
+
'method': _0x2ce3bf(0x1b0)
|
|
701
704
|
});
|
|
702
|
-
return
|
|
705
|
+
return _0x5732a5[_0x2ce3bf(_0x4aa387._0x338494)] ?? [];
|
|
703
706
|
},
|
|
704
|
-
async 'claimScheduleRun'(
|
|
705
|
-
const
|
|
706
|
-
'body': JSON[
|
|
707
|
-
'headers':
|
|
708
|
-
'method':
|
|
707
|
+
async 'claimScheduleRun'(_0x54aa3e) {
|
|
708
|
+
const _0x2483d2 = _0x2e7ca6, _0x448465 = await _0x2d8706(_0x2483d2(0x2eb), {
|
|
709
|
+
'body': JSON[_0x2483d2(0x234)](_0x54aa3e),
|
|
710
|
+
'headers': _0x5c7a99,
|
|
711
|
+
'method': _0x2483d2(_0x76d3b4._0x1f8d17)
|
|
709
712
|
});
|
|
710
|
-
return
|
|
713
|
+
return _0x448465[_0x2483d2(_0x76d3b4._0x507268)] ?? {
|
|
711
714
|
'granted': ![],
|
|
712
715
|
'runId': null,
|
|
713
716
|
'schedule': null,
|
|
714
|
-
'scheduledFor':
|
|
717
|
+
'scheduledFor': _0x54aa3e[_0x2483d2(0x301)]
|
|
715
718
|
};
|
|
716
719
|
},
|
|
717
|
-
async 'startScheduleRun'(
|
|
718
|
-
const
|
|
719
|
-
'body': JSON[
|
|
720
|
-
'headers':
|
|
721
|
-
'method':
|
|
720
|
+
async 'startScheduleRun'(_0x55fdde) {
|
|
721
|
+
const _0x28f2d0 = _0x2e7ca6, _0x475912 = await _0x2d8706(_0x28f2d0(_0x3fc82e._0x34d7c2) + encodeURIComponent(_0x55fdde[_0x28f2d0(_0x3fc82e._0x548b4f)]) + _0x28f2d0(0x29a), {
|
|
722
|
+
'body': JSON[_0x28f2d0(_0x3fc82e._0xf1b54d)]({}),
|
|
723
|
+
'headers': _0x5c7a99,
|
|
724
|
+
'method': _0x28f2d0(0x29e)
|
|
722
725
|
});
|
|
723
|
-
return
|
|
726
|
+
return _0x475912[_0x28f2d0(_0x3fc82e._0x13478b)] ?? {
|
|
724
727
|
'claimedByDaemonId': '',
|
|
725
|
-
'id':
|
|
728
|
+
'id': _0x55fdde['runId'],
|
|
726
729
|
'scheduleId': '',
|
|
727
|
-
'status':
|
|
730
|
+
'status': _0x28f2d0(0x241)
|
|
728
731
|
};
|
|
729
732
|
},
|
|
730
|
-
async 'finishScheduleRun'(
|
|
731
|
-
const
|
|
732
|
-
'body': JSON[
|
|
733
|
-
'error':
|
|
734
|
-
'resultJson':
|
|
735
|
-
'status':
|
|
733
|
+
async 'finishScheduleRun'(_0x41559b) {
|
|
734
|
+
const _0xb8a303 = _0x2e7ca6, _0x24d95a = await _0x2d8706(_0xb8a303(0x2f6) + encodeURIComponent(_0x41559b[_0xb8a303(_0x503968._0x596300)]) + _0xb8a303(_0x503968._0x4000ff), {
|
|
735
|
+
'body': JSON['stringify']({
|
|
736
|
+
'error': _0x41559b[_0xb8a303(_0x503968._0x539dcd)],
|
|
737
|
+
'resultJson': _0x41559b[_0xb8a303(0x1da)],
|
|
738
|
+
'status': _0x41559b[_0xb8a303(0x2ae)]
|
|
736
739
|
}),
|
|
737
|
-
'headers':
|
|
738
|
-
'method':
|
|
740
|
+
'headers': _0x5c7a99,
|
|
741
|
+
'method': _0xb8a303(_0x503968._0x532a70)
|
|
739
742
|
});
|
|
740
|
-
return
|
|
743
|
+
return _0x24d95a['data'] ?? {
|
|
741
744
|
'nextRunAt': null,
|
|
742
745
|
'run': {
|
|
743
746
|
'claimedByDaemonId': '',
|
|
744
|
-
'id':
|
|
747
|
+
'id': _0x41559b[_0xb8a303(0x2a1)],
|
|
745
748
|
'scheduleId': '',
|
|
746
|
-
'status':
|
|
749
|
+
'status': _0x41559b['status']
|
|
747
750
|
}
|
|
748
751
|
};
|
|
749
752
|
},
|
|
750
|
-
async 'listTasks'(
|
|
751
|
-
const
|
|
752
|
-
return
|
|
753
|
-
'headers':
|
|
754
|
-
'method':
|
|
753
|
+
async 'listTasks'(_0x26ee68) {
|
|
754
|
+
const _0xdf6cc3 = _0x2e7ca6, _0x142c8b = new URLSearchParams();
|
|
755
|
+
return _0x142c8b[_0xdf6cc3(_0x22f9c6._0x15999b)]('channel', _0x26ee68[_0xdf6cc3(0x1aa)]), _0x26ee68[_0xdf6cc3(0x2ae)] && _0x142c8b[_0xdf6cc3(_0x22f9c6._0x15999b)](_0xdf6cc3(_0x22f9c6._0x7faadb), _0x26ee68[_0xdf6cc3(0x2ae)]), _0x1e683a('/internal/agent/' + _0x21a809[_0xdf6cc3(0x204)] + _0xdf6cc3(0x263) + _0x142c8b['toString'](), {
|
|
756
|
+
'headers': _0x5c7a99,
|
|
757
|
+
'method': _0xdf6cc3(0x1b0)
|
|
755
758
|
});
|
|
756
759
|
},
|
|
757
|
-
async 'createTasks'(
|
|
758
|
-
const
|
|
759
|
-
return
|
|
760
|
-
'body': JSON[
|
|
761
|
-
...
|
|
762
|
-
'idempotency_key':
|
|
760
|
+
async 'createTasks'(_0x4d9efc) {
|
|
761
|
+
const _0x3814ab = _0x2e7ca6;
|
|
762
|
+
return _0x1e683a('/internal/agent/' + _0x21a809[_0x3814ab(_0x20110d._0x59d540)] + _0x3814ab(0x22c), {
|
|
763
|
+
'body': JSON[_0x3814ab(_0x20110d._0x2a294e)]({
|
|
764
|
+
..._0x4d9efc,
|
|
765
|
+
'idempotency_key': _0x22f906('create_tasks', _0x4d9efc)
|
|
763
766
|
}),
|
|
764
|
-
'headers':
|
|
765
|
-
'method':
|
|
767
|
+
'headers': _0x5c7a99,
|
|
768
|
+
'method': 'POST'
|
|
766
769
|
});
|
|
767
770
|
},
|
|
768
|
-
async 'claimTasks'(
|
|
769
|
-
const
|
|
770
|
-
return
|
|
771
|
-
'body': JSON[
|
|
772
|
-
...
|
|
773
|
-
'idempotency_key':
|
|
771
|
+
async 'claimTasks'(_0x50c236) {
|
|
772
|
+
const _0x4d85d4 = _0x2e7ca6;
|
|
773
|
+
return _0x1e683a('/internal/agent/' + _0x21a809['agentId'] + _0x4d85d4(0x1c0), {
|
|
774
|
+
'body': JSON[_0x4d85d4(_0x421d21._0x23e19b)]({
|
|
775
|
+
..._0x50c236,
|
|
776
|
+
'idempotency_key': _0x22f906(_0x4d85d4(0x20c), _0x50c236)
|
|
774
777
|
}),
|
|
775
|
-
'headers':
|
|
776
|
-
'method':
|
|
778
|
+
'headers': _0x5c7a99,
|
|
779
|
+
'method': _0x4d85d4(_0x421d21._0x59004e)
|
|
777
780
|
});
|
|
778
781
|
},
|
|
779
|
-
async 'unclaimTask'(
|
|
780
|
-
const
|
|
781
|
-
return
|
|
782
|
-
'body': JSON[
|
|
783
|
-
...
|
|
784
|
-
'idempotency_key':
|
|
782
|
+
async 'unclaimTask'(_0x168a54) {
|
|
783
|
+
const _0x5b1281 = _0x2e7ca6;
|
|
784
|
+
return _0x1e683a(_0x5b1281(0x210) + _0x21a809[_0x5b1281(0x204)] + _0x5b1281(0x25a), {
|
|
785
|
+
'body': JSON[_0x5b1281(0x234)]({
|
|
786
|
+
..._0x168a54,
|
|
787
|
+
'idempotency_key': _0x22f906('unclaim_task', _0x168a54)
|
|
785
788
|
}),
|
|
786
|
-
'headers':
|
|
787
|
-
'method':
|
|
789
|
+
'headers': _0x5c7a99,
|
|
790
|
+
'method': _0x5b1281(_0x2d0a36._0x4d77ac)
|
|
788
791
|
});
|
|
789
792
|
},
|
|
790
|
-
async 'updateTaskStatus'(
|
|
791
|
-
const
|
|
792
|
-
return
|
|
793
|
-
'body': JSON[
|
|
794
|
-
...
|
|
795
|
-
'idempotency_key':
|
|
793
|
+
async 'updateTaskStatus'(_0x362004) {
|
|
794
|
+
const _0xfe2c27 = _0x2e7ca6;
|
|
795
|
+
return _0x1e683a(_0xfe2c27(_0x47b932._0x2a113f) + _0x21a809[_0xfe2c27(_0x47b932._0x31e796)] + _0xfe2c27(0x2fc), {
|
|
796
|
+
'body': JSON[_0xfe2c27(0x234)]({
|
|
797
|
+
..._0x362004,
|
|
798
|
+
'idempotency_key': _0x22f906(_0xfe2c27(_0x47b932._0x305da9), _0x362004)
|
|
796
799
|
}),
|
|
797
|
-
'headers':
|
|
798
|
-
'method':
|
|
800
|
+
'headers': _0x5c7a99,
|
|
801
|
+
'method': _0xfe2c27(0x29e)
|
|
799
802
|
});
|
|
800
803
|
},
|
|
801
|
-
async 'uploadFile'(
|
|
802
|
-
const
|
|
803
|
-
if (
|
|
804
|
-
throw new Error(
|
|
805
|
-
const
|
|
806
|
-
'body': JSON[
|
|
807
|
-
'channel':
|
|
808
|
-
'contentBase64':
|
|
809
|
-
'contentType':
|
|
810
|
-
'originalFilename':
|
|
804
|
+
async 'uploadFile'(_0x26234a) {
|
|
805
|
+
const _0xf5b565 = _0x2e7ca6, _0x2ae444 = await _0x163e04(_0x26234a[_0xf5b565(_0x158f75._0x53419b)]);
|
|
806
|
+
if (_0x2ae444[_0xf5b565(_0x158f75._0x2e51ec)])
|
|
807
|
+
throw new Error('upload_file\x20only\x20supports\x20channel\x20or\x20DM\x20targets,\x20not\x20thread\x20targets');
|
|
808
|
+
const _0x38112d = await _0x2d8706(_0xf5b565(_0x158f75._0x442389) + _0x21a809[_0xf5b565(_0x158f75._0xb87cf2)] + _0xf5b565(0x21d), {
|
|
809
|
+
'body': JSON[_0xf5b565(0x234)]({
|
|
810
|
+
'channel': _0x2ae444['target'],
|
|
811
|
+
'contentBase64': _0x26234a[_0xf5b565(0x22f)],
|
|
812
|
+
'contentType': _0x26234a[_0xf5b565(_0x158f75._0x61ce5a)],
|
|
813
|
+
'originalFilename': _0x26234a[_0xf5b565(0x2cf)]
|
|
811
814
|
}),
|
|
812
|
-
'headers':
|
|
815
|
+
'headers': _0x5c7a99,
|
|
813
816
|
'method': 'POST'
|
|
814
817
|
});
|
|
815
818
|
return {
|
|
816
|
-
'attachmentId':
|
|
817
|
-
'filename':
|
|
818
|
-
'sizeBytes':
|
|
819
|
+
'attachmentId': _0x38112d[_0xf5b565(0x282)]?.['id'] ?? '',
|
|
820
|
+
'filename': _0x38112d[_0xf5b565(0x282)]?.[_0xf5b565(0x1b9)] ?? _0x26234a[_0xf5b565(0x2cf)],
|
|
821
|
+
'sizeBytes': _0x38112d[_0xf5b565(_0x158f75._0x14c2a2)]?.[_0xf5b565(_0x158f75._0x2cccc9)] ?? 0x0
|
|
819
822
|
};
|
|
820
823
|
},
|
|
821
|
-
async 'downloadAttachment'(
|
|
822
|
-
const
|
|
823
|
-
'headers':
|
|
824
|
-
'method':
|
|
825
|
-
}),
|
|
824
|
+
async 'downloadAttachment'(_0xd6659e) {
|
|
825
|
+
const _0x16cf4e = _0x2e7ca6, _0xde4618 = await _0x2d8706(_0x16cf4e(0x1a4) + _0xd6659e, {
|
|
826
|
+
'headers': _0x5c7a99,
|
|
827
|
+
'method': _0x16cf4e(0x1b0)
|
|
828
|
+
}), _0x14f133 = new AbortController(), _0x5e1fa7 = setTimeout(() => _0x14f133['abort'](), _0x2effb9);
|
|
826
829
|
try {
|
|
827
|
-
const
|
|
828
|
-
'headers':
|
|
829
|
-
'method':
|
|
830
|
-
'signal':
|
|
830
|
+
const _0x4fe898 = await _0x2197a7(_0x507360 + _0x16cf4e(_0x2ba9bd._0x27a1eb) + _0xd6659e + _0x16cf4e(0x19d), {
|
|
831
|
+
'headers': _0x5c7a99,
|
|
832
|
+
'method': _0x16cf4e(_0x2ba9bd._0x154eb2),
|
|
833
|
+
'signal': _0x14f133[_0x16cf4e(0x2db)]
|
|
831
834
|
});
|
|
832
|
-
if (!
|
|
833
|
-
throw new Error(
|
|
835
|
+
if (!_0x4fe898['ok'])
|
|
836
|
+
throw new Error(_0x16cf4e(_0x2ba9bd._0x17031c) + _0x4fe898[_0x16cf4e(_0x2ba9bd._0x732f32)]);
|
|
834
837
|
return {
|
|
835
|
-
'contentType':
|
|
836
|
-
'data': Buffer[
|
|
837
|
-
'originalFilename':
|
|
838
|
+
'contentType': _0xde4618[_0x16cf4e(_0x2ba9bd._0x2a4f59)]?.['contentType'] ?? _0x4fe898[_0x16cf4e(0x23e)][_0x16cf4e(0x1fa)](_0x16cf4e(0x2b0)) ?? _0x16cf4e(_0x2ba9bd._0xf5a0a7),
|
|
839
|
+
'data': Buffer[_0x16cf4e(_0x2ba9bd._0x58b46e)](await _0x4fe898[_0x16cf4e(0x1d6)]()),
|
|
840
|
+
'originalFilename': _0xde4618[_0x16cf4e(_0x2ba9bd._0x2403a0)]?.[_0x16cf4e(0x1b9)]
|
|
838
841
|
};
|
|
839
842
|
} finally {
|
|
840
|
-
clearTimeout(
|
|
843
|
+
clearTimeout(_0x5e1fa7);
|
|
841
844
|
}
|
|
842
845
|
},
|
|
843
846
|
async 'listServer'() {
|
|
844
|
-
return
|
|
847
|
+
return _0x73bd40({ 'forceRefresh': !![] });
|
|
845
848
|
},
|
|
846
|
-
async 'readHistory'(
|
|
847
|
-
const
|
|
848
|
-
return
|
|
849
|
-
'after':
|
|
850
|
-
'before':
|
|
851
|
-
'channelId':
|
|
852
|
-
'channelTarget':
|
|
853
|
-
'limit':
|
|
854
|
-
'threadId':
|
|
849
|
+
async 'readHistory'(_0x7b06a7) {
|
|
850
|
+
const _0xc0bf02 = _0x2e7ca6, _0x47ad25 = await _0x163e04(_0x7b06a7['channel']);
|
|
851
|
+
return _0x1495ac({
|
|
852
|
+
'after': _0x7b06a7[_0xc0bf02(0x277)],
|
|
853
|
+
'before': _0x7b06a7[_0xc0bf02(_0x75045f._0x130c75)],
|
|
854
|
+
'channelId': _0x47ad25[_0xc0bf02(0x283)],
|
|
855
|
+
'channelTarget': _0x47ad25[_0xc0bf02(_0x75045f._0x21ed09)],
|
|
856
|
+
'limit': _0x7b06a7['limit'],
|
|
857
|
+
'threadId': _0x47ad25[_0xc0bf02(0x2e9)]
|
|
855
858
|
});
|
|
856
859
|
},
|
|
857
|
-
'resolveTarget':
|
|
860
|
+
'resolveTarget': _0x163e04,
|
|
858
861
|
async 'checkMessages'() {
|
|
859
|
-
const
|
|
860
|
-
|
|
861
|
-
const
|
|
862
|
-
'headers':
|
|
863
|
-
'method':
|
|
864
|
-
}),
|
|
865
|
-
let
|
|
866
|
-
|
|
867
|
-
|
|
862
|
+
const _0x3bfda2 = { _0x19de6b: 0x283 }, _0x2f7fb3 = _0x2e7ca6, _0x59cbe4 = new URLSearchParams();
|
|
863
|
+
_0x59cbe4[_0x2f7fb3(0x2b2)]('afterSeq', String(_0x4e7d37));
|
|
864
|
+
const _0x425b2b = _0x59cbe4['toString'](), _0x38e27f = await _0x2d8706(_0x2f7fb3(0x210) + _0x21a809[_0x2f7fb3(0x204)] + '/receive' + (_0x425b2b ? '?' + _0x425b2b : ''), {
|
|
865
|
+
'headers': _0x5c7a99,
|
|
866
|
+
'method': _0x2f7fb3(_0x4f1608._0x54759c)
|
|
867
|
+
}), _0x13b79f = _0x38e27f[_0x2f7fb3(0x282)] ?? [], _0x5e764d = _0x38e27f['meta']?.[_0x2f7fb3(_0x4f1608._0x1f67e9)], _0x2b2ec3 = _0x5e764d !== void 0x0 ? Math[_0x2f7fb3(_0x4f1608._0x157fa6)](_0x4e7d37, _0x5e764d) : _0x13b79f[_0x2f7fb3(0x235)] > 0x0 ? Math[_0x2f7fb3(_0x4f1608._0x157fa6)](_0x4e7d37, _0x13b79f[_0x13b79f[_0x2f7fb3(0x235)] - 0x1]['seq']) : _0x4e7d37, _0x316dc3 = _0x13b79f[_0x2f7fb3(_0x4f1608._0x55ec71)](_0x3eedc2 => _0x3eedc2['aggregateType'] === _0x2f7fb3(0x1d2)), _0x5be61d = _0x29ee68 === void 0x0 && _0x115e71;
|
|
868
|
+
let _0x224421 = await _0x73bd40(), _0x527568 = new Map(_0x224421['channels']['map'](_0x21de6a => [
|
|
869
|
+
_0x21de6a['id'],
|
|
870
|
+
_0x21de6a
|
|
868
871
|
]));
|
|
869
|
-
const
|
|
870
|
-
const
|
|
871
|
-
return Boolean(
|
|
872
|
+
const _0x3ee4a7 = _0x316dc3[_0x2f7fb3(0x26d)](_0x583416 => {
|
|
873
|
+
const _0x151564 = _0x2f7fb3, _0x208624 = asRecord(_0x583416[_0x151564(0x198)]), _0x172849 = typeof _0x208624?.[_0x151564(0x283)] === 'string' ? _0x208624[_0x151564(_0x3bfda2._0x19de6b)] : '';
|
|
874
|
+
return Boolean(_0x172849) && !_0x527568['has'](_0x172849);
|
|
872
875
|
});
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
+
_0x3ee4a7 && (_0x224421 = await _0x73bd40({ 'forceRefresh': !![] }), _0x527568 = new Map(_0x224421['channels'][_0x2f7fb3(_0x4f1608._0x3aca21)](_0x4a87e9 => [
|
|
877
|
+
_0x4a87e9['id'],
|
|
878
|
+
_0x4a87e9
|
|
876
879
|
])));
|
|
877
|
-
const
|
|
878
|
-
for (const
|
|
879
|
-
const
|
|
880
|
-
if (!
|
|
880
|
+
const _0x5af6ad = new Map();
|
|
881
|
+
for (const _0x560d02 of _0x316dc3) {
|
|
882
|
+
const _0x49a9b4 = asRecord(_0x560d02[_0x2f7fb3(_0x4f1608._0x47dd2a)]), _0x2c2515 = typeof _0x49a9b4[_0x2f7fb3(_0x4f1608._0x349c5f)] === _0x2f7fb3(_0x4f1608._0x45c178) ? _0x49a9b4['channelId'] : '';
|
|
883
|
+
if (!_0x2c2515)
|
|
881
884
|
continue;
|
|
882
|
-
const
|
|
885
|
+
const _0x1a9f9b = typeof _0x49a9b4['threadId'] === _0x2f7fb3(_0x4f1608._0x45c178) ? _0x49a9b4['threadId'] : void 0x0, _0x145fb0 = typeof _0x49a9b4['rootMessageId'] === _0x2f7fb3(0x1e0) ? _0x49a9b4[_0x2f7fb3(0x18f)] : void 0x0, _0x1f0f19 = typeof _0x49a9b4[_0x2f7fb3(0x21a)] === _0x2f7fb3(0x2e8) && Number[_0x2f7fb3(0x2ca)](_0x49a9b4[_0x2f7fb3(_0x4f1608._0x3dd466)]) ? _0x49a9b4['threadNumber'] : void 0x0, _0x1a21c8 = Boolean(_0x1a9f9b && (!_0x145fb0 || _0x560d02[_0x2f7fb3(0x1bf)] !== _0x145fb0)), _0x5292ee = _0x1a21c8 ? _0x2c2515 + ':' + _0x1a9f9b : _0x2c2515, _0x2e5cbb = _0x5af6ad[_0x2f7fb3(0x1fa)](_0x5292ee) ?? {
|
|
883
886
|
'aggregateIds': [],
|
|
884
|
-
'channelId':
|
|
887
|
+
'channelId': _0x2c2515,
|
|
885
888
|
'entries': new Map(),
|
|
886
|
-
'isThreadReply':
|
|
887
|
-
'rootMessageId':
|
|
888
|
-
'threadNumber':
|
|
889
|
-
'threadId':
|
|
889
|
+
'isThreadReply': _0x1a21c8,
|
|
890
|
+
'rootMessageId': _0x145fb0,
|
|
891
|
+
'threadNumber': _0x1f0f19,
|
|
892
|
+
'threadId': _0x1a21c8 ? _0x1a9f9b : void 0x0
|
|
890
893
|
};
|
|
891
|
-
|
|
892
|
-
'payloadJson':
|
|
893
|
-
'seq':
|
|
894
|
-
}),
|
|
894
|
+
_0x2e5cbb[_0x2f7fb3(0x21a)] == null && _0x1f0f19 != null && (_0x2e5cbb[_0x2f7fb3(0x21a)] = _0x1f0f19), !_0x2e5cbb[_0x2f7fb3(0x18f)] && _0x145fb0 && (_0x2e5cbb[_0x2f7fb3(0x18f)] = _0x145fb0), _0x2e5cbb[_0x2f7fb3(_0x4f1608._0x36b09a)][_0x2f7fb3(0x2ef)](_0x560d02[_0x2f7fb3(0x1bf)]), _0x2e5cbb[_0x2f7fb3(0x2d2)][_0x2f7fb3(_0x4f1608._0x6b3b98)](_0x560d02[_0x2f7fb3(_0x4f1608._0x1082ce)], {
|
|
895
|
+
'payloadJson': _0x560d02[_0x2f7fb3(_0x4f1608._0xdadafa)],
|
|
896
|
+
'seq': _0x560d02['seq']
|
|
897
|
+
}), _0x5af6ad[_0x2f7fb3(0x2b2)](_0x5292ee, _0x2e5cbb);
|
|
895
898
|
}
|
|
896
|
-
const
|
|
897
|
-
for (const
|
|
899
|
+
const _0x257cee = [];
|
|
900
|
+
for (const _0x51b7a9 of _0x5af6ad['values']()) {
|
|
898
901
|
const {
|
|
899
|
-
channelId:
|
|
900
|
-
threadId:
|
|
901
|
-
rootMessageId:
|
|
902
|
-
threadNumber:
|
|
903
|
-
aggregateIds:
|
|
904
|
-
isThreadReply:
|
|
905
|
-
entries:
|
|
906
|
-
} =
|
|
907
|
-
'channelTarget':
|
|
908
|
-
'rootMessageId':
|
|
909
|
-
'threadId':
|
|
910
|
-
'threadNumber':
|
|
911
|
-
},
|
|
912
|
-
'channelId':
|
|
913
|
-
'channelTarget':
|
|
914
|
-
'limit': Math[
|
|
915
|
-
'threadId':
|
|
916
|
-
}),
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
])),
|
|
920
|
-
for (const
|
|
921
|
-
if (!
|
|
902
|
+
channelId: _0x35593c,
|
|
903
|
+
threadId: _0x5ea254,
|
|
904
|
+
rootMessageId: _0x5e2353,
|
|
905
|
+
threadNumber: _0x1526c1,
|
|
906
|
+
aggregateIds: _0x4a6aee,
|
|
907
|
+
isThreadReply: _0x349654,
|
|
908
|
+
entries: _0x508278
|
|
909
|
+
} = _0x51b7a9, _0x386ca4 = _0x527568['get'](_0x35593c), _0x5bb471 = _0x386ca4?.[_0x2f7fb3(_0x4f1608._0x23de31)] ?? _0x35593c, _0x1b326c = _0x386ca4?.[_0x2f7fb3(_0x4f1608._0x52b21b)] === 'dm' ? _0x2f7fb3(_0x4f1608._0x4e0b7e) + _0x5bb471 : '#' + _0x5bb471, _0x5a94cc = {
|
|
910
|
+
'channelTarget': _0x1b326c,
|
|
911
|
+
'rootMessageId': _0x5e2353,
|
|
912
|
+
'threadId': _0x5ea254,
|
|
913
|
+
'threadNumber': _0x1526c1
|
|
914
|
+
}, _0x291b56 = await _0x1495ac({
|
|
915
|
+
'channelId': _0x35593c,
|
|
916
|
+
'channelTarget': _0x1b326c,
|
|
917
|
+
'limit': Math[_0x2f7fb3(0x2f1)](_0x4a6aee[_0x2f7fb3(_0x4f1608._0x3705aa)], 0x32),
|
|
918
|
+
'threadId': _0x5ea254
|
|
919
|
+
}), _0x547af8 = new Map(_0x291b56[_0x2f7fb3(0x225)][_0x2f7fb3(_0x4f1608._0x199332)](_0x287ec1 => [
|
|
920
|
+
_0x287ec1[_0x2f7fb3(0x184)],
|
|
921
|
+
_0x287ec1
|
|
922
|
+
])), _0x428678 = _0x5ea254 ? _0x55bf03(_0x5a94cc) : _0x1b326c, _0x175a4d = _0x29ee68 ? _0x349654 && _0xb59ac(_0x29ee68, _0x5a94cc) : !![], _0x4452ae = _0x349654 ? _0x175a4d && _0x29ee68 ? _0x29ee68 : _0x428678 : _0x1b326c;
|
|
923
|
+
for (const _0x49b7f6 of _0x4a6aee) {
|
|
924
|
+
if (!_0x175a4d)
|
|
922
925
|
continue;
|
|
923
|
-
const
|
|
924
|
-
if (
|
|
926
|
+
const _0x593cf4 = _0x508278['get'](_0x49b7f6), _0x3ee6e0 = _0x593cf4 ? asRecord(_0x593cf4[_0x2f7fb3(_0x4f1608._0x3a9483)]) : void 0x0, _0x251740 = _0x3ee6e0?.[_0x2f7fb3(0x2ba)] === _0x2f7fb3(0x2f7);
|
|
927
|
+
if (_0x5be61d && _0x251740)
|
|
925
928
|
continue;
|
|
926
|
-
const
|
|
927
|
-
if (
|
|
928
|
-
|
|
929
|
-
'attachments':
|
|
930
|
-
'content':
|
|
931
|
-
'createdAt':
|
|
932
|
-
...
|
|
933
|
-
'messageId':
|
|
934
|
-
'senderName':
|
|
935
|
-
'senderType':
|
|
936
|
-
'target':
|
|
937
|
-
...
|
|
929
|
+
const _0x5c21fd = _0x547af8[_0x2f7fb3(0x1fa)](_0x49b7f6);
|
|
930
|
+
if (_0x5c21fd) {
|
|
931
|
+
_0x257cee[_0x2f7fb3(_0x4f1608._0x51f5cb)]({
|
|
932
|
+
'attachments': _0x5c21fd[_0x2f7fb3(_0x4f1608._0x579d40)],
|
|
933
|
+
'content': _0x5c21fd[_0x2f7fb3(0x1dd)],
|
|
934
|
+
'createdAt': _0x5c21fd[_0x2f7fb3(0x2d4)],
|
|
935
|
+
..._0x5c21fd[_0x2f7fb3(0x2a5)] ? { 'kind': _0x5c21fd[_0x2f7fb3(_0x4f1608._0x4e70d6)] } : {},
|
|
936
|
+
'messageId': _0x5c21fd[_0x2f7fb3(_0x4f1608._0x10d283)],
|
|
937
|
+
'senderName': _0x5c21fd['senderName'],
|
|
938
|
+
'senderType': _0x5c21fd[_0x2f7fb3(_0x4f1608._0x2c3bb4)],
|
|
939
|
+
'target': _0x4452ae,
|
|
940
|
+
..._0x251740 ? { 'targetedTask': !![] } : {}
|
|
938
941
|
});
|
|
939
942
|
continue;
|
|
940
943
|
}
|
|
941
|
-
if (
|
|
942
|
-
const
|
|
943
|
-
|
|
944
|
+
if (_0x593cf4) {
|
|
945
|
+
const _0x459c0b = typeof _0x3ee6e0?.[_0x2f7fb3(_0x4f1608._0x4341b6)] === _0x2f7fb3(_0x4f1608._0x45c178) ? _0x3ee6e0[_0x2f7fb3(0x25f)] : '', _0xa2f89e = typeof _0x3ee6e0?.[_0x2f7fb3(_0x4f1608._0x418ace)] === _0x2f7fb3(_0x4f1608._0x45c178) ? _0x3ee6e0[_0x2f7fb3(0x20b)] : '', _0x42731b = typeof _0x3ee6e0?.[_0x2f7fb3(_0x4f1608._0x4e70d6)] === 'string' && _0x3ee6e0[_0x2f7fb3(0x2a5)] !== 'chat' ? _0x3ee6e0['kind'] : void 0x0;
|
|
946
|
+
_0x459c0b && _0xa2f89e && _0x257cee[_0x2f7fb3(_0x4f1608._0x185bac)]({
|
|
944
947
|
'attachments': [],
|
|
945
|
-
'content':
|
|
946
|
-
'createdAt': new Date()[
|
|
947
|
-
...
|
|
948
|
-
'messageId':
|
|
949
|
-
'senderName':
|
|
950
|
-
'senderType':
|
|
951
|
-
'target':
|
|
952
|
-
...
|
|
948
|
+
'content': _0xa2f89e,
|
|
949
|
+
'createdAt': new Date()[_0x2f7fb3(0x284)](),
|
|
950
|
+
..._0x42731b ? { 'kind': _0x42731b } : {},
|
|
951
|
+
'messageId': _0x49b7f6,
|
|
952
|
+
'senderName': _0x459c0b,
|
|
953
|
+
'senderType': _0x34cff6(_0x459c0b, _0x224421),
|
|
954
|
+
'target': _0x4452ae,
|
|
955
|
+
..._0x251740 ? { 'targetedTask': !![] } : {}
|
|
953
956
|
});
|
|
954
957
|
}
|
|
955
958
|
}
|
|
956
959
|
}
|
|
957
|
-
if (
|
|
958
|
-
if (
|
|
959
|
-
await
|
|
960
|
+
if (_0x2b2ec3 > 0x0) {
|
|
961
|
+
if (_0x2c8033)
|
|
962
|
+
await _0x35621e(_0x2b2ec3);
|
|
960
963
|
else
|
|
961
|
-
|
|
964
|
+
_0x9b2cc6 && await _0x4168c1(_0x2b2ec3);
|
|
962
965
|
}
|
|
963
|
-
return
|
|
966
|
+
return _0x2b2ec3 > _0x4e7d37 && (_0x4e7d37 = _0x2b2ec3), { 'messages': _0x29ee68 ? _0x257cee : _0x5be61d ? _0x257cee[_0x2f7fb3(0x189)](_0x134e92 => _0x134e92[_0x2f7fb3(0x248)] !== !![]) : _0x257cee };
|
|
964
967
|
}
|
|
965
968
|
};
|
|
966
969
|
}
|
|
967
|
-
function toLocalTime(
|
|
968
|
-
const
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
},
|
|
973
|
-
if (Number[
|
|
974
|
-
return
|
|
975
|
-
const
|
|
976
|
-
return
|
|
977
|
-
}
|
|
978
|
-
function formatAttachmentSuffix(_0x504531) {
|
|
979
|
-
const _0x5d2fcd = {
|
|
980
|
-
_0x4c345f: 0x163,
|
|
981
|
-
_0x51c02a: 0x26e
|
|
982
|
-
}, _0x55eeba = _0x506949;
|
|
983
|
-
if (!_0x504531 || _0x504531['length'] === 0x0)
|
|
984
|
-
return '';
|
|
985
|
-
return '\x20[' + _0x504531[_0x55eeba(0x1fe)] + _0x55eeba(_0x5d2fcd._0x4c345f) + (_0x504531[_0x55eeba(0x1fe)] > 0x1 ? 's' : '') + ':\x20' + _0x504531['map'](_0x422aec => _0x422aec[_0x55eeba(0x1a6)] + _0x55eeba(0x29c) + _0x422aec['id'] + ')')[_0x55eeba(_0x5d2fcd._0x51c02a)](',\x20') + _0x55eeba(0x228);
|
|
986
|
-
}
|
|
987
|
-
function formatCheckMessages(_0x4c2ca5) {
|
|
988
|
-
const _0x5d2507 = {
|
|
989
|
-
_0x261b62: 0x218,
|
|
990
|
-
_0x4dedf1: 0x22b,
|
|
991
|
-
_0x47cfe5: 0x1b4
|
|
992
|
-
}, _0x121f40 = _0x506949;
|
|
993
|
-
if (_0x4c2ca5[_0x121f40(0x1fe)] === 0x0)
|
|
994
|
-
return 'No\x20new\x20messages.';
|
|
995
|
-
return _0x4c2ca5['map'](_0x44690b => {
|
|
996
|
-
const _0x401650 = _0x121f40, _0x40b164 = _0x44690b[_0x401650(0x2b7)] === 'agent' ? _0x401650(0x1cc) : '', _0x58cdfe = _0x44690b[_0x401650(0x176)] && _0x44690b['kind'] !== 'chat' ? '\x20kind=' + _0x44690b['kind'] : '';
|
|
997
|
-
return _0x401650(_0x5d2507._0x261b62) + _0x44690b[_0x401650(_0x5d2507._0x4dedf1)] + _0x401650(0x170) + _0x44690b[_0x401650(0x236)][_0x401650(0x199)](0x0, 0x8) + _0x401650(0x198) + toLocalTime(_0x44690b[_0x401650(_0x5d2507._0x47cfe5)]) + _0x40b164 + _0x58cdfe + _0x401650(0x1b3) + _0x44690b['senderName'] + ':\x20' + _0x44690b['content'] + formatAttachmentSuffix(_0x44690b[_0x401650(0x23e)]);
|
|
998
|
-
})['join']('\x0a');
|
|
999
|
-
}
|
|
1000
|
-
function formatHistory(_0x3b7d79) {
|
|
1001
|
-
const _0x2686bf = {
|
|
1002
|
-
_0x596ef1: 0x268,
|
|
1003
|
-
_0x2123d3: 0x266,
|
|
1004
|
-
_0x70443f: 0x26e,
|
|
1005
|
-
_0x5263f8: 0x152,
|
|
1006
|
-
_0x5252c2: 0x1fe,
|
|
1007
|
-
_0x13eb08: 0x1c7,
|
|
1008
|
-
_0x147375: 0x24f
|
|
1009
|
-
}, _0x3d6924 = {
|
|
1010
|
-
_0x18aef2: 0x2b7,
|
|
1011
|
-
_0x3be2c3: 0x176,
|
|
1012
|
-
_0x1f58a5: 0x207,
|
|
1013
|
-
_0x26ea00: 0x236,
|
|
1014
|
-
_0x4115eb: 0x198,
|
|
1015
|
-
_0xb4a17f: 0x188,
|
|
1016
|
-
_0x2700d2: 0x179
|
|
1017
|
-
}, _0x372b8a = _0x506949;
|
|
1018
|
-
if (_0x3b7d79[_0x372b8a(_0x2686bf._0x596ef1)][_0x372b8a(0x1fe)] === 0x0)
|
|
1019
|
-
return _0x372b8a(_0x2686bf._0x2123d3) + _0x3b7d79['channel'] + _0x372b8a(0x208);
|
|
1020
|
-
const _0x2e8443 = _0x3b7d79[_0x372b8a(_0x2686bf._0x596ef1)][_0x372b8a(0x22a)](_0x4f57ee => {
|
|
1021
|
-
const _0x2dd2e2 = _0x372b8a, _0x2249a9 = _0x4f57ee[_0x2dd2e2(_0x3d6924._0x18aef2)] === _0x2dd2e2(0x215) ? _0x2dd2e2(0x1cc) : '', _0x43beac = _0x4f57ee[_0x2dd2e2(_0x3d6924._0x3be2c3)] && _0x4f57ee[_0x2dd2e2(0x176)] !== _0x2dd2e2(_0x3d6924._0x1f58a5) ? _0x2dd2e2(0x173) + _0x4f57ee[_0x2dd2e2(0x176)] : '';
|
|
1022
|
-
return '[seq=' + _0x4f57ee['seq'] + '\x20msg=' + _0x4f57ee[_0x2dd2e2(_0x3d6924._0x26ea00)] + _0x2dd2e2(_0x3d6924._0x4115eb) + toLocalTime(_0x4f57ee['createdAt']) + _0x2249a9 + _0x43beac + ']\x20@' + _0x4f57ee[_0x2dd2e2(_0x3d6924._0xb4a17f)] + ':\x20' + _0x4f57ee[_0x2dd2e2(_0x3d6924._0x2700d2)] + formatAttachmentSuffix(_0x4f57ee['attachments']);
|
|
1023
|
-
})[_0x372b8a(_0x2686bf._0x70443f)]('\x0a'), _0x18b504 = _0x3b7d79['hasMore'] && _0x3b7d79[_0x372b8a(_0x2686bf._0x5263f8)] ? _0x372b8a(0x2b9) + _0x3b7d79['messages'][_0x372b8a(_0x2686bf._0x5252c2)] + _0x372b8a(0x1d9) + _0x3b7d79['nextCursor'] + _0x372b8a(_0x2686bf._0x13eb08) : '';
|
|
1024
|
-
return '##\x20Message\x20History\x20for\x20' + _0x3b7d79[_0x372b8a(_0x2686bf._0x147375)] + '\x20(' + _0x3b7d79[_0x372b8a(0x268)]['length'] + _0x372b8a(0x18b) + _0x2e8443 + _0x18b504;
|
|
1025
|
-
}
|
|
1026
|
-
function formatServerDirectory(_0x11eee9) {
|
|
1027
|
-
const _0x24b818 = {
|
|
1028
|
-
_0x3fe6e9: 0x26e,
|
|
1029
|
-
_0x5bdec4: 0x22e,
|
|
1030
|
-
_0x65ca39: 0x22a,
|
|
1031
|
-
_0x2b5f83: 0x1c0,
|
|
1032
|
-
_0x553718: 0x2c8,
|
|
1033
|
-
_0x85c1d4: 0x150
|
|
1034
|
-
}, _0x121b44 = _0x506949, _0xc4be6d = _0x11eee9['channels']['length'] > 0x0 ? _0x11eee9[_0x121b44(0x248)][_0x121b44(0x22a)](_0x180b6e => _0x180b6e['description'] ? _0x121b44(0x2af) + _0x180b6e['name'] + _0x121b44(0x1dc) + _0x180b6e[_0x121b44(0x25e)] : _0x121b44(0x2af) + _0x180b6e[_0x121b44(0x27b)])[_0x121b44(_0x24b818._0x3fe6e9)]('\x0a') : _0x121b44(0x1c1), _0x42caad = _0x11eee9[_0x121b44(0x245)]['length'] > 0x0 ? _0x11eee9[_0x121b44(0x245)][_0x121b44(0x22a)](_0x342595 => '-\x20@' + _0x342595[_0x121b44(0x27b)])[_0x121b44(0x26e)]('\x0a') : _0x121b44(0x1c1), _0x435f03 = _0x11eee9[_0x121b44(_0x24b818._0x5bdec4)]['length'] > 0x0 ? _0x11eee9[_0x121b44(0x22e)][_0x121b44(_0x24b818._0x65ca39)](_0x2771b6 => _0x121b44(0x2c1) + _0x2771b6[_0x121b44(0x27b)])['join']('\x0a') : _0x121b44(0x1c1);
|
|
1035
|
-
return [
|
|
1036
|
-
_0x121b44(_0x24b818._0x2b5f83) + _0x11eee9[_0x121b44(_0x24b818._0x553718)],
|
|
1037
|
-
'',
|
|
1038
|
-
_0x121b44(0x216),
|
|
1039
|
-
_0xc4be6d,
|
|
1040
|
-
'',
|
|
1041
|
-
_0x121b44(_0x24b818._0x85c1d4),
|
|
1042
|
-
_0x42caad,
|
|
1043
|
-
'',
|
|
1044
|
-
_0x121b44(0x1d6),
|
|
1045
|
-
_0x435f03
|
|
1046
|
-
][_0x121b44(0x26e)]('\x0a');
|
|
1047
|
-
}
|
|
1048
|
-
function formatUploadResult(_0x4a23d7) {
|
|
1049
|
-
const _0x468090 = {
|
|
1050
|
-
_0x5d714a: 0x278,
|
|
1051
|
-
_0x4eec46: 0x1a6,
|
|
1052
|
-
_0x1f0952: 0x169,
|
|
1053
|
-
_0x17ae9f: 0x2cd,
|
|
1054
|
-
_0x762f54: 0x1f2
|
|
1055
|
-
}, _0x2ab459 = _0x506949;
|
|
1056
|
-
return _0x2ab459(_0x468090._0x5d714a) + _0x4a23d7[_0x2ab459(_0x468090._0x4eec46)] + '\x20(' + (_0x4a23d7[_0x2ab459(_0x468090._0x1f0952)] / 0x400)[_0x2ab459(0x269)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x4a23d7[_0x2ab459(_0x468090._0x17ae9f)] + _0x2ab459(_0x468090._0x762f54);
|
|
1057
|
-
}
|
|
1058
|
-
function formatViewFileResult(_0x47358a, _0x5ba8bb) {
|
|
1059
|
-
const _0x4bac5c = _0x506949;
|
|
1060
|
-
return _0x5ba8bb ? _0x4bac5c(0x20d) + _0x47358a : _0x4bac5c(0x2d6) + _0x47358a;
|
|
1061
|
-
}
|
|
1062
|
-
function formatTaskList(_0x303ca1, _0x5d71a5) {
|
|
1063
|
-
const _0x11fc9a = { _0x5dc4e2: 0x1fe }, _0x39d0ce = {
|
|
1064
|
-
_0x1e8e87: 0x178,
|
|
1065
|
-
_0x3cd017: 0x1f8,
|
|
1066
|
-
_0x245f47: 0x178,
|
|
1067
|
-
_0x2817c7: 0x239,
|
|
1068
|
-
_0x4f3621: 0x178,
|
|
1069
|
-
_0x4c4573: 0x286,
|
|
1070
|
-
_0xf9116a: 0x250,
|
|
1071
|
-
_0x23d4c5: 0x244
|
|
1072
|
-
}, _0x3045b = _0x506949;
|
|
1073
|
-
if (_0x303ca1[_0x3045b(_0x11fc9a._0x5dc4e2)] === 0x0)
|
|
1074
|
-
return _0x3045b(0x238);
|
|
1075
|
-
return _0x303ca1['map'](_0xff5a40 => {
|
|
1076
|
-
const _0xee84bb = _0x3045b, _0xf52979 = _0xff5a40[_0xee84bb(_0x39d0ce._0x1e8e87)] == null ? _0xee84bb(_0x39d0ce._0x3cd017) : _0xff5a40[_0xee84bb(0x2b8)] != null ? '#' + _0xff5a40[_0xee84bb(0x178)] + '.' + _0xff5a40[_0xee84bb(0x2b8)] : '#' + _0xff5a40[_0xee84bb(_0x39d0ce._0x245f47)], _0x169dea = _0xff5a40[_0xee84bb(0x236)] ? _0xee84bb(_0x39d0ce._0x2817c7) + _0xff5a40[_0xee84bb(0x236)] : '', _0x4ec01b = _0x5d71a5 && _0xff5a40[_0xee84bb(0x178)] != null && !_0xff5a40[_0xee84bb(0x2b8)] && _0x5d71a5['has'](_0xff5a40[_0xee84bb(_0x39d0ce._0x4f3621)]) ? '\x20executionMode=worker' : '', _0x5039d8 = _0xff5a40[_0xee84bb(_0x39d0ce._0x4c4573)] != null && _0xff5a40[_0xee84bb(_0x39d0ce._0x4c4573)] > 0x0 ? '\x20(' + (_0xff5a40[_0xee84bb(0x189)] ?? 0x0) + '/' + _0xff5a40[_0xee84bb(_0x39d0ce._0x4c4573)] + _0xee84bb(_0x39d0ce._0xf9116a) : '';
|
|
1077
|
-
return _0xf52979 + '\x20[' + _0xff5a40[_0xee84bb(_0x39d0ce._0x23d4c5)] + ']\x20' + _0xff5a40['title'] + _0x5039d8 + _0x169dea + _0x4ec01b;
|
|
1078
|
-
})[_0x3045b(0x26e)]('\x0a');
|
|
1079
|
-
}
|
|
1080
|
-
function formatCreatedTasks(_0x3ca565) {
|
|
1081
|
-
const _0x4d43a9 = {
|
|
1082
|
-
_0x11b9a5: 0x178,
|
|
1083
|
-
_0x4c816f: 0x2b8,
|
|
1084
|
-
_0x12d03a: 0x236,
|
|
1085
|
-
_0x3f35b2: 0x239,
|
|
1086
|
-
_0x2350db: 0x236
|
|
1087
|
-
}, _0x16b114 = _0x506949;
|
|
1088
|
-
if (_0x3ca565[_0x16b114(0x1fe)] === 0x0)
|
|
1089
|
-
return _0x16b114(0x28b);
|
|
1090
|
-
return _0x3ca565['map'](_0x48d2bd => {
|
|
1091
|
-
const _0x3928d3 = _0x16b114, _0x4bffc9 = _0x48d2bd[_0x3928d3(_0x4d43a9._0x11b9a5)] == null ? _0x3928d3(0x1f8) : _0x48d2bd[_0x3928d3(_0x4d43a9._0x4c816f)] != null ? '#' + _0x48d2bd[_0x3928d3(0x178)] + '.' + _0x48d2bd[_0x3928d3(0x2b8)] : '#' + _0x48d2bd['taskNumber'], _0x438d72 = _0x48d2bd[_0x3928d3(_0x4d43a9._0x12d03a)] ? _0x3928d3(_0x4d43a9._0x3f35b2) + _0x48d2bd[_0x3928d3(_0x4d43a9._0x2350db)] : '';
|
|
1092
|
-
return _0x4bffc9 + '\x20' + _0x48d2bd[_0x3928d3(0x242)] + _0x438d72;
|
|
1093
|
-
})[_0x16b114(0x26e)]('\x0a');
|
|
1094
|
-
}
|
|
1095
|
-
function formatClaimTaskResults(_0x3870e6) {
|
|
1096
|
-
const _0x4748a8 = { _0x51261b: 0x1a9 }, _0x5e476b = {
|
|
1097
|
-
_0x21d812: 0x178,
|
|
1098
|
-
_0x58eaa4: 0x2b8,
|
|
1099
|
-
_0x4cc2eb: 0x236,
|
|
1100
|
-
_0x4f7940: 0x2a9,
|
|
1101
|
-
_0x590a69: 0x231,
|
|
1102
|
-
_0x40a22c: 0x16e,
|
|
1103
|
-
_0x3450b6: 0x2c7,
|
|
1104
|
-
_0x31805c: 0x20f,
|
|
1105
|
-
_0x271bc4: 0x1a3,
|
|
1106
|
-
_0x3dfa5e: 0x1a1,
|
|
1107
|
-
_0x163bb7: 0x1d4,
|
|
1108
|
-
_0x291978: 0x2ad,
|
|
1109
|
-
_0x2853b2: 0x1aa,
|
|
1110
|
-
_0x1bc9a8: 0x2aa
|
|
1111
|
-
}, _0x582a45 = _0x506949;
|
|
1112
|
-
if (_0x3870e6[_0x582a45(0x1fe)] === 0x0)
|
|
1113
|
-
return _0x582a45(_0x4748a8._0x51261b);
|
|
1114
|
-
return _0x3870e6['map'](_0x1a68fc => {
|
|
1115
|
-
const _0x107af3 = _0x582a45;
|
|
1116
|
-
if (_0x1a68fc['success']) {
|
|
1117
|
-
const _0x5d47e6 = _0x1a68fc[_0x107af3(_0x5e476b._0x21d812)] == null ? _0x107af3(0x1f8) : _0x1a68fc['subtaskNumber'] != null ? '#' + _0x1a68fc[_0x107af3(0x178)] + '.' + _0x1a68fc[_0x107af3(_0x5e476b._0x58eaa4)] : '#' + _0x1a68fc[_0x107af3(0x178)], _0x5304ac = _0x1a68fc[_0x107af3(_0x5e476b._0x4cc2eb)] ? _0x107af3(0x239) + _0x1a68fc['messageId'] : '';
|
|
1118
|
-
if (_0x1a68fc[_0x107af3(_0x5e476b._0x4f7940)]) {
|
|
1119
|
-
const _0x48aab7 = [
|
|
1120
|
-
_0x107af3(_0x5e476b._0x590a69),
|
|
1121
|
-
_0x1a68fc[_0x107af3(0x1ac)] ? _0x107af3(_0x5e476b._0x40a22c) : null,
|
|
1122
|
-
_0x1a68fc['executionMode'] ? _0x107af3(0x281) + _0x1a68fc[_0x107af3(_0x5e476b._0x3450b6)] : null,
|
|
1123
|
-
_0x1a68fc[_0x107af3(0x1b0)] ? _0x107af3(0x24d) + _0x1a68fc[_0x107af3(0x1b0)] : null,
|
|
1124
|
-
_0x1a68fc['workerDisposition'] ? 'workerDisposition=' + _0x1a68fc['workerDisposition'] : null
|
|
1125
|
-
][_0x107af3(_0x5e476b._0x31805c)](Boolean)[_0x107af3(0x26e)]('\x20');
|
|
1126
|
-
return _0x5d47e6 + _0x107af3(_0x5e476b._0x271bc4) + _0x5304ac + '\x20' + _0x48aab7 + _0x107af3(_0x5e476b._0x3dfa5e);
|
|
1127
|
-
}
|
|
1128
|
-
const _0x1de7d9 = _0x1a68fc[_0x107af3(_0x5e476b._0x163bb7)] ? _0x107af3(_0x5e476b._0x291978) + _0x1a68fc[_0x107af3(_0x5e476b._0x163bb7)] : '';
|
|
1129
|
-
return _0x5d47e6 + _0x107af3(_0x5e476b._0x271bc4) + _0x5304ac + _0x1de7d9;
|
|
1130
|
-
}
|
|
1131
|
-
const _0x1dfb8b = _0x1a68fc[_0x107af3(_0x5e476b._0x21d812)] == null ? _0x1a68fc['messageId'] ?? '(unknown)' : '#' + _0x1a68fc[_0x107af3(0x178)];
|
|
1132
|
-
return _0x1dfb8b + '\x20failed:\x20' + (_0x1a68fc[_0x107af3(_0x5e476b._0x2853b2)] ?? _0x107af3(_0x5e476b._0x1bc9a8));
|
|
1133
|
-
})[_0x582a45(0x26e)]('\x0a');
|
|
970
|
+
function toLocalTime(_0x312866) {
|
|
971
|
+
const _0x510218 = {
|
|
972
|
+
_0x33061b: 0x1f8,
|
|
973
|
+
_0x2b85c2: 0x2bd,
|
|
974
|
+
_0xec732e: 0x217
|
|
975
|
+
}, _0x20829f = _0x602e11, _0x1fb79c = new Date(_0x312866);
|
|
976
|
+
if (Number['isNaN'](_0x1fb79c['getTime']()))
|
|
977
|
+
return _0x312866;
|
|
978
|
+
const _0x3e11ab = _0x13cd1a => String(_0x13cd1a)[_0x20829f(0x19e)](0x2, '0');
|
|
979
|
+
return _0x1fb79c[_0x20829f(0x2ad)]() + '-' + _0x3e11ab(_0x1fb79c[_0x20829f(0x2bc)]() + 0x1) + '-' + _0x3e11ab(_0x1fb79c[_0x20829f(0x240)]()) + '\x20' + _0x3e11ab(_0x1fb79c[_0x20829f(_0x510218._0x33061b)]()) + ':' + _0x3e11ab(_0x1fb79c[_0x20829f(_0x510218._0x2b85c2)]()) + ':' + _0x3e11ab(_0x1fb79c[_0x20829f(_0x510218._0xec732e)]());
|
|
1134
980
|
}
|
|
1135
|
-
function
|
|
1136
|
-
const
|
|
1137
|
-
'
|
|
1138
|
-
'
|
|
1139
|
-
'
|
|
1140
|
-
'
|
|
1141
|
-
'
|
|
1142
|
-
'
|
|
1143
|
-
'
|
|
1144
|
-
'
|
|
1145
|
-
'
|
|
1146
|
-
'
|
|
1147
|
-
'
|
|
1148
|
-
'
|
|
1149
|
-
'
|
|
1150
|
-
'
|
|
1151
|
-
'
|
|
1152
|
-
'
|
|
1153
|
-
'AgfZ',
|
|
1154
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1155
|
-
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1156
|
-
'DgfZAW',
|
|
1157
|
-
'zg0T',
|
|
981
|
+
function _0x511f() {
|
|
982
|
+
const _0x333b81 = [
|
|
983
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
984
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
985
|
+
'Dw5JBgfPBv90yxnR',
|
|
986
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
987
|
+
'Aw1Hz2uVz2LM',
|
|
988
|
+
'Dg9gAxHLza',
|
|
989
|
+
'DhjPBq',
|
|
990
|
+
'DgL0Bgu',
|
|
991
|
+
'BgLTAxq',
|
|
992
|
+
'BwvZC2fNzq',
|
|
993
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
994
|
+
'BgLZDfrHC2TZ',
|
|
995
|
+
'C2vYDMvY',
|
|
996
|
+
'yxjYyxLcDwzMzxi',
|
|
997
|
+
'iokaLca',
|
|
998
|
+
'AxngAw5PDgu',
|
|
1158
999
|
'zMLSzv9WyxrO',
|
|
1159
|
-
'
|
|
1160
|
-
'
|
|
1161
|
-
'
|
|
1162
|
-
'
|
|
1163
|
-
'
|
|
1164
|
-
'
|
|
1165
|
-
'
|
|
1166
|
-
'
|
|
1167
|
-
'
|
|
1168
|
-
'CgfKu3rHCNq',
|
|
1169
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1000
|
+
'CMvZDwX0sNnVBG',
|
|
1001
|
+
'mu9QthfxAG',
|
|
1002
|
+
'DgfZAY0',
|
|
1003
|
+
'y29UDgvUDa',
|
|
1004
|
+
'zw51Bq',
|
|
1005
|
+
'ywjVCNrLza',
|
|
1006
|
+
'C3rYAw5N',
|
|
1007
|
+
'C3rHCNrLza',
|
|
1008
|
+
'y2XHAw1uyxnRCW',
|
|
1170
1009
|
'DMfSDwu',
|
|
1171
|
-
'
|
|
1172
|
-
'
|
|
1173
|
-
'
|
|
1010
|
+
'igLUia',
|
|
1011
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1012
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1174
1013
|
'C29YDa',
|
|
1175
|
-
'
|
|
1176
|
-
'
|
|
1177
|
-
'
|
|
1178
|
-
'
|
|
1179
|
-
'
|
|
1180
|
-
'
|
|
1181
|
-
'
|
|
1014
|
+
'ig1LC3nHz2u9',
|
|
1015
|
+
'Bg9JywXLq29TCgfYzq',
|
|
1016
|
+
'l3nLCNzLCG',
|
|
1017
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1018
|
+
'C2HHmJu2',
|
|
1019
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
1020
|
+
'ywDNCMvNyxrLswrZ',
|
|
1021
|
+
'CMvZDwX0',
|
|
1022
|
+
'ChjVDg9JB2W',
|
|
1023
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1024
|
+
'Dg9tDhjPBMC',
|
|
1025
|
+
'ndq0ntbdDKXKueO',
|
|
1026
|
+
'zg0T',
|
|
1027
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
1028
|
+
'm3znrer2za',
|
|
1029
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1030
|
+
'z2v0sg91CNm',
|
|
1031
|
+
'Dw5RBM93BG',
|
|
1032
|
+
'z2v0',
|
|
1033
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1034
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
1035
|
+
'BwfW',
|
|
1036
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1037
|
+
'C3vTBwfYEq',
|
|
1038
|
+
'Aw1Hz2uVANbLzW',
|
|
1039
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1040
|
+
'DgvZDa',
|
|
1041
|
+
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
1042
|
+
'ywDLBNrjza',
|
|
1182
1043
|
'v29YA2vYici',
|
|
1044
|
+
'ywDLBNq',
|
|
1045
|
+
'AgfZtw9Yzq',
|
|
1046
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1047
|
+
'lNnSB2nR',
|
|
1048
|
+
'zMfSC2u',
|
|
1049
|
+
'yM9KEu1HCMTKB3DU',
|
|
1050
|
+
'y2XHAw1FDgfZA3m',
|
|
1051
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1052
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1053
|
+
'yxv0BZO',
|
|
1054
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1055
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
1056
|
+
'BgLZDf9Zzxj2zxi',
|
|
1057
|
+
'Aw1Hz2uVD2vICa',
|
|
1058
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1059
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1060
|
+
'Dgv4Dc9JC3y',
|
|
1061
|
+
'z2v0u2vJB25KCW',
|
|
1062
|
+
'y2HPBgrYzw5eB25L',
|
|
1063
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1064
|
+
'DgHYzwfKtNvTyMvY',
|
|
1065
|
+
'zMv0y2HjBxbS',
|
|
1066
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1067
|
+
'l3vWBg9Hza',
|
|
1068
|
+
'yxjYyxK',
|
|
1069
|
+
'Aw1Hz2uVCg5N',
|
|
1070
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1071
|
+
'igf0DgfJAg1LBNq',
|
|
1183
1072
|
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
1184
|
-
'
|
|
1073
|
+
'D29YA2vY',
|
|
1074
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1075
|
+
'BwvZC2fNzxm',
|
|
1076
|
+
'ouvuDNLxrq',
|
|
1077
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1078
|
+
'iYmJieH1BwfUCW',
|
|
1185
1079
|
'y2fJAgveAxi',
|
|
1186
|
-
'
|
|
1187
|
-
'
|
|
1188
|
-
'zxHWAxjLC0f0',
|
|
1189
|
-
'zMfSC2u',
|
|
1080
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
1081
|
+
'igzHAwXLzdOG',
|
|
1190
1082
|
'l3rHC2TZ',
|
|
1191
|
-
'
|
|
1083
|
+
'l3nLBMq',
|
|
1084
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1085
|
+
'y29UDgvUDejHC2u2na',
|
|
1086
|
+
'B3bLBL9PC3n1zxm',
|
|
1087
|
+
'zxjYB3i',
|
|
1192
1088
|
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1089
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1090
|
+
'C3rYAw5NAwz5',
|
|
1091
|
+
'BgvUz3rO',
|
|
1092
|
+
'oty3ndaYn0XVB29xDq',
|
|
1093
|
+
'ogLbwMLyBa',
|
|
1094
|
+
'ywXS',
|
|
1095
|
+
'D29YA19RzxK',
|
|
1096
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
1097
|
+
'zxH0BMfTzq',
|
|
1098
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1099
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1100
|
+
'AgvHzgvYCW',
|
|
1101
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
1193
1102
|
'z2v0rgf0zq',
|
|
1194
|
-
'
|
|
1195
|
-
'
|
|
1196
|
-
'
|
|
1197
|
-
'
|
|
1198
|
-
'
|
|
1199
|
-
'
|
|
1200
|
-
'
|
|
1201
|
-
'
|
|
1202
|
-
'
|
|
1203
|
-
'
|
|
1204
|
-
'
|
|
1205
|
-
'
|
|
1206
|
-
'
|
|
1207
|
-
'
|
|
1208
|
-
'
|
|
1209
|
-
'
|
|
1210
|
-
'
|
|
1103
|
+
'CNvUBMLUzW',
|
|
1104
|
+
'mJq2mZmYoef5DKP2yW',
|
|
1105
|
+
'Aw5FChjVz3jLC3m',
|
|
1106
|
+
'CMvWBgfJzq',
|
|
1107
|
+
'y2HHBM5LBhm',
|
|
1108
|
+
'y2HHDa',
|
|
1109
|
+
'BgLZDfnLCNzLCG',
|
|
1110
|
+
'DgfYz2v0zwruyxnR',
|
|
1111
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
1112
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1113
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
1114
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1115
|
+
'Bwf0y2Hoyw1L',
|
|
1116
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1117
|
+
'kg5VBMuP',
|
|
1118
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
1119
|
+
'yMfZzw5HBwu',
|
|
1120
|
+
'sfruuca',
|
|
1121
|
+
'l2zPBMLZAa',
|
|
1122
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1123
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1124
|
+
'DhLWzq',
|
|
1125
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1126
|
+
'ANnVBG',
|
|
1127
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1128
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
1129
|
+
'ywDLBNrZ',
|
|
1130
|
+
'zgvJAxnPB25Z',
|
|
1131
|
+
'otK2mtmWAgLpwNrA',
|
|
1132
|
+
'yxnPzgu',
|
|
1133
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1134
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
1211
1135
|
'BgLZDf90yxnRCW',
|
|
1212
|
-
'
|
|
1213
|
-
'
|
|
1214
|
-
'
|
|
1215
|
-
'
|
|
1216
|
-
'
|
|
1217
|
-
'
|
|
1218
|
-
'
|
|
1219
|
-
'
|
|
1220
|
-
'
|
|
1221
|
-
'
|
|
1222
|
-
'mtL2CM1YChK',
|
|
1223
|
-
'ywDNCMvNyxrLswrZ',
|
|
1224
|
-
'AgvHzgvYCW',
|
|
1225
|
-
'CMvZDwX0sNnVBG',
|
|
1226
|
-
'zMLSzxnFy2HHBMDLza',
|
|
1136
|
+
'yxjNDG',
|
|
1137
|
+
'l3rHC2TZpW',
|
|
1138
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
1139
|
+
'zNjVBq',
|
|
1140
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1141
|
+
'khvUA25VD24P',
|
|
1142
|
+
'zMLUza',
|
|
1143
|
+
'y29UDgvUDfr5Cgu',
|
|
1144
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1145
|
+
'yMXVy2TLza',
|
|
1227
1146
|
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1228
|
-
'
|
|
1229
|
-
'
|
|
1230
|
-
'y3jLyxrLvgfZA3m',
|
|
1231
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1232
|
-
'zMLSzw5HBwu',
|
|
1233
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
1234
|
-
'ls1ZzxnZAw9UlwLK',
|
|
1235
|
-
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1236
|
-
'CMvHC29U',
|
|
1237
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1238
|
-
'C3rVCe1HAw4',
|
|
1239
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1240
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
1241
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1242
|
-
'DgHYzwfKvgfYz2v0',
|
|
1147
|
+
'C29Tzq',
|
|
1148
|
+
'CgfYC2u',
|
|
1243
1149
|
'Dgv4Dc9WBgfPBG',
|
|
1244
|
-
'
|
|
1245
|
-
'
|
|
1246
|
-
'y3jLyxrLzef0',
|
|
1247
|
-
'ihn0yxr1CZ0',
|
|
1248
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1249
|
-
'AgfZtw9Yzq',
|
|
1250
|
-
'CgfYC2vjBNq',
|
|
1150
|
+
'C3rHCNrZv2L0Aa',
|
|
1151
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1251
1152
|
'AxnbyNnVBhv0zq',
|
|
1252
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1253
|
-
'yxnPzgu',
|
|
1254
|
-
'zgvZDhjVEwvK',
|
|
1255
|
-
'AxngAwXL',
|
|
1256
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1257
|
-
'CMvZDw1Lx3bHy2TLDa',
|
|
1258
|
-
'iYmGu2vYDMvYoIa',
|
|
1259
|
-
'kg5VBMuP',
|
|
1260
|
-
'y29UBMvJDa',
|
|
1261
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1262
|
-
'CgfYDgLJAxbHBNrjza',
|
|
1263
|
-
'mJGZntnvDuHWteS',
|
|
1264
|
-
'EM9K',
|
|
1265
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1266
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1267
|
-
'D29YA19RzxK',
|
|
1268
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
1269
|
-
'C3rYAw5NAwz5',
|
|
1270
|
-
'ihr5Cgu9ywDLBNq',
|
|
1271
|
-
'Aw5KzxHpzG',
|
|
1272
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1273
1153
|
'BwvTyMvYCW',
|
|
1274
|
-
'
|
|
1275
|
-
'
|
|
1276
|
-
'
|
|
1277
|
-
'CMvZDwX0',
|
|
1278
|
-
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1279
|
-
'DgHYzwfKswq',
|
|
1280
|
-
'iYmJieH1BwfUCW',
|
|
1281
|
-
'vgfZAYa',
|
|
1282
|
-
'C2HHmJu2',
|
|
1283
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1284
|
-
'D2fPDgLUz19PBNb1Da',
|
|
1285
|
-
'DgfYz2v0zwq',
|
|
1286
|
-
'iokaLca',
|
|
1287
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1288
|
-
'DgfZA3m',
|
|
1289
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
1290
|
-
'C2vX',
|
|
1291
|
-
'BgLTAxq',
|
|
1292
|
-
'zNjVBq',
|
|
1293
|
-
'DhLWzq',
|
|
1294
|
-
'Bwf0y2Hoyw1L',
|
|
1295
|
-
'mZv5EePoA0e',
|
|
1296
|
-
'D29YA2vYtw9Kzq',
|
|
1297
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1298
|
-
'C2vUze1LC3nHz2u',
|
|
1299
|
-
'ywrK',
|
|
1300
|
-
'C2LNBMfS',
|
|
1301
|
-
'Agv4',
|
|
1302
|
-
'y2XHAw1uyxnRCW',
|
|
1303
|
-
'mZK0mda4AMn4verO',
|
|
1304
|
-
'6k+35Rgcia',
|
|
1305
|
-
'BgLZDfnLCNzLCG',
|
|
1306
|
-
'Dw5JBgfPBv90yxnR',
|
|
1307
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
1308
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1309
|
-
'BwvZC2fNzq',
|
|
1310
|
-
'Dg9ju09tDhjPBMC',
|
|
1311
|
-
'DMLLD19MAwXLigzHAwXLza',
|
|
1312
|
-
'y29UDgvUDc10ExbL',
|
|
1313
|
-
'Dgv4Dc9JC3y',
|
|
1314
|
-
'kgXLz2fJEsK',
|
|
1154
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1155
|
+
'igTPBMq9',
|
|
1156
|
+
'xsba',
|
|
1315
1157
|
'ywz0zxi',
|
|
1316
|
-
'
|
|
1317
|
-
'C2vZC2LVBKLK',
|
|
1318
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
1319
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1320
|
-
'BgvUz3rO',
|
|
1321
|
-
'DgfYz2v0zwruyxnR',
|
|
1322
|
-
'ywXS',
|
|
1323
|
-
'C3bSAxq',
|
|
1324
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
1325
|
-
'mteYntGYwvjmruLi',
|
|
1326
|
-
'DMfSDwvZ',
|
|
1327
|
-
'DxrMoa',
|
|
1328
|
-
'zgvSzxrL',
|
|
1329
|
-
'y2HHDa',
|
|
1330
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1331
|
-
'y2HHBM5LBe5HBwu',
|
|
1332
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
1333
|
-
'C2vYDMvY',
|
|
1334
|
-
'DhjPBq',
|
|
1335
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1336
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1337
|
-
'zMLSDgvY',
|
|
1338
|
-
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1339
|
-
'Dw5RBM93BG',
|
|
1340
|
-
'C2vYDMvYvxjS',
|
|
1341
|
-
'z2v0vgLTzq',
|
|
1342
|
-
'Aw5FChjVz3jLC3m',
|
|
1343
|
-
'ywDLBNq',
|
|
1344
|
-
'iYmJienOyw5UzwXZ',
|
|
1158
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1345
1159
|
'DMLZAwjPBgL0Eq',
|
|
1346
|
-
'w3rHCMDLDd0',
|
|
1347
|
-
'z2v0u2vJB25KCW',
|
|
1348
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1349
|
-
'otyYmJCWmfvpvuz0Eq',
|
|
1350
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1351
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1352
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1353
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
1354
|
-
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1355
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
1356
|
-
'zw50CMLLCW',
|
|
1357
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1358
|
-
'zxH0BMfTzq',
|
|
1359
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
1360
|
-
'ANnVBG',
|
|
1361
|
-
'yMvMB3jL',
|
|
1362
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1363
|
-
'zMfPBgvK',
|
|
1364
|
-
'BwfW',
|
|
1365
|
-
'DgfYz2v0',
|
|
1366
1160
|
'C3vJy2vZCW',
|
|
1161
|
+
'B3b0Aw9UywW',
|
|
1162
|
+
'DxrMoa',
|
|
1163
|
+
'EM9K',
|
|
1164
|
+
'D29YA2vYtw9Kzq',
|
|
1165
|
+
'zgvZy3jPChrPB24',
|
|
1166
|
+
'yxr0ywnOBwvUDeLK',
|
|
1167
|
+
'igrVBMuP',
|
|
1168
|
+
'zgf0yq',
|
|
1169
|
+
'y2HHBM5LBeLK',
|
|
1170
|
+
'Dg9ju09tDhjPBMC',
|
|
1171
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1172
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1173
|
+
'Aw5KzxHpzG',
|
|
1174
|
+
'lsaJ',
|
|
1175
|
+
'mtC4nJiYofvNs2vxBW',
|
|
1176
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
1177
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1178
|
+
'lsba',
|
|
1179
|
+
'AgLNAa',
|
|
1180
|
+
'mc4WlJa',
|
|
1181
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1182
|
+
'CMvHzeHPC3rVCNK',
|
|
1183
|
+
'C2L6zuj5DgvZ',
|
|
1184
|
+
'y3vYC29Y',
|
|
1367
1185
|
'BwvTyMvY',
|
|
1368
|
-
'
|
|
1369
|
-
'
|
|
1370
|
-
'
|
|
1371
|
-
'
|
|
1372
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1373
|
-
'yMXVy2TLza',
|
|
1374
|
-
'l3jLy2vPDMu',
|
|
1375
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
1376
|
-
'BwvZC2fNzuLK',
|
|
1377
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
1378
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
1379
|
-
'ig1LC3nHz2u9',
|
|
1380
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
1381
|
-
'ChjVDg9JB2W',
|
|
1382
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
1383
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1384
|
-
'yxr0ywnOBwvUDhm',
|
|
1385
|
-
'l2zPBMLZAa',
|
|
1386
|
-
'DgHYzwfK',
|
|
1186
|
+
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
1187
|
+
'6k+35Rgcia',
|
|
1188
|
+
'lcbWCMv2Awv3pq',
|
|
1189
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1387
1190
|
'twvZC2fNzsbZzw50ihrVia',
|
|
1388
|
-
'
|
|
1389
|
-
'
|
|
1191
|
+
'y2XPzw50',
|
|
1192
|
+
'l3n0yxj0',
|
|
1193
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
1194
|
+
'CMvHC29U',
|
|
1195
|
+
'zg06',
|
|
1196
|
+
'ue9tva',
|
|
1197
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1198
|
+
'C2vUzgvYvhLWzq',
|
|
1199
|
+
'CNvUswq',
|
|
1200
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
1201
|
+
'ihr5Cgu9ywDLBNq',
|
|
1202
|
+
'kgXLz2fJEsK',
|
|
1203
|
+
'A2LUza',
|
|
1204
|
+
'ls1Hz2vUDc1Pza',
|
|
1205
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1206
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1207
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1208
|
+
'zgLZCg9ZAxrPB24',
|
|
1209
|
+
'AgfZ',
|
|
1210
|
+
'vgfZAZOG',
|
|
1211
|
+
'z2v0rNvSBfLLyxi',
|
|
1390
1212
|
'C3rHDhvZ',
|
|
1391
|
-
'
|
|
1392
|
-
'
|
|
1393
|
-
'
|
|
1394
|
-
'
|
|
1395
|
-
'
|
|
1396
|
-
'
|
|
1397
|
-
'
|
|
1398
|
-
'
|
|
1213
|
+
'DxbSB2fKx2zPBgu',
|
|
1214
|
+
'y29UDgvUDc10ExbL',
|
|
1215
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1216
|
+
'C2v0',
|
|
1217
|
+
'vgfZAYa',
|
|
1218
|
+
'zxHWAxjLC0f0',
|
|
1219
|
+
'DxbKyxrL',
|
|
1220
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1221
|
+
'DMLLD19MAwXL',
|
|
1222
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
1223
|
+
'l2HPC3rVCNK/',
|
|
1224
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1225
|
+
'D2fPDgLUz19PBNb1Da',
|
|
1226
|
+
'z2v0tw9UDgG',
|
|
1227
|
+
'z2v0twLUDxrLCW',
|
|
1399
1228
|
'DgHYzwfKvgfYz2v0pq',
|
|
1400
|
-
'
|
|
1401
|
-
'
|
|
1402
|
-
'
|
|
1403
|
-
'
|
|
1404
|
-
'
|
|
1405
|
-
'
|
|
1406
|
-
'
|
|
1407
|
-
'
|
|
1408
|
-
'
|
|
1409
|
-
'
|
|
1410
|
-
'
|
|
1411
|
-
'
|
|
1412
|
-
'y29UDgvUDfr5Cgu',
|
|
1413
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1414
|
-
'igLUia',
|
|
1415
|
-
'l3DVCMTLCNmVzMLUAxnO',
|
|
1416
|
-
'zgvZy3jPChrPB24',
|
|
1417
|
-
'iJOGC3rHDhvZpq',
|
|
1418
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1229
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1230
|
+
'Dg9VBa',
|
|
1231
|
+
'BwLU',
|
|
1232
|
+
'ig1ZzZ0',
|
|
1233
|
+
'BMfTzq',
|
|
1234
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1235
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1236
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1237
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1238
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1239
|
+
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
1240
|
+
'AxnjBNrLz2vY',
|
|
1419
1241
|
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1420
|
-
'
|
|
1421
|
-
'CMvHzf9OAxn0B3j5',
|
|
1422
|
-
'zw51Bq',
|
|
1423
|
-
'yxjYyxK',
|
|
1242
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1424
1243
|
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1425
|
-
'
|
|
1426
|
-
'
|
|
1427
|
-
'
|
|
1428
|
-
'
|
|
1429
|
-
'
|
|
1430
|
-
'
|
|
1431
|
-
'
|
|
1432
|
-
'
|
|
1433
|
-
'
|
|
1434
|
-
'
|
|
1435
|
-
'
|
|
1436
|
-
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1437
|
-
'l3rHC2TZpW',
|
|
1438
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1439
|
-
'z2v0tw9UDgG',
|
|
1440
|
-
'DxbSB2fKx2zPBgu',
|
|
1441
|
-
'uefuq0G',
|
|
1442
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
1443
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1444
|
-
'zMLUza',
|
|
1445
|
-
'BMfTzq',
|
|
1446
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1447
|
-
'DxbSB2fKrMLSzq',
|
|
1448
|
-
'y2f0y2G',
|
|
1449
|
-
'BM93',
|
|
1450
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1451
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1452
|
-
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1453
|
-
'CNvUBMLUzW',
|
|
1454
|
-
'v29YA2vYia',
|
|
1455
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1456
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
1457
|
-
'zM9Yy2vszwzYzxnO',
|
|
1458
|
-
'AwrSzq',
|
|
1459
|
-
'DgfZA0LK',
|
|
1460
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1461
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1462
|
-
'AgLNAa',
|
|
1463
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1464
|
-
'CMvZCg9UC2u',
|
|
1465
|
-
'C2f2zq',
|
|
1466
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1244
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1245
|
+
'zMLSzw5HBwu',
|
|
1246
|
+
'ywrK',
|
|
1247
|
+
'C2vX',
|
|
1248
|
+
'zw50CMLLCW',
|
|
1249
|
+
'w3nLCt0',
|
|
1250
|
+
'y3jLyxrLzef0',
|
|
1251
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
1252
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
1253
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1254
|
+
'y29UBMvJDa',
|
|
1467
1255
|
'B2jQzwn0',
|
|
1468
|
-
'
|
|
1469
|
-
'
|
|
1470
|
-
'
|
|
1471
|
-
'
|
|
1472
|
-
'
|
|
1473
|
-
'ywDLBNrjza',
|
|
1474
|
-
'zg06',
|
|
1475
|
-
'ue9tva',
|
|
1476
|
-
'nJG5otaWngLwyvnkrG',
|
|
1477
|
-
'Dw5JBgfPBvrHC2S',
|
|
1256
|
+
'zxzLBNrtzxe',
|
|
1257
|
+
'C2LNBMfS',
|
|
1258
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
1259
|
+
'DgHYzwfK',
|
|
1260
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1478
1261
|
'icHPzdO',
|
|
1479
|
-
'
|
|
1480
|
-
'
|
|
1262
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
1263
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1264
|
+
'Bwv0yq',
|
|
1265
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1481
1266
|
'BwvKAxvT',
|
|
1482
|
-
'
|
|
1483
|
-
'
|
|
1484
|
-
'
|
|
1485
|
-
'
|
|
1486
|
-
'
|
|
1487
|
-
'
|
|
1488
|
-
'
|
|
1489
|
-
'
|
|
1490
|
-
'
|
|
1491
|
-
'
|
|
1492
|
-
'
|
|
1493
|
-
'
|
|
1494
|
-
'
|
|
1267
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1268
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1269
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1270
|
+
'BNvTyMvY',
|
|
1271
|
+
'DgHYzwfKswq',
|
|
1272
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1273
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1274
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1275
|
+
'AM9PBG',
|
|
1276
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1277
|
+
'ChvZAa',
|
|
1278
|
+
'DxjNzw50',
|
|
1279
|
+
'Bwf4',
|
|
1280
|
+
'ihrPBwu9',
|
|
1281
|
+
'DgfYz2v0',
|
|
1282
|
+
'CgfYC2vjBNq',
|
|
1283
|
+
'yxr0ywnOBwvUDhm',
|
|
1284
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1285
|
+
'DgfYz2v0zwq',
|
|
1286
|
+
'yMfZzty0',
|
|
1287
|
+
'DgfZA0LK',
|
|
1288
|
+
'lMjPBG',
|
|
1289
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1290
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1291
|
+
'CMvZDwX0CW',
|
|
1292
|
+
'CMvHzf9OAxn0B3j5',
|
|
1293
|
+
'C2vUzf9TzxnZywDL',
|
|
1294
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1295
|
+
'C2nOzwr1BgvKrM9Y',
|
|
1296
|
+
'ignSywLTzwq',
|
|
1297
|
+
'pgvTChr5pG',
|
|
1298
|
+
'ywjVCNq',
|
|
1299
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1300
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
1301
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1302
|
+
'zgfLBw9UqxbPs2v5',
|
|
1303
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1304
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1305
|
+
'zM9Yy2vszwzYzxnO',
|
|
1306
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1307
|
+
'Dg9mB3DLCKnHC2u',
|
|
1495
1308
|
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1496
|
-
'Dg9tDhjPBMC',
|
|
1497
|
-
'lsaJ',
|
|
1498
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1499
|
-
'Ahr0CdO',
|
|
1500
|
-
'CMvWBgfJzq',
|
|
1501
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
1502
|
-
'DxbSB2fKuhjLCgfYzxi',
|
|
1503
|
-
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
1504
|
-
'C2L6zq',
|
|
1505
|
-
'C2vUzgvYvhLWzq',
|
|
1506
1309
|
'C3vIDgfZA051BwjLCG',
|
|
1507
|
-
'
|
|
1508
|
-
'y2XPzw50',
|
|
1509
|
-
'Axnoyu4',
|
|
1510
|
-
'Aw1Hz2uVCg5N',
|
|
1511
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1512
|
-
'y3vYC29Y',
|
|
1513
|
-
'zMLUAxnOx3DVCMTLCG',
|
|
1514
|
-
'DgHYzwfKtNvTyMvY',
|
|
1515
|
-
'lsba',
|
|
1516
|
-
'zxzLBNrtzxe',
|
|
1517
|
-
'D29YA2vYCW',
|
|
1310
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1518
1311
|
'ChvIBgLJ',
|
|
1519
|
-
'
|
|
1520
|
-
'
|
|
1521
|
-
'
|
|
1522
|
-
'
|
|
1523
|
-
'
|
|
1524
|
-
'
|
|
1525
|
-
'
|
|
1526
|
-
'
|
|
1527
|
-
'
|
|
1312
|
+
'BwvZC2fNzuLK',
|
|
1313
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1314
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1315
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1316
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
1317
|
+
'zMLSDgvY',
|
|
1318
|
+
'C2L6zq',
|
|
1319
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
1320
|
+
'D29YA2vYCW',
|
|
1321
|
+
'iYmGu2vYDMvYoIa',
|
|
1322
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1323
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1324
|
+
'uefuq0G',
|
|
1325
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1326
|
+
'y2HHBM5LBe5HBwu',
|
|
1327
|
+
'C3rVCe1HAw4',
|
|
1328
|
+
'Aw5FCMv2Awv3',
|
|
1329
|
+
'DgfZA3m',
|
|
1330
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1331
|
+
'DxnLCG',
|
|
1332
|
+
'Cgf5Bg9HzePZB24',
|
|
1333
|
+
'Aw5JBhvKzxm',
|
|
1334
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1335
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1336
|
+
'nde1nta2wKfHDurZ',
|
|
1337
|
+
'l2nVBNrLBNq',
|
|
1338
|
+
'CgfKu3rHCNq',
|
|
1339
|
+
'mZu0ntyYs3DYAeTr',
|
|
1340
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
1341
|
+
'Ahr0Chm6',
|
|
1342
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
1343
|
+
'DgfZAW',
|
|
1344
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1345
|
+
'w3rHCMDLDd0',
|
|
1346
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1347
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
1348
|
+
'Dg9KBW',
|
|
1349
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1350
|
+
'y2HHBM5LBa',
|
|
1351
|
+
'CgfYDgLJAxbHBNq',
|
|
1352
|
+
'y2f0y2G',
|
|
1353
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
1354
|
+
'Dw5JBgfPBvrHC2S',
|
|
1355
|
+
'yMvMB3jL',
|
|
1356
|
+
'r0vu',
|
|
1357
|
+
'iJOGC3rHDhvZpq',
|
|
1358
|
+
'DgHYzwfKvgfYz2v0',
|
|
1359
|
+
'ihn0yxr1CZ0',
|
|
1360
|
+
'CMvZCg9UC2u',
|
|
1361
|
+
'Ahr0CdO',
|
|
1362
|
+
'CxvLDwvK',
|
|
1363
|
+
'D3m6',
|
|
1364
|
+
'DxbSB2fKrMLSzq',
|
|
1365
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1366
|
+
'BM93',
|
|
1367
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
1368
|
+
'zg9Uzq',
|
|
1369
|
+
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
1370
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1371
|
+
'ywDNCMvNyxrLswq',
|
|
1372
|
+
'l3rHC2TZl2nSywLT',
|
|
1373
|
+
'DgfZA051BwjLCG',
|
|
1374
|
+
'CMvXDwvZDfvYBa',
|
|
1375
|
+
'DgfZA19Pza',
|
|
1528
1376
|
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1529
|
-
'
|
|
1530
|
-
'
|
|
1531
|
-
'
|
|
1532
|
-
'
|
|
1377
|
+
'C2XPy2u',
|
|
1378
|
+
'zgvZDhjVEwvK',
|
|
1379
|
+
'l3DVCMTLCNmVzMLUAxnO',
|
|
1380
|
+
'cGOTls0G'
|
|
1533
1381
|
];
|
|
1534
|
-
|
|
1535
|
-
return
|
|
1382
|
+
_0x511f = function () {
|
|
1383
|
+
return _0x333b81;
|
|
1536
1384
|
};
|
|
1537
|
-
return
|
|
1385
|
+
return _0x511f();
|
|
1386
|
+
}
|
|
1387
|
+
function formatAttachmentSuffix(_0x325285) {
|
|
1388
|
+
const _0x5d88b3 = {
|
|
1389
|
+
_0x109c70: 0x235,
|
|
1390
|
+
_0x2f46fd: 0x2ed,
|
|
1391
|
+
_0xb22d45: 0x1e6
|
|
1392
|
+
}, _0x31542a = _0x602e11;
|
|
1393
|
+
if (!_0x325285 || _0x325285['length'] === 0x0)
|
|
1394
|
+
return '';
|
|
1395
|
+
return '\x20[' + _0x325285[_0x31542a(_0x5d88b3._0x109c70)] + _0x31542a(0x221) + (_0x325285['length'] > 0x1 ? 's' : '') + ':\x20' + _0x325285['map'](_0x1e8ba2 => _0x1e8ba2['filename'] + _0x31542a(0x2df) + _0x1e8ba2['id'] + ')')[_0x31542a(_0x5d88b3._0x2f46fd)](',\x20') + _0x31542a(_0x5d88b3._0xb22d45);
|
|
1396
|
+
}
|
|
1397
|
+
function formatCheckMessages(_0x16df1d) {
|
|
1398
|
+
const _0x37f368 = {
|
|
1399
|
+
_0x29e136: 0x235,
|
|
1400
|
+
_0x27ee05: 0x2ed
|
|
1401
|
+
}, _0x148b91 = {
|
|
1402
|
+
_0x157c8c: 0x2a0,
|
|
1403
|
+
_0x1ed4ff: 0x2a5,
|
|
1404
|
+
_0x4b81a0: 0x246,
|
|
1405
|
+
_0x4c782d: 0x1a5,
|
|
1406
|
+
_0xdd97c1: 0x2f3,
|
|
1407
|
+
_0x548add: 0x1c5,
|
|
1408
|
+
_0x56092e: 0x2f2,
|
|
1409
|
+
_0x1da2b2: 0x2d4
|
|
1410
|
+
}, _0x16a85c = _0x602e11;
|
|
1411
|
+
if (_0x16df1d[_0x16a85c(_0x37f368._0x29e136)] === 0x0)
|
|
1412
|
+
return 'No\x20new\x20messages.';
|
|
1413
|
+
return _0x16df1d['map'](_0x1a74b1 => {
|
|
1414
|
+
const _0xc904c4 = _0x16a85c, _0x5e820b = _0x1a74b1[_0xc904c4(_0x148b91._0x157c8c)] === _0xc904c4(0x206) ? _0xc904c4(0x2a3) : '', _0x47bed1 = _0x1a74b1[_0xc904c4(0x2a5)] && _0x1a74b1[_0xc904c4(_0x148b91._0x1ed4ff)] !== _0xc904c4(_0x148b91._0x4b81a0) ? _0xc904c4(0x275) + _0x1a74b1[_0xc904c4(0x2a5)] : '';
|
|
1415
|
+
return _0xc904c4(_0x148b91._0x4c782d) + _0x1a74b1[_0xc904c4(_0x148b91._0xdd97c1)] + _0xc904c4(0x2c2) + _0x1a74b1[_0xc904c4(0x184)][_0xc904c4(_0x148b91._0x548add)](0x0, 0x8) + _0xc904c4(_0x148b91._0x56092e) + toLocalTime(_0x1a74b1[_0xc904c4(_0x148b91._0x1da2b2)]) + _0x5e820b + _0x47bed1 + ']\x20@' + _0x1a74b1['senderName'] + ':\x20' + _0x1a74b1['content'] + formatAttachmentSuffix(_0x1a74b1[_0xc904c4(0x2f5)]);
|
|
1416
|
+
})[_0x16a85c(_0x37f368._0x27ee05)]('\x0a');
|
|
1417
|
+
}
|
|
1418
|
+
function formatHistory(_0x1b2463) {
|
|
1419
|
+
const _0x17ae8f = {
|
|
1420
|
+
_0x4da00d: 0x235,
|
|
1421
|
+
_0x4ad75e: 0x225,
|
|
1422
|
+
_0x4b2a48: 0x1c8,
|
|
1423
|
+
_0x1bbef7: 0x2cd
|
|
1424
|
+
}, _0x64032b = {
|
|
1425
|
+
_0x181c38: 0x2a5,
|
|
1426
|
+
_0x12d273: 0x275,
|
|
1427
|
+
_0x345896: 0x2f5
|
|
1428
|
+
}, _0x93ae0f = _0x602e11;
|
|
1429
|
+
if (_0x1b2463['messages'][_0x93ae0f(_0x17ae8f._0x4da00d)] === 0x0)
|
|
1430
|
+
return _0x93ae0f(0x2cd) + _0x1b2463[_0x93ae0f(0x1aa)] + '\x20(0\x20messages)\x0a\x0aNo\x20messages\x20in\x20this\x20channel.';
|
|
1431
|
+
const _0x86fc40 = _0x1b2463[_0x93ae0f(_0x17ae8f._0x4ad75e)][_0x93ae0f(0x1fd)](_0x50cf64 => {
|
|
1432
|
+
const _0x381c49 = _0x93ae0f, _0x56a604 = _0x50cf64[_0x381c49(0x2a0)] === _0x381c49(0x206) ? '\x20type=agent' : '', _0x196fb5 = _0x50cf64['kind'] && _0x50cf64[_0x381c49(_0x64032b._0x181c38)] !== _0x381c49(0x246) ? _0x381c49(_0x64032b._0x12d273) + _0x50cf64[_0x381c49(_0x64032b._0x181c38)] : '';
|
|
1433
|
+
return _0x381c49(0x2d3) + _0x50cf64[_0x381c49(0x2d1)] + '\x20msg=' + _0x50cf64['messageId'] + _0x381c49(0x2f2) + toLocalTime(_0x50cf64[_0x381c49(0x2d4)]) + _0x56a604 + _0x196fb5 + _0x381c49(0x276) + _0x50cf64['senderName'] + ':\x20' + _0x50cf64[_0x381c49(0x1dd)] + formatAttachmentSuffix(_0x50cf64[_0x381c49(_0x64032b._0x345896)]);
|
|
1434
|
+
})['join']('\x0a'), _0x1066bf = _0x1b2463['hasMore'] && _0x1b2463['nextCursor'] ? _0x93ae0f(_0x17ae8f._0x4b2a48) + _0x1b2463[_0x93ae0f(0x225)][_0x93ae0f(_0x17ae8f._0x4da00d)] + _0x93ae0f(0x255) + _0x1b2463['nextCursor'] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1435
|
+
return _0x93ae0f(_0x17ae8f._0x1bbef7) + _0x1b2463[_0x93ae0f(0x1aa)] + '\x20(' + _0x1b2463['messages'][_0x93ae0f(0x235)] + '\x20messages)\x0a\x0a' + _0x86fc40 + _0x1066bf;
|
|
1436
|
+
}
|
|
1437
|
+
function formatServerDirectory(_0x32c182) {
|
|
1438
|
+
const _0x444011 = {
|
|
1439
|
+
_0x491604: 0x1fd,
|
|
1440
|
+
_0x48f450: 0x2ed,
|
|
1441
|
+
_0xcb392f: 0x25b,
|
|
1442
|
+
_0x1387ef: 0x2ed,
|
|
1443
|
+
_0x53f4dd: 0x24f,
|
|
1444
|
+
_0x537f78: 0x18d,
|
|
1445
|
+
_0x2c1dd2: 0x228
|
|
1446
|
+
}, _0x1a2e1e = _0x602e11, _0x23e2e6 = _0x32c182[_0x1a2e1e(0x245)]['length'] > 0x0 ? _0x32c182[_0x1a2e1e(0x245)][_0x1a2e1e(_0x444011._0x491604)](_0x1c4e32 => _0x1c4e32[_0x1a2e1e(0x27f)] ? _0x1a2e1e(0x288) + _0x1c4e32[_0x1a2e1e(0x2c3)] + _0x1a2e1e(0x1d7) + _0x1c4e32['description'] : _0x1a2e1e(0x288) + _0x1c4e32['name'])[_0x1a2e1e(_0x444011._0x48f450)]('\x0a') : _0x1a2e1e(0x24f), _0x49de1b = _0x32c182[_0x1a2e1e(_0x444011._0xcb392f)][_0x1a2e1e(0x235)] > 0x0 ? _0x32c182[_0x1a2e1e(0x25b)]['map'](_0x5a9684 => _0x1a2e1e(0x28c) + _0x5a9684['name'])[_0x1a2e1e(0x2ed)]('\x0a') : '(none)', _0x286ed1 = _0x32c182['humans']['length'] > 0x0 ? _0x32c182['humans'][_0x1a2e1e(0x1fd)](_0xe40739 => _0x1a2e1e(0x28c) + _0xe40739[_0x1a2e1e(0x2c3)])[_0x1a2e1e(_0x444011._0x1387ef)]('\x0a') : _0x1a2e1e(_0x444011._0x53f4dd);
|
|
1447
|
+
return [
|
|
1448
|
+
_0x1a2e1e(_0x444011._0x537f78) + _0x32c182['serverName'],
|
|
1449
|
+
'',
|
|
1450
|
+
'###\x20Channels',
|
|
1451
|
+
_0x23e2e6,
|
|
1452
|
+
'',
|
|
1453
|
+
'###\x20Agents',
|
|
1454
|
+
_0x49de1b,
|
|
1455
|
+
'',
|
|
1456
|
+
_0x1a2e1e(_0x444011._0x2c1dd2),
|
|
1457
|
+
_0x286ed1
|
|
1458
|
+
][_0x1a2e1e(0x2ed)]('\x0a');
|
|
1459
|
+
}
|
|
1460
|
+
function formatUploadResult(_0x364420) {
|
|
1461
|
+
const _0x2c09e9 = {
|
|
1462
|
+
_0x15137c: 0x1ce,
|
|
1463
|
+
_0x5336aa: 0x23d,
|
|
1464
|
+
_0x3f73c1: 0x280
|
|
1465
|
+
}, _0x3d5caf = _0x602e11;
|
|
1466
|
+
return _0x3d5caf(0x264) + _0x364420['filename'] + '\x20(' + (_0x364420['sizeBytes'] / 0x400)[_0x3d5caf(_0x2c09e9._0x15137c)](0x1) + _0x3d5caf(_0x2c09e9._0x5336aa) + _0x364420[_0x3d5caf(_0x2c09e9._0x3f73c1)] + '\x0a\x0aUse\x20this\x20ID\x20in\x20send_message\x27s\x20attachment_ids\x20parameter\x20to\x20include\x20it\x20in\x20a\x20message.';
|
|
1538
1467
|
}
|
|
1539
|
-
function
|
|
1540
|
-
const
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
return _0x276101 + '\x20status=' + _0xb2f68[_0x4e521d(_0x5df511._0x1bd6b3)];
|
|
1468
|
+
function formatViewFileResult(_0x660595, _0x47fc10) {
|
|
1469
|
+
const _0x523083 = {
|
|
1470
|
+
_0x59463c: 0x2c5,
|
|
1471
|
+
_0x3837b8: 0x1a2
|
|
1472
|
+
}, _0x7e6d0f = _0x602e11;
|
|
1473
|
+
return _0x47fc10 ? _0x7e6d0f(_0x523083._0x59463c) + _0x660595 : _0x7e6d0f(_0x523083._0x3837b8) + _0x660595;
|
|
1546
1474
|
}
|
|
1547
|
-
function
|
|
1548
|
-
const
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1475
|
+
function formatTaskList(_0x1e98bb, _0x294cfa) {
|
|
1476
|
+
const _0x388606 = { _0x132bda: 0x1bb }, _0x19952a = {
|
|
1477
|
+
_0x31388d: 0x2a4,
|
|
1478
|
+
_0x489e67: 0x181,
|
|
1479
|
+
_0x190f62: 0x1c1,
|
|
1480
|
+
_0x1b40d2: 0x1e8,
|
|
1481
|
+
_0x286e16: 0x2ae
|
|
1482
|
+
}, _0x1f2dd8 = _0x602e11;
|
|
1483
|
+
if (_0x1e98bb[_0x1f2dd8(0x235)] === 0x0)
|
|
1484
|
+
return _0x1f2dd8(_0x388606._0x132bda);
|
|
1485
|
+
return _0x1e98bb[_0x1f2dd8(0x1fd)](_0x16eada => {
|
|
1486
|
+
const _0xcfcda8 = _0x1f2dd8, _0x41cc40 = _0x16eada['taskNumber'] == null ? _0xcfcda8(_0x19952a._0x31388d) : _0x16eada[_0xcfcda8(0x181)] != null ? '#' + _0x16eada[_0xcfcda8(0x1c1)] + '.' + _0x16eada[_0xcfcda8(_0x19952a._0x489e67)] : '#' + _0x16eada[_0xcfcda8(_0x19952a._0x190f62)], _0x157a17 = _0x16eada[_0xcfcda8(0x184)] ? _0xcfcda8(_0x19952a._0x1b40d2) + _0x16eada['messageId'] : '', _0x3de99e = _0x294cfa && _0x16eada[_0xcfcda8(_0x19952a._0x190f62)] != null && !_0x16eada[_0xcfcda8(0x181)] && _0x294cfa[_0xcfcda8(0x2ab)](_0x16eada[_0xcfcda8(0x1c1)]) ? _0xcfcda8(0x1a6) : '', _0x128499 = _0x16eada[_0xcfcda8(0x1a0)] != null && _0x16eada[_0xcfcda8(0x1a0)] > 0x0 ? '\x20(' + (_0x16eada[_0xcfcda8(0x218)] ?? 0x0) + '/' + _0x16eada[_0xcfcda8(0x1a0)] + _0xcfcda8(0x281) : '';
|
|
1487
|
+
return _0x41cc40 + '\x20[' + _0x16eada[_0xcfcda8(_0x19952a._0x286e16)] + ']\x20' + _0x16eada['title'] + _0x128499 + _0x157a17 + _0x3de99e;
|
|
1488
|
+
})['join']('\x0a');
|
|
1489
|
+
}
|
|
1490
|
+
function formatCreatedTasks(_0x3e0506) {
|
|
1491
|
+
const _0x1d846d = { _0x26cfd3: 0x1fd }, _0x3f2f77 = {
|
|
1492
|
+
_0x5b9be3: 0x2a4,
|
|
1493
|
+
_0xfc9441: 0x1c1,
|
|
1494
|
+
_0x9523b0: 0x184,
|
|
1495
|
+
_0x1d1d35: 0x184
|
|
1496
|
+
}, _0xe0cf59 = _0x602e11;
|
|
1497
|
+
if (_0x3e0506[_0xe0cf59(0x235)] === 0x0)
|
|
1498
|
+
return _0xe0cf59(0x21c);
|
|
1499
|
+
return _0x3e0506[_0xe0cf59(_0x1d846d._0x26cfd3)](_0x4eff08 => {
|
|
1500
|
+
const _0x4b693c = _0xe0cf59, _0x315da5 = _0x4eff08['taskNumber'] == null ? _0x4b693c(_0x3f2f77._0x5b9be3) : _0x4eff08['subtaskNumber'] != null ? '#' + _0x4eff08[_0x4b693c(0x1c1)] + '.' + _0x4eff08['subtaskNumber'] : '#' + _0x4eff08[_0x4b693c(_0x3f2f77._0xfc9441)], _0x445543 = _0x4eff08[_0x4b693c(_0x3f2f77._0x9523b0)] ? _0x4b693c(0x1e8) + _0x4eff08[_0x4b693c(_0x3f2f77._0x1d1d35)] : '';
|
|
1501
|
+
return _0x315da5 + '\x20' + _0x4eff08[_0x4b693c(0x1d0)] + _0x445543;
|
|
1502
|
+
})[_0xe0cf59(0x2ed)]('\x0a');
|
|
1503
|
+
}
|
|
1504
|
+
function formatClaimTaskResults(_0x1fde9c) {
|
|
1505
|
+
const _0x5e53b8 = {
|
|
1506
|
+
_0x419ab4: 0x235,
|
|
1507
|
+
_0x22640c: 0x2ed
|
|
1508
|
+
}, _0x55917e = {
|
|
1509
|
+
_0xb7eed6: 0x184,
|
|
1510
|
+
_0xc59c23: 0x17e,
|
|
1511
|
+
_0x5305f6: 0x2be,
|
|
1512
|
+
_0x2275a5: 0x1b2,
|
|
1513
|
+
_0x689346: 0x271,
|
|
1514
|
+
_0x4a1957: 0x2ed,
|
|
1515
|
+
_0x17b393: 0x302,
|
|
1516
|
+
_0x4a640b: 0x215,
|
|
1517
|
+
_0x762073: 0x1c1,
|
|
1518
|
+
_0x5996a7: 0x267,
|
|
1519
|
+
_0x51fb70: 0x22b,
|
|
1520
|
+
_0x382efc: 0x29c
|
|
1521
|
+
}, _0x10a359 = _0x602e11;
|
|
1522
|
+
if (_0x1fde9c[_0x10a359(_0x5e53b8._0x419ab4)] === 0x0)
|
|
1523
|
+
return _0x10a359(0x29f);
|
|
1524
|
+
return _0x1fde9c['map'](_0x527752 => {
|
|
1525
|
+
const _0x293745 = _0x10a359;
|
|
1526
|
+
if (_0x527752[_0x293745(0x27a)]) {
|
|
1527
|
+
const _0x2f951d = _0x527752['taskNumber'] == null ? _0x293745(0x2a4) : _0x527752[_0x293745(0x181)] != null ? '#' + _0x527752['taskNumber'] + '.' + _0x527752[_0x293745(0x181)] : '#' + _0x527752['taskNumber'], _0x3b7ef6 = _0x527752[_0x293745(0x184)] ? '\x20message=' + _0x527752[_0x293745(_0x55917e._0xb7eed6)] : '';
|
|
1528
|
+
if (_0x527752['workerHandoff']) {
|
|
1529
|
+
const _0x18e891 = [
|
|
1530
|
+
_0x293745(_0x55917e._0xc59c23),
|
|
1531
|
+
_0x527752[_0x293745(0x193)] ? 'stopMain=true' : null,
|
|
1532
|
+
_0x527752[_0x293745(0x2ce)] ? _0x293745(0x20d) + _0x527752[_0x293745(0x2ce)] : null,
|
|
1533
|
+
_0x527752[_0x293745(0x1b2)] ? _0x293745(_0x55917e._0x5305f6) + _0x527752[_0x293745(_0x55917e._0x2275a5)] : null,
|
|
1534
|
+
_0x527752[_0x293745(0x259)] ? _0x293745(_0x55917e._0x689346) + _0x527752[_0x293745(0x259)] : null
|
|
1535
|
+
]['filter'](Boolean)[_0x293745(_0x55917e._0x4a1957)]('\x20');
|
|
1536
|
+
return _0x2f951d + _0x293745(_0x55917e._0x17b393) + _0x3b7ef6 + '\x20' + _0x18e891 + _0x293745(0x26c);
|
|
1537
|
+
}
|
|
1538
|
+
const _0x581af3 = _0x527752[_0x293745(_0x55917e._0x4a640b)] ? _0x293745(0x180) + _0x527752[_0x293745(_0x55917e._0x4a640b)] : '';
|
|
1539
|
+
return _0x2f951d + '\x20claimed' + _0x3b7ef6 + _0x581af3;
|
|
1540
|
+
}
|
|
1541
|
+
const _0x532a4e = _0x527752[_0x293745(_0x55917e._0x762073)] == null ? _0x527752[_0x293745(_0x55917e._0xb7eed6)] ?? _0x293745(_0x55917e._0x5996a7) : '#' + _0x527752[_0x293745(0x1c1)];
|
|
1542
|
+
return _0x532a4e + _0x293745(_0x55917e._0x51fb70) + (_0x527752[_0x293745(_0x55917e._0x382efc)] ?? 'claim\x20failed');
|
|
1543
|
+
})[_0x10a359(_0x5e53b8._0x22640c)]('\x0a');
|
|
1544
|
+
}
|
|
1545
|
+
function formatUnclaimTaskResult(_0x193c6e) {
|
|
1546
|
+
const _0x347e76 = { _0x5c8283: 0x2ae }, _0x1da914 = _0x602e11, _0x3179f1 = _0x193c6e['taskNumber'] == null ? _0x1da914(0x2a4) : _0x193c6e[_0x1da914(0x181)] != null ? '#' + _0x193c6e[_0x1da914(0x1c1)] + '.' + _0x193c6e[_0x1da914(0x181)] : '#' + _0x193c6e[_0x1da914(0x1c1)];
|
|
1547
|
+
return _0x3179f1 + _0x1da914(0x1b3) + _0x193c6e[_0x1da914(_0x347e76._0x5c8283)];
|
|
1548
|
+
}
|
|
1549
|
+
function formatUpdateTaskStatusResult(_0x11ade8) {
|
|
1550
|
+
const _0x2d43b4 = {
|
|
1551
|
+
_0x2c17ec: 0x2a4,
|
|
1552
|
+
_0x26852f: 0x181,
|
|
1553
|
+
_0x4ca2b5: 0x1c1
|
|
1554
|
+
}, _0x17c344 = _0x602e11, _0x151caf = _0x11ade8['taskNumber'] == null ? _0x17c344(_0x2d43b4._0x2c17ec) : _0x11ade8[_0x17c344(_0x2d43b4._0x26852f)] != null ? '#' + _0x11ade8[_0x17c344(_0x2d43b4._0x4ca2b5)] + '.' + _0x11ade8['subtaskNumber'] : '#' + _0x11ade8['taskNumber'];
|
|
1555
|
+
return _0x151caf + _0x17c344(0x1b3) + _0x11ade8['status'];
|
|
1555
1556
|
}
|
|
1556
1557
|
function getChatBridgeToolDefinitions() {
|
|
1557
|
-
const
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
_0x25974d: 0x274,
|
|
1563
|
-
_0x10736d: 0x1e7
|
|
1564
|
-
}, _0x256350 = _0x506949;
|
|
1558
|
+
const _0x3609e3 = {
|
|
1559
|
+
_0x5f0920: 0x261,
|
|
1560
|
+
_0x2bbefe: 0x2cb,
|
|
1561
|
+
_0xf3cbc6: 0x203
|
|
1562
|
+
}, _0x5691ab = _0x602e11;
|
|
1565
1563
|
return [
|
|
1566
|
-
{ 'name':
|
|
1567
|
-
{ 'name':
|
|
1568
|
-
{ 'name':
|
|
1569
|
-
{ 'name':
|
|
1570
|
-
{ 'name':
|
|
1571
|
-
{ 'name':
|
|
1572
|
-
{ 'name':
|
|
1573
|
-
{ 'name':
|
|
1574
|
-
{ 'name':
|
|
1575
|
-
{ 'name':
|
|
1576
|
-
{ 'name':
|
|
1577
|
-
{ 'name':
|
|
1578
|
-
{ 'name':
|
|
1579
|
-
{ 'name':
|
|
1580
|
-
{ 'name':
|
|
1581
|
-
{ 'name':
|
|
1564
|
+
{ 'name': _0x5691ab(0x2ff) },
|
|
1565
|
+
{ 'name': _0x5691ab(0x1ad) },
|
|
1566
|
+
{ 'name': _0x5691ab(0x2fe) },
|
|
1567
|
+
{ 'name': _0x5691ab(0x212) },
|
|
1568
|
+
{ 'name': _0x5691ab(0x2af) },
|
|
1569
|
+
{ 'name': _0x5691ab(0x2b7) },
|
|
1570
|
+
{ 'name': _0x5691ab(_0x3609e3._0x5f0920) },
|
|
1571
|
+
{ 'name': _0x5691ab(0x191) },
|
|
1572
|
+
{ 'name': _0x5691ab(0x20c) },
|
|
1573
|
+
{ 'name': 'unclaim_task' },
|
|
1574
|
+
{ 'name': 'update_task_status' },
|
|
1575
|
+
{ 'name': _0x5691ab(_0x3609e3._0x2bbefe) },
|
|
1576
|
+
{ 'name': _0x5691ab(_0x3609e3._0xf3cbc6) },
|
|
1577
|
+
{ 'name': _0x5691ab(0x22a) },
|
|
1578
|
+
{ 'name': _0x5691ab(0x1eb) },
|
|
1579
|
+
{ 'name': 'mark_waiting_input' }
|
|
1582
1580
|
];
|
|
1583
1581
|
}
|
|
1584
|
-
function createChatBridgeHandlers(
|
|
1585
|
-
const
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
},
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1582
|
+
function createChatBridgeHandlers(_0x4bd367) {
|
|
1583
|
+
const _0x1590df = {
|
|
1584
|
+
_0x176bf4: 0x241,
|
|
1585
|
+
_0x3e44e9: 0x2bb
|
|
1586
|
+
}, _0x55f0ee = {
|
|
1587
|
+
_0x3bde61: 0x278,
|
|
1588
|
+
_0x1ee853: 0x254,
|
|
1589
|
+
_0xc4126e: 0x2ec,
|
|
1590
|
+
_0x3edf94: 0x266,
|
|
1591
|
+
_0x3f6d08: 0x234,
|
|
1592
|
+
_0x42c3b1: 0x239,
|
|
1593
|
+
_0x2a2d20: 0x23c
|
|
1594
|
+
}, _0x462451 = {
|
|
1595
|
+
_0x5751ac: 0x222,
|
|
1596
|
+
_0x1cd76e: 0x204,
|
|
1597
|
+
_0x2cbdab: 0x258,
|
|
1598
|
+
_0x561f76: 0x205
|
|
1599
|
+
}, _0x5c6b76 = {
|
|
1600
|
+
_0x42db19: 0x1c7,
|
|
1601
|
+
_0x5cfae0: 0x239,
|
|
1602
|
+
_0x3a757c: 0x1ef,
|
|
1603
|
+
_0x17ec8e: 0x1ff,
|
|
1604
|
+
_0xfc4ab4: 0x25c,
|
|
1605
|
+
_0x27eff6: 0x230,
|
|
1606
|
+
_0x1f1c07: 0x294
|
|
1607
|
+
}, _0x55e70b = {
|
|
1608
|
+
_0x333b6b: 0x254,
|
|
1609
|
+
_0x4eaa12: 0x254,
|
|
1610
|
+
_0x47f818: 0x2dc,
|
|
1611
|
+
_0x518b26: 0x239,
|
|
1612
|
+
_0x1a9ce6: 0x258,
|
|
1613
|
+
_0x4d5e2d: 0x2d6
|
|
1614
|
+
}, _0x38e4b3 = {
|
|
1615
|
+
_0x382fdf: 0x254,
|
|
1616
|
+
_0x4efba5: 0x1be,
|
|
1617
|
+
_0x1c9a88: 0x239,
|
|
1618
|
+
_0x2405df: 0x258,
|
|
1619
|
+
_0x4581d5: 0x1b1
|
|
1620
|
+
}, _0x26cf84 = {
|
|
1621
|
+
_0x29be17: 0x219,
|
|
1622
|
+
_0x564ecc: 0x2c4,
|
|
1623
|
+
_0x2ecbb0: 0x269,
|
|
1624
|
+
_0x30a9e9: 0x282
|
|
1625
|
+
}, _0x533465 = {
|
|
1626
|
+
_0xe37987: 0x1fc,
|
|
1627
|
+
_0x500da5: 0x1d9,
|
|
1628
|
+
_0x3e12c6: 0x299,
|
|
1629
|
+
_0x913ce7: 0x1b8
|
|
1630
|
+
}, _0x1d835e = { _0x1909de: 0x299 }, _0x2bfef0 = { _0x18d2c8: 0x299 }, _0x57ef2f = {
|
|
1631
|
+
_0x1c56bd: 0x299,
|
|
1632
|
+
_0x5cfee2: 0x1fd
|
|
1633
|
+
}, _0x3c51e1 = { _0x172eae: 0x195 }, _0x34422c = {
|
|
1634
|
+
_0x2341af: 0x1d4,
|
|
1635
|
+
_0x3d208a: 0x233,
|
|
1636
|
+
_0x318d15: 0x1aa,
|
|
1637
|
+
_0x37a142: 0x1c6,
|
|
1638
|
+
_0x3d9d34: 0x1c3,
|
|
1639
|
+
_0x44d9c8: 0x268,
|
|
1640
|
+
_0x53663f: 0x1c1,
|
|
1641
|
+
_0x1d84f0: 0x2d0,
|
|
1642
|
+
_0x3a1f7c: 0x195
|
|
1643
|
+
}, _0x29df65 = {
|
|
1644
|
+
_0x36d532: 0x299,
|
|
1645
|
+
_0x1e3007: 0x290
|
|
1646
|
+
}, _0x210f77 = {
|
|
1647
|
+
_0x3cb2ba: 0x299,
|
|
1648
|
+
_0x3877ad: 0x225
|
|
1649
|
+
}, _0x590366 = {
|
|
1650
|
+
_0x2d762d: 0x204,
|
|
1651
|
+
_0x2f02be: 0x2e0,
|
|
1652
|
+
_0x122bb9: 0x2e9,
|
|
1653
|
+
_0x2894f2: 0x1a3,
|
|
1654
|
+
_0x6b0be3: 0x1c1,
|
|
1655
|
+
_0x44de27: 0x2a4,
|
|
1656
|
+
_0x23135d: 0x1c5,
|
|
1657
|
+
_0x56a837: 0x2b3,
|
|
1658
|
+
_0x552de6: 0x2ed,
|
|
1659
|
+
_0x577379: 0x2fb,
|
|
1660
|
+
_0x2d123e: 0x2ac,
|
|
1661
|
+
_0x30efd8: 0x2f9,
|
|
1662
|
+
_0x9b8836: 0x254,
|
|
1663
|
+
_0x417b4d: 0x29e,
|
|
1664
|
+
_0x315296: 0x234,
|
|
1665
|
+
_0x472a9f: 0x204,
|
|
1666
|
+
_0x2c35b5: 0x197,
|
|
1667
|
+
_0x3470af: 0x258,
|
|
1668
|
+
_0x33ffe0: 0x1e4,
|
|
1669
|
+
_0x10cc91: 0x2ee,
|
|
1670
|
+
_0x175833: 0x2aa,
|
|
1671
|
+
_0x409798: 0x1b6,
|
|
1672
|
+
_0x50f70f: 0x2cc,
|
|
1673
|
+
_0x58f642: 0x2d5,
|
|
1674
|
+
_0x7ff509: 0x279,
|
|
1675
|
+
_0x211032: 0x298,
|
|
1676
|
+
_0x276926: 0x2e5,
|
|
1677
|
+
_0x14196d: 0x184
|
|
1678
|
+
}, _0x38dffb = {
|
|
1679
|
+
_0x1d320f: 0x254,
|
|
1680
|
+
_0x3e14c2: 0x233,
|
|
1681
|
+
_0x4b8bcc: 0x2ae,
|
|
1682
|
+
_0x44a779: 0x297,
|
|
1683
|
+
_0xe98882: 0x18a
|
|
1684
|
+
}, _0x1dbbcb = {
|
|
1685
|
+
_0x7e3fe: 0x254,
|
|
1686
|
+
_0x14a39b: 0x258,
|
|
1687
|
+
_0x4fdc89: 0x2ae,
|
|
1688
|
+
_0x1e2897: 0x2d0
|
|
1689
|
+
}, _0x424e75 = {
|
|
1690
|
+
_0x72e6eb: 0x1aa,
|
|
1691
|
+
_0x16655d: 0x21a,
|
|
1692
|
+
_0x2c5cc2: 0x2c7,
|
|
1693
|
+
_0x5676d5: 0x184,
|
|
1694
|
+
_0x34b107: 0x290,
|
|
1695
|
+
_0x1825e3: 0x225,
|
|
1696
|
+
_0x449318: 0x1c1,
|
|
1697
|
+
_0x1e6920: 0x1a5,
|
|
1698
|
+
_0x1746a4: 0x224,
|
|
1699
|
+
_0x30606e: 0x1f7,
|
|
1700
|
+
_0x51372f: 0x1a7,
|
|
1701
|
+
_0x555fe1: 0x2ed,
|
|
1702
|
+
_0xc18880: 0x254,
|
|
1703
|
+
_0x3eb958: 0x1fb,
|
|
1704
|
+
_0x3f9e80: 0x266,
|
|
1705
|
+
_0x24a472: 0x204,
|
|
1706
|
+
_0x318657: 0x2aa,
|
|
1707
|
+
_0x2d5a24: 0x1e1
|
|
1708
|
+
}, _0x153070 = _0x602e11;
|
|
1709
|
+
async function _0xce3136(_0x15109e) {
|
|
1710
|
+
const _0x4fe7fd = _0xd828;
|
|
1711
|
+
if (!_0x4bd367[_0x4fe7fd(0x254)] || !_0x4bd367[_0x4fe7fd(0x204)] || _0x4bd367[_0x4fe7fd(0x27e)] || _0x4bd367[_0x4fe7fd(0x201)] !== !![])
|
|
1699
1712
|
return null;
|
|
1700
|
-
const
|
|
1701
|
-
if (
|
|
1713
|
+
const _0x4678f8 = parseTarget(_0x15109e[_0x4fe7fd(_0x424e75._0x72e6eb)]);
|
|
1714
|
+
if (_0x4678f8['kind'] !== _0x4fe7fd(0x1aa))
|
|
1702
1715
|
return null;
|
|
1703
|
-
const
|
|
1704
|
-
let
|
|
1716
|
+
const _0x41ffc4 = _0x15109e[_0x4fe7fd(_0x424e75._0x16655d)] != null ? _0x4678f8[_0x4fe7fd(0x2c7)] + ':t' + _0x15109e[_0x4fe7fd(_0x424e75._0x16655d)] : _0x4678f8[_0x4fe7fd(_0x424e75._0x2c5cc2)] + ':' + _0x15109e[_0x4fe7fd(_0x424e75._0x5676d5)];
|
|
1717
|
+
let _0x307610;
|
|
1705
1718
|
try {
|
|
1706
|
-
const
|
|
1707
|
-
'channel':
|
|
1719
|
+
const _0x6325bb = await _0x4bd367[_0x4fe7fd(0x299)][_0x4fe7fd(_0x424e75._0x34b107)]({
|
|
1720
|
+
'channel': _0x41ffc4,
|
|
1708
1721
|
'limit': 0x14
|
|
1709
1722
|
});
|
|
1710
|
-
|
|
1723
|
+
_0x307610 = _0x6325bb[_0x4fe7fd(_0x424e75._0x1825e3)][_0x4fe7fd(0x268)](_0xc419a7 => _0xc419a7['messageId'] === _0x15109e['messageId']);
|
|
1711
1724
|
} catch {
|
|
1712
|
-
|
|
1725
|
+
_0x307610 = void 0x0;
|
|
1713
1726
|
}
|
|
1714
|
-
const
|
|
1715
|
-
|
|
1727
|
+
const _0x2c9900 = _0x15109e[_0x4fe7fd(0x1c1)] == null ? _0x4fe7fd(0x2a4) : '#' + _0x15109e[_0x4fe7fd(_0x424e75._0x449318)], _0x46c5cf = [
|
|
1728
|
+
_0x4fe7fd(_0x424e75._0x1e6920) + _0x41ffc4 + _0x4fe7fd(0x2c2) + _0x15109e['messageId'][_0x4fe7fd(0x1c5)](0x0, 0x8) + '\x20time=' + new Date()[_0x4fe7fd(0x284)]() + _0x4fe7fd(_0x424e75._0x1746a4) + _0x2c9900 + _0x4fe7fd(_0x424e75._0x30606e),
|
|
1716
1729
|
'',
|
|
1717
|
-
|
|
1730
|
+
_0x307610 ? 'Root\x20task\x20message:\x0a' + _0x307610['content'] : 'Root\x20task\x20message\x20id:\x20' + _0x15109e['messageId'],
|
|
1718
1731
|
'',
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
][
|
|
1722
|
-
'method':
|
|
1723
|
-
'headers': { 'Content-Type':
|
|
1724
|
-
'body': JSON[
|
|
1725
|
-
'agent_id':
|
|
1726
|
-
'thread_target':
|
|
1732
|
+
_0x4fe7fd(_0x424e75._0x51372f) + _0x41ffc4,
|
|
1733
|
+
_0x4fe7fd(0x2a9)
|
|
1734
|
+
][_0x4fe7fd(_0x424e75._0x555fe1)]('\x0a'), _0x5366b8 = await fetch(_0x4bd367[_0x4fe7fd(_0x424e75._0xc18880)] + _0x4fe7fd(_0x424e75._0x3eb958), {
|
|
1735
|
+
'method': _0x4fe7fd(0x29e),
|
|
1736
|
+
'headers': { 'Content-Type': _0x4fe7fd(_0x424e75._0x3f9e80) },
|
|
1737
|
+
'body': JSON[_0x4fe7fd(0x234)]({
|
|
1738
|
+
'agent_id': _0x4bd367[_0x4fe7fd(_0x424e75._0x24a472)],
|
|
1739
|
+
'thread_target': _0x41ffc4,
|
|
1727
1740
|
'spawn_packet': {
|
|
1728
|
-
'replyTarget':
|
|
1729
|
-
...
|
|
1741
|
+
'replyTarget': _0x41ffc4,
|
|
1742
|
+
..._0x15109e[_0x4fe7fd(0x2f9)] ? { 'taskId': _0x15109e[_0x4fe7fd(0x2f9)] } : _0x15109e[_0x4fe7fd(0x1c1)] != null ? { 'taskId': _0x4fe7fd(0x1dc) + _0x15109e[_0x4fe7fd(_0x424e75._0x449318)] } : {}
|
|
1730
1743
|
},
|
|
1731
1744
|
'payload': {
|
|
1732
|
-
'mode':
|
|
1733
|
-
'text':
|
|
1745
|
+
'mode': 'user',
|
|
1746
|
+
'text': _0x46c5cf
|
|
1734
1747
|
}
|
|
1735
1748
|
})
|
|
1736
|
-
}),
|
|
1737
|
-
if (!
|
|
1738
|
-
throw new Error(
|
|
1749
|
+
}), _0x51f6c6 = await _0x5366b8[_0x4fe7fd(0x258)]();
|
|
1750
|
+
if (!_0x51f6c6['ok'])
|
|
1751
|
+
throw new Error(_0x51f6c6[_0x4fe7fd(0x231)] ?? _0x4fe7fd(0x214));
|
|
1739
1752
|
return {
|
|
1740
1753
|
'stopMain': !![],
|
|
1741
|
-
'threadTarget':
|
|
1742
|
-
'workerDisposition':
|
|
1754
|
+
'threadTarget': _0x41ffc4,
|
|
1755
|
+
'workerDisposition': _0x51f6c6[_0x4fe7fd(_0x424e75._0x318657)] === _0x4fe7fd(0x1b6) ? _0x4fe7fd(0x1b6) : _0x4fe7fd(_0x424e75._0x2d5a24),
|
|
1743
1756
|
'workerHandoff': !![],
|
|
1744
|
-
'workerSessionId':
|
|
1745
|
-
'executionMode':
|
|
1757
|
+
'workerSessionId': _0x51f6c6['worker_session_id'] ?? '',
|
|
1758
|
+
'executionMode': _0x4fe7fd(0x223)
|
|
1746
1759
|
};
|
|
1747
1760
|
}
|
|
1748
|
-
async function
|
|
1749
|
-
const
|
|
1750
|
-
if (!
|
|
1761
|
+
async function _0x3d5c0f() {
|
|
1762
|
+
const _0x1217e5 = _0xd828;
|
|
1763
|
+
if (!_0x4bd367[_0x1217e5(_0x1dbbcb._0x7e3fe)] || !_0x4bd367[_0x1217e5(0x204)] || _0x4bd367[_0x1217e5(0x27e)])
|
|
1751
1764
|
return null;
|
|
1752
1765
|
try {
|
|
1753
|
-
const
|
|
1754
|
-
if (!
|
|
1766
|
+
const _0xc5c485 = await fetch(_0x4bd367[_0x1217e5(_0x1dbbcb._0x7e3fe)] + _0x1217e5(0x233) + encodeURIComponent(_0x4bd367[_0x1217e5(0x204)])), _0x682076 = await _0xc5c485[_0x1217e5(_0x1dbbcb._0x14a39b)]();
|
|
1767
|
+
if (!_0x682076['ok'])
|
|
1755
1768
|
return null;
|
|
1756
|
-
const
|
|
1757
|
-
for (const
|
|
1758
|
-
|
|
1769
|
+
const _0x3a5afe = new Set();
|
|
1770
|
+
for (const _0x37e954 of _0x682076[_0x1217e5(0x18c)]) {
|
|
1771
|
+
_0x37e954[_0x1217e5(_0x1dbbcb._0x4fdc89)] !== _0x1217e5(0x1c6) && _0x37e954['thread_target'] && _0x3a5afe[_0x1217e5(_0x1dbbcb._0x1e2897)](_0x37e954[_0x1217e5(0x297)]);
|
|
1759
1772
|
}
|
|
1760
|
-
return
|
|
1773
|
+
return _0x3a5afe[_0x1217e5(0x18a)] > 0x0 ? _0x3a5afe : null;
|
|
1761
1774
|
} catch {
|
|
1762
1775
|
return null;
|
|
1763
1776
|
}
|
|
1764
1777
|
}
|
|
1765
|
-
const
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1778
|
+
const _0x531995 = new Set([
|
|
1779
|
+
_0x153070(_0x1590df._0x176bf4),
|
|
1780
|
+
'idle',
|
|
1781
|
+
_0x153070(_0x1590df._0x3e44e9)
|
|
1769
1782
|
]);
|
|
1770
|
-
async function
|
|
1771
|
-
const
|
|
1772
|
-
if (!
|
|
1783
|
+
async function _0x4d3967() {
|
|
1784
|
+
const _0x574e98 = _0x153070;
|
|
1785
|
+
if (!_0x4bd367[_0x574e98(_0x38dffb._0x1d320f)] || !_0x4bd367['agentId'] || _0x4bd367['workerMode'])
|
|
1773
1786
|
return null;
|
|
1774
1787
|
try {
|
|
1775
|
-
const
|
|
1776
|
-
if (!
|
|
1788
|
+
const _0x429be3 = await fetch(_0x4bd367[_0x574e98(_0x38dffb._0x1d320f)] + _0x574e98(_0x38dffb._0x3e14c2) + encodeURIComponent(_0x4bd367[_0x574e98(0x204)])), _0x4cc797 = await _0x429be3['json']();
|
|
1789
|
+
if (!_0x4cc797['ok'])
|
|
1777
1790
|
return null;
|
|
1778
|
-
const
|
|
1779
|
-
for (const
|
|
1780
|
-
|
|
1791
|
+
const _0x55584e = new Set();
|
|
1792
|
+
for (const _0x2883dd of _0x4cc797['workers']) {
|
|
1793
|
+
_0x531995['has'](_0x2883dd[_0x574e98(_0x38dffb._0x4b8bcc)]) && _0x2883dd[_0x574e98(_0x38dffb._0x44a779)] && _0x55584e[_0x574e98(0x2d0)](_0x2883dd['thread_target']);
|
|
1781
1794
|
}
|
|
1782
|
-
return
|
|
1795
|
+
return _0x55584e[_0x574e98(_0x38dffb._0xe98882)] > 0x0 ? _0x55584e : null;
|
|
1783
1796
|
} catch {
|
|
1784
1797
|
return null;
|
|
1785
1798
|
}
|
|
1786
1799
|
}
|
|
1787
1800
|
return {
|
|
1788
|
-
async 'send_message'(
|
|
1789
|
-
const
|
|
1790
|
-
if (!
|
|
1791
|
-
const
|
|
1792
|
-
if (
|
|
1793
|
-
const
|
|
1794
|
-
if (
|
|
1801
|
+
async 'send_message'(_0xd64d2) {
|
|
1802
|
+
const _0x3a54bd = _0x153070;
|
|
1803
|
+
if (!_0x4bd367[_0x3a54bd(0x27e)] && _0x4bd367[_0x3a54bd(0x201)] && _0x4bd367[_0x3a54bd(0x254)] && _0x4bd367[_0x3a54bd(_0x590366._0x2d762d)]) {
|
|
1804
|
+
const _0x4ce4fc = await _0x4bd367['client'][_0x3a54bd(_0x590366._0x2f02be)](_0xd64d2['target']);
|
|
1805
|
+
if (_0x4ce4fc[_0x3a54bd(0x1a3)] && _0x4ce4fc[_0x3a54bd(_0x590366._0x122bb9)]) {
|
|
1806
|
+
const _0x5cfd64 = _0x4ce4fc[_0x3a54bd(_0x590366._0x2894f2)][_0x3a54bd(_0x590366._0x6b0be3)] != null ? '#' + _0x4ce4fc[_0x3a54bd(0x1a3)][_0x3a54bd(0x1c1)] : _0x3a54bd(_0x590366._0x44de27), _0x79c3b8 = _0x4ce4fc[_0x3a54bd(0x21a)] != null ? _0x4ce4fc[_0x3a54bd(0x2f3)] + ':t' + _0x4ce4fc['threadNumber'] : _0x4ce4fc[_0x3a54bd(0x2f3)] + ':' + _0x4ce4fc['threadId'][_0x3a54bd(_0x590366._0x23135d)](0x0, 0x8), _0x25c4b0 = await _0x4d3967();
|
|
1807
|
+
if (_0x25c4b0?.[_0x3a54bd(0x2ab)](_0x79c3b8))
|
|
1795
1808
|
return [
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
][
|
|
1799
|
-
const
|
|
1800
|
-
|
|
1809
|
+
_0x3a54bd(_0x590366._0x56a837) + _0x5cfd64 + _0x3a54bd(0x1e4) + _0x79c3b8 + _0x3a54bd(0x19b),
|
|
1810
|
+
_0x3a54bd(0x1e5)
|
|
1811
|
+
][_0x3a54bd(_0x590366._0x552de6)]('\x0a');
|
|
1812
|
+
const _0x12b885 = [
|
|
1813
|
+
'[target=' + _0x79c3b8 + _0x3a54bd(0x2e7) + new Date()[_0x3a54bd(0x284)]() + ']\x20@system:\x20[enter-handoff]',
|
|
1801
1814
|
'',
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1815
|
+
_0x3a54bd(_0x590366._0x577379) + _0xd64d2['content'],
|
|
1816
|
+
_0x3a54bd(_0x590366._0x2d123e) + _0x5cfd64 + '\x20(' + _0x4ce4fc[_0x3a54bd(0x1a3)][_0x3a54bd(_0x590366._0x30efd8)] + ')',
|
|
1817
|
+
_0x3a54bd(0x1a7) + _0x79c3b8,
|
|
1805
1818
|
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1806
|
-
][
|
|
1807
|
-
'method':
|
|
1808
|
-
'headers': { 'Content-Type':
|
|
1809
|
-
'body': JSON[
|
|
1810
|
-
'agent_id':
|
|
1811
|
-
'thread_target':
|
|
1819
|
+
][_0x3a54bd(0x2ed)]('\x0a'), _0x2a7862 = await fetch(_0x4bd367[_0x3a54bd(_0x590366._0x9b8836)] + '/workers/deliver', {
|
|
1820
|
+
'method': _0x3a54bd(_0x590366._0x417b4d),
|
|
1821
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
1822
|
+
'body': JSON[_0x3a54bd(_0x590366._0x315296)]({
|
|
1823
|
+
'agent_id': _0x4bd367[_0x3a54bd(_0x590366._0x472a9f)],
|
|
1824
|
+
'thread_target': _0x79c3b8,
|
|
1812
1825
|
'spawn_packet': {
|
|
1813
|
-
'replyTarget':
|
|
1814
|
-
'taskId':
|
|
1826
|
+
'replyTarget': _0x79c3b8,
|
|
1827
|
+
'taskId': _0x4ce4fc['task'][_0x3a54bd(_0x590366._0x30efd8)]
|
|
1815
1828
|
},
|
|
1816
1829
|
'payload': {
|
|
1817
|
-
'mode':
|
|
1818
|
-
'text':
|
|
1830
|
+
'mode': _0x3a54bd(_0x590366._0x2c35b5),
|
|
1831
|
+
'text': _0x12b885
|
|
1819
1832
|
}
|
|
1820
1833
|
})
|
|
1821
|
-
}),
|
|
1822
|
-
if (!
|
|
1823
|
-
throw new Error(
|
|
1834
|
+
}), _0x2d9631 = await _0x2a7862[_0x3a54bd(_0x590366._0x3470af)]();
|
|
1835
|
+
if (!_0x2d9631['ok'])
|
|
1836
|
+
throw new Error(_0x2d9631[_0x3a54bd(0x231)] ?? _0x3a54bd(0x28f));
|
|
1824
1837
|
return [
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
][
|
|
1838
|
+
_0x3a54bd(0x285) + _0x5cfd64 + _0x3a54bd(_0x590366._0x33ffe0) + _0x79c3b8 + _0x3a54bd(_0x590366._0x10cc91),
|
|
1839
|
+
'Worker\x20' + (_0x2d9631[_0x3a54bd(_0x590366._0x175833)] === _0x3a54bd(_0x590366._0x409798) ? _0x3a54bd(0x1b6) : _0x3a54bd(0x1e1)) + '.',
|
|
1840
|
+
_0x3a54bd(_0x590366._0x50f70f)
|
|
1841
|
+
][_0x3a54bd(0x2ed)]('\x0a');
|
|
1829
1842
|
}
|
|
1830
1843
|
}
|
|
1831
|
-
const
|
|
1832
|
-
'attachmentIds':
|
|
1833
|
-
'content':
|
|
1834
|
-
'target':
|
|
1835
|
-
'visibility':
|
|
1844
|
+
const _0x5d0177 = await _0x4bd367['client']['sendMessage']({
|
|
1845
|
+
'attachmentIds': _0xd64d2[_0x3a54bd(_0x590366._0x58f642)],
|
|
1846
|
+
'content': _0xd64d2[_0x3a54bd(0x1dd)],
|
|
1847
|
+
'target': _0xd64d2['target'],
|
|
1848
|
+
'visibility': _0xd64d2[_0x3a54bd(_0x590366._0x7ff509)]
|
|
1836
1849
|
});
|
|
1837
|
-
return
|
|
1850
|
+
return _0x3a54bd(_0x590366._0x211032) + _0xd64d2[_0x3a54bd(0x2f3)] + _0x3a54bd(_0x590366._0x276926) + _0x5d0177[_0x3a54bd(_0x590366._0x14196d)];
|
|
1838
1851
|
},
|
|
1839
1852
|
async 'check_messages'() {
|
|
1840
|
-
const
|
|
1841
|
-
if (!
|
|
1842
|
-
const
|
|
1843
|
-
if (
|
|
1844
|
-
return formatCheckMessages(
|
|
1853
|
+
const _0x10b5f9 = _0x153070, _0x186af8 = await _0x4bd367[_0x10b5f9(_0x210f77._0x3cb2ba)]['checkMessages']();
|
|
1854
|
+
if (!_0x4bd367[_0x10b5f9(0x27e)]) {
|
|
1855
|
+
const _0x5f5234 = await _0x3d5c0f();
|
|
1856
|
+
if (_0x5f5234)
|
|
1857
|
+
return formatCheckMessages(_0x186af8[_0x10b5f9(_0x210f77._0x3877ad)][_0x10b5f9(0x189)](_0x2a71f1 => !_0x5f5234['has'](_0x2a71f1[_0x10b5f9(0x2f3)])));
|
|
1845
1858
|
}
|
|
1846
|
-
return formatCheckMessages(
|
|
1859
|
+
return formatCheckMessages(_0x186af8[_0x10b5f9(0x225)]);
|
|
1847
1860
|
},
|
|
1848
|
-
async 'read_history'(
|
|
1849
|
-
const
|
|
1850
|
-
return formatHistory(
|
|
1861
|
+
async 'read_history'(_0x3cca0a) {
|
|
1862
|
+
const _0xc25e8f = _0x153070, _0x44923d = await _0x4bd367[_0xc25e8f(_0x29df65._0x36d532)][_0xc25e8f(_0x29df65._0x1e3007)](_0x3cca0a);
|
|
1863
|
+
return formatHistory(_0x44923d);
|
|
1851
1864
|
},
|
|
1852
1865
|
async 'list_server'() {
|
|
1853
|
-
const
|
|
1854
|
-
return formatServerDirectory(
|
|
1866
|
+
const _0x352b87 = _0x153070, _0x4644d6 = await _0x4bd367[_0x352b87(0x299)][_0x352b87(0x247)]();
|
|
1867
|
+
return formatServerDirectory(_0x4644d6);
|
|
1855
1868
|
},
|
|
1856
|
-
async 'list_tasks'(
|
|
1857
|
-
const
|
|
1858
|
-
let
|
|
1859
|
-
if (
|
|
1869
|
+
async 'list_tasks'(_0x2683e8) {
|
|
1870
|
+
const _0x2e9d17 = _0x153070, _0x401109 = await _0x4bd367[_0x2e9d17(0x299)][_0x2e9d17(_0x34422c._0x2341af)](_0x2683e8);
|
|
1871
|
+
let _0x2c0a2a;
|
|
1872
|
+
if (_0x4bd367['daemonLocalUrl'] && _0x4bd367['agentId'])
|
|
1860
1873
|
try {
|
|
1861
|
-
const
|
|
1862
|
-
if (
|
|
1863
|
-
const
|
|
1864
|
-
|
|
1865
|
-
for (const
|
|
1866
|
-
if (
|
|
1874
|
+
const _0x2c41a4 = await fetch(_0x4bd367[_0x2e9d17(0x254)] + _0x2e9d17(_0x34422c._0x3d208a) + encodeURIComponent(_0x4bd367[_0x2e9d17(0x204)])), _0x239caa = await _0x2c41a4[_0x2e9d17(0x258)]();
|
|
1875
|
+
if (_0x239caa['ok']) {
|
|
1876
|
+
const _0x3aea04 = _0x2683e8[_0x2e9d17(_0x34422c._0x318d15)] + ':';
|
|
1877
|
+
_0x2c0a2a = new Set();
|
|
1878
|
+
for (const _0x185e34 of _0x239caa[_0x2e9d17(0x18c)]) {
|
|
1879
|
+
if (_0x185e34[_0x2e9d17(0x2ae)] === _0x2e9d17(_0x34422c._0x37a142))
|
|
1867
1880
|
continue;
|
|
1868
|
-
if (
|
|
1869
|
-
const
|
|
1870
|
-
if (
|
|
1871
|
-
|
|
1881
|
+
if (_0x185e34[_0x2e9d17(0x297)]?.[_0x2e9d17(0x270)](_0x3aea04)) {
|
|
1882
|
+
const _0x54793a = _0x185e34['thread_target']['slice'](_0x3aea04[_0x2e9d17(0x235)]), _0x5b51f6 = _0x401109[_0x2e9d17(0x195)][_0x2e9d17(0x268)](_0x459ece => _0x459ece[_0x2e9d17(0x184)]?.[_0x2e9d17(0x270)](_0x54793a) === !![]);
|
|
1883
|
+
if (_0x5b51f6?.[_0x2e9d17(0x1c1)] != null) {
|
|
1884
|
+
_0x2c0a2a[_0x2e9d17(0x2d0)](_0x5b51f6['taskNumber']);
|
|
1872
1885
|
continue;
|
|
1873
1886
|
}
|
|
1874
1887
|
}
|
|
1875
|
-
if (
|
|
1876
|
-
const
|
|
1877
|
-
|
|
1888
|
+
if (_0x185e34[_0x2e9d17(_0x34422c._0x3d9d34)]) {
|
|
1889
|
+
const _0x32770c = _0x401109[_0x2e9d17(0x195)][_0x2e9d17(_0x34422c._0x44d9c8)](_0x1fd49c => _0x1fd49c[_0x2e9d17(0x2f9)] === _0x185e34['task_id']);
|
|
1890
|
+
_0x32770c?.[_0x2e9d17(_0x34422c._0x53663f)] != null && _0x2c0a2a[_0x2e9d17(_0x34422c._0x1d84f0)](_0x32770c[_0x2e9d17(0x1c1)]);
|
|
1878
1891
|
}
|
|
1879
1892
|
}
|
|
1880
1893
|
}
|
|
1881
1894
|
} catch {
|
|
1882
1895
|
}
|
|
1883
|
-
return formatTaskList(
|
|
1896
|
+
return formatTaskList(_0x401109[_0x2e9d17(_0x34422c._0x3a1f7c)], _0x2c0a2a);
|
|
1884
1897
|
},
|
|
1885
|
-
async 'create_tasks'(
|
|
1886
|
-
const
|
|
1887
|
-
return formatCreatedTasks(
|
|
1898
|
+
async 'create_tasks'(_0x55b36d) {
|
|
1899
|
+
const _0x3462db = _0x153070, _0x2bf38e = await _0x4bd367['client']['createTasks'](_0x55b36d);
|
|
1900
|
+
return formatCreatedTasks(_0x2bf38e[_0x3462db(_0x3c51e1._0x172eae)]);
|
|
1888
1901
|
},
|
|
1889
|
-
async 'claim_tasks'(
|
|
1890
|
-
const
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1902
|
+
async 'claim_tasks'(_0x351b61) {
|
|
1903
|
+
const _0x15a383 = {
|
|
1904
|
+
_0x57638d: 0x184,
|
|
1905
|
+
_0xa7b517: 0x214
|
|
1906
|
+
}, _0x21a899 = _0x153070, _0x2bb704 = await _0x4bd367[_0x21a899(_0x57ef2f._0x1c56bd)][_0x21a899(0x1e2)](_0x351b61), _0x581d51 = await Promise[_0x21a899(0x238)](_0x2bb704[_0x21a899(0x2fd)][_0x21a899(_0x57ef2f._0x5cfee2)](async _0x22b9c2 => {
|
|
1907
|
+
const _0x495264 = _0x21a899;
|
|
1908
|
+
if (!_0x22b9c2[_0x495264(0x27a)] || !_0x22b9c2[_0x495264(_0x15a383._0x57638d)])
|
|
1909
|
+
return _0x22b9c2;
|
|
1894
1910
|
try {
|
|
1895
|
-
const
|
|
1896
|
-
'channel':
|
|
1897
|
-
'messageId':
|
|
1898
|
-
'taskId':
|
|
1899
|
-
'taskNumber':
|
|
1900
|
-
'threadNumber':
|
|
1911
|
+
const _0x26806d = await _0xce3136({
|
|
1912
|
+
'channel': _0x351b61[_0x495264(0x1aa)],
|
|
1913
|
+
'messageId': _0x22b9c2[_0x495264(0x184)],
|
|
1914
|
+
'taskId': _0x22b9c2[_0x495264(0x2f9)],
|
|
1915
|
+
'taskNumber': _0x22b9c2[_0x495264(0x1c1)],
|
|
1916
|
+
'threadNumber': _0x22b9c2['threadNumber']
|
|
1901
1917
|
});
|
|
1902
|
-
return
|
|
1903
|
-
...
|
|
1904
|
-
...
|
|
1905
|
-
} :
|
|
1906
|
-
} catch (
|
|
1918
|
+
return _0x26806d ? {
|
|
1919
|
+
..._0x22b9c2,
|
|
1920
|
+
..._0x26806d
|
|
1921
|
+
} : _0x22b9c2;
|
|
1922
|
+
} catch (_0x257f91) {
|
|
1907
1923
|
return {
|
|
1908
|
-
...
|
|
1909
|
-
'workerHandoffError':
|
|
1924
|
+
..._0x22b9c2,
|
|
1925
|
+
'workerHandoffError': _0x257f91 instanceof Error ? _0x257f91[_0x495264(0x1d2)] : _0x495264(_0x15a383._0xa7b517)
|
|
1910
1926
|
};
|
|
1911
1927
|
}
|
|
1912
1928
|
}));
|
|
1913
|
-
return formatClaimTaskResults(
|
|
1929
|
+
return formatClaimTaskResults(_0x581d51);
|
|
1914
1930
|
},
|
|
1915
|
-
async 'unclaim_task'(
|
|
1916
|
-
const
|
|
1917
|
-
return formatUnclaimTaskResult(
|
|
1931
|
+
async 'unclaim_task'(_0x3ea5af) {
|
|
1932
|
+
const _0x11feba = _0x153070, _0x136908 = await _0x4bd367[_0x11feba(_0x2bfef0._0x18d2c8)][_0x11feba(0x1ae)](_0x3ea5af);
|
|
1933
|
+
return formatUnclaimTaskResult(_0x136908);
|
|
1918
1934
|
},
|
|
1919
|
-
async 'update_task_status'(
|
|
1920
|
-
const
|
|
1921
|
-
return formatUpdateTaskStatusResult(
|
|
1935
|
+
async 'update_task_status'(_0x455a35) {
|
|
1936
|
+
const _0x371dfa = _0x153070, _0x55f445 = await _0x4bd367[_0x371dfa(_0x1d835e._0x1909de)][_0x371dfa(0x305)](_0x455a35);
|
|
1937
|
+
return formatUpdateTaskStatusResult(_0x55f445);
|
|
1922
1938
|
},
|
|
1923
|
-
async 'upload_file'(
|
|
1924
|
-
const
|
|
1925
|
-
sizeBytes:
|
|
1926
|
-
...
|
|
1927
|
-
} =
|
|
1928
|
-
'channel':
|
|
1929
|
-
...
|
|
1939
|
+
async 'upload_file'(_0x1191a5) {
|
|
1940
|
+
const _0x5cdf73 = _0x153070, _0x5d9787 = await _0x4bd367[_0x5cdf73(_0x533465._0xe37987)](_0x1191a5[_0x5cdf73(_0x533465._0x500da5)]), {
|
|
1941
|
+
sizeBytes: _0x41fb92,
|
|
1942
|
+
..._0x18e72e
|
|
1943
|
+
} = _0x5d9787, _0x342f1f = await _0x4bd367[_0x5cdf73(_0x533465._0x3e12c6)][_0x5cdf73(_0x533465._0x913ce7)]({
|
|
1944
|
+
'channel': _0x1191a5['channel'],
|
|
1945
|
+
..._0x18e72e
|
|
1930
1946
|
});
|
|
1931
|
-
return formatUploadResult(
|
|
1947
|
+
return formatUploadResult(_0x342f1f);
|
|
1932
1948
|
},
|
|
1933
|
-
async 'view_file'(
|
|
1934
|
-
const
|
|
1935
|
-
if (
|
|
1936
|
-
return formatViewFileResult(
|
|
1937
|
-
const
|
|
1938
|
-
'attachmentId':
|
|
1939
|
-
'contentType':
|
|
1940
|
-
'data':
|
|
1941
|
-
'originalFilename':
|
|
1949
|
+
async 'view_file'(_0x13cdfb) {
|
|
1950
|
+
const _0x3cd7d7 = _0x153070, _0x187450 = await _0x4bd367[_0x3cd7d7(0x2b8)]['findCachedPath'](_0x13cdfb[_0x3cd7d7(0x2c4)]);
|
|
1951
|
+
if (_0x187450)
|
|
1952
|
+
return formatViewFileResult(_0x187450, !![]);
|
|
1953
|
+
const _0x571de0 = await _0x4bd367[_0x3cd7d7(0x299)][_0x3cd7d7(_0x26cf84._0x29be17)](_0x13cdfb[_0x3cd7d7(_0x26cf84._0x564ecc)]), _0x33e068 = await _0x4bd367[_0x3cd7d7(0x2b8)]['save']({
|
|
1954
|
+
'attachmentId': _0x13cdfb[_0x3cd7d7(0x2c4)],
|
|
1955
|
+
'contentType': _0x571de0[_0x3cd7d7(_0x26cf84._0x2ecbb0)],
|
|
1956
|
+
'data': _0x571de0[_0x3cd7d7(_0x26cf84._0x30a9e9)],
|
|
1957
|
+
'originalFilename': _0x571de0[_0x3cd7d7(0x1b9)]
|
|
1942
1958
|
});
|
|
1943
|
-
return formatViewFileResult(
|
|
1959
|
+
return formatViewFileResult(_0x33e068, ![]);
|
|
1944
1960
|
},
|
|
1945
|
-
async 'get_worker_status'(
|
|
1946
|
-
const
|
|
1947
|
-
if (!
|
|
1948
|
-
return
|
|
1949
|
-
const
|
|
1950
|
-
if (!
|
|
1951
|
-
return
|
|
1952
|
-
return
|
|
1961
|
+
async 'get_worker_status'(_0x5c4515) {
|
|
1962
|
+
const _0x4f4491 = _0x153070;
|
|
1963
|
+
if (!_0x4bd367['daemonLocalUrl'])
|
|
1964
|
+
return 'Worker\x20features\x20not\x20available';
|
|
1965
|
+
const _0x24c3cc = await fetch(_0x4bd367[_0x4f4491(_0x38e4b3._0x382fdf)] + _0x4f4491(_0x38e4b3._0x4efba5) + encodeURIComponent(_0x5c4515[_0x4f4491(_0x38e4b3._0x1c9a88)])), _0x48f56e = await _0x24c3cc[_0x4f4491(_0x38e4b3._0x2405df)]();
|
|
1966
|
+
if (!_0x48f56e['ok'])
|
|
1967
|
+
return 'Worker\x20\x22' + _0x5c4515[_0x4f4491(0x239)] + '\x22\x20not\x20found';
|
|
1968
|
+
return _0x4f4491(0x205) + _0x5c4515['work_key'] + _0x4f4491(_0x38e4b3._0x4581d5) + _0x48f56e[_0x4f4491(0x2ae)];
|
|
1953
1969
|
},
|
|
1954
|
-
async 'get_worker_result'(
|
|
1955
|
-
const
|
|
1956
|
-
if (!
|
|
1957
|
-
return
|
|
1958
|
-
const
|
|
1959
|
-
if (!
|
|
1960
|
-
return
|
|
1961
|
-
return JSON[
|
|
1970
|
+
async 'get_worker_result'(_0x1723fc) {
|
|
1971
|
+
const _0x6b9fb6 = _0x153070;
|
|
1972
|
+
if (!_0x4bd367[_0x6b9fb6(_0x55e70b._0x333b6b)])
|
|
1973
|
+
return _0x6b9fb6(0x278);
|
|
1974
|
+
const _0xf40bd0 = await fetch(_0x4bd367[_0x6b9fb6(_0x55e70b._0x4eaa12)] + _0x6b9fb6(_0x55e70b._0x47f818) + encodeURIComponent(_0x1723fc[_0x6b9fb6(_0x55e70b._0x518b26)])), _0x44c1bb = await _0xf40bd0[_0x6b9fb6(_0x55e70b._0x1a9ce6)]();
|
|
1975
|
+
if (!_0x44c1bb[_0x6b9fb6(_0x55e70b._0x4d5e2d)])
|
|
1976
|
+
return _0x6b9fb6(0x2c9) + _0x1723fc[_0x6b9fb6(0x239)] + '\x22';
|
|
1977
|
+
return JSON[_0x6b9fb6(0x234)](_0x44c1bb[_0x6b9fb6(0x2d6)], null, 0x2);
|
|
1962
1978
|
},
|
|
1963
|
-
async 'finish_worker'(
|
|
1964
|
-
const
|
|
1965
|
-
if (!
|
|
1966
|
-
return
|
|
1967
|
-
const
|
|
1968
|
-
'method':
|
|
1969
|
-
'headers': { 'Content-Type':
|
|
1970
|
-
'body': JSON[
|
|
1971
|
-
'work_key':
|
|
1979
|
+
async 'finish_worker'(_0xc07df) {
|
|
1980
|
+
const _0x34e126 = _0x153070;
|
|
1981
|
+
if (!_0x4bd367['daemonLocalUrl'])
|
|
1982
|
+
return _0x34e126(0x278);
|
|
1983
|
+
const _0x58c00e = await fetch(_0x4bd367[_0x34e126(0x254)] + _0x34e126(_0x5c6b76._0x42db19), {
|
|
1984
|
+
'method': 'POST',
|
|
1985
|
+
'headers': { 'Content-Type': _0x34e126(0x266) },
|
|
1986
|
+
'body': JSON['stringify']({
|
|
1987
|
+
'work_key': _0xc07df[_0x34e126(_0x5c6b76._0x5cfae0)],
|
|
1972
1988
|
'resume_packet': {
|
|
1973
1989
|
'objective': '',
|
|
1974
|
-
'result':
|
|
1975
|
-
'summary':
|
|
1976
|
-
'decisions':
|
|
1977
|
-
'filesChanged':
|
|
1978
|
-
'openIssues':
|
|
1979
|
-
'nextSteps':
|
|
1990
|
+
'result': _0xc07df[_0x34e126(_0x5c6b76._0x3a757c)],
|
|
1991
|
+
'summary': _0xc07df[_0x34e126(_0x5c6b76._0x17ec8e)],
|
|
1992
|
+
'decisions': _0xc07df[_0x34e126(_0x5c6b76._0xfc4ab4)] ?? [],
|
|
1993
|
+
'filesChanged': _0xc07df['files_changed'] ?? [],
|
|
1994
|
+
'openIssues': _0xc07df[_0x34e126(_0x5c6b76._0x27eff6)] ?? [],
|
|
1995
|
+
'nextSteps': _0xc07df['next_steps'] ?? []
|
|
1980
1996
|
}
|
|
1981
1997
|
})
|
|
1982
|
-
}),
|
|
1983
|
-
if (!
|
|
1984
|
-
throw new Error(
|
|
1985
|
-
return
|
|
1998
|
+
}), _0x3a4469 = await _0x58c00e[_0x34e126(0x258)]();
|
|
1999
|
+
if (!_0x3a4469['ok'])
|
|
2000
|
+
throw new Error(_0x3a4469[_0x34e126(0x231)] ?? 'finish_worker\x20failed');
|
|
2001
|
+
return _0x34e126(0x205) + _0xc07df[_0x34e126(_0x5c6b76._0x5cfae0)] + _0x34e126(_0x5c6b76._0x1f1c07) + _0xc07df[_0x34e126(_0x5c6b76._0x3a757c)];
|
|
1986
2002
|
},
|
|
1987
|
-
async 'mark_waiting_input'(
|
|
1988
|
-
const
|
|
1989
|
-
if (!
|
|
1990
|
-
return
|
|
1991
|
-
const
|
|
2003
|
+
async 'mark_waiting_input'(_0x5e5251) {
|
|
2004
|
+
const _0x2bb1be = _0x153070;
|
|
2005
|
+
if (!_0x4bd367[_0x2bb1be(0x254)] || !_0x4bd367['agentId'])
|
|
2006
|
+
return _0x2bb1be(0x17b);
|
|
2007
|
+
const _0x461256 = await fetch(_0x4bd367[_0x2bb1be(0x254)] + _0x2bb1be(_0x462451._0x5751ac), {
|
|
1992
2008
|
'method': 'POST',
|
|
1993
|
-
'headers': { 'Content-Type':
|
|
1994
|
-
'body': JSON[
|
|
1995
|
-
'work_key':
|
|
1996
|
-
'agent_id':
|
|
2009
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2010
|
+
'body': JSON[_0x2bb1be(0x234)]({
|
|
2011
|
+
'work_key': _0x5e5251[_0x2bb1be(0x239)],
|
|
2012
|
+
'agent_id': _0x4bd367[_0x2bb1be(_0x462451._0x1cd76e)]
|
|
1997
2013
|
})
|
|
1998
|
-
}),
|
|
1999
|
-
if (!
|
|
2000
|
-
throw new Error(
|
|
2001
|
-
return
|
|
2014
|
+
}), _0x2e5c95 = await _0x461256[_0x2bb1be(_0x462451._0x2cbdab)]();
|
|
2015
|
+
if (!_0x2e5c95['ok'])
|
|
2016
|
+
throw new Error(_0x2e5c95[_0x2bb1be(0x231)] ?? 'mark_waiting_input\x20failed');
|
|
2017
|
+
return _0x2bb1be(_0x462451._0x561f76) + _0x5e5251[_0x2bb1be(0x239)] + _0x2bb1be(0x1a9);
|
|
2002
2018
|
},
|
|
2003
|
-
async 'escalate_to_main'(
|
|
2004
|
-
const
|
|
2005
|
-
if (!
|
|
2006
|
-
return
|
|
2007
|
-
const
|
|
2008
|
-
'method':
|
|
2009
|
-
'headers': { 'Content-Type':
|
|
2010
|
-
'body': JSON[
|
|
2011
|
-
'work_key':
|
|
2012
|
-
'reason':
|
|
2019
|
+
async 'escalate_to_main'(_0x41d584) {
|
|
2020
|
+
const _0x193afa = _0x153070;
|
|
2021
|
+
if (!_0x4bd367[_0x193afa(0x254)])
|
|
2022
|
+
return _0x193afa(_0x55f0ee._0x3bde61);
|
|
2023
|
+
const _0x33ab84 = await fetch(_0x4bd367[_0x193afa(_0x55f0ee._0x1ee853)] + _0x193afa(_0x55f0ee._0xc4126e), {
|
|
2024
|
+
'method': _0x193afa(0x29e),
|
|
2025
|
+
'headers': { 'Content-Type': _0x193afa(_0x55f0ee._0x3edf94) },
|
|
2026
|
+
'body': JSON[_0x193afa(_0x55f0ee._0x3f6d08)]({
|
|
2027
|
+
'work_key': _0x41d584[_0x193afa(_0x55f0ee._0x42c3b1)],
|
|
2028
|
+
'reason': _0x41d584[_0x193afa(0x29c)]
|
|
2013
2029
|
})
|
|
2014
|
-
}),
|
|
2015
|
-
if (!
|
|
2016
|
-
throw new Error(
|
|
2017
|
-
return
|
|
2030
|
+
}), _0x160aea = await _0x33ab84['json']();
|
|
2031
|
+
if (!_0x160aea['ok'])
|
|
2032
|
+
throw new Error(_0x160aea['error'] ?? _0x193afa(_0x55f0ee._0x2a2d20));
|
|
2033
|
+
return _0x193afa(0x2ea) + _0x41d584[_0x193afa(0x29c)];
|
|
2018
2034
|
}
|
|
2019
2035
|
};
|
|
2020
2036
|
}
|
|
2021
|
-
function textResult(
|
|
2037
|
+
function textResult(_0x2d75fd, _0x2b76d0 = ![]) {
|
|
2022
2038
|
return {
|
|
2023
2039
|
'content': [{
|
|
2024
2040
|
'type': 'text',
|
|
2025
|
-
'text':
|
|
2041
|
+
'text': _0x2d75fd
|
|
2026
2042
|
}],
|
|
2027
|
-
...
|
|
2043
|
+
..._0x2b76d0 ? { 'isError': !![] } : {}
|
|
2028
2044
|
};
|
|
2029
2045
|
}
|
|
2030
|
-
async function registerChatBridgeTools(
|
|
2031
|
-
const
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
},
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
},
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
},
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
},
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
},
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
},
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
_0x5c2fa1(0x1bb)
|
|
2103
|
-
])[_0x5c2fa1(_0x4ab143._0x2c143c)]()[_0x5c2fa1(0x296)](_0x5c2fa1(0x2d1))
|
|
2104
|
-
}, async _0x26978d => {
|
|
2105
|
-
const _0xc496d4 = _0x5c2fa1;
|
|
2046
|
+
async function registerChatBridgeTools(_0x4da2f1, _0x1b87dd, _0x211823) {
|
|
2047
|
+
const _0x3ed7c6 = {
|
|
2048
|
+
_0x16ec5d: 0x21e,
|
|
2049
|
+
_0x1aac32: 0x1e0,
|
|
2050
|
+
_0x5e54e0: 0x27b,
|
|
2051
|
+
_0x238907: 0x2e6,
|
|
2052
|
+
_0x2f66cb: 0x2c0,
|
|
2053
|
+
_0x51905a: 0x1e0,
|
|
2054
|
+
_0x519ad4: 0x2e8,
|
|
2055
|
+
_0x5747a2: 0x27b,
|
|
2056
|
+
_0x58cf1d: 0x2a2,
|
|
2057
|
+
_0xbcee65: 0x1de,
|
|
2058
|
+
_0x3c8c2e: 0x1a8,
|
|
2059
|
+
_0x1d1ddb: 0x243,
|
|
2060
|
+
_0x3e2544: 0x194,
|
|
2061
|
+
_0x16f6f4: 0x300,
|
|
2062
|
+
_0x20ce68: 0x27b,
|
|
2063
|
+
_0x46aa2c: 0x27b,
|
|
2064
|
+
_0xbd1303: 0x2e4,
|
|
2065
|
+
_0x4ffa32: 0x20c,
|
|
2066
|
+
_0x4efa52: 0x208,
|
|
2067
|
+
_0x2e33a0: 0x27b,
|
|
2068
|
+
_0x465e0c: 0x1e0,
|
|
2069
|
+
_0x54e7c4: 0x27b,
|
|
2070
|
+
_0x24e835: 0x1f9,
|
|
2071
|
+
_0x205460: 0x27b,
|
|
2072
|
+
_0x2e894c: 0x24b,
|
|
2073
|
+
_0x523ce0: 0x27b,
|
|
2074
|
+
_0x56eab1: 0x27b,
|
|
2075
|
+
_0x470f93: 0x1c4,
|
|
2076
|
+
_0x589290: 0x1e0,
|
|
2077
|
+
_0x4fa169: 0x1bc,
|
|
2078
|
+
_0x178d73: 0x2af,
|
|
2079
|
+
_0xce4555: 0x28b,
|
|
2080
|
+
_0x2a8303: 0x22e,
|
|
2081
|
+
_0x15efb7: 0x2c0,
|
|
2082
|
+
_0x36928b: 0x1e0,
|
|
2083
|
+
_0x4b6c00: 0x27b,
|
|
2084
|
+
_0x1102d5: 0x21e,
|
|
2085
|
+
_0x372438: 0x1e0,
|
|
2086
|
+
_0x4346e5: 0x1eb,
|
|
2087
|
+
_0x314fe1: 0x1e0,
|
|
2088
|
+
_0x14cef0: 0x27e
|
|
2089
|
+
}, _0x2ad7e4 = { _0x5cfbe8: 0x22a }, _0x2fe429 = {
|
|
2090
|
+
_0x5cacc8: 0x203,
|
|
2091
|
+
_0x1e11eb: 0x1d2
|
|
2092
|
+
}, _0x1862fd = { _0x207e8b: 0x250 }, _0x198e6f = {
|
|
2093
|
+
_0x53aea3: 0x1d2,
|
|
2094
|
+
_0x657e24: 0x29b
|
|
2095
|
+
}, _0x56b8fd = {
|
|
2096
|
+
_0x138dce: 0x1c4,
|
|
2097
|
+
_0x1e3322: 0x1d2
|
|
2098
|
+
}, _0x10715a = {
|
|
2099
|
+
_0x3c71aa: 0x261,
|
|
2100
|
+
_0x3656ab: 0x1d2
|
|
2101
|
+
}, _0x6b9727 = {
|
|
2102
|
+
_0x3d3c6c: 0x1d2,
|
|
2103
|
+
_0xb35130: 0x286
|
|
2104
|
+
}, _0x4323f8 = {
|
|
2105
|
+
_0x15087a: 0x2ff,
|
|
2106
|
+
_0x6bd268: 0x2b6
|
|
2107
|
+
}, _0xe990c6 = _0x602e11, {z: _0x2b9e02} = await import(_0xe990c6(0x27d));
|
|
2108
|
+
_0x4da2f1['tool'](_0xe990c6(0x2ff), _0xe990c6(0x1f5), {
|
|
2109
|
+
'target': _0x2b9e02[_0xe990c6(0x1e0)](),
|
|
2110
|
+
'content': _0x2b9e02['string'](),
|
|
2111
|
+
'attachment_ids': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x16ec5d)](_0x2b9e02[_0xe990c6(_0x3ed7c6._0x1aac32)]())[_0xe990c6(_0x3ed7c6._0x5e54e0)](),
|
|
2112
|
+
'visibility': _0x2b9e02['enum']([
|
|
2113
|
+
_0xe990c6(0x183),
|
|
2114
|
+
_0xe990c6(0x25e)
|
|
2115
|
+
])[_0xe990c6(_0x3ed7c6._0x5e54e0)]()['describe']('Optional.\x20If\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20\x22aside\x22\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Do\x20not\x20set\x20outside\x20threads.')
|
|
2116
|
+
}, async _0x3e95f7 => {
|
|
2117
|
+
const _0x1f7316 = _0xe990c6;
|
|
2106
2118
|
try {
|
|
2107
|
-
return textResult(await
|
|
2108
|
-
} catch (
|
|
2109
|
-
return textResult(
|
|
2119
|
+
return textResult(await _0x1b87dd[_0x1f7316(_0x4323f8._0x15087a)](_0x3e95f7));
|
|
2120
|
+
} catch (_0x2f2995) {
|
|
2121
|
+
return textResult(_0x2f2995 instanceof Error ? _0x2f2995['message'] : _0x1f7316(_0x4323f8._0x6bd268), !![]);
|
|
2110
2122
|
}
|
|
2111
|
-
}),
|
|
2112
|
-
const
|
|
2123
|
+
}), _0x4da2f1['tool']('check_messages', _0xe990c6(_0x3ed7c6._0x238907), {}, async () => {
|
|
2124
|
+
const _0x51731e = _0xe990c6;
|
|
2113
2125
|
try {
|
|
2114
|
-
return textResult(await
|
|
2115
|
-
} catch (
|
|
2116
|
-
return textResult(
|
|
2126
|
+
return textResult(await _0x1b87dd['check_messages']());
|
|
2127
|
+
} catch (_0x55acc7) {
|
|
2128
|
+
return textResult(_0x55acc7 instanceof Error ? _0x55acc7[_0x51731e(_0x6b9727._0x3d3c6c)] : _0x51731e(_0x6b9727._0xb35130), !![]);
|
|
2117
2129
|
}
|
|
2118
|
-
}),
|
|
2119
|
-
'channel':
|
|
2120
|
-
'limit':
|
|
2121
|
-
'before':
|
|
2122
|
-
'after':
|
|
2123
|
-
}, async
|
|
2124
|
-
const
|
|
2130
|
+
}), _0x4da2f1[_0xe990c6(_0x3ed7c6._0x2f66cb)]('read_history', 'Read\x20message\x20history\x20for\x20a\x20channel,\x20DM,\x20or\x20thread\x20target.', {
|
|
2131
|
+
'channel': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x51905a)](),
|
|
2132
|
+
'limit': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x519ad4)]()['optional'](),
|
|
2133
|
+
'before': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x519ad4)]()[_0xe990c6(_0x3ed7c6._0x5747a2)](),
|
|
2134
|
+
'after': _0x2b9e02[_0xe990c6(0x2e8)]()[_0xe990c6(_0x3ed7c6._0x5747a2)]()
|
|
2135
|
+
}, async _0xf290a3 => {
|
|
2136
|
+
const _0x367caa = _0xe990c6;
|
|
2125
2137
|
try {
|
|
2126
|
-
return textResult(await
|
|
2127
|
-
} catch (
|
|
2128
|
-
return textResult(
|
|
2138
|
+
return textResult(await _0x1b87dd[_0x367caa(0x2fe)](_0xf290a3));
|
|
2139
|
+
} catch (_0x58f72c) {
|
|
2140
|
+
return textResult(_0x58f72c instanceof Error ? _0x58f72c['message'] : _0x367caa(0x20e), !![]);
|
|
2129
2141
|
}
|
|
2130
|
-
}),
|
|
2131
|
-
const
|
|
2142
|
+
}), _0x4da2f1[_0xe990c6(_0x3ed7c6._0x2f66cb)](_0xe990c6(0x212), _0xe990c6(0x2b1), {}, async () => {
|
|
2143
|
+
const _0x37453c = _0xe990c6;
|
|
2132
2144
|
try {
|
|
2133
|
-
return textResult(await
|
|
2134
|
-
} catch (
|
|
2135
|
-
return textResult(
|
|
2145
|
+
return textResult(await _0x1b87dd[_0x37453c(0x212)]());
|
|
2146
|
+
} catch (_0x5a7b00) {
|
|
2147
|
+
return textResult(_0x5a7b00 instanceof Error ? _0x5a7b00[_0x37453c(0x1d2)] : _0x37453c(0x187), !![]);
|
|
2136
2148
|
}
|
|
2137
|
-
}),
|
|
2138
|
-
'channel':
|
|
2139
|
-
'status':
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2149
|
+
}), _0x4da2f1[_0xe990c6(0x2c0)](_0xe990c6(0x261), _0xe990c6(_0x3ed7c6._0x58cf1d), {
|
|
2150
|
+
'channel': _0x2b9e02[_0xe990c6(0x1e0)](),
|
|
2151
|
+
'status': _0x2b9e02[_0xe990c6(_0x3ed7c6._0xbcee65)]([
|
|
2152
|
+
_0xe990c6(_0x3ed7c6._0x3c8c2e),
|
|
2153
|
+
_0xe990c6(_0x3ed7c6._0x1d1ddb),
|
|
2154
|
+
_0xe990c6(_0x3ed7c6._0x3e2544),
|
|
2155
|
+
_0xe990c6(0x1bc)
|
|
2144
2156
|
])['optional']()
|
|
2145
|
-
}, async
|
|
2146
|
-
const
|
|
2157
|
+
}, async _0x2feb18 => {
|
|
2158
|
+
const _0x337a73 = _0xe990c6;
|
|
2147
2159
|
try {
|
|
2148
|
-
return textResult(await
|
|
2149
|
-
} catch (
|
|
2150
|
-
return textResult(
|
|
2160
|
+
return textResult(await _0x1b87dd[_0x337a73(_0x10715a._0x3c71aa)](_0x2feb18));
|
|
2161
|
+
} catch (_0x21df2b) {
|
|
2162
|
+
return textResult(_0x21df2b instanceof Error ? _0x21df2b[_0x337a73(_0x10715a._0x3656ab)] : 'list_tasks\x20failed', !![]);
|
|
2151
2163
|
}
|
|
2152
|
-
}),
|
|
2153
|
-
'channel':
|
|
2154
|
-
'idempotency_key':
|
|
2155
|
-
'tasks':
|
|
2156
|
-
'title':
|
|
2157
|
-
'description':
|
|
2158
|
-
'priority':
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
])[
|
|
2164
|
+
}), _0x4da2f1[_0xe990c6(_0x3ed7c6._0x2f66cb)](_0xe990c6(0x191), _0xe990c6(_0x3ed7c6._0x16f6f4), {
|
|
2165
|
+
'channel': _0x2b9e02['string'](),
|
|
2166
|
+
'idempotency_key': _0x2b9e02[_0xe990c6(0x1e0)]()[_0xe990c6(_0x3ed7c6._0x20ce68)](),
|
|
2167
|
+
'tasks': _0x2b9e02[_0xe990c6(0x21e)](_0x2b9e02[_0xe990c6(0x2d9)]({
|
|
2168
|
+
'title': _0x2b9e02[_0xe990c6(0x1e0)](),
|
|
2169
|
+
'description': _0x2b9e02['string']()[_0xe990c6(_0x3ed7c6._0x46aa2c)](),
|
|
2170
|
+
'priority': _0x2b9e02[_0xe990c6(0x1de)]([
|
|
2171
|
+
'low',
|
|
2172
|
+
_0xe990c6(_0x3ed7c6._0xbd1303),
|
|
2173
|
+
_0xe990c6(0x28d),
|
|
2174
|
+
_0xe990c6(0x2f0)
|
|
2175
|
+
])[_0xe990c6(0x27b)]()
|
|
2164
2176
|
}))
|
|
2165
|
-
}, async
|
|
2166
|
-
const
|
|
2177
|
+
}, async _0x1378b2 => {
|
|
2178
|
+
const _0x41728a = _0xe990c6;
|
|
2167
2179
|
try {
|
|
2168
|
-
return textResult(await
|
|
2169
|
-
} catch (
|
|
2170
|
-
return textResult(
|
|
2180
|
+
return textResult(await _0x1b87dd[_0x41728a(0x191)](_0x1378b2));
|
|
2181
|
+
} catch (_0x44e5c9) {
|
|
2182
|
+
return textResult(_0x44e5c9 instanceof Error ? _0x44e5c9['message'] : _0x41728a(0x257), !![]);
|
|
2171
2183
|
}
|
|
2172
|
-
}),
|
|
2173
|
-
'channel':
|
|
2174
|
-
'task_numbers':
|
|
2175
|
-
'subtask_numbers':
|
|
2176
|
-
'message_ids':
|
|
2177
|
-
'evidence':
|
|
2178
|
-
'create_thread':
|
|
2179
|
-
'create_task':
|
|
2180
|
-
}))[
|
|
2181
|
-
'idempotency_key':
|
|
2182
|
-
}, async
|
|
2183
|
-
const
|
|
2184
|
+
}), _0x4da2f1[_0xe990c6(_0x3ed7c6._0x2f66cb)](_0xe990c6(_0x3ed7c6._0x4ffa32), _0xe990c6(_0x3ed7c6._0x4efa52), {
|
|
2185
|
+
'channel': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x1aac32)](),
|
|
2186
|
+
'task_numbers': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x16ec5d)](_0x2b9e02[_0xe990c6(_0x3ed7c6._0x519ad4)]())[_0xe990c6(_0x3ed7c6._0x2e33a0)](),
|
|
2187
|
+
'subtask_numbers': _0x2b9e02[_0xe990c6(0x21e)](_0x2b9e02[_0xe990c6(0x2e8)]())[_0xe990c6(0x27b)](),
|
|
2188
|
+
'message_ids': _0x2b9e02[_0xe990c6(0x21e)](_0x2b9e02[_0xe990c6(_0x3ed7c6._0x465e0c)]())[_0xe990c6(_0x3ed7c6._0x54e7c4)](),
|
|
2189
|
+
'evidence': _0x2b9e02['record'](_0x2b9e02['string'](), _0x2b9e02['object']({
|
|
2190
|
+
'create_thread': _0x2b9e02[_0xe990c6(0x1f9)]()[_0xe990c6(_0x3ed7c6._0x5e54e0)](),
|
|
2191
|
+
'create_task': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x24e835)]()['optional']()
|
|
2192
|
+
}))[_0xe990c6(_0x3ed7c6._0x205460)](),
|
|
2193
|
+
'idempotency_key': _0x2b9e02[_0xe990c6(0x1e0)]()[_0xe990c6(0x27b)]()
|
|
2194
|
+
}, async _0x4138cf => {
|
|
2195
|
+
const _0x408c2b = _0xe990c6;
|
|
2184
2196
|
try {
|
|
2185
|
-
return textResult(await
|
|
2186
|
-
} catch (
|
|
2187
|
-
return textResult(
|
|
2197
|
+
return textResult(await _0x1b87dd[_0x408c2b(0x20c)](_0x4138cf));
|
|
2198
|
+
} catch (_0x1691d7) {
|
|
2199
|
+
return textResult(_0x1691d7 instanceof Error ? _0x1691d7[_0x408c2b(0x1d2)] : _0x408c2b(0x1d3), !![]);
|
|
2188
2200
|
}
|
|
2189
|
-
}),
|
|
2190
|
-
'channel':
|
|
2191
|
-
'task_number':
|
|
2192
|
-
'subtask_number':
|
|
2193
|
-
'idempotency_key':
|
|
2194
|
-
}, async
|
|
2195
|
-
const
|
|
2201
|
+
}), _0x4da2f1[_0xe990c6(0x2c0)](_0xe990c6(0x1cb), _0xe990c6(_0x3ed7c6._0x2e894c), {
|
|
2202
|
+
'channel': _0x2b9e02[_0xe990c6(0x1e0)](),
|
|
2203
|
+
'task_number': _0x2b9e02[_0xe990c6(0x2e8)](),
|
|
2204
|
+
'subtask_number': _0x2b9e02[_0xe990c6(0x2e8)]()[_0xe990c6(_0x3ed7c6._0x523ce0)](),
|
|
2205
|
+
'idempotency_key': _0x2b9e02['string']()[_0xe990c6(_0x3ed7c6._0x56eab1)]()
|
|
2206
|
+
}, async _0x24c002 => {
|
|
2207
|
+
const _0x16fbe2 = _0xe990c6;
|
|
2196
2208
|
try {
|
|
2197
|
-
return textResult(await
|
|
2198
|
-
} catch (
|
|
2199
|
-
return textResult(
|
|
2209
|
+
return textResult(await _0x1b87dd['unclaim_task'](_0x24c002));
|
|
2210
|
+
} catch (_0x14d3c6) {
|
|
2211
|
+
return textResult(_0x14d3c6 instanceof Error ? _0x14d3c6[_0x16fbe2(0x1d2)] : _0x16fbe2(0x232), !![]);
|
|
2200
2212
|
}
|
|
2201
|
-
}),
|
|
2202
|
-
'channel':
|
|
2203
|
-
'task_number':
|
|
2204
|
-
'subtask_number':
|
|
2205
|
-
'status':
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2213
|
+
}), _0x4da2f1[_0xe990c6(0x2c0)](_0xe990c6(_0x3ed7c6._0x470f93), _0xe990c6(0x1ed), {
|
|
2214
|
+
'channel': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x589290)](),
|
|
2215
|
+
'task_number': _0x2b9e02['number'](),
|
|
2216
|
+
'subtask_number': _0x2b9e02['number']()[_0xe990c6(0x27b)](),
|
|
2217
|
+
'status': _0x2b9e02[_0xe990c6(0x1de)]([
|
|
2218
|
+
'todo',
|
|
2219
|
+
_0xe990c6(0x243),
|
|
2220
|
+
_0xe990c6(_0x3ed7c6._0x3e2544),
|
|
2221
|
+
_0xe990c6(_0x3ed7c6._0x4fa169)
|
|
2210
2222
|
]),
|
|
2211
|
-
'idempotency_key':
|
|
2212
|
-
}, async
|
|
2213
|
-
const
|
|
2223
|
+
'idempotency_key': _0x2b9e02[_0xe990c6(0x1e0)]()[_0xe990c6(0x27b)]()
|
|
2224
|
+
}, async _0xeb8918 => {
|
|
2225
|
+
const _0x419f43 = _0xe990c6;
|
|
2214
2226
|
try {
|
|
2215
|
-
return textResult(await
|
|
2216
|
-
} catch (
|
|
2217
|
-
return textResult(
|
|
2227
|
+
return textResult(await _0x1b87dd[_0x419f43(_0x56b8fd._0x138dce)](_0xeb8918));
|
|
2228
|
+
} catch (_0x3c4fc1) {
|
|
2229
|
+
return textResult(_0x3c4fc1 instanceof Error ? _0x3c4fc1[_0x419f43(_0x56b8fd._0x1e3322)] : 'update_task_status\x20failed', !![]);
|
|
2218
2230
|
}
|
|
2219
|
-
}),
|
|
2220
|
-
'channel':
|
|
2221
|
-
'file_path':
|
|
2222
|
-
}, async
|
|
2223
|
-
const
|
|
2231
|
+
}), _0x4da2f1['tool'](_0xe990c6(_0x3ed7c6._0x178d73), _0xe990c6(_0x3ed7c6._0xce4555), {
|
|
2232
|
+
'channel': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x465e0c)](),
|
|
2233
|
+
'file_path': _0x2b9e02['string']()
|
|
2234
|
+
}, async _0x493cbe => {
|
|
2235
|
+
const _0x1eb8e3 = _0xe990c6;
|
|
2224
2236
|
try {
|
|
2225
|
-
return textResult(await
|
|
2226
|
-
} catch (
|
|
2227
|
-
return textResult(
|
|
2237
|
+
return textResult(await _0x1b87dd['upload_file'](_0x493cbe));
|
|
2238
|
+
} catch (_0x103985) {
|
|
2239
|
+
return textResult(_0x103985 instanceof Error ? _0x103985[_0x1eb8e3(_0x198e6f._0x53aea3)] : _0x1eb8e3(_0x198e6f._0x657e24), !![]);
|
|
2228
2240
|
}
|
|
2229
|
-
}),
|
|
2230
|
-
const
|
|
2241
|
+
}), _0x4da2f1[_0xe990c6(0x2c0)](_0xe990c6(0x2b7), _0xe990c6(_0x3ed7c6._0x2a8303), { 'attachment_id': _0x2b9e02['string']() }, async _0x171eab => {
|
|
2242
|
+
const _0x1a66c0 = _0xe990c6;
|
|
2231
2243
|
try {
|
|
2232
|
-
return textResult(await
|
|
2233
|
-
} catch (
|
|
2234
|
-
return textResult(
|
|
2244
|
+
return textResult(await _0x1b87dd['view_file'](_0x171eab));
|
|
2245
|
+
} catch (_0x3e1d6a) {
|
|
2246
|
+
return textResult(_0x3e1d6a instanceof Error ? _0x3e1d6a['message'] : _0x1a66c0(_0x1862fd._0x207e8b), !![]);
|
|
2235
2247
|
}
|
|
2236
|
-
}),
|
|
2237
|
-
const
|
|
2248
|
+
}), _0x4da2f1[_0xe990c6(_0x3ed7c6._0x15efb7)](_0xe990c6(0x2cb), 'Check\x20the\x20current\x20status\x20of\x20a\x20spawned\x20worker\x20by\x20its\x20work\x20key.', { 'work_key': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x589290)]() }, async _0x180a29 => {
|
|
2249
|
+
const _0x56e1e1 = _0xe990c6;
|
|
2238
2250
|
try {
|
|
2239
|
-
return textResult(await
|
|
2240
|
-
} catch (
|
|
2241
|
-
return textResult(
|
|
2251
|
+
return textResult(await _0x1b87dd[_0x56e1e1(0x2cb)](_0x180a29));
|
|
2252
|
+
} catch (_0x4458b3) {
|
|
2253
|
+
return textResult(_0x4458b3 instanceof Error ? _0x4458b3['message'] : 'get_worker_status\x20failed', !![]);
|
|
2242
2254
|
}
|
|
2243
|
-
}),
|
|
2244
|
-
const
|
|
2255
|
+
}), _0x4da2f1['tool'](_0xe990c6(0x203), _0xe990c6(0x1bd), { 'work_key': _0x2b9e02[_0xe990c6(0x1e0)]() }, async _0x23d818 => {
|
|
2256
|
+
const _0x3f9e28 = _0xe990c6;
|
|
2245
2257
|
try {
|
|
2246
|
-
return textResult(await
|
|
2247
|
-
} catch (
|
|
2248
|
-
return textResult(
|
|
2258
|
+
return textResult(await _0x1b87dd[_0x3f9e28(_0x2fe429._0x5cacc8)](_0x23d818));
|
|
2259
|
+
} catch (_0x11a303) {
|
|
2260
|
+
return textResult(_0x11a303 instanceof Error ? _0x11a303[_0x3f9e28(_0x2fe429._0x1e11eb)] : 'get_worker_result\x20failed', !![]);
|
|
2249
2261
|
}
|
|
2250
|
-
}),
|
|
2251
|
-
'work_key':
|
|
2252
|
-
'result':
|
|
2262
|
+
}), _0x4da2f1[_0xe990c6(0x2c0)]('finish_worker', 'Signal\x20that\x20the\x20current\x20worker\x20session\x20is\x20finished\x20and\x20provide\x20a\x20result\x20summary.', {
|
|
2263
|
+
'work_key': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x36928b)](),
|
|
2264
|
+
'result': _0x2b9e02[_0xe990c6(0x1de)]([
|
|
2253
2265
|
'completed',
|
|
2254
|
-
|
|
2255
|
-
|
|
2266
|
+
_0xe990c6(0x26b),
|
|
2267
|
+
'failed'
|
|
2256
2268
|
]),
|
|
2257
|
-
'summary':
|
|
2258
|
-
'decisions':
|
|
2259
|
-
'files_changed':
|
|
2260
|
-
'open_issues':
|
|
2261
|
-
'next_steps':
|
|
2262
|
-
}, async
|
|
2263
|
-
const
|
|
2269
|
+
'summary': _0x2b9e02[_0xe990c6(0x1e0)](),
|
|
2270
|
+
'decisions': _0x2b9e02['array'](_0x2b9e02['string']())[_0xe990c6(0x27b)](),
|
|
2271
|
+
'files_changed': _0x2b9e02[_0xe990c6(0x21e)](_0x2b9e02['string']())[_0xe990c6(_0x3ed7c6._0x4b6c00)](),
|
|
2272
|
+
'open_issues': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x1102d5)](_0x2b9e02[_0xe990c6(_0x3ed7c6._0x372438)]())[_0xe990c6(0x27b)](),
|
|
2273
|
+
'next_steps': _0x2b9e02[_0xe990c6(0x21e)](_0x2b9e02[_0xe990c6(_0x3ed7c6._0x36928b)]())['optional']()
|
|
2274
|
+
}, async _0x3934dd => {
|
|
2275
|
+
const _0x75762c = _0xe990c6;
|
|
2264
2276
|
try {
|
|
2265
|
-
return textResult(await
|
|
2266
|
-
} catch (
|
|
2267
|
-
return textResult(
|
|
2277
|
+
return textResult(await _0x1b87dd[_0x75762c(_0x2ad7e4._0x5cfbe8)](_0x3934dd));
|
|
2278
|
+
} catch (_0x45d29b) {
|
|
2279
|
+
return textResult(_0x45d29b instanceof Error ? _0x45d29b[_0x75762c(0x1d2)] : 'finish_worker\x20failed', !![]);
|
|
2268
2280
|
}
|
|
2269
|
-
}),
|
|
2270
|
-
'work_key':
|
|
2271
|
-
'reason':
|
|
2272
|
-
}, async
|
|
2273
|
-
const
|
|
2281
|
+
}), _0x4da2f1[_0xe990c6(_0x3ed7c6._0x2f66cb)](_0xe990c6(_0x3ed7c6._0x4346e5), _0xe990c6(0x24c), {
|
|
2282
|
+
'work_key': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x314fe1)](),
|
|
2283
|
+
'reason': _0x2b9e02['string']()
|
|
2284
|
+
}, async _0x39794b => {
|
|
2285
|
+
const _0xfe8665 = _0xe990c6;
|
|
2274
2286
|
try {
|
|
2275
|
-
return textResult(await
|
|
2276
|
-
} catch (
|
|
2277
|
-
return textResult(
|
|
2287
|
+
return textResult(await _0x1b87dd['escalate_to_main'](_0x39794b));
|
|
2288
|
+
} catch (_0x4e419a) {
|
|
2289
|
+
return textResult(_0x4e419a instanceof Error ? _0x4e419a['message'] : _0xfe8665(0x23c), !![]);
|
|
2278
2290
|
}
|
|
2279
|
-
}),
|
|
2280
|
-
const
|
|
2291
|
+
}), _0x211823?.[_0xe990c6(_0x3ed7c6._0x14cef0)] && _0x4da2f1['tool']('mark_waiting_input', 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x2b9e02[_0xe990c6(_0x3ed7c6._0x589290)]() }, async _0x2b3676 => {
|
|
2292
|
+
const _0x5be7f0 = _0xe990c6;
|
|
2281
2293
|
try {
|
|
2282
|
-
return textResult(await
|
|
2283
|
-
} catch (
|
|
2284
|
-
return textResult(
|
|
2294
|
+
return textResult(await _0x1b87dd[_0x5be7f0(0x2d7)](_0x2b3676));
|
|
2295
|
+
} catch (_0x2d2512) {
|
|
2296
|
+
return textResult(_0x2d2512 instanceof Error ? _0x2d2512[_0x5be7f0(0x1d2)] : _0x5be7f0(0x2bf), !![]);
|
|
2285
2297
|
}
|
|
2286
2298
|
});
|
|
2287
2299
|
}
|
|
2288
|
-
async function createChatBridgeServer(
|
|
2289
|
-
const
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
},
|
|
2293
|
-
'name':
|
|
2294
|
-
'version':
|
|
2295
|
-
}),
|
|
2296
|
-
return await registerChatBridgeTools(
|
|
2297
|
-
'handlers':
|
|
2298
|
-
'server':
|
|
2300
|
+
async function createChatBridgeServer(_0x16b22c) {
|
|
2301
|
+
const _0x4144c7 = {
|
|
2302
|
+
_0x2605a7: 0x1f1,
|
|
2303
|
+
_0x13578e: 0x246
|
|
2304
|
+
}, _0x42e630 = _0x602e11, {McpServer: _0x1fe3c8} = await import(_0x42e630(_0x4144c7._0x2605a7)), _0x55f139 = new _0x1fe3c8({
|
|
2305
|
+
'name': _0x42e630(_0x4144c7._0x13578e),
|
|
2306
|
+
'version': _0x42e630(0x28e)
|
|
2307
|
+
}), _0x4e0837 = createChatBridgeHandlers(_0x16b22c);
|
|
2308
|
+
return await registerChatBridgeTools(_0x55f139, _0x4e0837, { 'workerMode': _0x16b22c[_0x42e630(0x27e)] }), {
|
|
2309
|
+
'handlers': _0x4e0837,
|
|
2310
|
+
'server': _0x55f139
|
|
2299
2311
|
};
|
|
2300
2312
|
}
|
|
2301
|
-
function readFlag(
|
|
2302
|
-
const
|
|
2303
|
-
if (
|
|
2313
|
+
function readFlag(_0x151609, _0x53a325) {
|
|
2314
|
+
const _0x564ae8 = { _0x51eb89: 0x287 }, _0x7d27e4 = _0x602e11, _0x17ccd0 = _0x151609[_0x7d27e4(_0x564ae8._0x51eb89)](_0x53a325);
|
|
2315
|
+
if (_0x17ccd0 === -0x1)
|
|
2304
2316
|
return void 0x0;
|
|
2305
|
-
return
|
|
2317
|
+
return _0x151609[_0x17ccd0 + 0x1];
|
|
2306
2318
|
}
|
|
2307
|
-
function parseChatBridgeArgs(
|
|
2308
|
-
const
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
if (!
|
|
2318
|
-
throw new Error(
|
|
2319
|
-
if (!_0x4967b7)
|
|
2320
|
-
throw new Error(_0x562c98(0x272));
|
|
2321
|
-
if (_0x1723c6 !== void 0x0 && (_0xd4097f === void 0x0 || !Number[_0x562c98(_0x432c5c._0x65ed5f)](_0xd4097f) || _0xd4097f < 0x0))
|
|
2322
|
-
throw new Error(_0x562c98(0x282));
|
|
2319
|
+
function parseChatBridgeArgs(_0x33bea4) {
|
|
2320
|
+
const _0x482c24 = {
|
|
2321
|
+
_0x2c0947: 0x196,
|
|
2322
|
+
_0x1cdf2c: 0x1cc,
|
|
2323
|
+
_0x1ef4ec: 0x199
|
|
2324
|
+
}, _0x5ab0a0 = _0x602e11, _0x29fd49 = readFlag(_0x33bea4, _0x5ab0a0(0x2a6)), _0x402a44 = readFlag(_0x33bea4, _0x5ab0a0(0x260)), _0x46a206 = readFlag(_0x33bea4, _0x5ab0a0(0x24e)), _0x22f083 = readFlag(_0x33bea4, '--server-url') ?? _0x5ab0a0(0x178), _0x159e3d = readFlag(_0x33bea4, _0x5ab0a0(_0x482c24._0x2c0947)), _0x4e4698 = readFlag(_0x33bea4, '--session-id'), _0x4cc21b = readFlag(_0x33bea4, _0x5ab0a0(0x17c)), _0x719c26 = readFlag(_0x33bea4, _0x5ab0a0(0x2e1)), _0x4976a2 = readFlag(_0x33bea4, _0x5ab0a0(_0x482c24._0x1cdf2c)), _0x3424c2 = _0x33bea4[_0x5ab0a0(_0x482c24._0x1ef4ec)]('--worker-mode'), _0x1e2c4a = _0x46a206 === void 0x0 ? void 0x0 : Number[_0x5ab0a0(0x2f4)](_0x46a206, 0xa);
|
|
2325
|
+
if (!_0x29fd49)
|
|
2326
|
+
throw new Error('Missing\x20--agent-id');
|
|
2327
|
+
if (!_0x402a44)
|
|
2328
|
+
throw new Error('Missing\x20--daemon-api-key');
|
|
2329
|
+
if (_0x46a206 !== void 0x0 && (_0x1e2c4a === void 0x0 || !Number[_0x5ab0a0(0x1d8)](_0x1e2c4a) || _0x1e2c4a < 0x0))
|
|
2330
|
+
throw new Error('Invalid\x20--initial-last-seen-seq');
|
|
2323
2331
|
return {
|
|
2324
|
-
'agentId':
|
|
2325
|
-
'daemonApiKey':
|
|
2326
|
-
'daemonLocalUrl':
|
|
2327
|
-
'initialLastSeenSeq':
|
|
2328
|
-
'sessionId':
|
|
2329
|
-
'serverUrl':
|
|
2330
|
-
'workerModeEnabled':
|
|
2331
|
-
'workerSessionId':
|
|
2332
|
-
'workerThreadTarget':
|
|
2333
|
-
'workerMode':
|
|
2332
|
+
'agentId': _0x29fd49,
|
|
2333
|
+
'daemonApiKey': _0x402a44,
|
|
2334
|
+
'daemonLocalUrl': _0x159e3d,
|
|
2335
|
+
'initialLastSeenSeq': _0x1e2c4a,
|
|
2336
|
+
'sessionId': _0x4e4698,
|
|
2337
|
+
'serverUrl': _0x22f083,
|
|
2338
|
+
'workerModeEnabled': _0x4cc21b === void 0x0 ? void 0x0 : _0x4cc21b !== _0x5ab0a0(0x20a),
|
|
2339
|
+
'workerSessionId': _0x719c26,
|
|
2340
|
+
'workerThreadTarget': _0x4976a2,
|
|
2341
|
+
'workerMode': _0x3424c2
|
|
2334
2342
|
};
|
|
2335
2343
|
}
|
|
2336
|
-
async function runChatBridgeCli(
|
|
2337
|
-
const
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
'
|
|
2344
|
-
'
|
|
2345
|
-
'client': _0x4f4bbd,
|
|
2346
|
-
'daemonLocalUrl': _0x19f8cd[_0x451f44(0x202)],
|
|
2344
|
+
async function runChatBridgeCli(_0x2541b9) {
|
|
2345
|
+
const _0x205901 = {
|
|
2346
|
+
_0x5e5444: 0x201,
|
|
2347
|
+
_0x519757: 0x27e
|
|
2348
|
+
}, _0x4d16b9 = _0x602e11, _0x57219e = parseChatBridgeArgs(_0x2541b9), {StdioServerTransport: _0x12a5f6} = await import(_0x4d16b9(0x220)), _0x2b0c0a = createInternalAgentClient(_0x57219e), _0x5d56f0 = createAttachmentCache(), _0x57c315 = await createChatBridgeServer({
|
|
2349
|
+
'agentId': _0x57219e['agentId'],
|
|
2350
|
+
'attachmentCache': _0x5d56f0,
|
|
2351
|
+
'client': _0x2b0c0a,
|
|
2352
|
+
'daemonLocalUrl': _0x57219e[_0x4d16b9(0x254)],
|
|
2347
2353
|
'uploadPreparer': prepareUploadFile,
|
|
2348
|
-
'workerModeEnabled':
|
|
2349
|
-
'workerMode':
|
|
2354
|
+
'workerModeEnabled': _0x57219e[_0x4d16b9(_0x205901._0x5e5444)],
|
|
2355
|
+
'workerMode': _0x57219e[_0x4d16b9(_0x205901._0x519757)]
|
|
2350
2356
|
});
|
|
2351
|
-
await
|
|
2357
|
+
await _0x57c315[_0x4d16b9(0x1d5)][_0x4d16b9(0x2d8)](new _0x12a5f6());
|
|
2352
2358
|
}
|
|
2353
|
-
var executedAsEntry = process[
|
|
2354
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2359
|
+
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[_0x602e11(0x262)][0x1])['href'] : ![];
|
|
2360
|
+
executedAsEntry && await runChatBridgeCli(process[_0x602e11(0x262)][_0x602e11(0x1c5)](0x2));
|
|
2355
2361
|
export {
|
|
2356
2362
|
createChatBridgeHandlers,
|
|
2357
2363
|
createChatBridgeServer,
|