@dscord/daemon 0.1.89 → 0.1.91
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 +2173 -1998
- package/dist/index.js +11096 -10733
- package/package.json +3 -2
- package/resources/claude-plugins/dscord-identity/.claude-plugin/plugin.json +5 -0
- package/resources/claude-plugins/dscord-identity/hooks/hooks.json +16 -0
- package/resources/claude-plugins/dscord-identity/hooks/session-start +20 -0
package/dist/chat-bridge.js
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
const _0x42226e = _0x3c9f;
|
|
2
|
+
(function (_0x4bd9e7, _0x445972) {
|
|
3
|
+
const _0x1eeef6 = {
|
|
4
|
+
_0x537880: 0x249,
|
|
5
|
+
_0x153268: 0x239,
|
|
6
|
+
_0x8b8896: 0x237,
|
|
7
|
+
_0x1453b5: 0x1a9,
|
|
8
|
+
_0x15f3c7: 0x102,
|
|
9
|
+
_0xd767fe: 0x1b5
|
|
10
|
+
}, _0x39ca2b = _0x3c9f, _0xc9ced8 = _0x4bd9e7();
|
|
9
11
|
while (!![]) {
|
|
10
12
|
try {
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
13
|
+
const _0x1f9b48 = parseInt(_0x39ca2b(_0x1eeef6._0x537880)) / 0x1 * (-parseInt(_0x39ca2b(_0x1eeef6._0x153268)) / 0x2) + -parseInt(_0x39ca2b(0x1b7)) / 0x3 + -parseInt(_0x39ca2b(_0x1eeef6._0x8b8896)) / 0x4 + -parseInt(_0x39ca2b(_0x1eeef6._0x1453b5)) / 0x5 * (parseInt(_0x39ca2b(_0x1eeef6._0x15f3c7)) / 0x6) + parseInt(_0x39ca2b(_0x1eeef6._0xd767fe)) / 0x7 + -parseInt(_0x39ca2b(0x163)) / 0x8 + parseInt(_0x39ca2b(0x1e4)) / 0x9;
|
|
14
|
+
if (_0x1f9b48 === _0x445972)
|
|
13
15
|
break;
|
|
14
16
|
else
|
|
15
|
-
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
17
|
+
_0xc9ced8['push'](_0xc9ced8['shift']());
|
|
18
|
+
} catch (_0x3d9906) {
|
|
19
|
+
_0xc9ced8['push'](_0xc9ced8['shift']());
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
|
-
}(
|
|
22
|
+
}(_0x1d81, 0x26d49));
|
|
21
23
|
import { pathToFileURL } from 'node:url';
|
|
22
24
|
import {
|
|
23
25
|
mkdir,
|
|
@@ -27,88 +29,74 @@ import {
|
|
|
27
29
|
writeFile
|
|
28
30
|
} from 'node:fs/promises';
|
|
29
31
|
import { homedir } from 'node:os';
|
|
30
|
-
import
|
|
32
|
+
import _0x176603 from 'node:path';
|
|
31
33
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
32
|
-
'.csv':
|
|
33
|
-
'.gif':
|
|
34
|
-
'.jpeg':
|
|
35
|
-
'.jpg':
|
|
34
|
+
'.csv': _0x42226e(0x1cb),
|
|
35
|
+
'.gif': _0x42226e(0x246),
|
|
36
|
+
'.jpeg': _0x42226e(0x273),
|
|
37
|
+
'.jpg': _0x42226e(0x273),
|
|
36
38
|
'.json': 'application/json',
|
|
37
|
-
'.md':
|
|
38
|
-
'.pdf':
|
|
39
|
-
'.png':
|
|
40
|
-
'.svg':
|
|
41
|
-
'.txt':
|
|
42
|
-
'.webp':
|
|
43
|
-
'.xml':
|
|
44
|
-
'.zip':
|
|
39
|
+
'.md': _0x42226e(0x11d),
|
|
40
|
+
'.pdf': _0x42226e(0x259),
|
|
41
|
+
'.png': _0x42226e(0x119),
|
|
42
|
+
'.svg': _0x42226e(0x177),
|
|
43
|
+
'.txt': 'text/plain',
|
|
44
|
+
'.webp': _0x42226e(0x1c5),
|
|
45
|
+
'.xml': _0x42226e(0x27a),
|
|
46
|
+
'.zip': _0x42226e(0x26f)
|
|
45
47
|
};
|
|
46
|
-
function guessContentType(
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
_0x7d6768: 0x2b5,
|
|
50
|
-
_0x4b92b0: 0x2a8
|
|
51
|
-
}, _0x1b43be = _0x5e089b;
|
|
52
|
-
return MIME_BY_EXTENSION[_0x444fc4[_0x1b43be(_0xb1cbf2._0x3b3dcd)](_0x1b98f9)[_0x1b43be(_0xb1cbf2._0x7d6768)]()] ?? _0x1b43be(_0xb1cbf2._0x4b92b0);
|
|
48
|
+
function guessContentType(_0x40984d) {
|
|
49
|
+
const _0x2a97d2 = { _0x21ee3e: 0xff }, _0x4ed3a2 = _0x42226e;
|
|
50
|
+
return MIME_BY_EXTENSION[_0x176603[_0x4ed3a2(0x227)](_0x40984d)['toLowerCase']()] ?? _0x4ed3a2(_0x2a97d2._0x21ee3e);
|
|
53
51
|
}
|
|
54
|
-
function safeFilename(
|
|
55
|
-
|
|
52
|
+
function safeFilename(_0x2bae97) {
|
|
53
|
+
const _0x4782d0 = { _0x5aeff4: 0x233 }, _0x236f15 = _0x42226e;
|
|
54
|
+
return _0x2bae97[_0x236f15(_0x4782d0._0x5aeff4)](/[\\/]/g, '-');
|
|
56
55
|
}
|
|
57
|
-
function extensionFor(
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
_0x13b7a4: 0x2db
|
|
61
|
-
}, _0x2f24fb = _0x5e089b, _0x225de9 = Object[_0x2f24fb(_0x5a9dd3._0xa1f60e)](MIME_BY_EXTENSION)[_0x2f24fb(_0x5a9dd3._0x13b7a4)](([, _0x1ab562]) => _0x1ab562 === _0x332c70);
|
|
62
|
-
return _0x225de9?.[0x0] ?? '.bin';
|
|
56
|
+
function extensionFor(_0x54911d) {
|
|
57
|
+
const _0xb61329 = { _0x3341c9: 0x219 }, _0x1fd61e = _0x42226e, _0x3a006c = Object['entries'](MIME_BY_EXTENSION)[_0x1fd61e(_0xb61329._0x3341c9)](([, _0x1f36b6]) => _0x1f36b6 === _0x54911d);
|
|
58
|
+
return _0x3a006c?.[0x0] ?? _0x1fd61e(0x24c);
|
|
63
59
|
}
|
|
64
|
-
async function prepareUploadFile(
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
60
|
+
async function prepareUploadFile(_0x346161, _0x1f8137 = {}) {
|
|
61
|
+
const _0x261d33 = {
|
|
62
|
+
_0x2ed001: 0x1a2,
|
|
63
|
+
_0x4f0bd6: 0x18d,
|
|
64
|
+
_0x358e8d: 0x1b3
|
|
65
|
+
}, _0x29ea35 = _0x42226e;
|
|
66
|
+
if (!_0x176603['isAbsolute'](_0x346161))
|
|
67
|
+
throw new Error(_0x29ea35(0x25b));
|
|
68
|
+
const _0xbeee35 = await stat(_0x346161)[_0x29ea35(0x12d)](() => null);
|
|
69
|
+
if (!_0xbeee35 || !_0xbeee35[_0x29ea35(0x25c)]())
|
|
70
|
+
throw new Error(_0x29ea35(0x253) + _0x346161);
|
|
71
|
+
const _0xe67709 = _0x1f8137['maxFileSizeBytes'] ?? DEFAULT_MAX_FILE_SIZE;
|
|
72
|
+
if (_0xbeee35[_0x29ea35(0x1a2)] > _0xe67709)
|
|
73
|
+
throw new Error(_0x29ea35(0x100) + _0xbeee35[_0x29ea35(_0x261d33._0x2ed001)]);
|
|
74
|
+
const _0x53dff1 = await readFile(_0x346161), _0xaa1149 = _0x176603[_0x29ea35(0x240)](_0x346161);
|
|
78
75
|
return {
|
|
79
|
-
'contentBase64':
|
|
80
|
-
'contentType': guessContentType(
|
|
81
|
-
'filename':
|
|
82
|
-
'sizeBytes':
|
|
76
|
+
'contentBase64': _0x53dff1[_0x29ea35(_0x261d33._0x4f0bd6)](_0x29ea35(_0x261d33._0x358e8d)),
|
|
77
|
+
'contentType': guessContentType(_0xaa1149),
|
|
78
|
+
'filename': _0xaa1149,
|
|
79
|
+
'sizeBytes': _0xbeee35[_0x29ea35(_0x261d33._0x2ed001)]
|
|
83
80
|
};
|
|
84
81
|
}
|
|
85
|
-
function createAttachmentCache(
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
},
|
|
90
|
-
_0xb7192e: 0x20e,
|
|
91
|
-
_0x430431: 0x33f,
|
|
92
|
-
_0x58b6e0: 0x24c,
|
|
93
|
-
_0x12ecb9: 0x2e3,
|
|
94
|
-
_0x51ab92: 0x2f1
|
|
95
|
-
}, _0x39d9dd = {
|
|
96
|
-
_0x1612cc: 0x2db,
|
|
97
|
-
_0x1e4c17: 0x2e3
|
|
98
|
-
}, _0x1df9a7 = _0x5e089b, _0x5bca40 = _0xcb5cf1['cacheDir'] ?? _0x444fc4[_0x1df9a7(_0x1cad98._0x517936)](homedir(), _0x1df9a7(_0x1cad98._0x390929), _0x1df9a7(0x31e));
|
|
82
|
+
function createAttachmentCache(_0x46100e = {}) {
|
|
83
|
+
const _0xcf5a7b = {
|
|
84
|
+
_0x5927e7: 0x27f,
|
|
85
|
+
_0xa5185a: 0x15b
|
|
86
|
+
}, _0x3a7b47 = { _0x3a744a: 0x27f }, _0x2b4aa3 = _0x42226e, _0x4baab1 = _0x46100e[_0x2b4aa3(0x1a1)] ?? _0x176603[_0x2b4aa3(_0xcf5a7b._0x5927e7)](homedir(), _0x2b4aa3(0x226), _0x2b4aa3(_0xcf5a7b._0xa5185a));
|
|
99
87
|
return {
|
|
100
|
-
'cacheDir':
|
|
101
|
-
async 'findCachedPath'(
|
|
102
|
-
const
|
|
103
|
-
await mkdir(
|
|
104
|
-
const
|
|
105
|
-
return
|
|
88
|
+
'cacheDir': _0x4baab1,
|
|
89
|
+
async 'findCachedPath'(_0x4454c6) {
|
|
90
|
+
const _0x3037fe = _0x2b4aa3;
|
|
91
|
+
await mkdir(_0x4baab1, { 'recursive': !![] });
|
|
92
|
+
const _0xc18792 = await readdir(_0x4baab1), _0x2c88ae = _0xc18792['find'](_0x3a6bd1 => _0x3a6bd1[_0x3037fe(0x134)](_0x4454c6 + '-') || _0x3a6bd1[_0x3037fe(0x134)](_0x4454c6));
|
|
93
|
+
return _0x2c88ae ? _0x176603[_0x3037fe(_0x3a7b47._0x3a744a)](_0x4baab1, _0x2c88ae) : null;
|
|
106
94
|
},
|
|
107
|
-
async 'save'(
|
|
108
|
-
const
|
|
109
|
-
await mkdir(
|
|
110
|
-
const
|
|
111
|
-
return await writeFile(
|
|
95
|
+
async 'save'(_0x575515) {
|
|
96
|
+
const _0xbd062f = _0x2b4aa3;
|
|
97
|
+
await mkdir(_0x4baab1, { 'recursive': !![] });
|
|
98
|
+
const _0x782434 = _0x575515[_0xbd062f(0x1b8)]?.['trim']() ? safeFilename(_0x575515[_0xbd062f(0x1b8)]) : '' + _0x575515[_0xbd062f(0x21b)] + extensionFor(_0x575515[_0xbd062f(0x138)]), _0x4263f3 = _0x176603[_0xbd062f(0x27f)](_0x4baab1, _0x575515[_0xbd062f(0x21b)] + '-' + _0x782434);
|
|
99
|
+
return await writeFile(_0x4263f3, _0x575515[_0xbd062f(0x1c7)]), _0x4263f3;
|
|
112
100
|
}
|
|
113
101
|
};
|
|
114
102
|
}
|
|
@@ -116,2311 +104,2498 @@ import {
|
|
|
116
104
|
createHash,
|
|
117
105
|
randomUUID
|
|
118
106
|
} from 'node:crypto';
|
|
119
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
120
|
-
function ensureSegment(
|
|
121
|
-
const
|
|
122
|
-
if (!
|
|
107
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x42226e(0x106);
|
|
108
|
+
function ensureSegment(_0x134cac) {
|
|
109
|
+
const _0x138091 = { _0x4c3ad1: 0x165 }, _0x352183 = _0x42226e, _0x301457 = _0x134cac['trim']();
|
|
110
|
+
if (!_0x301457 || _0x301457[_0x352183(_0x138091._0x4c3ad1)](':'))
|
|
123
111
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
124
|
-
return
|
|
112
|
+
return _0x301457;
|
|
125
113
|
}
|
|
126
|
-
function parseThreadParts(
|
|
127
|
-
const
|
|
128
|
-
|
|
114
|
+
function parseThreadParts(_0x3438c6) {
|
|
115
|
+
const _0x54076d = {
|
|
116
|
+
_0x374304: 0x27d,
|
|
117
|
+
_0x4ec280: 0x1d9
|
|
118
|
+
}, _0x4bed94 = _0x42226e, _0x41e2f4 = _0x3438c6[_0x4bed94(_0x54076d._0x374304)](':');
|
|
119
|
+
if (_0x41e2f4[_0x4bed94(_0x54076d._0x4ec280)] < 0x1 || _0x41e2f4[_0x4bed94(_0x54076d._0x4ec280)] > 0x2)
|
|
129
120
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
130
121
|
return {
|
|
131
|
-
'channelName': ensureSegment(
|
|
132
|
-
'threadShortId':
|
|
122
|
+
'channelName': ensureSegment(_0x41e2f4[0x0] ?? ''),
|
|
123
|
+
'threadShortId': _0x41e2f4[0x1] ? ensureSegment(_0x41e2f4[0x1]) : null
|
|
133
124
|
};
|
|
134
125
|
}
|
|
135
|
-
function parseTarget(
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
126
|
+
function parseTarget(_0x466b71) {
|
|
127
|
+
const _0x235c5d = {
|
|
128
|
+
_0x5049a5: 0x244,
|
|
129
|
+
_0x2a9ea4: 0x152,
|
|
130
|
+
_0x4fa51a: 0x103,
|
|
131
|
+
_0x1f23ef: 0x182,
|
|
132
|
+
_0x8cc872: 0x244,
|
|
133
|
+
_0x58e9dd: 0x247,
|
|
134
|
+
_0xb07789: 0x182,
|
|
135
|
+
_0x2d0356: 0x196,
|
|
136
|
+
_0x32c87f: 0x152
|
|
137
|
+
}, _0x1e8a29 = _0x42226e, _0x4af3f7 = _0x466b71['trim']();
|
|
138
|
+
if (!_0x4af3f7)
|
|
144
139
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
145
|
-
if (
|
|
146
|
-
const
|
|
147
|
-
if (!
|
|
140
|
+
if (_0x4af3f7[_0x1e8a29(0x134)]('#')) {
|
|
141
|
+
const _0x462b95 = parseThreadParts(_0x4af3f7[_0x1e8a29(_0x235c5d._0x5049a5)](0x1)), _0x333a30 = '#' + _0x462b95['channelName'];
|
|
142
|
+
if (!_0x462b95[_0x1e8a29(_0x235c5d._0x2a9ea4)])
|
|
148
143
|
return {
|
|
149
|
-
'channelName':
|
|
150
|
-
'channelTarget':
|
|
151
|
-
'kind':
|
|
152
|
-
'target':
|
|
144
|
+
'channelName': _0x462b95['channelName'],
|
|
145
|
+
'channelTarget': _0x333a30,
|
|
146
|
+
'kind': 'channel',
|
|
147
|
+
'target': _0x333a30
|
|
153
148
|
};
|
|
154
149
|
return {
|
|
155
|
-
'channelName':
|
|
156
|
-
'channelTarget':
|
|
150
|
+
'channelName': _0x462b95[_0x1e8a29(_0x235c5d._0x4fa51a)],
|
|
151
|
+
'channelTarget': _0x333a30,
|
|
157
152
|
'kind': 'thread',
|
|
158
|
-
'target':
|
|
159
|
-
'threadShortId':
|
|
153
|
+
'target': _0x333a30 + ':' + _0x462b95[_0x1e8a29(0x152)],
|
|
154
|
+
'threadShortId': _0x462b95[_0x1e8a29(0x152)]
|
|
160
155
|
};
|
|
161
156
|
}
|
|
162
|
-
if (
|
|
163
|
-
const
|
|
164
|
-
if (!
|
|
157
|
+
if (_0x4af3f7['startsWith'](_0x1e8a29(_0x235c5d._0x1f23ef))) {
|
|
158
|
+
const _0x5e1a19 = parseThreadParts(_0x4af3f7[_0x1e8a29(_0x235c5d._0x8cc872)](0x3));
|
|
159
|
+
if (!_0x5e1a19[_0x1e8a29(0x103)]['startsWith'](_0x1e8a29(_0x235c5d._0x58e9dd)))
|
|
165
160
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
166
|
-
const
|
|
167
|
-
if (!
|
|
161
|
+
const _0x1b7cca = _0x1e8a29(_0x235c5d._0xb07789) + _0x5e1a19[_0x1e8a29(0x103)];
|
|
162
|
+
if (!_0x5e1a19[_0x1e8a29(0x152)])
|
|
168
163
|
return {
|
|
169
|
-
'channelName':
|
|
170
|
-
'channelTarget':
|
|
171
|
-
'kind':
|
|
172
|
-
'target':
|
|
164
|
+
'channelName': _0x5e1a19[_0x1e8a29(0x103)],
|
|
165
|
+
'channelTarget': _0x1b7cca,
|
|
166
|
+
'kind': _0x1e8a29(_0x235c5d._0x2d0356),
|
|
167
|
+
'target': _0x1b7cca
|
|
173
168
|
};
|
|
174
169
|
return {
|
|
175
|
-
'channelName':
|
|
176
|
-
'channelTarget':
|
|
177
|
-
'kind':
|
|
178
|
-
'target':
|
|
179
|
-
'threadShortId':
|
|
170
|
+
'channelName': _0x5e1a19[_0x1e8a29(0x103)],
|
|
171
|
+
'channelTarget': _0x1b7cca,
|
|
172
|
+
'kind': _0x1e8a29(0x231),
|
|
173
|
+
'target': _0x1b7cca + ':' + _0x5e1a19[_0x1e8a29(_0x235c5d._0x2a9ea4)],
|
|
174
|
+
'threadShortId': _0x5e1a19[_0x1e8a29(_0x235c5d._0x32c87f)]
|
|
180
175
|
};
|
|
181
176
|
}
|
|
182
177
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
183
178
|
}
|
|
184
|
-
function asErrorMessage(
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
179
|
+
function asErrorMessage(_0x36288d, _0x180ba0) {
|
|
180
|
+
const _0x10d513 = { _0x4ec763: 0x210 }, _0x33ffd4 = _0x42226e;
|
|
181
|
+
if (typeof _0x36288d === _0x33ffd4(0x257) && _0x36288d[_0x33ffd4(_0x10d513._0x4ec763)]())
|
|
182
|
+
return _0x36288d;
|
|
183
|
+
return _0x180ba0;
|
|
188
184
|
}
|
|
189
|
-
function asRecord(
|
|
190
|
-
return typeof
|
|
185
|
+
function asRecord(_0x512185) {
|
|
186
|
+
return typeof _0x512185 === 'object' && _0x512185 !== null ? _0x512185 : {};
|
|
191
187
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
188
|
+
var WORKER_AGENT_MESSAGE_FOLD_THRESHOLD = 0x140, WORKER_AGENT_MESSAGE_FOLD_HEAD = 0x78, WORKER_AGENT_MESSAGE_FOLD_TAIL = 0x50;
|
|
189
|
+
function stableStringify(_0x2bbc8c) {
|
|
190
|
+
const _0x506a5a = {
|
|
191
|
+
_0xb8df26: 0x229,
|
|
192
|
+
_0x3352b0: 0x27f,
|
|
193
|
+
_0x436a04: 0x28c,
|
|
194
|
+
_0x47e44a: 0x230,
|
|
195
|
+
_0x1da83b: 0x24b,
|
|
196
|
+
_0x28afbd: 0x27f
|
|
197
|
+
}, _0x4fb6a2 = _0x42226e;
|
|
198
|
+
if (_0x2bbc8c === null || typeof _0x2bbc8c !== _0x4fb6a2(_0x506a5a._0xb8df26))
|
|
199
|
+
return JSON['stringify'](_0x2bbc8c);
|
|
200
|
+
if (Array['isArray'](_0x2bbc8c))
|
|
201
|
+
return '[' + _0x2bbc8c[_0x4fb6a2(0x24b)](_0x197dae => stableStringify(_0x197dae))[_0x4fb6a2(_0x506a5a._0x3352b0)](',') + ']';
|
|
202
|
+
const _0x546a1e = Object[_0x4fb6a2(_0x506a5a._0x436a04)](_0x2bbc8c)[_0x4fb6a2(_0x506a5a._0x47e44a)](([, _0x195c75]) => _0x195c75 !== void 0x0)[_0x4fb6a2(0x16d)](([_0x2d1a98], [_0x505442]) => _0x2d1a98['localeCompare'](_0x505442))[_0x4fb6a2(_0x506a5a._0x1da83b)](([_0x538afc, _0x456011]) => JSON[_0x4fb6a2(0xf8)](_0x538afc) + ':' + stableStringify(_0x456011));
|
|
203
|
+
return '{' + _0x546a1e[_0x4fb6a2(_0x506a5a._0x28afbd)](',') + '}';
|
|
207
204
|
}
|
|
208
|
-
function createHeaders(
|
|
209
|
-
const
|
|
205
|
+
function createHeaders(_0x100914) {
|
|
206
|
+
const _0x19574e = _0x42226e;
|
|
210
207
|
return {
|
|
211
|
-
'Content-Type':
|
|
212
|
-
'x-daemon-api-key':
|
|
208
|
+
'Content-Type': _0x19574e(0x19c),
|
|
209
|
+
'x-daemon-api-key': _0x100914
|
|
213
210
|
};
|
|
214
211
|
}
|
|
215
|
-
function toHttpBaseUrl(
|
|
216
|
-
const
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
if (_0x1c4392[_0x45694e(0x33c)] === _0x45694e(_0x493ac6._0xff5118))
|
|
225
|
-
_0x1c4392[_0x45694e(_0x493ac6._0x4e6adc)] = _0x45694e(0x24a);
|
|
212
|
+
function toHttpBaseUrl(_0x37dcf9) {
|
|
213
|
+
const _0x1ff3f8 = {
|
|
214
|
+
_0x1f726b: 0x218,
|
|
215
|
+
_0x7da35a: 0x1e9,
|
|
216
|
+
_0x43d01a: 0x20d,
|
|
217
|
+
_0x1bbd34: 0x178
|
|
218
|
+
}, _0x45fd5d = _0x42226e, _0x5682bd = new URL(_0x37dcf9);
|
|
219
|
+
if (_0x5682bd[_0x45fd5d(0x218)] === 'ws:')
|
|
220
|
+
_0x5682bd[_0x45fd5d(_0x1ff3f8._0x1f726b)] = _0x45fd5d(_0x1ff3f8._0x7da35a);
|
|
226
221
|
else
|
|
227
|
-
|
|
228
|
-
return
|
|
229
|
-
}
|
|
230
|
-
function isMentionBoundary(_0x5dd05c) {
|
|
231
|
-
const _0x2a610f = { _0x8e20a9: 0x2af }, _0x58ca68 = _0x5e089b;
|
|
232
|
-
return !_0x5dd05c || /\s|[([{'",。!?、:;]/[_0x58ca68(_0x2a610f._0x8e20a9)](_0x5dd05c);
|
|
222
|
+
_0x5682bd['protocol'] === _0x45fd5d(_0x1ff3f8._0x43d01a) && (_0x5682bd[_0x45fd5d(_0x1ff3f8._0x1f726b)] = _0x45fd5d(_0x1ff3f8._0x1bbd34));
|
|
223
|
+
return _0x5682bd['toString']()[_0x45fd5d(0x233)](/\/$/, '');
|
|
233
224
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
let _0x28d593 = _0x3a7330[_0xc28652];
|
|
238
|
-
if (_0x28d5['PruuaW'] === undefined) {
|
|
239
|
-
var _0x52cfdc = function (_0x24801f) {
|
|
240
|
-
const _0x45a35e = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
241
|
-
let _0x444fc4 = '', _0x1b98f9 = '';
|
|
242
|
-
for (let _0x42f0a5 = 0x0, _0x332c70, _0x225de9, _0x1ab562 = 0x0; _0x225de9 = _0x24801f['charAt'](_0x1ab562++); ~_0x225de9 && (_0x332c70 = _0x42f0a5 % 0x4 ? _0x332c70 * 0x40 + _0x225de9 : _0x225de9, _0x42f0a5++ % 0x4) ? _0x444fc4 += String['fromCharCode'](0xff & _0x332c70 >> (-0x2 * _0x42f0a5 & 0x6)) : 0x0) {
|
|
243
|
-
_0x225de9 = _0x45a35e['indexOf'](_0x225de9);
|
|
244
|
-
}
|
|
245
|
-
for (let _0x42ad13 = 0x0, _0x4c9eae = _0x444fc4['length']; _0x42ad13 < _0x4c9eae; _0x42ad13++) {
|
|
246
|
-
_0x1b98f9 += '%' + ('00' + _0x444fc4['charCodeAt'](_0x42ad13)['toString'](0x10))['slice'](-0x2);
|
|
247
|
-
}
|
|
248
|
-
return decodeURIComponent(_0x1b98f9);
|
|
249
|
-
};
|
|
250
|
-
_0x28d5['ZUsEXQ'] = _0x52cfdc, _0x28d5['dANKrl'] = {}, _0x28d5['PruuaW'] = !![];
|
|
251
|
-
}
|
|
252
|
-
const _0x1abbcb = _0x3a7330[0x0], _0x226c60 = _0xc28652 + _0x1abbcb, _0x2c7bd8 = _0x28d5['dANKrl'][_0x226c60];
|
|
253
|
-
return !_0x2c7bd8 ? (_0x28d593 = _0x28d5['ZUsEXQ'](_0x28d593), _0x28d5['dANKrl'][_0x226c60] = _0x28d593) : _0x28d593 = _0x2c7bd8, _0x28d593;
|
|
225
|
+
function isMentionBoundary(_0x3fd783) {
|
|
226
|
+
const _0x2631a6 = { _0x3ef8b1: 0x25a }, _0x473a64 = _0x42226e;
|
|
227
|
+
return !_0x3fd783 || /\s|[([{'",。!?、:;]/[_0x473a64(_0x2631a6._0x3ef8b1)](_0x3fd783);
|
|
254
228
|
}
|
|
255
|
-
function isMentionTerminal(
|
|
256
|
-
const
|
|
257
|
-
return !
|
|
229
|
+
function isMentionTerminal(_0x2bc08e) {
|
|
230
|
+
const _0x3a408e = _0x42226e;
|
|
231
|
+
return !_0x2bc08e || /\s|[)\]}'",。!?、:;,.!?]/[_0x3a408e(0x25a)](_0x2bc08e);
|
|
258
232
|
}
|
|
259
|
-
function buildMatchableEntries(
|
|
260
|
-
const
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
}, _0x1efb65 = _0x5e089b, _0x594a25 = [];
|
|
265
|
-
for (const _0x30df33 of [
|
|
266
|
-
..._0x2ed637[_0x1efb65(0x2e4)],
|
|
267
|
-
..._0x2ed637[_0x1efb65(0x33d)]
|
|
233
|
+
function buildMatchableEntries(_0x5e25af) {
|
|
234
|
+
const _0x15d9ba = _0x42226e, _0x2453e2 = [];
|
|
235
|
+
for (const _0x3d43ea of [
|
|
236
|
+
..._0x5e25af[_0x15d9ba(0x1d0)],
|
|
237
|
+
..._0x5e25af['humans']
|
|
268
238
|
]) {
|
|
269
|
-
|
|
270
|
-
'matchName':
|
|
271
|
-
'matchNameLower':
|
|
272
|
-
'participantId':
|
|
273
|
-
}),
|
|
274
|
-
'matchName':
|
|
275
|
-
'matchNameLower':
|
|
276
|
-
'participantId':
|
|
239
|
+
_0x2453e2[_0x15d9ba(0x16e)]({
|
|
240
|
+
'matchName': _0x3d43ea['name'],
|
|
241
|
+
'matchNameLower': _0x3d43ea['name'][_0x15d9ba(0x150)](),
|
|
242
|
+
'participantId': _0x3d43ea['id']
|
|
243
|
+
}), _0x3d43ea['id'] !== _0x3d43ea[_0x15d9ba(0x252)] && _0x2453e2['push']({
|
|
244
|
+
'matchName': _0x3d43ea['id'],
|
|
245
|
+
'matchNameLower': _0x3d43ea['id']['toLocaleLowerCase'](),
|
|
246
|
+
'participantId': _0x3d43ea['id']
|
|
277
247
|
});
|
|
278
248
|
}
|
|
279
|
-
return
|
|
249
|
+
return _0x2453e2;
|
|
280
250
|
}
|
|
281
|
-
function extractMentionedParticipantIds(
|
|
282
|
-
const
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
},
|
|
291
|
-
|
|
292
|
-
|
|
251
|
+
function extractMentionedParticipantIds(_0x2a236d, _0x468b45) {
|
|
252
|
+
const _0x107d9c = {
|
|
253
|
+
_0x2398a0: 0x16d,
|
|
254
|
+
_0x213caf: 0x244,
|
|
255
|
+
_0x5efff4: 0x150,
|
|
256
|
+
_0x5850a5: 0x219,
|
|
257
|
+
_0x3096a1: 0x16e,
|
|
258
|
+
_0x33e066: 0x23e,
|
|
259
|
+
_0x24b7e0: 0x1d9
|
|
260
|
+
}, _0x4c1193 = {
|
|
261
|
+
_0x2941db: 0x134,
|
|
262
|
+
_0x5079e3: 0x286
|
|
263
|
+
}, _0x4bb0c6 = _0x42226e, _0x290242 = buildMatchableEntries(_0x468b45)[_0x4bb0c6(_0x107d9c._0x2398a0)]((_0x2b60ab, _0x56e708) => _0x56e708[_0x4bb0c6(0x286)][_0x4bb0c6(0x1d9)] - _0x2b60ab[_0x4bb0c6(0x286)][_0x4bb0c6(0x1d9)]), _0x486d14 = [], _0x4a7abd = new Set();
|
|
264
|
+
for (let _0x5a116f = 0x0; _0x5a116f < _0x2a236d[_0x4bb0c6(0x1d9)]; _0x5a116f += 0x1) {
|
|
265
|
+
if (_0x2a236d[_0x5a116f] !== '@' || !isMentionBoundary(_0x2a236d[_0x5a116f - 0x1]))
|
|
293
266
|
continue;
|
|
294
|
-
const
|
|
295
|
-
const
|
|
296
|
-
if (!
|
|
267
|
+
const _0x5c7aef = _0x2a236d[_0x4bb0c6(_0x107d9c._0x213caf)](_0x5a116f + 0x1), _0x596bb5 = _0x5c7aef[_0x4bb0c6(_0x107d9c._0x5efff4)](), _0x393084 = _0x290242[_0x4bb0c6(_0x107d9c._0x5850a5)](_0x5dda51 => {
|
|
268
|
+
const _0x4516c2 = _0x4bb0c6;
|
|
269
|
+
if (!_0x596bb5[_0x4516c2(_0x4c1193._0x2941db)](_0x5dda51['matchNameLower']))
|
|
297
270
|
return ![];
|
|
298
|
-
return isMentionTerminal(
|
|
271
|
+
return isMentionTerminal(_0x5c7aef[_0x5dda51[_0x4516c2(_0x4c1193._0x5079e3)][_0x4516c2(0x1d9)]]);
|
|
299
272
|
});
|
|
300
|
-
if (!
|
|
273
|
+
if (!_0x393084 || _0x4a7abd[_0x4bb0c6(0x171)](_0x393084['participantId']))
|
|
301
274
|
continue;
|
|
302
|
-
|
|
275
|
+
_0x4a7abd['add'](_0x393084['participantId']), _0x486d14[_0x4bb0c6(_0x107d9c._0x3096a1)](_0x393084[_0x4bb0c6(_0x107d9c._0x33e066)]), _0x5a116f += _0x393084[_0x4bb0c6(0x286)][_0x4bb0c6(_0x107d9c._0x24b7e0)];
|
|
303
276
|
}
|
|
304
|
-
return
|
|
277
|
+
return _0x486d14;
|
|
278
|
+
}
|
|
279
|
+
function isTargetedToAgent(_0x213374, _0x51e181) {
|
|
280
|
+
const _0x3648fa = { _0x4af965: 0xf2 }, _0x3874dc = _0x42226e, _0x2023b4 = _0x213374?.[_0x3874dc(0x221)];
|
|
281
|
+
return Array[_0x3874dc(_0x3648fa._0x4af965)](_0x2023b4) && _0x2023b4[_0x3874dc(0x165)](_0x51e181);
|
|
282
|
+
}
|
|
283
|
+
function contentMentionsAgent(_0x188ae9, _0x11acf4, _0x465218) {
|
|
284
|
+
const _0x2f48c9 = _0x42226e, _0x374380 = _0x11acf4['agents'][_0x2f48c9(0x219)](_0x5b28d4 => _0x5b28d4['id'] === _0x465218);
|
|
285
|
+
if (!_0x374380)
|
|
286
|
+
return ![];
|
|
287
|
+
return extractMentionedParticipantIds(_0x188ae9, _0x11acf4)[_0x2f48c9(0x165)](_0x374380['id']);
|
|
288
|
+
}
|
|
289
|
+
function foldWorkerAgentMessageContent(_0x2a874d) {
|
|
290
|
+
const _0x1742b7 = {
|
|
291
|
+
_0x16eac5: 0x217,
|
|
292
|
+
_0x363504: 0x173,
|
|
293
|
+
_0x18101b: 0x1d9,
|
|
294
|
+
_0x5c2099: 0x107,
|
|
295
|
+
_0x2272ce: 0x213,
|
|
296
|
+
_0x149708: 0x10c,
|
|
297
|
+
_0x6ea813: 0x1d9,
|
|
298
|
+
_0x8f7ac8: 0x244,
|
|
299
|
+
_0x8ec7e0: 0x164,
|
|
300
|
+
_0x51e8d0: 0x107,
|
|
301
|
+
_0x5bb2fe: 0x132
|
|
302
|
+
}, _0x18ec09 = _0x42226e;
|
|
303
|
+
if (!_0x2a874d[_0x18ec09(0x172)] || _0x2a874d[_0x18ec09(_0x1742b7._0x16eac5)] !== _0x18ec09(_0x1742b7._0x363504))
|
|
304
|
+
return _0x2a874d['content'];
|
|
305
|
+
if (_0x2a874d[_0x18ec09(0x107)][_0x18ec09(_0x1742b7._0x18101b)] <= WORKER_AGENT_MESSAGE_FOLD_THRESHOLD)
|
|
306
|
+
return _0x2a874d[_0x18ec09(_0x1742b7._0x5c2099)];
|
|
307
|
+
if (isTargetedToAgent(_0x2a874d['eventPayload'], _0x2a874d[_0x18ec09(0x23d)]) || contentMentionsAgent(_0x2a874d[_0x18ec09(0x107)], _0x2a874d[_0x18ec09(_0x1742b7._0x2272ce)], _0x2a874d[_0x18ec09(0x23d)]))
|
|
308
|
+
return _0x2a874d[_0x18ec09(0x107)];
|
|
309
|
+
const _0x4cf426 = Math[_0x18ec09(_0x1742b7._0x149708)](0x0, _0x2a874d[_0x18ec09(0x107)][_0x18ec09(_0x1742b7._0x6ea813)] - WORKER_AGENT_MESSAGE_FOLD_HEAD - WORKER_AGENT_MESSAGE_FOLD_TAIL), _0x3929e9 = _0x2a874d[_0x18ec09(_0x1742b7._0x5c2099)][_0x18ec09(_0x1742b7._0x8f7ac8)](0x0, WORKER_AGENT_MESSAGE_FOLD_HEAD)[_0x18ec09(_0x1742b7._0x8ec7e0)](), _0x35e21b = _0x2a874d[_0x18ec09(_0x1742b7._0x51e8d0)]['slice'](-WORKER_AGENT_MESSAGE_FOLD_TAIL)['trimStart']();
|
|
310
|
+
return '[message\x20folded:\x20non-target\x20agent\x20message,\x20' + _0x2a874d[_0x18ec09(0x107)][_0x18ec09(0x1d9)] + '\x20chars,\x20' + _0x4cf426 + _0x18ec09(_0x1742b7._0x5bb2fe) + _0x3929e9 + '\x0a…\x0a' + _0x35e21b;
|
|
305
311
|
}
|
|
306
312
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
307
|
-
function anySignal(...
|
|
308
|
-
const
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
_0x1447c7['addEventListener'](_0x520724(_0x5f071c._0x4d139f), () => _0x5d8f16[_0x520724(0x27c)](_0x1447c7[_0x520724(0x22f)]), {
|
|
313
|
+
function anySignal(..._0x4097ff) {
|
|
314
|
+
const _0x165d68 = {
|
|
315
|
+
_0x26b094: 0x1cf,
|
|
316
|
+
_0x174250: 0xf7,
|
|
317
|
+
_0xd34034: 0x15c
|
|
318
|
+
}, _0x37831d = _0x42226e, _0x1fa5dc = new AbortController();
|
|
319
|
+
for (const _0x3cb0f4 of _0x4097ff) {
|
|
320
|
+
if (_0x3cb0f4[_0x37831d(0x25f)])
|
|
321
|
+
return _0x1fa5dc[_0x37831d(0x15c)](_0x3cb0f4[_0x37831d(0x186)]), _0x1fa5dc[_0x37831d(_0x165d68._0x26b094)];
|
|
322
|
+
_0x3cb0f4[_0x37831d(_0x165d68._0x174250)](_0x37831d(_0x165d68._0xd34034), () => _0x1fa5dc[_0x37831d(0x15c)](_0x3cb0f4[_0x37831d(0x186)]), {
|
|
318
323
|
'once': !![],
|
|
319
|
-
'signal':
|
|
324
|
+
'signal': _0x1fa5dc['signal']
|
|
320
325
|
});
|
|
321
326
|
}
|
|
322
|
-
return
|
|
327
|
+
return _0x1fa5dc[_0x37831d(0x1cf)];
|
|
328
|
+
}
|
|
329
|
+
function _0x3c9f(_0x5d832a, _0x5d0a48) {
|
|
330
|
+
_0x5d832a = _0x5d832a - 0xf2;
|
|
331
|
+
const _0x1d81a4 = _0x1d81();
|
|
332
|
+
let _0x3c9fc4 = _0x1d81a4[_0x5d832a];
|
|
333
|
+
if (_0x3c9f['XCOdHw'] === undefined) {
|
|
334
|
+
var _0x5ff147 = function (_0x6f65a8) {
|
|
335
|
+
const _0x1680b2 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
336
|
+
let _0x176603 = '', _0x40984d = '';
|
|
337
|
+
for (let _0x2bae97 = 0x0, _0x54911d, _0x3a006c, _0x1f36b6 = 0x0; _0x3a006c = _0x6f65a8['charAt'](_0x1f36b6++); ~_0x3a006c && (_0x54911d = _0x2bae97 % 0x4 ? _0x54911d * 0x40 + _0x3a006c : _0x3a006c, _0x2bae97++ % 0x4) ? _0x176603 += String['fromCharCode'](0xff & _0x54911d >> (-0x2 * _0x2bae97 & 0x6)) : 0x0) {
|
|
338
|
+
_0x3a006c = _0x1680b2['indexOf'](_0x3a006c);
|
|
339
|
+
}
|
|
340
|
+
for (let _0x346161 = 0x0, _0x1f8137 = _0x176603['length']; _0x346161 < _0x1f8137; _0x346161++) {
|
|
341
|
+
_0x40984d += '%' + ('00' + _0x176603['charCodeAt'](_0x346161)['toString'](0x10))['slice'](-0x2);
|
|
342
|
+
}
|
|
343
|
+
return decodeURIComponent(_0x40984d);
|
|
344
|
+
};
|
|
345
|
+
_0x3c9f['tezlbU'] = _0x5ff147, _0x3c9f['UDtAWE'] = {}, _0x3c9f['XCOdHw'] = !![];
|
|
346
|
+
}
|
|
347
|
+
const _0x59983e = _0x1d81a4[0x0], _0x348961 = _0x5d832a + _0x59983e, _0x441dc6 = _0x3c9f['UDtAWE'][_0x348961];
|
|
348
|
+
return !_0x441dc6 ? (_0x3c9fc4 = _0x3c9f['tezlbU'](_0x3c9fc4), _0x3c9f['UDtAWE'][_0x348961] = _0x3c9fc4) : _0x3c9fc4 = _0x441dc6, _0x3c9fc4;
|
|
323
349
|
}
|
|
324
|
-
function createInternalAgentClient(
|
|
325
|
-
const
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
},
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
},
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
},
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
},
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
},
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
},
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
},
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
},
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
},
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
},
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
350
|
+
function createInternalAgentClient(_0x2473a7) {
|
|
351
|
+
const _0x526329 = {
|
|
352
|
+
_0x24162f: 0x13b,
|
|
353
|
+
_0x5cb9f3: 0x210,
|
|
354
|
+
_0x41304f: 0x225,
|
|
355
|
+
_0x4fb82f: 0xf6
|
|
356
|
+
}, _0x3dd138 = {
|
|
357
|
+
_0x10aeb6: 0x18d,
|
|
358
|
+
_0x929bdc: 0x17f,
|
|
359
|
+
_0x321f99: 0x23d,
|
|
360
|
+
_0x21eb8c: 0x203,
|
|
361
|
+
_0x485788: 0x10c,
|
|
362
|
+
_0x559fed: 0x1d9,
|
|
363
|
+
_0x5a1ed4: 0x230,
|
|
364
|
+
_0x426a6a: 0x263,
|
|
365
|
+
_0x215996: 0x24b,
|
|
366
|
+
_0xef921e: 0x257,
|
|
367
|
+
_0x10b71e: 0x12b,
|
|
368
|
+
_0x124ca9: 0x257,
|
|
369
|
+
_0x5606b6: 0x12b,
|
|
370
|
+
_0x26a91e: 0x156,
|
|
371
|
+
_0x3d86a0: 0x257,
|
|
372
|
+
_0x589817: 0x156,
|
|
373
|
+
_0x425d99: 0x16c,
|
|
374
|
+
_0x5a4f55: 0x116,
|
|
375
|
+
_0x29636e: 0x16c,
|
|
376
|
+
_0x290be7: 0x1da,
|
|
377
|
+
_0x50f3db: 0x1a8,
|
|
378
|
+
_0x93f854: 0x1be,
|
|
379
|
+
_0x57e104: 0x10c,
|
|
380
|
+
_0x155e86: 0x1d9,
|
|
381
|
+
_0x3ce148: 0x151,
|
|
382
|
+
_0x62a08a: 0x1a8,
|
|
383
|
+
_0x2286a6: 0x207,
|
|
384
|
+
_0x1017dc: 0x16e,
|
|
385
|
+
_0x2401e0: 0x15b,
|
|
386
|
+
_0x216228: 0x168,
|
|
387
|
+
_0xa70a3b: 0x205,
|
|
388
|
+
_0x258ccd: 0x217,
|
|
389
|
+
_0x38581b: 0x1ad,
|
|
390
|
+
_0x292e7b: 0x205,
|
|
391
|
+
_0x45bebc: 0x205,
|
|
392
|
+
_0x1e42f4: 0x23d
|
|
393
|
+
}, _0x1ad7bf = {
|
|
394
|
+
_0x1b2f34: 0x1f4,
|
|
395
|
+
_0x1c18d4: 0x1dd,
|
|
396
|
+
_0x3becfc: 0x23a,
|
|
397
|
+
_0x2ca7e: 0x12b
|
|
398
|
+
}, _0x408402 = {
|
|
399
|
+
_0x38f5e4: 0x1da,
|
|
400
|
+
_0x37cec3: 0x19b
|
|
401
|
+
}, _0x165ba7 = {
|
|
402
|
+
_0x4c6142: 0x1cf,
|
|
403
|
+
_0x450a04: 0x1a5,
|
|
404
|
+
_0x65d50d: 0x138,
|
|
405
|
+
_0x5b8740: 0x151,
|
|
406
|
+
_0x37b4a9: 0xff,
|
|
407
|
+
_0x1725aa: 0x15e
|
|
408
|
+
}, _0x205d95 = {
|
|
409
|
+
_0x813e2f: 0x196,
|
|
410
|
+
_0x4ec5d7: 0x17f,
|
|
411
|
+
_0x4d0d73: 0x23d,
|
|
412
|
+
_0x4ab2f5: 0xfc,
|
|
413
|
+
_0x459dfc: 0xf4,
|
|
414
|
+
_0x5d6d61: 0x1b8
|
|
415
|
+
}, _0x7a48e9 = {
|
|
416
|
+
_0x5356f2: 0x17f,
|
|
417
|
+
_0xfac6b5: 0x23d,
|
|
418
|
+
_0x342cb7: 0x251,
|
|
419
|
+
_0x598522: 0x1c7
|
|
420
|
+
}, _0x5e78cc = { _0x17f4de: 0x23d }, _0x2a26e6 = {
|
|
421
|
+
_0x3c3075: 0x17f,
|
|
422
|
+
_0x32f806: 0x143
|
|
423
|
+
}, _0x1f8f42 = {
|
|
424
|
+
_0x103ef8: 0x130,
|
|
425
|
+
_0x40b3c3: 0x143
|
|
426
|
+
}, _0x78f958 = {
|
|
427
|
+
_0x3c9af1: 0x1e0,
|
|
428
|
+
_0x42da7f: 0x143
|
|
429
|
+
}, _0xdc2989 = {
|
|
430
|
+
_0x32db31: 0x1da,
|
|
431
|
+
_0x58a84a: 0x196,
|
|
432
|
+
_0x39ac64: 0x1a5,
|
|
433
|
+
_0x4f742c: 0x1a5,
|
|
434
|
+
_0x55d37f: 0x23f,
|
|
435
|
+
_0x653b35: 0x18d,
|
|
436
|
+
_0x4dc76e: 0x203
|
|
437
|
+
}, _0x198eb7 = {
|
|
438
|
+
_0x4d1407: 0x274,
|
|
439
|
+
_0x430c82: 0x1a5,
|
|
440
|
+
_0x19554b: 0x1e5,
|
|
441
|
+
_0xbcf615: 0x1a5
|
|
442
|
+
}, _0x5e5de5 = {
|
|
443
|
+
_0x47ed66: 0x179,
|
|
444
|
+
_0x3be9af: 0x1e5,
|
|
445
|
+
_0x3c7494: 0x143,
|
|
446
|
+
_0x476373: 0x1b1
|
|
447
|
+
}, _0x4143c7 = {
|
|
448
|
+
_0x5377d3: 0x261,
|
|
449
|
+
_0x231098: 0xf8
|
|
450
|
+
}, _0x2433f4 = {
|
|
451
|
+
_0x2cc565: 0xf9,
|
|
452
|
+
_0x5daf00: 0x203,
|
|
453
|
+
_0x369242: 0x1c7
|
|
454
|
+
}, _0x29672e = {
|
|
455
|
+
_0x5bf6ea: 0x1dd,
|
|
456
|
+
_0x54e2f8: 0x107,
|
|
457
|
+
_0x1b6fb7: 0x165,
|
|
458
|
+
_0x371dd8: 0x1f3,
|
|
459
|
+
_0x2bb867: 0x1d9,
|
|
460
|
+
_0x2e48fa: 0x12b,
|
|
461
|
+
_0x44ef31: 0x22e
|
|
462
|
+
}, _0xc699f4 = {
|
|
463
|
+
_0x39867f: 0x12b,
|
|
464
|
+
_0x18cd4e: 0x1f3,
|
|
465
|
+
_0x29bf55: 0x1f3,
|
|
466
|
+
_0x5e505f: 0x125,
|
|
467
|
+
_0x70b06f: 0x1da,
|
|
468
|
+
_0x3283f9: 0x1f4,
|
|
469
|
+
_0x267c9d: 0x1f4,
|
|
470
|
+
_0x15250f: 0x23d,
|
|
471
|
+
_0x358287: 0x1c7,
|
|
472
|
+
_0xb3c60: 0x24b,
|
|
473
|
+
_0x4fb984: 0x245
|
|
474
|
+
}, _0x61f15d = { _0x1da682: 0x23e }, _0x174598 = {
|
|
475
|
+
_0x1ea0d2: 0x116,
|
|
476
|
+
_0x1a857e: 0x12f,
|
|
477
|
+
_0x374b04: 0x156,
|
|
478
|
+
_0x4fc1de: 0x257,
|
|
479
|
+
_0x23fae4: 0x156,
|
|
480
|
+
_0x4d256b: 0x134,
|
|
481
|
+
_0xdd9f4d: 0x12b
|
|
482
|
+
}, _0x3f0974 = {
|
|
483
|
+
_0x40e069: 0x156,
|
|
484
|
+
_0x303714: 0x152,
|
|
485
|
+
_0x31fe60: 0x152,
|
|
486
|
+
_0x4ac259: 0x12b,
|
|
487
|
+
_0x38f9a7: 0x152
|
|
488
|
+
}, _0x541e97 = {
|
|
489
|
+
_0xff3332: 0x16c,
|
|
490
|
+
_0x50ceb9: 0x228,
|
|
491
|
+
_0x24e3ac: 0x156,
|
|
492
|
+
_0x19cb01: 0x156,
|
|
493
|
+
_0x3bebfe: 0x244
|
|
494
|
+
}, _0xdc6f8c = {
|
|
495
|
+
_0x5dd29c: 0x1d0,
|
|
496
|
+
_0x430b0a: 0x252
|
|
497
|
+
}, _0x4917bb = { _0x4e13bc: 0x173 }, _0x16d7b6 = {
|
|
498
|
+
_0x740a19: 0x1dd,
|
|
499
|
+
_0x328619: 0x143,
|
|
500
|
+
_0x27de5e: 0x1c7,
|
|
501
|
+
_0x3dd916: 0x16c
|
|
502
|
+
}, _0x11de38 = {
|
|
503
|
+
_0x4503e6: 0x19c,
|
|
504
|
+
_0x4e07e5: 0x143,
|
|
505
|
+
_0x38101d: 0x1a5
|
|
506
|
+
}, _0x271ae8 = { _0x3c1f66: 0x190 }, _0x54f10c = {
|
|
507
|
+
_0x38e5d2: 0x1cf,
|
|
508
|
+
_0x311b0e: 0x128
|
|
509
|
+
}, _0x2a290d = {
|
|
510
|
+
_0x4a505f: 0x1cf,
|
|
511
|
+
_0x1d6c8f: 0x1cf,
|
|
512
|
+
_0x39cbd6: 0x274
|
|
513
|
+
}, _0x1d5b98 = {
|
|
514
|
+
_0x442eec: 0x104,
|
|
515
|
+
_0x318a02: 0x210,
|
|
516
|
+
_0x2d0c7b: 0x1b2,
|
|
517
|
+
_0x25254e: 0x12e,
|
|
518
|
+
_0x2aff12: 0x1fb,
|
|
519
|
+
_0x5212be: 0x1fa
|
|
520
|
+
}, _0x3f5f89 = {
|
|
521
|
+
_0x47f5f1: 0x288,
|
|
522
|
+
_0x363237: 0x15f
|
|
523
|
+
}, _0x3c5d8e = {
|
|
524
|
+
_0x1d8976: 0x210,
|
|
525
|
+
_0x1ea43d: 0x26a,
|
|
526
|
+
_0x57684f: 0x1c9,
|
|
527
|
+
_0x2c3ca5: 0x20f
|
|
528
|
+
}, _0x33fabc = _0x42226e, _0x5ce332 = _0x2473a7['fetchImpl'] ?? fetch, _0x57bab3 = _0x2473a7['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x2df9c7 = typeof _0x2473a7[_0x33fabc(0x18f)] === _0x33fabc(0x116) && _0x2473a7[_0x33fabc(0x18f)] > 0x0 ? _0x2473a7['initialLastSeenSeq'] : 0x0, _0x4fbc45 = _0x2473a7[_0x33fabc(_0x526329._0x24162f)]?.[_0x33fabc(_0x526329._0x5cb9f3)]() || void 0x0, _0x358623 = _0x2473a7['sessionId']?.[_0x33fabc(0x210)]() || void 0x0, _0x166139 = _0x2473a7[_0x33fabc(0x109)]?.['trim']() || void 0x0, _0x5bfc07 = _0x2473a7['workerThreadTarget']?.['trim']() || void 0x0, _0xed62b4 = createHeaders(_0x2473a7[_0x33fabc(_0x526329._0x41304f)]), _0x1e501f = toHttpBaseUrl(_0x2473a7[_0x33fabc(_0x526329._0x4fb82f)]);
|
|
529
|
+
let _0x5cfe71 = null;
|
|
530
|
+
const _0x387fc7 = new Map();
|
|
531
|
+
let _0x18422f = _0x2df9c7, _0x27d994 = _0x2df9c7;
|
|
532
|
+
function _0x4f03b8(_0x388cc6) {
|
|
533
|
+
const _0x1b8c79 = _0x33fabc, _0x2f8f9a = _0x388cc6[_0x1b8c79(0x1c9)]['headers'][_0x1b8c79(0x151)](_0x1b8c79(0x22f)) ?? 'unknown', _0x4273c8 = _0x388cc6[_0x1b8c79(0x22c)][_0x1b8c79(_0x3c5d8e._0x1d8976)]()[_0x1b8c79(0x233)](/\s+/g, '\x20')['slice'](0x0, 0x78) || '<empty>';
|
|
534
|
+
return '请求\x20' + _0x388cc6[_0x1b8c79(0x133)] + _0x1b8c79(_0x3c5d8e._0x1ea43d) + _0x388cc6[_0x1b8c79(_0x3c5d8e._0x57684f)]['status'] + _0x1b8c79(0x23b) + _0x2f8f9a + ',\x20preview=' + _0x4273c8 + _0x1b8c79(_0x3c5d8e._0x2c3ca5);
|
|
491
535
|
}
|
|
492
|
-
async function
|
|
493
|
-
const
|
|
494
|
-
if (!
|
|
536
|
+
async function _0x4a146d(_0x39eade, _0x2502e3) {
|
|
537
|
+
const _0x2c9415 = _0x33fabc, _0x4902b2 = Buffer[_0x2c9415(0x22d)](await _0x2502e3[_0x2c9415(0x15e)]())[_0x2c9415(0x18d)](_0x2c9415(_0x3f5f89._0x47f5f1));
|
|
538
|
+
if (!_0x4902b2[_0x2c9415(0x210)]())
|
|
495
539
|
return {};
|
|
496
540
|
try {
|
|
497
|
-
return JSON[
|
|
541
|
+
return JSON[_0x2c9415(_0x3f5f89._0x363237)](_0x4902b2);
|
|
498
542
|
} catch {
|
|
499
|
-
throw new Error(
|
|
500
|
-
'bodyText':
|
|
501
|
-
'requestUrl':
|
|
502
|
-
'response':
|
|
543
|
+
throw new Error(_0x4f03b8({
|
|
544
|
+
'bodyText': _0x4902b2,
|
|
545
|
+
'requestUrl': _0x39eade,
|
|
546
|
+
'response': _0x2502e3
|
|
503
547
|
}));
|
|
504
548
|
}
|
|
505
549
|
}
|
|
506
|
-
function
|
|
507
|
-
const
|
|
508
|
-
if (
|
|
509
|
-
return
|
|
510
|
-
const
|
|
511
|
-
for (const [
|
|
512
|
-
|
|
550
|
+
function _0x549620(_0x36612f, _0x5c5ea8) {
|
|
551
|
+
const _0x33edf1 = _0x33fabc, _0x5b7cdb = typeof _0x5c5ea8[_0x33edf1(_0x1d5b98._0x442eec)] === 'string' ? _0x5c5ea8['idempotency_key'][_0x33edf1(_0x1d5b98._0x318a02)]() : '';
|
|
552
|
+
if (_0x5b7cdb)
|
|
553
|
+
return _0x5b7cdb;
|
|
554
|
+
const _0x3bd05e = Date[_0x33edf1(0x194)]();
|
|
555
|
+
for (const [_0x105494, _0x3a1769] of _0x387fc7) {
|
|
556
|
+
_0x3a1769[_0x33edf1(_0x1d5b98._0x2d0c7b)] <= _0x3bd05e && _0x387fc7[_0x33edf1(_0x1d5b98._0x25254e)](_0x105494);
|
|
513
557
|
}
|
|
514
|
-
const
|
|
515
|
-
...
|
|
558
|
+
const _0xac3745 = {
|
|
559
|
+
..._0x5c5ea8,
|
|
516
560
|
'idempotency_key': void 0x0
|
|
517
|
-
},
|
|
518
|
-
if (
|
|
519
|
-
return
|
|
520
|
-
const
|
|
521
|
-
return
|
|
522
|
-
'expiresAt':
|
|
523
|
-
'value':
|
|
524
|
-
}),
|
|
561
|
+
}, _0x1e4ff5 = createHash(_0x33edf1(_0x1d5b98._0x2aff12))[_0x33edf1(0x24e)](_0x36612f + ':' + stableStringify(_0xac3745))[_0x33edf1(0x1e1)]('hex'), _0x337291 = _0x36612f + ':' + _0x1e4ff5, _0x190987 = _0x387fc7['get'](_0x337291);
|
|
562
|
+
if (_0x190987)
|
|
563
|
+
return _0x190987[_0x33edf1(0x1d2)];
|
|
564
|
+
const _0x363174 = _0x33edf1(_0x1d5b98._0x5212be) + _0x36612f + ':' + randomUUID();
|
|
565
|
+
return _0x387fc7['set'](_0x337291, {
|
|
566
|
+
'expiresAt': _0x3bd05e + 0x5 * 0x3c * 0x3e8,
|
|
567
|
+
'value': _0x363174
|
|
568
|
+
}), _0x363174;
|
|
525
569
|
}
|
|
526
|
-
async function
|
|
527
|
-
const
|
|
570
|
+
async function _0x5de536(_0x5de682, _0x16cacd) {
|
|
571
|
+
const _0x3b6c50 = _0x33fabc, _0x3ec81a = new AbortController(), _0x576f42 = setTimeout(() => _0x3ec81a[_0x3b6c50(0x15c)](), _0x57bab3), _0x3b3564 = _0x16cacd?.[_0x3b6c50(0x1cf)] ? anySignal(_0x16cacd[_0x3b6c50(0x1cf)], _0x3ec81a[_0x3b6c50(_0x2a290d._0x4a505f)]) : _0x3ec81a[_0x3b6c50(_0x2a290d._0x1d6c8f)], _0x4734fb = '' + _0x1e501f + _0x5de682;
|
|
528
572
|
try {
|
|
529
|
-
const
|
|
530
|
-
...
|
|
531
|
-
'signal':
|
|
532
|
-
}),
|
|
533
|
-
if (!
|
|
534
|
-
throw new Error(asErrorMessage(
|
|
535
|
-
return
|
|
573
|
+
const _0x2e0588 = await _0x5ce332(_0x4734fb, {
|
|
574
|
+
..._0x16cacd,
|
|
575
|
+
'signal': _0x3b3564
|
|
576
|
+
}), _0x1a968f = await _0x4a146d(_0x4734fb, _0x2e0588);
|
|
577
|
+
if (!_0x2e0588['ok'] || _0x1a968f['success'] === ![])
|
|
578
|
+
throw new Error(asErrorMessage(_0x1a968f[_0x3b6c50(_0x2a290d._0x39cbd6)], 'HTTP\x20' + _0x2e0588[_0x3b6c50(0x1a5)]));
|
|
579
|
+
return _0x1a968f;
|
|
536
580
|
} finally {
|
|
537
|
-
clearTimeout(
|
|
581
|
+
clearTimeout(_0x576f42);
|
|
538
582
|
}
|
|
539
583
|
}
|
|
540
|
-
async function
|
|
541
|
-
const
|
|
584
|
+
async function _0x43f561(_0x44913a, _0x5db1fc) {
|
|
585
|
+
const _0x1413ee = _0x33fabc, _0x1eda98 = new AbortController(), _0x456eeb = setTimeout(() => _0x1eda98[_0x1413ee(0x15c)](), _0x57bab3), _0x16a5c9 = _0x5db1fc?.[_0x1413ee(0x1cf)] ? anySignal(_0x5db1fc[_0x1413ee(_0x54f10c._0x38e5d2)], _0x1eda98[_0x1413ee(0x1cf)]) : _0x1eda98[_0x1413ee(0x1cf)], _0x39d43c = '' + _0x1e501f + _0x44913a;
|
|
542
586
|
try {
|
|
543
|
-
const
|
|
544
|
-
...
|
|
545
|
-
'signal':
|
|
546
|
-
}),
|
|
547
|
-
if (!
|
|
548
|
-
throw new Error(asErrorMessage(
|
|
549
|
-
return
|
|
587
|
+
const _0x5cecc8 = await _0x5ce332(_0x39d43c, {
|
|
588
|
+
..._0x5db1fc,
|
|
589
|
+
'signal': _0x16a5c9
|
|
590
|
+
}), _0x122ecb = await _0x4a146d(_0x39d43c, _0x5cecc8);
|
|
591
|
+
if (!_0x5cecc8['ok'])
|
|
592
|
+
throw new Error(asErrorMessage(_0x122ecb[_0x1413ee(0x274)], _0x1413ee(_0x54f10c._0x311b0e) + _0x5cecc8[_0x1413ee(0x1a5)]));
|
|
593
|
+
return _0x122ecb;
|
|
550
594
|
} finally {
|
|
551
|
-
clearTimeout(
|
|
595
|
+
clearTimeout(_0x456eeb);
|
|
552
596
|
}
|
|
553
597
|
}
|
|
554
|
-
async function
|
|
555
|
-
const
|
|
556
|
-
if (!
|
|
598
|
+
async function _0x30c7bb(_0x41346e) {
|
|
599
|
+
const _0x6c62af = _0x33fabc;
|
|
600
|
+
if (!_0x358623 || _0x41346e <= _0x27d994)
|
|
557
601
|
return;
|
|
558
|
-
await
|
|
559
|
-
'body': JSON[
|
|
560
|
-
'headers':
|
|
561
|
-
'method':
|
|
562
|
-
}),
|
|
602
|
+
await _0x5de536('/api/agent-sessions/' + encodeURIComponent(_0x358623) + _0x6c62af(_0x271ae8._0x3c1f66), {
|
|
603
|
+
'body': JSON[_0x6c62af(0xf8)]({ 'lastSeenSeq': _0x41346e }),
|
|
604
|
+
'headers': _0xed62b4,
|
|
605
|
+
'method': 'PATCH'
|
|
606
|
+
}), _0x27d994 = _0x41346e;
|
|
563
607
|
}
|
|
564
|
-
async function
|
|
565
|
-
const
|
|
566
|
-
if (!
|
|
608
|
+
async function _0x1f5060(_0x43b2b3) {
|
|
609
|
+
const _0x12fad5 = _0x33fabc;
|
|
610
|
+
if (!_0x4fbc45 || !_0x166139 || _0x43b2b3 <= _0x27d994)
|
|
567
611
|
return;
|
|
568
|
-
const
|
|
569
|
-
'body': JSON[
|
|
570
|
-
'last_seen_seq':
|
|
571
|
-
'worker_session_id':
|
|
612
|
+
const _0x3e3cdb = await _0x5ce332(_0x4fbc45 + '/workers/context-metrics', {
|
|
613
|
+
'body': JSON[_0x12fad5(0xf8)]({
|
|
614
|
+
'last_seen_seq': _0x43b2b3,
|
|
615
|
+
'worker_session_id': _0x166139
|
|
572
616
|
}),
|
|
573
|
-
'headers': { 'Content-Type':
|
|
574
|
-
'method':
|
|
617
|
+
'headers': { 'Content-Type': _0x12fad5(_0x11de38._0x4503e6) },
|
|
618
|
+
'method': _0x12fad5(_0x11de38._0x4e07e5)
|
|
575
619
|
});
|
|
576
|
-
if (!
|
|
577
|
-
throw new Error(
|
|
578
|
-
|
|
620
|
+
if (!_0x3e3cdb['ok'])
|
|
621
|
+
throw new Error(_0x12fad5(0x128) + _0x3e3cdb[_0x12fad5(_0x11de38._0x38101d)]);
|
|
622
|
+
_0x27d994 = _0x43b2b3;
|
|
579
623
|
}
|
|
580
|
-
async function
|
|
581
|
-
const
|
|
582
|
-
'body': JSON[
|
|
583
|
-
'headers':
|
|
584
|
-
'method':
|
|
624
|
+
async function _0x3fd0fe(_0x8333f7) {
|
|
625
|
+
const _0x3153cf = _0x33fabc, _0x5de406 = parseTarget(_0x8333f7), _0x2f49ff = await _0x5de536(_0x3153cf(0x17f) + _0x2473a7[_0x3153cf(0x23d)] + _0x3153cf(0x1a0), {
|
|
626
|
+
'body': JSON['stringify']({ 'target': _0x5de406[_0x3153cf(_0x16d7b6._0x740a19)] }),
|
|
627
|
+
'headers': _0xed62b4,
|
|
628
|
+
'method': _0x3153cf(_0x16d7b6._0x328619)
|
|
585
629
|
});
|
|
586
630
|
return {
|
|
587
|
-
'channelId':
|
|
588
|
-
'target':
|
|
589
|
-
'task':
|
|
590
|
-
'threadId':
|
|
591
|
-
'threadNumber':
|
|
631
|
+
'channelId': _0x2f49ff['data']?.[_0x3153cf(0x1f3)] ?? '',
|
|
632
|
+
'target': _0x5de406[_0x3153cf(0x228)],
|
|
633
|
+
'task': _0x2f49ff[_0x3153cf(0x1c7)]?.[_0x3153cf(0x202)],
|
|
634
|
+
'threadId': _0x2f49ff[_0x3153cf(_0x16d7b6._0x27de5e)]?.[_0x3153cf(0x12b)],
|
|
635
|
+
'threadNumber': _0x2f49ff[_0x3153cf(_0x16d7b6._0x27de5e)]?.[_0x3153cf(_0x16d7b6._0x3dd916)]
|
|
592
636
|
};
|
|
593
637
|
}
|
|
594
|
-
async function
|
|
595
|
-
const
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
'
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
'
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
'
|
|
614
|
-
|
|
638
|
+
async function _0x1a4a1c(_0x4c26bf = {}) {
|
|
639
|
+
const _0x5db04f = {
|
|
640
|
+
_0x305a3c: 0x1c7,
|
|
641
|
+
_0x343edd: 0x230,
|
|
642
|
+
_0x94351d: 0x24b,
|
|
643
|
+
_0x36ce94: 0x24b,
|
|
644
|
+
_0xcf8867: 0x263,
|
|
645
|
+
_0x3afda4: 0x1c7
|
|
646
|
+
}, _0x52fcb3 = _0x33fabc;
|
|
647
|
+
if (!_0x4c26bf['forceRefresh'] && _0x5cfe71)
|
|
648
|
+
return _0x5cfe71;
|
|
649
|
+
return _0x5cfe71 = (async () => {
|
|
650
|
+
const _0x12a0e4 = _0x3c9f, _0x1a320b = await _0x5de536('/internal/agent/' + _0x2473a7[_0x12a0e4(0x23d)] + _0x12a0e4(0x1f7), {
|
|
651
|
+
'headers': _0xed62b4,
|
|
652
|
+
'method': 'GET'
|
|
653
|
+
}), _0x55c6b4 = _0x1a320b[_0x12a0e4(_0x5db04f._0x305a3c)]?.[_0x12a0e4(0x13c)] ?? [], _0x2963b1 = _0x55c6b4[_0x12a0e4(_0x5db04f._0x343edd)](_0x4e4dcf => _0x4e4dcf[_0x12a0e4(0x1a3)]?.[_0x12a0e4(0x115)] === 'agent')[_0x12a0e4(_0x5db04f._0x94351d)](_0xd5ac85 => ({
|
|
654
|
+
'id': _0x219d49(_0xd5ac85),
|
|
655
|
+
'name': _0x4fffb7(_0xd5ac85)
|
|
656
|
+
}))['filter'](_0xef27ca => _0xef27ca['id']), _0x3213b7 = _0x55c6b4[_0x12a0e4(_0x5db04f._0x343edd)](_0xf780f5 => _0xf780f5['participant']?.[_0x12a0e4(0x115)] !== 'agent')[_0x12a0e4(_0x5db04f._0x36ce94)](_0x1aca20 => ({
|
|
657
|
+
'id': _0x219d49(_0x1aca20),
|
|
658
|
+
'name': _0x4fffb7(_0x1aca20)
|
|
659
|
+
}))[_0x12a0e4(0x230)](_0x53c8da => _0x53c8da['id']), _0x378dae = _0x1a320b[_0x12a0e4(0x1c7)]?.['server']['id'] ?? '';
|
|
615
660
|
return {
|
|
616
|
-
'agents':
|
|
617
|
-
'channels':
|
|
618
|
-
'humans':
|
|
619
|
-
'serverId':
|
|
620
|
-
'serverName':
|
|
661
|
+
'agents': _0x2963b1,
|
|
662
|
+
'channels': _0x1a320b['data']?.[_0x12a0e4(_0x5db04f._0xcf8867)] ?? [],
|
|
663
|
+
'humans': _0x3213b7,
|
|
664
|
+
'serverId': _0x378dae,
|
|
665
|
+
'serverName': _0x1a320b[_0x12a0e4(_0x5db04f._0x3afda4)]?.['server'][_0x12a0e4(0x252)] ?? _0x378dae
|
|
621
666
|
};
|
|
622
|
-
})()[
|
|
623
|
-
|
|
624
|
-
throw
|
|
625
|
-
}),
|
|
667
|
+
})()[_0x52fcb3(0x12d)](_0x73d568 => {
|
|
668
|
+
_0x5cfe71 = null;
|
|
669
|
+
throw _0x73d568;
|
|
670
|
+
}), _0x5cfe71;
|
|
626
671
|
}
|
|
627
|
-
function
|
|
628
|
-
const
|
|
629
|
-
return
|
|
672
|
+
function _0x2f464d(_0x3ae902, _0x369d45) {
|
|
673
|
+
const _0x3511a7 = _0x33fabc;
|
|
674
|
+
return _0x369d45['agents'][_0x3511a7(0x270)](_0x29bc1a => _0x29bc1a['id'] === _0x3ae902 || _0x29bc1a[_0x3511a7(0x252)] === _0x3ae902) ? _0x3511a7(_0x4917bb._0x4e13bc) : 'human';
|
|
630
675
|
}
|
|
631
|
-
function
|
|
632
|
-
const
|
|
633
|
-
...
|
|
634
|
-
...
|
|
635
|
-
][
|
|
636
|
-
return
|
|
676
|
+
function _0x5438ca(_0x45a5c8, _0x25ead5) {
|
|
677
|
+
const _0x1278d5 = _0x33fabc, _0x377547 = [
|
|
678
|
+
..._0x25ead5[_0x1278d5(_0xdc6f8c._0x5dd29c)],
|
|
679
|
+
..._0x25ead5['humans']
|
|
680
|
+
][_0x1278d5(0x219)](_0x24d5ec => _0x24d5ec['id'] === _0x45a5c8);
|
|
681
|
+
return _0x377547?.[_0x1278d5(_0xdc6f8c._0x430b0a)] ?? _0x45a5c8;
|
|
637
682
|
}
|
|
638
|
-
function
|
|
639
|
-
const
|
|
640
|
-
if (
|
|
641
|
-
return
|
|
642
|
-
if (
|
|
643
|
-
return
|
|
644
|
-
if (
|
|
645
|
-
return
|
|
646
|
-
return
|
|
683
|
+
function _0x1ebfc5(_0x2d49ce) {
|
|
684
|
+
const _0x511007 = _0x33fabc;
|
|
685
|
+
if (_0x2d49ce[_0x511007(_0x541e97._0xff3332)] != null)
|
|
686
|
+
return _0x2d49ce[_0x511007(_0x541e97._0x50ceb9)] + ':t' + _0x2d49ce[_0x511007(0x16c)];
|
|
687
|
+
if (_0x2d49ce[_0x511007(_0x541e97._0x24e3ac)])
|
|
688
|
+
return _0x2d49ce[_0x511007(_0x541e97._0x50ceb9)] + ':' + _0x2d49ce[_0x511007(_0x541e97._0x19cb01)];
|
|
689
|
+
if (_0x2d49ce[_0x511007(0x12b)])
|
|
690
|
+
return _0x2d49ce[_0x511007(_0x541e97._0x50ceb9)] + ':' + _0x2d49ce[_0x511007(0x12b)][_0x511007(_0x541e97._0x3bebfe)](0x0, 0x8);
|
|
691
|
+
return _0x2d49ce[_0x511007(0x228)];
|
|
647
692
|
}
|
|
648
|
-
function
|
|
649
|
-
const
|
|
693
|
+
function _0xf1a7a5(_0x4ac391, _0x3c6919) {
|
|
694
|
+
const _0x379b68 = _0x33fabc;
|
|
650
695
|
try {
|
|
651
|
-
const
|
|
652
|
-
if (
|
|
696
|
+
const _0xecb65 = parseTarget(_0x4ac391);
|
|
697
|
+
if (_0xecb65[_0x379b68(0x205)] !== _0x379b68(0x231) || _0xecb65[_0x379b68(0x228)] !== _0x3c6919[_0x379b68(0x228)])
|
|
653
698
|
return ![];
|
|
654
|
-
if (
|
|
699
|
+
if (_0x3c6919[_0x379b68(0x16c)] != null && _0xecb65[_0x379b68(0x152)] === 't' + _0x3c6919[_0x379b68(0x16c)])
|
|
655
700
|
return !![];
|
|
656
|
-
if (
|
|
657
|
-
return
|
|
658
|
-
if (
|
|
659
|
-
return
|
|
701
|
+
if (_0x3c6919[_0x379b68(_0x3f0974._0x40e069)])
|
|
702
|
+
return _0xecb65[_0x379b68(_0x3f0974._0x303714)] === _0x3c6919[_0x379b68(0x156)] || _0x3c6919[_0x379b68(_0x3f0974._0x40e069)][_0x379b68(0x134)](_0xecb65[_0x379b68(_0x3f0974._0x31fe60)]);
|
|
703
|
+
if (_0x3c6919[_0x379b68(_0x3f0974._0x4ac259)])
|
|
704
|
+
return _0xecb65[_0x379b68(_0x3f0974._0x38f9a7)] === _0x3c6919[_0x379b68(0x12b)] || _0x3c6919[_0x379b68(0x12b)]['startsWith'](_0xecb65['threadShortId']);
|
|
660
705
|
return ![];
|
|
661
706
|
} catch {
|
|
662
707
|
return ![];
|
|
663
708
|
}
|
|
664
709
|
}
|
|
665
|
-
function
|
|
666
|
-
const
|
|
710
|
+
function _0x4a6b13(_0x31b75c, _0x3e64c9) {
|
|
711
|
+
const _0x16d778 = _0x33fabc;
|
|
667
712
|
try {
|
|
668
|
-
const
|
|
669
|
-
if (
|
|
713
|
+
const _0x409654 = parseTarget(_0x31b75c);
|
|
714
|
+
if (_0x409654['kind'] !== _0x16d778(0x231))
|
|
670
715
|
return ![];
|
|
671
|
-
const
|
|
672
|
-
if (
|
|
716
|
+
const _0x5cd3d1 = typeof _0x3e64c9[_0x16d778(0x16c)] === _0x16d778(_0x174598._0x1ea0d2) && Number[_0x16d778(_0x174598._0x1a857e)](_0x3e64c9['threadNumber']) ? _0x3e64c9[_0x16d778(0x16c)] : void 0x0;
|
|
717
|
+
if (_0x5cd3d1 != null && _0x409654[_0x16d778(0x152)] === 't' + _0x5cd3d1)
|
|
673
718
|
return !![];
|
|
674
|
-
const
|
|
675
|
-
if (
|
|
676
|
-
return
|
|
677
|
-
const
|
|
678
|
-
return Boolean(
|
|
719
|
+
const _0x55410d = typeof _0x3e64c9[_0x16d778(_0x174598._0x374b04)] === _0x16d778(_0x174598._0x4fc1de) ? _0x3e64c9[_0x16d778(_0x174598._0x23fae4)] : void 0x0;
|
|
720
|
+
if (_0x55410d)
|
|
721
|
+
return _0x409654[_0x16d778(0x152)] === _0x55410d || _0x55410d[_0x16d778(_0x174598._0x4d256b)](_0x409654['threadShortId']);
|
|
722
|
+
const _0x3a14f0 = typeof _0x3e64c9['threadId'] === _0x16d778(_0x174598._0x4fc1de) ? _0x3e64c9[_0x16d778(_0x174598._0xdd9f4d)] : void 0x0;
|
|
723
|
+
return Boolean(_0x3a14f0) && (_0x409654[_0x16d778(0x152)] === _0x3a14f0 || _0x3a14f0['startsWith'](_0x409654[_0x16d778(0x152)]));
|
|
679
724
|
} catch {
|
|
680
725
|
return ![];
|
|
681
726
|
}
|
|
682
727
|
}
|
|
683
|
-
function
|
|
684
|
-
const
|
|
685
|
-
return
|
|
728
|
+
function _0x219d49(_0xafa0c9) {
|
|
729
|
+
const _0x6f99a3 = _0x33fabc;
|
|
730
|
+
return _0xafa0c9[_0x6f99a3(0x1ec)]?.[_0x6f99a3(_0x61f15d._0x1da682)] ?? _0xafa0c9['participant']?.['id'] ?? _0xafa0c9['participantId'] ?? '';
|
|
686
731
|
}
|
|
687
|
-
function
|
|
688
|
-
const
|
|
689
|
-
return
|
|
732
|
+
function _0x4fffb7(_0x4a2b4d) {
|
|
733
|
+
const _0x506a79 = _0x33fabc;
|
|
734
|
+
return _0x4a2b4d[_0x506a79(0x1a3)]?.[_0x506a79(0x252)] ?? _0x219d49(_0x4a2b4d);
|
|
690
735
|
}
|
|
691
|
-
async function
|
|
692
|
-
const
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
const
|
|
698
|
-
'headers':
|
|
699
|
-
'method':
|
|
700
|
-
}),
|
|
701
|
-
'attachments': (
|
|
702
|
-
'filename':
|
|
703
|
-
'id':
|
|
736
|
+
async function _0x362874(_0x6a2880) {
|
|
737
|
+
const _0x33e04e = _0x33fabc, _0x1e0173 = Math[_0x33e04e(0x20a)](_0x6a2880[_0x33e04e(0x23a)] ?? 0x32, 0x64), _0x4f8160 = await _0x1a4a1c(), _0x24e305 = new URLSearchParams();
|
|
738
|
+
_0x24e305[_0x33e04e(0x1da)]('limit', String(_0x1e0173));
|
|
739
|
+
_0x6a2880[_0x33e04e(0x12b)] ? (_0x24e305['set'](_0x33e04e(_0xc699f4._0x39867f), _0x6a2880[_0x33e04e(0x12b)]), _0x24e305['set'](_0x33e04e(0x1f3), _0x6a2880[_0x33e04e(0x1f3)])) : _0x24e305[_0x33e04e(0x1da)](_0x33e04e(_0xc699f4._0x18cd4e), _0x6a2880[_0x33e04e(_0xc699f4._0x29bf55)]);
|
|
740
|
+
_0x6a2880[_0x33e04e(_0xc699f4._0x5e505f)] && _0x24e305[_0x33e04e(_0xc699f4._0x70b06f)]('cursor', String(_0x6a2880[_0x33e04e(0x125)]));
|
|
741
|
+
_0x6a2880[_0x33e04e(_0xc699f4._0x3283f9)] !== void 0x0 && _0x24e305[_0x33e04e(0x1da)](_0x33e04e(_0xc699f4._0x267c9d), String(_0x6a2880[_0x33e04e(0x1f4)]));
|
|
742
|
+
const _0x3ad488 = await _0x5de536('/internal/agent/' + _0x2473a7[_0x33e04e(_0xc699f4._0x15250f)] + '/history?' + _0x24e305[_0x33e04e(0x18d)](), {
|
|
743
|
+
'headers': _0xed62b4,
|
|
744
|
+
'method': _0x33e04e(0x203)
|
|
745
|
+
}), _0x520f91 = (_0x3ad488[_0x33e04e(_0xc699f4._0x358287)] ?? [])[_0x33e04e(_0xc699f4._0xb3c60)](_0x2e216d => ({
|
|
746
|
+
'attachments': (_0x2e216d[_0x33e04e(0x15b)] ?? [])[_0x33e04e(0x24b)](_0x1dd537 => ({
|
|
747
|
+
'filename': _0x1dd537[_0x33e04e(0xf4)] ?? _0x1dd537['id'],
|
|
748
|
+
'id': _0x1dd537['id']
|
|
704
749
|
})),
|
|
705
|
-
'content':
|
|
706
|
-
'createdAt':
|
|
707
|
-
...
|
|
708
|
-
'messageId':
|
|
709
|
-
'senderName':
|
|
710
|
-
'senderType':
|
|
711
|
-
'seq':
|
|
750
|
+
'content': _0x2e216d[_0x33e04e(0x1ad)] ?? '',
|
|
751
|
+
'createdAt': _0x2e216d[_0x33e04e(0x168)],
|
|
752
|
+
..._0x2e216d[_0x33e04e(0x205)] && _0x2e216d[_0x33e04e(0x205)] !== _0x33e04e(0x108) ? { 'kind': _0x2e216d[_0x33e04e(0x205)] } : {},
|
|
753
|
+
'messageId': _0x2e216d['id'],
|
|
754
|
+
'senderName': _0x5438ca(_0x2e216d[_0x33e04e(0x1d5)], _0x4f8160),
|
|
755
|
+
'senderType': _0x2f464d(_0x2e216d['senderParticipantId'], _0x4f8160),
|
|
756
|
+
'seq': _0x2e216d[_0x33e04e(0x149)] ?? 0x0
|
|
712
757
|
}));
|
|
713
758
|
return {
|
|
714
|
-
'channel':
|
|
715
|
-
'hasMore':
|
|
716
|
-
'messages':
|
|
717
|
-
'nextCursor':
|
|
759
|
+
'channel': _0x6a2880['channelTarget'],
|
|
760
|
+
'hasMore': _0x3ad488['meta']?.[_0x33e04e(0x248)] ?? ![],
|
|
761
|
+
'messages': _0x520f91,
|
|
762
|
+
'nextCursor': _0x3ad488[_0x33e04e(_0xc699f4._0x4fb984)]?.[_0x33e04e(0x183)]
|
|
718
763
|
};
|
|
719
764
|
}
|
|
720
765
|
return {
|
|
721
|
-
async 'sendMessage'(
|
|
722
|
-
const
|
|
723
|
-
'body': JSON[
|
|
724
|
-
'attachment_ids':
|
|
725
|
-
'bodyMarkdown':
|
|
726
|
-
'channelId':
|
|
727
|
-
...
|
|
728
|
-
'
|
|
729
|
-
|
|
766
|
+
async 'sendMessage'(_0x273f1e) {
|
|
767
|
+
const _0x1763e6 = _0x33fabc, _0x299f0d = await _0x3fd0fe(_0x273f1e[_0x1763e6(_0x29672e._0x5bf6ea)]), _0x3d1e8f = _0x273f1e[_0x1763e6(_0x29672e._0x54e2f8)][_0x1763e6(_0x29672e._0x1b6fb7)]('@') ? extractMentionedParticipantIds(_0x273f1e[_0x1763e6(0x107)], await _0x1a4a1c()) : [], _0x2738c2 = await _0x5de536(_0x1763e6(0x17f) + _0x2473a7[_0x1763e6(0x23d)] + '/send', {
|
|
768
|
+
'body': JSON['stringify']({
|
|
769
|
+
'attachment_ids': _0x273f1e[_0x1763e6(0x28a)],
|
|
770
|
+
'bodyMarkdown': _0x273f1e['content'],
|
|
771
|
+
'channelId': _0x299f0d[_0x1763e6(_0x29672e._0x371dd8)],
|
|
772
|
+
..._0x273f1e['metadataJson'] !== void 0x0 ? { 'metadataJson': _0x273f1e['metadataJson'] } : {},
|
|
773
|
+
..._0x3d1e8f[_0x1763e6(_0x29672e._0x2bb867)] > 0x0 ? { 'mentionedParticipantIds': _0x3d1e8f } : {},
|
|
774
|
+
'threadId': _0x299f0d[_0x1763e6(_0x29672e._0x2e48fa)],
|
|
775
|
+
..._0x273f1e[_0x1763e6(0x22e)] ? { 'visibility': _0x273f1e[_0x1763e6(_0x29672e._0x44ef31)] } : {}
|
|
730
776
|
}),
|
|
731
|
-
'headers':
|
|
732
|
-
'method':
|
|
777
|
+
'headers': _0xed62b4,
|
|
778
|
+
'method': _0x1763e6(0x143)
|
|
733
779
|
});
|
|
734
|
-
return { 'messageId':
|
|
780
|
+
return { 'messageId': _0x2738c2[_0x1763e6(0x1c7)]?.['id'] ?? '' };
|
|
735
781
|
},
|
|
736
782
|
async 'listSchedules'() {
|
|
737
|
-
const
|
|
738
|
-
'headers':
|
|
739
|
-
'method':
|
|
783
|
+
const _0x4082ca = _0x33fabc, _0x15281c = await _0x5de536(_0x4082ca(_0x2433f4._0x2cc565), {
|
|
784
|
+
'headers': _0xed62b4,
|
|
785
|
+
'method': _0x4082ca(_0x2433f4._0x5daf00)
|
|
740
786
|
});
|
|
741
|
-
return
|
|
787
|
+
return _0x15281c[_0x4082ca(_0x2433f4._0x369242)] ?? [];
|
|
742
788
|
},
|
|
743
|
-
async 'claimScheduleRun'(
|
|
744
|
-
const
|
|
745
|
-
'body': JSON[
|
|
746
|
-
'headers':
|
|
789
|
+
async 'claimScheduleRun'(_0x509658) {
|
|
790
|
+
const _0x77e312 = _0x33fabc, _0x1d3919 = await _0x5de536(_0x77e312(_0x4143c7._0x5377d3), {
|
|
791
|
+
'body': JSON[_0x77e312(_0x4143c7._0x231098)](_0x509658),
|
|
792
|
+
'headers': _0xed62b4,
|
|
747
793
|
'method': 'POST'
|
|
748
794
|
});
|
|
749
|
-
return
|
|
795
|
+
return _0x1d3919[_0x77e312(0x1c7)] ?? {
|
|
750
796
|
'granted': ![],
|
|
751
797
|
'runId': null,
|
|
752
798
|
'schedule': null,
|
|
753
|
-
'scheduledFor':
|
|
799
|
+
'scheduledFor': _0x509658[_0x77e312(0x271)]
|
|
754
800
|
};
|
|
755
801
|
},
|
|
756
|
-
async 'startScheduleRun'(
|
|
757
|
-
const
|
|
758
|
-
'body': JSON[
|
|
759
|
-
'headers':
|
|
760
|
-
'method':
|
|
802
|
+
async 'startScheduleRun'(_0x3b7133) {
|
|
803
|
+
const _0x5e11fd = _0x33fabc, _0x1bd3e0 = await _0x5de536(_0x5e11fd(_0x5e5de5._0x47ed66) + encodeURIComponent(_0x3b7133[_0x5e11fd(_0x5e5de5._0x3be9af)]) + _0x5e11fd(0x1df), {
|
|
804
|
+
'body': JSON[_0x5e11fd(0xf8)]({}),
|
|
805
|
+
'headers': _0xed62b4,
|
|
806
|
+
'method': _0x5e11fd(_0x5e5de5._0x3c7494)
|
|
761
807
|
});
|
|
762
|
-
return
|
|
808
|
+
return _0x1bd3e0[_0x5e11fd(0x1c7)] ?? {
|
|
763
809
|
'claimedByDaemonId': '',
|
|
764
|
-
'id':
|
|
810
|
+
'id': _0x3b7133[_0x5e11fd(0x1e5)],
|
|
765
811
|
'scheduleId': '',
|
|
766
|
-
'status':
|
|
812
|
+
'status': _0x5e11fd(_0x5e5de5._0x476373)
|
|
767
813
|
};
|
|
768
814
|
},
|
|
769
|
-
async 'finishScheduleRun'(
|
|
770
|
-
const
|
|
771
|
-
'body': JSON[
|
|
772
|
-
'error':
|
|
773
|
-
'resultJson':
|
|
774
|
-
'status':
|
|
815
|
+
async 'finishScheduleRun'(_0x3eac34) {
|
|
816
|
+
const _0x13d950 = _0x33fabc, _0x404568 = await _0x5de536('/api/internal/schedules/' + encodeURIComponent(_0x3eac34['runId']) + _0x13d950(0x22a), {
|
|
817
|
+
'body': JSON['stringify']({
|
|
818
|
+
'error': _0x3eac34[_0x13d950(_0x198eb7._0x4d1407)],
|
|
819
|
+
'resultJson': _0x3eac34[_0x13d950(0x279)],
|
|
820
|
+
'status': _0x3eac34[_0x13d950(_0x198eb7._0x430c82)]
|
|
775
821
|
}),
|
|
776
|
-
'headers':
|
|
777
|
-
'method':
|
|
822
|
+
'headers': _0xed62b4,
|
|
823
|
+
'method': _0x13d950(0x143)
|
|
778
824
|
});
|
|
779
|
-
return
|
|
825
|
+
return _0x404568[_0x13d950(0x1c7)] ?? {
|
|
780
826
|
'nextRunAt': null,
|
|
781
827
|
'run': {
|
|
782
828
|
'claimedByDaemonId': '',
|
|
783
|
-
'id':
|
|
829
|
+
'id': _0x3eac34[_0x13d950(_0x198eb7._0x19554b)],
|
|
784
830
|
'scheduleId': '',
|
|
785
|
-
'status':
|
|
831
|
+
'status': _0x3eac34[_0x13d950(_0x198eb7._0xbcf615)]
|
|
786
832
|
}
|
|
787
833
|
};
|
|
788
834
|
},
|
|
789
|
-
async 'listTasks'(
|
|
790
|
-
const
|
|
791
|
-
return
|
|
792
|
-
'headers':
|
|
793
|
-
'method':
|
|
835
|
+
async 'listTasks'(_0x8d08fe) {
|
|
836
|
+
const _0x54dd98 = _0x33fabc, _0x3b95c9 = new URLSearchParams();
|
|
837
|
+
return _0x3b95c9[_0x54dd98(_0xdc2989._0x32db31)](_0x54dd98(_0xdc2989._0x58a84a), _0x8d08fe[_0x54dd98(0x196)]), _0x8d08fe[_0x54dd98(_0xdc2989._0x39ac64)] && _0x3b95c9[_0x54dd98(_0xdc2989._0x32db31)](_0x54dd98(_0xdc2989._0x4f742c), _0x8d08fe['status']), _0x43f561('/internal/agent/' + _0x2473a7['agentId'] + _0x54dd98(_0xdc2989._0x55d37f) + _0x3b95c9[_0x54dd98(_0xdc2989._0x653b35)](), {
|
|
838
|
+
'headers': _0xed62b4,
|
|
839
|
+
'method': _0x54dd98(_0xdc2989._0x4dc76e)
|
|
794
840
|
});
|
|
795
841
|
},
|
|
796
|
-
async 'createTasks'(
|
|
797
|
-
const
|
|
798
|
-
return
|
|
799
|
-
'body': JSON[
|
|
800
|
-
...
|
|
801
|
-
'idempotency_key':
|
|
842
|
+
async 'createTasks'(_0x1a9007) {
|
|
843
|
+
const _0x3493e6 = _0x33fabc;
|
|
844
|
+
return _0x43f561('/internal/agent/' + _0x2473a7[_0x3493e6(0x23d)] + _0x3493e6(_0x78f958._0x3c9af1), {
|
|
845
|
+
'body': JSON[_0x3493e6(0xf8)]({
|
|
846
|
+
..._0x1a9007,
|
|
847
|
+
'idempotency_key': _0x549620(_0x3493e6(0x1ba), _0x1a9007)
|
|
802
848
|
}),
|
|
803
|
-
'headers':
|
|
804
|
-
'method':
|
|
849
|
+
'headers': _0xed62b4,
|
|
850
|
+
'method': _0x3493e6(_0x78f958._0x42da7f)
|
|
805
851
|
});
|
|
806
852
|
},
|
|
807
|
-
async 'claimTasks'(
|
|
808
|
-
const
|
|
809
|
-
return
|
|
810
|
-
'body': JSON[
|
|
811
|
-
...
|
|
812
|
-
'idempotency_key':
|
|
853
|
+
async 'claimTasks'(_0x56eb67) {
|
|
854
|
+
const _0x4da4f4 = _0x33fabc;
|
|
855
|
+
return _0x43f561('/internal/agent/' + _0x2473a7[_0x4da4f4(0x23d)] + _0x4da4f4(0x19a), {
|
|
856
|
+
'body': JSON[_0x4da4f4(0xf8)]({
|
|
857
|
+
..._0x56eb67,
|
|
858
|
+
'idempotency_key': _0x549620(_0x4da4f4(_0x1f8f42._0x103ef8), _0x56eb67)
|
|
813
859
|
}),
|
|
814
|
-
'headers':
|
|
815
|
-
'method':
|
|
860
|
+
'headers': _0xed62b4,
|
|
861
|
+
'method': _0x4da4f4(_0x1f8f42._0x40b3c3)
|
|
816
862
|
});
|
|
817
863
|
},
|
|
818
|
-
async 'unclaimTask'(
|
|
819
|
-
const
|
|
820
|
-
return
|
|
821
|
-
'body': JSON[
|
|
822
|
-
...
|
|
823
|
-
'idempotency_key':
|
|
864
|
+
async 'unclaimTask'(_0x405dd2) {
|
|
865
|
+
const _0x5c93be = _0x33fabc;
|
|
866
|
+
return _0x43f561(_0x5c93be(_0x2a26e6._0x3c3075) + _0x2473a7[_0x5c93be(0x23d)] + '/tasks/unclaim', {
|
|
867
|
+
'body': JSON[_0x5c93be(0xf8)]({
|
|
868
|
+
..._0x405dd2,
|
|
869
|
+
'idempotency_key': _0x549620(_0x5c93be(0x147), _0x405dd2)
|
|
824
870
|
}),
|
|
825
|
-
'headers':
|
|
826
|
-
'method':
|
|
871
|
+
'headers': _0xed62b4,
|
|
872
|
+
'method': _0x5c93be(_0x2a26e6._0x32f806)
|
|
827
873
|
});
|
|
828
874
|
},
|
|
829
|
-
async 'updateTaskStatus'(
|
|
830
|
-
const
|
|
831
|
-
return
|
|
832
|
-
'body': JSON[
|
|
833
|
-
...
|
|
834
|
-
'idempotency_key':
|
|
875
|
+
async 'updateTaskStatus'(_0xae777a) {
|
|
876
|
+
const _0x49b56a = _0x33fabc;
|
|
877
|
+
return _0x43f561(_0x49b56a(0x17f) + _0x2473a7[_0x49b56a(_0x5e78cc._0x17f4de)] + _0x49b56a(0x211), {
|
|
878
|
+
'body': JSON['stringify']({
|
|
879
|
+
..._0xae777a,
|
|
880
|
+
'idempotency_key': _0x549620(_0x49b56a(0x256), _0xae777a)
|
|
835
881
|
}),
|
|
836
|
-
'headers':
|
|
882
|
+
'headers': _0xed62b4,
|
|
837
883
|
'method': 'POST'
|
|
838
884
|
});
|
|
839
885
|
},
|
|
840
|
-
async '
|
|
841
|
-
const
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
886
|
+
async 'finalizePromotion'(_0x47e55c) {
|
|
887
|
+
const _0x4579d9 = _0x33fabc, _0x36a6c8 = await _0x5de536(_0x4579d9(_0x7a48e9._0x5356f2) + _0x2473a7[_0x4579d9(_0x7a48e9._0xfac6b5)] + _0x4579d9(_0x7a48e9._0x342cb7), {
|
|
888
|
+
'body': JSON[_0x4579d9(0xf8)](_0x47e55c),
|
|
889
|
+
'headers': _0xed62b4,
|
|
890
|
+
'method': _0x4579d9(0x143)
|
|
891
|
+
});
|
|
892
|
+
return _0x36a6c8[_0x4579d9(_0x7a48e9._0x598522)] ?? {
|
|
893
|
+
'draftMessageId': _0x47e55c['draftMessageId'],
|
|
894
|
+
'taskIds': []
|
|
895
|
+
};
|
|
896
|
+
},
|
|
897
|
+
async 'uploadFile'(_0x58acbc) {
|
|
898
|
+
const _0x1cb98c = _0x33fabc, _0x1b1ede = await _0x3fd0fe(_0x58acbc[_0x1cb98c(_0x205d95._0x813e2f)]);
|
|
899
|
+
if (_0x1b1ede[_0x1cb98c(0x12b)])
|
|
900
|
+
throw new Error(_0x1cb98c(0x1d6));
|
|
901
|
+
const _0x24e3d8 = await _0x5de536(_0x1cb98c(_0x205d95._0x4ec5d7) + _0x2473a7[_0x1cb98c(_0x205d95._0x4d0d73)] + _0x1cb98c(0x1c6), {
|
|
902
|
+
'body': JSON[_0x1cb98c(0xf8)]({
|
|
903
|
+
'channel': _0x1b1ede['target'],
|
|
904
|
+
'contentBase64': _0x58acbc[_0x1cb98c(_0x205d95._0x4ab2f5)],
|
|
905
|
+
'contentType': _0x58acbc[_0x1cb98c(0x138)],
|
|
906
|
+
'originalFilename': _0x58acbc[_0x1cb98c(_0x205d95._0x459dfc)]
|
|
850
907
|
}),
|
|
851
|
-
'headers':
|
|
852
|
-
'method':
|
|
908
|
+
'headers': _0xed62b4,
|
|
909
|
+
'method': _0x1cb98c(0x143)
|
|
853
910
|
});
|
|
854
911
|
return {
|
|
855
|
-
'attachmentId':
|
|
856
|
-
'filename':
|
|
857
|
-
'sizeBytes':
|
|
912
|
+
'attachmentId': _0x24e3d8['data']?.['id'] ?? '',
|
|
913
|
+
'filename': _0x24e3d8[_0x1cb98c(0x1c7)]?.[_0x1cb98c(_0x205d95._0x5d6d61)] ?? _0x58acbc[_0x1cb98c(0xf4)],
|
|
914
|
+
'sizeBytes': _0x24e3d8[_0x1cb98c(0x1c7)]?.[_0x1cb98c(0x1d8)] ?? 0x0
|
|
858
915
|
};
|
|
859
916
|
},
|
|
860
|
-
async 'downloadAttachment'(
|
|
861
|
-
const
|
|
862
|
-
'headers':
|
|
863
|
-
'method':
|
|
864
|
-
}),
|
|
917
|
+
async 'downloadAttachment'(_0x1f38da) {
|
|
918
|
+
const _0x30ac5e = _0x33fabc, _0x238ee1 = await _0x5de536(_0x30ac5e(0x10a) + _0x1f38da, {
|
|
919
|
+
'headers': _0xed62b4,
|
|
920
|
+
'method': _0x30ac5e(0x203)
|
|
921
|
+
}), _0x36066b = new AbortController(), _0x1812ec = setTimeout(() => _0x36066b[_0x30ac5e(0x15c)](), _0x57bab3);
|
|
865
922
|
try {
|
|
866
|
-
const
|
|
867
|
-
'headers':
|
|
868
|
-
'method':
|
|
869
|
-
'signal':
|
|
923
|
+
const _0x273209 = await _0x5ce332(_0x1e501f + '/api/attachments/' + _0x1f38da + _0x30ac5e(0x13f), {
|
|
924
|
+
'headers': _0xed62b4,
|
|
925
|
+
'method': _0x30ac5e(0x203),
|
|
926
|
+
'signal': _0x36066b[_0x30ac5e(_0x165ba7._0x4c6142)]
|
|
870
927
|
});
|
|
871
|
-
if (!
|
|
872
|
-
throw new Error(
|
|
928
|
+
if (!_0x273209['ok'])
|
|
929
|
+
throw new Error(_0x30ac5e(0x128) + _0x273209[_0x30ac5e(_0x165ba7._0x450a04)]);
|
|
873
930
|
return {
|
|
874
|
-
'contentType':
|
|
875
|
-
'data': Buffer[
|
|
876
|
-
'originalFilename':
|
|
931
|
+
'contentType': _0x238ee1['data']?.[_0x30ac5e(_0x165ba7._0x65d50d)] ?? _0x273209[_0x30ac5e(0x192)][_0x30ac5e(_0x165ba7._0x5b8740)](_0x30ac5e(0x22f)) ?? _0x30ac5e(_0x165ba7._0x37b4a9),
|
|
932
|
+
'data': Buffer['from'](await _0x273209[_0x30ac5e(_0x165ba7._0x1725aa)]()),
|
|
933
|
+
'originalFilename': _0x238ee1[_0x30ac5e(0x1c7)]?.[_0x30ac5e(0x1b8)]
|
|
877
934
|
};
|
|
878
935
|
} finally {
|
|
879
|
-
clearTimeout(
|
|
936
|
+
clearTimeout(_0x1812ec);
|
|
880
937
|
}
|
|
881
938
|
},
|
|
882
939
|
async 'listServer'() {
|
|
883
|
-
return
|
|
940
|
+
return _0x1a4a1c({ 'forceRefresh': !![] });
|
|
884
941
|
},
|
|
885
942
|
async 'getLatestEventSeq'() {
|
|
886
|
-
const
|
|
887
|
-
|
|
888
|
-
const
|
|
889
|
-
'headers':
|
|
943
|
+
const _0x433614 = _0x33fabc, _0x1a6cb0 = new URLSearchParams();
|
|
944
|
+
_0x1a6cb0[_0x433614(_0x408402._0x38f5e4)](_0x433614(0x11b), '0'), _0x1a6cb0[_0x433614(0x1da)](_0x433614(0x23a), '1');
|
|
945
|
+
const _0x6aba0b = await _0x5de536('/internal/agent/' + _0x2473a7[_0x433614(0x23d)] + _0x433614(_0x408402._0x37cec3) + _0x1a6cb0[_0x433614(0x18d)](), {
|
|
946
|
+
'headers': _0xed62b4,
|
|
890
947
|
'method': 'GET'
|
|
891
|
-
}),
|
|
892
|
-
return typeof
|
|
948
|
+
}), _0x33a22f = _0x6aba0b[_0x433614(0x245)]?.[_0x433614(0x1ce)];
|
|
949
|
+
return typeof _0x33a22f === _0x433614(0x116) && _0x33a22f > 0x0 ? _0x33a22f : 0x0;
|
|
893
950
|
},
|
|
894
|
-
async 'readHistory'(
|
|
895
|
-
const
|
|
896
|
-
return
|
|
897
|
-
'after':
|
|
898
|
-
'before':
|
|
899
|
-
'channelId':
|
|
900
|
-
'channelTarget':
|
|
901
|
-
'limit':
|
|
902
|
-
'threadId':
|
|
951
|
+
async 'readHistory'(_0x596f0a) {
|
|
952
|
+
const _0x120cf2 = _0x33fabc, _0x54a7f7 = await _0x3fd0fe(_0x596f0a[_0x120cf2(0x196)]);
|
|
953
|
+
return _0x362874({
|
|
954
|
+
'after': _0x596f0a[_0x120cf2(_0x1ad7bf._0x1b2f34)],
|
|
955
|
+
'before': _0x596f0a[_0x120cf2(0x125)],
|
|
956
|
+
'channelId': _0x54a7f7[_0x120cf2(0x1f3)],
|
|
957
|
+
'channelTarget': _0x54a7f7[_0x120cf2(_0x1ad7bf._0x1c18d4)],
|
|
958
|
+
'limit': _0x596f0a[_0x120cf2(_0x1ad7bf._0x3becfc)],
|
|
959
|
+
'threadId': _0x54a7f7[_0x120cf2(_0x1ad7bf._0x2ca7e)]
|
|
903
960
|
});
|
|
904
961
|
},
|
|
905
|
-
'resolveTarget':
|
|
962
|
+
'resolveTarget': _0x3fd0fe,
|
|
906
963
|
async 'checkMessages'() {
|
|
907
|
-
const
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
},
|
|
912
|
-
|
|
913
|
-
const
|
|
914
|
-
'headers':
|
|
915
|
-
'method':
|
|
916
|
-
}),
|
|
917
|
-
const
|
|
918
|
-
if (
|
|
964
|
+
const _0x140c0f = { _0x1ab41b: 0x171 }, _0x55fef8 = {
|
|
965
|
+
_0x2842b7: 0x204,
|
|
966
|
+
_0x7b43cc: 0x280,
|
|
967
|
+
_0x34373e: 0x1a8
|
|
968
|
+
}, _0x356e0f = _0x33fabc, _0x111bc3 = new URLSearchParams();
|
|
969
|
+
_0x111bc3[_0x356e0f(0x1da)]('afterSeq', String(_0x18422f));
|
|
970
|
+
const _0x56823d = _0x111bc3[_0x356e0f(_0x3dd138._0x10aeb6)](), _0x45907d = await _0x5de536(_0x356e0f(_0x3dd138._0x929bdc) + _0x2473a7[_0x356e0f(_0x3dd138._0x321f99)] + '/receive' + (_0x56823d ? '?' + _0x56823d : ''), {
|
|
971
|
+
'headers': _0xed62b4,
|
|
972
|
+
'method': _0x356e0f(_0x3dd138._0x21eb8c)
|
|
973
|
+
}), _0x4bbe39 = _0x45907d[_0x356e0f(0x1c7)] ?? [], _0x18ec47 = _0x45907d[_0x356e0f(0x245)]?.[_0x356e0f(0x183)], _0x43ccdc = _0x5bfc07 ? _0x4bbe39['filter'](_0x366624 => {
|
|
974
|
+
const _0x3de080 = _0x356e0f;
|
|
975
|
+
if (_0x366624[_0x3de080(_0x55fef8._0x2842b7)] !== _0x3de080(_0x55fef8._0x7b43cc))
|
|
919
976
|
return ![];
|
|
920
|
-
return
|
|
921
|
-
}) :
|
|
922
|
-
let
|
|
923
|
-
|
|
924
|
-
|
|
977
|
+
return _0x4a6b13(_0x5bfc07, asRecord(_0x366624[_0x3de080(_0x55fef8._0x34373e)]));
|
|
978
|
+
}) : _0x4bbe39, _0x2ea2b4 = _0x18ec47 !== void 0x0 ? _0x5bfc07 ? Math['max'](_0x18422f, _0x43ccdc[_0x356e0f(0x1d9)] > 0x0 ? _0x43ccdc[_0x43ccdc['length'] - 0x1]['seq'] : _0x18422f) : Math[_0x356e0f(_0x3dd138._0x485788)](_0x18422f, _0x18ec47) : _0x43ccdc[_0x356e0f(0x1d9)] > 0x0 ? Math[_0x356e0f(_0x3dd138._0x485788)](_0x18422f, _0x43ccdc[_0x43ccdc[_0x356e0f(_0x3dd138._0x559fed)] - 0x1][_0x356e0f(0x1be)]) : _0x18422f, _0x41bf10 = (_0x5bfc07 ? _0x43ccdc : _0x4bbe39)[_0x356e0f(_0x3dd138._0x5a1ed4)](_0x58edb6 => _0x58edb6['aggregateType'] === _0x356e0f(0x280));
|
|
979
|
+
let _0x5b0472 = await _0x1a4a1c(), _0x31d9a1 = new Map(_0x5b0472[_0x356e0f(_0x3dd138._0x426a6a)][_0x356e0f(_0x3dd138._0x215996)](_0x273b12 => [
|
|
980
|
+
_0x273b12['id'],
|
|
981
|
+
_0x273b12
|
|
925
982
|
]));
|
|
926
|
-
const
|
|
927
|
-
const
|
|
928
|
-
return Boolean(
|
|
983
|
+
const _0xca5134 = _0x41bf10[_0x356e0f(0x270)](_0x52607b => {
|
|
984
|
+
const _0x23a70 = _0x356e0f, _0x1bc3fc = asRecord(_0x52607b['payloadJson']), _0x5022c5 = typeof _0x1bc3fc?.['channelId'] === 'string' ? _0x1bc3fc['channelId'] : '';
|
|
985
|
+
return Boolean(_0x5022c5) && !_0x31d9a1[_0x23a70(_0x140c0f._0x1ab41b)](_0x5022c5);
|
|
929
986
|
});
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
987
|
+
_0xca5134 && (_0x5b0472 = await _0x1a4a1c({ 'forceRefresh': !![] }), _0x31d9a1 = new Map(_0x5b0472['channels'][_0x356e0f(0x24b)](_0x4edb8f => [
|
|
988
|
+
_0x4edb8f['id'],
|
|
989
|
+
_0x4edb8f
|
|
933
990
|
])));
|
|
934
|
-
const
|
|
935
|
-
for (const
|
|
936
|
-
const
|
|
937
|
-
if (!
|
|
991
|
+
const _0x5159f9 = new Map();
|
|
992
|
+
for (const _0x3ba0ae of _0x41bf10) {
|
|
993
|
+
const _0x2e3191 = asRecord(_0x3ba0ae[_0x356e0f(0x1a8)]), _0xf1513e = typeof _0x2e3191['channelId'] === _0x356e0f(_0x3dd138._0xef921e) ? _0x2e3191['channelId'] : '';
|
|
994
|
+
if (!_0xf1513e)
|
|
938
995
|
continue;
|
|
939
|
-
const
|
|
996
|
+
const _0x2f3282 = typeof _0x2e3191[_0x356e0f(_0x3dd138._0x10b71e)] === _0x356e0f(_0x3dd138._0x124ca9) ? _0x2e3191[_0x356e0f(_0x3dd138._0x5606b6)] : void 0x0, _0x4e19e6 = typeof _0x2e3191[_0x356e0f(_0x3dd138._0x26a91e)] === _0x356e0f(_0x3dd138._0x3d86a0) ? _0x2e3191[_0x356e0f(_0x3dd138._0x589817)] : void 0x0, _0x30c23f = typeof _0x2e3191[_0x356e0f(_0x3dd138._0x425d99)] === _0x356e0f(_0x3dd138._0x5a4f55) && Number[_0x356e0f(0x12f)](_0x2e3191[_0x356e0f(0x16c)]) ? _0x2e3191[_0x356e0f(_0x3dd138._0x425d99)] : void 0x0, _0x45f23c = Boolean(_0x2f3282 && (!_0x4e19e6 || _0x3ba0ae['aggregateId'] !== _0x4e19e6)), _0x220fb0 = _0x45f23c ? _0xf1513e + ':' + _0x2f3282 : _0xf1513e, _0x3606e8 = _0x5159f9[_0x356e0f(0x151)](_0x220fb0) ?? {
|
|
940
997
|
'aggregateIds': [],
|
|
941
|
-
'channelId':
|
|
998
|
+
'channelId': _0xf1513e,
|
|
942
999
|
'entries': new Map(),
|
|
943
|
-
'isThreadReply':
|
|
944
|
-
'rootMessageId':
|
|
945
|
-
'threadNumber':
|
|
946
|
-
'threadId':
|
|
1000
|
+
'isThreadReply': _0x45f23c,
|
|
1001
|
+
'rootMessageId': _0x4e19e6,
|
|
1002
|
+
'threadNumber': _0x30c23f,
|
|
1003
|
+
'threadId': _0x45f23c ? _0x2f3282 : void 0x0
|
|
947
1004
|
};
|
|
948
|
-
|
|
949
|
-
'payloadJson':
|
|
950
|
-
'seq':
|
|
951
|
-
}),
|
|
1005
|
+
_0x3606e8[_0x356e0f(_0x3dd138._0x29636e)] == null && _0x30c23f != null && (_0x3606e8['threadNumber'] = _0x30c23f), !_0x3606e8[_0x356e0f(_0x3dd138._0x26a91e)] && _0x4e19e6 && (_0x3606e8[_0x356e0f(0x156)] = _0x4e19e6), _0x3606e8[_0x356e0f(0x153)]['push'](_0x3ba0ae['aggregateId']), _0x3606e8['entries'][_0x356e0f(_0x3dd138._0x290be7)](_0x3ba0ae['aggregateId'], {
|
|
1006
|
+
'payloadJson': _0x3ba0ae[_0x356e0f(_0x3dd138._0x50f3db)],
|
|
1007
|
+
'seq': _0x3ba0ae[_0x356e0f(_0x3dd138._0x93f854)]
|
|
1008
|
+
}), _0x5159f9['set'](_0x220fb0, _0x3606e8);
|
|
952
1009
|
}
|
|
953
|
-
const
|
|
954
|
-
for (const
|
|
1010
|
+
const _0x9e537c = [];
|
|
1011
|
+
for (const _0x10dfe of _0x5159f9[_0x356e0f(0x214)]()) {
|
|
955
1012
|
const {
|
|
956
|
-
channelId:
|
|
957
|
-
threadId:
|
|
958
|
-
rootMessageId:
|
|
959
|
-
threadNumber:
|
|
960
|
-
aggregateIds:
|
|
961
|
-
isThreadReply:
|
|
962
|
-
entries:
|
|
963
|
-
} =
|
|
964
|
-
'channelTarget':
|
|
965
|
-
'rootMessageId':
|
|
966
|
-
'threadId':
|
|
967
|
-
'threadNumber':
|
|
968
|
-
},
|
|
969
|
-
'channelId':
|
|
970
|
-
'channelTarget':
|
|
971
|
-
'limit': Math[
|
|
972
|
-
'threadId':
|
|
973
|
-
}),
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
])),
|
|
977
|
-
for (const
|
|
978
|
-
if (!
|
|
1013
|
+
channelId: _0x1a783a,
|
|
1014
|
+
threadId: _0x3dc92c,
|
|
1015
|
+
rootMessageId: _0x37ee43,
|
|
1016
|
+
threadNumber: _0x4018ab,
|
|
1017
|
+
aggregateIds: _0x4ae91c,
|
|
1018
|
+
isThreadReply: _0x234d94,
|
|
1019
|
+
entries: _0x1cf524
|
|
1020
|
+
} = _0x10dfe, _0x44f9f8 = _0x31d9a1[_0x356e0f(0x151)](_0x1a783a), _0x54a264 = _0x44f9f8?.['name'] ?? _0x1a783a, _0x4ec112 = _0x44f9f8?.['kind'] === 'dm' ? _0x356e0f(0x182) + _0x54a264 : '#' + _0x54a264, _0x21af6c = {
|
|
1021
|
+
'channelTarget': _0x4ec112,
|
|
1022
|
+
'rootMessageId': _0x37ee43,
|
|
1023
|
+
'threadId': _0x3dc92c,
|
|
1024
|
+
'threadNumber': _0x4018ab
|
|
1025
|
+
}, _0x50a4e6 = await _0x362874({
|
|
1026
|
+
'channelId': _0x1a783a,
|
|
1027
|
+
'channelTarget': _0x4ec112,
|
|
1028
|
+
'limit': Math[_0x356e0f(_0x3dd138._0x57e104)](_0x4ae91c[_0x356e0f(_0x3dd138._0x155e86)], 0x32),
|
|
1029
|
+
'threadId': _0x3dc92c
|
|
1030
|
+
}), _0x2ddf52 = new Map(_0x50a4e6[_0x356e0f(0x1de)][_0x356e0f(0x24b)](_0x16ac63 => [
|
|
1031
|
+
_0x16ac63[_0x356e0f(0x175)],
|
|
1032
|
+
_0x16ac63
|
|
1033
|
+
])), _0x1277f3 = _0x3dc92c ? _0x1ebfc5(_0x21af6c) : _0x4ec112, _0x3e6a30 = _0x5bfc07 ? _0x234d94 && _0xf1a7a5(_0x5bfc07, _0x21af6c) : !![], _0x2a4caa = _0x234d94 ? _0x3e6a30 && _0x5bfc07 ? _0x5bfc07 : _0x1277f3 : _0x4ec112;
|
|
1034
|
+
for (const _0x41be7a of _0x4ae91c) {
|
|
1035
|
+
if (!_0x3e6a30)
|
|
979
1036
|
continue;
|
|
980
|
-
const
|
|
981
|
-
if (
|
|
982
|
-
|
|
983
|
-
'
|
|
984
|
-
'content':
|
|
985
|
-
'
|
|
986
|
-
|
|
987
|
-
'
|
|
988
|
-
'
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1037
|
+
const _0x233fa2 = _0x1cf524[_0x356e0f(_0x3dd138._0x3ce148)](_0x41be7a), _0x110b2b = _0x233fa2 ? asRecord(_0x233fa2[_0x356e0f(_0x3dd138._0x62a08a)]) : void 0x0, _0x25b6be = _0x110b2b?.[_0x356e0f(_0x3dd138._0x2286a6)] === 'targeted', _0xbdc84d = _0x2ddf52[_0x356e0f(0x151)](_0x41be7a);
|
|
1038
|
+
if (_0xbdc84d) {
|
|
1039
|
+
const _0x3b5e7d = foldWorkerAgentMessageContent({
|
|
1040
|
+
'agentId': _0x2473a7['agentId'],
|
|
1041
|
+
'content': _0xbdc84d[_0x356e0f(0x107)],
|
|
1042
|
+
'directory': _0x5b0472,
|
|
1043
|
+
'eventPayload': _0x110b2b,
|
|
1044
|
+
'senderType': _0xbdc84d[_0x356e0f(0x217)],
|
|
1045
|
+
'workerThreadTarget': _0x5bfc07
|
|
1046
|
+
});
|
|
1047
|
+
_0x9e537c[_0x356e0f(_0x3dd138._0x1017dc)]({
|
|
1048
|
+
'attachments': _0xbdc84d[_0x356e0f(_0x3dd138._0x2401e0)],
|
|
1049
|
+
'content': _0x3b5e7d,
|
|
1050
|
+
'createdAt': _0xbdc84d[_0x356e0f(_0x3dd138._0x216228)],
|
|
1051
|
+
..._0xbdc84d['kind'] ? { 'kind': _0xbdc84d[_0x356e0f(_0x3dd138._0xa70a3b)] } : {},
|
|
1052
|
+
'messageId': _0xbdc84d['messageId'],
|
|
1053
|
+
'senderName': _0xbdc84d[_0x356e0f(0x224)],
|
|
1054
|
+
'senderType': _0xbdc84d[_0x356e0f(_0x3dd138._0x258ccd)],
|
|
1055
|
+
'target': _0x2a4caa,
|
|
1056
|
+
..._0x25b6be ? { 'targetedTask': !![] } : {}
|
|
992
1057
|
});
|
|
993
1058
|
continue;
|
|
994
1059
|
}
|
|
995
|
-
if (
|
|
996
|
-
const
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1060
|
+
if (_0x233fa2) {
|
|
1061
|
+
const _0x2768a4 = typeof _0x110b2b?.[_0x356e0f(0x1d5)] === 'string' ? _0x110b2b['senderParticipantId'] : '', _0x2a4174 = typeof _0x110b2b?.[_0x356e0f(_0x3dd138._0x38581b)] === _0x356e0f(0x257) ? _0x110b2b[_0x356e0f(0x1ad)] : '', _0x32695f = typeof _0x110b2b?.[_0x356e0f(_0x3dd138._0x292e7b)] === 'string' && _0x110b2b[_0x356e0f(_0x3dd138._0x45bebc)] !== 'chat' ? _0x110b2b[_0x356e0f(0x205)] : void 0x0;
|
|
1062
|
+
if (_0x2768a4 && _0x2a4174) {
|
|
1063
|
+
const _0xe288e0 = _0x2f464d(_0x2768a4, _0x5b0472), _0x3a5c1e = foldWorkerAgentMessageContent({
|
|
1064
|
+
'agentId': _0x2473a7[_0x356e0f(_0x3dd138._0x1e42f4)],
|
|
1065
|
+
'content': _0x2a4174,
|
|
1066
|
+
'directory': _0x5b0472,
|
|
1067
|
+
'eventPayload': _0x110b2b,
|
|
1068
|
+
'senderType': _0xe288e0,
|
|
1069
|
+
'workerThreadTarget': _0x5bfc07
|
|
1070
|
+
});
|
|
1071
|
+
_0x9e537c[_0x356e0f(0x16e)]({
|
|
1072
|
+
'attachments': [],
|
|
1073
|
+
'content': _0x3a5c1e,
|
|
1074
|
+
'createdAt': new Date()[_0x356e0f(0x157)](),
|
|
1075
|
+
..._0x32695f ? { 'kind': _0x32695f } : {},
|
|
1076
|
+
'messageId': _0x41be7a,
|
|
1077
|
+
'senderName': _0x5438ca(_0x2768a4, _0x5b0472),
|
|
1078
|
+
'senderType': _0xe288e0,
|
|
1079
|
+
'target': _0x2a4caa,
|
|
1080
|
+
..._0x25b6be ? { 'targetedTask': !![] } : {}
|
|
1081
|
+
});
|
|
1082
|
+
}
|
|
1008
1083
|
}
|
|
1009
1084
|
}
|
|
1010
1085
|
}
|
|
1011
|
-
if (
|
|
1012
|
-
if (
|
|
1013
|
-
await
|
|
1086
|
+
if (_0x2ea2b4 > 0x0) {
|
|
1087
|
+
if (_0x358623)
|
|
1088
|
+
await _0x30c7bb(_0x2ea2b4);
|
|
1014
1089
|
else
|
|
1015
|
-
|
|
1090
|
+
_0x166139 && await _0x1f5060(_0x2ea2b4);
|
|
1016
1091
|
}
|
|
1017
|
-
return
|
|
1092
|
+
return _0x2ea2b4 > _0x18422f && (_0x18422f = _0x2ea2b4), { 'messages': _0x9e537c };
|
|
1018
1093
|
}
|
|
1019
1094
|
};
|
|
1020
1095
|
}
|
|
1021
|
-
function toLocalTime(
|
|
1022
|
-
const
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
return _0x849b73;
|
|
1028
|
-
const _0x2273bc = _0x55582c => String(_0x55582c)[_0x3e02fa(0x20b)](0x2, '0');
|
|
1029
|
-
return _0x26ca76['getFullYear']() + '-' + _0x2273bc(_0x26ca76[_0x3e02fa(0x21f)]() + 0x1) + '-' + _0x2273bc(_0x26ca76[_0x3e02fa(_0x4c6bbd._0x24aad)]()) + '\x20' + _0x2273bc(_0x26ca76['getHours']()) + ':' + _0x2273bc(_0x26ca76[_0x3e02fa(_0x4c6bbd._0x2d79b2)]()) + ':' + _0x2273bc(_0x26ca76['getSeconds']());
|
|
1096
|
+
function toLocalTime(_0x6ddb7d) {
|
|
1097
|
+
const _0x1c6d84 = { _0x252a9c: 0x208 }, _0x448413 = _0x42226e, _0x10c331 = new Date(_0x6ddb7d);
|
|
1098
|
+
if (Number[_0x448413(0x1fe)](_0x10c331['getTime']()))
|
|
1099
|
+
return _0x6ddb7d;
|
|
1100
|
+
const _0x539f88 = _0x1fd80d => String(_0x1fd80d)['padStart'](0x2, '0');
|
|
1101
|
+
return _0x10c331[_0x448413(0x1c4)]() + '-' + _0x539f88(_0x10c331[_0x448413(0x105)]() + 0x1) + '-' + _0x539f88(_0x10c331['getDate']()) + '\x20' + _0x539f88(_0x10c331[_0x448413(_0x1c6d84._0x252a9c)]()) + ':' + _0x539f88(_0x10c331[_0x448413(0x181)]()) + ':' + _0x539f88(_0x10c331[_0x448413(0x161)]());
|
|
1030
1102
|
}
|
|
1031
|
-
function formatAttachmentSuffix(
|
|
1032
|
-
const
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
},
|
|
1036
|
-
if (!
|
|
1103
|
+
function formatAttachmentSuffix(_0x5774f4) {
|
|
1104
|
+
const _0x3b8b94 = {
|
|
1105
|
+
_0x451147: 0x24b,
|
|
1106
|
+
_0x4c858f: 0x243
|
|
1107
|
+
}, _0x4285d5 = _0x42226e;
|
|
1108
|
+
if (!_0x5774f4 || _0x5774f4['length'] === 0x0)
|
|
1037
1109
|
return '';
|
|
1038
|
-
return '\x20[' +
|
|
1110
|
+
return '\x20[' + _0x5774f4['length'] + '\x20attachment' + (_0x5774f4['length'] > 0x1 ? 's' : '') + ':\x20' + _0x5774f4[_0x4285d5(_0x3b8b94._0x451147)](_0x5d9de8 => _0x5d9de8[_0x4285d5(0xf4)] + _0x4285d5(0xf5) + _0x5d9de8['id'] + ')')['join'](',\x20') + _0x4285d5(_0x3b8b94._0x4c858f);
|
|
1039
1111
|
}
|
|
1040
|
-
function formatCheckMessages(
|
|
1041
|
-
const
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1112
|
+
function formatCheckMessages(_0x3be840) {
|
|
1113
|
+
const _0x38e1a5 = {
|
|
1114
|
+
_0x243b2f: 0x1d9,
|
|
1115
|
+
_0x2d452e: 0x27f
|
|
1116
|
+
}, _0x5eff2a = {
|
|
1117
|
+
_0x6c4f4d: 0x217,
|
|
1118
|
+
_0x416b12: 0x1cc,
|
|
1119
|
+
_0x10bdb9: 0x205,
|
|
1120
|
+
_0x2f2758: 0x275,
|
|
1121
|
+
_0x41df18: 0x11a,
|
|
1122
|
+
_0x21a4af: 0x175,
|
|
1123
|
+
_0x15ad7f: 0x168,
|
|
1124
|
+
_0x4de6c1: 0x139
|
|
1125
|
+
}, _0x3c6d7a = _0x42226e;
|
|
1126
|
+
if (_0x3be840[_0x3c6d7a(_0x38e1a5._0x243b2f)] === 0x0)
|
|
1127
|
+
return _0x3c6d7a(0x189);
|
|
1128
|
+
return _0x3be840[_0x3c6d7a(0x24b)](_0x2e4c14 => {
|
|
1129
|
+
const _0xb039bd = _0x3c6d7a, _0x7c9dbf = _0x2e4c14[_0xb039bd(_0x5eff2a._0x6c4f4d)] === _0xb039bd(0x173) ? _0xb039bd(_0x5eff2a._0x416b12) : '', _0x328ef2 = _0x2e4c14[_0xb039bd(0x205)] && _0x2e4c14[_0xb039bd(_0x5eff2a._0x10bdb9)] !== _0xb039bd(0x108) ? _0xb039bd(_0x5eff2a._0x2f2758) + _0x2e4c14[_0xb039bd(0x205)] : '';
|
|
1130
|
+
return _0xb039bd(0x1bb) + _0x2e4c14[_0xb039bd(0x1dd)] + _0xb039bd(_0x5eff2a._0x41df18) + _0x2e4c14[_0xb039bd(_0x5eff2a._0x21a4af)][_0xb039bd(0x244)](0x0, 0x8) + '\x20time=' + toLocalTime(_0x2e4c14[_0xb039bd(_0x5eff2a._0x15ad7f)]) + _0x7c9dbf + _0x328ef2 + _0xb039bd(_0x5eff2a._0x4de6c1) + _0x2e4c14[_0xb039bd(0x224)] + ':\x20' + _0x2e4c14['content'] + formatAttachmentSuffix(_0x2e4c14[_0xb039bd(0x15b)]);
|
|
1131
|
+
})[_0x3c6d7a(_0x38e1a5._0x2d452e)]('\x0a');
|
|
1054
1132
|
}
|
|
1055
|
-
function formatHistory(
|
|
1056
|
-
const
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1133
|
+
function formatHistory(_0xe39a0a) {
|
|
1134
|
+
const _0x445747 = {
|
|
1135
|
+
_0x430a60: 0x1de,
|
|
1136
|
+
_0x4fda31: 0x196,
|
|
1137
|
+
_0x2fe34c: 0x1d3,
|
|
1138
|
+
_0x50a269: 0x24b,
|
|
1139
|
+
_0x2a9eb8: 0x27f,
|
|
1140
|
+
_0x44ebf2: 0x268,
|
|
1141
|
+
_0x1a36f4: 0x26e,
|
|
1142
|
+
_0x59f3b6: 0x1d9,
|
|
1143
|
+
_0xc1cba9: 0x1e3,
|
|
1144
|
+
_0x45b04e: 0x1d9
|
|
1145
|
+
}, _0x19330f = {
|
|
1146
|
+
_0x3d7126: 0x173,
|
|
1147
|
+
_0x2295f8: 0x205,
|
|
1148
|
+
_0x458e5a: 0x205,
|
|
1149
|
+
_0x37cb1a: 0x108,
|
|
1150
|
+
_0x5d4961: 0x275,
|
|
1151
|
+
_0x1ba7c6: 0x1e6,
|
|
1152
|
+
_0x421c8e: 0x1be,
|
|
1153
|
+
_0x90aaee: 0x168,
|
|
1154
|
+
_0x350267: 0x139
|
|
1155
|
+
}, _0x4c2db5 = _0x42226e;
|
|
1156
|
+
if (_0xe39a0a[_0x4c2db5(_0x445747._0x430a60)][_0x4c2db5(0x1d9)] === 0x0)
|
|
1157
|
+
return '##\x20Message\x20History\x20for\x20' + _0xe39a0a[_0x4c2db5(_0x445747._0x4fda31)] + _0x4c2db5(_0x445747._0x2fe34c);
|
|
1158
|
+
const _0x225f44 = _0xe39a0a[_0x4c2db5(_0x445747._0x430a60)][_0x4c2db5(_0x445747._0x50a269)](_0x300bb6 => {
|
|
1159
|
+
const _0x588d8c = _0x4c2db5, _0x478e5b = _0x300bb6[_0x588d8c(0x217)] === _0x588d8c(_0x19330f._0x3d7126) ? _0x588d8c(0x1cc) : '', _0x241570 = _0x300bb6[_0x588d8c(_0x19330f._0x2295f8)] && _0x300bb6[_0x588d8c(_0x19330f._0x458e5a)] !== _0x588d8c(_0x19330f._0x37cb1a) ? _0x588d8c(_0x19330f._0x5d4961) + _0x300bb6['kind'] : '';
|
|
1160
|
+
return _0x588d8c(_0x19330f._0x1ba7c6) + _0x300bb6[_0x588d8c(_0x19330f._0x421c8e)] + _0x588d8c(0x11a) + _0x300bb6[_0x588d8c(0x175)] + _0x588d8c(0x1ed) + toLocalTime(_0x300bb6[_0x588d8c(_0x19330f._0x90aaee)]) + _0x478e5b + _0x241570 + _0x588d8c(_0x19330f._0x350267) + _0x300bb6[_0x588d8c(0x224)] + ':\x20' + _0x300bb6['content'] + formatAttachmentSuffix(_0x300bb6[_0x588d8c(0x15b)]);
|
|
1161
|
+
})[_0x4c2db5(_0x445747._0x2a9eb8)]('\x0a'), _0x1bf925 = _0xe39a0a['hasMore'] && _0xe39a0a[_0x4c2db5(_0x445747._0x44ebf2)] ? _0x4c2db5(_0x445747._0x1a36f4) + _0xe39a0a[_0x4c2db5(0x1de)][_0x4c2db5(_0x445747._0x59f3b6)] + _0x4c2db5(0x1bc) + _0xe39a0a['nextCursor'] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1162
|
+
return _0x4c2db5(_0x445747._0xc1cba9) + _0xe39a0a['channel'] + '\x20(' + _0xe39a0a[_0x4c2db5(0x1de)][_0x4c2db5(_0x445747._0x45b04e)] + '\x20messages)\x0a\x0a' + _0x225f44 + _0x1bf925;
|
|
1079
1163
|
}
|
|
1080
|
-
function formatServerDirectory(
|
|
1081
|
-
const
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
_0x18f525: 0x253,
|
|
1090
|
-
_0x41b12f: 0x33d,
|
|
1091
|
-
_0x483eda: 0x295,
|
|
1092
|
-
_0x26d09e: 0x339,
|
|
1093
|
-
_0xfce3ba: 0x23b
|
|
1094
|
-
}, _0x49888a = _0x5e089b, _0x4a1199 = _0x2c7d30['channels'][_0x49888a(_0x1cec6f._0x44659e)] > 0x0 ? _0x2c7d30[_0x49888a(0x317)]['map'](_0xe9fd31 => _0xe9fd31[_0x49888a(0x26d)] ? '-\x20#' + _0xe9fd31[_0x49888a(0x32a)] + '\x20—\x20' + _0xe9fd31[_0x49888a(0x26d)] : _0x49888a(0x335) + _0xe9fd31['name'])[_0x49888a(0x2e3)]('\x0a') : _0x49888a(_0x1cec6f._0x4e13a9), _0x375ec1 = _0x2c7d30['agents'][_0x49888a(_0x1cec6f._0x1fc249)] > 0x0 ? _0x2c7d30[_0x49888a(_0x1cec6f._0x5ee3d3)][_0x49888a(_0x1cec6f._0x3afdc0)](_0x1d888c => _0x49888a(0x227) + _0x1d888c['name'])['join']('\x0a') : _0x49888a(_0x1cec6f._0x1e7a19), _0x362793 = _0x2c7d30[_0x49888a(_0x1cec6f._0x44dcea)][_0x49888a(_0x1cec6f._0x18f525)] > 0x0 ? _0x2c7d30[_0x49888a(_0x1cec6f._0x41b12f)]['map'](_0x3abb07 => _0x49888a(0x227) + _0x3abb07[_0x49888a(0x32a)])[_0x49888a(0x2e3)]('\x0a') : _0x49888a(0x2fc);
|
|
1164
|
+
function formatServerDirectory(_0x4478f4) {
|
|
1165
|
+
const _0x25922b = {
|
|
1166
|
+
_0x4c2f9c: 0x1d9,
|
|
1167
|
+
_0x7084b7: 0x24b,
|
|
1168
|
+
_0x301eed: 0x140,
|
|
1169
|
+
_0x12a789: 0x1d0,
|
|
1170
|
+
_0x2f504f: 0x1d0,
|
|
1171
|
+
_0x3beb0a: 0x159
|
|
1172
|
+
}, _0x4578f9 = _0x42226e, _0x13d309 = _0x4478f4['channels'][_0x4578f9(_0x25922b._0x4c2f9c)] > 0x0 ? _0x4478f4['channels'][_0x4578f9(_0x25922b._0x7084b7)](_0x5131b6 => _0x5131b6[_0x4578f9(0x16b)] ? _0x4578f9(0x1ee) + _0x5131b6[_0x4578f9(0x252)] + _0x4578f9(0x21d) + _0x5131b6[_0x4578f9(0x16b)] : _0x4578f9(0x1ee) + _0x5131b6[_0x4578f9(0x252)])[_0x4578f9(0x27f)]('\x0a') : _0x4578f9(_0x25922b._0x301eed), _0x2e5654 = _0x4478f4[_0x4578f9(_0x25922b._0x12a789)]['length'] > 0x0 ? _0x4478f4[_0x4578f9(_0x25922b._0x2f504f)][_0x4578f9(0x24b)](_0x53754a => _0x4578f9(0x281) + _0x53754a['name'])[_0x4578f9(0x27f)]('\x0a') : '(none)', _0x24e2ea = _0x4478f4['humans'][_0x4578f9(0x1d9)] > 0x0 ? _0x4478f4[_0x4578f9(0x282)]['map'](_0x1ffb3d => _0x4578f9(0x281) + _0x1ffb3d[_0x4578f9(0x252)])[_0x4578f9(0x27f)]('\x0a') : _0x4578f9(0x140);
|
|
1095
1173
|
return [
|
|
1096
|
-
|
|
1174
|
+
_0x4578f9(0x11e) + _0x4478f4[_0x4578f9(0x1ac)],
|
|
1097
1175
|
'',
|
|
1098
|
-
|
|
1099
|
-
|
|
1176
|
+
'###\x20Channels',
|
|
1177
|
+
_0x13d309,
|
|
1100
1178
|
'',
|
|
1101
|
-
|
|
1102
|
-
|
|
1179
|
+
_0x4578f9(_0x25922b._0x3beb0a),
|
|
1180
|
+
_0x2e5654,
|
|
1103
1181
|
'',
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
][
|
|
1182
|
+
_0x4578f9(0x1c8),
|
|
1183
|
+
_0x24e2ea
|
|
1184
|
+
][_0x4578f9(0x27f)]('\x0a');
|
|
1107
1185
|
}
|
|
1108
|
-
function formatUploadResult(
|
|
1109
|
-
const
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1186
|
+
function formatUploadResult(_0x2afe3d) {
|
|
1187
|
+
const _0x48124c = {
|
|
1188
|
+
_0xf695f4: 0x1f5,
|
|
1189
|
+
_0x79e7ad: 0xf4,
|
|
1190
|
+
_0xa31bce: 0x19d,
|
|
1191
|
+
_0x1ffe06: 0x142
|
|
1192
|
+
}, _0x471eb1 = _0x42226e;
|
|
1193
|
+
return _0x471eb1(_0x48124c._0xf695f4) + _0x2afe3d[_0x471eb1(_0x48124c._0x79e7ad)] + '\x20(' + (_0x2afe3d[_0x471eb1(0x1d8)] / 0x400)[_0x471eb1(_0x48124c._0xa31bce)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x2afe3d[_0x471eb1(0x21b)] + _0x471eb1(_0x48124c._0x1ffe06);
|
|
1115
1194
|
}
|
|
1116
|
-
function formatViewFileResult(
|
|
1117
|
-
|
|
1118
|
-
return _0x50d2a3 ? 'File\x20already\x20cached\x20at:\x20' + _0x3cff96 : _0x48c6a8(0x324) + _0x3cff96;
|
|
1195
|
+
function formatViewFileResult(_0x218220, _0x40758a) {
|
|
1196
|
+
return _0x40758a ? 'File\x20already\x20cached\x20at:\x20' + _0x218220 : 'Downloaded\x20to:\x20' + _0x218220;
|
|
1119
1197
|
}
|
|
1120
|
-
function formatTaskList(
|
|
1121
|
-
const
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
return
|
|
1136
|
-
|
|
1137
|
-
const _0x5cfb33 = _0x482336, _0x20ffd0 = _0x58cced[_0x5cfb33(_0x42701e._0x399cf9)] == null ? _0x5cfb33(_0x42701e._0x1aab39) : _0x58cced[_0x5cfb33(0x274)] != null ? '#' + _0x58cced['taskNumber'] + '.' + _0x58cced[_0x5cfb33(0x274)] : '#' + _0x58cced[_0x5cfb33(_0x42701e._0x174541)], _0x57e60a = _0x58cced[_0x5cfb33(_0x42701e._0x48372b)] ? _0x5cfb33(_0x42701e._0x574d40) + _0x58cced[_0x5cfb33(0x20a)] : '', _0x5e1c89 = _0x200f7a && _0x58cced[_0x5cfb33(_0x42701e._0x174541)] != null && !_0x58cced[_0x5cfb33(0x274)] && _0x200f7a['has'](_0x58cced[_0x5cfb33(0x2b0)]) ? _0x5cfb33(0x1f3) : '', _0x6dfbc4 = _0x58cced[_0x5cfb33(0x36a)] != null && _0x58cced[_0x5cfb33(0x36a)] > 0x0 ? '\x20(' + (_0x58cced[_0x5cfb33(_0x42701e._0x424725)] ?? 0x0) + '/' + _0x58cced[_0x5cfb33(_0x42701e._0x406d48)] + _0x5cfb33(_0x42701e._0x673e6a) : '', _0x4affa9 = _0x58cced['assigneeName'] ? _0x5cfb33(0x2ad) + _0x58cced['assigneeName'] : '';
|
|
1138
|
-
return _0x20ffd0 + '\x20[' + _0x58cced['status'] + ']\x20' + _0x58cced[_0x5cfb33(0x2ed)] + _0x6dfbc4 + _0x4affa9 + _0x57e60a + _0x5e1c89;
|
|
1139
|
-
})[_0x482336(0x2e3)]('\x0a');
|
|
1198
|
+
function formatTaskList(_0x1ec882, _0x35b244) {
|
|
1199
|
+
const _0x15dc48 = { _0x266050: 0x24b }, _0xd52aae = {
|
|
1200
|
+
_0x59d612: 0x160,
|
|
1201
|
+
_0x573da2: 0x141,
|
|
1202
|
+
_0x5ce78f: 0x124,
|
|
1203
|
+
_0xf13fab: 0x171,
|
|
1204
|
+
_0x22b17c: 0x1fd,
|
|
1205
|
+
_0x261326: 0x16f,
|
|
1206
|
+
_0x33f760: 0x180,
|
|
1207
|
+
_0x4da42b: 0x23c
|
|
1208
|
+
}, _0x2d10f2 = _0x42226e;
|
|
1209
|
+
if (_0x1ec882['length'] === 0x0)
|
|
1210
|
+
return _0x2d10f2(0x26c);
|
|
1211
|
+
return _0x1ec882[_0x2d10f2(_0x15dc48._0x266050)](_0x47dff9 => {
|
|
1212
|
+
const _0x26f88b = _0x2d10f2, _0x230ffb = _0x47dff9[_0x26f88b(_0xd52aae._0x59d612)] == null ? _0x26f88b(_0xd52aae._0x573da2) : _0x47dff9[_0x26f88b(0x21c)] != null ? '#' + _0x47dff9[_0x26f88b(0x160)] + '.' + _0x47dff9['subtaskNumber'] : '#' + _0x47dff9[_0x26f88b(0x160)], _0x585085 = _0x47dff9[_0x26f88b(0x175)] ? _0x26f88b(_0xd52aae._0x5ce78f) + _0x47dff9[_0x26f88b(0x175)] : '', _0xf7cd36 = _0x35b244 && _0x47dff9[_0x26f88b(0x160)] != null && !_0x47dff9['subtaskNumber'] && _0x35b244[_0x26f88b(_0xd52aae._0xf13fab)](_0x47dff9[_0x26f88b(0x160)]) ? _0x26f88b(_0xd52aae._0x22b17c) : '', _0x337b15 = _0x47dff9[_0x26f88b(0x16f)] != null && _0x47dff9[_0x26f88b(0x16f)] > 0x0 ? '\x20(' + (_0x47dff9['childrenDone'] ?? 0x0) + '/' + _0x47dff9[_0x26f88b(_0xd52aae._0x261326)] + '\x20done)' : '', _0x47a4e7 = _0x47dff9[_0x26f88b(0x114)] ? _0x26f88b(_0xd52aae._0x33f760) + _0x47dff9['assigneeName'] : '';
|
|
1213
|
+
return _0x230ffb + '\x20[' + _0x47dff9['status'] + ']\x20' + _0x47dff9[_0x26f88b(_0xd52aae._0x4da42b)] + _0x337b15 + _0x47a4e7 + _0x585085 + _0xf7cd36;
|
|
1214
|
+
})[_0x2d10f2(0x27f)]('\x0a');
|
|
1140
1215
|
}
|
|
1141
|
-
function formatCreatedTasks(
|
|
1142
|
-
const
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
})['join']('\x0a');
|
|
1216
|
+
function formatCreatedTasks(_0x33dd50) {
|
|
1217
|
+
const _0x37e9ec = { _0x19f87f: 0x27f }, _0x4cea62 = {
|
|
1218
|
+
_0x34acb8: 0x160,
|
|
1219
|
+
_0x80bf44: 0x141,
|
|
1220
|
+
_0x35566e: 0x21c
|
|
1221
|
+
}, _0x121bf1 = _0x42226e;
|
|
1222
|
+
if (_0x33dd50[_0x121bf1(0x1d9)] === 0x0)
|
|
1223
|
+
return _0x121bf1(0x14f);
|
|
1224
|
+
return _0x33dd50['map'](_0x353972 => {
|
|
1225
|
+
const _0x39f430 = _0x121bf1, _0x2660d0 = _0x353972[_0x39f430(_0x4cea62._0x34acb8)] == null ? _0x39f430(_0x4cea62._0x80bf44) : _0x353972['subtaskNumber'] != null ? '#' + _0x353972[_0x39f430(_0x4cea62._0x34acb8)] + '.' + _0x353972[_0x39f430(_0x4cea62._0x35566e)] : '#' + _0x353972['taskNumber'], _0x3b9396 = _0x353972[_0x39f430(0x175)] ? '\x20message=' + _0x353972['messageId'] : '';
|
|
1226
|
+
return _0x2660d0 + '\x20' + _0x353972['title'] + _0x3b9396;
|
|
1227
|
+
})[_0x121bf1(_0x37e9ec._0x19f87f)]('\x0a');
|
|
1154
1228
|
}
|
|
1155
|
-
function formatClaimTaskLabel(
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
return _0x183b6b != null ? '#' + _0x4d4ba3 + '.' + _0x183b6b : '#' + _0x4d4ba3;
|
|
1229
|
+
function formatClaimTaskLabel(_0x354c5f, _0x153c3c) {
|
|
1230
|
+
if (_0x354c5f == null)
|
|
1231
|
+
return '(legacy)';
|
|
1232
|
+
return _0x153c3c != null ? '#' + _0x354c5f + '.' + _0x153c3c : '#' + _0x354c5f;
|
|
1160
1233
|
}
|
|
1161
|
-
function formatClaimTaskResults(
|
|
1162
|
-
const
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1234
|
+
function formatClaimTaskResults(_0x1caa8d) {
|
|
1235
|
+
const _0x5a0d35 = {
|
|
1236
|
+
_0x5b154c: 0x1d9,
|
|
1237
|
+
_0x13ba56: 0x24b
|
|
1238
|
+
}, _0x4e573a = {
|
|
1239
|
+
_0x258257: 0x21c,
|
|
1240
|
+
_0x1f77b3: 0x137,
|
|
1241
|
+
_0x153659: 0x215,
|
|
1242
|
+
_0xbcc3f1: 0x1b9,
|
|
1243
|
+
_0x20c4da: 0x10f,
|
|
1244
|
+
_0x90c255: 0x18e,
|
|
1245
|
+
_0x590a90: 0x195,
|
|
1246
|
+
_0x4d86cc: 0x1b4,
|
|
1247
|
+
_0x908c28: 0x1f8,
|
|
1248
|
+
_0x13518e: 0x1b4,
|
|
1249
|
+
_0x6d02dc: 0x160,
|
|
1250
|
+
_0x2419c3: 0x175,
|
|
1251
|
+
_0x1d8c0f: 0x1a7,
|
|
1252
|
+
_0x45f93e: 0x20e,
|
|
1253
|
+
_0x7f8e38: 0x193
|
|
1254
|
+
}, _0x1e67fb = _0x42226e;
|
|
1255
|
+
if (_0x1caa8d[_0x1e67fb(_0x5a0d35._0x5b154c)] === 0x0)
|
|
1256
|
+
return _0x1e67fb(0x16a);
|
|
1257
|
+
return _0x1caa8d[_0x1e67fb(_0x5a0d35._0x13ba56)](_0x4f5037 => {
|
|
1258
|
+
const _0x295c82 = _0x1e67fb;
|
|
1259
|
+
if (_0x4f5037[_0x295c82(0x12a)]) {
|
|
1260
|
+
const _0x4385a8 = formatClaimTaskLabel(_0x4f5037[_0x295c82(0x160)], _0x4f5037[_0x295c82(_0x4e573a._0x258257)]), _0x5553fb = _0x4f5037[_0x295c82(0x175)] ? _0x295c82(0x124) + _0x4f5037['messageId'] : '';
|
|
1261
|
+
if (_0x4f5037[_0x295c82(_0x4e573a._0x1f77b3)]) {
|
|
1262
|
+
const _0x46bcc8 = [
|
|
1263
|
+
_0x295c82(_0x4e573a._0x153659),
|
|
1264
|
+
_0x4f5037[_0x295c82(_0x4e573a._0xbcc3f1)] ? _0x295c82(0x10d) : null,
|
|
1265
|
+
_0x4f5037[_0x295c82(_0x4e573a._0x20c4da)] ? _0x295c82(_0x4e573a._0x90c255) + _0x4f5037[_0x295c82(0x10f)] : null,
|
|
1266
|
+
_0x4f5037['threadTarget'] ? 'threadTarget=' + _0x4f5037[_0x295c82(_0x4e573a._0x590a90)] : null,
|
|
1267
|
+
_0x4f5037[_0x295c82(0x26d)] ? 'workerDisposition=' + _0x4f5037[_0x295c82(0x26d)] : null
|
|
1268
|
+
][_0x295c82(0x230)](Boolean)['join']('\x20');
|
|
1269
|
+
return _0x4385a8 + _0x295c82(_0x4e573a._0x4d86cc) + _0x5553fb + '\x20' + _0x46bcc8 + _0x295c82(0x27b);
|
|
1196
1270
|
}
|
|
1197
|
-
if (
|
|
1198
|
-
return
|
|
1199
|
-
const
|
|
1200
|
-
return
|
|
1271
|
+
if (_0x4f5037[_0x295c82(_0x4e573a._0x20c4da)] === _0x295c82(0x14e))
|
|
1272
|
+
return _0x4385a8 + _0x295c82(0x1b4) + _0x5553fb + _0x295c82(0x19f);
|
|
1273
|
+
const _0x265db7 = _0x4f5037[_0x295c82(0x176)] ? _0x295c82(_0x4e573a._0x908c28) + _0x4f5037[_0x295c82(0x176)] : '';
|
|
1274
|
+
return _0x4385a8 + _0x295c82(_0x4e573a._0x13518e) + _0x5553fb + _0x265db7;
|
|
1201
1275
|
}
|
|
1202
|
-
const
|
|
1203
|
-
return
|
|
1204
|
-
})[
|
|
1276
|
+
const _0x23a7a3 = _0x4f5037[_0x295c82(_0x4e573a._0x6d02dc)] == null ? _0x4f5037[_0x295c82(_0x4e573a._0x2419c3)] ?? _0x295c82(_0x4e573a._0x1d8c0f) : formatClaimTaskLabel(_0x4f5037[_0x295c82(0x160)], _0x4f5037[_0x295c82(0x21c)]);
|
|
1277
|
+
return _0x23a7a3 + _0x295c82(_0x4e573a._0x45f93e) + (_0x4f5037[_0x295c82(0x186)] ?? _0x295c82(_0x4e573a._0x7f8e38));
|
|
1278
|
+
})['join']('\x0a');
|
|
1279
|
+
}
|
|
1280
|
+
function formatUnclaimTaskResult(_0x497201) {
|
|
1281
|
+
const _0x520952 = {
|
|
1282
|
+
_0x588300: 0x160,
|
|
1283
|
+
_0x28dd23: 0x141,
|
|
1284
|
+
_0x225b6c: 0x21c,
|
|
1285
|
+
_0x174f31: 0x1a5
|
|
1286
|
+
}, _0x3ecdc6 = _0x42226e, _0x326e66 = _0x497201[_0x3ecdc6(_0x520952._0x588300)] == null ? _0x3ecdc6(_0x520952._0x28dd23) : _0x497201[_0x3ecdc6(0x21c)] != null ? '#' + _0x497201[_0x3ecdc6(0x160)] + '.' + _0x497201[_0x3ecdc6(_0x520952._0x225b6c)] : '#' + _0x497201[_0x3ecdc6(_0x520952._0x588300)];
|
|
1287
|
+
return _0x326e66 + _0x3ecdc6(0x1db) + _0x497201[_0x3ecdc6(_0x520952._0x174f31)];
|
|
1205
1288
|
}
|
|
1206
|
-
function
|
|
1207
|
-
const
|
|
1208
|
-
|
|
1289
|
+
function formatUpdateTaskStatusResult(_0x3fa50c) {
|
|
1290
|
+
const _0x1fa7e3 = {
|
|
1291
|
+
_0x3f5d00: 0x160,
|
|
1292
|
+
_0x298fe4: 0x141,
|
|
1293
|
+
_0xb74c9c: 0x21c,
|
|
1294
|
+
_0x45199b: 0x160,
|
|
1295
|
+
_0x30ae97: 0x1db,
|
|
1296
|
+
_0x7bdf29: 0x21a,
|
|
1297
|
+
_0x3ad56e: 0x122
|
|
1298
|
+
}, _0x460e7f = _0x42226e, _0x1c7da3 = _0x3fa50c[_0x460e7f(_0x1fa7e3._0x3f5d00)] == null ? _0x460e7f(_0x1fa7e3._0x298fe4) : _0x3fa50c[_0x460e7f(_0x1fa7e3._0xb74c9c)] != null ? '#' + _0x3fa50c[_0x460e7f(0x160)] + '.' + _0x3fa50c['subtaskNumber'] : '#' + _0x3fa50c[_0x460e7f(_0x1fa7e3._0x45199b)], _0x3ef4a7 = _0x1c7da3 + _0x460e7f(_0x1fa7e3._0x30ae97) + _0x3fa50c[_0x460e7f(0x1a5)];
|
|
1299
|
+
if (_0x3fa50c[_0x460e7f(0x1a5)] !== _0x460e7f(_0x1fa7e3._0x7bdf29))
|
|
1300
|
+
return _0x3ef4a7;
|
|
1301
|
+
return _0x3ef4a7 + _0x460e7f(_0x1fa7e3._0x3ad56e);
|
|
1209
1302
|
}
|
|
1210
|
-
function
|
|
1211
|
-
const
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
}, _0x574773 = _0x5e089b, _0x487c80 = _0x17e392[_0x574773(_0x4f08ff._0x171e77)] == null ? _0x574773(_0x4f08ff._0x3bebb6) : _0x17e392[_0x574773(0x274)] != null ? '#' + _0x17e392[_0x574773(_0x4f08ff._0x53947a)] + '.' + _0x17e392['subtaskNumber'] : '#' + _0x17e392[_0x574773(0x2b0)], _0x80e8c7 = _0x487c80 + _0x574773(0x332) + _0x17e392[_0x574773(0x34a)];
|
|
1217
|
-
if (_0x17e392[_0x574773(0x34a)] !== _0x574773(0x34c))
|
|
1218
|
-
return _0x80e8c7;
|
|
1219
|
-
return _0x80e8c7 + _0x574773(_0x4f08ff._0x57de7a);
|
|
1303
|
+
function formatPromotionFinalizeResult(_0x2ed685) {
|
|
1304
|
+
const _0x2de098 = {
|
|
1305
|
+
_0x5a5f09: 0x18b,
|
|
1306
|
+
_0x136c15: 0xfd
|
|
1307
|
+
}, _0x4bee10 = _0x42226e, _0x2fc0a1 = _0x2ed685[_0x4bee10(0x118)][_0x4bee10(0x1d9)] > 0x0 ? _0x2ed685['taskIds'][_0x4bee10(0x27f)](',\x20') : _0x4bee10(0x140);
|
|
1308
|
+
return _0x4bee10(_0x2de098._0x5a5f09) + _0x2ed685[_0x4bee10(_0x2de098._0x136c15)] + _0x4bee10(0x199) + _0x2fc0a1;
|
|
1220
1309
|
}
|
|
1221
1310
|
function getChatBridgeToolDefinitions() {
|
|
1222
|
-
const
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1311
|
+
const _0x1d06cb = {
|
|
1312
|
+
_0x449a02: 0x169,
|
|
1313
|
+
_0x2bf659: 0x1d4,
|
|
1314
|
+
_0x3537f8: 0x1a4,
|
|
1315
|
+
_0x44848c: 0x256,
|
|
1316
|
+
_0x25af14: 0x167,
|
|
1317
|
+
_0x4cfa75: 0x101
|
|
1318
|
+
}, _0x5ae674 = _0x42226e;
|
|
1229
1319
|
return [
|
|
1230
|
-
{ 'name':
|
|
1231
|
-
{ 'name':
|
|
1232
|
-
{ 'name':
|
|
1233
|
-
{ 'name':
|
|
1234
|
-
{ 'name':
|
|
1235
|
-
{ 'name':
|
|
1236
|
-
{ 'name':
|
|
1237
|
-
{ 'name':
|
|
1238
|
-
{ 'name':
|
|
1239
|
-
{ 'name':
|
|
1240
|
-
{ 'name':
|
|
1241
|
-
{ 'name':
|
|
1242
|
-
{ 'name':
|
|
1243
|
-
{ 'name':
|
|
1244
|
-
{ 'name':
|
|
1320
|
+
{ 'name': _0x5ae674(_0x1d06cb._0x449a02) },
|
|
1321
|
+
{ 'name': 'check_messages' },
|
|
1322
|
+
{ 'name': _0x5ae674(_0x1d06cb._0x2bf659) },
|
|
1323
|
+
{ 'name': _0x5ae674(0x1af) },
|
|
1324
|
+
{ 'name': _0x5ae674(0x14b) },
|
|
1325
|
+
{ 'name': _0x5ae674(0x262) },
|
|
1326
|
+
{ 'name': _0x5ae674(_0x1d06cb._0x3537f8) },
|
|
1327
|
+
{ 'name': _0x5ae674(0x1ba) },
|
|
1328
|
+
{ 'name': _0x5ae674(0x130) },
|
|
1329
|
+
{ 'name': 'unclaim_task' },
|
|
1330
|
+
{ 'name': _0x5ae674(_0x1d06cb._0x44848c) },
|
|
1331
|
+
{ 'name': _0x5ae674(_0x1d06cb._0x25af14) },
|
|
1332
|
+
{ 'name': _0x5ae674(0x13d) },
|
|
1333
|
+
{ 'name': _0x5ae674(0x1d1) },
|
|
1334
|
+
{ 'name': _0x5ae674(0x15a) },
|
|
1335
|
+
{ 'name': _0x5ae674(_0x1d06cb._0x4cfa75) }
|
|
1245
1336
|
];
|
|
1246
1337
|
}
|
|
1247
|
-
function createChatBridgeHandlers(
|
|
1248
|
-
const
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
},
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1338
|
+
function createChatBridgeHandlers(_0x41541e) {
|
|
1339
|
+
const _0x4c6c42 = { _0x3ead2c: 0x127 }, _0x1861b4 = {
|
|
1340
|
+
_0x5075d7: 0xf3,
|
|
1341
|
+
_0x4866b9: 0x13b,
|
|
1342
|
+
_0x492f97: 0x17c,
|
|
1343
|
+
_0x119dce: 0x143,
|
|
1344
|
+
_0x1fd13e: 0xf8,
|
|
1345
|
+
_0x5eda39: 0x188,
|
|
1346
|
+
_0x66c154: 0x186,
|
|
1347
|
+
_0x5a453c: 0x1f6,
|
|
1348
|
+
_0x536ddc: 0x186
|
|
1349
|
+
}, _0x37480e = {
|
|
1350
|
+
_0x434df7: 0x1f0,
|
|
1351
|
+
_0x339cdd: 0x1ea
|
|
1352
|
+
}, _0x28479e = {
|
|
1353
|
+
_0x557738: 0x23d,
|
|
1354
|
+
_0x21409c: 0x13b,
|
|
1355
|
+
_0xdfd5fd: 0x19c,
|
|
1356
|
+
_0x236914: 0xf8,
|
|
1357
|
+
_0x3cd66c: 0x274
|
|
1358
|
+
}, _0xe00cc0 = {
|
|
1359
|
+
_0x384889: 0xf3,
|
|
1360
|
+
_0x42f5cc: 0x143,
|
|
1361
|
+
_0x313371: 0xf8,
|
|
1362
|
+
_0x137049: 0x11f,
|
|
1363
|
+
_0x49d283: 0x274,
|
|
1364
|
+
_0x47125a: 0x188
|
|
1365
|
+
}, _0x4e63eb = {
|
|
1366
|
+
_0x1b381a: 0x13b,
|
|
1367
|
+
_0x40285f: 0xf3,
|
|
1368
|
+
_0x4fc3a0: 0x13b,
|
|
1369
|
+
_0x1e3d6e: 0x188,
|
|
1370
|
+
_0x50a42e: 0x113,
|
|
1371
|
+
_0x342cf4: 0x21e
|
|
1372
|
+
}, _0x57aed1 = {
|
|
1373
|
+
_0x385b9d: 0x1c1,
|
|
1374
|
+
_0x51c97e: 0x123,
|
|
1375
|
+
_0x4a992f: 0x1ea,
|
|
1376
|
+
_0x45ee5f: 0x1c7
|
|
1377
|
+
}, _0x281de6 = {
|
|
1378
|
+
_0x42fa2c: 0x1ea,
|
|
1379
|
+
_0x40cfb4: 0x196
|
|
1380
|
+
}, _0x3c49e2 = { _0x4c5514: 0x256 }, _0x195a15 = { _0x4030b8: 0x196 }, _0x449fe6 = {
|
|
1381
|
+
_0x4bcb8f: 0x196,
|
|
1382
|
+
_0x44e0ed: 0x1d9,
|
|
1383
|
+
_0xb09dad: 0x17a,
|
|
1384
|
+
_0x451640: 0x145,
|
|
1385
|
+
_0xce54a5: 0x1d9
|
|
1386
|
+
}, _0x2fb287 = {
|
|
1387
|
+
_0xa38a56: 0x1ba,
|
|
1388
|
+
_0x4cb605: 0x1ea,
|
|
1389
|
+
_0x51bb36: 0x148,
|
|
1390
|
+
_0x457378: 0x10e
|
|
1391
|
+
}, _0x16a5b4 = {
|
|
1392
|
+
_0x15fe9f: 0x13b,
|
|
1393
|
+
_0x3cdfa7: 0x23d,
|
|
1394
|
+
_0x57cde4: 0x196,
|
|
1395
|
+
_0x3a4c88: 0x1a5,
|
|
1396
|
+
_0x22927e: 0xfa,
|
|
1397
|
+
_0x2398e8: 0x1d9,
|
|
1398
|
+
_0x3ce787: 0x1ae,
|
|
1399
|
+
_0x31a678: 0x1c0,
|
|
1400
|
+
_0x4fee02: 0x10e
|
|
1401
|
+
}, _0x5f148a = { _0x5919a0: 0x289 }, _0x2f8be6 = {
|
|
1402
|
+
_0x49bc9c: 0x28b,
|
|
1403
|
+
_0x5c4d3f: 0x1de,
|
|
1404
|
+
_0x4420d5: 0x230
|
|
1405
|
+
}, _0x375951 = {
|
|
1406
|
+
_0x13229c: 0x1ea,
|
|
1407
|
+
_0x44ea98: 0x1dd,
|
|
1408
|
+
_0xc364fd: 0x202,
|
|
1409
|
+
_0x204c45: 0x14e,
|
|
1410
|
+
_0x39aadb: 0x1ea,
|
|
1411
|
+
_0x4a0aac: 0x285,
|
|
1412
|
+
_0x218d10: 0x1cd,
|
|
1413
|
+
_0x5d1acb: 0x107,
|
|
1414
|
+
_0x19a42c: 0x202,
|
|
1415
|
+
_0x4ec786: 0x16c,
|
|
1416
|
+
_0x5e4666: 0x1dd,
|
|
1417
|
+
_0x608e42: 0x1fc,
|
|
1418
|
+
_0x213593: 0x1eb,
|
|
1419
|
+
_0x204bff: 0x157,
|
|
1420
|
+
_0x429ccd: 0x260,
|
|
1421
|
+
_0x290eba: 0x25d,
|
|
1422
|
+
_0x31759a: 0x13b,
|
|
1423
|
+
_0x388228: 0x23d,
|
|
1424
|
+
_0x44a96b: 0x1bf,
|
|
1425
|
+
_0x5bd036: 0x26b,
|
|
1426
|
+
_0x3ed33e: 0x11f,
|
|
1427
|
+
_0x2ce65a: 0x274,
|
|
1428
|
+
_0x59cf1c: 0x1e2,
|
|
1429
|
+
_0x29e9c3: 0x27f,
|
|
1430
|
+
_0x589a43: 0x1dc,
|
|
1431
|
+
_0x309581: 0x200
|
|
1432
|
+
}, _0x3aef42 = {
|
|
1433
|
+
_0x1e9277: 0x13b,
|
|
1434
|
+
_0x57326c: 0x23d,
|
|
1435
|
+
_0x30dfb9: 0x170,
|
|
1436
|
+
_0x50d2bb: 0x11f,
|
|
1437
|
+
_0x7af121: 0x1a5,
|
|
1438
|
+
_0x39cacd: 0xfa,
|
|
1439
|
+
_0x3b3b98: 0x1a2
|
|
1440
|
+
}, _0x2e553f = {
|
|
1441
|
+
_0x385d8d: 0x13b,
|
|
1442
|
+
_0x57d4d5: 0x23d,
|
|
1443
|
+
_0x1c36bf: 0x206,
|
|
1444
|
+
_0x3dd41e: 0xfa,
|
|
1445
|
+
_0x4e17c1: 0x1ae,
|
|
1446
|
+
_0x2ac2bb: 0x1a2
|
|
1447
|
+
}, _0x5a4d30 = {
|
|
1448
|
+
_0x57f01c: 0x13b,
|
|
1449
|
+
_0x2c79b9: 0x23d,
|
|
1450
|
+
_0x4a4b96: 0x1f0,
|
|
1451
|
+
_0x22ee7f: 0x205,
|
|
1452
|
+
_0x442641: 0x14e,
|
|
1453
|
+
_0x267400: 0x160,
|
|
1454
|
+
_0x33baf1: 0x141,
|
|
1455
|
+
_0x4833e9: 0x1bd,
|
|
1456
|
+
_0xe29db2: 0x228,
|
|
1457
|
+
_0xa98fc6: 0x175,
|
|
1458
|
+
_0x4686b7: 0x1ab,
|
|
1459
|
+
_0x42d96e: 0x11a,
|
|
1460
|
+
_0x3e3183: 0x175,
|
|
1461
|
+
_0x56a823: 0x157,
|
|
1462
|
+
_0x5ab6c4: 0x20c,
|
|
1463
|
+
_0x1cb119: 0x1e7,
|
|
1464
|
+
_0x1e2e71: 0x143,
|
|
1465
|
+
_0x1d3bb7: 0x19c,
|
|
1466
|
+
_0x34d81a: 0x1bf,
|
|
1467
|
+
_0x175369: 0x160,
|
|
1468
|
+
_0x455f2e: 0x274,
|
|
1469
|
+
_0x336558: 0x1e8,
|
|
1470
|
+
_0x32eb46: 0x136
|
|
1471
|
+
}, _0x390858 = { _0x204a09: 0x172 }, _0x49b506 = _0x42226e;
|
|
1472
|
+
function _0x424d90(_0x6890c3, _0x579ff0) {
|
|
1473
|
+
const _0x4c3601 = _0x3c9f;
|
|
1474
|
+
if (!_0x41541e['workerMode'])
|
|
1378
1475
|
return;
|
|
1379
|
-
if (!
|
|
1380
|
-
throw new Error(
|
|
1381
|
-
if (
|
|
1382
|
-
throw new Error(
|
|
1476
|
+
if (!_0x41541e[_0x4c3601(_0x390858._0x204a09)])
|
|
1477
|
+
throw new Error(_0x6890c3 + ':\x20worker\x20runtime\x20missing\x20workerThreadTarget;\x20cannot\x20validate\x20scope');
|
|
1478
|
+
if (_0x579ff0 !== _0x41541e[_0x4c3601(0x172)])
|
|
1479
|
+
throw new Error(_0x6890c3 + ':\x20worker\x20can\x20only\x20operate\x20inside\x20its\x20own\x20task\x20thread\x20(' + _0x41541e[_0x4c3601(_0x390858._0x204a09)] + _0x4c3601(0x14d) + _0x579ff0);
|
|
1383
1480
|
}
|
|
1384
|
-
async function
|
|
1385
|
-
const
|
|
1386
|
-
if (!
|
|
1481
|
+
async function _0x1f4e8d(_0x594680) {
|
|
1482
|
+
const _0x3f54e6 = _0x3c9f;
|
|
1483
|
+
if (!_0x41541e[_0x3f54e6(_0x5a4d30._0x57f01c)] || !_0x41541e[_0x3f54e6(_0x5a4d30._0x2c79b9)] || _0x41541e[_0x3f54e6(_0x5a4d30._0x4a4b96)] || _0x41541e['workerModeEnabled'] !== !![])
|
|
1387
1484
|
return null;
|
|
1388
|
-
const
|
|
1389
|
-
if (
|
|
1485
|
+
const _0x34fc01 = parseTarget(_0x594680['channel']);
|
|
1486
|
+
if (_0x34fc01[_0x3f54e6(_0x5a4d30._0x22ee7f)] !== 'channel')
|
|
1390
1487
|
return null;
|
|
1391
|
-
if (
|
|
1392
|
-
const
|
|
1488
|
+
if (_0x594680['executionMode'] === _0x3f54e6(_0x5a4d30._0x442641)) {
|
|
1489
|
+
const _0x29cf51 = _0x594680[_0x3f54e6(_0x5a4d30._0x267400)] == null ? _0x3f54e6(_0x5a4d30._0x33baf1) : '#' + _0x594680[_0x3f54e6(0x160)];
|
|
1393
1490
|
return {
|
|
1394
|
-
'executionMode':
|
|
1491
|
+
'executionMode': _0x3f54e6(0x14e),
|
|
1395
1492
|
'stopMain': ![],
|
|
1396
1493
|
'workerHandoff': ![],
|
|
1397
|
-
'workerHandoffError':
|
|
1494
|
+
'workerHandoffError': _0x3f54e6(_0x5a4d30._0x4833e9) + _0x29cf51 + _0x3f54e6(0x14a)
|
|
1398
1495
|
};
|
|
1399
1496
|
}
|
|
1400
|
-
const
|
|
1401
|
-
let
|
|
1497
|
+
const _0x1e87c9 = _0x594680[_0x3f54e6(0x16c)] != null ? _0x34fc01[_0x3f54e6(_0x5a4d30._0xe29db2)] + ':t' + _0x594680['threadNumber'] : _0x34fc01[_0x3f54e6(_0x5a4d30._0xe29db2)] + ':' + _0x594680[_0x3f54e6(_0x5a4d30._0xa98fc6)];
|
|
1498
|
+
let _0x5be8e7;
|
|
1402
1499
|
try {
|
|
1403
|
-
const
|
|
1404
|
-
'channel':
|
|
1500
|
+
const _0x95c552 = await _0x41541e[_0x3f54e6(0x1ea)][_0x3f54e6(_0x5a4d30._0x4686b7)]({
|
|
1501
|
+
'channel': _0x1e87c9,
|
|
1405
1502
|
'limit': 0x14
|
|
1406
1503
|
});
|
|
1407
|
-
|
|
1504
|
+
_0x5be8e7 = _0x95c552['messages'][_0x3f54e6(0x219)](_0x5c02ea => _0x5c02ea['messageId'] === _0x594680[_0x3f54e6(0x175)]);
|
|
1408
1505
|
} catch {
|
|
1409
|
-
|
|
1506
|
+
_0x5be8e7 = void 0x0;
|
|
1410
1507
|
}
|
|
1411
|
-
const
|
|
1412
|
-
|
|
1508
|
+
const _0x5ec810 = _0x594680['taskNumber'] == null ? '(legacy)' : '#' + _0x594680['taskNumber'], _0x4a1066 = [
|
|
1509
|
+
'[target=' + _0x1e87c9 + _0x3f54e6(_0x5a4d30._0x42d96e) + _0x594680[_0x3f54e6(_0x5a4d30._0x3e3183)][_0x3f54e6(0x244)](0x0, 0x8) + '\x20time=' + new Date()[_0x3f54e6(_0x5a4d30._0x56a823)]() + ']\x20@system:\x20[claim-handoff]\x20' + _0x5ec810 + '\x20已切换到\x20worker\x20执行',
|
|
1413
1510
|
'',
|
|
1414
|
-
|
|
1511
|
+
_0x5be8e7 ? _0x3f54e6(0x24f) + _0x5be8e7[_0x3f54e6(0x107)] : _0x3f54e6(_0x5a4d30._0x5ab6c4) + _0x594680[_0x3f54e6(0x175)],
|
|
1415
1512
|
'',
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
][
|
|
1419
|
-
'method':
|
|
1420
|
-
'headers': { 'Content-Type':
|
|
1421
|
-
'body': JSON[
|
|
1422
|
-
'agent_id':
|
|
1423
|
-
'thread_target':
|
|
1513
|
+
'Thread\x20target:\x20' + _0x1e87c9,
|
|
1514
|
+
_0x3f54e6(0x13a)
|
|
1515
|
+
][_0x3f54e6(0x27f)]('\x0a'), _0x4deba1 = await fetch(_0x41541e['daemonLocalUrl'] + _0x3f54e6(_0x5a4d30._0x1cb119), {
|
|
1516
|
+
'method': _0x3f54e6(_0x5a4d30._0x1e2e71),
|
|
1517
|
+
'headers': { 'Content-Type': _0x3f54e6(_0x5a4d30._0x1d3bb7) },
|
|
1518
|
+
'body': JSON[_0x3f54e6(0xf8)]({
|
|
1519
|
+
'agent_id': _0x41541e['agentId'],
|
|
1520
|
+
'thread_target': _0x1e87c9,
|
|
1424
1521
|
'spawn_packet': {
|
|
1425
|
-
'replyTarget':
|
|
1426
|
-
...
|
|
1522
|
+
'replyTarget': _0x1e87c9,
|
|
1523
|
+
..._0x594680[_0x3f54e6(0x1bf)] ? { 'taskId': _0x594680[_0x3f54e6(_0x5a4d30._0x34d81a)] } : _0x594680[_0x3f54e6(_0x5a4d30._0x175369)] != null ? { 'taskId': _0x3f54e6(0x198) + _0x594680[_0x3f54e6(0x160)] } : {}
|
|
1427
1524
|
},
|
|
1428
1525
|
'payload': {
|
|
1429
|
-
'mode':
|
|
1430
|
-
'text':
|
|
1526
|
+
'mode': 'user',
|
|
1527
|
+
'text': _0x4a1066
|
|
1431
1528
|
}
|
|
1432
1529
|
})
|
|
1433
|
-
}),
|
|
1434
|
-
if (!
|
|
1435
|
-
throw new Error(
|
|
1530
|
+
}), _0x1fd7f0 = await _0x4deba1[_0x3f54e6(0x11f)]();
|
|
1531
|
+
if (!_0x1fd7f0['ok'])
|
|
1532
|
+
throw new Error(_0x1fd7f0[_0x3f54e6(_0x5a4d30._0x455f2e)] ?? _0x3f54e6(0x265));
|
|
1436
1533
|
return {
|
|
1437
1534
|
'stopMain': !![],
|
|
1438
|
-
'threadTarget':
|
|
1439
|
-
'workerDisposition':
|
|
1535
|
+
'threadTarget': _0x1e87c9,
|
|
1536
|
+
'workerDisposition': _0x1fd7f0[_0x3f54e6(_0x5a4d30._0x336558)] === _0x3f54e6(0x1e2) ? 'queued' : _0x3f54e6(0x117),
|
|
1440
1537
|
'workerHandoff': !![],
|
|
1441
|
-
'workerSessionId':
|
|
1442
|
-
'executionMode':
|
|
1538
|
+
'workerSessionId': _0x1fd7f0[_0x3f54e6(0x174)] ?? '',
|
|
1539
|
+
'executionMode': _0x3f54e6(_0x5a4d30._0x32eb46)
|
|
1443
1540
|
};
|
|
1444
1541
|
}
|
|
1445
|
-
async function
|
|
1446
|
-
const
|
|
1447
|
-
if (!
|
|
1542
|
+
async function _0x3e41ef() {
|
|
1543
|
+
const _0x44d596 = _0x3c9f;
|
|
1544
|
+
if (!_0x41541e[_0x44d596(_0x2e553f._0x385d8d)] || !_0x41541e[_0x44d596(_0x2e553f._0x57d4d5)] || _0x41541e[_0x44d596(0x1f0)])
|
|
1448
1545
|
return null;
|
|
1449
1546
|
try {
|
|
1450
|
-
const
|
|
1451
|
-
if (!
|
|
1547
|
+
const _0x33c9bf = await fetch(_0x41541e[_0x44d596(0x13b)] + _0x44d596(0x170) + encodeURIComponent(_0x41541e['agentId'])), _0x2bca92 = await _0x33c9bf[_0x44d596(0x11f)]();
|
|
1548
|
+
if (!_0x2bca92['ok'])
|
|
1452
1549
|
return null;
|
|
1453
|
-
const
|
|
1454
|
-
for (const
|
|
1455
|
-
|
|
1550
|
+
const _0x30a725 = new Set();
|
|
1551
|
+
for (const _0x22b75b of _0x2bca92[_0x44d596(0x236)]) {
|
|
1552
|
+
_0x22b75b[_0x44d596(0x1a5)] !== _0x44d596(_0x2e553f._0x1c36bf) && _0x22b75b[_0x44d596(_0x2e553f._0x3dd41e)] && _0x30a725[_0x44d596(_0x2e553f._0x4e17c1)](_0x22b75b[_0x44d596(_0x2e553f._0x3dd41e)]);
|
|
1456
1553
|
}
|
|
1457
|
-
return
|
|
1554
|
+
return _0x30a725[_0x44d596(_0x2e553f._0x2ac2bb)] > 0x0 ? _0x30a725 : null;
|
|
1458
1555
|
} catch {
|
|
1459
1556
|
return null;
|
|
1460
1557
|
}
|
|
1461
1558
|
}
|
|
1462
|
-
const
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1559
|
+
const _0x23cbbe = new Set([
|
|
1560
|
+
_0x49b506(0x1b1),
|
|
1561
|
+
_0x49b506(0x1ca),
|
|
1562
|
+
_0x49b506(_0x4c6c42._0x3ead2c)
|
|
1466
1563
|
]);
|
|
1467
|
-
async function
|
|
1468
|
-
const
|
|
1469
|
-
if (!
|
|
1564
|
+
async function _0x51e8f7() {
|
|
1565
|
+
const _0x49556c = _0x49b506;
|
|
1566
|
+
if (!_0x41541e[_0x49556c(_0x3aef42._0x1e9277)] || !_0x41541e[_0x49556c(_0x3aef42._0x57326c)] || _0x41541e[_0x49556c(0x1f0)])
|
|
1470
1567
|
return null;
|
|
1471
1568
|
try {
|
|
1472
|
-
const
|
|
1473
|
-
if (!
|
|
1569
|
+
const _0x24849d = await fetch(_0x41541e[_0x49556c(0x13b)] + _0x49556c(_0x3aef42._0x30dfb9) + encodeURIComponent(_0x41541e[_0x49556c(0x23d)])), _0x46ef23 = await _0x24849d[_0x49556c(_0x3aef42._0x50d2bb)]();
|
|
1570
|
+
if (!_0x46ef23['ok'])
|
|
1474
1571
|
return null;
|
|
1475
|
-
const
|
|
1476
|
-
for (const
|
|
1477
|
-
|
|
1572
|
+
const _0x45fdde = new Set();
|
|
1573
|
+
for (const _0x4cb240 of _0x46ef23[_0x49556c(0x236)]) {
|
|
1574
|
+
_0x23cbbe['has'](_0x4cb240[_0x49556c(_0x3aef42._0x7af121)]) && _0x4cb240[_0x49556c(_0x3aef42._0x39cacd)] && _0x45fdde[_0x49556c(0x1ae)](_0x4cb240['thread_target']);
|
|
1478
1575
|
}
|
|
1479
|
-
return
|
|
1576
|
+
return _0x45fdde[_0x49556c(_0x3aef42._0x3b3b98)] > 0x0 ? _0x45fdde : null;
|
|
1480
1577
|
} catch {
|
|
1481
1578
|
return null;
|
|
1482
1579
|
}
|
|
1483
1580
|
}
|
|
1484
1581
|
return {
|
|
1485
|
-
async 'send_message'(
|
|
1486
|
-
const
|
|
1487
|
-
if (!
|
|
1488
|
-
const
|
|
1489
|
-
if (
|
|
1490
|
-
if (
|
|
1491
|
-
const
|
|
1492
|
-
'attachmentIds':
|
|
1493
|
-
'content':
|
|
1494
|
-
'
|
|
1495
|
-
'
|
|
1582
|
+
async 'send_message'(_0x5f0605) {
|
|
1583
|
+
const _0x276721 = _0x49b506;
|
|
1584
|
+
if (!_0x41541e['workerMode'] && _0x41541e[_0x276721(0x267)] && _0x41541e['daemonLocalUrl'] && _0x41541e[_0x276721(0x23d)]) {
|
|
1585
|
+
const _0x37218d = await _0x41541e[_0x276721(_0x375951._0x13229c)][_0x276721(0x220)](_0x5f0605[_0x276721(_0x375951._0x44ea98)]);
|
|
1586
|
+
if (_0x37218d[_0x276721(_0x375951._0xc364fd)] && _0x37218d[_0x276721(0x12b)]) {
|
|
1587
|
+
if (_0x37218d[_0x276721(0x202)]['executionMode'] === _0x276721(_0x375951._0x204c45)) {
|
|
1588
|
+
const _0x36b85e = await _0x41541e[_0x276721(_0x375951._0x39aadb)][_0x276721(_0x375951._0x4a0aac)]({
|
|
1589
|
+
'attachmentIds': _0x5f0605[_0x276721(_0x375951._0x218d10)],
|
|
1590
|
+
'content': _0x5f0605[_0x276721(_0x375951._0x5d1acb)],
|
|
1591
|
+
'metadataJson': _0x5f0605[_0x276721(0x1f9)],
|
|
1592
|
+
'target': _0x5f0605[_0x276721(_0x375951._0x44ea98)],
|
|
1593
|
+
'visibility': _0x5f0605[_0x276721(0x22e)]
|
|
1496
1594
|
});
|
|
1497
|
-
return
|
|
1595
|
+
return 'Message\x20sent\x20to\x20' + _0x5f0605['target'] + '.\x20Message\x20ID:\x20' + _0x36b85e['messageId'];
|
|
1498
1596
|
}
|
|
1499
|
-
const
|
|
1500
|
-
if (
|
|
1597
|
+
const _0x4930ab = _0x37218d[_0x276721(_0x375951._0x19a42c)][_0x276721(0x160)] != null ? '#' + _0x37218d[_0x276721(_0x375951._0xc364fd)][_0x276721(0x160)] : '(legacy)', _0x5ef547 = _0x37218d[_0x276721(_0x375951._0x4ec786)] != null ? _0x37218d['target'] + ':t' + _0x37218d['threadNumber'] : _0x37218d[_0x276721(_0x375951._0x5e4666)] + ':' + _0x37218d['threadId'][_0x276721(0x244)](0x0, 0x8), _0x20db3a = await _0x51e8f7();
|
|
1598
|
+
if (_0x20db3a?.[_0x276721(0x171)](_0x5ef547))
|
|
1501
1599
|
return [
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
][
|
|
1505
|
-
const
|
|
1506
|
-
|
|
1600
|
+
_0x276721(0x222) + _0x4930ab + _0x276721(_0x375951._0x608e42) + _0x5ef547 + '\x20already\x20has\x20an\x20active\x20worker.\x20stopMain=true\x20executionMode=worker',
|
|
1601
|
+
'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread\x20—\x20the\x20worker\x20is\x20handling\x20it.'
|
|
1602
|
+
][_0x276721(0x27f)]('\x0a');
|
|
1603
|
+
const _0x4fd32a = [
|
|
1604
|
+
_0x276721(0x1bb) + _0x5ef547 + _0x276721(_0x375951._0x213593) + new Date()[_0x276721(_0x375951._0x204bff)]() + ']\x20@system:\x20[enter-handoff]',
|
|
1507
1605
|
'',
|
|
1508
|
-
|
|
1509
|
-
'Task:\x20' +
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
][
|
|
1513
|
-
'method':
|
|
1514
|
-
'headers': { 'Content-Type':
|
|
1515
|
-
'body': JSON[
|
|
1516
|
-
'agent_id':
|
|
1517
|
-
'thread_target':
|
|
1606
|
+
_0x276721(0x1f1) + _0x5f0605['content'],
|
|
1607
|
+
'Task:\x20' + _0x4930ab + '\x20(' + _0x37218d['task'][_0x276721(0x1bf)] + ')',
|
|
1608
|
+
_0x276721(_0x375951._0x429ccd) + _0x5ef547,
|
|
1609
|
+
_0x276721(_0x375951._0x290eba)
|
|
1610
|
+
][_0x276721(0x27f)]('\x0a'), _0x107584 = await fetch(_0x41541e[_0x276721(_0x375951._0x31759a)] + _0x276721(0x1e7), {
|
|
1611
|
+
'method': _0x276721(0x143),
|
|
1612
|
+
'headers': { 'Content-Type': _0x276721(0x19c) },
|
|
1613
|
+
'body': JSON['stringify']({
|
|
1614
|
+
'agent_id': _0x41541e[_0x276721(_0x375951._0x388228)],
|
|
1615
|
+
'thread_target': _0x5ef547,
|
|
1518
1616
|
'spawn_packet': {
|
|
1519
|
-
'replyTarget':
|
|
1520
|
-
'taskId':
|
|
1617
|
+
'replyTarget': _0x5ef547,
|
|
1618
|
+
'taskId': _0x37218d[_0x276721(_0x375951._0xc364fd)][_0x276721(_0x375951._0x44a96b)]
|
|
1521
1619
|
},
|
|
1522
1620
|
'payload': {
|
|
1523
|
-
'mode':
|
|
1524
|
-
'text':
|
|
1621
|
+
'mode': _0x276721(_0x375951._0x5bd036),
|
|
1622
|
+
'text': _0x4fd32a
|
|
1525
1623
|
}
|
|
1526
1624
|
})
|
|
1527
|
-
}),
|
|
1528
|
-
if (!
|
|
1529
|
-
throw new Error(
|
|
1625
|
+
}), _0x32f396 = await _0x107584[_0x276721(_0x375951._0x3ed33e)]();
|
|
1626
|
+
if (!_0x32f396['ok'])
|
|
1627
|
+
throw new Error(_0x32f396[_0x276721(_0x375951._0x2ce65a)] ?? _0x276721(0x111));
|
|
1530
1628
|
return [
|
|
1531
|
-
|
|
1532
|
-
|
|
1629
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x4930ab + '\x20in\x20' + _0x5ef547 + '.\x20stopMain=true\x20executionMode=worker',
|
|
1630
|
+
_0x276721(0x21f) + (_0x32f396[_0x276721(0x1e8)] === 'queued' ? _0x276721(_0x375951._0x59cf1c) : 'started') + '.',
|
|
1533
1631
|
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1534
|
-
][
|
|
1632
|
+
][_0x276721(_0x375951._0x29e9c3)]('\x0a');
|
|
1535
1633
|
}
|
|
1536
1634
|
}
|
|
1537
|
-
const
|
|
1538
|
-
'attachmentIds':
|
|
1539
|
-
'content':
|
|
1540
|
-
'
|
|
1541
|
-
'
|
|
1635
|
+
const _0x26e5fb = await _0x41541e[_0x276721(_0x375951._0x13229c)][_0x276721(0x285)]({
|
|
1636
|
+
'attachmentIds': _0x5f0605[_0x276721(_0x375951._0x218d10)],
|
|
1637
|
+
'content': _0x5f0605['content'],
|
|
1638
|
+
'metadataJson': _0x5f0605['metadataJson'],
|
|
1639
|
+
'target': _0x5f0605['target'],
|
|
1640
|
+
'visibility': _0x5f0605[_0x276721(0x22e)]
|
|
1542
1641
|
});
|
|
1543
|
-
return
|
|
1642
|
+
return _0x276721(_0x375951._0x589a43) + _0x5f0605[_0x276721(0x1dd)] + _0x276721(_0x375951._0x309581) + _0x26e5fb[_0x276721(0x175)];
|
|
1544
1643
|
},
|
|
1545
1644
|
async 'check_messages'() {
|
|
1546
|
-
const
|
|
1547
|
-
if (!
|
|
1548
|
-
const
|
|
1549
|
-
if (
|
|
1550
|
-
return formatCheckMessages(
|
|
1645
|
+
const _0x587e7f = _0x49b506, _0xf02e60 = await _0x41541e[_0x587e7f(0x1ea)][_0x587e7f(_0x2f8be6._0x49bc9c)]();
|
|
1646
|
+
if (!_0x41541e[_0x587e7f(0x1f0)]) {
|
|
1647
|
+
const _0x377d42 = await _0x3e41ef();
|
|
1648
|
+
if (_0x377d42)
|
|
1649
|
+
return formatCheckMessages(_0xf02e60[_0x587e7f(_0x2f8be6._0x5c4d3f)][_0x587e7f(_0x2f8be6._0x4420d5)](_0x22d5a8 => !_0x377d42[_0x587e7f(0x171)](_0x22d5a8[_0x587e7f(0x1dd)])));
|
|
1551
1650
|
}
|
|
1552
|
-
return formatCheckMessages(
|
|
1651
|
+
return formatCheckMessages(_0xf02e60['messages']);
|
|
1553
1652
|
},
|
|
1554
|
-
async 'read_history'(
|
|
1555
|
-
const
|
|
1556
|
-
return formatHistory(
|
|
1653
|
+
async 'read_history'(_0x21348b) {
|
|
1654
|
+
const _0xfcbb68 = _0x49b506, _0x2568e2 = await _0x41541e['client'][_0xfcbb68(0x1ab)](_0x21348b);
|
|
1655
|
+
return formatHistory(_0x2568e2);
|
|
1557
1656
|
},
|
|
1558
1657
|
async 'list_server'() {
|
|
1559
|
-
const
|
|
1560
|
-
return formatServerDirectory(
|
|
1658
|
+
const _0x58f68d = _0x49b506, _0x14a2a9 = await _0x41541e['client'][_0x58f68d(_0x5f148a._0x5919a0)]();
|
|
1659
|
+
return formatServerDirectory(_0x14a2a9);
|
|
1561
1660
|
},
|
|
1562
|
-
async 'list_tasks'(
|
|
1563
|
-
const
|
|
1564
|
-
let
|
|
1565
|
-
if (
|
|
1661
|
+
async 'list_tasks'(_0xde21b6) {
|
|
1662
|
+
const _0x36c8b4 = _0x49b506, _0x602c99 = await _0x41541e[_0x36c8b4(0x1ea)][_0x36c8b4(0x184)](_0xde21b6);
|
|
1663
|
+
let _0x491d6e;
|
|
1664
|
+
if (_0x41541e[_0x36c8b4(0x13b)] && _0x41541e[_0x36c8b4(0x23d)])
|
|
1566
1665
|
try {
|
|
1567
|
-
const
|
|
1568
|
-
if (
|
|
1569
|
-
const
|
|
1570
|
-
|
|
1571
|
-
for (const
|
|
1572
|
-
if (
|
|
1666
|
+
const _0x1e5b16 = await fetch(_0x41541e[_0x36c8b4(_0x16a5b4._0x15fe9f)] + _0x36c8b4(0x170) + encodeURIComponent(_0x41541e[_0x36c8b4(_0x16a5b4._0x3cdfa7)])), _0x403a93 = await _0x1e5b16['json']();
|
|
1667
|
+
if (_0x403a93['ok']) {
|
|
1668
|
+
const _0x588e4e = _0xde21b6[_0x36c8b4(_0x16a5b4._0x57cde4)] + ':';
|
|
1669
|
+
_0x491d6e = new Set();
|
|
1670
|
+
for (const _0x2761b3 of _0x403a93[_0x36c8b4(0x236)]) {
|
|
1671
|
+
if (_0x2761b3[_0x36c8b4(_0x16a5b4._0x3a4c88)] === _0x36c8b4(0x206))
|
|
1573
1672
|
continue;
|
|
1574
|
-
if (
|
|
1575
|
-
const
|
|
1576
|
-
if (
|
|
1577
|
-
|
|
1673
|
+
if (_0x2761b3[_0x36c8b4(0xfa)]?.['startsWith'](_0x588e4e)) {
|
|
1674
|
+
const _0x537585 = _0x2761b3[_0x36c8b4(_0x16a5b4._0x22927e)][_0x36c8b4(0x244)](_0x588e4e[_0x36c8b4(_0x16a5b4._0x2398e8)]), _0x32c7e0 = _0x602c99[_0x36c8b4(0x10e)][_0x36c8b4(0x219)](_0x271efa => _0x271efa['messageId']?.[_0x36c8b4(0x134)](_0x537585) === !![]);
|
|
1675
|
+
if (_0x32c7e0?.[_0x36c8b4(0x160)] != null) {
|
|
1676
|
+
_0x491d6e[_0x36c8b4(_0x16a5b4._0x3ce787)](_0x32c7e0[_0x36c8b4(0x160)]);
|
|
1578
1677
|
continue;
|
|
1579
1678
|
}
|
|
1580
1679
|
}
|
|
1581
|
-
if (
|
|
1582
|
-
const
|
|
1583
|
-
|
|
1680
|
+
if (_0x2761b3[_0x36c8b4(_0x16a5b4._0x31a678)]) {
|
|
1681
|
+
const _0x27e8c5 = _0x602c99[_0x36c8b4(_0x16a5b4._0x4fee02)]['find'](_0x1e2409 => _0x1e2409[_0x36c8b4(0x1bf)] === _0x2761b3['task_id']);
|
|
1682
|
+
_0x27e8c5?.['taskNumber'] != null && _0x491d6e['add'](_0x27e8c5['taskNumber']);
|
|
1584
1683
|
}
|
|
1585
1684
|
}
|
|
1586
1685
|
}
|
|
1587
1686
|
} catch {
|
|
1588
1687
|
}
|
|
1589
|
-
return formatTaskList(
|
|
1688
|
+
return formatTaskList(_0x602c99[_0x36c8b4(_0x16a5b4._0x4fee02)], _0x491d6e);
|
|
1590
1689
|
},
|
|
1591
|
-
async 'create_tasks'(
|
|
1592
|
-
const
|
|
1593
|
-
|
|
1594
|
-
const
|
|
1595
|
-
return formatCreatedTasks(
|
|
1690
|
+
async 'create_tasks'(_0x17a257) {
|
|
1691
|
+
const _0x4243d0 = _0x49b506;
|
|
1692
|
+
_0x424d90(_0x4243d0(_0x2fb287._0xa38a56), _0x17a257['channel']);
|
|
1693
|
+
const _0x9265f0 = await _0x41541e[_0x4243d0(_0x2fb287._0x4cb605)][_0x4243d0(_0x2fb287._0x51bb36)](_0x17a257);
|
|
1694
|
+
return formatCreatedTasks(_0x9265f0[_0x4243d0(_0x2fb287._0x457378)]);
|
|
1596
1695
|
},
|
|
1597
|
-
async 'claim_tasks'(
|
|
1598
|
-
const
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1696
|
+
async 'claim_tasks'(_0x4ba855) {
|
|
1697
|
+
const _0x1bd9b0 = {
|
|
1698
|
+
_0x9e9922: 0x12a,
|
|
1699
|
+
_0x23d982: 0x10f,
|
|
1700
|
+
_0x5f21f8: 0x1bf,
|
|
1701
|
+
_0x2966ab: 0x160,
|
|
1702
|
+
_0xe1b42: 0x280,
|
|
1703
|
+
_0x58e471: 0x265
|
|
1704
|
+
}, _0x4c669c = _0x49b506;
|
|
1705
|
+
if (_0x41541e[_0x4c669c(0x1f0)]) {
|
|
1706
|
+
_0x424d90(_0x4c669c(0x130), _0x4ba855[_0x4c669c(_0x449fe6._0x4bcb8f)]);
|
|
1707
|
+
if (_0x4ba855[_0x4c669c(0x120)] && _0x4ba855[_0x4c669c(0x120)][_0x4c669c(_0x449fe6._0x44e0ed)] > 0x0)
|
|
1708
|
+
throw new Error(_0x4c669c(_0x449fe6._0xb09dad));
|
|
1709
|
+
if (!_0x4ba855[_0x4c669c(_0x449fe6._0x451640)] || _0x4ba855[_0x4c669c(0x145)][_0x4c669c(_0x449fe6._0xce54a5)] === 0x0)
|
|
1710
|
+
throw new Error(_0x4c669c(0x158));
|
|
1605
1711
|
}
|
|
1606
|
-
const
|
|
1607
|
-
const
|
|
1608
|
-
if (!
|
|
1609
|
-
return
|
|
1712
|
+
const _0x26c63e = await _0x41541e[_0x4c669c(0x1ea)]['claimTasks'](_0x4ba855), _0x53c29c = await Promise[_0x4c669c(0x154)](_0x26c63e['results'][_0x4c669c(0x24b)](async _0x1d7f0a => {
|
|
1713
|
+
const _0x449643 = _0x4c669c;
|
|
1714
|
+
if (!_0x1d7f0a[_0x449643(_0x1bd9b0._0x9e9922)] || !_0x1d7f0a['messageId'])
|
|
1715
|
+
return _0x1d7f0a;
|
|
1610
1716
|
try {
|
|
1611
|
-
const
|
|
1612
|
-
'channel':
|
|
1613
|
-
'executionMode':
|
|
1614
|
-
'messageId':
|
|
1615
|
-
'taskId':
|
|
1616
|
-
'taskNumber':
|
|
1617
|
-
'threadNumber':
|
|
1717
|
+
const _0x353799 = await _0x1f4e8d({
|
|
1718
|
+
'channel': _0x4ba855[_0x449643(0x196)],
|
|
1719
|
+
'executionMode': _0x1d7f0a[_0x449643(_0x1bd9b0._0x23d982)],
|
|
1720
|
+
'messageId': _0x1d7f0a[_0x449643(0x175)],
|
|
1721
|
+
'taskId': _0x1d7f0a[_0x449643(_0x1bd9b0._0x5f21f8)],
|
|
1722
|
+
'taskNumber': _0x1d7f0a[_0x449643(_0x1bd9b0._0x2966ab)],
|
|
1723
|
+
'threadNumber': _0x1d7f0a[_0x449643(0x16c)]
|
|
1618
1724
|
});
|
|
1619
|
-
return
|
|
1620
|
-
...
|
|
1621
|
-
...
|
|
1622
|
-
} :
|
|
1623
|
-
} catch (
|
|
1725
|
+
return _0x353799 ? {
|
|
1726
|
+
..._0x1d7f0a,
|
|
1727
|
+
..._0x353799
|
|
1728
|
+
} : _0x1d7f0a;
|
|
1729
|
+
} catch (_0x582b33) {
|
|
1624
1730
|
return {
|
|
1625
|
-
...
|
|
1626
|
-
'workerHandoffError':
|
|
1731
|
+
..._0x1d7f0a,
|
|
1732
|
+
'workerHandoffError': _0x582b33 instanceof Error ? _0x582b33[_0x449643(_0x1bd9b0._0xe1b42)] : _0x449643(_0x1bd9b0._0x58e471)
|
|
1627
1733
|
};
|
|
1628
1734
|
}
|
|
1629
1735
|
}));
|
|
1630
|
-
return formatClaimTaskResults(
|
|
1736
|
+
return formatClaimTaskResults(_0x53c29c);
|
|
1631
1737
|
},
|
|
1632
|
-
async 'unclaim_task'(
|
|
1633
|
-
const
|
|
1634
|
-
if (
|
|
1635
|
-
|
|
1636
|
-
if (
|
|
1637
|
-
throw new Error(
|
|
1738
|
+
async 'unclaim_task'(_0x1b0332) {
|
|
1739
|
+
const _0x57af30 = _0x49b506;
|
|
1740
|
+
if (_0x41541e[_0x57af30(0x1f0)]) {
|
|
1741
|
+
_0x424d90(_0x57af30(0x147), _0x1b0332[_0x57af30(_0x195a15._0x4030b8)]);
|
|
1742
|
+
if (_0x1b0332['subtask_number'] == null)
|
|
1743
|
+
throw new Error(_0x57af30(0x1f2));
|
|
1638
1744
|
}
|
|
1639
|
-
const
|
|
1640
|
-
return formatUnclaimTaskResult(
|
|
1745
|
+
const _0x5d8c97 = await _0x41541e['client']['unclaimTask'](_0x1b0332);
|
|
1746
|
+
return formatUnclaimTaskResult(_0x5d8c97);
|
|
1641
1747
|
},
|
|
1642
|
-
async 'update_task_status'(
|
|
1643
|
-
const
|
|
1644
|
-
|
|
1645
|
-
const
|
|
1646
|
-
return formatUpdateTaskStatusResult(
|
|
1748
|
+
async 'update_task_status'(_0x478250) {
|
|
1749
|
+
const _0x2003e9 = _0x49b506;
|
|
1750
|
+
_0x424d90(_0x2003e9(_0x3c49e2._0x4c5514), _0x478250['channel']);
|
|
1751
|
+
const _0x21a685 = await _0x41541e[_0x2003e9(0x1ea)][_0x2003e9(0x258)](_0x478250);
|
|
1752
|
+
return formatUpdateTaskStatusResult(_0x21a685);
|
|
1647
1753
|
},
|
|
1648
|
-
async 'upload_file'(
|
|
1649
|
-
const
|
|
1650
|
-
sizeBytes:
|
|
1651
|
-
...
|
|
1652
|
-
} =
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1754
|
+
async 'upload_file'(_0x5ab23b) {
|
|
1755
|
+
const _0x3e61dd = _0x49b506, _0x2c9122 = await _0x41541e[_0x3e61dd(0x20b)](_0x5ab23b[_0x3e61dd(0x1ff)]), {
|
|
1756
|
+
sizeBytes: _0x3daea8,
|
|
1757
|
+
..._0x457016
|
|
1758
|
+
} = _0x2c9122;
|
|
1759
|
+
void _0x3daea8;
|
|
1760
|
+
const _0x32350e = await _0x41541e[_0x3e61dd(_0x281de6._0x42fa2c)][_0x3e61dd(0x1ef)]({
|
|
1761
|
+
'channel': _0x5ab23b[_0x3e61dd(_0x281de6._0x40cfb4)],
|
|
1762
|
+
..._0x457016
|
|
1763
|
+
});
|
|
1764
|
+
return formatUploadResult(_0x32350e);
|
|
1657
1765
|
},
|
|
1658
|
-
async 'view_file'(
|
|
1659
|
-
const
|
|
1660
|
-
if (
|
|
1661
|
-
return formatViewFileResult(
|
|
1662
|
-
const
|
|
1663
|
-
'attachmentId':
|
|
1664
|
-
'contentType':
|
|
1665
|
-
'data':
|
|
1666
|
-
'originalFilename':
|
|
1766
|
+
async 'view_file'(_0x5885fd) {
|
|
1767
|
+
const _0xc19bf3 = _0x49b506, _0x4c810f = await _0x41541e[_0xc19bf3(_0x57aed1._0x385b9d)][_0xc19bf3(_0x57aed1._0x51c97e)](_0x5885fd[_0xc19bf3(0x255)]);
|
|
1768
|
+
if (_0x4c810f)
|
|
1769
|
+
return formatViewFileResult(_0x4c810f, !![]);
|
|
1770
|
+
const _0xaf4f4f = await _0x41541e[_0xc19bf3(_0x57aed1._0x4a992f)]['downloadAttachment'](_0x5885fd[_0xc19bf3(0x255)]), _0x4192d0 = await _0x41541e['attachmentCache'][_0xc19bf3(0x197)]({
|
|
1771
|
+
'attachmentId': _0x5885fd['attachment_id'],
|
|
1772
|
+
'contentType': _0xaf4f4f['contentType'],
|
|
1773
|
+
'data': _0xaf4f4f[_0xc19bf3(_0x57aed1._0x45ee5f)],
|
|
1774
|
+
'originalFilename': _0xaf4f4f['originalFilename']
|
|
1667
1775
|
});
|
|
1668
|
-
return formatViewFileResult(
|
|
1776
|
+
return formatViewFileResult(_0x4192d0, ![]);
|
|
1669
1777
|
},
|
|
1670
|
-
async 'get_worker_status'(
|
|
1671
|
-
const
|
|
1672
|
-
if (!
|
|
1673
|
-
return
|
|
1674
|
-
const
|
|
1675
|
-
if (!
|
|
1676
|
-
return
|
|
1677
|
-
return
|
|
1778
|
+
async 'get_worker_status'(_0x3bfbb1) {
|
|
1779
|
+
const _0xede4ca = _0x49b506;
|
|
1780
|
+
if (!_0x41541e[_0xede4ca(_0x4e63eb._0x1b381a)])
|
|
1781
|
+
return _0xede4ca(_0x4e63eb._0x40285f);
|
|
1782
|
+
const _0x359e4f = await fetch(_0x41541e[_0xede4ca(_0x4e63eb._0x4fc3a0)] + _0xede4ca(0x235) + encodeURIComponent(_0x3bfbb1['work_key'])), _0x26b0c4 = await _0x359e4f['json']();
|
|
1783
|
+
if (!_0x26b0c4['ok'])
|
|
1784
|
+
return _0xede4ca(0x113) + _0x3bfbb1[_0xede4ca(_0x4e63eb._0x1e3d6e)] + _0xede4ca(0x272);
|
|
1785
|
+
return _0xede4ca(_0x4e63eb._0x50a42e) + _0x3bfbb1[_0xede4ca(0x188)] + _0xede4ca(_0x4e63eb._0x342cf4) + _0x26b0c4[_0xede4ca(0x1a5)];
|
|
1678
1786
|
},
|
|
1679
|
-
async 'park_worker'(
|
|
1680
|
-
const
|
|
1681
|
-
if (!
|
|
1682
|
-
return
|
|
1683
|
-
const
|
|
1684
|
-
'method':
|
|
1685
|
-
'headers': { 'Content-Type':
|
|
1686
|
-
'body': JSON[
|
|
1687
|
-
}),
|
|
1688
|
-
if (!
|
|
1689
|
-
throw new Error(
|
|
1690
|
-
return
|
|
1787
|
+
async 'park_worker'(_0x4bb741) {
|
|
1788
|
+
const _0x41116b = _0x49b506;
|
|
1789
|
+
if (!_0x41541e[_0x41116b(0x13b)])
|
|
1790
|
+
return _0x41116b(_0xe00cc0._0x384889);
|
|
1791
|
+
const _0x4733ff = await fetch(_0x41541e[_0x41116b(0x13b)] + '/workers/park', {
|
|
1792
|
+
'method': _0x41116b(_0xe00cc0._0x42f5cc),
|
|
1793
|
+
'headers': { 'Content-Type': _0x41116b(0x19c) },
|
|
1794
|
+
'body': JSON[_0x41116b(_0xe00cc0._0x313371)]({ 'work_key': _0x4bb741[_0x41116b(0x188)] })
|
|
1795
|
+
}), _0x9a4521 = await _0x4733ff[_0x41116b(_0xe00cc0._0x137049)]();
|
|
1796
|
+
if (!_0x9a4521['ok'])
|
|
1797
|
+
throw new Error(_0x9a4521[_0x41116b(_0xe00cc0._0x49d283)] ?? 'park_worker\x20failed');
|
|
1798
|
+
return 'Worker\x20\x22' + _0x4bb741[_0x41116b(_0xe00cc0._0x47125a)] + _0x41116b(0x241);
|
|
1691
1799
|
},
|
|
1692
|
-
async 'mark_waiting_input'(
|
|
1693
|
-
const
|
|
1694
|
-
if (!
|
|
1695
|
-
return
|
|
1696
|
-
const
|
|
1697
|
-
'method':
|
|
1698
|
-
'headers': { 'Content-Type':
|
|
1699
|
-
'body': JSON[
|
|
1700
|
-
'work_key':
|
|
1701
|
-
'agent_id':
|
|
1800
|
+
async 'mark_waiting_input'(_0x5a077e) {
|
|
1801
|
+
const _0x4309c3 = _0x49b506;
|
|
1802
|
+
if (!_0x41541e['daemonLocalUrl'] || !_0x41541e[_0x4309c3(_0x28479e._0x557738)])
|
|
1803
|
+
return _0x4309c3(0x17b);
|
|
1804
|
+
const _0x3a97a8 = await fetch(_0x41541e[_0x4309c3(_0x28479e._0x21409c)] + _0x4309c3(0x1b6), {
|
|
1805
|
+
'method': 'POST',
|
|
1806
|
+
'headers': { 'Content-Type': _0x4309c3(_0x28479e._0xdfd5fd) },
|
|
1807
|
+
'body': JSON[_0x4309c3(_0x28479e._0x236914)]({
|
|
1808
|
+
'work_key': _0x5a077e[_0x4309c3(0x188)],
|
|
1809
|
+
'agent_id': _0x41541e['agentId']
|
|
1702
1810
|
})
|
|
1703
|
-
}),
|
|
1704
|
-
if (!
|
|
1705
|
-
throw new Error(
|
|
1706
|
-
return
|
|
1811
|
+
}), _0x360fc5 = await _0x3a97a8[_0x4309c3(0x11f)]();
|
|
1812
|
+
if (!_0x360fc5['ok'])
|
|
1813
|
+
throw new Error(_0x360fc5[_0x4309c3(_0x28479e._0x3cd66c)] ?? _0x4309c3(0x18c));
|
|
1814
|
+
return _0x4309c3(0x113) + _0x5a077e[_0x4309c3(0x188)] + '\x22\x20marked\x20as\x20waiting_input.\x20TTL\x20timer\x20paused\x20until\x20next\x20message\x20arrives.';
|
|
1707
1815
|
},
|
|
1708
|
-
async '
|
|
1709
|
-
const
|
|
1710
|
-
if (!
|
|
1711
|
-
|
|
1712
|
-
const
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1816
|
+
async 'finalize_promotion'(_0x850aed) {
|
|
1817
|
+
const _0x2ee1e0 = _0x49b506;
|
|
1818
|
+
if (!_0x41541e[_0x2ee1e0(_0x37480e._0x434df7)])
|
|
1819
|
+
throw new Error(_0x2ee1e0(0x110));
|
|
1820
|
+
const _0x5c5f21 = await _0x41541e[_0x2ee1e0(_0x37480e._0x339cdd)][_0x2ee1e0(0x24d)](_0x850aed);
|
|
1821
|
+
return formatPromotionFinalizeResult(_0x5c5f21);
|
|
1822
|
+
},
|
|
1823
|
+
async 'escalate_to_main'(_0xe0018a) {
|
|
1824
|
+
const _0x1730b4 = _0x49b506;
|
|
1825
|
+
if (!_0x41541e[_0x1730b4(0x13b)])
|
|
1826
|
+
return _0x1730b4(_0x1861b4._0x5075d7);
|
|
1827
|
+
const _0x22e3be = await fetch(_0x41541e[_0x1730b4(_0x1861b4._0x4866b9)] + _0x1730b4(_0x1861b4._0x492f97), {
|
|
1828
|
+
'method': _0x1730b4(_0x1861b4._0x119dce),
|
|
1829
|
+
'headers': { 'Content-Type': _0x1730b4(0x19c) },
|
|
1830
|
+
'body': JSON[_0x1730b4(_0x1861b4._0x1fd13e)]({
|
|
1831
|
+
'work_key': _0xe0018a[_0x1730b4(_0x1861b4._0x5eda39)],
|
|
1832
|
+
'reason': _0xe0018a[_0x1730b4(_0x1861b4._0x66c154)]
|
|
1718
1833
|
})
|
|
1719
|
-
}),
|
|
1720
|
-
if (!
|
|
1721
|
-
throw new Error(
|
|
1722
|
-
return
|
|
1834
|
+
}), _0x27a219 = await _0x22e3be[_0x1730b4(0x11f)]();
|
|
1835
|
+
if (!_0x27a219['ok'])
|
|
1836
|
+
throw new Error(_0x27a219[_0x1730b4(0x274)] ?? _0x1730b4(0x269));
|
|
1837
|
+
return _0x1730b4(_0x1861b4._0x5a453c) + _0xe0018a[_0x1730b4(_0x1861b4._0x536ddc)];
|
|
1723
1838
|
}
|
|
1724
1839
|
};
|
|
1725
1840
|
}
|
|
1726
|
-
function textResult(
|
|
1727
|
-
const
|
|
1841
|
+
function textResult(_0x182eca, _0x267833 = ![]) {
|
|
1842
|
+
const _0x32e793 = { _0x52add4: 0x250 }, _0x14b5a5 = _0x42226e;
|
|
1728
1843
|
return {
|
|
1729
1844
|
'content': [{
|
|
1730
|
-
'type':
|
|
1731
|
-
'text':
|
|
1845
|
+
'type': _0x14b5a5(_0x32e793._0x52add4),
|
|
1846
|
+
'text': _0x182eca
|
|
1732
1847
|
}],
|
|
1733
|
-
...
|
|
1848
|
+
..._0x267833 ? { 'isError': !![] } : {}
|
|
1734
1849
|
};
|
|
1735
1850
|
}
|
|
1736
|
-
async function registerChatBridgeTools(
|
|
1737
|
-
const
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1851
|
+
async function registerChatBridgeTools(_0x492ee7, _0x5bc2c6, _0x3d04af) {
|
|
1852
|
+
const _0x103352 = {
|
|
1853
|
+
_0x131500: 0x264,
|
|
1854
|
+
_0x1d44c2: 0x169,
|
|
1855
|
+
_0xeb3a1d: 0x126,
|
|
1856
|
+
_0x3e118e: 0x257,
|
|
1857
|
+
_0x368a6e: 0x257,
|
|
1858
|
+
_0x2d6a8f: 0x287,
|
|
1859
|
+
_0x3793d9: 0x277,
|
|
1860
|
+
_0x882640: 0x146,
|
|
1861
|
+
_0x3873de: 0x121,
|
|
1862
|
+
_0x735048: 0x27e,
|
|
1863
|
+
_0xaed51f: 0x162,
|
|
1864
|
+
_0x2835f3: 0x116,
|
|
1865
|
+
_0x141aa2: 0x238,
|
|
1866
|
+
_0x16e7c8: 0x1aa,
|
|
1867
|
+
_0x504a59: 0x1a4,
|
|
1868
|
+
_0x18764f: 0x17d,
|
|
1869
|
+
_0x937b6c: 0x129,
|
|
1870
|
+
_0x3e6c47: 0x144,
|
|
1871
|
+
_0x2aed98: 0x1ba,
|
|
1872
|
+
_0xaaaa8c: 0x209,
|
|
1873
|
+
_0x56ec31: 0x257,
|
|
1874
|
+
_0x2c3488: 0x146,
|
|
1875
|
+
_0x41f8bb: 0x24a,
|
|
1876
|
+
_0x1c9b01: 0x277,
|
|
1877
|
+
_0x4dc289: 0x25e,
|
|
1878
|
+
_0x1c90e3: 0x283,
|
|
1879
|
+
_0x129ac9: 0x116,
|
|
1880
|
+
_0x3c00e8: 0x257,
|
|
1881
|
+
_0x56a46c: 0x277,
|
|
1882
|
+
_0x1815fc: 0x15d,
|
|
1883
|
+
_0x1b7899: 0x257,
|
|
1884
|
+
_0x2f278c: 0x116,
|
|
1885
|
+
_0x4d3988: 0x277,
|
|
1886
|
+
_0x1792f1: 0x238,
|
|
1887
|
+
_0x30e08f: 0x256,
|
|
1888
|
+
_0x28a75a: 0x116,
|
|
1889
|
+
_0x2a3628: 0x14b,
|
|
1890
|
+
_0x1088e9: 0x257,
|
|
1891
|
+
_0x4f1b7f: 0x257,
|
|
1892
|
+
_0x1f739c: 0x1d1,
|
|
1893
|
+
_0x3c5f73: 0x266,
|
|
1894
|
+
_0x14553c: 0x257,
|
|
1895
|
+
_0x1259ef: 0x1f0,
|
|
1896
|
+
_0x306946: 0x101,
|
|
1897
|
+
_0x1d9488: 0x14c,
|
|
1898
|
+
_0x1c31fd: 0x229,
|
|
1899
|
+
_0x18bdf9: 0x116,
|
|
1900
|
+
_0x457bf5: 0x284,
|
|
1901
|
+
_0x55735b: 0x17e,
|
|
1902
|
+
_0xeb4bc9: 0x257,
|
|
1903
|
+
_0x269ecd: 0x15a,
|
|
1904
|
+
_0x20f97d: 0x257
|
|
1905
|
+
}, _0x5dc608 = { _0x759e61: 0x18c }, _0x267a55 = { _0x23e2e8: 0x280 }, _0x56259b = { _0x53342b: 0x280 }, _0x4ea85a = { _0x3b4f6c: 0x167 }, _0x5ba8b8 = {
|
|
1906
|
+
_0x406353: 0x262,
|
|
1907
|
+
_0x590024: 0x10b
|
|
1908
|
+
}, _0x3b6bde = {
|
|
1909
|
+
_0x2e55c8: 0x280,
|
|
1910
|
+
_0x1d145d: 0x234
|
|
1911
|
+
}, _0x5e2286 = {
|
|
1912
|
+
_0x1b0e14: 0x256,
|
|
1913
|
+
_0xc69948: 0x280
|
|
1914
|
+
}, _0x5b87e1 = {
|
|
1915
|
+
_0x441332: 0x147,
|
|
1916
|
+
_0x4ba804: 0x280
|
|
1917
|
+
}, _0x128ce9 = {
|
|
1918
|
+
_0x2a6819: 0x1ba,
|
|
1919
|
+
_0x1ea8a0: 0x280
|
|
1920
|
+
}, _0x1ec3ba = { _0x2cb8e6: 0x12c }, _0x4c60b4 = { _0x3b61b9: 0x280 }, _0x42ac97 = { _0x30d8ba: 0x169 }, _0x35dcf3 = _0x42226e, {z: _0x266501} = await import(_0x35dcf3(_0x103352._0x131500));
|
|
1921
|
+
_0x492ee7['tool'](_0x35dcf3(_0x103352._0x1d44c2), _0x35dcf3(_0x103352._0xeb3a1d), {
|
|
1922
|
+
'target': _0x266501[_0x35dcf3(_0x103352._0x3e118e)](),
|
|
1923
|
+
'content': _0x266501[_0x35dcf3(_0x103352._0x368a6e)](),
|
|
1924
|
+
'attachment_ids': _0x266501[_0x35dcf3(0x283)](_0x266501[_0x35dcf3(0x257)]())['optional'](),
|
|
1925
|
+
'metadataJson': _0x266501[_0x35dcf3(_0x103352._0x2d6a8f)]()[_0x35dcf3(_0x103352._0x3793d9)](),
|
|
1926
|
+
'visibility': _0x266501[_0x35dcf3(_0x103352._0x882640)]([
|
|
1927
|
+
_0x35dcf3(0xfb),
|
|
1789
1928
|
'aside'
|
|
1790
|
-
])[
|
|
1791
|
-
}, async
|
|
1792
|
-
const
|
|
1929
|
+
])[_0x35dcf3(_0x103352._0x3793d9)]()[_0x35dcf3(_0x103352._0x3873de)](_0x35dcf3(_0x103352._0x735048))
|
|
1930
|
+
}, async _0x58c4f4 => {
|
|
1931
|
+
const _0xefee25 = _0x35dcf3;
|
|
1793
1932
|
try {
|
|
1794
|
-
return textResult(await
|
|
1795
|
-
} catch (
|
|
1796
|
-
return textResult(
|
|
1933
|
+
return textResult(await _0x5bc2c6[_0xefee25(_0x42ac97._0x30d8ba)](_0x58c4f4));
|
|
1934
|
+
} catch (_0x21144d) {
|
|
1935
|
+
return textResult(_0x21144d instanceof Error ? _0x21144d[_0xefee25(0x280)] : _0xefee25(0x1c3), !![]);
|
|
1797
1936
|
}
|
|
1798
|
-
}),
|
|
1799
|
-
const
|
|
1937
|
+
}), _0x492ee7['tool']('check_messages', _0x35dcf3(_0x103352._0xaed51f), {}, async () => {
|
|
1938
|
+
const _0x5d3270 = _0x35dcf3;
|
|
1800
1939
|
try {
|
|
1801
|
-
return textResult(await
|
|
1802
|
-
} catch (
|
|
1803
|
-
return textResult(
|
|
1940
|
+
return textResult(await _0x5bc2c6['check_messages']());
|
|
1941
|
+
} catch (_0xdcc423) {
|
|
1942
|
+
return textResult(_0xdcc423 instanceof Error ? _0xdcc423[_0x5d3270(0x280)] : _0x5d3270(0x278), !![]);
|
|
1804
1943
|
}
|
|
1805
|
-
}),
|
|
1806
|
-
'channel':
|
|
1807
|
-
'limit':
|
|
1808
|
-
'before':
|
|
1809
|
-
'after':
|
|
1810
|
-
}, async
|
|
1811
|
-
const
|
|
1944
|
+
}), _0x492ee7['tool'](_0x35dcf3(0x1d4), 'Read\x20message\x20history\x20for\x20a\x20channel,\x20DM,\x20or\x20thread\x20target.', {
|
|
1945
|
+
'channel': _0x266501[_0x35dcf3(_0x103352._0x368a6e)](),
|
|
1946
|
+
'limit': _0x266501[_0x35dcf3(_0x103352._0x2835f3)]()['optional'](),
|
|
1947
|
+
'before': _0x266501[_0x35dcf3(0x116)]()['optional'](),
|
|
1948
|
+
'after': _0x266501['number']()[_0x35dcf3(0x277)]()
|
|
1949
|
+
}, async _0x18dd5f => {
|
|
1950
|
+
const _0x25268a = _0x35dcf3;
|
|
1812
1951
|
try {
|
|
1813
|
-
return textResult(await
|
|
1814
|
-
} catch (
|
|
1815
|
-
return textResult(
|
|
1952
|
+
return textResult(await _0x5bc2c6['read_history'](_0x18dd5f));
|
|
1953
|
+
} catch (_0x34937e) {
|
|
1954
|
+
return textResult(_0x34937e instanceof Error ? _0x34937e[_0x25268a(_0x4c60b4._0x3b61b9)] : _0x25268a(0x19e), !![]);
|
|
1816
1955
|
}
|
|
1817
|
-
}),
|
|
1818
|
-
const
|
|
1956
|
+
}), _0x492ee7[_0x35dcf3(_0x103352._0x141aa2)](_0x35dcf3(0x1af), _0x35dcf3(_0x103352._0x16e7c8), {}, async () => {
|
|
1957
|
+
const _0x4936ce = _0x35dcf3;
|
|
1819
1958
|
try {
|
|
1820
|
-
return textResult(await
|
|
1821
|
-
} catch (
|
|
1822
|
-
return textResult(
|
|
1959
|
+
return textResult(await _0x5bc2c6[_0x4936ce(0x1af)]());
|
|
1960
|
+
} catch (_0x418847) {
|
|
1961
|
+
return textResult(_0x418847 instanceof Error ? _0x418847['message'] : 'list_server\x20failed', !![]);
|
|
1823
1962
|
}
|
|
1824
|
-
}),
|
|
1825
|
-
'channel':
|
|
1826
|
-
'status':
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
])[
|
|
1832
|
-
}, async
|
|
1833
|
-
const
|
|
1963
|
+
}), _0x492ee7['tool'](_0x35dcf3(_0x103352._0x504a59), _0x35dcf3(_0x103352._0x18764f), {
|
|
1964
|
+
'channel': _0x266501['string'](),
|
|
1965
|
+
'status': _0x266501[_0x35dcf3(_0x103352._0x882640)]([
|
|
1966
|
+
_0x35dcf3(_0x103352._0x937b6c),
|
|
1967
|
+
_0x35dcf3(0x22b),
|
|
1968
|
+
_0x35dcf3(0x21a),
|
|
1969
|
+
_0x35dcf3(_0x103352._0x3e6c47)
|
|
1970
|
+
])[_0x35dcf3(_0x103352._0x3793d9)]()
|
|
1971
|
+
}, async _0x2ee800 => {
|
|
1972
|
+
const _0x2e5417 = _0x35dcf3;
|
|
1834
1973
|
try {
|
|
1835
|
-
return textResult(await
|
|
1836
|
-
} catch (
|
|
1837
|
-
return textResult(
|
|
1974
|
+
return textResult(await _0x5bc2c6[_0x2e5417(0x1a4)](_0x2ee800));
|
|
1975
|
+
} catch (_0x3cfdb8) {
|
|
1976
|
+
return textResult(_0x3cfdb8 instanceof Error ? _0x3cfdb8[_0x2e5417(0x280)] : _0x2e5417(_0x1ec3ba._0x2cb8e6), !![]);
|
|
1838
1977
|
}
|
|
1839
|
-
}),
|
|
1840
|
-
'channel':
|
|
1841
|
-
'idempotency_key':
|
|
1842
|
-
'tasks':
|
|
1843
|
-
'title':
|
|
1844
|
-
'description':
|
|
1845
|
-
'priority':
|
|
1978
|
+
}), _0x492ee7['tool'](_0x35dcf3(_0x103352._0x2aed98), _0x35dcf3(_0x103352._0xaaaa8c), {
|
|
1979
|
+
'channel': _0x266501[_0x35dcf3(0x257)](),
|
|
1980
|
+
'idempotency_key': _0x266501[_0x35dcf3(_0x103352._0x56ec31)]()[_0x35dcf3(_0x103352._0x3793d9)](),
|
|
1981
|
+
'tasks': _0x266501['array'](_0x266501[_0x35dcf3(0x229)]({
|
|
1982
|
+
'title': _0x266501[_0x35dcf3(_0x103352._0x56ec31)](),
|
|
1983
|
+
'description': _0x266501['string']()[_0x35dcf3(0x277)](),
|
|
1984
|
+
'priority': _0x266501[_0x35dcf3(_0x103352._0x2c3488)]([
|
|
1846
1985
|
'low',
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
])[
|
|
1986
|
+
_0x35dcf3(_0x103352._0x41f8bb),
|
|
1987
|
+
_0x35dcf3(0x232),
|
|
1988
|
+
_0x35dcf3(0x223)
|
|
1989
|
+
])[_0x35dcf3(_0x103352._0x1c9b01)]()
|
|
1851
1990
|
}))
|
|
1852
|
-
}, async
|
|
1853
|
-
const
|
|
1991
|
+
}, async _0x2aacab => {
|
|
1992
|
+
const _0x83c636 = _0x35dcf3;
|
|
1854
1993
|
try {
|
|
1855
|
-
return textResult(await
|
|
1856
|
-
} catch (
|
|
1857
|
-
return textResult(
|
|
1994
|
+
return textResult(await _0x5bc2c6[_0x83c636(_0x128ce9._0x2a6819)](_0x2aacab));
|
|
1995
|
+
} catch (_0x488b40) {
|
|
1996
|
+
return textResult(_0x488b40 instanceof Error ? _0x488b40[_0x83c636(_0x128ce9._0x1ea8a0)] : 'create_tasks\x20failed', !![]);
|
|
1858
1997
|
}
|
|
1859
|
-
}),
|
|
1860
|
-
'channel':
|
|
1861
|
-
'task_numbers':
|
|
1862
|
-
'subtask_numbers':
|
|
1863
|
-
'message_ids':
|
|
1864
|
-
'evidence':
|
|
1865
|
-
'create_thread':
|
|
1866
|
-
'create_task':
|
|
1867
|
-
}))[
|
|
1868
|
-
'idempotency_key':
|
|
1869
|
-
}, async
|
|
1870
|
-
const
|
|
1998
|
+
}), _0x492ee7[_0x35dcf3(0x238)]('claim_tasks', _0x35dcf3(_0x103352._0x4dc289), {
|
|
1999
|
+
'channel': _0x266501['string'](),
|
|
2000
|
+
'task_numbers': _0x266501[_0x35dcf3(_0x103352._0x1c90e3)](_0x266501['number']())[_0x35dcf3(_0x103352._0x1c9b01)](),
|
|
2001
|
+
'subtask_numbers': _0x266501[_0x35dcf3(0x283)](_0x266501[_0x35dcf3(_0x103352._0x129ac9)]())[_0x35dcf3(_0x103352._0x1c9b01)](),
|
|
2002
|
+
'message_ids': _0x266501[_0x35dcf3(0x283)](_0x266501[_0x35dcf3(_0x103352._0x3c00e8)]())[_0x35dcf3(0x277)](),
|
|
2003
|
+
'evidence': _0x266501[_0x35dcf3(0x201)](_0x266501['string'](), _0x266501['object']({
|
|
2004
|
+
'create_thread': _0x266501[_0x35dcf3(0x287)]()[_0x35dcf3(_0x103352._0x3793d9)](),
|
|
2005
|
+
'create_task': _0x266501[_0x35dcf3(0x287)]()[_0x35dcf3(_0x103352._0x56a46c)]()
|
|
2006
|
+
}))[_0x35dcf3(0x277)](),
|
|
2007
|
+
'idempotency_key': _0x266501['string']()['optional']()
|
|
2008
|
+
}, async _0x22522f => {
|
|
2009
|
+
const _0x47b2b0 = _0x35dcf3;
|
|
1871
2010
|
try {
|
|
1872
|
-
return textResult(await
|
|
1873
|
-
} catch (
|
|
1874
|
-
return textResult(
|
|
2011
|
+
return textResult(await _0x5bc2c6[_0x47b2b0(0x130)](_0x22522f));
|
|
2012
|
+
} catch (_0x51e5af) {
|
|
2013
|
+
return textResult(_0x51e5af instanceof Error ? _0x51e5af['message'] : _0x47b2b0(0x112), !![]);
|
|
1875
2014
|
}
|
|
1876
|
-
}),
|
|
1877
|
-
'channel':
|
|
1878
|
-
'task_number':
|
|
1879
|
-
'subtask_number':
|
|
1880
|
-
'idempotency_key':
|
|
1881
|
-
}, async
|
|
1882
|
-
const
|
|
2015
|
+
}), _0x492ee7['tool'](_0x35dcf3(0x147), _0x35dcf3(_0x103352._0x1815fc), {
|
|
2016
|
+
'channel': _0x266501[_0x35dcf3(_0x103352._0x1b7899)](),
|
|
2017
|
+
'task_number': _0x266501[_0x35dcf3(_0x103352._0x2f278c)](),
|
|
2018
|
+
'subtask_number': _0x266501[_0x35dcf3(0x116)]()[_0x35dcf3(_0x103352._0x4d3988)](),
|
|
2019
|
+
'idempotency_key': _0x266501[_0x35dcf3(_0x103352._0x3e118e)]()[_0x35dcf3(0x277)]()
|
|
2020
|
+
}, async _0x520253 => {
|
|
2021
|
+
const _0xcf48c0 = _0x35dcf3;
|
|
1883
2022
|
try {
|
|
1884
|
-
return textResult(await
|
|
1885
|
-
} catch (
|
|
1886
|
-
return textResult(
|
|
2023
|
+
return textResult(await _0x5bc2c6[_0xcf48c0(_0x5b87e1._0x441332)](_0x520253));
|
|
2024
|
+
} catch (_0x5eb6de) {
|
|
2025
|
+
return textResult(_0x5eb6de instanceof Error ? _0x5eb6de[_0xcf48c0(_0x5b87e1._0x4ba804)] : _0xcf48c0(0x187), !![]);
|
|
1887
2026
|
}
|
|
1888
|
-
}),
|
|
1889
|
-
'channel':
|
|
1890
|
-
'task_number':
|
|
1891
|
-
'subtask_number':
|
|
1892
|
-
'status':
|
|
2027
|
+
}), _0x492ee7[_0x35dcf3(_0x103352._0x1792f1)](_0x35dcf3(_0x103352._0x30e08f), 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.\x20Assignee\x20rules:\x20an\x20unclaimed\x20task/subtask\x20is\x20automatically\x20claimed\x20by\x20you\x20in\x20the\x20same\x20call\x20(caller\x20becomes\x20the\x20assignee);\x20if\x20the\x20task\x20is\x20already\x20claimed\x20by\x20another\x20participant,\x20the\x20server\x20returns\x20403\x20with\x20the\x20current\x20claimer\x27s\x20name\x20and\x20you\x20must\x20NOT\x20retry\x20—\x20let\x20the\x20assignee\x20finish\x20or\x20ask\x20them\x20to\x20release\x20the\x20task.\x20When\x20moving\x20work\x20to\x20in_review,\x20check\x20your\x20memory\x20or\x20channel\x20rules\x20and\x20send\x20a\x20reviewer\x20mention\x20yourself\x20when\x20appropriate.', {
|
|
2028
|
+
'channel': _0x266501[_0x35dcf3(_0x103352._0x368a6e)](),
|
|
2029
|
+
'task_number': _0x266501[_0x35dcf3(_0x103352._0x28a75a)](),
|
|
2030
|
+
'subtask_number': _0x266501[_0x35dcf3(0x116)]()[_0x35dcf3(0x277)](),
|
|
2031
|
+
'status': _0x266501[_0x35dcf3(0x146)]([
|
|
1893
2032
|
'todo',
|
|
1894
2033
|
'in_progress',
|
|
1895
|
-
|
|
1896
|
-
|
|
2034
|
+
'in_review',
|
|
2035
|
+
_0x35dcf3(_0x103352._0x3e6c47)
|
|
1897
2036
|
]),
|
|
1898
|
-
'idempotency_key':
|
|
1899
|
-
}, async
|
|
1900
|
-
const
|
|
2037
|
+
'idempotency_key': _0x266501['string']()['optional']()
|
|
2038
|
+
}, async _0x47f810 => {
|
|
2039
|
+
const _0x410c2d = _0x35dcf3;
|
|
2040
|
+
try {
|
|
2041
|
+
return textResult(await _0x5bc2c6[_0x410c2d(_0x5e2286._0x1b0e14)](_0x47f810));
|
|
2042
|
+
} catch (_0xf77d61) {
|
|
2043
|
+
return textResult(_0xf77d61 instanceof Error ? _0xf77d61[_0x410c2d(_0x5e2286._0xc69948)] : 'update_task_status\x20failed', !![]);
|
|
2044
|
+
}
|
|
2045
|
+
}), _0x492ee7[_0x35dcf3(0x238)](_0x35dcf3(_0x103352._0x2a3628), '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.', {
|
|
2046
|
+
'channel': _0x266501[_0x35dcf3(_0x103352._0x1088e9)](),
|
|
2047
|
+
'file_path': _0x266501[_0x35dcf3(_0x103352._0x1b7899)]()
|
|
2048
|
+
}, async _0xd7d0 => {
|
|
2049
|
+
const _0x34f9da = _0x35dcf3;
|
|
1901
2050
|
try {
|
|
1902
|
-
return textResult(await
|
|
1903
|
-
} catch (
|
|
1904
|
-
return textResult(
|
|
2051
|
+
return textResult(await _0x5bc2c6['upload_file'](_0xd7d0));
|
|
2052
|
+
} catch (_0x3821fa) {
|
|
2053
|
+
return textResult(_0x3821fa instanceof Error ? _0x3821fa[_0x34f9da(_0x3b6bde._0x2e55c8)] : _0x34f9da(_0x3b6bde._0x1d145d), !![]);
|
|
1905
2054
|
}
|
|
1906
|
-
}),
|
|
1907
|
-
|
|
1908
|
-
'file_path': _0x5d1182[_0x4202fe(0x27d)]()
|
|
1909
|
-
}, async _0x10d408 => {
|
|
1910
|
-
const _0xb847c9 = _0x4202fe;
|
|
2055
|
+
}), _0x492ee7[_0x35dcf3(0x238)](_0x35dcf3(0x262), 'Download\x20an\x20attachment\x20to\x20the\x20local\x20cache\x20and\x20return\x20the\x20local\x20path.', { 'attachment_id': _0x266501[_0x35dcf3(0x257)]() }, async _0x1f3625 => {
|
|
2056
|
+
const _0x4bf809 = _0x35dcf3;
|
|
1911
2057
|
try {
|
|
1912
|
-
return textResult(await
|
|
1913
|
-
} catch (
|
|
1914
|
-
return textResult(
|
|
2058
|
+
return textResult(await _0x5bc2c6[_0x4bf809(_0x5ba8b8._0x406353)](_0x1f3625));
|
|
2059
|
+
} catch (_0x19485e) {
|
|
2060
|
+
return textResult(_0x19485e instanceof Error ? _0x19485e['message'] : _0x4bf809(_0x5ba8b8._0x590024), !![]);
|
|
1915
2061
|
}
|
|
1916
|
-
}),
|
|
1917
|
-
const
|
|
2062
|
+
}), _0x492ee7['tool'](_0x35dcf3(0x167), 'Check\x20the\x20current\x20status\x20of\x20a\x20spawned\x20worker\x20by\x20its\x20work\x20key.', { 'work_key': _0x266501[_0x35dcf3(_0x103352._0x4f1b7f)]() }, async _0x344f7f => {
|
|
2063
|
+
const _0x3a5ff5 = _0x35dcf3;
|
|
1918
2064
|
try {
|
|
1919
|
-
return textResult(await
|
|
1920
|
-
} catch (
|
|
1921
|
-
return textResult(
|
|
2065
|
+
return textResult(await _0x5bc2c6[_0x3a5ff5(_0x4ea85a._0x3b4f6c)](_0x344f7f));
|
|
2066
|
+
} catch (_0x2817c2) {
|
|
2067
|
+
return textResult(_0x2817c2 instanceof Error ? _0x2817c2[_0x3a5ff5(0x280)] : 'get_worker_status\x20failed', !![]);
|
|
1922
2068
|
}
|
|
1923
|
-
}),
|
|
1924
|
-
const
|
|
2069
|
+
}), _0x492ee7[_0x35dcf3(0x238)]('park_worker', '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': _0x266501[_0x35dcf3(0x257)]() }, async _0x1e5e8d => {
|
|
2070
|
+
const _0x3a8fe3 = _0x35dcf3;
|
|
1925
2071
|
try {
|
|
1926
|
-
return textResult(await
|
|
1927
|
-
} catch (
|
|
1928
|
-
return textResult(
|
|
2072
|
+
return textResult(await _0x5bc2c6['park_worker'](_0x1e5e8d));
|
|
2073
|
+
} catch (_0x5d8e61) {
|
|
2074
|
+
return textResult(_0x5d8e61 instanceof Error ? _0x5d8e61[_0x3a8fe3(_0x56259b._0x53342b)] : 'park_worker\x20failed', !![]);
|
|
1929
2075
|
}
|
|
1930
|
-
}),
|
|
1931
|
-
|
|
2076
|
+
}), !_0x3d04af?.[_0x35dcf3(0x1f0)] && _0x492ee7['tool'](_0x35dcf3(_0x103352._0x1f739c), _0x35dcf3(_0x103352._0x3c5f73), {
|
|
2077
|
+
'work_key': _0x266501[_0x35dcf3(_0x103352._0x368a6e)](),
|
|
2078
|
+
'reason': _0x266501[_0x35dcf3(_0x103352._0x14553c)]()
|
|
2079
|
+
}, async _0x1248bf => {
|
|
2080
|
+
const _0x1c945e = _0x35dcf3;
|
|
1932
2081
|
try {
|
|
1933
|
-
return textResult(await
|
|
1934
|
-
} catch (
|
|
1935
|
-
return textResult(
|
|
2082
|
+
return textResult(await _0x5bc2c6['escalate_to_main'](_0x1248bf));
|
|
2083
|
+
} catch (_0x560ef6) {
|
|
2084
|
+
return textResult(_0x560ef6 instanceof Error ? _0x560ef6[_0x1c945e(_0x267a55._0x23e2e8)] : 'escalate_to_main\x20failed', !![]);
|
|
1936
2085
|
}
|
|
1937
|
-
}),
|
|
1938
|
-
'
|
|
1939
|
-
'
|
|
1940
|
-
|
|
1941
|
-
|
|
2086
|
+
}), _0x3d04af?.[_0x35dcf3(_0x103352._0x1259ef)] && (_0x492ee7[_0x35dcf3(_0x103352._0x141aa2)](_0x35dcf3(_0x103352._0x306946), _0x35dcf3(_0x103352._0x1d9488), {
|
|
2087
|
+
'draftMessageId': _0x266501[_0x35dcf3(0x257)](),
|
|
2088
|
+
'tasks': _0x266501[_0x35dcf3(0x283)](_0x266501[_0x35dcf3(_0x103352._0x1c31fd)]({
|
|
2089
|
+
'stage': _0x266501[_0x35dcf3(_0x103352._0x18bdf9)]()[_0x35dcf3(_0x103352._0x457bf5)]()[_0x35dcf3(_0x103352._0x55735b)](),
|
|
2090
|
+
'member': _0x266501[_0x35dcf3(0x116)]()['int']()[_0x35dcf3(0x17e)](),
|
|
2091
|
+
'specPath': _0x266501[_0x35dcf3(_0x103352._0xeb4bc9)]()
|
|
2092
|
+
}))
|
|
2093
|
+
}, async _0x25a2af => {
|
|
1942
2094
|
try {
|
|
1943
|
-
return textResult(await
|
|
1944
|
-
} catch (
|
|
1945
|
-
return textResult(
|
|
2095
|
+
return textResult(await _0x5bc2c6['finalize_promotion'](_0x25a2af));
|
|
2096
|
+
} catch (_0x4e78d5) {
|
|
2097
|
+
return textResult(_0x4e78d5 instanceof Error ? _0x4e78d5['message'] : 'finalize_promotion\x20failed', !![]);
|
|
1946
2098
|
}
|
|
1947
|
-
}),
|
|
1948
|
-
const
|
|
2099
|
+
}), _0x492ee7[_0x35dcf3(_0x103352._0x1792f1)](_0x35dcf3(_0x103352._0x269ecd), 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x266501[_0x35dcf3(_0x103352._0x20f97d)]() }, async _0x56828b => {
|
|
2100
|
+
const _0x2925b1 = _0x35dcf3;
|
|
1949
2101
|
try {
|
|
1950
|
-
return textResult(await
|
|
1951
|
-
} catch (
|
|
1952
|
-
return textResult(
|
|
2102
|
+
return textResult(await _0x5bc2c6['mark_waiting_input'](_0x56828b));
|
|
2103
|
+
} catch (_0x424523) {
|
|
2104
|
+
return textResult(_0x424523 instanceof Error ? _0x424523[_0x2925b1(0x280)] : _0x2925b1(_0x5dc608._0x759e61), !![]);
|
|
1953
2105
|
}
|
|
1954
|
-
});
|
|
2106
|
+
}));
|
|
1955
2107
|
}
|
|
1956
|
-
async function createChatBridgeServer(
|
|
1957
|
-
const
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
}),
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
2108
|
+
async function createChatBridgeServer(_0x22fc7f) {
|
|
2109
|
+
const _0x406382 = {
|
|
2110
|
+
_0x4059a0: 0x11c,
|
|
2111
|
+
_0x4314b4: 0x1f0
|
|
2112
|
+
}, _0x4ce72e = _0x42226e, {McpServer: _0x31c9ec} = await import(_0x4ce72e(_0x406382._0x4059a0)), _0x4d6e6f = new _0x31c9ec({
|
|
2113
|
+
'name': _0x4ce72e(0x108),
|
|
2114
|
+
'version': '0.0.0'
|
|
2115
|
+
}), _0x12be5e = createChatBridgeHandlers(_0x22fc7f);
|
|
2116
|
+
return await registerChatBridgeTools(_0x4d6e6f, _0x12be5e, { 'workerMode': _0x22fc7f[_0x4ce72e(_0x406382._0x4314b4)] }), {
|
|
2117
|
+
'handlers': _0x12be5e,
|
|
2118
|
+
'server': _0x4d6e6f
|
|
1964
2119
|
};
|
|
1965
2120
|
}
|
|
1966
|
-
function readFlag(
|
|
1967
|
-
const
|
|
1968
|
-
if (
|
|
2121
|
+
function readFlag(_0x5f0043, _0x31658f) {
|
|
2122
|
+
const _0x2b4e71 = { _0x4ff1aa: 0x131 }, _0x46e183 = _0x42226e, _0xd51c0b = _0x5f0043[_0x46e183(_0x2b4e71._0x4ff1aa)](_0x31658f);
|
|
2123
|
+
if (_0xd51c0b === -0x1)
|
|
1969
2124
|
return void 0x0;
|
|
1970
|
-
return
|
|
2125
|
+
return _0x5f0043[_0xd51c0b + 0x1];
|
|
1971
2126
|
}
|
|
1972
|
-
function parseChatBridgeArgs(
|
|
1973
|
-
const
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
2127
|
+
function parseChatBridgeArgs(_0x3f7c07) {
|
|
2128
|
+
const _0x27ee5b = {
|
|
2129
|
+
_0x2b6d9d: 0x18a,
|
|
2130
|
+
_0x3f47ac: 0x242,
|
|
2131
|
+
_0x484ec7: 0x1d7,
|
|
2132
|
+
_0x4ac09d: 0x166,
|
|
2133
|
+
_0x335967: 0x276,
|
|
2134
|
+
_0x6c0ee8: 0x165,
|
|
2135
|
+
_0x4a4939: 0x1c2,
|
|
2136
|
+
_0x321126: 0x1b0,
|
|
2137
|
+
_0xa1fb7a: 0x191,
|
|
2138
|
+
_0x19beed: 0x212,
|
|
2139
|
+
_0x7f7876: 0x27c,
|
|
2140
|
+
_0x2c226b: 0x1a6
|
|
2141
|
+
}, _0xd13a0b = _0x42226e, _0x2633d8 = readFlag(_0x3f7c07, '--agent-id'), _0x36df2a = readFlag(_0x3f7c07, _0xd13a0b(_0x27ee5b._0x2b6d9d)), _0x1dc8f2 = readFlag(_0x3f7c07, _0xd13a0b(0x13e)), _0x111251 = readFlag(_0x3f7c07, _0xd13a0b(_0x27ee5b._0x3f47ac)), _0x280ac6 = readFlag(_0x3f7c07, '--server-url') ?? _0xd13a0b(_0x27ee5b._0x484ec7), _0x525e7 = readFlag(_0x3f7c07, _0xd13a0b(0x185)), _0x36cc95 = readFlag(_0x3f7c07, '--session-id'), _0x464064 = readFlag(_0x3f7c07, _0xd13a0b(_0x27ee5b._0x4ac09d)), _0x15b5bb = readFlag(_0x3f7c07, _0xd13a0b(_0x27ee5b._0x335967)), _0x7dfb54 = readFlag(_0x3f7c07, '--worker-thread-target'), _0x286e48 = _0x3f7c07[_0xd13a0b(_0x27ee5b._0x6c0ee8)](_0xd13a0b(_0x27ee5b._0x4a4939)), _0x1aa47b = _0x111251 === void 0x0 ? void 0x0 : Number['parseInt'](_0x111251, 0xa);
|
|
2142
|
+
if (!_0x2633d8)
|
|
2143
|
+
throw new Error(_0xd13a0b(_0x27ee5b._0x321126));
|
|
2144
|
+
if (!_0x1dc8f2)
|
|
2145
|
+
throw new Error(_0xd13a0b(_0x27ee5b._0xa1fb7a));
|
|
2146
|
+
if (_0x111251 !== void 0x0 && (_0x1aa47b === void 0x0 || !Number[_0xd13a0b(_0x27ee5b._0x19beed)](_0x1aa47b) || _0x1aa47b < 0x0))
|
|
2147
|
+
throw new Error(_0xd13a0b(_0x27ee5b._0x7f7876));
|
|
1988
2148
|
return {
|
|
1989
|
-
'agentId':
|
|
1990
|
-
'attachmentCacheDir':
|
|
1991
|
-
'daemonApiKey':
|
|
1992
|
-
'daemonLocalUrl':
|
|
1993
|
-
'initialLastSeenSeq':
|
|
1994
|
-
'sessionId':
|
|
1995
|
-
'serverUrl':
|
|
1996
|
-
'workerModeEnabled':
|
|
1997
|
-
'workerSessionId':
|
|
1998
|
-
'workerThreadTarget':
|
|
1999
|
-
'workerMode':
|
|
2149
|
+
'agentId': _0x2633d8,
|
|
2150
|
+
'attachmentCacheDir': _0x36df2a,
|
|
2151
|
+
'daemonApiKey': _0x1dc8f2,
|
|
2152
|
+
'daemonLocalUrl': _0x525e7,
|
|
2153
|
+
'initialLastSeenSeq': _0x1aa47b,
|
|
2154
|
+
'sessionId': _0x36cc95,
|
|
2155
|
+
'serverUrl': _0x280ac6,
|
|
2156
|
+
'workerModeEnabled': _0x464064 === void 0x0 ? void 0x0 : _0x464064 !== _0xd13a0b(_0x27ee5b._0x2c226b),
|
|
2157
|
+
'workerSessionId': _0x15b5bb,
|
|
2158
|
+
'workerThreadTarget': _0x7dfb54,
|
|
2159
|
+
'workerMode': _0x286e48
|
|
2000
2160
|
};
|
|
2001
2161
|
}
|
|
2002
|
-
|
|
2003
|
-
const
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
'daemonLocalUrl': _0x30ac09['daemonLocalUrl'],
|
|
2011
|
-
'uploadPreparer': prepareUploadFile,
|
|
2012
|
-
'workerModeEnabled': _0x30ac09['workerModeEnabled'],
|
|
2013
|
-
'workerMode': _0x30ac09['workerMode'],
|
|
2014
|
-
'workerThreadTarget': _0x30ac09[_0x298c56(0x26e)]
|
|
2015
|
-
});
|
|
2016
|
-
await _0x81c161[_0x298c56(0x2e1)][_0x298c56(0x1ef)](new _0x3e39af());
|
|
2017
|
-
}
|
|
2018
|
-
function _0x3a73() {
|
|
2019
|
-
const _0x23d174 = [
|
|
2020
|
-
'ig1ZzZ0',
|
|
2021
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
2022
|
-
'y2f0y2G',
|
|
2023
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
2024
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
2025
|
-
'Bwf0y2Hoyw1L',
|
|
2026
|
-
'DMfSDwvZ',
|
|
2027
|
-
'mJG5nJbmrgXWu2m',
|
|
2028
|
-
'A2LUza',
|
|
2029
|
-
'Dw5RBM93BG',
|
|
2030
|
-
'z2v0tw9UDgG',
|
|
2031
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
2032
|
-
'ls1Zzxj2zxiTDxjS',
|
|
2033
|
-
'BwfPBG',
|
|
2034
|
-
'CNvUswq',
|
|
2035
|
-
'y2XPzw50',
|
|
2036
|
-
'Dg9KBW',
|
|
2037
|
-
'zgvZy3jPyMu',
|
|
2038
|
-
'lsba',
|
|
2039
|
-
'Bwf4',
|
|
2040
|
-
'C3rYAw5NAwz5',
|
|
2041
|
-
'CMvZDwX0CW',
|
|
2042
|
-
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
2043
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
2044
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
2045
|
-
'ANnVBG',
|
|
2046
|
-
'CMvHC29U',
|
|
2047
|
-
'DgHYzwfKvgfYz2v0',
|
|
2048
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
2049
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
2050
|
-
'l3rHC2TZpW',
|
|
2051
|
-
'igrVBMuP',
|
|
2052
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
2053
|
-
'B3b0Aw9UywW',
|
|
2054
|
-
'ywz0zxi',
|
|
2055
|
-
'lMrZy29Yza',
|
|
2056
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
2162
|
+
function _0x1d81() {
|
|
2163
|
+
const _0x3ecbaf = [
|
|
2164
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
2165
|
+
'DMfSDwu',
|
|
2166
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
2167
|
+
'CMvHzf9OAxn0B3j5',
|
|
2168
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
2169
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
2057
2170
|
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
2058
|
-
'
|
|
2059
|
-
'
|
|
2060
|
-
'
|
|
2061
|
-
'
|
|
2062
|
-
'
|
|
2063
|
-
'
|
|
2064
|
-
'
|
|
2065
|
-
'
|
|
2066
|
-
'
|
|
2067
|
-
'
|
|
2068
|
-
'
|
|
2069
|
-
'
|
|
2070
|
-
'
|
|
2171
|
+
'C2L6zuj5DgvZ',
|
|
2172
|
+
'BgvUz3rO',
|
|
2173
|
+
'C2v0',
|
|
2174
|
+
'ihn0yxr1CZ0',
|
|
2175
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
2176
|
+
'DgfYz2v0',
|
|
2177
|
+
'BwvZC2fNzxm',
|
|
2178
|
+
'l3n0yxj0',
|
|
2179
|
+
'l3rHC2TZ',
|
|
2180
|
+
'zgLNzxn0',
|
|
2181
|
+
'CxvLDwvK',
|
|
2182
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
2183
|
+
'ndeWmta2nM9Tt1LUDa',
|
|
2184
|
+
'CNvUswq',
|
|
2071
2185
|
'w3nLCt0',
|
|
2072
|
-
'
|
|
2186
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
2187
|
+
'zgLZCg9ZAxrPB24',
|
|
2073
2188
|
'Ahr0CdO',
|
|
2074
|
-
'
|
|
2075
|
-
'
|
|
2076
|
-
'
|
|
2077
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
2078
|
-
'ls1Hz2vUDc1Pza',
|
|
2079
|
-
'C2v0',
|
|
2080
|
-
'CMvZCg9UC2u',
|
|
2081
|
-
'BwfW',
|
|
2082
|
-
'BgvUz3rO',
|
|
2189
|
+
'y2XPzw50',
|
|
2190
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
2191
|
+
'BwvTyMvY',
|
|
2083
2192
|
'ihrPBwu9',
|
|
2084
|
-
'
|
|
2085
|
-
'
|
|
2086
|
-
'
|
|
2087
|
-
'
|
|
2088
|
-
'
|
|
2089
|
-
'
|
|
2090
|
-
'
|
|
2091
|
-
'
|
|
2193
|
+
'lsaJ',
|
|
2194
|
+
'DxbSB2fKrMLSzq',
|
|
2195
|
+
'D29YA2vYtw9Kzq',
|
|
2196
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
2197
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
2198
|
+
'y2HHBM5LBeLK',
|
|
2199
|
+
'ywz0zxi',
|
|
2200
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
2201
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
2202
|
+
'l3nLCNzLCG',
|
|
2203
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
2204
|
+
'Bwv0ywrHDgfkC29U',
|
|
2205
|
+
'yxv0BZO',
|
|
2206
|
+
'C2HHmJu2',
|
|
2207
|
+
'igLUia',
|
|
2208
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
2209
|
+
'Axnoyu4',
|
|
2210
|
+
'zMLSzv9WyxrO',
|
|
2211
|
+
'lIbnzxnZywDLieLeoIa',
|
|
2212
|
+
'CMvJB3jK',
|
|
2213
|
+
'DgfZAW',
|
|
2214
|
+
'r0vu',
|
|
2215
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
2216
|
+
'A2LUza',
|
|
2217
|
+
'zgvZDhjVEwvK',
|
|
2218
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
2219
|
+
'z2v0sg91CNm',
|
|
2220
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
2092
2221
|
'BwLU',
|
|
2093
|
-
'
|
|
2222
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
2223
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
2094
2224
|
'D3nZoG',
|
|
2095
|
-
'
|
|
2096
|
-
'
|
|
2097
|
-
'
|
|
2098
|
-
'
|
|
2099
|
-
'
|
|
2100
|
-
'
|
|
2101
|
-
'
|
|
2102
|
-
'
|
|
2103
|
-
'
|
|
2104
|
-
'
|
|
2105
|
-
'
|
|
2106
|
-
'
|
|
2107
|
-
'
|
|
2108
|
-
'
|
|
2109
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
2110
|
-
'CgfYA193B3jRzxi',
|
|
2111
|
-
'DxbSB2fKx2zPBgu',
|
|
2112
|
-
'rMLSzsbUB3qGzM91BMq6ia',
|
|
2113
|
-
'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
|
|
2114
|
-
'mZi4mdu4zvvzBxbb',
|
|
2225
|
+
'igzHAwXLzdOG',
|
|
2226
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
2227
|
+
'DhjPBq',
|
|
2228
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
2229
|
+
'AxngAw5PDgu',
|
|
2230
|
+
'zgLYzwn0B3j5',
|
|
2231
|
+
'DMfSDwvZ',
|
|
2232
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
2233
|
+
'C2vYDMvY',
|
|
2234
|
+
'C2vUzgvYvhLWzq',
|
|
2235
|
+
'ChjVDg9JB2W',
|
|
2236
|
+
'zMLUza',
|
|
2237
|
+
'Aw5FCMv2Awv3',
|
|
2238
|
+
'yxr0ywnOBwvUDeLK',
|
|
2115
2239
|
'C3vIDgfZA051BwjLCG',
|
|
2116
|
-
'
|
|
2117
|
-
'
|
|
2118
|
-
'zgvZDhjVEwvK',
|
|
2119
|
-
'ignSywLTzwq',
|
|
2120
|
-
'Ahr0Chm6',
|
|
2121
|
-
'CMvHzeHPC3rVCNK',
|
|
2122
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
2123
|
-
'ywjVCNq',
|
|
2124
|
-
'C3rYAw5N',
|
|
2125
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
2126
|
-
'C2vYDMvYvxjS',
|
|
2127
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
2128
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
2129
|
-
'nJqWBMzpDhn0',
|
|
2130
|
-
'zg0T',
|
|
2131
|
-
'v29YA2vYici',
|
|
2132
|
-
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
2133
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
2134
|
-
'zM9Yy2vszwzYzxnO',
|
|
2135
|
-
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
2136
|
-
'AxnbyNnVBhv0zq',
|
|
2137
|
-
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
2138
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
2139
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
2140
|
-
'Cgf5Bg9HzePZB24',
|
|
2141
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
2142
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
2143
|
-
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
2144
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
2145
|
-
'y3jLyxrLx3rHC2TZ',
|
|
2146
|
-
'lcbWCMv2Awv3pq',
|
|
2147
|
-
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
2148
|
-
'iYmGu2vYDMvYoIa',
|
|
2240
|
+
'iokaLca',
|
|
2241
|
+
'iJOGC3rHDhvZpq',
|
|
2149
2242
|
'v29YA2vYia',
|
|
2150
|
-
'
|
|
2151
|
-
'
|
|
2152
|
-
'
|
|
2153
|
-
'
|
|
2154
|
-
'
|
|
2155
|
-
'
|
|
2156
|
-
'
|
|
2157
|
-
'
|
|
2158
|
-
'
|
|
2159
|
-
'
|
|
2160
|
-
'
|
|
2161
|
-
'
|
|
2162
|
-
'
|
|
2163
|
-
'
|
|
2164
|
-
'
|
|
2165
|
-
'
|
|
2166
|
-
'
|
|
2167
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
2168
|
-
'D3m6',
|
|
2169
|
-
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
2170
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
2243
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
2244
|
+
'DgfYz2v0qwDLBNrjzhm',
|
|
2245
|
+
'vgfZAYa',
|
|
2246
|
+
'DxjNzw50',
|
|
2247
|
+
'C2vUzgvYtMfTzq',
|
|
2248
|
+
'zgfLBw9UqxbPs2v5',
|
|
2249
|
+
'lMrZy29Yza',
|
|
2250
|
+
'zxH0BMfTzq',
|
|
2251
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
2252
|
+
'B2jQzwn0',
|
|
2253
|
+
'l2zPBMLZAa',
|
|
2254
|
+
'Aw5FChjVz3jLC3m',
|
|
2255
|
+
'yM9KEvrLEhq',
|
|
2256
|
+
'zNjVBq',
|
|
2257
|
+
'DMLZAwjPBgL0Eq',
|
|
2258
|
+
'y29UDgvUDc10ExbL',
|
|
2259
|
+
'zMLSDgvY',
|
|
2171
2260
|
'DgHYzwfK',
|
|
2172
|
-
'
|
|
2173
|
-
'C2HHmJu2',
|
|
2174
|
-
'DgvZDa',
|
|
2175
|
-
'DgfZA051BwjLCG',
|
|
2176
|
-
'sfruuca',
|
|
2177
|
-
'igLUia',
|
|
2178
|
-
'Bgf0zxn0u2vX',
|
|
2179
|
-
'C2vZC2LVBKLK',
|
|
2180
|
-
'Dg9mB3DLCKnHC2u',
|
|
2181
|
-
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
2182
|
-
'AgfZtw9Yzq',
|
|
2183
|
-
'DgHYzwfKswq',
|
|
2261
|
+
'AgLNAa',
|
|
2184
2262
|
'CMvWBgfJzq',
|
|
2185
|
-
'
|
|
2186
|
-
'
|
|
2187
|
-
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
2188
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
2189
|
-
'z2v0',
|
|
2190
|
-
'iIbUB3qGzM91BMq',
|
|
2191
|
-
'CM9VDe1LC3nHz2vjza',
|
|
2192
|
-
'r0vu',
|
|
2193
|
-
'DgfZAW',
|
|
2194
|
-
'xsba',
|
|
2195
|
-
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
2196
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
2197
|
-
'l2zPBMLZAa',
|
|
2198
|
-
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
2263
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
2264
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
2199
2265
|
'D29YA2vYCW',
|
|
2200
|
-
'
|
|
2201
|
-
'
|
|
2202
|
-
'
|
|
2203
|
-
'
|
|
2204
|
-
'
|
|
2205
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
2206
|
-
'l2HPC3rVCNK/',
|
|
2207
|
-
'yxjYyxLcDwzMzxi',
|
|
2208
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
2209
|
-
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
2210
|
-
'icHPzdO',
|
|
2211
|
-
'y2HHBM5LBeLK',
|
|
2212
|
-
'AxnjBNrLz2vY',
|
|
2213
|
-
'uefuq0G',
|
|
2214
|
-
'CMvXDwvZDfvYBa',
|
|
2215
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
2216
|
-
'DxrMoa',
|
|
2217
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
2218
|
-
'zMLUza',
|
|
2219
|
-
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
2220
|
-
'BMv4Den1CNnVCG',
|
|
2221
|
-
'y2HPBgrYzw5eB25L',
|
|
2222
|
-
'l3vWBg9Hza',
|
|
2223
|
-
'ywDNCMvNyxrLswq',
|
|
2224
|
-
'C2vYDMvY',
|
|
2225
|
-
'kgXLz2fJEsK',
|
|
2226
|
-
'AM9PBG',
|
|
2227
|
-
'ywDLBNrZ',
|
|
2228
|
-
'C2f2zq',
|
|
2229
|
-
'CgfYDgLJAxbHBNrjza',
|
|
2230
|
-
'w3rHCMDLDd0',
|
|
2231
|
-
'C3bSAxq',
|
|
2232
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
2233
|
-
'D29YA2vYtw9Kzq',
|
|
2234
|
-
'Dw5JBgfPBv90yxnR',
|
|
2235
|
-
'l3rHC2TZ',
|
|
2266
|
+
'mtK1nti4BgrVCxHY',
|
|
2267
|
+
'Dg9VBa',
|
|
2268
|
+
'mtu3nhLmyM1QrW',
|
|
2269
|
+
'BgLTAxq',
|
|
2270
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
2236
2271
|
'DgL0Bgu',
|
|
2237
|
-
'
|
|
2238
|
-
'
|
|
2239
|
-
'
|
|
2240
|
-
'
|
|
2241
|
-
'
|
|
2242
|
-
'
|
|
2243
|
-
'Aw1Hz2uVCg5N',
|
|
2244
|
-
'C2vUzgvYvhLWzq',
|
|
2245
|
-
'y3vYC29Y',
|
|
2246
|
-
'EM9K',
|
|
2247
|
-
'BgLZDfrHC2TZ',
|
|
2248
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
2272
|
+
'ywDLBNrjza',
|
|
2273
|
+
'CgfYDgLJAxbHBNrjza',
|
|
2274
|
+
'l3rHC2TZpW',
|
|
2275
|
+
'yMfZzw5HBwu',
|
|
2276
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
2277
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
2249
2278
|
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
2250
|
-
'
|
|
2251
|
-
'
|
|
2252
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
2253
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
2254
|
-
'ywz0zxjtzxe',
|
|
2255
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
2256
|
-
'BwvTyMvY',
|
|
2257
|
-
'y2HHBM5LBa',
|
|
2258
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
2259
|
-
'BgLTAxq',
|
|
2260
|
-
'lIbnzxnZywDLieLeoIa',
|
|
2261
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
2262
|
-
'DxbSB2fKrMLSzq',
|
|
2263
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
2279
|
+
'C2XPy2u',
|
|
2280
|
+
'Bwv0yq',
|
|
2264
2281
|
'Aw1Hz2uVz2LM',
|
|
2265
|
-
'
|
|
2266
|
-
'
|
|
2267
|
-
'
|
|
2268
|
-
'
|
|
2269
|
-
'
|
|
2270
|
-
'
|
|
2282
|
+
'zg0T',
|
|
2283
|
+
'AgfZtw9Yzq',
|
|
2284
|
+
'mJn5uuv4EK8',
|
|
2285
|
+
'BwvKAxvT',
|
|
2286
|
+
'BwfW',
|
|
2287
|
+
'lMjPBG',
|
|
2288
|
+
'zMLUywXPEMvqCM9TB3rPB24',
|
|
2289
|
+
'DxbKyxrL',
|
|
2290
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
2271
2291
|
'Dgv4Da',
|
|
2272
|
-
'
|
|
2273
|
-
'
|
|
2274
|
-
'
|
|
2275
|
-
'
|
|
2276
|
-
'
|
|
2277
|
-
'
|
|
2292
|
+
'l3bYB21VDgLVBNmVzMLUywXPEMu',
|
|
2293
|
+
'BMfTzq',
|
|
2294
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
2295
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
2296
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
2297
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
2298
|
+
'C3rYAw5N',
|
|
2299
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
2300
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
2301
|
+
'DgvZDa',
|
|
2302
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
2303
|
+
'AxngAwXL',
|
|
2304
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
2305
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
2306
|
+
'ywjVCNrLza',
|
|
2307
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
2308
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
2309
|
+
'DMLLD19MAwXL',
|
|
2278
2310
|
'y2HHBM5LBhm',
|
|
2279
|
-
'
|
|
2280
|
-
'
|
|
2281
|
-
'
|
|
2282
|
-
'
|
|
2283
|
-
'
|
|
2284
|
-
'
|
|
2285
|
-
'
|
|
2286
|
-
'
|
|
2287
|
-
'
|
|
2288
|
-
'
|
|
2289
|
-
'
|
|
2290
|
-
'
|
|
2291
|
-
'
|
|
2292
|
-
'
|
|
2293
|
-
'
|
|
2294
|
-
'
|
|
2311
|
+
'EM9K',
|
|
2312
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
2313
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
2314
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
2315
|
+
'BMv4Den1CNnVCG',
|
|
2316
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
2317
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
2318
|
+
'DxnLCG',
|
|
2319
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
2320
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
2321
|
+
'cGOTls0G',
|
|
2322
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
2323
|
+
'C29Tzq',
|
|
2324
|
+
'C2nOzwr1BgvKrM9Y',
|
|
2325
|
+
'iIbUB3qGzM91BMq',
|
|
2326
|
+
'Aw1Hz2uVANbLzW',
|
|
2327
|
+
'zxjYB3i',
|
|
2328
|
+
'igTPBMq9',
|
|
2329
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
2330
|
+
'B3b0Aw9UywW',
|
|
2331
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
2332
|
+
'CMvZDwX0sNnVBG',
|
|
2333
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
2334
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
2335
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
2336
|
+
'C3bSAxq',
|
|
2337
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5igzVCIbWCM9NCMvZCYbUB3rLCYWGAw50zxjTzwrPyxrLihn0yxr1CYWGAw50zxjUywWGBM90zxmSig9YihjLy2vPChrZihrOyxqGzg8GBM90ig5LzwqGysbYzxnWB25Zzs4GvxnLihb1yMXPyYbMB3iGzMLUywWGCMvZDwX0CYWGyMXVy2TLCNmSigHHBMrVzMzZlcbYzxzPzxCGCMvXDwvZDhmSig9Yig1LC3nHz2vZig5LzwrPBMCGysbODw1HBIbVCIbHz2vUDcbYzxnWB25Zzs4GqwrKiebTzw50Aw9UCYb3AgvUigeGC3bLy2LMAwmGCgfYDgLJAxbHBNqGBxvZDcbIzsbUB3rPzMLLzc4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
2338
|
+
'AM9PBG',
|
|
2339
|
+
'BwvZC2fNzq',
|
|
2340
|
+
'lsba',
|
|
2341
|
+
'AhvTyw5Z',
|
|
2295
2342
|
'yxjYyxK',
|
|
2296
|
-
'
|
|
2297
|
-
'
|
|
2343
|
+
'Aw50',
|
|
2344
|
+
'C2vUze1LC3nHz2u',
|
|
2345
|
+
'Bwf0y2Hoyw1L',
|
|
2346
|
+
'Dw5RBM93BG',
|
|
2347
|
+
'DxrMoa',
|
|
2348
|
+
'BgLZDfnLCNzLCG',
|
|
2349
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
2350
|
+
'y2HLy2TnzxnZywDLCW',
|
|
2351
|
+
'zw50CMLLCW',
|
|
2352
|
+
'AxnbCNjHEq',
|
|
2353
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
2354
|
+
'zMLSzw5HBwu',
|
|
2355
|
+
'icHPzdO',
|
|
2356
|
+
'C2vYDMvYvxjS',
|
|
2357
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
2358
|
+
'C3rYAw5NAwz5',
|
|
2359
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
2360
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
2361
|
+
'ChvIBgLJ',
|
|
2362
|
+
'y29UDgvUDejHC2u2na',
|
|
2363
|
+
'zhjHzNrnzxnZywDLswq',
|
|
2364
|
+
'AhjLzG',
|
|
2365
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
2366
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
2367
|
+
'zMLUywXPEMvFChjVBw90Aw9U',
|
|
2368
|
+
'nJC0mJmYzvbIwg12',
|
|
2369
|
+
'y2HHBM5LBe5HBwu',
|
|
2370
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
2371
|
+
'z2v0tw9UDgG',
|
|
2372
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
2373
|
+
'y29UDgvUDa',
|
|
2298
2374
|
'y2HHDa',
|
|
2375
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
2376
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
2377
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
2378
|
+
'Bwf4',
|
|
2379
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
2380
|
+
'DgfZA3m',
|
|
2381
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
2382
|
+
'zMLUywXPEMvFChjVBw90Aw9UigLZihDVCMTLCI1VBMX5',
|
|
2383
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
2384
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
2385
|
+
'v29YA2vYici',
|
|
2386
|
+
'yxnZAwDUzwvoyw1L',
|
|
2387
|
+
'DhLWzq',
|
|
2388
|
+
'BNvTyMvY',
|
|
2389
|
+
'C3rHCNrLza',
|
|
2390
|
+
'DgfZA0LKCW',
|
|
2391
|
+
'Aw1Hz2uVCg5N',
|
|
2392
|
+
'ig1ZzZ0',
|
|
2393
|
+
'ywz0zxjtzxe',
|
|
2394
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
2395
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
2396
|
+
'iYmGu2vYDMvYoIa',
|
|
2397
|
+
'ANnVBG',
|
|
2398
|
+
'BwvZC2fNzv9Pzhm',
|
|
2399
|
+
'zgvZy3jPyMu',
|
|
2400
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
2401
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
2402
|
+
'ig1LC3nHz2u9',
|
|
2403
|
+
'yMvMB3jL',
|
|
2404
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihvZzsb2AxnPyMLSAxr5oIbHC2LKzsbMB3iGChjVz3jLC3mGBM90zxmSigLUDgvYBwvKAwf0zsbZDgf0DxmSigLUDgvYBMfSig5VDgvZlcbVCIbYzwnLAxb0CYb0Agf0igrVig5VDcbUzwvKigeGCMvZCg9UC2uUifvZzsbWDwjSAwmGzM9YigzPBMfSihjLC3vSDhmSigjSB2nRzxjZlcbOyw5KB2zMCYWGCMv2Awv3ihjLCxvLC3rZlcbVCIbHBNL0AgLUzYb0Agf0ig5LzwrZigeGAhvTyw4GB3iGywDLBNqGCMvZCg9UC2uUifvZzsbaBwvUDgLVBNmGD2HLBIbHihnWzwnPzMLJihbHCNrPy2LWyw50ig11C3qGyMuGBM90AwzPzwqUie91DhnPzguGDgHYzwfKCYWGzg8GBM90ihnLDcb2AxnPyMLSAxr5lIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZlG',
|
|
2405
|
+
'D2fPDgLUz19PBNb1Da',
|
|
2406
|
+
'sfruuca',
|
|
2407
|
+
'Dg9KBW',
|
|
2408
|
+
'C3vJy2vZCW',
|
|
2409
|
+
'DgHYzwfKswq',
|
|
2410
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
2411
|
+
'y2f0y2G',
|
|
2299
2412
|
'zgvSzxrL',
|
|
2300
|
-
'
|
|
2301
|
-
'
|
|
2302
|
-
'
|
|
2303
|
-
'
|
|
2304
|
-
'
|
|
2305
|
-
'
|
|
2306
|
-
'
|
|
2307
|
-
'
|
|
2308
|
-
'
|
|
2413
|
+
'AxnjBNrLz2vY',
|
|
2414
|
+
'y2XHAw1FDgfZA3m',
|
|
2415
|
+
'Aw5KzxHpzG',
|
|
2416
|
+
'ig9TAxr0zwrDcG',
|
|
2417
|
+
'CMvXDwvZDfvYBa',
|
|
2418
|
+
'C3rHCNrZv2L0Aa',
|
|
2419
|
+
'yxjNDG',
|
|
2420
|
+
'D29YA2vY',
|
|
2421
|
+
'D29YA2vYsgfUzg9MzG',
|
|
2422
|
+
'y29UDgvUDfr5Cgu',
|
|
2423
|
+
'xsba',
|
|
2424
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
2425
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
2426
|
+
'BwvTyMvYCW',
|
|
2427
|
+
'CgfYA193B3jRzxi',
|
|
2428
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
2429
|
+
'l2nVBNrLBNq',
|
|
2430
|
+
'kg5VBMuP',
|
|
2431
|
+
'kgXLz2fJEsK',
|
|
2432
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
2433
|
+
'ue9tva',
|
|
2434
|
+
'zg9Uzq',
|
|
2309
2435
|
'C3vIDgfZA19UDw1IzxjZ',
|
|
2310
|
-
'
|
|
2311
|
-
'
|
|
2312
|
-
'
|
|
2313
|
-
'
|
|
2436
|
+
'zw51Bq',
|
|
2437
|
+
'Dw5JBgfPBv90yxnR',
|
|
2438
|
+
'y3jLyxrLvgfZA3m',
|
|
2439
|
+
'zxzLBNrtzxe',
|
|
2440
|
+
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
2441
|
+
'DxbSB2fKx2zPBgu',
|
|
2442
|
+
'v29YA2vYlw9UBhKUiezPBMfSAxPLigfUigfJy2vWDgvKihbYB21VDgLVBIbKCMfMDcbHzNrLCIb3CML0Aw5NigL0CYbZCgvJCYb0BYbKB2nZl3bSyw4VlcbJCMvHDgLUzYb0AguGChjVBw90zwqGDg9WlwXLDMvSihrHC2TZihrOCM91z2GGDgHLihnLCNzLCI4',
|
|
2443
|
+
'ktSGz290ignOyw5UzwW9',
|
|
2444
|
+
'BwfPBG',
|
|
2314
2445
|
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
2315
|
-
'
|
|
2316
|
-
'
|
|
2317
|
-
'
|
|
2318
|
-
'
|
|
2319
|
-
'
|
|
2320
|
-
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihvZzsb2AxnPyMLSAxr5oIbHC2LKzsbMB3iGChjVz3jLC3mGBM90zxmSigLUDgvYBwvKAwf0zsbZDgf0DxmSigLUDgvYBMfSig5VDgvZlcbVCIbYzwnLAxb0CYb0Agf0igrVig5VDcbUzwvKigeGCMvZCg9UC2uUifvZzsbWDwjSAwmGzM9YigzPBMfSihjLC3vSDhmSigjSB2nRzxjZlcbOyw5KB2zMCYWGCMv2Awv3ihjLCxvLC3rZlcbVCIbHBNL0AgLUzYb0Agf0ig5LzwrZigeGAhvTyw4GB3iGywDLBNqGCMvZCg9UC2uUifvZzsbaBwvUDgLVBNmGD2HLBIbHihnWzwnPzMLJihbHCNrPy2LWyw50ig11C3qGyMuGBM90AwzPzwqUie91DhnPzguGDgHYzwfKCYWGzg8GBM90ihnLDcb2AxnPyMLSAxr5lIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZlG',
|
|
2321
|
-
'BwvZC2fNzv9Pzhm',
|
|
2322
|
-
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
2323
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
2324
|
-
'D29YA19RzxK',
|
|
2325
|
-
'zMfSC2u',
|
|
2326
|
-
'C2L6zuj5DgvZ',
|
|
2327
|
-
'z2v0vgLTzq',
|
|
2328
|
-
'DgfZA19Pza',
|
|
2329
|
-
'C3rHDhvZ',
|
|
2330
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
2331
|
-
'Aw5FCMv2Awv3',
|
|
2446
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
2447
|
+
'z2v0',
|
|
2448
|
+
'DgHYzwfKu2HVCNrjza',
|
|
2449
|
+
'ywDNCMvNyxrLswrZ',
|
|
2450
|
+
'ywXS',
|
|
2332
2451
|
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
2333
|
-
'
|
|
2334
|
-
'
|
|
2452
|
+
'CM9VDe1LC3nHz2vjza',
|
|
2453
|
+
'Dg9ju09tDhjPBMC',
|
|
2454
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
2455
|
+
'iYmJiefNzw50CW',
|
|
2456
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
2457
|
+
'yxr0ywnOBwvUDhm',
|
|
2458
|
+
'ywjVCNq',
|
|
2459
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4GrM9Yihn1yNrHC2TZlcbHBhnVihbHC3mGC3vIDgfZA19UDw1IzxiU',
|
|
2460
|
+
'yxjYyxLcDwzMzxi',
|
|
2461
|
+
'CgfYC2u',
|
|
2462
|
+
'DgfZA051BwjLCG',
|
|
2463
|
+
'z2v0u2vJB25KCW',
|
|
2464
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
2465
|
+
'mJa1ntmZnLb3CMz0AG',
|
|
2466
|
+
'DhjPBuvUza',
|
|
2467
|
+
'Aw5JBhvKzxm',
|
|
2468
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
2469
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
2335
2470
|
'y3jLyxrLzef0',
|
|
2336
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
2337
|
-
'zxjYB3i',
|
|
2338
|
-
'cGOTls0G',
|
|
2339
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
2340
|
-
'DgHYzwfKtNvTyMvY',
|
|
2341
|
-
'zgLNzxn0',
|
|
2342
|
-
'DxjNzw50',
|
|
2343
|
-
'mtaYmZqWoenKtejgBG',
|
|
2344
|
-
'Aw1Hz2uVANbLzW',
|
|
2345
|
-
'igzHAwXLzdOG',
|
|
2346
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
2347
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
2348
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
2349
|
-
'ihr5Cgu9ywDLBNq',
|
|
2350
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
2351
|
-
'zxH0BMfTzq',
|
|
2352
|
-
'y2HLy2TnzxnZywDLCW',
|
|
2353
2471
|
'C2vUzf9TzxnZywDL',
|
|
2354
|
-
'
|
|
2355
|
-
'
|
|
2356
|
-
'
|
|
2357
|
-
'
|
|
2358
|
-
'
|
|
2359
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
2360
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
2472
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
2473
|
+
'zgvZy3jPChrPB24',
|
|
2474
|
+
'DgHYzwfKtNvTyMvY',
|
|
2475
|
+
'C29YDa',
|
|
2476
|
+
'ChvZAa',
|
|
2361
2477
|
'y2HPBgrYzw5uB3rHBa',
|
|
2362
|
-
'
|
|
2363
|
-
'
|
|
2364
|
-
'
|
|
2365
|
-
'
|
|
2366
|
-
'mc4WlJa',
|
|
2367
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
2368
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
2369
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
2370
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
2371
|
-
'DgfYz2v0zwq',
|
|
2372
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
2373
|
-
'CMvJB3jK',
|
|
2374
|
-
'iJOGC3rHDhvZpq',
|
|
2375
|
-
'l2nVBNrLBNq',
|
|
2376
|
-
'Dg9VBa',
|
|
2377
|
-
'BgLZDfnLCNzLCG',
|
|
2378
|
-
'y29UBMvJDa',
|
|
2379
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
2478
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
2479
|
+
'AgfZ',
|
|
2480
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
2481
|
+
'ywDLBNq',
|
|
2380
2482
|
'D29YA2vYx3nLC3nPB25FAwq',
|
|
2381
|
-
'
|
|
2382
|
-
'
|
|
2383
|
-
'
|
|
2384
|
-
'
|
|
2483
|
+
'BwvZC2fNzuLK',
|
|
2484
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
2485
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
2486
|
+
'Ahr0Chm6',
|
|
2487
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
2488
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
2489
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
2490
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
2491
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
2492
|
+
'Cg9ZAxrPDMu',
|
|
2493
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
2494
|
+
'igfZC2LNBMvLpua',
|
|
2385
2495
|
'z2v0twLUDxrLCW',
|
|
2386
|
-
'
|
|
2496
|
+
'zg06',
|
|
2497
|
+
'y3vYC29Y',
|
|
2498
|
+
'BgLZDfrHC2TZ',
|
|
2499
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
2500
|
+
'CMvHC29U',
|
|
2501
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
2502
|
+
'D29YA19RzxK',
|
|
2503
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
2387
2504
|
'ls1HDhrHy2HTzw50lwnHy2HLlwrPCG',
|
|
2388
|
-
'
|
|
2389
|
-
'
|
|
2390
|
-
'
|
|
2505
|
+
'uhjVBw90Aw9UigzPBMfSAxPLzcbMB3iGzhjHzNqG',
|
|
2506
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
2507
|
+
'Dg9tDhjPBMC',
|
|
2508
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
2509
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
2510
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
2511
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
2391
2512
|
'AgvHzgvYCW',
|
|
2392
|
-
'
|
|
2393
|
-
'
|
|
2394
|
-
'
|
|
2395
|
-
'
|
|
2396
|
-
'
|
|
2397
|
-
'
|
|
2398
|
-
'
|
|
2399
|
-
'
|
|
2400
|
-
'
|
|
2401
|
-
'
|
|
2402
|
-
'
|
|
2403
|
-
'
|
|
2404
|
-
'
|
|
2405
|
-
'
|
|
2406
|
-
'
|
|
2407
|
-
'
|
|
2513
|
+
'y2XHAw0GzMfPBgvK',
|
|
2514
|
+
'BM93',
|
|
2515
|
+
'DgHYzwfKvgfYz2v0',
|
|
2516
|
+
'y2HHBM5LBa',
|
|
2517
|
+
'C2f2zq',
|
|
2518
|
+
'DgfZAY0',
|
|
2519
|
+
'lIbdCMvHDgvKihrHC2SGsurZoIa',
|
|
2520
|
+
'l3rHC2TZl2nSywLT',
|
|
2521
|
+
'l3jLy2vPDMu/',
|
|
2522
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
2523
|
+
'Dg9gAxHLza',
|
|
2524
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
2525
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxHLy3v0Aw9Utw9Kzt1TywLUcLn0yxKGAw4GBwfPBIbZzxnZAw9UoIbYzwfKihrOzsbYzwzLCMvUy2vKihbSyw4Vzg9JDw1LBNqGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYaOB3iGB3rOzxj3AxnLigfKDMfUy2uGDgHLihrHC2SGAw4GBwfPBIb3AxrOB3v0igHHBMrPBMCGB2zMihrVigeGD29YA2vYks4',
|
|
2526
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
2527
|
+
'y2fJAgveAxi',
|
|
2528
|
+
'C2L6zq',
|
|
2529
|
+
'CgfYDgLJAxbHBNq',
|
|
2408
2530
|
'BgLZDf90yxnRCW',
|
|
2409
|
-
'
|
|
2410
|
-
'
|
|
2411
|
-
'
|
|
2412
|
-
'
|
|
2413
|
-
'
|
|
2414
|
-
'
|
|
2415
|
-
'
|
|
2531
|
+
'C3rHDhvZ',
|
|
2532
|
+
'zMfSC2u',
|
|
2533
|
+
'khvUA25VD24P',
|
|
2534
|
+
'Cgf5Bg9HzePZB24',
|
|
2535
|
+
'nu5JDe1uCW',
|
|
2536
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
2537
|
+
'CMvHzeHPC3rVCNK',
|
|
2538
|
+
'C2vYDMvYtMfTzq',
|
|
2539
|
+
'yM9KEu1HCMTKB3DU',
|
|
2540
|
+
'ywrK',
|
|
2541
|
+
'BgLZDf9Zzxj2zxi',
|
|
2542
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
2543
|
+
'CNvUBMLUzW',
|
|
2544
|
+
'zxHWAxjLC0f0',
|
|
2545
|
+
'yMfZzty0',
|
|
2546
|
+
'ignSywLTzwq',
|
|
2547
|
+
'mty4ntiYoxfIyunuCW',
|
|
2548
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
2549
|
+
'mZaZmZaWDfLNsuD5',
|
|
2550
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
2551
|
+
'C3rVCe1HAw4',
|
|
2552
|
+
'y3jLyxrLx3rHC2TZ',
|
|
2553
|
+
'w3rHCMDLDd0',
|
|
2554
|
+
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
2555
|
+
'DgfZAYa',
|
|
2556
|
+
'C2vX',
|
|
2557
|
+
'DgfZA0LK',
|
|
2558
|
+
'DgfZA19Pza',
|
|
2559
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
2560
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
2561
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
2562
|
+
'z2v0rNvSBfLLyxi',
|
|
2563
|
+
'Aw1Hz2uVD2vICa',
|
|
2564
|
+
'l3vWBg9Hza',
|
|
2565
|
+
'zgf0yq',
|
|
2566
|
+
'iYmJieH1BwfUCW',
|
|
2567
|
+
'CMvZCg9UC2u',
|
|
2568
|
+
'AwrSzq',
|
|
2569
|
+
'Dgv4Dc9JC3y',
|
|
2570
|
+
'ihr5Cgu9ywDLBNq',
|
|
2571
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
2572
|
+
'Bgf0zxn0u2vX',
|
|
2573
|
+
'C2LNBMfS',
|
|
2574
|
+
'ywDLBNrZ'
|
|
2416
2575
|
];
|
|
2417
|
-
|
|
2418
|
-
return
|
|
2576
|
+
_0x1d81 = function () {
|
|
2577
|
+
return _0x3ecbaf;
|
|
2419
2578
|
};
|
|
2420
|
-
return
|
|
2579
|
+
return _0x1d81();
|
|
2580
|
+
}
|
|
2581
|
+
async function runChatBridgeCli(_0x227b3f) {
|
|
2582
|
+
const _0x52c305 = {
|
|
2583
|
+
_0x13e0c8: 0x13b,
|
|
2584
|
+
_0xa0ee1b: 0x172
|
|
2585
|
+
}, _0x13963a = _0x42226e, _0xca33cc = parseChatBridgeArgs(_0x227b3f), {StdioServerTransport: _0x2d7c57} = await import(_0x13963a(0x155)), _0xe539e9 = createInternalAgentClient(_0xca33cc), _0x1bfc6c = createAttachmentCache({ 'cacheDir': _0xca33cc[_0x13963a(0x254)] }), _0x11ad22 = await createChatBridgeServer({
|
|
2586
|
+
'agentId': _0xca33cc[_0x13963a(0x23d)],
|
|
2587
|
+
'attachmentCache': _0x1bfc6c,
|
|
2588
|
+
'client': _0xe539e9,
|
|
2589
|
+
'daemonLocalUrl': _0xca33cc[_0x13963a(_0x52c305._0x13e0c8)],
|
|
2590
|
+
'uploadPreparer': prepareUploadFile,
|
|
2591
|
+
'workerModeEnabled': _0xca33cc['workerModeEnabled'],
|
|
2592
|
+
'workerMode': _0xca33cc['workerMode'],
|
|
2593
|
+
'workerThreadTarget': _0xca33cc[_0x13963a(_0x52c305._0xa0ee1b)]
|
|
2594
|
+
});
|
|
2595
|
+
await _0x11ad22[_0x13963a(0x216)]['connect'](new _0x2d7c57());
|
|
2421
2596
|
}
|
|
2422
|
-
var executedAsEntry = process[
|
|
2423
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2597
|
+
var executedAsEntry = process[_0x42226e(0x135)][0x1] ? import.meta.url === pathToFileURL(process[_0x42226e(0x135)][0x1])[_0x42226e(0xfe)] : ![];
|
|
2598
|
+
executedAsEntry && await runChatBridgeCli(process[_0x42226e(0x135)][_0x42226e(0x244)](0x2));
|
|
2424
2599
|
export {
|
|
2425
2600
|
createChatBridgeHandlers,
|
|
2426
2601
|
createChatBridgeServer,
|