@dscord/daemon 0.1.75 → 0.1.76
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 +2136 -2124
- package/dist/index.js +9981 -10100
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const _0x30157b = _0x5bbb;
|
|
2
|
+
(function (_0x303fa1, _0x7e0a73) {
|
|
3
|
+
const _0x559600 = {
|
|
4
|
+
_0x1283c5: 0x21b,
|
|
5
|
+
_0x3753dc: 0x1be,
|
|
6
|
+
_0x4baf99: 0x18f,
|
|
7
|
+
_0x4aa7a0: 0x14c,
|
|
8
|
+
_0x5d615e: 0xdb,
|
|
9
|
+
_0x321e0e: 0x230
|
|
10
|
+
}, _0x26db1a = _0x5bbb, _0x5cdd5b = _0x303fa1();
|
|
8
11
|
while (!![]) {
|
|
9
12
|
try {
|
|
10
|
-
const
|
|
11
|
-
if (
|
|
13
|
+
const _0x27948c = -parseInt(_0x26db1a(0x18e)) / 0x1 * (-parseInt(_0x26db1a(0x23d)) / 0x2) + parseInt(_0x26db1a(_0x559600._0x1283c5)) / 0x3 * (parseInt(_0x26db1a(_0x559600._0x3753dc)) / 0x4) + -parseInt(_0x26db1a(0x234)) / 0x5 + parseInt(_0x26db1a(_0x559600._0x4baf99)) / 0x6 + parseInt(_0x26db1a(0x243)) / 0x7 * (parseInt(_0x26db1a(_0x559600._0x4aa7a0)) / 0x8) + -parseInt(_0x26db1a(_0x559600._0x5d615e)) / 0x9 * (-parseInt(_0x26db1a(_0x559600._0x321e0e)) / 0xa) + -parseInt(_0x26db1a(0x1aa)) / 0xb;
|
|
14
|
+
if (_0x27948c === _0x7e0a73)
|
|
12
15
|
break;
|
|
13
16
|
else
|
|
14
|
-
|
|
15
|
-
} catch (
|
|
16
|
-
|
|
17
|
+
_0x5cdd5b['push'](_0x5cdd5b['shift']());
|
|
18
|
+
} catch (_0x2b39a0) {
|
|
19
|
+
_0x5cdd5b['push'](_0x5cdd5b['shift']());
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
|
-
}(
|
|
22
|
+
}(_0x2083, 0xb6201));
|
|
20
23
|
import { pathToFileURL } from 'node:url';
|
|
21
24
|
import {
|
|
22
25
|
mkdir,
|
|
@@ -26,75 +29,77 @@ import {
|
|
|
26
29
|
writeFile
|
|
27
30
|
} from 'node:fs/promises';
|
|
28
31
|
import { homedir } from 'node:os';
|
|
29
|
-
import
|
|
32
|
+
import _0x34ca8e from 'node:path';
|
|
30
33
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
31
|
-
'.csv':
|
|
32
|
-
'.gif':
|
|
33
|
-
'.jpeg':
|
|
34
|
+
'.csv': 'text/csv',
|
|
35
|
+
'.gif': _0x30157b(0xfe),
|
|
36
|
+
'.jpeg': 'image/jpeg',
|
|
34
37
|
'.jpg': 'image/jpeg',
|
|
35
|
-
'.json':
|
|
36
|
-
'.md':
|
|
37
|
-
'.pdf':
|
|
38
|
-
'.png':
|
|
39
|
-
'.svg':
|
|
40
|
-
'.txt':
|
|
41
|
-
'.webp':
|
|
42
|
-
'.xml':
|
|
43
|
-
'.zip':
|
|
38
|
+
'.json': _0x30157b(0xe9),
|
|
39
|
+
'.md': _0x30157b(0x183),
|
|
40
|
+
'.pdf': _0x30157b(0x185),
|
|
41
|
+
'.png': 'image/png',
|
|
42
|
+
'.svg': 'image/svg+xml',
|
|
43
|
+
'.txt': _0x30157b(0x157),
|
|
44
|
+
'.webp': _0x30157b(0x1ef),
|
|
45
|
+
'.xml': _0x30157b(0x174),
|
|
46
|
+
'.zip': _0x30157b(0x17d)
|
|
44
47
|
};
|
|
45
|
-
function guessContentType(
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
+
function guessContentType(_0x4475e8) {
|
|
49
|
+
const _0x33334a = {
|
|
50
|
+
_0x56a340: 0x24c,
|
|
51
|
+
_0x31e888: 0xf2
|
|
52
|
+
}, _0x4016b8 = _0x30157b;
|
|
53
|
+
return MIME_BY_EXTENSION[_0x34ca8e[_0x4016b8(0x1f5)](_0x4475e8)[_0x4016b8(_0x33334a._0x56a340)]()] ?? _0x4016b8(_0x33334a._0x31e888);
|
|
48
54
|
}
|
|
49
|
-
function safeFilename(
|
|
50
|
-
const
|
|
51
|
-
return
|
|
55
|
+
function safeFilename(_0x4b54d9) {
|
|
56
|
+
const _0x651f4f = _0x30157b;
|
|
57
|
+
return _0x4b54d9[_0x651f4f(0x1d2)](/[\\/]/g, '-');
|
|
52
58
|
}
|
|
53
|
-
function extensionFor(
|
|
54
|
-
const
|
|
55
|
-
return
|
|
59
|
+
function extensionFor(_0x178312) {
|
|
60
|
+
const _0x142f5a = _0x30157b, _0x1f3bf8 = Object['entries'](MIME_BY_EXTENSION)['find'](([, _0x2803a4]) => _0x2803a4 === _0x178312);
|
|
61
|
+
return _0x1f3bf8?.[0x0] ?? _0x142f5a(0x146);
|
|
56
62
|
}
|
|
57
|
-
async function prepareUploadFile(
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
const _0x2f4659 = await readFile(_0x425e72), _0x4843e3 = _0x1af049['basename'](_0x425e72);
|
|
63
|
+
async function prepareUploadFile(_0x1f47c2, _0x3088f4 = {}) {
|
|
64
|
+
const _0x413289 = {
|
|
65
|
+
_0x4d8f39: 0xc3,
|
|
66
|
+
_0x6d5f43: 0x12e
|
|
67
|
+
}, _0x420977 = _0x30157b;
|
|
68
|
+
if (!_0x34ca8e[_0x420977(0x1e6)](_0x1f47c2))
|
|
69
|
+
throw new Error(_0x420977(0x165));
|
|
70
|
+
const _0x3c912a = await stat(_0x1f47c2)[_0x420977(_0x413289._0x4d8f39)](() => null);
|
|
71
|
+
if (!_0x3c912a || !_0x3c912a['isFile']())
|
|
72
|
+
throw new Error('File\x20not\x20found:\x20' + _0x1f47c2);
|
|
73
|
+
const _0x2002cf = _0x3088f4[_0x420977(0x11c)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
74
|
+
if (_0x3c912a[_0x420977(0x169)] > _0x2002cf)
|
|
75
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x3c912a[_0x420977(0x169)]);
|
|
76
|
+
const _0x929566 = await readFile(_0x1f47c2), _0x30bb = _0x34ca8e[_0x420977(0x1e7)](_0x1f47c2);
|
|
72
77
|
return {
|
|
73
|
-
'contentBase64':
|
|
74
|
-
'contentType': guessContentType(
|
|
75
|
-
'filename':
|
|
76
|
-
'sizeBytes':
|
|
78
|
+
'contentBase64': _0x929566[_0x420977(0x1a7)](_0x420977(_0x413289._0x6d5f43)),
|
|
79
|
+
'contentType': guessContentType(_0x30bb),
|
|
80
|
+
'filename': _0x30bb,
|
|
81
|
+
'sizeBytes': _0x3c912a[_0x420977(0x169)]
|
|
77
82
|
};
|
|
78
83
|
}
|
|
79
|
-
function createAttachmentCache(
|
|
80
|
-
const
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
},
|
|
84
|
+
function createAttachmentCache(_0x26dcb7 = {}) {
|
|
85
|
+
const _0x513870 = { _0x3f178c: 0x195 }, _0x38a0b6 = {
|
|
86
|
+
_0x39f95a: 0x1a4,
|
|
87
|
+
_0xbc7013: 0x189,
|
|
88
|
+
_0x4d6293: 0xfb
|
|
89
|
+
}, _0x71a3f9 = _0x30157b, _0x336ac0 = _0x26dcb7[_0x71a3f9(_0x513870._0x3f178c)] ?? _0x34ca8e['join'](homedir(), _0x71a3f9(0x228), 'attachments');
|
|
85
90
|
return {
|
|
86
|
-
'cacheDir':
|
|
87
|
-
async 'findCachedPath'(
|
|
88
|
-
const
|
|
89
|
-
await mkdir(
|
|
90
|
-
const
|
|
91
|
-
return
|
|
91
|
+
'cacheDir': _0x336ac0,
|
|
92
|
+
async 'findCachedPath'(_0x49c9ac) {
|
|
93
|
+
const _0x304598 = _0x71a3f9;
|
|
94
|
+
await mkdir(_0x336ac0, { 'recursive': !![] });
|
|
95
|
+
const _0x29c77f = await readdir(_0x336ac0), _0x51d501 = _0x29c77f['find'](_0x3d3d26 => _0x3d3d26[_0x304598(0x23e)](_0x49c9ac + '-') || _0x3d3d26['startsWith'](_0x49c9ac));
|
|
96
|
+
return _0x51d501 ? _0x34ca8e['join'](_0x336ac0, _0x51d501) : null;
|
|
92
97
|
},
|
|
93
|
-
async 'save'(
|
|
94
|
-
const
|
|
95
|
-
await mkdir(
|
|
96
|
-
const
|
|
97
|
-
return await writeFile(
|
|
98
|
+
async 'save'(_0x35a55c) {
|
|
99
|
+
const _0xd8dc22 = _0x71a3f9;
|
|
100
|
+
await mkdir(_0x336ac0, { 'recursive': !![] });
|
|
101
|
+
const _0x334090 = _0x35a55c[_0xd8dc22(_0x38a0b6._0x39f95a)]?.[_0xd8dc22(_0x38a0b6._0xbc7013)]() ? safeFilename(_0x35a55c[_0xd8dc22(0x1a4)]) : '' + _0x35a55c['attachmentId'] + extensionFor(_0x35a55c['contentType']), _0xc40cff = _0x34ca8e[_0xd8dc22(_0x38a0b6._0x4d6293)](_0x336ac0, _0x35a55c[_0xd8dc22(0x21a)] + '-' + _0x334090);
|
|
102
|
+
return await writeFile(_0xc40cff, _0x35a55c[_0xd8dc22(0x1e9)]), _0xc40cff;
|
|
98
103
|
}
|
|
99
104
|
};
|
|
100
105
|
}
|
|
@@ -102,2343 +107,2350 @@ import {
|
|
|
102
107
|
createHash,
|
|
103
108
|
randomUUID
|
|
104
109
|
} from 'node:crypto';
|
|
105
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
106
|
-
function ensureSegment(
|
|
107
|
-
const
|
|
108
|
-
if (!
|
|
110
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x30157b(0x154);
|
|
111
|
+
function ensureSegment(_0x400b78) {
|
|
112
|
+
const _0x367747 = { _0x446122: 0x189 }, _0x88a8d1 = _0x30157b, _0x419d9b = _0x400b78[_0x88a8d1(_0x367747._0x446122)]();
|
|
113
|
+
if (!_0x419d9b || _0x419d9b[_0x88a8d1(0x145)](':'))
|
|
109
114
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
110
|
-
return
|
|
115
|
+
return _0x419d9b;
|
|
111
116
|
}
|
|
112
|
-
function parseThreadParts(
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
_0x585911: 0x20a
|
|
116
|
-
}, _0x1dbe0d = _0x5468a7, _0x28519f = _0x3adc21['split'](':');
|
|
117
|
-
if (_0x28519f[_0x1dbe0d(_0x2d7f0c._0x2ee86e)] < 0x1 || _0x28519f[_0x1dbe0d(_0x2d7f0c._0x585911)] > 0x2)
|
|
117
|
+
function parseThreadParts(_0x7d3d1b) {
|
|
118
|
+
const _0xa8d872 = { _0x3caf9e: 0x137 }, _0x4c5775 = _0x30157b, _0x63b18a = _0x7d3d1b[_0x4c5775(_0xa8d872._0x3caf9e)](':');
|
|
119
|
+
if (_0x63b18a[_0x4c5775(0x1c2)] < 0x1 || _0x63b18a[_0x4c5775(0x1c2)] > 0x2)
|
|
118
120
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
119
121
|
return {
|
|
120
|
-
'channelName': ensureSegment(
|
|
121
|
-
'threadShortId':
|
|
122
|
+
'channelName': ensureSegment(_0x63b18a[0x0] ?? ''),
|
|
123
|
+
'threadShortId': _0x63b18a[0x1] ? ensureSegment(_0x63b18a[0x1]) : null
|
|
122
124
|
};
|
|
123
125
|
}
|
|
124
|
-
function parseTarget(
|
|
125
|
-
const
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
126
|
+
function parseTarget(_0x4a661e) {
|
|
127
|
+
const _0x139c8a = {
|
|
128
|
+
_0x31e90f: 0x189,
|
|
129
|
+
_0x4f7795: 0xc5,
|
|
130
|
+
_0x554892: 0x225,
|
|
131
|
+
_0x524b7d: 0x153,
|
|
132
|
+
_0x361f23: 0x1d8,
|
|
133
|
+
_0x2a9ff4: 0x10b,
|
|
134
|
+
_0x2cd7b3: 0x23e,
|
|
135
|
+
_0x688eff: 0x235,
|
|
136
|
+
_0x458244: 0x14a,
|
|
137
|
+
_0x5043af: 0x225
|
|
138
|
+
}, _0x50cd95 = _0x30157b, _0x3fda44 = _0x4a661e[_0x50cd95(_0x139c8a._0x31e90f)]();
|
|
139
|
+
if (!_0x3fda44)
|
|
136
140
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
137
|
-
if (
|
|
138
|
-
const
|
|
139
|
-
if (!
|
|
141
|
+
if (_0x3fda44[_0x50cd95(0x23e)]('#')) {
|
|
142
|
+
const _0x39c595 = parseThreadParts(_0x3fda44[_0x50cd95(0x10b)](0x1)), _0x5d3356 = '#' + _0x39c595[_0x50cd95(_0x139c8a._0x4f7795)];
|
|
143
|
+
if (!_0x39c595[_0x50cd95(0x14a)])
|
|
140
144
|
return {
|
|
141
|
-
'channelName':
|
|
142
|
-
'channelTarget':
|
|
143
|
-
'kind':
|
|
144
|
-
'target':
|
|
145
|
+
'channelName': _0x39c595[_0x50cd95(0xc5)],
|
|
146
|
+
'channelTarget': _0x5d3356,
|
|
147
|
+
'kind': _0x50cd95(_0x139c8a._0x554892),
|
|
148
|
+
'target': _0x5d3356
|
|
145
149
|
};
|
|
146
150
|
return {
|
|
147
|
-
'channelName':
|
|
148
|
-
'channelTarget':
|
|
149
|
-
'kind':
|
|
150
|
-
'target':
|
|
151
|
-
'threadShortId':
|
|
151
|
+
'channelName': _0x39c595[_0x50cd95(0xc5)],
|
|
152
|
+
'channelTarget': _0x5d3356,
|
|
153
|
+
'kind': _0x50cd95(_0x139c8a._0x524b7d),
|
|
154
|
+
'target': _0x5d3356 + ':' + _0x39c595[_0x50cd95(0x14a)],
|
|
155
|
+
'threadShortId': _0x39c595['threadShortId']
|
|
152
156
|
};
|
|
153
157
|
}
|
|
154
|
-
if (
|
|
155
|
-
const
|
|
156
|
-
if (!
|
|
158
|
+
if (_0x3fda44['startsWith'](_0x50cd95(_0x139c8a._0x361f23))) {
|
|
159
|
+
const _0x4aeff4 = parseThreadParts(_0x3fda44[_0x50cd95(_0x139c8a._0x2a9ff4)](0x3));
|
|
160
|
+
if (!_0x4aeff4[_0x50cd95(0xc5)][_0x50cd95(_0x139c8a._0x2cd7b3)](_0x50cd95(_0x139c8a._0x688eff)))
|
|
157
161
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
158
|
-
const
|
|
159
|
-
if (!
|
|
162
|
+
const _0x46dfc3 = _0x50cd95(0x1d8) + _0x4aeff4['channelName'];
|
|
163
|
+
if (!_0x4aeff4[_0x50cd95(_0x139c8a._0x458244)])
|
|
160
164
|
return {
|
|
161
|
-
'channelName':
|
|
162
|
-
'channelTarget':
|
|
163
|
-
'kind':
|
|
164
|
-
'target':
|
|
165
|
+
'channelName': _0x4aeff4[_0x50cd95(0xc5)],
|
|
166
|
+
'channelTarget': _0x46dfc3,
|
|
167
|
+
'kind': _0x50cd95(_0x139c8a._0x5043af),
|
|
168
|
+
'target': _0x46dfc3
|
|
165
169
|
};
|
|
166
170
|
return {
|
|
167
|
-
'channelName':
|
|
168
|
-
'channelTarget':
|
|
169
|
-
'kind':
|
|
170
|
-
'target':
|
|
171
|
-
'threadShortId':
|
|
171
|
+
'channelName': _0x4aeff4['channelName'],
|
|
172
|
+
'channelTarget': _0x46dfc3,
|
|
173
|
+
'kind': 'thread',
|
|
174
|
+
'target': _0x46dfc3 + ':' + _0x4aeff4[_0x50cd95(0x14a)],
|
|
175
|
+
'threadShortId': _0x4aeff4[_0x50cd95(0x14a)]
|
|
172
176
|
};
|
|
173
177
|
}
|
|
174
178
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
175
179
|
}
|
|
176
|
-
function asErrorMessage(
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
180
|
+
function asErrorMessage(_0x167056, _0x1dda0e) {
|
|
181
|
+
const _0x229690 = {
|
|
182
|
+
_0x13fbfb: 0xd6,
|
|
183
|
+
_0x26ac1c: 0x189
|
|
184
|
+
}, _0x3d2911 = _0x30157b;
|
|
185
|
+
if (typeof _0x167056 === _0x3d2911(_0x229690._0x13fbfb) && _0x167056[_0x3d2911(_0x229690._0x26ac1c)]())
|
|
186
|
+
return _0x167056;
|
|
187
|
+
return _0x1dda0e;
|
|
181
188
|
}
|
|
182
|
-
function asRecord(
|
|
183
|
-
const
|
|
184
|
-
return typeof
|
|
189
|
+
function asRecord(_0x12e747) {
|
|
190
|
+
const _0x2eb2b0 = _0x30157b;
|
|
191
|
+
return typeof _0x12e747 === _0x2eb2b0(0x1b6) && _0x12e747 !== null ? _0x12e747 : {};
|
|
185
192
|
}
|
|
186
|
-
function stableStringify(
|
|
187
|
-
const
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
return '{' + _0x56699c['join'](',') + '}';
|
|
193
|
+
function stableStringify(_0x1eecae) {
|
|
194
|
+
const _0x4f1fe9 = {
|
|
195
|
+
_0x1820bc: 0xf7,
|
|
196
|
+
_0x449b3d: 0xf1,
|
|
197
|
+
_0xb36088: 0xfb
|
|
198
|
+
}, _0x6320c1 = _0x30157b;
|
|
199
|
+
if (_0x1eecae === null || typeof _0x1eecae !== _0x6320c1(0x1b6))
|
|
200
|
+
return JSON[_0x6320c1(_0x4f1fe9._0x1820bc)](_0x1eecae);
|
|
201
|
+
if (Array[_0x6320c1(_0x4f1fe9._0x449b3d)](_0x1eecae))
|
|
202
|
+
return '[' + _0x1eecae[_0x6320c1(0x207)](_0x4979c4 => stableStringify(_0x4979c4))[_0x6320c1(_0x4f1fe9._0xb36088)](',') + ']';
|
|
203
|
+
const _0x25f06b = Object['entries'](_0x1eecae)['filter'](([, _0xbb73bd]) => _0xbb73bd !== void 0x0)[_0x6320c1(0x1ca)](([_0x5e2aee], [_0x2f3828]) => _0x5e2aee[_0x6320c1(0xc8)](_0x2f3828))[_0x6320c1(0x207)](([_0x5a0e4b, _0x1b7edd]) => JSON[_0x6320c1(0xf7)](_0x5a0e4b) + ':' + stableStringify(_0x1b7edd));
|
|
204
|
+
return '{' + _0x25f06b['join'](',') + '}';
|
|
199
205
|
}
|
|
200
|
-
function createHeaders(
|
|
206
|
+
function createHeaders(_0x581ac7) {
|
|
207
|
+
const _0x1fc43f = { _0x5f6a5b: 0xe9 }, _0xd7b86b = _0x30157b;
|
|
201
208
|
return {
|
|
202
|
-
'Content-Type':
|
|
203
|
-
'x-daemon-api-key':
|
|
209
|
+
'Content-Type': _0xd7b86b(_0x1fc43f._0x5f6a5b),
|
|
210
|
+
'x-daemon-api-key': _0x581ac7
|
|
204
211
|
};
|
|
205
212
|
}
|
|
206
|
-
function toHttpBaseUrl(
|
|
207
|
-
const
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
if (
|
|
213
|
-
|
|
213
|
+
function toHttpBaseUrl(_0x18245a) {
|
|
214
|
+
const _0x5e7603 = {
|
|
215
|
+
_0x4c233e: 0x17b,
|
|
216
|
+
_0x2ddd49: 0x1a7,
|
|
217
|
+
_0x4f3eea: 0x1d2
|
|
218
|
+
}, _0x42c348 = _0x30157b, _0x1e6142 = new URL(_0x18245a);
|
|
219
|
+
if (_0x1e6142[_0x42c348(0x125)] === 'ws:')
|
|
220
|
+
_0x1e6142[_0x42c348(0x125)] = _0x42c348(0x21c);
|
|
214
221
|
else
|
|
215
|
-
|
|
216
|
-
return
|
|
222
|
+
_0x1e6142[_0x42c348(0x125)] === _0x42c348(_0x5e7603._0x4c233e) && (_0x1e6142['protocol'] = 'https:');
|
|
223
|
+
return _0x1e6142[_0x42c348(_0x5e7603._0x2ddd49)]()[_0x42c348(_0x5e7603._0x4f3eea)](/\/$/, '');
|
|
217
224
|
}
|
|
218
|
-
function isMentionBoundary(
|
|
219
|
-
const
|
|
220
|
-
return !
|
|
225
|
+
function isMentionBoundary(_0x3f51c2) {
|
|
226
|
+
const _0x32f400 = { _0x5ef69d: 0x1d9 }, _0x4ec7a7 = _0x30157b;
|
|
227
|
+
return !_0x3f51c2 || /\s|[([{'",。!?、:;]/[_0x4ec7a7(_0x32f400._0x5ef69d)](_0x3f51c2);
|
|
221
228
|
}
|
|
222
|
-
function isMentionTerminal(
|
|
223
|
-
const
|
|
224
|
-
return !
|
|
229
|
+
function isMentionTerminal(_0xf8734) {
|
|
230
|
+
const _0x4e5ead = _0x30157b;
|
|
231
|
+
return !_0xf8734 || /\s|[)\]}'",。!?、:;,.!?]/[_0x4e5ead(0x1d9)](_0xf8734);
|
|
225
232
|
}
|
|
226
|
-
function buildMatchableEntries(
|
|
227
|
-
const
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
},
|
|
232
|
-
for (const
|
|
233
|
-
...
|
|
234
|
-
...
|
|
233
|
+
function buildMatchableEntries(_0x14f642) {
|
|
234
|
+
const _0x2fbcc4 = {
|
|
235
|
+
_0x17de14: 0x1b7,
|
|
236
|
+
_0x3d35e9: 0x23b,
|
|
237
|
+
_0x177ed7: 0x1b1
|
|
238
|
+
}, _0xe42cd5 = _0x30157b, _0x3a5798 = [];
|
|
239
|
+
for (const _0x2d203d of [
|
|
240
|
+
..._0x14f642[_0xe42cd5(_0x2fbcc4._0x17de14)],
|
|
241
|
+
..._0x14f642[_0xe42cd5(0x1f7)]
|
|
235
242
|
]) {
|
|
236
|
-
|
|
237
|
-
'matchName':
|
|
238
|
-
'matchNameLower':
|
|
239
|
-
'participantId':
|
|
240
|
-
}),
|
|
241
|
-
'matchName':
|
|
242
|
-
'matchNameLower':
|
|
243
|
-
'participantId':
|
|
243
|
+
_0x3a5798['push']({
|
|
244
|
+
'matchName': _0x2d203d['name'],
|
|
245
|
+
'matchNameLower': _0x2d203d[_0xe42cd5(_0x2fbcc4._0x3d35e9)][_0xe42cd5(_0x2fbcc4._0x177ed7)](),
|
|
246
|
+
'participantId': _0x2d203d['id']
|
|
247
|
+
}), _0x2d203d['id'] !== _0x2d203d['name'] && _0x3a5798['push']({
|
|
248
|
+
'matchName': _0x2d203d['id'],
|
|
249
|
+
'matchNameLower': _0x2d203d['id'][_0xe42cd5(_0x2fbcc4._0x177ed7)](),
|
|
250
|
+
'participantId': _0x2d203d['id']
|
|
244
251
|
});
|
|
245
252
|
}
|
|
246
|
-
return
|
|
253
|
+
return _0x3a5798;
|
|
247
254
|
}
|
|
248
|
-
function extractMentionedParticipantIds(
|
|
249
|
-
const
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
if (_0x32eb4b[_0xcf4ae9] !== '@' || !isMentionBoundary(_0x32eb4b[_0xcf4ae9 - 0x1]))
|
|
255
|
+
function extractMentionedParticipantIds(_0x3c9e02, _0x10899e) {
|
|
256
|
+
const _0x2160a4 = {
|
|
257
|
+
_0x3a7450: 0x1c2,
|
|
258
|
+
_0x99187: 0x1b1,
|
|
259
|
+
_0x2dc4c6: 0x227,
|
|
260
|
+
_0x1982c2: 0x15e,
|
|
261
|
+
_0x4e3bc2: 0x1c3,
|
|
262
|
+
_0x283bb2: 0x188,
|
|
263
|
+
_0x55880b: 0xf4
|
|
264
|
+
}, _0x178060 = { _0x2b3ee3: 0x201 }, _0x10dedf = _0x30157b, _0x2efd22 = buildMatchableEntries(_0x10899e)[_0x10dedf(0x1ca)]((_0x7d95b7, _0xf89500) => _0xf89500[_0x10dedf(0xf4)]['length'] - _0x7d95b7[_0x10dedf(0xf4)][_0x10dedf(0x1c2)]), _0x10f313 = [], _0x8b2cb9 = new Set();
|
|
265
|
+
for (let _0xc05097 = 0x0; _0xc05097 < _0x3c9e02[_0x10dedf(_0x2160a4._0x3a7450)]; _0xc05097 += 0x1) {
|
|
266
|
+
if (_0x3c9e02[_0xc05097] !== '@' || !isMentionBoundary(_0x3c9e02[_0xc05097 - 0x1]))
|
|
261
267
|
continue;
|
|
262
|
-
const
|
|
263
|
-
const
|
|
264
|
-
if (!
|
|
268
|
+
const _0x5173a4 = _0x3c9e02['slice'](_0xc05097 + 0x1), _0x121ad5 = _0x5173a4[_0x10dedf(_0x2160a4._0x99187)](), _0x5d7c63 = _0x2efd22[_0x10dedf(_0x2160a4._0x2dc4c6)](_0x43874a => {
|
|
269
|
+
const _0x2f7da7 = _0x10dedf;
|
|
270
|
+
if (!_0x121ad5['startsWith'](_0x43874a[_0x2f7da7(_0x178060._0x2b3ee3)]))
|
|
265
271
|
return ![];
|
|
266
|
-
return isMentionTerminal(
|
|
272
|
+
return isMentionTerminal(_0x5173a4[_0x43874a[_0x2f7da7(0xf4)]['length']]);
|
|
267
273
|
});
|
|
268
|
-
if (!
|
|
274
|
+
if (!_0x5d7c63 || _0x8b2cb9[_0x10dedf(_0x2160a4._0x1982c2)](_0x5d7c63[_0x10dedf(0x188)]))
|
|
269
275
|
continue;
|
|
270
|
-
|
|
276
|
+
_0x8b2cb9[_0x10dedf(0x133)](_0x5d7c63[_0x10dedf(0x188)]), _0x10f313[_0x10dedf(_0x2160a4._0x4e3bc2)](_0x5d7c63[_0x10dedf(_0x2160a4._0x283bb2)]), _0xc05097 += _0x5d7c63[_0x10dedf(_0x2160a4._0x55880b)][_0x10dedf(0x1c2)];
|
|
271
277
|
}
|
|
272
|
-
return
|
|
278
|
+
return _0x10f313;
|
|
273
279
|
}
|
|
274
280
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
275
|
-
function anySignal(...
|
|
276
|
-
const
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
for (const _0x3e7add of _0x547d4f) {
|
|
282
|
-
if (_0x3e7add[_0x3ced1b(_0x1e4124._0x13830b)])
|
|
283
|
-
return _0x4cbc41['abort'](_0x3e7add['reason']), _0x4cbc41[_0x3ced1b(0x1c3)];
|
|
284
|
-
_0x3e7add[_0x3ced1b(_0x1e4124._0x249464)](_0x3ced1b(0x28b), () => _0x4cbc41['abort'](_0x3e7add['reason']), {
|
|
281
|
+
function anySignal(..._0x442424) {
|
|
282
|
+
const _0x3b3393 = { _0x3508a5: 0xcf }, _0x358a9b = _0x30157b, _0x1466dd = new AbortController();
|
|
283
|
+
for (const _0x52b8ad of _0x442424) {
|
|
284
|
+
if (_0x52b8ad['aborted'])
|
|
285
|
+
return _0x1466dd[_0x358a9b(0xcf)](_0x52b8ad[_0x358a9b(0x14f)]), _0x1466dd[_0x358a9b(0x173)];
|
|
286
|
+
_0x52b8ad[_0x358a9b(0x23f)](_0x358a9b(_0x3b3393._0x3508a5), () => _0x1466dd[_0x358a9b(0xcf)](_0x52b8ad['reason']), {
|
|
285
287
|
'once': !![],
|
|
286
|
-
'signal':
|
|
288
|
+
'signal': _0x1466dd['signal']
|
|
287
289
|
});
|
|
288
290
|
}
|
|
289
|
-
return
|
|
291
|
+
return _0x1466dd['signal'];
|
|
290
292
|
}
|
|
291
|
-
function createInternalAgentClient(
|
|
292
|
-
const
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
},
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
},
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
},
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
293
|
+
function createInternalAgentClient(_0x57bd42) {
|
|
294
|
+
const _0x406479 = {
|
|
295
|
+
_0x2f1463: 0x13a,
|
|
296
|
+
_0x5bc2f7: 0x218,
|
|
297
|
+
_0xbf24bc: 0x189,
|
|
298
|
+
_0x420551: 0x192,
|
|
299
|
+
_0x3e2c97: 0xfa,
|
|
300
|
+
_0xb50cb1: 0x1bc
|
|
301
|
+
}, _0x2853df = {
|
|
302
|
+
_0x1162b1: 0x19e,
|
|
303
|
+
_0x8a1a3c: 0x1a7,
|
|
304
|
+
_0x48c4ac: 0x16c,
|
|
305
|
+
_0x5d1de8: 0xe4,
|
|
306
|
+
_0x21bbb3: 0x14b,
|
|
307
|
+
_0x562763: 0xe4,
|
|
308
|
+
_0x5d5165: 0x22a,
|
|
309
|
+
_0x4d4a8c: 0x1a8,
|
|
310
|
+
_0xc14dd5: 0x207,
|
|
311
|
+
_0x4c1652: 0x1e5,
|
|
312
|
+
_0x3d49c7: 0xd6,
|
|
313
|
+
_0x1a0d77: 0x220,
|
|
314
|
+
_0x2e5c91: 0x1dd,
|
|
315
|
+
_0x48fa78: 0x17f,
|
|
316
|
+
_0xcbd175: 0x1ce,
|
|
317
|
+
_0x4f0218: 0x1b9,
|
|
318
|
+
_0x3eebc9: 0x1dd,
|
|
319
|
+
_0x4ac66c: 0x129,
|
|
320
|
+
_0x18ee00: 0x19e,
|
|
321
|
+
_0x1f899f: 0x147,
|
|
322
|
+
_0x201dcc: 0x1d8,
|
|
323
|
+
_0x4c51d2: 0xbf,
|
|
324
|
+
_0x2de85: 0x18d,
|
|
325
|
+
_0x4158bf: 0x213,
|
|
326
|
+
_0x5cd969: 0x212,
|
|
327
|
+
_0x48b3ec: 0x239,
|
|
328
|
+
_0x3650a1: 0x23a,
|
|
329
|
+
_0x19f2f6: 0x212,
|
|
330
|
+
_0x2ce423: 0x13f,
|
|
331
|
+
_0x2eff3f: 0x1c3,
|
|
332
|
+
_0x53a408: 0x158,
|
|
333
|
+
_0x3b9f6c: 0x22a
|
|
334
|
+
}, _0x33077b = {
|
|
335
|
+
_0x4a0d2d: 0x225,
|
|
336
|
+
_0x4272fd: 0xd9,
|
|
337
|
+
_0x300c00: 0x140
|
|
338
|
+
}, _0x477b00 = {
|
|
339
|
+
_0xec6a6e: 0x1bf,
|
|
340
|
+
_0x14379a: 0x19d,
|
|
341
|
+
_0xfc55b2: 0x1a7
|
|
342
|
+
}, _0x2fc8fe = {
|
|
343
|
+
_0x46a3de: 0xca,
|
|
344
|
+
_0x23545c: 0x110,
|
|
345
|
+
_0x58ec31: 0xda,
|
|
346
|
+
_0x553fad: 0x238,
|
|
347
|
+
_0x4dbaee: 0x1ea,
|
|
348
|
+
_0x5a862a: 0xf2,
|
|
349
|
+
_0x58bcaa: 0x14e
|
|
350
|
+
}, _0x27f9c6 = {
|
|
351
|
+
_0x18b19e: 0x1bf,
|
|
352
|
+
_0x28924a: 0x1dc,
|
|
353
|
+
_0x4ecf71: 0xf7,
|
|
354
|
+
_0x323282: 0x15c,
|
|
355
|
+
_0xe37556: 0x1a4,
|
|
356
|
+
_0x36b502: 0x1e9
|
|
357
|
+
}, _0x1d43fd = { _0xd583b4: 0xf7 }, _0x186f86 = {
|
|
358
|
+
_0x54283d: 0x222,
|
|
359
|
+
_0x2d03a7: 0x18a,
|
|
360
|
+
_0x42d8a1: 0xf8
|
|
361
|
+
}, _0x5c8b8d = {
|
|
362
|
+
_0x47f3db: 0xf7,
|
|
363
|
+
_0x13b449: 0x113
|
|
364
|
+
}, _0x23473a = {
|
|
365
|
+
_0x5b658f: 0x1bf,
|
|
366
|
+
_0xa3f29a: 0xf7
|
|
367
|
+
}, _0x5e5bb5 = {
|
|
368
|
+
_0x23c0d1: 0x19e,
|
|
369
|
+
_0x56d140: 0x240,
|
|
370
|
+
_0x35073c: 0x1bf,
|
|
371
|
+
_0x275e79: 0x12b,
|
|
372
|
+
_0x1865e1: 0x1a7
|
|
373
|
+
}, _0x55bfe2 = { _0x162a7b: 0xe5 }, _0x20682 = {
|
|
374
|
+
_0x21dea8: 0x170,
|
|
375
|
+
_0x19543e: 0xe5,
|
|
376
|
+
_0x223cb1: 0xf7,
|
|
377
|
+
_0x2d0968: 0xcc
|
|
378
|
+
}, _0x49994d = { _0x141f5e: 0xbc }, _0x257c00 = { _0x2f3049: 0x155 }, _0x3d2de0 = {
|
|
379
|
+
_0x3d5a80: 0x160,
|
|
380
|
+
_0x251580: 0x1e1,
|
|
381
|
+
_0x2e7292: 0x1c2,
|
|
382
|
+
_0x196f41: 0x194,
|
|
383
|
+
_0x1633cc: 0x1e9
|
|
384
|
+
}, _0x3beb6e = {
|
|
385
|
+
_0x2d1adc: 0x140,
|
|
386
|
+
_0x237925: 0x140,
|
|
387
|
+
_0x309487: 0x194,
|
|
388
|
+
_0x217405: 0x19e,
|
|
389
|
+
_0xa68ab7: 0x220,
|
|
390
|
+
_0x593c3e: 0x220,
|
|
391
|
+
_0xbfa9c7: 0x19e,
|
|
392
|
+
_0x53ed07: 0x1ae,
|
|
393
|
+
_0x59f4f9: 0x1ae,
|
|
394
|
+
_0x5b4ae1: 0x1bf,
|
|
395
|
+
_0x395866: 0x110,
|
|
396
|
+
_0x5813c5: 0x1e9,
|
|
397
|
+
_0x5a89aa: 0xea,
|
|
398
|
+
_0x114466: 0x1a9
|
|
399
|
+
}, _0x1882ef = {
|
|
400
|
+
_0x4ecc55: 0x188,
|
|
401
|
+
_0x1497d7: 0x17a
|
|
402
|
+
}, _0x197f00 = {
|
|
403
|
+
_0x24ce56: 0x153,
|
|
404
|
+
_0x24b0f8: 0x194,
|
|
405
|
+
_0xc3bc73: 0x23e,
|
|
406
|
+
_0x22e9cc: 0x14a
|
|
407
|
+
}, _0x964414 = {
|
|
408
|
+
_0x4ecebd: 0xf6,
|
|
409
|
+
_0x641a68: 0x14a,
|
|
410
|
+
_0x21a62d: 0x1dd,
|
|
411
|
+
_0x1e5878: 0x14a,
|
|
412
|
+
_0x53c42c: 0x1dd,
|
|
413
|
+
_0x8bb2d8: 0x23e,
|
|
414
|
+
_0x1edce2: 0x14a
|
|
415
|
+
}, _0x5efc59 = {
|
|
416
|
+
_0x388a67: 0x17f,
|
|
417
|
+
_0x6d71e2: 0xf6,
|
|
418
|
+
_0x1b852e: 0x1dd
|
|
419
|
+
}, _0x1a8036 = { _0x5028db: 0x1b7 }, _0x59c716 = {
|
|
420
|
+
_0x2987a6: 0x1b7,
|
|
421
|
+
_0x538933: 0x178
|
|
422
|
+
}, _0x3a1b92 = {
|
|
423
|
+
_0x498cba: 0x110,
|
|
424
|
+
_0x407a5b: 0x1e9,
|
|
425
|
+
_0x1d1857: 0x22a,
|
|
426
|
+
_0x26f6b4: 0x207,
|
|
427
|
+
_0x2d41e2: 0x1e9,
|
|
428
|
+
_0x228416: 0xfc,
|
|
429
|
+
_0x44392c: 0xfc
|
|
430
|
+
}, _0x34ac3e = {
|
|
431
|
+
_0x4ce2ee: 0x220,
|
|
432
|
+
_0x46bf41: 0xf6,
|
|
433
|
+
_0x5cbee8: 0x1e9
|
|
434
|
+
}, _0x47aa20 = { _0x5d11e2: 0xf8 }, _0xd9548b = {
|
|
435
|
+
_0x4a7a6a: 0x1f0,
|
|
436
|
+
_0x575c31: 0x116
|
|
437
|
+
}, _0x2db50a = {
|
|
438
|
+
_0x41eeb1: 0x173,
|
|
439
|
+
_0x343917: 0x240
|
|
440
|
+
}, _0x40b48e = {
|
|
441
|
+
_0x4724ec: 0x173,
|
|
442
|
+
_0x2688df: 0xdd
|
|
443
|
+
}, _0x355c98 = {
|
|
444
|
+
_0x14d446: 0x117,
|
|
445
|
+
_0xabd458: 0x19e
|
|
446
|
+
}, _0x8c3c28 = { _0x544aee: 0x189 }, _0x20245f = {
|
|
447
|
+
_0x1a97d7: 0xf5,
|
|
448
|
+
_0x580b16: 0x1ee,
|
|
449
|
+
_0x148a13: 0x1d2,
|
|
450
|
+
_0x201794: 0x208,
|
|
451
|
+
_0x5f387e: 0xde,
|
|
452
|
+
_0x1b42a3: 0x240
|
|
453
|
+
}, _0x15a914 = _0x30157b, _0x41ce22 = _0x57bd42[_0x15a914(0x13e)] ?? fetch, _0x52c27c = _0x57bd42['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1a8862 = typeof _0x57bd42[_0x15a914(_0x406479._0x2f1463)] === _0x15a914(_0x406479._0x5bc2f7) && _0x57bd42['initialLastSeenSeq'] > 0x0 ? _0x57bd42[_0x15a914(0x13a)] : 0x0, _0x1aa671 = _0x57bd42['daemonLocalUrl']?.[_0x15a914(_0x406479._0xbf24bc)]() || void 0x0, _0x33080b = _0x57bd42[_0x15a914(_0x406479._0x420551)]?.[_0x15a914(_0x406479._0xbf24bc)]() || void 0x0, _0x260433 = _0x57bd42[_0x15a914(_0x406479._0x3e2c97)] === !![], _0x556253 = _0x57bd42[_0x15a914(0x1c1)]?.[_0x15a914(0x189)]() || void 0x0, _0x39ac52 = _0x57bd42[_0x15a914(0xc2)]?.[_0x15a914(0x189)]() || void 0x0, _0xefb39e = createHeaders(_0x57bd42[_0x15a914(_0x406479._0xb50cb1)]), _0x14de57 = toHttpBaseUrl(_0x57bd42['serverUrl']);
|
|
454
|
+
let _0x350056 = null;
|
|
455
|
+
const _0x865c59 = new Map();
|
|
456
|
+
let _0x140e64 = _0x1a8862, _0xd465d3 = _0x1a8862;
|
|
457
|
+
function _0x375cc0(_0x2a4c1d) {
|
|
458
|
+
const _0x3a8615 = _0x15a914, _0x4fe4a1 = _0x2a4c1d['response']['headers']['get'](_0x3a8615(_0x20245f._0x1a97d7)) ?? _0x3a8615(0x1cc), _0x5f0bb5 = _0x2a4c1d[_0x3a8615(_0x20245f._0x580b16)][_0x3a8615(0x189)]()[_0x3a8615(_0x20245f._0x148a13)](/\s+/g, '\x20')[_0x3a8615(0x10b)](0x0, 0x78) || _0x3a8615(_0x20245f._0x201794);
|
|
459
|
+
return _0x3a8615(_0x20245f._0x5f387e) + _0x2a4c1d[_0x3a8615(0x151)] + _0x3a8615(0x18c) + _0x2a4c1d[_0x3a8615(0x1e3)][_0x3a8615(_0x20245f._0x1b42a3)] + _0x3a8615(0x1f6) + _0x4fe4a1 + _0x3a8615(0x100) + _0x5f0bb5 + _0x3a8615(0x15f);
|
|
455
460
|
}
|
|
456
|
-
async function
|
|
457
|
-
const
|
|
458
|
-
if (!
|
|
461
|
+
async function _0x397899(_0x2a6d69, _0x13336d) {
|
|
462
|
+
const _0x582259 = _0x15a914, _0x2865fc = Buffer['from'](await _0x13336d['arrayBuffer']())['toString']('utf8');
|
|
463
|
+
if (!_0x2865fc[_0x582259(_0x8c3c28._0x544aee)]())
|
|
459
464
|
return {};
|
|
460
465
|
try {
|
|
461
|
-
return JSON[
|
|
466
|
+
return JSON[_0x582259(0x202)](_0x2865fc);
|
|
462
467
|
} catch {
|
|
463
|
-
throw new Error(
|
|
464
|
-
'bodyText':
|
|
465
|
-
'requestUrl':
|
|
466
|
-
'response':
|
|
468
|
+
throw new Error(_0x375cc0({
|
|
469
|
+
'bodyText': _0x2865fc,
|
|
470
|
+
'requestUrl': _0x2a6d69,
|
|
471
|
+
'response': _0x13336d
|
|
467
472
|
}));
|
|
468
473
|
}
|
|
469
474
|
}
|
|
470
|
-
function
|
|
471
|
-
const
|
|
472
|
-
if (
|
|
473
|
-
return
|
|
474
|
-
const
|
|
475
|
-
for (const [
|
|
476
|
-
|
|
475
|
+
function _0x1045fe(_0x237d09, _0x3a1987) {
|
|
476
|
+
const _0x1135f9 = _0x15a914, _0x55dae9 = typeof _0x3a1987[_0x1135f9(0xed)] === 'string' ? _0x3a1987['idempotency_key']['trim']() : '';
|
|
477
|
+
if (_0x55dae9)
|
|
478
|
+
return _0x55dae9;
|
|
479
|
+
const _0x59039b = Date['now']();
|
|
480
|
+
for (const [_0x274a34, _0x7c1f66] of _0x865c59) {
|
|
481
|
+
_0x7c1f66[_0x1135f9(_0x355c98._0x14d446)] <= _0x59039b && _0x865c59['delete'](_0x274a34);
|
|
477
482
|
}
|
|
478
|
-
const
|
|
479
|
-
...
|
|
483
|
+
const _0x3d5a91 = {
|
|
484
|
+
..._0x3a1987,
|
|
480
485
|
'idempotency_key': void 0x0
|
|
481
|
-
},
|
|
482
|
-
if (
|
|
483
|
-
return
|
|
484
|
-
const
|
|
485
|
-
return
|
|
486
|
-
'expiresAt':
|
|
487
|
-
'value':
|
|
488
|
-
}),
|
|
486
|
+
}, _0x18815a = createHash(_0x1135f9(0x134))['update'](_0x237d09 + ':' + stableStringify(_0x3d5a91))[_0x1135f9(0xf0)]('hex'), _0xc1996c = _0x237d09 + ':' + _0x18815a, _0x46d215 = _0x865c59[_0x1135f9(0x1b9)](_0xc1996c);
|
|
487
|
+
if (_0x46d215)
|
|
488
|
+
return _0x46d215[_0x1135f9(0xeb)];
|
|
489
|
+
const _0x4e97aa = 'auto:' + _0x237d09 + ':' + randomUUID();
|
|
490
|
+
return _0x865c59[_0x1135f9(_0x355c98._0xabd458)](_0xc1996c, {
|
|
491
|
+
'expiresAt': _0x59039b + 0x5 * 0x3c * 0x3e8,
|
|
492
|
+
'value': _0x4e97aa
|
|
493
|
+
}), _0x4e97aa;
|
|
489
494
|
}
|
|
490
|
-
async function
|
|
491
|
-
const
|
|
495
|
+
async function _0x4e063c(_0x5cbe7a, _0xe01424) {
|
|
496
|
+
const _0xe6839c = _0x15a914, _0x1c14a1 = new AbortController(), _0x3cc4b0 = setTimeout(() => _0x1c14a1['abort'](), _0x52c27c), _0x4f4e2a = _0xe01424?.[_0xe6839c(0x173)] ? anySignal(_0xe01424['signal'], _0x1c14a1[_0xe6839c(_0x40b48e._0x4724ec)]) : _0x1c14a1['signal'], _0x13f2a2 = '' + _0x14de57 + _0x5cbe7a;
|
|
492
497
|
try {
|
|
493
|
-
const
|
|
494
|
-
...
|
|
495
|
-
'signal':
|
|
496
|
-
}),
|
|
497
|
-
if (!
|
|
498
|
-
throw new Error(asErrorMessage(
|
|
499
|
-
return
|
|
498
|
+
const _0x44aa50 = await _0x41ce22(_0x13f2a2, {
|
|
499
|
+
..._0xe01424,
|
|
500
|
+
'signal': _0x4f4e2a
|
|
501
|
+
}), _0x30fc45 = await _0x397899(_0x13f2a2, _0x44aa50);
|
|
502
|
+
if (!_0x44aa50['ok'] || _0x30fc45[_0xe6839c(_0x40b48e._0x2688df)] === ![])
|
|
503
|
+
throw new Error(asErrorMessage(_0x30fc45['error'], _0xe6839c(0x238) + _0x44aa50[_0xe6839c(0x240)]));
|
|
504
|
+
return _0x30fc45;
|
|
500
505
|
} finally {
|
|
501
|
-
clearTimeout(
|
|
506
|
+
clearTimeout(_0x3cc4b0);
|
|
502
507
|
}
|
|
503
508
|
}
|
|
504
|
-
async function
|
|
505
|
-
const
|
|
509
|
+
async function _0x2d27ac(_0x35248a, _0x22a272) {
|
|
510
|
+
const _0x518fa8 = _0x15a914, _0x4cd86b = new AbortController(), _0x3ae71a = setTimeout(() => _0x4cd86b[_0x518fa8(0xcf)](), _0x52c27c), _0x1fc12a = _0x22a272?.[_0x518fa8(_0x2db50a._0x41eeb1)] ? anySignal(_0x22a272[_0x518fa8(_0x2db50a._0x41eeb1)], _0x4cd86b[_0x518fa8(_0x2db50a._0x41eeb1)]) : _0x4cd86b['signal'], _0x2143c0 = '' + _0x14de57 + _0x35248a;
|
|
506
511
|
try {
|
|
507
|
-
const
|
|
508
|
-
...
|
|
509
|
-
'signal':
|
|
510
|
-
}),
|
|
511
|
-
if (!
|
|
512
|
-
throw new Error(asErrorMessage(
|
|
513
|
-
return
|
|
512
|
+
const _0x295b54 = await _0x41ce22(_0x2143c0, {
|
|
513
|
+
..._0x22a272,
|
|
514
|
+
'signal': _0x1fc12a
|
|
515
|
+
}), _0x3eb130 = await _0x397899(_0x2143c0, _0x295b54);
|
|
516
|
+
if (!_0x295b54['ok'])
|
|
517
|
+
throw new Error(asErrorMessage(_0x3eb130['error'], 'HTTP\x20' + _0x295b54[_0x518fa8(_0x2db50a._0x343917)]));
|
|
518
|
+
return _0x3eb130;
|
|
514
519
|
} finally {
|
|
515
|
-
clearTimeout(
|
|
520
|
+
clearTimeout(_0x3ae71a);
|
|
516
521
|
}
|
|
517
522
|
}
|
|
518
|
-
async function
|
|
519
|
-
const
|
|
520
|
-
if (!
|
|
523
|
+
async function _0x4ef073(_0x46dd2b) {
|
|
524
|
+
const _0x42040f = _0x15a914;
|
|
525
|
+
if (!_0x33080b || _0x46dd2b <= _0xd465d3)
|
|
521
526
|
return;
|
|
522
|
-
await
|
|
523
|
-
'body': JSON[
|
|
524
|
-
'headers':
|
|
525
|
-
'method':
|
|
526
|
-
}),
|
|
527
|
+
await _0x4e063c(_0x42040f(0x118) + encodeURIComponent(_0x33080b) + _0x42040f(_0xd9548b._0x4a7a6a), {
|
|
528
|
+
'body': JSON['stringify']({ 'lastSeenSeq': _0x46dd2b }),
|
|
529
|
+
'headers': _0xefb39e,
|
|
530
|
+
'method': _0x42040f(_0xd9548b._0x575c31)
|
|
531
|
+
}), _0xd465d3 = _0x46dd2b;
|
|
527
532
|
}
|
|
528
|
-
async function
|
|
529
|
-
const
|
|
530
|
-
if (!
|
|
533
|
+
async function _0x259e2c(_0x1e91ed) {
|
|
534
|
+
const _0x5179ea = _0x15a914;
|
|
535
|
+
if (!_0x1aa671 || !_0x556253 || _0x1e91ed <= _0xd465d3)
|
|
531
536
|
return;
|
|
532
|
-
const
|
|
533
|
-
'body': JSON[
|
|
534
|
-
'last_seen_seq':
|
|
535
|
-
'worker_session_id':
|
|
537
|
+
const _0x56f57f = await _0x41ce22(_0x1aa671 + _0x5179ea(0x244), {
|
|
538
|
+
'body': JSON[_0x5179ea(0xf7)]({
|
|
539
|
+
'last_seen_seq': _0x1e91ed,
|
|
540
|
+
'worker_session_id': _0x556253
|
|
536
541
|
}),
|
|
537
|
-
'headers': { 'Content-Type':
|
|
538
|
-
'method':
|
|
542
|
+
'headers': { 'Content-Type': _0x5179ea(0xe9) },
|
|
543
|
+
'method': _0x5179ea(_0x47aa20._0x5d11e2)
|
|
539
544
|
});
|
|
540
|
-
if (!
|
|
541
|
-
throw new Error(
|
|
542
|
-
|
|
545
|
+
if (!_0x56f57f['ok'])
|
|
546
|
+
throw new Error(_0x5179ea(0x238) + _0x56f57f[_0x5179ea(0x240)]);
|
|
547
|
+
_0xd465d3 = _0x1e91ed;
|
|
543
548
|
}
|
|
544
|
-
async function
|
|
545
|
-
const
|
|
546
|
-
'body': JSON[
|
|
547
|
-
'headers':
|
|
548
|
-
'method':
|
|
549
|
+
async function _0x521a7e(_0x498a1d) {
|
|
550
|
+
const _0x3d17ba = _0x15a914, _0x490539 = parseTarget(_0x498a1d), _0x590a4d = await _0x4e063c(_0x3d17ba(0x222) + _0x57bd42['agentId'] + _0x3d17ba(0x132), {
|
|
551
|
+
'body': JSON['stringify']({ 'target': _0x490539[_0x3d17ba(0x172)] }),
|
|
552
|
+
'headers': _0xefb39e,
|
|
553
|
+
'method': 'POST'
|
|
549
554
|
});
|
|
550
555
|
return {
|
|
551
|
-
'channelId':
|
|
552
|
-
'target':
|
|
553
|
-
'task':
|
|
554
|
-
'threadId':
|
|
555
|
-
'threadNumber':
|
|
556
|
+
'channelId': _0x590a4d['data']?.[_0x3d17ba(_0x34ac3e._0x4ce2ee)] ?? '',
|
|
557
|
+
'target': _0x490539[_0x3d17ba(_0x34ac3e._0x46bf41)],
|
|
558
|
+
'task': _0x590a4d[_0x3d17ba(_0x34ac3e._0x5cbee8)]?.['task'],
|
|
559
|
+
'threadId': _0x590a4d[_0x3d17ba(0x1e9)]?.['threadId'],
|
|
560
|
+
'threadNumber': _0x590a4d['data']?.[_0x3d17ba(0x17f)]
|
|
556
561
|
};
|
|
557
562
|
}
|
|
558
|
-
async function
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
const _0x246bd5 = _0x3d52f9, _0x19d336 = await _0x5d5805(_0x246bd5(0x2e3) + _0x5bd8e7[_0x246bd5(0x2d8)] + _0x246bd5(0x277), {
|
|
573
|
-
'headers': _0x4b7333,
|
|
574
|
-
'method': _0x246bd5(_0x2b8e42._0x5c5ef9)
|
|
575
|
-
}), _0xa14bb9 = _0x19d336[_0x246bd5(0x18b)]?.[_0x246bd5(0x1f8)] ?? [], _0x6dcd23 = _0xa14bb9[_0x246bd5(_0x2b8e42._0x2c7e15)](_0x43bfa8 => _0x43bfa8[_0x246bd5(0x270)]?.[_0x246bd5(0x1c6)] === _0x246bd5(0x22c))[_0x246bd5(_0x2b8e42._0x4e40f2)](_0x3e07ea => ({
|
|
576
|
-
'id': _0x2f88a2(_0x3e07ea),
|
|
577
|
-
'name': _0x139b11(_0x3e07ea)
|
|
578
|
-
}))[_0x246bd5(_0x2b8e42._0x158fc0)](_0x22e9b7 => _0x22e9b7['id']), _0x37c8ca = _0xa14bb9[_0x246bd5(_0x2b8e42._0x2c7e15)](_0x3b4e50 => _0x3b4e50[_0x246bd5(0x270)]?.[_0x246bd5(0x1c6)] !== 'agent')['map'](_0x13245d => ({
|
|
579
|
-
'id': _0x2f88a2(_0x13245d),
|
|
580
|
-
'name': _0x139b11(_0x13245d)
|
|
581
|
-
}))['filter'](_0x4c0e95 => _0x4c0e95['id']), _0x38a23f = _0x19d336[_0x246bd5(0x18b)]?.[_0x246bd5(_0x2b8e42._0x3c1b15)]['id'] ?? '';
|
|
563
|
+
async function _0x11cb5f(_0x53ebb7 = {}) {
|
|
564
|
+
if (!_0x53ebb7['forceRefresh'] && _0x350056)
|
|
565
|
+
return _0x350056;
|
|
566
|
+
return _0x350056 = (async () => {
|
|
567
|
+
const _0x40458e = _0x5bbb, _0x120302 = await _0x4e063c(_0x40458e(0x222) + _0x57bd42[_0x40458e(0x1bf)] + _0x40458e(0x149), {
|
|
568
|
+
'headers': _0xefb39e,
|
|
569
|
+
'method': _0x40458e(_0x3a1b92._0x498cba)
|
|
570
|
+
}), _0x1f0c68 = _0x120302[_0x40458e(_0x3a1b92._0x407a5b)]?.[_0x40458e(0x24a)] ?? [], _0x46a08c = _0x1f0c68[_0x40458e(_0x3a1b92._0x1d1857)](_0x51dd16 => _0x51dd16[_0x40458e(0x17a)]?.[_0x40458e(0x164)] === 'agent')[_0x40458e(_0x3a1b92._0x26f6b4)](_0x285829 => ({
|
|
571
|
+
'id': _0x3cde45(_0x285829),
|
|
572
|
+
'name': _0x434b14(_0x285829)
|
|
573
|
+
}))[_0x40458e(0x22a)](_0x49ecf1 => _0x49ecf1['id']), _0x5480f9 = _0x1f0c68[_0x40458e(0x22a)](_0x5a4839 => _0x5a4839['participant']?.[_0x40458e(0x164)] !== _0x40458e(0x178))['map'](_0x43a2e8 => ({
|
|
574
|
+
'id': _0x3cde45(_0x43a2e8),
|
|
575
|
+
'name': _0x434b14(_0x43a2e8)
|
|
576
|
+
}))[_0x40458e(0x22a)](_0x1a7c08 => _0x1a7c08['id']), _0xb0ea2f = _0x120302[_0x40458e(_0x3a1b92._0x2d41e2)]?.[_0x40458e(_0x3a1b92._0x228416)]['id'] ?? '';
|
|
582
577
|
return {
|
|
583
|
-
'agents':
|
|
584
|
-
'channels':
|
|
585
|
-
'humans':
|
|
586
|
-
'serverId':
|
|
587
|
-
'serverName':
|
|
578
|
+
'agents': _0x46a08c,
|
|
579
|
+
'channels': _0x120302[_0x40458e(_0x3a1b92._0x2d41e2)]?.['channels'] ?? [],
|
|
580
|
+
'humans': _0x5480f9,
|
|
581
|
+
'serverId': _0xb0ea2f,
|
|
582
|
+
'serverName': _0x120302['data']?.[_0x40458e(_0x3a1b92._0x44392c)]['name'] ?? _0xb0ea2f
|
|
588
583
|
};
|
|
589
|
-
})()[
|
|
590
|
-
|
|
591
|
-
throw
|
|
592
|
-
}),
|
|
584
|
+
})()['catch'](_0x300952 => {
|
|
585
|
+
_0x350056 = null;
|
|
586
|
+
throw _0x300952;
|
|
587
|
+
}), _0x350056;
|
|
593
588
|
}
|
|
594
|
-
function
|
|
595
|
-
const
|
|
596
|
-
return
|
|
589
|
+
function _0x30ce4d(_0x18196a, _0x289f8) {
|
|
590
|
+
const _0x581cc2 = _0x15a914;
|
|
591
|
+
return _0x289f8[_0x581cc2(_0x59c716._0x2987a6)][_0x581cc2(0x1e5)](_0x33c81f => _0x33c81f['id'] === _0x18196a || _0x33c81f[_0x581cc2(0x23b)] === _0x18196a) ? _0x581cc2(_0x59c716._0x538933) : _0x581cc2(0x163);
|
|
597
592
|
}
|
|
598
|
-
function
|
|
599
|
-
const
|
|
600
|
-
...
|
|
601
|
-
...
|
|
602
|
-
][
|
|
603
|
-
return
|
|
593
|
+
function _0x2c70c2(_0x3a4660, _0x26a87c) {
|
|
594
|
+
const _0xc29415 = _0x15a914, _0x59e2be = [
|
|
595
|
+
..._0x26a87c[_0xc29415(_0x1a8036._0x5028db)],
|
|
596
|
+
..._0x26a87c['humans']
|
|
597
|
+
][_0xc29415(0x227)](_0x35803f => _0x35803f['id'] === _0x3a4660);
|
|
598
|
+
return _0x59e2be?.['name'] ?? _0x3a4660;
|
|
604
599
|
}
|
|
605
|
-
function
|
|
606
|
-
const
|
|
607
|
-
if (
|
|
608
|
-
return
|
|
609
|
-
if (
|
|
610
|
-
return
|
|
611
|
-
if (
|
|
612
|
-
return
|
|
613
|
-
return
|
|
600
|
+
function _0x32819f(_0x177641) {
|
|
601
|
+
const _0x1ee522 = _0x15a914;
|
|
602
|
+
if (_0x177641[_0x1ee522(_0x5efc59._0x388a67)] != null)
|
|
603
|
+
return _0x177641[_0x1ee522(0xf6)] + ':t' + _0x177641[_0x1ee522(0x17f)];
|
|
604
|
+
if (_0x177641[_0x1ee522(0x1dd)])
|
|
605
|
+
return _0x177641[_0x1ee522(_0x5efc59._0x6d71e2)] + ':' + _0x177641[_0x1ee522(_0x5efc59._0x1b852e)];
|
|
606
|
+
if (_0x177641[_0x1ee522(0x194)])
|
|
607
|
+
return _0x177641[_0x1ee522(0xf6)] + ':' + _0x177641[_0x1ee522(0x194)]['slice'](0x0, 0x8);
|
|
608
|
+
return _0x177641[_0x1ee522(0xf6)];
|
|
614
609
|
}
|
|
615
|
-
function
|
|
616
|
-
const
|
|
610
|
+
function _0x3f6e02(_0x43e961, _0x40bb08) {
|
|
611
|
+
const _0x4feb3d = _0x15a914;
|
|
617
612
|
try {
|
|
618
|
-
const
|
|
619
|
-
if (
|
|
613
|
+
const _0x3bbc78 = parseTarget(_0x43e961);
|
|
614
|
+
if (_0x3bbc78['kind'] !== _0x4feb3d(0x153) || _0x3bbc78[_0x4feb3d(0xf6)] !== _0x40bb08[_0x4feb3d(_0x964414._0x4ecebd)])
|
|
620
615
|
return ![];
|
|
621
|
-
if (
|
|
616
|
+
if (_0x40bb08[_0x4feb3d(0x17f)] != null && _0x3bbc78[_0x4feb3d(_0x964414._0x641a68)] === 't' + _0x40bb08[_0x4feb3d(0x17f)])
|
|
622
617
|
return !![];
|
|
623
|
-
if (
|
|
624
|
-
return
|
|
625
|
-
if (
|
|
626
|
-
return
|
|
618
|
+
if (_0x40bb08[_0x4feb3d(_0x964414._0x21a62d)])
|
|
619
|
+
return _0x3bbc78[_0x4feb3d(_0x964414._0x1e5878)] === _0x40bb08[_0x4feb3d(0x1dd)] || _0x40bb08[_0x4feb3d(_0x964414._0x53c42c)][_0x4feb3d(_0x964414._0x8bb2d8)](_0x3bbc78[_0x4feb3d(_0x964414._0x1edce2)]);
|
|
620
|
+
if (_0x40bb08[_0x4feb3d(0x194)])
|
|
621
|
+
return _0x3bbc78[_0x4feb3d(_0x964414._0x1e5878)] === _0x40bb08['threadId'] || _0x40bb08['threadId'][_0x4feb3d(0x23e)](_0x3bbc78[_0x4feb3d(_0x964414._0x1edce2)]);
|
|
627
622
|
return ![];
|
|
628
623
|
} catch {
|
|
629
624
|
return ![];
|
|
630
625
|
}
|
|
631
626
|
}
|
|
632
|
-
function
|
|
633
|
-
const
|
|
627
|
+
function _0x1e3b65(_0x2c97ca, _0x4ae9d2) {
|
|
628
|
+
const _0x1170dc = _0x15a914;
|
|
634
629
|
try {
|
|
635
|
-
const
|
|
636
|
-
if (
|
|
630
|
+
const _0x1cfa51 = parseTarget(_0x2c97ca);
|
|
631
|
+
if (_0x1cfa51[_0x1170dc(0x212)] !== _0x1170dc(_0x197f00._0x24ce56))
|
|
637
632
|
return ![];
|
|
638
|
-
const
|
|
639
|
-
if (
|
|
633
|
+
const _0x3711c4 = typeof _0x4ae9d2[_0x1170dc(0x17f)] === _0x1170dc(0x218) && Number['isInteger'](_0x4ae9d2['threadNumber']) ? _0x4ae9d2[_0x1170dc(0x17f)] : void 0x0;
|
|
634
|
+
if (_0x3711c4 != null && _0x1cfa51[_0x1170dc(0x14a)] === 't' + _0x3711c4)
|
|
640
635
|
return !![];
|
|
641
|
-
const
|
|
642
|
-
if (
|
|
643
|
-
return
|
|
644
|
-
const
|
|
645
|
-
return Boolean(
|
|
636
|
+
const _0x7c93cb = typeof _0x4ae9d2[_0x1170dc(0x1dd)] === 'string' ? _0x4ae9d2[_0x1170dc(0x1dd)] : void 0x0;
|
|
637
|
+
if (_0x7c93cb)
|
|
638
|
+
return _0x1cfa51['threadShortId'] === _0x7c93cb || _0x7c93cb[_0x1170dc(0x23e)](_0x1cfa51['threadShortId']);
|
|
639
|
+
const _0x44d2c8 = typeof _0x4ae9d2[_0x1170dc(_0x197f00._0x24b0f8)] === 'string' ? _0x4ae9d2[_0x1170dc(0x194)] : void 0x0;
|
|
640
|
+
return Boolean(_0x44d2c8) && (_0x1cfa51['threadShortId'] === _0x44d2c8 || _0x44d2c8[_0x1170dc(_0x197f00._0xc3bc73)](_0x1cfa51[_0x1170dc(_0x197f00._0x22e9cc)]));
|
|
646
641
|
} catch {
|
|
647
642
|
return ![];
|
|
648
643
|
}
|
|
649
644
|
}
|
|
650
|
-
function
|
|
651
|
-
const
|
|
652
|
-
return
|
|
645
|
+
function _0x3cde45(_0x1ee7ae) {
|
|
646
|
+
const _0x557708 = _0x15a914;
|
|
647
|
+
return _0x1ee7ae[_0x557708(0x1b2)]?.[_0x557708(_0x1882ef._0x4ecc55)] ?? _0x1ee7ae[_0x557708(_0x1882ef._0x1497d7)]?.['id'] ?? _0x1ee7ae['participantId'] ?? '';
|
|
653
648
|
}
|
|
654
|
-
function
|
|
655
|
-
const
|
|
656
|
-
return
|
|
649
|
+
function _0x434b14(_0x9a7b35) {
|
|
650
|
+
const _0x4eeea8 = _0x15a914;
|
|
651
|
+
return _0x9a7b35[_0x4eeea8(0x17a)]?.['name'] ?? _0x3cde45(_0x9a7b35);
|
|
657
652
|
}
|
|
658
|
-
async function
|
|
659
|
-
const
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
const
|
|
665
|
-
'headers':
|
|
666
|
-
'method':
|
|
667
|
-
}),
|
|
668
|
-
'attachments': (
|
|
669
|
-
'filename':
|
|
670
|
-
'id':
|
|
653
|
+
async function _0x1850bf(_0x14034e) {
|
|
654
|
+
const _0x2892fd = _0x15a914, _0xb99ad2 = Math['min'](_0x14034e[_0x2892fd(_0x3beb6e._0x2d1adc)] ?? 0x32, 0x64), _0x2605b0 = await _0x11cb5f(), _0x1151ab = new URLSearchParams();
|
|
655
|
+
_0x1151ab[_0x2892fd(0x19e)](_0x2892fd(_0x3beb6e._0x237925), String(_0xb99ad2));
|
|
656
|
+
_0x14034e[_0x2892fd(_0x3beb6e._0x309487)] ? (_0x1151ab[_0x2892fd(0x19e)]('threadId', _0x14034e['threadId']), _0x1151ab[_0x2892fd(_0x3beb6e._0x217405)](_0x2892fd(_0x3beb6e._0xa68ab7), _0x14034e['channelId'])) : _0x1151ab[_0x2892fd(0x19e)](_0x2892fd(_0x3beb6e._0x593c3e), _0x14034e['channelId']);
|
|
657
|
+
_0x14034e[_0x2892fd(0xd9)] && _0x1151ab[_0x2892fd(_0x3beb6e._0xbfa9c7)]('cursor', String(_0x14034e[_0x2892fd(0xd9)]));
|
|
658
|
+
_0x14034e[_0x2892fd(_0x3beb6e._0x53ed07)] !== void 0x0 && _0x1151ab[_0x2892fd(_0x3beb6e._0xbfa9c7)](_0x2892fd(_0x3beb6e._0x59f4f9), String(_0x14034e[_0x2892fd(_0x3beb6e._0x59f4f9)]));
|
|
659
|
+
const _0x11468a = await _0x4e063c(_0x2892fd(0x222) + _0x57bd42[_0x2892fd(_0x3beb6e._0x5b4ae1)] + '/history?' + _0x1151ab['toString'](), {
|
|
660
|
+
'headers': _0xefb39e,
|
|
661
|
+
'method': _0x2892fd(_0x3beb6e._0x395866)
|
|
662
|
+
}), _0x40a055 = (_0x11468a[_0x2892fd(_0x3beb6e._0x5813c5)] ?? [])[_0x2892fd(0x207)](_0x1aeb4a => ({
|
|
663
|
+
'attachments': (_0x1aeb4a['attachments'] ?? [])[_0x2892fd(0x207)](_0x62e506 => ({
|
|
664
|
+
'filename': _0x62e506[_0x2892fd(0x15c)] ?? _0x62e506['id'],
|
|
665
|
+
'id': _0x62e506['id']
|
|
671
666
|
})),
|
|
672
|
-
'content':
|
|
673
|
-
'createdAt':
|
|
674
|
-
...
|
|
675
|
-
'messageId':
|
|
676
|
-
'senderName':
|
|
677
|
-
'senderType':
|
|
678
|
-
'seq':
|
|
667
|
+
'content': _0x1aeb4a[_0x2892fd(0x23a)] ?? '',
|
|
668
|
+
'createdAt': _0x1aeb4a[_0x2892fd(0xdf)],
|
|
669
|
+
..._0x1aeb4a[_0x2892fd(0x212)] && _0x1aeb4a['kind'] !== 'chat' ? { 'kind': _0x1aeb4a['kind'] } : {},
|
|
670
|
+
'messageId': _0x1aeb4a['id'],
|
|
671
|
+
'senderName': _0x2c70c2(_0x1aeb4a['senderParticipantId'], _0x2605b0),
|
|
672
|
+
'senderType': _0x30ce4d(_0x1aeb4a['senderParticipantId'], _0x2605b0),
|
|
673
|
+
'seq': _0x1aeb4a[_0x2892fd(0x13d)] ?? 0x0
|
|
679
674
|
}));
|
|
680
675
|
return {
|
|
681
|
-
'channel':
|
|
682
|
-
'hasMore':
|
|
683
|
-
'messages':
|
|
684
|
-
'nextCursor':
|
|
676
|
+
'channel': _0x14034e[_0x2892fd(0xf6)],
|
|
677
|
+
'hasMore': _0x11468a[_0x2892fd(_0x3beb6e._0x5a89aa)]?.[_0x2892fd(_0x3beb6e._0x114466)] ?? ![],
|
|
678
|
+
'messages': _0x40a055,
|
|
679
|
+
'nextCursor': _0x11468a[_0x2892fd(0xea)]?.[_0x2892fd(0x16c)]
|
|
685
680
|
};
|
|
686
681
|
}
|
|
687
682
|
return {
|
|
688
|
-
async 'sendMessage'(
|
|
689
|
-
const
|
|
690
|
-
'body': JSON[
|
|
691
|
-
'attachment_ids':
|
|
692
|
-
'bodyMarkdown':
|
|
693
|
-
'channelId':
|
|
694
|
-
...
|
|
695
|
-
'threadId':
|
|
696
|
-
...
|
|
683
|
+
async 'sendMessage'(_0x8072c1) {
|
|
684
|
+
const _0x237382 = _0x15a914, _0x8a4ab9 = await _0x521a7e(_0x8072c1[_0x237382(0x172)]), _0x17372b = _0x8072c1[_0x237382(_0x3d2de0._0x3d5a80)][_0x237382(0x145)]('@') ? extractMentionedParticipantIds(_0x8072c1[_0x237382(0x160)], await _0x11cb5f()) : [], _0x3584a9 = await _0x4e063c(_0x237382(0x222) + _0x57bd42[_0x237382(0x1bf)] + _0x237382(_0x3d2de0._0x251580), {
|
|
685
|
+
'body': JSON[_0x237382(0xf7)]({
|
|
686
|
+
'attachment_ids': _0x8072c1['attachmentIds'],
|
|
687
|
+
'bodyMarkdown': _0x8072c1[_0x237382(0x160)],
|
|
688
|
+
'channelId': _0x8a4ab9['channelId'],
|
|
689
|
+
..._0x17372b[_0x237382(_0x3d2de0._0x2e7292)] > 0x0 ? { 'mentionedParticipantIds': _0x17372b } : {},
|
|
690
|
+
'threadId': _0x8a4ab9[_0x237382(_0x3d2de0._0x196f41)],
|
|
691
|
+
..._0x8072c1[_0x237382(0x1d1)] ? { 'visibility': _0x8072c1[_0x237382(0x1d1)] } : {}
|
|
697
692
|
}),
|
|
698
|
-
'headers':
|
|
693
|
+
'headers': _0xefb39e,
|
|
699
694
|
'method': 'POST'
|
|
700
695
|
});
|
|
701
|
-
return { 'messageId':
|
|
696
|
+
return { 'messageId': _0x3584a9[_0x237382(_0x3d2de0._0x1633cc)]?.['id'] ?? '' };
|
|
702
697
|
},
|
|
703
698
|
async 'listSchedules'() {
|
|
704
|
-
const
|
|
705
|
-
'headers':
|
|
699
|
+
const _0x5a34a8 = _0x15a914, _0x171908 = await _0x4e063c(_0x5a34a8(_0x257c00._0x2f3049), {
|
|
700
|
+
'headers': _0xefb39e,
|
|
706
701
|
'method': 'GET'
|
|
707
702
|
});
|
|
708
|
-
return
|
|
703
|
+
return _0x171908[_0x5a34a8(0x1e9)] ?? [];
|
|
709
704
|
},
|
|
710
|
-
async 'claimScheduleRun'(
|
|
711
|
-
const
|
|
712
|
-
'body': JSON[
|
|
713
|
-
'headers':
|
|
714
|
-
'method':
|
|
705
|
+
async 'claimScheduleRun'(_0x46db94) {
|
|
706
|
+
const _0xfc4924 = _0x15a914, _0x497b00 = await _0x4e063c(_0xfc4924(_0x49994d._0x141f5e), {
|
|
707
|
+
'body': JSON[_0xfc4924(0xf7)](_0x46db94),
|
|
708
|
+
'headers': _0xefb39e,
|
|
709
|
+
'method': _0xfc4924(0xf8)
|
|
715
710
|
});
|
|
716
|
-
return
|
|
711
|
+
return _0x497b00['data'] ?? {
|
|
717
712
|
'granted': ![],
|
|
718
713
|
'runId': null,
|
|
719
714
|
'schedule': null,
|
|
720
|
-
'scheduledFor':
|
|
715
|
+
'scheduledFor': _0x46db94['scheduledFor']
|
|
721
716
|
};
|
|
722
717
|
},
|
|
723
|
-
async 'startScheduleRun'(
|
|
724
|
-
const
|
|
725
|
-
'body': JSON[
|
|
726
|
-
'headers':
|
|
718
|
+
async 'startScheduleRun'(_0xc4d6f8) {
|
|
719
|
+
const _0x3ce602 = _0x15a914, _0xdf6e73 = await _0x4e063c(_0x3ce602(_0x20682._0x21dea8) + encodeURIComponent(_0xc4d6f8[_0x3ce602(_0x20682._0x19543e)]) + _0x3ce602(0x245), {
|
|
720
|
+
'body': JSON[_0x3ce602(_0x20682._0x223cb1)]({}),
|
|
721
|
+
'headers': _0xefb39e,
|
|
727
722
|
'method': 'POST'
|
|
728
723
|
});
|
|
729
|
-
return
|
|
724
|
+
return _0xdf6e73[_0x3ce602(0x1e9)] ?? {
|
|
730
725
|
'claimedByDaemonId': '',
|
|
731
|
-
'id':
|
|
726
|
+
'id': _0xc4d6f8[_0x3ce602(0xe5)],
|
|
732
727
|
'scheduleId': '',
|
|
733
|
-
'status':
|
|
728
|
+
'status': _0x3ce602(_0x20682._0x2d0968)
|
|
734
729
|
};
|
|
735
730
|
},
|
|
736
|
-
async 'finishScheduleRun'(
|
|
737
|
-
const
|
|
738
|
-
'body': JSON[
|
|
739
|
-
'error':
|
|
740
|
-
'resultJson':
|
|
741
|
-
'status':
|
|
731
|
+
async 'finishScheduleRun'(_0x5d5df1) {
|
|
732
|
+
const _0x370bc2 = _0x15a914, _0x18afc2 = await _0x4e063c(_0x370bc2(0x170) + encodeURIComponent(_0x5d5df1[_0x370bc2(_0x55bfe2._0x162a7b)]) + _0x370bc2(0x1ff), {
|
|
733
|
+
'body': JSON[_0x370bc2(0xf7)]({
|
|
734
|
+
'error': _0x5d5df1[_0x370bc2(0x22b)],
|
|
735
|
+
'resultJson': _0x5d5df1['resultJson'],
|
|
736
|
+
'status': _0x5d5df1[_0x370bc2(0x240)]
|
|
742
737
|
}),
|
|
743
|
-
'headers':
|
|
744
|
-
'method':
|
|
738
|
+
'headers': _0xefb39e,
|
|
739
|
+
'method': _0x370bc2(0xf8)
|
|
745
740
|
});
|
|
746
|
-
return
|
|
741
|
+
return _0x18afc2['data'] ?? {
|
|
747
742
|
'nextRunAt': null,
|
|
748
743
|
'run': {
|
|
749
744
|
'claimedByDaemonId': '',
|
|
750
|
-
'id':
|
|
745
|
+
'id': _0x5d5df1[_0x370bc2(0xe5)],
|
|
751
746
|
'scheduleId': '',
|
|
752
|
-
'status':
|
|
747
|
+
'status': _0x5d5df1['status']
|
|
753
748
|
}
|
|
754
749
|
};
|
|
755
750
|
},
|
|
756
|
-
async 'listTasks'(
|
|
757
|
-
const
|
|
758
|
-
return
|
|
759
|
-
'headers':
|
|
760
|
-
'method':
|
|
751
|
+
async 'listTasks'(_0x47f528) {
|
|
752
|
+
const _0x5a15fa = _0x15a914, _0x27a5eb = new URLSearchParams();
|
|
753
|
+
return _0x27a5eb[_0x5a15fa(0x19e)](_0x5a15fa(0x225), _0x47f528[_0x5a15fa(0x225)]), _0x47f528[_0x5a15fa(0x240)] && _0x27a5eb[_0x5a15fa(_0x5e5bb5._0x23c0d1)](_0x5a15fa(_0x5e5bb5._0x56d140), _0x47f528['status']), _0x2d27ac(_0x5a15fa(0x222) + _0x57bd42[_0x5a15fa(_0x5e5bb5._0x35073c)] + _0x5a15fa(_0x5e5bb5._0x275e79) + _0x27a5eb[_0x5a15fa(_0x5e5bb5._0x1865e1)](), {
|
|
754
|
+
'headers': _0xefb39e,
|
|
755
|
+
'method': _0x5a15fa(0x110)
|
|
761
756
|
});
|
|
762
757
|
},
|
|
763
|
-
async 'createTasks'(
|
|
764
|
-
const
|
|
765
|
-
return
|
|
766
|
-
'body': JSON[
|
|
767
|
-
...
|
|
768
|
-
'idempotency_key':
|
|
758
|
+
async 'createTasks'(_0x24b3bc) {
|
|
759
|
+
const _0x31e89d = _0x15a914;
|
|
760
|
+
return _0x2d27ac('/internal/agent/' + _0x57bd42[_0x31e89d(_0x23473a._0x5b658f)] + _0x31e89d(0x1de), {
|
|
761
|
+
'body': JSON[_0x31e89d(_0x23473a._0xa3f29a)]({
|
|
762
|
+
..._0x24b3bc,
|
|
763
|
+
'idempotency_key': _0x1045fe('create_tasks', _0x24b3bc)
|
|
769
764
|
}),
|
|
770
|
-
'headers':
|
|
771
|
-
'method':
|
|
765
|
+
'headers': _0xefb39e,
|
|
766
|
+
'method': _0x31e89d(0xf8)
|
|
772
767
|
});
|
|
773
768
|
},
|
|
774
|
-
async 'claimTasks'(
|
|
775
|
-
const
|
|
776
|
-
return
|
|
777
|
-
'body': JSON[
|
|
778
|
-
...
|
|
779
|
-
'idempotency_key':
|
|
769
|
+
async 'claimTasks'(_0x2e2761) {
|
|
770
|
+
const _0x3a491d = _0x15a914;
|
|
771
|
+
return _0x2d27ac(_0x3a491d(0x222) + _0x57bd42[_0x3a491d(0x1bf)] + _0x3a491d(0x216), {
|
|
772
|
+
'body': JSON[_0x3a491d(_0x5c8b8d._0x47f3db)]({
|
|
773
|
+
..._0x2e2761,
|
|
774
|
+
'idempotency_key': _0x1045fe(_0x3a491d(_0x5c8b8d._0x13b449), _0x2e2761)
|
|
780
775
|
}),
|
|
781
|
-
'headers':
|
|
782
|
-
'method':
|
|
776
|
+
'headers': _0xefb39e,
|
|
777
|
+
'method': 'POST'
|
|
783
778
|
});
|
|
784
779
|
},
|
|
785
|
-
async 'unclaimTask'(
|
|
786
|
-
const
|
|
787
|
-
return
|
|
788
|
-
'body': JSON[
|
|
789
|
-
...
|
|
790
|
-
'idempotency_key':
|
|
780
|
+
async 'unclaimTask'(_0xbdff3b) {
|
|
781
|
+
const _0x4e00ed = _0x15a914;
|
|
782
|
+
return _0x2d27ac(_0x4e00ed(_0x186f86._0x54283d) + _0x57bd42[_0x4e00ed(0x1bf)] + '/tasks/unclaim', {
|
|
783
|
+
'body': JSON[_0x4e00ed(0xf7)]({
|
|
784
|
+
..._0xbdff3b,
|
|
785
|
+
'idempotency_key': _0x1045fe(_0x4e00ed(_0x186f86._0x2d03a7), _0xbdff3b)
|
|
791
786
|
}),
|
|
792
|
-
'headers':
|
|
793
|
-
'method':
|
|
787
|
+
'headers': _0xefb39e,
|
|
788
|
+
'method': _0x4e00ed(_0x186f86._0x42d8a1)
|
|
794
789
|
});
|
|
795
790
|
},
|
|
796
|
-
async 'updateTaskStatus'(
|
|
797
|
-
const
|
|
798
|
-
return
|
|
799
|
-
'body': JSON[
|
|
800
|
-
...
|
|
801
|
-
'idempotency_key':
|
|
791
|
+
async 'updateTaskStatus'(_0x4308ba) {
|
|
792
|
+
const _0x15ef52 = _0x15a914;
|
|
793
|
+
return _0x2d27ac(_0x15ef52(0x222) + _0x57bd42['agentId'] + _0x15ef52(0x11e), {
|
|
794
|
+
'body': JSON[_0x15ef52(_0x1d43fd._0xd583b4)]({
|
|
795
|
+
..._0x4308ba,
|
|
796
|
+
'idempotency_key': _0x1045fe('update_task_status', _0x4308ba)
|
|
802
797
|
}),
|
|
803
|
-
'headers':
|
|
804
|
-
'method':
|
|
798
|
+
'headers': _0xefb39e,
|
|
799
|
+
'method': _0x15ef52(0xf8)
|
|
805
800
|
});
|
|
806
801
|
},
|
|
807
|
-
async 'uploadFile'(
|
|
808
|
-
const
|
|
809
|
-
if (
|
|
810
|
-
throw new Error(
|
|
811
|
-
const
|
|
812
|
-
'body': JSON[
|
|
813
|
-
'channel':
|
|
814
|
-
'contentBase64':
|
|
815
|
-
'contentType':
|
|
816
|
-
'originalFilename':
|
|
802
|
+
async 'uploadFile'(_0x4d4732) {
|
|
803
|
+
const _0x398e16 = _0x15a914, _0x5b6fbb = await _0x521a7e(_0x4d4732[_0x398e16(0x225)]);
|
|
804
|
+
if (_0x5b6fbb[_0x398e16(0x194)])
|
|
805
|
+
throw new Error('upload_file\x20only\x20supports\x20channel\x20or\x20DM\x20targets,\x20not\x20thread\x20targets');
|
|
806
|
+
const _0x1b758e = await _0x4e063c('/internal/agent/' + _0x57bd42[_0x398e16(_0x27f9c6._0x18b19e)] + _0x398e16(_0x27f9c6._0x28924a), {
|
|
807
|
+
'body': JSON[_0x398e16(_0x27f9c6._0x4ecf71)]({
|
|
808
|
+
'channel': _0x5b6fbb['target'],
|
|
809
|
+
'contentBase64': _0x4d4732['contentBase64'],
|
|
810
|
+
'contentType': _0x4d4732[_0x398e16(0x111)],
|
|
811
|
+
'originalFilename': _0x4d4732[_0x398e16(_0x27f9c6._0x323282)]
|
|
817
812
|
}),
|
|
818
|
-
'headers':
|
|
819
|
-
'method':
|
|
813
|
+
'headers': _0xefb39e,
|
|
814
|
+
'method': _0x398e16(0xf8)
|
|
820
815
|
});
|
|
821
816
|
return {
|
|
822
|
-
'attachmentId':
|
|
823
|
-
'filename':
|
|
824
|
-
'sizeBytes':
|
|
817
|
+
'attachmentId': _0x1b758e[_0x398e16(0x1e9)]?.['id'] ?? '',
|
|
818
|
+
'filename': _0x1b758e[_0x398e16(0x1e9)]?.[_0x398e16(_0x27f9c6._0xe37556)] ?? _0x4d4732['filename'],
|
|
819
|
+
'sizeBytes': _0x1b758e[_0x398e16(_0x27f9c6._0x36b502)]?.[_0x398e16(0x1c7)] ?? 0x0
|
|
825
820
|
};
|
|
826
821
|
},
|
|
827
|
-
async 'downloadAttachment'(
|
|
828
|
-
const
|
|
829
|
-
'headers':
|
|
830
|
-
'method':
|
|
831
|
-
}),
|
|
822
|
+
async 'downloadAttachment'(_0x1e7d9b) {
|
|
823
|
+
const _0x20ef5f = _0x15a914, _0x723515 = await _0x4e063c(_0x20ef5f(_0x2fc8fe._0x46a3de) + _0x1e7d9b, {
|
|
824
|
+
'headers': _0xefb39e,
|
|
825
|
+
'method': _0x20ef5f(_0x2fc8fe._0x23545c)
|
|
826
|
+
}), _0x57d766 = new AbortController(), _0x2d34b7 = setTimeout(() => _0x57d766[_0x20ef5f(0xcf)](), _0x52c27c);
|
|
832
827
|
try {
|
|
833
|
-
const
|
|
834
|
-
'headers':
|
|
835
|
-
'method':
|
|
836
|
-
'signal':
|
|
828
|
+
const _0x248902 = await _0x41ce22(_0x14de57 + _0x20ef5f(0xca) + _0x1e7d9b + _0x20ef5f(_0x2fc8fe._0x58ec31), {
|
|
829
|
+
'headers': _0xefb39e,
|
|
830
|
+
'method': _0x20ef5f(0x110),
|
|
831
|
+
'signal': _0x57d766['signal']
|
|
837
832
|
});
|
|
838
|
-
if (!
|
|
839
|
-
throw new Error(
|
|
833
|
+
if (!_0x248902['ok'])
|
|
834
|
+
throw new Error(_0x20ef5f(_0x2fc8fe._0x553fad) + _0x248902['status']);
|
|
840
835
|
return {
|
|
841
|
-
'contentType':
|
|
842
|
-
'data': Buffer[
|
|
843
|
-
'originalFilename':
|
|
836
|
+
'contentType': _0x723515['data']?.[_0x20ef5f(0x111)] ?? _0x248902[_0x20ef5f(_0x2fc8fe._0x4dbaee)]['get']('content-type') ?? _0x20ef5f(_0x2fc8fe._0x5a862a),
|
|
837
|
+
'data': Buffer[_0x20ef5f(_0x2fc8fe._0x58bcaa)](await _0x248902[_0x20ef5f(0x246)]()),
|
|
838
|
+
'originalFilename': _0x723515['data']?.[_0x20ef5f(0x1a4)]
|
|
844
839
|
};
|
|
845
840
|
} finally {
|
|
846
|
-
clearTimeout(
|
|
841
|
+
clearTimeout(_0x2d34b7);
|
|
847
842
|
}
|
|
848
843
|
},
|
|
849
844
|
async 'listServer'() {
|
|
850
|
-
return
|
|
845
|
+
return _0x11cb5f({ 'forceRefresh': !![] });
|
|
851
846
|
},
|
|
852
847
|
async 'getLatestEventSeq'() {
|
|
853
|
-
const
|
|
854
|
-
|
|
855
|
-
const
|
|
856
|
-
'headers':
|
|
857
|
-
'method':
|
|
858
|
-
}),
|
|
859
|
-
return typeof
|
|
848
|
+
const _0x2b008a = _0x15a914, _0x4fb563 = new URLSearchParams();
|
|
849
|
+
_0x4fb563['set']('afterSeq', '0'), _0x4fb563['set'](_0x2b008a(0x140), '1');
|
|
850
|
+
const _0x52815d = await _0x4e063c(_0x2b008a(0x222) + _0x57bd42[_0x2b008a(_0x477b00._0xec6a6e)] + _0x2b008a(_0x477b00._0x14379a) + _0x4fb563[_0x2b008a(_0x477b00._0xfc55b2)](), {
|
|
851
|
+
'headers': _0xefb39e,
|
|
852
|
+
'method': _0x2b008a(0x110)
|
|
853
|
+
}), _0x139b70 = _0x52815d[_0x2b008a(0xea)]?.[_0x2b008a(0xd4)];
|
|
854
|
+
return typeof _0x139b70 === _0x2b008a(0x218) && _0x139b70 > 0x0 ? _0x139b70 : 0x0;
|
|
860
855
|
},
|
|
861
|
-
async 'readHistory'(
|
|
862
|
-
const
|
|
863
|
-
return
|
|
864
|
-
'after':
|
|
865
|
-
'before':
|
|
866
|
-
'channelId':
|
|
867
|
-
'channelTarget':
|
|
868
|
-
'limit':
|
|
869
|
-
'threadId':
|
|
856
|
+
async 'readHistory'(_0x1556e9) {
|
|
857
|
+
const _0x2e1cd7 = _0x15a914, _0x714ab3 = await _0x521a7e(_0x1556e9[_0x2e1cd7(_0x33077b._0x4a0d2d)]);
|
|
858
|
+
return _0x1850bf({
|
|
859
|
+
'after': _0x1556e9[_0x2e1cd7(0x1ae)],
|
|
860
|
+
'before': _0x1556e9[_0x2e1cd7(_0x33077b._0x4272fd)],
|
|
861
|
+
'channelId': _0x714ab3[_0x2e1cd7(0x220)],
|
|
862
|
+
'channelTarget': _0x714ab3[_0x2e1cd7(0x172)],
|
|
863
|
+
'limit': _0x1556e9[_0x2e1cd7(_0x33077b._0x300c00)],
|
|
864
|
+
'threadId': _0x714ab3[_0x2e1cd7(0x194)]
|
|
870
865
|
});
|
|
871
866
|
},
|
|
872
|
-
'resolveTarget':
|
|
867
|
+
'resolveTarget': _0x521a7e,
|
|
873
868
|
async 'checkMessages'() {
|
|
874
|
-
const
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
'
|
|
882
|
-
'method': _0x5f5c20(_0x50008f._0x215abd)
|
|
883
|
-
}), _0x23ab7e = _0x34c17c[_0x5f5c20(0x18b)] ?? [], _0x32a3c5 = _0x34c17c[_0x5f5c20(0x19e)]?.['cursor'], _0x5cfad8 = _0x6979b4 ? _0x23ab7e['filter'](_0x537070 => {
|
|
884
|
-
const _0x581257 = _0x5f5c20;
|
|
885
|
-
if (_0x537070[_0x581257(_0x115a35._0x578671)] !== _0x581257(_0x115a35._0x22f03f))
|
|
869
|
+
const _0x106a96 = { _0x28c7ae: 0x15e }, _0x533308 = { _0x52d714: 0x11a }, _0x5d6267 = _0x15a914, _0x55d001 = new URLSearchParams();
|
|
870
|
+
_0x55d001[_0x5d6267(_0x2853df._0x1162b1)]('afterSeq', String(_0x140e64));
|
|
871
|
+
const _0xfd15f8 = _0x55d001[_0x5d6267(_0x2853df._0x8a1a3c)](), _0x4d7346 = await _0x4e063c('/internal/agent/' + _0x57bd42[_0x5d6267(0x1bf)] + '/receive' + (_0xfd15f8 ? '?' + _0xfd15f8 : ''), {
|
|
872
|
+
'headers': _0xefb39e,
|
|
873
|
+
'method': 'GET'
|
|
874
|
+
}), _0x2a1b27 = _0x4d7346[_0x5d6267(0x1e9)] ?? [], _0x5f239d = _0x4d7346[_0x5d6267(0xea)]?.[_0x5d6267(_0x2853df._0x48c4ac)], _0x134555 = _0x39ac52 ? _0x2a1b27[_0x5d6267(0x22a)](_0x4e5e78 => {
|
|
875
|
+
const _0x49fdda = _0x5d6267;
|
|
876
|
+
if (_0x4e5e78['aggregateType'] !== _0x49fdda(_0x533308._0x52d714))
|
|
886
877
|
return ![];
|
|
887
|
-
return
|
|
888
|
-
}) :
|
|
889
|
-
let
|
|
890
|
-
|
|
891
|
-
|
|
878
|
+
return _0x1e3b65(_0x39ac52, asRecord(_0x4e5e78[_0x49fdda(0xbf)]));
|
|
879
|
+
}) : _0x2a1b27, _0x19b935 = _0x5f239d !== void 0x0 ? _0x39ac52 ? Math[_0x5d6267(0x14b)](_0x140e64, _0x134555['length'] > 0x0 ? _0x134555[_0x134555['length'] - 0x1][_0x5d6267(_0x2853df._0x5d1de8)] : _0x140e64) : Math[_0x5d6267(0x14b)](_0x140e64, _0x5f239d) : _0x134555[_0x5d6267(0x1c2)] > 0x0 ? Math[_0x5d6267(_0x2853df._0x21bbb3)](_0x140e64, _0x134555[_0x134555['length'] - 0x1][_0x5d6267(_0x2853df._0x562763)]) : _0x140e64, _0xa6a9e2 = (_0x39ac52 ? _0x134555 : _0x2a1b27)[_0x5d6267(_0x2853df._0x5d5165)](_0x507c96 => _0x507c96[_0x5d6267(0x233)] === 'message'), _0xa8c34b = _0x39ac52 === void 0x0 && _0x260433;
|
|
880
|
+
let _0x541e26 = await _0x11cb5f(), _0x581c43 = new Map(_0x541e26[_0x5d6267(_0x2853df._0x4d4a8c)][_0x5d6267(_0x2853df._0xc14dd5)](_0x420681 => [
|
|
881
|
+
_0x420681['id'],
|
|
882
|
+
_0x420681
|
|
892
883
|
]));
|
|
893
|
-
const
|
|
894
|
-
const
|
|
895
|
-
return Boolean(
|
|
884
|
+
const _0x31ee1b = _0xa6a9e2[_0x5d6267(_0x2853df._0x4c1652)](_0x24abef => {
|
|
885
|
+
const _0x5d07a5 = _0x5d6267, _0x152f9b = asRecord(_0x24abef['payloadJson']), _0x4beaea = typeof _0x152f9b?.['channelId'] === 'string' ? _0x152f9b[_0x5d07a5(0x220)] : '';
|
|
886
|
+
return Boolean(_0x4beaea) && !_0x581c43[_0x5d07a5(_0x106a96._0x28c7ae)](_0x4beaea);
|
|
896
887
|
});
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
888
|
+
_0x31ee1b && (_0x541e26 = await _0x11cb5f({ 'forceRefresh': !![] }), _0x581c43 = new Map(_0x541e26['channels'][_0x5d6267(_0x2853df._0xc14dd5)](_0x2785f6 => [
|
|
889
|
+
_0x2785f6['id'],
|
|
890
|
+
_0x2785f6
|
|
900
891
|
])));
|
|
901
|
-
const
|
|
902
|
-
for (const
|
|
903
|
-
const
|
|
904
|
-
if (!
|
|
892
|
+
const _0x2b954a = new Map();
|
|
893
|
+
for (const _0x4cbe7b of _0xa6a9e2) {
|
|
894
|
+
const _0x50327b = asRecord(_0x4cbe7b['payloadJson']), _0x3f8ccc = typeof _0x50327b[_0x5d6267(0x220)] === _0x5d6267(_0x2853df._0x3d49c7) ? _0x50327b[_0x5d6267(_0x2853df._0x1a0d77)] : '';
|
|
895
|
+
if (!_0x3f8ccc)
|
|
905
896
|
continue;
|
|
906
|
-
const
|
|
897
|
+
const _0x5b99ef = typeof _0x50327b[_0x5d6267(0x194)] === _0x5d6267(0xd6) ? _0x50327b[_0x5d6267(0x194)] : void 0x0, _0x4adf19 = typeof _0x50327b[_0x5d6267(_0x2853df._0x2e5c91)] === _0x5d6267(_0x2853df._0x3d49c7) ? _0x50327b[_0x5d6267(0x1dd)] : void 0x0, _0x429015 = typeof _0x50327b['threadNumber'] === 'number' && Number['isInteger'](_0x50327b[_0x5d6267(_0x2853df._0x48fa78)]) ? _0x50327b[_0x5d6267(_0x2853df._0x48fa78)] : void 0x0, _0x27d4b1 = Boolean(_0x5b99ef && (!_0x4adf19 || _0x4cbe7b[_0x5d6267(_0x2853df._0xcbd175)] !== _0x4adf19)), _0x2dfa30 = _0x27d4b1 ? _0x3f8ccc + ':' + _0x5b99ef : _0x3f8ccc, _0x40fc69 = _0x2b954a[_0x5d6267(_0x2853df._0x4f0218)](_0x2dfa30) ?? {
|
|
907
898
|
'aggregateIds': [],
|
|
908
|
-
'channelId':
|
|
899
|
+
'channelId': _0x3f8ccc,
|
|
909
900
|
'entries': new Map(),
|
|
910
|
-
'isThreadReply':
|
|
911
|
-
'rootMessageId':
|
|
912
|
-
'threadNumber':
|
|
913
|
-
'threadId':
|
|
901
|
+
'isThreadReply': _0x27d4b1,
|
|
902
|
+
'rootMessageId': _0x4adf19,
|
|
903
|
+
'threadNumber': _0x429015,
|
|
904
|
+
'threadId': _0x27d4b1 ? _0x5b99ef : void 0x0
|
|
914
905
|
};
|
|
915
|
-
|
|
916
|
-
'payloadJson':
|
|
917
|
-
'seq':
|
|
918
|
-
}),
|
|
906
|
+
_0x40fc69[_0x5d6267(0x17f)] == null && _0x429015 != null && (_0x40fc69[_0x5d6267(0x17f)] = _0x429015), !_0x40fc69[_0x5d6267(_0x2853df._0x3eebc9)] && _0x4adf19 && (_0x40fc69[_0x5d6267(_0x2853df._0x3eebc9)] = _0x4adf19), _0x40fc69[_0x5d6267(_0x2853df._0x4ac66c)][_0x5d6267(0x1c3)](_0x4cbe7b[_0x5d6267(_0x2853df._0xcbd175)]), _0x40fc69[_0x5d6267(0x168)][_0x5d6267(_0x2853df._0x18ee00)](_0x4cbe7b[_0x5d6267(_0x2853df._0xcbd175)], {
|
|
907
|
+
'payloadJson': _0x4cbe7b['payloadJson'],
|
|
908
|
+
'seq': _0x4cbe7b[_0x5d6267(0xe4)]
|
|
909
|
+
}), _0x2b954a[_0x5d6267(0x19e)](_0x2dfa30, _0x40fc69);
|
|
919
910
|
}
|
|
920
|
-
const
|
|
921
|
-
for (const
|
|
911
|
+
const _0x239abc = [];
|
|
912
|
+
for (const _0x2b212e of _0x2b954a[_0x5d6267(_0x2853df._0x1f899f)]()) {
|
|
922
913
|
const {
|
|
923
|
-
channelId:
|
|
924
|
-
threadId:
|
|
925
|
-
rootMessageId:
|
|
926
|
-
threadNumber:
|
|
927
|
-
aggregateIds:
|
|
928
|
-
isThreadReply:
|
|
929
|
-
entries:
|
|
930
|
-
} =
|
|
931
|
-
'channelTarget':
|
|
932
|
-
'rootMessageId':
|
|
933
|
-
'threadId':
|
|
934
|
-
'threadNumber':
|
|
935
|
-
},
|
|
936
|
-
'channelId':
|
|
937
|
-
'channelTarget':
|
|
938
|
-
'limit': Math[
|
|
939
|
-
'threadId':
|
|
940
|
-
}),
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
])),
|
|
944
|
-
for (const
|
|
945
|
-
if (!
|
|
914
|
+
channelId: _0x5ba67f,
|
|
915
|
+
threadId: _0x14dc14,
|
|
916
|
+
rootMessageId: _0x4e9d30,
|
|
917
|
+
threadNumber: _0x540019,
|
|
918
|
+
aggregateIds: _0x15ec62,
|
|
919
|
+
isThreadReply: _0x191466,
|
|
920
|
+
entries: _0x4a9fc3
|
|
921
|
+
} = _0x2b212e, _0x78121f = _0x581c43[_0x5d6267(0x1b9)](_0x5ba67f), _0x276003 = _0x78121f?.['name'] ?? _0x5ba67f, _0x1c0dd4 = _0x78121f?.['kind'] === 'dm' ? _0x5d6267(_0x2853df._0x201dcc) + _0x276003 : '#' + _0x276003, _0x1ca277 = {
|
|
922
|
+
'channelTarget': _0x1c0dd4,
|
|
923
|
+
'rootMessageId': _0x4e9d30,
|
|
924
|
+
'threadId': _0x14dc14,
|
|
925
|
+
'threadNumber': _0x540019
|
|
926
|
+
}, _0x27acaa = await _0x1850bf({
|
|
927
|
+
'channelId': _0x5ba67f,
|
|
928
|
+
'channelTarget': _0x1c0dd4,
|
|
929
|
+
'limit': Math['max'](_0x15ec62[_0x5d6267(0x1c2)], 0x32),
|
|
930
|
+
'threadId': _0x14dc14
|
|
931
|
+
}), _0x3beed2 = new Map(_0x27acaa['messages'][_0x5d6267(0x207)](_0x24adec => [
|
|
932
|
+
_0x24adec[_0x5d6267(0x19b)],
|
|
933
|
+
_0x24adec
|
|
934
|
+
])), _0x3a20fe = _0x14dc14 ? _0x32819f(_0x1ca277) : _0x1c0dd4, _0x4c3306 = _0x39ac52 ? _0x191466 && _0x3f6e02(_0x39ac52, _0x1ca277) : !![], _0x15aefb = _0x191466 ? _0x4c3306 && _0x39ac52 ? _0x39ac52 : _0x3a20fe : _0x1c0dd4;
|
|
935
|
+
for (const _0x8ea1e0 of _0x15ec62) {
|
|
936
|
+
if (!_0x4c3306)
|
|
946
937
|
continue;
|
|
947
|
-
const
|
|
948
|
-
if (
|
|
938
|
+
const _0x5d969c = _0x4a9fc3['get'](_0x8ea1e0), _0x3103ec = _0x5d969c ? asRecord(_0x5d969c[_0x5d6267(_0x2853df._0x4c51d2)]) : void 0x0, _0x3b1c45 = _0x3103ec?.[_0x5d6267(_0x2853df._0x2de85)] === _0x5d6267(_0x2853df._0x4158bf);
|
|
939
|
+
if (_0xa8c34b && _0x3b1c45)
|
|
949
940
|
continue;
|
|
950
|
-
const
|
|
951
|
-
if (
|
|
952
|
-
|
|
953
|
-
'attachments':
|
|
954
|
-
'content':
|
|
955
|
-
'createdAt':
|
|
956
|
-
...
|
|
957
|
-
'messageId':
|
|
958
|
-
'senderName':
|
|
959
|
-
'senderType':
|
|
960
|
-
'target':
|
|
961
|
-
...
|
|
941
|
+
const _0x2c0540 = _0x3beed2['get'](_0x8ea1e0);
|
|
942
|
+
if (_0x2c0540) {
|
|
943
|
+
_0x239abc[_0x5d6267(0x1c3)]({
|
|
944
|
+
'attachments': _0x2c0540[_0x5d6267(0x148)],
|
|
945
|
+
'content': _0x2c0540[_0x5d6267(0x160)],
|
|
946
|
+
'createdAt': _0x2c0540['createdAt'],
|
|
947
|
+
..._0x2c0540[_0x5d6267(_0x2853df._0x5cd969)] ? { 'kind': _0x2c0540[_0x5d6267(0x212)] } : {},
|
|
948
|
+
'messageId': _0x2c0540['messageId'],
|
|
949
|
+
'senderName': _0x2c0540[_0x5d6267(_0x2853df._0x48b3ec)],
|
|
950
|
+
'senderType': _0x2c0540['senderType'],
|
|
951
|
+
'target': _0x15aefb,
|
|
952
|
+
..._0x3b1c45 ? { 'targetedTask': !![] } : {}
|
|
962
953
|
});
|
|
963
954
|
continue;
|
|
964
955
|
}
|
|
965
|
-
if (
|
|
966
|
-
const
|
|
967
|
-
|
|
956
|
+
if (_0x5d969c) {
|
|
957
|
+
const _0x3b89f2 = typeof _0x3103ec?.['senderParticipantId'] === 'string' ? _0x3103ec[_0x5d6267(0x1ed)] : '', _0x4b03ac = typeof _0x3103ec?.['bodyMarkdown'] === _0x5d6267(0xd6) ? _0x3103ec[_0x5d6267(_0x2853df._0x3650a1)] : '', _0x4ab4c1 = typeof _0x3103ec?.['kind'] === _0x5d6267(0xd6) && _0x3103ec[_0x5d6267(_0x2853df._0x19f2f6)] !== _0x5d6267(_0x2853df._0x2ce423) ? _0x3103ec['kind'] : void 0x0;
|
|
958
|
+
_0x3b89f2 && _0x4b03ac && _0x239abc[_0x5d6267(_0x2853df._0x2eff3f)]({
|
|
968
959
|
'attachments': [],
|
|
969
|
-
'content':
|
|
970
|
-
'createdAt': new Date()[
|
|
971
|
-
...
|
|
972
|
-
'messageId':
|
|
973
|
-
'senderName':
|
|
974
|
-
'senderType':
|
|
975
|
-
'target':
|
|
976
|
-
...
|
|
960
|
+
'content': _0x4b03ac,
|
|
961
|
+
'createdAt': new Date()[_0x5d6267(_0x2853df._0x53a408)](),
|
|
962
|
+
..._0x4ab4c1 ? { 'kind': _0x4ab4c1 } : {},
|
|
963
|
+
'messageId': _0x8ea1e0,
|
|
964
|
+
'senderName': _0x2c70c2(_0x3b89f2, _0x541e26),
|
|
965
|
+
'senderType': _0x30ce4d(_0x3b89f2, _0x541e26),
|
|
966
|
+
'target': _0x15aefb,
|
|
967
|
+
..._0x3b1c45 ? { 'targetedTask': !![] } : {}
|
|
977
968
|
});
|
|
978
969
|
}
|
|
979
970
|
}
|
|
980
971
|
}
|
|
981
|
-
if (
|
|
982
|
-
if (
|
|
983
|
-
await
|
|
972
|
+
if (_0x19b935 > 0x0) {
|
|
973
|
+
if (_0x33080b)
|
|
974
|
+
await _0x4ef073(_0x19b935);
|
|
984
975
|
else
|
|
985
|
-
|
|
976
|
+
_0x556253 && await _0x259e2c(_0x19b935);
|
|
986
977
|
}
|
|
987
|
-
return
|
|
978
|
+
return _0x19b935 > _0x140e64 && (_0x140e64 = _0x19b935), { 'messages': _0x39ac52 ? _0x239abc : _0xa8c34b ? _0x239abc[_0x5d6267(_0x2853df._0x3b9f6c)](_0x499b7a => _0x499b7a[_0x5d6267(0x1cf)] !== !![]) : _0x239abc };
|
|
988
979
|
}
|
|
989
980
|
};
|
|
990
981
|
}
|
|
991
|
-
function toLocalTime(
|
|
992
|
-
const
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
982
|
+
function toLocalTime(_0x44999a) {
|
|
983
|
+
const _0x1608dc = {
|
|
984
|
+
_0x45cb2e: 0x106,
|
|
985
|
+
_0x48f2a7: 0x143,
|
|
986
|
+
_0x184af7: 0x142
|
|
987
|
+
}, _0x1fe652 = _0x30157b, _0x1c61c9 = new Date(_0x44999a);
|
|
988
|
+
if (Number[_0x1fe652(_0x1608dc._0x45cb2e)](_0x1c61c9[_0x1fe652(_0x1608dc._0x48f2a7)]()))
|
|
989
|
+
return _0x44999a;
|
|
990
|
+
const _0x21e2f8 = _0x1b5e06 => String(_0x1b5e06)['padStart'](0x2, '0');
|
|
991
|
+
return _0x1c61c9[_0x1fe652(0x167)]() + '-' + _0x21e2f8(_0x1c61c9[_0x1fe652(0x22e)]() + 0x1) + '-' + _0x21e2f8(_0x1c61c9[_0x1fe652(0x13c)]()) + '\x20' + _0x21e2f8(_0x1c61c9[_0x1fe652(_0x1608dc._0x184af7)]()) + ':' + _0x21e2f8(_0x1c61c9['getMinutes']()) + ':' + _0x21e2f8(_0x1c61c9[_0x1fe652(0x119)]());
|
|
997
992
|
}
|
|
998
|
-
function formatAttachmentSuffix(
|
|
999
|
-
const
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
},
|
|
1004
|
-
if (!
|
|
993
|
+
function formatAttachmentSuffix(_0x2d46c9) {
|
|
994
|
+
const _0x5206da = {
|
|
995
|
+
_0x4210fd: 0x1c2,
|
|
996
|
+
_0x16f45f: 0x207,
|
|
997
|
+
_0x31cb57: 0x1c4
|
|
998
|
+
}, _0x44639e = _0x30157b;
|
|
999
|
+
if (!_0x2d46c9 || _0x2d46c9[_0x44639e(_0x5206da._0x4210fd)] === 0x0)
|
|
1005
1000
|
return '';
|
|
1006
|
-
return '\x20[' +
|
|
1001
|
+
return '\x20[' + _0x2d46c9[_0x44639e(0x1c2)] + _0x44639e(0x1e2) + (_0x2d46c9['length'] > 0x1 ? 's' : '') + ':\x20' + _0x2d46c9[_0x44639e(_0x5206da._0x16f45f)](_0x3650e5 => _0x3650e5['filename'] + _0x44639e(0x24b) + _0x3650e5['id'] + ')')['join'](',\x20') + _0x44639e(_0x5206da._0x31cb57);
|
|
1007
1002
|
}
|
|
1008
|
-
function formatCheckMessages(
|
|
1009
|
-
const
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
},
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
}
|
|
1029
|
-
function formatHistory(_0x27a99d) {
|
|
1030
|
-
const _0x4b1e9f = {
|
|
1031
|
-
_0x5eb4e0: 0x20a,
|
|
1032
|
-
_0x5edf84: 0x1d4,
|
|
1033
|
-
_0x1d34ff: 0x28a,
|
|
1034
|
-
_0x1610b1: 0x199,
|
|
1035
|
-
_0x17d147: 0x1ea,
|
|
1036
|
-
_0x3dde20: 0x1ce
|
|
1037
|
-
}, _0x5797a1 = {
|
|
1038
|
-
_0x2b449b: 0x297,
|
|
1039
|
-
_0x591984: 0x180,
|
|
1040
|
-
_0x5e03f9: 0x1fd,
|
|
1041
|
-
_0x127b78: 0x285,
|
|
1042
|
-
_0x2a5645: 0x2b4,
|
|
1043
|
-
_0x6eb316: 0x2b0
|
|
1044
|
-
}, _0x3bcc28 = _0x5468a7;
|
|
1045
|
-
if (_0x27a99d[_0x3bcc28(0x1d4)][_0x3bcc28(_0x4b1e9f._0x5eb4e0)] === 0x0)
|
|
1046
|
-
return _0x3bcc28(0x1ea) + _0x27a99d['channel'] + _0x3bcc28(0x195);
|
|
1047
|
-
const _0x27bd0e = _0x27a99d[_0x3bcc28(_0x4b1e9f._0x5edf84)]['map'](_0x4d1cc1 => {
|
|
1048
|
-
const _0x36c558 = _0x3bcc28, _0x1a3902 = _0x4d1cc1[_0x36c558(0x2d7)] === _0x36c558(0x22c) ? _0x36c558(_0x5797a1._0x2b449b) : '', _0x53a691 = _0x4d1cc1[_0x36c558(0x180)] && _0x4d1cc1[_0x36c558(_0x5797a1._0x591984)] !== _0x36c558(_0x5797a1._0x5e03f9) ? _0x36c558(0x209) + _0x4d1cc1[_0x36c558(_0x5797a1._0x591984)] : '';
|
|
1049
|
-
return _0x36c558(0x188) + _0x4d1cc1[_0x36c558(0x217)] + _0x36c558(0x1f2) + _0x4d1cc1[_0x36c558(_0x5797a1._0x127b78)] + _0x36c558(_0x5797a1._0x2a5645) + toLocalTime(_0x4d1cc1[_0x36c558(0x17e)]) + _0x1a3902 + _0x53a691 + _0x36c558(0x179) + _0x4d1cc1[_0x36c558(0x278)] + ':\x20' + _0x4d1cc1[_0x36c558(_0x5797a1._0x6eb316)] + formatAttachmentSuffix(_0x4d1cc1['attachments']);
|
|
1050
|
-
})[_0x3bcc28(_0x4b1e9f._0x1d34ff)]('\x0a'), _0x43833c = _0x27a99d['hasMore'] && _0x27a99d['nextCursor'] ? _0x3bcc28(0x1be) + _0x27a99d[_0x3bcc28(0x1d4)][_0x3bcc28(0x20a)] + _0x3bcc28(0x160) + _0x27a99d[_0x3bcc28(_0x4b1e9f._0x1610b1)] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1051
|
-
return _0x3bcc28(_0x4b1e9f._0x17d147) + _0x27a99d[_0x3bcc28(_0x4b1e9f._0x3dde20)] + '\x20(' + _0x27a99d['messages'][_0x3bcc28(_0x4b1e9f._0x5eb4e0)] + '\x20messages)\x0a\x0a' + _0x27bd0e + _0x43833c;
|
|
1003
|
+
function formatCheckMessages(_0xa771fb) {
|
|
1004
|
+
const _0x15fc8c = {
|
|
1005
|
+
_0x5ccca1: 0x1c2,
|
|
1006
|
+
_0x1f851f: 0x207
|
|
1007
|
+
}, _0x3c0e94 = {
|
|
1008
|
+
_0x3dbe23: 0x178,
|
|
1009
|
+
_0x5cf746: 0x144,
|
|
1010
|
+
_0x5c401d: 0x212,
|
|
1011
|
+
_0x5bdd52: 0x223,
|
|
1012
|
+
_0x2bf58f: 0x172,
|
|
1013
|
+
_0x12cc74: 0x162,
|
|
1014
|
+
_0x2d50f6: 0x19b,
|
|
1015
|
+
_0x4df2b7: 0x239,
|
|
1016
|
+
_0x5a5cda: 0x148
|
|
1017
|
+
}, _0x4b98c8 = _0x30157b;
|
|
1018
|
+
if (_0xa771fb[_0x4b98c8(_0x15fc8c._0x5ccca1)] === 0x0)
|
|
1019
|
+
return _0x4b98c8(0x10a);
|
|
1020
|
+
return _0xa771fb[_0x4b98c8(_0x15fc8c._0x1f851f)](_0x2cd17e => {
|
|
1021
|
+
const _0x23214a = _0x4b98c8, _0x10b5a5 = _0x2cd17e['senderType'] === _0x23214a(_0x3c0e94._0x3dbe23) ? _0x23214a(_0x3c0e94._0x5cf746) : '', _0xeab4c5 = _0x2cd17e['kind'] && _0x2cd17e[_0x23214a(_0x3c0e94._0x5c401d)] !== 'chat' ? _0x23214a(0x22c) + _0x2cd17e[_0x23214a(0x212)] : '';
|
|
1022
|
+
return _0x23214a(_0x3c0e94._0x5bdd52) + _0x2cd17e[_0x23214a(_0x3c0e94._0x2bf58f)] + _0x23214a(_0x3c0e94._0x12cc74) + _0x2cd17e[_0x23214a(_0x3c0e94._0x2d50f6)][_0x23214a(0x10b)](0x0, 0x8) + '\x20time=' + toLocalTime(_0x2cd17e['createdAt']) + _0x10b5a5 + _0xeab4c5 + ']\x20@' + _0x2cd17e[_0x23214a(_0x3c0e94._0x4df2b7)] + ':\x20' + _0x2cd17e[_0x23214a(0x160)] + formatAttachmentSuffix(_0x2cd17e[_0x23214a(_0x3c0e94._0x5a5cda)]);
|
|
1023
|
+
})['join']('\x0a');
|
|
1052
1024
|
}
|
|
1053
|
-
function
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1025
|
+
function formatHistory(_0x4ec8e3) {
|
|
1026
|
+
const _0x4a75c9 = {
|
|
1027
|
+
_0x30ca1f: 0x15d,
|
|
1028
|
+
_0xadc61f: 0x1c2,
|
|
1029
|
+
_0x46d4cd: 0x1f8,
|
|
1030
|
+
_0x58dc86: 0x1a9,
|
|
1031
|
+
_0x2bc134: 0x1af,
|
|
1032
|
+
_0x427908: 0x16e,
|
|
1033
|
+
_0x215f38: 0x136,
|
|
1034
|
+
_0x291531: 0xee,
|
|
1035
|
+
_0x259e7b: 0x1c2
|
|
1036
|
+
}, _0x10c2c6 = {
|
|
1037
|
+
_0x5b4792: 0x19b,
|
|
1038
|
+
_0x34f5d5: 0x186,
|
|
1039
|
+
_0x103ba5: 0x239,
|
|
1040
|
+
_0x519cb2: 0x160
|
|
1041
|
+
}, _0x3dada6 = _0x30157b;
|
|
1042
|
+
if (_0x4ec8e3[_0x3dada6(_0x4a75c9._0x30ca1f)][_0x3dada6(_0x4a75c9._0xadc61f)] === 0x0)
|
|
1043
|
+
return '##\x20Message\x20History\x20for\x20' + _0x4ec8e3[_0x3dada6(0x225)] + _0x3dada6(_0x4a75c9._0x46d4cd);
|
|
1044
|
+
const _0x31f5b5 = _0x4ec8e3[_0x3dada6(_0x4a75c9._0x30ca1f)]['map'](_0x7f575a => {
|
|
1045
|
+
const _0x2b468f = _0x3dada6, _0xb38c1f = _0x7f575a['senderType'] === _0x2b468f(0x178) ? '\x20type=agent' : '', _0x3ccf9e = _0x7f575a['kind'] && _0x7f575a[_0x2b468f(0x212)] !== _0x2b468f(0x13f) ? _0x2b468f(0x22c) + _0x7f575a[_0x2b468f(0x212)] : '';
|
|
1046
|
+
return _0x2b468f(0x1f2) + _0x7f575a['seq'] + '\x20msg=' + _0x7f575a[_0x2b468f(_0x10c2c6._0x5b4792)] + _0x2b468f(_0x10c2c6._0x34f5d5) + toLocalTime(_0x7f575a['createdAt']) + _0xb38c1f + _0x3ccf9e + ']\x20@' + _0x7f575a[_0x2b468f(_0x10c2c6._0x103ba5)] + ':\x20' + _0x7f575a[_0x2b468f(_0x10c2c6._0x519cb2)] + formatAttachmentSuffix(_0x7f575a[_0x2b468f(0x148)]);
|
|
1047
|
+
})['join']('\x0a'), _0x3d11b3 = _0x4ec8e3[_0x3dada6(_0x4a75c9._0x58dc86)] && _0x4ec8e3['nextCursor'] ? _0x3dada6(_0x4a75c9._0x2bc134) + _0x4ec8e3[_0x3dada6(0x15d)][_0x3dada6(0x1c2)] + _0x3dada6(_0x4a75c9._0x427908) + _0x4ec8e3['nextCursor'] + _0x3dada6(_0x4a75c9._0x215f38) : '';
|
|
1048
|
+
return _0x3dada6(_0x4a75c9._0x291531) + _0x4ec8e3['channel'] + '\x20(' + _0x4ec8e3[_0x3dada6(_0x4a75c9._0x30ca1f)][_0x3dada6(_0x4a75c9._0x259e7b)] + '\x20messages)\x0a\x0a' + _0x31f5b5 + _0x3d11b3;
|
|
1073
1049
|
}
|
|
1074
|
-
function formatServerDirectory(
|
|
1075
|
-
const
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1050
|
+
function formatServerDirectory(_0x7f8623) {
|
|
1051
|
+
const _0x876e58 = {
|
|
1052
|
+
_0x378691: 0x1a8,
|
|
1053
|
+
_0x370f5e: 0x1c2,
|
|
1054
|
+
_0x1ebf62: 0x207,
|
|
1055
|
+
_0x12a663: 0x1b7,
|
|
1056
|
+
_0x4b4b31: 0xfb,
|
|
1057
|
+
_0x5813cd: 0x207,
|
|
1058
|
+
_0x2af2b3: 0x209,
|
|
1059
|
+
_0x48c008: 0x21e,
|
|
1060
|
+
_0x155030: 0x210
|
|
1061
|
+
}, _0x325001 = _0x30157b, _0x2971ac = _0x7f8623[_0x325001(_0x876e58._0x378691)][_0x325001(_0x876e58._0x370f5e)] > 0x0 ? _0x7f8623[_0x325001(0x1a8)][_0x325001(_0x876e58._0x1ebf62)](_0x56f21e => _0x56f21e['description'] ? _0x325001(0x1f3) + _0x56f21e[_0x325001(0x23b)] + _0x325001(0xe3) + _0x56f21e[_0x325001(0x1cd)] : _0x325001(0x1f3) + _0x56f21e[_0x325001(0x23b)])[_0x325001(0xfb)]('\x0a') : '(none)', _0x5a2750 = _0x7f8623['agents']['length'] > 0x0 ? _0x7f8623[_0x325001(_0x876e58._0x12a663)]['map'](_0x5b7e72 => _0x325001(0x197) + _0x5b7e72[_0x325001(0x23b)])[_0x325001(_0x876e58._0x4b4b31)]('\x0a') : _0x325001(0x232), _0xe030f9 = _0x7f8623[_0x325001(0x1f7)]['length'] > 0x0 ? _0x7f8623[_0x325001(0x1f7)][_0x325001(_0x876e58._0x5813cd)](_0x156333 => _0x325001(0x197) + _0x156333[_0x325001(0x23b)])[_0x325001(0xfb)]('\x0a') : _0x325001(0x232);
|
|
1084
1062
|
return [
|
|
1085
|
-
'##\x20Server:\x20' +
|
|
1063
|
+
'##\x20Server:\x20' + _0x7f8623['serverName'],
|
|
1086
1064
|
'',
|
|
1087
|
-
|
|
1088
|
-
|
|
1065
|
+
_0x325001(_0x876e58._0x2af2b3),
|
|
1066
|
+
_0x2971ac,
|
|
1089
1067
|
'',
|
|
1090
|
-
|
|
1091
|
-
|
|
1068
|
+
_0x325001(_0x876e58._0x48c008),
|
|
1069
|
+
_0x5a2750,
|
|
1092
1070
|
'',
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
][
|
|
1071
|
+
_0x325001(_0x876e58._0x155030),
|
|
1072
|
+
_0xe030f9
|
|
1073
|
+
]['join']('\x0a');
|
|
1074
|
+
}
|
|
1075
|
+
function _0x5bbb(_0x287e65, _0x4c487a) {
|
|
1076
|
+
_0x287e65 = _0x287e65 - 0xbb;
|
|
1077
|
+
const _0x20835e = _0x2083();
|
|
1078
|
+
let _0x5bbb97 = _0x20835e[_0x287e65];
|
|
1079
|
+
if (_0x5bbb['eoGjDa'] === undefined) {
|
|
1080
|
+
var _0x898cf3 = function (_0x233653) {
|
|
1081
|
+
const _0x61e6fd = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
1082
|
+
let _0x34ca8e = '', _0x4475e8 = '';
|
|
1083
|
+
for (let _0x4b54d9 = 0x0, _0x178312, _0x1f3bf8, _0x2803a4 = 0x0; _0x1f3bf8 = _0x233653['charAt'](_0x2803a4++); ~_0x1f3bf8 && (_0x178312 = _0x4b54d9 % 0x4 ? _0x178312 * 0x40 + _0x1f3bf8 : _0x1f3bf8, _0x4b54d9++ % 0x4) ? _0x34ca8e += String['fromCharCode'](0xff & _0x178312 >> (-0x2 * _0x4b54d9 & 0x6)) : 0x0) {
|
|
1084
|
+
_0x1f3bf8 = _0x61e6fd['indexOf'](_0x1f3bf8);
|
|
1085
|
+
}
|
|
1086
|
+
for (let _0x1f47c2 = 0x0, _0x3088f4 = _0x34ca8e['length']; _0x1f47c2 < _0x3088f4; _0x1f47c2++) {
|
|
1087
|
+
_0x4475e8 += '%' + ('00' + _0x34ca8e['charCodeAt'](_0x1f47c2)['toString'](0x10))['slice'](-0x2);
|
|
1088
|
+
}
|
|
1089
|
+
return decodeURIComponent(_0x4475e8);
|
|
1090
|
+
};
|
|
1091
|
+
_0x5bbb['QmSoKS'] = _0x898cf3, _0x5bbb['EklwlC'] = {}, _0x5bbb['eoGjDa'] = !![];
|
|
1092
|
+
}
|
|
1093
|
+
const _0x1e44c4 = _0x20835e[0x0], _0x5732e5 = _0x287e65 + _0x1e44c4, _0x353657 = _0x5bbb['EklwlC'][_0x5732e5];
|
|
1094
|
+
return !_0x353657 ? (_0x5bbb97 = _0x5bbb['QmSoKS'](_0x5bbb97), _0x5bbb['EklwlC'][_0x5732e5] = _0x5bbb97) : _0x5bbb97 = _0x353657, _0x5bbb97;
|
|
1096
1095
|
}
|
|
1097
|
-
function formatUploadResult(
|
|
1098
|
-
const
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1096
|
+
function formatUploadResult(_0x276add) {
|
|
1097
|
+
const _0x545dfa = {
|
|
1098
|
+
_0x418c0f: 0x1d6,
|
|
1099
|
+
_0x1c01dd: 0x15c,
|
|
1100
|
+
_0x1abd9b: 0x1f4,
|
|
1101
|
+
_0x2d2cf: 0x1b4,
|
|
1102
|
+
_0x179bae: 0x21a
|
|
1103
|
+
}, _0x4b33c6 = _0x30157b;
|
|
1104
|
+
return _0x4b33c6(_0x545dfa._0x418c0f) + _0x276add[_0x4b33c6(_0x545dfa._0x1c01dd)] + '\x20(' + (_0x276add[_0x4b33c6(0x1c7)] / 0x400)[_0x4b33c6(_0x545dfa._0x1abd9b)](0x1) + _0x4b33c6(_0x545dfa._0x2d2cf) + _0x276add[_0x4b33c6(_0x545dfa._0x179bae)] + _0x4b33c6(0x21f);
|
|
1105
1105
|
}
|
|
1106
|
-
function formatViewFileResult(
|
|
1107
|
-
const
|
|
1108
|
-
return
|
|
1106
|
+
function formatViewFileResult(_0x98828f, _0x273389) {
|
|
1107
|
+
const _0x35d024 = { _0x188888: 0x150 }, _0x319a17 = _0x30157b;
|
|
1108
|
+
return _0x273389 ? 'File\x20already\x20cached\x20at:\x20' + _0x98828f : _0x319a17(_0x35d024._0x188888) + _0x98828f;
|
|
1109
1109
|
}
|
|
1110
|
-
function formatTaskList(
|
|
1111
|
-
const
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
},
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
return
|
|
1126
|
-
|
|
1127
|
-
const _0x1d4079 = _0x191df7, _0x41d6dc = _0x273188[_0x1d4079(0x299)] == null ? _0x1d4079(_0x90bd14._0x2b3c89) : _0x273188[_0x1d4079(_0x90bd14._0x310176)] != null ? '#' + _0x273188['taskNumber'] + '.' + _0x273188[_0x1d4079(_0x90bd14._0x34fa8d)] : '#' + _0x273188[_0x1d4079(_0x90bd14._0x1a74bd)], _0x46dbe0 = _0x273188['messageId'] ? _0x1d4079(0x233) + _0x273188[_0x1d4079(_0x90bd14._0x562be0)] : '', _0x592d94 = _0x1492d7 && _0x273188['taskNumber'] != null && !_0x273188['subtaskNumber'] && _0x1492d7[_0x1d4079(0x2db)](_0x273188['taskNumber']) ? _0x1d4079(0x1d5) : '', _0x2ed4ea = _0x273188[_0x1d4079(_0x90bd14._0x49fade)] != null && _0x273188['childrenTotal'] > 0x0 ? '\x20(' + (_0x273188[_0x1d4079(0x1e5)] ?? 0x0) + '/' + _0x273188[_0x1d4079(_0x90bd14._0x92ac56)] + _0x1d4079(_0x90bd14._0x195f65) : '';
|
|
1128
|
-
return _0x41d6dc + '\x20[' + _0x273188[_0x1d4079(0x16b)] + ']\x20' + _0x273188[_0x1d4079(0x2b5)] + _0x2ed4ea + _0x46dbe0 + _0x592d94;
|
|
1129
|
-
})[_0x191df7(0x28a)]('\x0a');
|
|
1110
|
+
function formatTaskList(_0x3b703c, _0x5a1a21) {
|
|
1111
|
+
const _0x2623f8 = {
|
|
1112
|
+
_0x56b6ab: 0x1c2,
|
|
1113
|
+
_0x19ae60: 0xfb
|
|
1114
|
+
}, _0x41cb99 = {
|
|
1115
|
+
_0x1d19e3: 0x175,
|
|
1116
|
+
_0x231670: 0x16b,
|
|
1117
|
+
_0x1ee6ea: 0x1c8,
|
|
1118
|
+
_0x38a68d: 0x12c,
|
|
1119
|
+
_0x38ce5b: 0x240
|
|
1120
|
+
}, _0x109bfb = _0x30157b;
|
|
1121
|
+
if (_0x3b703c[_0x109bfb(_0x2623f8._0x56b6ab)] === 0x0)
|
|
1122
|
+
return _0x109bfb(0x1a1);
|
|
1123
|
+
return _0x3b703c[_0x109bfb(0x207)](_0x1e5e02 => {
|
|
1124
|
+
const _0x269cb5 = _0x109bfb, _0xb28635 = _0x1e5e02[_0x269cb5(0x16b)] == null ? '(legacy)' : _0x1e5e02[_0x269cb5(_0x41cb99._0x1d19e3)] != null ? '#' + _0x1e5e02[_0x269cb5(0x16b)] + '.' + _0x1e5e02[_0x269cb5(_0x41cb99._0x1d19e3)] : '#' + _0x1e5e02[_0x269cb5(_0x41cb99._0x231670)], _0x9a371f = _0x1e5e02[_0x269cb5(0x19b)] ? _0x269cb5(_0x41cb99._0x1ee6ea) + _0x1e5e02['messageId'] : '', _0x47ca28 = _0x5a1a21 && _0x1e5e02[_0x269cb5(_0x41cb99._0x231670)] != null && !_0x1e5e02[_0x269cb5(0x175)] && _0x5a1a21['has'](_0x1e5e02[_0x269cb5(0x16b)]) ? _0x269cb5(_0x41cb99._0x38a68d) : '', _0x35bcbd = _0x1e5e02['childrenTotal'] != null && _0x1e5e02[_0x269cb5(0x108)] > 0x0 ? '\x20(' + (_0x1e5e02[_0x269cb5(0xbd)] ?? 0x0) + '/' + _0x1e5e02[_0x269cb5(0x108)] + '\x20done)' : '';
|
|
1125
|
+
return _0xb28635 + '\x20[' + _0x1e5e02[_0x269cb5(_0x41cb99._0x38ce5b)] + ']\x20' + _0x1e5e02['title'] + _0x35bcbd + _0x9a371f + _0x47ca28;
|
|
1126
|
+
})[_0x109bfb(_0x2623f8._0x19ae60)]('\x0a');
|
|
1130
1127
|
}
|
|
1131
|
-
function formatCreatedTasks(
|
|
1132
|
-
const
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1128
|
+
function formatCreatedTasks(_0x26a1ae) {
|
|
1129
|
+
const _0x412548 = { _0x4c9466: 0xd3 }, _0x588ad8 = {
|
|
1130
|
+
_0x45092e: 0x175,
|
|
1131
|
+
_0x571447: 0x175,
|
|
1132
|
+
_0x4799b1: 0x16b,
|
|
1133
|
+
_0x3cfcd4: 0x19b,
|
|
1134
|
+
_0x14893f: 0x1d7
|
|
1135
|
+
}, _0x644416 = _0x30157b;
|
|
1136
|
+
if (_0x26a1ae[_0x644416(0x1c2)] === 0x0)
|
|
1137
|
+
return _0x644416(_0x412548._0x4c9466);
|
|
1138
|
+
return _0x26a1ae['map'](_0x260ceb => {
|
|
1139
|
+
const _0x143f25 = _0x644416, _0x1b515c = _0x260ceb['taskNumber'] == null ? _0x143f25(0x224) : _0x260ceb[_0x143f25(_0x588ad8._0x45092e)] != null ? '#' + _0x260ceb['taskNumber'] + '.' + _0x260ceb[_0x143f25(_0x588ad8._0x571447)] : '#' + _0x260ceb[_0x143f25(_0x588ad8._0x4799b1)], _0x43a533 = _0x260ceb[_0x143f25(0x19b)] ? _0x143f25(0x1c8) + _0x260ceb[_0x143f25(_0x588ad8._0x3cfcd4)] : '';
|
|
1140
|
+
return _0x1b515c + '\x20' + _0x260ceb[_0x143f25(_0x588ad8._0x14893f)] + _0x43a533;
|
|
1141
|
+
})[_0x644416(0xfb)]('\x0a');
|
|
1143
1142
|
}
|
|
1144
|
-
function formatClaimTaskLabel(
|
|
1145
|
-
const
|
|
1146
|
-
if (
|
|
1147
|
-
return
|
|
1148
|
-
return
|
|
1143
|
+
function formatClaimTaskLabel(_0x3a4e1c, _0x4bfbd6) {
|
|
1144
|
+
const _0x202b93 = { _0x2b9bed: 0x224 }, _0x47f655 = _0x30157b;
|
|
1145
|
+
if (_0x3a4e1c == null)
|
|
1146
|
+
return _0x47f655(_0x202b93._0x2b9bed);
|
|
1147
|
+
return _0x4bfbd6 != null ? '#' + _0x3a4e1c + '.' + _0x4bfbd6 : '#' + _0x3a4e1c;
|
|
1149
1148
|
}
|
|
1150
|
-
function formatClaimTaskResults(
|
|
1151
|
-
const
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
const _0x2e3d49 = [
|
|
1181
|
-
_0x20fbc0(_0x3d738c._0x1d2945),
|
|
1182
|
-
_0x12dfaf['stopMain'] ? _0x20fbc0(0x2a8) : null,
|
|
1183
|
-
_0x12dfaf[_0x20fbc0(_0x3d738c._0x13b0b5)] ? _0x20fbc0(0x26d) + _0x12dfaf['executionMode'] : null,
|
|
1184
|
-
_0x12dfaf[_0x20fbc0(_0x3d738c._0x37b279)] ? 'threadTarget=' + _0x12dfaf[_0x20fbc0(_0x3d738c._0x37b279)] : null,
|
|
1185
|
-
_0x12dfaf[_0x20fbc0(_0x3d738c._0x1ba5f8)] ? _0x20fbc0(_0x3d738c._0x6a543a) + _0x12dfaf[_0x20fbc0(0x25e)] : null
|
|
1186
|
-
][_0x20fbc0(_0x3d738c._0x47e30d)](Boolean)[_0x20fbc0(0x28a)]('\x20');
|
|
1187
|
-
return _0x310a79 + _0x20fbc0(_0x3d738c._0x9ee24d) + _0x4ddd59 + '\x20' + _0x2e3d49 + '\x0a⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Worker\x20handles\x20execution\x20end-to-end.';
|
|
1149
|
+
function formatClaimTaskResults(_0x316ca8) {
|
|
1150
|
+
const _0x4830d4 = { _0x9d959: 0x1a5 }, _0x43979a = {
|
|
1151
|
+
_0x32810b: 0x19b,
|
|
1152
|
+
_0xc29f14: 0x237,
|
|
1153
|
+
_0x2f2cc7: 0x1fc,
|
|
1154
|
+
_0x4e2e05: 0xe8,
|
|
1155
|
+
_0x48d073: 0x10c,
|
|
1156
|
+
_0x2cdf4f: 0x141,
|
|
1157
|
+
_0x3ca70e: 0x22a,
|
|
1158
|
+
_0x2dc604: 0x10d,
|
|
1159
|
+
_0x3eda97: 0x179,
|
|
1160
|
+
_0x54ab1c: 0x15b,
|
|
1161
|
+
_0x550616: 0x19b,
|
|
1162
|
+
_0x505e6b: 0x105
|
|
1163
|
+
}, _0x2d48b8 = _0x30157b;
|
|
1164
|
+
if (_0x316ca8['length'] === 0x0)
|
|
1165
|
+
return _0x2d48b8(_0x4830d4._0x9d959);
|
|
1166
|
+
return _0x316ca8['map'](_0x100286 => {
|
|
1167
|
+
const _0x5ab0dc = _0x2d48b8;
|
|
1168
|
+
if (_0x100286[_0x5ab0dc(0xdd)]) {
|
|
1169
|
+
const _0x2c3387 = formatClaimTaskLabel(_0x100286['taskNumber'], _0x100286[_0x5ab0dc(0x175)]), _0x26eb63 = _0x100286[_0x5ab0dc(0x19b)] ? _0x5ab0dc(0x1c8) + _0x100286[_0x5ab0dc(_0x43979a._0x32810b)] : '';
|
|
1170
|
+
if (_0x100286[_0x5ab0dc(_0x43979a._0xc29f14)]) {
|
|
1171
|
+
const _0x3bac31 = [
|
|
1172
|
+
_0x5ab0dc(0x20b),
|
|
1173
|
+
_0x100286[_0x5ab0dc(0x10e)] ? _0x5ab0dc(0xd1) : null,
|
|
1174
|
+
_0x100286[_0x5ab0dc(_0x43979a._0x2f2cc7)] ? _0x5ab0dc(0x135) + _0x100286[_0x5ab0dc(_0x43979a._0x2f2cc7)] : null,
|
|
1175
|
+
_0x100286[_0x5ab0dc(0x184)] ? _0x5ab0dc(_0x43979a._0x4e2e05) + _0x100286[_0x5ab0dc(0x184)] : null,
|
|
1176
|
+
_0x100286[_0x5ab0dc(0x141)] ? _0x5ab0dc(_0x43979a._0x48d073) + _0x100286[_0x5ab0dc(_0x43979a._0x2cdf4f)] : null
|
|
1177
|
+
][_0x5ab0dc(_0x43979a._0x3ca70e)](Boolean)[_0x5ab0dc(0xfb)]('\x20');
|
|
1178
|
+
return _0x2c3387 + '\x20claimed' + _0x26eb63 + '\x20' + _0x3bac31 + _0x5ab0dc(_0x43979a._0x2dc604);
|
|
1188
1179
|
}
|
|
1189
|
-
if (
|
|
1190
|
-
return
|
|
1191
|
-
const
|
|
1192
|
-
return
|
|
1180
|
+
if (_0x100286['executionMode'] === _0x5ab0dc(0x11d))
|
|
1181
|
+
return _0x2c3387 + _0x5ab0dc(0x123) + _0x26eb63 + '\x20workerHandoff=false\x20executionMode=main\x0aStay\x20in\x20main\x20session:\x20read\x20the\x20referenced\x20plan/document\x20and\x20call\x20create_tasks\x20in\x20the\x20parent\x20channel\x20to\x20break\x20it\x20into\x20top-level\x20tasks\x20(or\x20otherwise\x20advance\x20the\x20task\x20in\x20main\x20without\x20handing\x20off\x20to\x20a\x20worker).';
|
|
1182
|
+
const _0x516a6c = _0x100286[_0x5ab0dc(_0x43979a._0x3eda97)] ? _0x5ab0dc(_0x43979a._0x54ab1c) + _0x100286[_0x5ab0dc(0x179)] : '';
|
|
1183
|
+
return _0x2c3387 + _0x5ab0dc(0x123) + _0x26eb63 + _0x516a6c;
|
|
1193
1184
|
}
|
|
1194
|
-
const
|
|
1195
|
-
return
|
|
1196
|
-
})[
|
|
1185
|
+
const _0x5a3166 = _0x100286['taskNumber'] == null ? _0x100286[_0x5ab0dc(_0x43979a._0x550616)] ?? _0x5ab0dc(_0x43979a._0x505e6b) : formatClaimTaskLabel(_0x100286['taskNumber'], _0x100286[_0x5ab0dc(0x175)]);
|
|
1186
|
+
return _0x5a3166 + _0x5ab0dc(0x1fa) + (_0x100286[_0x5ab0dc(0x14f)] ?? _0x5ab0dc(0x19c));
|
|
1187
|
+
})[_0x2d48b8(0xfb)]('\x0a');
|
|
1197
1188
|
}
|
|
1198
|
-
function formatUnclaimTaskResult(
|
|
1199
|
-
const
|
|
1200
|
-
|
|
1201
|
-
_0x268cb0: 0x2d2
|
|
1202
|
-
}, _0x17a98d = _0x5468a7, _0x132c07 = _0x342d4a[_0x17a98d(_0x22f122._0x153814)] == null ? _0x17a98d(0x25f) : _0x342d4a['subtaskNumber'] != null ? '#' + _0x342d4a['taskNumber'] + '.' + _0x342d4a[_0x17a98d(0x2e7)] : '#' + _0x342d4a['taskNumber'];
|
|
1203
|
-
return _0x132c07 + _0x17a98d(_0x22f122._0x268cb0) + _0x342d4a[_0x17a98d(0x16b)];
|
|
1189
|
+
function formatUnclaimTaskResult(_0x5771d7) {
|
|
1190
|
+
const _0x4ec296 = { _0x43b982: 0x240 }, _0x2cd33e = _0x30157b, _0x2f7cff = _0x5771d7[_0x2cd33e(0x16b)] == null ? '(legacy)' : _0x5771d7['subtaskNumber'] != null ? '#' + _0x5771d7['taskNumber'] + '.' + _0x5771d7['subtaskNumber'] : '#' + _0x5771d7[_0x2cd33e(0x16b)];
|
|
1191
|
+
return _0x2f7cff + _0x2cd33e(0x124) + _0x5771d7[_0x2cd33e(_0x4ec296._0x43b982)];
|
|
1204
1192
|
}
|
|
1205
|
-
function formatUpdateTaskStatusResult(
|
|
1206
|
-
const
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
return _0x374841 + _0x57c6cd(0x2e5);
|
|
1193
|
+
function formatUpdateTaskStatusResult(_0x32976a) {
|
|
1194
|
+
const _0x4df7fd = {
|
|
1195
|
+
_0x51671e: 0x224,
|
|
1196
|
+
_0x46308e: 0x16b,
|
|
1197
|
+
_0xf038c4: 0x240,
|
|
1198
|
+
_0x2b4578: 0x242
|
|
1199
|
+
}, _0x24a8e7 = _0x30157b, _0xad9ca0 = _0x32976a[_0x24a8e7(0x16b)] == null ? _0x24a8e7(_0x4df7fd._0x51671e) : _0x32976a[_0x24a8e7(0x175)] != null ? '#' + _0x32976a[_0x24a8e7(_0x4df7fd._0x46308e)] + '.' + _0x32976a[_0x24a8e7(0x175)] : '#' + _0x32976a[_0x24a8e7(0x16b)], _0x1f38cd = _0xad9ca0 + '\x20status=' + _0x32976a['status'];
|
|
1200
|
+
if (_0x32976a[_0x24a8e7(_0x4df7fd._0xf038c4)] !== _0x24a8e7(_0x4df7fd._0x2b4578))
|
|
1201
|
+
return _0x1f38cd;
|
|
1202
|
+
return _0x1f38cd + _0x24a8e7(0x203);
|
|
1216
1203
|
}
|
|
1217
1204
|
function getChatBridgeToolDefinitions() {
|
|
1218
|
-
const
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1205
|
+
const _0x5f5bec = {
|
|
1206
|
+
_0x3094a3: 0x236,
|
|
1207
|
+
_0x176893: 0x127,
|
|
1208
|
+
_0x8fd696: 0x1e0,
|
|
1209
|
+
_0x17f507: 0x199,
|
|
1210
|
+
_0xfb5301: 0xe2,
|
|
1211
|
+
_0x9bbe91: 0x211,
|
|
1212
|
+
_0x4e6175: 0xff,
|
|
1213
|
+
_0x203235: 0x16d
|
|
1214
|
+
}, _0x35ca9f = _0x30157b;
|
|
1227
1215
|
return [
|
|
1228
|
-
{ 'name':
|
|
1229
|
-
{ 'name':
|
|
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':
|
|
1216
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x3094a3) },
|
|
1217
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x176893) },
|
|
1218
|
+
{ 'name': _0x35ca9f(0x11b) },
|
|
1219
|
+
{ 'name': _0x35ca9f(0x1bd) },
|
|
1220
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x8fd696) },
|
|
1221
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x17f507) },
|
|
1222
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0xfb5301) },
|
|
1223
|
+
{ 'name': _0x35ca9f(0xf9) },
|
|
1224
|
+
{ 'name': _0x35ca9f(0x113) },
|
|
1225
|
+
{ 'name': _0x35ca9f(0x18a) },
|
|
1226
|
+
{ 'name': _0x35ca9f(0x16f) },
|
|
1227
|
+
{ 'name': _0x35ca9f(0xe6) },
|
|
1228
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x9bbe91) },
|
|
1229
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x4e6175) },
|
|
1230
|
+
{ 'name': _0x35ca9f(_0x5f5bec._0x203235) }
|
|
1243
1231
|
];
|
|
1244
1232
|
}
|
|
1245
|
-
function
|
|
1246
|
-
const
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
_0x9292d7: 0x186,
|
|
1252
|
-
_0x496c3a: 0x2c9,
|
|
1253
|
-
_0x36faad: 0x2ae,
|
|
1254
|
-
_0x21ca86: 0x253,
|
|
1255
|
-
_0x3ff500: 0x184,
|
|
1256
|
-
_0x9432c2: 0x2c8
|
|
1257
|
-
}, _0x3a8fbb = {
|
|
1258
|
-
_0x1cec3d: 0x2d8,
|
|
1259
|
-
_0x28bcb6: 0x193,
|
|
1260
|
-
_0x209459: 0x2c9,
|
|
1261
|
-
_0x32fdad: 0x165,
|
|
1262
|
-
_0x245bc2: 0x1d2,
|
|
1263
|
-
_0x1dde69: 0x2d8,
|
|
1264
|
-
_0x3bca70: 0x187,
|
|
1265
|
-
_0x3706b6: 0x2b2
|
|
1266
|
-
}, _0x275c66 = {
|
|
1267
|
-
_0x2e1d8c: 0x1e1,
|
|
1268
|
-
_0x33f0e9: 0x1c7,
|
|
1269
|
-
_0xb41b3b: 0x168,
|
|
1270
|
-
_0x215da7: 0x187
|
|
1271
|
-
}, _0x46932c = {
|
|
1272
|
-
_0x1c8c69: 0x1d2,
|
|
1273
|
-
_0x43c021: 0x187,
|
|
1274
|
-
_0x1aff30: 0x16b
|
|
1275
|
-
}, _0x2022cc = {
|
|
1276
|
-
_0x3ff024: 0x250,
|
|
1277
|
-
_0x5b0804: 0x1a5,
|
|
1278
|
-
_0x258963: 0x2de
|
|
1279
|
-
}, _0x2360eb = { _0x4d8bf0: 0x2e6 }, _0x5806b4 = {
|
|
1280
|
-
_0xfa8691: 0x1cf,
|
|
1281
|
-
_0x17ba9d: 0x226
|
|
1282
|
-
}, _0x674d68 = {
|
|
1283
|
-
_0x1886e0: 0x2c3,
|
|
1284
|
-
_0x38a2f5: 0x1ec
|
|
1285
|
-
}, _0x5cf2d0 = {
|
|
1286
|
-
_0x1c2073: 0x191,
|
|
1287
|
-
_0x33e2c1: 0x1ce,
|
|
1288
|
-
_0x111fdb: 0x1a1,
|
|
1289
|
-
_0x439fa7: 0x20a,
|
|
1290
|
-
_0x3a15b4: 0x1a0,
|
|
1291
|
-
_0x49c5f: 0x281,
|
|
1292
|
-
_0x56b093: 0x1b4
|
|
1293
|
-
}, _0x20e83f = {
|
|
1294
|
-
_0x108aa1: 0x1ce,
|
|
1295
|
-
_0x3a7ab5: 0x1ad
|
|
1296
|
-
}, _0x239e08 = {
|
|
1297
|
-
_0x9b3a93: 0x1a7,
|
|
1298
|
-
_0x28beb8: 0x18e,
|
|
1299
|
-
_0x76d6c: 0x1bb,
|
|
1300
|
-
_0xc9861: 0x2a6,
|
|
1301
|
-
_0x5d1f97: 0x22d,
|
|
1302
|
-
_0xca976b: 0x20a,
|
|
1303
|
-
_0x361b6a: 0x299,
|
|
1304
|
-
_0x35b502: 0x20e,
|
|
1305
|
-
_0x2e5520: 0x20e
|
|
1306
|
-
}, _0x1ee57f = { _0x226b0f: 0x225 }, _0x2dd3f1 = { _0x5f02c8: 0x200 }, _0x54245a = {
|
|
1307
|
-
_0x3c90a0: 0x2d8,
|
|
1308
|
-
_0x103854: 0x272,
|
|
1309
|
-
_0x6eb0f0: 0x173,
|
|
1310
|
-
_0x5d70a2: 0x21d,
|
|
1311
|
-
_0x4cd09a: 0x285,
|
|
1312
|
-
_0xefc073: 0x299,
|
|
1313
|
-
_0x39e3cc: 0x2c5,
|
|
1314
|
-
_0x5da259: 0x198,
|
|
1315
|
-
_0x53474b: 0x22d,
|
|
1316
|
-
_0x4eccfd: 0x1d0,
|
|
1317
|
-
_0x31289a: 0x2ee,
|
|
1318
|
-
_0x4abc97: 0x23a,
|
|
1319
|
-
_0x64c37e: 0x236,
|
|
1320
|
-
_0x54f539: 0x28a,
|
|
1321
|
-
_0x1a238c: 0x1e1,
|
|
1322
|
-
_0x13504d: 0x165,
|
|
1323
|
-
_0x540276: 0x2d8,
|
|
1324
|
-
_0x53afa6: 0x25d,
|
|
1325
|
-
_0xc19e4d: 0x1c7,
|
|
1326
|
-
_0x42d0bf: 0x212,
|
|
1327
|
-
_0x504145: 0x1ba,
|
|
1328
|
-
_0x28c7f5: 0x2aa,
|
|
1329
|
-
_0x1675c9: 0x19b,
|
|
1330
|
-
_0x54df86: 0x1ca,
|
|
1331
|
-
_0x59a28d: 0x2e8,
|
|
1332
|
-
_0xd205e: 0x263,
|
|
1333
|
-
_0x2c6169: 0x285
|
|
1334
|
-
}, _0x33dd7d = {
|
|
1335
|
-
_0x214b3a: 0x18e,
|
|
1336
|
-
_0x4b13f4: 0x2db,
|
|
1337
|
-
_0x5d4b4a: 0x1bb,
|
|
1338
|
-
_0x11dae7: 0x1ae
|
|
1339
|
-
}, _0x49496b = {
|
|
1340
|
-
_0x3a09f7: 0x2d8,
|
|
1341
|
-
_0x1e508b: 0x18e,
|
|
1342
|
-
_0x4b0136: 0x1bb,
|
|
1343
|
-
_0x25ba33: 0x1ae
|
|
1344
|
-
}, _0x1e25de = {
|
|
1345
|
-
_0x5479ce: 0x2d8,
|
|
1346
|
-
_0x1a89c3: 0x180,
|
|
1347
|
-
_0x90cb95: 0x1ce,
|
|
1348
|
-
_0x520136: 0x272,
|
|
1349
|
-
_0xfea986: 0x299,
|
|
1350
|
-
_0x7330dd: 0x299,
|
|
1351
|
-
_0x2260ca: 0x198,
|
|
1352
|
-
_0x3c5bb6: 0x285,
|
|
1353
|
-
_0x34438c: 0x24b,
|
|
1354
|
-
_0x18fa12: 0x1fa,
|
|
1355
|
-
_0x1b8dac: 0x16c,
|
|
1356
|
-
_0x56a4eb: 0x196,
|
|
1357
|
-
_0xe7f852: 0x285,
|
|
1358
|
-
_0x3b99d5: 0x236,
|
|
1359
|
-
_0x127965: 0x28a,
|
|
1360
|
-
_0x43984c: 0x28c,
|
|
1361
|
-
_0x2914f1: 0x2c9,
|
|
1362
|
-
_0x45d138: 0x2ae,
|
|
1363
|
-
_0x3b5768: 0x165,
|
|
1364
|
-
_0x103ad1: 0x25d,
|
|
1365
|
-
_0x7ab1ff: 0x299,
|
|
1366
|
-
_0x44b6c9: 0x178,
|
|
1367
|
-
_0x17df88: 0x2a0,
|
|
1368
|
-
_0x4731a5: 0x2aa
|
|
1369
|
-
}, _0x479ce4 = {
|
|
1370
|
-
_0x549ac9: 0x219,
|
|
1371
|
-
_0x5756f0: 0x237
|
|
1372
|
-
}, _0xc90eff = _0x5468a7;
|
|
1373
|
-
function _0x11052f(_0x259991, _0x30f445) {
|
|
1374
|
-
const _0x1a7565 = _0x226b;
|
|
1375
|
-
if (!_0x2c2de1[_0x1a7565(0x191)])
|
|
1376
|
-
return;
|
|
1377
|
-
if (!_0x2c2de1[_0x1a7565(0x219)])
|
|
1378
|
-
throw new Error(_0x259991 + _0x1a7565(0x2a4));
|
|
1379
|
-
if (_0x30f445 !== _0x2c2de1[_0x1a7565(_0x479ce4._0x549ac9)])
|
|
1380
|
-
throw new Error(_0x259991 + _0x1a7565(0x181) + _0x2c2de1['workerThreadTarget'] + _0x1a7565(_0x479ce4._0x5756f0) + _0x30f445);
|
|
1381
|
-
}
|
|
1382
|
-
async function _0x367e9c(_0x23aadd) {
|
|
1383
|
-
const _0x25308f = _0x226b;
|
|
1384
|
-
if (!_0x2c2de1['daemonLocalUrl'] || !_0x2c2de1[_0x25308f(_0x1e25de._0x5479ce)] || _0x2c2de1['workerMode'] || _0x2c2de1[_0x25308f(0x1bc)] !== !![])
|
|
1385
|
-
return null;
|
|
1386
|
-
const _0x6601f1 = parseTarget(_0x23aadd['channel']);
|
|
1387
|
-
if (_0x6601f1[_0x25308f(_0x1e25de._0x1a89c3)] !== _0x25308f(_0x1e25de._0x90cb95))
|
|
1388
|
-
return null;
|
|
1389
|
-
if (_0x23aadd[_0x25308f(_0x1e25de._0x520136)] === _0x25308f(0x1b9)) {
|
|
1390
|
-
const _0x417f5b = _0x23aadd[_0x25308f(_0x1e25de._0xfea986)] == null ? '(legacy)' : '#' + _0x23aadd[_0x25308f(_0x1e25de._0x7330dd)];
|
|
1391
|
-
return {
|
|
1392
|
-
'executionMode': _0x25308f(0x1b9),
|
|
1393
|
-
'stopMain': ![],
|
|
1394
|
-
'workerHandoff': ![],
|
|
1395
|
-
'workerHandoffError': 'task\x20' + _0x417f5b + '\x20stays\x20in\x20main\x20session\x20(executionMode=main);\x20remain\x20here,\x20read\x20the\x20referenced\x20plan/document,\x20and\x20call\x20create_tasks\x20in\x20the\x20parent\x20channel\x20to\x20break\x20it\x20into\x20top-level\x20tasks\x20if\x20that\x20is\x20the\x20intent.'
|
|
1396
|
-
};
|
|
1397
|
-
}
|
|
1398
|
-
const _0x3a4c0d = _0x23aadd[_0x25308f(_0x1e25de._0x2260ca)] != null ? _0x6601f1[_0x25308f(0x232)] + ':t' + _0x23aadd[_0x25308f(0x198)] : _0x6601f1['channelTarget'] + ':' + _0x23aadd[_0x25308f(_0x1e25de._0x3c5bb6)];
|
|
1399
|
-
let _0x58f7e3;
|
|
1400
|
-
try {
|
|
1401
|
-
const _0x4d2250 = await _0x2c2de1['client']['readHistory']({
|
|
1402
|
-
'channel': _0x3a4c0d,
|
|
1403
|
-
'limit': 0x14
|
|
1404
|
-
});
|
|
1405
|
-
_0x58f7e3 = _0x4d2250['messages'][_0x25308f(0x20b)](_0x362732 => _0x362732[_0x25308f(0x285)] === _0x23aadd[_0x25308f(0x285)]);
|
|
1406
|
-
} catch {
|
|
1407
|
-
_0x58f7e3 = void 0x0;
|
|
1408
|
-
}
|
|
1409
|
-
const _0x2397c0 = _0x23aadd[_0x25308f(0x299)] == null ? '(legacy)' : '#' + _0x23aadd[_0x25308f(0x299)], _0x4a5334 = [
|
|
1410
|
-
_0x25308f(_0x1e25de._0x34438c) + _0x3a4c0d + _0x25308f(0x1f2) + _0x23aadd[_0x25308f(0x285)]['slice'](0x0, 0x8) + _0x25308f(0x2b4) + new Date()[_0x25308f(_0x1e25de._0x18fa12)]() + _0x25308f(_0x1e25de._0x1b8dac) + _0x2397c0 + _0x25308f(0x26a),
|
|
1411
|
-
'',
|
|
1412
|
-
_0x58f7e3 ? _0x25308f(_0x1e25de._0x56a4eb) + _0x58f7e3['content'] : 'Root\x20task\x20message\x20id:\x20' + _0x23aadd[_0x25308f(_0x1e25de._0xe7f852)],
|
|
1413
|
-
'',
|
|
1414
|
-
_0x25308f(_0x1e25de._0x3b99d5) + _0x3a4c0d,
|
|
1415
|
-
_0x25308f(0x26b)
|
|
1416
|
-
][_0x25308f(_0x1e25de._0x127965)]('\x0a'), _0x5348d9 = await fetch(_0x2c2de1[_0x25308f(0x1e1)] + _0x25308f(_0x1e25de._0x43984c), {
|
|
1417
|
-
'method': _0x25308f(_0x1e25de._0x2914f1),
|
|
1418
|
-
'headers': { 'Content-Type': _0x25308f(_0x1e25de._0x45d138) },
|
|
1419
|
-
'body': JSON[_0x25308f(_0x1e25de._0x3b5768)]({
|
|
1420
|
-
'agent_id': _0x2c2de1[_0x25308f(0x2d8)],
|
|
1421
|
-
'thread_target': _0x3a4c0d,
|
|
1422
|
-
'spawn_packet': {
|
|
1423
|
-
'replyTarget': _0x3a4c0d,
|
|
1424
|
-
..._0x23aadd[_0x25308f(_0x1e25de._0x103ad1)] ? { 'taskId': _0x23aadd[_0x25308f(0x25d)] } : _0x23aadd[_0x25308f(_0x1e25de._0x7ab1ff)] != null ? { 'taskId': _0x25308f(0x222) + _0x23aadd[_0x25308f(_0x1e25de._0x7ab1ff)] } : {}
|
|
1425
|
-
},
|
|
1426
|
-
'payload': {
|
|
1427
|
-
'mode': _0x25308f(_0x1e25de._0x44b6c9),
|
|
1428
|
-
'text': _0x4a5334
|
|
1429
|
-
}
|
|
1430
|
-
})
|
|
1431
|
-
}), _0x2c59a2 = await _0x5348d9['json']();
|
|
1432
|
-
if (!_0x2c59a2['ok'])
|
|
1433
|
-
throw new Error(_0x2c59a2['error'] ?? _0x25308f(_0x1e25de._0x17df88));
|
|
1434
|
-
return {
|
|
1435
|
-
'stopMain': !![],
|
|
1436
|
-
'threadTarget': _0x3a4c0d,
|
|
1437
|
-
'workerDisposition': _0x2c59a2['disposition'] === _0x25308f(0x2aa) ? _0x25308f(_0x1e25de._0x4731a5) : 'started',
|
|
1438
|
-
'workerHandoff': !![],
|
|
1439
|
-
'workerSessionId': _0x2c59a2['worker_session_id'] ?? '',
|
|
1440
|
-
'executionMode': _0x25308f(0x2b7)
|
|
1441
|
-
};
|
|
1442
|
-
}
|
|
1443
|
-
async function _0x1229a2() {
|
|
1444
|
-
const _0x2885ef = _0x226b;
|
|
1445
|
-
if (!_0x2c2de1[_0x2885ef(0x1e1)] || !_0x2c2de1[_0x2885ef(_0x49496b._0x3a09f7)] || _0x2c2de1['workerMode'])
|
|
1446
|
-
return null;
|
|
1447
|
-
try {
|
|
1448
|
-
const _0x295a99 = await fetch(_0x2c2de1['daemonLocalUrl'] + _0x2885ef(_0x49496b._0x1e508b) + encodeURIComponent(_0x2c2de1[_0x2885ef(_0x49496b._0x3a09f7)])), _0x3a02ec = await _0x295a99['json']();
|
|
1449
|
-
if (!_0x3a02ec['ok'])
|
|
1450
|
-
return null;
|
|
1451
|
-
const _0x50cdca = new Set();
|
|
1452
|
-
for (const _0x5411b0 of _0x3a02ec[_0x2885ef(0x1db)]) {
|
|
1453
|
-
_0x5411b0[_0x2885ef(0x16b)] !== 'destroyed' && _0x5411b0[_0x2885ef(_0x49496b._0x4b0136)] && _0x50cdca[_0x2885ef(0x20e)](_0x5411b0['thread_target']);
|
|
1454
|
-
}
|
|
1455
|
-
return _0x50cdca[_0x2885ef(_0x49496b._0x25ba33)] > 0x0 ? _0x50cdca : null;
|
|
1456
|
-
} catch {
|
|
1457
|
-
return null;
|
|
1458
|
-
}
|
|
1459
|
-
}
|
|
1460
|
-
const _0x39126f = new Set([
|
|
1461
|
-
_0xc90eff(_0x8a4fcf._0x1c3e23),
|
|
1462
|
-
_0xc90eff(0x2a2),
|
|
1463
|
-
_0xc90eff(_0x8a4fcf._0x368ad3)
|
|
1464
|
-
]);
|
|
1465
|
-
async function _0x5cb239() {
|
|
1466
|
-
const _0x3572c6 = _0xc90eff;
|
|
1467
|
-
if (!_0x2c2de1[_0x3572c6(0x1e1)] || !_0x2c2de1[_0x3572c6(0x2d8)] || _0x2c2de1[_0x3572c6(0x191)])
|
|
1468
|
-
return null;
|
|
1469
|
-
try {
|
|
1470
|
-
const _0x20e745 = await fetch(_0x2c2de1['daemonLocalUrl'] + _0x3572c6(_0x33dd7d._0x214b3a) + encodeURIComponent(_0x2c2de1['agentId'])), _0xdc06dc = await _0x20e745[_0x3572c6(0x1c7)]();
|
|
1471
|
-
if (!_0xdc06dc['ok'])
|
|
1472
|
-
return null;
|
|
1473
|
-
const _0xa82a20 = new Set();
|
|
1474
|
-
for (const _0x21d2aa of _0xdc06dc[_0x3572c6(0x1db)]) {
|
|
1475
|
-
_0x39126f[_0x3572c6(_0x33dd7d._0x4b13f4)](_0x21d2aa[_0x3572c6(0x16b)]) && _0x21d2aa[_0x3572c6(0x1bb)] && _0xa82a20['add'](_0x21d2aa[_0x3572c6(_0x33dd7d._0x5d4b4a)]);
|
|
1476
|
-
}
|
|
1477
|
-
return _0xa82a20[_0x3572c6(_0x33dd7d._0x11dae7)] > 0x0 ? _0xa82a20 : null;
|
|
1478
|
-
} catch {
|
|
1479
|
-
return null;
|
|
1480
|
-
}
|
|
1481
|
-
}
|
|
1482
|
-
return {
|
|
1483
|
-
async 'send_message'(_0x50fdc1) {
|
|
1484
|
-
const _0x538eac = _0xc90eff;
|
|
1485
|
-
if (!_0x2c2de1[_0x538eac(0x191)] && _0x2c2de1['workerModeEnabled'] && _0x2c2de1['daemonLocalUrl'] && _0x2c2de1[_0x538eac(_0x54245a._0x3c90a0)]) {
|
|
1486
|
-
const _0x4240f0 = await _0x2c2de1[_0x538eac(0x1ec)][_0x538eac(0x1c8)](_0x50fdc1[_0x538eac(0x2e8)]);
|
|
1487
|
-
if (_0x4240f0['task'] && _0x4240f0['threadId']) {
|
|
1488
|
-
if (_0x4240f0['task'][_0x538eac(_0x54245a._0x103854)] === _0x538eac(0x1b9)) {
|
|
1489
|
-
const _0x8f7548 = await _0x2c2de1['client']['sendMessage']({
|
|
1490
|
-
'attachmentIds': _0x50fdc1['attachment_ids'],
|
|
1491
|
-
'content': _0x50fdc1[_0x538eac(0x2b0)],
|
|
1492
|
-
'target': _0x50fdc1[_0x538eac(0x2e8)],
|
|
1493
|
-
'visibility': _0x50fdc1['visibility']
|
|
1494
|
-
});
|
|
1495
|
-
return _0x538eac(_0x54245a._0x6eb0f0) + _0x50fdc1[_0x538eac(0x2e8)] + _0x538eac(_0x54245a._0x5d70a2) + _0x8f7548[_0x538eac(_0x54245a._0x4cd09a)];
|
|
1496
|
-
}
|
|
1497
|
-
const _0x295e18 = _0x4240f0[_0x538eac(0x2c5)][_0x538eac(_0x54245a._0xefc073)] != null ? '#' + _0x4240f0[_0x538eac(_0x54245a._0x39e3cc)][_0x538eac(0x299)] : '(legacy)', _0x52d545 = _0x4240f0[_0x538eac(0x198)] != null ? _0x4240f0[_0x538eac(0x2e8)] + ':t' + _0x4240f0[_0x538eac(_0x54245a._0x5da259)] : _0x4240f0[_0x538eac(0x2e8)] + ':' + _0x4240f0[_0x538eac(0x1a6)][_0x538eac(_0x54245a._0x53474b)](0x0, 0x8), _0x3d734c = await _0x5cb239();
|
|
1498
|
-
if (_0x3d734c?.[_0x538eac(0x2db)](_0x52d545))
|
|
1499
|
-
return [
|
|
1500
|
-
_0x538eac(0x17a) + _0x295e18 + _0x538eac(0x197) + _0x52d545 + _0x538eac(_0x54245a._0x4eccfd),
|
|
1501
|
-
_0x538eac(0x1b0)
|
|
1502
|
-
]['join']('\x0a');
|
|
1503
|
-
const _0x52c489 = [
|
|
1504
|
-
_0x538eac(0x24b) + _0x52d545 + _0x538eac(0x28e) + new Date()[_0x538eac(0x1fa)]() + ']\x20@system:\x20[enter-handoff]',
|
|
1505
|
-
'',
|
|
1506
|
-
_0x538eac(_0x54245a._0x31289a) + _0x50fdc1['content'],
|
|
1507
|
-
_0x538eac(_0x54245a._0x4abc97) + _0x295e18 + '\x20(' + _0x4240f0[_0x538eac(_0x54245a._0x39e3cc)]['taskId'] + ')',
|
|
1508
|
-
_0x538eac(_0x54245a._0x64c37e) + _0x52d545,
|
|
1509
|
-
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1510
|
-
][_0x538eac(_0x54245a._0x54f539)]('\x0a'), _0xc19802 = await fetch(_0x2c2de1[_0x538eac(_0x54245a._0x1a238c)] + '/workers/deliver', {
|
|
1511
|
-
'method': 'POST',
|
|
1512
|
-
'headers': { 'Content-Type': 'application/json' },
|
|
1513
|
-
'body': JSON[_0x538eac(_0x54245a._0x13504d)]({
|
|
1514
|
-
'agent_id': _0x2c2de1[_0x538eac(_0x54245a._0x540276)],
|
|
1515
|
-
'thread_target': _0x52d545,
|
|
1516
|
-
'spawn_packet': {
|
|
1517
|
-
'replyTarget': _0x52d545,
|
|
1518
|
-
'taskId': _0x4240f0[_0x538eac(0x2c5)][_0x538eac(_0x54245a._0x53afa6)]
|
|
1519
|
-
},
|
|
1520
|
-
'payload': {
|
|
1521
|
-
'mode': _0x538eac(0x178),
|
|
1522
|
-
'text': _0x52c489
|
|
1523
|
-
}
|
|
1524
|
-
})
|
|
1525
|
-
}), _0xc59d12 = await _0xc19802[_0x538eac(_0x54245a._0xc19e4d)]();
|
|
1526
|
-
if (!_0xc59d12['ok'])
|
|
1527
|
-
throw new Error(_0xc59d12['error'] ?? _0x538eac(_0x54245a._0x42d0bf));
|
|
1528
|
-
return [
|
|
1529
|
-
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x295e18 + _0x538eac(0x197) + _0x52d545 + _0x538eac(0x166),
|
|
1530
|
-
_0x538eac(0x29e) + (_0xc59d12[_0x538eac(_0x54245a._0x504145)] === _0x538eac(_0x54245a._0x28c7f5) ? 'queued' : _0x538eac(0x247)) + '.',
|
|
1531
|
-
_0x538eac(_0x54245a._0x1675c9)
|
|
1532
|
-
][_0x538eac(_0x54245a._0x54f539)]('\x0a');
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
const _0x199090 = await _0x2c2de1[_0x538eac(0x1ec)]['sendMessage']({
|
|
1536
|
-
'attachmentIds': _0x50fdc1[_0x538eac(_0x54245a._0x54df86)],
|
|
1537
|
-
'content': _0x50fdc1[_0x538eac(0x2b0)],
|
|
1538
|
-
'target': _0x50fdc1[_0x538eac(_0x54245a._0x59a28d)],
|
|
1539
|
-
'visibility': _0x50fdc1[_0x538eac(_0x54245a._0xd205e)]
|
|
1540
|
-
});
|
|
1541
|
-
return _0x538eac(_0x54245a._0x6eb0f0) + _0x50fdc1[_0x538eac(0x2e8)] + _0x538eac(_0x54245a._0x5d70a2) + _0x199090[_0x538eac(_0x54245a._0x2c6169)];
|
|
1542
|
-
},
|
|
1543
|
-
async 'check_messages'() {
|
|
1544
|
-
const _0x31ff9f = _0xc90eff, _0x57994a = await _0x2c2de1[_0x31ff9f(0x1ec)][_0x31ff9f(0x16e)]();
|
|
1545
|
-
if (!_0x2c2de1[_0x31ff9f(0x191)]) {
|
|
1546
|
-
const _0x545149 = await _0x1229a2();
|
|
1547
|
-
if (_0x545149)
|
|
1548
|
-
return formatCheckMessages(_0x57994a[_0x31ff9f(0x1d4)][_0x31ff9f(_0x2dd3f1._0x5f02c8)](_0x5d7868 => !_0x545149[_0x31ff9f(0x2db)](_0x5d7868[_0x31ff9f(0x2e8)])));
|
|
1549
|
-
}
|
|
1550
|
-
return formatCheckMessages(_0x57994a[_0x31ff9f(0x1d4)]);
|
|
1551
|
-
},
|
|
1552
|
-
async 'read_history'(_0x49dd37) {
|
|
1553
|
-
const _0x40e86c = _0xc90eff, _0x570789 = await _0x2c2de1[_0x40e86c(0x1ec)][_0x40e86c(0x29f)](_0x49dd37);
|
|
1554
|
-
return formatHistory(_0x570789);
|
|
1555
|
-
},
|
|
1556
|
-
async 'list_server'() {
|
|
1557
|
-
const _0x5a922b = _0xc90eff, _0x48dbbe = await _0x2c2de1['client'][_0x5a922b(_0x1ee57f._0x226b0f)]();
|
|
1558
|
-
return formatServerDirectory(_0x48dbbe);
|
|
1559
|
-
},
|
|
1560
|
-
async 'list_tasks'(_0x2dd2a3) {
|
|
1561
|
-
const _0x21f871 = _0xc90eff, _0x123631 = await _0x2c2de1[_0x21f871(0x1ec)][_0x21f871(_0x239e08._0x9b3a93)](_0x2dd2a3);
|
|
1562
|
-
let _0x1f1104;
|
|
1563
|
-
if (_0x2c2de1[_0x21f871(0x1e1)] && _0x2c2de1['agentId'])
|
|
1564
|
-
try {
|
|
1565
|
-
const _0x5aaa67 = await fetch(_0x2c2de1['daemonLocalUrl'] + _0x21f871(_0x239e08._0x28beb8) + encodeURIComponent(_0x2c2de1[_0x21f871(0x2d8)])), _0x3af09d = await _0x5aaa67['json']();
|
|
1566
|
-
if (_0x3af09d['ok']) {
|
|
1567
|
-
const _0x2610e2 = _0x2dd2a3['channel'] + ':';
|
|
1568
|
-
_0x1f1104 = new Set();
|
|
1569
|
-
for (const _0x2b430b of _0x3af09d[_0x21f871(0x1db)]) {
|
|
1570
|
-
if (_0x2b430b[_0x21f871(0x16b)] === _0x21f871(0x2ec))
|
|
1571
|
-
continue;
|
|
1572
|
-
if (_0x2b430b[_0x21f871(_0x239e08._0x76d6c)]?.[_0x21f871(_0x239e08._0xc9861)](_0x2610e2)) {
|
|
1573
|
-
const _0x37e28b = _0x2b430b['thread_target'][_0x21f871(_0x239e08._0x5d1f97)](_0x2610e2[_0x21f871(_0x239e08._0xca976b)]), _0x1ac205 = _0x123631[_0x21f871(0x1f5)][_0x21f871(0x20b)](_0x4827e1 => _0x4827e1[_0x21f871(0x285)]?.['startsWith'](_0x37e28b) === !![]);
|
|
1574
|
-
if (_0x1ac205?.[_0x21f871(_0x239e08._0x361b6a)] != null) {
|
|
1575
|
-
_0x1f1104[_0x21f871(_0x239e08._0x35b502)](_0x1ac205['taskNumber']);
|
|
1576
|
-
continue;
|
|
1577
|
-
}
|
|
1578
|
-
}
|
|
1579
|
-
if (_0x2b430b['task_id']) {
|
|
1580
|
-
const _0x45b8fe = _0x123631['tasks']['find'](_0x12ab9c => _0x12ab9c[_0x21f871(0x25d)] === _0x2b430b[_0x21f871(0x205)]);
|
|
1581
|
-
_0x45b8fe?.['taskNumber'] != null && _0x1f1104[_0x21f871(_0x239e08._0x2e5520)](_0x45b8fe[_0x21f871(_0x239e08._0x361b6a)]);
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
} catch {
|
|
1586
|
-
}
|
|
1587
|
-
return formatTaskList(_0x123631[_0x21f871(0x1f5)], _0x1f1104);
|
|
1588
|
-
},
|
|
1589
|
-
async 'create_tasks'(_0xe1ac2a) {
|
|
1590
|
-
const _0x187c60 = _0xc90eff;
|
|
1591
|
-
_0x11052f('create_tasks', _0xe1ac2a[_0x187c60(_0x20e83f._0x108aa1)]);
|
|
1592
|
-
const _0x3942d7 = await _0x2c2de1[_0x187c60(0x1ec)][_0x187c60(_0x20e83f._0x3a7ab5)](_0xe1ac2a);
|
|
1593
|
-
return formatCreatedTasks(_0x3942d7[_0x187c60(0x1f5)]);
|
|
1594
|
-
},
|
|
1595
|
-
async 'claim_tasks'(_0x5856af) {
|
|
1596
|
-
const _0x3f582b = {
|
|
1597
|
-
_0x2365e5: 0x1ce,
|
|
1598
|
-
_0x4311cd: 0x272
|
|
1599
|
-
}, _0x4d08bd = _0xc90eff;
|
|
1600
|
-
if (_0x2c2de1[_0x4d08bd(_0x5cf2d0._0x1c2073)]) {
|
|
1601
|
-
_0x11052f('claim_tasks', _0x5856af[_0x4d08bd(_0x5cf2d0._0x33e2c1)]);
|
|
1602
|
-
if (_0x5856af[_0x4d08bd(0x1e0)] && _0x5856af[_0x4d08bd(0x1e0)]['length'] > 0x0)
|
|
1603
|
-
throw new Error(_0x4d08bd(_0x5cf2d0._0x111fdb));
|
|
1604
|
-
if (!_0x5856af['subtask_numbers'] || _0x5856af[_0x4d08bd(0x177)][_0x4d08bd(_0x5cf2d0._0x439fa7)] === 0x0)
|
|
1605
|
-
throw new Error(_0x4d08bd(_0x5cf2d0._0x3a15b4));
|
|
1606
|
-
}
|
|
1607
|
-
const _0xfa2020 = await _0x2c2de1[_0x4d08bd(0x1ec)][_0x4d08bd(_0x5cf2d0._0x49c5f)](_0x5856af), _0x1054b8 = await Promise['all'](_0xfa2020[_0x4d08bd(0x183)][_0x4d08bd(_0x5cf2d0._0x56b093)](async _0x4b1c17 => {
|
|
1608
|
-
const _0x4c42de = _0x4d08bd;
|
|
1609
|
-
if (!_0x4b1c17['success'] || !_0x4b1c17[_0x4c42de(0x285)])
|
|
1610
|
-
return _0x4b1c17;
|
|
1611
|
-
try {
|
|
1612
|
-
const _0x4a7928 = await _0x367e9c({
|
|
1613
|
-
'channel': _0x5856af[_0x4c42de(_0x3f582b._0x2365e5)],
|
|
1614
|
-
'executionMode': _0x4b1c17[_0x4c42de(_0x3f582b._0x4311cd)],
|
|
1615
|
-
'messageId': _0x4b1c17[_0x4c42de(0x285)],
|
|
1616
|
-
'taskId': _0x4b1c17[_0x4c42de(0x25d)],
|
|
1617
|
-
'taskNumber': _0x4b1c17[_0x4c42de(0x299)],
|
|
1618
|
-
'threadNumber': _0x4b1c17['threadNumber']
|
|
1619
|
-
});
|
|
1620
|
-
return _0x4a7928 ? {
|
|
1621
|
-
..._0x4b1c17,
|
|
1622
|
-
..._0x4a7928
|
|
1623
|
-
} : _0x4b1c17;
|
|
1624
|
-
} catch (_0x4970c6) {
|
|
1625
|
-
return {
|
|
1626
|
-
..._0x4b1c17,
|
|
1627
|
-
'workerHandoffError': _0x4970c6 instanceof Error ? _0x4970c6[_0x4c42de(0x1cc)] : _0x4c42de(0x2a0)
|
|
1628
|
-
};
|
|
1629
|
-
}
|
|
1630
|
-
}));
|
|
1631
|
-
return formatClaimTaskResults(_0x1054b8);
|
|
1632
|
-
},
|
|
1633
|
-
async 'unclaim_task'(_0x2e8472) {
|
|
1634
|
-
const _0x448b0d = _0xc90eff;
|
|
1635
|
-
if (_0x2c2de1[_0x448b0d(0x191)]) {
|
|
1636
|
-
_0x11052f(_0x448b0d(0x18c), _0x2e8472['channel']);
|
|
1637
|
-
if (_0x2e8472[_0x448b0d(_0x674d68._0x1886e0)] == null)
|
|
1638
|
-
throw new Error(_0x448b0d(0x221));
|
|
1639
|
-
}
|
|
1640
|
-
const _0x589a28 = await _0x2c2de1[_0x448b0d(_0x674d68._0x38a2f5)]['unclaimTask'](_0x2e8472);
|
|
1641
|
-
return formatUnclaimTaskResult(_0x589a28);
|
|
1642
|
-
},
|
|
1643
|
-
async 'update_task_status'(_0x406d63) {
|
|
1644
|
-
const _0x179bd7 = _0xc90eff;
|
|
1645
|
-
_0x11052f(_0x179bd7(_0x5806b4._0xfa8691), _0x406d63['channel']);
|
|
1646
|
-
const _0xc61f55 = await _0x2c2de1[_0x179bd7(0x1ec)][_0x179bd7(_0x5806b4._0x17ba9d)](_0x406d63);
|
|
1647
|
-
return formatUpdateTaskStatusResult(_0xc61f55);
|
|
1648
|
-
},
|
|
1649
|
-
async 'upload_file'(_0x1dba4a) {
|
|
1650
|
-
const _0x2d4598 = _0xc90eff, _0x24ac7f = await _0x2c2de1[_0x2d4598(0x235)](_0x1dba4a[_0x2d4598(0x27e)]), {
|
|
1651
|
-
sizeBytes: _0x1fc3f0,
|
|
1652
|
-
..._0x945f5b
|
|
1653
|
-
} = _0x24ac7f, _0x1a2a8a = await _0x2c2de1['client'][_0x2d4598(_0x2360eb._0x4d8bf0)]({
|
|
1654
|
-
'channel': _0x1dba4a[_0x2d4598(0x1ce)],
|
|
1655
|
-
..._0x945f5b
|
|
1656
|
-
});
|
|
1657
|
-
return formatUploadResult(_0x1a2a8a);
|
|
1658
|
-
},
|
|
1659
|
-
async 'view_file'(_0x3152fa) {
|
|
1660
|
-
const _0x24afca = _0xc90eff, _0x18c682 = await _0x2c2de1[_0x24afca(0x250)]['findCachedPath'](_0x3152fa['attachment_id']);
|
|
1661
|
-
if (_0x18c682)
|
|
1662
|
-
return formatViewFileResult(_0x18c682, !![]);
|
|
1663
|
-
const _0x523c8c = await _0x2c2de1['client'][_0x24afca(0x1d1)](_0x3152fa['attachment_id']), _0xbd65d6 = await _0x2c2de1[_0x24afca(_0x2022cc._0x3ff024)][_0x24afca(0x17c)]({
|
|
1664
|
-
'attachmentId': _0x3152fa[_0x24afca(_0x2022cc._0x5b0804)],
|
|
1665
|
-
'contentType': _0x523c8c[_0x24afca(_0x2022cc._0x258963)],
|
|
1666
|
-
'data': _0x523c8c['data'],
|
|
1667
|
-
'originalFilename': _0x523c8c[_0x24afca(0x1b1)]
|
|
1668
|
-
});
|
|
1669
|
-
return formatViewFileResult(_0xbd65d6, ![]);
|
|
1670
|
-
},
|
|
1671
|
-
async 'get_worker_status'(_0xf4f600) {
|
|
1672
|
-
const _0x17a15a = _0xc90eff;
|
|
1673
|
-
if (!_0x2c2de1[_0x17a15a(0x1e1)])
|
|
1674
|
-
return _0x17a15a(0x1b6);
|
|
1675
|
-
const _0x1b6ce9 = await fetch(_0x2c2de1[_0x17a15a(0x1e1)] + _0x17a15a(0x185) + encodeURIComponent(_0xf4f600[_0x17a15a(_0x46932c._0x1c8c69)])), _0x42a0e2 = await _0x1b6ce9[_0x17a15a(0x1c7)]();
|
|
1676
|
-
if (!_0x42a0e2['ok'])
|
|
1677
|
-
return _0x17a15a(_0x46932c._0x43c021) + _0xf4f600[_0x17a15a(_0x46932c._0x1c8c69)] + _0x17a15a(0x255);
|
|
1678
|
-
return _0x17a15a(0x187) + _0xf4f600[_0x17a15a(0x1d2)] + _0x17a15a(0x1e8) + _0x42a0e2[_0x17a15a(_0x46932c._0x1aff30)];
|
|
1679
|
-
},
|
|
1680
|
-
async 'park_worker'(_0x5135b0) {
|
|
1681
|
-
const _0x755cc3 = _0xc90eff;
|
|
1682
|
-
if (!_0x2c2de1[_0x755cc3(_0x275c66._0x2e1d8c)])
|
|
1683
|
-
return _0x755cc3(0x1b6);
|
|
1684
|
-
const _0x13d9f3 = await fetch(_0x2c2de1['daemonLocalUrl'] + '/workers/park', {
|
|
1685
|
-
'method': _0x755cc3(0x2c9),
|
|
1686
|
-
'headers': { 'Content-Type': _0x755cc3(0x2ae) },
|
|
1687
|
-
'body': JSON[_0x755cc3(0x165)]({ 'work_key': _0x5135b0[_0x755cc3(0x1d2)] })
|
|
1688
|
-
}), _0x1b565b = await _0x13d9f3[_0x755cc3(_0x275c66._0x33f0e9)]();
|
|
1689
|
-
if (!_0x1b565b['ok'])
|
|
1690
|
-
throw new Error(_0x1b565b[_0x755cc3(_0x275c66._0xb41b3b)] ?? _0x755cc3(0x259));
|
|
1691
|
-
return _0x755cc3(_0x275c66._0x215da7) + _0x5135b0[_0x755cc3(0x1d2)] + _0x755cc3(0x220);
|
|
1692
|
-
},
|
|
1693
|
-
async 'mark_waiting_input'(_0x492037) {
|
|
1694
|
-
const _0x56d767 = _0xc90eff;
|
|
1695
|
-
if (!_0x2c2de1['daemonLocalUrl'] || !_0x2c2de1[_0x56d767(_0x3a8fbb._0x1cec3d)])
|
|
1696
|
-
return _0x56d767(_0x3a8fbb._0x28bcb6);
|
|
1697
|
-
const _0x70e4b = await fetch(_0x2c2de1['daemonLocalUrl'] + '/workers/waiting_input', {
|
|
1698
|
-
'method': _0x56d767(_0x3a8fbb._0x209459),
|
|
1699
|
-
'headers': { 'Content-Type': 'application/json' },
|
|
1700
|
-
'body': JSON[_0x56d767(_0x3a8fbb._0x32fdad)]({
|
|
1701
|
-
'work_key': _0x492037[_0x56d767(_0x3a8fbb._0x245bc2)],
|
|
1702
|
-
'agent_id': _0x2c2de1[_0x56d767(_0x3a8fbb._0x1dde69)]
|
|
1703
|
-
})
|
|
1704
|
-
}), _0x2caec1 = await _0x70e4b['json']();
|
|
1705
|
-
if (!_0x2caec1['ok'])
|
|
1706
|
-
throw new Error(_0x2caec1['error'] ?? _0x56d767(0x29c));
|
|
1707
|
-
return _0x56d767(_0x3a8fbb._0x3bca70) + _0x492037[_0x56d767(0x1d2)] + _0x56d767(_0x3a8fbb._0x3706b6);
|
|
1708
|
-
},
|
|
1709
|
-
async 'escalate_to_main'(_0x144351) {
|
|
1710
|
-
const _0x970d5b = _0xc90eff;
|
|
1711
|
-
if (!_0x2c2de1[_0x970d5b(_0x29d33e._0x2e767b)])
|
|
1712
|
-
return 'Worker\x20features\x20not\x20available';
|
|
1713
|
-
const _0x45f932 = await fetch(_0x2c2de1['daemonLocalUrl'] + _0x970d5b(_0x29d33e._0x9292d7), {
|
|
1714
|
-
'method': _0x970d5b(_0x29d33e._0x496c3a),
|
|
1715
|
-
'headers': { 'Content-Type': _0x970d5b(_0x29d33e._0x36faad) },
|
|
1716
|
-
'body': JSON[_0x970d5b(0x165)]({
|
|
1717
|
-
'work_key': _0x144351[_0x970d5b(0x1d2)],
|
|
1718
|
-
'reason': _0x144351[_0x970d5b(_0x29d33e._0x21ca86)]
|
|
1719
|
-
})
|
|
1720
|
-
}), _0x3dd954 = await _0x45f932[_0x970d5b(0x1c7)]();
|
|
1721
|
-
if (!_0x3dd954['ok'])
|
|
1722
|
-
throw new Error(_0x3dd954['error'] ?? _0x970d5b(_0x29d33e._0x3ff500));
|
|
1723
|
-
return _0x970d5b(_0x29d33e._0x9432c2) + _0x144351[_0x970d5b(0x253)];
|
|
1724
|
-
}
|
|
1725
|
-
};
|
|
1726
|
-
}
|
|
1727
|
-
function textResult(_0x235054, _0x35e662 = ![]) {
|
|
1728
|
-
return {
|
|
1729
|
-
'content': [{
|
|
1730
|
-
'type': 'text',
|
|
1731
|
-
'text': _0x235054
|
|
1732
|
-
}],
|
|
1733
|
-
..._0x35e662 ? { 'isError': !![] } : {}
|
|
1734
|
-
};
|
|
1735
|
-
}
|
|
1736
|
-
function _0x565a() {
|
|
1737
|
-
const _0x3e1cd0 = [
|
|
1233
|
+
function _0x2083() {
|
|
1234
|
+
const _0xb2c857 = [
|
|
1235
|
+
'DgHYzwfKu2HVCNrjza',
|
|
1236
|
+
'Bwf4',
|
|
1237
|
+
'mJCZnZm1mNP0AKzVqG',
|
|
1238
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1738
1239
|
'zNjVBq',
|
|
1739
|
-
'l3n0yxj0',
|
|
1740
|
-
'Agv4',
|
|
1741
|
-
'mJeWmJi2nevXCeLJsG',
|
|
1742
|
-
'lMjPBG',
|
|
1743
|
-
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1744
|
-
'z2v0u2vJB25KCW',
|
|
1745
|
-
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1746
|
-
'C3rHCNrLza',
|
|
1747
|
-
'ChvZAa',
|
|
1748
|
-
'ignSywLTzwq',
|
|
1749
|
-
'igrVBMuP',
|
|
1750
|
-
'w3rHCMDLDd0',
|
|
1751
|
-
'CMvWBgfJzq',
|
|
1752
|
-
'Bg9JywXLq29TCgfYzq',
|
|
1753
|
-
'mJe4BKTSzK50',
|
|
1754
|
-
'Cgf5Bg9HzePZB24',
|
|
1755
|
-
'yxr0ywnOBwvUDenHy2HL',
|
|
1756
|
-
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1757
|
-
'Aw1Hz2uVD2vICa',
|
|
1758
1240
|
'CMvHC29U',
|
|
1759
|
-
'
|
|
1760
|
-
'
|
|
1761
|
-
'
|
|
1762
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1763
|
-
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1764
|
-
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
1765
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1766
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1767
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1768
|
-
'DgfZA0LK',
|
|
1769
|
-
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1770
|
-
'kgXLz2fJEsK',
|
|
1771
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
1241
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
1242
|
+
'CMvXDwvZDfvYBa',
|
|
1243
|
+
'D29YA19RzxK',
|
|
1772
1244
|
'DgHYzwfK',
|
|
1773
|
-
'
|
|
1774
|
-
'
|
|
1775
|
-
'
|
|
1776
|
-
'y3jLyxrLx3rHC2TZ',
|
|
1777
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1778
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1779
|
-
'ow1cqwLwyW',
|
|
1780
|
-
'C3vJy2vZCW',
|
|
1781
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1782
|
-
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
1783
|
-
'AhjLzG',
|
|
1784
|
-
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1785
|
-
'igzHAwXLzdOG',
|
|
1786
|
-
'AwrLBxbVDgvUy3LFA2v5',
|
|
1787
|
-
'CgfYDgLJAxbHBNq',
|
|
1788
|
-
'AhvTyw4',
|
|
1789
|
-
'zxHLy3v0Aw9Utw9Kzq',
|
|
1790
|
-
'mJy2odm0nefWzwTXta',
|
|
1791
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1792
|
-
'yxr0ywnOBwvUDhm',
|
|
1793
|
-
'Bwf4',
|
|
1794
|
-
'l3nLCNzLCG',
|
|
1795
|
-
'C2vUzgvYtMfTzq',
|
|
1796
|
-
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxHLy3v0Aw9Utw9Kzt1TywLUcLn0yxKGAw4GBwfPBIbZzxnZAw9UoIbYzwfKihrOzsbYzwzLCMvUy2vKihbSyw4Vzg9JDw1LBNqGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYaOB3iGB3rOzxj3AxnLigfKDMfUy2uGDgHLihrHC2SGAw4GBwfPBIb3AxrOB3v0igHHBMrPBMCGB2zMihrVigeGD29YA2vYks4',
|
|
1797
|
-
'C3rYAw5N',
|
|
1798
|
-
'Dg9tDhjPBMC',
|
|
1799
|
-
'Dg9mB3DLCKnHC2u',
|
|
1800
|
-
'zw51Bq',
|
|
1801
|
-
'zMLSzv9WyxrO',
|
|
1802
|
-
'y2XHAw1FDgfZA3m',
|
|
1803
|
-
'l3rHC2TZl2nSywLT',
|
|
1804
|
-
'y2XHAw1uyxnRCW',
|
|
1805
|
-
'mtj6C3D6z2i',
|
|
1806
|
-
'y2HHBM5LBhm',
|
|
1807
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1808
|
-
'BwvZC2fNzuLK',
|
|
1809
|
-
'AxngAwXL',
|
|
1810
|
-
'AhvTyw5Z',
|
|
1811
|
-
'iYmJiefNzw50CW',
|
|
1812
|
-
'BgLZDf9Zzxj2zxi',
|
|
1813
|
-
'AM9PBG',
|
|
1814
|
-
'ywjVCNq',
|
|
1815
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1816
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1817
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1818
|
-
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
1819
|
-
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1820
|
-
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1821
|
-
'yM9KEu1HCMTKB3DU',
|
|
1822
|
-
'DxjNzw50',
|
|
1823
|
-
'C2L6zuj5DgvZ',
|
|
1824
|
-
'BM93',
|
|
1825
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
1826
|
-
'ihr5Cgu9ywDLBNq',
|
|
1827
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
1828
|
-
'DgfZA051BwjLCG',
|
|
1829
|
-
'Axnoyu4',
|
|
1830
|
-
'Ahr0Chm6',
|
|
1831
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1832
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1833
|
-
'v29YA2vYia',
|
|
1834
|
-
'CMvHzeHPC3rVCNK',
|
|
1835
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1836
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1837
|
-
'AwrSzq',
|
|
1838
|
-
'yxr0ywnOBwvUDeLK',
|
|
1839
|
-
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
1840
|
-
'BgLTAxq',
|
|
1841
|
-
'C3rHCNrZv2L0Aa',
|
|
1842
|
-
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1843
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
1844
|
-
'AgvHzgvYCW',
|
|
1845
|
-
'CxvLDwvK',
|
|
1846
|
-
'z2v0sg91CNm',
|
|
1245
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
1246
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
1247
|
+
'DgfZA19Pza',
|
|
1847
1248
|
'Dgv4Dc9WBgfPBG',
|
|
1848
|
-
'
|
|
1849
|
-
'
|
|
1850
|
-
'
|
|
1249
|
+
'Dg9ju09tDhjPBMC',
|
|
1250
|
+
'BwvZC2fNzv9Pzhm',
|
|
1251
|
+
'ANnVBG',
|
|
1252
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
1253
|
+
'zMLSzw5HBwu',
|
|
1254
|
+
'BwvZC2fNzxm',
|
|
1255
|
+
'AgfZ',
|
|
1256
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1851
1257
|
'y29UDgvUDa',
|
|
1852
|
-
'
|
|
1853
|
-
'
|
|
1854
|
-
'
|
|
1855
|
-
'
|
|
1856
|
-
'
|
|
1857
|
-
'zg9Uzq',
|
|
1858
|
-
'D29YA2vY',
|
|
1859
|
-
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1860
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1861
|
-
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
1862
|
-
'zgvZy3jPChrPB24',
|
|
1863
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
1864
|
-
'Dw5RBM93BG',
|
|
1865
|
-
'DhjPBq',
|
|
1866
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1867
|
-
'Aw5JBhvKzxm',
|
|
1868
|
-
'C2vYDMvYtMfTzq',
|
|
1869
|
-
'sfruuca',
|
|
1258
|
+
'iIbUB3qGzM91BMq',
|
|
1259
|
+
'ig1ZzZ0',
|
|
1260
|
+
'AhvTyw4',
|
|
1261
|
+
'DhLWzq',
|
|
1262
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1870
1263
|
'C3vIDgfZA19UDw1Izxi',
|
|
1871
|
-
'
|
|
1872
|
-
'
|
|
1873
|
-
'
|
|
1874
|
-
'
|
|
1875
|
-
'
|
|
1876
|
-
'
|
|
1877
|
-
'
|
|
1878
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
1879
|
-
'kg5VBMuP',
|
|
1880
|
-
'zM9Yy2vszwzYzxnO',
|
|
1881
|
-
'ls1Zzxj2zxiTDxjS',
|
|
1882
|
-
'r0vu',
|
|
1883
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1884
|
-
'ls1ZzxnZAw9UlwLK',
|
|
1885
|
-
'ihn0yxr1CZ0',
|
|
1886
|
-
'ChjVDg9JB2W',
|
|
1887
|
-
'ywjVCNrLza',
|
|
1888
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
1889
|
-
'zxHWAxjLC0f0',
|
|
1890
|
-
'C2vUzgvYvhLWzq',
|
|
1891
|
-
'ywDLBNrjza',
|
|
1892
|
-
'yxjYyxLcDwzMzxi',
|
|
1893
|
-
'ywDNCMvNyxrLswrZ',
|
|
1894
|
-
'AgfZ',
|
|
1895
|
-
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
1896
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
1897
|
-
'y29UDgvUDfr5Cgu',
|
|
1898
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1899
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
1900
|
-
'Dg9KBW',
|
|
1901
|
-
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1902
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1903
|
-
'CMvXDwvZDfvYBa',
|
|
1904
|
-
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
1905
|
-
'DxbSB2fKrMLSzq',
|
|
1906
|
-
'C3vIDgfZA051BwjLCG',
|
|
1907
|
-
'DgfYz2v0',
|
|
1908
|
-
'C29Tzq',
|
|
1909
|
-
'tM8GDgfZA3mGzM91BMqU',
|
|
1910
|
-
'y2HHBM5LBe5HBwu',
|
|
1911
|
-
'zgvZDhjVEwvK',
|
|
1912
|
-
'y2HPBgrYzw5uB3rHBa',
|
|
1913
|
-
't3jPz2LUywWGBwvZC2fNztOG',
|
|
1914
|
-
'l3rHC2TZpW',
|
|
1915
|
-
'CgfYC2vjBNq',
|
|
1916
|
-
'C2nOzwr1BgvKrM9Y',
|
|
1917
|
-
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1918
|
-
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1264
|
+
'z2v0rNvSBfLLyxi',
|
|
1265
|
+
'zw50CMLLCW',
|
|
1266
|
+
'C2L6zq',
|
|
1267
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
1268
|
+
'DgfZA051BwjLCG',
|
|
1269
|
+
'y3vYC29Y',
|
|
1270
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1919
1271
|
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1920
|
-
'
|
|
1921
|
-
'
|
|
1922
|
-
'
|
|
1923
|
-
'
|
|
1924
|
-
'
|
|
1925
|
-
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1926
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1927
|
-
'zxjYB3i',
|
|
1928
|
-
'z2v0vgLTzq',
|
|
1272
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1273
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1274
|
+
'ls1Hz2vUDc1Pza',
|
|
1275
|
+
'DgfYz2v0',
|
|
1276
|
+
'C2LNBMfS',
|
|
1929
1277
|
'yxbWBgLJyxrPB24VEg1S',
|
|
1930
|
-
'
|
|
1931
|
-
'
|
|
1932
|
-
'
|
|
1933
|
-
'
|
|
1934
|
-
'
|
|
1935
|
-
'
|
|
1936
|
-
'
|
|
1937
|
-
'
|
|
1938
|
-
'
|
|
1939
|
-
'
|
|
1940
|
-
'
|
|
1941
|
-
'
|
|
1942
|
-
'
|
|
1943
|
-
'DxnLCG',
|
|
1944
|
-
'xsba',
|
|
1945
|
-
'vgfZAYa',
|
|
1946
|
-
'iYmJieH1BwfUCW',
|
|
1947
|
-
'C2f2zq',
|
|
1948
|
-
'AxnjBNrLz2vY',
|
|
1949
|
-
'y3jLyxrLzef0',
|
|
1278
|
+
'C3vIDgfZA051BwjLCG',
|
|
1279
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1280
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
1281
|
+
'ywDLBNq',
|
|
1282
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1283
|
+
'CgfYDgLJAxbHBNq',
|
|
1284
|
+
'D3nZoG',
|
|
1285
|
+
'ktSGz290ignOyw5UzwW9',
|
|
1286
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1287
|
+
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1288
|
+
'DgHYzwfKtNvTyMvY',
|
|
1289
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
1290
|
+
'DgfZA0LK',
|
|
1950
1291
|
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1951
|
-
'
|
|
1952
|
-
'
|
|
1953
|
-
'
|
|
1954
|
-
'
|
|
1955
|
-
'
|
|
1956
|
-
'
|
|
1957
|
-
'
|
|
1958
|
-
'v29YA2vYici',
|
|
1959
|
-
'w3nLCt0',
|
|
1960
|
-
'DxrMoa',
|
|
1961
|
-
'DxbKyxrL',
|
|
1962
|
-
'zgf0yq',
|
|
1292
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
1293
|
+
'DgHYzwfKvgfYz2v0',
|
|
1294
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
1295
|
+
'ihrPBwu9',
|
|
1296
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1297
|
+
'CgfYDgLJAxbHBNrjza',
|
|
1298
|
+
'DhjPBq',
|
|
1963
1299
|
'Dw5JBgfPBv90yxnR',
|
|
1964
|
-
'
|
|
1965
|
-
'
|
|
1966
|
-
'
|
|
1967
|
-
'
|
|
1968
|
-
'
|
|
1300
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1301
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
1302
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
1303
|
+
'mtC3ndy1CMDhsfD5',
|
|
1304
|
+
'mZa3odK2nM14yw12uG',
|
|
1305
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
1306
|
+
'yxjYyxK',
|
|
1969
1307
|
'C2vZC2LVBKLK',
|
|
1970
|
-
'
|
|
1971
|
-
'mtK4mJm1nLvgzxfAqG',
|
|
1972
|
-
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1973
|
-
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
1974
|
-
'igLUia',
|
|
1975
|
-
'DgHYzwfKtNvTyMvY',
|
|
1976
|
-
'BMv4Den1CNnVCG',
|
|
1977
|
-
'z2v0tw9UDgG',
|
|
1978
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1979
|
-
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1980
|
-
'y29UDgvUDc10ExbL',
|
|
1981
|
-
'Bwv0yq',
|
|
1982
|
-
'DgHYzwfKu2HVCNrjza',
|
|
1983
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw4GB25SEsbJBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCNmU',
|
|
1984
|
-
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1985
|
-
'DgfYz2v0zwq',
|
|
1986
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
1987
|
-
'CMvZCg9UC2u',
|
|
1988
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
1308
|
+
'DgfZAW',
|
|
1989
1309
|
'DgHYzwfKswq',
|
|
1990
|
-
'
|
|
1991
|
-
'
|
|
1310
|
+
'y2fJAgveAxi',
|
|
1311
|
+
'D29YA2vY',
|
|
1312
|
+
'lsba',
|
|
1313
|
+
'v29YA2vYici',
|
|
1314
|
+
'DMLLD19MAwXL',
|
|
1992
1315
|
'AxngAw5PDgu',
|
|
1993
|
-
'
|
|
1994
|
-
'
|
|
1995
|
-
'
|
|
1996
|
-
'
|
|
1997
|
-
'
|
|
1998
|
-
'
|
|
1999
|
-
'
|
|
1316
|
+
'BwvZC2fNzuLK',
|
|
1317
|
+
'y2XHAw0GzMfPBgvK',
|
|
1318
|
+
'l3jLy2vPDMu/',
|
|
1319
|
+
'C2v0',
|
|
1320
|
+
'y2XPzw50',
|
|
1321
|
+
'zgLZCg9ZAxrPB24',
|
|
1322
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
1323
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1324
|
+
'Dw5JBgfPBvrHC2S',
|
|
2000
1325
|
'B3jPz2LUywXgAwXLBMfTzq',
|
|
2001
|
-
'
|
|
2002
|
-
'
|
|
2003
|
-
'
|
|
2004
|
-
'
|
|
2005
|
-
'
|
|
1326
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1327
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
1328
|
+
'Dg9tDhjPBMC',
|
|
1329
|
+
'y2HHBM5LBhm',
|
|
1330
|
+
'AgfZtw9Yzq',
|
|
1331
|
+
'mJqWnJC4mdjIBhjkzue',
|
|
2006
1332
|
'AgLNAa',
|
|
2007
|
-
'
|
|
2008
|
-
'
|
|
2009
|
-
'zgLZCg9ZAxrPB24',
|
|
2010
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
2011
|
-
'D29YA2vYtw9KzuvUywjSzwq',
|
|
2012
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
2013
|
-
'cGOTls0G',
|
|
2014
|
-
'Aw1Hz2uVC3zNk3HTBa',
|
|
2015
|
-
'lsaJ',
|
|
2016
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
2017
|
-
'Aw1Hz2uVz2LM',
|
|
2018
|
-
'C2LNBMfS',
|
|
2019
|
-
'BgLZDf90yxnRCYbMywLSzwq',
|
|
2020
|
-
'Aw1Hz2uVANbLzW',
|
|
2021
|
-
'DhLWzq',
|
|
2022
|
-
'ANnVBG',
|
|
2023
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
2024
|
-
'zg06',
|
|
2025
|
-
'yxr0ywnOBwvUDf9Pzhm',
|
|
2026
|
-
'BwvTyMvY',
|
|
2027
|
-
'BwvZC2fNzq',
|
|
2028
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
2029
|
-
'y2HHBM5LBa',
|
|
2030
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
2031
|
-
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
2032
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
2033
|
-
'D29YA19RzxK',
|
|
2034
|
-
'BNvTyMvY',
|
|
2035
|
-
'BwvZC2fNzxm',
|
|
2036
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
2037
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
2038
|
-
'zgvSzxrL',
|
|
2039
|
-
'mtmXnZu2mgzszNrHsW',
|
|
2040
|
-
'C2vUzf9TzxnZywDL',
|
|
1333
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1334
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
2041
1335
|
'ywz0zxi',
|
|
1336
|
+
'cGOTls0G',
|
|
2042
1337
|
'D29YA2vYCW',
|
|
2043
|
-
'ls1KywvTB24TyxbPlwTLEq',
|
|
2044
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
2045
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
2046
|
-
'l3jLy2vPDMu/',
|
|
2047
|
-
'BwvZC2fNzv9Pzhm',
|
|
2048
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
2049
|
-
'Ahr0CdO',
|
|
2050
|
-
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
2051
|
-
'yMvMB3jL',
|
|
2052
|
-
'y2HPBgrYzw5eB25L',
|
|
2053
|
-
'Dgv4Dc9JC3y',
|
|
2054
|
-
'Aw5FCMv2Awv3',
|
|
2055
|
-
'iJOGC3rHDhvZpq',
|
|
2056
|
-
'yxjYyxK',
|
|
2057
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
2058
|
-
'y2f0y2G',
|
|
2059
|
-
'y2XPzw50',
|
|
2060
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
2061
|
-
'CgfYDgLJAxbHBNrjza',
|
|
2062
|
-
'l2HPC3rVCNK/',
|
|
2063
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
2064
|
-
'CMvZDwX0sNnVBG',
|
|
2065
|
-
'ig1ZzZ0',
|
|
2066
|
-
'ywDLBNrZ',
|
|
2067
|
-
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
2068
|
-
'DgfZA3m',
|
|
2069
|
-
'igf0DgfJAg1LBNq',
|
|
2070
|
-
'BwvKAxvT',
|
|
2071
|
-
'BwvTyMvYCW',
|
|
2072
|
-
'rg93BMXVywrLzcb0BZOG',
|
|
2073
|
-
'Dg9ju09tDhjPBMC',
|
|
2074
|
-
'EM9K',
|
|
2075
|
-
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
2076
|
-
'y2HHDa',
|
|
2077
1338
|
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
2078
|
-
'
|
|
2079
|
-
'
|
|
2080
|
-
'
|
|
2081
|
-
'
|
|
2082
|
-
'nJy4m2XMsgrPyq',
|
|
2083
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
2084
|
-
'DgfZA19Pza',
|
|
2085
|
-
'l3jLy2vPDMu',
|
|
1339
|
+
'BwvTyMvY',
|
|
1340
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1341
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1342
|
+
'DxjNzw50',
|
|
2086
1343
|
'B2jQzwn0',
|
|
2087
|
-
'
|
|
2088
|
-
'igTPBMq9',
|
|
2089
|
-
'BgvUz3rO',
|
|
2090
|
-
'zMLUza',
|
|
2091
|
-
'mtG0mJK3ndbAwNPUwwW',
|
|
2092
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
2093
|
-
'ywrK',
|
|
2094
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
2095
|
-
'CNvUswq',
|
|
2096
|
-
'DMfSDwu',
|
|
1344
|
+
'ywDLBNrZ',
|
|
2097
1345
|
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
2098
|
-
'lcbWCMv2Awv3pq',
|
|
2099
|
-
'DgfYz2v0zwruyxnR',
|
|
2100
|
-
'Bwf0y2Hoyw1L',
|
|
2101
|
-
'l3rHC2TZ',
|
|
2102
|
-
'C2vX',
|
|
2103
|
-
'C29YDa',
|
|
2104
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
2105
|
-
'C2vYDMvY',
|
|
2106
|
-
'z2v0rgf0zq',
|
|
2107
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWGB3iGDgHYzwfKlIbuAhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPihjLDhvYBNmGDgHLihbHCMvUDcb0yxnRihbSDxmGAxrZihn1yNrHC2TZihDPDgGGywDNCMvNyxrPB24GzMLLBgrZicHJAgLSzhjLBLrVDgfSlcbJAgLSzhjLBKrVBMuSignOAwXKCMvUsw5qCM9NCMvZCYKUienOyw5UzwWGDgfYz2v0ihjLDhvYBNmGB25SEsbWyxjLBNqGDgfZA3mGkg5Vihn1yNrHC2TZks4',
|
|
2108
|
-
'lIbnzxnZywDLieLeoIa',
|
|
2109
1346
|
'z2v0',
|
|
2110
|
-
'
|
|
2111
|
-
'
|
|
2112
|
-
'
|
|
2113
|
-
'
|
|
2114
|
-
'
|
|
2115
|
-
'
|
|
2116
|
-
'
|
|
2117
|
-
'
|
|
2118
|
-
'
|
|
2119
|
-
'
|
|
2120
|
-
'
|
|
2121
|
-
'
|
|
2122
|
-
'
|
|
2123
|
-
'
|
|
2124
|
-
'
|
|
2125
|
-
'
|
|
2126
|
-
'
|
|
2127
|
-
'
|
|
2128
|
-
'
|
|
2129
|
-
'
|
|
2130
|
-
'
|
|
2131
|
-
'
|
|
2132
|
-
'
|
|
2133
|
-
'
|
|
2134
|
-
'
|
|
2135
|
-
'
|
|
2136
|
-
'
|
|
2137
|
-
'
|
|
1347
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1348
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
1349
|
+
'zgfLBw9UqxbPs2v5',
|
|
1350
|
+
'BgLZDf9Zzxj2zxi',
|
|
1351
|
+
'nej6Egr4rG',
|
|
1352
|
+
'ywDLBNrjza',
|
|
1353
|
+
'zMLSzv9WyxrO',
|
|
1354
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
1355
|
+
'BgvUz3rO',
|
|
1356
|
+
'ChvZAa',
|
|
1357
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
1358
|
+
'Aw5FChjVz3jLC3m',
|
|
1359
|
+
'CMvJB3jK',
|
|
1360
|
+
'C2L6zuj5DgvZ',
|
|
1361
|
+
'ig1LC3nHz2u9',
|
|
1362
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
1363
|
+
'C29YDa',
|
|
1364
|
+
'Aw5KzxHpzG',
|
|
1365
|
+
'Dw5RBM93BG',
|
|
1366
|
+
'zgvZy3jPChrPB24',
|
|
1367
|
+
'ywDNCMvNyxrLswq',
|
|
1368
|
+
'DgfYz2v0zwruyxnR',
|
|
1369
|
+
'CMvHzeHPC3rVCNK',
|
|
1370
|
+
'DMLZAwjPBgL0Eq',
|
|
1371
|
+
'CMvWBgfJzq',
|
|
1372
|
+
'BgLZDf90yxnRCYbMywLSzwq',
|
|
1373
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
1374
|
+
'iJOGC3rHDhvZpq',
|
|
1375
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
1376
|
+
'DgL0Bgu',
|
|
1377
|
+
'zg06',
|
|
2138
1378
|
'DgvZDa',
|
|
2139
|
-
'
|
|
2140
|
-
'
|
|
2141
|
-
'
|
|
1379
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1380
|
+
'CgfYC2vjBNq',
|
|
1381
|
+
'l3vWBg9Hza',
|
|
1382
|
+
'CM9VDe1LC3nHz2vjza',
|
|
1383
|
+
'l3rHC2TZ',
|
|
1384
|
+
'CMvZB2X2zvrHCMDLDa',
|
|
1385
|
+
'DxbSB2fKx2zPBgu',
|
|
1386
|
+
'l3nLBMq',
|
|
1387
|
+
'igf0DgfJAg1LBNq',
|
|
1388
|
+
'CMvZCg9UC2u',
|
|
1389
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1390
|
+
'C29Tzq',
|
|
1391
|
+
'AxnbyNnVBhv0zq',
|
|
1392
|
+
'yMfZzw5HBwu',
|
|
1393
|
+
'EM9K',
|
|
1394
|
+
'zgf0yq',
|
|
1395
|
+
'AgvHzgvYCW',
|
|
1396
|
+
'y29UBMvJDa',
|
|
1397
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
1398
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1399
|
+
'yM9KEvrLEhq',
|
|
1400
|
+
'Aw1Hz2uVD2vICa',
|
|
1401
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1402
|
+
'BgLZDfnLCNzLCG',
|
|
1403
|
+
'w3nLCt0',
|
|
1404
|
+
'lsaJ',
|
|
1405
|
+
'Dg9gAxHLza',
|
|
1406
|
+
'zxH0BMfTzq',
|
|
1407
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
1408
|
+
'AhvTyw5Z',
|
|
1409
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1410
|
+
'yxjNDG',
|
|
1411
|
+
'igzHAwXLzdOG',
|
|
1412
|
+
'B3b0Aw9UywW',
|
|
1413
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
1414
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
1415
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
1416
|
+
'l2zPBMLZAa',
|
|
1417
|
+
'y2XHAw1FDgfZA3m6ihDVCMTLCIbJyw5UB3qGy2XHAw0GyNKGBwvZC2fNzv9PzhmGkhrVCc1SzxzLBcbTzxnZywDLihbYB21VDgLVBIbPCYbTywLUlwfNzw50ig9UBhKPoYb1C2uGC3vIDgfZA19UDw1IzxjZigLUC2LKzsb5B3vYig93BIb0yxnRihrOCMvHzc4',
|
|
1418
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1419
|
+
'CgfYC2u',
|
|
1420
|
+
'cKLMihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGCMvXDwLYzsbYzxzPzxCSihnLBMqGysbTzxnZywDLig1LBNrPB25PBMCGDgHLihjLDMLLD2vYigjLzM9YzsbWyxjRAw5NlG',
|
|
1421
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
1422
|
+
'vgfZAZOG',
|
|
1423
|
+
'ls1ZzxnZAw9UlwLK',
|
|
1424
|
+
'BwfW',
|
|
1425
|
+
'pgvTChr5pG',
|
|
1426
|
+
'iYmJienOyw5UzwXZ',
|
|
1427
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1428
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1429
|
+
'CxvLDwvK',
|
|
1430
|
+
'zgvZDhjVEwvK',
|
|
1431
|
+
'DgfZA3m',
|
|
1432
|
+
'BwvKAxvT',
|
|
1433
|
+
'iYmJieH1BwfUCW',
|
|
1434
|
+
'CgfYA193B3jRzxi',
|
|
1435
|
+
'A2LUza',
|
|
1436
|
+
'DgfYz2v0zwq',
|
|
1437
|
+
'Dg9KBW',
|
|
1438
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1439
|
+
'l3rHC2TZl2nSywLT',
|
|
1440
|
+
'v29YA2vYlw9UBhKUifbHCMSGDgHLign1CNjLBNqGD29YA2vYigXHBMuGywz0zxiGEw91igHHDMuGywXYzwfKEsbYzxbVCNrLzcbYzxn1BhrZigLUihrOAxmGDgHYzwfKlIbuAgLZigrVzxmGBM90igvUzcb0AguGC2vZC2LVBJSGC2fTzs10AhjLywqGzM9SBg93lxvWihDPBgWGCMvZDw1LihrOAxmGBgfUzs4',
|
|
1441
|
+
'BNvTyMvY',
|
|
1442
|
+
'zMfSC2u',
|
|
1443
|
+
'yxr0ywnOBwvUDeLK',
|
|
1444
|
+
'mJi4oteZogrwBNjYBq',
|
|
1445
|
+
'Ahr0CdO',
|
|
1446
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1447
|
+
'iYmJiefNzw50CW',
|
|
1448
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
1449
|
+
'y2HHBM5LBeLK',
|
|
1450
|
+
'zgvZy3jPyMu',
|
|
1451
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1452
|
+
'w3rHCMDLDd0',
|
|
1453
|
+
'kgXLz2fJEsK',
|
|
1454
|
+
'y2HHBM5LBa',
|
|
1455
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1456
|
+
'zMLUza',
|
|
1457
|
+
'lMrZy29Yza',
|
|
1458
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1459
|
+
'zMLSDgvY',
|
|
1460
|
+
'zxjYB3i',
|
|
1461
|
+
'igTPBMq9',
|
|
1462
|
+
'BgLZDfrHC2TZ',
|
|
1463
|
+
'z2v0tw9UDgG',
|
|
1464
|
+
'DgfZAY0',
|
|
1465
|
+
'nZi1ndi2mgPRqxn2qq',
|
|
1466
|
+
'Dg9VBa',
|
|
1467
|
+
'kg5VBMuP',
|
|
1468
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
1469
|
+
'mZa2otaZnu5ivvnSqW',
|
|
1470
|
+
'zg0T',
|
|
1471
|
+
'C2vUzf9TzxnZywDL',
|
|
1472
|
+
'D29YA2vYsgfUzg9MzG',
|
|
1473
|
+
'sfruuca',
|
|
1474
|
+
'C2vUzgvYtMfTzq',
|
|
1475
|
+
'yM9KEu1HCMTKB3DU',
|
|
1476
|
+
'BMfTzq',
|
|
1477
|
+
'C3vIDgfZA19UDw1IzxjZ',
|
|
1478
|
+
'mNDHwejyuG',
|
|
1479
|
+
'C3rHCNrZv2L0Aa',
|
|
1480
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1481
|
+
'C3rHDhvZ',
|
|
1482
|
+
'zw51Bq',
|
|
1483
|
+
'Aw5FCMv2Awv3',
|
|
1484
|
+
'mJHmwezsuvG',
|
|
1485
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
1486
|
+
'l3n0yxj0',
|
|
1487
|
+
'yxjYyxLcDwzMzxi',
|
|
1488
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1489
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlIbgB3iGC3vIDgfZA3mSigfSC28GCgfZCYbZDwj0yxnRx251BwjLCI4Gv2HLBIbTB3zPBMCGD29YAYb0BYbPBL9YzxzPzxCSignOzwnRihLVDxiGBwvTB3j5ig9YignOyw5UzwWGCNvSzxmGyw5KihnLBMqGysbYzxzPzxDLCIbTzw50Aw9UihLVDxjZzwXMihDOzw4GyxbWCM9WCMLHDguU',
|
|
1490
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
1491
|
+
'BwvTyMvYCW',
|
|
1492
|
+
'icHPzdO',
|
|
1493
|
+
'Dg9mB3DLCKnHC2u',
|
|
1494
|
+
'vgfZAYa',
|
|
1495
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
1496
|
+
'y2HPBgrYzw5eB25L',
|
|
1497
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
1498
|
+
'Cgf5Bg9HzePZB24',
|
|
1499
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
1500
|
+
'iIbWyxjRzwqUifnHBwuTDgHYzwfKigzVBgXVDY11Ccb3AwXSihjLC3vTzsb0AgLZigXHBMuU',
|
|
1501
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1502
|
+
'y2f0y2G',
|
|
1503
|
+
'C3rHCNrLza',
|
|
1504
|
+
'y2HHBM5LBe5HBwu',
|
|
1505
|
+
'yxnPzgu',
|
|
1506
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1507
|
+
'Bg9JywXLq29TCgfYzq',
|
|
1508
|
+
'ihn0yxLZigLUig1HAw4GC2vZC2LVBIaOzxHLy3v0Aw9Utw9Kzt1TywLUktSGCMvTywLUigHLCMuSihjLywqGDgHLihjLzMvYzw5JzwqGCgXHBI9KB2n1BwvUDcWGyw5KignHBgWGy3jLyxrLx3rHC2TZigLUihrOzsbWyxjLBNqGy2HHBM5LBcb0BYbICMvHAYbPDcbPBNrVihrVCc1SzxzLBcb0yxnRCYbPzIb0Agf0igLZihrOzsbPBNrLBNqU',
|
|
1509
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
1510
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1511
|
+
'CNvUBMLUzW',
|
|
1512
|
+
'D29YA2vYtw9Kzq',
|
|
1513
|
+
'l3DVCMTLCNmVCgfYAW',
|
|
1514
|
+
'ywjVCNq',
|
|
1515
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1516
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
1517
|
+
'DxbSB2fKrMLSzq',
|
|
1518
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
1519
|
+
'Bgf0zxn0u2vX',
|
|
1520
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
1521
|
+
'C3rYAw5N',
|
|
1522
|
+
'C2f2zq',
|
|
1523
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1524
|
+
'yMvMB3jL',
|
|
1525
|
+
'l2nVBNrLBNq',
|
|
1526
|
+
'owjAAgTSqG',
|
|
1527
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1528
|
+
'C3vJy2vZCW',
|
|
1529
|
+
'6k+35Rgcia',
|
|
1530
|
+
'y3jLyxrLzef0',
|
|
1531
|
+
'Dw5JBgfPBv90yxnRoIb3B3jRzxiGy2fUig9UBhKGDw5JBgfPBsbZDwj0yxnRCYbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcdIGjqGChjVDMLKzsbZDwj0yxnRx251BwjLCI4',
|
|
1532
|
+
'yxr0ywnOBwvUDenHy2HLrgLY',
|
|
1533
|
+
'BgLZDf90yxnRCW',
|
|
1534
|
+
'iokaLca',
|
|
1535
|
+
'C2vX',
|
|
1536
|
+
'CNvUswq',
|
|
1537
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1538
|
+
'mc4WlJa',
|
|
1539
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
1540
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
1541
|
+
'Bwv0yq',
|
|
1542
|
+
'DMfSDwu',
|
|
1543
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1544
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
1545
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1546
|
+
'oIb3B3jRzxiGCNvUDgLTzsbTAxnZAw5NihDVCMTLCLrOCMvHzfrHCMDLDdSGy2fUBM90ihzHBgLKyxrLihnJB3bL',
|
|
1547
|
+
'zgLNzxn0',
|
|
1548
|
+
'AxnbCNjHEq',
|
|
1549
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1550
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1551
|
+
'Bwf0y2Hoyw1L',
|
|
1552
|
+
'y29UDgvUDc10ExbL',
|
|
1553
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
1554
|
+
'C3rYAw5NAwz5',
|
|
1555
|
+
'ue9tva',
|
|
1556
|
+
'y3jLyxrLx3rHC2TZ',
|
|
1557
|
+
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1558
|
+
'AM9PBG',
|
|
1559
|
+
'C2vYDMvY',
|
|
1560
|
+
'oIb3B3jRzxiGy2fUig9UBhKGB3bLCMf0zsbPBNnPzguGAxrZig93BIb0yxnRihrOCMvHzcaO',
|
|
1561
|
+
'Aw1Hz2uVz2LM',
|
|
1562
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1563
|
+
'lcbWCMv2Awv3pq',
|
|
1564
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
1565
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4Gsw4Gysb0AhjLywqGDgfYz2v0icHLlMCUiciJy2HHBM5LBdP0AhjLywrjzciPlcbJCMvHDgvZihn1yNrHC2TZihvUzgvYihrOzsbLEgLZDgLUzYbWyxjLBNqGDgfZAY4',
|
|
1566
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1567
|
+
'AwrSzq',
|
|
1568
|
+
'khvUA25VD24P',
|
|
1569
|
+
'Axnoyu4',
|
|
1570
|
+
'zg9Uzq',
|
|
1571
|
+
'y2HPBgrYzw5uB3rHBa',
|
|
1572
|
+
'CgfYA193B3jRzxiGzMfPBgvK',
|
|
1573
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1574
|
+
'C2XPy2u',
|
|
1575
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1576
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1577
|
+
'C3rVCe1HAw4',
|
|
1578
|
+
'y3jLyxrLvgfZA3m',
|
|
1579
|
+
'r0vu',
|
|
1580
|
+
'y29UDgvUDfr5Cgu',
|
|
1581
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1582
|
+
'y2XHAw1FDgfZA3m',
|
|
1583
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1584
|
+
'Dgv4Da',
|
|
1585
|
+
'uefuq0G',
|
|
1586
|
+
'zxHWAxjLC0f0',
|
|
1587
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
1588
|
+
'z2v0u2vJB25KCW',
|
|
1589
|
+
'BwvZC2fNzq',
|
|
1590
|
+
'CMvHzf9OAxn0B3j5',
|
|
1591
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1592
|
+
'BwfPBG',
|
|
1593
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
1594
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1595
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1596
|
+
'AhjLzG',
|
|
1597
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1598
|
+
'ignSywLTzwq',
|
|
1599
|
+
'ihn0yxr1CZ0',
|
|
1600
|
+
'ChjVDg9JB2W',
|
|
1601
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1602
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
1603
|
+
'CMvZDwX0CW',
|
|
1604
|
+
'ywDNCMvNyxrLswrZ',
|
|
1605
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlIbgB3iGC3vIDgfZA3mGAw4Gysb0AhjLywqSihvZzsbZDwj0yxnRx251BwjLCNmGD2L0AcbHihnPBMDSzsb0yxnRx251BwjLCNmGzw50CNKU',
|
|
1606
|
+
'l3rHC2TZpW',
|
|
1607
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1608
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1609
|
+
'yMfZzty0',
|
|
1610
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
1611
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1612
|
+
'DxnLCG',
|
|
1613
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1614
|
+
'ywrK',
|
|
1615
|
+
'C2HHmJu2',
|
|
1616
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
1617
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1618
|
+
'C3bSAxq',
|
|
1619
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1620
|
+
'lIbnzxnZywDLieLeoIa',
|
|
1621
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1622
|
+
'y2XHAw1uyxnRCW',
|
|
1623
|
+
'z2v0rgf0zq',
|
|
1624
|
+
'zxzLBNrtzxe',
|
|
1625
|
+
'zMv0y2HjBxbS',
|
|
1626
|
+
'y2HHDa',
|
|
1627
|
+
'BgLTAxq',
|
|
1628
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1629
|
+
'z2v0sg91CNm',
|
|
1630
|
+
'z2v0vgLTzq',
|
|
1631
|
+
'ihr5Cgu9ywDLBNq',
|
|
1632
|
+
'Aw5JBhvKzxm',
|
|
1633
|
+
'lMjPBG',
|
|
1634
|
+
'DMfSDwvZ',
|
|
1635
|
+
'yxr0ywnOBwvUDhm',
|
|
1636
|
+
'l3nLCNzLCG'
|
|
2142
1637
|
];
|
|
2143
|
-
|
|
2144
|
-
return
|
|
1638
|
+
_0x2083 = function () {
|
|
1639
|
+
return _0xb2c857;
|
|
1640
|
+
};
|
|
1641
|
+
return _0x2083();
|
|
1642
|
+
}
|
|
1643
|
+
function createChatBridgeHandlers(_0x4ec383) {
|
|
1644
|
+
const _0x2e4245 = {
|
|
1645
|
+
_0x5ef0e3: 0x103,
|
|
1646
|
+
_0x333475: 0x180,
|
|
1647
|
+
_0x5ab448: 0x18b,
|
|
1648
|
+
_0x3f8bcc: 0xf8,
|
|
1649
|
+
_0x5ad187: 0x152,
|
|
1650
|
+
_0x4b4903: 0x130,
|
|
1651
|
+
_0x4d200b: 0x190
|
|
1652
|
+
}, _0x4874c8 = {
|
|
1653
|
+
_0x263753: 0x1a2,
|
|
1654
|
+
_0x5016f4: 0x180,
|
|
1655
|
+
_0x2a81d4: 0x1bf,
|
|
1656
|
+
_0x5bd3a2: 0x22b,
|
|
1657
|
+
_0x31d7b0: 0x198,
|
|
1658
|
+
_0x930be8: 0x204
|
|
1659
|
+
}, _0x492cbe = {
|
|
1660
|
+
_0x5a5e6: 0x180,
|
|
1661
|
+
_0x303857: 0xce,
|
|
1662
|
+
_0x573971: 0xf7,
|
|
1663
|
+
_0x262897: 0x152,
|
|
1664
|
+
_0x212db8: 0x15a,
|
|
1665
|
+
_0x23d8df: 0x22b,
|
|
1666
|
+
_0x5c23da: 0x109
|
|
1667
|
+
}, _0x34e2eb = {
|
|
1668
|
+
_0x17a693: 0x103,
|
|
1669
|
+
_0x4fce1f: 0x180,
|
|
1670
|
+
_0x2e483d: 0x11f,
|
|
1671
|
+
_0x5d7812: 0x152,
|
|
1672
|
+
_0x573190: 0x1d5
|
|
1673
|
+
}, _0x2f8e3a = {
|
|
1674
|
+
_0x57beb4: 0x1ad,
|
|
1675
|
+
_0x584c14: 0x177,
|
|
1676
|
+
_0x35a9bb: 0x19f,
|
|
1677
|
+
_0x3d3a37: 0x101,
|
|
1678
|
+
_0x54479a: 0xd7,
|
|
1679
|
+
_0x19de6d: 0x1e4
|
|
1680
|
+
}, _0x31d46c = {
|
|
1681
|
+
_0x10a4db: 0x16f,
|
|
1682
|
+
_0x4b14b5: 0x225
|
|
1683
|
+
}, _0x93abff = {
|
|
1684
|
+
_0x38b9e1: 0xcd,
|
|
1685
|
+
_0x2cb592: 0x18a,
|
|
1686
|
+
_0x22e99e: 0x225
|
|
1687
|
+
}, _0xc8dc9e = {
|
|
1688
|
+
_0x18faef: 0x225,
|
|
1689
|
+
_0x33e60d: 0x159,
|
|
1690
|
+
_0x51ca24: 0x200,
|
|
1691
|
+
_0x51a122: 0x23c,
|
|
1692
|
+
_0x4985fb: 0x1c2,
|
|
1693
|
+
_0x476fe4: 0x19f,
|
|
1694
|
+
_0x4df361: 0x13b,
|
|
1695
|
+
_0x525c25: 0x207
|
|
1696
|
+
}, _0x56bcac = {
|
|
1697
|
+
_0x72197b: 0xf9,
|
|
1698
|
+
_0x596804: 0x20e
|
|
1699
|
+
}, _0x587603 = {
|
|
1700
|
+
_0x3f90ba: 0x22d,
|
|
1701
|
+
_0x404cde: 0x1bf,
|
|
1702
|
+
_0x23228b: 0x114,
|
|
1703
|
+
_0x41fc03: 0x15a,
|
|
1704
|
+
_0x3576f2: 0x240,
|
|
1705
|
+
_0x5ae945: 0x23e,
|
|
1706
|
+
_0x306961: 0x20e,
|
|
1707
|
+
_0x4d8ca5: 0x227,
|
|
1708
|
+
_0x2db455: 0x156,
|
|
1709
|
+
_0x595b03: 0x20e,
|
|
1710
|
+
_0x52dcf8: 0x16b,
|
|
1711
|
+
_0x492145: 0x133
|
|
1712
|
+
}, _0xc567a8 = {
|
|
1713
|
+
_0x248457: 0x138,
|
|
1714
|
+
_0x4a3da3: 0xcd
|
|
1715
|
+
}, _0x29d2e2 = {
|
|
1716
|
+
_0x184813: 0xfa,
|
|
1717
|
+
_0x28d2aa: 0x1df,
|
|
1718
|
+
_0x100c92: 0x1ec,
|
|
1719
|
+
_0x139476: 0x160,
|
|
1720
|
+
_0x10ee9e: 0x172,
|
|
1721
|
+
_0x2bc7e0: 0x139,
|
|
1722
|
+
_0x550c48: 0x19b,
|
|
1723
|
+
_0xcac99b: 0x193,
|
|
1724
|
+
_0x266b9c: 0x16b,
|
|
1725
|
+
_0x447944: 0x224,
|
|
1726
|
+
_0x2cf07b: 0x17f,
|
|
1727
|
+
_0x510df8: 0x194,
|
|
1728
|
+
_0x559837: 0x10b,
|
|
1729
|
+
_0x3828f1: 0xbb,
|
|
1730
|
+
_0x57e6f5: 0xfb,
|
|
1731
|
+
_0x72c9c5: 0x223,
|
|
1732
|
+
_0xe341fe: 0x205,
|
|
1733
|
+
_0xb138fe: 0x180,
|
|
1734
|
+
_0x3e0de1: 0xe9,
|
|
1735
|
+
_0x3703b1: 0xf7,
|
|
1736
|
+
_0x4264c5: 0x193,
|
|
1737
|
+
_0x42eb32: 0x181,
|
|
1738
|
+
_0x2f92a0: 0x131,
|
|
1739
|
+
_0x114d49: 0x15a,
|
|
1740
|
+
_0x28cb48: 0x1a0,
|
|
1741
|
+
_0x15f525: 0x20c,
|
|
1742
|
+
_0xc5b20d: 0x20c,
|
|
1743
|
+
_0x477fac: 0x172,
|
|
1744
|
+
_0x321db0: 0x1d1
|
|
1745
|
+
}, _0x5c3c04 = {
|
|
1746
|
+
_0x29a0a2: 0x180,
|
|
1747
|
+
_0x38313: 0x1bf,
|
|
1748
|
+
_0x4f5a57: 0x15a,
|
|
1749
|
+
_0x36da9f: 0x1b0,
|
|
1750
|
+
_0x1a64af: 0x15e,
|
|
1751
|
+
_0xcf46c3: 0x169
|
|
1752
|
+
}, _0x4b678e = {
|
|
1753
|
+
_0x2a2b49: 0x1bf,
|
|
1754
|
+
_0x13e11a: 0xcd,
|
|
1755
|
+
_0x2eec83: 0x180,
|
|
1756
|
+
_0x38739c: 0x15a,
|
|
1757
|
+
_0x467c8d: 0x169
|
|
1758
|
+
}, _0x4d0d41 = {
|
|
1759
|
+
_0x32df31: 0x180,
|
|
1760
|
+
_0x21aa03: 0xcd,
|
|
1761
|
+
_0x338d35: 0xfa,
|
|
1762
|
+
_0x55f6d5: 0x225,
|
|
1763
|
+
_0x55b74b: 0x212,
|
|
1764
|
+
_0x58931b: 0xc9,
|
|
1765
|
+
_0x5ab868: 0xf6,
|
|
1766
|
+
_0x502b23: 0x227,
|
|
1767
|
+
_0x1700e3: 0x186,
|
|
1768
|
+
_0x3fb2e7: 0xc7,
|
|
1769
|
+
_0x1d24ad: 0x12d,
|
|
1770
|
+
_0x14195d: 0x1c9,
|
|
1771
|
+
_0x281076: 0x1b3,
|
|
1772
|
+
_0x40dc10: 0xf8,
|
|
1773
|
+
_0x870323: 0xf7,
|
|
1774
|
+
_0x313c64: 0x181,
|
|
1775
|
+
_0x9251a9: 0x22f,
|
|
1776
|
+
_0x3c1ae0: 0x22b,
|
|
1777
|
+
_0x56f18c: 0x20c,
|
|
1778
|
+
_0x4580d9: 0xc4,
|
|
1779
|
+
_0x225308: 0x196
|
|
1780
|
+
}, _0x3a5218 = {
|
|
1781
|
+
_0x96d661: 0xcd,
|
|
1782
|
+
_0x1122cb: 0xef,
|
|
1783
|
+
_0x32dfe7: 0xfd,
|
|
1784
|
+
_0x4d1544: 0x17c
|
|
1785
|
+
}, _0x5649d9 = _0x30157b;
|
|
1786
|
+
function _0x573b88(_0x3d22d3, _0x51af00) {
|
|
1787
|
+
const _0x2f71d0 = _0x5bbb;
|
|
1788
|
+
if (!_0x4ec383[_0x2f71d0(_0x3a5218._0x96d661)])
|
|
1789
|
+
return;
|
|
1790
|
+
if (!_0x4ec383[_0x2f71d0(0xc2)])
|
|
1791
|
+
throw new Error(_0x3d22d3 + _0x2f71d0(_0x3a5218._0x1122cb));
|
|
1792
|
+
if (_0x51af00 !== _0x4ec383['workerThreadTarget'])
|
|
1793
|
+
throw new Error(_0x3d22d3 + _0x2f71d0(_0x3a5218._0x32dfe7) + _0x4ec383[_0x2f71d0(0xc2)] + _0x2f71d0(_0x3a5218._0x4d1544) + _0x51af00);
|
|
1794
|
+
}
|
|
1795
|
+
async function _0xc28255(_0x255d03) {
|
|
1796
|
+
const _0x4d5353 = _0x5bbb;
|
|
1797
|
+
if (!_0x4ec383[_0x4d5353(_0x4d0d41._0x32df31)] || !_0x4ec383[_0x4d5353(0x1bf)] || _0x4ec383[_0x4d5353(_0x4d0d41._0x21aa03)] || _0x4ec383[_0x4d5353(_0x4d0d41._0x338d35)] !== !![])
|
|
1798
|
+
return null;
|
|
1799
|
+
const _0x524d2e = parseTarget(_0x255d03[_0x4d5353(_0x4d0d41._0x55f6d5)]);
|
|
1800
|
+
if (_0x524d2e[_0x4d5353(_0x4d0d41._0x55b74b)] !== _0x4d5353(_0x4d0d41._0x55f6d5))
|
|
1801
|
+
return null;
|
|
1802
|
+
if (_0x255d03['executionMode'] === 'main') {
|
|
1803
|
+
const _0x2791a2 = _0x255d03[_0x4d5353(0x16b)] == null ? '(legacy)' : '#' + _0x255d03[_0x4d5353(0x16b)];
|
|
1804
|
+
return {
|
|
1805
|
+
'executionMode': _0x4d5353(0x11d),
|
|
1806
|
+
'stopMain': ![],
|
|
1807
|
+
'workerHandoff': ![],
|
|
1808
|
+
'workerHandoffError': 'task\x20' + _0x2791a2 + _0x4d5353(_0x4d0d41._0x58931b)
|
|
1809
|
+
};
|
|
1810
|
+
}
|
|
1811
|
+
const _0x5e3a8b = _0x255d03[_0x4d5353(0x17f)] != null ? _0x524d2e[_0x4d5353(_0x4d0d41._0x5ab868)] + ':t' + _0x255d03['threadNumber'] : _0x524d2e['channelTarget'] + ':' + _0x255d03[_0x4d5353(0x19b)];
|
|
1812
|
+
let _0x5b61b7;
|
|
1813
|
+
try {
|
|
1814
|
+
const _0x52d277 = await _0x4ec383[_0x4d5353(0x19f)][_0x4d5353(0x1d0)]({
|
|
1815
|
+
'channel': _0x5e3a8b,
|
|
1816
|
+
'limit': 0x14
|
|
1817
|
+
});
|
|
1818
|
+
_0x5b61b7 = _0x52d277['messages'][_0x4d5353(_0x4d0d41._0x502b23)](_0x2265c6 => _0x2265c6[_0x4d5353(0x19b)] === _0x255d03[_0x4d5353(0x19b)]);
|
|
1819
|
+
} catch {
|
|
1820
|
+
_0x5b61b7 = void 0x0;
|
|
1821
|
+
}
|
|
1822
|
+
const _0x3303c1 = _0x255d03[_0x4d5353(0x16b)] == null ? '(legacy)' : '#' + _0x255d03[_0x4d5353(0x16b)], _0x19d4dc = [
|
|
1823
|
+
_0x4d5353(0x223) + _0x5e3a8b + _0x4d5353(0x162) + _0x255d03[_0x4d5353(0x19b)]['slice'](0x0, 0x8) + _0x4d5353(_0x4d0d41._0x1700e3) + new Date()['toISOString']() + _0x4d5353(0x1bb) + _0x3303c1 + _0x4d5353(_0x4d0d41._0x3fb2e7),
|
|
1824
|
+
'',
|
|
1825
|
+
_0x5b61b7 ? 'Root\x20task\x20message:\x0a' + _0x5b61b7['content'] : _0x4d5353(_0x4d0d41._0x1d24ad) + _0x255d03['messageId'],
|
|
1826
|
+
'',
|
|
1827
|
+
_0x4d5353(_0x4d0d41._0x14195d) + _0x5e3a8b,
|
|
1828
|
+
'Continue\x20execution\x20in\x20this\x20thread.\x20Use\x20read_history\x20if\x20you\x20need\x20more\x20context.'
|
|
1829
|
+
][_0x4d5353(0xfb)]('\x0a'), _0x4aa397 = await fetch(_0x4ec383[_0x4d5353(_0x4d0d41._0x32df31)] + _0x4d5353(_0x4d0d41._0x281076), {
|
|
1830
|
+
'method': _0x4d5353(_0x4d0d41._0x40dc10),
|
|
1831
|
+
'headers': { 'Content-Type': _0x4d5353(0xe9) },
|
|
1832
|
+
'body': JSON[_0x4d5353(_0x4d0d41._0x870323)]({
|
|
1833
|
+
'agent_id': _0x4ec383[_0x4d5353(0x1bf)],
|
|
1834
|
+
'thread_target': _0x5e3a8b,
|
|
1835
|
+
'spawn_packet': {
|
|
1836
|
+
'replyTarget': _0x5e3a8b,
|
|
1837
|
+
..._0x255d03[_0x4d5353(_0x4d0d41._0x313c64)] ? { 'taskId': _0x255d03[_0x4d5353(_0x4d0d41._0x313c64)] } : _0x255d03[_0x4d5353(0x16b)] != null ? { 'taskId': _0x4d5353(_0x4d0d41._0x9251a9) + _0x255d03['taskNumber'] } : {}
|
|
1838
|
+
},
|
|
1839
|
+
'payload': {
|
|
1840
|
+
'mode': 'user',
|
|
1841
|
+
'text': _0x19d4dc
|
|
1842
|
+
}
|
|
1843
|
+
})
|
|
1844
|
+
}), _0x50e8c6 = await _0x4aa397[_0x4d5353(0x15a)]();
|
|
1845
|
+
if (!_0x50e8c6['ok'])
|
|
1846
|
+
throw new Error(_0x50e8c6[_0x4d5353(_0x4d0d41._0x3c1ae0)] ?? 'worker\x20handoff\x20failed');
|
|
1847
|
+
return {
|
|
1848
|
+
'stopMain': !![],
|
|
1849
|
+
'threadTarget': _0x5e3a8b,
|
|
1850
|
+
'workerDisposition': _0x50e8c6[_0x4d5353(0x1a0)] === _0x4d5353(_0x4d0d41._0x56f18c) ? _0x4d5353(_0x4d0d41._0x56f18c) : _0x4d5353(_0x4d0d41._0x4580d9),
|
|
1851
|
+
'workerHandoff': !![],
|
|
1852
|
+
'workerSessionId': _0x50e8c6[_0x4d5353(0x229)] ?? '',
|
|
1853
|
+
'executionMode': _0x4d5353(_0x4d0d41._0x225308)
|
|
1854
|
+
};
|
|
1855
|
+
}
|
|
1856
|
+
async function _0x1a5dd8() {
|
|
1857
|
+
const _0x326157 = _0x5bbb;
|
|
1858
|
+
if (!_0x4ec383['daemonLocalUrl'] || !_0x4ec383[_0x326157(_0x4b678e._0x2a2b49)] || _0x4ec383[_0x326157(_0x4b678e._0x13e11a)])
|
|
1859
|
+
return null;
|
|
1860
|
+
try {
|
|
1861
|
+
const _0x25d998 = await fetch(_0x4ec383[_0x326157(_0x4b678e._0x2eec83)] + _0x326157(0x114) + encodeURIComponent(_0x4ec383[_0x326157(0x1bf)])), _0xa25668 = await _0x25d998[_0x326157(_0x4b678e._0x38739c)]();
|
|
1862
|
+
if (!_0xa25668['ok'])
|
|
1863
|
+
return null;
|
|
1864
|
+
const _0x14e644 = new Set();
|
|
1865
|
+
for (const _0x541dd0 of _0xa25668[_0x326157(0x1b0)]) {
|
|
1866
|
+
_0x541dd0[_0x326157(0x240)] !== 'destroyed' && _0x541dd0['thread_target'] && _0x14e644[_0x326157(0x133)](_0x541dd0['thread_target']);
|
|
1867
|
+
}
|
|
1868
|
+
return _0x14e644[_0x326157(_0x4b678e._0x467c8d)] > 0x0 ? _0x14e644 : null;
|
|
1869
|
+
} catch {
|
|
1870
|
+
return null;
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
const _0x35ec4a = new Set([
|
|
1874
|
+
'running',
|
|
1875
|
+
_0x5649d9(0x104),
|
|
1876
|
+
'waiting_input'
|
|
1877
|
+
]);
|
|
1878
|
+
async function _0x53e21d() {
|
|
1879
|
+
const _0x2e50e4 = _0x5649d9;
|
|
1880
|
+
if (!_0x4ec383[_0x2e50e4(_0x5c3c04._0x29a0a2)] || !_0x4ec383[_0x2e50e4(_0x5c3c04._0x38313)] || _0x4ec383[_0x2e50e4(0xcd)])
|
|
1881
|
+
return null;
|
|
1882
|
+
try {
|
|
1883
|
+
const _0x1328e8 = await fetch(_0x4ec383[_0x2e50e4(0x180)] + _0x2e50e4(0x114) + encodeURIComponent(_0x4ec383['agentId'])), _0x3b6971 = await _0x1328e8[_0x2e50e4(_0x5c3c04._0x4f5a57)]();
|
|
1884
|
+
if (!_0x3b6971['ok'])
|
|
1885
|
+
return null;
|
|
1886
|
+
const _0x140b98 = new Set();
|
|
1887
|
+
for (const _0x47e5a5 of _0x3b6971[_0x2e50e4(_0x5c3c04._0x36da9f)]) {
|
|
1888
|
+
_0x35ec4a[_0x2e50e4(_0x5c3c04._0x1a64af)](_0x47e5a5['status']) && _0x47e5a5[_0x2e50e4(0x12f)] && _0x140b98['add'](_0x47e5a5['thread_target']);
|
|
1889
|
+
}
|
|
1890
|
+
return _0x140b98[_0x2e50e4(_0x5c3c04._0xcf46c3)] > 0x0 ? _0x140b98 : null;
|
|
1891
|
+
} catch {
|
|
1892
|
+
return null;
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
return {
|
|
1896
|
+
async 'send_message'(_0x23893c) {
|
|
1897
|
+
const _0x2d8f87 = _0x5649d9;
|
|
1898
|
+
if (!_0x4ec383['workerMode'] && _0x4ec383[_0x2d8f87(_0x29d2e2._0x184813)] && _0x4ec383[_0x2d8f87(0x180)] && _0x4ec383['agentId']) {
|
|
1899
|
+
const _0x4b2c3b = await _0x4ec383['client'][_0x2d8f87(_0x29d2e2._0x28d2aa)](_0x23893c['target']);
|
|
1900
|
+
if (_0x4b2c3b[_0x2d8f87(0x193)] && _0x4b2c3b['threadId']) {
|
|
1901
|
+
if (_0x4b2c3b['task'][_0x2d8f87(0x1fc)] === _0x2d8f87(0x11d)) {
|
|
1902
|
+
const _0x3ae322 = await _0x4ec383[_0x2d8f87(0x19f)]['sendMessage']({
|
|
1903
|
+
'attachmentIds': _0x23893c[_0x2d8f87(_0x29d2e2._0x100c92)],
|
|
1904
|
+
'content': _0x23893c[_0x2d8f87(_0x29d2e2._0x139476)],
|
|
1905
|
+
'target': _0x23893c[_0x2d8f87(_0x29d2e2._0x10ee9e)],
|
|
1906
|
+
'visibility': _0x23893c[_0x2d8f87(0x1d1)]
|
|
1907
|
+
});
|
|
1908
|
+
return _0x2d8f87(0x1d4) + _0x23893c[_0x2d8f87(0x172)] + _0x2d8f87(_0x29d2e2._0x2bc7e0) + _0x3ae322[_0x2d8f87(_0x29d2e2._0x550c48)];
|
|
1909
|
+
}
|
|
1910
|
+
const _0x26b761 = _0x4b2c3b[_0x2d8f87(_0x29d2e2._0xcac99b)][_0x2d8f87(_0x29d2e2._0x266b9c)] != null ? '#' + _0x4b2c3b['task']['taskNumber'] : _0x2d8f87(_0x29d2e2._0x447944), _0x558bb8 = _0x4b2c3b[_0x2d8f87(_0x29d2e2._0x2cf07b)] != null ? _0x4b2c3b[_0x2d8f87(0x172)] + ':t' + _0x4b2c3b['threadNumber'] : _0x4b2c3b[_0x2d8f87(0x172)] + ':' + _0x4b2c3b[_0x2d8f87(_0x29d2e2._0x510df8)][_0x2d8f87(_0x29d2e2._0x559837)](0x0, 0x8), _0x5240cc = await _0x53e21d();
|
|
1911
|
+
if (_0x5240cc?.[_0x2d8f87(0x15e)](_0x558bb8))
|
|
1912
|
+
return [
|
|
1913
|
+
_0x2d8f87(_0x29d2e2._0x3828f1) + _0x26b761 + '\x20in\x20' + _0x558bb8 + '\x20already\x20has\x20an\x20active\x20worker.\x20stopMain=true\x20executionMode=worker',
|
|
1914
|
+
_0x2d8f87(0x126)
|
|
1915
|
+
][_0x2d8f87(_0x29d2e2._0x57e6f5)]('\x0a');
|
|
1916
|
+
const _0x59ec04 = [
|
|
1917
|
+
_0x2d8f87(_0x29d2e2._0x72c9c5) + _0x558bb8 + _0x2d8f87(0x120) + new Date()[_0x2d8f87(0x158)]() + _0x2d8f87(0xbe),
|
|
1918
|
+
'',
|
|
1919
|
+
'Original\x20message:\x20' + _0x23893c['content'],
|
|
1920
|
+
_0x2d8f87(_0x29d2e2._0xe341fe) + _0x26b761 + '\x20(' + _0x4b2c3b[_0x2d8f87(0x193)][_0x2d8f87(0x181)] + ')',
|
|
1921
|
+
_0x2d8f87(0x1c9) + _0x558bb8,
|
|
1922
|
+
'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
|
|
1923
|
+
][_0x2d8f87(_0x29d2e2._0x57e6f5)]('\x0a'), _0x4447fd = await fetch(_0x4ec383[_0x2d8f87(_0x29d2e2._0xb138fe)] + _0x2d8f87(0x1b3), {
|
|
1924
|
+
'method': 'POST',
|
|
1925
|
+
'headers': { 'Content-Type': _0x2d8f87(_0x29d2e2._0x3e0de1) },
|
|
1926
|
+
'body': JSON[_0x2d8f87(_0x29d2e2._0x3703b1)]({
|
|
1927
|
+
'agent_id': _0x4ec383['agentId'],
|
|
1928
|
+
'thread_target': _0x558bb8,
|
|
1929
|
+
'spawn_packet': {
|
|
1930
|
+
'replyTarget': _0x558bb8,
|
|
1931
|
+
'taskId': _0x4b2c3b[_0x2d8f87(_0x29d2e2._0x4264c5)][_0x2d8f87(_0x29d2e2._0x42eb32)]
|
|
1932
|
+
},
|
|
1933
|
+
'payload': {
|
|
1934
|
+
'mode': _0x2d8f87(_0x29d2e2._0x2f92a0),
|
|
1935
|
+
'text': _0x59ec04
|
|
1936
|
+
}
|
|
1937
|
+
})
|
|
1938
|
+
}), _0x22f87b = await _0x4447fd[_0x2d8f87(_0x29d2e2._0x114d49)]();
|
|
1939
|
+
if (!_0x22f87b['ok'])
|
|
1940
|
+
throw new Error(_0x22f87b['error'] ?? _0x2d8f87(0x1b8));
|
|
1941
|
+
return [
|
|
1942
|
+
'Handoff\x20to\x20worker\x20for\x20task\x20' + _0x26b761 + '\x20in\x20' + _0x558bb8 + _0x2d8f87(0x176),
|
|
1943
|
+
'Worker\x20' + (_0x22f87b[_0x2d8f87(_0x29d2e2._0x28cb48)] === _0x2d8f87(_0x29d2e2._0x15f525) ? _0x2d8f87(_0x29d2e2._0xc5b20d) : _0x2d8f87(0xc4)) + '.',
|
|
1944
|
+
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1945
|
+
][_0x2d8f87(0xfb)]('\x0a');
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
const _0x21a258 = await _0x4ec383[_0x2d8f87(0x19f)]['sendMessage']({
|
|
1949
|
+
'attachmentIds': _0x23893c[_0x2d8f87(_0x29d2e2._0x100c92)],
|
|
1950
|
+
'content': _0x23893c['content'],
|
|
1951
|
+
'target': _0x23893c[_0x2d8f87(_0x29d2e2._0x477fac)],
|
|
1952
|
+
'visibility': _0x23893c[_0x2d8f87(_0x29d2e2._0x321db0)]
|
|
1953
|
+
});
|
|
1954
|
+
return _0x2d8f87(0x1d4) + _0x23893c[_0x2d8f87(0x172)] + _0x2d8f87(0x139) + _0x21a258['messageId'];
|
|
1955
|
+
},
|
|
1956
|
+
async 'check_messages'() {
|
|
1957
|
+
const _0x3fc293 = _0x5649d9, _0x2c7485 = await _0x4ec383['client'][_0x3fc293(_0xc567a8._0x248457)]();
|
|
1958
|
+
if (!_0x4ec383[_0x3fc293(_0xc567a8._0x4a3da3)]) {
|
|
1959
|
+
const _0x1f6dd4 = await _0x1a5dd8();
|
|
1960
|
+
if (_0x1f6dd4)
|
|
1961
|
+
return formatCheckMessages(_0x2c7485[_0x3fc293(0x15d)][_0x3fc293(0x22a)](_0x2172e6 => !_0x1f6dd4[_0x3fc293(0x15e)](_0x2172e6[_0x3fc293(0x172)])));
|
|
1962
|
+
}
|
|
1963
|
+
return formatCheckMessages(_0x2c7485['messages']);
|
|
1964
|
+
},
|
|
1965
|
+
async 'read_history'(_0x131dd5) {
|
|
1966
|
+
const _0x30d2be = _0x5649d9, _0x417e96 = await _0x4ec383[_0x30d2be(0x19f)]['readHistory'](_0x131dd5);
|
|
1967
|
+
return formatHistory(_0x417e96);
|
|
1968
|
+
},
|
|
1969
|
+
async 'list_server'() {
|
|
1970
|
+
const _0x4163ff = _0x5649d9, _0x1b5c23 = await _0x4ec383[_0x4163ff(0x19f)][_0x4163ff(0x1f1)]();
|
|
1971
|
+
return formatServerDirectory(_0x1b5c23);
|
|
1972
|
+
},
|
|
1973
|
+
async 'list_tasks'(_0x531f42) {
|
|
1974
|
+
const _0x33ce03 = _0x5649d9, _0x21c997 = await _0x4ec383[_0x33ce03(0x19f)][_0x33ce03(_0x587603._0x3f90ba)](_0x531f42);
|
|
1975
|
+
let _0xea82b9;
|
|
1976
|
+
if (_0x4ec383[_0x33ce03(0x180)] && _0x4ec383[_0x33ce03(_0x587603._0x404cde)])
|
|
1977
|
+
try {
|
|
1978
|
+
const _0xb7a135 = await fetch(_0x4ec383['daemonLocalUrl'] + _0x33ce03(_0x587603._0x23228b) + encodeURIComponent(_0x4ec383['agentId'])), _0x377aa2 = await _0xb7a135[_0x33ce03(_0x587603._0x41fc03)]();
|
|
1979
|
+
if (_0x377aa2['ok']) {
|
|
1980
|
+
const _0x22f709 = _0x531f42[_0x33ce03(0x225)] + ':';
|
|
1981
|
+
_0xea82b9 = new Set();
|
|
1982
|
+
for (const _0x3adf70 of _0x377aa2[_0x33ce03(0x1b0)]) {
|
|
1983
|
+
if (_0x3adf70[_0x33ce03(_0x587603._0x3576f2)] === _0x33ce03(0x20d))
|
|
1984
|
+
continue;
|
|
1985
|
+
if (_0x3adf70[_0x33ce03(0x12f)]?.[_0x33ce03(_0x587603._0x5ae945)](_0x22f709)) {
|
|
1986
|
+
const _0x3e3779 = _0x3adf70['thread_target'][_0x33ce03(0x10b)](_0x22f709[_0x33ce03(0x1c2)]), _0x5852c6 = _0x21c997[_0x33ce03(_0x587603._0x306961)][_0x33ce03(_0x587603._0x4d8ca5)](_0xb872b3 => _0xb872b3[_0x33ce03(0x19b)]?.[_0x33ce03(0x23e)](_0x3e3779) === !![]);
|
|
1987
|
+
if (_0x5852c6?.[_0x33ce03(0x16b)] != null) {
|
|
1988
|
+
_0xea82b9['add'](_0x5852c6[_0x33ce03(0x16b)]);
|
|
1989
|
+
continue;
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
if (_0x3adf70[_0x33ce03(_0x587603._0x2db455)]) {
|
|
1993
|
+
const _0x3fae42 = _0x21c997[_0x33ce03(_0x587603._0x595b03)][_0x33ce03(0x227)](_0x5cdb1e => _0x5cdb1e[_0x33ce03(0x181)] === _0x3adf70[_0x33ce03(0x156)]);
|
|
1994
|
+
_0x3fae42?.[_0x33ce03(_0x587603._0x52dcf8)] != null && _0xea82b9[_0x33ce03(_0x587603._0x492145)](_0x3fae42[_0x33ce03(0x16b)]);
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
} catch {
|
|
1999
|
+
}
|
|
2000
|
+
return formatTaskList(_0x21c997['tasks'], _0xea82b9);
|
|
2001
|
+
},
|
|
2002
|
+
async 'create_tasks'(_0x22fcad) {
|
|
2003
|
+
const _0x364a29 = _0x5649d9;
|
|
2004
|
+
_0x573b88(_0x364a29(_0x56bcac._0x72197b), _0x22fcad[_0x364a29(0x225)]);
|
|
2005
|
+
const _0x29a233 = await _0x4ec383[_0x364a29(0x19f)][_0x364a29(0x10f)](_0x22fcad);
|
|
2006
|
+
return formatCreatedTasks(_0x29a233[_0x364a29(_0x56bcac._0x596804)]);
|
|
2007
|
+
},
|
|
2008
|
+
async 'claim_tasks'(_0x287f68) {
|
|
2009
|
+
const _0x383678 = {
|
|
2010
|
+
_0x485d88: 0x1fc,
|
|
2011
|
+
_0x3641ab: 0xd8
|
|
2012
|
+
}, _0x52b2da = _0x5649d9;
|
|
2013
|
+
if (_0x4ec383['workerMode']) {
|
|
2014
|
+
_0x573b88(_0x52b2da(0x113), _0x287f68[_0x52b2da(_0xc8dc9e._0x18faef)]);
|
|
2015
|
+
if (_0x287f68[_0x52b2da(0x159)] && _0x287f68[_0x52b2da(_0xc8dc9e._0x33e60d)][_0x52b2da(0x1c2)] > 0x0)
|
|
2016
|
+
throw new Error(_0x52b2da(_0xc8dc9e._0x51ca24));
|
|
2017
|
+
if (!_0x287f68[_0x52b2da(0x23c)] || _0x287f68[_0x52b2da(_0xc8dc9e._0x51a122)][_0x52b2da(_0xc8dc9e._0x4985fb)] === 0x0)
|
|
2018
|
+
throw new Error('claim_tasks:\x20worker\x20can\x20only\x20claim\x20subtasks\x20inside\x20its\x20own\x20task\x20thread\x20—\x20provide\x20subtask_numbers.');
|
|
2019
|
+
}
|
|
2020
|
+
const _0x2fa493 = await _0x4ec383[_0x52b2da(_0xc8dc9e._0x476fe4)][_0x52b2da(_0xc8dc9e._0x4df361)](_0x287f68), _0x4b0c9a = await Promise['all'](_0x2fa493[_0x52b2da(0x128)][_0x52b2da(_0xc8dc9e._0x525c25)](async _0x5d9545 => {
|
|
2021
|
+
const _0x225fb3 = _0x52b2da;
|
|
2022
|
+
if (!_0x5d9545[_0x225fb3(0xdd)] || !_0x5d9545[_0x225fb3(0x19b)])
|
|
2023
|
+
return _0x5d9545;
|
|
2024
|
+
try {
|
|
2025
|
+
const _0x14fb03 = await _0xc28255({
|
|
2026
|
+
'channel': _0x287f68[_0x225fb3(0x225)],
|
|
2027
|
+
'executionMode': _0x5d9545[_0x225fb3(_0x383678._0x485d88)],
|
|
2028
|
+
'messageId': _0x5d9545['messageId'],
|
|
2029
|
+
'taskId': _0x5d9545['taskId'],
|
|
2030
|
+
'taskNumber': _0x5d9545[_0x225fb3(0x16b)],
|
|
2031
|
+
'threadNumber': _0x5d9545['threadNumber']
|
|
2032
|
+
});
|
|
2033
|
+
return _0x14fb03 ? {
|
|
2034
|
+
..._0x5d9545,
|
|
2035
|
+
..._0x14fb03
|
|
2036
|
+
} : _0x5d9545;
|
|
2037
|
+
} catch (_0x34d6d3) {
|
|
2038
|
+
return {
|
|
2039
|
+
..._0x5d9545,
|
|
2040
|
+
'workerHandoffError': _0x34d6d3 instanceof Error ? _0x34d6d3['message'] : _0x225fb3(_0x383678._0x3641ab)
|
|
2041
|
+
};
|
|
2042
|
+
}
|
|
2043
|
+
}));
|
|
2044
|
+
return formatClaimTaskResults(_0x4b0c9a);
|
|
2045
|
+
},
|
|
2046
|
+
async 'unclaim_task'(_0x4b4cc8) {
|
|
2047
|
+
const _0x3a53ae = _0x5649d9;
|
|
2048
|
+
if (_0x4ec383[_0x3a53ae(_0x93abff._0x38b9e1)]) {
|
|
2049
|
+
_0x573b88(_0x3a53ae(_0x93abff._0x2cb592), _0x4b4cc8[_0x3a53ae(_0x93abff._0x22e99e)]);
|
|
2050
|
+
if (_0x4b4cc8[_0x3a53ae(0x166)] == null)
|
|
2051
|
+
throw new Error(_0x3a53ae(0xe0));
|
|
2052
|
+
}
|
|
2053
|
+
const _0x5873df = await _0x4ec383[_0x3a53ae(0x19f)][_0x3a53ae(0x1a3)](_0x4b4cc8);
|
|
2054
|
+
return formatUnclaimTaskResult(_0x5873df);
|
|
2055
|
+
},
|
|
2056
|
+
async 'update_task_status'(_0x5d7446) {
|
|
2057
|
+
const _0x144e34 = _0x5649d9;
|
|
2058
|
+
_0x573b88(_0x144e34(_0x31d46c._0x10a4db), _0x5d7446[_0x144e34(_0x31d46c._0x4b14b5)]);
|
|
2059
|
+
const _0x189768 = await _0x4ec383[_0x144e34(0x19f)][_0x144e34(0xc0)](_0x5d7446);
|
|
2060
|
+
return formatUpdateTaskStatusResult(_0x189768);
|
|
2061
|
+
},
|
|
2062
|
+
async 'upload_file'(_0x93845c) {
|
|
2063
|
+
const _0x140248 = _0x5649d9, _0xd6d6a = await _0x4ec383[_0x140248(0x1a6)](_0x93845c[_0x140248(0x1c0)]), {
|
|
2064
|
+
sizeBytes: _0xe282ac,
|
|
2065
|
+
..._0x39109a
|
|
2066
|
+
} = _0xd6d6a, _0x24ff76 = await _0x4ec383['client'][_0x140248(0xd2)]({
|
|
2067
|
+
'channel': _0x93845c['channel'],
|
|
2068
|
+
..._0x39109a
|
|
2069
|
+
});
|
|
2070
|
+
return formatUploadResult(_0x24ff76);
|
|
2071
|
+
},
|
|
2072
|
+
async 'view_file'(_0x4305c0) {
|
|
2073
|
+
const _0x11d5f9 = _0x5649d9, _0x303d9e = await _0x4ec383[_0x11d5f9(_0x2f8e3a._0x57beb4)][_0x11d5f9(_0x2f8e3a._0x584c14)](_0x4305c0[_0x11d5f9(0x1e4)]);
|
|
2074
|
+
if (_0x303d9e)
|
|
2075
|
+
return formatViewFileResult(_0x303d9e, !![]);
|
|
2076
|
+
const _0x3fecd8 = await _0x4ec383[_0x11d5f9(_0x2f8e3a._0x35a9bb)][_0x11d5f9(_0x2f8e3a._0x3d3a37)](_0x4305c0[_0x11d5f9(0x1e4)]), _0x3a5e3b = await _0x4ec383[_0x11d5f9(_0x2f8e3a._0x57beb4)][_0x11d5f9(_0x2f8e3a._0x54479a)]({
|
|
2077
|
+
'attachmentId': _0x4305c0[_0x11d5f9(_0x2f8e3a._0x19de6d)],
|
|
2078
|
+
'contentType': _0x3fecd8[_0x11d5f9(0x111)],
|
|
2079
|
+
'data': _0x3fecd8[_0x11d5f9(0x1e9)],
|
|
2080
|
+
'originalFilename': _0x3fecd8[_0x11d5f9(0x1a4)]
|
|
2081
|
+
});
|
|
2082
|
+
return formatViewFileResult(_0x3a5e3b, ![]);
|
|
2083
|
+
},
|
|
2084
|
+
async 'get_worker_status'(_0x48dc71) {
|
|
2085
|
+
const _0xbeaece = _0x5649d9;
|
|
2086
|
+
if (!_0x4ec383[_0xbeaece(0x180)])
|
|
2087
|
+
return _0xbeaece(_0x34e2eb._0x17a693);
|
|
2088
|
+
const _0x2a3bcf = await fetch(_0x4ec383[_0xbeaece(_0x34e2eb._0x4fce1f)] + _0xbeaece(_0x34e2eb._0x2e483d) + encodeURIComponent(_0x48dc71[_0xbeaece(_0x34e2eb._0x5d7812)])), _0x374876 = await _0x2a3bcf['json']();
|
|
2089
|
+
if (!_0x374876['ok'])
|
|
2090
|
+
return _0xbeaece(0x198) + _0x48dc71['work_key'] + _0xbeaece(0x161);
|
|
2091
|
+
return _0xbeaece(0x198) + _0x48dc71[_0xbeaece(_0x34e2eb._0x5d7812)] + _0xbeaece(_0x34e2eb._0x573190) + _0x374876[_0xbeaece(0x240)];
|
|
2092
|
+
},
|
|
2093
|
+
async 'park_worker'(_0x10695a) {
|
|
2094
|
+
const _0x65bb06 = _0x5649d9;
|
|
2095
|
+
if (!_0x4ec383[_0x65bb06(_0x492cbe._0x5a5e6)])
|
|
2096
|
+
return _0x65bb06(0x103);
|
|
2097
|
+
const _0x4980c0 = await fetch(_0x4ec383[_0x65bb06(0x180)] + _0x65bb06(_0x492cbe._0x303857), {
|
|
2098
|
+
'method': _0x65bb06(0xf8),
|
|
2099
|
+
'headers': { 'Content-Type': _0x65bb06(0xe9) },
|
|
2100
|
+
'body': JSON[_0x65bb06(_0x492cbe._0x573971)]({ 'work_key': _0x10695a[_0x65bb06(_0x492cbe._0x262897)] })
|
|
2101
|
+
}), _0x5af112 = await _0x4980c0[_0x65bb06(_0x492cbe._0x212db8)]();
|
|
2102
|
+
if (!_0x5af112['ok'])
|
|
2103
|
+
throw new Error(_0x5af112[_0x65bb06(_0x492cbe._0x23d8df)] ?? _0x65bb06(_0x492cbe._0x5c23da));
|
|
2104
|
+
return 'Worker\x20\x22' + _0x10695a[_0x65bb06(_0x492cbe._0x262897)] + _0x65bb06(0xc1);
|
|
2105
|
+
},
|
|
2106
|
+
async 'mark_waiting_input'(_0x35b7e4) {
|
|
2107
|
+
const _0x970938 = _0x5649d9;
|
|
2108
|
+
if (!_0x4ec383[_0x970938(0x180)] || !_0x4ec383[_0x970938(0x1bf)])
|
|
2109
|
+
return _0x970938(_0x4874c8._0x263753);
|
|
2110
|
+
const _0xc67245 = await fetch(_0x4ec383[_0x970938(_0x4874c8._0x5016f4)] + _0x970938(0x16a), {
|
|
2111
|
+
'method': _0x970938(0xf8),
|
|
2112
|
+
'headers': { 'Content-Type': _0x970938(0xe9) },
|
|
2113
|
+
'body': JSON['stringify']({
|
|
2114
|
+
'work_key': _0x35b7e4[_0x970938(0x152)],
|
|
2115
|
+
'agent_id': _0x4ec383[_0x970938(_0x4874c8._0x2a81d4)]
|
|
2116
|
+
})
|
|
2117
|
+
}), _0x491bf2 = await _0xc67245[_0x970938(0x15a)]();
|
|
2118
|
+
if (!_0x491bf2['ok'])
|
|
2119
|
+
throw new Error(_0x491bf2[_0x970938(_0x4874c8._0x5bd3a2)] ?? 'mark_waiting_input\x20failed');
|
|
2120
|
+
return _0x970938(_0x4874c8._0x31d7b0) + _0x35b7e4[_0x970938(0x152)] + _0x970938(_0x4874c8._0x930be8);
|
|
2121
|
+
},
|
|
2122
|
+
async 'escalate_to_main'(_0xd85188) {
|
|
2123
|
+
const _0x51437b = _0x5649d9;
|
|
2124
|
+
if (!_0x4ec383[_0x51437b(0x180)])
|
|
2125
|
+
return _0x51437b(_0x2e4245._0x5ef0e3);
|
|
2126
|
+
const _0x5cafee = await fetch(_0x4ec383[_0x51437b(_0x2e4245._0x333475)] + _0x51437b(_0x2e4245._0x5ab448), {
|
|
2127
|
+
'method': _0x51437b(_0x2e4245._0x3f8bcc),
|
|
2128
|
+
'headers': { 'Content-Type': 'application/json' },
|
|
2129
|
+
'body': JSON[_0x51437b(0xf7)]({
|
|
2130
|
+
'work_key': _0xd85188[_0x51437b(_0x2e4245._0x5ad187)],
|
|
2131
|
+
'reason': _0xd85188['reason']
|
|
2132
|
+
})
|
|
2133
|
+
}), _0xa1fbac = await _0x5cafee[_0x51437b(0x15a)]();
|
|
2134
|
+
if (!_0xa1fbac['ok'])
|
|
2135
|
+
throw new Error(_0xa1fbac[_0x51437b(0x22b)] ?? _0x51437b(_0x2e4245._0x4b4903));
|
|
2136
|
+
return _0x51437b(_0x2e4245._0x4d200b) + _0xd85188['reason'];
|
|
2137
|
+
}
|
|
2138
|
+
};
|
|
2139
|
+
}
|
|
2140
|
+
function textResult(_0x45b26e, _0x5b7820 = ![]) {
|
|
2141
|
+
const _0x563718 = _0x30157b;
|
|
2142
|
+
return {
|
|
2143
|
+
'content': [{
|
|
2144
|
+
'type': _0x563718(0x115),
|
|
2145
|
+
'text': _0x45b26e
|
|
2146
|
+
}],
|
|
2147
|
+
..._0x5b7820 ? { 'isError': !![] } : {}
|
|
2145
2148
|
};
|
|
2146
|
-
return _0x565a();
|
|
2147
2149
|
}
|
|
2148
|
-
async function registerChatBridgeTools(
|
|
2149
|
-
const
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2150
|
+
async function registerChatBridgeTools(_0x4a6193, _0x336f92, _0x2cc85b) {
|
|
2151
|
+
const _0x1746ef = {
|
|
2152
|
+
_0x4bb24d: 0x1e8,
|
|
2153
|
+
_0xfaa112: 0x231,
|
|
2154
|
+
_0xbb748f: 0x236,
|
|
2155
|
+
_0xd003b9: 0xd6,
|
|
2156
|
+
_0x5b4148: 0x241,
|
|
2157
|
+
_0x54ec52: 0xc6,
|
|
2158
|
+
_0x10e8b0: 0x221,
|
|
2159
|
+
_0xb1e0dd: 0x17e,
|
|
2160
|
+
_0x30edb2: 0x14d,
|
|
2161
|
+
_0x1f1419: 0x218,
|
|
2162
|
+
_0x12ec13: 0x231,
|
|
2163
|
+
_0x17bc69: 0x1c5,
|
|
2164
|
+
_0x199cc0: 0x107,
|
|
2165
|
+
_0x557424: 0x231,
|
|
2166
|
+
_0x1df63c: 0x102,
|
|
2167
|
+
_0xd57f70: 0x1ab,
|
|
2168
|
+
_0x58c221: 0x191,
|
|
2169
|
+
_0x10229b: 0x1c6,
|
|
2170
|
+
_0x1eb49a: 0x1b6,
|
|
2171
|
+
_0x227e50: 0x1cc,
|
|
2172
|
+
_0x60b8a2: 0x1fb,
|
|
2173
|
+
_0x2b7854: 0xd6,
|
|
2174
|
+
_0x463f2d: 0x1fb,
|
|
2175
|
+
_0xcbdc19: 0x16f,
|
|
2176
|
+
_0x28d112: 0x248,
|
|
2177
|
+
_0x49dcad: 0x1fb,
|
|
2178
|
+
_0xd08352: 0x214,
|
|
2179
|
+
_0x3132b0: 0x242,
|
|
2180
|
+
_0x5da928: 0x1e0,
|
|
2181
|
+
_0x27ca05: 0xd6,
|
|
2182
|
+
_0x58797f: 0x211,
|
|
2183
|
+
_0xc0c3d3: 0xcd,
|
|
2184
|
+
_0x1bf01d: 0xdc,
|
|
2185
|
+
_0x123e5c: 0x231
|
|
2186
|
+
}, _0x363ad7 = { _0x99b8b3: 0x16d }, _0x4c98c8 = {
|
|
2187
|
+
_0x142dae: 0xff,
|
|
2188
|
+
_0x252cc6: 0x11a
|
|
2189
|
+
}, _0x5ad6fc = { _0x1ae16b: 0x11a }, _0x386c4f = {
|
|
2190
|
+
_0x2c26b0: 0xe6,
|
|
2191
|
+
_0x188227: 0x11a
|
|
2192
|
+
}, _0x3e7cb1 = {
|
|
2193
|
+
_0x19f704: 0x1e0,
|
|
2194
|
+
_0x205fac: 0x11a
|
|
2195
|
+
}, _0x15030a = {
|
|
2196
|
+
_0x401146: 0x18a,
|
|
2197
|
+
_0x5d1d1e: 0x112
|
|
2198
|
+
}, _0x2ed85b = {
|
|
2199
|
+
_0x1f4139: 0x11a,
|
|
2200
|
+
_0x182518: 0x1ba
|
|
2201
|
+
}, _0x5c59e1 = {
|
|
2202
|
+
_0x17ab15: 0xf9,
|
|
2203
|
+
_0x3e8755: 0x11a
|
|
2204
|
+
}, _0x3fab0b = {
|
|
2205
|
+
_0x11f28e: 0x11a,
|
|
2206
|
+
_0x549442: 0x1d3
|
|
2207
|
+
}, _0x3cfd0b = { _0x40671b: 0x11a }, _0x856f06 = {
|
|
2208
|
+
_0x503265: 0x11a,
|
|
2209
|
+
_0x5c15f1: 0x215
|
|
2210
|
+
}, _0x18710 = _0x30157b, {z: _0x3b6452} = await import(_0x18710(_0x1746ef._0x4bb24d));
|
|
2211
|
+
_0x4a6193[_0x18710(_0x1746ef._0xfaa112)](_0x18710(_0x1746ef._0xbb748f), 'Send\x20a\x20message.\x20If\x20visibility\x20is\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20visibility:\x20aside\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Outside\x20threads,\x20do\x20not\x20set\x20visibility.\x20Reuse\x20the\x20exact\x20target\x20string\x20from\x20incoming\x20messages.', {
|
|
2212
|
+
'target': _0x3b6452['string'](),
|
|
2213
|
+
'content': _0x3b6452[_0x18710(_0x1746ef._0xd003b9)](),
|
|
2214
|
+
'attachment_ids': _0x3b6452[_0x18710(0x191)](_0x3b6452[_0x18710(_0x1746ef._0xd003b9)]())['optional'](),
|
|
2215
|
+
'visibility': _0x3b6452[_0x18710(_0x1746ef._0x5b4148)]([
|
|
2203
2216
|
'public',
|
|
2204
|
-
|
|
2205
|
-
])[
|
|
2206
|
-
}, async
|
|
2207
|
-
const
|
|
2217
|
+
_0x18710(_0x1746ef._0x54ec52)
|
|
2218
|
+
])[_0x18710(0x1fb)]()[_0x18710(_0x1746ef._0x10e8b0)](_0x18710(0x122))
|
|
2219
|
+
}, async _0x215686 => {
|
|
2220
|
+
const _0x42d93b = _0x18710;
|
|
2208
2221
|
try {
|
|
2209
|
-
return textResult(await
|
|
2210
|
-
} catch (
|
|
2211
|
-
return textResult(
|
|
2222
|
+
return textResult(await _0x336f92[_0x42d93b(0x236)](_0x215686));
|
|
2223
|
+
} catch (_0x261405) {
|
|
2224
|
+
return textResult(_0x261405 instanceof Error ? _0x261405['message'] : 'send_message\x20failed', !![]);
|
|
2212
2225
|
}
|
|
2213
|
-
}),
|
|
2214
|
-
const
|
|
2226
|
+
}), _0x4a6193[_0x18710(0x231)](_0x18710(0x127), _0x18710(_0x1746ef._0xb1e0dd), {}, async () => {
|
|
2227
|
+
const _0x1e1b54 = _0x18710;
|
|
2215
2228
|
try {
|
|
2216
|
-
return textResult(await
|
|
2217
|
-
} catch (
|
|
2218
|
-
return textResult(
|
|
2229
|
+
return textResult(await _0x336f92['check_messages']());
|
|
2230
|
+
} catch (_0x18f740) {
|
|
2231
|
+
return textResult(_0x18f740 instanceof Error ? _0x18f740['message'] : _0x1e1b54(0xec), !![]);
|
|
2219
2232
|
}
|
|
2220
|
-
}),
|
|
2221
|
-
'channel':
|
|
2222
|
-
'limit':
|
|
2223
|
-
'before':
|
|
2224
|
-
'after':
|
|
2225
|
-
}, async
|
|
2226
|
-
const
|
|
2233
|
+
}), _0x4a6193['tool'](_0x18710(0x11b), _0x18710(_0x1746ef._0x30edb2), {
|
|
2234
|
+
'channel': _0x3b6452[_0x18710(0xd6)](),
|
|
2235
|
+
'limit': _0x3b6452[_0x18710(0x218)]()[_0x18710(0x1fb)](),
|
|
2236
|
+
'before': _0x3b6452['number']()['optional'](),
|
|
2237
|
+
'after': _0x3b6452[_0x18710(_0x1746ef._0x1f1419)]()['optional']()
|
|
2238
|
+
}, async _0x4d2929 => {
|
|
2239
|
+
const _0x496da5 = _0x18710;
|
|
2227
2240
|
try {
|
|
2228
|
-
return textResult(await
|
|
2229
|
-
} catch (
|
|
2230
|
-
return textResult(
|
|
2241
|
+
return textResult(await _0x336f92[_0x496da5(0x11b)](_0x4d2929));
|
|
2242
|
+
} catch (_0x675af) {
|
|
2243
|
+
return textResult(_0x675af instanceof Error ? _0x675af[_0x496da5(_0x856f06._0x503265)] : _0x496da5(_0x856f06._0x5c15f1), !![]);
|
|
2231
2244
|
}
|
|
2232
|
-
}),
|
|
2233
|
-
const
|
|
2245
|
+
}), _0x4a6193[_0x18710(_0x1746ef._0x12ec13)](_0x18710(0x1bd), _0x18710(0x226), {}, async () => {
|
|
2246
|
+
const _0xd397a1 = _0x18710;
|
|
2234
2247
|
try {
|
|
2235
|
-
return textResult(await
|
|
2236
|
-
} catch (
|
|
2237
|
-
return textResult(
|
|
2248
|
+
return textResult(await _0x336f92[_0xd397a1(0x1bd)]());
|
|
2249
|
+
} catch (_0x4c4cb4) {
|
|
2250
|
+
return textResult(_0x4c4cb4 instanceof Error ? _0x4c4cb4[_0xd397a1(_0x3cfd0b._0x40671b)] : _0xd397a1(0x187), !![]);
|
|
2238
2251
|
}
|
|
2239
|
-
}),
|
|
2240
|
-
'channel':
|
|
2241
|
-
'status':
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2252
|
+
}), _0x4a6193[_0x18710(0x231)]('list_tasks', 'List\x20tasks\x20in\x20a\x20channel\x20or\x20thread.\x20Thread\x20target\x20(e.g.\x20\x22#channel:threadId\x22)\x20returns\x20the\x20parent\x20task\x20plus\x20its\x20subtasks\x20with\x20aggregation\x20fields\x20(childrenTotal,\x20childrenDone,\x20childrenInProgress).\x20Channel\x20target\x20returns\x20only\x20parent\x20tasks\x20(no\x20subtasks).', {
|
|
2253
|
+
'channel': _0x3b6452[_0x18710(0xd6)](),
|
|
2254
|
+
'status': _0x3b6452['enum']([
|
|
2255
|
+
'todo',
|
|
2256
|
+
_0x18710(_0x1746ef._0x17bc69),
|
|
2257
|
+
'in_review',
|
|
2258
|
+
_0x18710(_0x1746ef._0x199cc0)
|
|
2246
2259
|
])['optional']()
|
|
2247
|
-
}, async
|
|
2248
|
-
const
|
|
2260
|
+
}, async _0x3d34f6 => {
|
|
2261
|
+
const _0x37cf60 = _0x18710;
|
|
2249
2262
|
try {
|
|
2250
|
-
return textResult(await
|
|
2251
|
-
} catch (
|
|
2252
|
-
return textResult(
|
|
2263
|
+
return textResult(await _0x336f92[_0x37cf60(0xe2)](_0x3d34f6));
|
|
2264
|
+
} catch (_0x28ab6f) {
|
|
2265
|
+
return textResult(_0x28ab6f instanceof Error ? _0x28ab6f[_0x37cf60(_0x3fab0b._0x11f28e)] : _0x37cf60(_0x3fab0b._0x549442), !![]);
|
|
2253
2266
|
}
|
|
2254
|
-
}),
|
|
2255
|
-
'channel':
|
|
2256
|
-
'idempotency_key':
|
|
2257
|
-
'tasks':
|
|
2258
|
-
'title':
|
|
2259
|
-
'description':
|
|
2260
|
-
'priority':
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
])[
|
|
2267
|
+
}), _0x4a6193[_0x18710(_0x1746ef._0x557424)](_0x18710(0xf9), _0x18710(_0x1746ef._0x1df63c), {
|
|
2268
|
+
'channel': _0x3b6452[_0x18710(_0x1746ef._0xd003b9)](),
|
|
2269
|
+
'idempotency_key': _0x3b6452[_0x18710(_0x1746ef._0xd003b9)]()[_0x18710(0x1fb)](),
|
|
2270
|
+
'tasks': _0x3b6452['array'](_0x3b6452['object']({
|
|
2271
|
+
'title': _0x3b6452[_0x18710(0xd6)](),
|
|
2272
|
+
'description': _0x3b6452['string']()['optional'](),
|
|
2273
|
+
'priority': _0x3b6452['enum']([
|
|
2274
|
+
'low',
|
|
2275
|
+
_0x18710(0x20f),
|
|
2276
|
+
_0x18710(_0x1746ef._0xd57f70),
|
|
2277
|
+
_0x18710(0x1b5)
|
|
2278
|
+
])[_0x18710(0x1fb)]()
|
|
2266
2279
|
}))
|
|
2267
|
-
}, async
|
|
2268
|
-
const
|
|
2280
|
+
}, async _0x2d1779 => {
|
|
2281
|
+
const _0x29227c = _0x18710;
|
|
2269
2282
|
try {
|
|
2270
|
-
return textResult(await
|
|
2271
|
-
} catch (
|
|
2272
|
-
return textResult(
|
|
2283
|
+
return textResult(await _0x336f92[_0x29227c(_0x5c59e1._0x17ab15)](_0x2d1779));
|
|
2284
|
+
} catch (_0x1ffdc9) {
|
|
2285
|
+
return textResult(_0x1ffdc9 instanceof Error ? _0x1ffdc9[_0x29227c(_0x5c59e1._0x3e8755)] : _0x29227c(0x182), !![]);
|
|
2273
2286
|
}
|
|
2274
|
-
}),
|
|
2275
|
-
'channel':
|
|
2276
|
-
'task_numbers':
|
|
2277
|
-
'subtask_numbers':
|
|
2278
|
-
'message_ids':
|
|
2279
|
-
'evidence':
|
|
2280
|
-
'create_thread':
|
|
2281
|
-
'create_task':
|
|
2282
|
-
}))[
|
|
2283
|
-
'idempotency_key':
|
|
2284
|
-
}, async
|
|
2285
|
-
const
|
|
2287
|
+
}), _0x4a6193[_0x18710(0x231)](_0x18710(0x113), _0x18710(0x12a), {
|
|
2288
|
+
'channel': _0x3b6452[_0x18710(0xd6)](),
|
|
2289
|
+
'task_numbers': _0x3b6452['array'](_0x3b6452[_0x18710(_0x1746ef._0x1f1419)]())[_0x18710(0x1fb)](),
|
|
2290
|
+
'subtask_numbers': _0x3b6452[_0x18710(_0x1746ef._0x58c221)](_0x3b6452[_0x18710(_0x1746ef._0x1f1419)]())['optional'](),
|
|
2291
|
+
'message_ids': _0x3b6452['array'](_0x3b6452[_0x18710(0xd6)]())[_0x18710(0x1fb)](),
|
|
2292
|
+
'evidence': _0x3b6452[_0x18710(_0x1746ef._0x10229b)](_0x3b6452[_0x18710(0xd6)](), _0x3b6452[_0x18710(_0x1746ef._0x1eb49a)]({
|
|
2293
|
+
'create_thread': _0x3b6452[_0x18710(0x1cc)]()['optional'](),
|
|
2294
|
+
'create_task': _0x3b6452[_0x18710(_0x1746ef._0x227e50)]()['optional']()
|
|
2295
|
+
}))[_0x18710(0x1fb)](),
|
|
2296
|
+
'idempotency_key': _0x3b6452['string']()[_0x18710(_0x1746ef._0x60b8a2)]()
|
|
2297
|
+
}, async _0x51b609 => {
|
|
2298
|
+
const _0x1a8700 = _0x18710;
|
|
2286
2299
|
try {
|
|
2287
|
-
return textResult(await
|
|
2288
|
-
} catch (
|
|
2289
|
-
return textResult(
|
|
2300
|
+
return textResult(await _0x336f92['claim_tasks'](_0x51b609));
|
|
2301
|
+
} catch (_0x18148a) {
|
|
2302
|
+
return textResult(_0x18148a instanceof Error ? _0x18148a[_0x1a8700(_0x2ed85b._0x1f4139)] : _0x1a8700(_0x2ed85b._0x182518), !![]);
|
|
2290
2303
|
}
|
|
2291
|
-
}),
|
|
2292
|
-
'channel':
|
|
2293
|
-
'task_number':
|
|
2294
|
-
'subtask_number':
|
|
2295
|
-
'idempotency_key':
|
|
2296
|
-
}, async
|
|
2297
|
-
const
|
|
2304
|
+
}), _0x4a6193['tool'](_0x18710(0x18a), 'Release\x20a\x20claimed\x20task\x20by\x20channel\x20and\x20task\x20number.\x20For\x20subtasks,\x20also\x20pass\x20subtask_number.', {
|
|
2305
|
+
'channel': _0x3b6452[_0x18710(_0x1746ef._0x2b7854)](),
|
|
2306
|
+
'task_number': _0x3b6452['number'](),
|
|
2307
|
+
'subtask_number': _0x3b6452['number']()[_0x18710(0x1fb)](),
|
|
2308
|
+
'idempotency_key': _0x3b6452['string']()[_0x18710(_0x1746ef._0x463f2d)]()
|
|
2309
|
+
}, async _0x4eca77 => {
|
|
2310
|
+
const _0x5ebf0d = _0x18710;
|
|
2298
2311
|
try {
|
|
2299
|
-
return textResult(await
|
|
2300
|
-
} catch (
|
|
2301
|
-
return textResult(
|
|
2312
|
+
return textResult(await _0x336f92[_0x5ebf0d(_0x15030a._0x401146)](_0x4eca77));
|
|
2313
|
+
} catch (_0x3e35b3) {
|
|
2314
|
+
return textResult(_0x3e35b3 instanceof Error ? _0x3e35b3['message'] : _0x5ebf0d(_0x15030a._0x5d1d1e), !![]);
|
|
2302
2315
|
}
|
|
2303
|
-
}),
|
|
2304
|
-
'channel':
|
|
2305
|
-
'task_number':
|
|
2306
|
-
'subtask_number':
|
|
2307
|
-
'status':
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2316
|
+
}), _0x4a6193[_0x18710(0x231)](_0x18710(_0x1746ef._0xcbdc19), _0x18710(_0x1746ef._0x28d112), {
|
|
2317
|
+
'channel': _0x3b6452[_0x18710(_0x1746ef._0x2b7854)](),
|
|
2318
|
+
'task_number': _0x3b6452[_0x18710(0x218)](),
|
|
2319
|
+
'subtask_number': _0x3b6452[_0x18710(0x218)]()[_0x18710(_0x1746ef._0x49dcad)](),
|
|
2320
|
+
'status': _0x3b6452[_0x18710(0x241)]([
|
|
2321
|
+
_0x18710(_0x1746ef._0xd08352),
|
|
2322
|
+
_0x18710(0x1c5),
|
|
2323
|
+
_0x18710(_0x1746ef._0x3132b0),
|
|
2324
|
+
_0x18710(_0x1746ef._0x199cc0)
|
|
2312
2325
|
]),
|
|
2313
|
-
'idempotency_key':
|
|
2314
|
-
}, async
|
|
2315
|
-
const _0x48f50f = _0x17d7dc;
|
|
2326
|
+
'idempotency_key': _0x3b6452['string']()['optional']()
|
|
2327
|
+
}, async _0x22027f => {
|
|
2316
2328
|
try {
|
|
2317
|
-
return textResult(await
|
|
2318
|
-
} catch (
|
|
2319
|
-
return textResult(
|
|
2329
|
+
return textResult(await _0x336f92['update_task_status'](_0x22027f));
|
|
2330
|
+
} catch (_0x40c35e) {
|
|
2331
|
+
return textResult(_0x40c35e instanceof Error ? _0x40c35e['message'] : 'update_task_status\x20failed', !![]);
|
|
2320
2332
|
}
|
|
2321
|
-
}),
|
|
2322
|
-
'channel':
|
|
2323
|
-
'file_path':
|
|
2324
|
-
}, async
|
|
2325
|
-
const
|
|
2333
|
+
}), _0x4a6193['tool'](_0x18710(_0x1746ef._0x5da928), '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.', {
|
|
2334
|
+
'channel': _0x3b6452['string'](),
|
|
2335
|
+
'file_path': _0x3b6452['string']()
|
|
2336
|
+
}, async _0x428e57 => {
|
|
2337
|
+
const _0x4120f7 = _0x18710;
|
|
2326
2338
|
try {
|
|
2327
|
-
return textResult(await
|
|
2328
|
-
} catch (
|
|
2329
|
-
return textResult(
|
|
2339
|
+
return textResult(await _0x336f92[_0x4120f7(_0x3e7cb1._0x19f704)](_0x428e57));
|
|
2340
|
+
} catch (_0x48581b) {
|
|
2341
|
+
return textResult(_0x48581b instanceof Error ? _0x48581b[_0x4120f7(_0x3e7cb1._0x205fac)] : 'upload_file\x20failed', !![]);
|
|
2330
2342
|
}
|
|
2331
|
-
}),
|
|
2332
|
-
const
|
|
2343
|
+
}), _0x4a6193['tool']('view_file', 'Download\x20an\x20attachment\x20to\x20the\x20local\x20cache\x20and\x20return\x20the\x20local\x20path.', { 'attachment_id': _0x3b6452[_0x18710(0xd6)]() }, async _0x3dc4ab => {
|
|
2344
|
+
const _0x5cbc9a = _0x18710;
|
|
2333
2345
|
try {
|
|
2334
|
-
return textResult(await
|
|
2335
|
-
} catch (
|
|
2336
|
-
return textResult(
|
|
2346
|
+
return textResult(await _0x336f92[_0x5cbc9a(0x199)](_0x3dc4ab));
|
|
2347
|
+
} catch (_0x538fd) {
|
|
2348
|
+
return textResult(_0x538fd instanceof Error ? _0x538fd['message'] : 'view_file\x20failed', !![]);
|
|
2337
2349
|
}
|
|
2338
|
-
}),
|
|
2339
|
-
const
|
|
2350
|
+
}), _0x4a6193['tool'](_0x18710(0xe6), _0x18710(0x21d), { 'work_key': _0x3b6452[_0x18710(_0x1746ef._0x27ca05)]() }, async _0x3da7f3 => {
|
|
2351
|
+
const _0x4070eb = _0x18710;
|
|
2340
2352
|
try {
|
|
2341
|
-
return textResult(await
|
|
2342
|
-
} catch (
|
|
2343
|
-
return textResult(
|
|
2353
|
+
return textResult(await _0x336f92[_0x4070eb(_0x386c4f._0x2c26b0)](_0x3da7f3));
|
|
2354
|
+
} catch (_0x49edc8) {
|
|
2355
|
+
return textResult(_0x49edc8 instanceof Error ? _0x49edc8[_0x4070eb(_0x386c4f._0x188227)] : 'get_worker_status\x20failed', !![]);
|
|
2344
2356
|
}
|
|
2345
|
-
}),
|
|
2346
|
-
const
|
|
2357
|
+
}), _0x4a6193[_0x18710(_0x1746ef._0x557424)](_0x18710(_0x1746ef._0x58797f), _0x18710(0x217), { 'work_key': _0x3b6452[_0x18710(_0x1746ef._0x2b7854)]() }, async _0x3a3b68 => {
|
|
2358
|
+
const _0x17148d = _0x18710;
|
|
2347
2359
|
try {
|
|
2348
|
-
return textResult(await
|
|
2349
|
-
} catch (
|
|
2350
|
-
return textResult(
|
|
2360
|
+
return textResult(await _0x336f92['park_worker'](_0x3a3b68));
|
|
2361
|
+
} catch (_0x21b4bb) {
|
|
2362
|
+
return textResult(_0x21b4bb instanceof Error ? _0x21b4bb[_0x17148d(_0x5ad6fc._0x1ae16b)] : 'park_worker\x20failed', !![]);
|
|
2351
2363
|
}
|
|
2352
|
-
}), !
|
|
2353
|
-
'work_key':
|
|
2354
|
-
'reason':
|
|
2355
|
-
}, async
|
|
2356
|
-
const
|
|
2364
|
+
}), !_0x2cc85b?.[_0x18710(_0x1746ef._0xc0c3d3)] && _0x4a6193['tool'](_0x18710(0xff), _0x18710(_0x1746ef._0x1bf01d), {
|
|
2365
|
+
'work_key': _0x3b6452['string'](),
|
|
2366
|
+
'reason': _0x3b6452[_0x18710(0xd6)]()
|
|
2367
|
+
}, async _0x256290 => {
|
|
2368
|
+
const _0x4bfaf1 = _0x18710;
|
|
2357
2369
|
try {
|
|
2358
|
-
return textResult(await
|
|
2359
|
-
} catch (
|
|
2360
|
-
return textResult(
|
|
2370
|
+
return textResult(await _0x336f92[_0x4bfaf1(_0x4c98c8._0x142dae)](_0x256290));
|
|
2371
|
+
} catch (_0x91fcbb) {
|
|
2372
|
+
return textResult(_0x91fcbb instanceof Error ? _0x91fcbb[_0x4bfaf1(_0x4c98c8._0x252cc6)] : 'escalate_to_main\x20failed', !![]);
|
|
2361
2373
|
}
|
|
2362
|
-
}),
|
|
2363
|
-
const
|
|
2374
|
+
}), _0x2cc85b?.['workerMode'] && _0x4a6193[_0x18710(_0x1746ef._0x123e5c)]('mark_waiting_input', 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x3b6452['string']() }, async _0x45dda2 => {
|
|
2375
|
+
const _0x39007a = _0x18710;
|
|
2364
2376
|
try {
|
|
2365
|
-
return textResult(await
|
|
2366
|
-
} catch (
|
|
2367
|
-
return textResult(
|
|
2377
|
+
return textResult(await _0x336f92[_0x39007a(_0x363ad7._0x99b8b3)](_0x45dda2));
|
|
2378
|
+
} catch (_0x3c22f4) {
|
|
2379
|
+
return textResult(_0x3c22f4 instanceof Error ? _0x3c22f4['message'] : 'mark_waiting_input\x20failed', !![]);
|
|
2368
2380
|
}
|
|
2369
2381
|
});
|
|
2370
2382
|
}
|
|
2371
|
-
async function createChatBridgeServer(
|
|
2372
|
-
const
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
'
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
'
|
|
2383
|
+
async function createChatBridgeServer(_0x37fb8e) {
|
|
2384
|
+
const _0x3b5f4e = {
|
|
2385
|
+
_0x48830a: 0x1ac,
|
|
2386
|
+
_0x1de161: 0x13f,
|
|
2387
|
+
_0x4afcd1: 0xcd
|
|
2388
|
+
}, _0x462ae9 = _0x30157b, {McpServer: _0x66fc63} = await import(_0x462ae9(_0x3b5f4e._0x48830a)), _0x4853cb = new _0x66fc63({
|
|
2389
|
+
'name': _0x462ae9(_0x3b5f4e._0x1de161),
|
|
2390
|
+
'version': _0x462ae9(0xe7)
|
|
2391
|
+
}), _0x5a6c43 = createChatBridgeHandlers(_0x37fb8e);
|
|
2392
|
+
return await registerChatBridgeTools(_0x4853cb, _0x5a6c43, { 'workerMode': _0x37fb8e[_0x462ae9(_0x3b5f4e._0x4afcd1)] }), {
|
|
2393
|
+
'handlers': _0x5a6c43,
|
|
2394
|
+
'server': _0x4853cb
|
|
2382
2395
|
};
|
|
2383
2396
|
}
|
|
2384
|
-
function readFlag(
|
|
2385
|
-
const
|
|
2386
|
-
if (
|
|
2397
|
+
function readFlag(_0x3e2758, _0x1b70e3) {
|
|
2398
|
+
const _0x5aa4e8 = _0x30157b, _0x1d10cd = _0x3e2758[_0x5aa4e8(0x1cb)](_0x1b70e3);
|
|
2399
|
+
if (_0x1d10cd === -0x1)
|
|
2387
2400
|
return void 0x0;
|
|
2388
|
-
return
|
|
2401
|
+
return _0x3e2758[_0x1d10cd + 0x1];
|
|
2389
2402
|
}
|
|
2390
|
-
function parseChatBridgeArgs(
|
|
2391
|
-
const
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
throw new Error(_0x315df7(0x231));
|
|
2406
|
-
if (_0x48e46f !== void 0x0 && (_0x3b87e4 === void 0x0 || !Number[_0x315df7(_0x95a375._0x10321d)](_0x3b87e4) || _0x3b87e4 < 0x0))
|
|
2407
|
-
throw new Error(_0x315df7(_0x95a375._0x4698a2));
|
|
2403
|
+
function parseChatBridgeArgs(_0x5e1aac) {
|
|
2404
|
+
const _0x3c0f9c = {
|
|
2405
|
+
_0x53ebef: 0xf3,
|
|
2406
|
+
_0x4356f1: 0x1fd,
|
|
2407
|
+
_0x235942: 0x247,
|
|
2408
|
+
_0x340afb: 0x145,
|
|
2409
|
+
_0x1b9e3a: 0xd5,
|
|
2410
|
+
_0x417670: 0xcb
|
|
2411
|
+
}, _0x3c906f = _0x30157b, _0x177e41 = readFlag(_0x5e1aac, _0x3c906f(0x171)), _0x415ae3 = readFlag(_0x5e1aac, '--attachment-cache-dir'), _0x3792bf = readFlag(_0x5e1aac, _0x3c906f(0x249)), _0x2c75e7 = readFlag(_0x5e1aac, _0x3c906f(_0x3c0f9c._0x53ebef)), _0x43656f = readFlag(_0x5e1aac, _0x3c906f(0xd0)) ?? 'http://localhost:8121', _0x286ee9 = readFlag(_0x5e1aac, _0x3c906f(_0x3c0f9c._0x4356f1)), _0x1c5bf1 = readFlag(_0x5e1aac, _0x3c906f(0x206)), _0x48af0b = readFlag(_0x5e1aac, _0x3c906f(0x20a)), _0x199c46 = readFlag(_0x5e1aac, '--worker-session-id'), _0x589788 = readFlag(_0x5e1aac, _0x3c906f(_0x3c0f9c._0x235942)), _0xc7d985 = _0x5e1aac[_0x3c906f(_0x3c0f9c._0x340afb)](_0x3c906f(_0x3c0f9c._0x1b9e3a)), _0x2c3fa2 = _0x2c75e7 === void 0x0 ? void 0x0 : Number[_0x3c906f(0x1db)](_0x2c75e7, 0xa);
|
|
2412
|
+
if (!_0x177e41)
|
|
2413
|
+
throw new Error(_0x3c906f(_0x3c0f9c._0x417670));
|
|
2414
|
+
if (!_0x3792bf)
|
|
2415
|
+
throw new Error(_0x3c906f(0x1fe));
|
|
2416
|
+
if (_0x2c75e7 !== void 0x0 && (_0x2c3fa2 === void 0x0 || !Number[_0x3c906f(0x19a)](_0x2c3fa2) || _0x2c3fa2 < 0x0))
|
|
2417
|
+
throw new Error(_0x3c906f(0x1da));
|
|
2408
2418
|
return {
|
|
2409
|
-
'agentId':
|
|
2410
|
-
'attachmentCacheDir':
|
|
2411
|
-
'daemonApiKey':
|
|
2412
|
-
'daemonLocalUrl':
|
|
2413
|
-
'initialLastSeenSeq':
|
|
2414
|
-
'sessionId':
|
|
2415
|
-
'serverUrl':
|
|
2416
|
-
'workerModeEnabled':
|
|
2417
|
-
'workerSessionId':
|
|
2418
|
-
'workerThreadTarget':
|
|
2419
|
-
'workerMode':
|
|
2419
|
+
'agentId': _0x177e41,
|
|
2420
|
+
'attachmentCacheDir': _0x415ae3,
|
|
2421
|
+
'daemonApiKey': _0x3792bf,
|
|
2422
|
+
'daemonLocalUrl': _0x286ee9,
|
|
2423
|
+
'initialLastSeenSeq': _0x2c3fa2,
|
|
2424
|
+
'sessionId': _0x1c5bf1,
|
|
2425
|
+
'serverUrl': _0x43656f,
|
|
2426
|
+
'workerModeEnabled': _0x48af0b === void 0x0 ? void 0x0 : _0x48af0b !== _0x3c906f(0x219),
|
|
2427
|
+
'workerSessionId': _0x199c46,
|
|
2428
|
+
'workerThreadTarget': _0x589788,
|
|
2429
|
+
'workerMode': _0xc7d985
|
|
2420
2430
|
};
|
|
2421
2431
|
}
|
|
2422
|
-
async function runChatBridgeCli(
|
|
2423
|
-
const
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
'
|
|
2432
|
-
'
|
|
2432
|
+
async function runChatBridgeCli(_0x5eb1b9) {
|
|
2433
|
+
const _0x271eb8 = {
|
|
2434
|
+
_0x122cbc: 0x1bf,
|
|
2435
|
+
_0x986c09: 0x180,
|
|
2436
|
+
_0x523132: 0xfa,
|
|
2437
|
+
_0x19782e: 0xcd,
|
|
2438
|
+
_0x406f11: 0xc2,
|
|
2439
|
+
_0x273bff: 0x1eb
|
|
2440
|
+
}, _0x2ccff1 = _0x30157b, _0x2adb98 = parseChatBridgeArgs(_0x5eb1b9), {StdioServerTransport: _0x16003e} = await import('@modelcontextprotocol/sdk/server/stdio.js'), _0x4a7dc0 = createInternalAgentClient(_0x2adb98), _0x69c338 = createAttachmentCache({ 'cacheDir': _0x2adb98[_0x2ccff1(0xe1)] }), _0x4e6eef = await createChatBridgeServer({
|
|
2441
|
+
'agentId': _0x2adb98[_0x2ccff1(_0x271eb8._0x122cbc)],
|
|
2442
|
+
'attachmentCache': _0x69c338,
|
|
2443
|
+
'client': _0x4a7dc0,
|
|
2444
|
+
'daemonLocalUrl': _0x2adb98[_0x2ccff1(_0x271eb8._0x986c09)],
|
|
2433
2445
|
'uploadPreparer': prepareUploadFile,
|
|
2434
|
-
'workerModeEnabled':
|
|
2435
|
-
'workerMode':
|
|
2436
|
-
'workerThreadTarget':
|
|
2446
|
+
'workerModeEnabled': _0x2adb98[_0x2ccff1(_0x271eb8._0x523132)],
|
|
2447
|
+
'workerMode': _0x2adb98[_0x2ccff1(_0x271eb8._0x19782e)],
|
|
2448
|
+
'workerThreadTarget': _0x2adb98[_0x2ccff1(_0x271eb8._0x406f11)]
|
|
2437
2449
|
});
|
|
2438
|
-
await
|
|
2450
|
+
await _0x4e6eef[_0x2ccff1(0xfc)][_0x2ccff1(_0x271eb8._0x273bff)](new _0x16003e());
|
|
2439
2451
|
}
|
|
2440
|
-
var executedAsEntry = process[
|
|
2441
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2452
|
+
var executedAsEntry = process[_0x30157b(0x1f9)][0x1] ? import.meta.url === pathToFileURL(process[_0x30157b(0x1f9)][0x1])[_0x30157b(0x121)] : ![];
|
|
2453
|
+
executedAsEntry && await runChatBridgeCli(process[_0x30157b(0x1f9)][_0x30157b(0x10b)](0x2));
|
|
2442
2454
|
export {
|
|
2443
2455
|
createChatBridgeHandlers,
|
|
2444
2456
|
createChatBridgeServer,
|