@dscord/daemon 0.1.55 → 0.1.57
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 +2126 -2117
- package/dist/index.js +9274 -8795
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
const _0x1e865e = _0x9c1d;
|
|
2
|
+
(function (_0x1a1412, _0x2b6326) {
|
|
3
|
+
const _0x3bfeef = {
|
|
4
|
+
_0x823835: 0x203,
|
|
5
|
+
_0x23f0d6: 0x242,
|
|
6
|
+
_0x13ce2f: 0x2c8,
|
|
7
|
+
_0x278e27: 0x216,
|
|
8
|
+
_0x7616a9: 0x1e8,
|
|
9
|
+
_0x4b0712: 0x262
|
|
10
|
+
}, _0x516196 = _0x9c1d, _0x591533 = _0x1a1412();
|
|
10
11
|
while (!![]) {
|
|
11
12
|
try {
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
13
|
+
const _0x5f0b17 = -parseInt(_0x516196(0x26b)) / 0x1 + parseInt(_0x516196(_0x3bfeef._0x823835)) / 0x2 * (parseInt(_0x516196(_0x3bfeef._0x23f0d6)) / 0x3) + -parseInt(_0x516196(0x19e)) / 0x4 + -parseInt(_0x516196(_0x3bfeef._0x13ce2f)) / 0x5 * (parseInt(_0x516196(0x1ad)) / 0x6) + -parseInt(_0x516196(_0x3bfeef._0x278e27)) / 0x7 + parseInt(_0x516196(_0x3bfeef._0x7616a9)) / 0x8 + parseInt(_0x516196(_0x3bfeef._0x4b0712)) / 0x9;
|
|
14
|
+
if (_0x5f0b17 === _0x2b6326)
|
|
14
15
|
break;
|
|
15
16
|
else
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
17
|
+
_0x591533['push'](_0x591533['shift']());
|
|
18
|
+
} catch (_0x3f5c62) {
|
|
19
|
+
_0x591533['push'](_0x591533['shift']());
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
|
-
}(
|
|
22
|
+
}(_0x5d96, 0xda40b));
|
|
22
23
|
import { pathToFileURL } from 'node:url';
|
|
23
24
|
import {
|
|
24
25
|
mkdir,
|
|
@@ -28,79 +29,83 @@ import {
|
|
|
28
29
|
writeFile
|
|
29
30
|
} from 'node:fs/promises';
|
|
30
31
|
import { homedir } from 'node:os';
|
|
31
|
-
import
|
|
32
|
+
import _0x2974da from 'node:path';
|
|
32
33
|
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':
|
|
34
|
+
'.csv': _0x1e865e(0x235),
|
|
35
|
+
'.gif': _0x1e865e(0x241),
|
|
36
|
+
'.jpeg': _0x1e865e(0x1ce),
|
|
37
|
+
'.jpg': _0x1e865e(0x1ce),
|
|
38
|
+
'.json': _0x1e865e(0x1b7),
|
|
39
|
+
'.md': 'text/markdown',
|
|
40
|
+
'.pdf': _0x1e865e(0x19d),
|
|
41
|
+
'.png': _0x1e865e(0x2d8),
|
|
42
|
+
'.svg': _0x1e865e(0x22d),
|
|
43
|
+
'.txt': _0x1e865e(0x16a),
|
|
44
|
+
'.webp': _0x1e865e(0x189),
|
|
45
|
+
'.xml': _0x1e865e(0x24d),
|
|
46
|
+
'.zip': _0x1e865e(0x2dd)
|
|
46
47
|
};
|
|
47
|
-
function guessContentType(
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
_0x1ef262: 0x25d
|
|
51
|
-
}, _0x5d5acd = _0x855546;
|
|
52
|
-
return MIME_BY_EXTENSION[_0x5ce9b3[_0x5d5acd(_0xebdafb._0x121bfa)](_0x34fbf1)['toLowerCase']()] ?? _0x5d5acd(_0xebdafb._0x1ef262);
|
|
48
|
+
function guessContentType(_0xbd05e4) {
|
|
49
|
+
const _0xdd82e8 = { _0x46482b: 0x25e }, _0x1d4c11 = _0x1e865e;
|
|
50
|
+
return MIME_BY_EXTENSION[_0x2974da[_0x1d4c11(0x210)](_0xbd05e4)[_0x1d4c11(_0xdd82e8._0x46482b)]()] ?? _0x1d4c11(0x225);
|
|
53
51
|
}
|
|
54
|
-
function safeFilename(
|
|
55
|
-
const
|
|
56
|
-
return
|
|
52
|
+
function safeFilename(_0x1b6919) {
|
|
53
|
+
const _0xdc5d9d = _0x1e865e;
|
|
54
|
+
return _0x1b6919[_0xdc5d9d(0x1a7)](/[\\/]/g, '-');
|
|
57
55
|
}
|
|
58
|
-
function extensionFor(
|
|
59
|
-
const
|
|
60
|
-
|
|
56
|
+
function extensionFor(_0x40af45) {
|
|
57
|
+
const _0x2fa61d = {
|
|
58
|
+
_0x33faca: 0x1ff,
|
|
59
|
+
_0x5a054: 0x1bf
|
|
60
|
+
}, _0x193286 = _0x1e865e, _0x5ebbca = Object['entries'](MIME_BY_EXTENSION)[_0x193286(_0x2fa61d._0x33faca)](([, _0x2f113c]) => _0x2f113c === _0x40af45);
|
|
61
|
+
return _0x5ebbca?.[0x0] ?? _0x193286(_0x2fa61d._0x5a054);
|
|
61
62
|
}
|
|
62
|
-
async function prepareUploadFile(
|
|
63
|
-
const
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
if (!
|
|
71
|
-
throw new Error(
|
|
72
|
-
const
|
|
73
|
-
if (
|
|
74
|
-
throw new Error(
|
|
75
|
-
const
|
|
63
|
+
async function prepareUploadFile(_0x1718a8, _0x3e5ca4 = {}) {
|
|
64
|
+
const _0x43cb9b = {
|
|
65
|
+
_0x979ad5: 0x2a1,
|
|
66
|
+
_0x5e2bfa: 0x2b5,
|
|
67
|
+
_0x4db2d3: 0x1b8,
|
|
68
|
+
_0xeabc10: 0x158,
|
|
69
|
+
_0x20b912: 0x1a0
|
|
70
|
+
}, _0x20a6d5 = _0x1e865e;
|
|
71
|
+
if (!_0x2974da['isAbsolute'](_0x1718a8))
|
|
72
|
+
throw new Error(_0x20a6d5(_0x43cb9b._0x979ad5));
|
|
73
|
+
const _0x3ad9b3 = await stat(_0x1718a8)[_0x20a6d5(_0x43cb9b._0x5e2bfa)](() => null);
|
|
74
|
+
if (!_0x3ad9b3 || !_0x3ad9b3[_0x20a6d5(0x256)]())
|
|
75
|
+
throw new Error(_0x20a6d5(0x2db) + _0x1718a8);
|
|
76
|
+
const _0x42397e = _0x3e5ca4[_0x20a6d5(0x16d)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
77
|
+
if (_0x3ad9b3['size'] > _0x42397e)
|
|
78
|
+
throw new Error(_0x20a6d5(0x1df) + _0x3ad9b3[_0x20a6d5(_0x43cb9b._0x4db2d3)]);
|
|
79
|
+
const _0x30b9b1 = await readFile(_0x1718a8), _0x2b1024 = _0x2974da[_0x20a6d5(_0x43cb9b._0xeabc10)](_0x1718a8);
|
|
76
80
|
return {
|
|
77
|
-
'contentBase64':
|
|
78
|
-
'contentType': guessContentType(
|
|
79
|
-
'filename':
|
|
80
|
-
'sizeBytes':
|
|
81
|
+
'contentBase64': _0x30b9b1[_0x20a6d5(_0x43cb9b._0x20b912)](_0x20a6d5(0x2b6)),
|
|
82
|
+
'contentType': guessContentType(_0x2b1024),
|
|
83
|
+
'filename': _0x2b1024,
|
|
84
|
+
'sizeBytes': _0x3ad9b3[_0x20a6d5(_0x43cb9b._0x4db2d3)]
|
|
81
85
|
};
|
|
82
86
|
}
|
|
83
|
-
function createAttachmentCache(
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
function createAttachmentCache(_0x591876 = {}) {
|
|
88
|
+
const _0x3689c3 = {
|
|
89
|
+
_0x1a4fca: 0x1e7,
|
|
90
|
+
_0x48c1be: 0x1a1,
|
|
91
|
+
_0x4408bf: 0x1e3
|
|
92
|
+
}, _0x17714e = {
|
|
93
|
+
_0x412e96: 0x25f,
|
|
94
|
+
_0x840ab1: 0x20b
|
|
95
|
+
}, _0x2545e1 = { _0x4a3346: 0x1ff }, _0x277e07 = _0x1e865e, _0x341f55 = _0x591876[_0x277e07(_0x3689c3._0x1a4fca)] ?? _0x2974da['join'](homedir(), _0x277e07(_0x3689c3._0x48c1be), _0x277e07(_0x3689c3._0x4408bf));
|
|
91
96
|
return {
|
|
92
|
-
'cacheDir':
|
|
93
|
-
async 'findCachedPath'(
|
|
94
|
-
const
|
|
95
|
-
await mkdir(
|
|
96
|
-
const
|
|
97
|
-
return
|
|
97
|
+
'cacheDir': _0x341f55,
|
|
98
|
+
async 'findCachedPath'(_0xea3df2) {
|
|
99
|
+
const _0xac78ef = _0x277e07;
|
|
100
|
+
await mkdir(_0x341f55, { 'recursive': !![] });
|
|
101
|
+
const _0x2d065c = await readdir(_0x341f55), _0x205905 = _0x2d065c[_0xac78ef(_0x2545e1._0x4a3346)](_0xda4d6e => _0xda4d6e['startsWith'](_0xea3df2 + '-') || _0xda4d6e[_0xac78ef(0x1a4)](_0xea3df2));
|
|
102
|
+
return _0x205905 ? _0x2974da[_0xac78ef(0x1d1)](_0x341f55, _0x205905) : null;
|
|
98
103
|
},
|
|
99
|
-
async 'save'(
|
|
100
|
-
const
|
|
101
|
-
await mkdir(
|
|
102
|
-
const
|
|
103
|
-
return await writeFile(
|
|
104
|
+
async 'save'(_0x107dd1) {
|
|
105
|
+
const _0x38dac3 = _0x277e07;
|
|
106
|
+
await mkdir(_0x341f55, { 'recursive': !![] });
|
|
107
|
+
const _0x3663d0 = _0x107dd1['originalFilename']?.[_0x38dac3(0x1c0)]() ? safeFilename(_0x107dd1[_0x38dac3(0x1af)]) : '' + _0x107dd1[_0x38dac3(0x20b)] + extensionFor(_0x107dd1[_0x38dac3(_0x17714e._0x412e96)]), _0x5511b2 = _0x2974da[_0x38dac3(0x1d1)](_0x341f55, _0x107dd1[_0x38dac3(_0x17714e._0x840ab1)] + '-' + _0x3663d0);
|
|
108
|
+
return await writeFile(_0x5511b2, _0x107dd1[_0x38dac3(0x182)]), _0x5511b2;
|
|
104
109
|
}
|
|
105
110
|
};
|
|
106
111
|
}
|
|
@@ -108,2244 +113,2248 @@ import {
|
|
|
108
113
|
createHash,
|
|
109
114
|
randomUUID
|
|
110
115
|
} from 'node:crypto';
|
|
111
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
112
|
-
function ensureSegment(
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
_0x2674df: 0x2a4
|
|
116
|
-
}, _0x348f79 = _0x855546, _0x3859d8 = _0x5dfc7b[_0x348f79(_0x4b7c60._0x4b6b9f)]();
|
|
117
|
-
if (!_0x3859d8 || _0x3859d8[_0x348f79(_0x4b7c60._0x2674df)](':'))
|
|
116
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x1e865e(0x2af);
|
|
117
|
+
function ensureSegment(_0x5052d0) {
|
|
118
|
+
const _0x153de1 = _0x5052d0['trim']();
|
|
119
|
+
if (!_0x153de1 || _0x153de1['includes'](':'))
|
|
118
120
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
119
|
-
return
|
|
121
|
+
return _0x153de1;
|
|
120
122
|
}
|
|
121
|
-
function parseThreadParts(
|
|
122
|
-
const
|
|
123
|
-
|
|
123
|
+
function parseThreadParts(_0x1c131d) {
|
|
124
|
+
const _0x9517b = {
|
|
125
|
+
_0x5257c6: 0x2ae,
|
|
126
|
+
_0xcc3a7c: 0x198,
|
|
127
|
+
_0x4f7d8c: 0x198
|
|
128
|
+
}, _0x7df097 = _0x1e865e, _0x3991a4 = _0x1c131d[_0x7df097(_0x9517b._0x5257c6)](':');
|
|
129
|
+
if (_0x3991a4[_0x7df097(_0x9517b._0xcc3a7c)] < 0x1 || _0x3991a4[_0x7df097(_0x9517b._0x4f7d8c)] > 0x2)
|
|
124
130
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
125
131
|
return {
|
|
126
|
-
'channelName': ensureSegment(
|
|
127
|
-
'threadShortId':
|
|
132
|
+
'channelName': ensureSegment(_0x3991a4[0x0] ?? ''),
|
|
133
|
+
'threadShortId': _0x3991a4[0x1] ? ensureSegment(_0x3991a4[0x1]) : null
|
|
128
134
|
};
|
|
129
135
|
}
|
|
130
|
-
function parseTarget(
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
function parseTarget(_0x267208) {
|
|
137
|
+
const _0x25f4c5 = {
|
|
138
|
+
_0x3aaeb1: 0x1c0,
|
|
139
|
+
_0x24d689: 0x20c,
|
|
140
|
+
_0x53e4e3: 0x279,
|
|
141
|
+
_0x562f5e: 0x21f,
|
|
142
|
+
_0x4141a5: 0x1a4,
|
|
143
|
+
_0x10d5aa: 0x165,
|
|
144
|
+
_0x278d6d: 0x229,
|
|
145
|
+
_0x4e2189: 0x279,
|
|
146
|
+
_0x180ef0: 0x20c
|
|
147
|
+
}, _0x11bd73 = _0x1e865e, _0x8f61ab = _0x267208[_0x11bd73(_0x25f4c5._0x3aaeb1)]();
|
|
148
|
+
if (!_0x8f61ab)
|
|
141
149
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
142
|
-
if (
|
|
143
|
-
const
|
|
144
|
-
if (!
|
|
150
|
+
if (_0x8f61ab['startsWith']('#')) {
|
|
151
|
+
const _0x5cdc26 = parseThreadParts(_0x8f61ab[_0x11bd73(0x229)](0x1)), _0x3d91bd = '#' + _0x5cdc26[_0x11bd73(_0x25f4c5._0x24d689)];
|
|
152
|
+
if (!_0x5cdc26[_0x11bd73(_0x25f4c5._0x53e4e3)])
|
|
145
153
|
return {
|
|
146
|
-
'channelName':
|
|
147
|
-
'channelTarget':
|
|
148
|
-
'kind':
|
|
149
|
-
'target':
|
|
154
|
+
'channelName': _0x5cdc26['channelName'],
|
|
155
|
+
'channelTarget': _0x3d91bd,
|
|
156
|
+
'kind': _0x11bd73(_0x25f4c5._0x562f5e),
|
|
157
|
+
'target': _0x3d91bd
|
|
150
158
|
};
|
|
151
159
|
return {
|
|
152
|
-
'channelName':
|
|
153
|
-
'channelTarget':
|
|
154
|
-
'kind':
|
|
155
|
-
'target':
|
|
156
|
-
'threadShortId':
|
|
160
|
+
'channelName': _0x5cdc26[_0x11bd73(0x20c)],
|
|
161
|
+
'channelTarget': _0x3d91bd,
|
|
162
|
+
'kind': _0x11bd73(0x1de),
|
|
163
|
+
'target': _0x3d91bd + ':' + _0x5cdc26[_0x11bd73(0x279)],
|
|
164
|
+
'threadShortId': _0x5cdc26['threadShortId']
|
|
157
165
|
};
|
|
158
166
|
}
|
|
159
|
-
if (
|
|
160
|
-
const
|
|
161
|
-
if (!
|
|
167
|
+
if (_0x8f61ab[_0x11bd73(_0x25f4c5._0x4141a5)](_0x11bd73(_0x25f4c5._0x10d5aa))) {
|
|
168
|
+
const _0x3fa94d = parseThreadParts(_0x8f61ab[_0x11bd73(_0x25f4c5._0x278d6d)](0x3));
|
|
169
|
+
if (!_0x3fa94d['channelName']['startsWith']('dm-'))
|
|
162
170
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
163
|
-
const
|
|
164
|
-
if (!
|
|
171
|
+
const _0x4bb0c0 = _0x11bd73(_0x25f4c5._0x10d5aa) + _0x3fa94d['channelName'];
|
|
172
|
+
if (!_0x3fa94d[_0x11bd73(_0x25f4c5._0x4e2189)])
|
|
165
173
|
return {
|
|
166
|
-
'channelName':
|
|
167
|
-
'channelTarget':
|
|
168
|
-
'kind':
|
|
169
|
-
'target':
|
|
174
|
+
'channelName': _0x3fa94d[_0x11bd73(_0x25f4c5._0x180ef0)],
|
|
175
|
+
'channelTarget': _0x4bb0c0,
|
|
176
|
+
'kind': _0x11bd73(0x21f),
|
|
177
|
+
'target': _0x4bb0c0
|
|
170
178
|
};
|
|
171
179
|
return {
|
|
172
|
-
'channelName':
|
|
173
|
-
'channelTarget':
|
|
174
|
-
'kind':
|
|
175
|
-
'target':
|
|
176
|
-
'threadShortId':
|
|
180
|
+
'channelName': _0x3fa94d[_0x11bd73(0x20c)],
|
|
181
|
+
'channelTarget': _0x4bb0c0,
|
|
182
|
+
'kind': _0x11bd73(0x1de),
|
|
183
|
+
'target': _0x4bb0c0 + ':' + _0x3fa94d[_0x11bd73(_0x25f4c5._0x53e4e3)],
|
|
184
|
+
'threadShortId': _0x3fa94d['threadShortId']
|
|
177
185
|
};
|
|
178
186
|
}
|
|
179
187
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
180
188
|
}
|
|
181
|
-
function
|
|
182
|
-
const
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
function asRecord(_0x1377d7) {
|
|
191
|
-
return typeof _0x1377d7 === 'object' && _0x1377d7 !== null ? _0x1377d7 : {};
|
|
192
|
-
}
|
|
193
|
-
function stableStringify(_0x310a9d) {
|
|
194
|
-
const _0x4d6991 = {
|
|
195
|
-
_0x5a6b0e: 0x234,
|
|
196
|
-
_0x57e1ba: 0x275,
|
|
197
|
-
_0x1f80c9: 0x211
|
|
198
|
-
}, _0x28bc8d = _0x855546;
|
|
199
|
-
if (_0x310a9d === null || typeof _0x310a9d !== 'object')
|
|
200
|
-
return JSON['stringify'](_0x310a9d);
|
|
201
|
-
if (Array[_0x28bc8d(_0x4d6991._0x5a6b0e)](_0x310a9d))
|
|
202
|
-
return '[' + _0x310a9d[_0x28bc8d(0x34b)](_0x5c4ea => stableStringify(_0x5c4ea))[_0x28bc8d(0x211)](',') + ']';
|
|
203
|
-
const _0x306776 = Object[_0x28bc8d(0x28d)](_0x310a9d)[_0x28bc8d(_0x4d6991._0x57e1ba)](([, _0x43f9a6]) => _0x43f9a6 !== void 0x0)['sort'](([_0x230698], [_0x2bf3a8]) => _0x230698[_0x28bc8d(0x236)](_0x2bf3a8))['map'](([_0xbdb5d5, _0x309637]) => JSON[_0x28bc8d(0x219)](_0xbdb5d5) + ':' + stableStringify(_0x309637));
|
|
204
|
-
return '{' + _0x306776[_0x28bc8d(_0x4d6991._0x1f80c9)](',') + '}';
|
|
205
|
-
}
|
|
206
|
-
function createHeaders(_0x3bea51) {
|
|
207
|
-
const _0x3cc2a2 = { _0x2021b0: 0x2fc }, _0x4f59cb = _0x855546;
|
|
208
|
-
return {
|
|
209
|
-
'Content-Type': _0x4f59cb(_0x3cc2a2._0x2021b0),
|
|
210
|
-
'x-daemon-api-key': _0x3bea51
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
function toHttpBaseUrl(_0x440925) {
|
|
214
|
-
const _0x477795 = {
|
|
215
|
-
_0x5c4254: 0x34e,
|
|
216
|
-
_0xd899e3: 0x215,
|
|
217
|
-
_0x34f6cf: 0x34e,
|
|
218
|
-
_0x3b5475: 0x2b8
|
|
219
|
-
}, _0x5dda1c = _0x855546, _0x42342d = new URL(_0x440925);
|
|
220
|
-
if (_0x42342d['protocol'] === _0x5dda1c(0x1d5))
|
|
221
|
-
_0x42342d[_0x5dda1c(_0x477795._0x5c4254)] = _0x5dda1c(_0x477795._0xd899e3);
|
|
222
|
-
else
|
|
223
|
-
_0x42342d[_0x5dda1c(0x34e)] === _0x5dda1c(0x2c4) && (_0x42342d[_0x5dda1c(_0x477795._0x34f6cf)] = 'https:');
|
|
224
|
-
return _0x42342d[_0x5dda1c(_0x477795._0x3b5475)]()['replace'](/\/$/, '');
|
|
225
|
-
}
|
|
226
|
-
function isMentionBoundary(_0xea9190) {
|
|
227
|
-
return !_0xea9190 || /\s|[([{'",。!?、:;]/['test'](_0xea9190);
|
|
228
|
-
}
|
|
229
|
-
function isMentionTerminal(_0x378028) {
|
|
230
|
-
const _0x5f06f5 = _0x855546;
|
|
231
|
-
return !_0x378028 || /\s|[)\]}'",。!?、:;,.!?]/[_0x5f06f5(0x2bb)](_0x378028);
|
|
232
|
-
}
|
|
233
|
-
function buildMatchableEntries(_0x36814c) {
|
|
234
|
-
const _0x383cc7 = {
|
|
235
|
-
_0x42e41b: 0x2eb,
|
|
236
|
-
_0x14f656: 0x34c
|
|
237
|
-
}, _0x47d032 = _0x855546, _0x5aa9be = [];
|
|
238
|
-
for (const _0x3eba93 of [
|
|
239
|
-
..._0x36814c['agents'],
|
|
240
|
-
..._0x36814c[_0x47d032(0x235)]
|
|
241
|
-
]) {
|
|
242
|
-
_0x5aa9be[_0x47d032(_0x383cc7._0x42e41b)]({
|
|
243
|
-
'matchName': _0x3eba93[_0x47d032(0x341)],
|
|
244
|
-
'matchNameLower': _0x3eba93[_0x47d032(0x341)][_0x47d032(_0x383cc7._0x14f656)](),
|
|
245
|
-
'participantId': _0x3eba93['id']
|
|
246
|
-
}), _0x3eba93['id'] !== _0x3eba93[_0x47d032(0x341)] && _0x5aa9be[_0x47d032(0x2eb)]({
|
|
247
|
-
'matchName': _0x3eba93['id'],
|
|
248
|
-
'matchNameLower': _0x3eba93['id'][_0x47d032(_0x383cc7._0x14f656)](),
|
|
249
|
-
'participantId': _0x3eba93['id']
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
return _0x5aa9be;
|
|
253
|
-
}
|
|
254
|
-
function extractMentionedParticipantIds(_0x325882, _0xfddd05) {
|
|
255
|
-
const _0x414eff = {
|
|
256
|
-
_0x4034df: 0x1fa,
|
|
257
|
-
_0x332fee: 0x2eb
|
|
258
|
-
}, _0x1586d4 = {
|
|
259
|
-
_0x2c7623: 0x24f,
|
|
260
|
-
_0xa5751a: 0x23b
|
|
261
|
-
}, _0x28722b = _0x855546, _0x1af2d1 = buildMatchableEntries(_0xfddd05)[_0x28722b(_0x414eff._0x4034df)]((_0x37eeff, _0x16a8d8) => _0x16a8d8['matchName'][_0x28722b(0x26d)] - _0x37eeff[_0x28722b(0x32b)][_0x28722b(0x26d)]), _0xda25a5 = [], _0x52653a = new Set();
|
|
262
|
-
for (let _0x61357d = 0x0; _0x61357d < _0x325882[_0x28722b(0x26d)]; _0x61357d += 0x1) {
|
|
263
|
-
if (_0x325882[_0x61357d] !== '@' || !isMentionBoundary(_0x325882[_0x61357d - 0x1]))
|
|
264
|
-
continue;
|
|
265
|
-
const _0x245582 = _0x325882[_0x28722b(0x286)](_0x61357d + 0x1), _0x19680d = _0x245582['toLocaleLowerCase'](), _0x3b5226 = _0x1af2d1['find'](_0x40fc6f => {
|
|
266
|
-
const _0x16ce70 = _0x28722b;
|
|
267
|
-
if (!_0x19680d[_0x16ce70(_0x1586d4._0x2c7623)](_0x40fc6f[_0x16ce70(_0x1586d4._0xa5751a)]))
|
|
268
|
-
return ![];
|
|
269
|
-
return isMentionTerminal(_0x245582[_0x40fc6f[_0x16ce70(0x32b)][_0x16ce70(0x26d)]]);
|
|
270
|
-
});
|
|
271
|
-
if (!_0x3b5226 || _0x52653a['has'](_0x3b5226['participantId']))
|
|
272
|
-
continue;
|
|
273
|
-
_0x52653a[_0x28722b(0x348)](_0x3b5226[_0x28722b(0x295)]), _0xda25a5[_0x28722b(_0x414eff._0x332fee)](_0x3b5226['participantId']), _0x61357d += _0x3b5226[_0x28722b(0x32b)]['length'];
|
|
274
|
-
}
|
|
275
|
-
return _0xda25a5;
|
|
276
|
-
}
|
|
277
|
-
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
278
|
-
function anySignal(..._0xdbc7d8) {
|
|
279
|
-
const _0x4de439 = {
|
|
280
|
-
_0x51ec0b: 0x271,
|
|
281
|
-
_0x475c06: 0x22b,
|
|
282
|
-
_0x1cc154: 0x1ef
|
|
283
|
-
}, _0x5adfa0 = _0x855546, _0x3bda40 = new AbortController();
|
|
284
|
-
for (const _0x58dc92 of _0xdbc7d8) {
|
|
285
|
-
if (_0x58dc92[_0x5adfa0(_0x4de439._0x51ec0b)])
|
|
286
|
-
return _0x3bda40['abort'](_0x58dc92['reason']), _0x3bda40[_0x5adfa0(0x2ee)];
|
|
287
|
-
_0x58dc92[_0x5adfa0(_0x4de439._0x475c06)](_0x5adfa0(_0x4de439._0x1cc154), () => _0x3bda40[_0x5adfa0(0x1ef)](_0x58dc92[_0x5adfa0(0x2b7)]), {
|
|
288
|
-
'once': !![],
|
|
289
|
-
'signal': _0x3bda40['signal']
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
return _0x3bda40[_0x5adfa0(0x2ee)];
|
|
293
|
-
}
|
|
294
|
-
function createInternalAgentClient(_0x233de1) {
|
|
295
|
-
const _0x4b02fa = {
|
|
296
|
-
_0x3aa523: 0x28f,
|
|
297
|
-
_0x4aa32b: 0x1cf,
|
|
298
|
-
_0x129347: 0x2db,
|
|
299
|
-
_0x40a9bb: 0x24e,
|
|
300
|
-
_0x5b2b25: 0x1d7,
|
|
301
|
-
_0x55df80: 0x2ad
|
|
302
|
-
}, _0x30db93 = {
|
|
303
|
-
_0x1ac232: 0x1f3,
|
|
304
|
-
_0x19a1b5: 0x27e,
|
|
305
|
-
_0x41a40c: 0x330,
|
|
306
|
-
_0x9d4bc6: 0x26d,
|
|
307
|
-
_0x5e3e41: 0x346,
|
|
308
|
-
_0x884952: 0x328,
|
|
309
|
-
_0x17c21b: 0x34b,
|
|
310
|
-
_0x3e3e96: 0x34b,
|
|
311
|
-
_0xab92f7: 0x2e4,
|
|
312
|
-
_0x3b5101: 0x2e8,
|
|
313
|
-
_0x5a5e38: 0x2b6,
|
|
314
|
-
_0x53f51b: 0x2b6,
|
|
315
|
-
_0x4e827c: 0x2b6,
|
|
316
|
-
_0x4bed12: 0x2f9,
|
|
317
|
-
_0x4c10de: 0x319,
|
|
318
|
-
_0x3cdf48: 0x2eb,
|
|
319
|
-
_0x586bbe: 0x28d,
|
|
320
|
-
_0xcd4d93: 0x299,
|
|
321
|
-
_0x1df182: 0x1e2,
|
|
322
|
-
_0x4d9f6a: 0x2e7,
|
|
323
|
-
_0x327545: 0x258,
|
|
324
|
-
_0x5cae3d: 0x2e7,
|
|
325
|
-
_0x536634: 0x1f7,
|
|
326
|
-
_0x3c1dd3: 0x284,
|
|
327
|
-
_0x5d3b52: 0x25a,
|
|
328
|
-
_0x25ba8c: 0x21d,
|
|
329
|
-
_0x54eec3: 0x294,
|
|
330
|
-
_0x3a7a61: 0x27b,
|
|
331
|
-
_0x2cafed: 0x25a,
|
|
332
|
-
_0x2b212d: 0x2ff
|
|
333
|
-
}, _0x111287 = {
|
|
334
|
-
_0x2df2eb: 0x1e9,
|
|
335
|
-
_0xfec1f: 0x2bf,
|
|
336
|
-
_0x54d632: 0x2e4
|
|
337
|
-
}, _0x4d6eca = {
|
|
338
|
-
_0x30b4a5: 0x209,
|
|
339
|
-
_0x856600: 0x201,
|
|
340
|
-
_0x100e6a: 0x2ee,
|
|
341
|
-
_0x3aa6fb: 0x243,
|
|
342
|
-
_0x4ff6be: 0x30f
|
|
343
|
-
}, _0x260718 = {
|
|
344
|
-
_0x4f9c84: 0x1ee,
|
|
345
|
-
_0x5b6f88: 0x2f4,
|
|
346
|
-
_0x35ae65: 0x219,
|
|
347
|
-
_0x366190: 0x1d9
|
|
348
|
-
}, _0x372d68 = {
|
|
349
|
-
_0x11f041: 0x1f3,
|
|
350
|
-
_0x5756ef: 0x318
|
|
351
|
-
}, _0x472810 = { _0x361ae4: 0x2f4 }, _0x32a97c = {
|
|
352
|
-
_0x21e22e: 0x1f3,
|
|
353
|
-
_0x4740ea: 0x2f4,
|
|
354
|
-
_0x59b01a: 0x2b3,
|
|
355
|
-
_0x310374: 0x219
|
|
356
|
-
}, _0x468cc2 = {
|
|
357
|
-
_0x2e5b38: 0x2f4,
|
|
358
|
-
_0x1a4c73: 0x231,
|
|
359
|
-
_0x51600a: 0x318
|
|
360
|
-
}, _0x3cc742 = {
|
|
361
|
-
_0x23c770: 0x214,
|
|
362
|
-
_0x124874: 0x1f3,
|
|
363
|
-
_0x590fa1: 0x2a0,
|
|
364
|
-
_0x2009a2: 0x201
|
|
365
|
-
}, _0x48b275 = {
|
|
366
|
-
_0x3166a5: 0x220,
|
|
367
|
-
_0x2fc685: 0x297,
|
|
368
|
-
_0x83b0d4: 0x29d,
|
|
369
|
-
_0x29245f: 0x330
|
|
370
|
-
}, _0x455ed7 = {
|
|
371
|
-
_0x498704: 0x219,
|
|
372
|
-
_0x1dc4ea: 0x220,
|
|
373
|
-
_0x5e81e0: 0x283
|
|
374
|
-
}, _0x251dbd = {
|
|
375
|
-
_0x108db0: 0x293,
|
|
376
|
-
_0x451738: 0x219
|
|
377
|
-
}, _0x45b521 = {
|
|
378
|
-
_0x332b1f: 0x2f8,
|
|
379
|
-
_0x374e1e: 0x201
|
|
380
|
-
}, _0x37bb74 = {
|
|
381
|
-
_0x26d4e3: 0x1f7,
|
|
382
|
-
_0x3613ef: 0x2a4,
|
|
383
|
-
_0x36f3a7: 0x1f3,
|
|
384
|
-
_0x51eb37: 0x2f4,
|
|
385
|
-
_0x4cb68a: 0x290,
|
|
386
|
-
_0x4836b3: 0x219
|
|
387
|
-
}, _0x1787fb = {
|
|
388
|
-
_0x1547df: 0x315,
|
|
389
|
-
_0x2ef309: 0x214,
|
|
390
|
-
_0x453b31: 0x2e4,
|
|
391
|
-
_0x3127a3: 0x2bf,
|
|
392
|
-
_0x174920: 0x2bf,
|
|
393
|
-
_0x401759: 0x214,
|
|
394
|
-
_0x34d758: 0x2bf,
|
|
395
|
-
_0x266f36: 0x218,
|
|
396
|
-
_0x562334: 0x214,
|
|
397
|
-
_0x2b143b: 0x1f3,
|
|
398
|
-
_0x3b92da: 0x217,
|
|
399
|
-
_0x5d3a2c: 0x201,
|
|
400
|
-
_0xcee16c: 0x1e6,
|
|
401
|
-
_0x1a88a0: 0x279
|
|
402
|
-
}, _0xf58b12 = { _0x42f4d1: 0x1f2 }, _0x4d7666 = {
|
|
403
|
-
_0x2934d3: 0x305,
|
|
404
|
-
_0x283a06: 0x305,
|
|
405
|
-
_0x82354c: 0x2b6,
|
|
406
|
-
_0x2ad28b: 0x316,
|
|
407
|
-
_0x4ccdf3: 0x319,
|
|
408
|
-
_0x3ee7cc: 0x2e4,
|
|
409
|
-
_0x8c8f3: 0x316
|
|
410
|
-
}, _0x55bce8 = {
|
|
411
|
-
_0xca8e51: 0x2b6,
|
|
412
|
-
_0x1fe19e: 0x305,
|
|
413
|
-
_0xa43b7b: 0x319,
|
|
414
|
-
_0x40b988: 0x2e4,
|
|
415
|
-
_0x1cd943: 0x305
|
|
416
|
-
}, _0x574be5 = {
|
|
417
|
-
_0x266e9b: 0x1db,
|
|
418
|
-
_0x175d83: 0x2f0
|
|
419
|
-
}, _0x306060 = {
|
|
420
|
-
_0x3cd6e0: 0x1f3,
|
|
421
|
-
_0x5aa2e9: 0x2f4,
|
|
422
|
-
_0x4f5726: 0x275,
|
|
423
|
-
_0x4a8e94: 0x330,
|
|
424
|
-
_0x10032c: 0x328,
|
|
425
|
-
_0x134237: 0x2ea,
|
|
426
|
-
_0x4549a1: 0x341
|
|
427
|
-
}, _0x3e0e59 = {
|
|
428
|
-
_0x5ec89c: 0x1f3,
|
|
429
|
-
_0x3944e3: 0x2f4,
|
|
430
|
-
_0x2c55e5: 0x219,
|
|
431
|
-
_0x4e5fda: 0x221,
|
|
432
|
-
_0x4bb70c: 0x318,
|
|
433
|
-
_0x48a515: 0x28a,
|
|
434
|
-
_0x4cd29d: 0x330,
|
|
435
|
-
_0x504f92: 0x2e4
|
|
436
|
-
}, _0xbc79ee = {
|
|
437
|
-
_0x51acaf: 0x219,
|
|
438
|
-
_0x587db2: 0x2fc,
|
|
439
|
-
_0x147793: 0x318
|
|
440
|
-
}, _0x390be2 = {
|
|
441
|
-
_0x56fe3e: 0x219,
|
|
442
|
-
_0x20186c: 0x2d3
|
|
443
|
-
}, _0x3deac2 = { _0x1807a7: 0x29d }, _0x8830bc = { _0x2eabc6: 0x2ee }, _0x5e21b0 = {
|
|
444
|
-
_0x1fd844: 0x2db,
|
|
445
|
-
_0xbc4520: 0x325,
|
|
446
|
-
_0x557534: 0x214
|
|
447
|
-
}, _0x1c6b81 = {
|
|
448
|
-
_0x2b5ac3: 0x333,
|
|
449
|
-
_0x200671: 0x2b8,
|
|
450
|
-
_0x306873: 0x2cc
|
|
451
|
-
}, _0x16606d = {
|
|
452
|
-
_0x5c0384: 0x243,
|
|
453
|
-
_0x148dcc: 0x232,
|
|
454
|
-
_0x50dc36: 0x30d,
|
|
455
|
-
_0x517ff3: 0x29e,
|
|
456
|
-
_0x1c8453: 0x2ed,
|
|
457
|
-
_0x1b6af5: 0x336
|
|
458
|
-
}, _0x5ee3c8 = _0x855546, _0x2f5464 = _0x233de1[_0x5ee3c8(_0x4b02fa._0x3aa523)] ?? fetch, _0x3ed37d = _0x233de1[_0x5ee3c8(0x2a5)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x4ae180 = typeof _0x233de1[_0x5ee3c8(0x1cf)] === 'number' && _0x233de1[_0x5ee3c8(0x1cf)] > 0x0 ? _0x233de1[_0x5ee3c8(_0x4b02fa._0x4aa32b)] : 0x0, _0x52b57e = _0x233de1['daemonLocalUrl']?.[_0x5ee3c8(0x2db)]() || void 0x0, _0x11910a = _0x233de1['sessionId']?.[_0x5ee3c8(_0x4b02fa._0x129347)]() || void 0x0, _0x2ba051 = _0x233de1[_0x5ee3c8(0x205)] === !![], _0x1797c3 = _0x233de1[_0x5ee3c8(_0x4b02fa._0x40a9bb)]?.[_0x5ee3c8(_0x4b02fa._0x129347)]() || void 0x0, _0x5896bf = _0x233de1[_0x5ee3c8(_0x4b02fa._0x5b2b25)]?.[_0x5ee3c8(0x2db)]() || void 0x0, _0xd50ea8 = createHeaders(_0x233de1['daemonApiKey']), _0x22e36d = toHttpBaseUrl(_0x233de1[_0x5ee3c8(_0x4b02fa._0x55df80)]);
|
|
459
|
-
let _0x4b118d = null;
|
|
460
|
-
const _0x3c1766 = new Map();
|
|
461
|
-
let _0x3ce3dd = _0x4ae180, _0x5bc583 = _0x4ae180;
|
|
462
|
-
function _0x433d15(_0x53cbdd) {
|
|
463
|
-
const _0x166ba5 = _0x5ee3c8, _0x3ee9e1 = _0x53cbdd['response'][_0x166ba5(_0x16606d._0x5c0384)][_0x166ba5(0x2e7)]('content-type') ?? 'unknown', _0x500600 = _0x53cbdd[_0x166ba5(_0x16606d._0x148dcc)]['trim']()[_0x166ba5(0x32a)](/\s+/g, '\x20')['slice'](0x0, 0x78) || '<empty>';
|
|
464
|
-
return _0x166ba5(_0x16606d._0x50dc36) + _0x53cbdd[_0x166ba5(_0x16606d._0x517ff3)] + _0x166ba5(_0x16606d._0x1c8453) + _0x53cbdd['response'][_0x166ba5(0x2d9)] + _0x166ba5(_0x16606d._0x1b6af5) + _0x3ee9e1 + _0x166ba5(0x21a) + _0x500600 + ')。这通常表示\x20serverUrl\x20指向了\x20web\x20站点,或代理没有把\x20daemon/internal\x20API\x20转发到后端。';
|
|
465
|
-
}
|
|
466
|
-
async function _0x974768(_0x3493d4, _0x2ab2b0) {
|
|
467
|
-
const _0x4bf2cf = _0x5ee3c8, _0x36b189 = Buffer[_0x4bf2cf(_0x1c6b81._0x2b5ac3)](await _0x2ab2b0[_0x4bf2cf(0x301)]())[_0x4bf2cf(_0x1c6b81._0x200671)](_0x4bf2cf(_0x1c6b81._0x306873));
|
|
468
|
-
if (!_0x36b189['trim']())
|
|
469
|
-
return {};
|
|
470
|
-
try {
|
|
471
|
-
return JSON[_0x4bf2cf(0x22c)](_0x36b189);
|
|
472
|
-
} catch {
|
|
473
|
-
throw new Error(_0x433d15({
|
|
474
|
-
'bodyText': _0x36b189,
|
|
475
|
-
'requestUrl': _0x3493d4,
|
|
476
|
-
'response': _0x2ab2b0
|
|
477
|
-
}));
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
function _0x58cf97(_0x5c7145, _0x540b2f) {
|
|
481
|
-
const _0xf5702e = _0x5ee3c8, _0x5ce452 = typeof _0x540b2f[_0xf5702e(0x2c5)] === 'string' ? _0x540b2f['idempotency_key'][_0xf5702e(_0x5e21b0._0x1fd844)]() : '';
|
|
482
|
-
if (_0x5ce452)
|
|
483
|
-
return _0x5ce452;
|
|
484
|
-
const _0x43bc98 = Date[_0xf5702e(0x310)]();
|
|
485
|
-
for (const [_0x327407, _0x3f937e] of _0x3c1766) {
|
|
486
|
-
_0x3f937e[_0xf5702e(0x259)] <= _0x43bc98 && _0x3c1766[_0xf5702e(0x25c)](_0x327407);
|
|
487
|
-
}
|
|
488
|
-
const _0x44eb0c = {
|
|
489
|
-
..._0x540b2f,
|
|
490
|
-
'idempotency_key': void 0x0
|
|
491
|
-
}, _0x82c865 = createHash(_0xf5702e(0x23f))['update'](_0x5c7145 + ':' + stableStringify(_0x44eb0c))[_0xf5702e(_0x5e21b0._0xbc4520)](_0xf5702e(0x1e3)), _0x1d3769 = _0x5c7145 + ':' + _0x82c865, _0x24aa97 = _0x3c1766[_0xf5702e(0x2e7)](_0x1d3769);
|
|
492
|
-
if (_0x24aa97)
|
|
493
|
-
return _0x24aa97['value'];
|
|
494
|
-
const _0x2e6209 = _0xf5702e(0x304) + _0x5c7145 + ':' + randomUUID();
|
|
495
|
-
return _0x3c1766[_0xf5702e(_0x5e21b0._0x557534)](_0x1d3769, {
|
|
496
|
-
'expiresAt': _0x43bc98 + 0x5 * 0x3c * 0x3e8,
|
|
497
|
-
'value': _0x2e6209
|
|
498
|
-
}), _0x2e6209;
|
|
499
|
-
}
|
|
500
|
-
async function _0x3d3cd0(_0x143e5c, _0x27c10c) {
|
|
501
|
-
const _0x50190b = _0x5ee3c8, _0x2dd838 = new AbortController(), _0xdf1619 = setTimeout(() => _0x2dd838[_0x50190b(0x1ef)](), _0x3ed37d), _0x9ada35 = _0x27c10c?.[_0x50190b(_0x8830bc._0x2eabc6)] ? anySignal(_0x27c10c['signal'], _0x2dd838[_0x50190b(0x2ee)]) : _0x2dd838[_0x50190b(0x2ee)], _0x142333 = '' + _0x22e36d + _0x143e5c;
|
|
502
|
-
try {
|
|
503
|
-
const _0x470d51 = await _0x2f5464(_0x142333, {
|
|
504
|
-
..._0x27c10c,
|
|
505
|
-
'signal': _0x9ada35
|
|
506
|
-
}), _0x22ce92 = await _0x974768(_0x142333, _0x470d51);
|
|
507
|
-
if (!_0x470d51['ok'] || _0x22ce92[_0x50190b(0x345)] === ![])
|
|
508
|
-
throw new Error(asErrorMessage(_0x22ce92[_0x50190b(0x29d)], _0x50190b(0x300) + _0x470d51[_0x50190b(0x2d9)]));
|
|
509
|
-
return _0x22ce92;
|
|
510
|
-
} finally {
|
|
511
|
-
clearTimeout(_0xdf1619);
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
async function _0x23135e(_0x3299cc, _0x7ef335) {
|
|
515
|
-
const _0xc58291 = _0x5ee3c8, _0x1dbf7e = new AbortController(), _0x561a8f = setTimeout(() => _0x1dbf7e[_0xc58291(0x1ef)](), _0x3ed37d), _0x99c87 = _0x7ef335?.[_0xc58291(0x2ee)] ? anySignal(_0x7ef335[_0xc58291(0x2ee)], _0x1dbf7e['signal']) : _0x1dbf7e[_0xc58291(0x2ee)], _0x170035 = '' + _0x22e36d + _0x3299cc;
|
|
516
|
-
try {
|
|
517
|
-
const _0x2983cd = await _0x2f5464(_0x170035, {
|
|
518
|
-
..._0x7ef335,
|
|
519
|
-
'signal': _0x99c87
|
|
520
|
-
}), _0x411b0c = await _0x974768(_0x170035, _0x2983cd);
|
|
521
|
-
if (!_0x2983cd['ok'])
|
|
522
|
-
throw new Error(asErrorMessage(_0x411b0c[_0xc58291(_0x3deac2._0x1807a7)], _0xc58291(0x300) + _0x2983cd[_0xc58291(0x2d9)]));
|
|
523
|
-
return _0x411b0c;
|
|
524
|
-
} finally {
|
|
525
|
-
clearTimeout(_0x561a8f);
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
async function _0x372f93(_0x1026f4) {
|
|
529
|
-
const _0x2bcdf8 = _0x5ee3c8;
|
|
530
|
-
if (!_0x11910a || _0x1026f4 <= _0x5bc583)
|
|
531
|
-
return;
|
|
532
|
-
await _0x3d3cd0(_0x2bcdf8(0x2b9) + encodeURIComponent(_0x11910a) + '/context-metrics', {
|
|
533
|
-
'body': JSON[_0x2bcdf8(_0x390be2._0x56fe3e)]({ 'lastSeenSeq': _0x1026f4 }),
|
|
534
|
-
'headers': _0xd50ea8,
|
|
535
|
-
'method': _0x2bcdf8(_0x390be2._0x20186c)
|
|
536
|
-
}), _0x5bc583 = _0x1026f4;
|
|
537
|
-
}
|
|
538
|
-
async function _0x145239(_0x27d6e4) {
|
|
539
|
-
const _0x1c0c18 = _0x5ee3c8;
|
|
540
|
-
if (!_0x52b57e || !_0x1797c3 || _0x27d6e4 <= _0x5bc583)
|
|
541
|
-
return;
|
|
542
|
-
const _0x3534a6 = await _0x2f5464(_0x52b57e + _0x1c0c18(0x228), {
|
|
543
|
-
'body': JSON[_0x1c0c18(_0xbc79ee._0x51acaf)]({
|
|
544
|
-
'last_seen_seq': _0x27d6e4,
|
|
545
|
-
'worker_session_id': _0x1797c3
|
|
546
|
-
}),
|
|
547
|
-
'headers': { 'Content-Type': _0x1c0c18(_0xbc79ee._0x587db2) },
|
|
548
|
-
'method': _0x1c0c18(_0xbc79ee._0x147793)
|
|
549
|
-
});
|
|
550
|
-
if (!_0x3534a6['ok'])
|
|
551
|
-
throw new Error(_0x1c0c18(0x300) + _0x3534a6[_0x1c0c18(0x2d9)]);
|
|
552
|
-
_0x5bc583 = _0x27d6e4;
|
|
553
|
-
}
|
|
554
|
-
async function _0x6b68b7(_0x1f4a5f) {
|
|
555
|
-
const _0x46d01e = _0x5ee3c8, _0x23e485 = parseTarget(_0x1f4a5f), _0x1ab033 = await _0x3d3cd0(_0x46d01e(_0x3e0e59._0x5ec89c) + _0x233de1[_0x46d01e(_0x3e0e59._0x3944e3)] + _0x46d01e(0x23e), {
|
|
556
|
-
'body': JSON[_0x46d01e(_0x3e0e59._0x2c55e5)]({ 'target': _0x23e485[_0x46d01e(_0x3e0e59._0x4e5fda)] }),
|
|
557
|
-
'headers': _0xd50ea8,
|
|
558
|
-
'method': _0x46d01e(_0x3e0e59._0x4bb70c)
|
|
559
|
-
});
|
|
560
|
-
return {
|
|
561
|
-
'channelId': _0x1ab033[_0x46d01e(0x330)]?.['channelId'] ?? '',
|
|
562
|
-
'target': _0x23e485[_0x46d01e(0x305)],
|
|
563
|
-
'task': _0x1ab033['data']?.[_0x46d01e(_0x3e0e59._0x48a515)],
|
|
564
|
-
'threadId': _0x1ab033[_0x46d01e(_0x3e0e59._0x4cd29d)]?.[_0x46d01e(_0x3e0e59._0x504f92)],
|
|
565
|
-
'threadNumber': _0x1ab033[_0x46d01e(0x330)]?.['threadNumber']
|
|
566
|
-
};
|
|
567
|
-
}
|
|
568
|
-
async function _0x29453d(_0xebf18d = {}) {
|
|
569
|
-
const _0x5f6f72 = _0x5ee3c8;
|
|
570
|
-
if (!_0xebf18d[_0x5f6f72(_0x574be5._0x266e9b)] && _0x4b118d)
|
|
571
|
-
return _0x4b118d;
|
|
572
|
-
return _0x4b118d = (async () => {
|
|
573
|
-
const _0x427156 = _0x5f6f72, _0x1dd482 = await _0x3d3cd0(_0x427156(_0x306060._0x3cd6e0) + _0x233de1[_0x427156(_0x306060._0x5aa2e9)] + '/server', {
|
|
574
|
-
'headers': _0xd50ea8,
|
|
575
|
-
'method': _0x427156(0x201)
|
|
576
|
-
}), _0x2fc34b = _0x1dd482[_0x427156(0x330)]?.['members'] ?? [], _0x2135fb = _0x2fc34b['filter'](_0x47105e => _0x47105e[_0x427156(0x349)]?.[_0x427156(0x1ec)] === _0x427156(0x2ba))['map'](_0x80ab1e => ({
|
|
577
|
-
'id': _0xc2edbb(_0x80ab1e),
|
|
578
|
-
'name': _0x20f00d(_0x80ab1e)
|
|
579
|
-
}))[_0x427156(0x275)](_0x5dea35 => _0x5dea35['id']), _0x8517d5 = _0x2fc34b[_0x427156(_0x306060._0x4f5726)](_0x1a95cd => _0x1a95cd[_0x427156(0x349)]?.['type'] !== 'agent')['map'](_0x4313cb => ({
|
|
580
|
-
'id': _0xc2edbb(_0x4313cb),
|
|
581
|
-
'name': _0x20f00d(_0x4313cb)
|
|
582
|
-
}))[_0x427156(_0x306060._0x4f5726)](_0x480b40 => _0x480b40['id']), _0x398335 = _0x1dd482['data']?.[_0x427156(0x2ea)]['id'] ?? '';
|
|
583
|
-
return {
|
|
584
|
-
'agents': _0x2135fb,
|
|
585
|
-
'channels': _0x1dd482[_0x427156(_0x306060._0x4a8e94)]?.[_0x427156(_0x306060._0x10032c)] ?? [],
|
|
586
|
-
'humans': _0x8517d5,
|
|
587
|
-
'serverId': _0x398335,
|
|
588
|
-
'serverName': _0x1dd482['data']?.[_0x427156(_0x306060._0x134237)][_0x427156(_0x306060._0x4549a1)] ?? _0x398335
|
|
589
|
-
};
|
|
590
|
-
})()[_0x5f6f72(_0x574be5._0x175d83)](_0x29d524 => {
|
|
591
|
-
_0x4b118d = null;
|
|
592
|
-
throw _0x29d524;
|
|
593
|
-
}), _0x4b118d;
|
|
594
|
-
}
|
|
595
|
-
function _0x435787(_0x2ed2f3, _0x8cae7e) {
|
|
596
|
-
const _0x2ceebc = _0x5ee3c8;
|
|
597
|
-
return _0x8cae7e[_0x2ceebc(0x2c8)][_0x2ceebc(0x22e)](_0x399c74 => _0x399c74['id'] === _0x2ed2f3 || _0x399c74[_0x2ceebc(0x341)] === _0x2ed2f3) ? _0x2ceebc(0x2ba) : 'human';
|
|
598
|
-
}
|
|
599
|
-
function _0x40db51(_0x9bd774) {
|
|
600
|
-
const _0x4ccd92 = _0x5ee3c8;
|
|
601
|
-
if (_0x9bd774[_0x4ccd92(_0x55bce8._0xca8e51)] != null)
|
|
602
|
-
return _0x9bd774[_0x4ccd92(_0x55bce8._0x1fe19e)] + ':t' + _0x9bd774['threadNumber'];
|
|
603
|
-
if (_0x9bd774[_0x4ccd92(_0x55bce8._0xa43b7b)])
|
|
604
|
-
return _0x9bd774[_0x4ccd92(0x305)] + ':' + _0x9bd774['rootMessageId'];
|
|
605
|
-
if (_0x9bd774[_0x4ccd92(_0x55bce8._0x40b988)])
|
|
606
|
-
return _0x9bd774[_0x4ccd92(_0x55bce8._0x1cd943)] + ':' + _0x9bd774[_0x4ccd92(0x2e4)][_0x4ccd92(0x286)](0x0, 0x8);
|
|
607
|
-
return _0x9bd774[_0x4ccd92(0x305)];
|
|
608
|
-
}
|
|
609
|
-
function _0x211c09(_0x38e27d, _0x1bb08f) {
|
|
610
|
-
const _0x378879 = _0x5ee3c8;
|
|
611
|
-
try {
|
|
612
|
-
const _0xba7cf0 = parseTarget(_0x38e27d);
|
|
613
|
-
if (_0xba7cf0['kind'] !== 'thread' || _0xba7cf0[_0x378879(_0x4d7666._0x2934d3)] !== _0x1bb08f[_0x378879(_0x4d7666._0x283a06)])
|
|
614
|
-
return ![];
|
|
615
|
-
if (_0x1bb08f[_0x378879(_0x4d7666._0x82354c)] != null && _0xba7cf0[_0x378879(_0x4d7666._0x2ad28b)] === 't' + _0x1bb08f['threadNumber'])
|
|
616
|
-
return !![];
|
|
617
|
-
if (_0x1bb08f[_0x378879(0x319)])
|
|
618
|
-
return _0xba7cf0[_0x378879(_0x4d7666._0x2ad28b)] === _0x1bb08f[_0x378879(_0x4d7666._0x4ccdf3)] || _0x1bb08f['rootMessageId'][_0x378879(0x24f)](_0xba7cf0[_0x378879(0x316)]);
|
|
619
|
-
if (_0x1bb08f[_0x378879(_0x4d7666._0x3ee7cc)])
|
|
620
|
-
return _0xba7cf0[_0x378879(_0x4d7666._0x8c8f3)] === _0x1bb08f['threadId'] || _0x1bb08f['threadId'][_0x378879(0x24f)](_0xba7cf0[_0x378879(_0x4d7666._0x8c8f3)]);
|
|
621
|
-
return ![];
|
|
622
|
-
} catch {
|
|
623
|
-
return ![];
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
function _0xc2edbb(_0x35bfb0) {
|
|
627
|
-
const _0x57ced5 = _0x5ee3c8;
|
|
628
|
-
return _0x35bfb0[_0x57ced5(_0xf58b12._0x42f4d1)]?.[_0x57ced5(0x295)] ?? _0x35bfb0['participant']?.['id'] ?? _0x35bfb0[_0x57ced5(0x295)] ?? '';
|
|
629
|
-
}
|
|
630
|
-
function _0x20f00d(_0x1808d1) {
|
|
631
|
-
const _0x2eb988 = _0x5ee3c8;
|
|
632
|
-
return _0x1808d1[_0x2eb988(0x349)]?.[_0x2eb988(0x341)] ?? _0xc2edbb(_0x1808d1);
|
|
633
|
-
}
|
|
634
|
-
async function _0x371b6c(_0x45736e) {
|
|
635
|
-
const _0x2d16dd = _0x5ee3c8, _0x4cca0c = Math[_0x2d16dd(0x2c1)](_0x45736e[_0x2d16dd(_0x1787fb._0x1547df)] ?? 0x32, 0x64), _0x3c5fef = await _0x29453d(), _0x421684 = new URLSearchParams();
|
|
636
|
-
_0x421684['set']('limit', String(_0x4cca0c));
|
|
637
|
-
_0x45736e[_0x2d16dd(0x2e4)] ? (_0x421684[_0x2d16dd(_0x1787fb._0x2ef309)](_0x2d16dd(_0x1787fb._0x453b31), _0x45736e[_0x2d16dd(0x2e4)]), _0x421684['set'](_0x2d16dd(_0x1787fb._0x3127a3), _0x45736e[_0x2d16dd(_0x1787fb._0x174920)])) : _0x421684[_0x2d16dd(_0x1787fb._0x401759)](_0x2d16dd(_0x1787fb._0x34d758), _0x45736e[_0x2d16dd(_0x1787fb._0x174920)]);
|
|
638
|
-
_0x45736e[_0x2d16dd(0x282)] && _0x421684[_0x2d16dd(_0x1787fb._0x401759)](_0x2d16dd(_0x1787fb._0x266f36), String(_0x45736e[_0x2d16dd(0x282)]));
|
|
639
|
-
_0x45736e[_0x2d16dd(0x1e9)] !== void 0x0 && _0x421684[_0x2d16dd(_0x1787fb._0x562334)]('after', String(_0x45736e[_0x2d16dd(0x1e9)]));
|
|
640
|
-
const _0x251a3f = await _0x3d3cd0(_0x2d16dd(_0x1787fb._0x2b143b) + _0x233de1[_0x2d16dd(0x2f4)] + _0x2d16dd(_0x1787fb._0x3b92da) + _0x421684[_0x2d16dd(0x2b8)](), {
|
|
641
|
-
'headers': _0xd50ea8,
|
|
642
|
-
'method': _0x2d16dd(_0x1787fb._0x5d3a2c)
|
|
643
|
-
}), _0x4a7510 = (_0x251a3f['data'] ?? [])[_0x2d16dd(0x34b)](_0x45fe8f => ({
|
|
644
|
-
'attachments': (_0x45fe8f[_0x2d16dd(0x334)] ?? [])[_0x2d16dd(0x34b)](_0x4e54cb => ({
|
|
645
|
-
'filename': _0x4e54cb[_0x2d16dd(0x2be)] ?? _0x4e54cb['id'],
|
|
646
|
-
'id': _0x4e54cb['id']
|
|
647
|
-
})),
|
|
648
|
-
'content': _0x45fe8f[_0x2d16dd(0x294)] ?? '',
|
|
649
|
-
'createdAt': _0x45fe8f['createdAt'],
|
|
650
|
-
..._0x45fe8f[_0x2d16dd(0x25a)] && _0x45fe8f[_0x2d16dd(0x25a)] !== _0x2d16dd(0x27b) ? { 'kind': _0x45fe8f[_0x2d16dd(0x25a)] } : {},
|
|
651
|
-
'messageId': _0x45fe8f['id'],
|
|
652
|
-
'senderName': _0x45fe8f['senderParticipantId'],
|
|
653
|
-
'senderType': _0x435787(_0x45fe8f[_0x2d16dd(0x2d7)], _0x3c5fef),
|
|
654
|
-
'seq': _0x45fe8f[_0x2d16dd(0x2ce)] ?? 0x0
|
|
655
|
-
}));
|
|
656
|
-
return {
|
|
657
|
-
'channel': _0x45736e[_0x2d16dd(0x305)],
|
|
658
|
-
'hasMore': _0x251a3f[_0x2d16dd(0x279)]?.[_0x2d16dd(_0x1787fb._0xcee16c)] ?? ![],
|
|
659
|
-
'messages': _0x4a7510,
|
|
660
|
-
'nextCursor': _0x251a3f[_0x2d16dd(_0x1787fb._0x1a88a0)]?.[_0x2d16dd(0x218)]
|
|
661
|
-
};
|
|
662
|
-
}
|
|
663
|
-
return {
|
|
664
|
-
async 'sendMessage'(_0x158690) {
|
|
665
|
-
const _0x142a0a = _0x5ee3c8, _0x19825e = await _0x6b68b7(_0x158690['target']), _0x2b5702 = _0x158690[_0x142a0a(_0x37bb74._0x26d4e3)][_0x142a0a(_0x37bb74._0x3613ef)]('@') ? extractMentionedParticipantIds(_0x158690[_0x142a0a(_0x37bb74._0x26d4e3)], await _0x29453d()) : [], _0xead6c4 = await _0x3d3cd0(_0x142a0a(_0x37bb74._0x36f3a7) + _0x233de1[_0x142a0a(_0x37bb74._0x51eb37)] + _0x142a0a(_0x37bb74._0x4cb68a), {
|
|
666
|
-
'body': JSON[_0x142a0a(_0x37bb74._0x4836b3)]({
|
|
667
|
-
'attachment_ids': _0x158690['attachmentIds'],
|
|
668
|
-
'bodyMarkdown': _0x158690[_0x142a0a(_0x37bb74._0x26d4e3)],
|
|
669
|
-
'channelId': _0x19825e['channelId'],
|
|
670
|
-
..._0x2b5702[_0x142a0a(0x26d)] > 0x0 ? { 'mentionedParticipantIds': _0x2b5702 } : {},
|
|
671
|
-
'threadId': _0x19825e[_0x142a0a(0x2e4)],
|
|
672
|
-
..._0x158690['visibility'] ? { 'visibility': _0x158690[_0x142a0a(0x274)] } : {}
|
|
673
|
-
}),
|
|
674
|
-
'headers': _0xd50ea8,
|
|
675
|
-
'method': 'POST'
|
|
676
|
-
});
|
|
677
|
-
return { 'messageId': _0xead6c4[_0x142a0a(0x330)]?.['id'] ?? '' };
|
|
678
|
-
},
|
|
679
|
-
async 'listSchedules'() {
|
|
680
|
-
const _0x1e3382 = _0x5ee3c8, _0x3ecade = await _0x3d3cd0(_0x1e3382(_0x45b521._0x332b1f), {
|
|
681
|
-
'headers': _0xd50ea8,
|
|
682
|
-
'method': _0x1e3382(_0x45b521._0x374e1e)
|
|
683
|
-
});
|
|
684
|
-
return _0x3ecade['data'] ?? [];
|
|
685
|
-
},
|
|
686
|
-
async 'claimScheduleRun'(_0x12051c) {
|
|
687
|
-
const _0x3733f4 = _0x5ee3c8, _0x1458d6 = await _0x3d3cd0(_0x3733f4(_0x251dbd._0x108db0), {
|
|
688
|
-
'body': JSON[_0x3733f4(_0x251dbd._0x451738)](_0x12051c),
|
|
689
|
-
'headers': _0xd50ea8,
|
|
690
|
-
'method': _0x3733f4(0x318)
|
|
691
|
-
});
|
|
692
|
-
return _0x1458d6[_0x3733f4(0x330)] ?? {
|
|
693
|
-
'granted': ![],
|
|
694
|
-
'runId': null,
|
|
695
|
-
'schedule': null,
|
|
696
|
-
'scheduledFor': _0x12051c[_0x3733f4(0x213)]
|
|
697
|
-
};
|
|
698
|
-
},
|
|
699
|
-
async 'startScheduleRun'(_0x5aba69) {
|
|
700
|
-
const _0x4bf871 = _0x5ee3c8, _0x4d1f77 = await _0x3d3cd0(_0x4bf871(0x253) + encodeURIComponent(_0x5aba69[_0x4bf871(0x220)]) + _0x4bf871(0x2a9), {
|
|
701
|
-
'body': JSON[_0x4bf871(_0x455ed7._0x498704)]({}),
|
|
702
|
-
'headers': _0xd50ea8,
|
|
703
|
-
'method': _0x4bf871(0x318)
|
|
704
|
-
});
|
|
705
|
-
return _0x4d1f77['data'] ?? {
|
|
706
|
-
'claimedByDaemonId': '',
|
|
707
|
-
'id': _0x5aba69[_0x4bf871(_0x455ed7._0x1dc4ea)],
|
|
708
|
-
'scheduleId': '',
|
|
709
|
-
'status': _0x4bf871(_0x455ed7._0x5e81e0)
|
|
710
|
-
};
|
|
711
|
-
},
|
|
712
|
-
async 'finishScheduleRun'(_0x3354f2) {
|
|
713
|
-
const _0x5ff093 = _0x5ee3c8, _0x4d5df0 = await _0x3d3cd0(_0x5ff093(0x253) + encodeURIComponent(_0x3354f2[_0x5ff093(_0x48b275._0x3166a5)]) + _0x5ff093(_0x48b275._0x2fc685), {
|
|
714
|
-
'body': JSON['stringify']({
|
|
715
|
-
'error': _0x3354f2[_0x5ff093(_0x48b275._0x83b0d4)],
|
|
716
|
-
'resultJson': _0x3354f2[_0x5ff093(0x224)],
|
|
717
|
-
'status': _0x3354f2[_0x5ff093(0x2d9)]
|
|
718
|
-
}),
|
|
719
|
-
'headers': _0xd50ea8,
|
|
720
|
-
'method': _0x5ff093(0x318)
|
|
721
|
-
});
|
|
722
|
-
return _0x4d5df0[_0x5ff093(_0x48b275._0x29245f)] ?? {
|
|
723
|
-
'nextRunAt': null,
|
|
724
|
-
'run': {
|
|
725
|
-
'claimedByDaemonId': '',
|
|
726
|
-
'id': _0x3354f2[_0x5ff093(_0x48b275._0x3166a5)],
|
|
727
|
-
'scheduleId': '',
|
|
728
|
-
'status': _0x3354f2[_0x5ff093(0x2d9)]
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
},
|
|
732
|
-
async 'listTasks'(_0x19c688) {
|
|
733
|
-
const _0x465ecd = _0x5ee3c8, _0x472f60 = new URLSearchParams();
|
|
734
|
-
return _0x472f60[_0x465ecd(_0x3cc742._0x23c770)]('channel', _0x19c688['channel']), _0x19c688[_0x465ecd(0x2d9)] && _0x472f60['set']('status', _0x19c688['status']), _0x23135e(_0x465ecd(_0x3cc742._0x124874) + _0x233de1[_0x465ecd(0x2f4)] + _0x465ecd(_0x3cc742._0x590fa1) + _0x472f60[_0x465ecd(0x2b8)](), {
|
|
735
|
-
'headers': _0xd50ea8,
|
|
736
|
-
'method': _0x465ecd(_0x3cc742._0x2009a2)
|
|
737
|
-
});
|
|
738
|
-
},
|
|
739
|
-
async 'createTasks'(_0x4e342b) {
|
|
740
|
-
const _0x489391 = _0x5ee3c8;
|
|
741
|
-
return _0x23135e(_0x489391(0x1f3) + _0x233de1[_0x489391(_0x468cc2._0x2e5b38)] + '/tasks', {
|
|
742
|
-
'body': JSON['stringify']({
|
|
743
|
-
..._0x4e342b,
|
|
744
|
-
'idempotency_key': _0x58cf97(_0x489391(_0x468cc2._0x1a4c73), _0x4e342b)
|
|
745
|
-
}),
|
|
746
|
-
'headers': _0xd50ea8,
|
|
747
|
-
'method': _0x489391(_0x468cc2._0x51600a)
|
|
748
|
-
});
|
|
749
|
-
},
|
|
750
|
-
async 'claimTasks'(_0x407e64) {
|
|
751
|
-
const _0x101929 = _0x5ee3c8;
|
|
752
|
-
return _0x23135e(_0x101929(_0x32a97c._0x21e22e) + _0x233de1[_0x101929(_0x32a97c._0x4740ea)] + _0x101929(_0x32a97c._0x59b01a), {
|
|
753
|
-
'body': JSON[_0x101929(_0x32a97c._0x310374)]({
|
|
754
|
-
..._0x407e64,
|
|
755
|
-
'idempotency_key': _0x58cf97(_0x101929(0x307), _0x407e64)
|
|
756
|
-
}),
|
|
757
|
-
'headers': _0xd50ea8,
|
|
758
|
-
'method': _0x101929(0x318)
|
|
759
|
-
});
|
|
760
|
-
},
|
|
761
|
-
async 'unclaimTask'(_0x341063) {
|
|
762
|
-
const _0x2ea29f = _0x5ee3c8;
|
|
763
|
-
return _0x23135e(_0x2ea29f(0x1f3) + _0x233de1[_0x2ea29f(_0x472810._0x361ae4)] + '/tasks/unclaim', {
|
|
764
|
-
'body': JSON['stringify']({
|
|
765
|
-
..._0x341063,
|
|
766
|
-
'idempotency_key': _0x58cf97(_0x2ea29f(0x20a), _0x341063)
|
|
767
|
-
}),
|
|
768
|
-
'headers': _0xd50ea8,
|
|
769
|
-
'method': _0x2ea29f(0x318)
|
|
770
|
-
});
|
|
771
|
-
},
|
|
772
|
-
async 'updateTaskStatus'(_0x48b396) {
|
|
773
|
-
const _0x442393 = _0x5ee3c8;
|
|
774
|
-
return _0x23135e(_0x442393(_0x372d68._0x11f041) + _0x233de1[_0x442393(0x2f4)] + '/tasks/update-status', {
|
|
775
|
-
'body': JSON[_0x442393(0x219)]({
|
|
776
|
-
..._0x48b396,
|
|
777
|
-
'idempotency_key': _0x58cf97('update_task_status', _0x48b396)
|
|
778
|
-
}),
|
|
779
|
-
'headers': _0xd50ea8,
|
|
780
|
-
'method': _0x442393(_0x372d68._0x5756ef)
|
|
781
|
-
});
|
|
782
|
-
},
|
|
783
|
-
async 'uploadFile'(_0x424ee0) {
|
|
784
|
-
const _0xdfdd9 = _0x5ee3c8, _0x932395 = await _0x6b68b7(_0x424ee0['channel']);
|
|
785
|
-
if (_0x932395[_0xdfdd9(0x2e4)])
|
|
786
|
-
throw new Error(_0xdfdd9(_0x260718._0x4f9c84));
|
|
787
|
-
const _0x5d24eb = await _0x3d3cd0(_0xdfdd9(0x1f3) + _0x233de1[_0xdfdd9(_0x260718._0x5b6f88)] + _0xdfdd9(0x2f3), {
|
|
788
|
-
'body': JSON[_0xdfdd9(_0x260718._0x35ae65)]({
|
|
789
|
-
'channel': _0x932395[_0xdfdd9(0x221)],
|
|
790
|
-
'contentBase64': _0x424ee0[_0xdfdd9(_0x260718._0x366190)],
|
|
791
|
-
'contentType': _0x424ee0['contentType'],
|
|
792
|
-
'originalFilename': _0x424ee0[_0xdfdd9(0x2be)]
|
|
793
|
-
}),
|
|
794
|
-
'headers': _0xd50ea8,
|
|
795
|
-
'method': 'POST'
|
|
796
|
-
});
|
|
797
|
-
return {
|
|
798
|
-
'attachmentId': _0x5d24eb['data']?.['id'] ?? '',
|
|
799
|
-
'filename': _0x5d24eb['data']?.[_0xdfdd9(0x30f)] ?? _0x424ee0[_0xdfdd9(0x2be)],
|
|
800
|
-
'sizeBytes': _0x5d24eb[_0xdfdd9(0x330)]?.[_0xdfdd9(0x20d)] ?? 0x0
|
|
801
|
-
};
|
|
802
|
-
},
|
|
803
|
-
async 'downloadAttachment'(_0x56d12b) {
|
|
804
|
-
const _0x2d8b40 = _0x5ee3c8, _0x3a7a81 = await _0x3d3cd0('/api/attachments/' + _0x56d12b, {
|
|
805
|
-
'headers': _0xd50ea8,
|
|
806
|
-
'method': _0x2d8b40(0x201)
|
|
807
|
-
}), _0x48ec57 = new AbortController(), _0x240a62 = setTimeout(() => _0x48ec57[_0x2d8b40(0x1ef)](), _0x3ed37d);
|
|
808
|
-
try {
|
|
809
|
-
const _0x471962 = await _0x2f5464(_0x22e36d + _0x2d8b40(0x1d3) + _0x56d12b + _0x2d8b40(_0x4d6eca._0x30b4a5), {
|
|
810
|
-
'headers': _0xd50ea8,
|
|
811
|
-
'method': _0x2d8b40(_0x4d6eca._0x856600),
|
|
812
|
-
'signal': _0x48ec57[_0x2d8b40(_0x4d6eca._0x100e6a)]
|
|
813
|
-
});
|
|
814
|
-
if (!_0x471962['ok'])
|
|
815
|
-
throw new Error(_0x2d8b40(0x300) + _0x471962[_0x2d8b40(0x2d9)]);
|
|
816
|
-
return {
|
|
817
|
-
'contentType': _0x3a7a81[_0x2d8b40(0x330)]?.[_0x2d8b40(0x33e)] ?? _0x471962[_0x2d8b40(_0x4d6eca._0x3aa6fb)]['get'](_0x2d8b40(0x210)) ?? _0x2d8b40(0x25d),
|
|
818
|
-
'data': Buffer[_0x2d8b40(0x333)](await _0x471962[_0x2d8b40(0x301)]()),
|
|
819
|
-
'originalFilename': _0x3a7a81[_0x2d8b40(0x330)]?.[_0x2d8b40(_0x4d6eca._0x4ff6be)]
|
|
820
|
-
};
|
|
821
|
-
} finally {
|
|
822
|
-
clearTimeout(_0x240a62);
|
|
823
|
-
}
|
|
824
|
-
},
|
|
825
|
-
async 'listServer'() {
|
|
826
|
-
return _0x29453d({ 'forceRefresh': !![] });
|
|
827
|
-
},
|
|
828
|
-
async 'readHistory'(_0x3a83c0) {
|
|
829
|
-
const _0x366145 = _0x5ee3c8, _0x5ef094 = await _0x6b68b7(_0x3a83c0[_0x366145(0x280)]);
|
|
830
|
-
return _0x371b6c({
|
|
831
|
-
'after': _0x3a83c0[_0x366145(_0x111287._0x2df2eb)],
|
|
832
|
-
'before': _0x3a83c0[_0x366145(0x282)],
|
|
833
|
-
'channelId': _0x5ef094[_0x366145(_0x111287._0xfec1f)],
|
|
834
|
-
'channelTarget': _0x5ef094[_0x366145(0x221)],
|
|
835
|
-
'limit': _0x3a83c0[_0x366145(0x315)],
|
|
836
|
-
'threadId': _0x5ef094[_0x366145(_0x111287._0x54d632)]
|
|
837
|
-
});
|
|
838
|
-
},
|
|
839
|
-
'resolveTarget': _0x6b68b7,
|
|
840
|
-
async 'checkMessages'() {
|
|
841
|
-
const _0xad5fda = {
|
|
842
|
-
_0x59267e: 0x2bf,
|
|
843
|
-
_0x5a1e16: 0x2e8
|
|
844
|
-
}, _0x5e8374 = _0x5ee3c8, _0x5bb533 = new URLSearchParams();
|
|
845
|
-
_0x5bb533[_0x5e8374(0x214)]('afterSeq', String(_0x3ce3dd));
|
|
846
|
-
const _0x1edcd1 = _0x5bb533[_0x5e8374(0x2b8)](), _0x47826f = await _0x3d3cd0(_0x5e8374(_0x30db93._0x1ac232) + _0x233de1[_0x5e8374(0x2f4)] + _0x5e8374(_0x30db93._0x19a1b5) + (_0x1edcd1 ? '?' + _0x1edcd1 : ''), {
|
|
847
|
-
'headers': _0xd50ea8,
|
|
848
|
-
'method': _0x5e8374(0x201)
|
|
849
|
-
}), _0x3c9b51 = _0x47826f[_0x5e8374(_0x30db93._0x41a40c)] ?? [], _0x1e83f7 = _0x47826f['meta']?.['cursor'], _0x5582c0 = _0x1e83f7 !== void 0x0 ? Math['max'](_0x3ce3dd, _0x1e83f7) : _0x3c9b51[_0x5e8374(_0x30db93._0x9d4bc6)] > 0x0 ? Math[_0x5e8374(_0x30db93._0x5e3e41)](_0x3ce3dd, _0x3c9b51[_0x3c9b51[_0x5e8374(0x26d)] - 0x1][_0x5e8374(0x1de)]) : _0x3ce3dd, _0x4b2b55 = _0x3c9b51[_0x5e8374(0x275)](_0x48d6f6 => _0x48d6f6[_0x5e8374(0x29f)] === _0x5e8374(0x31e)), _0x3f1d62 = _0x5896bf === void 0x0 && _0x2ba051;
|
|
850
|
-
let _0x2fc012 = await _0x29453d(), _0x4d92a1 = new Map(_0x2fc012[_0x5e8374(_0x30db93._0x884952)][_0x5e8374(_0x30db93._0x17c21b)](_0x452cb9 => [
|
|
851
|
-
_0x452cb9['id'],
|
|
852
|
-
_0x452cb9
|
|
853
|
-
]));
|
|
854
|
-
const _0x4960f9 = _0x4b2b55['some'](_0x87a60c => {
|
|
855
|
-
const _0x3c723c = _0x5e8374, _0x544d7e = asRecord(_0x87a60c[_0x3c723c(0x299)]), _0x521d83 = typeof _0x544d7e?.[_0x3c723c(_0xad5fda._0x59267e)] === _0x3c723c(_0xad5fda._0x5a1e16) ? _0x544d7e[_0x3c723c(0x2bf)] : '';
|
|
856
|
-
return Boolean(_0x521d83) && !_0x4d92a1['has'](_0x521d83);
|
|
857
|
-
});
|
|
858
|
-
_0x4960f9 && (_0x2fc012 = await _0x29453d({ 'forceRefresh': !![] }), _0x4d92a1 = new Map(_0x2fc012[_0x5e8374(0x328)][_0x5e8374(_0x30db93._0x3e3e96)](_0x4a2e85 => [
|
|
859
|
-
_0x4a2e85['id'],
|
|
860
|
-
_0x4a2e85
|
|
861
|
-
])));
|
|
862
|
-
const _0x290990 = new Map();
|
|
863
|
-
for (const _0xee4050 of _0x4b2b55) {
|
|
864
|
-
const _0x358139 = asRecord(_0xee4050['payloadJson']), _0x2646a8 = typeof _0x358139[_0x5e8374(0x2bf)] === 'string' ? _0x358139[_0x5e8374(0x2bf)] : '';
|
|
865
|
-
if (!_0x2646a8)
|
|
866
|
-
continue;
|
|
867
|
-
const _0x8998cf = typeof _0x358139[_0x5e8374(_0x30db93._0xab92f7)] === 'string' ? _0x358139[_0x5e8374(0x2e4)] : void 0x0, _0x3a28b6 = typeof _0x358139[_0x5e8374(0x319)] === _0x5e8374(_0x30db93._0x3b5101) ? _0x358139[_0x5e8374(0x319)] : void 0x0, _0x34356d = typeof _0x358139[_0x5e8374(_0x30db93._0x5a5e38)] === _0x5e8374(0x267) && Number['isInteger'](_0x358139[_0x5e8374(_0x30db93._0x53f51b)]) ? _0x358139[_0x5e8374(_0x30db93._0x4e827c)] : void 0x0, _0x9e629a = Boolean(_0x8998cf && (!_0x3a28b6 || _0xee4050[_0x5e8374(_0x30db93._0x4bed12)] !== _0x3a28b6)), _0x6563cc = _0x9e629a ? _0x2646a8 + ':' + _0x8998cf : _0x2646a8, _0x2a8469 = _0x290990[_0x5e8374(0x2e7)](_0x6563cc) ?? {
|
|
868
|
-
'aggregateIds': [],
|
|
869
|
-
'channelId': _0x2646a8,
|
|
870
|
-
'entries': new Map(),
|
|
871
|
-
'isThreadReply': _0x9e629a,
|
|
872
|
-
'rootMessageId': _0x3a28b6,
|
|
873
|
-
'threadNumber': _0x34356d,
|
|
874
|
-
'threadId': _0x9e629a ? _0x8998cf : void 0x0
|
|
875
|
-
};
|
|
876
|
-
_0x2a8469[_0x5e8374(0x2b6)] == null && _0x34356d != null && (_0x2a8469[_0x5e8374(_0x30db93._0x4e827c)] = _0x34356d), !_0x2a8469[_0x5e8374(_0x30db93._0x4c10de)] && _0x3a28b6 && (_0x2a8469[_0x5e8374(0x319)] = _0x3a28b6), _0x2a8469['aggregateIds'][_0x5e8374(_0x30db93._0x3cdf48)](_0xee4050[_0x5e8374(_0x30db93._0x4bed12)]), _0x2a8469[_0x5e8374(_0x30db93._0x586bbe)][_0x5e8374(0x214)](_0xee4050[_0x5e8374(0x2f9)], {
|
|
877
|
-
'payloadJson': _0xee4050[_0x5e8374(_0x30db93._0xcd4d93)],
|
|
878
|
-
'seq': _0xee4050[_0x5e8374(0x1de)]
|
|
879
|
-
}), _0x290990[_0x5e8374(0x214)](_0x6563cc, _0x2a8469);
|
|
880
|
-
}
|
|
881
|
-
const _0x575a40 = [];
|
|
882
|
-
for (const _0x2d7f60 of _0x290990[_0x5e8374(0x30b)]()) {
|
|
883
|
-
const {
|
|
884
|
-
channelId: _0x4bdccd,
|
|
885
|
-
threadId: _0x3c7c6c,
|
|
886
|
-
rootMessageId: _0x1018c6,
|
|
887
|
-
threadNumber: _0x1348f9,
|
|
888
|
-
aggregateIds: _0x3008f0,
|
|
889
|
-
isThreadReply: _0x546ece,
|
|
890
|
-
entries: _0xd72c2b
|
|
891
|
-
} = _0x2d7f60, _0x4799ff = _0x4d92a1['get'](_0x4bdccd), _0x5cf496 = _0x4799ff?.[_0x5e8374(0x341)] ?? _0x4bdccd, _0x5290a5 = _0x4799ff?.[_0x5e8374(0x25a)] === 'dm' ? _0x5e8374(_0x30db93._0x1df182) + _0x5cf496 : '#' + _0x5cf496, _0x559e2e = {
|
|
892
|
-
'channelTarget': _0x5290a5,
|
|
893
|
-
'rootMessageId': _0x1018c6,
|
|
894
|
-
'threadId': _0x3c7c6c,
|
|
895
|
-
'threadNumber': _0x1348f9
|
|
896
|
-
}, _0x59ad56 = await _0x371b6c({
|
|
897
|
-
'channelId': _0x4bdccd,
|
|
898
|
-
'channelTarget': _0x5290a5,
|
|
899
|
-
'limit': Math['max'](_0x3008f0[_0x5e8374(0x26d)], 0x32),
|
|
900
|
-
'threadId': _0x3c7c6c
|
|
901
|
-
}), _0x5d9e6d = new Map(_0x59ad56['messages'][_0x5e8374(0x34b)](_0xba37fc => [
|
|
902
|
-
_0xba37fc[_0x5e8374(0x26b)],
|
|
903
|
-
_0xba37fc
|
|
904
|
-
])), _0x19ee2a = _0x3c7c6c ? _0x40db51(_0x559e2e) : _0x5290a5, _0x30b60a = _0x5896bf ? _0x546ece && _0x211c09(_0x5896bf, _0x559e2e) : !![], _0x557f18 = _0x546ece ? _0x30b60a && _0x5896bf ? _0x5896bf : _0x19ee2a : _0x5290a5;
|
|
905
|
-
for (const _0x5ddf7a of _0x3008f0) {
|
|
906
|
-
if (!_0x30b60a)
|
|
907
|
-
continue;
|
|
908
|
-
const _0x9cb9f4 = _0xd72c2b[_0x5e8374(_0x30db93._0x4d9f6a)](_0x5ddf7a), _0x141280 = _0x9cb9f4 ? asRecord(_0x9cb9f4[_0x5e8374(_0x30db93._0xcd4d93)]) : void 0x0, _0x4f43cc = _0x141280?.[_0x5e8374(0x2c0)] === _0x5e8374(_0x30db93._0x327545);
|
|
909
|
-
if (_0x3f1d62 && _0x4f43cc)
|
|
910
|
-
continue;
|
|
911
|
-
const _0xbe6c2a = _0x5d9e6d[_0x5e8374(_0x30db93._0x5cae3d)](_0x5ddf7a);
|
|
912
|
-
if (_0xbe6c2a) {
|
|
913
|
-
_0x575a40[_0x5e8374(0x2eb)]({
|
|
914
|
-
'attachments': _0xbe6c2a[_0x5e8374(0x334)],
|
|
915
|
-
'content': _0xbe6c2a[_0x5e8374(_0x30db93._0x536634)],
|
|
916
|
-
'createdAt': _0xbe6c2a[_0x5e8374(_0x30db93._0x3c1dd3)],
|
|
917
|
-
..._0xbe6c2a[_0x5e8374(0x25a)] ? { 'kind': _0xbe6c2a[_0x5e8374(_0x30db93._0x5d3b52)] } : {},
|
|
918
|
-
'messageId': _0xbe6c2a[_0x5e8374(0x26b)],
|
|
919
|
-
'senderName': _0xbe6c2a['senderName'],
|
|
920
|
-
'senderType': _0xbe6c2a[_0x5e8374(_0x30db93._0x25ba8c)],
|
|
921
|
-
'target': _0x557f18,
|
|
922
|
-
..._0x4f43cc ? { 'targetedTask': !![] } : {}
|
|
923
|
-
});
|
|
924
|
-
continue;
|
|
925
|
-
}
|
|
926
|
-
if (_0x9cb9f4) {
|
|
927
|
-
const _0x386830 = typeof _0x141280?.[_0x5e8374(0x2d7)] === _0x5e8374(0x2e8) ? _0x141280[_0x5e8374(0x2d7)] : '', _0x577cf8 = typeof _0x141280?.['bodyMarkdown'] === _0x5e8374(0x2e8) ? _0x141280[_0x5e8374(_0x30db93._0x54eec3)] : '', _0x490014 = typeof _0x141280?.[_0x5e8374(_0x30db93._0x5d3b52)] === 'string' && _0x141280['kind'] !== _0x5e8374(_0x30db93._0x3a7a61) ? _0x141280[_0x5e8374(_0x30db93._0x2cafed)] : void 0x0;
|
|
928
|
-
_0x386830 && _0x577cf8 && _0x575a40['push']({
|
|
929
|
-
'attachments': [],
|
|
930
|
-
'content': _0x577cf8,
|
|
931
|
-
'createdAt': new Date()[_0x5e8374(_0x30db93._0x2b212d)](),
|
|
932
|
-
..._0x490014 ? { 'kind': _0x490014 } : {},
|
|
933
|
-
'messageId': _0x5ddf7a,
|
|
934
|
-
'senderName': _0x386830,
|
|
935
|
-
'senderType': _0x435787(_0x386830, _0x2fc012),
|
|
936
|
-
'target': _0x557f18,
|
|
937
|
-
..._0x4f43cc ? { 'targetedTask': !![] } : {}
|
|
938
|
-
});
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
if (_0x5582c0 > 0x0) {
|
|
943
|
-
if (_0x11910a)
|
|
944
|
-
await _0x372f93(_0x5582c0);
|
|
945
|
-
else
|
|
946
|
-
_0x1797c3 && await _0x145239(_0x5582c0);
|
|
947
|
-
}
|
|
948
|
-
return _0x5582c0 > _0x3ce3dd && (_0x3ce3dd = _0x5582c0), { 'messages': _0x5896bf ? _0x575a40 : _0x3f1d62 ? _0x575a40['filter'](_0x18aefd => _0x18aefd[_0x5e8374(0x2d6)] !== !![]) : _0x575a40 };
|
|
949
|
-
}
|
|
950
|
-
};
|
|
951
|
-
}
|
|
952
|
-
function toLocalTime(_0xebeb41) {
|
|
953
|
-
const _0x5b7fc6 = {
|
|
954
|
-
_0xc986c0: 0x238,
|
|
955
|
-
_0x2ac8df: 0x2d8
|
|
956
|
-
}, _0x2b920b = _0x855546, _0x574715 = new Date(_0xebeb41);
|
|
957
|
-
if (Number[_0x2b920b(_0x5b7fc6._0xc986c0)](_0x574715['getTime']()))
|
|
958
|
-
return _0xebeb41;
|
|
959
|
-
const _0xe352d5 = _0x141657 => String(_0x141657)[_0x2b920b(0x203)](0x2, '0');
|
|
960
|
-
return _0x574715['getFullYear']() + '-' + _0xe352d5(_0x574715[_0x2b920b(0x2af)]() + 0x1) + '-' + _0xe352d5(_0x574715[_0x2b920b(0x25f)]()) + '\x20' + _0xe352d5(_0x574715[_0x2b920b(0x26c)]()) + ':' + _0xe352d5(_0x574715[_0x2b920b(_0x5b7fc6._0x2ac8df)]()) + ':' + _0xe352d5(_0x574715[_0x2b920b(0x2ca)]());
|
|
961
|
-
}
|
|
962
|
-
function formatAttachmentSuffix(_0x8fef16) {
|
|
963
|
-
const _0x4ccf71 = {
|
|
964
|
-
_0x1a59c2: 0x26d,
|
|
965
|
-
_0x4d441e: 0x296,
|
|
966
|
-
_0x28fac8: 0x26d,
|
|
967
|
-
_0x5a26c2: 0x211
|
|
968
|
-
}, _0x5eebf9 = _0x855546;
|
|
969
|
-
if (!_0x8fef16 || _0x8fef16[_0x5eebf9(_0x4ccf71._0x1a59c2)] === 0x0)
|
|
970
|
-
return '';
|
|
971
|
-
return '\x20[' + _0x8fef16['length'] + _0x5eebf9(_0x4ccf71._0x4d441e) + (_0x8fef16[_0x5eebf9(_0x4ccf71._0x28fac8)] > 0x1 ? 's' : '') + ':\x20' + _0x8fef16['map'](_0x18a687 => _0x18a687[_0x5eebf9(0x2be)] + _0x5eebf9(0x2e2) + _0x18a687['id'] + ')')[_0x5eebf9(_0x4ccf71._0x5a26c2)](',\x20') + _0x5eebf9(0x278);
|
|
972
|
-
}
|
|
973
|
-
function formatCheckMessages(_0x1e29a2) {
|
|
974
|
-
const _0xa51469 = { _0x2c1ac4: 0x254 }, _0x260f35 = {
|
|
975
|
-
_0x366d41: 0x21d,
|
|
976
|
-
_0x1c274f: 0x2b0
|
|
977
|
-
}, _0x5107a7 = _0x855546;
|
|
978
|
-
if (_0x1e29a2['length'] === 0x0)
|
|
979
|
-
return _0x5107a7(_0xa51469._0x2c1ac4);
|
|
980
|
-
return _0x1e29a2[_0x5107a7(0x34b)](_0x22323d => {
|
|
981
|
-
const _0x1c0f2c = _0x5107a7, _0x397fcd = _0x22323d[_0x1c0f2c(_0x260f35._0x366d41)] === _0x1c0f2c(0x2ba) ? _0x1c0f2c(0x342) : '', _0x40a4ea = _0x22323d[_0x1c0f2c(0x25a)] && _0x22323d[_0x1c0f2c(0x25a)] !== _0x1c0f2c(0x27b) ? _0x1c0f2c(_0x260f35._0x1c274f) + _0x22323d['kind'] : '';
|
|
982
|
-
return '[target=' + _0x22323d[_0x1c0f2c(0x221)] + _0x1c0f2c(0x250) + _0x22323d[_0x1c0f2c(0x26b)][_0x1c0f2c(0x286)](0x0, 0x8) + _0x1c0f2c(0x340) + toLocalTime(_0x22323d[_0x1c0f2c(0x284)]) + _0x397fcd + _0x40a4ea + ']\x20@' + _0x22323d['senderName'] + ':\x20' + _0x22323d['content'] + formatAttachmentSuffix(_0x22323d[_0x1c0f2c(0x334)]);
|
|
983
|
-
})['join']('\x0a');
|
|
984
|
-
}
|
|
985
|
-
function formatHistory(_0x90f164) {
|
|
986
|
-
const _0xd7bc35 = {
|
|
987
|
-
_0x393374: 0x2cd,
|
|
988
|
-
_0x27e164: 0x263,
|
|
989
|
-
_0x3f4d00: 0x280,
|
|
990
|
-
_0x5ef54f: 0x248,
|
|
991
|
-
_0x4f2c19: 0x34b,
|
|
992
|
-
_0x49d7fd: 0x309,
|
|
993
|
-
_0x17a39b: 0x2cd
|
|
994
|
-
}, _0x46ffd6 = {
|
|
995
|
-
_0x4826ba: 0x25a,
|
|
996
|
-
_0x5644e0: 0x27b,
|
|
997
|
-
_0x177323: 0x1de,
|
|
998
|
-
_0x2adab2: 0x340,
|
|
999
|
-
_0x4d1903: 0x284,
|
|
1000
|
-
_0x3e7cf3: 0x303,
|
|
1001
|
-
_0x2c78db: 0x1f7
|
|
1002
|
-
}, _0x4212ee = _0x855546;
|
|
1003
|
-
if (_0x90f164[_0x4212ee(_0xd7bc35._0x393374)][_0x4212ee(0x26d)] === 0x0)
|
|
1004
|
-
return _0x4212ee(_0xd7bc35._0x27e164) + _0x90f164[_0x4212ee(_0xd7bc35._0x3f4d00)] + _0x4212ee(_0xd7bc35._0x5ef54f);
|
|
1005
|
-
const _0x696ba0 = _0x90f164['messages'][_0x4212ee(_0xd7bc35._0x4f2c19)](_0x3dbee4 => {
|
|
1006
|
-
const _0x23e30a = _0x4212ee, _0x307e52 = _0x3dbee4[_0x23e30a(0x21d)] === _0x23e30a(0x2ba) ? _0x23e30a(0x342) : '', _0x22561d = _0x3dbee4[_0x23e30a(_0x46ffd6._0x4826ba)] && _0x3dbee4[_0x23e30a(0x25a)] !== _0x23e30a(_0x46ffd6._0x5644e0) ? _0x23e30a(0x2b0) + _0x3dbee4[_0x23e30a(_0x46ffd6._0x4826ba)] : '';
|
|
1007
|
-
return _0x23e30a(0x302) + _0x3dbee4[_0x23e30a(_0x46ffd6._0x177323)] + '\x20msg=' + _0x3dbee4['messageId'] + _0x23e30a(_0x46ffd6._0x2adab2) + toLocalTime(_0x3dbee4[_0x23e30a(_0x46ffd6._0x4d1903)]) + _0x307e52 + _0x22561d + _0x23e30a(_0x46ffd6._0x3e7cf3) + _0x3dbee4['senderName'] + ':\x20' + _0x3dbee4[_0x23e30a(_0x46ffd6._0x2c78db)] + formatAttachmentSuffix(_0x3dbee4['attachments']);
|
|
1008
|
-
})['join']('\x0a'), _0x38df14 = _0x90f164['hasMore'] && _0x90f164['nextCursor'] ? _0x4212ee(0x339) + _0x90f164['messages'][_0x4212ee(0x26d)] + _0x4212ee(0x27f) + _0x90f164[_0x4212ee(_0xd7bc35._0x49d7fd)] + _0x4212ee(0x2b5) : '';
|
|
1009
|
-
return _0x4212ee(0x263) + _0x90f164[_0x4212ee(_0xd7bc35._0x3f4d00)] + '\x20(' + _0x90f164[_0x4212ee(_0xd7bc35._0x17a39b)][_0x4212ee(0x26d)] + _0x4212ee(0x2d1) + _0x696ba0 + _0x38df14;
|
|
1010
|
-
}
|
|
1011
|
-
function formatServerDirectory(_0x2709a8) {
|
|
1012
|
-
const _0x264984 = {
|
|
1013
|
-
_0x270d7d: 0x328,
|
|
1014
|
-
_0x3f7b7d: 0x26d,
|
|
1015
|
-
_0x224b4c: 0x28e,
|
|
1016
|
-
_0x3d929d: 0x235,
|
|
1017
|
-
_0x1c27c8: 0x34b,
|
|
1018
|
-
_0x37bd12: 0x211,
|
|
1019
|
-
_0x51cbd4: 0x28e,
|
|
1020
|
-
_0xb43817: 0x322
|
|
1021
|
-
}, _0x267e1b = _0x855546, _0x5d4472 = _0x2709a8[_0x267e1b(_0x264984._0x270d7d)]['length'] > 0x0 ? _0x2709a8['channels'][_0x267e1b(0x34b)](_0x1cee50 => _0x1cee50[_0x267e1b(0x207)] ? _0x267e1b(0x1da) + _0x1cee50['name'] + '\x20—\x20' + _0x1cee50['description'] : _0x267e1b(0x1da) + _0x1cee50[_0x267e1b(0x341)])[_0x267e1b(0x211)]('\x0a') : '(none)', _0x35b45e = _0x2709a8['agents'][_0x267e1b(_0x264984._0x3f7b7d)] > 0x0 ? _0x2709a8[_0x267e1b(0x2c8)]['map'](_0x36898d => '-\x20@' + _0x36898d[_0x267e1b(0x341)])['join']('\x0a') : _0x267e1b(_0x264984._0x224b4c), _0x42b9aa = _0x2709a8['humans'][_0x267e1b(0x26d)] > 0x0 ? _0x2709a8[_0x267e1b(_0x264984._0x3d929d)][_0x267e1b(_0x264984._0x1c27c8)](_0x1a71f4 => '-\x20@' + _0x1a71f4[_0x267e1b(0x341)])[_0x267e1b(_0x264984._0x37bd12)]('\x0a') : _0x267e1b(_0x264984._0x51cbd4);
|
|
1022
|
-
return [
|
|
1023
|
-
'##\x20Server:\x20' + _0x2709a8[_0x267e1b(0x2e6)],
|
|
1024
|
-
'',
|
|
1025
|
-
'###\x20Channels',
|
|
1026
|
-
_0x5d4472,
|
|
1027
|
-
'',
|
|
1028
|
-
_0x267e1b(_0x264984._0xb43817),
|
|
1029
|
-
_0x35b45e,
|
|
1030
|
-
'',
|
|
1031
|
-
'###\x20Humans',
|
|
1032
|
-
_0x42b9aa
|
|
1033
|
-
][_0x267e1b(0x211)]('\x0a');
|
|
1034
|
-
}
|
|
1035
|
-
function formatUploadResult(_0x2ccc64) {
|
|
1036
|
-
const _0x29eaea = {
|
|
1037
|
-
_0x51e4da: 0x2be,
|
|
1038
|
-
_0x52a049: 0x237
|
|
1039
|
-
}, _0xad8f35 = _0x855546;
|
|
1040
|
-
return 'File\x20uploaded:\x20' + _0x2ccc64[_0xad8f35(_0x29eaea._0x51e4da)] + '\x20(' + (_0x2ccc64[_0xad8f35(0x20d)] / 0x400)['toFixed'](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x2ccc64[_0xad8f35(0x233)] + _0xad8f35(_0x29eaea._0x52a049);
|
|
1041
|
-
}
|
|
1042
|
-
function _0x17ac(_0x41e5d6, _0x4d616b) {
|
|
1043
|
-
_0x41e5d6 = _0x41e5d6 - 0x1cf;
|
|
1044
|
-
const _0x1b3eed = _0x1b3e();
|
|
1045
|
-
let _0x17acd4 = _0x1b3eed[_0x41e5d6];
|
|
1046
|
-
if (_0x17ac['pdVGBj'] === undefined) {
|
|
1047
|
-
var _0xbfa7b4 = function (_0x1be592) {
|
|
1048
|
-
const _0x24edc0 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1049
|
-
let _0x5ce9b3 = '', _0x34fbf1 = '';
|
|
1050
|
-
for (let _0x2dc9b0 = 0x0, _0x4a3dc0, _0x4509e5, _0x3c3546 = 0x0; _0x4509e5 = _0x1be592['charAt'](_0x3c3546++); ~_0x4509e5 && (_0x4a3dc0 = _0x2dc9b0 % 0x4 ? _0x4a3dc0 * 0x40 + _0x4509e5 : _0x4509e5, _0x2dc9b0++ % 0x4) ? _0x5ce9b3 += String['fromCharCode'](0xff & _0x4a3dc0 >> (-0x2 * _0x2dc9b0 & 0x6)) : 0x0) {
|
|
1051
|
-
_0x4509e5 = _0x24edc0['indexOf'](_0x4509e5);
|
|
1052
|
-
}
|
|
1053
|
-
for (let _0x51a994 = 0x0, _0x25d151 = _0x5ce9b3['length']; _0x51a994 < _0x25d151; _0x51a994++) {
|
|
1054
|
-
_0x34fbf1 += '%' + ('00' + _0x5ce9b3['charCodeAt'](_0x51a994)['toString'](0x10))['slice'](-0x2);
|
|
1055
|
-
}
|
|
1056
|
-
return decodeURIComponent(_0x34fbf1);
|
|
1057
|
-
};
|
|
1058
|
-
_0x17ac['eyEyvt'] = _0xbfa7b4, _0x17ac['ZlntTI'] = {}, _0x17ac['pdVGBj'] = !![];
|
|
1059
|
-
}
|
|
1060
|
-
const _0x5eea55 = _0x1b3eed[0x0], _0x3b4a5b = _0x41e5d6 + _0x5eea55, _0x1ce48d = _0x17ac['ZlntTI'][_0x3b4a5b];
|
|
1061
|
-
return !_0x1ce48d ? (_0x17acd4 = _0x17ac['eyEyvt'](_0x17acd4), _0x17ac['ZlntTI'][_0x3b4a5b] = _0x17acd4) : _0x17acd4 = _0x1ce48d, _0x17acd4;
|
|
1062
|
-
}
|
|
1063
|
-
function formatViewFileResult(_0x41d044, _0x3ddb5e) {
|
|
1064
|
-
const _0x891cd4 = {
|
|
1065
|
-
_0x47980f: 0x288,
|
|
1066
|
-
_0x4f3ce3: 0x2dd
|
|
1067
|
-
}, _0x13a445 = _0x855546;
|
|
1068
|
-
return _0x3ddb5e ? _0x13a445(_0x891cd4._0x47980f) + _0x41d044 : _0x13a445(_0x891cd4._0x4f3ce3) + _0x41d044;
|
|
1069
|
-
}
|
|
1070
|
-
function formatTaskList(_0x494835, _0x5aa6ff) {
|
|
1071
|
-
const _0x56a02b = {
|
|
1072
|
-
_0x2fcca5: 0x26d,
|
|
1073
|
-
_0x557d51: 0x211
|
|
1074
|
-
}, _0x263897 = {
|
|
1075
|
-
_0x575a8c: 0x25e,
|
|
1076
|
-
_0x3b7366: 0x1f5,
|
|
1077
|
-
_0x4dfad0: 0x2f6,
|
|
1078
|
-
_0x5c7dad: 0x202,
|
|
1079
|
-
_0x12c472: 0x25e,
|
|
1080
|
-
_0x51f9eb: 0x208,
|
|
1081
|
-
_0x534e86: 0x26e,
|
|
1082
|
-
_0x413aff: 0x34d
|
|
1083
|
-
}, _0xa89511 = _0x855546;
|
|
1084
|
-
if (_0x494835[_0xa89511(_0x56a02b._0x2fcca5)] === 0x0)
|
|
1085
|
-
return 'No\x20tasks\x20found.';
|
|
1086
|
-
return _0x494835[_0xa89511(0x34b)](_0x2a4d8e => {
|
|
1087
|
-
const _0x577b33 = _0xa89511, _0x48864a = _0x2a4d8e['taskNumber'] == null ? _0x577b33(0x2f5) : _0x2a4d8e[_0x577b33(0x2f6)] != null ? '#' + _0x2a4d8e[_0x577b33(_0x263897._0x575a8c)] + '.' + _0x2a4d8e[_0x577b33(0x2f6)] : '#' + _0x2a4d8e[_0x577b33(0x25e)], _0x2e5198 = _0x2a4d8e[_0x577b33(0x26b)] ? _0x577b33(_0x263897._0x3b7366) + _0x2a4d8e[_0x577b33(0x26b)] : '', _0x2fa158 = _0x5aa6ff && _0x2a4d8e[_0x577b33(0x25e)] != null && !_0x2a4d8e[_0x577b33(_0x263897._0x4dfad0)] && _0x5aa6ff[_0x577b33(_0x263897._0x5c7dad)](_0x2a4d8e[_0x577b33(_0x263897._0x12c472)]) ? _0x577b33(_0x263897._0x51f9eb) : '', _0x18f4c4 = _0x2a4d8e[_0x577b33(0x26e)] != null && _0x2a4d8e[_0x577b33(_0x263897._0x534e86)] > 0x0 ? '\x20(' + (_0x2a4d8e[_0x577b33(0x1f9)] ?? 0x0) + '/' + _0x2a4d8e[_0x577b33(_0x263897._0x534e86)] + _0x577b33(_0x263897._0x413aff) : '';
|
|
1088
|
-
return _0x48864a + '\x20[' + _0x2a4d8e[_0x577b33(0x2d9)] + ']\x20' + _0x2a4d8e['title'] + _0x18f4c4 + _0x2e5198 + _0x2fa158;
|
|
1089
|
-
})[_0xa89511(_0x56a02b._0x557d51)]('\x0a');
|
|
1090
|
-
}
|
|
1091
|
-
function formatCreatedTasks(_0x356768) {
|
|
1092
|
-
const _0x586a04 = { _0x8dff63: 0x34b }, _0x3d568d = {
|
|
1093
|
-
_0x29570b: 0x2f6,
|
|
1094
|
-
_0x466eaa: 0x1f5,
|
|
1095
|
-
_0x10a558: 0x260
|
|
1096
|
-
}, _0xd09740 = _0x855546;
|
|
1097
|
-
if (_0x356768['length'] === 0x0)
|
|
1098
|
-
return 'No\x20tasks\x20created.';
|
|
1099
|
-
return _0x356768[_0xd09740(_0x586a04._0x8dff63)](_0xc0a14e => {
|
|
1100
|
-
const _0x1b41fb = _0xd09740, _0x342894 = _0xc0a14e[_0x1b41fb(0x25e)] == null ? _0x1b41fb(0x2f5) : _0xc0a14e[_0x1b41fb(_0x3d568d._0x29570b)] != null ? '#' + _0xc0a14e['taskNumber'] + '.' + _0xc0a14e[_0x1b41fb(0x2f6)] : '#' + _0xc0a14e[_0x1b41fb(0x25e)], _0x125b93 = _0xc0a14e['messageId'] ? _0x1b41fb(_0x3d568d._0x466eaa) + _0xc0a14e[_0x1b41fb(0x26b)] : '';
|
|
1101
|
-
return _0x342894 + '\x20' + _0xc0a14e[_0x1b41fb(_0x3d568d._0x10a558)] + _0x125b93;
|
|
1102
|
-
})[_0xd09740(0x211)]('\x0a');
|
|
1103
|
-
}
|
|
1104
|
-
function formatClaimTaskResults(_0x345ae6) {
|
|
1105
|
-
const _0x334f15 = {
|
|
1106
|
-
_0x1eee72: 0x25e,
|
|
1107
|
-
_0x4b8560: 0x26b,
|
|
1108
|
-
_0x56eb07: 0x1f5,
|
|
1109
|
-
_0x21b211: 0x26b,
|
|
1110
|
-
_0x4d1581: 0x204,
|
|
1111
|
-
_0x1fdbf8: 0x351,
|
|
1112
|
-
_0x2d4616: 0x24a,
|
|
1113
|
-
_0x27622f: 0x24b,
|
|
1114
|
-
_0x420a8b: 0x2f7,
|
|
1115
|
-
_0x44efad: 0x2fa,
|
|
1116
|
-
_0x359771: 0x211,
|
|
1117
|
-
_0x3e3dc4: 0x226,
|
|
1118
|
-
_0xd417c9: 0x2d5
|
|
1119
|
-
}, _0x321fa1 = _0x855546;
|
|
1120
|
-
if (_0x345ae6[_0x321fa1(0x26d)] === 0x0)
|
|
1121
|
-
return _0x321fa1(0x27c);
|
|
1122
|
-
return _0x345ae6['map'](_0x3fb871 => {
|
|
1123
|
-
const _0x48684 = _0x321fa1;
|
|
1124
|
-
if (_0x3fb871[_0x48684(0x345)]) {
|
|
1125
|
-
const _0x26f93b = _0x3fb871['taskNumber'] == null ? '(legacy)' : _0x3fb871[_0x48684(0x2f6)] != null ? '#' + _0x3fb871[_0x48684(_0x334f15._0x1eee72)] + '.' + _0x3fb871['subtaskNumber'] : '#' + _0x3fb871['taskNumber'], _0x2c13b9 = _0x3fb871[_0x48684(_0x334f15._0x4b8560)] ? _0x48684(_0x334f15._0x56eb07) + _0x3fb871[_0x48684(_0x334f15._0x21b211)] : '';
|
|
1126
|
-
if (_0x3fb871['workerHandoff']) {
|
|
1127
|
-
const _0x12125a = [
|
|
1128
|
-
_0x48684(_0x334f15._0x4d1581),
|
|
1129
|
-
_0x3fb871[_0x48684(_0x334f15._0x1fdbf8)] ? 'stopMain=true' : null,
|
|
1130
|
-
_0x3fb871[_0x48684(_0x334f15._0x2d4616)] ? _0x48684(0x266) + _0x3fb871[_0x48684(0x24a)] : null,
|
|
1131
|
-
_0x3fb871['threadTarget'] ? _0x48684(_0x334f15._0x27622f) + _0x3fb871['threadTarget'] : null,
|
|
1132
|
-
_0x3fb871[_0x48684(0x2fa)] ? _0x48684(_0x334f15._0x420a8b) + _0x3fb871[_0x48684(_0x334f15._0x44efad)] : null
|
|
1133
|
-
]['filter'](Boolean)[_0x48684(_0x334f15._0x359771)]('\x20');
|
|
1134
|
-
return _0x26f93b + _0x48684(_0x334f15._0x3e3dc4) + _0x2c13b9 + '\x20' + _0x12125a + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1135
|
-
}
|
|
1136
|
-
const _0xbded61 = _0x3fb871[_0x48684(0x2d5)] ? '\x20workerHandoff=false\x20error=' + _0x3fb871[_0x48684(_0x334f15._0xd417c9)] : '';
|
|
1137
|
-
return _0x26f93b + _0x48684(_0x334f15._0x3e3dc4) + _0x2c13b9 + _0xbded61;
|
|
1138
|
-
}
|
|
1139
|
-
const _0x502625 = _0x3fb871[_0x48684(_0x334f15._0x1eee72)] == null ? _0x3fb871[_0x48684(0x26b)] ?? '(unknown)' : '#' + _0x3fb871[_0x48684(0x25e)];
|
|
1140
|
-
return _0x502625 + _0x48684(0x314) + (_0x3fb871['reason'] ?? 'claim\x20failed');
|
|
1141
|
-
})[_0x321fa1(0x211)]('\x0a');
|
|
1142
|
-
}
|
|
1143
|
-
function formatUnclaimTaskResult(_0x4efcb2) {
|
|
1144
|
-
const _0x331571 = {
|
|
1145
|
-
_0x29ace2: 0x2f6,
|
|
1146
|
-
_0x384de1: 0x25e,
|
|
1147
|
-
_0x4c55f2: 0x2d9
|
|
1148
|
-
}, _0x5e8a26 = _0x855546, _0x370364 = _0x4efcb2[_0x5e8a26(0x25e)] == null ? _0x5e8a26(0x2f5) : _0x4efcb2['subtaskNumber'] != null ? '#' + _0x4efcb2[_0x5e8a26(0x25e)] + '.' + _0x4efcb2[_0x5e8a26(_0x331571._0x29ace2)] : '#' + _0x4efcb2[_0x5e8a26(_0x331571._0x384de1)];
|
|
1149
|
-
return _0x370364 + _0x5e8a26(0x1f6) + _0x4efcb2[_0x5e8a26(_0x331571._0x4c55f2)];
|
|
1150
|
-
}
|
|
1151
|
-
function formatUpdateTaskStatusResult(_0x2d42d8) {
|
|
1152
|
-
const _0x5825c9 = {
|
|
1153
|
-
_0x4846b1: 0x25e,
|
|
1154
|
-
_0x5ae52e: 0x2f6,
|
|
1155
|
-
_0xe043f: 0x2d9
|
|
1156
|
-
}, _0x7e0205 = _0x855546, _0x56df38 = _0x2d42d8[_0x7e0205(_0x5825c9._0x4846b1)] == null ? _0x7e0205(0x2f5) : _0x2d42d8['subtaskNumber'] != null ? '#' + _0x2d42d8[_0x7e0205(0x25e)] + '.' + _0x2d42d8[_0x7e0205(_0x5825c9._0x5ae52e)] : '#' + _0x2d42d8[_0x7e0205(0x25e)];
|
|
1157
|
-
return _0x56df38 + '\x20status=' + _0x2d42d8[_0x7e0205(_0x5825c9._0xe043f)];
|
|
1158
|
-
}
|
|
1159
|
-
function getChatBridgeToolDefinitions() {
|
|
1160
|
-
const _0x36f6f0 = {
|
|
1161
|
-
_0x22946a: 0x347,
|
|
1162
|
-
_0x4c6758: 0x343,
|
|
1163
|
-
_0x52288d: 0x20a,
|
|
1164
|
-
_0x37b737: 0x331,
|
|
1165
|
-
_0x5f00eb: 0x31b
|
|
1166
|
-
}, _0x2c5514 = _0x855546;
|
|
1167
|
-
return [
|
|
1168
|
-
{ 'name': 'send_message' },
|
|
1169
|
-
{ 'name': _0x2c5514(_0x36f6f0._0x22946a) },
|
|
1170
|
-
{ 'name': 'read_history' },
|
|
1171
|
-
{ 'name': _0x2c5514(_0x36f6f0._0x4c6758) },
|
|
1172
|
-
{ 'name': 'upload_file' },
|
|
1173
|
-
{ 'name': _0x2c5514(0x320) },
|
|
1174
|
-
{ 'name': 'list_tasks' },
|
|
1175
|
-
{ 'name': 'create_tasks' },
|
|
1176
|
-
{ 'name': 'claim_tasks' },
|
|
1177
|
-
{ 'name': _0x2c5514(_0x36f6f0._0x52288d) },
|
|
1178
|
-
{ 'name': _0x2c5514(_0x36f6f0._0x37b737) },
|
|
1179
|
-
{ 'name': _0x2c5514(_0x36f6f0._0x5f00eb) },
|
|
1180
|
-
{ 'name': 'park_worker' },
|
|
1181
|
-
{ 'name': 'escalate_to_main' },
|
|
1182
|
-
{ 'name': 'mark_waiting_input' }
|
|
1183
|
-
];
|
|
1184
|
-
}
|
|
1185
|
-
function _0x1b3e() {
|
|
1186
|
-
const _0x659298 = [
|
|
1187
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1188
|
-
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1189
|
-
'DgfZAW',
|
|
1190
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1191
|
-
'AxngAwXL',
|
|
1192
|
-
'zw50CMLLCW',
|
|
1193
|
-
'kg5VBMuP',
|
|
1194
|
-
'zMv0y2HjBxbS',
|
|
189
|
+
function _0x5d96() {
|
|
190
|
+
const _0xaba391 = [
|
|
191
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
192
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
193
|
+
'ywXS',
|
|
194
|
+
'zM9Yy2vszwzYzxnO',
|
|
195
|
+
'C2v0',
|
|
196
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
197
|
+
'Ahr0Chm6',
|
|
1195
198
|
'l3nLBMq',
|
|
1196
|
-
'
|
|
1197
|
-
'
|
|
1198
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
199
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
200
|
+
'pgvTChr5pG',
|
|
1199
201
|
'yM9KEu1HCMTKB3DU',
|
|
1200
|
-
'
|
|
1201
|
-
'
|
|
1202
|
-
'
|
|
1203
|
-
'
|
|
1204
|
-
'
|
|
202
|
+
'ig1LC3nHz2u9',
|
|
203
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
204
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
205
|
+
'Bg9JywXLq29TCgfYzq',
|
|
206
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
207
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
208
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
209
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
210
|
+
'BgLZDf9Zzxj2zxi',
|
|
211
|
+
'zMfSC2u',
|
|
212
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
213
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
214
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
215
|
+
'zgvSzxrL',
|
|
216
|
+
'C3rYAw5NAwz5',
|
|
217
|
+
'y2HPBgrYzw5eB25L',
|
|
218
|
+
'l2nVBNrLBNq',
|
|
219
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
220
|
+
'ywDNCMvNyxrLswq',
|
|
221
|
+
'DgHYzwfKswq',
|
|
222
|
+
'CMvJB3jK',
|
|
223
|
+
'ig1ZzZ0',
|
|
224
|
+
'y2HHBM5LBeLK',
|
|
225
|
+
'C3rHDhvZ',
|
|
226
|
+
'C3bSAxq',
|
|
1205
227
|
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1206
|
-
'
|
|
1207
|
-
'
|
|
1208
|
-
'
|
|
1209
|
-
'
|
|
1210
|
-
'
|
|
1211
|
-
'
|
|
1212
|
-
'
|
|
1213
|
-
'
|
|
1214
|
-
'
|
|
1215
|
-
'
|
|
1216
|
-
'
|
|
1217
|
-
'
|
|
1218
|
-
'
|
|
1219
|
-
'
|
|
1220
|
-
'
|
|
1221
|
-
'
|
|
228
|
+
'ihn0yxr1CZ0',
|
|
229
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
230
|
+
'z2v0sg91CNm',
|
|
231
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
232
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
233
|
+
'y2f0y2G',
|
|
234
|
+
'yMfZzty0',
|
|
235
|
+
'BwvZC2fNzxm',
|
|
236
|
+
'AhvTyw4',
|
|
237
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
238
|
+
'A2LUza',
|
|
239
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
240
|
+
'ywjVCNq',
|
|
241
|
+
'l3jLy2vPDMu',
|
|
242
|
+
'DgL0Bgu',
|
|
243
|
+
'AwrSzq',
|
|
244
|
+
'igrVBMuP',
|
|
245
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
246
|
+
'C2vYDMvYtMfTzq',
|
|
247
|
+
'CMvHzeHPC3rVCNK',
|
|
248
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
249
|
+
'zMLSzv9WyxrO',
|
|
250
|
+
'ls1Zzxj2zxiTDxjS',
|
|
251
|
+
'DxbKyxrL',
|
|
252
|
+
'mtiYndyWnxjfwuHMqG',
|
|
253
|
+
'z2v0rgf0zq',
|
|
254
|
+
'BgLZDfnLCNzLCG',
|
|
255
|
+
'igLUia',
|
|
256
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
257
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
258
|
+
'kgXLz2fJEsK',
|
|
259
|
+
'y29UDgvUDa',
|
|
260
|
+
'ywz0zxi',
|
|
261
|
+
'CM9VDe1LC3nHz2vjza',
|
|
262
|
+
'zMLSzw5HBwu',
|
|
263
|
+
'C3rHCNrLza',
|
|
264
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
265
|
+
'zgLZCg9ZAxrPB24',
|
|
266
|
+
'iJOGC3rHDhvZpq',
|
|
267
|
+
'z2v0u2vJB25KCW',
|
|
268
|
+
'Aw1Hz2uVCg5N',
|
|
269
|
+
'y2XHAw1FDgfZA3m',
|
|
270
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1222
271
|
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1223
|
-
'
|
|
1224
|
-
'
|
|
1225
|
-
'
|
|
1226
|
-
'
|
|
1227
|
-
'
|
|
1228
|
-
'
|
|
272
|
+
'z2v0',
|
|
273
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
274
|
+
'CgfYDgLJAxbHBNq',
|
|
275
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
276
|
+
'l3vWBg9Hza',
|
|
277
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
278
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
279
|
+
'Aw5FChjVz3jLC3m',
|
|
280
|
+
'D29YA2vYCW',
|
|
281
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1229
282
|
'DgfZA3m',
|
|
1230
|
-
'l3rHC2TZl2nSywLT',
|
|
1231
|
-
'otG3mtuYnfDvsKzuCG',
|
|
1232
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1233
|
-
'DgHYzwfKtNvTyMvY',
|
|
1234
|
-
'CMvHC29U',
|
|
1235
|
-
'Dg9tDhjPBMC',
|
|
1236
|
-
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1237
283
|
'ywDLBNq',
|
|
1238
|
-
'
|
|
284
|
+
'C3vJy2vZCW',
|
|
285
|
+
'kg5VBMuP',
|
|
286
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
287
|
+
'yMfZzw5HBwu',
|
|
288
|
+
'ChjVDg9JB2W',
|
|
1239
289
|
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1240
|
-
'
|
|
1241
|
-
'
|
|
1242
|
-
'
|
|
1243
|
-
'
|
|
1244
|
-
'
|
|
1245
|
-
'
|
|
1246
|
-
'ls1Zzxj2zxiTDxjS',
|
|
1247
|
-
'D3nZoG',
|
|
1248
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
1249
|
-
'lIbnzxnZywDLieLeoIa',
|
|
1250
|
-
'AwrSzq',
|
|
1251
|
-
'ywDLBNrZ',
|
|
290
|
+
'zgfLBw9UqxbPs2v5',
|
|
291
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
292
|
+
'C2vUze1LC3nHz2u',
|
|
293
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
294
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
295
|
+
'BMfTzq',
|
|
1252
296
|
'y29UBMvJDa',
|
|
1253
|
-
'
|
|
1254
|
-
'
|
|
1255
|
-
'
|
|
1256
|
-
'
|
|
1257
|
-
'
|
|
1258
|
-
'
|
|
1259
|
-
'
|
|
1260
|
-
'
|
|
1261
|
-
'
|
|
1262
|
-
'
|
|
1263
|
-
'
|
|
1264
|
-
'
|
|
1265
|
-
'
|
|
1266
|
-
'
|
|
1267
|
-
'
|
|
1268
|
-
'
|
|
1269
|
-
'
|
|
1270
|
-
'
|
|
1271
|
-
'
|
|
297
|
+
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
298
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
299
|
+
'zgvZy3jPChrPB24',
|
|
300
|
+
'zg06',
|
|
301
|
+
'BwvTyMvYCW',
|
|
302
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
303
|
+
'Bwf4',
|
|
304
|
+
'ls1Hz2vUDc1Pza',
|
|
305
|
+
'Dgv4Dc9WBgfPBG',
|
|
306
|
+
'BwvTyMvY',
|
|
307
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
308
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
309
|
+
'v29YA2vYia',
|
|
310
|
+
'zw50CMLLCW',
|
|
311
|
+
'igTPBMq9',
|
|
312
|
+
'CgfYDgLJAxbHBNrjza',
|
|
313
|
+
'D29YA2vYsgfUzg9MzG',
|
|
314
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
315
|
+
'DgfZA051BwjLCG',
|
|
316
|
+
'yxjNDG',
|
|
317
|
+
'C2vUzgvYtMfTzq',
|
|
318
|
+
'AxnbCNjHEq',
|
|
319
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
320
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
321
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
322
|
+
'DgfZAY0',
|
|
323
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
324
|
+
'icHPzdO',
|
|
325
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
326
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1272
327
|
'rg93BMXVywrLzcb0BZOG',
|
|
328
|
+
'ihrPBwu9',
|
|
329
|
+
'zgf0yq',
|
|
330
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
331
|
+
'C2vUzgvYvhLWzq',
|
|
332
|
+
'CNvUswq',
|
|
333
|
+
'igf0DgfJAg1LBNq',
|
|
1273
334
|
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1274
|
-
'
|
|
1275
|
-
'
|
|
1276
|
-
'
|
|
1277
|
-
'
|
|
1278
|
-
'
|
|
1279
|
-
'
|
|
1280
|
-
'
|
|
1281
|
-
'C2vYDMvYtMfTzq',
|
|
1282
|
-
'z2v0',
|
|
1283
|
-
'C3rYAw5N',
|
|
1284
|
-
'DxbSB2fKrMLSzq',
|
|
1285
|
-
'C2vYDMvY',
|
|
1286
|
-
'ChvZAa',
|
|
1287
|
-
'Aw1Hz2uVCg5N',
|
|
1288
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
335
|
+
'Dw5JBgfPBv90yxnR',
|
|
336
|
+
'Aw1Hz2uVD2vICa',
|
|
337
|
+
'B3b0Aw9UywW',
|
|
338
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
339
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
340
|
+
'Dw5JBgfPBvrHC2S',
|
|
341
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1289
342
|
'C2LNBMfS',
|
|
1290
|
-
'
|
|
1291
|
-
'
|
|
1292
|
-
'
|
|
1293
|
-
'
|
|
1294
|
-
'
|
|
1295
|
-
'
|
|
1296
|
-
'
|
|
1297
|
-
'
|
|
1298
|
-
'
|
|
1299
|
-
'
|
|
1300
|
-
'
|
|
1301
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1302
|
-
'C2L6zq',
|
|
1303
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
343
|
+
'C29Tzq',
|
|
344
|
+
'ywDNCMvNyxrLswrZ',
|
|
345
|
+
'C2vX',
|
|
346
|
+
'vgfZAZOG',
|
|
347
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
348
|
+
'iYmGu2vYDMvYoIa',
|
|
349
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
350
|
+
'Dg9gAxHLza',
|
|
351
|
+
'BgvUz3rO',
|
|
352
|
+
'ls1ZzxnZAw9UlwLK',
|
|
353
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1304
354
|
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1305
|
-
'
|
|
1306
|
-
'
|
|
1307
|
-
'
|
|
1308
|
-
'
|
|
1309
|
-
'
|
|
1310
|
-
'
|
|
1311
|
-
'
|
|
355
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
356
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
357
|
+
'ntq1otqXmLzAENviBW',
|
|
358
|
+
'BM93',
|
|
359
|
+
'Dg9tDhjPBMC',
|
|
360
|
+
'lMrZy29Yza',
|
|
361
|
+
'DgHYzwfKtNvTyMvY',
|
|
362
|
+
'cGOTls0G',
|
|
363
|
+
'C3rHCNrZv2L0Aa',
|
|
364
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
365
|
+
'y2XPzw50',
|
|
366
|
+
'CMvWBgfJzq',
|
|
367
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1312
368
|
'y2HHBM5LBfrHCMDLDa',
|
|
1313
|
-
'
|
|
1314
|
-
'
|
|
1315
|
-
'
|
|
1316
|
-
'
|
|
1317
|
-
'D29YA19RzxK',
|
|
1318
|
-
'DMfSDwvZ',
|
|
1319
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
369
|
+
'y2XHAw1uyxnRCW',
|
|
370
|
+
'Dgv4Da',
|
|
371
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
372
|
+
'nKDVwuLrCW',
|
|
1320
373
|
'6k+35Rgcia',
|
|
1321
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
1322
374
|
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1323
|
-
'
|
|
1324
|
-
'
|
|
1325
|
-
'
|
|
1326
|
-
'
|
|
1327
|
-
'
|
|
1328
|
-
'
|
|
1329
|
-
'
|
|
1330
|
-
'
|
|
1331
|
-
'
|
|
1332
|
-
'
|
|
1333
|
-
'
|
|
1334
|
-
'
|
|
1335
|
-
'
|
|
1336
|
-
'
|
|
1337
|
-
'
|
|
1338
|
-
'
|
|
1339
|
-
'
|
|
1340
|
-
'
|
|
1341
|
-
'
|
|
1342
|
-
'
|
|
1343
|
-
'vgfZAYa',
|
|
1344
|
-
'zgLNzxn0',
|
|
1345
|
-
'DxbSB2fKx2zPBgu',
|
|
1346
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1347
|
-
'y2HHBM5LBhm',
|
|
1348
|
-
'D29YA2vYCW',
|
|
1349
|
-
'CMvWBgfJzq',
|
|
1350
|
-
'Bwf0y2Hoyw1L',
|
|
375
|
+
'DgfZA19Pza',
|
|
376
|
+
'C2L6zuj5DgvZ',
|
|
377
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
378
|
+
'w3nLCt0',
|
|
379
|
+
'CgfYC2u',
|
|
380
|
+
'y3vYC29Y',
|
|
381
|
+
'CMvXDwvZDfvYBa',
|
|
382
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
383
|
+
'C2L6zq',
|
|
384
|
+
'r0vu',
|
|
385
|
+
'BMv4Den1CNnVCG',
|
|
386
|
+
'yxjYyxLcDwzMzxi',
|
|
387
|
+
'C3rYAw5N',
|
|
388
|
+
'Aw5KzxHpzG',
|
|
389
|
+
'D29YA2vY',
|
|
390
|
+
'lMjPBG',
|
|
391
|
+
'DhjPBq',
|
|
392
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
393
|
+
'l2HPC3rVCNK/',
|
|
394
|
+
'ignSywLTzwq',
|
|
1351
395
|
'C2vUzf9TzxnZywDL',
|
|
1352
|
-
'
|
|
1353
|
-
'
|
|
1354
|
-
'
|
|
1355
|
-
'
|
|
1356
|
-
'
|
|
1357
|
-
'
|
|
1358
|
-
'
|
|
396
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
397
|
+
'DMfSDwvZ',
|
|
398
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
399
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
400
|
+
'khvUA25VD24P',
|
|
401
|
+
'Bwf0y2Hoyw1L',
|
|
402
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
403
|
+
'ywrK',
|
|
404
|
+
'C2HHmJu2',
|
|
405
|
+
'Aw1Hz2uVANbLzW',
|
|
406
|
+
'zxzLBNrtzxe',
|
|
407
|
+
'CMvHzf9OAxn0B3j5',
|
|
408
|
+
'AM9PBG',
|
|
409
|
+
'v29YA2vYici',
|
|
410
|
+
'Aw5FCMv2Awv3',
|
|
411
|
+
'BwvZC2fNzv9Pzhm',
|
|
412
|
+
'l3rHC2TZ',
|
|
413
|
+
'ue9tva',
|
|
414
|
+
'BwvKAxvT',
|
|
415
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
416
|
+
'zw51Bq',
|
|
417
|
+
'lsba',
|
|
418
|
+
'zgvZDhjVEwvK',
|
|
419
|
+
'DMLZAwjPBgL0Eq',
|
|
420
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
421
|
+
'DgHYzwfK',
|
|
422
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
423
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
424
|
+
'AgvHzgvYCW',
|
|
425
|
+
'ANnVBG',
|
|
1359
426
|
'yxr0ywnOBwvUDhm',
|
|
1360
|
-
'
|
|
1361
|
-
'
|
|
1362
|
-
'
|
|
1363
|
-
'
|
|
1364
|
-
'
|
|
427
|
+
'l3nLCNzLCG',
|
|
428
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
429
|
+
'BwLU',
|
|
430
|
+
'y2fJAgveAxi',
|
|
431
|
+
'mta0mZq4oefyAfPPDW',
|
|
432
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
433
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
434
|
+
'Aw5JBhvKzxm',
|
|
1365
435
|
'C2f2zq',
|
|
1366
|
-
'
|
|
436
|
+
'Dw5RBM93BG',
|
|
437
|
+
'Agv4',
|
|
1367
438
|
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1368
|
-
'
|
|
1369
|
-
'
|
|
1370
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
1371
|
-
'ihrPBwu9',
|
|
1372
|
-
'BMfTzq',
|
|
1373
|
-
'ihr5Cgu9ywDLBNq',
|
|
1374
|
-
'BgLZDf9Zzxj2zxi',
|
|
1375
|
-
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1376
|
-
'C3vJy2vZCW',
|
|
1377
|
-
'Bwf4',
|
|
439
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
440
|
+
'l3rHC2TZpW',
|
|
1378
441
|
'y2HLy2TFBwvZC2fNzxm',
|
|
1379
|
-
'
|
|
1380
|
-
'
|
|
1381
|
-
'
|
|
442
|
+
'yMvMB3jL',
|
|
443
|
+
'ChvZAa',
|
|
444
|
+
'ywjVCNrLza',
|
|
445
|
+
'CMvZDwX0sNnVBG',
|
|
446
|
+
'C29YDa',
|
|
447
|
+
'CgfYA193B3jRzxi',
|
|
448
|
+
'CgfKu3rHCNq',
|
|
449
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
450
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
451
|
+
'Cgf5Bg9HzePZB24',
|
|
452
|
+
'Dg9ju09tDhjPBMC',
|
|
453
|
+
'B2jQzwn0',
|
|
454
|
+
'zMLUza',
|
|
455
|
+
'y3jLyxrLvgfZA3m',
|
|
456
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
457
|
+
'D29YA19RzxK',
|
|
458
|
+
'mteZnJy4nM1sEMX4wq',
|
|
459
|
+
'EM9K',
|
|
460
|
+
'igzHAwXLzdOG',
|
|
461
|
+
'lsaJ',
|
|
462
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
463
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
1382
464
|
'BwfW',
|
|
465
|
+
'CNvUBMLUzW',
|
|
466
|
+
'yxr0ywnOBwvUDeLK',
|
|
467
|
+
'y2HHBM5LBe5HBwu',
|
|
468
|
+
'C3vIDgfZA051BwjLCG',
|
|
469
|
+
'xsba',
|
|
470
|
+
'iYmJieH1BwfUCW',
|
|
471
|
+
'zxH0BMfTzq',
|
|
472
|
+
'DhLWzq',
|
|
473
|
+
'ihr5Cgu9ywDLBNq',
|
|
474
|
+
'AgfZ',
|
|
475
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1383
476
|
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1384
|
-
'
|
|
1385
|
-
'
|
|
1386
|
-
'
|
|
1387
|
-
'
|
|
477
|
+
'mteWodG2mJnSq0f4tvO',
|
|
478
|
+
'AhvTyw5Z',
|
|
479
|
+
'y3jLyxrLzef0',
|
|
480
|
+
'Dg9KBW',
|
|
481
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
482
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
483
|
+
'BNvTyMvY',
|
|
484
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
485
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
486
|
+
'y2HHBM5LBa',
|
|
487
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
488
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
489
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
490
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
491
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
492
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
493
|
+
'zxjYB3i',
|
|
494
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1388
495
|
'C3rVCe1HAw4',
|
|
1389
|
-
'
|
|
1390
|
-
'
|
|
1391
|
-
'
|
|
1392
|
-
'
|
|
1393
|
-
'
|
|
1394
|
-
'
|
|
1395
|
-
'
|
|
1396
|
-
'D3m6',
|
|
1397
|
-
'y2fJAgveAxi',
|
|
1398
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1399
|
-
'ntq2mZjZs0fcy3i',
|
|
1400
|
-
'y29UDgvUDejHC2u2na',
|
|
1401
|
-
'lsaJ',
|
|
1402
|
-
'zM9Yy2vszwzYzxnO',
|
|
1403
|
-
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
1404
|
-
'yxbWBgLJyxrPB24VEMLW',
|
|
1405
|
-
'C2vX',
|
|
1406
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
1407
|
-
'ANnVBG',
|
|
1408
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1409
|
-
'zg06',
|
|
1410
|
-
'Agv4',
|
|
1411
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1412
|
-
'Bg93',
|
|
496
|
+
'C2XPy2u',
|
|
497
|
+
'DgHYzwfKvgfYz2v0',
|
|
498
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
499
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
500
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
501
|
+
'ywz0zxjtzxe',
|
|
502
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1413
503
|
'AgfZtw9Yzq',
|
|
1414
|
-
'Dg9VBa',
|
|
1415
504
|
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1416
|
-
'ywz0zxi',
|
|
1417
|
-
'iJOGC3rHDhvZpq',
|
|
1418
|
-
'zMLSzv9WyxrO',
|
|
1419
|
-
'DhLWzq',
|
|
1420
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1421
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1422
|
-
'ywjVCNq',
|
|
1423
|
-
'CgfYA193B3jRzxi',
|
|
1424
|
-
'zgLZCg9ZAxrPB24',
|
|
1425
|
-
'BwvTyMvY',
|
|
1426
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1427
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1428
|
-
'ig1LC3nHz2u9',
|
|
1429
|
-
'ihn0yxr1CZ0',
|
|
1430
|
-
'y29UDgvUDa',
|
|
1431
|
-
'w3rHCMDLDd0',
|
|
1432
|
-
'y2HPBgrYzw5eB25L',
|
|
1433
|
-
'C29YDa',
|
|
1434
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
1435
|
-
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1436
|
-
'C3bSAxq',
|
|
1437
|
-
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1438
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1439
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1440
|
-
'r0vu',
|
|
1441
|
-
'AgfZ',
|
|
1442
|
-
'CgfKu3rHCNq',
|
|
1443
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1444
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1445
|
-
'BwvZC2fNzv9Pzhm',
|
|
1446
|
-
'zgvZy3jPChrPB24',
|
|
1447
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1448
|
-
'l2nVBNrLBNq',
|
|
1449
|
-
'Dw5JBgfPBv90yxnR',
|
|
1450
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
1451
|
-
'ls1Hz2vUDc1Pza',
|
|
1452
|
-
'C2L6zuj5DgvZ',
|
|
1453
|
-
'y2XPzw50',
|
|
1454
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1455
|
-
'y29UDgvUDc10ExbL',
|
|
1456
|
-
'AM9PBG',
|
|
1457
|
-
'DxjNzw50',
|
|
1458
|
-
'C2nOzwr1BgvKrM9Y',
|
|
1459
|
-
'C2v0',
|
|
1460
|
-
'Ahr0CdO',
|
|
1461
|
-
'mtyYmtaYngHAB0j0AG',
|
|
1462
|
-
'l2HPC3rVCNK/',
|
|
1463
|
-
'y3vYC29Y',
|
|
1464
|
-
'C3rYAw5NAwz5',
|
|
1465
|
-
'lcbWCMv2Awv3pq',
|
|
1466
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1467
|
-
'AgLNAa',
|
|
1468
|
-
'C2vUzgvYvhLWzq',
|
|
1469
|
-
'igLUia',
|
|
1470
|
-
'yMfZzty0',
|
|
1471
|
-
'CNvUswq',
|
|
1472
505
|
'DgfYz2v0',
|
|
1473
|
-
'
|
|
1474
|
-
'C3rHCNrLza',
|
|
1475
|
-
'CMvZDwX0sNnVBG',
|
|
1476
|
-
'twvZC2fNzsbZzw50ihrVia',
|
|
1477
|
-
'ignSywLTzwq',
|
|
1478
|
-
'CMvHzf9OAxn0B3j5',
|
|
1479
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1480
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
506
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1481
507
|
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1482
|
-
'
|
|
1483
|
-
'
|
|
1484
|
-
'
|
|
1485
|
-
'
|
|
1486
|
-
'
|
|
1487
|
-
'Dg9KBW',
|
|
1488
|
-
'y3jLyxrLx3rHC2TZ',
|
|
1489
|
-
'yM9KEvrLEhq',
|
|
1490
|
-
'yxr0ywnOBwvUDeLK',
|
|
1491
|
-
'AxnbCNjHEq',
|
|
1492
|
-
'AhvTyw5Z',
|
|
1493
|
-
'Bg9JywXLq29TCgfYzq',
|
|
1494
|
-
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1495
|
-
'Axnoyu4',
|
|
508
|
+
'Dgv4Dc9JC3y',
|
|
509
|
+
'BgLZDf90yxnRCW',
|
|
510
|
+
'DxbSB2fKrMLSzq',
|
|
511
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
512
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1496
513
|
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1497
|
-
'
|
|
1498
|
-
'
|
|
1499
|
-
'
|
|
1500
|
-
'
|
|
1501
|
-
'
|
|
1502
|
-
'
|
|
514
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
515
|
+
'iokaLca',
|
|
516
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
517
|
+
'Ahr0CdO',
|
|
518
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
519
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1503
520
|
'Aw1Hz2uVz2LM',
|
|
1504
|
-
'
|
|
1505
|
-
'
|
|
1506
|
-
'
|
|
1507
|
-
'
|
|
1508
|
-
'
|
|
1509
|
-
'AhjLzG',
|
|
1510
|
-
'B3b0Aw9UywW',
|
|
1511
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1512
|
-
'D29YA2vYtw9Kzq',
|
|
1513
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
1514
|
-
'DgHYzwfKvgfYz2v0pq',
|
|
1515
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
1516
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
1517
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
1518
|
-
'C3rHCNrZv2L0Aa',
|
|
1519
|
-
'ig1ZzZ0',
|
|
1520
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1521
|
-
'ndaXmtm5nwjlyxD2za',
|
|
1522
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1523
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1524
|
-
'zg9Uzq',
|
|
1525
|
-
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
1526
|
-
'iIbUB3qGzM91BMq',
|
|
1527
|
-
'DgfYz2v0zwq',
|
|
1528
|
-
'zxHWAxjLC0f0',
|
|
1529
|
-
'A2LUza',
|
|
1530
|
-
'CMvHzeHPC3rVCNK',
|
|
1531
|
-
'zgvSzxrL',
|
|
1532
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1533
|
-
'DgfZA051BwjLCG',
|
|
1534
|
-
'z2v0rgf0zq',
|
|
1535
|
-
'DgL0Bgu',
|
|
1536
|
-
'DgHYzwfK',
|
|
1537
|
-
'mte4ota4A0fQAw5h',
|
|
1538
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1539
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4',
|
|
1540
|
-
'ndiXotu2mhfrq0zqBa',
|
|
1541
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1542
|
-
'BNvTyMvY',
|
|
1543
|
-
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
1544
|
-
'zMLUza',
|
|
1545
|
-
'CxvLDwvK',
|
|
1546
|
-
'BwvZC2fNzuLK',
|
|
1547
|
-
'z2v0sg91CNm',
|
|
1548
|
-
'BgvUz3rO',
|
|
1549
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
1550
|
-
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1551
|
-
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1552
|
-
'ywjVCNrLza',
|
|
1553
|
-
'Dw5RBM93BG',
|
|
1554
|
-
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
1555
|
-
'DMLZAwjPBgL0Eq',
|
|
1556
|
-
'zMLSDgvY',
|
|
1557
|
-
'zxH0BMfTzq',
|
|
1558
|
-
'C2vUze1LC3nHz2u',
|
|
1559
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
521
|
+
'ovryzKnTtW',
|
|
522
|
+
'C3vIDgfZA19UDw1Izxi',
|
|
523
|
+
'AxngAw5PDgu',
|
|
524
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
525
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1560
526
|
'Bwv0yq',
|
|
1561
|
-
'
|
|
527
|
+
'z2v0vgLTzq',
|
|
528
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
529
|
+
'yxjYyxK',
|
|
530
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
531
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
532
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
533
|
+
'BwvZC2fNzq',
|
|
534
|
+
'Dg9VBa',
|
|
535
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
536
|
+
'yxv0BZO',
|
|
537
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
538
|
+
'CMvZCg9UC2u',
|
|
539
|
+
'BgLTAxq',
|
|
540
|
+
'zg9Uzq',
|
|
541
|
+
'AxngAwXL',
|
|
542
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
543
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
544
|
+
'DMfSDwu',
|
|
545
|
+
'y29UDgvUDejHC2u2na',
|
|
546
|
+
'y2HHBM5LBhm',
|
|
547
|
+
'ktSGz290ignOyw5UzwW9',
|
|
1562
548
|
'y2HHDa',
|
|
1563
|
-
'
|
|
1564
|
-
'
|
|
1565
|
-
'
|
|
1566
|
-
'
|
|
1567
|
-
'
|
|
1568
|
-
'
|
|
1569
|
-
'
|
|
1570
|
-
'
|
|
1571
|
-
'
|
|
1572
|
-
'
|
|
1573
|
-
'
|
|
1574
|
-
'
|
|
549
|
+
'Dg9mB3DLCKnHC2u',
|
|
550
|
+
'y29UDgvUDfr5Cgu',
|
|
551
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
552
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
553
|
+
'mJuWotq3otb3uevpr1q',
|
|
554
|
+
'DgfZAW',
|
|
555
|
+
'ywDLBNrjza',
|
|
556
|
+
'sfruuca',
|
|
557
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
558
|
+
'y2XHAw0GzMfPBgvK',
|
|
559
|
+
'DxrMoa',
|
|
560
|
+
'yxnPzgu',
|
|
561
|
+
'yM9KEvrLEhq',
|
|
562
|
+
'ntm1otq5rNrjD2nX',
|
|
563
|
+
'DxbSB2fKx2zPBgu',
|
|
564
|
+
'l3rHC2TZl2nSywLT',
|
|
565
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
566
|
+
'z2v0rNvSBfLLyxi',
|
|
567
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
568
|
+
'zMLSDgvY',
|
|
569
|
+
'CMvHC29U',
|
|
570
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
571
|
+
'ywDLBNrZ',
|
|
572
|
+
'zNjVBq',
|
|
573
|
+
'BwvZC2fNzuLK',
|
|
574
|
+
'DxnLCG',
|
|
575
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
576
|
+
'DgHYzwfKu2HVCNrjza',
|
|
577
|
+
'C2vYDMvY',
|
|
578
|
+
'y29UDgvUDc10ExbL',
|
|
579
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
580
|
+
'DxjNzw50',
|
|
581
|
+
'w3rHCMDLDd0',
|
|
582
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
583
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
584
|
+
'D2fPDgLUz19PBNb1Da',
|
|
585
|
+
'CxvLDwvK',
|
|
586
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
587
|
+
'y2HLy2TnzxnZywDLCW',
|
|
588
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
589
|
+
'D29YA2vYtw9Kzq',
|
|
590
|
+
'DgfZA0LK',
|
|
591
|
+
'DMLLD19MAwXL',
|
|
592
|
+
'DgvZDa',
|
|
593
|
+
'mc4WlJa'
|
|
1575
594
|
];
|
|
1576
|
-
|
|
1577
|
-
return
|
|
595
|
+
_0x5d96 = function () {
|
|
596
|
+
return _0xaba391;
|
|
597
|
+
};
|
|
598
|
+
return _0x5d96();
|
|
599
|
+
}
|
|
600
|
+
function asErrorMessage(_0x388e81, _0x2ae296) {
|
|
601
|
+
const _0x4615dc = { _0x19cc56: 0x1bc }, _0x3dcf0f = _0x1e865e;
|
|
602
|
+
if (typeof _0x388e81 === _0x3dcf0f(_0x4615dc._0x19cc56) && _0x388e81[_0x3dcf0f(0x1c0)]())
|
|
603
|
+
return _0x388e81;
|
|
604
|
+
return _0x2ae296;
|
|
605
|
+
}
|
|
606
|
+
function asRecord(_0x1095df) {
|
|
607
|
+
const _0x2c9409 = { _0x21d028: 0x1fe }, _0x1b91c8 = _0x1e865e;
|
|
608
|
+
return typeof _0x1095df === _0x1b91c8(_0x2c9409._0x21d028) && _0x1095df !== null ? _0x1095df : {};
|
|
609
|
+
}
|
|
610
|
+
function stableStringify(_0x36b8f9) {
|
|
611
|
+
const _0x5a9919 = { _0x20730d: 0x271 }, _0x471907 = _0x1e865e;
|
|
612
|
+
if (_0x36b8f9 === null || typeof _0x36b8f9 !== _0x471907(0x1fe))
|
|
613
|
+
return JSON[_0x471907(0x2a4)](_0x36b8f9);
|
|
614
|
+
if (Array[_0x471907(0x177)](_0x36b8f9))
|
|
615
|
+
return '[' + _0x36b8f9[_0x471907(0x209)](_0x11b544 => stableStringify(_0x11b544))[_0x471907(0x1d1)](',') + ']';
|
|
616
|
+
const _0x1fd1bc = Object['entries'](_0x36b8f9)[_0x471907(_0x5a9919._0x20730d)](([, _0x2e4838]) => _0x2e4838 !== void 0x0)['sort'](([_0x5665ad], [_0x2a557b]) => _0x5665ad[_0x471907(0x299)](_0x2a557b))['map'](([_0x2e5053, _0x4e9191]) => JSON[_0x471907(0x2a4)](_0x2e5053) + ':' + stableStringify(_0x4e9191));
|
|
617
|
+
return '{' + _0x1fd1bc[_0x471907(0x1d1)](',') + '}';
|
|
618
|
+
}
|
|
619
|
+
function createHeaders(_0x5cf93f) {
|
|
620
|
+
const _0x2b7ac1 = _0x1e865e;
|
|
621
|
+
return {
|
|
622
|
+
'Content-Type': _0x2b7ac1(0x1b7),
|
|
623
|
+
'x-daemon-api-key': _0x5cf93f
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
function toHttpBaseUrl(_0x438350) {
|
|
627
|
+
const _0x1a3212 = { _0x5ad75a: 0x159 }, _0x2d6532 = _0x1e865e, _0x28430a = new URL(_0x438350);
|
|
628
|
+
if (_0x28430a[_0x2d6532(0x159)] === 'ws:')
|
|
629
|
+
_0x28430a[_0x2d6532(0x159)] = _0x2d6532(0x23e);
|
|
630
|
+
else
|
|
631
|
+
_0x28430a[_0x2d6532(_0x1a3212._0x5ad75a)] === 'wss:' && (_0x28430a[_0x2d6532(_0x1a3212._0x5ad75a)] = _0x2d6532(0x291));
|
|
632
|
+
return _0x28430a[_0x2d6532(0x1a0)]()[_0x2d6532(0x1a7)](/\/$/, '');
|
|
633
|
+
}
|
|
634
|
+
function isMentionBoundary(_0x1e9bfd) {
|
|
635
|
+
const _0x460642 = _0x1e865e;
|
|
636
|
+
return !_0x1e9bfd || /\s|[([{'",。!?、:;]/[_0x460642(0x289)](_0x1e9bfd);
|
|
637
|
+
}
|
|
638
|
+
function isMentionTerminal(_0x30caab) {
|
|
639
|
+
const _0x61664e = { _0x2886de: 0x289 }, _0x408f6c = _0x1e865e;
|
|
640
|
+
return !_0x30caab || /\s|[)\]}'",。!?、:;,.!?]/[_0x408f6c(_0x61664e._0x2886de)](_0x30caab);
|
|
641
|
+
}
|
|
642
|
+
function buildMatchableEntries(_0x487e4e) {
|
|
643
|
+
const _0x3f1e84 = {
|
|
644
|
+
_0x4fe433: 0x217,
|
|
645
|
+
_0x700ea4: 0x160,
|
|
646
|
+
_0x2bf6bd: 0x215
|
|
647
|
+
}, _0x13565f = _0x1e865e, _0x1cddb6 = [];
|
|
648
|
+
for (const _0xe272c8 of [
|
|
649
|
+
..._0x487e4e[_0x13565f(0x274)],
|
|
650
|
+
..._0x487e4e[_0x13565f(_0x3f1e84._0x4fe433)]
|
|
651
|
+
]) {
|
|
652
|
+
_0x1cddb6[_0x13565f(0x1f4)]({
|
|
653
|
+
'matchName': _0xe272c8[_0x13565f(_0x3f1e84._0x700ea4)],
|
|
654
|
+
'matchNameLower': _0xe272c8[_0x13565f(0x160)][_0x13565f(0x215)](),
|
|
655
|
+
'participantId': _0xe272c8['id']
|
|
656
|
+
}), _0xe272c8['id'] !== _0xe272c8[_0x13565f(0x160)] && _0x1cddb6[_0x13565f(0x1f4)]({
|
|
657
|
+
'matchName': _0xe272c8['id'],
|
|
658
|
+
'matchNameLower': _0xe272c8['id'][_0x13565f(_0x3f1e84._0x2bf6bd)](),
|
|
659
|
+
'participantId': _0xe272c8['id']
|
|
660
|
+
});
|
|
661
|
+
}
|
|
662
|
+
return _0x1cddb6;
|
|
663
|
+
}
|
|
664
|
+
function extractMentionedParticipantIds(_0x3de5be, _0x8c9ef3) {
|
|
665
|
+
const _0x40d5af = {
|
|
666
|
+
_0x2ad045: 0x1f7,
|
|
667
|
+
_0x168000: 0x198,
|
|
668
|
+
_0x5b6a0a: 0x213,
|
|
669
|
+
_0x248136: 0x1cc,
|
|
670
|
+
_0xe1c55e: 0x1f4,
|
|
671
|
+
_0x1c499c: 0x1ca,
|
|
672
|
+
_0x2d0697: 0x198
|
|
673
|
+
}, _0x293818 = { _0x43038d: 0x198 }, _0xf1a0d1 = _0x1e865e, _0x3d3b60 = buildMatchableEntries(_0x8c9ef3)[_0xf1a0d1(_0x40d5af._0x2ad045)]((_0x47734a, _0x2aa794) => _0x2aa794['matchName'][_0xf1a0d1(0x198)] - _0x47734a[_0xf1a0d1(0x1ca)][_0xf1a0d1(0x198)]), _0x38f4ab = [], _0x5eae5e = new Set();
|
|
674
|
+
for (let _0x4cba93 = 0x0; _0x4cba93 < _0x3de5be[_0xf1a0d1(_0x40d5af._0x168000)]; _0x4cba93 += 0x1) {
|
|
675
|
+
if (_0x3de5be[_0x4cba93] !== '@' || !isMentionBoundary(_0x3de5be[_0x4cba93 - 0x1]))
|
|
676
|
+
continue;
|
|
677
|
+
const _0x499b7a = _0x3de5be['slice'](_0x4cba93 + 0x1), _0x546a69 = _0x499b7a[_0xf1a0d1(0x215)](), _0x3d77f2 = _0x3d3b60['find'](_0x2e5f7b => {
|
|
678
|
+
const _0x44d54c = _0xf1a0d1;
|
|
679
|
+
if (!_0x546a69[_0x44d54c(0x1a4)](_0x2e5f7b[_0x44d54c(0x2b9)]))
|
|
680
|
+
return ![];
|
|
681
|
+
return isMentionTerminal(_0x499b7a[_0x2e5f7b['matchName'][_0x44d54c(_0x293818._0x43038d)]]);
|
|
682
|
+
});
|
|
683
|
+
if (!_0x3d77f2 || _0x5eae5e[_0xf1a0d1(_0x40d5af._0x5b6a0a)](_0x3d77f2[_0xf1a0d1(0x171)]))
|
|
684
|
+
continue;
|
|
685
|
+
_0x5eae5e[_0xf1a0d1(_0x40d5af._0x248136)](_0x3d77f2[_0xf1a0d1(0x171)]), _0x38f4ab[_0xf1a0d1(_0x40d5af._0xe1c55e)](_0x3d77f2[_0xf1a0d1(0x171)]), _0x4cba93 += _0x3d77f2[_0xf1a0d1(_0x40d5af._0x1c499c)][_0xf1a0d1(_0x40d5af._0x2d0697)];
|
|
686
|
+
}
|
|
687
|
+
return _0x38f4ab;
|
|
688
|
+
}
|
|
689
|
+
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
690
|
+
function anySignal(..._0x2eb1eb) {
|
|
691
|
+
const _0x3532e7 = {
|
|
692
|
+
_0x335bb5: 0x272,
|
|
693
|
+
_0x1f0647: 0x18f
|
|
694
|
+
}, _0x4a01dc = _0x1e865e, _0x52b0fa = new AbortController();
|
|
695
|
+
for (const _0x33e679 of _0x2eb1eb) {
|
|
696
|
+
if (_0x33e679[_0x4a01dc(0x1f5)])
|
|
697
|
+
return _0x52b0fa[_0x4a01dc(0x2bc)](_0x33e679[_0x4a01dc(_0x3532e7._0x335bb5)]), _0x52b0fa[_0x4a01dc(_0x3532e7._0x1f0647)];
|
|
698
|
+
_0x33e679[_0x4a01dc(0x22c)](_0x4a01dc(0x2bc), () => _0x52b0fa[_0x4a01dc(0x2bc)](_0x33e679['reason']), {
|
|
699
|
+
'once': !![],
|
|
700
|
+
'signal': _0x52b0fa[_0x4a01dc(_0x3532e7._0x1f0647)]
|
|
701
|
+
});
|
|
702
|
+
}
|
|
703
|
+
return _0x52b0fa['signal'];
|
|
704
|
+
}
|
|
705
|
+
function _0x9c1d(_0x2a393b, _0x1fd20b) {
|
|
706
|
+
_0x2a393b = _0x2a393b - 0x14e;
|
|
707
|
+
const _0x5d966d = _0x5d96();
|
|
708
|
+
let _0x9c1dfc = _0x5d966d[_0x2a393b];
|
|
709
|
+
if (_0x9c1d['PyrAJh'] === undefined) {
|
|
710
|
+
var _0x1e024e = function (_0xa25be9) {
|
|
711
|
+
const _0x196eab = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
712
|
+
let _0x2974da = '', _0xbd05e4 = '';
|
|
713
|
+
for (let _0x1b6919 = 0x0, _0x40af45, _0x5ebbca, _0x2f113c = 0x0; _0x5ebbca = _0xa25be9['charAt'](_0x2f113c++); ~_0x5ebbca && (_0x40af45 = _0x1b6919 % 0x4 ? _0x40af45 * 0x40 + _0x5ebbca : _0x5ebbca, _0x1b6919++ % 0x4) ? _0x2974da += String['fromCharCode'](0xff & _0x40af45 >> (-0x2 * _0x1b6919 & 0x6)) : 0x0) {
|
|
714
|
+
_0x5ebbca = _0x196eab['indexOf'](_0x5ebbca);
|
|
715
|
+
}
|
|
716
|
+
for (let _0x1718a8 = 0x0, _0x3e5ca4 = _0x2974da['length']; _0x1718a8 < _0x3e5ca4; _0x1718a8++) {
|
|
717
|
+
_0xbd05e4 += '%' + ('00' + _0x2974da['charCodeAt'](_0x1718a8)['toString'](0x10))['slice'](-0x2);
|
|
718
|
+
}
|
|
719
|
+
return decodeURIComponent(_0xbd05e4);
|
|
720
|
+
};
|
|
721
|
+
_0x9c1d['GDyPva'] = _0x1e024e, _0x9c1d['UToLDA'] = {}, _0x9c1d['PyrAJh'] = !![];
|
|
722
|
+
}
|
|
723
|
+
const _0x1db0c0 = _0x5d966d[0x0], _0x52ab18 = _0x2a393b + _0x1db0c0, _0x1a2647 = _0x9c1d['UToLDA'][_0x52ab18];
|
|
724
|
+
return !_0x1a2647 ? (_0x9c1dfc = _0x9c1d['GDyPva'](_0x9c1dfc), _0x9c1d['UToLDA'][_0x52ab18] = _0x9c1dfc) : _0x9c1dfc = _0x1a2647, _0x9c1dfc;
|
|
725
|
+
}
|
|
726
|
+
function createInternalAgentClient(_0x10fadd) {
|
|
727
|
+
const _0x16e0bd = {
|
|
728
|
+
_0xfb773d: 0x21c,
|
|
729
|
+
_0x3ec066: 0x1c0
|
|
730
|
+
}, _0xef03fa = {
|
|
731
|
+
_0x44e2ee: 0x28f,
|
|
732
|
+
_0x3afb94: 0x2a7,
|
|
733
|
+
_0x1b610d: 0x247,
|
|
734
|
+
_0xddc3fc: 0x1b5,
|
|
735
|
+
_0x3faa9e: 0x198,
|
|
736
|
+
_0x532893: 0x192,
|
|
737
|
+
_0x5e65f3: 0x209,
|
|
738
|
+
_0x34ca7e: 0x190,
|
|
739
|
+
_0x30662c: 0x209,
|
|
740
|
+
_0x2361b8: 0x1fc,
|
|
741
|
+
_0x27f307: 0x2ac,
|
|
742
|
+
_0x5b6eae: 0x2a9,
|
|
743
|
+
_0x2b4399: 0x1bc,
|
|
744
|
+
_0x1e25bd: 0x1a2,
|
|
745
|
+
_0x39fe24: 0x21c,
|
|
746
|
+
_0x18561a: 0x1a2,
|
|
747
|
+
_0x4a0a1c: 0x2a8,
|
|
748
|
+
_0x13f11a: 0x1a2,
|
|
749
|
+
_0x3d9895: 0x2d1,
|
|
750
|
+
_0x1a7e42: 0x191,
|
|
751
|
+
_0x13db3f: 0x2a8,
|
|
752
|
+
_0x8b63db: 0x2dc,
|
|
753
|
+
_0x2469d8: 0x160,
|
|
754
|
+
_0x4675db: 0x2dc,
|
|
755
|
+
_0xc61f40: 0x1f4,
|
|
756
|
+
_0x17ce51: 0x2ba,
|
|
757
|
+
_0x1f781c: 0x1bc,
|
|
758
|
+
_0x16f248: 0x2ba,
|
|
759
|
+
_0x373434: 0x2ba
|
|
760
|
+
}, _0x50c598 = {
|
|
761
|
+
_0x461a8e: 0x2ac,
|
|
762
|
+
_0x25ffe2: 0x1bc,
|
|
763
|
+
_0x2e5d05: 0x213
|
|
764
|
+
}, _0x2d4a03 = {
|
|
765
|
+
_0x424d4e: 0x1f3,
|
|
766
|
+
_0x123ff5: 0x2ac,
|
|
767
|
+
_0x3d3eff: 0x2a9
|
|
768
|
+
}, _0x65940a = {
|
|
769
|
+
_0x374431: 0x1ac,
|
|
770
|
+
_0x494a86: 0x1b9,
|
|
771
|
+
_0x2a7989: 0x2a6,
|
|
772
|
+
_0x305887: 0x18f,
|
|
773
|
+
_0x3252a4: 0x275,
|
|
774
|
+
_0x42ef8d: 0x182,
|
|
775
|
+
_0x27d5bd: 0x1af
|
|
776
|
+
}, _0x308e17 = {
|
|
777
|
+
_0x241b37: 0x2a9,
|
|
778
|
+
_0x34fdf: 0x2a7,
|
|
779
|
+
_0x58ed62: 0x264,
|
|
780
|
+
_0x19a9e7: 0x2e0,
|
|
781
|
+
_0xb1ed11: 0x232,
|
|
782
|
+
_0x4faf0d: 0x2d2,
|
|
783
|
+
_0xed121f: 0x182,
|
|
784
|
+
_0x4b0d6d: 0x1b1
|
|
785
|
+
}, _0x1d4482 = {
|
|
786
|
+
_0x330e9d: 0x2c4,
|
|
787
|
+
_0x3e156d: 0x2a4
|
|
788
|
+
}, _0x3fee09 = {
|
|
789
|
+
_0x2495e2: 0x2a4,
|
|
790
|
+
_0xc29ee1: 0x188
|
|
791
|
+
}, _0x101fee = {
|
|
792
|
+
_0x460ddc: 0x264,
|
|
793
|
+
_0x5f0dd6: 0x26d,
|
|
794
|
+
_0x2e5dcc: 0x2d9
|
|
795
|
+
}, _0x8555c6 = {
|
|
796
|
+
_0x1c03a8: 0x2a4,
|
|
797
|
+
_0x56ad98: 0x1a8
|
|
798
|
+
}, _0x510621 = {
|
|
799
|
+
_0x23c458: 0x2ad,
|
|
800
|
+
_0x471b8e: 0x2a7,
|
|
801
|
+
_0x1f65e7: 0x1b9
|
|
802
|
+
}, _0x52418c = {
|
|
803
|
+
_0x40db17: 0x185,
|
|
804
|
+
_0xae9d37: 0x226,
|
|
805
|
+
_0x29b4c7: 0x1f6,
|
|
806
|
+
_0x3c2704: 0x1d6,
|
|
807
|
+
_0x41ccaa: 0x2ad
|
|
808
|
+
}, _0x19bb39 = {
|
|
809
|
+
_0x39b809: 0x185,
|
|
810
|
+
_0x8b3daf: 0x1d6,
|
|
811
|
+
_0x4acc3f: 0x20a
|
|
812
|
+
}, _0x5a1afa = { _0x3a6b7a: 0x182 }, _0x3e85fa = {
|
|
813
|
+
_0x519dcb: 0x232,
|
|
814
|
+
_0x277078: 0x2cf,
|
|
815
|
+
_0x3e9f18: 0x1eb,
|
|
816
|
+
_0x436a3c: 0x2cf,
|
|
817
|
+
_0x1a3b67: 0x264,
|
|
818
|
+
_0x28e806: 0x2cf,
|
|
819
|
+
_0x3818ce: 0x2a9,
|
|
820
|
+
_0xe06b4: 0x1d6
|
|
821
|
+
}, _0x1e2c34 = {
|
|
822
|
+
_0x219481: 0x1e6,
|
|
823
|
+
_0x428204: 0x2a9,
|
|
824
|
+
_0x25daad: 0x28f,
|
|
825
|
+
_0x2efcba: 0x2ac,
|
|
826
|
+
_0x4caa95: 0x2ac,
|
|
827
|
+
_0x5f4c7f: 0x2ac,
|
|
828
|
+
_0xc495ec: 0x1f3,
|
|
829
|
+
_0x27486e: 0x2d0,
|
|
830
|
+
_0x1b519c: 0x264,
|
|
831
|
+
_0x4aee22: 0x1c2,
|
|
832
|
+
_0xf9663e: 0x1a0,
|
|
833
|
+
_0x2376ba: 0x247
|
|
834
|
+
}, _0x1a3099 = {
|
|
835
|
+
_0x4979fc: 0x16b,
|
|
836
|
+
_0x5b3185: 0x171
|
|
837
|
+
}, _0x5baa04 = {
|
|
838
|
+
_0x505327: 0x2ba,
|
|
839
|
+
_0x503013: 0x1de,
|
|
840
|
+
_0x367b7b: 0x2d1,
|
|
841
|
+
_0x3aa5a3: 0x2d1,
|
|
842
|
+
_0x52698d: 0x279,
|
|
843
|
+
_0x929ed4: 0x2a9,
|
|
844
|
+
_0x82dea: 0x2a9,
|
|
845
|
+
_0x9fa142: 0x1a4
|
|
846
|
+
}, _0x593225 = {
|
|
847
|
+
_0x1b4ddc: 0x1a2,
|
|
848
|
+
_0x3f3e68: 0x1a9,
|
|
849
|
+
_0xaac78d: 0x1a9,
|
|
850
|
+
_0x5ddbec: 0x2d1,
|
|
851
|
+
_0x171f0b: 0x2a9
|
|
852
|
+
}, _0x3b9eed = { _0x497e6b: 0x274 }, _0x37d591 = {
|
|
853
|
+
_0x350609: 0x28e,
|
|
854
|
+
_0x770266: 0x2b5
|
|
855
|
+
}, _0x127f2a = {
|
|
856
|
+
_0x4ee9d7: 0x264,
|
|
857
|
+
_0x3efb06: 0x182,
|
|
858
|
+
_0x229144: 0x182
|
|
859
|
+
}, _0x48d815 = {
|
|
860
|
+
_0x30db1e: 0x1d6,
|
|
861
|
+
_0x53d203: 0x265
|
|
862
|
+
}, _0x7be2da = { _0x4f8325: 0x18f }, _0xbb0e55 = {
|
|
863
|
+
_0x15b3b8: 0x18f,
|
|
864
|
+
_0x5ce51a: 0x226,
|
|
865
|
+
_0x47a61b: 0x2ad
|
|
866
|
+
}, _0x3fa2c1 = {
|
|
867
|
+
_0x587f49: 0x2b4,
|
|
868
|
+
_0x31f421: 0x19f,
|
|
869
|
+
_0x4c2b08: 0x1cd,
|
|
870
|
+
_0x39cd35: 0x2c7,
|
|
871
|
+
_0x1b2bd1: 0x251
|
|
872
|
+
}, _0x58d8fb = {
|
|
873
|
+
_0x3dbb56: 0x275,
|
|
874
|
+
_0x362e30: 0x1bb,
|
|
875
|
+
_0xe34b9f: 0x268
|
|
876
|
+
}, _0x267f14 = {
|
|
877
|
+
_0x11bdf8: 0x253,
|
|
878
|
+
_0x4855c0: 0x1e1,
|
|
879
|
+
_0x2b7cf9: 0x2dc,
|
|
880
|
+
_0x5bce59: 0x27b,
|
|
881
|
+
_0x43c7fb: 0x1ed,
|
|
882
|
+
_0x4dc578: 0x26a,
|
|
883
|
+
_0x3a8869: 0x1ae,
|
|
884
|
+
_0x2b07db: 0x2ad,
|
|
885
|
+
_0x2774f3: 0x285
|
|
886
|
+
}, _0x3e6ba3 = _0x1e865e, _0x3ede2d = _0x10fadd['fetchImpl'] ?? fetch, _0x55cb1f = _0x10fadd['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1493de = typeof _0x10fadd['initialLastSeenSeq'] === _0x3e6ba3(_0x16e0bd._0xfb773d) && _0x10fadd['initialLastSeenSeq'] > 0x0 ? _0x10fadd[_0x3e6ba3(0x2cc)] : 0x0, _0x3907eb = _0x10fadd[_0x3e6ba3(0x29c)]?.[_0x3e6ba3(_0x16e0bd._0x3ec066)]() || void 0x0, _0x18f930 = _0x10fadd['sessionId']?.[_0x3e6ba3(_0x16e0bd._0x3ec066)]() || void 0x0, _0x3c15f9 = _0x10fadd[_0x3e6ba3(0x260)] === !![], _0x17dd87 = _0x10fadd['workerSessionId']?.[_0x3e6ba3(0x1c0)]() || void 0x0, _0x40bb70 = _0x10fadd[_0x3e6ba3(0x24b)]?.['trim']() || void 0x0, _0x54c31e = createHeaders(_0x10fadd[_0x3e6ba3(0x15b)]), _0x556da7 = toHttpBaseUrl(_0x10fadd['serverUrl']);
|
|
887
|
+
let _0x2c0c14 = null;
|
|
888
|
+
const _0x5c841e = new Map();
|
|
889
|
+
let _0x491264 = _0x1493de, _0x1706aa = _0x1493de;
|
|
890
|
+
function _0x2c05e3(_0x529c3e) {
|
|
891
|
+
const _0x27f14a = _0x3e6ba3, _0x5eb141 = _0x529c3e[_0x27f14a(_0x267f14._0x11bdf8)][_0x27f14a(_0x267f14._0x4855c0)][_0x27f14a(_0x267f14._0x2b7cf9)](_0x27f14a(_0x267f14._0x5bce59)) ?? _0x27f14a(_0x267f14._0x43c7fb), _0x4689e4 = _0x529c3e[_0x27f14a(_0x267f14._0x4dc578)]['trim']()['replace'](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0x27f14a(0x294);
|
|
892
|
+
return _0x27f14a(_0x267f14._0x3a8869) + _0x529c3e[_0x27f14a(0x1b6)] + _0x27f14a(0x214) + _0x529c3e[_0x27f14a(_0x267f14._0x11bdf8)][_0x27f14a(_0x267f14._0x2b07db)] + _0x27f14a(0x280) + _0x5eb141 + ',\x20preview=' + _0x4689e4 + _0x27f14a(_0x267f14._0x2774f3);
|
|
893
|
+
}
|
|
894
|
+
async function _0x18caad(_0x68ef7b, _0x7783fe) {
|
|
895
|
+
const _0x1788e8 = _0x3e6ba3, _0x3b17e4 = Buffer[_0x1788e8(_0x58d8fb._0x3dbb56)](await _0x7783fe[_0x1788e8(_0x58d8fb._0x362e30)]())['toString'](_0x1788e8(_0x58d8fb._0xe34b9f));
|
|
896
|
+
if (!_0x3b17e4[_0x1788e8(0x1c0)]())
|
|
897
|
+
return {};
|
|
898
|
+
try {
|
|
899
|
+
return JSON[_0x1788e8(0x1b4)](_0x3b17e4);
|
|
900
|
+
} catch {
|
|
901
|
+
throw new Error(_0x2c05e3({
|
|
902
|
+
'bodyText': _0x3b17e4,
|
|
903
|
+
'requestUrl': _0x68ef7b,
|
|
904
|
+
'response': _0x7783fe
|
|
905
|
+
}));
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
function _0x341566(_0x527165, _0x5ec242) {
|
|
909
|
+
const _0xd3c257 = _0x3e6ba3, _0x16a8eb = typeof _0x5ec242[_0xd3c257(_0x3fa2c1._0x587f49)] === _0xd3c257(0x1bc) ? _0x5ec242[_0xd3c257(0x2b4)][_0xd3c257(0x1c0)]() : '';
|
|
910
|
+
if (_0x16a8eb)
|
|
911
|
+
return _0x16a8eb;
|
|
912
|
+
const _0x50233a = Date[_0xd3c257(_0x3fa2c1._0x31f421)]();
|
|
913
|
+
for (const [_0x4b0025, _0x14461c] of _0x5c841e) {
|
|
914
|
+
_0x14461c['expiresAt'] <= _0x50233a && _0x5c841e[_0xd3c257(0x2a3)](_0x4b0025);
|
|
915
|
+
}
|
|
916
|
+
const _0xd2b65d = {
|
|
917
|
+
..._0x5ec242,
|
|
918
|
+
'idempotency_key': void 0x0
|
|
919
|
+
}, _0x4cb2a4 = createHash(_0xd3c257(_0x3fa2c1._0x4c2b08))[_0xd3c257(_0x3fa2c1._0x39cd35)](_0x527165 + ':' + stableStringify(_0xd2b65d))['digest'](_0xd3c257(0x1ee)), _0x2aa7fa = _0x527165 + ':' + _0x4cb2a4, _0x4618f4 = _0x5c841e[_0xd3c257(0x2dc)](_0x2aa7fa);
|
|
920
|
+
if (_0x4618f4)
|
|
921
|
+
return _0x4618f4[_0xd3c257(0x259)];
|
|
922
|
+
const _0x3a043f = _0xd3c257(_0x3fa2c1._0x1b2bd1) + _0x527165 + ':' + randomUUID();
|
|
923
|
+
return _0x5c841e['set'](_0x2aa7fa, {
|
|
924
|
+
'expiresAt': _0x50233a + 0x5 * 0x3c * 0x3e8,
|
|
925
|
+
'value': _0x3a043f
|
|
926
|
+
}), _0x3a043f;
|
|
927
|
+
}
|
|
928
|
+
async function _0x5425cd(_0x55cb78, _0x43dfc9) {
|
|
929
|
+
const _0x510bae = _0x3e6ba3, _0x5cde01 = new AbortController(), _0x5a4655 = setTimeout(() => _0x5cde01['abort'](), _0x55cb1f), _0x8dbaca = _0x43dfc9?.[_0x510bae(_0xbb0e55._0x15b3b8)] ? anySignal(_0x43dfc9[_0x510bae(0x18f)], _0x5cde01[_0x510bae(0x18f)]) : _0x5cde01['signal'], _0x137e6d = '' + _0x556da7 + _0x55cb78;
|
|
930
|
+
try {
|
|
931
|
+
const _0x5bfd1b = await _0x3ede2d(_0x137e6d, {
|
|
932
|
+
..._0x43dfc9,
|
|
933
|
+
'signal': _0x8dbaca
|
|
934
|
+
}), _0x422297 = await _0x18caad(_0x137e6d, _0x5bfd1b);
|
|
935
|
+
if (!_0x5bfd1b['ok'] || _0x422297[_0x510bae(0x155)] === ![])
|
|
936
|
+
throw new Error(asErrorMessage(_0x422297[_0x510bae(_0xbb0e55._0x5ce51a)], 'HTTP\x20' + _0x5bfd1b[_0x510bae(_0xbb0e55._0x47a61b)]));
|
|
937
|
+
return _0x422297;
|
|
938
|
+
} finally {
|
|
939
|
+
clearTimeout(_0x5a4655);
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
async function _0x1dd566(_0x422a77, _0x3b1f63) {
|
|
943
|
+
const _0x5730a6 = _0x3e6ba3, _0x4b0e32 = new AbortController(), _0x49d3a8 = setTimeout(() => _0x4b0e32['abort'](), _0x55cb1f), _0x16526b = _0x3b1f63?.[_0x5730a6(0x18f)] ? anySignal(_0x3b1f63['signal'], _0x4b0e32[_0x5730a6(_0x7be2da._0x4f8325)]) : _0x4b0e32['signal'], _0x4b7507 = '' + _0x556da7 + _0x422a77;
|
|
944
|
+
try {
|
|
945
|
+
const _0x79d2eb = await _0x3ede2d(_0x4b7507, {
|
|
946
|
+
..._0x3b1f63,
|
|
947
|
+
'signal': _0x16526b
|
|
948
|
+
}), _0x4a0e5c = await _0x18caad(_0x4b7507, _0x79d2eb);
|
|
949
|
+
if (!_0x79d2eb['ok'])
|
|
950
|
+
throw new Error(asErrorMessage(_0x4a0e5c[_0x5730a6(0x226)], _0x5730a6(0x265) + _0x79d2eb[_0x5730a6(0x2ad)]));
|
|
951
|
+
return _0x4a0e5c;
|
|
952
|
+
} finally {
|
|
953
|
+
clearTimeout(_0x49d3a8);
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
async function _0x30e23a(_0x2cf027) {
|
|
957
|
+
const _0xc771ee = _0x3e6ba3;
|
|
958
|
+
if (!_0x18f930 || _0x2cf027 <= _0x1706aa)
|
|
959
|
+
return;
|
|
960
|
+
await _0x5425cd('/api/agent-sessions/' + encodeURIComponent(_0x18f930) + _0xc771ee(0x152), {
|
|
961
|
+
'body': JSON[_0xc771ee(0x2a4)]({ 'lastSeenSeq': _0x2cf027 }),
|
|
962
|
+
'headers': _0x54c31e,
|
|
963
|
+
'method': 'PATCH'
|
|
964
|
+
}), _0x1706aa = _0x2cf027;
|
|
965
|
+
}
|
|
966
|
+
async function _0xe5de36(_0x1c9a4c) {
|
|
967
|
+
const _0x476d56 = _0x3e6ba3;
|
|
968
|
+
if (!_0x3907eb || !_0x17dd87 || _0x1c9a4c <= _0x1706aa)
|
|
969
|
+
return;
|
|
970
|
+
const _0x53bbaf = await _0x3ede2d(_0x3907eb + '/workers/context-metrics', {
|
|
971
|
+
'body': JSON[_0x476d56(0x2a4)]({
|
|
972
|
+
'last_seen_seq': _0x1c9a4c,
|
|
973
|
+
'worker_session_id': _0x17dd87
|
|
974
|
+
}),
|
|
975
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
976
|
+
'method': _0x476d56(_0x48d815._0x30db1e)
|
|
977
|
+
});
|
|
978
|
+
if (!_0x53bbaf['ok'])
|
|
979
|
+
throw new Error(_0x476d56(_0x48d815._0x53d203) + _0x53bbaf['status']);
|
|
980
|
+
_0x1706aa = _0x1c9a4c;
|
|
981
|
+
}
|
|
982
|
+
async function _0x36c1f3(_0x5347d6) {
|
|
983
|
+
const _0x5cbbe1 = _0x3e6ba3, _0x25bc8b = parseTarget(_0x5347d6), _0x576f24 = await _0x5425cd(_0x5cbbe1(0x2a7) + _0x10fadd[_0x5cbbe1(_0x127f2a._0x4ee9d7)] + '/resolve-channel', {
|
|
984
|
+
'body': JSON[_0x5cbbe1(0x2a4)]({ 'target': _0x25bc8b['target'] }),
|
|
985
|
+
'headers': _0x54c31e,
|
|
986
|
+
'method': 'POST'
|
|
987
|
+
});
|
|
988
|
+
return {
|
|
989
|
+
'channelId': _0x576f24[_0x5cbbe1(_0x127f2a._0x3efb06)]?.[_0x5cbbe1(0x2ac)] ?? '',
|
|
990
|
+
'target': _0x25bc8b[_0x5cbbe1(0x1a9)],
|
|
991
|
+
'task': _0x576f24['data']?.[_0x5cbbe1(0x263)],
|
|
992
|
+
'threadId': _0x576f24[_0x5cbbe1(_0x127f2a._0x3efb06)]?.['threadId'],
|
|
993
|
+
'threadNumber': _0x576f24[_0x5cbbe1(_0x127f2a._0x229144)]?.['threadNumber']
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
async function _0x113e03(_0x1a6b9f = {}) {
|
|
997
|
+
const _0x43a847 = {
|
|
998
|
+
_0x258aba: 0x166,
|
|
999
|
+
_0x36d333: 0x271,
|
|
1000
|
+
_0x30c4b0: 0x271,
|
|
1001
|
+
_0x3467d1: 0x25b,
|
|
1002
|
+
_0xb84091: 0x27a,
|
|
1003
|
+
_0x19ae18: 0x160
|
|
1004
|
+
}, _0x10c342 = _0x3e6ba3;
|
|
1005
|
+
if (!_0x1a6b9f[_0x10c342(_0x37d591._0x350609)] && _0x2c0c14)
|
|
1006
|
+
return _0x2c0c14;
|
|
1007
|
+
return _0x2c0c14 = (async () => {
|
|
1008
|
+
const _0x1d1930 = _0x10c342, _0x38ba2a = await _0x5425cd(_0x1d1930(0x2a7) + _0x10fadd[_0x1d1930(0x264)] + _0x1d1930(0x1e4), {
|
|
1009
|
+
'headers': _0x54c31e,
|
|
1010
|
+
'method': _0x1d1930(0x1b9)
|
|
1011
|
+
}), _0x498e1a = _0x38ba2a[_0x1d1930(0x182)]?.[_0x1d1930(_0x43a847._0x258aba)] ?? [], _0x229fe5 = _0x498e1a[_0x1d1930(_0x43a847._0x36d333)](_0x3a47df => _0x3a47df[_0x1d1930(0x2de)]?.[_0x1d1930(0x211)] === _0x1d1930(0x154))[_0x1d1930(0x209)](_0x2d6bf4 => ({
|
|
1012
|
+
'id': _0x518ee5(_0x2d6bf4),
|
|
1013
|
+
'name': _0x2403d3(_0x2d6bf4)
|
|
1014
|
+
}))[_0x1d1930(_0x43a847._0x30c4b0)](_0xf79258 => _0xf79258['id']), _0x4fa604 = _0x498e1a[_0x1d1930(0x271)](_0x424a5a => _0x424a5a[_0x1d1930(0x2de)]?.[_0x1d1930(0x211)] !== _0x1d1930(0x154))['map'](_0x3054df => ({
|
|
1015
|
+
'id': _0x518ee5(_0x3054df),
|
|
1016
|
+
'name': _0x2403d3(_0x3054df)
|
|
1017
|
+
}))['filter'](_0x890eeb => _0x890eeb['id']), _0x31ed56 = _0x38ba2a['data']?.[_0x1d1930(0x27a)]['id'] ?? '';
|
|
1018
|
+
return {
|
|
1019
|
+
'agents': _0x229fe5,
|
|
1020
|
+
'channels': _0x38ba2a[_0x1d1930(0x182)]?.[_0x1d1930(_0x43a847._0x3467d1)] ?? [],
|
|
1021
|
+
'humans': _0x4fa604,
|
|
1022
|
+
'serverId': _0x31ed56,
|
|
1023
|
+
'serverName': _0x38ba2a[_0x1d1930(0x182)]?.[_0x1d1930(_0x43a847._0xb84091)][_0x1d1930(_0x43a847._0x19ae18)] ?? _0x31ed56
|
|
1024
|
+
};
|
|
1025
|
+
})()[_0x10c342(_0x37d591._0x770266)](_0x1cf2f5 => {
|
|
1026
|
+
_0x2c0c14 = null;
|
|
1027
|
+
throw _0x1cf2f5;
|
|
1028
|
+
}), _0x2c0c14;
|
|
1029
|
+
}
|
|
1030
|
+
function _0x242aec(_0x4256db, _0x29478d) {
|
|
1031
|
+
const _0xf6d801 = _0x3e6ba3;
|
|
1032
|
+
return _0x29478d[_0xf6d801(_0x3b9eed._0x497e6b)]['some'](_0x393a48 => _0x393a48['id'] === _0x4256db || _0x393a48[_0xf6d801(0x160)] === _0x4256db) ? _0xf6d801(0x154) : _0xf6d801(0x2b8);
|
|
1033
|
+
}
|
|
1034
|
+
function _0x1b2d20(_0x341aef) {
|
|
1035
|
+
const _0x424a2c = _0x3e6ba3;
|
|
1036
|
+
if (_0x341aef[_0x424a2c(_0x593225._0x1b4ddc)] != null)
|
|
1037
|
+
return _0x341aef[_0x424a2c(_0x593225._0x3f3e68)] + ':t' + _0x341aef[_0x424a2c(_0x593225._0x1b4ddc)];
|
|
1038
|
+
if (_0x341aef[_0x424a2c(0x2d1)])
|
|
1039
|
+
return _0x341aef[_0x424a2c(_0x593225._0xaac78d)] + ':' + _0x341aef[_0x424a2c(_0x593225._0x5ddbec)];
|
|
1040
|
+
if (_0x341aef[_0x424a2c(0x2a9)])
|
|
1041
|
+
return _0x341aef[_0x424a2c(0x1a9)] + ':' + _0x341aef[_0x424a2c(_0x593225._0x171f0b)]['slice'](0x0, 0x8);
|
|
1042
|
+
return _0x341aef[_0x424a2c(0x1a9)];
|
|
1043
|
+
}
|
|
1044
|
+
function _0x43744f(_0x24eea7, _0x2cc3e5) {
|
|
1045
|
+
const _0x5b949b = _0x3e6ba3;
|
|
1046
|
+
try {
|
|
1047
|
+
const _0x1afe61 = parseTarget(_0x24eea7);
|
|
1048
|
+
if (_0x1afe61[_0x5b949b(_0x5baa04._0x505327)] !== _0x5b949b(_0x5baa04._0x503013) || _0x1afe61[_0x5b949b(0x1a9)] !== _0x2cc3e5[_0x5b949b(0x1a9)])
|
|
1049
|
+
return ![];
|
|
1050
|
+
if (_0x2cc3e5[_0x5b949b(0x1a2)] != null && _0x1afe61['threadShortId'] === 't' + _0x2cc3e5[_0x5b949b(0x1a2)])
|
|
1051
|
+
return !![];
|
|
1052
|
+
if (_0x2cc3e5[_0x5b949b(_0x5baa04._0x367b7b)])
|
|
1053
|
+
return _0x1afe61['threadShortId'] === _0x2cc3e5['rootMessageId'] || _0x2cc3e5[_0x5b949b(_0x5baa04._0x3aa5a3)]['startsWith'](_0x1afe61[_0x5b949b(_0x5baa04._0x52698d)]);
|
|
1054
|
+
if (_0x2cc3e5[_0x5b949b(_0x5baa04._0x929ed4)])
|
|
1055
|
+
return _0x1afe61['threadShortId'] === _0x2cc3e5[_0x5b949b(0x2a9)] || _0x2cc3e5[_0x5b949b(_0x5baa04._0x82dea)][_0x5b949b(_0x5baa04._0x9fa142)](_0x1afe61['threadShortId']);
|
|
1056
|
+
return ![];
|
|
1057
|
+
} catch {
|
|
1058
|
+
return ![];
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
function _0x518ee5(_0x30b049) {
|
|
1062
|
+
const _0x5c4253 = _0x3e6ba3;
|
|
1063
|
+
return _0x30b049[_0x5c4253(_0x1a3099._0x4979fc)]?.[_0x5c4253(_0x1a3099._0x5b3185)] ?? _0x30b049[_0x5c4253(0x2de)]?.['id'] ?? _0x30b049[_0x5c4253(0x171)] ?? '';
|
|
1064
|
+
}
|
|
1065
|
+
function _0x2403d3(_0x43f3fb) {
|
|
1066
|
+
const _0x17417a = _0x3e6ba3;
|
|
1067
|
+
return _0x43f3fb[_0x17417a(0x2de)]?.[_0x17417a(0x160)] ?? _0x518ee5(_0x43f3fb);
|
|
1068
|
+
}
|
|
1069
|
+
async function _0xb838e2(_0x879481) {
|
|
1070
|
+
const _0x4ba6a7 = _0x3e6ba3, _0x28a1ce = Math[_0x4ba6a7(_0x1e2c34._0x219481)](_0x879481[_0x4ba6a7(0x254)] ?? 0x32, 0x64), _0x36f355 = await _0x113e03(), _0x18d16c = new URLSearchParams();
|
|
1071
|
+
_0x18d16c[_0x4ba6a7(0x28f)]('limit', String(_0x28a1ce));
|
|
1072
|
+
_0x879481[_0x4ba6a7(_0x1e2c34._0x428204)] ? (_0x18d16c['set']('threadId', _0x879481[_0x4ba6a7(0x2a9)]), _0x18d16c[_0x4ba6a7(_0x1e2c34._0x25daad)](_0x4ba6a7(_0x1e2c34._0x2efcba), _0x879481[_0x4ba6a7(_0x1e2c34._0x4caa95)])) : _0x18d16c[_0x4ba6a7(0x28f)](_0x4ba6a7(_0x1e2c34._0x5f4c7f), _0x879481[_0x4ba6a7(0x2ac)]);
|
|
1073
|
+
_0x879481[_0x4ba6a7(_0x1e2c34._0xc495ec)] && _0x18d16c[_0x4ba6a7(_0x1e2c34._0x25daad)](_0x4ba6a7(0x1b5), String(_0x879481[_0x4ba6a7(_0x1e2c34._0xc495ec)]));
|
|
1074
|
+
_0x879481[_0x4ba6a7(0x2d0)] !== void 0x0 && _0x18d16c['set'](_0x4ba6a7(_0x1e2c34._0x27486e), String(_0x879481[_0x4ba6a7(0x2d0)]));
|
|
1075
|
+
const _0x42cb1 = await _0x5425cd('/internal/agent/' + _0x10fadd[_0x4ba6a7(_0x1e2c34._0x1b519c)] + _0x4ba6a7(_0x1e2c34._0x4aee22) + _0x18d16c[_0x4ba6a7(_0x1e2c34._0xf9663e)](), {
|
|
1076
|
+
'headers': _0x54c31e,
|
|
1077
|
+
'method': 'GET'
|
|
1078
|
+
}), _0x38f533 = (_0x42cb1[_0x4ba6a7(0x182)] ?? [])[_0x4ba6a7(0x209)](_0x18c2ae => ({
|
|
1079
|
+
'attachments': (_0x18c2ae[_0x4ba6a7(0x1e3)] ?? [])[_0x4ba6a7(0x209)](_0x37ab29 => ({
|
|
1080
|
+
'filename': _0x37ab29[_0x4ba6a7(0x2d2)] ?? _0x37ab29['id'],
|
|
1081
|
+
'id': _0x37ab29['id']
|
|
1082
|
+
})),
|
|
1083
|
+
'content': _0x18c2ae[_0x4ba6a7(0x295)] ?? '',
|
|
1084
|
+
'createdAt': _0x18c2ae[_0x4ba6a7(0x218)],
|
|
1085
|
+
..._0x18c2ae['kind'] && _0x18c2ae[_0x4ba6a7(0x2ba)] !== 'chat' ? { 'kind': _0x18c2ae[_0x4ba6a7(0x2ba)] } : {},
|
|
1086
|
+
'messageId': _0x18c2ae['id'],
|
|
1087
|
+
'senderName': _0x18c2ae[_0x4ba6a7(0x26e)],
|
|
1088
|
+
'senderType': _0x242aec(_0x18c2ae[_0x4ba6a7(0x26e)], _0x36f355),
|
|
1089
|
+
'seq': _0x18c2ae[_0x4ba6a7(0x1cf)] ?? 0x0
|
|
1090
|
+
}));
|
|
1091
|
+
return {
|
|
1092
|
+
'channel': _0x879481[_0x4ba6a7(0x1a9)],
|
|
1093
|
+
'hasMore': _0x42cb1[_0x4ba6a7(_0x1e2c34._0x2376ba)]?.['hasMore'] ?? ![],
|
|
1094
|
+
'messages': _0x38f533,
|
|
1095
|
+
'nextCursor': _0x42cb1['meta']?.['cursor']
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
return {
|
|
1099
|
+
async 'sendMessage'(_0x441845) {
|
|
1100
|
+
const _0x3876e7 = _0x3e6ba3, _0x3b068e = await _0x36c1f3(_0x441845[_0x3876e7(_0x3e85fa._0x519dcb)]), _0x46fee9 = _0x441845[_0x3876e7(_0x3e85fa._0x277078)][_0x3876e7(_0x3e85fa._0x3e9f18)]('@') ? extractMentionedParticipantIds(_0x441845[_0x3876e7(_0x3e85fa._0x436a3c)], await _0x113e03()) : [], _0x168de0 = await _0x5425cd('/internal/agent/' + _0x10fadd[_0x3876e7(_0x3e85fa._0x1a3b67)] + _0x3876e7(0x292), {
|
|
1101
|
+
'body': JSON[_0x3876e7(0x2a4)]({
|
|
1102
|
+
'attachment_ids': _0x441845['attachmentIds'],
|
|
1103
|
+
'bodyMarkdown': _0x441845[_0x3876e7(_0x3e85fa._0x28e806)],
|
|
1104
|
+
'channelId': _0x3b068e[_0x3876e7(0x2ac)],
|
|
1105
|
+
..._0x46fee9[_0x3876e7(0x198)] > 0x0 ? { 'mentionedParticipantIds': _0x46fee9 } : {},
|
|
1106
|
+
'threadId': _0x3b068e[_0x3876e7(_0x3e85fa._0x3818ce)],
|
|
1107
|
+
..._0x441845['visibility'] ? { 'visibility': _0x441845[_0x3876e7(0x1dc)] } : {}
|
|
1108
|
+
}),
|
|
1109
|
+
'headers': _0x54c31e,
|
|
1110
|
+
'method': _0x3876e7(_0x3e85fa._0xe06b4)
|
|
1111
|
+
});
|
|
1112
|
+
return { 'messageId': _0x168de0['data']?.['id'] ?? '' };
|
|
1113
|
+
},
|
|
1114
|
+
async 'listSchedules'() {
|
|
1115
|
+
const _0x4a0f16 = await _0x5425cd('/api/internal/schedules', {
|
|
1116
|
+
'headers': _0x54c31e,
|
|
1117
|
+
'method': 'GET'
|
|
1118
|
+
});
|
|
1119
|
+
return _0x4a0f16['data'] ?? [];
|
|
1120
|
+
},
|
|
1121
|
+
async 'claimScheduleRun'(_0x2b1af4) {
|
|
1122
|
+
const _0x4e3317 = _0x3e6ba3, _0xd2b54d = await _0x5425cd(_0x4e3317(0x238), {
|
|
1123
|
+
'body': JSON['stringify'](_0x2b1af4),
|
|
1124
|
+
'headers': _0x54c31e,
|
|
1125
|
+
'method': 'POST'
|
|
1126
|
+
});
|
|
1127
|
+
return _0xd2b54d[_0x4e3317(_0x5a1afa._0x3a6b7a)] ?? {
|
|
1128
|
+
'granted': ![],
|
|
1129
|
+
'runId': null,
|
|
1130
|
+
'schedule': null,
|
|
1131
|
+
'scheduledFor': _0x2b1af4['scheduledFor']
|
|
1132
|
+
};
|
|
1133
|
+
},
|
|
1134
|
+
async 'startScheduleRun'(_0x563d08) {
|
|
1135
|
+
const _0xaaa19b = _0x3e6ba3, _0x134c3b = await _0x5425cd(_0xaaa19b(0x29a) + encodeURIComponent(_0x563d08[_0xaaa19b(_0x19bb39._0x39b809)]) + '/start', {
|
|
1136
|
+
'body': JSON['stringify']({}),
|
|
1137
|
+
'headers': _0x54c31e,
|
|
1138
|
+
'method': _0xaaa19b(_0x19bb39._0x8b3daf)
|
|
1139
|
+
});
|
|
1140
|
+
return _0x134c3b['data'] ?? {
|
|
1141
|
+
'claimedByDaemonId': '',
|
|
1142
|
+
'id': _0x563d08[_0xaaa19b(0x185)],
|
|
1143
|
+
'scheduleId': '',
|
|
1144
|
+
'status': _0xaaa19b(_0x19bb39._0x4acc3f)
|
|
1145
|
+
};
|
|
1146
|
+
},
|
|
1147
|
+
async 'finishScheduleRun'(_0x5d8de7) {
|
|
1148
|
+
const _0xfa0d5f = _0x3e6ba3, _0x41350d = await _0x5425cd('/api/internal/schedules/' + encodeURIComponent(_0x5d8de7[_0xfa0d5f(_0x52418c._0x40db17)]) + '/finish', {
|
|
1149
|
+
'body': JSON[_0xfa0d5f(0x2a4)]({
|
|
1150
|
+
'error': _0x5d8de7[_0xfa0d5f(_0x52418c._0xae9d37)],
|
|
1151
|
+
'resultJson': _0x5d8de7[_0xfa0d5f(_0x52418c._0x29b4c7)],
|
|
1152
|
+
'status': _0x5d8de7[_0xfa0d5f(0x2ad)]
|
|
1153
|
+
}),
|
|
1154
|
+
'headers': _0x54c31e,
|
|
1155
|
+
'method': _0xfa0d5f(_0x52418c._0x3c2704)
|
|
1156
|
+
});
|
|
1157
|
+
return _0x41350d['data'] ?? {
|
|
1158
|
+
'nextRunAt': null,
|
|
1159
|
+
'run': {
|
|
1160
|
+
'claimedByDaemonId': '',
|
|
1161
|
+
'id': _0x5d8de7['runId'],
|
|
1162
|
+
'scheduleId': '',
|
|
1163
|
+
'status': _0x5d8de7[_0xfa0d5f(_0x52418c._0x41ccaa)]
|
|
1164
|
+
}
|
|
1165
|
+
};
|
|
1166
|
+
},
|
|
1167
|
+
async 'listTasks'(_0x15f436) {
|
|
1168
|
+
const _0x2f8d7b = _0x3e6ba3, _0x58c1ae = new URLSearchParams();
|
|
1169
|
+
return _0x58c1ae['set']('channel', _0x15f436[_0x2f8d7b(0x21f)]), _0x15f436[_0x2f8d7b(0x2ad)] && _0x58c1ae[_0x2f8d7b(0x28f)](_0x2f8d7b(_0x510621._0x23c458), _0x15f436['status']), _0x1dd566(_0x2f8d7b(_0x510621._0x471b8e) + _0x10fadd['agentId'] + _0x2f8d7b(0x1f1) + _0x58c1ae['toString'](), {
|
|
1170
|
+
'headers': _0x54c31e,
|
|
1171
|
+
'method': _0x2f8d7b(_0x510621._0x1f65e7)
|
|
1172
|
+
});
|
|
1173
|
+
},
|
|
1174
|
+
async 'createTasks'(_0x3e3a8e) {
|
|
1175
|
+
const _0x390d61 = _0x3e6ba3;
|
|
1176
|
+
return _0x1dd566('/internal/agent/' + _0x10fadd['agentId'] + _0x390d61(0x1d5), {
|
|
1177
|
+
'body': JSON[_0x390d61(_0x8555c6._0x1c03a8)]({
|
|
1178
|
+
..._0x3e3a8e,
|
|
1179
|
+
'idempotency_key': _0x341566(_0x390d61(_0x8555c6._0x56ad98), _0x3e3a8e)
|
|
1180
|
+
}),
|
|
1181
|
+
'headers': _0x54c31e,
|
|
1182
|
+
'method': _0x390d61(0x1d6)
|
|
1183
|
+
});
|
|
1184
|
+
},
|
|
1185
|
+
async 'claimTasks'(_0x4cbc21) {
|
|
1186
|
+
const _0x506ce6 = _0x3e6ba3;
|
|
1187
|
+
return _0x1dd566('/internal/agent/' + _0x10fadd[_0x506ce6(_0x101fee._0x460ddc)] + _0x506ce6(_0x101fee._0x5f0dd6), {
|
|
1188
|
+
'body': JSON[_0x506ce6(0x2a4)]({
|
|
1189
|
+
..._0x4cbc21,
|
|
1190
|
+
'idempotency_key': _0x341566(_0x506ce6(_0x101fee._0x2e5dcc), _0x4cbc21)
|
|
1191
|
+
}),
|
|
1192
|
+
'headers': _0x54c31e,
|
|
1193
|
+
'method': _0x506ce6(0x1d6)
|
|
1194
|
+
});
|
|
1195
|
+
},
|
|
1196
|
+
async 'unclaimTask'(_0x2f39cf) {
|
|
1197
|
+
const _0xc3b000 = _0x3e6ba3;
|
|
1198
|
+
return _0x1dd566('/internal/agent/' + _0x10fadd[_0xc3b000(0x264)] + _0xc3b000(0x221), {
|
|
1199
|
+
'body': JSON[_0xc3b000(_0x3fee09._0x2495e2)]({
|
|
1200
|
+
..._0x2f39cf,
|
|
1201
|
+
'idempotency_key': _0x341566(_0xc3b000(_0x3fee09._0xc29ee1), _0x2f39cf)
|
|
1202
|
+
}),
|
|
1203
|
+
'headers': _0x54c31e,
|
|
1204
|
+
'method': _0xc3b000(0x1d6)
|
|
1205
|
+
});
|
|
1206
|
+
},
|
|
1207
|
+
async 'updateTaskStatus'(_0x3c51ee) {
|
|
1208
|
+
const _0x363a12 = _0x3e6ba3;
|
|
1209
|
+
return _0x1dd566(_0x363a12(0x2a7) + _0x10fadd['agentId'] + _0x363a12(_0x1d4482._0x330e9d), {
|
|
1210
|
+
'body': JSON[_0x363a12(_0x1d4482._0x3e156d)]({
|
|
1211
|
+
..._0x3c51ee,
|
|
1212
|
+
'idempotency_key': _0x341566(_0x363a12(0x246), _0x3c51ee)
|
|
1213
|
+
}),
|
|
1214
|
+
'headers': _0x54c31e,
|
|
1215
|
+
'method': _0x363a12(0x1d6)
|
|
1216
|
+
});
|
|
1217
|
+
},
|
|
1218
|
+
async 'uploadFile'(_0x49ec67) {
|
|
1219
|
+
const _0x234802 = _0x3e6ba3, _0x562556 = await _0x36c1f3(_0x49ec67[_0x234802(0x21f)]);
|
|
1220
|
+
if (_0x562556[_0x234802(_0x308e17._0x241b37)])
|
|
1221
|
+
throw new Error('upload_file\x20only\x20supports\x20channel\x20or\x20DM\x20targets,\x20not\x20thread\x20targets');
|
|
1222
|
+
const _0x5c8993 = await _0x5425cd(_0x234802(_0x308e17._0x34fdf) + _0x10fadd[_0x234802(_0x308e17._0x58ed62)] + _0x234802(_0x308e17._0x19a9e7), {
|
|
1223
|
+
'body': JSON[_0x234802(0x2a4)]({
|
|
1224
|
+
'channel': _0x562556[_0x234802(_0x308e17._0xb1ed11)],
|
|
1225
|
+
'contentBase64': _0x49ec67[_0x234802(0x25a)],
|
|
1226
|
+
'contentType': _0x49ec67['contentType'],
|
|
1227
|
+
'originalFilename': _0x49ec67[_0x234802(_0x308e17._0x4faf0d)]
|
|
1228
|
+
}),
|
|
1229
|
+
'headers': _0x54c31e,
|
|
1230
|
+
'method': 'POST'
|
|
1231
|
+
});
|
|
1232
|
+
return {
|
|
1233
|
+
'attachmentId': _0x5c8993[_0x234802(0x182)]?.['id'] ?? '',
|
|
1234
|
+
'filename': _0x5c8993[_0x234802(_0x308e17._0xed121f)]?.['originalFilename'] ?? _0x49ec67['filename'],
|
|
1235
|
+
'sizeBytes': _0x5c8993[_0x234802(_0x308e17._0xed121f)]?.[_0x234802(_0x308e17._0x4b0d6d)] ?? 0x0
|
|
1236
|
+
};
|
|
1237
|
+
},
|
|
1238
|
+
async 'downloadAttachment'(_0x5ded88) {
|
|
1239
|
+
const _0x10cedf = _0x3e6ba3, _0x1ac58c = await _0x5425cd(_0x10cedf(_0x65940a._0x374431) + _0x5ded88, {
|
|
1240
|
+
'headers': _0x54c31e,
|
|
1241
|
+
'method': _0x10cedf(_0x65940a._0x494a86)
|
|
1242
|
+
}), _0x2b3269 = new AbortController(), _0x4d27fb = setTimeout(() => _0x2b3269['abort'](), _0x55cb1f);
|
|
1243
|
+
try {
|
|
1244
|
+
const _0x5b81f6 = await _0x3ede2d(_0x556da7 + _0x10cedf(0x1ac) + _0x5ded88 + _0x10cedf(_0x65940a._0x2a7989), {
|
|
1245
|
+
'headers': _0x54c31e,
|
|
1246
|
+
'method': 'GET',
|
|
1247
|
+
'signal': _0x2b3269[_0x10cedf(_0x65940a._0x305887)]
|
|
1248
|
+
});
|
|
1249
|
+
if (!_0x5b81f6['ok'])
|
|
1250
|
+
throw new Error('HTTP\x20' + _0x5b81f6[_0x10cedf(0x2ad)]);
|
|
1251
|
+
return {
|
|
1252
|
+
'contentType': _0x1ac58c['data']?.[_0x10cedf(0x25f)] ?? _0x5b81f6[_0x10cedf(0x1e1)][_0x10cedf(0x2dc)](_0x10cedf(0x27b)) ?? 'application/octet-stream',
|
|
1253
|
+
'data': Buffer[_0x10cedf(_0x65940a._0x3252a4)](await _0x5b81f6[_0x10cedf(0x1bb)]()),
|
|
1254
|
+
'originalFilename': _0x1ac58c[_0x10cedf(_0x65940a._0x42ef8d)]?.[_0x10cedf(_0x65940a._0x27d5bd)]
|
|
1255
|
+
};
|
|
1256
|
+
} finally {
|
|
1257
|
+
clearTimeout(_0x4d27fb);
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
async 'listServer'() {
|
|
1261
|
+
return _0x113e03({ 'forceRefresh': !![] });
|
|
1262
|
+
},
|
|
1263
|
+
async 'readHistory'(_0x4268e8) {
|
|
1264
|
+
const _0x30913e = _0x3e6ba3, _0x37c001 = await _0x36c1f3(_0x4268e8[_0x30913e(0x21f)]);
|
|
1265
|
+
return _0xb838e2({
|
|
1266
|
+
'after': _0x4268e8[_0x30913e(0x2d0)],
|
|
1267
|
+
'before': _0x4268e8[_0x30913e(_0x2d4a03._0x424d4e)],
|
|
1268
|
+
'channelId': _0x37c001[_0x30913e(_0x2d4a03._0x123ff5)],
|
|
1269
|
+
'channelTarget': _0x37c001['target'],
|
|
1270
|
+
'limit': _0x4268e8['limit'],
|
|
1271
|
+
'threadId': _0x37c001[_0x30913e(_0x2d4a03._0x3d3eff)]
|
|
1272
|
+
});
|
|
1273
|
+
},
|
|
1274
|
+
'resolveTarget': _0x36c1f3,
|
|
1275
|
+
async 'checkMessages'() {
|
|
1276
|
+
const _0xce475a = _0x3e6ba3, _0x28dd70 = new URLSearchParams();
|
|
1277
|
+
_0x28dd70[_0xce475a(_0xef03fa._0x44e2ee)](_0xce475a(0x22e), String(_0x491264));
|
|
1278
|
+
const _0x13e48b = _0x28dd70[_0xce475a(0x1a0)](), _0x2dc4ae = await _0x5425cd(_0xce475a(_0xef03fa._0x3afb94) + _0x10fadd['agentId'] + _0xce475a(0x2bd) + (_0x13e48b ? '?' + _0x13e48b : ''), {
|
|
1279
|
+
'headers': _0x54c31e,
|
|
1280
|
+
'method': _0xce475a(0x1b9)
|
|
1281
|
+
}), _0x3ba2a3 = _0x2dc4ae[_0xce475a(0x182)] ?? [], _0x9ef1de = _0x2dc4ae[_0xce475a(_0xef03fa._0x1b610d)]?.[_0xce475a(_0xef03fa._0xddc3fc)], _0x2d708c = _0x9ef1de !== void 0x0 ? Math['max'](_0x491264, _0x9ef1de) : _0x3ba2a3[_0xce475a(_0xef03fa._0x3faa9e)] > 0x0 ? Math[_0xce475a(0x168)](_0x491264, _0x3ba2a3[_0x3ba2a3[_0xce475a(0x198)] - 0x1][_0xce475a(_0xef03fa._0x532893)]) : _0x491264, _0x206c3b = _0x3ba2a3['filter'](_0x4bc613 => _0x4bc613[_0xce475a(0x178)] === _0xce475a(0x24e)), _0x71089c = _0x40bb70 === void 0x0 && _0x3c15f9;
|
|
1282
|
+
let _0x4c7019 = await _0x113e03(), _0x57c715 = new Map(_0x4c7019['channels'][_0xce475a(_0xef03fa._0x5e65f3)](_0x49ccaf => [
|
|
1283
|
+
_0x49ccaf['id'],
|
|
1284
|
+
_0x49ccaf
|
|
1285
|
+
]));
|
|
1286
|
+
const _0x5ae216 = _0x206c3b[_0xce475a(_0xef03fa._0x34ca7e)](_0x1d55a9 => {
|
|
1287
|
+
const _0x5273b2 = _0xce475a, _0x343cb2 = asRecord(_0x1d55a9[_0x5273b2(0x1fc)]), _0x17fc78 = typeof _0x343cb2?.[_0x5273b2(_0x50c598._0x461a8e)] === _0x5273b2(_0x50c598._0x25ffe2) ? _0x343cb2[_0x5273b2(0x2ac)] : '';
|
|
1288
|
+
return Boolean(_0x17fc78) && !_0x57c715[_0x5273b2(_0x50c598._0x2e5d05)](_0x17fc78);
|
|
1289
|
+
});
|
|
1290
|
+
_0x5ae216 && (_0x4c7019 = await _0x113e03({ 'forceRefresh': !![] }), _0x57c715 = new Map(_0x4c7019[_0xce475a(0x25b)][_0xce475a(_0xef03fa._0x30662c)](_0x3a3f7e => [
|
|
1291
|
+
_0x3a3f7e['id'],
|
|
1292
|
+
_0x3a3f7e
|
|
1293
|
+
])));
|
|
1294
|
+
const _0x4c99e7 = new Map();
|
|
1295
|
+
for (const _0x41de28 of _0x206c3b) {
|
|
1296
|
+
const _0x39d622 = asRecord(_0x41de28[_0xce475a(_0xef03fa._0x2361b8)]), _0x43c910 = typeof _0x39d622['channelId'] === _0xce475a(0x1bc) ? _0x39d622[_0xce475a(_0xef03fa._0x27f307)] : '';
|
|
1297
|
+
if (!_0x43c910)
|
|
1298
|
+
continue;
|
|
1299
|
+
const _0x15c59f = typeof _0x39d622[_0xce475a(_0xef03fa._0x5b6eae)] === _0xce475a(_0xef03fa._0x2b4399) ? _0x39d622[_0xce475a(_0xef03fa._0x5b6eae)] : void 0x0, _0x473e62 = typeof _0x39d622[_0xce475a(0x2d1)] === _0xce475a(_0xef03fa._0x2b4399) ? _0x39d622['rootMessageId'] : void 0x0, _0x48662e = typeof _0x39d622[_0xce475a(_0xef03fa._0x1e25bd)] === _0xce475a(_0xef03fa._0x39fe24) && Number['isInteger'](_0x39d622[_0xce475a(_0xef03fa._0x1e25bd)]) ? _0x39d622[_0xce475a(_0xef03fa._0x18561a)] : void 0x0, _0x48e9e8 = Boolean(_0x15c59f && (!_0x473e62 || _0x41de28[_0xce475a(_0xef03fa._0x4a0a1c)] !== _0x473e62)), _0x9d24d9 = _0x48e9e8 ? _0x43c910 + ':' + _0x15c59f : _0x43c910, _0x128305 = _0x4c99e7[_0xce475a(0x2dc)](_0x9d24d9) ?? {
|
|
1300
|
+
'aggregateIds': [],
|
|
1301
|
+
'channelId': _0x43c910,
|
|
1302
|
+
'entries': new Map(),
|
|
1303
|
+
'isThreadReply': _0x48e9e8,
|
|
1304
|
+
'rootMessageId': _0x473e62,
|
|
1305
|
+
'threadNumber': _0x48662e,
|
|
1306
|
+
'threadId': _0x48e9e8 ? _0x15c59f : void 0x0
|
|
1307
|
+
};
|
|
1308
|
+
_0x128305[_0xce475a(_0xef03fa._0x13f11a)] == null && _0x48662e != null && (_0x128305[_0xce475a(0x1a2)] = _0x48662e), !_0x128305['rootMessageId'] && _0x473e62 && (_0x128305[_0xce475a(_0xef03fa._0x3d9895)] = _0x473e62), _0x128305[_0xce475a(_0xef03fa._0x1a7e42)][_0xce475a(0x1f4)](_0x41de28[_0xce475a(0x2a8)]), _0x128305[_0xce475a(0x16f)][_0xce475a(0x28f)](_0x41de28[_0xce475a(_0xef03fa._0x13db3f)], {
|
|
1309
|
+
'payloadJson': _0x41de28['payloadJson'],
|
|
1310
|
+
'seq': _0x41de28['seq']
|
|
1311
|
+
}), _0x4c99e7[_0xce475a(0x28f)](_0x9d24d9, _0x128305);
|
|
1312
|
+
}
|
|
1313
|
+
const _0x559fc5 = [];
|
|
1314
|
+
for (const _0x1c8ec of _0x4c99e7[_0xce475a(0x1c6)]()) {
|
|
1315
|
+
const {
|
|
1316
|
+
channelId: _0x2f8a59,
|
|
1317
|
+
threadId: _0x4489b1,
|
|
1318
|
+
rootMessageId: _0x3e94fa,
|
|
1319
|
+
threadNumber: _0x3aa8c4,
|
|
1320
|
+
aggregateIds: _0x3ee396,
|
|
1321
|
+
isThreadReply: _0x3a7676,
|
|
1322
|
+
entries: _0x2b83ab
|
|
1323
|
+
} = _0x1c8ec, _0x2c5f03 = _0x57c715[_0xce475a(_0xef03fa._0x8b63db)](_0x2f8a59), _0x3143bd = _0x2c5f03?.[_0xce475a(_0xef03fa._0x2469d8)] ?? _0x2f8a59, _0x1a7543 = _0x2c5f03?.['kind'] === 'dm' ? 'dm:' + _0x3143bd : '#' + _0x3143bd, _0x502950 = {
|
|
1324
|
+
'channelTarget': _0x1a7543,
|
|
1325
|
+
'rootMessageId': _0x3e94fa,
|
|
1326
|
+
'threadId': _0x4489b1,
|
|
1327
|
+
'threadNumber': _0x3aa8c4
|
|
1328
|
+
}, _0x1170a2 = await _0xb838e2({
|
|
1329
|
+
'channelId': _0x2f8a59,
|
|
1330
|
+
'channelTarget': _0x1a7543,
|
|
1331
|
+
'limit': Math['max'](_0x3ee396[_0xce475a(0x198)], 0x32),
|
|
1332
|
+
'threadId': _0x4489b1
|
|
1333
|
+
}), _0xb1c74e = new Map(_0x1170a2[_0xce475a(0x2b7)]['map'](_0x3077f9 => [
|
|
1334
|
+
_0x3077f9['messageId'],
|
|
1335
|
+
_0x3077f9
|
|
1336
|
+
])), _0x2de97f = _0x4489b1 ? _0x1b2d20(_0x502950) : _0x1a7543, _0x50720f = _0x40bb70 ? _0x3a7676 && _0x43744f(_0x40bb70, _0x502950) : !![], _0x897b9c = _0x3a7676 ? _0x50720f && _0x40bb70 ? _0x40bb70 : _0x2de97f : _0x1a7543;
|
|
1337
|
+
for (const _0x4c82d2 of _0x3ee396) {
|
|
1338
|
+
if (!_0x50720f)
|
|
1339
|
+
continue;
|
|
1340
|
+
const _0x11a9ce = _0x2b83ab[_0xce475a(_0xef03fa._0x4675db)](_0x4c82d2), _0xf1e767 = _0x11a9ce ? asRecord(_0x11a9ce[_0xce475a(0x1fc)]) : void 0x0, _0x6a8b27 = _0xf1e767?.['taskDeliveryMode'] === 'targeted';
|
|
1341
|
+
if (_0x71089c && _0x6a8b27)
|
|
1342
|
+
continue;
|
|
1343
|
+
const _0x44971e = _0xb1c74e['get'](_0x4c82d2);
|
|
1344
|
+
if (_0x44971e) {
|
|
1345
|
+
_0x559fc5[_0xce475a(_0xef03fa._0xc61f40)]({
|
|
1346
|
+
'attachments': _0x44971e[_0xce475a(0x1e3)],
|
|
1347
|
+
'content': _0x44971e['content'],
|
|
1348
|
+
'createdAt': _0x44971e[_0xce475a(0x218)],
|
|
1349
|
+
..._0x44971e[_0xce475a(_0xef03fa._0x17ce51)] ? { 'kind': _0x44971e['kind'] } : {},
|
|
1350
|
+
'messageId': _0x44971e[_0xce475a(0x276)],
|
|
1351
|
+
'senderName': _0x44971e[_0xce475a(0x176)],
|
|
1352
|
+
'senderType': _0x44971e[_0xce475a(0x184)],
|
|
1353
|
+
'target': _0x897b9c,
|
|
1354
|
+
..._0x6a8b27 ? { 'targetedTask': !![] } : {}
|
|
1355
|
+
});
|
|
1356
|
+
continue;
|
|
1357
|
+
}
|
|
1358
|
+
if (_0x11a9ce) {
|
|
1359
|
+
const _0x29c2f3 = typeof _0xf1e767?.[_0xce475a(0x26e)] === _0xce475a(_0xef03fa._0x1f781c) ? _0xf1e767['senderParticipantId'] : '', _0x3e7ef8 = typeof _0xf1e767?.['bodyMarkdown'] === _0xce475a(0x1bc) ? _0xf1e767['bodyMarkdown'] : '', _0x5df33a = typeof _0xf1e767?.[_0xce475a(_0xef03fa._0x16f248)] === 'string' && _0xf1e767[_0xce475a(_0xef03fa._0x373434)] !== _0xce475a(0x25d) ? _0xf1e767[_0xce475a(0x2ba)] : void 0x0;
|
|
1360
|
+
_0x29c2f3 && _0x3e7ef8 && _0x559fc5[_0xce475a(_0xef03fa._0xc61f40)]({
|
|
1361
|
+
'attachments': [],
|
|
1362
|
+
'content': _0x3e7ef8,
|
|
1363
|
+
'createdAt': new Date()[_0xce475a(0x1fd)](),
|
|
1364
|
+
..._0x5df33a ? { 'kind': _0x5df33a } : {},
|
|
1365
|
+
'messageId': _0x4c82d2,
|
|
1366
|
+
'senderName': _0x29c2f3,
|
|
1367
|
+
'senderType': _0x242aec(_0x29c2f3, _0x4c7019),
|
|
1368
|
+
'target': _0x897b9c,
|
|
1369
|
+
..._0x6a8b27 ? { 'targetedTask': !![] } : {}
|
|
1370
|
+
});
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
if (_0x2d708c > 0x0) {
|
|
1375
|
+
if (_0x18f930)
|
|
1376
|
+
await _0x30e23a(_0x2d708c);
|
|
1377
|
+
else
|
|
1378
|
+
_0x17dd87 && await _0xe5de36(_0x2d708c);
|
|
1379
|
+
}
|
|
1380
|
+
return _0x2d708c > _0x491264 && (_0x491264 = _0x2d708c), { 'messages': _0x40bb70 ? _0x559fc5 : _0x71089c ? _0x559fc5[_0xce475a(0x271)](_0x4e8a2e => _0x4e8a2e['targetedTask'] !== !![]) : _0x559fc5 };
|
|
1381
|
+
}
|
|
1578
1382
|
};
|
|
1579
|
-
return _0x1b3e();
|
|
1580
1383
|
}
|
|
1581
|
-
function
|
|
1582
|
-
const
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
},
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
},
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1384
|
+
function toLocalTime(_0x518bbf) {
|
|
1385
|
+
const _0x515872 = {
|
|
1386
|
+
_0x1d3ad5: 0x2c9,
|
|
1387
|
+
_0x4d1abc: 0x2b2
|
|
1388
|
+
}, _0x2cfed5 = _0x1e865e, _0xff5aa5 = new Date(_0x518bbf);
|
|
1389
|
+
if (Number['isNaN'](_0xff5aa5[_0x2cfed5(0x248)]()))
|
|
1390
|
+
return _0x518bbf;
|
|
1391
|
+
const _0x554771 = _0x2cadec => String(_0x2cadec)[_0x2cfed5(0x1f9)](0x2, '0');
|
|
1392
|
+
return _0xff5aa5[_0x2cfed5(0x26f)]() + '-' + _0x554771(_0xff5aa5['getMonth']() + 0x1) + '-' + _0x554771(_0xff5aa5[_0x2cfed5(_0x515872._0x1d3ad5)]()) + '\x20' + _0x554771(_0xff5aa5[_0x2cfed5(_0x515872._0x4d1abc)]()) + ':' + _0x554771(_0xff5aa5['getMinutes']()) + ':' + _0x554771(_0xff5aa5[_0x2cfed5(0x2d7)]());
|
|
1393
|
+
}
|
|
1394
|
+
function formatAttachmentSuffix(_0x9a9d88) {
|
|
1395
|
+
const _0x1baa8e = {
|
|
1396
|
+
_0x46cddf: 0x198,
|
|
1397
|
+
_0xda9364: 0x17c
|
|
1398
|
+
}, _0x276743 = _0x1e865e;
|
|
1399
|
+
if (!_0x9a9d88 || _0x9a9d88[_0x276743(0x198)] === 0x0)
|
|
1400
|
+
return '';
|
|
1401
|
+
return '\x20[' + _0x9a9d88[_0x276743(_0x1baa8e._0x46cddf)] + _0x276743(0x186) + (_0x9a9d88['length'] > 0x1 ? 's' : '') + ':\x20' + _0x9a9d88[_0x276743(0x209)](_0x163fbc => _0x163fbc['filename'] + _0x276743(0x17d) + _0x163fbc['id'] + ')')['join'](',\x20') + _0x276743(_0x1baa8e._0xda9364);
|
|
1402
|
+
}
|
|
1403
|
+
function formatCheckMessages(_0x3d96de) {
|
|
1404
|
+
const _0x10b685 = { _0x1b2963: 0x198 }, _0x37a326 = {
|
|
1405
|
+
_0x3ead65: 0x184,
|
|
1406
|
+
_0x56284c: 0x154,
|
|
1407
|
+
_0x55e46f: 0x170,
|
|
1408
|
+
_0x32fb1e: 0x2ba,
|
|
1409
|
+
_0xf4c242: 0x27e,
|
|
1410
|
+
_0x2c03a4: 0x2ab,
|
|
1411
|
+
_0x3b6976: 0x218,
|
|
1412
|
+
_0x4c71db: 0x20e
|
|
1413
|
+
}, _0x38b952 = _0x1e865e;
|
|
1414
|
+
if (_0x3d96de[_0x38b952(_0x10b685._0x1b2963)] === 0x0)
|
|
1415
|
+
return 'No\x20new\x20messages.';
|
|
1416
|
+
return _0x3d96de[_0x38b952(0x209)](_0x55f43d => {
|
|
1417
|
+
const _0x191dfd = _0x38b952, _0x23d401 = _0x55f43d[_0x191dfd(_0x37a326._0x3ead65)] === _0x191dfd(_0x37a326._0x56284c) ? _0x191dfd(0x212) : '', _0x46aa1c = _0x55f43d['kind'] && _0x55f43d['kind'] !== _0x191dfd(0x25d) ? _0x191dfd(_0x37a326._0x55e46f) + _0x55f43d[_0x191dfd(_0x37a326._0x32fb1e)] : '';
|
|
1418
|
+
return _0x191dfd(_0x37a326._0xf4c242) + _0x55f43d['target'] + _0x191dfd(_0x37a326._0x2c03a4) + _0x55f43d['messageId'][_0x191dfd(0x229)](0x0, 0x8) + _0x191dfd(0x181) + toLocalTime(_0x55f43d[_0x191dfd(_0x37a326._0x3b6976)]) + _0x23d401 + _0x46aa1c + _0x191dfd(_0x37a326._0x4c71db) + _0x55f43d[_0x191dfd(0x176)] + ':\x20' + _0x55f43d['content'] + formatAttachmentSuffix(_0x55f43d['attachments']);
|
|
1419
|
+
})[_0x38b952(0x1d1)]('\x0a');
|
|
1420
|
+
}
|
|
1421
|
+
function formatHistory(_0x18a1dc) {
|
|
1422
|
+
const _0x5d3954 = {
|
|
1423
|
+
_0x3db2f7: 0x198,
|
|
1424
|
+
_0x31009c: 0x17e,
|
|
1425
|
+
_0x83c27f: 0x2b7,
|
|
1426
|
+
_0x3e1c21: 0x230,
|
|
1427
|
+
_0x5e6f2a: 0x1a3,
|
|
1428
|
+
_0x3c23be: 0x19c,
|
|
1429
|
+
_0x31c7a3: 0x21f
|
|
1430
|
+
}, _0x309bce = {
|
|
1431
|
+
_0x5117ae: 0x2ba,
|
|
1432
|
+
_0xf3b2ed: 0x170,
|
|
1433
|
+
_0x13853d: 0x192,
|
|
1434
|
+
_0x4afd78: 0x20e,
|
|
1435
|
+
_0x3d9b0e: 0x176
|
|
1436
|
+
}, _0x176c49 = _0x1e865e;
|
|
1437
|
+
if (_0x18a1dc[_0x176c49(0x2b7)][_0x176c49(_0x5d3954._0x3db2f7)] === 0x0)
|
|
1438
|
+
return _0x176c49(0x233) + _0x18a1dc['channel'] + _0x176c49(_0x5d3954._0x31009c);
|
|
1439
|
+
const _0x21ff56 = _0x18a1dc[_0x176c49(_0x5d3954._0x83c27f)]['map'](_0xafbb11 => {
|
|
1440
|
+
const _0x3f3565 = _0x176c49, _0x45ca4e = _0xafbb11['senderType'] === 'agent' ? '\x20type=agent' : '', _0x1a29f3 = _0xafbb11[_0x3f3565(_0x309bce._0x5117ae)] && _0xafbb11[_0x3f3565(0x2ba)] !== 'chat' ? _0x3f3565(_0x309bce._0xf3b2ed) + _0xafbb11['kind'] : '';
|
|
1441
|
+
return _0x3f3565(0x1b3) + _0xafbb11[_0x3f3565(_0x309bce._0x13853d)] + '\x20msg=' + _0xafbb11[_0x3f3565(0x276)] + _0x3f3565(0x181) + toLocalTime(_0xafbb11['createdAt']) + _0x45ca4e + _0x1a29f3 + _0x3f3565(_0x309bce._0x4afd78) + _0xafbb11[_0x3f3565(_0x309bce._0x3d9b0e)] + ':\x20' + _0xafbb11['content'] + formatAttachmentSuffix(_0xafbb11[_0x3f3565(0x1e3)]);
|
|
1442
|
+
})[_0x176c49(0x1d1)]('\x0a'), _0x4666c3 = _0x18a1dc[_0x176c49(_0x5d3954._0x3e1c21)] && _0x18a1dc[_0x176c49(0x1ba)] ? _0x176c49(_0x5d3954._0x5e6f2a) + _0x18a1dc['messages'][_0x176c49(_0x5d3954._0x3db2f7)] + _0x176c49(0x201) + _0x18a1dc[_0x176c49(0x1ba)] + _0x176c49(_0x5d3954._0x3c23be) : '';
|
|
1443
|
+
return _0x176c49(0x233) + _0x18a1dc[_0x176c49(_0x5d3954._0x31c7a3)] + '\x20(' + _0x18a1dc['messages']['length'] + '\x20messages)\x0a\x0a' + _0x21ff56 + _0x4666c3;
|
|
1444
|
+
}
|
|
1445
|
+
function formatServerDirectory(_0x3b94fe) {
|
|
1446
|
+
const _0x42a6b1 = {
|
|
1447
|
+
_0x7f7dbe: 0x25b,
|
|
1448
|
+
_0x4b71d4: 0x209,
|
|
1449
|
+
_0x5ab84d: 0x1d1,
|
|
1450
|
+
_0x5aebf7: 0x1d1,
|
|
1451
|
+
_0x2ea6e7: 0x209,
|
|
1452
|
+
_0x4c7894: 0x156,
|
|
1453
|
+
_0x426b12: 0x2c2,
|
|
1454
|
+
_0x517899: 0x20f
|
|
1455
|
+
}, _0x37246c = _0x1e865e, _0xbd4a7f = _0x3b94fe[_0x37246c(_0x42a6b1._0x7f7dbe)][_0x37246c(0x198)] > 0x0 ? _0x3b94fe['channels'][_0x37246c(_0x42a6b1._0x4b71d4)](_0x271062 => _0x271062[_0x37246c(0x164)] ? _0x37246c(0x206) + _0x271062[_0x37246c(0x160)] + _0x37246c(0x23c) + _0x271062[_0x37246c(0x164)] : '-\x20#' + _0x271062[_0x37246c(0x160)])[_0x37246c(_0x42a6b1._0x5ab84d)]('\x0a') : '(none)', _0x119838 = _0x3b94fe[_0x37246c(0x274)][_0x37246c(0x198)] > 0x0 ? _0x3b94fe[_0x37246c(0x274)][_0x37246c(_0x42a6b1._0x4b71d4)](_0x2d30d4 => _0x37246c(0x1da) + _0x2d30d4['name'])[_0x37246c(_0x42a6b1._0x5aebf7)]('\x0a') : _0x37246c(0x156), _0x28d27a = _0x3b94fe[_0x37246c(0x217)]['length'] > 0x0 ? _0x3b94fe[_0x37246c(0x217)][_0x37246c(_0x42a6b1._0x2ea6e7)](_0x544d0b => _0x37246c(0x1da) + _0x544d0b[_0x37246c(0x160)])[_0x37246c(0x1d1)]('\x0a') : _0x37246c(_0x42a6b1._0x4c7894);
|
|
1456
|
+
return [
|
|
1457
|
+
_0x37246c(0x195) + _0x3b94fe[_0x37246c(_0x42a6b1._0x426b12)],
|
|
1458
|
+
'',
|
|
1459
|
+
'###\x20Channels',
|
|
1460
|
+
_0xbd4a7f,
|
|
1461
|
+
'',
|
|
1462
|
+
'###\x20Agents',
|
|
1463
|
+
_0x119838,
|
|
1464
|
+
'',
|
|
1465
|
+
_0x37246c(_0x42a6b1._0x517899),
|
|
1466
|
+
_0x28d27a
|
|
1467
|
+
][_0x37246c(0x1d1)]('\x0a');
|
|
1468
|
+
}
|
|
1469
|
+
function formatUploadResult(_0x42f9d3) {
|
|
1470
|
+
const _0x5c86ba = {
|
|
1471
|
+
_0x18df5: 0x15f,
|
|
1472
|
+
_0x4ff3cd: 0x197,
|
|
1473
|
+
_0x4a332a: 0x261,
|
|
1474
|
+
_0x18c604: 0x2bb
|
|
1475
|
+
}, _0xc51975 = _0x1e865e;
|
|
1476
|
+
return _0xc51975(_0x5c86ba._0x18df5) + _0x42f9d3['filename'] + '\x20(' + (_0x42f9d3[_0xc51975(0x1b1)] / 0x400)[_0xc51975(_0x5c86ba._0x4ff3cd)](0x1) + _0xc51975(_0x5c86ba._0x4a332a) + _0x42f9d3['attachmentId'] + _0xc51975(_0x5c86ba._0x18c604);
|
|
1477
|
+
}
|
|
1478
|
+
function formatViewFileResult(_0x4e336f, _0x9859d2) {
|
|
1479
|
+
const _0x5dc08f = {
|
|
1480
|
+
_0x580613: 0x27f,
|
|
1481
|
+
_0xcdab52: 0x180
|
|
1482
|
+
}, _0x4e8f2b = _0x1e865e;
|
|
1483
|
+
return _0x9859d2 ? _0x4e8f2b(_0x5dc08f._0x580613) + _0x4e336f : _0x4e8f2b(_0x5dc08f._0xcdab52) + _0x4e336f;
|
|
1484
|
+
}
|
|
1485
|
+
function formatTaskList(_0x39be20, _0x2ffaab) {
|
|
1486
|
+
const _0x29ff11 = {
|
|
1487
|
+
_0x135fbd: 0x14e,
|
|
1488
|
+
_0x336748: 0x1d1
|
|
1489
|
+
}, _0x543e65 = {
|
|
1490
|
+
_0x4c849e: 0x174,
|
|
1491
|
+
_0x12c77a: 0x20d,
|
|
1492
|
+
_0xa8b568: 0x174,
|
|
1493
|
+
_0x1ee189: 0x213,
|
|
1494
|
+
_0x7bf49c: 0x2a5
|
|
1495
|
+
}, _0x2f853b = _0x1e865e;
|
|
1496
|
+
if (_0x39be20['length'] === 0x0)
|
|
1497
|
+
return _0x2f853b(_0x29ff11._0x135fbd);
|
|
1498
|
+
return _0x39be20[_0x2f853b(0x209)](_0x83a4ae => {
|
|
1499
|
+
const _0x2ed96a = _0x2f853b, _0x16b9ef = _0x83a4ae[_0x2ed96a(_0x543e65._0x4c849e)] == null ? '(legacy)' : _0x83a4ae[_0x2ed96a(_0x543e65._0x12c77a)] != null ? '#' + _0x83a4ae[_0x2ed96a(0x174)] + '.' + _0x83a4ae['subtaskNumber'] : '#' + _0x83a4ae['taskNumber'], _0x1441e2 = _0x83a4ae['messageId'] ? '\x20message=' + _0x83a4ae[_0x2ed96a(0x276)] : '', _0x6b2096 = _0x2ffaab && _0x83a4ae[_0x2ed96a(_0x543e65._0xa8b568)] != null && !_0x83a4ae[_0x2ed96a(0x20d)] && _0x2ffaab[_0x2ed96a(_0x543e65._0x1ee189)](_0x83a4ae[_0x2ed96a(_0x543e65._0xa8b568)]) ? '\x20executionMode=worker' : '', _0x25958a = _0x83a4ae[_0x2ed96a(0x17a)] != null && _0x83a4ae[_0x2ed96a(0x17a)] > 0x0 ? '\x20(' + (_0x83a4ae[_0x2ed96a(_0x543e65._0x7bf49c)] ?? 0x0) + '/' + _0x83a4ae[_0x2ed96a(0x17a)] + _0x2ed96a(0x2c0) : '';
|
|
1500
|
+
return _0x16b9ef + '\x20[' + _0x83a4ae['status'] + ']\x20' + _0x83a4ae[_0x2ed96a(0x2be)] + _0x25958a + _0x1441e2 + _0x6b2096;
|
|
1501
|
+
})[_0x2f853b(_0x29ff11._0x336748)]('\x0a');
|
|
1502
|
+
}
|
|
1503
|
+
function formatCreatedTasks(_0x2de33c) {
|
|
1504
|
+
const _0x29093c = {
|
|
1505
|
+
_0x269cc9: 0x2ce,
|
|
1506
|
+
_0x34e92f: 0x20d,
|
|
1507
|
+
_0x556ae0: 0x174
|
|
1508
|
+
}, _0x34112d = _0x1e865e;
|
|
1509
|
+
if (_0x2de33c['length'] === 0x0)
|
|
1510
|
+
return _0x34112d(0x270);
|
|
1511
|
+
return _0x2de33c[_0x34112d(0x209)](_0x3a99ad => {
|
|
1512
|
+
const _0x114daf = _0x34112d, _0x2d5477 = _0x3a99ad['taskNumber'] == null ? _0x114daf(_0x29093c._0x269cc9) : _0x3a99ad[_0x114daf(_0x29093c._0x34e92f)] != null ? '#' + _0x3a99ad[_0x114daf(_0x29093c._0x556ae0)] + '.' + _0x3a99ad[_0x114daf(_0x29093c._0x34e92f)] : '#' + _0x3a99ad[_0x114daf(0x174)], _0x3d697c = _0x3a99ad['messageId'] ? _0x114daf(0x296) + _0x3a99ad[_0x114daf(0x276)] : '';
|
|
1513
|
+
return _0x2d5477 + '\x20' + _0x3a99ad[_0x114daf(0x2be)] + _0x3d697c;
|
|
1514
|
+
})[_0x34112d(0x1d1)]('\x0a');
|
|
1515
|
+
}
|
|
1516
|
+
function formatClaimTaskResults(_0xf3d4dd) {
|
|
1517
|
+
const _0x3d4888 = { _0x3b4ecb: 0x209 }, _0x176ce8 = {
|
|
1518
|
+
_0x16b5cd: 0x174,
|
|
1519
|
+
_0x1985cb: 0x174,
|
|
1520
|
+
_0x5a7b7b: 0x1c5,
|
|
1521
|
+
_0x31449e: 0x22a,
|
|
1522
|
+
_0x5bd515: 0x167,
|
|
1523
|
+
_0x1dee01: 0x1e5,
|
|
1524
|
+
_0x587a79: 0x271,
|
|
1525
|
+
_0x3dadab: 0x1d1,
|
|
1526
|
+
_0x56a117: 0x15e,
|
|
1527
|
+
_0x35c924: 0x1ea
|
|
1528
|
+
}, _0x177ef8 = _0x1e865e;
|
|
1529
|
+
if (_0xf3d4dd[_0x177ef8(0x198)] === 0x0)
|
|
1530
|
+
return 'No\x20tasks\x20claimed.';
|
|
1531
|
+
return _0xf3d4dd[_0x177ef8(_0x3d4888._0x3b4ecb)](_0x238c55 => {
|
|
1532
|
+
const _0x2b5014 = _0x177ef8;
|
|
1533
|
+
if (_0x238c55['success']) {
|
|
1534
|
+
const _0x533de3 = _0x238c55[_0x2b5014(_0x176ce8._0x16b5cd)] == null ? '(legacy)' : _0x238c55[_0x2b5014(0x20d)] != null ? '#' + _0x238c55[_0x2b5014(0x174)] + '.' + _0x238c55['subtaskNumber'] : '#' + _0x238c55[_0x2b5014(_0x176ce8._0x1985cb)], _0x525781 = _0x238c55[_0x2b5014(0x276)] ? '\x20message=' + _0x238c55['messageId'] : '';
|
|
1535
|
+
if (_0x238c55[_0x2b5014(0x172)]) {
|
|
1536
|
+
const _0x120bcd = [
|
|
1537
|
+
_0x2b5014(_0x176ce8._0x5a7b7b),
|
|
1538
|
+
_0x238c55[_0x2b5014(0x228)] ? 'stopMain=true' : null,
|
|
1539
|
+
_0x238c55[_0x2b5014(0x2b1)] ? _0x2b5014(0x157) + _0x238c55[_0x2b5014(0x2b1)] : null,
|
|
1540
|
+
_0x238c55[_0x2b5014(_0x176ce8._0x31449e)] ? _0x2b5014(0x194) + _0x238c55[_0x2b5014(0x22a)] : null,
|
|
1541
|
+
_0x238c55[_0x2b5014(_0x176ce8._0x5bd515)] ? _0x2b5014(_0x176ce8._0x1dee01) + _0x238c55[_0x2b5014(0x167)] : null
|
|
1542
|
+
][_0x2b5014(_0x176ce8._0x587a79)](Boolean)[_0x2b5014(_0x176ce8._0x3dadab)]('\x20');
|
|
1543
|
+
return _0x533de3 + _0x2b5014(0x1c3) + _0x525781 + '\x20' + _0x120bcd + _0x2b5014(_0x176ce8._0x56a117);
|
|
1544
|
+
}
|
|
1545
|
+
const _0x4f0e31 = _0x238c55[_0x2b5014(0x1ea)] ? _0x2b5014(0x21a) + _0x238c55[_0x2b5014(_0x176ce8._0x35c924)] : '';
|
|
1546
|
+
return _0x533de3 + _0x2b5014(0x1c3) + _0x525781 + _0x4f0e31;
|
|
1547
|
+
}
|
|
1548
|
+
const _0x5edba5 = _0x238c55[_0x2b5014(0x174)] == null ? _0x238c55[_0x2b5014(0x276)] ?? _0x2b5014(0x1c9) : '#' + _0x238c55[_0x2b5014(0x174)];
|
|
1549
|
+
return _0x5edba5 + _0x2b5014(0x205) + (_0x238c55[_0x2b5014(0x272)] ?? _0x2b5014(0x267));
|
|
1550
|
+
})[_0x177ef8(0x1d1)]('\x0a');
|
|
1551
|
+
}
|
|
1552
|
+
function formatUnclaimTaskResult(_0x47fd64) {
|
|
1553
|
+
const _0x4fcc6e = _0x1e865e, _0x4b924b = _0x47fd64['taskNumber'] == null ? _0x4fcc6e(0x2ce) : _0x47fd64[_0x4fcc6e(0x20d)] != null ? '#' + _0x47fd64[_0x4fcc6e(0x174)] + '.' + _0x47fd64[_0x4fcc6e(0x20d)] : '#' + _0x47fd64[_0x4fcc6e(0x174)];
|
|
1554
|
+
return _0x4b924b + _0x4fcc6e(0x2b0) + _0x47fd64['status'];
|
|
1555
|
+
}
|
|
1556
|
+
function formatUpdateTaskStatusResult(_0xf68a86) {
|
|
1557
|
+
const _0x4d11b1 = { _0x51c3cb: 0x20d }, _0x219a52 = _0x1e865e, _0xa817f4 = _0xf68a86['taskNumber'] == null ? _0x219a52(0x2ce) : _0xf68a86['subtaskNumber'] != null ? '#' + _0xf68a86[_0x219a52(0x174)] + '.' + _0xf68a86[_0x219a52(_0x4d11b1._0x51c3cb)] : '#' + _0xf68a86[_0x219a52(0x174)];
|
|
1558
|
+
return _0xa817f4 + '\x20status=' + _0xf68a86['status'];
|
|
1559
|
+
}
|
|
1560
|
+
function getChatBridgeToolDefinitions() {
|
|
1561
|
+
const _0x4d3007 = {
|
|
1562
|
+
_0x130e06: 0x1c4,
|
|
1563
|
+
_0x4c924b: 0x29e,
|
|
1564
|
+
_0x3d7383: 0x188,
|
|
1565
|
+
_0x509b58: 0x1d8
|
|
1566
|
+
}, _0x426655 = _0x1e865e;
|
|
1567
|
+
return [
|
|
1568
|
+
{ 'name': _0x426655(_0x4d3007._0x130e06) },
|
|
1569
|
+
{ 'name': 'check_messages' },
|
|
1570
|
+
{ 'name': 'read_history' },
|
|
1571
|
+
{ 'name': _0x426655(_0x4d3007._0x4c924b) },
|
|
1572
|
+
{ 'name': 'upload_file' },
|
|
1573
|
+
{ 'name': 'view_file' },
|
|
1574
|
+
{ 'name': _0x426655(0x236) },
|
|
1575
|
+
{ 'name': 'create_tasks' },
|
|
1576
|
+
{ 'name': _0x426655(0x2d9) },
|
|
1577
|
+
{ 'name': _0x426655(_0x4d3007._0x3d7383) },
|
|
1578
|
+
{ 'name': _0x426655(0x246) },
|
|
1579
|
+
{ 'name': _0x426655(0x29b) },
|
|
1580
|
+
{ 'name': _0x426655(0x1f8) },
|
|
1581
|
+
{ 'name': _0x426655(_0x4d3007._0x509b58) },
|
|
1582
|
+
{ 'name': _0x426655(0x1e0) }
|
|
1583
|
+
];
|
|
1584
|
+
}
|
|
1585
|
+
function createChatBridgeHandlers(_0x1b888f) {
|
|
1586
|
+
const _0xbcbba3 = {
|
|
1587
|
+
_0x4231e7: 0x20a,
|
|
1588
|
+
_0x5626c4: 0x281
|
|
1589
|
+
}, _0x2dfc9d = {
|
|
1590
|
+
_0x1f1b5f: 0x29c,
|
|
1591
|
+
_0x286181: 0x187,
|
|
1592
|
+
_0x1ed248: 0x1d6,
|
|
1593
|
+
_0x5c7ac2: 0x202,
|
|
1594
|
+
_0x262db5: 0x1e2,
|
|
1595
|
+
_0x3dda70: 0x23a
|
|
1596
|
+
}, _0x401425 = {
|
|
1597
|
+
_0xc2aded: 0x29c,
|
|
1598
|
+
_0x44f927: 0x1b2,
|
|
1599
|
+
_0x456396: 0x1b7,
|
|
1600
|
+
_0xb7b06f: 0x202,
|
|
1601
|
+
_0x50191c: 0x264,
|
|
1602
|
+
_0x4a6cef: 0x231,
|
|
1603
|
+
_0x41fe60: 0x1c8
|
|
1604
|
+
}, _0x4e3da4 = {
|
|
1605
|
+
_0x2f57e3: 0x2a4,
|
|
1606
|
+
_0x2b32bd: 0x1e2,
|
|
1607
|
+
_0x43982e: 0x226,
|
|
1608
|
+
_0xc30f7d: 0x23f,
|
|
1609
|
+
_0x1e592b: 0x1d2,
|
|
1610
|
+
_0x2b5679: 0x273
|
|
1611
|
+
}, _0x4a6ae1 = {
|
|
1612
|
+
_0x4cd417: 0x15a,
|
|
1613
|
+
_0x1fbc40: 0x1d2,
|
|
1614
|
+
_0x374e66: 0x202
|
|
1615
|
+
}, _0x8ee56e = { _0x12fa53: 0x1ec }, _0xcc22ab = { _0x4faa6a: 0x2c5 }, _0x33d330 = {
|
|
1616
|
+
_0x320866: 0x246,
|
|
1617
|
+
_0x164d63: 0x223
|
|
1618
|
+
}, _0x52b962 = {
|
|
1619
|
+
_0x5af7c3: 0x1a6,
|
|
1620
|
+
_0x203082: 0x18d
|
|
1621
|
+
}, _0x2f5f43 = {
|
|
1622
|
+
_0x2682ee: 0x2d9,
|
|
1623
|
+
_0x5ac758: 0x1d4,
|
|
1624
|
+
_0x31ad97: 0x198,
|
|
1625
|
+
_0x4ee1d1: 0x28d
|
|
1626
|
+
}, _0x312df0 = { _0x3c1d24: 0x200 }, _0x122b8a = {
|
|
1627
|
+
_0x54ba02: 0x29c,
|
|
1628
|
+
_0x5a5dc2: 0x264,
|
|
1629
|
+
_0x50fd5d: 0x264,
|
|
1630
|
+
_0x56f697: 0x1e2,
|
|
1631
|
+
_0x3b38dc: 0x2ad,
|
|
1632
|
+
_0x404889: 0x2a2,
|
|
1633
|
+
_0x3d0d68: 0x1cc,
|
|
1634
|
+
_0x2b4371: 0x153,
|
|
1635
|
+
_0x5c4c76: 0x174,
|
|
1636
|
+
_0x345177: 0x153
|
|
1637
|
+
}, _0x162343 = { _0x1f1a2e: 0x2ca }, _0xf01c8e = {
|
|
1638
|
+
_0x21e3e4: 0x271,
|
|
1639
|
+
_0x19b1a5: 0x2b7
|
|
1640
|
+
}, _0x22cfaa = {
|
|
1641
|
+
_0x320472: 0x232,
|
|
1642
|
+
_0x50eee8: 0x263,
|
|
1643
|
+
_0x2dbbc6: 0x174,
|
|
1644
|
+
_0x42fa79: 0x2ce,
|
|
1645
|
+
_0x5927fe: 0x232,
|
|
1646
|
+
_0xa59a4a: 0x229,
|
|
1647
|
+
_0x5c784d: 0x213,
|
|
1648
|
+
_0x49cc4f: 0x2cb,
|
|
1649
|
+
_0x28ccb0: 0x22b,
|
|
1650
|
+
_0x1bc9af: 0x1d1,
|
|
1651
|
+
_0x4273e1: 0x14f,
|
|
1652
|
+
_0x165ad2: 0x1f0,
|
|
1653
|
+
_0x2ff4ef: 0x193,
|
|
1654
|
+
_0x34bb9b: 0x287,
|
|
1655
|
+
_0xcd7b82: 0x220,
|
|
1656
|
+
_0x451e34: 0x1b7,
|
|
1657
|
+
_0x3d08f7: 0x2a4,
|
|
1658
|
+
_0x10ffc1: 0x263,
|
|
1659
|
+
_0xbdc636: 0x287,
|
|
1660
|
+
_0x2de0c5: 0x226,
|
|
1661
|
+
_0x40509b: 0x208,
|
|
1662
|
+
_0x3623dc: 0x293,
|
|
1663
|
+
_0x3c4768: 0x16e,
|
|
1664
|
+
_0x4de521: 0x2d5,
|
|
1665
|
+
_0x13ca2f: 0x282,
|
|
1666
|
+
_0x1b719b: 0x1d1,
|
|
1667
|
+
_0x367fbf: 0x2a0,
|
|
1668
|
+
_0x39c5d4: 0x1dc,
|
|
1669
|
+
_0x15c3af: 0x23b,
|
|
1670
|
+
_0x35033e: 0x276
|
|
1671
|
+
}, _0x37c7b1 = {
|
|
1672
|
+
_0x211ef7: 0x29c,
|
|
1673
|
+
_0x19770b: 0x151,
|
|
1674
|
+
_0x210959: 0x1cc,
|
|
1675
|
+
_0x86217d: 0x2a2
|
|
1676
|
+
}, _0x4dcf62 = {
|
|
1677
|
+
_0x336148: 0x264,
|
|
1678
|
+
_0x12615c: 0x29c,
|
|
1679
|
+
_0x36b555: 0x2c1,
|
|
1680
|
+
_0x3e3add: 0x1e2,
|
|
1681
|
+
_0x291ed4: 0x1db,
|
|
1682
|
+
_0x35fba0: 0x2a2
|
|
1683
|
+
}, _0x23f509 = {
|
|
1684
|
+
_0x32f3f3: 0x264,
|
|
1685
|
+
_0x430962: 0x21f,
|
|
1686
|
+
_0x26d455: 0x2ba,
|
|
1687
|
+
_0x8aa740: 0x1a2,
|
|
1688
|
+
_0x543aa3: 0x276,
|
|
1689
|
+
_0x428964: 0x2b7,
|
|
1690
|
+
_0x381acc: 0x1ff,
|
|
1691
|
+
_0x17a162: 0x174,
|
|
1692
|
+
_0x59f498: 0x27e,
|
|
1693
|
+
_0x4a1dac: 0x2ab,
|
|
1694
|
+
_0x175542: 0x276,
|
|
1695
|
+
_0x5a3d47: 0x183,
|
|
1696
|
+
_0x402013: 0x222,
|
|
1697
|
+
_0x2b7b7d: 0x250,
|
|
1698
|
+
_0x217d54: 0x1d1,
|
|
1699
|
+
_0x4a46a6: 0x1d6,
|
|
1700
|
+
_0x17e7d5: 0x1b7,
|
|
1701
|
+
_0x1ab230: 0x17b,
|
|
1702
|
+
_0x1e75e2: 0x1be
|
|
1703
|
+
}, _0x1a6af5 = {
|
|
1704
|
+
_0x332181: 0x286,
|
|
1705
|
+
_0xefdb70: 0x24b,
|
|
1706
|
+
_0x427512: 0x25c
|
|
1707
|
+
}, _0x3e3605 = _0x1e865e;
|
|
1708
|
+
function _0x3feae9(_0x370e15, _0x46a3aa) {
|
|
1709
|
+
const _0x1489e0 = _0x9c1d;
|
|
1710
|
+
if (!_0x1b888f[_0x1489e0(_0x1a6af5._0x332181)])
|
|
1701
1711
|
return;
|
|
1702
|
-
if (!
|
|
1703
|
-
throw new Error(
|
|
1704
|
-
if (
|
|
1705
|
-
throw new Error(
|
|
1712
|
+
if (!_0x1b888f['workerThreadTarget'])
|
|
1713
|
+
throw new Error(_0x370e15 + _0x1489e0(0x283));
|
|
1714
|
+
if (_0x46a3aa !== _0x1b888f[_0x1489e0(_0x1a6af5._0xefdb70)])
|
|
1715
|
+
throw new Error(_0x370e15 + ':\x20worker\x20can\x20only\x20operate\x20inside\x20its\x20own\x20task\x20thread\x20(' + _0x1b888f[_0x1489e0(0x24b)] + _0x1489e0(_0x1a6af5._0x427512) + _0x46a3aa);
|
|
1706
1716
|
}
|
|
1707
|
-
async function
|
|
1708
|
-
const
|
|
1709
|
-
if (!
|
|
1717
|
+
async function _0x123bae(_0x2e48d9) {
|
|
1718
|
+
const _0x45e3b7 = _0x9c1d;
|
|
1719
|
+
if (!_0x1b888f[_0x45e3b7(0x29c)] || !_0x1b888f[_0x45e3b7(_0x23f509._0x32f3f3)] || _0x1b888f['workerMode'] || _0x1b888f[_0x45e3b7(0x260)] !== !![])
|
|
1710
1720
|
return null;
|
|
1711
|
-
const
|
|
1712
|
-
if (
|
|
1721
|
+
const _0x2cfc8b = parseTarget(_0x2e48d9[_0x45e3b7(_0x23f509._0x430962)]);
|
|
1722
|
+
if (_0x2cfc8b[_0x45e3b7(_0x23f509._0x26d455)] !== _0x45e3b7(0x21f))
|
|
1713
1723
|
return null;
|
|
1714
|
-
const
|
|
1715
|
-
let
|
|
1724
|
+
const _0x592fb1 = _0x2e48d9[_0x45e3b7(_0x23f509._0x8aa740)] != null ? _0x2cfc8b['channelTarget'] + ':t' + _0x2e48d9['threadNumber'] : _0x2cfc8b[_0x45e3b7(0x1a9)] + ':' + _0x2e48d9[_0x45e3b7(_0x23f509._0x543aa3)];
|
|
1725
|
+
let _0x39684d;
|
|
1716
1726
|
try {
|
|
1717
|
-
const
|
|
1718
|
-
'channel':
|
|
1727
|
+
const _0x451149 = await _0x1b888f[_0x45e3b7(0x1a6)][_0x45e3b7(0x2c3)]({
|
|
1728
|
+
'channel': _0x592fb1,
|
|
1719
1729
|
'limit': 0x14
|
|
1720
1730
|
});
|
|
1721
|
-
|
|
1731
|
+
_0x39684d = _0x451149[_0x45e3b7(_0x23f509._0x428964)][_0x45e3b7(_0x23f509._0x381acc)](_0x3a3921 => _0x3a3921[_0x45e3b7(0x276)] === _0x2e48d9[_0x45e3b7(0x276)]);
|
|
1722
1732
|
} catch {
|
|
1723
|
-
|
|
1733
|
+
_0x39684d = void 0x0;
|
|
1724
1734
|
}
|
|
1725
|
-
const
|
|
1726
|
-
|
|
1735
|
+
const _0x2e097e = _0x2e48d9[_0x45e3b7(0x174)] == null ? _0x45e3b7(0x2ce) : '#' + _0x2e48d9[_0x45e3b7(_0x23f509._0x17a162)], _0x5dd4f3 = [
|
|
1736
|
+
_0x45e3b7(_0x23f509._0x59f498) + _0x592fb1 + _0x45e3b7(_0x23f509._0x4a1dac) + _0x2e48d9[_0x45e3b7(_0x23f509._0x175542)][_0x45e3b7(0x229)](0x0, 0x8) + _0x45e3b7(0x181) + new Date()[_0x45e3b7(0x1fd)]() + _0x45e3b7(0x2df) + _0x2e097e + _0x45e3b7(_0x23f509._0x5a3d47),
|
|
1727
1737
|
'',
|
|
1728
|
-
|
|
1738
|
+
_0x39684d ? _0x45e3b7(_0x23f509._0x402013) + _0x39684d['content'] : _0x45e3b7(_0x23f509._0x2b7b7d) + _0x2e48d9['messageId'],
|
|
1729
1739
|
'',
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
][
|
|
1733
|
-
'method':
|
|
1734
|
-
'headers': { 'Content-Type':
|
|
1735
|
-
'body': JSON[
|
|
1736
|
-
'agent_id':
|
|
1737
|
-
'thread_target':
|
|
1740
|
+
_0x45e3b7(0x297) + _0x592fb1,
|
|
1741
|
+
_0x45e3b7(0x227)
|
|
1742
|
+
][_0x45e3b7(_0x23f509._0x217d54)]('\x0a'), _0x1db547 = await fetch(_0x1b888f['daemonLocalUrl'] + '/workers/deliver', {
|
|
1743
|
+
'method': _0x45e3b7(_0x23f509._0x4a46a6),
|
|
1744
|
+
'headers': { 'Content-Type': _0x45e3b7(_0x23f509._0x17e7d5) },
|
|
1745
|
+
'body': JSON[_0x45e3b7(0x2a4)]({
|
|
1746
|
+
'agent_id': _0x1b888f[_0x45e3b7(0x264)],
|
|
1747
|
+
'thread_target': _0x592fb1,
|
|
1738
1748
|
'spawn_packet': {
|
|
1739
|
-
'replyTarget':
|
|
1740
|
-
...
|
|
1749
|
+
'replyTarget': _0x592fb1,
|
|
1750
|
+
..._0x2e48d9[_0x45e3b7(0x287)] ? { 'taskId': _0x2e48d9[_0x45e3b7(0x287)] } : _0x2e48d9[_0x45e3b7(0x174)] != null ? { 'taskId': _0x45e3b7(_0x23f509._0x1ab230) + _0x2e48d9[_0x45e3b7(0x174)] } : {}
|
|
1741
1751
|
},
|
|
1742
1752
|
'payload': {
|
|
1743
1753
|
'mode': 'user',
|
|
1744
|
-
'text':
|
|
1754
|
+
'text': _0x5dd4f3
|
|
1745
1755
|
}
|
|
1746
1756
|
})
|
|
1747
|
-
}),
|
|
1748
|
-
if (!
|
|
1749
|
-
throw new Error(
|
|
1757
|
+
}), _0x462e95 = await _0x1db547['json']();
|
|
1758
|
+
if (!_0x462e95['ok'])
|
|
1759
|
+
throw new Error(_0x462e95['error'] ?? 'worker\x20handoff\x20failed');
|
|
1750
1760
|
return {
|
|
1751
1761
|
'stopMain': !![],
|
|
1752
|
-
'threadTarget':
|
|
1753
|
-
'workerDisposition':
|
|
1762
|
+
'threadTarget': _0x592fb1,
|
|
1763
|
+
'workerDisposition': _0x462e95['disposition'] === 'queued' ? _0x45e3b7(0x282) : _0x45e3b7(0x2d3),
|
|
1754
1764
|
'workerHandoff': !![],
|
|
1755
|
-
'workerSessionId':
|
|
1756
|
-
'executionMode':
|
|
1765
|
+
'workerSessionId': _0x462e95[_0x45e3b7(0x278)] ?? '',
|
|
1766
|
+
'executionMode': _0x45e3b7(_0x23f509._0x1e75e2)
|
|
1757
1767
|
};
|
|
1758
1768
|
}
|
|
1759
|
-
async function
|
|
1760
|
-
const
|
|
1761
|
-
if (!
|
|
1769
|
+
async function _0x33c7aa() {
|
|
1770
|
+
const _0x378c19 = _0x9c1d;
|
|
1771
|
+
if (!_0x1b888f[_0x378c19(0x29c)] || !_0x1b888f[_0x378c19(_0x4dcf62._0x336148)] || _0x1b888f['workerMode'])
|
|
1762
1772
|
return null;
|
|
1763
1773
|
try {
|
|
1764
|
-
const
|
|
1765
|
-
if (!
|
|
1774
|
+
const _0x3804e3 = await fetch(_0x1b888f[_0x378c19(_0x4dcf62._0x12615c)] + _0x378c19(_0x4dcf62._0x36b555) + encodeURIComponent(_0x1b888f[_0x378c19(_0x4dcf62._0x336148)])), _0x3ad934 = await _0x3804e3[_0x378c19(_0x4dcf62._0x3e3add)]();
|
|
1775
|
+
if (!_0x3ad934['ok'])
|
|
1766
1776
|
return null;
|
|
1767
|
-
const
|
|
1768
|
-
for (const
|
|
1769
|
-
|
|
1777
|
+
const _0x5265f2 = new Set();
|
|
1778
|
+
for (const _0x1ca589 of _0x3ad934[_0x378c19(0x151)]) {
|
|
1779
|
+
_0x1ca589[_0x378c19(0x2ad)] !== _0x378c19(_0x4dcf62._0x291ed4) && _0x1ca589[_0x378c19(0x2a2)] && _0x5265f2[_0x378c19(0x1cc)](_0x1ca589[_0x378c19(_0x4dcf62._0x35fba0)]);
|
|
1770
1780
|
}
|
|
1771
|
-
return
|
|
1781
|
+
return _0x5265f2[_0x378c19(0x1b8)] > 0x0 ? _0x5265f2 : null;
|
|
1772
1782
|
} catch {
|
|
1773
1783
|
return null;
|
|
1774
1784
|
}
|
|
1775
1785
|
}
|
|
1776
|
-
const
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1786
|
+
const _0x53b1db = new Set([
|
|
1787
|
+
_0x3e3605(_0xbcbba3._0x4231e7),
|
|
1788
|
+
_0x3e3605(0x2bf),
|
|
1789
|
+
_0x3e3605(_0xbcbba3._0x5626c4)
|
|
1780
1790
|
]);
|
|
1781
|
-
async function
|
|
1782
|
-
const
|
|
1783
|
-
if (!
|
|
1791
|
+
async function _0x3e22f1() {
|
|
1792
|
+
const _0x1f9bbd = _0x3e3605;
|
|
1793
|
+
if (!_0x1b888f[_0x1f9bbd(_0x37c7b1._0x211ef7)] || !_0x1b888f['agentId'] || _0x1b888f[_0x1f9bbd(0x286)])
|
|
1784
1794
|
return null;
|
|
1785
1795
|
try {
|
|
1786
|
-
const
|
|
1787
|
-
if (!
|
|
1796
|
+
const _0x4fe66c = await fetch(_0x1b888f[_0x1f9bbd(0x29c)] + _0x1f9bbd(0x2c1) + encodeURIComponent(_0x1b888f['agentId'])), _0x38b74a = await _0x4fe66c[_0x1f9bbd(0x1e2)]();
|
|
1797
|
+
if (!_0x38b74a['ok'])
|
|
1788
1798
|
return null;
|
|
1789
|
-
const
|
|
1790
|
-
for (const
|
|
1791
|
-
|
|
1799
|
+
const _0x1c28e0 = new Set();
|
|
1800
|
+
for (const _0x14ab86 of _0x38b74a[_0x1f9bbd(_0x37c7b1._0x19770b)]) {
|
|
1801
|
+
_0x53b1db['has'](_0x14ab86[_0x1f9bbd(0x2ad)]) && _0x14ab86[_0x1f9bbd(0x2a2)] && _0x1c28e0[_0x1f9bbd(_0x37c7b1._0x210959)](_0x14ab86[_0x1f9bbd(_0x37c7b1._0x86217d)]);
|
|
1792
1802
|
}
|
|
1793
|
-
return
|
|
1803
|
+
return _0x1c28e0['size'] > 0x0 ? _0x1c28e0 : null;
|
|
1794
1804
|
} catch {
|
|
1795
1805
|
return null;
|
|
1796
1806
|
}
|
|
1797
1807
|
}
|
|
1798
1808
|
return {
|
|
1799
|
-
async 'send_message'(
|
|
1800
|
-
const
|
|
1801
|
-
if (!
|
|
1802
|
-
const
|
|
1803
|
-
if (
|
|
1804
|
-
const
|
|
1805
|
-
if (
|
|
1809
|
+
async 'send_message'(_0x2c2797) {
|
|
1810
|
+
const _0x35fc6c = _0x3e3605;
|
|
1811
|
+
if (!_0x1b888f[_0x35fc6c(0x286)] && _0x1b888f[_0x35fc6c(0x260)] && _0x1b888f['daemonLocalUrl'] && _0x1b888f['agentId']) {
|
|
1812
|
+
const _0x81ce3e = await _0x1b888f['client'][_0x35fc6c(0x1fb)](_0x2c2797[_0x35fc6c(_0x22cfaa._0x320472)]);
|
|
1813
|
+
if (_0x81ce3e[_0x35fc6c(_0x22cfaa._0x50eee8)] && _0x81ce3e['threadId']) {
|
|
1814
|
+
const _0x5f4491 = _0x81ce3e['task'][_0x35fc6c(_0x22cfaa._0x2dbbc6)] != null ? '#' + _0x81ce3e[_0x35fc6c(0x263)][_0x35fc6c(0x174)] : _0x35fc6c(_0x22cfaa._0x42fa79), _0x4550d5 = _0x81ce3e[_0x35fc6c(0x1a2)] != null ? _0x81ce3e[_0x35fc6c(_0x22cfaa._0x5927fe)] + ':t' + _0x81ce3e['threadNumber'] : _0x81ce3e[_0x35fc6c(0x232)] + ':' + _0x81ce3e[_0x35fc6c(0x2a9)][_0x35fc6c(_0x22cfaa._0xa59a4a)](0x0, 0x8), _0x10bf86 = await _0x3e22f1();
|
|
1815
|
+
if (_0x10bf86?.[_0x35fc6c(_0x22cfaa._0x5c784d)](_0x4550d5))
|
|
1806
1816
|
return [
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
][
|
|
1810
|
-
const
|
|
1811
|
-
|
|
1817
|
+
'Task\x20' + _0x5f4491 + _0x35fc6c(_0x22cfaa._0x49cc4f) + _0x4550d5 + _0x35fc6c(_0x22cfaa._0x28ccb0),
|
|
1818
|
+
_0x35fc6c(0x1ef)
|
|
1819
|
+
][_0x35fc6c(_0x22cfaa._0x1bc9af)]('\x0a');
|
|
1820
|
+
const _0x542cdc = [
|
|
1821
|
+
'[target=' + _0x4550d5 + _0x35fc6c(0x19b) + new Date()['toISOString']() + _0x35fc6c(_0x22cfaa._0x4273e1),
|
|
1812
1822
|
'',
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
][
|
|
1818
|
-
'method':
|
|
1819
|
-
'headers': { 'Content-Type':
|
|
1820
|
-
'body': JSON[
|
|
1821
|
-
'agent_id':
|
|
1822
|
-
'thread_target':
|
|
1823
|
+
_0x35fc6c(_0x22cfaa._0x165ad2) + _0x2c2797['content'],
|
|
1824
|
+
_0x35fc6c(_0x22cfaa._0x2ff4ef) + _0x5f4491 + '\x20(' + _0x81ce3e['task'][_0x35fc6c(_0x22cfaa._0x34bb9b)] + ')',
|
|
1825
|
+
_0x35fc6c(0x297) + _0x4550d5,
|
|
1826
|
+
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1827
|
+
][_0x35fc6c(0x1d1)]('\x0a'), _0x3cde54 = await fetch(_0x1b888f['daemonLocalUrl'] + _0x35fc6c(_0x22cfaa._0xcd7b82), {
|
|
1828
|
+
'method': 'POST',
|
|
1829
|
+
'headers': { 'Content-Type': _0x35fc6c(_0x22cfaa._0x451e34) },
|
|
1830
|
+
'body': JSON[_0x35fc6c(_0x22cfaa._0x3d08f7)]({
|
|
1831
|
+
'agent_id': _0x1b888f[_0x35fc6c(0x264)],
|
|
1832
|
+
'thread_target': _0x4550d5,
|
|
1823
1833
|
'spawn_packet': {
|
|
1824
|
-
'replyTarget':
|
|
1825
|
-
'taskId':
|
|
1834
|
+
'replyTarget': _0x4550d5,
|
|
1835
|
+
'taskId': _0x81ce3e[_0x35fc6c(_0x22cfaa._0x10ffc1)][_0x35fc6c(_0x22cfaa._0xbdc636)]
|
|
1826
1836
|
},
|
|
1827
1837
|
'payload': {
|
|
1828
|
-
'mode':
|
|
1829
|
-
'text':
|
|
1838
|
+
'mode': _0x35fc6c(0x277),
|
|
1839
|
+
'text': _0x542cdc
|
|
1830
1840
|
}
|
|
1831
1841
|
})
|
|
1832
|
-
}),
|
|
1833
|
-
if (!
|
|
1834
|
-
throw new Error(
|
|
1842
|
+
}), _0x4ac87a = await _0x3cde54[_0x35fc6c(0x1e2)]();
|
|
1843
|
+
if (!_0x4ac87a['ok'])
|
|
1844
|
+
throw new Error(_0x4ac87a[_0x35fc6c(_0x22cfaa._0x2de0c5)] ?? _0x35fc6c(_0x22cfaa._0x40509b));
|
|
1835
1845
|
return [
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
][
|
|
1846
|
+
_0x35fc6c(_0x22cfaa._0x3623dc) + _0x5f4491 + _0x35fc6c(0x2cb) + _0x4550d5 + '.\x20stopMain=true\x20executionMode=worker',
|
|
1847
|
+
_0x35fc6c(_0x22cfaa._0x3c4768) + (_0x4ac87a[_0x35fc6c(_0x22cfaa._0x4de521)] === 'queued' ? _0x35fc6c(_0x22cfaa._0x13ca2f) : 'started') + '.',
|
|
1848
|
+
_0x35fc6c(0x24c)
|
|
1849
|
+
][_0x35fc6c(_0x22cfaa._0x1b719b)]('\x0a');
|
|
1840
1850
|
}
|
|
1841
1851
|
}
|
|
1842
|
-
const
|
|
1843
|
-
'attachmentIds':
|
|
1844
|
-
'content':
|
|
1845
|
-
'target':
|
|
1846
|
-
'visibility':
|
|
1852
|
+
const _0x23cb12 = await _0x1b888f[_0x35fc6c(0x1a6)][_0x35fc6c(0x15d)]({
|
|
1853
|
+
'attachmentIds': _0x2c2797[_0x35fc6c(_0x22cfaa._0x367fbf)],
|
|
1854
|
+
'content': _0x2c2797['content'],
|
|
1855
|
+
'target': _0x2c2797[_0x35fc6c(0x232)],
|
|
1856
|
+
'visibility': _0x2c2797[_0x35fc6c(_0x22cfaa._0x39c5d4)]
|
|
1847
1857
|
});
|
|
1848
|
-
return
|
|
1858
|
+
return _0x35fc6c(_0x22cfaa._0x15c3af) + _0x2c2797[_0x35fc6c(_0x22cfaa._0x5927fe)] + '.\x20Message\x20ID:\x20' + _0x23cb12[_0x35fc6c(_0x22cfaa._0x35033e)];
|
|
1849
1859
|
},
|
|
1850
1860
|
async 'check_messages'() {
|
|
1851
|
-
const
|
|
1852
|
-
if (!
|
|
1853
|
-
const
|
|
1854
|
-
if (
|
|
1855
|
-
return formatCheckMessages(
|
|
1861
|
+
const _0x349d9e = _0x3e3605, _0x35a29f = await _0x1b888f[_0x349d9e(0x1a6)][_0x349d9e(0x284)]();
|
|
1862
|
+
if (!_0x1b888f['workerMode']) {
|
|
1863
|
+
const _0x468e23 = await _0x33c7aa();
|
|
1864
|
+
if (_0x468e23)
|
|
1865
|
+
return formatCheckMessages(_0x35a29f['messages'][_0x349d9e(_0xf01c8e._0x21e3e4)](_0x152648 => !_0x468e23[_0x349d9e(0x213)](_0x152648[_0x349d9e(0x232)])));
|
|
1856
1866
|
}
|
|
1857
|
-
return formatCheckMessages(
|
|
1867
|
+
return formatCheckMessages(_0x35a29f[_0x349d9e(_0xf01c8e._0x19b1a5)]);
|
|
1858
1868
|
},
|
|
1859
|
-
async 'read_history'(
|
|
1860
|
-
const
|
|
1861
|
-
return formatHistory(
|
|
1869
|
+
async 'read_history'(_0x1d2f5e) {
|
|
1870
|
+
const _0x128d7a = _0x3e3605, _0x3ec9c3 = await _0x1b888f[_0x128d7a(0x1a6)][_0x128d7a(0x2c3)](_0x1d2f5e);
|
|
1871
|
+
return formatHistory(_0x3ec9c3);
|
|
1862
1872
|
},
|
|
1863
1873
|
async 'list_server'() {
|
|
1864
|
-
const
|
|
1865
|
-
return formatServerDirectory(
|
|
1874
|
+
const _0x2850c7 = _0x3e3605, _0x378610 = await _0x1b888f[_0x2850c7(0x1a6)][_0x2850c7(_0x162343._0x1f1a2e)]();
|
|
1875
|
+
return formatServerDirectory(_0x378610);
|
|
1866
1876
|
},
|
|
1867
|
-
async 'list_tasks'(
|
|
1868
|
-
const
|
|
1869
|
-
let
|
|
1870
|
-
if (
|
|
1877
|
+
async 'list_tasks'(_0x3c1ef4) {
|
|
1878
|
+
const _0xbef3e7 = _0x3e3605, _0x12937b = await _0x1b888f[_0xbef3e7(0x1a6)]['listTasks'](_0x3c1ef4);
|
|
1879
|
+
let _0x19caa6;
|
|
1880
|
+
if (_0x1b888f[_0xbef3e7(_0x122b8a._0x54ba02)] && _0x1b888f[_0xbef3e7(_0x122b8a._0x5a5dc2)])
|
|
1871
1881
|
try {
|
|
1872
|
-
const
|
|
1873
|
-
if (
|
|
1874
|
-
const
|
|
1875
|
-
|
|
1876
|
-
for (const
|
|
1877
|
-
if (
|
|
1882
|
+
const _0x300634 = await fetch(_0x1b888f['daemonLocalUrl'] + _0xbef3e7(0x2c1) + encodeURIComponent(_0x1b888f[_0xbef3e7(_0x122b8a._0x50fd5d)])), _0x2dee2f = await _0x300634[_0xbef3e7(_0x122b8a._0x56f697)]();
|
|
1883
|
+
if (_0x2dee2f['ok']) {
|
|
1884
|
+
const _0x450728 = _0x3c1ef4[_0xbef3e7(0x21f)] + ':';
|
|
1885
|
+
_0x19caa6 = new Set();
|
|
1886
|
+
for (const _0x49e04d of _0x2dee2f[_0xbef3e7(0x151)]) {
|
|
1887
|
+
if (_0x49e04d[_0xbef3e7(_0x122b8a._0x3b38dc)] === _0xbef3e7(0x1db))
|
|
1878
1888
|
continue;
|
|
1879
|
-
if (
|
|
1880
|
-
const
|
|
1881
|
-
if (
|
|
1882
|
-
|
|
1889
|
+
if (_0x49e04d[_0xbef3e7(0x2a2)]?.[_0xbef3e7(0x1a4)](_0x450728)) {
|
|
1890
|
+
const _0x5f4762 = _0x49e04d[_0xbef3e7(_0x122b8a._0x404889)]['slice'](_0x450728['length']), _0x891a08 = _0x12937b['tasks'][_0xbef3e7(0x1ff)](_0x19e4e5 => _0x19e4e5[_0xbef3e7(0x276)]?.['startsWith'](_0x5f4762) === !![]);
|
|
1891
|
+
if (_0x891a08?.[_0xbef3e7(0x174)] != null) {
|
|
1892
|
+
_0x19caa6[_0xbef3e7(_0x122b8a._0x3d0d68)](_0x891a08[_0xbef3e7(0x174)]);
|
|
1883
1893
|
continue;
|
|
1884
1894
|
}
|
|
1885
1895
|
}
|
|
1886
|
-
if (
|
|
1887
|
-
const
|
|
1888
|
-
|
|
1896
|
+
if (_0x49e04d[_0xbef3e7(0x1b0)]) {
|
|
1897
|
+
const _0x19fb6f = _0x12937b[_0xbef3e7(_0x122b8a._0x2b4371)]['find'](_0x4c2897 => _0x4c2897[_0xbef3e7(0x287)] === _0x49e04d[_0xbef3e7(0x1b0)]);
|
|
1898
|
+
_0x19fb6f?.[_0xbef3e7(_0x122b8a._0x5c4c76)] != null && _0x19caa6['add'](_0x19fb6f[_0xbef3e7(_0x122b8a._0x5c4c76)]);
|
|
1889
1899
|
}
|
|
1890
1900
|
}
|
|
1891
1901
|
}
|
|
1892
1902
|
} catch {
|
|
1893
1903
|
}
|
|
1894
|
-
return formatTaskList(
|
|
1904
|
+
return formatTaskList(_0x12937b[_0xbef3e7(_0x122b8a._0x345177)], _0x19caa6);
|
|
1895
1905
|
},
|
|
1896
|
-
async 'create_tasks'(
|
|
1897
|
-
const
|
|
1898
|
-
|
|
1899
|
-
const
|
|
1900
|
-
return formatCreatedTasks(
|
|
1906
|
+
async 'create_tasks'(_0x3a0504) {
|
|
1907
|
+
const _0x46a736 = _0x3e3605;
|
|
1908
|
+
_0x3feae9('create_tasks', _0x3a0504[_0x46a736(0x21f)]);
|
|
1909
|
+
const _0xe12b0b = await _0x1b888f[_0x46a736(0x1a6)][_0x46a736(_0x312df0._0x3c1d24)](_0x3a0504);
|
|
1910
|
+
return formatCreatedTasks(_0xe12b0b[_0x46a736(0x153)]);
|
|
1901
1911
|
},
|
|
1902
|
-
async 'claim_tasks'(
|
|
1903
|
-
const
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
if (
|
|
1913
|
-
throw new Error(
|
|
1914
|
-
if (!_0x52a78e['subtask_numbers'] || _0x52a78e[_0x18d493(_0x4811af._0x18d3da)][_0x18d493(_0x4811af._0x3e7d9f)] === 0x0)
|
|
1915
|
-
throw new Error(_0x18d493(_0x4811af._0x5ba21f));
|
|
1912
|
+
async 'claim_tasks'(_0x352d7f) {
|
|
1913
|
+
const _0x29d3a7 = {
|
|
1914
|
+
_0x2c46f8: 0x276,
|
|
1915
|
+
_0x19f8e2: 0x24e,
|
|
1916
|
+
_0x5a9225: 0x21b
|
|
1917
|
+
}, _0x2ffe9e = _0x3e3605;
|
|
1918
|
+
if (_0x1b888f['workerMode']) {
|
|
1919
|
+
_0x3feae9(_0x2ffe9e(_0x2f5f43._0x2682ee), _0x352d7f[_0x2ffe9e(0x21f)]);
|
|
1920
|
+
if (_0x352d7f[_0x2ffe9e(_0x2f5f43._0x5ac758)] && _0x352d7f['message_ids']['length'] > 0x0)
|
|
1921
|
+
throw new Error(_0x2ffe9e(0x28c));
|
|
1922
|
+
if (!_0x352d7f[_0x2ffe9e(0x2b3)] || _0x352d7f[_0x2ffe9e(0x2b3)][_0x2ffe9e(_0x2f5f43._0x31ad97)] === 0x0)
|
|
1923
|
+
throw new Error('claim_tasks:\x20worker\x20can\x20only\x20claim\x20subtasks\x20inside\x20its\x20own\x20task\x20thread\x20—\x20provide\x20subtask_numbers.');
|
|
1916
1924
|
}
|
|
1917
|
-
const
|
|
1918
|
-
const
|
|
1919
|
-
if (!
|
|
1920
|
-
return
|
|
1925
|
+
const _0x4afb21 = await _0x1b888f['client'][_0x2ffe9e(0x1aa)](_0x352d7f), _0x12bb0f = await Promise[_0x2ffe9e(_0x2f5f43._0x4ee1d1)](_0x4afb21['results'][_0x2ffe9e(0x209)](async _0x3bc685 => {
|
|
1926
|
+
const _0x553aae = _0x2ffe9e;
|
|
1927
|
+
if (!_0x3bc685[_0x553aae(0x155)] || !_0x3bc685[_0x553aae(_0x29d3a7._0x2c46f8)])
|
|
1928
|
+
return _0x3bc685;
|
|
1921
1929
|
try {
|
|
1922
|
-
const
|
|
1923
|
-
'channel':
|
|
1924
|
-
'messageId':
|
|
1925
|
-
'taskId':
|
|
1926
|
-
'taskNumber':
|
|
1927
|
-
'threadNumber':
|
|
1930
|
+
const _0x3695ee = await _0x123bae({
|
|
1931
|
+
'channel': _0x352d7f['channel'],
|
|
1932
|
+
'messageId': _0x3bc685['messageId'],
|
|
1933
|
+
'taskId': _0x3bc685[_0x553aae(0x287)],
|
|
1934
|
+
'taskNumber': _0x3bc685['taskNumber'],
|
|
1935
|
+
'threadNumber': _0x3bc685['threadNumber']
|
|
1928
1936
|
});
|
|
1929
|
-
return
|
|
1930
|
-
...
|
|
1931
|
-
...
|
|
1932
|
-
} :
|
|
1933
|
-
} catch (
|
|
1937
|
+
return _0x3695ee ? {
|
|
1938
|
+
..._0x3bc685,
|
|
1939
|
+
..._0x3695ee
|
|
1940
|
+
} : _0x3bc685;
|
|
1941
|
+
} catch (_0x30ac2e) {
|
|
1934
1942
|
return {
|
|
1935
|
-
...
|
|
1936
|
-
'workerHandoffError':
|
|
1943
|
+
..._0x3bc685,
|
|
1944
|
+
'workerHandoffError': _0x30ac2e instanceof Error ? _0x30ac2e[_0x553aae(_0x29d3a7._0x19f8e2)] : _0x553aae(_0x29d3a7._0x5a9225)
|
|
1937
1945
|
};
|
|
1938
1946
|
}
|
|
1939
1947
|
}));
|
|
1940
|
-
return formatClaimTaskResults(
|
|
1948
|
+
return formatClaimTaskResults(_0x12bb0f);
|
|
1941
1949
|
},
|
|
1942
|
-
async 'unclaim_task'(
|
|
1943
|
-
const
|
|
1944
|
-
if (
|
|
1945
|
-
|
|
1946
|
-
if (
|
|
1947
|
-
throw new Error(
|
|
1950
|
+
async 'unclaim_task'(_0x51722f) {
|
|
1951
|
+
const _0x500ed0 = _0x3e3605;
|
|
1952
|
+
if (_0x1b888f[_0x500ed0(0x286)]) {
|
|
1953
|
+
_0x3feae9(_0x500ed0(0x188), _0x51722f[_0x500ed0(0x21f)]);
|
|
1954
|
+
if (_0x51722f[_0x500ed0(0x243)] == null)
|
|
1955
|
+
throw new Error(_0x500ed0(0x17f));
|
|
1948
1956
|
}
|
|
1949
|
-
const
|
|
1950
|
-
return formatUnclaimTaskResult(
|
|
1957
|
+
const _0x52ebf8 = await _0x1b888f[_0x500ed0(_0x52b962._0x5af7c3)][_0x500ed0(_0x52b962._0x203082)](_0x51722f);
|
|
1958
|
+
return formatUnclaimTaskResult(_0x52ebf8);
|
|
1951
1959
|
},
|
|
1952
|
-
async 'update_task_status'(
|
|
1953
|
-
const
|
|
1954
|
-
|
|
1955
|
-
const
|
|
1956
|
-
return formatUpdateTaskStatusResult(
|
|
1960
|
+
async 'update_task_status'(_0x4ab8e9) {
|
|
1961
|
+
const _0x558e36 = _0x3e3605;
|
|
1962
|
+
_0x3feae9(_0x558e36(_0x33d330._0x320866), _0x4ab8e9[_0x558e36(0x21f)]);
|
|
1963
|
+
const _0x27a099 = await _0x1b888f[_0x558e36(0x1a6)][_0x558e36(_0x33d330._0x164d63)](_0x4ab8e9);
|
|
1964
|
+
return formatUpdateTaskStatusResult(_0x27a099);
|
|
1957
1965
|
},
|
|
1958
|
-
async 'upload_file'(
|
|
1959
|
-
const
|
|
1960
|
-
sizeBytes:
|
|
1961
|
-
...
|
|
1962
|
-
} =
|
|
1963
|
-
'channel':
|
|
1964
|
-
...
|
|
1966
|
+
async 'upload_file'(_0x2052a5) {
|
|
1967
|
+
const _0x2591c3 = _0x3e3605, _0x26d1cc = await _0x1b888f[_0x2591c3(0x1cb)](_0x2052a5[_0x2591c3(_0xcc22ab._0x4faa6a)]), {
|
|
1968
|
+
sizeBytes: _0x5ccb99,
|
|
1969
|
+
..._0x46a981
|
|
1970
|
+
} = _0x26d1cc, _0x1c69a6 = await _0x1b888f['client'][_0x2591c3(0x237)]({
|
|
1971
|
+
'channel': _0x2052a5[_0x2591c3(0x21f)],
|
|
1972
|
+
..._0x46a981
|
|
1965
1973
|
});
|
|
1966
|
-
return formatUploadResult(
|
|
1974
|
+
return formatUploadResult(_0x1c69a6);
|
|
1967
1975
|
},
|
|
1968
|
-
async 'view_file'(
|
|
1969
|
-
const
|
|
1970
|
-
if (
|
|
1971
|
-
return formatViewFileResult(
|
|
1972
|
-
const
|
|
1973
|
-
'attachmentId':
|
|
1974
|
-
'contentType':
|
|
1975
|
-
'data':
|
|
1976
|
-
'originalFilename':
|
|
1976
|
+
async 'view_file'(_0x240935) {
|
|
1977
|
+
const _0x169262 = _0x3e3605, _0x2f67be = await _0x1b888f[_0x169262(0x2cd)][_0x169262(0x239)](_0x240935[_0x169262(0x16c)]);
|
|
1978
|
+
if (_0x2f67be)
|
|
1979
|
+
return formatViewFileResult(_0x2f67be, !![]);
|
|
1980
|
+
const _0x14d3a7 = await _0x1b888f[_0x169262(0x1a6)]['downloadAttachment'](_0x240935[_0x169262(0x16c)]), _0x114e7d = await _0x1b888f[_0x169262(0x2cd)][_0x169262(_0x8ee56e._0x12fa53)]({
|
|
1981
|
+
'attachmentId': _0x240935[_0x169262(0x16c)],
|
|
1982
|
+
'contentType': _0x14d3a7['contentType'],
|
|
1983
|
+
'data': _0x14d3a7['data'],
|
|
1984
|
+
'originalFilename': _0x14d3a7[_0x169262(0x1af)]
|
|
1977
1985
|
});
|
|
1978
|
-
return formatViewFileResult(
|
|
1986
|
+
return formatViewFileResult(_0x114e7d, ![]);
|
|
1979
1987
|
},
|
|
1980
|
-
async 'get_worker_status'(
|
|
1981
|
-
const
|
|
1982
|
-
if (!
|
|
1983
|
-
return
|
|
1984
|
-
const
|
|
1985
|
-
if (!
|
|
1986
|
-
return
|
|
1987
|
-
return
|
|
1988
|
+
async 'get_worker_status'(_0x1be764) {
|
|
1989
|
+
const _0x562f0d = _0x3e3605;
|
|
1990
|
+
if (!_0x1b888f[_0x562f0d(0x29c)])
|
|
1991
|
+
return _0x562f0d(0x187);
|
|
1992
|
+
const _0x17746a = await fetch(_0x1b888f[_0x562f0d(0x29c)] + _0x562f0d(_0x4a6ae1._0x4cd417) + encodeURIComponent(_0x1be764['work_key'])), _0x20ee5c = await _0x17746a[_0x562f0d(0x1e2)]();
|
|
1993
|
+
if (!_0x20ee5c['ok'])
|
|
1994
|
+
return _0x562f0d(0x1d2) + _0x1be764['work_key'] + '\x22\x20not\x20found';
|
|
1995
|
+
return _0x562f0d(_0x4a6ae1._0x1fbc40) + _0x1be764[_0x562f0d(_0x4a6ae1._0x374e66)] + _0x562f0d(0x2d6) + _0x20ee5c[_0x562f0d(0x2ad)];
|
|
1988
1996
|
},
|
|
1989
|
-
async 'park_worker'(
|
|
1990
|
-
const
|
|
1991
|
-
if (!
|
|
1992
|
-
return
|
|
1993
|
-
const
|
|
1994
|
-
'method':
|
|
1995
|
-
'headers': { 'Content-Type':
|
|
1996
|
-
'body': JSON[
|
|
1997
|
-
}),
|
|
1998
|
-
if (!
|
|
1999
|
-
throw new Error(
|
|
2000
|
-
return
|
|
1997
|
+
async 'park_worker'(_0x5e36b1) {
|
|
1998
|
+
const _0x2bedfe = _0x3e3605;
|
|
1999
|
+
if (!_0x1b888f['daemonLocalUrl'])
|
|
2000
|
+
return _0x2bedfe(0x187);
|
|
2001
|
+
const _0x321172 = await fetch(_0x1b888f['daemonLocalUrl'] + _0x2bedfe(0x2da), {
|
|
2002
|
+
'method': 'POST',
|
|
2003
|
+
'headers': { 'Content-Type': _0x2bedfe(0x1b7) },
|
|
2004
|
+
'body': JSON[_0x2bedfe(_0x4e3da4._0x2f57e3)]({ 'work_key': _0x5e36b1[_0x2bedfe(0x202)] })
|
|
2005
|
+
}), _0x408207 = await _0x321172[_0x2bedfe(_0x4e3da4._0x2b32bd)]();
|
|
2006
|
+
if (!_0x408207['ok'])
|
|
2007
|
+
throw new Error(_0x408207[_0x2bedfe(_0x4e3da4._0x43982e)] ?? _0x2bedfe(_0x4e3da4._0xc30f7d));
|
|
2008
|
+
return _0x2bedfe(_0x4e3da4._0x1e592b) + _0x5e36b1['work_key'] + _0x2bedfe(_0x4e3da4._0x2b5679);
|
|
2001
2009
|
},
|
|
2002
|
-
async 'mark_waiting_input'(
|
|
2003
|
-
const
|
|
2004
|
-
if (!
|
|
2005
|
-
return
|
|
2006
|
-
const
|
|
2007
|
-
'method':
|
|
2008
|
-
'headers': { 'Content-Type':
|
|
2009
|
-
'body': JSON[
|
|
2010
|
-
'work_key':
|
|
2011
|
-
'agent_id':
|
|
2010
|
+
async 'mark_waiting_input'(_0xc99844) {
|
|
2011
|
+
const _0x37fb80 = _0x3e3605;
|
|
2012
|
+
if (!_0x1b888f[_0x37fb80(_0x401425._0xc2aded)] || !_0x1b888f[_0x37fb80(0x264)])
|
|
2013
|
+
return _0x37fb80(_0x401425._0x44f927);
|
|
2014
|
+
const _0x39ea63 = await fetch(_0x1b888f['daemonLocalUrl'] + _0x37fb80(0x18b), {
|
|
2015
|
+
'method': 'POST',
|
|
2016
|
+
'headers': { 'Content-Type': _0x37fb80(_0x401425._0x456396) },
|
|
2017
|
+
'body': JSON[_0x37fb80(0x2a4)]({
|
|
2018
|
+
'work_key': _0xc99844[_0x37fb80(_0x401425._0xb7b06f)],
|
|
2019
|
+
'agent_id': _0x1b888f[_0x37fb80(_0x401425._0x50191c)]
|
|
2012
2020
|
})
|
|
2013
|
-
}),
|
|
2014
|
-
if (!
|
|
2015
|
-
throw new Error(
|
|
2016
|
-
return
|
|
2021
|
+
}), _0x48f595 = await _0x39ea63[_0x37fb80(0x1e2)]();
|
|
2022
|
+
if (!_0x48f595['ok'])
|
|
2023
|
+
throw new Error(_0x48f595['error'] ?? _0x37fb80(_0x401425._0x4a6cef));
|
|
2024
|
+
return _0x37fb80(0x1d2) + _0xc99844['work_key'] + _0x37fb80(_0x401425._0x41fe60);
|
|
2017
2025
|
},
|
|
2018
|
-
async 'escalate_to_main'(
|
|
2019
|
-
const
|
|
2020
|
-
if (!
|
|
2021
|
-
return
|
|
2022
|
-
const
|
|
2023
|
-
'method':
|
|
2026
|
+
async 'escalate_to_main'(_0x23fc1b) {
|
|
2027
|
+
const _0x5b1d5e = _0x3e3605;
|
|
2028
|
+
if (!_0x1b888f[_0x5b1d5e(_0x2dfc9d._0x1f1b5f)])
|
|
2029
|
+
return _0x5b1d5e(_0x2dfc9d._0x286181);
|
|
2030
|
+
const _0x38fb68 = await fetch(_0x1b888f[_0x5b1d5e(0x29c)] + _0x5b1d5e(0x1c7), {
|
|
2031
|
+
'method': _0x5b1d5e(_0x2dfc9d._0x1ed248),
|
|
2024
2032
|
'headers': { 'Content-Type': 'application/json' },
|
|
2025
|
-
'body': JSON[
|
|
2026
|
-
'work_key':
|
|
2027
|
-
'reason':
|
|
2033
|
+
'body': JSON[_0x5b1d5e(0x2a4)]({
|
|
2034
|
+
'work_key': _0x23fc1b[_0x5b1d5e(_0x2dfc9d._0x5c7ac2)],
|
|
2035
|
+
'reason': _0x23fc1b['reason']
|
|
2028
2036
|
})
|
|
2029
|
-
}),
|
|
2030
|
-
if (!
|
|
2031
|
-
throw new Error(
|
|
2032
|
-
return
|
|
2037
|
+
}), _0x30b5cb = await _0x38fb68[_0x5b1d5e(_0x2dfc9d._0x262db5)]();
|
|
2038
|
+
if (!_0x30b5cb['ok'])
|
|
2039
|
+
throw new Error(_0x30b5cb[_0x5b1d5e(0x226)] ?? _0x5b1d5e(_0x2dfc9d._0x3dda70));
|
|
2040
|
+
return _0x5b1d5e(0x1c1) + _0x23fc1b[_0x5b1d5e(0x272)];
|
|
2033
2041
|
}
|
|
2034
2042
|
};
|
|
2035
2043
|
}
|
|
2036
|
-
function textResult(
|
|
2044
|
+
function textResult(_0x29ac16, _0x211c81 = ![]) {
|
|
2045
|
+
const _0x39299a = { _0x20d024: 0x1ab }, _0x453d12 = _0x1e865e;
|
|
2037
2046
|
return {
|
|
2038
2047
|
'content': [{
|
|
2039
|
-
'type':
|
|
2040
|
-
'text':
|
|
2048
|
+
'type': _0x453d12(_0x39299a._0x20d024),
|
|
2049
|
+
'text': _0x29ac16
|
|
2041
2050
|
}],
|
|
2042
|
-
...
|
|
2051
|
+
..._0x211c81 ? { 'isError': !![] } : {}
|
|
2043
2052
|
};
|
|
2044
2053
|
}
|
|
2045
|
-
async function registerChatBridgeTools(
|
|
2046
|
-
const
|
|
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
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
'attachment_ids': _0x3caea9['array'](_0x3caea9[_0x244afe(0x2e8)]())[_0x244afe(_0x2f77c0._0x4f4376)](),
|
|
2111
|
-
'visibility': _0x3caea9[_0x244afe(0x29b)]([
|
|
2112
|
-
_0x244afe(_0x2f77c0._0x2c9c5f),
|
|
2113
|
-
_0x244afe(0x2da)
|
|
2114
|
-
])[_0x244afe(_0x2f77c0._0x3c0457)]()[_0x244afe(_0x2f77c0._0x19daf6)]('Optional.\x20If\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20\x22aside\x22\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Do\x20not\x20set\x20outside\x20threads.')
|
|
2115
|
-
}, async _0x2fa56c => {
|
|
2116
|
-
const _0x4c2dd4 = _0x244afe;
|
|
2054
|
+
async function registerChatBridgeTools(_0x13d479, _0x1daf41, _0x29ca4a) {
|
|
2055
|
+
const _0x33b012 = {
|
|
2056
|
+
_0x33e347: 0x21d,
|
|
2057
|
+
_0x44a2b8: 0x1bc,
|
|
2058
|
+
_0x35aeec: 0x24a,
|
|
2059
|
+
_0x4369be: 0x21e,
|
|
2060
|
+
_0x439ad7: 0x24f,
|
|
2061
|
+
_0x396beb: 0x23d,
|
|
2062
|
+
_0x350268: 0x21c,
|
|
2063
|
+
_0x504234: 0x2d4,
|
|
2064
|
+
_0x398036: 0x150,
|
|
2065
|
+
_0x4104b8: 0x1d3,
|
|
2066
|
+
_0x31444b: 0x1bc,
|
|
2067
|
+
_0x317743: 0x1d7,
|
|
2068
|
+
_0x1b8576: 0x18a,
|
|
2069
|
+
_0xbe0c4b: 0x2d9,
|
|
2070
|
+
_0x101023: 0x21c,
|
|
2071
|
+
_0x325056: 0x1bc,
|
|
2072
|
+
_0x36e994: 0x18a,
|
|
2073
|
+
_0x589ae1: 0x18a,
|
|
2074
|
+
_0x22ac48: 0x188,
|
|
2075
|
+
_0x5973f3: 0x18a,
|
|
2076
|
+
_0x2a2594: 0x1e9,
|
|
2077
|
+
_0x54e9f6: 0x18a,
|
|
2078
|
+
_0x57370e: 0x219,
|
|
2079
|
+
_0x2086eb: 0x255,
|
|
2080
|
+
_0x13c02f: 0x1bc,
|
|
2081
|
+
_0x4a3d7d: 0x24f,
|
|
2082
|
+
_0x15914b: 0x1bc,
|
|
2083
|
+
_0x3f77a2: 0x1f8,
|
|
2084
|
+
_0x4472a0: 0x24f,
|
|
2085
|
+
_0x50d9e0: 0x1d8,
|
|
2086
|
+
_0x2a7ca7: 0x24f,
|
|
2087
|
+
_0x323e1: 0x1e0,
|
|
2088
|
+
_0x4e1df2: 0x1bc
|
|
2089
|
+
}, _0x8f2968 = {
|
|
2090
|
+
_0xbe6d32: 0x1e0,
|
|
2091
|
+
_0x5673a1: 0x24e
|
|
2092
|
+
}, _0x282c90 = {
|
|
2093
|
+
_0x319ca6: 0x24e,
|
|
2094
|
+
_0x25ed8: 0x23f
|
|
2095
|
+
}, _0x124c34 = { _0x5c3813: 0x29b }, _0x3acd2b = {
|
|
2096
|
+
_0x433a77: 0x288,
|
|
2097
|
+
_0x504aac: 0x24e
|
|
2098
|
+
}, _0x238ffb = { _0x421eac: 0x246 }, _0x58c0b0 = { _0x235232: 0x24e }, _0x5e058b = { _0x4d0bae: 0x24e }, _0x54e7bb = {
|
|
2099
|
+
_0x3c6b22: 0x24e,
|
|
2100
|
+
_0x43f9f6: 0x290
|
|
2101
|
+
}, _0x4d7476 = {
|
|
2102
|
+
_0x663464: 0x1d0,
|
|
2103
|
+
_0x3234ab: 0x24e,
|
|
2104
|
+
_0x109cd0: 0x240
|
|
2105
|
+
}, _0x542236 = {
|
|
2106
|
+
_0x54f8c0: 0x1f2,
|
|
2107
|
+
_0x2567d9: 0x24e
|
|
2108
|
+
}, _0x4618ee = _0x1e865e, {z: _0x316437} = await import(_0x4618ee(0x204));
|
|
2109
|
+
_0x13d479[_0x4618ee(0x24f)]('send_message', _0x4618ee(_0x33b012._0x33e347), {
|
|
2110
|
+
'target': _0x316437[_0x4618ee(_0x33b012._0x44a2b8)](),
|
|
2111
|
+
'content': _0x316437[_0x4618ee(0x1bc)](),
|
|
2112
|
+
'attachment_ids': _0x316437[_0x4618ee(_0x33b012._0x35aeec)](_0x316437['string']())[_0x4618ee(0x18a)](),
|
|
2113
|
+
'visibility': _0x316437[_0x4618ee(0x1d9)]([
|
|
2114
|
+
'public',
|
|
2115
|
+
_0x4618ee(0x269)
|
|
2116
|
+
])[_0x4618ee(0x18a)]()['describe'](_0x4618ee(_0x33b012._0x4369be))
|
|
2117
|
+
}, async _0x70142c => {
|
|
2118
|
+
const _0x1188ea = _0x4618ee;
|
|
2117
2119
|
try {
|
|
2118
|
-
return textResult(await
|
|
2119
|
-
} catch (
|
|
2120
|
-
return textResult(
|
|
2120
|
+
return textResult(await _0x1daf41['send_message'](_0x70142c));
|
|
2121
|
+
} catch (_0x301d76) {
|
|
2122
|
+
return textResult(_0x301d76 instanceof Error ? _0x301d76['message'] : _0x1188ea(0x196), !![]);
|
|
2121
2123
|
}
|
|
2122
|
-
}),
|
|
2123
|
-
const
|
|
2124
|
+
}), _0x13d479['tool']('check_messages', _0x4618ee(0x258), {}, async () => {
|
|
2125
|
+
const _0x38dd2b = _0x4618ee;
|
|
2124
2126
|
try {
|
|
2125
|
-
return textResult(await
|
|
2126
|
-
} catch (
|
|
2127
|
-
return textResult(
|
|
2127
|
+
return textResult(await _0x1daf41[_0x38dd2b(_0x542236._0x54f8c0)]());
|
|
2128
|
+
} catch (_0x570b08) {
|
|
2129
|
+
return textResult(_0x570b08 instanceof Error ? _0x570b08[_0x38dd2b(_0x542236._0x2567d9)] : _0x38dd2b(0x18e), !![]);
|
|
2128
2130
|
}
|
|
2129
|
-
}),
|
|
2130
|
-
'channel':
|
|
2131
|
-
'limit':
|
|
2132
|
-
'before':
|
|
2133
|
-
'after':
|
|
2134
|
-
}, async
|
|
2135
|
-
const
|
|
2131
|
+
}), _0x13d479[_0x4618ee(_0x33b012._0x439ad7)](_0x4618ee(0x1d0), _0x4618ee(_0x33b012._0x396beb), {
|
|
2132
|
+
'channel': _0x316437[_0x4618ee(_0x33b012._0x44a2b8)](),
|
|
2133
|
+
'limit': _0x316437[_0x4618ee(_0x33b012._0x350268)]()[_0x4618ee(0x18a)](),
|
|
2134
|
+
'before': _0x316437[_0x4618ee(0x21c)]()[_0x4618ee(0x18a)](),
|
|
2135
|
+
'after': _0x316437[_0x4618ee(0x21c)]()[_0x4618ee(0x18a)]()
|
|
2136
|
+
}, async _0x5b90cf => {
|
|
2137
|
+
const _0x598ee6 = _0x4618ee;
|
|
2136
2138
|
try {
|
|
2137
|
-
return textResult(await
|
|
2138
|
-
} catch (
|
|
2139
|
-
return textResult(
|
|
2139
|
+
return textResult(await _0x1daf41[_0x598ee6(_0x4d7476._0x663464)](_0x5b90cf));
|
|
2140
|
+
} catch (_0x3a5679) {
|
|
2141
|
+
return textResult(_0x3a5679 instanceof Error ? _0x3a5679[_0x598ee6(_0x4d7476._0x3234ab)] : _0x598ee6(_0x4d7476._0x109cd0), !![]);
|
|
2140
2142
|
}
|
|
2141
|
-
}),
|
|
2142
|
-
const
|
|
2143
|
+
}), _0x13d479[_0x4618ee(0x24f)](_0x4618ee(0x29e), _0x4618ee(0x29d), {}, async () => {
|
|
2144
|
+
const _0x166f97 = _0x4618ee;
|
|
2143
2145
|
try {
|
|
2144
|
-
return textResult(await
|
|
2145
|
-
} catch (
|
|
2146
|
-
return textResult(
|
|
2146
|
+
return textResult(await _0x1daf41[_0x166f97(0x29e)]());
|
|
2147
|
+
} catch (_0xe91d4b) {
|
|
2148
|
+
return textResult(_0xe91d4b instanceof Error ? _0xe91d4b[_0x166f97(_0x54e7bb._0x3c6b22)] : _0x166f97(_0x54e7bb._0x43f9f6), !![]);
|
|
2147
2149
|
}
|
|
2148
|
-
}),
|
|
2149
|
-
'channel':
|
|
2150
|
-
'status':
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2150
|
+
}), _0x13d479['tool'](_0x4618ee(0x236), _0x4618ee(_0x33b012._0x504234), {
|
|
2151
|
+
'channel': _0x316437[_0x4618ee(0x1bc)](),
|
|
2152
|
+
'status': _0x316437[_0x4618ee(0x1d9)]([
|
|
2153
|
+
_0x4618ee(0x219),
|
|
2154
|
+
_0x4618ee(_0x33b012._0x398036),
|
|
2155
|
+
_0x4618ee(_0x33b012._0x4104b8),
|
|
2156
|
+
_0x4618ee(0x255)
|
|
2155
2157
|
])['optional']()
|
|
2156
|
-
}, async
|
|
2157
|
-
const
|
|
2158
|
+
}, async _0x3aebe2 => {
|
|
2159
|
+
const _0x2cd7f7 = _0x4618ee;
|
|
2158
2160
|
try {
|
|
2159
|
-
return textResult(await
|
|
2160
|
-
} catch (
|
|
2161
|
-
return textResult(
|
|
2161
|
+
return textResult(await _0x1daf41['list_tasks'](_0x3aebe2));
|
|
2162
|
+
} catch (_0x3334cc) {
|
|
2163
|
+
return textResult(_0x3334cc instanceof Error ? _0x3334cc['message'] : _0x2cd7f7(0x163), !![]);
|
|
2162
2164
|
}
|
|
2163
|
-
}),
|
|
2164
|
-
'channel':
|
|
2165
|
-
'idempotency_key':
|
|
2166
|
-
'tasks':
|
|
2167
|
-
'title':
|
|
2168
|
-
'description':
|
|
2169
|
-
'priority':
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
])[
|
|
2165
|
+
}), _0x13d479[_0x4618ee(_0x33b012._0x439ad7)]('create_tasks', _0x4618ee(0x257), {
|
|
2166
|
+
'channel': _0x316437['string'](),
|
|
2167
|
+
'idempotency_key': _0x316437[_0x4618ee(0x1bc)]()[_0x4618ee(0x18a)](),
|
|
2168
|
+
'tasks': _0x316437[_0x4618ee(_0x33b012._0x35aeec)](_0x316437['object']({
|
|
2169
|
+
'title': _0x316437[_0x4618ee(_0x33b012._0x31444b)](),
|
|
2170
|
+
'description': _0x316437[_0x4618ee(_0x33b012._0x44a2b8)]()[_0x4618ee(0x18a)](),
|
|
2171
|
+
'priority': _0x316437['enum']([
|
|
2172
|
+
'low',
|
|
2173
|
+
_0x4618ee(_0x33b012._0x317743),
|
|
2174
|
+
'high',
|
|
2175
|
+
_0x4618ee(0x27d)
|
|
2176
|
+
])[_0x4618ee(_0x33b012._0x1b8576)]()
|
|
2175
2177
|
}))
|
|
2176
|
-
}, async
|
|
2177
|
-
const
|
|
2178
|
+
}, async _0x4bb841 => {
|
|
2179
|
+
const _0x2405a2 = _0x4618ee;
|
|
2178
2180
|
try {
|
|
2179
|
-
return textResult(await
|
|
2180
|
-
} catch (
|
|
2181
|
-
return textResult(
|
|
2181
|
+
return textResult(await _0x1daf41['create_tasks'](_0x4bb841));
|
|
2182
|
+
} catch (_0x4e4000) {
|
|
2183
|
+
return textResult(_0x4e4000 instanceof Error ? _0x4e4000[_0x2405a2(_0x5e058b._0x4d0bae)] : 'create_tasks\x20failed', !![]);
|
|
2182
2184
|
}
|
|
2183
|
-
}),
|
|
2184
|
-
'channel':
|
|
2185
|
-
'task_numbers':
|
|
2186
|
-
'subtask_numbers':
|
|
2187
|
-
'message_ids':
|
|
2188
|
-
'evidence':
|
|
2189
|
-
'create_thread':
|
|
2190
|
-
'create_task':
|
|
2191
|
-
}))[
|
|
2192
|
-
'idempotency_key':
|
|
2193
|
-
}, async
|
|
2194
|
-
const
|
|
2185
|
+
}), _0x13d479[_0x4618ee(_0x33b012._0x439ad7)](_0x4618ee(_0x33b012._0xbe0c4b), _0x4618ee(0x19a), {
|
|
2186
|
+
'channel': _0x316437['string'](),
|
|
2187
|
+
'task_numbers': _0x316437[_0x4618ee(0x24a)](_0x316437[_0x4618ee(_0x33b012._0x350268)]())[_0x4618ee(0x18a)](),
|
|
2188
|
+
'subtask_numbers': _0x316437[_0x4618ee(0x24a)](_0x316437[_0x4618ee(_0x33b012._0x101023)]())['optional'](),
|
|
2189
|
+
'message_ids': _0x316437[_0x4618ee(0x24a)](_0x316437[_0x4618ee(_0x33b012._0x325056)]())[_0x4618ee(0x18a)](),
|
|
2190
|
+
'evidence': _0x316437[_0x4618ee(0x2aa)](_0x316437[_0x4618ee(0x1bc)](), _0x316437['object']({
|
|
2191
|
+
'create_thread': _0x316437[_0x4618ee(0x1ed)]()[_0x4618ee(0x18a)](),
|
|
2192
|
+
'create_task': _0x316437['unknown']()[_0x4618ee(_0x33b012._0x36e994)]()
|
|
2193
|
+
}))[_0x4618ee(0x18a)](),
|
|
2194
|
+
'idempotency_key': _0x316437['string']()[_0x4618ee(_0x33b012._0x589ae1)]()
|
|
2195
|
+
}, async _0x126940 => {
|
|
2196
|
+
const _0x2a2a76 = _0x4618ee;
|
|
2195
2197
|
try {
|
|
2196
|
-
return textResult(await
|
|
2197
|
-
} catch (
|
|
2198
|
-
return textResult(
|
|
2198
|
+
return textResult(await _0x1daf41[_0x2a2a76(0x2d9)](_0x126940));
|
|
2199
|
+
} catch (_0x58af5a) {
|
|
2200
|
+
return textResult(_0x58af5a instanceof Error ? _0x58af5a[_0x2a2a76(0x24e)] : _0x2a2a76(0x22f), !![]);
|
|
2199
2201
|
}
|
|
2200
|
-
}),
|
|
2201
|
-
'channel':
|
|
2202
|
-
'task_number':
|
|
2203
|
-
'subtask_number':
|
|
2204
|
-
'idempotency_key':
|
|
2205
|
-
}, async
|
|
2206
|
-
const
|
|
2202
|
+
}), _0x13d479['tool'](_0x4618ee(_0x33b012._0x22ac48), _0x4618ee(0x173), {
|
|
2203
|
+
'channel': _0x316437[_0x4618ee(0x1bc)](),
|
|
2204
|
+
'task_number': _0x316437[_0x4618ee(0x21c)](),
|
|
2205
|
+
'subtask_number': _0x316437[_0x4618ee(_0x33b012._0x101023)]()[_0x4618ee(0x18a)](),
|
|
2206
|
+
'idempotency_key': _0x316437[_0x4618ee(_0x33b012._0x31444b)]()[_0x4618ee(_0x33b012._0x5973f3)]()
|
|
2207
|
+
}, async _0x4cebde => {
|
|
2208
|
+
const _0x18ba56 = _0x4618ee;
|
|
2207
2209
|
try {
|
|
2208
|
-
return textResult(await
|
|
2209
|
-
} catch (
|
|
2210
|
-
return textResult(
|
|
2210
|
+
return textResult(await _0x1daf41['unclaim_task'](_0x4cebde));
|
|
2211
|
+
} catch (_0x48156d) {
|
|
2212
|
+
return textResult(_0x48156d instanceof Error ? _0x48156d[_0x18ba56(_0x58c0b0._0x235232)] : _0x18ba56(0x266), !![]);
|
|
2211
2213
|
}
|
|
2212
|
-
}),
|
|
2213
|
-
'channel':
|
|
2214
|
-
'task_number':
|
|
2215
|
-
'subtask_number':
|
|
2216
|
-
'status':
|
|
2217
|
-
|
|
2218
|
-
|
|
2214
|
+
}), _0x13d479['tool'](_0x4618ee(0x246), _0x4618ee(_0x33b012._0x2a2594), {
|
|
2215
|
+
'channel': _0x316437['string'](),
|
|
2216
|
+
'task_number': _0x316437[_0x4618ee(0x21c)](),
|
|
2217
|
+
'subtask_number': _0x316437[_0x4618ee(0x21c)]()[_0x4618ee(_0x33b012._0x54e9f6)](),
|
|
2218
|
+
'status': _0x316437[_0x4618ee(0x1d9)]([
|
|
2219
|
+
_0x4618ee(_0x33b012._0x57370e),
|
|
2220
|
+
_0x4618ee(0x150),
|
|
2219
2221
|
'in_review',
|
|
2220
|
-
|
|
2222
|
+
_0x4618ee(_0x33b012._0x2086eb)
|
|
2221
2223
|
]),
|
|
2222
|
-
'idempotency_key':
|
|
2223
|
-
}, async
|
|
2224
|
-
const
|
|
2224
|
+
'idempotency_key': _0x316437[_0x4618ee(_0x33b012._0x13c02f)]()[_0x4618ee(_0x33b012._0x36e994)]()
|
|
2225
|
+
}, async _0xf77caa => {
|
|
2226
|
+
const _0x2d993a = _0x4618ee;
|
|
2225
2227
|
try {
|
|
2226
|
-
return textResult(await
|
|
2227
|
-
} catch (
|
|
2228
|
-
return textResult(
|
|
2228
|
+
return textResult(await _0x1daf41[_0x2d993a(_0x238ffb._0x421eac)](_0xf77caa));
|
|
2229
|
+
} catch (_0x130cc9) {
|
|
2230
|
+
return textResult(_0x130cc9 instanceof Error ? _0x130cc9[_0x2d993a(0x24e)] : _0x2d993a(0x1fa), !![]);
|
|
2229
2231
|
}
|
|
2230
|
-
}),
|
|
2231
|
-
'channel':
|
|
2232
|
-
'file_path':
|
|
2233
|
-
}, async
|
|
2234
|
-
const
|
|
2232
|
+
}), _0x13d479[_0x4618ee(_0x33b012._0x4a3d7d)]('upload_file', 'Upload\x20a\x20local\x20file\x20to\x20a\x20channel\x20or\x20DM\x20and\x20return\x20an\x20attachment\x20ID\x20that\x20can\x20be\x20used\x20with\x20send_message.\x20Thread\x20targets\x20are\x20not\x20allowed.', {
|
|
2233
|
+
'channel': _0x316437[_0x4618ee(0x1bc)](),
|
|
2234
|
+
'file_path': _0x316437['string']()
|
|
2235
|
+
}, async _0x5bff7b => {
|
|
2236
|
+
const _0x4d42d0 = _0x4618ee;
|
|
2235
2237
|
try {
|
|
2236
|
-
return textResult(await
|
|
2237
|
-
} catch (
|
|
2238
|
-
return textResult(
|
|
2238
|
+
return textResult(await _0x1daf41[_0x4d42d0(0x26c)](_0x5bff7b));
|
|
2239
|
+
} catch (_0x62a91c) {
|
|
2240
|
+
return textResult(_0x62a91c instanceof Error ? _0x62a91c['message'] : _0x4d42d0(0x18c), !![]);
|
|
2239
2241
|
}
|
|
2240
|
-
}),
|
|
2241
|
-
const
|
|
2242
|
+
}), _0x13d479[_0x4618ee(_0x33b012._0x4a3d7d)](_0x4618ee(0x288), 'Download\x20an\x20attachment\x20to\x20the\x20local\x20cache\x20and\x20return\x20the\x20local\x20path.', { 'attachment_id': _0x316437[_0x4618ee(_0x33b012._0x44a2b8)]() }, async _0x37b461 => {
|
|
2243
|
+
const _0x19ec3a = _0x4618ee;
|
|
2242
2244
|
try {
|
|
2243
|
-
return textResult(await
|
|
2244
|
-
} catch (
|
|
2245
|
-
return textResult(
|
|
2245
|
+
return textResult(await _0x1daf41[_0x19ec3a(_0x3acd2b._0x433a77)](_0x37b461));
|
|
2246
|
+
} catch (_0x5403b2) {
|
|
2247
|
+
return textResult(_0x5403b2 instanceof Error ? _0x5403b2[_0x19ec3a(_0x3acd2b._0x504aac)] : 'view_file\x20failed', !![]);
|
|
2246
2248
|
}
|
|
2247
|
-
}),
|
|
2248
|
-
const
|
|
2249
|
+
}), _0x13d479['tool']('get_worker_status', _0x4618ee(0x28b), { 'work_key': _0x316437[_0x4618ee(_0x33b012._0x15914b)]() }, async _0x4fc0ac => {
|
|
2250
|
+
const _0x3f00d3 = _0x4618ee;
|
|
2249
2251
|
try {
|
|
2250
|
-
return textResult(await
|
|
2251
|
-
} catch (
|
|
2252
|
-
return textResult(
|
|
2252
|
+
return textResult(await _0x1daf41[_0x3f00d3(_0x124c34._0x5c3813)](_0x4fc0ac));
|
|
2253
|
+
} catch (_0x39c4ec) {
|
|
2254
|
+
return textResult(_0x39c4ec instanceof Error ? _0x39c4ec[_0x3f00d3(0x24e)] : 'get_worker_status\x20failed', !![]);
|
|
2253
2255
|
}
|
|
2254
|
-
}),
|
|
2255
|
-
const
|
|
2256
|
+
}), _0x13d479[_0x4618ee(_0x33b012._0x439ad7)](_0x4618ee(_0x33b012._0x3f77a2), 'Worker-only.\x20Park\x20the\x20current\x20worker\x20lane\x20after\x20you\x20have\x20already\x20reported\x20results\x20in\x20this\x20thread.\x20This\x20does\x20not\x20end\x20the\x20session;\x20same-thread\x20follow-up\x20will\x20resume\x20this\x20lane.', { 'work_key': _0x316437[_0x4618ee(0x1bc)]() }, async _0x31d590 => {
|
|
2257
|
+
const _0x518c54 = _0x4618ee;
|
|
2256
2258
|
try {
|
|
2257
|
-
return textResult(await
|
|
2258
|
-
} catch (
|
|
2259
|
-
return textResult(
|
|
2259
|
+
return textResult(await _0x1daf41[_0x518c54(0x1f8)](_0x31d590));
|
|
2260
|
+
} catch (_0x5db212) {
|
|
2261
|
+
return textResult(_0x5db212 instanceof Error ? _0x5db212[_0x518c54(_0x282c90._0x319ca6)] : _0x518c54(_0x282c90._0x25ed8), !![]);
|
|
2260
2262
|
}
|
|
2261
|
-
}),
|
|
2262
|
-
'work_key':
|
|
2263
|
-
'reason':
|
|
2264
|
-
}, async
|
|
2265
|
-
const
|
|
2263
|
+
}), _0x13d479[_0x4618ee(_0x33b012._0x4472a0)](_0x4618ee(_0x33b012._0x50d9e0), _0x4618ee(0x298), {
|
|
2264
|
+
'work_key': _0x316437[_0x4618ee(0x1bc)](),
|
|
2265
|
+
'reason': _0x316437[_0x4618ee(_0x33b012._0x44a2b8)]()
|
|
2266
|
+
}, async _0x1d9af1 => {
|
|
2267
|
+
const _0x14b517 = _0x4618ee;
|
|
2266
2268
|
try {
|
|
2267
|
-
return textResult(await
|
|
2268
|
-
} catch (
|
|
2269
|
-
return textResult(
|
|
2269
|
+
return textResult(await _0x1daf41['escalate_to_main'](_0x1d9af1));
|
|
2270
|
+
} catch (_0x83a7d2) {
|
|
2271
|
+
return textResult(_0x83a7d2 instanceof Error ? _0x83a7d2[_0x14b517(0x24e)] : 'escalate_to_main\x20failed', !![]);
|
|
2270
2272
|
}
|
|
2271
|
-
}),
|
|
2272
|
-
const
|
|
2273
|
+
}), _0x29ca4a?.['workerMode'] && _0x13d479[_0x4618ee(_0x33b012._0x2a7ca7)](_0x4618ee(_0x33b012._0x323e1), 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x316437[_0x4618ee(_0x33b012._0x4e1df2)]() }, async _0x2db785 => {
|
|
2274
|
+
const _0x3b668c = _0x4618ee;
|
|
2273
2275
|
try {
|
|
2274
|
-
return textResult(await
|
|
2275
|
-
} catch (
|
|
2276
|
-
return textResult(
|
|
2276
|
+
return textResult(await _0x1daf41[_0x3b668c(_0x8f2968._0xbe6d32)](_0x2db785));
|
|
2277
|
+
} catch (_0x27b1f5) {
|
|
2278
|
+
return textResult(_0x27b1f5 instanceof Error ? _0x27b1f5[_0x3b668c(_0x8f2968._0x5673a1)] : _0x3b668c(0x231), !![]);
|
|
2277
2279
|
}
|
|
2278
2280
|
});
|
|
2279
2281
|
}
|
|
2280
|
-
async function createChatBridgeServer(
|
|
2281
|
-
const
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
},
|
|
2285
|
-
'name':
|
|
2286
|
-
'version':
|
|
2287
|
-
}),
|
|
2288
|
-
return await registerChatBridgeTools(
|
|
2289
|
-
'handlers':
|
|
2290
|
-
'server':
|
|
2282
|
+
async function createChatBridgeServer(_0x2c0f58) {
|
|
2283
|
+
const _0x538b8a = {
|
|
2284
|
+
_0x1a8314: 0x25d,
|
|
2285
|
+
_0x24fd6d: 0x28a
|
|
2286
|
+
}, _0x129c92 = _0x1e865e, {McpServer: _0x24eae2} = await import('@modelcontextprotocol/sdk/server/mcp.js'), _0x2e2d58 = new _0x24eae2({
|
|
2287
|
+
'name': _0x129c92(_0x538b8a._0x1a8314),
|
|
2288
|
+
'version': _0x129c92(_0x538b8a._0x24fd6d)
|
|
2289
|
+
}), _0x375f7c = createChatBridgeHandlers(_0x2c0f58);
|
|
2290
|
+
return await registerChatBridgeTools(_0x2e2d58, _0x375f7c, { 'workerMode': _0x2c0f58[_0x129c92(0x286)] }), {
|
|
2291
|
+
'handlers': _0x375f7c,
|
|
2292
|
+
'server': _0x2e2d58
|
|
2291
2293
|
};
|
|
2292
2294
|
}
|
|
2293
|
-
function readFlag(
|
|
2294
|
-
const
|
|
2295
|
-
if (
|
|
2295
|
+
function readFlag(_0x419483, _0xf03308) {
|
|
2296
|
+
const _0x29009d = _0x1e865e, _0x17277c = _0x419483[_0x29009d(0x1bd)](_0xf03308);
|
|
2297
|
+
if (_0x17277c === -0x1)
|
|
2296
2298
|
return void 0x0;
|
|
2297
|
-
return
|
|
2299
|
+
return _0x419483[_0x17277c + 0x1];
|
|
2298
2300
|
}
|
|
2299
|
-
function parseChatBridgeArgs(
|
|
2300
|
-
const
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2301
|
+
function parseChatBridgeArgs(_0x293b7d) {
|
|
2302
|
+
const _0x4605be = {
|
|
2303
|
+
_0x37d7d1: 0x169,
|
|
2304
|
+
_0x2798e1: 0x162,
|
|
2305
|
+
_0x24b89c: 0x245,
|
|
2306
|
+
_0x58d2df: 0x2c6,
|
|
2307
|
+
_0x58985f: 0x1dd,
|
|
2308
|
+
_0x29b9a6: 0x199,
|
|
2309
|
+
_0x49e1e4: 0x207,
|
|
2310
|
+
_0x5643d1: 0x252,
|
|
2311
|
+
_0x271804: 0x224,
|
|
2312
|
+
_0x117a7f: 0x179,
|
|
2313
|
+
_0xba17de: 0x15c,
|
|
2314
|
+
_0x668098: 0x244,
|
|
2315
|
+
_0x1ad284: 0x29f
|
|
2316
|
+
}, _0x189e90 = _0x1e865e, _0x4c1689 = readFlag(_0x293b7d, _0x189e90(_0x4605be._0x37d7d1)), _0x234705 = readFlag(_0x293b7d, _0x189e90(_0x4605be._0x2798e1)), _0xb7282b = readFlag(_0x293b7d, '--daemon-api-key'), _0xd008b7 = readFlag(_0x293b7d, _0x189e90(_0x4605be._0x24b89c)), _0x39ae8a = readFlag(_0x293b7d, _0x189e90(_0x4605be._0x58d2df)) ?? _0x189e90(0x249), _0x22a1e1 = readFlag(_0x293b7d, _0x189e90(_0x4605be._0x58985f)), _0x16c5f7 = readFlag(_0x293b7d, _0x189e90(_0x4605be._0x29b9a6)), _0x40bdf5 = readFlag(_0x293b7d, _0x189e90(_0x4605be._0x49e1e4)), _0x77f7a4 = readFlag(_0x293b7d, _0x189e90(0x234)), _0x2137f6 = readFlag(_0x293b7d, _0x189e90(_0x4605be._0x5643d1)), _0x4235a3 = _0x293b7d[_0x189e90(0x1eb)](_0x189e90(_0x4605be._0x271804)), _0x567422 = _0xd008b7 === void 0x0 ? void 0x0 : Number['parseInt'](_0xd008b7, 0xa);
|
|
2317
|
+
if (!_0x4c1689)
|
|
2318
|
+
throw new Error(_0x189e90(_0x4605be._0x117a7f));
|
|
2319
|
+
if (!_0xb7282b)
|
|
2320
|
+
throw new Error(_0x189e90(_0x4605be._0xba17de));
|
|
2321
|
+
if (_0xd008b7 !== void 0x0 && (_0x567422 === void 0x0 || !Number[_0x189e90(_0x4605be._0x668098)](_0x567422) || _0x567422 < 0x0))
|
|
2322
|
+
throw new Error(_0x189e90(0x27c));
|
|
2315
2323
|
return {
|
|
2316
|
-
'agentId':
|
|
2317
|
-
'attachmentCacheDir':
|
|
2318
|
-
'daemonApiKey':
|
|
2319
|
-
'daemonLocalUrl':
|
|
2320
|
-
'initialLastSeenSeq':
|
|
2321
|
-
'sessionId':
|
|
2322
|
-
'serverUrl':
|
|
2323
|
-
'workerModeEnabled':
|
|
2324
|
-
'workerSessionId':
|
|
2325
|
-
'workerThreadTarget':
|
|
2326
|
-
'workerMode':
|
|
2324
|
+
'agentId': _0x4c1689,
|
|
2325
|
+
'attachmentCacheDir': _0x234705,
|
|
2326
|
+
'daemonApiKey': _0xb7282b,
|
|
2327
|
+
'daemonLocalUrl': _0x22a1e1,
|
|
2328
|
+
'initialLastSeenSeq': _0x567422,
|
|
2329
|
+
'sessionId': _0x16c5f7,
|
|
2330
|
+
'serverUrl': _0x39ae8a,
|
|
2331
|
+
'workerModeEnabled': _0x40bdf5 === void 0x0 ? void 0x0 : _0x40bdf5 !== _0x189e90(_0x4605be._0x1ad284),
|
|
2332
|
+
'workerSessionId': _0x77f7a4,
|
|
2333
|
+
'workerThreadTarget': _0x2137f6,
|
|
2334
|
+
'workerMode': _0x4235a3
|
|
2327
2335
|
};
|
|
2328
2336
|
}
|
|
2329
|
-
async function runChatBridgeCli(
|
|
2330
|
-
const
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
'
|
|
2338
|
-
'
|
|
2339
|
-
'
|
|
2337
|
+
async function runChatBridgeCli(_0x19e37b) {
|
|
2338
|
+
const _0x3e9c49 = {
|
|
2339
|
+
_0x66c20e: 0x1a5,
|
|
2340
|
+
_0xc2a2dd: 0x260,
|
|
2341
|
+
_0x3fe54c: 0x286,
|
|
2342
|
+
_0x2b455d: 0x27a,
|
|
2343
|
+
_0x4529ed: 0x161
|
|
2344
|
+
}, _0x1052d1 = _0x1e865e, _0xe644c1 = parseChatBridgeArgs(_0x19e37b), {StdioServerTransport: _0xa599a2} = await import('@modelcontextprotocol/sdk/server/stdio.js'), _0x59aad3 = createInternalAgentClient(_0xe644c1), _0x445326 = createAttachmentCache({ 'cacheDir': _0xe644c1[_0x1052d1(_0x3e9c49._0x66c20e)] }), _0x294a95 = await createChatBridgeServer({
|
|
2345
|
+
'agentId': _0xe644c1['agentId'],
|
|
2346
|
+
'attachmentCache': _0x445326,
|
|
2347
|
+
'client': _0x59aad3,
|
|
2348
|
+
'daemonLocalUrl': _0xe644c1['daemonLocalUrl'],
|
|
2340
2349
|
'uploadPreparer': prepareUploadFile,
|
|
2341
|
-
'workerModeEnabled':
|
|
2342
|
-
'workerMode':
|
|
2343
|
-
'workerThreadTarget':
|
|
2350
|
+
'workerModeEnabled': _0xe644c1[_0x1052d1(_0x3e9c49._0xc2a2dd)],
|
|
2351
|
+
'workerMode': _0xe644c1[_0x1052d1(_0x3e9c49._0x3fe54c)],
|
|
2352
|
+
'workerThreadTarget': _0xe644c1['workerThreadTarget']
|
|
2344
2353
|
});
|
|
2345
|
-
await
|
|
2354
|
+
await _0x294a95[_0x1052d1(_0x3e9c49._0x2b455d)][_0x1052d1(_0x3e9c49._0x4529ed)](new _0xa599a2());
|
|
2346
2355
|
}
|
|
2347
|
-
var executedAsEntry = process[
|
|
2348
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2356
|
+
var executedAsEntry = process[_0x1e865e(0x175)][0x1] ? import.meta.url === pathToFileURL(process[_0x1e865e(0x175)][0x1])['href'] : ![];
|
|
2357
|
+
executedAsEntry && await runChatBridgeCli(process[_0x1e865e(0x175)][_0x1e865e(0x229)](0x2));
|
|
2349
2358
|
export {
|
|
2350
2359
|
createChatBridgeHandlers,
|
|
2351
2360
|
createChatBridgeServer,
|